@26lights/orcha 0.41.121 → 0.41.122

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.
package/dist/orcha.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as G, openBlock as v, createBlock as D, unref as F, mergeProps as Ae, createElementBlock as _, createElementVNode as f, pushScopeId as Bo, popScopeId as Ro, createStaticVNode as jo, computed as M, resolveDynamicComponent as It, normalizeClass as ee, renderSlot as se, toDisplayString as Y, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as vt, toHandlers as No, withCtx as Z, createTextVNode as As, createVNode as A, normalizeStyle as Fe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as Te, vShow as Uo, onUpdated as Fo, vModelText as Ne, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
1
+ import { defineComponent as K, openBlock as v, createBlock as D, unref as F, mergeProps as Ae, createElementBlock as _, createElementVNode as f, pushScopeId as Bo, popScopeId as jo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as It, normalizeClass as J, renderSlot as ae, toDisplayString as Y, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as vt, toHandlers as No, withCtx as Z, createTextVNode as As, createVNode as A, normalizeStyle as Fe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as Te, vShow as Uo, onUpdated as Fo, vModelText as Ne, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
2
2
  import { RouterView as Yo, useRoute as xo, useRouter as Es } from "vue-router";
3
3
  import gt from "vuedraggable";
4
- const l8 = /* @__PURE__ */ G({
4
+ const l8 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -119,20 +119,20 @@ const Ei = /* @__PURE__ */ W(Si, [["render", Oi]]), Ii = {}, Li = {
119
119
  function Vi(t, e) {
120
120
  return v(), _("svg", Li, Hi);
121
121
  }
122
- const Di = /* @__PURE__ */ W(Ii, [["render", Vi]]), Bi = {}, Ri = {
122
+ const Di = /* @__PURE__ */ W(Ii, [["render", Vi]]), Bi = {}, ji = {
123
123
  width: "24",
124
124
  height: "24",
125
125
  viewBox: "0 0 24 24",
126
126
  fill: "none",
127
127
  xmlns: "http://www.w3.org/2000/svg"
128
- }, ji = /* @__PURE__ */ f("path", {
128
+ }, Ri = /* @__PURE__ */ f("path", {
129
129
  d: "M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",
130
130
  fill: "black"
131
131
  }, null, -1), Ni = [
132
- ji
132
+ Ri
133
133
  ];
134
134
  function Ui(t, e) {
135
- return v(), _("svg", Ri, Ni);
135
+ return v(), _("svg", ji, Ni);
136
136
  }
137
137
  const Fi = /* @__PURE__ */ W(Bi, [["render", Ui]]), Zi = {}, Wi = {
138
138
  width: "24",
@@ -254,20 +254,20 @@ const El = /* @__PURE__ */ W(Sl, [["render", Ol]]), Il = {}, Ll = {
254
254
  function Vl(t, e) {
255
255
  return v(), _("svg", Ll, Hl);
256
256
  }
257
- const Dl = /* @__PURE__ */ W(Il, [["render", Vl]]), Bl = {}, Rl = {
257
+ const Dl = /* @__PURE__ */ W(Il, [["render", Vl]]), Bl = {}, jl = {
258
258
  width: "24",
259
259
  height: "24",
260
260
  viewBox: "0 0 24 24",
261
261
  fill: "none",
262
262
  xmlns: "http://www.w3.org/2000/svg"
263
- }, jl = /* @__PURE__ */ f("path", {
263
+ }, Rl = /* @__PURE__ */ f("path", {
264
264
  d: "M3 21V3H21V21H3ZM5 19H19V5H5V19Z",
265
265
  fill: "black"
266
266
  }, null, -1), Nl = [
267
- jl
267
+ Rl
268
268
  ];
269
269
  function Ul(t, e) {
270
- return v(), _("svg", Rl, Nl);
270
+ return v(), _("svg", jl, Nl);
271
271
  }
272
272
  const Fl = /* @__PURE__ */ W(Bl, [["render", Ul]]), Zl = {}, Wl = {
273
273
  width: "24",
@@ -389,20 +389,20 @@ const E1 = /* @__PURE__ */ W(S1, [["render", O1]]), I1 = {}, L1 = {
389
389
  function V1(t, e) {
390
390
  return v(), _("svg", L1, H1);
391
391
  }
392
- const D1 = /* @__PURE__ */ W(I1, [["render", V1]]), B1 = {}, R1 = {
392
+ const D1 = /* @__PURE__ */ W(I1, [["render", V1]]), B1 = {}, j1 = {
393
393
  width: "24",
394
394
  height: "24",
395
395
  viewBox: "0 0 24 24",
396
396
  fill: "none",
397
397
  xmlns: "http://www.w3.org/2000/svg"
398
- }, j1 = /* @__PURE__ */ f("path", {
398
+ }, R1 = /* @__PURE__ */ f("path", {
399
399
  d: "M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",
400
400
  fill: "black"
401
401
  }, null, -1), N1 = [
402
- j1
402
+ R1
403
403
  ];
404
404
  function U1(t, e) {
405
- return v(), _("svg", R1, N1);
405
+ return v(), _("svg", j1, N1);
406
406
  }
407
407
  const F1 = /* @__PURE__ */ W(B1, [["render", U1]]), Z1 = {}, W1 = {
408
408
  width: "24",
@@ -524,20 +524,20 @@ const Er = /* @__PURE__ */ W(Sr, [["render", Or]]), Ir = {}, Lr = {
524
524
  function Vr(t, e) {
525
525
  return v(), _("svg", Lr, Hr);
526
526
  }
527
- const Dr = /* @__PURE__ */ W(Ir, [["render", Vr]]), Br = {}, Rr = {
527
+ const Dr = /* @__PURE__ */ W(Ir, [["render", Vr]]), Br = {}, jr = {
528
528
  width: "24",
529
529
  height: "24",
530
530
  viewBox: "0 0 24 24",
531
531
  fill: "none",
532
532
  xmlns: "http://www.w3.org/2000/svg"
533
- }, jr = /* @__PURE__ */ f("path", {
533
+ }, Rr = /* @__PURE__ */ f("path", {
534
534
  d: "M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",
535
535
  fill: "black"
536
536
  }, null, -1), Nr = [
537
- jr
537
+ Rr
538
538
  ];
539
539
  function Ur(t, e) {
540
- return v(), _("svg", Rr, Nr);
540
+ return v(), _("svg", jr, Nr);
541
541
  }
542
542
  const Fr = /* @__PURE__ */ W(Br, [["render", Ur]]), Zr = {}, Wr = {
543
543
  width: "24",
@@ -614,10 +614,10 @@ const pu = /* @__PURE__ */ W(lu, [["render", du]]), vu = {}, fu = {
614
614
  function gu(t, e) {
615
615
  return v(), _("svg", fu, mu);
616
616
  }
617
- const Cu = /* @__PURE__ */ W(vu, [["render", gu]]), _u = G({
617
+ const Cu = /* @__PURE__ */ W(vu, [["render", gu]]), _u = K({
618
618
  name: "LoadingIcon"
619
619
  });
620
- const Is = (t) => (Bo("data-v-ad6da4a9"), t = t(), Ro(), t), yu = {
620
+ const Is = (t) => (Bo("data-v-ad6da4a9"), t = t(), jo(), t), yu = {
621
621
  width: "24",
622
622
  height: "24",
623
623
  viewBox: "0 0 24 24",
@@ -672,7 +672,7 @@ const Lu = /* @__PURE__ */ W(Au, [["render", Iu]]), Pu = {}, Hu = {
672
672
  function Bu(t, e) {
673
673
  return v(), _("svg", Hu, Du);
674
674
  }
675
- const Ru = /* @__PURE__ */ W(Pu, [["render", Bu]]), ju = {}, Nu = {
675
+ const ju = /* @__PURE__ */ W(Pu, [["render", Bu]]), Ru = {}, Nu = {
676
676
  width: "24",
677
677
  height: "24",
678
678
  viewBox: "0 0 24 24",
@@ -687,7 +687,7 @@ const Ru = /* @__PURE__ */ W(Pu, [["render", Bu]]), ju = {}, Nu = {
687
687
  function Zu(t, e) {
688
688
  return v(), _("svg", Nu, Fu);
689
689
  }
690
- const Wu = /* @__PURE__ */ W(ju, [["render", Zu]]), zu = {}, qu = {
690
+ const Wu = /* @__PURE__ */ W(Ru, [["render", Zu]]), zu = {}, qu = {
691
691
  width: "24",
692
692
  height: "24",
693
693
  viewBox: "0 0 24 24",
@@ -807,7 +807,7 @@ const Lc = /* @__PURE__ */ W(Ac, [["render", Ic]]), Pc = {}, Hc = {
807
807
  function Bc(t, e) {
808
808
  return v(), _("svg", Hc, Dc);
809
809
  }
810
- const Rc = /* @__PURE__ */ W(Pc, [["render", Bc]]), jc = {}, Nc = {
810
+ const jc = /* @__PURE__ */ W(Pc, [["render", Bc]]), Rc = {}, Nc = {
811
811
  width: "24",
812
812
  height: "24",
813
813
  viewBox: "0 0 24 24",
@@ -822,7 +822,7 @@ const Rc = /* @__PURE__ */ W(Pc, [["render", Bc]]), jc = {}, Nc = {
822
822
  function Zc(t, e) {
823
823
  return v(), _("svg", Nc, Fc);
824
824
  }
825
- const Wc = /* @__PURE__ */ W(jc, [["render", Zc]]), zc = {}, qc = {
825
+ const Wc = /* @__PURE__ */ W(Rc, [["render", Zc]]), zc = {}, qc = {
826
826
  width: "24",
827
827
  height: "24",
828
828
  viewBox: "0 0 24 24",
@@ -843,7 +843,7 @@ const Gc = /* @__PURE__ */ W(zc, [["render", Kc]]), Xc = {}, Qc = {
843
843
  viewBox: "0 0 26 29",
844
844
  fill: "none",
845
845
  xmlns: "http://www.w3.org/2000/svg"
846
- }, Jc = /* @__PURE__ */ jo('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), ed = [
846
+ }, Jc = /* @__PURE__ */ Ro('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), ed = [
847
847
  Jc
848
848
  ];
849
849
  function td(t, e) {
@@ -939,7 +939,7 @@ const Ld = /* @__PURE__ */ W(Ad, [["render", Id]]), Pd = {}, Hd = {
939
939
  function Bd(t, e) {
940
940
  return v(), _("svg", Hd, Dd);
941
941
  }
942
- const Rd = /* @__PURE__ */ W(Pd, [["render", Bd]]), jd = {}, Nd = {
942
+ const jd = /* @__PURE__ */ W(Pd, [["render", Bd]]), Rd = {}, Nd = {
943
943
  width: "24",
944
944
  height: "24",
945
945
  viewBox: "0 0 24 24",
@@ -954,7 +954,7 @@ const Rd = /* @__PURE__ */ W(Pd, [["render", Bd]]), jd = {}, Nd = {
954
954
  function Zd(t, e) {
955
955
  return v(), _("svg", Nd, Fd);
956
956
  }
957
- const Wd = /* @__PURE__ */ W(jd, [["render", Zd]]), zd = {}, qd = {
957
+ const Wd = /* @__PURE__ */ W(Rd, [["render", Zd]]), zd = {}, qd = {
958
958
  width: "24",
959
959
  height: "24",
960
960
  viewBox: "0 0 24 24",
@@ -1103,7 +1103,7 @@ const L2 = /* @__PURE__ */ W(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1103
1103
  KeyboardArrowUp: Cu,
1104
1104
  Loading: Mu,
1105
1105
  Lock: Lu,
1106
- LogoutRounded: Ru,
1106
+ LogoutRounded: ju,
1107
1107
  Menu: Wu,
1108
1108
  MoreHoriz: Gu,
1109
1109
  MoreTimeRounded: ac,
@@ -1112,7 +1112,7 @@ const L2 = /* @__PURE__ */ W(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1112
1112
  PersonAddOutlineRounded: yc,
1113
1113
  PictureAsPdfRounded: Mc,
1114
1114
  RadioButtonChecked: Lc,
1115
- RadioButtonCheckedOutline: Rc,
1115
+ RadioButtonCheckedOutline: jc,
1116
1116
  RadioButtonUnchecked: Wc,
1117
1117
  RemoveRounded: Gc,
1118
1118
  SearchRounded: ad,
@@ -1121,7 +1121,7 @@ const L2 = /* @__PURE__ */ W(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1121
1121
  Settings: yd,
1122
1122
  SlideshowRounded: Md,
1123
1123
  Target: Ld,
1124
- TaskOutlineRounded: Rd,
1124
+ TaskOutlineRounded: jd,
1125
1125
  TextSnippetRounded: Wd,
1126
1126
  TimerOutline: Gd,
1127
1127
  ViewComfyAltRounded: a2,
@@ -1160,7 +1160,7 @@ const Pn = {
1160
1160
  SOLID: "solid",
1161
1161
  OUTLINE: "outline",
1162
1162
  SOLID_ICON: "solid_icon"
1163
- }, de = /* @__PURE__ */ G({
1163
+ }, de = /* @__PURE__ */ K({
1164
1164
  __name: "AoIcon",
1165
1165
  props: {
1166
1166
  name: {},
@@ -1169,14 +1169,14 @@ const Pn = {
1169
1169
  setup(t) {
1170
1170
  const e = t, a = M(() => P2[e.name]);
1171
1171
  return (s, n) => (v(), D(It(a.value), {
1172
- class: ee(["ao-icon", `ao-icon--${s.size}`])
1172
+ class: J(["ao-icon", `ao-icon--${s.size}`])
1173
1173
  }, null, 8, ["class"]));
1174
1174
  }
1175
1175
  });
1176
- const B2 = ["type"], R2 = {
1176
+ const B2 = ["type"], j2 = {
1177
1177
  key: 0,
1178
1178
  class: "ao-button__label"
1179
- }, re = /* @__PURE__ */ G({
1179
+ }, re = /* @__PURE__ */ K({
1180
1180
  __name: "AoButton",
1181
1181
  props: {
1182
1182
  label: { default: () => "" },
@@ -1194,7 +1194,7 @@ const B2 = ["type"], R2 = {
1194
1194
  const e = t, a = M(() => e.size), s = M(() => e.isLoading ? "Loading" : e.iconName);
1195
1195
  return (n, i) => (v(), _("button", {
1196
1196
  type: n.type,
1197
- class: ee([
1197
+ class: J([
1198
1198
  "ao-button",
1199
1199
  `ao-button--${n.variant}`,
1200
1200
  n.color ? `ao-button--${n.color}` : "",
@@ -1205,8 +1205,8 @@ const B2 = ["type"], R2 = {
1205
1205
  n.$attrs.disabled ? "ao-button--is-disabled" : ""
1206
1206
  ])
1207
1207
  }, [
1208
- se(n.$slots, "default", {}, () => [
1209
- n.label ? (v(), _("span", R2, Y(n.label), 1)) : E("", !0)
1208
+ ae(n.$slots, "default", {}, () => [
1209
+ n.label ? (v(), _("span", j2, Y(n.label), 1)) : E("", !0)
1210
1210
  ]),
1211
1211
  s.value ? (v(), D(de, {
1212
1212
  key: 0,
@@ -1246,7 +1246,7 @@ function Hn(t) {
1246
1246
  onDiscard: o
1247
1247
  };
1248
1248
  }
1249
- const be = /* @__PURE__ */ G({
1249
+ const be = /* @__PURE__ */ K({
1250
1250
  __name: "AoTitle",
1251
1251
  props: {
1252
1252
  id: {},
@@ -1308,7 +1308,7 @@ const be = /* @__PURE__ */ G({
1308
1308
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
1309
1309
  }
1310
1310
  });
1311
- const j2 = {
1311
+ const R2 = {
1312
1312
  key: 0,
1313
1313
  class: "ao-card-horiz__drag ao-card__drag"
1314
1314
  }, N2 = { class: "ao-card-horiz__header" }, U2 = {
@@ -1329,7 +1329,7 @@ const j2 = {
1329
1329
  }, Y2 = {
1330
1330
  key: 3,
1331
1331
  class: "ao-card-horiz__secondary"
1332
- }, Vn = /* @__PURE__ */ G({
1332
+ }, Vn = /* @__PURE__ */ K({
1333
1333
  __name: "AoCardHoriz",
1334
1334
  props: {
1335
1335
  id: {},
@@ -1347,10 +1347,10 @@ const j2 = {
1347
1347
  e("update:title", s);
1348
1348
  };
1349
1349
  return (s, n) => (v(), D(It(s.tagName), {
1350
- class: ee(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1350
+ class: J(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1351
1351
  }, {
1352
1352
  default: Z(() => [
1353
- s.isDraggable ? (v(), _("div", j2, [
1353
+ s.isDraggable ? (v(), _("div", R2, [
1354
1354
  A(de, {
1355
1355
  name: "DragIndicator",
1356
1356
  class: "ao-card-horiz__drag-handle"
@@ -1373,29 +1373,29 @@ const j2 = {
1373
1373
  "is-editable": !0,
1374
1374
  "onUpdate:title": a
1375
1375
  }, null, 8, ["id", "title"]),
1376
- se(s.$slots, "subtitle", {}, () => [
1376
+ ae(s.$slots, "subtitle", {}, () => [
1377
1377
  s.subtitle ? (v(), _("span", Z2, Y(s.subtitle), 1)) : E("", !0)
1378
1378
  ])
1379
1379
  ]),
1380
1380
  s.$slots.header ? (v(), _("div", W2, [
1381
- se(s.$slots, "header")
1381
+ ae(s.$slots, "header")
1382
1382
  ])) : E("", !0)
1383
1383
  ]),
1384
1384
  s.$slots.default ? (v(), _("div", z2, [
1385
- se(s.$slots, "default")
1385
+ ae(s.$slots, "default")
1386
1386
  ])) : E("", !0),
1387
1387
  s.$slots.footer ? (v(), _("div", q2, [
1388
- se(s.$slots, "footer")
1388
+ ae(s.$slots, "footer")
1389
1389
  ])) : E("", !0),
1390
1390
  s.$slots.secondary ? (v(), _("div", Y2, [
1391
- se(s.$slots, "secondary")
1391
+ ae(s.$slots, "secondary")
1392
1392
  ])) : E("", !0)
1393
1393
  ]),
1394
1394
  _: 3
1395
1395
  }, 8, ["class"]));
1396
1396
  }
1397
1397
  });
1398
- const ra = /* @__PURE__ */ G({
1398
+ const ra = /* @__PURE__ */ K({
1399
1399
  __name: "AoTag",
1400
1400
  props: {
1401
1401
  label: {},
@@ -1412,7 +1412,7 @@ const ra = /* @__PURE__ */ G({
1412
1412
  () => a.value === "button" ? { type: "button" } : {}
1413
1413
  );
1414
1414
  return (n, i) => (v(), _("div", {
1415
- class: ee([
1415
+ class: J([
1416
1416
  "ao-tag",
1417
1417
  n.color ? `ao-tag--${n.color}` : "",
1418
1418
  n.clickable ? "ao-tag--clickable" : "",
@@ -1490,13 +1490,13 @@ const c8 = {
1490
1490
  type: "typeId",
1491
1491
  assignee: "assigneeId"
1492
1492
  };
1493
- function Ra(t) {
1493
+ function ja(t) {
1494
1494
  "@babel/helpers - typeof";
1495
- return Ra = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1495
+ return ja = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1496
1496
  return typeof e;
1497
1497
  } : function(e) {
1498
1498
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1499
- }, Ra(t);
1499
+ }, ja(t);
1500
1500
  }
1501
1501
  function Je(t) {
1502
1502
  if (t === null || t === !0 || t === !1)
@@ -1511,7 +1511,7 @@ function _e(t, e) {
1511
1511
  function ke(t) {
1512
1512
  _e(1, arguments);
1513
1513
  var e = Object.prototype.toString.call(t);
1514
- return t instanceof Date || Ra(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1514
+ return t instanceof Date || ja(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1515
1515
  }
1516
1516
  function Q2(t, e) {
1517
1517
  _e(2, arguments);
@@ -1544,9 +1544,9 @@ function a0(t, e) {
1544
1544
  }
1545
1545
  var Dn = 6e4, Bn = 36e5;
1546
1546
  function s0(t) {
1547
- return _e(1, arguments), t instanceof Date || Ra(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
1547
+ return _e(1, arguments), t instanceof Date || ja(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
1548
1548
  }
1549
- function Rn(t) {
1549
+ function jn(t) {
1550
1550
  if (_e(1, arguments), !s0(t) && typeof t != "number")
1551
1551
  return !1;
1552
1552
  var e = ke(t);
@@ -1565,31 +1565,31 @@ function o0(t) {
1565
1565
  var s = e.getTime(), n = a - s;
1566
1566
  return Math.floor(n / n0) + 1;
1567
1567
  }
1568
- function ja(t) {
1568
+ function Ra(t) {
1569
1569
  _e(1, arguments);
1570
1570
  var e = 1, a = ke(t), s = a.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
1571
1571
  return a.setUTCDate(a.getUTCDate() - n), a.setUTCHours(0, 0, 0, 0), a;
1572
1572
  }
1573
- function jn(t) {
1573
+ function Rn(t) {
1574
1574
  _e(1, arguments);
1575
1575
  var e = ke(t), a = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
1576
1576
  s.setUTCFullYear(a + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
1577
- var n = ja(s), i = /* @__PURE__ */ new Date(0);
1577
+ var n = Ra(s), i = /* @__PURE__ */ new Date(0);
1578
1578
  i.setUTCFullYear(a, 0, 4), i.setUTCHours(0, 0, 0, 0);
1579
- var o = ja(i);
1579
+ var o = Ra(i);
1580
1580
  return e.getTime() >= n.getTime() ? a + 1 : e.getTime() >= o.getTime() ? a : a - 1;
1581
1581
  }
1582
1582
  function i0(t) {
1583
1583
  _e(1, arguments);
1584
- var e = jn(t), a = /* @__PURE__ */ new Date(0);
1584
+ var e = Rn(t), a = /* @__PURE__ */ new Date(0);
1585
1585
  a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
1586
- var s = ja(a);
1586
+ var s = Ra(a);
1587
1587
  return s;
1588
1588
  }
1589
1589
  var l0 = 6048e5;
1590
1590
  function r0(t) {
1591
1591
  _e(1, arguments);
1592
- var e = ke(t), a = ja(e).getTime() - i0(e).getTime();
1592
+ var e = ke(t), a = Ra(e).getTime() - i0(e).getTime();
1593
1593
  return Math.round(a / l0) + 1;
1594
1594
  }
1595
1595
  function Na(t, e) {
@@ -1687,7 +1687,7 @@ var p0 = {
1687
1687
  }
1688
1688
  };
1689
1689
  const rt = p0;
1690
- var Rt = {
1690
+ var jt = {
1691
1691
  am: "am",
1692
1692
  pm: "pm",
1693
1693
  midnight: "midnight",
@@ -1741,7 +1741,7 @@ var Rt = {
1741
1741
  },
1742
1742
  // ISO week-numbering year
1743
1743
  R: function(e, a) {
1744
- var s = jn(e);
1744
+ var s = Rn(e);
1745
1745
  return pe(s, a.length);
1746
1746
  },
1747
1747
  // Extended year. This is a single number designating the year of this calendar system.
@@ -2068,7 +2068,7 @@ var Rt = {
2068
2068
  // AM, PM, midnight, noon
2069
2069
  b: function(e, a, s) {
2070
2070
  var n = e.getUTCHours(), i;
2071
- switch (n === 12 ? i = Rt.noon : n === 0 ? i = Rt.midnight : i = n / 12 >= 1 ? "pm" : "am", a) {
2071
+ switch (n === 12 ? i = jt.noon : n === 0 ? i = jt.midnight : i = n / 12 >= 1 ? "pm" : "am", a) {
2072
2072
  case "b":
2073
2073
  case "bb":
2074
2074
  return s.dayPeriod(i, {
@@ -2096,7 +2096,7 @@ var Rt = {
2096
2096
  // in the morning, in the afternoon, in the evening, at night
2097
2097
  B: function(e, a, s) {
2098
2098
  var n = e.getUTCHours(), i;
2099
- switch (n >= 17 ? i = Rt.evening : n >= 12 ? i = Rt.afternoon : n >= 4 ? i = Rt.morning : i = Rt.night, a) {
2099
+ switch (n >= 17 ? i = jt.evening : n >= 12 ? i = jt.afternoon : n >= 4 ? i = jt.morning : i = jt.night, a) {
2100
2100
  case "B":
2101
2101
  case "BB":
2102
2102
  case "BBB":
@@ -2518,7 +2518,7 @@ var P0 = {
2518
2518
  evening: "evening",
2519
2519
  night: "night"
2520
2520
  }
2521
- }, R0 = {
2521
+ }, j0 = {
2522
2522
  narrow: {
2523
2523
  am: "a",
2524
2524
  pm: "p",
@@ -2549,7 +2549,7 @@ var P0 = {
2549
2549
  evening: "in the evening",
2550
2550
  night: "at night"
2551
2551
  }
2552
- }, j0 = function(e, a) {
2552
+ }, R0 = function(e, a) {
2553
2553
  var s = Number(e), n = s % 100;
2554
2554
  if (n > 20 || n < 10)
2555
2555
  switch (n % 10) {
@@ -2562,7 +2562,7 @@ var P0 = {
2562
2562
  }
2563
2563
  return s + "th";
2564
2564
  }, N0 = {
2565
- ordinalNumber: j0,
2565
+ ordinalNumber: R0,
2566
2566
  era: ea({
2567
2567
  values: P0,
2568
2568
  defaultWidth: "wide"
@@ -2585,7 +2585,7 @@ var P0 = {
2585
2585
  dayPeriod: ea({
2586
2586
  values: B0,
2587
2587
  defaultWidth: "wide",
2588
- formattingValues: R0,
2588
+ formattingValues: j0,
2589
2589
  defaultFormattingWidth: "wide"
2590
2590
  })
2591
2591
  };
@@ -2736,8 +2736,8 @@ var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, l3 = /P+p+|P+|
2736
2736
  function Zn(t, e, a) {
2737
2737
  var s, n, i, o, l, r, d, u, c, p, h, g, $, m, k, w, b, y;
2738
2738
  _e(2, arguments);
2739
- var I = String(e), T = ga(), V = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : T.locale) !== null && s !== void 0 ? s : Fn, R = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : T.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = T.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2740
- if (!(R >= 1 && R <= 7))
2739
+ var I = String(e), T = ga(), V = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : T.locale) !== null && s !== void 0 ? s : Fn, U = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : T.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = T.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2740
+ if (!(U >= 1 && U <= 7))
2741
2741
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2742
2742
  var x = Je((h = (g = ($ = (m = a == null ? void 0 : a.weekStartsOn) !== null && m !== void 0 ? m : a == null || (k = a.locale) === null || k === void 0 || (w = k.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && $ !== void 0 ? $ : T.weekStartsOn) !== null && g !== void 0 ? g : (b = T.locale) === null || b === void 0 || (y = b.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && h !== void 0 ? h : 0);
2743
2743
  if (!(x >= 0 && x <= 6))
@@ -2746,14 +2746,14 @@ function Zn(t, e, a) {
2746
2746
  throw new RangeError("locale must contain localize property");
2747
2747
  if (!V.formatLong)
2748
2748
  throw new RangeError("locale must contain formatLong property");
2749
- var J = ke(t);
2750
- if (!Rn(J))
2749
+ var ee = ke(t);
2750
+ if (!jn(ee))
2751
2751
  throw new RangeError("Invalid time value");
2752
- var ne = ua(J), N = bs(J, ne), X = {
2753
- firstWeekContainsDate: R,
2752
+ var se = ua(ee), R = bs(ee, se), X = {
2753
+ firstWeekContainsDate: U,
2754
2754
  weekStartsOn: x,
2755
2755
  locale: V,
2756
- _originalDate: J
2756
+ _originalDate: ee
2757
2757
  }, le = I.match(l3).map(function(oe) {
2758
2758
  var te = oe[0];
2759
2759
  if (te === "p" || te === "P") {
@@ -2769,7 +2769,7 @@ function Zn(t, e, a) {
2769
2769
  return d3(oe);
2770
2770
  var P = f0[te];
2771
2771
  if (P)
2772
- return !(a != null && a.useAdditionalWeekYearTokens) && b0(oe) && mn(oe, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && y0(oe) && mn(oe, e, String(t)), P(N, oe, V.localize, X);
2772
+ return !(a != null && a.useAdditionalWeekYearTokens) && b0(oe) && mn(oe, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && y0(oe) && mn(oe, e, String(t)), P(R, oe, V.localize, X);
2773
2773
  if (te.match(c3))
2774
2774
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + te + "`");
2775
2775
  return oe;
@@ -3687,18 +3687,18 @@ function Xa(t, e = "dd/MM/yyyy") {
3687
3687
  if (!t)
3688
3688
  return "";
3689
3689
  const a = ca(t);
3690
- return Rn(a) ? Zn(a, e) : "";
3690
+ return jn(a) ? Zn(a, e) : "";
3691
3691
  }
3692
3692
  function Hs(t, e) {
3693
3693
  return t.status.id === e.id;
3694
3694
  }
3695
- function R3(t, e) {
3695
+ function j3(t, e) {
3696
3696
  return t.activities.length === 0 ? !1 : !t.activities.some((a) => !Hs(a, e));
3697
3697
  }
3698
- function j3(t, e) {
3698
+ function R3(t, e) {
3699
3699
  return {
3700
3700
  ...t,
3701
- status: R3(t, e) ? Ba.done : Ba.todo
3701
+ status: j3(t, e) ? Ba.done : Ba.todo
3702
3702
  };
3703
3703
  }
3704
3704
  const Gn = (t) => {
@@ -3806,7 +3806,7 @@ function F3(t, e) {
3806
3806
  const Z3 = ["title"], W3 = {
3807
3807
  key: 0,
3808
3808
  className: "ao-avatar__initials"
3809
- }, z3 = ["src"], et = /* @__PURE__ */ G({
3809
+ }, z3 = ["src"], et = /* @__PURE__ */ K({
3810
3810
  __name: "AoAvatar",
3811
3811
  props: {
3812
3812
  userName: {},
@@ -3825,7 +3825,7 @@ const Z3 = ["title"], W3 = {
3825
3825
  };
3826
3826
  return (o, l) => (v(), _("div", {
3827
3827
  role: "img",
3828
- class: ee(s.value),
3828
+ class: J(s.value),
3829
3829
  title: o.userName
3830
3830
  }, [
3831
3831
  o.avatarUrl ? E("", !0) : (v(), _("span", W3, Y(F(n)), 1)),
@@ -3854,7 +3854,7 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
3854
3854
  }, n5 = { class: "ao-card-template__col-title" }, o5 = { class: "ao-card-template__col-label" }, i5 = { class: "ao-card-template__col-body" }, l5 = {
3855
3855
  key: 1,
3856
3856
  class: "ao-card-template__col ao-card-template__col--updated-by"
3857
- }, r5 = { class: "ao-card-template__col-title" }, u5 = { class: "ao-card-template__col-label" }, c5 = { class: "ao-card-template__col-body" }, d5 = { class: "ao-card-template-item__secondary" }, Cs = 5, p5 = /* @__PURE__ */ G({
3857
+ }, r5 = { class: "ao-card-template__col-title" }, u5 = { class: "ao-card-template__col-label" }, c5 = { class: "ao-card-template__col-body" }, d5 = { class: "ao-card-template-item__secondary" }, Cs = 5, p5 = /* @__PURE__ */ K({
3858
3858
  __name: "AoCardTemplate",
3859
3859
  props: {
3860
3860
  id: {},
@@ -3969,7 +3969,7 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
3969
3969
  const v5 = { class: "ao-page-header" }, f5 = { class: "ao-page-header-main" }, h5 = {
3970
3970
  key: 0,
3971
3971
  class: "ao-page-header-secondary"
3972
- }, ba = /* @__PURE__ */ G({
3972
+ }, ba = /* @__PURE__ */ K({
3973
3973
  __name: "AoPageHeader",
3974
3974
  props: {
3975
3975
  canGoBack: { type: Boolean }
@@ -3984,10 +3984,10 @@ const v5 = { class: "ao-page-header" }, f5 = { class: "ao-page-header-main" }, h
3984
3984
  variant: "ghost",
3985
3985
  onClick: a[0] || (a[0] = (s) => e.$emit("goBack"))
3986
3986
  })) : E("", !0),
3987
- se(e.$slots, "primary")
3987
+ ae(e.$slots, "primary")
3988
3988
  ]),
3989
3989
  e.$slots.secondary ? (v(), _("div", h5, [
3990
- se(e.$slots, "secondary")
3990
+ ae(e.$slots, "secondary")
3991
3991
  ])) : E("", !0)
3992
3992
  ]));
3993
3993
  }
@@ -3995,7 +3995,7 @@ const v5 = { class: "ao-page-header" }, f5 = { class: "ao-page-header-main" }, h
3995
3995
  const m5 = ["type"], g5 = {
3996
3996
  key: 0,
3997
3997
  class: "ao-button-card__label"
3998
- }, Ct = /* @__PURE__ */ G({
3998
+ }, Ct = /* @__PURE__ */ K({
3999
3999
  __name: "AoButtonCard",
4000
4000
  props: {
4001
4001
  label: { default: () => "" },
@@ -4011,14 +4011,14 @@ const m5 = ["type"], g5 = {
4011
4011
  const e = t, a = M(() => e.size), s = M(() => e.isLoading ? "Loading" : e.iconName);
4012
4012
  return (n, i) => (v(), _("button", {
4013
4013
  type: n.type,
4014
- class: ee([
4014
+ class: J([
4015
4015
  "ao-button-card",
4016
4016
  `ao-button-card--${n.color}`,
4017
4017
  `ao-button-card--${n.corners}`,
4018
4018
  n.$attrs.disabled ? "ao-button-card--is-disabled" : ""
4019
4019
  ])
4020
4020
  }, [
4021
- se(n.$slots, "default", {}, () => [
4021
+ ae(n.$slots, "default", {}, () => [
4022
4022
  n.label ? (v(), _("span", g5, Y(n.label), 1)) : E("", !0)
4023
4023
  ]),
4024
4024
  s.value ? (v(), D(de, {
@@ -4033,7 +4033,7 @@ const m5 = ["type"], g5 = {
4033
4033
  const C5 = { class: "ao-card-template-item__footer" }, _5 = {
4034
4034
  key: 0,
4035
4035
  class: "ao-card-template-item__subitem"
4036
- }, y5 = { class: "ao-card-template-item__subitem-number" }, b5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */ G({
4036
+ }, y5 = { class: "ao-card-template-item__subitem-number" }, b5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */ K({
4037
4037
  __name: "AoCardTemplateItem",
4038
4038
  props: {
4039
4039
  milestones: {},
@@ -4082,7 +4082,7 @@ const C5 = { class: "ao-card-template-item__footer" }, _5 = {
4082
4082
  }));
4083
4083
  }
4084
4084
  });
4085
- const w5 = /* @__PURE__ */ G({
4085
+ const w5 = /* @__PURE__ */ K({
4086
4086
  __name: "AoCardTemplateItemPhase",
4087
4087
  props: {
4088
4088
  id: {},
@@ -4101,12 +4101,12 @@ const w5 = /* @__PURE__ */ G({
4101
4101
  milestones: a.value
4102
4102
  }, n.$attrs), {
4103
4103
  default: Z(() => [
4104
- se(n.$slots, "default")
4104
+ ae(n.$slots, "default")
4105
4105
  ]),
4106
4106
  _: 3
4107
4107
  }, 16, ["id", "title", "activities", "milestones"]));
4108
4108
  }
4109
- }), $5 = /* @__PURE__ */ G({
4109
+ }), $5 = /* @__PURE__ */ K({
4110
4110
  __name: "AoCardTemplateItemMilestone",
4111
4111
  props: {
4112
4112
  activities: {}
@@ -4118,12 +4118,12 @@ const w5 = /* @__PURE__ */ G({
4118
4118
  });
4119
4119
  return (s, n) => (v(), D(Vs, { activities: a.value }, {
4120
4120
  default: Z(() => [
4121
- se(s.$slots, "default")
4121
+ ae(s.$slots, "default")
4122
4122
  ]),
4123
4123
  _: 3
4124
4124
  }, 8, ["activities"]));
4125
4125
  }
4126
- }), k5 = { class: "ao-list__footer" }, S5 = /* @__PURE__ */ G({
4126
+ }), k5 = { class: "ao-list__footer" }, S5 = /* @__PURE__ */ K({
4127
4127
  __name: "AoTemplateDetailsMilestones",
4128
4128
  props: {
4129
4129
  templateId: {},
@@ -4192,7 +4192,7 @@ const w5 = /* @__PURE__ */ G({
4192
4192
  _: 1
4193
4193
  }, 8, ["model-value", "title"])) : E("", !0);
4194
4194
  }
4195
- }), M5 = /* @__PURE__ */ G({
4195
+ }), M5 = /* @__PURE__ */ K({
4196
4196
  __name: "AoCardTemplateItemActivity",
4197
4197
  props: {
4198
4198
  name: {},
@@ -4205,12 +4205,12 @@ const w5 = /* @__PURE__ */ G({
4205
4205
  });
4206
4206
  return (s, n) => (v(), D(Vs, { tasks: a.value }, {
4207
4207
  default: Z(() => [
4208
- se(s.$slots, "default")
4208
+ ae(s.$slots, "default")
4209
4209
  ]),
4210
4210
  _: 3
4211
4211
  }, 8, ["tasks"]));
4212
4212
  }
4213
- }), A5 = { class: "ao-list__footer" }, T5 = /* @__PURE__ */ G({
4213
+ }), A5 = { class: "ao-list__footer" }, T5 = /* @__PURE__ */ K({
4214
4214
  __name: "AoTemplateDetailsActivities",
4215
4215
  props: {
4216
4216
  templateId: {},
@@ -4284,7 +4284,7 @@ const w5 = /* @__PURE__ */ G({
4284
4284
  }, I5 = { class: "ao-modal__header-meta" }, L5 = { class: "ao-modal__title-group" }, P5 = { class: "ao-modal__body" }, H5 = {
4285
4285
  key: 1,
4286
4286
  class: "ao-modal__footer"
4287
- }, Qa = /* @__PURE__ */ G({
4287
+ }, Qa = /* @__PURE__ */ K({
4288
4288
  __name: "AoModal",
4289
4289
  props: {
4290
4290
  size: { default: "md" }
@@ -4292,7 +4292,7 @@ const w5 = /* @__PURE__ */ G({
4292
4292
  emits: ["close"],
4293
4293
  setup(t) {
4294
4294
  return (e, a) => (v(), _("div", {
4295
- class: ee(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4295
+ class: J(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4296
4296
  }, [
4297
4297
  f("div", {
4298
4298
  class: "ao-modal__backdrop",
@@ -4309,14 +4309,14 @@ const w5 = /* @__PURE__ */ G({
4309
4309
  })
4310
4310
  ]),
4311
4311
  f("header", L5, [
4312
- se(e.$slots, "header")
4312
+ ae(e.$slots, "header")
4313
4313
  ])
4314
4314
  ])) : E("", !0),
4315
4315
  f("div", P5, [
4316
- se(e.$slots, "default")
4316
+ ae(e.$slots, "default")
4317
4317
  ]),
4318
4318
  e.$slots.footer ? (v(), _("footer", H5, [
4319
- se(e.$slots, "footer")
4319
+ ae(e.$slots, "footer")
4320
4320
  ])) : E("", !0)
4321
4321
  ])
4322
4322
  ], 2));
@@ -4355,13 +4355,13 @@ function Bs(t) {
4355
4355
  function Jn(t) {
4356
4356
  return B5(Bs(t));
4357
4357
  }
4358
- function R5(t, e, a) {
4358
+ function j5(t, e, a) {
4359
4359
  a === void 0 && (a = !1);
4360
4360
  const s = Ja(t), n = Jn(t), i = Qn(n);
4361
4361
  let o = n === "x" ? s === (a ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
4362
4362
  return e.reference[i] > e.floating[i] && (o = Fa(o)), [o, Fa(o)];
4363
4363
  }
4364
- function j5(t) {
4364
+ function R5(t) {
4365
4365
  const e = Fa(t);
4366
4366
  return [ws(t), e, ws(e)];
4367
4367
  }
@@ -4594,36 +4594,36 @@ const z5 = function(t) {
4594
4594
  } = Ds(t, e);
4595
4595
  if ((a = i.arrow) != null && a.alignmentOffset)
4596
4596
  return {};
4597
- const k = Zt(n), w = Zt(l) === l, b = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), y = p || (w || !$ ? [Fa(l)] : j5(l));
4597
+ const k = Zt(n), w = Zt(l) === l, b = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), y = p || (w || !$ ? [Fa(l)] : R5(l));
4598
4598
  !p && g !== "none" && y.push(...U5(l, $, g, b));
4599
4599
  const I = [l, ...y], T = await eo(e, m), V = [];
4600
- let R = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4600
+ let U = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4601
4601
  if (u && V.push(T[k]), c) {
4602
- const N = R5(n, o, b);
4603
- V.push(T[N[0]], T[N[1]]);
4602
+ const R = j5(n, o, b);
4603
+ V.push(T[R[0]], T[R[1]]);
4604
4604
  }
4605
- if (R = [...R, {
4605
+ if (U = [...U, {
4606
4606
  placement: n,
4607
4607
  overflows: V
4608
- }], !V.every((N) => N <= 0)) {
4609
- var x, J;
4610
- const N = (((x = i.flip) == null ? void 0 : x.index) || 0) + 1, X = I[N];
4608
+ }], !V.every((R) => R <= 0)) {
4609
+ var x, ee;
4610
+ const R = (((x = i.flip) == null ? void 0 : x.index) || 0) + 1, X = I[R];
4611
4611
  if (X)
4612
4612
  return {
4613
4613
  data: {
4614
- index: N,
4615
- overflows: R
4614
+ index: R,
4615
+ overflows: U
4616
4616
  },
4617
4617
  reset: {
4618
4618
  placement: X
4619
4619
  }
4620
4620
  };
4621
- let le = (J = R.filter((oe) => oe.overflows[0] <= 0).sort((oe, te) => oe.overflows[1] - te.overflows[1])[0]) == null ? void 0 : J.placement;
4621
+ let le = (ee = U.filter((oe) => oe.overflows[0] <= 0).sort((oe, te) => oe.overflows[1] - te.overflows[1])[0]) == null ? void 0 : ee.placement;
4622
4622
  if (!le)
4623
4623
  switch (h) {
4624
4624
  case "bestFit": {
4625
- var ne;
4626
- const oe = (ne = R.map((te) => [te.placement, te.overflows.filter((P) => P > 0).reduce((P, O) => P + O, 0)]).sort((te, P) => te[1] - P[1])[0]) == null ? void 0 : ne[0];
4625
+ var se;
4626
+ const oe = (se = U.map((te) => [te.placement, te.overflows.filter((P) => P > 0).reduce((P, O) => P + O, 0)]).sort((te, P) => te[1] - P[1])[0]) == null ? void 0 : se[0];
4627
4627
  oe && (le = oe);
4628
4628
  break;
4629
4629
  }
@@ -4671,8 +4671,8 @@ const z5 = function(t) {
4671
4671
  b = u || w ? da(m, T) : T;
4672
4672
  }
4673
4673
  if (w && !u) {
4674
- const T = Ve(r.left, 0), V = Ve(r.right, 0), R = Ve(r.top, 0), x = Ve(r.bottom, 0);
4675
- c ? y = p - 2 * (T !== 0 || V !== 0 ? T + V : Ve(r.left, r.right)) : b = h - 2 * (R !== 0 || x !== 0 ? R + x : Ve(r.top, r.bottom));
4674
+ const T = Ve(r.left, 0), V = Ve(r.right, 0), U = Ve(r.top, 0), x = Ve(r.bottom, 0);
4675
+ c ? y = p - 2 * (T !== 0 || V !== 0 ? T + V : Ve(r.left, r.right)) : b = h - 2 * (U !== 0 || x !== 0 ? U + x : Ve(r.top, r.bottom));
4676
4676
  }
4677
4677
  await o({
4678
4678
  ...e,
@@ -4717,32 +4717,32 @@ function wa(t) {
4717
4717
  overflowX: a,
4718
4718
  overflowY: s,
4719
4719
  display: n
4720
- } = Re(t);
4720
+ } = je(t);
4721
4721
  return /auto|scroll|overlay|hidden|clip/.test(e + s + a) && !["inline", "contents"].includes(n);
4722
4722
  }
4723
4723
  function Y5(t) {
4724
4724
  return ["table", "td", "th"].includes(ht(t));
4725
4725
  }
4726
- function Rs(t) {
4727
- const e = js(), a = Re(t);
4726
+ function js(t) {
4727
+ const e = Rs(), a = je(t);
4728
4728
  return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (a.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (a.contain || "").includes(s));
4729
4729
  }
4730
4730
  function x5(t) {
4731
4731
  let e = Wt(t);
4732
4732
  for (; ze(e) && !es(e); ) {
4733
- if (Rs(e))
4733
+ if (js(e))
4734
4734
  return e;
4735
4735
  e = Wt(e);
4736
4736
  }
4737
4737
  return null;
4738
4738
  }
4739
- function js() {
4739
+ function Rs() {
4740
4740
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4741
4741
  }
4742
4742
  function es(t) {
4743
4743
  return ["html", "body", "#document"].includes(ht(t));
4744
4744
  }
4745
- function Re(t) {
4745
+ function je(t) {
4746
4746
  return Oe(t).getComputedStyle(t);
4747
4747
  }
4748
4748
  function ts(t) {
@@ -4777,7 +4777,7 @@ function pa(t, e, a) {
4777
4777
  return i ? e.concat(o, o.visualViewport || [], wa(n) ? n : [], o.frameElement && a ? pa(o.frameElement) : []) : e.concat(n, pa(n));
4778
4778
  }
4779
4779
  function so(t) {
4780
- const e = Re(t);
4780
+ const e = je(t);
4781
4781
  let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
4782
4782
  const n = ze(t), i = n ? t.offsetWidth : a, o = n ? t.offsetHeight : s, l = Ua(a) !== i || Ua(s) !== o;
4783
4783
  return l && (a = i, s = o), {
@@ -4807,7 +4807,7 @@ function Nt(t) {
4807
4807
  const K5 = /* @__PURE__ */ ft(0);
4808
4808
  function no(t) {
4809
4809
  const e = Oe(t);
4810
- return !js() || !e.visualViewport ? K5 : {
4810
+ return !Rs() || !e.visualViewport ? K5 : {
4811
4811
  x: e.visualViewport.offsetLeft,
4812
4812
  y: e.visualViewport.offsetTop
4813
4813
  };
@@ -4826,7 +4826,7 @@ function Ot(t, e, a, s) {
4826
4826
  const p = Oe(i), h = s && tt(s) ? Oe(s) : s;
4827
4827
  let g = p.frameElement;
4828
4828
  for (; g && s && h !== p; ) {
4829
- const $ = Nt(g), m = g.getBoundingClientRect(), k = Re(g), w = m.left + (g.clientLeft + parseFloat(k.paddingLeft)) * $.x, b = m.top + (g.clientTop + parseFloat(k.paddingTop)) * $.y;
4829
+ const $ = Nt(g), m = g.getBoundingClientRect(), k = je(g), w = m.left + (g.clientLeft + parseFloat(k.paddingLeft)) * $.x, b = m.top + (g.clientTop + parseFloat(k.paddingTop)) * $.y;
4830
4830
  r *= $.x, d *= $.y, u *= $.x, c *= $.y, r += w, d += b, g = Oe(g).frameElement;
4831
4831
  }
4832
4832
  }
@@ -4872,7 +4872,7 @@ function J5(t) {
4872
4872
  const e = st(t), a = ts(t), s = t.ownerDocument.body, n = Ve(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), i = Ve(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
4873
4873
  let o = -a.scrollLeft + oo(t);
4874
4874
  const l = -a.scrollTop;
4875
- return Re(s).direction === "rtl" && (o += Ve(e.clientWidth, s.clientWidth) - n), {
4875
+ return je(s).direction === "rtl" && (o += Ve(e.clientWidth, s.clientWidth) - n), {
4876
4876
  width: n,
4877
4877
  height: i,
4878
4878
  x: o,
@@ -4884,7 +4884,7 @@ function e7(t, e) {
4884
4884
  let i = s.clientWidth, o = s.clientHeight, l = 0, r = 0;
4885
4885
  if (n) {
4886
4886
  i = n.width, o = n.height;
4887
- const d = js();
4887
+ const d = Rs();
4888
4888
  (!d || d && e === "fixed") && (l = n.offsetLeft, r = n.offsetTop);
4889
4889
  }
4890
4890
  return {
@@ -4923,17 +4923,17 @@ function bn(t, e, a) {
4923
4923
  }
4924
4924
  function io(t, e) {
4925
4925
  const a = Wt(t);
4926
- return a === e || !tt(a) || es(a) ? !1 : Re(a).position === "fixed" || io(a, e);
4926
+ return a === e || !tt(a) || es(a) ? !1 : je(a).position === "fixed" || io(a, e);
4927
4927
  }
4928
4928
  function a7(t, e) {
4929
4929
  const a = e.get(t);
4930
4930
  if (a)
4931
4931
  return a;
4932
4932
  let s = pa(t, [], !1).filter((l) => tt(l) && ht(l) !== "body"), n = null;
4933
- const i = Re(t).position === "fixed";
4933
+ const i = je(t).position === "fixed";
4934
4934
  let o = i ? Wt(t) : t;
4935
4935
  for (; tt(o) && !es(o); ) {
4936
- const l = Re(o), r = Rs(o);
4936
+ const l = je(o), r = js(o);
4937
4937
  !r && l.position === "fixed" && (n = null), (i ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(o) && !r && io(t, o)) ? s = s.filter((u) => u !== o) : n = l, o = Wt(o);
4938
4938
  }
4939
4939
  return e.set(t, s), s;
@@ -4980,16 +4980,16 @@ function o7(t, e, a) {
4980
4980
  };
4981
4981
  }
4982
4982
  function wn(t, e) {
4983
- return !ze(t) || Re(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4983
+ return !ze(t) || je(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4984
4984
  }
4985
4985
  function lo(t, e) {
4986
4986
  const a = Oe(t);
4987
4987
  if (!ze(t))
4988
4988
  return a;
4989
4989
  let s = wn(t, e);
4990
- for (; s && Y5(s) && Re(s).position === "static"; )
4990
+ for (; s && Y5(s) && je(s).position === "static"; )
4991
4991
  s = wn(s, e);
4992
- return s && (ht(s) === "html" || ht(s) === "body" && Re(s).position === "static" && !Rs(s)) ? a : s || x5(t) || a;
4992
+ return s && (ht(s) === "html" || ht(s) === "body" && je(s).position === "static" && !js(s)) ? a : s || x5(t) || a;
4993
4993
  }
4994
4994
  const i7 = async function(t) {
4995
4995
  let {
@@ -5008,7 +5008,7 @@ const i7 = async function(t) {
5008
5008
  };
5009
5009
  };
5010
5010
  function l7(t) {
5011
- return Re(t).direction === "rtl";
5011
+ return je(t).direction === "rtl";
5012
5012
  }
5013
5013
  const r7 = {
5014
5014
  convertOffsetParentRelativeRectToViewportRelativeRect: X5,
@@ -5278,23 +5278,23 @@ function _7(t, e, a) {
5278
5278
  clearOnSelect: I,
5279
5279
  valueProp: T,
5280
5280
  allowAbsent: V,
5281
- groupLabel: R,
5281
+ groupLabel: U,
5282
5282
  canDeselect: x,
5283
- max: J,
5284
- strict: ne,
5285
- closeOnSelect: N,
5283
+ max: ee,
5284
+ strict: se,
5285
+ closeOnSelect: R,
5286
5286
  closeOnDeselect: X,
5287
5287
  groups: le,
5288
5288
  reverse: oe,
5289
5289
  infinite: te,
5290
5290
  groupOptions: P,
5291
5291
  groupHideEmpty: O,
5292
- groupSelect: U,
5292
+ groupSelect: N,
5293
5293
  onCreate: L,
5294
5294
  disabledProp: C,
5295
5295
  searchStart: B,
5296
- searchFilter: K
5297
- } = Ie(t), ae = Pt().proxy, z = a.iv, H = a.ev, Q = a.search, he = a.clearSearch, Se = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = q([]), Ze = q([]), Le = q(!1), je = q(null), xe = q(te.value && o.value === -1 ? 10 : o.value), Qt = M(() => r.value || d.value || !1), Sa = M(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Pe = M(() => {
5296
+ searchFilter: G
5297
+ } = Ie(t), ne = Pt().proxy, z = a.iv, H = a.ev, Q = a.search, he = a.clearSearch, Se = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = q([]), Ze = q([]), Le = q(!1), Re = q(null), xe = q(te.value && o.value === -1 ? 10 : o.value), Qt = M(() => r.value || d.value || !1), Sa = M(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Pe = M(() => {
5298
5298
  if (le.value) {
5299
5299
  let S = bt.value || /* istanbul ignore next */
5300
5300
  [], j = [];
@@ -5320,14 +5320,14 @@ function _7(t, e, a) {
5320
5320
  let S = [], j = Ze.value || /* istanbul ignore next */
5321
5321
  [];
5322
5322
  return it.value.length && S.push({
5323
- [R.value]: " ",
5323
+ [U.value]: " ",
5324
5324
  [P.value]: [...it.value],
5325
5325
  __CREATE__: !0
5326
5326
  }), S.concat(j);
5327
5327
  }), Ma = M(() => {
5328
5328
  let S = [...bt.value].map((j) => ({ ...j }));
5329
5329
  return Ht.value.length && (S[0] && S[0].__CREATE__ ? S[0][P.value] = [...Ht.value, ...S[0][P.value]] : S = [{
5330
- [R.value]: " ",
5330
+ [U.value]: " ",
5331
5331
  [P.value]: [...Ht.value],
5332
5332
  __CREATE__: !0
5333
5333
  }].concat(S)), S;
@@ -5354,7 +5354,7 @@ function _7(t, e, a) {
5354
5354
  case "tags":
5355
5355
  return !We(z.value) && z.value.length > 0;
5356
5356
  }
5357
- }), yo = M(() => h !== void 0 && h.value !== void 0 ? h.value(z.value, ae) : z.value && z.value.length > 1 ? `${z.value.length} options selected` : "1 option selected"), bo = M(() => !Pe.value.length && !Le.value && !Ht.value.length), wo = M(() => Pe.value.length > 0 && lt.value.length == 0 && (Q.value && le.value || !le.value)), Ht = M(() => Qt.value === !1 || !Q.value ? [] : Io(Q.value) !== -1 ? [] : [{
5357
+ }), yo = M(() => h !== void 0 && h.value !== void 0 ? h.value(z.value, ne) : z.value && z.value.length > 1 ? `${z.value.length} options selected` : "1 option selected"), bo = M(() => !Pe.value.length && !Le.value && !Ht.value.length), wo = M(() => Pe.value.length > 0 && lt.value.length == 0 && (Q.value && le.value || !le.value)), Ht = M(() => Qt.value === !1 || !Q.value ? [] : Io(Q.value) !== -1 ? [] : [{
5358
5358
  [T.value]: Q.value,
5359
5359
  [wt.value[0]]: Q.value,
5360
5360
  [u.value]: Q.value,
@@ -5377,7 +5377,7 @@ function _7(t, e, a) {
5377
5377
  Se(z.value.concat(S));
5378
5378
  break;
5379
5379
  }
5380
- e.emit("select", nn(S), S, ae);
5380
+ e.emit("select", nn(S), S, ne);
5381
5381
  }, Dt = (S) => {
5382
5382
  switch (typeof S != "object" && (S = Ge(S)), n.value) {
5383
5383
  case "single":
@@ -5388,7 +5388,7 @@ function _7(t, e, a) {
5388
5388
  Se(Array.isArray(S) ? z.value.filter((j) => S.map((ue) => ue[T.value]).indexOf(j[T.value]) === -1) : z.value.filter((j) => j[T.value] != S[T.value]));
5389
5389
  break;
5390
5390
  }
5391
- e.emit("deselect", nn(S), S, ae);
5391
+ e.emit("deselect", nn(S), S, ne);
5392
5392
  }, nn = (S) => g.value ? S : S[T.value], on = (S) => {
5393
5393
  Dt(S);
5394
5394
  }, So = (S, j) => {
@@ -5398,7 +5398,7 @@ function _7(t, e, a) {
5398
5398
  }
5399
5399
  on(S);
5400
5400
  }, ln = () => {
5401
- Se($o.value), e.emit("clear", ae);
5401
+ Se($o.value), e.emit("clear", ne);
5402
5402
  }, Ke = (S) => {
5403
5403
  if (S.group !== void 0)
5404
5404
  return n.value === "single" ? !1 : Eo(S[P.value]) && S[P.value].length;
@@ -5409,9 +5409,9 @@ function _7(t, e, a) {
5409
5409
  case "multiple":
5410
5410
  return !We(z.value) && z.value.map((j) => j[T.value]).indexOf(S[T.value]) !== -1;
5411
5411
  }
5412
- }, cs = (S) => S[C.value] === !0, ds = () => J === void 0 || J.value === -1 || !us.value && J.value > 0 ? !1 : z.value.length >= J.value, Mo = (S) => {
5412
+ }, cs = (S) => S[C.value] === !0, ds = () => ee === void 0 || ee.value === -1 || !us.value && ee.value > 0 ? !1 : z.value.length >= ee.value, Mo = (S) => {
5413
5413
  if (!cs(S)) {
5414
- if (L && L.value && !Ke(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = L.value(S, ae), S instanceof Promise)) {
5414
+ if (L && L.value && !Ke(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = L.value(S, ne), S instanceof Promise)) {
5415
5415
  Le.value = !0, S.then((j) => {
5416
5416
  Le.value = !1, rn(j);
5417
5417
  });
@@ -5426,7 +5426,7 @@ function _7(t, e, a) {
5426
5426
  x.value && Dt(S), X.value && (nt(), ot());
5427
5427
  return;
5428
5428
  }
5429
- S && ps(S), I.value && he(), N.value && (nt(), ot()), S && Vt(S);
5429
+ S && ps(S), I.value && he(), R.value && (nt(), ot()), S && Vt(S);
5430
5430
  break;
5431
5431
  case "multiple":
5432
5432
  if (S && Ke(S)) {
@@ -5434,10 +5434,10 @@ function _7(t, e, a) {
5434
5434
  return;
5435
5435
  }
5436
5436
  if (ds()) {
5437
- e.emit("max", ae);
5437
+ e.emit("max", ne);
5438
5438
  return;
5439
5439
  }
5440
- S && (ps(S), Vt(S)), I.value && he(), l.value && nt(), N.value && ot();
5440
+ S && (ps(S), Vt(S)), I.value && he(), l.value && nt(), R.value && ot();
5441
5441
  break;
5442
5442
  case "tags":
5443
5443
  if (S && Ke(S)) {
@@ -5445,27 +5445,27 @@ function _7(t, e, a) {
5445
5445
  return;
5446
5446
  }
5447
5447
  if (ds()) {
5448
- e.emit("max", ae);
5448
+ e.emit("max", ne);
5449
5449
  return;
5450
5450
  }
5451
- S && ps(S), I.value && he(), S && Vt(S), l.value && nt(), N.value && ot();
5451
+ S && ps(S), I.value && he(), S && Vt(S), l.value && nt(), R.value && ot();
5452
5452
  break;
5453
5453
  }
5454
- N.value || $a();
5454
+ R.value || $a();
5455
5455
  }, Ao = (S) => {
5456
- if (!(cs(S) || n.value === "single" || !U.value)) {
5456
+ if (!(cs(S) || n.value === "single" || !N.value)) {
5457
5457
  switch (n.value) {
5458
5458
  case "multiple":
5459
5459
  case "tags":
5460
5460
  Oo(S[P.value]) ? Dt(S[P.value]) : Vt(
5461
- S[P.value].filter((j) => z.value.map((ue) => ue[T.value]).indexOf(j[T.value]) === -1).filter((j) => !j[C.value]).filter((j, ue) => z.value.length + 1 + ue <= J.value || J.value === -1)
5461
+ S[P.value].filter((j) => z.value.map((ue) => ue[T.value]).indexOf(j[T.value]) === -1).filter((j) => !j[C.value]).filter((j, ue) => z.value.length + 1 + ue <= ee.value || ee.value === -1)
5462
5462
  ), l.value && Gt.value && Xt(rs.value.filter((j) => !j[C.value])[Gt.value.index]);
5463
5463
  break;
5464
5464
  }
5465
- N.value && ls();
5465
+ R.value && ls();
5466
5466
  }
5467
5467
  }, ps = (S) => {
5468
- Ge(S[T.value]) === void 0 && Qt.value && (e.emit("tag", S[T.value], ae), e.emit("option", S[T.value], ae), e.emit("create", S[T.value], ae), Sa.value && Po(S), he());
5468
+ Ge(S[T.value]) === void 0 && Qt.value && (e.emit("tag", S[T.value], ne), e.emit("option", S[T.value], ne), e.emit("create", S[T.value], ne), Sa.value && Po(S), he());
5469
5469
  }, To = () => {
5470
5470
  n.value !== "single" && Vt(lt.value.filter((S) => !S.disabled && !Ke(S)));
5471
5471
  }, Oo = (S) => S.find((j) => !Ke(j) && !j[C.value]) === void 0, Eo = (S) => S.find((j) => !Ke(j)) === void 0, Ge = (S) => Pe.value[Pe.value.map((j) => String(j[T.value])).indexOf(String(S))], Io = (S) => Pe.value.findIndex((j) => wt.value.some((ue) => (parseInt(j[ue]) == j[ue] ? parseInt(j[ue]) : j[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Lo = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ke(S), Po = (S) => {
@@ -5475,11 +5475,11 @@ function _7(t, e, a) {
5475
5475
  ) : S.filter((j) => Q.value ? j.__VISIBLE__.length : !0), vs = (S, j = !0) => {
5476
5476
  let ue = S;
5477
5477
  if (Q.value && b.value) {
5478
- let ge = K.value;
5478
+ let ge = G.value;
5479
5479
  ge || (ge = ($t, cn, s8) => wt.value.some((Do) => {
5480
- let dn = _s(ka($t[Do]), ne.value);
5481
- return B.value ? dn.startsWith(_s(cn, ne.value)) : dn.indexOf(_s(cn, ne.value)) !== -1;
5482
- })), ue = ue.filter(($t) => ge($t, Q.value, ae));
5480
+ let dn = _s(ka($t[Do]), se.value);
5481
+ return B.value ? dn.startsWith(_s(cn, se.value)) : dn.indexOf(_s(cn, se.value)) !== -1;
5482
+ })), ue = ue.filter(($t) => ge($t, Q.value, ne));
5483
5483
  }
5484
5484
  return l.value && j && (ue = ue.filter((ge) => !Lo(ge))), ue;
5485
5485
  }, fs = (S) => {
@@ -5491,7 +5491,7 @@ function _7(t, e, a) {
5491
5491
  }, Aa = () => {
5492
5492
  We(H.value) || (z.value = Oa(H.value));
5493
5493
  }, Ta = (S) => (Le.value = !0, new Promise((j, ue) => {
5494
- s.value(Q.value, ae).then((ge) => {
5494
+ s.value(Q.value, ne).then((ge) => {
5495
5495
  Ze.value = ge || [], typeof S == "function" && S(ge), Le.value = !1;
5496
5496
  }).catch((ge) => {
5497
5497
  console.error(ge), Ze.value = [], Le.value = !1;
@@ -5525,9 +5525,9 @@ function _7(t, e, a) {
5525
5525
  [T.value]: j,
5526
5526
  [wt.value[0]]: j
5527
5527
  }), un = () => {
5528
- je.value = ce(Q, (S) => {
5528
+ Re.value = ce(Q, (S) => {
5529
5529
  S.length < w.value || !S && w.value !== 0 || (Le.value = !0, y.value && (Ze.value = []), setTimeout(() => {
5530
- S == Q.value && s.value(Q.value, ae).then((j) => {
5530
+ S == Q.value && s.value(Q.value, ne).then((j) => {
5531
5531
  (S == Q.value || !Q.value) && (Ze.value = j, Gt.value = lt.value.filter((ue) => ue[C.value] !== !0)[0] || null, Le.value = !1);
5532
5532
  }).catch(
5533
5533
  /* istanbul ignore next */
@@ -5541,7 +5541,7 @@ function _7(t, e, a) {
5541
5541
  if (n.value !== "single" && !We(H.value) && !Array.isArray(H.value))
5542
5542
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
5543
5543
  return s && typeof s.value == "function" ? k.value ? Ta(Aa) : g.value == !0 && Aa() : (Ze.value = s.value, Aa()), m.value > -1 && un(), ce(m, (S, j) => {
5544
- je.value && je.value(), S >= 0 && un();
5544
+ Re.value && Re.value(), S >= 0 && un();
5545
5545
  }), ce(H, (S) => {
5546
5546
  if (We(S)) {
5547
5547
  Se(Oa(S), !1);
@@ -5605,32 +5605,32 @@ function y7(t, e, a) {
5605
5605
  groupSelect: d,
5606
5606
  disabledProp: u,
5607
5607
  groupOptions: c
5608
- } = Ie(t), p = a.fo, h = a.fg, g = a.handleOptionClick, $ = a.handleGroupClick, m = a.search, k = a.pointer, w = a.setPointer, b = a.clearPointer, y = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((H) => !H[u.value])), V = M(() => h.value.filter((H) => !H[u.value])), R = M(() => r.value !== "single" && d.value), x = M(() => k.value && k.value.group), J = M(() => ae(k.value)), ne = M(() => {
5608
+ } = Ie(t), p = a.fo, h = a.fg, g = a.handleOptionClick, $ = a.handleGroupClick, m = a.search, k = a.pointer, w = a.setPointer, b = a.clearPointer, y = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((H) => !H[u.value])), V = M(() => h.value.filter((H) => !H[u.value])), U = M(() => r.value !== "single" && d.value), x = M(() => k.value && k.value.group), ee = M(() => ne(k.value)), se = M(() => {
5609
5609
  const H = x.value ? k.value : (
5610
5610
  /* istanbul ignore next */
5611
- ae(k.value)
5611
+ ne(k.value)
5612
5612
  ), Q = V.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
5613
5613
  let he = V.value[Q - 1];
5614
5614
  return he === void 0 && (he = X.value), he;
5615
- }), N = M(() => {
5616
- let H = V.value.map((Q) => Q.label).indexOf(x.value ? k.value[o.value] : ae(k.value)[o.value]) + 1;
5615
+ }), R = M(() => {
5616
+ let H = V.value.map((Q) => Q.label).indexOf(x.value ? k.value[o.value] : ne(k.value)[o.value]) + 1;
5617
5617
  return V.value.length <= H && (H = 0), V.value[H];
5618
5618
  }), X = M(() => [...V.value].slice(-1)[0]), le = M(() => k.value.__VISIBLE__.filter((H) => !H[u.value])[0]), oe = M(() => {
5619
- const H = J.value.__VISIBLE__.filter((Q) => !Q[u.value]);
5619
+ const H = ee.value.__VISIBLE__.filter((Q) => !Q[u.value]);
5620
5620
  return H[H.map((Q) => Q[s.value]).indexOf(k.value[s.value]) - 1];
5621
5621
  }), te = M(() => {
5622
- const H = ae(k.value).__VISIBLE__.filter((Q) => !Q[u.value]);
5622
+ const H = ne(k.value).__VISIBLE__.filter((Q) => !Q[u.value]);
5623
5623
  return H[H.map((Q) => Q[s.value]).indexOf(k.value[s.value]) + 1];
5624
- }), P = M(() => [...ne.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), O = M(() => [...X.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), U = (H) => k.value && (!H.group && k.value[s.value] === H[s.value] || H.group !== void 0 && k.value[o.value] === H[o.value]) ? !0 : void 0, L = () => {
5624
+ }), P = M(() => [...se.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), O = M(() => [...X.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), N = (H) => k.value && (!H.group && k.value[s.value] === H[s.value] || H.group !== void 0 && k.value[o.value] === H[o.value]) ? !0 : void 0, L = () => {
5625
5625
  w(T.value[0] || null);
5626
5626
  }, C = () => {
5627
5627
  !k.value || k.value[u.value] === !0 || (x.value ? $(k.value) : g(k.value));
5628
5628
  }, B = () => {
5629
5629
  if (k.value === null)
5630
- w((l.value && R.value ? V.value[0].__CREATE__ ? T.value[0] : V.value[0] : T.value[0]) || null);
5631
- else if (l.value && R.value) {
5630
+ w((l.value && U.value ? V.value[0].__CREATE__ ? T.value[0] : V.value[0] : T.value[0]) || null);
5631
+ else if (l.value && U.value) {
5632
5632
  let H = x.value ? le.value : te.value;
5633
- H === void 0 && (H = N.value, H.__CREATE__ && (H = H[c.value][0])), w(H || /* istanbul ignore next */
5633
+ H === void 0 && (H = R.value, H.__CREATE__ && (H = H[c.value][0])), w(H || /* istanbul ignore next */
5634
5634
  null);
5635
5635
  } else {
5636
5636
  let H = T.value.map((Q) => Q[s.value]).indexOf(k.value[s.value]) + 1;
@@ -5639,13 +5639,13 @@ function y7(t, e, a) {
5639
5639
  $e(() => {
5640
5640
  z();
5641
5641
  });
5642
- }, K = () => {
5642
+ }, G = () => {
5643
5643
  if (k.value === null) {
5644
5644
  let H = T.value[T.value.length - 1];
5645
- l.value && R.value && (H = O.value, H === void 0 && (H = X.value)), w(H || null);
5646
- } else if (l.value && R.value) {
5645
+ l.value && U.value && (H = O.value, H === void 0 && (H = X.value)), w(H || null);
5646
+ } else if (l.value && U.value) {
5647
5647
  let H = x.value ? P.value : oe.value;
5648
- H === void 0 && (H = x.value ? ne.value : J.value, H.__CREATE__ && (H = P.value, H === void 0 && (H = ne.value))), w(H || /* istanbul ignore next */
5648
+ H === void 0 && (H = x.value ? se.value : ee.value, H.__CREATE__ && (H = P.value, H === void 0 && (H = se.value))), w(H || /* istanbul ignore next */
5649
5649
  null);
5650
5650
  } else {
5651
5651
  let H = T.value.map((Q) => Q[s.value]).indexOf(k.value[s.value]) - 1;
@@ -5654,7 +5654,7 @@ function y7(t, e, a) {
5654
5654
  $e(() => {
5655
5655
  z();
5656
5656
  });
5657
- }, ae = (H) => V.value.find((Q) => Q.__VISIBLE__.map((he) => he[s.value]).indexOf(H[s.value]) !== -1), z = () => {
5657
+ }, ne = (H) => V.value.find((Q) => Q.__VISIBLE__.map((he) => he[s.value]).indexOf(H[s.value]) !== -1), z = () => {
5658
5658
  let H = y.value.querySelector("[data-pointed]");
5659
5659
  if (!H)
5660
5660
  return;
@@ -5675,12 +5675,12 @@ function y7(t, e, a) {
5675
5675
  }
5676
5676
  }), {
5677
5677
  pointer: k,
5678
- canPointGroups: R,
5679
- isPointed: U,
5678
+ canPointGroups: U,
5679
+ isPointed: N,
5680
5680
  setPointerFirst: L,
5681
5681
  selectPointer: C,
5682
5682
  forwardPointer: B,
5683
- backwardPointer: K
5683
+ backwardPointer: G
5684
5684
  };
5685
5685
  }
5686
5686
  function Ee(t) {
@@ -5853,7 +5853,7 @@ var Ue = "top", Ye = "bottom", mt = "right", Xe = "left", zs = "auto", ns = [Ue,
5853
5853
  return t.concat([e + "-" + Yt, e + "-" + va]);
5854
5854
  }, []), O7 = /* @__PURE__ */ [].concat(ns, [zs]).reduce(function(t, e) {
5855
5855
  return t.concat([e, e + "-" + Yt, e + "-" + va]);
5856
- }, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", H7 = "main", V7 = "afterMain", D7 = "beforeWrite", B7 = "write", R7 = "afterWrite", j7 = [E7, I7, L7, P7, H7, V7, D7, B7, R7];
5856
+ }, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", H7 = "main", V7 = "afterMain", D7 = "beforeWrite", B7 = "write", j7 = "afterWrite", R7 = [E7, I7, L7, P7, H7, V7, D7, B7, j7];
5857
5857
  function N7(t) {
5858
5858
  var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
5859
5859
  t.forEach(function(i) {
@@ -5875,7 +5875,7 @@ function N7(t) {
5875
5875
  }
5876
5876
  function U7(t) {
5877
5877
  var e = N7(t);
5878
- return j7.reduce(function(a, s) {
5878
+ return R7.reduce(function(a, s) {
5879
5879
  return a.concat(e.filter(function(n) {
5880
5880
  return n.phase === s;
5881
5881
  }));
@@ -6047,20 +6047,20 @@ function qs(t, e) {
6047
6047
  element: b,
6048
6048
  strategy: "absolute",
6049
6049
  placement: n
6050
- }), R = ks(Object.assign({}, b, V)), x = p === oa ? R : T, J = {
6050
+ }), U = ks(Object.assign({}, b, V)), x = p === oa ? U : T, ee = {
6051
6051
  top: I.top - x.top + k.top,
6052
6052
  bottom: x.bottom - I.bottom + k.bottom,
6053
6053
  left: I.left - x.left + k.left,
6054
6054
  right: x.right - I.right + k.right
6055
- }, ne = t.modifiersData.offset;
6056
- if (p === oa && ne) {
6057
- var N = ne[n];
6058
- Object.keys(J).forEach(function(X) {
6055
+ }, se = t.modifiersData.offset;
6056
+ if (p === oa && se) {
6057
+ var R = se[n];
6058
+ Object.keys(ee).forEach(function(X) {
6059
6059
  var le = [mt, Ye].indexOf(X) >= 0 ? 1 : -1, oe = [Ue, Ye].indexOf(X) >= 0 ? "y" : "x";
6060
- J[X] += N[oe] * le;
6060
+ ee[X] += R[oe] * le;
6061
6061
  });
6062
6062
  }
6063
- return J;
6063
+ return ee;
6064
6064
  }
6065
6065
  var Mn = {
6066
6066
  placement: "bottom",
@@ -6115,18 +6115,18 @@ function Q7(t) {
6115
6115
  u.rects = {
6116
6116
  reference: k7(w, ss(b), u.options.strategy === "fixed"),
6117
6117
  popper: uo(b)
6118
- }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(J) {
6119
- return u.modifiersData[J.name] = Object.assign({}, J.data);
6118
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(ee) {
6119
+ return u.modifiersData[ee.name] = Object.assign({}, ee.data);
6120
6120
  });
6121
6121
  for (var y = 0; y < u.orderedModifiers.length; y++) {
6122
6122
  if (u.reset === !0) {
6123
6123
  u.reset = !1, y = -1;
6124
6124
  continue;
6125
6125
  }
6126
- var I = u.orderedModifiers[y], T = I.fn, V = I.options, R = V === void 0 ? {} : V, x = I.name;
6126
+ var I = u.orderedModifiers[y], T = I.fn, V = I.options, U = V === void 0 ? {} : V, x = I.name;
6127
6127
  typeof T == "function" && (u = T({
6128
6128
  state: u,
6129
- options: R,
6129
+ options: U,
6130
6130
  name: x,
6131
6131
  instance: h
6132
6132
  }) || u);
@@ -6234,8 +6234,8 @@ function Tn(t) {
6234
6234
  h = m.x, $ = m.y;
6235
6235
  var k = o.hasOwnProperty("x"), w = o.hasOwnProperty("y"), b = Xe, y = Ue, I = window;
6236
6236
  if (d) {
6237
- var T = ss(a), V = "clientHeight", R = "clientWidth";
6238
- if (T === Ee(a) && (T = _t(a), at(T).position !== "static" && l === "absolute" && (V = "scrollHeight", R = "scrollWidth")), T = T, n === Ue || (n === Xe || n === mt) && i === va) {
6237
+ var T = ss(a), V = "clientHeight", U = "clientWidth";
6238
+ if (T === Ee(a) && (T = _t(a), at(T).position !== "static" && l === "absolute" && (V = "scrollHeight", U = "scrollWidth")), T = T, n === Ue || (n === Xe || n === mt) && i === va) {
6239
6239
  y = Ye;
6240
6240
  var x = c && T === I && I.visualViewport ? I.visualViewport.height : (
6241
6241
  // $FlowFixMe[prop-missing]
@@ -6245,27 +6245,27 @@ function Tn(t) {
6245
6245
  }
6246
6246
  if (n === Xe || (n === Ue || n === Ye) && i === va) {
6247
6247
  b = mt;
6248
- var J = c && T === I && I.visualViewport ? I.visualViewport.width : (
6248
+ var ee = c && T === I && I.visualViewport ? I.visualViewport.width : (
6249
6249
  // $FlowFixMe[prop-missing]
6250
- T[R]
6250
+ T[U]
6251
6251
  );
6252
- h -= J - s.width, h *= r ? 1 : -1;
6252
+ h -= ee - s.width, h *= r ? 1 : -1;
6253
6253
  }
6254
6254
  }
6255
- var ne = Object.assign({
6255
+ var se = Object.assign({
6256
6256
  position: l
6257
- }, d && sp), N = u === !0 ? np({
6257
+ }, d && sp), R = u === !0 ? np({
6258
6258
  x: h,
6259
6259
  y: $
6260
6260
  }, Ee(a)) : {
6261
6261
  x: h,
6262
6262
  y: $
6263
6263
  };
6264
- if (h = N.x, $ = N.y, r) {
6264
+ if (h = R.x, $ = R.y, r) {
6265
6265
  var X;
6266
- return Object.assign({}, ne, (X = {}, X[y] = w ? "0" : "", X[b] = k ? "0" : "", X.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + $ + "px)" : "translate3d(" + h + "px, " + $ + "px, 0)", X));
6266
+ return Object.assign({}, se, (X = {}, X[y] = w ? "0" : "", X[b] = k ? "0" : "", X.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + $ + "px)" : "translate3d(" + h + "px, " + $ + "px, 0)", X));
6267
6267
  }
6268
- return Object.assign({}, ne, (e = {}, e[y] = w ? $ + "px" : "", e[b] = k ? h + "px" : "", e.transform = "", e));
6268
+ return Object.assign({}, se, (e = {}, e[y] = w ? $ + "px" : "", e[b] = k ? h + "px" : "", e.transform = "", e));
6269
6269
  }
6270
6270
  function op(t) {
6271
6271
  var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, i = a.adaptive, o = i === void 0 ? !0 : i, l = a.roundOffsets, r = l === void 0 ? !0 : l, d = {
@@ -6357,31 +6357,31 @@ function fp(t) {
6357
6357
  rootBoundary: d,
6358
6358
  padding: c,
6359
6359
  altBoundary: u
6360
- }), k = pt(e.placement), w = xt(e.placement), b = !w, y = vo(k), I = pp(y), T = e.modifiersData.popperOffsets, V = e.rects.reference, R = e.rects.popper, x = typeof $ == "function" ? $(Object.assign({}, e.rects, {
6360
+ }), k = pt(e.placement), w = xt(e.placement), b = !w, y = vo(k), I = pp(y), T = e.modifiersData.popperOffsets, V = e.rects.reference, U = e.rects.popper, x = typeof $ == "function" ? $(Object.assign({}, e.rects, {
6361
6361
  placement: e.placement
6362
- })) : $, J = typeof x == "number" ? {
6362
+ })) : $, ee = typeof x == "number" ? {
6363
6363
  mainAxis: x,
6364
6364
  altAxis: x
6365
6365
  } : Object.assign({
6366
6366
  mainAxis: 0,
6367
6367
  altAxis: 0
6368
- }, x), ne = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, N = {
6368
+ }, x), se = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, R = {
6369
6369
  x: 0,
6370
6370
  y: 0
6371
6371
  };
6372
6372
  if (T) {
6373
6373
  if (i) {
6374
- var X, le = y === "y" ? Ue : Xe, oe = y === "y" ? Ye : mt, te = y === "y" ? "height" : "width", P = T[y], O = P + m[le], U = P - m[oe], L = h ? -R[te] / 2 : 0, C = w === Yt ? V[te] : R[te], B = w === Yt ? -R[te] : -V[te], K = e.elements.arrow, ae = h && K ? uo(K) : {
6374
+ var X, le = y === "y" ? Ue : Xe, oe = y === "y" ? Ye : mt, te = y === "y" ? "height" : "width", P = T[y], O = P + m[le], N = P - m[oe], L = h ? -U[te] / 2 : 0, C = w === Yt ? V[te] : U[te], B = w === Yt ? -U[te] : -V[te], G = e.elements.arrow, ne = h && G ? uo(G) : {
6375
6375
  width: 0,
6376
6376
  height: 0
6377
- }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), H = z[le], Q = z[oe], he = Va(0, V[te], ae[te]), Se = b ? V[te] / 2 - L - he - H - J.mainAxis : C - he - H - J.mainAxis, Gt = b ? -V[te] / 2 + L + he + Q + J.mainAxis : B + he + Q + J.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? y === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (X = ne == null ? void 0 : ne[y]) != null ? X : 0, ls = P + Se - $a - nt, ot = P + Gt - $a, ka = Va(h ? Wa(O, ls) : O, P, h ? Mt(U, ot) : U);
6378
- T[y] = ka, N[y] = ka - P;
6377
+ }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), H = z[le], Q = z[oe], he = Va(0, V[te], ne[te]), Se = b ? V[te] / 2 - L - he - H - ee.mainAxis : C - he - H - ee.mainAxis, Gt = b ? -V[te] / 2 + L + he + Q + ee.mainAxis : B + he + Q + ee.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? y === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (X = se == null ? void 0 : se[y]) != null ? X : 0, ls = P + Se - $a - nt, ot = P + Gt - $a, ka = Va(h ? Wa(O, ls) : O, P, h ? Mt(N, ot) : N);
6378
+ T[y] = ka, R[y] = ka - P;
6379
6379
  }
6380
6380
  if (l) {
6381
- var it, Ze = y === "x" ? Ue : Xe, Le = y === "x" ? Ye : mt, je = T[I], xe = I === "y" ? "height" : "width", Qt = je + m[Ze], Sa = je - m[Le], Pe = [Ue, Xe].indexOf(k) !== -1, Jt = (it = ne == null ? void 0 : ne[I]) != null ? it : 0, lt = Pe ? Qt : je - V[xe] - R[xe] - Jt + J.altAxis, bt = Pe ? je + V[xe] + R[xe] - Jt - J.altAxis : Sa, Ma = h && Pe ? vp(lt, je, bt) : Va(h ? lt : Qt, je, h ? bt : Sa);
6382
- T[I] = Ma, N[I] = Ma - je;
6381
+ var it, Ze = y === "x" ? Ue : Xe, Le = y === "x" ? Ye : mt, Re = T[I], xe = I === "y" ? "height" : "width", Qt = Re + m[Ze], Sa = Re - m[Le], Pe = [Ue, Xe].indexOf(k) !== -1, Jt = (it = se == null ? void 0 : se[I]) != null ? it : 0, lt = Pe ? Qt : Re - V[xe] - U[xe] - Jt + ee.altAxis, bt = Pe ? Re + V[xe] + U[xe] - Jt - ee.altAxis : Sa, Ma = h && Pe ? vp(lt, Re, bt) : Va(h ? lt : Qt, Re, h ? bt : Sa);
6382
+ T[I] = Ma, R[I] = Ma - Re;
6383
6383
  }
6384
- e.modifiersData[s] = N;
6384
+ e.modifiersData[s] = R;
6385
6385
  }
6386
6386
  }
6387
6387
  var hp = {
@@ -6439,8 +6439,8 @@ function _p(t) {
6439
6439
  function yp(t) {
6440
6440
  var e = t.state, a = t.options, s = t.name;
6441
6441
  if (!e.modifiersData[s]._skip) {
6442
- for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, g = h === void 0 ? !0 : h, $ = a.allowedAutoPlacements, m = e.options.placement, k = pt(m), w = k === m, b = r || (w || !g ? [Da(m)] : _p(m)), y = [m].concat(b).reduce(function(ae, z) {
6443
- return ae.concat(pt(z) === zs ? Cp(e, {
6442
+ for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, g = h === void 0 ? !0 : h, $ = a.allowedAutoPlacements, m = e.options.placement, k = pt(m), w = k === m, b = r || (w || !g ? [Da(m)] : _p(m)), y = [m].concat(b).reduce(function(ne, z) {
6443
+ return ne.concat(pt(z) === zs ? Cp(e, {
6444
6444
  placement: z,
6445
6445
  boundary: u,
6446
6446
  rootBoundary: c,
@@ -6448,25 +6448,25 @@ function yp(t) {
6448
6448
  flipVariations: g,
6449
6449
  allowedAutoPlacements: $
6450
6450
  }) : z);
6451
- }, []), I = e.rects.reference, T = e.rects.popper, V = /* @__PURE__ */ new Map(), R = !0, x = y[0], J = 0; J < y.length; J++) {
6452
- var ne = y[J], N = pt(ne), X = xt(ne) === Yt, le = [Ue, Ye].indexOf(N) >= 0, oe = le ? "width" : "height", te = qs(e, {
6453
- placement: ne,
6451
+ }, []), I = e.rects.reference, T = e.rects.popper, V = /* @__PURE__ */ new Map(), U = !0, x = y[0], ee = 0; ee < y.length; ee++) {
6452
+ var se = y[ee], R = pt(se), X = xt(se) === Yt, le = [Ue, Ye].indexOf(R) >= 0, oe = le ? "width" : "height", te = qs(e, {
6453
+ placement: se,
6454
6454
  boundary: u,
6455
6455
  rootBoundary: c,
6456
6456
  altBoundary: p,
6457
6457
  padding: d
6458
6458
  }), P = le ? X ? mt : Xe : X ? Ye : Ue;
6459
6459
  I[oe] > T[oe] && (P = Da(P));
6460
- var O = Da(P), U = [];
6461
- if (i && U.push(te[N] <= 0), l && U.push(te[P] <= 0, te[O] <= 0), U.every(function(ae) {
6462
- return ae;
6460
+ var O = Da(P), N = [];
6461
+ if (i && N.push(te[R] <= 0), l && N.push(te[P] <= 0, te[O] <= 0), N.every(function(ne) {
6462
+ return ne;
6463
6463
  })) {
6464
- x = ne, R = !1;
6464
+ x = se, U = !1;
6465
6465
  break;
6466
6466
  }
6467
- V.set(ne, U);
6467
+ V.set(se, N);
6468
6468
  }
6469
- if (R)
6469
+ if (U)
6470
6470
  for (var L = g ? 3 : 1, C = function(z) {
6471
6471
  var H = y.find(function(Q) {
6472
6472
  var he = V.get(Q);
@@ -6478,8 +6478,8 @@ function yp(t) {
6478
6478
  if (H)
6479
6479
  return x = H, "break";
6480
6480
  }, B = L; B > 0; B--) {
6481
- var K = C(B);
6482
- if (K === "break")
6481
+ var G = C(B);
6482
+ if (G === "break")
6483
6483
  break;
6484
6484
  }
6485
6485
  e.placement !== x && (e.modifiersData[s]._skip = !0, e.placement = x, e.reset = !0);
@@ -6574,8 +6574,8 @@ function $p(t, e, a) {
6574
6574
  s.value && o.value.blur(), c.value.blur();
6575
6575
  }, k = () => {
6576
6576
  s.value && !n.value && o.value.focus();
6577
- }, w = (R = !0) => {
6578
- n.value || (h.value = !0, R && l());
6577
+ }, w = (U = !0) => {
6578
+ n.value || (h.value = !0, U && l());
6579
6579
  }, b = () => {
6580
6580
  h.value = !1, setTimeout(() => {
6581
6581
  h.value || (r(), i.value && d());
@@ -6589,8 +6589,8 @@ function $p(t, e, a) {
6589
6589
  focus: k,
6590
6590
  activate: w,
6591
6591
  deactivate: b,
6592
- handleFocusIn: (R) => {
6593
- R.target.closest("[data-tags]") && R.target.nodeName !== "INPUT" || R.target.closest("[data-clear]") || w(g.value);
6592
+ handleFocusIn: (U) => {
6593
+ U.target.closest("[data-tags]") && U.target.nodeName !== "INPUT" || U.target.closest("[data-clear]") || w(g.value);
6594
6594
  },
6595
6595
  handleFocusOut: () => {
6596
6596
  b();
@@ -6598,8 +6598,8 @@ function $p(t, e, a) {
6598
6598
  handleCaretClick: () => {
6599
6599
  b(), m();
6600
6600
  },
6601
- handleMousedown: (R) => {
6602
- g.value = !0, u.value && (R.target.isEqualNode(c.value) || R.target.isEqualNode(p.value)) ? setTimeout(() => {
6601
+ handleMousedown: (U) => {
6602
+ g.value = !0, u.value && (U.target.isEqualNode(c.value) || U.target.isEqualNode(p.value)) ? setTimeout(() => {
6603
6603
  b();
6604
6604
  }, 0) : !u.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(o.value)) && w(), setTimeout(() => {
6605
6605
  g.value = !1;
@@ -6620,25 +6620,25 @@ function kp(t, e, a) {
6620
6620
  createTag: c,
6621
6621
  createOption: p,
6622
6622
  reverse: h
6623
- } = Ie(t), g = Pt().proxy, $ = a.iv, m = a.update, k = a.deselect, w = a.search, b = a.setPointer, y = a.selectPointer, I = a.backwardPointer, T = a.forwardPointer, V = a.multiselect, R = a.wrapper, x = a.tags, J = a.isOpen, ne = a.open, N = a.blur, X = a.fo, le = M(() => c.value || p.value || !1), oe = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), te = () => {
6624
- s.value === "tags" && !l.value && le.value && o.value && !d.value && b(X.value[X.value.map((U) => U[r.value]).indexOf(w.value)]);
6623
+ } = Ie(t), g = Pt().proxy, $ = a.iv, m = a.update, k = a.deselect, w = a.search, b = a.setPointer, y = a.selectPointer, I = a.backwardPointer, T = a.forwardPointer, V = a.multiselect, U = a.wrapper, x = a.tags, ee = a.isOpen, se = a.open, R = a.blur, X = a.fo, le = M(() => c.value || p.value || !1), oe = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), te = () => {
6624
+ s.value === "tags" && !l.value && le.value && o.value && !d.value && b(X.value[X.value.map((N) => N[r.value]).indexOf(w.value)]);
6625
6625
  };
6626
6626
  return {
6627
- handleKeydown: (U) => {
6628
- e.emit("keydown", U, g);
6627
+ handleKeydown: (N) => {
6628
+ e.emit("keydown", N, g);
6629
6629
  let L, C;
6630
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(U.key) !== -1 && s.value === "tags" && (L = [...V.value.querySelectorAll("[data-tags] > *")].filter((B) => B !== x.value), C = L.findIndex((B) => B === document.activeElement)), U.key) {
6630
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(N.key) !== -1 && s.value === "tags" && (L = [...V.value.querySelectorAll("[data-tags] > *")].filter((B) => B !== x.value), C = L.findIndex((B) => B === document.activeElement)), N.key) {
6631
6631
  case "Backspace":
6632
6632
  if (s.value === "single" || o.value && [null, ""].indexOf(w.value) === -1 || $.value.length === 0)
6633
6633
  return;
6634
- let B = $.value.filter((K) => !K.disabled && K.remove !== !1);
6634
+ let B = $.value.filter((G) => !G.disabled && G.remove !== !1);
6635
6635
  B.length && k(B[B.length - 1]);
6636
6636
  break;
6637
6637
  case "Enter":
6638
- if (U.preventDefault(), U.keyCode === 229)
6638
+ if (N.preventDefault(), N.keyCode === 229)
6639
6639
  return;
6640
6640
  if (C !== -1 && C !== void 0) {
6641
- m([...$.value].filter((K, ae) => ae !== C)), C === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : o.value ? x.value.querySelector("input").focus() : R.value.focus());
6641
+ m([...$.value].filter((G, ne) => ne !== C)), C === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : o.value ? x.value.querySelector("input").focus() : U.value.focus());
6642
6642
  return;
6643
6643
  }
6644
6644
  if (oe.value.indexOf("enter") === -1 && le.value)
@@ -6647,49 +6647,49 @@ function kp(t, e, a) {
6647
6647
  break;
6648
6648
  case " ":
6649
6649
  if (!le.value && !o.value) {
6650
- U.preventDefault(), te(), y();
6650
+ N.preventDefault(), te(), y();
6651
6651
  return;
6652
6652
  }
6653
6653
  if (!le.value)
6654
6654
  return !1;
6655
6655
  if (oe.value.indexOf("space") === -1 && le.value)
6656
6656
  return;
6657
- U.preventDefault(), te(), y();
6657
+ N.preventDefault(), te(), y();
6658
6658
  break;
6659
6659
  case "Tab":
6660
6660
  case ";":
6661
6661
  case ",":
6662
- if (oe.value.indexOf(U.key.toLowerCase()) === -1 || !le.value)
6662
+ if (oe.value.indexOf(N.key.toLowerCase()) === -1 || !le.value)
6663
6663
  return;
6664
- te(), y(), U.preventDefault();
6664
+ te(), y(), N.preventDefault();
6665
6665
  break;
6666
6666
  case "Escape":
6667
- N();
6667
+ R();
6668
6668
  break;
6669
6669
  case "ArrowUp":
6670
- if (U.preventDefault(), !l.value)
6670
+ if (N.preventDefault(), !l.value)
6671
6671
  return;
6672
- J.value || ne(), I();
6672
+ ee.value || se(), I();
6673
6673
  break;
6674
6674
  case "ArrowDown":
6675
- if (U.preventDefault(), !l.value)
6675
+ if (N.preventDefault(), !l.value)
6676
6676
  return;
6677
- J.value || ne(), T();
6677
+ ee.value || se(), T();
6678
6678
  break;
6679
6679
  case "ArrowLeft":
6680
- if (o.value && x.value && x.value.querySelector("input").selectionStart || U.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6680
+ if (o.value && x.value && x.value.querySelector("input").selectionStart || N.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6681
6681
  return;
6682
- U.preventDefault(), C === -1 ? L[L.length - 1].focus() : C > 0 && L[C - 1].focus();
6682
+ N.preventDefault(), C === -1 ? L[L.length - 1].focus() : C > 0 && L[C - 1].focus();
6683
6683
  break;
6684
6684
  case "ArrowRight":
6685
- if (C === -1 || U.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6685
+ if (C === -1 || N.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6686
6686
  return;
6687
- U.preventDefault(), L.length > C + 1 ? L[C + 1].focus() : o.value ? x.value.querySelector("input").focus() : o.value || R.value.focus();
6687
+ N.preventDefault(), L.length > C + 1 ? L[C + 1].focus() : o.value ? x.value.querySelector("input").focus() : o.value || U.value.focus();
6688
6688
  break;
6689
6689
  }
6690
6690
  },
6691
- handleKeyup: (U) => {
6692
- e.emit("keyup", U, g);
6691
+ handleKeyup: (N) => {
6692
+ e.emit("keyup", N, g);
6693
6693
  },
6694
6694
  preparePointer: te
6695
6695
  };
@@ -6843,38 +6843,38 @@ function Ap(t, e, a) {
6843
6843
  aria: d,
6844
6844
  searchable: u
6845
6845
  } = Ie(t), c = a.pointer, p = a.iv, h = a.hasSelected, g = a.multipleLabelText, $ = q(null), m = M(() => {
6846
- let N = [];
6847
- return n && n.value && N.push(n.value), N.push("assist"), N.join("-");
6846
+ let R = [];
6847
+ return n && n.value && R.push(n.value), R.push("assist"), R.join("-");
6848
6848
  }), k = M(() => {
6849
- let N = [];
6850
- return n && n.value && N.push(n.value), N.push("multiselect-options"), N.join("-");
6849
+ let R = [];
6850
+ return n && n.value && R.push(n.value), R.push("multiselect-options"), R.join("-");
6851
6851
  }), w = M(() => {
6852
- let N = [];
6853
- if (n && n.value && N.push(n.value), c.value)
6854
- return N.push(c.value.group ? "multiselect-group" : "multiselect-option"), N.push(c.value.group ? c.value.index : c.value[i.value]), N.join("-");
6852
+ let R = [];
6853
+ if (n && n.value && R.push(n.value), c.value)
6854
+ return R.push(c.value.group ? "multiselect-group" : "multiselect-option"), R.push(c.value.group ? c.value.index : c.value[i.value]), R.join("-");
6855
6855
  }), b = M(() => s.value), y = M(() => l.value !== "single"), I = M(() => {
6856
- let N = "";
6857
- return l.value === "single" && h.value && (N += p.value[o.value]), l.value === "multiple" && h.value && (N += g.value), l.value === "tags" && h.value && (N += p.value.map((X) => X[o.value]).join(", ")), N;
6856
+ let R = "";
6857
+ return l.value === "single" && h.value && (R += p.value[o.value]), l.value === "multiple" && h.value && (R += g.value), l.value === "tags" && h.value && (R += p.value.map((X) => X[o.value]).join(", ")), R;
6858
6858
  }), T = M(() => {
6859
- let N = { ...d.value };
6860
- return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${m.value} ${N["aria-labelledby"]}` : m.value, I.value && N["aria-label"] && (N["aria-label"] = `${I.value}, ${N["aria-label"]}`)), N;
6861
- }), V = (N) => {
6859
+ let R = { ...d.value };
6860
+ return u.value && (R["aria-labelledby"] = R["aria-labelledby"] ? `${m.value} ${R["aria-labelledby"]}` : m.value, I.value && R["aria-label"] && (R["aria-label"] = `${I.value}, ${R["aria-label"]}`)), R;
6861
+ }), V = (R) => {
6862
6862
  let X = [];
6863
- return n && n.value && X.push(n.value), X.push("multiselect-option"), X.push(N[i.value]), X.join("-");
6864
- }, R = (N) => {
6863
+ return n && n.value && X.push(n.value), X.push("multiselect-option"), X.push(R[i.value]), X.join("-");
6864
+ }, U = (R) => {
6865
6865
  let X = [];
6866
- return n && n.value && X.push(n.value), X.push("multiselect-group"), X.push(N.index), X.join("-");
6867
- }, x = (N) => {
6866
+ return n && n.value && X.push(n.value), X.push("multiselect-group"), X.push(R.index), X.join("-");
6867
+ }, x = (R) => {
6868
6868
  let X = [];
6869
- return X.push(N), X.join(" ");
6870
- }, J = (N) => {
6869
+ return X.push(R), X.join(" ");
6870
+ }, ee = (R) => {
6871
6871
  let X = [];
6872
- return X.push(N), X.join(" ");
6873
- }, ne = (N) => `${N} ❎`;
6872
+ return X.push(R), X.join(" ");
6873
+ }, se = (R) => `${R} ❎`;
6874
6874
  return Lt(() => {
6875
6875
  if (n && n.value && document && document.querySelector) {
6876
- let N = document.querySelector(`[for="${n.value}"]`);
6877
- $.value = N ? N.innerText : null;
6876
+ let R = document.querySelector(`[for="${n.value}"]`);
6877
+ $.value = R ? R.innerText : null;
6878
6878
  }
6879
6879
  }), {
6880
6880
  arias: T,
@@ -6886,9 +6886,9 @@ function Ap(t, e, a) {
6886
6886
  ariaActiveDescendant: w,
6887
6887
  ariaOptionId: V,
6888
6888
  ariaOptionLabel: x,
6889
- ariaGroupId: R,
6890
- ariaGroupLabel: J,
6891
- ariaTagLabel: ne
6889
+ ariaGroupId: U,
6890
+ ariaGroupLabel: ee,
6891
+ ariaTagLabel: se
6892
6892
  };
6893
6893
  }
6894
6894
  function Tp(t, e, a) {
@@ -7299,11 +7299,11 @@ var ct = {
7299
7299
  }));
7300
7300
  }
7301
7301
  };
7302
- const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Hp = ["onKeyup", "aria-label"], Vp = ["onClick"], Dp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Bp = ["innerHTML"], Rp = ["id"], jp = ["id"], Np = ["id", "aria-label", "aria-selected"], Up = ["data-pointed", "onMouseenter", "onMousedown"], Fp = ["innerHTML"], Zp = ["aria-label"], Wp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], qp = ["innerHTML"], Yp = ["innerHTML"], xp = ["value"], Kp = ["name", "value"], Gp = ["name", "value"], Xp = ["id"];
7302
+ const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Hp = ["onKeyup", "aria-label"], Vp = ["onClick"], Dp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Bp = ["innerHTML"], jp = ["id"], Rp = ["id"], Np = ["id", "aria-label", "aria-selected"], Up = ["data-pointed", "onMouseenter", "onMousedown"], Fp = ["innerHTML"], Zp = ["aria-label"], Wp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], qp = ["innerHTML"], Yp = ["innerHTML"], xp = ["value"], Kp = ["name", "value"], Gp = ["name", "value"], Xp = ["id"];
7303
7303
  function Qp(t, e, a, s, n, i) {
7304
7304
  return v(), _("div", {
7305
7305
  ref: "multiselect",
7306
- class: ee(t.classList.container),
7306
+ class: J(t.classList.container),
7307
7307
  id: a.searchable ? void 0 : a.id,
7308
7308
  dir: a.rtl ? "rtl" : void 0,
7309
7309
  onFocusin: e[10] || (e[10] = (...o) => t.handleFocusIn && t.handleFocusIn(...o)),
@@ -7351,20 +7351,20 @@ function Qp(t, e, a, s, n, i) {
7351
7351
  "div",
7352
7352
  {
7353
7353
  key: 1,
7354
- class: ee(t.classList.tags),
7354
+ class: J(t.classList.tags),
7355
7355
  "data-tags": ""
7356
7356
  },
7357
7357
  [
7358
7358
  (v(!0), _(
7359
7359
  fe,
7360
7360
  null,
7361
- Ce(t.iv, (o, l, r) => se(t.$slots, "tag", {
7361
+ Ce(t.iv, (o, l, r) => ae(t.$slots, "tag", {
7362
7362
  option: o,
7363
7363
  handleTagRemove: t.handleTagRemove,
7364
7364
  disabled: a.disabled
7365
7365
  }, () => [
7366
7366
  (v(), _("span", {
7367
- class: ee([
7367
+ class: J([
7368
7368
  t.classList.tag,
7369
7369
  o.disabled ? t.classList.tagDisabled : null
7370
7370
  ]),
@@ -7376,7 +7376,7 @@ function Qp(t, e, a, s, n, i) {
7376
7376
  f(
7377
7377
  "span",
7378
7378
  {
7379
- class: ee(t.classList.tagWrapper)
7379
+ class: J(t.classList.tagWrapper)
7380
7380
  },
7381
7381
  Y(t.localize(o[a.label])),
7382
7382
  3
@@ -7384,13 +7384,13 @@ function Qp(t, e, a, s, n, i) {
7384
7384
  ),
7385
7385
  !a.disabled && !o.disabled ? (v(), _("span", {
7386
7386
  key: 0,
7387
- class: ee(t.classList.tagRemove),
7387
+ class: J(t.classList.tagRemove),
7388
7388
  onClick: ve((d) => t.handleTagRemove(o, d), ["stop"])
7389
7389
  }, [
7390
7390
  f(
7391
7391
  "span",
7392
7392
  {
7393
- class: ee(t.classList.tagRemoveIcon)
7393
+ class: J(t.classList.tagRemoveIcon)
7394
7394
  },
7395
7395
  null,
7396
7396
  2
@@ -7405,7 +7405,7 @@ function Qp(t, e, a, s, n, i) {
7405
7405
  f(
7406
7406
  "div",
7407
7407
  {
7408
- class: ee(t.classList.tagsSearchWrapper),
7408
+ class: J(t.classList.tagsSearchWrapper),
7409
7409
  ref: "tags"
7410
7410
  },
7411
7411
  [
@@ -7413,7 +7413,7 @@ function Qp(t, e, a, s, n, i) {
7413
7413
  f(
7414
7414
  "span",
7415
7415
  {
7416
- class: ee(t.classList.tagsSearchCopy)
7416
+ class: J(t.classList.tagsSearchCopy)
7417
7417
  },
7418
7418
  Y(t.search),
7419
7419
  3
@@ -7451,20 +7451,20 @@ function Qp(t, e, a, s, n, i) {
7451
7451
  /* CLASS */
7452
7452
  )) : E("v-if", !0),
7453
7453
  E(" Single label "),
7454
- a.mode == "single" && t.hasSelected && !t.search && t.iv ? se(t.$slots, "singlelabel", {
7454
+ a.mode == "single" && t.hasSelected && !t.search && t.iv ? ae(t.$slots, "singlelabel", {
7455
7455
  key: 2,
7456
7456
  value: t.iv
7457
7457
  }, () => [
7458
7458
  f(
7459
7459
  "div",
7460
7460
  {
7461
- class: ee(t.classList.singleLabel)
7461
+ class: J(t.classList.singleLabel)
7462
7462
  },
7463
7463
  [
7464
7464
  f(
7465
7465
  "span",
7466
7466
  {
7467
- class: ee(t.classList.singleLabelText)
7467
+ class: J(t.classList.singleLabelText)
7468
7468
  },
7469
7469
  Y(t.localize(t.iv[a.label])),
7470
7470
  3
@@ -7476,21 +7476,21 @@ function Qp(t, e, a, s, n, i) {
7476
7476
  )
7477
7477
  ]) : E("v-if", !0),
7478
7478
  E(" Multiple label "),
7479
- a.mode == "multiple" && t.hasSelected && !t.search ? se(t.$slots, "multiplelabel", {
7479
+ a.mode == "multiple" && t.hasSelected && !t.search ? ae(t.$slots, "multiplelabel", {
7480
7480
  key: 3,
7481
7481
  values: t.iv
7482
7482
  }, () => [
7483
7483
  f("div", {
7484
- class: ee(t.classList.multipleLabel),
7484
+ class: J(t.classList.multipleLabel),
7485
7485
  innerHTML: t.multipleLabelText
7486
7486
  }, null, 10, Bp)
7487
7487
  ]) : E("v-if", !0),
7488
7488
  E(" Placeholder "),
7489
- a.placeholder && !t.hasSelected && !t.search ? se(t.$slots, "placeholder", { key: 4 }, () => [
7489
+ a.placeholder && !t.hasSelected && !t.search ? ae(t.$slots, "placeholder", { key: 4 }, () => [
7490
7490
  f(
7491
7491
  "div",
7492
7492
  {
7493
- class: ee(t.classList.placeholder),
7493
+ class: J(t.classList.placeholder),
7494
7494
  "aria-hidden": "true"
7495
7495
  },
7496
7496
  Y(a.placeholder),
@@ -7499,11 +7499,11 @@ function Qp(t, e, a, s, n, i) {
7499
7499
  )
7500
7500
  ]) : E("v-if", !0),
7501
7501
  E(" Spinner "),
7502
- a.loading || t.resolving ? se(t.$slots, "spinner", { key: 5 }, () => [
7502
+ a.loading || t.resolving ? ae(t.$slots, "spinner", { key: 5 }, () => [
7503
7503
  f(
7504
7504
  "span",
7505
7505
  {
7506
- class: ee(t.classList.spinner),
7506
+ class: J(t.classList.spinner),
7507
7507
  "aria-hidden": "true"
7508
7508
  },
7509
7509
  null,
@@ -7512,7 +7512,7 @@ function Qp(t, e, a, s, n, i) {
7512
7512
  )
7513
7513
  ]) : E("v-if", !0),
7514
7514
  E(" Clear "),
7515
- t.hasSelected && !a.disabled && a.canClear && !t.busy ? se(t.$slots, "clear", {
7515
+ t.hasSelected && !a.disabled && a.canClear && !t.busy ? ae(t.$slots, "clear", {
7516
7516
  key: 6,
7517
7517
  clear: t.clear
7518
7518
  }, () => [
@@ -7524,7 +7524,7 @@ function Qp(t, e, a, s, n, i) {
7524
7524
  role: "button",
7525
7525
  "data-clear": "",
7526
7526
  "aria-roledescription": "❎",
7527
- class: ee(t.classList.clear),
7527
+ class: J(t.classList.clear),
7528
7528
  onClick: e[6] || (e[6] = (...o) => t.clear && t.clear(...o)),
7529
7529
  onKeyup: e[7] || (e[7] = vt((...o) => t.clear && t.clear(...o), ["enter"]))
7530
7530
  },
@@ -7532,7 +7532,7 @@ function Qp(t, e, a, s, n, i) {
7532
7532
  f(
7533
7533
  "span",
7534
7534
  {
7535
- class: ee(t.classList.clearIcon)
7535
+ class: J(t.classList.clearIcon)
7536
7536
  },
7537
7537
  null,
7538
7538
  2
@@ -7544,7 +7544,7 @@ function Qp(t, e, a, s, n, i) {
7544
7544
  )
7545
7545
  ]) : E("v-if", !0),
7546
7546
  E(" Caret "),
7547
- a.caret && a.showOptions ? se(t.$slots, "caret", {
7547
+ a.caret && a.showOptions ? ae(t.$slots, "caret", {
7548
7548
  key: 7,
7549
7549
  handleCaretClick: t.handleCaretClick,
7550
7550
  isOpen: t.isOpen
@@ -7552,7 +7552,7 @@ function Qp(t, e, a, s, n, i) {
7552
7552
  f(
7553
7553
  "span",
7554
7554
  {
7555
- class: ee(t.classList.caret),
7555
+ class: J(t.classList.caret),
7556
7556
  onClick: e[8] || (e[8] = (...o) => t.handleCaretClick && t.handleCaretClick(...o)),
7557
7557
  "aria-hidden": "true"
7558
7558
  },
@@ -7569,13 +7569,13 @@ function Qp(t, e, a, s, n, i) {
7569
7569
  }, [
7570
7570
  f("div", {
7571
7571
  id: `${a.id}-dropdown`,
7572
- class: ee(t.classList.dropdown),
7572
+ class: J(t.classList.dropdown),
7573
7573
  tabindex: "-1",
7574
7574
  ref: "dropdown"
7575
7575
  }, [
7576
- se(t.$slots, "beforelist", { options: t.fo }),
7576
+ ae(t.$slots, "beforelist", { options: t.fo }),
7577
7577
  f("ul", {
7578
- class: ee(t.classList.options),
7578
+ class: J(t.classList.options),
7579
7579
  id: t.ariaControls,
7580
7580
  role: "listbox"
7581
7581
  }, [
@@ -7583,7 +7583,7 @@ function Qp(t, e, a, s, n, i) {
7583
7583
  fe,
7584
7584
  { key: 0 },
7585
7585
  Ce(t.fg, (o, l, r) => (v(), _("li", {
7586
- class: ee(t.classList.group),
7586
+ class: J(t.classList.group),
7587
7587
  key: r,
7588
7588
  id: t.ariaGroupId(o),
7589
7589
  "aria-label": t.ariaGroupLabel(t.localize(o[a.groupLabel])),
@@ -7592,12 +7592,12 @@ function Qp(t, e, a, s, n, i) {
7592
7592
  }, [
7593
7593
  o.__CREATE__ ? E("v-if", !0) : (v(), _("div", {
7594
7594
  key: 0,
7595
- class: ee(t.classList.groupLabel(o)),
7595
+ class: J(t.classList.groupLabel(o)),
7596
7596
  "data-pointed": t.isPointed(o),
7597
7597
  onMouseenter: (d) => t.setPointer(o, l),
7598
7598
  onMousedown: ve((d) => t.handleGroupClick(o), ["prevent"])
7599
7599
  }, [
7600
- se(t.$slots, "grouplabel", {
7600
+ ae(t.$slots, "grouplabel", {
7601
7601
  group: o,
7602
7602
  isSelected: t.isSelected,
7603
7603
  isPointed: t.isPointed
@@ -7608,7 +7608,7 @@ function Qp(t, e, a, s, n, i) {
7608
7608
  ])
7609
7609
  ], 42, Up)),
7610
7610
  f("ul", {
7611
- class: ee(t.classList.groupOptions),
7611
+ class: J(t.classList.groupOptions),
7612
7612
  "aria-label": t.ariaGroupLabel(t.localize(o[a.groupLabel])),
7613
7613
  role: "group"
7614
7614
  }, [
@@ -7616,7 +7616,7 @@ function Qp(t, e, a, s, n, i) {
7616
7616
  fe,
7617
7617
  null,
7618
7618
  Ce(o.__VISIBLE__, (d, u, c) => (v(), _("li", {
7619
- class: ee(t.classList.option(d, o)),
7619
+ class: J(t.classList.option(d, o)),
7620
7620
  "data-pointed": t.isPointed(d),
7621
7621
  "data-selected": t.isSelected(d) || void 0,
7622
7622
  key: c,
@@ -7627,7 +7627,7 @@ function Qp(t, e, a, s, n, i) {
7627
7627
  "aria-label": t.ariaOptionLabel(t.localize(d[a.label])),
7628
7628
  role: "option"
7629
7629
  }, [
7630
- se(t.$slots, "option", {
7630
+ ae(t.$slots, "option", {
7631
7631
  option: d,
7632
7632
  isSelected: t.isSelected,
7633
7633
  isPointed: t.isPointed,
@@ -7653,7 +7653,7 @@ function Qp(t, e, a, s, n, i) {
7653
7653
  fe,
7654
7654
  { key: 1 },
7655
7655
  Ce(t.fo, (o, l, r) => (v(), _("li", {
7656
- class: ee(t.classList.option(o)),
7656
+ class: J(t.classList.option(o)),
7657
7657
  "data-pointed": t.isPointed(o),
7658
7658
  "data-selected": t.isSelected(o) || void 0,
7659
7659
  key: r,
@@ -7664,7 +7664,7 @@ function Qp(t, e, a, s, n, i) {
7664
7664
  "aria-label": t.ariaOptionLabel(t.localize(o[a.label])),
7665
7665
  role: "option"
7666
7666
  }, [
7667
- se(t.$slots, "option", {
7667
+ ae(t.$slots, "option", {
7668
7668
  option: o,
7669
7669
  isSelected: t.isSelected,
7670
7670
  isPointed: t.isPointed,
@@ -7682,16 +7682,16 @@ function Qp(t, e, a, s, n, i) {
7682
7682
  128
7683
7683
  /* KEYED_FRAGMENT */
7684
7684
  ))
7685
- ], 10, jp),
7686
- t.noOptions ? se(t.$slots, "nooptions", { key: 0 }, () => [
7685
+ ], 10, Rp),
7686
+ t.noOptions ? ae(t.$slots, "nooptions", { key: 0 }, () => [
7687
7687
  f("div", {
7688
- class: ee(t.classList.noOptions),
7688
+ class: J(t.classList.noOptions),
7689
7689
  innerHTML: t.localize(a.noOptionsText)
7690
7690
  }, null, 10, qp)
7691
7691
  ]) : E("v-if", !0),
7692
- t.noResults ? se(t.$slots, "noresults", { key: 1 }, () => [
7692
+ t.noResults ? ae(t.$slots, "noresults", { key: 1 }, () => [
7693
7693
  f("div", {
7694
- class: ee(t.classList.noResults),
7694
+ class: J(t.classList.noResults),
7695
7695
  innerHTML: t.localize(a.noResultsText)
7696
7696
  }, null, 10, Yp)
7697
7697
  ]) : E("v-if", !0),
@@ -7699,15 +7699,15 @@ function Qp(t, e, a, s, n, i) {
7699
7699
  "div",
7700
7700
  {
7701
7701
  key: 2,
7702
- class: ee(t.classList.inifinite),
7702
+ class: J(t.classList.inifinite),
7703
7703
  ref: "infiniteLoader"
7704
7704
  },
7705
7705
  [
7706
- se(t.$slots, "infinite", {}, () => [
7706
+ ae(t.$slots, "infinite", {}, () => [
7707
7707
  f(
7708
7708
  "span",
7709
7709
  {
7710
- class: ee(t.classList.inifiniteSpinner)
7710
+ class: J(t.classList.inifiniteSpinner)
7711
7711
  },
7712
7712
  null,
7713
7713
  2
@@ -7718,13 +7718,13 @@ function Qp(t, e, a, s, n, i) {
7718
7718
  2
7719
7719
  /* CLASS */
7720
7720
  )) : E("v-if", !0),
7721
- se(t.$slots, "afterlist", { options: t.fo })
7722
- ], 10, Rp)
7721
+ ae(t.$slots, "afterlist", { options: t.fo })
7722
+ ], 10, jp)
7723
7723
  ], 8, ["to", "disabled"])),
7724
7724
  E(" Hacky input element to show HTML5 required warning "),
7725
7725
  a.required ? (v(), _("input", {
7726
7726
  key: 0,
7727
- class: ee(t.classList.fakeInput),
7727
+ class: J(t.classList.fakeInput),
7728
7728
  tabindex: "-1",
7729
7729
  value: t.textValue,
7730
7730
  required: ""
@@ -7758,7 +7758,7 @@ function Qp(t, e, a, s, n, i) {
7758
7758
  E(" Screen reader assistive text "),
7759
7759
  a.searchable && t.hasSelected ? (v(), _("div", {
7760
7760
  key: 2,
7761
- class: ee(t.classList.assist),
7761
+ class: J(t.classList.assist),
7762
7762
  id: t.ariaAssist,
7763
7763
  "aria-hidden": "true"
7764
7764
  }, Y(t.ariaLabel), 11, Xp)) : E("v-if", !0),
@@ -7766,7 +7766,7 @@ function Qp(t, e, a, s, n, i) {
7766
7766
  f(
7767
7767
  "div",
7768
7768
  {
7769
- class: ee(t.classList.spacer)
7769
+ class: J(t.classList.spacer)
7770
7770
  },
7771
7771
  null,
7772
7772
  2
@@ -7776,7 +7776,7 @@ function Qp(t, e, a, s, n, i) {
7776
7776
  }
7777
7777
  ct.render = Qp;
7778
7778
  ct.__file = "src/Multiselect.vue";
7779
- const Me = /* @__PURE__ */ G({
7779
+ const Me = /* @__PURE__ */ K({
7780
7780
  __name: "AoMultiselect",
7781
7781
  props: {
7782
7782
  detached: { type: Boolean },
@@ -7795,7 +7795,7 @@ const Me = /* @__PURE__ */ G({
7795
7795
  Ce(n.$slots, (o, l) => ({
7796
7796
  name: l,
7797
7797
  fn: Z((r) => [
7798
- se(n.$slots, l, ha(ma(r ?? {})))
7798
+ ae(n.$slots, l, ha(ma(r ?? {})))
7799
7799
  ])
7800
7800
  }))
7801
7801
  ]), 1536));
@@ -7815,7 +7815,7 @@ function Jp() {
7815
7815
  throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
7816
7816
  return t;
7817
7817
  }
7818
- G({
7818
+ K({
7819
7819
  props: {
7820
7820
  translation: {
7821
7821
  type: String,
@@ -7852,7 +7852,7 @@ async function Qe(t, e) {
7852
7852
  o == null || o.select();
7853
7853
  }
7854
7854
  }
7855
- const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id", "value", "readonly", "onChange", "onKeyup"], sv = { class: "ao-tasks__list-footer" }, nv = /* @__PURE__ */ G({
7855
+ const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id", "value", "readonly", "onChange", "onKeyup"], sv = { class: "ao-tasks__list-footer" }, nv = /* @__PURE__ */ K({
7856
7856
  __name: "AoActivityTasks",
7857
7857
  props: {
7858
7858
  activityId: {},
@@ -7926,7 +7926,7 @@ const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id",
7926
7926
  id: h.id,
7927
7927
  value: h.name,
7928
7928
  readonly: !c.isEditable,
7929
- class: ee(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": h.isDone }]),
7929
+ class: J(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": h.isDone }]),
7930
7930
  type: "text",
7931
7931
  onChange: (m) => o(m, h.id),
7932
7932
  onKeyup: vt(u, ["enter"])
@@ -7984,7 +7984,7 @@ const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id",
7984
7984
  const ov = ["onDrop", "onDragenter", "onDragover", "onDragleave"], iv = { class: "ao-files__placeholder" }, lv = {
7985
7985
  key: 0,
7986
7986
  class: "ao-files__list"
7987
- }, rv = ["href"], uv = { class: "ao-file__title" }, cv = { key: 0 }, dv = { class: "ao-files__input" }, pv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, vv = { class: "ao-button__label" }, fv = { class: "ao-files__dropzone" }, hv = { class: "ao-files__dropzone-label" }, mv = /* @__PURE__ */ G({
7987
+ }, rv = ["href"], uv = { class: "ao-file__title" }, cv = { key: 0 }, dv = { class: "ao-files__input" }, pv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, vv = { class: "ao-button__label" }, fv = { class: "ao-files__dropzone" }, hv = { class: "ao-files__dropzone-label" }, mv = /* @__PURE__ */ K({
7988
7988
  __name: "AoActivityDetailsFiles",
7989
7989
  props: {
7990
7990
  attachments: {},
@@ -8027,7 +8027,7 @@ const ov = ["onDrop", "onDragenter", "onDragover", "onDragleave"], iv = { class:
8027
8027
  u.dataTransfer && e("add", c);
8028
8028
  }
8029
8029
  return (u, c) => (v(), _("div", {
8030
- class: ee([
8030
+ class: J([
8031
8031
  "ao-files__wrapper",
8032
8032
  {
8033
8033
  "ao-files__wrapper--drop-active": o.value
@@ -8038,7 +8038,7 @@ const ov = ["onDrop", "onDragenter", "onDragover", "onDragleave"], iv = { class:
8038
8038
  onDragover: ve(l, ["prevent"]),
8039
8039
  onDragleave: ve(r, ["prevent"])
8040
8040
  }, [
8041
- se(u.$slots, "default", {}, () => [
8041
+ ae(u.$slots, "default", {}, () => [
8042
8042
  f("span", iv, Y(u.$t("activity.attachment.placeholder.resting")), 1)
8043
8043
  ]),
8044
8044
  u.attachments ? (v(), _("ul", lv, [
@@ -8104,7 +8104,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8104
8104
  }, wv = ["rows"], $v = ["onClick"], kv = {
8105
8105
  key: 1,
8106
8106
  class: "ao-comment__footer"
8107
- }, Sv = /* @__PURE__ */ G({
8107
+ }, Sv = /* @__PURE__ */ K({
8108
8108
  __name: "AoComment",
8109
8109
  props: {
8110
8110
  user: {},
@@ -8120,8 +8120,8 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8120
8120
  const I = a.user;
8121
8121
  return I ? `${I == null ? void 0 : I.firstName} ${I == null ? void 0 : I.lastName}` : null;
8122
8122
  }), n = q(null), i = q(a.content), { isEditing: o, toggleIsEditing: l, onUpdate: r, onDiscard: d } = Hn(n), u = M(() => {
8123
- const I = a.editedAt && ca(a.editedAt), T = ca(a.createdAt), V = /* @__PURE__ */ new Date(), R = I ?? T;
8124
- return R && p3(R, V);
8123
+ const I = a.editedAt && ca(a.editedAt), T = ca(a.createdAt), V = /* @__PURE__ */ new Date(), U = I ?? T;
8124
+ return U && p3(U, V);
8125
8125
  });
8126
8126
  M(() => o.value ? "textarea" : "p");
8127
8127
  const c = d(), p = r((I) => {
@@ -8163,21 +8163,21 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8163
8163
  ref_key: "commentContent",
8164
8164
  ref: n,
8165
8165
  class: "ao-comment__content",
8166
- "onUpdate:modelValue": T[0] || (T[0] = (R) => i.value = R),
8166
+ "onUpdate:modelValue": T[0] || (T[0] = (U) => i.value = U),
8167
8167
  rows: g.value,
8168
8168
  onInput: T[1] || (T[1] = //@ts-ignore
8169
- (...R) => F(w) && F(w)(...R)),
8169
+ (...U) => F(w) && F(w)(...U)),
8170
8170
  onKeydown: T[2] || (T[2] = //@ts-ignore
8171
- (...R) => F(b) && F(b)(...R)),
8171
+ (...U) => F(b) && F(b)(...U)),
8172
8172
  onKeyup: [
8173
8173
  T[3] || (T[3] = vt(
8174
8174
  //@ts-ignore
8175
- (...R) => F(c) && F(c)(...R),
8175
+ (...U) => F(c) && F(c)(...U),
8176
8176
  ["esc"]
8177
8177
  )),
8178
8178
  T[4] || (T[4] = vt(ve(
8179
8179
  //@ts-ignore
8180
- (...R) => F(p) && F(p)(...R),
8180
+ (...U) => F(p) && F(p)(...U),
8181
8181
  ["ctrl"]
8182
8182
  ), ["enter"]))
8183
8183
  ]
@@ -8189,10 +8189,10 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8189
8189
  class: "mention-list",
8190
8190
  style: Fe({ top: F(m).top + "px", left: F(m).left + "px" })
8191
8191
  }, [
8192
- (v(!0), _(fe, null, Ce(F(k), (R) => (v(), _("li", {
8193
- key: R.id,
8194
- onClick: (x) => F(y)(R.name)
8195
- }, " @" + Y(R.name), 9, $v))), 128))
8192
+ (v(!0), _(fe, null, Ce(F(k), (U) => (v(), _("li", {
8193
+ key: U.id,
8194
+ onClick: (x) => F(y)(U.name)
8195
+ }, " @" + Y(U.name), 9, $v))), 128))
8196
8196
  ], 4)) : E("", !0)
8197
8197
  ])
8198
8198
  ]),
@@ -8237,7 +8237,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8237
8237
  const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placeholder"], Ov = { class: "ao-comments__form-submit" }, Ev = {
8238
8238
  key: 0,
8239
8239
  class: "ao-comments__list"
8240
- }, Iv = ["onClick"], Lv = /* @__PURE__ */ G({
8240
+ }, Iv = ["onClick"], Lv = /* @__PURE__ */ K({
8241
8241
  __name: "AoActivityDetailsComments",
8242
8242
  props: {
8243
8243
  comments: { default: () => [] },
@@ -8347,7 +8347,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
8347
8347
  };
8348
8348
  }
8349
8349
  });
8350
- const Ss = /* @__PURE__ */ G({
8350
+ const Ss = /* @__PURE__ */ K({
8351
8351
  __name: "AoButtonCheck",
8352
8352
  props: {
8353
8353
  modelValue: { type: Boolean },
@@ -8367,10 +8367,10 @@ const Ss = /* @__PURE__ */ G({
8367
8367
  }), Pv = { class: "ao-activity-details" }, Hv = { class: "ao-activity-details__main" }, Vv = { class: "ao-activity-details__header" }, Dv = {
8368
8368
  key: 1,
8369
8369
  class: "ao-activity__category"
8370
- }, Bv = { class: "ao-feed__activity-details__header" }, Rv = {
8370
+ }, Bv = { class: "ao-feed__activity-details__header" }, jv = {
8371
8371
  key: 0,
8372
8372
  class: "ao-field ao-feed__activity-details__project"
8373
- }, jv = { class: "ao-field__label" }, Nv = {
8373
+ }, Rv = { class: "ao-field__label" }, Nv = {
8374
8374
  key: 1,
8375
8375
  class: "ao-field ao-feed__activity-details__project"
8376
8376
  }, Uv = { class: "ao-field__label" }, Fv = { class: "ao-activity-details__content" }, Zv = { class: "ao-fieldset" }, Wv = { class: "ao-field__row" }, zv = { class: "ao-field ao-field--full" }, qv = { class: "ao-field__label" }, Yv = ["readonly"], xv = { class: "ao-field__row" }, Kv = { class: "ao-field ao-field--inline" }, Gv = { class: "ao-field__label" }, Xv = ["readonly"], Qv = { class: "ao-fieldset" }, Jv = { class: "ao-fieldset__title" }, ef = { class: "ao-fieldset__body" }, tf = {
@@ -8391,7 +8391,7 @@ const Ss = /* @__PURE__ */ G({
8391
8391
  }, $f = { class: "ao-fieldset ao-activity-details__aside-section" }, kf = { class: "ao-fieldset__title" }, Sf = { class: "ao-fieldset__body" }, Mf = { class: "ao-field__row" }, Af = { class: "ao-field ao-field--multiselect" }, Tf = { class: "ao-field__label" }, Of = { class: "ao-field__row" }, Ef = { class: "ao-field ao-field--multiselect" }, If = { class: "ao-field__label" }, Lf = {
8392
8392
  key: 2,
8393
8393
  class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
8394
- }, Pf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ G({
8394
+ }, Pf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ K({
8395
8395
  __name: "AoActivityDetails",
8396
8396
  props: {
8397
8397
  activity: {},
@@ -8486,7 +8486,7 @@ const Ss = /* @__PURE__ */ G({
8486
8486
  var B;
8487
8487
  return {
8488
8488
  ...C,
8489
- disabled: (B = a.activity.blocking) == null ? void 0 : B.some((K) => K.id === C.value)
8489
+ disabled: (B = a.activity.blocking) == null ? void 0 : B.some((G) => G.id === C.value)
8490
8490
  };
8491
8491
  })), $ = M({
8492
8492
  get() {
@@ -8504,7 +8504,7 @@ const Ss = /* @__PURE__ */ G({
8504
8504
  return {
8505
8505
  ...C,
8506
8506
  disabled: (B = a.activity.dependingOn) == null ? void 0 : B.some(
8507
- (K) => K.id === C.value
8507
+ (G) => G.id === C.value
8508
8508
  )
8509
8509
  };
8510
8510
  })), k = (C) => {
@@ -8539,7 +8539,7 @@ const Ss = /* @__PURE__ */ G({
8539
8539
  // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
8540
8540
  });
8541
8541
  }
8542
- }), R = (C) => {
8542
+ }), U = (C) => {
8543
8543
  e("addFiles", {
8544
8544
  activityId: a.activity.id,
8545
8545
  files: C
@@ -8549,12 +8549,12 @@ const Ss = /* @__PURE__ */ G({
8549
8549
  activityId: a.activity.id,
8550
8550
  file: C
8551
8551
  });
8552
- }, J = M(() => a.projects.map((C) => ({
8552
+ }, ee = M(() => a.projects.map((C) => ({
8553
8553
  value: C.id,
8554
8554
  label: C.name
8555
- }))), ne = M(() => {
8556
- var B, K, ae;
8557
- const C = (ae = (K = (B = a.activity) == null ? void 0 : B.project) == null ? void 0 : K.phases) == null ? void 0 : ae.reduce(
8555
+ }))), se = M(() => {
8556
+ var B, G, ne;
8557
+ const C = (ne = (G = (B = a.activity) == null ? void 0 : B.project) == null ? void 0 : G.phases) == null ? void 0 : ne.reduce(
8558
8558
  (z, H) => [...z, ...H.milestones],
8559
8559
  []
8560
8560
  );
@@ -8562,7 +8562,7 @@ const Ss = /* @__PURE__ */ G({
8562
8562
  value: z.id,
8563
8563
  label: z.name
8564
8564
  }));
8565
- }), N = (C) => {
8565
+ }), R = (C) => {
8566
8566
  a.activity && e("update:activity", {
8567
8567
  id: a.activity.id,
8568
8568
  projectId: C
@@ -8592,23 +8592,23 @@ const Ss = /* @__PURE__ */ G({
8592
8592
  e("updateComment", C);
8593
8593
  }, O = (C) => {
8594
8594
  e("removeComment", C);
8595
- }, U = M(() => {
8595
+ }, N = M(() => {
8596
8596
  var C, B;
8597
8597
  return ((C = a.activity.createdBy) == null ? void 0 : C.firstName) && ((B = a.activity.createdBy) == null ? void 0 : B.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8598
8598
  });
8599
8599
  function L() {
8600
- const C = window.location.origin, B = a.activity.slug, K = `${C}/activity-feed/slug/${B}`;
8601
- navigator.clipboard.writeText(K).then(() => {
8602
- console.log(`Link copied to clipboard: ${K}`), e("toast", "clipboard.copy.success", "success");
8600
+ const C = window.location.origin, B = a.activity.slug, G = `${C}/activity-feed/slug/${B}`;
8601
+ navigator.clipboard.writeText(G).then(() => {
8602
+ console.log(`Link copied to clipboard: ${G}`), e("toast", "clipboard.copy.success", "success");
8603
8603
  }).catch(() => {
8604
8604
  console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
8605
8605
  });
8606
8606
  }
8607
8607
  return (C, B) => (v(), D(Qa, {
8608
- onClose: B[10] || (B[10] = (K) => C.$emit("close"))
8608
+ onClose: B[10] || (B[10] = (G) => C.$emit("close"))
8609
8609
  }, {
8610
8610
  default: Z(() => {
8611
- var K, ae, z;
8611
+ var G, ne, z;
8612
8612
  return [
8613
8613
  f("div", Pv, [
8614
8614
  f("div", Hv, [
@@ -8631,22 +8631,22 @@ const Ss = /* @__PURE__ */ G({
8631
8631
  "onUpdate:title": n
8632
8632
  }, null, 8, ["title", "is-editable"]),
8633
8633
  f("div", Bv, [
8634
- J.value ? (v(), _("label", Rv, [
8635
- f("span", jv, Y(C.$t("activity.project.label")), 1),
8634
+ ee.value ? (v(), _("label", jv, [
8635
+ f("span", Rv, Y(C.$t("activity.project.label")), 1),
8636
8636
  A(Me, {
8637
- options: J.value,
8638
- value: (K = C.activity.project) == null ? void 0 : K.id,
8637
+ options: ee.value,
8638
+ value: (G = C.activity.project) == null ? void 0 : G.id,
8639
8639
  searchable: !0,
8640
8640
  disabled: !s.value,
8641
8641
  caret: s.value,
8642
- onChange: N
8642
+ onChange: R
8643
8643
  }, null, 8, ["options", "value", "disabled", "caret"])
8644
8644
  ])) : E("", !0),
8645
- ne.value ? (v(), _("label", Nv, [
8645
+ se.value ? (v(), _("label", Nv, [
8646
8646
  f("span", Uv, Y(C.$t("activity.milestone.label")), 1),
8647
8647
  A(Me, {
8648
- options: ne.value,
8649
- value: (ae = C.activity.milestone) == null ? void 0 : ae.id,
8648
+ options: se.value,
8649
+ value: (ne = C.activity.milestone) == null ? void 0 : ne.id,
8650
8650
  searchable: !0,
8651
8651
  disabled: !s.value,
8652
8652
  caret: s.value,
@@ -8654,7 +8654,7 @@ const Ss = /* @__PURE__ */ G({
8654
8654
  }, null, 8, ["options", "value", "disabled", "caret"])
8655
8655
  ])) : E("", !0)
8656
8656
  ]),
8657
- se(C.$slots, "header")
8657
+ ae(C.$slots, "header")
8658
8658
  ]),
8659
8659
  f("div", Fv, [
8660
8660
  f("fieldset", Zv, [
@@ -8662,7 +8662,7 @@ const Ss = /* @__PURE__ */ G({
8662
8662
  A(mv, {
8663
8663
  attachments: C.activity.attachments,
8664
8664
  "is-editable": C.attachmentEnabled && s.value && C.isTemplate !== !0 && !!C.userId,
8665
- onAdd: R,
8665
+ onAdd: U,
8666
8666
  onRemove: x
8667
8667
  }, {
8668
8668
  default: Z(() => [
@@ -8853,7 +8853,7 @@ const Ss = /* @__PURE__ */ G({
8853
8853
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
8854
8854
  ])
8855
8855
  ])) : E("", !0),
8856
- se(C.$slots, "default", { activity: C.activity })
8856
+ ae(C.$slots, "default", { activity: C.activity })
8857
8857
  ]),
8858
8858
  f("div", bf, [
8859
8859
  A(Ss, {
@@ -8927,13 +8927,13 @@ const Ss = /* @__PURE__ */ G({
8927
8927
  ])
8928
8928
  ])
8929
8929
  ]),
8930
- C.isTemplate !== !0 && U.value ? (v(), _("div", Lf, [
8930
+ C.isTemplate !== !0 && N.value ? (v(), _("div", Lf, [
8931
8931
  f("div", Pf, [
8932
8932
  A(et, {
8933
- "user-name": U.value,
8933
+ "user-name": N.value,
8934
8934
  color: "black"
8935
8935
  }, null, 8, ["user-name"]),
8936
- f("span", null, Y(U.value), 1)
8936
+ f("span", null, Y(N.value), 1)
8937
8937
  ])
8938
8938
  ])) : E("", !0)
8939
8939
  ])
@@ -8944,7 +8944,7 @@ const Ss = /* @__PURE__ */ G({
8944
8944
  }));
8945
8945
  }
8946
8946
  });
8947
- const Hf = /* @__PURE__ */ G({
8947
+ const Hf = /* @__PURE__ */ K({
8948
8948
  __name: "AoRuleLine",
8949
8949
  props: {
8950
8950
  rule: {},
@@ -9068,7 +9068,7 @@ const Hf = /* @__PURE__ */ G({
9068
9068
  }));
9069
9069
  }
9070
9070
  });
9071
- const Vf = { class: "ao-template-rules__body" }, Df = { class: "ao-template-rules__list" }, Bf = /* @__PURE__ */ G({
9071
+ const Vf = { class: "ao-template-rules__body" }, Df = { class: "ao-template-rules__list" }, Bf = /* @__PURE__ */ K({
9072
9072
  __name: "AoTemplateRules",
9073
9073
  props: {
9074
9074
  templateId: {},
@@ -9122,10 +9122,10 @@ function At(t, e, a) {
9122
9122
  rank: i.format()
9123
9123
  };
9124
9124
  }
9125
- const Rf = {
9125
+ const jf = {
9126
9126
  key: 0,
9127
9127
  class: "ao-template-details"
9128
- }, jf = { class: "ao-template-details__body" }, Nf = { class: "ao-template-details__cols" }, Uf = { class: "ao-template-details__col" }, Ff = { class: "ao-list__footer" }, Zf = { class: "ao-template-details__col" }, Wf = { class: "ao-template-details__col" }, zf = /* @__PURE__ */ G({
9128
+ }, Rf = { class: "ao-template-details__body" }, Nf = { class: "ao-template-details__cols" }, Uf = { class: "ao-template-details__col" }, Ff = { class: "ao-list__footer" }, Zf = { class: "ao-template-details__col" }, Wf = { class: "ao-template-details__col" }, zf = /* @__PURE__ */ K({
9129
9129
  __name: "AoTemplateDetails",
9130
9130
  props: {
9131
9131
  templateId: {},
@@ -9158,7 +9158,7 @@ const Rf = {
9158
9158
  );
9159
9159
  const o = M(() => {
9160
9160
  var P, O;
9161
- return (O = (P = n == null ? void 0 : n.value) == null ? void 0 : P.phases) == null ? void 0 : O.find((U) => U.id === a.phaseId);
9161
+ return (O = (P = n == null ? void 0 : n.value) == null ? void 0 : P.phases) == null ? void 0 : O.find((N) => N.id === a.phaseId);
9162
9162
  });
9163
9163
  ce(
9164
9164
  () => {
@@ -9172,7 +9172,7 @@ const Rf = {
9172
9172
  const l = M(() => {
9173
9173
  var P, O;
9174
9174
  return (O = (P = o.value) == null ? void 0 : P.milestones) == null ? void 0 : O.find(
9175
- (U) => U.id === a.milestoneId
9175
+ (N) => N.id === a.milestoneId
9176
9176
  );
9177
9177
  });
9178
9178
  ce(
@@ -9186,23 +9186,23 @@ const Rf = {
9186
9186
  );
9187
9187
  const r = M(() => {
9188
9188
  var P, O;
9189
- return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((U, L) => {
9189
+ return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((N, L) => {
9190
9190
  const C = L.milestones || [];
9191
- return [...U, ...C];
9191
+ return [...N, ...C];
9192
9192
  }, [])) || [];
9193
9193
  }), d = M(() => {
9194
9194
  var P, O;
9195
- return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((U, L) => {
9195
+ return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((N, L) => {
9196
9196
  const B = (L.milestones || []).reduce(
9197
- (K, ae) => ae.activities ? [...K, ...ae.activities] : K,
9197
+ (G, ne) => ne.activities ? [...G, ...ne.activities] : G,
9198
9198
  []
9199
9199
  );
9200
- return [...U, ...B];
9200
+ return [...N, ...B];
9201
9201
  }, [])) || [];
9202
9202
  }), u = M(() => {
9203
9203
  var P, O;
9204
9204
  return (O = (P = l.value) == null ? void 0 : P.activities) == null ? void 0 : O.find(
9205
- (U) => U.id === a.activityId
9205
+ (N) => N.id === a.activityId
9206
9206
  );
9207
9207
  }), c = M(() => {
9208
9208
  var P;
@@ -9250,7 +9250,7 @@ const Rf = {
9250
9250
  }, k = (P) => {
9251
9251
  if (!o.value)
9252
9252
  return;
9253
- const { name: O, rank: U } = At(
9253
+ const { name: O, rank: N } = At(
9254
9254
  o.value.milestones,
9255
9255
  "milestone",
9256
9256
  s
@@ -9261,7 +9261,7 @@ const Rf = {
9261
9261
  phaseId: P.phaseId,
9262
9262
  item: {
9263
9263
  name: O,
9264
- rank: U,
9264
+ rank: N,
9265
9265
  phaseId: P.phaseId
9266
9266
  }
9267
9267
  });
@@ -9275,18 +9275,18 @@ const Rf = {
9275
9275
  }
9276
9276
  });
9277
9277
  }, b = (P) => {
9278
- const { id: O, ...U } = P;
9278
+ const { id: O, ...N } = P;
9279
9279
  e("updateItem", {
9280
9280
  itemType: me.MILESTONES,
9281
9281
  id: O,
9282
9282
  templateId: a.templateId,
9283
- data: U
9283
+ data: N
9284
9284
  });
9285
9285
  }, y = (P) => {
9286
9286
  const { milestoneId: O } = P;
9287
9287
  if (!l.value)
9288
9288
  return;
9289
- const { name: U, rank: L } = At(
9289
+ const { name: N, rank: L } = At(
9290
9290
  l.value.activities,
9291
9291
  "activity",
9292
9292
  s
@@ -9295,47 +9295,47 @@ const Rf = {
9295
9295
  type: me.ACTIVITIES,
9296
9296
  milestoneId: O,
9297
9297
  templateId: a.templateId,
9298
- item: { name: U, rank: L, milestoneId: O }
9298
+ item: { name: N, rank: L, milestoneId: O }
9299
9299
  });
9300
9300
  }, I = (P) => {
9301
- var O, U;
9301
+ var O, N;
9302
9302
  e("removeItem", {
9303
9303
  itemType: me.ACTIVITIES,
9304
9304
  templateId: a.templateId,
9305
9305
  phaseId: (O = o.value) == null ? void 0 : O.id,
9306
- milestoneId: (U = l.value) == null ? void 0 : U.id,
9306
+ milestoneId: (N = l.value) == null ? void 0 : N.id,
9307
9307
  data: {
9308
9308
  id: P.id
9309
9309
  }
9310
9310
  });
9311
9311
  }, T = (P) => {
9312
- const { id: O, ...U } = P;
9312
+ const { id: O, ...N } = P;
9313
9313
  e("updateItem", {
9314
9314
  itemType: me.ACTIVITIES,
9315
9315
  id: O,
9316
9316
  templateId: a.templateId,
9317
- data: U
9317
+ data: N
9318
9318
  });
9319
- }, V = q(!1), R = () => {
9319
+ }, V = q(!1), U = () => {
9320
9320
  V.value = !V.value;
9321
9321
  }, x = () => {
9322
9322
  e("addRule", { templateId: a.templateId });
9323
- }, J = (P) => {
9323
+ }, ee = (P) => {
9324
9324
  e("removeRule", { id: P, templateId: a.templateId });
9325
- }, ne = (P) => {
9325
+ }, se = (P) => {
9326
9326
  var O;
9327
9327
  if (P.moved) {
9328
- const U = ya(P, ((O = n.value) == null ? void 0 : O.phases) ?? []);
9328
+ const N = ya(P, ((O = n.value) == null ? void 0 : O.phases) ?? []);
9329
9329
  e("updateItem", {
9330
9330
  itemType: me.PHASES,
9331
9331
  id: P.moved.element.id,
9332
9332
  templateId: a.templateId,
9333
9333
  data: {
9334
- rank: U
9334
+ rank: N
9335
9335
  }
9336
9336
  });
9337
9337
  }
9338
- }, N = (P) => {
9338
+ }, R = (P) => {
9339
9339
  !o.value || !l.value || !u.value || e("addItem", {
9340
9340
  type: me.TASKS,
9341
9341
  activityId: P.activityId,
@@ -9366,11 +9366,11 @@ const Rf = {
9366
9366
  e("removeFile", P);
9367
9367
  };
9368
9368
  return (P, O) => {
9369
- var U, L, C, B, K, ae;
9370
- return n.value ? (v(), _("div", Rf, [
9369
+ var N, L, C, B, G, ne;
9370
+ return n.value ? (v(), _("div", jf, [
9371
9371
  A(ba, {
9372
9372
  "can-go-back": !0,
9373
- onGoBack: O[1] || (O[1] = (z) => P.$router.push({ name: F(jt).TEMPLATES_LIST }))
9373
+ onGoBack: O[1] || (O[1] = (z) => P.$router.push({ name: F(Rt).TEMPLATES_LIST }))
9374
9374
  }, {
9375
9375
  primary: Z(() => [
9376
9376
  A(be, {
@@ -9384,7 +9384,7 @@ const Rf = {
9384
9384
  ]),
9385
9385
  _: 1
9386
9386
  }),
9387
- f("div", jf, [
9387
+ f("div", Rf, [
9388
9388
  f("ol", Nf, [
9389
9389
  f("li", Uf, [
9390
9390
  A(F(gt), {
@@ -9392,7 +9392,7 @@ const Rf = {
9392
9392
  class: "ao-templates__list",
9393
9393
  "item-key": "id",
9394
9394
  handle: ".ao-card__drag",
9395
- onChange: ne
9395
+ onChange: se
9396
9396
  }, {
9397
9397
  header: Z(() => [
9398
9398
  A(be, {
@@ -9437,7 +9437,7 @@ const Rf = {
9437
9437
  key: 0,
9438
9438
  "template-id": P.templateId,
9439
9439
  phase: o.value,
9440
- "milestone-id": (U = l.value) == null ? void 0 : U.id,
9440
+ "milestone-id": (N = l.value) == null ? void 0 : N.id,
9441
9441
  onAddMilestone: k,
9442
9442
  onUpdateMilestone: b,
9443
9443
  onUpdatePhase: m,
@@ -9463,8 +9463,8 @@ const Rf = {
9463
9463
  key: 0,
9464
9464
  activity: u.value,
9465
9465
  "activity-types": P.activityTypes,
9466
- breadcrumbs: `${n.value.name} / ${(B = o.value) == null ? void 0 : B.name} / ${(K = l.value) == null ? void 0 : K.name}`,
9467
- "milestone-id": (ae = l.value) == null ? void 0 : ae.id,
9466
+ breadcrumbs: `${n.value.name} / ${(B = o.value) == null ? void 0 : B.name} / ${(G = l.value) == null ? void 0 : G.name}`,
9467
+ "milestone-id": (ne = l.value) == null ? void 0 : ne.id,
9468
9468
  "template-activities": d.value,
9469
9469
  "template-milestones": r.value,
9470
9470
  "is-template": !0,
@@ -9475,14 +9475,14 @@ const Rf = {
9475
9475
  }),
9476
9476
  "attachment-enabled": !1,
9477
9477
  onClose: P.$router.back,
9478
- onAddSubtask: N,
9478
+ onAddSubtask: R,
9479
9479
  onUpdateSubtask: X,
9480
9480
  onDeleteSubtask: le,
9481
9481
  onAddFiles: oe,
9482
9482
  onRemoveFile: te
9483
9483
  }, {
9484
9484
  default: Z((z) => [
9485
- se(P.$slots, "activityDetailsBody", ha(ma(z)))
9485
+ ae(P.$slots, "activityDetailsBody", ha(ma(z)))
9486
9486
  ]),
9487
9487
  _: 3
9488
9488
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : E("", !0)
@@ -9495,9 +9495,9 @@ const Rf = {
9495
9495
  "template-phases": n.value.phases,
9496
9496
  "template-milestones": r.value,
9497
9497
  "template-activities": d.value,
9498
- onClose: R,
9498
+ onClose: U,
9499
9499
  onAddRule: x,
9500
- onRemoveRule: J
9500
+ onRemoveRule: ee
9501
9501
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : E("", !0)
9502
9502
  ]))
9503
9503
  ])) : E("", !0);
@@ -9510,7 +9510,7 @@ const qf = { class: "ao-card__content" }, Yf = {
9510
9510
  }, xf = { class: "ao-card__body" }, Kf = {
9511
9511
  key: 1,
9512
9512
  class: "ao-card__footer"
9513
- }, os = /* @__PURE__ */ G({
9513
+ }, os = /* @__PURE__ */ K({
9514
9514
  __name: "AoCard",
9515
9515
  props: {
9516
9516
  isClickable: { type: Boolean },
@@ -9521,7 +9521,7 @@ const qf = { class: "ao-card__content" }, Yf = {
9521
9521
  },
9522
9522
  setup(t) {
9523
9523
  return (e, a) => (v(), D(It(e.tagName), {
9524
- class: ee([
9524
+ class: J([
9525
9525
  "ao-card",
9526
9526
  {
9527
9527
  "ao-card--clickable": e.isClickable
@@ -9537,13 +9537,13 @@ const qf = { class: "ao-card__content" }, Yf = {
9537
9537
  }, null, 4)) : E("", !0),
9538
9538
  f("div", qf, [
9539
9539
  e.$slots.header ? (v(), _("header", Yf, [
9540
- se(e.$slots, "header")
9540
+ ae(e.$slots, "header")
9541
9541
  ])) : E("", !0),
9542
9542
  f("div", xf, [
9543
- se(e.$slots, "default")
9543
+ ae(e.$slots, "default")
9544
9544
  ]),
9545
9545
  e.$slots.footer ? (v(), _("footer", Kf, [
9546
- se(e.$slots, "footer")
9546
+ ae(e.$slots, "footer")
9547
9547
  ])) : E("", !0)
9548
9548
  ])
9549
9549
  ]),
@@ -9551,7 +9551,7 @@ const qf = { class: "ao-card__content" }, Yf = {
9551
9551
  }, 8, ["class", "style"]));
9552
9552
  }
9553
9553
  });
9554
- const is = /* @__PURE__ */ G({
9554
+ const is = /* @__PURE__ */ K({
9555
9555
  __name: "AoProgress",
9556
9556
  props: {
9557
9557
  percentages: {},
@@ -9561,12 +9561,12 @@ const is = /* @__PURE__ */ G({
9561
9561
  setup(t) {
9562
9562
  const e = t, a = M(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
9563
9563
  return (s, n) => (v(), _("div", {
9564
- class: ee(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
9564
+ class: J(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
9565
9565
  role: "meter"
9566
9566
  }, [
9567
9567
  (v(!0), _(fe, null, Ce(a.value, (i) => (v(), _("div", {
9568
9568
  key: i,
9569
- class: ee(["ao-progress__progress"]),
9569
+ class: J(["ao-progress__progress"]),
9570
9570
  style: Fe({
9571
9571
  width: `${i * 100}%`,
9572
9572
  "--ao-progress-color": s.color || "var(--ao-color-primary-base)"
@@ -9623,7 +9623,7 @@ function Qf({ r: t, g: e, b: a }) {
9623
9623
  let l = parseFloat((s === 0 ? 0 : 1 - n / s).toFixed(2)), r = parseFloat(s.toFixed(2));
9624
9624
  return { h: o, s: l, v: r };
9625
9625
  }
9626
- var Ks = G({
9626
+ var Ks = K({
9627
9627
  props: {
9628
9628
  color: {
9629
9629
  type: String,
@@ -9715,7 +9715,7 @@ function eh(t, e, a, s, n, i) {
9715
9715
  }
9716
9716
  Ks.render = eh;
9717
9717
  Ks.__file = "src/color/Saturation.vue";
9718
- var Gs = G({
9718
+ var Gs = K({
9719
9719
  props: {
9720
9720
  hsv: {
9721
9721
  type: Object,
@@ -9801,7 +9801,7 @@ function ah(t, e, a, s, n, i) {
9801
9801
  }
9802
9802
  Gs.render = ah;
9803
9803
  Gs.__file = "src/color/Hue.vue";
9804
- var Xs = G({
9804
+ var Xs = K({
9805
9805
  props: {
9806
9806
  color: {
9807
9807
  type: String,
@@ -9896,7 +9896,7 @@ function nh(t, e, a, s, n, i) {
9896
9896
  }
9897
9897
  Xs.render = nh;
9898
9898
  Xs.__file = "src/color/Alpha.vue";
9899
- var Qs = G({
9899
+ var Qs = K({
9900
9900
  props: {
9901
9901
  color: {
9902
9902
  type: String,
@@ -9936,7 +9936,7 @@ function oh(t, e, a, s, n, i) {
9936
9936
  }
9937
9937
  Qs.render = oh;
9938
9938
  Qs.__file = "src/color/Preview.vue";
9939
- var Js = G({
9939
+ var Js = K({
9940
9940
  props: {
9941
9941
  suckerCanvas: {
9942
9942
  type: Object,
@@ -10065,7 +10065,7 @@ function uh(t, e, a, s, n, i) {
10065
10065
  }
10066
10066
  Js.render = uh;
10067
10067
  Js.__file = "src/color/Sucker.vue";
10068
- var en = G({
10068
+ var en = K({
10069
10069
  props: {
10070
10070
  name: {
10071
10071
  type: String,
@@ -10124,7 +10124,7 @@ function ph(t, e, a, s, n, i) {
10124
10124
  }
10125
10125
  en.render = ph;
10126
10126
  en.__file = "src/color/Box.vue";
10127
- var tn = G({
10127
+ var tn = K({
10128
10128
  name: "ColorPicker",
10129
10129
  props: {
10130
10130
  color: {
@@ -10242,7 +10242,7 @@ function hh(t, e, a, s, n, i) {
10242
10242
  }
10243
10243
  tn.render = hh;
10244
10244
  tn.__file = "src/color/Colors.vue";
10245
- var Ut = G({
10245
+ var Ut = K({
10246
10246
  components: {
10247
10247
  Saturation: Ks,
10248
10248
  Hue: Gs,
@@ -10493,7 +10493,7 @@ function gh(t, e, a, s, n, i) {
10493
10493
  onSelectColor: t.selectColor
10494
10494
  }, null, 8, ["color", "colors-default", "colors-history-key", "onSelectColor"]),
10495
10495
  E(" custom options "),
10496
- se(t.$slots, "default")
10496
+ ae(t.$slots, "default")
10497
10497
  ],
10498
10498
  6
10499
10499
  /* CLASS, STYLE */
@@ -10504,7 +10504,7 @@ Ut.__file = "src/color/ColorPicker.vue";
10504
10504
  Ut.install = (t) => {
10505
10505
  t.component(Ut.name, Ut);
10506
10506
  };
10507
- const Ch = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ G({
10507
+ const Ch = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ K({
10508
10508
  __name: "AoColorPicker",
10509
10509
  props: {
10510
10510
  color: {}
@@ -10536,7 +10536,7 @@ const Ch = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ G({
10536
10536
  c.value = `rgba(${g}, ${$}, ${m}, ${k})`;
10537
10537
  };
10538
10538
  return (h, g) => (v(), _("div", Ch, [
10539
- se(h.$slots, "clickable", {
10539
+ ae(h.$slots, "clickable", {
10540
10540
  openPicker: r,
10541
10541
  bgColor: h.color
10542
10542
  }),
@@ -10566,7 +10566,7 @@ const _h = { class: "ao-card-project-phase__header" }, yh = { class: "ao-card-pr
10566
10566
  }, kh = { class: "ao-card-project-phase__subitem" }, Sh = { class: "ao-card-project-phase__subitem" }, Mh = {
10567
10567
  key: 0,
10568
10568
  class: "ao-card-project-phase__secondary"
10569
- }, Ah = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Th = /* @__PURE__ */ G({
10569
+ }, Ah = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Th = /* @__PURE__ */ K({
10570
10570
  __name: "AoCardProjectItemPhase",
10571
10571
  props: {
10572
10572
  id: {},
@@ -10653,11 +10653,11 @@ const _h = { class: "ao-card-project-phase__header" }, yh = { class: "ao-card-pr
10653
10653
  color: c.color
10654
10654
  }, null, 8, ["percentages", "color"]),
10655
10655
  c.$slots.secondary ? (v(), _("div", Mh, [
10656
- se(c.$slots, "secondary")
10656
+ ae(c.$slots, "secondary")
10657
10657
  ])) : E("", !0)
10658
10658
  ])) : E("", !0),
10659
10659
  f("div", {
10660
- class: ee(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
10660
+ class: J(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
10661
10661
  }, [
10662
10662
  c.isEditable ? Te((v(), _("input", {
10663
10663
  key: 0,
@@ -10706,7 +10706,7 @@ const _h = { class: "ao-card-project-phase__header" }, yh = { class: "ao-card-pr
10706
10706
  }, 8, ["color"]));
10707
10707
  }
10708
10708
  });
10709
- const Oh = /* @__PURE__ */ G({
10709
+ const Oh = /* @__PURE__ */ K({
10710
10710
  __name: "AoBadge",
10711
10711
  props: {
10712
10712
  color: {}
@@ -10724,7 +10724,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10724
10724
  }, Hh = {
10725
10725
  key: 0,
10726
10726
  class: "ao-card-project-milestone__archive"
10727
- }, Vh = { class: "ao-card-project-milestone__activities" }, Dh = { class: "ao-card-project-milestone__activities-row" }, Bh = { class: "ao-card-project-milestone__subitem" }, Rh = { class: "ao-card-project-milestone__subitem" }, jh = {
10727
+ }, Vh = { class: "ao-card-project-milestone__activities" }, Dh = { class: "ao-card-project-milestone__activities-row" }, Bh = { class: "ao-card-project-milestone__subitem" }, jh = { class: "ao-card-project-milestone__subitem" }, Rh = {
10728
10728
  key: 1,
10729
10729
  class: "ao-card-project-milestone__secondary"
10730
10730
  }, Nh = { class: "ao-card-project-milestone__footer" }, Uh = {
@@ -10733,7 +10733,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10733
10733
  }, Fh = { class: "ao-field__label" }, Zh = {
10734
10734
  key: 2,
10735
10735
  class: "ao-card-project-milestone__assignee"
10736
- }, Wh = /* @__PURE__ */ G({
10736
+ }, Wh = /* @__PURE__ */ K({
10737
10737
  __name: "AoCardProjectItemMilestone",
10738
10738
  props: {
10739
10739
  id: {},
@@ -10767,7 +10767,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10767
10767
  e("updateMilestone", { id: a.id, name: r });
10768
10768
  };
10769
10769
  return (r, d) => (v(), D(os, {
10770
- class: ee([
10770
+ class: J([
10771
10771
  "ao-card-project-milestone"
10772
10772
  ]),
10773
10773
  "is-clickable": !r.readonly,
@@ -10817,7 +10817,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10817
10817
  name: "SelectCheckBox",
10818
10818
  size: "sm"
10819
10819
  }),
10820
- f("span", Rh, Y(i.value) + " / " + Y(n.value), 1)
10820
+ f("span", jh, Y(i.value) + " / " + Y(n.value), 1)
10821
10821
  ]),
10822
10822
  A(is, {
10823
10823
  percentages: o.value,
@@ -10825,8 +10825,8 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10825
10825
  class: "ao-card-project-milestone__progress"
10826
10826
  }, null, 8, ["percentages", "color"])
10827
10827
  ], 64)) : E("", !0),
10828
- r.$slots.secondary ? (v(), _("div", jh, [
10829
- se(r.$slots, "secondary")
10828
+ r.$slots.secondary ? (v(), _("div", Rh, [
10829
+ ae(r.$slots, "secondary")
10830
10830
  ])) : E("", !0)
10831
10831
  ])
10832
10832
  ])
@@ -10836,7 +10836,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10836
10836
  r.important ? (v(), D(de, {
10837
10837
  key: 0,
10838
10838
  name: "FlagRounded",
10839
- class: ee(
10839
+ class: J(
10840
10840
  r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
10841
10841
  ),
10842
10842
  size: "sm"
@@ -10867,7 +10867,7 @@ const zh = { class: "ao-mapping-card-project-phase__header" }, qh = { class: "ao
10867
10867
  }, Gh = { class: "ao-mapping-card-project-phase__subitem" }, Xh = { class: "ao-mapping-card-project-phase__subitem" }, Qh = {
10868
10868
  key: 0,
10869
10869
  class: "ao-mapping-card-project-phase__secondary"
10870
- }, Jh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, e9 = /* @__PURE__ */ G({
10870
+ }, Jh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, e9 = /* @__PURE__ */ K({
10871
10871
  __name: "AoCondensedCardProjectItemPhase",
10872
10872
  props: {
10873
10873
  id: {},
@@ -10954,11 +10954,11 @@ const zh = { class: "ao-mapping-card-project-phase__header" }, qh = { class: "ao
10954
10954
  color: d.value
10955
10955
  }, null, 8, ["percentages", "color"]),
10956
10956
  c.$slots.secondary ? (v(), _("div", Qh, [
10957
- se(c.$slots, "secondary")
10957
+ ae(c.$slots, "secondary")
10958
10958
  ])) : E("", !0)
10959
10959
  ])) : E("", !0),
10960
10960
  f("div", {
10961
- class: ee(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
10961
+ class: J(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
10962
10962
  }, [
10963
10963
  c.isEditable ? Te((v(), _("input", {
10964
10964
  key: 0,
@@ -11019,7 +11019,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11019
11019
  }, o9 = {
11020
11020
  key: 0,
11021
11021
  class: "ao-project-phase__col-milestones"
11022
- }, i9 = { class: "ao-project-phase__milestones-list-footer" }, l9 = /* @__PURE__ */ G({
11022
+ }, i9 = { class: "ao-project-phase__milestones-list-footer" }, l9 = /* @__PURE__ */ K({
11023
11023
  __name: "AoProjectPhase",
11024
11024
  props: {
11025
11025
  phase: {},
@@ -11045,7 +11045,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11045
11045
  e("updatePhase", w);
11046
11046
  }, l = M(
11047
11047
  () => a.phase.milestones.map(
11048
- (w) => j3(w, a.closedStatus)
11048
+ (w) => R3(w, a.closedStatus)
11049
11049
  )
11050
11050
  ), r = (w) => {
11051
11051
  const { name: b, rank: y } = At(
@@ -11150,7 +11150,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11150
11150
  assignee: y.assignee,
11151
11151
  important: y.important,
11152
11152
  readonly: w.readonly,
11153
- class: ee(["ao-project-phase__milestone"]),
11153
+ class: J(["ao-project-phase__milestone"]),
11154
11154
  onClick: (T) => !w.readonly && w.$router.push({
11155
11155
  name: F(ye).milestone,
11156
11156
  params: { phaseId: w.phase.id, milestoneId: y.id }
@@ -11180,7 +11180,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11180
11180
  const r9 = { class: "ao-project__phases" }, u9 = {
11181
11181
  key: 0,
11182
11182
  class: "ao-project-phase__phases-list-footer"
11183
- }, c9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), d9 = { class: "ao-project-phase__col-phase" }, p9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), mo = /* @__PURE__ */ G({
11183
+ }, c9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), d9 = { class: "ao-project-phase__col-phase" }, p9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), mo = /* @__PURE__ */ K({
11184
11184
  __name: "AoProjectPhases",
11185
11185
  props: {
11186
11186
  phases: {},
@@ -11261,7 +11261,7 @@ const r9 = { class: "ao-project__phases" }, u9 = {
11261
11261
  ]));
11262
11262
  }
11263
11263
  });
11264
- const v9 = ["onSubmit"], f9 = { class: "ao-add-template-modal__form-body" }, h9 = { class: "field__row" }, m9 = { class: "ao-add-template-modal__form-footer" }, go = /* @__PURE__ */ G({
11264
+ const v9 = ["onSubmit"], f9 = { class: "ao-add-template-modal__form-body" }, h9 = { class: "field__row" }, m9 = { class: "ao-add-template-modal__form-footer" }, go = /* @__PURE__ */ K({
11265
11265
  __name: "AoAddTemplateModal",
11266
11266
  props: {
11267
11267
  projectId: {},
@@ -11315,7 +11315,7 @@ const v9 = ["onSubmit"], f9 = { class: "ao-add-template-modal__form-body" }, h9
11315
11315
  }));
11316
11316
  }
11317
11317
  });
11318
- const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9 = { class: "field__row" }, y9 = { class: "ao-field ao-field--inline" }, b9 = { class: "ao-field__label" }, w9 = { class: "ao-save-template-modal__phases" }, $9 = { class: "ao-field__label" }, k9 = { class: "ao-save-template-modal__phases-list" }, S9 = ["value"], M9 = { class: "ao-save-template-modal__form-footer" }, Co = /* @__PURE__ */ G({
11318
+ const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9 = { class: "field__row" }, y9 = { class: "ao-field ao-field--inline" }, b9 = { class: "ao-field__label" }, w9 = { class: "ao-save-template-modal__phases" }, $9 = { class: "ao-field__label" }, k9 = { class: "ao-save-template-modal__phases-list" }, S9 = ["value"], M9 = { class: "ao-save-template-modal__form-footer" }, Co = /* @__PURE__ */ K({
11319
11319
  __name: "AoSaveTemplateModal",
11320
11320
  props: {
11321
11321
  phases: {}
@@ -11387,7 +11387,7 @@ const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9
11387
11387
  }));
11388
11388
  }
11389
11389
  });
11390
- const A9 = G({
11390
+ const A9 = K({
11391
11391
  props: {
11392
11392
  modelValue: {
11393
11393
  type: [String, Number],
@@ -11410,13 +11410,13 @@ function E9(t, e, a, s, n, i) {
11410
11410
  return v(), _("div", T9, [
11411
11411
  (v(!0), _(fe, null, Ce(t.tabs, (o) => (v(), _("button", {
11412
11412
  key: o.value,
11413
- class: ee(["tab-button", { "tab-button--active": o.value === t.modelValue }]),
11413
+ class: J(["tab-button", { "tab-button--active": o.value === t.modelValue }]),
11414
11414
  type: "button",
11415
11415
  onClick: (l) => t.selectTab(o.value)
11416
11416
  }, Y(o.label), 11, O9))), 128))
11417
11417
  ]);
11418
11418
  }
11419
- const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297"]]), I9 = { class: "ao-project" }, L9 = { class: "ao-project__body" }, P9 = /* @__PURE__ */ G({
11419
+ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297"]]), I9 = { class: "ao-project" }, L9 = { class: "ao-project__body" }, P9 = /* @__PURE__ */ K({
11420
11420
  __name: "AoProjectOverviewProject",
11421
11421
  props: {
11422
11422
  project: {},
@@ -11437,8 +11437,8 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11437
11437
  const a = t, { t: s } = yt(), n = M(
11438
11438
  () => a.phases.flatMap((O) => O.milestones)
11439
11439
  ), i = () => {
11440
- const { name: O, rank: U } = At(a.phases, "phase", s);
11441
- e("addPhase", { name: O, rank: U, projectId: a.project.id });
11440
+ const { name: O, rank: N } = At(a.phases, "phase", s);
11441
+ e("addPhase", { name: O, rank: N, projectId: a.project.id });
11442
11442
  }, o = (O) => {
11443
11443
  e("updatePhase", O);
11444
11444
  }, l = (O) => {
@@ -11475,18 +11475,18 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11475
11475
  e("addFiles", O);
11476
11476
  }, V = (O) => {
11477
11477
  e("removeFile", O);
11478
- }, R = (O) => {
11478
+ }, U = (O) => {
11479
11479
  e("addComment", O);
11480
11480
  }, x = (O) => {
11481
11481
  e("updateComment", O);
11482
- }, J = (O) => {
11482
+ }, ee = (O) => {
11483
11483
  e("removeComment", O);
11484
- }, ne = q(!1), N = q(!1), X = (O, U) => {
11485
- e("applyTemplate", { templateId: O, projectId: U }), ne.value = !1;
11486
- }, le = (O, U) => {
11484
+ }, se = q(!1), R = q(!1), X = (O, N) => {
11485
+ e("applyTemplate", { templateId: O, projectId: N }), se.value = !1;
11486
+ }, le = (O, N) => {
11487
11487
  var B;
11488
11488
  const L = (B = a.templates) == null ? void 0 : B.at(-1), C = L ? we.LexoRank.parse(L.rank).genNext() : we.LexoRank.middle();
11489
- e("saveTemplate", { templateName: O, rank: C.format(), phaseIds: U }), N.value = !1;
11489
+ e("saveTemplate", { templateName: O, rank: C.format(), phaseIds: N }), R.value = !1;
11490
11490
  }, oe = Es(), te = q("overview"), P = [
11491
11491
  { label: "Overview", value: "overview" },
11492
11492
  { label: "Feed", value: "feed" },
@@ -11494,7 +11494,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11494
11494
  ];
11495
11495
  return ce(te, (O) => {
11496
11496
  O === "feed" ? (oe.push({ name: ye.feed }), console.log("Navigating to feed...")) : O === "overview" ? (oe.push({ name: ye.project }), console.log("Navigating to feed...")) : O === "mapping" && (oe.push({ name: ye.mapping }), console.log("Navigating to feed..."));
11497
- }), (O, U) => {
11497
+ }), (O, N) => {
11498
11498
  const L = ut("RouterView");
11499
11499
  return v(), _(fe, null, [
11500
11500
  f("div", Ae({ class: "ao-project-overview" }, O.$attrs), [
@@ -11504,7 +11504,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11504
11504
  A(sn, {
11505
11505
  tabs: P,
11506
11506
  modelValue: te.value,
11507
- "onUpdate:modelValue": U[0] || (U[0] = (C) => te.value = C)
11507
+ "onUpdate:modelValue": N[0] || (N[0] = (C) => te.value = C)
11508
11508
  }, null, 8, ["modelValue"]),
11509
11509
  A(re, {
11510
11510
  class: "ao-feed__show-archived",
@@ -11516,7 +11516,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11516
11516
  label: O.$t("feed.filters.showsArchived.label"),
11517
11517
  role: "checkbox",
11518
11518
  "aria-checked": O.showsArchived,
11519
- onClick: U[1] || (U[1] = (C) => O.$emit("update:showsArchived", !O.showsArchived))
11519
+ onClick: N[1] || (N[1] = (C) => O.$emit("update:showsArchived", !O.showsArchived))
11520
11520
  }, null, 8, ["icon-name", "label", "aria-checked"])
11521
11521
  ]),
11522
11522
  secondary: Z(() => [
@@ -11525,14 +11525,14 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11525
11525
  class: "ao-project-overview__save-as-template",
11526
11526
  color: "primary",
11527
11527
  label: O.$t("project.template.save.label"),
11528
- onClick: U[2] || (U[2] = (C) => N.value = !0)
11528
+ onClick: N[2] || (N[2] = (C) => R.value = !0)
11529
11529
  }, null, 8, ["label"])) : E("", !0),
11530
11530
  O.isEditable === !0 ? (v(), D(re, {
11531
11531
  key: 1,
11532
11532
  class: "ao-project-overview__add-template",
11533
11533
  color: "primary",
11534
11534
  label: O.$t("project.template.apply.label"),
11535
- onClick: U[3] || (U[3] = (C) => ne.value = !0)
11535
+ onClick: N[3] || (N[3] = (C) => se.value = !0)
11536
11536
  }, null, 8, ["label"])) : E("", !0)
11537
11537
  ]),
11538
11538
  _: 1
@@ -11563,7 +11563,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11563
11563
  users: O.users,
11564
11564
  "is-editable": O.isEditable === !0,
11565
11565
  "closed-status": O.closedStatus,
11566
- onClose: U[4] || (U[4] = (C) => O.$router.push({ name: F(ye).project })),
11566
+ onClose: N[4] || (N[4] = (C) => O.$router.push({ name: F(ye).project })),
11567
11567
  onUpdateMilestone: c,
11568
11568
  onAddActivity: g,
11569
11569
  onUpdateActivity: $,
@@ -11589,14 +11589,14 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11589
11589
  onDeleteSubtask: y,
11590
11590
  onAddFiles: T,
11591
11591
  onRemoveFile: V,
11592
- onAddComment: R,
11592
+ onAddComment: U,
11593
11593
  onUpdateComment: x,
11594
- onRemoveComment: J
11594
+ onRemoveComment: ee
11595
11595
  }, {
11596
11596
  default: Z(({ Component: C }) => [
11597
11597
  (v(), D(It(C), null, {
11598
11598
  default: Z((B) => [
11599
- se(O.$slots, "activityDetailsBody", ha(ma(B)))
11599
+ ae(O.$slots, "activityDetailsBody", ha(ma(B)))
11600
11600
  ]),
11601
11601
  _: 2
11602
11602
  }, 1024))
@@ -11606,17 +11606,17 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11606
11606
  ]))
11607
11607
  ], 16),
11608
11608
  (v(), D(Tt, { to: "body" }, [
11609
- N.value ? (v(), D(Co, {
11609
+ R.value ? (v(), D(Co, {
11610
11610
  key: 0,
11611
11611
  phases: O.phases,
11612
- onClose: U[5] || (U[5] = (C) => N.value = !1),
11612
+ onClose: N[5] || (N[5] = (C) => R.value = !1),
11613
11613
  onSave: le
11614
11614
  }, null, 8, ["phases"])) : E("", !0),
11615
- ne.value ? (v(), D(go, {
11615
+ se.value ? (v(), D(go, {
11616
11616
  key: 1,
11617
11617
  "project-id": O.project.id,
11618
11618
  templates: O.templates,
11619
- onClose: U[6] || (U[6] = (C) => ne.value = !1),
11619
+ onClose: N[6] || (N[6] = (C) => se.value = !1),
11620
11620
  onApply: X
11621
11621
  }, null, 8, ["project-id", "templates"])) : E("", !0)
11622
11622
  ]))
@@ -11630,11 +11630,11 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11630
11630
  }, D9 = {
11631
11631
  key: 2,
11632
11632
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
11633
- }, B9 = { class: "ao-card-feed__body" }, R9 = {
11633
+ }, B9 = { class: "ao-card-feed__body" }, j9 = {
11634
11634
  key: 0,
11635
11635
  class: "ao-card-feed__breadcrumbs"
11636
- }, j9 = {
11637
- class: /* @__PURE__ */ ee(["ao-card-feed__title-group"])
11636
+ }, R9 = {
11637
+ class: /* @__PURE__ */ J(["ao-card-feed__title-group"])
11638
11638
  }, N9 = { class: "ao-card-feed__title-line" }, U9 = {
11639
11639
  key: 0,
11640
11640
  class: "ao-card-feed__slug"
@@ -11656,7 +11656,7 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11656
11656
  }, X9 = { class: "ao-card-feed__subitem" }, Q9 = { class: "ao-card-feed__footer-row" }, J9 = {
11657
11657
  key: 0,
11658
11658
  class: "ao-card-feed__progress-wrapper"
11659
- }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__subitem" }, _o = /* @__PURE__ */ G({
11659
+ }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__subitem" }, _o = /* @__PURE__ */ K({
11660
11660
  __name: "AoCardFeed",
11661
11661
  props: {
11662
11662
  id: {},
@@ -11689,7 +11689,13 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11689
11689
  }, o = M(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), l = M(() => a.assignee ? [a.assignee] : []), r = M(() => Xa(a.deadline)), d = (g) => {
11690
11690
  e("removeAssignee", g);
11691
11691
  }, u = () => {
11692
- e("startTimer", a.name, a.projectName, a.projectId, a.slug);
11692
+ e("startTimer", {
11693
+ activityId: a.id,
11694
+ name: a.name,
11695
+ project: a.projectName,
11696
+ projectId: a.projectId,
11697
+ slug: a.slug
11698
+ });
11693
11699
  }, c = M(() => {
11694
11700
  var g;
11695
11701
  return (g = a.tasks) == null ? void 0 : g.length;
@@ -11698,7 +11704,7 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11698
11704
  return (g = a.tasks) == null ? void 0 : g.filter(($) => $.isDone).length;
11699
11705
  }), h = M(() => (p.value || 0) / (c.value || 1));
11700
11706
  return (g, $) => (v(), D(os, {
11701
- class: ee(["ao-card-feed", { "ao-card-feed--closed": g.isClosed }]),
11707
+ class: J(["ao-card-feed", { "ao-card-feed--closed": g.isClosed }]),
11702
11708
  "is-clickable": !0
11703
11709
  }, {
11704
11710
  header: Z(() => [
@@ -11737,14 +11743,14 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11737
11743
  size: "sm",
11738
11744
  onClick: ve(u, ["stop"])
11739
11745
  }, null, 8, ["onClick"]),
11740
- se(g.$slots, "secondary")
11746
+ ae(g.$slots, "secondary")
11741
11747
  ])) : E("", !0)
11742
11748
  ])
11743
11749
  ]),
11744
11750
  default: Z(() => [
11745
11751
  f("div", B9, [
11746
- o.value ? (v(), _("span", R9, Y(o.value), 1)) : E("", !0),
11747
- f("div", j9, [
11752
+ o.value ? (v(), _("span", j9, Y(o.value), 1)) : E("", !0),
11753
+ f("div", R9, [
11748
11754
  f("div", N9, [
11749
11755
  g.slug ? (v(), _("span", U9, Y(g.slug) + ": ", 1)) : E("", !0),
11750
11756
  A(be, {
@@ -11821,7 +11827,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11821
11827
  }, r4 = { class: "ao-field__row ao-milestone__field-row" }, u4 = { class: "ao-field ao-field--inline" }, c4 = { class: "ao-field__row ao-milestone__field-row" }, d4 = { class: "ao-field ao-milestone__field-multiselect" }, p4 = ["onClick"], v4 = { class: "ao-project-milestone__body" }, f4 = {
11822
11828
  key: 0,
11823
11829
  class: "ao-project-milestone__footer"
11824
- }, Ln = /* @__PURE__ */ G({
11830
+ }, Ln = /* @__PURE__ */ K({
11825
11831
  __name: "AoProjectOverviewMilestoneDetails",
11826
11832
  props: {
11827
11833
  milestoneId: {},
@@ -11834,11 +11840,11 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11834
11840
  },
11835
11841
  emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity", "startTimer"],
11836
11842
  setup(t, { emit: e }) {
11837
- const a = t, { t: s } = yt(), n = (y, I, T, V) => {
11838
- var R;
11839
- e("startTimer", y, I, T, V), (R = window.parent) == null || R.postMessage({
11843
+ const a = t, { t: s } = yt(), n = (y) => {
11844
+ var I;
11845
+ e("startTimer", y), (I = window.parent) == null || I.postMessage({
11840
11846
  type: "startTimer",
11841
- data: { name: y, project: I, projectId: T, slug: V }
11847
+ data: y
11842
11848
  }, "*");
11843
11849
  }, i = M(() => {
11844
11850
  var y;
@@ -11999,13 +12005,13 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11999
12005
  }, {
12000
12006
  tag: Z(({
12001
12007
  option: V,
12002
- handleTagRemove: R
12008
+ handleTagRemove: U
12003
12009
  }) => [
12004
12010
  A(et, {
12005
12011
  "user-name": V.label,
12006
12012
  "avatar-url": V.avatar,
12007
12013
  "is-closable": !0,
12008
- onClose: (x) => R(V, x)
12014
+ onClose: (x) => U(V, x)
12009
12015
  }, null, 8, ["user-name", "avatar-url", "onClose"])
12010
12016
  ]),
12011
12017
  _: 1
@@ -12016,9 +12022,9 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12016
12022
  color: h.value,
12017
12023
  "onUpdate:color": I[3] || (I[3] = (V) => h.value = V)
12018
12024
  }, {
12019
- clickable: Z(({ openPicker: V, bgColor: R }) => [
12025
+ clickable: Z(({ openPicker: V, bgColor: U }) => [
12020
12026
  f("button", {
12021
- style: Fe({ background: R }),
12027
+ style: Fe({ background: U }),
12022
12028
  class: "color-button",
12023
12029
  onClick: (x) => b(x, V)
12024
12030
  }, null, 12, p4)
@@ -12036,22 +12042,22 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12036
12042
  group: "kanban"
12037
12043
  }, y.$attrs, { onChange: p }), {
12038
12044
  item: Z(({ element: V }) => {
12039
- var R, x, J, ne, N;
12045
+ var U, x, ee, se, R;
12040
12046
  return [
12041
12047
  A(_o, {
12042
12048
  id: V.id,
12043
12049
  name: V.name || V.id,
12044
12050
  "project-id": y.projectId,
12045
- "phase-name": (R = i.value) == null ? void 0 : R.name,
12051
+ "phase-name": (U = i.value) == null ? void 0 : U.name,
12046
12052
  "milestone-name": (x = l.value) == null ? void 0 : x.name,
12047
- "milestone-color": (J = l.value) == null ? void 0 : J.color,
12053
+ "milestone-color": (ee = l.value) == null ? void 0 : ee.color,
12048
12054
  deadline: V.deadline,
12049
12055
  important: V.important,
12050
12056
  users: y.users,
12051
12057
  assignee: V.assignee,
12052
12058
  slug: V.slug,
12053
- comments: (ne = V.comments) == null ? void 0 : ne.length,
12054
- attachments: (N = V.attachments) == null ? void 0 : N.length,
12059
+ comments: (se = V.comments) == null ? void 0 : se.length,
12060
+ attachments: (R = V.attachments) == null ? void 0 : R.length,
12055
12061
  tasks: V.tasks,
12056
12062
  "is-editable": y.isEditable,
12057
12063
  "is-private": V.private,
@@ -12112,7 +12118,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12112
12118
  };
12113
12119
  }
12114
12120
  });
12115
- const h4 = /* @__PURE__ */ G({
12121
+ const h4 = /* @__PURE__ */ K({
12116
12122
  __name: "AoProjectOverviewActivityDetails",
12117
12123
  props: {
12118
12124
  phaseId: {},
@@ -12193,13 +12199,13 @@ const h4 = /* @__PURE__ */ G({
12193
12199
  onRemoveComment: $
12194
12200
  }, {
12195
12201
  default: Z((y) => [
12196
- se(m.$slots, "default", ha(ma(y)))
12202
+ ae(m.$slots, "default", ha(ma(y)))
12197
12203
  ]),
12198
12204
  _: 3
12199
12205
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : E("", !0);
12200
12206
  };
12201
12207
  }
12202
- }), m4 = { class: "ao-col-header" }, g4 = /* @__PURE__ */ G({
12208
+ }), m4 = { class: "ao-col-header" }, g4 = /* @__PURE__ */ K({
12203
12209
  __name: "AoColHeader",
12204
12210
  props: {
12205
12211
  title: {},
@@ -12324,7 +12330,7 @@ function A4(t, e, a = {}) {
12324
12330
  };
12325
12331
  }
12326
12332
  const T4 = {
12327
- class: /* @__PURE__ */ ee(["ao-list-kanban"])
12333
+ class: /* @__PURE__ */ J(["ao-list-kanban"])
12328
12334
  }, O4 = { class: "ao-list-kanban__header" }, E4 = {
12329
12335
  key: 0,
12330
12336
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
@@ -12340,7 +12346,7 @@ const T4 = {
12340
12346
  }, H4 = {
12341
12347
  key: 1,
12342
12348
  class: "ao-list-kanban__footer"
12343
- }, V4 = /* @__PURE__ */ G({
12349
+ }, V4 = /* @__PURE__ */ K({
12344
12350
  __name: "AoListKanban",
12345
12351
  props: {
12346
12352
  list: {},
@@ -12384,7 +12390,7 @@ const T4 = {
12384
12390
  });
12385
12391
  }, d = q(!1);
12386
12392
  return (u, c) => (v(), _("div", T4, [
12387
- u.title || u.$slots.header ? se(u.$slots, "header", { key: 0 }, () => {
12393
+ u.title || u.$slots.header ? ae(u.$slots, "header", { key: 0 }, () => {
12388
12394
  var p;
12389
12395
  return [
12390
12396
  f("div", O4, [
@@ -12419,7 +12425,7 @@ const T4 = {
12419
12425
  var h, g, $, m, k, w, b, y, I, T;
12420
12426
  return [
12421
12427
  A(_o, {
12422
- class: ee(i(p) ? "ao-list-draggable" : ""),
12428
+ class: J(i(p) ? "ao-list-draggable" : ""),
12423
12429
  id: p.id,
12424
12430
  name: p.name,
12425
12431
  "project-name": (h = p.project) == null ? void 0 : h.name,
@@ -12445,7 +12451,7 @@ const T4 = {
12445
12451
  onUpdateActivity: [(V) => i(p) && l(V), () => i(p) && l],
12446
12452
  onClick: () => o(p.id),
12447
12453
  onRemoveAssignee: () => i(p) && l({ id: p.id, assigneeId: null }),
12448
- onStartTimer: c[0] || (c[0] = (V, R, x, J) => u.$emit("startTimer", V, R, x, J))
12454
+ onStartTimer: c[0] || (c[0] = (V) => u.$emit("startTimer", V))
12449
12455
  }, {
12450
12456
  secondary: Z(() => [
12451
12457
  i(p) && p.active ? (v(), D(re, {
@@ -12490,7 +12496,7 @@ const T4 = {
12490
12496
  _: 1
12491
12497
  }, 16, ["class", "list", "disabled"]),
12492
12498
  u.$slots.footer || u.footerLabel ? (v(), _("div", H4, [
12493
- se(u.$slots, "footer", {}, () => [
12499
+ ae(u.$slots, "footer", {}, () => [
12494
12500
  u.isEditable ? (v(), D(Ct, {
12495
12501
  key: 0,
12496
12502
  "icon-name": "AddBoxOutlineRounded",
@@ -12502,7 +12508,7 @@ const T4 = {
12502
12508
  ]));
12503
12509
  }
12504
12510
  });
12505
- const D4 = { class: "ao-field ao-search-field" }, B4 = ["value", "placeholder", "onKeypress"], R4 = /* @__PURE__ */ G({
12511
+ const D4 = { class: "ao-field ao-search-field" }, B4 = ["value", "placeholder", "onKeypress"], j4 = /* @__PURE__ */ K({
12506
12512
  __name: "AoSearchField",
12507
12513
  props: {
12508
12514
  modelValue: {},
@@ -12529,20 +12535,20 @@ const D4 = { class: "ao-field ao-search-field" }, B4 = ["value", "placeholder",
12529
12535
  }, null, 40, B4),
12530
12536
  A(de, {
12531
12537
  name: "SearchRounded",
12532
- class: ee(`ao-search-field__icon ao-search-field__action ${o.modelValue ? "" : "ao-search-field__action--visible"}`)
12538
+ class: J(`ao-search-field__icon ao-search-field__action ${o.modelValue ? "" : "ao-search-field__action--visible"}`)
12533
12539
  }, null, 8, ["class"]),
12534
12540
  A(re, {
12535
12541
  "icon-name": "CloseRounded",
12536
12542
  size: "sm",
12537
12543
  color: "primary",
12538
12544
  corners: "round",
12539
- class: ee(`ao-search-field__button ao-search-field__action ${o.modelValue ? "ao-search-field__action--visible" : ""}`),
12545
+ class: J(`ao-search-field__button ao-search-field__action ${o.modelValue ? "ao-search-field__action--visible" : ""}`),
12540
12546
  onClick: i
12541
12547
  }, null, 8, ["class"])
12542
12548
  ]));
12543
12549
  }
12544
12550
  });
12545
- const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { class: "ao-feed__body" }, F4 = /* @__PURE__ */ G({
12551
+ const R4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { class: "ao-feed__body" }, F4 = /* @__PURE__ */ K({
12546
12552
  __name: "AoFeed",
12547
12553
  props: {
12548
12554
  activities: {},
@@ -12576,7 +12582,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12576
12582
  ce(
12577
12583
  [() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
12578
12584
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
12579
- async ([L, C, B, K], [ae, z]) => {
12585
+ async ([L, C, B, G], [ne, z]) => {
12580
12586
  l.value = Object.fromEntries(
12581
12587
  L.map((H) => [
12582
12588
  H.id,
@@ -12585,7 +12591,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12585
12591
  return ((he = Q.status) == null ? void 0 : he.id) === H.id;
12586
12592
  })
12587
12593
  ])
12588
- ), B && !r.value ? (o(B, null), r.value = !0) : K && !r.value && (o(null, K), r.value = !0), d.value && Qe(C, z);
12594
+ ), B && !r.value ? (o(B, null), r.value = !0) : G && !r.value && (o(null, G), r.value = !0), d.value && Qe(C, z);
12589
12595
  },
12590
12596
  { immediate: !0 }
12591
12597
  );
@@ -12594,12 +12600,12 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12594
12600
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((L = a.selectedActivity.milestone.phase) == null ? void 0 : L.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
12595
12601
  }), p = (L) => {
12596
12602
  var z, H;
12597
- const C = (z = a.activities) == null ? void 0 : z.at(-1), B = C ? we.LexoRank.parse(C.rank).genNext() : we.LexoRank.middle(), K = ((H = a.activities) == null ? void 0 : H.length) ?? 0, ae = {
12598
- name: s("activity.defaultName", { idx: K + 1 }),
12603
+ const C = (z = a.activities) == null ? void 0 : z.at(-1), B = C ? we.LexoRank.parse(C.rank).genNext() : we.LexoRank.middle(), G = ((H = a.activities) == null ? void 0 : H.length) ?? 0, ne = {
12604
+ name: s("activity.defaultName", { idx: G + 1 }),
12599
12605
  rank: B.format(),
12600
12606
  statusId: L.id
12601
12607
  };
12602
- a.filters.assigneeId.length > 0 && (ae.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (ae.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (ae.typeId = a.filters.typeId[0]), d.value = !0, e("addActivity", ae);
12608
+ a.filters.assigneeId.length > 0 && (ne.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (ne.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (ne.typeId = a.filters.typeId[0]), d.value = !0, e("addActivity", ne);
12603
12609
  }, h = (L, C) => {
12604
12610
  d.value = !1, e("update:filters", { ...a.filters, [L]: C });
12605
12611
  }, g = M(
@@ -12625,23 +12631,23 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12625
12631
  e("archiveActivity", L);
12626
12632
  }, I = (L) => {
12627
12633
  e("unarchiveActivity", L);
12628
- }, T = (L, C, B, K) => {
12629
- var ae;
12630
- e("startTimer", L, C, B, K), (ae = window.parent) == null || ae.postMessage({
12634
+ }, T = (L) => {
12635
+ var C;
12636
+ e("startTimer", L), (C = window.parent) == null || C.postMessage({
12631
12637
  type: "startTimer",
12632
- data: { name: L, project: C, projectId: B, slug: K }
12638
+ data: L
12633
12639
  }, "*");
12634
12640
  }, V = (L) => {
12635
12641
  d.value = !1, e("update:searchText", L);
12636
- }, R = (L) => {
12642
+ }, U = (L) => {
12637
12643
  d.value = !1, e("clear:searchText", L);
12638
12644
  }, x = (L) => {
12639
12645
  a.selectedActivity && e("addSubtask", L);
12640
- }, J = (L) => {
12646
+ }, ee = (L) => {
12641
12647
  a.selectedActivity && e("updateSubtask", L);
12642
- }, ne = (L) => {
12648
+ }, se = (L) => {
12643
12649
  a.selectedActivity && e("deleteSubtask", L);
12644
- }, N = (L) => {
12650
+ }, R = (L) => {
12645
12651
  e("addFiles", L);
12646
12652
  }, X = (L) => {
12647
12653
  e("removeFile", L);
@@ -12656,7 +12662,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12656
12662
  }, te = (L) => {
12657
12663
  const { id: C } = a.selectedActivity || {};
12658
12664
  C && e("removeComment", L);
12659
- }, P = Es(), O = q("feed"), U = [
12665
+ }, P = Es(), O = q("feed"), N = [
12660
12666
  { label: "Overview", value: "overview" },
12661
12667
  { label: "Feed", value: "feed" },
12662
12668
  { label: "Mapping", value: "mapping" }
@@ -12665,21 +12671,21 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12665
12671
  L === "feed" ? (P.push({ name: ye.feed }), console.log("Navigating to feed...")) : L === "overview" ? (P.push({ name: ye.project }), console.log("Navigating to feed...")) : L === "mapping" && (P.push({ name: ye.mapping }), console.log("Navigating to feed..."));
12666
12672
  }), (L, C) => {
12667
12673
  var B;
12668
- return v(), _("div", j4, [
12674
+ return v(), _("div", R4, [
12669
12675
  A(ba, null, {
12670
12676
  primary: Z(() => [
12671
12677
  f("div", N4, [
12672
12678
  A(sn, {
12673
- tabs: U,
12679
+ tabs: N,
12674
12680
  modelValue: O.value,
12675
- "onUpdate:modelValue": C[0] || (C[0] = (K) => O.value = K)
12681
+ "onUpdate:modelValue": C[0] || (C[0] = (G) => O.value = G)
12676
12682
  }, null, 8, ["modelValue"]),
12677
- A(R4, {
12683
+ A(j4, {
12678
12684
  "model-value": L.searchText,
12679
12685
  placeholder: L.$t("feed.search.placeholder"),
12680
12686
  class: "ao-feed__search",
12681
12687
  "onUpdate:modelValue": V,
12682
- onClear: R
12688
+ onClear: U
12683
12689
  }, null, 8, ["model-value", "placeholder"]),
12684
12690
  a.project ? E("", !0) : (v(), D(Me, {
12685
12691
  key: 0,
@@ -12690,7 +12696,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12690
12696
  searchable: !0,
12691
12697
  class: "ao-feed__filter ao-feed__filter__projects",
12692
12698
  placeholder: L.$t("feed.filters.project.placeholder"),
12693
- "onUpdate:modelValue": C[1] || (C[1] = (K) => h(F(Bt).project, K))
12699
+ "onUpdate:modelValue": C[1] || (C[1] = (G) => h(F(Bt).project, G))
12694
12700
  }, null, 8, ["model-value", "options", "placeholder"])),
12695
12701
  m.value ? (v(), D(Me, {
12696
12702
  key: 1,
@@ -12701,7 +12707,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12701
12707
  searchable: !0,
12702
12708
  class: "ao-feed__filter ao-feed__filter__types",
12703
12709
  placeholder: L.$t("feed.filters.activityType.placeholder"),
12704
- "onUpdate:modelValue": C[2] || (C[2] = (K) => h(F(Bt).type, K))
12710
+ "onUpdate:modelValue": C[2] || (C[2] = (G) => h(F(Bt).type, G))
12705
12711
  }, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
12706
12712
  k.value.length ? (v(), D(Me, {
12707
12713
  key: 2,
@@ -12712,17 +12718,17 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12712
12718
  searchable: !0,
12713
12719
  class: "ao-feed__filter ao-feed__filter__assignees",
12714
12720
  placeholder: L.$t("feed.filters.assignee.placeholder"),
12715
- "onUpdate:modelValue": C[3] || (C[3] = (K) => h(F(Bt).assignee, K))
12721
+ "onUpdate:modelValue": C[3] || (C[3] = (G) => h(F(Bt).assignee, G))
12716
12722
  }, {
12717
12723
  tag: Z(({
12718
- option: K,
12719
- handleTagRemove: ae
12724
+ option: G,
12725
+ handleTagRemove: ne
12720
12726
  }) => [
12721
12727
  A(et, {
12722
- "user-name": K.label,
12723
- "avatar-url": K.avatar,
12728
+ "user-name": G.label,
12729
+ "avatar-url": G.avatar,
12724
12730
  "is-closable": !0,
12725
- onClose: (z) => ae(K, z)
12731
+ onClose: (z) => ne(G, z)
12726
12732
  }, null, 8, ["user-name", "avatar-url", "onClose"])
12727
12733
  ]),
12728
12734
  _: 1
@@ -12738,7 +12744,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12738
12744
  label: L.$t("feed.filters.showsOnlyNonAssigned.label"),
12739
12745
  role: "checkbox",
12740
12746
  "aria-checked": L.showsOnlyNonAssigned,
12741
- onClick: C[4] || (C[4] = (K) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
12747
+ onClick: C[4] || (C[4] = (G) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
12742
12748
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12743
12749
  A(re, {
12744
12750
  class: "ao-feed__only-important",
@@ -12750,7 +12756,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12750
12756
  label: L.$t("feed.filters.showsOnlyImportant.label"),
12751
12757
  role: "checkbox",
12752
12758
  "aria-checked": L.showsOnlyImportant,
12753
- onClick: C[5] || (C[5] = (K) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
12759
+ onClick: C[5] || (C[5] = (G) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
12754
12760
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12755
12761
  A(re, {
12756
12762
  class: "ao-feed__show-archived",
@@ -12762,23 +12768,23 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12762
12768
  label: L.$t("feed.filters.showsArchivedActivities.label"),
12763
12769
  role: "checkbox",
12764
12770
  "aria-checked": L.showsArchivedActivities,
12765
- onClick: C[6] || (C[6] = (K) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
12771
+ onClick: C[6] || (C[6] = (G) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
12766
12772
  }, null, 8, ["icon-name", "label", "aria-checked"])
12767
12773
  ]),
12768
12774
  _: 1
12769
12775
  }),
12770
12776
  f("div", U4, [
12771
- (v(!0), _(fe, null, Ce(L.statuses, (K) => (v(), D(V4, {
12772
- key: K.id,
12773
- status: K,
12774
- list: l.value[K.id],
12775
- title: K.name,
12777
+ (v(!0), _(fe, null, Ce(L.statuses, (G) => (v(), D(V4, {
12778
+ key: G.id,
12779
+ status: G,
12780
+ list: l.value[G.id],
12781
+ title: G.name,
12776
12782
  "footer-label": L.$t("feed.activity.add"),
12777
12783
  users: L.users,
12778
12784
  "user-id": L.userId,
12779
12785
  "is-editable": L.isEditable,
12780
12786
  tagType: u.value,
12781
- onAdd: () => p(K),
12787
+ onAdd: () => p(G),
12782
12788
  onSelectActivity: o,
12783
12789
  onArchiveActivity: y,
12784
12790
  onUnarchiveActivity: I,
@@ -12804,17 +12810,17 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12804
12810
  onClose: C[7] || (C[7] = () => o(null, null)),
12805
12811
  "onUpdate:activity": w,
12806
12812
  onAddSubtask: x,
12807
- onUpdateSubtask: J,
12808
- onDeleteSubtask: ne,
12809
- onAddFiles: N,
12813
+ onUpdateSubtask: ee,
12814
+ onDeleteSubtask: se,
12815
+ onAddFiles: R,
12810
12816
  onRemoveFile: X,
12811
12817
  onAddComment: le,
12812
12818
  onUpdateComment: oe,
12813
12819
  onRemoveComment: te,
12814
12820
  onToast: n
12815
12821
  }, {
12816
- default: Z((K) => [
12817
- se(L.$slots, "activityDetailsBody", ha(ma(K)))
12822
+ default: Z((G) => [
12823
+ ae(L.$slots, "activityDetailsBody", ha(ma(G)))
12818
12824
  ]),
12819
12825
  _: 3
12820
12826
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : E("", !0)
@@ -12826,7 +12832,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12826
12832
  const Z4 = { class: "ao-project-mapping" }, W4 = { class: "ao-project-mapping-mapping__body" }, z4 = { class: "ao-project-mapping-mapping__phases" }, q4 = {
12827
12833
  key: 0,
12828
12834
  class: "ao-project-mapping-mapping__image-wrapper"
12829
- }, Y4 = ["src", "alt"], x4 = /* @__PURE__ */ G({
12835
+ }, Y4 = ["src", "alt"], x4 = /* @__PURE__ */ K({
12830
12836
  __name: "AoMapping",
12831
12837
  props: {
12832
12838
  project: {},
@@ -12951,25 +12957,25 @@ const Z4 = { class: "ao-project-mapping" }, W4 = { class: "ao-project-mapping-ma
12951
12957
  ], 64));
12952
12958
  }
12953
12959
  });
12954
- const jt = {
12960
+ const Rt = {
12955
12961
  TEMPLATES: "templates",
12956
12962
  TEMPLATE_DETAILS: "template_details",
12957
12963
  TEMPLATES_LIST: "templates_list"
12958
12964
  }, d8 = (t, e = {}) => [
12959
12965
  {
12960
12966
  path: t,
12961
- name: jt.TEMPLATES,
12962
- redirect: { name: jt.TEMPLATES_LIST },
12967
+ name: Rt.TEMPLATES,
12968
+ redirect: { name: Rt.TEMPLATES_LIST },
12963
12969
  ...e,
12964
12970
  children: [
12965
12971
  {
12966
12972
  path: "",
12967
- name: jt.TEMPLATES_LIST,
12973
+ name: Rt.TEMPLATES_LIST,
12968
12974
  component: G4
12969
12975
  },
12970
12976
  {
12971
12977
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
12972
- name: jt.TEMPLATE_DETAILS,
12978
+ name: Rt.TEMPLATE_DETAILS,
12973
12979
  component: zf,
12974
12980
  props: !0
12975
12981
  }
@@ -13024,7 +13030,7 @@ const jt = {
13024
13030
  }
13025
13031
  ]
13026
13032
  }
13027
- ], K4 = { class: "ao-templates" }, G4 = /* @__PURE__ */ G({
13033
+ ], K4 = { class: "ao-templates" }, G4 = /* @__PURE__ */ K({
13028
13034
  __name: "AoTemplatesList",
13029
13035
  props: {
13030
13036
  templates: {}
@@ -13106,7 +13112,7 @@ const jt = {
13106
13112
  "updated-by": u.updatedBy,
13107
13113
  onUpdateTitle: (p) => i(u.id, p),
13108
13114
  onClick: (p) => r.$router.push({
13109
- name: F(jt).TEMPLATE_DETAILS,
13115
+ name: F(Rt).TEMPLATE_DETAILS,
13110
13116
  params: { templateId: u.id }
13111
13117
  }),
13112
13118
  onDeleteItem: d[0] || (d[0] = (p, h) => o(p, h))
@@ -13118,7 +13124,7 @@ const jt = {
13118
13124
  ]));
13119
13125
  }
13120
13126
  });
13121
- const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ G({
13127
+ const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
13122
13128
  __name: "AoField",
13123
13129
  props: {
13124
13130
  label: {},
@@ -13126,13 +13132,13 @@ const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ G({
13126
13132
  },
13127
13133
  setup(t) {
13128
13134
  return (e, a) => (v(), _("label", {
13129
- class: ee(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
13135
+ class: J(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
13130
13136
  }, [
13131
13137
  f("span", X4, Y(e.label), 1),
13132
- se(e.$slots, "default")
13138
+ ae(e.$slots, "default")
13133
13139
  ], 2));
13134
13140
  }
13135
- }), J4 = ["type", "value", "disabled", "readonly"], v8 = /* @__PURE__ */ G({
13141
+ }), J4 = ["type", "value", "disabled", "readonly"], v8 = /* @__PURE__ */ K({
13136
13142
  __name: "AoInputField",
13137
13143
  props: {
13138
13144
  label: { default: "" },
@@ -13164,7 +13170,7 @@ const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ G({
13164
13170
  _: 1
13165
13171
  }, 8, ["label"]));
13166
13172
  }
13167
- }), e8 = { class: "ao-field" }, t8 = { class: "ao-field__label" }, a8 = ["checked", "disabled"], f8 = /* @__PURE__ */ G({
13173
+ }), e8 = { class: "ao-field" }, t8 = { class: "ao-field__label" }, a8 = ["checked", "disabled"], f8 = /* @__PURE__ */ K({
13168
13174
  __name: "AoCheckboxField",
13169
13175
  props: {
13170
13176
  label: { default: "" },
@@ -13218,5 +13224,5 @@ export {
13218
13224
  G2 as ruleDurationUnits,
13219
13225
  K2 as ruleTriggerTypes,
13220
13226
  me as templateItemType,
13221
- jt as templateRouteNames
13227
+ Rt as templateRouteNames
13222
13228
  };