golden-logic-ui 1.0.596 → 1.0.597
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/golden-logic-ui.js +595 -595
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as Ce, createBlock as tf, resolveDynamicComponent as p_, mergeProps as MR, withCtx as Zh, createElementBlock as Pe, normalizeClass as xn, createCommentVNode as Tt, renderSlot as ou, createElementVNode as Z, createTextVNode as Vo, resolveComponent as Hf, toDisplayString as Mt, createVNode as tu, reactive as _ae, Fragment as Fo, withModifiers as
|
|
1
|
+
import { openBlock as Ce, createBlock as tf, resolveDynamicComponent as p_, mergeProps as MR, withCtx as Zh, createElementBlock as Pe, normalizeClass as xn, createCommentVNode as Tt, renderSlot as ou, createElementVNode as Z, createTextVNode as Vo, resolveComponent as Hf, toDisplayString as Mt, createVNode as tu, reactive as _ae, Fragment as Fo, withModifiers as Aa, withDirectives as Ur, vModelText as rf, renderList as Hr, normalizeStyle as iJ, computed as nu, ref as Xo, onMounted as Xf, onBeforeUnmount as __, watch as Qu, vShow as Vh, nextTick as zF, vModelDynamic as Ose, useSlots as Eae, provide as yse, inject as aJ, createStaticVNode as lJ, vModelCheckbox as vse, onUnmounted as cJ, toHandlers as LY, TransitionGroup as $ae, unref as Pae, resolveDirective as uJ, markRaw as Aae } from "vue";
|
|
2
2
|
const Ti = (u, o) => {
|
|
3
3
|
const i = u.__vccOpts || u;
|
|
4
4
|
for (const [c, f] of o)
|
|
@@ -418,9 +418,9 @@ function ple(u, o, i, c, f, m) {
|
|
|
418
418
|
})
|
|
419
419
|
}, Mt(i.label_name), 3),
|
|
420
420
|
Z("div", {
|
|
421
|
-
onDragover: o[3] || (o[3] =
|
|
422
|
-
onDragleave: o[4] || (o[4] =
|
|
423
|
-
onDrop: o[5] || (o[5] =
|
|
421
|
+
onDragover: o[3] || (o[3] = Aa((...w) => m.onDragOver && m.onDragOver(...w), ["prevent"])),
|
|
422
|
+
onDragleave: o[4] || (o[4] = Aa((...w) => m.onDragLeave && m.onDragLeave(...w), ["prevent"])),
|
|
423
|
+
onDrop: o[5] || (o[5] = Aa((...w) => m.onDrop && m.onDrop(...w), ["prevent"])),
|
|
424
424
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
425
425
|
}, [
|
|
426
426
|
Z("div", Xae, [
|
|
@@ -889,7 +889,7 @@ const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
889
889
|
}, [
|
|
890
890
|
Vo(Mt(hn == null ? void 0 : hn.name) + " ", 1),
|
|
891
891
|
Z("i", {
|
|
892
|
-
onClick:
|
|
892
|
+
onClick: Aa((dn) => sn(hn), ["stop"]),
|
|
893
893
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400"
|
|
894
894
|
}, Qt[5] || (Qt[5] = [
|
|
895
895
|
Z("svg", {
|
|
@@ -2002,7 +2002,7 @@ function vue(u, o, i, c, f, m) {
|
|
|
2002
2002
|
Z("div", Kce, [
|
|
2003
2003
|
Z("button", {
|
|
2004
2004
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2005
|
-
onClick: o[1] || (o[1] =
|
|
2005
|
+
onClick: o[1] || (o[1] = Aa((O) => m.prev(), ["stop"]))
|
|
2006
2006
|
}, [
|
|
2007
2007
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", Jce, o[8] || (o[8] = [
|
|
2008
2008
|
Z("path", {
|
|
@@ -2029,7 +2029,7 @@ function vue(u, o, i, c, f, m) {
|
|
|
2029
2029
|
Z("div", tue, [
|
|
2030
2030
|
Z("button", {
|
|
2031
2031
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2032
|
-
onClick: o[2] || (o[2] =
|
|
2032
|
+
onClick: o[2] || (o[2] = Aa((O) => m.next(), ["stop"]))
|
|
2033
2033
|
}, [
|
|
2034
2034
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", nue, o[10] || (o[10] = [
|
|
2035
2035
|
Z("path", {
|
|
@@ -2430,7 +2430,7 @@ function Yue(u, o, i, c, f, m) {
|
|
|
2430
2430
|
Z("div", $ue, [
|
|
2431
2431
|
Z("button", {
|
|
2432
2432
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2433
|
-
onClick: o[1] || (o[1] =
|
|
2433
|
+
onClick: o[1] || (o[1] = Aa((O) => m.prev(), ["stop"]))
|
|
2434
2434
|
}, [
|
|
2435
2435
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", Pue, o[8] || (o[8] = [
|
|
2436
2436
|
Z("path", {
|
|
@@ -2457,7 +2457,7 @@ function Yue(u, o, i, c, f, m) {
|
|
|
2457
2457
|
Z("div", Due, [
|
|
2458
2458
|
Z("button", {
|
|
2459
2459
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2460
|
-
onClick: o[2] || (o[2] =
|
|
2460
|
+
onClick: o[2] || (o[2] = Aa((O) => m.next(), ["stop"]))
|
|
2461
2461
|
}, [
|
|
2462
2462
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", Rue, o[10] || (o[10] = [
|
|
2463
2463
|
Z("path", {
|
|
@@ -3400,8 +3400,8 @@ const Lxe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3400
3400
|
readonly: ""
|
|
3401
3401
|
}, null, 10, Qde),
|
|
3402
3402
|
Ur(Z("i", {
|
|
3403
|
-
onClick: tt[1] || (tt[1] =
|
|
3404
|
-
class: "absolute text-gray-500 cursor-pointer ltr:right-8 rtl:left-8
|
|
3403
|
+
onClick: tt[1] || (tt[1] = Aa((wt) => je(), ["stop"])),
|
|
3404
|
+
class: "absolute text-gray-500 cursor-pointer pointer-events-auto ltr:right-8 rtl:left-8 hover:text-red-600 dark:hover:text-red-400",
|
|
3405
3405
|
style: { top: "13px" }
|
|
3406
3406
|
}, tt[6] || (tt[6] = [
|
|
3407
3407
|
Z("svg", {
|
|
@@ -3423,7 +3423,7 @@ const Lxe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3423
3423
|
[Vh, et(f.value) && u.has_cancel]
|
|
3424
3424
|
]),
|
|
3425
3425
|
Z("i", {
|
|
3426
|
-
onClick: tt[2] || (tt[2] = (wt) => ln()),
|
|
3426
|
+
onClick: tt[2] || (tt[2] = Aa((wt) => ln(), ["stop"])),
|
|
3427
3427
|
class: "absolute text-xl text-gray-500 cursor-pointer ltr:right-2 rtl:left-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions",
|
|
3428
3428
|
style: { top: "13px" }
|
|
3429
3429
|
}, [
|
|
@@ -3898,7 +3898,7 @@ function sfe() {
|
|
|
3898
3898
|
return a;
|
|
3899
3899
|
}
|
|
3900
3900
|
return Y.none();
|
|
3901
|
-
},
|
|
3901
|
+
}, Ra = (e, n) => {
|
|
3902
3902
|
const s = [], a = ye(n) ? (d) => ze(s, (p) => n(p, d)) : (d) => Ne(s, d);
|
|
3903
3903
|
for (let d = 0, p = e.length; d < p; d++) {
|
|
3904
3904
|
const v = e[d];
|
|
@@ -4061,7 +4061,7 @@ function sfe() {
|
|
|
4061
4061
|
}), Ln = (e, n) => e.substring(n), In = (e, n, s) => n === "" || e.length >= n.length && e.substr(s, s + n.length) === n, Rn = (e, n) => lo(e, n) ? Ln(e, n.length) : e, Jn = (e, n, s = 0, a) => {
|
|
4062
4062
|
const d = e.indexOf(n, s);
|
|
4063
4063
|
return d !== -1 ? sn(a) ? !0 : d + n.length <= a : !1;
|
|
4064
|
-
}, lo = (e, n) => In(e, n, 0), us = (e, n) => In(e, n, e.length - n.length), ar = (e) => (n) => n.replace(e, ""), Ss = ar(/^\s+|\s+$/g),
|
|
4064
|
+
}, lo = (e, n) => In(e, n, 0), us = (e, n) => In(e, n, e.length - n.length), ar = (e) => (n) => n.replace(e, ""), Ss = ar(/^\s+|\s+$/g), Ma = ar(/^\s+/g), Fi = ar(/\s+$/g), So = (e) => e.length > 0, Io = (e) => !So(e), Ho = (e, n) => n <= 0 ? "" : new Array(n + 1).join(e), fi = (e, n = 10) => {
|
|
4065
4065
|
const s = parseInt(e, n);
|
|
4066
4066
|
return isNaN(s) ? Y.none() : Y.some(s);
|
|
4067
4067
|
}, hi = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Pi = (e) => (n) => Jn(n, e), js = [
|
|
@@ -4156,7 +4156,7 @@ function sfe() {
|
|
|
4156
4156
|
], bl = {
|
|
4157
4157
|
browsers: wt(js),
|
|
4158
4158
|
oses: wt(bd)
|
|
4159
|
-
}, Bc = "Edge", Wo = "Chromium", Ol = "IE", lr = "Opera", kc = "Firefox",
|
|
4159
|
+
}, Bc = "Edge", Wo = "Chromium", Ol = "IE", lr = "Opera", kc = "Firefox", Ba = "Safari", Nl = () => ei({
|
|
4160
4160
|
current: void 0,
|
|
4161
4161
|
version: Ae.unknown()
|
|
4162
4162
|
}), ei = (e) => {
|
|
@@ -4169,7 +4169,7 @@ function sfe() {
|
|
|
4169
4169
|
isIE: a(Ol),
|
|
4170
4170
|
isOpera: a(lr),
|
|
4171
4171
|
isFirefox: a(kc),
|
|
4172
|
-
isSafari: a(
|
|
4172
|
+
isSafari: a(Ba)
|
|
4173
4173
|
};
|
|
4174
4174
|
}, su = {
|
|
4175
4175
|
unknown: Nl,
|
|
@@ -4179,7 +4179,7 @@ function sfe() {
|
|
|
4179
4179
|
ie: wt(Ol),
|
|
4180
4180
|
opera: wt(lr),
|
|
4181
4181
|
firefox: wt(kc),
|
|
4182
|
-
safari: wt(
|
|
4182
|
+
safari: wt(Ba)
|
|
4183
4183
|
}, pa = "Windows", ru = "iOS", Wl = "Android", Od = "Linux", Wr = "macOS", yl = "Solaris", uc = "FreeBSD", iu = "ChromeOS", dc = () => fc({
|
|
4184
4184
|
current: void 0,
|
|
4185
4185
|
version: Ae.unknown()
|
|
@@ -4320,7 +4320,7 @@ function sfe() {
|
|
|
4320
4320
|
}, Zm = Object.getPrototypeOf, cr = (e) => zh("HTMLElement", e), Qc = (e) => {
|
|
4321
4321
|
const n = ti("ownerDocument.defaultView", e);
|
|
4322
4322
|
return We(e) && (cr(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test(Zm(e).constructor.name));
|
|
4323
|
-
}, xi = 8, Zi = 9,
|
|
4323
|
+
}, xi = 8, Zi = 9, Na = 11, au = 1, he = 3, be = (e) => e.dom.nodeName.toLowerCase(), nt = (e) => e.dom.nodeType, At = (e) => (n) => nt(n) === e, Un = (e) => nt(e) === xi || be(e) === "#comment", as = (e) => Qo(e) && Qc(e.dom), Qo = At(au), er = At(he), si = At(Zi), il = At(Na), La = (e) => (n) => Qo(n) && be(n) === e, vr = (e, n, s) => {
|
|
4324
4324
|
if (re(s) || $t(s) || zt(s))
|
|
4325
4325
|
e.setAttribute(n, s + "");
|
|
4326
4326
|
else
|
|
@@ -4352,12 +4352,12 @@ function sfe() {
|
|
|
4352
4352
|
}, cf = (e, n, s) => {
|
|
4353
4353
|
const a = wn(Fu(e, n), (d) => d !== s);
|
|
4354
4354
|
return a.length > 0 ? qr(e, n, a.join(" ")) : Vs(e, n), !1;
|
|
4355
|
-
}, yd = (e) => e.dom.classList !== void 0, vd = (e) => Fu(e, "class"), jl = (e, n) => lf(e, "class", n),
|
|
4355
|
+
}, yd = (e) => e.dom.classList !== void 0, vd = (e) => Fu(e, "class"), jl = (e, n) => lf(e, "class", n), Ia = (e, n) => cf(e, "class", n), qp = (e, n) => Ne(vd(e), n) ? Ia(e, n) : jl(e, n), lu = (e, n) => {
|
|
4356
4356
|
yd(e) ? e.dom.classList.add(n) : jl(e, n);
|
|
4357
4357
|
}, Vm = (e) => {
|
|
4358
4358
|
(yd(e) ? e.dom.classList : vd(e)).length === 0 && Vs(e, "class");
|
|
4359
4359
|
}, uf = (e, n) => {
|
|
4360
|
-
yd(e) ? e.dom.classList.remove(n) :
|
|
4360
|
+
yd(e) ? e.dom.classList.remove(n) : Ia(e, n), Vm(e);
|
|
4361
4361
|
}, zm = (e, n) => {
|
|
4362
4362
|
const s = yd(e) ? e.dom.classList.toggle(n) : qp(e, n);
|
|
4363
4363
|
return Vm(e), s;
|
|
@@ -4407,7 +4407,7 @@ function sfe() {
|
|
|
4407
4407
|
return a.mozMatchesSelector(n);
|
|
4408
4408
|
throw new Error("Browser lacks native selectors");
|
|
4409
4409
|
}
|
|
4410
|
-
}, Q1 = (e) => e.nodeType !== au && e.nodeType !== Zi && e.nodeType !==
|
|
4410
|
+
}, Q1 = (e) => e.nodeType !== au && e.nodeType !== Zi && e.nodeType !== Na || e.childElementCount === 0, Gp = (e, n) => {
|
|
4411
4411
|
const s = n === void 0 ? document : n.dom;
|
|
4412
4412
|
return Q1(s) ? [] : Je(s.querySelectorAll(e), Me.fromDom);
|
|
4413
4413
|
}, xd = (e, n) => {
|
|
@@ -4416,7 +4416,7 @@ function sfe() {
|
|
|
4416
4416
|
}, ks = (e, n) => e.dom === n.dom, Gr = (e, n) => {
|
|
4417
4417
|
const s = e.dom, a = n.dom;
|
|
4418
4418
|
return s === a ? !1 : s.contains(a);
|
|
4419
|
-
}, va = (e) => Me.fromDom(e.dom.ownerDocument), Zu = (e) => si(e) ? e : va(e), Zg = (e) => Me.fromDom(Zu(e).dom.documentElement), hf = (e) => Me.fromDom(Zu(e).dom.defaultView),
|
|
4419
|
+
}, va = (e) => Me.fromDom(e.dom.ownerDocument), Zu = (e) => si(e) ? e : va(e), Zg = (e) => Me.fromDom(Zu(e).dom.documentElement), hf = (e) => Me.fromDom(Zu(e).dom.defaultView), Qa = (e) => Y.from(e.dom.parentNode).map(Me.fromDom), jh = (e) => Y.from(e.dom.parentElement).map(Me.fromDom), Xh = (e, n) => {
|
|
4420
4420
|
const s = ye(n) ? n : Ke;
|
|
4421
4421
|
let a = e.dom;
|
|
4422
4422
|
const d = [];
|
|
@@ -4429,11 +4429,11 @@ function sfe() {
|
|
|
4429
4429
|
return d;
|
|
4430
4430
|
}, Vu = (e) => {
|
|
4431
4431
|
const n = (s) => wn(s, (a) => !ks(e, a));
|
|
4432
|
-
return
|
|
4432
|
+
return Qa(e).map(la).map(n).getOr([]);
|
|
4433
4433
|
}, zu = (e) => Y.from(e.dom.previousSibling).map(Me.fromDom), Gf = (e) => Y.from(e.dom.nextSibling).map(Me.fromDom), mc = (e) => rs(ff(e, zu)), qh = (e) => ff(e, Gf), la = (e) => Je(e.dom.childNodes, Me.fromDom), Hu = (e, n) => {
|
|
4434
4434
|
const s = e.dom.childNodes;
|
|
4435
4435
|
return Y.from(s[n]).map(Me.fromDom);
|
|
4436
|
-
}, Cc = (e) => Hu(e, 0),
|
|
4436
|
+
}, Cc = (e) => Hu(e, 0), Fa = (e) => Hu(e, e.dom.childNodes.length - 1), Sd = (e) => e.dom.childNodes.length, Yp = (e) => {
|
|
4437
4437
|
const n = e.dom.head;
|
|
4438
4438
|
if (n == null)
|
|
4439
4439
|
throw new Error("Head is not available yet");
|
|
@@ -4524,12 +4524,12 @@ function sfe() {
|
|
|
4524
4524
|
const s = e.dom;
|
|
4525
4525
|
Xm(s, n), ia(Vr(e, "style").map(Ss), "") && Vs(e, "style");
|
|
4526
4526
|
}, Xi = (e) => e.dom.offsetWidth, al = (e, n) => {
|
|
4527
|
-
|
|
4527
|
+
Qa(e).each((a) => {
|
|
4528
4528
|
a.dom.insertBefore(n.dom, e.dom);
|
|
4529
4529
|
});
|
|
4530
4530
|
}, gc = (e, n) => {
|
|
4531
4531
|
Gf(e).fold(() => {
|
|
4532
|
-
|
|
4532
|
+
Qa(e).each((d) => {
|
|
4533
4533
|
wr(d, n);
|
|
4534
4534
|
});
|
|
4535
4535
|
}, (a) => {
|
|
@@ -4636,8 +4636,8 @@ function sfe() {
|
|
|
4636
4636
|
return Se(la(e), (a) => {
|
|
4637
4637
|
n(a) && (s = s.concat([a])), s = s.concat(t0(a, n));
|
|
4638
4638
|
}), s;
|
|
4639
|
-
},
|
|
4640
|
-
class
|
|
4639
|
+
}, Za = (e, n) => Gp(n, e), n0 = (e, n, s) => cu(e, n, s).isSome(), HO = (e, n) => zi(e, n).isSome(), Z1 = (e, n) => Kh(e, n).isSome();
|
|
4640
|
+
class Va {
|
|
4641
4641
|
constructor(n, s) {
|
|
4642
4642
|
this.node = n, this.rootNode = s, this.current = this.current.bind(this), this.next = this.next.bind(this), this.prev = this.prev.bind(this), this.prev2 = this.prev2.bind(this);
|
|
4643
4643
|
}
|
|
@@ -4686,7 +4686,7 @@ function sfe() {
|
|
|
4686
4686
|
}
|
|
4687
4687
|
}
|
|
4688
4688
|
}
|
|
4689
|
-
const o0 = "\uFEFF", Ui = " ", V1 = (e) => e === o0,
|
|
4689
|
+
const o0 = "\uFEFF", Ui = " ", V1 = (e) => e === o0, za = (e) => e.replace(/\uFEFF/g, ""), uo = /^[ \t\r\n]*$/, zc = (e) => uo.test(e), tm = (e) => {
|
|
4690
4690
|
for (const n of e)
|
|
4691
4691
|
if (!V1(n))
|
|
4692
4692
|
return !1;
|
|
@@ -4765,7 +4765,7 @@ function sfe() {
|
|
|
4765
4765
|
let d = n.firstChild, p = 0;
|
|
4766
4766
|
if (!d)
|
|
4767
4767
|
return !0;
|
|
4768
|
-
const v = new
|
|
4768
|
+
const v = new Va(d, n);
|
|
4769
4769
|
do {
|
|
4770
4770
|
if (a.skipBogus && yn(d)) {
|
|
4771
4771
|
const C = d.getAttribute("data-mce-bogus");
|
|
@@ -4888,7 +4888,7 @@ function sfe() {
|
|
|
4888
4888
|
Se([
|
|
4889
4889
|
...s,
|
|
4890
4890
|
...Ad(e, n) ? [n] : []
|
|
4891
|
-
], (a) => Se(
|
|
4891
|
+
], (a) => Se(Za(Me.fromDom(a), a.nodeName.toLowerCase()), (d) => {
|
|
4892
4892
|
Gu(e, d.dom) && Vc(d);
|
|
4893
4893
|
}));
|
|
4894
4894
|
}, kr = (e, n) => {
|
|
@@ -5016,16 +5016,16 @@ function sfe() {
|
|
|
5016
5016
|
});
|
|
5017
5017
|
} };
|
|
5018
5018
|
})(), Si = (e) => e.nodeName.toLowerCase() === "span", Xg = (e, n) => je(e) && (st(n, e) || n.isInline(e.nodeName.toLowerCase())), u0 = (e, n, s) => {
|
|
5019
|
-
const a = new
|
|
5019
|
+
const a = new Va(e, n).prev(!1), d = new Va(e, n).next(!1), p = sn(a) || Xg(a, s), v = sn(d) || Xg(d, s);
|
|
5020
5020
|
return p && v;
|
|
5021
|
-
}, Of = (e) => Si(e) && e.getAttribute("data-mce-type") === "bookmark", Tc = (e, n, s) => jt(e) && e.data.length > 0 && u0(e, n, s), yf = (e) => yn(e) ? e.childNodes.length > 0 : !1, ok = (e) => Gi(e) || Jm(e),
|
|
5021
|
+
}, Of = (e) => Si(e) && e.getAttribute("data-mce-type") === "bookmark", Tc = (e, n, s) => jt(e) && e.data.length > 0 && u0(e, n, s), yf = (e) => yn(e) ? e.childNodes.length > 0 : !1, ok = (e) => Gi(e) || Jm(e), Ha = (e, n, s, a) => {
|
|
5022
5022
|
var d;
|
|
5023
5023
|
const p = a || n;
|
|
5024
5024
|
if (yn(n) && Of(n))
|
|
5025
5025
|
return n;
|
|
5026
5026
|
const v = n.childNodes;
|
|
5027
5027
|
for (let C = v.length - 1; C >= 0; C--)
|
|
5028
|
-
|
|
5028
|
+
Ha(e, v[C], s, p);
|
|
5029
5029
|
if (yn(n)) {
|
|
5030
5030
|
const C = n.childNodes;
|
|
5031
5031
|
C.length === 1 && Of(C[0]) && ((d = n.parentNode) === null || d === void 0 || d.insertBefore(C[0], n));
|
|
@@ -5103,12 +5103,12 @@ function sfe() {
|
|
|
5103
5103
|
return p.named && p.numeric ? a : p.named ? n ? d : Tl : p.numeric ? Ju : tg;
|
|
5104
5104
|
},
|
|
5105
5105
|
decode: (e) => e.replace(A_, (n, s) => s ? (s.charAt(0).toLowerCase() === "x" ? s = parseInt(s.substr(1), 16) : s = parseInt(s, 10), s > 65535 ? (s -= 65536, String.fromCharCode(55296 + (s >> 10), 56320 + (s & 1023))) : d0[s] || String.fromCharCode(s)) : rk[n] || vf[n] || ki(n))
|
|
5106
|
-
},
|
|
5106
|
+
}, Ua = (e, n) => (e = Nt.trim(e), e ? e.split(n || " ") : []), XO = (e) => new RegExp("^" + e.replace(/([?+*])/g, ".$1") + "$"), qO = (e) => We(e) && e.source && Object.prototype.toString.call(e) === "[object RegExp]", D_ = (e) => {
|
|
5107
5107
|
const n = (s) => at(s) ? Je(s, n) : qO(s) ? new RegExp(s.source, s.flags) : We(s) ? zo(s, n) : s;
|
|
5108
5108
|
return n(e);
|
|
5109
5109
|
}, R_ = (e) => {
|
|
5110
5110
|
const n = /^(~)?(.+)$/;
|
|
5111
|
-
return Ks(
|
|
5111
|
+
return Ks(Ua(e, ","), (s) => {
|
|
5112
5112
|
const a = n.exec(s);
|
|
5113
5113
|
if (a) {
|
|
5114
5114
|
const p = a[1] === "~" ? "span" : "div", v = a[2];
|
|
@@ -5182,16 +5182,16 @@ function sfe() {
|
|
|
5182
5182
|
children: Fs(W, wt({}))
|
|
5183
5183
|
};
|
|
5184
5184
|
}, v = ($, B = "", W = "") => {
|
|
5185
|
-
const X =
|
|
5185
|
+
const X = Ua(W), G = Ua($);
|
|
5186
5186
|
let ie = G.length;
|
|
5187
5187
|
const ge = [
|
|
5188
5188
|
...n,
|
|
5189
|
-
...
|
|
5189
|
+
...Ua(B)
|
|
5190
5190
|
];
|
|
5191
5191
|
for (; ie--; )
|
|
5192
5192
|
p(G[ie], ge.slice(), X);
|
|
5193
5193
|
}, C = ($, B) => {
|
|
5194
|
-
const W =
|
|
5194
|
+
const W = Ua($), X = Ua(B);
|
|
5195
5195
|
let G = W.length;
|
|
5196
5196
|
for (; G--; ) {
|
|
5197
5197
|
const ie = d[W[G]];
|
|
@@ -5199,9 +5199,9 @@ function sfe() {
|
|
|
5199
5199
|
ie.attributes[X[ge]] = {}, ie.attributesOrder.push(X[ge]);
|
|
5200
5200
|
}
|
|
5201
5201
|
};
|
|
5202
|
-
return e !== "html5-strict" && (Se(
|
|
5202
|
+
return e !== "html5-strict" && (Se(Ua("acronym applet basefont big font strike tt"), (W) => {
|
|
5203
5203
|
v(W, "", s);
|
|
5204
|
-
}), Se(
|
|
5204
|
+
}), Se(Ua("center dir isindex noframes"), (W) => {
|
|
5205
5205
|
v(W, "", a);
|
|
5206
5206
|
})), v("html", "manifest", "head body"), v("head", "", "base command link meta noscript script style title"), v("title hr noscript br"), v("base", "href target"), v("link", "href rel media hreflang type sizes hreflang"), v("meta", "name http-equiv content charset"), v("style", "media type scoped"), v("script", "src async defer type charset"), v("body", "onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload", a), v("dd div", "", a), v("address dt caption", "", e === "html4" ? s : a), v("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn", "", s), v("blockquote", "cite", a), v("ol", "reversed start type", "li"), v("ul", "", "li"), v("li", "value", a), v("dl", "", "dt dd"), v("a", "href target rel media hreflang type", e === "html4" ? s : a), v("q", "cite", s), v("ins del", "cite datetime", a), v("img", "src sizes srcset alt usemap ismap width height"), v("iframe", "src name width height", a), v("embed", "src type width height"), v("object", "data type typemustmatch name usemap form width height", [
|
|
5207
5207
|
a,
|
|
@@ -5241,7 +5241,7 @@ function sfe() {
|
|
|
5241
5241
|
d.audio
|
|
5242
5242
|
], ($) => {
|
|
5243
5243
|
delete $.children.audio, delete $.children.video;
|
|
5244
|
-
}), Se(
|
|
5244
|
+
}), Se(Ua("a form meter progress dfn"), ($) => {
|
|
5245
5245
|
d[$] && delete d[$].children[$];
|
|
5246
5246
|
}), delete d.caption.children.table, delete d.script, d;
|
|
5247
5247
|
}, q1 = (e) => e === "-" ? "remove" : "add", ng = (e) => {
|
|
@@ -5252,10 +5252,10 @@ function sfe() {
|
|
|
5252
5252
|
}));
|
|
5253
5253
|
}, Kg = (e) => {
|
|
5254
5254
|
const n = /^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;
|
|
5255
|
-
return Ks(
|
|
5255
|
+
return Ks(Ua(e, ","), (s) => {
|
|
5256
5256
|
const a = n.exec(s);
|
|
5257
5257
|
if (a) {
|
|
5258
|
-
const d = a[1], p = d ? q1(d) : "replace", v = a[2], C = Ks(
|
|
5258
|
+
const d = a[1], p = d ? q1(d) : "replace", v = a[2], C = Ks(Ua(a[3], "|"), ($) => ng($).toArray());
|
|
5259
5259
|
return [{
|
|
5260
5260
|
operation: p,
|
|
5261
5261
|
name: v,
|
|
@@ -5266,7 +5266,7 @@ function sfe() {
|
|
|
5266
5266
|
});
|
|
5267
5267
|
}, og = (e, n) => {
|
|
5268
5268
|
const s = /^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/, a = /[*?+]/, { attributes: d, attributesOrder: p } = n;
|
|
5269
|
-
return Se(
|
|
5269
|
+
return Se(Ua(e, "|"), (v) => {
|
|
5270
5270
|
const C = s.exec(v);
|
|
5271
5271
|
if (C) {
|
|
5272
5272
|
const $ = {}, B = C[1], W = C[2].replace(/[\\:]:/g, ":"), X = C[3], G = C[4];
|
|
@@ -5293,7 +5293,7 @@ function sfe() {
|
|
|
5293
5293
|
}), n.attributesOrder.push(...e.attributesOrder);
|
|
5294
5294
|
}, YO = (e, n) => {
|
|
5295
5295
|
const s = /^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;
|
|
5296
|
-
return Ks(
|
|
5296
|
+
return Ks(Ua(n, ","), (a) => {
|
|
5297
5297
|
const d = s.exec(a);
|
|
5298
5298
|
if (d) {
|
|
5299
5299
|
const p = d[1], v = d[2], C = d[3], $ = d[4], B = d[5], W = {
|
|
@@ -5332,9 +5332,9 @@ function sfe() {
|
|
|
5332
5332
|
const s = {}, a = {};
|
|
5333
5333
|
let d = [];
|
|
5334
5334
|
const p = {}, v = {}, C = (Yn, Cs, Ni) => {
|
|
5335
|
-
const
|
|
5336
|
-
if (
|
|
5337
|
-
return Go(
|
|
5335
|
+
const tl = e[Yn];
|
|
5336
|
+
if (tl)
|
|
5337
|
+
return Go(tl, /[, ]/, Go(tl.toUpperCase(), /[, ]/));
|
|
5338
5338
|
{
|
|
5339
5339
|
let gl = Jg[Yn];
|
|
5340
5340
|
return gl || (gl = JO(Cs, Ni), Jg[Yn] = gl), gl;
|
|
@@ -5347,19 +5347,19 @@ function sfe() {
|
|
|
5347
5347
|
});
|
|
5348
5348
|
const Zt = (Yn) => {
|
|
5349
5349
|
const Cs = Y.from(s["@"]), Ni = /[*?+]/;
|
|
5350
|
-
Se(YO(Cs, Yn ?? ""), ({ name:
|
|
5351
|
-
if ($a && (s[$a] = gl), Ni.test(
|
|
5350
|
+
Se(YO(Cs, Yn ?? ""), ({ name: tl, element: gl, aliasName: $a }) => {
|
|
5351
|
+
if ($a && (s[$a] = gl), Ni.test(tl)) {
|
|
5352
5352
|
const ai = gl;
|
|
5353
|
-
ai.pattern = XO(
|
|
5353
|
+
ai.pattern = XO(tl), d.push(ai);
|
|
5354
5354
|
} else
|
|
5355
|
-
s[
|
|
5355
|
+
s[tl] = gl;
|
|
5356
5356
|
});
|
|
5357
5357
|
}, fn = (Yn) => {
|
|
5358
5358
|
d = [], Se(Lo(s), (Cs) => {
|
|
5359
5359
|
delete s[Cs];
|
|
5360
5360
|
}), Zt(Yn);
|
|
5361
5361
|
}, Kn = (Yn, Cs) => {
|
|
5362
|
-
var Ni,
|
|
5362
|
+
var Ni, tl;
|
|
5363
5363
|
delete Jg.text_block_elements, delete Jg.block_elements;
|
|
5364
5364
|
const gl = Cs.extends ? !Pu(Cs.extends) : !1, $a = Cs.extends;
|
|
5365
5365
|
if (a[Yn] = $a ? a[$a] : {}, p[Yn] = $a ?? Yn, Ge[Yn.toUpperCase()] = {}, Ge[Yn] = {}, gl || (nn[Yn.toUpperCase()] = {}, nn[Yn] = {}), $a && !s[Yn] && s[$a]) {
|
|
@@ -5382,7 +5382,7 @@ function sfe() {
|
|
|
5382
5382
|
}), s[Yn] = li;
|
|
5383
5383
|
}
|
|
5384
5384
|
if ($t(Cs.padEmpty)) {
|
|
5385
|
-
const ai = (
|
|
5385
|
+
const ai = (tl = s[Yn]) !== null && tl !== void 0 ? tl : {};
|
|
5386
5386
|
ai.paddEmpty = Cs.padEmpty, s[Yn] = ai;
|
|
5387
5387
|
}
|
|
5388
5388
|
if (at(Cs.children)) {
|
|
@@ -5409,7 +5409,7 @@ function sfe() {
|
|
|
5409
5409
|
}, ns = (Yn) => {
|
|
5410
5410
|
We(Yn) ? qt(Yn, (Cs, Ni) => Kn(Ni, Cs)) : re(Yn) && ts(Yn);
|
|
5411
5411
|
}, Gs = (Yn) => {
|
|
5412
|
-
Se(Kg(Yn ?? ""), ({ operation: Cs, name: Ni, validChildren:
|
|
5412
|
+
Se(Kg(Yn ?? ""), ({ operation: Cs, name: Ni, validChildren: tl }) => {
|
|
5413
5413
|
const gl = Cs === "replace" ? { "#comment": {} } : a[Ni], $a = (li) => {
|
|
5414
5414
|
Cs === "remove" ? delete gl[li] : gl[li] = {};
|
|
5415
5415
|
}, ai = (li) => {
|
|
@@ -5417,7 +5417,7 @@ function sfe() {
|
|
|
5417
5417
|
Se(Dc, $a);
|
|
5418
5418
|
});
|
|
5419
5419
|
};
|
|
5420
|
-
Se(
|
|
5420
|
+
Se(tl, ({ preset: li, name: Dc }) => {
|
|
5421
5421
|
li ? ai(Dc) : $a(Dc);
|
|
5422
5422
|
}), a[Ni] = gl;
|
|
5423
5423
|
});
|
|
@@ -5427,9 +5427,9 @@ function sfe() {
|
|
|
5427
5427
|
return Cs;
|
|
5428
5428
|
let Ni = d.length;
|
|
5429
5429
|
for (; Ni--; ) {
|
|
5430
|
-
const
|
|
5431
|
-
if (
|
|
5432
|
-
return
|
|
5430
|
+
const tl = d[Ni];
|
|
5431
|
+
if (tl.pattern.test(Yn))
|
|
5432
|
+
return tl;
|
|
5433
5433
|
}
|
|
5434
5434
|
}, Bi = () => {
|
|
5435
5435
|
e.valid_elements ? (fn(e.valid_elements), zn(B, (Yn, Cs) => {
|
|
@@ -5439,16 +5439,16 @@ function sfe() {
|
|
|
5439
5439
|
attributes: Yn.attributes,
|
|
5440
5440
|
attributesOrder: Yn.attributesOrder
|
|
5441
5441
|
}, a[Cs] = Yn.children;
|
|
5442
|
-
}), zn(
|
|
5443
|
-
const Cs =
|
|
5442
|
+
}), zn(Ua("strong/b em/i"), (Yn) => {
|
|
5443
|
+
const Cs = Ua(Yn, "/");
|
|
5444
5444
|
s[Cs[1]].outputName = Cs[0];
|
|
5445
5445
|
}), zn(En, (Yn, Cs) => {
|
|
5446
5446
|
s[Cs] && (e.padd_empty_block_inline_children && (s[Cs].paddInEmptyBlock = !0), s[Cs].removeEmpty = !0);
|
|
5447
|
-
}), zn(
|
|
5447
|
+
}), zn(Ua("ol ul blockquote a table tbody"), (Yn) => {
|
|
5448
5448
|
s[Yn] && (s[Yn].removeEmpty = !0);
|
|
5449
|
-
}), zn(
|
|
5449
|
+
}), zn(Ua("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"), (Yn) => {
|
|
5450
5450
|
s[Yn] && (s[Yn].paddEmpty = !0);
|
|
5451
|
-
}), zn(
|
|
5451
|
+
}), zn(Ua("span"), (Yn) => {
|
|
5452
5452
|
s[Yn].removeEmptyAttrs = !0;
|
|
5453
5453
|
})), delete s.svg, ns(e.custom_elements), Gs(e.valid_children), Zt(e.extended_valid_elements), Gs("+ol[ul|ol],+ul[ul|ol]"), zn({
|
|
5454
5454
|
dd: "dl",
|
|
@@ -5464,7 +5464,7 @@ function sfe() {
|
|
|
5464
5464
|
area: "map",
|
|
5465
5465
|
param: "video audio object"
|
|
5466
5466
|
}, (Yn, Cs) => {
|
|
5467
|
-
s[Cs] && (s[Cs].parentsRequired =
|
|
5467
|
+
s[Cs] && (s[Cs].parentsRequired = Ua(Yn));
|
|
5468
5468
|
}), e.invalid_elements && zn(KO(e.invalid_elements), (Yn) => {
|
|
5469
5469
|
s[Yn] && delete s[Yn];
|
|
5470
5470
|
}), ir("span") || Zt("span[!data-mce-type|*]");
|
|
@@ -5477,11 +5477,11 @@ function sfe() {
|
|
|
5477
5477
|
if (Cs) {
|
|
5478
5478
|
if (Ni.attributes[Cs])
|
|
5479
5479
|
return !0;
|
|
5480
|
-
const
|
|
5481
|
-
if (
|
|
5482
|
-
let gl =
|
|
5480
|
+
const tl = Ni.attributePatterns;
|
|
5481
|
+
if (tl) {
|
|
5482
|
+
let gl = tl.length;
|
|
5483
5483
|
for (; gl--; )
|
|
5484
|
-
if (
|
|
5484
|
+
if (tl[gl].pattern.test(Cs))
|
|
5485
5485
|
return !0;
|
|
5486
5486
|
}
|
|
5487
5487
|
} else
|
|
@@ -6044,7 +6044,7 @@ function sfe() {
|
|
|
6044
6044
|
Gn(dt, (ft) => Xl(Me.fromDom(ft), "display"));
|
|
6045
6045
|
}, Ni = (dt) => {
|
|
6046
6046
|
Gn(dt, (ft) => Vg(Me.fromDom(ft), "display", "none"));
|
|
6047
|
-
},
|
|
6047
|
+
}, tl = (dt) => {
|
|
6048
6048
|
const ft = Oe(dt);
|
|
6049
6049
|
return je(ft) && ia(Ll(ft, "display"), "none");
|
|
6050
6050
|
}, gl = (dt) => (dt || "mce_") + p++, $a = (dt) => {
|
|
@@ -6095,7 +6095,7 @@ function sfe() {
|
|
|
6095
6095
|
let on = S1(), ho, Ms;
|
|
6096
6096
|
if (dt && ft && dt.parentNode && ft.parentNode) {
|
|
6097
6097
|
const Ci = dt.parentNode;
|
|
6098
|
-
return on.setStart(Ci, b0(dt)), on.setEnd(ft.parentNode, b0(ft)), ho = on.extractContents(), on = S1(), on.setStart(ft.parentNode, b0(ft) + 1), on.setEnd(Ci, b0(dt) + 1), Ms = on.extractContents(), Ci.insertBefore(
|
|
6098
|
+
return on.setStart(Ci, b0(dt)), on.setEnd(ft.parentNode, b0(ft)), ho = on.extractContents(), on = S1(), on.setStart(ft.parentNode, b0(ft) + 1), on.setEnd(Ci, b0(dt) + 1), Ms = on.extractContents(), Ci.insertBefore(Ha(Du, ho, W), dt), an ? Ci.insertBefore(an, dt) : Ci.insertBefore(ft, dt), Ci.insertBefore(Ha(Du, Ms, W), dt), br(dt), an || ft;
|
|
6099
6099
|
} else
|
|
6100
6100
|
return;
|
|
6101
6101
|
}, k1 = (dt, ft, an, on) => {
|
|
@@ -6184,7 +6184,7 @@ function sfe() {
|
|
|
6184
6184
|
toggleClass: Rh,
|
|
6185
6185
|
show: Cs,
|
|
6186
6186
|
hide: Ni,
|
|
6187
|
-
isHidden:
|
|
6187
|
+
isHidden: tl,
|
|
6188
6188
|
uniqueId: gl,
|
|
6189
6189
|
setHTML: Sn,
|
|
6190
6190
|
getOuterHTML: $a,
|
|
@@ -6345,7 +6345,7 @@ function sfe() {
|
|
|
6345
6345
|
},
|
|
6346
6346
|
isRtl: () => Gl().bind((e) => xs(e, "_dir")).exists((e) => e === "rtl"),
|
|
6347
6347
|
hasCode: (e) => Xn(Kr, e)
|
|
6348
|
-
},
|
|
6348
|
+
}, Wa = () => {
|
|
6349
6349
|
const e = [], n = {}, s = {}, a = [], d = (de, Oe) => {
|
|
6350
6350
|
const Fe = wn(a, (Ge) => Ge.name === de && Ge.state === Oe);
|
|
6351
6351
|
Se(Fe, (Ge) => Ge.resolve());
|
|
@@ -6356,7 +6356,7 @@ function sfe() {
|
|
|
6356
6356
|
const Fe = Sf.getCode(), Ge = "," + (Oe || "") + ",";
|
|
6357
6357
|
!Fe || Oe && Ge.indexOf("," + Fe + ",") === -1 || ah.ScriptLoader.add(n[de] + "/langs/" + Fe + ".js");
|
|
6358
6358
|
}, B = (de, Oe) => {
|
|
6359
|
-
|
|
6359
|
+
Wa.languageLoad !== !1 && (p(de) ? $(de, Oe) : ge(de, "loaded").then(() => $(de, Oe)));
|
|
6360
6360
|
}, W = (de, Oe) => (e.push(Oe), s[de] = { instance: Oe }, d(de, "added"), Oe), X = (de) => {
|
|
6361
6361
|
delete n[de], delete s[de];
|
|
6362
6362
|
}, G = (de, Oe) => re(Oe) ? re(de) ? {
|
|
@@ -6371,7 +6371,7 @@ function sfe() {
|
|
|
6371
6371
|
if (n[de])
|
|
6372
6372
|
return Promise.resolve();
|
|
6373
6373
|
let Fe = re(Oe) ? Oe : Oe.prefix + Oe.resource + Oe.suffix;
|
|
6374
|
-
Fe.indexOf("/") !== 0 && Fe.indexOf("://") === -1 && (Fe =
|
|
6374
|
+
Fe.indexOf("/") !== 0 && Fe.indexOf("://") === -1 && (Fe = Wa.baseURL + "/" + Fe), n[de] = Fe.substring(0, Fe.lastIndexOf("/"));
|
|
6375
6375
|
const Ge = () => (d(de, "loaded"), Promise.resolve());
|
|
6376
6376
|
return s[de] ? Ge() : ah.ScriptLoader.add(Fe).then(Ge);
|
|
6377
6377
|
}, ge = (de, Oe = "added") => Oe === "added" && v(de) || Oe === "loaded" && p(de) ? Promise.resolve() : new Promise((Fe) => {
|
|
@@ -6394,7 +6394,7 @@ function sfe() {
|
|
|
6394
6394
|
waitFor: ge
|
|
6395
6395
|
};
|
|
6396
6396
|
};
|
|
6397
|
-
|
|
6397
|
+
Wa.languageLoad = !0, Wa.baseURL = "", Wa.PluginManager = Wa(), Wa.ThemeManager = Wa(), Wa.ModelManager = Wa();
|
|
6398
6398
|
const op = (e, n) => {
|
|
6399
6399
|
let s = null;
|
|
6400
6400
|
return {
|
|
@@ -6431,10 +6431,10 @@ function sfe() {
|
|
|
6431
6431
|
};
|
|
6432
6432
|
})));
|
|
6433
6433
|
}, F_ = (e) => Qo(e) && Uh(e, ob()), A2 = (e, n) => Vi(e, "data-mce-bogus") || dk(e, '[data-mce-bogus="all"]', sb(n)), ry = (e, n) => {
|
|
6434
|
-
const s = Me.fromDom(e.getBody()), a =
|
|
6434
|
+
const s = Me.fromDom(e.getBody()), a = Za(s, `[${rp()}="${n}"]`);
|
|
6435
6435
|
return wn(a, (d) => !A2(d, s));
|
|
6436
6436
|
}, ip = (e, n) => {
|
|
6437
|
-
const s = Me.fromDom(e.getBody()), a =
|
|
6437
|
+
const s = Me.fromDom(e.getBody()), a = Za(s, `[${sp()}="${n}"]`), d = {};
|
|
6438
6438
|
return Se(a, (p) => {
|
|
6439
6439
|
if (!A2(p, s)) {
|
|
6440
6440
|
const v = aa(p, rp()), C = xs(d, v).getOr([]);
|
|
@@ -6542,7 +6542,7 @@ function sfe() {
|
|
|
6542
6542
|
const a = la(e);
|
|
6543
6543
|
return Td(s, a), sr(e), s;
|
|
6544
6544
|
}, x0 = (e, n, s = Ke) => {
|
|
6545
|
-
const a = new
|
|
6545
|
+
const a = new Va(e, n), d = (p) => {
|
|
6546
6546
|
let v;
|
|
6547
6547
|
do
|
|
6548
6548
|
v = a[p]();
|
|
@@ -6652,7 +6652,7 @@ function sfe() {
|
|
|
6652
6652
|
n.push(Me.fromDom(s)), s = s.lastChild;
|
|
6653
6653
|
return n;
|
|
6654
6654
|
}, bk = (e) => {
|
|
6655
|
-
const n =
|
|
6655
|
+
const n = Za(e, "br"), s = wn(nd(e).slice(-1), Cf);
|
|
6656
6656
|
n.length === s.length && Se(s, sr);
|
|
6657
6657
|
}, Dd = () => {
|
|
6658
6658
|
const e = Me.fromTag("br");
|
|
@@ -6660,14 +6660,14 @@ function sfe() {
|
|
|
6660
6660
|
}, ch = (e) => {
|
|
6661
6661
|
uu(e), wr(e, Dd());
|
|
6662
6662
|
}, j_ = (e, n) => {
|
|
6663
|
-
|
|
6663
|
+
Fa(e).each((s) => {
|
|
6664
6664
|
zu(s).each((a) => {
|
|
6665
6665
|
n.isBlock(be(e)) && Cf(s) && n.isBlock(be(a)) && sr(s);
|
|
6666
6666
|
});
|
|
6667
6667
|
});
|
|
6668
|
-
},
|
|
6668
|
+
}, ja = o0, db = V1, pu = za, X_ = (e) => e.insertContent(ja, { preserve_zwsp: !0 }), L2 = yn, ap = jt, cg = (e) => (ap(e) && (e = e.parentNode), L2(e) && e.hasAttribute("data-mce-caret")), dm = (e) => ap(e) && db(e.data), _c = (e) => cg(e) || dm(e), Ok = (e) => e.firstChild !== e.lastChild || !Ds(e.firstChild), yk = (e, n) => {
|
|
6669
6669
|
var s;
|
|
6670
|
-
const d = ((s = e.ownerDocument) !== null && s !== void 0 ? s : document).createTextNode(
|
|
6670
|
+
const d = ((s = e.ownerDocument) !== null && s !== void 0 ? s : document).createTextNode(ja), p = e.parentNode;
|
|
6671
6671
|
if (n) {
|
|
6672
6672
|
const v = e.previousSibling;
|
|
6673
6673
|
if (ap(v)) {
|
|
@@ -6690,17 +6690,17 @@ function sfe() {
|
|
|
6690
6690
|
return d;
|
|
6691
6691
|
}, lp = (e) => {
|
|
6692
6692
|
const n = e.container();
|
|
6693
|
-
return jt(n) ? n.data.charAt(e.offset()) ===
|
|
6693
|
+
return jt(n) ? n.data.charAt(e.offset()) === ja || e.isAtStart() && dm(n.previousSibling) : !1;
|
|
6694
6694
|
}, Tf = (e) => {
|
|
6695
6695
|
const n = e.container();
|
|
6696
|
-
return jt(n) ? n.data.charAt(e.offset() - 1) ===
|
|
6696
|
+
return jt(n) ? n.data.charAt(e.offset() - 1) === ja || e.isAtEnd() && dm(n.nextSibling) : !1;
|
|
6697
6697
|
}, ay = (e, n, s) => {
|
|
6698
6698
|
var a;
|
|
6699
6699
|
const p = ((a = n.ownerDocument) !== null && a !== void 0 ? a : document).createElement(e);
|
|
6700
6700
|
p.setAttribute("data-mce-caret", s ? "before" : "after"), p.setAttribute("data-mce-bogus", "all"), p.appendChild(Dd().dom);
|
|
6701
6701
|
const v = n.parentNode;
|
|
6702
6702
|
return s ? v == null || v.insertBefore(p, n) : n.nextSibling ? v == null || v.insertBefore(p, n.nextSibling) : v == null || v.appendChild(p), p;
|
|
6703
|
-
}, ps = (e) => ap(e) && e.data[0] ===
|
|
6703
|
+
}, ps = (e) => ap(e) && e.data[0] === ja, Yl = (e) => ap(e) && e.data[e.data.length - 1] === ja, _f = (e) => {
|
|
6704
6704
|
var n;
|
|
6705
6705
|
const s = e.getElementsByTagName("br"), a = s[s.length - 1];
|
|
6706
6706
|
om(a) && ((n = a.parentNode) === null || n === void 0 || n.removeChild(a));
|
|
@@ -7313,7 +7313,7 @@ Required: ` + n.join(", "));
|
|
|
7313
7313
|
}), ul = (e, n, s) => e.dispatch("PastePostProcess", {
|
|
7314
7314
|
node: n,
|
|
7315
7315
|
internal: s
|
|
7316
|
-
}), Ai = (e, n) => e.dispatch("PastePlainTextToggle", { state: n }),
|
|
7316
|
+
}), Ai = (e, n) => e.dispatch("PastePlainTextToggle", { state: n }), Xa = (e, n) => e.dispatch("EditableRootStateChange", { state: n }), fa = (e, n) => e.dispatch("DisabledStateChange", { state: n }), vb = se().deviceType, ow = vb.isTouch(), wb = Tr.DOM, qa = (e) => {
|
|
7317
7317
|
const n = e.indexOf("=") > 0 ? e.split(/[;,](?![^=;,]*(?:[;,]|$))/) : e.split(",");
|
|
7318
7318
|
return Co(n, (s, a) => {
|
|
7319
7319
|
const d = a.split("="), p = d[0], v = d.length > 1 ? d[1] : p;
|
|
@@ -7323,7 +7323,7 @@ Required: ` + n.join(", "));
|
|
|
7323
7323
|
const a = re(s);
|
|
7324
7324
|
if (a)
|
|
7325
7325
|
if (s.indexOf("=") !== -1) {
|
|
7326
|
-
const d =
|
|
7326
|
+
const d = qa(s);
|
|
7327
7327
|
return {
|
|
7328
7328
|
value: xs(d, e.id).getOr(n),
|
|
7329
7329
|
valid: a
|
|
@@ -7919,7 +7919,7 @@ Required: ` + n.join(", "));
|
|
|
7919
7919
|
};
|
|
7920
7920
|
}, Ew = (e) => {
|
|
7921
7921
|
let n;
|
|
7922
|
-
for (; (n = e.data.lastIndexOf(
|
|
7922
|
+
for (; (n = e.data.lastIndexOf(ja)) !== -1; )
|
|
7923
7923
|
e.deleteData(n, 1);
|
|
7924
7924
|
}, Qy = (e, n) => (bp(e), n), fC = (e, n) => {
|
|
7925
7925
|
const s = _w(e.data.substr(0, n.offset())), a = _w(e.data.substr(n.offset()));
|
|
@@ -7944,7 +7944,7 @@ Required: ` + n.join(", "));
|
|
|
7944
7944
|
return v > 0 && (s && (v *= -1), a.left += v, a.right += v), a;
|
|
7945
7945
|
}, yM = (e) => {
|
|
7946
7946
|
var n, s;
|
|
7947
|
-
const a =
|
|
7947
|
+
const a = Za(Me.fromDom(e), vc);
|
|
7948
7948
|
for (let d = 0; d < a.length; d++) {
|
|
7949
7949
|
const p = a[d].dom;
|
|
7950
7950
|
let v = p.previousSibling;
|
|
@@ -8006,7 +8006,7 @@ Required: ` + n.join(", "));
|
|
|
8006
8006
|
return s;
|
|
8007
8007
|
return null;
|
|
8008
8008
|
}, gg = (e, n, s, a, d) => {
|
|
8009
|
-
const p = new
|
|
8009
|
+
const p = new Va(e, a), v = Rb(e) || Mb(e);
|
|
8010
8010
|
let C;
|
|
8011
8011
|
if (Op(n)) {
|
|
8012
8012
|
if (v && (C = Vy(p.prev.bind(p), !0), s(C)))
|
|
@@ -8201,7 +8201,7 @@ Required: ` + n.join(", "));
|
|
|
8201
8201
|
});
|
|
8202
8202
|
}, F0 = (e, n) => {
|
|
8203
8203
|
var s;
|
|
8204
|
-
const d = ((s = e.ownerDocument) !== null && s !== void 0 ? s : document).createTextNode(
|
|
8204
|
+
const d = ((s = e.ownerDocument) !== null && s !== void 0 ? s : document).createTextNode(ja);
|
|
8205
8205
|
e.appendChild(d), n.setStart(d, 0), n.setEnd(d, 0);
|
|
8206
8206
|
}, PC = (e) => !e.hasChildNodes(), Z5 = (e, n) => Vd(e).fold(Ke, (s) => (n.setStart(s.container(), s.offset()), n.setEnd(s.container(), s.offset()), !0)), V5 = (e, n, s) => PC(n) && xp(e, n) ? (F0(n, s), !0) : !1, AC = (e, n, s, a) => {
|
|
8207
8207
|
const d = s[n ? "start" : "end"], p = e.getRoot();
|
|
@@ -8291,7 +8291,7 @@ Required: ` + n.join(", "));
|
|
|
8291
8291
|
}, W5 = (e) => Ks(e, (n) => {
|
|
8292
8292
|
const s = ly(n);
|
|
8293
8293
|
return s ? [Me.fromDom(s)] : [];
|
|
8294
|
-
}), xM = (e) => DC(e).length > 1, RC = (e) => wn(W5(e), ub), SM = (e) =>
|
|
8294
|
+
}), xM = (e) => DC(e).length > 1, RC = (e) => wn(W5(e), ub), SM = (e) => Za(e, "td[data-mce-selected],th[data-mce-selected]"), MC = (e, n) => {
|
|
8295
8295
|
const s = SM(n);
|
|
8296
8296
|
return s.length > 0 ? s : RC(e);
|
|
8297
8297
|
}, kp = (e) => MC(DC(e.selection.getSel()), Me.fromDom(e.getBody())), Cp = (e, n) => Yf(e, "table", n), Tp = (e) => {
|
|
@@ -8300,11 +8300,11 @@ Required: ` + n.join(", "));
|
|
|
8300
8300
|
}, kM = (e) => {
|
|
8301
8301
|
const n = e.endContainer, s = e.endOffset;
|
|
8302
8302
|
return jt(n) ? s === n.data.length ? Y.some(Me.fromDom(n)) : Y.none() : Y.from(n.childNodes[s - 1]).map(Me.fromDom);
|
|
8303
|
-
}, Rw = (e) => Cc(e).fold(wt([e]), (n) => [e].concat(Rw(n))), V0 = (e) =>
|
|
8303
|
+
}, Rw = (e) => Cc(e).fold(wt([e]), (n) => [e].concat(Rw(n))), V0 = (e) => Fa(e).fold(wt([e]), (n) => be(n) === "br" ? zu(n).map((s) => [e].concat(V0(s))).getOr([]) : [e].concat(V0(n))), Mw = (e, n) => Br(Tp(n), kM(n), (s, a) => {
|
|
8304
8304
|
const d = Jo(Rw(e), Be(ks, s)), p = Jo(V0(e), Be(ks, a));
|
|
8305
8305
|
return d.isSome() && p.isSome();
|
|
8306
8306
|
}).getOr(!1), Bw = (e, n, s, a) => {
|
|
8307
|
-
const d = s, p = new
|
|
8307
|
+
const d = s, p = new Va(s, d), v = Ts(e.schema.getMoveCaretBeforeOnEnterElements(), ($, B) => !Ne([
|
|
8308
8308
|
"td",
|
|
8309
8309
|
"th",
|
|
8310
8310
|
"table"
|
|
@@ -8352,10 +8352,10 @@ Required: ` + n.join(", "));
|
|
|
8352
8352
|
let W;
|
|
8353
8353
|
if (v < $.length) {
|
|
8354
8354
|
const X = $[v];
|
|
8355
|
-
W = new
|
|
8355
|
+
W = new Va(X, (s = e.getParent(X, e.isBlock)) !== null && s !== void 0 ? s : B);
|
|
8356
8356
|
} else {
|
|
8357
8357
|
const X = $[$.length - 1];
|
|
8358
|
-
W = new
|
|
8358
|
+
W = new Va(X, (a = e.getParent(X, e.isBlock)) !== null && a !== void 0 ? a : B), W.next(!0);
|
|
8359
8359
|
}
|
|
8360
8360
|
for (let X = W.current(); X; X = W.next()) {
|
|
8361
8361
|
if (e.getContentEditable(X) === "false")
|
|
@@ -8379,12 +8379,12 @@ Required: ` + n.join(", "));
|
|
|
8379
8379
|
return zc(s);
|
|
8380
8380
|
} else
|
|
8381
8381
|
return !1;
|
|
8382
|
-
}, Cn = (e) => je(e) && jt(e) && e.length === 0,
|
|
8382
|
+
}, Cn = (e) => je(e) && jt(e) && e.length === 0, Ga = (e, n) => {
|
|
8383
8383
|
const s = "[data-mce-cef-wrappable]", a = _y(e), d = Io(a) ? s : `${s},${a}`;
|
|
8384
8384
|
return vl(Me.fromDom(n), d);
|
|
8385
8385
|
}, Ky = (e, n) => {
|
|
8386
8386
|
const s = e.dom;
|
|
8387
|
-
return Lw(n) && s.getContentEditable(n) === "false" &&
|
|
8387
|
+
return Lw(n) && s.getContentEditable(n) === "false" && Ga(e, n) && s.select('[contenteditable="true"]', n).length === 0;
|
|
8388
8388
|
}, Ri = (e, n) => ye(e) ? e(n) : (je(n) && (e = e.replace(/%(\w+)/g, (s, a) => n[a] || s)), e), ku = (e, n) => (e = e || "", n = n || "", e = "" + (e.nodeName || e), n = "" + (n.nodeName || n), e.toLowerCase() === n.toLowerCase()), Jy = (e, n) => {
|
|
8389
8389
|
if (ln(e))
|
|
8390
8390
|
return null;
|
|
@@ -8430,7 +8430,7 @@ Required: ` + n.join(", "));
|
|
|
8430
8430
|
const n = [];
|
|
8431
8431
|
let s = e;
|
|
8432
8432
|
for (; s; ) {
|
|
8433
|
-
if (jt(s) && s.data !==
|
|
8433
|
+
if (jt(s) && s.data !== ja || s.childNodes.length > 1)
|
|
8434
8434
|
return [];
|
|
8435
8435
|
yn(s) && n.push(s), s = s.firstChild;
|
|
8436
8436
|
}
|
|
@@ -8561,7 +8561,7 @@ Required: ` + n.join(", "));
|
|
|
8561
8561
|
"div.tiny-pageembed",
|
|
8562
8562
|
"div.mce-toc",
|
|
8563
8563
|
"div[data-mce-toc]"
|
|
8564
|
-
], Y5 = (e) => er(e) && k0(e) ===
|
|
8564
|
+
], Y5 = (e) => er(e) && k0(e) === ja, Hw = (e, n, s, a) => Qa(n).fold(() => "skipping", (d) => a === "br" || Y5(n) ? "valid" : F_(n) ? "existing" : Su(n.dom) ? "caret" : ze(zw, (p) => vl(n, p)) ? "valid-block" : !vg(e, s, a) || !vg(e, be(d), s) ? "invalid-child" : "valid"), K5 = (e, n) => {
|
|
8565
8565
|
const s = km(e.dom, n, [{ inline: "span" }]);
|
|
8566
8566
|
n.setStart(s.startContainer, s.startOffset), n.setEnd(s.endContainer, s.endOffset), e.selection.setRng(n);
|
|
8567
8567
|
}, ov = (e, n, s, a, d, p) => {
|
|
@@ -8629,7 +8629,7 @@ Required: ` + n.join(", "));
|
|
|
8629
8629
|
}, gr = (e) => {
|
|
8630
8630
|
const n = fk();
|
|
8631
8631
|
iy(e, n);
|
|
8632
|
-
const s = ib(e, n), a =
|
|
8632
|
+
const s = ib(e, n), a = La("span"), d = (p) => {
|
|
8633
8633
|
Se(p, (v) => {
|
|
8634
8634
|
a(v) ? Vc(v) : Uw(v);
|
|
8635
8635
|
});
|
|
@@ -9159,7 +9159,7 @@ Required: ` + n.join(", "));
|
|
|
9159
9159
|
}, eT = (e, n, s) => $M(e, n, s) !== null, fE = (e, n, s) => eT(e, n, (a) => a.nodeName === s), hE = (e, n) => _c(e) && !eT(e, n, Su), mE = (e, n, s) => {
|
|
9160
9160
|
const a = n.parentNode;
|
|
9161
9161
|
if (a) {
|
|
9162
|
-
const d = new
|
|
9162
|
+
const d = new Va(n, e.getParent(a, e.isBlock) || e.getRoot());
|
|
9163
9163
|
let p;
|
|
9164
9164
|
for (; p = d[s ? "prev" : "next"](); )
|
|
9165
9165
|
if (Ds(p))
|
|
@@ -9185,7 +9185,7 @@ Required: ` + n.join(", "));
|
|
|
9185
9185
|
const W = e.getParent(C, e.isBlock) || p;
|
|
9186
9186
|
if (a && Ds(d) && n && e.isEmpty(W))
|
|
9187
9187
|
return Y.some(kt(C, e.nodeIndex(d)));
|
|
9188
|
-
const X = new
|
|
9188
|
+
const X = new Va(d, W);
|
|
9189
9189
|
for (; B = X[a ? "prev" : "next"](); ) {
|
|
9190
9190
|
if (e.getContentEditableParent(B) === "false" || hE(B, p))
|
|
9191
9191
|
return Y.none();
|
|
@@ -9211,7 +9211,7 @@ Required: ` + n.join(", "));
|
|
|
9211
9211
|
return Y.none();
|
|
9212
9212
|
if (C.hasChildNodes() && !ju(C)) {
|
|
9213
9213
|
p = C;
|
|
9214
|
-
const G = new
|
|
9214
|
+
const G = new Va(C, d);
|
|
9215
9215
|
do {
|
|
9216
9216
|
if ($s(p) || _c(p)) {
|
|
9217
9217
|
v = !1;
|
|
@@ -9373,7 +9373,7 @@ Required: ` + n.join(", "));
|
|
|
9373
9373
|
cleanup: n
|
|
9374
9374
|
};
|
|
9375
9375
|
}, IM = (e, n) => {
|
|
9376
|
-
const s = NM(e, n), a = Me.fromHtml('<span data-mce-bogus="all" style="display: inline-block;">' +
|
|
9376
|
+
const s = NM(e, n), a = Me.fromHtml('<span data-mce-bogus="all" style="display: inline-block;">' + ja + "</span>");
|
|
9377
9377
|
return al(s.element, a), LM(a, () => sr(a));
|
|
9378
9378
|
}, QM = (e) => LM(Me.fromDom(e), gt), FM = (e, n, s, a) => {
|
|
9379
9379
|
dZ(e, (d, p) => uZ(e, n, s, a), s);
|
|
@@ -9424,7 +9424,7 @@ Required: ` + n.join(", "));
|
|
|
9424
9424
|
(e.inline ? fZ : hZ)(e, n, s);
|
|
9425
9425
|
}, WM = (e, n) => n.collapsed ? e.isEditable(n.startContainer) : e.isEditable(n.startContainer) && e.isEditable(n.endContainer), jM = (e, n, s, a, d) => {
|
|
9426
9426
|
const p = s ? n.startContainer : n.endContainer, v = s ? n.startOffset : n.endOffset;
|
|
9427
|
-
return Y.from(p).map(Me.fromDom).map((C) => !a || !n.collapsed ? Hu(C, d(C, v)).getOr(C) : C).bind((C) => Qo(C) ? Y.some(C) :
|
|
9427
|
+
return Y.from(p).map(Me.fromDom).map((C) => !a || !n.collapsed ? Hu(C, d(C, v)).getOr(C) : C).bind((C) => Qo(C) ? Y.some(C) : Qa(C).filter(Qo)).map((C) => C.dom).getOr(e);
|
|
9428
9428
|
}, XM = (e, n, s = !1) => jM(e, n, !0, s, (a, d) => Math.min(Sd(a), d)), qM = (e, n, s = !1) => jM(e, n, !1, s, (a, d) => d > 0 ? d - 1 : d), dx = (e, n) => {
|
|
9429
9429
|
const s = e;
|
|
9430
9430
|
for (; e && jt(e) && e.length === 0; )
|
|
@@ -9443,7 +9443,7 @@ Required: ` + n.join(", "));
|
|
|
9443
9443
|
const d = [], p = e.getRoot(), v = e.getParent(s || XM(p, n, n.collapsed), e.isBlock), C = e.getParent(a || qM(p, n, n.collapsed), e.isBlock);
|
|
9444
9444
|
if (v && v !== p && d.push(v), v && C && v !== C) {
|
|
9445
9445
|
let $;
|
|
9446
|
-
const B = new
|
|
9446
|
+
const B = new Va(v, p);
|
|
9447
9447
|
for (; ($ = B.next()) && $ !== C; )
|
|
9448
9448
|
e.isBlock($) && d.push($);
|
|
9449
9449
|
}
|
|
@@ -9626,7 +9626,7 @@ Required: ` + n.join(", "));
|
|
|
9626
9626
|
return rT(this, null, n);
|
|
9627
9627
|
}
|
|
9628
9628
|
}
|
|
9629
|
-
const pZ = Nt.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), e8 = (e) => re(e.nodeValue) && e.nodeValue.includes(
|
|
9629
|
+
const pZ = Nt.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), e8 = (e) => re(e.nodeValue) && e.nodeValue.includes(ja), t8 = (e) => `${e.length === 0 ? "" : `${Je(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`, bZ = (e, n) => n.querySelectorAll(t8(e)), n8 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_COMMENT, (n) => e8(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP), o8 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_TEXT, (n) => {
|
|
9630
9630
|
if (e8(n)) {
|
|
9631
9631
|
const s = n.parentNode;
|
|
9632
9632
|
return s && Xn(pZ, s.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -9663,12 +9663,12 @@ Required: ` + n.join(", "));
|
|
|
9663
9663
|
p(a) && (d || (a = e.cloneNode(!0), d = !0), v(a));
|
|
9664
9664
|
}), a;
|
|
9665
9665
|
}, l8 = (e) => {
|
|
9666
|
-
const n =
|
|
9666
|
+
const n = Za(e, "[data-mce-bogus]");
|
|
9667
9667
|
Se(n, (s) => {
|
|
9668
9668
|
aa(s, "data-mce-bogus") === "all" ? sr(s) : Cf(s) ? (al(s, Me.fromText(o0)), sr(s)) : Vc(s);
|
|
9669
9669
|
});
|
|
9670
9670
|
}, c8 = (e) => {
|
|
9671
|
-
const n =
|
|
9671
|
+
const n = Za(e, "input");
|
|
9672
9672
|
Se(n, (s) => {
|
|
9673
9673
|
Vs(s, "name");
|
|
9674
9674
|
});
|
|
@@ -9918,7 +9918,7 @@ Required: ` + n.join(", "));
|
|
|
9918
9918
|
}, T8 = (e, n, s) => mv(n) ? yE(n) : yE(n) || fl(SE(e, n, s).dom, n).exists(yE), _8 = (e, n, s) => mv(n) ? OE(n) : OE(n) || Pl(SE(e, n, s).dom, n).exists(OE), BZ = (e) => Ne([
|
|
9919
9919
|
"pre",
|
|
9920
9920
|
"pre-wrap"
|
|
9921
|
-
], e), uT = (e) => Hy(e).bind((n) => Nr(n, Qo)).exists((n) => BZ(ri(n, "white-space"))), NZ = (e, n) => fl(e.dom, n).isNone(), YJ = (e, n) => Pl(e.dom, n).isNone(), KJ = (e, n, s) => NZ(e, n) || YJ(e, n) || S8(e, n, s) || k8(e, n, s) || cT(e, n, s) || go(e, n, s), LZ = (e) => je(e) && $s(e) && mC(e), E8 = (e, n) => (s) => LZ(new
|
|
9921
|
+
], e), uT = (e) => Hy(e).bind((n) => Nr(n, Qo)).exists((n) => BZ(ri(n, "white-space"))), NZ = (e, n) => fl(e.dom, n).isNone(), YJ = (e, n) => Pl(e.dom, n).isNone(), KJ = (e, n, s) => NZ(e, n) || YJ(e, n) || S8(e, n, s) || k8(e, n, s) || cT(e, n, s) || go(e, n, s), LZ = (e) => je(e) && $s(e) && mC(e), E8 = (e, n) => (s) => LZ(new Va(s, e)[n]()), IZ = (e, n) => {
|
|
9922
9922
|
const s = Pl(e.dom, n).getOr(n), a = E8(e.dom, "next");
|
|
9923
9923
|
return n.isAtEnd() && (a(n.container()) || a(s.container()));
|
|
9924
9924
|
}, QZ = (e, n) => {
|
|
@@ -9965,7 +9965,7 @@ Required: ` + n.join(", "));
|
|
|
9965
9965
|
const d = Me.fromDom(e), p = cu(d, (B) => a.isBlock(be(B))).getOr(d), v = e.data.slice(n, n + s), C = n + s >= e.data.length && gv(p, kt(e, e.data.length), a), $ = n === 0 && hx(p, kt(e, 0), a);
|
|
9966
9966
|
e.replaceData(n, s, du(v, 4, $, C));
|
|
9967
9967
|
}, dT = (e, n, s) => {
|
|
9968
|
-
const a = e.data.slice(n), d = a.length -
|
|
9968
|
+
const a = e.data.slice(n), d = a.length - Ma(a).length;
|
|
9969
9969
|
A8(e, n, d, s);
|
|
9970
9970
|
}, $E = (e, n, s) => {
|
|
9971
9971
|
const a = e.data.slice(0, n), d = a.length - Fi(a).length;
|
|
@@ -10006,7 +10006,7 @@ Required: ` + n.join(", "));
|
|
|
10006
10006
|
}, eV = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, B8 = (e) => eV.test(e), t1 = (e, n) => vl(Me.fromDom(n), Kk(e)) && !Ad(e.schema, n) && e.dom.isEditable(n), ME = (e) => {
|
|
10007
10007
|
var n;
|
|
10008
10008
|
return Tr.DOM.getStyle(e, "direction", !0) === "rtl" || B8((n = e.textContent) !== null && n !== void 0 ? n : "");
|
|
10009
|
-
}, N8 = (e, n, s) => wn(Tr.DOM.getParents(s.container(), "*", n), e),
|
|
10009
|
+
}, N8 = (e, n, s) => wn(Tr.DOM.getParents(s.container(), "*", n), e), Ya = (e, n, s) => {
|
|
10010
10010
|
const a = N8(e, n, s);
|
|
10011
10011
|
return Y.from(a[a.length - 1]);
|
|
10012
10012
|
}, tV = (e, n, s) => {
|
|
@@ -10020,22 +10020,22 @@ Required: ` + n.join(", "));
|
|
|
10020
10020
|
e.on("beforeinput input", s, !0), e.getDoc().execCommand(n), e.off("beforeinput input", s);
|
|
10021
10021
|
}, oV = (e) => {
|
|
10022
10022
|
e.execCommand("delete");
|
|
10023
|
-
}, fT = (e) => n1(e, "Delete"), ni = (e) => n1(e, "ForwardDelete"), hT = (e) => (n) => ia(
|
|
10023
|
+
}, fT = (e) => n1(e, "Delete"), ni = (e) => n1(e, "ForwardDelete"), hT = (e) => (n) => ia(Qa(n), e, ks), mx = (e) => Wi(e) || um(e), mT = (e, n) => Gr(e, n) ? Nr(n, mx, hT(e)) : Y.none(), o1 = (e, n = !0) => {
|
|
10024
10024
|
e.dom.isEmpty(e.getBody()) && e.setContent("", { no_selection: !n });
|
|
10025
10025
|
}, Ud = (e, n, s) => Br(ha(s), Vd(s), (a, d) => {
|
|
10026
10026
|
const p = Af(!0, a), v = Af(!1, d), C = Af(!1, n);
|
|
10027
10027
|
return e ? Pl(s, C).exists(($) => $.isEqual(v) && n.isEqual(p)) : fl(s, C).exists(($) => $.isEqual(p) && n.isEqual(v));
|
|
10028
|
-
}).getOr(!0), bv = (e) => (Un(e) ? zu(e) :
|
|
10028
|
+
}).getOr(!0), bv = (e) => (Un(e) ? zu(e) : Fa(e)).bind(bv).orThunk(() => Y.some(e)), ur = (e, n, s, a = !0) => {
|
|
10029
10029
|
var d;
|
|
10030
10030
|
n.deleteContents();
|
|
10031
10031
|
const p = bv(s).getOr(s), v = Me.fromDom((d = e.dom.getParent(p.dom, e.dom.isBlock)) !== null && d !== void 0 ? d : s.dom);
|
|
10032
10032
|
if (v.dom === e.getBody() ? o1(e, a) : Ji(e.schema, v, { checkRootAsContent: !1 }) && (ch(v), a && e.selection.setCursorLocation(v.dom, 0)), !ks(s, v)) {
|
|
10033
|
-
const C = ia(
|
|
10033
|
+
const C = ia(Qa(v), s) ? [] : Vu(v);
|
|
10034
10034
|
Se(C.concat(la(s)), ($) => {
|
|
10035
10035
|
!ks($, v) && !Gr($, v) && Ji(e.schema, $) && sr($);
|
|
10036
10036
|
});
|
|
10037
10037
|
}
|
|
10038
|
-
}, gx = (e) => (n) => ks(e, n), gT = (e) =>
|
|
10038
|
+
}, gx = (e) => (n) => ks(e, n), gT = (e) => Za(e, "td,th"), BE = (e, n) => Cp(Me.fromDom(e), n), pT = (e) => Br(e.startTable, e.endTable, (n, s) => {
|
|
10039
10039
|
const a = Z1(n, (p) => ks(p, s)), d = Z1(s, (p) => ks(p, n));
|
|
10040
10040
|
return !a && !d ? e : {
|
|
10041
10041
|
...e,
|
|
@@ -10163,7 +10163,7 @@ Required: ` + n.join(", "));
|
|
|
10163
10163
|
}), q8 = (e, n) => Y.some(() => Jb(e, !1, n)), WE = (e, n, s) => U8(n, s).bind((a) => a.fold(Be(wT, e), Be(q8, e), Be(UE, e), Be(X8, e))), G8 = (e, n) => bx(e, n), Y8 = (e, n, s, a) => xT(n, a).fold(() => WE(e, n, s), (d) => G8(e, d)), K8 = (e, n, s) => {
|
|
10164
10164
|
const a = Me.fromDom(e.getBody()), d = e.selection.getRng();
|
|
10165
10165
|
return s.length !== 0 ? UE(e, s, Y.none()) : Y8(e, a, d, n);
|
|
10166
|
-
}, jE = (e, n) => Jo(Pp(n, e), ub), xT = (e, n) => Jo(Pp(n, e),
|
|
10166
|
+
}, jE = (e, n) => Jo(Pp(n, e), ub), xT = (e, n) => Jo(Pp(n, e), La("caption")), J8 = (e, n, s, a, d) => bg(s, e.getBody(), d).bind((p) => jE(n, Me.fromDom(p.getNode())).bind((v) => ks(v, a) ? Y.none() : Y.some(gt))), bx = (e, n) => Y.some(() => {
|
|
10167
10167
|
ch(n), e.selection.setCursorLocation(n.dom, 0);
|
|
10168
10168
|
}), XE = (e, n, s, a) => ha(e.dom).bind((d) => Vd(e.dom).map((p) => n ? s.isEqual(d) && a.isEqual(p) : s.isEqual(p) && a.isEqual(d))).getOr(!0), ST = (e, n) => bx(e, n), e6 = (e, n, s) => xT(e, Me.fromDom(s.getNode())).fold(() => Y.some(gt), (a) => Oa(!ks(a, n), gt)), sV = (e, n, s, a, d) => bg(s, e.getBody(), d).fold(() => Y.some(gt), (p) => XE(a, s, d, p) ? ST(e, a) : e6(n, a, p)), t6 = (e, n, s, a) => {
|
|
10169
10169
|
const d = kt.fromRangeStart(e.selection.getRng());
|
|
@@ -10697,9 +10697,9 @@ Required: ` + n.join(", "));
|
|
|
10697
10697
|
}, yV = (e, n, s) => Co(s, (a, d) => {
|
|
10698
10698
|
const p = IC(e, d);
|
|
10699
10699
|
return e.formatter.matchNode(n, d, {}, p) ? a.concat([d]) : a;
|
|
10700
|
-
}, []), $x =
|
|
10700
|
+
}, []), $x = ja, vV = (e, n) => e.importNode(n, !0), f6 = (e) => {
|
|
10701
10701
|
if (e) {
|
|
10702
|
-
const n = new
|
|
10702
|
+
const n = new Va(e, e);
|
|
10703
10703
|
for (let s = n.current(); s; s = n.next())
|
|
10704
10704
|
if (jt(s))
|
|
10705
10705
|
return s;
|
|
@@ -10936,7 +10936,7 @@ Required: ` + n.join(", "));
|
|
|
10936
10936
|
const p = a.childNodes.length - 1;
|
|
10937
10937
|
!s && d && d--, a = a.childNodes[d > p ? p : d];
|
|
10938
10938
|
}
|
|
10939
|
-
return jt(a) && s && d >= a.data.length && (a = new
|
|
10939
|
+
return jt(a) && s && d >= a.data.length && (a = new Va(a, e.getBody()).next() || a), jt(a) && !s && d === 0 && (a = new Va(a, e.getBody()).prev() || a), a;
|
|
10940
10940
|
}, T6 = (e, n) => {
|
|
10941
10941
|
const s = n ? "firstChild" : "lastChild", a = e[s];
|
|
10942
10942
|
return S6(e) && a ? e.nodeName === "TR" && a[s] || a : e;
|
|
@@ -11555,7 +11555,7 @@ Required: ` + n.join(", "));
|
|
|
11555
11555
|
ge.length || (ge = null), X.attr("class", ge);
|
|
11556
11556
|
}
|
|
11557
11557
|
}), P$(e, n);
|
|
11558
|
-
const v = (s = n.sandbox_iframes) !== null && s !== void 0 ? s : !1, C =
|
|
11558
|
+
const v = (s = n.sandbox_iframes) !== null && s !== void 0 ? s : !1, C = Ra((a = n.sandbox_iframes_exclusions) !== null && a !== void 0 ? a : []);
|
|
11559
11559
|
n.convert_unsafe_embeds && e.addNodeFilter("object,embed", ($) => Se($, (B) => {
|
|
11560
11560
|
B.replace(XT({
|
|
11561
11561
|
type: B.attr("type"),
|
|
@@ -11774,7 +11774,7 @@ Required: ` + n.join(", "));
|
|
|
11774
11774
|
value: !1
|
|
11775
11775
|
}
|
|
11776
11776
|
})), vn = null, os = null, jo = !0, Ea = !0, br = !1, ic = !0, $u = !1, Dh = !0, Ml = !1, Pu = !1, Rh = !1, ac = !1, Au = !1, Yn = !1, Cs = !0, Ni = !1;
|
|
11777
|
-
const
|
|
11777
|
+
const tl = "user-content-";
|
|
11778
11778
|
let gl = !0, $a = !1, ai = {}, li = null;
|
|
11779
11779
|
const Dc = Pr({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
11780
11780
|
let Vf = null;
|
|
@@ -11995,7 +11995,7 @@ Required: ` + n.join(", "));
|
|
|
11995
11995
|
ZS(Rc, ht);
|
|
11996
11996
|
continue;
|
|
11997
11997
|
}
|
|
11998
|
-
if (Ni && (zS === "id" || zS === "name") && (ZS(Rc, ht), eu =
|
|
11998
|
+
if (Ni && (zS === "id" || zS === "name") && (ZS(Rc, ht), eu = tl + eu), Dh && cd(/((--!?|])>)|<\/(style|title)/i, eu)) {
|
|
11999
11999
|
ZS(Rc, ht);
|
|
12000
12000
|
continue;
|
|
12001
12001
|
}
|
|
@@ -12632,8 +12632,8 @@ Required: ` + n.join(", "));
|
|
|
12632
12632
|
return Td(a, s), a;
|
|
12633
12633
|
}), dz = (e) => {
|
|
12634
12634
|
const n = e3(lm(e), 0, []);
|
|
12635
|
-
return Se(
|
|
12636
|
-
Se(
|
|
12635
|
+
return Se(Za(e, "tr"), (s, a) => {
|
|
12636
|
+
Se(Za(s, "td,th"), (d, p) => {
|
|
12637
12637
|
p7(n, uz(n, p, a), a, s, d);
|
|
12638
12638
|
});
|
|
12639
12639
|
}), e3(n.element, U$(n.rows), n.rows);
|
|
@@ -12646,7 +12646,7 @@ Required: ` + n.join(", "));
|
|
|
12646
12646
|
}).getOr([])), v7 = (e, n) => {
|
|
12647
12647
|
const s = Co(n, (a, d) => (wr(d, a), d), e);
|
|
12648
12648
|
return n.length > 0 ? ix([s]) : s;
|
|
12649
|
-
}, w7 = (e) => um(e) ?
|
|
12649
|
+
}, w7 = (e) => um(e) ? Qa(e).filter(N2).fold(wt([]), (n) => [
|
|
12650
12650
|
e,
|
|
12651
12651
|
n
|
|
12652
12652
|
]) : N2(e) ? [e] : [], t3 = (e, n, s) => {
|
|
@@ -12805,7 +12805,7 @@ Required: ` + n.join(", "));
|
|
|
12805
12805
|
}), a && (e.selection.moveToBookmark(a), e.selection.scrollIntoView());
|
|
12806
12806
|
}, J$ = (e) => e.type === "fragmented" ? e.fragments.join("") : e.content, zx = (e) => {
|
|
12807
12807
|
const n = Me.fromTag("body", Cz());
|
|
12808
|
-
return Wu(n, J$(e)), Se(
|
|
12808
|
+
return Wu(n, J$(e)), Se(Za(n, "*[data-mce-bogus]"), Vc), xr(n);
|
|
12809
12809
|
}, dO = (e, n) => J$(e) === J$(n), $7 = (e, n) => zx(e) === zx(n), Gc = (e, n) => !e || !n ? !1 : dO(e, n) ? !0 : $7(e, n), Rp = (e) => e.get() === 0, Hx = (e, n, s) => {
|
|
12810
12810
|
Rp(s) && (e.typing = n);
|
|
12811
12811
|
}, P7 = (e, n) => {
|
|
@@ -13010,35 +13010,35 @@ Required: ` + n.join(", "));
|
|
|
13010
13010
|
}, Lf = (e) => Xn(e.plugins, "rtc"), sP = (e) => xs(e.plugins, "rtc").bind((n) => Y.from(n.setup)), B7 = (e) => {
|
|
13011
13011
|
const n = e;
|
|
13012
13012
|
return sP(e).fold(() => (n.rtcInstance = kh(e), Y.none()), (s) => (n.rtcInstance = Rz(), Y.some(() => s().then((a) => (n.rtcInstance = oP(a), a.rtc.isRemote)))));
|
|
13013
|
-
}, o3 = (e) => e.rtcInstance ? e.rtcInstance : kh(e),
|
|
13013
|
+
}, o3 = (e) => e.rtcInstance ? e.rtcInstance : kh(e), Ka = (e) => {
|
|
13014
13014
|
const n = e.rtcInstance;
|
|
13015
13015
|
if (n)
|
|
13016
13016
|
return n;
|
|
13017
13017
|
throw new Error("Failed to get RTC instance not yet initialized.");
|
|
13018
13018
|
}, Mz = (e, n, s) => {
|
|
13019
|
-
|
|
13020
|
-
}, Bz = (e, n, s, a, d, p, v) =>
|
|
13021
|
-
|
|
13019
|
+
Ka(e).undoManager.beforeChange(n, s);
|
|
13020
|
+
}, Bz = (e, n, s, a, d, p, v) => Ka(e).undoManager.add(n, s, a, d, p, v), Nz = (e, n, s, a) => Ka(e).undoManager.undo(n, s, a), Lz = (e, n, s) => Ka(e).undoManager.redo(n, s), Iz = (e, n, s) => {
|
|
13021
|
+
Ka(e).undoManager.clear(n, s);
|
|
13022
13022
|
}, N7 = (e, n) => {
|
|
13023
|
-
|
|
13024
|
-
}, Qz = (e, n, s) =>
|
|
13025
|
-
|
|
13023
|
+
Ka(e).undoManager.reset(n);
|
|
13024
|
+
}, Qz = (e, n, s) => Ka(e).undoManager.hasUndo(n, s), Fz = (e, n, s) => Ka(e).undoManager.hasRedo(n, s), Zz = (e, n, s, a) => Ka(e).undoManager.transact(n, s, a), L7 = (e, n, s) => {
|
|
13025
|
+
Ka(e).undoManager.ignore(n, s);
|
|
13026
13026
|
}, rP = (e, n, s, a, d) => {
|
|
13027
|
-
|
|
13028
|
-
}, iP = (e, n, s, a, d) =>
|
|
13029
|
-
|
|
13027
|
+
Ka(e).undoManager.extra(n, s, a, d);
|
|
13028
|
+
}, iP = (e, n, s, a, d) => Ka(e).formatter.match(n, s, a, d), I7 = (e, n, s) => Ka(e).formatter.matchAll(n, s), aP = (e, n, s, a, d) => Ka(e).formatter.matchNode(n, s, a, d), Q7 = (e, n) => Ka(e).formatter.canApply(n), F7 = (e, n) => Ka(e).formatter.closest(n), lP = (e, n, s, a) => {
|
|
13029
|
+
Ka(e).formatter.apply(n, s, a);
|
|
13030
13030
|
}, Z7 = (e, n, s, a, d) => {
|
|
13031
|
-
|
|
13031
|
+
Ka(e).formatter.remove(n, s, a, d);
|
|
13032
13032
|
}, V7 = (e, n, s, a) => {
|
|
13033
|
-
|
|
13034
|
-
}, z7 = (e, n, s, a, d, p) =>
|
|
13033
|
+
Ka(e).formatter.toggle(n, s, a);
|
|
13034
|
+
}, z7 = (e, n, s, a, d, p) => Ka(e).formatter.formatChanged(n, s, a, d, p), Vz = (e, n) => o3(e).editor.getContent(n), cP = (e, n, s) => o3(e).editor.setContent(n, s), zz = (e, n, s) => o3(e).editor.insertContent(n, s), s3 = (e, n, s) => Ka(e).selection.getContent(n, s), Hz = (e, n) => Ka(e).editor.addVisual(n), H7 = (e) => Ka(e).init.bindEvents(), Uz = (e, n = {}) => {
|
|
13035
13035
|
const s = n.format ? n.format : "html";
|
|
13036
13036
|
return s3(e, s, n);
|
|
13037
13037
|
}, uP = (e) => e.dom.length === 0 ? (sr(e), Y.none()) : Y.some(e), U7 = (e, n) => e.filter((s) => Pf.isBookmarkNode(s.dom)).bind(n ? Gf : zu), Wz = (e, n, s, a, d) => {
|
|
13038
13038
|
const p = e.dom, v = n.dom, C = a ? p.length : v.length;
|
|
13039
13039
|
a ? (PE(p, v, d, !1, !a), s.setStart(v, C)) : (PE(v, p, d, !1, !a), s.setEnd(v, C));
|
|
13040
13040
|
}, jz = (e, n, s) => {
|
|
13041
|
-
|
|
13041
|
+
Qa(e).each((a) => {
|
|
13042
13042
|
const d = e.dom;
|
|
13043
13043
|
n && hx(a, kt(d, 0), s) ? dT(d, 0, s) : !n && gv(a, kt(d, d.length), s) && $E(d, d.length, s);
|
|
13044
13044
|
});
|
|
@@ -13528,7 +13528,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13528
13528
|
get: (d) => e[d] ? e[d] : { icons: {} },
|
|
13529
13529
|
has: (d) => Xn(e, d)
|
|
13530
13530
|
};
|
|
13531
|
-
})(), Nv =
|
|
13531
|
+
})(), Nv = Wa.ModelManager, sB = (e, n) => n.dom[e], rB = (e, n) => parseInt(ri(n, e), 10), iB = Be(sB, "clientWidth"), gH = Be(sB, "clientHeight"), pH = Be(rB, "margin-top"), bH = Be(rB, "margin-left"), a3 = (e) => e.dom.getBoundingClientRect(), OH = (e, n, s) => {
|
|
13532
13532
|
const a = iB(e), d = gH(e);
|
|
13533
13533
|
return n >= 0 && s >= 0 && n <= a && s <= d;
|
|
13534
13534
|
}, yH = (e, n, s, a) => {
|
|
@@ -13603,7 +13603,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13603
13603
|
close: B,
|
|
13604
13604
|
getNotifications: W
|
|
13605
13605
|
};
|
|
13606
|
-
}, Lv =
|
|
13606
|
+
}, Lv = Wa.PluginManager, Pm = Wa.ThemeManager;
|
|
13607
13607
|
var lB = () => {
|
|
13608
13608
|
const e = () => {
|
|
13609
13609
|
throw new Error("Theme did not provide a WindowManager implementation.");
|
|
@@ -13712,11 +13712,11 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13712
13712
|
const n = Me.fromDom(e.getBody());
|
|
13713
13713
|
hB(n, "mce-content-readonly", !1), e.hasEditableRoot() && Is(n, !0), EH(e, !1), en(e) && e.focus(), fB(e), e.nodeChanged();
|
|
13714
13714
|
}, Mp = (e) => M0(e), Iv = "data-mce-contenteditable", Am = (e) => {
|
|
13715
|
-
Se(
|
|
13715
|
+
Se(Za(e, '*[contenteditable="true"]'), (n) => {
|
|
13716
13716
|
qr(n, Iv, "true"), Is(n, !1);
|
|
13717
13717
|
});
|
|
13718
13718
|
}, OP = (e) => {
|
|
13719
|
-
Se(
|
|
13719
|
+
Se(Za(e, `*[${Iv}="true"]`), (n) => {
|
|
13720
13720
|
Vs(n, Iv), Is(n, !0);
|
|
13721
13721
|
});
|
|
13722
13722
|
}, pB = (e, n) => {
|
|
@@ -13990,7 +13990,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13990
13990
|
});
|
|
13991
13991
|
return nn.length > 0 && !Lf(e) ? e.undoManager.transact(() => {
|
|
13992
13992
|
Se(_d(nn), (Ot) => {
|
|
13993
|
-
const Zt =
|
|
13993
|
+
const Zt = Qa(Ot);
|
|
13994
13994
|
sr(Ot), Zt.each(vee(e)), n.removeByUri(Ot.dom.src);
|
|
13995
13995
|
});
|
|
13996
13996
|
}) : En && e.undoManager.dispatchChange(), Ct;
|
|
@@ -14889,7 +14889,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
14889
14889
|
const s = e.selection.getNode();
|
|
14890
14890
|
return Dm(e, s).filter($s).fold(() => HB(e.getBody(), n, e.selection.getRng(), e.schema).map((a) => () => a.fold(QP(e, n), nU(e, n), oU(e))), () => Y.some(gt));
|
|
14891
14891
|
}, p3 = (e) => {
|
|
14892
|
-
Se(
|
|
14892
|
+
Se(Za(e, ".mce-offscreen-selection"), sr);
|
|
14893
14893
|
}, UB = (e, n) => {
|
|
14894
14894
|
const s = e.selection.getNode();
|
|
14895
14895
|
return $s(s) && !i0(s) ? Dm(e, s.parentNode).filter($s).fold(() => Y.some(() => {
|
|
@@ -14946,15 +14946,15 @@ Options:${v}${s.join(v)}` : "";
|
|
|
14946
14946
|
}, y3 = (e, n) => {
|
|
14947
14947
|
const s = kt.fromRangeStart(e.selection.getRng());
|
|
14948
14948
|
return xu(n, e.getBody(), s).filter((a) => n ? v8(a) : $Z(a)).bind((a) => Lb(n ? 0 : -1, a)).map((a) => () => e.selection.select(a));
|
|
14949
|
-
}, sS = (e, n) => e.selection.isCollapsed() ? y3(e, n) : Y.none(), Fv = jt, WB = (e) => Fv(e) && e.data[0] ===
|
|
14949
|
+
}, sS = (e, n) => e.selection.isCollapsed() ? y3(e, n) : Y.none(), Fv = jt, WB = (e) => Fv(e) && e.data[0] === ja, jB = (e) => Fv(e) && e.data[e.data.length - 1] === ja, XB = (e) => {
|
|
14950
14950
|
var n;
|
|
14951
|
-
return ((n = e.ownerDocument) !== null && n !== void 0 ? n : document).createTextNode(
|
|
14951
|
+
return ((n = e.ownerDocument) !== null && n !== void 0 ? n : document).createTextNode(ja);
|
|
14952
14952
|
}, qB = (e) => {
|
|
14953
14953
|
var n;
|
|
14954
14954
|
if (Fv(e.previousSibling))
|
|
14955
|
-
return jB(e.previousSibling) || e.previousSibling.appendData(
|
|
14955
|
+
return jB(e.previousSibling) || e.previousSibling.appendData(ja), e.previousSibling;
|
|
14956
14956
|
if (Fv(e))
|
|
14957
|
-
return WB(e) || e.insertData(0,
|
|
14957
|
+
return WB(e) || e.insertData(0, ja), e;
|
|
14958
14958
|
{
|
|
14959
14959
|
const s = XB(e);
|
|
14960
14960
|
return (n = e.parentNode) === null || n === void 0 || n.insertBefore(s, e), s;
|
|
@@ -14962,9 +14962,9 @@ Options:${v}${s.join(v)}` : "";
|
|
|
14962
14962
|
}, sU = (e) => {
|
|
14963
14963
|
var n, s;
|
|
14964
14964
|
if (Fv(e.nextSibling))
|
|
14965
|
-
return WB(e.nextSibling) || e.nextSibling.insertData(0,
|
|
14965
|
+
return WB(e.nextSibling) || e.nextSibling.insertData(0, ja), e.nextSibling;
|
|
14966
14966
|
if (Fv(e))
|
|
14967
|
-
return jB(e) || e.appendData(
|
|
14967
|
+
return jB(e) || e.appendData(ja), e;
|
|
14968
14968
|
{
|
|
14969
14969
|
const a = XB(e);
|
|
14970
14970
|
return e.nextSibling ? (n = e.parentNode) === null || n === void 0 || n.insertBefore(a, e.nextSibling) : (s = e.parentNode) === null || s === void 0 || s.appendChild(a), a;
|
|
@@ -15015,8 +15015,8 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15015
15015
|
return s || e;
|
|
15016
15016
|
}, w3 = (e, n, s) => {
|
|
15017
15017
|
const a = L8(s), d = JB(n, a.container());
|
|
15018
|
-
return
|
|
15019
|
-
}, WP = (e, n) => xp(e, n) === null, eN = (e, n, s) =>
|
|
15018
|
+
return Ya(e, d, a).fold(() => Pl(d, a).bind(Be(Ya, e, d)).map((p) => Kc.before(p)), Y.none);
|
|
15019
|
+
}, WP = (e, n) => xp(e, n) === null, eN = (e, n, s) => Ya(e, n, s).filter(Be(WP, n)), iU = (e, n, s) => {
|
|
15020
15020
|
const a = I8(s);
|
|
15021
15021
|
return eN(e, n, a).bind((d) => fl(d, a).isNone() ? Y.some(Kc.start(d)) : Y.none());
|
|
15022
15022
|
}, aU = (e, n, s) => {
|
|
@@ -15024,7 +15024,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15024
15024
|
return eN(e, n, a).bind((d) => Pl(d, a).isNone() ? Y.some(Kc.end(d)) : Y.none());
|
|
15025
15025
|
}, lU = (e, n, s) => {
|
|
15026
15026
|
const a = I8(s), d = JB(n, a.container());
|
|
15027
|
-
return
|
|
15027
|
+
return Ya(e, d, a).fold(() => fl(d, a).bind(Be(Ya, e, d)).map((p) => Kc.after(p)), Y.none);
|
|
15028
15028
|
}, jP = (e) => !ME(XP(e)), Eg = (e, n, s) => KB([
|
|
15029
15029
|
w3,
|
|
15030
15030
|
iU,
|
|
@@ -15034,7 +15034,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15034
15034
|
e,
|
|
15035
15035
|
n,
|
|
15036
15036
|
s
|
|
15037
|
-
]).filter(jP), XP = (e) => e.fold(Gt, Gt, Gt, Gt), x3 = (e) => e.fold(wt("before"), wt("start"), wt("end"), wt("after")), S3 = (e) => e.fold(Kc.before, Kc.before, Kc.after, Kc.after), qP = (e) => e.fold(Kc.start, Kc.start, Kc.end, Kc.end), cU = (e, n) => x3(e) === x3(n) && XP(e) === XP(n), uU = (e, n, s, a, d, p) => Br(
|
|
15037
|
+
]).filter(jP), XP = (e) => e.fold(Gt, Gt, Gt, Gt), x3 = (e) => e.fold(wt("before"), wt("start"), wt("end"), wt("after")), S3 = (e) => e.fold(Kc.before, Kc.before, Kc.after, Kc.after), qP = (e) => e.fold(Kc.start, Kc.start, Kc.end, Kc.end), cU = (e, n) => x3(e) === x3(n) && XP(e) === XP(n), uU = (e, n, s, a, d, p) => Br(Ya(n, s, a), Ya(n, s, d), (v, C) => v !== C && tV(s, v, C) ? Kc.after(e ? v : C) : p).getOr(p), dU = (e, n) => e.fold(xt, (s) => !cU(s, n)), fU = (e, n, s, a, d) => {
|
|
15038
15038
|
const p = Af(e, d);
|
|
15039
15039
|
return xu(e, s, p).map(Be(Af, e)).fold(() => a.map(S3), ($) => Eg(n, s, $).map(Be(uU, e, n, s, p, $)).filter(Be(dU, a))).filter(jP);
|
|
15040
15040
|
}, hU = (e, n) => e ? n.fold(Q(Y.some, Kc.start), Y.none, Q(Y.some, Kc.after), Y.none) : n.fold(Y.none, Q(Y.some, Kc.before), Y.none, Q(Y.some, Kc.end)), k3 = (e, n, s, a) => {
|
|
@@ -15231,7 +15231,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15231
15231
|
const a = e.getBody(), d = CU(e.selection.getRng(), a, s), p = Be(t1, e);
|
|
15232
15232
|
return k3(s, p, a, d).bind((C) => bN(e, n, C));
|
|
15233
15233
|
}, ON = (e, n, s) => {
|
|
15234
|
-
const a = Je(
|
|
15234
|
+
const a = Je(Za(Me.fromDom(n.getRoot()), '*[data-mce-selected="inline-boundary"]'), (v) => v.dom), d = wn(a, e), p = wn(s, e);
|
|
15235
15235
|
Se(Rr(d, p), Be(pN, !1)), Se(Rr(p, d), Be(pN, !0));
|
|
15236
15236
|
}, _U = (e, n) => {
|
|
15237
15237
|
const s = n.get();
|
|
@@ -15282,7 +15282,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15282
15282
|
const d = vN(e.getBody(), a.container()), p = Be(t1, e), v = Eg(p, d, a);
|
|
15283
15283
|
return v.bind(($) => s ? $.fold(wt(Y.some(qP($))), Y.none, wt(Y.some(S3($))), Y.none) : $.fold(Y.none, wt(Y.some(S3($))), Y.none, wt(Y.some(qP($))))).map(A3(e, n)).getOrThunk(() => {
|
|
15284
15284
|
const $ = bg(s, d, a), B = $.bind((W) => Eg(p, d, W));
|
|
15285
|
-
return Br(v, B, () =>
|
|
15285
|
+
return Br(v, B, () => Ya(p, d, a).bind((W) => oA(W) ? Y.some(() => {
|
|
15286
15286
|
Jb(e, s, Me.fromDom(W));
|
|
15287
15287
|
}) : Y.none())).getOrThunk(() => B.bind(() => $.map((W) => () => {
|
|
15288
15288
|
s ? sA(e, n, a, W) : sA(e, n, W, a);
|
|
@@ -15375,7 +15375,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15375
15375
|
}), PN = (e) => {
|
|
15376
15376
|
const n = AN(e);
|
|
15377
15377
|
return !e.mode.isReadOnly() && (n.length > 1 || dA(e, n));
|
|
15378
|
-
}, fA = (e) => N2(e) || um(e), VU = (e) =>
|
|
15378
|
+
}, fA = (e) => N2(e) || um(e), VU = (e) => Qa(e).exists(fA), AN = (e) => wn(_d(e.selection.getSelectedBlocks()), (n) => !fA(n) && !VU(n) && g1(n)), DN = (e, n) => {
|
|
15379
15379
|
var s, a;
|
|
15380
15380
|
if (e.mode.isReadOnly())
|
|
15381
15381
|
return;
|
|
@@ -15678,7 +15678,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15678
15678
|
const v = Math.sqrt(Math.abs(p.x - n) + Math.abs(p.y - s)), C = Math.sqrt(Math.abs(d.x - n) + Math.abs(d.y - s));
|
|
15679
15679
|
return Y.some(C < v ? d : p);
|
|
15680
15680
|
}), Y.none()), tL = (e, n, s, a, d) => {
|
|
15681
|
-
const p =
|
|
15681
|
+
const p = Za(Me.fromDom(s), "td,th,caption").map((C) => C.dom), v = wn(eL(e, p), (C) => n(C, d));
|
|
15682
15682
|
return Pee(v, a, d).map((C) => C.cell);
|
|
15683
15683
|
}, OW = (e) => e.bottom, yW = (e) => e.top, TA = (e, n) => e.y < n, Q3 = (e, n) => e.y > n, nL = Be(tL, OW, TA), oL = Be(tL, yW, Q3), vW = (e, n) => No(n.getClientRects()).bind((s) => nL(e, s.left, s.top)).bind((s) => _3(iN(s), n)), wW = (e, n) => Ns(n.getClientRects()).bind((s) => oL(e, s.left, s.top)).bind((s) => _3(YP(s), n)), _A = (e, n, s) => s.breakAt.exists((a) => e(n, a).breakAt.isSome()), xW = (e) => e.breakType === If.Wrap && e.positions.length === 0, SW = (e) => e.breakType === If.Br && e.positions.length === 1, sL = (e, n, s) => {
|
|
15684
15684
|
const a = e(n, s);
|
|
@@ -15939,7 +15939,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15939
15939
|
}, MW = (e) => (n) => {
|
|
15940
15940
|
const s = pL(n.startContainer, n.startOffset);
|
|
15941
15941
|
return !RW(e, s);
|
|
15942
|
-
}, BW = (e, n, s) => yi(s.triggers, (a) => RA(e, n, a)),
|
|
15942
|
+
}, BW = (e, n, s) => yi(s.triggers, (a) => RA(e, n, a)), Ja = (e, n) => {
|
|
15943
15943
|
const s = n(), a = e.selection.getRng();
|
|
15944
15944
|
return BW(e.dom, a, s).bind((d) => bL(e, n, d));
|
|
15945
15945
|
}, bL = (e, n, s, a = {}) => {
|
|
@@ -16254,7 +16254,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16254
16254
|
trigger: X.trigger,
|
|
16255
16255
|
matchLength: X.text.length
|
|
16256
16256
|
});
|
|
16257
|
-
}, v = pt(() => XL(e)), C = (X) => n.get().map((G) => RA(e.dom, e.selection.getRng(), G.trigger, !0).bind((ie) => bL(e, v, ie, X))).getOrThunk(() =>
|
|
16257
|
+
}, v = pt(() => XL(e)), C = (X) => n.get().map((G) => RA(e.dom, e.selection.getRng(), G.trigger, !0).bind((ie) => bL(e, v, ie, X))).getOrThunk(() => Ja(e, v)), $ = (X) => {
|
|
16258
16258
|
C(X).fold(d, (G) => {
|
|
16259
16259
|
p(G.context), G.lookupData.then((ie) => {
|
|
16260
16260
|
n.get().map((ge) => {
|
|
@@ -16560,7 +16560,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16560
16560
|
}
|
|
16561
16561
|
const d = s.createRng();
|
|
16562
16562
|
if (n.normalize(), n.hasChildNodes()) {
|
|
16563
|
-
const p = new
|
|
16563
|
+
const p = new Va(n, n);
|
|
16564
16564
|
let v = n, C;
|
|
16565
16565
|
for (; C = p.current(); ) {
|
|
16566
16566
|
if (jt(C)) {
|
|
@@ -16686,7 +16686,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16686
16686
|
W.setStartAfter(a), W.setEndAfter(s);
|
|
16687
16687
|
const X = W.extractContents();
|
|
16688
16688
|
if (d === "LI" && Ej(X, "LI")) {
|
|
16689
|
-
const G = wn(Je(B.children, Me.fromDom), Pt(
|
|
16689
|
+
const G = wn(Je(B.children, Me.fromDom), Pt(La("br")));
|
|
16690
16690
|
B = X.firstChild, p.insertAfter(X, s), Se(G, (ie) => qm(Me.fromDom(B), ie)), $ && B.setAttribute("style", $);
|
|
16691
16691
|
} else
|
|
16692
16692
|
p.insertAfter(X, s), p.insertAfter(B, s);
|
|
@@ -16715,7 +16715,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16715
16715
|
let v = d.length;
|
|
16716
16716
|
for (; v--; )
|
|
16717
16717
|
p = d[v], (!p.hasChildNodes() || p.firstChild === p.lastChild && ((a = p.firstChild) === null || a === void 0 ? void 0 : a.nodeValue) === "" || Vee(e, p)) && e.remove(p);
|
|
16718
|
-
}, Zf = (e, n, s) => jt(n) ? e ? s === 1 && n.data.charAt(s - 1) ===
|
|
16718
|
+
}, Zf = (e, n, s) => jt(n) ? e ? s === 1 && n.data.charAt(s - 1) === ja ? 0 : s : s === n.data.length - 1 && n.data.charAt(s) === ja ? n.data.length : s : s, Mj = (e) => {
|
|
16719
16719
|
const n = e.cloneRange();
|
|
16720
16720
|
return n.setStart(e.startContainer, Zf(!0, e.startContainer, e.startOffset)), n.setEnd(e.endContainer, Zf(!1, e.endContainer, e.endOffset)), n;
|
|
16721
16721
|
}, l9 = (e) => {
|
|
@@ -16767,7 +16767,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16767
16767
|
return !0;
|
|
16768
16768
|
if (sD(s, "TABLE") || sD(s, "HR"))
|
|
16769
16769
|
return Dj(s, "BR") ? !Zt : v && !Zt || !v && Zt;
|
|
16770
|
-
const Kn = new
|
|
16770
|
+
const Kn = new Va(s, nn);
|
|
16771
16771
|
jt(s) && (Zt && fn === 0 ? Kn.prev() : !Zt && fn === s.data.length && Kn.next());
|
|
16772
16772
|
let ts;
|
|
16773
16773
|
for (; ts = Kn.current(); ) {
|
|
@@ -16837,7 +16837,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16837
16837
|
},
|
|
16838
16838
|
fakeEventName: "insertParagraph"
|
|
16839
16839
|
}, Ij = (e, n, s) => {
|
|
16840
|
-
const a = new
|
|
16840
|
+
const a = new Va(n, s);
|
|
16841
16841
|
let d;
|
|
16842
16842
|
const p = e.getNonEmptyElements();
|
|
16843
16843
|
for (; d = a.next(); )
|
|
@@ -17699,7 +17699,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
17699
17699
|
}, DD = (e) => {
|
|
17700
17700
|
lI(e), cI(e);
|
|
17701
17701
|
}, JX = Ds, RD = jt, eq = (e) => $s(e.dom), uI = (e) => Dt(e.dom), dI = (e) => (n) => ks(Me.fromDom(e), n), fI = (e, n, s) => Nr(Me.fromDom(e), (a) => uI(a) || s.isBlock(be(a)), dI(n)).getOr(Me.fromDom(n)).dom, hI = (e, n) => Nr(Me.fromDom(e), eq, dI(n)), mI = (e, n, s) => {
|
|
17702
|
-
const a = new
|
|
17702
|
+
const a = new Va(e, n), d = s ? a.next.bind(a) : a.prev.bind(a);
|
|
17703
17703
|
let p = e;
|
|
17704
17704
|
for (let v = s ? e : d(); v && !JX(v); v = d())
|
|
17705
17705
|
Ef(v) && (p = v);
|
|
@@ -18127,7 +18127,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
18127
18127
|
if (Ot.isDefaultPrevented())
|
|
18128
18128
|
return null;
|
|
18129
18129
|
const Zt = Fe(En, Ot.targetClone), fn = Me.fromDom(En);
|
|
18130
|
-
return Se(
|
|
18130
|
+
return Se(Za(Me.fromDom(e.getBody()), `*[${v}]`), (Kn) => {
|
|
18131
18131
|
ks(fn, Kn) || Vs(Kn, v);
|
|
18132
18132
|
}), s.getAttrib(En, v) || En.setAttribute(v, "1"), C = En, nn(), Zt;
|
|
18133
18133
|
}, qe = (En, Ct) => {
|
|
@@ -19114,7 +19114,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19114
19114
|
});
|
|
19115
19115
|
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e), eR(e, e.suffix);
|
|
19116
19116
|
}, sQ = (e, n) => {
|
|
19117
|
-
e._editableRoot !== n && (e._editableRoot = n, Mp(e) || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()),
|
|
19117
|
+
e._editableRoot !== n && (e._editableRoot = n, Mp(e) || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()), Xa(e, n));
|
|
19118
19118
|
}, kG = (e) => e._editableRoot, rQ = (e, n) => ({
|
|
19119
19119
|
sections: wt(e),
|
|
19120
19120
|
options: wt(n)
|
|
@@ -19276,7 +19276,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19276
19276
|
}, tte = {
|
|
19277
19277
|
"font-size": "size",
|
|
19278
19278
|
"font-family": "face"
|
|
19279
|
-
}, nte =
|
|
19279
|
+
}, nte = La("font"), BG = (e, n, s) => {
|
|
19280
19280
|
const a = (p) => Ll(p, e).orThunk(() => nte(p) ? xs(tte, e).bind((v) => Vr(p, v)) : Y.none()), d = (p) => ks(Me.fromDom(n), p);
|
|
19281
19281
|
return Cx(Me.fromDom(s), (p) => a(p), d);
|
|
19282
19282
|
}, ote = (e) => e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","), NG = (e, n) => Y.from(Tr.DOM.getStyle(n, e, !0)), v1 = (e) => (n, s) => Y.from(s).map(Me.fromDom).filter(Qo).bind((a) => BG(e, n, a.dom).or(NG(e, a.dom))).getOr(""), oR = v1("font-size"), V4 = Q(ote, v1("font-family")), dQ = (e) => ha(e.getBody()).bind((n) => {
|
|
@@ -19459,7 +19459,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19459
19459
|
}
|
|
19460
19460
|
}
|
|
19461
19461
|
});
|
|
19462
|
-
},
|
|
19462
|
+
}, el = (e) => {
|
|
19463
19463
|
e.editorCommands.addCommands({
|
|
19464
19464
|
mceRemoveNode: (n, s, a) => {
|
|
19465
19465
|
const d = a ?? e.selection.getNode();
|
|
@@ -19479,7 +19479,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19479
19479
|
}
|
|
19480
19480
|
});
|
|
19481
19481
|
}, YG = (e) => {
|
|
19482
|
-
Jee(e), cQ(e), HG(e), GG(e), ete(e), pQ(e), UG(e), rR(e), qG(e), zG(e),
|
|
19482
|
+
Jee(e), cQ(e), HG(e), GG(e), ete(e), pQ(e), UG(e), rR(e), qG(e), zG(e), el(e);
|
|
19483
19483
|
}, KG = ["toggleview"], H4 = (e) => Ne(KG, e.toLowerCase());
|
|
19484
19484
|
class iR {
|
|
19485
19485
|
constructor(n) {
|
|
@@ -20036,7 +20036,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20036
20036
|
const B = Sy(d);
|
|
20037
20037
|
B && (ah.ScriptLoader._setReferrerPolicy(B), Tr.DOM.styleSheetLoader._setReferrerPolicy(B));
|
|
20038
20038
|
const W = yw(d);
|
|
20039
|
-
je(W) && Tr.DOM.styleSheetLoader._setContentCssCors(W),
|
|
20039
|
+
je(W) && Tr.DOM.styleSheetLoader._setContentCssCors(W), Wa.languageLoad = v("language_load"), Wa.baseURL = a.baseURL, this.setDirty(!1), this.documentBaseURI = new Rl(qk(d), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = Cb(d), this.hasVisual = Py(d), this.shortcuts = new SQ(this), this.editorCommands = new iR(this), YG(this);
|
|
20040
20040
|
const X = v("cache_suffix");
|
|
20041
20041
|
X && (co.cacheSuffix = X.replace(/^[\?\&]+/, "")), this.ui = {
|
|
20042
20042
|
registry: gY(),
|
|
@@ -20309,7 +20309,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20309
20309
|
s && (this.suffix = s), this.defaultOptions = e;
|
|
20310
20310
|
const a = e.plugin_base_urls;
|
|
20311
20311
|
a !== void 0 && qt(a, (d, p) => {
|
|
20312
|
-
|
|
20312
|
+
Wa.PluginManager.urls[p] = d;
|
|
20313
20313
|
});
|
|
20314
20314
|
},
|
|
20315
20315
|
init(e) {
|
|
@@ -20336,7 +20336,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20336
20336
|
++W === G.length && $(X);
|
|
20337
20337
|
}), Fe.targetElm = Fe.targetElm || Oe, Fe.render();
|
|
20338
20338
|
};
|
|
20339
|
-
l2.unbind(window, "ready", B), v("onpageload"), G =
|
|
20339
|
+
l2.unbind(window, "ready", B), v("onpageload"), G = Ra(C(e)), Nt.each(G, (ge) => {
|
|
20340
20340
|
bY(n.get(ge.id));
|
|
20341
20341
|
}), G = Nt.grep(G, (ge) => !n.get(ge.id)), G.length === 0 ? $([]) : X4(G, (ge) => {
|
|
20342
20342
|
d(e, ge) ? Gx("Could not initialize inline editor on invalid inline target element", ge) : ie(p(ge), e, ge);
|
|
@@ -20547,7 +20547,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20547
20547
|
},
|
|
20548
20548
|
dom: {
|
|
20549
20549
|
EventUtils: ih,
|
|
20550
|
-
TreeWalker:
|
|
20550
|
+
TreeWalker: Va,
|
|
20551
20551
|
TextSeeker: kf,
|
|
20552
20552
|
DOMUtils: Tr,
|
|
20553
20553
|
ScriptLoader: ah,
|
|
@@ -20569,7 +20569,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20569
20569
|
Serializer: Y0
|
|
20570
20570
|
},
|
|
20571
20571
|
Env: co,
|
|
20572
|
-
AddOnManager:
|
|
20572
|
+
AddOnManager: Wa,
|
|
20573
20573
|
Annotator: gr,
|
|
20574
20574
|
Formatter: Np,
|
|
20575
20575
|
UndoManager: EB,
|
|
@@ -21085,7 +21085,7 @@ function ife() {
|
|
|
21085
21085
|
}, yi = (t, r) => {
|
|
21086
21086
|
const l = {};
|
|
21087
21087
|
return Ns(t, r, No(l), re), l;
|
|
21088
|
-
},
|
|
21088
|
+
}, Ra = (t, r) => {
|
|
21089
21089
|
const l = [];
|
|
21090
21090
|
return Fs(t, (h, b) => {
|
|
21091
21091
|
l.push(r(h, b));
|
|
@@ -21098,7 +21098,7 @@ function ife() {
|
|
|
21098
21098
|
return Q.some(S);
|
|
21099
21099
|
}
|
|
21100
21100
|
return Q.none();
|
|
21101
|
-
}, rl = (t) =>
|
|
21101
|
+
}, rl = (t) => Ra(t, $t), qt = (t, r) => zo(t, r) ? Q.from(t[r]) : Q.none(), zo = (t, r) => Rr.call(t, r), Jr = (t, r) => zo(t, r) && t[r] !== void 0 && t[r] !== null, Mr = (t, r, l = sn) => t.exists((h) => l(h, r)), Ei = (t, r, l = sn) => Qi(t, r, l).getOr(t.isNone() && r.isNone()), Ii = (t) => {
|
|
21102
21102
|
const r = [], l = (h) => {
|
|
21103
21103
|
r.push(h);
|
|
21104
21104
|
};
|
|
@@ -21160,7 +21160,7 @@ function ife() {
|
|
|
21160
21160
|
}, Ln = Object.getPrototypeOf, In = (t) => pn("HTMLElement", t), Rn = (t) => {
|
|
21161
21161
|
const r = Lt("ownerDocument.defaultView", t);
|
|
21162
21162
|
return T(t) && (In(r).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(Ln(t).constructor.name));
|
|
21163
|
-
}, Jn = 9, lo = 11, us = 1, ar = 3, Ss = (t) => t.dom.nodeName.toLowerCase(),
|
|
21163
|
+
}, Jn = 9, lo = 11, us = 1, ar = 3, Ss = (t) => t.dom.nodeName.toLowerCase(), Ma = (t) => t.dom.nodeType, Fi = (t) => (r) => Ma(r) === t, So = (t) => Io(t) && Rn(t.dom), Io = Fi(us), Ho = Fi(ar), fi = Fi(Jn), hi = Fi(lo), Pi = (t) => (r) => Io(r) && Ss(r) === t, js = (t, r) => {
|
|
21164
21164
|
const l = t.dom;
|
|
21165
21165
|
if (l.nodeType !== us)
|
|
21166
21166
|
return !1;
|
|
@@ -21185,7 +21185,7 @@ function ife() {
|
|
|
21185
21185
|
}, Wo = (t, r) => t.dom === r.dom, Ol = (t, r) => {
|
|
21186
21186
|
const l = t.dom, h = r.dom;
|
|
21187
21187
|
return l === h ? !1 : l.contains(h);
|
|
21188
|
-
}, lr = (t) => bt.fromDom(t.dom.ownerDocument), kc = (t) => fi(t) ? t : lr(t),
|
|
21188
|
+
}, lr = (t) => bt.fromDom(t.dom.ownerDocument), kc = (t) => fi(t) ? t : lr(t), Ba = (t) => bt.fromDom(kc(t).dom.documentElement), Nl = (t) => bt.fromDom(kc(t).dom.defaultView), ei = (t) => Q.from(t.dom.parentNode).map(bt.fromDom), su = (t) => ei(t), pa = (t) => Q.from(t.dom.parentElement).map(bt.fromDom), ru = (t, r) => {
|
|
21189
21189
|
const l = we(r) ? r : tt;
|
|
21190
21190
|
let h = t.dom;
|
|
21191
21191
|
const b = [];
|
|
@@ -21344,8 +21344,8 @@ function ife() {
|
|
|
21344
21344
|
if (l === t.dom)
|
|
21345
21345
|
return cr(l.offsetLeft, l.offsetTop);
|
|
21346
21346
|
const x = xi(h == null ? void 0 : h.pageYOffset, b.scrollTop), S = xi(h == null ? void 0 : h.pageXOffset, b.scrollLeft), E = xi(b.clientTop, l.clientTop), D = xi(b.clientLeft, l.clientLeft);
|
|
21347
|
-
return
|
|
21348
|
-
},
|
|
21347
|
+
return Na(t).translate(S - D, x - E);
|
|
21348
|
+
}, Na = (t) => {
|
|
21349
21349
|
const r = t.dom, h = r.ownerDocument.body;
|
|
21350
21350
|
return h === r ? cr(h.offsetLeft, h.offsetTop) : Ve(t) ? Qc(r) : cr(0, 0);
|
|
21351
21351
|
}, au = wi("width", (t) => t.dom.offsetWidth), he = (t, r) => au.set(t, r), be = (t) => au.get(t), nt = (t) => au.getOuter(t), At = (t, r) => {
|
|
@@ -21388,15 +21388,15 @@ function ife() {
|
|
|
21388
21388
|
minor: 0
|
|
21389
21389
|
};
|
|
21390
21390
|
const h = (b) => Number(r.replace(l, "$" + b));
|
|
21391
|
-
return
|
|
21391
|
+
return La(h(1), h(2));
|
|
21392
21392
|
}, si = (t, r) => {
|
|
21393
21393
|
const l = String(r).toLowerCase();
|
|
21394
21394
|
return t.length === 0 ? il() : er(t, l);
|
|
21395
|
-
}, il = () =>
|
|
21395
|
+
}, il = () => La(0, 0), La = (t, r) => ({
|
|
21396
21396
|
major: t,
|
|
21397
21397
|
minor: r
|
|
21398
21398
|
}), vr = {
|
|
21399
|
-
nu:
|
|
21399
|
+
nu: La,
|
|
21400
21400
|
detect: si,
|
|
21401
21401
|
unknown: il
|
|
21402
21402
|
}, qr = (t, r) => ss(r.brands, (l) => {
|
|
@@ -21515,7 +21515,7 @@ function ife() {
|
|
|
21515
21515
|
], Fu = {
|
|
21516
21516
|
browsers: te(Fc),
|
|
21517
21517
|
oses: te(Hh)
|
|
21518
|
-
}, lf = "Edge", cf = "Chromium", yd = "IE", vd = "Opera", jl = "Firefox",
|
|
21518
|
+
}, lf = "Edge", cf = "Chromium", yd = "IE", vd = "Opera", jl = "Firefox", Ia = "Safari", qp = () => lu({
|
|
21519
21519
|
current: void 0,
|
|
21520
21520
|
version: vr.unknown()
|
|
21521
21521
|
}), lu = (t) => {
|
|
@@ -21528,7 +21528,7 @@ function ife() {
|
|
|
21528
21528
|
isIE: h(yd),
|
|
21529
21529
|
isOpera: h(vd),
|
|
21530
21530
|
isFirefox: h(jl),
|
|
21531
|
-
isSafari: h(
|
|
21531
|
+
isSafari: h(Ia)
|
|
21532
21532
|
};
|
|
21533
21533
|
}, Vm = {
|
|
21534
21534
|
unknown: qp,
|
|
@@ -21538,7 +21538,7 @@ function ife() {
|
|
|
21538
21538
|
ie: te(yd),
|
|
21539
21539
|
opera: te(vd),
|
|
21540
21540
|
firefox: te(jl),
|
|
21541
|
-
safari: te(
|
|
21541
|
+
safari: te(Ia)
|
|
21542
21542
|
}, uf = "Windows", zm = "iOS", Uh = "Android", df = "Linux", Wh = "macOS", Hm = "Solaris", wd = "FreeBSD", Um = "ChromeOS", Me = () => ff({
|
|
21543
21543
|
current: void 0,
|
|
21544
21544
|
version: vr.unknown()
|
|
@@ -21592,7 +21592,7 @@ function ife() {
|
|
|
21592
21592
|
}, hf = (t, r, l, h, b) => {
|
|
21593
21593
|
const x = Zg(l, h);
|
|
21594
21594
|
return t.dom.addEventListener(r, x, b), { unbind: ln(Xh, t, r, x, b) };
|
|
21595
|
-
},
|
|
21595
|
+
}, Qa = (t, r, l, h) => hf(t, r, l, h, !1), jh = (t, r, l, h) => hf(t, r, l, h, !0), Xh = (t, r, l, h) => {
|
|
21596
21596
|
t.dom.removeEventListener(r, l, h);
|
|
21597
21597
|
}, Vu = (t, r) => {
|
|
21598
21598
|
ei(t).each((h) => {
|
|
@@ -21631,7 +21631,7 @@ function ife() {
|
|
|
21631
21631
|
}, Cc = (t) => {
|
|
21632
21632
|
const r = t.dom;
|
|
21633
21633
|
r.parentNode !== null && r.parentNode.removeChild(r);
|
|
21634
|
-
},
|
|
21634
|
+
}, Fa = (t) => {
|
|
21635
21635
|
const r = t !== void 0 ? t.dom : document, l = r.body.scrollLeft || r.documentElement.scrollLeft, h = r.body.scrollTop || r.documentElement.scrollTop;
|
|
21636
21636
|
return cr(l, h);
|
|
21637
21637
|
}, Sd = (t, r, l) => {
|
|
@@ -21648,7 +21648,7 @@ function ife() {
|
|
|
21648
21648
|
right: t + l,
|
|
21649
21649
|
bottom: r + h
|
|
21650
21650
|
}), Zc = (t) => {
|
|
21651
|
-
const r = t === void 0 ? window : t, l = r.document, h =
|
|
21651
|
+
const r = t === void 0 ? window : t, l = r.document, h = Fa(bt.fromDom(l));
|
|
21652
21652
|
return Yp(r).fold(() => {
|
|
21653
21653
|
const b = r.document.documentElement, x = b.clientWidth, S = b.clientHeight;
|
|
21654
21654
|
return Gh(h.left, h.top, x, S);
|
|
@@ -21669,10 +21669,10 @@ function ife() {
|
|
|
21669
21669
|
owner: (t) => lr(t)
|
|
21670
21670
|
});
|
|
21671
21671
|
const Uu = (t) => {
|
|
21672
|
-
const r = mf(), l =
|
|
21672
|
+
const r = mf(), l = Fa(r);
|
|
21673
21673
|
return Wm(t, jm).fold(ln(Zi, t), (b) => {
|
|
21674
|
-
const x =
|
|
21675
|
-
const L =
|
|
21674
|
+
const x = Na(t), S = xo(b, (E, D) => {
|
|
21675
|
+
const L = Na(D);
|
|
21676
21676
|
return {
|
|
21677
21677
|
left: E.left + L.left,
|
|
21678
21678
|
top: E.top + L.top
|
|
@@ -21884,20 +21884,20 @@ function ife() {
|
|
|
21884
21884
|
extract: r,
|
|
21885
21885
|
toString: l
|
|
21886
21886
|
};
|
|
21887
|
-
}, t0 = Jf(gi.svalue),
|
|
21887
|
+
}, t0 = Jf(gi.svalue), Za = (t, r, l, h) => qt(r, l).fold(() => Lr(t, l, r), h), n0 = (t, r, l, h) => {
|
|
21888
21888
|
const b = qt(t, r).getOrThunk(() => l(t));
|
|
21889
21889
|
return h(b);
|
|
21890
21890
|
}, HO = (t, r, l) => l(qt(t, r)), Z1 = (t, r, l, h) => {
|
|
21891
21891
|
const b = qt(t, r).map((x) => x === !0 ? l(t) : x);
|
|
21892
21892
|
return h(b);
|
|
21893
|
-
},
|
|
21893
|
+
}, Va = (t, r, l, h, b) => {
|
|
21894
21894
|
const x = (E) => b.extract(r.concat([h]), E), S = (E) => E.fold(() => gi.svalue(Q.none()), (D) => {
|
|
21895
21895
|
const L = b.extract(r.concat([h]), D);
|
|
21896
21896
|
return gi.map(L, Q.some);
|
|
21897
21897
|
});
|
|
21898
21898
|
switch (t.tag) {
|
|
21899
21899
|
case "required":
|
|
21900
|
-
return
|
|
21900
|
+
return Za(r, l, h, x);
|
|
21901
21901
|
case "defaultedThunk":
|
|
21902
21902
|
return n0(l, h, t.process, x);
|
|
21903
21903
|
case "option":
|
|
@@ -21914,7 +21914,7 @@ function ife() {
|
|
|
21914
21914
|
const h = {}, b = [];
|
|
21915
21915
|
for (const x of l)
|
|
21916
21916
|
sr(x, (S, E, D, L) => {
|
|
21917
|
-
const V =
|
|
21917
|
+
const V = Va(D, t, r, S, L);
|
|
21918
21918
|
gi.fold(V, (j) => {
|
|
21919
21919
|
b.push(...j);
|
|
21920
21920
|
}, (j) => {
|
|
@@ -21927,7 +21927,7 @@ function ife() {
|
|
|
21927
21927
|
}, Ui = (t) => ({
|
|
21928
21928
|
extract: (h, b) => t().extract(h, b),
|
|
21929
21929
|
toString: () => t().toString()
|
|
21930
|
-
}), V1 = (t) => rs(yi(t, De)),
|
|
21930
|
+
}), V1 = (t) => rs(yi(t, De)), za = (t) => {
|
|
21931
21931
|
const r = uo(t), l = xo(t, (b, x) => sr(x, (S) => xr(b, { [S]: !0 }), te(b)), {});
|
|
21932
21932
|
return {
|
|
21933
21933
|
extract: (b, x) => {
|
|
@@ -22022,7 +22022,7 @@ function ife() {
|
|
|
22022
22022
|
` + Eo(t.errors).join(`
|
|
22023
22023
|
`) + `
|
|
22024
22024
|
|
|
22025
|
-
Input object: ` + Ro(t.input), qi = (t, r) => th(t, Bo(r, uo)), Jm = (t, r) => UO(t, r), Gi = Td, Ds = uu, r0 = (t) => Hg((r) => Pt(t, r) ? Do.value(r) : Do.error(`Unsupported value: "${r}", choose one of "${t.join(", ")}".`)), Dt = (t) => Gi(t, t, pc(), du()), $s = (t, r) => Gi(t, t, pc(), r), i0 = (t) => $s(t, eh), Yi = (t) => $s(t, yn), ca = (t, r) => Gi(t, t, pc(), r0(r)), hu = (t) => $s(t, z1), H1 = (t, r) => Gi(t, t, Ym(), Jf((l) => gi.serror("The field: " + t + " is forbidden. " + r))), nh = (t, r) => Gi(t, t, pc(), uo(r)), U1 = (t, r) => Gi(t, t, pc(), s0(r)), bc = (t, r) => Gi(t, t, pc(), zc(r)), Ps = (t) => Gi(t, t, Ym(), du()), Pd = (t, r) => Gi(t, t, Ym(), r), Ug = (t) => Pd(t, eh), ii = (t) => Pd(t, yn), Wg = (t, r) => Pd(t, r0(r)), bf = (t) => Pd(t, z1), a0 = (t, r) => Pd(t, zc(r)), Ki = (t, r) => Pd(t, uo(r)), Ji = (t, r) => Pd(t,
|
|
22025
|
+
Input object: ` + Ro(t.input), qi = (t, r) => th(t, Bo(r, uo)), Jm = (t, r) => UO(t, r), Gi = Td, Ds = uu, r0 = (t) => Hg((r) => Pt(t, r) ? Do.value(r) : Do.error(`Unsupported value: "${r}", choose one of "${t.join(", ")}".`)), Dt = (t) => Gi(t, t, pc(), du()), $s = (t, r) => Gi(t, t, pc(), r), i0 = (t) => $s(t, eh), Yi = (t) => $s(t, yn), ca = (t, r) => Gi(t, t, pc(), r0(r)), hu = (t) => $s(t, z1), H1 = (t, r) => Gi(t, t, Ym(), Jf((l) => gi.serror("The field: " + t + " is forbidden. " + r))), nh = (t, r) => Gi(t, t, pc(), uo(r)), U1 = (t, r) => Gi(t, t, pc(), s0(r)), bc = (t, r) => Gi(t, t, pc(), zc(r)), Ps = (t) => Gi(t, t, Ym(), du()), Pd = (t, r) => Gi(t, t, Ym(), r), Ug = (t) => Pd(t, eh), ii = (t) => Pd(t, yn), Wg = (t, r) => Pd(t, r0(r)), bf = (t) => Pd(t, z1), a0 = (t, r) => Pd(t, zc(r)), Ki = (t, r) => Pd(t, uo(r)), Ji = (t, r) => Pd(t, za(r)), st = (t, r) => Gi(t, t, pf(r), du()), Sr = (t, r, l) => Gi(t, t, pf(r), l), W1 = (t, r) => Sr(t, r, eh), Ir = (t, r) => Sr(t, r, yn), wa = (t, r, l) => Sr(t, r, r0(l)), xa = (t, r) => Sr(t, r, Hc), zs = (t, r) => Sr(t, r, z1), j1 = (t, r) => Sr(t, r, fu), A = (t, r, l) => Sr(t, r, zc(l)), I = (t, r, l) => Sr(t, r, uo(l)), fe = { generate: (t) => {
|
|
22026
22026
|
if (!R(t))
|
|
22027
22027
|
throw new Error("cases must be an array");
|
|
22028
22028
|
if (t.length === 0)
|
|
@@ -22162,7 +22162,7 @@ Required: ` + r.join(", "));
|
|
|
22162
22162
|
});
|
|
22163
22163
|
}
|
|
22164
22164
|
};
|
|
22165
|
-
}, ea = te, Yu = ea("touchstart"), ws = ea("touchmove"), Cr = ea("touchend"), Cl = ea("touchcancel"), Si = ea("mousedown"), Xg = ea("mousemove"), u0 = ea("mouseout"), Of = ea("mouseup"), Tc = ea("mouseover"), yf = ea("focusin"), ok = ea("focusout"),
|
|
22165
|
+
}, ea = te, Yu = ea("touchstart"), ws = ea("touchmove"), Cr = ea("touchend"), Cl = ea("touchcancel"), Si = ea("mousedown"), Xg = ea("mousemove"), u0 = ea("mouseout"), Of = ea("mouseup"), Tc = ea("mouseover"), yf = ea("focusin"), ok = ea("focusout"), Ha = ea("keydown"), sk = ea("keyup"), Ku = ea("input"), sm = ea("change"), qg = ea("click"), A_ = ea("transitioncancel"), d0 = ea("transitionend"), Gg = ea("transitionstart"), rk = ea("selectstart"), ki = (t) => te("alloy." + t), x2 = { tap: ki("tap") }, vf = ki("focus"), tg = ki("blur.post"), f0 = ki("paste.post"), Ju = ki("receive"), Tl = ki("execute"), jO = ki("focus.item"), X1 = x2.tap, Yg = ki("longpress"), Ua = ki("sandbox.close"), XO = ki("typeahead.cancel"), qO = ki("system.init"), D_ = ki("system.touchmove"), R_ = ki("system.touchend"), GO = ki("system.scroll"), h0 = ki("system.resize"), ed = ki("system.attached"), sh = ki("system.detached"), rm = ki("system.dismissRequested"), m0 = ki("system.repositionRequested"), q1 = ki("focusmanager.shifted"), ng = ki("slotcontainer.visibility"), Kg = ki("system.external.element.scroll"), og = ki("change.tab"), G1 = ki("dismiss.tab"), YO = ki("highlight"), Jg = ki("dehighlight"), Go = (t, r) => {
|
|
22166
22166
|
JO(t, t.element, r, {});
|
|
22167
22167
|
}, zn = (t, r, l) => {
|
|
22168
22168
|
JO(t, t.element, r, l);
|
|
@@ -22269,7 +22269,7 @@ Required: ` + r.join(", "));
|
|
|
22269
22269
|
}), tp = (t, r, l) => lk((h, b) => {
|
|
22270
22270
|
l(h, t, r);
|
|
22271
22271
|
}), T2 = (t, r, l, h, b, x) => {
|
|
22272
|
-
const S =
|
|
22272
|
+
const S = za(t), E = Ki(r, [Ji("config", t)]);
|
|
22273
22273
|
return tb(S, E, r, l, h, b, x);
|
|
22274
22274
|
}, ih = (t, r, l, h, b, x) => {
|
|
22275
22275
|
const S = t, E = Ki(r, [Pd("config", t)]);
|
|
@@ -22313,7 +22313,7 @@ Required: ` + r.join(", "));
|
|
|
22313
22313
|
handlers: (j) => E(j).map((oe) => qt(h, "events").getOr(() => ({}))(oe.config, oe.state)).getOr({})
|
|
22314
22314
|
};
|
|
22315
22315
|
return V;
|
|
22316
|
-
}, wf = { init: () => ql({ readState: te("No State required") }) }, ql = (t) => t, Yt = (t) => tr(t), b0 =
|
|
22316
|
+
}, wf = { init: () => ql({ readState: te("No State required") }) }, ql = (t) => t, Yt = (t) => tr(t), b0 = za([
|
|
22317
22317
|
Dt("fields"),
|
|
22318
22318
|
Dt("name"),
|
|
22319
22319
|
st("active", {}),
|
|
@@ -22323,7 +22323,7 @@ Required: ` + r.join(", "));
|
|
|
22323
22323
|
]), Sa = (t) => {
|
|
22324
22324
|
const r = Il("Creating behaviour: " + t.name, b0, t);
|
|
22325
22325
|
return T2(r.fields, r.name, r.active, r.apis, r.extra, r.state);
|
|
22326
|
-
}, L_ =
|
|
22326
|
+
}, L_ = za([
|
|
22327
22327
|
Dt("branchKey"),
|
|
22328
22328
|
Dt("branches"),
|
|
22329
22329
|
Dt("name"),
|
|
@@ -22383,7 +22383,7 @@ Required: ` + r.join(", "));
|
|
|
22383
22383
|
}, Sf = (t) => ({
|
|
22384
22384
|
...t,
|
|
22385
22385
|
position: Q.some(t.position)
|
|
22386
|
-
}),
|
|
22386
|
+
}), Wa = (t, r) => {
|
|
22387
22387
|
oi(t, Sf(r));
|
|
22388
22388
|
}, op = (t) => (Mr(Zs(t, "position"), "fixed") ? Q.none() : Wl(t)).orThunk(() => {
|
|
22389
22389
|
const h = bt.fromTag("span");
|
|
@@ -22510,7 +22510,7 @@ Required: ` + r.join(", "));
|
|
|
22510
22510
|
], (h) => Uo(t.element, h)), r.onUndocked(t);
|
|
22511
22511
|
}, lb = (t, r, l, h) => {
|
|
22512
22512
|
const b = h.position === "fixed";
|
|
22513
|
-
l.setDocked(b),
|
|
22513
|
+
l.setDocked(b), Wa(t.element, h), (b ? r.onDocked : r.onUndocked)(t);
|
|
22514
22514
|
}, Z_ = (t, r, l, h, b = !1) => {
|
|
22515
22515
|
r.contextual.each((x) => {
|
|
22516
22516
|
x.lazyContext(t).each((S) => {
|
|
@@ -22674,7 +22674,7 @@ Required: ` + r.join(", "));
|
|
|
22674
22674
|
});
|
|
22675
22675
|
}
|
|
22676
22676
|
};
|
|
22677
|
-
},
|
|
22677
|
+
}, ja = (t, r, l) => {
|
|
22678
22678
|
switch (qt(ch.get(), t).orThunk(() => {
|
|
22679
22679
|
const b = rs(ch.get());
|
|
22680
22680
|
return ss(b, (x) => t.indexOf(x) > -1 ? Q.some(ch.get()[x]) : Q.none());
|
|
@@ -22706,7 +22706,7 @@ Required: ` + r.join(", "));
|
|
|
22706
22706
|
logEventNoHandlers: re,
|
|
22707
22707
|
logEventResponse: re,
|
|
22708
22708
|
write: re
|
|
22709
|
-
}, L2 = (t, r, l) =>
|
|
22709
|
+
}, L2 = (t, r, l) => ja(t, r, l), ap = te(X_), cg = te([
|
|
22710
22710
|
Dt("menu"),
|
|
22711
22711
|
Dt("selectedMenu")
|
|
22712
22712
|
]), dm = te([
|
|
@@ -22922,7 +22922,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
22922
22922
|
return c0(x);
|
|
22923
22923
|
}) : V2(l, t);
|
|
22924
22924
|
}, s5 = (t, r) => {
|
|
22925
|
-
const l =
|
|
22925
|
+
const l = Ra(t, (h, b) => (h.length === 1 ? Do.value(h[0].handler) : hy(h, r, b)).map((S) => {
|
|
22926
22926
|
const E = fy(S), D = h.length > 1 ? Oo(r[b], (L) => hn(h, (V) => V.name === L)).join(" > ") : h[0].name;
|
|
22927
22927
|
return Mo(b, o5(E, D));
|
|
22928
22928
|
}));
|
|
@@ -23134,7 +23134,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23134
23134
|
const r = bt.fromText(t);
|
|
23135
23135
|
return Ob({ element: r });
|
|
23136
23136
|
}, Ob = (t) => {
|
|
23137
|
-
const r = Il("external.component",
|
|
23137
|
+
const r = Il("external.component", za([
|
|
23138
23138
|
Dt("element"),
|
|
23139
23139
|
Ps("uid")
|
|
23140
23140
|
]), t), l = Zn(T0()), h = (E) => {
|
|
@@ -23269,22 +23269,22 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23269
23269
|
}), pm), Ai = (t, r, l) => cl(ew(t, r), tw(t, r), l.northwest(), K2(), "northwest", El(t, {
|
|
23270
23270
|
right: 0,
|
|
23271
23271
|
bottom: 2
|
|
23272
|
-
}), pm),
|
|
23272
|
+
}), pm), Xa = (t, r, l) => cl(Wk(t, r), tw(t, r), l.north(), Vk(), "north", El(t, { bottom: 2 }), pm), fa = (t, r, l) => cl(Wk(t, r), Oy(t), l.south(), Zk(), "south", El(t, { top: 3 }), pm), vb = (t, r, l) => cl(m5(t), jk(t, r), l.east(), zk(), "east", El(t, { left: 0 }), pm), ow = (t, r, l) => cl(nw(t, r), jk(t, r), l.west(), Hk(), "west", El(t, { right: 1 }), pm), wb = () => [
|
|
23273
23273
|
da,
|
|
23274
23274
|
ta,
|
|
23275
23275
|
ul,
|
|
23276
23276
|
Ai,
|
|
23277
23277
|
fa,
|
|
23278
|
-
|
|
23278
|
+
Xa,
|
|
23279
23279
|
vb,
|
|
23280
23280
|
ow
|
|
23281
|
-
],
|
|
23281
|
+
], qa = () => [
|
|
23282
23282
|
ta,
|
|
23283
23283
|
da,
|
|
23284
23284
|
Ai,
|
|
23285
23285
|
ul,
|
|
23286
23286
|
fa,
|
|
23287
|
-
|
|
23287
|
+
Xa,
|
|
23288
23288
|
vb,
|
|
23289
23289
|
ow
|
|
23290
23290
|
], sw = () => [
|
|
@@ -23292,14 +23292,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23292
23292
|
Ai,
|
|
23293
23293
|
da,
|
|
23294
23294
|
ta,
|
|
23295
|
-
|
|
23295
|
+
Xa,
|
|
23296
23296
|
fa
|
|
23297
23297
|
], Dn = () => [
|
|
23298
23298
|
Ai,
|
|
23299
23299
|
ul,
|
|
23300
23300
|
ta,
|
|
23301
23301
|
da,
|
|
23302
|
-
|
|
23302
|
+
Xa,
|
|
23303
23303
|
fa
|
|
23304
23304
|
], P0 = () => [
|
|
23305
23305
|
da,
|
|
@@ -23307,14 +23307,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23307
23307
|
ul,
|
|
23308
23308
|
Ai,
|
|
23309
23309
|
fa,
|
|
23310
|
-
|
|
23310
|
+
Xa
|
|
23311
23311
|
], xb = () => [
|
|
23312
23312
|
ta,
|
|
23313
23313
|
da,
|
|
23314
23314
|
Ai,
|
|
23315
23315
|
ul,
|
|
23316
23316
|
fa,
|
|
23317
|
-
|
|
23317
|
+
Xa
|
|
23318
23318
|
], Xk = (t, r) => r.universal ? t : Oo(t, (l) => Pt(r.channels, l));
|
|
23319
23319
|
var g5 = /* @__PURE__ */ Object.freeze({
|
|
23320
23320
|
__proto__: null,
|
|
@@ -23326,7 +23326,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23326
23326
|
D.onReceive(r, V);
|
|
23327
23327
|
});
|
|
23328
23328
|
})])
|
|
23329
|
-
}), qk = [$s("channels", ju(Do.value,
|
|
23329
|
+
}), qk = [$s("channels", ju(Do.value, za([
|
|
23330
23330
|
_f("onReceive"),
|
|
23331
23331
|
st("schema", du())
|
|
23332
23332
|
])))];
|
|
@@ -23381,7 +23381,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23381
23381
|
return xf("absolute", Q.some(l.x), Q.some(l.y), Q.none(), Q.none());
|
|
23382
23382
|
}, (l, h, b, x) => aw("absolute", r, l, h, b, x), (l, h, b, x) => aw("fixed", r, l, h, b, x)), wy = (t, r) => {
|
|
23383
23383
|
const l = ln(Uu, r), h = t.fold(l, l, () => {
|
|
23384
|
-
const S =
|
|
23384
|
+
const S = Fa();
|
|
23385
23385
|
return Uu(r).translate(-S.left, -S.top);
|
|
23386
23386
|
}), b = nt(r), x = Ic(r);
|
|
23387
23387
|
return Nr(h.left, h.top, b, x);
|
|
@@ -23390,7 +23390,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23390
23390
|
return Nr(h.left, h.top, l.width, l.height);
|
|
23391
23391
|
})), cw = (t, r, l) => {
|
|
23392
23392
|
const h = cr(r, l), b = () => {
|
|
23393
|
-
const x =
|
|
23393
|
+
const x = Fa();
|
|
23394
23394
|
return h.translate(-x.left, -x.top);
|
|
23395
23395
|
};
|
|
23396
23396
|
return t.fold(te(h), te(h), b);
|
|
@@ -23474,7 +23474,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23474
23474
|
layout: "none",
|
|
23475
23475
|
testY: l.y
|
|
23476
23476
|
}, -1, -1, !1)).fold($t, $t);
|
|
23477
|
-
}, Kk = gt, Jl = (t, r, l) =>
|
|
23477
|
+
}, Kk = gt, Jl = (t, r, l) => Qa(t, r, Kk, l), fw = (t, r, l) => jh(t, r, Kk, l), Jk = Zu, Cy = [
|
|
23478
23478
|
"top",
|
|
23479
23479
|
"bottom",
|
|
23480
23480
|
"right",
|
|
@@ -23557,7 +23557,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23557
23557
|
const h = lw(l.origin, r);
|
|
23558
23558
|
l.transition.each((b) => {
|
|
23559
23559
|
T5(t, l.origin, h, b, r, l.lastPlacement);
|
|
23560
|
-
}),
|
|
23560
|
+
}), Wa(t, h);
|
|
23561
23561
|
}, gw = (t, r) => {
|
|
23562
23562
|
Sy(t, r.placement);
|
|
23563
23563
|
}, pw = (t, r) => {
|
|
@@ -23709,7 +23709,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23709
23709
|
Qr("placement", yc)
|
|
23710
23710
|
];
|
|
23711
23711
|
const D0 = (t, r, l) => {
|
|
23712
|
-
const h = cw(l, r.x, r.y), b = Nr(h.left, h.top, r.width, r.height), x = Dy(t.element, r, wb(),
|
|
23712
|
+
const h = cw(l, r.x, r.y), b = Nr(h.left, h.top, r.width, r.height), x = Dy(t.element, r, wb(), qa(), wb(), qa(), Q.none());
|
|
23713
23713
|
return Q.some(Py({
|
|
23714
23714
|
anchorBox: b,
|
|
23715
23715
|
bubble: r.bubble,
|
|
@@ -23749,7 +23749,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23749
23749
|
};
|
|
23750
23750
|
return Q.from(h.frameElement).map(bt.fromDom).filter(b).map(Zi);
|
|
23751
23751
|
}, xw = (t, r, l) => {
|
|
23752
|
-
const h = lr(t.element), b =
|
|
23752
|
+
const h = lr(t.element), b = Fa(h), x = Tb(t, r, l).getOr(b);
|
|
23753
23753
|
return D5(x, b.left, b.top);
|
|
23754
23754
|
}, Sw = (t, r, l, h) => {
|
|
23755
23755
|
const b = A5(cr(t, r));
|
|
@@ -24237,7 +24237,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
24237
24237
|
setContent: xp
|
|
24238
24238
|
}), AC = /* @__PURE__ */ Object.freeze({
|
|
24239
24239
|
__proto__: null,
|
|
24240
|
-
events: (t, r) => nr([Et(
|
|
24240
|
+
events: (t, r) => nr([Et(Ua(), (l, h) => {
|
|
24241
24241
|
kC(l, t, r);
|
|
24242
24242
|
})])
|
|
24243
24243
|
}), Z0 = [
|
|
@@ -24265,20 +24265,20 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
24265
24265
|
active: AC,
|
|
24266
24266
|
apis: Z5,
|
|
24267
24267
|
state: H5
|
|
24268
|
-
}), Og = te("dismiss.popups"), wm = te("reposition.popups"), Yy = te("mouse.released"), Dw =
|
|
24268
|
+
}), Og = te("dismiss.popups"), wm = te("reposition.popups"), Yy = te("mouse.released"), Dw = za([
|
|
24269
24269
|
st("isExtraPart", tt),
|
|
24270
24270
|
Ki("fireEventInstead", [st("event", rm())])
|
|
24271
24271
|
]), Xc = (t) => {
|
|
24272
24272
|
const r = Il("Dismissal", Dw, t);
|
|
24273
24273
|
return {
|
|
24274
24274
|
[Og()]: {
|
|
24275
|
-
schema:
|
|
24275
|
+
schema: za([Dt("target")]),
|
|
24276
24276
|
onReceive: (l, h) => {
|
|
24277
24277
|
_s.isOpen(l) && (_s.isPartOf(l, h.target) || r.isExtraPart(l, h.target) || r.fireEventInstead.fold(() => _s.close(l), (x) => Go(l, x.event)));
|
|
24278
24278
|
}
|
|
24279
24279
|
}
|
|
24280
24280
|
};
|
|
24281
|
-
}, U5 =
|
|
24281
|
+
}, U5 = za([
|
|
24282
24282
|
Ki("fireEventInstead", [st("event", m0())]),
|
|
24283
24283
|
hu("doReposition")
|
|
24284
24284
|
]), Sp = (t) => {
|
|
@@ -24453,11 +24453,11 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
24453
24453
|
}
|
|
24454
24454
|
},
|
|
24455
24455
|
state: Rw
|
|
24456
|
-
}),
|
|
24456
|
+
}), Ga = (t, r) => I(t, {}, Ke(r, (l) => H1(l.name(), "Cannot configure " + l.name() + " for " + t)).concat([Ds("dump", $t)])), Ky = (t) => t.dump, Ri = (t, r) => ({
|
|
24457
24457
|
...Yt(r),
|
|
24458
24458
|
...t.dump
|
|
24459
24459
|
}), ku = {
|
|
24460
|
-
field:
|
|
24460
|
+
field: Ga,
|
|
24461
24461
|
augment: Ri,
|
|
24462
24462
|
get: Ky
|
|
24463
24463
|
}, Jy = "placeholder", _p = fe.generate([
|
|
@@ -24655,7 +24655,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24655
24655
|
st("debug.sketcher", {})
|
|
24656
24656
|
]).concat(r), iv = (t, r, l, h, b) => {
|
|
24657
24657
|
const x = WC(h, b);
|
|
24658
|
-
return Il(t + " [SpecSchema]",
|
|
24658
|
+
return Il(t + " [SpecSchema]", za(x.concat(r)), l);
|
|
24659
24659
|
}, J5 = (t, r, l, h) => {
|
|
24660
24660
|
const b = qw(h), x = iv(t, r, b, [], []);
|
|
24661
24661
|
return l(x, b);
|
|
@@ -24665,13 +24665,13 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24665
24665
|
}, jC = (t) => zo(t, "uid"), qw = (t) => jC(t) ? t : {
|
|
24666
24666
|
...t,
|
|
24667
24667
|
uid: fp("uid")
|
|
24668
|
-
}, XC = (t) => t.uid !== void 0, Cm =
|
|
24668
|
+
}, XC = (t) => t.uid !== void 0, Cm = za([
|
|
24669
24669
|
Dt("name"),
|
|
24670
24670
|
Dt("factory"),
|
|
24671
24671
|
Dt("configFields"),
|
|
24672
24672
|
st("apis", {}),
|
|
24673
24673
|
st("extraApis", {})
|
|
24674
|
-
]), av =
|
|
24674
|
+
]), av = za([
|
|
24675
24675
|
Dt("name"),
|
|
24676
24676
|
Dt("factory"),
|
|
24677
24677
|
Dt("configFields"),
|
|
@@ -24909,7 +24909,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24909
24909
|
ve(pe, L, V), xe.stop();
|
|
24910
24910
|
});
|
|
24911
24911
|
}, le = [
|
|
24912
|
-
Et(
|
|
24912
|
+
Et(Ha(), (pe, xe) => {
|
|
24913
24913
|
S(pe, xe, l, L, V).fold(() => {
|
|
24914
24914
|
oe(pe, xe);
|
|
24915
24915
|
}, (Xe) => {
|
|
@@ -25640,7 +25640,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25640
25640
|
Dt("dom"),
|
|
25641
25641
|
Dt("components"),
|
|
25642
25642
|
st("eventOrder", {}),
|
|
25643
|
-
|
|
25643
|
+
Ga("menuBehaviours", [
|
|
25644
25644
|
ue,
|
|
25645
25645
|
Cn,
|
|
25646
25646
|
bs,
|
|
@@ -25790,10 +25790,10 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25790
25790
|
init: eV,
|
|
25791
25791
|
extractPreparedMenu: B8
|
|
25792
25792
|
}, ME = An("tiered-menu-item-highlight"), N8 = An("tiered-menu-item-dehighlight");
|
|
25793
|
-
var
|
|
25793
|
+
var Ya;
|
|
25794
25794
|
(function(t) {
|
|
25795
25795
|
t[t.HighlightMenuAndItem = 0] = "HighlightMenuAndItem", t[t.HighlightJustMenu = 1] = "HighlightJustMenu", t[t.HighlightNone = 2] = "HighlightNone";
|
|
25796
|
-
})(
|
|
25796
|
+
})(Ya || (Ya = {}));
|
|
25797
25797
|
const tV = (t, r) => {
|
|
25798
25798
|
const l = Is(), h = (Xt, On, vo) => Bo(vo, (Zo, eo) => {
|
|
25799
25799
|
const Po = () => Kb.sketch({
|
|
@@ -25909,7 +25909,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25909
25909
|
}),
|
|
25910
25910
|
hr((Xt, On) => {
|
|
25911
25911
|
x(Xt).each((vo) => {
|
|
25912
|
-
wo.append(Xt, Ou(vo)), t.onOpenMenu(Xt, vo), t.highlightOnOpen ===
|
|
25912
|
+
wo.append(Xt, Ou(vo)), t.onOpenMenu(Xt, vo), t.highlightOnOpen === Ya.HighlightMenuAndItem ? V(Xt, vo) : t.highlightOnOpen === Ya.HighlightJustMenu && L(Xt, vo);
|
|
25913
25913
|
});
|
|
25914
25914
|
}),
|
|
25915
25915
|
Et(ME, (Xt, On) => {
|
|
@@ -25998,7 +25998,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25998
25998
|
_f("onOpenSubmenu"),
|
|
25999
25999
|
ps("onRepositionMenu"),
|
|
26000
26000
|
ps("onCollapseMenu"),
|
|
26001
|
-
st("highlightOnOpen",
|
|
26001
|
+
st("highlightOnOpen", Ya.HighlightMenuAndItem),
|
|
26002
26002
|
nh("data", [
|
|
26003
26003
|
Dt("primary"),
|
|
26004
26004
|
Dt("menus"),
|
|
@@ -26012,7 +26012,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26012
26012
|
Dt("dom"),
|
|
26013
26013
|
st("navigateOnHover", !0),
|
|
26014
26014
|
st("stayInDom", !1),
|
|
26015
|
-
|
|
26015
|
+
Ga("tmenuBehaviours", [
|
|
26016
26016
|
qn,
|
|
26017
26017
|
ue,
|
|
26018
26018
|
bs,
|
|
@@ -26168,7 +26168,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26168
26168
|
ps("onShow"),
|
|
26169
26169
|
ps("onHide"),
|
|
26170
26170
|
bf("onEscape"),
|
|
26171
|
-
|
|
26171
|
+
Ga("inlineBehaviours", [
|
|
26172
26172
|
_s,
|
|
26173
26173
|
Cn,
|
|
26174
26174
|
jc
|
|
@@ -26704,7 +26704,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26704
26704
|
layouts: {
|
|
26705
26705
|
onLtr: te([
|
|
26706
26706
|
fa,
|
|
26707
|
-
|
|
26707
|
+
Xa,
|
|
26708
26708
|
da,
|
|
26709
26709
|
ul,
|
|
26710
26710
|
ta,
|
|
@@ -26712,7 +26712,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26712
26712
|
]),
|
|
26713
26713
|
onRtl: te([
|
|
26714
26714
|
fa,
|
|
26715
|
-
|
|
26715
|
+
Xa,
|
|
26716
26716
|
da,
|
|
26717
26717
|
ul,
|
|
26718
26718
|
ta,
|
|
@@ -27008,8 +27008,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27008
27008
|
namespaceURI: n_,
|
|
27009
27009
|
tagName: "template"
|
|
27010
27010
|
});
|
|
27011
|
-
const cs = PT(yt.tagName),
|
|
27012
|
-
return BY[yt.namespaceURI] ? yt.namespaceURI === FQ ? io.namespaceURI === RO ? cs === "svg" : io.namespaceURI === QQ ? cs === "svg" && (
|
|
27011
|
+
const cs = PT(yt.tagName), nl = PT(io.tagName);
|
|
27012
|
+
return BY[yt.namespaceURI] ? yt.namespaceURI === FQ ? io.namespaceURI === RO ? cs === "svg" : io.namespaceURI === QQ ? cs === "svg" && (nl === "annotation-xml" || hte[nl]) : !!gte[cs] : yt.namespaceURI === QQ ? io.namespaceURI === RO ? cs === "math" : io.namespaceURI === FQ ? cs === "math" && mte[nl] : !!pte[cs] : yt.namespaceURI === RO ? io.namespaceURI === FQ && !mte[nl] || io.namespaceURI === QQ && !hte[nl] ? !1 : !pte[cs] && (Sae[cs] || !gte[cs]) : !!(SR === "application/xhtml+xml" && BY[yt.namespaceURI]) : !1;
|
|
27013
27013
|
}, T1 = function(yt) {
|
|
27014
27014
|
Sx(r.removed, {
|
|
27015
27015
|
element: yt
|
|
@@ -27051,16 +27051,16 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27051
27051
|
cs = Nu && Nu[0];
|
|
27052
27052
|
}
|
|
27053
27053
|
SR === "application/xhtml+xml" && n_ === RO && (yt = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + yt + "</body></html>");
|
|
27054
|
-
const
|
|
27054
|
+
const nl = lt ? lt.createHTML(yt) : yt;
|
|
27055
27055
|
if (n_ === RO)
|
|
27056
27056
|
try {
|
|
27057
|
-
io = new oe().parseFromString(
|
|
27057
|
+
io = new oe().parseFromString(nl, SR);
|
|
27058
27058
|
} catch {
|
|
27059
27059
|
}
|
|
27060
27060
|
if (!io || !io.documentElement) {
|
|
27061
27061
|
io = gn.createDocument(n_, "template", null);
|
|
27062
27062
|
try {
|
|
27063
|
-
io.documentElement.innerHTML = MY ? mt :
|
|
27063
|
+
io.documentElement.innerHTML = MY ? mt : nl;
|
|
27064
27064
|
} catch {
|
|
27065
27065
|
}
|
|
27066
27066
|
}
|
|
@@ -27079,8 +27079,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27079
27079
|
}, vte = function(yt) {
|
|
27080
27080
|
return typeof E == "function" && yt instanceof E;
|
|
27081
27081
|
}, MO = function(yt, io, cs) {
|
|
27082
|
-
Nn[yt] && $T(Nn[yt], (
|
|
27083
|
-
|
|
27082
|
+
Nn[yt] && $T(Nn[yt], (nl) => {
|
|
27083
|
+
nl.call(r, io, cs, o_);
|
|
27084
27084
|
});
|
|
27085
27085
|
}, wte = function(yt) {
|
|
27086
27086
|
let io = null;
|
|
@@ -27096,19 +27096,19 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27096
27096
|
if (!Yd[cs] && Ste(cs) && (ci.tagNameCheck instanceof RegExp && ad(ci.tagNameCheck, cs) || ci.tagNameCheck instanceof Function && ci.tagNameCheck(cs)))
|
|
27097
27097
|
return !1;
|
|
27098
27098
|
if (DY && !t_[cs]) {
|
|
27099
|
-
const
|
|
27100
|
-
if (ef &&
|
|
27099
|
+
const nl = He(yt) || yt.parentNode, ef = Ue(yt) || yt.childNodes;
|
|
27100
|
+
if (ef && nl) {
|
|
27101
27101
|
const Nu = ef.length;
|
|
27102
27102
|
for (let Lh = Nu - 1; Lh >= 0; --Lh) {
|
|
27103
27103
|
const _1 = xe(ef[Lh], !0);
|
|
27104
|
-
_1.__removalCount = (yt.__removalCount || 0) + 1,
|
|
27104
|
+
_1.__removalCount = (yt.__removalCount || 0) + 1, nl.insertBefore(_1, ve(yt));
|
|
27105
27105
|
}
|
|
27106
27106
|
}
|
|
27107
27107
|
}
|
|
27108
27108
|
return T1(yt), !0;
|
|
27109
27109
|
}
|
|
27110
|
-
return yt instanceof D && !kae(yt) || (cs === "noscript" || cs === "noembed" || cs === "noframes") && ad(/<\/no(script|embed|frames)/i, yt.innerHTML) ? (T1(yt), !0) : (Dg && yt.nodeType === wv.text && (io = yt.textContent, $T([ls, Dr, Bs], (
|
|
27111
|
-
io = kx(io,
|
|
27110
|
+
return yt instanceof D && !kae(yt) || (cs === "noscript" || cs === "noembed" || cs === "noframes") && ad(/<\/no(script|embed|frames)/i, yt.innerHTML) ? (T1(yt), !0) : (Dg && yt.nodeType === wv.text && (io = yt.textContent, $T([ls, Dr, Bs], (nl) => {
|
|
27111
|
+
io = kx(io, nl, " ");
|
|
27112
27112
|
}), yt.textContent !== io && (Sx(r.removed, {
|
|
27113
27113
|
element: yt.cloneNode()
|
|
27114
27114
|
}), yt.textContent = io)), MO("afterSanitizeElements", yt, null), !1);
|
|
@@ -27154,9 +27154,9 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27154
27154
|
keepAttr: !0,
|
|
27155
27155
|
allowedAttributes: or
|
|
27156
27156
|
};
|
|
27157
|
-
let
|
|
27158
|
-
for (;
|
|
27159
|
-
const ef = io[
|
|
27157
|
+
let nl = io.length;
|
|
27158
|
+
for (; nl--; ) {
|
|
27159
|
+
const ef = io[nl], {
|
|
27160
27160
|
name: Nu,
|
|
27161
27161
|
namespaceURI: Lh,
|
|
27162
27162
|
value: _1
|
|
@@ -27211,7 +27211,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27211
27211
|
MO("afterSanitizeShadowDOM", yt, null);
|
|
27212
27212
|
};
|
|
27213
27213
|
return r.sanitize = function(Os) {
|
|
27214
|
-
let yt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, io = null, cs = null,
|
|
27214
|
+
let yt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, io = null, cs = null, nl = null, ef = null;
|
|
27215
27215
|
if (MY = !Os, MY && (Os = "<!-->"), typeof Os != "string" && !vte(Os))
|
|
27216
27216
|
if (typeof Os.toString == "function") {
|
|
27217
27217
|
if (Os = Os.toString(), typeof Os != "string")
|
|
@@ -27237,8 +27237,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27237
27237
|
}
|
|
27238
27238
|
io && AY && T1(io.firstChild);
|
|
27239
27239
|
const Nu = Ote(xR ? Os : io);
|
|
27240
|
-
for (;
|
|
27241
|
-
wte(
|
|
27240
|
+
for (; nl = Nu.nextNode(); )
|
|
27241
|
+
wte(nl) || (nl.content instanceof x && Cae(nl.content), kte(nl));
|
|
27242
27242
|
if (xR)
|
|
27243
27243
|
return Os;
|
|
27244
27244
|
if (J4) {
|
|
@@ -27261,8 +27261,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27261
27261
|
o_ = null, wR = !1;
|
|
27262
27262
|
}, r.isValidAttribute = function(Os, yt, io) {
|
|
27263
27263
|
o_ || NY({});
|
|
27264
|
-
const cs = Bu(Os),
|
|
27265
|
-
return xte(cs,
|
|
27264
|
+
const cs = Bu(Os), nl = Bu(yt);
|
|
27265
|
+
return xte(cs, nl, io);
|
|
27266
27266
|
}, r.addHook = function(Os, yt) {
|
|
27267
27267
|
typeof yt == "function" && (Nn[Os] = Nn[Os] || [], Sx(Nn[Os], yt));
|
|
27268
27268
|
}, r.removeHook = function(Os) {
|
|
@@ -27597,7 +27597,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27597
27597
|
};
|
|
27598
27598
|
const PV = { setup: (t, r) => {
|
|
27599
27599
|
const l = (b, x) => {
|
|
27600
|
-
zn(b,
|
|
27600
|
+
zn(b, Ha(), { raw: x });
|
|
27601
27601
|
}, h = () => t.getMenu().bind(ue.getHighlighted);
|
|
27602
27602
|
r.on("keydown", (b) => {
|
|
27603
27603
|
const x = b.which;
|
|
@@ -27669,7 +27669,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27669
27669
|
zs("toInputValue", $t),
|
|
27670
27670
|
st("styles", {}),
|
|
27671
27671
|
st("eventOrder", {}),
|
|
27672
|
-
|
|
27672
|
+
Ga("inputBehaviours", [
|
|
27673
27673
|
Cn,
|
|
27674
27674
|
go
|
|
27675
27675
|
]),
|
|
@@ -27749,7 +27749,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27749
27749
|
Et(Ku(), (b) => {
|
|
27750
27750
|
Go(b, O$);
|
|
27751
27751
|
}),
|
|
27752
|
-
Et(
|
|
27752
|
+
Et(Ha(), (b, x) => {
|
|
27753
27753
|
x.event.raw.key === "Escape" && x.stop();
|
|
27754
27754
|
})
|
|
27755
27755
|
]),
|
|
@@ -28207,7 +28207,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28207
28207
|
}
|
|
28208
28208
|
}
|
|
28209
28209
|
}), sz = (t, r) => im((l, h) => {
|
|
28210
|
-
KT(t, l)(t.onAction), !t.triggersSubmenu && r === yh.CLOSE_ON_EXECUTE && (l.getSystem().isConnected() && Go(l,
|
|
28210
|
+
KT(t, l)(t.onAction), !t.triggersSubmenu && r === yh.CLOSE_ON_EXECUTE && (l.getSystem().isConnected() && Go(l, Ua()), h.stop());
|
|
28211
28211
|
}), rz = {
|
|
28212
28212
|
[Tl()]: [
|
|
28213
28213
|
"disabling",
|
|
@@ -28799,7 +28799,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28799
28799
|
}, Lf = (t, r) => r === tP && t.options.isSet("color_map_foreground") ? kh("color_map_foreground")(t) : r === nP && t.options.isSet("color_map_background") ? kh("color_map_background")(t) : t.options.isSet("color_map_raw") ? kh("color_map_raw")(t) : kh("color_map")(t), sP = (t, r = "default") => Math.max(Az, Math.ceil(Math.sqrt(Lf(t, r).length))), B7 = (t, r) => {
|
|
28800
28800
|
const l = kh("color_cols")(t), h = sP(t, r);
|
|
28801
28801
|
return l === sP(t) ? h : l;
|
|
28802
|
-
}, o3 = (t, r = "default") => Math.round(r === tP ? kh("color_cols_foreground")(t) : r === nP ? kh("color_cols_background")(t) : kh("color_cols")(t)),
|
|
28802
|
+
}, o3 = (t, r = "default") => Math.round(r === tP ? kh("color_cols_foreground")(t) : r === nP ? kh("color_cols_background")(t) : kh("color_cols")(t)), Ka = kh("custom_colors"), Mz = kh("color_default_foreground"), Bz = kh("color_default_background"), Nz = "rgba(0, 0, 0, 0)", Lz = (t) => n3(t).exists((r) => r.alpha !== 0), Iz = (t) => mu(t, (r) => {
|
|
28803
28803
|
if (Io(r)) {
|
|
28804
28804
|
const l = Nt(r, "background-color");
|
|
28805
28805
|
return Xn(Lz(l), l);
|
|
@@ -28869,7 +28869,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28869
28869
|
icon: r === "forecolor" ? "text-color" : "highlight-bg-color",
|
|
28870
28870
|
select: F7(t, l),
|
|
28871
28871
|
columns: o3(t, l),
|
|
28872
|
-
fetch: I7(Lf(t, l), l,
|
|
28872
|
+
fetch: I7(Lf(t, l), l, Ka(t)),
|
|
28873
28873
|
onAction: (b) => {
|
|
28874
28874
|
rP(t, l, h.get(), re);
|
|
28875
28875
|
},
|
|
@@ -29103,7 +29103,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29103
29103
|
}),
|
|
29104
29104
|
p0(U7, (D, L, V) => {
|
|
29105
29105
|
const { row: j, col: oe } = V.event;
|
|
29106
|
-
Go(D,
|
|
29106
|
+
Go(D, Ua()), t.onAction({
|
|
29107
29107
|
numRows: j + 1,
|
|
29108
29108
|
numColumns: oe + 1
|
|
29109
29109
|
});
|
|
@@ -29311,7 +29311,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29311
29311
|
dom: { tag: "div" },
|
|
29312
29312
|
behaviours: Yt([$l.config({ useFixed: gt })]),
|
|
29313
29313
|
events: nr([
|
|
29314
|
-
ep(
|
|
29314
|
+
ep(Ha()),
|
|
29315
29315
|
ep(Si()),
|
|
29316
29316
|
ep(qg())
|
|
29317
29317
|
])
|
|
@@ -29444,7 +29444,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29444
29444
|
st("getHotspot", Q.some),
|
|
29445
29445
|
st("getAnchorOverrides", te({})),
|
|
29446
29446
|
hg(),
|
|
29447
|
-
|
|
29447
|
+
Ga("dropdownBehaviours", [
|
|
29448
29448
|
Yo,
|
|
29449
29449
|
Mi,
|
|
29450
29450
|
qn,
|
|
@@ -29473,18 +29473,18 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29473
29473
|
n1.highlightPrimary(j);
|
|
29474
29474
|
});
|
|
29475
29475
|
}, S = (V, j, oe) => mP(t, $t, V, h, j, oe), E = (V) => {
|
|
29476
|
-
S(V, x,
|
|
29476
|
+
S(V, x, Ya.HighlightMenuAndItem).get(re);
|
|
29477
29477
|
}, D = {
|
|
29478
29478
|
expand: (V) => {
|
|
29479
|
-
Yo.isOn(V) || S(V, re,
|
|
29479
|
+
Yo.isOn(V) || S(V, re, Ya.HighlightNone).get(re);
|
|
29480
29480
|
},
|
|
29481
29481
|
open: (V) => {
|
|
29482
|
-
Yo.isOn(V) || S(V, re,
|
|
29482
|
+
Yo.isOn(V) || S(V, re, Ya.HighlightMenuAndItem).get(re);
|
|
29483
29483
|
},
|
|
29484
|
-
refetch: (V) => Mi.getExistingCoupled(V, "sandbox").fold(() => S(V, re,
|
|
29484
|
+
refetch: (V) => Mi.getExistingCoupled(V, "sandbox").fold(() => S(V, re, Ya.HighlightMenuAndItem).map(re), (oe) => r3(t, $t, V, oe, h, re, Ya.HighlightMenuAndItem).map(re)),
|
|
29485
29485
|
isOpen: Yo.isOn,
|
|
29486
29486
|
close: (V) => {
|
|
29487
|
-
Yo.isOn(V) && S(V, re,
|
|
29487
|
+
Yo.isOn(V) && S(V, re, Ya.HighlightMenuAndItem).get(re);
|
|
29488
29488
|
},
|
|
29489
29489
|
repositionMenus: (V) => {
|
|
29490
29490
|
Yo.isOn(V) && oB(V);
|
|
@@ -29925,7 +29925,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29925
29925
|
zo(E, S) && delete E[S];
|
|
29926
29926
|
});
|
|
29927
29927
|
},
|
|
29928
|
-
filterByType: (S) => qt(t, S).map((E) =>
|
|
29928
|
+
filterByType: (S) => qt(t, S).map((E) => Ra(E, (D, L) => mB(L, D))).getOr([]),
|
|
29929
29929
|
find: (S, E, D) => qt(t, E).bind((L) => mu(D, (V) => l(L, V), S))
|
|
29930
29930
|
};
|
|
29931
29931
|
}, Mp = () => {
|
|
@@ -29980,7 +29980,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
29980
29980
|
},
|
|
29981
29981
|
configFields: [
|
|
29982
29982
|
st("components", []),
|
|
29983
|
-
|
|
29983
|
+
Ga("containerBehaviours", []),
|
|
29984
29984
|
st("events", {}),
|
|
29985
29985
|
st("domModification", {}),
|
|
29986
29986
|
st("eventOrder", {})
|
|
@@ -30093,7 +30093,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30093
30093
|
components: Ke(t.items, r.interpreter)
|
|
30094
30094
|
}), $H = te([
|
|
30095
30095
|
st("prefix", "form-field"),
|
|
30096
|
-
|
|
30096
|
+
Ga("fieldBehaviours", [
|
|
30097
30097
|
bs,
|
|
30098
30098
|
Cn
|
|
30099
30099
|
])
|
|
@@ -30284,7 +30284,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30284
30284
|
layouts: {
|
|
30285
30285
|
onLtr: te([
|
|
30286
30286
|
fa,
|
|
30287
|
-
|
|
30287
|
+
Xa,
|
|
30288
30288
|
da,
|
|
30289
30289
|
ul,
|
|
30290
30290
|
ta,
|
|
@@ -30292,7 +30292,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30292
30292
|
]),
|
|
30293
30293
|
onRtl: te([
|
|
30294
30294
|
fa,
|
|
30295
|
-
|
|
30295
|
+
Xa,
|
|
30296
30296
|
da,
|
|
30297
30297
|
ul,
|
|
30298
30298
|
ta,
|
|
@@ -30923,7 +30923,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30923
30923
|
Qr("manager", sN)
|
|
30924
30924
|
]
|
|
30925
30925
|
})),
|
|
30926
|
-
|
|
30926
|
+
Ga("sliderBehaviours", [
|
|
30927
30927
|
qn,
|
|
30928
30928
|
Cn
|
|
30929
30929
|
]),
|
|
@@ -31067,7 +31067,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31067
31067
|
un(b.element, "aria-valuenow", Math.floor(360 - S * 3.6)), zn(b, iN, { value: S });
|
|
31068
31068
|
}
|
|
31069
31069
|
});
|
|
31070
|
-
}, lN = "form", cN = [
|
|
31070
|
+
}, lN = "form", cN = [Ga("formBehaviours", [Cn])], KP = (t) => "<alloy.field." + t + ">", yU = (t) => {
|
|
31071
31071
|
const r = (() => {
|
|
31072
31072
|
const x = [];
|
|
31073
31073
|
return {
|
|
@@ -31800,7 +31800,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31800
31800
|
],
|
|
31801
31801
|
behaviours: Yt([rc.childAt(1)])
|
|
31802
31802
|
}), wN = (t, r) => {
|
|
31803
|
-
zn(t,
|
|
31803
|
+
zn(t, Ha(), {
|
|
31804
31804
|
raw: {
|
|
31805
31805
|
which: 9,
|
|
31806
31806
|
shiftKey: r
|
|
@@ -32306,7 +32306,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32306
32306
|
name: "HtmlSelect",
|
|
32307
32307
|
configFields: [
|
|
32308
32308
|
Dt("options"),
|
|
32309
|
-
|
|
32309
|
+
Ga("selectBehaviours", [
|
|
32310
32310
|
go,
|
|
32311
32311
|
Cn
|
|
32312
32312
|
]),
|
|
@@ -33031,7 +33031,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33031
33031
|
r(t.id), D.getSystem().broadcastOn([`update-active-item-${h}`], { value: t.id });
|
|
33032
33032
|
},
|
|
33033
33033
|
eventOrder: {
|
|
33034
|
-
[
|
|
33034
|
+
[Ha()]: [
|
|
33035
33035
|
JN,
|
|
33036
33036
|
"keying"
|
|
33037
33037
|
]
|
|
@@ -33058,7 +33058,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33058
33058
|
(V === t.id ? Yo.on : Yo.off)(D);
|
|
33059
33059
|
});
|
|
33060
33060
|
}),
|
|
33061
|
-
Et(
|
|
33061
|
+
Et(Ha(), (D, L) => {
|
|
33062
33062
|
const V = L.event.raw.code === "ArrowLeft", j = L.event.raw.code === "ArrowRight";
|
|
33063
33063
|
V ? (ua(D.element, ".tox-tree--directory").each((oe) => {
|
|
33064
33064
|
D.getSystem().getByDom(oe).each((le) => {
|
|
@@ -33115,14 +33115,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33115
33115
|
components: x,
|
|
33116
33116
|
action: S,
|
|
33117
33117
|
eventOrder: {
|
|
33118
|
-
[
|
|
33118
|
+
[Ha()]: [
|
|
33119
33119
|
kA,
|
|
33120
33120
|
"keying"
|
|
33121
33121
|
]
|
|
33122
33122
|
},
|
|
33123
33123
|
buttonBehaviours: Yt([
|
|
33124
33124
|
...r ? [zr.config({})] : [],
|
|
33125
|
-
$o(kA, [Et(
|
|
33125
|
+
$o(kA, [Et(Ha(), (E, D) => {
|
|
33126
33126
|
const L = D.event.raw.code === "ArrowRight", V = D.event.raw.code === "ArrowLeft";
|
|
33127
33127
|
L && l && D.stop(), (L || V) && ua(E.element, ".tox-tree--directory").each((j) => {
|
|
33128
33128
|
E.getSystem().getByDom(j).each((oe) => {
|
|
@@ -33372,7 +33372,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33372
33372
|
const xe = (Xe) => {
|
|
33373
33373
|
bs.getCurrent(Xe).each(le);
|
|
33374
33374
|
};
|
|
33375
|
-
r3(t, S(j), j, pe, h, xe,
|
|
33375
|
+
r3(t, S(j), j, pe, h, xe, Ya.HighlightMenuAndItem).get(re);
|
|
33376
33376
|
}
|
|
33377
33377
|
}, x = D6(t), S = (j) => (oe) => oe.map((le) => {
|
|
33378
33378
|
const pe = rl(le.menus), xe = Se(pe, (ve) => Oo(ve.items, (Ue) => Ue.type === "item"));
|
|
@@ -33414,7 +33414,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33414
33414
|
});
|
|
33415
33415
|
});
|
|
33416
33416
|
};
|
|
33417
|
-
r3(t, S(j), j, le, h, Xe,
|
|
33417
|
+
r3(t, S(j), j, le, h, Xe, Ya.HighlightJustMenu).get(re);
|
|
33418
33418
|
}
|
|
33419
33419
|
},
|
|
33420
33420
|
cancelEvent: XO()
|
|
@@ -33460,7 +33460,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33460
33460
|
}),
|
|
33461
33461
|
im((j) => {
|
|
33462
33462
|
const oe = re;
|
|
33463
|
-
mP(t, S(j), j, h, oe,
|
|
33463
|
+
mP(t, S(j), j, h, oe, Ya.HighlightMenuAndItem).get(re);
|
|
33464
33464
|
}),
|
|
33465
33465
|
Et(_A(), (j, oe) => {
|
|
33466
33466
|
const le = Mi.getCoupled(j, "sandbox");
|
|
@@ -33520,7 +33520,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33520
33520
|
Tf(["openClass"]),
|
|
33521
33521
|
Ps("initialData"),
|
|
33522
33522
|
Ps("listRole"),
|
|
33523
|
-
|
|
33523
|
+
Ga("typeaheadBehaviours", [
|
|
33524
33524
|
go,
|
|
33525
33525
|
Cn,
|
|
33526
33526
|
TA,
|
|
@@ -34082,7 +34082,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34082
34082
|
layouts: {
|
|
34083
34083
|
onLtr: te([
|
|
34084
34084
|
fa,
|
|
34085
|
-
|
|
34085
|
+
Xa,
|
|
34086
34086
|
da,
|
|
34087
34087
|
ul,
|
|
34088
34088
|
ta,
|
|
@@ -34090,7 +34090,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34090
34090
|
]),
|
|
34091
34091
|
onRtl: te([
|
|
34092
34092
|
fa,
|
|
34093
|
-
|
|
34093
|
+
Xa,
|
|
34094
34094
|
da,
|
|
34095
34095
|
ul,
|
|
34096
34096
|
ta,
|
|
@@ -34115,34 +34115,34 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34115
34115
|
h
|
|
34116
34116
|
])
|
|
34117
34117
|
});
|
|
34118
|
-
},
|
|
34118
|
+
}, Ja = (t) => (r, l, h, b, x) => qt(l, "name").fold(() => t(l, b, Q.none(), x), (S) => r.field(S, t(l, b, qt(h, S), x))), bL = (t) => (r, l, h, b, x) => {
|
|
34119
34119
|
const S = xr(l, { source: "dynamic" });
|
|
34120
|
-
return
|
|
34120
|
+
return Ja(t)(r, S, h, b, x);
|
|
34121
34121
|
}, Ff = {
|
|
34122
|
-
bar:
|
|
34123
|
-
collection:
|
|
34124
|
-
alertbanner:
|
|
34125
|
-
input:
|
|
34126
|
-
textarea:
|
|
34127
|
-
label:
|
|
34122
|
+
bar: Ja((t, r) => pB(t, r.shared)),
|
|
34123
|
+
collection: Ja((t, r, l) => BH(t, r.shared.providers, l)),
|
|
34124
|
+
alertbanner: Ja((t, r) => gL(t, r.shared.providers)),
|
|
34125
|
+
input: Ja((t, r, l) => tW(t, r.shared.providers, l)),
|
|
34126
|
+
textarea: Ja((t, r, l) => zN(t, r.shared.providers, l)),
|
|
34127
|
+
label: Ja((t, r, l, h) => FU(t, r.shared, h)),
|
|
34128
34128
|
iframe: bL((t, r, l) => NU(t, r.shared.providers, l)),
|
|
34129
|
-
button:
|
|
34130
|
-
checkbox:
|
|
34131
|
-
colorinput:
|
|
34132
|
-
colorpicker:
|
|
34133
|
-
dropzone:
|
|
34134
|
-
grid:
|
|
34135
|
-
listbox:
|
|
34136
|
-
selectbox:
|
|
34137
|
-
sizeinput:
|
|
34138
|
-
slider:
|
|
34139
|
-
urlinput:
|
|
34140
|
-
customeditor:
|
|
34141
|
-
htmlpanel:
|
|
34142
|
-
imagepreview:
|
|
34143
|
-
table:
|
|
34144
|
-
tree:
|
|
34145
|
-
panel:
|
|
34129
|
+
button: Ja((t, r) => Rm(t, r.shared.providers)),
|
|
34130
|
+
checkbox: Ja((t, r, l) => MW(t, r.shared.providers, l)),
|
|
34131
|
+
colorinput: Ja((t, r, l) => IH(t, r.shared, r.colorinput, l)),
|
|
34132
|
+
colorpicker: Ja((t, r, l) => CU(t, r.shared.providers, l)),
|
|
34133
|
+
dropzone: Ja((t, r, l) => EU(t, r.shared.providers, l)),
|
|
34134
|
+
grid: Ja((t, r) => $U(t, r.shared)),
|
|
34135
|
+
listbox: Ja((t, r, l) => UU(t, r, l)),
|
|
34136
|
+
selectbox: Ja((t, r, l) => XU(t, r.shared.providers, l)),
|
|
34137
|
+
sizeinput: Ja((t, r) => JU(t, r.shared.providers)),
|
|
34138
|
+
slider: Ja((t, r, l) => ZN(t, r.shared.providers, l)),
|
|
34139
|
+
urlinput: Ja((t, r, l) => DW(t, r, r.urlinput, l)),
|
|
34140
|
+
customeditor: Ja(_U),
|
|
34141
|
+
htmlpanel: Ja((t, r) => BW(t, r.shared.providers)),
|
|
34142
|
+
imagepreview: Ja((t, r, l) => cA(t, l)),
|
|
34143
|
+
table: Ja((t, r) => eW(t, r.shared.providers)),
|
|
34144
|
+
tree: Ja((t, r) => pW(t, r)),
|
|
34145
|
+
panel: Ja((t, r) => WU(t, r))
|
|
34146
34146
|
}, MA = {
|
|
34147
34147
|
field: (t, r) => r,
|
|
34148
34148
|
record: te([])
|
|
@@ -34255,8 +34255,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34255
34255
|
node: Q.from(r()),
|
|
34256
34256
|
bubble: vu(0, -Ic(r()), O1),
|
|
34257
34257
|
layouts: {
|
|
34258
|
-
onRtl: () => [
|
|
34259
|
-
onLtr: () => [
|
|
34258
|
+
onRtl: () => [Xa],
|
|
34259
|
+
onLtr: () => [Xa]
|
|
34260
34260
|
},
|
|
34261
34261
|
overrides: x
|
|
34262
34262
|
} : {
|
|
@@ -34264,8 +34264,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34264
34264
|
hotspot: l(),
|
|
34265
34265
|
bubble: vu(0, 0, O1),
|
|
34266
34266
|
layouts: {
|
|
34267
|
-
onRtl: () => [
|
|
34268
|
-
onLtr: () => [
|
|
34267
|
+
onRtl: () => [Xa],
|
|
34268
|
+
onLtr: () => [Xa]
|
|
34269
34269
|
},
|
|
34270
34270
|
overrides: x
|
|
34271
34271
|
};
|
|
@@ -34317,7 +34317,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34317
34317
|
};
|
|
34318
34318
|
}, EL = (t) => (r, l) => {
|
|
34319
34319
|
z7(t)(r, l);
|
|
34320
|
-
}, Mee = (t) => () =>
|
|
34320
|
+
}, Mee = (t) => () => Ka(t), Bee = (t) => (r) => Lf(t, r), $L = (t) => (r) => o3(t, r), ZW = (t) => ({
|
|
34321
34321
|
colorPicker: EL(t),
|
|
34322
34322
|
hasCustomColors: Mee(t),
|
|
34323
34323
|
getColors: Bee(t),
|
|
@@ -34804,7 +34804,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34804
34804
|
}), jv = te([
|
|
34805
34805
|
Dt("dom"),
|
|
34806
34806
|
st("shell", !0),
|
|
34807
|
-
|
|
34807
|
+
Ga("toolbarBehaviours", [wo])
|
|
34808
34808
|
]), Iee = te([Pc({
|
|
34809
34809
|
name: "groups",
|
|
34810
34810
|
overrides: () => ({ behaviours: Yt([wo.config({})]) })
|
|
@@ -34855,7 +34855,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34855
34855
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
34856
34856
|
transitionClass: "tox-editor-dock-transition"
|
|
34857
34857
|
}, GL = "tox-tinymce--toolbar-sticky-on", YL = "tox-tinymce--toolbar-sticky-off", gj = (t, r) => {
|
|
34858
|
-
const l = lr(r), b = Nl(r).dom.innerHeight, x =
|
|
34858
|
+
const l = lr(r), b = Nl(r).dom.innerHeight, x = Fa(l), S = bt.fromDom(t.elm), E = wl(S), D = ti(S), L = E.y, V = L + D, j = Zi(r), oe = ti(r), le = j.top, pe = le + oe, xe = Math.abs(le - x.top) < 2, Xe = Math.abs(pe - (x.top + b)) < 2;
|
|
34859
34859
|
if (xe && L < pe)
|
|
34860
34860
|
Sd(x.left, L - oe, l);
|
|
34861
34861
|
else if (Xe && V > le) {
|
|
@@ -35115,7 +35115,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35115
35115
|
innerHtml: Xv
|
|
35116
35116
|
}
|
|
35117
35117
|
}]
|
|
35118
|
-
}), s9 = "container", xj = [
|
|
35118
|
+
}), s9 = "container", xj = [Ga("slotBehaviours", [])], o4 = (t) => "<alloy.field." + t + ">", Sj = (t) => {
|
|
35119
35119
|
const r = (() => {
|
|
35120
35120
|
const x = [];
|
|
35121
35121
|
return {
|
|
@@ -35457,7 +35457,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35457
35457
|
const D = be(b.element), L = Vj(D, r.builtGroups.get(), (V) => Math.ceil(V.element.dom.getBoundingClientRect().width), x);
|
|
35458
35458
|
L.extra.length === 0 ? (wo.remove(b, x), l([])) : (f9(b, L.within), l(L.extra)), Uo(b.element, "visibility"), Oa(b.element), E.each(go.focus);
|
|
35459
35459
|
}, Uj = te([
|
|
35460
|
-
|
|
35460
|
+
Ga("splitToolbarBehaviours", [Mi]),
|
|
35461
35461
|
Ds("builtGroups", () => Zn([]))
|
|
35462
35462
|
]), h9 = te([
|
|
35463
35463
|
Tf(["overflowToggledClass"]),
|
|
@@ -35627,7 +35627,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35627
35627
|
}), u4 = te([
|
|
35628
35628
|
Dt("items"),
|
|
35629
35629
|
Tf(["itemSelector"]),
|
|
35630
|
-
|
|
35630
|
+
Ga("tgroupBehaviours", [qn])
|
|
35631
35631
|
]), Xj = te([$p({
|
|
35632
35632
|
name: "items",
|
|
35633
35633
|
unit: "item"
|
|
@@ -35967,7 +35967,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35967
35967
|
...r,
|
|
35968
35968
|
lazySink: t.getSink,
|
|
35969
35969
|
getOverflowBounds: () => {
|
|
35970
|
-
const b = t.moreDrawerData.lazyHeader().element, x = wl(b), S =
|
|
35970
|
+
const b = t.moreDrawerData.lazyHeader().element, x = wl(b), S = Ba(b), E = wl(S), D = Math.max(S.dom.scrollHeight, E.height);
|
|
35971
35971
|
return Nr(x.x + l, E.y, x.width - l * 2, D);
|
|
35972
35972
|
},
|
|
35973
35973
|
parts: {
|
|
@@ -36199,7 +36199,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36199
36199
|
getOnHide: (t, r) => t.getOnHide(r)
|
|
36200
36200
|
}
|
|
36201
36201
|
});
|
|
36202
|
-
const uX = (t, r, l) =>
|
|
36202
|
+
const uX = (t, r, l) => Ra(r, (h, b) => {
|
|
36203
36203
|
const x = jt(oX(h));
|
|
36204
36204
|
return t.slot(b, Kv.sketch({
|
|
36205
36205
|
dom: {
|
|
@@ -37001,7 +37001,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37001
37001
|
getApi: E
|
|
37002
37002
|
}, kn),
|
|
37003
37003
|
Rl({ getApi: E }, kn),
|
|
37004
|
-
Et(
|
|
37004
|
+
Et(Ha(), (ls, Dr) => {
|
|
37005
37005
|
(Dr.event.raw.keyCode === K9.space() || Dr.event.raw.keyCode === K9.enter()) && (Hn.isDisabled(ls) || He(!1));
|
|
37006
37006
|
}),
|
|
37007
37007
|
Et(qg(), Nn),
|
|
@@ -37009,7 +37009,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37009
37009
|
])
|
|
37010
37010
|
]),
|
|
37011
37011
|
eventOrder: {
|
|
37012
|
-
[
|
|
37012
|
+
[Ha()]: [
|
|
37013
37013
|
$n,
|
|
37014
37014
|
"keying"
|
|
37015
37015
|
],
|
|
@@ -37264,7 +37264,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37264
37264
|
Ps("lazySink"),
|
|
37265
37265
|
Dt("dom"),
|
|
37266
37266
|
ps("onOpen"),
|
|
37267
|
-
|
|
37267
|
+
Ga("splitDropdownBehaviours", [
|
|
37268
37268
|
Mi,
|
|
37269
37269
|
qn,
|
|
37270
37270
|
go
|
|
@@ -37344,7 +37344,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37344
37344
|
ue.highlightFirst(j), qn.focusIn(j);
|
|
37345
37345
|
});
|
|
37346
37346
|
}, x = (V) => {
|
|
37347
|
-
mP(t, $t, V, h, b,
|
|
37347
|
+
mP(t, $t, V, h, b, Ya.HighlightMenuAndItem).get(re);
|
|
37348
37348
|
}, S = (V) => (x(V), Q.some(!0)), E = (V) => {
|
|
37349
37349
|
const j = Pf(V, t, "button");
|
|
37350
37350
|
return sg(j), Q.some(!0);
|
|
@@ -37889,7 +37889,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37889
37889
|
if (Zo.y > vo)
|
|
37890
37890
|
return "top";
|
|
37891
37891
|
{
|
|
37892
|
-
const Po =
|
|
37892
|
+
const Po = Ba(r), fr = Math.max(Po.dom.scrollHeight, ti(Po));
|
|
37893
37893
|
return Zo.bottom < fr - vo || Hi().bottom < Zo.bottom - vo ? "bottom" : "top";
|
|
37894
37894
|
}
|
|
37895
37895
|
case ND.bottom:
|
|
@@ -37906,7 +37906,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37906
37906
|
});
|
|
37907
37907
|
}, mt = () => {
|
|
37908
37908
|
b.on((Qn) => {
|
|
37909
|
-
const Xt = V.getOrThunk(() => Zc().width -
|
|
37909
|
+
const Xt = V.getOrThunk(() => Zc().width - Na(r).left - 10);
|
|
37910
37910
|
rn(Qn.element, "max-width", Xt + "px");
|
|
37911
37911
|
});
|
|
37912
37912
|
}, gn = (Qn, Xt) => {
|
|
@@ -37919,7 +37919,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37919
37919
|
const Jd = zi(lc), Nh = (Kd = lc.dom.scrollTop) !== null && Kd !== void 0 ? Kd : 0, Dg = Wo(lc, vt()) ? Math.max(eo.y - ti(On.element) + Zo, 0) : eo.y - Jd.y + Nh - ti(On.element) + Zo;
|
|
37920
37920
|
return oe() ? Dg : eo.bottom;
|
|
37921
37921
|
}), Mu = fr(), ci = Xn(Qn, Math.ceil(x.outerContainer.element.dom.getBoundingClientRect().width)).filter((lc) => lc > le).map((lc) => {
|
|
37922
|
-
const Kd = Xt.getOr(
|
|
37922
|
+
const Kd = Xt.getOr(Fa()), Jd = window.innerWidth - (Mu - Kd.left), Nh = Math.max(Math.min(lc, Jd), le);
|
|
37923
37923
|
return Jd < lc && rn(x.outerContainer.element, "width", Nh + "px"), { width: Nh + "px" };
|
|
37924
37924
|
}).getOr({ width: "max-content" }), Yd = {
|
|
37925
37925
|
position: "absolute",
|
|
@@ -37939,9 +37939,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37939
37939
|
if (!ve())
|
|
37940
37940
|
return;
|
|
37941
37941
|
D || mt();
|
|
37942
|
-
const Xt =
|
|
37942
|
+
const Xt = Fa(), On = D ? !1 : $n();
|
|
37943
37943
|
if (xe && Ar.refreshToolbar(x.outerContainer), !D) {
|
|
37944
|
-
const vo =
|
|
37944
|
+
const vo = Fa(), Zo = Xn(Xt.left !== vo.left, Xt);
|
|
37945
37945
|
gn(On, Zo), Zo.each((eo) => {
|
|
37946
37946
|
Sd(eo.left, vo.top);
|
|
37947
37947
|
});
|
|
@@ -37993,7 +37993,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37993
37993
|
let S = 0;
|
|
37994
37994
|
const E = nA(() => l.update(mr.refresh), 33);
|
|
37995
37995
|
t.on("ScrollWindow", () => {
|
|
37996
|
-
const L =
|
|
37996
|
+
const L = Fa().left;
|
|
37997
37997
|
L !== S && (S = L, E.throttle()), l.updateMode();
|
|
37998
37998
|
}), Ap(t) && t.on("ElementScroll", (L) => {
|
|
37999
37999
|
l.update(mr.refresh);
|
|
@@ -38129,7 +38129,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38129
38129
|
},
|
|
38130
38130
|
isInputEnabled: () => !Hn.isDisabled(t),
|
|
38131
38131
|
hide: () => {
|
|
38132
|
-
r.isSet() || r.set(Cn.getValue(t)), Go(t,
|
|
38132
|
+
r.isSet() || r.set(Cn.getValue(t)), Go(t, Ua());
|
|
38133
38133
|
},
|
|
38134
38134
|
back: () => {
|
|
38135
38135
|
r.isSet() || r.set(Cn.getValue(t)), Go(t, k4);
|
|
@@ -38323,7 +38323,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38323
38323
|
}, VD = (t) => {
|
|
38324
38324
|
const r = t.selection.getRng(), l = _q(r);
|
|
38325
38325
|
if (t.inline) {
|
|
38326
|
-
const h =
|
|
38326
|
+
const h = Fa();
|
|
38327
38327
|
return Nr(h.left + l.left, h.top + l.top, l.width, l.height);
|
|
38328
38328
|
} else {
|
|
38329
38329
|
const h = wl(bt.fromDom(t.getBody()));
|
|
@@ -38391,7 +38391,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38391
38391
|
if (S)
|
|
38392
38392
|
return $q(r, h.getMode(), () => _I(x, zi(r), -20) && !h.isReposition() ? CL : kL);
|
|
38393
38393
|
{
|
|
38394
|
-
const E = h.getMode() === "fixed" ? b.y +
|
|
38394
|
+
const E = h.getMode() === "fixed" ? b.y + Fa().top : b.y, D = ti(r) + $S;
|
|
38395
38395
|
return E + D <= x.y ? Eh : pS;
|
|
38396
38396
|
}
|
|
38397
38397
|
}, $4 = (t, r, l, h) => {
|
|
@@ -38413,7 +38413,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38413
38413
|
ta,
|
|
38414
38414
|
ul,
|
|
38415
38415
|
Ai,
|
|
38416
|
-
|
|
38416
|
+
Xa
|
|
38417
38417
|
].concat(x(D)),
|
|
38418
38418
|
onRtl: (D) => [
|
|
38419
38419
|
fa,
|
|
@@ -38421,11 +38421,11 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38421
38421
|
da,
|
|
38422
38422
|
Ai,
|
|
38423
38423
|
ul,
|
|
38424
|
-
|
|
38424
|
+
Xa
|
|
38425
38425
|
].concat(x(D))
|
|
38426
38426
|
} : {
|
|
38427
38427
|
onLtr: (D) => [
|
|
38428
|
-
|
|
38428
|
+
Xa,
|
|
38429
38429
|
fa,
|
|
38430
38430
|
ul,
|
|
38431
38431
|
da,
|
|
@@ -38433,7 +38433,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38433
38433
|
ta
|
|
38434
38434
|
].concat(x(D)),
|
|
38435
38435
|
onRtl: (D) => [
|
|
38436
|
-
|
|
38436
|
+
Xa,
|
|
38437
38437
|
fa,
|
|
38438
38438
|
Ai,
|
|
38439
38439
|
ta,
|
|
@@ -39235,7 +39235,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39235
39235
|
ta,
|
|
39236
39236
|
ul,
|
|
39237
39237
|
Ai,
|
|
39238
|
-
|
|
39238
|
+
Xa,
|
|
39239
39239
|
Eh,
|
|
39240
39240
|
pS,
|
|
39241
39241
|
gS,
|
|
@@ -39249,7 +39249,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39249
39249
|
da,
|
|
39250
39250
|
Ai,
|
|
39251
39251
|
ul,
|
|
39252
|
-
|
|
39252
|
+
Xa,
|
|
39253
39253
|
Eh,
|
|
39254
39254
|
pS,
|
|
39255
39255
|
b1,
|
|
@@ -39308,7 +39308,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39308
39308
|
search: Q.none()
|
|
39309
39309
|
}).map((D) => {
|
|
39310
39310
|
r.preventDefault();
|
|
39311
|
-
const L = S ?
|
|
39311
|
+
const L = S ? Ya.HighlightMenuAndItem : Ya.HighlightNone;
|
|
39312
39312
|
ni.showMenuWithinBounds(b, { anchor: E }, {
|
|
39313
39313
|
menu: {
|
|
39314
39314
|
markers: c1("normal"),
|
|
@@ -39525,7 +39525,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39525
39525
|
snapTo: (t, r, l, h) => {
|
|
39526
39526
|
const b = r.getTarget(t.element);
|
|
39527
39527
|
if (r.repositionTarget) {
|
|
39528
|
-
const x = lr(t.element), S =
|
|
39528
|
+
const x = lr(t.element), S = Fa(x), E = nb(b), D = vG(h, S, E), L = JI(D.coord, S, E);
|
|
39529
39529
|
oi(b, L);
|
|
39530
39530
|
}
|
|
39531
39531
|
}
|
|
@@ -39601,7 +39601,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39601
39601
|
}, _G = (t, r, l, h) => {
|
|
39602
39602
|
const b = r.getTarget(t.element);
|
|
39603
39603
|
if (r.repositionTarget) {
|
|
39604
|
-
const x = lr(t.element), S =
|
|
39604
|
+
const x = lr(t.element), S = Fa(x), E = nb(b), D = CG(b), L = TG(t, r.snaps, D, S, E, h, l), V = JI(L, S, E);
|
|
39605
39605
|
oi(b, V);
|
|
39606
39606
|
}
|
|
39607
39607
|
r.onDrag(t, b, h);
|
|
@@ -40400,7 +40400,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40400
40400
|
st("useTabstopAt", gt),
|
|
40401
40401
|
st("firstTabstop", 0),
|
|
40402
40402
|
st("eventOrder", {}),
|
|
40403
|
-
|
|
40403
|
+
Ga("modalBehaviours", [qn]),
|
|
40404
40404
|
Yl("onExecute"),
|
|
40405
40405
|
fb("onEscape")
|
|
40406
40406
|
]), rR = { sketch: $t }, qG = te([
|
|
@@ -40521,7 +40521,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40521
40521
|
})])
|
|
40522
40522
|
])
|
|
40523
40523
|
};
|
|
40524
|
-
},
|
|
40524
|
+
}, el = Ql({
|
|
40525
40525
|
name: "ModalDialog",
|
|
40526
40526
|
configFields: XG(),
|
|
40527
40527
|
partFields: qG(),
|
|
@@ -40643,7 +40643,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40643
40643
|
]), wQ = TO.concat([
|
|
40644
40644
|
Ir("tag", "textarea"),
|
|
40645
40645
|
hu("init")
|
|
40646
|
-
]), lY = Hg((t) => Yr("customeditor.old",
|
|
40646
|
+
]), lY = Hg((t) => Yr("customeditor.old", za(wQ), t).orThunk(() => Yr("customeditor.new", za(aY), t))), cY = yn, uY = Ah.concat([Ir("context", "mode:design")]), dR = uo(uY), fR = om(), dY = (t) => [
|
|
40647
40647
|
na,
|
|
40648
40648
|
i0("columns"),
|
|
40649
40649
|
t
|
|
@@ -40996,7 +40996,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40996
40996
|
})), du()),
|
|
40997
40997
|
Ps("action"),
|
|
40998
40998
|
st("domModification", {}),
|
|
40999
|
-
|
|
40999
|
+
Ga("tabButtonBehaviours", [
|
|
41000
41000
|
go,
|
|
41001
41001
|
qn,
|
|
41002
41002
|
Cn
|
|
@@ -41008,7 +41008,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41008
41008
|
Dt("tabs"),
|
|
41009
41009
|
Dt("dom"),
|
|
41010
41010
|
st("clickToDismiss", !1),
|
|
41011
|
-
|
|
41011
|
+
Ga("tabbarBehaviours", [
|
|
41012
41012
|
ue,
|
|
41013
41013
|
qn
|
|
41014
41014
|
]),
|
|
@@ -41076,14 +41076,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41076
41076
|
domModification: { attributes: { role: "tabpanel" } }
|
|
41077
41077
|
}), Rs = Ac({
|
|
41078
41078
|
name: "Tabview",
|
|
41079
|
-
configFields: [
|
|
41079
|
+
configFields: [Ga("tabviewBehaviours", [wo])],
|
|
41080
41080
|
factory: Gn
|
|
41081
41081
|
}), Sn = te([
|
|
41082
41082
|
st("selectFirst", !0),
|
|
41083
41083
|
ps("onChangeTab"),
|
|
41084
41084
|
ps("onDismissTab"),
|
|
41085
41085
|
st("tabs", []),
|
|
41086
|
-
|
|
41086
|
+
Ga("tabSectionBehaviours", [])
|
|
41087
41087
|
]), fo = Al({
|
|
41088
41088
|
factory: cn,
|
|
41089
41089
|
schema: [
|
|
@@ -41163,7 +41163,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41163
41163
|
const x = r.dom.getBoundingClientRect();
|
|
41164
41164
|
return wo.set(l, []), x.height;
|
|
41165
41165
|
}), br = (t) => Hs(dr(t, (r, l) => r > l ? -1 : r < l ? 1 : 0)), ic = (t, r, l) => {
|
|
41166
|
-
const h =
|
|
41166
|
+
const h = Ba(t).dom, b = ua(t, ".tox-dialog-wrap").getOr(t), x = Nt(b, "position") === "fixed";
|
|
41167
41167
|
let S;
|
|
41168
41168
|
x ? S = Math.max(h.clientHeight, window.innerHeight) : S = Math.max(h.offsetHeight, h.scrollHeight);
|
|
41169
41169
|
const E = ti(r), L = r.dom.offsetLeft >= l.dom.offsetLeft + be(l) ? Math.max(ti(l), E) : E, V = parseInt(Nt(t, "margin-top"), 10) || 0, j = parseInt(Nt(t, "margin-bottom"), 10) || 0, le = ti(t) + V + j - L;
|
|
@@ -41334,9 +41334,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41334
41334
|
})
|
|
41335
41335
|
])
|
|
41336
41336
|
};
|
|
41337
|
-
}, Ni = (t, r, l, h, b, x) => Cs(t, r, Q.some(l), h, b, x),
|
|
41337
|
+
}, Ni = (t, r, l, h, b, x) => Cs(t, r, Q.some(l), h, b, x), tl = (t, r, l, h) => {
|
|
41338
41338
|
const b = Cs(t, r, Q.none(), l, !1, h);
|
|
41339
|
-
return
|
|
41339
|
+
return el.parts.body(b);
|
|
41340
41340
|
}, gl = (t) => {
|
|
41341
41341
|
const r = {
|
|
41342
41342
|
dom: {
|
|
@@ -41364,7 +41364,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41364
41364
|
useTabstopAt: je(aS)
|
|
41365
41365
|
})])
|
|
41366
41366
|
};
|
|
41367
|
-
return
|
|
41367
|
+
return el.parts.body(r);
|
|
41368
41368
|
}, $a = o1.deviceType.isTouch(), ai = (t, r) => ({
|
|
41369
41369
|
dom: {
|
|
41370
41370
|
tag: "div",
|
|
@@ -41375,7 +41375,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41375
41375
|
t,
|
|
41376
41376
|
r
|
|
41377
41377
|
]
|
|
41378
|
-
}), li = (t, r) =>
|
|
41378
|
+
}), li = (t, r) => el.parts.close(_a.sketch({
|
|
41379
41379
|
dom: {
|
|
41380
41380
|
tag: "button",
|
|
41381
41381
|
classes: [
|
|
@@ -41390,14 +41390,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41390
41390
|
},
|
|
41391
41391
|
action: t,
|
|
41392
41392
|
buttonBehaviours: Yt([zr.config({})])
|
|
41393
|
-
})), Dc = () =>
|
|
41393
|
+
})), Dc = () => el.parts.title({
|
|
41394
41394
|
dom: {
|
|
41395
41395
|
tag: "div",
|
|
41396
41396
|
classes: ["tox-dialog__title"],
|
|
41397
41397
|
innerHtml: "",
|
|
41398
41398
|
styles: { display: "none" }
|
|
41399
41399
|
}
|
|
41400
|
-
}), Vf = (t, r) =>
|
|
41400
|
+
}), Vf = (t, r) => el.parts.body({
|
|
41401
41401
|
dom: {
|
|
41402
41402
|
tag: "div",
|
|
41403
41403
|
classes: ["tox-dialog__body"]
|
|
@@ -41409,7 +41409,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41409
41409
|
},
|
|
41410
41410
|
components: [{ dom: _m(`<p>${m6(r.translate(t))}</p>`) }]
|
|
41411
41411
|
}]
|
|
41412
|
-
}), Mm = (t) =>
|
|
41412
|
+
}), Mm = (t) => el.parts.footer({
|
|
41413
41413
|
dom: {
|
|
41414
41414
|
tag: "div",
|
|
41415
41415
|
classes: ["tox-dialog__footer"]
|
|
@@ -41432,7 +41432,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41432
41432
|
})
|
|
41433
41433
|
], S1 = (t) => {
|
|
41434
41434
|
const r = "tox-dialog", l = r + "-wrap", h = l + "__backdrop", b = r + "__disable-scroll";
|
|
41435
|
-
return
|
|
41435
|
+
return el.sketch({
|
|
41436
41436
|
lazySink: t.lazySink,
|
|
41437
41437
|
onEscape: (x) => (t.onEscape(x), Q.some(!0)),
|
|
41438
41438
|
useTabstopAt: (x) => !aS(x),
|
|
@@ -41558,7 +41558,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41558
41558
|
}
|
|
41559
41559
|
})])
|
|
41560
41560
|
}), QS = (t, r, l) => {
|
|
41561
|
-
const h =
|
|
41561
|
+
const h = el.parts.title(k1(t, r, Q.none(), l)), b = el.parts.draghandle(zf()), x = el.parts.close($O(l)), S = [h].concat(t.draggable ? [b] : []).concat([x]);
|
|
41562
41562
|
return Am.sketch({
|
|
41563
41563
|
dom: _m('<div class="tox-dialog__header"></div>'),
|
|
41564
41564
|
components: S
|
|
@@ -41585,10 +41585,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41585
41585
|
onClose: () => l.closeWindow(),
|
|
41586
41586
|
onBlock: (h) => {
|
|
41587
41587
|
const b = Er(t().element, ".tox-dialog__header").map((x) => ti(x));
|
|
41588
|
-
|
|
41588
|
+
el.setBusy(t(), (x, S) => mR(h.message, S, r, b));
|
|
41589
41589
|
},
|
|
41590
41590
|
onUnblock: () => {
|
|
41591
|
-
|
|
41591
|
+
el.setIdle(t());
|
|
41592
41592
|
}
|
|
41593
41593
|
}), gR = "tox-dialog--fullscreen", Y4 = "tox-dialog--width-lg", zl = "tox-dialog--width-md", Du = (t) => {
|
|
41594
41594
|
switch (t) {
|
|
@@ -41757,7 +41757,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41757
41757
|
renderComponents: ZS
|
|
41758
41758
|
})])
|
|
41759
41759
|
};
|
|
41760
|
-
}, MQ = (t, r, l) => pR(t, r, l), bR = (t, r, l) =>
|
|
41760
|
+
}, MQ = (t, r, l) => pR(t, r, l), bR = (t, r, l) => el.parts.footer(pR(t, r, l)), VS = (t, r) => {
|
|
41761
41761
|
if (t.getRoot().getSystem().isConnected()) {
|
|
41762
41762
|
const h = bs.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());
|
|
41763
41763
|
return pO.getField(h, r).orThunk(() => t.getFooter().bind((S) => fn.getState(S).get()).bind((S) => S.lookupByName(r)));
|
|
@@ -41830,7 +41830,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41830
41830
|
};
|
|
41831
41831
|
return le;
|
|
41832
41832
|
}, BQ = (t, r, l) => {
|
|
41833
|
-
const h = An("dialog"), b = t.internalDialog, x = PO(b.title, h, l), S = Zn(b.size), E = (He) => VS(ve, He), D = Du(S.get()).toArray(), L = (He, lt) => (S.set(lt.internalDialog.size), FS(lt.internalDialog.size, He), Q.some(lt)), V =
|
|
41833
|
+
const h = An("dialog"), b = t.internalDialog, x = PO(b.title, h, l), S = Zn(b.size), E = (He) => VS(ve, He), D = Du(S.get()).toArray(), L = (He, lt) => (S.set(lt.internalDialog.size), FS(lt.internalDialog.size, He), Q.some(lt)), V = tl({
|
|
41834
41834
|
body: b.body,
|
|
41835
41835
|
initialData: b.initialData
|
|
41836
41836
|
}, h, l, E), j = an(b.buttons), oe = on(j), le = Xn(j.length !== 0, bR({ buttons: j }, h, l)), pe = Ci(() => Ue, AO(() => Xe, l.shared.providers, r), l.shared.getSink), xe = {
|
|
@@ -41847,7 +41847,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41847
41847
|
extraStyles: {}
|
|
41848
41848
|
}, Xe = ft(xe, pe, l), ve = (() => {
|
|
41849
41849
|
const He = () => {
|
|
41850
|
-
const mt =
|
|
41850
|
+
const mt = el.getBody(Xe);
|
|
41851
41851
|
return bs.getCurrent(mt).getOr(mt);
|
|
41852
41852
|
}, lt = () => {
|
|
41853
41853
|
dt(Xe, S.get());
|
|
@@ -41855,8 +41855,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41855
41855
|
return {
|
|
41856
41856
|
getId: te(h),
|
|
41857
41857
|
getRoot: te(Xe),
|
|
41858
|
-
getBody: () =>
|
|
41859
|
-
getFooter: () =>
|
|
41858
|
+
getBody: () => el.getBody(Xe),
|
|
41859
|
+
getFooter: () => el.getFooter(Xe),
|
|
41860
41860
|
getFormWrapper: He,
|
|
41861
41861
|
toggleFullscreen: lt
|
|
41862
41862
|
};
|
|
@@ -42070,7 +42070,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42070
42070
|
const r = t.shared;
|
|
42071
42071
|
return { open: (h, b) => {
|
|
42072
42072
|
const x = () => {
|
|
42073
|
-
|
|
42073
|
+
el.hide(L), b();
|
|
42074
42074
|
}, S = Qs(z3({
|
|
42075
42075
|
context: "any",
|
|
42076
42076
|
name: "close-alert",
|
|
@@ -42092,7 +42092,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42092
42092
|
dialogEvents: [Et(Bp, x)],
|
|
42093
42093
|
eventOrder: {}
|
|
42094
42094
|
}));
|
|
42095
|
-
|
|
42095
|
+
el.show(L);
|
|
42096
42096
|
const V = S.get(L);
|
|
42097
42097
|
go.focus(V);
|
|
42098
42098
|
} };
|
|
@@ -42100,7 +42100,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42100
42100
|
const r = t.shared;
|
|
42101
42101
|
return { open: (h, b) => {
|
|
42102
42102
|
const x = (oe) => {
|
|
42103
|
-
|
|
42103
|
+
el.hide(V), b(oe);
|
|
42104
42104
|
}, S = Qs(z3({
|
|
42105
42105
|
context: "any",
|
|
42106
42106
|
name: "yes",
|
|
@@ -42137,7 +42137,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42137
42137
|
],
|
|
42138
42138
|
eventOrder: {}
|
|
42139
42139
|
}));
|
|
42140
|
-
|
|
42140
|
+
el.show(V);
|
|
42141
42141
|
const j = S.get(V);
|
|
42142
42142
|
go.focus(j);
|
|
42143
42143
|
} };
|
|
@@ -42174,10 +42174,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42174
42174
|
const Xe = (ve) => {
|
|
42175
42175
|
const Ue = ma(ve, {
|
|
42176
42176
|
closeWindow: () => {
|
|
42177
|
-
|
|
42177
|
+
el.hide(Ue.dialog), xe(Ue.instanceApi);
|
|
42178
42178
|
}
|
|
42179
42179
|
}, r, t.backstages.dialog);
|
|
42180
|
-
return
|
|
42180
|
+
return el.show(Ue.dialog), Ue.instanceApi;
|
|
42181
42181
|
};
|
|
42182
42182
|
return qe.openUrl(Xe, pe);
|
|
42183
42183
|
}, D = (pe, xe) => {
|
|
@@ -42189,10 +42189,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42189
42189
|
}, {
|
|
42190
42190
|
redial: qe.redial,
|
|
42191
42191
|
closeWindow: () => {
|
|
42192
|
-
|
|
42192
|
+
el.hide(gn.dialog), xe(gn.instanceApi);
|
|
42193
42193
|
}
|
|
42194
42194
|
}, t.backstages.dialog);
|
|
42195
|
-
return
|
|
42195
|
+
return el.show(gn.dialog), gn.instanceApi.setData(lt), gn.instanceApi;
|
|
42196
42196
|
};
|
|
42197
42197
|
return qe.open(Xe, pe);
|
|
42198
42198
|
}, L = (pe, xe, Xe, ve) => {
|
|
@@ -42575,12 +42575,12 @@ function afe() {
|
|
|
42575
42575
|
}, Zr = (g, y) => {
|
|
42576
42576
|
const k = g.split(".");
|
|
42577
42577
|
return Ns(k, y);
|
|
42578
|
-
}, yi = (g, y) => Zr(g, y),
|
|
42578
|
+
}, yi = (g, y) => Zr(g, y), Ra = (g, y) => {
|
|
42579
42579
|
const k = yi(g, y);
|
|
42580
42580
|
if (k == null)
|
|
42581
42581
|
throw new Error(g + " not available on this browser");
|
|
42582
42582
|
return k;
|
|
42583
|
-
}, Lo = Object.getPrototypeOf, rl = (g) =>
|
|
42583
|
+
}, Lo = Object.getPrototypeOf, rl = (g) => Ra("HTMLElement", g), qt = (g) => {
|
|
42584
42584
|
const y = Zr("ownerDocument.defaultView", g);
|
|
42585
42585
|
return w(g) && (rl(y).prototype.isPrototypeOf(g) || /^HTML\w*Element$/.test(Lo(g).constructor.name));
|
|
42586
42586
|
}, zo = 8, Jr = 9, Mr = 11, Ei = 1, Ii = 3, Ts = (g) => g.dom.nodeName.toLowerCase(), Qi = (g) => g.dom.nodeType, $i = (g) => (y) => Qi(y) === g, xs = (g) => Qi(g) === zo || Ts(g) === "#comment", Xn = (g) => Js(g) && qt(g.dom), Js = $i(Ei), di = $i(Ii), Bl = $i(Jr), Ul = $i(Mr), Ls = (g) => (y) => Js(y) && Ts(y) === g, Or = (g, y, k) => {
|
|
@@ -42667,7 +42667,7 @@ function afe() {
|
|
|
42667
42667
|
_ = z;
|
|
42668
42668
|
}
|
|
42669
42669
|
return N;
|
|
42670
|
-
},
|
|
42670
|
+
}, Ma = (g) => ye.from(g.dom.previousSibling).map(Rt.fromDom), Fi = (g) => ye.from(g.dom.nextSibling).map(Rt.fromDom), So = (g) => Qt(g.dom.childNodes, Rt.fromDom), Io = (g, y) => {
|
|
42671
42671
|
const k = g.dom.childNodes;
|
|
42672
42672
|
return ye.from(k[y]).map(Rt.fromDom);
|
|
42673
42673
|
}, Ho = (g) => Io(g, 0), fi = (g, y) => {
|
|
@@ -42717,7 +42717,7 @@ function afe() {
|
|
|
42717
42717
|
}, kc = (g) => {
|
|
42718
42718
|
const y = So(g);
|
|
42719
42719
|
y.length > 0 && Bc(g, y), lr(g);
|
|
42720
|
-
},
|
|
42720
|
+
}, Ba = (g, y) => Rt.fromDom(g.dom.cloneNode(y)), Nl = (g) => Ba(g, !1), ei = (g) => Ba(g, !0), su = (g, y) => {
|
|
42721
42721
|
const k = Rt.fromTag(y), _ = ut(g);
|
|
42722
42722
|
return vi(k, _), k;
|
|
42723
42723
|
}, pa = (g, y) => {
|
|
@@ -42854,7 +42854,7 @@ function afe() {
|
|
|
42854
42854
|
}, Ic = (g, y) => g != null ? y(g) : ye.none(), zh = (g, y) => g ? ye.some(y) : ye.none(), Zm = (g, y) => g.substring(y), cr = (g, y, k) => y === "" || g.length >= y.length && g.substr(k, k + y.length) === y, Qc = (g, y) => Zi(g, y) ? Zm(g, y.length) : g, xi = (g, y, k = 0, _) => {
|
|
42855
42855
|
const N = g.indexOf(y, k);
|
|
42856
42856
|
return N !== -1 ? F(_) ? !0 : N + y.length <= _ : !1;
|
|
42857
|
-
}, Zi = (g, y) => cr(g, y, 0),
|
|
42857
|
+
}, Zi = (g, y) => cr(g, y, 0), Na = (g, y) => cr(g, y, g.length - y.length), he = ((g) => (y) => y.replace(g, ""))(/^\s+|\s+$/g), be = (g) => g.length > 0, nt = (g) => {
|
|
42858
42858
|
const y = parseFloat(g);
|
|
42859
42859
|
return isNaN(y) ? ye.none() : ye.some(y);
|
|
42860
42860
|
}, At = (g) => g.style !== void 0 && me(g.style.getPropertyValue), Un = (g, y, k) => {
|
|
@@ -42874,7 +42874,7 @@ function afe() {
|
|
|
42874
42874
|
}, si = (g, y) => {
|
|
42875
42875
|
const k = g.dom, N = window.getComputedStyle(k).getPropertyValue(y);
|
|
42876
42876
|
return N === "" && !mo(g) ? il(k, y) : N;
|
|
42877
|
-
}, il = (g, y) => At(g) ? g.style.getPropertyValue(y) : "",
|
|
42877
|
+
}, il = (g, y) => At(g) ? g.style.getPropertyValue(y) : "", La = (g, y) => {
|
|
42878
42878
|
const k = g.dom, _ = il(k, y);
|
|
42879
42879
|
return ye.from(_).filter((N) => N.length > 0);
|
|
42880
42880
|
}, vr = (g, y) => {
|
|
@@ -42893,7 +42893,7 @@ function afe() {
|
|
|
42893
42893
|
}, yd = (g, y) => cf([
|
|
42894
42894
|
"td",
|
|
42895
42895
|
"th"
|
|
42896
|
-
], g, y), vd = (g) => Fu(g, "th,td"), jl = (g) => bt(g, "colgroup") ? rn(g, "col") : xo(lu(g), (y) => rn(y, "col")),
|
|
42896
|
+
], g, y), vd = (g) => Fu(g, "th,td"), jl = (g) => bt(g, "colgroup") ? rn(g, "col") : xo(lu(g), (y) => rn(y, "col")), Ia = (g, y) => wi(g, "table", y), qp = (g) => Fu(g, "tr"), lu = (g) => Ia(g).fold(re([]), (y) => rn(y, "colgroup")), Vm = (g, y) => Qt(g, (k) => {
|
|
42897
42897
|
if (Ts(k) === "colgroup") {
|
|
42898
42898
|
const _ = Qt(jl(k), (N) => {
|
|
42899
42899
|
const z = mi(N, "span", 1);
|
|
@@ -43073,7 +43073,7 @@ function afe() {
|
|
|
43073
43073
|
], hf = {
|
|
43074
43074
|
browsers: re(Zu),
|
|
43075
43075
|
oses: re(Zg)
|
|
43076
|
-
},
|
|
43076
|
+
}, Qa = "Edge", jh = "Chromium", Xh = "IE", Vu = "Opera", zu = "Firefox", Gf = "Safari", mc = () => qh({
|
|
43077
43077
|
current: void 0,
|
|
43078
43078
|
version: vl.unknown()
|
|
43079
43079
|
}), qh = (g) => {
|
|
@@ -43081,7 +43081,7 @@ function afe() {
|
|
|
43081
43081
|
return {
|
|
43082
43082
|
current: y,
|
|
43083
43083
|
version: k,
|
|
43084
|
-
isEdge: _(
|
|
43084
|
+
isEdge: _(Qa),
|
|
43085
43085
|
isChromium: _(jh),
|
|
43086
43086
|
isIE: _(Xh),
|
|
43087
43087
|
isOpera: _(Vu),
|
|
@@ -43091,13 +43091,13 @@ function afe() {
|
|
|
43091
43091
|
}, la = {
|
|
43092
43092
|
unknown: mc,
|
|
43093
43093
|
nu: qh,
|
|
43094
|
-
edge: re(
|
|
43094
|
+
edge: re(Qa),
|
|
43095
43095
|
chromium: re(jh),
|
|
43096
43096
|
ie: re(Xh),
|
|
43097
43097
|
opera: re(Vu),
|
|
43098
43098
|
firefox: re(zu),
|
|
43099
43099
|
safari: re(Gf)
|
|
43100
|
-
}, Hu = "Windows", Cc = "iOS",
|
|
43100
|
+
}, Hu = "Windows", Cc = "iOS", Fa = "Android", Sd = "Linux", Yp = "macOS", Gh = "Solaris", Zc = "FreeBSD", mf = "ChromeOS", Kp = () => Wm({
|
|
43101
43101
|
current: void 0,
|
|
43102
43102
|
version: vl.unknown()
|
|
43103
43103
|
}), Wm = (g) => {
|
|
@@ -43107,7 +43107,7 @@ function afe() {
|
|
|
43107
43107
|
version: k,
|
|
43108
43108
|
isWindows: _(Hu),
|
|
43109
43109
|
isiOS: _(Cc),
|
|
43110
|
-
isAndroid: _(
|
|
43110
|
+
isAndroid: _(Fa),
|
|
43111
43111
|
isMacOS: _(Yp),
|
|
43112
43112
|
isLinux: _(Sd),
|
|
43113
43113
|
isSolaris: _(Gh),
|
|
@@ -43119,7 +43119,7 @@ function afe() {
|
|
|
43119
43119
|
nu: Wm,
|
|
43120
43120
|
windows: re(Hu),
|
|
43121
43121
|
ios: re(Cc),
|
|
43122
|
-
android: re(
|
|
43122
|
+
android: re(Fa),
|
|
43123
43123
|
linux: re(Sd),
|
|
43124
43124
|
macos: re(Yp),
|
|
43125
43125
|
solaris: re(Gh),
|
|
@@ -43207,7 +43207,7 @@ function afe() {
|
|
|
43207
43207
|
}), k += N;
|
|
43208
43208
|
}), y;
|
|
43209
43209
|
}, Vc = (g) => {
|
|
43210
|
-
const y = {}, k = [], N = Se(g).map((Kt) => Kt.element).bind(
|
|
43210
|
+
const y = {}, k = [], N = Se(g).map((Kt) => Kt.element).bind(Ia).bind(qm).getOr({});
|
|
43211
43211
|
let z = 0, J = 0, ae = 0;
|
|
43212
43212
|
const {
|
|
43213
43213
|
pass: ue,
|
|
@@ -43318,18 +43318,18 @@ function afe() {
|
|
|
43318
43318
|
}), Jf = (g, y) => ({
|
|
43319
43319
|
col: g,
|
|
43320
43320
|
x: y
|
|
43321
|
-
}), t0 = (g) => ll(g).left + Is(g),
|
|
43321
|
+
}), t0 = (g) => ll(g).left + Is(g), Za = (g) => ll(g).left, n0 = (g, y) => Jf(g, Za(y)), HO = (g, y) => Jf(g, t0(y)), Z1 = (g) => ll(g).top, Va = (g, y) => F1(g, Z1(y)), o0 = (g, y) => F1(g, Z1(y) + no(y)), Ui = (g, y, k) => {
|
|
43322
43322
|
if (k.length === 0)
|
|
43323
43323
|
return [];
|
|
43324
43324
|
const _ = Qt(k.slice(1), (z, J) => z.map((ae) => g(J, ae))), N = k[k.length - 1].map((z) => y(k.length - 1, z));
|
|
43325
43325
|
return _.concat([N]);
|
|
43326
|
-
}, V1 = (g) => -g,
|
|
43326
|
+
}, V1 = (g) => -g, za = {
|
|
43327
43327
|
delta: We,
|
|
43328
|
-
positions: (g) => Ui(
|
|
43328
|
+
positions: (g) => Ui(Va, o0, g),
|
|
43329
43329
|
edge: Z1
|
|
43330
43330
|
}, tm = ne({
|
|
43331
43331
|
delta: We,
|
|
43332
|
-
edge:
|
|
43332
|
+
edge: Za,
|
|
43333
43333
|
positions: (g) => Ui(n0, HO, g)
|
|
43334
43334
|
}, {
|
|
43335
43335
|
delta: V1,
|
|
@@ -43395,21 +43395,21 @@ function afe() {
|
|
|
43395
43395
|
}, om = (g) => {
|
|
43396
43396
|
vr(g, "height");
|
|
43397
43397
|
}, Hg = (g) => Ro(g) + "px", ju = (g, y, k, _) => {
|
|
43398
|
-
const N =
|
|
43398
|
+
const N = Ia(g).map((z) => {
|
|
43399
43399
|
const J = k(z);
|
|
43400
43400
|
return Math.floor(y / 100 * J);
|
|
43401
43401
|
}).getOr(y);
|
|
43402
43402
|
return _(g, N), N;
|
|
43403
43403
|
}, WO = (g, y, k, _) => {
|
|
43404
43404
|
const N = parseFloat(g);
|
|
43405
|
-
return
|
|
43405
|
+
return Na(g, "%") && Ts(y) !== "table" ? ju(y, N, k, _) : N;
|
|
43406
43406
|
}, Yr = (g) => {
|
|
43407
43407
|
const y = Hg(g);
|
|
43408
43408
|
return y ? WO(y, g, Ht, th) : Ht(g);
|
|
43409
43409
|
}, jt = (g, y, k) => {
|
|
43410
43410
|
const _ = k(g), N = aa(g, y);
|
|
43411
43411
|
return _ / N;
|
|
43412
|
-
}, Il = (g, y) =>
|
|
43412
|
+
}, Il = (g, y) => La(g, y).orThunk(() => $e(g, y).map((k) => k + "px")), Xu = (g) => Il(g, "width"), qi = (g) => Il(g, "height"), Jm = (g) => nm(g, xl, gf), Gi = (g) => Hc(g) ? xl(g) : em(g), Ds = (g) => z1(g) ? Ht(g) : jt(g, "rowspan", Yr), r0 = (g) => Xu(g).bind((k) => $d(k, [
|
|
43413
43413
|
"fixed",
|
|
43414
43414
|
"relative",
|
|
43415
43415
|
"empty"
|
|
@@ -43429,9 +43429,9 @@ function afe() {
|
|
|
43429
43429
|
}
|
|
43430
43430
|
}, _));
|
|
43431
43431
|
}, bf = (g) => g.map((y) => y + "px").getOr(""), a0 = (g, y) => Wg(g, y, bc, bf), Ki = (g, y, k) => Wg(g, y, Jm, (_) => _.fold(() => k.minCellWidth(), (N) => N / k.pixelWidth() * 100)), Ji = (g, y, k) => Wg(g, y, Gi, (_) => _.getOrThunk(k.minCellWidth)), st = (g, y, k, _) => {
|
|
43432
|
-
const N = M(g), z = Qt(g.all, (ae) => ye.some(ae.element)), J = [ye.some(
|
|
43432
|
+
const N = M(g), z = Qt(g.all, (ae) => ye.some(ae.element)), J = [ye.some(za.edge(y))].concat(Qt(za.positions(N, y), (ae) => ae.map((ue) => ue.y)));
|
|
43433
43433
|
return Qt(z, (ae, ue) => ii(ae, ue, J, je, k, _));
|
|
43434
|
-
}, Sr = (g, y) => st(g, y, Ds, (k) => k.getOrThunk(Hh)), W1 = (g, y) => st(g, y, Ps, bf), Ir = (g, y) => () => mo(g) ? y(g) : parseFloat(
|
|
43434
|
+
}, Sr = (g, y) => st(g, y, Ds, (k) => k.getOrThunk(Hh)), W1 = (g, y) => st(g, y, Ps, bf), Ir = (g, y) => () => mo(g) ? y(g) : parseFloat(La(g, "width").getOr("0")), wa = (g) => {
|
|
43435
43435
|
const y = Ir(g, xl), k = re(0);
|
|
43436
43436
|
return {
|
|
43437
43437
|
width: y,
|
|
@@ -43628,7 +43628,7 @@ function afe() {
|
|
|
43628
43628
|
}), yf = (g, y) => {
|
|
43629
43629
|
const _ = document.createElement("div");
|
|
43630
43630
|
return _.innerHTML = g, So(Rt.fromDom(_));
|
|
43631
|
-
}, ok = (g) => Qt(g, Rt.fromDom),
|
|
43631
|
+
}, ok = (g) => Qt(g, Rt.fromDom), Ha = (g) => (y) => y.options.get(g), sk = "100%", Ku = (g) => {
|
|
43632
43632
|
var y;
|
|
43633
43633
|
const k = g.dom, _ = (y = k.getParent(g.selection.getStart(), k.isBlock)) !== null && y !== void 0 ? y : g.getBody();
|
|
43634
43634
|
return gf(Rt.fromDom(_)) + "px";
|
|
@@ -43703,13 +43703,13 @@ function afe() {
|
|
|
43703
43703
|
}, d0 = (g) => ye.from(g.options.get("table_clone_elements")), Gg = (g) => {
|
|
43704
43704
|
const y = g.options.get("object_resizing");
|
|
43705
43705
|
return to(y.split(","), "table");
|
|
43706
|
-
}, rk =
|
|
43706
|
+
}, rk = Ha("table_header_type"), ki = Ha("table_column_resizing"), x2 = (g) => ki(g) === "preservetable", vf = (g) => ki(g) === "resizetable", tg = Ha("table_sizing_mode"), f0 = (g) => tg(g) === "relative", Ju = (g) => tg(g) === "fixed", Tl = (g) => tg(g) === "responsive", jO = Ha("table_resize_bars"), X1 = Ha("table_style_by_css"), Yg = Ha("table_merge_content_on_paste"), Ua = (g) => {
|
|
43707
43707
|
const y = g.options, k = y.get("table_default_attributes");
|
|
43708
43708
|
return y.isSet("table_default_attributes") ? k : qg(g, k);
|
|
43709
43709
|
}, XO = (g) => {
|
|
43710
43710
|
const y = g.options, k = y.get("table_default_styles");
|
|
43711
43711
|
return y.isSet("table_default_styles") ? k : sm(g, k);
|
|
43712
|
-
}, qO =
|
|
43712
|
+
}, qO = Ha("table_use_colgroups"), D_ = Ha("fixed_toolbar_container"), R_ = Ha("fixed_toolbar_container_target"), GO = (g) => {
|
|
43713
43713
|
var y;
|
|
43714
43714
|
if (!g.inline)
|
|
43715
43715
|
return ye.none();
|
|
@@ -43718,7 +43718,7 @@ function afe() {
|
|
|
43718
43718
|
return Oa(is(), k);
|
|
43719
43719
|
const _ = R_(g);
|
|
43720
43720
|
return K(_) ? ye.some(Rt.fromDom(_)) : ye.none();
|
|
43721
|
-
}, h0 = (g) => g.inline && GO(g).isSome(), ed =
|
|
43721
|
+
}, h0 = (g) => g.inline && GO(g).isSome(), ed = Ha("ui_mode"), sh = (g) => !h0(g) && ed(g) === "split", rm = (g) => wi(g, "[contenteditable]"), m0 = (g, y = !1) => mo(g) ? g.dom.isContentEditable : rm(g).fold(re(y), (k) => q1(k) === "true"), q1 = (g) => g.dom.contentEditable, ng = (g) => Rt.fromDom(g.getBody()), Kg = (g) => (y) => Wt(y, ng(g)), og = (g) => {
|
|
43722
43722
|
ke(g, "data-mce-style");
|
|
43723
43723
|
const y = (k) => ke(k, "data-mce-style");
|
|
43724
43724
|
Be(vd(g), y), Be(jl(g), y), Be(qp(g), y);
|
|
@@ -43747,7 +43747,7 @@ function afe() {
|
|
|
43747
43747
|
}), Y1 = (g, y) => {
|
|
43748
43748
|
const k = (_, N) => pn(N, _);
|
|
43749
43749
|
return es.findItem(g, y, k).map((_) => _.element);
|
|
43750
|
-
}, ak = (g, y, k) =>
|
|
43750
|
+
}, ak = (g, y, k) => Ia(g).bind((_) => {
|
|
43751
43751
|
const N = rg(_);
|
|
43752
43752
|
return oy(N, g, y, k);
|
|
43753
43753
|
}), g0 = (g, y, k) => {
|
|
@@ -43828,7 +43828,7 @@ function afe() {
|
|
|
43828
43828
|
}),
|
|
43829
43829
|
styles: re({
|
|
43830
43830
|
get: si,
|
|
43831
|
-
getRaw:
|
|
43831
|
+
getRaw: La,
|
|
43832
43832
|
set: Qo,
|
|
43833
43833
|
remove: vr
|
|
43834
43834
|
}),
|
|
@@ -43858,7 +43858,7 @@ function afe() {
|
|
|
43858
43858
|
}),
|
|
43859
43859
|
query: re({
|
|
43860
43860
|
comparePosition: z,
|
|
43861
|
-
prevSibling:
|
|
43861
|
+
prevSibling: Ma,
|
|
43862
43862
|
nextSibling: Fi
|
|
43863
43863
|
}),
|
|
43864
43864
|
property: re({
|
|
@@ -43977,10 +43977,10 @@ function afe() {
|
|
|
43977
43977
|
selection: Sa(g),
|
|
43978
43978
|
clipboard: k,
|
|
43979
43979
|
generators: _
|
|
43980
|
-
}), P2 = (g) =>
|
|
43980
|
+
}), P2 = (g) => Ia(g).bind((y) => Yt(y, np.firstSelectedSelector)).fold(re(g), (y) => y[0]), Gl = (g) => (y, k) => {
|
|
43981
43981
|
const _ = Ts(y), N = _ === "col" || _ === "colgroup" ? P2(y) : y;
|
|
43982
43982
|
return wi(N, g, k);
|
|
43983
|
-
}, y0 = Gl("th,td,caption"), td = Gl("th,td"), am = (g) => ok(g.model.table.getSelectedCells()), aM = (g) => ct(am(g), (y) => bt(y, np.selectedSelector)), lM = (g) =>
|
|
43983
|
+
}, y0 = Gl("th,td,caption"), td = Gl("th,td"), am = (g) => ok(g.model.table.getSelectedCells()), aM = (g) => ct(am(g), (y) => bt(y, np.selectedSelector)), lM = (g) => Ia(g[0]).map((y) => {
|
|
43984
43984
|
const k = ko(y, ah);
|
|
43985
43985
|
return og(k), [k];
|
|
43986
43986
|
}), Q_ = (g, y) => Qt(y, (k) => g.selection.serializer.serialize(k.dom, {})).join(""), xf = (g, y) => {
|
|
@@ -44012,7 +44012,7 @@ function afe() {
|
|
|
44012
44012
|
if (k.selection === !0 && k.paste === !0) {
|
|
44013
44013
|
const _ = am(g);
|
|
44014
44014
|
Se(_).each((N) => {
|
|
44015
|
-
|
|
44015
|
+
Ia(N).each((z) => {
|
|
44016
44016
|
const J = ct(yf(k.content), (ue) => Ts(ue) !== "meta"), ae = Ls("table");
|
|
44017
44017
|
if (Yg(g) && J.length === 1 && ae(J[0])) {
|
|
44018
44018
|
k.preventDefault();
|
|
@@ -44025,15 +44025,15 @@ function afe() {
|
|
|
44025
44025
|
});
|
|
44026
44026
|
}
|
|
44027
44027
|
});
|
|
44028
|
-
},
|
|
44028
|
+
}, Wa = (g, y) => ({
|
|
44029
44029
|
element: g,
|
|
44030
44030
|
offset: y
|
|
44031
44031
|
}), op = (g, y, k) => g.property().isText(y) && g.property().getText(y).trim().length === 0 || g.property().isComment(y) ? k(y).bind((_) => op(g, _, k).orThunk(() => ye.some(_))) : ye.none(), nb = (g, y) => g.property().isText(y) ? g.property().getText(y).length : g.property().children(y).length, dk = (g, y) => {
|
|
44032
44032
|
const k = op(g, y, g.query().prevSibling).getOr(y);
|
|
44033
44033
|
if (g.property().isText(k))
|
|
44034
|
-
return
|
|
44034
|
+
return Wa(k, nb(g, k));
|
|
44035
44035
|
const _ = g.property().children(k);
|
|
44036
|
-
return _.length > 0 ? dk(g, _[_.length - 1]) :
|
|
44036
|
+
return _.length > 0 ? dk(g, _[_.length - 1]) : Wa(k, nb(g, k));
|
|
44037
44037
|
}, ob = dk, sp = hr(), rp = (g) => ob(sp, g), v0 = (g, y) => {
|
|
44038
44038
|
Vr(g) || r0(g).each((_) => {
|
|
44039
44039
|
const N = _.value / 2;
|
|
@@ -44302,7 +44302,7 @@ function afe() {
|
|
|
44302
44302
|
cells: k,
|
|
44303
44303
|
generators: y.generators,
|
|
44304
44304
|
clipboard: y.clipboard
|
|
44305
|
-
})), W_ = (g, y) => y.mergable, ub = (g, y) => y.unmergable, Uc = (g, y) => Cf(g, y, je), nd = (g, y) => Cf(g, y, (k) => !k.isLocked), bk = (g, y) => B2(g, y).exists((k) => !k.isLocked), Dd = (g, y) => qo(y, (k) => bk(g, k)), ch = (g, y) => W_(g, y).filter((k) => Dd(g, k.cells)), j_ = (g, y) => ub(g, y).filter((k) => Dd(g, k)),
|
|
44305
|
+
})), W_ = (g, y) => y.mergable, ub = (g, y) => y.unmergable, Uc = (g, y) => Cf(g, y, je), nd = (g, y) => Cf(g, y, (k) => !k.isLocked), bk = (g, y) => B2(g, y).exists((k) => !k.isLocked), Dd = (g, y) => qo(y, (k) => bk(g, k)), ch = (g, y) => W_(g, y).filter((k) => Dd(g, k.cells)), j_ = (g, y) => ub(g, y).filter((k) => Dd(g, k)), ja = (g, y, k, _) => {
|
|
44306
44306
|
const N = Xi(g).rows;
|
|
44307
44307
|
if (N.length === 0)
|
|
44308
44308
|
return g;
|
|
@@ -44852,7 +44852,7 @@ Required: ` + y.join(", "));
|
|
|
44852
44852
|
}, Ik = (g, y, k, _) => {
|
|
44853
44853
|
const N = y.cells;
|
|
44854
44854
|
Ak(N);
|
|
44855
|
-
const z =
|
|
44855
|
+
const z = ja(g, y.bounds, k, _.merge(N));
|
|
44856
44856
|
return pb(z, ye.from(N[0]));
|
|
44857
44857
|
}, U2 = (g, y, k, _) => {
|
|
44858
44858
|
const z = dn(y, (J, ae) => db(J, ae, k, _.unmerge(ae)), g);
|
|
@@ -44910,7 +44910,7 @@ Required: ` + y.join(", "));
|
|
|
44910
44910
|
...k,
|
|
44911
44911
|
table: y
|
|
44912
44912
|
});
|
|
44913
|
-
},
|
|
44913
|
+
}, Xa = (g, y, k, _, N) => {
|
|
44914
44914
|
g.dispatch("TableSelectionChange", {
|
|
44915
44915
|
cells: y,
|
|
44916
44916
|
start: k,
|
|
@@ -44936,7 +44936,7 @@ Required: ` + y.join(", "));
|
|
|
44936
44936
|
}, wb = {
|
|
44937
44937
|
structure: !1,
|
|
44938
44938
|
style: !0
|
|
44939
|
-
},
|
|
44939
|
+
}, qa = {
|
|
44940
44940
|
structure: !0,
|
|
44941
44941
|
style: !1
|
|
44942
44942
|
}, sw = {
|
|
@@ -44983,7 +44983,7 @@ Required: ` + y.join(", "));
|
|
|
44983
44983
|
effect: ph
|
|
44984
44984
|
}));
|
|
44985
44985
|
}) : ye.none();
|
|
44986
|
-
}, Vt = ot(K2, N, we,
|
|
44986
|
+
}, Vt = ot(K2, N, we, qa), bn = ot(Y2, z, we, qa), Kt = ot(d5, je, we, qa), en = ot(f5, je, we, qa), Bn = ot(by, je, ae, qa), Ut = ot(G2, je, ae, qa), oo = ot(pm, je, we, qa), Bt = ot(J2, je, we, qa), Tn = ot(ew, je, we, qa), Xs = ot(tw, je, we, qa), qs = ot(Oy, je, we, qa), Wn = ot(jk, je, we, qa), pr = ot(Wk, je, we, sw), ec = ot(El, je, we, qa), xg = ot(Uk, je, we, qa), zd = ot(Zk, je, we, qa), fs = ot(Vk, je, we, qa), rr = ot(zk, je, we, qa), Dl = ot(Hk, je, we, qa), Ca = ot(h5, je, we, qa);
|
|
44987
44987
|
return {
|
|
44988
44988
|
deleteRow: Vt,
|
|
44989
44989
|
deleteColumn: bn,
|
|
@@ -45060,7 +45060,7 @@ Required: ` + y.join(", "));
|
|
|
45060
45060
|
return _ === N.toString() ? y(N) : yy.invalid(k);
|
|
45061
45061
|
}, Di = {
|
|
45062
45062
|
...yy,
|
|
45063
|
-
from: (g) =>
|
|
45063
|
+
from: (g) => Na(g, "%") ? rw("%", yy.percent, g) : Na(g, "px") ? rw("px", yy.pixels, g) : yy.invalid(g)
|
|
45064
45064
|
}, uh = (g, y) => Qt(g, (k) => Di.from(k).fold(() => k, (N) => N / y * 100 + "%", (N) => N + "%")), bm = (g, y, k) => {
|
|
45065
45065
|
const _ = k / y;
|
|
45066
45066
|
return Qt(g, (N) => Di.from(N).fold(() => N, (J) => J * _ + "px", (J) => J / 100 * k + "px"));
|
|
@@ -45191,7 +45191,7 @@ Required: ` + y.join(", "));
|
|
|
45191
45191
|
}, C5 = (g) => O(g) && g.indexOf("%") !== -1, T5 = (g, y, k, _, N) => {
|
|
45192
45192
|
const z = XO(g), J = {
|
|
45193
45193
|
styles: z,
|
|
45194
|
-
attributes:
|
|
45194
|
+
attributes: Ua(g),
|
|
45195
45195
|
colGroups: qO(g)
|
|
45196
45196
|
};
|
|
45197
45197
|
return g.undoManager.ignore(() => {
|
|
@@ -45224,7 +45224,7 @@ Required: ` + y.join(", "));
|
|
|
45224
45224
|
g.fold(Ey, (y) => tC({ [mw]: y }));
|
|
45225
45225
|
}, yw = () => gw(mw), Ey = () => pw(mw), vu = (g) => y0(G1(g), Kg(g)).filter(ey), $y = (g) => td(G1(g), Kg(g)).filter(ey), Py = (g, y) => {
|
|
45226
45226
|
const k = Kg(g), _ = () => vu(g).each((Ut) => {
|
|
45227
|
-
|
|
45227
|
+
Ia(Ut, k).filter(te(k)).each((oo) => {
|
|
45228
45228
|
const Bt = Rt.fromText("");
|
|
45229
45229
|
if (hi(oo, Bt), lr(oo), g.dom.isEmpty(g.getBody()))
|
|
45230
45230
|
g.setContent(""), g.selection.setCursorLocation();
|
|
@@ -45234,10 +45234,10 @@ Required: ` + y.join(", "));
|
|
|
45234
45234
|
}
|
|
45235
45235
|
});
|
|
45236
45236
|
}), N = (Ut) => vu(g).each((oo) => {
|
|
45237
|
-
Tl(g) || Ju(g) || f0(g) ||
|
|
45238
|
-
Ut === "relative" && !xy(Tn) ? Om(Tn) : Ut === "fixed" && !Sy(Tn) ? dw(Tn) : Ut === "responsive" && !ky(Tn) && Gk(Tn), og(Tn), Ai(g, Tn.dom,
|
|
45237
|
+
Tl(g) || Ju(g) || f0(g) || Ia(oo, k).each((Tn) => {
|
|
45238
|
+
Ut === "relative" && !xy(Tn) ? Om(Tn) : Ut === "fixed" && !Sy(Tn) ? dw(Tn) : Ut === "responsive" && !ky(Tn) && Gk(Tn), og(Tn), Ai(g, Tn.dom, qa);
|
|
45239
45239
|
});
|
|
45240
|
-
}), z = (Ut) =>
|
|
45240
|
+
}), z = (Ut) => Ia(Ut, k), J = (Ut) => $y(g).bind((oo) => z(oo).map((Bt) => Ut(Bt, oo))), ae = (Ut, oo) => {
|
|
45241
45241
|
J((Bt) => {
|
|
45242
45242
|
g.formatter.toggle("tableclass", { value: oo }, Bt.dom), Ai(g, Bt.dom, wb);
|
|
45243
45243
|
});
|
|
@@ -45248,13 +45248,13 @@ Required: ` + y.join(", "));
|
|
|
45248
45248
|
});
|
|
45249
45249
|
}, Ie = () => {
|
|
45250
45250
|
vu(g).each((Ut) => {
|
|
45251
|
-
|
|
45251
|
+
Ia(Ut, k).each((oo) => {
|
|
45252
45252
|
Uo(oo, "caption").fold(() => {
|
|
45253
45253
|
const Bt = Rt.fromTag("caption");
|
|
45254
45254
|
js(Bt, Rt.fromText("Caption")), bd(oo, Bt, 0), g.selection.setCursorLocation(Bt.dom, 0);
|
|
45255
45255
|
}, (Bt) => {
|
|
45256
45256
|
Ls("caption")(Ut) && Lt("td", oo).each((Tn) => g.selection.setCursorLocation(Tn.dom, 0)), lr(Bt);
|
|
45257
|
-
}), Ai(g, oo.dom,
|
|
45257
|
+
}), Ai(g, oo.dom, qa);
|
|
45258
45258
|
});
|
|
45259
45259
|
});
|
|
45260
45260
|
}, ot = (Ut) => {
|
|
@@ -45333,7 +45333,7 @@ Required: ` + y.join(", "));
|
|
|
45333
45333
|
}), z(Tn[0]).each((qs) => Ai(g, qs.dom, wb)));
|
|
45334
45334
|
});
|
|
45335
45335
|
}, vw = (g, y) => {
|
|
45336
|
-
const k = Kg(g), _ = (N) => td(G1(g)).bind((z) =>
|
|
45336
|
+
const k = Kg(g), _ = (N) => td(G1(g)).bind((z) => Ia(z, k).map((J) => {
|
|
45337
45337
|
const ae = bi(am(g), J, z);
|
|
45338
45338
|
return N(J, ae);
|
|
45339
45339
|
})).getOr("");
|
|
@@ -45519,7 +45519,7 @@ Required: ` + y.join(", "));
|
|
|
45519
45519
|
}), Db = (g, y) => gs(g, at(Wt, y)), Zy = Ls("br"), Rb = (g, y, k) => y(g, k).bind((_) => di(_) && kr(_).trim().length === 0 ? Rb(_, y, k) : ye.some(_)), vM = (g, y, k) => k.traverse(y).orThunk(() => Rb(y, k.gather, g)).map(k.relative), mC = (g, y) => Io(g, y).filter(Zy).orThunk(() => Io(g, y - 1).filter(Zy)), gC = (g, y, k, _) => mC(y, k).bind((N) => _.traverse(N).fold(() => Rb(N, _.gather, g).map(_.relative), (z) => Ab(z).map((J) => yc.on(J.parent, J.index)))), Mb = (g, y, k, _) => (Zy(y) ? vM(g, y, _) : gC(g, y, k, _)).map((z) => ({
|
|
45520
45520
|
start: z,
|
|
45521
45521
|
finish: z
|
|
45522
|
-
})), I5 = (g) => N0.cata(g, (y) => ye.none(), () => ye.none(), (y) => ye.some(
|
|
45522
|
+
})), I5 = (g) => N0.cata(g, (y) => ye.none(), () => ye.none(), (y) => ye.some(Wa(y, 0)), (y) => ye.some(Wa(y, kl(y)))), Bb = (g, y) => ({
|
|
45523
45523
|
left: g.left,
|
|
45524
45524
|
top: g.top + y,
|
|
45525
45525
|
right: g.right,
|
|
@@ -45565,7 +45565,7 @@ Required: ` + y.join(", "));
|
|
|
45565
45565
|
tryUp: at(bC, Ib),
|
|
45566
45566
|
tryDown: at(bC, Hy),
|
|
45567
45567
|
getJumpSize: re(vm)
|
|
45568
|
-
}, OC = 20, Uy = (g, y, k) => g.getSelection().bind((_) => Mb(y, _.finish, _.foffset, k).fold(() => ye.some(
|
|
45568
|
+
}, OC = 20, Uy = (g, y, k) => g.getSelection().bind((_) => Mb(y, _.finish, _.foffset, k).fold(() => ye.some(Wa(_.finish, _.foffset)), (N) => {
|
|
45569
45569
|
const z = g.fromSitus(N), J = N0.verify(g, _.finish, _.foffset, z.finish, z.foffset, k.failure, y);
|
|
45570
45570
|
return I5(J);
|
|
45571
45571
|
})), vp = (g, y, k, _, N, z) => z === 0 ? ye.none() : wM(g, y, k, _, N).bind((J) => {
|
|
@@ -45649,7 +45649,7 @@ Required: ` + y.join(", "));
|
|
|
45649
45649
|
retry: Fd.tryDown,
|
|
45650
45650
|
failure: N0.failedDown
|
|
45651
45651
|
}, $f = {
|
|
45652
|
-
traverse:
|
|
45652
|
+
traverse: Ma,
|
|
45653
45653
|
gather: B0,
|
|
45654
45654
|
relative: yc.before,
|
|
45655
45655
|
retry: Fd.tryUp,
|
|
@@ -45888,11 +45888,11 @@ Required: ` + y.join(", "));
|
|
|
45888
45888
|
});
|
|
45889
45889
|
}, Cn = (g) => (y) => {
|
|
45890
45890
|
xm(y, g);
|
|
45891
|
-
},
|
|
45891
|
+
}, Ga = (g) => (y) => {
|
|
45892
45892
|
Qw(y, g);
|
|
45893
45893
|
}, ku = {
|
|
45894
45894
|
byClass: (g) => {
|
|
45895
|
-
const y = Cn(g.selected), k =
|
|
45895
|
+
const y = Cn(g.selected), k = Ga([
|
|
45896
45896
|
g.selected,
|
|
45897
45897
|
g.lastSelected,
|
|
45898
45898
|
g.firstSelected
|
|
@@ -45989,15 +45989,15 @@ Required: ` + y.join(", "));
|
|
|
45989
45989
|
g.dom.removeEventListener(y, k, _);
|
|
45990
45990
|
}, Vw = je, gh = (g, y, k) => nv(g, y, Vw, k), Sm = Zw, wg = (g) => !vg(Rt.fromDom(g.target), "ephox-snooker-resizer-bar"), zb = (g, y) => {
|
|
45991
45991
|
const k = Fw(() => Rt.fromDom(g.getBody()), () => td(G1(g), Kg(g)), np.selectedSelector), _ = (ue, Ie, ot) => {
|
|
45992
|
-
|
|
45992
|
+
Ia(Ie).each((bn) => {
|
|
45993
45993
|
const Kt = Qt(ue, (Bt) => Bt.dom), en = d0(g), Bn = Of(we, Rt.fromDom(g.getDoc()), en), Ut = am(g), oo = mh(bn, { selection: Ut }, Bn).map((Bt) => dr(Bt, (Tn) => Qt(Tn, (Xs) => Xs.dom))).getOrUndefined();
|
|
45994
|
-
|
|
45994
|
+
Xa(g, Kt, Ie.dom, ot.dom, oo);
|
|
45995
45995
|
});
|
|
45996
45996
|
}, N = () => fa(g), z = ku.byAttr(np, _, N);
|
|
45997
45997
|
return g.on("init", (ue) => {
|
|
45998
45998
|
const Ie = g.getWin(), ot = ng(g), Vt = Kg(g), bn = () => {
|
|
45999
45999
|
const rr = g.selection, Dl = Rt.fromDom(rr.getStart()), Ca = Rt.fromDom(rr.getEnd());
|
|
46000
|
-
C2(
|
|
46000
|
+
C2(Ia, [
|
|
46001
46001
|
Dl,
|
|
46002
46002
|
Ca
|
|
46003
46003
|
]).fold(() => z.clear(ot), we);
|
|
@@ -46355,7 +46355,7 @@ Required: ` + y.join(", "));
|
|
|
46355
46355
|
return xm(J, jC), J;
|
|
46356
46356
|
});
|
|
46357
46357
|
}, eE = (g, y, k, _, N) => {
|
|
46358
|
-
const z = ll(k), J = y.isResizable, ae = _.length > 0 ?
|
|
46358
|
+
const z = ll(k), J = y.isResizable, ae = _.length > 0 ? za.positions(_, k) : [], ue = ae.length > 0 ? Cm(g, J) : [], Ie = ct(ae, (Kt, en) => wt(ue, (Bn) => en === Bn));
|
|
46359
46359
|
TM(y, Ie, z, Is(k));
|
|
46360
46360
|
const ot = N.length > 0 ? Km.positions(N, k) : [], Vt = ot.length > 0 ? av(g, J) : [], bn = ct(ot, (Kt, en) => wt(Vt, (Bn) => en === Bn));
|
|
46361
46361
|
j0(y, bn, z, no(k));
|
|
@@ -46442,7 +46442,7 @@ Required: ` + y.join(", "));
|
|
|
46442
46442
|
events: Kt.registry
|
|
46443
46443
|
};
|
|
46444
46444
|
}, nE = { create: (g, y, k) => {
|
|
46445
|
-
const _ =
|
|
46445
|
+
const _ = za, N = Km, z = tE(g), J = Ep({
|
|
46446
46446
|
beforeResize: $c([
|
|
46447
46447
|
"table",
|
|
46448
46448
|
"type"
|
|
@@ -46539,7 +46539,7 @@ Required: ` + y.join(", "));
|
|
|
46539
46539
|
const y = Zb(), k = Zb(), _ = Zb();
|
|
46540
46540
|
let N, z, J, ae;
|
|
46541
46541
|
const ue = (Tn) => Dn(g, Tn), Ie = () => x2(g) ? ry() : A2(), ot = (Tn) => ip(Tn).columns, Vt = (Tn) => ip(Tn).rows, bn = (Tn, Xs, qs, Wn) => {
|
|
46542
|
-
const pr = nx(Xs), ec =
|
|
46542
|
+
const pr = nx(Xs), ec = Na(pr, "e"), xg = Zi(pr, "n");
|
|
46543
46543
|
if (z === "" && Om(Tn), ae === "" && w5(Tn), qs !== N && z !== "") {
|
|
46544
46544
|
Qo(Tn, "width", z);
|
|
46545
46545
|
const zd = Ie(), fs = ue(Tn), rr = x2(g) || ec ? ot(Tn) - 1 : 0;
|
|
@@ -46850,7 +46850,7 @@ function lfe() {
|
|
|
46850
46850
|
}, Ks = Object.getPrototypeOf, ss = (M) => sa("HTMLElement", M), rs = (M) => {
|
|
46851
46851
|
const U = Jo("ownerDocument.defaultView", M);
|
|
46852
46852
|
return O(M) && (ss(U).prototype.isPrototypeOf(M) || /^HTML\w*Element$/.test(Ks(M).constructor.name));
|
|
46853
|
-
}, Rr = (M) => M.dom.nodeName.toLowerCase(), Fs = (M) => M.dom.nodeType, Bo = (M) => (U) => Fs(U) === M, sl = (M) => Fs(M) === Y || Rr(M) === "#comment", No = (M) => Ns(M) && rs(M.dom), Ns = Bo(Oo), Zr = Bo(xo), yi = Bo(gs),
|
|
46853
|
+
}, Rr = (M) => M.dom.nodeName.toLowerCase(), Fs = (M) => M.dom.nodeType, Bo = (M) => (U) => Fs(U) === M, sl = (M) => Fs(M) === Y || Rr(M) === "#comment", No = (M) => Ns(M) && rs(M.dom), Ns = Bo(Oo), Zr = Bo(xo), yi = Bo(gs), Ra = (M) => (U) => Ns(U) && Rr(U) === M, Lo = (M) => We.from(M.dom.parentNode).map(Se.fromDom), rl = (M) => We.from(M.dom.parentElement).map(Se.fromDom), qt = (M) => We.from(M.dom.nextSibling).map(Se.fromDom), zo = (M) => je(M.dom.childNodes, Se.fromDom), Jr = (M, U) => {
|
|
46854
46854
|
const ne = M.dom.childNodes;
|
|
46855
46855
|
return We.from(ne[U]).map(Se.fromDom);
|
|
46856
46856
|
}, Mr = (M) => Jr(M, 0), Ei = (M) => Jr(M, M.dom.childNodes.length - 1), Ii = (M) => yi(M) && R(M.dom.host), Ts = (M) => Se.fromDom(M.dom.getRootNode()), Qi = (M) => {
|
|
@@ -46948,10 +46948,10 @@ function lfe() {
|
|
|
46948
46948
|
return ut(ne, Ee), jn(M), ne;
|
|
46949
46949
|
};
|
|
46950
46950
|
var ar = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Ss = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
46951
|
-
const
|
|
46951
|
+
const Ma = (M) => (U) => R(U) && U.nodeName.toLowerCase() === M, Fi = (M) => (U) => R(U) && M.test(U.nodeName), So = (M) => R(M) && M.nodeType === 3, Io = (M) => R(M) && M.nodeType === 1, Ho = Fi(/^(OL|UL|DL)$/), fi = Fi(/^(OL|UL)$/), hi = Ma("ol"), Pi = Fi(/^(LI|DT|DD)$/), js = Fi(/^(DT|DD)$/), bd = Fi(/^(TH|TD)$/), bl = Ma("br"), Bc = (M) => {
|
|
46952
46952
|
var U;
|
|
46953
46953
|
return ((U = M.parentNode) === null || U === void 0 ? void 0 : U.firstChild) === M;
|
|
46954
|
-
}, Wo = (M, U) => R(U) && U.nodeName in M.schema.getTextBlockElements(), Ol = (M, U) => R(M) && M.nodeName in U, lr = (M, U) => R(U) && U.nodeName in M.schema.getVoidElements(), kc = (M, U) => bl(U) ? M.isBlock(U.nextSibling) && !bl(U.previousSibling) : !1,
|
|
46954
|
+
}, Wo = (M, U) => R(U) && U.nodeName in M.schema.getTextBlockElements(), Ol = (M, U) => R(M) && M.nodeName in U, lr = (M, U) => R(U) && U.nodeName in M.schema.getVoidElements(), kc = (M, U) => bl(U) ? M.isBlock(U.nextSibling) && !bl(U.previousSibling) : !1, Ba = (M, U, ne) => {
|
|
46955
46955
|
const Ee = M.isEmpty(U);
|
|
46956
46956
|
return ne && M.select("span[data-mce-type=bookmark]", U).length > 0 ? !1 : Ee;
|
|
46957
46957
|
}, Nl = (M, U) => M.isChildOf(U, M.getRoot()), ei = (M) => (U) => U.options.get(M), su = (M) => {
|
|
@@ -46987,8 +46987,8 @@ function lfe() {
|
|
|
46987
46987
|
}
|
|
46988
46988
|
M.dom.isEmpty(Ro) || Wr.insertAfter(Ro, U), Wr.insertAfter(Ht, U);
|
|
46989
46989
|
const Eo = ne.parentElement;
|
|
46990
|
-
Eo &&
|
|
46991
|
-
}, uc =
|
|
46990
|
+
Eo && Ba(M.dom, Eo) && Ee(Eo), Wr.remove(ne), Ba(M.dom, U) && Wr.remove(U);
|
|
46991
|
+
}, uc = Ra("dd"), iu = Ra("dt"), dc = (M, U) => {
|
|
46992
46992
|
uc(U) ? us(U, "dt") : iu(U) && rl(U).each((ne) => yl(M, ne.dom, U.dom));
|
|
46993
46993
|
}, fc = (M) => {
|
|
46994
46994
|
iu(M) && us(M, "dd");
|
|
@@ -47086,7 +47086,7 @@ function lfe() {
|
|
|
47086
47086
|
}, Zm = (M, U, ne) => {
|
|
47087
47087
|
const Ee = M.dom;
|
|
47088
47088
|
zh(Ee, U, ne);
|
|
47089
|
-
}, cr = (M) => As(M, "OL,UL"), Qc = (M) => As(M, "LI"), xi = (M) => Mr(M).exists(cr), Zi = (M) => Ei(M).exists(cr),
|
|
47089
|
+
}, cr = (M) => As(M, "OL,UL"), Qc = (M) => As(M, "LI"), xi = (M) => Mr(M).exists(cr), Zi = (M) => Ei(M).exists(cr), Na = (M) => "listAttributes" in M, au = (M) => "isComment" in M, he = (M) => "isFragment" in M, be = (M) => M.depth > 0, nt = (M) => M.isSelected, At = (M) => {
|
|
47090
47090
|
const U = zo(M), ne = Zi(M) ? U.slice(0, -1) : U;
|
|
47091
47091
|
return je(ne, Jn);
|
|
47092
47092
|
}, Un = (M, U, ne) => Lo(M).filter(Ns).map((Ee) => ({
|
|
@@ -47114,13 +47114,13 @@ function lfe() {
|
|
|
47114
47114
|
}, il = (M, U, ne) => {
|
|
47115
47115
|
const Ee = [];
|
|
47116
47116
|
for (let Qe = 0; Qe < ne; Qe++)
|
|
47117
|
-
Ee.push(si(M,
|
|
47117
|
+
Ee.push(si(M, Na(U) ? U.listType : U.parentListType));
|
|
47118
47118
|
return Ee;
|
|
47119
|
-
},
|
|
47119
|
+
}, La = (M, U) => {
|
|
47120
47120
|
for (let ne = 0; ne < M.length - 1; ne++)
|
|
47121
47121
|
Zm(M[ne].item, "list-style-type", "none");
|
|
47122
47122
|
hn(M).each((ne) => {
|
|
47123
|
-
|
|
47123
|
+
Na(U) && (Ln(ne.list, U.listAttributes), Ln(ne.item, U.itemAttributes)), ut(ne.item, U.content);
|
|
47124
47124
|
});
|
|
47125
47125
|
}, vr = (M, U) => {
|
|
47126
47126
|
Rr(M.list) !== U.listType && (M.list = us(M.list, U.listType)), Ln(M.list, U.listAttributes);
|
|
@@ -47132,7 +47132,7 @@ function lfe() {
|
|
|
47132
47132
|
}, aa = (M, U, ne) => {
|
|
47133
47133
|
const Ee = U.slice(0, ne.depth);
|
|
47134
47134
|
return hn(Ee).each((Qe) => {
|
|
47135
|
-
if (
|
|
47135
|
+
if (Na(ne)) {
|
|
47136
47136
|
const Ht = qr(M, ne.itemAttributes, ne.content);
|
|
47137
47137
|
mi(Qe, Ht), vr(Qe, ne);
|
|
47138
47138
|
} else if (he(ne))
|
|
@@ -47144,7 +47144,7 @@ function lfe() {
|
|
|
47144
47144
|
}), Ee;
|
|
47145
47145
|
}, Vr = (M, U, ne) => {
|
|
47146
47146
|
const Ee = il(M, ne, ne.depth - U.length);
|
|
47147
|
-
return Qo(Ee),
|
|
47147
|
+
return Qo(Ee), La(Ee, ne), er(U, Ee), U.concat(Ee);
|
|
47148
47148
|
}, Vi = (M, U) => {
|
|
47149
47149
|
let ne = We.none();
|
|
47150
47150
|
const Ee = gt(U, (Qe, Ht, no) => au(Ht) ? no === 0 ? (ne = We.some(Ht), Qe) : aa(M, Qe, Ht) : Ht.depth > Qe.length ? Vr(M, Qe, Ht) : aa(M, Qe, Ht), []);
|
|
@@ -47167,7 +47167,7 @@ function lfe() {
|
|
|
47167
47167
|
}
|
|
47168
47168
|
U.dirty = !0;
|
|
47169
47169
|
}, Fc = (M, U) => {
|
|
47170
|
-
|
|
47170
|
+
Na(M) && Na(U) && (M.listType = U.listType, M.listAttributes = { ...U.listAttributes });
|
|
47171
47171
|
}, Hh = (M) => {
|
|
47172
47172
|
M.listAttributes = Wt(M.listAttributes, (U, ne) => ne !== "start");
|
|
47173
47173
|
}, Fu = (M, U) => {
|
|
@@ -47175,7 +47175,7 @@ function lfe() {
|
|
|
47175
47175
|
return Q(Qt(M.slice(0, U)), Ee, Qe).orThunk(() => Q(M.slice(U + 1), Ee, Qe));
|
|
47176
47176
|
}, lf = (M) => (ye(M, (U, ne) => {
|
|
47177
47177
|
Fu(M, ne).fold(() => {
|
|
47178
|
-
U.dirty &&
|
|
47178
|
+
U.dirty && Na(U) && Hh(U);
|
|
47179
47179
|
}, (Ee) => Fc(U, Ee));
|
|
47180
47180
|
}), M), cf = (M) => {
|
|
47181
47181
|
let U = M;
|
|
@@ -47226,7 +47226,7 @@ function lfe() {
|
|
|
47226
47226
|
}), jl = (M, U, ne, Ee) => Gt(zo(Ee), (Qe) => {
|
|
47227
47227
|
const Ht = cr(Qe) ? jl : vd, no = M + 1;
|
|
47228
47228
|
return Ht(no, U, ne, Qe);
|
|
47229
|
-
}),
|
|
47229
|
+
}), Ia = (M, U) => {
|
|
47230
47230
|
const ne = cf(!1), Ee = 0;
|
|
47231
47231
|
return je(M, (Qe) => ({
|
|
47232
47232
|
sourceList: Qe,
|
|
@@ -47235,7 +47235,7 @@ function lfe() {
|
|
|
47235
47235
|
}, qp = (M, U) => {
|
|
47236
47236
|
const ne = lf(U);
|
|
47237
47237
|
return je(ne, (Ee) => {
|
|
47238
|
-
const Qe = au(Ee) ? Br([Se.fromHtml(`<!--${Ee.content}-->`)]) : Br(Ee.content), Ht =
|
|
47238
|
+
const Qe = au(Ee) ? Br([Se.fromHtml(`<!--${Ee.content}-->`)]) : Br(Ee.content), Ht = Na(Ee) ? Ee.itemAttributes : {};
|
|
47239
47239
|
return Se.fromDom(Od(M, Qe.dom, Ht));
|
|
47240
47240
|
});
|
|
47241
47241
|
}, lu = (M, U) => {
|
|
@@ -47250,7 +47250,7 @@ function lfe() {
|
|
|
47250
47250
|
end: Ee
|
|
47251
47251
|
}));
|
|
47252
47252
|
}, Uh = (M, U, ne) => {
|
|
47253
|
-
const Ee =
|
|
47253
|
+
const Ee = Ia(U, zm(M));
|
|
47254
47254
|
ye(Ee, (Qe) => {
|
|
47255
47255
|
uf(Qe.entries, ne);
|
|
47256
47256
|
const Ht = Vm(M, Qe.entries);
|
|
@@ -47322,7 +47322,7 @@ function lfe() {
|
|
|
47322
47322
|
Zg(U, ne["list-attributes"]), Ss.each(M.select("li", U), (Ee) => {
|
|
47323
47323
|
Zg(Ee, ne["list-item-attributes"]);
|
|
47324
47324
|
});
|
|
47325
|
-
},
|
|
47325
|
+
}, Qa = (M, U, ne) => {
|
|
47326
47326
|
Zu(M, U, ne), hf(M, U, ne);
|
|
47327
47327
|
}, jh = (M, U, ne) => {
|
|
47328
47328
|
Ss.each(ne, (Ee) => M.setStyle(U, Ee, ""));
|
|
@@ -47414,20 +47414,20 @@ function lfe() {
|
|
|
47414
47414
|
"padding-bottom",
|
|
47415
47415
|
"padding-left",
|
|
47416
47416
|
"padding-top"
|
|
47417
|
-
]),
|
|
47417
|
+
]), Qa(no, Lr, ne), Sd(M.dom, Lr));
|
|
47418
47418
|
}), M.selection.setRng(Gr(Ro));
|
|
47419
47419
|
}, la = (M, U) => Ho(M) && M.nodeName === (U == null ? void 0 : U.nodeName), Hu = (M, U, ne) => {
|
|
47420
47420
|
const Ee = M.getStyle(U, "list-style-type", !0), Qe = M.getStyle(ne, "list-style-type", !0);
|
|
47421
47421
|
return Ee === Qe;
|
|
47422
|
-
}, Cc = (M, U) => M.className === U.className,
|
|
47422
|
+
}, Cc = (M, U) => M.className === U.className, Fa = (M, U, ne) => la(U, ne) && Hu(M, U, ne) && Cc(U, ne), Sd = (M, U) => {
|
|
47423
47423
|
let ne, Ee = U.nextSibling;
|
|
47424
|
-
if (
|
|
47424
|
+
if (Fa(M, U, Ee)) {
|
|
47425
47425
|
const Qe = Ee;
|
|
47426
47426
|
for (; ne = Qe.firstChild; )
|
|
47427
47427
|
U.appendChild(ne);
|
|
47428
47428
|
M.remove(Qe);
|
|
47429
47429
|
}
|
|
47430
|
-
if (Ee = U.previousSibling,
|
|
47430
|
+
if (Ee = U.previousSibling, Fa(M, U, Ee)) {
|
|
47431
47431
|
const Qe = Ee;
|
|
47432
47432
|
for (; ne = Qe.lastChild; )
|
|
47433
47433
|
U.insertBefore(ne, U.firstChild);
|
|
@@ -47436,17 +47436,17 @@ function lfe() {
|
|
|
47436
47436
|
}, Yp = (M, U, ne, Ee) => {
|
|
47437
47437
|
if (U.nodeName !== ne) {
|
|
47438
47438
|
const Qe = M.dom.rename(U, ne);
|
|
47439
|
-
|
|
47439
|
+
Qa(M.dom, Qe, Ee), Uo(M, va(ne), Qe);
|
|
47440
47440
|
} else
|
|
47441
|
-
|
|
47441
|
+
Qa(M.dom, U, Ee), Uo(M, va(ne), U);
|
|
47442
47442
|
}, Gh = (M, U, ne, Ee) => {
|
|
47443
47443
|
if (U.classList.forEach((Qe, Ht, no) => {
|
|
47444
47444
|
Qe.startsWith("tox-") && (no.remove(Qe), no.length === 0 && U.removeAttribute("class"));
|
|
47445
47445
|
}), U.nodeName !== ne) {
|
|
47446
47446
|
const Qe = M.dom.rename(U, ne);
|
|
47447
|
-
|
|
47447
|
+
Qa(M.dom, Qe, Ee), Uo(M, va(ne), Qe);
|
|
47448
47448
|
} else
|
|
47449
|
-
|
|
47449
|
+
Qa(M.dom, U, Ee), Uo(M, va(ne), U);
|
|
47450
47450
|
}, Zc = (M, U, ne, Ee, Qe) => {
|
|
47451
47451
|
const Ht = Ho(U);
|
|
47452
47452
|
if (Ht && U.nodeName === Ee && !mf(Qe) && !vs(U))
|
|
@@ -47470,7 +47470,7 @@ function lfe() {
|
|
|
47470
47470
|
const Qe = ks(M.selection.getRng());
|
|
47471
47471
|
vs(U) && U.classList.forEach((no, Ro, Eo) => {
|
|
47472
47472
|
no.startsWith("tox-") && (Eo.remove(no), Eo.length === 0 && U.removeAttribute("class"));
|
|
47473
|
-
}),
|
|
47473
|
+
}), Qa(M.dom, U, Ee);
|
|
47474
47474
|
const Ht = M.dom.rename(U, ne);
|
|
47475
47475
|
Sd(M.dom, Ht), M.selection.setRng(Gr(Qe)), qh(M, ne, Ee), Uo(M, va(ne), Ht);
|
|
47476
47476
|
}
|
|
@@ -47486,7 +47486,7 @@ function lfe() {
|
|
|
47486
47486
|
const ne = U.parentElement;
|
|
47487
47487
|
if (ne && ne.nodeName === "LI" && ne.firstChild === U) {
|
|
47488
47488
|
const Ee = ne.previousSibling;
|
|
47489
|
-
Ee && Ee.nodeName === "LI" ? (Ee.appendChild(U),
|
|
47489
|
+
Ee && Ee.nodeName === "LI" ? (Ee.appendChild(U), Ba(M, ne) && Jp.remove(ne)) : Jp.setStyle(ne, "listStyleType", "none");
|
|
47490
47490
|
}
|
|
47491
47491
|
if (Ho(ne)) {
|
|
47492
47492
|
const Ee = ne.previousSibling;
|
|
@@ -47519,7 +47519,7 @@ function lfe() {
|
|
|
47519
47519
|
}, zi = (M, U, ne) => {
|
|
47520
47520
|
let Ee;
|
|
47521
47521
|
const Qe = Yh(M, ne) ? ne.firstChild : ne;
|
|
47522
|
-
if (Nr(M, U), !
|
|
47522
|
+
if (Nr(M, U), !Ba(M, U, !0))
|
|
47523
47523
|
for (; Ee = U.firstChild; )
|
|
47524
47524
|
Qe.appendChild(Ee);
|
|
47525
47525
|
}, wl = (M, U, ne) => {
|
|
@@ -47529,10 +47529,10 @@ function lfe() {
|
|
|
47529
47529
|
return;
|
|
47530
47530
|
Ho(ne.lastChild) && (Ee = ne.lastChild), Qe === ne.lastChild && bl(Qe.previousSibling) && M.remove(Qe.previousSibling);
|
|
47531
47531
|
const Ht = ne.lastChild;
|
|
47532
|
-
Ht && bl(Ht) && U.hasChildNodes() && M.remove(Ht),
|
|
47532
|
+
Ht && bl(Ht) && U.hasChildNodes() && M.remove(Ht), Ba(M, ne, !0) && pt(Se.fromDom(ne)), zi(M, U, ne), Ee && ne.appendChild(Ee);
|
|
47533
47533
|
const Ro = wn(Se.fromDom(ne), Se.fromDom(U)) ? M.getParents(U, Ho, ne) : [];
|
|
47534
47534
|
M.remove(U), ye(Ro, (Eo) => {
|
|
47535
|
-
|
|
47535
|
+
Ba(M, Eo) && Eo !== M.getRoot() && M.remove(Eo);
|
|
47536
47536
|
});
|
|
47537
47537
|
}, Kh = (M, U, ne) => {
|
|
47538
47538
|
pt(Se.fromDom(ne)), wl(M.dom, U, ne), M.selection.setCursorLocation(ne, 0);
|
|
@@ -47553,7 +47553,7 @@ function lfe() {
|
|
|
47553
47553
|
const ne = M.dom, Ee = M.selection, Qe = Ee.getStart(), Ht = co(M, Qe), no = ne.getParent(Ee.getStart(), "LI", Ht);
|
|
47554
47554
|
if (no) {
|
|
47555
47555
|
const Ro = no.parentElement;
|
|
47556
|
-
if (Ro === M.getBody() &&
|
|
47556
|
+
if (Ro === M.getBody() && Ba(ne, Ro))
|
|
47557
47557
|
return !0;
|
|
47558
47558
|
const Eo = ba(Ee.getRng()), Vn = ne.getParent(Uu(M, Eo, U, Ht), "LI", Ht), Lr = Vn && (U ? ne.isChildOf(no, Vn) : ne.isChildOf(Vn, no));
|
|
47559
47559
|
if (Vn && Vn !== no && !Lr)
|
|
@@ -48013,7 +48013,7 @@ function cfe() {
|
|
|
48013
48013
|
"target"
|
|
48014
48014
|
], (Ve, vt) => (se[vt].each((Jt) => {
|
|
48015
48015
|
Ve[vt] = Jt.length > 0 ? Jt : null;
|
|
48016
|
-
}), Ve), { href: se.href }), yi = (se, _e) => (_e === "http" || _e === "https") && !dr(se) ? _e + "://" + se : se,
|
|
48016
|
+
}), Ve), { href: se.href }), yi = (se, _e) => (_e === "http" || _e === "https") && !dr(se) ? _e + "://" + se : se, Ra = (se, _e) => {
|
|
48017
48017
|
const Ve = { ..._e };
|
|
48018
48018
|
if (ct(se).length === 0 && !xt(se)) {
|
|
48019
48019
|
const vt = Hs(Ve.rel, Ve.target === "_blank");
|
|
@@ -48032,7 +48032,7 @@ function cfe() {
|
|
|
48032
48032
|
se.insertContent(Jt.createHTML("a", vt, Jt.encode(_n)));
|
|
48033
48033
|
});
|
|
48034
48034
|
}, qt = (se, _e, Ve) => {
|
|
48035
|
-
const vt = se.selection.getNode(), Jt = Ks(se, vt), _n =
|
|
48035
|
+
const vt = se.selection.getNode(), Jt = Ks(se, vt), _n = Ra(se, Zr(Ve));
|
|
48036
48036
|
se.undoManager.transact(() => {
|
|
48037
48037
|
Ve.href === _e.href && _e.attach(), Jt.fold(() => {
|
|
48038
48038
|
rl(se, vt, Ve.text, _n);
|
|
@@ -48273,7 +48273,7 @@ function cfe() {
|
|
|
48273
48273
|
optNode: _e,
|
|
48274
48274
|
flags: { titleEnabled: Ke(se) }
|
|
48275
48275
|
};
|
|
48276
|
-
}) },
|
|
48276
|
+
}) }, Ma = (se, _e) => (Ve) => {
|
|
48277
48277
|
const vt = Ve.getData();
|
|
48278
48278
|
if (!vt.url.value) {
|
|
48279
48279
|
Ts(se), Ve.close();
|
|
@@ -48368,7 +48368,7 @@ function cfe() {
|
|
|
48368
48368
|
};
|
|
48369
48369
|
}, Ho = (se) => {
|
|
48370
48370
|
Fi(se).then((Ve) => {
|
|
48371
|
-
const vt =
|
|
48371
|
+
const vt = Ma(se, Ve);
|
|
48372
48372
|
return Io(Ve, vt, se);
|
|
48373
48373
|
}).then((Ve) => {
|
|
48374
48374
|
se.windowManager.open(Ve);
|
|
@@ -48411,7 +48411,7 @@ function cfe() {
|
|
|
48411
48411
|
var lr = tinymce.util.Tools.resolve("tinymce.util.VK");
|
|
48412
48412
|
const kc = (se, _e) => {
|
|
48413
48413
|
document.body.appendChild(se), se.dispatchEvent(_e), document.body.removeChild(se);
|
|
48414
|
-
},
|
|
48414
|
+
}, Ba = (se) => {
|
|
48415
48415
|
const _e = document.createElement("a");
|
|
48416
48416
|
_e.target = "_blank", _e.href = se, _e.rel = "noreferrer noopener";
|
|
48417
48417
|
const Ve = new MouseEvent("click", {
|
|
@@ -48427,7 +48427,7 @@ function cfe() {
|
|
|
48427
48427
|
const vt = se.dom.select(`${Ve},[name="${Wo(Ve, "#")}"]`);
|
|
48428
48428
|
vt.length && se.selection.scrollIntoView(vt[0], !0);
|
|
48429
48429
|
} else
|
|
48430
|
-
|
|
48430
|
+
Ba(_e.href);
|
|
48431
48431
|
}
|
|
48432
48432
|
}, su = (se) => {
|
|
48433
48433
|
const _e = se.selection.getRng(), Ve = _e.startContainer;
|
|
@@ -48850,7 +48850,7 @@ function ufe() {
|
|
|
48850
48850
|
allow_script_urls: Re("allow_script_urls"),
|
|
48851
48851
|
allow_svg_data_urls: Re("allow_svg_data_urls")
|
|
48852
48852
|
});
|
|
48853
|
-
}, Ns = xt.DOM, Zr = (q) => q.style.marginLeft && q.style.marginRight && q.style.marginLeft === q.style.marginRight ? Ks(q.style.marginLeft) : "", yi = (q) => q.style.marginTop && q.style.marginBottom && q.style.marginTop === q.style.marginBottom ? Ks(q.style.marginTop) : "",
|
|
48853
|
+
}, Ns = xt.DOM, Zr = (q) => q.style.marginLeft && q.style.marginRight && q.style.marginLeft === q.style.marginRight ? Ks(q.style.marginLeft) : "", yi = (q) => q.style.marginTop && q.style.marginBottom && q.style.marginTop === q.style.marginBottom ? Ks(q.style.marginTop) : "", Ra = (q) => q.style.borderWidth ? Ks(q.style.borderWidth) : "", Lo = (q, ce) => {
|
|
48854
48854
|
var Re;
|
|
48855
48855
|
return q.hasAttribute(ce) && (Re = q.getAttribute(ce)) !== null && Re !== void 0 ? Re : "";
|
|
48856
48856
|
}, rl = (q) => q.parentNode !== null && q.parentNode.nodeName === "FIGURE", qt = (q, ce, Re) => {
|
|
@@ -48900,7 +48900,7 @@ function ufe() {
|
|
|
48900
48900
|
}), Us = (q, ce) => {
|
|
48901
48901
|
var Re;
|
|
48902
48902
|
const rt = document.createElement("img");
|
|
48903
|
-
return qt(rt, "style", ce.style), (Zr(rt) || ce.hspace !== "") && Qi(rt, ce.hspace), (yi(rt) || ce.vspace !== "") && $i(rt, ce.vspace), (
|
|
48903
|
+
return qt(rt, "style", ce.style), (Zr(rt) || ce.hspace !== "") && Qi(rt, ce.hspace), (yi(rt) || ce.vspace !== "") && $i(rt, ce.vspace), (Ra(rt) || ce.border !== "") && xs(rt, ce.border), (Js(rt) || ce.borderStyle !== "") && Xn(rt, ce.borderStyle), q((Re = rt.getAttribute("style")) !== null && Re !== void 0 ? Re : "");
|
|
48904
48904
|
}, vi = (q, ce) => {
|
|
48905
48905
|
const Re = document.createElement("img");
|
|
48906
48906
|
if (pt(q, {
|
|
@@ -48922,7 +48922,7 @@ function ufe() {
|
|
|
48922
48922
|
caption: rl(ce),
|
|
48923
48923
|
hspace: Zr(ce),
|
|
48924
48924
|
vspace: yi(ce),
|
|
48925
|
-
border:
|
|
48925
|
+
border: Ra(ce),
|
|
48926
48926
|
borderStyle: Js(ce),
|
|
48927
48927
|
isDecorative: Ul(ce)
|
|
48928
48928
|
}), yr = (q, ce, Re, rt, Pn) => {
|
|
@@ -49034,9 +49034,9 @@ function ufe() {
|
|
|
49034
49034
|
});
|
|
49035
49035
|
}
|
|
49036
49036
|
}), Re;
|
|
49037
|
-
}, Ss = (q = lo) => (ce) => ce ? We.from(ce).map((Re) => ar(Re, q)) : We.none(),
|
|
49037
|
+
}, Ss = (q = lo) => (ce) => ce ? We.from(ce).map((Re) => ar(Re, q)) : We.none(), Ma = (q) => Ss(lo)(q), Fi = (q) => je(q, "items"), So = (q, ce) => to(q, (Re) => Fi(Re) ? So(Re.items, ce) : Re.value === ce ? We.some(Re) : We.none()), Ho = {
|
|
49038
49038
|
sanitizer: Ss,
|
|
49039
|
-
sanitize:
|
|
49039
|
+
sanitize: Ma,
|
|
49040
49040
|
findEntry: (q, ce) => q.bind((Re) => So(Re, ce))
|
|
49041
49041
|
}, hi = { makeTab: (q) => ({
|
|
49042
49042
|
title: "Advanced",
|
|
@@ -49261,9 +49261,9 @@ function ufe() {
|
|
|
49261
49261
|
border: q.border,
|
|
49262
49262
|
borderStyle: q.borderstyle,
|
|
49263
49263
|
isDecorative: q.isDecorative
|
|
49264
|
-
}),
|
|
49264
|
+
}), Ba = (q, ce) => /^(?:[a-zA-Z]+:)?\/\//.test(ce) ? We.none() : q.prependURL.bind((Re) => ce.substring(0, Re.length) !== Re ? We.some(Re + ce) : We.none()), Nl = (q, ce) => {
|
|
49265
49265
|
const Re = ce.getData();
|
|
49266
|
-
|
|
49266
|
+
Ba(q, Re.src.value).each((rt) => {
|
|
49267
49267
|
ce.setData({
|
|
49268
49268
|
src: {
|
|
49269
49269
|
value: rt,
|
|
@@ -49935,9 +49935,9 @@ function dfe() {
|
|
|
49935
49935
|
}, Zr = ($e, ke) => {
|
|
49936
49936
|
const ut = $e.dom.select("*[data-mce-object]");
|
|
49937
49937
|
$e.insertContent(ke), Ns($e, ut), $e.nodeChanged();
|
|
49938
|
-
}, yi = ($e, ke) => T(ke) && ke === "ephox-embed-iri" && T(_i($e)),
|
|
49938
|
+
}, yi = ($e, ke) => T(ke) && ke === "ephox-embed-iri" && T(_i($e)), Ra = ($e, ke) => ((pt, jn) => pt.width !== jn.width || pt.height !== jn.height)($e, ke) && yi(ke.source, $e.type), Lo = ($e, ke, ut) => {
|
|
49939
49939
|
var pt;
|
|
49940
|
-
ke.embed =
|
|
49940
|
+
ke.embed = Ra($e, ke) && zt(ut) ? Fn(ut, {
|
|
49941
49941
|
...ke,
|
|
49942
49942
|
embed: ""
|
|
49943
49943
|
}) : gs((pt = ke.embed) !== null && pt !== void 0 ? pt : "", ke, !1, ut.schema), ke.embed && ($e.source === ke.source || sa(ke.source)) ? Zr(ut, ke.embed) : Hs(ut, ke).then((jn) => {
|
|
@@ -49955,7 +49955,7 @@ function dfe() {
|
|
|
49955
49955
|
const lo = Rr(Rn.getData()), us = Qt((Jn = lo.embed) !== null && Jn !== void 0 ? Jn : "", $e.schema);
|
|
49956
49956
|
Rn.setData(Fs(us));
|
|
49957
49957
|
}, To = (Rn, Jn, lo) => {
|
|
49958
|
-
const us = Rr(Rn.getData(), Jn), ar =
|
|
49958
|
+
const us = Rr(Rn.getData(), Jn), ar = Ra(lo, us) && zt($e) ? {
|
|
49959
49959
|
...us,
|
|
49960
49960
|
embed: ""
|
|
49961
49961
|
} : us, Ss = Fn($e, ar);
|
|
@@ -50490,7 +50490,7 @@ function ffe() {
|
|
|
50490
50490
|
}, Zr = (A) => A.nodeType !== Ks && A.nodeType !== Hs && A.nodeType !== sa || A.childElementCount === 0, yi = (A, I) => {
|
|
50491
50491
|
const ee = I === void 0 ? document : I.dom;
|
|
50492
50492
|
return Zr(ee) ? [] : xt(ee.querySelectorAll(A), No.fromDom);
|
|
50493
|
-
},
|
|
50493
|
+
}, Ra = (A, I) => {
|
|
50494
50494
|
const ee = I === void 0 ? document : I.dom;
|
|
50495
50495
|
return Zr(ee) ? te.none() : te.from(ee.querySelector(A)).map(No.fromDom);
|
|
50496
50496
|
}, Lo = (A, I) => A.dom === I.dom, rl = Ns;
|
|
@@ -50535,12 +50535,12 @@ function ffe() {
|
|
|
50535
50535
|
}, jn = (A, I, ee) => ut((Ze, _t) => _t(Ze), pt, A, I, ee), ao = (A, I) => {
|
|
50536
50536
|
const ee = (Ze) => I(No.fromDom(Ze));
|
|
50537
50537
|
return ze(A.dom.childNodes, ee).map(No.fromDom);
|
|
50538
|
-
}, To = (A, I, ee) => pt(A, (fe) => Ns(fe, I), ee), Ws = (A, I) => ao(A, (ee) => Ns(ee, I)), Rt = (A, I) =>
|
|
50538
|
+
}, To = (A, I, ee) => pt(A, (fe) => Ns(fe, I), ee), Ws = (A, I) => ao(A, (ee) => Ns(ee, I)), Rt = (A, I) => Ra(I, A), bt = (A, I, ee) => ut((Ze, _t) => Ns(Ze, _t), To, A, I, ee), Ae = (A) => bt(A, "[contenteditable]"), Le = (A, I = !1) => ke(A) ? A.dom.isContentEditable : Ae(A).fold(we(I), (ee) => Lt(ee) === "true"), Lt = (A) => A.dom.contentEditable, Wt = (A) => A.nodeName.toLowerCase(), pn = (A) => No.fromDom(A.getBody()), Ln = (A) => (I) => Lo(I, pn(A)), In = (A) => A ? A.replace(/px$/, "") : "", Rn = (A) => /^\d+(\.\d+)?$/.test(A) ? A + "px" : A, Jn = (A) => No.fromDom(A.selection.getStart()), lo = (A) => No.fromDom(A.selection.getEnd()), us = (A) => jn(A, $i("table")).forall(Le), ar = (A, I) => xo(Ls(A), I), Ss = (A, I) => {
|
|
50539
50539
|
let ee = [];
|
|
50540
50540
|
return Y(Ls(A), (fe) => {
|
|
50541
50541
|
I(fe) && (ee = ee.concat([fe])), ee = ee.concat(Ss(fe, I));
|
|
50542
50542
|
}), ee;
|
|
50543
|
-
},
|
|
50543
|
+
}, Ma = (A, I) => ar(A, (ee) => Ns(ee, I)), Fi = (A, I) => yi(I, A), So = (A, I, ee) => {
|
|
50544
50544
|
if (O(ee) || T(ee) || K(ee))
|
|
50545
50545
|
A.setAttribute(I, ee + "");
|
|
50546
50546
|
else
|
|
@@ -50564,7 +50564,7 @@ function ffe() {
|
|
|
50564
50564
|
for (let fe = 0; fe < A.length; fe++)
|
|
50565
50565
|
A[fe].each(ee);
|
|
50566
50566
|
return I;
|
|
50567
|
-
}, Bc = (A, I, ee) => A.isSome() && I.isSome() ? te.some(ee(A.getOrDie(), I.getOrDie())) : te.none(), Wo = (A) => A.bind(Te), Ol = (A, I) => A ? te.some(I) : te.none(), lr = (A, I) => A.substring(I), kc = (A, I, ee) => I === "" || A.length >= I.length && A.substr(ee, ee + I.length) === I,
|
|
50567
|
+
}, Bc = (A, I, ee) => A.isSome() && I.isSome() ? te.some(ee(A.getOrDie(), I.getOrDie())) : te.none(), Wo = (A) => A.bind(Te), Ol = (A, I) => A ? te.some(I) : te.none(), lr = (A, I) => A.substring(I), kc = (A, I, ee) => I === "" || A.length >= I.length && A.substr(ee, ee + I.length) === I, Ba = (A, I) => Nl(A, I) ? lr(A, I.length) : A, Nl = (A, I) => kc(A, I, 0), su = ((A) => (I) => I.replace(A, ""))(/^\s+|\s+$/g), pa = (A) => A.length > 0, ru = (A) => !pa(A), Wl = (A, I = 10) => {
|
|
50568
50568
|
const ee = parseInt(A, I);
|
|
50569
50569
|
return isNaN(ee) ? te.none() : te.some(ee);
|
|
50570
50570
|
}, Od = (A) => {
|
|
@@ -50633,7 +50633,7 @@ function ffe() {
|
|
|
50633
50633
|
}, q = (A, I) => is([
|
|
50634
50634
|
"td",
|
|
50635
50635
|
"th"
|
|
50636
|
-
], A, I), ce = (A) => Nc(A, "th,td"), Re = (A) => Ns(A, "colgroup") ?
|
|
50636
|
+
], A, I), ce = (A) => Nc(A, "th,td"), Re = (A) => Ns(A, "colgroup") ? Ma(A, "col") : Se(rn(A), (I) => Ma(I, "col")), rt = (A, I) => bt(A, "table", I), Pn = (A) => Nc(A, "tr"), rn = (A) => rt(A).fold(we([]), (I) => Ma(I, "colgroup")), vs = (A, I) => xt(A, (ee) => {
|
|
50637
50637
|
if (qt(ee) === "colgroup") {
|
|
50638
50638
|
const fe = xt(Re(ee), (Ze) => {
|
|
50639
50639
|
const _t = ba(Ze, "span", 1);
|
|
@@ -50735,7 +50735,7 @@ function ffe() {
|
|
|
50735
50735
|
return "";
|
|
50736
50736
|
}
|
|
50737
50737
|
return Ze;
|
|
50738
|
-
},
|
|
50738
|
+
}, Na = (A, I, ee) => {
|
|
50739
50739
|
xi.each("left center right".split(" "), (fe) => {
|
|
50740
50740
|
fe !== ee && A.formatter.remove("align" + fe, {}, I);
|
|
50741
50741
|
}), ee && A.formatter.apply("align" + ee, {}, I);
|
|
@@ -50762,7 +50762,7 @@ function ffe() {
|
|
|
50762
50762
|
title: I,
|
|
50763
50763
|
value: I
|
|
50764
50764
|
};
|
|
50765
|
-
}),
|
|
50765
|
+
}), La = xt([
|
|
50766
50766
|
"Solid",
|
|
50767
50767
|
"Dotted",
|
|
50768
50768
|
"Dashed",
|
|
@@ -50799,7 +50799,7 @@ function ffe() {
|
|
|
50799
50799
|
default: il
|
|
50800
50800
|
}), I("table_border_styles", {
|
|
50801
50801
|
processor: "object[]",
|
|
50802
|
-
default:
|
|
50802
|
+
default: La
|
|
50803
50803
|
}), I("table_cell_advtab", {
|
|
50804
50804
|
processor: "boolean",
|
|
50805
50805
|
default: !0
|
|
@@ -50834,7 +50834,7 @@ function ffe() {
|
|
|
50834
50834
|
processor: "object[]",
|
|
50835
50835
|
default: []
|
|
50836
50836
|
});
|
|
50837
|
-
}, Vs = Vr("table_sizing_mode"), Fc = Vr("table_border_widths"), Hh = Vr("table_border_styles"), Fu = Vr("table_cell_advtab"), lf = Vr("table_row_advtab"), cf = Vr("table_advtab"), yd = Vr("table_appearance_options"), vd = Vr("table_grid"), jl = Vr("table_style_by_css"),
|
|
50837
|
+
}, Vs = Vr("table_sizing_mode"), Fc = Vr("table_border_widths"), Hh = Vr("table_border_styles"), Fu = Vr("table_cell_advtab"), lf = Vr("table_row_advtab"), cf = Vr("table_advtab"), yd = Vr("table_appearance_options"), vd = Vr("table_grid"), jl = Vr("table_style_by_css"), Ia = Vr("table_cell_class_list"), qp = Vr("table_row_class_list"), lu = Vr("table_class_list"), Vm = Vr("table_toolbar"), uf = Vr("table_background_color_map"), zm = Vr("table_border_color_map"), Uh = (A) => Vs(A) === "fixed", df = (A) => Vs(A) === "responsive", Wh = (A) => {
|
|
50838
50838
|
const I = A.options, ee = I.get("table_default_styles");
|
|
50839
50839
|
return I.isSet("table_default_styles") ? ee : mi(A, ee);
|
|
50840
50840
|
}, Hm = (A) => {
|
|
@@ -50884,12 +50884,12 @@ function ffe() {
|
|
|
50884
50884
|
Y(I, (ee) => {
|
|
50885
50885
|
va(A, ee);
|
|
50886
50886
|
});
|
|
50887
|
-
},
|
|
50887
|
+
}, Qa = (A) => {
|
|
50888
50888
|
const I = A.dom;
|
|
50889
50889
|
I.parentNode !== null && I.parentNode.removeChild(I);
|
|
50890
50890
|
}, jh = (A) => {
|
|
50891
50891
|
const I = Ls(A);
|
|
50892
|
-
I.length > 0 && Zg(A, I),
|
|
50892
|
+
I.length > 0 && Zg(A, I), Qa(A);
|
|
50893
50893
|
}, Vu = ((A, I) => {
|
|
50894
50894
|
const ee = (_t) => {
|
|
50895
50895
|
if (!A(_t))
|
|
@@ -50995,7 +50995,7 @@ function ffe() {
|
|
|
50995
50995
|
}),
|
|
50996
50996
|
remove: we({
|
|
50997
50997
|
unwrap: jh,
|
|
50998
|
-
remove:
|
|
50998
|
+
remove: Qa
|
|
50999
50999
|
}),
|
|
51000
51000
|
create: we({
|
|
51001
51001
|
nu: No.fromTag,
|
|
@@ -51034,9 +51034,9 @@ function ffe() {
|
|
|
51034
51034
|
const Ze = I(A, ee);
|
|
51035
51035
|
return qo(fe, (_t, tn) => {
|
|
51036
51036
|
const Mn = I(A, tn);
|
|
51037
|
-
return
|
|
51037
|
+
return Fa(A, _t, Mn);
|
|
51038
51038
|
}, Ze);
|
|
51039
|
-
},
|
|
51039
|
+
}, Fa = (A, I, ee) => I.bind((fe) => ee.filter(re(A.eq, fe))), Sd = Hu, Yp = qh(), Gh = (A, I) => Sd(Yp, (ee, fe) => A(fe), I), Zc = (A) => To(A, "table"), mf = (A, I) => {
|
|
51040
51040
|
const ee = Fi(A, I);
|
|
51041
51041
|
return ee.length > 0 ? te.some(ee) : te.none();
|
|
51042
51042
|
}, Kp = (A, I, ee) => Rt(A, I).bind((fe) => Rt(A, ee).bind((Ze) => Gh(Zc, [
|
|
@@ -51079,7 +51079,7 @@ function ffe() {
|
|
|
51079
51079
|
text: "Bottom",
|
|
51080
51080
|
value: "bottom"
|
|
51081
51081
|
}
|
|
51082
|
-
], Is = (A) => ({ value: Vg(A) }), gf = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, em = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, Xm = (A) => gf.test(A) || em.test(A), Vg = (A) =>
|
|
51082
|
+
], Is = (A) => ({ value: Vg(A) }), gf = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, em = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, Xm = (A) => gf.test(A) || em.test(A), Vg = (A) => Ba(A, "#").toUpperCase(), Do = (A) => Xm(A) ? te.some({ value: Vg(A) }) : te.none(), ri = (A) => {
|
|
51083
51083
|
const I = A.toString(16);
|
|
51084
51084
|
return (I.length === 1 ? "0" + I : I).toUpperCase();
|
|
51085
51085
|
}, Cd = (A) => {
|
|
@@ -51188,7 +51188,7 @@ function ffe() {
|
|
|
51188
51188
|
}, pf = (A) => () => {
|
|
51189
51189
|
const ee = A.queryCommandValue("mceTableColType") === "th" ? "td" : "th";
|
|
51190
51190
|
A.execCommand("mceTableColType", !1, { type: ee });
|
|
51191
|
-
}, Ym = (A) => Vc(
|
|
51191
|
+
}, Ym = (A) => Vc(Ia(A)).map((I) => ({
|
|
51192
51192
|
name: "class",
|
|
51193
51193
|
type: "listbox",
|
|
51194
51194
|
label: "Class",
|
|
@@ -51337,7 +51337,7 @@ function ffe() {
|
|
|
51337
51337
|
}, pi = (A, I) => dr(A.all, (ee) => ze(ee.cells, (fe) => Lo(I, fe.element))), ll = (A, I, ee) => {
|
|
51338
51338
|
const fe = xt(I.selection, (_t) => q(_t).bind((tn) => pi(A, tn)).filter(ee)), Ze = bl(fe);
|
|
51339
51339
|
return Ol(Ze.length > 0, Ze);
|
|
51340
|
-
}, Ed = (A, I) => I.mergable, F1 = (A, I) => I.unmergable, Jf = (A, I) => ll(A, I, at), t0 = (A, I) => pi(A, I).exists((ee) => !ee.isLocked),
|
|
51340
|
+
}, Ed = (A, I) => I.mergable, F1 = (A, I) => I.unmergable, Jf = (A, I) => ll(A, I, at), t0 = (A, I) => pi(A, I).exists((ee) => !ee.isLocked), Za = (A, I) => Fn(I, (ee) => t0(A, ee)), n0 = (A, I) => Ed(A, I).filter((ee) => Za(A, ee.cells)), HO = (A, I) => F1(A, I).filter((ee) => Za(A, ee));
|
|
51341
51341
|
({ ...{ generate: (A) => {
|
|
51342
51342
|
if (!w(A))
|
|
51343
51343
|
throw new Error("cases must be an array");
|
|
@@ -51414,13 +51414,13 @@ Required: ` + I.join(", "));
|
|
|
51414
51414
|
const _t = Ze[Ze.length - 1], tn = Ze[0].row, Mn = _t.row + _t.rowspan, ko = ee.all.slice(tn, Mn);
|
|
51415
51415
|
return Vn(ko);
|
|
51416
51416
|
}).getOr("");
|
|
51417
|
-
},
|
|
51417
|
+
}, za = (A) => Nl(A, "rgb") ? qm(A) : A, uo = (A) => {
|
|
51418
51418
|
const I = No.fromDom(A);
|
|
51419
51419
|
return {
|
|
51420
51420
|
borderwidth: jr(I, "border-width").getOr(""),
|
|
51421
51421
|
borderstyle: jr(I, "border-style").getOr(""),
|
|
51422
|
-
bordercolor: jr(I, "border-color").map(
|
|
51423
|
-
backgroundcolor: jr(I, "background-color").map(
|
|
51422
|
+
bordercolor: jr(I, "border-color").map(za).getOr(""),
|
|
51423
|
+
backgroundcolor: jr(I, "background-color").map(za).getOr("")
|
|
51424
51424
|
};
|
|
51425
51425
|
}, zc = (A) => {
|
|
51426
51426
|
const I = A[0], ee = A.slice(1);
|
|
@@ -51443,8 +51443,8 @@ Required: ` + I.join(", "));
|
|
|
51443
51443
|
], "valign"), s0 = (A, I) => {
|
|
51444
51444
|
const ee = Wh(A), fe = Hm(A), Ze = () => ({
|
|
51445
51445
|
borderstyle: to(ee, "border-style").getOr(""),
|
|
51446
|
-
bordercolor:
|
|
51447
|
-
backgroundcolor:
|
|
51446
|
+
bordercolor: za(to(ee, "border-color").getOr("")),
|
|
51447
|
+
backgroundcolor: za(to(ee, "background-color").getOr(""))
|
|
51448
51448
|
}), _t = {
|
|
51449
51449
|
height: "",
|
|
51450
51450
|
width: "100%",
|
|
@@ -51525,7 +51525,7 @@ Required: ` + I.join(", "));
|
|
|
51525
51525
|
const Ze = I.length === 1;
|
|
51526
51526
|
Y(I, (_t) => {
|
|
51527
51527
|
const tn = _t.element, Mn = Ze ? at : fe, ko = Qe.normal(A, tn), Mo = _t.column.map((tr) => Qe.normal(A, tr)).getOr(ko);
|
|
51528
|
-
z1(ko, Mo, ee, Mn), Fu(A) && nm(ko, ee, Mn), fe("halign") &&
|
|
51528
|
+
z1(ko, Mo, ee, Mn), Fu(A) && nm(ko, ee, Mn), fe("halign") && Na(A, tn, ee.halign), fe("valign") && au(A, tn, ee.valign);
|
|
51529
51529
|
});
|
|
51530
51530
|
}, zg = (A, I) => {
|
|
51531
51531
|
A.execCommand("mceTableCellType", !1, {
|
|
@@ -51651,10 +51651,10 @@ Required: ` + I.join(", "));
|
|
|
51651
51651
|
}, qi = (A, I, ee, fe) => {
|
|
51652
51652
|
const _t = I.length === 1 ? at : fe;
|
|
51653
51653
|
Y(I, (tn) => {
|
|
51654
|
-
const Mn =
|
|
51654
|
+
const Mn = Ma(No.fromDom(tn), "td,th"), ko = Qe.normal(A, tn);
|
|
51655
51655
|
Il(ko, ee, _t), lf(A) && Xu(ko, ee, _t), fe("height") && Y(Mn, (Mo) => {
|
|
51656
51656
|
A.dom.setStyle(Mo.dom, "height", null);
|
|
51657
|
-
}), fe("align") &&
|
|
51657
|
+
}), fe("align") && Na(A, tn, ee.align);
|
|
51658
51658
|
});
|
|
51659
51659
|
}, Jm = (A, I) => {
|
|
51660
51660
|
A.execCommand("mceTableRowType", !1, {
|
|
@@ -51841,7 +51841,7 @@ Required: ` + I.join(", "));
|
|
|
51841
51841
|
};
|
|
51842
51842
|
i0(A, I, _t, Mn);
|
|
51843
51843
|
const ko = Ze.select("caption", I)[0];
|
|
51844
|
-
(ko && !_t.caption || !ko && _t.caption) && A.execCommand("mceTableToggleCaption"),
|
|
51844
|
+
(ko && !_t.caption || !ko && _t.caption) && A.execCommand("mceTableToggleCaption"), Na(A, I, _t.align);
|
|
51845
51845
|
}
|
|
51846
51846
|
if (A.focus(), A.addVisual(), Q(tn) > 0) {
|
|
51847
51847
|
const Mn = wt(tn, "caption"), ko = Mn ? Q(tn) > 1 : !0;
|
|
@@ -52106,7 +52106,7 @@ Required: ` + I.join(", "));
|
|
|
52106
52106
|
fetch: Wu(A, _t, "tableclass", (Mn) => A.execCommand("mceTableToggleClass", !1, Mn)),
|
|
52107
52107
|
onSetup: I.onSetupTable
|
|
52108
52108
|
});
|
|
52109
|
-
const tn = xr(
|
|
52109
|
+
const tn = xr(Ia(A));
|
|
52110
52110
|
tn.length !== 0 && A.queryCommandSupported("mceTableCellToggleClass") && A.ui.registry.addMenuButton("tablecellclass", {
|
|
52111
52111
|
icon: "table-cell-classes",
|
|
52112
52112
|
tooltip: "Cell styles",
|
|
@@ -52346,7 +52346,7 @@ Required: ` + I.join(", "));
|
|
|
52346
52346
|
getSubmenuItems: () => Kf(A, Mo, "tableclass", (Ys) => A.execCommand("mceTableToggleClass", !1, Ys)),
|
|
52347
52347
|
onSetup: I.onSetupTable
|
|
52348
52348
|
});
|
|
52349
|
-
const tr = xr(
|
|
52349
|
+
const tr = xr(Ia(A));
|
|
52350
52350
|
tr.length !== 0 && A.queryCommandSupported("mceTableCellToggleClass") && A.ui.registry.addNestedMenuItem("tablecellclass", {
|
|
52351
52351
|
icon: "table-cell-classes",
|
|
52352
52352
|
text: "Cell styles",
|
|
@@ -53051,7 +53051,7 @@ function gfe() {
|
|
|
53051
53051
|
let be = !1, nt;
|
|
53052
53052
|
return (...At) => (be || (be = !0, nt = he.apply(null, At)), nt);
|
|
53053
53053
|
}, Ae = (he, be, nt, At) => {
|
|
53054
|
-
const Un = he.isiOS() && /ipad/i.test(nt) === !0, as = he.isiOS() && !Un, Qo = he.isiOS() || he.isAndroid(), er = Qo || At("(pointer:coarse)"), si = Un || !as && Qo && At("(min-device-width:768px)"), il = as || Qo && !si,
|
|
53054
|
+
const Un = he.isiOS() && /ipad/i.test(nt) === !0, as = he.isiOS() && !Un, Qo = he.isiOS() || he.isAndroid(), er = Qo || At("(pointer:coarse)"), si = Un || !as && Qo && At("(min-device-width:768px)"), il = as || Qo && !si, La = be.isSafari() && he.isiOS() && /safari/i.test(nt) === !1, vr = !il && !si && !La;
|
|
53055
53055
|
return {
|
|
53056
53056
|
isiPad: Ft(Un),
|
|
53057
53057
|
isiPhone: Ft(as),
|
|
@@ -53060,7 +53060,7 @@ function gfe() {
|
|
|
53060
53060
|
isTouch: Ft(er),
|
|
53061
53061
|
isAndroid: he.isAndroid,
|
|
53062
53062
|
isiOS: he.isiOS,
|
|
53063
|
-
isWebView: Ft(
|
|
53063
|
+
isWebView: Ft(La),
|
|
53064
53064
|
isDesktop: Ft(vr)
|
|
53065
53065
|
};
|
|
53066
53066
|
}, Le = (he, be) => {
|
|
@@ -53112,7 +53112,7 @@ function gfe() {
|
|
|
53112
53112
|
current: nt.name,
|
|
53113
53113
|
version: At
|
|
53114
53114
|
};
|
|
53115
|
-
}), ar = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Ss = (he) => (be) => Bo(be, he),
|
|
53115
|
+
}), ar = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Ss = (he) => (be) => Bo(be, he), Ma = [
|
|
53116
53116
|
{
|
|
53117
53117
|
name: "Edge",
|
|
53118
53118
|
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
|
@@ -53202,7 +53202,7 @@ function gfe() {
|
|
|
53202
53202
|
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/]
|
|
53203
53203
|
}
|
|
53204
53204
|
], So = {
|
|
53205
|
-
browsers: Ft(
|
|
53205
|
+
browsers: Ft(Ma),
|
|
53206
53206
|
oses: Ft(Fi)
|
|
53207
53207
|
}, Io = "Edge", Ho = "Chromium", fi = "IE", hi = "Opera", Pi = "Firefox", js = "Safari", bd = () => bl({
|
|
53208
53208
|
current: void 0,
|
|
@@ -53228,7 +53228,7 @@ function gfe() {
|
|
|
53228
53228
|
opera: Ft(hi),
|
|
53229
53229
|
firefox: Ft(Pi),
|
|
53230
53230
|
safari: Ft(js)
|
|
53231
|
-
}, Wo = "Windows", Ol = "iOS", lr = "Android", kc = "Linux",
|
|
53231
|
+
}, Wo = "Windows", Ol = "iOS", lr = "Android", kc = "Linux", Ba = "macOS", Nl = "Solaris", ei = "FreeBSD", su = "ChromeOS", pa = () => ru({
|
|
53232
53232
|
current: void 0,
|
|
53233
53233
|
version: In.unknown()
|
|
53234
53234
|
}), ru = (he) => {
|
|
@@ -53239,7 +53239,7 @@ function gfe() {
|
|
|
53239
53239
|
isWindows: At(Wo),
|
|
53240
53240
|
isiOS: At(Ol),
|
|
53241
53241
|
isAndroid: At(lr),
|
|
53242
|
-
isMacOS: At(
|
|
53242
|
+
isMacOS: At(Ba),
|
|
53243
53243
|
isLinux: At(kc),
|
|
53244
53244
|
isSolaris: At(Nl),
|
|
53245
53245
|
isFreeBSD: At(ei),
|
|
@@ -53252,7 +53252,7 @@ function gfe() {
|
|
|
53252
53252
|
ios: Ft(Ol),
|
|
53253
53253
|
android: Ft(lr),
|
|
53254
53254
|
linux: Ft(kc),
|
|
53255
|
-
macos: Ft(
|
|
53255
|
+
macos: Ft(Ba),
|
|
53256
53256
|
solaris: Ft(Nl),
|
|
53257
53257
|
freebsd: Ft(ei),
|
|
53258
53258
|
chromeos: Ft(su)
|
|
@@ -53314,9 +53314,9 @@ function gfe() {
|
|
|
53314
53314
|
const be = yr(he, "background-color");
|
|
53315
53315
|
return be !== void 0 && be !== "" ? "background-color:" + be + "!important" : hc;
|
|
53316
53316
|
}, Oa = (he, be, nt) => {
|
|
53317
|
-
const At = (il) => vs(il, "*:not(.tox-silver-sink)"), Un = (il) => (
|
|
53318
|
-
const vr = ss(
|
|
53319
|
-
qr !== il && (Ks(
|
|
53317
|
+
const At = (il) => vs(il, "*:not(.tox-silver-sink)"), Un = (il) => (La) => {
|
|
53318
|
+
const vr = ss(La, "style"), qr = vr === void 0 ? "no-styles" : vr.trim();
|
|
53319
|
+
qr !== il && (Ks(La, oi, qr), ra(La, he.parseStyle(il)));
|
|
53320
53320
|
}, as = rn(be, "*"), Qo = to(as, At), er = Uo(nt);
|
|
53321
53321
|
ye(Qo, Un(Nt)), ye(as, Un(ia + Zs + er)), Un((Br === !0 ? "" : ia) + Zs + er)(be);
|
|
53322
53322
|
}, wi = (he) => {
|
|
@@ -53354,12 +53354,12 @@ function gfe() {
|
|
|
53354
53354
|
}
|
|
53355
53355
|
};
|
|
53356
53356
|
}), Zm = (he, be) => {
|
|
53357
|
-
const nt = document.body, At = document.documentElement, Un = he.getContainer(), as = Lo.fromDom(Un), Qo = Qi(as).filter((Vi) => Co(Vi) && Fs(Vi, "tox-silver-sink")), er = un(he), si = be.get(), il = Lo.fromDom(he.getBody()),
|
|
53357
|
+
const nt = document.body, At = document.documentElement, Un = he.getContainer(), as = Lo.fromDom(Un), Qo = Qi(as).filter((Vi) => Co(Vi) && Fs(Vi, "tox-silver-sink")), er = un(he), si = be.get(), il = Lo.fromDom(he.getBody()), La = _e.deviceType.isTouch(), vr = Un.style, qr = he.iframeElement, mi = qr == null ? void 0 : qr.style, aa = (Vi) => {
|
|
53358
53358
|
Vi(nt, "tox-fullscreen"), Vi(At, "tox-fullscreen"), Vi(Un, "tox-fullscreen"), Js(as).map((Vs) => di(Vs).dom).each((Vs) => {
|
|
53359
53359
|
Vi(Vs, "tox-fullscreen"), Vi(Vs, "tox-shadowhost");
|
|
53360
53360
|
});
|
|
53361
53361
|
}, Vr = () => {
|
|
53362
|
-
|
|
53362
|
+
La && wi(he.dom), aa(ya.removeClass), zh.unbind(), sn.from(be.get()).each((Vi) => Vi.fullscreenChangeHandler.unbind());
|
|
53363
53363
|
};
|
|
53364
53364
|
if (si)
|
|
53365
53365
|
si.fullscreenChangeHandler.unbind(), _n(he) && ce(er) && q(Mr(er)), mi.width = si.iframeWidth, mi.height = si.iframeHeight, vr.width = si.containerWidth, vr.height = si.containerHeight, vr.top = si.containerTop, vr.left = si.containerLeft, Be(Qo, si.sinkCssPosition, (Vi, Vs) => {
|
|
@@ -53379,7 +53379,7 @@ function gfe() {
|
|
|
53379
53379
|
fullscreenChangeHandler: Vi,
|
|
53380
53380
|
sinkCssPosition: Qo.map((Fc) => yr(Fc, "position"))
|
|
53381
53381
|
};
|
|
53382
|
-
|
|
53382
|
+
La && Oa(he.dom, as, il), mi.width = mi.height = "100%", vr.width = vr.height = "", aa(ya.addClass), Qo.each((Fc) => {
|
|
53383
53383
|
vi(Fc, "position", "fixed");
|
|
53384
53384
|
}), zh.bind(as), he.on("remove", Vr), be.set(Vs), _n(he) && is(er), Ve(he, !0);
|
|
53385
53385
|
}
|
|
@@ -53399,7 +53399,7 @@ function gfe() {
|
|
|
53399
53399
|
nt.setActive(be.get() !== null);
|
|
53400
53400
|
const At = (Un) => nt.setActive(Un.state);
|
|
53401
53401
|
return he.on("FullscreenStateChanged", At), () => he.off("FullscreenStateChanged", At);
|
|
53402
|
-
},
|
|
53402
|
+
}, Na = (he, be) => {
|
|
53403
53403
|
const nt = () => he.execCommand("mceFullScreen");
|
|
53404
53404
|
he.ui.registry.addToggleMenuItem("fullscreen", {
|
|
53405
53405
|
text: "Fullscreen",
|
|
@@ -53420,7 +53420,7 @@ function gfe() {
|
|
|
53420
53420
|
var au = () => {
|
|
53421
53421
|
o.add("fullscreen", (he) => {
|
|
53422
53422
|
const be = u(null);
|
|
53423
|
-
return he.inline || (Jt(he), cr(he, be),
|
|
53423
|
+
return he.inline || (Jt(he), cr(he, be), Na(he, be), xi(he, be), he.addShortcut("Meta+Shift+F", "", "mceFullScreen")), i(be);
|
|
53424
53424
|
});
|
|
53425
53425
|
};
|
|
53426
53426
|
au();
|
|
@@ -53918,7 +53918,7 @@ function Ofe() {
|
|
|
53918
53918
|
pn ? Le.fOffset += lo.length : Le.sOffset += lo.length, Le.elements.push(xo.fromDom(lo));
|
|
53919
53919
|
}
|
|
53920
53920
|
});
|
|
53921
|
-
},
|
|
53921
|
+
}, Ra = (Ae, Le, Lt, Wt, pn, Ln = !0) => {
|
|
53922
53922
|
const In = new Ks(Lt, Le), Rn = [];
|
|
53923
53923
|
let Jn = No();
|
|
53924
53924
|
yi(Ae, Jn, Lt, Le, !1);
|
|
@@ -53932,14 +53932,14 @@ function Ofe() {
|
|
|
53932
53932
|
}, Wt, Ln), Wt && yi(Ae, Jn, Wt, Le, !0), lo(), Rn;
|
|
53933
53933
|
}, Lo = (Ae, Le) => {
|
|
53934
53934
|
const Lt = Ns(Le.startContainer, Le.startOffset), Wt = Lt.element.dom, pn = Ns(Le.endContainer, Le.endOffset), Ln = pn.element.dom;
|
|
53935
|
-
return
|
|
53935
|
+
return Ra(Ae, Le.commonAncestorContainer, Wt, Ln, {
|
|
53936
53936
|
text: (In, Rn) => {
|
|
53937
53937
|
In === Ln ? Rn.fOffset += In.length - pn.offset : In === Wt && (Rn.sOffset += Lt.offset);
|
|
53938
53938
|
},
|
|
53939
53939
|
cef: (In) => {
|
|
53940
53940
|
const Rn = zt(sa(xo.fromDom(In), "*[contenteditable=true]"), (Jn) => {
|
|
53941
53941
|
const lo = Jn.dom;
|
|
53942
|
-
return
|
|
53942
|
+
return Ra(Ae, lo, lo);
|
|
53943
53943
|
});
|
|
53944
53944
|
return tt(Rn, (Jn, lo) => Hs(Jn.elements[0].dom, lo.elements[0].dom) ? 1 : -1);
|
|
53945
53945
|
}
|
|
@@ -54072,10 +54072,10 @@ function Ofe() {
|
|
|
54072
54072
|
const lo = Ae.getBody(), us = We.grep(We.toArray(lo.getElementsByTagName("span")), vi);
|
|
54073
54073
|
for (let ar = 0; ar < us.length; ar++) {
|
|
54074
54074
|
const Ss = $i(us[ar]);
|
|
54075
|
-
let
|
|
54076
|
-
if (pn ||
|
|
54075
|
+
let Ma = Rn = parseInt(Ss, 10);
|
|
54076
|
+
if (pn || Ma === Ln.index) {
|
|
54077
54077
|
for (Lt.length ? (us[ar].innerText = Lt, Xn(us[ar])) : Bl(Ae.dom, us[ar]); us[++ar]; )
|
|
54078
|
-
if (
|
|
54078
|
+
if (Ma = parseInt($i(us[ar]), 10), Ma === Rn)
|
|
54079
54079
|
Bl(Ae.dom, us[ar]);
|
|
54080
54080
|
else {
|
|
54081
54081
|
ar--;
|
|
@@ -54175,7 +54175,7 @@ function Ofe() {
|
|
|
54175
54175
|
wholewords: ar.wholeWord,
|
|
54176
54176
|
matchcase: ar.matchCase,
|
|
54177
54177
|
inselection: ar.inSelection
|
|
54178
|
-
},
|
|
54178
|
+
}, Ma = (So) => {
|
|
54179
54179
|
const Io = [
|
|
54180
54180
|
{
|
|
54181
54181
|
type: "label",
|
|
@@ -54227,7 +54227,7 @@ function Ofe() {
|
|
|
54227
54227
|
size: "normal",
|
|
54228
54228
|
body: {
|
|
54229
54229
|
type: "panel",
|
|
54230
|
-
items:
|
|
54230
|
+
items: Ma(So)
|
|
54231
54231
|
},
|
|
54232
54232
|
buttons: [
|
|
54233
54233
|
{
|
|
@@ -59458,7 +59458,7 @@ class of {
|
|
|
59458
59458
|
}
|
|
59459
59459
|
}
|
|
59460
59460
|
const gJ = [];
|
|
59461
|
-
class
|
|
59461
|
+
class Da {
|
|
59462
59462
|
constructor() {
|
|
59463
59463
|
this.parent = null, this.dom = null, this.flags = 2;
|
|
59464
59464
|
}
|
|
@@ -59489,7 +59489,7 @@ class Aa {
|
|
|
59489
59489
|
for (let O of this.children) {
|
|
59490
59490
|
if (O.flags & 7) {
|
|
59491
59491
|
if (!O.dom && (m = f ? f.nextSibling : c.firstChild)) {
|
|
59492
|
-
let w =
|
|
59492
|
+
let w = Da.get(m);
|
|
59493
59493
|
(!w || !w.parent && w.canReuseDOM(O)) && O.reuseDOM(m);
|
|
59494
59494
|
}
|
|
59495
59495
|
O.sync(o, i), O.flags &= -8;
|
|
@@ -59525,7 +59525,7 @@ class Aa {
|
|
|
59525
59525
|
}
|
|
59526
59526
|
if (c == this.dom.firstChild)
|
|
59527
59527
|
return 0;
|
|
59528
|
-
for (; c && !
|
|
59528
|
+
for (; c && !Da.get(c); )
|
|
59529
59529
|
c = c.nextSibling;
|
|
59530
59530
|
if (!c)
|
|
59531
59531
|
return this.length;
|
|
@@ -59638,7 +59638,7 @@ class Aa {
|
|
|
59638
59638
|
this.parent = null;
|
|
59639
59639
|
}
|
|
59640
59640
|
}
|
|
59641
|
-
|
|
59641
|
+
Da.prototype.breakAfter = 0;
|
|
59642
59642
|
function kne(u) {
|
|
59643
59643
|
let o = u.nextSibling;
|
|
59644
59644
|
return u.parentNode.removeChild(u), o;
|
|
@@ -59699,7 +59699,7 @@ var Ao = {
|
|
|
59699
59699
|
tabSize: PK.documentElement.style.tabSize != null ? "tab-size" : "-moz-tab-size"
|
|
59700
59700
|
};
|
|
59701
59701
|
const ahe = 256;
|
|
59702
|
-
class Wp extends
|
|
59702
|
+
class Wp extends Da {
|
|
59703
59703
|
constructor(o) {
|
|
59704
59704
|
super(), this.text = o;
|
|
59705
59705
|
}
|
|
@@ -59735,7 +59735,7 @@ class Wp extends Aa {
|
|
|
59735
59735
|
return lhe(this.dom, o, i);
|
|
59736
59736
|
}
|
|
59737
59737
|
}
|
|
59738
|
-
class VO extends
|
|
59738
|
+
class VO extends Da {
|
|
59739
59739
|
constructor(o, i = [], c = 0) {
|
|
59740
59740
|
super(), this.mark = o, this.children = i, this.length = c;
|
|
59741
59741
|
for (let f of i)
|
|
@@ -59786,7 +59786,7 @@ function lhe(u, o, i) {
|
|
|
59786
59786
|
let T = w[(O ? O < 0 : i >= 0) ? 0 : w.length - 1];
|
|
59787
59787
|
return Ao.safari && !O && T.width == 0 && (T = Array.prototype.find.call(w, (P) => P.width) || T), O ? jF(T, O < 0) : T || null;
|
|
59788
59788
|
}
|
|
59789
|
-
class qS extends
|
|
59789
|
+
class qS extends Da {
|
|
59790
59790
|
static create(o, i, c) {
|
|
59791
59791
|
return new qS(o, i, c);
|
|
59792
59792
|
}
|
|
@@ -59855,7 +59855,7 @@ class qS extends Aa {
|
|
|
59855
59855
|
super.destroy(), this.dom && this.widget.destroy(this.dom);
|
|
59856
59856
|
}
|
|
59857
59857
|
}
|
|
59858
|
-
class O_ extends
|
|
59858
|
+
class O_ extends Da {
|
|
59859
59859
|
constructor(o) {
|
|
59860
59860
|
super(), this.side = o;
|
|
59861
59861
|
}
|
|
@@ -60202,7 +60202,7 @@ function aF(u, o, i, c = 0) {
|
|
|
60202
60202
|
let f = i.length - 1;
|
|
60203
60203
|
f >= 0 && i[f] + c >= u ? i[f] = Math.max(i[f], o) : i.push(u, o);
|
|
60204
60204
|
}
|
|
60205
|
-
class Mc extends
|
|
60205
|
+
class Mc extends Da {
|
|
60206
60206
|
constructor() {
|
|
60207
60207
|
super(...arguments), this.children = [], this.length = 0, this.prevAttrs = void 0, this.attrs = null, this.breakAfter = 0;
|
|
60208
60208
|
}
|
|
@@ -60251,9 +60251,9 @@ class Mc extends Aa {
|
|
|
60251
60251
|
var c;
|
|
60252
60252
|
this.dom ? this.flags & 4 && (Hse(this.dom), this.dom.className = "cm-line", this.prevAttrs = this.attrs ? null : void 0) : (this.setDOM(document.createElement("div")), this.dom.className = "cm-line", this.prevAttrs = this.attrs ? null : void 0), this.prevAttrs !== void 0 && (MK(this.dom, this.prevAttrs, this.attrs), this.dom.classList.add("cm-line"), this.prevAttrs = void 0), super.sync(o, i);
|
|
60253
60253
|
let f = this.dom.lastChild;
|
|
60254
|
-
for (; f &&
|
|
60254
|
+
for (; f && Da.get(f) instanceof VO; )
|
|
60255
60255
|
f = f.lastChild;
|
|
60256
|
-
if (!f || !this.length || f.nodeName != "BR" && ((c =
|
|
60256
|
+
if (!f || !this.length || f.nodeName != "BR" && ((c = Da.get(f)) === null || c === void 0 ? void 0 : c.isEditable) == !1 && (!Ao.ios || !this.children.some((m) => m instanceof Wp))) {
|
|
60257
60257
|
let m = document.createElement("BR");
|
|
60258
60258
|
m.cmIgnore = !0, this.dom.appendChild(m);
|
|
60259
60259
|
}
|
|
@@ -60307,7 +60307,7 @@ class Mc extends Aa {
|
|
|
60307
60307
|
return null;
|
|
60308
60308
|
}
|
|
60309
60309
|
}
|
|
60310
|
-
class FO extends
|
|
60310
|
+
class FO extends Da {
|
|
60311
60311
|
constructor(o, i, c) {
|
|
60312
60312
|
super(), this.widget = o, this.length = i, this.deco = c, this.breakAfter = 0, this.prevWidget = null;
|
|
60313
60313
|
}
|
|
@@ -60994,7 +60994,7 @@ class xF {
|
|
|
60994
60994
|
return this.flags == 0 && this.transactions.length == 0;
|
|
60995
60995
|
}
|
|
60996
60996
|
}
|
|
60997
|
-
class Pne extends
|
|
60997
|
+
class Pne extends Da {
|
|
60998
60998
|
get length() {
|
|
60999
60999
|
return this.view.state.doc.length;
|
|
61000
61000
|
}
|
|
@@ -61076,7 +61076,7 @@ class Pne extends Aa {
|
|
|
61076
61076
|
(T) => T.flags & 7
|
|
61077
61077
|
/* ViewFlag.Dirty */
|
|
61078
61078
|
) ? 1 : 0), this.markedForComposition.add(O);
|
|
61079
|
-
let w =
|
|
61079
|
+
let w = Da.get(m);
|
|
61080
61080
|
w && w != O && (w.dom = null), O.setDOM(m);
|
|
61081
61081
|
}, c = this.childPos(o.range.fromB, 1), f = this.children[c.i];
|
|
61082
61082
|
i(o.line, f);
|
|
@@ -61155,18 +61155,18 @@ class Pne extends Aa {
|
|
|
61155
61155
|
if (o.node != i)
|
|
61156
61156
|
return o;
|
|
61157
61157
|
for (let f = o.offset; !c && f < i.childNodes.length; f++) {
|
|
61158
|
-
let m =
|
|
61158
|
+
let m = Da.get(i.childNodes[f]);
|
|
61159
61159
|
m instanceof Mc && (c = m.domAtPos(0));
|
|
61160
61160
|
}
|
|
61161
61161
|
for (let f = o.offset - 1; !c && f >= 0; f--) {
|
|
61162
|
-
let m =
|
|
61162
|
+
let m = Da.get(i.childNodes[f]);
|
|
61163
61163
|
m instanceof Mc && (c = m.domAtPos(m.length));
|
|
61164
61164
|
}
|
|
61165
61165
|
return c ? new of(c.node, c.offset, !0) : o;
|
|
61166
61166
|
}
|
|
61167
61167
|
nearest(o) {
|
|
61168
61168
|
for (let i = o; i; ) {
|
|
61169
|
-
let c =
|
|
61169
|
+
let c = Da.get(i);
|
|
61170
61170
|
if (c && c.rootView == this)
|
|
61171
61171
|
return c;
|
|
61172
61172
|
i = i.parentNode;
|
|
@@ -61348,11 +61348,11 @@ function wre(u, o) {
|
|
|
61348
61348
|
return null;
|
|
61349
61349
|
let c = Wse(i.focusNode, i.focusOffset), f = jse(i.focusNode, i.focusOffset), m = c || f;
|
|
61350
61350
|
if (f && c && f.node != c.node) {
|
|
61351
|
-
let w =
|
|
61351
|
+
let w = Da.get(f.node);
|
|
61352
61352
|
if (!w || w instanceof Wp && w.text != f.node.nodeValue)
|
|
61353
61353
|
m = f;
|
|
61354
61354
|
else if (u.docView.lastCompositionAfterCursor) {
|
|
61355
|
-
let T =
|
|
61355
|
+
let T = Da.get(c.node);
|
|
61356
61356
|
!T || T instanceof Wp && T.text != c.node.nodeValue || (m = f);
|
|
61357
61357
|
}
|
|
61358
61358
|
}
|
|
@@ -61370,7 +61370,7 @@ function khe(u, o, i) {
|
|
|
61370
61370
|
return null;
|
|
61371
61371
|
let T = o.invertedDesc, P = new Lg(T.mapPos(m), T.mapPos(O), m, O), R = [];
|
|
61372
61372
|
for (let F = f.parentNode; ; F = F.parentNode) {
|
|
61373
|
-
let H =
|
|
61373
|
+
let H = Da.get(F);
|
|
61374
61374
|
if (H instanceof VO)
|
|
61375
61375
|
R.push({ node: F, deco: H.mark });
|
|
61376
61376
|
else {
|
|
@@ -61693,7 +61693,7 @@ class Qhe {
|
|
|
61693
61693
|
let O = f.nextSibling;
|
|
61694
61694
|
if (O == i)
|
|
61695
61695
|
break;
|
|
61696
|
-
let w =
|
|
61696
|
+
let w = Da.get(f), T = Da.get(O);
|
|
61697
61697
|
(w && T ? w.breakAfter : (w ? w.breakAfter : vF(f)) || vF(O) && (f.nodeName != "BR" || f.cmIgnore) && this.text.length > m) && this.lineBreak(), f = O;
|
|
61698
61698
|
}
|
|
61699
61699
|
return this.findPointBefore(c, i), this;
|
|
@@ -61715,7 +61715,7 @@ class Qhe {
|
|
|
61715
61715
|
readNode(o) {
|
|
61716
61716
|
if (o.cmIgnore)
|
|
61717
61717
|
return;
|
|
61718
|
-
let i =
|
|
61718
|
+
let i = Da.get(o), c = i && i.overrideDOMText;
|
|
61719
61719
|
if (c != null) {
|
|
61720
61720
|
this.findPointInside(o, c.length);
|
|
61721
61721
|
for (let f = c.iter(); !f.next().done; )
|
|
@@ -62075,7 +62075,7 @@ function eme(u, o) {
|
|
|
62075
62075
|
if (o.defaultPrevented)
|
|
62076
62076
|
return !1;
|
|
62077
62077
|
for (let i = o.target, c; i != u.contentDOM; i = i.parentNode)
|
|
62078
|
-
if (!i || i.nodeType == 11 || (c =
|
|
62078
|
+
if (!i || i.nodeType == 11 || (c = Da.get(i)) && c.ignoreEvent(o))
|
|
62079
62079
|
return !1;
|
|
62080
62080
|
return !0;
|
|
62081
62081
|
}
|
|
@@ -63707,7 +63707,7 @@ class Sme {
|
|
|
63707
63707
|
}
|
|
63708
63708
|
function Yne(u, o, i) {
|
|
63709
63709
|
for (; o; ) {
|
|
63710
|
-
let c =
|
|
63710
|
+
let c = Da.get(o);
|
|
63711
63711
|
if (c && c.parent == u)
|
|
63712
63712
|
return c;
|
|
63713
63713
|
let f = o.parentNode;
|
|
@@ -64588,7 +64588,7 @@ class ms {
|
|
|
64588
64588
|
*/
|
|
64589
64589
|
static findFromDOM(o) {
|
|
64590
64590
|
var i;
|
|
64591
|
-
let c = o.querySelector(".cm-content"), f = c &&
|
|
64591
|
+
let c = o.querySelector(".cm-content"), f = c && Da.get(c) || Da.get(o);
|
|
64592
64592
|
return ((i = f == null ? void 0 : f.rootView) === null || i === void 0 ? void 0 : i.view) || null;
|
|
64593
64593
|
}
|
|
64594
64594
|
}
|
|
@@ -75461,13 +75461,13 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75461
75461
|
Z("div", Cye, [
|
|
75462
75462
|
Z("a", {
|
|
75463
75463
|
href: "#",
|
|
75464
|
-
onClick: o[3] || (o[3] =
|
|
75464
|
+
onClick: o[3] || (o[3] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
75465
75465
|
disabled: f.currentPage === 1,
|
|
75466
75466
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
75467
75467
|
}, "Previous", 8, Tye),
|
|
75468
75468
|
Z("a", {
|
|
75469
75469
|
href: "#",
|
|
75470
|
-
onClick: o[4] || (o[4] =
|
|
75470
|
+
onClick: o[4] || (o[4] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
75471
75471
|
disabled: f.currentPage === m.totalPages,
|
|
75472
75472
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
75473
75473
|
}, "Next", 8, _ye)
|
|
@@ -75490,7 +75490,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75490
75490
|
Z("li", null, [
|
|
75491
75491
|
Z("a", {
|
|
75492
75492
|
href: "#",
|
|
75493
|
-
onClick: o[5] || (o[5] =
|
|
75493
|
+
onClick: o[5] || (o[5] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
75494
75494
|
disabled: f.currentPage === 1,
|
|
75495
75495
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
75496
75496
|
}, o[16] || (o[16] = [
|
|
@@ -75517,7 +75517,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75517
75517
|
f.currentPage !== w ? (Ce(), Pe("a", {
|
|
75518
75518
|
key: 0,
|
|
75519
75519
|
href: "#",
|
|
75520
|
-
onClick:
|
|
75520
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
75521
75521
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
75522
75522
|
}, Mt(w), 9, Nye)) : Tt("", !0)
|
|
75523
75523
|
]),
|
|
@@ -75525,7 +75525,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75525
75525
|
f.currentPage === w ? (Ce(), Pe("a", {
|
|
75526
75526
|
key: 0,
|
|
75527
75527
|
href: "#",
|
|
75528
|
-
onClick:
|
|
75528
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
75529
75529
|
"aria-current": "page",
|
|
75530
75530
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
75531
75531
|
}, Mt(w), 9, Lye)) : Tt("", !0)
|
|
@@ -75534,7 +75534,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75534
75534
|
Z("li", null, [
|
|
75535
75535
|
Z("a", {
|
|
75536
75536
|
href: "#",
|
|
75537
|
-
onClick: o[6] || (o[6] =
|
|
75537
|
+
onClick: o[6] || (o[6] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
75538
75538
|
disabled: f.currentPage === m.totalPages,
|
|
75539
75539
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
75540
75540
|
}, o[17] || (o[17] = [
|
|
@@ -75980,7 +75980,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
75980
75980
|
Z("tr", null, [
|
|
75981
75981
|
(Ce(!0), Pe(Fo, null, Hr(i.columns, (w, T) => (Ce(), Pe("th", {
|
|
75982
75982
|
key: T,
|
|
75983
|
-
onClick:
|
|
75983
|
+
onClick: Aa((P) => m.sort(w), ["prevent"]),
|
|
75984
75984
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
75985
75985
|
}, [
|
|
75986
75986
|
Vo(Mt(w) + " ", 1),
|
|
@@ -76013,13 +76013,13 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76013
76013
|
Z("div", Sve, [
|
|
76014
76014
|
Z("a", {
|
|
76015
76015
|
href: "#",
|
|
76016
|
-
onClick: o[2] || (o[2] =
|
|
76016
|
+
onClick: o[2] || (o[2] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
76017
76017
|
disabled: f.currentPage === 1,
|
|
76018
76018
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
76019
76019
|
}, "Previous", 8, kve),
|
|
76020
76020
|
Z("a", {
|
|
76021
76021
|
href: "#",
|
|
76022
|
-
onClick: o[3] || (o[3] =
|
|
76022
|
+
onClick: o[3] || (o[3] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
76023
76023
|
disabled: f.currentPage === m.totalPages,
|
|
76024
76024
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
76025
76025
|
}, "Next", 8, Cve)
|
|
@@ -76042,7 +76042,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76042
76042
|
Z("li", null, [
|
|
76043
76043
|
Z("a", {
|
|
76044
76044
|
href: "#",
|
|
76045
|
-
onClick: o[4] || (o[4] =
|
|
76045
|
+
onClick: o[4] || (o[4] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
76046
76046
|
disabled: f.currentPage === 1,
|
|
76047
76047
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
76048
76048
|
}, o[14] || (o[14] = [
|
|
@@ -76069,7 +76069,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76069
76069
|
f.currentPage !== w ? (Ce(), Pe("a", {
|
|
76070
76070
|
key: 0,
|
|
76071
76071
|
href: "#",
|
|
76072
|
-
onClick:
|
|
76072
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
76073
76073
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
76074
76074
|
}, Mt(w), 9, Mve)) : Tt("", !0)
|
|
76075
76075
|
]),
|
|
@@ -76077,7 +76077,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76077
76077
|
f.currentPage === w ? (Ce(), Pe("a", {
|
|
76078
76078
|
key: 0,
|
|
76079
76079
|
href: "#",
|
|
76080
|
-
onClick:
|
|
76080
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
76081
76081
|
"aria-current": "page",
|
|
76082
76082
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
76083
76083
|
}, Mt(w), 9, Bve)) : Tt("", !0)
|
|
@@ -76086,7 +76086,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76086
76086
|
Z("li", null, [
|
|
76087
76087
|
Z("a", {
|
|
76088
76088
|
href: "#",
|
|
76089
|
-
onClick: o[5] || (o[5] =
|
|
76089
|
+
onClick: o[5] || (o[5] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
76090
76090
|
disabled: f.currentPage === m.totalPages,
|
|
76091
76091
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
76092
76092
|
}, o[15] || (o[15] = [
|
|
@@ -76510,7 +76510,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76510
76510
|
F.can(`delete_${u.xprops.permission}`) ? (Ce(), Pe("li", i2e, [
|
|
76511
76511
|
Z("a", {
|
|
76512
76512
|
href: "#",
|
|
76513
|
-
onClick:
|
|
76513
|
+
onClick: Aa(T, ["prevent"]),
|
|
76514
76514
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
76515
76515
|
}, H[2] || (H[2] = [
|
|
76516
76516
|
Z("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
@@ -76607,7 +76607,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76607
76607
|
F.can(`delete_${u.xprops.permission}`) ? (Ce(), Pe("li", u2e, [
|
|
76608
76608
|
Z("a", {
|
|
76609
76609
|
href: "#",
|
|
76610
|
-
onClick:
|
|
76610
|
+
onClick: Aa(T, ["prevent"]),
|
|
76611
76611
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
76612
76612
|
}, H[1] || (H[1] = [
|
|
76613
76613
|
Z("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
@@ -76715,7 +76715,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76715
76715
|
H.can(`access_${u.xprops.permission}`) ? (Ce(), Pe("li", m2e, [
|
|
76716
76716
|
Z("a", {
|
|
76717
76717
|
href: "#",
|
|
76718
|
-
onClick: K[0] || (K[0] =
|
|
76718
|
+
onClick: K[0] || (K[0] = Aa((Te) => R(u.row), ["prevent"])),
|
|
76719
76719
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
76720
76720
|
}, [
|
|
76721
76721
|
K[2] || (K[2] = Z("i", { class: "mr-1 fa-solid fa-pen-to-square opacity-80" }, null, -1)),
|
|
@@ -76725,7 +76725,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76725
76725
|
H.can(`delete_${u.xprops.permission}`) ? (Ce(), Pe("li", g2e, [
|
|
76726
76726
|
Z("a", {
|
|
76727
76727
|
href: "#",
|
|
76728
|
-
onClick:
|
|
76728
|
+
onClick: Aa(O, ["prevent"]),
|
|
76729
76729
|
class: "block px-4 py-2 text-red-600 hover:text-white hover:bg-red-600 dark:text-red-500 dark:hover:text-white dark:hover:bg-red-600"
|
|
76730
76730
|
}, [
|
|
76731
76731
|
K[3] || (K[3] = Z("i", { class: "mr-1 fa-solid fa-trash-can opacity-80" }, null, -1)),
|