@26lights/orcha 0.42.276 → 0.42.278

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var uv = Object.defineProperty;
2
2
  var dv = (t, e, n) => e in t ? uv(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var te = (t, e, n) => (dv(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import { defineComponent as ce, openBlock as k, createBlock as X, unref as oe, mergeProps as Kt, createElementBlock as A, createElementVNode as b, createStaticVNode as _h, computed as O, resolveDynamicComponent as Hi, normalizeClass as ye, renderSlot as we, toDisplayString as U, createCommentVNode as R, ref as ne, watch as Oe, nextTick as Ut, withKeys as ro, toHandlers as fv, withCtx as le, createTextVNode as fn, createVNode as P, normalizeStyle as Nt, withModifiers as ke, createSlots as Rs, Fragment as $e, renderList as Je, onMounted as gt, onBeforeUnmount as Bs, onUnmounted as sn, Teleport as An, toRefs as _n, getCurrentInstance as ii, toRef as lr, normalizeProps as Us, guardReactiveProps as Hs, withDirectives as ot, vShow as Zo, provide as pv, inject as hv, useTemplateRef as mv, readonly as bh, toValue as hc, watchEffect as Ch, shallowRef as Cs, h as gv, vModelText as Lt, resolveComponent as zo, vModelCheckbox as kh, getCurrentScope as vv, onScopeDispose as yv, toHandlerKey as _v } from "vue";
4
+ import { defineComponent as ce, openBlock as k, createBlock as Q, unref as oe, mergeProps as Kt, createElementBlock as A, createElementVNode as b, createStaticVNode as _h, computed as O, resolveDynamicComponent as Hi, normalizeClass as ye, renderSlot as we, toDisplayString as U, createCommentVNode as R, ref as ne, watch as Oe, nextTick as Ut, withKeys as ro, toHandlers as fv, withCtx as le, createTextVNode as fn, createVNode as P, normalizeStyle as Nt, withModifiers as ke, createSlots as Rs, Fragment as $e, renderList as Je, onMounted as gt, onBeforeUnmount as Bs, onUnmounted as sn, Teleport as An, toRefs as _n, getCurrentInstance as ii, toRef as lr, normalizeProps as Us, guardReactiveProps as Hs, withDirectives as ot, vShow as Zo, provide as pv, inject as hv, useTemplateRef as mv, readonly as bh, toValue as hc, watchEffect as Ch, shallowRef as Cs, h as gv, vModelText as Lt, resolveComponent as zo, vModelCheckbox as kh, getCurrentScope as vv, onScopeDispose as yv, toHandlerKey as _v } from "vue";
5
5
  import { RouterView as bv, useRoute as wh, useRouter as Zu, RouterLink as Cv } from "vue-router";
6
6
  import uo from "vuedraggable";
7
7
  const g_e = /* @__PURE__ */ ce({
@@ -10,9 +10,9 @@ const g_e = /* @__PURE__ */ ce({
10
10
  templates: {}
11
11
  },
12
12
  setup(t) {
13
- return (e, n) => (k(), X(oe(bv), Kt({ templates: t.templates }, e.$attrs), null, 16, ["templates"]));
13
+ return (e, n) => (k(), Q(oe(bv), Kt({ templates: t.templates }, e.$attrs), null, 16, ["templates"]));
14
14
  }
15
- }), me = (t, e) => {
15
+ }), ge = (t, e) => {
16
16
  const n = t.__vccOpts || t;
17
17
  for (const [o, i] of e)
18
18
  n[o] = i;
@@ -32,7 +32,7 @@ function Sv(t, e) {
32
32
  }, null, -1)
33
33
  ])]);
34
34
  }
35
- const xv = /* @__PURE__ */ me(kv, [["render", Sv]]), Av = {}, Ev = {
35
+ const xv = /* @__PURE__ */ ge(kv, [["render", Sv]]), Av = {}, Ev = {
36
36
  width: "24",
37
37
  height: "24",
38
38
  viewBox: "0 0 24 24",
@@ -47,7 +47,7 @@ function Tv(t, e) {
47
47
  }, null, -1)
48
48
  ])]);
49
49
  }
50
- const $v = /* @__PURE__ */ me(Av, [["render", Tv]]), Dv = {}, Mv = {
50
+ const $v = /* @__PURE__ */ ge(Av, [["render", Tv]]), Dv = {}, Mv = {
51
51
  width: "24",
52
52
  height: "24",
53
53
  viewBox: "0 0 24 24",
@@ -62,7 +62,7 @@ function Lv(t, e) {
62
62
  }, null, -1)
63
63
  ])]);
64
64
  }
65
- const Ov = /* @__PURE__ */ me(Dv, [["render", Lv]]), Iv = {}, Nv = {
65
+ const Ov = /* @__PURE__ */ ge(Dv, [["render", Lv]]), Iv = {}, Nv = {
66
66
  width: "24",
67
67
  height: "24",
68
68
  viewBox: "0 0 24 24",
@@ -77,7 +77,7 @@ function Pv(t, e) {
77
77
  }, null, -1)
78
78
  ])]);
79
79
  }
80
- const Fv = /* @__PURE__ */ me(Iv, [["render", Pv]]), Rv = {}, Bv = {
80
+ const Fv = /* @__PURE__ */ ge(Iv, [["render", Pv]]), Rv = {}, Bv = {
81
81
  width: "24",
82
82
  height: "24",
83
83
  viewBox: "0 0 24 24",
@@ -92,7 +92,7 @@ function Uv(t, e) {
92
92
  }, null, -1)
93
93
  ])]);
94
94
  }
95
- const Hv = /* @__PURE__ */ me(Rv, [["render", Uv]]), jv = {}, zv = {
95
+ const Hv = /* @__PURE__ */ ge(Rv, [["render", Uv]]), jv = {}, zv = {
96
96
  width: "24",
97
97
  height: "24",
98
98
  viewBox: "0 0 24 24",
@@ -107,7 +107,7 @@ function qv(t, e) {
107
107
  }, null, -1)
108
108
  ])]);
109
109
  }
110
- const Vv = /* @__PURE__ */ me(jv, [["render", qv]]), Wv = {}, Zv = {
110
+ const Vv = /* @__PURE__ */ ge(jv, [["render", qv]]), Wv = {}, Zv = {
111
111
  width: "24",
112
112
  height: "24",
113
113
  viewBox: "0 0 24 24",
@@ -122,7 +122,7 @@ function Kv(t, e) {
122
122
  }, null, -1)
123
123
  ])]);
124
124
  }
125
- const Gv = /* @__PURE__ */ me(Wv, [["render", Kv]]), Yv = {}, Jv = {
125
+ const Gv = /* @__PURE__ */ ge(Wv, [["render", Kv]]), Yv = {}, Jv = {
126
126
  width: "24",
127
127
  height: "24",
128
128
  viewBox: "0 0 24 24",
@@ -137,7 +137,7 @@ function Xv(t, e) {
137
137
  }, null, -1)
138
138
  ])]);
139
139
  }
140
- const Qv = /* @__PURE__ */ me(Yv, [["render", Xv]]), e2 = {}, t2 = {
140
+ const Qv = /* @__PURE__ */ ge(Yv, [["render", Xv]]), e2 = {}, t2 = {
141
141
  width: "24",
142
142
  height: "24",
143
143
  viewBox: "0 0 24 24",
@@ -152,7 +152,7 @@ function n2(t, e) {
152
152
  }, null, -1)
153
153
  ])]);
154
154
  }
155
- const o2 = /* @__PURE__ */ me(e2, [["render", n2]]), i2 = {}, r2 = {
155
+ const o2 = /* @__PURE__ */ ge(e2, [["render", n2]]), i2 = {}, r2 = {
156
156
  width: "24",
157
157
  height: "24",
158
158
  viewBox: "0 0 24 24",
@@ -167,7 +167,7 @@ function s2(t, e) {
167
167
  }, null, -1)
168
168
  ])]);
169
169
  }
170
- const a2 = /* @__PURE__ */ me(i2, [["render", s2]]), l2 = {}, c2 = {
170
+ const a2 = /* @__PURE__ */ ge(i2, [["render", s2]]), l2 = {}, c2 = {
171
171
  width: "24",
172
172
  height: "24",
173
173
  viewBox: "0 0 24 24",
@@ -182,7 +182,7 @@ function u2(t, e) {
182
182
  }, null, -1)
183
183
  ])]);
184
184
  }
185
- const d2 = /* @__PURE__ */ me(l2, [["render", u2]]), f2 = {}, p2 = {
185
+ const d2 = /* @__PURE__ */ ge(l2, [["render", u2]]), f2 = {}, p2 = {
186
186
  width: "24",
187
187
  height: "24",
188
188
  viewBox: "0 0 24 24",
@@ -197,7 +197,7 @@ function h2(t, e) {
197
197
  }, null, -1)
198
198
  ])]);
199
199
  }
200
- const m2 = /* @__PURE__ */ me(f2, [["render", h2]]), g2 = {}, v2 = {
200
+ const m2 = /* @__PURE__ */ ge(f2, [["render", h2]]), g2 = {}, v2 = {
201
201
  width: "24",
202
202
  height: "24",
203
203
  viewBox: "0 0 24 24",
@@ -212,7 +212,7 @@ function y2(t, e) {
212
212
  }, null, -1)
213
213
  ])]);
214
214
  }
215
- const _2 = /* @__PURE__ */ me(g2, [["render", y2]]), b2 = {}, C2 = {
215
+ const _2 = /* @__PURE__ */ ge(g2, [["render", y2]]), b2 = {}, C2 = {
216
216
  width: "24",
217
217
  height: "24",
218
218
  viewBox: "0 0 24 24",
@@ -227,7 +227,7 @@ function k2(t, e) {
227
227
  }, null, -1)
228
228
  ])]);
229
229
  }
230
- const w2 = /* @__PURE__ */ me(b2, [["render", k2]]), S2 = {}, x2 = {
230
+ const w2 = /* @__PURE__ */ ge(b2, [["render", k2]]), S2 = {}, x2 = {
231
231
  width: "24",
232
232
  height: "24",
233
233
  viewBox: "0 0 24 24",
@@ -242,7 +242,7 @@ function A2(t, e) {
242
242
  }, null, -1)
243
243
  ])]);
244
244
  }
245
- const E2 = /* @__PURE__ */ me(S2, [["render", A2]]), T2 = {}, $2 = {
245
+ const E2 = /* @__PURE__ */ ge(S2, [["render", A2]]), T2 = {}, $2 = {
246
246
  width: "24",
247
247
  height: "24",
248
248
  viewBox: "0 0 24 24",
@@ -257,7 +257,7 @@ function D2(t, e) {
257
257
  }, null, -1)
258
258
  ])]);
259
259
  }
260
- const M2 = /* @__PURE__ */ me(T2, [["render", D2]]), L2 = {}, O2 = {
260
+ const M2 = /* @__PURE__ */ ge(T2, [["render", D2]]), L2 = {}, O2 = {
261
261
  width: "24",
262
262
  height: "24",
263
263
  viewBox: "0 0 24 24",
@@ -272,7 +272,7 @@ function I2(t, e) {
272
272
  }, null, -1)
273
273
  ])]);
274
274
  }
275
- const N2 = /* @__PURE__ */ me(L2, [["render", I2]]), P2 = {}, F2 = {
275
+ const N2 = /* @__PURE__ */ ge(L2, [["render", I2]]), P2 = {}, F2 = {
276
276
  width: "24",
277
277
  height: "24",
278
278
  viewBox: "0 0 24 24",
@@ -287,7 +287,7 @@ function R2(t, e) {
287
287
  }, null, -1)
288
288
  ])]);
289
289
  }
290
- const B2 = /* @__PURE__ */ me(P2, [["render", R2]]), U2 = {}, H2 = {
290
+ const B2 = /* @__PURE__ */ ge(P2, [["render", R2]]), U2 = {}, H2 = {
291
291
  width: "24",
292
292
  height: "24",
293
293
  viewBox: "0 0 24 24",
@@ -302,7 +302,7 @@ function j2(t, e) {
302
302
  }, null, -1)
303
303
  ])]);
304
304
  }
305
- const z2 = /* @__PURE__ */ me(U2, [["render", j2]]), q2 = {}, V2 = {
305
+ const z2 = /* @__PURE__ */ ge(U2, [["render", j2]]), q2 = {}, V2 = {
306
306
  width: "24",
307
307
  height: "24",
308
308
  viewBox: "0 0 24 24",
@@ -317,7 +317,7 @@ function W2(t, e) {
317
317
  }, null, -1)
318
318
  ])]);
319
319
  }
320
- const Z2 = /* @__PURE__ */ me(q2, [["render", W2]]), K2 = {}, G2 = {
320
+ const Z2 = /* @__PURE__ */ ge(q2, [["render", W2]]), K2 = {}, G2 = {
321
321
  width: "24",
322
322
  height: "24",
323
323
  viewBox: "0 0 24 24",
@@ -332,7 +332,7 @@ function Y2(t, e) {
332
332
  }, null, -1)
333
333
  ])]);
334
334
  }
335
- const J2 = /* @__PURE__ */ me(K2, [["render", Y2]]), X2 = {}, Q2 = {
335
+ const J2 = /* @__PURE__ */ ge(K2, [["render", Y2]]), X2 = {}, Q2 = {
336
336
  width: "24",
337
337
  height: "24",
338
338
  viewBox: "0 0 24 24",
@@ -347,7 +347,7 @@ function ey(t, e) {
347
347
  }, null, -1)
348
348
  ])]);
349
349
  }
350
- const ty = /* @__PURE__ */ me(X2, [["render", ey]]), ny = {}, oy = {
350
+ const ty = /* @__PURE__ */ ge(X2, [["render", ey]]), ny = {}, oy = {
351
351
  width: "24",
352
352
  height: "24",
353
353
  viewBox: "0 0 24 24",
@@ -362,7 +362,7 @@ function iy(t, e) {
362
362
  }, null, -1)
363
363
  ])]);
364
364
  }
365
- const ry = /* @__PURE__ */ me(ny, [["render", iy]]), sy = {}, ay = {
365
+ const ry = /* @__PURE__ */ ge(ny, [["render", iy]]), sy = {}, ay = {
366
366
  width: "24",
367
367
  height: "24",
368
368
  viewBox: "0 0 24 24",
@@ -377,7 +377,7 @@ function ly(t, e) {
377
377
  }, null, -1)
378
378
  ])]);
379
379
  }
380
- const cy = /* @__PURE__ */ me(sy, [["render", ly]]), uy = {}, dy = {
380
+ const cy = /* @__PURE__ */ ge(sy, [["render", ly]]), uy = {}, dy = {
381
381
  width: "24",
382
382
  height: "24",
383
383
  viewBox: "0 0 24 24",
@@ -392,7 +392,7 @@ function fy(t, e) {
392
392
  }, null, -1)
393
393
  ])]);
394
394
  }
395
- const py = /* @__PURE__ */ me(uy, [["render", fy]]), hy = {}, my = {
395
+ const py = /* @__PURE__ */ ge(uy, [["render", fy]]), hy = {}, my = {
396
396
  width: "24",
397
397
  height: "24",
398
398
  viewBox: "0 0 24 24",
@@ -407,7 +407,7 @@ function gy(t, e) {
407
407
  }, null, -1)
408
408
  ])]);
409
409
  }
410
- const vy = /* @__PURE__ */ me(hy, [["render", gy]]), yy = {}, _y = {
410
+ const vy = /* @__PURE__ */ ge(hy, [["render", gy]]), yy = {}, _y = {
411
411
  width: "24",
412
412
  height: "24",
413
413
  viewBox: "0 0 24 24",
@@ -426,7 +426,7 @@ function by(t, e) {
426
426
  }, null, -1)
427
427
  ])]);
428
428
  }
429
- const Cy = /* @__PURE__ */ me(yy, [["render", by]]), ky = {}, wy = {
429
+ const Cy = /* @__PURE__ */ ge(yy, [["render", by]]), ky = {}, wy = {
430
430
  width: "24",
431
431
  height: "24",
432
432
  viewBox: "0 0 24 24",
@@ -441,7 +441,7 @@ function Sy(t, e) {
441
441
  }, null, -1)
442
442
  ])]);
443
443
  }
444
- const xy = /* @__PURE__ */ me(ky, [["render", Sy]]), Ay = {}, Ey = {
444
+ const xy = /* @__PURE__ */ ge(ky, [["render", Sy]]), Ay = {}, Ey = {
445
445
  width: "24",
446
446
  height: "24",
447
447
  viewBox: "0 0 24 24",
@@ -456,7 +456,7 @@ function Ty(t, e) {
456
456
  }, null, -1)
457
457
  ])]);
458
458
  }
459
- const $y = /* @__PURE__ */ me(Ay, [["render", Ty]]), Dy = {}, My = {
459
+ const $y = /* @__PURE__ */ ge(Ay, [["render", Ty]]), Dy = {}, My = {
460
460
  width: "24",
461
461
  height: "24",
462
462
  viewBox: "0 0 24 24",
@@ -471,7 +471,7 @@ function Ly(t, e) {
471
471
  }, null, -1)
472
472
  ])]);
473
473
  }
474
- const Oy = /* @__PURE__ */ me(Dy, [["render", Ly]]), Iy = {}, Ny = {
474
+ const Oy = /* @__PURE__ */ ge(Dy, [["render", Ly]]), Iy = {}, Ny = {
475
475
  width: "24",
476
476
  height: "24",
477
477
  viewBox: "0 0 24 24",
@@ -486,7 +486,7 @@ function Py(t, e) {
486
486
  }, null, -1)
487
487
  ])]);
488
488
  }
489
- const Fy = /* @__PURE__ */ me(Iy, [["render", Py]]), Ry = {}, By = {
489
+ const Fy = /* @__PURE__ */ ge(Iy, [["render", Py]]), Ry = {}, By = {
490
490
  width: "24",
491
491
  height: "24",
492
492
  viewBox: "0 0 24 24",
@@ -501,7 +501,7 @@ function Uy(t, e) {
501
501
  }, null, -1)
502
502
  ])]);
503
503
  }
504
- const Hy = /* @__PURE__ */ me(Ry, [["render", Uy]]), jy = {}, zy = {
504
+ const Hy = /* @__PURE__ */ ge(Ry, [["render", Uy]]), jy = {}, zy = {
505
505
  width: "24",
506
506
  height: "24",
507
507
  viewBox: "0 0 24 24",
@@ -516,7 +516,7 @@ function qy(t, e) {
516
516
  }, null, -1)
517
517
  ])]);
518
518
  }
519
- const Vy = /* @__PURE__ */ me(jy, [["render", qy]]), Wy = {}, Zy = {
519
+ const Vy = /* @__PURE__ */ ge(jy, [["render", qy]]), Wy = {}, Zy = {
520
520
  width: "24",
521
521
  height: "24",
522
522
  viewBox: "0 0 24 24",
@@ -531,7 +531,7 @@ function Ky(t, e) {
531
531
  }, null, -1)
532
532
  ])]);
533
533
  }
534
- const Gy = /* @__PURE__ */ me(Wy, [["render", Ky]]), Yy = {}, Jy = {
534
+ const Gy = /* @__PURE__ */ ge(Wy, [["render", Ky]]), Yy = {}, Jy = {
535
535
  width: "24",
536
536
  height: "24",
537
537
  viewBox: "0 0 24 24",
@@ -546,7 +546,7 @@ function Xy(t, e) {
546
546
  }, null, -1)
547
547
  ])]);
548
548
  }
549
- const Qy = /* @__PURE__ */ me(Yy, [["render", Xy]]), e_ = {}, t_ = {
549
+ const Qy = /* @__PURE__ */ ge(Yy, [["render", Xy]]), e_ = {}, t_ = {
550
550
  width: "24",
551
551
  height: "24",
552
552
  viewBox: "0 0 24 24",
@@ -561,7 +561,7 @@ function n_(t, e) {
561
561
  }, null, -1)
562
562
  ])]);
563
563
  }
564
- const o_ = /* @__PURE__ */ me(e_, [["render", n_]]), i_ = {}, r_ = {
564
+ const o_ = /* @__PURE__ */ ge(e_, [["render", n_]]), i_ = {}, r_ = {
565
565
  width: "24",
566
566
  height: "24",
567
567
  viewBox: "0 0 24 24",
@@ -576,7 +576,7 @@ function s_(t, e) {
576
576
  }, null, -1)
577
577
  ])]);
578
578
  }
579
- const a_ = /* @__PURE__ */ me(i_, [["render", s_]]), l_ = {}, c_ = {
579
+ const a_ = /* @__PURE__ */ ge(i_, [["render", s_]]), l_ = {}, c_ = {
580
580
  width: "24",
581
581
  height: "24",
582
582
  viewBox: "0 0 24 24",
@@ -591,7 +591,7 @@ function u_(t, e) {
591
591
  }, null, -1)
592
592
  ])]);
593
593
  }
594
- const d_ = /* @__PURE__ */ me(l_, [["render", u_]]), f_ = {}, p_ = {
594
+ const d_ = /* @__PURE__ */ ge(l_, [["render", u_]]), f_ = {}, p_ = {
595
595
  width: "24",
596
596
  height: "24",
597
597
  viewBox: "0 0 24 24",
@@ -606,7 +606,7 @@ function h_(t, e) {
606
606
  }, null, -1)
607
607
  ])]);
608
608
  }
609
- const m_ = /* @__PURE__ */ me(f_, [["render", h_]]), g_ = {}, v_ = {
609
+ const m_ = /* @__PURE__ */ ge(f_, [["render", h_]]), g_ = {}, v_ = {
610
610
  width: "24",
611
611
  height: "24",
612
612
  viewBox: "0 0 24 24",
@@ -621,7 +621,7 @@ function y_(t, e) {
621
621
  }, null, -1)
622
622
  ])]);
623
623
  }
624
- const __ = /* @__PURE__ */ me(g_, [["render", y_]]), b_ = {}, C_ = {
624
+ const __ = /* @__PURE__ */ ge(g_, [["render", y_]]), b_ = {}, C_ = {
625
625
  width: "24",
626
626
  height: "24",
627
627
  viewBox: "0 0 24 24",
@@ -636,7 +636,7 @@ function k_(t, e) {
636
636
  }, null, -1)
637
637
  ])]);
638
638
  }
639
- const w_ = /* @__PURE__ */ me(b_, [["render", k_]]), S_ = {}, x_ = {
639
+ const w_ = /* @__PURE__ */ ge(b_, [["render", k_]]), S_ = {}, x_ = {
640
640
  height: "115px",
641
641
  viewBox: "-4 -4 24 24",
642
642
  fill: "none",
@@ -648,7 +648,7 @@ function A_(t, e) {
648
648
  _h('<g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M7.05025 1.53553C8.03344 0.552348 9.36692 0 10.7574 0C13.6528 0 16 2.34721 16 5.24264C16 6.63308 15.4477 7.96656 14.4645 8.94975L12.4142 11L11 9.58579L13.0503 7.53553C13.6584 6.92742 14 6.10264 14 5.24264C14 3.45178 12.5482 2 10.7574 2C9.89736 2 9.07258 2.34163 8.46447 2.94975L6.41421 5L5 3.58579L7.05025 1.53553Z" fill="#000000"></path> <path d="M7.53553 13.0503L9.58579 11L11 12.4142L8.94975 14.4645C7.96656 15.4477 6.63308 16 5.24264 16C2.34721 16 0 13.6528 0 10.7574C0 9.36693 0.552347 8.03344 1.53553 7.05025L3.58579 5L5 6.41421L2.94975 8.46447C2.34163 9.07258 2 9.89736 2 10.7574C2 12.5482 3.45178 14 5.24264 14C6.10264 14 6.92742 13.6584 7.53553 13.0503Z" fill="#000000"></path> <path d="M5.70711 11.7071L11.7071 5.70711L10.2929 4.29289L4.29289 10.2929L5.70711 11.7071Z" fill="#000000"></path></g>', 3)
649
649
  ])]);
650
650
  }
651
- const E_ = /* @__PURE__ */ me(S_, [["render", A_]]), T_ = ce({
651
+ const E_ = /* @__PURE__ */ ge(S_, [["render", A_]]), T_ = ce({
652
652
  name: "LoadingIcon"
653
653
  });
654
654
  const $_ = {
@@ -680,7 +680,7 @@ function D_(t, e, n, o, i, r) {
680
680
  }, null, -1)
681
681
  ])]);
682
682
  }
683
- const M_ = /* @__PURE__ */ me(T_, [["render", D_], ["__scopeId", "data-v-ad6da4a9"]]), L_ = {}, O_ = {
683
+ const M_ = /* @__PURE__ */ ge(T_, [["render", D_], ["__scopeId", "data-v-ad6da4a9"]]), L_ = {}, O_ = {
684
684
  xmlns: "http://www.w3.org/2000/svg",
685
685
  height: "24",
686
686
  viewBox: "0 -960 960 960",
@@ -691,7 +691,7 @@ function I_(t, e) {
691
691
  b("path", { d: "M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z" }, null, -1)
692
692
  ])]);
693
693
  }
694
- const N_ = /* @__PURE__ */ me(L_, [["render", I_]]), P_ = {}, F_ = {
694
+ const N_ = /* @__PURE__ */ ge(L_, [["render", I_]]), P_ = {}, F_ = {
695
695
  width: "24",
696
696
  height: "24",
697
697
  viewBox: "0 0 24 24",
@@ -706,7 +706,7 @@ function R_(t, e) {
706
706
  }, null, -1)
707
707
  ])]);
708
708
  }
709
- const B_ = /* @__PURE__ */ me(P_, [["render", R_]]), U_ = {}, H_ = {
709
+ const B_ = /* @__PURE__ */ ge(P_, [["render", R_]]), U_ = {}, H_ = {
710
710
  width: "24",
711
711
  height: "24",
712
712
  viewBox: "0 0 24 24",
@@ -721,7 +721,7 @@ function j_(t, e) {
721
721
  }, null, -1)
722
722
  ])]);
723
723
  }
724
- const z_ = /* @__PURE__ */ me(U_, [["render", j_]]), q_ = {}, V_ = {
724
+ const z_ = /* @__PURE__ */ ge(U_, [["render", j_]]), q_ = {}, V_ = {
725
725
  width: "24",
726
726
  height: "24",
727
727
  viewBox: "0 0 24 24",
@@ -736,7 +736,7 @@ function W_(t, e) {
736
736
  }, null, -1)
737
737
  ])]);
738
738
  }
739
- const Z_ = /* @__PURE__ */ me(q_, [["render", W_]]), K_ = {}, G_ = {
739
+ const Z_ = /* @__PURE__ */ ge(q_, [["render", W_]]), K_ = {}, G_ = {
740
740
  width: "24",
741
741
  height: "24",
742
742
  viewBox: "0 0 24 24",
@@ -751,7 +751,7 @@ function Y_(t, e) {
751
751
  }, null, -1)
752
752
  ])]);
753
753
  }
754
- const J_ = /* @__PURE__ */ me(K_, [["render", Y_]]), X_ = {}, Q_ = {
754
+ const J_ = /* @__PURE__ */ ge(K_, [["render", Y_]]), X_ = {}, Q_ = {
755
755
  width: "24",
756
756
  height: "24",
757
757
  viewBox: "0 0 24 24",
@@ -766,7 +766,7 @@ function e3(t, e) {
766
766
  }, null, -1)
767
767
  ])]);
768
768
  }
769
- const t3 = /* @__PURE__ */ me(X_, [["render", e3]]), n3 = {}, o3 = {
769
+ const t3 = /* @__PURE__ */ ge(X_, [["render", e3]]), n3 = {}, o3 = {
770
770
  width: "24",
771
771
  height: "24",
772
772
  viewBox: "0 0 24 24",
@@ -781,7 +781,7 @@ function i3(t, e) {
781
781
  }, null, -1)
782
782
  ])]);
783
783
  }
784
- const r3 = /* @__PURE__ */ me(n3, [["render", i3]]), s3 = {}, a3 = {
784
+ const r3 = /* @__PURE__ */ ge(n3, [["render", i3]]), s3 = {}, a3 = {
785
785
  width: "24",
786
786
  height: "24",
787
787
  viewBox: "0 0 24 24",
@@ -796,7 +796,7 @@ function l3(t, e) {
796
796
  }, null, -1)
797
797
  ])]);
798
798
  }
799
- const c3 = /* @__PURE__ */ me(s3, [["render", l3]]), u3 = {}, d3 = {
799
+ const c3 = /* @__PURE__ */ ge(s3, [["render", l3]]), u3 = {}, d3 = {
800
800
  width: "24",
801
801
  height: "24",
802
802
  viewBox: "0 0 24 24",
@@ -811,7 +811,7 @@ function f3(t, e) {
811
811
  }, null, -1)
812
812
  ])]);
813
813
  }
814
- const p3 = /* @__PURE__ */ me(u3, [["render", f3]]), h3 = {}, m3 = {
814
+ const p3 = /* @__PURE__ */ ge(u3, [["render", f3]]), h3 = {}, m3 = {
815
815
  width: "24",
816
816
  height: "24",
817
817
  viewBox: "0 0 24 24",
@@ -826,7 +826,7 @@ function g3(t, e) {
826
826
  }, null, -1)
827
827
  ])]);
828
828
  }
829
- const v3 = /* @__PURE__ */ me(h3, [["render", g3]]), y3 = {}, _3 = {
829
+ const v3 = /* @__PURE__ */ ge(h3, [["render", g3]]), y3 = {}, _3 = {
830
830
  width: "24",
831
831
  height: "24",
832
832
  viewBox: "0 0 24 24",
@@ -841,7 +841,7 @@ function b3(t, e) {
841
841
  }, null, -1)
842
842
  ])]);
843
843
  }
844
- const C3 = /* @__PURE__ */ me(y3, [["render", b3]]), k3 = {}, w3 = {
844
+ const C3 = /* @__PURE__ */ ge(y3, [["render", b3]]), k3 = {}, w3 = {
845
845
  width: "24",
846
846
  height: "24",
847
847
  viewBox: "0 0 24 24",
@@ -856,7 +856,7 @@ function S3(t, e) {
856
856
  }, null, -1)
857
857
  ])]);
858
858
  }
859
- const x3 = /* @__PURE__ */ me(k3, [["render", S3]]), A3 = {}, E3 = {
859
+ const x3 = /* @__PURE__ */ ge(k3, [["render", S3]]), A3 = {}, E3 = {
860
860
  width: "24",
861
861
  height: "24",
862
862
  viewBox: "0 0 24 24",
@@ -871,7 +871,7 @@ function T3(t, e) {
871
871
  }, null, -1)
872
872
  ])]);
873
873
  }
874
- const $3 = /* @__PURE__ */ me(A3, [["render", T3]]), D3 = {}, M3 = {
874
+ const $3 = /* @__PURE__ */ ge(A3, [["render", T3]]), D3 = {}, M3 = {
875
875
  width: "26",
876
876
  height: "29",
877
877
  viewBox: "0 0 26 29",
@@ -883,7 +883,7 @@ function L3(t, e) {
883
883
  _h('<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)
884
884
  ])]);
885
885
  }
886
- const O3 = /* @__PURE__ */ me(D3, [["render", L3]]), I3 = {}, N3 = {
886
+ const O3 = /* @__PURE__ */ ge(D3, [["render", L3]]), I3 = {}, N3 = {
887
887
  width: "24",
888
888
  height: "24",
889
889
  viewBox: "0 0 24 24",
@@ -898,7 +898,7 @@ function P3(t, e) {
898
898
  }, null, -1)
899
899
  ])]);
900
900
  }
901
- const F3 = /* @__PURE__ */ me(I3, [["render", P3]]), R3 = {}, B3 = {
901
+ const F3 = /* @__PURE__ */ ge(I3, [["render", P3]]), R3 = {}, B3 = {
902
902
  width: "24",
903
903
  height: "24",
904
904
  viewBox: "0 0 24 24",
@@ -913,7 +913,7 @@ function U3(t, e) {
913
913
  }, null, -1)
914
914
  ])]);
915
915
  }
916
- const H3 = /* @__PURE__ */ me(R3, [["render", U3]]), j3 = {}, z3 = {
916
+ const H3 = /* @__PURE__ */ ge(R3, [["render", U3]]), j3 = {}, z3 = {
917
917
  width: "24",
918
918
  height: "24",
919
919
  viewBox: "0 0 24 24",
@@ -928,7 +928,7 @@ function q3(t, e) {
928
928
  }, null, -1)
929
929
  ])]);
930
930
  }
931
- const V3 = /* @__PURE__ */ me(j3, [["render", q3]]), W3 = {}, Z3 = {
931
+ const V3 = /* @__PURE__ */ ge(j3, [["render", q3]]), W3 = {}, Z3 = {
932
932
  width: "24",
933
933
  height: "24",
934
934
  viewBox: "0 0 24 24",
@@ -943,7 +943,7 @@ function K3(t, e) {
943
943
  }, null, -1)
944
944
  ])]);
945
945
  }
946
- const G3 = /* @__PURE__ */ me(W3, [["render", K3]]), Y3 = {}, J3 = {
946
+ const G3 = /* @__PURE__ */ ge(W3, [["render", K3]]), Y3 = {}, J3 = {
947
947
  width: "24",
948
948
  height: "24",
949
949
  viewBox: "0 0 24 24",
@@ -958,7 +958,7 @@ function X3(t, e) {
958
958
  }, null, -1)
959
959
  ])]);
960
960
  }
961
- const Q3 = /* @__PURE__ */ me(Y3, [["render", X3]]), e5 = {}, t5 = {
961
+ const Q3 = /* @__PURE__ */ ge(Y3, [["render", X3]]), e5 = {}, t5 = {
962
962
  width: "24",
963
963
  height: "24",
964
964
  viewBox: "0 0 24 24",
@@ -973,7 +973,7 @@ function n5(t, e) {
973
973
  }, null, -1)
974
974
  ])]);
975
975
  }
976
- const o5 = /* @__PURE__ */ me(e5, [["render", n5]]), i5 = {}, r5 = {
976
+ const o5 = /* @__PURE__ */ ge(e5, [["render", n5]]), i5 = {}, r5 = {
977
977
  width: "24",
978
978
  height: "24",
979
979
  viewBox: "0 0 24 24",
@@ -988,7 +988,7 @@ function s5(t, e) {
988
988
  }, null, -1)
989
989
  ])]);
990
990
  }
991
- const a5 = /* @__PURE__ */ me(i5, [["render", s5]]), l5 = {}, c5 = {
991
+ const a5 = /* @__PURE__ */ ge(i5, [["render", s5]]), l5 = {}, c5 = {
992
992
  width: "24",
993
993
  height: "24",
994
994
  viewBox: "0 0 24 24",
@@ -1003,7 +1003,7 @@ function u5(t, e) {
1003
1003
  }, null, -1)
1004
1004
  ])]);
1005
1005
  }
1006
- const d5 = /* @__PURE__ */ me(l5, [["render", u5]]), f5 = {}, p5 = {
1006
+ const d5 = /* @__PURE__ */ ge(l5, [["render", u5]]), f5 = {}, p5 = {
1007
1007
  width: "24",
1008
1008
  height: "24",
1009
1009
  viewBox: "0 0 24 24",
@@ -1018,7 +1018,7 @@ function h5(t, e) {
1018
1018
  }, null, -1)
1019
1019
  ])]);
