@26lights/orcha 0.42.230 → 0.42.231

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,16 +1,16 @@
1
1
  var U0 = Object.defineProperty;
2
2
  var H0 = (t, e, n) => e in t ? U0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var J = (t, e, n) => (H0(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import { defineComponent as le, openBlock as k, createBlock as Y, unref as te, mergeProps as qt, createElementBlock as T, createElementVNode as b, createStaticVNode as z0, computed as O, resolveDynamicComponent as Pr, normalizeClass as _e, renderSlot as we, toDisplayString as R, createCommentVNode as P, ref as Q, watch as Ne, nextTick as Gt, withKeys as Ko, toHandlers as q0, withCtx as ie, createTextVNode as Kt, createVNode as N, normalizeStyle as Jt, withModifiers as xe, createSlots as $s, Fragment as Te, renderList as Ye, onMounted as Dt, onBeforeUnmount as Ds, onUnmounted as _n, Teleport as En, toRefs as yn, getCurrentInstance as Fr, toRef as ni, normalizeProps as Ms, guardReactiveProps as Ls, withDirectives as tt, vShow as Ho, provide as j0, inject as V0, useTemplateRef as W0, readonly as Z0, toValue as ic, watchEffect as ih, shallowRef as Ma, h as K0, vModelText as Et, resolveComponent as Fo, vModelCheckbox as sh, getCurrentScope as G0, onScopeDispose as Y0, toHandlerKey as J0 } from "vue";
4
+ import { defineComponent as le, openBlock as k, createBlock as Y, unref as te, mergeProps as jt, createElementBlock as T, createElementVNode as b, createStaticVNode as z0, computed as O, resolveDynamicComponent as Pr, normalizeClass as _e, renderSlot as we, toDisplayString as R, createCommentVNode as P, ref as Q, watch as Ne, nextTick as Yt, withKeys as Ko, toHandlers as q0, withCtx as ie, createTextVNode as Gt, createVNode as N, normalizeStyle as Dt, withModifiers as xe, createSlots as $s, Fragment as Te, renderList as Ye, onMounted as Mt, onBeforeUnmount as Ds, onUnmounted as _n, Teleport as En, toRefs as yn, getCurrentInstance as Fr, toRef as ni, normalizeProps as Ms, guardReactiveProps as Ls, withDirectives as tt, vShow as Ho, provide as j0, inject as V0, useTemplateRef as W0, readonly as Z0, toValue as ic, watchEffect as ih, shallowRef as Ma, h as K0, vModelText as Et, resolveComponent as Fo, vModelCheckbox as sh, getCurrentScope as G0, onScopeDispose as Y0, toHandlerKey as J0 } from "vue";
5
5
  import { RouterView as X0, useRoute as ah, useRouter as Pu, RouterLink as Q0 } from "vue-router";
6
6
  import co from "vuedraggable";
7
- const m_e = /* @__PURE__ */ le({
7
+ const p_e = /* @__PURE__ */ le({
8
8
  __name: "AoTemplates",
9
9
  props: {
10
10
  templates: {}
11
11
  },
12
12
  setup(t) {
13
- return (e, n) => (k(), Y(te(X0), qt({ templates: t.templates }, e.$attrs), null, 16, ["templates"]));
13
+ return (e, n) => (k(), Y(te(X0), jt({ templates: t.templates }, e.$attrs), null, 16, ["templates"]));
14
14
  }
15
15
  }), de = (t, e) => {
16
16
  const n = t.__vccOpts || t;
@@ -1246,17 +1246,17 @@ function g5(t) {
1246
1246
  }, i = (l) => {
1247
1247
  e.value = l;
1248
1248
  }, s = (l) => async () => {
1249
- i(!1), await Gt(() => {
1249
+ i(!1), await Yt(() => {
1250
1250
  t.value[o.value] = n.value, l == null || l();
1251
1251
  });
1252
1252
  }, a = (l) => async (c) => {
1253
1253
  const u = t.value[o.value];
1254
- i(!1), await Gt(() => {
1254
+ i(!1), await Yt(() => {
1255
1255
  l(u, c);
1256
1256
  });
1257
1257
  };
1258
1258
  return Ne(e, async (l) => {
1259
- await Gt(() => {
1259
+ await Yt(() => {
1260
1260
  setTimeout(() => {
1261
1261
  t.value && l && (t.value.focus(), n.value = t.value[o.value]);
1262
1262
  }, 1);
@@ -1269,7 +1269,7 @@ function g5(t) {
1269
1269
  onDiscard: s
1270
1270
  };
1271
1271
  }
1272
- const It = /* @__PURE__ */ le({
1272
+ const Nt = /* @__PURE__ */ le({
1273
1273
  __name: "AoTitle",
1274
1274
  props: {
1275
1275
  id: {},
@@ -1303,7 +1303,7 @@ const It = /* @__PURE__ */ le({
1303
1303
  (y) => {
1304
1304
  y || d();
1305
1305
  }
1306
- ), (y, v) => (k(), Y(Pr(c.value), qt({
1306
+ ), (y, v) => (k(), Y(Pr(c.value), jt({
1307
1307
  id: t.id,
1308
1308
  ref_key: "target",
1309
1309
  ref: n,
@@ -1325,7 +1325,7 @@ const It = /* @__PURE__ */ le({
1325
1325
  onKeydown: Ko(te(d), ["esc"])
1326
1326
  }), {
1327
1327
  default: ie(() => [
1328
- Kt(R(t.title), 1)
1328
+ Gt(R(t.title), 1)
1329
1329
  ]),
1330
1330
  _: 1
1331
1331
  }, 16, ["id", "class", "type", "value", "onKeydown"]));
@@ -1388,7 +1388,7 @@ const v5 = {
1388
1388
  }, null, 8, ["name"])
1389
1389
  ])) : P("", !0),
1390
1390
  b("div", b5, [
1391
- N(It, {
1391
+ N(Nt, {
1392
1392
  id: t.id,
1393
1393
  class: "ao-card-horiz__title",
1394
1394
  level: 4,
@@ -1442,13 +1442,13 @@ const hs = /* @__PURE__ */ le({
1442
1442
  t.closable ? "ao-tag--closable" : "",
1443
1443
  t.variant ? `ao-tag--${t.variant}` : ""
1444
1444
  ]),
1445
- style: Jt(t.rawColor ? { "--ao-tag-bg": t.rawColor } : {})
1445
+ style: Dt(t.rawColor ? { "--ao-tag-bg": t.rawColor } : {})
1446
1446
  }, [
1447
- (k(), Y(Pr(n.value), qt({ class: "ao-tag__label" }, o.value, {
1447
+ (k(), Y(Pr(n.value), jt({ class: "ao-tag__label" }, o.value, {
1448
1448
  onClick: i[0] || (i[0] = (s) => r.$emit("click", s))
1449
1449
  }), {
1450
1450
  default: ie(() => [
1451
- Kt(R(t.label) + " ", 1),
1451
+ Gt(R(t.label) + " ", 1),
1452
1452
  t.variant === te(p5).SOLID_ICON && t.iconName ? (k(), Y(Re, {
1453
1453
  key: 0,
1454
1454
  name: t.iconName,
@@ -1476,11 +1476,11 @@ const La = {
1476
1476
  todo: "todo",
1477
1477
  done: "done",
1478
1478
  archived: "archived"
1479
- }, g_e = {
1479
+ }, h_e = {
1480
1480
  months: "months",
1481
1481
  weeks: "weeks",
1482
1482
  days: "days"
1483
- }, v_e = {
1483
+ }, m_e = {
1484
1484
  future: "future",
1485
1485
  this_month: "this_month",
1486
1486
  this_week: "this_week",
@@ -1504,7 +1504,7 @@ const La = {
1504
1504
  TASKS: "tasks"
1505
1505
  };
1506
1506
  var $5 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))($5 || {});
1507
- const __e = {
1507
+ const g_e = {
1508
1508
  add: "add",
1509
1509
  remove: "remove",
1510
1510
  moved: "moved"
@@ -4126,7 +4126,7 @@ const oC = /* @__PURE__ */ le({
4126
4126
  var r;
4127
4127
  return (r = e.milestones) == null ? void 0 : r.length;
4128
4128
  }), o = O(() => e.milestones ? wh(e.milestones) : 0);
4129
- return (r, i) => (k(), Y(Hu, qt({
4129
+ return (r, i) => (k(), Y(Hu, jt({
4130
4130
  id: t.id,
4131
4131
  title: t.name,
4132
4132
  activities: o.value,
@@ -4189,7 +4189,7 @@ const oC = /* @__PURE__ */ le({
4189
4189
  onChange: a
4190
4190
  }, {
4191
4191
  header: ie(() => [
4192
- N(It, {
4192
+ N(Nt, {
4193
4193
  title: "Milestones",
4194
4194
  level: 3,
4195
4195
  class: "ao-list__title"
@@ -4279,7 +4279,7 @@ const oC = /* @__PURE__ */ le({
4279
4279
  onChange: a
4280
4280
  }, {
4281
4281
  header: ie(() => [
4282
- N(It, {
4282
+ N(Nt, {
4283
4283
  title: "Activities",
4284
4284
  level: 3,
4285
4285
  class: "ao-list__title"
@@ -5203,7 +5203,7 @@ const WC = (t, e, n) => {
5203
5203
  });
5204
5204
  });
5205
5205
  }
5206
- Dt(() => {
5206
+ Mt(() => {
5207
5207
  c();
5208
5208
  }), Ds(() => {
5209
5209
  a.value();
@@ -5326,7 +5326,7 @@ function e9(t, e, n) {
5326
5326
  disabledProp: be,
5327
5327
  searchStart: he,
5328
5328
  searchFilter: Ve
5329
- } = yn(t), Ce = Fr().proxy, pe = n.iv, Z = n.ev, V = n.search, me = n.clearSearch, Ue = n.update, it = n.pointer, Be = n.setPointer, Pe = n.clearPointer, Rt = n.focus, W = n.deactivate, ge = n.close, De = n.localize, Ee = Q([]), ut = Q([]), We = Q(!1), Ze = Q(null), ot = Q(q.value && s.value === -1 ? 10 : s.value), pt = O(() => l.value || c.value || !1), ht = O(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Ge = O(() => {
5329
+ } = yn(t), Ce = Fr().proxy, pe = n.iv, Z = n.ev, V = n.search, me = n.clearSearch, Ue = n.update, it = n.pointer, Be = n.setPointer, Pe = n.clearPointer, Bt = n.focus, W = n.deactivate, ge = n.close, De = n.localize, Ee = Q([]), ut = Q([]), We = Q(!1), Ze = Q(null), ot = Q(q.value && s.value === -1 ? 10 : s.value), pt = O(() => l.value || c.value || !1), ht = O(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Ge = O(() => {
5330
5330
  if (F.value) {
5331
5331
  let U = rn.value || /* istanbul ignore next */
5332
5332
  [], ae = [];
@@ -5340,11 +5340,11 @@ function e9(t, e, n) {
5340
5340
  []);
5341
5341
  return Ee.value.length && (U = U.concat(Ee.value)), U;
5342
5342
  }
5343
- }), Bt = O(() => {
5343
+ }), Ut = O(() => {
5344
5344
  let U = Ge.value;
5345
5345
  return H.value && (U = U.reverse()), X.value.length && (U = X.value.concat(U)), Pi(U);
5346
5346
  }), wt = O(() => {
5347
- let U = Bt.value;
5347
+ let U = Ut.value;
5348
5348
  return ot.value > 0 && (U = U.slice(0, ot.value)), U;
5349
5349
  }), rn = O(() => {
5350
5350
  if (!F.value)
@@ -5399,7 +5399,7 @@ function e9(t, e, n) {
5399
5399
  case "tags":
5400
5400
  return [];
5401
5401
  }
5402
- }), sn = O(() => g.value || We.value), Ut = (U) => {
5402
+ }), sn = O(() => g.value || We.value), Ht = (U) => {
5403
5403
  switch (typeof U != "object" && (U = cn(U)), r.value) {
5404
5404
  case "single":
5405
5405
  Ue(U);
@@ -5409,7 +5409,7 @@ function e9(t, e, n) {
5409
5409
  Ue(pe.value.concat(U));
5410
5410
  break;
5411
5411
  }
5412
- e.emit("select", Vt(U), U, Ce);
5412
+ e.emit("select", Wt(U), U, Ce);
5413
5413
  }, Le = (U) => {
5414
5414
  switch (typeof U != "object" && (U = cn(U)), r.value) {
5415
5415
  case "single":
@@ -5420,8 +5420,8 @@ function e9(t, e, n) {
5420
5420
  Ue(Array.isArray(U) ? pe.value.filter((ae) => U.map((Fe) => Fe[w.value]).indexOf(ae[w.value]) === -1) : pe.value.filter((ae) => ae[w.value] != U[w.value]));
5421
5421
  break;
5422
5422
  }
5423
- e.emit("deselect", Vt(U), U, Ce);
5424
- }, Vt = (U) => h.value ? U : U[w.value], Mo = (U) => {
5423
+ e.emit("deselect", Wt(U), U, Ce);
5424
+ }, Wt = (U) => h.value ? U : U[w.value], Mo = (U) => {
5425
5425
  Le(U);
5426
5426
  }, Xs = (U, ae) => {
5427
5427
  if (ae.button !== 0) {
@@ -5458,7 +5458,7 @@ function e9(t, e, n) {
5458
5458
  x.value && Le(U), L.value && (Pe(), ge());
5459
5459
  return;
5460
5460
  }
5461
- U && ir(U), S.value && me(), A.value && (Pe(), ge()), U && Ut(U);
5461
+ U && ir(U), S.value && me(), A.value && (Pe(), ge()), U && Ht(U);
5462
5462
  break;
5463
5463
  case "multiple":
5464
5464
  if (U && an(U)) {
@@ -5469,7 +5469,7 @@ function e9(t, e, n) {
5469
5469
  e.emit("max", Ce);
5470
5470
  return;
5471
5471
  }
5472
- U && (ir(U), Ut(U)), S.value && me(), a.value && Pe(), A.value && ge();
5472
+ U && (ir(U), Ht(U)), S.value && me(), a.value && Pe(), A.value && ge();
5473
5473
  break;
5474
5474
  case "tags":
5475
5475
  if (U && an(U)) {
@@ -5480,16 +5480,16 @@ function e9(t, e, n) {
5480
5480
  e.emit("max", Ce);
5481
5481
  return;
5482
5482
  }
5483
- U && ir(U), S.value && me(), U && Ut(U), a.value && Pe(), A.value && ge();
5483
+ U && ir(U), S.value && me(), U && Ht(U), a.value && Pe(), A.value && ge();
5484
5484
  break;
5485
5485
  }
5486
- A.value || Rt();
5486
+ A.value || Bt();
5487
5487
  }, Oo = (U) => {
5488
5488
  if (!(Hr(U) || r.value === "single" || !G.value)) {
5489
5489
  switch (r.value) {
5490
5490
  case "multiple":
5491
5491
  case "tags":
5492
- ec(U[ee.value]) ? Le(U[ee.value]) : Ut(
5492
+ ec(U[ee.value]) ? Le(U[ee.value]) : Ht(
5493
5493
  U[ee.value].filter((ae) => pe.value.map((Fe) => Fe[w.value]).indexOf(ae[w.value]) === -1).filter((ae) => !ae[be.value]).filter((ae, Fe) => pe.value.length + 1 + Fe <= M.value || M.value === -1)
5494
5494
  ), a.value && it.value && Be(Wn.value.filter((ae) => !ae[be.value])[it.value.index]);
5495
5495
  break;
@@ -5499,7 +5499,7 @@ function e9(t, e, n) {
5499
5499
  }, ir = (U) => {
5500
5500
  cn(U[w.value]) === void 0 && pt.value && (e.emit("tag", U[w.value], Ce), e.emit("option", U[w.value], Ce), e.emit("create", U[w.value], Ce), ht.value && tc(U), me());
5501
5501
  }, Ii = () => {
5502
- r.value !== "single" && Ut(wt.value.filter((U) => !U.disabled && !an(U)));
5502
+ r.value !== "single" && Ht(wt.value.filter((U) => !U.disabled && !an(U)));
5503
5503
  }, ec = (U) => U.find((ae) => !an(ae) && !ae[be.value]) === void 0, Qs = (U) => U.find((ae) => !an(ae)) === void 0, cn = (U) => Ge.value[Ge.value.map((ae) => String(ae[w.value])).indexOf(String(U))], ea = (U) => Ge.value.findIndex((ae) => ye.value.some((Fe) => (parseInt(ae[Fe]) == ae[Fe] ? parseInt(ae[Fe]) : ae[Fe]) === (parseInt(U) == U ? parseInt(U) : U))), Ni = (U) => ["tags", "multiple"].indexOf(r.value) !== -1 && a.value && an(U), tc = (U) => {
5504
5504
  Ee.value.push(U);
5505
5505
  }, sr = (U) => j.value ? U.filter(
@@ -5593,7 +5593,7 @@ function e9(t, e, n) {
5593
5593
  }), Ne(u, Ri), Ne(s, (U, ae) => {
5594
5594
  ot.value = q.value && U === -1 ? 10 : U;
5595
5595
  }), {
5596
- pfo: Bt,
5596
+ pfo: Ut,
5597
5597
  fo: wt,
5598
5598
  filteredOptions: wt,
5599
5599
  hasSelected: Zn,
@@ -5609,7 +5609,7 @@ function e9(t, e, n) {
5609
5609
  resolving: We,
5610
5610
  busy: sn,
5611
5611
  offset: ot,
5612
- select: Ut,
5612
+ select: Ht,
5613
5613
  deselect: Le,
5614
5614
  remove: Mo,
5615
5615
  selectAll: Ii,
@@ -5668,7 +5668,7 @@ function t9(t, e, n) {
5668
5668
  let Z = w.value.map((V) => V[o.value]).indexOf(v.value[o.value]) + 1;
5669
5669
  w.value.length <= Z && (Z = 0), m(w.value[Z] || null);
5670
5670
  }
5671
- Gt(() => {
5671
+ Yt(() => {
5672
5672
  pe();
5673
5673
  });
5674
5674
  }, Ve = () => {
@@ -5683,7 +5683,7 @@ function t9(t, e, n) {
5683
5683
  let Z = w.value.map((V) => V[o.value]).indexOf(v.value[o.value]) - 1;
5684
5684
  Z < 0 && (Z = w.value.length - 1), m(w.value[Z] || null);
5685
5685
  }
5686
- Gt(() => {
5686
+ Yt(() => {
5687
5687
  pe();
5688
5688
  });
5689
5689
  }, Ce = (Z) => $.value.find((V) => V.__VISIBLE__.map((me) => me[o.value]).indexOf(Z[o.value]) !== -1), pe = () => {
@@ -5701,7 +5701,7 @@ function t9(t, e, n) {
5701
5701
  if (!V)
5702
5702
  return;
5703
5703
  let me = V.parentElement.parentElement;
5704
- Gt(() => {
5704
+ Yt(() => {
5705
5705
  me.scrollTop > 0 || (me.scrollTop = V.offsetTop);
5706
5706
  });
5707
5707
  }
@@ -6406,11 +6406,11 @@ function G9(t) {
6406
6406
  var L, F = C === "y" ? Fn : Co, H = C === "y" ? ao : Jo, q = C === "y" ? "height" : "width", ee = w[C], j = ee + y[F], G = ee - y[H], se = p ? -E[q] / 2 : 0, be = m === gi ? $[q] : E[q], he = m === gi ? -E[q] : -$[q], Ve = e.elements.arrow, Ce = p && Ve ? Fh(Ve) : {
6407
6407
  width: 0,
6408
6408
  height: 0
6409
- }, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zh(), Z = pe[F], V = pe[H], me = xa(0, $[q], Ce[q]), Ue = _ ? $[q] / 2 - se - me - Z - M.mainAxis : be - me - Z - M.mainAxis, it = _ ? -$[q] / 2 + se + me + V + M.mainAxis : he + me + V + M.mainAxis, Be = e.elements.arrow && kl(e.elements.arrow), Pe = Be ? C === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0, Rt = (L = I == null ? void 0 : I[C]) != null ? L : 0, W = ee + Ue - Rt - Pe, ge = ee + it - Rt, De = xa(p ? Ba(j, W) : j, ee, p ? _r(G, ge) : G);
6409
+ }, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zh(), Z = pe[F], V = pe[H], me = xa(0, $[q], Ce[q]), Ue = _ ? $[q] / 2 - se - me - Z - M.mainAxis : be - me - Z - M.mainAxis, it = _ ? -$[q] / 2 + se + me + V + M.mainAxis : he + me + V + M.mainAxis, Be = e.elements.arrow && kl(e.elements.arrow), Pe = Be ? C === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0, Bt = (L = I == null ? void 0 : I[C]) != null ? L : 0, W = ee + Ue - Bt - Pe, ge = ee + it - Bt, De = xa(p ? Ba(j, W) : j, ee, p ? _r(G, ge) : G);
6410
6410
  w[C] = De, A[C] = De - ee;
6411
6411
  }
6412
6412
  if (a) {
6413
- var Ee, ut = C === "x" ? Fn : Co, We = C === "x" ? ao : Jo, Ze = w[S], ot = S === "y" ? "height" : "width", pt = Ze + y[ut], ht = Ze - y[We], Ge = [Fn, Co].indexOf(v) !== -1, Bt = (Ee = I == null ? void 0 : I[S]) != null ? Ee : 0, wt = Ge ? pt : Ze - $[ot] - E[ot] - Bt + M.altAxis, rn = Ge ? Ze + $[ot] + E[ot] - Bt - M.altAxis : ht, Mn = p && Ge ? K9(wt, Ze, rn) : xa(p ? wt : pt, Ze, p ? rn : ht);
6413
+ var Ee, ut = C === "x" ? Fn : Co, We = C === "x" ? ao : Jo, Ze = w[S], ot = S === "y" ? "height" : "width", pt = Ze + y[ut], ht = Ze - y[We], Ge = [Fn, Co].indexOf(v) !== -1, Ut = (Ee = I == null ? void 0 : I[S]) != null ? Ee : 0, wt = Ge ? pt : Ze - $[ot] - E[ot] - Ut + M.altAxis, rn = Ge ? Ze + $[ot] + E[ot] - Ut - M.altAxis : ht, Mn = p && Ge ? K9(wt, Ze, rn) : xa(p ? wt : pt, Ze, p ? rn : ht);
6414
6414
  w[S] = Mn, A[S] = Mn - Ze;
6415
6415
  }
6416
6416
  e.modifiersData[o] = A;
@@ -6529,7 +6529,7 @@ var n4 = {
6529
6529
  };
6530
6530
  function o4(t, e, n) {
6531
6531
  const { disabled: o, appendTo: r, appendToBody: i, openDirection: s } = yn(t), a = Fr().proxy, l = n.multiselect, c = n.dropdown, u = Q(!1), f = Q(null), d = Q(null), p = O(() => r.value || i.value), h = O(() => s.value === "top" && d.value === "bottom" || s.value === "bottom" && d.value !== "top" ? "bottom" : "top"), g = () => {
6532
- u.value || o.value || (u.value = !0, e.emit("open", a), p.value && Gt(() => {
6532
+ u.value || o.value || (u.value = !0, e.emit("open", a), p.value && Yt(() => {
6533
6533
  v();
6534
6534
  }));
6535
6535
  }, y = () => {
@@ -6558,7 +6558,7 @@ function o4(t, e, n) {
6558
6558
  }
6559
6559
  return !1;
6560
6560
  };
6561
- return Dt(() => {
6561
+ return Mt(() => {
6562
6562
  p.value && (f.value = W9(l.value, c.value, {
6563
6563
  strategy: m(l.value) ? (
6564
6564
  /* istanbul ignore next: UI feature */
@@ -6844,7 +6844,7 @@ function a4(t, e, n) {
6844
6844
  const { isIntersecting: y, target: v } = g[0];
6845
6845
  if (y) {
6846
6846
  const m = v.offsetParent, _ = m.scrollTop;
6847
- s.value += o.value == -1 ? 10 : o.value, Gt(() => {
6847
+ s.value += o.value == -1 ? 10 : o.value, Yt(() => {
6848
6848
  m.scrollTop = _;
6849
6849
  });
6850
6850
  }
@@ -6857,7 +6857,7 @@ function a4(t, e, n) {
6857
6857
  r.value && (s.value = o.value, h());
6858
6858
  }, { flush: "post" }), Ne(c, () => {
6859
6859
  r.value && h();
6860
- }, { immediate: !1, flush: "post" }), Dt(() => {
6860
+ }, { immediate: !1, flush: "post" }), Mt(() => {
6861
6861
  window && window.IntersectionObserver && (u.value = new IntersectionObserver(p));
6862
6862
  }), {
6863
6863
  hasMore: d,
@@ -6903,7 +6903,7 @@ function l4(t, e, n) {
6903
6903
  let L = [];
6904
6904
  return L.push(A), L.join(" ");
6905
6905
  }, I = (A) => `${A} ❎`;
6906
- return Dt(() => {
6906
+ return Mt(() => {
6907
6907
  if (r && r.value && document && document.querySelector) {
6908
6908
  let A = document.querySelector(`[for="${r.value}"]`);
6909
6909
  g.value = A ? A.innerText : null;
@@ -7343,7 +7343,7 @@ function O4(t, e, n, o, r, i) {
7343
7343
  onKeyup: e[12] || (e[12] = (...s) => t.handleKeyup && t.handleKeyup(...s)),
7344
7344
  onKeydown: e[13] || (e[13] = (...s) => t.handleKeydown && t.handleKeydown(...s))
7345
7345
  }, [
7346
- b("div", qt({
7346
+ b("div", jt({
7347
7347
  class: t.classList.wrapper,
7348
7348
  onMousedown: e[9] || (e[9] = (...s) => t.handleMousedown && t.handleMousedown(...s)),
7349
7349
  ref: "wrapper",
@@ -7356,7 +7356,7 @@ function O4(t, e, n, o, r, i) {
7356
7356
  role: n.searchable ? void 0 : "combobox"
7357
7357
  }, n.searchable ? {} : t.arias), [
7358
7358
  P(" Search "),
7359
- n.mode !== "tags" && n.searchable && !n.disabled ? (k(), T("input", qt({
7359
+ n.mode !== "tags" && n.searchable && !n.disabled ? (k(), T("input", jt({
7360
7360
  key: 0,
7361
7361
  type: n.inputType,
7362
7362
  modelValue: t.search,
@@ -7452,7 +7452,7 @@ function O4(t, e, n, o, r, i) {
7452
7452
  /* TEXT, CLASS */
7453
7453
  ),
7454
7454
  P(" Actual search input "),
7455
- n.searchable && !n.disabled ? (k(), T("input", qt({
7455
+ n.searchable && !n.disabled ? (k(), T("input", jt({
7456
7456
  key: 0,
7457
7457
  type: n.inputType,
7458
7458
  modelValue: t.search,
@@ -7808,7 +7808,7 @@ function O4(t, e, n, o, r, i) {
7808
7808
  }
7809
7809
  Bo.render = O4;
7810
7810
  Bo.__file = "src/Multiselect.vue";
7811
- const zt = /* @__PURE__ */ le({
7811
+ const qt = /* @__PURE__ */ le({
7812
7812
  __name: "AoMultiselect",
7813
7813
  props: {
7814
7814
  detached: { type: Boolean, default: !1 },
@@ -7838,7 +7838,7 @@ const zt = /* @__PURE__ */ le({
7838
7838
  }
7839
7839
  });
7840
7840
  var E1;
7841
- function Ft() {
7841
+ function Rt() {
7842
7842
  const t = I4(), e = t.appContext.config.globalProperties;
7843
7843
  return {
7844
7844
  i18next: e.$i18next,
@@ -7879,9 +7879,9 @@ async function ko(t, e) {
7879
7879
  if (o.length !== 1)
7880
7880
  return;
7881
7881
  const r = o[0].id;
7882
- await Gt();
7882
+ await Yt();
7883
7883
  const i = document.getElementById(r);
7884
- i == null || i.focus(), await Gt();
7884
+ i == null || i.focus(), await Yt();
7885
7885
  const s = document.getElementById(
7886
7886
  r
7887
7887
  );
@@ -7900,7 +7900,7 @@ const N4 = { class: "ao-tasks__list" }, P4 = ["id", "value", "readonly", "onChan
7900
7900
  },
7901
7901
  emits: ["add", "delete", "update"],
7902
7902
  setup(t, { emit: e }) {
7903
- const { t: n } = Ft(), o = t, r = e, i = Q(null);
7903
+ const { t: n } = Rt(), o = t, r = e, i = Q(null);
7904
7904
  let s = null, a = null;
7905
7905
  const l = (_) => {
7906
7906
  _.style.height = "auto", _.style.height = `${_.scrollHeight}px`;
@@ -7922,7 +7922,7 @@ const N4 = { class: "ao-tasks__list" }, P4 = ["id", "value", "readonly", "onChan
7922
7922
  {
7923
7923
  deep: !0
7924
7924
  }
7925
- ), Dt(() => {
7925
+ ), Mt(() => {
7926
7926
  f(), i.value && (s = new ResizeObserver(() => {
7927
7927
  f();
7928
7928
  }), s.observe(i.value));
@@ -8001,7 +8001,7 @@ const N4 = { class: "ao-tasks__list" }, P4 = ["id", "value", "readonly", "onChan
8001
8001
  onChange: (E) => h(E, S.id),
8002
8002
  onKeydown: Ko(xe(m, ["prevent"]), ["enter"])
8003
8003
  }, null, 42, P4),
8004
- !t.isTemplate && t.users ? (k(), Y(zt, {
8004
+ !t.isTemplate && t.users ? (k(), Y(qt, {
8005
8005
  key: 1,
8006
8006
  value: ($ = S.assignee) != null && $.id ? [S.assignee.id] : [],
8007
8007
  options: d.value,
@@ -8088,7 +8088,7 @@ const B4 = { class: "ao-files__placeholder" }, U4 = {
8088
8088
  function c(p) {
8089
8089
  p.preventDefault();
8090
8090
  }
8091
- Dt(() => {
8091
+ Mt(() => {
8092
8092
  i.forEach((p) => {
8093
8093
  document.body.addEventListener(
8094
8094
  p,
@@ -12583,11 +12583,11 @@ function ule(t, e) {
12583
12583
  }
12584
12584
  }
12585
12585
  const um = Object.entries, ff = Object.setPrototypeOf, dle = Object.isFrozen, fle = Object.getPrototypeOf, ple = Object.getOwnPropertyDescriptor;
12586
- let Lt = Object.freeze, Nt = Object.seal, Jr = Object.create, dm = typeof Reflect < "u" && Reflect, tu = dm.apply, nu = dm.construct;
12587
- Lt || (Lt = function(e) {
12586
+ let Ot = Object.freeze, Pt = Object.seal, Jr = Object.create, dm = typeof Reflect < "u" && Reflect, tu = dm.apply, nu = dm.construct;
12587
+ Ot || (Ot = function(e) {
12588
12588
  return e;
12589
12589
  });
12590
- Nt || (Nt = function(e) {
12590
+ Pt || (Pt = function(e) {
12591
12591
  return e;
12592
12592
  });
12593
12593
  tu || (tu = function(e, n) {
@@ -12636,12 +12636,12 @@ function ble(t) {
12636
12636
  xt(t, e) || (t[e] = null);
12637
12637
  return t;
12638
12638
  }
12639
- function Ht(t) {
12639
+ function zt(t) {
12640
12640
  const e = Jr(null);
12641
12641
  for (const o of um(t)) {
12642
12642
  var n = cle(o, 2);
12643
12643
  const r = n[0], i = n[1];
12644
- xt(t, r) && (Uo(i) ? e[r] = ble(i) : i && typeof i == "object" && i.constructor === Object ? e[r] = Ht(i) : e[r] = i);
12644
+ xt(t, r) && (Uo(i) ? e[r] = ble(i) : i && typeof i == "object" && i.constructor === Object ? e[r] = zt(i) : e[r] = i);
12645
12645
  }
12646
12646
  return e;
12647
12647
  }
@@ -12697,13 +12697,13 @@ function kle(t) {
12697
12697
  return !1;
12698
12698
  }
12699
12699
  }
12700
- const _f = Lt(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), xc = Lt(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ac = Lt(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), wle = Lt(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ec = Lt(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Sle = Lt(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), yf = Lt(["#text"]), bf = Lt(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), Tc = Lt(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Cf = Lt(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ha = Lt(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xle = Nt(/{{[\w\W]*|^[\w\W]*}}/g), Ale = Nt(/<%[\w\W]*|^[\w\W]*%>/g), Ele = Nt(/\${[\w\W]*/g), Tle = Nt(/^data-[\-\w.\u00B7-\uFFFF]+$/), $le = Nt(/^aria-[\-\w]+$/), kf = Nt(
12700
+ const _f = Ot(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), xc = Ot(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ac = Ot(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), wle = Ot(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ec = Ot(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Sle = Ot(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), yf = Ot(["#text"]), bf = Ot(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), Tc = Ot(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Cf = Ot(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ha = Ot(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xle = Pt(/{{[\w\W]*|^[\w\W]*}}/g), Ale = Pt(/<%[\w\W]*|^[\w\W]*%>/g), Ele = Pt(/\${[\w\W]*/g), Tle = Pt(/^data-[\-\w.\u00B7-\uFFFF]+$/), $le = Pt(/^aria-[\-\w]+$/), kf = Pt(
12701
12701
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
12702
12702
  // eslint-disable-line no-useless-escape
12703
- ), Dle = Nt(/^(?:\w+script|data):/i), Mle = Nt(
12703
+ ), Dle = Pt(/^(?:\w+script|data):/i), Mle = Pt(
12704
12704
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
12705
12705
  // eslint-disable-line no-control-regex
12706
- ), Lle = Nt(/^html$/i), Ole = Nt(/^[a-z][.\w]*(-[.\w]+)+$/i), wf = Nt(/<[/\w!]/g), Sf = Nt(/<[/\w]/g), Ile = Nt(/<\/no(script|embed|frames)/i), Nle = Nt(/\/>/i), un = {
12706
+ ), Lle = Pt(/^html$/i), Ole = Pt(/^[a-z][.\w]*(-[.\w]+)+$/i), wf = Pt(/<[/\w!]/g), Sf = Pt(/<[/\w]/g), Ile = Pt(/<\/no(script|embed|frames)/i), Nle = Pt(/\/>/i), un = {
12707
12707
  element: 1,
12708
12708
  attribute: 2,
12709
12709
  text: 3,
@@ -12753,7 +12753,7 @@ const _f = Lt(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
12753
12753
  uponSanitizeShadowNode: []
12754
12754
  };
12755
12755
  }, Po = function(e, n, o, r) {
12756
- return xt(e, n) && Uo(e[n]) ? He(r.base ? Ht(r.base) : {}, e[n], r.transform) : o;
12756
+ return xt(e, n) && Uo(e[n]) ? He(r.base ? zt(r.base) : {}, e[n], r.transform) : o;
12757
12757
  };
12758
12758
  function fm() {
12759
12759
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ple();
@@ -12795,7 +12795,7 @@ function fm() {
12795
12795
  e.isSupported = typeof um == "function" && typeof v == "function" && ee && ee.createHTMLDocument !== void 0;
12796
12796
  const Ve = xle, Ce = Ale, pe = Ele, Z = Tle, V = $le, me = Dle, Ue = Mle, it = Ole;
12797
12797
  let Be = kf, Pe = null;
12798
- const Rt = He({}, [..._f, ...xc, ...Ac, ...Ec, ...yf]);
12798
+ const Bt = He({}, [..._f, ...xc, ...Ac, ...Ec, ...yf]);
12799
12799
  let W = null;
12800
12800
  const ge = He({}, [...bf, ...Tc, ...Cf, ...ha]);
12801
12801
  let De = Object.seal(Jr(null, {
@@ -12832,9 +12832,9 @@ function fm() {
12832
12832
  value: null
12833
12833
  }
12834
12834
  }));
12835
- let Ze = !0, ot = !0, pt = !1, ht = !0, Ge = !1, Bt = !0, wt = !1, rn = !1, Mn = null, Wn = null, Zn = !1, Kn = !1, Do = !1, B = !1, X = !0, ye = !1;
12835
+ let Ze = !0, ot = !0, pt = !1, ht = !0, Ge = !1, Ut = !0, wt = !1, rn = !1, Mn = null, Wn = null, Zn = !1, Kn = !1, Do = !1, B = !1, X = !0, ye = !1;
12836
12836
  const mt = "user-content-";
12837
- let sn = !0, Ut = !1, Le = {}, Vt = null;
12837
+ let sn = !0, Ht = !1, Le = {}, Wt = null;
12838
12838
  const Mo = He({}, [
12839
12839
  "annotation-xml",
12840
12840
  "audio",
@@ -12877,9 +12877,9 @@ function fm() {
12877
12877
  let an = null;
12878
12878
  const Hr = He({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Lo = "http://www.w3.org/1998/Math/MathML", zr = "http://www.w3.org/2000/svg", ln = "http://www.w3.org/1999/xhtml";
12879
12879
  let Oo = ln, ir = !1, Ii = null;
12880
- const ec = He({}, [Lo, zr, ln], Sc), Qs = Lt(["mi", "mo", "mn", "ms", "mtext"]);
12880
+ const ec = He({}, [Lo, zr, ln], Sc), Qs = Ot(["mi", "mo", "mn", "ms", "mtext"]);
12881
12881
  let cn = He({}, Qs);
12882
- const ea = Lt(["annotation-xml"]);
12882
+ const ea = Ot(["annotation-xml"]);
12883
12883
  let Ni = He({}, ea);
12884
12884
  const tc = He({}, ["title", "style", "font", "a", "script"]);
12885
12885
  let sr = null;
@@ -12891,8 +12891,8 @@ function fm() {
12891
12891
  let D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
12892
12892
  if (Ln && Ln === D)
12893
12893
  return;
12894
- (!D || typeof D != "object") && (D = {}), D = Ht(D), sr = // eslint-disable-next-line unicorn/prefer-includes
12895
- Pi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? Fi : D.PARSER_MEDIA_TYPE, Qe = sr === "application/xhtml+xml" ? Sc : ns, Pe = Po(D, "ALLOWED_TAGS", Rt, {
12894
+ (!D || typeof D != "object") && (D = {}), D = zt(D), sr = // eslint-disable-next-line unicorn/prefer-includes
12895
+ Pi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? Fi : D.PARSER_MEDIA_TYPE, Qe = sr === "application/xhtml+xml" ? Sc : ns, Pe = Po(D, "ALLOWED_TAGS", Bt, {
12896
12896
  transform: Qe
12897
12897
  }), W = Po(D, "ALLOWED_ATTR", ge, {
12898
12898
  transform: Qe
@@ -12904,15 +12904,15 @@ function fm() {
12904
12904
  }), Xs = Po(D, "ADD_DATA_URI_TAGS", Oi, {
12905
12905
  transform: Qe,
12906
12906
  base: Oi
12907
- }), Vt = Po(D, "FORBID_CONTENTS", Mo, {
12907
+ }), Wt = Po(D, "FORBID_CONTENTS", Mo, {
12908
12908
  transform: Qe
12909
- }), Ee = Po(D, "FORBID_TAGS", Ht({}), {
12909
+ }), Ee = Po(D, "FORBID_TAGS", zt({}), {
12910
12910
  transform: Qe
12911
- }), ut = Po(D, "FORBID_ATTR", Ht({}), {
12911
+ }), ut = Po(D, "FORBID_ATTR", zt({}), {
12912
12912
  transform: Qe
12913
- }), Le = xt(D, "USE_PROFILES") ? D.USE_PROFILES && typeof D.USE_PROFILES == "object" ? Ht(D.USE_PROFILES) : D.USE_PROFILES : !1, Ze = D.ALLOW_ARIA_ATTR !== !1, ot = D.ALLOW_DATA_ATTR !== !1, pt = D.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ge = D.SAFE_FOR_TEMPLATES || !1, Bt = D.SAFE_FOR_XML !== !1, wt = D.WHOLE_DOCUMENT || !1, Kn = D.RETURN_DOM || !1, Do = D.RETURN_DOM_FRAGMENT || !1, B = D.RETURN_TRUSTED_TYPE || !1, Zn = D.FORCE_BODY || !1, X = D.SANITIZE_DOM !== !1, ye = D.SANITIZE_NAMED_PROPS || !1, sn = D.KEEP_CONTENT !== !1, Ut = D.IN_PLACE || !1, Be = kle(D.ALLOWED_URI_REGEXP) ? D.ALLOWED_URI_REGEXP : kf, Oo = typeof D.NAMESPACE == "string" ? D.NAMESPACE : ln, cn = xt(D, "MATHML_TEXT_INTEGRATION_POINTS") && D.MATHML_TEXT_INTEGRATION_POINTS && typeof D.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Ht(D.MATHML_TEXT_INTEGRATION_POINTS) : He({}, Qs), Ni = xt(D, "HTML_INTEGRATION_POINTS") && D.HTML_INTEGRATION_POINTS && typeof D.HTML_INTEGRATION_POINTS == "object" ? Ht(D.HTML_INTEGRATION_POINTS) : He({}, ea);
12914
- const z = xt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? Ht(D.CUSTOM_ELEMENT_HANDLING) : Jr(null);
12915
- if (De = Jr(null), xt(z, "tagNameCheck") && ta(z.tagNameCheck) && (De.tagNameCheck = z.tagNameCheck), xt(z, "attributeNameCheck") && ta(z.attributeNameCheck) && (De.attributeNameCheck = z.attributeNameCheck), xt(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements), Nt(De), Ge && (ot = !1), Do && (Kn = !0), Le && (Pe = He({}, yf), W = Jr(null), Le.html === !0 && (He(Pe, _f), He(W, bf)), Le.svg === !0 && (He(Pe, xc), He(W, Tc), He(W, ha)), Le.svgFilters === !0 && (He(Pe, Ac), He(W, Tc), He(W, ha)), Le.mathMl === !0 && (He(Pe, Ec), He(W, Cf), He(W, ha))), We.tagCheck = null, We.attributeCheck = null, xt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? We.tagCheck = D.ADD_TAGS : Uo(D.ADD_TAGS) && (Pe === Rt && (Pe = Ht(Pe)), He(Pe, D.ADD_TAGS, Qe))), xt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? We.attributeCheck = D.ADD_ATTR : Uo(D.ADD_ATTR) && (W === ge && (W = Ht(W)), He(W, D.ADD_ATTR, Qe))), xt(D, "ADD_URI_SAFE_ATTR") && Uo(D.ADD_URI_SAFE_ATTR) && He(an, D.ADD_URI_SAFE_ATTR, Qe), xt(D, "FORBID_CONTENTS") && Uo(D.FORBID_CONTENTS) && (Vt === Mo && (Vt = Ht(Vt)), He(Vt, D.FORBID_CONTENTS, Qe)), xt(D, "ADD_FORBID_CONTENTS") && Uo(D.ADD_FORBID_CONTENTS) && (Vt === Mo && (Vt = Ht(Vt)), He(Vt, D.ADD_FORBID_CONTENTS, Qe)), sn && (Pe["#text"] = !0), wt && He(Pe, ["html", "head", "body"]), Pe.table && (He(Pe, ["tbody"]), delete Ee.tbody), D.TRUSTED_TYPES_POLICY) {
12913
+ }), Le = xt(D, "USE_PROFILES") ? D.USE_PROFILES && typeof D.USE_PROFILES == "object" ? zt(D.USE_PROFILES) : D.USE_PROFILES : !1, Ze = D.ALLOW_ARIA_ATTR !== !1, ot = D.ALLOW_DATA_ATTR !== !1, pt = D.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ge = D.SAFE_FOR_TEMPLATES || !1, Ut = D.SAFE_FOR_XML !== !1, wt = D.WHOLE_DOCUMENT || !1, Kn = D.RETURN_DOM || !1, Do = D.RETURN_DOM_FRAGMENT || !1, B = D.RETURN_TRUSTED_TYPE || !1, Zn = D.FORCE_BODY || !1, X = D.SANITIZE_DOM !== !1, ye = D.SANITIZE_NAMED_PROPS || !1, sn = D.KEEP_CONTENT !== !1, Ht = D.IN_PLACE || !1, Be = kle(D.ALLOWED_URI_REGEXP) ? D.ALLOWED_URI_REGEXP : kf, Oo = typeof D.NAMESPACE == "string" ? D.NAMESPACE : ln, cn = xt(D, "MATHML_TEXT_INTEGRATION_POINTS") && D.MATHML_TEXT_INTEGRATION_POINTS && typeof D.MATHML_TEXT_INTEGRATION_POINTS == "object" ? zt(D.MATHML_TEXT_INTEGRATION_POINTS) : He({}, Qs), Ni = xt(D, "HTML_INTEGRATION_POINTS") && D.HTML_INTEGRATION_POINTS && typeof D.HTML_INTEGRATION_POINTS == "object" ? zt(D.HTML_INTEGRATION_POINTS) : He({}, ea);
12914
+ const z = xt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? zt(D.CUSTOM_ELEMENT_HANDLING) : Jr(null);
12915
+ if (De = Jr(null), xt(z, "tagNameCheck") && ta(z.tagNameCheck) && (De.tagNameCheck = z.tagNameCheck), xt(z, "attributeNameCheck") && ta(z.attributeNameCheck) && (De.attributeNameCheck = z.attributeNameCheck), xt(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements), Pt(De), Ge && (ot = !1), Do && (Kn = !0), Le && (Pe = He({}, yf), W = Jr(null), Le.html === !0 && (He(Pe, _f), He(W, bf)), Le.svg === !0 && (He(Pe, xc), He(W, Tc), He(W, ha)), Le.svgFilters === !0 && (He(Pe, Ac), He(W, Tc), He(W, ha)), Le.mathMl === !0 && (He(Pe, Ec), He(W, Cf), He(W, ha))), We.tagCheck = null, We.attributeCheck = null, xt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? We.tagCheck = D.ADD_TAGS : Uo(D.ADD_TAGS) && (Pe === Bt && (Pe = zt(Pe)), He(Pe, D.ADD_TAGS, Qe))), xt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? We.attributeCheck = D.ADD_ATTR : Uo(D.ADD_ATTR) && (W === ge && (W = zt(W)), He(W, D.ADD_ATTR, Qe))), xt(D, "ADD_URI_SAFE_ATTR") && Uo(D.ADD_URI_SAFE_ATTR) && He(an, D.ADD_URI_SAFE_ATTR, Qe), xt(D, "FORBID_CONTENTS") && Uo(D.FORBID_CONTENTS) && (Wt === Mo && (Wt = zt(Wt)), He(Wt, D.FORBID_CONTENTS, Qe)), xt(D, "ADD_FORBID_CONTENTS") && Uo(D.ADD_FORBID_CONTENTS) && (Wt === Mo && (Wt = zt(Wt)), He(Wt, D.ADD_FORBID_CONTENTS, Qe)), sn && (Pe["#text"] = !0), wt && He(Pe, ["html", "head", "body"]), Pe.table && (He(Pe, ["tbody"]), delete Ee.tbody), D.TRUSTED_TYPES_POLICY) {
12916
12916
  if (typeof D.TRUSTED_TYPES_POLICY.createHTML != "function")
12917
12917
  throw lr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
12918
12918
  if (typeof D.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -12926,7 +12926,7 @@ function fm() {
12926
12926
  }
12927
12927
  } else
12928
12928
  D.TRUSTED_TYPES_POLICY === null ? ($ = void 0, E = "") : ($ === void 0 && ($ = H()), $ && typeof E == "string" && (E = L("")));
12929
- Lt && Lt(D), Ln = D;
12929
+ Ot && Ot(D), Ln = D;
12930
12930
  }, Bi = He({}, [...xc, ...Ac, ...wle]), U = He({}, [...Ec, ...Sle]), ae = function(D, z, ne) {
12931
12931
  return z.namespaceURI === ln ? D === "svg" : z.namespaceURI === Lo ? D === "svg" && (ne === "annotation-xml" || cn[ne]) : !!Bi[D];
12932
12932
  }, Fe = function(D, z, ne) {
@@ -13020,7 +13020,7 @@ function fm() {
13020
13020
  z.push(Ae[Ie]);
13021
13021
  }
13022
13022
  }, I0 = function(D) {
13023
- if (!Bt)
13023
+ if (!Ut)
13024
13024
  return;
13025
13025
  const z = [D];
13026
13026
  for (; z.length > 0; ) {
@@ -13145,11 +13145,11 @@ function fm() {
13145
13145
  });
13146
13146
  }
13147
13147
  const N0 = function(D, z) {
13148
- return !!(Bt && D.hasChildNodes() && !zi(D.firstElementChild) && St(wf, D.textContent) && St(wf, D.innerHTML) || Bt && D.namespaceURI === ln && z === "style" && zi(D.firstElementChild) || D.nodeType === un.processingInstruction || Bt && D.nodeType === un.comment && St(Sf, D.data));
13148
+ return !!(Ut && D.hasChildNodes() && !zi(D.firstElementChild) && St(wf, D.textContent) && St(wf, D.innerHTML) || Ut && D.namespaceURI === ln && z === "style" && zi(D.firstElementChild) || D.nodeType === un.processingInstruction || Ut && D.nodeType === un.comment && St(Sf, D.data));
13149
13149
  }, P0 = function(D, z, ne) {
13150
13150
  if (!Ee[z] && i1(z) && (De.tagNameCheck instanceof RegExp && St(De.tagNameCheck, z) || De.tagNameCheck instanceof Function && De.tagNameCheck(z)))
13151
13151
  return !1;
13152
- if (sn && !Vt[z]) {
13152
+ if (sn && !Wt[z]) {
13153
13153
  const ke = v(D), Ae = y(D);
13154
13154
  if (Ae && ke) {
13155
13155
  const Ie = Ae.length;
@@ -13161,18 +13161,18 @@ function fm() {
13161
13161
  }
13162
13162
  return On(D), !0;
13163
13163
  }, n1 = function(D, z, ne, ke) {
13164
- return D.length === 0 ? z : z === ne || z === ke ? Ht(z) : z;
13164
+ return D.length === 0 ? z : z === ne || z === ke ? zt(z) : z;
13165
13165
  }, o1 = function(D, z) {
13166
13166
  if (Gn(he.beforeSanitizeElements, D, null), D !== z && v(D) === null)
13167
- return Ut && Hi(D), !0;
13167
+ return Ht && Hi(D), !0;
13168
13168
  if (ra(D))
13169
13169
  return On(D), !0;
13170
13170
  const ne = Qe(S ? S(D) : D.nodeName);
13171
- if (Pe = n1(he.uponSanitizeElement, Pe, Rt, Mn), Gn(he.uponSanitizeElement, D, {
13171
+ if (Pe = n1(he.uponSanitizeElement, Pe, Bt, Mn), Gn(he.uponSanitizeElement, D, {
13172
13172
  tagName: ne,
13173
13173
  allowedTags: Pe
13174
13174
  }), D !== z && v(D) === null)
13175
- return Ut && Hi(D), !0;
13175
+ return Ht && Hi(D), !0;
13176
13176
  if (N0(D, ne))
13177
13177
  return On(D), !0;
13178
13178
  if (Ee[ne] || !(We.tagCheck instanceof Function && We.tagCheck(ne)) && !Pe[ne]) {
@@ -13189,7 +13189,7 @@ function fm() {
13189
13189
  }
13190
13190
  return Gn(he.afterSanitizeElements, D, null), !1;
13191
13191
  }, r1 = function(D, z, ne) {
13192
- if (ut[z] || Bt && z === "patchsrc" || Bt && z === "for" && D !== "label" && D !== "output" || X && (z === "id" || z === "name") && (ne in n || ne in Ri))
13192
+ if (ut[z] || Ut && z === "patchsrc" || Ut && z === "for" && D !== "label" && D !== "output" || X && (z === "id" || z === "name") && (ne in n || ne in Ri))
13193
13193
  return !1;
13194
13194
  const ke = W[z] || We.attributeCheck instanceof Function && We.attributeCheck(z, D);
13195
13195
  if (!(ot && St(Z, z))) {
@@ -13251,12 +13251,12 @@ function fm() {
13251
13251
  const Ae = Qe(D.nodeName);
13252
13252
  for (; ke--; ) {
13253
13253
  const Ie = z[ke], et = Ie.name, at = Ie.namespaceURI, Qt = Ie.value, en = Qe(et), rc = Qt;
13254
- let Wt = et === "value" ? rc : gle(rc);
13255
- if (ne.attrName = en, ne.attrValue = Wt, ne.keepAttr = !0, ne.forceKeepAttr = void 0, Gn(he.uponSanitizeAttribute, D, ne), Wt = ne.attrValue, ye && (en === "id" || en === "name") && mf(Wt, mt) !== 0 && (ho(et, D), Wt = mt + Wt), Bt && St(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Wt)) {
13254
+ let Zt = et === "value" ? rc : gle(rc);
13255
+ if (ne.attrName = en, ne.attrValue = Zt, ne.keepAttr = !0, ne.forceKeepAttr = void 0, Gn(he.uponSanitizeAttribute, D, ne), Zt = ne.attrValue, ye && (en === "id" || en === "name") && mf(Zt, mt) !== 0 && (ho(et, D), Zt = mt + Zt), Ut && St(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Zt)) {
13256
13256
  ho(et, D);
13257
13257
  continue;
13258
13258
  }
13259
- if (en === "attributename" && hf(Wt, "href")) {
13259
+ if (en === "attributename" && hf(Zt, "href")) {
13260
13260
  ho(et, D);
13261
13261
  continue;
13262
13262
  }
@@ -13265,15 +13265,15 @@ function fm() {
13265
13265
  ho(et, D);
13266
13266
  continue;
13267
13267
  }
13268
- if (!ht && St(Nle, Wt)) {
13268
+ if (!ht && St(Nle, Zt)) {
13269
13269
  ho(et, D);
13270
13270
  continue;
13271
13271
  }
13272
- if (Ge && (Wt = oa(Wt)), !r1(Ae, en, Wt)) {
13272
+ if (Ge && (Zt = oa(Zt)), !r1(Ae, en, Zt)) {
13273
13273
  ho(et, D);
13274
13274
  continue;
13275
13275
  }
13276
- Wt = R0(Ae, en, at, Wt), Wt !== rc && B0(D, et, at, Wt);
13276
+ Zt = R0(Ae, en, at, Zt), Zt !== rc && B0(D, et, at, Zt);
13277
13277
  }
13278
13278
  }
13279
13279
  Gn(he.afterSanitizeAttributes, D, null);
@@ -13332,8 +13332,8 @@ function fm() {
13332
13332
  throw lr("dirty is not a string, aborting");
13333
13333
  if (!e.isSupported)
13334
13334
  return ce;
13335
- rn ? (Pe = Mn, W = Wn) : Io(D), (he.uponSanitizeElement.length > 0 || he.uponSanitizeAttribute.length > 0) && (Pe = Ht(Pe)), he.uponSanitizeAttribute.length > 0 && (W = Ht(W)), e.removed = [];
13336
- const Ie = Ut && typeof ce != "string" && zi(ce);
13335
+ rn ? (Pe = Mn, W = Wn) : Io(D), (he.uponSanitizeElement.length > 0 || he.uponSanitizeAttribute.length > 0) && (Pe = zt(Pe)), he.uponSanitizeAttribute.length > 0 && (W = zt(W)), e.removed = [];
13336
+ const Ie = Ht && typeof ce != "string" && zi(ce);
13337
13337
  if (Ie) {
13338
13338
  I0(ce);
13339
13339
  const Qt = S ? S(ce) : ce.nodeName;
@@ -13476,7 +13476,7 @@ function gm(...t) {
13476
13476
  }
13477
13477
  const qle = 0, jle = 1, Vle = 2, vm = 128, Wle = 1, Zle = 2, Kle = 3, Gle = 4, Yle = 5, Jle = 6, Ol = Cs || _i || ks ? " " : "​", Xo = `
13478
13478
 
13479
- `, Xle = Ar ? " " : Ol, Zt = { bold: 1, capitalize: 1024, code: 16, highlight: vm, italic: 2, lowercase: 256, strikethrough: 4, subscript: 32, superscript: 64, underline: 8, uppercase: 512 }, Qle = { directionless: 1, unmergeable: 2 }, Ef = { center: 2, end: 6, justify: 4, left: 1, right: 3, start: 5 }, ece = { [Zle]: "center", [Jle]: "end", [Gle]: "justify", [Wle]: "left", [Kle]: "right", [Yle]: "start" }, tce = { normal: 0, segmented: 2, token: 1 }, nce = { [qle]: "normal", [Vle]: "segmented", [jle]: "token" }, Tf = "$config";
13479
+ `, Xle = Ar ? " " : Ol, Kt = { bold: 1, capitalize: 1024, code: 16, highlight: vm, italic: 2, lowercase: 256, strikethrough: 4, subscript: 32, superscript: 64, underline: 8, uppercase: 512 }, Qle = { directionless: 1, unmergeable: 2 }, Ef = { center: 2, end: 6, justify: 4, left: 1, right: 3, start: 5 }, ece = { [Zle]: "center", [Jle]: "end", [Gle]: "justify", [Wle]: "left", [Kle]: "right", [Yle]: "start" }, tce = { normal: 0, segmented: 2, token: 1 }, nce = { [qle]: "normal", [Vle]: "segmented", [jle]: "token" }, Tf = "$config";
13480
13480
  function _m(t, e, n, o, r, i) {
13481
13481
  let s = t.getFirstChild();
13482
13482
  for (; s !== null; ) {
@@ -13575,7 +13575,7 @@ function ym(t, e, n) {
13575
13575
  }
13576
13576
  n.takeRecords();
13577
13577
  }
13578
- r !== null && (c && Pt(r), Ar && Sg(t) && r.insertRawText(u));
13578
+ r !== null && (c && Ft(r), Ar && Sg(t) && r.insertRawText(u));
13579
13579
  });
13580
13580
  } finally {
13581
13581
  ou = !1;
@@ -13803,14 +13803,14 @@ function Pf(t) {
13803
13803
  t.set(o.__key, r ? o.getChildrenSize() : 0, "element", !0);
13804
13804
  }
13805
13805
  }
13806
- let Er, jt, ws, Il, ru, iu, Tr, Rn, su, Ss, Ct = "", Xn = null, Qn = "", yo = "", Xr = !1, ja = !1;
13806
+ let Er, Vt, ws, Il, ru, iu, Tr, Rn, su, Ss, Ct = "", Xn = null, Qn = "", yo = "", Xr = !1, ja = !1;
13807
13807
  function Va(t, e) {
13808
13808
  const n = Tr.get(t);
13809
13809
  if (e !== null) {
13810
13810
  const o = uu(t);
13811
13811
  o.parentNode === e && e.removeChild(o);
13812
13812
  }
13813
- if (Rn.has(t) || jt._keyToDOMMap.delete(t), K(n)) {
13813
+ if (Rn.has(t) || Vt._keyToDOMMap.delete(t), K(n)) {
13814
13814
  const o = Za(n, Tr);
13815
13815
  au(o, 0, o.length - 1, null);
13816
13816
  }
@@ -13855,14 +13855,14 @@ function lu(t, e) {
13855
13855
  function Wa(t, e) {
13856
13856
  const n = Rn.get(t);
13857
13857
  n === void 0 && re(60);
13858
- const o = n.createDOM(Er, jt);
13858
+ const o = n.createDOM(Er, Vt);
13859
13859
  if (function(r, i, s) {
13860
13860
  const a = s._keyToDOMMap;
13861
13861
  (function(l, c, u) {
13862
13862
  const f = `__lexicalKey_${c._key}`;
13863
13863
  l[f] = u;
13864
13864
  })(i, s, r), a.set(r, i);
13865
- }(t, o, jt), ue(n) ? o.setAttribute("data-lexical-text", "true") : qe(n) && o.setAttribute("data-lexical-decorator", "true"), K(n)) {
13865
+ }(t, o, Vt), ue(n) ? o.setAttribute("data-lexical-text", "true") : qe(n) && o.setAttribute("data-lexical-decorator", "true"), K(n)) {
13866
13866
  const r = n.__indent, i = n.__size;
13867
13867
  if (lu(o, n), r !== 0 && Am(o, r), i !== 0) {
13868
13868
  const a = i - 1;
@@ -13873,7 +13873,7 @@ function Wa(t, e) {
13873
13873
  } else {
13874
13874
  const r = n.getTextContent();
13875
13875
  if (qe(n)) {
13876
- const i = n.decorate(jt, Er);
13876
+ const i = n.decorate(Vt, Er);
13877
13877
  i !== null && $m(t, i), o.contentEditable = "false";
13878
13878
  }
13879
13879
  Ct += r, yo += r;
@@ -13954,7 +13954,7 @@ function pce(t, e, n) {
13954
13954
  const H = w.has(A), q = S.has(L);
13955
13955
  if (H)
13956
13956
  if (q) {
13957
- const ee = Dr(jt, L);
13957
+ const ee = Dr(Vt, L);
13958
13958
  ee === $ ? $ = Mc(os(L, m.element)) : (m.withBefore($).insertChild(ee), os(L, m.element)), E++, x++;
13959
13959
  } else
13960
13960
  Wa(L, m.withBefore($)), x++;
@@ -13966,7 +13966,7 @@ function pce(t, e, n) {
13966
13966
  }
13967
13967
  const M = E > _, I = x > C;
13968
13968
  if (M && !I) {
13969
- const A = g[C + 1], L = A === void 0 ? null : jt.getElementByKey(A);
13969
+ const A = g[C + 1], L = A === void 0 ? null : Vt.getElementByKey(A);
13970
13970
  cu(g, p, x, C, m.withBefore(L));
13971
13971
  } else
13972
13972
  I && !M && au(h, E, _, m.element);
@@ -13990,7 +13990,7 @@ function os(t, e) {
13990
13990
  const n = Tr.get(t);
13991
13991
  let o = Rn.get(t);
13992
13992
  n !== void 0 && o !== void 0 || re(61);
13993
- const r = Xr || iu.has(t) || ru.has(t), i = Dr(jt, t);
13993
+ const r = Xr || iu.has(t) || ru.has(t), i = Dr(Vt, t);
13994
13994
  if (n === o && !r) {
13995
13995
  if (K(n)) {
13996
13996
  const s = i.__lexicalTextContent;
@@ -14011,11 +14011,11 @@ function os(t, e) {
14011
14011
  const a = o.__format;
14012
14012
  if ((Xr || a !== n.__format) && Em(i, a), r && (pce(n, o, i), vt(o) || o.isInline() || Tm(n, o, i)), ql(o) && (Ct += Xo, yo += Xo), (Xr || o.__dir !== n.__dir) && (lu(i, o), vt(o) && !Xr))
14013
14013
  for (const l of o.getChildren())
14014
- K(l) && lu(Dr(jt, l.getKey()), l);
14014
+ K(l) && lu(Dr(Vt, l.getKey()), l);
14015
14015
  } else {
14016
14016
  const s = o.getTextContent();
14017
14017
  if (qe(o)) {
14018
- const a = o.decorate(jt, Er);
14018
+ const a = o.decorate(Vt, Er);
14019
14019
  a !== null && $m(t, a);
14020
14020
  }
14021
14021
  Ct += s, yo += s;
@@ -14027,23 +14027,23 @@ function os(t, e) {
14027
14027
  return i;
14028
14028
  }
14029
14029
  function $m(t, e) {
14030
- let n = jt._pendingDecorators;
14031
- const o = jt._decorators;
14030
+ let n = Vt._pendingDecorators;
14031
+ const o = Vt._decorators;
14032
14032
  if (n === null) {
14033
14033
  if (o[t] === e)
14034
14034
  return;
14035
- n = yg(jt);
14035
+ n = yg(Vt);
14036
14036
  }
14037
14037
  n[t] = e;
14038
14038
  }
14039
14039
  function Mc(t) {
14040
14040
  let e = t.nextSibling;
14041
- return e !== null && e === jt._blockCursorElement && (e = e.nextSibling), e;
14041
+ return e !== null && e === Vt._blockCursorElement && (e = e.nextSibling), e;
14042
14042
  }
14043
14043
  function hce(t, e, n, o, r, i) {
14044
- Ct = "", yo = "", Xr = o === 2, jt = n, Er = n._config, ws = n._nodes, Il = jt._listeners.mutation, ru = r, iu = i, Tr = t._nodeMap, Rn = e._nodeMap, ja = e._readOnly, su = new Map(n._keyToDOMMap);
14044
+ Ct = "", yo = "", Xr = o === 2, Vt = n, Er = n._config, ws = n._nodes, Il = Vt._listeners.mutation, ru = r, iu = i, Tr = t._nodeMap, Rn = e._nodeMap, ja = e._readOnly, su = new Map(n._keyToDOMMap);
14045
14045
  const s = /* @__PURE__ */ new Map();
14046
- return Ss = s, os("root", null), jt = void 0, ws = void 0, ru = void 0, iu = void 0, Tr = void 0, Rn = void 0, Er = void 0, su = void 0, Ss = void 0, s;
14046
+ return Ss = s, os("root", null), Vt = void 0, ws = void 0, ru = void 0, iu = void 0, Tr = void 0, Rn = void 0, Er = void 0, su = void 0, Ss = void 0, s;
14047
14047
  }
14048
14048
  function uu(t) {
14049
14049
  const e = su.get(t);
@@ -14174,7 +14174,7 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
14174
14174
  const n = fe();
14175
14175
  if (oe(n) && !e.isComposing()) {
14176
14176
  const o = n.anchor, r = n.anchor.getNode();
14177
- Mt(o.key), (t.timeStamp < ls + 30 || o.type === "element" || !n.isCollapsed() || r.getFormat() !== n.format || ue(r) && r.getStyle() !== n.style) && ve(e, si, Xle);
14177
+ Lt(o.key), (t.timeStamp < ls + 30 || o.type === "element" || !n.isCollapsed() || r.getFormat() !== n.format || ue(r) && r.getStyle() !== n.style) && ve(e, si, Xle);
14178
14178
  }
14179
14179
  });
14180
14180
  }], ["compositionend", function(t, e) {
@@ -14194,7 +14194,7 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
14194
14194
  const a = n.isBackward(), l = a ? n.anchor.offset : n.focus.offset, c = a ? n.focus.offset : n.anchor.offset;
14195
14195
  za && !n.isCollapsed() && ue(i) && s.anchorNode !== null && i.getTextContent().slice(0, l) + o + i.getTextContent().slice(l + c) === wg(s.anchorNode) || ve(e, si, o);
14196
14196
  const u = o.length;
14197
- Ar && u > 1 && t.inputType === "insertCompositionText" && !e.isComposing() && (n.anchor.offset -= u), Cs || _i || ks || !e.isComposing() || (ls = 0, Mt(null));
14197
+ Ar && u > 1 && t.inputType === "insertCompositionText" && !e.isComposing() && (n.anchor.offset -= u), Cs || _i || ks || !e.isComposing() || (ls = 0, Lt(null));
14198
14198
  } else
14199
14199
  Sd(!1, e, o !== null ? o : void 0), Ji && (va(e, o || void 0), Ji = !1);
14200
14200
  (function() {
@@ -14217,7 +14217,7 @@ const Dm = $e("SELECTION_CHANGE_COMMAND"), mce = $e("SELECTION_INSERT_CLIPBOARD_
14217
14217
  }
14218
14218
  } else if (t.pointerType === "touch" || t.pointerType === "pen") {
14219
14219
  const i = o.anchorNode;
14220
- (yt(i) || $o(i)) && Pt(md(r, o, e, t));
14220
+ (yt(i) || $o(i)) && Ft(md(r, o, e, t));
14221
14221
  }
14222
14222
  }
14223
14223
  ve(e, Mm, t);
@@ -14232,21 +14232,21 @@ za && pu.push(["beforeinput", (t, e) => function(n, o) {
14232
14232
  const p = Ti();
14233
14233
  if (!oe(p))
14234
14234
  return;
14235
- Pt(p.clone());
14235
+ Ft(p.clone());
14236
14236
  }
14237
14237
  if (oe(s)) {
14238
14238
  const p = s.anchor.key === s.focus.key;
14239
14239
  if (a = n.timeStamp, jm === "MediaLast" && a < ls + 30 && o.isComposing() && p) {
14240
- if (Mt(null), ls = 0, setTimeout(() => {
14240
+ if (Lt(null), ls = 0, setTimeout(() => {
14241
14241
  fn(o, () => {
14242
- Mt(null);
14242
+ Lt(null);
14243
14243
  });
14244
14244
  }, 30), oe(s)) {
14245
14245
  const h = s.anchor.getNode();
14246
14246
  h.markDirty(), ue(h) || re(142), Km(s, h);
14247
14247
  }
14248
14248
  } else {
14249
- Mt(null), n.preventDefault();
14249
+ Lt(null), n.preventDefault();
14250
14250
  const h = s.anchor.getNode(), g = h.getTextContent(), y = h.canInsertTextAfter(), v = s.anchor.offset === 0 && s.focus.offset === g.length;
14251
14251
  let m = Af && p && !v && y;
14252
14252
  if (m && s.isCollapsed() && (m = !qe(Cu(s.anchor, !0))), !m) {
@@ -14272,13 +14272,13 @@ za && pu.push(["beforeinput", (t, e) => function(n, o) {
14272
14272
  ve(o, si, n);
14273
14273
  break;
14274
14274
  case "insertFromComposition":
14275
- Mt(null), ve(o, si, n);
14275
+ Lt(null), ve(o, si, n);
14276
14276
  break;
14277
14277
  case "insertLineBreak":
14278
- Mt(null), ve(o, ii, !1);
14278
+ Lt(null), ve(o, ii, !1);
14279
14279
  break;
14280
14280
  case "insertParagraph":
14281
- Mt(null), cs && !_i ? (cs = !1, ve(o, ii, !1)) : ve(o, xs, void 0);
14281
+ Lt(null), cs && !_i ? (cs = !1, ve(o, ii, !1)) : ve(o, xs, void 0);
14282
14282
  break;
14283
14283
  case "insertFromPaste":
14284
14284
  case "insertFromPasteAsQuotation":
@@ -14368,13 +14368,13 @@ function Uf(t, e, n) {
14368
14368
  const { anchorNode: o, anchorOffset: r, focusNode: i, focusOffset: s } = t;
14369
14369
  mu && (mu = !1, Bf(o, r) && Bf(i, s) && !hr) || fn(e, () => {
14370
14370
  if (!n)
14371
- return void Pt(null);
14371
+ return void Ft(null);
14372
14372
  if (!Ks(e, o, i))
14373
14373
  return;
14374
14374
  let a = fe();
14375
14375
  if (hr && oe(a) && a.isCollapsed()) {
14376
14376
  const l = a.anchor, c = hr.anchor;
14377
- (l.key === c.key && l.offset === c.offset + 1 || l.offset === 1 && c.getNode().is(l.getNode().getPreviousSibling())) && (a = hr.clone(), Pt(a));
14377
+ (l.key === c.key && l.offset === c.offset + 1 || l.offset === 1 && c.getNode().is(l.getNode().getPreviousSibling())) && (a = hr.clone(), Ft(a));
14378
14378
  }
14379
14379
  if (hr = null, oe(a)) {
14380
14380
  const l = a.anchor, c = l.getNode();
@@ -14421,7 +14421,7 @@ function Gm(t) {
14421
14421
  }
14422
14422
  function va(t, e) {
14423
14423
  const n = t._compositionKey;
14424
- if (Mt(null), n !== null && e != null) {
14424
+ if (Lt(null), n !== null && e != null) {
14425
14425
  if (e === "") {
14426
14426
  const o = kt(n), r = yi(t.getElementByKey(n));
14427
14427
  return void (r !== null && r.nodeValue !== null && ue(o) && xd(o, r.nodeValue, null, null, !0));
@@ -14451,7 +14451,7 @@ function Jm(t) {
14451
14451
  return;
14452
14452
  gu && (gu = !1, fn(n, () => {
14453
14453
  const l = Ti(), c = e.anchorNode;
14454
- (yt(c) || $o(c)) && Pt(md(l, e, n, t));
14454
+ (yt(c) || $o(c)) && Ft(md(l, e, n, t));
14455
14455
  }));
14456
14456
  const o = wd(n), r = o[o.length - 1], i = r._key, s = ai.get(i), a = s || r;
14457
14457
  a !== n && Uf(e, a, !1), Uf(e, n, !0), n !== r ? ai.set(i, n) : s && ai.delete(i);
@@ -14509,7 +14509,7 @@ function vu(t, e, n) {
14509
14509
  Cr(t), Xa(i, r, a, -1);
14510
14510
  } else
14511
14511
  Cr(t);
14512
- n || Yt(r) || r.canBeEmpty() || !r.isEmpty() || vu(r, e), e && i && vt(r) && r.isEmpty() && r.selectEnd();
14512
+ n || Jt(r) || r.canBeEmpty() || !r.isEmpty() || vu(r, e), e && i && vt(r) && r.isEmpty() && r.selectEnd();
14513
14513
  }
14514
14514
  const Xm = Symbol.for("ephemeral");
14515
14515
  function Ya(t) {
@@ -14606,7 +14606,7 @@ class Bn {
14606
14606
  let e = this;
14607
14607
  for (; e !== null; ) {
14608
14608
  const n = e.getParent();
14609
- if (Yt(n))
14609
+ if (Jt(n))
14610
14610
  return K(e) || e === this && qe(e) || re(194), e;
14611
14611
  e = n;
14612
14612
  }
@@ -14766,11 +14766,11 @@ class Bn {
14766
14766
  if (vu(r, !1, !0), u === null ? l.__first = s : u.getWritable().__next = s, a.__prev = d, f === null ? l.__last = s : f.getWritable().__prev = s, a.__next = p, a.__parent = h, l.__size = c, n && (K(this) && K(a) || re(139), this.getChildren().forEach((g) => {
14767
14767
  a.append(g);
14768
14768
  })), oe(o)) {
14769
- Pt(o);
14769
+ Ft(o);
14770
14770
  const g = o.anchor, y = o.focus;
14771
14771
  g.key === i && Zf(g, a), y.key === i && Zf(y, a);
14772
14772
  }
14773
- return zo() === i && Mt(s), a;
14773
+ return zo() === i && Lt(s), a;
14774
14774
  }
14775
14775
  insertAfter(e, n = !0) {
14776
14776
  At(), Bc(this, e);
@@ -14925,8 +14925,8 @@ function eg(t, e, n, o, r) {
14925
14925
  let a = !1;
14926
14926
  const l = 8 & e && 4 & e;
14927
14927
  s !== void 0 && (8 & n && 4 & n ? (a = !0, l || i.add(...s)) : l && i.remove(...s));
14928
- for (const c in Zt) {
14929
- const u = Zt[c];
14928
+ for (const c in Kt) {
14929
+ const u = Kt[c];
14930
14930
  if (s = li(r, c), s !== void 0)
14931
14931
  if (n & u) {
14932
14932
  if (a && (c === "underline" || c === "strikethrough")) {
@@ -15017,7 +15017,7 @@ class nr extends Bn {
15017
15017
  return !!(2 & this.getLatest().__detail);
15018
15018
  }
15019
15019
  hasFormat(n) {
15020
- const o = Zt[n];
15020
+ const o = Kt[n];
15021
15021
  return (this.getFormat() & o) !== 0;
15022
15022
  }
15023
15023
  isSimpleText() {
@@ -15079,7 +15079,7 @@ class nr extends Bn {
15079
15079
  }
15080
15080
  setFormat(n) {
15081
15081
  const o = this.getWritable();
15082
- return o.__format = typeof n == "string" ? Zt[n] : n, o;
15082
+ return o.__format = typeof n == "string" ? Kt[n] : n, o;
15083
15083
  }
15084
15084
  setDetail(n) {
15085
15085
  const o = this.getWritable();
@@ -15127,7 +15127,7 @@ class nr extends Bn {
15127
15127
  return rg(l, r, l, i, "text", "text");
15128
15128
  {
15129
15129
  const c = zo();
15130
- c !== s.anchor.key && c !== s.focus.key || Mt(l), s.setTextNodeRange(this, r, this, i);
15130
+ c !== s.anchor.key && c !== s.focus.key || Lt(l), s.setTextNodeRange(this, r, this, i);
15131
15131
  }
15132
15132
  return s;
15133
15133
  }
@@ -15186,7 +15186,7 @@ class nr extends Bn {
15186
15186
  const M = ft(l[x]);
15187
15187
  M.__format = h, M.__style = g, M.__detail = y, M.__state = Lf(o, M);
15188
15188
  const I = M.__key;
15189
- s === i && Mt(I), S.push(M);
15189
+ s === i && Lt(I), S.push(M);
15190
15190
  }
15191
15191
  const w = m ? m.offset : null, $ = _ ? _.offset : null;
15192
15192
  let E = 0;
@@ -15214,7 +15214,7 @@ class nr extends Bn {
15214
15214
  const o = n === this.getPreviousSibling();
15215
15215
  o || n === this.getNextSibling() || re(50);
15216
15216
  const r = this.__key, i = n.__key, s = this.__text, a = s.length;
15217
- zo() === i && Mt(r);
15217
+ zo() === i && Lt(r);
15218
15218
  const l = fe();
15219
15219
  if (oe(l)) {
15220
15220
  const d = l.anchor, p = l.focus;
@@ -15396,7 +15396,7 @@ class Uce {
15396
15396
  }
15397
15397
  set(e, n, o, r) {
15398
15398
  const i = this._selection, s = this.key;
15399
- r && this.key === e && this.offset === n && this.type === o || (this.key = e, this.offset = n, this.type = o, js() || (zo() === s && Mt(e), i !== null && (i.setCachedNodes(null), i.dirty = !0)));
15399
+ r && this.key === e && this.offset === n && this.type === o || (this.key = e, this.offset = n, this.type = o, js() || (zo() === s && Lt(e), i !== null && (i.setCachedNodes(null), i.dirty = !0)));
15400
15400
  }
15401
15401
  }
15402
15402
  function lo(t, e, n) {
@@ -15510,7 +15510,7 @@ class Fl {
15510
15510
  deleteNodes() {
15511
15511
  const e = this.getNodes();
15512
15512
  if ((fe() || Ti()) === this && e[0]) {
15513
- const n = Ot(e[0], "next");
15513
+ const n = It(e[0], "next");
15514
15514
  yue(Qo(n, n));
15515
15515
  }
15516
15516
  for (const n of e)
@@ -15618,7 +15618,7 @@ class Rr {
15618
15618
  this.style = e, this.dirty = !0;
15619
15619
  }
15620
15620
  hasFormat(e) {
15621
- const n = Zt[e];
15621
+ const n = Kt[e];
15622
15622
  return (this.format & n) !== 0;
15623
15623
  }
15624
15624
  insertRawText(e) {
@@ -15744,11 +15744,11 @@ class Rr {
15744
15744
  }
15745
15745
  removeText() {
15746
15746
  const e = fe() === this;
15747
- Da(this, bue(bp(this))), e && fe() !== this && Pt(this);
15747
+ Da(this, bue(bp(this))), e && fe() !== this && Ft(this);
15748
15748
  }
15749
15749
  formatText(e, n = null) {
15750
15750
  if (this.isCollapsed())
15751
- return this.toggleFormat(e), void Mt(null);
15751
+ return this.toggleFormat(e), void Lt(null);
15752
15752
  const o = this.getNodes(), r = [];
15753
15753
  for (const C of o)
15754
15754
  ue(C) && r.push(C);
@@ -15761,7 +15761,7 @@ class Rr {
15761
15761
  });
15762
15762
  }, s = r.length;
15763
15763
  if (s === 0)
15764
- return this.toggleFormat(e), Mt(null), void i(n);
15764
+ return this.toggleFormat(e), Lt(null), void i(n);
15765
15765
  const a = this.anchor, l = this.focus, c = this.isBackward(), u = c ? l : a, f = c ? a : l;
15766
15766
  let d = 0, p = r[0], h = u.type === "element" ? 0 : u.offset;
15767
15767
  if (u.type === "text" && h === p.getTextContentSize() && (d = 1, p = r[1], h = 0), p == null)
@@ -15968,7 +15968,7 @@ class Rr {
15968
15968
  if (a.type === "merge-next-block" && (l.origin.isKeyboardSelectable() || !l.origin.isInline()) && K(i.anchor.origin) && i.anchor.origin.isEmpty()) {
15969
15969
  i.anchor.origin.remove();
15970
15970
  const c = ig();
15971
- c.add(l.origin.getKey()), Pt(c);
15971
+ c.add(l.origin.getKey()), Ft(c);
15972
15972
  } else
15973
15973
  l.origin.remove();
15974
15974
  return;
@@ -15978,7 +15978,7 @@ class Rr {
15978
15978
  }
15979
15979
  if (a.type === "merge-block") {
15980
15980
  const { caret: l, block: c } = a;
15981
- return Da(this, Qo(!l.origin.isEmpty() && c.isEmpty() ? Id(Ot(c, l.direction)) : i.anchor, l)), this.removeText();
15981
+ return Da(this, Qo(!l.origin.isEmpty() && c.isEmpty() ? Id(It(c, l.direction)) : i.anchor, l)), this.removeText();
15982
15982
  }
15983
15983
  }
15984
15984
  const s = this.focus;
@@ -16053,7 +16053,7 @@ function Gf(t, e) {
16053
16053
  if (K(n)) {
16054
16054
  if (n.collapseAtStart(t))
16055
16055
  return !0;
16056
- if (Yt(n))
16056
+ if (Jt(n))
16057
16057
  break;
16058
16058
  }
16059
16059
  if (n.getPreviousSibling())
@@ -16403,7 +16403,7 @@ function tp(t, e, n, o, r = "decorators-and-blocks") {
16403
16403
  return !1;
16404
16404
  if (a && !s && qe(l.origin) && l.origin.isKeyboardSelectable()) {
16405
16405
  const u = ig();
16406
- return u.add(l.origin.getKey()), Pt(u), !0;
16406
+ return u.add(l.origin.getKey()), Ft(u), !0;
16407
16407
  }
16408
16408
  return l = Sn(l), a && Ir(t.anchor, l), Ir(t.focus, l), c || !s;
16409
16409
  }
@@ -16985,7 +16985,7 @@ class gn extends Bn {
16985
16985
  return !1;
16986
16986
  }
16987
16987
  hasTextFormat(n) {
16988
- const o = Zt[n];
16988
+ const o = Kt[n];
16989
16989
  return (this.getTextFormat() & o) !== 0;
16990
16990
  }
16991
16991
  getFormatFlags(n, o) {
@@ -17099,7 +17099,7 @@ class gn extends Bn {
17099
17099
  const h = fe();
17100
17100
  if (oe(h)) {
17101
17101
  const g = new Set(c), y = new Set(l), { anchor: v, focus: m } = h;
17102
- lp(v, g, y) && Qa(v, v.getNode(), this, f, u), lp(m, g, y) && Qa(m, m.getNode(), this, f, u), d !== 0 || this.canBeEmpty() || Yt(this) || this.remove();
17102
+ lp(v, g, y) && Qa(v, v.getNode(), this, f, u), lp(m, g, y) && Qa(m, m.getNode(), this, f, u), d !== 0 || this.canBeEmpty() || Jt(this) || this.remove();
17103
17103
  }
17104
17104
  }
17105
17105
  return s;
@@ -17666,7 +17666,7 @@ class $r {
17666
17666
  const o = this._rootElement;
17667
17667
  o !== null && (o.setAttribute("autocapitalize", "off"), fn(this, () => {
17668
17668
  const r = fe(), i = ct();
17669
- r !== null ? r.dirty || Pt(r.clone()) : i.getChildrenSize() !== 0 && (n.defaultSelection === "rootStart" ? i.selectStart() : i.selectEnd()), nue("focus"), oue(() => {
17669
+ r !== null ? r.dirty || Ft(r.clone()) : i.getChildrenSize() !== 0 && (n.defaultSelection === "rootStart" ? i.selectStart() : i.selectEnd()), nue("focus"), oue(() => {
17670
17670
  o.removeAttribute("autocapitalize"), e && e();
17671
17671
  });
17672
17672
  }), this._pendingEditorState === null && o.removeAttribute("autocapitalize"));
@@ -17760,11 +17760,11 @@ function yi(t) {
17760
17760
  return null;
17761
17761
  }
17762
17762
  function el(t, e, n) {
17763
- const o = Zt[e];
17763
+ const o = Kt[e];
17764
17764
  if (n !== null && (t & o) === (n & o))
17765
17765
  return t;
17766
17766
  let r = t ^ o;
17767
- return e === "subscript" ? r &= ~Zt.superscript : e === "superscript" ? r &= ~Zt.subscript : e === "lowercase" ? (r &= ~Zt.uppercase, r &= ~Zt.capitalize) : e === "uppercase" ? (r &= ~Zt.lowercase, r &= ~Zt.capitalize) : e === "capitalize" && (r &= ~Zt.lowercase, r &= ~Zt.uppercase), r;
17767
+ return e === "subscript" ? r &= ~Kt.superscript : e === "superscript" ? r &= ~Kt.subscript : e === "lowercase" ? (r &= ~Kt.uppercase, r &= ~Kt.capitalize) : e === "uppercase" ? (r &= ~Kt.lowercase, r &= ~Kt.capitalize) : e === "capitalize" && (r &= ~Kt.lowercase, r &= ~Kt.uppercase), r;
17768
17768
  }
17769
17769
  function vg(t) {
17770
17770
  return ue(t) || Vo(t) || qe(t);
@@ -17804,7 +17804,7 @@ function tl(t) {
17804
17804
  const a = e.__key;
17805
17805
  r._dirtyType = 1, K(t) ? s.set(a, !0) : r._dirtyLeaves.add(a);
17806
17806
  }
17807
- function Mt(t) {
17807
+ function Lt(t) {
17808
17808
  At();
17809
17809
  const e = lt(), n = e._compositionKey;
17810
17810
  if (t !== n) {
@@ -17855,7 +17855,7 @@ function ct() {
17855
17855
  function bg(t) {
17856
17856
  return t._nodeMap.get("root");
17857
17857
  }
17858
- function Pt(t) {
17858
+ function Ft(t) {
17859
17859
  At();
17860
17860
  const e = or();
17861
17861
  t !== null && (t.dirty = !0, t.setCachedNodes(null)), e._selection = t;
@@ -17916,7 +17916,7 @@ function xd(t, e, n, o, r) {
17916
17916
  const l = i.getTextContent();
17917
17917
  if (r || a !== l) {
17918
17918
  if (a === "") {
17919
- if (Mt(null), Cs || _i || ks)
17919
+ if (Lt(null), Cs || _i || ks)
17920
17920
  i.remove();
17921
17921
  else {
17922
17922
  const g = lt();
@@ -17976,7 +17976,7 @@ function tue(t) {
17976
17976
  }
17977
17977
  {
17978
17978
  const n = e.select(0, e.getChildrenSize());
17979
- return Pt(qa(n)), n;
17979
+ return Ft(qa(n)), n;
17980
17980
  }
17981
17981
  }
17982
17982
  function li(t, e) {
@@ -18087,13 +18087,13 @@ function Dn(t) {
18087
18087
  function rue(t) {
18088
18088
  let e = t.getParentOrThrow();
18089
18089
  for (; e !== null; ) {
18090
- if (Yt(e))
18090
+ if (Jt(e))
18091
18091
  return e;
18092
18092
  e = e.getParentOrThrow();
18093
18093
  }
18094
18094
  return e;
18095
18095
  }
18096
- function Yt(t) {
18096
+ function Jt(t) {
18097
18097
  return vt(t) || K(t) && t.isShadowRoot();
18098
18098
  }
18099
18099
  function Vn(t) {
@@ -18151,7 +18151,7 @@ function nl(t) {
18151
18151
  function kn(t) {
18152
18152
  if (qe(t) && !t.isInline())
18153
18153
  return !0;
18154
- if (!K(t) || Yt(t))
18154
+ if (!K(t) || Jt(t))
18155
18155
  return !1;
18156
18156
  const e = t.getFirstChild(), n = e === null || Vo(e) || ue(e) || e.isInline();
18157
18157
  return !t.isInline() && t.canBeEmpty() !== !1 && n;
@@ -18246,10 +18246,10 @@ class $d {
18246
18246
  return Tg({ hasNext: Ci, initial: this.getAdjacentCaret(), map: (e) => e, step: (e) => e.getAdjacentCaret() });
18247
18247
  }
18248
18248
  getAdjacentCaret() {
18249
- return Ot(this.getNodeAtCaret(), this.direction);
18249
+ return It(this.getNodeAtCaret(), this.direction);
18250
18250
  }
18251
18251
  getSiblingCaret() {
18252
- return Ot(this.origin, this.direction);
18252
+ return It(this.origin, this.direction);
18253
18253
  }
18254
18254
  remove() {
18255
18255
  const e = this.getNodeAtCaret();
@@ -18279,7 +18279,7 @@ class $d {
18279
18279
  c === null && re(263, Array.from(a).join(" "));
18280
18280
  } else
18281
18281
  i.insert(l);
18282
- i = Ot(l, this.direction);
18282
+ i = It(l, this.direction);
18283
18283
  }
18284
18284
  for (const l of a.values())
18285
18285
  l.remove();
@@ -18296,11 +18296,11 @@ class Ts extends $d {
18296
18296
  return n === this.origin ? this : zn(n, this.direction);
18297
18297
  }
18298
18298
  getParentCaret(n = "root") {
18299
- return Ot(Dd(this.getParentAtCaret(), n), this.direction);
18299
+ return It(Dd(this.getParentAtCaret(), n), this.direction);
18300
18300
  }
18301
18301
  getFlipped() {
18302
18302
  const n = Di(this.direction);
18303
- return Ot(this.getNodeAtCaret(), n) || zn(this.origin, n);
18303
+ return It(this.getNodeAtCaret(), n) || zn(this.origin, n);
18304
18304
  }
18305
18305
  getParentAtCaret() {
18306
18306
  return this.origin;
@@ -18315,7 +18315,7 @@ class Ts extends $d {
18315
18315
  return this.isSameNodeCaret(n);
18316
18316
  }
18317
18317
  }
18318
- const fue = { root: vt, shadowRoot: Yt };
18318
+ const fue = { root: vt, shadowRoot: Jt };
18319
18319
  function Di(t) {
18320
18320
  return due[t];
18321
18321
  }
@@ -18329,7 +18329,7 @@ class Mr extends $d {
18329
18329
  }
18330
18330
  getLatest() {
18331
18331
  const n = this.origin.getLatest();
18332
- return n === this.origin ? this : Ot(n, this.direction);
18332
+ return n === this.origin ? this : It(n, this.direction);
18333
18333
  }
18334
18334
  getSiblingCaret() {
18335
18335
  return this;
@@ -18341,11 +18341,11 @@ class Mr extends $d {
18341
18341
  return K(this.origin) ? zn(this.origin, this.direction) : null;
18342
18342
  }
18343
18343
  getParentCaret(n = "root") {
18344
- return Ot(Dd(this.getParentAtCaret(), n), this.direction);
18344
+ return It(Dd(this.getParentAtCaret(), n), this.direction);
18345
18345
  }
18346
18346
  getFlipped() {
18347
18347
  const n = Di(this.direction);
18348
- return Ot(this.getNodeAtCaret(), n) || zn(this.origin.getParentOrThrow(), n);
18348
+ return It(this.getNodeAtCaret(), n) || zn(this.origin.getParentOrThrow(), n);
18349
18349
  }
18350
18350
  isSamePointCaret(n) {
18351
18351
  return n instanceof Mr && this.direction === n.direction && this.origin.is(n.origin);
@@ -18372,7 +18372,7 @@ class Lr extends $d {
18372
18372
  return null;
18373
18373
  }
18374
18374
  getParentCaret(n = "root") {
18375
- return Ot(Dd(this.getParentAtCaret(), n), this.direction);
18375
+ return It(Dd(this.getParentAtCaret(), n), this.direction);
18376
18376
  }
18377
18377
  getFlipped() {
18378
18378
  return Or(this.origin, Di(this.direction), this.offset);
@@ -18384,7 +18384,7 @@ class Lr extends $d {
18384
18384
  return (n instanceof Mr || n instanceof Lr) && this.direction === n.direction && this.origin.is(n.origin);
18385
18385
  }
18386
18386
  getSiblingCaret() {
18387
- return Ot(this.origin, this.direction);
18387
+ return It(this.origin, this.direction);
18388
18388
  }
18389
18389
  }
18390
18390
  function Wo(t) {
@@ -18463,7 +18463,7 @@ const pue = { next: class extends Lr {
18463
18463
  return this.origin.splice(this.origin.getChildrenSize(), 0, [e]), this;
18464
18464
  }
18465
18465
  } };
18466
- function Ot(t, e) {
18466
+ function It(t, e) {
18467
18467
  return t ? new hue[e](t) : null;
18468
18468
  }
18469
18469
  function Or(t, e, n) {
@@ -18548,7 +18548,7 @@ class vue {
18548
18548
  }
18549
18549
  }
18550
18550
  function Od(t) {
18551
- return Qo(t, Ot(ct(), t.direction));
18551
+ return Qo(t, It(ct(), t.direction));
18552
18552
  }
18553
18553
  function _ue(t) {
18554
18554
  return Qo(t, t);
@@ -18625,7 +18625,7 @@ function Ir(t, e) {
18625
18625
  }
18626
18626
  function yue(t) {
18627
18627
  const e = fe(), n = oe(e) ? e : Rl();
18628
- return Da(n, t), Pt(n), n;
18628
+ return Da(n, t), Ft(n), n;
18629
18629
  }
18630
18630
  function Da(t, e) {
18631
18631
  Ir(t.anchor, e.anchor), Ir(t.focus, e.focus);
@@ -18635,8 +18635,8 @@ function bp(t) {
18635
18635
  return Qo(ki(o, i), ki(r, i));
18636
18636
  }
18637
18637
  function Id(t) {
18638
- const { direction: e, origin: n } = t, o = Ot(n, Di(e)).getNodeAtCaret();
18639
- return o ? Ot(o, e) : zn(n.getParentOrThrow(), e);
18638
+ const { direction: e, origin: n } = t, o = It(n, Di(e)).getNodeAtCaret();
18639
+ return o ? It(o, e) : zn(n.getParentOrThrow(), e);
18640
18640
  }
18641
18641
  function Cp(t, e = "root") {
18642
18642
  const n = [t];
@@ -18665,7 +18665,7 @@ function bue(t, e = "removeEmptySlices") {
18665
18665
  for (const h of i.getTextSlices()) {
18666
18666
  if (!h)
18667
18667
  continue;
18668
- const { origin: g } = h.caret, y = g.getTextContentSize(), v = Id(Ot(g, o)), m = g.getMode();
18668
+ const { origin: g } = h.caret, y = g.getTextContentSize(), v = Id(It(g, o)), m = g.getMode();
18669
18669
  if (Math.abs(h.distance) === y && r === "removeEmptySlices" || m === "token" && h.distance !== 0)
18670
18670
  v.remove();
18671
18671
  else if (h.distance !== 0) {
@@ -18708,7 +18708,7 @@ function bue(t, e = "removeEmptySlices") {
18708
18708
  let A;
18709
18709
  for (let L = w; L < M.length; L++) {
18710
18710
  const F = M[L];
18711
- if (Yt(F))
18711
+ if (Jt(F))
18712
18712
  return;
18713
18713
  !A && I(F) && (A = F);
18714
18714
  }
@@ -18835,7 +18835,7 @@ function zc(t, e, n = wue) {
18835
18835
  const l = e();
18836
18836
  n(a, l), a.replace(l, !0), i && (s === i.anchor.key && i.anchor.set(l.getKey(), i.anchor.offset, i.anchor.type), s === i.focus.key && i.focus.set(l.getKey(), i.focus.offset, i.focus.type));
18837
18837
  }
18838
- i && t.is(fe()) && Pt(i);
18838
+ i && t.is(fe()) && Ft(i);
18839
18839
  }
18840
18840
  function Fg(t) {
18841
18841
  const e = Rg(t);
@@ -18982,7 +18982,7 @@ function Ep(t) {
18982
18982
  const r = e.getStartEndPoints();
18983
18983
  r === null && qo(143);
18984
18984
  const [i] = r, s = i.getNode(), a = s.getParent();
18985
- if (Yt(s)) {
18985
+ if (Jt(s)) {
18986
18986
  const l = s.getFirstChild();
18987
18987
  if (l)
18988
18988
  n = l.selectStart().getNodes();
@@ -18992,7 +18992,7 @@ function Ep(t) {
18992
18992
  }
18993
18993
  } else if (zg(s, n)) {
18994
18994
  const l = on(t);
18995
- if (Yt(a)) {
18995
+ if (Jt(a)) {
18996
18996
  s.replace(l);
18997
18997
  const c = vn();
18998
18998
  K(s) && (c.setFormat(s.getFormatType()), c.setIndent(s.getIndent())), l.append(c);
@@ -19022,7 +19022,7 @@ function Ep(t) {
19022
19022
  }
19023
19023
  {
19024
19024
  const l = s.getParent();
19025
- if (Yt(l) && !o.has(a)) {
19025
+ if (Jt(l) && !o.has(a)) {
19026
19026
  o.add(a), Tp(s, t);
19027
19027
  break;
19028
19028
  }
@@ -19142,7 +19142,7 @@ function Iue() {
19142
19142
  Me(o) || qo(40);
19143
19143
  const r = o.getParent();
19144
19144
  let i;
19145
- if (Yt(r))
19145
+ if (Jt(r))
19146
19146
  i = rt(), n.insertAfter(i);
19147
19147
  else {
19148
19148
  if (!je(r))
@@ -19673,7 +19673,7 @@ function Kg(t, e, n, o, r = /* @__PURE__ */ new Map(), i) {
19673
19673
  }
19674
19674
  const f = t.childNodes;
19675
19675
  let d = [];
19676
- const p = (a == null || !Yt(a)) && (a != null && yu(a) || o);
19676
+ const p = (a == null || !Jt(a)) && (a != null && yu(a) || o);
19677
19677
  for (let h = 0; h < f.length; h++)
19678
19678
  d.push(...Kg(f[h], e, n, p, new Map(r), a));
19679
19679
  return u != null && (d = u(d)), nl(t) && (d = jue(t, d, p ? () => {
@@ -20266,7 +20266,7 @@ function ide(t) {
20266
20266
  l.anchor.set(u, f, "element"), l.focus.set(u, f, "element");
20267
20267
  }
20268
20268
  const c = qa(l);
20269
- Pt(c);
20269
+ Ft(c);
20270
20270
  }
20271
20271
  t.dispatchCommand(Rp, n);
20272
20272
  }
@@ -20962,11 +20962,11 @@ var sde = { exports: {} };
20962
20962
  me && (Be = d(_, Be, me), G += me.length), p(_, Be, be);
20963
20963
  var Pe = new l(E, A ? a.tokenize(V, A) : V, H, V);
20964
20964
  if (j = d(_, Be, Pe), Ue && d(_, j, Ue), be > 1) {
20965
- var Rt = {
20965
+ var Bt = {
20966
20966
  cause: E + "," + M,
20967
20967
  reach: it
20968
20968
  };
20969
- u(m, _, C, j.prev, G, Rt), $ && Rt.reach > $.reach && ($.reach = Rt.reach);
20969
+ u(m, _, C, j.prev, G, Bt), $ && Bt.reach > $.reach && ($.reach = Bt.reach);
20970
20970
  }
20971
20971
  }
20972
20972
  }
@@ -23107,7 +23107,7 @@ function i0(t) {
23107
23107
  }
23108
23108
  function cde(t, e) {
23109
23109
  let n = t;
23110
- for (let o = Ot(t, e); o && (i0(o.origin) || Pl(o.origin)); o = Tue(o))
23110
+ for (let o = It(t, e); o && (i0(o.origin) || Pl(o.origin)); o = Tue(o))
23111
23111
  n = o.origin;
23112
23112
  return n;
23113
23113
  }
@@ -23701,7 +23701,7 @@ function Fde(t, e = zd) {
23701
23701
  const i = (s, a, l) => {
23702
23702
  (function(c, u, f, d) {
23703
23703
  const p = c.getParent();
23704
- if (!Yt(p) || c.getFirstChild() !== u)
23704
+ if (!Jt(p) || c.getFirstChild() !== u)
23705
23705
  return !1;
23706
23706
  const h = u.getTextContent();
23707
23707
  if (h[f - 1] !== " ")
@@ -23717,7 +23717,7 @@ function Fde(t, e = zd) {
23717
23717
  return !1;
23718
23718
  })(s, a, l, n.element) || function(c, u, f, d) {
23719
23719
  const p = c.getParent();
23720
- if (!Yt(p) || c.getFirstChild() !== u)
23720
+ if (!Jt(p) || c.getFirstChild() !== u)
23721
23721
  return !1;
23722
23722
  const h = u.getTextContent();
23723
23723
  if (h[f - 1] !== " ")
@@ -23783,7 +23783,7 @@ function Fde(t, e = zd) {
23783
23783
  const L = w === S ? A : x;
23784
23784
  w.setTextContent(L.slice(0, $) + L.slice($ + m));
23785
23785
  const F = fe(), H = Rl();
23786
- Pt(H);
23786
+ Ft(H);
23787
23787
  const q = p - m * (w === S ? 2 : 1) + 1;
23788
23788
  H.anchor.set(w.__key, $, "text"), H.focus.set(S.__key, q, "text");
23789
23789
  for (const ee of y.format)
@@ -23907,7 +23907,7 @@ const k0 = Symbol("LexicalEditor"), zde = (() => {
23907
23907
  }
23908
23908
  }
23909
23909
  }
23910
- return j0(k0, h), Dt(() => {
23910
+ return j0(k0, h), Mt(() => {
23911
23911
  const y = s.initialConfig.editable;
23912
23912
  h.setEditable(y !== void 0 ? y : !0);
23913
23913
  }), (y, v) => we(y.$slots, "default");
@@ -24219,7 +24219,7 @@ const Vde = (() => {
24219
24219
  const i = n, s = W0("root"), a = Q(i.editor.isEditable()), l = O(() => qde(i, [
24220
24220
  "editor"
24221
24221
  ]));
24222
- Dt(() => {
24222
+ Mt(() => {
24223
24223
  function u(d) {
24224
24224
  d && d.ownerDocument && d.ownerDocument.defaultView ? i.editor.setRootElement(d) : i.editor.setRootElement(null);
24225
24225
  }
@@ -24233,7 +24233,7 @@ const Vde = (() => {
24233
24233
  var u;
24234
24234
  return (u = i.role) != null ? u : "textbox";
24235
24235
  });
24236
- return (u, f) => (k(), T("div", qt({
24236
+ return (u, f) => (k(), T("div", jt({
24237
24237
  ref_key: "root",
24238
24238
  ref: s
24239
24239
  }, l.value, {
@@ -24302,7 +24302,7 @@ function S0(t) {
24302
24302
  const r = Gde(t);
24303
24303
  n.value = r;
24304
24304
  }
24305
- return Dt(() => {
24305
+ return Mt(() => {
24306
24306
  const r = Ys(t.registerUpdateListener(() => {
24307
24307
  o();
24308
24308
  }), t.registerEditableListener(() => {
@@ -24609,7 +24609,7 @@ const e1e = (() => {
24609
24609
  let { expose: r } = o;
24610
24610
  r();
24611
24611
  const i = Li(), s = Q(!1), a = S0(i);
24612
- return Dt(() => {
24612
+ return Mt(() => {
24613
24613
  s.value = i.isEditable();
24614
24614
  const l = i.registerEditableListener((c) => {
24615
24615
  s.value = c;
@@ -24618,7 +24618,7 @@ const e1e = (() => {
24618
24618
  }), (l, c) => {
24619
24619
  var u, f;
24620
24620
  return k(), T(Te, null, [
24621
- N(te(Vde), qt({
24621
+ N(te(Vde), jt({
24622
24622
  editor: te(i)
24623
24623
  }, Qde(Jde({}, l.$props), {
24624
24624
  role: (u = l.role) != null ? u : "textbox",
@@ -24757,7 +24757,7 @@ const s1e = (() => {
24757
24757
  return t.__vue_vine = !0, t;
24758
24758
  })();
24759
24759
  function a1e(t) {
24760
- Dt(() => {
24760
+ Mt(() => {
24761
24761
  const e = Uue(t);
24762
24762
  _n(() => {
24763
24763
  e();
@@ -24793,7 +24793,7 @@ const l1e = (() => {
24793
24793
  })();
24794
24794
  function c1e(t) {
24795
24795
  const e = Ma(t.getDecorators());
24796
- return Dt(() => {
24796
+ return Mt(() => {
24797
24797
  const n = t.registerDecoratorListener((o) => {
24798
24798
  e.value = o;
24799
24799
  });
@@ -24819,7 +24819,7 @@ const u1e = le({
24819
24819
  }
24820
24820
  });
24821
24821
  function d1e(t) {
24822
- Dt(() => {
24822
+ Mt(() => {
24823
24823
  const e = Ys(ide(t), Jue(t));
24824
24824
  _n(e);
24825
24825
  });
@@ -24942,7 +24942,7 @@ const f1e = (() => {
24942
24942
  );
24943
24943
  });
24944
24944
  }
24945
- return Dt(() => {
24945
+ return Mt(() => {
24946
24946
  L(
24947
24947
  "ready",
24948
24948
  F
@@ -24999,7 +24999,7 @@ const f1e = (() => {
24999
24999
  return new File([A], be, { type: A.type });
25000
25000
  }
25001
25001
  function y() {
25002
- s.value && Pt(
25002
+ s.value && Ft(
25003
25003
  s.value.clone()
25004
25004
  );
25005
25005
  }
@@ -25455,7 +25455,7 @@ const m1e = {
25455
25455
  te(c) && te(f).length > 0 ? (k(), T("ul", {
25456
25456
  key: 0,
25457
25457
  class: "ao-comment-editor__mention-list",
25458
- style: Jt({
25458
+ style: Dt({
25459
25459
  top: te(u).top + "px",
25460
25460
  left: te(u).left + "px"
25461
25461
  })
@@ -25514,7 +25514,7 @@ const v1e = { class: "ao-comment" }, _1e = { class: "ao-comment__created-at" },
25514
25514
  }
25515
25515
  );
25516
25516
  function c() {
25517
- s.value = n.content, i.value = !0, Gt(() => {
25517
+ s.value = n.content, i.value = !0, Yt(() => {
25518
25518
  var h;
25519
25519
  (h = a.value) == null || h.focus();
25520
25520
  });
@@ -25619,7 +25619,7 @@ const w1e = { class: "ao-comments__new" }, S1e = {
25619
25619
  gs(d.createdAt)
25620
25620
  )
25621
25621
  )), i = (f) => n.users.find((d) => d.id === f), s = Q(null);
25622
- Gt(() => {
25622
+ Yt(() => {
25623
25623
  s.value && (s.value.scrollTop = s.value.scrollHeight);
25624
25624
  });
25625
25625
  const a = Q(null);
@@ -25707,7 +25707,7 @@ const A1e = ["aria-label"], E1e = { class: "ao-file-preview__actions" }, T1e = [
25707
25707
  },
25708
25708
  emits: ["update:currentIndex", "close"],
25709
25709
  setup(t, { emit: e }) {
25710
- Ft();
25710
+ Rt();
25711
25711
  const n = t, o = e, r = Q(null), i = Q(!1), s = Q(!1);
25712
25712
  let a = 0;
25713
25713
  const l = O(() => n.attachments[n.currentIndex]), c = O(() => n.currentIndex === 0), u = O(() => n.currentIndex === n.attachments.length - 1), f = O(() => {
@@ -25806,7 +25806,7 @@ const A1e = ["aria-label"], E1e = { class: "ao-file-preview__actions" }, T1e = [
25806
25806
  {
25807
25807
  immediate: !0
25808
25808
  }
25809
- ), Dt(() => {
25809
+ ), Mt(() => {
25810
25810
  document.addEventListener(
25811
25811
  "keydown",
25812
25812
  x
@@ -25978,7 +25978,7 @@ const Iu = /* @__PURE__ */ le({
25978
25978
  loading: { type: Boolean }
25979
25979
  },
25980
25980
  setup(t) {
25981
- const { t: e } = Ft(), n = t;
25981
+ const { t: e } = Rt(), n = t;
25982
25982
  function o(d) {
25983
25983
  var g, y, v;
25984
25984
  if ((v = (y = (g = n.presentationConfig) == null ? void 0 : g.fields) == null ? void 0 : y[d]) != null && v.label)
@@ -26398,7 +26398,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26398
26398
  },
26399
26399
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast", "createSprint", "fetchHistory"],
26400
26400
  setup(t, { emit: e }) {
26401
- const n = (B) => B.label ? `Sprint ${B.number}: ${B.label}` : `Sprint ${B.number}`, o = t, r = e, { t: i } = Ft();
26401
+ const n = (B) => B.label ? `Sprint ${B.number}: ${B.label}` : `Sprint ${B.number}`, o = t, r = e, { t: i } = Rt();
26402
26402
  function s(B) {
26403
26403
  return B.reduce((X, ye) => (ye.name && (X[ye.id] = ye.name), X), {});
26404
26404
  }
@@ -26640,7 +26640,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26640
26640
  }, Pe = (B) => {
26641
26641
  r("deleteSubtask", B);
26642
26642
  };
26643
- function Rt() {
26643
+ function Bt() {
26644
26644
  o.userId ? De.value = [o.userId] : console.error("Failed assigning to self: userId is missing");
26645
26645
  }
26646
26646
  function W(B) {
@@ -26686,7 +26686,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26686
26686
  }))), ot = O(() => {
26687
26687
  var X, ye, mt;
26688
26688
  const B = (mt = (ye = (X = o.activity) == null ? void 0 : X.project) == null ? void 0 : ye.phases) == null ? void 0 : mt.reduce(
26689
- (sn, Ut) => [...sn, ...Ut.milestones],
26689
+ (sn, Ht) => [...sn, ...Ht.milestones],
26690
26690
  []
26691
26691
  );
26692
26692
  return B == null ? void 0 : B.map((sn) => ({
@@ -26709,7 +26709,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26709
26709
  value: X.id,
26710
26710
  label: X.name
26711
26711
  }));
26712
- }), Bt = (B) => {
26712
+ }), Ut = (B) => {
26713
26713
  r("update:activity", {
26714
26714
  id: o.activity.id,
26715
26715
  statusId: B
@@ -26749,7 +26749,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26749
26749
  onClose: X[14] || (X[14] = (ye) => B.$emit("close"))
26750
26750
  }, {
26751
26751
  default: ie(() => {
26752
- var ye, mt, sn, Ut;
26752
+ var ye, mt, sn, Ht;
26753
26753
  return [
26754
26754
  b("div", yfe, [
26755
26755
  b("div", bfe, [
@@ -26765,7 +26765,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26765
26765
  onClick: Do
26766
26766
  }, null, 8, ["label"])) : P("", !0),
26767
26767
  t.breadcrumbs ? (k(), T("div", kfe, R(t.breadcrumbs), 1)) : P("", !0),
26768
- N(It, {
26768
+ N(Nt, {
26769
26769
  title: t.activity.name || "",
26770
26770
  level: 4,
26771
26771
  "is-editable": u.value,
@@ -26775,7 +26775,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26775
26775
  b("div", Sfe, [
26776
26776
  Ze.value ? (k(), T("label", xfe, [
26777
26777
  b("span", Afe, R(B.$t("activity.project.label")), 1),
26778
- N(zt, {
26778
+ N(qt, {
26779
26779
  options: Ze.value,
26780
26780
  value: (ye = t.activity.project) == null ? void 0 : ye.id,
26781
26781
  searchable: !0,
@@ -26786,7 +26786,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26786
26786
  ])) : P("", !0),
26787
26787
  ot.value ? (k(), T("label", Efe, [
26788
26788
  b("span", Tfe, R(B.$t("activity.milestone.label")), 1),
26789
- N(zt, {
26789
+ N(qt, {
26790
26790
  options: ot.value,
26791
26791
  value: (mt = t.activity.milestone) == null ? void 0 : mt.id,
26792
26792
  searchable: !0,
@@ -26903,7 +26903,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26903
26903
  Ge.value ? (k(), T("div", qfe, [
26904
26904
  b("label", jfe, [
26905
26905
  b("span", Vfe, R(B.$t("activity.status.label")), 1),
26906
- N(zt, {
26906
+ N(qt, {
26907
26907
  class: "ao-activity-details__multiselect",
26908
26908
  options: Ge.value,
26909
26909
  value: (sn = t.activity.status) == null ? void 0 : sn.id,
@@ -26911,14 +26911,14 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26911
26911
  "can-deselect": !1,
26912
26912
  disabled: !u.value,
26913
26913
  caret: u.value,
26914
- onChange: Bt
26914
+ onChange: Ut
26915
26915
  }, null, 8, ["options", "value", "disabled", "caret"])
26916
26916
  ])
26917
26917
  ])) : P("", !0),
26918
26918
  t.activity.activityType === "dev" ? (k(), T("div", Wfe, [
26919
26919
  b("label", Zfe, [
26920
26920
  b("span", Kfe, R(B.$t("activity.devStatus.label")), 1),
26921
- N(zt, {
26921
+ N(qt, {
26922
26922
  class: "ao-activity-details__multiselect",
26923
26923
  options: M.value,
26924
26924
  value: I.value,
@@ -26932,7 +26932,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26932
26932
  b("div", Gfe, [
26933
26933
  b("div", Yfe, [
26934
26934
  b("span", Jfe, R(B.$t("activity.sprint.label")), 1),
26935
- (Ut = t.activity.project) != null && Ut.id && u.value && !ee.value ? (k(), Y(Se, {
26935
+ (Ht = t.activity.project) != null && Ht.id && u.value && !ee.value ? (k(), Y(Se, {
26936
26936
  key: 0,
26937
26937
  label: B.$t("activity.sprint.new"),
26938
26938
  type: "button",
@@ -26990,7 +26990,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
26990
26990
  onClick: Ce
26991
26991
  }, null, 8, ["label", "disabled"])
26992
26992
  ])
26993
- ])) : (k(), Y(zt, {
26993
+ ])) : (k(), Y(qt, {
26994
26994
  key: 0,
26995
26995
  class: "ao-activity-details__multiselect",
26996
26996
  options: A.value,
@@ -27018,10 +27018,10 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
27018
27018
  color: "primary",
27019
27019
  variant: "solid",
27020
27020
  class: "ao-button--sm",
27021
- onClick: Rt
27021
+ onClick: Bt
27022
27022
  }, null, 8, ["label"])
27023
27023
  ]),
27024
- N(zt, {
27024
+ N(qt, {
27025
27025
  modelValue: De.value,
27026
27026
  "onUpdate:modelValue": X[7] || (X[7] = (Le) => De.value = Le),
27027
27027
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
@@ -27036,13 +27036,13 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
27036
27036
  }, {
27037
27037
  tag: ie(({
27038
27038
  option: Le,
27039
- handleTagRemove: Vt
27039
+ handleTagRemove: Wt
27040
27040
  }) => [
27041
27041
  N(Pn, {
27042
27042
  "user-name": Le.label,
27043
27043
  "avatar-url": Le.avatar,
27044
27044
  "is-closable": !0,
27045
- onClose: (Mo) => Vt(Le, Mo)
27045
+ onClose: (Mo) => Wt(Le, Mo)
27046
27046
  }, null, 8, ["user-name", "avatar-url", "onClose"])
27047
27047
  ]),
27048
27048
  _: 1
@@ -27132,7 +27132,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
27132
27132
  b("fieldset", Epe, [
27133
27133
  b("div", Tpe, [
27134
27134
  N(Re, { name: "FlowsheetOutlineRounded" }),
27135
- N(It, {
27135
+ N(Nt, {
27136
27136
  level: 4,
27137
27137
  title: B.$t("activity.dependencies.title")
27138
27138
  }, null, 8, ["title"])
@@ -27141,7 +27141,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
27141
27141
  b("div", Dpe, [
27142
27142
  b("label", Mpe, [
27143
27143
  b("span", Lpe, R(B.$t("activity.dependingOn.label")), 1),
27144
- N(zt, {
27144
+ N(qt, {
27145
27145
  modelValue: Z.value,
27146
27146
  "onUpdate:modelValue": X[12] || (X[12] = (Le) => Z.value = Le),
27147
27147
  class: "ao-activity-details__multiselect",
@@ -27157,7 +27157,7 @@ const yfe = { class: "ao-activity-details" }, bfe = { class: "ao-activity-detail
27157
27157
  b("div", Ope, [
27158
27158
  b("label", Ipe, [
27159
27159
  b("span", Npe, R(B.$t("activity.blocking.label")), 1),
27160
- N(zt, {
27160
+ N(qt, {
27161
27161
  modelValue: me.value,
27162
27162
  "onUpdate:modelValue": X[13] || (X[13] = (Le) => me.value = Le),
27163
27163
  class: "ao-activity-details__multiselect",
@@ -27332,7 +27332,7 @@ const Fpe = { class: "ao-template-rules__body" }, Rpe = { class: "ao-template-ru
27332
27332
  };
27333
27333
  return (i, s) => (k(), Y(vl, null, {
27334
27334
  header: ie(() => [
27335
- N(It, {
27335
+ N(Nt, {
27336
27336
  title: i.$t("template.rules.title"),
27337
27337
  level: 2
27338
27338
  }, null, 8, ["title"])
@@ -27384,7 +27384,7 @@ const Upe = {
27384
27384
  },
27385
27385
  emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
27386
27386
  setup(t, { emit: e }) {
27387
- const { t: n } = Ft(), o = t, r = e, i = O(
27387
+ const { t: n } = Rt(), o = t, r = e, i = O(
27388
27388
  () => {
27389
27389
  var j;
27390
27390
  return (j = o.templates) == null ? void 0 : j.find((G) => G.id === o.templateId);
@@ -27619,7 +27619,7 @@ const Upe = {
27619
27619
  onGoBack: G[1] || (G[1] = (Z) => j.$router.push({ name: te(ti).TEMPLATES_LIST }))
27620
27620
  }, {
27621
27621
  primary: ie(() => [
27622
- N(It, {
27622
+ N(Nt, {
27623
27623
  title: d.value,
27624
27624
  level: 2,
27625
27625
  "is-editable": !0,
@@ -27641,7 +27641,7 @@ const Upe = {
27641
27641
  onChange: A
27642
27642
  }, {
27643
27643
  header: ie(() => [
27644
- N(It, {
27644
+ N(Nt, {
27645
27645
  title: j.$t("template.phases.title"),
27646
27646
  level: 3,
27647
27647
  class: "ao-list__title"
@@ -27776,13 +27776,13 @@ const Kpe = { class: "ao-card__content" }, Gpe = {
27776
27776
  "ao-card--danger": t.variant === "danger"
27777
27777
  }
27778
27778
  ]),
27779
- style: Jt(t.isSelected ? { border: "solid", borderColor: t.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
27779
+ style: Dt(t.isSelected ? { border: "solid", borderColor: t.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
27780
27780
  }, {
27781
27781
  default: ie(() => [
27782
27782
  t.withLeftBorder ? (k(), T("div", {
27783
27783
  key: 0,
27784
27784
  class: "ao-card__left-border",
27785
- style: Jt({ backgroundColor: t.color })
27785
+ style: Dt({ backgroundColor: t.color })
27786
27786
  }, null, 4)) : P("", !0),
27787
27787
  b("div", Kpe, [
27788
27788
  e.$slots.header ? (k(), T("header", Gpe, [
@@ -27816,7 +27816,7 @@ const Ql = /* @__PURE__ */ le({
27816
27816
  (k(!0), T(Te, null, Ye(n.value, (i) => (k(), T("div", {
27817
27817
  key: i,
27818
27818
  class: _e(["ao-progress__progress"]),
27819
- style: Jt({
27819
+ style: Dt({
27820
27820
  width: `${i * 100}%`,
27821
27821
  "--ao-progress-color": t.color || "var(--ao-color-primary-base)"
27822
27822
  })
@@ -28761,7 +28761,7 @@ const bhe = { class: "color-picker-wrapper" }, Js = /* @__PURE__ */ le({
28761
28761
  emits: ["update:color"],
28762
28762
  setup(t, { emit: e }) {
28763
28763
  const n = t, o = e, r = Q(!1), i = Q(null), s = Q(0), a = Q(0), l = Q(n.color), c = async (h) => {
28764
- l.value = n.color, r.value = !0, await Gt();
28764
+ l.value = n.color, r.value = !0, await Yt();
28765
28765
  const g = h.getBoundingClientRect(), y = i.value, v = (y == null ? void 0 : y.offsetHeight) || 300, m = window.innerHeight - g.bottom, _ = g.top, C = m < v && _ > v;
28766
28766
  s.value = C ? g.top - v - 8 : g.bottom + 8, a.value = g.left, setTimeout(() => {
28767
28767
  window.addEventListener(
@@ -28809,7 +28809,7 @@ const bhe = { class: "color-picker-wrapper" }, Js = /* @__PURE__ */ le({
28809
28809
  ref_key: "pickerRef",
28810
28810
  ref: i,
28811
28811
  class: "color-picker",
28812
- style: Jt(u.value)
28812
+ style: Dt(u.value)
28813
28813
  }, [
28814
28814
  N(te(ci), {
28815
28815
  class: "color-picker-box",
@@ -28899,7 +28899,7 @@ const Che = { class: "ao-card-project-phase__header" }, khe = { class: "ao-card-
28899
28899
  }, $s({
28900
28900
  default: ie(() => [
28901
28901
  b("div", khe, [
28902
- N(It, {
28902
+ N(Nt, {
28903
28903
  id: t.id,
28904
28904
  class: "ao-card-project-phase__title",
28905
28905
  title: t.name || "",
@@ -28987,7 +28987,7 @@ const Mhe = /* @__PURE__ */ le({
28987
28987
  setup(t) {
28988
28988
  return (e, n) => (k(), T("span", {
28989
28989
  class: "aoBadge",
28990
- style: Jt({ backgroundColor: t.color })
28990
+ style: Dt({ backgroundColor: t.color })
28991
28991
  }, null, 4));
28992
28992
  }
28993
28993
  });
@@ -29066,7 +29066,7 @@ const Lhe = { class: "ao-card-project-milestone__default" }, Ohe = { class: "ao-
29066
29066
  color: t.color || ""
29067
29067
  }, null, 8, ["color"]),
29068
29068
  b("div", Ihe, [
29069
- N(It, {
29069
+ N(Nt, {
29070
29070
  id: t.id,
29071
29071
  title: t.name || "",
29072
29072
  level: 5,
@@ -29184,7 +29184,7 @@ const Zhe = ["onKeydown"], ll = /* @__PURE__ */ le({
29184
29184
  }), f = async () => {
29185
29185
  if (i.value)
29186
29186
  return;
29187
- c(), i.value = !0, r("open"), await Gt();
29187
+ c(), i.value = !0, r("open"), await Yt();
29188
29188
  const v = a.value;
29189
29189
  if (v) {
29190
29190
  const m = v.querySelector(
@@ -29261,7 +29261,7 @@ const Zhe = ["onKeydown"], ll = /* @__PURE__ */ le({
29261
29261
  close: d,
29262
29262
  toggle: p
29263
29263
  }), (v, m) => (k(), T(Te, null, [
29264
- b("span", qt({
29264
+ b("span", jt({
29265
29265
  ref_key: "triggerRef",
29266
29266
  ref: s,
29267
29267
  class: "ao-popover-menu"
@@ -29277,7 +29277,7 @@ const Zhe = ["onKeydown"], ll = /* @__PURE__ */ le({
29277
29277
  ref_key: "menuRef",
29278
29278
  ref: a,
29279
29279
  class: "ao-popover-menu__menu",
29280
- style: Jt(u.value),
29280
+ style: Dt(u.value),
29281
29281
  role: "menu",
29282
29282
  onKeydown: Ko(xe(d, ["stop"]), ["esc"])
29283
29283
  }, [
@@ -29426,7 +29426,7 @@ const eme = ["onKeydown"], tme = { class: "ao-modal ao-bulk-insert-modal" }, nme
29426
29426
  },
29427
29427
  emits: ["update:open", "submit", "close"],
29428
29428
  setup(t, { emit: e }) {
29429
- const n = t, o = e, { t: r } = Ft(), i = Q(""), s = Q(null), a = {
29429
+ const n = t, o = e, { t: r } = Rt(), i = Q(""), s = Q(null), a = {
29430
29430
  phase: "project.bulk.entity.phase",
29431
29431
  milestone: "project.bulk.entity.milestone",
29432
29432
  activity: "project.bulk.entity.activity",
@@ -29468,7 +29468,7 @@ const eme = ["onKeydown"], tme = { class: "ao-modal ao-bulk-insert-modal" }, nme
29468
29468
  () => n.open,
29469
29469
  async (C) => {
29470
29470
  var S;
29471
- C && (i.value = "", await Gt(), (S = s.value) == null || S.focus());
29471
+ C && (i.value = "", await Yt(), (S = s.value) == null || S.focus());
29472
29472
  },
29473
29473
  {
29474
29474
  immediate: !0
@@ -29516,7 +29516,7 @@ const eme = ["onKeydown"], tme = { class: "ao-modal ao-bulk-insert-modal" }, nme
29516
29516
  })
29517
29517
  ]),
29518
29518
  b("header", rme, [
29519
- N(It, {
29519
+ N(Nt, {
29520
29520
  title: t.title,
29521
29521
  level: 3
29522
29522
  }, null, 8, ["title"])
@@ -29712,7 +29712,7 @@ const yme = { class: "ao-mapping-card-project-phase__header" }, bme = { class: "
29712
29712
  }, $s({
29713
29713
  default: ie(() => [
29714
29714
  b("div", bme, [
29715
- N(It, {
29715
+ N(Nt, {
29716
29716
  id: t.id,
29717
29717
  class: "ao-mapping-card-project-phase__title",
29718
29718
  title: t.name || "",
@@ -29817,7 +29817,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
29817
29817
  },
29818
29818
  emits: ["addMilestone", "bulkAddMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "updatePhase", "archivePhase", "unarchivePhase"],
29819
29819
  setup(t, { emit: e }) {
29820
- const { t: n } = Ft(), o = t, r = e;
29820
+ const { t: n } = Rt(), o = t, r = e;
29821
29821
  Ne(
29822
29822
  () => o.phase.milestones,
29823
29823
  (E, x) => {
@@ -29895,7 +29895,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
29895
29895
  return (E, x) => (k(), T("li", $me, [
29896
29896
  b("div", {
29897
29897
  class: "ao-project-phases__draggable-card",
29898
- style: Jt($.value)
29898
+ style: Dt($.value)
29899
29899
  }, [
29900
29900
  t.isEditable ? (k(), T("div", Dme, [
29901
29901
  N(Re, {
@@ -29941,7 +29941,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
29941
29941
  S.value ? P("", !0) : (k(), T("div", Ome, [
29942
29942
  b("div", {
29943
29943
  class: "ao-project-phase__milestones ao-project-phase__milestones--hoverable",
29944
- style: Jt($.value)
29944
+ style: Dt($.value)
29945
29945
  }, [
29946
29946
  t.isEditable ? (k(), Y(ll, {
29947
29947
  key: 0,
@@ -29979,7 +29979,7 @@ const $me = { class: "ao-project-phase" }, Dme = {
29979
29979
  ]),
29980
29980
  _: 1
29981
29981
  }, 8, ["class"])) : P("", !0),
29982
- N(te(co), qt({
29982
+ N(te(co), jt({
29983
29983
  class: "ao-project-phase__milestones-list",
29984
29984
  list: l.value,
29985
29985
  disabled: t.readonly || !t.isEditable,
@@ -30149,7 +30149,7 @@ const zme = { class: "ao-add-template-modal__form-body" }, qme = { class: "field
30149
30149
  };
30150
30150
  return (l, c) => (k(), Y(vl, { size: "sm" }, {
30151
30151
  header: ie(() => [
30152
- N(It, {
30152
+ N(Nt, {
30153
30153
  title: l.$t("project.template.apply.title"),
30154
30154
  level: 3
30155
30155
  }, null, 8, ["title"])
@@ -30162,7 +30162,7 @@ const zme = { class: "ao-add-template-modal__form-body" }, qme = { class: "field
30162
30162
  b("p", null, R(l.$t("project.template.apply.notice")), 1),
30163
30163
  b("div", zme, [
30164
30164
  b("div", qme, [
30165
- N(zt, {
30165
+ N(qt, {
30166
30166
  value: i.value,
30167
30167
  options: r.value,
30168
30168
  detached: !0,
@@ -30193,7 +30193,7 @@ const Vme = { class: "ao-save-template-modal__form-body" }, Wme = { class: "fiel
30193
30193
  emits: ["save"],
30194
30194
  setup(t, { emit: e }) {
30195
30195
  const n = t, o = e, r = Q(""), i = Q([]);
30196
- Dt(() => {
30196
+ Mt(() => {
30197
30197
  i.value = n.phases.map((a) => a.id);
30198
30198
  });
30199
30199
  const s = () => {
@@ -30201,7 +30201,7 @@ const Vme = { class: "ao-save-template-modal__form-body" }, Wme = { class: "fiel
30201
30201
  };
30202
30202
  return (a, l) => (k(), Y(vl, { size: "sm" }, {
30203
30203
  header: ie(() => [
30204
- N(It, {
30204
+ N(Nt, {
30205
30205
  title: a.$t("project.template.save.title"),
30206
30206
  level: 3
30207
30207
  }, null, 8, ["title"])
@@ -30282,7 +30282,7 @@ const ege = { class: "ao-project" }, tge = ["onClick"], nge = ["onClick"], oge =
30282
30282
  },
30283
30283
  emits: ["addPhase", "bulkAddPhase", "updatePhase", "archivePhase", "unarchivePhase", "addMilestone", "bulkAddMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "addActivity", "bulkAddActivity", "update:activity", "archiveActivity", "copyPhaseToTemplate", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "saveTemplate", "update:showsArchived", "fetchHistory"],
30284
30284
  setup(t, { emit: e }) {
30285
- const { t: n } = Ft(), o = t, r = e, i = O(
30285
+ const { t: n } = Rt(), o = t, r = e, i = O(
30286
30286
  () => o.phases.flatMap((V) => V.milestones)
30287
30287
  ), s = () => {
30288
30288
  const { name: V, rank: me } = kr(o.phases, "phase", n);
@@ -30371,7 +30371,7 @@ const ege = { class: "ao-project" }, tge = ["onClick"], nge = ["onClick"], oge =
30371
30371
  var it;
30372
30372
  const Ue = Fo("RouterView");
30373
30373
  return k(), T(Te, null, [
30374
- b("div", qt({ class: "ao-project-overview" }, V.$attrs), [
30374
+ b("div", jt({ class: "ao-project-overview" }, V.$attrs), [
30375
30375
  b("div", ege, [
30376
30376
  N(Rs, null, {
30377
30377
  primary: ie(() => [
@@ -30678,7 +30678,7 @@ const ige = { class: "ao-card-feed__header" }, sge = {
30678
30678
  b("div", uge, [
30679
30679
  b("div", dge, [
30680
30680
  t.slug ? (k(), T("span", fge, R(t.slug) + ": ", 1)) : P("", !0),
30681
- N(It, {
30681
+ N(Nt, {
30682
30682
  id: t.id,
30683
30683
  title: t.name,
30684
30684
  level: 5,
@@ -30774,7 +30774,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
30774
30774
  },
30775
30775
  emits: ["close", "addActivity", "bulkAddActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity", "startTimer"],
30776
30776
  setup(t, { emit: e }) {
30777
- const { t: n } = Ft(), o = t, r = e, i = (x) => {
30777
+ const { t: n } = Rt(), o = t, r = e, i = (x) => {
30778
30778
  var M;
30779
30779
  r("startTimer", x), (M = window.parent) == null || M.postMessage(
30780
30780
  {
@@ -30946,7 +30946,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
30946
30946
  ]),
30947
30947
  b("div", Mge, [
30948
30948
  b("div", Lge, [
30949
- N(It, {
30949
+ N(Nt, {
30950
30950
  title: ((I = l.value) == null ? void 0 : I.name) || t.milestoneId,
30951
30951
  level: 5
30952
30952
  }, null, 8, ["title"]),
@@ -30983,7 +30983,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
30983
30983
  ]),
30984
30984
  b("div", Pge, [
30985
30985
  b("label", Fge, [
30986
- N(zt, {
30986
+ N(qt, {
30987
30987
  modelValue: w.value,
30988
30988
  "onUpdate:modelValue": M[2] || (M[2] = (A) => w.value = A),
30989
30989
  options: S.value,
@@ -31018,7 +31018,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
31018
31018
  }, {
31019
31019
  clickable: ie(({ openPicker: A, bgColor: L }) => [
31020
31020
  b("button", {
31021
- style: Jt({ background: L }),
31021
+ style: Dt({ background: L }),
31022
31022
  class: "color-button",
31023
31023
  onClick: (F) => E(F, A)
31024
31024
  }, null, 12, Bge)
@@ -31064,7 +31064,7 @@ const Tge = { class: "ao-project-milestone" }, $ge = { class: "ao-project-milest
31064
31064
  ])) : P("", !0)
31065
31065
  ]),
31066
31066
  b("div", qge, [
31067
- N(te(co), qt({
31067
+ N(te(co), jt({
31068
31068
  class: "ao-project-milestone__activities",
31069
31069
  list: c.value,
31070
31070
  disabled: !t.isEditable,
@@ -31298,7 +31298,7 @@ const Zge = /* @__PURE__ */ le({
31298
31298
  },
31299
31299
  setup(t) {
31300
31300
  return (e, n) => (k(), T("header", Kge, [
31301
- N(It, {
31301
+ N(Nt, {
31302
31302
  title: t.title,
31303
31303
  class: "ao-col-header__title",
31304
31304
  level: 4
@@ -31361,7 +31361,7 @@ function Kc(t) {
31361
31361
  const n0e = Jge ? window : void 0;
31362
31362
  function o0e() {
31363
31363
  const t = Q(!1), e = Fr();
31364
- return e && Dt(() => {
31364
+ return e && Mt(() => {
31365
31365
  t.value = !0;
31366
31366
  }, e), t;
31367
31367
  }
@@ -31502,7 +31502,7 @@ const s0e = {
31502
31502
  ])
31503
31503
  ];
31504
31504
  }, void 0, 0) : P("", !0),
31505
- N(te(co), qt({
31505
+ N(te(co), jt({
31506
31506
  class: ["ao-list-kanban__list", u.value ? "ao-list-kanban__transition" : void 0],
31507
31507
  list: t.list,
31508
31508
  "item-key": "id",
@@ -31666,7 +31666,7 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
31666
31666
  projects: { default: () => [] }
31667
31667
  },
31668
31668
  setup(t) {
31669
- const e = (I) => I.label ? `Sprint ${I.number}: ${I.label}` : `Sprint ${I.number}`, n = t, { t: o } = Ft(), r = ["Ok for prod", "Done"], i = Q(/* @__PURE__ */ new Set()), s = Q({}), a = (I) => {
31669
+ const e = (I) => I.label ? `Sprint ${I.number}: ${I.label}` : `Sprint ${I.number}`, n = t, { t: o } = Rt(), r = ["Ok for prod", "Done"], i = Q(/* @__PURE__ */ new Set()), s = Q({}), a = (I) => {
31670
31670
  i.value.has(I) ? i.value.delete(I) : i.value.add(I);
31671
31671
  }, l = (I) => n.projects.find((A) => A.id === I.projectId), c = (I) => {
31672
31672
  var A;
@@ -31744,7 +31744,7 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
31744
31744
  b("div", A0e, [
31745
31745
  b("div", {
31746
31746
  class: _e(["ao-sprint-metrics__progress-fill", { "ao-sprint-metrics__progress-fill--behind": $(L.id) }]),
31747
- style: Jt({ width: C(L.id) + "%" })
31747
+ style: Dt({ width: C(L.id) + "%" })
31748
31748
  }, null, 6)
31749
31749
  ]),
31750
31750
  b("span", E0e, R(C(L.id)) + "% ", 1),
@@ -31792,7 +31792,7 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
31792
31792
  b("span", {
31793
31793
  class: _e(["ao-sprint-metrics__man-days", { "ao-sprint-metrics__man-days--has-tooltip": f(L.id).length > 0 }])
31794
31794
  }, [
31795
- Kt(R(E(c(L.id))) + " MD ", 1),
31795
+ Gt(R(E(c(L.id))) + " MD ", 1),
31796
31796
  f(L.id).length > 0 ? (k(), T("span", H0e, [
31797
31797
  b("span", z0e, R(E(c(L.id))) + " MD planned ", 1),
31798
31798
  (k(!0), T(Te, null, Ye(f(L.id), (H) => (k(), T("span", {
@@ -31830,9 +31830,9 @@ const _0e = { class: "ao-sprint-metrics" }, y0e = ["onClick"], b0e = { class: "a
31830
31830
  b("div", X0e, R(te(o)("sprintMetrics.planningProgress")), 1),
31831
31831
  b("div", Q0e, [
31832
31832
  m(L.id) !== null ? (k(), T(Te, { key: 0 }, [
31833
- Kt(R(_(L.id)) + "% · " + R(E(d(L.id))) + " / " + R(E(v(L.id))) + " pts ", 1)
31833
+ Gt(R(_(L.id)) + "% · " + R(E(d(L.id))) + " / " + R(E(v(L.id))) + " pts ", 1)
31834
31834
  ], 64)) : (k(), T(Te, { key: 1 }, [
31835
- Kt(" — ")
31835
+ Gt(" — ")
31836
31836
  ], 64))
31837
31837
  ])
31838
31838
  ])
@@ -31879,7 +31879,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
31879
31879
  },
31880
31880
  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"],
31881
31881
  setup(t, { emit: e }) {
31882
- const { t: n } = Ft(), o = t, r = e;
31882
+ const { t: n } = Rt(), o = t, r = e;
31883
31883
  function i(W, ge) {
31884
31884
  r("toast", W, ge);
31885
31885
  }
@@ -32025,9 +32025,9 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
32025
32025
  { label: "Feed", value: "feed" },
32026
32026
  { label: "Dev", value: "dev" },
32027
32027
  { label: "Mapping", value: "mapping" }
32028
- ], me = O(() => Ue.value ? V.filter((W) => W.value === "feed" || W.value === "dev") : V), Ue = O(() => !o.project && pe.name && (pe.name === Yr.feed || pe.name === Yr.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), it = O(() => Ue.value ? Yr.feed : nt.feed), Be = O(() => Ue.value ? Yr.dev : nt.dev), Pe = O(() => nt.project), Rt = O(() => nt.mapping);
32028
+ ], me = O(() => Ue.value ? V.filter((W) => W.value === "feed" || W.value === "dev") : V), Ue = O(() => !o.project && pe.name && (pe.name === Yr.feed || pe.name === Yr.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), it = O(() => Ue.value ? Yr.feed : nt.feed), Be = O(() => Ue.value ? Yr.dev : nt.dev), Pe = O(() => nt.project), Bt = O(() => nt.mapping);
32029
32029
  return Ne(Z, (W) => {
32030
- W === "feed" ? Ce.push({ name: it.value }) : W === "dev" ? Ce.push({ name: Be.value }) : W === "overview" ? Ce.push({ name: Pe.value }) : W === "mapping" && Ce.push({ name: Rt.value });
32030
+ W === "feed" ? Ce.push({ name: it.value }) : W === "dev" ? Ce.push({ name: Be.value }) : W === "overview" ? Ce.push({ name: Pe.value }) : W === "mapping" && Ce.push({ name: Bt.value });
32031
32031
  }), (W, ge) => {
32032
32032
  var De;
32033
32033
  return k(), T("div", nve, [
@@ -32046,7 +32046,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
32046
32046
  "onUpdate:modelValue": F,
32047
32047
  onClear: H
32048
32048
  }, null, 8, ["model-value", "placeholder"]),
32049
- o.project ? P("", !0) : (k(), Y(zt, {
32049
+ o.project ? P("", !0) : (k(), Y(qt, {
32050
32050
  key: 0,
32051
32051
  "model-value": t.filters[te(Yn).project],
32052
32052
  mode: "tags",
@@ -32058,7 +32058,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
32058
32058
  placeholder: W.$t("feed.filters.project.placeholder"),
32059
32059
  "onUpdate:modelValue": ge[1] || (ge[1] = (Ee) => v(te(Yn).project, Ee))
32060
32060
  }, null, 8, ["model-value", "options", "placeholder"])),
32061
- t.feedMode === "dev" ? (k(), Y(zt, {
32061
+ t.feedMode === "dev" ? (k(), Y(qt, {
32062
32062
  key: 1,
32063
32063
  "model-value": t.filters[te(Yn).sprint],
32064
32064
  mode: "tags",
@@ -32070,7 +32070,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
32070
32070
  placeholder: W.$t("feed.filters.sprint.placeholder"),
32071
32071
  "onUpdate:modelValue": ge[2] || (ge[2] = (Ee) => v(te(Yn).sprint, Ee))
32072
32072
  }, null, 8, ["model-value", "options", "disabled", "placeholder"])) : P("", !0),
32073
- N(zt, {
32073
+ N(qt, {
32074
32074
  "model-value": t.filters[te(Yn).milestone],
32075
32075
  mode: "tags",
32076
32076
  options: $.value,
@@ -32082,7 +32082,7 @@ const tve = /* @__PURE__ */ de(eve, [["__scopeId", "data-v-e4ad9a7b"]]), nve = {
32082
32082
  placeholder: W.$t("feed.filters.milestone.placeholder"),
32083
32083
  "onUpdate:modelValue": ge[3] || (ge[3] = (Ee) => v(te(Yn).milestone, Ee))
32084
32084
  }, null, 8, ["model-value", "options", "disabled", "placeholder"]),
32085
- E.value.length ? (k(), Y(zt, {
32085
+ E.value.length ? (k(), Y(qt, {
32086
32086
  key: 2,
32087
32087
  "model-value": t.filters[te(Yn).assignee],
32088
32088
  mode: "tags",
@@ -32241,7 +32241,7 @@ const ive = { class: "ao-project-mapping" }, sve = { class: "ao-project-mapping-
32241
32241
  },
32242
32242
  emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "copyPhaseToTemplate", "applyTemplate", "saveTemplate", "update:showsArchived"],
32243
32243
  setup(t, { emit: e }) {
32244
- const { t: n } = Ft(), o = t, r = e, i = () => {
32244
+ const { t: n } = Rt(), o = t, r = e, i = () => {
32245
32245
  const { name: m, rank: _ } = kr(o.phases, "phase", n);
32246
32246
  r("addPhase", { name: m, rank: _, projectId: o.project.id });
32247
32247
  }, s = () => {
@@ -32272,7 +32272,7 @@ const ive = { class: "ao-project-mapping" }, sve = { class: "ao-project-mapping-
32272
32272
  }), (m, _) => {
32273
32273
  var C;
32274
32274
  return k(), T(Te, null, [
32275
- b("div", qt({ class: "ao-project-mapping-overview" }, m.$attrs), [
32275
+ b("div", jt({ class: "ao-project-mapping-overview" }, m.$attrs), [
32276
32276
  b("div", ive, [
32277
32277
  N(Rs, null, {
32278
32278
  primary: ie(() => [
@@ -32371,7 +32371,7 @@ const ti = {
32371
32371
  TEMPLATES: "templates",
32372
32372
  TEMPLATE_DETAILS: "template_details",
32373
32373
  TEMPLATES_LIST: "templates_list"
32374
- }, k_e = (t, e = {}) => [
32374
+ }, b_e = (t, e = {}) => [
32375
32375
  {
32376
32376
  path: t,
32377
32377
  name: ti.TEMPLATES,
@@ -32401,7 +32401,7 @@ const ti = {
32401
32401
  }, Yr = {
32402
32402
  feed: "ActivityFeed",
32403
32403
  dev: "ActivityFeedDev"
32404
- }, w_e = (t, e = {}) => [
32404
+ }, C_e = (t, e = {}) => [
32405
32405
  {
32406
32406
  path: t,
32407
32407
  ...e,
@@ -32463,7 +32463,7 @@ const ti = {
32463
32463
  },
32464
32464
  emits: ["addTemplate", "updateTemplates", "updateItem", "removeItem"],
32465
32465
  setup(t, { emit: e }) {
32466
- const { t: n } = Ft(), o = t, r = e;
32466
+ const { t: n } = Rt(), o = t, r = e;
32467
32467
  Ne(() => o.templates, (c, u) => {
32468
32468
  ko(c, u);
32469
32469
  });
@@ -32564,7 +32564,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
32564
32564
  we(e.$slots, "default")
32565
32565
  ], 2));
32566
32566
  }
32567
- }), mve = ["type", "value", "disabled", "readonly"], S_e = /* @__PURE__ */ le({
32567
+ }), mve = ["type", "value", "disabled", "readonly"], k_e = /* @__PURE__ */ le({
32568
32568
  __name: "AoInputField",
32569
32569
  props: {
32570
32570
  label: { default: "" },
@@ -32583,7 +32583,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
32583
32583
  };
32584
32584
  return (s, a) => (k(), Y(hve, { label: t.label }, {
32585
32585
  default: ie(() => [
32586
- b("input", qt({
32586
+ b("input", jt({
32587
32587
  class: "ao-field__input",
32588
32588
  type: t.type,
32589
32589
  value: t.modelValue,
@@ -32644,7 +32644,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
32644
32644
  }, Nve = { class: "ao-audit-config__option" }, Pve = ["title"], Fve = {
32645
32645
  key: 0,
32646
32646
  class: "ao-audit-config__all-tracked"
32647
- }, x_e = /* @__PURE__ */ le({
32647
+ }, w_e = /* @__PURE__ */ le({
32648
32648
  __name: "AoAuditConfigTable",
32649
32649
  props: {
32650
32650
  tables: {},
@@ -32654,7 +32654,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
32654
32654
  },
32655
32655
  emits: ["update"],
32656
32656
  setup(t, { emit: e }) {
32657
- const n = t, o = e, { t: r } = Ft(), i = O(() => n.tables);
32657
+ const n = t, o = e, { t: r } = Rt(), i = O(() => n.tables);
32658
32658
  function s(c) {
32659
32659
  return c.columns.map((u) => ({
32660
32660
  value: u.name,
@@ -32708,7 +32708,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
32708
32708
  ])
32709
32709
  ]),
32710
32710
  b("td", Ove, [
32711
- f.isEnabled ? (k(), Y(zt, {
32711
+ f.isEnabled ? (k(), Y(qt, {
32712
32712
  key: 1,
32713
32713
  "model-value": f.excludeColumns,
32714
32714
  class: "ao-audit-config__multiselect",
@@ -32725,7 +32725,7 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
32725
32725
  }, {
32726
32726
  option: ie(({ option: d }) => [
32727
32727
  b("span", Nve, [
32728
- Kt(R(d.label) + " ", 1),
32728
+ Gt(R(d.label) + " ", 1),
32729
32729
  d.isPrimaryKey ? (k(), T("span", {
32730
32730
  key: 0,
32731
32731
  class: "ao-audit-config__pk",
@@ -32748,22 +32748,16 @@ const pve = { class: "ao-field__label" }, hve = /* @__PURE__ */ le({
32748
32748
  const Rve = {
32749
32749
  key: 0,
32750
32750
  class: "ao-activity-inline__drag-handle"
32751
- }, Bve = { class: "ao-activity-inline__title" }, Uve = {
32752
- key: 0,
32753
- class: "ao-activity-inline__milestone"
32754
- }, Hve = { class: "ao-activity-inline__name" }, zve = { class: "ao-activity-inline__assignee" }, qve = {
32751
+ }, Bve = { class: "ao-activity-inline__title" }, Uve = { class: "ao-activity-inline__name" }, Hve = { class: "ao-activity-inline__assignee" }, zve = {
32755
32752
  key: 1,
32756
32753
  class: "ao-activity-inline__unassigned"
32757
- }, jve = { class: "ao-activity-inline__estimation" }, Vve = { class: "ao-activity-inline__status" }, Wve = { class: "ao-activity-inline__title" }, Zve = {
32758
- key: 0,
32759
- class: "ao-activity-inline__milestone"
32760
- }, Kve = { class: "ao-activity-inline__name" }, Gve = { class: "ao-activity-inline__assignee" }, Yve = {
32754
+ }, qve = { class: "ao-activity-inline__estimation" }, jve = { class: "ao-activity-inline__status" }, Vve = { class: "ao-activity-inline__title" }, Wve = { class: "ao-activity-inline__name" }, Zve = { class: "ao-activity-inline__assignee" }, Kve = {
32761
32755
  key: 1,
32762
32756
  class: "ao-activity-inline__unassigned"
32763
- }, Jve = { class: "ao-activity-inline__estimation" }, Xve = { class: "ao-activity-inline__status" }, Qve = {
32757
+ }, Gve = { class: "ao-activity-inline__estimation" }, Yve = { class: "ao-activity-inline__status" }, Jve = {
32764
32758
  key: 3,
32765
32759
  class: "ao-activity-inline__content ao-activity-inline--disabled"
32766
- }, e2e = { class: "ao-activity-inline__title" }, t2e = { class: "ao-activity-inline__name" }, n2e = { class: "ao-activity-inline__assignee" }, o2e = { key: 1 }, r2e = { class: "ao-activity-inline__estimation" }, i2e = { class: "ao-activity-inline__status" }, s2e = /* @__PURE__ */ le({
32760
+ }, Xve = { class: "ao-activity-inline__title" }, Qve = { class: "ao-activity-inline__name" }, e2e = { class: "ao-activity-inline__assignee" }, t2e = { key: 1 }, n2e = { class: "ao-activity-inline__estimation" }, o2e = { class: "ao-activity-inline__status" }, r2e = /* @__PURE__ */ le({
32767
32761
  __name: "AoActivityInline",
32768
32762
  props: {
32769
32763
  activity: {},
@@ -32812,87 +32806,95 @@ const Rve = {
32812
32806
  onClick: xe(r, ["stop"])
32813
32807
  }, [
32814
32808
  b("div", Bve, [
32815
- t.showMilestone && t.activity.milestone ? (k(), T("span", Uve, R(t.activity.milestone.name), 1)) : P("", !0),
32816
- b("span", Hve, R(t.activity.name), 1)
32809
+ t.showMilestone && t.activity.milestone ? (k(), T("span", {
32810
+ key: 0,
32811
+ class: "ao-activity-inline__milestone",
32812
+ style: Dt({ "--milestone-color": t.activity.milestone.color || void 0 })
32813
+ }, R(t.activity.milestone.name), 5)) : P("", !0),
32814
+ b("span", Uve, R(t.activity.name), 1)
32817
32815
  ]),
32818
- b("div", zve, [
32816
+ b("div", Hve, [
32819
32817
  t.activity.assignee ? (k(), Y(Pn, {
32820
32818
  key: 0,
32821
32819
  "user-name": s.value,
32822
32820
  "avatar-url": t.activity.assignee.avatarUrl,
32823
32821
  size: "sm",
32824
32822
  color: "neutral"
32825
- }, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", qve, " — "))
32823
+ }, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", zve, " — "))
32826
32824
  ]),
32827
- b("div", jve, [
32825
+ b("div", qve, [
32828
32826
  t.activity.estimation != null ? (k(), T(Te, { key: 0 }, [
32829
- Kt(R(t.activity.estimation) + R(l.value), 1)
32827
+ Gt(R(t.activity.estimation) + R(l.value), 1)
32830
32828
  ], 64)) : (k(), T(Te, { key: 1 }, [
32831
- Kt(" — ")
32829
+ Gt(" — ")
32832
32830
  ], 64))
32833
32831
  ]),
32834
- b("div", Vve, R(a.value), 1)
32832
+ b("div", jve, R(a.value), 1)
32835
32833
  ])) : i.value ? (k(), Y(te(Q0), {
32836
32834
  key: 2,
32837
32835
  to: i.value,
32838
32836
  class: "ao-activity-inline__content"
32839
32837
  }, {
32840
32838
  default: ie(() => [
32841
- b("div", Wve, [
32842
- t.showMilestone && t.activity.milestone ? (k(), T("span", Zve, R(t.activity.milestone.name), 1)) : P("", !0),
32843
- b("span", Kve, R(t.activity.name), 1)
32839
+ b("div", Vve, [
32840
+ t.showMilestone && t.activity.milestone ? (k(), T("span", {
32841
+ key: 0,
32842
+ class: "ao-activity-inline__milestone",
32843
+ style: Dt({ "--milestone-color": t.activity.milestone.color || void 0 })
32844
+ }, R(t.activity.milestone.name), 5)) : P("", !0),
32845
+ b("span", Wve, R(t.activity.name), 1)
32844
32846
  ]),
32845
- b("div", Gve, [
32847
+ b("div", Zve, [
32846
32848
  t.activity.assignee ? (k(), Y(Pn, {
32847
32849
  key: 0,
32848
32850
  "user-name": s.value,
32849
32851
  "avatar-url": t.activity.assignee.avatarUrl,
32850
32852
  size: "sm",
32851
32853
  color: "neutral"
32852
- }, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", Yve, " — "))
32854
+ }, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", Kve, " — "))
32853
32855
  ]),
32854
- b("div", Jve, [
32856
+ b("div", Gve, [
32855
32857
  t.activity.estimation != null ? (k(), T(Te, { key: 0 }, [
32856
- Kt(R(t.activity.estimation) + R(l.value), 1)
32858
+ Gt(R(t.activity.estimation) + R(l.value), 1)
32857
32859
  ], 64)) : (k(), T(Te, { key: 1 }, [
32858
- Kt(" — ")
32860
+ Gt(" — ")
32859
32861
  ], 64))
32860
32862
  ]),
32861
- b("div", Xve, R(a.value), 1)
32863
+ b("div", Yve, R(a.value), 1)
32862
32864
  ]),
32863
32865
  _: 1
32864
- }, 8, ["to"])) : (k(), T("div", Qve, [
32865
- b("div", e2e, [
32866
- b("span", t2e, R(t.activity.name), 1)
32866
+ }, 8, ["to"])) : (k(), T("div", Jve, [
32867
+ b("div", Xve, [
32868
+ b("span", Qve, R(t.activity.name), 1)
32867
32869
  ]),
32868
- b("div", n2e, [
32870
+ b("div", e2e, [
32869
32871
  t.activity.assignee ? (k(), Y(Pn, {
32870
32872
  key: 0,
32871
32873
  "user-name": s.value,
32872
32874
  "avatar-url": t.activity.assignee.avatarUrl,
32873
32875
  size: "sm",
32874
32876
  color: "neutral"
32875
- }, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", o2e, "—"))
32877
+ }, null, 8, ["user-name", "avatar-url"])) : (k(), T("span", t2e, "—"))
32876
32878
  ]),
32877
- b("div", r2e, [
32879
+ b("div", n2e, [
32878
32880
  t.activity.estimation != null ? (k(), T(Te, { key: 0 }, [
32879
- Kt(R(t.activity.estimation) + R(l.value), 1)
32881
+ Gt(R(t.activity.estimation) + R(l.value), 1)
32880
32882
  ], 64)) : (k(), T(Te, { key: 1 }, [
32881
- Kt(" — ")
32883
+ Gt(" — ")
32882
32884
  ], 64))
32883
32885
  ]),
32884
- b("div", i2e, R(a.value), 1)
32886
+ b("div", o2e, R(a.value), 1)
32885
32887
  ]))
32886
32888
  ], 2));
32887
32889
  }
32888
32890
  });
32889
- const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = { class: "ao-sprint-section__header-left" }, l2e = { class: "ao-sprint-section__expand-icon" }, c2e = { class: "ao-sprint-section__title" }, u2e = {
32891
+ const O0 = /* @__PURE__ */ de(r2e, [["__scopeId", "data-v-71612589"]]), i2e = { class: "ao-sprint-section__header-left" }, s2e = { class: "ao-sprint-section__expand-icon" }, a2e = { class: "ao-sprint-section__title" }, l2e = {
32890
32892
  key: 0,
32891
32893
  class: "ao-sprint-section__archived-badge"
32892
- }, d2e = { class: "ao-sprint-section__header-right" }, f2e = { class: "ao-sprint-section__dates" }, p2e = { class: "ao-sprint-section__meta" }, h2e = ["onClick"], m2e = { class: "ao-sprint-section__edit-title" }, g2e = { class: "ao-sprint-section__fixed-number" }, v2e = { class: "ao-sprint-section__date-fields" }, _2e = { class: "ao-sprint-section__actions" }, y2e = { class: "ao-sprint-section__content" }, b2e = {
32894
+ }, c2e = { class: "ao-sprint-section__header-right" }, u2e = { class: "ao-sprint-section__dates" }, d2e = { class: "ao-sprint-section__meta" }, f2e = ["onClick"], p2e = { class: "ao-sprint-section__edit-title" }, h2e = { class: "ao-sprint-section__fixed-number" }, m2e = { class: "ao-sprint-section__date-fields" }, g2e = { class: "ao-sprint-section__actions" }, v2e = { class: "ao-sprint-section__content" }, _2e = {
32893
32895
  key: 0,
32894
32896
  class: "ao-sprint-section__empty"
32895
- }, C2e = /* @__PURE__ */ le({
32897
+ }, y2e = /* @__PURE__ */ le({
32896
32898
  __name: "AoSprintSection",
32897
32899
  props: {
32898
32900
  sprint: {},
@@ -32967,15 +32969,15 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
32967
32969
  clickable: ie(({ openPicker: x, bgColor: M }) => [
32968
32970
  b("button", {
32969
32971
  class: "ao-sprint-section__color-trigger",
32970
- style: Jt({ backgroundColor: M }),
32972
+ style: Dt({ backgroundColor: M }),
32971
32973
  title: "Sprint color",
32972
32974
  onClick: (I) => x(I.currentTarget)
32973
- }, null, 12, h2e)
32975
+ }, null, 12, f2e)
32974
32976
  ]),
32975
32977
  _: 1
32976
32978
  }, 8, ["color"]),
32977
- b("div", m2e, [
32978
- b("span", g2e, "Sprint " + R(t.sprint.number) + ":", 1),
32979
+ b("div", p2e, [
32980
+ b("span", h2e, "Sprint " + R(t.sprint.number) + ":", 1),
32979
32981
  tt(b("input", {
32980
32982
  "onUpdate:modelValue": E[3] || (E[3] = (x) => l.value.label = x),
32981
32983
  type: "text",
@@ -32985,7 +32987,7 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
32985
32987
  [Et, l.value.label]
32986
32988
  ])
32987
32989
  ]),
32988
- b("div", v2e, [
32990
+ b("div", m2e, [
32989
32991
  tt(b("input", {
32990
32992
  "onUpdate:modelValue": E[4] || (E[4] = (x) => l.value.startDate = x),
32991
32993
  type: "date",
@@ -33002,7 +33004,7 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
33002
33004
  [Et, l.value.endDate]
33003
33005
  ])
33004
33006
  ]),
33005
- b("div", _2e, [
33007
+ b("div", g2e, [
33006
33008
  N(Se, {
33007
33009
  color: "success",
33008
33010
  variant: "ghost",
@@ -33026,21 +33028,21 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
33026
33028
  class: "ao-sprint-section__header",
33027
33029
  onClick: v
33028
33030
  }, [
33029
- b("div", a2e, [
33030
- b("span", l2e, R(s.value ? "▾" : "▸"), 1),
33031
+ b("div", i2e, [
33032
+ b("span", s2e, R(s.value ? "▾" : "▸"), 1),
33031
33033
  b("span", {
33032
33034
  class: "ao-sprint-section__color-dot",
33033
- style: Jt({ backgroundColor: t.sprint.color || "var(--ao-color-primary-base)" })
33035
+ style: Dt({ backgroundColor: t.sprint.color || "var(--ao-color-primary-base)" })
33034
33036
  }, null, 4),
33035
- b("span", c2e, R(c.value), 1),
33036
- t.sprint.active ? P("", !0) : (k(), T("span", u2e, " Archived "))
33037
+ b("span", a2e, R(c.value), 1),
33038
+ t.sprint.active ? P("", !0) : (k(), T("span", l2e, " Archived "))
33037
33039
  ]),
33038
- b("div", d2e, [
33039
- b("span", f2e, R(u.value), 1),
33040
- b("span", p2e, [
33041
- Kt(R(f.value) + " " + R(f.value === 1 ? "activity" : "activities") + " ", 1),
33040
+ b("div", c2e, [
33041
+ b("span", u2e, R(u.value), 1),
33042
+ b("span", d2e, [
33043
+ Gt(R(f.value) + " " + R(f.value === 1 ? "activity" : "activities") + " ", 1),
33042
33044
  p.value ? (k(), T(Te, { key: 0 }, [
33043
- Kt(" · " + R(h.value) + R(g.value), 1)
33045
+ Gt(" · " + R(h.value) + R(g.value), 1)
33044
33046
  ], 64)) : P("", !0)
33045
33047
  ]),
33046
33048
  t.isEditable ? (k(), T("div", {
@@ -33069,7 +33071,7 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
33069
33071
  ])) : P("", !0)
33070
33072
  ])
33071
33073
  ])),
33072
- tt(b("div", y2e, [
33074
+ tt(b("div", v2e, [
33073
33075
  N(te(co), {
33074
33076
  list: t.activities,
33075
33077
  class: "ao-sprint-section__draggable",
@@ -33090,23 +33092,23 @@ const O0 = /* @__PURE__ */ de(s2e, [["__scopeId", "data-v-84a3be3d"]]), a2e = {
33090
33092
  ]),
33091
33093
  _: 1
33092
33094
  }, 8, ["list", "disabled"]),
33093
- t.activities.length === 0 ? (k(), T("div", b2e, " No activities ")) : P("", !0)
33095
+ t.activities.length === 0 ? (k(), T("div", _2e, " No activities ")) : P("", !0)
33094
33096
  ], 512), [
33095
33097
  [Ho, s.value && !a.value]
33096
33098
  ])
33097
33099
  ], 2));
33098
33100
  }
33099
33101
  });
33100
- const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = { class: "ao-sprint-list" }, S2e = { class: "ao-sprint-list__header" }, x2e = { class: "ao-sprint-list__title-group" }, A2e = { class: "ao-sprint-list__count" }, E2e = { class: "ao-sprint-list__actions" }, T2e = {
33102
+ const b2e = /* @__PURE__ */ de(y2e, [["__scopeId", "data-v-b4dd5b78"]]), C2e = { class: "ao-sprint-list" }, k2e = { class: "ao-sprint-list__header" }, w2e = { class: "ao-sprint-list__title-group" }, S2e = { class: "ao-sprint-list__count" }, x2e = { class: "ao-sprint-list__actions" }, A2e = {
33101
33103
  key: 0,
33102
33104
  class: "ao-sprint-list__toggle"
33103
- }, $2e = {
33105
+ }, E2e = {
33104
33106
  key: 0,
33105
33107
  class: "ao-sprint-list__create"
33106
- }, D2e = ["title", "onClick"], M2e = { class: "ao-sprint-list__create-title" }, L2e = { class: "ao-sprint-list__fixed-number" }, O2e = ["placeholder"], I2e = { class: "ao-sprint-list__date-fields" }, N2e = { class: "ao-sprint-list__row-actions" }, P2e = { class: "ao-sprint-list__sections" }, F2e = {
33108
+ }, T2e = ["title", "onClick"], $2e = { class: "ao-sprint-list__create-title" }, D2e = { class: "ao-sprint-list__fixed-number" }, M2e = ["placeholder"], L2e = { class: "ao-sprint-list__date-fields" }, O2e = { class: "ao-sprint-list__row-actions" }, I2e = { class: "ao-sprint-list__sections" }, N2e = {
33107
33109
  key: 1,
33108
33110
  class: "ao-sprint-list__empty"
33109
- }, R2e = /* @__PURE__ */ le({
33111
+ }, P2e = /* @__PURE__ */ le({
33110
33112
  __name: "AoSprintList",
33111
33113
  props: {
33112
33114
  sprints: {},
@@ -33115,7 +33117,7 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
33115
33117
  },
33116
33118
  emits: ["updateSprint", "archiveSprint", "unarchiveSprint", "createSprint", "activityChange", "openActivity"],
33117
33119
  setup(t, { emit: e }) {
33118
- const { t: n } = Ft(), o = t, r = e, i = Q(!1), s = Q(!1), a = Q({
33120
+ const { t: n } = Rt(), o = t, r = e, i = Q(!1), s = Q(!1), a = Q({
33119
33121
  label: "",
33120
33122
  startDate: "",
33121
33123
  endDate: "",
@@ -33147,21 +33149,21 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
33147
33149
  color: a.value.color || void 0
33148
33150
  }), s.value = !1);
33149
33151
  };
33150
- return (y, v) => (k(), T("section", w2e, [
33151
- b("div", S2e, [
33152
- b("div", x2e, [
33152
+ return (y, v) => (k(), T("section", C2e, [
33153
+ b("div", k2e, [
33154
+ b("div", w2e, [
33153
33155
  b("h3", null, R(te(n)("sprint.planning")), 1),
33154
- b("span", A2e, R(l.value.length), 1)
33156
+ b("span", S2e, R(l.value.length), 1)
33155
33157
  ]),
33156
- b("div", E2e, [
33157
- t.sprints.some((m) => !m.active) ? (k(), T("label", T2e, [
33158
+ b("div", x2e, [
33159
+ t.sprints.some((m) => !m.active) ? (k(), T("label", A2e, [
33158
33160
  tt(b("input", {
33159
33161
  "onUpdate:modelValue": v[0] || (v[0] = (m) => i.value = m),
33160
33162
  type: "checkbox"
33161
33163
  }, null, 512), [
33162
33164
  [sh, i.value]
33163
33165
  ]),
33164
- Kt(" " + R(te(n)("sprint.showArchived")), 1)
33166
+ Gt(" " + R(te(n)("sprint.showArchived")), 1)
33165
33167
  ])) : P("", !0),
33166
33168
  t.isEditable && !s.value ? (k(), Y(Se, {
33167
33169
  key: 1,
@@ -33175,7 +33177,7 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
33175
33177
  }, null, 8, ["label"])) : P("", !0)
33176
33178
  ])
33177
33179
  ]),
33178
- s.value ? (k(), T("div", $2e, [
33180
+ s.value ? (k(), T("div", E2e, [
33179
33181
  N(Js, {
33180
33182
  color: a.value.color,
33181
33183
  "onUpdate:color": v[1] || (v[1] = (m) => a.value.color = m)
@@ -33183,25 +33185,25 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
33183
33185
  clickable: ie(({ openPicker: m, bgColor: _ }) => [
33184
33186
  b("button", {
33185
33187
  class: "ao-sprint-list__color-trigger",
33186
- style: Jt({ backgroundColor: _ }),
33188
+ style: Dt({ backgroundColor: _ }),
33187
33189
  title: te(n)("sprint.color"),
33188
33190
  onClick: (C) => m(C.currentTarget)
33189
- }, null, 12, D2e)
33191
+ }, null, 12, T2e)
33190
33192
  ]),
33191
33193
  _: 1
33192
33194
  }, 8, ["color"]),
33193
- b("div", M2e, [
33194
- b("span", L2e, "Sprint " + R(c.value) + ":", 1),
33195
+ b("div", $2e, [
33196
+ b("span", D2e, "Sprint " + R(c.value) + ":", 1),
33195
33197
  tt(b("input", {
33196
33198
  "onUpdate:modelValue": v[2] || (v[2] = (m) => a.value.label = m),
33197
33199
  type: "text",
33198
33200
  class: "ao-sprint-list__input ao-sprint-list__input--label",
33199
33201
  placeholder: te(n)("sprint.label")
33200
- }, null, 8, O2e), [
33202
+ }, null, 8, M2e), [
33201
33203
  [Et, a.value.label]
33202
33204
  ])
33203
33205
  ]),
33204
- b("div", I2e, [
33206
+ b("div", L2e, [
33205
33207
  tt(b("input", {
33206
33208
  "onUpdate:modelValue": v[3] || (v[3] = (m) => a.value.startDate = m),
33207
33209
  type: "date",
@@ -33218,7 +33220,7 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
33218
33220
  [Et, a.value.endDate]
33219
33221
  ])
33220
33222
  ]),
33221
- b("div", N2e, [
33223
+ b("div", O2e, [
33222
33224
  N(Se, {
33223
33225
  color: "success",
33224
33226
  variant: "ghost",
@@ -33238,8 +33240,8 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
33238
33240
  }, null, 8, ["title"])
33239
33241
  ])
33240
33242
  ])) : P("", !0),
33241
- b("div", P2e, [
33242
- (k(!0), T(Te, null, Ye(l.value, (m) => (k(), Y(k2e, {
33243
+ b("div", I2e, [
33244
+ (k(!0), T(Te, null, Ye(l.value, (m) => (k(), Y(b2e, {
33243
33245
  key: m.id,
33244
33246
  sprint: m,
33245
33247
  activities: d(m.id),
@@ -33251,28 +33253,29 @@ const k2e = /* @__PURE__ */ de(C2e, [["__scopeId", "data-v-b4dd5b78"]]), w2e = {
33251
33253
  onOpenActivity: v[9] || (v[9] = (_) => r("openActivity", _))
33252
33254
  }, null, 8, ["sprint", "activities", "is-editable"]))), 128))
33253
33255
  ]),
33254
- l.value.length === 0 && !s.value ? (k(), T("div", F2e, R(te(n)("sprint.noSprints")), 1)) : P("", !0)
33256
+ l.value.length === 0 && !s.value ? (k(), T("div", N2e, R(te(n)("sprint.noSprints")), 1)) : P("", !0)
33255
33257
  ]));
33256
33258
  }
33257
33259
  });
33258
- const B2e = /* @__PURE__ */ de(R2e, [["__scopeId", "data-v-3ca83674"]]), U2e = { class: "ao-backlog-section" }, H2e = { class: "ao-backlog-section__header-left" }, z2e = { class: "ao-backlog-section__expand-icon" }, q2e = { class: "ao-backlog-section__name" }, j2e = {
33259
- key: 0,
33260
+ const F2e = /* @__PURE__ */ de(P2e, [["__scopeId", "data-v-3ca83674"]]), R2e = { class: "ao-backlog-section" }, B2e = { class: "ao-backlog-section__header-left" }, U2e = { class: "ao-backlog-section__expand-icon" }, H2e = { class: "ao-backlog-section__name" }, z2e = {
33261
+ key: 1,
33260
33262
  class: "ao-backlog-section__phase"
33261
- }, V2e = { class: "ao-backlog-section__header-right" }, W2e = { class: "ao-backlog-section__count" }, Z2e = { class: "ao-backlog-section__content" }, K2e = {
33263
+ }, q2e = { class: "ao-backlog-section__header-right" }, j2e = { class: "ao-backlog-section__count" }, V2e = { class: "ao-backlog-section__content" }, W2e = {
33262
33264
  key: 1,
33263
33265
  class: "ao-backlog-section__empty"
33264
- }, G2e = { class: "ao-backlog-section__drop-hint" }, Y2e = /* @__PURE__ */ le({
33266
+ }, Z2e = { class: "ao-backlog-section__drop-hint" }, K2e = /* @__PURE__ */ le({
33265
33267
  __name: "AoBacklogSection",
33266
33268
  props: {
33267
33269
  milestoneId: {},
33268
33270
  milestoneName: {},
33271
+ milestoneColor: {},
33269
33272
  phaseName: {},
33270
33273
  activities: {},
33271
33274
  isEditable: { type: Boolean, default: !1 }
33272
33275
  },
33273
33276
  emits: ["activityChange", "openActivity"],
33274
33277
  setup(t, { emit: e }) {
33275
- const { t: n } = Ft(), o = t, r = e, i = Q(!0), s = O(() => o.activities.length), a = () => {
33278
+ const { t: n } = Rt(), o = t, r = e, i = Q(!0), s = O(() => o.activities.length), a = () => {
33276
33279
  i.value = !i.value;
33277
33280
  }, l = (u) => {
33278
33281
  if (u.added) {
@@ -33287,21 +33290,27 @@ const B2e = /* @__PURE__ */ de(R2e, [["__scopeId", "data-v-3ca83674"]]), U2e = {
33287
33290
  const f = o.activities.map((d) => d.id);
33288
33291
  r("openActivity", { activityId: u, activityIds: f });
33289
33292
  };
33290
- return (u, f) => (k(), T("div", U2e, [
33293
+ return (u, f) => (k(), T("div", R2e, [
33291
33294
  b("div", {
33292
33295
  class: "ao-backlog-section__header",
33293
33296
  onClick: a
33294
33297
  }, [
33295
- b("div", H2e, [
33296
- b("span", z2e, R(i.value ? "▾" : "▸"), 1),
33297
- b("span", q2e, R(t.milestoneName), 1),
33298
- t.phaseName ? (k(), T("span", j2e, R(t.phaseName), 1)) : P("", !0)
33298
+ b("div", B2e, [
33299
+ b("span", U2e, R(i.value ? "▾" : "▸"), 1),
33300
+ t.milestoneColor ? (k(), T("span", {
33301
+ key: 0,
33302
+ class: "ao-backlog-section__milestone-marker",
33303
+ style: Dt({ backgroundColor: t.milestoneColor }),
33304
+ "aria-hidden": "true"
33305
+ }, null, 4)) : P("", !0),
33306
+ b("span", H2e, R(t.milestoneName), 1),
33307
+ t.phaseName ? (k(), T("span", z2e, R(t.phaseName), 1)) : P("", !0)
33299
33308
  ]),
33300
- b("div", V2e, [
33301
- b("span", W2e, R(s.value) + " " + R(s.value === 1 ? te(n)("backlog.activity") : te(n)("backlog.activities")), 1)
33309
+ b("div", q2e, [
33310
+ b("span", j2e, R(s.value) + " " + R(s.value === 1 ? te(n)("backlog.activity") : te(n)("backlog.activities")), 1)
33302
33311
  ])
33303
33312
  ]),
33304
- tt(b("div", Z2e, [
33313
+ tt(b("div", V2e, [
33305
33314
  t.activities.length > 0 ? (k(), Y(te(co), {
33306
33315
  key: 0,
33307
33316
  list: t.activities,
@@ -33323,8 +33332,8 @@ const B2e = /* @__PURE__ */ de(R2e, [["__scopeId", "data-v-3ca83674"]]), U2e = {
33323
33332
  }, null, 8, ["activity", "is-draggable"])
33324
33333
  ]),
33325
33334
  _: 1
33326
- }, 8, ["list", "disabled"])) : (k(), T("div", K2e, [
33327
- b("span", G2e, R(te(n)("backlog.dropHere")), 1)
33335
+ }, 8, ["list", "disabled"])) : (k(), T("div", W2e, [
33336
+ b("span", Z2e, R(te(n)("backlog.dropHere")), 1)
33328
33337
  ]))
33329
33338
  ], 512), [
33330
33339
  [Ho, i.value]
@@ -33332,13 +33341,13 @@ const B2e = /* @__PURE__ */ de(R2e, [["__scopeId", "data-v-3ca83674"]]), U2e = {
33332
33341
  ]));
33333
33342
  }
33334
33343
  });
33335
- const J2e = /* @__PURE__ */ de(Y2e, [["__scopeId", "data-v-aa34e83b"]]), X2e = { class: "ao-backlog" }, Q2e = { class: "ao-backlog__header" }, e_e = { class: "ao-backlog__count" }, t_e = {
33344
+ const G2e = /* @__PURE__ */ de(K2e, [["__scopeId", "data-v-246aaa65"]]), Y2e = { class: "ao-backlog" }, J2e = { class: "ao-backlog__header" }, X2e = { class: "ao-backlog__count" }, Q2e = {
33336
33345
  key: 0,
33337
33346
  class: "ao-backlog__sections"
33338
- }, n_e = {
33347
+ }, e_e = {
33339
33348
  key: 1,
33340
33349
  class: "ao-backlog__empty"
33341
- }, o_e = /* @__PURE__ */ le({
33350
+ }, t_e = /* @__PURE__ */ le({
33342
33351
  __name: "AoBacklog",
33343
33352
  props: {
33344
33353
  activities: {},
@@ -33346,7 +33355,7 @@ const J2e = /* @__PURE__ */ de(Y2e, [["__scopeId", "data-v-aa34e83b"]]), X2e = {
33346
33355
  },
33347
33356
  emits: ["activityChange", "openActivity"],
33348
33357
  setup(t, { emit: e }) {
33349
- const { t: n } = Ft(), o = t, r = e, i = O(() => o.activities.filter((a) => {
33358
+ const { t: n } = Rt(), o = t, r = e, i = O(() => o.activities.filter((a) => {
33350
33359
  var u, f, d, p;
33351
33360
  if (a.sprint || a.active === !1)
33352
33361
  return !1;
@@ -33369,33 +33378,35 @@ const J2e = /* @__PURE__ */ de(Y2e, [["__scopeId", "data-v-aa34e83b"]]), X2e = {
33369
33378
  a.set(h, {
33370
33379
  milestoneId: h,
33371
33380
  milestoneName: (d == null ? void 0 : d.name) ?? n("backlog.noMilestone"),
33381
+ milestoneColor: (d == null ? void 0 : d.color) ?? void 0,
33372
33382
  phaseName: p == null ? void 0 : p.name,
33373
33383
  activities: [f]
33374
33384
  });
33375
33385
  }
33376
33386
  return Array.from(a.values()).sort((f, d) => (l.get(f.milestoneId) ?? Number.MAX_SAFE_INTEGER) - (l.get(d.milestoneId) ?? Number.MAX_SAFE_INTEGER));
33377
33387
  });
33378
- return (a, l) => (k(), T("section", X2e, [
33379
- b("div", Q2e, [
33388
+ return (a, l) => (k(), T("section", Y2e, [
33389
+ b("div", J2e, [
33380
33390
  b("h3", null, R(te(n)("backlog.title")), 1),
33381
- b("span", e_e, R(i.value.length), 1)
33391
+ b("span", X2e, R(i.value.length), 1)
33382
33392
  ]),
33383
- s.value.length > 0 ? (k(), T("div", t_e, [
33384
- (k(!0), T(Te, null, Ye(s.value, (c) => (k(), Y(J2e, {
33393
+ s.value.length > 0 ? (k(), T("div", Q2e, [
33394
+ (k(!0), T(Te, null, Ye(s.value, (c) => (k(), Y(G2e, {
33385
33395
  key: c.milestoneId,
33386
33396
  "milestone-id": c.milestoneId,
33387
33397
  "milestone-name": c.milestoneName,
33398
+ "milestone-color": c.milestoneColor,
33388
33399
  "phase-name": c.phaseName,
33389
33400
  activities: c.activities,
33390
33401
  "is-editable": t.isEditable,
33391
33402
  onActivityChange: l[0] || (l[0] = (u) => r("activityChange", u)),
33392
33403
  onOpenActivity: l[1] || (l[1] = (u) => r("openActivity", u))
33393
- }, null, 8, ["milestone-id", "milestone-name", "phase-name", "activities", "is-editable"]))), 128))
33394
- ])) : (k(), T("div", n_e, R(te(n)("backlog.empty")), 1))
33404
+ }, null, 8, ["milestone-id", "milestone-name", "milestone-color", "phase-name", "activities", "is-editable"]))), 128))
33405
+ ])) : (k(), T("div", e_e, R(te(n)("backlog.empty")), 1))
33395
33406
  ]));
33396
33407
  }
33397
33408
  });
33398
- const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = { class: "ao-sprint-planning" }, s_e = { class: "ao-sprint-planning__sprint" }, a_e = { class: "ao-sprint-planning__backlog" }, l_e = { class: "ao-sprint-planning__nav-buttons" }, c_e = { class: "ao-sprint-planning__nav-indicator" }, u_e = /* @__PURE__ */ le({
33409
+ const n_e = /* @__PURE__ */ de(t_e, [["__scopeId", "data-v-bf152434"]]), o_e = { class: "ao-sprint-planning" }, r_e = { class: "ao-sprint-planning__sprint" }, i_e = { class: "ao-sprint-planning__backlog" }, s_e = { class: "ao-sprint-planning__nav-buttons" }, a_e = { class: "ao-sprint-planning__nav-indicator" }, l_e = /* @__PURE__ */ le({
33399
33410
  __name: "AoSprintPlanning",
33400
33411
  props: {
33401
33412
  sprints: {},
@@ -33439,15 +33450,15 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
33439
33450
  const m = v.target;
33440
33451
  m instanceof HTMLInputElement || m instanceof HTMLTextAreaElement || m instanceof HTMLSelectElement || m.isContentEditable || (v.key === "ArrowLeft" ? (v.preventDefault(), v.stopImmediatePropagation(), h()) : v.key === "ArrowRight" ? (v.preventDefault(), v.stopImmediatePropagation(), g()) : v.key === "Escape" && (v.preventDefault(), v.stopImmediatePropagation(), p()));
33441
33452
  };
33442
- return Dt(() => {
33453
+ return Mt(() => {
33443
33454
  window.addEventListener("keydown", y);
33444
33455
  }), _n(() => {
33445
33456
  window.removeEventListener("keydown", y);
33446
33457
  }), (v, m) => {
33447
33458
  var _;
33448
- return k(), T("div", i_e, [
33449
- b("div", s_e, [
33450
- N(B2e, {
33459
+ return k(), T("div", o_e, [
33460
+ b("div", r_e, [
33461
+ N(F2e, {
33451
33462
  sprints: t.sprints,
33452
33463
  activities: t.activities,
33453
33464
  "is-editable": t.isEditable,
@@ -33459,8 +33470,8 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
33459
33470
  onOpenActivity: d
33460
33471
  }, null, 8, ["sprints", "activities", "is-editable"])
33461
33472
  ]),
33462
- b("div", a_e, [
33463
- N(r_e, {
33473
+ b("div", i_e, [
33474
+ N(n_e, {
33464
33475
  activities: t.activities,
33465
33476
  "is-editable": t.isEditable,
33466
33477
  onActivityChange: m[5] || (m[5] = (C) => o("activityChange", C)),
@@ -33498,7 +33509,7 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
33498
33509
  onFetchHistory: m[15] || (m[15] = (C) => o("fetchHistory"))
33499
33510
  }, {
33500
33511
  header: ie(() => [
33501
- b("div", l_e, [
33512
+ b("div", s_e, [
33502
33513
  N(Se, {
33503
33514
  variant: "ghost",
33504
33515
  size: "sm",
@@ -33507,7 +33518,7 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
33507
33518
  title: v.$t("activity.previousActivity"),
33508
33519
  onClick: h
33509
33520
  }, null, 8, ["disabled", "title"]),
33510
- b("span", c_e, R(s.value + 1) + " / " + R(i.value.length), 1),
33521
+ b("span", a_e, R(s.value + 1) + " / " + R(i.value.length), 1),
33511
33522
  N(Se, {
33512
33523
  variant: "ghost",
33513
33524
  size: "sm",
@@ -33525,9 +33536,9 @@ const r_e = /* @__PURE__ */ de(o_e, [["__scopeId", "data-v-ea5b6315"]]), i_e = {
33525
33536
  };
33526
33537
  }
33527
33538
  });
33528
- const A_e = /* @__PURE__ */ de(u_e, [["__scopeId", "data-v-c0e0c3c8"]]);
33539
+ const S_e = /* @__PURE__ */ de(l_e, [["__scopeId", "data-v-c0e0c3c8"]]);
33529
33540
  export {
33530
- x_e as AoAuditConfigTable,
33541
+ w_e as AoAuditConfigTable,
33531
33542
  Pn as AoAvatar,
33532
33543
  L0 as AoCardFeed,
33533
33544
  yve as AoCheckboxField,
@@ -33535,23 +33546,23 @@ export {
33535
33546
  rh as AoFeed,
33536
33547
  hve as AoField,
33537
33548
  rfe as AoHistory,
33538
- S_e as AoInputField,
33539
- zt as AoMultiselect,
33549
+ k_e as AoInputField,
33550
+ qt as AoMultiselect,
33540
33551
  $0 as AoProjectPhases,
33541
- A_e as AoSprintPlanning,
33552
+ S_e as AoSprintPlanning,
33542
33553
  Yl as AoTabBar,
33543
33554
  Zpe as AoTemplateDetails,
33544
- m_e as AoTemplates,
33555
+ p_e as AoTemplates,
33545
33556
  fve as AoTemplatesList,
33546
33557
  D5 as EstimationUnit,
33547
33558
  $5 as TemplateItemTypeEnum,
33548
33559
  Yr as activityFeedRoutes,
33549
- v_e as activityFeedStatus,
33550
- g_e as durationTypes,
33560
+ m_e as activityFeedStatus,
33561
+ h_e as durationTypes,
33551
33562
  Yn as feedFilterTypes,
33552
- w_e as getProjectOverviewRoutes,
33553
- k_e as getTemplateRoutes,
33554
- __e as listUpdateTypes,
33563
+ C_e as getProjectOverviewRoutes,
33564
+ b_e as getTemplateRoutes,
33565
+ g_e as listUpdateTypes,
33555
33566
  La as milestoneStatus,
33556
33567
  nt as projectOverviewRoutes,
33557
33568
  A5 as ruleComparators,