@26lights/orcha 0.42.151 → 0.42.152
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.cjs.js +1 -1
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +244 -245
- package/dist/orcha.umd.js +2 -2
- package/package.json +1 -1
package/dist/orcha.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var D0 = Object.defineProperty;
|
|
2
2
|
var $0 = (t, e, n) => e in t ? D0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Y = (t, e, n) => ($0(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as ce, openBlock as x, createBlock as J, unref as ie, mergeProps as Vt, createElementBlock as M, createElementVNode as C, createStaticVNode as M0, computed as L, resolveDynamicComponent as
|
|
4
|
+
import { defineComponent as ce, openBlock as x, createBlock as J, unref as ie, mergeProps as Vt, createElementBlock as M, createElementVNode as C, createStaticVNode as M0, computed as L, resolveDynamicComponent as Oo, normalizeClass as ve, renderSlot as we, toDisplayString as K, createCommentVNode as F, ref as re, watch as Be, nextTick as un, withKeys as li, toHandlers as O0, withCtx as de, createTextVNode as Qo, createVNode as P, normalizeStyle as Jt, withModifiers as Ee, createSlots as Ds, Fragment as Pe, renderList as lt, onMounted as Ut, onBeforeUnmount as Ou, onUnmounted as En, Teleport as _r, toRefs as gn, getCurrentInstance as Lo, toRef as ei, normalizeProps as $s, guardReactiveProps as Ms, withDirectives as rt, vShow as is, provide as L0, inject as I0, useTemplateRef as N0, readonly as P0, toValue as tc, watchEffect as Xp, shallowRef as Da, h as F0, vModelText as $t, resolveComponent as Mr, vModelCheckbox as Qp, getCurrentScope as R0, onScopeDispose as B0, toHandlerKey as U0 } from "vue";
|
|
5
5
|
import { RouterView as q0, useRoute as eh, useRouter as Lu } from "vue-router";
|
|
6
6
|
import Wr from "vuedraggable";
|
|
7
7
|
const F0e = /* @__PURE__ */ ce({
|
|
@@ -1191,7 +1191,7 @@ const th = {
|
|
|
1191
1191
|
},
|
|
1192
1192
|
setup(t) {
|
|
1193
1193
|
const e = t, n = L(() => X_[e.name]);
|
|
1194
|
-
return (r, o) => (x(), J(
|
|
1194
|
+
return (r, o) => (x(), J(Oo(n.value), {
|
|
1195
1195
|
class: ve(["ao-icon", `ao-icon--${t.size}`])
|
|
1196
1196
|
}, null, 8, ["class"]));
|
|
1197
1197
|
}
|
|
@@ -1303,7 +1303,7 @@ const Bt = /* @__PURE__ */ ce({
|
|
|
1303
1303
|
(_) => {
|
|
1304
1304
|
_ || f();
|
|
1305
1305
|
}
|
|
1306
|
-
), (_, y) => (x(), J(
|
|
1306
|
+
), (_, y) => (x(), J(Oo(c.value), Vt({
|
|
1307
1307
|
id: t.id,
|
|
1308
1308
|
ref_key: "target",
|
|
1309
1309
|
ref: n,
|
|
@@ -1325,7 +1325,7 @@ const Bt = /* @__PURE__ */ ce({
|
|
|
1325
1325
|
onKeydown: li(ie(f), ["esc"])
|
|
1326
1326
|
}), {
|
|
1327
1327
|
default: de(() => [
|
|
1328
|
-
|
|
1328
|
+
Qo(K(t.title), 1)
|
|
1329
1329
|
]),
|
|
1330
1330
|
_: 1
|
|
1331
1331
|
}, 16, ["id", "class", "type", "value", "onKeydown"]));
|
|
@@ -1369,7 +1369,7 @@ const iy = {
|
|
|
1369
1369
|
const n = e, r = (o) => {
|
|
1370
1370
|
n("update:title", o);
|
|
1371
1371
|
};
|
|
1372
|
-
return (o, i) => (x(), J(
|
|
1372
|
+
return (o, i) => (x(), J(Oo(t.tagName), {
|
|
1373
1373
|
class: ve(["ao-card-horiz", { "ao-card-horiz--active": t.isActive }])
|
|
1374
1374
|
}, {
|
|
1375
1375
|
default: de(() => [
|
|
@@ -1444,11 +1444,11 @@ const hs = /* @__PURE__ */ ce({
|
|
|
1444
1444
|
]),
|
|
1445
1445
|
style: Jt(t.rawColor ? { "--ao-tag-bg": t.rawColor } : {})
|
|
1446
1446
|
}, [
|
|
1447
|
-
(x(), J(
|
|
1447
|
+
(x(), J(Oo(n.value), Vt({ class: "ao-tag__label" }, r.value, {
|
|
1448
1448
|
onClick: i[0] || (i[0] = (s) => o.$emit("click", s))
|
|
1449
1449
|
}), {
|
|
1450
1450
|
default: de(() => [
|
|
1451
|
-
|
|
1451
|
+
Qo(K(t.label) + " ", 1),
|
|
1452
1452
|
t.variant === ie(ty).SOLID_ICON && t.iconName ? (x(), J(Ne, {
|
|
1453
1453
|
key: 0,
|
|
1454
1454
|
name: t.iconName,
|
|
@@ -1712,7 +1712,7 @@ var Ly = {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
};
|
|
1714
1714
|
const Dr = Ly;
|
|
1715
|
-
var
|
|
1715
|
+
var qo = {
|
|
1716
1716
|
am: "am",
|
|
1717
1717
|
pm: "pm",
|
|
1718
1718
|
midnight: "midnight",
|
|
@@ -2093,7 +2093,7 @@ var zo = {
|
|
|
2093
2093
|
// AM, PM, midnight, noon
|
|
2094
2094
|
b: function(e, n, r) {
|
|
2095
2095
|
var o = e.getUTCHours(), i;
|
|
2096
|
-
switch (o === 12 ? i =
|
|
2096
|
+
switch (o === 12 ? i = qo.noon : o === 0 ? i = qo.midnight : i = o / 12 >= 1 ? "pm" : "am", n) {
|
|
2097
2097
|
case "b":
|
|
2098
2098
|
case "bb":
|
|
2099
2099
|
return r.dayPeriod(i, {
|
|
@@ -2121,7 +2121,7 @@ var zo = {
|
|
|
2121
2121
|
// in the morning, in the afternoon, in the evening, at night
|
|
2122
2122
|
B: function(e, n, r) {
|
|
2123
2123
|
var o = e.getUTCHours(), i;
|
|
2124
|
-
switch (o >= 17 ? i =
|
|
2124
|
+
switch (o >= 17 ? i = qo.evening : o >= 12 ? i = qo.afternoon : o >= 4 ? i = qo.morning : i = qo.night, n) {
|
|
2125
2125
|
case "B":
|
|
2126
2126
|
case "BB":
|
|
2127
2127
|
case "BBB":
|
|
@@ -4831,7 +4831,7 @@ function xh(t) {
|
|
|
4831
4831
|
function yC(t, e, n) {
|
|
4832
4832
|
return e === void 0 && (e = !1), !n || e && n !== dn(t) ? !1 : e;
|
|
4833
4833
|
}
|
|
4834
|
-
function
|
|
4834
|
+
function yo(t, e, n, r) {
|
|
4835
4835
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
4836
4836
|
const o = t.getBoundingClientRect(), i = Hu(t);
|
|
4837
4837
|
let s = qr(1);
|
|
@@ -4868,7 +4868,7 @@ function bC(t) {
|
|
|
4868
4868
|
}, a = qr(1);
|
|
4869
4869
|
const l = qr(0);
|
|
4870
4870
|
if ((o || !o && r !== "fixed") && ((zr(n) !== "body" || Rs(i)) && (s = vl(n)), Qn(n))) {
|
|
4871
|
-
const c =
|
|
4871
|
+
const c = yo(n);
|
|
4872
4872
|
a = ti(n), l.x = c.x + n.clientLeft, l.y = c.y + n.clientTop;
|
|
4873
4873
|
}
|
|
4874
4874
|
return {
|
|
@@ -4882,7 +4882,7 @@ function CC(t) {
|
|
|
4882
4882
|
return Array.from(t.getClientRects());
|
|
4883
4883
|
}
|
|
4884
4884
|
function Sh(t) {
|
|
4885
|
-
return
|
|
4885
|
+
return yo(xr(t)).left + vl(t).scrollLeft;
|
|
4886
4886
|
}
|
|
4887
4887
|
function wC(t) {
|
|
4888
4888
|
const e = xr(t), n = vl(t), r = t.ownerDocument.body, o = yn(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), i = yn(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
|
|
@@ -4911,7 +4911,7 @@ function kC(t, e) {
|
|
|
4911
4911
|
};
|
|
4912
4912
|
}
|
|
4913
4913
|
function xC(t, e) {
|
|
4914
|
-
const n =
|
|
4914
|
+
const n = yo(t, !0, e === "fixed"), r = n.top + t.clientTop, o = n.left + t.clientLeft, i = Qn(t) ? ti(t) : qr(1), s = t.clientWidth * i.x, a = t.clientHeight * i.y, l = o * i.x, c = r * i.y;
|
|
4915
4915
|
return {
|
|
4916
4916
|
width: s,
|
|
4917
4917
|
height: a,
|
|
@@ -4976,7 +4976,7 @@ function TC(t) {
|
|
|
4976
4976
|
return kh(t);
|
|
4977
4977
|
}
|
|
4978
4978
|
function EC(t, e, n) {
|
|
4979
|
-
const r = Qn(e), o = xr(e), i = n === "fixed", s =
|
|
4979
|
+
const r = Qn(e), o = xr(e), i = n === "fixed", s = yo(t, !0, i, e);
|
|
4980
4980
|
let a = {
|
|
4981
4981
|
scrollLeft: 0,
|
|
4982
4982
|
scrollTop: 0
|
|
@@ -4984,7 +4984,7 @@ function EC(t, e, n) {
|
|
|
4984
4984
|
const l = qr(0);
|
|
4985
4985
|
if (r || !r && !i)
|
|
4986
4986
|
if ((zr(e) !== "body" || Rs(o)) && (a = vl(e)), r) {
|
|
4987
|
-
const c =
|
|
4987
|
+
const c = yo(e, !0, i, e);
|
|
4988
4988
|
l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
|
|
4989
4989
|
} else
|
|
4990
4990
|
o && (l.x = Sh(o));
|
|
@@ -5105,10 +5105,10 @@ function LC(t, e, n, r) {
|
|
|
5105
5105
|
p && p.observe(e);
|
|
5106
5106
|
})), n();
|
|
5107
5107
|
}), c && !l && p.observe(c), p.observe(e));
|
|
5108
|
-
let h, m = l ?
|
|
5108
|
+
let h, m = l ? yo(t) : null;
|
|
5109
5109
|
l && _();
|
|
5110
5110
|
function _() {
|
|
5111
|
-
const y =
|
|
5111
|
+
const y = yo(t);
|
|
5112
5112
|
m && (y.x !== m.x || y.y !== m.y || y.width !== m.width || y.height !== m.height) && n(), m = y, h = requestAnimationFrame(_);
|
|
5113
5113
|
}
|
|
5114
5114
|
return n(), () => {
|
|
@@ -5199,7 +5199,7 @@ function jn(t) {
|
|
|
5199
5199
|
return [null, void 0].indexOf(t) !== -1;
|
|
5200
5200
|
}
|
|
5201
5201
|
function PC(t, e, n) {
|
|
5202
|
-
const { object: r, valueProp: o, mode: i } = gn(t), s =
|
|
5202
|
+
const { object: r, valueProp: o, mode: i } = gn(t), s = Lo().proxy, a = n.iv, l = (d, f = !0) => {
|
|
5203
5203
|
a.value = u(d);
|
|
5204
5204
|
const p = c(d);
|
|
5205
5205
|
e.emit("change", p, s), f && (e.emit("input", p), e.emit("update:modelValue", p));
|
|
@@ -5220,7 +5220,7 @@ function FC(t, e) {
|
|
|
5220
5220
|
};
|
|
5221
5221
|
}
|
|
5222
5222
|
function RC(t, e, n) {
|
|
5223
|
-
const { regex: r } = gn(t), o =
|
|
5223
|
+
const { regex: r } = gn(t), o = Lo().proxy, i = n.isOpen, s = n.open, a = re(null), l = () => {
|
|
5224
5224
|
a.value = "";
|
|
5225
5225
|
}, c = (f) => {
|
|
5226
5226
|
a.value = f.target.value;
|
|
@@ -5310,7 +5310,7 @@ function zC(t, e, n) {
|
|
|
5310
5310
|
disabledProp: _e,
|
|
5311
5311
|
searchStart: j,
|
|
5312
5312
|
searchFilter: ye
|
|
5313
|
-
} = gn(t), me =
|
|
5313
|
+
} = gn(t), me = Lo().proxy, ge = n.iv, W = n.ev, pe = n.search, Le = n.clearSearch, Ge = n.update, bt = n.pointer, Et = n.setPointer, H = n.clearPointer, be = n.focus, $e = n.deactivate, Te = n.close, Fe = n.localize, tt = re([]), We = re([]), ze = re(!1), Xe = re(null), Qe = re(z.value && s.value === -1 ? 10 : s.value), Dt = L(() => l.value || c.value || !1), ir = L(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), it = L(() => {
|
|
5314
5314
|
if (N.value) {
|
|
5315
5315
|
let R = en.value || /* istanbul ignore next */
|
|
5316
5316
|
[], oe = [];
|
|
@@ -5405,14 +5405,14 @@ function zC(t, e, n) {
|
|
|
5405
5405
|
break;
|
|
5406
5406
|
}
|
|
5407
5407
|
e.emit("deselect", nn(R), R, me);
|
|
5408
|
-
}, nn = (R) => h.value ? R : R[b.value],
|
|
5408
|
+
}, nn = (R) => h.value ? R : R[b.value], Fo = (R) => {
|
|
5409
5409
|
qt(R);
|
|
5410
5410
|
}, Ys = (R, oe) => {
|
|
5411
5411
|
if (oe.button !== 0) {
|
|
5412
5412
|
oe.preventDefault();
|
|
5413
5413
|
return;
|
|
5414
5414
|
}
|
|
5415
|
-
|
|
5415
|
+
Fo(R);
|
|
5416
5416
|
}, Oi = () => {
|
|
5417
5417
|
Ge(ar.value), e.emit("clear", me);
|
|
5418
5418
|
}, rn = (R) => {
|
|
@@ -5425,8 +5425,8 @@ function zC(t, e, n) {
|
|
|
5425
5425
|
case "multiple":
|
|
5426
5426
|
return !jn(ge.value) && ge.value.map((oe) => oe[b.value]).indexOf(R[b.value]) !== -1;
|
|
5427
5427
|
}
|
|
5428
|
-
},
|
|
5429
|
-
if (!
|
|
5428
|
+
}, Ro = (R) => R[_e.value] === !0, Ar = () => T === void 0 || T.value === -1 || !sr.value && T.value > 0 ? !1 : ge.value.length >= T.value, Bo = (R) => {
|
|
5429
|
+
if (!Ro(R)) {
|
|
5430
5430
|
if (le && le.value && !rn(R) && R.__CREATE__ && (R = { ...R }, delete R.__CREATE__, R = le.value(R, me), R instanceof Promise)) {
|
|
5431
5431
|
ze.value = !0, R.then((oe) => {
|
|
5432
5432
|
ze.value = !1, on(oe);
|
|
@@ -5469,7 +5469,7 @@ function zC(t, e, n) {
|
|
|
5469
5469
|
}
|
|
5470
5470
|
A.value || be();
|
|
5471
5471
|
}, Tr = (R) => {
|
|
5472
|
-
if (!(
|
|
5472
|
+
if (!(Ro(R) || o.value === "single" || !G.value)) {
|
|
5473
5473
|
switch (o.value) {
|
|
5474
5474
|
case "multiple":
|
|
5475
5475
|
case "tags":
|
|
@@ -5595,14 +5595,14 @@ function zC(t, e, n) {
|
|
|
5595
5595
|
offset: Qe,
|
|
5596
5596
|
select: tn,
|
|
5597
5597
|
deselect: qt,
|
|
5598
|
-
remove:
|
|
5598
|
+
remove: Fo,
|
|
5599
5599
|
selectAll: Li,
|
|
5600
5600
|
clear: Oi,
|
|
5601
5601
|
isSelected: rn,
|
|
5602
|
-
isDisabled:
|
|
5602
|
+
isDisabled: Ro,
|
|
5603
5603
|
isMax: Ar,
|
|
5604
5604
|
getOption: sn,
|
|
5605
|
-
handleOptionClick:
|
|
5605
|
+
handleOptionClick: Bo,
|
|
5606
5606
|
handleGroupClick: Tr,
|
|
5607
5607
|
handleTagRemove: Ys,
|
|
5608
5608
|
refreshOptions: Qs,
|
|
@@ -5708,7 +5708,7 @@ function fn(t) {
|
|
|
5708
5708
|
}
|
|
5709
5709
|
return t;
|
|
5710
5710
|
}
|
|
5711
|
-
function
|
|
5711
|
+
function bo(t) {
|
|
5712
5712
|
var e = fn(t).Element;
|
|
5713
5713
|
return t instanceof e || t instanceof Element;
|
|
5714
5714
|
}
|
|
@@ -5722,7 +5722,7 @@ function Vu(t) {
|
|
|
5722
5722
|
var e = fn(t).ShadowRoot;
|
|
5723
5723
|
return t instanceof e || t instanceof ShadowRoot;
|
|
5724
5724
|
}
|
|
5725
|
-
var
|
|
5725
|
+
var ho = Math.max, Fa = Math.min, pi = Math.round;
|
|
5726
5726
|
function Zc() {
|
|
5727
5727
|
var t = navigator.userAgentData;
|
|
5728
5728
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
@@ -5736,7 +5736,7 @@ function hi(t, e, n) {
|
|
|
5736
5736
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
5737
5737
|
var r = t.getBoundingClientRect(), o = 1, i = 1;
|
|
5738
5738
|
e && kn(t) && (o = t.offsetWidth > 0 && pi(r.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && pi(r.height) / t.offsetHeight || 1);
|
|
5739
|
-
var s =
|
|
5739
|
+
var s = bo(t) ? fn(t) : window, a = s.visualViewport, l = !Eh() && n, c = (r.left + (l && a ? a.offsetLeft : 0)) / o, u = (r.top + (l && a ? a.offsetTop : 0)) / i, d = r.width / o, f = r.height / i;
|
|
5740
5740
|
return {
|
|
5741
5741
|
width: d,
|
|
5742
5742
|
height: f,
|
|
@@ -5768,7 +5768,7 @@ function er(t) {
|
|
|
5768
5768
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
5769
5769
|
}
|
|
5770
5770
|
function Gr(t) {
|
|
5771
|
-
return ((
|
|
5771
|
+
return ((bo(t) ? t.ownerDocument : (
|
|
5772
5772
|
// $FlowFixMe[prop-missing]
|
|
5773
5773
|
t.document
|
|
5774
5774
|
)) || window.document).documentElement;
|
|
@@ -5934,8 +5934,8 @@ function p9(t, e) {
|
|
|
5934
5934
|
};
|
|
5935
5935
|
}
|
|
5936
5936
|
function h9(t) {
|
|
5937
|
-
var e, n = Gr(t), r = ju(t), o = (e = t.ownerDocument) == null ? void 0 : e.body, i =
|
|
5938
|
-
return Cr(o || n).direction === "rtl" && (a +=
|
|
5937
|
+
var e, n = Gr(t), r = ju(t), o = (e = t.ownerDocument) == null ? void 0 : e.body, i = ho(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), s = ho(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), a = -r.scrollLeft + Wu(t), l = -r.scrollTop;
|
|
5938
|
+
return Cr(o || n).direction === "rtl" && (a += ho(n.clientWidth, o ? o.clientWidth : 0) - i), {
|
|
5939
5939
|
width: i,
|
|
5940
5940
|
height: s,
|
|
5941
5941
|
x: a,
|
|
@@ -5969,18 +5969,18 @@ function g9(t, e) {
|
|
|
5969
5969
|
return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
5970
5970
|
}
|
|
5971
5971
|
function v1(t, e, n) {
|
|
5972
|
-
return e === Mh ? Kc(p9(t, n)) :
|
|
5972
|
+
return e === Mh ? Kc(p9(t, n)) : bo(e) ? g9(e, n) : Kc(h9(Gr(t)));
|
|
5973
5973
|
}
|
|
5974
5974
|
function v9(t) {
|
|
5975
5975
|
var e = ss(_l(t)), n = ["absolute", "fixed"].indexOf(Cr(t).position) >= 0, r = n && kn(t) ? yl(t) : t;
|
|
5976
|
-
return
|
|
5977
|
-
return
|
|
5976
|
+
return bo(r) ? e.filter(function(o) {
|
|
5977
|
+
return bo(o) && m9(o, r) && er(o) !== "body";
|
|
5978
5978
|
}) : [];
|
|
5979
5979
|
}
|
|
5980
5980
|
function _9(t, e, n, r) {
|
|
5981
5981
|
var o = e === "clippingParents" ? v9(t) : [].concat(e), i = [].concat(o, [n]), s = i[0], a = i.reduce(function(l, c) {
|
|
5982
5982
|
var u = v1(t, c, r);
|
|
5983
|
-
return l.top =
|
|
5983
|
+
return l.top = ho(u.top, l.top), l.right = Fa(u.right, l.right), l.bottom = Fa(u.bottom, l.bottom), l.left = ho(u.left, l.left), l;
|
|
5984
5984
|
}, v1(t, s, r));
|
|
5985
5985
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
5986
5986
|
}
|
|
@@ -6058,7 +6058,7 @@ function b9(t, e) {
|
|
|
6058
6058
|
}
|
|
6059
6059
|
function Gu(t, e) {
|
|
6060
6060
|
e === void 0 && (e = {});
|
|
6061
|
-
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, l = a === void 0 ? YC : a, c = n.rootBoundary, u = c === void 0 ? Mh : c, d = n.elementContext, f = d === void 0 ? Zi : d, p = n.altBoundary, h = p === void 0 ? !1 : p, m = n.padding, _ = m === void 0 ? 0 : m, y = y9(typeof _ != "number" ? _ : b9(_, bl)), g = f === Zi ? JC : Zi, v = t.rects.popper, w = t.elements[h ? g : f], k = _9(
|
|
6061
|
+
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, a = n.boundary, l = a === void 0 ? YC : a, c = n.rootBoundary, u = c === void 0 ? Mh : c, d = n.elementContext, f = d === void 0 ? Zi : d, p = n.altBoundary, h = p === void 0 ? !1 : p, m = n.padding, _ = m === void 0 ? 0 : m, y = y9(typeof _ != "number" ? _ : b9(_, bl)), g = f === Zi ? JC : Zi, v = t.rects.popper, w = t.elements[h ? g : f], k = _9(bo(w) ? w : w.contextElement || Gr(t.elements.popper), l, u, s), b = hi(t.elements.reference), S = Lh({
|
|
6062
6062
|
reference: b,
|
|
6063
6063
|
element: v,
|
|
6064
6064
|
strategy: "absolute",
|
|
@@ -6111,7 +6111,7 @@ function C9(t) {
|
|
|
6111
6111
|
setOptions: function(y) {
|
|
6112
6112
|
var g = typeof y == "function" ? y(u.options) : y;
|
|
6113
6113
|
m(), u.options = Object.assign({}, i, u.options, g), u.scrollParents = {
|
|
6114
|
-
reference:
|
|
6114
|
+
reference: bo(a) ? ss(a) : a.contextElement ? ss(a.contextElement) : [],
|
|
6115
6115
|
popper: ss(l)
|
|
6116
6116
|
};
|
|
6117
6117
|
var v = u9(f9([].concat(r, u.options.modifiers)));
|
|
@@ -6361,7 +6361,7 @@ function N9(t) {
|
|
|
6361
6361
|
return t === "x" ? "y" : "x";
|
|
6362
6362
|
}
|
|
6363
6363
|
function ka(t, e, n) {
|
|
6364
|
-
return
|
|
6364
|
+
return ho(t, Fa(e, n));
|
|
6365
6365
|
}
|
|
6366
6366
|
function P9(t, e, n) {
|
|
6367
6367
|
var r = ka(t, e, n);
|
|
@@ -6390,7 +6390,7 @@ function F9(t) {
|
|
|
6390
6390
|
var I, N = w === "y" ? In : gr, U = w === "y" ? tr : Hr, z = w === "y" ? "height" : "width", X = b[w], V = X + _[N], G = X - _[U], le = p ? -$[z] / 2 : 0, _e = g === mi ? S[z] : $[z], j = g === mi ? -$[z] : -S[z], ye = e.elements.arrow, me = p && ye ? Dh(ye) : {
|
|
6391
6391
|
width: 0,
|
|
6392
6392
|
height: 0
|
|
6393
|
-
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Ih(), W = ge[N], pe = ge[U], Le = ka(0, S[z], me[z]), Ge = v ? S[z] / 2 - le - Le - W - T.mainAxis : _e - Le - W - T.mainAxis, bt = v ? -S[z] / 2 + le + Le + pe + T.mainAxis : j + Le + pe + T.mainAxis, Et = e.elements.arrow && yl(e.elements.arrow), H = Et ? w === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, be = (I = O == null ? void 0 : O[w]) != null ? I : 0, $e = X + Ge - be - H, Te = X + bt - be, Fe = ka(p ? Fa(V, $e) : V, X, p ?
|
|
6393
|
+
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Ih(), W = ge[N], pe = ge[U], Le = ka(0, S[z], me[z]), Ge = v ? S[z] / 2 - le - Le - W - T.mainAxis : _e - Le - W - T.mainAxis, bt = v ? -S[z] / 2 + le + Le + pe + T.mainAxis : j + Le + pe + T.mainAxis, Et = e.elements.arrow && yl(e.elements.arrow), H = Et ? w === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, be = (I = O == null ? void 0 : O[w]) != null ? I : 0, $e = X + Ge - be - H, Te = X + bt - be, Fe = ka(p ? Fa(V, $e) : V, X, p ? ho(G, Te) : G);
|
|
6394
6394
|
b[w] = Fe, A[w] = Fe - X;
|
|
6395
6395
|
}
|
|
6396
6396
|
if (a) {
|
|
@@ -6512,7 +6512,7 @@ var V9 = {
|
|
|
6512
6512
|
}
|
|
6513
6513
|
};
|
|
6514
6514
|
function j9(t, e, n) {
|
|
6515
|
-
const { disabled: r, appendTo: o, appendToBody: i, openDirection: s } = gn(t), a =
|
|
6515
|
+
const { disabled: r, appendTo: o, appendToBody: i, openDirection: s } = gn(t), a = Lo().proxy, l = n.multiselect, c = n.dropdown, u = re(!1), d = re(null), f = re(null), p = L(() => o.value || i.value), h = L(() => s.value === "top" && f.value === "bottom" || s.value === "bottom" && f.value !== "top" ? "bottom" : "top"), m = () => {
|
|
6516
6516
|
u.value || r.value || (u.value = !0, e.emit("open", a), p.value && un(() => {
|
|
6517
6517
|
y();
|
|
6518
6518
|
}));
|
|
@@ -6636,7 +6636,7 @@ function Z9(t, e, n) {
|
|
|
6636
6636
|
createTag: d,
|
|
6637
6637
|
createOption: f,
|
|
6638
6638
|
reverse: p
|
|
6639
|
-
} = gn(t), h =
|
|
6639
|
+
} = gn(t), h = Lo().proxy, m = n.iv, _ = n.update, y = n.deselect, g = n.search, v = n.setPointer, w = n.selectPointer, k = n.backwardPointer, b = n.forwardPointer, S = n.multiselect, $ = n.wrapper, E = n.tags, T = n.isOpen, O = n.open, A = n.blur, I = n.fo, N = L(() => d.value || f.value || !1), U = L(() => o.value !== void 0 ? o.value : u.value !== void 0 ? u.value : ["enter"]), z = () => {
|
|
6640
6640
|
r.value === "tags" && !a.value && N.value && s.value && !c.value && v(I.value[I.value.map((G) => G[l.value]).indexOf(g.value)]);
|
|
6641
6641
|
};
|
|
6642
6642
|
return {
|
|
@@ -7826,7 +7826,7 @@ function Dn() {
|
|
|
7826
7826
|
};
|
|
7827
7827
|
}
|
|
7828
7828
|
function w4() {
|
|
7829
|
-
const t =
|
|
7829
|
+
const t = Lo();
|
|
7830
7830
|
if (!t)
|
|
7831
7831
|
throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
|
|
7832
7832
|
return t;
|
|
@@ -7947,7 +7947,6 @@ const k4 = { class: "ao-tasks" }, x4 = { class: "ao-tasks__list" }, S4 = ["id",
|
|
|
7947
7947
|
onChange: (y) => a(y, h.id),
|
|
7948
7948
|
onKeyup: li(d, ["enter"])
|
|
7949
7949
|
}, null, 42, S4),
|
|
7950
|
-
p[0] || (p[0] = ho(". ", -1)),
|
|
7951
7950
|
!t.isTemplate && t.users ? (x(), J(Gt, {
|
|
7952
7951
|
key: 1,
|
|
7953
7952
|
value: (_ = h.assignee) != null && _.id ? [h.assignee.id] : [],
|
|
@@ -10671,19 +10670,19 @@ var kl = {}, Cie = function(e, n, r) {
|
|
|
10671
10670
|
kl.parseLinkLabel = Cie;
|
|
10672
10671
|
kl.parseLinkDestination = wie;
|
|
10673
10672
|
kl.parseLinkTitle = xie;
|
|
10674
|
-
var Sie = je.assign, Aie = je.unescapeAll,
|
|
10673
|
+
var Sie = je.assign, Aie = je.unescapeAll, Co = je.escapeHtml, rr = {};
|
|
10675
10674
|
rr.code_inline = function(t, e, n, r, o) {
|
|
10676
10675
|
var i = t[e];
|
|
10677
|
-
return "<code" + o.renderAttrs(i) + ">" +
|
|
10676
|
+
return "<code" + o.renderAttrs(i) + ">" + Co(i.content) + "</code>";
|
|
10678
10677
|
};
|
|
10679
10678
|
rr.code_block = function(t, e, n, r, o) {
|
|
10680
10679
|
var i = t[e];
|
|
10681
|
-
return "<pre" + o.renderAttrs(i) + "><code>" +
|
|
10680
|
+
return "<pre" + o.renderAttrs(i) + "><code>" + Co(t[e].content) + `</code></pre>
|
|
10682
10681
|
`;
|
|
10683
10682
|
};
|
|
10684
10683
|
rr.fence = function(t, e, n, r, o) {
|
|
10685
10684
|
var i = t[e], s = i.info ? Aie(i.info).trim() : "", a = "", l = "", c, u, d, f, p;
|
|
10686
|
-
return s && (d = s.split(/(\s+)/g), a = d[0], l = d.slice(2).join("")), n.highlight ? c = n.highlight(i.content, a, l) ||
|
|
10685
|
+
return s && (d = s.split(/(\s+)/g), a = d[0], l = d.slice(2).join("")), n.highlight ? c = n.highlight(i.content, a, l) || Co(i.content) : c = Co(i.content), c.indexOf("<pre") === 0 ? c + `
|
|
10687
10686
|
` : s ? (u = i.attrIndex("class"), f = i.attrs ? i.attrs.slice() : [], u < 0 ? f.push(["class", n.langPrefix + a]) : (f[u] = f[u].slice(), f[u][1] += " " + n.langPrefix + a), p = {
|
|
10688
10687
|
attrs: f
|
|
10689
10688
|
}, "<pre><code" + o.renderAttrs(p) + ">" + c + `</code></pre>
|
|
@@ -10706,7 +10705,7 @@ rr.softbreak = function(t, e, n) {
|
|
|
10706
10705
|
`;
|
|
10707
10706
|
};
|
|
10708
10707
|
rr.text = function(t, e) {
|
|
10709
|
-
return
|
|
10708
|
+
return Co(t[e].content);
|
|
10710
10709
|
};
|
|
10711
10710
|
rr.html_block = function(t, e) {
|
|
10712
10711
|
return t[e].content;
|
|
@@ -10722,7 +10721,7 @@ xi.prototype.renderAttrs = function(e) {
|
|
|
10722
10721
|
if (!e.attrs)
|
|
10723
10722
|
return "";
|
|
10724
10723
|
for (o = "", n = 0, r = e.attrs.length; n < r; n++)
|
|
10725
|
-
o += " " +
|
|
10724
|
+
o += " " + Co(e.attrs[n][0]) + '="' + Co(e.attrs[n][1]) + '"';
|
|
10726
10725
|
return o;
|
|
10727
10726
|
};
|
|
10728
10727
|
xi.prototype.renderToken = function(e, n, r) {
|
|
@@ -11330,7 +11329,7 @@ var sse = function(e, n, r, o) {
|
|
|
11330
11329
|
], xl = {}, use = "[a-zA-Z_:][a-zA-Z0-9:._-]*", dse = "[^\"'=<>`\\x00-\\x20]+", fse = "'[^']*'", pse = '"[^"]*"', hse = "(?:" + dse + "|" + fse + "|" + pse + ")", mse = "(?:\\s+" + use + "(?:\\s*=\\s*" + hse + ")?)", zh = "<[A-Za-z][A-Za-z0-9\\-]*" + mse + "*\\s*\\/?>", Hh = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", gse = "<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->", vse = "<[?][\\s\\S]*?[?]>", _se = "<![A-Z]+\\s+[^>]*>", yse = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", bse = new RegExp("^(?:" + zh + "|" + Hh + "|" + gse + "|" + vse + "|" + _se + "|" + yse + ")"), Cse = new RegExp("^(?:" + zh + "|" + Hh + ")");
|
|
11331
11330
|
xl.HTML_TAG_RE = bse;
|
|
11332
11331
|
xl.HTML_OPEN_CLOSE_TAG_RE = Cse;
|
|
11333
|
-
var wse = cse, kse = xl.HTML_OPEN_CLOSE_TAG_RE,
|
|
11332
|
+
var wse = cse, kse = xl.HTML_OPEN_CLOSE_TAG_RE, zo = [
|
|
11334
11333
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
11335
11334
|
[/^<!--/, /-->/, !0],
|
|
11336
11335
|
[/^<\?/, /\?>/, !0],
|
|
@@ -11342,15 +11341,15 @@ var wse = cse, kse = xl.HTML_OPEN_CLOSE_TAG_RE, Ho = [
|
|
|
11342
11341
|
var i, s, a, l, c = e.bMarks[n] + e.tShift[n], u = e.eMarks[n];
|
|
11343
11342
|
if (e.sCount[n] - e.blkIndent >= 4 || !e.md.options.html || e.src.charCodeAt(c) !== 60)
|
|
11344
11343
|
return !1;
|
|
11345
|
-
for (l = e.src.slice(c, u), i = 0; i <
|
|
11344
|
+
for (l = e.src.slice(c, u), i = 0; i < zo.length && !zo[i][0].test(l); i++)
|
|
11346
11345
|
;
|
|
11347
|
-
if (i ===
|
|
11346
|
+
if (i === zo.length)
|
|
11348
11347
|
return !1;
|
|
11349
11348
|
if (o)
|
|
11350
|
-
return
|
|
11351
|
-
if (s = n + 1, !
|
|
11349
|
+
return zo[i][2];
|
|
11350
|
+
if (s = n + 1, !zo[i][1].test(l)) {
|
|
11352
11351
|
for (; s < r && !(e.sCount[s] < e.blkIndent); s++)
|
|
11353
|
-
if (c = e.bMarks[s] + e.tShift[s], u = e.eMarks[s], l = e.src.slice(c, u),
|
|
11352
|
+
if (c = e.bMarks[s] + e.tShift[s], u = e.eMarks[s], l = e.src.slice(c, u), zo[i][1].test(l)) {
|
|
11354
11353
|
l.length !== 0 && s++;
|
|
11355
11354
|
break;
|
|
11356
11355
|
}
|
|
@@ -12525,7 +12524,7 @@ function Qae(t, e) {
|
|
|
12525
12524
|
}
|
|
12526
12525
|
}
|
|
12527
12526
|
const nm = Object.entries, af = Object.setPrototypeOf, ele = Object.isFrozen, tle = Object.getPrototypeOf, nle = Object.getOwnPropertyDescriptor;
|
|
12528
|
-
let Ot = Object.freeze, It = Object.seal,
|
|
12527
|
+
let Ot = Object.freeze, It = Object.seal, Ko = Object.create, rm = typeof Reflect < "u" && Reflect, Jc = rm.apply, Xc = rm.construct;
|
|
12529
12528
|
Ot || (Ot = function(e) {
|
|
12530
12529
|
return e;
|
|
12531
12530
|
});
|
|
@@ -12542,7 +12541,7 @@ Xc || (Xc = function(e) {
|
|
|
12542
12541
|
r[o - 1] = arguments[o];
|
|
12543
12542
|
return new e(...r);
|
|
12544
12543
|
});
|
|
12545
|
-
const
|
|
12544
|
+
const Ho = mt(Array.prototype.forEach), rle = mt(Array.prototype.lastIndexOf), lf = mt(Array.prototype.pop), Vo = mt(Array.prototype.push), ole = mt(Array.prototype.splice), Ir = Array.isArray, ts = mt(String.prototype.toLowerCase), bc = mt(String.prototype.toString), cf = mt(String.prototype.match), Ki = mt(String.prototype.replace), uf = mt(String.prototype.indexOf), ile = mt(String.prototype.trim), sle = mt(Number.prototype.toString), ale = mt(Boolean.prototype.toString), df = typeof BigInt > "u" ? null : mt(BigInt.prototype.toString), ff = typeof Symbol > "u" ? null : mt(Symbol.prototype.toString), kt = mt(Object.prototype.hasOwnProperty), Gi = mt(Object.prototype.toString), wt = mt(RegExp.prototype.test), ro = lle(TypeError);
|
|
12546
12545
|
function mt(t) {
|
|
12547
12546
|
return function(e) {
|
|
12548
12547
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -12579,7 +12578,7 @@ function cle(t) {
|
|
|
12579
12578
|
return t;
|
|
12580
12579
|
}
|
|
12581
12580
|
function Ft(t) {
|
|
12582
|
-
const e =
|
|
12581
|
+
const e = Ko(null);
|
|
12583
12582
|
for (const r of nm(t)) {
|
|
12584
12583
|
var n = Xae(r, 2);
|
|
12585
12584
|
const o = n[0], i = n[1];
|
|
@@ -12740,7 +12739,7 @@ function om() {
|
|
|
12740
12739
|
const be = Ue({}, [...pf, ...Cc, ...wc, ...kc, ...hf]);
|
|
12741
12740
|
let $e = null;
|
|
12742
12741
|
const Te = Ue({}, [...mf, ...xc, ...gf, ...fa]);
|
|
12743
|
-
let Fe = Object.seal(
|
|
12742
|
+
let Fe = Object.seal(Ko(null, {
|
|
12744
12743
|
tagNameCheck: {
|
|
12745
12744
|
writable: !0,
|
|
12746
12745
|
configurable: !1,
|
|
@@ -12760,7 +12759,7 @@ function om() {
|
|
|
12760
12759
|
value: !1
|
|
12761
12760
|
}
|
|
12762
12761
|
})), tt = null, We = null;
|
|
12763
|
-
const ze = Object.seal(
|
|
12762
|
+
const ze = Object.seal(Ko(null, {
|
|
12764
12763
|
tagCheck: {
|
|
12765
12764
|
writable: !0,
|
|
12766
12765
|
configurable: !1,
|
|
@@ -12777,7 +12776,7 @@ function om() {
|
|
|
12777
12776
|
let Xe = !0, Qe = !0, Dt = !1, ir = !0, it = !1, Pt = !0, Ct = !1, en = !1, vn = null, Hn = null, sr = !1, B = !1, te = !1, Se = !1, nt = !0, pt = !1;
|
|
12778
12777
|
const ar = "user-content-";
|
|
12779
12778
|
let Re = !0, tn = !1, qt = {}, nn = null;
|
|
12780
|
-
const
|
|
12779
|
+
const Fo = Ue({}, [
|
|
12781
12780
|
"annotation-xml",
|
|
12782
12781
|
"audio",
|
|
12783
12782
|
"colgroup",
|
|
@@ -12817,9 +12816,9 @@ function om() {
|
|
|
12817
12816
|
let Ys = null;
|
|
12818
12817
|
const Oi = Ue({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
12819
12818
|
let rn = null;
|
|
12820
|
-
const
|
|
12819
|
+
const Ro = Ue({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ar = "http://www.w3.org/1998/Math/MathML", Bo = "http://www.w3.org/2000/svg", on = "http://www.w3.org/1999/xhtml";
|
|
12821
12820
|
let Tr = on, Qr = !1, Li = null;
|
|
12822
|
-
const Yl = Ue({}, [Ar,
|
|
12821
|
+
const Yl = Ue({}, [Ar, Bo, on], bc), Js = Ot(["mi", "mo", "mn", "ms", "mtext"]);
|
|
12823
12822
|
let sn = Ue({}, Js);
|
|
12824
12823
|
const Xs = Ot(["annotation-xml"]);
|
|
12825
12824
|
let Ii = Ue({}, Xs);
|
|
@@ -12840,21 +12839,21 @@ function om() {
|
|
|
12840
12839
|
transform: Ye
|
|
12841
12840
|
}), Li = $r(D, "ALLOWED_NAMESPACES", Yl, {
|
|
12842
12841
|
transform: bc
|
|
12843
|
-
}), rn = $r(D, "ADD_URI_SAFE_ATTR",
|
|
12842
|
+
}), rn = $r(D, "ADD_URI_SAFE_ATTR", Ro, {
|
|
12844
12843
|
transform: Ye,
|
|
12845
|
-
base:
|
|
12844
|
+
base: Ro
|
|
12846
12845
|
}), Ys = $r(D, "ADD_DATA_URI_TAGS", Oi, {
|
|
12847
12846
|
transform: Ye,
|
|
12848
12847
|
base: Oi
|
|
12849
|
-
}), nn = $r(D, "FORBID_CONTENTS",
|
|
12848
|
+
}), nn = $r(D, "FORBID_CONTENTS", Fo, {
|
|
12850
12849
|
transform: Ye
|
|
12851
12850
|
}), tt = $r(D, "FORBID_TAGS", Ft({}), {
|
|
12852
12851
|
transform: Ye
|
|
12853
12852
|
}), We = $r(D, "FORBID_ATTR", Ft({}), {
|
|
12854
12853
|
transform: Ye
|
|
12855
12854
|
}), qt = kt(D, "USE_PROFILES") ? D.USE_PROFILES && typeof D.USE_PROFILES == "object" ? Ft(D.USE_PROFILES) : D.USE_PROFILES : !1, Xe = D.ALLOW_ARIA_ATTR !== !1, Qe = D.ALLOW_DATA_ATTR !== !1, Dt = D.ALLOW_UNKNOWN_PROTOCOLS || !1, ir = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, it = D.SAFE_FOR_TEMPLATES || !1, Pt = D.SAFE_FOR_XML !== !1, Ct = D.WHOLE_DOCUMENT || !1, B = D.RETURN_DOM || !1, te = D.RETURN_DOM_FRAGMENT || !1, Se = D.RETURN_TRUSTED_TYPE || !1, sr = D.FORCE_BODY || !1, nt = D.SANITIZE_DOM !== !1, pt = D.SANITIZE_NAMED_PROPS || !1, Re = D.KEEP_CONTENT !== !1, tn = D.IN_PLACE || !1, Et = dle(D.ALLOWED_URI_REGEXP) ? D.ALLOWED_URI_REGEXP : vf, Tr = typeof D.NAMESPACE == "string" ? D.NAMESPACE : on, sn = kt(D, "MATHML_TEXT_INTEGRATION_POINTS") && D.MATHML_TEXT_INTEGRATION_POINTS && typeof D.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Ft(D.MATHML_TEXT_INTEGRATION_POINTS) : Ue({}, Js), Ii = kt(D, "HTML_INTEGRATION_POINTS") && D.HTML_INTEGRATION_POINTS && typeof D.HTML_INTEGRATION_POINTS == "object" ? Ft(D.HTML_INTEGRATION_POINTS) : Ue({}, Xs);
|
|
12856
|
-
const q = kt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? Ft(D.CUSTOM_ELEMENT_HANDLING) :
|
|
12857
|
-
if (Fe =
|
|
12855
|
+
const q = kt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? Ft(D.CUSTOM_ELEMENT_HANDLING) : Ko(null);
|
|
12856
|
+
if (Fe = Ko(null), kt(q, "tagNameCheck") && Qs(q.tagNameCheck) && (Fe.tagNameCheck = q.tagNameCheck), kt(q, "attributeNameCheck") && Qs(q.attributeNameCheck) && (Fe.attributeNameCheck = q.attributeNameCheck), kt(q, "allowCustomizedBuiltInElements") && typeof q.allowCustomizedBuiltInElements == "boolean" && (Fe.allowCustomizedBuiltInElements = q.allowCustomizedBuiltInElements), It(Fe), it && (Qe = !1), te && (B = !0), qt && (H = Ue({}, hf), $e = Ko(null), qt.html === !0 && (Ue(H, pf), Ue($e, mf)), qt.svg === !0 && (Ue(H, Cc), Ue($e, xc), Ue($e, fa)), qt.svgFilters === !0 && (Ue(H, wc), Ue($e, xc), Ue($e, fa)), qt.mathMl === !0 && (Ue(H, kc), Ue($e, gf), Ue($e, fa))), ze.tagCheck = null, ze.attributeCheck = null, kt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? ze.tagCheck = D.ADD_TAGS : Ir(D.ADD_TAGS) && (H === be && (H = Ft(H)), Ue(H, D.ADD_TAGS, Ye))), kt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? ze.attributeCheck = D.ADD_ATTR : Ir(D.ADD_ATTR) && ($e === Te && ($e = Ft($e)), Ue($e, D.ADD_ATTR, Ye))), kt(D, "ADD_URI_SAFE_ATTR") && Ir(D.ADD_URI_SAFE_ATTR) && Ue(rn, D.ADD_URI_SAFE_ATTR, Ye), kt(D, "FORBID_CONTENTS") && Ir(D.FORBID_CONTENTS) && (nn === Fo && (nn = Ft(nn)), Ue(nn, D.FORBID_CONTENTS, Ye)), kt(D, "ADD_FORBID_CONTENTS") && Ir(D.ADD_FORBID_CONTENTS) && (nn === Fo && (nn = Ft(nn)), Ue(nn, D.ADD_FORBID_CONTENTS, Ye)), Re && (H["#text"] = !0), Ct && Ue(H, ["html", "head", "body"]), H.table && (Ue(H, ["tbody"]), delete tt.tbody), D.TRUSTED_TYPES_POLICY) {
|
|
12858
12857
|
if (typeof D.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
12859
12858
|
throw ro('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
12860
12859
|
if (typeof D.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -12872,9 +12871,9 @@ function om() {
|
|
|
12872
12871
|
}, Ri = Ue({}, [...Cc, ...wc, ...fle]), R = Ue({}, [...kc, ...ple]), oe = function(D, q, Q) {
|
|
12873
12872
|
return q.namespaceURI === on ? D === "svg" : q.namespaceURI === Ar ? D === "svg" && (Q === "annotation-xml" || sn[Q]) : !!Ri[D];
|
|
12874
12873
|
}, Ie = function(D, q, Q) {
|
|
12875
|
-
return q.namespaceURI === on ? D === "math" : q.namespaceURI ===
|
|
12874
|
+
return q.namespaceURI === on ? D === "math" : q.namespaceURI === Bo ? D === "math" && Ii[Q] : !!R[D];
|
|
12876
12875
|
}, st = function(D, q, Q) {
|
|
12877
|
-
return q.namespaceURI ===
|
|
12876
|
+
return q.namespaceURI === Bo && !Ii[Q] || q.namespaceURI === Ar && !sn[Q] ? !1 : !R[D] && (Jl[D] || !Ri[D]);
|
|
12878
12877
|
}, lr = function(D) {
|
|
12879
12878
|
let q = y(D);
|
|
12880
12879
|
(!q || !q.tagName) && (q = {
|
|
@@ -12882,9 +12881,9 @@ function om() {
|
|
|
12882
12881
|
tagName: "template"
|
|
12883
12882
|
});
|
|
12884
12883
|
const Q = ts(D.tagName), Ce = ts(q.tagName);
|
|
12885
|
-
return Li[D.namespaceURI] ? D.namespaceURI ===
|
|
12884
|
+
return Li[D.namespaceURI] ? D.namespaceURI === Bo ? oe(Q, q, Ce) : D.namespaceURI === Ar ? Ie(Q, q, Ce) : D.namespaceURI === on ? st(Q, q, Ce) : !!(eo === "application/xhtml+xml" && Li[D.namespaceURI]) : !1;
|
|
12886
12885
|
}, Mn = function(D) {
|
|
12887
|
-
|
|
12886
|
+
Vo(e.removed, {
|
|
12888
12887
|
element: D
|
|
12889
12888
|
});
|
|
12890
12889
|
try {
|
|
@@ -12898,9 +12897,9 @@ function om() {
|
|
|
12898
12897
|
const q = _(D);
|
|
12899
12898
|
if (q) {
|
|
12900
12899
|
const Ce = [];
|
|
12901
|
-
|
|
12902
|
-
|
|
12903
|
-
}),
|
|
12900
|
+
Ho(q, (ke) => {
|
|
12901
|
+
Vo(Ce, ke);
|
|
12902
|
+
}), Ho(Ce, (ke) => {
|
|
12904
12903
|
try {
|
|
12905
12904
|
h(ke);
|
|
12906
12905
|
} catch {
|
|
@@ -12919,12 +12918,12 @@ function om() {
|
|
|
12919
12918
|
}
|
|
12920
12919
|
}, cr = function(D, q) {
|
|
12921
12920
|
try {
|
|
12922
|
-
|
|
12921
|
+
Vo(e.removed, {
|
|
12923
12922
|
attribute: q.getAttributeNode(D),
|
|
12924
12923
|
from: q
|
|
12925
12924
|
});
|
|
12926
12925
|
} catch {
|
|
12927
|
-
|
|
12926
|
+
Vo(e.removed, {
|
|
12928
12927
|
attribute: null,
|
|
12929
12928
|
from: q
|
|
12930
12929
|
});
|
|
@@ -13035,8 +13034,8 @@ function om() {
|
|
|
13035
13034
|
for (; ke; )
|
|
13036
13035
|
ke.data = ta(ke.data), ke = Ce.nextNode();
|
|
13037
13036
|
const Oe = (q = D.querySelectorAll) === null || q === void 0 ? void 0 : q.call(D, "template");
|
|
13038
|
-
Oe &&
|
|
13039
|
-
|
|
13037
|
+
Oe && Ho(Oe, (Je) => {
|
|
13038
|
+
Uo(Je.content) && Xl(Je.content);
|
|
13040
13039
|
});
|
|
13041
13040
|
}, na = function(D) {
|
|
13042
13041
|
const q = k ? k(D) : null;
|
|
@@ -13064,7 +13063,7 @@ function om() {
|
|
|
13064
13063
|
// carry a numeric .length, which a typeof-based probe would miss
|
|
13065
13064
|
// (e.g. HTMLSelectElement.length is a defined unsigned-long).
|
|
13066
13065
|
D.childNodes !== _(D);
|
|
13067
|
-
},
|
|
13066
|
+
}, Uo = function(D) {
|
|
13068
13067
|
if (!w || typeof D != "object" || D === null)
|
|
13069
13068
|
return !1;
|
|
13070
13069
|
try {
|
|
@@ -13082,7 +13081,7 @@ function om() {
|
|
|
13082
13081
|
}
|
|
13083
13082
|
};
|
|
13084
13083
|
function Vn(se, D, q) {
|
|
13085
|
-
se.length !== 0 &&
|
|
13084
|
+
se.length !== 0 && Ho(se, (Q) => {
|
|
13086
13085
|
Q.call(e, D, q, $n);
|
|
13087
13086
|
});
|
|
13088
13087
|
}
|
|
@@ -13125,7 +13124,7 @@ function om() {
|
|
|
13125
13124
|
return Mn(D), !0;
|
|
13126
13125
|
if (it && D.nodeType === an.text) {
|
|
13127
13126
|
const ke = ta(D.textContent);
|
|
13128
|
-
D.textContent !== ke && (
|
|
13127
|
+
D.textContent !== ke && (Vo(e.removed, {
|
|
13129
13128
|
element: D.cloneNode()
|
|
13130
13129
|
}), D.textContent = ke);
|
|
13131
13130
|
}
|
|
@@ -13223,9 +13222,9 @@ function om() {
|
|
|
13223
13222
|
let q = null;
|
|
13224
13223
|
const Q = Yd(D);
|
|
13225
13224
|
for (Vn(j.beforeSanitizeShadowDOM, D, null); q = Q.nextNode(); )
|
|
13226
|
-
if (Vn(j.uponSanitizeShadowNode, q, null), Xd(q, D), t1(q),
|
|
13225
|
+
if (Vn(j.uponSanitizeShadowNode, q, null), Xd(q, D), t1(q), Uo(q.content) && ra(q.content), (w ? w(q) : q.nodeType) === an.element) {
|
|
13227
13226
|
const ke = g(q);
|
|
13228
|
-
|
|
13227
|
+
Uo(ke) && (Ql(ke), ra(ke));
|
|
13229
13228
|
}
|
|
13230
13229
|
Vn(j.afterSanitizeShadowDOM, D, null);
|
|
13231
13230
|
}, Ql = function(D) {
|
|
@@ -13250,7 +13249,7 @@ function om() {
|
|
|
13250
13249
|
const at = k ? k(Ce) : null;
|
|
13251
13250
|
if (typeof at == "string" && Ye(at) === "template") {
|
|
13252
13251
|
const Zt = Ce.content;
|
|
13253
|
-
|
|
13252
|
+
Uo(Zt) && q.push({
|
|
13254
13253
|
node: Zt,
|
|
13255
13254
|
shadow: null
|
|
13256
13255
|
});
|
|
@@ -13258,7 +13257,7 @@ function om() {
|
|
|
13258
13257
|
}
|
|
13259
13258
|
if (Oe) {
|
|
13260
13259
|
const at = g(Ce);
|
|
13261
|
-
|
|
13260
|
+
Uo(at) && q.push({
|
|
13262
13261
|
node: null,
|
|
13263
13262
|
shadow: at
|
|
13264
13263
|
}, {
|
|
@@ -13305,14 +13304,14 @@ function om() {
|
|
|
13305
13304
|
try {
|
|
13306
13305
|
const Zt = Yd(Je);
|
|
13307
13306
|
for (; Ce = Zt.nextNode(); )
|
|
13308
|
-
Xd(Ce, Je), t1(Ce),
|
|
13307
|
+
Xd(Ce, Je), t1(Ce), Uo(Ce.content) && ra(Ce.content);
|
|
13309
13308
|
} catch (Zt) {
|
|
13310
|
-
throw Oe && (Bi(se),
|
|
13309
|
+
throw Oe && (Bi(se), Ho(e.removed, (Kt) => {
|
|
13311
13310
|
Kt.element && Ui(Kt.element);
|
|
13312
13311
|
})), Zt;
|
|
13313
13312
|
}
|
|
13314
13313
|
if (Oe)
|
|
13315
|
-
return
|
|
13314
|
+
return Ho(e.removed, (Zt) => {
|
|
13316
13315
|
Zt.element && Ui(Zt.element);
|
|
13317
13316
|
}), it && Xl(se), se;
|
|
13318
13317
|
if (B) {
|
|
@@ -13336,7 +13335,7 @@ function om() {
|
|
|
13336
13335
|
const Q = Ye(se), Ce = Ye(D);
|
|
13337
13336
|
return Qd(Q, Ce, q);
|
|
13338
13337
|
}, e.addHook = function(se, D) {
|
|
13339
|
-
typeof D == "function" && kt(j, se) &&
|
|
13338
|
+
typeof D == "function" && kt(j, se) && Vo(j[se], D);
|
|
13340
13339
|
}, e.removeHook = function(se, D) {
|
|
13341
13340
|
if (kt(j, se)) {
|
|
13342
13341
|
if (D !== void 0) {
|
|
@@ -13407,7 +13406,7 @@ function sm(t, ...e) {
|
|
|
13407
13406
|
r.append("v", o);
|
|
13408
13407
|
n.search = r.toString(), console.warn(`Minified Lexical warning #${t}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
|
|
13409
13408
|
}
|
|
13410
|
-
const qn = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, $le = qn && "documentMode" in document ? document.documentMode : null, Ln = qn && /Mac|iPod|iPhone|iPad/.test(navigator.platform),
|
|
13409
|
+
const qn = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, $le = qn && "documentMode" in document ? document.documentMode : null, Ln = qn && /Mac|iPod|iPhone|iPad/.test(navigator.platform), wo = qn && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Ua = !(!qn || !("InputEvent" in window) || $le) && "getTargetRanges" in new window.InputEvent("input"), bs = qn && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), vi = qn && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, Mle = qn && /Android/.test(navigator.userAgent), am = qn && /^(?=.*Chrome).*/i.test(navigator.userAgent), Cf = qn && Mle && am, Cs = qn && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && Ln && !am;
|
|
13411
13410
|
function lm(...t) {
|
|
13412
13411
|
const e = [];
|
|
13413
13412
|
for (const n of t)
|
|
@@ -13418,7 +13417,7 @@ function lm(...t) {
|
|
|
13418
13417
|
}
|
|
13419
13418
|
const Ole = 0, Lle = 1, Ile = 2, cm = 128, Nle = 1, Ple = 2, Fle = 3, Rle = 4, Ble = 5, Ule = 6, $l = bs || vi || Cs ? " " : "", Vr = `
|
|
13420
13419
|
|
|
13421
|
-
`, qle =
|
|
13420
|
+
`, qle = wo ? " " : $l, Ht = { bold: 1, capitalize: 1024, code: 16, highlight: cm, italic: 2, lowercase: 256, strikethrough: 4, subscript: 32, superscript: 64, underline: 8, uppercase: 512 }, zle = { directionless: 1, unmergeable: 2 }, wf = { center: 2, end: 6, justify: 4, left: 1, right: 3, start: 5 }, Hle = { [Ple]: "center", [Ule]: "end", [Rle]: "justify", [Nle]: "left", [Fle]: "right", [Ble]: "start" }, Vle = { normal: 0, segmented: 2, token: 1 }, jle = { [Ole]: "normal", [Ile]: "segmented", [Lle]: "token" }, kf = "$config";
|
|
13422
13421
|
function um(t, e, n, r, o, i) {
|
|
13423
13422
|
let s = t.getFirstChild();
|
|
13424
13423
|
for (; s !== null; ) {
|
|
@@ -13485,7 +13484,7 @@ function dm(t, e, n) {
|
|
|
13485
13484
|
for (let b = 0; b < v.length; b++) {
|
|
13486
13485
|
const S = v[b], $ = ug(S), E = S.parentNode;
|
|
13487
13486
|
if (E != null && S !== l && $ === null && !Sc(S, E, t)) {
|
|
13488
|
-
if (
|
|
13487
|
+
if (wo) {
|
|
13489
13488
|
const T = (gt(S) ? S.innerText : null) || S.nodeValue;
|
|
13490
13489
|
T && (u += T);
|
|
13491
13490
|
}
|
|
@@ -13517,7 +13516,7 @@ function dm(t, e, n) {
|
|
|
13517
13516
|
}
|
|
13518
13517
|
n.takeRecords();
|
|
13519
13518
|
}
|
|
13520
|
-
o !== null && (c && Nt(o),
|
|
13519
|
+
o !== null && (c && Nt(o), wo && gg(t) && o.insertRawText(u));
|
|
13521
13520
|
});
|
|
13522
13521
|
} finally {
|
|
13523
13522
|
Qc = !1;
|
|
@@ -13745,15 +13744,15 @@ function Mf(t) {
|
|
|
13745
13744
|
t.set(r.__key, o ? r.getChildrenSize() : 0, "element", !0);
|
|
13746
13745
|
}
|
|
13747
13746
|
}
|
|
13748
|
-
let
|
|
13747
|
+
let ko, Rt, ws, Ml, eu, tu, xo, Nn, nu, ks, _t = "", Wn = null, Zn = "", hr = "", Go = !1, za = !1;
|
|
13749
13748
|
function Ha(t, e) {
|
|
13750
|
-
const n =
|
|
13749
|
+
const n = xo.get(t);
|
|
13751
13750
|
if (e !== null) {
|
|
13752
13751
|
const r = su(t);
|
|
13753
13752
|
r.parentNode === e && e.removeChild(r);
|
|
13754
13753
|
}
|
|
13755
13754
|
if (Nn.has(t) || Rt._keyToDOMMap.delete(t), Z(n)) {
|
|
13756
|
-
const r = ja(n,
|
|
13755
|
+
const r = ja(n, xo);
|
|
13757
13756
|
ru(r, 0, r.length - 1, null);
|
|
13758
13757
|
}
|
|
13759
13758
|
n !== void 0 && kd(ks, ws, Ml, n, "destroyed");
|
|
@@ -13770,7 +13769,7 @@ function oo(t, e) {
|
|
|
13770
13769
|
}
|
|
13771
13770
|
const tce = "40px";
|
|
13772
13771
|
function _m(t, e) {
|
|
13773
|
-
const n =
|
|
13772
|
+
const n = ko.theme.indent;
|
|
13774
13773
|
if (typeof n == "string") {
|
|
13775
13774
|
const o = t.classList.contains(n);
|
|
13776
13775
|
e > 0 && !o ? t.classList.add(n) : e < 1 && o && t.classList.remove(n);
|
|
@@ -13797,7 +13796,7 @@ function ou(t, e) {
|
|
|
13797
13796
|
function Va(t, e) {
|
|
13798
13797
|
const n = Nn.get(t);
|
|
13799
13798
|
n === void 0 && ne(60);
|
|
13800
|
-
const r = n.createDOM(
|
|
13799
|
+
const r = n.createDOM(ko, Rt);
|
|
13801
13800
|
if (function(o, i, s) {
|
|
13802
13801
|
const a = s._keyToDOMMap;
|
|
13803
13802
|
(function(l, c, u) {
|
|
@@ -13815,7 +13814,7 @@ function Va(t, e) {
|
|
|
13815
13814
|
} else {
|
|
13816
13815
|
const o = n.getTextContent();
|
|
13817
13816
|
if (He(n)) {
|
|
13818
|
-
const i = n.decorate(Rt,
|
|
13817
|
+
const i = n.decorate(Rt, ko);
|
|
13819
13818
|
i !== null && Cm(t, i), r.contentEditable = "false";
|
|
13820
13819
|
}
|
|
13821
13820
|
_t += o, hr += o;
|
|
@@ -13846,7 +13845,7 @@ function Of(t, e) {
|
|
|
13846
13845
|
return null;
|
|
13847
13846
|
}
|
|
13848
13847
|
function bm(t, e, n) {
|
|
13849
|
-
const r = Of(t,
|
|
13848
|
+
const r = Of(t, xo), o = Of(e, Nn);
|
|
13850
13849
|
r !== o && e.getDOMSlot(n).setManagedLineBreak(o);
|
|
13851
13850
|
}
|
|
13852
13851
|
function nce(t, e, n) {
|
|
@@ -13875,7 +13874,7 @@ function nce(t, e, n) {
|
|
|
13875
13874
|
const p = Nn.get(f);
|
|
13876
13875
|
ae(p) && (Wn === null && (Wn = p.getFormat()), Zn === "" && (Zn = p.getStyle()));
|
|
13877
13876
|
} else {
|
|
13878
|
-
const d = ja(o,
|
|
13877
|
+
const d = ja(o, xo), f = ja(i, Nn);
|
|
13879
13878
|
if (d.length !== l && ne(227), f.length !== c && ne(228), l === 0)
|
|
13880
13879
|
c !== 0 && iu(f, i, 0, c - 1, s);
|
|
13881
13880
|
else if (c === 0) {
|
|
@@ -13896,7 +13895,7 @@ function nce(t, e, n) {
|
|
|
13896
13895
|
const U = b.has(A), z = k.has(I);
|
|
13897
13896
|
if (U)
|
|
13898
13897
|
if (z) {
|
|
13899
|
-
const X =
|
|
13898
|
+
const X = Ao(Rt, I);
|
|
13900
13899
|
X === S ? S = Tc(ns(I, g.element)) : (g.withBefore(S).insertChild(X), ns(I, g.element)), $++, E++;
|
|
13901
13900
|
} else
|
|
13902
13901
|
Va(I, g.withBefore(S)), E++;
|
|
@@ -13929,10 +13928,10 @@ function ja(t, e) {
|
|
|
13929
13928
|
return n;
|
|
13930
13929
|
}
|
|
13931
13930
|
function ns(t, e) {
|
|
13932
|
-
const n =
|
|
13931
|
+
const n = xo.get(t);
|
|
13933
13932
|
let r = Nn.get(t);
|
|
13934
13933
|
n !== void 0 && r !== void 0 || ne(61);
|
|
13935
|
-
const o =
|
|
13934
|
+
const o = Go || tu.has(t) || eu.has(t), i = Ao(Rt, t);
|
|
13936
13935
|
if (n === r && !o) {
|
|
13937
13936
|
if (Z(n)) {
|
|
13938
13937
|
const s = i.__lexicalTextContent;
|
|
@@ -13943,21 +13942,21 @@ function ns(t, e) {
|
|
|
13943
13942
|
}
|
|
13944
13943
|
return i;
|
|
13945
13944
|
}
|
|
13946
|
-
if (n !== r && o && kd(ks, ws, Ml, r, "updated"), r.updateDOM(n, i,
|
|
13945
|
+
if (n !== r && o && kd(ks, ws, Ml, r, "updated"), r.updateDOM(n, i, ko)) {
|
|
13947
13946
|
const s = Va(t, null);
|
|
13948
13947
|
return e === null && ne(62), e.replaceChild(s, i), Ha(t, null), s;
|
|
13949
13948
|
}
|
|
13950
13949
|
if (Z(n) && Z(r)) {
|
|
13951
13950
|
const s = r.__indent;
|
|
13952
|
-
(
|
|
13951
|
+
(Go || s !== n.__indent) && _m(i, s);
|
|
13953
13952
|
const a = r.__format;
|
|
13954
|
-
if ((
|
|
13953
|
+
if ((Go || a !== n.__format) && ym(i, a), o && (nce(n, r, i), ht(r) || r.isInline() || bm(n, r, i)), Ul(r) && (_t += Vr, hr += Vr), (Go || r.__dir !== n.__dir) && (ou(i, r), ht(r) && !Go))
|
|
13955
13954
|
for (const l of r.getChildren())
|
|
13956
|
-
Z(l) && ou(
|
|
13955
|
+
Z(l) && ou(Ao(Rt, l.getKey()), l);
|
|
13957
13956
|
} else {
|
|
13958
13957
|
const s = r.getTextContent();
|
|
13959
13958
|
if (He(r)) {
|
|
13960
|
-
const a = r.decorate(Rt,
|
|
13959
|
+
const a = r.decorate(Rt, ko);
|
|
13961
13960
|
a !== null && Cm(t, a);
|
|
13962
13961
|
}
|
|
13963
13962
|
_t += s, hr += s;
|
|
@@ -13983,9 +13982,9 @@ function Tc(t) {
|
|
|
13983
13982
|
return e !== null && e === Rt._blockCursorElement && (e = e.nextSibling), e;
|
|
13984
13983
|
}
|
|
13985
13984
|
function rce(t, e, n, r, o, i) {
|
|
13986
|
-
_t = "", hr = "",
|
|
13985
|
+
_t = "", hr = "", Go = r === 2, Rt = n, ko = n._config, ws = n._nodes, Ml = Rt._listeners.mutation, eu = o, tu = i, xo = t._nodeMap, Nn = e._nodeMap, za = e._readOnly, nu = new Map(n._keyToDOMMap);
|
|
13987
13986
|
const s = /* @__PURE__ */ new Map();
|
|
13988
|
-
return ks = s, ns("root", null), Rt = void 0, ws = void 0, eu = void 0, tu = void 0,
|
|
13987
|
+
return ks = s, ns("root", null), Rt = void 0, ws = void 0, eu = void 0, tu = void 0, xo = void 0, Nn = void 0, ko = void 0, nu = void 0, ks = void 0, s;
|
|
13989
13988
|
}
|
|
13990
13989
|
function su(t) {
|
|
13991
13990
|
const e = nu.get(t);
|
|
@@ -13994,7 +13993,7 @@ function su(t) {
|
|
|
13994
13993
|
function Ae(t) {
|
|
13995
13994
|
return { type: t };
|
|
13996
13995
|
}
|
|
13997
|
-
const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), km = Ae("CLICK_COMMAND"),
|
|
13996
|
+
const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), km = Ae("CLICK_COMMAND"), mo = Ae("DELETE_CHARACTER_COMMAND"), ri = Ae("INSERT_LINE_BREAK_COMMAND"), xs = Ae("INSERT_PARAGRAPH_COMMAND"), oi = Ae("CONTROLLED_TEXT_INSERTION_COMMAND"), ad = Ae("PASTE_COMMAND"), au = Ae("REMOVE_TEXT_COMMAND"), Ss = Ae("DELETE_WORD_COMMAND"), As = Ae("DELETE_LINE_COMMAND"), Cn = Ae("FORMAT_TEXT_COMMAND"), ld = Ae("UNDO_COMMAND"), cd = Ae("REDO_COMMAND"), ice = Ae("KEYDOWN_COMMAND"), xm = Ae("KEY_ARROW_RIGHT_COMMAND"), sce = Ae("MOVE_TO_END"), Sm = Ae("KEY_ARROW_LEFT_COMMAND"), ace = Ae("MOVE_TO_START"), Am = Ae("KEY_ARROW_UP_COMMAND"), Tm = Ae("KEY_ARROW_DOWN_COMMAND"), Wa = Ae("KEY_ENTER_COMMAND"), Em = Ae("KEY_SPACE_COMMAND"), Dm = Ae("KEY_BACKSPACE_COMMAND"), $m = Ae("KEY_ESCAPE_COMMAND"), Mm = Ae("KEY_DELETE_COMMAND"), Om = Ae("KEY_TAB_COMMAND"), lce = Ae("INSERT_TAB_COMMAND"), cce = Ae("INDENT_CONTENT_COMMAND"), Lf = Ae("OUTDENT_CONTENT_COMMAND"), Lm = Ae("DROP_COMMAND"), uce = Ae("FORMAT_ELEMENT_COMMAND"), Im = Ae("DRAGSTART_COMMAND"), Nm = Ae("DRAGOVER_COMMAND"), dce = Ae("DRAGEND_COMMAND"), Ol = Ae("COPY_COMMAND"), ud = Ae("CUT_COMMAND"), lu = Ae("SELECT_ALL_COMMAND"), fce = Ae("CLEAR_EDITOR_COMMAND"), pce = Ae("CLEAR_HISTORY_COMMAND"), pa = Ae("CAN_REDO_COMMAND"), ha = Ae("CAN_UNDO_COMMAND"), hce = Ae("FOCUS_COMMAND"), mce = Ae("BLUR_COMMAND"), gce = Ae("KEY_MODIFIER_COMMAND"), ur = Object.freeze({}), cu = [["keydown", function(t, e) {
|
|
13998
13997
|
if (ls = t.timeStamp, Pm = t.key, !e.isComposing() && !he(e, ice, t) && t.key != null) {
|
|
13999
13998
|
if (Ec && lp(t))
|
|
14000
13999
|
return cn(e, () => {
|
|
@@ -14043,7 +14042,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14043
14042
|
else if (function(n) {
|
|
14044
14043
|
return Ze(n, "Backspace", { shiftKey: "any" }) || Ln && Ze(n, "h", { ctrlKey: !0 });
|
|
14045
14044
|
}(t))
|
|
14046
|
-
lp(t) ? he(e, Dm, t) : (t.preventDefault(), he(e,
|
|
14045
|
+
lp(t) ? he(e, Dm, t) : (t.preventDefault(), he(e, mo, !0));
|
|
14047
14046
|
else if (function(n) {
|
|
14048
14047
|
return n.key === "Escape";
|
|
14049
14048
|
}(t))
|
|
@@ -14053,7 +14052,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14053
14052
|
}(t))
|
|
14054
14053
|
(function(n) {
|
|
14055
14054
|
return n.key === "Delete";
|
|
14056
|
-
})(t) ? he(e, Mm, t) : (t.preventDefault(), he(e,
|
|
14055
|
+
})(t) ? he(e, Mm, t) : (t.preventDefault(), he(e, mo, !1));
|
|
14057
14056
|
else if (function(n) {
|
|
14058
14057
|
return Ze(n, "Backspace", ap);
|
|
14059
14058
|
}(t))
|
|
@@ -14120,7 +14119,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14120
14119
|
}
|
|
14121
14120
|
});
|
|
14122
14121
|
}], ["compositionend", function(t, e) {
|
|
14123
|
-
|
|
14122
|
+
wo ? Yi = !0 : vi || !bs && !Cs ? cn(e, () => {
|
|
14124
14123
|
ma(e, t.data);
|
|
14125
14124
|
}) : (Ec = !0, Dc = t.data);
|
|
14126
14125
|
}], ["input", function(t, e) {
|
|
@@ -14136,7 +14135,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14136
14135
|
const a = n.isBackward(), l = a ? n.anchor.offset : n.focus.offset, c = a ? n.focus.offset : n.anchor.offset;
|
|
14137
14136
|
Ua && !n.isCollapsed() && ae(i) && s.anchorNode !== null && i.getTextContent().slice(0, l) + r + i.getTextContent().slice(l + c) === mg(s.anchorNode) || he(e, oi, r);
|
|
14138
14137
|
const u = r.length;
|
|
14139
|
-
|
|
14138
|
+
wo && u > 1 && t.inputType === "insertCompositionText" && !e.isComposing() && (n.anchor.offset -= u), bs || vi || Cs || !e.isComposing() || (ls = 0, Mt(null));
|
|
14140
14139
|
} else
|
|
14141
14140
|
Cd(!1, e, r !== null ? r : void 0), Yi && (ma(e, r || void 0), Yi = !1);
|
|
14142
14141
|
(function() {
|
|
@@ -14144,7 +14143,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14144
14143
|
const i = ct();
|
|
14145
14144
|
fm(i);
|
|
14146
14145
|
})();
|
|
14147
|
-
}, { event: t }),
|
|
14146
|
+
}, { event: t }), Yo = null;
|
|
14148
14147
|
}], ["click", function(t, e) {
|
|
14149
14148
|
cn(e, () => {
|
|
14150
14149
|
const n = ue(), r = Rn(Tn(e)), o = Ti();
|
|
@@ -14167,7 +14166,7 @@ const wm = Ae("SELECTION_CHANGE_COMMAND"), oce = Ae("SELECTION_INSERT_CLIPBOARD_
|
|
|
14167
14166
|
}], ["cut", ur], ["copy", ur], ["dragstart", ur], ["dragover", ur], ["dragend", ur], ["paste", ur], ["focus", ur], ["blur", ur], ["drop", ur]];
|
|
14168
14167
|
Ua && cu.push(["beforeinput", (t, e) => function(n, r) {
|
|
14169
14168
|
const o = n.inputType, i = qm(n);
|
|
14170
|
-
o === "deleteCompositionText" ||
|
|
14169
|
+
o === "deleteCompositionText" || wo && gg(r) || o !== "insertCompositionText" && cn(r, () => {
|
|
14171
14170
|
const s = ue();
|
|
14172
14171
|
if (o === "deleteContentBackward") {
|
|
14173
14172
|
if (s === null) {
|
|
@@ -14192,7 +14191,7 @@ Ua && cu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14192
14191
|
const h = s.anchor.getNode(), m = h.getTextContent(), _ = h.canInsertTextAfter(), y = s.anchor.offset === 0 && s.focus.offset === m.length;
|
|
14193
14192
|
let g = Cf && p && !y && _;
|
|
14194
14193
|
if (g && s.isCollapsed() && (g = !He(vu(s.anchor, !0))), !g) {
|
|
14195
|
-
he(r,
|
|
14194
|
+
he(r, mo, !0);
|
|
14196
14195
|
const v = ue();
|
|
14197
14196
|
Cf && ee(v) && v.isCollapsed() && (co = v, setTimeout(() => co = null));
|
|
14198
14197
|
}
|
|
@@ -14204,7 +14203,7 @@ Ua && cu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14204
14203
|
if (!ee(s))
|
|
14205
14204
|
return;
|
|
14206
14205
|
const l = n.data;
|
|
14207
|
-
|
|
14206
|
+
Yo !== null && Cd(!1, r, Yo), s.dirty && Yo === null || !s.isCollapsed() || ht(s.anchor.getNode()) || i === null || s.applyDOMRange(i), Yo = null;
|
|
14208
14207
|
const c = s.anchor, u = s.focus, d = c.getNode(), f = u.getNode();
|
|
14209
14208
|
if (o !== "insertText" && o !== "insertTranspose")
|
|
14210
14209
|
switch (n.preventDefault(), o) {
|
|
@@ -14228,7 +14227,7 @@ Ua && cu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14228
14227
|
break;
|
|
14229
14228
|
case "deleteByComposition":
|
|
14230
14229
|
(function(p, h) {
|
|
14231
|
-
return p !== h || Z(p) || Z(h) || !
|
|
14230
|
+
return p !== h || Z(p) || Z(h) || !go(p) || !go(h);
|
|
14232
14231
|
})(d, f) && he(r, au, n);
|
|
14233
14232
|
break;
|
|
14234
14233
|
case "deleteByDrag":
|
|
@@ -14236,7 +14235,7 @@ Ua && cu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14236
14235
|
he(r, au, n);
|
|
14237
14236
|
break;
|
|
14238
14237
|
case "deleteContent":
|
|
14239
|
-
he(r,
|
|
14238
|
+
he(r, mo, !1);
|
|
14240
14239
|
break;
|
|
14241
14240
|
case "deleteWordBackward":
|
|
14242
14241
|
he(r, Ss, !0);
|
|
@@ -14281,12 +14280,12 @@ Ua && cu.push(["beforeinput", (t, e) => function(n, r) {
|
|
|
14281
14280
|
const p = n.dataTransfer.getData("text/plain");
|
|
14282
14281
|
n.preventDefault(), s.insertRawText(p);
|
|
14283
14282
|
} else
|
|
14284
|
-
l != null && Bm(s, i, l, n.timeStamp, !0) ? (n.preventDefault(), he(r, oi, l)) :
|
|
14283
|
+
l != null && Bm(s, i, l, n.timeStamp, !0) ? (n.preventDefault(), he(r, oi, l)) : Yo = l;
|
|
14285
14284
|
Fm = n.timeStamp;
|
|
14286
14285
|
}
|
|
14287
14286
|
});
|
|
14288
14287
|
}(t, e)]);
|
|
14289
|
-
let ls = 0, Pm = null, Fm = 0,
|
|
14288
|
+
let ls = 0, Pm = null, Fm = 0, Yo = null;
|
|
14290
14289
|
const uu = /* @__PURE__ */ new WeakMap(), Za = /* @__PURE__ */ new WeakMap();
|
|
14291
14290
|
let du = !1, fu = !1, cs = !1, Yi = !1, Ec = !1, Dc = "", co = null, Rm = [0, "", 0, "root", 0];
|
|
14292
14291
|
function Bm(t, e, n, r, o) {
|
|
@@ -14296,7 +14295,7 @@ function Bm(t, e, n, r, o) {
|
|
|
14296
14295
|
return !0;
|
|
14297
14296
|
if (!h.isCollapsed())
|
|
14298
14297
|
return !1;
|
|
14299
|
-
const _ = h.anchor.offset, y = m.getParentOrThrow(), g =
|
|
14298
|
+
const _ = h.anchor.offset, y = m.getParentOrThrow(), g = go(m);
|
|
14300
14299
|
return _ === 0 ? !m.canInsertTextBefore() || !y.canInsertTextBefore() && !m.isComposing() || g || function(v) {
|
|
14301
14300
|
const w = v.getPreviousSibling();
|
|
14302
14301
|
return (ae(w) || Z(w) && w.isInline()) && !w.canInsertTextAfter();
|
|
@@ -14448,9 +14447,9 @@ function pu(t, e, n) {
|
|
|
14448
14447
|
ln(i) && e && t.isSelected() && t.selectPrevious();
|
|
14449
14448
|
if (ee(i) && e && !s) {
|
|
14450
14449
|
const a = t.getIndexWithinParent();
|
|
14451
|
-
|
|
14450
|
+
vo(t), Ya(i, o, a, -1);
|
|
14452
14451
|
} else
|
|
14453
|
-
|
|
14452
|
+
vo(t);
|
|
14454
14453
|
n || jt(o) || o.canBeEmpty() || !o.isEmpty() || pu(o, e), e && i && ht(o) && o.isEmpty() && o.selectEnd();
|
|
14455
14454
|
}
|
|
14456
14455
|
const Vm = Symbol.for("ephemeral");
|
|
@@ -14703,7 +14702,7 @@ class Pn {
|
|
|
14703
14702
|
let r = ue();
|
|
14704
14703
|
r !== null && (r = r.clone()), Nc(this, e);
|
|
14705
14704
|
const o = this.getLatest(), i = this.__key, s = e.__key, a = e.getWritable(), l = this.getParentOrThrow().getWritable(), c = l.__size;
|
|
14706
|
-
|
|
14705
|
+
vo(a);
|
|
14707
14706
|
const u = o.getPreviousSibling(), d = o.getNextSibling(), f = o.__prev, p = o.__next, h = o.__parent;
|
|
14708
14707
|
if (pu(o, !1, !0), u === null ? l.__first = s : u.getWritable().__next = s, a.__prev = f, d === null ? l.__last = s : d.getWritable().__prev = s, a.__next = p, a.__parent = h, l.__size = c, n && (Z(this) && Z(a) || ne(139), this.getChildren().forEach((m) => {
|
|
14709
14708
|
a.append(m);
|
|
@@ -14720,7 +14719,7 @@ class Pn {
|
|
|
14720
14719
|
let a = !1, l = !1;
|
|
14721
14720
|
if (i !== null) {
|
|
14722
14721
|
const p = e.getIndexWithinParent();
|
|
14723
|
-
if (
|
|
14722
|
+
if (vo(o), ee(s)) {
|
|
14724
14723
|
const h = i.__key, m = s.anchor, _ = s.focus;
|
|
14725
14724
|
a = m.type === "element" && m.key === h && m.offset === p + 1, l = _.type === "element" && _.key === h && _.offset === p + 1;
|
|
14726
14725
|
}
|
|
@@ -14737,7 +14736,7 @@ class Pn {
|
|
|
14737
14736
|
insertBefore(e, n = !0) {
|
|
14738
14737
|
xt(), Nc(this, e);
|
|
14739
14738
|
const r = this.getWritable(), o = e.getWritable(), i = o.__key;
|
|
14740
|
-
|
|
14739
|
+
vo(o);
|
|
14741
14740
|
const s = this.getPreviousSibling(), a = this.getParentOrThrow().getWritable(), l = r.__prev, c = this.getIndexWithinParent();
|
|
14742
14741
|
s === null ? a.__first = i : s.getWritable().__next = i, a.__size++, r.__prev = i, o.__prev = l, o.__next = r.__key, o.__parent = r.__parent;
|
|
14743
14742
|
const u = ue();
|
|
@@ -14887,7 +14886,7 @@ function Zm(t, e, n) {
|
|
|
14887
14886
|
else {
|
|
14888
14887
|
const s = r.nodeValue;
|
|
14889
14888
|
if (s !== i)
|
|
14890
|
-
if (o ||
|
|
14889
|
+
if (o || wo) {
|
|
14891
14890
|
const [a, l, c] = function(u, d) {
|
|
14892
14891
|
const f = u.length, p = d.length;
|
|
14893
14892
|
let h = 0, m = 0;
|
|
@@ -15460,9 +15459,9 @@ class Il {
|
|
|
15460
15459
|
}
|
|
15461
15460
|
}
|
|
15462
15461
|
function ee(t) {
|
|
15463
|
-
return t instanceof
|
|
15462
|
+
return t instanceof Io;
|
|
15464
15463
|
}
|
|
15465
|
-
class
|
|
15464
|
+
class Io {
|
|
15466
15465
|
constructor(e, n, r, o) {
|
|
15467
15466
|
Y(this, "format");
|
|
15468
15467
|
Y(this, "style");
|
|
@@ -15548,7 +15547,7 @@ class No {
|
|
|
15548
15547
|
}
|
|
15549
15548
|
clone() {
|
|
15550
15549
|
const e = this.anchor, n = this.focus;
|
|
15551
|
-
return new
|
|
15550
|
+
return new Io(nr(e.key, e.offset, e.type), nr(n.key, n.offset, n.type), this.format, this.style);
|
|
15552
15551
|
}
|
|
15553
15552
|
toggleFormat(e) {
|
|
15554
15553
|
this.format = Xa(this.format, e, null), this.dirty = !0;
|
|
@@ -15585,7 +15584,7 @@ class No {
|
|
|
15585
15584
|
k === null ? w.append(S) : k.insertBefore(S);
|
|
15586
15585
|
}
|
|
15587
15586
|
_.is(y) && y.set(b.__key, 0, "text"), _.set(b.__key, 0, "text");
|
|
15588
|
-
}(s, a, o, i), a.type === "element" &&
|
|
15587
|
+
}(s, a, o, i), a.type === "element" && $o(a, wn(wr(a, "next")));
|
|
15589
15588
|
const l = s.offset;
|
|
15590
15589
|
let c = a.offset;
|
|
15591
15590
|
const u = this.getNodes(), d = u.length;
|
|
@@ -15610,7 +15609,7 @@ class No {
|
|
|
15610
15609
|
return this.insertText(""), Km(this.anchor, this.focus, null), void this.insertText(e);
|
|
15611
15610
|
}
|
|
15612
15611
|
if (d === 1) {
|
|
15613
|
-
if (
|
|
15612
|
+
if (go(f)) {
|
|
15614
15613
|
const v = ft(e);
|
|
15615
15614
|
return v.select(), void f.replace(v);
|
|
15616
15615
|
}
|
|
@@ -15643,7 +15642,7 @@ class No {
|
|
|
15643
15642
|
v = g, g = g.getParentOrThrow();
|
|
15644
15643
|
while (g.isInline());
|
|
15645
15644
|
if (a.type === "text" && (c !== 0 || m.getTextContent() === "") || a.type === "element" && m.getIndexWithinParent() < c)
|
|
15646
|
-
if (ae(m) && !
|
|
15645
|
+
if (ae(m) && !go(m) && c !== m.getTextContentSize()) {
|
|
15647
15646
|
if (m.isSegmented()) {
|
|
15648
15647
|
const $ = ft(m.getTextContent());
|
|
15649
15648
|
m.replace($), m = $;
|
|
@@ -15669,7 +15668,7 @@ class No {
|
|
|
15669
15668
|
(O === 0 || T[O - 1].is(E)) && (_.delete($.__key), E = $), $ = $.getParent();
|
|
15670
15669
|
}
|
|
15671
15670
|
}
|
|
15672
|
-
if (
|
|
15671
|
+
if (go(f))
|
|
15673
15672
|
if (l === p)
|
|
15674
15673
|
f.select();
|
|
15675
15674
|
else {
|
|
@@ -15831,7 +15830,7 @@ class No {
|
|
|
15831
15830
|
return;
|
|
15832
15831
|
const a = i._blockCursorElement, l = i._rootElement, c = this.focus.getNode();
|
|
15833
15832
|
if (l === null || a === null || !Z(c) || c.isInline() || c.canBeEmpty() || yu(a, i, l), this.dirty) {
|
|
15834
|
-
let u =
|
|
15833
|
+
let u = Ao(i, this.anchor.key), d = Ao(i, this.focus.key);
|
|
15835
15834
|
this.anchor.type === "text" && (u = _i(u)), this.focus.type === "text" && (d = _i(d)), u && d && Xm(s, u, this.anchor.offset, d, this.focus.offset);
|
|
15836
15835
|
}
|
|
15837
15836
|
if (function(u, d, f, p) {
|
|
@@ -16038,10 +16037,10 @@ function Wf(t, e, n, r) {
|
|
|
16038
16037
|
const f = c.parentNode;
|
|
16039
16038
|
t === f && e > Array.prototype.indexOf.call(f.children, c) && i--;
|
|
16040
16039
|
}
|
|
16041
|
-
if (o =
|
|
16040
|
+
if (o = Jo(u), ae(o))
|
|
16042
16041
|
i = Ur(o, s ? "next" : "previous");
|
|
16043
16042
|
else {
|
|
16044
|
-
let f =
|
|
16043
|
+
let f = Jo(t);
|
|
16045
16044
|
if (f === null)
|
|
16046
16045
|
return null;
|
|
16047
16046
|
if (Z(f)) {
|
|
@@ -16058,13 +16057,13 @@ function Wf(t, e, n, r) {
|
|
|
16058
16057
|
ae(m) ? (o = m, f = null, i = Ur(m, s ? "next" : "previous")) : m !== f && s && !d && (Z(f) || ne(216), i = Math.min(f.getChildrenSize(), i + 1));
|
|
16059
16058
|
} else {
|
|
16060
16059
|
const p = f.getIndexWithinParent();
|
|
16061
|
-
i = e === 0 && He(f) &&
|
|
16060
|
+
i = e === 0 && He(f) && Jo(t) === f ? p : p + 1, f = f.getParentOrThrow();
|
|
16062
16061
|
}
|
|
16063
16062
|
if (Z(f))
|
|
16064
16063
|
return nr(f.__key, i, "element");
|
|
16065
16064
|
}
|
|
16066
16065
|
} else
|
|
16067
|
-
o =
|
|
16066
|
+
o = Jo(t);
|
|
16068
16067
|
return ae(o) ? nr(o.__key, Ur(o, i, "clamp"), "text") : null;
|
|
16069
16068
|
}
|
|
16070
16069
|
function Zf(t, e, n) {
|
|
@@ -16109,7 +16108,7 @@ function Gm(t, e, n, r, o, i) {
|
|
|
16109
16108
|
if (a === null)
|
|
16110
16109
|
return null;
|
|
16111
16110
|
if (s.type === "element" && a.type === "element") {
|
|
16112
|
-
const l =
|
|
16111
|
+
const l = Jo(t), c = Jo(n);
|
|
16113
16112
|
if (He(l) && He(c))
|
|
16114
16113
|
return null;
|
|
16115
16114
|
}
|
|
@@ -16119,12 +16118,12 @@ function mu(t) {
|
|
|
16119
16118
|
return Z(t) && !t.isInline();
|
|
16120
16119
|
}
|
|
16121
16120
|
function Ym(t, e, n, r, o, i) {
|
|
16122
|
-
const s = Jr(), a = new
|
|
16121
|
+
const s = Jr(), a = new Io(nr(t, e, o), nr(n, r, i), 0, "");
|
|
16123
16122
|
return a.dirty = !0, s._selection = a, a;
|
|
16124
16123
|
}
|
|
16125
16124
|
function Nl() {
|
|
16126
16125
|
const t = nr("root", 0, "element"), e = nr("root", 0, "element");
|
|
16127
|
-
return new
|
|
16126
|
+
return new Io(t, e, 0, "");
|
|
16128
16127
|
}
|
|
16129
16128
|
function Jm() {
|
|
16130
16129
|
return new Il(/* @__PURE__ */ new Set());
|
|
@@ -16145,7 +16144,7 @@ function fd(t, e, n, r) {
|
|
|
16145
16144
|
if (p === null)
|
|
16146
16145
|
return null;
|
|
16147
16146
|
const [h, m] = p;
|
|
16148
|
-
return new
|
|
16147
|
+
return new Io(h, m, ee(t) ? t.format : 0, ee(t) ? t.style : "");
|
|
16149
16148
|
}
|
|
16150
16149
|
function ue() {
|
|
16151
16150
|
return Jr()._selection;
|
|
@@ -16223,7 +16222,7 @@ function Mce(t, e, n, r, o, i, s) {
|
|
|
16223
16222
|
return;
|
|
16224
16223
|
if (!ee(e))
|
|
16225
16224
|
return void (t !== null && Zs(n, a, l) && r.removeAllRanges());
|
|
16226
|
-
const f = e.anchor, p = e.focus, h = f.key, m = p.key, _ =
|
|
16225
|
+
const f = e.anchor, p = e.focus, h = f.key, m = p.key, _ = Ao(n, h), y = Ao(n, m), g = f.offset, v = p.offset, w = e.format, k = e.style, b = e.isCollapsed();
|
|
16227
16226
|
let S = _, $ = y, E = !1;
|
|
16228
16227
|
if (f.type === "text") {
|
|
16229
16228
|
S = _i(_);
|
|
@@ -16310,7 +16309,7 @@ function Lce(t, e) {
|
|
|
16310
16309
|
return [n, t.getIndexWithinParent()];
|
|
16311
16310
|
const r = t.getChildAtIndex(e);
|
|
16312
16311
|
if (r) {
|
|
16313
|
-
const o = new
|
|
16312
|
+
const o = new Io(nr(t.__key, e, "element"), nr(t.__key, e, "element"), 0, ""), i = t.insertNewAfter(o);
|
|
16314
16313
|
i && i.append(r, ...r.getNextSiblings());
|
|
16315
16314
|
}
|
|
16316
16315
|
return [n, t.getIndexWithinParent() + 1];
|
|
@@ -16347,7 +16346,7 @@ function Yf(t, e, n, r, o = "decorators-and-blocks") {
|
|
|
16347
16346
|
const u = Jm();
|
|
16348
16347
|
return u.add(l.origin.getKey()), Nt(u), !0;
|
|
16349
16348
|
}
|
|
16350
|
-
return l = wn(l), a &&
|
|
16349
|
+
return l = wn(l), a && $o(t.anchor, l), $o(t.focus, l), c || !s;
|
|
16351
16350
|
}
|
|
16352
16351
|
let At = null, Tt = null, Xt = !1, Ic = !1, Aa = 0;
|
|
16353
16352
|
const Jf = { characterData: !0, childList: !0, subtree: !0 };
|
|
@@ -16368,7 +16367,7 @@ function ct() {
|
|
|
16368
16367
|
}
|
|
16369
16368
|
function eg() {
|
|
16370
16369
|
let t = 0;
|
|
16371
|
-
const e = /* @__PURE__ */ new Set(), n =
|
|
16370
|
+
const e = /* @__PURE__ */ new Set(), n = So.version;
|
|
16372
16371
|
if (typeof window < "u")
|
|
16373
16372
|
for (const o of document.querySelectorAll("[contenteditable]")) {
|
|
16374
16373
|
const i = Rl(o);
|
|
@@ -17010,14 +17009,14 @@ class hn extends Pn {
|
|
|
17010
17009
|
for (let m = 0; m < r; m++) {
|
|
17011
17010
|
h === null && ne(100);
|
|
17012
17011
|
const _ = h.getNextSibling(), y = h.__key;
|
|
17013
|
-
|
|
17012
|
+
vo(h.getWritable()), c.push(y), h = _;
|
|
17014
17013
|
}
|
|
17015
17014
|
}
|
|
17016
17015
|
let p = d;
|
|
17017
17016
|
for (const h of o) {
|
|
17018
17017
|
p !== null && h.is(p) && (d = p = p.getPreviousSibling());
|
|
17019
17018
|
const m = h.getWritable();
|
|
17020
|
-
m.__parent === a && f--,
|
|
17019
|
+
m.__parent === a && f--, vo(m);
|
|
17021
17020
|
const _ = h.__key;
|
|
17022
17021
|
if (p === null)
|
|
17023
17022
|
s.__first = _, m.__prev = null;
|
|
@@ -17349,7 +17348,7 @@ function Bce(t) {
|
|
|
17349
17348
|
p.set(v, { exportDOM: d && d.export ? d.export.get(_) : void 0, klass: _, replace: y, replaceWithKlass: g, sharedNodeState: Xle(c[m]), transforms: w });
|
|
17350
17349
|
}
|
|
17351
17350
|
}
|
|
17352
|
-
const h = new
|
|
17351
|
+
const h = new So(s, o, p, { disableEvents: i, namespace: a, theme: r }, u || console.error, function(m, _) {
|
|
17353
17352
|
const y = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Set(), v = (w) => {
|
|
17354
17353
|
Object.keys(w).forEach((k) => {
|
|
17355
17354
|
let b = y.get(k);
|
|
@@ -17367,7 +17366,7 @@ function Bce(t) {
|
|
|
17367
17366
|
}(p, d ? d.import : void 0), f, t);
|
|
17368
17367
|
return l !== void 0 && (h._pendingEditorState = l, h._dirtyType = 2), h;
|
|
17369
17368
|
}
|
|
17370
|
-
class
|
|
17369
|
+
class So {
|
|
17371
17370
|
constructor(e, n, r, o, i, s, a, l) {
|
|
17372
17371
|
Y(this, "_headless");
|
|
17373
17372
|
Y(this, "_parentEditor");
|
|
@@ -17629,8 +17628,8 @@ class Ao {
|
|
|
17629
17628
|
return { editorState: this._editorState.toJSON() };
|
|
17630
17629
|
}
|
|
17631
17630
|
}
|
|
17632
|
-
Y(
|
|
17633
|
-
|
|
17631
|
+
Y(So, "version");
|
|
17632
|
+
So.version = "0.38.1+prod.esm";
|
|
17634
17633
|
let gu = null;
|
|
17635
17634
|
function gd(t) {
|
|
17636
17635
|
gu = t;
|
|
@@ -17665,7 +17664,7 @@ function Zs(t, e, n) {
|
|
|
17665
17664
|
}
|
|
17666
17665
|
}
|
|
17667
17666
|
function yd(t) {
|
|
17668
|
-
return t instanceof
|
|
17667
|
+
return t instanceof So;
|
|
17669
17668
|
}
|
|
17670
17669
|
function ag(t) {
|
|
17671
17670
|
let e = t;
|
|
@@ -17680,11 +17679,11 @@ function ag(t) {
|
|
|
17680
17679
|
function Rl(t) {
|
|
17681
17680
|
return t ? t.__lexicalEditor : null;
|
|
17682
17681
|
}
|
|
17683
|
-
function
|
|
17682
|
+
function go(t) {
|
|
17684
17683
|
return Ll(t) || t.isToken();
|
|
17685
17684
|
}
|
|
17686
17685
|
function pr(t) {
|
|
17687
|
-
return
|
|
17686
|
+
return go(t) || t.isSegmented();
|
|
17688
17687
|
}
|
|
17689
17688
|
function Sr(t) {
|
|
17690
17689
|
return Ei(t) && t.nodeType === 3;
|
|
@@ -17722,7 +17721,7 @@ function zce(t, e) {
|
|
|
17722
17721
|
const r = ct(), o = Jr(), i = "" + Uce++;
|
|
17723
17722
|
o._nodeMap.set(i, t), Z(t) ? r._dirtyElements.set(i, !0) : r._dirtyLeaves.add(i), r._cloneNotNeeded.add(i), r._dirtyType = 1, t.__key = i;
|
|
17724
17723
|
}
|
|
17725
|
-
function
|
|
17724
|
+
function vo(t) {
|
|
17726
17725
|
const e = t.getParent();
|
|
17727
17726
|
if (e !== null) {
|
|
17728
17727
|
const n = t.getWritable(), r = e.getWritable(), o = t.getPreviousSibling(), i = t.getNextSibling(), s = i !== null ? i.__key : null, a = o !== null ? o.__key : null, l = o !== null ? o.getWritable() : null, c = i !== null ? i.getWritable() : null;
|
|
@@ -17802,7 +17801,7 @@ function Nt(t) {
|
|
|
17802
17801
|
const e = Jr();
|
|
17803
17802
|
t !== null && (t.dirty = !0, t.setCachedNodes(null)), e._selection = t;
|
|
17804
17803
|
}
|
|
17805
|
-
function
|
|
17804
|
+
function Jo(t) {
|
|
17806
17805
|
const e = ct(), n = function(r, o) {
|
|
17807
17806
|
let i = r;
|
|
17808
17807
|
for (; i != null; ) {
|
|
@@ -17992,7 +17991,7 @@ function he(t, e, n) {
|
|
|
17992
17991
|
function Ul(t) {
|
|
17993
17992
|
return !ht(t) && !t.isLastChild() && !t.isInline();
|
|
17994
17993
|
}
|
|
17995
|
-
function
|
|
17994
|
+
function Ao(t, e) {
|
|
17996
17995
|
const n = t._keyToDOMMap.get(e);
|
|
17997
17996
|
return n === void 0 && ne(75, e), n;
|
|
17998
17997
|
}
|
|
@@ -18146,7 +18145,7 @@ function zl(t) {
|
|
|
18146
18145
|
} catch {
|
|
18147
18146
|
}
|
|
18148
18147
|
try {
|
|
18149
|
-
|
|
18148
|
+
So.version && (l = JSON.parse(So.version));
|
|
18150
18149
|
} catch {
|
|
18151
18150
|
}
|
|
18152
18151
|
ne(290, s.name, a, l);
|
|
@@ -18264,7 +18263,7 @@ function Di(t) {
|
|
|
18264
18263
|
function Td(t, e = "root") {
|
|
18265
18264
|
return tue[e](t) ? null : t;
|
|
18266
18265
|
}
|
|
18267
|
-
class
|
|
18266
|
+
class To extends Ad {
|
|
18268
18267
|
constructor() {
|
|
18269
18268
|
super(...arguments);
|
|
18270
18269
|
Y(this, "type", "sibling");
|
|
@@ -18290,13 +18289,13 @@ class Eo extends Ad {
|
|
|
18290
18289
|
return Lt(this.getNodeAtCaret(), n) || Bn(this.origin.getParentOrThrow(), n);
|
|
18291
18290
|
}
|
|
18292
18291
|
isSamePointCaret(n) {
|
|
18293
|
-
return n instanceof
|
|
18292
|
+
return n instanceof To && this.direction === n.direction && this.origin.is(n.origin);
|
|
18294
18293
|
}
|
|
18295
18294
|
isSameNodeCaret(n) {
|
|
18296
|
-
return (n instanceof
|
|
18295
|
+
return (n instanceof To || n instanceof Eo) && this.direction === n.direction && this.origin.is(n.origin);
|
|
18297
18296
|
}
|
|
18298
18297
|
}
|
|
18299
|
-
class
|
|
18298
|
+
class Eo extends Ad {
|
|
18300
18299
|
constructor(n, r) {
|
|
18301
18300
|
super(n);
|
|
18302
18301
|
Y(this, "type", "text");
|
|
@@ -18305,7 +18304,7 @@ class Do extends Ad {
|
|
|
18305
18304
|
}
|
|
18306
18305
|
getLatest() {
|
|
18307
18306
|
const n = this.origin.getLatest();
|
|
18308
|
-
return n === this.origin ? this :
|
|
18307
|
+
return n === this.origin ? this : Do(n, this.direction, this.offset);
|
|
18309
18308
|
}
|
|
18310
18309
|
getParentAtCaret() {
|
|
18311
18310
|
return this.origin.getParent();
|
|
@@ -18317,28 +18316,28 @@ class Do extends Ad {
|
|
|
18317
18316
|
return Lt(Td(this.getParentAtCaret(), n), this.direction);
|
|
18318
18317
|
}
|
|
18319
18318
|
getFlipped() {
|
|
18320
|
-
return
|
|
18319
|
+
return Do(this.origin, Di(this.direction), this.offset);
|
|
18321
18320
|
}
|
|
18322
18321
|
isSamePointCaret(n) {
|
|
18323
|
-
return n instanceof
|
|
18322
|
+
return n instanceof Eo && this.direction === n.direction && this.origin.is(n.origin) && this.offset === n.offset;
|
|
18324
18323
|
}
|
|
18325
18324
|
isSameNodeCaret(n) {
|
|
18326
|
-
return (n instanceof
|
|
18325
|
+
return (n instanceof To || n instanceof Eo) && this.direction === n.direction && this.origin.is(n.origin);
|
|
18327
18326
|
}
|
|
18328
18327
|
getSiblingCaret() {
|
|
18329
18328
|
return Lt(this.origin, this.direction);
|
|
18330
18329
|
}
|
|
18331
18330
|
}
|
|
18332
18331
|
function Br(t) {
|
|
18333
|
-
return t instanceof
|
|
18332
|
+
return t instanceof Eo;
|
|
18334
18333
|
}
|
|
18335
18334
|
function bi(t) {
|
|
18336
|
-
return t instanceof
|
|
18335
|
+
return t instanceof To;
|
|
18337
18336
|
}
|
|
18338
18337
|
function Xn(t) {
|
|
18339
18338
|
return t instanceof Ts;
|
|
18340
18339
|
}
|
|
18341
|
-
const nue = { next: class extends
|
|
18340
|
+
const nue = { next: class extends Eo {
|
|
18342
18341
|
constructor() {
|
|
18343
18342
|
super(...arguments);
|
|
18344
18343
|
Y(this, "direction", "next");
|
|
@@ -18349,7 +18348,7 @@ const nue = { next: class extends Do {
|
|
|
18349
18348
|
insert(e) {
|
|
18350
18349
|
return this.origin.insertAfter(e), this;
|
|
18351
18350
|
}
|
|
18352
|
-
}, previous: class extends
|
|
18351
|
+
}, previous: class extends Eo {
|
|
18353
18352
|
constructor() {
|
|
18354
18353
|
super(...arguments);
|
|
18355
18354
|
Y(this, "direction", "previous");
|
|
@@ -18360,7 +18359,7 @@ const nue = { next: class extends Do {
|
|
|
18360
18359
|
insert(e) {
|
|
18361
18360
|
return this.origin.insertBefore(e), this;
|
|
18362
18361
|
}
|
|
18363
|
-
} }, rue = { next: class extends
|
|
18362
|
+
} }, rue = { next: class extends To {
|
|
18364
18363
|
constructor() {
|
|
18365
18364
|
super(...arguments);
|
|
18366
18365
|
Y(this, "direction", "next");
|
|
@@ -18371,7 +18370,7 @@ const nue = { next: class extends Do {
|
|
|
18371
18370
|
insert(e) {
|
|
18372
18371
|
return this.origin.insertAfter(e), this;
|
|
18373
18372
|
}
|
|
18374
|
-
}, previous: class extends
|
|
18373
|
+
}, previous: class extends To {
|
|
18375
18374
|
constructor() {
|
|
18376
18375
|
super(...arguments);
|
|
18377
18376
|
Y(this, "direction", "previous");
|
|
@@ -18408,7 +18407,7 @@ const nue = { next: class extends Do {
|
|
|
18408
18407
|
function Lt(t, e) {
|
|
18409
18408
|
return t ? new rue[e](t) : null;
|
|
18410
18409
|
}
|
|
18411
|
-
function
|
|
18410
|
+
function Do(t, e, n) {
|
|
18412
18411
|
return t ? new nue[e](t, Ur(t, n)) : null;
|
|
18413
18412
|
}
|
|
18414
18413
|
function Ur(t, e, n = "error") {
|
|
@@ -18486,7 +18485,7 @@ class sue {
|
|
|
18486
18485
|
}
|
|
18487
18486
|
removeTextSlice() {
|
|
18488
18487
|
const { caret: { origin: e, direction: n } } = this, [r, o] = this.getSliceIndices(), i = e.getTextContent();
|
|
18489
|
-
return
|
|
18488
|
+
return Do(e.setTextContent(i.slice(0, r) + i.slice(o)), n, r);
|
|
18490
18489
|
}
|
|
18491
18490
|
}
|
|
18492
18491
|
function $d(t) {
|
|
@@ -18559,9 +18558,9 @@ function Ta(t, e) {
|
|
|
18559
18558
|
}
|
|
18560
18559
|
function wr(t, e) {
|
|
18561
18560
|
const { type: n, key: r, offset: o } = t, i = Kce(t.key);
|
|
18562
|
-
return n === "text" ? (ae(i) || ne(266, i.getType(), r),
|
|
18561
|
+
return n === "text" ? (ae(i) || ne(266, i.getType(), r), Do(i, e, o)) : (Z(i) || ne(267, i.getType(), r), uue(i, t.offset, e));
|
|
18563
18562
|
}
|
|
18564
|
-
function
|
|
18563
|
+
function $o(t, e) {
|
|
18565
18564
|
const { origin: n, direction: r } = e, o = r === "next";
|
|
18566
18565
|
Br(e) ? t.set(n.getKey(), e.offset, "text") : bi(e) ? ae(n) ? t.set(n.getKey(), Ur(n, r), "text") : t.set(n.getParentOrThrow().getKey(), n.getIndexWithinParent() + (o ? 1 : 0), "element") : (Xn(e) && Z(n) || ne(268), t.set(n.getKey(), o ? 0 : n.getChildrenSize(), "element"));
|
|
18567
18566
|
}
|
|
@@ -18570,7 +18569,7 @@ function lue(t) {
|
|
|
18570
18569
|
return Ea(n, t), Nt(n), n;
|
|
18571
18570
|
}
|
|
18572
18571
|
function Ea(t, e) {
|
|
18573
|
-
|
|
18572
|
+
$o(t.anchor, e.anchor), $o(t.focus, e.focus);
|
|
18574
18573
|
}
|
|
18575
18574
|
function mp(t) {
|
|
18576
18575
|
const { anchor: e, focus: n } = t, r = wr(e, "next"), o = wr(n, "next"), i = Cg(r, o) <= 0 ? "next" : "previous";
|
|
@@ -18616,7 +18615,7 @@ function cue(t, e = "removeEmptySlices") {
|
|
|
18616
18615
|
const w = h.caret.origin;
|
|
18617
18616
|
if (g === "segmented") {
|
|
18618
18617
|
const k = v.origin, b = ft(k.getTextContent()).setStyle(k.getStyle()).setFormat(k.getFormat());
|
|
18619
|
-
y.replaceOrInsert(b), v =
|
|
18618
|
+
y.replaceOrInsert(b), v = Do(b, r, v.offset);
|
|
18620
18619
|
}
|
|
18621
18620
|
w.is(s[0].origin) && (s[0] = v), w.is(a[0].origin) && (a[0] = v.getFlipped());
|
|
18622
18621
|
}
|
|
@@ -18679,9 +18678,9 @@ function wn(t) {
|
|
|
18679
18678
|
return i;
|
|
18680
18679
|
}(t.getLatest()), { direction: n } = e;
|
|
18681
18680
|
if (ae(e.origin))
|
|
18682
|
-
return Br(e) ? e :
|
|
18681
|
+
return Br(e) ? e : Do(e.origin, n, n);
|
|
18683
18682
|
const r = e.getAdjacentCaret();
|
|
18684
|
-
return bi(r) && ae(r.origin) ?
|
|
18683
|
+
return bi(r) && ae(r.origin) ? Do(r.origin, n, Di(n)) : e;
|
|
18685
18684
|
}
|
|
18686
18685
|
function kg(t) {
|
|
18687
18686
|
return Br(t) && t.offset !== Ur(t.origin, t.direction);
|
|
@@ -18940,7 +18939,7 @@ function wp(t) {
|
|
|
18940
18939
|
Z(s) && (c.setFormat(s.getFormatType()), c.setIndent(s.getIndent())), l.append(c);
|
|
18941
18940
|
} else if (Ve(s)) {
|
|
18942
18941
|
const c = s.getParentOrThrow();
|
|
18943
|
-
|
|
18942
|
+
Mo(l, c.getChildren()), c.replace(l);
|
|
18944
18943
|
}
|
|
18945
18944
|
return;
|
|
18946
18945
|
}
|
|
@@ -18958,7 +18957,7 @@ function wp(t) {
|
|
|
18958
18957
|
if (De(s)) {
|
|
18959
18958
|
if (!r.has(a)) {
|
|
18960
18959
|
const l = Qt(t);
|
|
18961
|
-
|
|
18960
|
+
Mo(l, s.getChildren()), s.replace(l), r.add(a);
|
|
18962
18961
|
}
|
|
18963
18962
|
break;
|
|
18964
18963
|
}
|
|
@@ -18974,7 +18973,7 @@ function wp(t) {
|
|
|
18974
18973
|
}
|
|
18975
18974
|
}
|
|
18976
18975
|
}
|
|
18977
|
-
function
|
|
18976
|
+
function Mo(t, e) {
|
|
18978
18977
|
t.splice(t.getChildrenSize(), 0, e);
|
|
18979
18978
|
}
|
|
18980
18979
|
function kp(t, e) {
|
|
@@ -18982,8 +18981,8 @@ function kp(t, e) {
|
|
|
18982
18981
|
return t;
|
|
18983
18982
|
const n = t.getPreviousSibling(), r = t.getNextSibling(), o = mn();
|
|
18984
18983
|
let i;
|
|
18985
|
-
if (
|
|
18986
|
-
n.append(o), De(r) && e === r.getListType() && (
|
|
18984
|
+
if (Mo(o, t.getChildren()), De(n) && e === n.getListType())
|
|
18985
|
+
n.append(o), De(r) && e === r.getListType() && (Mo(n, r.getChildren()), r.remove()), i = n;
|
|
18987
18986
|
else if (De(r) && e === r.getListType())
|
|
18988
18987
|
r.getFirstChildOrThrow().insertBefore(o), i = r;
|
|
18989
18988
|
else {
|
|
@@ -19017,7 +19016,7 @@ function bue() {
|
|
|
19017
19016
|
const s = Lg(o);
|
|
19018
19017
|
for (const a of s) {
|
|
19019
19018
|
const l = ot().setTextStyle(t.style).setTextFormat(t.format);
|
|
19020
|
-
|
|
19019
|
+
Mo(l, a.getChildren()), i.insertAfter(l), i = l, a.__key === t.anchor.key && $o(t.anchor, wn(Bn(l, "next"))), a.__key === t.focus.key && $o(t.focus, wn(Bn(l, "next"))), a.remove();
|
|
19021
19020
|
}
|
|
19022
19021
|
o.remove();
|
|
19023
19022
|
}
|
|
@@ -19039,7 +19038,7 @@ function Cue(t) {
|
|
|
19039
19038
|
if (De(i)) {
|
|
19040
19039
|
i.append(t);
|
|
19041
19040
|
const s = r.getFirstChild();
|
|
19042
|
-
De(s) && (
|
|
19041
|
+
De(s) && (Mo(i, s.getChildren()), r.remove(), e.add(r.getKey()));
|
|
19043
19042
|
}
|
|
19044
19043
|
} else if (Kn(r)) {
|
|
19045
19044
|
const i = r.getFirstChild();
|
|
@@ -19069,7 +19068,7 @@ function wue(t) {
|
|
|
19069
19068
|
const i = e.getListType(), s = mn(), a = Qt(i);
|
|
19070
19069
|
s.append(a), t.getPreviousSiblings().forEach((u) => a.append(u));
|
|
19071
19070
|
const l = mn(), c = Qt(i);
|
|
19072
|
-
l.append(c),
|
|
19071
|
+
l.append(c), Mo(c, t.getNextSiblings()), n.insertBefore(s), n.insertAfter(l), n.replace(t);
|
|
19073
19072
|
}
|
|
19074
19073
|
}
|
|
19075
19074
|
}
|
|
@@ -19341,7 +19340,7 @@ function mn(t) {
|
|
|
19341
19340
|
function Ve(t) {
|
|
19342
19341
|
return t instanceof Xr;
|
|
19343
19342
|
}
|
|
19344
|
-
let
|
|
19343
|
+
let No = class extends hn {
|
|
19345
19344
|
constructor(n = "number", r = 1, o) {
|
|
19346
19345
|
super(o);
|
|
19347
19346
|
Y(this, "__tag");
|
|
@@ -19460,10 +19459,10 @@ function Ap(t) {
|
|
|
19460
19459
|
}
|
|
19461
19460
|
const Aue = { ol: "number", ul: "bullet" };
|
|
19462
19461
|
function Qt(t = "number", e = 1) {
|
|
19463
|
-
return zn(new
|
|
19462
|
+
return zn(new No(t, e));
|
|
19464
19463
|
}
|
|
19465
19464
|
function De(t) {
|
|
19466
|
-
return t instanceof
|
|
19465
|
+
return t instanceof No;
|
|
19467
19466
|
}
|
|
19468
19467
|
const Tue = Ae("UPDATE_LIST_START_COMMAND"), Pg = Ae("INSERT_UNORDERED_LIST_COMMAND"), Fg = Ae("INSERT_ORDERED_LIST_COMMAND"), Eue = Ae("REMOVE_LIST_COMMAND");
|
|
19469
19468
|
function Due(t) {
|
|
@@ -19517,7 +19516,7 @@ function $ue(t) {
|
|
|
19517
19516
|
}
|
|
19518
19517
|
}
|
|
19519
19518
|
};
|
|
19520
|
-
return t.registerNodeTransform(
|
|
19519
|
+
return t.registerNodeTransform(No, (n) => {
|
|
19521
19520
|
const r = [n];
|
|
19522
19521
|
for (; r.length > 0; ) {
|
|
19523
19522
|
const o = r.shift();
|
|
@@ -19757,9 +19756,9 @@ function Fue(t) {
|
|
|
19757
19756
|
}
|
|
19758
19757
|
return e;
|
|
19759
19758
|
}
|
|
19760
|
-
let
|
|
19759
|
+
let jo = null;
|
|
19761
19760
|
async function Dp(t, e, n) {
|
|
19762
|
-
if (
|
|
19761
|
+
if (jo !== null)
|
|
19763
19762
|
return !1;
|
|
19764
19763
|
if (e !== null)
|
|
19765
19764
|
return new Promise((c, u) => {
|
|
@@ -19774,9 +19773,9 @@ async function Dp(t, e, n) {
|
|
|
19774
19773
|
a.style.cssText = "position: fixed; top: -1000px;", a.append(i.createTextNode("#")), r.append(a);
|
|
19775
19774
|
const l = new Range();
|
|
19776
19775
|
return l.setStart(a, 0), l.setEnd(a, 1), s.removeAllRanges(), s.addRange(l), new Promise((c, u) => {
|
|
19777
|
-
const d = t.registerCommand(Ol, (f) => (fo(f, ClipboardEvent) && (d(),
|
|
19778
|
-
|
|
19779
|
-
d(),
|
|
19776
|
+
const d = t.registerCommand(Ol, (f) => (fo(f, ClipboardEvent) && (d(), jo !== null && (o.clearTimeout(jo), jo = null), c($p(t, f, n))), !0), Fce);
|
|
19777
|
+
jo = o.setTimeout(() => {
|
|
19778
|
+
d(), jo = null, c(!1);
|
|
19780
19779
|
}, 50), i.execCommand("copy"), a.remove();
|
|
19781
19780
|
});
|
|
19782
19781
|
}
|
|
@@ -19868,7 +19867,7 @@ function Mp(t, e) {
|
|
|
19868
19867
|
}
|
|
19869
19868
|
return null;
|
|
19870
19869
|
}
|
|
19871
|
-
const
|
|
19870
|
+
const Po = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, que = Po && "documentMode" in document ? document.documentMode : null, zue = Po && /Mac|iPod|iPhone|iPad/.test(navigator.platform), Hue = !(!Po || !("InputEvent" in window) || que) && "getTargetRanges" in new window.InputEvent("input"), Vue = Po && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), Op = Po && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, jue = Po && /^(?=.*Chrome).*/i.test(navigator.userAgent), Wue = Po && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && zue && !jue, Lp = Ae("DRAG_DROP_PASTE_FILE");
|
|
19872
19871
|
let Nd = class Hg extends hn {
|
|
19873
19872
|
static getType() {
|
|
19874
19873
|
return "quote";
|
|
@@ -19949,7 +19948,7 @@ let Hl = class Vg extends hn {
|
|
|
19949
19948
|
return n.__tag !== this.__tag;
|
|
19950
19949
|
}
|
|
19951
19950
|
static importDOM() {
|
|
19952
|
-
return { h1: (n) => ({ conversion:
|
|
19951
|
+
return { h1: (n) => ({ conversion: Wo, priority: 0 }), h2: (n) => ({ conversion: Wo, priority: 0 }), h3: (n) => ({ conversion: Wo, priority: 0 }), h4: (n) => ({ conversion: Wo, priority: 0 }), h5: (n) => ({ conversion: Wo, priority: 0 }), h6: (n) => ({ conversion: Wo, priority: 0 }), p: (n) => {
|
|
19953
19952
|
const r = n.firstChild;
|
|
19954
19953
|
return r !== null && Ip(r) ? { conversion: () => ({ node: null }), priority: 3 } : null;
|
|
19955
19954
|
}, span: (n) => Ip(n) ? { conversion: (r) => ({ node: po("h1") }), priority: 3 } : null };
|
|
@@ -19993,7 +19992,7 @@ let Hl = class Vg extends hn {
|
|
|
19993
19992
|
function Ip(t) {
|
|
19994
19993
|
return t.nodeName.toLowerCase() === "span" && t.style.fontSize === "26pt";
|
|
19995
19994
|
}
|
|
19996
|
-
function
|
|
19995
|
+
function Wo(t) {
|
|
19997
19996
|
const e = t.nodeName.toLowerCase();
|
|
19998
19997
|
let n = null;
|
|
19999
19998
|
return e !== "h1" && e !== "h2" && e !== "h3" && e !== "h4" && e !== "h5" && e !== "h6" || (n = po(e), t.style !== null && (Sd(t, n), n.setFormat(t.style.textAlign))), { node: n };
|
|
@@ -20044,7 +20043,7 @@ function Kue(t) {
|
|
|
20044
20043
|
return Gs(t.registerCommand(km, (e) => {
|
|
20045
20044
|
const n = ue();
|
|
20046
20045
|
return !!ln(n) && (n.clear(), !0);
|
|
20047
|
-
}, qe), t.registerCommand(
|
|
20046
|
+
}, qe), t.registerCommand(mo, (e) => {
|
|
20048
20047
|
const n = ue();
|
|
20049
20048
|
return ee(n) ? (n.deleteCharacter(e), !0) : !!ln(n) && (n.deleteNodes(), !0);
|
|
20050
20049
|
}, qe), t.registerCommand(Ss, (e) => {
|
|
@@ -20173,12 +20172,12 @@ function Kue(t) {
|
|
|
20173
20172
|
return !1;
|
|
20174
20173
|
} else if (!ln(n))
|
|
20175
20174
|
return !1;
|
|
20176
|
-
return e.preventDefault(), t.dispatchCommand(
|
|
20175
|
+
return e.preventDefault(), t.dispatchCommand(mo, !0);
|
|
20177
20176
|
}, qe), t.registerCommand(Mm, (e) => {
|
|
20178
20177
|
if (Pp(e.target))
|
|
20179
20178
|
return !1;
|
|
20180
20179
|
const n = ue();
|
|
20181
|
-
return !(!ee(n) && !ln(n)) && (e.preventDefault(), t.dispatchCommand(
|
|
20180
|
+
return !(!ee(n) && !ln(n)) && (e.preventDefault(), t.dispatchCommand(mo, !1));
|
|
20182
20181
|
}, qe), t.registerCommand(Wa, (e) => {
|
|
20183
20182
|
const n = ue();
|
|
20184
20183
|
if (!ee(n))
|
|
@@ -23598,7 +23597,7 @@ const Xg = /^(\s*)(\d{1,})\.\s/, Qg = /^(\s*)[-*+]\s/, fde = /^(\s*)(?:[-*+]\s)?
|
|
|
23598
23597
|
s.append(l), t.append(s);
|
|
23599
23598
|
} else
|
|
23600
23599
|
e && n0((l) => Jn(l ? l[1] : void 0))(t, e, n, i);
|
|
23601
|
-
}, type: "multiline-element" }, s0 = { dependencies: [
|
|
23600
|
+
}, type: "multiline-element" }, s0 = { dependencies: [No, Xr], export: (t, e) => De(t) ? Rd(t, e, 0) : null, regExp: Qg, replace: r0("bullet"), type: "element" }, a0 = { dependencies: [No, Xr], export: (t, e) => De(t) ? Rd(t, e, 0) : null, regExp: Xg, replace: r0("number"), type: "element" }, l0 = { format: ["code"], tag: "`", type: "text-format" }, vde = { format: ["highlight"], tag: "==", type: "text-format" }, c0 = { format: ["bold", "italic"], tag: "***", type: "text-format" }, _de = { format: ["bold", "italic"], intraword: !1, tag: "___", type: "text-format" }, u0 = { format: ["bold"], tag: "**", type: "text-format" }, yde = { format: ["bold"], intraword: !1, tag: "__", type: "text-format" }, d0 = { format: ["strikethrough"], tag: "~~", type: "text-format" }, f0 = { format: ["italic"], tag: "*", type: "text-format" }, bde = { format: ["italic"], intraword: !1, tag: "_", type: "text-format" }, Cde = { dependencies: [$i], export: (t, e, n) => {
|
|
23602
23601
|
if (!nde(t) || rde(t))
|
|
23603
23602
|
return null;
|
|
23604
23603
|
const r = t.getTitle(), o = e(t);
|
|
@@ -24720,7 +24719,7 @@ const Jde = (() => {
|
|
|
24720
24719
|
const o = e, i = Mi();
|
|
24721
24720
|
return Xp((s) => {
|
|
24722
24721
|
if (!i.hasNodes([
|
|
24723
|
-
|
|
24722
|
+
No,
|
|
24724
24723
|
Xr
|
|
24725
24724
|
]))
|
|
24726
24725
|
throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor");
|
|
@@ -24807,7 +24806,7 @@ const t1e = (() => {
|
|
|
24807
24806
|
})), c = {
|
|
24808
24807
|
namespace: "AoLexicalEditor",
|
|
24809
24808
|
nodes: [
|
|
24810
|
-
|
|
24809
|
+
No,
|
|
24811
24810
|
Xr,
|
|
24812
24811
|
Hl,
|
|
24813
24812
|
Vl
|
|
@@ -27024,7 +27023,7 @@ const ape = /* @__PURE__ */ ce({
|
|
|
27024
27023
|
r("update:rule", { ...n.rule, durationUnit: g });
|
|
27025
27024
|
}
|
|
27026
27025
|
}), y = L(() => Object.values(gy));
|
|
27027
|
-
return (g, v) => (x(), J(
|
|
27026
|
+
return (g, v) => (x(), J(Oo(t.tagName), { class: "ao-rule-line" }, {
|
|
27028
27027
|
default: de(() => [
|
|
27029
27028
|
P(ie(Lr), {
|
|
27030
27029
|
modelValue: i.value,
|
|
@@ -27121,7 +27120,7 @@ const lpe = { class: "ao-template-rules__body" }, cpe = { class: "ao-template-ru
|
|
|
27121
27120
|
}));
|
|
27122
27121
|
}
|
|
27123
27122
|
});
|
|
27124
|
-
function
|
|
27123
|
+
function _o(t, e, n) {
|
|
27125
27124
|
const r = t.length, o = t.at(-1), i = o ? St.LexoRank.parse(o.rank).genNext() : St.LexoRank.middle();
|
|
27126
27125
|
return {
|
|
27127
27126
|
name: n(`template.defaultName.${e}`, { idx: r + 1 }),
|
|
@@ -27216,7 +27215,7 @@ const dpe = {
|
|
|
27216
27215
|
}), p = () => {
|
|
27217
27216
|
if (!i.value)
|
|
27218
27217
|
return;
|
|
27219
|
-
const { name: V, rank: G } =
|
|
27218
|
+
const { name: V, rank: G } = _o(
|
|
27220
27219
|
i.value.phases,
|
|
27221
27220
|
"phase",
|
|
27222
27221
|
n
|
|
@@ -27256,7 +27255,7 @@ const dpe = {
|
|
|
27256
27255
|
}, g = (V) => {
|
|
27257
27256
|
if (!a.value)
|
|
27258
27257
|
return;
|
|
27259
|
-
const { name: G, rank: le } =
|
|
27258
|
+
const { name: G, rank: le } = _o(
|
|
27260
27259
|
a.value.milestones,
|
|
27261
27260
|
"milestone",
|
|
27262
27261
|
n
|
|
@@ -27292,7 +27291,7 @@ const dpe = {
|
|
|
27292
27291
|
const { milestoneId: G } = V;
|
|
27293
27292
|
if (!l.value)
|
|
27294
27293
|
return;
|
|
27295
|
-
const { name: le, rank: _e } =
|
|
27294
|
+
const { name: le, rank: _e } = _o(
|
|
27296
27295
|
l.value.activities,
|
|
27297
27296
|
"activity",
|
|
27298
27297
|
n
|
|
@@ -27376,7 +27375,7 @@ const dpe = {
|
|
|
27376
27375
|
return i.value ? (x(), M("div", dpe, [
|
|
27377
27376
|
P(Fs, {
|
|
27378
27377
|
"can-go-back": !0,
|
|
27379
|
-
onGoBack: G[1] || (G[1] = (W) => V.$router.push({ name: ie(
|
|
27378
|
+
onGoBack: G[1] || (G[1] = (W) => V.$router.push({ name: ie(Xo).TEMPLATES_LIST }))
|
|
27380
27379
|
}, {
|
|
27381
27380
|
primary: de(() => [
|
|
27382
27381
|
P(Bt, {
|
|
@@ -27528,7 +27527,7 @@ const ype = { class: "ao-card__content" }, bpe = {
|
|
|
27528
27527
|
variant: { default: "default" }
|
|
27529
27528
|
},
|
|
27530
27529
|
setup(t) {
|
|
27531
|
-
return (e, n) => (x(), J(
|
|
27530
|
+
return (e, n) => (x(), J(Oo(t.tagName), {
|
|
27532
27531
|
class: ve([
|
|
27533
27532
|
"ao-card",
|
|
27534
27533
|
{
|
|
@@ -29088,7 +29087,7 @@ const Ehe = { class: "ao-project-phase" }, Dhe = {
|
|
|
29088
29087
|
(k) => cb(k, r.closedStatus)
|
|
29089
29088
|
)
|
|
29090
29089
|
), c = (k) => {
|
|
29091
|
-
const { name: b, rank: S } =
|
|
29090
|
+
const { name: b, rank: S } = _o(
|
|
29092
29091
|
l.value ?? [],
|
|
29093
29092
|
"milestone",
|
|
29094
29093
|
n
|
|
@@ -29481,7 +29480,7 @@ const Jhe = { class: "ao-project" }, Xhe = { class: "ao-project__body" }, Qhe =
|
|
|
29481
29480
|
const { t: n } = Dn(), r = t, o = e, i = L(
|
|
29482
29481
|
() => r.phases.flatMap((j) => j.milestones)
|
|
29483
29482
|
), s = () => {
|
|
29484
|
-
const { name: j, rank: ye } =
|
|
29483
|
+
const { name: j, rank: ye } = _o(r.phases, "phase", n);
|
|
29485
29484
|
o("addPhase", { name: j, rank: ye, projectId: r.project.id });
|
|
29486
29485
|
}, a = () => {
|
|
29487
29486
|
const j = n("template.defaultName.phase", { idx: 1 }), ye = Ps(r.phases);
|
|
@@ -29662,7 +29661,7 @@ const Jhe = { class: "ao-project" }, Xhe = { class: "ao-project__body" }, Qhe =
|
|
|
29662
29661
|
onRemoveComment: N
|
|
29663
29662
|
}, {
|
|
29664
29663
|
default: de(({ Component: W }) => [
|
|
29665
|
-
(x(), J(
|
|
29664
|
+
(x(), J(Oo(W), null, {
|
|
29666
29665
|
default: de((pe) => [
|
|
29667
29666
|
we(j.$slots, "activityDetailsBody", $s(Ms(pe)))
|
|
29668
29667
|
]),
|
|
@@ -29943,7 +29942,7 @@ const kme = { class: "ao-project-milestone" }, xme = { class: "ao-project-milest
|
|
|
29943
29942
|
const u = (b) => {
|
|
29944
29943
|
o("close", b);
|
|
29945
29944
|
}, d = () => {
|
|
29946
|
-
const { name: b, rank: S } =
|
|
29945
|
+
const { name: b, rank: S } = _o(
|
|
29947
29946
|
c.value ?? [],
|
|
29948
29947
|
"activity",
|
|
29949
29948
|
n
|
|
@@ -30384,7 +30383,7 @@ function Vc(t) {
|
|
|
30384
30383
|
}
|
|
30385
30384
|
const Zme = zme ? window : void 0;
|
|
30386
30385
|
function Kme() {
|
|
30387
|
-
const t = re(!1), e =
|
|
30386
|
+
const t = re(!1), e = Lo();
|
|
30388
30387
|
return e && Ut(() => {
|
|
30389
30388
|
t.value = !0;
|
|
30390
30389
|
}, e), t;
|
|
@@ -30816,7 +30815,7 @@ const cge = { class: "ao-sprint-metrics" }, uge = ["onClick"], dge = { class: "a
|
|
|
30816
30815
|
C("span", {
|
|
30817
30816
|
class: ve(["ao-sprint-metrics__man-days", { "ao-sprint-metrics__man-days--has-tooltip": u(A.id).length > 0 }])
|
|
30818
30817
|
}, [
|
|
30819
|
-
|
|
30818
|
+
Qo(K(S(l(A.id))) + " MD ", 1),
|
|
30820
30819
|
u(A.id).length > 0 ? (x(), M("span", Oge, [
|
|
30821
30820
|
C("span", Lge, K(S(l(A.id))) + " MD planned ", 1),
|
|
30822
30821
|
(x(!0), M(Pe, null, lt(u(A.id), (N) => (x(), M("span", {
|
|
@@ -30854,9 +30853,9 @@ const cge = { class: "ao-sprint-metrics" }, uge = ["onClick"], dge = { class: "a
|
|
|
30854
30853
|
C("div", Hge, K(ie(n)("sprintMetrics.planningProgress")), 1),
|
|
30855
30854
|
C("div", Vge, [
|
|
30856
30855
|
y(A.id) !== null ? (x(), M(Pe, { key: 0 }, [
|
|
30857
|
-
|
|
30856
|
+
Qo(K(g(A.id)) + "% · " + K(S(d(A.id))) + " / " + K(S(_(A.id))) + " pts ", 1)
|
|
30858
30857
|
], 64)) : (x(), M(Pe, { key: 1 }, [
|
|
30859
|
-
|
|
30858
|
+
Qo(" — ")
|
|
30860
30859
|
], 64))
|
|
30861
30860
|
])
|
|
30862
30861
|
])
|
|
@@ -31025,7 +31024,7 @@ const Wge = /* @__PURE__ */ fe(jge, [["__scopeId", "data-v-98b799f1"]]), Zge = {
|
|
|
31025
31024
|
Be(
|
|
31026
31025
|
() => ye.name,
|
|
31027
31026
|
(H) => {
|
|
31028
|
-
H ===
|
|
31027
|
+
H === Zo.feed || H === "ActivityFeed" || H === "ActivityFeedWithActivity" ? me.value = "feed" : H === Zo.dev || H === "ActivityFeedDev" || H === "ActivityFeedDevWithActivity" ? me.value = "dev" : H === et.feed ? me.value = "feed" : H === et.dev ? me.value = "dev" : H === et.project ? me.value = "overview" : H === et.mapping && (me.value = "mapping");
|
|
31029
31028
|
},
|
|
31030
31029
|
{ immediate: !0 }
|
|
31031
31030
|
);
|
|
@@ -31034,7 +31033,7 @@ const Wge = /* @__PURE__ */ fe(jge, [["__scopeId", "data-v-98b799f1"]]), Zge = {
|
|
|
31034
31033
|
{ label: "Feed", value: "feed" },
|
|
31035
31034
|
{ label: "Dev", value: "dev" },
|
|
31036
31035
|
{ label: "Mapping", value: "mapping" }
|
|
31037
|
-
], W = L(() => pe.value ? ge.filter((H) => H.value === "feed" || H.value === "dev") : ge), pe = L(() => !r.project && ye.name && (ye.name ===
|
|
31036
|
+
], W = L(() => pe.value ? ge.filter((H) => H.value === "feed" || H.value === "dev") : ge), pe = L(() => !r.project && ye.name && (ye.name === Zo.feed || ye.name === Zo.dev || ye.name === "ActivityFeed" || ye.name === "ActivityFeedDev" || ye.name === "ActivityFeedWithActivity" || ye.name === "ActivityFeedDevWithActivity")), Le = L(() => pe.value ? Zo.feed : et.feed), Ge = L(() => pe.value ? Zo.dev : et.dev), bt = L(() => et.project), Et = L(() => et.mapping);
|
|
31038
31037
|
return Be(me, (H) => {
|
|
31039
31038
|
H === "feed" ? j.push({ name: Le.value }) : H === "dev" ? j.push({ name: Ge.value }) : H === "overview" ? j.push({ name: bt.value }) : H === "mapping" && j.push({ name: Et.value });
|
|
31040
31039
|
}), (H, be) => {
|
|
@@ -31235,7 +31234,7 @@ const Yge = { class: "ao-project-mapping" }, Jge = { class: "ao-project-mapping-
|
|
|
31235
31234
|
emits: ["addPhase", "updatePhase", "archivePhase", "unarchivePhase", "copyPhaseToTemplate", "applyTemplate", "saveTemplate", "update:showsArchived"],
|
|
31236
31235
|
setup(t, { emit: e }) {
|
|
31237
31236
|
const { t: n } = Dn(), r = t, o = e, i = () => {
|
|
31238
|
-
const { name: g, rank: v } =
|
|
31237
|
+
const { name: g, rank: v } = _o(r.phases, "phase", n);
|
|
31239
31238
|
o("addPhase", { name: g, rank: v, projectId: r.project.id });
|
|
31240
31239
|
}, s = () => {
|
|
31241
31240
|
const g = n("template.defaultName.phase", { idx: 1 }), v = Ps(r.phases);
|
|
@@ -31360,25 +31359,25 @@ const Yge = { class: "ao-project-mapping" }, Jge = { class: "ao-project-mapping-
|
|
|
31360
31359
|
};
|
|
31361
31360
|
}
|
|
31362
31361
|
});
|
|
31363
|
-
const
|
|
31362
|
+
const Xo = {
|
|
31364
31363
|
TEMPLATES: "templates",
|
|
31365
31364
|
TEMPLATE_DETAILS: "template_details",
|
|
31366
31365
|
TEMPLATES_LIST: "templates_list"
|
|
31367
31366
|
}, V0e = (t, e = {}) => [
|
|
31368
31367
|
{
|
|
31369
31368
|
path: t,
|
|
31370
|
-
name:
|
|
31371
|
-
redirect: { name:
|
|
31369
|
+
name: Xo.TEMPLATES,
|
|
31370
|
+
redirect: { name: Xo.TEMPLATES_LIST },
|
|
31372
31371
|
...e,
|
|
31373
31372
|
children: [
|
|
31374
31373
|
{
|
|
31375
31374
|
path: "",
|
|
31376
|
-
name:
|
|
31375
|
+
name: Xo.TEMPLATES_LIST,
|
|
31377
31376
|
component: r0e
|
|
31378
31377
|
},
|
|
31379
31378
|
{
|
|
31380
31379
|
path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
|
|
31381
|
-
name:
|
|
31380
|
+
name: Xo.TEMPLATE_DETAILS,
|
|
31382
31381
|
component: _pe,
|
|
31383
31382
|
props: !0
|
|
31384
31383
|
}
|
|
@@ -31391,7 +31390,7 @@ const Qo = {
|
|
|
31391
31390
|
mapping: "AoProjectMapping",
|
|
31392
31391
|
milestone: "AoMilestone",
|
|
31393
31392
|
activity: "AoActivity"
|
|
31394
|
-
},
|
|
31393
|
+
}, Zo = {
|
|
31395
31394
|
feed: "ActivityFeed",
|
|
31396
31395
|
dev: "ActivityFeedDev"
|
|
31397
31396
|
}, j0e = (t, e = {}) => [
|
|
@@ -31531,7 +31530,7 @@ const Qo = {
|
|
|
31531
31530
|
"updated-by": d.updatedBy,
|
|
31532
31531
|
onUpdateTitle: (p) => s(d.id, p),
|
|
31533
31532
|
onClick: (p) => c.$router.push({
|
|
31534
|
-
name: ie(
|
|
31533
|
+
name: ie(Xo).TEMPLATE_DETAILS,
|
|
31535
31534
|
params: { templateId: d.id }
|
|
31536
31535
|
}),
|
|
31537
31536
|
onDeleteItem: u[0] || (u[0] = (p, h) => a(p, h))
|
|
@@ -31714,7 +31713,7 @@ const o0e = { class: "ao-field__label" }, i0e = /* @__PURE__ */ ce({
|
|
|
31714
31713
|
}, null, 512), [
|
|
31715
31714
|
[Qp, i.value]
|
|
31716
31715
|
]),
|
|
31717
|
-
|
|
31716
|
+
Qo(" " + K(ie(o)("sprint.showArchived")), 1)
|
|
31718
31717
|
])) : F("", !0),
|
|
31719
31718
|
t.isEditable && !g.value ? (x(), J(xe, {
|
|
31720
31719
|
key: 1,
|
|
@@ -31925,7 +31924,7 @@ export {
|
|
|
31925
31924
|
r0e as AoTemplatesList,
|
|
31926
31925
|
_y as EstimationUnit,
|
|
31927
31926
|
vy as TemplateItemTypeEnum,
|
|
31928
|
-
|
|
31927
|
+
Zo as activityFeedRoutes,
|
|
31929
31928
|
B0e as activityFeedStatus,
|
|
31930
31929
|
R0e as durationTypes,
|
|
31931
31930
|
to as feedFilterTypes,
|
|
@@ -31938,5 +31937,5 @@ export {
|
|
|
31938
31937
|
gy as ruleDurationUnits,
|
|
31939
31938
|
my as ruleTriggerTypes,
|
|
31940
31939
|
dt as templateItemType,
|
|
31941
|
-
|
|
31940
|
+
Xo as templateRouteNames
|
|
31942
31941
|
};
|