1020
1020
  }
1021
- const m5 = /* @__PURE__ */ me(f5, [["render", h5]]), g5 = {}, v5 = {
1021
+ const m5 = /* @__PURE__ */ ge(f5, [["render", h5]]), g5 = {}, v5 = {
1022
1022
  width: "24",
1023
1023
  height: "24",
1024
1024
  viewBox: "0 0 24 24",
@@ -1033,7 +1033,7 @@ function y5(t, e) {
1033
1033
  }, null, -1)
1034
1034
  ])]);
1035
1035
  }
1036
- const _5 = /* @__PURE__ */ me(g5, [["render", y5]]), b5 = {}, C5 = {
1036
+ const _5 = /* @__PURE__ */ ge(g5, [["render", y5]]), b5 = {}, C5 = {
1037
1037
  width: "24",
1038
1038
  height: "24",
1039
1039
  viewBox: "0 0 24 24",
@@ -1048,7 +1048,7 @@ function k5(t, e) {
1048
1048
  }, null, -1)
1049
1049
  ])]);
1050
1050
  }
1051
- const w5 = /* @__PURE__ */ me(b5, [["render", k5]]), S5 = {}, x5 = {
1051
+ const w5 = /* @__PURE__ */ ge(b5, [["render", k5]]), S5 = {}, x5 = {
1052
1052
  width: "24",
1053
1053
  height: "24",
1054
1054
  viewBox: "0 0 24 24",
@@ -1063,7 +1063,7 @@ function A5(t, e) {
1063
1063
  }, null, -1)
1064
1064
  ])]);
1065
1065
  }
1066
- const E5 = /* @__PURE__ */ me(S5, [["render", A5]]), T5 = {}, $5 = {
1066
+ const E5 = /* @__PURE__ */ ge(S5, [["render", A5]]), T5 = {}, $5 = {
1067
1067
  width: "24",
1068
1068
  height: "24",
1069
1069
  viewBox: "0 0 24 24",
@@ -1078,7 +1078,7 @@ function D5(t, e) {
1078
1078
  }, null, -1)
1079
1079
  ])]);
1080
1080
  }
1081
- const M5 = /* @__PURE__ */ me(T5, [["render", D5]]), L5 = {}, O5 = {
1081
+ const M5 = /* @__PURE__ */ ge(T5, [["render", D5]]), L5 = {}, O5 = {
1082
1082
  width: "24",
1083
1083
  height: "24",
1084
1084
  viewBox: "0 0 24 24",
@@ -1093,7 +1093,7 @@ function I5(t, e) {
1093
1093
  }, null, -1)
1094
1094
  ])]);
1095
1095
  }
1096
- const N5 = /* @__PURE__ */ me(L5, [["render", I5]]), P5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1096
+ const N5 = /* @__PURE__ */ ge(L5, [["render", I5]]), P5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1097
1097
  __proto__: null,
1098
1098
  AccountBoxSharp: xv,
1099
1099
  AccountCircle: $v,
@@ -1204,7 +1204,7 @@ const Sh = {
1204
1204
  },
