@26lights/orcha 0.42.118 → 0.42.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Eg = Object.defineProperty;
2
2
  var Dg = (t, e, n) => e in t ? Eg(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var K = (t, e, n) => (Dg(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import { defineComponent as de, openBlock as x, createBlock as Y, unref as ve, mergeProps as Ht, createElementBlock as D, createElementVNode as k, createStaticVNode as $g, computed as O, resolveDynamicComponent as Mo, normalizeClass as be, renderSlot as we, toDisplayString as ne, createCommentVNode as R, ref as oe, watch as Pe, nextTick as ln, withKeys as ai, toHandlers as Mg, withCtx as fe, createTextVNode as Du, createVNode as N, normalizeStyle as Xn, withModifiers as Ae, createSlots as As, Fragment as Ve, renderList as pt, onMounted as Rt, onBeforeUnmount as $u, onUnmounted as Sn, Teleport as vr, toRefs as hn, getCurrentInstance as Oo, toRef as Qo, normalizeProps as Ts, guardReactiveProps as Es, withDirectives as Nt, vShow as ba, provide as Og, inject as Lg, useTemplateRef as Ig, readonly as Ng, toValue as Ql, watchEffect as Yp, shallowRef as Ta, h as Pg, vModelText as Mn, resolveComponent as $r, vModelCheckbox as Fg, getCurrentScope as Rg, onScopeDispose as Bg, toHandlerKey as Ug } from "vue";
4
+ import { defineComponent as de, openBlock as x, createBlock as Y, unref as ve, mergeProps as Ht, createElementBlock as D, createElementVNode as k, createStaticVNode as $g, computed as O, resolveDynamicComponent as Mo, normalizeClass as be, renderSlot as we, toDisplayString as ne, createCommentVNode as R, ref as oe, watch as Pe, nextTick as ln, withKeys as ai, toHandlers as Mg, withCtx as fe, createTextVNode as Du, createVNode as N, normalizeStyle as Xn, withModifiers as Ae, createSlots as As, Fragment as je, renderList as pt, onMounted as Rt, onBeforeUnmount as $u, onUnmounted as Sn, Teleport as vr, toRefs as hn, getCurrentInstance as Oo, toRef as Qo, normalizeProps as Ts, guardReactiveProps as Es, withDirectives as Nt, vShow as ba, provide as Og, inject as Lg, useTemplateRef as Ig, readonly as Ng, toValue as Ql, watchEffect as Yp, shallowRef as Ta, h as Pg, vModelText as Mn, resolveComponent as $r, vModelCheckbox as Fg, getCurrentScope as Rg, onScopeDispose as Bg, toHandlerKey as Ug } from "vue";
5
5
  import { RouterView as qg, useRoute as Jp, useRouter as Mu } from "vue-router";
6
6
  import jr from "vuedraggable";
7
7
  const D0e = /* @__PURE__ */ de({
@@ -1496,7 +1496,7 @@ const Ea = {
1496
1496
  DAYS: "days",
1497
1497
  WEEKS: "weeks",
1498
1498
  MONTHS: "months"
1499
- }, at = {
1499
+ }, lt = {
1500
1500
  TEMPLATES: "templates",
1501
1501
  PHASES: "phases",
1502
1502
  MILESTONES: "milestones",
@@ -1653,7 +1653,7 @@ function O7(t, e) {
1653
1653
  var n = Vt(t), r = Ma(n, e).getTime() - $7(n, e).getTime();
1654
1654
  return Math.round(r / M7) + 1;
1655
1655
  }
1656
- function We(t, e) {
1656
+ function Ze(t, e) {
1657
1657
  for (var n = t < 0 ? "-" : "", r = Math.abs(t).toString(); r.length < e; )
1658
1658
  r = "0" + r;
1659
1659
  return n + r;
@@ -1662,16 +1662,16 @@ var L7 = {
1662
1662
  // Year
1663
1663
  y: function(e, n) {
1664
1664
  var r = e.getUTCFullYear(), o = r > 0 ? r : 1 - r;
1665
- return We(n === "yy" ? o % 100 : o, n.length);
1665
+ return Ze(n === "yy" ? o % 100 : o, n.length);
1666
1666
  },
1667
1667
  // Month
1668
1668
  M: function(e, n) {
1669
1669
  var r = e.getUTCMonth();
1670
- return n === "M" ? String(r + 1) : We(r + 1, 2);
1670
+ return n === "M" ? String(r + 1) : Ze(r + 1, 2);
1671
1671
  },
1672
1672
  // Day of the month
1673
1673
  d: function(e, n) {
1674
- return We(e.getUTCDate(), n.length);
1674
+ return Ze(e.getUTCDate(), n.length);
1675
1675
  },
1676
1676
  // AM or PM
1677
1677
  a: function(e, n) {
@@ -1691,24 +1691,24 @@ var L7 = {
1691
1691
  },
1692
1692
  // Hour [1-12]
1693
1693
  h: function(e, n) {
1694
- return We(e.getUTCHours() % 12 || 12, n.length);
1694
+ return Ze(e.getUTCHours() % 12 || 12, n.length);
1695
1695
  },
1696
1696
  // Hour [0-23]
1697
1697
  H: function(e, n) {
1698
- return We(e.getUTCHours(), n.length);
1698
+ return Ze(e.getUTCHours(), n.length);
1699
1699
  },
1700
1700
  // Minute
1701
1701
  m: function(e, n) {
1702
- return We(e.getUTCMinutes(), n.length);
1702
+ return Ze(e.getUTCMinutes(), n.length);
1703
1703
  },
1704
1704
  // Second
1705
1705
  s: function(e, n) {
1706
- return We(e.getUTCSeconds(), n.length);
1706
+ return Ze(e.getUTCSeconds(), n.length);
1707
1707
  },
1708
1708
  // Fraction of second
1709
1709
  S: function(e, n) {
1710
1710
  var r = n.length, o = e.getUTCMilliseconds(), i = Math.floor(o * Math.pow(10, r - 3));
1711
- return We(i, n.length);
1711
+ return Ze(i, n.length);
1712
1712
  }
1713
1713
  };
1714
1714
  const Er = L7;
@@ -1758,16 +1758,16 @@ var qo = {
1758
1758
  var i = oh(e, o), s = i > 0 ? i : 1 - i;
1759
1759
  if (n === "YY") {
1760
1760
  var a = s % 100;
1761
- return We(a, 2);
1761
+ return Ze(a, 2);
1762
1762
  }
1763
1763
  return n === "Yo" ? r.ordinalNumber(s, {
1764
1764
  unit: "year"
1765
- }) : We(s, n.length);
1765
+ }) : Ze(s, n.length);
1766
1766
  },
1767
1767
  // ISO week-numbering year
1768
1768
  R: function(e, n) {
1769
1769
  var r = rh(e);
1770
- return We(r, n.length);
1770
+ return Ze(r, n.length);
1771
1771
  },
1772
1772
  // Extended year. This is a single number designating the year of this calendar system.
1773
1773
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -1780,7 +1780,7 @@ var qo = {
1780
1780
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
1781
1781
  u: function(e, n) {
1782
1782
  var r = e.getUTCFullYear();
1783
- return We(r, n.length);
1783
+ return Ze(r, n.length);
1784
1784
  },
1785
1785
  // Quarter
1786
1786
  Q: function(e, n, r) {
@@ -1789,7 +1789,7 @@ var qo = {
1789
1789
  case "Q":
1790
1790
  return String(o);
1791
1791
  case "QQ":
1792
- return We(o, 2);
1792
+ return Ze(o, 2);
1793
1793
  case "Qo":
1794
1794
  return r.ordinalNumber(o, {
1795
1795
  unit: "quarter"
@@ -1819,7 +1819,7 @@ var qo = {
1819
1819
  case "q":
1820
1820
  return String(o);
1821
1821
  case "qq":
1822
- return We(o, 2);
1822
+ return Ze(o, 2);
1823
1823
  case "qo":
1824
1824
  return r.ordinalNumber(o, {
1825
1825
  unit: "quarter"
@@ -1878,7 +1878,7 @@ var qo = {
1878
1878
  case "L":
1879
1879
  return String(o + 1);
1880
1880
  case "LL":
1881
- return We(o + 1, 2);
1881
+ return Ze(o + 1, 2);
1882
1882
  case "Lo":
1883
1883
  return r.ordinalNumber(o + 1, {
1884
1884
  unit: "month"
@@ -1906,14 +1906,14 @@ var qo = {
1906
1906
  var i = O7(e, o);
1907
1907
  return n === "wo" ? r.ordinalNumber(i, {
1908
1908
  unit: "week"
1909
- }) : We(i, n.length);
1909
+ }) : Ze(i, n.length);
1910
1910
  },
1911
1911
  // ISO week of year
1912
1912
  I: function(e, n, r) {
1913
1913
  var o = D7(e);
1914
1914
  return n === "Io" ? r.ordinalNumber(o, {
1915
1915
  unit: "week"
1916
- }) : We(o, n.length);
1916
+ }) : Ze(o, n.length);
1917
1917
  },
1918
1918
  // Day of the month
1919
1919
  d: function(e, n, r) {
@@ -1926,7 +1926,7 @@ var qo = {
1926
1926
  var o = A7(e);
1927
1927
  return n === "Do" ? r.ordinalNumber(o, {
1928
1928
  unit: "dayOfYear"
1929
- }) : We(o, n.length);
1929
+ }) : Ze(o, n.length);
1930
1930
  },
1931
1931
  // Day of week
1932
1932
  E: function(e, n, r) {
@@ -1964,7 +1964,7 @@ var qo = {
1964
1964
  case "e":
1965
1965
  return String(s);
1966
1966
  case "ee":
1967
- return We(s, 2);
1967
+ return Ze(s, 2);
1968
1968
  case "eo":
1969
1969
  return r.ordinalNumber(s, {
1970
1970
  unit: "day"
@@ -1999,7 +1999,7 @@ var qo = {
1999
1999
  case "c":
2000
2000
  return String(s);
2001
2001
  case "cc":
2002
- return We(s, n.length);
2002
+ return Ze(s, n.length);
2003
2003
  case "co":
2004
2004
  return r.ordinalNumber(s, {
2005
2005
  unit: "day"
@@ -2034,7 +2034,7 @@ var qo = {
2034
2034
  case "i":
2035
2035
  return String(i);
2036
2036
  case "ii":
2037
- return We(i, n.length);
2037
+ return Ze(i, n.length);
2038
2038
  case "io":
2039
2039
  return r.ordinalNumber(i, {
2040
2040
  unit: "day"
@@ -2163,14 +2163,14 @@ var qo = {
2163
2163
  var o = e.getUTCHours() % 12;
2164
2164
  return n === "Ko" ? r.ordinalNumber(o, {
2165
2165
  unit: "hour"
2166
- }) : We(o, n.length);
2166
+ }) : Ze(o, n.length);
2167
2167
  },
2168
2168
  // Hour [1-24]
2169
2169
  k: function(e, n, r) {
2170
2170
  var o = e.getUTCHours();
2171
2171
  return o === 0 && (o = 24), n === "ko" ? r.ordinalNumber(o, {
2172
2172
  unit: "hour"
2173
- }) : We(o, n.length);
2173
+ }) : Ze(o, n.length);
2174
2174
  },
2175
2175
  // Minute
2176
2176
  m: function(e, n, r) {
@@ -2249,12 +2249,12 @@ var qo = {
2249
2249
  // Seconds timestamp
2250
2250
  t: function(e, n, r, o) {
2251
2251
  var i = o._originalDate || e, s = Math.floor(i.getTime() / 1e3);
2252
- return We(s, n.length);
2252
+ return Ze(s, n.length);
2253
2253
  },
2254
2254
  // Milliseconds timestamp
2255
2255
  T: function(e, n, r, o) {
2256
2256
  var i = o._originalDate || e, s = i.getTime();
2257
- return We(s, n.length);
2257
+ return Ze(s, n.length);
2258
2258
  }
2259
2259
  };
2260
2260
  function t1(t, e) {
@@ -2262,17 +2262,17 @@ function t1(t, e) {
2262
2262
  if (i === 0)
2263
2263
  return n + String(o);
2264
2264
  var s = e || "";
2265
- return n + String(o) + s + We(i, 2);
2265
+ return n + String(o) + s + Ze(i, 2);
2266
2266
  }
2267
2267
  function n1(t, e) {
2268
2268
  if (t % 60 === 0) {
2269
2269
  var n = t > 0 ? "-" : "+";
2270
- return n + We(Math.abs(t) / 60, 2);
2270
+ return n + Ze(Math.abs(t) / 60, 2);
2271
2271
  }
2272
2272
  return io(t, e);
2273
2273
  }
2274
2274
  function io(t, e) {
2275
- var n = e || "", r = t > 0 ? "-" : "+", o = Math.abs(t), i = We(Math.floor(o / 60), 2), s = We(o % 60, 2);
2275
+ var n = e || "", r = t > 0 ? "-" : "+", o = Math.abs(t), i = Ze(Math.floor(o / 60), 2), s = Ze(o % 60, 2);
2276
2276
  return r + i + n + s;
2277
2277
  }
2278
2278
  const N7 = I7;
@@ -3926,7 +3926,7 @@ const mb = { class: "ao-card-template__subitems" }, gb = { class: "ao-card-templ
3926
3926
  k("span", kb, ne(l.$t("template.phases.title")), 1)
3927
3927
  ]),
3928
3928
  t.phases ? (x(), D("ul", xb, [
3929
- (x(!0), D(Ve, null, pt(s.value, (u) => (x(), Y(ds, {
3929
+ (x(!0), D(je, null, pt(s.value, (u) => (x(), Y(ds, {
3930
3930
  key: u.id,
3931
3931
  label: u.name || u.id,
3932
3932
  color: "primary",
@@ -4072,7 +4072,7 @@ const qb = { class: "ao-card-template-item__footer" }, Hb = {
4072
4072
  return (a, l) => (x(), Y(Qp, { "onUpdate:title": r }, {
4073
4073
  footer: fe(() => [
4074
4074
  k("ul", qb, [
4075
- (x(), D(Ve, null, pt(o, (c) => (x(), D(Ve, { key: c }, [
4075
+ (x(), D(je, null, pt(o, (c) => (x(), D(je, { key: c }, [
4076
4076
  a.$props[c] ? (x(), D("li", Hb, [
4077
4077
  N(Ne, {
4078
4078
  name: i[c],
@@ -5310,34 +5310,34 @@ function HC(t, e, n) {
5310
5310
  disabledProp: ae,
5311
5311
  searchStart: le,
5312
5312
  searchFilter: De
5313
- } = hn(t), ge = Oo().proxy, ye = n.iv, W = n.ev, he = n.search, Oe = n.clearSearch, Ze = n.update, bt = n.pointer, Z = n.setPointer, ce = n.clearPointer, Ke = n.focus, _e = n.deactivate, ct = n.close, Ie = n.localize, Je = oe([]), Qe = oe([]), ze = oe(!1), st = oe(null), dt = oe(H.value && s.value === -1 ? 10 : s.value), qn = O(() => l.value || c.value || !1), sr = O(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), tt = O(() => {
5313
+ } = hn(t), ge = Oo().proxy, ye = n.iv, W = n.ev, he = n.search, Oe = n.clearSearch, Ke = n.update, bt = n.pointer, Z = n.setPointer, ce = n.clearPointer, Ge = n.focus, _e = n.deactivate, ut = n.close, Ie = n.localize, ze = oe([]), et = oe([]), Fe = oe(!1), Ye = oe(null), at = oe(H.value && s.value === -1 ? 10 : s.value), qn = O(() => l.value || c.value || !1), sr = O(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), nt = O(() => {
5314
5314
  if (I.value) {
5315
5315
  let P = jt.value || /* istanbul ignore next */
5316
5316
  [], re = [];
5317
5317
  return P.forEach((Le) => {
5318
- Ii(Le[J.value]).forEach((nt) => {
5319
- re.push(Object.assign({}, nt, Le[ae.value] ? { [ae.value]: !0 } : {}));
5318
+ Ii(Le[J.value]).forEach((rt) => {
5319
+ re.push(Object.assign({}, rt, Le[ae.value] ? { [ae.value]: !0 } : {}));
5320
5320
  });
5321
5321
  }), re;
5322
5322
  } else {
5323
- let P = Ii(Qe.value || /* istanbul ignore next */
5323
+ let P = Ii(et.value || /* istanbul ignore next */
5324
5324
  []);
5325
- return Je.value.length && (P = P.concat(Je.value)), P;
5325
+ return ze.value.length && (P = P.concat(ze.value)), P;
5326
5326
  }
5327
5327
  }), Lt = O(() => {
5328
- let P = tt.value;
5328
+ let P = nt.value;
5329
5329
  return U.value && (P = P.reverse()), ft.value.length && (P = ft.value.concat(P)), Li(P);
5330
5330
  }), Ct = O(() => {
5331
5331
  let P = Lt.value;
5332
- return dt.value > 0 && (P = P.slice(0, dt.value)), P;
5332
+ return at.value > 0 && (P = P.slice(0, at.value)), P;
5333
5333
  }), jt = O(() => {
5334
5334
  if (!I.value)
5335
5335
  return [];
5336
- let P = [], re = Qe.value || /* istanbul ignore next */
5336
+ let P = [], re = et.value || /* istanbul ignore next */
5337
5337
  [];
5338
- return Je.value.length && P.push({
5338
+ return ze.value.length && P.push({
5339
5339
  [E.value]: " ",
5340
- [J.value]: [...Je.value],
5340
+ [J.value]: [...ze.value],
5341
5341
  __CREATE__: !0
5342
5342
  }), P.concat(re);
5343
5343
  }), An = O(() => {
@@ -5353,13 +5353,13 @@ function HC(t, e, n) {
5353
5353
  let P = An.value;
5354
5354
  return eo((P || /* istanbul ignore next */
5355
5355
  []).map((re, Le) => {
5356
- const nt = Ii(re[J.value]);
5356
+ const rt = Ii(re[J.value]);
5357
5357
  return {
5358
5358
  ...re,
5359
5359
  index: Le,
5360
5360
  group: !0,
5361
- [J.value]: Li(nt, !1).map((ar) => Object.assign({}, ar, re[ae.value] ? { [ae.value]: !0 } : {})),
5362
- __VISIBLE__: Li(nt).map((ar) => Object.assign({}, ar, re[ae.value] ? { [ae.value]: !0 } : {}))
5361
+ [J.value]: Li(rt, !1).map((ar) => Object.assign({}, ar, re[ae.value] ? { [ae.value]: !0 } : {})),
5362
+ __VISIBLE__: Li(rt).map((ar) => Object.assign({}, ar, re[ae.value] ? { [ae.value]: !0 } : {}))
5363
5363
  };
5364
5364
  }));
5365
5365
  }), F = O(() => {
@@ -5370,12 +5370,12 @@ function HC(t, e, n) {
5370
5370
  case "tags":
5371
5371
  return !Vn(ye.value) && ye.value.length > 0;
5372
5372
  }
5373
- }), ee = O(() => p !== void 0 && p.value !== void 0 ? p.value(ye.value, ge) : ye.value && ye.value.length > 1 ? `${ye.value.length} options selected` : "1 option selected"), xe = O(() => !tt.value.length && !ze.value && !ft.value.length), ut = O(() => tt.value.length > 0 && Ct.value.length == 0 && (he.value && I.value || !I.value)), ft = O(() => qn.value === !1 || !he.value ? [] : Gs(he.value) !== -1 ? [] : [{
5373
+ }), ee = O(() => p !== void 0 && p.value !== void 0 ? p.value(ye.value, ge) : ye.value && ye.value.length > 1 ? `${ye.value.length} options selected` : "1 option selected"), xe = O(() => !nt.value.length && !Fe.value && !ft.value.length), dt = O(() => nt.value.length > 0 && Ct.value.length == 0 && (he.value && I.value || !I.value)), ft = O(() => qn.value === !1 || !he.value ? [] : Gs(he.value) !== -1 ? [] : [{
5374
5374
  [b.value]: he.value,
5375
5375
  [Bt.value[0]]: he.value,
5376
5376
  [u.value]: he.value,
5377
5377
  __CREATE__: !0
5378
- }]), Bt = O(() => i.value ? Array.isArray(i.value) ? i.value : [i.value] : [u.value]), Be = O(() => {
5378
+ }]), Bt = O(() => i.value ? Array.isArray(i.value) ? i.value : [i.value] : [u.value]), Ue = O(() => {
5379
5379
  switch (o.value) {
5380
5380
  case "single":
5381
5381
  return null;
@@ -5383,14 +5383,14 @@ function HC(t, e, n) {
5383
5383
  case "tags":
5384
5384
  return [];
5385
5385
  }
5386
- }), Xr = O(() => m.value || ze.value), Xt = (P) => {
5386
+ }), Xr = O(() => m.value || Fe.value), Xt = (P) => {
5387
5387
  switch (typeof P != "object" && (P = rn(P)), o.value) {
5388
5388
  case "single":
5389
- Ze(P);
5389
+ Ke(P);
5390
5390
  break;
5391
5391
  case "multiple":
5392
5392
  case "tags":
5393
- Ze(ye.value.concat(P));
5393
+ Ke(ye.value.concat(P));
5394
5394
  break;
5395
5395
  }
5396
5396
  e.emit("select", en(P), P, ge);
@@ -5401,7 +5401,7 @@ function HC(t, e, n) {
5401
5401
  break;
5402
5402
  case "tags":
5403
5403
  case "multiple":
5404
- Ze(Array.isArray(P) ? ye.value.filter((re) => P.map((Le) => Le[b.value]).indexOf(re[b.value]) === -1) : ye.value.filter((re) => re[b.value] != P[b.value]));
5404
+ Ke(Array.isArray(P) ? ye.value.filter((re) => P.map((Le) => Le[b.value]).indexOf(re[b.value]) === -1) : ye.value.filter((re) => re[b.value] != P[b.value]));
5405
5405
  break;
5406
5406
  }
5407
5407
  e.emit("deselect", en(P), P, ge);
@@ -5414,7 +5414,7 @@ function HC(t, e, n) {
5414
5414
  }
5415
5415
  Po(P);
5416
5416
  }, $i = () => {
5417
- Ze(Be.value), e.emit("clear", ge);
5417
+ Ke(Ue.value), e.emit("clear", ge);
5418
5418
  }, tn = (P) => {
5419
5419
  if (P.group !== void 0)
5420
5420
  return o.value === "single" ? !1 : Ks(P[J.value]) && P[J.value].length;
@@ -5428,8 +5428,8 @@ function HC(t, e, n) {
5428
5428
  }, Fo = (P) => P[ae.value] === !0, Sr = () => M === void 0 || M.value === -1 || !F.value && M.value > 0 ? !1 : ye.value.length >= M.value, Ro = (P) => {
5429
5429
  if (!Fo(P)) {
5430
5430
  if (V && V.value && !tn(P) && P.__CREATE__ && (P = { ...P }, delete P.__CREATE__, P = V.value(P, ge), P instanceof Promise)) {
5431
- ze.value = !0, P.then((re) => {
5432
- ze.value = !1, nn(re);
5431
+ Fe.value = !0, P.then((re) => {
5432
+ Fe.value = !1, nn(re);
5433
5433
  });
5434
5434
  return;
5435
5435
  }
@@ -5439,35 +5439,35 @@ function HC(t, e, n) {
5439
5439
  switch (P.__CREATE__ && (P = { ...P }, delete P.__CREATE__), o.value) {
5440
5440
  case "single":
5441
5441
  if (P && tn(P)) {
5442
- T.value && Qt(P), L.value && (ce(), ct());
5442
+ T.value && Qt(P), L.value && (ce(), ut());
5443
5443
  return;
5444
5444
  }
5445
- P && Qr(P), w.value && Oe(), $.value && (ce(), ct()), P && Xt(P);
5445
+ P && Qr(P), w.value && Oe(), $.value && (ce(), ut()), P && Xt(P);
5446
5446
  break;
5447
5447
  case "multiple":
5448
5448
  if (P && tn(P)) {
5449
- Qt(P), L.value && (ce(), ct());
5449
+ Qt(P), L.value && (ce(), ut());
5450
5450
  return;
5451
5451
  }
5452
5452
  if (Sr()) {
5453
5453
  e.emit("max", ge);
5454
5454
  return;
5455
5455
  }
5456
- P && (Qr(P), Xt(P)), w.value && Oe(), a.value && ce(), $.value && ct();
5456
+ P && (Qr(P), Xt(P)), w.value && Oe(), a.value && ce(), $.value && ut();
5457
5457
  break;
5458
5458
  case "tags":
5459
5459
  if (P && tn(P)) {
5460
- Qt(P), L.value && (ce(), ct());
5460
+ Qt(P), L.value && (ce(), ut());
5461
5461
  return;
5462
5462
  }
5463
5463
  if (Sr()) {
5464
5464
  e.emit("max", ge);
5465
5465
  return;
5466
5466
  }
5467
- P && Qr(P), w.value && Oe(), P && Xt(P), a.value && ce(), $.value && ct();
5467
+ P && Qr(P), w.value && Oe(), P && Xt(P), a.value && ce(), $.value && ut();
5468
5468
  break;
5469
5469
  }
5470
- $.value || Ke();
5470
+ $.value || Ge();
5471
5471
  }, Ar = (P) => {
5472
5472
  if (!(Fo(P) || o.value === "single" || !G.value)) {
5473
5473
  switch (o.value) {
@@ -5484,33 +5484,33 @@ function HC(t, e, n) {
5484
5484
  rn(P[b.value]) === void 0 && qn.value && (e.emit("tag", P[b.value], ge), e.emit("option", P[b.value], ge), e.emit("create", P[b.value], ge), sr.value && Gl(P), Oe());
5485
5485
  }, Mi = () => {
5486
5486
  o.value !== "single" && Xt(Ct.value.filter((P) => !P.disabled && !tn(P)));
5487
- }, Kl = (P) => P.find((re) => !tn(re) && !re[ae.value]) === void 0, Ks = (P) => P.find((re) => !tn(re)) === void 0, rn = (P) => tt.value[tt.value.map((re) => String(re[b.value])).indexOf(String(P))], Gs = (P) => tt.value.findIndex((re) => Bt.value.some((Le) => (parseInt(re[Le]) == re[Le] ? parseInt(re[Le]) : re[Le]) === (parseInt(P) == P ? parseInt(P) : P))), Oi = (P) => ["tags", "multiple"].indexOf(o.value) !== -1 && a.value && tn(P), Gl = (P) => {
5488
- Je.value.push(P);
5487
+ }, Kl = (P) => P.find((re) => !tn(re) && !re[ae.value]) === void 0, Ks = (P) => P.find((re) => !tn(re)) === void 0, rn = (P) => nt.value[nt.value.map((re) => String(re[b.value])).indexOf(String(P))], Gs = (P) => nt.value.findIndex((re) => Bt.value.some((Le) => (parseInt(re[Le]) == re[Le] ? parseInt(re[Le]) : re[Le]) === (parseInt(P) == P ? parseInt(P) : P))), Oi = (P) => ["tags", "multiple"].indexOf(o.value) !== -1 && a.value && tn(P), Gl = (P) => {
5488
+ ze.value.push(P);
5489
5489
  }, eo = (P) => z.value ? P.filter(
5490
5490
  (re) => he.value ? re.__VISIBLE__.length : re[J.value].length
5491
5491
  ) : P.filter((re) => he.value ? re.__VISIBLE__.length : !0), Li = (P, re = !0) => {
5492
5492
  let Le = P;
5493
5493
  if (he.value && y.value) {
5494
- let nt = De.value;
5495
- nt || (nt = (ar, En, Fi) => Bt.value.some((lr) => {
5494
+ let rt = De.value;
5495
+ rt || (rt = (ar, En, Fi) => Bt.value.some((lr) => {
5496
5496
  let Js = rc(Ie(ar[lr]), q.value);
5497
5497
  return le.value ? Js.startsWith(rc(En, q.value)) : Js.indexOf(rc(En, q.value)) !== -1;
5498
- })), Le = Le.filter((ar) => nt(ar, he.value, ge));
5498
+ })), Le = Le.filter((ar) => rt(ar, he.value, ge));
5499
5499
  }
5500
- return a.value && re && (Le = Le.filter((nt) => !Oi(nt))), Le;
5500
+ return a.value && re && (Le = Le.filter((rt) => !Oi(rt))), Le;
5501
5501
  }, Ii = (P) => {
5502
5502
  let re = P;
5503
5503
  return UC(re) && (re = Object.keys(re).map((Le) => {
5504
- let nt = re[Le];
5505
- return { [b.value]: Le, [Bt.value[0]]: nt, [u.value]: nt };
5504
+ let rt = re[Le];
5505
+ return { [b.value]: Le, [Bt.value[0]]: rt, [u.value]: rt };
5506
5506
  })), re = re.map((Le) => typeof Le == "object" ? Le : { [b.value]: Le, [Bt.value[0]]: Le, [u.value]: Le }), re;
5507
- }, Ge = () => {
5507
+ }, Je = () => {
5508
5508
  Vn(W.value) || (ye.value = Tr(W.value));
5509
- }, Tn = (P) => (ze.value = !0, new Promise((re, Le) => {
5510
- r.value(he.value, ge).then((nt) => {
5511
- Qe.value = nt || [], typeof P == "function" && P(nt), ze.value = !1;
5512
- }).catch((nt) => {
5513
- console.error(nt), Qe.value = [], ze.value = !1;
5509
+ }, Tn = (P) => (Fe.value = !0, new Promise((re, Le) => {
5510
+ r.value(he.value, ge).then((rt) => {
5511
+ et.value = rt || [], typeof P == "function" && P(rt), Fe.value = !1;
5512
+ }).catch((rt) => {
5513
+ console.error(rt), et.value = [], Fe.value = !1;
5514
5514
  }).finally(() => {
5515
5515
  re();
5516
5516
  });
@@ -5526,8 +5526,8 @@ function HC(t, e, n) {
5526
5526
  ye.value.forEach((P, re) => {
5527
5527
  let Le = rn(ye.value[re][b.value]);
5528
5528
  if (Le !== void 0) {
5529
- let nt = Le[u.value];
5530
- ye.value[re][u.value] = nt, h.value && (W.value[re][u.value] = nt);
5529
+ let rt = Le[u.value];
5530
+ ye.value[re][u.value] = rt, h.value && (W.value[re][u.value] = rt);
5531
5531
  }
5532
5532
  });
5533
5533
  }, Ys = (P) => {
@@ -5541,10 +5541,10 @@ function HC(t, e, n) {
5541
5541
  [b.value]: re,
5542
5542
  [Bt.value[0]]: re
5543
5543
  }), Pi = () => {
5544
- st.value = Pe(he, (P) => {
5545
- P.length < g.value || !P && g.value !== 0 || (ze.value = !0, C.value && (Qe.value = []), setTimeout(() => {
5544
+ Ye.value = Pe(he, (P) => {
5545
+ P.length < g.value || !P && g.value !== 0 || (Fe.value = !0, C.value && (et.value = []), setTimeout(() => {
5546
5546
  P == he.value && r.value(he.value, ge).then((re) => {
5547
- (P == he.value || !he.value) && (Qe.value = re, bt.value = Ct.value.filter((Le) => Le[ae.value] !== !0)[0] || null, ze.value = !1);
5547
+ (P == he.value || !he.value) && (et.value = re, bt.value = Ct.value.filter((Le) => Le[ae.value] !== !0)[0] || null, Fe.value = !1);
5548
5548
  }).catch(
5549
5549
  /* istanbul ignore next */
5550
5550
  (re) => {
@@ -5556,43 +5556,43 @@ function HC(t, e, n) {
5556
5556
  };
5557
5557
  if (o.value !== "single" && !Vn(W.value) && !Array.isArray(W.value))
5558
5558
  throw new Error(`v-model must be an array when using "${o.value}" mode`);
5559
- return r && typeof r.value == "function" ? _.value ? Tn(Ge) : h.value == !0 && Ge() : (Qe.value = r.value, Ge()), v.value > -1 && Pi(), Pe(v, (P, re) => {
5560
- st.value && st.value(), P >= 0 && Pi();
5559
+ return r && typeof r.value == "function" ? _.value ? Tn(Je) : h.value == !0 && Je() : (et.value = r.value, Je()), v.value > -1 && Pi(), Pe(v, (P, re) => {
5560
+ Ye.value && Ye.value(), P >= 0 && Pi();
5561
5561
  }), Pe(W, (P) => {
5562
5562
  if (Vn(P)) {
5563
- Ze(Tr(P), !1);
5563
+ Ke(Tr(P), !1);
5564
5564
  return;
5565
5565
  }
5566
5566
  switch (o.value) {
5567
5567
  case "single":
5568
- (h.value ? P[b.value] != ye.value[b.value] : P != ye.value[b.value]) && Ze(Tr(P), !1);
5568
+ (h.value ? P[b.value] != ye.value[b.value] : P != ye.value[b.value]) && Ke(Tr(P), !1);
5569
5569
  break;
5570
5570
  case "multiple":
5571
5571
  case "tags":
5572
- qC(h.value ? P.map((re) => re[b.value]) : P, ye.value.map((re) => re[b.value])) || Ze(Tr(P), !1);
5572
+ qC(h.value ? P.map((re) => re[b.value]) : P, ye.value.map((re) => re[b.value])) || Ke(Tr(P), !1);
5573
5573
  break;
5574
5574
  }
5575
5575
  }, { deep: !0 }), Pe(r, (P, re) => {
5576
- typeof t.options == "function" ? _.value && (!re || P && P.toString() !== re.toString()) && Tn() : (Qe.value = t.options, Object.keys(ye.value).length || Ge(), Ni());
5576
+ typeof t.options == "function" ? _.value && (!re || P && P.toString() !== re.toString()) && Tn() : (et.value = t.options, Object.keys(ye.value).length || Je(), Ni());
5577
5577
  }), Pe(u, Ni), Pe(s, (P, re) => {
5578
- dt.value = H.value && P === -1 ? 10 : P;
5578
+ at.value = H.value && P === -1 ? 10 : P;
5579
5579
  }), {
5580
5580
  pfo: Lt,
5581
5581
  fo: Ct,
5582
5582
  filteredOptions: Ct,
5583
5583
  hasSelected: F,
5584
5584
  multipleLabelText: ee,
5585
- eo: tt,
5586
- extendedOptions: tt,
5585
+ eo: nt,
5586
+ extendedOptions: nt,
5587
5587
  eg: jt,
5588
5588
  extendedGroups: jt,
5589
5589
  fg: Hn,
5590
5590
  filteredGroups: Hn,
5591
5591
  noOptions: xe,
5592
- noResults: ut,
5593
- resolving: ze,
5592
+ noResults: dt,
5593
+ resolving: Fe,
5594
5594
  busy: Xr,
5595
- offset: dt,
5595
+ offset: at,
5596
5596
  select: Xt,
5597
5597
  deselect: Qt,
5598
5598
  remove: Po,
@@ -5625,7 +5625,7 @@ function zC(t, e, n) {
5625
5625
  const W = T.value ? _.value : (
5626
5626
  /* istanbul ignore next */
5627
5627
  ge(_.value)
5628
- ), he = S.value.map((Ze) => Ze[s.value]).indexOf(W[s.value]);
5628
+ ), he = S.value.map((Ke) => Ke[s.value]).indexOf(W[s.value]);
5629
5629
  let Oe = S.value[he - 1];
5630
5630
  return Oe === void 0 && (Oe = L.value), Oe;
5631
5631
  }), $ = O(() => {
@@ -6390,12 +6390,12 @@ function F9(t) {
6390
6390
  var L, I = C === "y" ? On : mr, U = C === "y" ? tr : Hr, H = C === "y" ? "height" : "width", J = b[C], z = J + v[I], G = J - v[U], V = p ? -E[H] / 2 : 0, ae = g === pi ? S[H] : E[H], le = g === pi ? -E[H] : -S[H], De = e.elements.arrow, ge = p && De ? Th(De) : {
6391
6391
  width: 0,
6392
6392
  height: 0
6393
- }, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Oh(), W = ye[I], he = ye[U], Oe = Ca(0, S[H], ge[H]), Ze = y ? S[H] / 2 - V - Oe - W - M.mainAxis : ae - Oe - W - M.mainAxis, bt = y ? -S[H] / 2 + V + Oe + he + M.mainAxis : le + Oe + he + M.mainAxis, Z = e.elements.arrow && vl(e.elements.arrow), ce = Z ? C === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, Ke = (L = q == null ? void 0 : q[C]) != null ? L : 0, _e = J + Ze - Ke - ce, ct = J + bt - Ke, Ie = Ca(p ? Na(z, _e) : z, J, p ? po(G, ct) : G);
6393
+ }, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Oh(), W = ye[I], he = ye[U], Oe = Ca(0, S[H], ge[H]), Ke = y ? S[H] / 2 - V - Oe - W - M.mainAxis : ae - Oe - W - M.mainAxis, bt = y ? -S[H] / 2 + V + Oe + he + M.mainAxis : le + Oe + he + M.mainAxis, Z = e.elements.arrow && vl(e.elements.arrow), ce = Z ? C === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, Ge = (L = q == null ? void 0 : q[C]) != null ? L : 0, _e = J + Ke - Ge - ce, ut = J + bt - Ge, Ie = Ca(p ? Na(z, _e) : z, J, p ? po(G, ut) : G);
6394
6394
  b[C] = Ie, $[C] = Ie - J;
6395
6395
  }
6396
6396
  if (a) {
6397
- var Je, Qe = C === "x" ? On : mr, ze = C === "x" ? tr : Hr, st = b[w], dt = w === "y" ? "height" : "width", qn = st + v[Qe], sr = st - v[ze], tt = [On, mr].indexOf(_) !== -1, Lt = (Je = q == null ? void 0 : q[w]) != null ? Je : 0, Ct = tt ? qn : st - S[dt] - E[dt] - Lt + M.altAxis, jt = tt ? st + S[dt] + E[dt] - Lt - M.altAxis : sr, An = p && tt ? P9(Ct, st, jt) : Ca(p ? Ct : qn, st, p ? jt : sr);
6398
- b[w] = An, $[w] = An - st;
6397
+ var ze, et = C === "x" ? On : mr, Fe = C === "x" ? tr : Hr, Ye = b[w], at = w === "y" ? "height" : "width", qn = Ye + v[et], sr = Ye - v[Fe], nt = [On, mr].indexOf(_) !== -1, Lt = (ze = q == null ? void 0 : q[w]) != null ? ze : 0, Ct = nt ? qn : Ye - S[at] - E[at] - Lt + M.altAxis, jt = nt ? Ye + S[at] + E[at] - Lt - M.altAxis : sr, An = p && nt ? P9(Ct, Ye, jt) : Ca(p ? Ct : qn, Ye, p ? jt : sr);
6398
+ b[w] = An, $[w] = An - Ye;
6399
6399
  }
6400
6400
  e.modifiersData[r] = $;
6401
6401
  }
@@ -6487,8 +6487,8 @@ function z9(t) {
6487
6487
  var W = C.find(function(he) {
6488
6488
  var Oe = S.get(he);
6489
6489
  if (Oe)
6490
- return Oe.slice(0, ye).every(function(Ze) {
6491
- return Ze;
6490
+ return Oe.slice(0, ye).every(function(Ke) {
6491
+ return Ke;
6492
6492
  });
6493
6493
  });
6494
6494
  if (W)
@@ -7372,7 +7372,7 @@ function C4(t, e, n, r, o, i) {
7372
7372
  },
7373
7373
  [
7374
7374
  (x(!0), D(
7375
- Ve,
7375
+ je,
7376
7376
  null,
7377
7377
  pt(t.iv, (s, a, l) => we(t.$slots, "tag", {
7378
7378
  option: s,
@@ -7596,7 +7596,7 @@ function C4(t, e, n, r, o, i) {
7596
7596
  role: "listbox"
7597
7597
  }, [
7598
7598
  n.groups ? (x(!0), D(
7599
- Ve,
7599
+ je,
7600
7600
  { key: 0 },
7601
7601
  pt(t.fg, (s, a, l) => (x(), D("li", {
7602
7602
  class: be(t.classList.group),
@@ -7629,7 +7629,7 @@ function C4(t, e, n, r, o, i) {
7629
7629
  role: "group"
7630
7630
  }, [
7631
7631
  (x(!0), D(
7632
- Ve,
7632
+ je,
7633
7633
  null,
7634
7634
  pt(s.__VISIBLE__, (c, u, d) => (x(), D("li", {
7635
7635
  class: be(t.classList.option(c, s)),
@@ -7666,7 +7666,7 @@ function C4(t, e, n, r, o, i) {
7666
7666
  128
7667
7667
  /* KEYED_FRAGMENT */
7668
7668
  )) : (x(!0), D(
7669
- Ve,
7669
+ je,
7670
7670
  { key: 1 },
7671
7671
  pt(t.fo, (s, a, l) => (x(), D("li", {
7672
7672
  class: be(t.classList.option(s)),
@@ -7747,7 +7747,7 @@ function C4(t, e, n, r, o, i) {
7747
7747
  }, null, 10, v4)) : R("v-if", !0),
7748
7748
  R(" Native input support "),
7749
7749
  n.nativeSupport ? (x(), D(
7750
- Ve,
7750
+ je,
7751
7751
  { key: 1 },
7752
7752
  [
7753
7753
  n.mode == "single" ? (x(), D("input", {
@@ -7756,7 +7756,7 @@ function C4(t, e, n, r, o, i) {
7756
7756
  name: n.name,
7757
7757
  value: t.plainValue !== void 0 ? t.plainValue : ""
7758
7758
  }, null, 8, y4)) : (x(!0), D(
7759
- Ve,
7759
+ je,
7760
7760
  { key: 1 },
7761
7761
  pt(t.plainValue, (s, a) => (x(), D("input", {
7762
7762
  type: "hidden",
@@ -7923,7 +7923,7 @@ const k4 = { class: "ao-tasks" }, x4 = { class: "ao-tasks__list" }, S4 = ["id",
7923
7923
  };
7924
7924
  return (f, p) => (x(), D("div", k4, [
7925
7925
  k("ul", x4, [
7926
- (x(!0), D(Ve, null, pt(t.tasks, (h) => {
7926
+ (x(!0), D(je, null, pt(t.tasks, (h) => {
7927
7927
  var m, v;
7928
7928
  return x(), D("li", {
7929
7929
  key: h.id,
@@ -8084,7 +8084,7 @@ const E4 = { class: "ao-files__placeholder" }, D4 = {
8084
8084
  k("span", E4, ne(p.$t("activity.attachment.placeholder.resting")), 1)
8085
8085
  ]),
8086
8086
  (m = t.attachments) != null && m.length || t.isEditable ? (x(), D("ul", D4, [
8087
- (x(!0), D(Ve, null, pt(t.attachments, (v, _) => (x(), D("li", {
8087
+ (x(!0), D(je, null, pt(t.attachments, (v, _) => (x(), D("li", {
8088
8088
  key: v.id,
8089
8089
  class: "ao-file"
8090
8090
  }, [
@@ -8153,7 +8153,7 @@ const E4 = { class: "ao-files__placeholder" }, D4 = {
8153
8153
  };
8154
8154
  }
8155
8155
  });
8156
- var He = {};
8156
+ var Ve = {};
8157
8157
  const U4 = "Á", q4 = "á", H4 = "Ă", z4 = "ă", V4 = "∾", j4 = "∿", W4 = "∾̳", Z4 = "Â", K4 = "â", G4 = "´", Y4 = "А", J4 = "а", X4 = "Æ", Q4 = "æ", e8 = "⁡", t8 = "𝔄", n8 = "𝔞", r8 = "À", o8 = "à", i8 = "ℵ", s8 = "ℵ", a8 = "Α", l8 = "α", c8 = "Ā", u8 = "ā", d8 = "⨿", f8 = "&", p8 = "&", h8 = "⩕", m8 = "⩓", g8 = "∧", v8 = "⩜", y8 = "⩘", _8 = "⩚", b8 = "∠", C8 = "⦤", w8 = "∠", k8 = "⦨", x8 = "⦩", S8 = "⦪", A8 = "⦫", T8 = "⦬", E8 = "⦭", D8 = "⦮", $8 = "⦯", M8 = "∡", O8 = "∟", L8 = "⊾", I8 = "⦝", N8 = "∢", P8 = "Å", F8 = "⍼", R8 = "Ą", B8 = "ą", U8 = "𝔸", q8 = "𝕒", H8 = "⩯", z8 = "≈", V8 = "⩰", j8 = "≊", W8 = "≋", Z8 = "'", K8 = "⁡", G8 = "≈", Y8 = "≊", J8 = "Å", X8 = "å", Q8 = "𝒜", e6 = "𝒶", t6 = "≔", n6 = "*", r6 = "≈", o6 = "≍", i6 = "Ã", s6 = "ã", a6 = "Ä", l6 = "ä", c6 = "∳", u6 = "⨑", d6 = "≌", f6 = "϶", p6 = "‵", h6 = "∽", m6 = "⋍", g6 = "∖", v6 = "⫧", y6 = "⊽", _6 = "⌅", b6 = "⌆", C6 = "⌅", w6 = "⎵", k6 = "⎶", x6 = "≌", S6 = "Б", A6 = "б", T6 = "„", E6 = "∵", D6 = "∵", $6 = "∵", M6 = "⦰", O6 = "϶", L6 = "ℬ", I6 = "ℬ", N6 = "Β", P6 = "β", F6 = "ℶ", R6 = "≬", B6 = "𝔅", U6 = "𝔟", q6 = "⋂", H6 = "◯", z6 = "⋃", V6 = "⨀", j6 = "⨁", W6 = "⨂", Z6 = "⨆", K6 = "★", G6 = "▽", Y6 = "△", J6 = "⨄", X6 = "⋁", Q6 = "⋀", ew = "⤍", tw = "⧫", nw = "▪", rw = "▴", ow = "▾", iw = "◂", sw = "▸", aw = "␣", lw = "▒", cw = "░", uw = "▓", dw = "█", fw = "=⃥", pw = "≡⃥", hw = "⫭", mw = "⌐", gw = "𝔹", vw = "𝕓", yw = "⊥", _w = "⊥", bw = "⋈", Cw = "⧉", ww = "┐", kw = "╕", xw = "╖", Sw = "╗", Aw = "┌", Tw = "╒", Ew = "╓", Dw = "╔", $w = "─", Mw = "═", Ow = "┬", Lw = "╤", Iw = "╥", Nw = "╦", Pw = "┴", Fw = "╧", Rw = "╨", Bw = "╩", Uw = "⊟", qw = "⊞", Hw = "⊠", zw = "┘", Vw = "╛", jw = "╜", Ww = "╝", Zw = "└", Kw = "╘", Gw = "╙", Yw = "╚", Jw = "│", Xw = "║", Qw = "┼", ek = "╪", tk = "╫", nk = "╬", rk = "┤", ok = "╡", ik = "╢", sk = "╣", ak = "├", lk = "╞", ck = "╟", uk = "╠", dk = "‵", fk = "˘", pk = "˘", hk = "¦", mk = "𝒷", gk = "ℬ", vk = "⁏", yk = "∽", _k = "⋍", bk = "⧅", Ck = "\\", wk = "⟈", kk = "•", xk = "•", Sk = "≎", Ak = "⪮", Tk = "≏", Ek = "≎", Dk = "≏", $k = "Ć", Mk = "ć", Ok = "⩄", Lk = "⩉", Ik = "⩋", Nk = "∩", Pk = "⋒", Fk = "⩇", Rk = "⩀", Bk = "ⅅ", Uk = "∩︀", qk = "⁁", Hk = "ˇ", zk = "ℭ", Vk = "⩍", jk = "Č", Wk = "č", Zk = "Ç", Kk = "ç", Gk = "Ĉ", Yk = "ĉ", Jk = "∰", Xk = "⩌", Qk = "⩐", ex = "Ċ", tx = "ċ", nx = "¸", rx = "¸", ox = "⦲", ix = "¢", sx = "·", ax = "·", lx = "𝔠", cx = "ℭ", ux = "Ч", dx = "ч", fx = "✓", px = "✓", hx = "Χ", mx = "χ", gx = "ˆ", vx = "≗", yx = "↺", _x = "↻", bx = "⊛", Cx = "⊚", wx = "⊝", kx = "⊙", xx = "®", Sx = "Ⓢ", Ax = "⊖", Tx = "⊕", Ex = "⊗", Dx = "○", $x = "⧃", Mx = "≗", Ox = "⨐", Lx = "⫯", Ix = "⧂", Nx = "∲", Px = "”", Fx = "’", Rx = "♣", Bx = "♣", Ux = ":", qx = "∷", Hx = "⩴", zx = "≔", Vx = "≔", jx = ",", Wx = "@", Zx = "∁", Kx = "∘", Gx = "∁", Yx = "ℂ", Jx = "≅", Xx = "⩭", Qx = "≡", eS = "∮", tS = "∯", nS = "∮", rS = "𝕔", oS = "ℂ", iS = "∐", sS = "∐", aS = "©", lS = "©", cS = "℗", uS = "∳", dS = "↵", fS = "✗", pS = "⨯", hS = "𝒞", mS = "𝒸", gS = "⫏", vS = "⫑", yS = "⫐", _S = "⫒", bS = "⋯", CS = "⤸", wS = "⤵", kS = "⋞", xS = "⋟", SS = "↶", AS = "⤽", TS = "⩈", ES = "⩆", DS = "≍", $S = "∪", MS = "⋓", OS = "⩊", LS = "⊍", IS = "⩅", NS = "∪︀", PS = "↷", FS = "⤼", RS = "⋞", BS = "⋟", US = "⋎", qS = "⋏", HS = "¤", zS = "↶", VS = "↷", jS = "⋎", WS = "⋏", ZS = "∲", KS = "∱", GS = "⌭", YS = "†", JS = "‡", XS = "ℸ", QS = "↓", eA = "↡", tA = "⇓", nA = "‐", rA = "⫤", oA = "⊣", iA = "⤏", sA = "˝", aA = "Ď", lA = "ď", cA = "Д", uA = "д", dA = "‡", fA = "⇊", pA = "ⅅ", hA = "ⅆ", mA = "⤑", gA = "⩷", vA = "°", yA = "∇", _A = "Δ", bA = "δ", CA = "⦱", wA = "⥿", kA = "𝔇", xA = "𝔡", SA = "⥥", AA = "⇃", TA = "⇂", EA = "´", DA = "˙", $A = "˝", MA = "`", OA = "˜", LA = "⋄", IA = "⋄", NA = "⋄", PA = "♦", FA = "♦", RA = "¨", BA = "ⅆ", UA = "ϝ", qA = "⋲", HA = "÷", zA = "÷", VA = "⋇", jA = "⋇", WA = "Ђ", ZA = "ђ", KA = "⌞", GA = "⌍", YA = "$", JA = "𝔻", XA = "𝕕", QA = "¨", eT = "˙", tT = "⃜", nT = "≐", rT = "≑", oT = "≐", iT = "∸", sT = "∔", aT = "⊡", lT = "⌆", cT = "∯", uT = "¨", dT = "⇓", fT = "⇐", pT = "⇔", hT = "⫤", mT = "⟸", gT = "⟺", vT = "⟹", yT = "⇒", _T = "⊨", bT = "⇑", CT = "⇕", wT = "∥", kT = "⤓", xT = "↓", ST = "↓", AT = "⇓", TT = "⇵", ET = "̑", DT = "⇊", $T = "⇃", MT = "⇂", OT = "⥐", LT = "⥞", IT = "⥖", NT = "↽", PT = "⥟", FT = "⥗", RT = "⇁", BT = "↧", UT = "⊤", qT = "⤐", HT = "⌟", zT = "⌌", VT = "𝒟", jT = "𝒹", WT = "Ѕ", ZT = "ѕ", KT = "⧶", GT = "Đ", YT = "đ", JT = "⋱", XT = "▿", QT = "▾", eE = "⇵", tE = "⥯", nE = "⦦", rE = "Џ", oE = "џ", iE = "⟿", sE = "É", aE = "é", lE = "⩮", cE = "Ě", uE = "ě", dE = "Ê", fE = "ê", pE = "≖", hE = "≕", mE = "Э", gE = "э", vE = "⩷", yE = "Ė", _E = "ė", bE = "≑", CE = "ⅇ", wE = "≒", kE = "𝔈", xE = "𝔢", SE = "⪚", AE = "È", TE = "è", EE = "⪖", DE = "⪘", $E = "⪙", ME = "∈", OE = "⏧", LE = "ℓ", IE = "⪕", NE = "⪗", PE = "Ē", FE = "ē", RE = "∅", BE = "∅", UE = "◻", qE = "∅", HE = "▫", zE = " ", VE = " ", jE = " ", WE = "Ŋ", ZE = "ŋ", KE = " ", GE = "Ę", YE = "ę", JE = "𝔼", XE = "𝕖", QE = "⋕", eD = "⧣", tD = "⩱", nD = "ε", rD = "Ε", oD = "ε", iD = "ϵ", sD = "≖", aD = "≕", lD = "≂", cD = "⪖", uD = "⪕", dD = "⩵", fD = "=", pD = "≂", hD = "≟", mD = "⇌", gD = "≡", vD = "⩸", yD = "⧥", _D = "⥱", bD = "≓", CD = "ℯ", wD = "ℰ", kD = "≐", xD = "⩳", SD = "≂", AD = "Η", TD = "η", ED = "Ð", DD = "ð", $D = "Ë", MD = "ë", OD = "€", LD = "!", ID = "∃", ND = "∃", PD = "ℰ", FD = "ⅇ", RD = "ⅇ", BD = "≒", UD = "Ф", qD = "ф", HD = "♀", zD = "ffi", VD = "ff", jD = "ffl", WD = "𝔉", ZD = "𝔣", KD = "fi", GD = "◼", YD = "▪", JD = "fj", XD = "♭", QD = "fl", e$ = "▱", t$ = "ƒ", n$ = "𝔽", r$ = "𝕗", o$ = "∀", i$ = "∀", s$ = "⋔", a$ = "⫙", l$ = "ℱ", c$ = "⨍", u$ = "½", d$ = "⅓", f$ = "¼", p$ = "⅕", h$ = "⅙", m$ = "⅛", g$ = "⅔", v$ = "⅖", y$ = "¾", _$ = "⅗", b$ = "⅜", C$ = "⅘", w$ = "⅚", k$ = "⅝", x$ = "⅞", S$ = "⁄", A$ = "⌢", T$ = "𝒻", E$ = "ℱ", D$ = "ǵ", $$ = "Γ", M$ = "γ", O$ = "Ϝ", L$ = "ϝ", I$ = "⪆", N$ = "Ğ", P$ = "ğ", F$ = "Ģ", R$ = "Ĝ", B$ = "ĝ", U$ = "Г", q$ = "г", H$ = "Ġ", z$ = "ġ", V$ = "≥", j$ = "≧", W$ = "⪌", Z$ = "⋛", K$ = "≥", G$ = "≧", Y$ = "⩾", J$ = "⪩", X$ = "⩾", Q$ = "⪀", eM = "⪂", tM = "⪄", nM = "⋛︀", rM = "⪔", oM = "𝔊", iM = "𝔤", sM = "≫", aM = "⋙", lM = "⋙", cM = "ℷ", uM = "Ѓ", dM = "ѓ", fM = "⪥", pM = "≷", hM = "⪒", mM = "⪤", gM = "⪊", vM = "⪊", yM = "⪈", _M = "≩", bM = "⪈", CM = "≩", wM = "⋧", kM = "𝔾", xM = "𝕘", SM = "`", AM = "≥", TM = "⋛", EM = "≧", DM = "⪢", $M = "≷", MM = "⩾", OM = "≳", LM = "𝒢", IM = "ℊ", NM = "≳", PM = "⪎", FM = "⪐", RM = "⪧", BM = "⩺", UM = ">", qM = ">", HM = "≫", zM = "⋗", VM = "⦕", jM = "⩼", WM = "⪆", ZM = "⥸", KM = "⋗", GM = "⋛", YM = "⪌", JM = "≷", XM = "≳", QM = "≩︀", eO = "≩︀", tO = "ˇ", nO = " ", rO = "½", oO = "ℋ", iO = "Ъ", sO = "ъ", aO = "⥈", lO = "↔", cO = "⇔", uO = "↭", dO = "^", fO = "ℏ", pO = "Ĥ", hO = "ĥ", mO = "♥", gO = "♥", vO = "…", yO = "⊹", _O = "𝔥", bO = "ℌ", CO = "ℋ", wO = "⤥", kO = "⤦", xO = "⇿", SO = "∻", AO = "↩", TO = "↪", EO = "𝕙", DO = "ℍ", $O = "―", MO = "─", OO = "𝒽", LO = "ℋ", IO = "ℏ", NO = "Ħ", PO = "ħ", FO = "≎", RO = "≏", BO = "⁃", UO = "‐", qO = "Í", HO = "í", zO = "⁣", VO = "Î", jO = "î", WO = "И", ZO = "и", KO = "İ", GO = "Е", YO = "е", JO = "¡", XO = "⇔", QO = "𝔦", eL = "ℑ", tL = "Ì", nL = "ì", rL = "ⅈ", oL = "⨌", iL = "∭", sL = "⧜", aL = "℩", lL = "IJ", cL = "ij", uL = "Ī", dL = "ī", fL = "ℑ", pL = "ⅈ", hL = "ℐ", mL = "ℑ", gL = "ı", vL = "ℑ", yL = "⊷", _L = "Ƶ", bL = "⇒", CL = "℅", wL = "∞", kL = "⧝", xL = "ı", SL = "⊺", AL = "∫", TL = "∬", EL = "ℤ", DL = "∫", $L = "⊺", ML = "⋂", OL = "⨗", LL = "⨼", IL = "⁣", NL = "⁢", PL = "Ё", FL = "ё", RL = "Į", BL = "į", UL = "𝕀", qL = "𝕚", HL = "Ι", zL = "ι", VL = "⨼", jL = "¿", WL = "𝒾", ZL = "ℐ", KL = "∈", GL = "⋵", YL = "⋹", JL = "⋴", XL = "⋳", QL = "∈", eI = "⁢", tI = "Ĩ", nI = "ĩ", rI = "І", oI = "і", iI = "Ï", sI = "ï", aI = "Ĵ", lI = "ĵ", cI = "Й", uI = "й", dI = "𝔍", fI = "𝔧", pI = "ȷ", hI = "𝕁", mI = "𝕛", gI = "𝒥", vI = "𝒿", yI = "Ј", _I = "ј", bI = "Є", CI = "є", wI = "Κ", kI = "κ", xI = "ϰ", SI = "Ķ", AI = "ķ", TI = "К", EI = "к", DI = "𝔎", $I = "𝔨", MI = "ĸ", OI = "Х", LI = "х", II = "Ќ", NI = "ќ", PI = "𝕂", FI = "𝕜", RI = "𝒦", BI = "𝓀", UI = "⇚", qI = "Ĺ", HI = "ĺ", zI = "⦴", VI = "ℒ", jI = "Λ", WI = "λ", ZI = "⟨", KI = "⟪", GI = "⦑", YI = "⟨", JI = "⪅", XI = "ℒ", QI = "«", eN = "⇤", tN = "⤟", nN = "←", rN = "↞", oN = "⇐", iN = "⤝", sN = "↩", aN = "↫", lN = "⤹", cN = "⥳", uN = "↢", dN = "⤙", fN = "⤛", pN = "⪫", hN = "⪭", mN = "⪭︀", gN = "⤌", vN = "⤎", yN = "❲", _N = "{", bN = "[", CN = "⦋", wN = "⦏", kN = "⦍", xN = "Ľ", SN = "ľ", AN = "Ļ", TN = "ļ", EN = "⌈", DN = "{", $N = "Л", MN = "л", ON = "⤶", LN = "“", IN = "„", NN = "⥧", PN = "⥋", FN = "↲", RN = "≤", BN = "≦", UN = "⟨", qN = "⇤", HN = "←", zN = "←", VN = "⇐", jN = "⇆", WN = "↢", ZN = "⌈", KN = "⟦", GN = "⥡", YN = "⥙", JN = "⇃", XN = "⌊", QN = "↽", eP = "↼", tP = "⇇", nP = "↔", rP = "↔", oP = "⇔", iP = "⇆", sP = "⇋", aP = "↭", lP = "⥎", cP = "↤", uP = "⊣", dP = "⥚", fP = "⋋", pP = "⧏", hP = "⊲", mP = "⊴", gP = "⥑", vP = "⥠", yP = "⥘", _P = "↿", bP = "⥒", CP = "↼", wP = "⪋", kP = "⋚", xP = "≤", SP = "≦", AP = "⩽", TP = "⪨", EP = "⩽", DP = "⩿", $P = "⪁", MP = "⪃", OP = "⋚︀", LP = "⪓", IP = "⪅", NP = "⋖", PP = "⋚", FP = "⪋", RP = "⋚", BP = "≦", UP = "≶", qP = "≶", HP = "⪡", zP = "≲", VP = "⩽", jP = "≲", WP = "⥼", ZP = "⌊", KP = "𝔏", GP = "𝔩", YP = "≶", JP = "⪑", XP = "⥢", QP = "↽", eF = "↼", tF = "⥪", nF = "▄", rF = "Љ", oF = "љ", iF = "⇇", sF = "≪", aF = "⋘", lF = "⌞", cF = "⇚", uF = "⥫", dF = "◺", fF = "Ŀ", pF = "ŀ", hF = "⎰", mF = "⎰", gF = "⪉", vF = "⪉", yF = "⪇", _F = "≨", bF = "⪇", CF = "≨", wF = "⋦", kF = "⟬", xF = "⇽", SF = "⟦", AF = "⟵", TF = "⟵", EF = "⟸", DF = "⟷", $F = "⟷", MF = "⟺", OF = "⟼", LF = "⟶", IF = "⟶", NF = "⟹", PF = "↫", FF = "↬", RF = "⦅", BF = "𝕃", UF = "𝕝", qF = "⨭", HF = "⨴", zF = "∗", VF = "_", jF = "↙", WF = "↘", ZF = "◊", KF = "◊", GF = "⧫", YF = "(", JF = "⦓", XF = "⇆", QF = "⌟", eR = "⇋", tR = "⥭", nR = "‎", rR = "⊿", oR = "‹", iR = "𝓁", sR = "ℒ", aR = "↰", lR = "↰", cR = "≲", uR = "⪍", dR = "⪏", fR = "[", pR = "‘", hR = "‚", mR = "Ł", gR = "ł", vR = "⪦", yR = "⩹", _R = "<", bR = "<", CR = "≪", wR = "⋖", kR = "⋋", xR = "⋉", SR = "⥶", AR = "⩻", TR = "◃", ER = "⊴", DR = "◂", $R = "⦖", MR = "⥊", OR = "⥦", LR = "≨︀", IR = "≨︀", NR = "¯", PR = "♂", FR = "✠", RR = "✠", BR = "↦", UR = "↦", qR = "↧", HR = "↤", zR = "↥", VR = "▮", jR = "⨩", WR = "М", ZR = "м", KR = "—", GR = "∺", YR = "∡", JR = " ", XR = "ℳ", QR = "𝔐", eB = "𝔪", tB = "℧", nB = "µ", rB = "*", oB = "⫰", iB = "∣", sB = "·", aB = "⊟", lB = "−", cB = "∸", uB = "⨪", dB = "∓", fB = "⫛", pB = "…", hB = "∓", mB = "⊧", gB = "𝕄", vB = "𝕞", yB = "∓", _B = "𝓂", bB = "ℳ", CB = "∾", wB = "Μ", kB = "μ", xB = "⊸", SB = "⊸", AB = "∇", TB = "Ń", EB = "ń", DB = "∠⃒", $B = "≉", MB = "⩰̸", OB = "≋̸", LB = "ʼn", IB = "≉", NB = "♮", PB = "ℕ", FB = "♮", RB = " ", BB = "≎̸", UB = "≏̸", qB = "⩃", HB = "Ň", zB = "ň", VB = "Ņ", jB = "ņ", WB = "≇", ZB = "⩭̸", KB = "⩂", GB = "Н", YB = "н", JB = "–", XB = "⤤", QB = "↗", eU = "⇗", tU = "↗", nU = "≠", rU = "≐̸", oU = "​", iU = "​", sU = "​", aU = "​", lU = "≢", cU = "⤨", uU = "≂̸", dU = "≫", fU = "≪", pU = `
8158
8158
  `, hU = "∄", mU = "∄", gU = "𝔑", vU = "𝔫", yU = "≧̸", _U = "≱", bU = "≱", CU = "≧̸", wU = "⩾̸", kU = "⩾̸", xU = "⋙̸", SU = "≵", AU = "≫⃒", TU = "≯", EU = "≯", DU = "≫̸", $U = "↮", MU = "⇎", OU = "⫲", LU = "∋", IU = "⋼", NU = "⋺", PU = "∋", FU = "Њ", RU = "њ", BU = "↚", UU = "⇍", qU = "‥", HU = "≦̸", zU = "≰", VU = "↚", jU = "⇍", WU = "↮", ZU = "⇎", KU = "≰", GU = "≦̸", YU = "⩽̸", JU = "⩽̸", XU = "≮", QU = "⋘̸", eq = "≴", tq = "≪⃒", nq = "≮", rq = "⋪", oq = "⋬", iq = "≪̸", sq = "∤", aq = "⁠", lq = " ", cq = "𝕟", uq = "ℕ", dq = "⫬", fq = "¬", pq = "≢", hq = "≭", mq = "∦", gq = "∉", vq = "≠", yq = "≂̸", _q = "∄", bq = "≯", Cq = "≱", wq = "≧̸", kq = "≫̸", xq = "≹", Sq = "⩾̸", Aq = "≵", Tq = "≎̸", Eq = "≏̸", Dq = "∉", $q = "⋵̸", Mq = "⋹̸", Oq = "∉", Lq = "⋷", Iq = "⋶", Nq = "⧏̸", Pq = "⋪", Fq = "⋬", Rq = "≮", Bq = "≰", Uq = "≸", qq = "≪̸", Hq = "⩽̸", zq = "≴", Vq = "⪢̸", jq = "⪡̸", Wq = "∌", Zq = "∌", Kq = "⋾", Gq = "⋽", Yq = "⊀", Jq = "⪯̸", Xq = "⋠", Qq = "∌", eH = "⧐̸", tH = "⋫", nH = "⋭", rH = "⊏̸", oH = "⋢", iH = "⊐̸", sH = "⋣", aH = "⊂⃒", lH = "⊈", cH = "⊁", uH = "⪰̸", dH = "⋡", fH = "≿̸", pH = "⊃⃒", hH = "⊉", mH = "≁", gH = "≄", vH = "≇", yH = "≉", _H = "∤", bH = "∦", CH = "∦", wH = "⫽⃥", kH = "∂̸", xH = "⨔", SH = "⊀", AH = "⋠", TH = "⊀", EH = "⪯̸", DH = "⪯̸", $H = "⤳̸", MH = "↛", OH = "⇏", LH = "↝̸", IH = "↛", NH = "⇏", PH = "⋫", FH = "⋭", RH = "⊁", BH = "⋡", UH = "⪰̸", qH = "𝒩", HH = "𝓃", zH = "∤", VH = "∦", jH = "≁", WH = "≄", ZH = "≄", KH = "∤", GH = "∦", YH = "⋢", JH = "⋣", XH = "⊄", QH = "⫅̸", ez = "⊈", tz = "⊂⃒", nz = "⊈", rz = "⫅̸", oz = "⊁", iz = "⪰̸", sz = "⊅", az = "⫆̸", lz = "⊉", cz = "⊃⃒", uz = "⊉", dz = "⫆̸", fz = "≹", pz = "Ñ", hz = "ñ", mz = "≸", gz = "⋪", vz = "⋬", yz = "⋫", _z = "⋭", bz = "Ν", Cz = "ν", wz = "#", kz = "№", xz = " ", Sz = "≍⃒", Az = "⊬", Tz = "⊭", Ez = "⊮", Dz = "⊯", $z = "≥⃒", Mz = ">⃒", Oz = "⤄", Lz = "⧞", Iz = "⤂", Nz = "≤⃒", Pz = "<⃒", Fz = "⊴⃒", Rz = "⤃", Bz = "⊵⃒", Uz = "∼⃒", qz = "⤣", Hz = "↖", zz = "⇖", Vz = "↖", jz = "⤧", Wz = "Ó", Zz = "ó", Kz = "⊛", Gz = "Ô", Yz = "ô", Jz = "⊚", Xz = "О", Qz = "о", eV = "⊝", tV = "Ő", nV = "ő", rV = "⨸", oV = "⊙", iV = "⦼", sV = "Œ", aV = "œ", lV = "⦿", cV = "𝔒", uV = "𝔬", dV = "˛", fV = "Ò", pV = "ò", hV = "⧁", mV = "⦵", gV = "Ω", vV = "∮", yV = "↺", _V = "⦾", bV = "⦻", CV = "‾", wV = "⧀", kV = "Ō", xV = "ō", SV = "Ω", AV = "ω", TV = "Ο", EV = "ο", DV = "⦶", $V = "⊖", MV = "𝕆", OV = "𝕠", LV = "⦷", IV = "“", NV = "‘", PV = "⦹", FV = "⊕", RV = "↻", BV = "⩔", UV = "∨", qV = "⩝", HV = "ℴ", zV = "ℴ", VV = "ª", jV = "º", WV = "⊶", ZV = "⩖", KV = "⩗", GV = "⩛", YV = "Ⓢ", JV = "𝒪", XV = "ℴ", QV = "Ø", ej = "ø", tj = "⊘", nj = "Õ", rj = "õ", oj = "⨶", ij = "⨷", sj = "⊗", aj = "Ö", lj = "ö", cj = "⌽", uj = "‾", dj = "⏞", fj = "⎴", pj = "⏜", hj = "¶", mj = "∥", gj = "∥", vj = "⫳", yj = "⫽", _j = "∂", bj = "∂", Cj = "П", wj = "п", kj = "%", xj = ".", Sj = "‰", Aj = "⊥", Tj = "‱", Ej = "𝔓", Dj = "𝔭", $j = "Φ", Mj = "φ", Oj = "ϕ", Lj = "ℳ", Ij = "☎", Nj = "Π", Pj = "π", Fj = "⋔", Rj = "ϖ", Bj = "ℏ", Uj = "ℎ", qj = "ℏ", Hj = "⨣", zj = "⊞", Vj = "⨢", jj = "+", Wj = "∔", Zj = "⨥", Kj = "⩲", Gj = "±", Yj = "±", Jj = "⨦", Xj = "⨧", Qj = "±", eW = "ℌ", tW = "⨕", nW = "𝕡", rW = "ℙ", oW = "£", iW = "⪷", sW = "⪻", aW = "≺", lW = "≼", cW = "⪷", uW = "≺", dW = "≼", fW = "≺", pW = "⪯", hW = "≼", mW = "≾", gW = "⪯", vW = "⪹", yW = "⪵", _W = "⋨", bW = "⪯", CW = "⪳", wW = "≾", kW = "′", xW = "″", SW = "ℙ", AW = "⪹", TW = "⪵", EW = "⋨", DW = "∏", $W = "∏", MW = "⌮", OW = "⌒", LW = "⌓", IW = "∝", NW = "∝", PW = "∷", FW = "∝", RW = "≾", BW = "⊰", UW = "𝒫", qW = "𝓅", HW = "Ψ", zW = "ψ", VW = " ", jW = "𝔔", WW = "𝔮", ZW = "⨌", KW = "𝕢", GW = "ℚ", YW = "⁗", JW = "𝒬", XW = "𝓆", QW = "ℍ", eZ = "⨖", tZ = "?", nZ = "≟", rZ = '"', oZ = '"', iZ = "⇛", sZ = "∽̱", aZ = "Ŕ", lZ = "ŕ", cZ = "√", uZ = "⦳", dZ = "⟩", fZ = "⟫", pZ = "⦒", hZ = "⦥", mZ = "⟩", gZ = "»", vZ = "⥵", yZ = "⇥", _Z = "⤠", bZ = "⤳", CZ = "→", wZ = "↠", kZ = "⇒", xZ = "⤞", SZ = "↪", AZ = "↬", TZ = "⥅", EZ = "⥴", DZ = "⤖", $Z = "↣", MZ = "↝", OZ = "⤚", LZ = "⤜", IZ = "∶", NZ = "ℚ", PZ = "⤍", FZ = "⤏", RZ = "⤐", BZ = "❳", UZ = "}", qZ = "]", HZ = "⦌", zZ = "⦎", VZ = "⦐", jZ = "Ř", WZ = "ř", ZZ = "Ŗ", KZ = "ŗ", GZ = "⌉", YZ = "}", JZ = "Р", XZ = "р", QZ = "⤷", eK = "⥩", tK = "”", nK = "”", rK = "↳", oK = "ℜ", iK = "ℛ", sK = "ℜ", aK = "ℝ", lK = "ℜ", cK = "▭", uK = "®", dK = "®", fK = "∋", pK = "⇋", hK = "⥯", mK = "⥽", gK = "⌋", vK = "𝔯", yK = "ℜ", _K = "⥤", bK = "⇁", CK = "⇀", wK = "⥬", kK = "Ρ", xK = "ρ", SK = "ϱ", AK = "⟩", TK = "⇥", EK = "→", DK = "→", $K = "⇒", MK = "⇄", OK = "↣", LK = "⌉", IK = "⟧", NK = "⥝", PK = "⥕", FK = "⇂", RK = "⌋", BK = "⇁", UK = "⇀", qK = "⇄", HK = "⇌", zK = "⇉", VK = "↝", jK = "↦", WK = "⊢", ZK = "⥛", KK = "⋌", GK = "⧐", YK = "⊳", JK = "⊵", XK = "⥏", QK = "⥜", eG = "⥔", tG = "↾", nG = "⥓", rG = "⇀", oG = "˚", iG = "≓", sG = "⇄", aG = "⇌", lG = "‏", cG = "⎱", uG = "⎱", dG = "⫮", fG = "⟭", pG = "⇾", hG = "⟧", mG = "⦆", gG = "𝕣", vG = "ℝ", yG = "⨮", _G = "⨵", bG = "⥰", CG = ")", wG = "⦔", kG = "⨒", xG = "⇉", SG = "⇛", AG = "›", TG = "𝓇", EG = "ℛ", DG = "↱", $G = "↱", MG = "]", OG = "’", LG = "’", IG = "⋌", NG = "⋊", PG = "▹", FG = "⊵", RG = "▸", BG = "⧎", UG = "⧴", qG = "⥨", HG = "℞", zG = "Ś", VG = "ś", jG = "‚", WG = "⪸", ZG = "Š", KG = "š", GG = "⪼", YG = "≻", JG = "≽", XG = "⪰", QG = "⪴", eY = "Ş", tY = "ş", nY = "Ŝ", rY = "ŝ", oY = "⪺", iY = "⪶", sY = "⋩", aY = "⨓", lY = "≿", cY = "С", uY = "с", dY = "⊡", fY = "⋅", pY = "⩦", hY = "⤥", mY = "↘", gY = "⇘", vY = "↘", yY = "§", _Y = ";", bY = "⤩", CY = "∖", wY = "∖", kY = "✶", xY = "𝔖", SY = "𝔰", AY = "⌢", TY = "♯", EY = "Щ", DY = "щ", $Y = "Ш", MY = "ш", OY = "↓", LY = "←", IY = "∣", NY = "∥", PY = "→", FY = "↑", RY = "­", BY = "Σ", UY = "σ", qY = "ς", HY = "ς", zY = "∼", VY = "⩪", jY = "≃", WY = "≃", ZY = "⪞", KY = "⪠", GY = "⪝", YY = "⪟", JY = "≆", XY = "⨤", QY = "⥲", eJ = "←", tJ = "∘", nJ = "∖", rJ = "⨳", oJ = "⧤", iJ = "∣", sJ = "⌣", aJ = "⪪", lJ = "⪬", cJ = "⪬︀", uJ = "Ь", dJ = "ь", fJ = "⌿", pJ = "⧄", hJ = "/", mJ = "𝕊", gJ = "𝕤", vJ = "♠", yJ = "♠", _J = "∥", bJ = "⊓", CJ = "⊓︀", wJ = "⊔", kJ = "⊔︀", xJ = "√", SJ = "⊏", AJ = "⊑", TJ = "⊏", EJ = "⊑", DJ = "⊐", $J = "⊒", MJ = "⊐", OJ = "⊒", LJ = "□", IJ = "□", NJ = "⊓", PJ = "⊏", FJ = "⊑", RJ = "⊐", BJ = "⊒", UJ = "⊔", qJ = "▪", HJ = "□", zJ = "▪", VJ = "→", jJ = "𝒮", WJ = "𝓈", ZJ = "∖", KJ = "⌣", GJ = "⋆", YJ = "⋆", JJ = "☆", XJ = "★", QJ = "ϵ", eX = "ϕ", tX = "¯", nX = "⊂", rX = "⋐", oX = "⪽", iX = "⫅", sX = "⊆", aX = "⫃", lX = "⫁", cX = "⫋", uX = "⊊", dX = "⪿", fX = "⥹", pX = "⊂", hX = "⋐", mX = "⊆", gX = "⫅", vX = "⊆", yX = "⊊", _X = "⫋", bX = "⫇", CX = "⫕", wX = "⫓", kX = "⪸", xX = "≻", SX = "≽", AX = "≻", TX = "⪰", EX = "≽", DX = "≿", $X = "⪰", MX = "⪺", OX = "⪶", LX = "⋩", IX = "≿", NX = "∋", PX = "∑", FX = "∑", RX = "♪", BX = "¹", UX = "²", qX = "³", HX = "⊃", zX = "⋑", VX = "⪾", jX = "⫘", WX = "⫆", ZX = "⊇", KX = "⫄", GX = "⊃", YX = "⊇", JX = "⟉", XX = "⫗", QX = "⥻", eQ = "⫂", tQ = "⫌", nQ = "⊋", rQ = "⫀", oQ = "⊃", iQ = "⋑", sQ = "⊇", aQ = "⫆", lQ = "⊋", cQ = "⫌", uQ = "⫈", dQ = "⫔", fQ = "⫖", pQ = "⤦", hQ = "↙", mQ = "⇙", gQ = "↙", vQ = "⤪", yQ = "ß", _Q = " ", bQ = "⌖", CQ = "Τ", wQ = "τ", kQ = "⎴", xQ = "Ť", SQ = "ť", AQ = "Ţ", TQ = "ţ", EQ = "Т", DQ = "т", $Q = "⃛", MQ = "⌕", OQ = "𝔗", LQ = "𝔱", IQ = "∴", NQ = "∴", PQ = "∴", FQ = "Θ", RQ = "θ", BQ = "ϑ", UQ = "ϑ", qQ = "≈", HQ = "∼", zQ = "  ", VQ = " ", jQ = " ", WQ = "≈", ZQ = "∼", KQ = "Þ", GQ = "þ", YQ = "˜", JQ = "∼", XQ = "≃", QQ = "≅", eee = "≈", tee = "⨱", nee = "⊠", ree = "×", oee = "⨰", iee = "∭", see = "⤨", aee = "⌶", lee = "⫱", cee = "⊤", uee = "𝕋", dee = "𝕥", fee = "⫚", pee = "⤩", hee = "‴", mee = "™", gee = "™", vee = "▵", yee = "▿", _ee = "◃", bee = "⊴", Cee = "≜", wee = "▹", kee = "⊵", xee = "◬", See = "≜", Aee = "⨺", Tee = "⃛", Eee = "⨹", Dee = "⧍", $ee = "⨻", Mee = "⏢", Oee = "𝒯", Lee = "𝓉", Iee = "Ц", Nee = "ц", Pee = "Ћ", Fee = "ћ", Ree = "Ŧ", Bee = "ŧ", Uee = "≬", qee = "↞", Hee = "↠", zee = "Ú", Vee = "ú", jee = "↑", Wee = "↟", Zee = "⇑", Kee = "⥉", Gee = "Ў", Yee = "ў", Jee = "Ŭ", Xee = "ŭ", Qee = "Û", ete = "û", tte = "У", nte = "у", rte = "⇅", ote = "Ű", ite = "ű", ste = "⥮", ate = "⥾", lte = "𝔘", cte = "𝔲", ute = "Ù", dte = "ù", fte = "⥣", pte = "↿", hte = "↾", mte = "▀", gte = "⌜", vte = "⌜", yte = "⌏", _te = "◸", bte = "Ū", Cte = "ū", wte = "¨", kte = "_", xte = "⏟", Ste = "⎵", Ate = "⏝", Tte = "⋃", Ete = "⊎", Dte = "Ų", $te = "ų", Mte = "𝕌", Ote = "𝕦", Lte = "⤒", Ite = "↑", Nte = "↑", Pte = "⇑", Fte = "⇅", Rte = "↕", Bte = "↕", Ute = "⇕", qte = "⥮", Hte = "↿", zte = "↾", Vte = "⊎", jte = "↖", Wte = "↗", Zte = "υ", Kte = "ϒ", Gte = "ϒ", Yte = "Υ", Jte = "υ", Xte = "↥", Qte = "⊥", ene = "⇈", tne = "⌝", nne = "⌝", rne = "⌎", one = "Ů", ine = "ů", sne = "◹", ane = "𝒰", lne = "𝓊", cne = "⋰", une = "Ũ", dne = "ũ", fne = "▵", pne = "▴", hne = "⇈", mne = "Ü", gne = "ü", vne = "⦧", yne = "⦜", _ne = "ϵ", bne = "ϰ", Cne = "∅", wne = "ϕ", kne = "ϖ", xne = "∝", Sne = "↕", Ane = "⇕", Tne = "ϱ", Ene = "ς", Dne = "⊊︀", $ne = "⫋︀", Mne = "⊋︀", One = "⫌︀", Lne = "ϑ", Ine = "⊲", Nne = "⊳", Pne = "⫨", Fne = "⫫", Rne = "⫩", Bne = "В", Une = "в", qne = "⊢", Hne = "⊨", zne = "⊩", Vne = "⊫", jne = "⫦", Wne = "⊻", Zne = "∨", Kne = "⋁", Gne = "≚", Yne = "⋮", Jne = "|", Xne = "‖", Qne = "|", ere = "‖", tre = "∣", nre = "|", rre = "❘", ore = "≀", ire = " ", sre = "𝔙", are = "𝔳", lre = "⊲", cre = "⊂⃒", ure = "⊃⃒", dre = "𝕍", fre = "𝕧", pre = "∝", hre = "⊳", mre = "𝒱", gre = "𝓋", vre = "⫋︀", yre = "⊊︀", _re = "⫌︀", bre = "⊋︀", Cre = "⊪", wre = "⦚", kre = "Ŵ", xre = "ŵ", Sre = "⩟", Are = "∧", Tre = "⋀", Ere = "≙", Dre = "℘", $re = "𝔚", Mre = "𝔴", Ore = "𝕎", Lre = "𝕨", Ire = "℘", Nre = "≀", Pre = "≀", Fre = "𝒲", Rre = "𝓌", Bre = "⋂", Ure = "◯", qre = "⋃", Hre = "▽", zre = "𝔛", Vre = "𝔵", jre = "⟷", Wre = "⟺", Zre = "Ξ", Kre = "ξ", Gre = "⟵", Yre = "⟸", Jre = "⟼", Xre = "⋻", Qre = "⨀", eoe = "𝕏", toe = "𝕩", noe = "⨁", roe = "⨂", ooe = "⟶", ioe = "⟹", soe = "𝒳", aoe = "𝓍", loe = "⨆", coe = "⨄", uoe = "△", doe = "⋁", foe = "⋀", poe = "Ý", hoe = "ý", moe = "Я", goe = "я", voe = "Ŷ", yoe = "ŷ", _oe = "Ы", boe = "ы", Coe = "¥", woe = "𝔜", koe = "𝔶", xoe = "Ї", Soe = "ї", Aoe = "𝕐", Toe = "𝕪", Eoe = "𝒴", Doe = "𝓎", $oe = "Ю", Moe = "ю", Ooe = "ÿ", Loe = "Ÿ", Ioe = "Ź", Noe = "ź", Poe = "Ž", Foe = "ž", Roe = "З", Boe = "з", Uoe = "Ż", qoe = "ż", Hoe = "ℨ", zoe = "​", Voe = "Ζ", joe = "ζ", Woe = "𝔷", Zoe = "ℨ", Koe = "Ж", Goe = "ж", Yoe = "⇝", Joe = "𝕫", Xoe = "ℤ", Qoe = "𝒵", eie = "𝓏", tie = "‍", nie = "‌", rie = {
8159
8159
  Aacute: U4,
@@ -10596,7 +10596,7 @@ function bie() {
10596
10596
  return I = I.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (I = I.replace(/ẞ/g, "ß")), I.toLowerCase().toUpperCase();
10597
10597
  }
10598
10598
  t.lib = {}, t.lib.mdurl = Ci, t.lib.ucmicro = bie(), t.assign = i, t.isString = n, t.has = o, t.unescapeMd = m, t.unescapeAll = v, t.isValidEntityCode = a, t.fromCodePoint = l, t.escapeHtml = w, t.arrayReplaceAt = s, t.isSpace = E, t.isWhiteSpace = T, t.isMdAsciiPunct = $, t.isPunctChar = q, t.escapeRE = S, t.normalizeReference = L;
10599
- })(He);
10599
+ })(Ve);
10600
10600
  var Cl = {}, Cie = function(e, n, r) {
10601
10601
  var o, i, s, a, l = -1, c = e.posMax, u = e.pos;
10602
10602
  for (e.pos = n + 1, o = 1; e.pos < c; ) {
@@ -10612,7 +10612,7 @@ var Cl = {}, Cie = function(e, n, r) {
10612
10612
  }
10613
10613
  }
10614
10614
  return i && (l = e.pos), e.pos = u, l;
10615
- }, L1 = He.unescapeAll, wie = function(e, n, r) {
10615
+ }, L1 = Ve.unescapeAll, wie = function(e, n, r) {
10616
10616
  var o, i, s = n, a = {
10617
10617
  ok: !1,
10618
10618
  pos: 0,
@@ -10650,7 +10650,7 @@ var Cl = {}, Cie = function(e, n, r) {
10650
10650
  s++;
10651
10651
  }
10652
10652
  return n === s || i !== 0 || (a.str = L1(e.slice(n, s)), a.pos = s, a.ok = !0), a;
10653
- }, kie = He.unescapeAll, xie = function(e, n, r) {
10653
+ }, kie = Ve.unescapeAll, xie = function(e, n, r) {
10654
10654
  var o, i, s = 0, a = n, l = {
10655
10655
  ok: !1,
10656
10656
  pos: 0,
@@ -10671,7 +10671,7 @@ var Cl = {}, Cie = function(e, n, r) {
10671
10671
  Cl.parseLinkLabel = Cie;
10672
10672
  Cl.parseLinkDestination = wie;
10673
10673
  Cl.parseLinkTitle = xie;
10674
- var Sie = He.assign, Aie = He.unescapeAll, bo = He.escapeHtml, or = {};
10674
+ var Sie = Ve.assign, Aie = Ve.unescapeAll, bo = Ve.escapeHtml, or = {};
10675
10675
  or.code_inline = function(t, e, n, r, o) {
10676
10676
  var i = t[e];
10677
10677
  return "<code" + o.renderAttrs(i) + ">" + bo(i.content) + "</code>";
@@ -10852,7 +10852,7 @@ var Ku = Rn, Eie = /\r\n?|\n/g, Die = /\0/g, $ie = function(e) {
10852
10852
  var n = e.tokens, r, o, i;
10853
10853
  for (o = 0, i = n.length; o < i; o++)
10854
10854
  r = n[o], r.type === "inline" && e.md.inline.parse(r.content, e.md, e.env, r.children);
10855
- }, Lie = He.arrayReplaceAt;
10855
+ }, Lie = Ve.arrayReplaceAt;
10856
10856
  function Iie(t) {
10857
10857
  return /^<a[>\s]/i.test(t);
10858
10858
  }
@@ -10900,7 +10900,7 @@ var zie = function(e) {
10900
10900
  if (e.md.options.typographer)
10901
10901
  for (n = e.tokens.length - 1; n >= 0; n--)
10902
10902
  e.tokens[n].type === "inline" && (Fie.test(e.tokens[n].content) && qie(e.tokens[n].children), Fh.test(e.tokens[n].content) && Hie(e.tokens[n].children));
10903
- }, I1 = He.isWhiteSpace, N1 = He.isPunctChar, P1 = He.isMdAsciiPunct, Vie = /['"]/, F1 = /['"]/g, R1 = "’";
10903
+ }, I1 = Ve.isWhiteSpace, N1 = Ve.isPunctChar, P1 = Ve.isMdAsciiPunct, Vie = /['"]/, F1 = /['"]/g, R1 = "’";
10904
10904
  function sa(t, e, n) {
10905
10905
  return t.slice(0, e) + n + t.slice(e + 1);
10906
10906
  }
@@ -11024,7 +11024,7 @@ Yu.prototype.process = function(t) {
11024
11024
  r[e](t);
11025
11025
  };
11026
11026
  Yu.prototype.State = Gie;
11027
- var Jie = Yu, cc = He.isSpace;
11027
+ var Jie = Yu, cc = Ve.isSpace;
11028
11028
  function uc(t, e) {
11029
11029
  var n = t.bMarks[e] + t.tShift[e], r = t.eMarks[e];
11030
11030
  return t.src.slice(n, r);
@@ -11102,7 +11102,7 @@ var Xie = function(e, n, r, o) {
11102
11102
  break;
11103
11103
  }
11104
11104
  return s = e.sCount[n], e.line = l + (f ? 1 : 0), u = e.push("fence", "code", 0), u.info = a, u.content = e.getLines(n + 1, l, s, !0), u.markup = d, u.map = [n, e.line], !0;
11105
- }, tse = He.isSpace, nse = function(e, n, r, o) {
11105
+ }, tse = Ve.isSpace, nse = function(e, n, r, o) {
11106
11106
  var i, s, a, l, c, u, d, f, p, h, m, v, _, g, y, C, w, b, S, E, T = e.lineMax, M = e.bMarks[n] + e.tShift[n], q = e.eMarks[n];
11107
11107
  if (e.sCount[n] - e.blkIndent >= 4 || e.src.charCodeAt(M) !== 62)
11108
11108
  return !1;
@@ -11133,7 +11133,7 @@ var Xie = function(e, n, r, o) {
11133
11133
  for (v = e.blkIndent, e.blkIndent = 0, S = e.push("blockquote_open", "blockquote", 1), S.markup = ">", S.map = d = [n, 0], e.md.block.tokenize(e, n, f), S = e.push("blockquote_close", "blockquote", -1), S.markup = ">", e.lineMax = T, e.parentType = _, d[1] = e.line, a = 0; a < y.length; a++)
11134
11134
  e.bMarks[a + n] = h[a], e.tShift[a + n] = y[a], e.sCount[a + n] = g[a], e.bsCount[a + n] = m[a];
11135
11135
  return e.blkIndent = v, !0;
11136
- }, rse = He.isSpace, ose = function(e, n, r, o) {
11136
+ }, rse = Ve.isSpace, ose = function(e, n, r, o) {
11137
11137
  var i, s, a, l, c = e.bMarks[n] + e.tShift[n], u = e.eMarks[n];
11138
11138
  if (e.sCount[n] - e.blkIndent >= 4 || (i = e.src.charCodeAt(c++), i !== 42 && i !== 45 && i !== 95))
11139
11139
  return !1;
@@ -11143,7 +11143,7 @@ var Xie = function(e, n, r, o) {
11143
11143
  a === i && s++;
11144
11144
  }
11145
11145
  return s < 3 ? !1 : (o || (e.line = n + 1, l = e.push("hr", "hr", 0), l.map = [n, e.line], l.markup = Array(s + 1).join(String.fromCharCode(i))), !0);
11146
- }, Bh = He.isSpace;
11146
+ }, Bh = Ve.isSpace;
11147
11147
  function U1(t, e) {
11148
11148
  var n, r, o, i;
11149
11149
  return r = t.bMarks[e] + t.tShift[e], o = t.eMarks[e], n = t.src.charCodeAt(r++), n !== 42 && n !== 45 && n !== 43 || r < o && (i = t.src.charCodeAt(r), !Bh(i)) ? -1 : r;
@@ -11215,7 +11215,7 @@ var sse = function(e, n, r, o) {
11215
11215
  break;
11216
11216
  }
11217
11217
  return d ? U = e.push("ordered_list_close", "ol", -1) : U = e.push("bullet_list_close", "ul", -1), U.markup = String.fromCharCode(v), h[1] = H, e.line = H, e.parentType = w, z && ise(e, m), !0;
11218
- }, ase = He.normalizeReference, aa = He.isSpace, lse = function(e, n, r, o) {
11218
+ }, ase = Ve.normalizeReference, aa = Ve.isSpace, lse = function(e, n, r, o) {
11219
11219
  var i, s, a, l, c, u, d, f, p, h, m, v, _, g, y, C, w = 0, b = e.bMarks[n] + e.tShift[n], S = e.eMarks[n], E = n + 1;
11220
11220
  if (e.sCount[n] - e.blkIndent >= 4 || e.src.charCodeAt(b) !== 91)
11221
11221
  return !1;
@@ -11356,7 +11356,7 @@ var wse = cse, kse = wl.HTML_OPEN_CLOSE_TAG_RE, Ho = [
11356
11356
  }
11357
11357
  }
11358
11358
  return e.line = s, a = e.push("html_block", "", 0), a.map = [n, s], a.content = e.getLines(n, s, e.blkIndent, !0), !0;
11359
- }, H1 = He.isSpace, Sse = function(e, n, r, o) {
11359
+ }, H1 = Ve.isSpace, Sse = function(e, n, r, o) {
11360
11360
  var i, s, a, l, c = e.bMarks[n] + e.tShift[n], u = e.eMarks[n];
11361
11361
  if (e.sCount[n] - e.blkIndent >= 4 || (i = e.src.charCodeAt(c), i !== 35 || c >= u))
11362
11362
  return !1;
@@ -11397,7 +11397,7 @@ var wse = cse, kse = wl.HTML_OPEN_CLOSE_TAG_RE, Ho = [
11397
11397
  break;
11398
11398
  }
11399
11399
  return o = e.getLines(n, u, e.blkIndent, !1).trim(), e.line = u, l = e.push("paragraph_open", "p", 1), l.map = [n, e.line], l = e.push("inline", "", 0), l.content = o, l.map = [n, e.line], l.children = [], l = e.push("paragraph_close", "p", -1), e.parentType = c, !0;
11400
- }, Hh = Gu, kl = He.isSpace;
11400
+ }, Hh = Gu, kl = Ve.isSpace;
11401
11401
  function ir(t, e, n, r) {
11402
11402
  var o, i, s, a, l, c, u, d;
11403
11403
  for (this.src = t, this.md = e, this.env = n, this.tokens = r, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0, this.result = "", i = this.src, d = !1, s = a = c = u = 0, l = i.length; a < l; a++) {
@@ -11548,7 +11548,7 @@ var Ose = function(e, n) {
11548
11548
  }, Lse = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i, Ise = function(e, n) {
11549
11549
  var r, o, i, s, a, l, c, u;
11550
11550
  return !e.md.options.linkify || e.linkLevel > 0 || (r = e.pos, o = e.posMax, r + 3 > o) || e.src.charCodeAt(r) !== 58 || e.src.charCodeAt(r + 1) !== 47 || e.src.charCodeAt(r + 2) !== 47 || (i = e.pending.match(Lse), !i) || (s = i[1], a = e.md.linkify.matchAtStart(e.src.slice(r - s.length)), !a) || (l = a.url, l.length <= s.length) || (l = l.replace(/\*+$/, ""), c = e.md.normalizeLink(l), !e.md.validateLink(c)) ? !1 : (n || (e.pending = e.pending.slice(0, -s.length), u = e.push("link_open", "a", 1), u.attrs = [["href", c]], u.markup = "linkify", u.info = "auto", u = e.push("text", "", 0), u.content = e.md.normalizeLinkText(l), u = e.push("link_close", "a", -1), u.markup = "linkify", u.info = "auto"), e.pos += l.length - s.length, !0);
11551
- }, Nse = He.isSpace, Pse = function(e, n) {
11551
+ }, Nse = Ve.isSpace, Pse = function(e, n) {
11552
11552
  var r, o, i, s = e.pos;
11553
11553
  if (e.src.charCodeAt(s) !== 10)
11554
11554
  return !1;
@@ -11565,7 +11565,7 @@ var Ose = function(e, n) {
11565
11565
  for (s++; s < o && Nse(e.src.charCodeAt(s)); )
11566
11566
  s++;
11567
11567
  return e.pos = s, !0;
11568
- }, Fse = He.isSpace, Ju = [];
11568
+ }, Fse = Ve.isSpace, Ju = [];
11569
11569
  for (var z1 = 0; z1 < 256; z1++)
11570
11570
  Ju.push(0);
11571
11571
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t) {
@@ -11669,7 +11669,7 @@ Al.postProcess = function(e) {
11669
11669
  for (j1(e, e.delimiters), n = 0; n < o; n++)
11670
11670
  r[n] && r[n].delimiters && j1(e, r[n].delimiters);
11671
11671
  };
11672
- var Use = He.normalizeReference, dc = He.isSpace, qse = function(e, n) {
11672
+ var Use = Ve.normalizeReference, dc = Ve.isSpace, qse = function(e, n) {
11673
11673
  var r, o, i, s, a, l, c, u, d, f = "", p = "", h = e.pos, m = e.posMax, v = e.pos, _ = !0;
11674
11674
  if (e.src.charCodeAt(e.pos) !== 91 || (a = e.pos + 1, s = e.md.helpers.parseLinkLabel(e, e.pos, !0), s < 0))
11675
11675
  return !1;
@@ -11695,7 +11695,7 @@ var Use = He.normalizeReference, dc = He.isSpace, qse = function(e, n) {
11695
11695
  f = u.href, p = u.title;
11696
11696
  }
11697
11697
  return n || (e.pos = a, e.posMax = s, d = e.push("link_open", "a", 1), d.attrs = r = [["href", f]], p && r.push(["title", p]), e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, d = e.push("link_close", "a", -1)), e.pos = l, e.posMax = m, !0;
11698
- }, Hse = He.normalizeReference, fc = He.isSpace, zse = function(e, n) {
11698
+ }, Hse = Ve.normalizeReference, fc = Ve.isSpace, zse = function(e, n) {
11699
11699
  var r, o, i, s, a, l, c, u, d, f, p, h, m, v = "", _ = e.pos, g = e.posMax;
11700
11700
  if (e.src.charCodeAt(e.pos) !== 33 || e.src.charCodeAt(e.pos + 1) !== 91 || (l = e.pos + 2, a = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1), a < 0))
11701
11701
  return !1;
@@ -11752,7 +11752,7 @@ function Yse(t) {
11752
11752
  var Jse = function(e, n) {
11753
11753
  var r, o, i, s, a = e.pos;
11754
11754
  return !e.md.options.html || (i = e.posMax, e.src.charCodeAt(a) !== 60 || a + 2 >= i) || (r = e.src.charCodeAt(a + 1), r !== 33 && r !== 63 && r !== 47 && !Yse(r)) || (o = e.src.slice(a).match(Zse), !o) ? !1 : (n || (s = e.push("html_inline", "", 0), s.content = o[0], Kse(s.content) && e.linkLevel++, Gse(s.content) && e.linkLevel--), e.pos += o[0].length, !0);
11755
- }, W1 = Lh, Xse = He.has, Qse = He.isValidEntityCode, Z1 = He.fromCodePoint, eae = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, tae = /^&([a-z][a-z0-9]{1,31});/i, nae = function(e, n) {
11755
+ }, W1 = Lh, Xse = Ve.has, Qse = Ve.isValidEntityCode, Z1 = Ve.fromCodePoint, eae = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, tae = /^&([a-z][a-z0-9]{1,31});/i, nae = function(e, n) {
11756
11756
  var r, o, i, s, a = e.pos, l = e.posMax;
11757
11757
  if (e.src.charCodeAt(a) !== 38 || a + 1 >= l)
11758
11758
  return !1;
@@ -11787,7 +11787,7 @@ var rae = function(e) {
11787
11787
  for (n = r = 0; n < s; n++)
11788
11788
  i[n].nesting < 0 && o--, i[n].level = o, i[n].nesting > 0 && o++, i[n].type === "text" && n + 1 < s && i[n + 1].type === "text" ? i[n + 1].content = i[n].content + i[n + 1].content : (n !== r && (i[r] = i[n]), r++);
11789
11789
  n !== r && (i.length = r);
11790
- }, Xu = Gu, G1 = He.isWhiteSpace, Y1 = He.isPunctChar, J1 = He.isMdAsciiPunct;
11790
+ }, Xu = Gu, G1 = Ve.isWhiteSpace, Y1 = Ve.isPunctChar, J1 = Ve.isMdAsciiPunct;
11791
11791
  function Ps(t, e, n, r) {
11792
11792
  this.src = t, this.env = n, this.md = e, this.tokens = r, this.tokens_meta = Array(r.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
11793
11793
  }
@@ -12384,7 +12384,7 @@ var Mae = {
12384
12384
  ]
12385
12385
  }
12386
12386
  }
12387
- }, os = He, Iae = Cl, Nae = Tie, Pae = Jie, Fae = $se, Rae = sae, Bae = _ae, co = Ci, Xh = $ae, Uae = {
12387
+ }, os = Ve, Iae = Cl, Nae = Tie, Pae = Jie, Fae = $se, Rae = sae, Bae = _ae, co = Ci, Xh = $ae, Uae = {
12388
12388
  default: Mae,
12389
12389
  zero: Oae,
12390
12390
  commonmark: Lae
@@ -12558,7 +12558,7 @@ function lle(t) {
12558
12558
  return Yc(t, n);
12559
12559
  };
12560
12560
  }
12561
- function Fe(t, e) {
12561
+ function Re(t, e) {
12562
12562
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Qi;
12563
12563
  if (of && of(t, null), !Lr(e))
12564
12564
  return t;
@@ -12695,7 +12695,7 @@ const df = Dt(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
12695
12695
  uponSanitizeShadowNode: []
12696
12696
  };
12697
12697
  }, Dr = function(e, n, r, o) {
12698
- return kt(e, n) && Lr(e[n]) ? Fe(o.base ? It(o.base) : {}, e[n], o.transform) : r;
12698
+ return kt(e, n) && Lr(e[n]) ? Re(o.base ? It(o.base) : {}, e[n], o.transform) : r;
12699
12699
  };
12700
12700
  function nm() {
12701
12701
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Sle();
@@ -12735,11 +12735,11 @@ function nm() {
12735
12735
  }, H = n, J = H.implementation, z = H.createNodeIterator, G = H.createDocumentFragment, V = H.getElementsByTagName, ae = r.importNode;
12736
12736
  let le = yf();
12737
12737
  e.isSupported = typeof em == "function" && typeof _ == "function" && J && J.createHTMLDocument !== void 0;
12738
- const De = hle, ge = mle, ye = gle, W = vle, he = yle, Oe = _le, Ze = ble, bt = wle;
12738
+ const De = hle, ge = mle, ye = gle, W = vle, he = yle, Oe = _le, Ke = ble, bt = wle;
12739
12739
  let Z = mf, ce = null;
12740
- const Ke = Fe({}, [...df, ..._c, ...bc, ...Cc, ...ff]);
12740
+ const Ge = Re({}, [...df, ..._c, ...bc, ...Cc, ...ff]);
12741
12741
  let _e = null;
12742
- const ct = Fe({}, [...pf, ...wc, ...hf, ...ca]);
12742
+ const ut = Re({}, [...pf, ...wc, ...hf, ...ca]);
12743
12743
  let Ie = Object.seal(Ko(null, {
12744
12744
  tagNameCheck: {
12745
12745
  writable: !0,
@@ -12759,8 +12759,8 @@ function nm() {
12759
12759
  enumerable: !0,
12760
12760
  value: !1
12761
12761
  }
12762
- })), Je = null, Qe = null;
12763
- const ze = Object.seal(Ko(null, {
12762
+ })), ze = null, et = null;
12763
+ const Fe = Object.seal(Ko(null, {
12764
12764
  tagCheck: {
12765
12765
  writable: !0,
12766
12766
  configurable: !1,
@@ -12774,10 +12774,10 @@ function nm() {
12774
12774
  value: null
12775
12775
  }
12776
12776
  }));
12777
- let st = !0, dt = !0, qn = !1, sr = !0, tt = !1, Lt = !0, Ct = !1, jt = !1, An = null, Hn = null, F = !1, ee = !1, xe = !1, ut = !1, ft = !0, Bt = !1;
12778
- const Be = "user-content-";
12777
+ let Ye = !0, at = !0, qn = !1, sr = !0, nt = !1, Lt = !0, Ct = !1, jt = !1, An = null, Hn = null, F = !1, ee = !1, xe = !1, dt = !1, ft = !0, Bt = !1;
12778
+ const Ue = "user-content-";
12779
12779
  let Xr = !0, Xt = !1, Qt = {}, en = null;
12780
- const Po = Fe({}, [
12780
+ const Po = Re({}, [
12781
12781
  "annotation-xml",
12782
12782
  "audio",
12783
12783
  "colgroup",
@@ -12815,18 +12815,18 @@ function nm() {
12815
12815
  "xmp"
12816
12816
  ]);
12817
12817
  let Zs = null;
12818
- const $i = Fe({}, ["audio", "video", "img", "source", "image", "track"]);
12818
+ const $i = Re({}, ["audio", "video", "img", "source", "image", "track"]);
12819
12819
  let tn = null;
12820
- const Fo = Fe({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Sr = "http://www.w3.org/1998/Math/MathML", Ro = "http://www.w3.org/2000/svg", nn = "http://www.w3.org/1999/xhtml";
12820
+ const Fo = Re({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Sr = "http://www.w3.org/1998/Math/MathML", Ro = "http://www.w3.org/2000/svg", nn = "http://www.w3.org/1999/xhtml";
12821
12821
  let Ar = nn, Qr = !1, Mi = null;
12822
- const Kl = Fe({}, [Sr, Ro, nn], yc), Ks = Dt(["mi", "mo", "mn", "ms", "mtext"]);
12823
- let rn = Fe({}, Ks);
12822
+ const Kl = Re({}, [Sr, Ro, nn], yc), Ks = Dt(["mi", "mo", "mn", "ms", "mtext"]);
12823
+ let rn = Re({}, Ks);
12824
12824
  const Gs = Dt(["annotation-xml"]);
12825
- let Oi = Fe({}, Gs);
12826
- const Gl = Fe({}, ["title", "style", "font", "a", "script"]);
12825
+ let Oi = Re({}, Gs);
12826
+ const Gl = Re({}, ["title", "style", "font", "a", "script"]);
12827
12827
  let eo = null;
12828
12828
  const Li = ["application/xhtml+xml", "text/html"], Ii = "text/html";
12829
- let Ge = null, Tn = null;
12829
+ let Je = null, Tn = null;
12830
12830
  const Ni = n.createElement("form"), Ys = function(A) {
12831
12831
  return A instanceof RegExp || A instanceof Function;
12832
12832
  }, Tr = function() {
@@ -12834,27 +12834,27 @@ function nm() {
12834
12834
  if (Tn && Tn === A)
12835
12835
  return;
12836
12836
  (!A || typeof A != "object") && (A = {}), A = It(A), eo = // eslint-disable-next-line unicorn/prefer-includes
12837
- Li.indexOf(A.PARSER_MEDIA_TYPE) === -1 ? Ii : A.PARSER_MEDIA_TYPE, Ge = eo === "application/xhtml+xml" ? yc : Qi, ce = Dr(A, "ALLOWED_TAGS", Ke, {
12838
- transform: Ge
12839
- }), _e = Dr(A, "ALLOWED_ATTR", ct, {
12840
- transform: Ge
12837
+ Li.indexOf(A.PARSER_MEDIA_TYPE) === -1 ? Ii : A.PARSER_MEDIA_TYPE, Je = eo === "application/xhtml+xml" ? yc : Qi, ce = Dr(A, "ALLOWED_TAGS", Ge, {
12838
+ transform: Je
12839
+ }), _e = Dr(A, "ALLOWED_ATTR", ut, {
12840
+ transform: Je
12841
12841
  }), Mi = Dr(A, "ALLOWED_NAMESPACES", Kl, {
12842
12842
  transform: yc
12843
12843
  }), tn = Dr(A, "ADD_URI_SAFE_ATTR", Fo, {
12844
- transform: Ge,
12844
+ transform: Je,
12845
12845
  base: Fo
12846
12846
  }), Zs = Dr(A, "ADD_DATA_URI_TAGS", $i, {
12847
- transform: Ge,
12847
+ transform: Je,
12848
12848
  base: $i
12849
12849
  }), en = Dr(A, "FORBID_CONTENTS", Po, {
12850
- transform: Ge
12851
- }), Je = Dr(A, "FORBID_TAGS", It({}), {
12852
- transform: Ge
12853
- }), Qe = Dr(A, "FORBID_ATTR", It({}), {
12854
- transform: Ge
12855
- }), Qt = kt(A, "USE_PROFILES") ? A.USE_PROFILES && typeof A.USE_PROFILES == "object" ? It(A.USE_PROFILES) : A.USE_PROFILES : !1, st = A.ALLOW_ARIA_ATTR !== !1, dt = A.ALLOW_DATA_ATTR !== !1, qn = A.ALLOW_UNKNOWN_PROTOCOLS || !1, sr = A.ALLOW_SELF_CLOSE_IN_ATTR !== !1, tt = A.SAFE_FOR_TEMPLATES || !1, Lt = A.SAFE_FOR_XML !== !1, Ct = A.WHOLE_DOCUMENT || !1, ee = A.RETURN_DOM || !1, xe = A.RETURN_DOM_FRAGMENT || !1, ut = A.RETURN_TRUSTED_TYPE || !1, F = A.FORCE_BODY || !1, ft = A.SANITIZE_DOM !== !1, Bt = A.SANITIZE_NAMED_PROPS || !1, Xr = A.KEEP_CONTENT !== !1, Xt = A.IN_PLACE || !1, Z = dle(A.ALLOWED_URI_REGEXP) ? A.ALLOWED_URI_REGEXP : mf, Ar = typeof A.NAMESPACE == "string" ? A.NAMESPACE : nn, rn = kt(A, "MATHML_TEXT_INTEGRATION_POINTS") && A.MATHML_TEXT_INTEGRATION_POINTS && typeof A.MATHML_TEXT_INTEGRATION_POINTS == "object" ? It(A.MATHML_TEXT_INTEGRATION_POINTS) : Fe({}, Ks), Oi = kt(A, "HTML_INTEGRATION_POINTS") && A.HTML_INTEGRATION_POINTS && typeof A.HTML_INTEGRATION_POINTS == "object" ? It(A.HTML_INTEGRATION_POINTS) : Fe({}, Gs);
12850
+ transform: Je
12851
+ }), ze = Dr(A, "FORBID_TAGS", It({}), {
12852
+ transform: Je
12853
+ }), et = Dr(A, "FORBID_ATTR", It({}), {
12854
+ transform: Je
12855
+ }), Qt = kt(A, "USE_PROFILES") ? A.USE_PROFILES && typeof A.USE_PROFILES == "object" ? It(A.USE_PROFILES) : A.USE_PROFILES : !1, Ye = A.ALLOW_ARIA_ATTR !== !1, at = A.ALLOW_DATA_ATTR !== !1, qn = A.ALLOW_UNKNOWN_PROTOCOLS || !1, sr = A.ALLOW_SELF_CLOSE_IN_ATTR !== !1, nt = A.SAFE_FOR_TEMPLATES || !1, Lt = A.SAFE_FOR_XML !== !1, Ct = A.WHOLE_DOCUMENT || !1, ee = A.RETURN_DOM || !1, xe = A.RETURN_DOM_FRAGMENT || !1, dt = A.RETURN_TRUSTED_TYPE || !1, F = A.FORCE_BODY || !1, ft = A.SANITIZE_DOM !== !1, Bt = A.SANITIZE_NAMED_PROPS || !1, Xr = A.KEEP_CONTENT !== !1, Xt = A.IN_PLACE || !1, Z = dle(A.ALLOWED_URI_REGEXP) ? A.ALLOWED_URI_REGEXP : mf, Ar = typeof A.NAMESPACE == "string" ? A.NAMESPACE : nn, rn = kt(A, "MATHML_TEXT_INTEGRATION_POINTS") && A.MATHML_TEXT_INTEGRATION_POINTS && typeof A.MATHML_TEXT_INTEGRATION_POINTS == "object" ? It(A.MATHML_TEXT_INTEGRATION_POINTS) : Re({}, Ks), Oi = kt(A, "HTML_INTEGRATION_POINTS") && A.HTML_INTEGRATION_POINTS && typeof A.HTML_INTEGRATION_POINTS == "object" ? It(A.HTML_INTEGRATION_POINTS) : Re({}, Gs);
12856
12856
  const B = kt(A, "CUSTOM_ELEMENT_HANDLING") && A.CUSTOM_ELEMENT_HANDLING && typeof A.CUSTOM_ELEMENT_HANDLING == "object" ? It(A.CUSTOM_ELEMENT_HANDLING) : Ko(null);
12857
- if (Ie = Ko(null), kt(B, "tagNameCheck") && Ys(B.tagNameCheck) && (Ie.tagNameCheck = B.tagNameCheck), kt(B, "attributeNameCheck") && Ys(B.attributeNameCheck) && (Ie.attributeNameCheck = B.attributeNameCheck), kt(B, "allowCustomizedBuiltInElements") && typeof B.allowCustomizedBuiltInElements == "boolean" && (Ie.allowCustomizedBuiltInElements = B.allowCustomizedBuiltInElements), Mt(Ie), tt && (dt = !1), xe && (ee = !0), Qt && (ce = Fe({}, ff), _e = Ko(null), Qt.html === !0 && (Fe(ce, df), Fe(_e, pf)), Qt.svg === !0 && (Fe(ce, _c), Fe(_e, wc), Fe(_e, ca)), Qt.svgFilters === !0 && (Fe(ce, bc), Fe(_e, wc), Fe(_e, ca)), Qt.mathMl === !0 && (Fe(ce, Cc), Fe(_e, hf), Fe(_e, ca))), ze.tagCheck = null, ze.attributeCheck = null, kt(A, "ADD_TAGS") && (typeof A.ADD_TAGS == "function" ? ze.tagCheck = A.ADD_TAGS : Lr(A.ADD_TAGS) && (ce === Ke && (ce = It(ce)), Fe(ce, A.ADD_TAGS, Ge))), kt(A, "ADD_ATTR") && (typeof A.ADD_ATTR == "function" ? ze.attributeCheck = A.ADD_ATTR : Lr(A.ADD_ATTR) && (_e === ct && (_e = It(_e)), Fe(_e, A.ADD_ATTR, Ge))), kt(A, "ADD_URI_SAFE_ATTR") && Lr(A.ADD_URI_SAFE_ATTR) && Fe(tn, A.ADD_URI_SAFE_ATTR, Ge), kt(A, "FORBID_CONTENTS") && Lr(A.FORBID_CONTENTS) && (en === Po && (en = It(en)), Fe(en, A.FORBID_CONTENTS, Ge)), kt(A, "ADD_FORBID_CONTENTS") && Lr(A.ADD_FORBID_CONTENTS) && (en === Po && (en = It(en)), Fe(en, A.ADD_FORBID_CONTENTS, Ge)), Xr && (ce["#text"] = !0), Ct && Fe(ce, ["html", "head", "body"]), ce.table && (Fe(ce, ["tbody"]), delete Je.tbody), A.TRUSTED_TYPES_POLICY) {
12857
+ if (Ie = Ko(null), kt(B, "tagNameCheck") && Ys(B.tagNameCheck) && (Ie.tagNameCheck = B.tagNameCheck), kt(B, "attributeNameCheck") && Ys(B.attributeNameCheck) && (Ie.attributeNameCheck = B.attributeNameCheck), kt(B, "allowCustomizedBuiltInElements") && typeof B.allowCustomizedBuiltInElements == "boolean" && (Ie.allowCustomizedBuiltInElements = B.allowCustomizedBuiltInElements), Mt(Ie), nt && (at = !1), xe && (ee = !0), Qt && (ce = Re({}, ff), _e = Ko(null), Qt.html === !0 && (Re(ce, df), Re(_e, pf)), Qt.svg === !0 && (Re(ce, _c), Re(_e, wc), Re(_e, ca)), Qt.svgFilters === !0 && (Re(ce, bc), Re(_e, wc), Re(_e, ca)), Qt.mathMl === !0 && (Re(ce, Cc), Re(_e, hf), Re(_e, ca))), Fe.tagCheck = null, Fe.attributeCheck = null, kt(A, "ADD_TAGS") && (typeof A.ADD_TAGS == "function" ? Fe.tagCheck = A.ADD_TAGS : Lr(A.ADD_TAGS) && (ce === Ge && (ce = It(ce)), Re(ce, A.ADD_TAGS, Je))), kt(A, "ADD_ATTR") && (typeof A.ADD_ATTR == "function" ? Fe.attributeCheck = A.ADD_ATTR : Lr(A.ADD_ATTR) && (_e === ut && (_e = It(_e)), Re(_e, A.ADD_ATTR, Je))), kt(A, "ADD_URI_SAFE_ATTR") && Lr(A.ADD_URI_SAFE_ATTR) && Re(tn, A.ADD_URI_SAFE_ATTR, Je), kt(A, "FORBID_CONTENTS") && Lr(A.FORBID_CONTENTS) && (en === Po && (en = It(en)), Re(en, A.FORBID_CONTENTS, Je)), kt(A, "ADD_FORBID_CONTENTS") && Lr(A.ADD_FORBID_CONTENTS) && (en === Po && (en = It(en)), Re(en, A.ADD_FORBID_CONTENTS, Je)), Xr && (ce["#text"] = !0), Ct && Re(ce, ["html", "head", "body"]), ce.table && (Re(ce, ["tbody"]), delete ze.tbody), A.TRUSTED_TYPES_POLICY) {
12858
12858
  if (typeof A.TRUSTED_TYPES_POLICY.createHTML != "function")
12859
12859
  throw no('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
12860
12860
  if (typeof A.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -12869,11 +12869,11 @@ function nm() {
12869
12869
  } else
12870
12870
  A.TRUSTED_TYPES_POLICY === null ? (S = void 0, E = "") : (S === void 0 && (S = U()), S && typeof E == "string" && (E = L("")));
12871
12871
  Dt && Dt(A), Tn = A;
12872
- }, Pi = Fe({}, [..._c, ...bc, ...fle]), P = Fe({}, [...Cc, ...ple]), re = function(A, B, X) {
12872
+ }, Pi = Re({}, [..._c, ...bc, ...fle]), P = Re({}, [...Cc, ...ple]), re = function(A, B, X) {
12873
12873
  return B.namespaceURI === nn ? A === "svg" : B.namespaceURI === Sr ? A === "svg" && (X === "annotation-xml" || rn[X]) : !!Pi[A];
12874
12874
  }, Le = function(A, B, X) {
12875
12875
  return B.namespaceURI === nn ? A === "math" : B.namespaceURI === Ro ? A === "math" && Oi[X] : !!P[A];
12876
- }, nt = function(A, B, X) {
12876
+ }, rt = function(A, B, X) {
12877
12877
  return B.namespaceURI === Ro && !Oi[X] || B.namespaceURI === Sr && !rn[X] ? !1 : !P[A] && (Gl[A] || !Pi[A]);
12878
12878
  }, ar = function(A) {
12879
12879
  let B = _(A);
@@ -12882,7 +12882,7 @@ function nm() {
12882
12882
  tagName: "template"
12883
12883
  });
12884
12884
  const X = Qi(A.tagName), Ce = Qi(B.tagName);
12885
- return Mi[A.namespaceURI] ? A.namespaceURI === Ro ? re(X, B, Ce) : A.namespaceURI === Sr ? Le(X, B, Ce) : A.namespaceURI === nn ? nt(X, B, Ce) : !!(eo === "application/xhtml+xml" && Mi[A.namespaceURI]) : !1;
12885
+ return Mi[A.namespaceURI] ? A.namespaceURI === Ro ? re(X, B, Ce) : A.namespaceURI === Sr ? Le(X, B, Ce) : A.namespaceURI === nn ? rt(X, B, Ce) : !!(eo === "application/xhtml+xml" && Mi[A.namespaceURI]) : !1;
12886
12886
  }, En = function(A) {
12887
12887
  Vo(e.removed, {
12888
12888
  element: A
@@ -12945,7 +12945,7 @@ function nm() {
12945
12945
  if (B)
12946
12946
  for (let X = B.length - 1; X >= 0; --X) {
12947
12947
  const Ce = B[X], ke = Ce && Ce.name;
12948
- if (!(typeof ke != "string" || _e[Ge(ke)]))
12948
+ if (!(typeof ke != "string" || _e[Je(ke)]))
12949
12949
  try {
12950
12950
  A.removeAttribute(ke);
12951
12951
  } catch {
@@ -12975,9 +12975,9 @@ function nm() {
12975
12975
  continue;
12976
12976
  }
12977
12977
  if (Ce === on.element) {
12978
- const Me = X, Ye = Ge(w ? w(X) : X.nodeName);
12978
+ const Me = X, Xe = Je(w ? w(X) : X.nodeName);
12979
12979
  try {
12980
- Me.hasAttribute && Me.hasAttribute("patchsrc") && Me.removeAttribute("patchsrc"), Me.hasAttribute && Me.hasAttribute("for") && Ye !== "label" && Ye !== "output" && Me.removeAttribute("for");
12980
+ Me.hasAttribute && Me.hasAttribute("patchsrc") && Me.removeAttribute("patchsrc"), Me.hasAttribute && Me.hasAttribute("for") && Xe !== "label" && Xe !== "output" && Me.removeAttribute("for");
12981
12981
  } catch {
12982
12982
  }
12983
12983
  }
@@ -13035,12 +13035,12 @@ function nm() {
13035
13035
  for (; ke; )
13036
13036
  ke.data = Xs(ke.data), ke = Ce.nextNode();
13037
13037
  const Me = (B = A.querySelectorAll) === null || B === void 0 ? void 0 : B.call(A, "template");
13038
- Me && zo(Me, (Ye) => {
13039
- Bo(Ye.content) && Yl(Ye.content);
13038
+ Me && zo(Me, (Xe) => {
13039
+ Bo(Xe.content) && Yl(Xe.content);
13040
13040
  });
13041
13041
  }, Qs = function(A) {
13042
13042
  const B = w ? w(A) : null;
13043
- return typeof B != "string" || Ge(B) !== "form" ? !1 : typeof A.nodeName != "string" || typeof A.textContent != "string" || typeof A.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
13043
+ return typeof B != "string" || Je(B) !== "form" ? !1 : typeof A.nodeName != "string" || typeof A.textContent != "string" || typeof A.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
13044
13044
  // prototype getter. Clobbered .attributes (e.g. <input name="attributes">)
13045
13045
  // makes the direct read diverge from the cached read; a clean form
13046
13046
  // (same-realm OR foreign-realm) has both reads pointing at the same
@@ -13089,15 +13089,15 @@ function nm() {
13089
13089
  const kg = function(A, B) {
13090
13090
  return !!(Lt && A.hasChildNodes() && !Bi(A.firstElementChild) && wt(gf, A.textContent) && wt(gf, A.innerHTML) || Lt && A.namespaceURI === nn && B === "style" && Bi(A.firstElementChild) || A.nodeType === on.processingInstruction || Lt && A.nodeType === on.comment && wt(vf, A.data));
13091
13091
  }, xg = function(A, B, X) {
13092
- if (!Je[B] && Xd(B) && (Ie.tagNameCheck instanceof RegExp && wt(Ie.tagNameCheck, B) || Ie.tagNameCheck instanceof Function && Ie.tagNameCheck(B)))
13092
+ if (!ze[B] && Xd(B) && (Ie.tagNameCheck instanceof RegExp && wt(Ie.tagNameCheck, B) || Ie.tagNameCheck instanceof Function && Ie.tagNameCheck(B)))
13093
13093
  return !1;
13094
13094
  if (Xr && !en[B]) {
13095
13095
  const Ce = _(A), ke = v(A);
13096
13096
  if (ke && Ce) {
13097
13097
  const Me = ke.length;
13098
- for (let Ye = Me - 1; Ye >= 0; --Ye) {
13099
- const rt = A === X ? p(ke[Ye], !0) : ke[Ye];
13100
- Ce.insertBefore(rt, m(A));
13098
+ for (let Xe = Me - 1; Xe >= 0; --Xe) {
13099
+ const ot = A === X ? p(ke[Xe], !0) : ke[Xe];
13100
+ Ce.insertBefore(ot, m(A));
13101
13101
  }
13102
13102
  }
13103
13103
  }
@@ -13109,21 +13109,21 @@ function nm() {
13109
13109
  return Xt && Ri(A), !0;
13110
13110
  if (Qs(A))
13111
13111
  return En(A), !0;
13112
- const X = Ge(w ? w(A) : A.nodeName);
13113
- if (ce = Gd(le.uponSanitizeElement, ce, Ke, An), zn(le.uponSanitizeElement, A, {
13112
+ const X = Je(w ? w(A) : A.nodeName);
13113
+ if (ce = Gd(le.uponSanitizeElement, ce, Ge, An), zn(le.uponSanitizeElement, A, {
13114
13114
  tagName: X,
13115
13115
  allowedTags: ce
13116
13116
  }), A !== B && _(A) === null)
13117
13117
  return Xt && Ri(A), !0;
13118
13118
  if (kg(A, X))
13119
13119
  return En(A), !0;
13120
- if (Je[X] || !(ze.tagCheck instanceof Function && ze.tagCheck(X)) && !ce[X]) {
13120
+ if (ze[X] || !(Fe.tagCheck instanceof Function && Fe.tagCheck(X)) && !ce[X]) {
13121
13121
  const ke = xg(A, X, B);
13122
13122
  return ke === !1 && zn(le.afterSanitizeElements, A, null), ke;
13123
13123
  }
13124
13124
  if ((C ? C(A) : A.nodeType) === on.element && !ar(A) || (X === "noscript" || X === "noembed" || X === "noframes") && wt(kle, A.innerHTML))
13125
13125
  return En(A), !0;
13126
- if (tt && A.nodeType === on.text) {
13126
+ if (nt && A.nodeType === on.text) {
13127
13127
  const ke = Xs(A.textContent);
13128
13128
  A.textContent !== ke && (Vo(e.removed, {
13129
13129
  element: A.cloneNode()
@@ -13131,16 +13131,16 @@ function nm() {
13131
13131
  }
13132
13132
  return zn(le.afterSanitizeElements, A, null), !1;
13133
13133
  }, Jd = function(A, B, X) {
13134
- if (Qe[B] || Lt && B === "patchsrc" || Lt && B === "for" && A !== "label" && A !== "output" || ft && (B === "id" || B === "name") && (X in n || X in Ni))
13134
+ if (et[B] || Lt && B === "patchsrc" || Lt && B === "for" && A !== "label" && A !== "output" || ft && (B === "id" || B === "name") && (X in n || X in Ni))
13135
13135
  return !1;
13136
- const Ce = _e[B] || ze.attributeCheck instanceof Function && ze.attributeCheck(B, A);
13137
- if (!(dt && wt(W, B))) {
13138
- if (!(st && wt(he, B))) {
13136
+ const Ce = _e[B] || Fe.attributeCheck instanceof Function && Fe.attributeCheck(B, A);
13137
+ if (!(at && wt(W, B))) {
13138
+ if (!(Ye && wt(he, B))) {
13139
13139
  if (Ce) {
13140
13140
  if (!tn[B]) {
13141
- if (!wt(Z, Wi(X, Ze, ""))) {
13141
+ if (!wt(Z, Wi(X, Ke, ""))) {
13142
13142
  if (!((B === "src" || B === "xlink:href" || B === "href") && A !== "script" && lf(X, "data:") === 0 && Zs[A])) {
13143
- if (!(qn && !wt(Oe, Wi(X, Ze, "")))) {
13143
+ if (!(qn && !wt(Oe, Wi(X, Ke, "")))) {
13144
13144
  if (X)
13145
13145
  return !1;
13146
13146
  }
@@ -13159,7 +13159,7 @@ function nm() {
13159
13159
  }
13160
13160
  }
13161
13161
  return !0;
13162
- }, Sg = Fe({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), Xd = function(A) {
13162
+ }, Sg = Re({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), Xd = function(A) {
13163
13163
  return !Sg[Qi(A)] && wt(bt, A);
13164
13164
  }, Ag = function(A, B, X, Ce) {
13165
13165
  if (S && typeof d == "object" && typeof d.getAttributeType == "function" && !X)
@@ -13181,7 +13181,7 @@ function nm() {
13181
13181
  const B = A.attributes;
13182
13182
  if (!B || Qs(A))
13183
13183
  return;
13184
- _e = Gd(le.uponSanitizeAttribute, _e, ct, Hn);
13184
+ _e = Gd(le.uponSanitizeAttribute, _e, ut, Hn);
13185
13185
  const X = {
13186
13186
  attrName: "",
13187
13187
  attrValue: "",
@@ -13190,32 +13190,32 @@ function nm() {
13190
13190
  forceKeepAttr: void 0
13191
13191
  };
13192
13192
  let Ce = B.length;
13193
- const ke = Ge(A.nodeName);
13193
+ const ke = Je(A.nodeName);
13194
13194
  for (; Ce--; ) {
13195
- const Me = B[Ce], Ye = Me.name, rt = Me.namespaceURI, Wt = Me.value, Zt = Ge(Ye), Xl = Wt;
13196
- let Ut = Ye === "value" ? Xl : ile(Xl);
13197
- if (X.attrName = Zt, X.attrValue = Ut, X.keepAttr = !0, X.forceKeepAttr = void 0, zn(le.uponSanitizeAttribute, A, X), Ut = X.attrValue, Bt && (Zt === "id" || Zt === "name") && lf(Ut, Be) !== 0 && (lr(Ye, A), Ut = Be + Ut), Lt && wt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Ut)) {
13198
- lr(Ye, A);
13195
+ const Me = B[Ce], Xe = Me.name, ot = Me.namespaceURI, Wt = Me.value, Zt = Je(Xe), Xl = Wt;
13196
+ let Ut = Xe === "value" ? Xl : ile(Xl);
13197
+ if (X.attrName = Zt, X.attrValue = Ut, X.keepAttr = !0, X.forceKeepAttr = void 0, zn(le.uponSanitizeAttribute, A, X), Ut = X.attrValue, Bt && (Zt === "id" || Zt === "name") && lf(Ut, Ue) !== 0 && (lr(Xe, A), Ut = Ue + Ut), Lt && wt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Ut)) {
13198
+ lr(Xe, A);
13199
13199
  continue;
13200
13200
  }
13201
13201
  if (Zt === "attributename" && af(Ut, "href")) {
13202
- lr(Ye, A);
13202
+ lr(Xe, A);
13203
13203
  continue;
13204
13204
  }
13205
13205
  if (!X.forceKeepAttr) {
13206
13206
  if (!X.keepAttr) {
13207
- lr(Ye, A);
13207
+ lr(Xe, A);
13208
13208
  continue;
13209
13209
  }
13210
13210
  if (!sr && wt(xle, Ut)) {
13211
- lr(Ye, A);
13211
+ lr(Xe, A);
13212
13212
  continue;
13213
13213
  }
13214
- if (tt && (Ut = Xs(Ut)), !Jd(ke, Zt, Ut)) {
13215
- lr(Ye, A);
13214
+ if (nt && (Ut = Xs(Ut)), !Jd(ke, Zt, Ut)) {
13215
+ lr(Xe, A);
13216
13216
  continue;
13217
13217
  }
13218
- Ut = Ag(ke, Zt, rt, Ut), Ut !== Xl && Tg(A, Ye, rt, Ut);
13218
+ Ut = Ag(ke, Zt, ot, Ut), Ut !== Xl && Tg(A, Xe, ot, Ut);
13219
13219
  }
13220
13220
  }
13221
13221
  zn(le.afterSanitizeAttributes, A, null);
@@ -13239,16 +13239,16 @@ function nm() {
13239
13239
  ea(X.shadow);
13240
13240
  continue;
13241
13241
  }
13242
- const Ce = X.node, Me = (C ? C(Ce) : Ce.nodeType) === on.element, Ye = v(Ce);
13243
- if (Ye)
13244
- for (let rt = Ye.length - 1; rt >= 0; --rt)
13242
+ const Ce = X.node, Me = (C ? C(Ce) : Ce.nodeType) === on.element, Xe = v(Ce);
13243
+ if (Xe)
13244
+ for (let ot = Xe.length - 1; ot >= 0; --ot)
13245
13245
  B.push({
13246
- node: Ye[rt],
13246
+ node: Xe[ot],
13247
13247
  shadow: null
13248
13248
  });
13249
13249
  if (Me) {
13250
- const rt = w ? w(Ce) : null;
13251
- if (typeof rt == "string" && Ge(rt) === "template") {
13250
+ const ot = w ? w(Ce) : null;
13251
+ if (typeof ot == "string" && Je(ot) === "template") {
13252
13252
  const Wt = Ce.content;
13253
13253
  Bo(Wt) && B.push({
13254
13254
  node: Wt,
@@ -13257,12 +13257,12 @@ function nm() {
13257
13257
  }
13258
13258
  }
13259
13259
  if (Me) {
13260
- const rt = g(Ce);
13261
- Bo(rt) && B.push({
13260
+ const ot = g(Ce);
13261
+ Bo(ot) && B.push({
13262
13262
  node: null,
13263
- shadow: rt
13263
+ shadow: ot
13264
13264
  }, {
13265
- node: rt,
13265
+ node: ot,
13266
13266
  shadow: null
13267
13267
  });
13268
13268
  }
@@ -13280,8 +13280,8 @@ function nm() {
13280
13280
  wg(ie);
13281
13281
  const Wt = w ? w(ie) : ie.nodeName;
13282
13282
  if (typeof Wt == "string") {
13283
- const Zt = Ge(Wt);
13284
- if (!ce[Zt] || Je[Zt])
13283
+ const Zt = Je(Wt);
13284
+ if (!ce[Zt] || ze[Zt])
13285
13285
  throw Fi(ie), no("root node is forbidden and cannot be sanitized in-place");
13286
13286
  }
13287
13287
  if (Qs(ie))
@@ -13294,18 +13294,18 @@ function nm() {
13294
13294
  } else if (Bi(ie))
13295
13295
  B = Zd("<!---->"), X = B.ownerDocument.importNode(ie, !0), X.nodeType === on.element && X.nodeName === "BODY" || X.nodeName === "HTML" ? B = X : B.appendChild(X), Jl(X);
13296
13296
  else {
13297
- if (!ee && !tt && !Ct && // eslint-disable-next-line unicorn/prefer-includes
13297
+ if (!ee && !nt && !Ct && // eslint-disable-next-line unicorn/prefer-includes
13298
13298
  ie.indexOf("<") === -1)
13299
- return S && ut ? L(ie) : ie;
13299
+ return S && dt ? L(ie) : ie;
13300
13300
  if (B = Zd(ie), !B)
13301
- return ee ? null : ut ? E : "";
13301
+ return ee ? null : dt ? E : "";
13302
13302
  }
13303
13303
  B && F && En(B.firstChild);
13304
- const Ye = Me ? ie : B;
13304
+ const Xe = Me ? ie : B;
13305
13305
  try {
13306
- const Wt = Kd(Ye);
13306
+ const Wt = Kd(Xe);
13307
13307
  for (; Ce = Wt.nextNode(); )
13308
- Yd(Ce, Ye), Qd(Ce), Bo(Ce.content) && ea(Ce.content);
13308
+ Yd(Ce, Xe), Qd(Ce), Bo(Ce.content) && ea(Ce.content);
13309
13309
  } catch (Wt) {
13310
13310
  throw Me && (Fi(ie), zo(e.removed, (Zt) => {
13311
13311
  Zt.element && Ri(Zt.element);
@@ -13314,18 +13314,18 @@ function nm() {
13314
13314
  if (Me)
13315
13315
  return zo(e.removed, (Wt) => {
13316
13316
  Wt.element && Ri(Wt.element);
13317
- }), tt && Yl(ie), ie;
13317
+ }), nt && Yl(ie), ie;
13318
13318
  if (ee) {
13319
- if (tt && Yl(B), xe)
13319
+ if (nt && Yl(B), xe)
13320
13320
  for (ke = G.call(B.ownerDocument); B.firstChild; )
13321
13321
  ke.appendChild(B.firstChild);
13322
13322
  else
13323
13323
  ke = B;
13324
13324
  return (_e.shadowroot || _e.shadowrootmode) && (ke = ae.call(r, ke, !0)), ke;
13325
13325
  }
13326
- let rt = Ct ? B.outerHTML : B.innerHTML;
13327
- return Ct && ce["!doctype"] && B.ownerDocument && B.ownerDocument.doctype && B.ownerDocument.doctype.name && wt(Cle, B.ownerDocument.doctype.name) && (rt = "<!DOCTYPE " + B.ownerDocument.doctype.name + `>
13328
- ` + rt), tt && (rt = Xs(rt)), S && ut ? L(rt) : rt;
13326
+ let ot = Ct ? B.outerHTML : B.innerHTML;
13327
+ return Ct && ce["!doctype"] && B.ownerDocument && B.ownerDocument.doctype && B.ownerDocument.doctype.name && wt(Cle, B.ownerDocument.doctype.name) && (ot = "<!DOCTYPE " + B.ownerDocument.doctype.name + `>
13328
+ ` + ot), nt && (ot = Xs(ot)), S && dt ? L(ot) : ot;
13329
13329
  }, e.setConfig = function() {
13330
13330
  let ie = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
13331
13331
  Tr(ie), jt = !0, An = ce, Hn = _e;
@@ -13333,7 +13333,7 @@ function nm() {
13333
13333
  Tn = null, jt = !1, An = null, Hn = null, S = T, E = "";
13334
13334
  }, e.isValidAttribute = function(ie, A, B) {
13335
13335
  Tn || Tr({});
13336
- const X = Ge(ie), Ce = Ge(A);
13336
+ const X = Je(ie), Ce = Je(A);
13337
13337
  return Jd(X, Ce, B);
13338
13338
  }, e.addHook = function(ie, A) {
13339
13339
  typeof A == "function" && kt(le, ie) && Vo(le[ie], A);
@@ -13455,7 +13455,7 @@ function Gle(t, e, n, r) {
13455
13455
  if (i !== void 0) {
13456
13456
  const s = _t(i, n);
13457
13457
  if (s)
13458
- return Ue(s) || !gt(o) ? void 0 : [o, s];
13458
+ return qe(s) || !gt(o) ? void 0 : [o, s];
13459
13459
  } else if (o === r)
13460
13460
  return [r, u0(n)];
13461
13461
  }
@@ -13700,7 +13700,7 @@ function Af(t, e) {
13700
13700
  }(l, c));
13701
13701
  }
13702
13702
  function Tf(t, e) {
13703
- const n = t.mergeWithSibling(e), r = ot()._normalizedNodes;
13703
+ const n = t.mergeWithSibling(e), r = it()._normalizedNodes;
13704
13704
  return r.add(t.__key), r.add(e.__key), n;
13705
13705
  }
13706
13706
  function Ef(t) {
@@ -13804,7 +13804,7 @@ function Ha(t, e) {
13804
13804
  const d = `__lexicalKey_${c._key}`;
13805
13805
  l[d] = u;
13806
13806
  })(i, s, o), a.set(o, i);
13807
- }(t, r, Pt), se(n) ? r.setAttribute("data-lexical-text", "true") : Ue(n) && r.setAttribute("data-lexical-decorator", "true"), j(n)) {
13807
+ }(t, r, Pt), se(n) ? r.setAttribute("data-lexical-text", "true") : qe(n) && r.setAttribute("data-lexical-decorator", "true"), j(n)) {
13808
13808
  const o = n.__indent, i = n.__size;
13809
13809
  if (nu(r, n), o !== 0 && gm(r, o), i !== 0) {
13810
13810
  const a = i - 1;
@@ -13814,7 +13814,7 @@ function Ha(t, e) {
13814
13814
  s !== 0 && vm(r, s), n.isInline() || ym(null, n, r), Rl(n) && (yt += zr, pr += zr);
13815
13815
  } else {
13816
13816
  const o = n.getTextContent();
13817
- if (Ue(n)) {
13817
+ if (qe(n)) {
13818
13818
  const i = n.decorate(Pt, wo);
13819
13819
  i !== null && _m(t, i), r.contentEditable = "false";
13820
13820
  }
@@ -13839,7 +13839,7 @@ function $f(t, e) {
13839
13839
  if (n) {
13840
13840
  const r = e.get(n);
13841
13841
  if (r)
13842
- return Fr(r) ? "line-break" : Ue(r) && r.isInline() ? "decorator" : null;
13842
+ return Fr(r) ? "line-break" : qe(r) && r.isInline() ? "decorator" : null;
13843
13843
  }
13844
13844
  return "empty";
13845
13845
  }
@@ -13956,7 +13956,7 @@ function es(t, e) {
13956
13956
  j(l) && nu(So(Pt, l.getKey()), l);
13957
13957
  } else {
13958
13958
  const s = r.getTextContent();
13959
- if (Ue(r)) {
13959
+ if (qe(r)) {
13960
13960
  const a = r.decorate(Pt, wo);
13961
13961
  a !== null && _m(t, a);
13962
13962
  }
@@ -14001,31 +14001,31 @@ const bm = Se("SELECTION_CHANGE_COMMAND"), oce = Se("SELECTION_INSERT_CLIPBOARD_
14001
14001
  fa(e, Tc);
14002
14002
  }), Ac = !1, void (Tc = "");
14003
14003
  if (function(n) {
14004
- return je(n, "ArrowRight", { shiftKey: "any" });
14004
+ return We(n, "ArrowRight", { shiftKey: "any" });
14005
14005
  }(t))
14006
14006
  me(e, wm, t);
14007
14007
  else if (function(n) {
14008
- return je(n, "ArrowRight", dr);
14008
+ return We(n, "ArrowRight", dr);
14009
14009
  }(t))
14010
14010
  me(e, sce, t);
14011
14011
  else if (function(n) {
14012
- return je(n, "ArrowLeft", { shiftKey: "any" });
14012
+ return We(n, "ArrowLeft", { shiftKey: "any" });
14013
14013
  }(t))
14014
14014
  me(e, km, t);
14015
14015
  else if (function(n) {
14016
- return je(n, "ArrowLeft", dr);
14016
+ return We(n, "ArrowLeft", dr);
14017
14017
  }(t))
14018
14018
  me(e, ace, t);
14019
14019
  else if (function(n) {
14020
- return je(n, "ArrowUp", { altKey: "any", shiftKey: "any" });
14020
+ return We(n, "ArrowUp", { altKey: "any", shiftKey: "any" });
14021
14021
  }(t))
14022
14022
  me(e, xm, t);
14023
14023
  else if (function(n) {
14024
- return je(n, "ArrowDown", { altKey: "any", shiftKey: "any" });
14024
+ return We(n, "ArrowDown", { altKey: "any", shiftKey: "any" });
14025
14025
  }(t))
14026
14026
  me(e, Sm, t);
14027
14027
  else if (function(n) {
14028
- return je(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any", shiftKey: !0 });
14028
+ return We(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any", shiftKey: !0 });
14029
14029
  }(t))
14030
14030
  ss = !0, me(e, Va, t);
14031
14031
  else if (function(n) {
@@ -14033,15 +14033,15 @@ const bm = Se("SELECTION_CHANGE_COMMAND"), oce = Se("SELECTION_INSERT_CLIPBOARD_
14033
14033
  }(t))
14034
14034
  me(e, Am, t);
14035
14035
  else if (function(n) {
14036
- return $n && je(n, "o", { ctrlKey: !0 });
14036
+ return $n && We(n, "o", { ctrlKey: !0 });
14037
14037
  }(t))
14038
14038
  t.preventDefault(), ss = !0, me(e, ni, !0);
14039
14039
  else if (function(n) {
14040
- return je(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any" });
14040
+ return We(n, "Enter", { altKey: "any", ctrlKey: "any", metaKey: "any" });
14041
14041
  }(t))
14042
14042
  ss = !1, me(e, Va, t);
14043
14043
  else if (function(n) {
14044
- return je(n, "Backspace", { shiftKey: "any" }) || $n && je(n, "h", { ctrlKey: !0 });
14044
+ return We(n, "Backspace", { shiftKey: "any" }) || $n && We(n, "h", { ctrlKey: !0 });
14045
14045
  }(t))
14046
14046
  sp(t) ? me(e, Tm, t) : (t.preventDefault(), me(e, ho, !0));
14047
14047
  else if (function(n) {
@@ -14049,57 +14049,57 @@ const bm = Se("SELECTION_CHANGE_COMMAND"), oce = Se("SELECTION_INSERT_CLIPBOARD_
14049
14049
  }(t))
14050
14050
  me(e, Em, t);
14051
14051
  else if (function(n) {
14052
- return je(n, "Delete", {}) || $n && je(n, "d", { ctrlKey: !0 });
14052
+ return We(n, "Delete", {}) || $n && We(n, "d", { ctrlKey: !0 });
14053
14053
  }(t))
14054
14054
  (function(n) {
14055
14055
  return n.key === "Delete";
14056
14056
  })(t) ? me(e, Dm, t) : (t.preventDefault(), me(e, ho, !1));
14057
14057
  else if (function(n) {
14058
- return je(n, "Backspace", ip);
14058
+ return We(n, "Backspace", ip);
14059
14059
  }(t))
14060
14060
  t.preventDefault(), me(e, ks, !0);
14061
14061
  else if (function(n) {
14062
- return je(n, "Delete", ip);
14062
+ return We(n, "Delete", ip);
14063
14063
  }(t))
14064
14064
  t.preventDefault(), me(e, ks, !1);
14065
14065
  else if (function(n) {
14066
- return $n && je(n, "Backspace", { metaKey: !0 });
14066
+ return $n && We(n, "Backspace", { metaKey: !0 });
14067
14067
  }(t))
14068
14068
  t.preventDefault(), me(e, xs, !0);
14069
14069
  else if (function(n) {
14070
- return $n && (je(n, "Delete", { metaKey: !0 }) || je(n, "k", { ctrlKey: !0 }));
14070
+ return $n && (We(n, "Delete", { metaKey: !0 }) || We(n, "k", { ctrlKey: !0 }));
14071
14071
  }(t))
14072
14072
  t.preventDefault(), me(e, xs, !1);
14073
14073
  else if (function(n) {
14074
- return je(n, "b", dr);
14074
+ return We(n, "b", dr);
14075
14075
  }(t))
14076
14076
  t.preventDefault(), me(e, yn, "bold");
14077
14077
  else if (function(n) {
14078
- return je(n, "u", dr);
14078
+ return We(n, "u", dr);
14079
14079
  }(t))
14080
14080
  t.preventDefault(), me(e, yn, "underline");
14081
14081
  else if (function(n) {
14082
- return je(n, "i", dr);
14082
+ return We(n, "i", dr);
14083
14083
  }(t))
14084
14084
  t.preventDefault(), me(e, yn, "italic");
14085
14085
  else if (function(n) {
14086
- return je(n, "Tab", { shiftKey: "any" });
14086
+ return We(n, "Tab", { shiftKey: "any" });
14087
14087
  }(t))
14088
14088
  me(e, $m, t);
14089
14089
  else if (function(n) {
14090
- return je(n, "z", dr);
14090
+ return We(n, "z", dr);
14091
14091
  }(t))
14092
14092
  t.preventDefault(), me(e, id, void 0);
14093
14093
  else if (function(n) {
14094
- return $n ? je(n, "z", { metaKey: !0, shiftKey: !0 }) : je(n, "y", { ctrlKey: !0 }) || je(n, "z", { ctrlKey: !0, shiftKey: !0 });
14094
+ return $n ? We(n, "z", { metaKey: !0, shiftKey: !0 }) : We(n, "y", { ctrlKey: !0 }) || We(n, "z", { ctrlKey: !0, shiftKey: !0 });
14095
14095
  }(t))
14096
14096
  t.preventDefault(), me(e, sd, void 0);
14097
14097
  else {
14098
14098
  const n = e._editorState._selection;
14099
14099
  n === null || Q(n) ? ap(t) && (t.preventDefault(), me(e, su, t)) : function(r) {
14100
- return je(r, "c", dr);
14100
+ return We(r, "c", dr);
14101
14101
  }(t) ? (t.preventDefault(), me(e, $l, t)) : function(r) {
14102
- return je(r, "x", dr);
14102
+ return We(r, "x", dr);
14103
14103
  }(t) ? (t.preventDefault(), me(e, ad, t)) : ap(t) && (t.preventDefault(), me(e, su, t));
14104
14104
  }
14105
14105
  (function(n) {
@@ -14141,7 +14141,7 @@ const bm = Se("SELECTION_CHANGE_COMMAND"), oce = Se("SELECTION_INSERT_CLIPBOARD_
14141
14141
  yd(!1, e, r !== null ? r : void 0), Ki && (fa(e, r || void 0), Ki = !1);
14142
14142
  (function() {
14143
14143
  xt();
14144
- const i = ot();
14144
+ const i = it();
14145
14145
  um(i);
14146
14146
  })();
14147
14147
  }, { event: t }), Yo = null;
@@ -14151,7 +14151,7 @@ const bm = Se("SELECTION_CHANGE_COMMAND"), oce = Se("SELECTION_INSERT_CLIPBOARD_
14151
14151
  if (r) {
14152
14152
  if (Q(n)) {
14153
14153
  const i = n.anchor, s = i.getNode();
14154
- if (i.type === "element" && i.offset === 0 && n.isCollapsed() && !ht(s) && it().getChildrenSize() === 1 && s.getTopLevelElementOrThrow().isEmpty() && o !== null && n.is(o))
14154
+ if (i.type === "element" && i.offset === 0 && n.isCollapsed() && !ht(s) && st().getChildrenSize() === 1 && s.getTopLevelElementOrThrow().isEmpty() && o !== null && n.is(o))
14155
14155
  r.removeAllRanges(), n.dirty = !0;
14156
14156
  else if (t.detail === 3 && !n.isCollapsed() && s !== n.focus.getNode()) {
14157
14157
  const a = Cn(s, (l) => j(l) && !l.isInline());
@@ -14191,7 +14191,7 @@ Ra && au.push(["beforeinput", (t, e) => function(n, r) {
14191
14191
  Et(null), n.preventDefault();
14192
14192
  const h = s.anchor.getNode(), m = h.getTextContent(), v = h.canInsertTextAfter(), _ = s.anchor.offset === 0 && s.focus.offset === m.length;
14193
14193
  let g = _f && p && !_ && v;
14194
- if (g && s.isCollapsed() && (g = !Ue(mu(s.anchor, !0))), !g) {
14194
+ if (g && s.isCollapsed() && (g = !qe(mu(s.anchor, !0))), !g) {
14195
14195
  me(r, ho, !0);
14196
14196
  const y = ue();
14197
14197
  _f && Q(y) && y.isCollapsed() && (lo = y, setTimeout(() => lo = null));
@@ -14290,7 +14290,7 @@ let is = 0, Im = null, Nm = 0, Yo = null;
14290
14290
  const lu = /* @__PURE__ */ new WeakMap(), ja = /* @__PURE__ */ new WeakMap();
14291
14291
  let cu = !1, uu = !1, ss = !1, Ki = !1, Ac = !1, Tc = "", lo = null, Pm = [0, "", 0, "root", 0];
14292
14292
  function Fm(t, e, n, r, o) {
14293
- const i = t.anchor, s = t.focus, a = i.getNode(), l = ot(), c = Pn(xn(l)), u = c !== null ? c.anchorNode : null, d = i.key, f = l.getElementByKey(d), p = n.length;
14293
+ const i = t.anchor, s = t.focus, a = i.getNode(), l = it(), c = Pn(xn(l)), u = c !== null ? c.anchorNode : null, d = i.key, f = l.getElementByKey(d), p = n.length;
14294
14294
  return d !== s.key || !se(a) || (!o && (!Ra || Nm < r + 50) || a.isDirty() && p < 2 || d0(n)) && i.offset !== s.offset && !a.isComposing() || fr(a) || a.isDirty() && p > 1 || (o || !Ra) && f !== null && !a.isComposing() && u !== gi(f) || c !== null && e !== null && (!e.collapsed || e.startContainer !== c.anchorNode || e.startOffset !== c.anchorOffset) || a.getFormat() !== t.format || a.getStyle() !== t.style || function(h, m) {
14295
14295
  if (m.isSegmented())
14296
14296
  return !0;
@@ -14322,7 +14322,7 @@ function Lf(t, e, n) {
14322
14322
  const l = a.anchor, c = l.getNode();
14323
14323
  if (a.isCollapsed()) {
14324
14324
  t.type === "Range" && t.anchorNode === t.focusNode && (a.dirty = !0);
14325
- const u = xn(e).event, d = u ? u.timeStamp : performance.now(), [f, p, h, m, v] = Pm, _ = it(), g = e.isComposing() === !1 && _.getTextContent() === "";
14325
+ const u = xn(e).event, d = u ? u.timeStamp : performance.now(), [f, p, h, m, v] = Pm, _ = st(), g = e.isComposing() === !1 && _.getTextContent() === "";
14326
14326
  if (d < v + 200 && l.offset === h && l.key === m)
14327
14327
  ka(a, f, p);
14328
14328
  else if (l.type === "text")
@@ -14513,7 +14513,7 @@ class In {
14513
14513
  if (n.isCollapsed())
14514
14514
  return !1;
14515
14515
  const o = this.getParent();
14516
- if (Ue(this) && this.isInline() && o) {
14516
+ if (qe(this) && this.isInline() && o) {
14517
14517
  const i = n.isBackward() ? n.focus : n.anchor;
14518
14518
  if (o.is(i.getNode()) && i.offset === o.getChildrenSize() && this.is(o.getLastChild()))
14519
14519
  return !1;
@@ -14549,7 +14549,7 @@ class In {
14549
14549
  for (; e !== null; ) {
14550
14550
  const n = e.getParent();
14551
14551
  if (zt(n))
14552
- return j(e) || e === this && Ue(e) || te(194), e;
14552
+ return j(e) || e === this && qe(e) || te(194), e;
14553
14553
  e = n;
14554
14554
  }
14555
14555
  return null;
@@ -14642,7 +14642,7 @@ class In {
14642
14642
  return n || r.reverse(), r;
14643
14643
  }
14644
14644
  isDirty() {
14645
- const e = ot()._dirtyLeaves;
14645
+ const e = it()._dirtyLeaves;
14646
14646
  return e !== null && e.has(this.__key);
14647
14647
  }
14648
14648
  getLatest() {
@@ -14655,7 +14655,7 @@ class In {
14655
14655
  if (Wa(this))
14656
14656
  return this;
14657
14657
  xt();
14658
- const e = Yr(), n = ot(), r = e._nodeMap, o = this.__key, i = this.getLatest(), s = n._cloneNotNeeded, a = ue();
14658
+ const e = Yr(), n = it(), r = e._nodeMap, o = this.__key, i = this.getLatest(), s = n._cloneNotNeeded, a = ue();
14659
14659
  if (a !== null && a.setCachedNodes(null), s.has(o))
14660
14660
  return Ja(i), i;
14661
14661
  const l = v0(i);
@@ -14747,7 +14747,7 @@ class In {
14747
14747
  return !1;
14748
14748
  }
14749
14749
  createParentElementNode() {
14750
- return et();
14750
+ return tt();
14751
14751
  }
14752
14752
  selectStart() {
14753
14753
  return this.selectPrevious();
@@ -15005,7 +15005,7 @@ class Gr extends In {
15005
15005
  return { "#text": () => ({ conversion: Tce, priority: 0 }), b: () => ({ conversion: Sce, priority: 0 }), code: () => ({ conversion: ur, priority: 0 }), em: () => ({ conversion: ur, priority: 0 }), i: () => ({ conversion: ur, priority: 0 }), mark: () => ({ conversion: ur, priority: 0 }), s: () => ({ conversion: ur, priority: 0 }), span: () => ({ conversion: xce, priority: 0 }), strong: () => ({ conversion: ur, priority: 0 }), sub: () => ({ conversion: ur, priority: 0 }), sup: () => ({ conversion: ur, priority: 0 }), u: () => ({ conversion: ur, priority: 0 }) };
15006
15006
  }
15007
15007
  static importJSON(n) {
15008
- return lt().updateFromJSON(n);
15008
+ return ct().updateFromJSON(n);
15009
15009
  }
15010
15010
  updateFromJSON(n) {
15011
15011
  return super.updateFromJSON(n).setTextContent(n.text).setFormat(n.format).setDetail(n.detail).setMode(n.mode).setStyle(n.style);
@@ -15122,10 +15122,10 @@ class Gr extends In {
15122
15122
  const [T, M] = C.isBackward() ? [C.focus, C.anchor] : [C.anchor, C.focus];
15123
15123
  T.type === "text" && T.key === i && (g = T), M.type === "text" && M.key === i && (y = M);
15124
15124
  }
15125
- r.isSegmented() ? (p = lt(d), p.__format = h, p.__style = m, p.__detail = v, p.__state = Sf(r, p), _ = !0) : p = r.setTextContent(d);
15125
+ r.isSegmented() ? (p = ct(d), p.__format = h, p.__style = m, p.__detail = v, p.__state = Sf(r, p), _ = !0) : p = r.setTextContent(d);
15126
15126
  const w = [p];
15127
15127
  for (let T = 1; T < u; T++) {
15128
- const M = lt(l[T]);
15128
+ const M = ct(l[T]);
15129
15129
  M.__format = h, M.__style = m, M.__detail = v, M.__state = Sf(r, M);
15130
15130
  const q = M.__key;
15131
15131
  s === i && Et(q), w.push(M);
@@ -15206,7 +15206,7 @@ function Tce(t) {
15206
15206
  const a = r[s];
15207
15207
  a === `
15208
15208
  ` || a === `\r
15209
- ` ? o.push(Nn()) : a === " " ? o.push(xi()) : a !== "" && o.push(lt(a));
15209
+ ` ? o.push(Nn()) : a === " " ? o.push(xi()) : a !== "" && o.push(ct(a));
15210
15210
  }
15211
15211
  return { node: o };
15212
15212
  }
@@ -15232,7 +15232,7 @@ function Tce(t) {
15232
15232
  }
15233
15233
  o && (n = n.slice(0, n.length - 1));
15234
15234
  }
15235
- return n === "" ? { node: null } : { node: lt(n) };
15235
+ return n === "" ? { node: null } : { node: ct(n) };
15236
15236
  }
15237
15237
  function Bf(t, e) {
15238
15238
  let n = t;
@@ -15263,7 +15263,7 @@ function ur(t) {
15263
15263
  const e = Ece[t.nodeName.toLowerCase()];
15264
15264
  return e === void 0 ? { node: null } : { forChild: ld(t.style, e), node: null };
15265
15265
  }
15266
- function lt(t = "") {
15266
+ function ct(t = "") {
15267
15267
  return Un(new Gr(t));
15268
15268
  }
15269
15269
  function se(t) {
@@ -15535,12 +15535,12 @@ class Lo {
15535
15535
  let p = f.getTextContent();
15536
15536
  f === n ? f === r ? o.type === "element" && i.type === "element" && i.offset !== o.offset || (p = a < l ? p.slice(a, l) : p.slice(l, a)) : p = s ? p.slice(a) : p.slice(l) : f === r && (p = s ? p.slice(0, l) : p.slice(0, a)), c += p;
15537
15537
  } else
15538
- !Ue(f) && !Fr(f) || f === r && this.isCollapsed() || (c += f.getTextContent());
15538
+ !qe(f) && !Fr(f) || f === r && this.isCollapsed() || (c += f.getTextContent());
15539
15539
  }
15540
15540
  return c;
15541
15541
  }
15542
15542
  applyDOMRange(e) {
15543
- const n = ot(), r = n.getEditorState()._selection, o = Zm(e.startContainer, e.startOffset, e.endContainer, e.endOffset, n, r);
15543
+ const n = it(), r = n.getEditorState()._selection, o = Zm(e.startContainer, e.startOffset, e.endContainer, e.endOffset, n, r);
15544
15544
  if (o === null)
15545
15545
  return;
15546
15546
  const [i, s] = o;
@@ -15569,7 +15569,7 @@ class Lo {
15569
15569
  const s = n[i];
15570
15570
  s === `
15571
15571
  ` || s === `\r
15572
- ` ? r.push(Nn()) : s === " " ? r.push(xi()) : r.push(lt(s));
15572
+ ` ? r.push(Nn()) : s === " " ? r.push(xi()) : r.push(ct(s));
15573
15573
  }
15574
15574
  this.insertNodes(r);
15575
15575
  }
@@ -15577,11 +15577,11 @@ class Lo {
15577
15577
  const n = this.anchor, r = this.focus, o = this.format, i = this.style;
15578
15578
  let s = n, a = r;
15579
15579
  !this.isCollapsed() && r.isBefore(n) && (s = r, a = n), s.type === "element" && function(v, _, g, y) {
15580
- const C = v.getNode(), w = C.getChildAtIndex(v.offset), b = lt();
15580
+ const C = v.getNode(), w = C.getChildAtIndex(v.offset), b = ct();
15581
15581
  if (b.setFormat(g), b.setStyle(y), zs(w))
15582
15582
  w.splice(0, 0, [b]);
15583
15583
  else {
15584
- const S = ht(C) ? et().append(b) : b;
15584
+ const S = ht(C) ? tt().append(b) : b;
15585
15585
  w === null ? C.append(S) : w.insertBefore(S);
15586
15586
  }
15587
15587
  v.is(_) && _.set(b.__key, 0, "text"), v.set(b.__key, 0, "text");
@@ -15595,14 +15595,14 @@ class Lo {
15595
15595
  let m = u[d - 1];
15596
15596
  if (d === 1 && a.type === "element" && (c = p, a.set(s.key, c, "text")), this.isCollapsed() && l === p && (fr(f) || !f.canInsertTextAfter() || !h.canInsertTextAfter() && f.getNextSibling() === null)) {
15597
15597
  let v = f.getNextSibling();
15598
- if (se(v) && v.canInsertTextBefore() && !fr(v) || (v = lt(), v.setFormat(o), v.setStyle(i), h.canInsertTextAfter() ? f.insertAfter(v) : h.insertAfter(v)), v.select(0, 0), f = v, e !== "")
15598
+ if (se(v) && v.canInsertTextBefore() && !fr(v) || (v = ct(), v.setFormat(o), v.setStyle(i), h.canInsertTextAfter() ? f.insertAfter(v) : h.insertAfter(v)), v.select(0, 0), f = v, e !== "")
15599
15599
  return void this.insertText(e);
15600
15600
  } else if (this.isCollapsed() && l === 0 && (fr(f) || !f.canInsertTextBefore() || !h.canInsertTextBefore() && f.getPreviousSibling() === null)) {
15601
15601
  let v = f.getPreviousSibling();
15602
- if (se(v) && !fr(v) || (v = lt(), v.setFormat(o), h.canInsertTextBefore() ? f.insertBefore(v) : h.insertBefore(v)), v.select(), f = v, e !== "")
15602
+ if (se(v) && !fr(v) || (v = ct(), v.setFormat(o), h.canInsertTextBefore() ? f.insertBefore(v) : h.insertBefore(v)), v.select(), f = v, e !== "")
15603
15603
  return void this.insertText(e);
15604
15604
  } else if (f.isSegmented() && l !== p) {
15605
- const v = lt(f.getTextContent());
15605
+ const v = ct(f.getTextContent());
15606
15606
  v.setFormat(o), f.replace(v), f = v;
15607
15607
  } else if (!this.isCollapsed() && e !== "") {
15608
15608
  const v = m.getParent();
@@ -15611,18 +15611,18 @@ class Lo {
15611
15611
  }
15612
15612
  if (d === 1) {
15613
15613
  if (mo(f)) {
15614
- const y = lt(e);
15614
+ const y = ct(e);
15615
15615
  return y.select(), void f.replace(y);
15616
15616
  }
15617
15617
  const v = f.getFormat(), _ = f.getStyle();
15618
15618
  if (l !== c || v === o && _ === i) {
15619
15619
  if (Ml(f)) {
15620
- const y = lt(e);
15620
+ const y = ct(e);
15621
15621
  return y.setFormat(o), y.setStyle(i), y.select(), void f.replace(y);
15622
15622
  }
15623
15623
  } else {
15624
15624
  if (f.getTextContent() !== "") {
15625
- const y = lt(e);
15625
+ const y = ct(e);
15626
15626
  if (y.setFormat(o), y.setStyle(i), y.select(), l === 0)
15627
15627
  f.insertBefore(y, !1);
15628
15628
  else {
@@ -15645,7 +15645,7 @@ class Lo {
15645
15645
  if (a.type === "text" && (c !== 0 || m.getTextContent() === "") || a.type === "element" && m.getIndexWithinParent() < c)
15646
15646
  if (se(m) && !mo(m) && c !== m.getTextContentSize()) {
15647
15647
  if (m.isSegmented()) {
15648
- const E = lt(m.getTextContent());
15648
+ const E = ct(m.getTextContent());
15649
15649
  m.replace(E), m = E;
15650
15650
  }
15651
15651
  ht(a.getNode()) || a.type !== "text" || (m = m.spliceText(0, c, "")), v.add(m.__key);
@@ -15673,7 +15673,7 @@ class Lo {
15673
15673
  if (l === p)
15674
15674
  f.select();
15675
15675
  else {
15676
- const E = lt(e);
15676
+ const E = ct(e);
15677
15677
  E.select(), f.replace(E);
15678
15678
  }
15679
15679
  else
@@ -15751,17 +15751,17 @@ class Lo {
15751
15751
  }
15752
15752
  return;
15753
15753
  }
15754
- if (!e.some((h) => (j(h) || Ue(h)) && !h.isInline())) {
15754
+ if (!e.some((h) => (j(h) || qe(h)) && !h.isInline())) {
15755
15755
  j(r) || te(211, n.constructor.name, n.getType());
15756
15756
  const h = Mc(this);
15757
15757
  return r.splice(h, 0, e), void o.selectEnd();
15758
15758
  }
15759
15759
  const i = function(h) {
15760
- const m = et();
15760
+ const m = tt();
15761
15761
  let v = null;
15762
15762
  for (let _ = 0; _ < h.length; _++) {
15763
15763
  const g = h[_], y = Fr(g);
15764
- if (y || Ue(g) && g.isInline() || j(g) && g.isInline() || se(g) || g.isParentRequired()) {
15764
+ if (y || qe(g) && g.isInline() || j(g) && g.isInline() || se(g) || g.isParentRequired()) {
15765
15765
  if (v === null && (v = g.createParentElementNode(), m.append(v), y))
15766
15766
  continue;
15767
15767
  v !== null && v.append(g);
@@ -15789,8 +15789,8 @@ class Lo {
15789
15789
  }
15790
15790
  insertParagraph() {
15791
15791
  if (this.anchor.key === "root") {
15792
- const s = et();
15793
- return it().splice(this.anchor.offset, 0, [s]), s.select(), s;
15792
+ const s = tt();
15793
+ return st().splice(this.anchor.offset, 0, [s]), s.select(), s;
15794
15794
  }
15795
15795
  const e = Mc(this), n = Cn(this.anchor.getNode(), vn);
15796
15796
  j(n) || te(213);
@@ -15826,7 +15826,7 @@ class Lo {
15826
15826
  modify(e, n, r) {
15827
15827
  if (Kf(this, e, n, r))
15828
15828
  return;
15829
- const o = e === "move", i = ot(), s = Pn(xn(i));
15829
+ const o = e === "move", i = it(), s = Pn(xn(i));
15830
15830
  if (!s)
15831
15831
  return;
15832
15832
  const a = i._blockCursorElement, l = i._rootElement, c = this.focus.getNode();
@@ -15905,7 +15905,7 @@ class Lo {
15905
15905
  a = { block: l.origin, type: "merge-next-block" };
15906
15906
  continue;
15907
15907
  }
15908
- if (Ue(l.origin)) {
15908
+ if (qe(l.origin)) {
15909
15909
  if (!l.origin.isIsolated())
15910
15910
  if (a.type === "merge-next-block" && (l.origin.isKeyboardSelectable() || !l.origin.isInline()) && j(i.anchor.origin) && i.anchor.origin.isEmpty()) {
15911
15911
  i.anchor.origin.remove();
@@ -16058,7 +16058,7 @@ function Vf(t, e, n, r) {
16058
16058
  se(m) ? (o = m, f = null, i = Br(m, s ? "next" : "previous")) : m !== f && s && !d && (j(f) || te(216), i = Math.min(f.getChildrenSize(), i + 1));
16059
16059
  } else {
16060
16060
  const p = f.getIndexWithinParent();
16061
- i = e === 0 && Ue(f) && Jo(t) === f ? p : p + 1, f = f.getParentOrThrow();
16061
+ i = e === 0 && qe(f) && Jo(t) === f ? p : p + 1, f = f.getParentOrThrow();
16062
16062
  }
16063
16063
  if (j(f))
16064
16064
  return nr(f.__key, i, "element");
@@ -16092,7 +16092,7 @@ function Wm(t, e, n) {
16092
16092
  if (t.type === "text" && e.type === "text") {
16093
16093
  const r = t.isBefore(e), o = t.is(e);
16094
16094
  jf(t, r, o), jf(e, !r, o), o && e.set(t.key, t.offset, t.type);
16095
- const i = ot();
16095
+ const i = it();
16096
16096
  if (i.isComposing() && i._compositionKey !== t.key && Q(n)) {
16097
16097
  const s = n.anchor, a = n.focus;
16098
16098
  t.set(s.key, s.offset, s.type, !0), e.set(a.key, a.offset, a.type, !0);
@@ -16110,7 +16110,7 @@ function Zm(t, e, n, r, o, i) {
16110
16110
  return null;
16111
16111
  if (s.type === "element" && a.type === "element") {
16112
16112
  const l = Jo(t), c = Jo(n);
16113
- if (Ue(l) && Ue(c))
16113
+ if (qe(l) && qe(c))
16114
16114
  return null;
16115
16115
  }
16116
16116
  return Wm(s, a, i), [s, a];
@@ -16151,7 +16151,7 @@ function ue() {
16151
16151
  return Yr()._selection;
16152
16152
  }
16153
16153
  function Si() {
16154
- return ot()._editorState._selection;
16154
+ return it()._editorState._selection;
16155
16155
  }
16156
16156
  function Ka(t, e, n, r = 1) {
16157
16157
  const o = t.anchor, i = t.focus, s = o.getNode(), a = i.getNode();
@@ -16252,17 +16252,17 @@ function Mce(t, e, n, r, o, i, s) {
16252
16252
  if (he)
16253
16253
  ge = 0, ye = xn(J).innerHeight;
16254
16254
  else {
16255
- const Ze = W.getBoundingClientRect();
16256
- ge = Ze.top, ye = Ze.bottom;
16255
+ const Ke = W.getBoundingClientRect();
16256
+ ge = Ke.top, ye = Ke.bottom;
16257
16257
  }
16258
16258
  let Oe = 0;
16259
16259
  if (le < ge ? Oe = -(ge - le) : De > ye && (Oe = De - ye), Oe !== 0)
16260
16260
  if (he)
16261
16261
  ae.scrollBy(0, Oe);
16262
16262
  else {
16263
- const Ze = W.scrollTop;
16263
+ const Ke = W.scrollTop;
16264
16264
  W.scrollTop += Oe;
16265
- const bt = W.scrollTop - Ze;
16265
+ const bt = W.scrollTop - Ke;
16266
16266
  le -= bt, De -= bt;
16267
16267
  }
16268
16268
  if (he)
@@ -16277,7 +16277,7 @@ function Mce(t, e, n, r, o, i, s) {
16277
16277
  }
16278
16278
  function Oce(t) {
16279
16279
  let e = ue() || Si();
16280
- e === null && (e = it().selectEnd()), e.insertNodes(t);
16280
+ e === null && (e = st().selectEnd()), e.insertNodes(t);
16281
16281
  }
16282
16282
  function Mc(t) {
16283
16283
  let e = t;
@@ -16296,8 +16296,8 @@ function Mc(t) {
16296
16296
  function Lce(t, e) {
16297
16297
  const n = t.getParent();
16298
16298
  if (!n) {
16299
- const o = et();
16300
- return it().append(o), o.select(), [it(), 0];
16299
+ const o = tt();
16300
+ return st().append(o), o.select(), [st(), 0];
16301
16301
  }
16302
16302
  if (se(t)) {
16303
16303
  const o = t.splitText(e);
@@ -16326,7 +16326,7 @@ function Kf(t, e, n, r, o = "decorators-and-blocks") {
16326
16326
  for (const u of l) {
16327
16327
  c = !1;
16328
16328
  const { origin: d } = u;
16329
- if (!Ue(d) || d.isIsolated() || (l = u, !s || !d.isInline()))
16329
+ if (!qe(d) || d.isIsolated() || (l = u, !s || !d.isInline()))
16330
16330
  break;
16331
16331
  }
16332
16332
  if (c)
@@ -16336,14 +16336,14 @@ function Kf(t, e, n, r, o = "decorators-and-blocks") {
16336
16336
  else {
16337
16337
  if (j(u.origin))
16338
16338
  continue;
16339
- Ue(u.origin) && !u.origin.isInline() && (l = u);
16339
+ qe(u.origin) && !u.origin.isInline() && (l = u);
16340
16340
  }
16341
16341
  break;
16342
16342
  }
16343
16343
  }
16344
16344
  if (l === i)
16345
16345
  return !1;
16346
- if (a && !s && Ue(l.origin) && l.origin.isKeyboardSelectable()) {
16346
+ if (a && !s && qe(l.origin) && l.origin.isKeyboardSelectable()) {
16347
16347
  const u = Gm();
16348
16348
  return u.add(l.origin.getKey()), Ot(u), !0;
16349
16349
  }
@@ -16363,7 +16363,7 @@ function Jm() {
16363
16363
  function Yr() {
16364
16364
  return At === null && te(195, Xm()), At;
16365
16365
  }
16366
- function ot() {
16366
+ function it() {
16367
16367
  return Tt === null && te(196, Xm()), Tt;
16368
16368
  }
16369
16369
  function Xm() {
@@ -16406,7 +16406,7 @@ function Qm(t, e) {
16406
16406
  n.add(o);
16407
16407
  }
16408
16408
  function Nce(t) {
16409
- return ud(t, ot()._nodes);
16409
+ return ud(t, it()._nodes);
16410
16410
  }
16411
16411
  function ud(t, e) {
16412
16412
  const n = t.type, r = e.get(n);
@@ -16813,7 +16813,7 @@ class fn extends In {
16813
16813
  return this.getChildrenSize() === 0;
16814
16814
  }
16815
16815
  isDirty() {
16816
- const n = ot()._dirtyElements;
16816
+ const n = it()._dirtyElements;
16817
16817
  return n !== null && n.has(this.__key);
16818
16818
  }
16819
16819
  isLastChild() {
@@ -17144,7 +17144,7 @@ class e0 extends In {
17144
17144
  return !0;
17145
17145
  }
17146
17146
  }
17147
- function Ue(t) {
17147
+ function qe(t) {
17148
17148
  return t instanceof e0;
17149
17149
  }
17150
17150
  class qs extends fn {
@@ -17164,7 +17164,7 @@ class qs extends fn {
17164
17164
  }
17165
17165
  getTextContent() {
17166
17166
  const n = this.__cachedText;
17167
- return !Us() && ot()._dirtyType !== 0 || n === null ? super.getTextContent() : n;
17167
+ return !Us() && it()._dirtyType !== 0 || n === null ? super.getTextContent() : n;
17168
17168
  }
17169
17169
  remove() {
17170
17170
  te(52);
@@ -17183,11 +17183,11 @@ class qs extends fn {
17183
17183
  }
17184
17184
  splice(n, r, o) {
17185
17185
  for (const i of o)
17186
- j(i) || Ue(i) || te(282);
17186
+ j(i) || qe(i) || te(282);
17187
17187
  return super.splice(n, r, o);
17188
17188
  }
17189
17189
  static importJSON(n) {
17190
- return it().updateFromJSON(n);
17190
+ return st().updateFromJSON(n);
17191
17191
  }
17192
17192
  collapseAtStart() {
17193
17193
  return !0;
@@ -17234,7 +17234,7 @@ class Nl {
17234
17234
  return n._readOnly = !0, n;
17235
17235
  }
17236
17236
  toJSON() {
17237
- return Xf(null, this, () => ({ root: n0(it()) }));
17237
+ return Xf(null, this, () => ({ root: n0(st()) }));
17238
17238
  }
17239
17239
  }
17240
17240
  class fd extends fn {
@@ -17272,13 +17272,13 @@ class Hs extends fn {
17272
17272
  return { element: n };
17273
17273
  }
17274
17274
  static importJSON(e) {
17275
- return et().updateFromJSON(e);
17275
+ return tt().updateFromJSON(e);
17276
17276
  }
17277
17277
  exportJSON() {
17278
17278
  return { ...super.exportJSON(), textFormat: this.getTextFormat(), textStyle: this.getTextStyle() };
17279
17279
  }
17280
17280
  insertNewAfter(e, n) {
17281
- const r = et();
17281
+ const r = tt();
17282
17282
  r.setTextFormat(e.format), r.setTextStyle(e.style);
17283
17283
  const o = this.getDirection();
17284
17284
  return r.setDirection(o), r.setFormat(this.getFormatType()), r.setStyle(this.getStyle()), this.insertAfter(r, n), r;
@@ -17295,16 +17295,16 @@ class Hs extends fn {
17295
17295
  }
17296
17296
  }
17297
17297
  function Pce(t) {
17298
- const e = et();
17298
+ const e = tt();
17299
17299
  return t.style && (e.setFormat(t.style.textAlign), wd(t, e)), { node: e };
17300
17300
  }
17301
- function et() {
17301
+ function tt() {
17302
17302
  return Un(new Hs());
17303
17303
  }
17304
17304
  function zs(t) {
17305
17305
  return t instanceof Hs;
17306
17306
  }
17307
- const Re = 0, Gi = 1, Fce = 4;
17307
+ const Be = 0, Gi = 1, Fce = 4;
17308
17308
  function r0(t, e, n, r) {
17309
17309
  const o = t._keyToDOMMap;
17310
17310
  o.clear(), t._editorState = dd(), t._pendingEditorState = r, t._compositionKey = null, t._dirtyType = 0, t._cloneNotNeeded.clear(), t._dirtyLeaves = /* @__PURE__ */ new Set(), t._dirtyElements.clear(), t._normalizedNodes = /* @__PURE__ */ new Set(), t._updateTags = /* @__PURE__ */ new Set(), t._updates = [], t._blockCursorElement = null;
@@ -17607,7 +17607,7 @@ class xo {
17607
17607
  focus(e, n = {}) {
17608
17608
  const r = this._rootElement;
17609
17609
  r !== null && (r.setAttribute("autocapitalize", "off"), an(this, () => {
17610
- const o = ue(), i = it();
17610
+ const o = ue(), i = st();
17611
17611
  o !== null ? o.dirty || Ot(o.clone()) : i.getChildrenSize() !== 0 && (n.defaultSelection === "rootStart" ? i.selectStart() : i.selectEnd()), jce("focus"), Wce(() => {
17612
17612
  r.removeAttribute("autocapitalize"), e && e();
17613
17613
  });
@@ -17647,14 +17647,14 @@ const qce = typeof queueMicrotask == "function" ? queueMicrotask : (t) => {
17647
17647
  Promise.resolve().then(t);
17648
17648
  };
17649
17649
  function np(t) {
17650
- return Ue(vi(t));
17650
+ return qe(vi(t));
17651
17651
  }
17652
17652
  function md(t) {
17653
17653
  const e = document.activeElement;
17654
17654
  if (!gt(e))
17655
17655
  return !1;
17656
17656
  const n = e.nodeName;
17657
- return Ue(vi(t)) && (n === "INPUT" || n === "TEXTAREA" || e.contentEditable === "true" && Pl(e) == null);
17657
+ return qe(vi(t)) && (n === "INPUT" || n === "TEXTAREA" || e.contentEditable === "true" && Pl(e) == null);
17658
17658
  }
17659
17659
  function Vs(t, e, n) {
17660
17660
  const r = t.getRootElement();
@@ -17709,7 +17709,7 @@ function Ya(t, e, n) {
17709
17709
  return e === "subscript" ? o &= ~qt.superscript : e === "superscript" ? o &= ~qt.subscript : e === "lowercase" ? (o &= ~qt.uppercase, o &= ~qt.capitalize) : e === "uppercase" ? (o &= ~qt.lowercase, o &= ~qt.capitalize) : e === "capitalize" && (o &= ~qt.lowercase, o &= ~qt.uppercase), o;
17710
17710
  }
17711
17711
  function a0(t) {
17712
- return se(t) || Fr(t) || Ue(t);
17712
+ return se(t) || Fr(t) || qe(t);
17713
17713
  }
17714
17714
  function Hce(t, e) {
17715
17715
  const n = function() {
@@ -17719,7 +17719,7 @@ function Hce(t, e) {
17719
17719
  if ((e = e || n && n.__key) != null)
17720
17720
  return void (t.__key = e);
17721
17721
  xt(), Jm();
17722
- const r = ot(), o = Yr(), i = "" + Uce++;
17722
+ const r = it(), o = Yr(), i = "" + Uce++;
17723
17723
  o._nodeMap.set(i, t), j(t) ? r._dirtyElements.set(i, !0) : r._dirtyLeaves.add(i), r._cloneNotNeeded.add(i), r._dirtyType = 1, t.__key = i;
17724
17724
  }
17725
17725
  function go(t) {
@@ -17731,7 +17731,7 @@ function go(t) {
17731
17731
  }
17732
17732
  function Ja(t) {
17733
17733
  Jm(), Wa(t) && te(323, t.__key, t.__type);
17734
- const e = t.getLatest(), n = e.__parent, r = Yr(), o = ot(), i = r._nodeMap, s = o._dirtyElements;
17734
+ const e = t.getLatest(), n = e.__parent, r = Yr(), o = it(), i = r._nodeMap, s = o._dirtyElements;
17735
17735
  n !== null && function(l, c, u) {
17736
17736
  let d = l;
17737
17737
  for (; d !== null; ) {
@@ -17748,7 +17748,7 @@ function Ja(t) {
17748
17748
  }
17749
17749
  function Et(t) {
17750
17750
  xt();
17751
- const e = ot(), n = e._compositionKey;
17751
+ const e = it(), n = e._compositionKey;
17752
17752
  if (t !== n) {
17753
17753
  if (e._compositionKey = t, n !== null) {
17754
17754
  const r = _t(n);
@@ -17761,14 +17761,14 @@ function Et(t) {
17761
17761
  }
17762
17762
  }
17763
17763
  function Ir() {
17764
- return Us() ? null : ot()._compositionKey;
17764
+ return Us() ? null : it()._compositionKey;
17765
17765
  }
17766
17766
  function _t(t, e) {
17767
17767
  const n = (e || Yr())._nodeMap.get(t);
17768
17768
  return n === void 0 ? null : n;
17769
17769
  }
17770
17770
  function l0(t, e) {
17771
- const n = Fl(t, ot());
17771
+ const n = Fl(t, it());
17772
17772
  return n !== void 0 ? _t(n, e) : null;
17773
17773
  }
17774
17774
  function Fl(t, e) {
@@ -17789,9 +17789,9 @@ function c0(t) {
17789
17789
  return t._pendingDecorators = n, n;
17790
17790
  }
17791
17791
  function rp(t) {
17792
- return t.read(() => it().getTextContent());
17792
+ return t.read(() => st().getTextContent());
17793
17793
  }
17794
- function it() {
17794
+ function st() {
17795
17795
  return u0(Yr());
17796
17796
  }
17797
17797
  function u0(t) {
@@ -17803,7 +17803,7 @@ function Ot(t) {
17803
17803
  t !== null && (t.dirty = !0, t.setCachedNodes(null)), e._selection = t;
17804
17804
  }
17805
17805
  function Jo(t) {
17806
- const e = ot(), n = function(r, o) {
17806
+ const e = it(), n = function(r, o) {
17807
17807
  let i = r;
17808
17808
  for (; i != null; ) {
17809
17809
  const s = Fl(i, o);
@@ -17861,7 +17861,7 @@ function _d(t, e, n, r, o) {
17861
17861
  if (Et(null), ys || mi || _s)
17862
17862
  i.remove();
17863
17863
  else {
17864
- const m = ot();
17864
+ const m = it();
17865
17865
  setTimeout(() => {
17866
17866
  m.update(() => {
17867
17867
  i.isAttached() && i.remove();
@@ -17877,7 +17877,7 @@ function _d(t, e, n, r, o) {
17877
17877
  if (!Q(h) || n === null || r === null)
17878
17878
  return void op(i, a, h);
17879
17879
  if (h.setTextNodeRange(i, n, i, r), i.isSegmented()) {
17880
- const m = lt(i.getTextContent());
17880
+ const m = ct(i.getTextContent());
17881
17881
  i.replace(m), i = m;
17882
17882
  }
17883
17883
  op(i, a, h);
@@ -17900,7 +17900,7 @@ function ma(t, e, n) {
17900
17900
  function zce(t, e) {
17901
17901
  return ma(t, e, "altKey") && ma(t, e, "ctrlKey") && ma(t, e, "shiftKey") && ma(t, e, "metaKey");
17902
17902
  }
17903
- function je(t, e, n) {
17903
+ function We(t, e, n) {
17904
17904
  return zce(t, n) && t.key.toLowerCase() === e.toLowerCase();
17905
17905
  }
17906
17906
  const dr = { ctrlKey: !$n, metaKey: $n }, ip = { altKey: $n, ctrlKey: !$n };
@@ -17908,10 +17908,10 @@ function sp(t) {
17908
17908
  return t.key === "Backspace";
17909
17909
  }
17910
17910
  function ap(t) {
17911
- return je(t, "a", dr);
17911
+ return We(t, "a", dr);
17912
17912
  }
17913
17913
  function Vce(t) {
17914
- const e = it();
17914
+ const e = st();
17915
17915
  if (Q(t)) {
17916
17916
  const n = t.anchor, r = t.focus, o = n.getNode().getTopLevelElementOrThrow().getParentOrThrow();
17917
17917
  return n.set(o.getKey(), 0, "element"), r.set(o.getKey(), o.getChildrenSize(), "element"), Ba(t), t;
@@ -18004,10 +18004,10 @@ function m0(t) {
18004
18004
  return s0(t) ? t : gt(t) ? t.ownerDocument : null;
18005
18005
  }
18006
18006
  function jce(t) {
18007
- xt(), ot()._updateTags.add(t);
18007
+ xt(), it()._updateTags.add(t);
18008
18008
  }
18009
18009
  function Wce(t) {
18010
- xt(), ot()._deferred.push(t);
18010
+ xt(), it()._deferred.push(t);
18011
18011
  }
18012
18012
  function gu(t, e) {
18013
18013
  let n = t.getParent();
@@ -18039,7 +18039,7 @@ function zt(t) {
18039
18039
  return ht(t) || j(t) && t.isShadowRoot();
18040
18040
  }
18041
18041
  function Un(t) {
18042
- const e = ot(), n = t.getType(), r = hd(e, n);
18042
+ const e = it(), n = t.getType(), r = hd(e, n);
18043
18043
  r === void 0 && te(200, t.constructor.name, n);
18044
18044
  const { replace: o, replaceWithKlass: i } = r;
18045
18045
  if (o !== null) {
@@ -18049,14 +18049,14 @@ function Un(t) {
18049
18049
  return t;
18050
18050
  }
18051
18051
  function Lc(t, e) {
18052
- !ht(t.getParent()) || j(e) || Ue(e) || te(99);
18052
+ !ht(t.getParent()) || j(e) || qe(e) || te(99);
18053
18053
  }
18054
18054
  function Kce(t) {
18055
18055
  const e = _t(t);
18056
18056
  return e === null && te(63, t), e;
18057
18057
  }
18058
18058
  function Ic(t) {
18059
- return (Ue(t) || j(t) && !t.canBeEmpty()) && !t.isInline();
18059
+ return (qe(t) || j(t) && !t.canBeEmpty()) && !t.isInline();
18060
18060
  }
18061
18061
  function vu(t, e, n) {
18062
18062
  n.style.removeProperty("caret-color"), e._blockCursorElement = null;
@@ -18091,7 +18091,7 @@ function Xa(t) {
18091
18091
  return t.nodeName.match(e) !== null;
18092
18092
  }
18093
18093
  function vn(t) {
18094
- if (Ue(t) && !t.isInline())
18094
+ if (qe(t) && !t.isInline())
18095
18095
  return !0;
18096
18096
  if (!j(t) || zt(t))
18097
18097
  return !1;
@@ -18099,7 +18099,7 @@ function vn(t) {
18099
18099
  return !t.isInline() && t.canBeEmpty() !== !1 && n;
18100
18100
  }
18101
18101
  function Bl() {
18102
- return ot();
18102
+ return it();
18103
18103
  }
18104
18104
  const cp = /* @__PURE__ */ new WeakMap(), Yce = /* @__PURE__ */ new Map();
18105
18105
  function up(t) {
@@ -18490,7 +18490,7 @@ class sue {
18490
18490
  }
18491
18491
  }
18492
18492
  function Td(t) {
18493
- return Vr(t, $t(it(), t.direction));
18493
+ return Vr(t, $t(st(), t.direction));
18494
18494
  }
18495
18495
  function aue(t) {
18496
18496
  return Vr(t, t);
@@ -18615,7 +18615,7 @@ function cue(t, e = "removeEmptySlices") {
18615
18615
  let y = h.removeTextSlice();
18616
18616
  const C = h.caret.origin;
18617
18617
  if (g === "segmented") {
18618
- const w = y.origin, b = lt(w.getTextContent()).setStyle(w.getStyle()).setFormat(w.getFormat());
18618
+ const w = y.origin, b = ct(w.getTextContent()).setStyle(w.getStyle()).setFormat(w.getFormat());
18619
18619
  _.replaceOrInsert(b), y = Eo(b, r, y.offset);
18620
18620
  }
18621
18621
  C.is(s[0].origin) && (s[0] = y), C.is(a[0].origin) && (a[0] = y.getFlipped());
@@ -18797,7 +18797,7 @@ function vp(t, e) {
18797
18797
  if (Jn(o))
18798
18798
  return !o.origin.isInline();
18799
18799
  if (!j(o.origin)) {
18800
- if (Ue(o.origin))
18800
+ if (qe(o.origin))
18801
18801
  return !0;
18802
18802
  break;
18803
18803
  }
@@ -18878,7 +18878,7 @@ function Nr(t, ...e) {
18878
18878
  function Cu(t) {
18879
18879
  let e = 1, n = t.getParent();
18880
18880
  for (; n != null; ) {
18881
- if (qe(n)) {
18881
+ if (He(n)) {
18882
18882
  const r = n.getParent();
18883
18883
  if (Te(r)) {
18884
18884
  e++, n = r.getParent();
@@ -18900,7 +18900,7 @@ function wu(t) {
18900
18900
  }
18901
18901
  function M0(t) {
18902
18902
  let e = [];
18903
- const n = t.getChildren().filter(qe);
18903
+ const n = t.getChildren().filter(He);
18904
18904
  for (let r = 0; r < n.length; r++) {
18905
18905
  const o = n[r], i = o.getFirstChild();
18906
18906
  Te(i) ? e = e.concat(M0(i)) : e.push(o);
@@ -18908,13 +18908,13 @@ function M0(t) {
18908
18908
  return e;
18909
18909
  }
18910
18910
  function Zn(t) {
18911
- return qe(t) && Te(t.getFirstChild());
18911
+ return He(t) && Te(t.getFirstChild());
18912
18912
  }
18913
18913
  function _p(t) {
18914
18914
  return pn().append(t);
18915
18915
  }
18916
18916
  function O0(t, e) {
18917
- return qe(t) && (e.length === 0 || e.length === 1 && t.is(e[0]) && t.getChildrenSize() === 0);
18917
+ return He(t) && (e.length === 0 || e.length === 1 && t.is(e[0]) && t.getChildrenSize() === 0);
18918
18918
  }
18919
18919
  function bp(t) {
18920
18920
  const e = ue();
@@ -18929,7 +18929,7 @@ function bp(t) {
18929
18929
  if (l)
18930
18930
  n = l.selectStart().getNodes();
18931
18931
  else {
18932
- const c = et();
18932
+ const c = tt();
18933
18933
  s.append(c), n = c.select().getNodes();
18934
18934
  }
18935
18935
  } else if (O0(s, n)) {
@@ -18938,7 +18938,7 @@ function bp(t) {
18938
18938
  s.replace(l);
18939
18939
  const c = pn();
18940
18940
  j(s) && (c.setFormat(s.getFormatType()), c.setIndent(s.getIndent())), l.append(c);
18941
- } else if (qe(s)) {
18941
+ } else if (He(s)) {
18942
18942
  const c = s.getParentOrThrow();
18943
18943
  $o(l, c.getChildren()), c.replace(l);
18944
18944
  }
@@ -18948,11 +18948,11 @@ function bp(t) {
18948
18948
  const r = /* @__PURE__ */ new Set();
18949
18949
  for (let o = 0; o < n.length; o++) {
18950
18950
  const i = n[o];
18951
- if (j(i) && i.isEmpty() && !qe(i) && !r.has(i.getKey())) {
18951
+ if (j(i) && i.isEmpty() && !He(i) && !r.has(i.getKey())) {
18952
18952
  Cp(i, t);
18953
18953
  continue;
18954
18954
  }
18955
- let s = a0(i) ? i.getParent() : qe(i) && i.isEmpty() ? i : null;
18955
+ let s = a0(i) ? i.getParent() : He(i) && i.isEmpty() ? i : null;
18956
18956
  for (; s != null; ) {
18957
18957
  const a = s.getKey();
18958
18958
  if (Te(s)) {
@@ -19016,7 +19016,7 @@ function bue() {
19016
19016
  let i = o;
19017
19017
  const s = M0(o);
19018
19018
  for (const a of s) {
19019
- const l = et().setTextStyle(t.style).setTextFormat(t.format);
19019
+ const l = tt().setTextStyle(t.style).setTextFormat(t.format);
19020
19020
  $o(l, a.getChildren()), i.insertAfter(l), i = l, a.__key === t.anchor.key && Do(t.anchor, _n(Fn(l, "next"))), a.__key === t.focus.key && Do(t.focus, _n(Fn(l, "next"))), a.remove();
19021
19021
  }
19022
19022
  o.remove();
@@ -19027,7 +19027,7 @@ function L0(t) {
19027
19027
  const e = t.getListType() !== "check";
19028
19028
  let n = t.getStart();
19029
19029
  for (const r of t.getChildren())
19030
- qe(r) && (r.getValue() !== n && r.setValue(n), e && r.getLatest().__checked != null && r.setChecked(void 0), Te(r.getFirstChild()) || n++);
19030
+ He(r) && (r.getValue() !== n && r.setValue(n), e && r.getLatest().__checked != null && r.setChecked(void 0), Te(r.getFirstChild()) || n++);
19031
19031
  }
19032
19032
  function Cue(t) {
19033
19033
  const e = /* @__PURE__ */ new Set();
@@ -19059,7 +19059,7 @@ function wue(t) {
19059
19059
  if (Zn(t))
19060
19060
  return;
19061
19061
  const e = t.getParent(), n = e ? e.getParent() : void 0;
19062
- if (Te(n ? n.getParent() : void 0) && qe(n) && Te(e)) {
19062
+ if (Te(n ? n.getParent() : void 0) && He(n) && Te(e)) {
19063
19063
  const r = e ? e.getFirstChild() : void 0, o = e ? e.getLastChild() : void 0;
19064
19064
  if (t.is(r))
19065
19065
  n.insertBefore(t), e.isEmpty() && n.remove();
@@ -19078,16 +19078,16 @@ function kue() {
19078
19078
  if (!Q(t) || !t.isCollapsed())
19079
19079
  return !1;
19080
19080
  const e = t.anchor.getNode();
19081
- if (!qe(e) || e.getChildrenSize() !== 0)
19081
+ if (!He(e) || e.getChildrenSize() !== 0)
19082
19082
  return !1;
19083
19083
  const n = wu(e), r = e.getParent();
19084
19084
  Te(r) || Nr(40);
19085
19085
  const o = r.getParent();
19086
19086
  let i;
19087
19087
  if (zt(o))
19088
- i = et(), n.insertAfter(i);
19088
+ i = tt(), n.insertAfter(i);
19089
19089
  else {
19090
- if (!qe(o))
19090
+ if (!He(o))
19091
19091
  return !1;
19092
19092
  i = pn(), o.insertAfter(i);
19093
19093
  }
@@ -19095,7 +19095,7 @@ function kue() {
19095
19095
  const s = e.getNextSiblings();
19096
19096
  if (s.length > 0) {
19097
19097
  const a = Jt(r.getListType());
19098
- if (qe(i)) {
19098
+ if (He(i)) {
19099
19099
  const l = pn();
19100
19100
  l.append(a), i.insertAfter(l);
19101
19101
  } else
@@ -19106,7 +19106,7 @@ function kue() {
19106
19106
  let l = a;
19107
19107
  for (; l.getNextSibling() == null && l.getPreviousSibling() == null; ) {
19108
19108
  const c = l.getParent();
19109
- if (c == null || !qe(c) && !Te(c))
19109
+ if (c == null || !He(c) && !Te(c))
19110
19110
  break;
19111
19111
  l = c;
19112
19112
  }
@@ -19198,7 +19198,7 @@ let Jr = class extends fn {
19198
19198
  return this;
19199
19199
  }
19200
19200
  replace(n, r) {
19201
- if (qe(n))
19201
+ if (He(n))
19202
19202
  return super.replace(n);
19203
19203
  this.setIndent(0);
19204
19204
  const o = this.getParentOrThrow();
@@ -19223,7 +19223,7 @@ let Jr = class extends fn {
19223
19223
  }
19224
19224
  insertAfter(n, r = !0) {
19225
19225
  const o = this.getParentOrThrow();
19226
- if (Te(o) || Nr(39), qe(n))
19226
+ if (Te(o) || Nr(39), He(n))
19227
19227
  return super.insertAfter(n, r);
19228
19228
  const i = this.getNextSiblings();
19229
19229
  if (o.insertAfter(n, r), i.length !== 0) {
@@ -19241,9 +19241,9 @@ let Jr = class extends fn {
19241
19241
  return this.insertAfter(o, r), o;
19242
19242
  }
19243
19243
  collapseAtStart(n) {
19244
- const r = et();
19244
+ const r = tt();
19245
19245
  this.getChildren().forEach((a) => r.append(a));
19246
- const o = this.getParentOrThrow(), i = o.getParentOrThrow(), s = qe(i);
19246
+ const o = this.getParentOrThrow(), i = o.getParentOrThrow(), s = He(i);
19247
19247
  if (o.getChildrenSize() === 1)
19248
19248
  if (s)
19249
19249
  o.remove(), i.select();
@@ -19282,7 +19282,7 @@ let Jr = class extends fn {
19282
19282
  if (n === null || !this.isAttached())
19283
19283
  return this.getLatest().__indent;
19284
19284
  let r = n.getParentOrThrow(), o = 0;
19285
- for (; qe(r); )
19285
+ for (; He(r); )
19286
19286
  r = r.getParentOrThrow().getParentOrThrow(), o++;
19287
19287
  return o;
19288
19288
  }
@@ -19294,13 +19294,13 @@ let Jr = class extends fn {
19294
19294
  return this;
19295
19295
  }
19296
19296
  canInsertAfter(n) {
19297
- return qe(n);
19297
+ return He(n);
19298
19298
  }
19299
19299
  canReplaceWith(n) {
19300
- return qe(n);
19300
+ return He(n);
19301
19301
  }
19302
19302
  canMergeWith(n) {
19303
- return qe(n) || zs(n);
19303
+ return He(n) || zs(n);
19304
19304
  }
19305
19305
  extractWithChild(n, r) {
19306
19306
  if (!Q(r))
@@ -19338,7 +19338,7 @@ function wp(t) {
19338
19338
  function pn(t) {
19339
19339
  return Un(new Jr(void 0, t));
19340
19340
  }
19341
- function qe(t) {
19341
+ function He(t) {
19342
19342
  return t instanceof Jr;
19343
19343
  }
19344
19344
  let Io = class extends fn {
@@ -19405,12 +19405,12 @@ let Io = class extends fn {
19405
19405
  let i = o;
19406
19406
  for (let s = 0; s < o.length; s++) {
19407
19407
  const a = o[s];
19408
- qe(a) || (i === o && (i = [...o]), i[s] = pn().append(!j(a) || Te(a) || a.isInline() ? a : lt(a.getTextContent())));
19408
+ He(a) || (i === o && (i = [...o]), i[s] = pn().append(!j(a) || Te(a) || a.isInline() ? a : ct(a.getTextContent())));
19409
19409
  }
19410
19410
  return super.splice(n, r, i);
19411
19411
  }
19412
19412
  extractWithChild(n) {
19413
- return qe(n);
19413
+ return He(n);
19414
19414
  }
19415
19415
  };
19416
19416
  function kp(t, e, n) {
@@ -19435,7 +19435,7 @@ function Sue(t) {
19435
19435
  const e = [];
19436
19436
  for (let n = 0; n < t.length; n++) {
19437
19437
  const r = t[n];
19438
- if (qe(r)) {
19438
+ if (He(r)) {
19439
19439
  e.push(r);
19440
19440
  const o = r.getChildren();
19441
19441
  o.length > 1 && o.forEach((i) => {
@@ -19483,7 +19483,7 @@ function Due(t) {
19483
19483
  }
19484
19484
  }), t.registerNodeTransform(Gr, (e) => {
19485
19485
  const n = e.getParent();
19486
- if (qe(n) && e.is(n.getFirstChild())) {
19486
+ if (He(n) && e.is(n.getFirstChild())) {
19487
19487
  const r = e.getStyle(), o = e.getFormat();
19488
19488
  r === n.getTextStyle() && o === n.getTextFormat() || n.setTextStyle(r).setTextFormat(o);
19489
19489
  }
@@ -19494,17 +19494,17 @@ function $ue(t) {
19494
19494
  const r = n.getParent();
19495
19495
  if (Te(n.getFirstChild()) || !Te(r))
19496
19496
  return;
19497
- const o = Cn(n, (i) => qe(i) && Te(i.getParent()) && qe(i.getPreviousSibling()));
19497
+ const o = Cn(n, (i) => He(i) && Te(i.getParent()) && He(i.getPreviousSibling()));
19498
19498
  if (o === null && n.getIndent() > 0)
19499
19499
  n.setIndent(0);
19500
- else if (qe(o)) {
19500
+ else if (He(o)) {
19501
19501
  const i = o.getPreviousSibling();
19502
- if (qe(i)) {
19502
+ if (He(i)) {
19503
19503
  const s = function(l) {
19504
19504
  let c = l, u = c.getFirstChild();
19505
19505
  for (; Te(u); ) {
19506
19506
  const d = u.getLastChild();
19507
- if (!qe(d))
19507
+ if (!He(d))
19508
19508
  break;
19509
19509
  c = d, u = c.getFirstChild();
19510
19510
  }
@@ -19523,7 +19523,7 @@ function $ue(t) {
19523
19523
  const o = r.shift();
19524
19524
  if (Te(o)) {
19525
19525
  for (const i of o.getChildren())
19526
- if (qe(i)) {
19526
+ if (He(i)) {
19527
19527
  e(i);
19528
19528
  const s = i.getFirstChild();
19529
19529
  Te(s) && r.push(s);
@@ -19555,7 +19555,7 @@ function Mue(t, e) {
19555
19555
  function Oue(t, e) {
19556
19556
  if (typeof document > "u" || typeof window > "u" && global.window === void 0)
19557
19557
  throw new Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");
19558
- const n = document.createElement("div"), r = it().getChildren();
19558
+ const n = document.createElement("div"), r = st().getChildren();
19559
19559
  for (let o = 0; o < r.length; o++)
19560
19560
  P0(t, r[o], n, e);
19561
19561
  return n.innerHTML;
@@ -19621,7 +19621,7 @@ function R0(t, e, n, r, o = /* @__PURE__ */ new Map(), i) {
19621
19621
  return u != null && (f = u(f)), Xa(t) && (f = Lue(t, f, p ? () => {
19622
19622
  const h = new fd();
19623
19623
  return n.push(h), h;
19624
- } : et)), a == null ? f.length > 0 ? s = s.concat(f) : Xa(t) && function(h) {
19624
+ } : tt)), a == null ? f.length > 0 ? s = s.concat(f) : Xa(t) && function(h) {
19625
19625
  return h.nextSibling == null || h.previousSibling == null ? !1 : _u(h.nextSibling) && _u(h.previousSibling);
19626
19626
  }(t) && (s = s.concat(Nn())) : j(a) && a.append(...f), s;
19627
19627
  }
@@ -19699,7 +19699,7 @@ function Ap(t, e, n) {
19699
19699
  if (Rr(s))
19700
19700
  i = s.origin;
19701
19701
  else {
19702
- const a = Vr(s, Fn(it(), "next").getFlipped());
19702
+ const a = Vr(s, Fn(st(), "next").getFlipped());
19703
19703
  for (const l of a) {
19704
19704
  if (se(l.origin)) {
19705
19705
  i = l.origin;
@@ -19744,7 +19744,7 @@ function B0(t, e, n, r = []) {
19744
19744
  return o;
19745
19745
  }
19746
19746
  function Pue(t, e) {
19747
- const n = [], r = it().getChildren();
19747
+ const n = [], r = st().getChildren();
19748
19748
  for (let o = 0; o < r.length; o++)
19749
19749
  B0(t, e, r[o], n);
19750
19750
  return { namespace: t._config.namespace, nodes: n };
@@ -19901,11 +19901,11 @@ let Od = class q0 extends fn {
19901
19901
  return Ld().updateFromJSON(e);
19902
19902
  }
19903
19903
  insertNewAfter(e, n) {
19904
- const r = et(), o = this.getDirection();
19904
+ const r = tt(), o = this.getDirection();
19905
19905
  return r.setDirection(o), this.insertAfter(r, n), r;
19906
19906
  }
19907
19907
  collapseAtStart() {
19908
- const e = et();
19908
+ const e = tt();
19909
19909
  return this.getChildren().forEach((n) => e.append(n)), this.replace(e), !0;
19910
19910
  }
19911
19911
  canMergeWhenEmpty() {
@@ -19975,15 +19975,15 @@ let ql = class H0 extends fn {
19975
19975
  return { ...super.exportJSON(), tag: this.getTag() };
19976
19976
  }
19977
19977
  insertNewAfter(n, r = !0) {
19978
- const o = n ? n.anchor.offset : 0, i = this.getLastDescendant(), s = !i || n && n.anchor.key === i.getKey() && o === i.getTextContentSize() || !n ? et() : fo(this.getTag()), a = this.getDirection();
19978
+ const o = n ? n.anchor.offset : 0, i = this.getLastDescendant(), s = !i || n && n.anchor.key === i.getKey() && o === i.getTextContentSize() || !n ? tt() : fo(this.getTag()), a = this.getDirection();
19979
19979
  if (s.setDirection(a), this.insertAfter(s, r), o === 0 && !this.isEmpty() && n) {
19980
- const l = et();
19980
+ const l = tt();
19981
19981
  l.select(), this.replace(l, !0);
19982
19982
  }
19983
19983
  return s;
19984
19984
  }
19985
19985
  collapseAtStart() {
19986
- const n = this.isEmpty() ? et() : fo(this.getTag());
19986
+ const n = this.isEmpty() ? tt() : fo(this.getTag());
19987
19987
  return this.getChildren().forEach((r) => n.append(r)), this.replace(n), !0;
19988
19988
  }
19989
19989
  extractWithChild() {
@@ -20034,7 +20034,7 @@ function Lp(t) {
20034
20034
  }
20035
20035
  function Ip(t) {
20036
20036
  const e = vi(t);
20037
- return Ue(e);
20037
+ return qe(e);
20038
20038
  }
20039
20039
  function Fc(t) {
20040
20040
  for (const e of ["lowercase", "uppercase", "capitalize"])
@@ -20044,16 +20044,16 @@ function Kue(t) {
20044
20044
  return Ws(t.registerCommand(Cm, (e) => {
20045
20045
  const n = ue();
20046
20046
  return !!sn(n) && (n.clear(), !0);
20047
- }, Re), t.registerCommand(ho, (e) => {
20047
+ }, Be), t.registerCommand(ho, (e) => {
20048
20048
  const n = ue();
20049
20049
  return Q(n) ? (n.deleteCharacter(e), !0) : !!sn(n) && (n.deleteNodes(), !0);
20050
- }, Re), t.registerCommand(ks, (e) => {
20050
+ }, Be), t.registerCommand(ks, (e) => {
20051
20051
  const n = ue();
20052
20052
  return !!Q(n) && (n.deleteWord(e), !0);
20053
- }, Re), t.registerCommand(xs, (e) => {
20053
+ }, Be), t.registerCommand(xs, (e) => {
20054
20054
  const n = ue();
20055
20055
  return !!Q(n) && (n.deleteLine(e), !0);
20056
- }, Re), t.registerCommand(ri, (e) => {
20056
+ }, Be), t.registerCommand(ri, (e) => {
20057
20057
  const n = ue();
20058
20058
  if (typeof e == "string")
20059
20059
  n !== null && n.insertText(e);
@@ -20069,13 +20069,13 @@ function Kue(t) {
20069
20069
  }
20070
20070
  }
20071
20071
  return !0;
20072
- }, Re), t.registerCommand(iu, () => {
20072
+ }, Be), t.registerCommand(iu, () => {
20073
20073
  const e = ue();
20074
20074
  return !!Q(e) && (e.removeText(), !0);
20075
- }, Re), t.registerCommand(yn, (e) => {
20075
+ }, Be), t.registerCommand(yn, (e) => {
20076
20076
  const n = ue();
20077
20077
  return !!Q(n) && (n.formatText(e), !0);
20078
- }, Re), t.registerCommand(uce, (e) => {
20078
+ }, Be), t.registerCommand(uce, (e) => {
20079
20079
  const n = ue();
20080
20080
  if (!Q(n) && !sn(n))
20081
20081
  return !1;
@@ -20085,19 +20085,19 @@ function Kue(t) {
20085
20085
  i !== null && i.setFormat(e);
20086
20086
  }
20087
20087
  return !0;
20088
- }, Re), t.registerCommand(ni, (e) => {
20088
+ }, Be), t.registerCommand(ni, (e) => {
20089
20089
  const n = ue();
20090
20090
  return !!Q(n) && (n.insertLineBreak(e), !0);
20091
- }, Re), t.registerCommand(ws, () => {
20091
+ }, Be), t.registerCommand(ws, () => {
20092
20092
  const e = ue();
20093
20093
  return !!Q(e) && (e.insertParagraph(), !0);
20094
- }, Re), t.registerCommand(lce, () => (Oce([xi()]), !0), Re), t.registerCommand(cce, () => Lp((e) => {
20094
+ }, Be), t.registerCommand(lce, () => (Oce([xi()]), !0), Be), t.registerCommand(cce, () => Lp((e) => {
20095
20095
  const n = e.getIndent();
20096
20096
  e.setIndent(n + 1);
20097
- }), Re), t.registerCommand(Mf, () => Lp((e) => {
20097
+ }), Be), t.registerCommand(Mf, () => Lp((e) => {
20098
20098
  const n = e.getIndent();
20099
20099
  n > 0 && e.setIndent(Math.max(0, n - 1));
20100
- }), Re), t.registerCommand(xm, (e) => {
20100
+ }), Be), t.registerCommand(xm, (e) => {
20101
20101
  const n = ue();
20102
20102
  if (sn(n)) {
20103
20103
  const r = n.getNodes();
@@ -20105,11 +20105,11 @@ function Kue(t) {
20105
20105
  return e.preventDefault(), r[0].selectPrevious(), !0;
20106
20106
  } else if (Q(n)) {
20107
20107
  const r = mu(n.focus, !0);
20108
- if (!e.shiftKey && Ue(r) && !r.isIsolated() && !r.isInline())
20108
+ if (!e.shiftKey && qe(r) && !r.isIsolated() && !r.isInline())
20109
20109
  return r.selectPrevious(), e.preventDefault(), !0;
20110
20110
  }
20111
20111
  return !1;
20112
- }, Re), t.registerCommand(Sm, (e) => {
20112
+ }, Be), t.registerCommand(Sm, (e) => {
20113
20113
  const n = ue();
20114
20114
  if (sn(n)) {
20115
20115
  const r = n.getNodes();
@@ -20118,15 +20118,15 @@ function Kue(t) {
20118
20118
  } else if (Q(n)) {
20119
20119
  if (function(o) {
20120
20120
  const i = o.focus;
20121
- return i.key === "root" && i.offset === it().getChildrenSize();
20121
+ return i.key === "root" && i.offset === st().getChildrenSize();
20122
20122
  }(n))
20123
20123
  return e.preventDefault(), !0;
20124
20124
  const r = mu(n.focus, !1);
20125
- if (!e.shiftKey && Ue(r) && !r.isIsolated() && !r.isInline())
20125
+ if (!e.shiftKey && qe(r) && !r.isIsolated() && !r.isInline())
20126
20126
  return r.selectNext(), e.preventDefault(), !0;
20127
20127
  }
20128
20128
  return !1;
20129
- }, Re), t.registerCommand(km, (e) => {
20129
+ }, Be), t.registerCommand(km, (e) => {
20130
20130
  const n = ue();
20131
20131
  if (sn(n)) {
20132
20132
  const r = n.getNodes();
@@ -20140,7 +20140,7 @@ function Kue(t) {
20140
20140
  return e.preventDefault(), yp(n, r, !0), !0;
20141
20141
  }
20142
20142
  return !1;
20143
- }, Re), t.registerCommand(wm, (e) => {
20143
+ }, Be), t.registerCommand(wm, (e) => {
20144
20144
  const n = ue();
20145
20145
  if (sn(n)) {
20146
20146
  const o = n.getNodes();
@@ -20151,7 +20151,7 @@ function Kue(t) {
20151
20151
  return !1;
20152
20152
  const r = e.shiftKey;
20153
20153
  return !!vp(n, !1) && (e.preventDefault(), yp(n, r, !1), !0);
20154
- }, Re), t.registerCommand(Tm, (e) => {
20154
+ }, Be), t.registerCommand(Tm, (e) => {
20155
20155
  if (Ip(e.target))
20156
20156
  return !1;
20157
20157
  const n = ue();
@@ -20174,12 +20174,12 @@ function Kue(t) {
20174
20174
  } else if (!sn(n))
20175
20175
  return !1;
20176
20176
  return e.preventDefault(), t.dispatchCommand(ho, !0);
20177
- }, Re), t.registerCommand(Dm, (e) => {
20177
+ }, Be), t.registerCommand(Dm, (e) => {
20178
20178
  if (Ip(e.target))
20179
20179
  return !1;
20180
20180
  const n = ue();
20181
20181
  return !(!Q(n) && !sn(n)) && (e.preventDefault(), t.dispatchCommand(ho, !1));
20182
- }, Re), t.registerCommand(Va, (e) => {
20182
+ }, Be), t.registerCommand(Va, (e) => {
20183
20183
  const n = ue();
20184
20184
  if (!Q(n))
20185
20185
  return !1;
@@ -20190,10 +20190,10 @@ function Kue(t) {
20190
20190
  return t.dispatchCommand(ni, !1);
20191
20191
  }
20192
20192
  return t.dispatchCommand(ws, void 0);
20193
- }, Re), t.registerCommand(Em, () => {
20193
+ }, Be), t.registerCommand(Em, () => {
20194
20194
  const e = ue();
20195
20195
  return !!Q(e) && (t.blur(), !0);
20196
- }, Re), t.registerCommand(Mm, (e) => {
20196
+ }, Be), t.registerCommand(Mm, (e) => {
20197
20197
  const [, n] = va(e);
20198
20198
  if (n.length > 0) {
20199
20199
  const o = Dp(e.clientX, e.clientY);
@@ -20216,25 +20216,25 @@ function Kue(t) {
20216
20216
  }
20217
20217
  const r = ue();
20218
20218
  return !!Q(r);
20219
- }, Re), t.registerCommand(Om, (e) => {
20219
+ }, Be), t.registerCommand(Om, (e) => {
20220
20220
  const [n] = va(e), r = ue();
20221
20221
  return !(n && !Q(r));
20222
- }, Re), t.registerCommand(Lm, (e) => {
20222
+ }, Be), t.registerCommand(Lm, (e) => {
20223
20223
  const [n] = va(e), r = ue();
20224
20224
  if (n && !Q(r))
20225
20225
  return !1;
20226
20226
  const o = Dp(e.clientX, e.clientY);
20227
20227
  if (o !== null) {
20228
20228
  const i = vi(o.node);
20229
- Ue(i) && e.preventDefault();
20229
+ qe(i) && e.preventDefault();
20230
20230
  }
20231
20231
  return !0;
20232
- }, Re), t.registerCommand(su, () => (Vce(), !0), Re), t.registerCommand($l, (e) => (Tp(t, uo(e, ClipboardEvent) ? e : null), !0), Re), t.registerCommand(ad, (e) => (async function(n, r) {
20232
+ }, Be), t.registerCommand(su, () => (Vce(), !0), Be), t.registerCommand($l, (e) => (Tp(t, uo(e, ClipboardEvent) ? e : null), !0), Be), t.registerCommand(ad, (e) => (async function(n, r) {
20233
20233
  await Tp(r, uo(n, ClipboardEvent) ? n : null), r.update(() => {
20234
20234
  const o = ue();
20235
20235
  Q(o) ? o.removeText() : sn(o) && o.getNodes().forEach((i) => i.remove());
20236
20236
  });
20237
- }(e, t), !0), Re), t.registerCommand(od, (e) => {
20237
+ }(e, t), !0), Be), t.registerCommand(od, (e) => {
20238
20238
  const [, n, r] = va(e);
20239
20239
  return n.length > 0 && !r ? (t.dispatchCommand(Mp, n), !0) : Ai(e.target) && md(e.target) ? !1 : ue() !== null && (function(o, i) {
20240
20240
  o.preventDefault(), i.update(() => {
@@ -20242,13 +20242,13 @@ function Kue(t) {
20242
20242
  a != null && s !== null && Sp(a, s, i);
20243
20243
  }, { tag: _ce });
20244
20244
  }(e, t), !0);
20245
- }, Re), t.registerCommand(Am, (e) => {
20245
+ }, Be), t.registerCommand(Am, (e) => {
20246
20246
  const n = ue();
20247
20247
  return Q(n) && Fc(n), !1;
20248
- }, Re), t.registerCommand($m, (e) => {
20248
+ }, Be), t.registerCommand($m, (e) => {
20249
20249
  const n = ue();
20250
20250
  return Q(n) && Fc(n), !1;
20251
- }, Re));
20251
+ }, Be));
20252
20252
  }
20253
20253
  var Gue = { exports: {} };
20254
20254
  (function(t) {
@@ -20898,17 +20898,17 @@ var Gue = { exports: {} };
20898
20898
  ae--, V = g.slice(G, ge), le.index -= G;
20899
20899
  } else if (le = c(J, 0, V, L), !le)
20900
20900
  continue;
20901
- var W = le.index, he = le[0], Oe = V.slice(0, W), Ze = V.slice(W + he.length), bt = G + V.length;
20901
+ var W = le.index, he = le[0], Oe = V.slice(0, W), Ke = V.slice(W + he.length), bt = G + V.length;
20902
20902
  S && bt > S.reach && (S.reach = bt);
20903
20903
  var Z = z.prev;
20904
20904
  Oe && (Z = f(y, Z, Oe), G += Oe.length), p(y, Z, ae);
20905
20905
  var ce = new l(E, $ ? a.tokenize(he, $) : he, U, he);
20906
- if (z = f(y, Z, ce), Ze && f(y, z, Ze), ae > 1) {
20907
- var Ke = {
20906
+ if (z = f(y, Z, ce), Ke && f(y, z, Ke), ae > 1) {
20907
+ var Ge = {
20908
20908
  cause: E + "," + M,
20909
20909
  reach: bt
20910
20910
  };
20911
- u(g, y, C, z.prev, G, Ke), S && Ke.reach > S.reach && (S.reach = Ke.reach);
20911
+ u(g, y, C, z.prev, G, Ge), S && Ge.reach > S.reach && (S.reach = Ge.reach);
20912
20912
  }
20913
20913
  }
20914
20914
  }
@@ -22893,7 +22893,7 @@ let Hl = class j0 extends fn {
22893
22893
  ` && o[i - 2].getTextContent() === `
22894
22894
  ` && n.isCollapsed() && n.anchor.key === this.__key && n.anchor.offset === i) {
22895
22895
  o[i - 1].remove(), o[i - 2].remove();
22896
- const c = et();
22896
+ const c = tt();
22897
22897
  return this.insertAfter(c, r), c;
22898
22898
  }
22899
22899
  const { anchor: s, focus: a } = n, l = (s.isBefore(a) ? s : a).getNode();
@@ -22931,7 +22931,7 @@ let Hl = class j0 extends fn {
22931
22931
  return !1;
22932
22932
  }
22933
22933
  collapseAtStart() {
22934
- const n = et();
22934
+ const n = tt();
22935
22935
  return this.getChildren().forEach((r) => n.append(r)), this.replace(n), !0;
22936
22936
  }
22937
22937
  setLanguage(n) {
@@ -23276,7 +23276,7 @@ function sde(t, e, n, r) {
23276
23276
  if (i != null)
23277
23277
  return i;
23278
23278
  }
23279
- return j(t) ? rl(t, n, r) : Ue(t) ? t.getTextContent() : null;
23279
+ return j(t) ? rl(t, n, r) : qe(t) ? t.getTextContent() : null;
23280
23280
  }
23281
23281
  function rl(t, e, n, r, o) {
23282
23282
  const i = [], s = t.getChildren();
@@ -23293,7 +23293,7 @@ function rl(t, e, n, r, o) {
23293
23293
  }
23294
23294
  }
23295
23295
  Fr(a) ? i.push(`
23296
- `) : se(a) ? i.push(Up(a, a.getTextContent(), e, r, o)) : j(a) ? i.push(rl(a, e, n, r, o)) : Ue(a) && i.push(a.getTextContent());
23296
+ `) : se(a) ? i.push(Up(a, a.getTextContent(), e, r, o)) : j(a) ? i.push(rl(a, e, n, r, o)) : qe(a) && i.push(a.getTextContent());
23297
23297
  }
23298
23298
  return i.join("");
23299
23299
  }
@@ -23424,7 +23424,7 @@ function lde(t, e = !1) {
23424
23424
  }(n.textFormat);
23425
23425
  return (o, i) => {
23426
23426
  const s = o.split(`
23427
- `), a = s.length, l = i || it();
23427
+ `), a = s.length, l = i || st();
23428
23428
  l.clear();
23429
23429
  for (let u = 0; u < a; u++) {
23430
23430
  const d = s[u], [f, p] = cde(s, u, n.multilineElement, l);
@@ -23482,7 +23482,7 @@ function cde(t, e, n, r) {
23482
23482
  return [!1, e];
23483
23483
  }
23484
23484
  function ude(t, e, n, r, o, i) {
23485
- const s = lt(t), a = et();
23485
+ const s = ct(t), a = tt();
23486
23486
  a.append(s), e.append(a);
23487
23487
  for (const { regExp: l, replace: c } of n) {
23488
23488
  const u = t.match(l);
@@ -23495,7 +23495,7 @@ function ude(t, e, n, r, o, i) {
23495
23495
  let c = l;
23496
23496
  if (Te(l)) {
23497
23497
  const u = l.getLastDescendant();
23498
- c = u == null ? null : Cn(u, qe);
23498
+ c = u == null ? null : Cn(u, He);
23499
23499
  }
23500
23500
  c != null && c.getTextContentSize() > 0 && (c.splice(c.getChildrenSize(), 0, [Nn(), ...a.getChildren()]), a.remove());
23501
23501
  }
@@ -23534,7 +23534,7 @@ const Y0 = /^(\s*)(\d{1,})\.\s/, J0 = /^(\s*)[-*+]\s/, fde = /^(\s*)(?:[-*+]\s)?
23534
23534
  const r = [], o = t.getChildren();
23535
23535
  let i = 0;
23536
23536
  for (const s of o)
23537
- if (qe(s)) {
23537
+ if (He(s)) {
23538
23538
  if (s.getChildrenSize() === 1) {
23539
23539
  const d = s.getFirstChild();
23540
23540
  if (Te(d)) {
@@ -23594,7 +23594,7 @@ const Y0 = /^(\s*)(\d{1,})\.\s/, J0 = /^(\s*)[-*+]\s/, fde = /^(\s*)(?:[-*+]\s)?
23594
23594
  a = o.join(`
23595
23595
  `);
23596
23596
  }
23597
- const l = lt(a);
23597
+ const l = ct(a);
23598
23598
  s.append(l), t.append(s);
23599
23599
  } else
23600
23600
  e && eg((l) => Yn(l ? l[1] : void 0))(t, e, n, i);
@@ -23612,8 +23612,8 @@ const Y0 = /^(\s*)(\d{1,})\.\s/, J0 = /^(\s*)[-*+]\s/, fde = /^(\s*)(?:[-*+]\s)?
23612
23612
  const d = n.split("[");
23613
23613
  c = "[" + d[0], l = d.slice(1).join("[");
23614
23614
  }
23615
- const u = lt(l);
23616
- return u.setFormat(t.getFormat()), i.append(u), t.replace(i), c && i.insertBefore(lt(c)), u;
23615
+ const u = ct(l);
23616
+ return u.setFormat(t.getFormat()), i.append(u), t.replace(i), c && i.insertBefore(ct(c)), u;
23617
23617
  }, trigger: ")", type: "text-match" }, wde = [ng, gde, og, ig], kde = [rg], xde = [sg, ag, yde, lg, _de, vde, ug, bde, cg], Sde = [Cde], Pd = [...wde, ...kde, ...xde, ...Sde];
23618
23618
  function jp(t, e, n) {
23619
23619
  const r = n.length;
@@ -23771,7 +23771,7 @@ function Ede(t = Pd, e, n = !1) {
23771
23771
  return function(o, i = !1) {
23772
23772
  const s = Id(o), a = [...s.multilineElement, ...s.element], l = !i, c = s.textFormat.filter((u) => u.format.length === 1).sort((u, d) => Number(u.format.includes("code")) - Number(d.format.includes("code")));
23773
23773
  return (u) => {
23774
- const d = [], f = (u || it()).getChildren();
23774
+ const d = [], f = (u || st()).getChildren();
23775
23775
  for (let p = 0; p < f.length; p++) {
23776
23776
  const h = f[p], m = sde(h, a, c, s.textMatch);
23777
23777
  m != null && d.push(l && p > 0 && !Su(h) && !Su(f[p - 1]) ? `
@@ -23823,9 +23823,9 @@ const fg = Symbol("LexicalEditor"), Mde = (() => {
23823
23823
  if (_ !== null) {
23824
23824
  if (_ === void 0)
23825
23825
  v.update(() => {
23826
- const g = it();
23826
+ const g = st();
23827
23827
  if (g.isEmpty()) {
23828
- const y = et();
23828
+ const y = tt();
23829
23829
  g.append(y);
23830
23830
  const C = gue ? document.activeElement : null;
23831
23831
  (ue() !== null || C !== null && C === v.getRootElement()) && y.select();
@@ -23843,7 +23843,7 @@ const fg = Symbol("LexicalEditor"), Mde = (() => {
23843
23843
  break;
23844
23844
  case "function":
23845
23845
  v.update(() => {
23846
- it().isEmpty() && _(v);
23846
+ st().isEmpty() && _(v);
23847
23847
  }, a);
23848
23848
  break;
23849
23849
  }
@@ -24201,7 +24201,7 @@ const Ide = (() => {
24201
24201
  return e.__vue_vine = !0, e;
24202
24202
  })();
24203
24203
  function Nde() {
24204
- return it().getTextContent();
24204
+ return st().getTextContent();
24205
24205
  }
24206
24206
  function Pde(t, e = !0) {
24207
24207
  if (t)
@@ -24212,12 +24212,12 @@ function Pde(t, e = !0) {
24212
24212
  function Fde(t) {
24213
24213
  if (!Pde(t, !1))
24214
24214
  return !1;
24215
- const e = it().getChildren(), n = e.length;
24215
+ const e = st().getChildren(), n = e.length;
24216
24216
  if (n > 1)
24217
24217
  return !1;
24218
24218
  for (let r = 0; r < n; r++) {
24219
24219
  const o = e[r];
24220
- if (Ue(o))
24220
+ if (qe(o))
24221
24221
  return !1;
24222
24222
  if (j(o)) {
24223
24223
  if (!zs(o) || o.__indent !== 0)
@@ -24559,7 +24559,7 @@ const zde = (() => {
24559
24559
  Sn(l);
24560
24560
  }), (l, c) => {
24561
24561
  var u, d;
24562
- return x(), D(Ve, null, [
24562
+ return x(), D(je, null, [
24563
24563
  N(ve(Ide), Ht({
24564
24564
  editor: ve(i)
24565
24565
  }, Hde(Ude({}, l.$props), {
@@ -24652,7 +24652,7 @@ function Wde(t, e, n) {
24652
24652
  const c = s.current, u = l.pop();
24653
24653
  c !== null && (a.push(c), i.dispatchCommand(ua, !0)), l.length === 0 && i.dispatchCommand(da, !1), s.current = u || null, u && u.editor.setEditorState(u.editorState, { tag: Za });
24654
24654
  }
24655
- }(t, e), !0), Re), t.registerCommand(sd, () => (function(i, s) {
24655
+ }(t, e), !0), Be), t.registerCommand(sd, () => (function(i, s) {
24656
24656
  const a = s.redoStack, l = s.undoStack;
24657
24657
  if (a.length !== 0) {
24658
24658
  const c = s.current;
@@ -24660,7 +24660,7 @@ function Wde(t, e, n) {
24660
24660
  const u = a.pop();
24661
24661
  a.length === 0 && i.dispatchCommand(ua, !1), s.current = u || null, u && u.editor.setEditorState(u.editorState, { tag: Za });
24662
24662
  }
24663
- }(t, e), !0), Re), t.registerCommand(fce, () => (Wp(e), !1), Re), t.registerCommand(pce, () => (Wp(e), t.dispatchCommand(ua, !1), t.dispatchCommand(da, !1), !0), Re), t.registerUpdateListener(({ editorState: i, prevEditorState: s, dirtyLeaves: a, dirtyElements: l, tags: c }) => {
24663
+ }(t, e), !0), Be), t.registerCommand(fce, () => (Wp(e), !1), Be), t.registerCommand(pce, () => (Wp(e), t.dispatchCommand(ua, !1), t.dispatchCommand(da, !1), !0), Be), t.registerUpdateListener(({ editorState: i, prevEditorState: s, dirtyLeaves: a, dirtyElements: l, tags: c }) => {
24664
24664
  const u = e.current, d = e.redoStack, f = e.undoStack, p = u === null ? null : u.editorState;
24665
24665
  if (u !== null && i === p)
24666
24666
  return;
@@ -24773,7 +24773,7 @@ const t1e = (() => {
24773
24773
  let { expose: r } = n;
24774
24774
  r();
24775
24775
  const o = Di(), i = hg(o);
24776
- return e1e(o), (s, a) => (x(), D(Ve, null, [
24776
+ return e1e(o), (s, a) => (x(), D(je, null, [
24777
24777
  ve(i) ? we(s.$slots, "placeholder", {
24778
24778
  key: 0
24779
24779
  }) : R("", !0),
@@ -25016,7 +25016,7 @@ const t1e = (() => {
25016
25016
  ), $ === "paragraph") {
25017
25017
  Pc(
25018
25018
  L,
25019
- () => et()
25019
+ () => tt()
25020
25020
  );
25021
25021
  return;
25022
25022
  }
@@ -25047,9 +25047,9 @@ const t1e = (() => {
25047
25047
  function M() {
25048
25048
  const $ = i.value;
25049
25049
  $ && $.update(() => {
25050
- const L = it();
25050
+ const L = st();
25051
25051
  L.clear(), L.append(
25052
- et()
25052
+ tt()
25053
25053
  );
25054
25054
  });
25055
25055
  }
@@ -25402,7 +25402,7 @@ const o1e = {
25402
25402
  left: ve(u).left + "px"
25403
25403
  })
25404
25404
  }, [
25405
- (x(!0), D(Ve, null, pt(ve(d), (I, U) => (x(), D("li", {
25405
+ (x(!0), D(je, null, pt(ve(d), (I, U) => (x(), D("li", {
25406
25406
  key: I.id,
25407
25407
  class: be({
25408
25408
  "ao-comment-editor__mention-item--selected": U === ve(f)
@@ -25504,7 +25504,7 @@ const s1e = { class: "ao-comment" }, a1e = { class: "ao-comment__created-at" },
25504
25504
  }, null, 8, ["content"]))
25505
25505
  ]),
25506
25506
  t.isEditable ? (x(), D("div", u1e, [
25507
- i.value ? (x(), D(Ve, { key: 0 }, [
25507
+ i.value ? (x(), D(je, { key: 0 }, [
25508
25508
  N(Ee, {
25509
25509
  "icon-name": "CloseRounded",
25510
25510
  size: "sm",
@@ -25520,7 +25520,7 @@ const s1e = { class: "ao-comment" }, a1e = { class: "ao-comment__created-at" },
25520
25520
  color: "black",
25521
25521
  onClick: d
25522
25522
  })
25523
- ], 64)) : (x(), D(Ve, { key: 1 }, [
25523
+ ], 64)) : (x(), D(je, { key: 1 }, [
25524
25524
  N(Ee, {
25525
25525
  label: h.$t("activity.comment.edit"),
25526
25526
  size: "sm",
@@ -25609,7 +25609,7 @@ const f1e = { class: "ao-comments__new" }, p1e = {
25609
25609
  }, null, 8, ["initial-markdown", "mentionable-users", "placeholder"])
25610
25610
  ]),
25611
25611
  o.value.length > 0 ? (x(), D("ul", p1e, [
25612
- (x(!0), D(Ve, null, pt(o.value, (p) => (x(), Y(d1e, {
25612
+ (x(!0), D(je, null, pt(o.value, (p) => (x(), Y(d1e, {
25613
25613
  key: p.id,
25614
25614
  user: i(p.author.id),
25615
25615
  content: p.message,
@@ -25982,7 +25982,7 @@ function B1e(t, e, n, r, o, i) {
25982
25982
  "tabbar-wrapper--underline": t.variant === "underline"
25983
25983
  }])
25984
25984
  }, [
25985
- (x(!0), D(Ve, null, pt(t.tabs, (s) => (x(), D("button", {
25985
+ (x(!0), D(je, null, pt(t.tabs, (s) => (x(), D("button", {
25986
25986
  key: s.value,
25987
25987
  class: be([
25988
25988
  "tab-button",
@@ -26313,7 +26313,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26313
26313
  value: xe.id,
26314
26314
  label: xe.name,
26315
26315
  startDate: xe.startDate
26316
- })).sort((xe, ut) => xe.startDate && ut.startDate ? new Date(xe.startDate).getTime() - new Date(ut.startDate).getTime() : xe.label.localeCompare(ut.label)) : [];
26316
+ })).sort((xe, dt) => xe.startDate && dt.startDate ? new Date(xe.startDate).getTime() - new Date(dt.startDate).getTime() : xe.label.localeCompare(dt.label)) : [];
26317
26317
  }), T = O(() => {
26318
26318
  var F;
26319
26319
  return (F = n.activity.sprint) == null ? void 0 : F.id;
@@ -26333,13 +26333,13 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26333
26333
  }), L = oe(!1), I = oe(""), U = oe(""), H = oe(""), J = O(() => {
26334
26334
  var xe;
26335
26335
  const F = (xe = n.activity.project) == null ? void 0 : xe.id;
26336
- return F ? `Sprint ${n.sprints.filter((ut) => ut.projectId === F).length + 1}` : "Sprint 1";
26336
+ return F ? `Sprint ${n.sprints.filter((dt) => dt.projectId === F).length + 1}` : "Sprint 1";
26337
26337
  }), z = O(() => {
26338
26338
  var ft;
26339
26339
  if (!((ft = n.activity.project) == null ? void 0 : ft.id))
26340
26340
  return !1;
26341
- const ee = I.value.trim(), xe = U.value, ut = H.value;
26342
- return !ee || !xe || !ut ? !1 : new Date(ut) >= new Date(xe);
26341
+ const ee = I.value.trim(), xe = U.value, dt = H.value;
26342
+ return !ee || !xe || !dt ? !1 : new Date(dt) >= new Date(xe);
26343
26343
  }), G = () => {
26344
26344
  var ee;
26345
26345
  (ee = n.activity.project) != null && ee.id && (L.value = !0, I.value = J.value, U.value = "", H.value = "");
@@ -26399,14 +26399,14 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26399
26399
  r("addSubtask", F);
26400
26400
  }, Oe = (F) => {
26401
26401
  r("updateSubtask", F);
26402
- }, Ze = (F) => {
26402
+ }, Ke = (F) => {
26403
26403
  r("deleteSubtask", F);
26404
26404
  };
26405
26405
  function bt() {
26406
- n.userId ? Ke.value = [n.userId] : console.error("Failed assigning to self: userId is missing");
26406
+ n.userId ? Ge.value = [n.userId] : console.error("Failed assigning to self: userId is missing");
26407
26407
  }
26408
26408
  function Z(F) {
26409
- Ke.value = [F];
26409
+ Ge.value = [F];
26410
26410
  }
26411
26411
  const ce = O(() => {
26412
26412
  var ee;
@@ -26418,7 +26418,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26418
26418
  value: xe.id,
26419
26419
  avatar: xe.avatarUrl
26420
26420
  }));
26421
- }), Ke = O({
26421
+ }), Ge = O({
26422
26422
  get() {
26423
26423
  var F, ee;
26424
26424
  return (F = n.activity.assignee) != null && F.id ? [(ee = n.activity.assignee) == null ? void 0 : ee.id] : [];
@@ -26435,19 +26435,19 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26435
26435
  activityId: n.activity.id,
26436
26436
  files: F
26437
26437
  });
26438
- }, ct = (F) => {
26438
+ }, ut = (F) => {
26439
26439
  _e(F);
26440
26440
  }, Ie = (F) => {
26441
26441
  r("removeFile", {
26442
26442
  activityId: n.activity.id,
26443
26443
  file: F
26444
26444
  });
26445
- }, Je = O(() => n.projects.map((F) => ({
26445
+ }, ze = O(() => n.projects.map((F) => ({
26446
26446
  value: F.id,
26447
26447
  label: F.name
26448
- }))), Qe = O(() => {
26449
- var ee, xe, ut;
26450
- const F = (ut = (xe = (ee = n.activity) == null ? void 0 : ee.project) == null ? void 0 : xe.phases) == null ? void 0 : ut.reduce(
26448
+ }))), et = O(() => {
26449
+ var ee, xe, dt;
26450
+ const F = (dt = (xe = (ee = n.activity) == null ? void 0 : ee.project) == null ? void 0 : xe.phases) == null ? void 0 : dt.reduce(
26451
26451
  (ft, Bt) => [...ft, ...Bt.milestones],
26452
26452
  []
26453
26453
  );
@@ -26455,17 +26455,17 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26455
26455
  value: ft.id,
26456
26456
  label: ft.name
26457
26457
  }));
26458
- }), ze = (F) => {
26458
+ }), Fe = (F) => {
26459
26459
  n.activity && r("update:activity", {
26460
26460
  id: n.activity.id,
26461
26461
  projectId: F
26462
26462
  });
26463
- }, st = (F) => {
26463
+ }, Ye = (F) => {
26464
26464
  n.activity && r("update:activity", {
26465
26465
  id: n.activity.id,
26466
26466
  milestoneId: F
26467
26467
  });
26468
- }, dt = O(() => {
26468
+ }, at = O(() => {
26469
26469
  var F;
26470
26470
  return (F = n.statuses) == null ? void 0 : F.map((ee) => ({
26471
26471
  value: ee.id,
@@ -26481,7 +26481,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26481
26481
  id: n.activity.id,
26482
26482
  statusDevId: F
26483
26483
  });
26484
- }, tt = (F) => {
26484
+ }, nt = (F) => {
26485
26485
  r("addComment", {
26486
26486
  ...F,
26487
26487
  activityId: n.activity.id
@@ -26506,12 +26506,12 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26506
26506
  console.log("Failed to copy link"), r("toast", "clipboard.copy.error", "error");
26507
26507
  });
26508
26508
  }
26509
- return (F, ee) => (x(), D(Ve, null, [
26509
+ return (F, ee) => (x(), D(je, null, [
26510
26510
  N(fl, {
26511
26511
  onClose: ee[13] || (ee[13] = (xe) => F.$emit("close"))
26512
26512
  }, {
26513
26513
  default: fe(() => {
26514
- var xe, ut, ft, Bt;
26514
+ var xe, dt, ft, Bt;
26515
26515
  return [
26516
26516
  k("div", j1e, [
26517
26517
  k("div", W1e, [
@@ -26535,26 +26535,26 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26535
26535
  }, null, 8, ["title", "is-editable"]),
26536
26536
  jt.value ? (x(), D("div", G1e, ne(F.$t("activity.createdBy.label", { name: jt.value, date: An.value })), 1)) : R("", !0),
26537
26537
  k("div", Y1e, [
26538
- Je.value ? (x(), D("label", J1e, [
26538
+ ze.value ? (x(), D("label", J1e, [
26539
26539
  k("span", X1e, ne(F.$t("activity.project.label")), 1),
26540
26540
  N(Kt, {
26541
- options: Je.value,
26541
+ options: ze.value,
26542
26542
  value: (xe = t.activity.project) == null ? void 0 : xe.id,
26543
26543
  searchable: !0,
26544
26544
  disabled: !a.value,
26545
26545
  caret: a.value,
26546
- onChange: ze
26546
+ onChange: Fe
26547
26547
  }, null, 8, ["options", "value", "disabled", "caret"])
26548
26548
  ])) : R("", !0),
26549
- Qe.value ? (x(), D("label", Q1e, [
26549
+ et.value ? (x(), D("label", Q1e, [
26550
26550
  k("span", efe, ne(F.$t("activity.milestone.label")), 1),
26551
26551
  N(Kt, {
26552
- options: Qe.value,
26553
- value: (ut = t.activity.milestone) == null ? void 0 : ut.id,
26552
+ options: et.value,
26553
+ value: (dt = t.activity.milestone) == null ? void 0 : dt.id,
26554
26554
  searchable: !0,
26555
26555
  disabled: !a.value,
26556
26556
  caret: a.value,
26557
- onChange: st
26557
+ onChange: Ye
26558
26558
  }, null, 8, ["options", "value", "disabled", "caret"])
26559
26559
  ])) : R("", !0)
26560
26560
  ]),
@@ -26563,7 +26563,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26563
26563
  k("div", tfe, [
26564
26564
  N(jl, {
26565
26565
  modelValue: i.value,
26566
- "onUpdate:modelValue": ee[0] || (ee[0] = (Be) => i.value = Be),
26566
+ "onUpdate:modelValue": ee[0] || (ee[0] = (Ue) => i.value = Ue),
26567
26567
  tabs: s.value,
26568
26568
  variant: "underline",
26569
26569
  class: "ao-activity-details__tabs"
@@ -26576,7 +26576,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26576
26576
  "is-editable": t.attachmentEnabled && a.value && !t.isTemplate && !!t.userId,
26577
26577
  onAdd: _e,
26578
26578
  onRemove: Ie,
26579
- onPreview: ee[1] || (ee[1] = (Be) => c.value = Be)
26579
+ onPreview: ee[1] || (ee[1] = (Ue) => c.value = Ue)
26580
26580
  }, {
26581
26581
  default: fe(() => [
26582
26582
  l.value ? (x(), Y(V1e, {
@@ -26584,7 +26584,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26584
26584
  "initial-markdown": d.value,
26585
26585
  onSave: p,
26586
26586
  onCancel: h,
26587
- onPaste: ct
26587
+ onPaste: ut
26588
26588
  }, null, 8, ["initial-markdown"])) : (x(), D("div", {
26589
26589
  key: 0,
26590
26590
  class: be(["ao-activity-details__description", { "ao-activity-details__description--editable": a.value }]),
@@ -26613,7 +26613,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26613
26613
  "is-template": t.isTemplate,
26614
26614
  onAdd: he,
26615
26615
  onUpdate: Oe,
26616
- onDelete: Ze
26616
+ onDelete: Ke
26617
26617
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
26618
26618
  ])
26619
26619
  ])
@@ -26626,7 +26626,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26626
26626
  comments: t.activity.comments,
26627
26627
  users: t.users,
26628
26628
  "user-id": t.userId,
26629
- onCreateComment: tt,
26629
+ onCreateComment: nt,
26630
26630
  onUpdateComment: Lt,
26631
26631
  onRemoveComment: Ct
26632
26632
  }, null, 8, ["comments", "users", "user-id"])
@@ -26640,25 +26640,25 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26640
26640
  k("div", dfe, [
26641
26641
  N(Ne, {
26642
26642
  name: "CloseRounded",
26643
- onClick: ee[2] || (ee[2] = (Be) => F.$emit("close"))
26643
+ onClick: ee[2] || (ee[2] = (Ue) => F.$emit("close"))
26644
26644
  })
26645
26645
  ]),
26646
26646
  k("div", ffe, [
26647
26647
  k("span", pfe, ne(F.$t("activity.type.label")), 1),
26648
26648
  N(I1e, {
26649
26649
  "is-left": w.value,
26650
- "onUpdate:isLeft": ee[3] || (ee[3] = (Be) => w.value = Be),
26650
+ "onUpdate:isLeft": ee[3] || (ee[3] = (Ue) => w.value = Ue),
26651
26651
  "left-label": "Standard",
26652
26652
  "right-label": "Development",
26653
26653
  class: "ao-activity-type-toggle"
26654
26654
  }, null, 8, ["is-left"])
26655
26655
  ]),
26656
- dt.value ? (x(), D("div", hfe, [
26656
+ at.value ? (x(), D("div", hfe, [
26657
26657
  k("label", mfe, [
26658
26658
  k("span", gfe, ne(F.$t("activity.status.label")), 1),
26659
26659
  N(Kt, {
26660
26660
  class: "ao-activity-details__multiselect",
26661
- options: dt.value,
26661
+ options: at.value,
26662
26662
  value: (ft = t.activity.status) == null ? void 0 : ft.id,
26663
26663
  "can-clear": !1,
26664
26664
  "can-deselect": !1,
@@ -26699,7 +26699,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26699
26699
  k("div", xfe, [
26700
26700
  k("label", Sfe, ne(F.$t("activity.sprint.nameLabel")), 1),
26701
26701
  Nt(k("input", {
26702
- "onUpdate:modelValue": ee[4] || (ee[4] = (Be) => I.value = Be),
26702
+ "onUpdate:modelValue": ee[4] || (ee[4] = (Ue) => I.value = Ue),
26703
26703
  class: "ao-field__input",
26704
26704
  type: "text",
26705
26705
  placeholder: F.$t("activity.sprint.namePlaceholder")
@@ -26710,7 +26710,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26710
26710
  k("div", Tfe, [
26711
26711
  k("label", Efe, ne(F.$t("activity.sprint.startDateLabel")), 1),
26712
26712
  Nt(k("input", {
26713
- "onUpdate:modelValue": ee[5] || (ee[5] = (Be) => U.value = Be),
26713
+ "onUpdate:modelValue": ee[5] || (ee[5] = (Ue) => U.value = Ue),
26714
26714
  class: "ao-field__input",
26715
26715
  type: "date"
26716
26716
  }, null, 512), [
@@ -26720,7 +26720,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26720
26720
  k("div", Dfe, [
26721
26721
  k("label", $fe, ne(F.$t("activity.sprint.endDateLabel")), 1),
26722
26722
  Nt(k("input", {
26723
- "onUpdate:modelValue": ee[6] || (ee[6] = (Be) => H.value = Be),
26723
+ "onUpdate:modelValue": ee[6] || (ee[6] = (Ue) => H.value = Ue),
26724
26724
  class: "ao-field__input",
26725
26725
  type: "date"
26726
26726
  }, null, 512), [
@@ -26775,8 +26775,8 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26775
26775
  }, null, 8, ["label"])
26776
26776
  ]),
26777
26777
  N(Kt, {
26778
- modelValue: Ke.value,
26779
- "onUpdate:modelValue": ee[7] || (ee[7] = (Be) => Ke.value = Be),
26778
+ modelValue: Ge.value,
26779
+ "onUpdate:modelValue": ee[7] || (ee[7] = (Ue) => Ge.value = Ue),
26780
26780
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
26781
26781
  options: ce.value,
26782
26782
  "close-on-select": !0,
@@ -26788,14 +26788,14 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26788
26788
  onSelect: Z
26789
26789
  }, {
26790
26790
  tag: fe(({
26791
- option: Be,
26791
+ option: Ue,
26792
26792
  handleTagRemove: Xr
26793
26793
  }) => [
26794
26794
  N(Wr, {
26795
- "user-name": Be.label,
26796
- "avatar-url": Be.avatar,
26795
+ "user-name": Ue.label,
26796
+ "avatar-url": Ue.avatar,
26797
26797
  "is-closable": !0,
26798
- onClose: (Xt) => Xr(Be, Xt)
26798
+ onClose: (Xt) => Xr(Ue, Xt)
26799
26799
  }, null, 8, ["user-name", "avatar-url", "onClose"])
26800
26800
  ]),
26801
26801
  _: 1
@@ -26807,7 +26807,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26807
26807
  k("label", Rfe, [
26808
26808
  k("span", Bfe, ne(F.$t("activity.deadline.label")), 1),
26809
26809
  Nt(k("input", {
26810
- "onUpdate:modelValue": ee[8] || (ee[8] = (Be) => C.value = Be),
26810
+ "onUpdate:modelValue": ee[8] || (ee[8] = (Ue) => C.value = Ue),
26811
26811
  readonly: !a.value,
26812
26812
  class: "ao-field__input",
26813
26813
  type: "date"
@@ -26827,7 +26827,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26827
26827
  k("label", zfe, [
26828
26828
  k("span", Vfe, ne(F.$t("activity.estimation.label")) + " (" + ne(_.value) + ")", 1),
26829
26829
  Nt(k("input", {
26830
- "onUpdate:modelValue": ee[9] || (ee[9] = (Be) => m.value = Be),
26830
+ "onUpdate:modelValue": ee[9] || (ee[9] = (Ue) => m.value = Ue),
26831
26831
  readonly: !a.value,
26832
26832
  class: "ao-field__input ao-field__input--estim",
26833
26833
  type: "number",
@@ -26855,7 +26855,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26855
26855
  k("div", Yfe, [
26856
26856
  N(vg, {
26857
26857
  modelValue: y.value,
26858
- "onUpdate:modelValue": ee[10] || (ee[10] = (Be) => y.value = Be),
26858
+ "onUpdate:modelValue": ee[10] || (ee[10] = (Ue) => y.value = Ue),
26859
26859
  modelModifiers: { lazy: !0 },
26860
26860
  label: F.$t("activity.important.label"),
26861
26861
  disabled: !a.value,
@@ -26881,7 +26881,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26881
26881
  k("span", npe, ne(F.$t("activity.dependingOn.label")), 1),
26882
26882
  N(Kt, {
26883
26883
  modelValue: De.value,
26884
- "onUpdate:modelValue": ee[11] || (ee[11] = (Be) => De.value = Be),
26884
+ "onUpdate:modelValue": ee[11] || (ee[11] = (Ue) => De.value = Ue),
26885
26885
  class: "ao-activity-details__multiselect",
26886
26886
  mode: "tags",
26887
26887
  "close-on-select": !1,
@@ -26897,7 +26897,7 @@ const j1e = { class: "ao-activity-details" }, W1e = { class: "ao-activity-detail
26897
26897
  k("span", ipe, ne(F.$t("activity.blocking.label")), 1),
26898
26898
  N(Kt, {
26899
26899
  modelValue: ye.value,
26900
- "onUpdate:modelValue": ee[12] || (ee[12] = (Be) => ye.value = Be),
26900
+ "onUpdate:modelValue": ee[12] || (ee[12] = (Ue) => ye.value = Ue),
26901
26901
  class: "ao-activity-details__multiselect",
26902
26902
  mode: "tags",
26903
26903
  "close-on-select": !1,
@@ -26940,7 +26940,7 @@ const spe = /* @__PURE__ */ de({
26940
26940
  emits: ["update:rule", "close"],
26941
26941
  setup(t, { emit: e }) {
26942
26942
  const n = t, r = e, o = Qo(
26943
- n.rule.itemType || at.ACTIVITIES
26943
+ n.rule.itemType || lt.ACTIVITIES
26944
26944
  ), i = O({
26945
26945
  get() {
26946
26946
  return o.value;
@@ -26952,7 +26952,7 @@ const spe = /* @__PURE__ */ de({
26952
26952
  subItemId: void 0
26953
26953
  });
26954
26954
  }
26955
- }), s = O(() => Object.values(at)), a = O({
26955
+ }), s = O(() => Object.values(lt)), a = O({
26956
26956
  get() {
26957
26957
  return n.rule.subItemId;
26958
26958
  },
@@ -26966,9 +26966,9 @@ const spe = /* @__PURE__ */ de({
26966
26966
  }), l = O(() => {
26967
26967
  var y;
26968
26968
  return !n.templateActivities || !n.templateMilestones || !n.templatePhases ? null : (y = {
26969
- [at.ACTIVITIES]: n.templateActivities,
26970
- [at.MILESTONES]: n.templateMilestones,
26971
- [at.PHASES]: n.templatePhases
26969
+ [lt.ACTIVITIES]: n.templateActivities,
26970
+ [lt.MILESTONES]: n.templateMilestones,
26971
+ [lt.PHASES]: n.templatePhases
26972
26972
  }[o.value]) == null ? void 0 : y.map((C) => ({
26973
26973
  value: C.id,
26974
26974
  label: C.name
@@ -27078,7 +27078,7 @@ const ape = { class: "ao-template-rules__body" }, lpe = { class: "ao-template-ru
27078
27078
  default: fe(() => [
27079
27079
  k("div", ape, [
27080
27080
  k("ul", lpe, [
27081
- (x(!0), D(Ve, null, pt(t.rules, (a) => (x(), Y(spe, {
27081
+ (x(!0), D(je, null, pt(t.rules, (a) => (x(), Y(spe, {
27082
27082
  key: a.id,
27083
27083
  rule: a,
27084
27084
  "template-phases": t.templatePhases,
@@ -27200,7 +27200,7 @@ const upe = {
27200
27200
  n
27201
27201
  );
27202
27202
  s.value = !0, o("addItem", {
27203
- type: at.PHASES,
27203
+ type: lt.PHASES,
27204
27204
  templateId: r.templateId,
27205
27205
  item: {
27206
27206
  name: z,
@@ -27211,12 +27211,12 @@ const upe = {
27211
27211
  o("updateItem", {
27212
27212
  templateId: r.templateId,
27213
27213
  id: r.templateId,
27214
- itemType: at.TEMPLATES,
27214
+ itemType: lt.TEMPLATES,
27215
27215
  data: { name: z }
27216
27216
  });
27217
27217
  }, m = (z) => {
27218
27218
  o("removeItem", {
27219
- itemType: at.PHASES,
27219
+ itemType: lt.PHASES,
27220
27220
  templateId: r.templateId,
27221
27221
  data: {
27222
27222
  id: z
@@ -27226,7 +27226,7 @@ const upe = {
27226
27226
  o("updateItem", {
27227
27227
  templateId: r.templateId,
27228
27228
  id: z,
27229
- itemType: at.PHASES,
27229
+ itemType: lt.PHASES,
27230
27230
  data: { name: G }
27231
27231
  });
27232
27232
  }, _ = (z) => {
@@ -27240,7 +27240,7 @@ const upe = {
27240
27240
  n
27241
27241
  );
27242
27242
  s.value = !0, o("addItem", {
27243
- type: at.MILESTONES,
27243
+ type: lt.MILESTONES,
27244
27244
  templateId: r.templateId,
27245
27245
  phaseId: z.phaseId,
27246
27246
  item: {
@@ -27251,7 +27251,7 @@ const upe = {
27251
27251
  });
27252
27252
  }, y = (z) => {
27253
27253
  o("removeItem", {
27254
- itemType: at.MILESTONES,
27254
+ itemType: lt.MILESTONES,
27255
27255
  templateId: r.templateId,
27256
27256
  phaseId: z.phaseId,
27257
27257
  data: {
@@ -27261,7 +27261,7 @@ const upe = {
27261
27261
  }, C = (z) => {
27262
27262
  const { id: G, ...V } = z;
27263
27263
  o("updateItem", {
27264
- itemType: at.MILESTONES,
27264
+ itemType: lt.MILESTONES,
27265
27265
  id: G,
27266
27266
  templateId: r.templateId,
27267
27267
  data: V
@@ -27276,7 +27276,7 @@ const upe = {
27276
27276
  n
27277
27277
  );
27278
27278
  s.value = !0, o("addItem", {
27279
- type: at.ACTIVITIES,
27279
+ type: lt.ACTIVITIES,
27280
27280
  milestoneId: G,
27281
27281
  templateId: r.templateId,
27282
27282
  item: { name: V, rank: ae, milestoneId: G }
@@ -27284,7 +27284,7 @@ const upe = {
27284
27284
  }, b = (z) => {
27285
27285
  var G, V;
27286
27286
  o("removeItem", {
27287
- itemType: at.ACTIVITIES,
27287
+ itemType: lt.ACTIVITIES,
27288
27288
  templateId: r.templateId,
27289
27289
  phaseId: (G = a.value) == null ? void 0 : G.id,
27290
27290
  milestoneId: (V = l.value) == null ? void 0 : V.id,
@@ -27295,7 +27295,7 @@ const upe = {
27295
27295
  }, S = (z) => {
27296
27296
  const { id: G, ...V } = z;
27297
27297
  o("updateItem", {
27298
- itemType: at.ACTIVITIES,
27298
+ itemType: lt.ACTIVITIES,
27299
27299
  id: G,
27300
27300
  templateId: r.templateId,
27301
27301
  data: V
@@ -27311,7 +27311,7 @@ const upe = {
27311
27311
  if (z.moved) {
27312
27312
  const V = Os(z, ((G = i.value) == null ? void 0 : G.phases) ?? []);
27313
27313
  o("updateItem", {
27314
- itemType: at.PHASES,
27314
+ itemType: lt.PHASES,
27315
27315
  id: z.moved.element.id,
27316
27316
  templateId: r.templateId,
27317
27317
  data: {
@@ -27321,7 +27321,7 @@ const upe = {
27321
27321
  }
27322
27322
  }, L = (z) => {
27323
27323
  !a.value || !l.value || !d.value || o("addItem", {
27324
- type: at.TASKS,
27324
+ type: lt.TASKS,
27325
27325
  activityId: z.activityId,
27326
27326
  milestoneId: l.value.id,
27327
27327
  phaseId: a.value.id,
@@ -27330,14 +27330,14 @@ const upe = {
27330
27330
  });
27331
27331
  }, I = (z) => {
27332
27332
  !a.value || !l.value || !d.value || o("updateItem", {
27333
- itemType: at.TASKS,
27333
+ itemType: lt.TASKS,
27334
27334
  id: z.id,
27335
27335
  templateId: r.templateId,
27336
27336
  data: z
27337
27337
  });
27338
27338
  }, U = (z) => {
27339
27339
  !a.value || !l.value || !d.value || o("removeItem", {
27340
- itemType: at.TASKS,
27340
+ itemType: lt.TASKS,
27341
27341
  activityId: d.value.id,
27342
27342
  milestoneId: l.value.id,
27343
27343
  phaseId: a.value.id,
@@ -27549,7 +27549,7 @@ const Zl = /* @__PURE__ */ de({
27549
27549
  class: be(["ao-progress", t.status ? `ao-progress--${t.status}` : ""]),
27550
27550
  role: "meter"
27551
27551
  }, [
27552
- (x(!0), D(Ve, null, pt(n.value, (i) => (x(), D("div", {
27552
+ (x(!0), D(je, null, pt(n.value, (i) => (x(), D("div", {
27553
27553
  key: i,
27554
27554
  class: be(["ao-progress__progress"]),
27555
27555
  style: Xn({
@@ -28157,7 +28157,7 @@ function qpe(t, e, n, r, o, i) {
28157
28157
  return x(), Y("div", null, [
28158
28158
  N("ul", Bpe, [
28159
28159
  (x(!0), Y(
28160
- Ve,
28160
+ je,
28161
28161
  null,
28162
28162
  pt(t.colorsDefault, (s) => (x(), Y("li", {
28163
28163
  key: s,
@@ -28191,7 +28191,7 @@ function qpe(t, e, n, r, o, i) {
28191
28191
  ]),
28192
28192
  t.colorsHistory.length ? (x(), Y("ul", Upe, [
28193
28193
  (x(!0), Y(
28194
- Ve,
28194
+ je,
28195
28195
  null,
28196
28196
  pt(t.colorsHistory, (s) => (x(), Y("li", {
28197
28197
  key: s,
@@ -28816,7 +28816,7 @@ const nhe = { class: "ao-card-project-milestone__default" }, rhe = { class: "ao-
28816
28816
  ]),
28817
28817
  k("div", ahe, [
28818
28818
  k("div", lhe, [
28819
- l.value ? (x(), D(Ve, { key: 0 }, [
28819
+ l.value ? (x(), D(je, { key: 0 }, [
28820
28820
  k("div", che, [
28821
28821
  N(Ne, {
28822
28822
  name: "SelectCheckBox",
@@ -29192,7 +29192,7 @@ const The = { class: "ao-project-phase" }, Ehe = {
29192
29192
  "estimation-unit": t.estimationUnit,
29193
29193
  class: be(["ao-project-phase__milestone"]),
29194
29194
  onClick: (T) => !t.readonly && w.$router.push({
29195
- name: ve(Xe).milestone,
29195
+ name: ve(Qe).milestone,
29196
29196
  params: { phaseId: t.phase.id, milestoneId: S.id }
29197
29197
  }),
29198
29198
  onUpdateMilestone: d,
@@ -29400,7 +29400,7 @@ const qhe = { class: "ao-save-template-modal__form-body" }, Hhe = { class: "fiel
29400
29400
  k("div", jhe, [
29401
29401
  k("div", Whe, ne(a.$t("project.template.phases.label")), 1),
29402
29402
  k("div", Zhe, [
29403
- (x(!0), D(Ve, null, pt(n.phases, (c) => (x(), D("label", {
29403
+ (x(!0), D(je, null, pt(n.phases, (c) => (x(), D("label", {
29404
29404
  key: c.id,
29405
29405
  class: "ao-field ao-field--checkbox"
29406
29406
  }, [
@@ -29514,11 +29514,11 @@ const Yhe = { class: "ao-project" }, Jhe = { class: "ao-project__body" }, Xhe =
29514
29514
  { label: "Mapping", value: "mapping" }
29515
29515
  ];
29516
29516
  return Pe(z, (V) => {
29517
- V === "feed" ? (J.push({ name: Xe.feed }), console.log("Navigating to feed...")) : V === "dev" ? (J.push({ name: Xe.dev }), console.log("Navigating to dev...")) : V === "overview" ? (J.push({ name: Xe.project }), console.log("Navigating to feed...")) : V === "mapping" && (J.push({ name: Xe.mapping }), console.log("Navigating to feed..."));
29517
+ V === "feed" ? (J.push({ name: Qe.feed }), console.log("Navigating to feed...")) : V === "dev" ? (J.push({ name: Qe.dev }), console.log("Navigating to dev...")) : V === "overview" ? (J.push({ name: Qe.project }), console.log("Navigating to feed...")) : V === "mapping" && (J.push({ name: Qe.mapping }), console.log("Navigating to feed..."));
29518
29518
  }), (V, ae) => {
29519
29519
  var De;
29520
29520
  const le = $r("RouterView");
29521
- return x(), D(Ve, null, [
29521
+ return x(), D(je, null, [
29522
29522
  k("div", Ht({ class: "ao-project-overview" }, V.$attrs), [
29523
29523
  k("div", Yhe, [
29524
29524
  N(Is, null, {
@@ -29599,7 +29599,7 @@ const Yhe = { class: "ao-project" }, Jhe = { class: "ao-project__body" }, Xhe =
29599
29599
  "is-editable": t.isEditable === !0,
29600
29600
  "closed-status": t.closedStatus,
29601
29601
  "time-tracking-data": t.timeTrackingData,
29602
- onClose: ae[4] || (ae[4] = (ge) => V.$router.push({ name: ve(Xe).project })),
29602
+ onClose: ae[4] || (ae[4] = (ge) => V.$router.push({ name: ve(Qe).project })),
29603
29603
  onUpdateMilestone: p,
29604
29604
  onAddActivity: v,
29605
29605
  onUpdateActivity: _,
@@ -29802,7 +29802,7 @@ const Qhe = { class: "ao-card-feed__header" }, eme = {
29802
29802
  k("div", lme, [
29803
29803
  k("div", cme, [
29804
29804
  k("ul", ume, [
29805
- (x(!0), D(Ve, null, pt(l.value, (_) => (x(), D(Ve, {
29805
+ (x(!0), D(je, null, pt(l.value, (_) => (x(), D(je, {
29806
29806
  key: _.id
29807
29807
  }, [
29808
29808
  _ ? (x(), D("li", dme, [
@@ -30129,7 +30129,7 @@ const wme = { class: "ao-project-milestone" }, kme = { class: "ao-project-milest
30129
30129
  "is-private": T.private,
30130
30130
  "is-closed": _(T),
30131
30131
  onClick: (U) => b.$router.push({
30132
- name: ve(Xe).activity,
30132
+ name: ve(Qe).activity,
30133
30133
  params: { milestoneId: t.milestoneId, activityId: T.id }
30134
30134
  }),
30135
30135
  onUpdateActivity: p,
@@ -30676,17 +30676,17 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30676
30676
  Pe(
30677
30677
  [() => a.value, () => l.value, () => r.initialActivityId, () => r.initialActivitySlug, () => r.feedMode],
30678
30678
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
30679
- async ([Z, ce, Ke, _e], [ct, Ie]) => {
30680
- const Je = r.feedMode === "dev" ? "devStatus" : "status";
30679
+ async ([Z, ce, Ge, _e], [ut, Ie]) => {
30680
+ const ze = r.feedMode === "dev" ? "devStatus" : "status";
30681
30681
  u.value = Object.fromEntries(
30682
- Z.map((Qe) => [
30683
- Qe.id,
30684
- ce.filter((ze) => {
30685
- const st = ze[Je];
30686
- return (st == null ? void 0 : st.id) === Qe.id;
30682
+ Z.map((et) => [
30683
+ et.id,
30684
+ ce.filter((Fe) => {
30685
+ const Ye = Fe[ze];
30686
+ return (Ye == null ? void 0 : Ye.id) === et.id;
30687
30687
  })
30688
30688
  ])
30689
- ), Ke && !d.value ? (c(Ke, null), d.value = !0) : _e && !d.value && (c(null, _e), d.value = !0), f.value && gr(ce, Ie);
30689
+ ), Ge && !d.value ? (c(Ge, null), d.value = !0) : _e && !d.value && (c(null, _e), d.value = !0), f.value && gr(ce, Ie);
30690
30690
  },
30691
30691
  { immediate: !0 }
30692
30692
  );
@@ -30694,24 +30694,32 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30694
30694
  var Z;
30695
30695
  return !r.selectedActivity || !r.selectedActivity.milestone ? "" : `${((Z = r.selectedActivity.milestone.phase) == null ? void 0 : Z.name) ?? ""} / ${r.selectedActivity.milestone.name ?? ""}`;
30696
30696
  }), m = (Z) => {
30697
- var Qe;
30698
- const ce = r.feedMode === "dev" ? r.activities.filter((ze) => ze.activityType === "dev") : r.activities, Ke = ce == null ? void 0 : ce.at(-1), _e = Ke ? St.LexoRank.parse(Ke.rank).genNext() : St.LexoRank.middle(), ct = ((Qe = r.activities) == null ? void 0 : Qe.length) ?? 0, Ie = r.feedMode === "dev", Je = {
30699
- name: n("activity.defaultName", { idx: ct + 1 }),
30697
+ var et;
30698
+ const ce = r.feedMode === "dev" ? r.activities.filter((Fe) => Fe.activityType === "dev") : r.activities, Ge = ce == null ? void 0 : ce.at(-1), _e = Ge ? St.LexoRank.parse(Ge.rank).genNext() : St.LexoRank.middle(), ut = ((et = r.activities) == null ? void 0 : et.length) ?? 0, Ie = r.feedMode === "dev", ze = {
30699
+ name: n("activity.defaultName", { idx: ut + 1 }),
30700
30700
  rank: _e.format(),
30701
30701
  ...Ie ? { statusDevId: Z.id, type: "dev" } : { statusId: Z.id }
30702
30702
  };
30703
- r.filters.assigneeId.length > 0 && (Je.assigneeId = r.filters.assigneeId[0]), r.filters.projectId.length > 0 && (Je.projectId = r.filters.projectId[0]), f.value = !0, o("addActivity", Je);
30703
+ if (r.filters.assigneeId.length > 0 && (ze.assigneeId = r.filters.assigneeId[0]), r.filters.projectId.length > 0 && (ze.projectId = r.filters.projectId[0]), r.filters.sprintId && r.filters.sprintId.length === 1) {
30704
+ const Fe = r.sprints.find((Ye) => Ye.id === r.filters.sprintId[0]);
30705
+ Fe && (ze.sprintId = Fe.id, ze.projectId = Fe.projectId);
30706
+ }
30707
+ f.value = !0, o("addActivity", ze);
30704
30708
  }, v = (Z) => {
30705
- var Qe, ze;
30706
- const ce = r.feedMode === "dev" ? "devStatus" : "status", Ke = ((Qe = r.activities) == null ? void 0 : Qe.filter((st) => {
30707
- const dt = st[ce];
30708
- return (dt == null ? void 0 : dt.id) === Z.id;
30709
- })) ?? [], _e = Ls(Ke), ct = ((ze = r.activities) == null ? void 0 : ze.length) ?? 0, Ie = r.feedMode === "dev", Je = {
30710
- name: n("activity.defaultName", { idx: ct + 1 }),
30709
+ var et, Fe;
30710
+ const ce = r.feedMode === "dev" ? "devStatus" : "status", Ge = ((et = r.activities) == null ? void 0 : et.filter((Ye) => {
30711
+ const at = Ye[ce];
30712
+ return (at == null ? void 0 : at.id) === Z.id;
30713
+ })) ?? [], _e = Ls(Ge), ut = ((Fe = r.activities) == null ? void 0 : Fe.length) ?? 0, Ie = r.feedMode === "dev", ze = {
30714
+ name: n("activity.defaultName", { idx: ut + 1 }),
30711
30715
  rank: _e,
30712
30716
  ...Ie ? { statusDevId: Z.id, type: "dev" } : { statusId: Z.id }
30713
30717
  };
30714
- r.filters.assigneeId.length > 0 && (Je.assigneeId = r.filters.assigneeId[0]), r.filters.projectId.length > 0 && (Je.projectId = r.filters.projectId[0]), f.value = !0, o("addActivity", Je);
30718
+ if (r.filters.assigneeId.length > 0 && (ze.assigneeId = r.filters.assigneeId[0]), r.filters.projectId.length > 0 && (ze.projectId = r.filters.projectId[0]), r.filters.sprintId && r.filters.sprintId.length === 1) {
30719
+ const Ye = r.sprints.find((at) => at.id === r.filters.sprintId[0]);
30720
+ Ye && (ze.sprintId = Ye.id, ze.projectId = Ye.projectId);
30721
+ }
30722
+ f.value = !0, o("addActivity", ze);
30715
30723
  }, _ = (Z, ce) => {
30716
30724
  f.value = !1, o("update:filters", { ...r.filters, [Z]: ce });
30717
30725
  }, g = O(
@@ -30780,7 +30788,7 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30780
30788
  Pe(
30781
30789
  () => le.name,
30782
30790
  (Z) => {
30783
- Z === Zo.feed || Z === "ActivityFeed" || Z === "ActivityFeedWithActivity" ? De.value = "feed" : Z === Zo.dev || Z === "ActivityFeedDev" || Z === "ActivityFeedDevWithActivity" ? De.value = "dev" : Z === Xe.feed ? De.value = "feed" : Z === Xe.dev ? De.value = "dev" : Z === Xe.project ? De.value = "overview" : Z === Xe.mapping && (De.value = "mapping");
30791
+ Z === Zo.feed || Z === "ActivityFeed" || Z === "ActivityFeedWithActivity" ? De.value = "feed" : Z === Zo.dev || Z === "ActivityFeedDev" || Z === "ActivityFeedDevWithActivity" ? De.value = "dev" : Z === Qe.feed ? De.value = "feed" : Z === Qe.dev ? De.value = "dev" : Z === Qe.project ? De.value = "overview" : Z === Qe.mapping && (De.value = "mapping");
30784
30792
  },
30785
30793
  { immediate: !0 }
30786
30794
  );
@@ -30789,11 +30797,11 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30789
30797
  { label: "Feed", value: "feed" },
30790
30798
  { label: "Dev", value: "dev" },
30791
30799
  { label: "Mapping", value: "mapping" }
30792
- ], ye = O(() => W.value ? ge.filter((Z) => Z.value === "feed" || Z.value === "dev") : ge), W = O(() => !r.project && le.name && (le.name === Zo.feed || le.name === Zo.dev || le.name === "ActivityFeed" || le.name === "ActivityFeedDev" || le.name === "ActivityFeedWithActivity" || le.name === "ActivityFeedDevWithActivity")), he = O(() => W.value ? Zo.feed : Xe.feed), Oe = O(() => W.value ? Zo.dev : Xe.dev), Ze = O(() => Xe.project), bt = O(() => Xe.mapping);
30800
+ ], ye = O(() => W.value ? ge.filter((Z) => Z.value === "feed" || Z.value === "dev") : ge), W = O(() => !r.project && le.name && (le.name === Zo.feed || le.name === Zo.dev || le.name === "ActivityFeed" || le.name === "ActivityFeedDev" || le.name === "ActivityFeedWithActivity" || le.name === "ActivityFeedDevWithActivity")), he = O(() => W.value ? Zo.feed : Qe.feed), Oe = O(() => W.value ? Zo.dev : Qe.dev), Ke = O(() => Qe.project), bt = O(() => Qe.mapping);
30793
30801
  return Pe(De, (Z) => {
30794
- Z === "feed" ? ae.push({ name: he.value }) : Z === "dev" ? ae.push({ name: Oe.value }) : Z === "overview" ? ae.push({ name: Ze.value }) : Z === "mapping" && ae.push({ name: bt.value });
30802
+ Z === "feed" ? ae.push({ name: he.value }) : Z === "dev" ? ae.push({ name: Oe.value }) : Z === "overview" ? ae.push({ name: Ke.value }) : Z === "mapping" && ae.push({ name: bt.value });
30795
30803
  }), (Z, ce) => {
30796
- var Ke;
30804
+ var Ge;
30797
30805
  return x(), D("div", l0e, [
30798
30806
  N(Is, null, {
30799
30807
  primary: fe(() => [
@@ -30821,17 +30829,18 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30821
30829
  placeholder: Z.$t("feed.filters.project.placeholder"),
30822
30830
  "onUpdate:modelValue": ce[1] || (ce[1] = (_e) => _(ve(Uo).project, _e))
30823
30831
  }, null, 8, ["model-value", "options", "placeholder"])),
30824
- C.value.length ? (x(), Y(Kt, {
30832
+ t.feedMode === "dev" ? (x(), Y(Kt, {
30825
30833
  key: 1,
30826
30834
  "model-value": t.filters[ve(Uo).sprint],
30827
30835
  mode: "tags",
30828
30836
  options: C.value,
30829
30837
  "close-on-select": !1,
30830
30838
  searchable: !0,
30839
+ disabled: !C.value.length,
30831
30840
  class: "ao-feed__filter ao-feed__filter__sprints",
30832
30841
  placeholder: Z.$t("feed.filters.sprint.placeholder"),
30833
30842
  "onUpdate:modelValue": ce[2] || (ce[2] = (_e) => _(ve(Uo).sprint, _e))
30834
- }, null, 8, ["model-value", "options", "placeholder"])) : R("", !0),
30843
+ }, null, 8, ["model-value", "options", "disabled", "placeholder"])) : R("", !0),
30835
30844
  w.value.length ? (x(), Y(Kt, {
30836
30845
  key: 2,
30837
30846
  "model-value": t.filters[ve(Uo).assignee],
@@ -30845,13 +30854,13 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30845
30854
  }, {
30846
30855
  tag: fe(({
30847
30856
  option: _e,
30848
- handleTagRemove: ct
30857
+ handleTagRemove: ut
30849
30858
  }) => [
30850
30859
  N(Wr, {
30851
30860
  "user-name": _e.label,
30852
30861
  "avatar-url": _e.avatar,
30853
30862
  "is-closable": !0,
30854
- onClose: (Ie) => ct(_e, Ie)
30863
+ onClose: (Ie) => ut(_e, Ie)
30855
30864
  }, null, 8, ["user-name", "avatar-url", "onClose"])
30856
30865
  ]),
30857
30866
  _: 1
@@ -30897,7 +30906,7 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30897
30906
  _: 1
30898
30907
  }),
30899
30908
  k("div", u0e, [
30900
- (x(!0), D(Ve, null, pt(a.value, (_e) => (x(), Y(o0e, {
30909
+ (x(!0), D(je, null, pt(a.value, (_e) => (x(), Y(o0e, {
30901
30910
  key: _e.id,
30902
30911
  status: _e,
30903
30912
  list: u.value[_e.id],
@@ -30924,7 +30933,7 @@ const l0e = { class: "ao-feed" }, c0e = { class: "ao-feed__filters" }, u0e = { c
30924
30933
  activity: t.selectedActivity,
30925
30934
  "activity-types": t.activityTypes,
30926
30935
  "dev-statuses": t.devStatuses,
30927
- "milestone-id": (Ke = t.selectedActivity.milestone) == null ? void 0 : Ke.id,
30936
+ "milestone-id": (Ge = t.selectedActivity.milestone) == null ? void 0 : Ge.id,
30928
30937
  "template-activities": s.value,
30929
30938
  users: t.users,
30930
30939
  "user-id": t.userId,
@@ -31008,10 +31017,10 @@ const d0e = { class: "ao-project-mapping" }, f0e = { class: "ao-project-mapping-
31008
31017
  { label: "Mapping", value: "mapping" }
31009
31018
  ];
31010
31019
  return Pe(v, (g) => {
31011
- g === "feed" ? (m.push({ name: Xe.feed }), console.log("Navigating to feed...")) : g === "dev" ? (m.push({ name: Xe.dev }), console.log("Navigating to dev...")) : g === "overview" ? (m.push({ name: Xe.project }), console.log("Navigating to feed...")) : g === "mapping" && (m.push({ name: Xe.mapping }), console.log("Navigating to feed..."));
31020
+ g === "feed" ? (m.push({ name: Qe.feed }), console.log("Navigating to feed...")) : g === "dev" ? (m.push({ name: Qe.dev }), console.log("Navigating to dev...")) : g === "overview" ? (m.push({ name: Qe.project }), console.log("Navigating to feed...")) : g === "mapping" && (m.push({ name: Qe.mapping }), console.log("Navigating to feed..."));
31012
31021
  }), (g, y) => {
31013
31022
  var C;
31014
- return x(), D(Ve, null, [
31023
+ return x(), D(je, null, [
31015
31024
  k("div", Ht({ class: "ao-project-mapping-overview" }, g.$attrs), [
31016
31025
  k("div", d0e, [
31017
31026
  N(Is, null, {
@@ -31131,7 +31140,7 @@ const Xo = {
31131
31140
  }
31132
31141
  ]
31133
31142
  }
31134
- ], Xe = {
31143
+ ], Qe = {
31135
31144
  project: "AoProject",
31136
31145
  feed: "AoProjectFeed",
31137
31146
  dev: "AoProjectDev",
@@ -31145,23 +31154,23 @@ const Xo = {
31145
31154
  {
31146
31155
  path: t,
31147
31156
  ...e,
31148
- redirect: { name: Xe.project },
31157
+ redirect: { name: Qe.project },
31149
31158
  children: [
31150
31159
  {
31151
31160
  path: "",
31152
- name: Xe.project,
31161
+ name: Qe.project,
31153
31162
  component: Xhe,
31154
31163
  props: !0,
31155
31164
  children: [
31156
31165
  {
31157
31166
  path: ":phaseId/:milestoneId",
31158
- name: Xe.milestone,
31167
+ name: Qe.milestone,
31159
31168
  component: Kp,
31160
31169
  props: !0
31161
31170
  },
31162
31171
  {
31163
31172
  path: ":phaseId/:milestoneId/:activityId",
31164
- name: Xe.activity,
31173
+ name: Qe.activity,
31165
31174
  props: { default: !0, modal: !0 },
31166
31175
  components: {
31167
31176
  default: Kp,
@@ -31172,7 +31181,7 @@ const Xo = {
31172
31181
  },
31173
31182
  {
31174
31183
  path: "feed",
31175
- name: Xe.feed,
31184
+ name: Qe.feed,
31176
31185
  component: Gp,
31177
31186
  props: (n) => ({
31178
31187
  ...n.params,
@@ -31181,7 +31190,7 @@ const Xo = {
31181
31190
  },
31182
31191
  {
31183
31192
  path: "dev",
31184
- name: Xe.dev,
31193
+ name: Qe.dev,
31185
31194
  component: Gp,
31186
31195
  props: (n) => ({
31187
31196
  ...n.params,
@@ -31190,7 +31199,7 @@ const Xo = {
31190
31199
  },
31191
31200
  {
31192
31201
  path: "mapping",
31193
- name: Xe.mapping,
31202
+ name: Qe.mapping,
31194
31203
  component: g0e,
31195
31204
  props: !0
31196
31205
  }
@@ -31216,7 +31225,7 @@ const Xo = {
31216
31225
  o("addTemplate", f);
31217
31226
  }, s = (c, u) => {
31218
31227
  o("updateItem", {
31219
- itemType: at.TEMPLATES,
31228
+ itemType: lt.TEMPLATES,
31220
31229
  id: c,
31221
31230
  templateId: c,
31222
31231
  data: {
@@ -31225,7 +31234,7 @@ const Xo = {
31225
31234
  });
31226
31235
  }, a = (c, u) => {
31227
31236
  o("removeItem", {
31228
- itemType: at.TEMPLATES,
31237
+ itemType: lt.TEMPLATES,
31229
31238
  templateId: c,
31230
31239
  data: {
31231
31240
  id: c,
@@ -31236,7 +31245,7 @@ const Xo = {
31236
31245
  if (c.moved) {
31237
31246
  const u = Os(c, r.templates ?? []);
31238
31247
  o("updateItem", {
31239
- itemType: at.TEMPLATES,
31248
+ itemType: lt.TEMPLATES,
31240
31249
  id: c.moved.element.id,
31241
31250
  templateId: c.moved.element.id,
31242
31251
  data: {
@@ -31388,10 +31397,10 @@ export {
31388
31397
  P0e as getTemplateRoutes,
31389
31398
  O0e as listUpdateTypes,
31390
31399
  Ea as milestoneStatus,
31391
- Xe as projectOverviewRoutes,
31400
+ Qe as projectOverviewRoutes,
31392
31401
  h7 as ruleComparators,
31393
31402
  g7 as ruleDurationUnits,
31394
31403
  m7 as ruleTriggerTypes,
31395
- at as templateItemType,
31404
+ lt as templateItemType,
31396
31405
  Xo as templateRouteNames
31397
31406
  };