golden-logic-ui 1.0.595 → 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 +601 -598
- 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, [
|
|
@@ -538,7 +538,7 @@ const kxe = /* @__PURE__ */ Ti(jae, [["render", ple]]), ble = {
|
|
|
538
538
|
id: this.menu_id
|
|
539
539
|
};
|
|
540
540
|
axios.get("/admin/get_locals", { params: u }).then((o) => {
|
|
541
|
-
this.locals = o.data.locals, this.default_language = o.data.default_language;
|
|
541
|
+
this.locals = o.data.locals, this.default_language = o.data.default_language, this.$refs.language_selector.classList.add("gl-multilanguage");
|
|
542
542
|
}).catch((o) => {
|
|
543
543
|
console.error(o);
|
|
544
544
|
});
|
|
@@ -549,7 +549,10 @@ const kxe = /* @__PURE__ */ Ti(jae, [["render", ple]]), ble = {
|
|
|
549
549
|
},
|
|
550
550
|
mounted() {
|
|
551
551
|
}
|
|
552
|
-
}, Ole = {
|
|
552
|
+
}, Ole = {
|
|
553
|
+
class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector",
|
|
554
|
+
ref: "language_selector"
|
|
555
|
+
}, yle = ["name", "value", "id", "checked"], vle = ["for"];
|
|
553
556
|
function wle(u, o, i, c, f, m) {
|
|
554
557
|
return Ce(), Pe("ul", Ole, [
|
|
555
558
|
(Ce(!0), Pe(Fo, null, Hr(f.locals, (O, w) => (Ce(), Pe("li", null, [
|
|
@@ -571,7 +574,7 @@ function wle(u, o, i, c, f, m) {
|
|
|
571
574
|
}, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
572
575
|
}, Mt(O), 11, vle)
|
|
573
576
|
]))), 256))
|
|
574
|
-
]);
|
|
577
|
+
], 512);
|
|
575
578
|
}
|
|
576
579
|
const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, Sle = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, kle = { class: "font-semibold text-black dark:text-white" }, Txe = {
|
|
577
580
|
__name: "GlCard",
|
|
@@ -886,7 +889,7 @@ const Cxe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
886
889
|
}, [
|
|
887
890
|
Vo(Mt(hn == null ? void 0 : hn.name) + " ", 1),
|
|
888
891
|
Z("i", {
|
|
889
|
-
onClick:
|
|
892
|
+
onClick: Aa((dn) => sn(hn), ["stop"]),
|
|
890
893
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400"
|
|
891
894
|
}, Qt[5] || (Qt[5] = [
|
|
892
895
|
Z("svg", {
|
|
@@ -1999,7 +2002,7 @@ function vue(u, o, i, c, f, m) {
|
|
|
1999
2002
|
Z("div", Kce, [
|
|
2000
2003
|
Z("button", {
|
|
2001
2004
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2002
|
-
onClick: o[1] || (o[1] =
|
|
2005
|
+
onClick: o[1] || (o[1] = Aa((O) => m.prev(), ["stop"]))
|
|
2003
2006
|
}, [
|
|
2004
2007
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", Jce, o[8] || (o[8] = [
|
|
2005
2008
|
Z("path", {
|
|
@@ -2026,7 +2029,7 @@ function vue(u, o, i, c, f, m) {
|
|
|
2026
2029
|
Z("div", tue, [
|
|
2027
2030
|
Z("button", {
|
|
2028
2031
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2029
|
-
onClick: o[2] || (o[2] =
|
|
2032
|
+
onClick: o[2] || (o[2] = Aa((O) => m.next(), ["stop"]))
|
|
2030
2033
|
}, [
|
|
2031
2034
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", nue, o[10] || (o[10] = [
|
|
2032
2035
|
Z("path", {
|
|
@@ -2427,7 +2430,7 @@ function Yue(u, o, i, c, f, m) {
|
|
|
2427
2430
|
Z("div", $ue, [
|
|
2428
2431
|
Z("button", {
|
|
2429
2432
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2430
|
-
onClick: o[1] || (o[1] =
|
|
2433
|
+
onClick: o[1] || (o[1] = Aa((O) => m.prev(), ["stop"]))
|
|
2431
2434
|
}, [
|
|
2432
2435
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", Pue, o[8] || (o[8] = [
|
|
2433
2436
|
Z("path", {
|
|
@@ -2454,7 +2457,7 @@ function Yue(u, o, i, c, f, m) {
|
|
|
2454
2457
|
Z("div", Due, [
|
|
2455
2458
|
Z("button", {
|
|
2456
2459
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2457
|
-
onClick: o[2] || (o[2] =
|
|
2460
|
+
onClick: o[2] || (o[2] = Aa((O) => m.next(), ["stop"]))
|
|
2458
2461
|
}, [
|
|
2459
2462
|
i.direction_property == "ltr" ? (Ce(), Pe("svg", Rue, o[10] || (o[10] = [
|
|
2460
2463
|
Z("path", {
|
|
@@ -3397,8 +3400,8 @@ const Lxe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3397
3400
|
readonly: ""
|
|
3398
3401
|
}, null, 10, Qde),
|
|
3399
3402
|
Ur(Z("i", {
|
|
3400
|
-
onClick: tt[1] || (tt[1] =
|
|
3401
|
-
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",
|
|
3402
3405
|
style: { top: "13px" }
|
|
3403
3406
|
}, tt[6] || (tt[6] = [
|
|
3404
3407
|
Z("svg", {
|
|
@@ -3420,7 +3423,7 @@ const Lxe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3420
3423
|
[Vh, et(f.value) && u.has_cancel]
|
|
3421
3424
|
]),
|
|
3422
3425
|
Z("i", {
|
|
3423
|
-
onClick: tt[2] || (tt[2] = (wt) => ln()),
|
|
3426
|
+
onClick: tt[2] || (tt[2] = Aa((wt) => ln(), ["stop"])),
|
|
3424
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",
|
|
3425
3428
|
style: { top: "13px" }
|
|
3426
3429
|
}, [
|
|
@@ -3895,7 +3898,7 @@ function sfe() {
|
|
|
3895
3898
|
return a;
|
|
3896
3899
|
}
|
|
3897
3900
|
return Y.none();
|
|
3898
|
-
},
|
|
3901
|
+
}, Ra = (e, n) => {
|
|
3899
3902
|
const s = [], a = ye(n) ? (d) => ze(s, (p) => n(p, d)) : (d) => Ne(s, d);
|
|
3900
3903
|
for (let d = 0, p = e.length; d < p; d++) {
|
|
3901
3904
|
const v = e[d];
|
|
@@ -4058,7 +4061,7 @@ function sfe() {
|
|
|
4058
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) => {
|
|
4059
4062
|
const d = e.indexOf(n, s);
|
|
4060
4063
|
return d !== -1 ? sn(a) ? !0 : d + n.length <= a : !1;
|
|
4061
|
-
}, 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) => {
|
|
4062
4065
|
const s = parseInt(e, n);
|
|
4063
4066
|
return isNaN(s) ? Y.none() : Y.some(s);
|
|
4064
4067
|
}, hi = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Pi = (e) => (n) => Jn(n, e), js = [
|
|
@@ -4153,7 +4156,7 @@ function sfe() {
|
|
|
4153
4156
|
], bl = {
|
|
4154
4157
|
browsers: wt(js),
|
|
4155
4158
|
oses: wt(bd)
|
|
4156
|
-
}, 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({
|
|
4157
4160
|
current: void 0,
|
|
4158
4161
|
version: Ae.unknown()
|
|
4159
4162
|
}), ei = (e) => {
|
|
@@ -4166,7 +4169,7 @@ function sfe() {
|
|
|
4166
4169
|
isIE: a(Ol),
|
|
4167
4170
|
isOpera: a(lr),
|
|
4168
4171
|
isFirefox: a(kc),
|
|
4169
|
-
isSafari: a(
|
|
4172
|
+
isSafari: a(Ba)
|
|
4170
4173
|
};
|
|
4171
4174
|
}, su = {
|
|
4172
4175
|
unknown: Nl,
|
|
@@ -4176,7 +4179,7 @@ function sfe() {
|
|
|
4176
4179
|
ie: wt(Ol),
|
|
4177
4180
|
opera: wt(lr),
|
|
4178
4181
|
firefox: wt(kc),
|
|
4179
|
-
safari: wt(
|
|
4182
|
+
safari: wt(Ba)
|
|
4180
4183
|
}, pa = "Windows", ru = "iOS", Wl = "Android", Od = "Linux", Wr = "macOS", yl = "Solaris", uc = "FreeBSD", iu = "ChromeOS", dc = () => fc({
|
|
4181
4184
|
current: void 0,
|
|
4182
4185
|
version: Ae.unknown()
|
|
@@ -4317,7 +4320,7 @@ function sfe() {
|
|
|
4317
4320
|
}, Zm = Object.getPrototypeOf, cr = (e) => zh("HTMLElement", e), Qc = (e) => {
|
|
4318
4321
|
const n = ti("ownerDocument.defaultView", e);
|
|
4319
4322
|
return We(e) && (cr(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test(Zm(e).constructor.name));
|
|
4320
|
-
}, 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) => {
|
|
4321
4324
|
if (re(s) || $t(s) || zt(s))
|
|
4322
4325
|
e.setAttribute(n, s + "");
|
|
4323
4326
|
else
|
|
@@ -4349,12 +4352,12 @@ function sfe() {
|
|
|
4349
4352
|
}, cf = (e, n, s) => {
|
|
4350
4353
|
const a = wn(Fu(e, n), (d) => d !== s);
|
|
4351
4354
|
return a.length > 0 ? qr(e, n, a.join(" ")) : Vs(e, n), !1;
|
|
4352
|
-
}, 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) => {
|
|
4353
4356
|
yd(e) ? e.dom.classList.add(n) : jl(e, n);
|
|
4354
4357
|
}, Vm = (e) => {
|
|
4355
4358
|
(yd(e) ? e.dom.classList : vd(e)).length === 0 && Vs(e, "class");
|
|
4356
4359
|
}, uf = (e, n) => {
|
|
4357
|
-
yd(e) ? e.dom.classList.remove(n) :
|
|
4360
|
+
yd(e) ? e.dom.classList.remove(n) : Ia(e, n), Vm(e);
|
|
4358
4361
|
}, zm = (e, n) => {
|
|
4359
4362
|
const s = yd(e) ? e.dom.classList.toggle(n) : qp(e, n);
|
|
4360
4363
|
return Vm(e), s;
|
|
@@ -4404,7 +4407,7 @@ function sfe() {
|
|
|
4404
4407
|
return a.mozMatchesSelector(n);
|
|
4405
4408
|
throw new Error("Browser lacks native selectors");
|
|
4406
4409
|
}
|
|
4407
|
-
}, 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) => {
|
|
4408
4411
|
const s = n === void 0 ? document : n.dom;
|
|
4409
4412
|
return Q1(s) ? [] : Je(s.querySelectorAll(e), Me.fromDom);
|
|
4410
4413
|
}, xd = (e, n) => {
|
|
@@ -4413,7 +4416,7 @@ function sfe() {
|
|
|
4413
4416
|
}, ks = (e, n) => e.dom === n.dom, Gr = (e, n) => {
|
|
4414
4417
|
const s = e.dom, a = n.dom;
|
|
4415
4418
|
return s === a ? !1 : s.contains(a);
|
|
4416
|
-
}, 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) => {
|
|
4417
4420
|
const s = ye(n) ? n : Ke;
|
|
4418
4421
|
let a = e.dom;
|
|
4419
4422
|
const d = [];
|
|
@@ -4426,11 +4429,11 @@ function sfe() {
|
|
|
4426
4429
|
return d;
|
|
4427
4430
|
}, Vu = (e) => {
|
|
4428
4431
|
const n = (s) => wn(s, (a) => !ks(e, a));
|
|
4429
|
-
return
|
|
4432
|
+
return Qa(e).map(la).map(n).getOr([]);
|
|
4430
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) => {
|
|
4431
4434
|
const s = e.dom.childNodes;
|
|
4432
4435
|
return Y.from(s[n]).map(Me.fromDom);
|
|
4433
|
-
}, 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) => {
|
|
4434
4437
|
const n = e.dom.head;
|
|
4435
4438
|
if (n == null)
|
|
4436
4439
|
throw new Error("Head is not available yet");
|
|
@@ -4521,12 +4524,12 @@ function sfe() {
|
|
|
4521
4524
|
const s = e.dom;
|
|
4522
4525
|
Xm(s, n), ia(Vr(e, "style").map(Ss), "") && Vs(e, "style");
|
|
4523
4526
|
}, Xi = (e) => e.dom.offsetWidth, al = (e, n) => {
|
|
4524
|
-
|
|
4527
|
+
Qa(e).each((a) => {
|
|
4525
4528
|
a.dom.insertBefore(n.dom, e.dom);
|
|
4526
4529
|
});
|
|
4527
4530
|
}, gc = (e, n) => {
|
|
4528
4531
|
Gf(e).fold(() => {
|
|
4529
|
-
|
|
4532
|
+
Qa(e).each((d) => {
|
|
4530
4533
|
wr(d, n);
|
|
4531
4534
|
});
|
|
4532
4535
|
}, (a) => {
|
|
@@ -4633,8 +4636,8 @@ function sfe() {
|
|
|
4633
4636
|
return Se(la(e), (a) => {
|
|
4634
4637
|
n(a) && (s = s.concat([a])), s = s.concat(t0(a, n));
|
|
4635
4638
|
}), s;
|
|
4636
|
-
},
|
|
4637
|
-
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 {
|
|
4638
4641
|
constructor(n, s) {
|
|
4639
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);
|
|
4640
4643
|
}
|
|
@@ -4683,7 +4686,7 @@ function sfe() {
|
|
|
4683
4686
|
}
|
|
4684
4687
|
}
|
|
4685
4688
|
}
|
|
4686
|
-
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) => {
|
|
4687
4690
|
for (const n of e)
|
|
4688
4691
|
if (!V1(n))
|
|
4689
4692
|
return !1;
|
|
@@ -4762,7 +4765,7 @@ function sfe() {
|
|
|
4762
4765
|
let d = n.firstChild, p = 0;
|
|
4763
4766
|
if (!d)
|
|
4764
4767
|
return !0;
|
|
4765
|
-
const v = new
|
|
4768
|
+
const v = new Va(d, n);
|
|
4766
4769
|
do {
|
|
4767
4770
|
if (a.skipBogus && yn(d)) {
|
|
4768
4771
|
const C = d.getAttribute("data-mce-bogus");
|
|
@@ -4885,7 +4888,7 @@ function sfe() {
|
|
|
4885
4888
|
Se([
|
|
4886
4889
|
...s,
|
|
4887
4890
|
...Ad(e, n) ? [n] : []
|
|
4888
|
-
], (a) => Se(
|
|
4891
|
+
], (a) => Se(Za(Me.fromDom(a), a.nodeName.toLowerCase()), (d) => {
|
|
4889
4892
|
Gu(e, d.dom) && Vc(d);
|
|
4890
4893
|
}));
|
|
4891
4894
|
}, kr = (e, n) => {
|
|
@@ -5013,16 +5016,16 @@ function sfe() {
|
|
|
5013
5016
|
});
|
|
5014
5017
|
} };
|
|
5015
5018
|
})(), Si = (e) => e.nodeName.toLowerCase() === "span", Xg = (e, n) => je(e) && (st(n, e) || n.isInline(e.nodeName.toLowerCase())), u0 = (e, n, s) => {
|
|
5016
|
-
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);
|
|
5017
5020
|
return p && v;
|
|
5018
|
-
}, 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) => {
|
|
5019
5022
|
var d;
|
|
5020
5023
|
const p = a || n;
|
|
5021
5024
|
if (yn(n) && Of(n))
|
|
5022
5025
|
return n;
|
|
5023
5026
|
const v = n.childNodes;
|
|
5024
5027
|
for (let C = v.length - 1; C >= 0; C--)
|
|
5025
|
-
|
|
5028
|
+
Ha(e, v[C], s, p);
|
|
5026
5029
|
if (yn(n)) {
|
|
5027
5030
|
const C = n.childNodes;
|
|
5028
5031
|
C.length === 1 && Of(C[0]) && ((d = n.parentNode) === null || d === void 0 || d.insertBefore(C[0], n));
|
|
@@ -5100,12 +5103,12 @@ function sfe() {
|
|
|
5100
5103
|
return p.named && p.numeric ? a : p.named ? n ? d : Tl : p.numeric ? Ju : tg;
|
|
5101
5104
|
},
|
|
5102
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))
|
|
5103
|
-
},
|
|
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) => {
|
|
5104
5107
|
const n = (s) => at(s) ? Je(s, n) : qO(s) ? new RegExp(s.source, s.flags) : We(s) ? zo(s, n) : s;
|
|
5105
5108
|
return n(e);
|
|
5106
5109
|
}, R_ = (e) => {
|
|
5107
5110
|
const n = /^(~)?(.+)$/;
|
|
5108
|
-
return Ks(
|
|
5111
|
+
return Ks(Ua(e, ","), (s) => {
|
|
5109
5112
|
const a = n.exec(s);
|
|
5110
5113
|
if (a) {
|
|
5111
5114
|
const p = a[1] === "~" ? "span" : "div", v = a[2];
|
|
@@ -5179,16 +5182,16 @@ function sfe() {
|
|
|
5179
5182
|
children: Fs(W, wt({}))
|
|
5180
5183
|
};
|
|
5181
5184
|
}, v = ($, B = "", W = "") => {
|
|
5182
|
-
const X =
|
|
5185
|
+
const X = Ua(W), G = Ua($);
|
|
5183
5186
|
let ie = G.length;
|
|
5184
5187
|
const ge = [
|
|
5185
5188
|
...n,
|
|
5186
|
-
...
|
|
5189
|
+
...Ua(B)
|
|
5187
5190
|
];
|
|
5188
5191
|
for (; ie--; )
|
|
5189
5192
|
p(G[ie], ge.slice(), X);
|
|
5190
5193
|
}, C = ($, B) => {
|
|
5191
|
-
const W =
|
|
5194
|
+
const W = Ua($), X = Ua(B);
|
|
5192
5195
|
let G = W.length;
|
|
5193
5196
|
for (; G--; ) {
|
|
5194
5197
|
const ie = d[W[G]];
|
|
@@ -5196,9 +5199,9 @@ function sfe() {
|
|
|
5196
5199
|
ie.attributes[X[ge]] = {}, ie.attributesOrder.push(X[ge]);
|
|
5197
5200
|
}
|
|
5198
5201
|
};
|
|
5199
|
-
return e !== "html5-strict" && (Se(
|
|
5202
|
+
return e !== "html5-strict" && (Se(Ua("acronym applet basefont big font strike tt"), (W) => {
|
|
5200
5203
|
v(W, "", s);
|
|
5201
|
-
}), Se(
|
|
5204
|
+
}), Se(Ua("center dir isindex noframes"), (W) => {
|
|
5202
5205
|
v(W, "", a);
|
|
5203
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", [
|
|
5204
5207
|
a,
|
|
@@ -5238,7 +5241,7 @@ function sfe() {
|
|
|
5238
5241
|
d.audio
|
|
5239
5242
|
], ($) => {
|
|
5240
5243
|
delete $.children.audio, delete $.children.video;
|
|
5241
|
-
}), Se(
|
|
5244
|
+
}), Se(Ua("a form meter progress dfn"), ($) => {
|
|
5242
5245
|
d[$] && delete d[$].children[$];
|
|
5243
5246
|
}), delete d.caption.children.table, delete d.script, d;
|
|
5244
5247
|
}, q1 = (e) => e === "-" ? "remove" : "add", ng = (e) => {
|
|
@@ -5249,10 +5252,10 @@ function sfe() {
|
|
|
5249
5252
|
}));
|
|
5250
5253
|
}, Kg = (e) => {
|
|
5251
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]+)\[([^\]]+)]$/;
|
|
5252
|
-
return Ks(
|
|
5255
|
+
return Ks(Ua(e, ","), (s) => {
|
|
5253
5256
|
const a = n.exec(s);
|
|
5254
5257
|
if (a) {
|
|
5255
|
-
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());
|
|
5256
5259
|
return [{
|
|
5257
5260
|
operation: p,
|
|
5258
5261
|
name: v,
|
|
@@ -5263,7 +5266,7 @@ function sfe() {
|
|
|
5263
5266
|
});
|
|
5264
5267
|
}, og = (e, n) => {
|
|
5265
5268
|
const s = /^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/, a = /[*?+]/, { attributes: d, attributesOrder: p } = n;
|
|
5266
|
-
return Se(
|
|
5269
|
+
return Se(Ua(e, "|"), (v) => {
|
|
5267
5270
|
const C = s.exec(v);
|
|
5268
5271
|
if (C) {
|
|
5269
5272
|
const $ = {}, B = C[1], W = C[2].replace(/[\\:]:/g, ":"), X = C[3], G = C[4];
|
|
@@ -5290,7 +5293,7 @@ function sfe() {
|
|
|
5290
5293
|
}), n.attributesOrder.push(...e.attributesOrder);
|
|
5291
5294
|
}, YO = (e, n) => {
|
|
5292
5295
|
const s = /^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;
|
|
5293
|
-
return Ks(
|
|
5296
|
+
return Ks(Ua(n, ","), (a) => {
|
|
5294
5297
|
const d = s.exec(a);
|
|
5295
5298
|
if (d) {
|
|
5296
5299
|
const p = d[1], v = d[2], C = d[3], $ = d[4], B = d[5], W = {
|
|
@@ -5329,9 +5332,9 @@ function sfe() {
|
|
|
5329
5332
|
const s = {}, a = {};
|
|
5330
5333
|
let d = [];
|
|
5331
5334
|
const p = {}, v = {}, C = (Yn, Cs, Ni) => {
|
|
5332
|
-
const
|
|
5333
|
-
if (
|
|
5334
|
-
return Go(
|
|
5335
|
+
const tl = e[Yn];
|
|
5336
|
+
if (tl)
|
|
5337
|
+
return Go(tl, /[, ]/, Go(tl.toUpperCase(), /[, ]/));
|
|
5335
5338
|
{
|
|
5336
5339
|
let gl = Jg[Yn];
|
|
5337
5340
|
return gl || (gl = JO(Cs, Ni), Jg[Yn] = gl), gl;
|
|
@@ -5344,19 +5347,19 @@ function sfe() {
|
|
|
5344
5347
|
});
|
|
5345
5348
|
const Zt = (Yn) => {
|
|
5346
5349
|
const Cs = Y.from(s["@"]), Ni = /[*?+]/;
|
|
5347
|
-
Se(YO(Cs, Yn ?? ""), ({ name:
|
|
5348
|
-
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)) {
|
|
5349
5352
|
const ai = gl;
|
|
5350
|
-
ai.pattern = XO(
|
|
5353
|
+
ai.pattern = XO(tl), d.push(ai);
|
|
5351
5354
|
} else
|
|
5352
|
-
s[
|
|
5355
|
+
s[tl] = gl;
|
|
5353
5356
|
});
|
|
5354
5357
|
}, fn = (Yn) => {
|
|
5355
5358
|
d = [], Se(Lo(s), (Cs) => {
|
|
5356
5359
|
delete s[Cs];
|
|
5357
5360
|
}), Zt(Yn);
|
|
5358
5361
|
}, Kn = (Yn, Cs) => {
|
|
5359
|
-
var Ni,
|
|
5362
|
+
var Ni, tl;
|
|
5360
5363
|
delete Jg.text_block_elements, delete Jg.block_elements;
|
|
5361
5364
|
const gl = Cs.extends ? !Pu(Cs.extends) : !1, $a = Cs.extends;
|
|
5362
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]) {
|
|
@@ -5379,7 +5382,7 @@ function sfe() {
|
|
|
5379
5382
|
}), s[Yn] = li;
|
|
5380
5383
|
}
|
|
5381
5384
|
if ($t(Cs.padEmpty)) {
|
|
5382
|
-
const ai = (
|
|
5385
|
+
const ai = (tl = s[Yn]) !== null && tl !== void 0 ? tl : {};
|
|
5383
5386
|
ai.paddEmpty = Cs.padEmpty, s[Yn] = ai;
|
|
5384
5387
|
}
|
|
5385
5388
|
if (at(Cs.children)) {
|
|
@@ -5406,7 +5409,7 @@ function sfe() {
|
|
|
5406
5409
|
}, ns = (Yn) => {
|
|
5407
5410
|
We(Yn) ? qt(Yn, (Cs, Ni) => Kn(Ni, Cs)) : re(Yn) && ts(Yn);
|
|
5408
5411
|
}, Gs = (Yn) => {
|
|
5409
|
-
Se(Kg(Yn ?? ""), ({ operation: Cs, name: Ni, validChildren:
|
|
5412
|
+
Se(Kg(Yn ?? ""), ({ operation: Cs, name: Ni, validChildren: tl }) => {
|
|
5410
5413
|
const gl = Cs === "replace" ? { "#comment": {} } : a[Ni], $a = (li) => {
|
|
5411
5414
|
Cs === "remove" ? delete gl[li] : gl[li] = {};
|
|
5412
5415
|
}, ai = (li) => {
|
|
@@ -5414,7 +5417,7 @@ function sfe() {
|
|
|
5414
5417
|
Se(Dc, $a);
|
|
5415
5418
|
});
|
|
5416
5419
|
};
|
|
5417
|
-
Se(
|
|
5420
|
+
Se(tl, ({ preset: li, name: Dc }) => {
|
|
5418
5421
|
li ? ai(Dc) : $a(Dc);
|
|
5419
5422
|
}), a[Ni] = gl;
|
|
5420
5423
|
});
|
|
@@ -5424,9 +5427,9 @@ function sfe() {
|
|
|
5424
5427
|
return Cs;
|
|
5425
5428
|
let Ni = d.length;
|
|
5426
5429
|
for (; Ni--; ) {
|
|
5427
|
-
const
|
|
5428
|
-
if (
|
|
5429
|
-
return
|
|
5430
|
+
const tl = d[Ni];
|
|
5431
|
+
if (tl.pattern.test(Yn))
|
|
5432
|
+
return tl;
|
|
5430
5433
|
}
|
|
5431
5434
|
}, Bi = () => {
|
|
5432
5435
|
e.valid_elements ? (fn(e.valid_elements), zn(B, (Yn, Cs) => {
|
|
@@ -5436,16 +5439,16 @@ function sfe() {
|
|
|
5436
5439
|
attributes: Yn.attributes,
|
|
5437
5440
|
attributesOrder: Yn.attributesOrder
|
|
5438
5441
|
}, a[Cs] = Yn.children;
|
|
5439
|
-
}), zn(
|
|
5440
|
-
const Cs =
|
|
5442
|
+
}), zn(Ua("strong/b em/i"), (Yn) => {
|
|
5443
|
+
const Cs = Ua(Yn, "/");
|
|
5441
5444
|
s[Cs[1]].outputName = Cs[0];
|
|
5442
5445
|
}), zn(En, (Yn, Cs) => {
|
|
5443
5446
|
s[Cs] && (e.padd_empty_block_inline_children && (s[Cs].paddInEmptyBlock = !0), s[Cs].removeEmpty = !0);
|
|
5444
|
-
}), zn(
|
|
5447
|
+
}), zn(Ua("ol ul blockquote a table tbody"), (Yn) => {
|
|
5445
5448
|
s[Yn] && (s[Yn].removeEmpty = !0);
|
|
5446
|
-
}), zn(
|
|
5449
|
+
}), zn(Ua("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"), (Yn) => {
|
|
5447
5450
|
s[Yn] && (s[Yn].paddEmpty = !0);
|
|
5448
|
-
}), zn(
|
|
5451
|
+
}), zn(Ua("span"), (Yn) => {
|
|
5449
5452
|
s[Yn].removeEmptyAttrs = !0;
|
|
5450
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({
|
|
5451
5454
|
dd: "dl",
|
|
@@ -5461,7 +5464,7 @@ function sfe() {
|
|
|
5461
5464
|
area: "map",
|
|
5462
5465
|
param: "video audio object"
|
|
5463
5466
|
}, (Yn, Cs) => {
|
|
5464
|
-
s[Cs] && (s[Cs].parentsRequired =
|
|
5467
|
+
s[Cs] && (s[Cs].parentsRequired = Ua(Yn));
|
|
5465
5468
|
}), e.invalid_elements && zn(KO(e.invalid_elements), (Yn) => {
|
|
5466
5469
|
s[Yn] && delete s[Yn];
|
|
5467
5470
|
}), ir("span") || Zt("span[!data-mce-type|*]");
|
|
@@ -5474,11 +5477,11 @@ function sfe() {
|
|
|
5474
5477
|
if (Cs) {
|
|
5475
5478
|
if (Ni.attributes[Cs])
|
|
5476
5479
|
return !0;
|
|
5477
|
-
const
|
|
5478
|
-
if (
|
|
5479
|
-
let gl =
|
|
5480
|
+
const tl = Ni.attributePatterns;
|
|
5481
|
+
if (tl) {
|
|
5482
|
+
let gl = tl.length;
|
|
5480
5483
|
for (; gl--; )
|
|
5481
|
-
if (
|
|
5484
|
+
if (tl[gl].pattern.test(Cs))
|
|
5482
5485
|
return !0;
|
|
5483
5486
|
}
|
|
5484
5487
|
} else
|
|
@@ -6041,7 +6044,7 @@ function sfe() {
|
|
|
6041
6044
|
Gn(dt, (ft) => Xl(Me.fromDom(ft), "display"));
|
|
6042
6045
|
}, Ni = (dt) => {
|
|
6043
6046
|
Gn(dt, (ft) => Vg(Me.fromDom(ft), "display", "none"));
|
|
6044
|
-
},
|
|
6047
|
+
}, tl = (dt) => {
|
|
6045
6048
|
const ft = Oe(dt);
|
|
6046
6049
|
return je(ft) && ia(Ll(ft, "display"), "none");
|
|
6047
6050
|
}, gl = (dt) => (dt || "mce_") + p++, $a = (dt) => {
|
|
@@ -6092,7 +6095,7 @@ function sfe() {
|
|
|
6092
6095
|
let on = S1(), ho, Ms;
|
|
6093
6096
|
if (dt && ft && dt.parentNode && ft.parentNode) {
|
|
6094
6097
|
const Ci = dt.parentNode;
|
|
6095
|
-
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;
|
|
6096
6099
|
} else
|
|
6097
6100
|
return;
|
|
6098
6101
|
}, k1 = (dt, ft, an, on) => {
|
|
@@ -6181,7 +6184,7 @@ function sfe() {
|
|
|
6181
6184
|
toggleClass: Rh,
|
|
6182
6185
|
show: Cs,
|
|
6183
6186
|
hide: Ni,
|
|
6184
|
-
isHidden:
|
|
6187
|
+
isHidden: tl,
|
|
6185
6188
|
uniqueId: gl,
|
|
6186
6189
|
setHTML: Sn,
|
|
6187
6190
|
getOuterHTML: $a,
|
|
@@ -6342,7 +6345,7 @@ function sfe() {
|
|
|
6342
6345
|
},
|
|
6343
6346
|
isRtl: () => Gl().bind((e) => xs(e, "_dir")).exists((e) => e === "rtl"),
|
|
6344
6347
|
hasCode: (e) => Xn(Kr, e)
|
|
6345
|
-
},
|
|
6348
|
+
}, Wa = () => {
|
|
6346
6349
|
const e = [], n = {}, s = {}, a = [], d = (de, Oe) => {
|
|
6347
6350
|
const Fe = wn(a, (Ge) => Ge.name === de && Ge.state === Oe);
|
|
6348
6351
|
Se(Fe, (Ge) => Ge.resolve());
|
|
@@ -6353,7 +6356,7 @@ function sfe() {
|
|
|
6353
6356
|
const Fe = Sf.getCode(), Ge = "," + (Oe || "") + ",";
|
|
6354
6357
|
!Fe || Oe && Ge.indexOf("," + Fe + ",") === -1 || ah.ScriptLoader.add(n[de] + "/langs/" + Fe + ".js");
|
|
6355
6358
|
}, B = (de, Oe) => {
|
|
6356
|
-
|
|
6359
|
+
Wa.languageLoad !== !1 && (p(de) ? $(de, Oe) : ge(de, "loaded").then(() => $(de, Oe)));
|
|
6357
6360
|
}, W = (de, Oe) => (e.push(Oe), s[de] = { instance: Oe }, d(de, "added"), Oe), X = (de) => {
|
|
6358
6361
|
delete n[de], delete s[de];
|
|
6359
6362
|
}, G = (de, Oe) => re(Oe) ? re(de) ? {
|
|
@@ -6368,7 +6371,7 @@ function sfe() {
|
|
|
6368
6371
|
if (n[de])
|
|
6369
6372
|
return Promise.resolve();
|
|
6370
6373
|
let Fe = re(Oe) ? Oe : Oe.prefix + Oe.resource + Oe.suffix;
|
|
6371
|
-
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("/"));
|
|
6372
6375
|
const Ge = () => (d(de, "loaded"), Promise.resolve());
|
|
6373
6376
|
return s[de] ? Ge() : ah.ScriptLoader.add(Fe).then(Ge);
|
|
6374
6377
|
}, ge = (de, Oe = "added") => Oe === "added" && v(de) || Oe === "loaded" && p(de) ? Promise.resolve() : new Promise((Fe) => {
|
|
@@ -6391,7 +6394,7 @@ function sfe() {
|
|
|
6391
6394
|
waitFor: ge
|
|
6392
6395
|
};
|
|
6393
6396
|
};
|
|
6394
|
-
|
|
6397
|
+
Wa.languageLoad = !0, Wa.baseURL = "", Wa.PluginManager = Wa(), Wa.ThemeManager = Wa(), Wa.ModelManager = Wa();
|
|
6395
6398
|
const op = (e, n) => {
|
|
6396
6399
|
let s = null;
|
|
6397
6400
|
return {
|
|
@@ -6428,10 +6431,10 @@ function sfe() {
|
|
|
6428
6431
|
};
|
|
6429
6432
|
})));
|
|
6430
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) => {
|
|
6431
|
-
const s = Me.fromDom(e.getBody()), a =
|
|
6434
|
+
const s = Me.fromDom(e.getBody()), a = Za(s, `[${rp()}="${n}"]`);
|
|
6432
6435
|
return wn(a, (d) => !A2(d, s));
|
|
6433
6436
|
}, ip = (e, n) => {
|
|
6434
|
-
const s = Me.fromDom(e.getBody()), a =
|
|
6437
|
+
const s = Me.fromDom(e.getBody()), a = Za(s, `[${sp()}="${n}"]`), d = {};
|
|
6435
6438
|
return Se(a, (p) => {
|
|
6436
6439
|
if (!A2(p, s)) {
|
|
6437
6440
|
const v = aa(p, rp()), C = xs(d, v).getOr([]);
|
|
@@ -6539,7 +6542,7 @@ function sfe() {
|
|
|
6539
6542
|
const a = la(e);
|
|
6540
6543
|
return Td(s, a), sr(e), s;
|
|
6541
6544
|
}, x0 = (e, n, s = Ke) => {
|
|
6542
|
-
const a = new
|
|
6545
|
+
const a = new Va(e, n), d = (p) => {
|
|
6543
6546
|
let v;
|
|
6544
6547
|
do
|
|
6545
6548
|
v = a[p]();
|
|
@@ -6649,7 +6652,7 @@ function sfe() {
|
|
|
6649
6652
|
n.push(Me.fromDom(s)), s = s.lastChild;
|
|
6650
6653
|
return n;
|
|
6651
6654
|
}, bk = (e) => {
|
|
6652
|
-
const n =
|
|
6655
|
+
const n = Za(e, "br"), s = wn(nd(e).slice(-1), Cf);
|
|
6653
6656
|
n.length === s.length && Se(s, sr);
|
|
6654
6657
|
}, Dd = () => {
|
|
6655
6658
|
const e = Me.fromTag("br");
|
|
@@ -6657,14 +6660,14 @@ function sfe() {
|
|
|
6657
6660
|
}, ch = (e) => {
|
|
6658
6661
|
uu(e), wr(e, Dd());
|
|
6659
6662
|
}, j_ = (e, n) => {
|
|
6660
|
-
|
|
6663
|
+
Fa(e).each((s) => {
|
|
6661
6664
|
zu(s).each((a) => {
|
|
6662
6665
|
n.isBlock(be(e)) && Cf(s) && n.isBlock(be(a)) && sr(s);
|
|
6663
6666
|
});
|
|
6664
6667
|
});
|
|
6665
|
-
},
|
|
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) => {
|
|
6666
6669
|
var s;
|
|
6667
|
-
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;
|
|
6668
6671
|
if (n) {
|
|
6669
6672
|
const v = e.previousSibling;
|
|
6670
6673
|
if (ap(v)) {
|
|
@@ -6687,17 +6690,17 @@ function sfe() {
|
|
|
6687
6690
|
return d;
|
|
6688
6691
|
}, lp = (e) => {
|
|
6689
6692
|
const n = e.container();
|
|
6690
|
-
return jt(n) ? n.data.charAt(e.offset()) ===
|
|
6693
|
+
return jt(n) ? n.data.charAt(e.offset()) === ja || e.isAtStart() && dm(n.previousSibling) : !1;
|
|
6691
6694
|
}, Tf = (e) => {
|
|
6692
6695
|
const n = e.container();
|
|
6693
|
-
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;
|
|
6694
6697
|
}, ay = (e, n, s) => {
|
|
6695
6698
|
var a;
|
|
6696
6699
|
const p = ((a = n.ownerDocument) !== null && a !== void 0 ? a : document).createElement(e);
|
|
6697
6700
|
p.setAttribute("data-mce-caret", s ? "before" : "after"), p.setAttribute("data-mce-bogus", "all"), p.appendChild(Dd().dom);
|
|
6698
6701
|
const v = n.parentNode;
|
|
6699
6702
|
return s ? v == null || v.insertBefore(p, n) : n.nextSibling ? v == null || v.insertBefore(p, n.nextSibling) : v == null || v.appendChild(p), p;
|
|
6700
|
-
}, 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) => {
|
|
6701
6704
|
var n;
|
|
6702
6705
|
const s = e.getElementsByTagName("br"), a = s[s.length - 1];
|
|
6703
6706
|
om(a) && ((n = a.parentNode) === null || n === void 0 || n.removeChild(a));
|
|
@@ -7310,7 +7313,7 @@ Required: ` + n.join(", "));
|
|
|
7310
7313
|
}), ul = (e, n, s) => e.dispatch("PastePostProcess", {
|
|
7311
7314
|
node: n,
|
|
7312
7315
|
internal: s
|
|
7313
|
-
}), 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) => {
|
|
7314
7317
|
const n = e.indexOf("=") > 0 ? e.split(/[;,](?![^=;,]*(?:[;,]|$))/) : e.split(",");
|
|
7315
7318
|
return Co(n, (s, a) => {
|
|
7316
7319
|
const d = a.split("="), p = d[0], v = d.length > 1 ? d[1] : p;
|
|
@@ -7320,7 +7323,7 @@ Required: ` + n.join(", "));
|
|
|
7320
7323
|
const a = re(s);
|
|
7321
7324
|
if (a)
|
|
7322
7325
|
if (s.indexOf("=") !== -1) {
|
|
7323
|
-
const d =
|
|
7326
|
+
const d = qa(s);
|
|
7324
7327
|
return {
|
|
7325
7328
|
value: xs(d, e.id).getOr(n),
|
|
7326
7329
|
valid: a
|
|
@@ -7916,7 +7919,7 @@ Required: ` + n.join(", "));
|
|
|
7916
7919
|
};
|
|
7917
7920
|
}, Ew = (e) => {
|
|
7918
7921
|
let n;
|
|
7919
|
-
for (; (n = e.data.lastIndexOf(
|
|
7922
|
+
for (; (n = e.data.lastIndexOf(ja)) !== -1; )
|
|
7920
7923
|
e.deleteData(n, 1);
|
|
7921
7924
|
}, Qy = (e, n) => (bp(e), n), fC = (e, n) => {
|
|
7922
7925
|
const s = _w(e.data.substr(0, n.offset())), a = _w(e.data.substr(n.offset()));
|
|
@@ -7941,7 +7944,7 @@ Required: ` + n.join(", "));
|
|
|
7941
7944
|
return v > 0 && (s && (v *= -1), a.left += v, a.right += v), a;
|
|
7942
7945
|
}, yM = (e) => {
|
|
7943
7946
|
var n, s;
|
|
7944
|
-
const a =
|
|
7947
|
+
const a = Za(Me.fromDom(e), vc);
|
|
7945
7948
|
for (let d = 0; d < a.length; d++) {
|
|
7946
7949
|
const p = a[d].dom;
|
|
7947
7950
|
let v = p.previousSibling;
|
|
@@ -8003,7 +8006,7 @@ Required: ` + n.join(", "));
|
|
|
8003
8006
|
return s;
|
|
8004
8007
|
return null;
|
|
8005
8008
|
}, gg = (e, n, s, a, d) => {
|
|
8006
|
-
const p = new
|
|
8009
|
+
const p = new Va(e, a), v = Rb(e) || Mb(e);
|
|
8007
8010
|
let C;
|
|
8008
8011
|
if (Op(n)) {
|
|
8009
8012
|
if (v && (C = Vy(p.prev.bind(p), !0), s(C)))
|
|
@@ -8198,7 +8201,7 @@ Required: ` + n.join(", "));
|
|
|
8198
8201
|
});
|
|
8199
8202
|
}, F0 = (e, n) => {
|
|
8200
8203
|
var s;
|
|
8201
|
-
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);
|
|
8202
8205
|
e.appendChild(d), n.setStart(d, 0), n.setEnd(d, 0);
|
|
8203
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) => {
|
|
8204
8207
|
const d = s[n ? "start" : "end"], p = e.getRoot();
|
|
@@ -8288,7 +8291,7 @@ Required: ` + n.join(", "));
|
|
|
8288
8291
|
}, W5 = (e) => Ks(e, (n) => {
|
|
8289
8292
|
const s = ly(n);
|
|
8290
8293
|
return s ? [Me.fromDom(s)] : [];
|
|
8291
|
-
}), 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) => {
|
|
8292
8295
|
const s = SM(n);
|
|
8293
8296
|
return s.length > 0 ? s : RC(e);
|
|
8294
8297
|
}, kp = (e) => MC(DC(e.selection.getSel()), Me.fromDom(e.getBody())), Cp = (e, n) => Yf(e, "table", n), Tp = (e) => {
|
|
@@ -8297,11 +8300,11 @@ Required: ` + n.join(", "));
|
|
|
8297
8300
|
}, kM = (e) => {
|
|
8298
8301
|
const n = e.endContainer, s = e.endOffset;
|
|
8299
8302
|
return jt(n) ? s === n.data.length ? Y.some(Me.fromDom(n)) : Y.none() : Y.from(n.childNodes[s - 1]).map(Me.fromDom);
|
|
8300
|
-
}, 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) => {
|
|
8301
8304
|
const d = Jo(Rw(e), Be(ks, s)), p = Jo(V0(e), Be(ks, a));
|
|
8302
8305
|
return d.isSome() && p.isSome();
|
|
8303
8306
|
}).getOr(!1), Bw = (e, n, s, a) => {
|
|
8304
|
-
const d = s, p = new
|
|
8307
|
+
const d = s, p = new Va(s, d), v = Ts(e.schema.getMoveCaretBeforeOnEnterElements(), ($, B) => !Ne([
|
|
8305
8308
|
"td",
|
|
8306
8309
|
"th",
|
|
8307
8310
|
"table"
|
|
@@ -8349,10 +8352,10 @@ Required: ` + n.join(", "));
|
|
|
8349
8352
|
let W;
|
|
8350
8353
|
if (v < $.length) {
|
|
8351
8354
|
const X = $[v];
|
|
8352
|
-
W = new
|
|
8355
|
+
W = new Va(X, (s = e.getParent(X, e.isBlock)) !== null && s !== void 0 ? s : B);
|
|
8353
8356
|
} else {
|
|
8354
8357
|
const X = $[$.length - 1];
|
|
8355
|
-
W = new
|
|
8358
|
+
W = new Va(X, (a = e.getParent(X, e.isBlock)) !== null && a !== void 0 ? a : B), W.next(!0);
|
|
8356
8359
|
}
|
|
8357
8360
|
for (let X = W.current(); X; X = W.next()) {
|
|
8358
8361
|
if (e.getContentEditable(X) === "false")
|
|
@@ -8376,12 +8379,12 @@ Required: ` + n.join(", "));
|
|
|
8376
8379
|
return zc(s);
|
|
8377
8380
|
} else
|
|
8378
8381
|
return !1;
|
|
8379
|
-
}, Cn = (e) => je(e) && jt(e) && e.length === 0,
|
|
8382
|
+
}, Cn = (e) => je(e) && jt(e) && e.length === 0, Ga = (e, n) => {
|
|
8380
8383
|
const s = "[data-mce-cef-wrappable]", a = _y(e), d = Io(a) ? s : `${s},${a}`;
|
|
8381
8384
|
return vl(Me.fromDom(n), d);
|
|
8382
8385
|
}, Ky = (e, n) => {
|
|
8383
8386
|
const s = e.dom;
|
|
8384
|
-
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;
|
|
8385
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) => {
|
|
8386
8389
|
if (ln(e))
|
|
8387
8390
|
return null;
|
|
@@ -8427,7 +8430,7 @@ Required: ` + n.join(", "));
|
|
|
8427
8430
|
const n = [];
|
|
8428
8431
|
let s = e;
|
|
8429
8432
|
for (; s; ) {
|
|
8430
|
-
if (jt(s) && s.data !==
|
|
8433
|
+
if (jt(s) && s.data !== ja || s.childNodes.length > 1)
|
|
8431
8434
|
return [];
|
|
8432
8435
|
yn(s) && n.push(s), s = s.firstChild;
|
|
8433
8436
|
}
|
|
@@ -8558,7 +8561,7 @@ Required: ` + n.join(", "));
|
|
|
8558
8561
|
"div.tiny-pageembed",
|
|
8559
8562
|
"div.mce-toc",
|
|
8560
8563
|
"div[data-mce-toc]"
|
|
8561
|
-
], 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) => {
|
|
8562
8565
|
const s = km(e.dom, n, [{ inline: "span" }]);
|
|
8563
8566
|
n.setStart(s.startContainer, s.startOffset), n.setEnd(s.endContainer, s.endOffset), e.selection.setRng(n);
|
|
8564
8567
|
}, ov = (e, n, s, a, d, p) => {
|
|
@@ -8626,7 +8629,7 @@ Required: ` + n.join(", "));
|
|
|
8626
8629
|
}, gr = (e) => {
|
|
8627
8630
|
const n = fk();
|
|
8628
8631
|
iy(e, n);
|
|
8629
|
-
const s = ib(e, n), a =
|
|
8632
|
+
const s = ib(e, n), a = La("span"), d = (p) => {
|
|
8630
8633
|
Se(p, (v) => {
|
|
8631
8634
|
a(v) ? Vc(v) : Uw(v);
|
|
8632
8635
|
});
|
|
@@ -9156,7 +9159,7 @@ Required: ` + n.join(", "));
|
|
|
9156
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) => {
|
|
9157
9160
|
const a = n.parentNode;
|
|
9158
9161
|
if (a) {
|
|
9159
|
-
const d = new
|
|
9162
|
+
const d = new Va(n, e.getParent(a, e.isBlock) || e.getRoot());
|
|
9160
9163
|
let p;
|
|
9161
9164
|
for (; p = d[s ? "prev" : "next"](); )
|
|
9162
9165
|
if (Ds(p))
|
|
@@ -9182,7 +9185,7 @@ Required: ` + n.join(", "));
|
|
|
9182
9185
|
const W = e.getParent(C, e.isBlock) || p;
|
|
9183
9186
|
if (a && Ds(d) && n && e.isEmpty(W))
|
|
9184
9187
|
return Y.some(kt(C, e.nodeIndex(d)));
|
|
9185
|
-
const X = new
|
|
9188
|
+
const X = new Va(d, W);
|
|
9186
9189
|
for (; B = X[a ? "prev" : "next"](); ) {
|
|
9187
9190
|
if (e.getContentEditableParent(B) === "false" || hE(B, p))
|
|
9188
9191
|
return Y.none();
|
|
@@ -9208,7 +9211,7 @@ Required: ` + n.join(", "));
|
|
|
9208
9211
|
return Y.none();
|
|
9209
9212
|
if (C.hasChildNodes() && !ju(C)) {
|
|
9210
9213
|
p = C;
|
|
9211
|
-
const G = new
|
|
9214
|
+
const G = new Va(C, d);
|
|
9212
9215
|
do {
|
|
9213
9216
|
if ($s(p) || _c(p)) {
|
|
9214
9217
|
v = !1;
|
|
@@ -9370,7 +9373,7 @@ Required: ` + n.join(", "));
|
|
|
9370
9373
|
cleanup: n
|
|
9371
9374
|
};
|
|
9372
9375
|
}, IM = (e, n) => {
|
|
9373
|
-
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>");
|
|
9374
9377
|
return al(s.element, a), LM(a, () => sr(a));
|
|
9375
9378
|
}, QM = (e) => LM(Me.fromDom(e), gt), FM = (e, n, s, a) => {
|
|
9376
9379
|
dZ(e, (d, p) => uZ(e, n, s, a), s);
|
|
@@ -9421,7 +9424,7 @@ Required: ` + n.join(", "));
|
|
|
9421
9424
|
(e.inline ? fZ : hZ)(e, n, s);
|
|
9422
9425
|
}, WM = (e, n) => n.collapsed ? e.isEditable(n.startContainer) : e.isEditable(n.startContainer) && e.isEditable(n.endContainer), jM = (e, n, s, a, d) => {
|
|
9423
9426
|
const p = s ? n.startContainer : n.endContainer, v = s ? n.startOffset : n.endOffset;
|
|
9424
|
-
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);
|
|
9425
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) => {
|
|
9426
9429
|
const s = e;
|
|
9427
9430
|
for (; e && jt(e) && e.length === 0; )
|
|
@@ -9440,7 +9443,7 @@ Required: ` + n.join(", "));
|
|
|
9440
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);
|
|
9441
9444
|
if (v && v !== p && d.push(v), v && C && v !== C) {
|
|
9442
9445
|
let $;
|
|
9443
|
-
const B = new
|
|
9446
|
+
const B = new Va(v, p);
|
|
9444
9447
|
for (; ($ = B.next()) && $ !== C; )
|
|
9445
9448
|
e.isBlock($) && d.push($);
|
|
9446
9449
|
}
|
|
@@ -9623,7 +9626,7 @@ Required: ` + n.join(", "));
|
|
|
9623
9626
|
return rT(this, null, n);
|
|
9624
9627
|
}
|
|
9625
9628
|
}
|
|
9626
|
-
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) => {
|
|
9627
9630
|
if (e8(n)) {
|
|
9628
9631
|
const s = n.parentNode;
|
|
9629
9632
|
return s && Xn(pZ, s.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -9660,12 +9663,12 @@ Required: ` + n.join(", "));
|
|
|
9660
9663
|
p(a) && (d || (a = e.cloneNode(!0), d = !0), v(a));
|
|
9661
9664
|
}), a;
|
|
9662
9665
|
}, l8 = (e) => {
|
|
9663
|
-
const n =
|
|
9666
|
+
const n = Za(e, "[data-mce-bogus]");
|
|
9664
9667
|
Se(n, (s) => {
|
|
9665
9668
|
aa(s, "data-mce-bogus") === "all" ? sr(s) : Cf(s) ? (al(s, Me.fromText(o0)), sr(s)) : Vc(s);
|
|
9666
9669
|
});
|
|
9667
9670
|
}, c8 = (e) => {
|
|
9668
|
-
const n =
|
|
9671
|
+
const n = Za(e, "input");
|
|
9669
9672
|
Se(n, (s) => {
|
|
9670
9673
|
Vs(s, "name");
|
|
9671
9674
|
});
|
|
@@ -9915,7 +9918,7 @@ Required: ` + n.join(", "));
|
|
|
9915
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([
|
|
9916
9919
|
"pre",
|
|
9917
9920
|
"pre-wrap"
|
|
9918
|
-
], 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) => {
|
|
9919
9922
|
const s = Pl(e.dom, n).getOr(n), a = E8(e.dom, "next");
|
|
9920
9923
|
return n.isAtEnd() && (a(n.container()) || a(s.container()));
|
|
9921
9924
|
}, QZ = (e, n) => {
|
|
@@ -9962,7 +9965,7 @@ Required: ` + n.join(", "));
|
|
|
9962
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);
|
|
9963
9966
|
e.replaceData(n, s, du(v, 4, $, C));
|
|
9964
9967
|
}, dT = (e, n, s) => {
|
|
9965
|
-
const a = e.data.slice(n), d = a.length -
|
|
9968
|
+
const a = e.data.slice(n), d = a.length - Ma(a).length;
|
|
9966
9969
|
A8(e, n, d, s);
|
|
9967
9970
|
}, $E = (e, n, s) => {
|
|
9968
9971
|
const a = e.data.slice(0, n), d = a.length - Fi(a).length;
|
|
@@ -10003,7 +10006,7 @@ Required: ` + n.join(", "));
|
|
|
10003
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) => {
|
|
10004
10007
|
var n;
|
|
10005
10008
|
return Tr.DOM.getStyle(e, "direction", !0) === "rtl" || B8((n = e.textContent) !== null && n !== void 0 ? n : "");
|
|
10006
|
-
}, 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) => {
|
|
10007
10010
|
const a = N8(e, n, s);
|
|
10008
10011
|
return Y.from(a[a.length - 1]);
|
|
10009
10012
|
}, tV = (e, n, s) => {
|
|
@@ -10017,22 +10020,22 @@ Required: ` + n.join(", "));
|
|
|
10017
10020
|
e.on("beforeinput input", s, !0), e.getDoc().execCommand(n), e.off("beforeinput input", s);
|
|
10018
10021
|
}, oV = (e) => {
|
|
10019
10022
|
e.execCommand("delete");
|
|
10020
|
-
}, 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) => {
|
|
10021
10024
|
e.dom.isEmpty(e.getBody()) && e.setContent("", { no_selection: !n });
|
|
10022
10025
|
}, Ud = (e, n, s) => Br(ha(s), Vd(s), (a, d) => {
|
|
10023
10026
|
const p = Af(!0, a), v = Af(!1, d), C = Af(!1, n);
|
|
10024
10027
|
return e ? Pl(s, C).exists(($) => $.isEqual(v) && n.isEqual(p)) : fl(s, C).exists(($) => $.isEqual(p) && n.isEqual(v));
|
|
10025
|
-
}).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) => {
|
|
10026
10029
|
var d;
|
|
10027
10030
|
n.deleteContents();
|
|
10028
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);
|
|
10029
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)) {
|
|
10030
|
-
const C = ia(
|
|
10033
|
+
const C = ia(Qa(v), s) ? [] : Vu(v);
|
|
10031
10034
|
Se(C.concat(la(s)), ($) => {
|
|
10032
10035
|
!ks($, v) && !Gr($, v) && Ji(e.schema, $) && sr($);
|
|
10033
10036
|
});
|
|
10034
10037
|
}
|
|
10035
|
-
}, 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) => {
|
|
10036
10039
|
const a = Z1(n, (p) => ks(p, s)), d = Z1(s, (p) => ks(p, n));
|
|
10037
10040
|
return !a && !d ? e : {
|
|
10038
10041
|
...e,
|
|
@@ -10160,7 +10163,7 @@ Required: ` + n.join(", "));
|
|
|
10160
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) => {
|
|
10161
10164
|
const a = Me.fromDom(e.getBody()), d = e.selection.getRng();
|
|
10162
10165
|
return s.length !== 0 ? UE(e, s, Y.none()) : Y8(e, a, d, n);
|
|
10163
|
-
}, 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(() => {
|
|
10164
10167
|
ch(n), e.selection.setCursorLocation(n.dom, 0);
|
|
10165
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) => {
|
|
10166
10169
|
const d = kt.fromRangeStart(e.selection.getRng());
|
|
@@ -10694,9 +10697,9 @@ Required: ` + n.join(", "));
|
|
|
10694
10697
|
}, yV = (e, n, s) => Co(s, (a, d) => {
|
|
10695
10698
|
const p = IC(e, d);
|
|
10696
10699
|
return e.formatter.matchNode(n, d, {}, p) ? a.concat([d]) : a;
|
|
10697
|
-
}, []), $x =
|
|
10700
|
+
}, []), $x = ja, vV = (e, n) => e.importNode(n, !0), f6 = (e) => {
|
|
10698
10701
|
if (e) {
|
|
10699
|
-
const n = new
|
|
10702
|
+
const n = new Va(e, e);
|
|
10700
10703
|
for (let s = n.current(); s; s = n.next())
|
|
10701
10704
|
if (jt(s))
|
|
10702
10705
|
return s;
|
|
@@ -10933,7 +10936,7 @@ Required: ` + n.join(", "));
|
|
|
10933
10936
|
const p = a.childNodes.length - 1;
|
|
10934
10937
|
!s && d && d--, a = a.childNodes[d > p ? p : d];
|
|
10935
10938
|
}
|
|
10936
|
-
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;
|
|
10937
10940
|
}, T6 = (e, n) => {
|
|
10938
10941
|
const s = n ? "firstChild" : "lastChild", a = e[s];
|
|
10939
10942
|
return S6(e) && a ? e.nodeName === "TR" && a[s] || a : e;
|
|
@@ -11552,7 +11555,7 @@ Required: ` + n.join(", "));
|
|
|
11552
11555
|
ge.length || (ge = null), X.attr("class", ge);
|
|
11553
11556
|
}
|
|
11554
11557
|
}), P$(e, n);
|
|
11555
|
-
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 : []);
|
|
11556
11559
|
n.convert_unsafe_embeds && e.addNodeFilter("object,embed", ($) => Se($, (B) => {
|
|
11557
11560
|
B.replace(XT({
|
|
11558
11561
|
type: B.attr("type"),
|
|
@@ -11771,7 +11774,7 @@ Required: ` + n.join(", "));
|
|
|
11771
11774
|
value: !1
|
|
11772
11775
|
}
|
|
11773
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;
|
|
11774
|
-
const
|
|
11777
|
+
const tl = "user-content-";
|
|
11775
11778
|
let gl = !0, $a = !1, ai = {}, li = null;
|
|
11776
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"]);
|
|
11777
11780
|
let Vf = null;
|
|
@@ -11992,7 +11995,7 @@ Required: ` + n.join(", "));
|
|
|
11992
11995
|
ZS(Rc, ht);
|
|
11993
11996
|
continue;
|
|
11994
11997
|
}
|
|
11995
|
-
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)) {
|
|
11996
11999
|
ZS(Rc, ht);
|
|
11997
12000
|
continue;
|
|
11998
12001
|
}
|
|
@@ -12629,8 +12632,8 @@ Required: ` + n.join(", "));
|
|
|
12629
12632
|
return Td(a, s), a;
|
|
12630
12633
|
}), dz = (e) => {
|
|
12631
12634
|
const n = e3(lm(e), 0, []);
|
|
12632
|
-
return Se(
|
|
12633
|
-
Se(
|
|
12635
|
+
return Se(Za(e, "tr"), (s, a) => {
|
|
12636
|
+
Se(Za(s, "td,th"), (d, p) => {
|
|
12634
12637
|
p7(n, uz(n, p, a), a, s, d);
|
|
12635
12638
|
});
|
|
12636
12639
|
}), e3(n.element, U$(n.rows), n.rows);
|
|
@@ -12643,7 +12646,7 @@ Required: ` + n.join(", "));
|
|
|
12643
12646
|
}).getOr([])), v7 = (e, n) => {
|
|
12644
12647
|
const s = Co(n, (a, d) => (wr(d, a), d), e);
|
|
12645
12648
|
return n.length > 0 ? ix([s]) : s;
|
|
12646
|
-
}, w7 = (e) => um(e) ?
|
|
12649
|
+
}, w7 = (e) => um(e) ? Qa(e).filter(N2).fold(wt([]), (n) => [
|
|
12647
12650
|
e,
|
|
12648
12651
|
n
|
|
12649
12652
|
]) : N2(e) ? [e] : [], t3 = (e, n, s) => {
|
|
@@ -12802,7 +12805,7 @@ Required: ` + n.join(", "));
|
|
|
12802
12805
|
}), a && (e.selection.moveToBookmark(a), e.selection.scrollIntoView());
|
|
12803
12806
|
}, J$ = (e) => e.type === "fragmented" ? e.fragments.join("") : e.content, zx = (e) => {
|
|
12804
12807
|
const n = Me.fromTag("body", Cz());
|
|
12805
|
-
return Wu(n, J$(e)), Se(
|
|
12808
|
+
return Wu(n, J$(e)), Se(Za(n, "*[data-mce-bogus]"), Vc), xr(n);
|
|
12806
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) => {
|
|
12807
12810
|
Rp(s) && (e.typing = n);
|
|
12808
12811
|
}, P7 = (e, n) => {
|
|
@@ -13007,35 +13010,35 @@ Required: ` + n.join(", "));
|
|
|
13007
13010
|
}, Lf = (e) => Xn(e.plugins, "rtc"), sP = (e) => xs(e.plugins, "rtc").bind((n) => Y.from(n.setup)), B7 = (e) => {
|
|
13008
13011
|
const n = e;
|
|
13009
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)))));
|
|
13010
|
-
}, o3 = (e) => e.rtcInstance ? e.rtcInstance : kh(e),
|
|
13013
|
+
}, o3 = (e) => e.rtcInstance ? e.rtcInstance : kh(e), Ka = (e) => {
|
|
13011
13014
|
const n = e.rtcInstance;
|
|
13012
13015
|
if (n)
|
|
13013
13016
|
return n;
|
|
13014
13017
|
throw new Error("Failed to get RTC instance not yet initialized.");
|
|
13015
13018
|
}, Mz = (e, n, s) => {
|
|
13016
|
-
|
|
13017
|
-
}, Bz = (e, n, s, a, d, p, v) =>
|
|
13018
|
-
|
|
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);
|
|
13019
13022
|
}, N7 = (e, n) => {
|
|
13020
|
-
|
|
13021
|
-
}, Qz = (e, n, s) =>
|
|
13022
|
-
|
|
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);
|
|
13023
13026
|
}, rP = (e, n, s, a, d) => {
|
|
13024
|
-
|
|
13025
|
-
}, iP = (e, n, s, a, d) =>
|
|
13026
|
-
|
|
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);
|
|
13027
13030
|
}, Z7 = (e, n, s, a, d) => {
|
|
13028
|
-
|
|
13031
|
+
Ka(e).formatter.remove(n, s, a, d);
|
|
13029
13032
|
}, V7 = (e, n, s, a) => {
|
|
13030
|
-
|
|
13031
|
-
}, 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 = {}) => {
|
|
13032
13035
|
const s = n.format ? n.format : "html";
|
|
13033
13036
|
return s3(e, s, n);
|
|
13034
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) => {
|
|
13035
13038
|
const p = e.dom, v = n.dom, C = a ? p.length : v.length;
|
|
13036
13039
|
a ? (PE(p, v, d, !1, !a), s.setStart(v, C)) : (PE(v, p, d, !1, !a), s.setEnd(v, C));
|
|
13037
13040
|
}, jz = (e, n, s) => {
|
|
13038
|
-
|
|
13041
|
+
Qa(e).each((a) => {
|
|
13039
13042
|
const d = e.dom;
|
|
13040
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);
|
|
13041
13044
|
});
|
|
@@ -13525,7 +13528,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13525
13528
|
get: (d) => e[d] ? e[d] : { icons: {} },
|
|
13526
13529
|
has: (d) => Xn(e, d)
|
|
13527
13530
|
};
|
|
13528
|
-
})(), 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) => {
|
|
13529
13532
|
const a = iB(e), d = gH(e);
|
|
13530
13533
|
return n >= 0 && s >= 0 && n <= a && s <= d;
|
|
13531
13534
|
}, yH = (e, n, s, a) => {
|
|
@@ -13600,7 +13603,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13600
13603
|
close: B,
|
|
13601
13604
|
getNotifications: W
|
|
13602
13605
|
};
|
|
13603
|
-
}, Lv =
|
|
13606
|
+
}, Lv = Wa.PluginManager, Pm = Wa.ThemeManager;
|
|
13604
13607
|
var lB = () => {
|
|
13605
13608
|
const e = () => {
|
|
13606
13609
|
throw new Error("Theme did not provide a WindowManager implementation.");
|
|
@@ -13709,11 +13712,11 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13709
13712
|
const n = Me.fromDom(e.getBody());
|
|
13710
13713
|
hB(n, "mce-content-readonly", !1), e.hasEditableRoot() && Is(n, !0), EH(e, !1), en(e) && e.focus(), fB(e), e.nodeChanged();
|
|
13711
13714
|
}, Mp = (e) => M0(e), Iv = "data-mce-contenteditable", Am = (e) => {
|
|
13712
|
-
Se(
|
|
13715
|
+
Se(Za(e, '*[contenteditable="true"]'), (n) => {
|
|
13713
13716
|
qr(n, Iv, "true"), Is(n, !1);
|
|
13714
13717
|
});
|
|
13715
13718
|
}, OP = (e) => {
|
|
13716
|
-
Se(
|
|
13719
|
+
Se(Za(e, `*[${Iv}="true"]`), (n) => {
|
|
13717
13720
|
Vs(n, Iv), Is(n, !0);
|
|
13718
13721
|
});
|
|
13719
13722
|
}, pB = (e, n) => {
|
|
@@ -13987,7 +13990,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
13987
13990
|
});
|
|
13988
13991
|
return nn.length > 0 && !Lf(e) ? e.undoManager.transact(() => {
|
|
13989
13992
|
Se(_d(nn), (Ot) => {
|
|
13990
|
-
const Zt =
|
|
13993
|
+
const Zt = Qa(Ot);
|
|
13991
13994
|
sr(Ot), Zt.each(vee(e)), n.removeByUri(Ot.dom.src);
|
|
13992
13995
|
});
|
|
13993
13996
|
}) : En && e.undoManager.dispatchChange(), Ct;
|
|
@@ -14886,7 +14889,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
14886
14889
|
const s = e.selection.getNode();
|
|
14887
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));
|
|
14888
14891
|
}, p3 = (e) => {
|
|
14889
|
-
Se(
|
|
14892
|
+
Se(Za(e, ".mce-offscreen-selection"), sr);
|
|
14890
14893
|
}, UB = (e, n) => {
|
|
14891
14894
|
const s = e.selection.getNode();
|
|
14892
14895
|
return $s(s) && !i0(s) ? Dm(e, s.parentNode).filter($s).fold(() => Y.some(() => {
|
|
@@ -14943,15 +14946,15 @@ Options:${v}${s.join(v)}` : "";
|
|
|
14943
14946
|
}, y3 = (e, n) => {
|
|
14944
14947
|
const s = kt.fromRangeStart(e.selection.getRng());
|
|
14945
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));
|
|
14946
|
-
}, 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) => {
|
|
14947
14950
|
var n;
|
|
14948
|
-
return ((n = e.ownerDocument) !== null && n !== void 0 ? n : document).createTextNode(
|
|
14951
|
+
return ((n = e.ownerDocument) !== null && n !== void 0 ? n : document).createTextNode(ja);
|
|
14949
14952
|
}, qB = (e) => {
|
|
14950
14953
|
var n;
|
|
14951
14954
|
if (Fv(e.previousSibling))
|
|
14952
|
-
return jB(e.previousSibling) || e.previousSibling.appendData(
|
|
14955
|
+
return jB(e.previousSibling) || e.previousSibling.appendData(ja), e.previousSibling;
|
|
14953
14956
|
if (Fv(e))
|
|
14954
|
-
return WB(e) || e.insertData(0,
|
|
14957
|
+
return WB(e) || e.insertData(0, ja), e;
|
|
14955
14958
|
{
|
|
14956
14959
|
const s = XB(e);
|
|
14957
14960
|
return (n = e.parentNode) === null || n === void 0 || n.insertBefore(s, e), s;
|
|
@@ -14959,9 +14962,9 @@ Options:${v}${s.join(v)}` : "";
|
|
|
14959
14962
|
}, sU = (e) => {
|
|
14960
14963
|
var n, s;
|
|
14961
14964
|
if (Fv(e.nextSibling))
|
|
14962
|
-
return WB(e.nextSibling) || e.nextSibling.insertData(0,
|
|
14965
|
+
return WB(e.nextSibling) || e.nextSibling.insertData(0, ja), e.nextSibling;
|
|
14963
14966
|
if (Fv(e))
|
|
14964
|
-
return jB(e) || e.appendData(
|
|
14967
|
+
return jB(e) || e.appendData(ja), e;
|
|
14965
14968
|
{
|
|
14966
14969
|
const a = XB(e);
|
|
14967
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;
|
|
@@ -15012,8 +15015,8 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15012
15015
|
return s || e;
|
|
15013
15016
|
}, w3 = (e, n, s) => {
|
|
15014
15017
|
const a = L8(s), d = JB(n, a.container());
|
|
15015
|
-
return
|
|
15016
|
-
}, 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) => {
|
|
15017
15020
|
const a = I8(s);
|
|
15018
15021
|
return eN(e, n, a).bind((d) => fl(d, a).isNone() ? Y.some(Kc.start(d)) : Y.none());
|
|
15019
15022
|
}, aU = (e, n, s) => {
|
|
@@ -15021,7 +15024,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15021
15024
|
return eN(e, n, a).bind((d) => Pl(d, a).isNone() ? Y.some(Kc.end(d)) : Y.none());
|
|
15022
15025
|
}, lU = (e, n, s) => {
|
|
15023
15026
|
const a = I8(s), d = JB(n, a.container());
|
|
15024
|
-
return
|
|
15027
|
+
return Ya(e, d, a).fold(() => fl(d, a).bind(Be(Ya, e, d)).map((p) => Kc.after(p)), Y.none);
|
|
15025
15028
|
}, jP = (e) => !ME(XP(e)), Eg = (e, n, s) => KB([
|
|
15026
15029
|
w3,
|
|
15027
15030
|
iU,
|
|
@@ -15031,7 +15034,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15031
15034
|
e,
|
|
15032
15035
|
n,
|
|
15033
15036
|
s
|
|
15034
|
-
]).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) => {
|
|
15035
15038
|
const p = Af(e, d);
|
|
15036
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);
|
|
15037
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) => {
|
|
@@ -15228,7 +15231,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15228
15231
|
const a = e.getBody(), d = CU(e.selection.getRng(), a, s), p = Be(t1, e);
|
|
15229
15232
|
return k3(s, p, a, d).bind((C) => bN(e, n, C));
|
|
15230
15233
|
}, ON = (e, n, s) => {
|
|
15231
|
-
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);
|
|
15232
15235
|
Se(Rr(d, p), Be(pN, !1)), Se(Rr(p, d), Be(pN, !0));
|
|
15233
15236
|
}, _U = (e, n) => {
|
|
15234
15237
|
const s = n.get();
|
|
@@ -15279,7 +15282,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15279
15282
|
const d = vN(e.getBody(), a.container()), p = Be(t1, e), v = Eg(p, d, a);
|
|
15280
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(() => {
|
|
15281
15284
|
const $ = bg(s, d, a), B = $.bind((W) => Eg(p, d, W));
|
|
15282
|
-
return Br(v, B, () =>
|
|
15285
|
+
return Br(v, B, () => Ya(p, d, a).bind((W) => oA(W) ? Y.some(() => {
|
|
15283
15286
|
Jb(e, s, Me.fromDom(W));
|
|
15284
15287
|
}) : Y.none())).getOrThunk(() => B.bind(() => $.map((W) => () => {
|
|
15285
15288
|
s ? sA(e, n, a, W) : sA(e, n, W, a);
|
|
@@ -15372,7 +15375,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15372
15375
|
}), PN = (e) => {
|
|
15373
15376
|
const n = AN(e);
|
|
15374
15377
|
return !e.mode.isReadOnly() && (n.length > 1 || dA(e, n));
|
|
15375
|
-
}, 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) => {
|
|
15376
15379
|
var s, a;
|
|
15377
15380
|
if (e.mode.isReadOnly())
|
|
15378
15381
|
return;
|
|
@@ -15675,7 +15678,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15675
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));
|
|
15676
15679
|
return Y.some(C < v ? d : p);
|
|
15677
15680
|
}), Y.none()), tL = (e, n, s, a, d) => {
|
|
15678
|
-
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));
|
|
15679
15682
|
return Pee(v, a, d).map((C) => C.cell);
|
|
15680
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) => {
|
|
15681
15684
|
const a = e(n, s);
|
|
@@ -15936,7 +15939,7 @@ Options:${v}${s.join(v)}` : "";
|
|
|
15936
15939
|
}, MW = (e) => (n) => {
|
|
15937
15940
|
const s = pL(n.startContainer, n.startOffset);
|
|
15938
15941
|
return !RW(e, s);
|
|
15939
|
-
}, 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) => {
|
|
15940
15943
|
const s = n(), a = e.selection.getRng();
|
|
15941
15944
|
return BW(e.dom, a, s).bind((d) => bL(e, n, d));
|
|
15942
15945
|
}, bL = (e, n, s, a = {}) => {
|
|
@@ -16251,7 +16254,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16251
16254
|
trigger: X.trigger,
|
|
16252
16255
|
matchLength: X.text.length
|
|
16253
16256
|
});
|
|
16254
|
-
}, 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) => {
|
|
16255
16258
|
C(X).fold(d, (G) => {
|
|
16256
16259
|
p(G.context), G.lookupData.then((ie) => {
|
|
16257
16260
|
n.get().map((ge) => {
|
|
@@ -16557,7 +16560,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16557
16560
|
}
|
|
16558
16561
|
const d = s.createRng();
|
|
16559
16562
|
if (n.normalize(), n.hasChildNodes()) {
|
|
16560
|
-
const p = new
|
|
16563
|
+
const p = new Va(n, n);
|
|
16561
16564
|
let v = n, C;
|
|
16562
16565
|
for (; C = p.current(); ) {
|
|
16563
16566
|
if (jt(C)) {
|
|
@@ -16683,7 +16686,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16683
16686
|
W.setStartAfter(a), W.setEndAfter(s);
|
|
16684
16687
|
const X = W.extractContents();
|
|
16685
16688
|
if (d === "LI" && Ej(X, "LI")) {
|
|
16686
|
-
const G = wn(Je(B.children, Me.fromDom), Pt(
|
|
16689
|
+
const G = wn(Je(B.children, Me.fromDom), Pt(La("br")));
|
|
16687
16690
|
B = X.firstChild, p.insertAfter(X, s), Se(G, (ie) => qm(Me.fromDom(B), ie)), $ && B.setAttribute("style", $);
|
|
16688
16691
|
} else
|
|
16689
16692
|
p.insertAfter(X, s), p.insertAfter(B, s);
|
|
@@ -16712,7 +16715,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16712
16715
|
let v = d.length;
|
|
16713
16716
|
for (; v--; )
|
|
16714
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);
|
|
16715
|
-
}, 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) => {
|
|
16716
16719
|
const n = e.cloneRange();
|
|
16717
16720
|
return n.setStart(e.startContainer, Zf(!0, e.startContainer, e.startOffset)), n.setEnd(e.endContainer, Zf(!1, e.endContainer, e.endOffset)), n;
|
|
16718
16721
|
}, l9 = (e) => {
|
|
@@ -16764,7 +16767,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16764
16767
|
return !0;
|
|
16765
16768
|
if (sD(s, "TABLE") || sD(s, "HR"))
|
|
16766
16769
|
return Dj(s, "BR") ? !Zt : v && !Zt || !v && Zt;
|
|
16767
|
-
const Kn = new
|
|
16770
|
+
const Kn = new Va(s, nn);
|
|
16768
16771
|
jt(s) && (Zt && fn === 0 ? Kn.prev() : !Zt && fn === s.data.length && Kn.next());
|
|
16769
16772
|
let ts;
|
|
16770
16773
|
for (; ts = Kn.current(); ) {
|
|
@@ -16834,7 +16837,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
16834
16837
|
},
|
|
16835
16838
|
fakeEventName: "insertParagraph"
|
|
16836
16839
|
}, Ij = (e, n, s) => {
|
|
16837
|
-
const a = new
|
|
16840
|
+
const a = new Va(n, s);
|
|
16838
16841
|
let d;
|
|
16839
16842
|
const p = e.getNonEmptyElements();
|
|
16840
16843
|
for (; d = a.next(); )
|
|
@@ -17696,7 +17699,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
17696
17699
|
}, DD = (e) => {
|
|
17697
17700
|
lI(e), cI(e);
|
|
17698
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) => {
|
|
17699
|
-
const a = new
|
|
17702
|
+
const a = new Va(e, n), d = s ? a.next.bind(a) : a.prev.bind(a);
|
|
17700
17703
|
let p = e;
|
|
17701
17704
|
for (let v = s ? e : d(); v && !JX(v); v = d())
|
|
17702
17705
|
Ef(v) && (p = v);
|
|
@@ -18124,7 +18127,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
18124
18127
|
if (Ot.isDefaultPrevented())
|
|
18125
18128
|
return null;
|
|
18126
18129
|
const Zt = Fe(En, Ot.targetClone), fn = Me.fromDom(En);
|
|
18127
|
-
return Se(
|
|
18130
|
+
return Se(Za(Me.fromDom(e.getBody()), `*[${v}]`), (Kn) => {
|
|
18128
18131
|
ks(fn, Kn) || Vs(Kn, v);
|
|
18129
18132
|
}), s.getAttrib(En, v) || En.setAttribute(v, "1"), C = En, nn(), Zt;
|
|
18130
18133
|
}, qe = (En, Ct) => {
|
|
@@ -19111,7 +19114,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19111
19114
|
});
|
|
19112
19115
|
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e), eR(e, e.suffix);
|
|
19113
19116
|
}, sQ = (e, n) => {
|
|
19114
|
-
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));
|
|
19115
19118
|
}, kG = (e) => e._editableRoot, rQ = (e, n) => ({
|
|
19116
19119
|
sections: wt(e),
|
|
19117
19120
|
options: wt(n)
|
|
@@ -19273,7 +19276,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19273
19276
|
}, tte = {
|
|
19274
19277
|
"font-size": "size",
|
|
19275
19278
|
"font-family": "face"
|
|
19276
|
-
}, nte =
|
|
19279
|
+
}, nte = La("font"), BG = (e, n, s) => {
|
|
19277
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);
|
|
19278
19281
|
return Cx(Me.fromDom(s), (p) => a(p), d);
|
|
19279
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) => {
|
|
@@ -19456,7 +19459,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19456
19459
|
}
|
|
19457
19460
|
}
|
|
19458
19461
|
});
|
|
19459
|
-
},
|
|
19462
|
+
}, el = (e) => {
|
|
19460
19463
|
e.editorCommands.addCommands({
|
|
19461
19464
|
mceRemoveNode: (n, s, a) => {
|
|
19462
19465
|
const d = a ?? e.selection.getNode();
|
|
@@ -19476,7 +19479,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
19476
19479
|
}
|
|
19477
19480
|
});
|
|
19478
19481
|
}, YG = (e) => {
|
|
19479
|
-
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);
|
|
19480
19483
|
}, KG = ["toggleview"], H4 = (e) => Ne(KG, e.toLowerCase());
|
|
19481
19484
|
class iR {
|
|
19482
19485
|
constructor(n) {
|
|
@@ -20033,7 +20036,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20033
20036
|
const B = Sy(d);
|
|
20034
20037
|
B && (ah.ScriptLoader._setReferrerPolicy(B), Tr.DOM.styleSheetLoader._setReferrerPolicy(B));
|
|
20035
20038
|
const W = yw(d);
|
|
20036
|
-
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);
|
|
20037
20040
|
const X = v("cache_suffix");
|
|
20038
20041
|
X && (co.cacheSuffix = X.replace(/^[\?\&]+/, "")), this.ui = {
|
|
20039
20042
|
registry: gY(),
|
|
@@ -20306,7 +20309,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20306
20309
|
s && (this.suffix = s), this.defaultOptions = e;
|
|
20307
20310
|
const a = e.plugin_base_urls;
|
|
20308
20311
|
a !== void 0 && qt(a, (d, p) => {
|
|
20309
|
-
|
|
20312
|
+
Wa.PluginManager.urls[p] = d;
|
|
20310
20313
|
});
|
|
20311
20314
|
},
|
|
20312
20315
|
init(e) {
|
|
@@ -20333,7 +20336,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20333
20336
|
++W === G.length && $(X);
|
|
20334
20337
|
}), Fe.targetElm = Fe.targetElm || Oe, Fe.render();
|
|
20335
20338
|
};
|
|
20336
|
-
l2.unbind(window, "ready", B), v("onpageload"), G =
|
|
20339
|
+
l2.unbind(window, "ready", B), v("onpageload"), G = Ra(C(e)), Nt.each(G, (ge) => {
|
|
20337
20340
|
bY(n.get(ge.id));
|
|
20338
20341
|
}), G = Nt.grep(G, (ge) => !n.get(ge.id)), G.length === 0 ? $([]) : X4(G, (ge) => {
|
|
20339
20342
|
d(e, ge) ? Gx("Could not initialize inline editor on invalid inline target element", ge) : ie(p(ge), e, ge);
|
|
@@ -20544,7 +20547,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20544
20547
|
},
|
|
20545
20548
|
dom: {
|
|
20546
20549
|
EventUtils: ih,
|
|
20547
|
-
TreeWalker:
|
|
20550
|
+
TreeWalker: Va,
|
|
20548
20551
|
TextSeeker: kf,
|
|
20549
20552
|
DOMUtils: Tr,
|
|
20550
20553
|
ScriptLoader: ah,
|
|
@@ -20566,7 +20569,7 @@ Input object: ` + zv(e.input), VA = (e, n) => NW(e, zo(n, bS)), GW = wt(AL), OS
|
|
|
20566
20569
|
Serializer: Y0
|
|
20567
20570
|
},
|
|
20568
20571
|
Env: co,
|
|
20569
|
-
AddOnManager:
|
|
20572
|
+
AddOnManager: Wa,
|
|
20570
20573
|
Annotator: gr,
|
|
20571
20574
|
Formatter: Np,
|
|
20572
20575
|
UndoManager: EB,
|
|
@@ -21082,7 +21085,7 @@ function ife() {
|
|
|
21082
21085
|
}, yi = (t, r) => {
|
|
21083
21086
|
const l = {};
|
|
21084
21087
|
return Ns(t, r, No(l), re), l;
|
|
21085
|
-
},
|
|
21088
|
+
}, Ra = (t, r) => {
|
|
21086
21089
|
const l = [];
|
|
21087
21090
|
return Fs(t, (h, b) => {
|
|
21088
21091
|
l.push(r(h, b));
|
|
@@ -21095,7 +21098,7 @@ function ife() {
|
|
|
21095
21098
|
return Q.some(S);
|
|
21096
21099
|
}
|
|
21097
21100
|
return Q.none();
|
|
21098
|
-
}, 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) => {
|
|
21099
21102
|
const r = [], l = (h) => {
|
|
21100
21103
|
r.push(h);
|
|
21101
21104
|
};
|
|
@@ -21157,7 +21160,7 @@ function ife() {
|
|
|
21157
21160
|
}, Ln = Object.getPrototypeOf, In = (t) => pn("HTMLElement", t), Rn = (t) => {
|
|
21158
21161
|
const r = Lt("ownerDocument.defaultView", t);
|
|
21159
21162
|
return T(t) && (In(r).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(Ln(t).constructor.name));
|
|
21160
|
-
}, 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) => {
|
|
21161
21164
|
const l = t.dom;
|
|
21162
21165
|
if (l.nodeType !== us)
|
|
21163
21166
|
return !1;
|
|
@@ -21182,7 +21185,7 @@ function ife() {
|
|
|
21182
21185
|
}, Wo = (t, r) => t.dom === r.dom, Ol = (t, r) => {
|
|
21183
21186
|
const l = t.dom, h = r.dom;
|
|
21184
21187
|
return l === h ? !1 : l.contains(h);
|
|
21185
|
-
}, 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) => {
|
|
21186
21189
|
const l = we(r) ? r : tt;
|
|
21187
21190
|
let h = t.dom;
|
|
21188
21191
|
const b = [];
|
|
@@ -21341,8 +21344,8 @@ function ife() {
|
|
|
21341
21344
|
if (l === t.dom)
|
|
21342
21345
|
return cr(l.offsetLeft, l.offsetTop);
|
|
21343
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);
|
|
21344
|
-
return
|
|
21345
|
-
},
|
|
21347
|
+
return Na(t).translate(S - D, x - E);
|
|
21348
|
+
}, Na = (t) => {
|
|
21346
21349
|
const r = t.dom, h = r.ownerDocument.body;
|
|
21347
21350
|
return h === r ? cr(h.offsetLeft, h.offsetTop) : Ve(t) ? Qc(r) : cr(0, 0);
|
|
21348
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) => {
|
|
@@ -21385,15 +21388,15 @@ function ife() {
|
|
|
21385
21388
|
minor: 0
|
|
21386
21389
|
};
|
|
21387
21390
|
const h = (b) => Number(r.replace(l, "$" + b));
|
|
21388
|
-
return
|
|
21391
|
+
return La(h(1), h(2));
|
|
21389
21392
|
}, si = (t, r) => {
|
|
21390
21393
|
const l = String(r).toLowerCase();
|
|
21391
21394
|
return t.length === 0 ? il() : er(t, l);
|
|
21392
|
-
}, il = () =>
|
|
21395
|
+
}, il = () => La(0, 0), La = (t, r) => ({
|
|
21393
21396
|
major: t,
|
|
21394
21397
|
minor: r
|
|
21395
21398
|
}), vr = {
|
|
21396
|
-
nu:
|
|
21399
|
+
nu: La,
|
|
21397
21400
|
detect: si,
|
|
21398
21401
|
unknown: il
|
|
21399
21402
|
}, qr = (t, r) => ss(r.brands, (l) => {
|
|
@@ -21512,7 +21515,7 @@ function ife() {
|
|
|
21512
21515
|
], Fu = {
|
|
21513
21516
|
browsers: te(Fc),
|
|
21514
21517
|
oses: te(Hh)
|
|
21515
|
-
}, 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({
|
|
21516
21519
|
current: void 0,
|
|
21517
21520
|
version: vr.unknown()
|
|
21518
21521
|
}), lu = (t) => {
|
|
@@ -21525,7 +21528,7 @@ function ife() {
|
|
|
21525
21528
|
isIE: h(yd),
|
|
21526
21529
|
isOpera: h(vd),
|
|
21527
21530
|
isFirefox: h(jl),
|
|
21528
|
-
isSafari: h(
|
|
21531
|
+
isSafari: h(Ia)
|
|
21529
21532
|
};
|
|
21530
21533
|
}, Vm = {
|
|
21531
21534
|
unknown: qp,
|
|
@@ -21535,7 +21538,7 @@ function ife() {
|
|
|
21535
21538
|
ie: te(yd),
|
|
21536
21539
|
opera: te(vd),
|
|
21537
21540
|
firefox: te(jl),
|
|
21538
|
-
safari: te(
|
|
21541
|
+
safari: te(Ia)
|
|
21539
21542
|
}, uf = "Windows", zm = "iOS", Uh = "Android", df = "Linux", Wh = "macOS", Hm = "Solaris", wd = "FreeBSD", Um = "ChromeOS", Me = () => ff({
|
|
21540
21543
|
current: void 0,
|
|
21541
21544
|
version: vr.unknown()
|
|
@@ -21589,7 +21592,7 @@ function ife() {
|
|
|
21589
21592
|
}, hf = (t, r, l, h, b) => {
|
|
21590
21593
|
const x = Zg(l, h);
|
|
21591
21594
|
return t.dom.addEventListener(r, x, b), { unbind: ln(Xh, t, r, x, b) };
|
|
21592
|
-
},
|
|
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) => {
|
|
21593
21596
|
t.dom.removeEventListener(r, l, h);
|
|
21594
21597
|
}, Vu = (t, r) => {
|
|
21595
21598
|
ei(t).each((h) => {
|
|
@@ -21628,7 +21631,7 @@ function ife() {
|
|
|
21628
21631
|
}, Cc = (t) => {
|
|
21629
21632
|
const r = t.dom;
|
|
21630
21633
|
r.parentNode !== null && r.parentNode.removeChild(r);
|
|
21631
|
-
},
|
|
21634
|
+
}, Fa = (t) => {
|
|
21632
21635
|
const r = t !== void 0 ? t.dom : document, l = r.body.scrollLeft || r.documentElement.scrollLeft, h = r.body.scrollTop || r.documentElement.scrollTop;
|
|
21633
21636
|
return cr(l, h);
|
|
21634
21637
|
}, Sd = (t, r, l) => {
|
|
@@ -21645,7 +21648,7 @@ function ife() {
|
|
|
21645
21648
|
right: t + l,
|
|
21646
21649
|
bottom: r + h
|
|
21647
21650
|
}), Zc = (t) => {
|
|
21648
|
-
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));
|
|
21649
21652
|
return Yp(r).fold(() => {
|
|
21650
21653
|
const b = r.document.documentElement, x = b.clientWidth, S = b.clientHeight;
|
|
21651
21654
|
return Gh(h.left, h.top, x, S);
|
|
@@ -21666,10 +21669,10 @@ function ife() {
|
|
|
21666
21669
|
owner: (t) => lr(t)
|
|
21667
21670
|
});
|
|
21668
21671
|
const Uu = (t) => {
|
|
21669
|
-
const r = mf(), l =
|
|
21672
|
+
const r = mf(), l = Fa(r);
|
|
21670
21673
|
return Wm(t, jm).fold(ln(Zi, t), (b) => {
|
|
21671
|
-
const x =
|
|
21672
|
-
const L =
|
|
21674
|
+
const x = Na(t), S = xo(b, (E, D) => {
|
|
21675
|
+
const L = Na(D);
|
|
21673
21676
|
return {
|
|
21674
21677
|
left: E.left + L.left,
|
|
21675
21678
|
top: E.top + L.top
|
|
@@ -21881,20 +21884,20 @@ function ife() {
|
|
|
21881
21884
|
extract: r,
|
|
21882
21885
|
toString: l
|
|
21883
21886
|
};
|
|
21884
|
-
}, 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) => {
|
|
21885
21888
|
const b = qt(t, r).getOrThunk(() => l(t));
|
|
21886
21889
|
return h(b);
|
|
21887
21890
|
}, HO = (t, r, l) => l(qt(t, r)), Z1 = (t, r, l, h) => {
|
|
21888
21891
|
const b = qt(t, r).map((x) => x === !0 ? l(t) : x);
|
|
21889
21892
|
return h(b);
|
|
21890
|
-
},
|
|
21893
|
+
}, Va = (t, r, l, h, b) => {
|
|
21891
21894
|
const x = (E) => b.extract(r.concat([h]), E), S = (E) => E.fold(() => gi.svalue(Q.none()), (D) => {
|
|
21892
21895
|
const L = b.extract(r.concat([h]), D);
|
|
21893
21896
|
return gi.map(L, Q.some);
|
|
21894
21897
|
});
|
|
21895
21898
|
switch (t.tag) {
|
|
21896
21899
|
case "required":
|
|
21897
|
-
return
|
|
21900
|
+
return Za(r, l, h, x);
|
|
21898
21901
|
case "defaultedThunk":
|
|
21899
21902
|
return n0(l, h, t.process, x);
|
|
21900
21903
|
case "option":
|
|
@@ -21911,7 +21914,7 @@ function ife() {
|
|
|
21911
21914
|
const h = {}, b = [];
|
|
21912
21915
|
for (const x of l)
|
|
21913
21916
|
sr(x, (S, E, D, L) => {
|
|
21914
|
-
const V =
|
|
21917
|
+
const V = Va(D, t, r, S, L);
|
|
21915
21918
|
gi.fold(V, (j) => {
|
|
21916
21919
|
b.push(...j);
|
|
21917
21920
|
}, (j) => {
|
|
@@ -21924,7 +21927,7 @@ function ife() {
|
|
|
21924
21927
|
}, Ui = (t) => ({
|
|
21925
21928
|
extract: (h, b) => t().extract(h, b),
|
|
21926
21929
|
toString: () => t().toString()
|
|
21927
|
-
}), V1 = (t) => rs(yi(t, De)),
|
|
21930
|
+
}), V1 = (t) => rs(yi(t, De)), za = (t) => {
|
|
21928
21931
|
const r = uo(t), l = xo(t, (b, x) => sr(x, (S) => xr(b, { [S]: !0 }), te(b)), {});
|
|
21929
21932
|
return {
|
|
21930
21933
|
extract: (b, x) => {
|
|
@@ -22019,7 +22022,7 @@ function ife() {
|
|
|
22019
22022
|
` + Eo(t.errors).join(`
|
|
22020
22023
|
`) + `
|
|
22021
22024
|
|
|
22022
|
-
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) => {
|
|
22023
22026
|
if (!R(t))
|
|
22024
22027
|
throw new Error("cases must be an array");
|
|
22025
22028
|
if (t.length === 0)
|
|
@@ -22159,7 +22162,7 @@ Required: ` + r.join(", "));
|
|
|
22159
22162
|
});
|
|
22160
22163
|
}
|
|
22161
22164
|
};
|
|
22162
|
-
}, 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) => {
|
|
22163
22166
|
JO(t, t.element, r, {});
|
|
22164
22167
|
}, zn = (t, r, l) => {
|
|
22165
22168
|
JO(t, t.element, r, l);
|
|
@@ -22266,7 +22269,7 @@ Required: ` + r.join(", "));
|
|
|
22266
22269
|
}), tp = (t, r, l) => lk((h, b) => {
|
|
22267
22270
|
l(h, t, r);
|
|
22268
22271
|
}), T2 = (t, r, l, h, b, x) => {
|
|
22269
|
-
const S =
|
|
22272
|
+
const S = za(t), E = Ki(r, [Ji("config", t)]);
|
|
22270
22273
|
return tb(S, E, r, l, h, b, x);
|
|
22271
22274
|
}, ih = (t, r, l, h, b, x) => {
|
|
22272
22275
|
const S = t, E = Ki(r, [Pd("config", t)]);
|
|
@@ -22310,7 +22313,7 @@ Required: ` + r.join(", "));
|
|
|
22310
22313
|
handlers: (j) => E(j).map((oe) => qt(h, "events").getOr(() => ({}))(oe.config, oe.state)).getOr({})
|
|
22311
22314
|
};
|
|
22312
22315
|
return V;
|
|
22313
|
-
}, 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([
|
|
22314
22317
|
Dt("fields"),
|
|
22315
22318
|
Dt("name"),
|
|
22316
22319
|
st("active", {}),
|
|
@@ -22320,7 +22323,7 @@ Required: ` + r.join(", "));
|
|
|
22320
22323
|
]), Sa = (t) => {
|
|
22321
22324
|
const r = Il("Creating behaviour: " + t.name, b0, t);
|
|
22322
22325
|
return T2(r.fields, r.name, r.active, r.apis, r.extra, r.state);
|
|
22323
|
-
}, L_ =
|
|
22326
|
+
}, L_ = za([
|
|
22324
22327
|
Dt("branchKey"),
|
|
22325
22328
|
Dt("branches"),
|
|
22326
22329
|
Dt("name"),
|
|
@@ -22380,7 +22383,7 @@ Required: ` + r.join(", "));
|
|
|
22380
22383
|
}, Sf = (t) => ({
|
|
22381
22384
|
...t,
|
|
22382
22385
|
position: Q.some(t.position)
|
|
22383
|
-
}),
|
|
22386
|
+
}), Wa = (t, r) => {
|
|
22384
22387
|
oi(t, Sf(r));
|
|
22385
22388
|
}, op = (t) => (Mr(Zs(t, "position"), "fixed") ? Q.none() : Wl(t)).orThunk(() => {
|
|
22386
22389
|
const h = bt.fromTag("span");
|
|
@@ -22507,7 +22510,7 @@ Required: ` + r.join(", "));
|
|
|
22507
22510
|
], (h) => Uo(t.element, h)), r.onUndocked(t);
|
|
22508
22511
|
}, lb = (t, r, l, h) => {
|
|
22509
22512
|
const b = h.position === "fixed";
|
|
22510
|
-
l.setDocked(b),
|
|
22513
|
+
l.setDocked(b), Wa(t.element, h), (b ? r.onDocked : r.onUndocked)(t);
|
|
22511
22514
|
}, Z_ = (t, r, l, h, b = !1) => {
|
|
22512
22515
|
r.contextual.each((x) => {
|
|
22513
22516
|
x.lazyContext(t).each((S) => {
|
|
@@ -22671,7 +22674,7 @@ Required: ` + r.join(", "));
|
|
|
22671
22674
|
});
|
|
22672
22675
|
}
|
|
22673
22676
|
};
|
|
22674
|
-
},
|
|
22677
|
+
}, ja = (t, r, l) => {
|
|
22675
22678
|
switch (qt(ch.get(), t).orThunk(() => {
|
|
22676
22679
|
const b = rs(ch.get());
|
|
22677
22680
|
return ss(b, (x) => t.indexOf(x) > -1 ? Q.some(ch.get()[x]) : Q.none());
|
|
@@ -22703,7 +22706,7 @@ Required: ` + r.join(", "));
|
|
|
22703
22706
|
logEventNoHandlers: re,
|
|
22704
22707
|
logEventResponse: re,
|
|
22705
22708
|
write: re
|
|
22706
|
-
}, L2 = (t, r, l) =>
|
|
22709
|
+
}, L2 = (t, r, l) => ja(t, r, l), ap = te(X_), cg = te([
|
|
22707
22710
|
Dt("menu"),
|
|
22708
22711
|
Dt("selectedMenu")
|
|
22709
22712
|
]), dm = te([
|
|
@@ -22919,7 +22922,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
22919
22922
|
return c0(x);
|
|
22920
22923
|
}) : V2(l, t);
|
|
22921
22924
|
}, s5 = (t, r) => {
|
|
22922
|
-
const l =
|
|
22925
|
+
const l = Ra(t, (h, b) => (h.length === 1 ? Do.value(h[0].handler) : hy(h, r, b)).map((S) => {
|
|
22923
22926
|
const E = fy(S), D = h.length > 1 ? Oo(r[b], (L) => hn(h, (V) => V.name === L)).join(" > ") : h[0].name;
|
|
22924
22927
|
return Mo(b, o5(E, D));
|
|
22925
22928
|
}));
|
|
@@ -23131,7 +23134,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23131
23134
|
const r = bt.fromText(t);
|
|
23132
23135
|
return Ob({ element: r });
|
|
23133
23136
|
}, Ob = (t) => {
|
|
23134
|
-
const r = Il("external.component",
|
|
23137
|
+
const r = Il("external.component", za([
|
|
23135
23138
|
Dt("element"),
|
|
23136
23139
|
Ps("uid")
|
|
23137
23140
|
]), t), l = Zn(T0()), h = (E) => {
|
|
@@ -23266,22 +23269,22 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23266
23269
|
}), pm), Ai = (t, r, l) => cl(ew(t, r), tw(t, r), l.northwest(), K2(), "northwest", El(t, {
|
|
23267
23270
|
right: 0,
|
|
23268
23271
|
bottom: 2
|
|
23269
|
-
}), 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 = () => [
|
|
23270
23273
|
da,
|
|
23271
23274
|
ta,
|
|
23272
23275
|
ul,
|
|
23273
23276
|
Ai,
|
|
23274
23277
|
fa,
|
|
23275
|
-
|
|
23278
|
+
Xa,
|
|
23276
23279
|
vb,
|
|
23277
23280
|
ow
|
|
23278
|
-
],
|
|
23281
|
+
], qa = () => [
|
|
23279
23282
|
ta,
|
|
23280
23283
|
da,
|
|
23281
23284
|
Ai,
|
|
23282
23285
|
ul,
|
|
23283
23286
|
fa,
|
|
23284
|
-
|
|
23287
|
+
Xa,
|
|
23285
23288
|
vb,
|
|
23286
23289
|
ow
|
|
23287
23290
|
], sw = () => [
|
|
@@ -23289,14 +23292,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23289
23292
|
Ai,
|
|
23290
23293
|
da,
|
|
23291
23294
|
ta,
|
|
23292
|
-
|
|
23295
|
+
Xa,
|
|
23293
23296
|
fa
|
|
23294
23297
|
], Dn = () => [
|
|
23295
23298
|
Ai,
|
|
23296
23299
|
ul,
|
|
23297
23300
|
ta,
|
|
23298
23301
|
da,
|
|
23299
|
-
|
|
23302
|
+
Xa,
|
|
23300
23303
|
fa
|
|
23301
23304
|
], P0 = () => [
|
|
23302
23305
|
da,
|
|
@@ -23304,14 +23307,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ke(r, (l) => l.name),
|
|
|
23304
23307
|
ul,
|
|
23305
23308
|
Ai,
|
|
23306
23309
|
fa,
|
|
23307
|
-
|
|
23310
|
+
Xa
|
|
23308
23311
|
], xb = () => [
|
|
23309
23312
|
ta,
|
|
23310
23313
|
da,
|
|
23311
23314
|
Ai,
|
|
23312
23315
|
ul,
|
|
23313
23316
|
fa,
|
|
23314
|
-
|
|
23317
|
+
Xa
|
|
23315
23318
|
], Xk = (t, r) => r.universal ? t : Oo(t, (l) => Pt(r.channels, l));
|
|
23316
23319
|
var g5 = /* @__PURE__ */ Object.freeze({
|
|
23317
23320
|
__proto__: null,
|
|
@@ -23323,7 +23326,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23323
23326
|
D.onReceive(r, V);
|
|
23324
23327
|
});
|
|
23325
23328
|
})])
|
|
23326
|
-
}), qk = [$s("channels", ju(Do.value,
|
|
23329
|
+
}), qk = [$s("channels", ju(Do.value, za([
|
|
23327
23330
|
_f("onReceive"),
|
|
23328
23331
|
st("schema", du())
|
|
23329
23332
|
])))];
|
|
@@ -23378,7 +23381,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23378
23381
|
return xf("absolute", Q.some(l.x), Q.some(l.y), Q.none(), Q.none());
|
|
23379
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) => {
|
|
23380
23383
|
const l = ln(Uu, r), h = t.fold(l, l, () => {
|
|
23381
|
-
const S =
|
|
23384
|
+
const S = Fa();
|
|
23382
23385
|
return Uu(r).translate(-S.left, -S.top);
|
|
23383
23386
|
}), b = nt(r), x = Ic(r);
|
|
23384
23387
|
return Nr(h.left, h.top, b, x);
|
|
@@ -23387,7 +23390,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23387
23390
|
return Nr(h.left, h.top, l.width, l.height);
|
|
23388
23391
|
})), cw = (t, r, l) => {
|
|
23389
23392
|
const h = cr(r, l), b = () => {
|
|
23390
|
-
const x =
|
|
23393
|
+
const x = Fa();
|
|
23391
23394
|
return h.translate(-x.left, -x.top);
|
|
23392
23395
|
};
|
|
23393
23396
|
return t.fold(te(h), te(h), b);
|
|
@@ -23471,7 +23474,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23471
23474
|
layout: "none",
|
|
23472
23475
|
testY: l.y
|
|
23473
23476
|
}, -1, -1, !1)).fold($t, $t);
|
|
23474
|
-
}, 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 = [
|
|
23475
23478
|
"top",
|
|
23476
23479
|
"bottom",
|
|
23477
23480
|
"right",
|
|
@@ -23554,7 +23557,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23554
23557
|
const h = lw(l.origin, r);
|
|
23555
23558
|
l.transition.each((b) => {
|
|
23556
23559
|
T5(t, l.origin, h, b, r, l.lastPlacement);
|
|
23557
|
-
}),
|
|
23560
|
+
}), Wa(t, h);
|
|
23558
23561
|
}, gw = (t, r) => {
|
|
23559
23562
|
Sy(t, r.placement);
|
|
23560
23563
|
}, pw = (t, r) => {
|
|
@@ -23706,7 +23709,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23706
23709
|
Qr("placement", yc)
|
|
23707
23710
|
];
|
|
23708
23711
|
const D0 = (t, r, l) => {
|
|
23709
|
-
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());
|
|
23710
23713
|
return Q.some(Py({
|
|
23711
23714
|
anchorBox: b,
|
|
23712
23715
|
bubble: r.bubble,
|
|
@@ -23746,7 +23749,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
23746
23749
|
};
|
|
23747
23750
|
return Q.from(h.frameElement).map(bt.fromDom).filter(b).map(Zi);
|
|
23748
23751
|
}, xw = (t, r, l) => {
|
|
23749
|
-
const h = lr(t.element), b =
|
|
23752
|
+
const h = lr(t.element), b = Fa(h), x = Tb(t, r, l).getOr(b);
|
|
23750
23753
|
return D5(x, b.left, b.top);
|
|
23751
23754
|
}, Sw = (t, r, l, h) => {
|
|
23752
23755
|
const b = A5(cr(t, r));
|
|
@@ -24234,7 +24237,7 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
24234
24237
|
setContent: xp
|
|
24235
24238
|
}), AC = /* @__PURE__ */ Object.freeze({
|
|
24236
24239
|
__proto__: null,
|
|
24237
|
-
events: (t, r) => nr([Et(
|
|
24240
|
+
events: (t, r) => nr([Et(Ua(), (l, h) => {
|
|
24238
24241
|
kC(l, t, r);
|
|
24239
24242
|
})])
|
|
24240
24243
|
}), Z0 = [
|
|
@@ -24262,20 +24265,20 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
24262
24265
|
active: AC,
|
|
24263
24266
|
apis: Z5,
|
|
24264
24267
|
state: H5
|
|
24265
|
-
}), 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([
|
|
24266
24269
|
st("isExtraPart", tt),
|
|
24267
24270
|
Ki("fireEventInstead", [st("event", rm())])
|
|
24268
24271
|
]), Xc = (t) => {
|
|
24269
24272
|
const r = Il("Dismissal", Dw, t);
|
|
24270
24273
|
return {
|
|
24271
24274
|
[Og()]: {
|
|
24272
|
-
schema:
|
|
24275
|
+
schema: za([Dt("target")]),
|
|
24273
24276
|
onReceive: (l, h) => {
|
|
24274
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)));
|
|
24275
24278
|
}
|
|
24276
24279
|
}
|
|
24277
24280
|
};
|
|
24278
|
-
}, U5 =
|
|
24281
|
+
}, U5 = za([
|
|
24279
24282
|
Ki("fireEventInstead", [st("event", m0())]),
|
|
24280
24283
|
hu("doReposition")
|
|
24281
24284
|
]), Sp = (t) => {
|
|
@@ -24450,11 +24453,11 @@ Receiver: ` + nd(r.element), L, x.data);
|
|
|
24450
24453
|
}
|
|
24451
24454
|
},
|
|
24452
24455
|
state: Rw
|
|
24453
|
-
}),
|
|
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) => ({
|
|
24454
24457
|
...Yt(r),
|
|
24455
24458
|
...t.dump
|
|
24456
24459
|
}), ku = {
|
|
24457
|
-
field:
|
|
24460
|
+
field: Ga,
|
|
24458
24461
|
augment: Ri,
|
|
24459
24462
|
get: Ky
|
|
24460
24463
|
}, Jy = "placeholder", _p = fe.generate([
|
|
@@ -24652,7 +24655,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24652
24655
|
st("debug.sketcher", {})
|
|
24653
24656
|
]).concat(r), iv = (t, r, l, h, b) => {
|
|
24654
24657
|
const x = WC(h, b);
|
|
24655
|
-
return Il(t + " [SpecSchema]",
|
|
24658
|
+
return Il(t + " [SpecSchema]", za(x.concat(r)), l);
|
|
24656
24659
|
}, J5 = (t, r, l, h) => {
|
|
24657
24660
|
const b = qw(h), x = iv(t, r, b, [], []);
|
|
24658
24661
|
return l(x, b);
|
|
@@ -24662,13 +24665,13 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24662
24665
|
}, jC = (t) => zo(t, "uid"), qw = (t) => jC(t) ? t : {
|
|
24663
24666
|
...t,
|
|
24664
24667
|
uid: fp("uid")
|
|
24665
|
-
}, XC = (t) => t.uid !== void 0, Cm =
|
|
24668
|
+
}, XC = (t) => t.uid !== void 0, Cm = za([
|
|
24666
24669
|
Dt("name"),
|
|
24667
24670
|
Dt("factory"),
|
|
24668
24671
|
Dt("configFields"),
|
|
24669
24672
|
st("apis", {}),
|
|
24670
24673
|
st("extraApis", {})
|
|
24671
|
-
]), av =
|
|
24674
|
+
]), av = za([
|
|
24672
24675
|
Dt("name"),
|
|
24673
24676
|
Dt("factory"),
|
|
24674
24677
|
Dt("configFields"),
|
|
@@ -24906,7 +24909,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24906
24909
|
ve(pe, L, V), xe.stop();
|
|
24907
24910
|
});
|
|
24908
24911
|
}, le = [
|
|
24909
|
-
Et(
|
|
24912
|
+
Et(Ha(), (pe, xe) => {
|
|
24910
24913
|
S(pe, xe, l, L, V).fold(() => {
|
|
24911
24914
|
oe(pe, xe);
|
|
24912
24915
|
}, (Xe) => {
|
|
@@ -25637,7 +25640,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25637
25640
|
Dt("dom"),
|
|
25638
25641
|
Dt("components"),
|
|
25639
25642
|
st("eventOrder", {}),
|
|
25640
|
-
|
|
25643
|
+
Ga("menuBehaviours", [
|
|
25641
25644
|
ue,
|
|
25642
25645
|
Cn,
|
|
25643
25646
|
bs,
|
|
@@ -25787,10 +25790,10 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25787
25790
|
init: eV,
|
|
25788
25791
|
extractPreparedMenu: B8
|
|
25789
25792
|
}, ME = An("tiered-menu-item-highlight"), N8 = An("tiered-menu-item-dehighlight");
|
|
25790
|
-
var
|
|
25793
|
+
var Ya;
|
|
25791
25794
|
(function(t) {
|
|
25792
25795
|
t[t.HighlightMenuAndItem = 0] = "HighlightMenuAndItem", t[t.HighlightJustMenu = 1] = "HighlightJustMenu", t[t.HighlightNone = 2] = "HighlightNone";
|
|
25793
|
-
})(
|
|
25796
|
+
})(Ya || (Ya = {}));
|
|
25794
25797
|
const tV = (t, r) => {
|
|
25795
25798
|
const l = Is(), h = (Xt, On, vo) => Bo(vo, (Zo, eo) => {
|
|
25796
25799
|
const Po = () => Kb.sketch({
|
|
@@ -25906,7 +25909,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25906
25909
|
}),
|
|
25907
25910
|
hr((Xt, On) => {
|
|
25908
25911
|
x(Xt).each((vo) => {
|
|
25909
|
-
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);
|
|
25910
25913
|
});
|
|
25911
25914
|
}),
|
|
25912
25915
|
Et(ME, (Xt, On) => {
|
|
@@ -25995,7 +25998,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25995
25998
|
_f("onOpenSubmenu"),
|
|
25996
25999
|
ps("onRepositionMenu"),
|
|
25997
26000
|
ps("onCollapseMenu"),
|
|
25998
|
-
st("highlightOnOpen",
|
|
26001
|
+
st("highlightOnOpen", Ya.HighlightMenuAndItem),
|
|
25999
26002
|
nh("data", [
|
|
26000
26003
|
Dt("primary"),
|
|
26001
26004
|
Dt("menus"),
|
|
@@ -26009,7 +26012,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26009
26012
|
Dt("dom"),
|
|
26010
26013
|
st("navigateOnHover", !0),
|
|
26011
26014
|
st("stayInDom", !1),
|
|
26012
|
-
|
|
26015
|
+
Ga("tmenuBehaviours", [
|
|
26013
26016
|
qn,
|
|
26014
26017
|
ue,
|
|
26015
26018
|
bs,
|
|
@@ -26165,7 +26168,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26165
26168
|
ps("onShow"),
|
|
26166
26169
|
ps("onHide"),
|
|
26167
26170
|
bf("onEscape"),
|
|
26168
|
-
|
|
26171
|
+
Ga("inlineBehaviours", [
|
|
26169
26172
|
_s,
|
|
26170
26173
|
Cn,
|
|
26171
26174
|
jc
|
|
@@ -26701,7 +26704,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26701
26704
|
layouts: {
|
|
26702
26705
|
onLtr: te([
|
|
26703
26706
|
fa,
|
|
26704
|
-
|
|
26707
|
+
Xa,
|
|
26705
26708
|
da,
|
|
26706
26709
|
ul,
|
|
26707
26710
|
ta,
|
|
@@ -26709,7 +26712,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26709
26712
|
]),
|
|
26710
26713
|
onRtl: te([
|
|
26711
26714
|
fa,
|
|
26712
|
-
|
|
26715
|
+
Xa,
|
|
26713
26716
|
da,
|
|
26714
26717
|
ul,
|
|
26715
26718
|
ta,
|
|
@@ -27005,8 +27008,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27005
27008
|
namespaceURI: n_,
|
|
27006
27009
|
tagName: "template"
|
|
27007
27010
|
});
|
|
27008
|
-
const cs = PT(yt.tagName),
|
|
27009
|
-
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;
|
|
27010
27013
|
}, T1 = function(yt) {
|
|
27011
27014
|
Sx(r.removed, {
|
|
27012
27015
|
element: yt
|
|
@@ -27048,16 +27051,16 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27048
27051
|
cs = Nu && Nu[0];
|
|
27049
27052
|
}
|
|
27050
27053
|
SR === "application/xhtml+xml" && n_ === RO && (yt = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + yt + "</body></html>");
|
|
27051
|
-
const
|
|
27054
|
+
const nl = lt ? lt.createHTML(yt) : yt;
|
|
27052
27055
|
if (n_ === RO)
|
|
27053
27056
|
try {
|
|
27054
|
-
io = new oe().parseFromString(
|
|
27057
|
+
io = new oe().parseFromString(nl, SR);
|
|
27055
27058
|
} catch {
|
|
27056
27059
|
}
|
|
27057
27060
|
if (!io || !io.documentElement) {
|
|
27058
27061
|
io = gn.createDocument(n_, "template", null);
|
|
27059
27062
|
try {
|
|
27060
|
-
io.documentElement.innerHTML = MY ? mt :
|
|
27063
|
+
io.documentElement.innerHTML = MY ? mt : nl;
|
|
27061
27064
|
} catch {
|
|
27062
27065
|
}
|
|
27063
27066
|
}
|
|
@@ -27076,8 +27079,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27076
27079
|
}, vte = function(yt) {
|
|
27077
27080
|
return typeof E == "function" && yt instanceof E;
|
|
27078
27081
|
}, MO = function(yt, io, cs) {
|
|
27079
|
-
Nn[yt] && $T(Nn[yt], (
|
|
27080
|
-
|
|
27082
|
+
Nn[yt] && $T(Nn[yt], (nl) => {
|
|
27083
|
+
nl.call(r, io, cs, o_);
|
|
27081
27084
|
});
|
|
27082
27085
|
}, wte = function(yt) {
|
|
27083
27086
|
let io = null;
|
|
@@ -27093,19 +27096,19 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27093
27096
|
if (!Yd[cs] && Ste(cs) && (ci.tagNameCheck instanceof RegExp && ad(ci.tagNameCheck, cs) || ci.tagNameCheck instanceof Function && ci.tagNameCheck(cs)))
|
|
27094
27097
|
return !1;
|
|
27095
27098
|
if (DY && !t_[cs]) {
|
|
27096
|
-
const
|
|
27097
|
-
if (ef &&
|
|
27099
|
+
const nl = He(yt) || yt.parentNode, ef = Ue(yt) || yt.childNodes;
|
|
27100
|
+
if (ef && nl) {
|
|
27098
27101
|
const Nu = ef.length;
|
|
27099
27102
|
for (let Lh = Nu - 1; Lh >= 0; --Lh) {
|
|
27100
27103
|
const _1 = xe(ef[Lh], !0);
|
|
27101
|
-
_1.__removalCount = (yt.__removalCount || 0) + 1,
|
|
27104
|
+
_1.__removalCount = (yt.__removalCount || 0) + 1, nl.insertBefore(_1, ve(yt));
|
|
27102
27105
|
}
|
|
27103
27106
|
}
|
|
27104
27107
|
}
|
|
27105
27108
|
return T1(yt), !0;
|
|
27106
27109
|
}
|
|
27107
|
-
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], (
|
|
27108
|
-
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, " ");
|
|
27109
27112
|
}), yt.textContent !== io && (Sx(r.removed, {
|
|
27110
27113
|
element: yt.cloneNode()
|
|
27111
27114
|
}), yt.textContent = io)), MO("afterSanitizeElements", yt, null), !1);
|
|
@@ -27151,9 +27154,9 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27151
27154
|
keepAttr: !0,
|
|
27152
27155
|
allowedAttributes: or
|
|
27153
27156
|
};
|
|
27154
|
-
let
|
|
27155
|
-
for (;
|
|
27156
|
-
const ef = io[
|
|
27157
|
+
let nl = io.length;
|
|
27158
|
+
for (; nl--; ) {
|
|
27159
|
+
const ef = io[nl], {
|
|
27157
27160
|
name: Nu,
|
|
27158
27161
|
namespaceURI: Lh,
|
|
27159
27162
|
value: _1
|
|
@@ -27208,7 +27211,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27208
27211
|
MO("afterSanitizeShadowDOM", yt, null);
|
|
27209
27212
|
};
|
|
27210
27213
|
return r.sanitize = function(Os) {
|
|
27211
|
-
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;
|
|
27212
27215
|
if (MY = !Os, MY && (Os = "<!-->"), typeof Os != "string" && !vte(Os))
|
|
27213
27216
|
if (typeof Os.toString == "function") {
|
|
27214
27217
|
if (Os = Os.toString(), typeof Os != "string")
|
|
@@ -27234,8 +27237,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27234
27237
|
}
|
|
27235
27238
|
io && AY && T1(io.firstChild);
|
|
27236
27239
|
const Nu = Ote(xR ? Os : io);
|
|
27237
|
-
for (;
|
|
27238
|
-
wte(
|
|
27240
|
+
for (; nl = Nu.nextNode(); )
|
|
27241
|
+
wte(nl) || (nl.content instanceof x && Cae(nl.content), kte(nl));
|
|
27239
27242
|
if (xR)
|
|
27240
27243
|
return Os;
|
|
27241
27244
|
if (J4) {
|
|
@@ -27258,8 +27261,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27258
27261
|
o_ = null, wR = !1;
|
|
27259
27262
|
}, r.isValidAttribute = function(Os, yt, io) {
|
|
27260
27263
|
o_ || NY({});
|
|
27261
|
-
const cs = Bu(Os),
|
|
27262
|
-
return xte(cs,
|
|
27264
|
+
const cs = Bu(Os), nl = Bu(yt);
|
|
27265
|
+
return xte(cs, nl, io);
|
|
27263
27266
|
}, r.addHook = function(Os, yt) {
|
|
27264
27267
|
typeof yt == "function" && (Nn[Os] = Nn[Os] || [], Sx(Nn[Os], yt));
|
|
27265
27268
|
}, r.removeHook = function(Os) {
|
|
@@ -27594,7 +27597,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27594
27597
|
};
|
|
27595
27598
|
const PV = { setup: (t, r) => {
|
|
27596
27599
|
const l = (b, x) => {
|
|
27597
|
-
zn(b,
|
|
27600
|
+
zn(b, Ha(), { raw: x });
|
|
27598
27601
|
}, h = () => t.getMenu().bind(ue.getHighlighted);
|
|
27599
27602
|
r.on("keydown", (b) => {
|
|
27600
27603
|
const x = b.which;
|
|
@@ -27666,7 +27669,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27666
27669
|
zs("toInputValue", $t),
|
|
27667
27670
|
st("styles", {}),
|
|
27668
27671
|
st("eventOrder", {}),
|
|
27669
|
-
|
|
27672
|
+
Ga("inputBehaviours", [
|
|
27670
27673
|
Cn,
|
|
27671
27674
|
go
|
|
27672
27675
|
]),
|
|
@@ -27746,7 +27749,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27746
27749
|
Et(Ku(), (b) => {
|
|
27747
27750
|
Go(b, O$);
|
|
27748
27751
|
}),
|
|
27749
|
-
Et(
|
|
27752
|
+
Et(Ha(), (b, x) => {
|
|
27750
27753
|
x.event.raw.key === "Escape" && x.stop();
|
|
27751
27754
|
})
|
|
27752
27755
|
]),
|
|
@@ -28204,7 +28207,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28204
28207
|
}
|
|
28205
28208
|
}
|
|
28206
28209
|
}), sz = (t, r) => im((l, h) => {
|
|
28207
|
-
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());
|
|
28208
28211
|
}), rz = {
|
|
28209
28212
|
[Tl()]: [
|
|
28210
28213
|
"disabling",
|
|
@@ -28796,7 +28799,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28796
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) => {
|
|
28797
28800
|
const l = kh("color_cols")(t), h = sP(t, r);
|
|
28798
28801
|
return l === sP(t) ? h : l;
|
|
28799
|
-
}, 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) => {
|
|
28800
28803
|
if (Io(r)) {
|
|
28801
28804
|
const l = Nt(r, "background-color");
|
|
28802
28805
|
return Xn(Lz(l), l);
|
|
@@ -28866,7 +28869,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28866
28869
|
icon: r === "forecolor" ? "text-color" : "highlight-bg-color",
|
|
28867
28870
|
select: F7(t, l),
|
|
28868
28871
|
columns: o3(t, l),
|
|
28869
|
-
fetch: I7(Lf(t, l), l,
|
|
28872
|
+
fetch: I7(Lf(t, l), l, Ka(t)),
|
|
28870
28873
|
onAction: (b) => {
|
|
28871
28874
|
rP(t, l, h.get(), re);
|
|
28872
28875
|
},
|
|
@@ -29100,7 +29103,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29100
29103
|
}),
|
|
29101
29104
|
p0(U7, (D, L, V) => {
|
|
29102
29105
|
const { row: j, col: oe } = V.event;
|
|
29103
|
-
Go(D,
|
|
29106
|
+
Go(D, Ua()), t.onAction({
|
|
29104
29107
|
numRows: j + 1,
|
|
29105
29108
|
numColumns: oe + 1
|
|
29106
29109
|
});
|
|
@@ -29308,7 +29311,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29308
29311
|
dom: { tag: "div" },
|
|
29309
29312
|
behaviours: Yt([$l.config({ useFixed: gt })]),
|
|
29310
29313
|
events: nr([
|
|
29311
|
-
ep(
|
|
29314
|
+
ep(Ha()),
|
|
29312
29315
|
ep(Si()),
|
|
29313
29316
|
ep(qg())
|
|
29314
29317
|
])
|
|
@@ -29441,7 +29444,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29441
29444
|
st("getHotspot", Q.some),
|
|
29442
29445
|
st("getAnchorOverrides", te({})),
|
|
29443
29446
|
hg(),
|
|
29444
|
-
|
|
29447
|
+
Ga("dropdownBehaviours", [
|
|
29445
29448
|
Yo,
|
|
29446
29449
|
Mi,
|
|
29447
29450
|
qn,
|
|
@@ -29470,18 +29473,18 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29470
29473
|
n1.highlightPrimary(j);
|
|
29471
29474
|
});
|
|
29472
29475
|
}, S = (V, j, oe) => mP(t, $t, V, h, j, oe), E = (V) => {
|
|
29473
|
-
S(V, x,
|
|
29476
|
+
S(V, x, Ya.HighlightMenuAndItem).get(re);
|
|
29474
29477
|
}, D = {
|
|
29475
29478
|
expand: (V) => {
|
|
29476
|
-
Yo.isOn(V) || S(V, re,
|
|
29479
|
+
Yo.isOn(V) || S(V, re, Ya.HighlightNone).get(re);
|
|
29477
29480
|
},
|
|
29478
29481
|
open: (V) => {
|
|
29479
|
-
Yo.isOn(V) || S(V, re,
|
|
29482
|
+
Yo.isOn(V) || S(V, re, Ya.HighlightMenuAndItem).get(re);
|
|
29480
29483
|
},
|
|
29481
|
-
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)),
|
|
29482
29485
|
isOpen: Yo.isOn,
|
|
29483
29486
|
close: (V) => {
|
|
29484
|
-
Yo.isOn(V) && S(V, re,
|
|
29487
|
+
Yo.isOn(V) && S(V, re, Ya.HighlightMenuAndItem).get(re);
|
|
29485
29488
|
},
|
|
29486
29489
|
repositionMenus: (V) => {
|
|
29487
29490
|
Yo.isOn(V) && oB(V);
|
|
@@ -29922,7 +29925,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29922
29925
|
zo(E, S) && delete E[S];
|
|
29923
29926
|
});
|
|
29924
29927
|
},
|
|
29925
|
-
filterByType: (S) => qt(t, S).map((E) =>
|
|
29928
|
+
filterByType: (S) => qt(t, S).map((E) => Ra(E, (D, L) => mB(L, D))).getOr([]),
|
|
29926
29929
|
find: (S, E, D) => qt(t, E).bind((L) => mu(D, (V) => l(L, V), S))
|
|
29927
29930
|
};
|
|
29928
29931
|
}, Mp = () => {
|
|
@@ -29977,7 +29980,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
29977
29980
|
},
|
|
29978
29981
|
configFields: [
|
|
29979
29982
|
st("components", []),
|
|
29980
|
-
|
|
29983
|
+
Ga("containerBehaviours", []),
|
|
29981
29984
|
st("events", {}),
|
|
29982
29985
|
st("domModification", {}),
|
|
29983
29986
|
st("eventOrder", {})
|
|
@@ -30090,7 +30093,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30090
30093
|
components: Ke(t.items, r.interpreter)
|
|
30091
30094
|
}), $H = te([
|
|
30092
30095
|
st("prefix", "form-field"),
|
|
30093
|
-
|
|
30096
|
+
Ga("fieldBehaviours", [
|
|
30094
30097
|
bs,
|
|
30095
30098
|
Cn
|
|
30096
30099
|
])
|
|
@@ -30281,7 +30284,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30281
30284
|
layouts: {
|
|
30282
30285
|
onLtr: te([
|
|
30283
30286
|
fa,
|
|
30284
|
-
|
|
30287
|
+
Xa,
|
|
30285
30288
|
da,
|
|
30286
30289
|
ul,
|
|
30287
30290
|
ta,
|
|
@@ -30289,7 +30292,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30289
30292
|
]),
|
|
30290
30293
|
onRtl: te([
|
|
30291
30294
|
fa,
|
|
30292
|
-
|
|
30295
|
+
Xa,
|
|
30293
30296
|
da,
|
|
30294
30297
|
ul,
|
|
30295
30298
|
ta,
|
|
@@ -30920,7 +30923,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30920
30923
|
Qr("manager", sN)
|
|
30921
30924
|
]
|
|
30922
30925
|
})),
|
|
30923
|
-
|
|
30926
|
+
Ga("sliderBehaviours", [
|
|
30924
30927
|
qn,
|
|
30925
30928
|
Cn
|
|
30926
30929
|
]),
|
|
@@ -31064,7 +31067,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31064
31067
|
un(b.element, "aria-valuenow", Math.floor(360 - S * 3.6)), zn(b, iN, { value: S });
|
|
31065
31068
|
}
|
|
31066
31069
|
});
|
|
31067
|
-
}, lN = "form", cN = [
|
|
31070
|
+
}, lN = "form", cN = [Ga("formBehaviours", [Cn])], KP = (t) => "<alloy.field." + t + ">", yU = (t) => {
|
|
31068
31071
|
const r = (() => {
|
|
31069
31072
|
const x = [];
|
|
31070
31073
|
return {
|
|
@@ -31797,7 +31800,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31797
31800
|
],
|
|
31798
31801
|
behaviours: Yt([rc.childAt(1)])
|
|
31799
31802
|
}), wN = (t, r) => {
|
|
31800
|
-
zn(t,
|
|
31803
|
+
zn(t, Ha(), {
|
|
31801
31804
|
raw: {
|
|
31802
31805
|
which: 9,
|
|
31803
31806
|
shiftKey: r
|
|
@@ -32303,7 +32306,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32303
32306
|
name: "HtmlSelect",
|
|
32304
32307
|
configFields: [
|
|
32305
32308
|
Dt("options"),
|
|
32306
|
-
|
|
32309
|
+
Ga("selectBehaviours", [
|
|
32307
32310
|
go,
|
|
32308
32311
|
Cn
|
|
32309
32312
|
]),
|
|
@@ -33028,7 +33031,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33028
33031
|
r(t.id), D.getSystem().broadcastOn([`update-active-item-${h}`], { value: t.id });
|
|
33029
33032
|
},
|
|
33030
33033
|
eventOrder: {
|
|
33031
|
-
[
|
|
33034
|
+
[Ha()]: [
|
|
33032
33035
|
JN,
|
|
33033
33036
|
"keying"
|
|
33034
33037
|
]
|
|
@@ -33055,7 +33058,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33055
33058
|
(V === t.id ? Yo.on : Yo.off)(D);
|
|
33056
33059
|
});
|
|
33057
33060
|
}),
|
|
33058
|
-
Et(
|
|
33061
|
+
Et(Ha(), (D, L) => {
|
|
33059
33062
|
const V = L.event.raw.code === "ArrowLeft", j = L.event.raw.code === "ArrowRight";
|
|
33060
33063
|
V ? (ua(D.element, ".tox-tree--directory").each((oe) => {
|
|
33061
33064
|
D.getSystem().getByDom(oe).each((le) => {
|
|
@@ -33112,14 +33115,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33112
33115
|
components: x,
|
|
33113
33116
|
action: S,
|
|
33114
33117
|
eventOrder: {
|
|
33115
|
-
[
|
|
33118
|
+
[Ha()]: [
|
|
33116
33119
|
kA,
|
|
33117
33120
|
"keying"
|
|
33118
33121
|
]
|
|
33119
33122
|
},
|
|
33120
33123
|
buttonBehaviours: Yt([
|
|
33121
33124
|
...r ? [zr.config({})] : [],
|
|
33122
|
-
$o(kA, [Et(
|
|
33125
|
+
$o(kA, [Et(Ha(), (E, D) => {
|
|
33123
33126
|
const L = D.event.raw.code === "ArrowRight", V = D.event.raw.code === "ArrowLeft";
|
|
33124
33127
|
L && l && D.stop(), (L || V) && ua(E.element, ".tox-tree--directory").each((j) => {
|
|
33125
33128
|
E.getSystem().getByDom(j).each((oe) => {
|
|
@@ -33369,7 +33372,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33369
33372
|
const xe = (Xe) => {
|
|
33370
33373
|
bs.getCurrent(Xe).each(le);
|
|
33371
33374
|
};
|
|
33372
|
-
r3(t, S(j), j, pe, h, xe,
|
|
33375
|
+
r3(t, S(j), j, pe, h, xe, Ya.HighlightMenuAndItem).get(re);
|
|
33373
33376
|
}
|
|
33374
33377
|
}, x = D6(t), S = (j) => (oe) => oe.map((le) => {
|
|
33375
33378
|
const pe = rl(le.menus), xe = Se(pe, (ve) => Oo(ve.items, (Ue) => Ue.type === "item"));
|
|
@@ -33411,7 +33414,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33411
33414
|
});
|
|
33412
33415
|
});
|
|
33413
33416
|
};
|
|
33414
|
-
r3(t, S(j), j, le, h, Xe,
|
|
33417
|
+
r3(t, S(j), j, le, h, Xe, Ya.HighlightJustMenu).get(re);
|
|
33415
33418
|
}
|
|
33416
33419
|
},
|
|
33417
33420
|
cancelEvent: XO()
|
|
@@ -33457,7 +33460,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33457
33460
|
}),
|
|
33458
33461
|
im((j) => {
|
|
33459
33462
|
const oe = re;
|
|
33460
|
-
mP(t, S(j), j, h, oe,
|
|
33463
|
+
mP(t, S(j), j, h, oe, Ya.HighlightMenuAndItem).get(re);
|
|
33461
33464
|
}),
|
|
33462
33465
|
Et(_A(), (j, oe) => {
|
|
33463
33466
|
const le = Mi.getCoupled(j, "sandbox");
|
|
@@ -33517,7 +33520,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33517
33520
|
Tf(["openClass"]),
|
|
33518
33521
|
Ps("initialData"),
|
|
33519
33522
|
Ps("listRole"),
|
|
33520
|
-
|
|
33523
|
+
Ga("typeaheadBehaviours", [
|
|
33521
33524
|
go,
|
|
33522
33525
|
Cn,
|
|
33523
33526
|
TA,
|
|
@@ -34079,7 +34082,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34079
34082
|
layouts: {
|
|
34080
34083
|
onLtr: te([
|
|
34081
34084
|
fa,
|
|
34082
|
-
|
|
34085
|
+
Xa,
|
|
34083
34086
|
da,
|
|
34084
34087
|
ul,
|
|
34085
34088
|
ta,
|
|
@@ -34087,7 +34090,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34087
34090
|
]),
|
|
34088
34091
|
onRtl: te([
|
|
34089
34092
|
fa,
|
|
34090
|
-
|
|
34093
|
+
Xa,
|
|
34091
34094
|
da,
|
|
34092
34095
|
ul,
|
|
34093
34096
|
ta,
|
|
@@ -34112,34 +34115,34 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34112
34115
|
h
|
|
34113
34116
|
])
|
|
34114
34117
|
});
|
|
34115
|
-
},
|
|
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) => {
|
|
34116
34119
|
const S = xr(l, { source: "dynamic" });
|
|
34117
|
-
return
|
|
34120
|
+
return Ja(t)(r, S, h, b, x);
|
|
34118
34121
|
}, Ff = {
|
|
34119
|
-
bar:
|
|
34120
|
-
collection:
|
|
34121
|
-
alertbanner:
|
|
34122
|
-
input:
|
|
34123
|
-
textarea:
|
|
34124
|
-
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)),
|
|
34125
34128
|
iframe: bL((t, r, l) => NU(t, r.shared.providers, l)),
|
|
34126
|
-
button:
|
|
34127
|
-
checkbox:
|
|
34128
|
-
colorinput:
|
|
34129
|
-
colorpicker:
|
|
34130
|
-
dropzone:
|
|
34131
|
-
grid:
|
|
34132
|
-
listbox:
|
|
34133
|
-
selectbox:
|
|
34134
|
-
sizeinput:
|
|
34135
|
-
slider:
|
|
34136
|
-
urlinput:
|
|
34137
|
-
customeditor:
|
|
34138
|
-
htmlpanel:
|
|
34139
|
-
imagepreview:
|
|
34140
|
-
table:
|
|
34141
|
-
tree:
|
|
34142
|
-
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))
|
|
34143
34146
|
}, MA = {
|
|
34144
34147
|
field: (t, r) => r,
|
|
34145
34148
|
record: te([])
|
|
@@ -34252,8 +34255,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34252
34255
|
node: Q.from(r()),
|
|
34253
34256
|
bubble: vu(0, -Ic(r()), O1),
|
|
34254
34257
|
layouts: {
|
|
34255
|
-
onRtl: () => [
|
|
34256
|
-
onLtr: () => [
|
|
34258
|
+
onRtl: () => [Xa],
|
|
34259
|
+
onLtr: () => [Xa]
|
|
34257
34260
|
},
|
|
34258
34261
|
overrides: x
|
|
34259
34262
|
} : {
|
|
@@ -34261,8 +34264,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34261
34264
|
hotspot: l(),
|
|
34262
34265
|
bubble: vu(0, 0, O1),
|
|
34263
34266
|
layouts: {
|
|
34264
|
-
onRtl: () => [
|
|
34265
|
-
onLtr: () => [
|
|
34267
|
+
onRtl: () => [Xa],
|
|
34268
|
+
onLtr: () => [Xa]
|
|
34266
34269
|
},
|
|
34267
34270
|
overrides: x
|
|
34268
34271
|
};
|
|
@@ -34314,7 +34317,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34314
34317
|
};
|
|
34315
34318
|
}, EL = (t) => (r, l) => {
|
|
34316
34319
|
z7(t)(r, l);
|
|
34317
|
-
}, Mee = (t) => () =>
|
|
34320
|
+
}, Mee = (t) => () => Ka(t), Bee = (t) => (r) => Lf(t, r), $L = (t) => (r) => o3(t, r), ZW = (t) => ({
|
|
34318
34321
|
colorPicker: EL(t),
|
|
34319
34322
|
hasCustomColors: Mee(t),
|
|
34320
34323
|
getColors: Bee(t),
|
|
@@ -34801,7 +34804,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34801
34804
|
}), jv = te([
|
|
34802
34805
|
Dt("dom"),
|
|
34803
34806
|
st("shell", !0),
|
|
34804
|
-
|
|
34807
|
+
Ga("toolbarBehaviours", [wo])
|
|
34805
34808
|
]), Iee = te([Pc({
|
|
34806
34809
|
name: "groups",
|
|
34807
34810
|
overrides: () => ({ behaviours: Yt([wo.config({})]) })
|
|
@@ -34852,7 +34855,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34852
34855
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
34853
34856
|
transitionClass: "tox-editor-dock-transition"
|
|
34854
34857
|
}, GL = "tox-tinymce--toolbar-sticky-on", YL = "tox-tinymce--toolbar-sticky-off", gj = (t, r) => {
|
|
34855
|
-
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;
|
|
34856
34859
|
if (xe && L < pe)
|
|
34857
34860
|
Sd(x.left, L - oe, l);
|
|
34858
34861
|
else if (Xe && V > le) {
|
|
@@ -35112,7 +35115,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35112
35115
|
innerHtml: Xv
|
|
35113
35116
|
}
|
|
35114
35117
|
}]
|
|
35115
|
-
}), s9 = "container", xj = [
|
|
35118
|
+
}), s9 = "container", xj = [Ga("slotBehaviours", [])], o4 = (t) => "<alloy.field." + t + ">", Sj = (t) => {
|
|
35116
35119
|
const r = (() => {
|
|
35117
35120
|
const x = [];
|
|
35118
35121
|
return {
|
|
@@ -35454,7 +35457,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35454
35457
|
const D = be(b.element), L = Vj(D, r.builtGroups.get(), (V) => Math.ceil(V.element.dom.getBoundingClientRect().width), x);
|
|
35455
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);
|
|
35456
35459
|
}, Uj = te([
|
|
35457
|
-
|
|
35460
|
+
Ga("splitToolbarBehaviours", [Mi]),
|
|
35458
35461
|
Ds("builtGroups", () => Zn([]))
|
|
35459
35462
|
]), h9 = te([
|
|
35460
35463
|
Tf(["overflowToggledClass"]),
|
|
@@ -35624,7 +35627,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35624
35627
|
}), u4 = te([
|
|
35625
35628
|
Dt("items"),
|
|
35626
35629
|
Tf(["itemSelector"]),
|
|
35627
|
-
|
|
35630
|
+
Ga("tgroupBehaviours", [qn])
|
|
35628
35631
|
]), Xj = te([$p({
|
|
35629
35632
|
name: "items",
|
|
35630
35633
|
unit: "item"
|
|
@@ -35964,7 +35967,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35964
35967
|
...r,
|
|
35965
35968
|
lazySink: t.getSink,
|
|
35966
35969
|
getOverflowBounds: () => {
|
|
35967
|
-
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);
|
|
35968
35971
|
return Nr(x.x + l, E.y, x.width - l * 2, D);
|
|
35969
35972
|
},
|
|
35970
35973
|
parts: {
|
|
@@ -36196,7 +36199,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36196
36199
|
getOnHide: (t, r) => t.getOnHide(r)
|
|
36197
36200
|
}
|
|
36198
36201
|
});
|
|
36199
|
-
const uX = (t, r, l) =>
|
|
36202
|
+
const uX = (t, r, l) => Ra(r, (h, b) => {
|
|
36200
36203
|
const x = jt(oX(h));
|
|
36201
36204
|
return t.slot(b, Kv.sketch({
|
|
36202
36205
|
dom: {
|
|
@@ -36998,7 +37001,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36998
37001
|
getApi: E
|
|
36999
37002
|
}, kn),
|
|
37000
37003
|
Rl({ getApi: E }, kn),
|
|
37001
|
-
Et(
|
|
37004
|
+
Et(Ha(), (ls, Dr) => {
|
|
37002
37005
|
(Dr.event.raw.keyCode === K9.space() || Dr.event.raw.keyCode === K9.enter()) && (Hn.isDisabled(ls) || He(!1));
|
|
37003
37006
|
}),
|
|
37004
37007
|
Et(qg(), Nn),
|
|
@@ -37006,7 +37009,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37006
37009
|
])
|
|
37007
37010
|
]),
|
|
37008
37011
|
eventOrder: {
|
|
37009
|
-
[
|
|
37012
|
+
[Ha()]: [
|
|
37010
37013
|
$n,
|
|
37011
37014
|
"keying"
|
|
37012
37015
|
],
|
|
@@ -37261,7 +37264,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37261
37264
|
Ps("lazySink"),
|
|
37262
37265
|
Dt("dom"),
|
|
37263
37266
|
ps("onOpen"),
|
|
37264
|
-
|
|
37267
|
+
Ga("splitDropdownBehaviours", [
|
|
37265
37268
|
Mi,
|
|
37266
37269
|
qn,
|
|
37267
37270
|
go
|
|
@@ -37341,7 +37344,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37341
37344
|
ue.highlightFirst(j), qn.focusIn(j);
|
|
37342
37345
|
});
|
|
37343
37346
|
}, x = (V) => {
|
|
37344
|
-
mP(t, $t, V, h, b,
|
|
37347
|
+
mP(t, $t, V, h, b, Ya.HighlightMenuAndItem).get(re);
|
|
37345
37348
|
}, S = (V) => (x(V), Q.some(!0)), E = (V) => {
|
|
37346
37349
|
const j = Pf(V, t, "button");
|
|
37347
37350
|
return sg(j), Q.some(!0);
|
|
@@ -37886,7 +37889,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37886
37889
|
if (Zo.y > vo)
|
|
37887
37890
|
return "top";
|
|
37888
37891
|
{
|
|
37889
|
-
const Po =
|
|
37892
|
+
const Po = Ba(r), fr = Math.max(Po.dom.scrollHeight, ti(Po));
|
|
37890
37893
|
return Zo.bottom < fr - vo || Hi().bottom < Zo.bottom - vo ? "bottom" : "top";
|
|
37891
37894
|
}
|
|
37892
37895
|
case ND.bottom:
|
|
@@ -37903,7 +37906,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37903
37906
|
});
|
|
37904
37907
|
}, mt = () => {
|
|
37905
37908
|
b.on((Qn) => {
|
|
37906
|
-
const Xt = V.getOrThunk(() => Zc().width -
|
|
37909
|
+
const Xt = V.getOrThunk(() => Zc().width - Na(r).left - 10);
|
|
37907
37910
|
rn(Qn.element, "max-width", Xt + "px");
|
|
37908
37911
|
});
|
|
37909
37912
|
}, gn = (Qn, Xt) => {
|
|
@@ -37916,7 +37919,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37916
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;
|
|
37917
37920
|
return oe() ? Dg : eo.bottom;
|
|
37918
37921
|
}), Mu = fr(), ci = Xn(Qn, Math.ceil(x.outerContainer.element.dom.getBoundingClientRect().width)).filter((lc) => lc > le).map((lc) => {
|
|
37919
|
-
const Kd = Xt.getOr(
|
|
37922
|
+
const Kd = Xt.getOr(Fa()), Jd = window.innerWidth - (Mu - Kd.left), Nh = Math.max(Math.min(lc, Jd), le);
|
|
37920
37923
|
return Jd < lc && rn(x.outerContainer.element, "width", Nh + "px"), { width: Nh + "px" };
|
|
37921
37924
|
}).getOr({ width: "max-content" }), Yd = {
|
|
37922
37925
|
position: "absolute",
|
|
@@ -37936,9 +37939,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37936
37939
|
if (!ve())
|
|
37937
37940
|
return;
|
|
37938
37941
|
D || mt();
|
|
37939
|
-
const Xt =
|
|
37942
|
+
const Xt = Fa(), On = D ? !1 : $n();
|
|
37940
37943
|
if (xe && Ar.refreshToolbar(x.outerContainer), !D) {
|
|
37941
|
-
const vo =
|
|
37944
|
+
const vo = Fa(), Zo = Xn(Xt.left !== vo.left, Xt);
|
|
37942
37945
|
gn(On, Zo), Zo.each((eo) => {
|
|
37943
37946
|
Sd(eo.left, vo.top);
|
|
37944
37947
|
});
|
|
@@ -37990,7 +37993,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37990
37993
|
let S = 0;
|
|
37991
37994
|
const E = nA(() => l.update(mr.refresh), 33);
|
|
37992
37995
|
t.on("ScrollWindow", () => {
|
|
37993
|
-
const L =
|
|
37996
|
+
const L = Fa().left;
|
|
37994
37997
|
L !== S && (S = L, E.throttle()), l.updateMode();
|
|
37995
37998
|
}), Ap(t) && t.on("ElementScroll", (L) => {
|
|
37996
37999
|
l.update(mr.refresh);
|
|
@@ -38126,7 +38129,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38126
38129
|
},
|
|
38127
38130
|
isInputEnabled: () => !Hn.isDisabled(t),
|
|
38128
38131
|
hide: () => {
|
|
38129
|
-
r.isSet() || r.set(Cn.getValue(t)), Go(t,
|
|
38132
|
+
r.isSet() || r.set(Cn.getValue(t)), Go(t, Ua());
|
|
38130
38133
|
},
|
|
38131
38134
|
back: () => {
|
|
38132
38135
|
r.isSet() || r.set(Cn.getValue(t)), Go(t, k4);
|
|
@@ -38320,7 +38323,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38320
38323
|
}, VD = (t) => {
|
|
38321
38324
|
const r = t.selection.getRng(), l = _q(r);
|
|
38322
38325
|
if (t.inline) {
|
|
38323
|
-
const h =
|
|
38326
|
+
const h = Fa();
|
|
38324
38327
|
return Nr(h.left + l.left, h.top + l.top, l.width, l.height);
|
|
38325
38328
|
} else {
|
|
38326
38329
|
const h = wl(bt.fromDom(t.getBody()));
|
|
@@ -38388,7 +38391,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38388
38391
|
if (S)
|
|
38389
38392
|
return $q(r, h.getMode(), () => _I(x, zi(r), -20) && !h.isReposition() ? CL : kL);
|
|
38390
38393
|
{
|
|
38391
|
-
const E = h.getMode() === "fixed" ? b.y +
|
|
38394
|
+
const E = h.getMode() === "fixed" ? b.y + Fa().top : b.y, D = ti(r) + $S;
|
|
38392
38395
|
return E + D <= x.y ? Eh : pS;
|
|
38393
38396
|
}
|
|
38394
38397
|
}, $4 = (t, r, l, h) => {
|
|
@@ -38410,7 +38413,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38410
38413
|
ta,
|
|
38411
38414
|
ul,
|
|
38412
38415
|
Ai,
|
|
38413
|
-
|
|
38416
|
+
Xa
|
|
38414
38417
|
].concat(x(D)),
|
|
38415
38418
|
onRtl: (D) => [
|
|
38416
38419
|
fa,
|
|
@@ -38418,11 +38421,11 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38418
38421
|
da,
|
|
38419
38422
|
Ai,
|
|
38420
38423
|
ul,
|
|
38421
|
-
|
|
38424
|
+
Xa
|
|
38422
38425
|
].concat(x(D))
|
|
38423
38426
|
} : {
|
|
38424
38427
|
onLtr: (D) => [
|
|
38425
|
-
|
|
38428
|
+
Xa,
|
|
38426
38429
|
fa,
|
|
38427
38430
|
ul,
|
|
38428
38431
|
da,
|
|
@@ -38430,7 +38433,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38430
38433
|
ta
|
|
38431
38434
|
].concat(x(D)),
|
|
38432
38435
|
onRtl: (D) => [
|
|
38433
|
-
|
|
38436
|
+
Xa,
|
|
38434
38437
|
fa,
|
|
38435
38438
|
Ai,
|
|
38436
38439
|
ta,
|
|
@@ -39232,7 +39235,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39232
39235
|
ta,
|
|
39233
39236
|
ul,
|
|
39234
39237
|
Ai,
|
|
39235
|
-
|
|
39238
|
+
Xa,
|
|
39236
39239
|
Eh,
|
|
39237
39240
|
pS,
|
|
39238
39241
|
gS,
|
|
@@ -39246,7 +39249,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39246
39249
|
da,
|
|
39247
39250
|
Ai,
|
|
39248
39251
|
ul,
|
|
39249
|
-
|
|
39252
|
+
Xa,
|
|
39250
39253
|
Eh,
|
|
39251
39254
|
pS,
|
|
39252
39255
|
b1,
|
|
@@ -39305,7 +39308,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39305
39308
|
search: Q.none()
|
|
39306
39309
|
}).map((D) => {
|
|
39307
39310
|
r.preventDefault();
|
|
39308
|
-
const L = S ?
|
|
39311
|
+
const L = S ? Ya.HighlightMenuAndItem : Ya.HighlightNone;
|
|
39309
39312
|
ni.showMenuWithinBounds(b, { anchor: E }, {
|
|
39310
39313
|
menu: {
|
|
39311
39314
|
markers: c1("normal"),
|
|
@@ -39522,7 +39525,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39522
39525
|
snapTo: (t, r, l, h) => {
|
|
39523
39526
|
const b = r.getTarget(t.element);
|
|
39524
39527
|
if (r.repositionTarget) {
|
|
39525
|
-
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);
|
|
39526
39529
|
oi(b, L);
|
|
39527
39530
|
}
|
|
39528
39531
|
}
|
|
@@ -39598,7 +39601,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39598
39601
|
}, _G = (t, r, l, h) => {
|
|
39599
39602
|
const b = r.getTarget(t.element);
|
|
39600
39603
|
if (r.repositionTarget) {
|
|
39601
|
-
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);
|
|
39602
39605
|
oi(b, V);
|
|
39603
39606
|
}
|
|
39604
39607
|
r.onDrag(t, b, h);
|
|
@@ -40397,7 +40400,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40397
40400
|
st("useTabstopAt", gt),
|
|
40398
40401
|
st("firstTabstop", 0),
|
|
40399
40402
|
st("eventOrder", {}),
|
|
40400
|
-
|
|
40403
|
+
Ga("modalBehaviours", [qn]),
|
|
40401
40404
|
Yl("onExecute"),
|
|
40402
40405
|
fb("onEscape")
|
|
40403
40406
|
]), rR = { sketch: $t }, qG = te([
|
|
@@ -40518,7 +40521,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40518
40521
|
})])
|
|
40519
40522
|
])
|
|
40520
40523
|
};
|
|
40521
|
-
},
|
|
40524
|
+
}, el = Ql({
|
|
40522
40525
|
name: "ModalDialog",
|
|
40523
40526
|
configFields: XG(),
|
|
40524
40527
|
partFields: qG(),
|
|
@@ -40640,7 +40643,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40640
40643
|
]), wQ = TO.concat([
|
|
40641
40644
|
Ir("tag", "textarea"),
|
|
40642
40645
|
hu("init")
|
|
40643
|
-
]), 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) => [
|
|
40644
40647
|
na,
|
|
40645
40648
|
i0("columns"),
|
|
40646
40649
|
t
|
|
@@ -40993,7 +40996,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40993
40996
|
})), du()),
|
|
40994
40997
|
Ps("action"),
|
|
40995
40998
|
st("domModification", {}),
|
|
40996
|
-
|
|
40999
|
+
Ga("tabButtonBehaviours", [
|
|
40997
41000
|
go,
|
|
40998
41001
|
qn,
|
|
40999
41002
|
Cn
|
|
@@ -41005,7 +41008,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41005
41008
|
Dt("tabs"),
|
|
41006
41009
|
Dt("dom"),
|
|
41007
41010
|
st("clickToDismiss", !1),
|
|
41008
|
-
|
|
41011
|
+
Ga("tabbarBehaviours", [
|
|
41009
41012
|
ue,
|
|
41010
41013
|
qn
|
|
41011
41014
|
]),
|
|
@@ -41073,14 +41076,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41073
41076
|
domModification: { attributes: { role: "tabpanel" } }
|
|
41074
41077
|
}), Rs = Ac({
|
|
41075
41078
|
name: "Tabview",
|
|
41076
|
-
configFields: [
|
|
41079
|
+
configFields: [Ga("tabviewBehaviours", [wo])],
|
|
41077
41080
|
factory: Gn
|
|
41078
41081
|
}), Sn = te([
|
|
41079
41082
|
st("selectFirst", !0),
|
|
41080
41083
|
ps("onChangeTab"),
|
|
41081
41084
|
ps("onDismissTab"),
|
|
41082
41085
|
st("tabs", []),
|
|
41083
|
-
|
|
41086
|
+
Ga("tabSectionBehaviours", [])
|
|
41084
41087
|
]), fo = Al({
|
|
41085
41088
|
factory: cn,
|
|
41086
41089
|
schema: [
|
|
@@ -41160,7 +41163,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41160
41163
|
const x = r.dom.getBoundingClientRect();
|
|
41161
41164
|
return wo.set(l, []), x.height;
|
|
41162
41165
|
}), br = (t) => Hs(dr(t, (r, l) => r > l ? -1 : r < l ? 1 : 0)), ic = (t, r, l) => {
|
|
41163
|
-
const h =
|
|
41166
|
+
const h = Ba(t).dom, b = ua(t, ".tox-dialog-wrap").getOr(t), x = Nt(b, "position") === "fixed";
|
|
41164
41167
|
let S;
|
|
41165
41168
|
x ? S = Math.max(h.clientHeight, window.innerHeight) : S = Math.max(h.offsetHeight, h.scrollHeight);
|
|
41166
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;
|
|
@@ -41331,9 +41334,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41331
41334
|
})
|
|
41332
41335
|
])
|
|
41333
41336
|
};
|
|
41334
|
-
}, 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) => {
|
|
41335
41338
|
const b = Cs(t, r, Q.none(), l, !1, h);
|
|
41336
|
-
return
|
|
41339
|
+
return el.parts.body(b);
|
|
41337
41340
|
}, gl = (t) => {
|
|
41338
41341
|
const r = {
|
|
41339
41342
|
dom: {
|
|
@@ -41361,7 +41364,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41361
41364
|
useTabstopAt: je(aS)
|
|
41362
41365
|
})])
|
|
41363
41366
|
};
|
|
41364
|
-
return
|
|
41367
|
+
return el.parts.body(r);
|
|
41365
41368
|
}, $a = o1.deviceType.isTouch(), ai = (t, r) => ({
|
|
41366
41369
|
dom: {
|
|
41367
41370
|
tag: "div",
|
|
@@ -41372,7 +41375,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41372
41375
|
t,
|
|
41373
41376
|
r
|
|
41374
41377
|
]
|
|
41375
|
-
}), li = (t, r) =>
|
|
41378
|
+
}), li = (t, r) => el.parts.close(_a.sketch({
|
|
41376
41379
|
dom: {
|
|
41377
41380
|
tag: "button",
|
|
41378
41381
|
classes: [
|
|
@@ -41387,14 +41390,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41387
41390
|
},
|
|
41388
41391
|
action: t,
|
|
41389
41392
|
buttonBehaviours: Yt([zr.config({})])
|
|
41390
|
-
})), Dc = () =>
|
|
41393
|
+
})), Dc = () => el.parts.title({
|
|
41391
41394
|
dom: {
|
|
41392
41395
|
tag: "div",
|
|
41393
41396
|
classes: ["tox-dialog__title"],
|
|
41394
41397
|
innerHtml: "",
|
|
41395
41398
|
styles: { display: "none" }
|
|
41396
41399
|
}
|
|
41397
|
-
}), Vf = (t, r) =>
|
|
41400
|
+
}), Vf = (t, r) => el.parts.body({
|
|
41398
41401
|
dom: {
|
|
41399
41402
|
tag: "div",
|
|
41400
41403
|
classes: ["tox-dialog__body"]
|
|
@@ -41406,7 +41409,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41406
41409
|
},
|
|
41407
41410
|
components: [{ dom: _m(`<p>${m6(r.translate(t))}</p>`) }]
|
|
41408
41411
|
}]
|
|
41409
|
-
}), Mm = (t) =>
|
|
41412
|
+
}), Mm = (t) => el.parts.footer({
|
|
41410
41413
|
dom: {
|
|
41411
41414
|
tag: "div",
|
|
41412
41415
|
classes: ["tox-dialog__footer"]
|
|
@@ -41429,7 +41432,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41429
41432
|
})
|
|
41430
41433
|
], S1 = (t) => {
|
|
41431
41434
|
const r = "tox-dialog", l = r + "-wrap", h = l + "__backdrop", b = r + "__disable-scroll";
|
|
41432
|
-
return
|
|
41435
|
+
return el.sketch({
|
|
41433
41436
|
lazySink: t.lazySink,
|
|
41434
41437
|
onEscape: (x) => (t.onEscape(x), Q.some(!0)),
|
|
41435
41438
|
useTabstopAt: (x) => !aS(x),
|
|
@@ -41555,7 +41558,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41555
41558
|
}
|
|
41556
41559
|
})])
|
|
41557
41560
|
}), QS = (t, r, l) => {
|
|
41558
|
-
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]);
|
|
41559
41562
|
return Am.sketch({
|
|
41560
41563
|
dom: _m('<div class="tox-dialog__header"></div>'),
|
|
41561
41564
|
components: S
|
|
@@ -41582,10 +41585,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41582
41585
|
onClose: () => l.closeWindow(),
|
|
41583
41586
|
onBlock: (h) => {
|
|
41584
41587
|
const b = Er(t().element, ".tox-dialog__header").map((x) => ti(x));
|
|
41585
|
-
|
|
41588
|
+
el.setBusy(t(), (x, S) => mR(h.message, S, r, b));
|
|
41586
41589
|
},
|
|
41587
41590
|
onUnblock: () => {
|
|
41588
|
-
|
|
41591
|
+
el.setIdle(t());
|
|
41589
41592
|
}
|
|
41590
41593
|
}), gR = "tox-dialog--fullscreen", Y4 = "tox-dialog--width-lg", zl = "tox-dialog--width-md", Du = (t) => {
|
|
41591
41594
|
switch (t) {
|
|
@@ -41754,7 +41757,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41754
41757
|
renderComponents: ZS
|
|
41755
41758
|
})])
|
|
41756
41759
|
};
|
|
41757
|
-
}, 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) => {
|
|
41758
41761
|
if (t.getRoot().getSystem().isConnected()) {
|
|
41759
41762
|
const h = bs.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());
|
|
41760
41763
|
return pO.getField(h, r).orThunk(() => t.getFooter().bind((S) => fn.getState(S).get()).bind((S) => S.lookupByName(r)));
|
|
@@ -41827,7 +41830,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41827
41830
|
};
|
|
41828
41831
|
return le;
|
|
41829
41832
|
}, BQ = (t, r, l) => {
|
|
41830
|
-
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({
|
|
41831
41834
|
body: b.body,
|
|
41832
41835
|
initialData: b.initialData
|
|
41833
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 = {
|
|
@@ -41844,7 +41847,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41844
41847
|
extraStyles: {}
|
|
41845
41848
|
}, Xe = ft(xe, pe, l), ve = (() => {
|
|
41846
41849
|
const He = () => {
|
|
41847
|
-
const mt =
|
|
41850
|
+
const mt = el.getBody(Xe);
|
|
41848
41851
|
return bs.getCurrent(mt).getOr(mt);
|
|
41849
41852
|
}, lt = () => {
|
|
41850
41853
|
dt(Xe, S.get());
|
|
@@ -41852,8 +41855,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41852
41855
|
return {
|
|
41853
41856
|
getId: te(h),
|
|
41854
41857
|
getRoot: te(Xe),
|
|
41855
|
-
getBody: () =>
|
|
41856
|
-
getFooter: () =>
|
|
41858
|
+
getBody: () => el.getBody(Xe),
|
|
41859
|
+
getFooter: () => el.getFooter(Xe),
|
|
41857
41860
|
getFormWrapper: He,
|
|
41858
41861
|
toggleFullscreen: lt
|
|
41859
41862
|
};
|
|
@@ -42067,7 +42070,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42067
42070
|
const r = t.shared;
|
|
42068
42071
|
return { open: (h, b) => {
|
|
42069
42072
|
const x = () => {
|
|
42070
|
-
|
|
42073
|
+
el.hide(L), b();
|
|
42071
42074
|
}, S = Qs(z3({
|
|
42072
42075
|
context: "any",
|
|
42073
42076
|
name: "close-alert",
|
|
@@ -42089,7 +42092,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42089
42092
|
dialogEvents: [Et(Bp, x)],
|
|
42090
42093
|
eventOrder: {}
|
|
42091
42094
|
}));
|
|
42092
|
-
|
|
42095
|
+
el.show(L);
|
|
42093
42096
|
const V = S.get(L);
|
|
42094
42097
|
go.focus(V);
|
|
42095
42098
|
} };
|
|
@@ -42097,7 +42100,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42097
42100
|
const r = t.shared;
|
|
42098
42101
|
return { open: (h, b) => {
|
|
42099
42102
|
const x = (oe) => {
|
|
42100
|
-
|
|
42103
|
+
el.hide(V), b(oe);
|
|
42101
42104
|
}, S = Qs(z3({
|
|
42102
42105
|
context: "any",
|
|
42103
42106
|
name: "yes",
|
|
@@ -42134,7 +42137,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42134
42137
|
],
|
|
42135
42138
|
eventOrder: {}
|
|
42136
42139
|
}));
|
|
42137
|
-
|
|
42140
|
+
el.show(V);
|
|
42138
42141
|
const j = S.get(V);
|
|
42139
42142
|
go.focus(j);
|
|
42140
42143
|
} };
|
|
@@ -42171,10 +42174,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42171
42174
|
const Xe = (ve) => {
|
|
42172
42175
|
const Ue = ma(ve, {
|
|
42173
42176
|
closeWindow: () => {
|
|
42174
|
-
|
|
42177
|
+
el.hide(Ue.dialog), xe(Ue.instanceApi);
|
|
42175
42178
|
}
|
|
42176
42179
|
}, r, t.backstages.dialog);
|
|
42177
|
-
return
|
|
42180
|
+
return el.show(Ue.dialog), Ue.instanceApi;
|
|
42178
42181
|
};
|
|
42179
42182
|
return qe.openUrl(Xe, pe);
|
|
42180
42183
|
}, D = (pe, xe) => {
|
|
@@ -42186,10 +42189,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
42186
42189
|
}, {
|
|
42187
42190
|
redial: qe.redial,
|
|
42188
42191
|
closeWindow: () => {
|
|
42189
|
-
|
|
42192
|
+
el.hide(gn.dialog), xe(gn.instanceApi);
|
|
42190
42193
|
}
|
|
42191
42194
|
}, t.backstages.dialog);
|
|
42192
|
-
return
|
|
42195
|
+
return el.show(gn.dialog), gn.instanceApi.setData(lt), gn.instanceApi;
|
|
42193
42196
|
};
|
|
42194
42197
|
return qe.open(Xe, pe);
|
|
42195
42198
|
}, L = (pe, xe, Xe, ve) => {
|
|
@@ -42572,12 +42575,12 @@ function afe() {
|
|
|
42572
42575
|
}, Zr = (g, y) => {
|
|
42573
42576
|
const k = g.split(".");
|
|
42574
42577
|
return Ns(k, y);
|
|
42575
|
-
}, yi = (g, y) => Zr(g, y),
|
|
42578
|
+
}, yi = (g, y) => Zr(g, y), Ra = (g, y) => {
|
|
42576
42579
|
const k = yi(g, y);
|
|
42577
42580
|
if (k == null)
|
|
42578
42581
|
throw new Error(g + " not available on this browser");
|
|
42579
42582
|
return k;
|
|
42580
|
-
}, Lo = Object.getPrototypeOf, rl = (g) =>
|
|
42583
|
+
}, Lo = Object.getPrototypeOf, rl = (g) => Ra("HTMLElement", g), qt = (g) => {
|
|
42581
42584
|
const y = Zr("ownerDocument.defaultView", g);
|
|
42582
42585
|
return w(g) && (rl(y).prototype.isPrototypeOf(g) || /^HTML\w*Element$/.test(Lo(g).constructor.name));
|
|
42583
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) => {
|
|
@@ -42664,7 +42667,7 @@ function afe() {
|
|
|
42664
42667
|
_ = z;
|
|
42665
42668
|
}
|
|
42666
42669
|
return N;
|
|
42667
|
-
},
|
|
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) => {
|
|
42668
42671
|
const k = g.dom.childNodes;
|
|
42669
42672
|
return ye.from(k[y]).map(Rt.fromDom);
|
|
42670
42673
|
}, Ho = (g) => Io(g, 0), fi = (g, y) => {
|
|
@@ -42714,7 +42717,7 @@ function afe() {
|
|
|
42714
42717
|
}, kc = (g) => {
|
|
42715
42718
|
const y = So(g);
|
|
42716
42719
|
y.length > 0 && Bc(g, y), lr(g);
|
|
42717
|
-
},
|
|
42720
|
+
}, Ba = (g, y) => Rt.fromDom(g.dom.cloneNode(y)), Nl = (g) => Ba(g, !1), ei = (g) => Ba(g, !0), su = (g, y) => {
|
|
42718
42721
|
const k = Rt.fromTag(y), _ = ut(g);
|
|
42719
42722
|
return vi(k, _), k;
|
|
42720
42723
|
}, pa = (g, y) => {
|
|
@@ -42851,7 +42854,7 @@ function afe() {
|
|
|
42851
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, _) => {
|
|
42852
42855
|
const N = g.indexOf(y, k);
|
|
42853
42856
|
return N !== -1 ? F(_) ? !0 : N + y.length <= _ : !1;
|
|
42854
|
-
}, 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) => {
|
|
42855
42858
|
const y = parseFloat(g);
|
|
42856
42859
|
return isNaN(y) ? ye.none() : ye.some(y);
|
|
42857
42860
|
}, At = (g) => g.style !== void 0 && me(g.style.getPropertyValue), Un = (g, y, k) => {
|
|
@@ -42871,7 +42874,7 @@ function afe() {
|
|
|
42871
42874
|
}, si = (g, y) => {
|
|
42872
42875
|
const k = g.dom, N = window.getComputedStyle(k).getPropertyValue(y);
|
|
42873
42876
|
return N === "" && !mo(g) ? il(k, y) : N;
|
|
42874
|
-
}, il = (g, y) => At(g) ? g.style.getPropertyValue(y) : "",
|
|
42877
|
+
}, il = (g, y) => At(g) ? g.style.getPropertyValue(y) : "", La = (g, y) => {
|
|
42875
42878
|
const k = g.dom, _ = il(k, y);
|
|
42876
42879
|
return ye.from(_).filter((N) => N.length > 0);
|
|
42877
42880
|
}, vr = (g, y) => {
|
|
@@ -42890,7 +42893,7 @@ function afe() {
|
|
|
42890
42893
|
}, yd = (g, y) => cf([
|
|
42891
42894
|
"td",
|
|
42892
42895
|
"th"
|
|
42893
|
-
], 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) => {
|
|
42894
42897
|
if (Ts(k) === "colgroup") {
|
|
42895
42898
|
const _ = Qt(jl(k), (N) => {
|
|
42896
42899
|
const z = mi(N, "span", 1);
|
|
@@ -43070,7 +43073,7 @@ function afe() {
|
|
|
43070
43073
|
], hf = {
|
|
43071
43074
|
browsers: re(Zu),
|
|
43072
43075
|
oses: re(Zg)
|
|
43073
|
-
},
|
|
43076
|
+
}, Qa = "Edge", jh = "Chromium", Xh = "IE", Vu = "Opera", zu = "Firefox", Gf = "Safari", mc = () => qh({
|
|
43074
43077
|
current: void 0,
|
|
43075
43078
|
version: vl.unknown()
|
|
43076
43079
|
}), qh = (g) => {
|
|
@@ -43078,7 +43081,7 @@ function afe() {
|
|
|
43078
43081
|
return {
|
|
43079
43082
|
current: y,
|
|
43080
43083
|
version: k,
|
|
43081
|
-
isEdge: _(
|
|
43084
|
+
isEdge: _(Qa),
|
|
43082
43085
|
isChromium: _(jh),
|
|
43083
43086
|
isIE: _(Xh),
|
|
43084
43087
|
isOpera: _(Vu),
|
|
@@ -43088,13 +43091,13 @@ function afe() {
|
|
|
43088
43091
|
}, la = {
|
|
43089
43092
|
unknown: mc,
|
|
43090
43093
|
nu: qh,
|
|
43091
|
-
edge: re(
|
|
43094
|
+
edge: re(Qa),
|
|
43092
43095
|
chromium: re(jh),
|
|
43093
43096
|
ie: re(Xh),
|
|
43094
43097
|
opera: re(Vu),
|
|
43095
43098
|
firefox: re(zu),
|
|
43096
43099
|
safari: re(Gf)
|
|
43097
|
-
}, Hu = "Windows", Cc = "iOS",
|
|
43100
|
+
}, Hu = "Windows", Cc = "iOS", Fa = "Android", Sd = "Linux", Yp = "macOS", Gh = "Solaris", Zc = "FreeBSD", mf = "ChromeOS", Kp = () => Wm({
|
|
43098
43101
|
current: void 0,
|
|
43099
43102
|
version: vl.unknown()
|
|
43100
43103
|
}), Wm = (g) => {
|
|
@@ -43104,7 +43107,7 @@ function afe() {
|
|
|
43104
43107
|
version: k,
|
|
43105
43108
|
isWindows: _(Hu),
|
|
43106
43109
|
isiOS: _(Cc),
|
|
43107
|
-
isAndroid: _(
|
|
43110
|
+
isAndroid: _(Fa),
|
|
43108
43111
|
isMacOS: _(Yp),
|
|
43109
43112
|
isLinux: _(Sd),
|
|
43110
43113
|
isSolaris: _(Gh),
|
|
@@ -43116,7 +43119,7 @@ function afe() {
|
|
|
43116
43119
|
nu: Wm,
|
|
43117
43120
|
windows: re(Hu),
|
|
43118
43121
|
ios: re(Cc),
|
|
43119
|
-
android: re(
|
|
43122
|
+
android: re(Fa),
|
|
43120
43123
|
linux: re(Sd),
|
|
43121
43124
|
macos: re(Yp),
|
|
43122
43125
|
solaris: re(Gh),
|
|
@@ -43204,7 +43207,7 @@ function afe() {
|
|
|
43204
43207
|
}), k += N;
|
|
43205
43208
|
}), y;
|
|
43206
43209
|
}, Vc = (g) => {
|
|
43207
|
-
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({});
|
|
43208
43211
|
let z = 0, J = 0, ae = 0;
|
|
43209
43212
|
const {
|
|
43210
43213
|
pass: ue,
|
|
@@ -43315,18 +43318,18 @@ function afe() {
|
|
|
43315
43318
|
}), Jf = (g, y) => ({
|
|
43316
43319
|
col: g,
|
|
43317
43320
|
x: y
|
|
43318
|
-
}), 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) => {
|
|
43319
43322
|
if (k.length === 0)
|
|
43320
43323
|
return [];
|
|
43321
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));
|
|
43322
43325
|
return _.concat([N]);
|
|
43323
|
-
}, V1 = (g) => -g,
|
|
43326
|
+
}, V1 = (g) => -g, za = {
|
|
43324
43327
|
delta: We,
|
|
43325
|
-
positions: (g) => Ui(
|
|
43328
|
+
positions: (g) => Ui(Va, o0, g),
|
|
43326
43329
|
edge: Z1
|
|
43327
43330
|
}, tm = ne({
|
|
43328
43331
|
delta: We,
|
|
43329
|
-
edge:
|
|
43332
|
+
edge: Za,
|
|
43330
43333
|
positions: (g) => Ui(n0, HO, g)
|
|
43331
43334
|
}, {
|
|
43332
43335
|
delta: V1,
|
|
@@ -43392,21 +43395,21 @@ function afe() {
|
|
|
43392
43395
|
}, om = (g) => {
|
|
43393
43396
|
vr(g, "height");
|
|
43394
43397
|
}, Hg = (g) => Ro(g) + "px", ju = (g, y, k, _) => {
|
|
43395
|
-
const N =
|
|
43398
|
+
const N = Ia(g).map((z) => {
|
|
43396
43399
|
const J = k(z);
|
|
43397
43400
|
return Math.floor(y / 100 * J);
|
|
43398
43401
|
}).getOr(y);
|
|
43399
43402
|
return _(g, N), N;
|
|
43400
43403
|
}, WO = (g, y, k, _) => {
|
|
43401
43404
|
const N = parseFloat(g);
|
|
43402
|
-
return
|
|
43405
|
+
return Na(g, "%") && Ts(y) !== "table" ? ju(y, N, k, _) : N;
|
|
43403
43406
|
}, Yr = (g) => {
|
|
43404
43407
|
const y = Hg(g);
|
|
43405
43408
|
return y ? WO(y, g, Ht, th) : Ht(g);
|
|
43406
43409
|
}, jt = (g, y, k) => {
|
|
43407
43410
|
const _ = k(g), N = aa(g, y);
|
|
43408
43411
|
return _ / N;
|
|
43409
|
-
}, 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, [
|
|
43410
43413
|
"fixed",
|
|
43411
43414
|
"relative",
|
|
43412
43415
|
"empty"
|
|
@@ -43426,9 +43429,9 @@ function afe() {
|
|
|
43426
43429
|
}
|
|
43427
43430
|
}, _));
|
|
43428
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, _) => {
|
|
43429
|
-
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)));
|
|
43430
43433
|
return Qt(z, (ae, ue) => ii(ae, ue, J, je, k, _));
|
|
43431
|
-
}, 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) => {
|
|
43432
43435
|
const y = Ir(g, xl), k = re(0);
|
|
43433
43436
|
return {
|
|
43434
43437
|
width: y,
|
|
@@ -43625,7 +43628,7 @@ function afe() {
|
|
|
43625
43628
|
}), yf = (g, y) => {
|
|
43626
43629
|
const _ = document.createElement("div");
|
|
43627
43630
|
return _.innerHTML = g, So(Rt.fromDom(_));
|
|
43628
|
-
}, ok = (g) => Qt(g, Rt.fromDom),
|
|
43631
|
+
}, ok = (g) => Qt(g, Rt.fromDom), Ha = (g) => (y) => y.options.get(g), sk = "100%", Ku = (g) => {
|
|
43629
43632
|
var y;
|
|
43630
43633
|
const k = g.dom, _ = (y = k.getParent(g.selection.getStart(), k.isBlock)) !== null && y !== void 0 ? y : g.getBody();
|
|
43631
43634
|
return gf(Rt.fromDom(_)) + "px";
|
|
@@ -43700,13 +43703,13 @@ function afe() {
|
|
|
43700
43703
|
}, d0 = (g) => ye.from(g.options.get("table_clone_elements")), Gg = (g) => {
|
|
43701
43704
|
const y = g.options.get("object_resizing");
|
|
43702
43705
|
return to(y.split(","), "table");
|
|
43703
|
-
}, 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) => {
|
|
43704
43707
|
const y = g.options, k = y.get("table_default_attributes");
|
|
43705
43708
|
return y.isSet("table_default_attributes") ? k : qg(g, k);
|
|
43706
43709
|
}, XO = (g) => {
|
|
43707
43710
|
const y = g.options, k = y.get("table_default_styles");
|
|
43708
43711
|
return y.isSet("table_default_styles") ? k : sm(g, k);
|
|
43709
|
-
}, qO =
|
|
43712
|
+
}, qO = Ha("table_use_colgroups"), D_ = Ha("fixed_toolbar_container"), R_ = Ha("fixed_toolbar_container_target"), GO = (g) => {
|
|
43710
43713
|
var y;
|
|
43711
43714
|
if (!g.inline)
|
|
43712
43715
|
return ye.none();
|
|
@@ -43715,7 +43718,7 @@ function afe() {
|
|
|
43715
43718
|
return Oa(is(), k);
|
|
43716
43719
|
const _ = R_(g);
|
|
43717
43720
|
return K(_) ? ye.some(Rt.fromDom(_)) : ye.none();
|
|
43718
|
-
}, 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) => {
|
|
43719
43722
|
ke(g, "data-mce-style");
|
|
43720
43723
|
const y = (k) => ke(k, "data-mce-style");
|
|
43721
43724
|
Be(vd(g), y), Be(jl(g), y), Be(qp(g), y);
|
|
@@ -43744,7 +43747,7 @@ function afe() {
|
|
|
43744
43747
|
}), Y1 = (g, y) => {
|
|
43745
43748
|
const k = (_, N) => pn(N, _);
|
|
43746
43749
|
return es.findItem(g, y, k).map((_) => _.element);
|
|
43747
|
-
}, ak = (g, y, k) =>
|
|
43750
|
+
}, ak = (g, y, k) => Ia(g).bind((_) => {
|
|
43748
43751
|
const N = rg(_);
|
|
43749
43752
|
return oy(N, g, y, k);
|
|
43750
43753
|
}), g0 = (g, y, k) => {
|
|
@@ -43825,7 +43828,7 @@ function afe() {
|
|
|
43825
43828
|
}),
|
|
43826
43829
|
styles: re({
|
|
43827
43830
|
get: si,
|
|
43828
|
-
getRaw:
|
|
43831
|
+
getRaw: La,
|
|
43829
43832
|
set: Qo,
|
|
43830
43833
|
remove: vr
|
|
43831
43834
|
}),
|
|
@@ -43855,7 +43858,7 @@ function afe() {
|
|
|
43855
43858
|
}),
|
|
43856
43859
|
query: re({
|
|
43857
43860
|
comparePosition: z,
|
|
43858
|
-
prevSibling:
|
|
43861
|
+
prevSibling: Ma,
|
|
43859
43862
|
nextSibling: Fi
|
|
43860
43863
|
}),
|
|
43861
43864
|
property: re({
|
|
@@ -43974,10 +43977,10 @@ function afe() {
|
|
|
43974
43977
|
selection: Sa(g),
|
|
43975
43978
|
clipboard: k,
|
|
43976
43979
|
generators: _
|
|
43977
|
-
}), P2 = (g) =>
|
|
43980
|
+
}), P2 = (g) => Ia(g).bind((y) => Yt(y, np.firstSelectedSelector)).fold(re(g), (y) => y[0]), Gl = (g) => (y, k) => {
|
|
43978
43981
|
const _ = Ts(y), N = _ === "col" || _ === "colgroup" ? P2(y) : y;
|
|
43979
43982
|
return wi(N, g, k);
|
|
43980
|
-
}, 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) => {
|
|
43981
43984
|
const k = ko(y, ah);
|
|
43982
43985
|
return og(k), [k];
|
|
43983
43986
|
}), Q_ = (g, y) => Qt(y, (k) => g.selection.serializer.serialize(k.dom, {})).join(""), xf = (g, y) => {
|
|
@@ -44009,7 +44012,7 @@ function afe() {
|
|
|
44009
44012
|
if (k.selection === !0 && k.paste === !0) {
|
|
44010
44013
|
const _ = am(g);
|
|
44011
44014
|
Se(_).each((N) => {
|
|
44012
|
-
|
|
44015
|
+
Ia(N).each((z) => {
|
|
44013
44016
|
const J = ct(yf(k.content), (ue) => Ts(ue) !== "meta"), ae = Ls("table");
|
|
44014
44017
|
if (Yg(g) && J.length === 1 && ae(J[0])) {
|
|
44015
44018
|
k.preventDefault();
|
|
@@ -44022,15 +44025,15 @@ function afe() {
|
|
|
44022
44025
|
});
|
|
44023
44026
|
}
|
|
44024
44027
|
});
|
|
44025
|
-
},
|
|
44028
|
+
}, Wa = (g, y) => ({
|
|
44026
44029
|
element: g,
|
|
44027
44030
|
offset: y
|
|
44028
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) => {
|
|
44029
44032
|
const k = op(g, y, g.query().prevSibling).getOr(y);
|
|
44030
44033
|
if (g.property().isText(k))
|
|
44031
|
-
return
|
|
44034
|
+
return Wa(k, nb(g, k));
|
|
44032
44035
|
const _ = g.property().children(k);
|
|
44033
|
-
return _.length > 0 ? dk(g, _[_.length - 1]) :
|
|
44036
|
+
return _.length > 0 ? dk(g, _[_.length - 1]) : Wa(k, nb(g, k));
|
|
44034
44037
|
}, ob = dk, sp = hr(), rp = (g) => ob(sp, g), v0 = (g, y) => {
|
|
44035
44038
|
Vr(g) || r0(g).each((_) => {
|
|
44036
44039
|
const N = _.value / 2;
|
|
@@ -44299,7 +44302,7 @@ function afe() {
|
|
|
44299
44302
|
cells: k,
|
|
44300
44303
|
generators: y.generators,
|
|
44301
44304
|
clipboard: y.clipboard
|
|
44302
|
-
})), 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, _) => {
|
|
44303
44306
|
const N = Xi(g).rows;
|
|
44304
44307
|
if (N.length === 0)
|
|
44305
44308
|
return g;
|
|
@@ -44849,7 +44852,7 @@ Required: ` + y.join(", "));
|
|
|
44849
44852
|
}, Ik = (g, y, k, _) => {
|
|
44850
44853
|
const N = y.cells;
|
|
44851
44854
|
Ak(N);
|
|
44852
|
-
const z =
|
|
44855
|
+
const z = ja(g, y.bounds, k, _.merge(N));
|
|
44853
44856
|
return pb(z, ye.from(N[0]));
|
|
44854
44857
|
}, U2 = (g, y, k, _) => {
|
|
44855
44858
|
const z = dn(y, (J, ae) => db(J, ae, k, _.unmerge(ae)), g);
|
|
@@ -44907,7 +44910,7 @@ Required: ` + y.join(", "));
|
|
|
44907
44910
|
...k,
|
|
44908
44911
|
table: y
|
|
44909
44912
|
});
|
|
44910
|
-
},
|
|
44913
|
+
}, Xa = (g, y, k, _, N) => {
|
|
44911
44914
|
g.dispatch("TableSelectionChange", {
|
|
44912
44915
|
cells: y,
|
|
44913
44916
|
start: k,
|
|
@@ -44933,7 +44936,7 @@ Required: ` + y.join(", "));
|
|
|
44933
44936
|
}, wb = {
|
|
44934
44937
|
structure: !1,
|
|
44935
44938
|
style: !0
|
|
44936
|
-
},
|
|
44939
|
+
}, qa = {
|
|
44937
44940
|
structure: !0,
|
|
44938
44941
|
style: !1
|
|
44939
44942
|
}, sw = {
|
|
@@ -44980,7 +44983,7 @@ Required: ` + y.join(", "));
|
|
|
44980
44983
|
effect: ph
|
|
44981
44984
|
}));
|
|
44982
44985
|
}) : ye.none();
|
|
44983
|
-
}, 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);
|
|
44984
44987
|
return {
|
|
44985
44988
|
deleteRow: Vt,
|
|
44986
44989
|
deleteColumn: bn,
|
|
@@ -45057,7 +45060,7 @@ Required: ` + y.join(", "));
|
|
|
45057
45060
|
return _ === N.toString() ? y(N) : yy.invalid(k);
|
|
45058
45061
|
}, Di = {
|
|
45059
45062
|
...yy,
|
|
45060
|
-
from: (g) =>
|
|
45063
|
+
from: (g) => Na(g, "%") ? rw("%", yy.percent, g) : Na(g, "px") ? rw("px", yy.pixels, g) : yy.invalid(g)
|
|
45061
45064
|
}, uh = (g, y) => Qt(g, (k) => Di.from(k).fold(() => k, (N) => N / y * 100 + "%", (N) => N + "%")), bm = (g, y, k) => {
|
|
45062
45065
|
const _ = k / y;
|
|
45063
45066
|
return Qt(g, (N) => Di.from(N).fold(() => N, (J) => J * _ + "px", (J) => J / 100 * k + "px"));
|
|
@@ -45188,7 +45191,7 @@ Required: ` + y.join(", "));
|
|
|
45188
45191
|
}, C5 = (g) => O(g) && g.indexOf("%") !== -1, T5 = (g, y, k, _, N) => {
|
|
45189
45192
|
const z = XO(g), J = {
|
|
45190
45193
|
styles: z,
|
|
45191
|
-
attributes:
|
|
45194
|
+
attributes: Ua(g),
|
|
45192
45195
|
colGroups: qO(g)
|
|
45193
45196
|
};
|
|
45194
45197
|
return g.undoManager.ignore(() => {
|
|
@@ -45221,7 +45224,7 @@ Required: ` + y.join(", "));
|
|
|
45221
45224
|
g.fold(Ey, (y) => tC({ [mw]: y }));
|
|
45222
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) => {
|
|
45223
45226
|
const k = Kg(g), _ = () => vu(g).each((Ut) => {
|
|
45224
|
-
|
|
45227
|
+
Ia(Ut, k).filter(te(k)).each((oo) => {
|
|
45225
45228
|
const Bt = Rt.fromText("");
|
|
45226
45229
|
if (hi(oo, Bt), lr(oo), g.dom.isEmpty(g.getBody()))
|
|
45227
45230
|
g.setContent(""), g.selection.setCursorLocation();
|
|
@@ -45231,10 +45234,10 @@ Required: ` + y.join(", "));
|
|
|
45231
45234
|
}
|
|
45232
45235
|
});
|
|
45233
45236
|
}), N = (Ut) => vu(g).each((oo) => {
|
|
45234
|
-
Tl(g) || Ju(g) || f0(g) ||
|
|
45235
|
-
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);
|
|
45236
45239
|
});
|
|
45237
|
-
}), z = (Ut) =>
|
|
45240
|
+
}), z = (Ut) => Ia(Ut, k), J = (Ut) => $y(g).bind((oo) => z(oo).map((Bt) => Ut(Bt, oo))), ae = (Ut, oo) => {
|
|
45238
45241
|
J((Bt) => {
|
|
45239
45242
|
g.formatter.toggle("tableclass", { value: oo }, Bt.dom), Ai(g, Bt.dom, wb);
|
|
45240
45243
|
});
|
|
@@ -45245,13 +45248,13 @@ Required: ` + y.join(", "));
|
|
|
45245
45248
|
});
|
|
45246
45249
|
}, Ie = () => {
|
|
45247
45250
|
vu(g).each((Ut) => {
|
|
45248
|
-
|
|
45251
|
+
Ia(Ut, k).each((oo) => {
|
|
45249
45252
|
Uo(oo, "caption").fold(() => {
|
|
45250
45253
|
const Bt = Rt.fromTag("caption");
|
|
45251
45254
|
js(Bt, Rt.fromText("Caption")), bd(oo, Bt, 0), g.selection.setCursorLocation(Bt.dom, 0);
|
|
45252
45255
|
}, (Bt) => {
|
|
45253
45256
|
Ls("caption")(Ut) && Lt("td", oo).each((Tn) => g.selection.setCursorLocation(Tn.dom, 0)), lr(Bt);
|
|
45254
|
-
}), Ai(g, oo.dom,
|
|
45257
|
+
}), Ai(g, oo.dom, qa);
|
|
45255
45258
|
});
|
|
45256
45259
|
});
|
|
45257
45260
|
}, ot = (Ut) => {
|
|
@@ -45330,7 +45333,7 @@ Required: ` + y.join(", "));
|
|
|
45330
45333
|
}), z(Tn[0]).each((qs) => Ai(g, qs.dom, wb)));
|
|
45331
45334
|
});
|
|
45332
45335
|
}, vw = (g, y) => {
|
|
45333
|
-
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) => {
|
|
45334
45337
|
const ae = bi(am(g), J, z);
|
|
45335
45338
|
return N(J, ae);
|
|
45336
45339
|
})).getOr("");
|
|
@@ -45516,7 +45519,7 @@ Required: ` + y.join(", "));
|
|
|
45516
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) => ({
|
|
45517
45520
|
start: z,
|
|
45518
45521
|
finish: z
|
|
45519
|
-
})), 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) => ({
|
|
45520
45523
|
left: g.left,
|
|
45521
45524
|
top: g.top + y,
|
|
45522
45525
|
right: g.right,
|
|
@@ -45562,7 +45565,7 @@ Required: ` + y.join(", "));
|
|
|
45562
45565
|
tryUp: at(bC, Ib),
|
|
45563
45566
|
tryDown: at(bC, Hy),
|
|
45564
45567
|
getJumpSize: re(vm)
|
|
45565
|
-
}, 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) => {
|
|
45566
45569
|
const z = g.fromSitus(N), J = N0.verify(g, _.finish, _.foffset, z.finish, z.foffset, k.failure, y);
|
|
45567
45570
|
return I5(J);
|
|
45568
45571
|
})), vp = (g, y, k, _, N, z) => z === 0 ? ye.none() : wM(g, y, k, _, N).bind((J) => {
|
|
@@ -45646,7 +45649,7 @@ Required: ` + y.join(", "));
|
|
|
45646
45649
|
retry: Fd.tryDown,
|
|
45647
45650
|
failure: N0.failedDown
|
|
45648
45651
|
}, $f = {
|
|
45649
|
-
traverse:
|
|
45652
|
+
traverse: Ma,
|
|
45650
45653
|
gather: B0,
|
|
45651
45654
|
relative: yc.before,
|
|
45652
45655
|
retry: Fd.tryUp,
|
|
@@ -45885,11 +45888,11 @@ Required: ` + y.join(", "));
|
|
|
45885
45888
|
});
|
|
45886
45889
|
}, Cn = (g) => (y) => {
|
|
45887
45890
|
xm(y, g);
|
|
45888
|
-
},
|
|
45891
|
+
}, Ga = (g) => (y) => {
|
|
45889
45892
|
Qw(y, g);
|
|
45890
45893
|
}, ku = {
|
|
45891
45894
|
byClass: (g) => {
|
|
45892
|
-
const y = Cn(g.selected), k =
|
|
45895
|
+
const y = Cn(g.selected), k = Ga([
|
|
45893
45896
|
g.selected,
|
|
45894
45897
|
g.lastSelected,
|
|
45895
45898
|
g.firstSelected
|
|
@@ -45986,15 +45989,15 @@ Required: ` + y.join(", "));
|
|
|
45986
45989
|
g.dom.removeEventListener(y, k, _);
|
|
45987
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) => {
|
|
45988
45991
|
const k = Fw(() => Rt.fromDom(g.getBody()), () => td(G1(g), Kg(g)), np.selectedSelector), _ = (ue, Ie, ot) => {
|
|
45989
|
-
|
|
45992
|
+
Ia(Ie).each((bn) => {
|
|
45990
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();
|
|
45991
|
-
|
|
45994
|
+
Xa(g, Kt, Ie.dom, ot.dom, oo);
|
|
45992
45995
|
});
|
|
45993
45996
|
}, N = () => fa(g), z = ku.byAttr(np, _, N);
|
|
45994
45997
|
return g.on("init", (ue) => {
|
|
45995
45998
|
const Ie = g.getWin(), ot = ng(g), Vt = Kg(g), bn = () => {
|
|
45996
45999
|
const rr = g.selection, Dl = Rt.fromDom(rr.getStart()), Ca = Rt.fromDom(rr.getEnd());
|
|
45997
|
-
C2(
|
|
46000
|
+
C2(Ia, [
|
|
45998
46001
|
Dl,
|
|
45999
46002
|
Ca
|
|
46000
46003
|
]).fold(() => z.clear(ot), we);
|
|
@@ -46352,7 +46355,7 @@ Required: ` + y.join(", "));
|
|
|
46352
46355
|
return xm(J, jC), J;
|
|
46353
46356
|
});
|
|
46354
46357
|
}, eE = (g, y, k, _, N) => {
|
|
46355
|
-
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));
|
|
46356
46359
|
TM(y, Ie, z, Is(k));
|
|
46357
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));
|
|
46358
46361
|
j0(y, bn, z, no(k));
|
|
@@ -46439,7 +46442,7 @@ Required: ` + y.join(", "));
|
|
|
46439
46442
|
events: Kt.registry
|
|
46440
46443
|
};
|
|
46441
46444
|
}, nE = { create: (g, y, k) => {
|
|
46442
|
-
const _ =
|
|
46445
|
+
const _ = za, N = Km, z = tE(g), J = Ep({
|
|
46443
46446
|
beforeResize: $c([
|
|
46444
46447
|
"table",
|
|
46445
46448
|
"type"
|
|
@@ -46536,7 +46539,7 @@ Required: ` + y.join(", "));
|
|
|
46536
46539
|
const y = Zb(), k = Zb(), _ = Zb();
|
|
46537
46540
|
let N, z, J, ae;
|
|
46538
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) => {
|
|
46539
|
-
const pr = nx(Xs), ec =
|
|
46542
|
+
const pr = nx(Xs), ec = Na(pr, "e"), xg = Zi(pr, "n");
|
|
46540
46543
|
if (z === "" && Om(Tn), ae === "" && w5(Tn), qs !== N && z !== "") {
|
|
46541
46544
|
Qo(Tn, "width", z);
|
|
46542
46545
|
const zd = Ie(), fs = ue(Tn), rr = x2(g) || ec ? ot(Tn) - 1 : 0;
|
|
@@ -46847,7 +46850,7 @@ function lfe() {
|
|
|
46847
46850
|
}, Ks = Object.getPrototypeOf, ss = (M) => sa("HTMLElement", M), rs = (M) => {
|
|
46848
46851
|
const U = Jo("ownerDocument.defaultView", M);
|
|
46849
46852
|
return O(M) && (ss(U).prototype.isPrototypeOf(M) || /^HTML\w*Element$/.test(Ks(M).constructor.name));
|
|
46850
|
-
}, 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) => {
|
|
46851
46854
|
const ne = M.dom.childNodes;
|
|
46852
46855
|
return We.from(ne[U]).map(Se.fromDom);
|
|
46853
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) => {
|
|
@@ -46945,10 +46948,10 @@ function lfe() {
|
|
|
46945
46948
|
return ut(ne, Ee), jn(M), ne;
|
|
46946
46949
|
};
|
|
46947
46950
|
var ar = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Ss = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
46948
|
-
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) => {
|
|
46949
46952
|
var U;
|
|
46950
46953
|
return ((U = M.parentNode) === null || U === void 0 ? void 0 : U.firstChild) === M;
|
|
46951
|
-
}, 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) => {
|
|
46952
46955
|
const Ee = M.isEmpty(U);
|
|
46953
46956
|
return ne && M.select("span[data-mce-type=bookmark]", U).length > 0 ? !1 : Ee;
|
|
46954
46957
|
}, Nl = (M, U) => M.isChildOf(U, M.getRoot()), ei = (M) => (U) => U.options.get(M), su = (M) => {
|
|
@@ -46984,8 +46987,8 @@ function lfe() {
|
|
|
46984
46987
|
}
|
|
46985
46988
|
M.dom.isEmpty(Ro) || Wr.insertAfter(Ro, U), Wr.insertAfter(Ht, U);
|
|
46986
46989
|
const Eo = ne.parentElement;
|
|
46987
|
-
Eo &&
|
|
46988
|
-
}, 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) => {
|
|
46989
46992
|
uc(U) ? us(U, "dt") : iu(U) && rl(U).each((ne) => yl(M, ne.dom, U.dom));
|
|
46990
46993
|
}, fc = (M) => {
|
|
46991
46994
|
iu(M) && us(M, "dd");
|
|
@@ -47083,7 +47086,7 @@ function lfe() {
|
|
|
47083
47086
|
}, Zm = (M, U, ne) => {
|
|
47084
47087
|
const Ee = M.dom;
|
|
47085
47088
|
zh(Ee, U, ne);
|
|
47086
|
-
}, 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) => {
|
|
47087
47090
|
const U = zo(M), ne = Zi(M) ? U.slice(0, -1) : U;
|
|
47088
47091
|
return je(ne, Jn);
|
|
47089
47092
|
}, Un = (M, U, ne) => Lo(M).filter(Ns).map((Ee) => ({
|
|
@@ -47111,13 +47114,13 @@ function lfe() {
|
|
|
47111
47114
|
}, il = (M, U, ne) => {
|
|
47112
47115
|
const Ee = [];
|
|
47113
47116
|
for (let Qe = 0; Qe < ne; Qe++)
|
|
47114
|
-
Ee.push(si(M,
|
|
47117
|
+
Ee.push(si(M, Na(U) ? U.listType : U.parentListType));
|
|
47115
47118
|
return Ee;
|
|
47116
|
-
},
|
|
47119
|
+
}, La = (M, U) => {
|
|
47117
47120
|
for (let ne = 0; ne < M.length - 1; ne++)
|
|
47118
47121
|
Zm(M[ne].item, "list-style-type", "none");
|
|
47119
47122
|
hn(M).each((ne) => {
|
|
47120
|
-
|
|
47123
|
+
Na(U) && (Ln(ne.list, U.listAttributes), Ln(ne.item, U.itemAttributes)), ut(ne.item, U.content);
|
|
47121
47124
|
});
|
|
47122
47125
|
}, vr = (M, U) => {
|
|
47123
47126
|
Rr(M.list) !== U.listType && (M.list = us(M.list, U.listType)), Ln(M.list, U.listAttributes);
|
|
@@ -47129,7 +47132,7 @@ function lfe() {
|
|
|
47129
47132
|
}, aa = (M, U, ne) => {
|
|
47130
47133
|
const Ee = U.slice(0, ne.depth);
|
|
47131
47134
|
return hn(Ee).each((Qe) => {
|
|
47132
|
-
if (
|
|
47135
|
+
if (Na(ne)) {
|
|
47133
47136
|
const Ht = qr(M, ne.itemAttributes, ne.content);
|
|
47134
47137
|
mi(Qe, Ht), vr(Qe, ne);
|
|
47135
47138
|
} else if (he(ne))
|
|
@@ -47141,7 +47144,7 @@ function lfe() {
|
|
|
47141
47144
|
}), Ee;
|
|
47142
47145
|
}, Vr = (M, U, ne) => {
|
|
47143
47146
|
const Ee = il(M, ne, ne.depth - U.length);
|
|
47144
|
-
return Qo(Ee),
|
|
47147
|
+
return Qo(Ee), La(Ee, ne), er(U, Ee), U.concat(Ee);
|
|
47145
47148
|
}, Vi = (M, U) => {
|
|
47146
47149
|
let ne = We.none();
|
|
47147
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), []);
|
|
@@ -47164,7 +47167,7 @@ function lfe() {
|
|
|
47164
47167
|
}
|
|
47165
47168
|
U.dirty = !0;
|
|
47166
47169
|
}, Fc = (M, U) => {
|
|
47167
|
-
|
|
47170
|
+
Na(M) && Na(U) && (M.listType = U.listType, M.listAttributes = { ...U.listAttributes });
|
|
47168
47171
|
}, Hh = (M) => {
|
|
47169
47172
|
M.listAttributes = Wt(M.listAttributes, (U, ne) => ne !== "start");
|
|
47170
47173
|
}, Fu = (M, U) => {
|
|
@@ -47172,7 +47175,7 @@ function lfe() {
|
|
|
47172
47175
|
return Q(Qt(M.slice(0, U)), Ee, Qe).orThunk(() => Q(M.slice(U + 1), Ee, Qe));
|
|
47173
47176
|
}, lf = (M) => (ye(M, (U, ne) => {
|
|
47174
47177
|
Fu(M, ne).fold(() => {
|
|
47175
|
-
U.dirty &&
|
|
47178
|
+
U.dirty && Na(U) && Hh(U);
|
|
47176
47179
|
}, (Ee) => Fc(U, Ee));
|
|
47177
47180
|
}), M), cf = (M) => {
|
|
47178
47181
|
let U = M;
|
|
@@ -47223,7 +47226,7 @@ function lfe() {
|
|
|
47223
47226
|
}), jl = (M, U, ne, Ee) => Gt(zo(Ee), (Qe) => {
|
|
47224
47227
|
const Ht = cr(Qe) ? jl : vd, no = M + 1;
|
|
47225
47228
|
return Ht(no, U, ne, Qe);
|
|
47226
|
-
}),
|
|
47229
|
+
}), Ia = (M, U) => {
|
|
47227
47230
|
const ne = cf(!1), Ee = 0;
|
|
47228
47231
|
return je(M, (Qe) => ({
|
|
47229
47232
|
sourceList: Qe,
|
|
@@ -47232,7 +47235,7 @@ function lfe() {
|
|
|
47232
47235
|
}, qp = (M, U) => {
|
|
47233
47236
|
const ne = lf(U);
|
|
47234
47237
|
return je(ne, (Ee) => {
|
|
47235
|
-
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 : {};
|
|
47236
47239
|
return Se.fromDom(Od(M, Qe.dom, Ht));
|
|
47237
47240
|
});
|
|
47238
47241
|
}, lu = (M, U) => {
|
|
@@ -47247,7 +47250,7 @@ function lfe() {
|
|
|
47247
47250
|
end: Ee
|
|
47248
47251
|
}));
|
|
47249
47252
|
}, Uh = (M, U, ne) => {
|
|
47250
|
-
const Ee =
|
|
47253
|
+
const Ee = Ia(U, zm(M));
|
|
47251
47254
|
ye(Ee, (Qe) => {
|
|
47252
47255
|
uf(Qe.entries, ne);
|
|
47253
47256
|
const Ht = Vm(M, Qe.entries);
|
|
@@ -47319,7 +47322,7 @@ function lfe() {
|
|
|
47319
47322
|
Zg(U, ne["list-attributes"]), Ss.each(M.select("li", U), (Ee) => {
|
|
47320
47323
|
Zg(Ee, ne["list-item-attributes"]);
|
|
47321
47324
|
});
|
|
47322
|
-
},
|
|
47325
|
+
}, Qa = (M, U, ne) => {
|
|
47323
47326
|
Zu(M, U, ne), hf(M, U, ne);
|
|
47324
47327
|
}, jh = (M, U, ne) => {
|
|
47325
47328
|
Ss.each(ne, (Ee) => M.setStyle(U, Ee, ""));
|
|
@@ -47411,20 +47414,20 @@ function lfe() {
|
|
|
47411
47414
|
"padding-bottom",
|
|
47412
47415
|
"padding-left",
|
|
47413
47416
|
"padding-top"
|
|
47414
|
-
]),
|
|
47417
|
+
]), Qa(no, Lr, ne), Sd(M.dom, Lr));
|
|
47415
47418
|
}), M.selection.setRng(Gr(Ro));
|
|
47416
47419
|
}, la = (M, U) => Ho(M) && M.nodeName === (U == null ? void 0 : U.nodeName), Hu = (M, U, ne) => {
|
|
47417
47420
|
const Ee = M.getStyle(U, "list-style-type", !0), Qe = M.getStyle(ne, "list-style-type", !0);
|
|
47418
47421
|
return Ee === Qe;
|
|
47419
|
-
}, 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) => {
|
|
47420
47423
|
let ne, Ee = U.nextSibling;
|
|
47421
|
-
if (
|
|
47424
|
+
if (Fa(M, U, Ee)) {
|
|
47422
47425
|
const Qe = Ee;
|
|
47423
47426
|
for (; ne = Qe.firstChild; )
|
|
47424
47427
|
U.appendChild(ne);
|
|
47425
47428
|
M.remove(Qe);
|
|
47426
47429
|
}
|
|
47427
|
-
if (Ee = U.previousSibling,
|
|
47430
|
+
if (Ee = U.previousSibling, Fa(M, U, Ee)) {
|
|
47428
47431
|
const Qe = Ee;
|
|
47429
47432
|
for (; ne = Qe.lastChild; )
|
|
47430
47433
|
U.insertBefore(ne, U.firstChild);
|
|
@@ -47433,17 +47436,17 @@ function lfe() {
|
|
|
47433
47436
|
}, Yp = (M, U, ne, Ee) => {
|
|
47434
47437
|
if (U.nodeName !== ne) {
|
|
47435
47438
|
const Qe = M.dom.rename(U, ne);
|
|
47436
|
-
|
|
47439
|
+
Qa(M.dom, Qe, Ee), Uo(M, va(ne), Qe);
|
|
47437
47440
|
} else
|
|
47438
|
-
|
|
47441
|
+
Qa(M.dom, U, Ee), Uo(M, va(ne), U);
|
|
47439
47442
|
}, Gh = (M, U, ne, Ee) => {
|
|
47440
47443
|
if (U.classList.forEach((Qe, Ht, no) => {
|
|
47441
47444
|
Qe.startsWith("tox-") && (no.remove(Qe), no.length === 0 && U.removeAttribute("class"));
|
|
47442
47445
|
}), U.nodeName !== ne) {
|
|
47443
47446
|
const Qe = M.dom.rename(U, ne);
|
|
47444
|
-
|
|
47447
|
+
Qa(M.dom, Qe, Ee), Uo(M, va(ne), Qe);
|
|
47445
47448
|
} else
|
|
47446
|
-
|
|
47449
|
+
Qa(M.dom, U, Ee), Uo(M, va(ne), U);
|
|
47447
47450
|
}, Zc = (M, U, ne, Ee, Qe) => {
|
|
47448
47451
|
const Ht = Ho(U);
|
|
47449
47452
|
if (Ht && U.nodeName === Ee && !mf(Qe) && !vs(U))
|
|
@@ -47467,7 +47470,7 @@ function lfe() {
|
|
|
47467
47470
|
const Qe = ks(M.selection.getRng());
|
|
47468
47471
|
vs(U) && U.classList.forEach((no, Ro, Eo) => {
|
|
47469
47472
|
no.startsWith("tox-") && (Eo.remove(no), Eo.length === 0 && U.removeAttribute("class"));
|
|
47470
|
-
}),
|
|
47473
|
+
}), Qa(M.dom, U, Ee);
|
|
47471
47474
|
const Ht = M.dom.rename(U, ne);
|
|
47472
47475
|
Sd(M.dom, Ht), M.selection.setRng(Gr(Qe)), qh(M, ne, Ee), Uo(M, va(ne), Ht);
|
|
47473
47476
|
}
|
|
@@ -47483,7 +47486,7 @@ function lfe() {
|
|
|
47483
47486
|
const ne = U.parentElement;
|
|
47484
47487
|
if (ne && ne.nodeName === "LI" && ne.firstChild === U) {
|
|
47485
47488
|
const Ee = ne.previousSibling;
|
|
47486
|
-
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");
|
|
47487
47490
|
}
|
|
47488
47491
|
if (Ho(ne)) {
|
|
47489
47492
|
const Ee = ne.previousSibling;
|
|
@@ -47516,7 +47519,7 @@ function lfe() {
|
|
|
47516
47519
|
}, zi = (M, U, ne) => {
|
|
47517
47520
|
let Ee;
|
|
47518
47521
|
const Qe = Yh(M, ne) ? ne.firstChild : ne;
|
|
47519
|
-
if (Nr(M, U), !
|
|
47522
|
+
if (Nr(M, U), !Ba(M, U, !0))
|
|
47520
47523
|
for (; Ee = U.firstChild; )
|
|
47521
47524
|
Qe.appendChild(Ee);
|
|
47522
47525
|
}, wl = (M, U, ne) => {
|
|
@@ -47526,10 +47529,10 @@ function lfe() {
|
|
|
47526
47529
|
return;
|
|
47527
47530
|
Ho(ne.lastChild) && (Ee = ne.lastChild), Qe === ne.lastChild && bl(Qe.previousSibling) && M.remove(Qe.previousSibling);
|
|
47528
47531
|
const Ht = ne.lastChild;
|
|
47529
|
-
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);
|
|
47530
47533
|
const Ro = wn(Se.fromDom(ne), Se.fromDom(U)) ? M.getParents(U, Ho, ne) : [];
|
|
47531
47534
|
M.remove(U), ye(Ro, (Eo) => {
|
|
47532
|
-
|
|
47535
|
+
Ba(M, Eo) && Eo !== M.getRoot() && M.remove(Eo);
|
|
47533
47536
|
});
|
|
47534
47537
|
}, Kh = (M, U, ne) => {
|
|
47535
47538
|
pt(Se.fromDom(ne)), wl(M.dom, U, ne), M.selection.setCursorLocation(ne, 0);
|
|
@@ -47550,7 +47553,7 @@ function lfe() {
|
|
|
47550
47553
|
const ne = M.dom, Ee = M.selection, Qe = Ee.getStart(), Ht = co(M, Qe), no = ne.getParent(Ee.getStart(), "LI", Ht);
|
|
47551
47554
|
if (no) {
|
|
47552
47555
|
const Ro = no.parentElement;
|
|
47553
|
-
if (Ro === M.getBody() &&
|
|
47556
|
+
if (Ro === M.getBody() && Ba(ne, Ro))
|
|
47554
47557
|
return !0;
|
|
47555
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));
|
|
47556
47559
|
if (Vn && Vn !== no && !Lr)
|
|
@@ -48010,7 +48013,7 @@ function cfe() {
|
|
|
48010
48013
|
"target"
|
|
48011
48014
|
], (Ve, vt) => (se[vt].each((Jt) => {
|
|
48012
48015
|
Ve[vt] = Jt.length > 0 ? Jt : null;
|
|
48013
|
-
}), 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) => {
|
|
48014
48017
|
const Ve = { ..._e };
|
|
48015
48018
|
if (ct(se).length === 0 && !xt(se)) {
|
|
48016
48019
|
const vt = Hs(Ve.rel, Ve.target === "_blank");
|
|
@@ -48029,7 +48032,7 @@ function cfe() {
|
|
|
48029
48032
|
se.insertContent(Jt.createHTML("a", vt, Jt.encode(_n)));
|
|
48030
48033
|
});
|
|
48031
48034
|
}, qt = (se, _e, Ve) => {
|
|
48032
|
-
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));
|
|
48033
48036
|
se.undoManager.transact(() => {
|
|
48034
48037
|
Ve.href === _e.href && _e.attach(), Jt.fold(() => {
|
|
48035
48038
|
rl(se, vt, Ve.text, _n);
|
|
@@ -48270,7 +48273,7 @@ function cfe() {
|
|
|
48270
48273
|
optNode: _e,
|
|
48271
48274
|
flags: { titleEnabled: Ke(se) }
|
|
48272
48275
|
};
|
|
48273
|
-
}) },
|
|
48276
|
+
}) }, Ma = (se, _e) => (Ve) => {
|
|
48274
48277
|
const vt = Ve.getData();
|
|
48275
48278
|
if (!vt.url.value) {
|
|
48276
48279
|
Ts(se), Ve.close();
|
|
@@ -48365,7 +48368,7 @@ function cfe() {
|
|
|
48365
48368
|
};
|
|
48366
48369
|
}, Ho = (se) => {
|
|
48367
48370
|
Fi(se).then((Ve) => {
|
|
48368
|
-
const vt =
|
|
48371
|
+
const vt = Ma(se, Ve);
|
|
48369
48372
|
return Io(Ve, vt, se);
|
|
48370
48373
|
}).then((Ve) => {
|
|
48371
48374
|
se.windowManager.open(Ve);
|
|
@@ -48408,7 +48411,7 @@ function cfe() {
|
|
|
48408
48411
|
var lr = tinymce.util.Tools.resolve("tinymce.util.VK");
|
|
48409
48412
|
const kc = (se, _e) => {
|
|
48410
48413
|
document.body.appendChild(se), se.dispatchEvent(_e), document.body.removeChild(se);
|
|
48411
|
-
},
|
|
48414
|
+
}, Ba = (se) => {
|
|
48412
48415
|
const _e = document.createElement("a");
|
|
48413
48416
|
_e.target = "_blank", _e.href = se, _e.rel = "noreferrer noopener";
|
|
48414
48417
|
const Ve = new MouseEvent("click", {
|
|
@@ -48424,7 +48427,7 @@ function cfe() {
|
|
|
48424
48427
|
const vt = se.dom.select(`${Ve},[name="${Wo(Ve, "#")}"]`);
|
|
48425
48428
|
vt.length && se.selection.scrollIntoView(vt[0], !0);
|
|
48426
48429
|
} else
|
|
48427
|
-
|
|
48430
|
+
Ba(_e.href);
|
|
48428
48431
|
}
|
|
48429
48432
|
}, su = (se) => {
|
|
48430
48433
|
const _e = se.selection.getRng(), Ve = _e.startContainer;
|
|
@@ -48847,7 +48850,7 @@ function ufe() {
|
|
|
48847
48850
|
allow_script_urls: Re("allow_script_urls"),
|
|
48848
48851
|
allow_svg_data_urls: Re("allow_svg_data_urls")
|
|
48849
48852
|
});
|
|
48850
|
-
}, 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) => {
|
|
48851
48854
|
var Re;
|
|
48852
48855
|
return q.hasAttribute(ce) && (Re = q.getAttribute(ce)) !== null && Re !== void 0 ? Re : "";
|
|
48853
48856
|
}, rl = (q) => q.parentNode !== null && q.parentNode.nodeName === "FIGURE", qt = (q, ce, Re) => {
|
|
@@ -48897,7 +48900,7 @@ function ufe() {
|
|
|
48897
48900
|
}), Us = (q, ce) => {
|
|
48898
48901
|
var Re;
|
|
48899
48902
|
const rt = document.createElement("img");
|
|
48900
|
-
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 : "");
|
|
48901
48904
|
}, vi = (q, ce) => {
|
|
48902
48905
|
const Re = document.createElement("img");
|
|
48903
48906
|
if (pt(q, {
|
|
@@ -48919,7 +48922,7 @@ function ufe() {
|
|
|
48919
48922
|
caption: rl(ce),
|
|
48920
48923
|
hspace: Zr(ce),
|
|
48921
48924
|
vspace: yi(ce),
|
|
48922
|
-
border:
|
|
48925
|
+
border: Ra(ce),
|
|
48923
48926
|
borderStyle: Js(ce),
|
|
48924
48927
|
isDecorative: Ul(ce)
|
|
48925
48928
|
}), yr = (q, ce, Re, rt, Pn) => {
|
|
@@ -49031,9 +49034,9 @@ function ufe() {
|
|
|
49031
49034
|
});
|
|
49032
49035
|
}
|
|
49033
49036
|
}), Re;
|
|
49034
|
-
}, 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 = {
|
|
49035
49038
|
sanitizer: Ss,
|
|
49036
|
-
sanitize:
|
|
49039
|
+
sanitize: Ma,
|
|
49037
49040
|
findEntry: (q, ce) => q.bind((Re) => So(Re, ce))
|
|
49038
49041
|
}, hi = { makeTab: (q) => ({
|
|
49039
49042
|
title: "Advanced",
|
|
@@ -49258,9 +49261,9 @@ function ufe() {
|
|
|
49258
49261
|
border: q.border,
|
|
49259
49262
|
borderStyle: q.borderstyle,
|
|
49260
49263
|
isDecorative: q.isDecorative
|
|
49261
|
-
}),
|
|
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) => {
|
|
49262
49265
|
const Re = ce.getData();
|
|
49263
|
-
|
|
49266
|
+
Ba(q, Re.src.value).each((rt) => {
|
|
49264
49267
|
ce.setData({
|
|
49265
49268
|
src: {
|
|
49266
49269
|
value: rt,
|
|
@@ -49932,9 +49935,9 @@ function dfe() {
|
|
|
49932
49935
|
}, Zr = ($e, ke) => {
|
|
49933
49936
|
const ut = $e.dom.select("*[data-mce-object]");
|
|
49934
49937
|
$e.insertContent(ke), Ns($e, ut), $e.nodeChanged();
|
|
49935
|
-
}, 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) => {
|
|
49936
49939
|
var pt;
|
|
49937
|
-
ke.embed =
|
|
49940
|
+
ke.embed = Ra($e, ke) && zt(ut) ? Fn(ut, {
|
|
49938
49941
|
...ke,
|
|
49939
49942
|
embed: ""
|
|
49940
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) => {
|
|
@@ -49952,7 +49955,7 @@ function dfe() {
|
|
|
49952
49955
|
const lo = Rr(Rn.getData()), us = Qt((Jn = lo.embed) !== null && Jn !== void 0 ? Jn : "", $e.schema);
|
|
49953
49956
|
Rn.setData(Fs(us));
|
|
49954
49957
|
}, To = (Rn, Jn, lo) => {
|
|
49955
|
-
const us = Rr(Rn.getData(), Jn), ar =
|
|
49958
|
+
const us = Rr(Rn.getData(), Jn), ar = Ra(lo, us) && zt($e) ? {
|
|
49956
49959
|
...us,
|
|
49957
49960
|
embed: ""
|
|
49958
49961
|
} : us, Ss = Fn($e, ar);
|
|
@@ -50487,7 +50490,7 @@ function ffe() {
|
|
|
50487
50490
|
}, Zr = (A) => A.nodeType !== Ks && A.nodeType !== Hs && A.nodeType !== sa || A.childElementCount === 0, yi = (A, I) => {
|
|
50488
50491
|
const ee = I === void 0 ? document : I.dom;
|
|
50489
50492
|
return Zr(ee) ? [] : xt(ee.querySelectorAll(A), No.fromDom);
|
|
50490
|
-
},
|
|
50493
|
+
}, Ra = (A, I) => {
|
|
50491
50494
|
const ee = I === void 0 ? document : I.dom;
|
|
50492
50495
|
return Zr(ee) ? te.none() : te.from(ee.querySelector(A)).map(No.fromDom);
|
|
50493
50496
|
}, Lo = (A, I) => A.dom === I.dom, rl = Ns;
|
|
@@ -50532,12 +50535,12 @@ function ffe() {
|
|
|
50532
50535
|
}, jn = (A, I, ee) => ut((Ze, _t) => _t(Ze), pt, A, I, ee), ao = (A, I) => {
|
|
50533
50536
|
const ee = (Ze) => I(No.fromDom(Ze));
|
|
50534
50537
|
return ze(A.dom.childNodes, ee).map(No.fromDom);
|
|
50535
|
-
}, 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) => {
|
|
50536
50539
|
let ee = [];
|
|
50537
50540
|
return Y(Ls(A), (fe) => {
|
|
50538
50541
|
I(fe) && (ee = ee.concat([fe])), ee = ee.concat(Ss(fe, I));
|
|
50539
50542
|
}), ee;
|
|
50540
|
-
},
|
|
50543
|
+
}, Ma = (A, I) => ar(A, (ee) => Ns(ee, I)), Fi = (A, I) => yi(I, A), So = (A, I, ee) => {
|
|
50541
50544
|
if (O(ee) || T(ee) || K(ee))
|
|
50542
50545
|
A.setAttribute(I, ee + "");
|
|
50543
50546
|
else
|
|
@@ -50561,7 +50564,7 @@ function ffe() {
|
|
|
50561
50564
|
for (let fe = 0; fe < A.length; fe++)
|
|
50562
50565
|
A[fe].each(ee);
|
|
50563
50566
|
return I;
|
|
50564
|
-
}, 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) => {
|
|
50565
50568
|
const ee = parseInt(A, I);
|
|
50566
50569
|
return isNaN(ee) ? te.none() : te.some(ee);
|
|
50567
50570
|
}, Od = (A) => {
|
|
@@ -50630,7 +50633,7 @@ function ffe() {
|
|
|
50630
50633
|
}, q = (A, I) => is([
|
|
50631
50634
|
"td",
|
|
50632
50635
|
"th"
|
|
50633
|
-
], 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) => {
|
|
50634
50637
|
if (qt(ee) === "colgroup") {
|
|
50635
50638
|
const fe = xt(Re(ee), (Ze) => {
|
|
50636
50639
|
const _t = ba(Ze, "span", 1);
|
|
@@ -50732,7 +50735,7 @@ function ffe() {
|
|
|
50732
50735
|
return "";
|
|
50733
50736
|
}
|
|
50734
50737
|
return Ze;
|
|
50735
|
-
},
|
|
50738
|
+
}, Na = (A, I, ee) => {
|
|
50736
50739
|
xi.each("left center right".split(" "), (fe) => {
|
|
50737
50740
|
fe !== ee && A.formatter.remove("align" + fe, {}, I);
|
|
50738
50741
|
}), ee && A.formatter.apply("align" + ee, {}, I);
|
|
@@ -50759,7 +50762,7 @@ function ffe() {
|
|
|
50759
50762
|
title: I,
|
|
50760
50763
|
value: I
|
|
50761
50764
|
};
|
|
50762
|
-
}),
|
|
50765
|
+
}), La = xt([
|
|
50763
50766
|
"Solid",
|
|
50764
50767
|
"Dotted",
|
|
50765
50768
|
"Dashed",
|
|
@@ -50796,7 +50799,7 @@ function ffe() {
|
|
|
50796
50799
|
default: il
|
|
50797
50800
|
}), I("table_border_styles", {
|
|
50798
50801
|
processor: "object[]",
|
|
50799
|
-
default:
|
|
50802
|
+
default: La
|
|
50800
50803
|
}), I("table_cell_advtab", {
|
|
50801
50804
|
processor: "boolean",
|
|
50802
50805
|
default: !0
|
|
@@ -50831,7 +50834,7 @@ function ffe() {
|
|
|
50831
50834
|
processor: "object[]",
|
|
50832
50835
|
default: []
|
|
50833
50836
|
});
|
|
50834
|
-
}, 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) => {
|
|
50835
50838
|
const I = A.options, ee = I.get("table_default_styles");
|
|
50836
50839
|
return I.isSet("table_default_styles") ? ee : mi(A, ee);
|
|
50837
50840
|
}, Hm = (A) => {
|
|
@@ -50881,12 +50884,12 @@ function ffe() {
|
|
|
50881
50884
|
Y(I, (ee) => {
|
|
50882
50885
|
va(A, ee);
|
|
50883
50886
|
});
|
|
50884
|
-
},
|
|
50887
|
+
}, Qa = (A) => {
|
|
50885
50888
|
const I = A.dom;
|
|
50886
50889
|
I.parentNode !== null && I.parentNode.removeChild(I);
|
|
50887
50890
|
}, jh = (A) => {
|
|
50888
50891
|
const I = Ls(A);
|
|
50889
|
-
I.length > 0 && Zg(A, I),
|
|
50892
|
+
I.length > 0 && Zg(A, I), Qa(A);
|
|
50890
50893
|
}, Vu = ((A, I) => {
|
|
50891
50894
|
const ee = (_t) => {
|
|
50892
50895
|
if (!A(_t))
|
|
@@ -50992,7 +50995,7 @@ function ffe() {
|
|
|
50992
50995
|
}),
|
|
50993
50996
|
remove: we({
|
|
50994
50997
|
unwrap: jh,
|
|
50995
|
-
remove:
|
|
50998
|
+
remove: Qa
|
|
50996
50999
|
}),
|
|
50997
51000
|
create: we({
|
|
50998
51001
|
nu: No.fromTag,
|
|
@@ -51031,9 +51034,9 @@ function ffe() {
|
|
|
51031
51034
|
const Ze = I(A, ee);
|
|
51032
51035
|
return qo(fe, (_t, tn) => {
|
|
51033
51036
|
const Mn = I(A, tn);
|
|
51034
|
-
return
|
|
51037
|
+
return Fa(A, _t, Mn);
|
|
51035
51038
|
}, Ze);
|
|
51036
|
-
},
|
|
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) => {
|
|
51037
51040
|
const ee = Fi(A, I);
|
|
51038
51041
|
return ee.length > 0 ? te.some(ee) : te.none();
|
|
51039
51042
|
}, Kp = (A, I, ee) => Rt(A, I).bind((fe) => Rt(A, ee).bind((Ze) => Gh(Zc, [
|
|
@@ -51076,7 +51079,7 @@ function ffe() {
|
|
|
51076
51079
|
text: "Bottom",
|
|
51077
51080
|
value: "bottom"
|
|
51078
51081
|
}
|
|
51079
|
-
], 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) => {
|
|
51080
51083
|
const I = A.toString(16);
|
|
51081
51084
|
return (I.length === 1 ? "0" + I : I).toUpperCase();
|
|
51082
51085
|
}, Cd = (A) => {
|
|
@@ -51185,7 +51188,7 @@ function ffe() {
|
|
|
51185
51188
|
}, pf = (A) => () => {
|
|
51186
51189
|
const ee = A.queryCommandValue("mceTableColType") === "th" ? "td" : "th";
|
|
51187
51190
|
A.execCommand("mceTableColType", !1, { type: ee });
|
|
51188
|
-
}, Ym = (A) => Vc(
|
|
51191
|
+
}, Ym = (A) => Vc(Ia(A)).map((I) => ({
|
|
51189
51192
|
name: "class",
|
|
51190
51193
|
type: "listbox",
|
|
51191
51194
|
label: "Class",
|
|
@@ -51334,7 +51337,7 @@ function ffe() {
|
|
|
51334
51337
|
}, pi = (A, I) => dr(A.all, (ee) => ze(ee.cells, (fe) => Lo(I, fe.element))), ll = (A, I, ee) => {
|
|
51335
51338
|
const fe = xt(I.selection, (_t) => q(_t).bind((tn) => pi(A, tn)).filter(ee)), Ze = bl(fe);
|
|
51336
51339
|
return Ol(Ze.length > 0, Ze);
|
|
51337
|
-
}, 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));
|
|
51338
51341
|
({ ...{ generate: (A) => {
|
|
51339
51342
|
if (!w(A))
|
|
51340
51343
|
throw new Error("cases must be an array");
|
|
@@ -51411,13 +51414,13 @@ Required: ` + I.join(", "));
|
|
|
51411
51414
|
const _t = Ze[Ze.length - 1], tn = Ze[0].row, Mn = _t.row + _t.rowspan, ko = ee.all.slice(tn, Mn);
|
|
51412
51415
|
return Vn(ko);
|
|
51413
51416
|
}).getOr("");
|
|
51414
|
-
},
|
|
51417
|
+
}, za = (A) => Nl(A, "rgb") ? qm(A) : A, uo = (A) => {
|
|
51415
51418
|
const I = No.fromDom(A);
|
|
51416
51419
|
return {
|
|
51417
51420
|
borderwidth: jr(I, "border-width").getOr(""),
|
|
51418
51421
|
borderstyle: jr(I, "border-style").getOr(""),
|
|
51419
|
-
bordercolor: jr(I, "border-color").map(
|
|
51420
|
-
backgroundcolor: jr(I, "background-color").map(
|
|
51422
|
+
bordercolor: jr(I, "border-color").map(za).getOr(""),
|
|
51423
|
+
backgroundcolor: jr(I, "background-color").map(za).getOr("")
|
|
51421
51424
|
};
|
|
51422
51425
|
}, zc = (A) => {
|
|
51423
51426
|
const I = A[0], ee = A.slice(1);
|
|
@@ -51440,8 +51443,8 @@ Required: ` + I.join(", "));
|
|
|
51440
51443
|
], "valign"), s0 = (A, I) => {
|
|
51441
51444
|
const ee = Wh(A), fe = Hm(A), Ze = () => ({
|
|
51442
51445
|
borderstyle: to(ee, "border-style").getOr(""),
|
|
51443
|
-
bordercolor:
|
|
51444
|
-
backgroundcolor:
|
|
51446
|
+
bordercolor: za(to(ee, "border-color").getOr("")),
|
|
51447
|
+
backgroundcolor: za(to(ee, "background-color").getOr(""))
|
|
51445
51448
|
}), _t = {
|
|
51446
51449
|
height: "",
|
|
51447
51450
|
width: "100%",
|
|
@@ -51522,7 +51525,7 @@ Required: ` + I.join(", "));
|
|
|
51522
51525
|
const Ze = I.length === 1;
|
|
51523
51526
|
Y(I, (_t) => {
|
|
51524
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);
|
|
51525
|
-
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);
|
|
51526
51529
|
});
|
|
51527
51530
|
}, zg = (A, I) => {
|
|
51528
51531
|
A.execCommand("mceTableCellType", !1, {
|
|
@@ -51648,10 +51651,10 @@ Required: ` + I.join(", "));
|
|
|
51648
51651
|
}, qi = (A, I, ee, fe) => {
|
|
51649
51652
|
const _t = I.length === 1 ? at : fe;
|
|
51650
51653
|
Y(I, (tn) => {
|
|
51651
|
-
const Mn =
|
|
51654
|
+
const Mn = Ma(No.fromDom(tn), "td,th"), ko = Qe.normal(A, tn);
|
|
51652
51655
|
Il(ko, ee, _t), lf(A) && Xu(ko, ee, _t), fe("height") && Y(Mn, (Mo) => {
|
|
51653
51656
|
A.dom.setStyle(Mo.dom, "height", null);
|
|
51654
|
-
}), fe("align") &&
|
|
51657
|
+
}), fe("align") && Na(A, tn, ee.align);
|
|
51655
51658
|
});
|
|
51656
51659
|
}, Jm = (A, I) => {
|
|
51657
51660
|
A.execCommand("mceTableRowType", !1, {
|
|
@@ -51838,7 +51841,7 @@ Required: ` + I.join(", "));
|
|
|
51838
51841
|
};
|
|
51839
51842
|
i0(A, I, _t, Mn);
|
|
51840
51843
|
const ko = Ze.select("caption", I)[0];
|
|
51841
|
-
(ko && !_t.caption || !ko && _t.caption) && A.execCommand("mceTableToggleCaption"),
|
|
51844
|
+
(ko && !_t.caption || !ko && _t.caption) && A.execCommand("mceTableToggleCaption"), Na(A, I, _t.align);
|
|
51842
51845
|
}
|
|
51843
51846
|
if (A.focus(), A.addVisual(), Q(tn) > 0) {
|
|
51844
51847
|
const Mn = wt(tn, "caption"), ko = Mn ? Q(tn) > 1 : !0;
|
|
@@ -52103,7 +52106,7 @@ Required: ` + I.join(", "));
|
|
|
52103
52106
|
fetch: Wu(A, _t, "tableclass", (Mn) => A.execCommand("mceTableToggleClass", !1, Mn)),
|
|
52104
52107
|
onSetup: I.onSetupTable
|
|
52105
52108
|
});
|
|
52106
|
-
const tn = xr(
|
|
52109
|
+
const tn = xr(Ia(A));
|
|
52107
52110
|
tn.length !== 0 && A.queryCommandSupported("mceTableCellToggleClass") && A.ui.registry.addMenuButton("tablecellclass", {
|
|
52108
52111
|
icon: "table-cell-classes",
|
|
52109
52112
|
tooltip: "Cell styles",
|
|
@@ -52343,7 +52346,7 @@ Required: ` + I.join(", "));
|
|
|
52343
52346
|
getSubmenuItems: () => Kf(A, Mo, "tableclass", (Ys) => A.execCommand("mceTableToggleClass", !1, Ys)),
|
|
52344
52347
|
onSetup: I.onSetupTable
|
|
52345
52348
|
});
|
|
52346
|
-
const tr = xr(
|
|
52349
|
+
const tr = xr(Ia(A));
|
|
52347
52350
|
tr.length !== 0 && A.queryCommandSupported("mceTableCellToggleClass") && A.ui.registry.addNestedMenuItem("tablecellclass", {
|
|
52348
52351
|
icon: "table-cell-classes",
|
|
52349
52352
|
text: "Cell styles",
|
|
@@ -53048,7 +53051,7 @@ function gfe() {
|
|
|
53048
53051
|
let be = !1, nt;
|
|
53049
53052
|
return (...At) => (be || (be = !0, nt = he.apply(null, At)), nt);
|
|
53050
53053
|
}, Ae = (he, be, nt, At) => {
|
|
53051
|
-
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;
|
|
53052
53055
|
return {
|
|
53053
53056
|
isiPad: Ft(Un),
|
|
53054
53057
|
isiPhone: Ft(as),
|
|
@@ -53057,7 +53060,7 @@ function gfe() {
|
|
|
53057
53060
|
isTouch: Ft(er),
|
|
53058
53061
|
isAndroid: he.isAndroid,
|
|
53059
53062
|
isiOS: he.isiOS,
|
|
53060
|
-
isWebView: Ft(
|
|
53063
|
+
isWebView: Ft(La),
|
|
53061
53064
|
isDesktop: Ft(vr)
|
|
53062
53065
|
};
|
|
53063
53066
|
}, Le = (he, be) => {
|
|
@@ -53109,7 +53112,7 @@ function gfe() {
|
|
|
53109
53112
|
current: nt.name,
|
|
53110
53113
|
version: At
|
|
53111
53114
|
};
|
|
53112
|
-
}), 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 = [
|
|
53113
53116
|
{
|
|
53114
53117
|
name: "Edge",
|
|
53115
53118
|
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
|
@@ -53199,7 +53202,7 @@ function gfe() {
|
|
|
53199
53202
|
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/]
|
|
53200
53203
|
}
|
|
53201
53204
|
], So = {
|
|
53202
|
-
browsers: Ft(
|
|
53205
|
+
browsers: Ft(Ma),
|
|
53203
53206
|
oses: Ft(Fi)
|
|
53204
53207
|
}, Io = "Edge", Ho = "Chromium", fi = "IE", hi = "Opera", Pi = "Firefox", js = "Safari", bd = () => bl({
|
|
53205
53208
|
current: void 0,
|
|
@@ -53225,7 +53228,7 @@ function gfe() {
|
|
|
53225
53228
|
opera: Ft(hi),
|
|
53226
53229
|
firefox: Ft(Pi),
|
|
53227
53230
|
safari: Ft(js)
|
|
53228
|
-
}, 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({
|
|
53229
53232
|
current: void 0,
|
|
53230
53233
|
version: In.unknown()
|
|
53231
53234
|
}), ru = (he) => {
|
|
@@ -53236,7 +53239,7 @@ function gfe() {
|
|
|
53236
53239
|
isWindows: At(Wo),
|
|
53237
53240
|
isiOS: At(Ol),
|
|
53238
53241
|
isAndroid: At(lr),
|
|
53239
|
-
isMacOS: At(
|
|
53242
|
+
isMacOS: At(Ba),
|
|
53240
53243
|
isLinux: At(kc),
|
|
53241
53244
|
isSolaris: At(Nl),
|
|
53242
53245
|
isFreeBSD: At(ei),
|
|
@@ -53249,7 +53252,7 @@ function gfe() {
|
|
|
53249
53252
|
ios: Ft(Ol),
|
|
53250
53253
|
android: Ft(lr),
|
|
53251
53254
|
linux: Ft(kc),
|
|
53252
|
-
macos: Ft(
|
|
53255
|
+
macos: Ft(Ba),
|
|
53253
53256
|
solaris: Ft(Nl),
|
|
53254
53257
|
freebsd: Ft(ei),
|
|
53255
53258
|
chromeos: Ft(su)
|
|
@@ -53311,9 +53314,9 @@ function gfe() {
|
|
|
53311
53314
|
const be = yr(he, "background-color");
|
|
53312
53315
|
return be !== void 0 && be !== "" ? "background-color:" + be + "!important" : hc;
|
|
53313
53316
|
}, Oa = (he, be, nt) => {
|
|
53314
|
-
const At = (il) => vs(il, "*:not(.tox-silver-sink)"), Un = (il) => (
|
|
53315
|
-
const vr = ss(
|
|
53316
|
-
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)));
|
|
53317
53320
|
}, as = rn(be, "*"), Qo = to(as, At), er = Uo(nt);
|
|
53318
53321
|
ye(Qo, Un(Nt)), ye(as, Un(ia + Zs + er)), Un((Br === !0 ? "" : ia) + Zs + er)(be);
|
|
53319
53322
|
}, wi = (he) => {
|
|
@@ -53351,12 +53354,12 @@ function gfe() {
|
|
|
53351
53354
|
}
|
|
53352
53355
|
};
|
|
53353
53356
|
}), Zm = (he, be) => {
|
|
53354
|
-
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) => {
|
|
53355
53358
|
Vi(nt, "tox-fullscreen"), Vi(At, "tox-fullscreen"), Vi(Un, "tox-fullscreen"), Js(as).map((Vs) => di(Vs).dom).each((Vs) => {
|
|
53356
53359
|
Vi(Vs, "tox-fullscreen"), Vi(Vs, "tox-shadowhost");
|
|
53357
53360
|
});
|
|
53358
53361
|
}, Vr = () => {
|
|
53359
|
-
|
|
53362
|
+
La && wi(he.dom), aa(ya.removeClass), zh.unbind(), sn.from(be.get()).each((Vi) => Vi.fullscreenChangeHandler.unbind());
|
|
53360
53363
|
};
|
|
53361
53364
|
if (si)
|
|
53362
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) => {
|
|
@@ -53376,7 +53379,7 @@ function gfe() {
|
|
|
53376
53379
|
fullscreenChangeHandler: Vi,
|
|
53377
53380
|
sinkCssPosition: Qo.map((Fc) => yr(Fc, "position"))
|
|
53378
53381
|
};
|
|
53379
|
-
|
|
53382
|
+
La && Oa(he.dom, as, il), mi.width = mi.height = "100%", vr.width = vr.height = "", aa(ya.addClass), Qo.each((Fc) => {
|
|
53380
53383
|
vi(Fc, "position", "fixed");
|
|
53381
53384
|
}), zh.bind(as), he.on("remove", Vr), be.set(Vs), _n(he) && is(er), Ve(he, !0);
|
|
53382
53385
|
}
|
|
@@ -53396,7 +53399,7 @@ function gfe() {
|
|
|
53396
53399
|
nt.setActive(be.get() !== null);
|
|
53397
53400
|
const At = (Un) => nt.setActive(Un.state);
|
|
53398
53401
|
return he.on("FullscreenStateChanged", At), () => he.off("FullscreenStateChanged", At);
|
|
53399
|
-
},
|
|
53402
|
+
}, Na = (he, be) => {
|
|
53400
53403
|
const nt = () => he.execCommand("mceFullScreen");
|
|
53401
53404
|
he.ui.registry.addToggleMenuItem("fullscreen", {
|
|
53402
53405
|
text: "Fullscreen",
|
|
@@ -53417,7 +53420,7 @@ function gfe() {
|
|
|
53417
53420
|
var au = () => {
|
|
53418
53421
|
o.add("fullscreen", (he) => {
|
|
53419
53422
|
const be = u(null);
|
|
53420
|
-
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);
|
|
53421
53424
|
});
|
|
53422
53425
|
};
|
|
53423
53426
|
au();
|
|
@@ -53915,7 +53918,7 @@ function Ofe() {
|
|
|
53915
53918
|
pn ? Le.fOffset += lo.length : Le.sOffset += lo.length, Le.elements.push(xo.fromDom(lo));
|
|
53916
53919
|
}
|
|
53917
53920
|
});
|
|
53918
|
-
},
|
|
53921
|
+
}, Ra = (Ae, Le, Lt, Wt, pn, Ln = !0) => {
|
|
53919
53922
|
const In = new Ks(Lt, Le), Rn = [];
|
|
53920
53923
|
let Jn = No();
|
|
53921
53924
|
yi(Ae, Jn, Lt, Le, !1);
|
|
@@ -53929,14 +53932,14 @@ function Ofe() {
|
|
|
53929
53932
|
}, Wt, Ln), Wt && yi(Ae, Jn, Wt, Le, !0), lo(), Rn;
|
|
53930
53933
|
}, Lo = (Ae, Le) => {
|
|
53931
53934
|
const Lt = Ns(Le.startContainer, Le.startOffset), Wt = Lt.element.dom, pn = Ns(Le.endContainer, Le.endOffset), Ln = pn.element.dom;
|
|
53932
|
-
return
|
|
53935
|
+
return Ra(Ae, Le.commonAncestorContainer, Wt, Ln, {
|
|
53933
53936
|
text: (In, Rn) => {
|
|
53934
53937
|
In === Ln ? Rn.fOffset += In.length - pn.offset : In === Wt && (Rn.sOffset += Lt.offset);
|
|
53935
53938
|
},
|
|
53936
53939
|
cef: (In) => {
|
|
53937
53940
|
const Rn = zt(sa(xo.fromDom(In), "*[contenteditable=true]"), (Jn) => {
|
|
53938
53941
|
const lo = Jn.dom;
|
|
53939
|
-
return
|
|
53942
|
+
return Ra(Ae, lo, lo);
|
|
53940
53943
|
});
|
|
53941
53944
|
return tt(Rn, (Jn, lo) => Hs(Jn.elements[0].dom, lo.elements[0].dom) ? 1 : -1);
|
|
53942
53945
|
}
|
|
@@ -54069,10 +54072,10 @@ function Ofe() {
|
|
|
54069
54072
|
const lo = Ae.getBody(), us = We.grep(We.toArray(lo.getElementsByTagName("span")), vi);
|
|
54070
54073
|
for (let ar = 0; ar < us.length; ar++) {
|
|
54071
54074
|
const Ss = $i(us[ar]);
|
|
54072
|
-
let
|
|
54073
|
-
if (pn ||
|
|
54075
|
+
let Ma = Rn = parseInt(Ss, 10);
|
|
54076
|
+
if (pn || Ma === Ln.index) {
|
|
54074
54077
|
for (Lt.length ? (us[ar].innerText = Lt, Xn(us[ar])) : Bl(Ae.dom, us[ar]); us[++ar]; )
|
|
54075
|
-
if (
|
|
54078
|
+
if (Ma = parseInt($i(us[ar]), 10), Ma === Rn)
|
|
54076
54079
|
Bl(Ae.dom, us[ar]);
|
|
54077
54080
|
else {
|
|
54078
54081
|
ar--;
|
|
@@ -54172,7 +54175,7 @@ function Ofe() {
|
|
|
54172
54175
|
wholewords: ar.wholeWord,
|
|
54173
54176
|
matchcase: ar.matchCase,
|
|
54174
54177
|
inselection: ar.inSelection
|
|
54175
|
-
},
|
|
54178
|
+
}, Ma = (So) => {
|
|
54176
54179
|
const Io = [
|
|
54177
54180
|
{
|
|
54178
54181
|
type: "label",
|
|
@@ -54224,7 +54227,7 @@ function Ofe() {
|
|
|
54224
54227
|
size: "normal",
|
|
54225
54228
|
body: {
|
|
54226
54229
|
type: "panel",
|
|
54227
|
-
items:
|
|
54230
|
+
items: Ma(So)
|
|
54228
54231
|
},
|
|
54229
54232
|
buttons: [
|
|
54230
54233
|
{
|
|
@@ -59455,7 +59458,7 @@ class of {
|
|
|
59455
59458
|
}
|
|
59456
59459
|
}
|
|
59457
59460
|
const gJ = [];
|
|
59458
|
-
class
|
|
59461
|
+
class Da {
|
|
59459
59462
|
constructor() {
|
|
59460
59463
|
this.parent = null, this.dom = null, this.flags = 2;
|
|
59461
59464
|
}
|
|
@@ -59486,7 +59489,7 @@ class Aa {
|
|
|
59486
59489
|
for (let O of this.children) {
|
|
59487
59490
|
if (O.flags & 7) {
|
|
59488
59491
|
if (!O.dom && (m = f ? f.nextSibling : c.firstChild)) {
|
|
59489
|
-
let w =
|
|
59492
|
+
let w = Da.get(m);
|
|
59490
59493
|
(!w || !w.parent && w.canReuseDOM(O)) && O.reuseDOM(m);
|
|
59491
59494
|
}
|
|
59492
59495
|
O.sync(o, i), O.flags &= -8;
|
|
@@ -59522,7 +59525,7 @@ class Aa {
|
|
|
59522
59525
|
}
|
|
59523
59526
|
if (c == this.dom.firstChild)
|
|
59524
59527
|
return 0;
|
|
59525
|
-
for (; c && !
|
|
59528
|
+
for (; c && !Da.get(c); )
|
|
59526
59529
|
c = c.nextSibling;
|
|
59527
59530
|
if (!c)
|
|
59528
59531
|
return this.length;
|
|
@@ -59635,7 +59638,7 @@ class Aa {
|
|
|
59635
59638
|
this.parent = null;
|
|
59636
59639
|
}
|
|
59637
59640
|
}
|
|
59638
|
-
|
|
59641
|
+
Da.prototype.breakAfter = 0;
|
|
59639
59642
|
function kne(u) {
|
|
59640
59643
|
let o = u.nextSibling;
|
|
59641
59644
|
return u.parentNode.removeChild(u), o;
|
|
@@ -59696,7 +59699,7 @@ var Ao = {
|
|
|
59696
59699
|
tabSize: PK.documentElement.style.tabSize != null ? "tab-size" : "-moz-tab-size"
|
|
59697
59700
|
};
|
|
59698
59701
|
const ahe = 256;
|
|
59699
|
-
class Wp extends
|
|
59702
|
+
class Wp extends Da {
|
|
59700
59703
|
constructor(o) {
|
|
59701
59704
|
super(), this.text = o;
|
|
59702
59705
|
}
|
|
@@ -59732,7 +59735,7 @@ class Wp extends Aa {
|
|
|
59732
59735
|
return lhe(this.dom, o, i);
|
|
59733
59736
|
}
|
|
59734
59737
|
}
|
|
59735
|
-
class VO extends
|
|
59738
|
+
class VO extends Da {
|
|
59736
59739
|
constructor(o, i = [], c = 0) {
|
|
59737
59740
|
super(), this.mark = o, this.children = i, this.length = c;
|
|
59738
59741
|
for (let f of i)
|
|
@@ -59783,7 +59786,7 @@ function lhe(u, o, i) {
|
|
|
59783
59786
|
let T = w[(O ? O < 0 : i >= 0) ? 0 : w.length - 1];
|
|
59784
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;
|
|
59785
59788
|
}
|
|
59786
|
-
class qS extends
|
|
59789
|
+
class qS extends Da {
|
|
59787
59790
|
static create(o, i, c) {
|
|
59788
59791
|
return new qS(o, i, c);
|
|
59789
59792
|
}
|
|
@@ -59852,7 +59855,7 @@ class qS extends Aa {
|
|
|
59852
59855
|
super.destroy(), this.dom && this.widget.destroy(this.dom);
|
|
59853
59856
|
}
|
|
59854
59857
|
}
|
|
59855
|
-
class O_ extends
|
|
59858
|
+
class O_ extends Da {
|
|
59856
59859
|
constructor(o) {
|
|
59857
59860
|
super(), this.side = o;
|
|
59858
59861
|
}
|
|
@@ -60199,7 +60202,7 @@ function aF(u, o, i, c = 0) {
|
|
|
60199
60202
|
let f = i.length - 1;
|
|
60200
60203
|
f >= 0 && i[f] + c >= u ? i[f] = Math.max(i[f], o) : i.push(u, o);
|
|
60201
60204
|
}
|
|
60202
|
-
class Mc extends
|
|
60205
|
+
class Mc extends Da {
|
|
60203
60206
|
constructor() {
|
|
60204
60207
|
super(...arguments), this.children = [], this.length = 0, this.prevAttrs = void 0, this.attrs = null, this.breakAfter = 0;
|
|
60205
60208
|
}
|
|
@@ -60248,9 +60251,9 @@ class Mc extends Aa {
|
|
|
60248
60251
|
var c;
|
|
60249
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);
|
|
60250
60253
|
let f = this.dom.lastChild;
|
|
60251
|
-
for (; f &&
|
|
60254
|
+
for (; f && Da.get(f) instanceof VO; )
|
|
60252
60255
|
f = f.lastChild;
|
|
60253
|
-
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))) {
|
|
60254
60257
|
let m = document.createElement("BR");
|
|
60255
60258
|
m.cmIgnore = !0, this.dom.appendChild(m);
|
|
60256
60259
|
}
|
|
@@ -60304,7 +60307,7 @@ class Mc extends Aa {
|
|
|
60304
60307
|
return null;
|
|
60305
60308
|
}
|
|
60306
60309
|
}
|
|
60307
|
-
class FO extends
|
|
60310
|
+
class FO extends Da {
|
|
60308
60311
|
constructor(o, i, c) {
|
|
60309
60312
|
super(), this.widget = o, this.length = i, this.deco = c, this.breakAfter = 0, this.prevWidget = null;
|
|
60310
60313
|
}
|
|
@@ -60991,7 +60994,7 @@ class xF {
|
|
|
60991
60994
|
return this.flags == 0 && this.transactions.length == 0;
|
|
60992
60995
|
}
|
|
60993
60996
|
}
|
|
60994
|
-
class Pne extends
|
|
60997
|
+
class Pne extends Da {
|
|
60995
60998
|
get length() {
|
|
60996
60999
|
return this.view.state.doc.length;
|
|
60997
61000
|
}
|
|
@@ -61073,7 +61076,7 @@ class Pne extends Aa {
|
|
|
61073
61076
|
(T) => T.flags & 7
|
|
61074
61077
|
/* ViewFlag.Dirty */
|
|
61075
61078
|
) ? 1 : 0), this.markedForComposition.add(O);
|
|
61076
|
-
let w =
|
|
61079
|
+
let w = Da.get(m);
|
|
61077
61080
|
w && w != O && (w.dom = null), O.setDOM(m);
|
|
61078
61081
|
}, c = this.childPos(o.range.fromB, 1), f = this.children[c.i];
|
|
61079
61082
|
i(o.line, f);
|
|
@@ -61152,18 +61155,18 @@ class Pne extends Aa {
|
|
|
61152
61155
|
if (o.node != i)
|
|
61153
61156
|
return o;
|
|
61154
61157
|
for (let f = o.offset; !c && f < i.childNodes.length; f++) {
|
|
61155
|
-
let m =
|
|
61158
|
+
let m = Da.get(i.childNodes[f]);
|
|
61156
61159
|
m instanceof Mc && (c = m.domAtPos(0));
|
|
61157
61160
|
}
|
|
61158
61161
|
for (let f = o.offset - 1; !c && f >= 0; f--) {
|
|
61159
|
-
let m =
|
|
61162
|
+
let m = Da.get(i.childNodes[f]);
|
|
61160
61163
|
m instanceof Mc && (c = m.domAtPos(m.length));
|
|
61161
61164
|
}
|
|
61162
61165
|
return c ? new of(c.node, c.offset, !0) : o;
|
|
61163
61166
|
}
|
|
61164
61167
|
nearest(o) {
|
|
61165
61168
|
for (let i = o; i; ) {
|
|
61166
|
-
let c =
|
|
61169
|
+
let c = Da.get(i);
|
|
61167
61170
|
if (c && c.rootView == this)
|
|
61168
61171
|
return c;
|
|
61169
61172
|
i = i.parentNode;
|
|
@@ -61345,11 +61348,11 @@ function wre(u, o) {
|
|
|
61345
61348
|
return null;
|
|
61346
61349
|
let c = Wse(i.focusNode, i.focusOffset), f = jse(i.focusNode, i.focusOffset), m = c || f;
|
|
61347
61350
|
if (f && c && f.node != c.node) {
|
|
61348
|
-
let w =
|
|
61351
|
+
let w = Da.get(f.node);
|
|
61349
61352
|
if (!w || w instanceof Wp && w.text != f.node.nodeValue)
|
|
61350
61353
|
m = f;
|
|
61351
61354
|
else if (u.docView.lastCompositionAfterCursor) {
|
|
61352
|
-
let T =
|
|
61355
|
+
let T = Da.get(c.node);
|
|
61353
61356
|
!T || T instanceof Wp && T.text != c.node.nodeValue || (m = f);
|
|
61354
61357
|
}
|
|
61355
61358
|
}
|
|
@@ -61367,7 +61370,7 @@ function khe(u, o, i) {
|
|
|
61367
61370
|
return null;
|
|
61368
61371
|
let T = o.invertedDesc, P = new Lg(T.mapPos(m), T.mapPos(O), m, O), R = [];
|
|
61369
61372
|
for (let F = f.parentNode; ; F = F.parentNode) {
|
|
61370
|
-
let H =
|
|
61373
|
+
let H = Da.get(F);
|
|
61371
61374
|
if (H instanceof VO)
|
|
61372
61375
|
R.push({ node: F, deco: H.mark });
|
|
61373
61376
|
else {
|
|
@@ -61690,7 +61693,7 @@ class Qhe {
|
|
|
61690
61693
|
let O = f.nextSibling;
|
|
61691
61694
|
if (O == i)
|
|
61692
61695
|
break;
|
|
61693
|
-
let w =
|
|
61696
|
+
let w = Da.get(f), T = Da.get(O);
|
|
61694
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;
|
|
61695
61698
|
}
|
|
61696
61699
|
return this.findPointBefore(c, i), this;
|
|
@@ -61712,7 +61715,7 @@ class Qhe {
|
|
|
61712
61715
|
readNode(o) {
|
|
61713
61716
|
if (o.cmIgnore)
|
|
61714
61717
|
return;
|
|
61715
|
-
let i =
|
|
61718
|
+
let i = Da.get(o), c = i && i.overrideDOMText;
|
|
61716
61719
|
if (c != null) {
|
|
61717
61720
|
this.findPointInside(o, c.length);
|
|
61718
61721
|
for (let f = c.iter(); !f.next().done; )
|
|
@@ -62072,7 +62075,7 @@ function eme(u, o) {
|
|
|
62072
62075
|
if (o.defaultPrevented)
|
|
62073
62076
|
return !1;
|
|
62074
62077
|
for (let i = o.target, c; i != u.contentDOM; i = i.parentNode)
|
|
62075
|
-
if (!i || i.nodeType == 11 || (c =
|
|
62078
|
+
if (!i || i.nodeType == 11 || (c = Da.get(i)) && c.ignoreEvent(o))
|
|
62076
62079
|
return !1;
|
|
62077
62080
|
return !0;
|
|
62078
62081
|
}
|
|
@@ -63704,7 +63707,7 @@ class Sme {
|
|
|
63704
63707
|
}
|
|
63705
63708
|
function Yne(u, o, i) {
|
|
63706
63709
|
for (; o; ) {
|
|
63707
|
-
let c =
|
|
63710
|
+
let c = Da.get(o);
|
|
63708
63711
|
if (c && c.parent == u)
|
|
63709
63712
|
return c;
|
|
63710
63713
|
let f = o.parentNode;
|
|
@@ -64585,7 +64588,7 @@ class ms {
|
|
|
64585
64588
|
*/
|
|
64586
64589
|
static findFromDOM(o) {
|
|
64587
64590
|
var i;
|
|
64588
|
-
let c = o.querySelector(".cm-content"), f = c &&
|
|
64591
|
+
let c = o.querySelector(".cm-content"), f = c && Da.get(c) || Da.get(o);
|
|
64589
64592
|
return ((i = f == null ? void 0 : f.rootView) === null || i === void 0 ? void 0 : i.view) || null;
|
|
64590
64593
|
}
|
|
64591
64594
|
}
|
|
@@ -75458,13 +75461,13 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75458
75461
|
Z("div", Cye, [
|
|
75459
75462
|
Z("a", {
|
|
75460
75463
|
href: "#",
|
|
75461
|
-
onClick: o[3] || (o[3] =
|
|
75464
|
+
onClick: o[3] || (o[3] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
75462
75465
|
disabled: f.currentPage === 1,
|
|
75463
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"
|
|
75464
75467
|
}, "Previous", 8, Tye),
|
|
75465
75468
|
Z("a", {
|
|
75466
75469
|
href: "#",
|
|
75467
|
-
onClick: o[4] || (o[4] =
|
|
75470
|
+
onClick: o[4] || (o[4] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
75468
75471
|
disabled: f.currentPage === m.totalPages,
|
|
75469
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"
|
|
75470
75473
|
}, "Next", 8, _ye)
|
|
@@ -75487,7 +75490,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75487
75490
|
Z("li", null, [
|
|
75488
75491
|
Z("a", {
|
|
75489
75492
|
href: "#",
|
|
75490
|
-
onClick: o[5] || (o[5] =
|
|
75493
|
+
onClick: o[5] || (o[5] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
75491
75494
|
disabled: f.currentPage === 1,
|
|
75492
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"
|
|
75493
75496
|
}, o[16] || (o[16] = [
|
|
@@ -75514,7 +75517,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75514
75517
|
f.currentPage !== w ? (Ce(), Pe("a", {
|
|
75515
75518
|
key: 0,
|
|
75516
75519
|
href: "#",
|
|
75517
|
-
onClick:
|
|
75520
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
75518
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"
|
|
75519
75522
|
}, Mt(w), 9, Nye)) : Tt("", !0)
|
|
75520
75523
|
]),
|
|
@@ -75522,7 +75525,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75522
75525
|
f.currentPage === w ? (Ce(), Pe("a", {
|
|
75523
75526
|
key: 0,
|
|
75524
75527
|
href: "#",
|
|
75525
|
-
onClick:
|
|
75528
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
75526
75529
|
"aria-current": "page",
|
|
75527
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"
|
|
75528
75531
|
}, Mt(w), 9, Lye)) : Tt("", !0)
|
|
@@ -75531,7 +75534,7 @@ function Qye(u, o, i, c, f, m) {
|
|
|
75531
75534
|
Z("li", null, [
|
|
75532
75535
|
Z("a", {
|
|
75533
75536
|
href: "#",
|
|
75534
|
-
onClick: o[6] || (o[6] =
|
|
75537
|
+
onClick: o[6] || (o[6] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
75535
75538
|
disabled: f.currentPage === m.totalPages,
|
|
75536
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"
|
|
75537
75540
|
}, o[17] || (o[17] = [
|
|
@@ -75977,7 +75980,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
75977
75980
|
Z("tr", null, [
|
|
75978
75981
|
(Ce(!0), Pe(Fo, null, Hr(i.columns, (w, T) => (Ce(), Pe("th", {
|
|
75979
75982
|
key: T,
|
|
75980
|
-
onClick:
|
|
75983
|
+
onClick: Aa((P) => m.sort(w), ["prevent"]),
|
|
75981
75984
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
75982
75985
|
}, [
|
|
75983
75986
|
Vo(Mt(w) + " ", 1),
|
|
@@ -76010,13 +76013,13 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76010
76013
|
Z("div", Sve, [
|
|
76011
76014
|
Z("a", {
|
|
76012
76015
|
href: "#",
|
|
76013
|
-
onClick: o[2] || (o[2] =
|
|
76016
|
+
onClick: o[2] || (o[2] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
76014
76017
|
disabled: f.currentPage === 1,
|
|
76015
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"
|
|
76016
76019
|
}, "Previous", 8, kve),
|
|
76017
76020
|
Z("a", {
|
|
76018
76021
|
href: "#",
|
|
76019
|
-
onClick: o[3] || (o[3] =
|
|
76022
|
+
onClick: o[3] || (o[3] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
76020
76023
|
disabled: f.currentPage === m.totalPages,
|
|
76021
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"
|
|
76022
76025
|
}, "Next", 8, Cve)
|
|
@@ -76039,7 +76042,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76039
76042
|
Z("li", null, [
|
|
76040
76043
|
Z("a", {
|
|
76041
76044
|
href: "#",
|
|
76042
|
-
onClick: o[4] || (o[4] =
|
|
76045
|
+
onClick: o[4] || (o[4] = Aa((...w) => m.previousPage && m.previousPage(...w), ["prevent"])),
|
|
76043
76046
|
disabled: f.currentPage === 1,
|
|
76044
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"
|
|
76045
76048
|
}, o[14] || (o[14] = [
|
|
@@ -76066,7 +76069,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76066
76069
|
f.currentPage !== w ? (Ce(), Pe("a", {
|
|
76067
76070
|
key: 0,
|
|
76068
76071
|
href: "#",
|
|
76069
|
-
onClick:
|
|
76072
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
76070
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"
|
|
76071
76074
|
}, Mt(w), 9, Mve)) : Tt("", !0)
|
|
76072
76075
|
]),
|
|
@@ -76074,7 +76077,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76074
76077
|
f.currentPage === w ? (Ce(), Pe("a", {
|
|
76075
76078
|
key: 0,
|
|
76076
76079
|
href: "#",
|
|
76077
|
-
onClick:
|
|
76080
|
+
onClick: Aa((T) => m.goToPage(w), ["prevent"]),
|
|
76078
76081
|
"aria-current": "page",
|
|
76079
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"
|
|
76080
76083
|
}, Mt(w), 9, Bve)) : Tt("", !0)
|
|
@@ -76083,7 +76086,7 @@ function Lve(u, o, i, c, f, m) {
|
|
|
76083
76086
|
Z("li", null, [
|
|
76084
76087
|
Z("a", {
|
|
76085
76088
|
href: "#",
|
|
76086
|
-
onClick: o[5] || (o[5] =
|
|
76089
|
+
onClick: o[5] || (o[5] = Aa((...w) => m.nextPage && m.nextPage(...w), ["prevent"])),
|
|
76087
76090
|
disabled: f.currentPage === m.totalPages,
|
|
76088
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"
|
|
76089
76092
|
}, o[15] || (o[15] = [
|
|
@@ -76507,7 +76510,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76507
76510
|
F.can(`delete_${u.xprops.permission}`) ? (Ce(), Pe("li", i2e, [
|
|
76508
76511
|
Z("a", {
|
|
76509
76512
|
href: "#",
|
|
76510
|
-
onClick:
|
|
76513
|
+
onClick: Aa(T, ["prevent"]),
|
|
76511
76514
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
76512
76515
|
}, H[2] || (H[2] = [
|
|
76513
76516
|
Z("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
@@ -76604,7 +76607,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76604
76607
|
F.can(`delete_${u.xprops.permission}`) ? (Ce(), Pe("li", u2e, [
|
|
76605
76608
|
Z("a", {
|
|
76606
76609
|
href: "#",
|
|
76607
|
-
onClick:
|
|
76610
|
+
onClick: Aa(T, ["prevent"]),
|
|
76608
76611
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
76609
76612
|
}, H[1] || (H[1] = [
|
|
76610
76613
|
Z("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
@@ -76712,7 +76715,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76712
76715
|
H.can(`access_${u.xprops.permission}`) ? (Ce(), Pe("li", m2e, [
|
|
76713
76716
|
Z("a", {
|
|
76714
76717
|
href: "#",
|
|
76715
|
-
onClick: K[0] || (K[0] =
|
|
76718
|
+
onClick: K[0] || (K[0] = Aa((Te) => R(u.row), ["prevent"])),
|
|
76716
76719
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
76717
76720
|
}, [
|
|
76718
76721
|
K[2] || (K[2] = Z("i", { class: "mr-1 fa-solid fa-pen-to-square opacity-80" }, null, -1)),
|
|
@@ -76722,7 +76725,7 @@ const sSe = /* @__PURE__ */ Ti(Hve, [["render", Xve]]), qve = {
|
|
|
76722
76725
|
H.can(`delete_${u.xprops.permission}`) ? (Ce(), Pe("li", g2e, [
|
|
76723
76726
|
Z("a", {
|
|
76724
76727
|
href: "#",
|
|
76725
|
-
onClick:
|
|
76728
|
+
onClick: Aa(O, ["prevent"]),
|
|
76726
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"
|
|
76727
76730
|
}, [
|
|
76728
76731
|
K[3] || (K[3] = Z("i", { class: "mr-1 fa-solid fa-trash-can opacity-80" }, null, -1)),
|