1205
1205
  setup(t) {
1206
1206
  const e = t, n = O(() => P5[e.name]);
1207
- return (o, i) => (k(), X(Hi(n.value), {
1207
+ return (o, i) => (k(), Q(Hi(n.value), {
1208
1208
  class: ye(["ao-icon", `ao-icon--${t.size}`])
1209
1209
  }, null, 8, ["class"]));
1210
1210
  }
@@ -1244,7 +1244,7 @@ const U5 = ["type"], H5 = {
1244
1244
  we(i.$slots, "default", {}, () => [
1245
1245
  t.label ? (k(), A("span", H5, U(t.label), 1)) : R("", !0)
1246
1246
  ]),
1247
- o.value ? (k(), X(Fe, {
1247
+ o.value ? (k(), Q(Fe, {
1248
1248
  key: 0,
1249
1249
  name: o.value,
1250
1250
  class: "ao-button__icon",
@@ -1316,7 +1316,7 @@ const Pt = /* @__PURE__ */ ce({
1316
1316
  (g) => {
1317
1317
  g || f();
1318
1318
  }
1319
- ), (g, v) => (k(), X(Hi(u.value), Kt({
1319
+ ), (g, v) => (k(), Q(Hi(u.value), Kt({
1320
1320
  id: t.id,
1321
1321
  ref_key: "target",
1322
1322
  ref: n,
@@ -1382,7 +1382,7 @@ const z5 = {
1382
1382
  const n = e, o = (i) => {
1383
1383
  n("update:title", i);
1384
1384
  };
1385
- return (i, r) => (k(), X(Hi(t.tagName), {
1385
+ return (i, r) => (k(), Q(Hi(t.tagName), {
1386
1386
  class: ye(["ao-card-horiz", { "ao-card-horiz--active": t.isActive }])
1387
1387
  }, {
1388
1388
  default: le(() => [
@@ -1457,12 +1457,12 @@ const ks = /* @__PURE__ */ ce({
1457
1457
  ]),
1458
1458
  style: Nt(t.rawColor ? { "--ao-tag-bg": t.rawColor } : {})
1459
1459
  }, [
1460
- (k(), X(Hi(n.value), Kt({ class: "ao-tag__label" }, o.value, {
1460
+ (k(), Q(Hi(n.value), Kt({ class: "ao-tag__label" }, o.value, {
1461
1461
  onClick: r[0] || (r[0] = (s) => i.$emit("click", s))
1462
1462
  }), {
1463
1463
  default: le(() => [
1464
1464
  fn(U(t.label) + " ", 1),
1465
- t.variant === oe(B5).SOLID_ICON && t.iconName ? (k(), X(Fe, {
1465
+ t.variant === oe(B5).SOLID_ICON && t.iconName ? (k(), Q(Fe, {
1466
1466
  key: 0,
1467
1467
  name: t.iconName,
1468
1468
  class: "ao-tag__icon",
@@ -3879,7 +3879,7 @@ const Y7 = ["title"], J7 = {
3879
3879
  className: "ao-avatar__image",
3880
3880
  src: t.avatarUrl
3881
3881
  }, null, 8, X7)) : R("", !0),
3882
- t.isClosable ? (k(), X(xe, {
3882
+ t.isClosable ? (k(), Q(xe, {
3883
3883
  key: 2,
3884
3884
  "icon-name": "CloseRounded",
3885
3885
  class: "ao-avatar__close",
@@ -3920,7 +3920,7 @@ const Q7 = { class: "ao-card-template__subitems" }, eC = { class: "ao-card-templ
3920
3920
  var l;
3921
3921
  return ((l = n.phases) == null ? void 0 : l.slice(0, vc)) ?? [];
3922
3922
  }), a = O(() => n.phases && n.phases.length > vc ? n.phases.length - vc : 0);
3923
- return (l, u) => (k(), X(xh, {
3923
+ return (l, u) => (k(), Q(xh, {
3924
3924
  id: t.id,
3925
3925
  title: t.title,
3926
3926
  "is-draggable": !0,
@@ -3955,13 +3955,13 @@ const Q7 = { class: "ao-card-template__subitems" }, eC = { class: "ao-card-templ
3955
3955
  b("span", aC, U(l.$t("template.phases.title")), 1)
3956
3956
  ]),
3957
3957
  t.phases ? (k(), A("ul", lC, [
3958
- (k(!0), A($e, null, Je(s.value, (c) => (k(), X(ks, {
3958
+ (k(!0), A($e, null, Je(s.value, (c) => (k(), Q(ks, {
3959
3959
  key: c.id,
3960
3960
  label: c.name || c.id,
3961
3961
  color: "primary",
3962
3962
  variant: "solid"
3963
3963
  }, null, 8, ["label"]))), 128)),
3964
- a.value > 0 ? (k(), X(ks, {
3964
+ a.value > 0 ? (k(), Q(ks, {
3965
3965
  key: 0,
3966
3966
  label: `+${a.value} more`,
3967
3967
  color: "primary-lighter",
@@ -4023,7 +4023,7 @@ const bC = { class: "ao-page-header" }, CC = { class: "ao-page-header-main" }, k
4023
4023
  setup(t) {
4024
4024
  return (e, n) => (k(), A("header", bC, [
4025
4025
  b("div", CC, [
4026
- t.canGoBack ? (k(), X(xe, {
4026
+ t.canGoBack ? (k(), Q(xe, {
4027
4027
  key: 0,
4028
4028
  "icon-name": "ArrowBackRounded",
4029
4029
  variant: "ghost",
@@ -4066,7 +4066,7 @@ const wC = ["type"], SC = {
4066
4066
  we(i.$slots, "default", {}, () => [
4067
4067
  t.label ? (k(), A("span", SC, U(t.label), 1)) : R("", !0)
4068
4068
  ]),
4069
- o.value ? (k(), X(Fe, {
4069
+ o.value ? (k(), Q(Fe, {
4070
4070
  key: 0,
4071
4071
  name: o.value,
4072
4072
  class: "ao-button-card__icon",
@@ -4098,7 +4098,7 @@ const xC = { class: "ao-card-template-item__footer" }, AC = {
4098
4098
  }, s = () => {
4099
4099
  n("remove");
4100
4100
  };
4101
- return (a, l) => (k(), X(xh, { "onUpdate:title": o }, {
4101
+ return (a, l) => (k(), Q(xh, { "onUpdate:title": o }, {
4102
4102
  footer: le(() => [
4103
4103
  b("ul", xC, [
4104
4104
  (k(), A($e, null, Je(i, (u) => (k(), A($e, { key: u }, [
@@ -4139,7 +4139,7 @@ const $C = /* @__PURE__ */ ce({
4139
4139
  var i;
4140
4140
  return (i = e.milestones) == null ? void 0 : i.length;
4141
4141
  }), o = O(() => e.milestones ? Bh(e.milestones) : 0);
4142
- return (i, r) => (k(), X(Xu, Kt({
4142
+ return (i, r) => (k(), Q(Xu, Kt({
4143
4143
  id: t.id,
4144
4144
  title: t.name,
4145
4145
  activities: o.value,
@@ -4161,7 +4161,7 @@ const $C = /* @__PURE__ */ ce({
4161
4161
  var o;
4162
4162
  return ((o = e.activities) == null ? void 0 : o.length) || 0;
4163
4163
  });
4164
- return (o, i) => (k(), X(Xu, { activities: n.value }, {
4164
+ return (o, i) => (k(), Q(Xu, { activities: n.value }, {
4165
4165
  default: le(() => [
4166
4166
  we(o.$slots, "default")
4167
4167
  ]),
@@ -4192,7 +4192,7 @@ const $C = /* @__PURE__ */ ce({
4192
4192
  });
4193
4193
  }
4194
4194
  };
4195
- return (l, u) => t.phase ? (k(), X(oe(uo), {
4195
+ return (l, u) => t.phase ? (k(), Q(oe(uo), {
4196
4196
  key: 0,
4197
4197
  "model-value": t.phase.milestones,
4198
4198
  class: "ao-templates__list",
@@ -4209,7 +4209,7 @@ const $C = /* @__PURE__ */ ce({
4209
4209
  })
4210
4210
  ]),
4211
4211
  item: le(({ element: c }) => [
4212
- (k(), X(DC, {
4212
+ (k(), Q(DC, {
4213
4213
  id: c.id,
4214
4214
  key: c.id,
4215
4215
  title: c.name,
@@ -4248,7 +4248,7 @@ const $C = /* @__PURE__ */ ce({
4248
4248
  var o;
4249
4249
  return ((o = e.tasks) == null ? void 0 : o.length) || 0;
4250
4250
  });
4251
- return (o, i) => (k(), X(Xu, { tasks: n.value }, {
4251
+ return (o, i) => (k(), Q(Xu, { tasks: n.value }, {
4252
4252
  default: le(() => [
4253
4253
  we(o.$slots, "default")
4254
4254
  ]),
@@ -4282,7 +4282,7 @@ const $C = /* @__PURE__ */ ce({
4282
4282
  });
4283
4283
  }
4284
4284
  };
4285
- return (l, u) => t.milestone ? (k(), X(oe(uo), {
4285
+ return (l, u) => t.milestone ? (k(), Q(oe(uo), {
4286
4286
  key: 0,
4287
4287
  "model-value": t.milestone.activities,
4288
4288
  title: l.$t("template.activities.title"),
@@ -4299,7 +4299,7 @@ const $C = /* @__PURE__ */ ce({
4299
4299
  })
4300
4300
  ]),
4301
4301
  item: le(({ element: c }) => [
4302
- (k(), X(OC, {
4302
+ (k(), Q(OC, {
4303
4303
  id: c.id,
4304
4304
  key: c.id,
4305
4305
  title: c.name,
@@ -5335,17 +5335,17 @@ function A4(t, e, n) {
5335
5335
  groupOptions: H,
5336
5336
  groupHideEmpty: F,
5337
5337
  groupSelect: I,
5338
- onCreate: Y,
5339
- disabledProp: ve,
5340
- searchStart: Q,
5338
+ onCreate: K,
5339
+ disabledProp: me,
5340
+ searchStart: X,
5341
5341
  searchFilter: De
5342
- } = _n(t), ge = ii().proxy, pe = n.iv, J = n.ev, V = n.search, _e = n.clearSearch, He = n.update, it = n.pointer, Re = n.setPointer, Ne = n.clearPointer, zt = n.focus, We = n.deactivate, K = n.close, fe = n.localize, Ue = ne([]), Ee = ne([]), Ge = ne(!1), rt = ne(null), Ye = ne(x.value && s.value === -1 ? 10 : s.value), vt = O(() => l.value || u.value || !1), yt = O(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), je = O(() => {
5342
+ } = _n(t), ve = ii().proxy, pe = n.iv, J = n.ev, V = n.search, _e = n.clearSearch, He = n.update, it = n.pointer, Re = n.setPointer, Ne = n.clearPointer, zt = n.focus, We = n.deactivate, G = n.close, fe = n.localize, Ue = ne([]), Ee = ne([]), Ge = ne(!1), rt = ne(null), Ye = ne(x.value && s.value === -1 ? 10 : s.value), vt = O(() => l.value || u.value || !1), yt = O(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), je = O(() => {
5343
5343
  if (M.value) {
5344
5344
  let j = an.value || /* istanbul ignore next */
5345
5345
  [], ue = [];
5346
5346
  return j.forEach((Be) => {
5347
5347
  Wr(Be[H.value]).forEach((ct) => {
5348
- ue.push(Object.assign({}, ct, Be[ve.value] ? { [ve.value]: !0 } : {}));
5348
+ ue.push(Object.assign({}, ct, Be[me.value] ? { [me.value]: !0 } : {}));
5349
5349
  });
5350
5350
  }), ue;
5351
5351
  } else {
@@ -5387,8 +5387,8 @@ function A4(t, e, n) {
5387
5387
  ...ue,
5388
5388
  index: Be,
5389
5389
  group: !0,
5390
- [H.value]: Vr(ct, !1).map((mo) => Object.assign({}, mo, ue[ve.value] ? { [ve.value]: !0 } : {})),
5391
- __VISIBLE__: Vr(ct).map((mo) => Object.assign({}, mo, ue[ve.value] ? { [ve.value]: !0 } : {}))
5390
+ [H.value]: Vr(ct, !1).map((mo) => Object.assign({}, mo, ue[me.value] ? { [me.value]: !0 } : {})),
5391
+ __VISIBLE__: Vr(ct).map((mo) => Object.assign({}, mo, ue[me.value] ? { [me.value]: !0 } : {}))
5392
5392
  };
5393
5393
  }));
5394
5394
  }), ho = O(() => {
@@ -5399,7 +5399,7 @@ function A4(t, e, n) {
5399
5399
  case "tags":
5400
5400
  return !Gn(pe.value) && pe.value.length > 0;
5401
5401
  }
5402
- }), Mn = O(() => p !== void 0 && p.value !== void 0 ? p.value(pe.value, ge) : pe.value && pe.value.length > 1 ? `${pe.value.length} options selected` : "1 option selected"), Io = O(() => !je.value.length && !Ge.value && !B.value.length), No = O(() => je.value.length > 0 && Et.value.length == 0 && (V.value && M.value || !M.value)), B = O(() => vt.value === !1 || !V.value ? [] : la(V.value) !== -1 ? [] : [{
5402
+ }), Mn = O(() => p !== void 0 && p.value !== void 0 ? p.value(pe.value, ve) : pe.value && pe.value.length > 1 ? `${pe.value.length} options selected` : "1 option selected"), Io = O(() => !je.value.length && !Ge.value && !B.value.length), No = O(() => je.value.length > 0 && Et.value.length == 0 && (V.value && M.value || !M.value)), B = O(() => vt.value === !1 || !V.value ? [] : la(V.value) !== -1 ? [] : [{
5403
5403
  [w.value]: V.value,
5404
5404
  [ee.value[0]]: V.value,
5405
5405
  [c.value]: V.value,
@@ -5422,7 +5422,7 @@ function A4(t, e, n) {
5422
5422
  He(pe.value.concat(j));
5423
5423
  break;
5424
5424
  }
5425
- e.emit("select", Me(j), j, ge);
5425
+ e.emit("select", Me(j), j, ve);
5426
5426
  }, Tt = (j) => {
5427
5427
  switch (typeof j != "object" && (j = un(j)), i.value) {
5428
5428
  case "single":
@@ -5433,7 +5433,7 @@ function A4(t, e, n) {
5433
5433
  He(Array.isArray(j) ? pe.value.filter((ue) => j.map((Be) => Be[w.value]).indexOf(ue[w.value]) === -1) : pe.value.filter((ue) => ue[w.value] != j[w.value]));
5434
5434
  break;
5435
5435
  }
5436
- e.emit("deselect", Me(j), j, ge);
5436
+ e.emit("deselect", Me(j), j, ve);
5437
5437
  }, Me = (j) => h.value ? j : j[w.value], Po = (j) => {
5438
5438
  Tt(j);
5439
5439
  }, Wi = (j, ue) => {
@@ -5443,7 +5443,7 @@ function A4(t, e, n) {
5443
5443
  }
5444
5444
  Po(j);
5445
5445
  }, jr = () => {
5446
- He(Se.value), e.emit("clear", ge);
5446
+ He(Se.value), e.emit("clear", ve);
5447
5447
  }, ln = (j) => {
5448
5448
  if (j.group !== void 0)
5449
5449
  return i.value === "single" ? !1 : aa(j[H.value]) && j[H.value].length;
@@ -5454,9 +5454,9 @@ function A4(t, e, n) {
5454
5454
  case "multiple":
5455
5455
  return !Gn(pe.value) && pe.value.map((ue) => ue[w.value]).indexOf(j[w.value]) !== -1;
5456
5456
  }
5457
- }, Zi = (j) => j[ve.value] === !0, Fo = () => L === void 0 || L.value === -1 || !ho.value && L.value > 0 ? !1 : pe.value.length >= L.value, Ki = (j) => {
5457
+ }, Zi = (j) => j[me.value] === !0, Fo = () => L === void 0 || L.value === -1 || !ho.value && L.value > 0 ? !1 : pe.value.length >= L.value, Ki = (j) => {
5458
5458
  if (!Zi(j)) {
5459
- if (Y && Y.value && !ln(j) && j.__CREATE__ && (j = { ...j }, delete j.__CREATE__, j = Y.value(j, ge), j instanceof Promise)) {
5459
+ if (K && K.value && !ln(j) && j.__CREATE__ && (j = { ...j }, delete j.__CREATE__, j = K.value(j, ve), j instanceof Promise)) {
5460
5460
  Ge.value = !0, j.then((ue) => {
5461
5461
  Ge.value = !1, cn(ue);
5462
5462
  });
@@ -5468,32 +5468,32 @@ function A4(t, e, n) {
5468
5468
  switch (j.__CREATE__ && (j = { ...j }, delete j.__CREATE__), i.value) {
5469
5469
  case "single":
5470
5470
  if (j && ln(j)) {
5471
- $.value && Tt(j), Z.value && (Ne(), K());
5471
+ $.value && Tt(j), Z.value && (Ne(), G());
5472
5472
  return;
5473
5473
  }
5474
- j && ci(j), S.value && _e(), W.value && (Ne(), K()), j && St(j);
5474
+ j && ci(j), S.value && _e(), W.value && (Ne(), G()), j && St(j);
5475
5475
  break;
5476
5476
  case "multiple":
5477
5477
  if (j && ln(j)) {
5478
- Tt(j), Z.value && (Ne(), K());
5478
+ Tt(j), Z.value && (Ne(), G());
5479
5479
  return;
5480
5480
  }
5481
5481
  if (Fo()) {
5482
- e.emit("max", ge);
5482
+ e.emit("max", ve);
5483
5483
  return;
5484
5484
  }
5485
- j && (ci(j), St(j)), S.value && _e(), a.value && Ne(), W.value && K();
5485
+ j && (ci(j), St(j)), S.value && _e(), a.value && Ne(), W.value && G();
5486
5486
  break;
5487
5487
  case "tags":
5488
5488
  if (j && ln(j)) {
5489
- Tt(j), Z.value && (Ne(), K());
5489
+ Tt(j), Z.value && (Ne(), G());
5490
5490
  return;
5491
5491
  }
5492
5492
  if (Fo()) {
5493
- e.emit("max", ge);
5493
+ e.emit("max", ve);
5494
5494
  return;
5495
5495
  }
5496
- j && ci(j), S.value && _e(), j && St(j), a.value && Ne(), W.value && K();
5496
+ j && ci(j), S.value && _e(), j && St(j), a.value && Ne(), W.value && G();
5497
5497
  break;
5498
5498
  }
5499
5499
  W.value || zt();
@@ -5503,17 +5503,17 @@ function A4(t, e, n) {
5503
5503
  case "multiple":
5504
5504
  case "tags":
5505
5505
  cc(j[H.value]) ? Tt(j[H.value]) : St(
5506
- j[H.value].filter((ue) => pe.value.map((Be) => Be[w.value]).indexOf(ue[w.value]) === -1).filter((ue) => !ue[ve.value]).filter((ue, Be) => pe.value.length + 1 + Be <= L.value || L.value === -1)
5507
- ), a.value && it.value && Re(Wn.value.filter((ue) => !ue[ve.value])[it.value.index]);
5506
+ j[H.value].filter((ue) => pe.value.map((Be) => Be[w.value]).indexOf(ue[w.value]) === -1).filter((ue) => !ue[me.value]).filter((ue, Be) => pe.value.length + 1 + Be <= L.value || L.value === -1)
5507
+ ), a.value && it.value && Re(Wn.value.filter((ue) => !ue[me.value])[it.value.index]);
5508
5508
  break;
5509
5509
  }
5510
5510
  W.value && We();
5511
5511
  }
5512
5512
  }, ci = (j) => {
5513
- un(j[w.value]) === void 0 && vt.value && (e.emit("tag", j[w.value], ge), e.emit("option", j[w.value], ge), e.emit("create", j[w.value], ge), yt.value && uc(j), _e());
5513
+ un(j[w.value]) === void 0 && vt.value && (e.emit("tag", j[w.value], ve), e.emit("option", j[w.value], ve), e.emit("create", j[w.value], ve), yt.value && uc(j), _e());
5514
5514
  }, zr = () => {
5515
5515
  i.value !== "single" && St(Et.value.filter((j) => !j.disabled && !ln(j)));
5516
- }, cc = (j) => j.find((ue) => !ln(ue) && !ue[ve.value]) === void 0, aa = (j) => j.find((ue) => !ln(ue)) === void 0, un = (j) => je.value[je.value.map((ue) => String(ue[w.value])).indexOf(String(j))], la = (j) => je.value.findIndex((ue) => ee.value.some((Be) => (parseInt(ue[Be]) == ue[Be] ? parseInt(ue[Be]) : ue[Be]) === (parseInt(j) == j ? parseInt(j) : j))), qr = (j) => ["tags", "multiple"].indexOf(i.value) !== -1 && a.value && ln(j), uc = (j) => {
5516
+ }, cc = (j) => j.find((ue) => !ln(ue) && !ue[me.value]) === void 0, aa = (j) => j.find((ue) => !ln(ue)) === void 0, un = (j) => je.value[je.value.map((ue) => String(ue[w.value])).indexOf(String(j))], la = (j) => je.value.findIndex((ue) => ee.value.some((Be) => (parseInt(ue[Be]) == ue[Be] ? parseInt(ue[Be]) : ue[Be]) === (parseInt(j) == j ? parseInt(j) : j))), qr = (j) => ["tags", "multiple"].indexOf(i.value) !== -1 && a.value && ln(j), uc = (j) => {
5517
5517
  Ue.value.push(j);
5518
5518
  }, ui = (j) => F.value ? j.filter(
5519
5519
  (ue) => V.value ? ue.__VISIBLE__.length : ue[H.value].length
@@ -5523,8 +5523,8 @@ function A4(t, e, n) {
5523
5523
  let ct = De.value;
5524
5524
  ct || (ct = (mo, On, Gr) => ee.value.some((go) => {
5525
5525
  let ua = yc(fe(mo[go]), z.value);
5526
- return Q.value ? ua.startsWith(yc(On, z.value)) : ua.indexOf(yc(On, z.value)) !== -1;
5527
- })), Be = Be.filter((mo) => ct(mo, V.value, ge));
5526
+ return X.value ? ua.startsWith(yc(On, z.value)) : ua.indexOf(yc(On, z.value)) !== -1;
5527
+ })), Be = Be.filter((mo) => ct(mo, V.value, ve));
5528
5528
  }
5529
5529
  return a.value && ue && (Be = Be.filter((ct) => !qr(ct))), Be;
5530
5530
  }, Wr = (j) => {
@@ -5536,7 +5536,7 @@ function A4(t, e, n) {
5536
5536
  }, tt = () => {
5537
5537
  Gn(J.value) || (pe.value = Bo(J.value));
5538
5538
  }, Ln = (j) => (Ge.value = !0, new Promise((ue, Be) => {
5539
- o.value(V.value, ge).then((ct) => {
5539
+ o.value(V.value, ve).then((ct) => {
5540
5540
  Ee.value = ct || [], typeof j == "function" && j(ct), Ge.value = !1;
5541
5541
  }).catch((ct) => {
5542
5542
  console.error(ct), Ee.value = [], Ge.value = !1;
@@ -5572,8 +5572,8 @@ function A4(t, e, n) {
5572
5572
  }), Kr = () => {
5573
5573
  rt.value = Oe(V, (j) => {
5574
5574
  j.length < m.value || !j && m.value !== 0 || (Ge.value = !0, C.value && (Ee.value = []), setTimeout(() => {
5575
- j == V.value && o.value(V.value, ge).then((ue) => {
5576
- (j == V.value || !V.value) && (Ee.value = ue, it.value = Et.value.filter((Be) => Be[ve.value] !== !0)[0] || null, Ge.value = !1);
5575
+ j == V.value && o.value(V.value, ve).then((ue) => {
5576
+ (j == V.value || !V.value) && (Ee.value = ue, it.value = Et.value.filter((Be) => Be[me.value] !== !0)[0] || null, Ge.value = !1);
5577
5577
  }).catch(
5578
5578
  /* istanbul ignore next */
5579
5579
  (ue) => {
@@ -5650,27 +5650,27 @@ function E4(t, e, n) {
5650
5650
  groupSelect: u,
5651
5651
  disabledProp: c,
5652
5652
  groupOptions: d
5653
- } = _n(t), f = n.fo, p = n.fg, h = n.handleOptionClick, _ = n.handleGroupClick, g = n.search, v = n.pointer, m = n.setPointer, y = n.clearPointer, C = n.multiselect, S = n.isOpen, w = O(() => f.value.filter((J) => !J[c.value])), T = O(() => p.value.filter((J) => !J[c.value])), E = O(() => l.value !== "single" && u.value), $ = O(() => v.value && v.value.group), L = O(() => ge(v.value)), z = O(() => {
5653
+ } = _n(t), f = n.fo, p = n.fg, h = n.handleOptionClick, _ = n.handleGroupClick, g = n.search, v = n.pointer, m = n.setPointer, y = n.clearPointer, C = n.multiselect, S = n.isOpen, w = O(() => f.value.filter((J) => !J[c.value])), T = O(() => p.value.filter((J) => !J[c.value])), E = O(() => l.value !== "single" && u.value), $ = O(() => v.value && v.value.group), L = O(() => ve(v.value)), z = O(() => {
5654
5654
  const J = $.value ? v.value : (
5655
5655
  /* istanbul ignore next */
5656
- ge(v.value)
5656
+ ve(v.value)
5657
5657
  ), V = T.value.map((He) => He[s.value]).indexOf(J[s.value]);
5658
5658
  let _e = T.value[V - 1];
5659
5659
  return _e === void 0 && (_e = Z.value), _e;
5660
5660
  }), W = O(() => {
5661
- let J = T.value.map((V) => V.label).indexOf($.value ? v.value[s.value] : ge(v.value)[s.value]) + 1;
5661
+ let J = T.value.map((V) => V.label).indexOf($.value ? v.value[s.value] : ve(v.value)[s.value]) + 1;
5662
5662
  return T.value.length <= J && (J = 0), T.value[J];
5663
5663
  }), Z = O(() => [...T.value].slice(-1)[0]), M = O(() => v.value.__VISIBLE__.filter((J) => !J[c.value])[0]), N = O(() => {
5664
5664
  const J = L.value.__VISIBLE__.filter((V) => !V[c.value]);
5665
5665
  return J[J.map((V) => V[o.value]).indexOf(v.value[o.value]) - 1];
5666
5666
  }), x = O(() => {
5667
- const J = ge(v.value).__VISIBLE__.filter((V) => !V[c.value]);
5667
+ const J = ve(v.value).__VISIBLE__.filter((V) => !V[c.value]);
5668
5668
  return J[J.map((V) => V[o.value]).indexOf(v.value[o.value]) + 1];
5669
- }), H = O(() => [...z.value.__VISIBLE__.filter((J) => !J[c.value])].slice(-1)[0]), F = O(() => [...Z.value.__VISIBLE__.filter((J) => !J[c.value])].slice(-1)[0]), I = (J) => v.value && (!J.group && v.value[o.value] === J[o.value] || J.group !== void 0 && v.value[s.value] === J[s.value]) ? !0 : void 0, Y = () => {
5669
+ }), H = O(() => [...z.value.__VISIBLE__.filter((J) => !J[c.value])].slice(-1)[0]), F = O(() => [...Z.value.__VISIBLE__.filter((J) => !J[c.value])].slice(-1)[0]), I = (J) => v.value && (!J.group && v.value[o.value] === J[o.value] || J.group !== void 0 && v.value[s.value] === J[s.value]) ? !0 : void 0, K = () => {
5670
5670
  m(w.value[0] || null);
5671
- }, ve = () => {
5671
+ }, me = () => {
5672
5672
  !v.value || v.value[c.value] === !0 || ($.value ? _(v.value) : h(v.value));
5673
- }, Q = () => {
5673
+ }, X = () => {
5674
5674
  if (v.value === null)
5675
5675
  m((a.value && E.value ? T.value[0].__CREATE__ ? w.value[0] : T.value[0] : w.value[0]) || null);
5676
5676
  else if (a.value && E.value) {
@@ -5699,7 +5699,7 @@ function E4(t, e, n) {
5699
5699
  Ut(() => {
5700
5700
  pe();
5701
5701
  });
5702
- }, ge = (J) => T.value.find((V) => V.__VISIBLE__.map((_e) => _e[o.value]).indexOf(J[o.value]) !== -1), pe = () => {
5702
+ }, ve = (J) => T.value.find((V) => V.__VISIBLE__.map((_e) => _e[o.value]).indexOf(J[o.value]) !== -1), pe = () => {
5703
5703
  let J = C.value.querySelector("[data-pointed]");
5704
5704
  if (!J)
5705
5705
  return;
@@ -5707,7 +5707,7 @@ function E4(t, e, n) {
5707
5707
  a.value && (V = $.value ? J.parentElement.parentElement.parentElement : J.parentElement.parentElement.parentElement.parentElement), J.offsetTop + J.offsetHeight > V.clientHeight + V.scrollTop && (V.scrollTop = J.offsetTop + J.offsetHeight - V.clientHeight), J.offsetTop < V.scrollTop && (V.scrollTop = J.offsetTop);
5708
5708
  };
5709
5709
  return Oe(g, (J) => {
5710
- r.value && (J.length && i.value ? Y() : y());
5710
+ r.value && (J.length && i.value ? K() : y());
5711
5711
  }), Oe(S, (J) => {
5712
5712
  if (J) {
5713
5713
  let V = C.value.querySelectorAll("[data-selected]")[0];
@@ -5722,9 +5722,9 @@ function E4(t, e, n) {
5722
5722
  pointer: v,
5723
5723
  canPointGroups: E,
5724
5724
  isPointed: I,
5725
- setPointerFirst: Y,
5726
- selectPointer: ve,
5727
- forwardPointer: Q,
5725
+ setPointerFirst: K,
5726
+ selectPointer: me,
5727
+ forwardPointer: X,
5728
5728
  backwardPointer: De
5729
5729
  };
5730
5730
  }
@@ -6416,10 +6416,10 @@ function C9(t) {
6416
6416
  };
6417
6417
  if (w) {
6418
6418
  if (r) {
6419
- var Z, M = C === "y" ? Fn : So, N = C === "y" ? lo : ti, x = C === "y" ? "height" : "width", H = w[C], F = H + g[M], I = H - g[N], Y = p ? -E[x] / 2 : 0, ve = m === wr ? T[x] : E[x], Q = m === wr ? -E[x] : -T[x], De = e.elements.arrow, ge = p && De ? Qh(De) : {
6419
+ var Z, M = C === "y" ? Fn : So, N = C === "y" ? lo : ti, x = C === "y" ? "height" : "width", H = w[C], F = H + g[M], I = H - g[N], K = p ? -E[x] / 2 : 0, me = m === wr ? T[x] : E[x], X = m === wr ? -E[x] : -T[x], De = e.elements.arrow, ve = p && De ? Qh(De) : {
6420
6420
  width: 0,
6421
6421
  height: 0
6422
- }, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : im(), J = pe[M], V = pe[N], _e = Na(0, T[x], ge[x]), He = y ? T[x] / 2 - Y - _e - J - L.mainAxis : ve - _e - J - L.mainAxis, it = y ? -T[x] / 2 + Y + _e + V + L.mainAxis : Q + _e + V + L.mainAxis, Re = e.elements.arrow && Ll(e.elements.arrow), Ne = Re ? C === "y" ? Re.clientTop || 0 : Re.clientLeft || 0 : 0, zt = (Z = z == null ? void 0 : z[C]) != null ? Z : 0, We = H + He - zt - Ne, K = H + it - zt, fe = Na(p ? Ja(F, We) : F, H, p ? ki(I, K) : I);
6422
+ }, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : im(), J = pe[M], V = pe[N], _e = Na(0, T[x], ve[x]), He = y ? T[x] / 2 - K - _e - J - L.mainAxis : me - _e - J - L.mainAxis, it = y ? -T[x] / 2 + K + _e + V + L.mainAxis : X + _e + V + L.mainAxis, Re = e.elements.arrow && Ll(e.elements.arrow), Ne = Re ? C === "y" ? Re.clientTop || 0 : Re.clientLeft || 0 : 0, zt = (Z = z == null ? void 0 : z[C]) != null ? Z : 0, We = H + He - zt - Ne, G = H + it - zt, fe = Na(p ? Ja(F, We) : F, H, p ? ki(I, G) : I);
6423
6423
  w[C] = fe, W[C] = fe - H;
6424
6424
  }
6425
6425
  if (a) {
@@ -6484,8 +6484,8 @@ function A9(t) {
6484
6484
  function E9(t) {
6485
6485
  var e = t.state, n = t.options, o = t.name;
6486
6486
  if (!e.modifiersData[o]._skip) {
6487
- for (var i = n.mainAxis, r = i === void 0 ? !0 : i, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, _ = n.allowedAutoPlacements, g = e.options.placement, v = Yo(g), m = v === g, y = l || (m || !h ? [Pa(g)] : A9(g)), C = [g].concat(y).reduce(function(ge, pe) {
6488
- return ge.concat(Yo(pe) === ld ? x9(e, {
6487
+ for (var i = n.mainAxis, r = i === void 0 ? !0 : i, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, _ = n.allowedAutoPlacements, g = e.options.placement, v = Yo(g), m = v === g, y = l || (m || !h ? [Pa(g)] : A9(g)), C = [g].concat(y).reduce(function(ve, pe) {
6488
+ return ve.concat(Yo(pe) === ld ? x9(e, {
6489
6489
  placement: pe,
6490
6490
  boundary: c,
6491
6491
  rootBoundary: d,
@@ -6503,8 +6503,8 @@ function E9(t) {
6503
6503
  }), H = M ? Z ? ti : So : Z ? lo : Fn;
6504
6504
  S[N] > w[N] && (H = Pa(H));
6505
6505
  var F = Pa(H), I = [];
6506
- if (r && I.push(x[W] <= 0), a && I.push(x[H] <= 0, x[F] <= 0), I.every(function(ge) {
6507
- return ge;
6506
+ if (r && I.push(x[W] <= 0), a && I.push(x[H] <= 0, x[F] <= 0), I.every(function(ve) {
6507
+ return ve;
6508
6508
  })) {
6509
6509
  $ = z, E = !1;
6510
6510
  break;
@@ -6512,7 +6512,7 @@ function E9(t) {
6512
6512
  T.set(z, I);
6513
6513
  }
6514
6514
  if (E)
6515
- for (var Y = h ? 3 : 1, ve = function(pe) {
6515
+ for (var K = h ? 3 : 1, me = function(pe) {
6516
6516
  var J = C.find(function(V) {
6517
6517
  var _e = T.get(V);
6518
6518
  if (_e)
@@ -6522,8 +6522,8 @@ function E9(t) {
6522
6522
  });
6523
6523
  if (J)
6524
6524
  return $ = J, "break";
6525
- }, Q = Y; Q > 0; Q--) {
6526
- var De = ve(Q);
6525
+ }, X = K; X > 0; X--) {
6526
+ var De = me(X);
6527
6527
  if (De === "break")
6528
6528
  break;
6529
6529
  }
@@ -6671,19 +6671,19 @@ function M9(t, e, n) {
6671
6671
  return {
6672
6672
  handleKeydown: (I) => {
6673
6673
  e.emit("keydown", I, h);
6674
- let Y, ve;
6675
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(I.key) !== -1 && o.value === "tags" && (Y = [...T.value.querySelectorAll("[data-tags] > *")].filter((Q) => Q !== $.value), ve = Y.findIndex((Q) => Q === document.activeElement)), I.key) {
6674
+ let K, me;
6675
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(I.key) !== -1 && o.value === "tags" && (K = [...T.value.querySelectorAll("[data-tags] > *")].filter((X) => X !== $.value), me = K.findIndex((X) => X === document.activeElement)), I.key) {
6676
6676
  case "Backspace":
6677
6677
  if (o.value === "single" || s.value && [null, ""].indexOf(m.value) === -1 || _.value.length === 0)
6678
6678
  return;
6679
- let Q = _.value.filter((De) => !De.disabled && De.remove !== !1);
6680
- Q.length && v(Q[Q.length - 1]);
6679
+ let X = _.value.filter((De) => !De.disabled && De.remove !== !1);
6680
+ X.length && v(X[X.length - 1]);
6681
6681
  break;
6682
6682
  case "Enter":
6683
6683
  if (I.preventDefault(), I.keyCode === 229)
6684
6684
  return;
6685
- if (ve !== -1 && ve !== void 0) {
6686
- g([..._.value].filter((De, ge) => ge !== ve)), ve === Y.length - 1 && (Y.length - 1 ? Y[Y.length - 2].focus() : s.value ? $.value.querySelector("input").focus() : E.value.focus());
6685
+ if (me !== -1 && me !== void 0) {
6686
+ g([..._.value].filter((De, ve) => ve !== me)), me === K.length - 1 && (K.length - 1 ? K[K.length - 2].focus() : s.value ? $.value.querySelector("input").focus() : E.value.focus());
6687
6687
  return;
6688
6688
  }
6689
6689
  if (N.value.indexOf("enter") === -1 && M.value)
@@ -6724,12 +6724,12 @@ function M9(t, e, n) {
6724
6724
  case "ArrowLeft":
6725
6725
  if (s.value && $.value && $.value.querySelector("input").selectionStart || I.shiftKey || o.value !== "tags" || !_.value || !_.value.length)
6726
6726
  return;
6727
- I.preventDefault(), ve === -1 ? Y[Y.length - 1].focus() : ve > 0 && Y[ve - 1].focus();
6727
+ I.preventDefault(), me === -1 ? K[K.length - 1].focus() : me > 0 && K[me - 1].focus();
6728
6728
  break;
6729
6729
  case "ArrowRight":
6730
- if (ve === -1 || I.shiftKey || o.value !== "tags" || !_.value || !_.value.length)
6730
+ if (me === -1 || I.shiftKey || o.value !== "tags" || !_.value || !_.value.length)
6731
6731
  return;
6732
- I.preventDefault(), Y.length > ve + 1 ? Y[ve + 1].focus() : s.value ? $.value.querySelector("input").focus() : s.value || E.value.focus();
6732
+ I.preventDefault(), K.length > me + 1 ? K[me + 1].focus() : s.value ? $.value.querySelector("input").focus() : s.value || E.value.focus();
6733
6733
  break;
6734
6734
  }
6735
6735
  },
@@ -7608,7 +7608,7 @@ function r8(t, e, n, o, i, r) {
7608
7608
  ]) : R("v-if", !0)
7609
7609
  ], 16, B9),
7610
7610
  R(" Options "),
7611
- (k(), X(An, {
7611
+ (k(), Q(An, {
7612
7612
  to: n.appendTo || "body",
7613
7613
  disabled: !n.appendToBody && !n.appendTo
7614
7614
  }, [
@@ -7834,7 +7834,7 @@ const Wt = /* @__PURE__ */ ce({
7834
7834
  return e.detached && _4({
7835
7835
  multiselect: o,
7836
7836
  appendTo: n.value
7837
- }), (i, r) => (k(), X(oe(Vo), {
7837
+ }), (i, r) => (k(), Q(oe(Vo), {
7838
7838
  ref_key: "multiselectRef",
7839
7839
  ref: o,
7840
7840
  class: "ao-multiselect",
@@ -7991,7 +7991,7 @@ const a8 = { class: "ao-tasks__list" }, l8 = ["id", "value", "readonly", "onChan
7991
7991
  key: S.id,
7992
7992
  class: "ao-subtask"
7993
7993
  }, [
7994
- ((w = t.isCheckable) == null ? void 0 : w.call(t, S)) ?? !1 ? (k(), X(xe, {
7994
+ ((w = t.isCheckable) == null ? void 0 : w.call(t, S)) ?? !1 ? (k(), Q(xe, {
7995
7995
  key: 0,
7996
7996
  class: "ao-subtask__check",
7997
7997
  "icon-name": S.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -8015,7 +8015,7 @@ const a8 = { class: "ao-tasks__list" }, l8 = ["id", "value", "readonly", "onChan
8015
8015
  onChange: (E) => h(E, S.id),
8016
8016
  onKeydown: ro(ke(m, ["prevent"]), ["enter"])
8017
8017
  }, null, 42, l8),
8018
- !t.isTemplate && t.users ? (k(), X(Wt, {
8018
+ !t.isTemplate && t.users ? (k(), Q(Wt, {
8019
8019
  key: 1,
8020
8020
  value: (T = S.assignee) != null && T.id ? [S.assignee.id] : [],
8021
8021
  options: f.value,
@@ -8044,7 +8044,7 @@ const a8 = { class: "ao-tasks__list" }, l8 = ["id", "value", "readonly", "onChan
8044
8044
  ]),
8045
8045
  _: 1
8046
8046
  }, 8, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : R("", !0),
8047
- t.isEditable ? (k(), X(xe, {
8047
+ t.isEditable ? (k(), Q(xe, {
8048
8048
  key: 2,
8049
8049
  class: "ao-subtask__delete",
8050
8050
  "icon-name": "CancelRounded",
@@ -8057,7 +8057,7 @@ const a8 = { class: "ao-tasks__list" }, l8 = ["id", "value", "readonly", "onChan
8057
8057
  }), 128))
8058
8058
  ]),
8059
8059
  b("div", c8, [
8060
- t.isEditable ? (k(), X(xe, {
8060
+ t.isEditable ? (k(), Q(xe, {
8061
8061
  key: 0,
8062
8062
  label: y.$t("activity.tasks.add"),
8063
8063
  "icon-name": "Add",
@@ -8183,7 +8183,7 @@ const d8 = { class: "ao-files__placeholder" }, f8 = {
8183
8183
  title: "Download",
8184
8184
  onClick: ke((m) => a(g), ["stop"])
8185
8185
  }, null, 8, ["onClick"]),
8186
- t.isEditable ? (k(), X(xe, {
8186
+ t.isEditable ? (k(), Q(xe, {
8187
8187
  key: 0,
8188
8188
  "icon-name": "DeleteOutlineRounded",
8189
8189
  variant: "ghost",
@@ -12804,14 +12804,14 @@ function Tm() {
12804
12804
  }
12805
12805
  }, N = function() {
12806
12806
  return L || ($ = cce(d, i), L = !0), $;
12807
- }, x = n, H = x.implementation, F = x.createNodeIterator, I = x.createDocumentFragment, Y = x.getElementsByTagName, ve = o.importNode;
12808
- let Q = Ff();
12807
+ }, x = n, H = x.implementation, F = x.createNodeIterator, I = x.createDocumentFragment, K = x.getElementsByTagName, me = o.importNode;
12808
+ let X = Ff();
12809
12809
  e.isSupported = typeof Am == "function" && typeof v == "function" && H && H.createHTMLDocument !== void 0;
12810
- const De = Jle, ge = Xle, pe = Qle, J = ece, V = tce, _e = nce, He = oce, it = rce;
12810
+ const De = Jle, ve = Xle, pe = Qle, J = ece, V = tce, _e = nce, He = oce, it = rce;
12811
12811
  let Re = If, Ne = null;
12812
12812
  const zt = ze({}, [...Df, ...Ic, ...Nc, ...Pc, ...Mf]);
12813
12813
  let We = null;
12814
- const K = ze({}, [...Lf, ...Fc, ...Of, ...ka]);
12814
+ const G = ze({}, [...Lf, ...Fc, ...Of, ...ka]);
12815
12815
  let fe = Object.seal(nr(null, {
12816
12816
  tagNameCheck: {
12817
12817
  writable: !0,
@@ -12908,7 +12908,7 @@ function Tm() {
12908
12908
  (!D || typeof D != "object") && (D = {}), D = qt(D), ui = // eslint-disable-next-line unicorn/prefer-includes
12909
12909
  Vr.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? Wr : D.PARSER_MEDIA_TYPE, tt = ui === "application/xhtml+xml" ? Oc : us, Ne = Ho(D, "ALLOWED_TAGS", zt, {
12910
12910
  transform: tt
12911
- }), We = Ho(D, "ALLOWED_ATTR", K, {
12911
+ }), We = Ho(D, "ALLOWED_ATTR", G, {
12912
12912
  transform: tt
12913
12913
  }), zr = Ho(D, "ALLOWED_NAMESPACES", cc, {
12914
12914
  transform: Oc
@@ -12926,7 +12926,7 @@ function Tm() {
12926
12926
  transform: tt
12927
12927
  }), Tt = Dt(D, "USE_PROFILES") ? D.USE_PROFILES && typeof D.USE_PROFILES == "object" ? qt(D.USE_PROFILES) : D.USE_PROFILES : !1, rt = D.ALLOW_ARIA_ATTR !== !1, Ye = D.ALLOW_DATA_ATTR !== !1, vt = D.ALLOW_UNKNOWN_PROTOCOLS || !1, yt = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, je = D.SAFE_FOR_TEMPLATES || !1, lt = D.SAFE_FOR_XML !== !1, Et = D.WHOLE_DOCUMENT || !1, Mn = D.RETURN_DOM || !1, Io = D.RETURN_DOM_FRAGMENT || !1, No = D.RETURN_TRUSTED_TYPE || !1, ho = D.FORCE_BODY || !1, B = D.SANITIZE_DOM !== !1, ee = D.SANITIZE_NAMED_PROPS || !1, mt = D.KEEP_CONTENT !== !1, St = D.IN_PLACE || !1, Re = Kle(D.ALLOWED_URI_REGEXP) ? D.ALLOWED_URI_REGEXP : If, Ro = typeof D.NAMESPACE == "string" ? D.NAMESPACE : cn, un = Dt(D, "MATHML_TEXT_INTEGRATION_POINTS") && D.MATHML_TEXT_INTEGRATION_POINTS && typeof D.MATHML_TEXT_INTEGRATION_POINTS == "object" ? qt(D.MATHML_TEXT_INTEGRATION_POINTS) : ze({}, aa), qr = Dt(D, "HTML_INTEGRATION_POINTS") && D.HTML_INTEGRATION_POINTS && typeof D.HTML_INTEGRATION_POINTS == "object" ? qt(D.HTML_INTEGRATION_POINTS) : ze({}, la);
12928
12928
  const q = Dt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? qt(D.CUSTOM_ELEMENT_HANDLING) : nr(null);
12929
- if (fe = nr(null), Dt(q, "tagNameCheck") && ca(q.tagNameCheck) && (fe.tagNameCheck = q.tagNameCheck), Dt(q, "attributeNameCheck") && ca(q.attributeNameCheck) && (fe.attributeNameCheck = q.attributeNameCheck), Dt(q, "allowCustomizedBuiltInElements") && typeof q.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = q.allowCustomizedBuiltInElements), jt(fe), je && (Ye = !1), Io && (Mn = !0), Tt && (Ne = ze({}, Mf), We = nr(null), Tt.html === !0 && (ze(Ne, Df), ze(We, Lf)), Tt.svg === !0 && (ze(Ne, Ic), ze(We, Fc), ze(We, ka)), Tt.svgFilters === !0 && (ze(Ne, Nc), ze(We, Fc), ze(We, ka)), Tt.mathMl === !0 && (ze(Ne, Pc), ze(We, Of), ze(We, ka))), Ge.tagCheck = null, Ge.attributeCheck = null, Dt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? Ge.tagCheck = D.ADD_TAGS : Wo(D.ADD_TAGS) && (Ne === zt && (Ne = qt(Ne)), ze(Ne, D.ADD_TAGS, tt))), Dt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? Ge.attributeCheck = D.ADD_ATTR : Wo(D.ADD_ATTR) && (We === K && (We = qt(We)), ze(We, D.ADD_ATTR, tt))), Dt(D, "ADD_URI_SAFE_ATTR") && Wo(D.ADD_URI_SAFE_ATTR) && ze(ln, D.ADD_URI_SAFE_ATTR, tt), Dt(D, "FORBID_CONTENTS") && Wo(D.FORBID_CONTENTS) && (Me === Po && (Me = qt(Me)), ze(Me, D.FORBID_CONTENTS, tt)), Dt(D, "ADD_FORBID_CONTENTS") && Wo(D.ADD_FORBID_CONTENTS) && (Me === Po && (Me = qt(Me)), ze(Me, D.ADD_FORBID_CONTENTS, tt)), mt && (Ne["#text"] = !0), Et && ze(Ne, ["html", "head", "body"]), Ne.table && (ze(Ne, ["tbody"]), delete Ue.tbody), D.TRUSTED_TYPES_POLICY) {
12929
+ if (fe = nr(null), Dt(q, "tagNameCheck") && ca(q.tagNameCheck) && (fe.tagNameCheck = q.tagNameCheck), Dt(q, "attributeNameCheck") && ca(q.attributeNameCheck) && (fe.attributeNameCheck = q.attributeNameCheck), Dt(q, "allowCustomizedBuiltInElements") && typeof q.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = q.allowCustomizedBuiltInElements), jt(fe), je && (Ye = !1), Io && (Mn = !0), Tt && (Ne = ze({}, Mf), We = nr(null), Tt.html === !0 && (ze(Ne, Df), ze(We, Lf)), Tt.svg === !0 && (ze(Ne, Ic), ze(We, Fc), ze(We, ka)), Tt.svgFilters === !0 && (ze(Ne, Nc), ze(We, Fc), ze(We, ka)), Tt.mathMl === !0 && (ze(Ne, Pc), ze(We, Of), ze(We, ka))), Ge.tagCheck = null, Ge.attributeCheck = null, Dt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? Ge.tagCheck = D.ADD_TAGS : Wo(D.ADD_TAGS) && (Ne === zt && (Ne = qt(Ne)), ze(Ne, D.ADD_TAGS, tt))), Dt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? Ge.attributeCheck = D.ADD_ATTR : Wo(D.ADD_ATTR) && (We === G && (We = qt(We)), ze(We, D.ADD_ATTR, tt))), Dt(D, "ADD_URI_SAFE_ATTR") && Wo(D.ADD_URI_SAFE_ATTR) && ze(ln, D.ADD_URI_SAFE_ATTR, tt), Dt(D, "FORBID_CONTENTS") && Wo(D.FORBID_CONTENTS) && (Me === Po && (Me = qt(Me)), ze(Me, D.FORBID_CONTENTS, tt)), Dt(D, "ADD_FORBID_CONTENTS") && Wo(D.ADD_FORBID_CONTENTS) && (Me === Po && (Me = qt(Me)), ze(Me, D.ADD_FORBID_CONTENTS, tt)), mt && (Ne["#text"] = !0), Et && ze(Ne, ["html", "head", "body"]), Ne.table && (ze(Ne, ["tbody"]), delete Ue.tbody), D.TRUSTED_TYPES_POLICY) {
12930
12930
  if (typeof D.TRUSTED_TYPES_POLICY.createHTML != "function")
12931
12931
  throw fi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
12932
12932
  if (typeof D.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -13081,7 +13081,7 @@ function Tm() {
13081
13081
  }
13082
13082
  }
13083
13083
  const Ae = q.body || q.documentElement;
13084
- return D && re && Ae.insertBefore(n.createTextNode(re), Ae.childNodes[0] || null), Ro === cn ? Y.call(q, Et ? "html" : "body")[0] : Et ? q.documentElement : Ae;
13084
+ return D && re && Ae.insertBefore(n.createTextNode(re), Ae.childNodes[0] || null), Ro === cn ? K.call(q, Et ? "html" : "body")[0] : Et ? q.documentElement : Ae;
13085
13085
  }, p1 = function(D) {
13086
13086
  const q = w ? w(D) : D.ownerDocument;
13087
13087
  return F.call(
@@ -13092,7 +13092,7 @@ function Tm() {
13092
13092
  null
13093
13093
  );
13094
13094
  }, da = function(D) {
13095
- return D = is(D, De, " "), D = is(D, ge, " "), D = is(D, pe, " "), D;
13095
+ return D = is(D, De, " "), D = is(D, ve, " "), D = is(D, pe, " "), D;
13096
13096
  }, dc = function(D) {
13097
13097
  var q;
13098
13098
  D.normalize();
@@ -13177,12 +13177,12 @@ function Tm() {
13177
13177
  }, h1 = function(D, q, re, Ce) {
13178
13178
  return D.length === 0 ? q : q === re || q === Ce ? qt(q) : q;
13179
13179
  }, m1 = function(D, q) {
13180
- if (Zn(Q.beforeSanitizeElements, D, null), D !== q && v(D) === null)
13180
+ if (Zn(X.beforeSanitizeElements, D, null), D !== q && v(D) === null)
13181
13181
  return St && Yr(D), !0;
13182
13182
  if (fa(D))
13183
13183
  return On(D), !0;
13184
13184
  const re = tt(S ? S(D) : D.nodeName);
13185
- if (Ne = h1(Q.uponSanitizeElement, Ne, zt, Dn), Zn(Q.uponSanitizeElement, D, {
13185
+ if (Ne = h1(X.uponSanitizeElement, Ne, zt, Dn), Zn(X.uponSanitizeElement, D, {
13186
13186
  tagName: re,
13187
13187
  allowedTags: Ne
13188
13188
  }), D !== q && v(D) === null)
@@ -13191,7 +13191,7 @@ function Tm() {
13191
13191
  return On(D), !0;
13192
13192
  if (Ue[re] || !(Ge.tagCheck instanceof Function && Ge.tagCheck(re)) && !Ne[re]) {
13193
13193
  const Ae = sv(D, re, q);
13194
- return Ae === !1 && Zn(Q.afterSanitizeElements, D, null), Ae;
13194
+ return Ae === !1 && Zn(X.afterSanitizeElements, D, null), Ae;
13195
13195
  }
13196
13196
  if ((C ? C(D) : D.nodeType) === dn.element && !mo(D) || (re === "noscript" || re === "noembed" || re === "noframes") && $t(sce, D.innerHTML))
13197
13197
  return On(D), !0;
@@ -13201,7 +13201,7 @@ function Tm() {
13201
13201
  element: D.cloneNode()
13202
13202
  }), D.textContent = Ae);
13203
13203
  }
13204
- return Zn(Q.afterSanitizeElements, D, null), !1;
13204
+ return Zn(X.afterSanitizeElements, D, null), !1;
13205
13205
  }, g1 = function(D, q, re) {
13206
13206
  if (Ee[q] || lt && q === "patchsrc" || lt && q === "for" && D !== "label" && D !== "output" || B && (q === "id" || q === "name") && (re in n || re in Zr))
13207
13207
  return !1;
@@ -13249,11 +13249,11 @@ function Tm() {
13249
13249
  go(q, D);
13250
13250
  }
13251
13251
  }, y1 = function(D) {
13252
- Zn(Q.beforeSanitizeAttributes, D, null);
13252
+ Zn(X.beforeSanitizeAttributes, D, null);
13253
13253
  const q = D.attributes;
13254
13254
  if (!q || fa(D))
13255
13255
  return;
13256
- We = h1(Q.uponSanitizeAttribute, We, K, Wn);
13256
+ We = h1(X.uponSanitizeAttribute, We, G, Wn);
13257
13257
  const re = {
13258
13258
  attrName: "",
13259
13259
  attrValue: "",
@@ -13266,7 +13266,7 @@ function Tm() {
13266
13266
  for (; Ce--; ) {
13267
13267
  const Pe = q[Ce], nt = Pe.name, ut = Pe.namespaceURI, en = Pe.value, tn = tt(nt), pc = en;
13268
13268
  let Yt = nt === "value" ? pc : jle(pc);
13269
- if (re.attrName = tn, re.attrValue = Yt, re.keepAttr = !0, re.forceKeepAttr = void 0, Zn(Q.uponSanitizeAttribute, D, re), Yt = re.attrValue, ee && (tn === "id" || tn === "name") && Ef(Yt, Se) !== 0 && (go(nt, D), Yt = Se + Yt), lt && $t(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Yt)) {
13269
+ if (re.attrName = tn, re.attrValue = Yt, re.keepAttr = !0, re.forceKeepAttr = void 0, Zn(X.uponSanitizeAttribute, D, re), Yt = re.attrValue, ee && (tn === "id" || tn === "name") && Ef(Yt, Se) !== 0 && (go(nt, D), Yt = Se + Yt), lt && $t(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Yt)) {
13270
13270
  go(nt, D);
13271
13271
  continue;
13272
13272
  }
@@ -13290,16 +13290,16 @@ function Tm() {
13290
13290
  Yt = lv(Ae, tn, ut, Yt), Yt !== pc && cv(D, nt, ut, Yt);
13291
13291
  }
13292
13292
  }
13293
- Zn(Q.afterSanitizeAttributes, D, null);
13293
+ Zn(X.afterSanitizeAttributes, D, null);
13294
13294
  }, pa = function(D) {
13295
13295
  let q = null;
13296
13296
  const re = p1(D);
13297
- for (Zn(Q.beforeSanitizeShadowDOM, D, null); q = re.nextNode(); )
13298
- if (Zn(Q.uponSanitizeShadowNode, q, null), m1(q, D), y1(q), Gi(q.content) && pa(q.content), (C ? C(q) : q.nodeType) === dn.element) {
13297
+ for (Zn(X.beforeSanitizeShadowDOM, D, null); q = re.nextNode(); )
13298
+ if (Zn(X.uponSanitizeShadowNode, q, null), m1(q, D), y1(q), Gi(q.content) && pa(q.content), (C ? C(q) : q.nodeType) === dn.element) {
13299
13299
  const Ae = m(q);
13300
13300
  Gi(Ae) && (fc(Ae), pa(Ae));
13301
13301
  }
13302
- Zn(Q.afterSanitizeShadowDOM, D, null);
13302
+ Zn(X.afterSanitizeShadowDOM, D, null);
13303
13303
  }, fc = function(D) {
13304
13304
  const q = [{
13305
13305
  node: D,
@@ -13346,7 +13346,7 @@ function Tm() {
13346
13346
  throw fi("dirty is not a string, aborting");
13347
13347
  if (!e.isSupported)
13348
13348
  return de;
13349
- an ? (Ne = Dn, We = Wn) : Bo(D), (Q.uponSanitizeElement.length > 0 || Q.uponSanitizeAttribute.length > 0) && (Ne = qt(Ne)), Q.uponSanitizeAttribute.length > 0 && (We = qt(We)), e.removed = [];
13349
+ an ? (Ne = Dn, We = Wn) : Bo(D), (X.uponSanitizeElement.length > 0 || X.uponSanitizeAttribute.length > 0) && (Ne = qt(Ne)), X.uponSanitizeAttribute.length > 0 && (We = qt(We)), e.removed = [];
13350
13350
  const Pe = St && typeof de != "string" && Jr(de);
13351
13351
  if (Pe) {
13352
13352
  iv(de);
@@ -13393,7 +13393,7 @@ function Tm() {
13393
13393
  Ae.appendChild(q.firstChild);
13394
13394
  else
13395
13395
  Ae = q;
13396
- return (We.shadowroot || We.shadowrootmode) && (Ae = ve.call(o, Ae, !0)), Ae;
13396
+ return (We.shadowroot || We.shadowrootmode) && (Ae = me.call(o, Ae, !0)), Ae;
13397
13397
  }
13398
13398
  let ut = Et ? q.outerHTML : q.innerHTML;
13399
13399
  return Et && Ne["!doctype"] && q.ownerDocument && q.ownerDocument.doctype && q.ownerDocument.doctype.name && $t(ice, q.ownerDocument.doctype.name) && (ut = "<!DOCTYPE " + q.ownerDocument.doctype.name + `>
@@ -13408,19 +13408,19 @@ function Tm() {
13408
13408
  const re = tt(de), Ce = tt(D);
13409
13409
  return g1(re, Ce, q);
13410
13410
  }, e.addHook = function(de, D) {
13411
- typeof D == "function" && Dt(Q, de) && Qi(Q[de], D);
13411
+ typeof D == "function" && Dt(X, de) && Qi(X[de], D);
13412
13412
  }, e.removeHook = function(de, D) {
13413
- if (Dt(Q, de)) {
13413
+ if (Dt(X, de)) {
13414
13414
  if (D !== void 0) {
13415
- const q = Ule(Q[de], D);
13416
- return q === -1 ? void 0 : Hle(Q[de], q, 1)[0];
13415
+ const q = Ule(X[de], D);
13416
+ return q === -1 ? void 0 : Hle(X[de], q, 1)[0];
13417
13417
  }
13418
- return xf(Q[de]);
13418
+ return xf(X[de]);
13419
13419
  }
13420
13420
  }, e.removeHooks = function(de) {
13421
- Dt(Q, de) && (Q[de] = []);
13421
+ Dt(X, de) && (X[de] = []);
13422
13422
  }, e.removeAllHooks = function() {
13423
- Q = Ff();
13423
+ X = Ff();
13424
13424
  }, e;
13425
13425
  }
13426
13426
  var uce = Tm();
@@ -13508,7 +13508,7 @@ function Om(t, e, n, o, i, r) {
13508
13508
  let s = t.getFirstChild();
13509
13509
  for (; s !== null; ) {
13510
13510
  const a = s.__key;
13511
- s.__parent === e && (G(s) && Om(s, a, n, o, i, r), n.has(a) || r.delete(a), i.push(a)), s = s.getNextSibling();
13511
+ s.__parent === e && (Y(s) && Om(s, a, n, o, i, r), n.has(a) || r.delete(a), i.push(a)), s = s.getNextSibling();
13512
13512
  }
13513
13513
  }
13514
13514
  let fu = !1, Cd = 0;
@@ -13825,7 +13825,7 @@ function Kf(t) {
13825
13825
  t.set(o.__key, i ? o.getTextContentSize() : 0, "text", !0);
13826
13826
  break;
13827
13827
  }
13828
- if (!G(o))
13828
+ if (!Y(o))
13829
13829
  break;
13830
13830
  t.set(o.__key, i ? o.getChildrenSize() : 0, "element", !0);
13831
13831
  }
@@ -13837,7 +13837,7 @@ function nl(t, e) {
13837
13837
  const o = _u(t);
13838
13838
  o.parentNode === e && e.removeChild(o);
13839
13839
  }
13840
- if (Rn.has(t) || Gt._keyToDOMMap.delete(t), G(n)) {
13840
+ if (Rn.has(t) || Gt._keyToDOMMap.delete(t), Y(n)) {
13841
13841
  const o = il(n, Oi);
13842
13842
  gu(o, 0, o.length - 1, null);
13843
13843
  }
@@ -13889,7 +13889,7 @@ function ol(t, e) {
13889
13889
  const d = `__lexicalKey_${u._key}`;
13890
13890
  l[d] = c;
13891
13891
  })(r, s, i), a.set(i, r);
13892
- }(t, o, Gt), ae(n) ? o.setAttribute("data-lexical-text", "true") : Ve(n) && o.setAttribute("data-lexical-decorator", "true"), G(n)) {
13892
+ }(t, o, Gt), ae(n) ? o.setAttribute("data-lexical-text", "true") : Ve(n) && o.setAttribute("data-lexical-decorator", "true"), Y(n)) {
13893
13893
  const i = n.__indent, r = n.__size;
13894
13894
  if (vu(o, n), i !== 0 && Hm(o, i), r !== 0) {
13895
13895
  const a = r - 1;
@@ -14019,7 +14019,7 @@ function ds(t, e) {
14019
14019
  n !== void 0 && o !== void 0 || se(61);
14020
14020
  const i = or || hu.has(t) || pu.has(t), r = Ni(Gt, t);
14021
14021
  if (n === o && !i) {
14022
- if (G(n)) {
14022
+ if (Y(n)) {
14023
14023
  const s = r.__lexicalTextContent;
14024
14024
  s !== void 0 && (xt += s, ko += s);
14025
14025
  } else {
@@ -14032,13 +14032,13 @@ function ds(t, e) {
14032
14032
  const s = ol(t, null);
14033
14033
  return e === null && se(62), e.replaceChild(s, r), nl(t, null), s;
14034
14034
  }
14035
- if (G(n) && G(o)) {
14035
+ if (Y(n) && Y(o)) {
14036
14036
  const s = o.__indent;
14037
14037
  (or || s !== n.__indent) && Hm(r, s);
14038
14038
  const a = o.__format;
14039
14039
  if ((or || a !== n.__format) && jm(r, a), i && (Bce(n, o, r), bt(o) || o.isInline() || zm(n, o, r)), Ql(o) && (xt += ni, ko += ni), (or || o.__dir !== n.__dir) && (vu(r, o), bt(o) && !or))
14040
14040
  for (const l of o.getChildren())
14041
- G(l) && vu(Ni(Gt, l.getKey()), l);
14041
+ Y(l) && vu(Ni(Gt, l.getKey()), l);
14042
14042
  } else {
14043
14043
  const s = o.getTextContent();
14044
14044
  if (Ve(o)) {
@@ -14239,8 +14239,8 @@ const Vm = Te("SELECTION_CHANGE_COMMAND"), Hce = Te("SELECTION_INSERT_CLIPBOARD_
14239
14239
  if (r.type === "element" && r.offset === 0 && n.isCollapsed() && !bt(s) && ft().getChildrenSize() === 1 && s.getTopLevelElementOrThrow().isEmpty() && i !== null && n.is(i))
14240
14240
  o.removeAllRanges(), n.dirty = !0;
14241
14241
  else if (t.detail === 3 && !n.isCollapsed() && s !== n.focus.getNode()) {
14242
- const a = Zt(s, (l) => G(l) && !l.isInline());
14243
- G(a) && a.select(0);
14242
+ const a = Zt(s, (l) => Y(l) && !l.isInline());
14243
+ Y(a) && a.select(0);
14244
14244
  }
14245
14245
  } else if (t.pointerType === "touch" || t.pointerType === "pen") {
14246
14246
  const r = o.anchorNode;
@@ -14313,7 +14313,7 @@ el && ku.push(["beforeinput", (t, e) => function(n, o) {
14313
14313
  break;
14314
14314
  case "deleteByComposition":
14315
14315
  (function(p, h) {
14316
- return p !== h || G(p) || G(h) || !Si(p) || !Si(h);
14316
+ return p !== h || Y(p) || Y(h) || !Si(p) || !Si(h);
14317
14317
  })(d, f) && be(o, bu, n);
14318
14318
  break;
14319
14319
  case "deleteByDrag":
@@ -14384,7 +14384,7 @@ function lg(t, e, n, o, i) {
14384
14384
  const g = h.anchor.offset, v = _.getParentOrThrow(), m = Si(_);
14385
14385
  return g === 0 ? !_.canInsertTextBefore() || !v.canInsertTextBefore() && !_.isComposing() || m || function(y) {
14386
14386
  const C = y.getPreviousSibling();
14387
- return (ae(C) || G(C) && C.isInline()) && !C.canInsertTextAfter();
14387
+ return (ae(C) || Y(C) && C.isInline()) && !C.canInsertTextAfter();
14388
14388
  }(_) : g === _.getTextContentSize() && (!_.canInsertTextAfter() || !v.canInsertTextAfter() && !_.isComposing() || m);
14389
14389
  }(t, a);
14390
14390
  }
@@ -14413,7 +14413,7 @@ function Xf(t, e, n) {
14413
14413
  else if (l.type === "text")
14414
14414
  ae(u) || se(141), cg(a, u);
14415
14415
  else if (l.type === "element" && !m) {
14416
- G(u) || se(259);
14416
+ Y(u) || se(259);
14417
14417
  const y = l.getNode();
14418
14418
  y.isEmpty() ? function(C, S) {
14419
14419
  const w = S.getTextFormat(), T = S.getTextStyle();
@@ -14520,7 +14520,7 @@ function Au(t, e, n) {
14520
14520
  return;
14521
14521
  const r = function(a) {
14522
14522
  const l = he();
14523
- if (!ie(l) || !G(a))
14523
+ if (!ie(l) || !Y(a))
14524
14524
  return l;
14525
14525
  const { anchor: u, focus: c } = l, d = u.getNode(), f = c.getNode();
14526
14526
  return Mu(d, a) && u.set(a.__key, 0, "element"), Mu(f, a) && c.set(a.__key, 0, "element"), l;
@@ -14634,7 +14634,7 @@ class Bn {
14634
14634
  for (; e !== null; ) {
14635
14635
  const n = e.getParent();
14636
14636
  if (Xt(n))
14637
- return G(e) || e === this && Ve(e) || se(194), e;
14637
+ return Y(e) || e === this && Ve(e) || se(194), e;
14638
14638
  e = n;
14639
14639
  }
14640
14640
  return null;
@@ -14682,7 +14682,7 @@ class Bn {
14682
14682
  return e;
14683
14683
  }
14684
14684
  getCommonAncestor(e) {
14685
- const n = G(this) ? this : this.getParent(), o = G(e) ? e : e.getParent(), i = n && o ? Ba(n, o) : null;
14685
+ const n = Y(this) ? this : this.getParent(), o = Y(e) ? e : e.getParent(), i = n && o ? Ba(n, o) : null;
14686
14686
  return i ? i.commonAncestor : null;
14687
14687
  }
14688
14688
  is(e) {
@@ -14703,7 +14703,7 @@ class Bn {
14703
14703
  const s = r.__key;
14704
14704
  if (i.has(s) || (i.add(s), o.push(r)), r === e)
14705
14705
  break;
14706
- const a = G(r) ? n ? r.getFirstChild() : r.getLastChild() : null;
14706
+ const a = Y(r) ? n ? r.getFirstChild() : r.getLastChild() : null;
14707
14707
  if (a !== null) {
14708
14708
  r = a;
14709
14709
  continue;
@@ -14790,7 +14790,7 @@ class Bn {
14790
14790
  const i = this.getLatest(), r = this.__key, s = e.__key, a = e.getWritable(), l = this.getParentOrThrow().getWritable(), u = l.__size;
14791
14791
  xi(a);
14792
14792
  const c = i.getPreviousSibling(), d = i.getNextSibling(), f = i.__prev, p = i.__next, h = i.__parent;
14793
- if (Au(i, !1, !0), c === null ? l.__first = s : c.getWritable().__next = s, a.__prev = f, d === null ? l.__last = s : d.getWritable().__prev = s, a.__next = p, a.__parent = h, l.__size = u, n && (G(this) && G(a) || se(139), this.getChildren().forEach((_) => {
14793
+ if (Au(i, !1, !0), c === null ? l.__first = s : c.getWritable().__next = s, a.__prev = f, d === null ? l.__last = s : d.getWritable().__prev = s, a.__next = p, a.__parent = h, l.__size = u, n && (Y(this) && Y(a) || se(139), this.getChildren().forEach((_) => {
14794
14794
  a.append(_);
14795
14795
  })), ie(o)) {
14796
14796
  Ft(o);
@@ -14845,7 +14845,7 @@ class Bn {
14845
14845
  const o = this.getPreviousSibling(), i = this.getParentOrThrow();
14846
14846
  if (o === null)
14847
14847
  return i.select(0, 0);
14848
- if (G(o))
14848
+ if (Y(o))
14849
14849
  return o.select();
14850
14850
  if (!ae(o)) {
14851
14851
  const r = o.getIndexWithinParent() + 1;
@@ -14858,7 +14858,7 @@ class Bn {
14858
14858
  const o = this.getNextSibling(), i = this.getParentOrThrow();
14859
14859
  if (o === null)
14860
14860
  return i.select();
14861
- if (G(o))
14861
+ if (Y(o))
14862
14862
  return o.select(0, 0);
14863
14863
  if (!ae(o)) {
14864
14864
  const r = o.getIndexWithinParent();
@@ -15435,7 +15435,7 @@ function Vc(t, e) {
15435
15435
  i = "text";
15436
15436
  const r = e.getTextContentSize();
15437
15437
  o > r && (o = r);
15438
- } else if (!G(e)) {
15438
+ } else if (!Y(e)) {
15439
15439
  const r = e.getNextSibling();
15440
15440
  if (ae(r))
15441
15441
  n = r.__key, o = 0, i = "text";
@@ -15447,9 +15447,9 @@ function Vc(t, e) {
15447
15447
  t.set(n, o, i);
15448
15448
  }
15449
15449
  function rp(t, e) {
15450
- if (G(e)) {
15450
+ if (Y(e)) {
15451
15451
  const n = e.getLastDescendant();
15452
- G(n) || ae(n) ? Vc(t, n) : Vc(t, e);
15452
+ Y(n) || ae(n) ? Vc(t, n) : Vc(t, e);
15453
15453
  } else
15454
15454
  Vc(t, e);
15455
15455
  }
@@ -15583,14 +15583,14 @@ class ji {
15583
15583
  i.length === 0 ? a.add(c) : (l.add(c), i.push(c));
15584
15584
  } else {
15585
15585
  const { origin: c } = u;
15586
- G(c) && l.has(c) || i.push(c);
15586
+ Y(c) && l.has(c) || i.push(c);
15587
15587
  }
15588
- if (s && i.push(s.caret.origin), $r(o.focus) && G(o.focus.origin) && o.focus.getNodeAtCaret() === null)
15588
+ if (s && i.push(s.caret.origin), $r(o.focus) && Y(o.focus.origin) && o.focus.getNodeAtCaret() === null)
15589
15589
  for (let u = jn(o.focus.origin, "previous"); io(u) && a.has(u.origin) && !u.origin.isEmpty() && u.origin.is(i[i.length - 1]); u = zd(u))
15590
15590
  a.delete(u.origin), i.pop();
15591
15591
  for (; i.length > 1; ) {
15592
15592
  const u = i[i.length - 1];
15593
- if (!G(u) || l.has(u) || u.isEmpty() || a.has(u))
15593
+ if (!Y(u) || l.has(u) || u.isEmpty() || a.has(u))
15594
15594
  break;
15595
15595
  i.pop();
15596
15596
  }
@@ -15613,7 +15613,7 @@ class ji {
15613
15613
  let u = "", c = !0;
15614
15614
  for (let d = 0; d < e.length; d++) {
15615
15615
  const f = e[d];
15616
- if (G(f) && !f.isInline())
15616
+ if (Y(f) && !f.isInline())
15617
15617
  c || (u += `
15618
15618
  `), c = !f.isEmpty();
15619
15619
  else if (c = !1, ae(f)) {
@@ -15691,7 +15691,7 @@ class ji {
15691
15691
  g.setFormat(i), f.replace(g), f = g;
15692
15692
  } else if (!this.isCollapsed() && e !== "") {
15693
15693
  const g = _.getParent();
15694
- if (!h.canInsertTextBefore() || !h.canInsertTextAfter() || G(g) && (!g.canInsertTextBefore() || !g.canInsertTextAfter()))
15694
+ if (!h.canInsertTextBefore() || !h.canInsertTextAfter() || Y(g) && (!g.canInsertTextBefore() || !g.canInsertTextAfter()))
15695
15695
  return this.insertText(""), vg(this.anchor, this.focus, null), void this.insertText(e);
15696
15696
  }
15697
15697
  if (d === 1) {
@@ -15721,8 +15721,8 @@ class ji {
15721
15721
  const m = u - l;
15722
15722
  f = f.spliceText(l, m, e, !0), f.getTextContent() === "" ? f.remove() : this.anchor.type === "text" && (f.isComposing() ? this.anchor.offset -= e.length : (this.format = g, this.style = v));
15723
15723
  } else {
15724
- const g = /* @__PURE__ */ new Set([...f.getParentKeys(), ..._.getParentKeys()]), v = G(f) ? f : f.getParentOrThrow();
15725
- let m = G(_) ? _ : _.getParentOrThrow(), y = _;
15724
+ const g = /* @__PURE__ */ new Set([...f.getParentKeys(), ..._.getParentKeys()]), v = Y(f) ? f : f.getParentOrThrow();
15725
+ let m = Y(_) ? _ : _.getParentOrThrow(), y = _;
15726
15726
  if (!v.is(m) && m.isInline())
15727
15727
  do
15728
15728
  y = m, m = m.getParentOrThrow();
@@ -15743,7 +15743,7 @@ class ji {
15743
15743
  const C = m.getChildren(), S = new Set(c), w = v.is(m), T = v.isInline() && f.getNextSibling() === null ? v : f;
15744
15744
  for (let E = C.length - 1; E >= 0; E--) {
15745
15745
  const $ = C[E];
15746
- if ($.is(f) || G($) && $.isParentOf(f))
15746
+ if ($.is(f) || Y($) && $.isParentOf(f))
15747
15747
  break;
15748
15748
  $.isAttached() && (!S.has($) || $.is(y) ? w || T.insertAfter($, !1) : $.remove());
15749
15749
  }
@@ -15781,7 +15781,7 @@ class ji {
15781
15781
  ae(C) && i.push(C);
15782
15782
  const r = (C) => {
15783
15783
  o.forEach((S) => {
15784
- if (G(S)) {
15784
+ if (Y(S)) {
15785
15785
  const w = S.getFormatFlags(e, C);
15786
15786
  S.setTextFormat(w);
15787
15787
  }
@@ -15827,7 +15827,7 @@ class ji {
15827
15827
  return ie(h) || se(134), h.insertNodes(e);
15828
15828
  }
15829
15829
  const n = (this.isBackward() ? this.focus : this.anchor).getNode(), o = Zt(n, kn), i = e[e.length - 1];
15830
- if (G(o) && "__language" in o) {
15830
+ if (Y(o) && "__language" in o) {
15831
15831
  if ("__language" in e[0])
15832
15832
  this.insertText(e[0].getTextContent());
15833
15833
  else {
@@ -15836,8 +15836,8 @@ class ji {
15836
15836
  }
15837
15837
  return;
15838
15838
  }
15839
- if (!e.some((h) => (G(h) || Ve(h)) && !h.isInline())) {
15840
- G(o) || se(211, n.constructor.name, n.getType());
15839
+ if (!e.some((h) => (Y(h) || Ve(h)) && !h.isInline())) {
15840
+ Y(o) || se(211, n.constructor.name, n.getType());
15841
15841
  const h = Wc(this);
15842
15842
  return o.splice(h, 0, e), void i.selectEnd();
15843
15843
  }
@@ -15846,7 +15846,7 @@ class ji {
15846
15846
  let g = null;
15847
15847
  for (let v = 0; v < h.length; v++) {
15848
15848
  const m = h[v], y = oo(m);
15849
- if (y || Ve(m) && m.isInline() || G(m) && m.isInline() || ae(m) || m.isParentRequired()) {
15849
+ if (y || Ve(m) && m.isInline() || Y(m) && m.isInline() || ae(m) || m.isParentRequired()) {
15850
15850
  if (g === null && (g = m.createParentElementNode(), _.append(g), y))
15851
15851
  continue;
15852
15852
  g !== null && g.append(m);
@@ -15854,10 +15854,10 @@ class ji {
15854
15854
  _.append(m), g = null;
15855
15855
  }
15856
15856
  return _;
15857
- }(e), s = r.getLastDescendant(), a = r.getChildren(), l = !G(o) || !o.isEmpty() ? this.insertParagraph() : null, u = a[a.length - 1];
15857
+ }(e), s = r.getLastDescendant(), a = r.getChildren(), l = !Y(o) || !o.isEmpty() ? this.insertParagraph() : null, u = a[a.length - 1];
15858
15858
  let c = a[0];
15859
15859
  var d;
15860
- G(d = c) && kn(d) && !d.isEmpty() && G(o) && (!o.isEmpty() || o.canMergeWhenEmpty()) && (G(o) || se(211, n.constructor.name, n.getType()), o.append(...c.getChildren()), c = a[1]), c && (o === null && se(212, n.constructor.name, n.getType()), function(h, _) {
15860
+ Y(d = c) && kn(d) && !d.isEmpty() && Y(o) && (!o.isEmpty() || o.canMergeWhenEmpty()) && (Y(o) || se(211, n.constructor.name, n.getType()), o.append(...c.getChildren()), c = a[1]), c && (o === null && se(212, n.constructor.name, n.getType()), function(h, _) {
15861
15861
  const g = _.getParentOrThrow().getLastChild();
15862
15862
  let v = _;
15863
15863
  const m = [_];
@@ -15868,8 +15868,8 @@ class ji {
15868
15868
  y = y.insertAfter(C);
15869
15869
  }(o, c));
15870
15870
  const f = Zt(s, kn);
15871
- l && G(f) && (l.canMergeWhenEmpty() || kn(u)) && (f.append(...l.getChildren()), l.remove()), G(o) && o.isEmpty() && o.remove(), s.selectEnd();
15872
- const p = G(o) ? o.getLastChild() : null;
15871
+ l && Y(f) && (l.canMergeWhenEmpty() || kn(u)) && (f.append(...l.getChildren()), l.remove()), Y(o) && o.isEmpty() && o.remove(), s.selectEnd();
15872
+ const p = Y(o) ? o.getLastChild() : null;
15873
15873
  oo(p) && f !== o && p.remove();
15874
15874
  }
15875
15875
  insertParagraph() {
@@ -15878,7 +15878,7 @@ class ji {
15878
15878
  return ft().splice(this.anchor.offset, 0, [s]), s.select(), s;
15879
15879
  }
15880
15880
  const e = Wc(this), n = Zt(this.anchor.getNode(), kn);
15881
- G(n) || se(213);
15881
+ Y(n) || se(213);
15882
15882
  const o = n.getChildAtIndex(e), i = o ? [o, ...o.getNextSiblings()] : [], r = n.insertNewAfter(this, !1);
15883
15883
  return r ? (r.append(...i), r.selectStart(), r) : null;
15884
15884
  }
@@ -15915,7 +15915,7 @@ class ji {
15915
15915
  if (!s)
15916
15916
  return;
15917
15917
  const a = r._blockCursorElement, l = r._rootElement, u = this.focus.getNode();
15918
- if (l === null || a === null || !G(u) || u.isInline() || u.canBeEmpty() || Lu(a, r, l), this.dirty) {
15918
+ if (l === null || a === null || !Y(u) || u.isInline() || u.canBeEmpty() || Lu(a, r, l), this.dirty) {
15919
15919
  let c = Ni(r, this.anchor.key), d = Ni(r, this.focus.key);
15920
15920
  this.anchor.type === "text" && (c = Er(c)), this.focus.type === "text" && (d = Er(d)), c && d && Cg(s, c, this.anchor.offset, d, this.focus.offset);
15921
15921
  }
@@ -15933,10 +15933,10 @@ class ji {
15933
15933
  if (_ && h.length > 0)
15934
15934
  if (n) {
15935
15935
  const g = h[0];
15936
- G(g) ? g.selectStart() : g.getParentOrThrow().selectStart();
15936
+ Y(g) ? g.selectStart() : g.getParentOrThrow().selectStart();
15937
15937
  } else {
15938
15938
  const g = h[h.length - 1];
15939
- G(g) ? g.selectEnd() : g.getParentOrThrow().selectEnd();
15939
+ Y(g) ? g.selectEnd() : g.getParentOrThrow().selectEnd();
15940
15940
  }
15941
15941
  s.anchorNode === c.startContainer && s.anchorOffset === c.startOffset || function(g) {
15942
15942
  const v = g.focus, m = g.anchor, y = m.key, C = m.offset, S = m.type;
@@ -15947,9 +15947,9 @@ class ji {
15947
15947
  o === "lineboundary" && pp(this, e, n, o, "decorators");
15948
15948
  }
15949
15949
  forwardDeletion(e, n, o) {
15950
- if (!o && (e.type === "element" && G(n) && e.offset === n.getChildrenSize() || e.type === "text" && e.offset === n.getTextContentSize())) {
15950
+ if (!o && (e.type === "element" && Y(n) && e.offset === n.getChildrenSize() || e.type === "text" && e.offset === n.getTextContentSize())) {
15951
15951
  const i = n.getParent(), r = n.getNextSibling() || (i === null ? null : i.getNextSibling());
15952
- if (G(r) && r.isShadowRoot())
15952
+ if (Y(r) && r.isShadowRoot())
15953
15953
  return !0;
15954
15954
  }
15955
15955
  return !1;
@@ -15970,7 +15970,7 @@ class ji {
15970
15970
  if (l.origin.isShadowRoot()) {
15971
15971
  if (a.type === "merge-block")
15972
15972
  break;
15973
- if (G(r.anchor.origin) && r.anchor.origin.isEmpty()) {
15973
+ if (Y(r.anchor.origin) && r.anchor.origin.isEmpty()) {
15974
15974
  const u = Sn(l);
15975
15975
  Ua(this, oi(u, u)), r.anchor.origin.remove();
15976
15976
  }
@@ -15982,7 +15982,7 @@ class ji {
15982
15982
  if (a.type === "merge-block")
15983
15983
  break;
15984
15984
  if ($r(l)) {
15985
- if (G(l.origin)) {
15985
+ if (Y(l.origin)) {
15986
15986
  if (l.origin.isInline()) {
15987
15987
  if (!l.origin.isParentOf(r.anchor.origin))
15988
15988
  break;
@@ -15992,7 +15992,7 @@ class ji {
15992
15992
  }
15993
15993
  if (Ve(l.origin)) {
15994
15994
  if (!l.origin.isIsolated())
15995
- if (a.type === "merge-next-block" && (l.origin.isKeyboardSelectable() || !l.origin.isInline()) && G(r.anchor.origin) && r.anchor.origin.isEmpty()) {
15995
+ if (a.type === "merge-next-block" && (l.origin.isKeyboardSelectable() || !l.origin.isInline()) && Y(r.anchor.origin) && r.anchor.origin.isEmpty()) {
15996
15996
  r.anchor.origin.remove();
15997
15997
  const u = bg();
15998
15998
  u.add(l.origin.getKey()), Ft(u);
@@ -16077,7 +16077,7 @@ function Eu(t) {
16077
16077
  }
16078
16078
  function ap(t, e) {
16079
16079
  for (let n = e; n; n = n.getParent()) {
16080
- if (G(n)) {
16080
+ if (Y(n)) {
16081
16081
  if (n.collapseAtStart(t))
16082
16082
  return !0;
16083
16083
  if (Xt(n))
@@ -16129,23 +16129,23 @@ function cp(t, e, n, o) {
16129
16129
  let f = sr(t);
16130
16130
  if (f === null)
16131
16131
  return null;
16132
- if (G(f)) {
16132
+ if (Y(f)) {
16133
16133
  const p = o.getElementByKey(f.getKey());
16134
- p === null && se(214), [f, r] = f.getDOMSlot(p).resolveChildIndex(f, p, t, e), G(f) || se(215), s && r >= f.getChildrenSize() && (r = Math.max(0, f.getChildrenSize() - 1));
16134
+ p === null && se(214), [f, r] = f.getDOMSlot(p).resolveChildIndex(f, p, t, e), Y(f) || se(215), s && r >= f.getChildrenSize() && (r = Math.max(0, f.getChildrenSize() - 1));
16135
16135
  let _ = f.getChildAtIndex(r);
16136
- if (G(_) && function(g, v, m) {
16136
+ if (Y(_) && function(g, v, m) {
16137
16137
  const y = g.getParent();
16138
16138
  return m === null || y === null || !y.canBeEmpty() || y !== m.getNode();
16139
16139
  }(_, 0, n)) {
16140
16140
  const g = s ? _.getLastDescendant() : _.getFirstDescendant();
16141
- g === null ? f = _ : (_ = g, f = G(_) ? _ : _.getParentOrThrow()), r = 0;
16141
+ g === null ? f = _ : (_ = g, f = Y(_) ? _ : _.getParentOrThrow()), r = 0;
16142
16142
  }
16143
- ae(_) ? (i = _, f = null, r = Xo(_, s ? "next" : "previous")) : _ !== f && s && !d && (G(f) || se(216), r = Math.min(f.getChildrenSize(), r + 1));
16143
+ ae(_) ? (i = _, f = null, r = Xo(_, s ? "next" : "previous")) : _ !== f && s && !d && (Y(f) || se(216), r = Math.min(f.getChildrenSize(), r + 1));
16144
16144
  } else {
16145
16145
  const p = f.getIndexWithinParent();
16146
16146
  r = e === 0 && Ve(f) && sr(t) === f ? p : p + 1, f = f.getParentOrThrow();
16147
16147
  }
16148
- if (G(f))
16148
+ if (Y(f))
16149
16149
  return co(f.__key, r, "element");
16150
16150
  }
16151
16151
  } else
@@ -16157,17 +16157,17 @@ function up(t, e, n) {
16157
16157
  if (o === 0) {
16158
16158
  const r = i.getPreviousSibling(), s = i.getParent();
16159
16159
  if (e) {
16160
- if ((n || !e) && r === null && G(s) && s.isInline()) {
16160
+ if ((n || !e) && r === null && Y(s) && s.isInline()) {
16161
16161
  const a = s.getPreviousSibling();
16162
16162
  ae(a) && t.set(a.__key, a.getTextContent().length, "text");
16163
16163
  }
16164
16164
  } else
16165
- G(r) && !n && r.isInline() ? t.set(r.__key, r.getChildrenSize(), "element") : ae(r) && t.set(r.__key, r.getTextContent().length, "text");
16165
+ Y(r) && !n && r.isInline() ? t.set(r.__key, r.getChildrenSize(), "element") : ae(r) && t.set(r.__key, r.getTextContent().length, "text");
16166
16166
  } else if (o === i.getTextContent().length) {
16167
16167
  const r = i.getNextSibling(), s = i.getParent();
16168
- if (e && G(r) && r.isInline())
16168
+ if (e && Y(r) && r.isInline())
16169
16169
  t.set(r.__key, 0, "element");
16170
- else if ((n || e) && r === null && G(s) && s.isInline() && !s.canInsertTextAfter()) {
16170
+ else if ((n || e) && r === null && Y(s) && s.isInline() && !s.canInsertTextAfter()) {
16171
16171
  const a = s.getNextSibling();
16172
16172
  ae(a) && t.set(a.__key, 0, "text");
16173
16173
  }
@@ -16201,7 +16201,7 @@ function yg(t, e, n, o, i, r) {
16201
16201
  return vg(s, a, r), [s, a];
16202
16202
  }
16203
16203
  function Tu(t) {
16204
- return G(t) && !t.isInline();
16204
+ return Y(t) && !t.isInline();
16205
16205
  }
16206
16206
  function _g(t, e, n, o, i, r) {
16207
16207
  const s = ai(), a = new ji(co(t, e, i), co(n, o, r), 0, "");
@@ -16265,7 +16265,7 @@ function cl(t, e, n, o = 1) {
16265
16265
  function dp(t) {
16266
16266
  const e = t.anchor, n = e.offset, o = t.focus, i = o.offset, r = e.getNode(), s = o.getNode();
16267
16267
  if (t.isCollapsed()) {
16268
- if (!G(r))
16268
+ if (!Y(r))
16269
16269
  return;
16270
16270
  const a = r.getChildrenSize(), l = n >= a, u = l ? r.getChildAtIndex(a - 1) : r.getChildAtIndex(n);
16271
16271
  if (ae(u)) {
@@ -16274,14 +16274,14 @@ function dp(t) {
16274
16274
  }
16275
16275
  return;
16276
16276
  }
16277
- if (G(r)) {
16277
+ if (Y(r)) {
16278
16278
  const a = r.getChildrenSize(), l = n >= a, u = l ? r.getChildAtIndex(a - 1) : r.getChildAtIndex(n);
16279
16279
  if (ae(u)) {
16280
16280
  let c = 0;
16281
16281
  l && (c = u.getTextContentSize()), e.set(u.__key, c, "text");
16282
16282
  }
16283
16283
  }
16284
- if (G(s)) {
16284
+ if (Y(s)) {
16285
16285
  const a = s.getChildrenSize(), l = i >= a, u = l ? s.getChildAtIndex(a - 1) : s.getChildAtIndex(i);
16286
16286
  if (ae(u)) {
16287
16287
  let c = 0;
@@ -16291,7 +16291,7 @@ function dp(t) {
16291
16291
  }
16292
16292
  function ul(t, e, n, o, i) {
16293
16293
  let r = null, s = 0, a = null;
16294
- o !== null ? (r = o.__key, ae(o) ? (s = o.getTextContentSize(), a = "text") : G(o) && (s = o.getChildrenSize(), a = "element")) : i !== null && (r = i.__key, ae(i) ? a = "text" : G(i) && (a = "element")), r !== null && a !== null ? t.set(r, s, a) : (s = e.getIndexWithinParent(), s === -1 && (s = n.getChildrenSize()), t.set(n.__key, s, "element"));
16294
+ o !== null ? (r = o.__key, ae(o) ? (s = o.getTextContentSize(), a = "text") : Y(o) && (s = o.getChildrenSize(), a = "element")) : i !== null && (r = i.__key, ae(i) ? a = "text" : Y(i) && (a = "element")), r !== null && a !== null ? t.set(r, s, a) : (s = e.getIndexWithinParent(), s === -1 && (s = n.getChildrenSize()), t.set(n.__key, s, "element"));
16295
16295
  }
16296
16296
  function fp(t, e, n, o, i) {
16297
16297
  t.type === "text" ? t.set(n, t.offset + (e ? 0 : i), "text") : t.offset > o.getIndexWithinParent() && t.set(t.key, t.offset - 1, "element");
@@ -16328,27 +16328,27 @@ function hue(t, e, n, o, i, r, s) {
16328
16328
  } else
16329
16329
  x = N.getBoundingClientRect();
16330
16330
  (function(H, F, I) {
16331
- const Y = Ug(I), ve = Bd(Y);
16332
- if (Y === null || ve === null)
16331
+ const K = Ug(I), me = Bd(K);
16332
+ if (K === null || me === null)
16333
16333
  return;
16334
- let { top: Q, bottom: De } = F, ge = 0, pe = 0, J = I;
16334
+ let { top: X, bottom: De } = F, ve = 0, pe = 0, J = I;
16335
16335
  for (; J !== null; ) {
16336
- const V = J === Y.body;
16336
+ const V = J === K.body;
16337
16337
  if (V)
16338
- ge = 0, pe = $n(H).innerHeight;
16338
+ ve = 0, pe = $n(H).innerHeight;
16339
16339
  else {
16340
16340
  const He = J.getBoundingClientRect();
16341
- ge = He.top, pe = He.bottom;
16341
+ ve = He.top, pe = He.bottom;
16342
16342
  }
16343
16343
  let _e = 0;
16344
- if (Q < ge ? _e = -(ge - Q) : De > pe && (_e = De - pe), _e !== 0)
16344
+ if (X < ve ? _e = -(ve - X) : De > pe && (_e = De - pe), _e !== 0)
16345
16345
  if (V)
16346
- ve.scrollBy(0, _e);
16346
+ me.scrollBy(0, _e);
16347
16347
  else {
16348
16348
  const He = J.scrollTop;
16349
16349
  J.scrollTop += _e;
16350
16350
  const it = J.scrollTop - He;
16351
- Q -= it, De -= it;
16351
+ X -= it, De -= it;
16352
16352
  }
16353
16353
  if (V)
16354
16354
  break;
@@ -16391,7 +16391,7 @@ function gue(t, e) {
16391
16391
  const r = e === 0 ? 0 : 1;
16392
16392
  return [n, i[0].getIndexWithinParent() + r];
16393
16393
  }
16394
- if (!G(t) || e === 0)
16394
+ if (!Y(t) || e === 0)
16395
16395
  return [n, t.getIndexWithinParent()];
16396
16396
  const o = t.getChildAtIndex(e);
16397
16397
  if (o) {
@@ -16419,7 +16419,7 @@ function pp(t, e, n, o, i = "decorators-and-blocks") {
16419
16419
  if (io(c))
16420
16420
  c.origin.isInline() || (l = c);
16421
16421
  else {
16422
- if (G(c.origin))
16422
+ if (Y(c.origin))
16423
16423
  continue;
16424
16424
  Ve(c.origin) && !c.origin.isInline() && (l = c);
16425
16425
  }
@@ -16499,7 +16499,7 @@ function Td(t, e) {
16499
16499
  const i = o.klass;
16500
16500
  t.type !== i.getType() && se(18, i.name);
16501
16501
  const r = i.importJSON(t), s = t.children;
16502
- if (G(r) && Array.isArray(s))
16502
+ if (Y(r) && Array.isArray(s))
16503
16503
  for (let a = 0; a < s.length; a++) {
16504
16504
  const l = Td(s[a], e);
16505
16505
  r.append(l);
@@ -16574,8 +16574,8 @@ function wo(t, e) {
16574
16574
  let I = H.blockCursor;
16575
16575
  if (I !== void 0) {
16576
16576
  if (typeof I == "string") {
16577
- const Y = Mm(I);
16578
- I = H.blockCursor = Y;
16577
+ const K = Mm(I);
16578
+ I = H.blockCursor = K;
16579
16579
  }
16580
16580
  I !== void 0 && F.classList.add(...I);
16581
16581
  }
@@ -16712,7 +16712,7 @@ function Gl(t, e, n) {
16712
16712
  const w = m._nodeMap, T = y._nodeMap, E = [];
16713
16713
  for (const [$] of S) {
16714
16714
  const L = T.get($);
16715
- L !== void 0 && (L.isAttached() || (G(L) && Om(L, $, w, T, E, S), w.has($) || S.delete($), E.push($)));
16715
+ L !== void 0 && (L.isAttached() || (Y(L) && Om(L, $, w, T, E, S), w.has($) || S.delete($), E.push($)));
16716
16716
  }
16717
16717
  for (const $ of E)
16718
16718
  T.delete($);
@@ -16909,7 +16909,7 @@ class vn extends Bn {
16909
16909
  const n = [];
16910
16910
  let o = this.getFirstChild();
16911
16911
  for (; o !== null; ) {
16912
- if (ae(o) && n.push(o), G(o)) {
16912
+ if (ae(o) && n.push(o), Y(o)) {
16913
16913
  const i = o.getAllTextNodes();
16914
16914
  n.push(...i);
16915
16915
  }
@@ -16919,7 +16919,7 @@ class vn extends Bn {
16919
16919
  }
16920
16920
  getFirstDescendant() {
16921
16921
  let n = this.getFirstChild();
16922
- for (; G(n); ) {
16922
+ for (; Y(n); ) {
16923
16923
  const o = n.getFirstChild();
16924
16924
  if (o === null)
16925
16925
  break;
@@ -16929,7 +16929,7 @@ class vn extends Bn {
16929
16929
  }
16930
16930
  getLastDescendant() {
16931
16931
  let n = this.getLastChild();
16932
- for (; G(n); ) {
16932
+ for (; Y(n); ) {
16933
16933
  const o = n.getLastChild();
16934
16934
  if (o === null)
16935
16935
  break;
@@ -16941,10 +16941,10 @@ class vn extends Bn {
16941
16941
  const o = this.getChildren(), i = o.length;
16942
16942
  if (n >= i) {
16943
16943
  const s = o[i - 1];
16944
- return G(s) && s.getLastDescendant() || s || null;
16944
+ return Y(s) && s.getLastDescendant() || s || null;
16945
16945
  }
16946
16946
  const r = o[n];
16947
- return G(r) && r.getFirstDescendant() || r || null;
16947
+ return Y(r) && r.getFirstDescendant() || r || null;
16948
16948
  }
16949
16949
  getFirstChild() {
16950
16950
  const n = this.getLatest().__first;
@@ -16985,7 +16985,7 @@ class vn extends Bn {
16985
16985
  const o = this.getChildren(), i = o.length;
16986
16986
  for (let r = 0; r < i; r++) {
16987
16987
  const s = o[r];
16988
- n += s.getTextContent(), G(s) && r !== i - 1 && !s.isInline() && (n += ni);
16988
+ n += s.getTextContent(), Y(s) && r !== i - 1 && !s.isInline() && (n += ni);
16989
16989
  }
16990
16990
  return n;
16991
16991
  }
@@ -16994,7 +16994,7 @@ class vn extends Bn {
16994
16994
  const o = this.getChildren(), i = o.length;
16995
16995
  for (let r = 0; r < i; r++) {
16996
16996
  const s = o[r];
16997
- n += s.getTextContentSize(), G(s) && r !== i - 1 && !s.isInline() && (n += 2);
16997
+ n += s.getTextContentSize(), Y(s) && r !== i - 1 && !s.isInline() && (n += 2);
16998
16998
  }
16999
16999
  return n;
17000
17000
  }
@@ -17029,11 +17029,11 @@ class vn extends Bn {
17029
17029
  if (!this.canBeEmpty()) {
17030
17030
  if (n === 0 && o === 0) {
17031
17031
  const u = this.getFirstChild();
17032
- if (ae(u) || G(u))
17032
+ if (ae(u) || Y(u))
17033
17033
  return u.select(0, 0);
17034
17034
  } else if (!(n !== void 0 && n !== a || o !== void 0 && o !== a)) {
17035
17035
  const u = this.getLastChild();
17036
- if (ae(u) || G(u))
17036
+ if (ae(u) || Y(u))
17037
17037
  return u.select();
17038
17038
  }
17039
17039
  }
@@ -17202,7 +17202,7 @@ class vn extends Bn {
17202
17202
  }
17203
17203
  }
17204
17204
  }
17205
- function G(t) {
17205
+ function Y(t) {
17206
17206
  return t instanceof vn;
17207
17207
  }
17208
17208
  function bp(t, e, n) {
@@ -17268,7 +17268,7 @@ class ea extends vn {
17268
17268
  }
17269
17269
  splice(n, o, i) {
17270
17270
  for (const r of i)
17271
- G(r) || Ve(r) || se(282);
17271
+ Y(r) || Ve(r) || se(282);
17272
17272
  return super.splice(n, o, i);
17273
17273
  }
17274
17274
  static importJSON(n) {
@@ -17289,7 +17289,7 @@ function $d() {
17289
17289
  }
17290
17290
  function Eg(t) {
17291
17291
  const e = t.exportJSON(), n = t.constructor;
17292
- if (e.type !== n.getType() && se(130, n.name), G(t)) {
17292
+ if (e.type !== n.getType() && se(130, n.name), Y(t)) {
17293
17293
  const o = e.children;
17294
17294
  Array.isArray(o) || se(59, n.name);
17295
17295
  const i = t.getChildren();
@@ -17805,7 +17805,7 @@ function xue(t, e) {
17805
17805
  return void (t.__key = e);
17806
17806
  Mt(), kg();
17807
17807
  const o = dt(), i = ai(), r = "" + wue++;
17808
- i._nodeMap.set(r, t), G(t) ? o._dirtyElements.set(r, !0) : o._dirtyLeaves.add(r), o._cloneNotNeeded.add(r), o._dirtyType = 1, t.__key = r;
17808
+ i._nodeMap.set(r, t), Y(t) ? o._dirtyElements.set(r, !0) : o._dirtyLeaves.add(r), o._cloneNotNeeded.add(r), o._dirtyType = 1, t.__key = r;
17809
17809
  }
17810
17810
  function xi(t) {
17811
17811
  const e = t.getParent();
@@ -17829,7 +17829,7 @@ function fl(t) {
17829
17829
  }
17830
17830
  }(n, r, s);
17831
17831
  const a = e.__key;
17832
- i._dirtyType = 1, G(t) ? s.set(a, !0) : i._dirtyLeaves.add(a);
17832
+ i._dirtyType = 1, Y(t) ? s.set(a, !0) : i._dirtyLeaves.add(a);
17833
17833
  }
17834
17834
  function Rt(t) {
17835
17835
  Mt();
@@ -18121,7 +18121,7 @@ function Due(t) {
18121
18121
  return e;
18122
18122
  }
18123
18123
  function Xt(t) {
18124
- return bt(t) || G(t) && t.isShadowRoot();
18124
+ return bt(t) || Y(t) && t.isShadowRoot();
18125
18125
  }
18126
18126
  function Vn(t) {
18127
18127
  const e = dt(), n = t.getType(), o = Ld(e, n);
@@ -18134,14 +18134,14 @@ function Vn(t) {
18134
18134
  return t;
18135
18135
  }
18136
18136
  function Kc(t, e) {
18137
- !bt(t.getParent()) || G(e) || Ve(e) || se(99);
18137
+ !bt(t.getParent()) || Y(e) || Ve(e) || se(99);
18138
18138
  }
18139
18139
  function Mue(t) {
18140
18140
  const e = At(t);
18141
18141
  return e === null && se(63, t), e;
18142
18142
  }
18143
18143
  function Gc(t) {
18144
- return (Ve(t) || G(t) && !t.canBeEmpty()) && !t.isInline();
18144
+ return (Ve(t) || Y(t) && !t.canBeEmpty()) && !t.isInline();
18145
18145
  }
18146
18146
  function Lu(t, e, n) {
18147
18147
  n.style.removeProperty("caret-color"), e._blockCursorElement = null;
@@ -18178,7 +18178,7 @@ function pl(t) {
18178
18178
  function kn(t) {
18179
18179
  if (Ve(t) && !t.isInline())
18180
18180
  return !0;
18181
- if (!G(t) || Xt(t))
18181
+ if (!Y(t) || Xt(t))
18182
18182
  return !1;
18183
18183
  const e = t.getFirstChild(), n = e === null || oo(e) || ae(e) || e.isInline();
18184
18184
  return !t.isInline() && t.canBeEmpty() !== !1 && n;
@@ -18365,7 +18365,7 @@ class Pi extends Hd {
18365
18365
  return this.origin.getParent();
18366
18366
  }
18367
18367
  getChildCaret() {
18368
- return G(this.origin) ? jn(this.origin, this.direction) : null;
18368
+ return Y(this.origin) ? jn(this.origin, this.direction) : null;
18369
18369
  }
18370
18370
  getParentCaret(n = "root") {
18371
18371
  return Ht(jd(this.getParentAtCaret(), n), this.direction);
@@ -18505,7 +18505,7 @@ function Dp(t, e) {
18505
18505
  return new zue(t, e);
18506
18506
  }
18507
18507
  function jn(t, e) {
18508
- return G(t) ? new Hue[e](t) : null;
18508
+ return Y(t) ? new Hue[e](t) : null;
18509
18509
  }
18510
18510
  function jue(t) {
18511
18511
  return t && t.getChildCaret() || t;
@@ -18627,7 +18627,7 @@ function $a(t, e) {
18627
18627
  return e.is(t);
18628
18628
  }
18629
18629
  function Mp(t) {
18630
- return G(t) ? [t.getLatest(), null] : [t.getParent(), t.getLatest()];
18630
+ return Y(t) ? [t.getLatest(), null] : [t.getParent(), t.getLatest()];
18631
18631
  }
18632
18632
  function Ba(t, e) {
18633
18633
  if (t.is(e))
@@ -18638,17 +18638,17 @@ function Ba(t, e) {
18638
18638
  for (let [o, i] = Mp(e); o; i = o, o = o.getParent()) {
18639
18639
  const r = n.get(o);
18640
18640
  if (r !== void 0)
18641
- return r === null ? ($a(t, o) || se(276), { commonAncestor: o, type: "ancestor" }) : i === null ? ($a(e, o) || se(277), { commonAncestor: o, type: "descendant" }) : ((G(r) || $a(t, r)) && (G(i) || $a(e, i)) && o.is(r.getParent()) && o.is(i.getParent()) || se(278), { a: r, b: i, commonAncestor: o, type: "branch" });
18641
+ return r === null ? ($a(t, o) || se(276), { commonAncestor: o, type: "ancestor" }) : i === null ? ($a(e, o) || se(277), { commonAncestor: o, type: "descendant" }) : ((Y(r) || $a(t, r)) && (Y(i) || $a(e, i)) && o.is(r.getParent()) && o.is(i.getParent()) || se(278), { a: r, b: i, commonAncestor: o, type: "branch" });
18642
18642
  }
18643
18643
  return null;
18644
18644
  }
18645
18645
  function $o(t, e) {
18646
18646
  const { type: n, key: o, offset: i } = t, r = Mue(t.key);
18647
- return n === "text" ? (ae(r) || se(266, r.getType(), o), Ri(r, e, i)) : (G(r) || se(267, r.getType(), o), Zue(r, t.offset, e));
18647
+ return n === "text" ? (ae(r) || se(266, r.getType(), o), Ri(r, e, i)) : (Y(r) || se(267, r.getType(), o), Zue(r, t.offset, e));
18648
18648
  }
18649
18649
  function Bi(t, e) {
18650
18650
  const { origin: n, direction: o } = e, i = o === "next";
18651
- Jo(e) ? t.set(n.getKey(), e.offset, "text") : $r(e) ? ae(n) ? t.set(n.getKey(), Xo(n, o), "text") : t.set(n.getParentOrThrow().getKey(), n.getIndexWithinParent() + (i ? 1 : 0), "element") : (io(e) && G(n) || se(268), t.set(n.getKey(), i ? 0 : n.getChildrenSize(), "element"));
18651
+ Jo(e) ? t.set(n.getKey(), e.offset, "text") : $r(e) ? ae(n) ? t.set(n.getKey(), Xo(n, o), "text") : t.set(n.getParentOrThrow().getKey(), n.getIndexWithinParent() + (i ? 1 : 0), "element") : (io(e) && Y(n) || se(268), t.set(n.getKey(), i ? 0 : n.getChildrenSize(), "element"));
18652
18652
  }
18653
18653
  function Vue(t) {
18654
18654
  const e = he(), n = ie(e) ? e : Kl();
@@ -18685,7 +18685,7 @@ function Wue(t, e = "removeEmptySlices") {
18685
18685
  l.add(h.origin.getKey());
18686
18686
  else if ($r(h)) {
18687
18687
  const { origin: _ } = h;
18688
- G(_) && !l.has(_.getKey()) || u.push(_);
18688
+ Y(_) && !l.has(_.getKey()) || u.push(_);
18689
18689
  }
18690
18690
  for (const h of u)
18691
18691
  h.remove();
@@ -18849,14 +18849,14 @@ function Jc(t, e, n = Gue) {
18849
18849
  const [s, a] = o;
18850
18850
  r = Kl(), r.anchor.set(s.key, s.offset, s.type), r.focus.set(a.key, a.offset, a.type);
18851
18851
  const l = Zt(s.getNode(), kn), u = Zt(a.getNode(), kn);
18852
- G(l) && i.set(l.getKey(), l), G(u) && i.set(u.getKey(), u);
18852
+ Y(l) && i.set(l.getKey(), l), Y(u) && i.set(u.getKey(), u);
18853
18853
  }
18854
18854
  for (const s of t.getNodes())
18855
- if (G(s) && kn(s))
18855
+ if (Y(s) && kn(s))
18856
18856
  i.set(s.getKey(), s);
18857
18857
  else if (o === null) {
18858
18858
  const a = Zt(s, kn);
18859
- G(a) && i.set(a.getKey(), a);
18859
+ Y(a) && i.set(a.getKey(), a);
18860
18860
  }
18861
18861
  for (const [s, a] of i) {
18862
18862
  const l = e();
@@ -18870,7 +18870,7 @@ function Xg(t) {
18870
18870
  }
18871
18871
  function Qg(t) {
18872
18872
  const e = t.anchor.getNode();
18873
- return G(e) ? Gg(e) : Yg(e);
18873
+ return Y(e) ? Gg(e) : Yg(e);
18874
18874
  }
18875
18875
  function Pp(t, e) {
18876
18876
  let n = Xg(t) ? !e : e;
@@ -18881,7 +18881,7 @@ function Pp(t, e) {
18881
18881
  for (const i of Vd(o)) {
18882
18882
  if (io(i))
18883
18883
  return !i.origin.isInline();
18884
- if (!G(i.origin)) {
18884
+ if (!Y(i.origin)) {
18885
18885
  if (Ve(i.origin))
18886
18886
  return !0;
18887
18887
  break;
@@ -18947,8 +18947,8 @@ function tde(t, e) {
18947
18947
  return null;
18948
18948
  }
18949
18949
  function nde(t) {
18950
- const e = Zt(t, (n) => G(n) && !n.isInline());
18951
- return G(e) || Jue(4, t.__key), e;
18950
+ const e = Zt(t, (n) => Y(n) && !n.isInline());
18951
+ return Y(e) || Jue(4, t.__key), e;
18952
18952
  }
18953
18953
  function bi(t, e) {
18954
18954
  return t !== null && Object.getPrototypeOf(t).constructor.name === e.name;
@@ -19022,7 +19022,7 @@ function Bp(t) {
19022
19022
  if (Xt(a)) {
19023
19023
  s.replace(l);
19024
19024
  const u = yn();
19025
- G(s) && (u.setFormat(s.getFormatType()), u.setIndent(s.getIndent())), l.append(u);
19025
+ Y(s) && (u.setFormat(s.getFormatType()), u.setIndent(s.getIndent())), l.append(u);
19026
19026
  } else if (Ze(s)) {
19027
19027
  const u = s.getParentOrThrow();
19028
19028
  Ui(l, u.getChildren()), u.replace(l);
@@ -19033,7 +19033,7 @@ function Bp(t) {
19033
19033
  const o = /* @__PURE__ */ new Set();
19034
19034
  for (let i = 0; i < n.length; i++) {
19035
19035
  const r = n[i];
19036
- if (G(r) && r.isEmpty() && !Ze(r) && !o.has(r.getKey())) {
19036
+ if (Y(r) && r.isEmpty() && !Ze(r) && !o.has(r.getKey())) {
19037
19037
  Up(r, t);
19038
19038
  continue;
19039
19039
  }
@@ -19274,7 +19274,7 @@ let li = class extends vn {
19274
19274
  append(...n) {
19275
19275
  for (let o = 0; o < n.length; o++) {
19276
19276
  const i = n[o];
19277
- if (G(i) && this.canMergeWith(i)) {
19277
+ if (Y(i) && this.canMergeWith(i)) {
19278
19278
  const r = i.getChildren();
19279
19279
  this.append(...r), i.remove();
19280
19280
  } else
@@ -19302,7 +19302,7 @@ let li = class extends vn {
19302
19302
  }
19303
19303
  i.insertAfter(n), n.insertAfter(r);
19304
19304
  }
19305
- return o && (G(n) || Go(139), this.getChildren().forEach((r) => {
19305
+ return o && (Y(n) || Go(139), this.getChildren().forEach((r) => {
19306
19306
  n.append(r);
19307
19307
  })), this.remove(), i.getChildrenSize() === 0 && i.remove(), n;
19308
19308
  }
@@ -19490,7 +19490,7 @@ let zi = class extends vn {
19490
19490
  let r = i;
19491
19491
  for (let s = 0; s < i.length; s++) {
19492
19492
  const a = i[s];
19493
- Ze(a) || (r === i && (r = [...i]), r[s] = yn().append(!G(a) || Le(a) || a.isInline() ? a : st(a.getTextContent())));
19493
+ Ze(a) || (r === i && (r = [...i]), r[s] = yn().append(!Y(a) || Le(a) || a.isInline() ? a : st(a.getTextContent())));
19494
19494
  }
19495
19495
  return super.splice(n, o, r);
19496
19496
  }
@@ -19647,10 +19647,10 @@ function mde(t, e) {
19647
19647
  }
19648
19648
  function a0(t, e, n, o = null) {
19649
19649
  let i = o === null || e.isSelected(o);
19650
- const r = G(e) && e.excludeFromCopy("html");
19650
+ const r = Y(e) && e.excludeFromCopy("html");
19651
19651
  let s = e;
19652
19652
  o !== null && ae(e) && (s = Jg(o, e, "clone"));
19653
- const a = G(s) ? s.getChildren() : [], l = Ld(t, s.getType());
19653
+ const a = Y(s) ? s.getChildren() : [], l = Ld(t, s.getType());
19654
19654
  let u;
19655
19655
  u = l && l.exportDOM !== void 0 ? l.exportDOM(t, s) : s.exportDOM(t);
19656
19656
  const { element: c, after: d } = u;
@@ -19659,7 +19659,7 @@ function a0(t, e, n, o = null) {
19659
19659
  const f = document.createDocumentFragment();
19660
19660
  for (let p = 0; p < a.length; p++) {
19661
19661
  const h = a[p], _ = a0(t, h, f, o);
19662
- !i && G(e) && _ && e.extractWithChild(h, o, "html") && (i = !0);
19662
+ !i && Y(e) && _ && e.extractWithChild(h, o, "html") && (i = !0);
19663
19663
  }
19664
19664
  if (i && !r) {
19665
19665
  if ((kt(c) || Ou(c)) && c.append(f), n.append(c), d) {
@@ -19708,7 +19708,7 @@ function c0(t, e, n, o, i = /* @__PURE__ */ new Map(), r) {
19708
19708
  return n.push(h), h;
19709
19709
  } : at)), a == null ? f.length > 0 ? s = s.concat(f) : pl(t) && function(h) {
19710
19710
  return h.nextSibling == null || h.previousSibling == null ? !1 : Iu(h.nextSibling) && Iu(h.previousSibling);
19711
- }(t) && (s = s.concat(Un())) : G(a) && a.append(...f), s;
19711
+ }(t) && (s = s.concat(Un())) : Y(a) && a.append(...f), s;
19712
19712
  }
19713
19713
  function gde(t, e, n) {
19714
19714
  const o = t.style.textAlign, i = [];
@@ -19790,7 +19790,7 @@ function Vp(t, e, n) {
19790
19790
  r = l.origin;
19791
19791
  break;
19792
19792
  }
19793
- if (G(l.origin) && !l.origin.isInline())
19793
+ if (Y(l.origin) && !l.origin.isInline())
19794
19794
  break;
19795
19795
  }
19796
19796
  }
@@ -19803,12 +19803,12 @@ function Vp(t, e, n) {
19803
19803
  }
19804
19804
  function u0(t, e, n, o = []) {
19805
19805
  let i = e === null || n.isSelected(e);
19806
- const r = G(n) && n.excludeFromCopy("html");
19806
+ const r = Y(n) && n.excludeFromCopy("html");
19807
19807
  let s = n;
19808
19808
  e !== null && ae(s) && (s = Jg(e, s, "clone"));
19809
- const a = G(s) ? s.getChildren() : [], l = function(u) {
19809
+ const a = Y(s) ? s.getChildren() : [], l = function(u) {
19810
19810
  const c = u.exportJSON(), d = u.constructor;
19811
- if (c.type !== d.getType() && ml(58, d.name), G(u)) {
19811
+ if (c.type !== d.getType() && ml(58, d.name), Y(u)) {
19812
19812
  const f = c.children;
19813
19813
  Array.isArray(f) || ml(59, d.name);
19814
19814
  }
@@ -19817,7 +19817,7 @@ function u0(t, e, n, o = []) {
19817
19817
  ae(s) && s.getTextContentSize() === 0 && (i = !1);
19818
19818
  for (let u = 0; u < a.length; u++) {
19819
19819
  const c = a[u], d = u0(t, e, c, l.children);
19820
- !i && G(n) && d && n.extractWithChild(c, e, "clone") && (i = !0);
19820
+ !i && Y(n) && d && n.extractWithChild(c, e, "clone") && (i = !0);
19821
19821
  }
19822
19822
  if (i && !r)
19823
19823
  o.push(l);
@@ -20109,7 +20109,7 @@ function Xp(t) {
20109
20109
  const r = o[i], s = r.getKey();
20110
20110
  if (n.has(s))
20111
20111
  continue;
20112
- const a = Zt(r, (u) => G(u) && !u.isInline());
20112
+ const a = Zt(r, (u) => Y(u) && !u.isInline());
20113
20113
  if (a === null)
20114
20114
  continue;
20115
20115
  const l = a.getKey();
@@ -20166,7 +20166,7 @@ function Mde(t) {
20166
20166
  return !1;
20167
20167
  const o = n.getNodes();
20168
20168
  for (const i of o) {
20169
- const r = Zt(i, (s) => G(s) && !s.isInline());
20169
+ const r = Zt(i, (s) => Y(s) && !s.isInline());
20170
20170
  r !== null && r.setFormat(e);
20171
20171
  }
20172
20172
  return !0;
@@ -20965,30 +20965,30 @@ var Lde = { exports: {} };
20965
20965
  z.pattern = RegExp(z.pattern.source, x + "g");
20966
20966
  }
20967
20967
  for (var H = z.pattern || z, F = S.next, I = w; F !== y.tail && !(T && I >= T.reach); I += F.value.length, F = F.next) {
20968
- var Y = F.value;
20968
+ var K = F.value;
20969
20969
  if (y.length > m.length)
20970
20970
  return;
20971
- if (!(Y instanceof l)) {
20972
- var ve = 1, Q;
20971
+ if (!(K instanceof l)) {
20972
+ var me = 1, X;
20973
20973
  if (M) {
20974
- if (Q = u(H, I, m, Z), !Q || Q.index >= m.length)
20974
+ if (X = u(H, I, m, Z), !X || X.index >= m.length)
20975
20975
  break;
20976
- var J = Q.index, De = Q.index + Q[0].length, ge = I;
20977
- for (ge += F.value.length; J >= ge; )
20978
- F = F.next, ge += F.value.length;
20979
- if (ge -= F.value.length, I = ge, F.value instanceof l)
20976
+ var J = X.index, De = X.index + X[0].length, ve = I;
20977
+ for (ve += F.value.length; J >= ve; )
20978
+ F = F.next, ve += F.value.length;
20979
+ if (ve -= F.value.length, I = ve, F.value instanceof l)
20980
20980
  continue;
20981
- for (var pe = F; pe !== y.tail && (ge < De || typeof pe.value == "string"); pe = pe.next)
20982
- ve++, ge += pe.value.length;
20983
- ve--, Y = m.slice(I, ge), Q.index -= I;
20984
- } else if (Q = u(H, 0, Y, Z), !Q)
20981
+ for (var pe = F; pe !== y.tail && (ve < De || typeof pe.value == "string"); pe = pe.next)
20982
+ me++, ve += pe.value.length;
20983
+ me--, K = m.slice(I, ve), X.index -= I;
20984
+ } else if (X = u(H, 0, K, Z), !X)
20985
20985
  continue;
20986
- var J = Q.index, V = Q[0], _e = Y.slice(0, J), He = Y.slice(J + V.length), it = I + Y.length;
20986
+ var J = X.index, V = X[0], _e = K.slice(0, J), He = K.slice(J + V.length), it = I + K.length;
20987
20987
  T && it > T.reach && (T.reach = it);
20988
20988
  var Re = F.prev;
20989
- _e && (Re = f(y, Re, _e), I += _e.length), p(y, Re, ve);
20989
+ _e && (Re = f(y, Re, _e), I += _e.length), p(y, Re, me);
20990
20990
  var Ne = new l(E, W ? a.tokenize(V, W) : V, N, V);
20991
- if (F = f(y, Re, Ne), He && f(y, F, He), ve > 1) {
20991
+ if (F = f(y, Re, Ne), He && f(y, F, He), me > 1) {
20992
20992
  var zt = {
20993
20993
  cause: E + "," + L,
20994
20994
  reach: it
@@ -23317,7 +23317,7 @@ class ra extends Vi {
23317
23317
  }
23318
23318
  insertNewAfter(n, o = !0) {
23319
23319
  const i = this.getParentOrThrow().insertNewAfter(n, o);
23320
- if (G(i)) {
23320
+ if (Y(i)) {
23321
23321
  const r = Bu(this.__url, { isUnlinked: this.__isUnlinked, rel: this.__rel, target: this.__target, title: this.__title });
23322
23322
  return i.append(r), r;
23323
23323
  }
@@ -23334,7 +23334,7 @@ const Bde = Te("TOGGLE_LINK_COMMAND");
23334
23334
  function oh(t, e) {
23335
23335
  if (t.type === "element") {
23336
23336
  const n = t.getNode();
23337
- return G(n) || function(o, ...i) {
23337
+ return Y(n) || function(o, ...i) {
23338
23338
  const r = new URL("https://lexical.dev/docs/error"), s = new URLSearchParams();
23339
23339
  s.append("code", o);
23340
23340
  for (const a of i)
@@ -23441,7 +23441,7 @@ function Ude(t, e = {}) {
23441
23441
  u(f);
23442
23442
  continue;
23443
23443
  }
23444
- if (G(d)) {
23444
+ if (Y(d)) {
23445
23445
  if (!d.isInline())
23446
23446
  continue;
23447
23447
  if (Co(d)) {
@@ -23484,11 +23484,11 @@ function Uu(t) {
23484
23484
  }
23485
23485
  function w0(t) {
23486
23486
  let e = t.getPreviousSibling();
23487
- return G(e) && (e = e.getLastDescendant()), e === null || oo(e) || ae(e) && k0(e.getTextContent());
23487
+ return Y(e) && (e = e.getLastDescendant()), e === null || oo(e) || ae(e) && k0(e.getTextContent());
23488
23488
  }
23489
23489
  function S0(t) {
23490
23490
  let e = t.getNextSibling();
23491
- return G(e) && (e = e.getFirstDescendant()), e === null || oo(e) || ae(e) && Uu(e.getTextContent());
23491
+ return Y(e) && (e = e.getFirstDescendant()), e === null || oo(e) || ae(e) && Uu(e.getTextContent());
23492
23492
  }
23493
23493
  function zde(t, e, n, o) {
23494
23494
  return (t > 0 ? gl(n[t - 1]) : w0(o[0])) ? e < n.length ? gl(n[e]) : S0(o[o.length - 1]) : !1;
@@ -23631,7 +23631,7 @@ function Gde(t, e, n, o) {
23631
23631
  if (r != null)
23632
23632
  return r;
23633
23633
  }
23634
- return G(t) ? yl(t, n, o) : Ve(t) ? t.getTextContent() : null;
23634
+ return Y(t) ? yl(t, n, o) : Ve(t) ? t.getTextContent() : null;
23635
23635
  }
23636
23636
  function yl(t, e, n, o, i) {
23637
23637
  const r = [], s = t.getChildren();
@@ -23648,7 +23648,7 @@ function yl(t, e, n, o, i) {
23648
23648
  }
23649
23649
  }
23650
23650
  oo(a) ? r.push(`
23651
- `) : ae(a) ? r.push(rh(a, a.getTextContent(), e, o, i)) : G(a) ? r.push(yl(a, e, n, o, i)) : Ve(a) && r.push(a.getTextContent());
23651
+ `) : ae(a) ? r.push(rh(a, a.getTextContent(), e, o, i)) : Y(a) ? r.push(yl(a, e, n, o, i)) : Ve(a) && r.push(a.getTextContent());
23652
23652
  }
23653
23653
  return r.join("");
23654
23654
  }
@@ -23683,7 +23683,7 @@ function sh(t, e) {
23683
23683
  o.isInline() && (n = e ? o.getPreviousSibling() : o.getNextSibling());
23684
23684
  }
23685
23685
  for (; n; ) {
23686
- if (G(n)) {
23686
+ if (Y(n)) {
23687
23687
  if (!n.isInline())
23688
23688
  break;
23689
23689
  const o = e ? n.getLastDescendant() : n.getFirstDescendant();
@@ -23693,7 +23693,7 @@ function sh(t, e) {
23693
23693
  }
23694
23694
  if (ae(n))
23695
23695
  return n;
23696
- if (!G(n))
23696
+ if (!Y(n))
23697
23697
  return null;
23698
23698
  }
23699
23699
  return null;
@@ -24574,7 +24574,7 @@ function x1e(t) {
24574
24574
  const i = e[o];
24575
24575
  if (Ve(i))
24576
24576
  return !1;
24577
- if (G(i)) {
24577
+ if (Y(i)) {
24578
24578
  if (!na(i) || i.__indent !== 0)
24579
24579
  return !1;
24580
24580
  const r = i.getChildren(), s = r.length;
@@ -25226,8 +25226,8 @@ const z1e = (() => {
25226
25226
  },
25227
25227
  setup(x, { emit: H }) {
25228
25228
  const F = Hr();
25229
- let I = null, Y = null, ve = null;
25230
- function Q() {
25229
+ let I = null, K = null, me = null;
25230
+ function X() {
25231
25231
  F.getEditorState().read(() => {
25232
25232
  const De = he();
25233
25233
  if (!ie(De))
@@ -25236,7 +25236,7 @@ const z1e = (() => {
25236
25236
  "selectionChange",
25237
25237
  De.clone()
25238
25238
  );
25239
- const ge = De.anchor.getNode(), pe = ge.getKey() === "root" ? ge : ge.getTopLevelElementOrThrow();
25239
+ const ve = De.anchor.getNode(), pe = ve.getKey() === "root" ? ve : ve.getTopLevelElementOrThrow();
25240
25240
  if (h0(pe)) {
25241
25241
  const J = pe.getTag();
25242
25242
  if (J === "h1" || J === "h2" || J === "h3") {
@@ -25264,20 +25264,20 @@ const z1e = (() => {
25264
25264
  H(
25265
25265
  "ready",
25266
25266
  F
25267
- ), Q(), Y = h1e(
25267
+ ), X(), K = h1e(
25268
25268
  F,
25269
25269
  ou
25270
- ), ve = Zde(
25270
+ ), me = Zde(
25271
25271
  F,
25272
25272
  {
25273
25273
  matchers: [c],
25274
25274
  changeHandlers: []
25275
25275
  }
25276
25276
  ), I = F.registerUpdateListener(() => {
25277
- Q();
25277
+ X();
25278
25278
  });
25279
25279
  }), sn(() => {
25280
- Y == null || Y(), ve == null || ve(), I == null || I();
25280
+ K == null || K(), me == null || me(), I == null || I();
25281
25281
  }), () => null;
25282
25282
  }
25283
25283
  });
@@ -25313,12 +25313,12 @@ const z1e = (() => {
25313
25313
  return;
25314
25314
  const F = [], I = H.items;
25315
25315
  if (I) {
25316
- for (const Y of I)
25317
- if (Y.kind === "file" && Y.type.startsWith("image/")) {
25318
- const ve = Y.getAsFile();
25319
- if (ve) {
25320
- const Q = m(ve);
25321
- F.push(Q);
25316
+ for (const K of I)
25317
+ if (K.kind === "file" && K.type.startsWith("image/")) {
25318
+ const me = K.getAsFile();
25319
+ if (me) {
25320
+ const X = m(me);
25321
+ F.push(X);
25322
25322
  }
25323
25323
  }
25324
25324
  F.length > 0 && (x.preventDefault(), i("paste", F));
@@ -25327,10 +25327,10 @@ const z1e = (() => {
25327
25327
  function m(x) {
25328
25328
  if (x.name && x.name.length > 0 && x.name !== "image.png" && x.name !== "screenshot.png" && !x.name.startsWith("image-"))
25329
25329
  return x;
25330
- const F = /* @__PURE__ */ new Date(), I = F.getFullYear(), Y = String(F.getMonth() + 1).padStart(2, "0"), ve = String(F.getDate()).padStart(2, "0"), Q = String(F.getHours()).padStart(2, "0"), De = String(F.getMinutes()).padStart(2, "0");
25331
- let ge = "png";
25332
- x.type === "image/jpeg" ? ge = "jpg" : x.type === "image/webp" ? ge = "webp" : x.type === "image/gif" && (ge = "gif");
25333
- const pe = `pasted-image-${I}-${Y}-${ve}-${Q}${De}.${ge}`;
25330
+ const F = /* @__PURE__ */ new Date(), I = F.getFullYear(), K = String(F.getMonth() + 1).padStart(2, "0"), me = String(F.getDate()).padStart(2, "0"), X = String(F.getHours()).padStart(2, "0"), De = String(F.getMinutes()).padStart(2, "0");
25331
+ let ve = "png";
25332
+ x.type === "image/jpeg" ? ve = "jpg" : x.type === "image/webp" ? ve = "webp" : x.type === "image/gif" && (ve = "gif");
25333
+ const pe = `pasted-image-${I}-${K}-${me}-${X}${De}.${ve}`;
25334
25334
  return new File([x], pe, { type: x.type });
25335
25335
  }
25336
25336
  function y() {
@@ -25474,7 +25474,7 @@ const z1e = (() => {
25474
25474
  clear: M,
25475
25475
  focus: N,
25476
25476
  blockStyle: a
25477
- }), (x, H) => (k(), X(oe(_1e), { "initial-config": d }, {
25477
+ }), (x, H) => (k(), Q(oe(_1e), { "initial-config": d }, {
25478
25478
  default: le(() => [
25479
25479
  we(x.$slots, "toolbar"),
25480
25480
  b("div", {
@@ -25903,7 +25903,7 @@ const K1e = { class: "ao-comment" }, G1e = { class: "ao-comment__created-at" },
25903
25903
  var g;
25904
25904
  return k(), A("li", K1e, [
25905
25905
  b("span", G1e, U(l.value), 1),
25906
- i.value ? (k(), X(Pn, {
25906
+ i.value ? (k(), Q(Pn, {
25907
25907
  key: 0,
25908
25908
  "avatar-url": (g = t.user) == null ? void 0 : g.avatarUrl,
25909
25909
  "user-name": i.value,
@@ -25911,7 +25911,7 @@ const K1e = { class: "ao-comment" }, G1e = { class: "ao-comment__created-at" },
25911
25911
  }, null, 8, ["avatar-url", "user-name"])) : R("", !0),
25912
25912
  b("div", Y1e, [
25913
25913
  b("div", J1e, [
25914
- r.value ? (k(), X(W0, {
25914
+ r.value ? (k(), Q(W0, {
25915
25915
  key: 1,
25916
25916
  ref_key: "commentEditorRef",
25917
25917
  ref: a,
@@ -25921,7 +25921,7 @@ const K1e = { class: "ao-comment" }, G1e = { class: "ao-comment__created-at" },
25921
25921
  "toolbar-visibility": "always",
25922
25922
  onSubmit: c,
25923
25923
  onCancel: f
25924
- }, null, 8, ["initial-markdown", "mentionable-users"])) : (k(), X(bd, {
25924
+ }, null, 8, ["initial-markdown", "mentionable-users"])) : (k(), Q(bd, {
25925
25925
  key: 0,
25926
25926
  content: t.content,
25927
25927
  placeholder: "",
@@ -26034,7 +26034,7 @@ const efe = { class: "ao-comments__new" }, tfe = {
26034
26034
  }, null, 8, ["initial-markdown", "mentionable-users", "placeholder"])
26035
26035
  ]),
26036
26036
  i.value.length > 0 ? (k(), A("ul", tfe, [
26037
- (k(!0), A($e, null, Je(i.value, (p) => (k(), X(Q1e, {
26037
+ (k(!0), A($e, null, Je(i.value, (p) => (k(), Q(Q1e, {
26038
26038
  key: p.id,
26039
26039
  user: r(p.author.id),
26040
26040
  content: p.message,
@@ -26185,7 +26185,7 @@ const ofe = ["aria-label"], ife = { class: "ao-file-preview__actions" }, rfe = [
26185
26185
  ), m();
26186
26186
  }), (L, z) => {
26187
26187
  var W, Z, M, N, x, H;
26188
- return k(), X(An, { to: "body" }, [
26188
+ return k(), Q(An, { to: "body" }, [
26189
26189
  b("div", {
26190
26190
  class: "ao-file-preview",
26191
26191
  role: "dialog",
@@ -26316,7 +26316,7 @@ const Vu = /* @__PURE__ */ ce({
26316
26316
  const n = t, o = e, i = () => {
26317
26317
  o("update:modelValue", !n.modelValue);
26318
26318
  };
26319
- return (r, s) => (k(), X(xe, {
26319
+ return (r, s) => (k(), Q(xe, {
26320
26320
  color: t.modelValue ? t.color : oe(Ku).NEUTRAL,
26321
26321
  "icon-position": "start",
26322
26322
  onClick: s[0] || (s[0] = () => i())
@@ -26462,7 +26462,7 @@ const Vu = /* @__PURE__ */ ce({
26462
26462
  ]));
26463
26463
  }
26464
26464
  });
26465
- const Nfe = /* @__PURE__ */ me(Ife, [["__scopeId", "data-v-d88ea484"]]), Pfe = ce({
26465
+ const Nfe = /* @__PURE__ */ ge(Ife, [["__scopeId", "data-v-d88ea484"]]), Pfe = ce({
26466
26466
  props: {
26467
26467
  isLeft: {
26468
26468
  type: Boolean,
@@ -26514,7 +26514,7 @@ function Rfe(t, e, n, o, i, r) {
26514
26514
  }, U(t.rightLabel), 3)
26515
26515
  ]);
26516
26516
  }
26517
- const Bfe = /* @__PURE__ */ me(Pfe, [["render", Rfe], ["__scopeId", "data-v-40c1f714"]]), Ufe = ce({
26517
+ const Bfe = /* @__PURE__ */ ge(Pfe, [["render", Rfe], ["__scopeId", "data-v-40c1f714"]]), Ufe = ce({
26518
26518
  props: {
26519
26519
  modelValue: {
26520
26520
  type: [String, Number],
@@ -26564,7 +26564,7 @@ function qfe(t, e, n, o, i, r) {
26564
26564
  ], 10, Hfe))), 128))
26565
26565
  ], 2);
26566
26566
  }
26567
- const rc = /* @__PURE__ */ me(Ufe, [["render", qfe], ["__scopeId", "data-v-3d268d7b"]]), Vfe = { class: "ao-rich-text-editor" }, Wfe = { class: "ao-rich-text-editor__toolbar" }, Zfe = ["value"], Kfe = { class: "ao-rich-text-editor__actions" }, Z0 = /* @__PURE__ */ ce({
26567
+ const rc = /* @__PURE__ */ ge(Ufe, [["render", qfe], ["__scopeId", "data-v-3d268d7b"]]), Vfe = { class: "ao-rich-text-editor" }, Wfe = { class: "ao-rich-text-editor__toolbar" }, Zfe = ["value"], Kfe = { class: "ao-rich-text-editor__actions" }, Z0 = /* @__PURE__ */ ce({
26568
26568
  __name: "AoRichTextEditor",
26569
26569
  props: {
26570
26570
  initialMarkdown: { default: "" },
@@ -26953,28 +26953,28 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
26953
26953
  }, H = O(() => {
26954
26954
  var B;
26955
26955
  return !((B = o.activity.project) != null && B.id);
26956
- }), F = ne(!1), I = ne(""), Y = ne(""), ve = ne(""), Q = O(() => {
26956
+ }), F = ne(!1), I = ne(""), K = ne(""), me = ne(""), X = O(() => {
26957
26957
  var mt;
26958
26958
  if (!((mt = o.activity.project) == null ? void 0 : mt.id))
26959
26959
  return !1;
26960
- const ee = Y.value, Se = ve.value;
26960
+ const ee = K.value, Se = me.value;
26961
26961
  return !ee || !Se ? !1 : new Date(Se) >= new Date(ee);
26962
26962
  }), De = () => {
26963
26963
  var ee;
26964
- (ee = o.activity.project) != null && ee.id && (F.value = !0, I.value = "", Y.value = "", ve.value = "");
26965
- }, ge = () => {
26966
- F.value = !1, I.value = "", Y.value = "", ve.value = "";
26964
+ (ee = o.activity.project) != null && ee.id && (F.value = !0, I.value = "", K.value = "", me.value = "");
26965
+ }, ve = () => {
26966
+ F.value = !1, I.value = "", K.value = "", me.value = "";
26967
26967
  }, pe = () => {
26968
26968
  var ee;
26969
- if (!Q.value)
26969
+ if (!X.value)
26970
26970
  return;
26971
26971
  const B = (ee = o.activity.project) == null ? void 0 : ee.id;
26972
26972
  B && (i("createSprint", {
26973
26973
  projectId: B,
26974
26974
  label: I.value.trim() || void 0,
26975
- startDate: Y.value,
26976
- endDate: ve.value
26977
- }), F.value = !1, I.value = "", Y.value = "", ve.value = "");
26975
+ startDate: K.value,
26976
+ endDate: me.value
26977
+ }), F.value = !1, I.value = "", K.value = "", me.value = "");
26978
26978
  }, J = O(() => o.templateActivities.filter((B) => B.id !== o.activity.id).map((B) => ({
26979
26979
  label: B.name,
26980
26980
  value: B.id
@@ -27024,7 +27024,7 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27024
27024
  function We() {
27025
27025
  o.userId ? Ue.value = [o.userId] : console.error("Failed assigning to self: userId is missing");
27026
27026
  }
27027
- function K(B) {
27027
+ function G(B) {
27028
27028
  Ue.value = [B];
27029
27029
  }
27030
27030
  const fe = O(() => {
@@ -27135,7 +27135,7 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27135
27135
  b("div", Gfe, [
27136
27136
  b("div", Yfe, [
27137
27137
  b("div", Jfe, [
27138
- t.activity.slug ? (k(), X(ks, {
27138
+ t.activity.slug ? (k(), Q(ks, {
27139
27139
  key: 0,
27140
27140
  label: t.activity.slug,
27141
27141
  clickable: !0,
@@ -27198,7 +27198,7 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27198
27198
  onPreview: ee[1] || (ee[1] = (Me) => f.value = Me)
27199
27199
  }, {
27200
27200
  default: le(() => [
27201
- d.value ? (k(), X(Z0, {
27201
+ d.value ? (k(), Q(Z0, {
27202
27202
  key: 1,
27203
27203
  "initial-markdown": h.value,
27204
27204
  onSave: g,
@@ -27336,7 +27336,7 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27336
27336
  b("div", Dpe, [
27337
27337
  b("div", Mpe, [
27338
27338
  b("span", Lpe, U(B.$t("activity.sprint.label")), 1),
27339
- (Tt = t.activity.project) != null && Tt.id && c.value && !F.value ? (k(), X(xe, {
27339
+ (Tt = t.activity.project) != null && Tt.id && c.value && !F.value ? (k(), Q(xe, {
27340
27340
  key: 0,
27341
27341
  label: B.$t("activity.sprint.new"),
27342
27342
  type: "button",
@@ -27361,21 +27361,21 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27361
27361
  b("div", Fpe, [
27362
27362
  b("label", Rpe, U(B.$t("activity.sprint.startDateLabel")), 1),
27363
27363
  ot(b("input", {
27364
- "onUpdate:modelValue": ee[8] || (ee[8] = (Me) => Y.value = Me),
27364
+ "onUpdate:modelValue": ee[8] || (ee[8] = (Me) => K.value = Me),
27365
27365
  class: "ao-field__input",
27366
27366
  type: "date"
27367
27367
  }, null, 512), [
27368
- [Lt, Y.value]
27368
+ [Lt, K.value]
27369
27369
  ])
27370
27370
  ]),
27371
27371
  b("div", Bpe, [
27372
27372
  b("label", Upe, U(B.$t("activity.sprint.endDateLabel")), 1),
27373
27373
  ot(b("input", {
27374
- "onUpdate:modelValue": ee[9] || (ee[9] = (Me) => ve.value = Me),
27374
+ "onUpdate:modelValue": ee[9] || (ee[9] = (Me) => me.value = Me),
27375
27375
  class: "ao-field__input",
27376
27376
  type: "date"
27377
27377
  }, null, 512), [
27378
- [Lt, ve.value]
27378
+ [Lt, me.value]
27379
27379
  ])
27380
27380
  ]),
27381
27381
  b("div", Hpe, [
@@ -27383,18 +27383,18 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27383
27383
  type: "button",
27384
27384
  variant: "ghost",
27385
27385
  label: B.$t("common.cancel"),
27386
- onClick: ge
27386
+ onClick: ve
27387
27387
  }, null, 8, ["label"]),
27388
27388
  P(xe, {
27389
27389
  type: "button",
27390
27390
  color: "primary",
27391
27391
  variant: "solid",
27392
27392
  label: B.$t("common.create"),
27393
- disabled: !Q.value,
27393
+ disabled: !X.value,
27394
27394
  onClick: pe
27395
27395
  }, null, 8, ["label", "disabled"])
27396
27396
  ])
27397
- ])) : (k(), X(Wt, {
27397
+ ])) : (k(), Q(Wt, {
27398
27398
  key: 0,
27399
27399
  class: "ao-activity-details__multiselect",
27400
27400
  options: Z.value,
@@ -27436,7 +27436,7 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27436
27436
  mode: "tags",
27437
27437
  disabled: !c.value,
27438
27438
  caret: c.value,
27439
- onSelect: K
27439
+ onSelect: G
27440
27440
  }, {
27441
27441
  tag: le(({
27442
27442
  option: Me,
@@ -27582,7 +27582,7 @@ const Gfe = { class: "ao-activity-details" }, Yfe = { class: "ao-activity-detail
27582
27582
  }),
27583
27583
  _: 3
27584
27584
  }),
27585
- f.value !== null ? (k(), X(yfe, {
27585
+ f.value !== null ? (k(), Q(yfe, {
27586
27586
  key: 0,
27587
27587
  attachments: t.activity.attachments || [],
27588
27588
  "current-index": f.value,
@@ -27667,7 +27667,7 @@ const vhe = /* @__PURE__ */ ce({
27667
27667
  o("update:rule", { ...n.rule, durationUnit: m });
27668
27668
  }
27669
27669
  }), v = O(() => Object.values(eb));
27670
- return (m, y) => (k(), X(Hi(t.tagName), { class: "ao-rule-line" }, {
27670
+ return (m, y) => (k(), Q(Hi(t.tagName), { class: "ao-rule-line" }, {
27671
27671
  default: le(() => [
27672
27672
  P(oe(Vo), {
27673
27673
  modelValue: r.value,
@@ -27733,7 +27733,7 @@ const yhe = { class: "ao-template-rules__body" }, _he = { class: "ao-template-ru
27733
27733
  }, i = (r) => {
27734
27734
  n("removeRule", r);
27735
27735
  };
27736
- return (r, s) => (k(), X(El, null, {
27736
+ return (r, s) => (k(), Q(El, null, {
27737
27737
  header: le(() => [
27738
27738
  P(Pt, {
27739
27739
  title: r.$t("template.rules.title"),
@@ -27743,7 +27743,7 @@ const yhe = { class: "ao-template-rules__body" }, _he = { class: "ao-template-ru
27743
27743
  default: le(() => [
27744
27744
  b("div", yhe, [
27745
27745
  b("ul", _he, [
27746
- (k(!0), A($e, null, Je(t.rules, (a) => (k(), X(vhe, {
27746
+ (k(!0), A($e, null, Je(t.rules, (a) => (k(), Q(vhe, {
27747
27747
  key: a.id,
27748
27748
  rule: a,
27749
27749
  "template-phases": t.templatePhases,
@@ -27807,7 +27807,7 @@ const Che = {
27807
27807
  );
27808
27808
  const a = O(() => {
27809
27809
  var F, I;
27810
- return (I = (F = r == null ? void 0 : r.value) == null ? void 0 : F.phases) == null ? void 0 : I.find((Y) => Y.id === o.phaseId);
27810
+ return (I = (F = r == null ? void 0 : r.value) == null ? void 0 : F.phases) == null ? void 0 : I.find((K) => K.id === o.phaseId);
27811
27811
  });
27812
27812
  Oe(
27813
27813
  () => {
@@ -27821,7 +27821,7 @@ const Che = {
27821
27821
  const l = O(() => {
27822
27822
  var F, I;
27823
27823
  return (I = (F = a.value) == null ? void 0 : F.milestones) == null ? void 0 : I.find(
27824
- (Y) => Y.id === o.milestoneId
27824
+ (K) => K.id === o.milestoneId
27825
27825
  );
27826
27826
  });
27827
27827
  Oe(
@@ -27835,23 +27835,23 @@ const Che = {
27835
27835
  );
27836
27836
  const u = O(() => {
27837
27837
  var F, I;
27838
- return ((I = (F = r.value) == null ? void 0 : F.phases) == null ? void 0 : I.reduce((Y, ve) => {
27839
- const Q = ve.milestones || [];
27840
- return [...Y, ...Q];
27838
+ return ((I = (F = r.value) == null ? void 0 : F.phases) == null ? void 0 : I.reduce((K, me) => {
27839
+ const X = me.milestones || [];
27840
+ return [...K, ...X];
27841
27841
  }, [])) || [];
27842
27842
  }), c = O(() => {
27843
27843
  var F, I;
27844
- return ((I = (F = r.value) == null ? void 0 : F.phases) == null ? void 0 : I.reduce((Y, ve) => {
27845
- const De = (ve.milestones || []).reduce(
27846
- (ge, pe) => pe.activities ? [...ge, ...pe.activities] : ge,
27844
+ return ((I = (F = r.value) == null ? void 0 : F.phases) == null ? void 0 : I.reduce((K, me) => {
27845
+ const De = (me.milestones || []).reduce(
27846
+ (ve, pe) => pe.activities ? [...ve, ...pe.activities] : ve,
27847
27847
  []
27848
27848
  );
27849
- return [...Y, ...De];
27849
+ return [...K, ...De];
27850
27850
  }, [])) || [];
27851
27851
  }), d = O(() => {
27852
27852
  var F, I;
27853
27853
  return (I = (F = l.value) == null ? void 0 : F.activities) == null ? void 0 : I.find(
27854
- (Y) => Y.id === o.activityId
27854
+ (K) => K.id === o.activityId
27855
27855
  );
27856
27856
  }), f = O(() => {
27857
27857
  var F;
@@ -27899,7 +27899,7 @@ const Che = {
27899
27899
  }, m = (F) => {
27900
27900
  if (!a.value)
27901
27901
  return;
27902
- const { name: I, rank: Y } = Ei(
27902
+ const { name: I, rank: K } = Ei(
27903
27903
  a.value.milestones,
27904
27904
  "milestone",
27905
27905
  n
@@ -27910,7 +27910,7 @@ const Che = {
27910
27910
  phaseId: F.phaseId,
27911
27911
  item: {
27912
27912
  name: I,
27913
- rank: Y,
27913
+ rank: K,
27914
27914
  phaseId: F.phaseId
27915
27915
  }
27916
27916
  });
@@ -27924,18 +27924,18 @@ const Che = {
27924
27924
  }
27925
27925
  });
27926
27926
  }, C = (F) => {
27927
- const { id: I, ...Y } = F;
27927
+ const { id: I, ...K } = F;
27928
27928
  i("updateItem", {
27929
27929
  itemType: pt.MILESTONES,
27930
27930
  id: I,
27931
27931
  templateId: o.templateId,
27932
- data: Y
27932
+ data: K
27933
27933
  });
27934
27934
  }, S = (F) => {
27935
27935
  const { milestoneId: I } = F;
27936
27936
  if (!l.value)
27937
27937
  return;
27938
- const { name: Y, rank: ve } = Ei(
27938
+ const { name: K, rank: me } = Ei(
27939
27939
  l.value.activities,
27940
27940
  "activity",
27941
27941
  n
@@ -27944,26 +27944,26 @@ const Che = {
27944
27944
  type: pt.ACTIVITIES,
27945
27945
  milestoneId: I,
27946
27946
  templateId: o.templateId,
27947
- item: { name: Y, rank: ve, milestoneId: I }
27947
+ item: { name: K, rank: me, milestoneId: I }
27948
27948
  });
27949
27949
  }, w = (F) => {
27950
- var I, Y;
27950
+ var I, K;
27951
27951
  i("removeItem", {
27952
27952
  itemType: pt.ACTIVITIES,
27953
27953
  templateId: o.templateId,
27954
27954
  phaseId: (I = a.value) == null ? void 0 : I.id,
27955
- milestoneId: (Y = l.value) == null ? void 0 : Y.id,
27955
+ milestoneId: (K = l.value) == null ? void 0 : K.id,
27956
27956
  data: {
27957
27957
  id: F.id
27958
27958
  }
27959
27959
  });
27960
27960
  }, T = (F) => {
27961
- const { id: I, ...Y } = F;
27961
+ const { id: I, ...K } = F;
27962
27962
  i("updateItem", {
27963
27963
  itemType: pt.ACTIVITIES,
27964
27964
  id: I,
27965
27965
  templateId: o.templateId,
27966
- data: Y
27966
+ data: K
27967
27967
  });
27968
27968
  }, E = ne(!1), $ = () => {
27969
27969
  E.value = !E.value;
@@ -27974,13 +27974,13 @@ const Che = {
27974
27974
  }, W = (F) => {
27975
27975
  var I;
27976
27976
  if (F.moved) {
27977
- const Y = Vs(F, ((I = r.value) == null ? void 0 : I.phases) ?? []);
27977
+ const K = Vs(F, ((I = r.value) == null ? void 0 : I.phases) ?? []);
27978
27978
  i("updateItem", {
27979
27979
  itemType: pt.PHASES,
27980
27980
  id: F.moved.element.id,
27981
27981
  templateId: o.templateId,
27982
27982
  data: {
27983
- rank: Y
27983
+ rank: K
27984
27984
  }
27985
27985
  });
27986
27986
  }
@@ -28015,7 +28015,7 @@ const Che = {
28015
28015
  i("removeFile", F);
28016
28016
  };
28017
28017
  return (F, I) => {
28018
- var Y, ve, Q, De, ge, pe;
28018
+ var K, me, X, De, ve, pe;
28019
28019
  return r.value ? (k(), A("div", Che, [
28020
28020
  P(Zs, {
28021
28021
  "can-go-back": !0,
@@ -28082,11 +28082,11 @@ const Che = {
28082
28082
  }, 8, ["model-value"])
28083
28083
  ]),
28084
28084
  b("li", Ahe, [
28085
- a.value ? (k(), X(LC, {
28085
+ a.value ? (k(), Q(LC, {
28086
28086
  key: 0,
28087
28087
  "template-id": t.templateId,
28088
28088
  phase: a.value,
28089
- "milestone-id": (Y = l.value) == null ? void 0 : Y.id,
28089
+ "milestone-id": (K = l.value) == null ? void 0 : K.id,
28090
28090
  onAddMilestone: m,
28091
28091
  onUpdateMilestone: C,
28092
28092
  onUpdatePhase: v,
@@ -28094,12 +28094,12 @@ const Che = {
28094
28094
  }, null, 8, ["template-id", "phase", "milestone-id"])) : R("", !0)
28095
28095
  ]),
28096
28096
  b("li", Ehe, [
28097
- a.value && l.value ? (k(), X(NC, {
28097
+ a.value && l.value ? (k(), Q(NC, {
28098
28098
  key: 0,
28099
28099
  "template-id": t.templateId,
28100
- "phase-id": (ve = a.value) == null ? void 0 : ve.id,
28100
+ "phase-id": (me = a.value) == null ? void 0 : me.id,
28101
28101
  milestone: l.value,
28102
- "activity-id": (Q = d.value) == null ? void 0 : Q.id,
28102
+ "activity-id": (X = d.value) == null ? void 0 : X.id,
28103
28103
  onAddActivity: S,
28104
28104
  onUpdateActivity: T,
28105
28105
  onRemoveActivity: w
@@ -28107,12 +28107,12 @@ const Che = {
28107
28107
  ])
28108
28108
  ])
28109
28109
  ]),
28110
- (k(), X(An, { to: "body" }, [
28111
- d.value ? (k(), X(sc, {
28110
+ (k(), Q(An, { to: "body" }, [
28111
+ d.value ? (k(), Q(sc, {
28112
28112
  key: 0,
28113
28113
  activity: d.value,
28114
28114
  "activity-types": t.activityTypes,
28115
- breadcrumbs: `${r.value.name} / ${(De = a.value) == null ? void 0 : De.name} / ${(ge = l.value) == null ? void 0 : ge.name}`,
28115
+ breadcrumbs: `${r.value.name} / ${(De = a.value) == null ? void 0 : De.name} / ${(ve = l.value) == null ? void 0 : ve.name}`,
28116
28116
  "milestone-id": (pe = l.value) == null ? void 0 : pe.id,
28117
28117
  "template-activities": c.value,
28118
28118
  "template-milestones": u.value,
@@ -28137,8 +28137,8 @@ const Che = {
28137
28137
  _: 3
28138
28138
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : R("", !0)
28139
28139
  ])),
28140
- (k(), X(An, { to: "body" }, [
28141
- E.value ? (k(), X(bhe, {
28140
+ (k(), Q(An, { to: "body" }, [
28141
+ E.value ? (k(), Q(bhe, {
28142
28142
  key: 0,
28143
28143
  "template-id": r.value.id,
28144
28144
  rules: r.value.rules || [],
@@ -28171,7 +28171,7 @@ const $he = { class: "ao-card__content" }, Dhe = {
28171
28171
  variant: { default: "default" }
28172
28172
  },
28173
28173
  setup(t) {
28174
- return (e, n) => (k(), X(Hi(t.tagName), {
28174
+ return (e, n) => (k(), Q(Hi(t.tagName), {
28175
28175
  class: ye([
28176
28176
  "ao-card",
28177
28177
  {
@@ -28336,7 +28336,7 @@ var n1 = ce({
28336
28336
  });
28337
28337
  const Phe = { ref: "canvasSaturation" };
28338
28338
  function Fhe(t, e, n, o, i, r) {
28339
- return k(), X(
28339
+ return k(), Q(
28340
28340
  "div",
28341
28341
  {
28342
28342
  class: "saturation",
@@ -28422,7 +28422,7 @@ var o1 = ce({
28422
28422
  });
28423
28423
  const Rhe = { ref: "canvasHue" };
28424
28424
  function Bhe(t, e, n, o, i, r) {
28425
- return k(), X(
28425
+ return k(), Q(
28426
28426
  "div",
28427
28427
  {
28428
28428
  class: "hue",
@@ -28517,7 +28517,7 @@ var i1 = ce({
28517
28517
  });
28518
28518
  const Uhe = { ref: "canvasAlpha" };
28519
28519
  function Hhe(t, e, n, o, i, r) {
28520
- return k(), X(
28520
+ return k(), Q(
28521
28521
  "div",
28522
28522
  {
28523
28523
  class: "color-alpha",
@@ -28584,7 +28584,7 @@ var r1 = ce({
28584
28584
  }
28585
28585
  });
28586
28586
  function jhe(t, e, n, o, i, r) {
28587
- return k(), X("canvas");
28587
+ return k(), Q("canvas");
28588
28588
  }
28589
28589
  r1.render = jhe;
28590
28590
  r1.__file = "src/color/Preview.vue";
@@ -28694,8 +28694,8 @@ const zhe = /* @__PURE__ */ P(
28694
28694
  /* HOISTED */
28695
28695
  );
28696
28696
  function Whe(t, e, n, o, i, r) {
28697
- return k(), X("div", null, [
28698
- t.isSucking ? R("v-if", !0) : (k(), X(
28697
+ return k(), Q("div", null, [
28698
+ t.isSucking ? R("v-if", !0) : (k(), Q(
28699
28699
  "svg",
28700
28700
  {
28701
28701
  key: 0,
@@ -28710,7 +28710,7 @@ function Whe(t, e, n, o, i, r) {
28710
28710
  2
28711
28711
  /* CLASS */
28712
28712
  )),
28713
- t.isSucking ? (k(), X("svg", qhe, [
28713
+ t.isSucking ? (k(), Q("svg", qhe, [
28714
28714
  Vhe
28715
28715
  ])) : R("v-if", !0)
28716
28716
  ]);
@@ -28750,7 +28750,7 @@ var a1 = ce({
28750
28750
  });
28751
28751
  const Zhe = { class: "color-type" }, Khe = { class: "name" };
28752
28752
  function Ghe(t, e, n, o, i, r) {
28753
- return k(), X("div", Zhe, [
28753
+ return k(), Q("div", Zhe, [
28754
28754
  P(
28755
28755
  "span",
28756
28756
  Khe,
@@ -28821,12 +28821,12 @@ const Yhe = { class: "colors" }, Jhe = {
28821
28821
  class: "colors history"
28822
28822
  };
28823
28823
  function Xhe(t, e, n, o, i, r) {
28824
- return k(), X("div", null, [
28824
+ return k(), Q("div", null, [
28825
28825
  P("ul", Yhe, [
28826
- (k(!0), X(
28826
+ (k(!0), Q(
28827
28827
  $e,
28828
28828
  null,
28829
- Je(t.colorsDefault, (s) => (k(), X("li", {
28829
+ Je(t.colorsDefault, (s) => (k(), Q("li", {
28830
28830
  key: s,
28831
28831
  class: "item",
28832
28832
  onClick: (a) => t.selectColor(s)
@@ -28856,11 +28856,11 @@ function Xhe(t, e, n, o, i, r) {
28856
28856
  /* KEYED_FRAGMENT */
28857
28857
  ))
28858
28858
  ]),
28859
- t.colorsHistory.length ? (k(), X("ul", Jhe, [
28860
- (k(!0), X(
28859
+ t.colorsHistory.length ? (k(), Q("ul", Jhe, [
28860
+ (k(!0), Q(
28861
28861
  $e,
28862
28862
  null,
28863
- Je(t.colorsHistory, (s) => (k(), X("li", {
28863
+ Je(t.colorsHistory, (s) => (k(), Q("li", {
28864
28864
  key: s,
28865
28865
  class: "item",
28866
28866
  onClick: (a) => t.selectColor(s)
@@ -29070,7 +29070,7 @@ var mr = ce({
29070
29070
  const Qhe = { class: "color-set" };
29071
29071
  function eme(t, e, n, o, i, r) {
29072
29072
  const s = zo("Saturation"), a = zo("Hue"), l = zo("Alpha"), u = zo("Preview"), c = zo("Sucker"), d = zo("Box"), f = zo("Colors");
29073
- return k(), X(
29073
+ return k(), Q(
29074
29074
  "div",
29075
29075
  {
29076
29076
  class: ["hu-color-picker", { light: t.isLightTheme }],
@@ -29113,7 +29113,7 @@ function eme(t, e, n, o, i, r) {
29113
29113
  width: t.previewWidth,
29114
29114
  height: t.previewHeight
29115
29115
  }, null, 8, ["color", "width", "height"]),
29116
- t.suckerHide ? R("v-if", !0) : (k(), X(c, {
29116
+ t.suckerHide ? R("v-if", !0) : (k(), Q(c, {
29117
29117
  key: 0,
29118
29118
  "sucker-canvas": t.suckerCanvas,
29119
29119
  "sucker-area": t.suckerArea,
@@ -29288,7 +29288,7 @@ const nme = { class: "ao-card-project-phase__header" }, ome = { class: "ao-card-
29288
29288
  const m = g.target;
29289
29289
  m.closest("button") || m.closest("input") || m.closest(".ao-title") || v(m);
29290
29290
  };
29291
- return (g, v) => (k(), X(sa, {
29291
+ return (g, v) => (k(), Q(sa, {
29292
29292
  color: h.value,
29293
29293
  "onUpdate:color": v[2] || (v[2] = (m) => h.value = m)
29294
29294
  }, {
@@ -29453,7 +29453,7 @@ const pme = { class: "ao-card-project-milestone__default" }, hme = { class: "ao-
29453
29453
  }), d = O(() => (c.value || 0) / (u.value || 1)), f = (p) => {
29454
29454
  o("updateMilestone", { id: n.id, name: p });
29455
29455
  };
29456
- return (p, h) => (k(), X(ac, {
29456
+ return (p, h) => (k(), Q(ac, {
29457
29457
  class: ye([
29458
29458
  "ao-card-project-milestone"
29459
29459
  ]),
@@ -29520,7 +29520,7 @@ const pme = { class: "ao-card-project-milestone__default" }, hme = { class: "ao-
29520
29520
  ]),
29521
29521
  footer: le(() => [
29522
29522
  b("div", wme, [
29523
- t.important ? (k(), X(Fe, {
29523
+ t.important ? (k(), Q(Fe, {
29524
29524
  key: 0,
29525
29525
  name: "FlagRounded",
29526
29526
  class: ye(
@@ -29674,7 +29674,7 @@ const Tme = ["onKeydown"], _l = /* @__PURE__ */ ce({
29674
29674
  toggle: p
29675
29675
  })
29676
29676
  ], 16),
29677
- (k(), X(An, { to: "body" }, [
29677
+ (k(), Q(An, { to: "body" }, [
29678
29678
  r.value ? (k(), A("div", {
29679
29679
  key: 0,
29680
29680
  ref_key: "menuRef",
@@ -29894,7 +29894,7 @@ const Nme = ["onKeydown"], Pme = { class: "ao-modal ao-bulk-insert-modal" }, Fme
29894
29894
  C.params ?? {}
29895
29895
  )
29896
29896
  );
29897
- return (C, S) => (k(), X(An, { to: "body" }, [
29897
+ return (C, S) => (k(), Q(An, { to: "body" }, [
29898
29898
  t.open ? (k(), A("div", {
29899
29899
  key: 0,
29900
29900
  class: ye([
@@ -30101,7 +30101,7 @@ const ege = { class: "ao-mapping-card-project-phase__header" }, tge = { class: "
30101
30101
  const m = g.target;
30102
30102
  m.closest("button") || m.closest("input") || m.closest(".ao-title") || v();
30103
30103
  };
30104
- return (g, v) => (k(), X(sa, {
30104
+ return (g, v) => (k(), Q(sa, {
30105
30105
  color: h.value,
30106
30106
  "onUpdate:color": v[2] || (v[2] = (m) => h.value = m)
30107
30107
  }, {
@@ -30346,7 +30346,7 @@ const uge = { class: "ao-project-phase" }, dge = {
30346
30346
  class: "ao-project-phase__milestones ao-project-phase__milestones--hoverable",
30347
30347
  style: Nt(T.value)
30348
30348
  }, [
30349
- t.isEditable ? (k(), X(_l, {
30349
+ t.isEditable ? (k(), Q(_l, {
30350
30350
  key: 0,
30351
30351
  class: ye(["ao-project-phase__milestone-quick-add", { "ao-project-phase__milestone-quick-add--visible": w.value }]),
30352
30352
  placement: "bottom-end"
@@ -30423,7 +30423,7 @@ const uge = { class: "ao-project-phase" }, dge = {
30423
30423
  _: 1
30424
30424
  }, 16, ["list", "disabled"]),
30425
30425
  b("div", yge, [
30426
- t.isEditable ? (k(), X(ri, {
30426
+ t.isEditable ? (k(), Q(ri, {
30427
30427
  key: 0,
30428
30428
  label: E.$t("project.milestone.add"),
30429
30429
  "icon-name": "Add",
@@ -30433,7 +30433,7 @@ const uge = { class: "ao-project-phase" }, dge = {
30433
30433
  ])
30434
30434
  ], 4)
30435
30435
  ])),
30436
- v.value ? (k(), X(u1, {
30436
+ v.value ? (k(), Q(u1, {
30437
30437
  key: 1,
30438
30438
  open: v.value,
30439
30439
  "onUpdate:open": $[1] || ($[1] = (L) => v.value = L),
@@ -30550,7 +30550,7 @@ const wge = { class: "ao-add-template-modal__form-body" }, Sge = { class: "field
30550
30550
  }, a = () => {
30551
30551
  r.value && o("apply", r.value, n.projectId);
30552
30552
  };
30553
- return (l, u) => (k(), X(El, { size: "sm" }, {
30553
+ return (l, u) => (k(), Q(El, { size: "sm" }, {
30554
30554
  header: le(() => [
30555
30555
  P(Pt, {
30556
30556
  title: l.$t("project.template.apply.title"),
@@ -30602,7 +30602,7 @@ const Age = { class: "ao-save-template-modal__form-body" }, Ege = { class: "fiel
30602
30602
  const s = () => {
30603
30603
  i.value && o("save", i.value, r.value);
30604
30604
  };
30605
- return (a, l) => (k(), X(El, { size: "sm" }, {
30605
+ return (a, l) => (k(), Q(El, { size: "sm" }, {
30606
30606
  header: le(() => [
30607
30607
  P(Pt, {
30608
30608
  title: a.$t("project.template.save.title"),
@@ -30739,37 +30739,37 @@ const Nge = { class: "ao-project" }, Pge = ["onClick"], Fge = ["onClick"], Rge =
30739
30739
  i("updateComment", V);
30740
30740
  }, x = (V) => {
30741
30741
  i("removeComment", V);
30742
- }, H = ne(!1), F = ne(!1), I = ne(!1), Y = ne(!1), ve = (V, _e) => {
30742
+ }, H = ne(!1), F = ne(!1), I = ne(!1), K = ne(!1), me = (V, _e) => {
30743
30743
  i("applyTemplate", { templateId: V, projectId: _e }), H.value = !1;
30744
- }, Q = (V, _e) => {
30744
+ }, X = (V, _e) => {
30745
30745
  var Re;
30746
30746
  const He = (Re = o.templates) == null ? void 0 : Re.at(-1), it = He ? _t.LexoRank.parse(He.rank).genNext() : _t.LexoRank.middle();
30747
30747
  i("saveTemplate", { templateName: V, rank: it.format(), phaseIds: _e }), F.value = !1;
30748
30748
  }, De = (V) => {
30749
- Y.value = !0;
30749
+ K.value = !0;
30750
30750
  const _e = Qme(V, o.phases);
30751
30751
  i("bulkAddPhase", {
30752
30752
  projectId: o.project.id,
30753
30753
  phases: _e,
30754
30754
  onSuccess: () => {
30755
- Y.value = !1, I.value = !1;
30755
+ K.value = !1, I.value = !1;
30756
30756
  },
30757
30757
  onError: () => {
30758
- Y.value = !1;
30758
+ K.value = !1;
30759
30759
  }
30760
30760
  });
30761
30761
  };
30762
30762
  Oe(I, (V) => {
30763
- V && (Y.value = !1);
30763
+ V && (K.value = !1);
30764
30764
  });
30765
- const ge = Zu(), pe = ne("overview"), J = [
30765
+ const ve = Zu(), pe = ne("overview"), J = [
30766
30766
  { label: "Overview", value: "overview" },
30767
30767
  { label: "Feed", value: "feed" },
30768
30768
  { label: "Dev", value: "dev" },
30769
30769
  { label: "Mapping", value: "mapping" }
30770
30770
  ];
30771
30771
  return Oe(pe, (V) => {
30772
- V === "feed" ? (ge.push({ name: et.feed }), console.log("Navigating to feed...")) : V === "dev" ? (ge.push({ name: et.dev }), console.log("Navigating to dev...")) : V === "overview" ? (ge.push({ name: et.project }), console.log("Navigating to feed...")) : V === "mapping" && (ge.push({ name: et.mapping }), console.log("Navigating to feed..."));
30772
+ V === "feed" ? (ve.push({ name: et.feed }), console.log("Navigating to feed...")) : V === "dev" ? (ve.push({ name: et.dev }), console.log("Navigating to dev...")) : V === "overview" ? (ve.push({ name: et.project }), console.log("Navigating to feed...")) : V === "mapping" && (ve.push({ name: et.mapping }), console.log("Navigating to feed..."));
30773
30773
  }), (V, _e) => {
30774
30774
  var it;
30775
30775
  const He = zo("RouterView");
@@ -30797,7 +30797,7 @@ const Nge = { class: "ao-project" }, Pge = ["onClick"], Fge = ["onClick"], Rge =
30797
30797
  }, null, 8, ["icon-name", "label", "aria-checked"])
30798
30798
  ]),
30799
30799
  secondary: le(() => [
30800
- t.isEditable === !0 ? (k(), X(_l, {
30800
+ t.isEditable === !0 ? (k(), Q(_l, {
30801
30801
  key: 0,
30802
30802
  class: "ao-project-overview__quick-add-phase"
30803
30803
  }, {
@@ -30830,14 +30830,14 @@ const Nge = { class: "ao-project" }, Pge = ["onClick"], Fge = ["onClick"], Rge =
30830
30830
  ]),
30831
30831
  _: 1
30832
30832
  })) : R("", !0),
30833
- t.isEditable === !0 ? (k(), X(xe, {
30833
+ t.isEditable === !0 ? (k(), Q(xe, {
30834
30834
  key: 1,
30835
30835
  class: "ao-project-overview__save-as-template",
30836
30836
  color: "primary",
30837
30837
  label: V.$t("project.template.save.label"),
30838
30838
  onClick: _e[2] || (_e[2] = (Re) => F.value = !0)
30839
30839
  }, null, 8, ["label"])) : R("", !0),
30840
- t.isEditable === !0 ? (k(), X(xe, {
30840
+ t.isEditable === !0 ? (k(), Q(xe, {
30841
30841
  key: 2,
30842
30842
  class: "ao-project-overview__add-template",
30843
30843
  color: "primary",
@@ -30885,7 +30885,7 @@ const Nge = { class: "ao-project" }, Pge = ["onClick"], Fge = ["onClick"], Rge =
30885
30885
  onArchiveActivity: C,
30886
30886
  onUnarchiveActivity: S
30887
30887
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status", "time-tracking-data"]),
30888
- (k(), X(An, { to: "body" }, [
30888
+ (k(), Q(An, { to: "body" }, [
30889
30889
  P(He, {
30890
30890
  name: "modal",
30891
30891
  activities: $.value,
@@ -30917,7 +30917,7 @@ const Nge = { class: "ao-project" }, Pge = ["onClick"], Fge = ["onClick"], Rge =
30917
30917
  onFetchHistory: _e[5] || (_e[5] = () => i("fetchHistory"))
30918
30918
  }, {
30919
30919
  default: le(({ Component: Re }) => [
30920
- (k(), X(Hi(Re), null, {
30920
+ (k(), Q(Hi(Re), null, {
30921
30921
  default: le((Ne) => [
30922
30922
  we(V.$slots, "activityDetailsBody", Us(Hs(Ne)))
30923
30923
  ]),
@@ -30928,27 +30928,27 @@ const Nge = { class: "ao-project" }, Pge = ["onClick"], Fge = ["onClick"], Rge =
30928
30928
  }, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "dev-statuses", "sprints", "selected-activity", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled", "time-tracking-data", "load-attachment-preview", "history", "history-loading"])
30929
30929
  ]))
30930
30930
  ], 16),
30931
- (k(), X(An, { to: "body" }, [
30932
- F.value ? (k(), X(X0, {
30931
+ (k(), Q(An, { to: "body" }, [
30932
+ F.value ? (k(), Q(X0, {
30933
30933
  key: 0,
30934
30934
  phases: t.phases,
30935
30935
  onClose: _e[6] || (_e[6] = (Re) => F.value = !1),
30936
- onSave: Q
30936
+ onSave: X
30937
30937
  }, null, 8, ["phases"])) : R("", !0),
30938
- H.value ? (k(), X(J0, {
30938
+ H.value ? (k(), Q(J0, {
30939
30939
  key: 1,
30940
30940
  "project-id": t.project.id,
30941
30941
  templates: t.templates,
30942
30942
  onClose: _e[7] || (_e[7] = (Re) => H.value = !1),
30943
- onApply: ve
30943
+ onApply: me
30944
30944
  }, null, 8, ["project-id", "templates"])) : R("", !0),
30945
- I.value ? (k(), X(u1, {
30945
+ I.value ? (k(), Q(u1, {
30946
30946
  key: 2,
30947
30947
  open: I.value,
30948
30948
  "onUpdate:open": _e[8] || (_e[8] = (Re) => I.value = Re),
30949
30949
  title: V.$t("project.bulk.modal.phase.title"),
30950
30950
  "root-type": "phase",
30951
- "is-loading": Y.value,
30951
+ "is-loading": K.value,
30952
30952
  onSubmit: De
30953
30953
  }, null, 8, ["open", "title", "is-loading"])) : R("", !0)
30954
30954
  ]))
@@ -31076,14 +31076,14 @@ const jge = { class: "ao-card-feed__header" }, zge = {
31076
31076
  var g;
31077
31077
  return (g = n.tasks) == null ? void 0 : g.filter((v) => v.isDone).length;
31078
31078
  }), _ = O(() => (h.value || 0) / (p.value || 1));
31079
- return (g, v) => (k(), X(ac, {
31079
+ return (g, v) => (k(), Q(ac, {
31080
31080
  class: ye(["ao-card-feed", { "ao-card-feed--closed": t.isClosed }]),
31081
31081
  "is-clickable": !0,
31082
31082
  variant: t.blocked ? "danger" : "default"
31083
31083
  }, {
31084
31084
  header: le(() => [
31085
31085
  b("div", jge, [
31086
- i.value ? (k(), X(ks, {
31086
+ i.value ? (k(), Q(ks, {
31087
31087
  key: 0,
31088
31088
  label: i.value,
31089
31089
  class: "ao-card-feed__project",
@@ -31092,13 +31092,13 @@ const jge = { class: "ao-card-feed__header" }, zge = {
31092
31092
  "raw-color": r.value
31093
31093
  }, null, 8, ["label", "color", "raw-color"])) : R("", !0),
31094
31094
  t.isPrivate || t.isClosed || t.blocked ? (k(), A("div", zge, [
31095
- t.isPrivate ? (k(), X(Fe, {
31095
+ t.isPrivate ? (k(), Q(Fe, {
31096
31096
  key: 0,
31097
31097
  name: "Lock",
31098
31098
  class: "ao-card-feed__warning",
31099
31099
  size: "sm"
31100
31100
  })) : R("", !0),
31101
- t.isClosed ? (k(), X(Fe, {
31101
+ t.isClosed ? (k(), Q(Fe, {
31102
31102
  key: 1,
31103
31103
  name: "CheckSmallRounded",
31104
31104
  class: "ao-card-feed__closed"
@@ -31145,7 +31145,7 @@ const jge = { class: "ao-card-feed__header" }, zge = {
31145
31145
  ])) : R("", !0)
31146
31146
  ], 64))), 128))
31147
31147
  ]),
31148
- t.priority ? (k(), X(ja, {
31148
+ t.priority ? (k(), Q(ja, {
31149
31149
  key: 0,
31150
31150
  priority: t.priority,
31151
31151
  clickable: t.isEditable,
@@ -31229,8 +31229,8 @@ const f0e = {
31229
31229
  emits: ["close", "addActivity", "bulkAddActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity", "startTimer"],
31230
31230
  setup(t, { emit: e }) {
31231
31231
  const { t: n } = ht(), o = t, i = e, r = (I) => {
31232
- var Y;
31233
- i("startTimer", I), (Y = window.parent) == null || Y.postMessage(
31232
+ var K;
31233
+ i("startTimer", I), (K = window.parent) == null || K.postMessage(
31234
31234
  {
31235
31235
  type: "startTimer",
31236
31236
  data: I
@@ -31240,7 +31240,9 @@ const f0e = {
31240
31240
  }, s = ne(null), a = ne(!1), l = ne(!1), u = () => {
31241
31241
  a.value && (l.value = !1), a.value = !a.value;
31242
31242
  }, c = (I) => {
31243
- a.value && s.value && I.target instanceof Node && !s.value.contains(I.target) && (l.value = !1, a.value = !1);
31243
+ var X;
31244
+ const K = I.target, me = (X = K == null ? void 0 : K.closest) == null ? void 0 : X.call(K, ".ao-project-milestone-container");
31245
+ a.value && s.value && I.target instanceof Node && !me && (l.value = !1, a.value = !1);
31244
31246
  };
31245
31247
  gt(() => {
31246
31248
  document.addEventListener("click", c);
@@ -31249,16 +31251,16 @@ const f0e = {
31249
31251
  });
31250
31252
  const d = O(() => {
31251
31253
  var I;
31252
- return (I = o.phases) == null ? void 0 : I.find((Y) => Y.id === o.phaseId);
31254
+ return (I = o.phases) == null ? void 0 : I.find((K) => K.id === o.phaseId);
31253
31255
  }), f = O(
31254
31256
  () => {
31255
31257
  var I;
31256
- return (I = o.phases) == null ? void 0 : I.flatMap((Y) => Y.milestones);
31258
+ return (I = o.phases) == null ? void 0 : I.flatMap((K) => K.milestones);
31257
31259
  }
31258
31260
  ), p = O(() => {
31259
31261
  var I;
31260
31262
  return (I = f.value) == null ? void 0 : I.find(
31261
- (Y) => Y.id === o.milestoneId
31263
+ (K) => K.id === o.milestoneId
31262
31264
  );
31263
31265
  }), h = O(
31264
31266
  () => {
@@ -31268,17 +31270,17 @@ const f0e = {
31268
31270
  );
31269
31271
  Oe(
31270
31272
  h,
31271
- (I, Y) => {
31273
+ (I, K) => {
31272
31274
  xo(
31273
31275
  I,
31274
- Y
31276
+ K
31275
31277
  );
31276
31278
  }
31277
31279
  );
31278
31280
  const _ = (I) => {
31279
31281
  i("close", I);
31280
31282
  }, g = () => {
31281
- const { name: I, rank: Y } = Ei(
31283
+ const { name: I, rank: K } = Ei(
31282
31284
  h.value ?? [],
31283
31285
  "activity",
31284
31286
  n
@@ -31286,25 +31288,25 @@ const f0e = {
31286
31288
  i("addActivity", {
31287
31289
  milestoneId: o.milestoneId,
31288
31290
  name: I,
31289
- rank: Y,
31291
+ rank: K,
31290
31292
  projectId: o.projectId
31291
31293
  });
31292
31294
  }, v = () => {
31293
31295
  const I = n(
31294
31296
  "template.defaultName.activity",
31295
31297
  { idx: 1 }
31296
- ), Y = Ws(
31298
+ ), K = Ws(
31297
31299
  h.value ?? []
31298
31300
  );
31299
31301
  i("addActivity", {
31300
31302
  milestoneId: o.milestoneId,
31301
31303
  name: I,
31302
- rank: Y,
31304
+ rank: K,
31303
31305
  projectId: o.projectId
31304
31306
  });
31305
31307
  }, m = ne(!1), y = ne(!1), C = (I) => {
31306
31308
  y.value = !0;
31307
- const Y = Xme(
31309
+ const K = Xme(
31308
31310
  I,
31309
31311
  h.value ?? []
31310
31312
  );
@@ -31312,7 +31314,7 @@ const f0e = {
31312
31314
  projectId: o.projectId,
31313
31315
  phaseId: o.phaseId,
31314
31316
  milestoneId: o.milestoneId,
31315
- activities: Y,
31317
+ activities: K,
31316
31318
  onSuccess: () => {
31317
31319
  y.value = !1, m.value = !1;
31318
31320
  },
@@ -31364,15 +31366,15 @@ const f0e = {
31364
31366
  o.closedStatus
31365
31367
  ) : !1, L = O(() => {
31366
31368
  var I;
31367
- return ((I = o.users) == null ? void 0 : I.map((Y) => ({
31368
- label: `${Y.firstName} ${Y.lastName}`,
31369
- value: Y.id,
31370
- avatar: Y.avatarUrl
31369
+ return ((I = o.users) == null ? void 0 : I.map((K) => ({
31370
+ label: `${K.firstName} ${K.lastName}`,
31371
+ value: K.id,
31372
+ avatar: K.avatarUrl
31371
31373
  }))) || [];
31372
31374
  }), z = O({
31373
31375
  get() {
31374
- var I, Y;
31375
- return (Y = (I = p.value) == null ? void 0 : I.assignee) != null && Y.id ? [p.value.assignee.id] : [];
31376
+ var I, K;
31377
+ return (K = (I = p.value) == null ? void 0 : I.assignee) != null && K.id ? [p.value.assignee.id] : [];
31376
31378
  },
31377
31379
  set(I) {
31378
31380
  i("updateMilestone", {
@@ -31397,10 +31399,10 @@ const f0e = {
31397
31399
  return ((I = p.value) == null ? void 0 : I.description) ?? "";
31398
31400
  }
31399
31401
  ), M = O(() => {
31400
- var ve, Q, De;
31402
+ var me, X, De;
31401
31403
  const I = Z.value.split(`
31402
- `).map((ge) => ge.trim()).filter(Boolean), Y = (ve = I[0]) == null ? void 0 : ve.replace(/^#{1,6}\s+/, "").trim();
31403
- return Y && Y.toLowerCase() === ((De = (Q = p.value) == null ? void 0 : Q.name) == null ? void 0 : De.trim().toLowerCase()) && I.shift(), I.join(" ").replace(/^#{1,6}\s+/g, "").replace(/\[([^\]]+)\]\([^)]+\)/g, "$1").replace(/[*_`~]/g, "").replace(/\s+/g, " ").trim();
31404
+ `).map((ve) => ve.trim()).filter(Boolean), K = (me = I[0]) == null ? void 0 : me.replace(/^#{1,6}\s+/, "").trim();
31405
+ return K && K.toLowerCase() === ((De = (X = p.value) == null ? void 0 : X.name) == null ? void 0 : De.trim().toLowerCase()) && I.shift(), I.join(" ").replace(/^#{1,6}\s+/g, "").replace(/\[([^\]]+)\]\([^)]+\)/g, "$1").replace(/[*_`~]/g, "").replace(/\s+/g, " ").trim();
31404
31406
  }), N = (I) => {
31405
31407
  (I == null ? void 0 : I.target) instanceof Element && I.target.closest("a") || o.isEditable && (l.value = !0);
31406
31408
  }, x = (I) => {
@@ -31417,12 +31419,12 @@ const f0e = {
31417
31419
  l.value = !1;
31418
31420
  }
31419
31421
  );
31420
- const F = (I, Y) => {
31421
- const ve = I.currentTarget;
31422
- ve instanceof HTMLElement && Y(ve);
31422
+ const F = (I, K) => {
31423
+ const me = I.currentTarget;
31424
+ me instanceof HTMLElement && K(me);
31423
31425
  };
31424
- return (I, Y) => {
31425
- var ve;
31426
+ return (I, K) => {
31427
+ var me;
31426
31428
  return k(), A("div", {
31427
31429
  ref_key: "milestoneContainer",
31428
31430
  ref: s,
@@ -31436,7 +31438,7 @@ const f0e = {
31436
31438
  }, null, 8, ["title"])
31437
31439
  ]),
31438
31440
  b("div", h0e, [
31439
- l.value ? (k(), X(Z0, {
31441
+ l.value ? (k(), Q(Z0, {
31440
31442
  key: 1,
31441
31443
  "initial-markdown": Z.value,
31442
31444
  onSave: x,
@@ -31448,7 +31450,7 @@ const f0e = {
31448
31450
  }]),
31449
31451
  onClick: N
31450
31452
  }, [
31451
- Z.value ? (k(), X(bd, {
31453
+ Z.value ? (k(), Q(bd, {
31452
31454
  key: 0,
31453
31455
  content: Z.value
31454
31456
  }, null, 8, ["content"])) : (k(), A("span", m0e, U(I.$t("project.milestone.description.placeholder")), 1))
@@ -31469,12 +31471,12 @@ const f0e = {
31469
31471
  b("div", _0e, [
31470
31472
  b("div", b0e, [
31471
31473
  P(Pt, {
31472
- title: ((ve = p.value) == null ? void 0 : ve.name) || t.milestoneId,
31474
+ title: ((me = p.value) == null ? void 0 : me.name) || t.milestoneId,
31473
31475
  level: 5
31474
31476
  }, null, 8, ["title"]),
31475
31477
  P(Vu, {
31476
31478
  modelValue: W.value,
31477
- "onUpdate:modelValue": Y[0] || (Y[0] = (Q) => W.value = Q),
31479
+ "onUpdate:modelValue": K[0] || (K[0] = (X) => W.value = X),
31478
31480
  modelModifiers: { lazy: !0 },
31479
31481
  disabled: !t.isEditable,
31480
31482
  class: "ao-milestone__important",
@@ -31504,7 +31506,7 @@ const f0e = {
31504
31506
  b("div", S0e, [
31505
31507
  b("label", x0e, [
31506
31508
  ot(b("input", {
31507
- "onUpdate:modelValue": Y[1] || (Y[1] = (Q) => E.value = Q),
31509
+ "onUpdate:modelValue": K[1] || (K[1] = (X) => E.value = X),
31508
31510
  class: "ao-milestone__field ao-milestone__date-field",
31509
31511
  type: "date"
31510
31512
  }, null, 512), [
@@ -31521,7 +31523,7 @@ const f0e = {
31521
31523
  b("label", E0e, [
31522
31524
  P(Wt, {
31523
31525
  modelValue: z.value,
31524
- "onUpdate:modelValue": Y[2] || (Y[2] = (Q) => z.value = Q),
31526
+ "onUpdate:modelValue": K[2] || (K[2] = (X) => z.value = X),
31525
31527
  options: L.value,
31526
31528
  "close-on-select": !0,
31527
31529
  searchable: !0,
@@ -31533,14 +31535,14 @@ const f0e = {
31533
31535
  caret: t.isEditable
31534
31536
  }, {
31535
31537
  tag: le(({
31536
- option: Q,
31538
+ option: X,
31537
31539
  handleTagRemove: De
31538
31540
  }) => [
31539
31541
  P(Pn, {
31540
- "user-name": Q.label,
31541
- "avatar-url": Q.avatar,
31542
+ "user-name": X.label,
31543
+ "avatar-url": X.avatar,
31542
31544
  "is-closable": !0,
31543
- onClose: (ge) => De(Q, ge)
31545
+ onClose: (ve) => De(X, ve)
31544
31546
  }, null, 8, ["user-name", "avatar-url", "onClose"])
31545
31547
  ]),
31546
31548
  _: 1
@@ -31550,27 +31552,27 @@ const f0e = {
31550
31552
  b("div", T0e, [
31551
31553
  P(sa, {
31552
31554
  color: T.value,
31553
- "onUpdate:color": Y[3] || (Y[3] = (Q) => T.value = Q)
31555
+ "onUpdate:color": K[3] || (K[3] = (X) => T.value = X)
31554
31556
  }, {
31555
- clickable: le(({ openPicker: Q, bgColor: De }) => [
31557
+ clickable: le(({ openPicker: X, bgColor: De }) => [
31556
31558
  b("button", {
31557
31559
  style: Nt({ background: De }),
31558
31560
  class: "color-button",
31559
- onClick: (ge) => F(ge, Q)
31561
+ onClick: (ve) => F(ve, X)
31560
31562
  }, null, 12, $0e)
31561
31563
  ]),
31562
31564
  _: 1
31563
31565
  }, 8, ["color"]),
31564
- t.isEditable ? (k(), X(_l, {
31566
+ t.isEditable ? (k(), Q(_l, {
31565
31567
  key: 0,
31566
31568
  placement: "bottom-end"
31567
31569
  }, {
31568
- trigger: le(({ open: Q }) => [
31570
+ trigger: le(({ open: X }) => [
31569
31571
  b("button", {
31570
31572
  type: "button",
31571
31573
  class: "ao-project-milestone__quick-add",
31572
31574
  title: I.$t("project.activity.add"),
31573
- onClick: Q
31575
+ onClick: X
31574
31576
  }, [
31575
31577
  P(Fe, {
31576
31578
  name: "Add",
@@ -31578,19 +31580,19 @@ const f0e = {
31578
31580
  })
31579
31581
  ], 8, D0e)
31580
31582
  ]),
31581
- menu: le(({ close: Q }) => [
31583
+ menu: le(({ close: X }) => [
31582
31584
  b("button", {
31583
31585
  type: "button",
31584
31586
  class: "ao-popover-menu__item",
31585
31587
  onClick: () => {
31586
- Q(), v();
31588
+ X(), v();
31587
31589
  }
31588
31590
  }, U(I.$t("project.bulk.menu.single")), 9, M0e),
31589
31591
  b("button", {
31590
31592
  type: "button",
31591
31593
  class: "ao-popover-menu__item",
31592
31594
  onClick: () => {
31593
- Q(), m.value = !0;
31595
+ X(), m.value = !0;
31594
31596
  }
31595
31597
  }, U(I.$t("project.bulk.menu.bulkInsert")), 9, L0e)
31596
31598
  ]),
@@ -31607,39 +31609,39 @@ const f0e = {
31607
31609
  "item-key": "id",
31608
31610
  group: "kanban"
31609
31611
  }, I.$attrs, { onChange: w }), {
31610
- item: le(({ element: Q }) => {
31611
- var De, ge, pe, J, V;
31612
+ item: le(({ element: X }) => {
31613
+ var De, ve, pe, J, V;
31612
31614
  return [
31613
31615
  P(Q0, {
31614
- id: Q.id,
31615
- name: Q.name || Q.id,
31616
+ id: X.id,
31617
+ name: X.name || X.id,
31616
31618
  "project-id": t.projectId,
31617
31619
  "phase-name": (De = d.value) == null ? void 0 : De.name,
31618
- "milestone-name": (ge = p.value) == null ? void 0 : ge.name,
31620
+ "milestone-name": (ve = p.value) == null ? void 0 : ve.name,
31619
31621
  "milestone-color": (pe = p.value) == null ? void 0 : pe.color,
31620
- deadline: Q.deadline,
31621
- priority: Q.priority,
31622
- sprint: Q.sprint,
31623
- blocked: Q.blocked,
31622
+ deadline: X.deadline,
31623
+ priority: X.priority,
31624
+ sprint: X.sprint,
31625
+ blocked: X.blocked,
31624
31626
  users: t.users,
31625
- assignee: Q.assignee,
31626
- slug: Q.slug,
31627
- comments: (J = Q.comments) == null ? void 0 : J.length,
31628
- attachments: (V = Q.attachments) == null ? void 0 : V.length,
31629
- tasks: Q.tasks,
31627
+ assignee: X.assignee,
31628
+ slug: X.slug,
31629
+ comments: (J = X.comments) == null ? void 0 : J.length,
31630
+ attachments: (V = X.attachments) == null ? void 0 : V.length,
31631
+ tasks: X.tasks,
31630
31632
  "is-editable": t.isEditable,
31631
- "is-private": Q.private,
31632
- "is-closed": $(Q),
31633
+ "is-private": X.private,
31634
+ "is-closed": $(X),
31633
31635
  onClick: (_e) => I.$router.push({
31634
31636
  name: oe(et).activity,
31635
31637
  params: {
31636
31638
  milestoneId: t.milestoneId,
31637
- activityId: Q.id
31639
+ activityId: X.id
31638
31640
  }
31639
31641
  }),
31640
31642
  onUpdateActivity: S,
31641
31643
  onRemoveAssignee: () => S({
31642
- id: Q.id,
31644
+ id: X.id,
31643
31645
  assigneeId: null
31644
31646
  }),
31645
31647
  onStartTimer: r
@@ -31647,7 +31649,7 @@ const f0e = {
31647
31649
  t.isEditable ? {
31648
31650
  name: "secondary",
31649
31651
  fn: le(() => [
31650
- t.isEditable && Q.active ? (k(), X(xe, {
31652
+ t.isEditable && X.active ? (k(), Q(xe, {
31651
31653
  key: 0,
31652
31654
  color: "primary",
31653
31655
  variant: "ghost",
@@ -31657,11 +31659,11 @@ const f0e = {
31657
31659
  corners: "round",
31658
31660
  label: I.$t("archive"),
31659
31661
  onClick: ke(
31660
- () => I.$emit("archiveActivity", { id: Q.id }),
31662
+ () => I.$emit("archiveActivity", { id: X.id }),
31661
31663
  ["stop"]
31662
31664
  )
31663
31665
  }, null, 8, ["label", "onClick"])) : R("", !0),
31664
- t.isEditable && !Q.active ? (k(), X(xe, {
31666
+ t.isEditable && !X.active ? (k(), Q(xe, {
31665
31667
  key: 1,
31666
31668
  color: "primary",
31667
31669
  variant: "ghost",
@@ -31671,7 +31673,7 @@ const f0e = {
31671
31673
  corners: "round",
31672
31674
  label: I.$t("feed.activity.unarchive"),
31673
31675
  onClick: ke(
31674
- () => I.$emit("unarchiveActivity", { id: Q.id }),
31676
+ () => I.$emit("unarchiveActivity", { id: X.id }),
31675
31677
  ["stop"]
31676
31678
  )
31677
31679
  }, null, 8, ["label", "onClick"])) : R("", !0)
@@ -31685,26 +31687,26 @@ const f0e = {
31685
31687
  }, 16, ["list", "disabled"]),
31686
31688
  t.isEditable ? (k(), A("div", I0e, [
31687
31689
  P(_l, null, {
31688
- trigger: le(({ open: Q }) => [
31690
+ trigger: le(({ open: X }) => [
31689
31691
  P(ri, {
31690
31692
  "icon-name": "Add",
31691
31693
  label: I.$t("project.activity.add"),
31692
- onClick: Q
31694
+ onClick: X
31693
31695
  }, null, 8, ["label", "onClick"])
31694
31696
  ]),
31695
- menu: le(({ close: Q }) => [
31697
+ menu: le(({ close: X }) => [
31696
31698
  b("button", {
31697
31699
  type: "button",
31698
31700
  class: "ao-popover-menu__item",
31699
31701
  onClick: () => {
31700
- Q(), g();
31702
+ X(), g();
31701
31703
  }
31702
31704
  }, U(I.$t("project.bulk.menu.single")), 9, N0e),
31703
31705
  b("button", {
31704
31706
  type: "button",
31705
31707
  class: "ao-popover-menu__item",
31706
31708
  onClick: () => {
31707
- Q(), m.value = !0;
31709
+ X(), m.value = !0;
31708
31710
  }
31709
31711
  }, U(I.$t("project.bulk.menu.bulkInsert")), 9, P0e)
31710
31712
  ]),
@@ -31712,10 +31714,10 @@ const f0e = {
31712
31714
  })
31713
31715
  ])) : R("", !0)
31714
31716
  ]),
31715
- m.value ? (k(), X(u1, {
31717
+ m.value ? (k(), Q(u1, {
31716
31718
  key: 0,
31717
31719
  open: m.value,
31718
- "onUpdate:open": Y[4] || (Y[4] = (Q) => m.value = Q),
31720
+ "onUpdate:open": K[4] || (K[4] = (X) => m.value = X),
31719
31721
  title: I.$t("project.bulk.modal.activity.title"),
31720
31722
  "root-type": "activity",
31721
31723
  "is-loading": y.value,
@@ -31787,7 +31789,7 @@ const F0e = /* @__PURE__ */ ce({
31787
31789
  };
31788
31790
  return (v, m) => {
31789
31791
  var y, C;
31790
- return a.value ? (k(), X(sc, {
31792
+ return a.value ? (k(), Q(sc, {
31791
31793
  key: 0,
31792
31794
  activity: a.value,
31793
31795
  "activity-types": t.activityTypes,
@@ -31841,7 +31843,7 @@ const F0e = /* @__PURE__ */ ce({
31841
31843
  class: "ao-col-header__title",
31842
31844
  level: 4
31843
31845
  }, null, 8, ["title"]),
31844
- t.items ? (k(), X(ks, {
31846
+ t.items ? (k(), Q(ks, {
31845
31847
  key: 0,
31846
31848
  label: t.items,
31847
31849
  class: "ao-col-header__items",
@@ -32230,7 +32232,7 @@ const ave = {
32230
32232
  var p;
32231
32233
  return [
32232
32234
  b("div", lve, [
32233
- t.title ? (k(), X(B0e, {
32235
+ t.title ? (k(), Q(B0e, {
32234
32236
  key: 0,
32235
32237
  class: "ao-list-kanban__col-header",
32236
32238
  title: t.title,
@@ -32301,7 +32303,7 @@ const ave = {
32301
32303
  onStartTimer: f[1] || (f[1] = (E) => d.$emit("startTimer", E))
32302
32304
  }, {
32303
32305
  secondary: le(() => [
32304
- s(p) && p.active ? (k(), X(xe, {
32306
+ s(p) && p.active ? (k(), Q(xe, {
32305
32307
  key: 0,
32306
32308
  color: "primary",
32307
32309
  variant: "ghost",
@@ -32312,7 +32314,7 @@ const ave = {
32312
32314
  label: d.$t("feed.activity.archive"),
32313
32315
  onClick: ke(() => d.$emit("archiveActivity", { id: p.id }), ["stop"])
32314
32316
  }, null, 8, ["label", "onClick"])) : R("", !0),
32315
- s(p) && !p.active ? (k(), X(xe, {
32317
+ s(p) && !p.active ? (k(), Q(xe, {
32316
32318
  key: 1,
32317
32319
  color: "primary",
32318
32320
  variant: "ghost",
@@ -32344,7 +32346,7 @@ const ave = {
32344
32346
  }, 16, ["class", "list", "disabled"]),
32345
32347
  d.$slots.footer || t.footerLabel ? (k(), A("div", hve, [
32346
32348
  we(d.$slots, "footer", {}, () => [
32347
- t.isEditable ? (k(), X(ri, {
32349
+ t.isEditable ? (k(), Q(ri, {
32348
32350
  key: 0,
32349
32351
  "icon-name": "AddBoxOutlineRounded",
32350
32352
  label: t.footerLabel,
@@ -32615,7 +32617,7 @@ const _ve = { class: "ao-sprint-metrics" }, bve = ["onClick"], Cve = { class: "a
32615
32617
  ]));
32616
32618
  }
32617
32619
  });
32618
- const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = { class: "ao-feed" }, r2e = { class: "ao-feed__filters" }, s2e = { class: "ao-feed__body" }, a2e = "ao-feed-feedMode", yh = /* @__PURE__ */ ce({
32620
+ const o2e = /* @__PURE__ */ ge(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = { class: "ao-feed" }, r2e = { class: "ao-feed__filters" }, s2e = { class: "ao-feed__body" }, a2e = "ao-feed-feedMode", yh = /* @__PURE__ */ ce({
32619
32621
  __name: "AoFeed",
32620
32622
  props: {
32621
32623
  activities: {},
@@ -32652,19 +32654,19 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32652
32654
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "update:showsOnlyNonAssigned", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast", "startTimer", "createSprint", "fetchHistory"],
32653
32655
  setup(t, { emit: e }) {
32654
32656
  const { t: n } = ht(), o = t, i = e;
32655
- function r(K, fe) {
32656
- i("toast", K, fe);
32657
+ function r(G, fe) {
32658
+ i("toast", G, fe);
32657
32659
  }
32658
- const s = lr(o, "activities"), a = O(() => o.feedMode === "dev" ? o.devStatuses : o.columnStatuses ?? o.statuses), l = O(() => o.feedMode === "dev" ? s.value.filter((K) => K.activityType === "dev") : s.value), u = async (K, fe) => {
32659
- await i("selectActivity", K, fe);
32660
+ const s = lr(o, "activities"), a = O(() => o.feedMode === "dev" ? o.devStatuses : o.columnStatuses ?? o.statuses), l = O(() => o.feedMode === "dev" ? s.value.filter((G) => G.activityType === "dev") : s.value), u = async (G, fe) => {
32661
+ await i("selectActivity", G, fe);
32660
32662
  }, c = ne({}), d = ne(!1), f = ne(!1), p = O(() => o.project ? "milestone" : "project");
32661
32663
  Oe(
32662
32664
  [() => a.value, () => l.value, () => o.initialActivityId, () => o.initialActivitySlug, () => o.feedMode],
32663
32665
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
32664
- async ([K, fe, Ue, Ee], [Ge, rt]) => {
32666
+ async ([G, fe, Ue, Ee], [Ge, rt]) => {
32665
32667
  const Ye = o.feedMode === "dev" ? "devStatus" : "status";
32666
32668
  c.value = Object.fromEntries(
32667
- K.map((vt) => [
32669
+ G.map((vt) => [
32668
32670
  vt.id,
32669
32671
  fe.filter((yt) => {
32670
32672
  const je = yt[Ye];
@@ -32676,125 +32678,125 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32676
32678
  { immediate: !0 }
32677
32679
  );
32678
32680
  const h = O(() => {
32679
- var K;
32680
- return !o.selectedActivity || !o.selectedActivity.milestone ? "" : `${((K = o.selectedActivity.milestone.phase) == null ? void 0 : K.name) ?? ""} / ${o.selectedActivity.milestone.name ?? ""}`;
32681
- }), _ = (K) => {
32681
+ var G;
32682
+ return !o.selectedActivity || !o.selectedActivity.milestone ? "" : `${((G = o.selectedActivity.milestone.phase) == null ? void 0 : G.name) ?? ""} / ${o.selectedActivity.milestone.name ?? ""}`;
32683
+ }), _ = (G) => {
32682
32684
  var vt;
32683
32685
  const fe = o.feedMode === "dev" ? o.activities.filter((yt) => yt.activityType === "dev") : o.activities, Ue = fe == null ? void 0 : fe.at(-1), Ee = Ue ? _t.LexoRank.parse(Ue.rank).genNext() : _t.LexoRank.middle(), Ge = ((vt = o.activities) == null ? void 0 : vt.length) ?? 0, rt = o.feedMode === "dev", Ye = {
32684
32686
  name: n("activity.defaultName", { idx: Ge + 1 }),
32685
32687
  rank: Ee.format(),
32686
- ...rt ? { statusDevId: K.id, type: "dev" } : { statusId: K.id }
32688
+ ...rt ? { statusDevId: G.id, type: "dev" } : { statusId: G.id }
32687
32689
  };
32688
32690
  if (o.filters.assigneeId.length > 0 && (Ye.assigneeId = o.filters.assigneeId[0]), o.filters.projectId.length > 0 && (Ye.projectId = o.filters.projectId[0]), o.filters.sprintId && o.filters.sprintId.length === 1) {
32689
32691
  const yt = o.sprints.find((je) => je.id === o.filters.sprintId[0]);
32690
32692
  yt && (Ye.sprintId = yt.id, Ye.projectId = yt.projectId);
32691
32693
  }
32692
32694
  f.value = !0, i("addActivity", Ye);
32693
- }, g = (K) => {
32695
+ }, g = (G) => {
32694
32696
  var vt, yt;
32695
32697
  const fe = o.feedMode === "dev" ? "devStatus" : "status", Ue = ((vt = o.activities) == null ? void 0 : vt.filter((je) => {
32696
32698
  const lt = je[fe];
32697
- return (lt == null ? void 0 : lt.id) === K.id;
32699
+ return (lt == null ? void 0 : lt.id) === G.id;
32698
32700
  })) ?? [], Ee = Ws(Ue), Ge = ((yt = o.activities) == null ? void 0 : yt.length) ?? 0, rt = o.feedMode === "dev", Ye = {
32699
32701
  name: n("activity.defaultName", { idx: Ge + 1 }),
32700
32702
  rank: Ee,
32701
- ...rt ? { statusDevId: K.id, type: "dev" } : { statusId: K.id }
32703
+ ...rt ? { statusDevId: G.id, type: "dev" } : { statusId: G.id }
32702
32704
  };
32703
32705
  if (o.filters.assigneeId.length > 0 && (Ye.assigneeId = o.filters.assigneeId[0]), o.filters.projectId.length > 0 && (Ye.projectId = o.filters.projectId[0]), o.filters.sprintId && o.filters.sprintId.length === 1) {
32704
32706
  const je = o.sprints.find((lt) => lt.id === o.filters.sprintId[0]);
32705
32707
  je && (Ye.sprintId = je.id, Ye.projectId = je.projectId);
32706
32708
  }
32707
32709
  f.value = !0, i("addActivity", Ye);
32708
- }, v = (K, fe) => {
32709
- f.value = !1, i("update:filters", { ...o.filters, [K]: fe });
32710
+ }, v = (G, fe) => {
32711
+ f.value = !1, i("update:filters", { ...o.filters, [G]: fe });
32710
32712
  }, m = O(
32711
32713
  () => o.project ? [o.project] : o.projects ?? []
32712
- ), y = O(() => m.value.map((K) => ({
32713
- value: K.id,
32714
- label: K.name
32715
- }))), C = O(() => o.sprints.map((K) => ({
32716
- value: K.id,
32717
- label: n("activity.sprint.filterLabel", { number: K.number, label: K.label }),
32718
- startDate: K.startDate,
32719
- endDate: K.endDate,
32720
- projectId: K.projectId
32714
+ ), y = O(() => m.value.map((G) => ({
32715
+ value: G.id,
32716
+ label: G.name
32717
+ }))), C = O(() => o.sprints.map((G) => ({
32718
+ value: G.id,
32719
+ label: n("activity.sprint.filterLabel", { number: G.number, label: G.label }),
32720
+ startDate: G.startDate,
32721
+ endDate: G.endDate,
32722
+ projectId: G.projectId
32721
32723
  }))), S = O(() => {
32722
- const K = o.filters[Kn.sprint] ?? [];
32723
- return o.sprints.filter((fe) => K.includes(fe.id));
32724
+ const G = o.filters[Kn.sprint] ?? [];
32725
+ return o.sprints.filter((fe) => G.includes(fe.id));
32724
32726
  }), w = O(() => {
32725
32727
  var Ue;
32726
- const K = o.filters[Kn.project] ?? [], fe = (Ue = o.project) != null && Ue.id ? [o.project.id] : [];
32727
- return [...K, ...fe];
32728
- }), T = O(() => o.milestones.map((K) => {
32728
+ const G = o.filters[Kn.project] ?? [], fe = (Ue = o.project) != null && Ue.id ? [o.project.id] : [];
32729
+ return [...G, ...fe];
32730
+ }), T = O(() => o.milestones.map((G) => {
32729
32731
  var fe;
32730
32732
  return {
32731
- value: K.id,
32732
- label: (fe = K.phase) != null && fe.name ? `${K.phase.name} - ${K.name}` : K.name,
32733
- color: K.color,
32734
- important: K.important
32733
+ value: G.id,
32734
+ label: (fe = G.phase) != null && fe.name ? `${G.phase.name} - ${G.name}` : G.name,
32735
+ color: G.color,
32736
+ important: G.important
32735
32737
  };
32736
32738
  }));
32737
32739
  O(() => {
32738
- var K;
32739
- return (K = o.activityTypes) == null ? void 0 : K.map((fe) => ({
32740
+ var G;
32741
+ return (G = o.activityTypes) == null ? void 0 : G.map((fe) => ({
32740
32742
  value: fe.id,
32741
32743
  label: fe.name
32742
32744
  }));
32743
32745
  });
32744
- const E = O(() => o.users.map((K) => ({
32745
- value: K.id,
32746
- label: `${K.firstName} ${K.lastName}`,
32747
- avatar: K.avatarUrl
32748
- }))), $ = (K) => {
32749
- o.selectedActivity && i("update:activity", K);
32750
- }, L = (K) => {
32751
- i("update:activity", K);
32752
- }, z = (K) => {
32753
- i("archiveActivity", K);
32754
- }, W = (K) => {
32755
- i("unarchiveActivity", K);
32756
- }, Z = (K) => {
32746
+ const E = O(() => o.users.map((G) => ({
32747
+ value: G.id,
32748
+ label: `${G.firstName} ${G.lastName}`,
32749
+ avatar: G.avatarUrl
32750
+ }))), $ = (G) => {
32751
+ o.selectedActivity && i("update:activity", G);
32752
+ }, L = (G) => {
32753
+ i("update:activity", G);
32754
+ }, z = (G) => {
32755
+ i("archiveActivity", G);
32756
+ }, W = (G) => {
32757
+ i("unarchiveActivity", G);
32758
+ }, Z = (G) => {
32757
32759
  var fe;
32758
- i("startTimer", K), (fe = window.parent) == null || fe.postMessage({
32760
+ i("startTimer", G), (fe = window.parent) == null || fe.postMessage({
32759
32761
  type: "startTimer",
32760
- data: K
32762
+ data: G
32761
32763
  }, "*");
32762
- }, M = (K) => {
32763
- f.value = !1, i("update:searchText", K);
32764
- }, N = (K) => {
32765
- f.value = !1, i("clear:searchText", K);
32766
- }, x = (K) => {
32767
- o.selectedActivity && i("addSubtask", K);
32768
- }, H = (K) => {
32769
- o.selectedActivity && i("updateSubtask", K);
32770
- }, F = (K) => {
32771
- o.selectedActivity && i("deleteSubtask", K);
32772
- }, I = (K) => {
32773
- i("addFiles", K);
32774
- }, Y = (K) => {
32775
- i("removeFile", K);
32776
- }, ve = (K) => {
32764
+ }, M = (G) => {
32765
+ f.value = !1, i("update:searchText", G);
32766
+ }, N = (G) => {
32767
+ f.value = !1, i("clear:searchText", G);
32768
+ }, x = (G) => {
32769
+ o.selectedActivity && i("addSubtask", G);
32770
+ }, H = (G) => {
32771
+ o.selectedActivity && i("updateSubtask", G);
32772
+ }, F = (G) => {
32773
+ o.selectedActivity && i("deleteSubtask", G);
32774
+ }, I = (G) => {
32775
+ i("addFiles", G);
32776
+ }, K = (G) => {
32777
+ i("removeFile", G);
32778
+ }, me = (G) => {
32777
32779
  o.selectedActivity && i("addComment", {
32778
- ...K,
32780
+ ...G,
32779
32781
  activityId: o.selectedActivity.id
32780
32782
  });
32781
- }, Q = (K) => {
32783
+ }, X = (G) => {
32782
32784
  const { id: fe } = o.selectedActivity || {};
32783
- fe && i("updateComment", K);
32784
- }, De = (K) => {
32785
+ fe && i("updateComment", G);
32786
+ }, De = (G) => {
32785
32787
  const { id: fe } = o.selectedActivity || {};
32786
- fe && i("removeComment", K);
32787
- }, ge = Zu(), pe = wh(), J = sve(a2e, "feed"), V = ne("feed");
32788
+ fe && i("removeComment", G);
32789
+ }, ve = Zu(), pe = wh(), J = sve(a2e, "feed"), V = ne("feed");
32788
32790
  gt(() => {
32789
- const K = pe.name;
32790
- if ((K === jo.feed || K === jo.dev || K === "ActivityFeed" || K === "ActivityFeedDev" || K === "ActivityFeedWithActivity" || K === "ActivityFeedDevWithActivity" || K === et.feed || K === et.dev) && J.value) {
32791
+ const G = pe.name;
32792
+ if ((G === jo.feed || G === jo.dev || G === "ActivityFeed" || G === "ActivityFeedDev" || G === "ActivityFeedWithActivity" || G === "ActivityFeedDevWithActivity" || G === et.feed || G === et.dev) && J.value) {
32791
32793
  const Ue = J.value === "dev" ? Ne.value : Re.value;
32792
- K !== Ue && ge.push({ name: Ue });
32794
+ G !== Ue && ve.push({ name: Ue });
32793
32795
  }
32794
32796
  }), Oe(
32795
32797
  () => pe.name,
32796
- (K) => {
32797
- K === jo.feed || K === "ActivityFeed" || K === "ActivityFeedWithActivity" ? V.value = "feed" : K === jo.dev || K === "ActivityFeedDev" || K === "ActivityFeedDevWithActivity" ? V.value = "dev" : K === et.feed ? V.value = "feed" : K === et.dev ? V.value = "dev" : K === et.project ? V.value = "overview" : K === et.mapping && (V.value = "mapping");
32798
+ (G) => {
32799
+ G === jo.feed || G === "ActivityFeed" || G === "ActivityFeedWithActivity" ? V.value = "feed" : G === jo.dev || G === "ActivityFeedDev" || G === "ActivityFeedDevWithActivity" ? V.value = "dev" : G === et.feed ? V.value = "feed" : G === et.dev ? V.value = "dev" : G === et.project ? V.value = "overview" : G === et.mapping && (V.value = "mapping");
32798
32800
  },
32799
32801
  { immediate: !0 }
32800
32802
  );
@@ -32803,10 +32805,10 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32803
32805
  { label: "Feed", value: "feed" },
32804
32806
  { label: "Dev", value: "dev" },
32805
32807
  { label: "Mapping", value: "mapping" }
32806
- ], He = O(() => it.value ? _e.filter((K) => K.value === "feed" || K.value === "dev") : _e), it = O(() => !o.project && pe.name && (pe.name === jo.feed || pe.name === jo.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), Re = O(() => it.value ? jo.feed : et.feed), Ne = O(() => it.value ? jo.dev : et.dev), zt = O(() => et.project), We = O(() => et.mapping);
32807
- return Oe(V, (K) => {
32808
- K === "feed" ? (J.value = "feed", ge.push({ name: Re.value })) : K === "dev" ? (J.value = "dev", ge.push({ name: Ne.value })) : K === "overview" ? ge.push({ name: zt.value }) : K === "mapping" && ge.push({ name: We.value });
32809
- }), (K, fe) => {
32808
+ ], He = O(() => it.value ? _e.filter((G) => G.value === "feed" || G.value === "dev") : _e), it = O(() => !o.project && pe.name && (pe.name === jo.feed || pe.name === jo.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), Re = O(() => it.value ? jo.feed : et.feed), Ne = O(() => it.value ? jo.dev : et.dev), zt = O(() => et.project), We = O(() => et.mapping);
32809
+ return Oe(V, (G) => {
32810
+ G === "feed" ? (J.value = "feed", ve.push({ name: Re.value })) : G === "dev" ? (J.value = "dev", ve.push({ name: Ne.value })) : G === "overview" ? ve.push({ name: zt.value }) : G === "mapping" && ve.push({ name: We.value });
32811
+ }), (G, fe) => {
32810
32812
  var Ue;
32811
32813
  return k(), A("div", i2e, [
32812
32814
  P(Zs, null, {
@@ -32819,12 +32821,12 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32819
32821
  }, null, 8, ["modelValue", "tabs"]),
32820
32822
  P(yve, {
32821
32823
  "model-value": t.searchText,
32822
- placeholder: K.$t("feed.search.placeholder"),
32824
+ placeholder: G.$t("feed.search.placeholder"),
32823
32825
  class: "ao-feed__search",
32824
32826
  "onUpdate:modelValue": M,
32825
32827
  onClear: N
32826
32828
  }, null, 8, ["model-value", "placeholder"]),
32827
- o.project ? R("", !0) : (k(), X(Wt, {
32829
+ o.project ? R("", !0) : (k(), Q(Wt, {
32828
32830
  key: 0,
32829
32831
  "model-value": t.filters[oe(Kn).project],
32830
32832
  mode: "tags",
@@ -32833,10 +32835,10 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32833
32835
  "clear-on-select": !1,
32834
32836
  searchable: !0,
32835
32837
  class: "ao-feed__filter ao-feed__filter__projects",
32836
- placeholder: K.$t("feed.filters.project.placeholder"),
32838
+ placeholder: G.$t("feed.filters.project.placeholder"),
32837
32839
  "onUpdate:modelValue": fe[1] || (fe[1] = (Ee) => v(oe(Kn).project, Ee))
32838
32840
  }, null, 8, ["model-value", "options", "placeholder"])),
32839
- t.feedMode === "dev" ? (k(), X(Wt, {
32841
+ t.feedMode === "dev" ? (k(), Q(Wt, {
32840
32842
  key: 1,
32841
32843
  "model-value": t.filters[oe(Kn).sprint],
32842
32844
  mode: "tags",
@@ -32845,7 +32847,7 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32845
32847
  searchable: !0,
32846
32848
  disabled: !C.value.length,
32847
32849
  class: "ao-feed__filter ao-feed__filter__sprints",
32848
- placeholder: K.$t("feed.filters.sprint.placeholder"),
32850
+ placeholder: G.$t("feed.filters.sprint.placeholder"),
32849
32851
  "onUpdate:modelValue": fe[2] || (fe[2] = (Ee) => v(oe(Kn).sprint, Ee))
32850
32852
  }, null, 8, ["model-value", "options", "disabled", "placeholder"])) : R("", !0),
32851
32853
  P(Wt, {
@@ -32857,10 +32859,10 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32857
32859
  searchable: !0,
32858
32860
  disabled: w.value.length === 0,
32859
32861
  class: "ao-feed__filter ao-feed__filter__milestones",
32860
- placeholder: K.$t("feed.filters.milestone.placeholder"),
32862
+ placeholder: G.$t("feed.filters.milestone.placeholder"),
32861
32863
  "onUpdate:modelValue": fe[3] || (fe[3] = (Ee) => v(oe(Kn).milestone, Ee))
32862
32864
  }, null, 8, ["model-value", "options", "disabled", "placeholder"]),
32863
- E.value.length ? (k(), X(Wt, {
32865
+ E.value.length ? (k(), Q(Wt, {
32864
32866
  key: 2,
32865
32867
  "model-value": t.filters[oe(Kn).assignee],
32866
32868
  mode: "tags",
@@ -32868,7 +32870,7 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32868
32870
  "close-on-select": !1,
32869
32871
  searchable: !0,
32870
32872
  class: "ao-feed__filter ao-feed__filter__assignees",
32871
- placeholder: K.$t("feed.filters.assignee.placeholder"),
32873
+ placeholder: G.$t("feed.filters.assignee.placeholder"),
32872
32874
  "onUpdate:modelValue": fe[4] || (fe[4] = (Ee) => v(oe(Kn).assignee, Ee))
32873
32875
  }, {
32874
32876
  tag: le(({
@@ -32892,10 +32894,10 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32892
32894
  "icon-position": "start",
32893
32895
  color: "primary",
32894
32896
  variant: "ghost",
32895
- label: K.$t("feed.filters.showsOnlyNonAssigned.label"),
32897
+ label: G.$t("feed.filters.showsOnlyNonAssigned.label"),
32896
32898
  role: "checkbox",
32897
32899
  "aria-checked": t.showsOnlyNonAssigned,
32898
- onClick: fe[5] || (fe[5] = (Ee) => K.$emit("update:showsOnlyNonAssigned", !t.showsOnlyNonAssigned))
32900
+ onClick: fe[5] || (fe[5] = (Ee) => G.$emit("update:showsOnlyNonAssigned", !t.showsOnlyNonAssigned))
32899
32901
  }, null, 8, ["icon-name", "label", "aria-checked"]),
32900
32902
  P(xe, {
32901
32903
  class: "ao-feed__only-p0",
@@ -32904,10 +32906,10 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32904
32906
  "icon-position": "start",
32905
32907
  color: "primary",
32906
32908
  variant: "ghost",
32907
- label: K.$t("feed.filters.showsOnlyImportant.label"),
32909
+ label: G.$t("feed.filters.showsOnlyImportant.label"),
32908
32910
  role: "checkbox",
32909
32911
  "aria-checked": t.showsOnlyImportant,
32910
- onClick: fe[6] || (fe[6] = (Ee) => K.$emit("update:showsOnlyImportant", !t.showsOnlyImportant))
32912
+ onClick: fe[6] || (fe[6] = (Ee) => G.$emit("update:showsOnlyImportant", !t.showsOnlyImportant))
32911
32913
  }, null, 8, ["icon-name", "label", "aria-checked"]),
32912
32914
  P(xe, {
32913
32915
  class: "ao-feed__show-archived",
@@ -32916,15 +32918,15 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32916
32918
  "icon-position": "start",
32917
32919
  color: "primary",
32918
32920
  variant: "ghost",
32919
- label: K.$t("feed.filters.showsArchivedActivities.label"),
32921
+ label: G.$t("feed.filters.showsArchivedActivities.label"),
32920
32922
  role: "checkbox",
32921
32923
  "aria-checked": t.showsArchivedActivities,
32922
- onClick: fe[7] || (fe[7] = (Ee) => K.$emit("update:showsArchivedActivities", !t.showsArchivedActivities))
32924
+ onClick: fe[7] || (fe[7] = (Ee) => G.$emit("update:showsArchivedActivities", !t.showsArchivedActivities))
32923
32925
  }, null, 8, ["icon-name", "label", "aria-checked"])
32924
32926
  ]),
32925
32927
  _: 1
32926
32928
  }),
32927
- t.feedMode === "dev" && S.value.length > 0 ? (k(), X(o2e, {
32929
+ t.feedMode === "dev" && S.value.length > 0 ? (k(), Q(o2e, {
32928
32930
  key: 0,
32929
32931
  sprints: S.value,
32930
32932
  activities: l.value,
@@ -32932,12 +32934,12 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32932
32934
  projects: m.value
32933
32935
  }, null, 8, ["sprints", "activities", "planning-data", "projects"])) : R("", !0),
32934
32936
  b("div", s2e, [
32935
- (k(!0), A($e, null, Je(a.value, (Ee) => (k(), X(mve, {
32937
+ (k(!0), A($e, null, Je(a.value, (Ee) => (k(), Q(mve, {
32936
32938
  key: Ee.id,
32937
32939
  status: Ee,
32938
32940
  list: c.value[Ee.id],
32939
32941
  title: Ee.name,
32940
- "footer-label": K.$t("feed.activity.add"),
32942
+ "footer-label": G.$t("feed.activity.add"),
32941
32943
  users: t.users,
32942
32944
  "user-id": t.userId,
32943
32945
  "is-editable": t.isEditable,
@@ -32953,8 +32955,8 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32953
32955
  onStartTimer: Z
32954
32956
  }, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tag-type", "show-header-add", "is-dev-mode", "onAdd", "onAddAtBeginning"]))), 128))
32955
32957
  ]),
32956
- (k(), X(An, { to: "body" }, [
32957
- t.selectedActivity ? (k(), X(sc, {
32958
+ (k(), Q(An, { to: "body" }, [
32959
+ t.selectedActivity ? (k(), Q(sc, {
32958
32960
  key: 0,
32959
32961
  activity: t.selectedActivity,
32960
32962
  "activity-types": t.activityTypes,
@@ -32981,15 +32983,15 @@ const o2e = /* @__PURE__ */ me(n2e, [["__scopeId", "data-v-f3ddff2c"]]), i2e = {
32981
32983
  onUpdateSubtask: H,
32982
32984
  onDeleteSubtask: F,
32983
32985
  onAddFiles: I,
32984
- onRemoveFile: Y,
32985
- onAddComment: ve,
32986
- onUpdateComment: Q,
32986
+ onRemoveFile: K,
32987
+ onAddComment: me,
32988
+ onUpdateComment: X,
32987
32989
  onRemoveComment: De,
32988
32990
  onToast: r,
32989
32991
  onCreateSprint: fe[10] || (fe[10] = (Ee) => i("createSprint", Ee))
32990
32992
  }, {
32991
32993
  default: le((Ee) => [
32992
- we(K.$slots, "activityDetailsBody", Us(Hs(Ee)))
32994
+ we(G.$slots, "activityDetailsBody", Us(Hs(Ee)))
32993
32995
  ]),
32994
32996
  _: 3
32995
32997
  }, 8, ["activity", "activity-types", "dev-statuses", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "history", "history-loading", "load-attachment-preview", "sprints"])) : R("", !0)
@@ -33073,7 +33075,7 @@ const l2e = { class: "ao-project-mapping" }, c2e = { class: "ao-project-mapping-
33073
33075
  }, null, 8, ["icon-name", "label", "aria-checked"])
33074
33076
  ]),
33075
33077
  secondary: le(() => [
33076
- t.isEditable === !0 ? (k(), X(xe, {
33078
+ t.isEditable === !0 ? (k(), Q(xe, {
33077
33079
  key: 0,
33078
33080
  class: "ao-mapping__quick-add-phase",
33079
33081
  size: "sm",
@@ -33084,14 +33086,14 @@ const l2e = { class: "ao-project-mapping" }, c2e = { class: "ao-project-mapping-
33084
33086
  label: m.$t("project.phase.add"),
33085
33087
  onClick: s
33086
33088
  }, null, 8, ["label"])) : R("", !0),
33087
- t.isEditable === !0 ? (k(), X(xe, {
33089
+ t.isEditable === !0 ? (k(), Q(xe, {
33088
33090
  key: 1,
33089
33091
  class: "ao-project-mapping-overview__save-as-template",
33090
33092
  color: "primary",
33091
33093
  label: m.$t("project.template.save.label"),
33092
33094
  onClick: y[2] || (y[2] = (S) => f.value = !0)
33093
33095
  }, null, 8, ["label"])) : R("", !0),
33094
- t.isEditable === !0 ? (k(), X(xe, {
33096
+ t.isEditable === !0 ? (k(), Q(xe, {
33095
33097
  key: 2,
33096
33098
  class: "ao-project-mapping-overview__add-template",
33097
33099
  color: "primary",
@@ -33126,14 +33128,14 @@ const l2e = { class: "ao-project-mapping" }, c2e = { class: "ao-project-mapping-
33126
33128
  ])
33127
33129
  ])
33128
33130
  ], 16),
33129
- (k(), X(An, { to: "body" }, [
33130
- f.value ? (k(), X(X0, {
33131
+ (k(), Q(An, { to: "body" }, [
33132
+ f.value ? (k(), Q(X0, {
33131
33133
  key: 0,
33132
33134
  phases: t.phases,
33133
33135
  onClose: y[4] || (y[4] = (S) => f.value = !1),
33134
33136
  onSave: h
33135
33137
  }, null, 8, ["phases"])) : R("", !0),
33136
- d.value ? (k(), X(J0, {
33138
+ d.value ? (k(), Q(J0, {
33137
33139
  key: 1,
33138
33140
  "project-id": t.project.id,
33139
33141
  templates: t.templates,
@@ -33359,7 +33361,7 @@ const g2e = { class: "ao-field__label" }, v2e = /* @__PURE__ */ ce({
33359
33361
  ), r = (s) => {
33360
33362
  n.modelModifiers.number && (s = Number(s)), o("update:modelValue", s);
33361
33363
  };
33362
- return (s, a) => (k(), X(v2e, { label: t.label }, {
33364
+ return (s, a) => (k(), Q(v2e, { label: t.label }, {
33363
33365
  default: le(() => [
33364
33366
  b("input", Kt({
33365
33367
  class: "ao-field__input",
@@ -33486,7 +33488,7 @@ const g2e = { class: "ao-field__label" }, v2e = /* @__PURE__ */ ce({
33486
33488
  ])
33487
33489
  ]),
33488
33490
  b("td", P2e, [
33489
- d.isEnabled ? (k(), X(Wt, {
33491
+ d.isEnabled ? (k(), Q(Wt, {
33490
33492
  key: 1,
33491
33493
  "model-value": d.excludeColumns,
33492
33494
  class: "ao-audit-config__multiselect",
@@ -33610,14 +33612,14 @@ const H2e = {
33610
33612
  b("span", q2e, U(t.activity.name), 1)
33611
33613
  ]),
33612
33614
  b("div", V2e, [
33613
- t.activity.assignee ? (k(), X(Pn, {
33615
+ t.activity.assignee ? (k(), Q(Pn, {
33614
33616
  key: 0,
33615
33617
  "user-name": a.value,
33616
33618
  "avatar-url": t.activity.assignee.avatarUrl,
33617
33619
  size: "md",
33618
33620
  color: "neutral"
33619
33621
  }, null, 8, ["user-name", "avatar-url"])) : (k(), A("span", W2e, " — ")),
33620
- t.activity.priority ? (k(), X(ja, {
33622
+ t.activity.priority ? (k(), Q(ja, {
33621
33623
  key: 2,
33622
33624
  priority: t.activity.priority,
33623
33625
  clickable: t.isEditable,
@@ -33632,7 +33634,7 @@ const H2e = {
33632
33634
  ], 64))
33633
33635
  ]),
33634
33636
  b("div", K2e, U(l.value), 1)
33635
- ], 40, j2e)) : s.value ? (k(), X(oe(Cv), {
33637
+ ], 40, j2e)) : s.value ? (k(), Q(oe(Cv), {
33636
33638
  key: 2,
33637
33639
  to: s.value,
33638
33640
  class: "ao-activity-inline__content"
@@ -33647,14 +33649,14 @@ const H2e = {
33647
33649
  b("span", Y2e, U(t.activity.name), 1)
33648
33650
  ]),
33649
33651
  b("div", J2e, [
33650
- t.activity.assignee ? (k(), X(Pn, {
33652
+ t.activity.assignee ? (k(), Q(Pn, {
33651
33653
  key: 0,
33652
33654
  "user-name": a.value,
33653
33655
  "avatar-url": t.activity.assignee.avatarUrl,
33654
33656
  size: "sm",
33655
33657
  color: "neutral"
33656
33658
  }, null, 8, ["user-name", "avatar-url"])) : (k(), A("span", X2e, " — ")),
33657
- t.activity.priority ? (k(), X(ja, {
33659
+ t.activity.priority ? (k(), Q(ja, {
33658
33660
  key: 2,
33659
33661
  priority: t.activity.priority,
33660
33662
  clickable: t.isEditable,
@@ -33676,14 +33678,14 @@ const H2e = {
33676
33678
  b("span", oye, U(t.activity.name), 1)
33677
33679
  ]),
33678
33680
  b("div", iye, [
33679
- t.activity.assignee ? (k(), X(Pn, {
33681
+ t.activity.assignee ? (k(), Q(Pn, {
33680
33682
  key: 0,
33681
33683
  "user-name": a.value,
33682
33684
  "avatar-url": t.activity.assignee.avatarUrl,
33683
33685
  size: "sm",
33684
33686
  color: "neutral"
33685
33687
  }, null, 8, ["user-name", "avatar-url"])) : (k(), A("span", rye, "—")),
33686
- t.activity.priority ? (k(), X(ja, {
33688
+ t.activity.priority ? (k(), Q(ja, {
33687
33689
  key: 2,
33688
33690
  priority: t.activity.priority,
33689
33691
  clickable: t.isEditable,
@@ -33702,7 +33704,7 @@ const H2e = {
33702
33704
  ], 2));
33703
33705
  }
33704
33706
  });
33705
- const ov = /* @__PURE__ */ me(lye, [["__scopeId", "data-v-76d2bf8e"]]), cye = { class: "ao-sprint-section__header-left" }, uye = { class: "ao-sprint-section__expand-icon" }, dye = { class: "ao-sprint-section__title" }, fye = {
33707
+ const ov = /* @__PURE__ */ ge(lye, [["__scopeId", "data-v-76d2bf8e"]]), cye = { class: "ao-sprint-section__header-left" }, uye = { class: "ao-sprint-section__expand-icon" }, dye = { class: "ao-sprint-section__title" }, fye = {
33706
33708
  key: 0,
33707
33709
  class: "ao-sprint-section__archived-badge"
33708
33710
  }, pye = { class: "ao-sprint-section__header-right" }, hye = { class: "ao-sprint-section__dates" }, mye = { class: "ao-sprint-section__meta" }, gye = ["title"], vye = ["onClick"], yye = { class: "ao-sprint-section__edit-title" }, _ye = { class: "ao-sprint-section__fixed-number" }, bye = { class: "ao-sprint-section__date-fields" }, Cye = { class: "ao-sprint-section__actions" }, kye = { class: "ao-sprint-section__content" }, wye = {
@@ -33860,7 +33862,7 @@ const ov = /* @__PURE__ */ me(lye, [["__scopeId", "data-v-76d2bf8e"]]), cye = {
33860
33862
  class: "ao-sprint-section__color-trigger",
33861
33863
  style: Nt({ backgroundColor: I }),
33862
33864
  title: "Sprint color",
33863
- onClick: (Y) => F(Y.currentTarget)
33865
+ onClick: (K) => F(K.currentTarget)
33864
33866
  }, null, 12, vye)
33865
33867
  ]),
33866
33868
  _: 1
@@ -33994,7 +33996,7 @@ const ov = /* @__PURE__ */ me(lye, [["__scopeId", "data-v-76d2bf8e"]]), cye = {
33994
33996
  ], 2));
33995
33997
  }
33996
33998
  });
33997
- const xye = /* @__PURE__ */ me(Sye, [["__scopeId", "data-v-f3ec7254"]]), Aye = { class: "ao-sprint-list" }, Eye = { class: "ao-sprint-list__header" }, Tye = { class: "ao-sprint-list__title-group" }, $ye = { class: "ao-sprint-list__count" }, Dye = { class: "ao-sprint-list__actions" }, Mye = {
33999
+ const xye = /* @__PURE__ */ ge(Sye, [["__scopeId", "data-v-f3ec7254"]]), Aye = { class: "ao-sprint-list" }, Eye = { class: "ao-sprint-list__header" }, Tye = { class: "ao-sprint-list__title-group" }, $ye = { class: "ao-sprint-list__count" }, Dye = { class: "ao-sprint-list__actions" }, Mye = {
33998
34000
  key: 0,
33999
34001
  class: "ao-sprint-list__toggle"
34000
34002
  }, Lye = {
@@ -34063,7 +34065,7 @@ const xye = /* @__PURE__ */ me(Sye, [["__scopeId", "data-v-f3ec7254"]]), Aye = {
34063
34065
  ]),
34064
34066
  fn(" " + U(oe(n)("sprint.showArchived")), 1)
34065
34067
  ])) : R("", !0),
34066
- t.isEditable && !s.value ? (k(), X(xe, {
34068
+ t.isEditable && !s.value ? (k(), Q(xe, {
34067
34069
  key: 1,
34068
34070
  color: "primary",
34069
34071
  variant: "solid",
@@ -34139,7 +34141,7 @@ const xye = /* @__PURE__ */ me(Sye, [["__scopeId", "data-v-f3ec7254"]]), Aye = {
34139
34141
  ])
34140
34142
  ])) : R("", !0),
34141
34143
  b("div", Bye, [
34142
- (k(!0), A($e, null, Je(l.value, (m) => (k(), X(xye, {
34144
+ (k(!0), A($e, null, Je(l.value, (m) => (k(), Q(xye, {
34143
34145
  key: m.id,
34144
34146
  sprint: m,
34145
34147
  activities: f(m.id),
@@ -34159,7 +34161,7 @@ const xye = /* @__PURE__ */ me(Sye, [["__scopeId", "data-v-f3ec7254"]]), Aye = {
34159
34161
  ]));
34160
34162
  }
34161
34163
  });
34162
- const jye = /* @__PURE__ */ me(Hye, [["__scopeId", "data-v-0d65cf51"]]), zye = { class: "ao-backlog-section" }, qye = { class: "ao-backlog-section__header-left" }, Vye = { class: "ao-backlog-section__expand-icon" }, Wye = { class: "ao-backlog-section__name" }, Zye = {
34164
+ const jye = /* @__PURE__ */ ge(Hye, [["__scopeId", "data-v-0d65cf51"]]), zye = { class: "ao-backlog-section" }, qye = { class: "ao-backlog-section__header-left" }, Vye = { class: "ao-backlog-section__expand-icon" }, Wye = { class: "ao-backlog-section__name" }, Zye = {
34163
34165
  key: 0,
34164
34166
  class: "ao-backlog-section__phase"
34165
34167
  }, Kye = { class: "ao-backlog-section__header-right" }, Gye = { class: "ao-backlog-section__count" }, Yye = { class: "ao-backlog-section__content" }, Jye = {
@@ -34219,7 +34221,7 @@ const jye = /* @__PURE__ */ me(Hye, [["__scopeId", "data-v-0d65cf51"]]), zye = {
34219
34221
  ])
34220
34222
  ], 6),
34221
34223
  ot(b("div", Yye, [
34222
- t.activities.length > 0 ? (k(), X(oe(uo), {
34224
+ t.activities.length > 0 ? (k(), Q(oe(uo), {
34223
34225
  key: 0,
34224
34226
  list: t.activities,
34225
34227
  class: "ao-backlog-section__draggable",
@@ -34251,7 +34253,7 @@ const jye = /* @__PURE__ */ me(Hye, [["__scopeId", "data-v-0d65cf51"]]), zye = {
34251
34253
  ]));
34252
34254
  }
34253
34255
  });
34254
- const e_e = /* @__PURE__ */ me(Qye, [["__scopeId", "data-v-d8949009"]]), t_e = { class: "ao-backlog" }, n_e = { class: "ao-backlog__header" }, o_e = { class: "ao-backlog__count" }, i_e = {
34256
+ const e_e = /* @__PURE__ */ ge(Qye, [["__scopeId", "data-v-d8949009"]]), t_e = { class: "ao-backlog" }, n_e = { class: "ao-backlog__header" }, o_e = { class: "ao-backlog__count" }, i_e = {
34255
34257
  key: 0,
34256
34258
  class: "ao-backlog__sections"
34257
34259
  }, r_e = {
@@ -34308,7 +34310,7 @@ const e_e = /* @__PURE__ */ me(Qye, [["__scopeId", "data-v-d8949009"]]), t_e = {
34308
34310
  b("span", o_e, U(r.value.length), 1)
34309
34311
  ]),
34310
34312
  s.value.length > 0 ? (k(), A("div", i_e, [
34311
- (k(!0), A($e, null, Je(s.value, (u) => (k(), X(e_e, {
34313
+ (k(!0), A($e, null, Je(s.value, (u) => (k(), Q(e_e, {
34312
34314
  key: u.milestoneId,
34313
34315
  "milestone-id": u.milestoneId,
34314
34316
  "milestone-name": u.milestoneName,
@@ -34324,7 +34326,7 @@ const e_e = /* @__PURE__ */ me(Qye, [["__scopeId", "data-v-d8949009"]]), t_e = {
34324
34326
  ]));
34325
34327
  }
34326
34328
  });
34327
- const a_e = /* @__PURE__ */ me(s_e, [["__scopeId", "data-v-c1e30a42"]]), l_e = { class: "ao-sprint-planning" }, c_e = { class: "ao-sprint-planning__sprint" }, u_e = { class: "ao-sprint-planning__backlog" }, d_e = /* @__PURE__ */ ce({
34329
+ const a_e = /* @__PURE__ */ ge(s_e, [["__scopeId", "data-v-c1e30a42"]]), l_e = { class: "ao-sprint-planning" }, c_e = { class: "ao-sprint-planning__sprint" }, u_e = { class: "ao-sprint-planning__backlog" }, d_e = /* @__PURE__ */ ce({
34328
34330
  __name: "AoSprintPlanning",
34329
34331
  props: {
34330
34332
  sprints: {},
@@ -34404,8 +34406,8 @@ const a_e = /* @__PURE__ */ me(s_e, [["__scopeId", "data-v-c1e30a42"]]), l_e = {
34404
34406
  onOpenActivity: f
34405
34407
  }, null, 8, ["activities", "is-editable"])
34406
34408
  ]),
34407
- (k(), X(An, { to: "body" }, [
34408
- i.value && t.selectedActivity ? (k(), X(sc, {
34409
+ (k(), Q(An, { to: "body" }, [
34410
+ i.value && t.selectedActivity ? (k(), Q(sc, {
34409
34411
  key: 0,
34410
34412
  activity: t.selectedActivity,
34411
34413
  "dev-statuses": t.devStatuses,
@@ -34439,7 +34441,7 @@ const a_e = /* @__PURE__ */ me(s_e, [["__scopeId", "data-v-c1e30a42"]]), l_e = {
34439
34441
  };
34440
34442
  }
34441
34443
  });
34442
- const E_e = /* @__PURE__ */ me(d_e, [["__scopeId", "data-v-f4798bd5"]]);
34444
+ const E_e = /* @__PURE__ */ ge(d_e, [["__scopeId", "data-v-f4798bd5"]]);
34443
34445
  export {
34444
34446
  A_e as AoAuditConfigTable,
34445
34447
  Pn as AoAvatar,