@zyui/components 0.0.106 → 0.0.108
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/es/index.js +2 -2
- package/es/index.mjs +484 -474
- package/es/src/components/NodesEditor/PagesizeWrap/index.vue.d.ts +9 -0
- package/es/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/es/style.css +1 -1
- package/lib/src/components/NodesEditor/PagesizeWrap/index.vue.d.ts +9 -0
- package/lib/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Mhe = Object.defineProperty;
|
|
2
2
|
var Rhe = (o, s, i) => s in o ? Mhe(o, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[s] = i;
|
|
3
3
|
var du = (o, s, i) => Rhe(o, typeof s != "symbol" ? s + "" : s, i);
|
|
4
|
-
import { defineComponent as Go, reactive as uO, provide as Jm, inject as Qm, ref as rn, watch as Uo, toValue as ht, computed as En, openBlock as ut, createElementBlock as tn, createElementVNode as Ht, mergeModels as ia, useModel as fr, Fragment as nr, renderList as ga, createVNode as dn, unref as $e, withCtx as _n, createCommentVNode as Po, toDisplayString as Ds, createTextVNode as Is, createBlock as bo, withDirectives as KU, mergeProps as cm, resolveComponent as W4, isRef as oh, onUnmounted as ud, watchEffect as Pue, onMounted as Ri, onBeforeUnmount as dO, nextTick as hu, toRefs as nC, getCurrentScope as zoe, onScopeDispose as BR, renderSlot as Rr, normalizeStyle as
|
|
4
|
+
import { defineComponent as Go, reactive as uO, provide as Jm, inject as Qm, ref as rn, watch as Uo, toValue as ht, computed as En, openBlock as ut, createElementBlock as tn, createElementVNode as Ht, mergeModels as ia, useModel as fr, Fragment as nr, renderList as ga, createVNode as dn, unref as $e, withCtx as _n, createCommentVNode as Po, toDisplayString as Ds, createTextVNode as Is, createBlock as bo, withDirectives as KU, mergeProps as cm, resolveComponent as W4, isRef as oh, onUnmounted as ud, watchEffect as Pue, onMounted as Ri, onBeforeUnmount as dO, nextTick as hu, toRefs as nC, getCurrentScope as zoe, onScopeDispose as BR, renderSlot as Rr, normalizeStyle as wl, onActivated as Ihe, onDeactivated as Phe, h as qa, withModifiers as oC, Teleport as Uoe, normalizeClass as bi, vShow as Bhe, resolveDynamicComponent as J_, createPropsRestProxy as Fhe, toRef as li, effectScope as Bue, getCurrentInstance as sC, useSlots as Lhe, onBeforeMount as Hhe, useAttrs as Vhe, isMemoSame as zhe, customRef as Uhe, markRaw as FR, readonly as jhe, createStaticVNode as Whe, createSlots as Fue, normalizeProps as Zhe, guardReactiveProps as Ghe, withKeys as mI } from "vue";
|
|
5
5
|
import { ElImage as hy, ElIcon as Kg, ElPopover as XU, ElForm as rC, ElFormItem as Ym, ElInput as Jg, ElButton as Fu, ElScrollbar as JU, ElLoadingDirective as joe, ElSelect as mE, ElOption as gE, ElDialog as QU, ElTabs as Lue, ElTabPane as Hue, useFormItem as qhe, ElTooltip as Yhe, ElTable as Khe, ElTableColumn as _z, ElCheckbox as vy, ElMessageBox as Xhe, ElRadioGroup as Vue, ElRadio as X2, ElTree as zue } from "element-plus";
|
|
6
|
-
const Jhe = "0.0.
|
|
6
|
+
const Jhe = "0.0.108";
|
|
7
7
|
var Qhe = Object.defineProperty, e1e = (o, s, i) => s in o ? Qhe(o, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[s] = i, Dte = (o, s, i) => e1e(o, typeof s != "symbol" ? s + "" : s, i);
|
|
8
8
|
function Uue(o, s) {
|
|
9
9
|
return function() {
|
|
@@ -4591,11 +4591,11 @@ var ffe = Object.prototype, E2e = ffe.hasOwnProperty, T2e = ffe.propertyIsEnumer
|
|
|
4591
4591
|
function k2e() {
|
|
4592
4592
|
return !1;
|
|
4593
4593
|
}
|
|
4594
|
-
var mfe = typeof exports == "object" && exports && !exports.nodeType && exports, Lie = mfe && typeof module == "object" && module && !module.nodeType && module, A2e = Lie && Lie.exports === mfe, Hie = A2e ? p1.Buffer : void 0, O2e = Hie ? Hie.isBuffer : void 0, xU = O2e || k2e, $2e = "[object Arguments]", D2e = "[object Array]", N2e = "[object Boolean]", M2e = "[object Date]", R2e = "[object Error]", I2e = "[object Function]", P2e = "[object Map]", B2e = "[object Number]", F2e = "[object Object]", L2e = "[object RegExp]", H2e = "[object Set]", V2e = "[object String]", z2e = "[object WeakMap]", U2e = "[object ArrayBuffer]", j2e = "[object DataView]", W2e = "[object Float32Array]", Z2e = "[object Float64Array]", G2e = "[object Int8Array]", q2e = "[object Int16Array]", Y2e = "[object Int32Array]", K2e = "[object Uint8Array]", X2e = "[object Uint8ClampedArray]", J2e = "[object Uint16Array]", Q2e = "[object Uint32Array]",
|
|
4595
|
-
|
|
4596
|
-
|
|
4594
|
+
var mfe = typeof exports == "object" && exports && !exports.nodeType && exports, Lie = mfe && typeof module == "object" && module && !module.nodeType && module, A2e = Lie && Lie.exports === mfe, Hie = A2e ? p1.Buffer : void 0, O2e = Hie ? Hie.isBuffer : void 0, xU = O2e || k2e, $2e = "[object Arguments]", D2e = "[object Array]", N2e = "[object Boolean]", M2e = "[object Date]", R2e = "[object Error]", I2e = "[object Function]", P2e = "[object Map]", B2e = "[object Number]", F2e = "[object Object]", L2e = "[object RegExp]", H2e = "[object Set]", V2e = "[object String]", z2e = "[object WeakMap]", U2e = "[object ArrayBuffer]", j2e = "[object DataView]", W2e = "[object Float32Array]", Z2e = "[object Float64Array]", G2e = "[object Int8Array]", q2e = "[object Int16Array]", Y2e = "[object Int32Array]", K2e = "[object Uint8Array]", X2e = "[object Uint8ClampedArray]", J2e = "[object Uint16Array]", Q2e = "[object Uint32Array]", $l = {};
|
|
4595
|
+
$l[W2e] = $l[Z2e] = $l[G2e] = $l[q2e] = $l[Y2e] = $l[K2e] = $l[X2e] = $l[J2e] = $l[Q2e] = !0;
|
|
4596
|
+
$l[$2e] = $l[D2e] = $l[U2e] = $l[N2e] = $l[j2e] = $l[M2e] = $l[R2e] = $l[I2e] = $l[P2e] = $l[B2e] = $l[F2e] = $l[L2e] = $l[H2e] = $l[V2e] = $l[z2e] = !1;
|
|
4597
4597
|
function eCe(o) {
|
|
4598
|
-
return by(o) && cse(o.length) &&
|
|
4598
|
+
return by(o) && cse(o.length) && !!$l[pO(o)];
|
|
4599
4599
|
}
|
|
4600
4600
|
function CI(o) {
|
|
4601
4601
|
return function(s) {
|
|
@@ -7366,11 +7366,11 @@ var Xfe = _Ae, EAe = 9007199254740991;
|
|
|
7366
7366
|
function TAe(o) {
|
|
7367
7367
|
return typeof o == "number" && o > -1 && o % 1 == 0 && o <= EAe;
|
|
7368
7368
|
}
|
|
7369
|
-
var Jfe = TAe, kAe = TI, AAe = Jfe, OAe = uC, $Ae = "[object Arguments]", DAe = "[object Array]", NAe = "[object Boolean]", MAe = "[object Date]", RAe = "[object Error]", IAe = "[object Function]", PAe = "[object Map]", BAe = "[object Number]", FAe = "[object Object]", LAe = "[object RegExp]", HAe = "[object Set]", VAe = "[object String]", zAe = "[object WeakMap]", UAe = "[object ArrayBuffer]", jAe = "[object DataView]", WAe = "[object Float32Array]", ZAe = "[object Float64Array]", GAe = "[object Int8Array]", qAe = "[object Int16Array]", YAe = "[object Int32Array]", KAe = "[object Uint8Array]", XAe = "[object Uint8ClampedArray]", JAe = "[object Uint16Array]", QAe = "[object Uint32Array]",
|
|
7370
|
-
|
|
7371
|
-
|
|
7369
|
+
var Jfe = TAe, kAe = TI, AAe = Jfe, OAe = uC, $Ae = "[object Arguments]", DAe = "[object Array]", NAe = "[object Boolean]", MAe = "[object Date]", RAe = "[object Error]", IAe = "[object Function]", PAe = "[object Map]", BAe = "[object Number]", FAe = "[object Object]", LAe = "[object RegExp]", HAe = "[object Set]", VAe = "[object String]", zAe = "[object WeakMap]", UAe = "[object ArrayBuffer]", jAe = "[object DataView]", WAe = "[object Float32Array]", ZAe = "[object Float64Array]", GAe = "[object Int8Array]", qAe = "[object Int16Array]", YAe = "[object Int32Array]", KAe = "[object Uint8Array]", XAe = "[object Uint8ClampedArray]", JAe = "[object Uint16Array]", QAe = "[object Uint32Array]", Dl = {};
|
|
7370
|
+
Dl[WAe] = Dl[ZAe] = Dl[GAe] = Dl[qAe] = Dl[YAe] = Dl[KAe] = Dl[XAe] = Dl[JAe] = Dl[QAe] = !0;
|
|
7371
|
+
Dl[$Ae] = Dl[DAe] = Dl[UAe] = Dl[NAe] = Dl[jAe] = Dl[MAe] = Dl[RAe] = Dl[IAe] = Dl[PAe] = Dl[BAe] = Dl[FAe] = Dl[LAe] = Dl[HAe] = Dl[VAe] = Dl[zAe] = !1;
|
|
7372
7372
|
function e4e(o) {
|
|
7373
|
-
return OAe(o) && AAe(o.length) &&
|
|
7373
|
+
return OAe(o) && AAe(o.length) && !!Dl[kAe(o)];
|
|
7374
7374
|
}
|
|
7375
7375
|
var t4e = e4e;
|
|
7376
7376
|
function n4e(o) {
|
|
@@ -8441,7 +8441,7 @@ const CMe = { class: "h-100% flex flex-col overflow-hidden" }, SMe = {
|
|
|
8441
8441
|
u.$slots.content ? Rr(u.$slots, "content", {
|
|
8442
8442
|
key: 0,
|
|
8443
8443
|
height: $e(i),
|
|
8444
|
-
style:
|
|
8444
|
+
style: wl({ height: $e(i) })
|
|
8445
8445
|
}, void 0, !0) : Po("", !0)
|
|
8446
8446
|
], 512),
|
|
8447
8447
|
u.$slots.footer ? (ut(), tn("div", xMe, [
|
|
@@ -9123,7 +9123,7 @@ var OMe = [
|
|
|
9123
9123
|
}), vo = (e, n) => e.substring(n), wo = (e, n, r) => n === "" || e.length >= n.length && e.substr(r, r + n.length) === n, uo = (e, n) => Zo(e, n) ? vo(e, n.length) : e, Oo = (e, n, r = 0, l) => {
|
|
9124
9124
|
const d = e.indexOf(n, r);
|
|
9125
9125
|
return d !== -1 ? lt(l) ? !0 : d + n.length <= l : !1;
|
|
9126
|
-
}, Zo = (e, n) => wo(e, n, 0), ys = (e, n) => wo(e, n, e.length - n.length), mr = (e) => (n) => n.replace(e, ""), Bs = mr(/^\s+|\s+$/g),
|
|
9126
|
+
}, Zo = (e, n) => wo(e, n, 0), ys = (e, n) => wo(e, n, e.length - n.length), mr = (e) => (n) => n.replace(e, ""), Bs = mr(/^\s+|\s+$/g), yi = mr(/^\s+/g), ya = mr(/\s+$/g), Qo = (e) => e.length > 0, us = (e) => !Qo(e), ms = (e, n) => n <= 0 ? "" : new Array(n + 1).join(e), ka = (e, n = 10) => {
|
|
9127
9127
|
const r = parseInt(e, n);
|
|
9128
9128
|
return isNaN(r) ? ne.none() : ne.some(r);
|
|
9129
9129
|
}, wa = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Aa = (e) => (n) => Oo(n, e), cr = [
|
|
@@ -9218,7 +9218,7 @@ var OMe = [
|
|
|
9218
9218
|
], Pi = {
|
|
9219
9219
|
browsers: be(cr),
|
|
9220
9220
|
oses: be(yu)
|
|
9221
|
-
}, Oc = "Edge", ws = "Chromium", tl = "IE", Sr = "Opera", ic = "Firefox", ki = "Safari",
|
|
9221
|
+
}, Oc = "Edge", ws = "Chromium", tl = "IE", Sr = "Opera", ic = "Firefox", ki = "Safari", Cl = () => Ca({
|
|
9222
9222
|
current: void 0,
|
|
9223
9223
|
version: et.unknown()
|
|
9224
9224
|
}), Ca = (e) => {
|
|
@@ -9234,7 +9234,7 @@ var OMe = [
|
|
|
9234
9234
|
isSafari: l(ki)
|
|
9235
9235
|
};
|
|
9236
9236
|
}, lc = {
|
|
9237
|
-
unknown:
|
|
9237
|
+
unknown: Cl,
|
|
9238
9238
|
nu: Ca,
|
|
9239
9239
|
edge: be(Oc),
|
|
9240
9240
|
chromium: be(ws),
|
|
@@ -9270,7 +9270,7 @@ var OMe = [
|
|
|
9270
9270
|
solaris: be(nl),
|
|
9271
9271
|
freebsd: be(ql),
|
|
9272
9272
|
chromeos: be(Yl)
|
|
9273
|
-
},
|
|
9273
|
+
}, wi = { detect: (e, n, r) => {
|
|
9274
9274
|
const l = Pi.browsers(), d = Pi.oses(), h = n.bind((D) => at(l, D)).orThunk(() => kn(l, e)).fold(lc.unknown, lc.nu), S = Yn(d, e).fold(ea.unknown, ea.nu), k = Co(S, h, e, r);
|
|
9275
9275
|
return {
|
|
9276
9276
|
browser: h,
|
|
@@ -9278,7 +9278,7 @@ var OMe = [
|
|
|
9278
9278
|
deviceType: k
|
|
9279
9279
|
};
|
|
9280
9280
|
} }, $c = (e) => window.matchMedia(e).matches;
|
|
9281
|
-
let Dc = Jt(() =>
|
|
9281
|
+
let Dc = Jt(() => wi.detect(window.navigator.userAgent, ne.from(window.navigator.userAgentData), $c));
|
|
9282
9282
|
const Ya = () => Dc(), Se = window.navigator.userAgent, qe = Ya(), pt = qe.browser, nn = qe.os, ue = qe.deviceType, Ce = Se.indexOf("Windows Phone") !== -1, rt = {
|
|
9283
9283
|
transparentSrc: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
|
|
9284
9284
|
documentMode: pt.isIE() ? document.documentMode || 7 : 10,
|
|
@@ -9382,7 +9382,7 @@ var OMe = [
|
|
|
9382
9382
|
}, tp = Object.getPrototypeOf, $r = (e) => tg("HTMLElement", e), Cu = (e) => {
|
|
9383
9383
|
const n = $a("ownerDocument.defaultView", e);
|
|
9384
9384
|
return fe(e) && ($r(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test(tp(e).constructor.name));
|
|
9385
|
-
}, Xa = 8, ci = 9, ol = 11, Lu = 1, Re = 3, Le = (e) => e.dom.nodeName.toLowerCase(), It = (e) => e.dom.nodeType, ln = (e) => (n) => It(n) === e, Eo = (e) => It(e) === Xa || Le(e) === "#comment", ks = (e) => hs(e) && Cu(e.dom), hs = ln(Lu), xr = ln(Re), Ia = ln(ci),
|
|
9385
|
+
}, Xa = 8, ci = 9, ol = 11, Lu = 1, Re = 3, Le = (e) => e.dom.nodeName.toLowerCase(), It = (e) => e.dom.nodeType, ln = (e) => (n) => It(n) === e, Eo = (e) => It(e) === Xa || Le(e) === "#comment", ks = (e) => hs(e) && Cu(e.dom), hs = ln(Lu), xr = ln(Re), Ia = ln(ci), Sl = ln(ol), Vi = (e) => (n) => hs(n) && Le(n) === e, Gr = (e, n, r) => {
|
|
9386
9386
|
if (F(r) || Fe(r) || Dt(r))
|
|
9387
9387
|
e.setAttribute(n, r + "");
|
|
9388
9388
|
else
|
|
@@ -9500,7 +9500,7 @@ var OMe = [
|
|
|
9500
9500
|
if (n == null)
|
|
9501
9501
|
throw new Error("Head is not available yet");
|
|
9502
9502
|
return ot.fromDom(n);
|
|
9503
|
-
}, lg = (e) =>
|
|
9503
|
+
}, lg = (e) => Sl(e) && De(e.dom.host), xu = (e) => ot.fromDom(e.dom.getRootNode()), Rf = (e) => lg(e) ? e : w1(fd(e)), C1 = (e) => lg(e) ? e : ot.fromDom(fd(e).dom.body), ap = (e) => {
|
|
9504
9504
|
const n = xu(e);
|
|
9505
9505
|
return lg(n) ? ne.some(n) : ne.none();
|
|
9506
9506
|
}, S1 = (e) => ot.fromDom(e.dom.host), x1 = (e) => {
|
|
@@ -9585,7 +9585,7 @@ var OMe = [
|
|
|
9585
9585
|
}, fc = (e, n) => {
|
|
9586
9586
|
const r = e.dom;
|
|
9587
9587
|
lp(r, n), Oa(va(e, "style").map(Bs), "") && ur(e, "style");
|
|
9588
|
-
},
|
|
9588
|
+
}, Ci = (e) => e.dom.offsetWidth, xl = (e, n) => {
|
|
9589
9589
|
rl(e).each((l) => {
|
|
9590
9590
|
l.dom.insertBefore(n.dom, e.dom);
|
|
9591
9591
|
});
|
|
@@ -9595,7 +9595,7 @@ var OMe = [
|
|
|
9595
9595
|
qr(d, n);
|
|
9596
9596
|
});
|
|
9597
9597
|
}, (l) => {
|
|
9598
|
-
|
|
9598
|
+
xl(l, n);
|
|
9599
9599
|
});
|
|
9600
9600
|
}, cp = (e, n) => {
|
|
9601
9601
|
Yc(e).fold(() => {
|
|
@@ -9606,7 +9606,7 @@ var OMe = [
|
|
|
9606
9606
|
}, qr = (e, n) => {
|
|
9607
9607
|
e.dom.appendChild(n.dom);
|
|
9608
9608
|
}, up = (e, n) => {
|
|
9609
|
-
|
|
9609
|
+
xl(e, n), qr(n, e);
|
|
9610
9610
|
}, ja = (e, n) => {
|
|
9611
9611
|
K(n, (r, l) => {
|
|
9612
9612
|
const d = l === 0 ? e : n[l - 1];
|
|
@@ -9798,7 +9798,7 @@ var OMe = [
|
|
|
9798
9798
|
}, pm = (e) => (n) => eo(n) && n.hasAttribute(e), pg = (e) => eo(e) && e.hasAttribute("data-mce-bogus"), uh = (e) => eo(e) && e.getAttribute("data-mce-bogus") === "all", yd = (e) => eo(e) && e.tagName === "TABLE", Oy = (e) => (n) => !!(Kc(n) && (n.contentEditable === e || n.getAttribute("data-mce-contenteditable") === e)), Ea = ju([
|
|
9799
9799
|
"textarea",
|
|
9800
9800
|
"input"
|
|
9801
|
-
]), $n = Wd(3), Xl = Wd(4), wd = Wd(7),
|
|
9801
|
+
]), $n = Wd(3), Xl = Wd(4), wd = Wd(7), Si = Wd(8), mp = Wd(9), xi = Wd(11), Xs = gg("br"), O1 = gg("img"), un = Oy("true"), Js = Oy("false"), Cb = (e) => Kc(e) && e.isContentEditable && De(e.parentElement) && !e.parentElement.isContentEditable, Ja = ju([
|
|
9802
9802
|
"td",
|
|
9803
9803
|
"th"
|
|
9804
9804
|
]), Tu = ju([
|
|
@@ -9836,7 +9836,7 @@ var OMe = [
|
|
|
9836
9836
|
continue;
|
|
9837
9837
|
}
|
|
9838
9838
|
}
|
|
9839
|
-
if (
|
|
9839
|
+
if (Si(d)) {
|
|
9840
9840
|
d = S.next(!0);
|
|
9841
9841
|
continue;
|
|
9842
9842
|
}
|
|
@@ -9855,7 +9855,7 @@ var OMe = [
|
|
|
9855
9855
|
}), Bc = (e, n, r) => Jl(e, n, n, {
|
|
9856
9856
|
includeZwsp: gc.includeZwsp,
|
|
9857
9857
|
...r
|
|
9858
|
-
}),
|
|
9858
|
+
}), _i = (e) => {
|
|
9859
9859
|
let n = e;
|
|
9860
9860
|
return {
|
|
9861
9861
|
get: () => n,
|
|
@@ -9864,7 +9864,7 @@ var OMe = [
|
|
|
9864
9864
|
}
|
|
9865
9865
|
};
|
|
9866
9866
|
}, ua = (e) => {
|
|
9867
|
-
const n =
|
|
9867
|
+
const n = _i(ne.none()), r = () => n.get().each(e);
|
|
9868
9868
|
return {
|
|
9869
9869
|
clear: () => {
|
|
9870
9870
|
r(), n.set(ne.none());
|
|
@@ -9876,7 +9876,7 @@ var OMe = [
|
|
|
9876
9876
|
}
|
|
9877
9877
|
};
|
|
9878
9878
|
}, Jc = (e) => {
|
|
9879
|
-
const n =
|
|
9879
|
+
const n = _i(ne.none()), r = () => n.get().each((k) => clearInterval(k));
|
|
9880
9880
|
return {
|
|
9881
9881
|
clear: () => {
|
|
9882
9882
|
r(), n.set(ne.none());
|
|
@@ -10080,7 +10080,7 @@ var OMe = [
|
|
|
10080
10080
|
})(), D1 = (e) => e.nodeName.toLowerCase() === "span", gh = (e, n) => De(e) && (Bc(n, e) || n.isInline(e.nodeName.toLowerCase())), hm = (e, n, r) => {
|
|
10081
10081
|
const l = new ll(e, n).prev(!1), d = new ll(e, n).next(!1), h = lt(l) || gh(l, r), S = lt(d) || gh(d, r);
|
|
10082
10082
|
return h && S;
|
|
10083
|
-
}, Fc = (e) => D1(e) && e.getAttribute("data-mce-type") === "bookmark", qd = (e, n, r) => $n(e) && e.data.length > 0 && hm(e, n, r), kE = (e) => eo(e) ? e.childNodes.length > 0 : !1, Pl = (e) =>
|
|
10083
|
+
}, Fc = (e) => D1(e) && e.getAttribute("data-mce-type") === "bookmark", qd = (e, n, r) => $n(e) && e.data.length > 0 && hm(e, n, r), kE = (e) => eo(e) ? e.childNodes.length > 0 : !1, Pl = (e) => xi(e) || mp(e), Ny = (e, n, r, l) => {
|
|
10084
10084
|
var d;
|
|
10085
10085
|
const h = l || n;
|
|
10086
10086
|
if (eo(n) && Fc(n))
|
|
@@ -10165,12 +10165,12 @@ var OMe = [
|
|
|
10165
10165
|
return h.named && h.numeric ? l : h.named ? n ? d : hh : h.numeric ? tc : ph;
|
|
10166
10166
|
},
|
|
10167
10167
|
decode: (e) => e.replace(N1, (n, r) => r ? (r.charAt(0).toLowerCase() === "x" ? r = parseInt(r.substr(1), 16) : r = parseInt(r, 10), r > 65535 ? (r -= 65536, String.fromCharCode(55296 + (r >> 10), 56320 + (r & 1023))) : TO[r] || String.fromCharCode(r)) : Qa[n] || bg[n] || AE(n))
|
|
10168
|
-
},
|
|
10168
|
+
}, _l = (e, n) => (e = an.trim(e), e ? e.split(n || " ") : []), xb = (e) => new RegExp("^" + e.replace(/([?+*])/g, ".$1") + "$"), kO = (e) => fe(e) && e.source && Object.prototype.toString.call(e) === "[object RegExp]", AO = (e) => {
|
|
10169
10169
|
const n = (r) => _e(r) ? le(r, n) : kO(r) ? new RegExp(r.source, r.flags) : fe(r) ? Jo(r, n) : r;
|
|
10170
10170
|
return n(e);
|
|
10171
10171
|
}, mC = (e) => {
|
|
10172
10172
|
const n = /^(~)?(.+)$/;
|
|
10173
|
-
return Ft(
|
|
10173
|
+
return Ft(_l(e, ","), (r) => {
|
|
10174
10174
|
const l = n.exec(r);
|
|
10175
10175
|
if (l) {
|
|
10176
10176
|
const h = l[1] === "~" ? "span" : "div", S = l[2];
|
|
@@ -10244,16 +10244,16 @@ var OMe = [
|
|
|
10244
10244
|
children: ao(Q, be({}))
|
|
10245
10245
|
};
|
|
10246
10246
|
}, S = (D, L = "", Q = "") => {
|
|
10247
|
-
const oe =
|
|
10247
|
+
const oe = _l(Q), ie = _l(D);
|
|
10248
10248
|
let xe = ie.length;
|
|
10249
10249
|
const Pe = [
|
|
10250
10250
|
...n,
|
|
10251
|
-
...
|
|
10251
|
+
..._l(L)
|
|
10252
10252
|
];
|
|
10253
10253
|
for (; xe--; )
|
|
10254
10254
|
h(ie[xe], Pe.slice(), oe);
|
|
10255
10255
|
}, k = (D, L) => {
|
|
10256
|
-
const Q =
|
|
10256
|
+
const Q = _l(D), oe = _l(L);
|
|
10257
10257
|
let ie = Q.length;
|
|
10258
10258
|
for (; ie--; ) {
|
|
10259
10259
|
const xe = d[Q[ie]];
|
|
@@ -10261,9 +10261,9 @@ var OMe = [
|
|
|
10261
10261
|
xe.attributes[oe[Pe]] = {}, xe.attributesOrder.push(oe[Pe]);
|
|
10262
10262
|
}
|
|
10263
10263
|
};
|
|
10264
|
-
return e !== "html5-strict" && (K(
|
|
10264
|
+
return e !== "html5-strict" && (K(_l("acronym applet basefont big font strike tt"), (Q) => {
|
|
10265
10265
|
S(Q, "", r);
|
|
10266
|
-
}), K(
|
|
10266
|
+
}), K(_l("center dir isindex noframes"), (Q) => {
|
|
10267
10267
|
S(Q, "", l);
|
|
10268
10268
|
})), S("html", "manifest", "head body"), S("head", "", "base command link meta noscript script style title"), S("title hr noscript br"), S("base", "href target"), S("link", "href rel media hreflang type sizes hreflang"), S("meta", "name http-equiv content charset"), S("style", "media type scoped"), S("script", "src async defer type charset"), S("body", "onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload", l), S("dd div", "", l), S("address dt caption", "", e === "html4" ? r : l), S("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", "", r), S("blockquote", "cite", l), S("ol", "reversed start type", "li"), S("ul", "", "li"), S("li", "value", l), S("dl", "", "dt dd"), S("a", "href target rel media hreflang type", e === "html4" ? r : l), S("q", "cite", r), S("ins del", "cite datetime", l), S("img", "src sizes srcset alt usemap ismap width height"), S("iframe", "src name width height", l), S("embed", "src type width height"), S("object", "data type typemustmatch name usemap form width height", [
|
|
10269
10269
|
l,
|
|
@@ -10303,7 +10303,7 @@ var OMe = [
|
|
|
10303
10303
|
d.audio
|
|
10304
10304
|
], (D) => {
|
|
10305
10305
|
delete D.children.audio, delete D.children.video;
|
|
10306
|
-
}), K(
|
|
10306
|
+
}), K(_l("a form meter progress dfn"), (D) => {
|
|
10307
10307
|
d[D] && delete d[D].children[D];
|
|
10308
10308
|
}), delete d.caption.children.table, delete d.script, d;
|
|
10309
10309
|
}, R1 = (e) => e === "-" ? "remove" : "add", yg = (e) => {
|
|
@@ -10314,10 +10314,10 @@ var OMe = [
|
|
|
10314
10314
|
}));
|
|
10315
10315
|
}, wp = (e) => {
|
|
10316
10316
|
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]+)\[([^\]]+)]$/;
|
|
10317
|
-
return Ft(
|
|
10317
|
+
return Ft(_l(e, ","), (r) => {
|
|
10318
10318
|
const l = n.exec(r);
|
|
10319
10319
|
if (l) {
|
|
10320
|
-
const d = l[1], h = d ? R1(d) : "replace", S = l[2], k = Ft(
|
|
10320
|
+
const d = l[1], h = d ? R1(d) : "replace", S = l[2], k = Ft(_l(l[3], "|"), (D) => yg(D).toArray());
|
|
10321
10321
|
return [{
|
|
10322
10322
|
operation: h,
|
|
10323
10323
|
name: S,
|
|
@@ -10328,7 +10328,7 @@ var OMe = [
|
|
|
10328
10328
|
});
|
|
10329
10329
|
}, Eb = (e, n) => {
|
|
10330
10330
|
const r = /^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/, l = /[*?+]/, { attributes: d, attributesOrder: h } = n;
|
|
10331
|
-
return K(
|
|
10331
|
+
return K(_l(e, "|"), (S) => {
|
|
10332
10332
|
const k = r.exec(S);
|
|
10333
10333
|
if (k) {
|
|
10334
10334
|
const D = {}, L = k[1], Q = k[2].replace(/[\\:]:/g, ":"), oe = k[3], ie = k[4];
|
|
@@ -10355,7 +10355,7 @@ var OMe = [
|
|
|
10355
10355
|
}), n.attributesOrder.push(...e.attributesOrder);
|
|
10356
10356
|
}, Ry = (e, n) => {
|
|
10357
10357
|
const r = /^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;
|
|
10358
|
-
return Ft(
|
|
10358
|
+
return Ft(_l(n, ","), (l) => {
|
|
10359
10359
|
const d = r.exec(l);
|
|
10360
10360
|
if (d) {
|
|
10361
10361
|
const h = d[1], S = d[2], k = d[3], D = d[4], L = d[5], Q = {
|
|
@@ -10501,16 +10501,16 @@ var OMe = [
|
|
|
10501
10501
|
attributes: Bo.attributes,
|
|
10502
10502
|
attributesOrder: Bo.attributesOrder
|
|
10503
10503
|
}, l[qs] = Bo.children;
|
|
10504
|
-
}), Lc(
|
|
10505
|
-
const qs =
|
|
10504
|
+
}), Lc(_l("strong/b em/i"), (Bo) => {
|
|
10505
|
+
const qs = _l(Bo, "/");
|
|
10506
10506
|
r[qs[1]].outputName = qs[0];
|
|
10507
10507
|
}), Lc(Zn, (Bo, qs) => {
|
|
10508
10508
|
r[qs] && (e.padd_empty_block_inline_children && (r[qs].paddInEmptyBlock = !0), r[qs].removeEmpty = !0);
|
|
10509
|
-
}), Lc(
|
|
10509
|
+
}), Lc(_l("ol ul blockquote a table tbody"), (Bo) => {
|
|
10510
10510
|
r[Bo] && (r[Bo].removeEmpty = !0);
|
|
10511
|
-
}), Lc(
|
|
10511
|
+
}), Lc(_l("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"), (Bo) => {
|
|
10512
10512
|
r[Bo] && (r[Bo].paddEmpty = !0);
|
|
10513
|
-
}), Lc(
|
|
10513
|
+
}), Lc(_l("span"), (Bo) => {
|
|
10514
10514
|
r[Bo].removeEmptyAttrs = !0;
|
|
10515
10515
|
})), delete r.svg, $s(e.custom_elements), dr(e.valid_children), xn(e.extended_valid_elements), dr("+ol[ul|ol],+ul[ul|ol]"), Lc({
|
|
10516
10516
|
dd: "dl",
|
|
@@ -10526,11 +10526,11 @@ var OMe = [
|
|
|
10526
10526
|
area: "map",
|
|
10527
10527
|
param: "video audio object"
|
|
10528
10528
|
}, (Bo, qs) => {
|
|
10529
|
-
r[qs] && (r[qs].parentsRequired =
|
|
10529
|
+
r[qs] && (r[qs].parentsRequired = _l(Bo));
|
|
10530
10530
|
}), e.invalid_elements && Lc(Py(e.invalid_elements), (Bo) => {
|
|
10531
10531
|
r[Bo] && delete r[Bo];
|
|
10532
10532
|
}), kr("span") || xn("span[!data-mce-type|*]");
|
|
10533
|
-
},
|
|
10533
|
+
}, Al = be(Q), Ol = be(oe), Kn = be(ie), Mo = be(Ue), lr = be(Hn), co = be(yn), Sn = be(Zn), oo = be(Object.seal(ke)), ts = be(Pe), Fr = be(St), Hs = be(Mt), jl = be(xe), sd = be(on), jm = be(Kt), Pu = be(Object.seal(S)), om = (Bo, qs) => {
|
|
10534
10534
|
const ti = l[Bo.toLowerCase()];
|
|
10535
10535
|
return !!(ti && ti[qs.toLowerCase()]);
|
|
10536
10536
|
}, Rd = (Bo, qs) => {
|
|
@@ -10554,10 +10554,10 @@ var OMe = [
|
|
|
10554
10554
|
type: D,
|
|
10555
10555
|
children: l,
|
|
10556
10556
|
elements: r,
|
|
10557
|
-
getValidStyles:
|
|
10557
|
+
getValidStyles: Al,
|
|
10558
10558
|
getValidClasses: Kn,
|
|
10559
10559
|
getBlockElements: lr,
|
|
10560
|
-
getInvalidStyles:
|
|
10560
|
+
getInvalidStyles: Ol,
|
|
10561
10561
|
getVoidElements: oo,
|
|
10562
10562
|
getTextBlockElements: co,
|
|
10563
10563
|
getTextInlineElements: Sn,
|
|
@@ -10752,7 +10752,7 @@ var OMe = [
|
|
|
10752
10752
|
const k = window, D = (ie) => {
|
|
10753
10753
|
h.executeHandlers(yh(ie || k.event), L);
|
|
10754
10754
|
};
|
|
10755
|
-
if (!n || $n(n) ||
|
|
10755
|
+
if (!n || $n(n) || Si(n))
|
|
10756
10756
|
return l;
|
|
10757
10757
|
let L;
|
|
10758
10758
|
n[h.expando] ? L = n[h.expando] : (L = h.count++, n[h.expando] = L, h.events[L] = {}), d = d || n;
|
|
@@ -10778,7 +10778,7 @@ var OMe = [
|
|
|
10778
10778
|
return n = S = null, l;
|
|
10779
10779
|
}
|
|
10780
10780
|
unbind(n, r, l) {
|
|
10781
|
-
if (!n || $n(n) ||
|
|
10781
|
+
if (!n || $n(n) || Si(n))
|
|
10782
10782
|
return this;
|
|
10783
10783
|
const d = n[this.expando];
|
|
10784
10784
|
if (d) {
|
|
@@ -10820,7 +10820,7 @@ var OMe = [
|
|
|
10820
10820
|
return this.dispatch(n, r, l);
|
|
10821
10821
|
}
|
|
10822
10822
|
dispatch(n, r, l) {
|
|
10823
|
-
if (!n || $n(n) ||
|
|
10823
|
+
if (!n || $n(n) || Si(n))
|
|
10824
10824
|
return this;
|
|
10825
10825
|
const d = yh({
|
|
10826
10826
|
type: r,
|
|
@@ -10833,7 +10833,7 @@ var OMe = [
|
|
|
10833
10833
|
return this;
|
|
10834
10834
|
}
|
|
10835
10835
|
clean(n) {
|
|
10836
|
-
if (!n || $n(n) ||
|
|
10836
|
+
if (!n || $n(n) || Si(n))
|
|
10837
10837
|
return this;
|
|
10838
10838
|
if (n[this.expando] && this.unbind(n), n.getElementsByTagName || (n = n.document), n && n.getElementsByTagName) {
|
|
10839
10839
|
this.unbind(n);
|
|
@@ -10997,7 +10997,7 @@ var OMe = [
|
|
|
10997
10997
|
const Wg = Wt;
|
|
10998
10998
|
Wt = (im) => Ts(im, Wg);
|
|
10999
10999
|
}
|
|
11000
|
-
for (; tr && !(tr === ni || nt(tr.nodeType) || mp(tr) ||
|
|
11000
|
+
for (; tr && !(tr === ni || nt(tr.nodeType) || mp(tr) || xi(tr)); ) {
|
|
11001
11001
|
if (!Wt || Wt(tr))
|
|
11002
11002
|
if (zn)
|
|
11003
11003
|
qo.push(tr);
|
|
@@ -11018,10 +11018,10 @@ var OMe = [
|
|
|
11018
11018
|
return qo;
|
|
11019
11019
|
}
|
|
11020
11020
|
return null;
|
|
11021
|
-
}, vi = (Lt, Wt) => kr(Lt, Wt, "nextSibling"),
|
|
11021
|
+
}, vi = (Lt, Wt) => kr(Lt, Wt, "nextSibling"), Al = (Lt, Wt) => kr(Lt, Wt, "previousSibling"), Ol = (Lt) => ce(Lt.querySelectorAll), Kn = (Lt, Wt) => {
|
|
11022
11022
|
var Gn, zn;
|
|
11023
11023
|
const qo = (zn = (Gn = ke(Wt)) !== null && Gn !== void 0 ? Gn : n.root_element) !== null && zn !== void 0 ? zn : e;
|
|
11024
|
-
return
|
|
11024
|
+
return Ol(qo) ? Ro(qo.querySelectorAll(Lt)) : [];
|
|
11025
11025
|
}, Mo = function(Lt, Wt, Gn) {
|
|
11026
11026
|
const zn = Gn ?? this;
|
|
11027
11027
|
if (_e(Lt)) {
|
|
@@ -11063,7 +11063,7 @@ var OMe = [
|
|
|
11063
11063
|
}, sd = (Lt, Wt) => Mo(Lt, (Gn) => {
|
|
11064
11064
|
const zn = ot.fromDom(Gn);
|
|
11065
11065
|
return Wt && K(Oi(zn), (qo) => {
|
|
11066
|
-
xr(qo) && qo.dom.length === 0 ? Er(qo) :
|
|
11066
|
+
xr(qo) && qo.dom.length === 0 ? Er(qo) : xl(zn, qo);
|
|
11067
11067
|
}), Er(zn), zn.dom;
|
|
11068
11068
|
}), jm = (Lt) => Mo(Lt, (Wt) => {
|
|
11069
11069
|
const Gn = Wt.attributes;
|
|
@@ -11220,7 +11220,7 @@ var OMe = [
|
|
|
11220
11220
|
getParents: $s,
|
|
11221
11221
|
get: ke,
|
|
11222
11222
|
getNext: vi,
|
|
11223
|
-
getPrev:
|
|
11223
|
+
getPrev: Al,
|
|
11224
11224
|
select: Kn,
|
|
11225
11225
|
is: Ts,
|
|
11226
11226
|
add: Sn,
|
|
@@ -11375,7 +11375,7 @@ var OMe = [
|
|
|
11375
11375
|
const Za = (e, n) => {
|
|
11376
11376
|
const r = e.indexOf(n);
|
|
11377
11377
|
return r !== -1 && e.indexOf(n, r + 1) > r;
|
|
11378
|
-
}, RE = (e) => fe(e) && yo(e, "raw"), ei = (e) => _e(e) && e.length > 1, Db = {}, nc =
|
|
11378
|
+
}, RE = (e) => fe(e) && yo(e, "raw"), ei = (e) => _e(e) && e.length > 1, Db = {}, nc = _i("en"), Sp = () => Ps(Db, nc.get()), Qc = {
|
|
11379
11379
|
getData: () => Jo(Db, (e) => ({ ...e })),
|
|
11380
11380
|
setCode: (e) => {
|
|
11381
11381
|
e && nc.set(e);
|
|
@@ -11504,7 +11504,7 @@ var OMe = [
|
|
|
11504
11504
|
}
|
|
11505
11505
|
}), d;
|
|
11506
11506
|
}, jy = (e, n) => {
|
|
11507
|
-
const r =
|
|
11507
|
+
const r = _i({}), l = () => ({
|
|
11508
11508
|
listeners: [],
|
|
11509
11509
|
previous: Fa()
|
|
11510
11510
|
}), d = (oe, ie) => {
|
|
@@ -11865,7 +11865,7 @@ var OMe = [
|
|
|
11865
11865
|
let r;
|
|
11866
11866
|
const l = e.getClientRects();
|
|
11867
11867
|
return l.length > 0 ? r = Eh(l[0]) : r = Eh(e.getBoundingClientRect()), !NC(e) && DC(e) && RC(r) ? Oh(e) : RC(r) && NC(e) && (n = JO(e)) !== null && n !== void 0 ? n : r;
|
|
11868
|
-
},
|
|
11868
|
+
}, El = (e, n) => {
|
|
11869
11869
|
const r = GE(e, n);
|
|
11870
11870
|
return r.width = 1, r.right = r.left + 1, r;
|
|
11871
11871
|
}, QO = (e) => {
|
|
@@ -11877,24 +11877,24 @@ var OMe = [
|
|
|
11877
11877
|
if (OC(S.data[k]))
|
|
11878
11878
|
return;
|
|
11879
11879
|
if (OC(S.data[k - 1]) && (D.setStart(S, k), D.setEnd(S, k + 1), !MC(D))) {
|
|
11880
|
-
r(
|
|
11880
|
+
r(El($h(D), !1));
|
|
11881
11881
|
return;
|
|
11882
11882
|
}
|
|
11883
11883
|
}
|
|
11884
|
-
k > 0 && (D.setStart(S, k - 1), D.setEnd(S, k), MC(D) || r(
|
|
11884
|
+
k > 0 && (D.setStart(S, k - 1), D.setEnd(S, k), MC(D) || r(El($h(D), !1))), k < S.data.length && (D.setStart(S, k), D.setEnd(S, k + 1), MC(D) || r(El($h(D), !0)));
|
|
11885
11885
|
}, d = e.container(), h = e.offset();
|
|
11886
11886
|
if (G1(d))
|
|
11887
11887
|
return l(d, h), n;
|
|
11888
11888
|
if (JE(d))
|
|
11889
11889
|
if (e.isAtEnd()) {
|
|
11890
11890
|
const S = _g(d, h);
|
|
11891
|
-
G1(S) && l(S, S.data.length), Ah(S) && !DC(S) && r(
|
|
11891
|
+
G1(S) && l(S, S.data.length), Ah(S) && !DC(S) && r(El($h(S), !1));
|
|
11892
11892
|
} else {
|
|
11893
11893
|
const S = _g(d, h);
|
|
11894
11894
|
if (G1(S) && l(S, 0), Ah(S) && e.isAtEnd())
|
|
11895
|
-
return r(
|
|
11895
|
+
return r(El($h(S), !1)), n;
|
|
11896
11896
|
const k = _g(e.container(), e.offset() - 1);
|
|
11897
|
-
Ah(k) && !DC(k) && (QE(k) || QE(S) || !Ah(S)) && r(
|
|
11897
|
+
Ah(k) && !DC(k) && (QE(k) || QE(S) || !Ah(S)) && r(El($h(k), !1)), Ah(S) && r(El($h(S), !0));
|
|
11898
11898
|
}
|
|
11899
11899
|
return n;
|
|
11900
11900
|
}, Qt = (e, n, r) => {
|
|
@@ -11923,7 +11923,7 @@ var OMe = [
|
|
|
11923
11923
|
const l = ne.from(r.firstChild), d = ne.from(r.lastChild);
|
|
11924
11924
|
n.insertNode(r), l.each((h) => _m(e, h.previousSibling)), d.each((h) => _m(e, h.nextSibling));
|
|
11925
11925
|
}, q1 = (e, n, r) => {
|
|
11926
|
-
|
|
11926
|
+
xi(r) ? Jy(e, n, r) : e$(e, n, r);
|
|
11927
11927
|
}, Qd = $n, tT = pg, nT = fa.nodeIndex, Qy = (e) => {
|
|
11928
11928
|
const n = e.parentNode;
|
|
11929
11929
|
return tT(n) ? Qy(n) : n;
|
|
@@ -12367,9 +12367,9 @@ Required: ` + n.join(", "));
|
|
|
12367
12367
|
e.dispatch("AutocompleterUpdate", n);
|
|
12368
12368
|
}, gi = (e, n) => {
|
|
12369
12369
|
e.dispatch("AutocompleterUpdateActiveRange", n);
|
|
12370
|
-
},
|
|
12370
|
+
}, Ei = (e) => {
|
|
12371
12371
|
e.dispatch("AutocompleterEnd");
|
|
12372
|
-
},
|
|
12372
|
+
}, Tl = (e, n, r) => e.dispatch("PastePreProcess", {
|
|
12373
12373
|
content: n,
|
|
12374
12374
|
internal: r
|
|
12375
12375
|
}), pi = (e, n, r) => e.dispatch("PastePostProcess", {
|
|
@@ -13239,7 +13239,7 @@ Required: ` + n.join(", "));
|
|
|
13239
13239
|
}, Fp = (e, n, r) => Xu(e, n, r).bind((l) => tf(r, l, n) && Fh(e, r, l) ? Xu(e, n, l) : ne.some(l)), jf = (e, n, r, l) => Fp(e, n, r).bind((d) => l(d) ? jf(e, n, d, l) : ne.some(d)), of = (e, n) => {
|
|
13240
13240
|
const r = e ? n.firstChild : n.lastChild;
|
|
13241
13241
|
return $n(r) ? ne.some(Qt(r, e ? 0 : r.data.length)) : r ? Hc(r) ? ne.some(e ? Qt.before(r) : Aw(r)) : ok(e, n, r) : ne.none();
|
|
13242
|
-
}, Hl = pe(Xu, !0),
|
|
13242
|
+
}, Hl = pe(Xu, !0), kl = pe(Xu, !1), Ni = pe(of, !0), sf = pe(of, !1), Ow = "_mce_caret", Ju = (e) => eo(e) && e.id === Ow, Lh = (e, n) => {
|
|
13243
13243
|
let r = n;
|
|
13244
13244
|
for (; r && r !== e; ) {
|
|
13245
13245
|
if (Ju(r))
|
|
@@ -14015,7 +14015,7 @@ Required: ` + n.join(", "));
|
|
|
14015
14015
|
}, kr = (Sn) => {
|
|
14016
14016
|
Mo();
|
|
14017
14017
|
const oo = r.getPos(Sn, h), ts = oo.x, Fr = oo.y, Hs = Sn.getBoundingClientRect(), jl = Hs.width || Hs.right - Hs.left, sd = Hs.height || Hs.bottom - Hs.top;
|
|
14018
|
-
S !== Sn && (
|
|
14018
|
+
S !== Sn && (Al(), S = Sn, it = St = 0);
|
|
14019
14019
|
const jm = n.dispatch("ObjectSelected", { target: Sn });
|
|
14020
14020
|
xn(Sn) && !jm.isDefaultPrevented() ? bn(zr, (Pu, om) => {
|
|
14021
14021
|
const Rd = (cu) => {
|
|
@@ -14054,27 +14054,27 @@ Required: ` + n.join(", "));
|
|
|
14054
14054
|
left: jl * Pu[0] + ts - lu.offsetWidth / 2,
|
|
14055
14055
|
top: sd * Pu[1] + Fr - lu.offsetHeight / 2
|
|
14056
14056
|
});
|
|
14057
|
-
}) :
|
|
14058
|
-
}, vi = F1(kr, 0),
|
|
14057
|
+
}) : Al(!1);
|
|
14058
|
+
}, vi = F1(kr, 0), Al = (Sn = !0) => {
|
|
14059
14059
|
vi.cancel(), Mo(), S && Sn && S.removeAttribute(io), bn(zr, (oo, ts) => {
|
|
14060
14060
|
const Fr = r.get("mceResizeHandle" + ts);
|
|
14061
14061
|
Fr && (r.unbind(Fr), r.remove(Fr));
|
|
14062
14062
|
});
|
|
14063
|
-
},
|
|
14063
|
+
}, Ol = (Sn, oo) => r.isChildOf(Sn, oo), Kn = (Sn) => {
|
|
14064
14064
|
if (Ue || n.removed || n.composing)
|
|
14065
14065
|
return;
|
|
14066
14066
|
const oo = Sn.type === "mousedown" ? Sn.target : e.getNode(), ts = _o(ot.fromDom(oo), vr).map((Hs) => Hs.dom).filter((Hs) => r.isEditable(Hs.parentElement) || Hs.nodeName === "IMG" && r.isEditable(Hs)).getOrUndefined(), Fr = De(ts) ? r.getAttrib(ts, io, "1") : "1";
|
|
14067
14067
|
if (K(r.select(`img[${io}],hr[${io}]`), (Hs) => {
|
|
14068
14068
|
Hs.removeAttribute(io);
|
|
14069
|
-
}), De(ts) &&
|
|
14069
|
+
}), De(ts) && Ol(ts, h) && Ln(n)) {
|
|
14070
14070
|
lr();
|
|
14071
14071
|
const Hs = e.getStart(!0);
|
|
14072
|
-
if (
|
|
14072
|
+
if (Ol(Hs, ts) && Ol(e.getEnd(!0), ts)) {
|
|
14073
14073
|
r.setAttrib(ts, io, Fr), vi.throttle(ts);
|
|
14074
14074
|
return;
|
|
14075
14075
|
}
|
|
14076
14076
|
}
|
|
14077
|
-
|
|
14077
|
+
Al();
|
|
14078
14078
|
}, Mo = () => {
|
|
14079
14079
|
bn(zr, (Sn) => {
|
|
14080
14080
|
Sn.elm && (r.unbind(Sn.elm), delete Sn.elm);
|
|
@@ -14088,11 +14088,11 @@ Required: ` + n.join(", "));
|
|
|
14088
14088
|
return n.on("init", () => {
|
|
14089
14089
|
lr(), n.on("NodeChange ResizeEditor ResizeWindow ResizeContent drop", Kn), n.on("keyup compositionend", (Sn) => {
|
|
14090
14090
|
S && S.nodeName === "TABLE" && Kn(Sn);
|
|
14091
|
-
}), n.on("hide blur",
|
|
14091
|
+
}), n.on("hide blur", Al), n.on("contextmenu longpress", on, !0);
|
|
14092
14092
|
}), n.on("remove", Mo), {
|
|
14093
14093
|
isResizable: xn,
|
|
14094
14094
|
showResizeRect: kr,
|
|
14095
|
-
hideResizeRect:
|
|
14095
|
+
hideResizeRect: Al,
|
|
14096
14096
|
updateResizeRect: Kn,
|
|
14097
14097
|
destroy: () => {
|
|
14098
14098
|
vi.cancel(), S = k = Q = null;
|
|
@@ -14255,7 +14255,7 @@ Required: ` + n.join(", "));
|
|
|
14255
14255
|
return ne.none();
|
|
14256
14256
|
D = L;
|
|
14257
14257
|
}
|
|
14258
|
-
return
|
|
14258
|
+
return Si(D) ? ne.none() : r && D ? ne.some(Qt(D, 0)) : ne.none();
|
|
14259
14259
|
}, iP = (e, n, r, l) => {
|
|
14260
14260
|
const d = e.getRoot();
|
|
14261
14261
|
let h, S = !1, k = r ? l.startContainer : l.endContainer, D = r ? l.startOffset : l.endOffset;
|
|
@@ -14437,7 +14437,7 @@ Required: ` + n.join(", "));
|
|
|
14437
14437
|
};
|
|
14438
14438
|
}, mP = (e, n) => {
|
|
14439
14439
|
const r = dP(e, n), l = ot.fromHtml('<span data-mce-bogus="all" style="display: inline-block;">' + ji + "</span>");
|
|
14440
|
-
return
|
|
14440
|
+
return xl(r.element, l), fP(l, () => Er(l));
|
|
14441
14441
|
}, gP = (e) => fP(ot.fromDom(e), Oe), pP = (e, n, r, l) => {
|
|
14442
14442
|
sW(e, (d, h) => oW(e, n, r, l), r);
|
|
14443
14443
|
}, hP = (e, n, r, l, d) => {
|
|
@@ -14451,7 +14451,7 @@ Required: ` + n.join(", "));
|
|
|
14451
14451
|
r(e, n, S, l, d), Fk(e, h);
|
|
14452
14452
|
}, oW = (e, n, r, l) => {
|
|
14453
14453
|
const d = ot.fromDom(e.getBody()), h = ot.fromDom(e.getDoc());
|
|
14454
|
-
|
|
14454
|
+
Ci(d);
|
|
14455
14455
|
const S = mP(ot.fromDom(r.startContainer), r.startOffset);
|
|
14456
14456
|
hP(e, h, n, S, l), S.cleanup();
|
|
14457
14457
|
}, vP = (e, n, r, l) => {
|
|
@@ -14728,7 +14728,7 @@ Required: ` + n.join(", "));
|
|
|
14728
14728
|
}, BP = (e) => {
|
|
14729
14729
|
const n = il(e, "[data-mce-bogus]");
|
|
14730
14730
|
K(n, (r) => {
|
|
14731
|
-
Ai(r, "data-mce-bogus") === "all" ? Er(r) : Da(r) ? (
|
|
14731
|
+
Ai(r, "data-mce-bogus") === "all" ? Er(r) : Da(r) ? (xl(r, ot.fromText(k1)), Er(r)) : _u(r);
|
|
14732
14732
|
});
|
|
14733
14733
|
}, FP = (e) => {
|
|
14734
14734
|
const n = il(e, "input");
|
|
@@ -14978,14 +14978,14 @@ Required: ` + n.join(", "));
|
|
|
14978
14978
|
}, Xo = (e, n, r) => _w(n).exists(Da) || jk(!0, e, n, r).isSome(), Wk = (e, n, r) => P$(n).exists(Da) || jk(!1, e, n, r).isSome(), e8 = pe(jk, !1), kW = pe(jk, !0), Yw = (e) => Qt.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), y5 = (e, n, r) => {
|
|
14979
14979
|
const l = Be(Gh(ot.fromDom(n.container()), e), (d) => r.isBlock(Le(d)));
|
|
14980
14980
|
return mn(l).getOr(e);
|
|
14981
|
-
}, t8 = (e, n, r) => Yw(n) ? p5(n) : p5(n) ||
|
|
14981
|
+
}, t8 = (e, n, r) => Yw(n) ? p5(n) : p5(n) || kl(y5(e, n, r).dom, n).exists(p5), n8 = (e, n, r) => Yw(n) ? g5(n) : g5(n) || Hl(y5(e, n, r).dom, n).exists(g5), AW = (e) => ee([
|
|
14982
14982
|
"pre",
|
|
14983
14983
|
"pre-wrap"
|
|
14984
|
-
], e), Zk = (e) => _w(e).bind((n) => ta(n, hs)).exists((n) => AW(Pa(n, "white-space"))), OW = (e, n) =>
|
|
14984
|
+
], e), Zk = (e) => _w(e).bind((n) => ta(n, hs)).exists((n) => AW(Pa(n, "white-space"))), OW = (e, n) => kl(e.dom, n).isNone(), ure = (e, n) => Hl(e.dom, n).isNone(), dre = (e, n, r) => OW(e, n) || ure(e, n) || JP(e, n, r) || QP(e, n, r) || Wk(e, n, r) || Xo(e, n, r), $W = (e) => De(e) && Js(e) && YT(e), o8 = (e, n) => (r) => $W(new ll(r, e)[n]()), DW = (e, n) => {
|
|
14985
14985
|
const r = Hl(e.dom, n).getOr(n), l = o8(e.dom, "next");
|
|
14986
14986
|
return n.isAtEnd() && (l(n.container()) || l(r.container()));
|
|
14987
14987
|
}, NW = (e, n) => {
|
|
14988
|
-
const r =
|
|
14988
|
+
const r = kl(e.dom, n).getOr(n), l = o8(e.dom, "prev");
|
|
14989
14989
|
return n.isAtStart() && (l(n.container()) || l(r.container()));
|
|
14990
14990
|
}, w5 = (e, n, r) => Zk(n) ? !1 : dre(e, n, r) || t8(e, n, r) || n8(e, n, r), ox = (e, n, r) => Zk(n) ? !1 : JP(e, n, r) || lre(e, n, r) || Wk(e, n, r) || t8(e, n, r) || NW(e, n), Es = (e) => {
|
|
14991
14991
|
const n = e.container(), r = e.offset();
|
|
@@ -15028,7 +15028,7 @@ Required: ` + n.join(", "));
|
|
|
15028
15028
|
const d = ot.fromDom(e), h = Vu(d, (L) => l.isBlock(Le(L))).getOr(d), S = e.data.slice(n, n + r), k = n + r >= e.data.length && Kw(h, Qt(e, e.data.length), l), D = n === 0 && ox(h, Qt(e, 0), l);
|
|
15029
15029
|
e.replaceData(n, r, Uu(S, 4, D, k));
|
|
15030
15030
|
}, Gk = (e, n, r) => {
|
|
15031
|
-
const l = e.data.slice(n), d = l.length -
|
|
15031
|
+
const l = e.data.slice(n), d = l.length - yi(l).length;
|
|
15032
15032
|
a8(e, n, d, r);
|
|
15033
15033
|
}, E5 = (e, n, r) => {
|
|
15034
15034
|
const l = e.data.slice(0, n), d = l.length - ya(l).length;
|
|
@@ -15039,7 +15039,7 @@ Required: ` + n.join(", "));
|
|
|
15039
15039
|
}, PW = (e, n) => {
|
|
15040
15040
|
const r = e.container(), l = e.offset();
|
|
15041
15041
|
return !Qt.isTextPosition(e) && r === n.parentNode && l > Qt.before(n).offset();
|
|
15042
|
-
}, BW = (e, n) => PW(n, e) ? Qt(n.container(), n.offset() - 1) : n, k5 = (e) => $n(e) ? Qt(e, 0) : Qt.before(e), A5 = (e) => $n(e) ? Qt(e, e.data.length) : Qt.after(e), i8 = (e) => Hc(e.previousSibling) ? ne.some(A5(e.previousSibling)) : e.previousSibling ? sf(e.previousSibling) : ne.none(), l8 = (e) => Hc(e.nextSibling) ? ne.some(k5(e.nextSibling)) : e.nextSibling ? Ni(e.nextSibling) : ne.none(), FW = (e, n) => ne.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((r) =>
|
|
15042
|
+
}, BW = (e, n) => PW(n, e) ? Qt(n.container(), n.offset() - 1) : n, k5 = (e) => $n(e) ? Qt(e, 0) : Qt.before(e), A5 = (e) => $n(e) ? Qt(e, e.data.length) : Qt.after(e), i8 = (e) => Hc(e.previousSibling) ? ne.some(A5(e.previousSibling)) : e.previousSibling ? sf(e.previousSibling) : ne.none(), l8 = (e) => Hc(e.nextSibling) ? ne.some(k5(e.nextSibling)) : e.nextSibling ? Ni(e.nextSibling) : ne.none(), FW = (e, n) => ne.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((r) => kl(e, Qt.before(r))).orThunk(() => Hl(e, Qt.after(n))), LW = (e, n) => Hl(e, Qt.after(n)).orThunk(() => kl(e, Qt.before(n))), HW = (e, n) => i8(n).orThunk(() => l8(n)).orThunk(() => FW(e, n)), VW = (e, n) => l8(n).orThunk(() => i8(n)).orThunk(() => LW(e, n)), zW = (e, n, r) => e ? VW(n, r) : HW(n, r), UW = (e, n, r) => zW(e, n, r).map(pe(BW, r)), O5 = (e, n, r) => {
|
|
15043
15043
|
r.fold(() => {
|
|
15044
15044
|
e.focus();
|
|
15045
15045
|
}, (l) => {
|
|
@@ -15087,7 +15087,7 @@ Required: ` + n.join(", "));
|
|
|
15087
15087
|
e.dom.isEmpty(e.getBody()) && e.setContent("", { no_selection: !n });
|
|
15088
15088
|
}, lf = (e, n, r) => ca(Ni(r), sf(r), (l, d) => {
|
|
15089
15089
|
const h = Zf(!0, l), S = Zf(!1, d), k = Zf(!1, n);
|
|
15090
|
-
return e ? Hl(r, k).exists((D) => D.isEqual(S) && n.isEqual(h)) :
|
|
15090
|
+
return e ? Hl(r, k).exists((D) => D.isEqual(S) && n.isEqual(h)) : kl(r, k).exists((D) => D.isEqual(h) && n.isEqual(S));
|
|
15091
15091
|
}).getOr(!0), Jw = (e) => (Eo(e) ? gd(e) : al(e)).bind(Jw).orThunk(() => ne.some(e)), Mr = (e, n, r, l = !0) => {
|
|
15092
15092
|
var d;
|
|
15093
15093
|
n.deleteContents();
|
|
@@ -15890,7 +15890,7 @@ Required: ` + n.join(", "));
|
|
|
15890
15890
|
};
|
|
15891
15891
|
}, cD = (e, n) => {
|
|
15892
15892
|
const { caretContainer: r, caretPosition: l } = Y8(n);
|
|
15893
|
-
return
|
|
15893
|
+
return xl(ot.fromDom(e), r), Er(ot.fromDom(e)), l;
|
|
15894
15894
|
}, uD = (e, n) => {
|
|
15895
15895
|
const { caretContainer: r, caretPosition: l } = Y8(n);
|
|
15896
15896
|
return e.insertNode(r.dom), l;
|
|
@@ -15934,7 +15934,7 @@ Required: ` + n.join(", "));
|
|
|
15934
15934
|
], K8 = (e) => fe(e.styles) && ae(ko(e.styles), (n) => ee(fD, n)), cf = (e) => Rt(e, (n) => Gi(n) && n.inline === "span" && K8(n)), X8 = (e, n) => {
|
|
15935
15935
|
const r = e.get(n);
|
|
15936
15936
|
return _e(r) ? cf(r) : ne.none();
|
|
15937
|
-
}, J8 = (e, n) =>
|
|
15937
|
+
}, J8 = (e, n) => kl(n, Qt.fromRangeStart(e)).isNone(), yZ = (e, n) => Hl(n, Qt.fromRangeEnd(e)).exists((r) => !Xs(r.getNode()) || Hl(n, r).isSome()) === !1, b3 = (e) => (n) => fC(n) && e.isEditable(n), wZ = (e) => {
|
|
15938
15938
|
const n = e.getSelectedBlocks(), r = e.getRng();
|
|
15939
15939
|
if (e.isCollapsed())
|
|
15940
15940
|
return [];
|
|
@@ -16010,7 +16010,7 @@ Required: ` + n.join(", "));
|
|
|
16010
16010
|
return (d = n.parentNode) === null || d === void 0 || d.insertBefore(h, n), h.appendChild(n), h;
|
|
16011
16011
|
}, s7 = (e, n, r, l, d) => {
|
|
16012
16012
|
const h = ot.fromDom(n), S = ot.fromDom(e.create(l, d)), k = r ? ig(h) : Mc(h);
|
|
16013
|
-
return Ud(S, k), r ? (
|
|
16013
|
+
return Ud(S, k), r ? (xl(h, S), cp(S, h)) : (Rc(h, S), qr(S, h)), S.dom;
|
|
16014
16014
|
}, xZ = (e, n) => n.links && e.nodeName === "A", r7 = (e, n, r) => {
|
|
16015
16015
|
const l = n.parentNode;
|
|
16016
16016
|
let d;
|
|
@@ -16271,7 +16271,7 @@ Required: ` + n.join(", "));
|
|
|
16271
16271
|
let No = !1, Ts = St, $s = !1;
|
|
16272
16272
|
const dr = lo.parentNode, kr = dr.nodeName.toLowerCase(), vi = Pe.getContentEditable(lo);
|
|
16273
16273
|
De(vi) && (Ts = St, St = vi === "true", No = !0, $s = Mw(e, lo));
|
|
16274
|
-
const
|
|
16274
|
+
const Al = St && !No;
|
|
16275
16275
|
if (Xs(lo) && !EZ(e, h, lo, kr)) {
|
|
16276
16276
|
Kt = null, Nm(h) && Pe.remove(lo);
|
|
16277
16277
|
return;
|
|
@@ -16280,19 +16280,19 @@ Required: ` + n.join(", "));
|
|
|
16280
16280
|
Kt = null;
|
|
16281
16281
|
return;
|
|
16282
16282
|
}
|
|
16283
|
-
if (Hn(lo, kr,
|
|
16284
|
-
const
|
|
16285
|
-
L(
|
|
16283
|
+
if (Hn(lo, kr, Al)) {
|
|
16284
|
+
const Ol = Pe.rename(lo, Mt);
|
|
16285
|
+
L(Ol), it.push(Ol), Kt = null;
|
|
16286
16286
|
return;
|
|
16287
16287
|
}
|
|
16288
16288
|
if (kd(h)) {
|
|
16289
|
-
let
|
|
16290
|
-
if (!
|
|
16289
|
+
let Ol = Q(d, lo);
|
|
16290
|
+
if (!Ol && De(dr) && dv(h) && (Ol = Q(d, dr)), !Gi(h) || Ol) {
|
|
16291
16291
|
Kt = null;
|
|
16292
16292
|
return;
|
|
16293
16293
|
}
|
|
16294
16294
|
}
|
|
16295
|
-
De(zt) && Zn(lo, kr,
|
|
16295
|
+
De(zt) && Zn(lo, kr, Al, $s) ? (Kt || (Kt = Pe.clone(zt, !1), dr.insertBefore(Kt, lo), it.push(Kt)), $s && No && (St = Ts), Kt.appendChild(lo)) : (Kt = null, K(Ro(lo.childNodes), xn), No && (St = Ts), Kt = null);
|
|
16296
16296
|
};
|
|
16297
16297
|
K(on, xn);
|
|
16298
16298
|
}), h.links === !0 && K(it, (on) => {
|
|
@@ -16387,12 +16387,12 @@ Required: ` + n.join(", "));
|
|
|
16387
16387
|
const D = Ps(S, k).getOrThunk(() => {
|
|
16388
16388
|
const Q = {
|
|
16389
16389
|
withSimilar: {
|
|
16390
|
-
state:
|
|
16390
|
+
state: _i(!1),
|
|
16391
16391
|
similar: !0,
|
|
16392
16392
|
callbacks: []
|
|
16393
16393
|
},
|
|
16394
16394
|
withoutSimilar: {
|
|
16395
|
-
state:
|
|
16395
|
+
state: _i(!1),
|
|
16396
16396
|
similar: !1,
|
|
16397
16397
|
callbacks: []
|
|
16398
16398
|
},
|
|
@@ -16408,7 +16408,7 @@ Required: ` + n.join(", "));
|
|
|
16408
16408
|
Q.callbacks.push(l), Q.callbacks.length === 1 && Q.state.set(L());
|
|
16409
16409
|
} else
|
|
16410
16410
|
D.withVars.push({
|
|
16411
|
-
state:
|
|
16411
|
+
state: _i(L()),
|
|
16412
16412
|
similar: d,
|
|
16413
16413
|
vars: h,
|
|
16414
16414
|
callback: l
|
|
@@ -16484,12 +16484,12 @@ Required: ` + n.join(", "));
|
|
|
16484
16484
|
}
|
|
16485
16485
|
});
|
|
16486
16486
|
});
|
|
16487
|
-
},
|
|
16487
|
+
}, Ti = (e, n, r) => {
|
|
16488
16488
|
var l;
|
|
16489
16489
|
const d = Nr();
|
|
16490
16490
|
n.convert_fonts_to_spans && OZ(e, d, an.explode((l = n.font_size_legacy_values) !== null && l !== void 0 ? l : "")), CD(e, r, d);
|
|
16491
16491
|
}, SD = (e, n, r) => {
|
|
16492
|
-
n.inline_styles &&
|
|
16492
|
+
n.inline_styles && Ti(e, n, r);
|
|
16493
16493
|
}, xD = (e) => fetch(e).then((n) => n.ok ? n.blob() : Promise.reject()).catch(() => Promise.reject({
|
|
16494
16494
|
message: `Cannot convert ${e} to Blob. Resource might not exist or is inaccessible.`,
|
|
16495
16495
|
uriType: "blob"
|
|
@@ -16821,8 +16821,8 @@ Required: ` + n.join(", "));
|
|
|
16821
16821
|
DATA_ATTR: dr,
|
|
16822
16822
|
ARIA_ATTR: kr,
|
|
16823
16823
|
IS_SCRIPT_OR_DATA: vi,
|
|
16824
|
-
ATTR_WHITESPACE:
|
|
16825
|
-
CUSTOM_ELEMENT:
|
|
16824
|
+
ATTR_WHITESPACE: Al,
|
|
16825
|
+
CUSTOM_ELEMENT: Ol
|
|
16826
16826
|
} = B7;
|
|
16827
16827
|
let {
|
|
16828
16828
|
IS_ALLOWED_URI: Kn
|
|
@@ -17007,9 +17007,9 @@ Required: ` + n.join(", "));
|
|
|
17007
17007
|
Io === "is" && oo.allowCustomizedBuiltInElements && (oo.tagNameCheck instanceof RegExp && Nd(oo.tagNameCheck, _s) || oo.tagNameCheck instanceof Function && oo.tagNameCheck(_s)))
|
|
17008
17008
|
) return !1;
|
|
17009
17009
|
} else if (!Wm[Io]) {
|
|
17010
|
-
if (!Nd(Kn, kx(_s,
|
|
17010
|
+
if (!Nd(Kn, kx(_s, Al, ""))) {
|
|
17011
17011
|
if (!((Io === "src" || Io === "xlink:href" || Io === "href") && Zt !== "script" && IZ(_s, "data:") === 0 && rm[Zt])) {
|
|
17012
|
-
if (!(sd && !Nd(vi, kx(_s,
|
|
17012
|
+
if (!(sd && !Nd(vi, kx(_s, Al, "")))) {
|
|
17013
17013
|
if (_s)
|
|
17014
17014
|
return !1;
|
|
17015
17015
|
}
|
|
@@ -17020,7 +17020,7 @@ Required: ` + n.join(", "));
|
|
|
17020
17020
|
}
|
|
17021
17021
|
return !0;
|
|
17022
17022
|
}, hR = function(Zt) {
|
|
17023
|
-
return Zt !== "annotation-xml" && O7(Zt,
|
|
17023
|
+
return Zt !== "annotation-xml" && O7(Zt, Ol);
|
|
17024
17024
|
}, vz = function(Zt) {
|
|
17025
17025
|
Zg(lo.beforeSanitizeAttributes, Zt, null);
|
|
17026
17026
|
const {
|
|
@@ -17469,7 +17469,7 @@ Required: ` + n.join(", "));
|
|
|
17469
17469
|
Q.attr(Pe.name, Pe.value);
|
|
17470
17470
|
}
|
|
17471
17471
|
hg(Q.name) && (l(L), Q.value = L.innerHTML);
|
|
17472
|
-
} else $n(L) ? (Q.value = L.data, h && (Q.raw = !0)) : (
|
|
17472
|
+
} else $n(L) ? (Q.value = L.data, h && (Q.raw = !0)) : (Si(L) || Xl(L) || wd(L)) && (Q.value = L.data);
|
|
17473
17473
|
hg(Q.name) || HD(Q, L, r, l), e.append(Q);
|
|
17474
17474
|
}
|
|
17475
17475
|
}, XZ = (e, n, r) => {
|
|
@@ -17585,9 +17585,9 @@ Required: ` + n.join(", "));
|
|
|
17585
17585
|
if (zt.context) {
|
|
17586
17586
|
const {
|
|
17587
17587
|
pass: vi,
|
|
17588
|
-
fail:
|
|
17589
|
-
} = Me(No, (
|
|
17590
|
-
ir(
|
|
17588
|
+
fail: Al
|
|
17589
|
+
} = Me(No, (Ol) => Ol.parent === Kt);
|
|
17590
|
+
ir(Al, n, Kt, dr), zt.invalid = vi.length > 0;
|
|
17591
17591
|
} else
|
|
17592
17592
|
ir(No, n, Kt, dr);
|
|
17593
17593
|
const kr = z7(d, zt);
|
|
@@ -17829,7 +17829,7 @@ Required: ` + n.join(", "));
|
|
|
17829
17829
|
return null;
|
|
17830
17830
|
}, L = [];
|
|
17831
17831
|
return S(0, e.length, 0, n.length, L), L;
|
|
17832
|
-
}, aB = (e) => eo(e) ? e.outerHTML : $n(e) ? wm.encodeRaw(e.data, !1) :
|
|
17832
|
+
}, aB = (e) => eo(e) ? e.outerHTML : $n(e) ? wm.encodeRaw(e.data, !1) : Si(e) ? "<!--" + e.data + "-->" : "", uG = (e) => {
|
|
17833
17833
|
let n;
|
|
17834
17834
|
const r = document.createElement("div"), l = document.createDocumentFragment();
|
|
17835
17835
|
for (e && (r.innerHTML = e); n = r.firstChild; )
|
|
@@ -18191,7 +18191,7 @@ Required: ` + n.join(", "));
|
|
|
18191
18191
|
const { selectorChangedWithUnbind: S } = VG(e, l), k = (Kn, Mo) => {
|
|
18192
18192
|
const lr = e.createRng();
|
|
18193
18193
|
De(Kn) && De(Mo) ? (lr.setStart(Kn, Mo), lr.setEnd(Kn, Mo), zt(lr), it(!1)) : (ES(e, lr, l.getBody(), !0), zt(lr));
|
|
18194
|
-
}, D = (Kn) => PG(l, Kn), L = (Kn, Mo) => Ere(l, Kn, Mo), Q = (Kn) => xP(l.getBody(), Mt(), Kn), oe = (Kn) => _P(l.getBody(), Mt(), Kn), ie = (Kn, Mo) =>
|
|
18194
|
+
}, D = (Kn) => PG(l, Kn), L = (Kn, Mo) => Ere(l, Kn, Mo), Q = (Kn) => xP(l.getBody(), Mt(), Kn), oe = (Kn) => _P(l.getBody(), Mt(), Kn), ie = (Kn, Mo) => Al.getBookmark(Kn, Mo), xe = (Kn) => Al.moveToBookmark(Kn), Pe = (Kn, Mo) => (kP(e, Kn, Mo).each(zt), Kn), ke = () => {
|
|
18195
18195
|
const Kn = Mt(), Mo = St();
|
|
18196
18196
|
return !Kn || Kn.item ? !1 : Kn.compareEndPoints ? Kn.compareEndPoints("StartToEnd", Kn) === 0 : !Mo || Kn.collapsed;
|
|
18197
18197
|
}, Ue = () => {
|
|
@@ -18316,10 +18316,10 @@ Required: ` + n.join(", "));
|
|
|
18316
18316
|
return Kn.collapsed ? Qt.fromRangeStart(Kn).getClientRects()[0] : Kn.getBoundingClientRect();
|
|
18317
18317
|
},
|
|
18318
18318
|
destroy: () => {
|
|
18319
|
-
n = d = h = null,
|
|
18319
|
+
n = d = h = null, Ol.destroy();
|
|
18320
18320
|
}
|
|
18321
|
-
},
|
|
18322
|
-
return vi.bookmarkManager =
|
|
18321
|
+
}, Al = Wf(vi), Ol = Up(vi, l);
|
|
18322
|
+
return vi.bookmarkManager = Al, vi.controlSelection = Ol, vi;
|
|
18323
18323
|
}, UG = (e, n, r) => {
|
|
18324
18324
|
n.addNodeFilter("br", (l, d, h) => {
|
|
18325
18325
|
const S = an.extend({}, r.getBlockElements()), k = r.getNonEmptyElements(), D = r.getWhitespaceElements();
|
|
@@ -19655,7 +19655,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
19655
19655
|
"address"
|
|
19656
19656
|
]);
|
|
19657
19657
|
}, o1 = (e) => {
|
|
19658
|
-
const n = Pre(e), r =
|
|
19658
|
+
const n = Pre(e), r = _i({});
|
|
19659
19659
|
return $q(e), Gf(e), Jf(e) || h7(r, e), {
|
|
19660
19660
|
get: n.get,
|
|
19661
19661
|
has: n.has,
|
|
@@ -19688,7 +19688,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
19688
19688
|
return !1;
|
|
19689
19689
|
}
|
|
19690
19690
|
}, Dq = (e, n, r) => {
|
|
19691
|
-
const l =
|
|
19691
|
+
const l = _i(!1), d = (D) => {
|
|
19692
19692
|
Px(n, !1, r), n.add({}, D);
|
|
19693
19693
|
};
|
|
19694
19694
|
e.on("init", () => {
|
|
@@ -19733,7 +19733,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
19733
19733
|
}, Nq = (e) => {
|
|
19734
19734
|
e.addShortcut("meta+z", "", "Undo"), e.addShortcut("meta+y,meta+shift+z", "", "Redo");
|
|
19735
19735
|
}, iF = (e) => {
|
|
19736
|
-
const n = Fa(), r =
|
|
19736
|
+
const n = Fa(), r = _i(0), l = _i(0), d = {
|
|
19737
19737
|
data: [],
|
|
19738
19738
|
typing: !1,
|
|
19739
19739
|
beforeChange: () => {
|
|
@@ -19849,10 +19849,10 @@ Options:${S}${r.join(S)}` : "";
|
|
|
19849
19849
|
}, Y3 = (e, n) => Be(Mc(n), (r) => !At(e, r)).length === 0, fF = (e, n, r, l, d) => {
|
|
19850
19850
|
if (At(l, r))
|
|
19851
19851
|
return Op(r), Ni(r.dom);
|
|
19852
|
-
Y3(l, d) && At(l, n) &&
|
|
19853
|
-
const h =
|
|
19852
|
+
Y3(l, d) && At(l, n) && xl(d, ot.fromTag("br"));
|
|
19853
|
+
const h = kl(r.dom, Qt.before(d.dom));
|
|
19854
19854
|
return K(Dv(n, l), (S) => {
|
|
19855
|
-
|
|
19855
|
+
xl(d, S);
|
|
19856
19856
|
}), Gx(l, e, n), h;
|
|
19857
19857
|
}, EN = (e, n) => e.isInline(Le(n)), TN = (e, n, r, l) => {
|
|
19858
19858
|
if (At(l, r)) {
|
|
@@ -19892,7 +19892,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
19892
19892
|
const r = ot.fromDom(n), l = pe(js, e);
|
|
19893
19893
|
return Vu(r, eu, l).isSome();
|
|
19894
19894
|
}, pF = (e, n) => ON(e, n.startContainer) || ON(e, n.endContainer), hF = (e, n) => {
|
|
19895
|
-
const r =
|
|
19895
|
+
const r = kl(e.dom, Qt.fromRangeStart(n)).isNone(), l = Hl(e.dom, Qt.fromRangeEnd(n)).isNone();
|
|
19896
19896
|
return !pF(e, n) && r && l;
|
|
19897
19897
|
}, vF = (e) => ne.some(() => {
|
|
19898
19898
|
e.setContent(""), e.selection.setCursorLocation();
|
|
@@ -20091,13 +20091,13 @@ Options:${S}${r.join(S)}` : "";
|
|
|
20091
20091
|
return ml(e, d, l).fold(() => Hl(d, l).bind(pe(ml, e, d)).map((h) => Ru.before(h)), ne.none);
|
|
20092
20092
|
}, jN = (e, n) => Lh(e, n) === null, MF = (e, n, r) => ml(e, n, r).filter(pe(jN, n)), Xq = (e, n, r) => {
|
|
20093
20093
|
const l = m8(r);
|
|
20094
|
-
return MF(e, n, l).bind((d) =>
|
|
20094
|
+
return MF(e, n, l).bind((d) => kl(d, l).isNone() ? ne.some(Ru.start(d)) : ne.none());
|
|
20095
20095
|
}, Jq = (e, n, r) => {
|
|
20096
20096
|
const l = f8(r);
|
|
20097
20097
|
return MF(e, n, l).bind((d) => Hl(d, l).isNone() ? ne.some(Ru.end(d)) : ne.none());
|
|
20098
20098
|
}, Qq = (e, n, r) => {
|
|
20099
20099
|
const l = m8(r), d = NF(n, l.container());
|
|
20100
|
-
return ml(e, d, l).fold(() =>
|
|
20100
|
+
return ml(e, d, l).fold(() => kl(d, l).bind(pe(ml, e, d)).map((h) => Ru.after(h)), ne.none);
|
|
20101
20101
|
}, WN = (e) => !$5(ZN(e)), Yp = (e, n, r) => DF([
|
|
20102
20102
|
oA,
|
|
20103
20103
|
Xq,
|
|
@@ -20298,7 +20298,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
20298
20298
|
return l;
|
|
20299
20299
|
{
|
|
20300
20300
|
const d = Qt.fromRangeEnd(e);
|
|
20301
|
-
return r ?
|
|
20301
|
+
return r ? kl(n, d).getOr(d) : Hl(n, l).getOr(l);
|
|
20302
20302
|
}
|
|
20303
20303
|
}, vY = (e, n, r) => {
|
|
20304
20304
|
const l = e.getBody(), d = hY(e.selection.getRng(), l, r), h = pe(Sv, e);
|
|
@@ -20321,7 +20321,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
20321
20321
|
});
|
|
20322
20322
|
}
|
|
20323
20323
|
}, dA = (e, n, r) => Yb(e) ? vY(e, n, r).isSome() : !1, JF = (e, n, r) => Yb(n) ? rY(e, n) : !1, yY = (e) => {
|
|
20324
|
-
const n =
|
|
20324
|
+
const n = _i(null), r = pe(Sv, e);
|
|
20325
20325
|
return e.on("NodeChange", (l) => {
|
|
20326
20326
|
Yb(e) && (XF(r, e.dom, l.parents), bY(e, n), r1(r, e, n, l.parents));
|
|
20327
20327
|
}), n;
|
|
@@ -20493,7 +20493,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
20493
20493
|
const r = Math.abs(e.clientX - n.x), l = Math.abs(e.clientY - n.y);
|
|
20494
20494
|
return r > f6 || l > f6;
|
|
20495
20495
|
}, BY = (e) => {
|
|
20496
|
-
const n = Fa(), r =
|
|
20496
|
+
const n = Fa(), r = _i(!1), l = zy((d) => {
|
|
20497
20497
|
e.dispatch("longpress", {
|
|
20498
20498
|
...d,
|
|
20499
20499
|
type: "longpress"
|
|
@@ -20633,7 +20633,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
20633
20633
|
return;
|
|
20634
20634
|
if (!d(Qt.fromRangeStart(r))) {
|
|
20635
20635
|
const k = ot.fromDom(ZY(e));
|
|
20636
|
-
n === 1 ? Rc(ot.fromDom(h), k) :
|
|
20636
|
+
n === 1 ? Rc(ot.fromDom(h), k) : xl(ot.fromDom(h), k), e.selection.select(k.dom, !0), e.selection.collapse();
|
|
20637
20637
|
}
|
|
20638
20638
|
}
|
|
20639
20639
|
}, a1 = (e, n) => {
|
|
@@ -20769,7 +20769,7 @@ Options:${S}${r.join(S)}` : "";
|
|
|
20769
20769
|
return yd(r) ? ne.some(r) : ne.none();
|
|
20770
20770
|
}, gK = (e, n, r) => {
|
|
20771
20771
|
n.undoManager.transact(() => {
|
|
20772
|
-
const l = e ? Rc :
|
|
20772
|
+
const l = e ? Rc : xl, d = hL(n, ot.fromDom(r), l);
|
|
20773
20773
|
Ec(n, d);
|
|
20774
20774
|
});
|
|
20775
20775
|
}, a_ = (e, n, r) => {
|
|
@@ -21320,8 +21320,8 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
21320
21320
|
d === 8 ? r.throttle() : d === 27 ? (r.cancel(), n.cancelIfNecessary()) : (d === 38 || d === 40) && r.cancel();
|
|
21321
21321
|
}, !0), e.on("remove", r.cancel);
|
|
21322
21322
|
}, dX = (e) => {
|
|
21323
|
-
const n = Fa(), r =
|
|
21324
|
-
l() && (
|
|
21323
|
+
const n = Fa(), r = _i(!1), l = n.isSet, d = () => {
|
|
21324
|
+
l() && (Ei(e), r.set(!1), n.clear());
|
|
21325
21325
|
}, h = (oe) => {
|
|
21326
21326
|
l() || n.set({
|
|
21327
21327
|
trigger: oe.trigger,
|
|
@@ -21371,7 +21371,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
21371
21371
|
});
|
|
21372
21372
|
} else
|
|
21373
21373
|
return ne.none();
|
|
21374
|
-
}, fX = (e, n) => Ni(n).exists((r) => r.isEqual(e)), FA = (e, n) => sf(n).exists((r) => Xs(r.getNode()) &&
|
|
21374
|
+
}, fX = (e, n) => Ni(n).exists((r) => r.isEqual(e)), FA = (e, n) => sf(n).exists((r) => Xs(r.getNode()) && kl(n, r).exists((l) => l.isEqual(e)) || r.isEqual(e)), eM = (e, n) => n.startSummary.exists((r) => fX(e, r)), h9 = (e, n) => n.startSummary.exists((r) => FA(e, r)), v9 = (e, n) => n.startDetails.exists((r) => kl(r, e).forall((l) => n.startSummary.exists((d) => !d.contains(e.container()) && d.contains(l.container())))), mX = (e, n, r) => r.startDetails.exists((l) => Hl(e, n).forall((d) => !l.contains(d.container()))), b9 = (e, n) => {
|
|
21375
21375
|
const r = n.getNode();
|
|
21376
21376
|
lt(r) || e.selection.setCursorLocation(r, n.offset());
|
|
21377
21377
|
}, y9 = (e, n, r) => {
|
|
@@ -21889,7 +21889,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
21889
21889
|
Kt = Ue(oe), xe.fold(() => {
|
|
21890
21890
|
qr(ie, ot.fromDom(Kt));
|
|
21891
21891
|
}, (xn) => {
|
|
21892
|
-
|
|
21892
|
+
xl(xn, ot.fromDom(Kt));
|
|
21893
21893
|
}), e.selection.setCursorLocation(Kt, 0);
|
|
21894
21894
|
else if (_h(Hn))
|
|
21895
21895
|
Kt = oa(Hn), k.isEmpty(Hn) && rc(Hn), y_(e, Kt), x2(e, Kt);
|
|
@@ -21936,7 +21936,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
21936
21936
|
oe === "LI" && !ie && (L = Q), $n(D) && k >= D.data.length && (HX(e.schema, D, L || l.getRoot()) || (h = l.create("br"), d.insertNode(h), d.setStartAfter(h), d.setEndAfter(h), S = !0)), h = l.create("br"), q1(l, d, h), O9(e, h, S), e.undoManager.add();
|
|
21937
21937
|
}, zX = (e, n) => {
|
|
21938
21938
|
const r = ot.fromTag("br");
|
|
21939
|
-
|
|
21939
|
+
xl(ot.fromDom(n), r), e.undoManager.add();
|
|
21940
21940
|
}, UX = (e, n) => {
|
|
21941
21941
|
jX(e.getBody(), n) || Rc(ot.fromDom(n), ot.fromTag("br"));
|
|
21942
21942
|
const r = ot.fromTag("br");
|
|
@@ -22115,7 +22115,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
22115
22115
|
}, eJ = (e, n) => {
|
|
22116
22116
|
if (JX.os.isMacOS())
|
|
22117
22117
|
return;
|
|
22118
|
-
const r =
|
|
22118
|
+
const r = _i(!1);
|
|
22119
22119
|
e.on("keydown", (l) => {
|
|
22120
22120
|
dM(l) && z9(r, e, !0);
|
|
22121
22121
|
}), e.on("keyup", (l) => {
|
|
@@ -22129,9 +22129,9 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
22129
22129
|
const r = n.container(), l = n.offset();
|
|
22130
22130
|
return $n(r) ? (r.insertData(l, e), ne.some(Qt(r, l + e.length))) : _w(n).map((d) => {
|
|
22131
22131
|
const h = ot.fromText(e);
|
|
22132
|
-
return n.isAtEnd() ? Rc(d, h) :
|
|
22132
|
+
return n.isAtEnd() ? Rc(d, h) : xl(d, h), Qt(h.dom, e.length);
|
|
22133
22133
|
});
|
|
22134
|
-
}, j9 = pe(U9, mi), W9 = pe(U9, " "), Z9 = (e, n, r) => w5(e, n, r) ? j9(n) : W9(n), oJ = (e) => (n) => n.fold((r) =>
|
|
22134
|
+
}, j9 = pe(U9, mi), W9 = pe(U9, " "), Z9 = (e, n, r) => w5(e, n, r) ? j9(n) : W9(n), oJ = (e) => (n) => n.fold((r) => kl(e.dom, Qt.before(r)), (r) => Ni(r), (r) => sf(r), (r) => Hl(e.dom, Qt.after(r))), G9 = (e, n, r) => (l) => w5(e, l, r) ? j9(n) : W9(n), q9 = (e) => (n) => {
|
|
22135
22135
|
e.selection.setRng(n.toRange()), e.nodeChanged();
|
|
22136
22136
|
}, sJ = (e, n) => e.isEditable(e.getParent(n, "summary")), rJ = (e) => {
|
|
22137
22137
|
const n = Qt.fromRangeStart(e.selection.getRng()), r = ot.fromDom(e.getBody());
|
|
@@ -22185,7 +22185,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
22185
22185
|
});
|
|
22186
22186
|
}, uJ = (e) => {
|
|
22187
22187
|
if (e.addShortcut("Meta+P", "", "mcePrint"), dX(e), Jf(e))
|
|
22188
|
-
return
|
|
22188
|
+
return _i(null);
|
|
22189
22189
|
{
|
|
22190
22190
|
const n = yY(e);
|
|
22191
22191
|
return nJ(e), jY(e), T6(e, n), yX(e, n), L9(e), E2(e), V9(e), Y9(e), H9(e, n), eJ(e, n), n;
|
|
@@ -22400,7 +22400,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
22400
22400
|
}
|
|
22401
22401
|
return l ? l.innerHTML : "";
|
|
22402
22402
|
}, cH = (e) => e === lH, k2 = (e) => {
|
|
22403
|
-
const n =
|
|
22403
|
+
const n = _i(null);
|
|
22404
22404
|
return {
|
|
22405
22405
|
create: () => T2(e, n),
|
|
22406
22406
|
remove: () => EJ(e, n),
|
|
@@ -22486,7 +22486,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
22486
22486
|
const l = e.dom.create("div", { style: "display:none" }, n), d = pi(e, l, r);
|
|
22487
22487
|
return wM(d.node.innerHTML, d.isDefaultPrevented());
|
|
22488
22488
|
}, AJ = (e, n, r) => {
|
|
22489
|
-
const l =
|
|
22489
|
+
const l = Tl(e, n, r), d = yM(e, l.content);
|
|
22490
22490
|
return e.hasEventListeners("PastePostProcess") && !l.isDefaultPrevented() ? kJ(e, d, r) : wM(d, l.isDefaultPrevented());
|
|
22491
22491
|
}, gH = (e, n, r) => AJ(e, n, r), CM = (e, n) => (e.insertContent(n, {
|
|
22492
22492
|
merge: T$(e),
|
|
@@ -22749,7 +22749,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
22749
22749
|
}, AM = (e) => {
|
|
22750
22750
|
(rt.browser.isChromium() || rt.browser.isSafari()) && DH(e, NH);
|
|
22751
22751
|
}, JJ = (e) => {
|
|
22752
|
-
const n =
|
|
22752
|
+
const n = _i(!1), r = _i(Jb(e) ? "text" : "html"), l = k2(e);
|
|
22753
22753
|
AM(e), zJ(e, r), QA(e), e.addQueryStateHandler("mceTogglePlainTextPaste", () => r.get() === "text"), e.on("PreInit", () => {
|
|
22754
22754
|
AH(e), KJ(e, n), VJ(e, l, r);
|
|
22755
22755
|
});
|
|
@@ -23747,13 +23747,13 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
23747
23747
|
co.preventDefault();
|
|
23748
23748
|
});
|
|
23749
23749
|
});
|
|
23750
|
-
},
|
|
23750
|
+
}, Al = () => {
|
|
23751
23751
|
S.addNodeFilter("br", (co) => {
|
|
23752
23752
|
let Sn = co.length;
|
|
23753
23753
|
for (; Sn--; )
|
|
23754
23754
|
co[Sn].attr("class") === "Apple-interchange-newline" && co[Sn].remove();
|
|
23755
23755
|
});
|
|
23756
|
-
},
|
|
23756
|
+
}, Ol = Oe, Kn = () => {
|
|
23757
23757
|
if (!D || e.removed)
|
|
23758
23758
|
return !1;
|
|
23759
23759
|
const co = e.selection.getSel();
|
|
@@ -23761,10 +23761,10 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
23761
23761
|
}, Mo = () => {
|
|
23762
23762
|
L && (Ue(), Mt(), vi(), ke(), Q && (Ts(), $s(), kr())), D && (St(), Zn(), No(), dr());
|
|
23763
23763
|
}, lr = () => {
|
|
23764
|
-
Hn(), Pe(), rt.windowsPhone || lo(), L && (Ue(), Mt(), Kt(), vi(), yn(),
|
|
23764
|
+
Hn(), Pe(), rt.windowsPhone || lo(), L && (Ue(), Mt(), Kt(), vi(), yn(), Al(), Q ? (Ts(), $s(), kr()) : ke()), D && (it(), St(), zt(), Zn(), on(), No(), dr(), yn());
|
|
23765
23765
|
};
|
|
23766
23766
|
return Jf(e) ? Mo() : lr(), {
|
|
23767
|
-
refreshContentEditable:
|
|
23767
|
+
refreshContentEditable: Ol,
|
|
23768
23768
|
isHidden: Kn
|
|
23769
23769
|
};
|
|
23770
23770
|
}, qQ = (e) => e.toLowerCase() === "gpl", YQ = (e) => e.length >= 64 && e.length <= 255, xV = (e) => qQ(e) || YQ(e) ? "VALID" : "INVALID", KQ = (e) => {
|
|
@@ -24491,7 +24491,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
24491
24491
|
const r = e.dom, l = e.selection.getRng(), d = n ? e.selection.getStart() : e.selection.getEnd(), h = n ? l.startContainer : l.endContainer, S = _2(r, h);
|
|
24492
24492
|
if (!S || !S.isContentEditable)
|
|
24493
24493
|
return;
|
|
24494
|
-
const k = n ?
|
|
24494
|
+
const k = n ? xl : Rc, D = Zi(e);
|
|
24495
24495
|
oR(e, d, S, h).each((L) => {
|
|
24496
24496
|
const Q = T9(e, h, L.dom, S, !1, D);
|
|
24497
24497
|
k(L, ot.fromDom(Q)), e.selection.setCursorLocation(Q, 0), e.dispatch("NewBlock", { newBlock: Q }), v_(e, "insertParagraph");
|
|
@@ -24936,7 +24936,7 @@ Input object: ` + gf(e.input), z6 = (e, n) => f_(e, Jo(n, m_)), r9 = be(FK), RA
|
|
|
24936
24936
|
}
|
|
24937
24937
|
};
|
|
24938
24938
|
}, ite = (e) => {
|
|
24939
|
-
const n =
|
|
24939
|
+
const n = _i("design"), r = _i({
|
|
24940
24940
|
design: {
|
|
24941
24941
|
activate: Oe,
|
|
24942
24942
|
deactivate: Oe,
|
|
@@ -26232,7 +26232,7 @@ tinymce.IconManager.add("default", {
|
|
|
26232
26232
|
}, vo = Object.getPrototypeOf, wo = (t) => Yn("HTMLElement", t), uo = (t) => {
|
|
26233
26233
|
const a = pn("ownerDocument.defaultView", t);
|
|
26234
26234
|
return C(t) && (wo(a).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(vo(t).constructor.name));
|
|
26235
|
-
}, Oo = 9, Zo = 11, ys = 1, mr = 3, Bs = (t) => t.dom.nodeName.toLowerCase(),
|
|
26235
|
+
}, Oo = 9, Zo = 11, ys = 1, mr = 3, Bs = (t) => t.dom.nodeName.toLowerCase(), yi = (t) => t.dom.nodeType, ya = (t) => (a) => yi(a) === t, Qo = (t) => us(t) && uo(t.dom), us = ya(ys), ms = ya(mr), ka = ya(Oo), wa = ya(Zo), Aa = (t) => (a) => us(a) && Bs(a) === t, cr = (t, a) => {
|
|
26236
26236
|
const c = t.dom;
|
|
26237
26237
|
if (c.nodeType !== ys)
|
|
26238
26238
|
return !1;
|
|
@@ -26257,7 +26257,7 @@ tinymce.IconManager.add("default", {
|
|
|
26257
26257
|
}, ws = (t, a) => t.dom === a.dom, tl = (t, a) => {
|
|
26258
26258
|
const c = t.dom, m = a.dom;
|
|
26259
26259
|
return c === m ? !1 : c.contains(m);
|
|
26260
|
-
}, Sr = (t) => qt.fromDom(t.dom.ownerDocument), ic = (t) => ka(t) ? t : Sr(t), ki = (t) => qt.fromDom(ic(t).dom.documentElement),
|
|
26260
|
+
}, Sr = (t) => qt.fromDom(t.dom.ownerDocument), ic = (t) => ka(t) ? t : Sr(t), ki = (t) => qt.fromDom(ic(t).dom.documentElement), Cl = (t) => qt.fromDom(ic(t).dom.defaultView), Ca = (t) => M.from(t.dom.parentNode).map(qt.fromDom), lc = (t) => Ca(t), Bi = (t) => M.from(t.dom.parentElement).map(qt.fromDom), cc = (t, a) => {
|
|
26261
26261
|
const c = q(a) ? a : ge;
|
|
26262
26262
|
let m = t.dom;
|
|
26263
26263
|
const b = [];
|
|
@@ -26277,7 +26277,7 @@ tinymce.IconManager.add("default", {
|
|
|
26277
26277
|
}), qc = (t, a) => {
|
|
26278
26278
|
const c = Zr(t);
|
|
26279
26279
|
return c.length > 0 && a < c.length ? Yl(c[a], 0) : Yl(t, a);
|
|
26280
|
-
}, Fi = (t) => wa(t) && Z(t.dom.host), ea = (t) => qt.fromDom(t.dom.getRootNode()), la = (t) => Fi(t) ? t : qt.fromDom(ic(t).dom.body),
|
|
26280
|
+
}, Fi = (t) => wa(t) && Z(t.dom.host), ea = (t) => qt.fromDom(t.dom.getRootNode()), la = (t) => Fi(t) ? t : qt.fromDom(ic(t).dom.body), wi = (t) => $c(t).isSome(), $c = (t) => {
|
|
26281
26281
|
const a = ea(t);
|
|
26282
26282
|
return Fi(a) ? M.some(a) : M.none();
|
|
26283
26283
|
}, Dc = (t) => qt.fromDom(t.dom.host), Ya = (t) => {
|
|
@@ -26463,14 +26463,14 @@ tinymce.IconManager.add("default", {
|
|
|
26463
26463
|
return Vi(m(1), m(2));
|
|
26464
26464
|
}, Ia = (t, a) => {
|
|
26465
26465
|
const c = String(a).toLowerCase();
|
|
26466
|
-
return t.length === 0 ?
|
|
26467
|
-
},
|
|
26466
|
+
return t.length === 0 ? Sl() : xr(t, c);
|
|
26467
|
+
}, Sl = () => Vi(0, 0), Vi = (t, a) => ({
|
|
26468
26468
|
major: t,
|
|
26469
26469
|
minor: a
|
|
26470
26470
|
}), Gr = {
|
|
26471
26471
|
nu: Vi,
|
|
26472
26472
|
detect: Ia,
|
|
26473
|
-
unknown:
|
|
26473
|
+
unknown: Sl
|
|
26474
26474
|
}, Sa = (t, a) => vn(a.brands, (c) => {
|
|
26475
26475
|
const m = c.brand.toLowerCase();
|
|
26476
26476
|
return ee(t, (b) => {
|
|
@@ -26875,7 +26875,7 @@ tinymce.IconManager.add("default", {
|
|
|
26875
26875
|
} : t, fc = (t, a) => t.stype === Pa.Value ? {
|
|
26876
26876
|
stype: Pa.Value,
|
|
26877
26877
|
svalue: a(t.svalue)
|
|
26878
|
-
} : t,
|
|
26878
|
+
} : t, Ci = (t, a) => t.stype === Pa.Value ? a(t.svalue) : t, xl = (t, a) => t.stype === Pa.Error ? a(t.serror) : t, Rc = (t) => ({
|
|
26879
26879
|
stype: Pa.Value,
|
|
26880
26880
|
svalue: t
|
|
26881
26881
|
}), cp = (t) => ({
|
|
@@ -26887,8 +26887,8 @@ tinymce.IconManager.add("default", {
|
|
|
26887
26887
|
svalue: Rc,
|
|
26888
26888
|
partition: Kl,
|
|
26889
26889
|
serror: cp,
|
|
26890
|
-
bind:
|
|
26891
|
-
bindError:
|
|
26890
|
+
bind: Ci,
|
|
26891
|
+
bindError: xl,
|
|
26892
26892
|
map: fc,
|
|
26893
26893
|
mapError: Il,
|
|
26894
26894
|
fold: zd
|
|
@@ -27094,7 +27094,7 @@ tinymce.IconManager.add("default", {
|
|
|
27094
27094
|
` + ls(t.errors).join(`
|
|
27095
27095
|
`) + `
|
|
27096
27096
|
|
|
27097
|
-
Input object: ` + gs(t.input),
|
|
27097
|
+
Input object: ` + gs(t.input), Si = (t, a) => pm(t, Nt(a, Ko)), mp = (t, a) => Ay(t, a), xi = Ud, Xs = zu, O1 = (t) => uh((a) => Ge(t, a) ? ds.value(a) : ds.error(`Unsupported value: "${a}", choose one of "${t.join(", ")}".`)), un = (t) => xi(t, t, Ic(), Uu()), Js = (t, a) => xi(t, t, Ic(), a), Cb = (t) => Js(t, gm), Ja = (t) => Js(t, eo), Tu = (t, a) => xi(t, t, Ic(), O1(a)), Ui = (t) => Js(t, wb), fC = (t, a) => xi(t, t, dp(), mm((c) => ja.serror("The field: " + t + " is forbidden. " + a))), Zd = (t, a) => xi(t, t, Ic(), Ko(a)), $y = (t, a) => xi(t, t, Ic(), A1(a)), gc = (t, a) => xi(t, t, Ic(), Eu(a)), er = (t) => xi(t, t, dp(), Uu()), Gd = (t, a) => xi(t, t, dp(), a), dh = (t) => Gd(t, gm), Ba = (t) => Gd(t, eo), fh = (t, a) => Gd(t, O1(a)), Bf = (t) => Gd(t, wb), Dy = (t, a) => Gd(t, Eu(a)), Jl = (t, a) => Gd(t, Ko(a)), Xc = (t, a) => Gd(t, cl(a)), At = (t, a) => xi(t, t, Pf(a), Uu()), Bc = (t, a, c) => xi(t, t, Pf(a), c), _i = (t, a) => Bc(t, a, gm), ua = (t, a) => Bc(t, a, eo), Jc = (t, a, c) => Bc(t, a, O1(c)), Fa = (t, a) => Bc(t, a, Kc), Dr = (t, a) => Bc(t, a, wb), hg = (t, a) => Bc(t, a, ju), I = (t, a, c) => Bc(t, a, Eu(c)), U = (t, a, c) => Bc(t, a, Ko(c)), Ne = { generate: (t) => {
|
|
27098
27098
|
if (!A(t))
|
|
27099
27099
|
throw new Error("cases must be an array");
|
|
27100
27100
|
if (t.length === 0)
|
|
@@ -27234,7 +27234,7 @@ Required: ` + a.join(", "));
|
|
|
27234
27234
|
});
|
|
27235
27235
|
}
|
|
27236
27236
|
};
|
|
27237
|
-
}, $i = J, Zu = $i("touchstart"), Ws = $i("touchmove"), Br = $i("touchend"), hc = $i("touchcancel"), Wa = $i("mousedown"), D1 = $i("mousemove"), gh = $i("mouseout"), hm = $i("mouseup"), Fc = $i("mouseover"), qd = $i("focusin"), kE = $i("focusout"), Pl = $i("keydown"), Ny = $i("keyup"), vm = $i("input"), vg = $i("change"), bm = $i("click"), EO = $i("transitioncancel"), N1 = $i("transitionend"), TO = $i("transitionstart"), bp = $i("selectstart"), Qa = (t) => J("alloy." + t), AE = { tap: Qa("tap") }, ym = Qa("focus"), bg = Qa("blur.post"), ph = Qa("paste.post"), Yd = Qa("receive"), tc = Qa("execute"), hh = Qa("focus.item"), Sb = AE.tap, FI = Qa("longpress"), wm = Qa("sandbox.close"),
|
|
27237
|
+
}, $i = J, Zu = $i("touchstart"), Ws = $i("touchmove"), Br = $i("touchend"), hc = $i("touchcancel"), Wa = $i("mousedown"), D1 = $i("mousemove"), gh = $i("mouseout"), hm = $i("mouseup"), Fc = $i("mouseover"), qd = $i("focusin"), kE = $i("focusout"), Pl = $i("keydown"), Ny = $i("keyup"), vm = $i("input"), vg = $i("change"), bm = $i("click"), EO = $i("transitioncancel"), N1 = $i("transitionend"), TO = $i("transitionstart"), bp = $i("selectstart"), Qa = (t) => J("alloy." + t), AE = { tap: Qa("tap") }, ym = Qa("focus"), bg = Qa("blur.post"), ph = Qa("paste.post"), Yd = Qa("receive"), tc = Qa("execute"), hh = Qa("focus.item"), Sb = AE.tap, FI = Qa("longpress"), wm = Qa("sandbox.close"), _l = Qa("typeahead.cancel"), xb = Qa("system.init"), kO = Qa("system.touchmove"), AO = Qa("system.touchend"), mC = Qa("system.scroll"), M1 = Qa("system.resize"), Kd = Qa("system.attached"), Xd = Qa("system.detached"), yp = Qa("system.dismissRequested"), vh = Qa("system.repositionRequested"), _b = Qa("focusmanager.shifted"), R1 = Qa("slotcontainer.visibility"), yg = Qa("system.external.element.scroll"), wp = Qa("change.tab"), Eb = Qa("dismiss.tab"), My = Qa("highlight"), Ry = Qa("dehighlight"), Os = (t, a) => {
|
|
27238
27238
|
Py(t, t.element, a, {});
|
|
27239
27239
|
}, $o = (t, a, c) => {
|
|
27240
27240
|
Py(t, t.element, a, c);
|
|
@@ -27405,7 +27405,7 @@ Required: ` + a.join(", "));
|
|
|
27405
27405
|
At("extra", {})
|
|
27406
27406
|
]), ME = (t) => {
|
|
27407
27407
|
const a = Xl("Creating behaviour: " + t.name, NE, t);
|
|
27408
|
-
return Vy(
|
|
27408
|
+
return Vy(Si(a.branchKey, a.branches), a.name, a.active, a.apis, a.extra, a.state);
|
|
27409
27409
|
}, Ab = J(void 0), wC = (t, a) => {
|
|
27410
27410
|
const c = en(t, a);
|
|
27411
27411
|
return c === void 0 || c === "" ? [] : c.split(" ");
|
|
@@ -27789,7 +27789,7 @@ Required: ` + a.join(", "));
|
|
|
27789
27789
|
const Hf = J(Ko(_h())), _d = Zd("initSize", [
|
|
27790
27790
|
un("numColumns"),
|
|
27791
27791
|
un("numRows")
|
|
27792
|
-
]), TC = () => Js("markers", Hf()), Fb = () => Zd("markers", [un("backgroundMenu")].concat($p()).concat(_h())), Vf = (t) => Zd("markers", Ie(t, un)), j1 = (t, a, c) => (qy(),
|
|
27792
|
+
]), TC = () => Js("markers", Hf()), Fb = () => Zd("markers", [un("backgroundMenu")].concat($p()).concat(_h())), Vf = (t) => Zd("markers", Ie(t, un)), j1 = (t, a, c) => (qy(), xi(a, a, c, uh((m) => ds.value((...b) => m.apply(void 0, b))))), Zs = (t) => j1("onHandler", t, Pf(F)), vc = (t) => j1("onKeyboardHandler", t, Pf(M.none)), Yu = (t) => j1("onHandler", t, Ic()), kC = (t) => j1("onKeyboardHandler", t, Ic()), oa = (t, a) => Xs(t, J(a)), AC = (t) => Xs(t, Fe), Dp = J(_d);
|
|
27793
27793
|
var Eh = [
|
|
27794
27794
|
Jl("contextual", [
|
|
27795
27795
|
Ja("fadeInClass"),
|
|
@@ -28000,7 +28000,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(a, (c) => c.name),
|
|
|
28000
28000
|
}));
|
|
28001
28001
|
return Ql(c, {});
|
|
28002
28002
|
}, Oh = "alloy.base.behaviour", JO = Ko([
|
|
28003
|
-
|
|
28003
|
+
xi("dom", "dom", Ic(), Ko([
|
|
28004
28004
|
un("tag"),
|
|
28005
28005
|
At("styles", {}),
|
|
28006
28006
|
At("classes", []),
|
|
@@ -28012,7 +28012,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(a, (c) => c.name),
|
|
|
28012
28012
|
un("uid"),
|
|
28013
28013
|
At("events", {}),
|
|
28014
28014
|
At("apis", {}),
|
|
28015
|
-
|
|
28015
|
+
xi("eventOrder", "eventOrder", te({
|
|
28016
28016
|
[tc()]: [
|
|
28017
28017
|
"disabling",
|
|
28018
28018
|
Oh,
|
|
@@ -28069,7 +28069,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(a, (c) => c.name),
|
|
|
28069
28069
|
...t.dom,
|
|
28070
28070
|
uid: t.uid,
|
|
28071
28071
|
domChildren: Ie(t.components, (a) => a.element)
|
|
28072
|
-
}),
|
|
28072
|
+
}), El = (t) => t.domModification.fold(() => Jd({}), Jd), QO = (t) => t.events, Qt = (t) => t.dom.value, _m = (t, a) => {
|
|
28073
28073
|
if (a === void 0)
|
|
28074
28074
|
throw new Error("Value.set was undefined");
|
|
28075
28075
|
t.dom.value = a;
|
|
@@ -28152,7 +28152,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(a, (c) => c.name),
|
|
|
28152
28152
|
const a = nw(t);
|
|
28153
28153
|
return sT(t, a);
|
|
28154
28154
|
}, o$ = (t, a, c) => {
|
|
28155
|
-
const m = $h(t), b =
|
|
28155
|
+
const m = $h(t), b = El(t), x = { "alloy.base.modification": b }, E = a.length > 0 ? JE(c, x, a, m) : b;
|
|
28156
28156
|
return Hy(m, E);
|
|
28157
28157
|
}, rT = (t, a, c) => {
|
|
28158
28158
|
const m = { "alloy.base.behaviour": QO(t) };
|
|
@@ -28332,10 +28332,10 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(a, (c) => c.name),
|
|
|
28332
28332
|
}, Eg = "layout", zC = (t) => t.x, UC = (t, a) => t.x + t.width / 2 - a.width / 2, CT = (t, a) => t.x + t.width - a.width, aw = (t, a) => t.y - a.height, jC = (t) => t.y + t.height, WC = (t, a) => t.y + t.height / 2 - a.height / 2, l$ = (t) => t.x + t.width, c$ = (t, a) => t.x - a.width, gi = (t, a, c) => ul(zC(t), jC(t), c.southeast(), rw(), "southeast", Fl(t, {
|
|
28333
28333
|
left: 1,
|
|
28334
28334
|
top: 3
|
|
28335
|
-
}), Eg),
|
|
28335
|
+
}), Eg), Ei = (t, a, c) => ul(CT(t, a), jC(t), c.southwest(), LC(), "southwest", Fl(t, {
|
|
28336
28336
|
right: 0,
|
|
28337
28337
|
top: 3
|
|
28338
|
-
}), Eg),
|
|
28338
|
+
}), Eg), Tl = (t, a, c) => ul(zC(t), aw(t, a), c.northeast(), HC(), "northeast", Fl(t, {
|
|
28339
28339
|
left: 1,
|
|
28340
28340
|
bottom: 2
|
|
28341
28341
|
}), Eg), pi = (t, a, c) => ul(CT(t, a), aw(t, a), c.northwest(), VC(), "northwest", Fl(t, {
|
|
@@ -28343,48 +28343,48 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(a, (c) => c.name),
|
|
|
28343
28343
|
bottom: 2
|
|
28344
28344
|
}), Eg), Wi = (t, a, c) => ul(UC(t, a), aw(t, a), c.north(), bT(), "north", Fl(t, { bottom: 2 }), Eg), Di = (t, a, c) => ul(UC(t, a), jC(t), c.south(), vT(), "south", Fl(t, { top: 3 }), Eg), ZC = (t, a, c) => ul(l$(t), WC(t, a), c.east(), yT(), "east", Fl(t, { left: 0 }), Eg), Wb = (t, a, c) => ul(c$(t, a), WC(t, a), c.west(), wT(), "west", Fl(t, { right: 1 }), Eg), Zb = () => [
|
|
28345
28345
|
gi,
|
|
28346
|
-
|
|
28347
|
-
|
|
28346
|
+
Ei,
|
|
28347
|
+
Tl,
|
|
28348
28348
|
pi,
|
|
28349
28349
|
Di,
|
|
28350
28350
|
Wi,
|
|
28351
28351
|
ZC,
|
|
28352
28352
|
Wb
|
|
28353
28353
|
], dl = () => [
|
|
28354
|
-
|
|
28354
|
+
Ei,
|
|
28355
28355
|
gi,
|
|
28356
28356
|
pi,
|
|
28357
|
-
|
|
28357
|
+
Tl,
|
|
28358
28358
|
Di,
|
|
28359
28359
|
Wi,
|
|
28360
28360
|
ZC,
|
|
28361
28361
|
Wb
|
|
28362
28362
|
], ST = () => [
|
|
28363
|
-
|
|
28363
|
+
Tl,
|
|
28364
28364
|
pi,
|
|
28365
28365
|
gi,
|
|
28366
|
-
|
|
28366
|
+
Ei,
|
|
28367
28367
|
Wi,
|
|
28368
28368
|
Di
|
|
28369
28369
|
], iw = () => [
|
|
28370
28370
|
pi,
|
|
28371
|
-
|
|
28372
|
-
|
|
28371
|
+
Tl,
|
|
28372
|
+
Ei,
|
|
28373
28373
|
gi,
|
|
28374
28374
|
Wi,
|
|
28375
28375
|
Di
|
|
28376
28376
|
], fo = () => [
|
|
28377
28377
|
gi,
|
|
28378
|
-
|
|
28379
|
-
|
|
28378
|
+
Ei,
|
|
28379
|
+
Tl,
|
|
28380
28380
|
pi,
|
|
28381
28381
|
Di,
|
|
28382
28382
|
Wi
|
|
28383
28383
|
], Dh = () => [
|
|
28384
|
-
|
|
28384
|
+
Ei,
|
|
28385
28385
|
gi,
|
|
28386
28386
|
pi,
|
|
28387
|
-
|
|
28387
|
+
Tl,
|
|
28388
28388
|
Di,
|
|
28389
28389
|
Wi
|
|
28390
28390
|
], GC = (t, a) => a.universal ? t : vt(t, (c) => Ge(a.channels, c));
|
|
@@ -28815,7 +28815,7 @@ Receiver: ` + tu(a.element), z, x.data);
|
|
|
28815
28815
|
const a = Ie(t, E$);
|
|
28816
28816
|
return FT(a);
|
|
28817
28817
|
}, T$ = Xb.screen, k$ = Xb.absolute, Jb = (t, a, c) => {
|
|
28818
|
-
const m =
|
|
28818
|
+
const m = Cl(c.root).dom, b = (x) => {
|
|
28819
28819
|
const E = Sr(x), N = Sr(t.element);
|
|
28820
28820
|
return ws(E, N);
|
|
28821
28821
|
};
|
|
@@ -28895,7 +28895,7 @@ Receiver: ` + tu(a.element), z, x.data);
|
|
|
28895
28895
|
exact: (a, c, m, b) => a
|
|
28896
28896
|
}), uS = Tg.domRange, UT = Tg.relative, qI = Tg.exact, jT = (t) => {
|
|
28897
28897
|
const a = $$(t);
|
|
28898
|
-
return
|
|
28898
|
+
return Cl(a);
|
|
28899
28899
|
}, dS = Qb.create, Ip = {
|
|
28900
28900
|
domRange: uS,
|
|
28901
28901
|
relative: UT,
|
|
@@ -29045,7 +29045,7 @@ Receiver: ` + tu(a.element), z, x.data);
|
|
|
29045
29045
|
} else
|
|
29046
29046
|
return m;
|
|
29047
29047
|
}), rv = (t, a, c) => {
|
|
29048
|
-
const m =
|
|
29048
|
+
const m = Cl(a.root).dom, b = aS(t, c, a), x = bS(m, a).bind((P) => {
|
|
29049
29049
|
if (sv(P))
|
|
29050
29050
|
return vS(m, Ip.exactFromRange(P)).orThunk(() => {
|
|
29051
29051
|
const Y = qt.fromText(GI);
|
|
@@ -29110,7 +29110,7 @@ Receiver: ` + tu(a.element), z, x.data);
|
|
|
29110
29110
|
Rp(),
|
|
29111
29111
|
At("overrides", {}),
|
|
29112
29112
|
oa("placement", XT)
|
|
29113
|
-
], a0 =
|
|
29113
|
+
], a0 = Si("type", {
|
|
29114
29114
|
selection: Rh,
|
|
29115
29115
|
node: ww,
|
|
29116
29116
|
hotspot: ZI,
|
|
@@ -29247,7 +29247,7 @@ Receiver: ` + tu(a.element), z, x.data);
|
|
|
29247
29247
|
mt(a, Fp), pd(t.element), t.syncComponents();
|
|
29248
29248
|
}, Hl = (t, a) => {
|
|
29249
29249
|
Ni(t, a, Mc);
|
|
29250
|
-
},
|
|
29250
|
+
}, kl = (t, a) => {
|
|
29251
29251
|
Ni(t, a, gd);
|
|
29252
29252
|
}, Ni = (t, a, c) => {
|
|
29253
29253
|
c(t, a.element);
|
|
@@ -29505,7 +29505,7 @@ Receiver: ` + tu(a.element), z, x.data);
|
|
|
29505
29505
|
state: Vh
|
|
29506
29506
|
})
|
|
29507
29507
|
], OS = [
|
|
29508
|
-
Bc("store", { mode: "memory" },
|
|
29508
|
+
Bc("store", { mode: "memory" }, Si("mode", {
|
|
29509
29509
|
memory: Vp,
|
|
29510
29510
|
manual: U$,
|
|
29511
29511
|
dataset: TS
|
|
@@ -29588,7 +29588,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29588
29588
|
{ external: ["data"] },
|
|
29589
29589
|
{ optional: ["data"] },
|
|
29590
29590
|
{ group: ["data"] }
|
|
29591
|
-
]), dv = At("factory", { sketch: Fe }), NS = At("schema", []), Mm = un("name"), $g =
|
|
29591
|
+
]), dv = At("factory", { sketch: Fe }), NS = At("schema", []), Mm = un("name"), $g = xi("pname", "pname", As((t) => "<alloy." + no(t.name) + ">"), Uu()), zp = Xs("schema", () => [er("preprocess")]), f0 = At("defaults", J({})), su = At("overrides", J({})), Wh = Ko([
|
|
29592
29592
|
dv,
|
|
29593
29593
|
NS,
|
|
29594
29594
|
Mm,
|
|
@@ -29701,7 +29701,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
29701
29701
|
key: m,
|
|
29702
29702
|
value: t + "-" + m
|
|
29703
29703
|
})));
|
|
29704
|
-
}, mv = (t) =>
|
|
29704
|
+
}, mv = (t) => xi("partUids", "partUids", H((a) => FS(a.uid, t)), Uu());
|
|
29705
29705
|
var eP = /* @__PURE__ */ Object.freeze({
|
|
29706
29706
|
__proto__: null,
|
|
29707
29707
|
generate: RS,
|
|
@@ -30485,7 +30485,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30485
30485
|
er("toggleClass"),
|
|
30486
30486
|
At("toggleOnExecute", !0),
|
|
30487
30487
|
Zs("onToggled"),
|
|
30488
|
-
Bc("aria", { mode: "none" },
|
|
30488
|
+
Bc("aria", { mode: "none" }, Si("mode", {
|
|
30489
30489
|
pressed: [
|
|
30490
30490
|
At("syncWithExpanded", !1),
|
|
30491
30491
|
oa("update", o8)
|
|
@@ -30662,7 +30662,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30662
30662
|
At("domModification", {}),
|
|
30663
30663
|
mv(A5()),
|
|
30664
30664
|
oa("builder", i8)
|
|
30665
|
-
], FW =
|
|
30665
|
+
], FW = Si("type", {
|
|
30666
30666
|
widget: l8,
|
|
30667
30667
|
item: T5,
|
|
30668
30668
|
separator: BW
|
|
@@ -30721,7 +30721,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
30721
30721
|
Bc("movement", {
|
|
30722
30722
|
mode: "menu",
|
|
30723
30723
|
moveOnTab: !0
|
|
30724
|
-
},
|
|
30724
|
+
}, Si("mode", {
|
|
30725
30725
|
grid: [
|
|
30726
30726
|
Dp(),
|
|
30727
30727
|
oa("config", LW)
|
|
@@ -31778,16 +31778,16 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
31778
31778
|
Di,
|
|
31779
31779
|
Wi,
|
|
31780
31780
|
gi,
|
|
31781
|
-
|
|
31782
|
-
|
|
31781
|
+
Tl,
|
|
31782
|
+
Ei,
|
|
31783
31783
|
pi
|
|
31784
31784
|
]),
|
|
31785
31785
|
onRtl: J([
|
|
31786
31786
|
Di,
|
|
31787
31787
|
Wi,
|
|
31788
31788
|
gi,
|
|
31789
|
-
|
|
31790
|
-
|
|
31789
|
+
Tl,
|
|
31790
|
+
Ei,
|
|
31791
31791
|
pi
|
|
31792
31792
|
])
|
|
31793
31793
|
},
|
|
@@ -33037,8 +33037,8 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33037
33037
|
components: _Z,
|
|
33038
33038
|
items: c
|
|
33039
33039
|
};
|
|
33040
|
-
},
|
|
33041
|
-
|
|
33040
|
+
}, Ti = Ja("type"), SD = Ja("name"), xD = Ja("label"), Xh = Ja("text"), C7 = Ja("title"), k3 = Ja("icon"), s2 = Ja("value"), $Z = Ui("fetch"), DZ = Ui("getSubmenuItems"), E0 = Ui("onAction"), NZ = Ui("onItemAction"), T0 = Dr("onSetup", () => F), S7 = Ba("name"), Jh = Ba("text"), x7 = Ba("role"), Yf = Ba("icon"), Ex = Ba("tooltip"), _D = Ba("label"), A3 = Ba("shortcut"), ED = Bf("select"), O3 = Fa("active", !1), MZ = Fa("borderless", !1), Bm = Fa("enabled", !0), $3 = Fa("primary", !1), _7 = (t) => At("columns", t), TD = At("meta", {}), D3 = Dr("onAction", F), k0 = (t) => ua("type", t), kD = (t) => xi("name", "name", As(() => no(`${t}-name`)), eo), RZ = (t) => xi("value", "value", As(() => no(`${t}-value`)), Uu()), E7 = Ko([
|
|
33041
|
+
Ti,
|
|
33042
33042
|
Jh
|
|
33043
33043
|
]), Dd = (t) => Ea("separatormenuitem", E7, t), Fm = Ko([
|
|
33044
33044
|
k0("autocompleteitem"),
|
|
@@ -33056,11 +33056,11 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33056
33056
|
T0,
|
|
33057
33057
|
ua("context", "mode:design")
|
|
33058
33058
|
], N3 = Ko([
|
|
33059
|
-
|
|
33059
|
+
Ti,
|
|
33060
33060
|
E0,
|
|
33061
33061
|
A3
|
|
33062
33062
|
].concat(A0)), k7 = (t) => Ea("toolbarbutton", N3, t), M3 = [O3].concat(A0), Tx = Ko(M3.concat([
|
|
33063
|
-
|
|
33063
|
+
Ti,
|
|
33064
33064
|
E0,
|
|
33065
33065
|
A3
|
|
33066
33066
|
])), A7 = (t) => Ea("ToggleButton", Tx, t), O0 = [
|
|
@@ -33086,13 +33086,13 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33086
33086
|
$3,
|
|
33087
33087
|
E0,
|
|
33088
33088
|
Xs("original", Fe)
|
|
33089
|
-
]), kx = A0.concat([k0("contextformbutton")]), IZ = M3.concat([k0("contextformtogglebutton")]), PZ =
|
|
33089
|
+
]), kx = A0.concat([k0("contextformbutton")]), IZ = M3.concat([k0("contextformtogglebutton")]), PZ = Si("type", {
|
|
33090
33090
|
contextformbutton: OD,
|
|
33091
33091
|
contextformtogglebutton: O7
|
|
33092
33092
|
}), Kf = [
|
|
33093
33093
|
_D,
|
|
33094
33094
|
gc("commands", PZ),
|
|
33095
|
-
Gd("launch",
|
|
33095
|
+
Gd("launch", Si("type", {
|
|
33096
33096
|
contextformbutton: kx,
|
|
33097
33097
|
contextformtogglebutton: IZ
|
|
33098
33098
|
})),
|
|
@@ -33119,7 +33119,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33119
33119
|
width: "",
|
|
33120
33120
|
height: ""
|
|
33121
33121
|
}))
|
|
33122
|
-
], BZ =
|
|
33122
|
+
], BZ = Si("type", {
|
|
33123
33123
|
contextform: Nd,
|
|
33124
33124
|
contextsliderform: Ax,
|
|
33125
33125
|
contextsizeinputform: Md
|
|
@@ -33141,12 +33141,12 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33141
33141
|
...t,
|
|
33142
33142
|
items: w(t.items) ? t.items : Ie(t.items, $0)
|
|
33143
33143
|
}), $7 = (t) => Ea("ContextToolbar", FZ, t), $D = [
|
|
33144
|
-
|
|
33144
|
+
Ti,
|
|
33145
33145
|
Ja("src"),
|
|
33146
33146
|
Ba("alt"),
|
|
33147
33147
|
I("classes", [], eo)
|
|
33148
33148
|
], DD = Ko($D), LZ = [
|
|
33149
|
-
|
|
33149
|
+
Ti,
|
|
33150
33150
|
Xh,
|
|
33151
33151
|
S7,
|
|
33152
33152
|
I("classes", ["tox-collection__item-label"], eo)
|
|
@@ -33155,7 +33155,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33155
33155
|
cardtext: ND,
|
|
33156
33156
|
cardcontainer: N7
|
|
33157
33157
|
})), N7 = Ko([
|
|
33158
|
-
|
|
33158
|
+
Ti,
|
|
33159
33159
|
ua("direction", "horizontal"),
|
|
33160
33160
|
ua("align", "left"),
|
|
33161
33161
|
ua("valign", "middle"),
|
|
@@ -33169,17 +33169,17 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33169
33169
|
TD,
|
|
33170
33170
|
ua("context", "mode:design")
|
|
33171
33171
|
], MD = Ko([
|
|
33172
|
-
|
|
33172
|
+
Ti,
|
|
33173
33173
|
_D,
|
|
33174
33174
|
gc("items", D7),
|
|
33175
33175
|
T0,
|
|
33176
33176
|
D3
|
|
33177
33177
|
].concat(D0)), M7 = (t) => Ea("cardmenuitem", MD, t), R3 = Ko([
|
|
33178
|
-
|
|
33178
|
+
Ti,
|
|
33179
33179
|
O3,
|
|
33180
33180
|
Yf
|
|
33181
33181
|
].concat(D0)), HZ = (t) => Ea("choicemenuitem", R3, t), R7 = [
|
|
33182
|
-
|
|
33182
|
+
Ti,
|
|
33183
33183
|
Ja("fancytype"),
|
|
33184
33184
|
D3
|
|
33185
33185
|
], VZ = [At("initData", {})].concat(R7), zZ = [
|
|
@@ -33189,21 +33189,21 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
33189
33189
|
ua("storageKey", "default"),
|
|
33190
33190
|
Dy("colors", Uu())
|
|
33191
33191
|
])
|
|
33192
|
-
].concat(R7), UZ =
|
|
33192
|
+
].concat(R7), UZ = Si("fancytype", {
|
|
33193
33193
|
inserttable: VZ,
|
|
33194
33194
|
colorswatch: zZ
|
|
33195
33195
|
}), I7 = (t) => Ea("fancymenuitem", UZ, t), jZ = Ko([
|
|
33196
|
-
|
|
33196
|
+
Ti,
|
|
33197
33197
|
T0,
|
|
33198
33198
|
D3,
|
|
33199
33199
|
Yf
|
|
33200
33200
|
].concat(D0)), WZ = (t) => Ea("menuitem", jZ, t), P7 = Ko([
|
|
33201
|
-
|
|
33201
|
+
Ti,
|
|
33202
33202
|
DZ,
|
|
33203
33203
|
T0,
|
|
33204
33204
|
Yf
|
|
33205
33205
|
].concat(D0)), ZZ = (t) => Ea("nestedmenuitem", P7, t), B7 = Ko([
|
|
33206
|
-
|
|
33206
|
+
Ti,
|
|
33207
33207
|
Yf,
|
|
33208
33208
|
O3,
|
|
33209
33209
|
T0,
|
|
@@ -35367,16 +35367,16 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
35367
35367
|
Di,
|
|
35368
35368
|
Wi,
|
|
35369
35369
|
gi,
|
|
35370
|
-
|
|
35371
|
-
|
|
35370
|
+
Tl,
|
|
35371
|
+
Ei,
|
|
35372
35372
|
pi
|
|
35373
35373
|
]),
|
|
35374
35374
|
onRtl: J([
|
|
35375
35375
|
Di,
|
|
35376
35376
|
Wi,
|
|
35377
35377
|
gi,
|
|
35378
|
-
|
|
35379
|
-
|
|
35378
|
+
Tl,
|
|
35379
|
+
Ei,
|
|
35380
35380
|
pi
|
|
35381
35381
|
])
|
|
35382
35382
|
},
|
|
@@ -35567,13 +35567,13 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
35567
35567
|
},
|
|
35568
35568
|
layouts: {
|
|
35569
35569
|
onRtl: () => [
|
|
35570
|
-
|
|
35570
|
+
Ei,
|
|
35571
35571
|
gi,
|
|
35572
35572
|
Di
|
|
35573
35573
|
],
|
|
35574
35574
|
onLtr: () => [
|
|
35575
35575
|
gi,
|
|
35576
|
-
|
|
35576
|
+
Ei,
|
|
35577
35577
|
Di
|
|
35578
35578
|
]
|
|
35579
35579
|
},
|
|
@@ -35976,7 +35976,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
35976
35976
|
At("snapToGrid", !1),
|
|
35977
35977
|
At("rounded", !0),
|
|
35978
35978
|
er("snapStart"),
|
|
35979
|
-
Js("model",
|
|
35979
|
+
Js("model", Si("mode", {
|
|
35980
35980
|
x: [
|
|
35981
35981
|
At("minX", 0),
|
|
35982
35982
|
At("maxX", 100),
|
|
@@ -37962,7 +37962,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
37962
37962
|
Zs("onGrown"),
|
|
37963
37963
|
Zs("onStartGrow"),
|
|
37964
37964
|
At("expanded", !1),
|
|
37965
|
-
Js("dimension",
|
|
37965
|
+
Js("dimension", Si("property", {
|
|
37966
37966
|
width: [
|
|
37967
37967
|
oa("property", "width"),
|
|
37968
37968
|
oa("getDimension", (t) => Le(t) + "px")
|
|
@@ -38366,7 +38366,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
38366
38366
|
};
|
|
38367
38367
|
};
|
|
38368
38368
|
var iK = [
|
|
38369
|
-
Js("stream",
|
|
38369
|
+
Js("stream", Si("mode", {
|
|
38370
38370
|
throttle: [
|
|
38371
38371
|
un("delay"),
|
|
38372
38372
|
At("stopEvent", !0),
|
|
@@ -38464,7 +38464,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
38464
38464
|
V3(t, E(se), se, Ee, m, Ct, ml.HighlightJustMenu).get(F);
|
|
38465
38465
|
}
|
|
38466
38466
|
},
|
|
38467
|
-
cancelEvent:
|
|
38467
|
+
cancelEvent: _l()
|
|
38468
38468
|
}),
|
|
38469
38469
|
Ao.config({
|
|
38470
38470
|
mode: "special",
|
|
@@ -38480,7 +38480,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
38480
38480
|
return N(he).bind((He) => Ae.getHighlighted(He)).map((He) => ($o(se, _6(), { item: He }), !0));
|
|
38481
38481
|
{
|
|
38482
38482
|
const He = to.getValue(se);
|
|
38483
|
-
return Os(se,
|
|
38483
|
+
return Os(se, _l()), t.onExecute(he, se, He), Ee && Gs.close(he), M.some(!0);
|
|
38484
38484
|
}
|
|
38485
38485
|
}
|
|
38486
38486
|
}),
|
|
@@ -38511,7 +38511,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
38511
38511
|
}),
|
|
38512
38512
|
sn(_6(), (se, he) => {
|
|
38513
38513
|
const Ee = ri.getCoupled(se, "sandbox");
|
|
38514
|
-
TA(t.model, se, he.event.item), Os(se,
|
|
38514
|
+
TA(t.model, se, he.event.item), Os(se, _l()), t.onItemExecute(se, Ee, he.event.item, to.getValue(se)), Gs.close(Ee), RL(se);
|
|
38515
38515
|
})
|
|
38516
38516
|
].concat(t.dismissOnBlur ? [sn(bg(), (se) => {
|
|
38517
38517
|
const he = ri.getCoupled(se, "sandbox");
|
|
@@ -39131,16 +39131,16 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
39131
39131
|
Di,
|
|
39132
39132
|
Wi,
|
|
39133
39133
|
gi,
|
|
39134
|
-
|
|
39135
|
-
|
|
39134
|
+
Tl,
|
|
39135
|
+
Ei,
|
|
39136
39136
|
pi
|
|
39137
39137
|
]),
|
|
39138
39138
|
onRtl: J([
|
|
39139
39139
|
Di,
|
|
39140
39140
|
Wi,
|
|
39141
39141
|
gi,
|
|
39142
|
-
|
|
39143
|
-
|
|
39142
|
+
Tl,
|
|
39143
|
+
Ei,
|
|
39144
39144
|
pi
|
|
39145
39145
|
])
|
|
39146
39146
|
},
|
|
@@ -39273,11 +39273,11 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
39273
39273
|
layouts: {
|
|
39274
39274
|
onRtl: () => [
|
|
39275
39275
|
gi,
|
|
39276
|
-
|
|
39276
|
+
Ei,
|
|
39277
39277
|
Di
|
|
39278
39278
|
],
|
|
39279
39279
|
onLtr: () => [
|
|
39280
|
-
|
|
39280
|
+
Ei,
|
|
39281
39281
|
gi,
|
|
39282
39282
|
Di
|
|
39283
39283
|
]
|
|
@@ -39902,7 +39902,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
39902
39902
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
39903
39903
|
transitionClass: "tox-editor-dock-transition"
|
|
39904
39904
|
}, Q6 = "tox-tinymce--toolbar-sticky-on", p9 = "tox-tinymce--toolbar-sticky-off", fX = (t, a) => {
|
|
39905
|
-
const c = Sr(a), b =
|
|
39905
|
+
const c = Sr(a), b = Cl(a).dom.innerHeight, x = al(c), E = qt.fromDom(t.elm), N = Ml(E), P = $a(E), z = N.y, Y = z + P, se = ci(a), he = $a(a), Ee = se.top, He = Ee + he, Ve = Math.abs(Ee - x.top) < 2, Ct = Math.abs(He - (x.top + b)) < 2;
|
|
39906
39906
|
if (Ve && z < He)
|
|
39907
39907
|
Vd(x.left, z - he, c);
|
|
39908
39908
|
else if (Ct && Y > Ee) {
|
|
@@ -40030,7 +40030,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
40030
40030
|
behaviours: Nn(c(a, t.sharedBackstage))
|
|
40031
40031
|
};
|
|
40032
40032
|
}, G0 = Ko([
|
|
40033
|
-
|
|
40033
|
+
Ti,
|
|
40034
40034
|
Js("items", mg([
|
|
40035
40035
|
A1([
|
|
40036
40036
|
SD,
|
|
@@ -40050,10 +40050,10 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
40050
40050
|
Dr("onSetup", () => F),
|
|
40051
40051
|
ua("context", "mode:design")
|
|
40052
40052
|
], b_ = Ko([
|
|
40053
|
-
|
|
40053
|
+
Ti,
|
|
40054
40054
|
...v_
|
|
40055
40055
|
]), tM = (t) => Ea("menubutton", b_, t), x9 = Ko([
|
|
40056
|
-
|
|
40056
|
+
Ti,
|
|
40057
40057
|
Ex,
|
|
40058
40058
|
Yf,
|
|
40059
40059
|
Jh,
|
|
@@ -40705,19 +40705,19 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
40705
40705
|
}),
|
|
40706
40706
|
layouts: {
|
|
40707
40707
|
onLtr: () => [
|
|
40708
|
-
|
|
40708
|
+
Ei,
|
|
40709
40709
|
gi
|
|
40710
40710
|
],
|
|
40711
40711
|
onRtl: () => [
|
|
40712
40712
|
gi,
|
|
40713
|
-
|
|
40713
|
+
Ei
|
|
40714
40714
|
],
|
|
40715
40715
|
onBottomLtr: () => [
|
|
40716
40716
|
pi,
|
|
40717
|
-
|
|
40717
|
+
Tl
|
|
40718
40718
|
],
|
|
40719
40719
|
onBottomRtl: () => [
|
|
40720
|
-
|
|
40720
|
+
Tl,
|
|
40721
40721
|
pi
|
|
40722
40722
|
]
|
|
40723
40723
|
},
|
|
@@ -41100,8 +41100,8 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
41100
41100
|
togglebutton: eJ
|
|
41101
41101
|
}, tJ = [
|
|
41102
41102
|
Tu("type", ["group"]),
|
|
41103
|
-
I("buttons", [],
|
|
41104
|
-
], nJ =
|
|
41103
|
+
I("buttons", [], Si("type", fM))
|
|
41104
|
+
], nJ = Si("type", {
|
|
41105
41105
|
...fM,
|
|
41106
41106
|
group: tJ
|
|
41107
41107
|
}), U9 = Ko([
|
|
@@ -41662,7 +41662,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
41662
41662
|
return Promise.resolve();
|
|
41663
41663
|
}
|
|
41664
41664
|
}, SJ = (t, a) => {
|
|
41665
|
-
if (
|
|
41665
|
+
if (wi(qt.fromDom(t.getElement()))) {
|
|
41666
41666
|
const m = sx.DOM.styleSheetLoader, b = k_(t, "skin.shadowdom", a);
|
|
41667
41667
|
switch (b._kind) {
|
|
41668
41668
|
case "load-raw":
|
|
@@ -42860,7 +42860,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
42860
42860
|
se.unbind(), m.unbind(b, "resize", P), m.unbind(b, "scroll", Y), b = null;
|
|
42861
42861
|
});
|
|
42862
42862
|
}, cQ = (t, a, c) => {
|
|
42863
|
-
qh(t) &&
|
|
42863
|
+
qh(t) && kl(c.mainUi.mothership.element, c.popupUi.mothership), Hl(a, c.dialogUi.mothership);
|
|
42864
42864
|
};
|
|
42865
42865
|
var uQ = /* @__PURE__ */ Object.freeze({
|
|
42866
42866
|
__proto__: null,
|
|
@@ -42868,7 +42868,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
42868
42868
|
const { mainUi: x, uiMotherships: E } = a, N = _o(0), P = x.outerContainer;
|
|
42869
42869
|
_J(t);
|
|
42870
42870
|
const z = qt.fromDom(b.targetNode), Y = la(ea(z));
|
|
42871
|
-
|
|
42871
|
+
kl(z, x.mothership), cQ(t, Y, a), t.on("PostRender", () => {
|
|
42872
42872
|
aa.setSidebar(P, c.sidebar, k8(t));
|
|
42873
42873
|
}), t.on("SkinLoaded", () => {
|
|
42874
42874
|
LH(t, a, c, m), N.set(t.getWin().innerWidth), aa.setMenubar(P, oH(t, c)), aa.setViews(P, c.views), lQ(t, a);
|
|
@@ -43063,7 +43063,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
43063
43063
|
}
|
|
43064
43064
|
E.set(aa.getHeader(x.outerContainer).getOrDie());
|
|
43065
43065
|
const he = Z5(t);
|
|
43066
|
-
qh(t) ? (
|
|
43066
|
+
qh(t) ? (kl(N, x.mothership), kl(N, a.popupUi.mothership)) : Hl(he, x.mothership), Hl(he, a.dialogUi.mothership);
|
|
43067
43067
|
const Ee = () => {
|
|
43068
43068
|
LH(t, a, c, m), aa.setMenubar(x.outerContainer, oH(t, c)), P.show(), pQ(t, N, P, z), t.nodeChanged();
|
|
43069
43069
|
};
|
|
@@ -43591,34 +43591,34 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
43591
43591
|
onLtr: (P) => [
|
|
43592
43592
|
Di,
|
|
43593
43593
|
gi,
|
|
43594
|
-
|
|
43595
|
-
|
|
43594
|
+
Ei,
|
|
43595
|
+
Tl,
|
|
43596
43596
|
pi,
|
|
43597
43597
|
Wi
|
|
43598
43598
|
].concat(x(P)),
|
|
43599
43599
|
onRtl: (P) => [
|
|
43600
43600
|
Di,
|
|
43601
|
-
|
|
43601
|
+
Ei,
|
|
43602
43602
|
gi,
|
|
43603
43603
|
pi,
|
|
43604
|
-
|
|
43604
|
+
Tl,
|
|
43605
43605
|
Wi
|
|
43606
43606
|
].concat(x(P))
|
|
43607
43607
|
} : {
|
|
43608
43608
|
onLtr: (P) => [
|
|
43609
43609
|
Wi,
|
|
43610
43610
|
Di,
|
|
43611
|
-
|
|
43611
|
+
Tl,
|
|
43612
43612
|
gi,
|
|
43613
43613
|
pi,
|
|
43614
|
-
|
|
43614
|
+
Ei
|
|
43615
43615
|
].concat(x(P)),
|
|
43616
43616
|
onRtl: (P) => [
|
|
43617
43617
|
Wi,
|
|
43618
43618
|
Di,
|
|
43619
43619
|
pi,
|
|
43620
|
-
|
|
43621
|
-
|
|
43620
|
+
Ei,
|
|
43621
|
+
Tl,
|
|
43622
43622
|
gi
|
|
43623
43623
|
].concat(x(P))
|
|
43624
43624
|
};
|
|
@@ -44413,8 +44413,8 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
44413
44413
|
onLtr: () => [
|
|
44414
44414
|
Di,
|
|
44415
44415
|
gi,
|
|
44416
|
-
|
|
44417
|
-
|
|
44416
|
+
Ei,
|
|
44417
|
+
Tl,
|
|
44418
44418
|
pi,
|
|
44419
44419
|
Wi,
|
|
44420
44420
|
gf,
|
|
@@ -44426,10 +44426,10 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
44426
44426
|
],
|
|
44427
44427
|
onRtl: () => [
|
|
44428
44428
|
Di,
|
|
44429
|
-
|
|
44429
|
+
Ei,
|
|
44430
44430
|
gi,
|
|
44431
44431
|
pi,
|
|
44432
|
-
|
|
44432
|
+
Tl,
|
|
44433
44433
|
Wi,
|
|
44434
44434
|
gf,
|
|
44435
44435
|
u_,
|
|
@@ -45013,7 +45013,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45013
45013
|
}), Ee = zV(se), He = zV(he), Ve = oc(Ee.asSpec()), Ct = oc(He.asSpec()), Ke = (so, Bt, Jn, jn) => {
|
|
45014
45014
|
const ro = Bt.dom.getBoundingClientRect();
|
|
45015
45015
|
Cs(so.element, "display");
|
|
45016
|
-
const Ss =
|
|
45016
|
+
const Ss = Cl(qt.fromDom(t.getBody())).dom.innerHeight, Ur = Jn(ro), Ys = jn(ro, Ss);
|
|
45017
45017
|
(Ur || Ys) && In(so.element, "display", "none");
|
|
45018
45018
|
}, Et = (so, Bt, Jn, jn) => {
|
|
45019
45019
|
const ro = Jn(Bt);
|
|
@@ -45724,7 +45724,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45724
45724
|
}
|
|
45725
45725
|
}
|
|
45726
45726
|
}), Wee = Ko([
|
|
45727
|
-
|
|
45727
|
+
Ti,
|
|
45728
45728
|
SD
|
|
45729
45729
|
].concat(D0)), Zee = Kc, sR = [
|
|
45730
45730
|
kD("button"),
|
|
@@ -45764,14 +45764,14 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45764
45764
|
Yf,
|
|
45765
45765
|
Jh,
|
|
45766
45766
|
Fa("active", !1)
|
|
45767
|
-
], YV =
|
|
45767
|
+
], YV = Si("type", {
|
|
45768
45768
|
submit: rR,
|
|
45769
45769
|
cancel: rR,
|
|
45770
45770
|
custom: rR,
|
|
45771
45771
|
menu: Gee,
|
|
45772
45772
|
togglebutton: qV
|
|
45773
45773
|
}), qee = [
|
|
45774
|
-
|
|
45774
|
+
Ti,
|
|
45775
45775
|
Xh,
|
|
45776
45776
|
Tu("level", [
|
|
45777
45777
|
"info",
|
|
@@ -45782,10 +45782,10 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45782
45782
|
k3,
|
|
45783
45783
|
At("url", "")
|
|
45784
45784
|
], aR = Ko(qee), P_ = (t) => [
|
|
45785
|
-
|
|
45785
|
+
Ti,
|
|
45786
45786
|
t
|
|
45787
45787
|
], iR = [
|
|
45788
|
-
|
|
45788
|
+
Ti,
|
|
45789
45789
|
Xh,
|
|
45790
45790
|
Bm,
|
|
45791
45791
|
kD("button"),
|
|
@@ -45799,7 +45799,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45799
45799
|
$3,
|
|
45800
45800
|
ua("context", "mode:design")
|
|
45801
45801
|
], w4 = Ko(iR), Um = [
|
|
45802
|
-
|
|
45802
|
+
Ti,
|
|
45803
45803
|
SD
|
|
45804
45804
|
], hf = Um.concat([_D]), Yee = Um.concat([
|
|
45805
45805
|
xD,
|
|
@@ -45825,11 +45825,11 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45825
45825
|
ua("tag", "textarea"),
|
|
45826
45826
|
Ui("init")
|
|
45827
45827
|
]), B_ = uh((t) => Ea("customeditor.old", cl(nte), t).orThunk(() => Ea("customeditor.new", cl(tte), t))), ote = eo, ste = hf.concat([ua("context", "mode:design")]), nz = Ko(ste), rte = pg(), ate = (t) => [
|
|
45828
|
-
|
|
45828
|
+
Ti,
|
|
45829
45829
|
Cb("columns"),
|
|
45830
45830
|
t
|
|
45831
45831
|
], ite = [
|
|
45832
|
-
|
|
45832
|
+
Ti,
|
|
45833
45833
|
Ja("html"),
|
|
45834
45834
|
Jc("presets", "presentation", [
|
|
45835
45835
|
"presentation",
|
|
@@ -45854,7 +45854,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45854
45854
|
Bm,
|
|
45855
45855
|
ua("context", "mode:design")
|
|
45856
45856
|
]), dte = Ko(sz), fte = eo, ty = (t) => [
|
|
45857
|
-
|
|
45857
|
+
Ti,
|
|
45858
45858
|
xD,
|
|
45859
45859
|
t,
|
|
45860
45860
|
Jc("align", "start", [
|
|
@@ -45881,7 +45881,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45881
45881
|
Xh,
|
|
45882
45882
|
s2
|
|
45883
45883
|
]),
|
|
45884
|
-
|
|
45884
|
+
_i("size", 1),
|
|
45885
45885
|
Bm,
|
|
45886
45886
|
ua("context", "mode:design")
|
|
45887
45887
|
]), od = Ko(S4), x4 = eo, iz = hf.concat([
|
|
@@ -45893,10 +45893,10 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45893
45893
|
Ja("height")
|
|
45894
45894
|
]), gte = Um.concat([
|
|
45895
45895
|
xD,
|
|
45896
|
-
|
|
45897
|
-
|
|
45896
|
+
_i("min", 0),
|
|
45897
|
+
_i("max", 0)
|
|
45898
45898
|
]), zv = Ko(gte), vae = gm, pte = [
|
|
45899
|
-
|
|
45899
|
+
Ti,
|
|
45900
45900
|
gc("header", eo),
|
|
45901
45901
|
gc("cells", Eu(eo))
|
|
45902
45902
|
], uz = Ko(pte), N2 = hf.concat([
|
|
@@ -45921,7 +45921,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45921
45921
|
directory: ny,
|
|
45922
45922
|
leaf: mz
|
|
45923
45923
|
}), vte = [
|
|
45924
|
-
|
|
45924
|
+
Ti,
|
|
45925
45925
|
gc("items", yae),
|
|
45926
45926
|
Bf("onLeafAction"),
|
|
45927
45927
|
Bf("onToggleExpand"),
|
|
@@ -45939,7 +45939,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45939
45939
|
]), yte = Ko(wae), wte = Ko([
|
|
45940
45940
|
s2,
|
|
45941
45941
|
TD
|
|
45942
|
-
]), oy = (t) =>
|
|
45942
|
+
]), oy = (t) => xi("items", "items", Ic(), Eu(uh((a) => Ea(`Checking item of ${t}`, uR, a).fold((c) => ds.error(wd(c)), (c) => ds.value(c))))), uR = mi(() => pm("type", {
|
|
45943
45943
|
alertbanner: aR,
|
|
45944
45944
|
bar: Ko(P_(oy("bar"))),
|
|
45945
45945
|
button: w4,
|
|
@@ -45965,7 +45965,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45965
45965
|
tree: bte,
|
|
45966
45966
|
panel: dR
|
|
45967
45967
|
})), Cte = [
|
|
45968
|
-
|
|
45968
|
+
Ti,
|
|
45969
45969
|
At("classes", []),
|
|
45970
45970
|
gc("items", uR)
|
|
45971
45971
|
], dR = Ko(Cte), Ste = [
|
|
@@ -45973,7 +45973,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
45973
45973
|
C7,
|
|
45974
45974
|
gc("items", uR)
|
|
45975
45975
|
], Cae = [
|
|
45976
|
-
|
|
45976
|
+
Ti,
|
|
45977
45977
|
$y("tabs", Ste)
|
|
45978
45978
|
], e = Ko(Cae), n = GV, r = YV, l = Ko([
|
|
45979
45979
|
Ja("title"),
|
|
@@ -46168,7 +46168,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
46168
46168
|
configFields: [
|
|
46169
46169
|
At("uid", void 0),
|
|
46170
46170
|
un("value"),
|
|
46171
|
-
|
|
46171
|
+
xi("dom", "dom", H(() => ({
|
|
46172
46172
|
attributes: {
|
|
46173
46173
|
role: "tab",
|
|
46174
46174
|
id: no("aria"),
|
|
@@ -46255,11 +46255,11 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
46255
46255
|
dom: t.dom,
|
|
46256
46256
|
behaviours: si(t.tabviewBehaviours, [ns.config({})]),
|
|
46257
46257
|
domModification: { attributes: { role: "tabpanel" } }
|
|
46258
|
-
}),
|
|
46258
|
+
}), Al = au({
|
|
46259
46259
|
name: "Tabview",
|
|
46260
46260
|
configFields: [fl("tabviewBehaviours", [ns])],
|
|
46261
46261
|
factory: vi
|
|
46262
|
-
}),
|
|
46262
|
+
}), Ol = J([
|
|
46263
46263
|
At("selectFirst", !0),
|
|
46264
46264
|
Zs("onChangeTab"),
|
|
46265
46265
|
Zs("onDismissTab"),
|
|
@@ -46277,7 +46277,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
46277
46277
|
name: "tabbar",
|
|
46278
46278
|
defaults: (t) => ({ tabs: t.tabs })
|
|
46279
46279
|
}), Mo = Vl({
|
|
46280
|
-
factory:
|
|
46280
|
+
factory: Al,
|
|
46281
46281
|
name: "tabview"
|
|
46282
46282
|
}), lr = J([
|
|
46283
46283
|
Kn,
|
|
@@ -46330,7 +46330,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
46330
46330
|
};
|
|
46331
46331
|
}, Sn = sc({
|
|
46332
46332
|
name: "TabSection",
|
|
46333
|
-
configFields:
|
|
46333
|
+
configFields: Ol(),
|
|
46334
46334
|
partFields: lr(),
|
|
46335
46335
|
factory: co,
|
|
46336
46336
|
apis: {
|
|
@@ -47844,7 +47844,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
47844
47844
|
$ = X;
|
|
47845
47845
|
}
|
|
47846
47846
|
return V;
|
|
47847
|
-
},
|
|
47847
|
+
}, yi = (g) => ce.from(g.dom.previousSibling).map(gn.fromDom), ya = (g) => ce.from(g.dom.nextSibling).map(gn.fromDom), Qo = (g) => st(g.dom.childNodes, gn.fromDom), us = (g, y) => {
|
|
47848
47848
|
const T = g.dom.childNodes;
|
|
47849
47849
|
return ce.from(T[y]).map(gn.fromDom);
|
|
47850
47850
|
}, ms = (g) => us(g, 0), ka = (g, y) => {
|
|
@@ -47894,7 +47894,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
47894
47894
|
}, ic = (g) => {
|
|
47895
47895
|
const y = Qo(g);
|
|
47896
47896
|
y.length > 0 && Oc(g, y), Sr(g);
|
|
47897
|
-
}, ki = (g, y) => gn.fromDom(g.dom.cloneNode(y)),
|
|
47897
|
+
}, ki = (g, y) => gn.fromDom(g.dom.cloneNode(y)), Cl = (g) => ki(g, !1), Ca = (g) => ki(g, !0), lc = (g, y) => {
|
|
47898
47898
|
const T = gn.fromTag(y), $ = Vt(g);
|
|
47899
47899
|
return Ir(T, $), T;
|
|
47900
47900
|
}, Bi = (g, y) => {
|
|
@@ -47945,7 +47945,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
47945
47945
|
element: g,
|
|
47946
47946
|
isNew: y,
|
|
47947
47947
|
isLocked: T
|
|
47948
|
-
}),
|
|
47948
|
+
}), wi = (g, y, T, $) => ({
|
|
47949
47949
|
element: g,
|
|
47950
47950
|
cells: y,
|
|
47951
47951
|
section: T,
|
|
@@ -48050,9 +48050,9 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
48050
48050
|
});
|
|
48051
48051
|
}, Ia = (g, y) => {
|
|
48052
48052
|
const T = g.dom, V = window.getComputedStyle(T).getPropertyValue(y);
|
|
48053
|
-
return V === "" && !en(g) ?
|
|
48054
|
-
},
|
|
48055
|
-
const T = g.dom, $ =
|
|
48053
|
+
return V === "" && !en(g) ? Sl(T, y) : V;
|
|
48054
|
+
}, Sl = (g, y) => ln(g) ? g.style.getPropertyValue(y) : "", Vi = (g, y) => {
|
|
48055
|
+
const T = g.dom, $ = Sl(T, y);
|
|
48056
48056
|
return ce.from($).filter((V) => V.length > 0);
|
|
48057
48057
|
}, Gr = (g, y) => {
|
|
48058
48058
|
const T = g.dom;
|
|
@@ -48350,20 +48350,20 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
48350
48350
|
}, lh = (g, y, T) => lp(g, y, [T]), ds = (g, y, T) => {
|
|
48351
48351
|
const $ = g.cells;
|
|
48352
48352
|
$[y] = T;
|
|
48353
|
-
}, Pa = (g, y) =>
|
|
48353
|
+
}, Pa = (g, y) => wi(g.element, y, g.section, g.isNew), zd = (g, y) => {
|
|
48354
48354
|
const T = g.cells, $ = st(T, y);
|
|
48355
|
-
return
|
|
48356
|
-
}, Kl = (g, y) => g.cells[y], Il = (g, y) => Kl(g, y).element, fc = (g) => g.cells.length,
|
|
48355
|
+
return wi(g.element, $, g.section, g.isNew);
|
|
48356
|
+
}, Kl = (g, y) => g.cells[y], Il = (g, y) => Kl(g, y).element, fc = (g) => g.cells.length, Ci = (g) => {
|
|
48357
48357
|
const y = Ot(g, (T) => T.section === "colgroup");
|
|
48358
48358
|
return {
|
|
48359
48359
|
rows: y.fail,
|
|
48360
48360
|
cols: y.pass
|
|
48361
48361
|
};
|
|
48362
|
-
},
|
|
48362
|
+
}, xl = (g, y, T) => {
|
|
48363
48363
|
const $ = st(g.cells, T);
|
|
48364
|
-
return
|
|
48364
|
+
return wi(y(g.element), $, g.section, !0);
|
|
48365
48365
|
}, Rc = "data-snooker-locked-cols", cp = (g) => Je(g, Rc).bind((y) => ce.from(y.match(/\d+/g))).map((y) => ee(y, De)), qr = (g) => {
|
|
48366
|
-
const y = Ie(
|
|
48366
|
+
const y = Ie(Ci(g).rows, ($, V) => (pe(V.cells, (X, de) => {
|
|
48367
48367
|
X.isLocked && ($[de] = !0);
|
|
48368
48368
|
}), $), {}), T = vn(y, ($, V) => parseInt(V, 10));
|
|
48369
48369
|
return ae(T);
|
|
@@ -48586,13 +48586,13 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
48586
48586
|
}, $n = (g, y, T) => {
|
|
48587
48587
|
const $ = T(g), V = Ai(g, y);
|
|
48588
48588
|
return $ / V;
|
|
48589
|
-
}, Xl = (g, y) => Vi(g, y).orThunk(() => Je(g, y).map((T) => T + "px")), wd = (g) => Xl(g, "width"),
|
|
48589
|
+
}, Xl = (g, y) => Vi(g, y).orThunk(() => Je(g, y).map((T) => T + "px")), wd = (g) => Xl(g, "width"), Si = (g) => Xl(g, "height"), mp = (g) => gg(g, Rl, If), xi = (g) => Kc(g) ? Rl(g) : fg(g), Xs = (g) => wb(g) ? An(g) : $n(g, "rowspan", Ea), O1 = (g) => wd(g).bind((T) => Wd(T, [
|
|
48590
48590
|
"fixed",
|
|
48591
48591
|
"relative",
|
|
48592
48592
|
"empty"
|
|
48593
48593
|
])), un = (g, y, T) => {
|
|
48594
48594
|
hs(g, "width", y + T);
|
|
48595
|
-
}, Js = (g) => Rl(g) + "px", Cb = (g) => An(g) + "px", Ja = (g) => gg(g, Rl, If) + "%", Tu = (g) => wd(g).exists((y) => gm.test(y)), Ui = (g) => wd(g).exists((y) => eo.test(y)), fC = (g) => wd(g).isNone(), Zd = F(gm), $y = go("col"), gc = (g) => wd(g).getOrThunk(() =>
|
|
48595
|
+
}, Js = (g) => Rl(g) + "px", Cb = (g) => An(g) + "px", Ja = (g) => gg(g, Rl, If) + "%", Tu = (g) => wd(g).exists((y) => gm.test(y)), Ui = (g) => wd(g).exists((y) => eo.test(y)), fC = (g) => wd(g).isNone(), Zd = F(gm), $y = go("col"), gc = (g) => wd(g).getOrThunk(() => xi(g) + "px"), er = (g) => Si(g).getOrThunk(() => Xs(g) + "px"), Gd = (g) => st(As.justColumns(g), (y) => ce.from(y.element)), dh = (g) => {
|
|
48596
48596
|
const y = Vu().browser, T = y.isChromium() || y.isFirefox();
|
|
48597
48597
|
return $y(g) ? T : !0;
|
|
48598
48598
|
}, Ba = (g, y, T, $, V, X) => g.filter($).fold(() => X(te(T, y)), (de) => V(de)), fh = (g, y, T, $) => {
|
|
@@ -48605,10 +48605,10 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
48605
48605
|
return Ba(Tn, ct, de, Te, (Xn) => $(ce.some(Rl(Xn))), $);
|
|
48606
48606
|
}
|
|
48607
48607
|
}, $));
|
|
48608
|
-
}, Bf = (g) => g.map((y) => y + "px").getOr(""), Dy = (g, y) => fh(g, y, gc, Bf), Jl = (g, y, T) => fh(g, y, mp, ($) => $.fold(() => T.minCellWidth(), (V) => V / T.pixelWidth() * 100)), Xc = (g, y, T) => fh(g, y,
|
|
48608
|
+
}, Bf = (g) => g.map((y) => y + "px").getOr(""), Dy = (g, y) => fh(g, y, gc, Bf), Jl = (g, y, T) => fh(g, y, mp, ($) => $.fold(() => T.minCellWidth(), (V) => V / T.pixelWidth() * 100)), Xc = (g, y, T) => fh(g, y, xi, ($) => $.getOrThunk(T.minCellWidth)), At = (g, y, T, $) => {
|
|
48609
48609
|
const V = H(g), X = st(g.all, (Te) => ce.some(Te.element)), de = [ce.some(cl.edge(y))].concat(st(cl.positions(V, y), (Te) => Te.map((Ae) => Ae.y)));
|
|
48610
48610
|
return st(X, (Te, Ae) => Ba(Te, Ae, de, De, T, $));
|
|
48611
|
-
}, Bc = (g, y) => At(g, y, Xs, (T) => T.getOrThunk(ng)),
|
|
48611
|
+
}, Bc = (g, y) => At(g, y, Xs, (T) => T.getOrThunk(ng)), _i = (g, y) => At(g, y, er, Bf), ua = (g, y) => () => en(g) ? y(g) : parseFloat(Vi(g, "width").getOr("0")), Jc = (g) => {
|
|
48612
48612
|
const y = ua(g, Rl), T = F(0);
|
|
48613
48613
|
return {
|
|
48614
48614
|
width: y,
|
|
@@ -48755,7 +48755,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
48755
48755
|
}, Wa = (g) => g, D1 = (g, y, T) => hp(g).map((V) => {
|
|
48756
48756
|
const X = T.join(","), de = Rn(V, X, (Te) => kn(Te, g));
|
|
48757
48757
|
return yt(de, (Te, Ae) => {
|
|
48758
|
-
const ct =
|
|
48758
|
+
const ct = Cl(Ae);
|
|
48759
48759
|
return cr(Te, ct), ct;
|
|
48760
48760
|
}, y);
|
|
48761
48761
|
}).getOr(y), gh = (g, y) => {
|
|
@@ -48883,7 +48883,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
48883
48883
|
}, bp = Pl("table_header_type"), Qa = Pl("table_column_resizing"), AE = (g) => Qa(g) === "preservetable", ym = (g) => Qa(g) === "resizetable", bg = Pl("table_sizing_mode"), ph = (g) => bg(g) === "relative", Yd = (g) => bg(g) === "fixed", tc = (g) => bg(g) === "responsive", hh = Pl("table_resize_bars"), Sb = Pl("table_style_by_css"), FI = Pl("table_merge_content_on_paste"), wm = (g) => {
|
|
48884
48884
|
const y = g.options, T = y.get("table_default_attributes");
|
|
48885
48885
|
return y.isSet("table_default_attributes") ? T : bm(g, T);
|
|
48886
|
-
},
|
|
48886
|
+
}, _l = (g) => {
|
|
48887
48887
|
const y = g.options, T = y.get("table_default_styles");
|
|
48888
48888
|
return y.isSet("table_default_styles") ? T : vg(g, T);
|
|
48889
48889
|
}, xb = Pl("table_use_colgroups"), kO = Pl("fixed_toolbar_container"), AO = Pl("fixed_toolbar_container_target"), mC = (g) => {
|
|
@@ -49035,7 +49035,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49035
49035
|
}),
|
|
49036
49036
|
query: F({
|
|
49037
49037
|
comparePosition: X,
|
|
49038
|
-
prevSibling:
|
|
49038
|
+
prevSibling: yi,
|
|
49039
49039
|
nextSibling: ya
|
|
49040
49040
|
}),
|
|
49041
49041
|
property: F({
|
|
@@ -49318,7 +49318,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49318
49318
|
}, HE = (g) => Me(g.all, (y) => {
|
|
49319
49319
|
const T = FE(y);
|
|
49320
49320
|
return T.type === "header" ? ce.from(T.subType) : ce.none();
|
|
49321
|
-
}), Sh = (g, y, T) => la(T(g.element, y), !0, g.isLocked), xC = (g, y) => g.section !== y ?
|
|
49321
|
+
}), Sh = (g, y, T) => la(T(g.element, y), !0, g.isLocked), xC = (g, y) => g.section !== y ? wi(g.element, g.cells, y, g.isNew) : g, VE = () => ({
|
|
49322
49322
|
transformRow: xC,
|
|
49323
49323
|
transformCell: (g, y, T) => {
|
|
49324
49324
|
const $ = T(g.element, y), V = Ls($) !== "td" ? cc($, "td") : $;
|
|
@@ -49394,7 +49394,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49394
49394
|
newCells: $
|
|
49395
49395
|
};
|
|
49396
49396
|
}, V1 = (g) => st(g, (y) => {
|
|
49397
|
-
const T =
|
|
49397
|
+
const T = Cl(y.element);
|
|
49398
49398
|
return pe(y.cells, ($) => {
|
|
49399
49399
|
const V = Ca($.element);
|
|
49400
49400
|
H1(V, "colspan", $.colspan, 1), H1(V, "rowspan", $.rowspan, 1), cr(T, V);
|
|
@@ -49434,7 +49434,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49434
49434
|
const Te = As.getColumnAt(g, de).map((Ae) => la(Ae.element, T, !1)).getOrThunk(() => la(y.colGap(), !0, !1));
|
|
49435
49435
|
X.push(Te);
|
|
49436
49436
|
}
|
|
49437
|
-
$.push(
|
|
49437
|
+
$.push(wi(V.element, X, "colgroup", T));
|
|
49438
49438
|
});
|
|
49439
49439
|
for (let V = 0; V < g.grid.rows; V++) {
|
|
49440
49440
|
const X = [];
|
|
@@ -49442,7 +49442,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49442
49442
|
const ct = As.getAt(g, V, Ae).map((Pt) => la(Pt.element, T, Pt.isLocked)).getOrThunk(() => la(y.gap(), !0, !1));
|
|
49443
49443
|
X.push(ct);
|
|
49444
49444
|
}
|
|
49445
|
-
const de = g.all[V], Te =
|
|
49445
|
+
const de = g.all[V], Te = wi(de.element, X, de.section, T);
|
|
49446
49446
|
$.push(Te);
|
|
49447
49447
|
}
|
|
49448
49448
|
return $;
|
|
@@ -49480,7 +49480,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49480
49480
|
generators: y.generators,
|
|
49481
49481
|
clipboard: y.clipboard
|
|
49482
49482
|
})), U1 = (g, y) => y.mergable, FO = (g, y) => y.unmergable, eu = (g, y) => Bb(g, y, De), tu = (g, y) => Bb(g, y, (T) => !T.isLocked), WE = (g, y) => kp(g, y).exists((T) => !T.isLocked), xh = (g, y) => Gt(y, (T) => WE(g, T)), Ap = (g, y) => U1(g, y).filter((T) => xh(g, T.cells)), Op = (g, y) => FO(g, y).filter((T) => xh(g, T)), LO = (g, y, T, $) => {
|
|
49483
|
-
const V =
|
|
49483
|
+
const V = Ci(g).rows;
|
|
49484
49484
|
if (V.length === 0)
|
|
49485
49485
|
return g;
|
|
49486
49486
|
for (let X = y.startRow; X <= y.finishRow; X++)
|
|
@@ -49490,7 +49490,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49490
49490
|
}
|
|
49491
49491
|
return g;
|
|
49492
49492
|
}, ji = (g, y, T, $) => {
|
|
49493
|
-
const V =
|
|
49493
|
+
const V = Ci(g).rows;
|
|
49494
49494
|
let X = !0;
|
|
49495
49495
|
for (let de = 0; de < V.length; de++)
|
|
49496
49496
|
for (let Te = 0; Te < fc(V[0]); Te++) {
|
|
@@ -49505,7 +49505,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49505
49505
|
for (; V.cells.length > y + de && T(X.element, V.cells[y + de].element); )
|
|
49506
49506
|
ds(V, y + de, la(Te, !0, V.cells[y + de].isLocked)), de++;
|
|
49507
49507
|
}), g), EC = (g, y, T, $) => {
|
|
49508
|
-
const V =
|
|
49508
|
+
const V = Ci(g).rows;
|
|
49509
49509
|
if (y > 0 && y < V.length) {
|
|
49510
49510
|
const X = V[y - 1].cells, de = qy(X, T);
|
|
49511
49511
|
pe(de, (Te) => {
|
|
@@ -49594,7 +49594,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49594
49594
|
}, j1 = (g, y, T, $) => {
|
|
49595
49595
|
const V = g[g.length - 1];
|
|
49596
49596
|
return g.concat(tt(y, () => {
|
|
49597
|
-
const X = V.section === "colgroup" ? T.colgroup : T.row, de =
|
|
49597
|
+
const X = V.section === "colgroup" ? T.colgroup : T.row, de = xl(V, X, fe), Te = Vf(de.cells.length, de, T, (Ae) => ao($, Ae.toString()));
|
|
49598
49598
|
return Pa(de, Te);
|
|
49599
49599
|
}));
|
|
49600
49600
|
}, Zs = (g, y, T, $) => st(g, (V) => {
|
|
@@ -49625,13 +49625,13 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49625
49625
|
}
|
|
49626
49626
|
return y;
|
|
49627
49627
|
}, AC = (g, y, T) => {
|
|
49628
|
-
const $ = fc(y[0]), V =
|
|
49628
|
+
const $ = fc(y[0]), V = Ci(y).cols.length + g.row, X = tt($ - g.column, (Te) => Te + g.column), de = ne(X, (Te) => Gt(T, (Ae) => Ae !== Te)).getOr($ - 1);
|
|
49629
49629
|
return {
|
|
49630
49630
|
row: V,
|
|
49631
49631
|
column: de
|
|
49632
49632
|
};
|
|
49633
49633
|
}, Dp = (g, y, T) => ze(T, ($) => $ >= g.column && $ <= fc(y[0]) + g.column), Eh = (g, y, T, $, V) => {
|
|
49634
|
-
const X = qr(y), de = AC(g, y, X), Te =
|
|
49634
|
+
const X = qr(y), de = AC(g, y, X), Te = Ci(T).rows, Ae = Dp(de, Te, X);
|
|
49635
49635
|
return _d(de, y, Te).map((Pt) => {
|
|
49636
49636
|
const Tn = {
|
|
49637
49637
|
...Pt,
|
|
@@ -49651,7 +49651,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49651
49651
|
}, Ae = Yu(y, Te, $), {
|
|
49652
49652
|
cols: ct,
|
|
49653
49653
|
rows: Pt
|
|
49654
|
-
} =
|
|
49654
|
+
} = Ci(Ae), Tn = qr(Ae), Xn = TC(T, y), Pn = {
|
|
49655
49655
|
...Xn,
|
|
49656
49656
|
colDelta: Xn.colDelta + Tn.length
|
|
49657
49657
|
}, Ln = vc(T, $, Tn), ho = Yu(Ln, Pn, $);
|
|
@@ -49661,8 +49661,8 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49661
49661
|
...ho,
|
|
49662
49662
|
...Pt.slice(g, Pt.length)
|
|
49663
49663
|
];
|
|
49664
|
-
}, ma = (g, y, T, $) =>
|
|
49665
|
-
const { rows: X, cols: de } =
|
|
49664
|
+
}, ma = (g, y, T, $) => xl(g, (V) => $(V, T), y), W1 = (g, y, T, $, V) => {
|
|
49665
|
+
const { rows: X, cols: de } = Ci(g), Te = X.slice(0, y), Ae = X.slice(y), ct = ma(X[T], (Pt, Tn) => y > 0 && y < X.length && $(Il(X[y - 1], Tn), Il(X[y], Tn)) ? Kl(X[y], Tn) : la(V(Pt.element, $), !0, Pt.isLocked), $, V);
|
|
49666
49666
|
return [
|
|
49667
49667
|
...de,
|
|
49668
49668
|
...Te,
|
|
@@ -49680,9 +49680,9 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49680
49680
|
return lh(X, y, Te);
|
|
49681
49681
|
}), Z1 = (g, y) => _t(g, (T) => {
|
|
49682
49682
|
const $ = T.cells, V = yt(y, (X, de) => de >= 0 && de < X.length ? X.slice(0, de).concat(X.slice(de + 1)) : X, $);
|
|
49683
|
-
return V.length > 0 ? [
|
|
49683
|
+
return V.length > 0 ? [wi(T.element, V, T.section, T.isNew)] : [];
|
|
49684
49684
|
}), Ed = (g, y, T) => {
|
|
49685
|
-
const { rows: $, cols: V } =
|
|
49685
|
+
const { rows: $, cols: V } = Ci(g);
|
|
49686
49686
|
return [
|
|
49687
49687
|
...V,
|
|
49688
49688
|
...$.slice(0, y),
|
|
@@ -49706,10 +49706,10 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49706
49706
|
const $ = g[y];
|
|
49707
49707
|
return _t($.cells, (V, X) => no(g, y, X, T) ? [] : [V]);
|
|
49708
49708
|
}, zb = (g, y, T, $, V) => {
|
|
49709
|
-
const X =
|
|
49709
|
+
const X = Ci(g).rows, de = _t(y, (Pt) => kh(X, Pt, $)), Te = st(X, (Pt) => jy(Pt.cells)), Ae = zO(de, Te), ct = UO(T, Te);
|
|
49710
49710
|
return Th(g, de, $, V, Vb, ct, Ae);
|
|
49711
49711
|
}, XE = (g, y, T, $, V, X, de) => {
|
|
49712
|
-
const { cols: Te, rows: Ae } =
|
|
49712
|
+
const { cols: Te, rows: Ae } = Ci(g), ct = Ae[y[0]], Pt = _t(y, (On) => jO(Ae, On, V)), Tn = st(ct.cells, (On, zo) => jy(kh(Ae, zo, V))), Xn = [...Ae];
|
|
49713
49713
|
pe(y, (On) => {
|
|
49714
49714
|
Xn[On] = de.transformRow(Ae[On], T);
|
|
49715
49715
|
});
|
|
@@ -49719,7 +49719,7 @@ The conflicting element is` + (qe(se.element) ? " " : " not ") + "already in the
|
|
|
49719
49719
|
], Ln = VO(ct, Tn), ho = KE($, Tn);
|
|
49720
49720
|
return Th(Pn, Pt, V, X, de.transformCell, ho, Ln);
|
|
49721
49721
|
}, Ub = (g, y, T, $) => {
|
|
49722
|
-
const V =
|
|
49722
|
+
const V = Ci(g).rows, X = st(y, (de) => Kl(V[de.row], de.column));
|
|
49723
49723
|
return Th(g, X, T, $, Vb, ce.none, De);
|
|
49724
49724
|
}, Hc = { generate: (g) => {
|
|
49725
49725
|
if (!C(g))
|
|
@@ -49878,7 +49878,7 @@ Required: ` + y.join(", "));
|
|
|
49878
49878
|
return $(Ae, Te).fold(() => V(Ae), (ct) => Te(de, ct.item) ? ct.sub : V(Ae));
|
|
49879
49879
|
}
|
|
49880
49880
|
} };
|
|
49881
|
-
}, RC = (g) => Je(g, "scope").map((y) => y.substr(0, 3)),
|
|
49881
|
+
}, RC = (g) => Je(g, "scope").map((y) => y.substr(0, 3)), El = {
|
|
49882
49882
|
modification: Oh,
|
|
49883
49883
|
transform: JO,
|
|
49884
49884
|
merging: (g) => ({
|
|
@@ -49976,7 +49976,7 @@ Required: ` + y.join(", "));
|
|
|
49976
49976
|
return tg(Qy($), $);
|
|
49977
49977
|
})), t$ = (g, y, T) => {
|
|
49978
49978
|
var $, V;
|
|
49979
|
-
const X =
|
|
49979
|
+
const X = Ci(g).rows;
|
|
49980
49980
|
return ce.from((V = ($ = X[y]) === null || $ === void 0 ? void 0 : $.cells[T]) === null || V === void 0 ? void 0 : V.element).filter(Qy).orThunk(() => oT(X));
|
|
49981
49981
|
}, Vc = (g, y, T) => {
|
|
49982
49982
|
const $ = t$(g, y, T);
|
|
@@ -50024,7 +50024,7 @@ Required: ` + y.join(", "));
|
|
|
50024
50024
|
const V = _g(y.details), X = Z1(g, st(V, (Te) => Te.column)), de = X.length > 0 ? X[0].cells.length - 1 : 0;
|
|
50025
50025
|
return Vc(X, V[0].row, Math.min(V[0].column, de));
|
|
50026
50026
|
}, Au = (g, y, T, $) => {
|
|
50027
|
-
const V = nw(y), X = Ed(g, V[0].row, V[V.length - 1].row), de = Math.max(
|
|
50027
|
+
const V = nw(y), X = Ed(g, V[0].row, V[V.length - 1].row), de = Math.max(Ci(X).rows.length - 1, 0);
|
|
50028
50028
|
return Vc(X, Math.min(y[0].row, de), y[0].column);
|
|
50029
50029
|
}, cT = (g, y, T, $) => {
|
|
50030
50030
|
const V = y.cells;
|
|
@@ -50044,16 +50044,16 @@ Required: ` + y.join(", "));
|
|
|
50044
50044
|
const $ = og(g, T.section), V = As.generate($);
|
|
50045
50045
|
return Pb(V, y, !0);
|
|
50046
50046
|
}, dT = (g, y, T, $) => {
|
|
50047
|
-
const V =
|
|
50047
|
+
const V = Ci(g).rows, X = y.cells[0].column, de = V[y.cells[0].row], Te = jb(y.clipboard, y.generators, de), Ae = GE(X, g, Te, y.generators, T);
|
|
50048
50048
|
return Vc(Ae, y.cells[0].row, y.cells[0].column);
|
|
50049
50049
|
}, PC = (g, y, T, $) => {
|
|
50050
|
-
const V =
|
|
50050
|
+
const V = Ci(g).rows, X = y.cells[y.cells.length - 1].column + y.cells[y.cells.length - 1].colspan, de = V[y.cells[0].row], Te = jb(y.clipboard, y.generators, de), Ae = GE(X, g, Te, y.generators, T);
|
|
50051
50051
|
return Vc(Ae, y.cells[0].row, X);
|
|
50052
50052
|
}, BC = (g, y, T, $) => {
|
|
50053
|
-
const V =
|
|
50053
|
+
const V = Ci(g).rows, X = y.cells[0].row, de = V[X], Te = jb(y.clipboard, y.generators, de), Ae = qE(X, g, Te, y.generators, T);
|
|
50054
50054
|
return Vc(Ae, y.cells[0].row, y.cells[0].column);
|
|
50055
50055
|
}, fT = (g, y, T, $) => {
|
|
50056
|
-
const V =
|
|
50056
|
+
const V = Ci(g).rows, X = y.cells[y.cells.length - 1].row + y.cells[y.cells.length - 1].rowspan, de = V[y.cells[0].row], Te = jb(y.clipboard, y.generators, de), Ae = qE(X, g, Te, y.generators, T);
|
|
50057
50057
|
return Vc(Ae, X, y.cells[0].column);
|
|
50058
50058
|
}, Em = (g, y) => {
|
|
50059
50059
|
const T = As.fromTable(g);
|
|
@@ -50082,7 +50082,7 @@ Required: ` + y.join(", "));
|
|
|
50082
50082
|
})), Np = (g, y) => tu(g, y).map((T) => ({
|
|
50083
50083
|
details: T,
|
|
50084
50084
|
pixelDelta: -FC(g, T)
|
|
50085
|
-
})), ul = (g) => (y, T) => z1(y, T).filter(($) => !(g ? K1 : gT)(y, $.cells)), Tm =
|
|
50085
|
+
})), ul = (g) => (y, T) => z1(y, T).filter(($) => !(g ? K1 : gT)(y, $.cells)), Tm = El.transform("th"), X1 = El.transform("td"), hT = Da(sT, eu, q, q, El.modification), r$ = Da(n$, eu, q, q, El.modification), rw = Da(o$, pT(!0), ef, q, El.modification), LC = Da(rT, pT(!1), ef, q, El.modification), HC = Da(oc, Np, ef, ew, El.modification), VC = Da(Au, eu, q, ew, El.modification), vT = Da(ow, tu, q, q, Tm), bT = Da(aT, tu, q, q, X1), yT = Da(iT, eu, q, q, Tm), wT = Da(lT, eu, q, q, X1), a$ = Da(sw, eu, q, q, X1), Fl = Da(s$, tu, q, q, Tm), i$ = Da(ba, tu, q, q, X1), Eg = Da(cT, Ap, ar, q, El.merging), zC = Da(uT, Op, ar, q, El.merging), UC = Da(IC, jE, ar, q, El.modification), CT = Da(dT, ul(!0), q, q, El.modification), aw = Da(PC, ul(!1), q, q, El.modification), jC = Da(BC, z1, q, q, El.modification), WC = Da(fT, z1, q, q, El.modification), l$ = Em, c$ = nu, gi = mT, Ei = (g, y) => g.dispatch("NewRow", { node: y }), Tl = (g, y) => g.dispatch("NewCell", { node: y }), pi = (g, y, T) => {
|
|
50086
50086
|
g.dispatch("TableModified", {
|
|
50087
50087
|
...T,
|
|
50088
50088
|
table: y
|
|
@@ -50150,9 +50150,9 @@ Required: ` + y.join(", "));
|
|
|
50150
50150
|
};
|
|
50151
50151
|
return qS(Yi) ? Cc(Yi, Mg, a5, KS).bind((XS) => {
|
|
50152
50152
|
y.refresh(Yi.dom), pe(XS.newRows, (y0) => {
|
|
50153
|
-
|
|
50153
|
+
Ei(g, y0.dom);
|
|
50154
50154
|
}), pe(XS.newCells, (y0) => {
|
|
50155
|
-
|
|
50155
|
+
Tl(g, y0.dom);
|
|
50156
50156
|
});
|
|
50157
50157
|
const Ik = ct(Yi, XS);
|
|
50158
50158
|
return en(Yi) && (wp(Yi), r5 || pi(g, Yi.dom, Rm)), Ik.map((y0) => ({
|
|
@@ -50219,7 +50219,7 @@ Required: ` + y.join(", "));
|
|
|
50219
50219
|
}, ou = (g, y, T) => {
|
|
50220
50220
|
const $ = As.fromTable(g);
|
|
50221
50221
|
return eu($, y).bind((X) => {
|
|
50222
|
-
const de = Pb($, T, !1), Ae =
|
|
50222
|
+
const de = Pb($, T, !1), Ae = Ci(de).rows.slice(X[0].row, X[X.length - 1].row + X[X.length - 1].rowspan), ct = _t(Ae, (Tn) => {
|
|
50223
50223
|
const Xn = ze(Tn.cells, (Pn) => !Pn.isLocked);
|
|
50224
50224
|
return Xn.length > 0 ? [{
|
|
50225
50225
|
...Tn,
|
|
@@ -50301,7 +50301,7 @@ Required: ` + y.join(", "));
|
|
|
50301
50301
|
const Ae = g$(Te), ct = Rl(g), Pt = Dy($, g), Tn = cw(Pt, ct, Te);
|
|
50302
50302
|
As.hasColumns($) ? f$(Tn, de, Ae) : kT(Tn, X, Ae), hs(g, "width", Te);
|
|
50303
50303
|
}), T.each((Te) => {
|
|
50304
|
-
const Ae = An(g), ct =
|
|
50304
|
+
const Ae = An(g), ct = _i($, g), Pt = cw(ct, Ae, Te);
|
|
50305
50305
|
m$(Pt, V, X), hs(g, "height", Te);
|
|
50306
50306
|
});
|
|
50307
50307
|
}, dw = Tu, AT = Ui, Gb = fC, J1 = (g) => {
|
|
@@ -50361,12 +50361,12 @@ Required: ` + y.join(", "));
|
|
|
50361
50361
|
Li(y, "td,th").each(_e(b$, g));
|
|
50362
50362
|
}, y$ = (g, y) => {
|
|
50363
50363
|
pe(xs(y, "tr"), (T) => {
|
|
50364
|
-
|
|
50365
|
-
|
|
50364
|
+
Ei(g, T.dom), pe(xs(T, "th,td"), ($) => {
|
|
50365
|
+
Tl(g, $.dom);
|
|
50366
50366
|
});
|
|
50367
50367
|
});
|
|
50368
50368
|
}, Yb = (g) => v(g) && g.indexOf("%") !== -1, w$ = (g, y, T, $, V) => {
|
|
50369
|
-
const X =
|
|
50369
|
+
const X = _l(g), de = {
|
|
50370
50370
|
styles: X,
|
|
50371
50371
|
attributes: wm(g),
|
|
50372
50372
|
colGroups: xb(g)
|
|
@@ -50826,12 +50826,12 @@ Required: ` + y.join(", "));
|
|
|
50826
50826
|
retry: nf.tryDown,
|
|
50827
50827
|
failure: ov.failedDown
|
|
50828
50828
|
}, jf = {
|
|
50829
|
-
traverse:
|
|
50829
|
+
traverse: yi,
|
|
50830
50830
|
gather: nv,
|
|
50831
50831
|
relative: jc.before,
|
|
50832
50832
|
retry: nf.tryUp,
|
|
50833
50833
|
failure: ov.failedUp
|
|
50834
|
-
}, of = (g) => (y) => y === g, Hl = of(38),
|
|
50834
|
+
}, of = (g) => (y) => y === g, Hl = of(38), kl = of(40), Ni = (g) => g >= 37 && g <= 40, sf = {
|
|
50835
50835
|
isBackward: of(37),
|
|
50836
50836
|
isForward: of(39)
|
|
50837
50837
|
}, Ow = {
|
|
@@ -51017,12 +51017,12 @@ Required: ` + y.join(", "));
|
|
|
51017
51017
|
return {
|
|
51018
51018
|
keydown: (Ae, ct, Pt, Tn, Xn, Pn) => {
|
|
51019
51019
|
const Ln = Ae.raw, ho = Ln.which, On = Ln.shiftKey === !0;
|
|
51020
|
-
return Sg(y, $.selectedSelector).fold(() => (Ni(ho) && !On && $.clearBeforeUpdate(y), Ni(ho) && On && !cv(ct, Tn) ? ce.none :
|
|
51020
|
+
return Sg(y, $.selectedSelector).fold(() => (Ni(ho) && !On && $.clearBeforeUpdate(y), Ni(ho) && On && !cv(ct, Tn) ? ce.none : kl(ho) && On ? _e(Aw, V, y, T, Fp, Tn, ct, $.selectRange) : Hl(ho) && On ? _e(Aw, V, y, T, jf, Tn, ct, $.selectRange) : kl(ho) ? _e(Bp, V, T, Fp, Tn, ct, ok) : Hl(ho) ? _e(Bp, V, T, jf, Tn, ct, Ku) : ce.none), (hn) => {
|
|
51021
51021
|
const io = (vr) => () => Me(vr, (To) => O$(To.rows, To.cols, y, hn, $)).fold(() => yC(y, $.firstSelectedSelector, $.lastSelectedSelector).map((To) => {
|
|
51022
|
-
const zr =
|
|
51022
|
+
const zr = kl(ho) || Pn.isForward(ho) ? jc.after : jc.before;
|
|
51023
51023
|
return V.setRelativeSelection(jc.on(To.first, 0), zr(To.table)), $.clear(y), ev.create(ce.none(), !0);
|
|
51024
51024
|
}), (To) => ce.some(ev.create(ce.none(), !0)));
|
|
51025
|
-
return Ni(ho) && On && !cv(ct, Tn) ? ce.none :
|
|
51025
|
+
return Ni(ho) && On && !cv(ct, Tn) ? ce.none : kl(ho) && On ? io([Uh(1, 0)]) : Hl(ho) && On ? io([Uh(-1, 0)]) : Pn.isBackward(ho) && On ? io([
|
|
51026
51026
|
Uh(0, -1),
|
|
51027
51027
|
Uh(-1, 0)
|
|
51028
51028
|
]) : Pn.isForward(ho) && On ? io([
|
|
@@ -51140,7 +51140,7 @@ Required: ` + y.join(", "));
|
|
|
51140
51140
|
}, Nm = (g, y, T) => {
|
|
51141
51141
|
const $ = As.fromTable(g);
|
|
51142
51142
|
return eu($, y).map((X) => {
|
|
51143
|
-
const de = Pb($, T, !1), { rows: Te } =
|
|
51143
|
+
const de = Pb($, T, !1), { rows: Te } = Ci(de), Ae = wk(Te, X), ct = j$(Te, X);
|
|
51144
51144
|
return {
|
|
51145
51145
|
upOrLeftCells: Ae,
|
|
51146
51146
|
downOrRightCells: ct
|
|
@@ -52661,7 +52661,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52661
52661
|
elements: Ce,
|
|
52662
52662
|
state: rt
|
|
52663
52663
|
}), Oo = "details", Zo = "mce-accordion", ys = "mce-accordion-summary", mr = "mce-accordion-body", Bs = "div";
|
|
52664
|
-
var
|
|
52664
|
+
var yi = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
52665
52665
|
const ya = (ue) => (ue == null ? void 0 : ue.nodeName) === "SUMMARY", Qo = (ue) => (ue == null ? void 0 : ue.nodeName) === "DETAILS", us = (ue) => ue.hasAttribute("open"), ms = (ue) => {
|
|
52666
52666
|
const Ce = ue.selection.getNode();
|
|
52667
52667
|
return ya(Ce) || !!ue.dom.getParent(Ce, ya);
|
|
@@ -52684,8 +52684,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
52684
52684
|
}, ic = (ue) => (Ce) => {
|
|
52685
52685
|
tl(ue, Ce), Sr(ue, Ce);
|
|
52686
52686
|
}, ki = (ue) => {
|
|
52687
|
-
|
|
52688
|
-
},
|
|
52687
|
+
yi.each(yi.grep(ue.dom.select("details", ue.getBody())), ic(ue));
|
|
52688
|
+
}, Cl = (ue) => {
|
|
52689
52689
|
if (!wa(ue))
|
|
52690
52690
|
return;
|
|
52691
52691
|
const Ce = K.fromDom(ue.getBody()), rt = u("acc"), en = ue.dom.encode(ue.selection.getRng().toString() || ue.translate("Accordion summary...")), Un = ue.dom.encode(ue.translate("Accordion body...")), re = `<summary class="${ys}">${en}</summary>`, we = `<${Bs} class="${mr}"><p>${Un}</p></${Bs}>`;
|
|
@@ -52718,7 +52718,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
52718
52718
|
const rt = Array.from(ue.getBody().querySelectorAll("details"));
|
|
52719
52719
|
rt.length !== 0 && (J(rt, (en) => Ca(en, Ce ?? !us(en))), uo(ue, rt, Ce));
|
|
52720
52720
|
}, Gl = (ue) => {
|
|
52721
|
-
ue.addCommand("InsertAccordion", () =>
|
|
52721
|
+
ue.addCommand("InsertAccordion", () => Cl(ue)), ue.addCommand("ToggleAccordion", (Ce, rt) => lc(ue, rt)), ue.addCommand("ToggleAllAccordions", (Ce, rt) => cc(ue, rt)), ue.addCommand("RemoveAccordion", () => Bi(ue));
|
|
52722
52722
|
};
|
|
52723
52723
|
var uc = tinymce.util.Tools.resolve("tinymce.html.Node");
|
|
52724
52724
|
const Zr = (ue) => {
|
|
@@ -52783,10 +52783,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
52783
52783
|
});
|
|
52784
52784
|
});
|
|
52785
52785
|
};
|
|
52786
|
-
var
|
|
52786
|
+
var wi = tinymce.util.Tools.resolve("tinymce.util.VK");
|
|
52787
52787
|
const $c = (ue) => {
|
|
52788
52788
|
ue.on("keydown", (Ce) => {
|
|
52789
|
-
(!Ce.shiftKey && Ce.keyCode ===
|
|
52789
|
+
(!Ce.shiftKey && Ce.keyCode === wi.ENTER && ms(ue) || ka(ue)) && (Ce.preventDefault(), ue.execCommand("ToggleAccordion"));
|
|
52790
52790
|
});
|
|
52791
52791
|
}, Dc = (ue) => {
|
|
52792
52792
|
$c(ue), ue.on("ExecCommand", (Ce) => {
|
|
@@ -57905,12 +57905,12 @@ tinymce.addI18n("zh_CN", {
|
|
|
57905
57905
|
let Le = !1, It;
|
|
57906
57906
|
return (...ln) => (Le || (Le = !0, It = Re.apply(null, ln)), It);
|
|
57907
57907
|
}, et = (Re, Le, It, ln) => {
|
|
57908
|
-
const Eo = Re.isiOS() && /ipad/i.test(It) === !0, ks = Re.isiOS() && !Eo, hs = Re.isiOS() || Re.isAndroid(), xr = hs || ln("(pointer:coarse)"), Ia = Eo || !ks && hs && ln("(min-device-width:768px)"),
|
|
57908
|
+
const Eo = Re.isiOS() && /ipad/i.test(It) === !0, ks = Re.isiOS() && !Eo, hs = Re.isiOS() || Re.isAndroid(), xr = hs || ln("(pointer:coarse)"), Ia = Eo || !ks && hs && ln("(min-device-width:768px)"), Sl = ks || hs && !Ia, Vi = Le.isSafari() && Re.isiOS() && /safari/i.test(It) === !1, Gr = !Sl && !Ia && !Vi;
|
|
57909
57909
|
return {
|
|
57910
57910
|
isiPad: Ze(Eo),
|
|
57911
57911
|
isiPhone: Ze(ks),
|
|
57912
57912
|
isTablet: Ze(Ia),
|
|
57913
|
-
isPhone: Ze(
|
|
57913
|
+
isPhone: Ze(Sl),
|
|
57914
57914
|
isTouch: Ze(xr),
|
|
57915
57915
|
isAndroid: Re.isAndroid,
|
|
57916
57916
|
isiOS: Re.isiOS,
|
|
@@ -57966,7 +57966,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
57966
57966
|
current: It.name,
|
|
57967
57967
|
version: ln
|
|
57968
57968
|
};
|
|
57969
|
-
}), mr = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Bs = (Re) => (Le) => Nt(Le, Re),
|
|
57969
|
+
}), mr = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Bs = (Re) => (Le) => Nt(Le, Re), yi = [
|
|
57970
57970
|
{
|
|
57971
57971
|
name: "Edge",
|
|
57972
57972
|
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
|
@@ -58056,7 +58056,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58056
58056
|
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/]
|
|
58057
58057
|
}
|
|
58058
58058
|
], Qo = {
|
|
58059
|
-
browsers: Ze(
|
|
58059
|
+
browsers: Ze(yi),
|
|
58060
58060
|
oses: Ze(ya)
|
|
58061
58061
|
}, us = "Edge", ms = "Chromium", ka = "IE", wa = "Opera", Aa = "Firefox", cr = "Safari", yu = () => Pi({
|
|
58062
58062
|
current: void 0,
|
|
@@ -58082,7 +58082,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58082
58082
|
opera: Ze(wa),
|
|
58083
58083
|
firefox: Ze(Aa),
|
|
58084
58084
|
safari: Ze(cr)
|
|
58085
|
-
}, ws = "Windows", tl = "iOS", Sr = "Android", ic = "Linux", ki = "macOS",
|
|
58085
|
+
}, ws = "Windows", tl = "iOS", Sr = "Android", ic = "Linux", ki = "macOS", Cl = "Solaris", Ca = "FreeBSD", lc = "ChromeOS", Bi = () => cc({
|
|
58086
58086
|
current: void 0,
|
|
58087
58087
|
version: wo.unknown()
|
|
58088
58088
|
}), cc = (Re) => {
|
|
@@ -58095,7 +58095,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58095
58095
|
isAndroid: ln(Sr),
|
|
58096
58096
|
isMacOS: ln(ki),
|
|
58097
58097
|
isLinux: ln(ic),
|
|
58098
|
-
isSolaris: ln(
|
|
58098
|
+
isSolaris: ln(Cl),
|
|
58099
58099
|
isFreeBSD: ln(Ca),
|
|
58100
58100
|
isChromeOS: ln(lc)
|
|
58101
58101
|
};
|
|
@@ -58107,7 +58107,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58107
58107
|
android: Ze(Sr),
|
|
58108
58108
|
linux: Ze(ic),
|
|
58109
58109
|
macos: Ze(ki),
|
|
58110
|
-
solaris: Ze(
|
|
58110
|
+
solaris: Ze(Cl),
|
|
58111
58111
|
freebsd: Ze(Ca),
|
|
58112
58112
|
chromeos: Ze(lc)
|
|
58113
58113
|
}, Zr = { detect: (Re, Le, It) => {
|
|
@@ -58129,7 +58129,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58129
58129
|
}, la = (Re) => {
|
|
58130
58130
|
const Le = Re === void 0 ? window : Re;
|
|
58131
58131
|
return Yl().browser.isFirefox() ? lt.none() : lt.from(Le.visualViewport);
|
|
58132
|
-
},
|
|
58132
|
+
}, wi = (Re, Le, It, ln) => ({
|
|
58133
58133
|
x: Re,
|
|
58134
58134
|
y: Le,
|
|
58135
58135
|
width: It,
|
|
@@ -58140,8 +58140,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
58140
58140
|
const Le = Re === void 0 ? window : Re, It = Le.document, ln = ea(ko.fromDom(It));
|
|
58141
58141
|
return la(Le).fold(() => {
|
|
58142
58142
|
const Eo = Le.document.documentElement, ks = Eo.clientWidth, hs = Eo.clientHeight;
|
|
58143
|
-
return
|
|
58144
|
-
}, (Eo) =>
|
|
58143
|
+
return wi(ln.left, ln.top, ks, hs);
|
|
58144
|
+
}, (Eo) => wi(Math.max(Eo.pageLeft, ln.left), Math.max(Eo.pageTop, ln.top), Eo.width, Eo.height));
|
|
58145
58145
|
}, Dc = (Re, Le, It) => la(It).map((ln) => {
|
|
58146
58146
|
const Eo = (ks) => Le(Vt(ks));
|
|
58147
58147
|
return ln.addEventListener(Re, Eo), { unbind: () => ln.removeEventListener(Re, Eo) };
|
|
@@ -58168,9 +58168,9 @@ tinymce.addI18n("zh_CN", {
|
|
|
58168
58168
|
const Le = Cr(Re, "background-color");
|
|
58169
58169
|
return Le !== void 0 && Le !== "" ? "background-color:" + Le + "!important" : Nc;
|
|
58170
58170
|
}, Li = (Re, Le, It) => {
|
|
58171
|
-
const ln = (
|
|
58171
|
+
const ln = (Sl) => xs(Sl, "*:not(.tox-silver-sink)"), Eo = (Sl) => (Vi) => {
|
|
58172
58172
|
const Gr = vn(Vi, "style"), Sa = Gr === void 0 ? "no-styles" : Gr.trim();
|
|
58173
|
-
Sa !==
|
|
58173
|
+
Sa !== Sl && (Ft(Vi, ha, Sa), Pr(Vi, Re.parseStyle(Sl)));
|
|
58174
58174
|
}, ks = In(Le, "*"), hs = je(ks, ln), xr = Cs(It);
|
|
58175
58175
|
ce(hs, Eo(an)), ce(ks, Eo(Oa + Qs + xr)), Eo((ca === !0 ? "" : Oa) + Qs + xr)(Le);
|
|
58176
58176
|
}, Ka = (Re) => {
|
|
@@ -58187,7 +58187,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58187
58187
|
document.body.scrollTop = 0, document.documentElement.scrollTop = 0;
|
|
58188
58188
|
}, ks = () => {
|
|
58189
58189
|
window.requestAnimationFrame(() => {
|
|
58190
|
-
Le.on((
|
|
58190
|
+
Le.on((Sl) => Pr(Sl, {
|
|
58191
58191
|
top: Re.offsetTop + "px",
|
|
58192
58192
|
left: Re.offsetLeft + "px",
|
|
58193
58193
|
height: Re.height + "px",
|
|
@@ -58198,8 +58198,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
58198
58198
|
Eo(), ks();
|
|
58199
58199
|
}, 50);
|
|
58200
58200
|
return {
|
|
58201
|
-
bind: (
|
|
58202
|
-
Le.set(
|
|
58201
|
+
bind: (Sl) => {
|
|
58202
|
+
Le.set(Sl), hs.throttle(), It.set(Dc("resize", hs.throttle)), ln.set(Dc("scroll", hs.throttle));
|
|
58203
58203
|
},
|
|
58204
58204
|
unbind: () => {
|
|
58205
58205
|
Le.on(() => {
|
|
@@ -58208,7 +58208,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58208
58208
|
}
|
|
58209
58209
|
};
|
|
58210
58210
|
}), tp = (Re, Le) => {
|
|
58211
|
-
const It = document.body, ln = document.documentElement, Eo = Re.getContainer(), ks = ko.fromDom(Eo), hs = Wr(ks).filter((ui) => We(ui) && ao(ui, "tox-silver-sink")), xr = Ce(Re), Ia = Le.get(),
|
|
58211
|
+
const It = document.body, ln = document.documentElement, Eo = Re.getContainer(), ks = ko.fromDom(Eo), hs = Wr(ks).filter((ui) => We(ui) && ao(ui, "tox-silver-sink")), xr = Ce(Re), Ia = Le.get(), Sl = ko.fromDom(Re.getBody()), Vi = Se.deviceType.isTouch(), Gr = Eo.style, Sa = Re.iframeElement, Ua = Sa == null ? void 0 : Sa.style, Ai = (ui) => {
|
|
58212
58212
|
ui(It, "tox-fullscreen"), ui(ln, "tox-fullscreen"), ui(Eo, "tox-fullscreen"), Ks(ks).map((ur) => kt(ur).dom).each((ur) => {
|
|
58213
58213
|
ui(ur, "tox-fullscreen"), ui(ur, "tox-shadowhost");
|
|
58214
58214
|
});
|
|
@@ -58233,7 +58233,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
58233
58233
|
fullscreenChangeHandler: ui,
|
|
58234
58234
|
sinkCssPosition: hs.map((Su) => Cr(Su, "position"))
|
|
58235
58235
|
};
|
|
58236
|
-
Vi && Li(Re.dom, ks,
|
|
58236
|
+
Vi && Li(Re.dom, ks, Sl), Ua.width = Ua.height = "100%", Gr.width = Gr.height = "", Ai(Hi.addClass), hs.each((Su) => {
|
|
58237
58237
|
Ir(Su, "position", "fixed");
|
|
58238
58238
|
}), tg.bind(ks), Re.on("remove", va), Le.set(ur), ue(Re) && Un(xr), qe(Re, !0);
|
|
58239
58239
|
}
|
|
@@ -59442,9 +59442,9 @@ tinymce.addI18n("zh_CN", {
|
|
|
59442
59442
|
});
|
|
59443
59443
|
}
|
|
59444
59444
|
}), Xe;
|
|
59445
|
-
}, Bs = (re = Zo) => (we) => we ? fe.from(we).map((Xe) => mr(Xe, re)) : fe.none(),
|
|
59445
|
+
}, Bs = (re = Zo) => (we) => we ? fe.from(we).map((Xe) => mr(Xe, re)) : fe.none(), yi = (re) => Bs(Zo)(re), ya = (re) => De(re, "items"), Qo = (re, we) => je(re, (Xe) => ya(Xe) ? Qo(Xe.items, we) : Xe.value === we ? fe.some(Xe) : fe.none()), ms = {
|
|
59446
59446
|
sanitizer: Bs,
|
|
59447
|
-
sanitize:
|
|
59447
|
+
sanitize: yi,
|
|
59448
59448
|
findEntry: (re, we) => re.bind((Xe) => Qo(Xe, we))
|
|
59449
59449
|
}, wa = { makeTab: (re) => ({
|
|
59450
59450
|
title: "Advanced",
|
|
@@ -59669,7 +59669,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59669
59669
|
border: re.border,
|
|
59670
59670
|
borderStyle: re.borderstyle,
|
|
59671
59671
|
isDecorative: re.isDecorative
|
|
59672
|
-
}), ki = (re, we) => /^(?:[a-zA-Z]+:)?\/\//.test(we) ? fe.none() : re.prependURL.bind((Xe) => we.substring(0, Xe.length) !== Xe ? fe.some(Xe + we) : fe.none()),
|
|
59672
|
+
}), ki = (re, we) => /^(?:[a-zA-Z]+:)?\/\//.test(we) ? fe.none() : re.prependURL.bind((Xe) => we.substring(0, Xe.length) !== Xe ? fe.some(Xe + we) : fe.none()), Cl = (re, we) => {
|
|
59673
59673
|
const Xe = we.getData();
|
|
59674
59674
|
ki(re, Xe.src.value).each(($t) => {
|
|
59675
59675
|
we.setData({
|
|
@@ -59703,7 +59703,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59703
59703
|
const $t = Xe.getData(), Rn = ms.findEntry(re.imageList, $t.src.value);
|
|
59704
59704
|
we.prevImage = Rn, Xe.setData({ images: Rn.map((In) => In.value).getOr("") });
|
|
59705
59705
|
}, Gl = (re, we, Xe, $t) => {
|
|
59706
|
-
|
|
59706
|
+
Cl(we, $t), lc(we, $t), Bi(re, we, Xe, $t), cc(we, Xe, $t);
|
|
59707
59707
|
}, uc = (re, we, Xe, $t) => {
|
|
59708
59708
|
const Rn = $t.getData(), In = ms.findEntry(we.imageList, Rn.images);
|
|
59709
59709
|
In.each((xs) => {
|
|
@@ -59778,7 +59778,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59778
59778
|
});
|
|
59779
59779
|
}, la = (re) => (we) => {
|
|
59780
59780
|
re.editorUpload.blobCache.add(we);
|
|
59781
|
-
},
|
|
59781
|
+
}, wi = (re) => (we, Xe) => {
|
|
59782
59782
|
re.windowManager.alert(we, Xe);
|
|
59783
59783
|
}, $c = (re) => (we) => Co(re, we), Dc = (re) => (we) => re.dom.parseStyle(we), Ya = (re) => (we, Xe) => re.dom.serializeStyle(we, Xe), Se = (re) => (we) => uo(re).upload([we], !1).then((Xe) => {
|
|
59784
59784
|
var $t;
|
|
@@ -59788,7 +59788,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
59788
59788
|
imageSize: Fi(re),
|
|
59789
59789
|
addToBlobCache: la(re),
|
|
59790
59790
|
createBlobCache: ea(re),
|
|
59791
|
-
alertErr:
|
|
59791
|
+
alertErr: wi(re),
|
|
59792
59792
|
normalizeCss: $c(re),
|
|
59793
59793
|
parseStyle: Dc(re),
|
|
59794
59794
|
serializeStyle: Ya(re),
|
|
@@ -60606,7 +60606,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60606
60606
|
rel: en,
|
|
60607
60607
|
linkClass: Un
|
|
60608
60608
|
};
|
|
60609
|
-
},
|
|
60609
|
+
}, yi = { collect: (Se, qe) => Yn.getLinks(Se).then((pt) => {
|
|
60610
60610
|
const nn = mr(Se, qe);
|
|
60611
60611
|
return {
|
|
60612
60612
|
anchor: nn,
|
|
@@ -60642,7 +60642,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60642
60642
|
}), pt.close();
|
|
60643
60643
|
}, Qo = (Se) => {
|
|
60644
60644
|
const qe = vn(Se);
|
|
60645
|
-
return
|
|
60645
|
+
return yi.collect(Se, qe);
|
|
60646
60646
|
}, us = (Se, qe) => {
|
|
60647
60647
|
const pt = Se.anchor, nn = pt.url.getOr("");
|
|
60648
60648
|
return {
|
|
@@ -60758,7 +60758,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60758
60758
|
var ic = tinymce.util.Tools.resolve("tinymce.util.VK");
|
|
60759
60759
|
const ki = (Se, qe) => {
|
|
60760
60760
|
document.body.appendChild(Se), Se.dispatchEvent(qe), document.body.removeChild(Se);
|
|
60761
|
-
},
|
|
60761
|
+
}, Cl = (Se) => {
|
|
60762
60762
|
const qe = document.createElement("a");
|
|
60763
60763
|
qe.target = "_blank", qe.href = Se, qe.rel = "noreferrer noopener";
|
|
60764
60764
|
const pt = new MouseEvent("click", {
|
|
@@ -60774,7 +60774,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60774
60774
|
const nn = Se.dom.select(`${pt},[name="${tl(pt, "#")}"]`);
|
|
60775
60775
|
nn.length && Se.selection.scrollIntoView(nn[0], !0);
|
|
60776
60776
|
} else
|
|
60777
|
-
|
|
60777
|
+
Cl(qe.href);
|
|
60778
60778
|
}
|
|
60779
60779
|
}, Bi = (Se) => {
|
|
60780
60780
|
const qe = Se.selection.getRng(), pt = qe.startContainer;
|
|
@@ -60853,7 +60853,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60853
60853
|
onAction: () => Wr(Se),
|
|
60854
60854
|
onSetup: Fi(Se)
|
|
60855
60855
|
});
|
|
60856
|
-
},
|
|
60856
|
+
}, wi = (Se) => {
|
|
60857
60857
|
const qe = "link unlink openlink", pt = "link";
|
|
60858
60858
|
Se.ui.registry.addContextMenu("link", {
|
|
60859
60859
|
update: (nn) => Se.dom.isEditable(nn) ? fn(Se.dom.getParents(nn, "a")) ? qe : pt : ""
|
|
@@ -60929,7 +60929,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
60929
60929
|
});
|
|
60930
60930
|
}, Dc = (Se) => {
|
|
60931
60931
|
const qe = Zr(Se);
|
|
60932
|
-
ea(Se, qe), la(Se, qe),
|
|
60932
|
+
ea(Se, qe), la(Se, qe), wi(Se), $c(Se, qe);
|
|
60933
60933
|
};
|
|
60934
60934
|
var Ya = () => {
|
|
60935
60935
|
o.add("link", (Se) => {
|
|
@@ -61250,13 +61250,13 @@ tinymce.addI18n("zh_CN", {
|
|
|
61250
61250
|
return Vt(ve, Qe), Co(H), ve;
|
|
61251
61251
|
};
|
|
61252
61252
|
var mr = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Bs = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
61253
|
-
const
|
|
61253
|
+
const yi = (H) => (te) => A(te) && te.nodeName.toLowerCase() === H, ya = (H) => (te) => A(te) && H.test(te.nodeName), Qo = (H) => A(H) && H.nodeType === 3, us = (H) => A(H) && H.nodeType === 1, ms = ya(/^(OL|UL|DL)$/), ka = ya(/^(OL|UL)$/), wa = yi("ol"), Aa = ya(/^(LI|DT|DD)$/), cr = ya(/^(DT|DD)$/), yu = ya(/^(TH|TD)$/), Pi = yi("br"), Oc = (H) => {
|
|
61254
61254
|
var te;
|
|
61255
61255
|
return ((te = H.parentNode) === null || te === void 0 ? void 0 : te.firstChild) === H;
|
|
61256
61256
|
}, ws = (H, te) => A(te) && te.nodeName in H.schema.getTextBlockElements(), tl = (H, te) => A(H) && H.nodeName in te, Sr = (H, te) => A(te) && te.nodeName in H.schema.getVoidElements(), ic = (H, te) => Pi(te) ? H.isBlock(te.nextSibling) && !Pi(te.previousSibling) : !1, ki = (H, te, ve) => {
|
|
61257
61257
|
const Qe = H.isEmpty(te);
|
|
61258
61258
|
return ve && H.select("span[data-mce-type=bookmark]", te).length > 0 ? !1 : Qe;
|
|
61259
|
-
},
|
|
61259
|
+
}, Cl = (H, te) => H.isChildOf(te, H.getRoot()), Ca = (H) => (te) => te.options.get(H), lc = (H) => {
|
|
61260
61260
|
const te = H.options.register;
|
|
61261
61261
|
te("lists_indent_on_tab", {
|
|
61262
61262
|
processor: "boolean",
|
|
@@ -61316,7 +61316,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61316
61316
|
container: H,
|
|
61317
61317
|
offset: te
|
|
61318
61318
|
};
|
|
61319
|
-
},
|
|
61319
|
+
}, wi = (H) => {
|
|
61320
61320
|
const te = H.cloneRange(), ve = la(H.startContainer, H.startOffset);
|
|
61321
61321
|
te.setStart(ve.container, ve.offset);
|
|
61322
61322
|
const Qe = la(H.endContainer, H.endOffset);
|
|
@@ -61413,7 +61413,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61413
61413
|
item: K.fromTag("li", H)
|
|
61414
61414
|
};
|
|
61415
61415
|
return Je(ve.list, ve.item), ve;
|
|
61416
|
-
},
|
|
61416
|
+
}, Sl = (H, te, ve) => {
|
|
61417
61417
|
const Qe = [];
|
|
61418
61418
|
for (let dt = 0; dt < ve; dt++)
|
|
61419
61419
|
Qe.push(Ia(H, ol(te) ? te.listType : te.parentListType));
|
|
@@ -61445,7 +61445,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61445
61445
|
}
|
|
61446
61446
|
}), Qe;
|
|
61447
61447
|
}, va = (H, te, ve) => {
|
|
61448
|
-
const Qe =
|
|
61448
|
+
const Qe = Sl(H, ve, ve.depth - te.length);
|
|
61449
61449
|
return hs(Qe), Vi(Qe, ve), xr(te, Qe), te.concat(Qe);
|
|
61450
61450
|
}, ui = (H, te) => {
|
|
61451
61451
|
let ve = fe.none();
|
|
@@ -61565,7 +61565,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61565
61565
|
let dt = !1;
|
|
61566
61566
|
if (ve.length || Qe.length) {
|
|
61567
61567
|
const An = H.selection.getBookmark();
|
|
61568
|
-
og(H, ve, te), ea(H, te, Qe), H.selection.moveToBookmark(An), H.selection.setRng(
|
|
61568
|
+
og(H, ve, te), ea(H, te, Qe), H.selection.moveToBookmark(An), H.selection.setRng(wi(H.selection.getRng())), H.nodeChanged(), dt = !0;
|
|
61569
61569
|
}
|
|
61570
61570
|
return dt;
|
|
61571
61571
|
}, sg = (H, te) => !Oa(H) && Df(H, te), sp = (H) => sg(H, "Indent"), Ld = (H) => sg(H, "Outdent"), rp = (H) => sg(H, "Flatten"), ot = "\uFEFF", Nf = (H) => H === ot, Nl = (H, te, ve) => Ks(H, te, ve).isSome(), vb = (H, te) => Nl(H, G(Me, te));
|
|
@@ -61603,7 +61603,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61603
61603
|
};
|
|
61604
61604
|
te(!0), te();
|
|
61605
61605
|
const ve = Hd.createRng();
|
|
61606
|
-
return ve.setStart(H.startContainer, H.startOffset), H.endContainer && ve.setEnd(H.endContainer, H.endOffset),
|
|
61606
|
+
return ve.setStart(H.startContainer, H.startOffset), H.endContainer && ve.setEnd(H.endContainer, H.endOffset), wi(ve);
|
|
61607
61607
|
}, zi = (H) => {
|
|
61608
61608
|
switch (H) {
|
|
61609
61609
|
case "UL":
|
|
@@ -61827,7 +61827,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61827
61827
|
}, Ml = (H, te, ve) => {
|
|
61828
61828
|
let Qe;
|
|
61829
61829
|
const dt = te.parentNode;
|
|
61830
|
-
if (!
|
|
61830
|
+
if (!Cl(H, te) || !Cl(H, ve))
|
|
61831
61831
|
return;
|
|
61832
61832
|
ms(ve.lastChild) && (Qe = ve.lastChild), dt === ve.lastChild && Pi(dt.previousSibling) && H.remove(dt.previousSibling);
|
|
61833
61833
|
const An = ve.lastChild;
|
|
@@ -61857,7 +61857,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61857
61857
|
const gs = Vo.parentElement;
|
|
61858
61858
|
if (gs === H.getBody() && ki(ve, gs))
|
|
61859
61859
|
return !0;
|
|
61860
|
-
const ls =
|
|
61860
|
+
const ls = wi(Qe.getRng()), So = ve.getParent(hd(H, ls, te, An), "LI", An), na = So && (te ? ve.isChildOf(Vo, So) : ve.isChildOf(So, Vo));
|
|
61861
61861
|
if (So && So !== Vo && !na)
|
|
61862
61862
|
return H.undoManager.transact(() => {
|
|
61863
61863
|
te ? dm(H, ls, So, Vo) : Oc(Vo) ? Ld(H) : fi(H, ls, Vo, So);
|
|
@@ -61882,7 +61882,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61882
61882
|
}, vd = (H, te) => {
|
|
61883
61883
|
const ve = H.dom, Qe = H.selection.getStart(), dt = rt(H, Qe), An = ve.getParent(Qe, ve.isBlock, dt);
|
|
61884
61884
|
if (An && ve.isEmpty(An, void 0, { checkRootAsContent: !0 })) {
|
|
61885
|
-
const Vo =
|
|
61885
|
+
const Vo = wi(H.selection.getRng()), gs = hd(H, Vo, te, dt), ls = ve.getParent(gs, "LI", dt);
|
|
61886
61886
|
if (gs && ls) {
|
|
61887
61887
|
const So = (mc) => lt([
|
|
61888
61888
|
"td",
|
|
@@ -61935,8 +61935,8 @@ tinymce.addI18n("zh_CN", {
|
|
|
61935
61935
|
const te = H % 26, ve = Math.floor(H / 26), Qe = zd(ve), dt = String.fromCharCode(65 + te);
|
|
61936
61936
|
return Qe + dt;
|
|
61937
61937
|
}
|
|
61938
|
-
}, Kl = (H) => /^[A-Z]+$/.test(H), Il = (H) => /^[a-z]+$/.test(H), fc = (H) => /^[0-9]+$/.test(H),
|
|
61939
|
-
switch (
|
|
61938
|
+
}, Kl = (H) => /^[A-Z]+$/.test(H), Il = (H) => /^[a-z]+$/.test(H), fc = (H) => /^[0-9]+$/.test(H), Ci = (H) => fc(H) ? 2 : Kl(H) ? 0 : Il(H) ? 1 : $a(H) ? 3 : 4, xl = (H) => {
|
|
61939
|
+
switch (Ci(H)) {
|
|
61940
61940
|
case 2:
|
|
61941
61941
|
return fe.some({
|
|
61942
61942
|
listStyleType: fe.none(),
|
|
@@ -61997,7 +61997,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
61997
61997
|
],
|
|
61998
61998
|
onSubmit: (ve) => {
|
|
61999
61999
|
const Qe = ve.getData();
|
|
62000
|
-
|
|
62000
|
+
xl(Qe.start).each((dt) => {
|
|
62001
62001
|
H.execCommand("mceListUpdate", !1, {
|
|
62002
62002
|
attrs: { start: dt.start === "1" ? "" : dt.start },
|
|
62003
62003
|
styles: { "list-style-type": dt.listStyleType.getOr("") }
|
|
@@ -64108,10 +64108,10 @@ tinymce.addI18n("zh_CN", {
|
|
|
64108
64108
|
const Zo = et.getBody(), ys = fe.grep(fe.toArray(Zo.getElementsByTagName("span")), Ir);
|
|
64109
64109
|
for (let mr = 0; mr < ys.length; mr++) {
|
|
64110
64110
|
const Bs = pa(ys[mr]);
|
|
64111
|
-
let
|
|
64112
|
-
if (Yn ||
|
|
64111
|
+
let yi = uo = parseInt(Bs, 10);
|
|
64112
|
+
if (Yn || yi === vo.index) {
|
|
64113
64113
|
for (pn.length ? (ys[mr].innerText = pn, yo(ys[mr])) : jt(et.dom, ys[mr]); ys[++mr]; )
|
|
64114
|
-
if (
|
|
64114
|
+
if (yi = parseInt(pa(ys[mr]), 10), yi === uo)
|
|
64115
64115
|
jt(et.dom, ys[mr]);
|
|
64116
64116
|
else {
|
|
64117
64117
|
mr--;
|
|
@@ -64211,7 +64211,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64211
64211
|
wholewords: mr.wholeWord,
|
|
64212
64212
|
matchcase: mr.matchCase,
|
|
64213
64213
|
inselection: mr.inSelection
|
|
64214
|
-
},
|
|
64214
|
+
}, yi = (Qo) => {
|
|
64215
64215
|
const us = [
|
|
64216
64216
|
{
|
|
64217
64217
|
type: "label",
|
|
@@ -64263,7 +64263,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64263
64263
|
size: "normal",
|
|
64264
64264
|
body: {
|
|
64265
64265
|
type: "panel",
|
|
64266
|
-
items:
|
|
64266
|
+
items: yi(Qo)
|
|
64267
64267
|
},
|
|
64268
64268
|
buttons: [
|
|
64269
64269
|
{
|
|
@@ -64676,7 +64676,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64676
64676
|
return ne(go(I), (Ne) => {
|
|
64677
64677
|
U(Ne) && (me = me.concat([Ne])), me = me.concat(Bs(Ne, U));
|
|
64678
64678
|
}), me;
|
|
64679
|
-
},
|
|
64679
|
+
}, yi = (I, U) => mr(I, (me) => Bn(me, U)), ya = (I, U) => jo(U, I), Qo = (I, U, me) => {
|
|
64680
64680
|
if (v(me) || C(me) || B(me))
|
|
64681
64681
|
I.setAttribute(U, me + "");
|
|
64682
64682
|
else
|
|
@@ -64700,7 +64700,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64700
64700
|
for (let Ne = 0; Ne < I.length; Ne++)
|
|
64701
64701
|
I[Ne].each(me);
|
|
64702
64702
|
return U;
|
|
64703
|
-
}, Oc = (I, U, me) => I.isSome() && U.isSome() ? J.some(me(I.getOrDie(), U.getOrDie())) : J.none(), ws = (I) => I.bind(G), tl = (I, U) => I ? J.some(U) : J.none(), Sr = (I, U) => I.substring(U), ic = (I, U, me) => U === "" || I.length >= U.length && I.substr(me, me + U.length) === U, ki = (I, U) =>
|
|
64703
|
+
}, Oc = (I, U, me) => I.isSome() && U.isSome() ? J.some(me(I.getOrDie(), U.getOrDie())) : J.none(), ws = (I) => I.bind(G), tl = (I, U) => I ? J.some(U) : J.none(), Sr = (I, U) => I.substring(U), ic = (I, U, me) => U === "" || I.length >= U.length && I.substr(me, me + U.length) === U, ki = (I, U) => Cl(I, U) ? Sr(I, U.length) : I, Cl = (I, U) => ic(I, U, 0), lc = ((I) => (U) => U.replace(I, ""))(/^\s+|\s+$/g), Bi = (I) => I.length > 0, cc = (I) => !Bi(I), Gl = (I, U = 10) => {
|
|
64704
64704
|
const me = parseInt(I, U);
|
|
64705
64705
|
return isNaN(me) ? J.none() : J.some(me);
|
|
64706
64706
|
}, uc = (I) => {
|
|
@@ -64724,7 +64724,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64724
64724
|
}, la = (I, U) => {
|
|
64725
64725
|
const me = I.dom;
|
|
64726
64726
|
ql(me, U), yu(wa(I, "style").map(lc), "") && Aa(I, "style");
|
|
64727
|
-
},
|
|
64727
|
+
}, wi = (I, U, me = 0) => wa(I, U).map((Ne) => parseInt(Ne, 10)).getOr(me), $c = (I, U) => Dc(I, U, _e), Dc = (I, U, me) => K(go(I), (Ne) => Bn(Ne, U) ? me(Ne) ? [Ne] : [] : Dc(Ne, U, me)), Ya = [
|
|
64728
64728
|
"tfoot",
|
|
64729
64729
|
"thead",
|
|
64730
64730
|
"tbody",
|
|
@@ -64769,16 +64769,16 @@ tinymce.addI18n("zh_CN", {
|
|
|
64769
64769
|
}, re = (I, U) => Un([
|
|
64770
64770
|
"td",
|
|
64771
64771
|
"th"
|
|
64772
|
-
], I, U), we = (I) => $c(I, "th,td"), Xe = (I) => Bn(I, "colgroup") ?
|
|
64772
|
+
], I, U), we = (I) => $c(I, "th,td"), Xe = (I) => Bn(I, "colgroup") ? yi(I, "col") : K(In(I), (U) => yi(U, "col")), $t = (I, U) => qt(I, "table", U), Rn = (I) => $c(I, "tr"), In = (I) => $t(I).fold(q([]), (U) => yi(U, "colgroup")), xs = (I, U) => mt(I, (me) => {
|
|
64773
64773
|
if (bn(me) === "colgroup") {
|
|
64774
64774
|
const Ne = mt(Xe(me), (ft) => {
|
|
64775
|
-
const cn =
|
|
64775
|
+
const cn = wi(ft, "span", 1);
|
|
64776
64776
|
return pt(ft, 1, cn);
|
|
64777
64777
|
});
|
|
64778
64778
|
return ue(me, Ne, "colgroup");
|
|
64779
64779
|
} else {
|
|
64780
64780
|
const Ne = mt(we(me), (ft) => {
|
|
64781
|
-
const cn =
|
|
64781
|
+
const cn = wi(ft, "rowspan", 1), Fn = wi(ft, "colspan", 1);
|
|
64782
64782
|
return pt(ft, cn, Fn);
|
|
64783
64783
|
});
|
|
64784
64784
|
return ue(me, Ne, U(me));
|
|
@@ -64892,7 +64892,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64892
64892
|
return U === "border-box" ? Ne : ln(I, Ne, "left", "right");
|
|
64893
64893
|
}, hs = (I) => Eo(I, "content-box");
|
|
64894
64894
|
var xr = tinymce.util.Tools.resolve("tinymce.Env");
|
|
64895
|
-
const Ia = "tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol",
|
|
64895
|
+
const Ia = "tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol", Sl = Ie(5, (I) => {
|
|
64896
64896
|
const U = `${I + 1}px`;
|
|
64897
64897
|
return {
|
|
64898
64898
|
title: U,
|
|
@@ -64932,7 +64932,7 @@ tinymce.addI18n("zh_CN", {
|
|
|
64932
64932
|
const U = I.options.register;
|
|
64933
64933
|
U("table_border_widths", {
|
|
64934
64934
|
processor: "object[]",
|
|
64935
|
-
default:
|
|
64935
|
+
default: Sl
|
|
64936
64936
|
}), U("table_border_styles", {
|
|
64937
64937
|
processor: "object[]",
|
|
64938
64938
|
default: Vi
|
|
@@ -65226,23 +65226,23 @@ tinymce.addI18n("zh_CN", {
|
|
|
65226
65226
|
green: U,
|
|
65227
65227
|
blue: me,
|
|
65228
65228
|
alpha: Ne
|
|
65229
|
-
}),
|
|
65229
|
+
}), Ci = (I, U, me, Ne) => {
|
|
65230
65230
|
const ft = parseInt(I, 10), cn = parseInt(U, 10), Fn = parseInt(me, 10), po = parseFloat(Ne);
|
|
65231
65231
|
return fc(ft, cn, Fn, po);
|
|
65232
|
-
},
|
|
65232
|
+
}, xl = (I) => {
|
|
65233
65233
|
const U = Kl.exec(I);
|
|
65234
65234
|
if (U !== null)
|
|
65235
|
-
return J.some(
|
|
65235
|
+
return J.some(Ci(U[1], U[2], U[3], "1"));
|
|
65236
65236
|
const me = Il.exec(I);
|
|
65237
|
-
return me !== null ? J.some(
|
|
65238
|
-
}, Rc = (I) => ds(I).orThunk(() =>
|
|
65237
|
+
return me !== null ? J.some(Ci(me[1], me[2], me[3], me[4])) : J.none();
|
|
65238
|
+
}, Rc = (I) => ds(I).orThunk(() => xl(I).map(zd)).getOrThunk(() => {
|
|
65239
65239
|
const U = document.createElement("canvas");
|
|
65240
65240
|
U.height = 1, U.width = 1;
|
|
65241
65241
|
const me = U.getContext("2d");
|
|
65242
65242
|
me.clearRect(0, 0, U.width, U.height), me.fillStyle = "#FFFFFF", me.fillStyle = I, me.fillRect(0, 0, 1, 1);
|
|
65243
65243
|
const Ne = me.getImageData(0, 0, 1, 1).data, ft = Ne[0], cn = Ne[1], Fn = Ne[2], po = Ne[3];
|
|
65244
65244
|
return zd(fc(ft, cn, Fn, po));
|
|
65245
|
-
}), cp = (I) =>
|
|
65245
|
+
}), cp = (I) => xl(I).map(zd).map((U) => "#" + U.value).getOr(I), qr = (I) => {
|
|
65246
65246
|
let U = I;
|
|
65247
65247
|
return {
|
|
65248
65248
|
get: () => U,
|
|
@@ -65550,7 +65550,7 @@ Required: ` + U.join(", "));
|
|
|
65550
65550
|
const cn = ft[ft.length - 1], Fn = ft[0].row, po = cn.row + cn.rowspan, ss = me.all.slice(Fn, po);
|
|
65551
65551
|
return So(ss);
|
|
65552
65552
|
}).getOr("");
|
|
65553
|
-
}, cl = (I) =>
|
|
65553
|
+
}, cl = (I) => Cl(I, "rgb") ? cp(I) : I, Ko = (I) => {
|
|
65554
65554
|
const U = mn.fromDom(I);
|
|
65555
65555
|
return {
|
|
65556
65556
|
borderwidth: ea(U, "border-width").getOr(""),
|
|
@@ -65784,10 +65784,10 @@ Required: ` + U.join(", "));
|
|
|
65784
65784
|
me("class") && U.class !== "mce-no-match" && I.setAttrib("class", U.class), me("height") && I.setStyle("height", uo(U.height));
|
|
65785
65785
|
}, wd = (I, U, me) => {
|
|
65786
65786
|
me("backgroundcolor") && I.setStyle("background-color", U.backgroundcolor), me("bordercolor") && I.setStyle("border-color", U.bordercolor), me("borderstyle") && I.setStyle("border-style", U.borderstyle);
|
|
65787
|
-
},
|
|
65787
|
+
}, Si = (I, U, me, Ne) => {
|
|
65788
65788
|
const cn = U.length === 1 ? _e : Ne;
|
|
65789
65789
|
ne(U, (Fn) => {
|
|
65790
|
-
const po =
|
|
65790
|
+
const po = yi(mn.fromDom(Fn), "td,th"), ss = dt.normal(I, Fn);
|
|
65791
65791
|
Xl(ss, me, cn), Af(I) && wd(ss, me, cn), Ne("height") && ne(po, (fs) => {
|
|
65792
65792
|
I.dom.setStyle(fs.dom, "height", null);
|
|
65793
65793
|
}), Ne("align") && ol(I, Fn, me.align);
|
|
@@ -65797,11 +65797,11 @@ Required: ` + U.join(", "));
|
|
|
65797
65797
|
type: U.type,
|
|
65798
65798
|
no_events: !0
|
|
65799
65799
|
});
|
|
65800
|
-
},
|
|
65800
|
+
}, xi = (I, U, me, Ne) => {
|
|
65801
65801
|
const ft = Dt(Ne, (cn, Fn) => me[Fn] !== cn);
|
|
65802
65802
|
if (M(ft) > 0) {
|
|
65803
65803
|
const cn = be(ft, "type"), Fn = cn ? M(ft) > 1 : !0;
|
|
65804
|
-
Fn &&
|
|
65804
|
+
Fn && Si(I, U, Ne, F(be, ft)), cn && mp(I, Ne), $t(mn.fromDom(U[0])).each((po) => Re(I, po.dom, {
|
|
65805
65805
|
structure: cn,
|
|
65806
65806
|
style: Fn
|
|
65807
65807
|
}));
|
|
@@ -65809,7 +65809,7 @@ Required: ` + U.join(", "));
|
|
|
65809
65809
|
}, Xs = (I, U, me, Ne) => {
|
|
65810
65810
|
const ft = Ne.getData();
|
|
65811
65811
|
Ne.close(), I.undoManager.transact(() => {
|
|
65812
|
-
|
|
65812
|
+
xi(I, U, me, ft), I.focus();
|
|
65813
65813
|
});
|
|
65814
65814
|
}, O1 = (I) => {
|
|
65815
65815
|
const U = vd(Oo(I), Ml.selected);
|
|
@@ -66111,7 +66111,7 @@ Required: ` + U.join(", "));
|
|
|
66111
66111
|
return I.on("NodeChange", me), me(), () => {
|
|
66112
66112
|
I.off("NodeChange", me);
|
|
66113
66113
|
};
|
|
66114
|
-
},
|
|
66114
|
+
}, _i = (I, U) => {
|
|
66115
66115
|
I.ui.registry.addMenuButton("table", {
|
|
66116
66116
|
tooltip: "Table",
|
|
66117
66117
|
icon: "table",
|
|
@@ -66533,7 +66533,7 @@ Required: ` + U.join(", "));
|
|
|
66533
66533
|
});
|
|
66534
66534
|
}, Dr = (I) => {
|
|
66535
66535
|
const U = dh(I);
|
|
66536
|
-
ui(I), Ui(I), Fa(I, U),
|
|
66536
|
+
ui(I), Ui(I), Fa(I, U), _i(I, U), ua(I);
|
|
66537
66537
|
};
|
|
66538
66538
|
var hg = () => {
|
|
66539
66539
|
o.add("table", Dr);
|
|
@@ -67635,17 +67635,18 @@ const Eme = [
|
|
|
67635
67635
|
u.timeout !== null && clearTimeout(u.timeout), u.timeout = setTimeout(v, w);
|
|
67636
67636
|
}
|
|
67637
67637
|
function p(v) {
|
|
67638
|
-
var
|
|
67638
|
+
var O;
|
|
67639
67639
|
o != null && o.height && (v.height = o.height), o != null && o.width && (v.width = o.width);
|
|
67640
|
-
const { placeholder: w, pagesize: C } = o,
|
|
67640
|
+
const { placeholder: w, pagesize: C, orientation: _ } = o, A = `${location == null ? void 0 : location.origin}/${sI(window == null ? void 0 : window.zyuiAssetsPath) ? "assets/" : window == null ? void 0 : window.zyuiAssetsPath}`;
|
|
67641
67641
|
return v = {
|
|
67642
67642
|
...v,
|
|
67643
67643
|
// 判断带没有带http,带了才加assetsPath,没有的话就直接用
|
|
67644
|
-
content_css: (
|
|
67644
|
+
content_css: (O = v == null ? void 0 : v.content_css) == null ? void 0 : O.map((R) => R.includes("http") ? R : `${A}${R}`),
|
|
67645
67645
|
placeholder: w,
|
|
67646
67646
|
...o.hasPagesize ? {
|
|
67647
67647
|
...fRe,
|
|
67648
|
-
pagesize: C
|
|
67648
|
+
pagesize: C,
|
|
67649
|
+
orientation: _
|
|
67649
67650
|
} : {}
|
|
67650
67651
|
}, v;
|
|
67651
67652
|
}
|
|
@@ -68085,7 +68086,7 @@ const Dme = (o, s) => {
|
|
|
68085
68086
|
to: O.node.element
|
|
68086
68087
|
}, [
|
|
68087
68088
|
Ht("div", {
|
|
68088
|
-
class:
|
|
68089
|
+
class: bi(["node-item-render", `node-item-${$e(f)}`])
|
|
68089
68090
|
}, [
|
|
68090
68091
|
Rr(O.$slots, "default", { node: O.node }, () => [
|
|
68091
68092
|
dn(BRe, { node: O.node }, null, 8, ["node"])
|
|
@@ -68980,7 +68981,7 @@ const qRe = /* @__PURE__ */ Go({
|
|
|
68980
68981
|
};
|
|
68981
68982
|
return (q, G) => KU((ut(), tn("div", {
|
|
68982
68983
|
class: "context-menu",
|
|
68983
|
-
style:
|
|
68984
|
+
style: wl({ ...q.style }),
|
|
68984
68985
|
ref_key: "contextMenuRef",
|
|
68985
68986
|
ref: i
|
|
68986
68987
|
}, [
|
|
@@ -68994,7 +68995,7 @@ const qRe = /* @__PURE__ */ Go({
|
|
|
68994
68995
|
}, [
|
|
68995
68996
|
j != null && j.icon ? (ut(), tn("div", XRe, [
|
|
68996
68997
|
Ht("div", {
|
|
68997
|
-
class:
|
|
68998
|
+
class: bi(j == null ? void 0 : j.icon)
|
|
68998
68999
|
}, null, 2)
|
|
68999
69000
|
])) : Po("", !0),
|
|
69000
69001
|
Is(" " + Ds(j.label) + " ", 1),
|
|
@@ -69002,7 +69003,7 @@ const qRe = /* @__PURE__ */ Go({
|
|
|
69002
69003
|
], 8, KRe),
|
|
69003
69004
|
j != null && j.children ? (ut(), tn("div", {
|
|
69004
69005
|
key: 0,
|
|
69005
|
-
class:
|
|
69006
|
+
class: bi(["submenu", { "submenu-bottom": q.direction === "bottom" }])
|
|
69006
69007
|
}, [
|
|
69007
69008
|
(ut(!0), tn(nr, null, ga(j.children, (F) => (ut(), tn("div", {
|
|
69008
69009
|
key: F.action,
|
|
@@ -69011,7 +69012,7 @@ const qRe = /* @__PURE__ */ Go({
|
|
|
69011
69012
|
}, [
|
|
69012
69013
|
F != null && F.icon ? (ut(), tn("div", eIe, [
|
|
69013
69014
|
Ht("div", {
|
|
69014
|
-
class:
|
|
69015
|
+
class: bi(F == null ? void 0 : F.icon)
|
|
69015
69016
|
}, null, 2)
|
|
69016
69017
|
])) : Po("", !0),
|
|
69017
69018
|
Is(" " + Ds(F.label), 1)
|
|
@@ -69235,10 +69236,10 @@ const $U = {
|
|
|
69235
69236
|
])
|
|
69236
69237
|
], 512),
|
|
69237
69238
|
Ht("html", {
|
|
69238
|
-
class: "nodes-editor",
|
|
69239
|
+
class: bi(["nodes-editor", `nodes-editor-${$e(_)}`]),
|
|
69239
69240
|
ref_key: "containerRef",
|
|
69240
69241
|
ref: f,
|
|
69241
|
-
style:
|
|
69242
|
+
style: wl([{ position: "relative" }, { position: "relative", minHeight: q.value }]),
|
|
69242
69243
|
onContextmenu: ge[0] || (ge[0] = oC(
|
|
69243
69244
|
//@ts-ignore
|
|
69244
69245
|
(...Oe) => $e(F) && $e(F)(...Oe),
|
|
@@ -69256,7 +69257,7 @@ const $U = {
|
|
|
69256
69257
|
onClick: nt
|
|
69257
69258
|
}, null, 8, cIe)
|
|
69258
69259
|
])
|
|
69259
|
-
],
|
|
69260
|
+
], 38)
|
|
69260
69261
|
]),
|
|
69261
69262
|
_: 1
|
|
69262
69263
|
}, 512),
|
|
@@ -69264,7 +69265,7 @@ const $U = {
|
|
|
69264
69265
|
key: 0,
|
|
69265
69266
|
show: $e(G),
|
|
69266
69267
|
"onUpdate:show": ge[1] || (ge[1] = (Oe) => oh(G) ? G.value = Oe : null),
|
|
69267
|
-
style:
|
|
69268
|
+
style: wl($e(j)),
|
|
69268
69269
|
direction: $e(fe)
|
|
69269
69270
|
}, null, 8, ["show", "style", "direction"])) : Po("", !0)
|
|
69270
69271
|
]));
|
|
@@ -69279,6 +69280,10 @@ const $U = {
|
|
|
69279
69280
|
orientation: {
|
|
69280
69281
|
type: String,
|
|
69281
69282
|
default: "portrait"
|
|
69283
|
+
},
|
|
69284
|
+
style: {
|
|
69285
|
+
type: Object,
|
|
69286
|
+
default: () => ({})
|
|
69282
69287
|
}
|
|
69283
69288
|
},
|
|
69284
69289
|
setup(o) {
|
|
@@ -69291,14 +69296,14 @@ const $U = {
|
|
|
69291
69296
|
});
|
|
69292
69297
|
return (u, f) => (ut(), tn("div", dIe, [
|
|
69293
69298
|
Ht("div", {
|
|
69294
|
-
style:
|
|
69299
|
+
style: wl({ width: `${i.value}px`, ...o.style }),
|
|
69295
69300
|
class: "pagesize-content"
|
|
69296
69301
|
}, [
|
|
69297
69302
|
Rr(u.$slots, "default", {}, void 0, !0)
|
|
69298
69303
|
], 4)
|
|
69299
69304
|
]));
|
|
69300
69305
|
}
|
|
69301
|
-
}), mIe = /* @__PURE__ */ Ii(fIe, [["__scopeId", "data-v-
|
|
69306
|
+
}), mIe = /* @__PURE__ */ Ii(fIe, [["__scopeId", "data-v-44e34db1"]]), gIe = /* @__PURE__ */ Go({
|
|
69302
69307
|
__name: "index",
|
|
69303
69308
|
props: /* @__PURE__ */ ia({
|
|
69304
69309
|
modelValue: {
|
|
@@ -69349,6 +69354,10 @@ const $U = {
|
|
|
69349
69354
|
footerHtml: {
|
|
69350
69355
|
type: String,
|
|
69351
69356
|
default: ""
|
|
69357
|
+
},
|
|
69358
|
+
pagesizeStyle: {
|
|
69359
|
+
type: Object,
|
|
69360
|
+
default: () => ({})
|
|
69352
69361
|
}
|
|
69353
69362
|
}, {
|
|
69354
69363
|
selectedNodes: { default: [] },
|
|
@@ -69393,7 +69402,8 @@ const $U = {
|
|
|
69393
69402
|
}
|
|
69394
69403
|
}), (Z, q) => (ut(), bo(mIe, {
|
|
69395
69404
|
pagesize: o.pagesize,
|
|
69396
|
-
orientation: u == null ? void 0 : u.orientation
|
|
69405
|
+
orientation: u == null ? void 0 : u.orientation,
|
|
69406
|
+
style: wl(o.pagesizeStyle)
|
|
69397
69407
|
}, {
|
|
69398
69408
|
default: _n(() => [
|
|
69399
69409
|
dn(YRe, {
|
|
@@ -69450,7 +69460,7 @@ const $U = {
|
|
|
69450
69460
|
}, 8, ["nodes", "selectedNodes", "nodesGroups", "editorId", "htmlRenderRef"])
|
|
69451
69461
|
]),
|
|
69452
69462
|
_: 3
|
|
69453
|
-
}, 8, ["pagesize", "orientation"]));
|
|
69463
|
+
}, 8, ["pagesize", "orientation", "style"]));
|
|
69454
69464
|
}
|
|
69455
69465
|
}), pIe = { class: "nodes-text" }, hIe = {
|
|
69456
69466
|
key: 0,
|
|
@@ -69605,13 +69615,13 @@ const R4 = [
|
|
|
69605
69615
|
var B;
|
|
69606
69616
|
return s.size === "small" ? (ut(), tn("div", wIe, [
|
|
69607
69617
|
Ht("div", {
|
|
69608
|
-
style:
|
|
69618
|
+
style: wl({ "--node-color": C.value }),
|
|
69609
69619
|
class: "node-color cursor-pointer"
|
|
69610
69620
|
}, null, 4),
|
|
69611
69621
|
Ht("div", null, Ds(s.label), 1),
|
|
69612
69622
|
s.disabled ? Po("", !0) : (ut(), tn("div", {
|
|
69613
69623
|
key: 0,
|
|
69614
|
-
style:
|
|
69624
|
+
style: wl($e(v) ? { color: "#409eff" } : {}),
|
|
69615
69625
|
onClick: R[0] || (R[0] = //@ts-ignore
|
|
69616
69626
|
(...W) => $e(p) && $e(p)(...W))
|
|
69617
69627
|
}, R[6] || (R[6] = [
|
|
@@ -69634,12 +69644,12 @@ const R4 = [
|
|
|
69634
69644
|
Ht("div", xIe, [
|
|
69635
69645
|
Ht("div", _Ie, [
|
|
69636
69646
|
Ht("div", {
|
|
69637
|
-
style:
|
|
69647
|
+
style: wl({ "--node-color": C.value }),
|
|
69638
69648
|
class: "node-color cursor-pointer"
|
|
69639
69649
|
}, null, 4),
|
|
69640
69650
|
s.disabled ? Po("", !0) : (ut(), tn("div", {
|
|
69641
69651
|
key: 0,
|
|
69642
|
-
style:
|
|
69652
|
+
style: wl($e(v) ? { color: "#409eff" } : {})
|
|
69643
69653
|
}, [
|
|
69644
69654
|
Ht("div", {
|
|
69645
69655
|
class: "i-bi:hand-index text-[18px] cursor-pointer",
|
|
@@ -69681,7 +69691,7 @@ const R4 = [
|
|
|
69681
69691
|
])
|
|
69682
69692
|
]),
|
|
69683
69693
|
Ht("div", {
|
|
69684
|
-
class:
|
|
69694
|
+
class: bi(["min-h-[42px] px-2 py-1", { "shadow-[0_0_0_2px_#409eff]": $e(v) }]),
|
|
69685
69695
|
onClick: R[5] || (R[5] = () => {
|
|
69686
69696
|
s != null && s.disabled || $e(p)();
|
|
69687
69697
|
})
|
|
@@ -70256,12 +70266,12 @@ const HIe = (o, s) => {
|
|
|
70256
70266
|
Ht("div", UIe, [
|
|
70257
70267
|
(ut(!0), tn(nr, null, ga(w.value, (R, B) => (ut(), tn("span", {
|
|
70258
70268
|
key: B,
|
|
70259
|
-
class:
|
|
70269
|
+
class: bi([
|
|
70260
70270
|
"node-formula-item",
|
|
70261
70271
|
`node-formula-item-type-${R == null ? void 0 : R.type}`,
|
|
70262
70272
|
B === $e(C) ? "node-formula-item-active" : ""
|
|
70263
70273
|
]),
|
|
70264
|
-
style:
|
|
70274
|
+
style: wl({
|
|
70265
70275
|
"--text-color": (R == null ? void 0 : R.color) || "#000",
|
|
70266
70276
|
"--bg-color": $e(OU)((R == null ? void 0 : R.color) || "#000", 0.1)
|
|
70267
70277
|
})
|
|
@@ -70338,7 +70348,7 @@ const HIe = (o, s) => {
|
|
|
70338
70348
|
onClick: () => {
|
|
70339
70349
|
p(C.value);
|
|
70340
70350
|
},
|
|
70341
|
-
class:
|
|
70351
|
+
class: bi(["function-item-wrapper", { active: f.value === C.value }])
|
|
70342
70352
|
}, [
|
|
70343
70353
|
Ht("div", YIe, Ds(C.value), 1),
|
|
70344
70354
|
Ht("div", KIe, Ds(C.label), 1)
|
|
@@ -75206,7 +75216,7 @@ const PFe = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], BFe =
|
|
|
75206
75216
|
"data-handleid": o.id,
|
|
75207
75217
|
"data-nodeid": $e(B),
|
|
75208
75218
|
"data-handlepos": De.position,
|
|
75209
|
-
class:
|
|
75219
|
+
class: bi(["vue-flow__handle", [
|
|
75210
75220
|
`vue-flow__handle-${De.position}`,
|
|
75211
75221
|
`vue-flow__handle-${o.id}`,
|
|
75212
75222
|
$e(O),
|
|
@@ -75313,7 +75323,7 @@ const HFe = jj, VFe = ["transform"], zFe = ["width", "height", "x", "y", "rx", "
|
|
|
75313
75323
|
height: `${s.value.height + 2 * p.labelBgPadding[1]}px`,
|
|
75314
75324
|
x: -p.labelBgPadding[0],
|
|
75315
75325
|
y: -p.labelBgPadding[1],
|
|
75316
|
-
style:
|
|
75326
|
+
style: wl(p.labelBgStyle),
|
|
75317
75327
|
rx: p.labelBgBorderRadius,
|
|
75318
75328
|
ry: p.labelBgBorderRadius
|
|
75319
75329
|
}, null, 12, zFe)) : Po("", !0),
|
|
@@ -76027,7 +76037,7 @@ const fLe = {
|
|
|
76027
76037
|
setup(o) {
|
|
76028
76038
|
return (s, i) => (ut(), tn("div", {
|
|
76029
76039
|
class: "vue-flow__selection vue-flow__container",
|
|
76030
|
-
style:
|
|
76040
|
+
style: wl({
|
|
76031
76041
|
width: `${s.userSelectionRect.width}px`,
|
|
76032
76042
|
height: `${s.userSelectionRect.height}px`,
|
|
76033
76043
|
transform: `translate(${s.userSelectionRect.x}px, ${s.userSelectionRect.y}px)`
|
|
@@ -76076,14 +76086,14 @@ const fLe = {
|
|
|
76076
76086
|
}
|
|
76077
76087
|
return (W, Z) => !$e(v) && A.value.width && A.value.height ? (ut(), tn("div", {
|
|
76078
76088
|
key: 0,
|
|
76079
|
-
class:
|
|
76080
|
-
style:
|
|
76089
|
+
class: bi(["vue-flow__nodesselection vue-flow__container", $e(f)]),
|
|
76090
|
+
style: wl({ transform: `translate(${$e(i).x}px,${$e(i).y}px) scale(${$e(i).zoom})` })
|
|
76081
76091
|
}, [
|
|
76082
76092
|
Ht("div", {
|
|
76083
76093
|
ref_key: "el",
|
|
76084
76094
|
ref: C,
|
|
76085
|
-
class:
|
|
76086
|
-
style:
|
|
76095
|
+
class: bi([{ dragging: $e(_) }, "vue-flow__nodesselection-rect"]),
|
|
76096
|
+
style: wl(O.value),
|
|
76087
76097
|
tabIndex: $e(p) ? void 0 : -1,
|
|
76088
76098
|
onContextmenu: R,
|
|
76089
76099
|
onKeydown: B
|
|
@@ -76215,7 +76225,7 @@ const bLe = {
|
|
|
76215
76225
|
return (ze, yt) => (ut(), tn("div", {
|
|
76216
76226
|
ref_key: "container",
|
|
76217
76227
|
ref: J,
|
|
76218
|
-
class:
|
|
76228
|
+
class: bi(["vue-flow__pane vue-flow__container", { selection: ze.isSelecting }]),
|
|
76219
76229
|
onClick: yt[0] || (yt[0] = (Ie) => De.value ? void 0 : je(be, J.value)(Ie)),
|
|
76220
76230
|
onContextmenu: yt[1] || (yt[1] = (Ie) => je(tt, J.value)(Ie)),
|
|
76221
76231
|
onWheelPassive: yt[2] || (yt[2] = (Ie) => je(st, J.value)(Ie)),
|
|
@@ -76242,7 +76252,7 @@ const bLe = {
|
|
|
76242
76252
|
const { viewport: s, fitViewOnInit: i, fitViewOnInitDone: u } = jr(), f = En(() => i.value ? !u.value : !1), p = En(() => `translate(${s.value.x}px,${s.value.y}px) scale(${s.value.zoom})`);
|
|
76243
76253
|
return (v, w) => (ut(), tn("div", {
|
|
76244
76254
|
class: "vue-flow__transformationpane vue-flow__container",
|
|
76245
|
-
style:
|
|
76255
|
+
style: wl({ transform: p.value, opacity: f.value ? 0 : void 0 })
|
|
76246
76256
|
}, [
|
|
76247
76257
|
Rr(v.$slots, "default")
|
|
76248
76258
|
], 4));
|
|
@@ -76411,7 +76421,7 @@ const bLe = {
|
|
|
76411
76421
|
dn(yLe, {
|
|
76412
76422
|
"is-selecting": Ot.value,
|
|
76413
76423
|
"selection-key-pressed": $e(tt),
|
|
76414
|
-
class:
|
|
76424
|
+
class: bi({
|
|
76415
76425
|
connecting: !!$e(F),
|
|
76416
76426
|
dragging: $e(Ze),
|
|
76417
76427
|
draggable: $e(O) === !0 || Array.isArray($e(O)) && $e(O).includes(0)
|
|
@@ -76838,7 +76848,7 @@ const Yce = qse, NLe = Go({
|
|
|
76838
76848
|
}, [
|
|
76839
76849
|
s.type === $e(BU).ArrowClosed ? (ut(), tn("polyline", {
|
|
76840
76850
|
key: 0,
|
|
76841
|
-
style:
|
|
76851
|
+
style: wl({
|
|
76842
76852
|
stroke: s.color,
|
|
76843
76853
|
fill: s.color,
|
|
76844
76854
|
strokeWidth: s.strokeWidth
|
|
@@ -76849,7 +76859,7 @@ const Yce = qse, NLe = Go({
|
|
|
76849
76859
|
}, null, 4)) : Po("", !0),
|
|
76850
76860
|
s.type === $e(BU).Arrow ? (ut(), tn("polyline", {
|
|
76851
76861
|
key: 1,
|
|
76852
|
-
style:
|
|
76862
|
+
style: wl({
|
|
76853
76863
|
stroke: s.color,
|
|
76854
76864
|
strokeWidth: s.strokeWidth
|
|
76855
76865
|
}),
|
|
@@ -76908,7 +76918,7 @@ const Yce = qse, NLe = Go({
|
|
|
76908
76918
|
(ut(!0), tn(nr, null, ga($e(i), (v) => (ut(), tn("svg", {
|
|
76909
76919
|
key: v.id,
|
|
76910
76920
|
class: "vue-flow__edges vue-flow__container",
|
|
76911
|
-
style:
|
|
76921
|
+
style: wl({ zIndex: $e(cFe)(v, $e(s), $e(u)) })
|
|
76912
76922
|
}, [
|
|
76913
76923
|
dn($e(MLe), {
|
|
76914
76924
|
id: v.id
|
|
@@ -77347,8 +77357,8 @@ const e9e = /* @__PURE__ */ Ht("div", { class: "vue-flow__edge-labels" }, null,
|
|
|
77347
77357
|
setup(o) {
|
|
77348
77358
|
const s = o, { userSelectionActive: i } = jr(), u = En(() => `${s.position}`.split("-"));
|
|
77349
77359
|
return (f, p) => (ut(), tn("div", {
|
|
77350
|
-
class:
|
|
77351
|
-
style:
|
|
77360
|
+
class: bi(["vue-flow__panel", u.value]),
|
|
77361
|
+
style: wl({ pointerEvents: $e(i) ? "none" : "all" })
|
|
77352
77362
|
}, [
|
|
77353
77363
|
Rr(f.$slots, "default")
|
|
77354
77364
|
], 6));
|
|
@@ -77403,7 +77413,7 @@ const s9e = {
|
|
|
77403
77413
|
}), f = li(() => `pattern-${s}${o.id ? `-${o.id}` : ""}`), p = li(() => o.color || o.patternColor || s9e[o.variant || gy.Dots]);
|
|
77404
77414
|
return (v, w) => (ut(), tn("svg", {
|
|
77405
77415
|
class: "vue-flow__background vue-flow__container",
|
|
77406
|
-
style:
|
|
77416
|
+
style: wl({
|
|
77407
77417
|
height: `${v.height > 100 ? 100 : v.height}%`,
|
|
77408
77418
|
width: `${v.width > 100 ? 100 : v.width}%`
|
|
77409
77419
|
})
|
|
@@ -79965,11 +79975,11 @@ const Npe = {
|
|
|
79965
79975
|
}), (R, B) => p.value ? (ut(), tn("div", {
|
|
79966
79976
|
key: 0,
|
|
79967
79977
|
class: "context-menu",
|
|
79968
|
-
style:
|
|
79978
|
+
style: wl({ left: f.value.positionX + "px", top: f.value.positionY + "px" })
|
|
79969
79979
|
}, [
|
|
79970
79980
|
(ut(!0), tn(nr, null, ga(O.value, (W, Z) => (ut(), tn("div", {
|
|
79971
79981
|
key: Z,
|
|
79972
|
-
class:
|
|
79982
|
+
class: bi(["menu-item", { disabled: W.disabled }]),
|
|
79973
79983
|
onClick: (q) => !W.disabled && W.actionHandler()
|
|
79974
79984
|
}, Ds(W.title), 11, jUe))), 128))
|
|
79975
79985
|
], 4)) : Po("", !0);
|
|
@@ -80045,7 +80055,7 @@ const Yj = () => {
|
|
|
80045
80055
|
Ht("div", XUe, [
|
|
80046
80056
|
Ht("div", {
|
|
80047
80057
|
class: "w-[32px] h-[32px] rounded-full flex-center text-white text-[13px] mr-2",
|
|
80048
|
-
style:
|
|
80058
|
+
style: wl({ "background-color": (W = w.value) != null && W.color ? (Z = w.value) == null ? void 0 : Z.color : "#409EFF" })
|
|
80049
80059
|
}, Ds((q = w.value) == null ? void 0 : q.text), 5),
|
|
80050
80060
|
Ht("div", JUe, Ds((G = $e(p)) == null ? void 0 : G.data.label), 1)
|
|
80051
80061
|
]),
|
|
@@ -80233,7 +80243,7 @@ const cje = { class: "w-full flex flex-col" }, uje = { class: "grid grid-cols-2
|
|
|
80233
80243
|
Ht("div", uje, [
|
|
80234
80244
|
(ut(!0), tn(nr, null, ga(w.value, (j) => (ut(), tn("div", {
|
|
80235
80245
|
key: j == null ? void 0 : j.id,
|
|
80236
|
-
class:
|
|
80246
|
+
class: bi({ "vue-flow__node-default": !0, selected: j.selected }),
|
|
80237
80247
|
onClick: (F) => _(F, j),
|
|
80238
80248
|
onDblclick: (F) => Z(j),
|
|
80239
80249
|
onContextmenu: (F) => R(F, j)
|
|
@@ -80350,7 +80360,7 @@ const cje = { class: "w-full flex flex-col" }, uje = { class: "grid grid-cols-2
|
|
|
80350
80360
|
var C, _;
|
|
80351
80361
|
return (C = p.data) != null && C.text ? (ut(), tn("div", {
|
|
80352
80362
|
key: 0,
|
|
80353
|
-
style:
|
|
80363
|
+
style: wl({ "background-color": p == null ? void 0 : p.color }),
|
|
80354
80364
|
class: "edge-label",
|
|
80355
80365
|
onClick: w[0] || (w[0] = oC(
|
|
80356
80366
|
() => {
|
|
@@ -80430,7 +80440,7 @@ const cje = { class: "w-full flex flex-col" }, uje = { class: "grid grid-cols-2
|
|
|
80430
80440
|
return (C, _) => (ut(), tn(nr, null, [
|
|
80431
80441
|
dn($e(RI), {
|
|
80432
80442
|
id: o.id,
|
|
80433
|
-
style:
|
|
80443
|
+
style: wl(o.style),
|
|
80434
80444
|
path: i.value[0],
|
|
80435
80445
|
"marker-end": v.value,
|
|
80436
80446
|
label: s != null && s.label ? C.label : "",
|
|
@@ -80440,7 +80450,7 @@ const cje = { class: "w-full flex flex-col" }, uje = { class: "grid grid-cols-2
|
|
|
80440
80450
|
dn($e(qLe), null, {
|
|
80441
80451
|
default: _n(() => [
|
|
80442
80452
|
Ht("div", {
|
|
80443
|
-
style:
|
|
80453
|
+
style: wl({
|
|
80444
80454
|
pointerEvents: "all",
|
|
80445
80455
|
position: "absolute",
|
|
80446
80456
|
transform: `translate(-50%, -50%) translate(${i.value[1]}px,${i.value[2]}px)`
|
|
@@ -82936,7 +82946,7 @@ const Voe = [
|
|
|
82936
82946
|
Ht("div", MWe, [
|
|
82937
82947
|
(ut(!0), tn(nr, null, ga($e(f), (A) => (ut(), tn("div", {
|
|
82938
82948
|
key: A == null ? void 0 : A.id,
|
|
82939
|
-
class:
|
|
82949
|
+
class: bi(["flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group", { "opacity-50": p(A) }])
|
|
82940
82950
|
}, [
|
|
82941
82951
|
Ht("div", RWe, Ds(A == null ? void 0 : A.name), 1),
|
|
82942
82952
|
p(A) ? Po("", !0) : (ut(), bo($e(Kg), {
|
|
@@ -83101,7 +83111,7 @@ const Voe = [
|
|
|
83101
83111
|
var fe, Ze;
|
|
83102
83112
|
return [
|
|
83103
83113
|
Ht("div", {
|
|
83104
|
-
class:
|
|
83114
|
+
class: bi(["flex items-center gap-2", { "opacity-50": F == null ? void 0 : F.disabled }])
|
|
83105
83115
|
}, [
|
|
83106
83116
|
!$e(i) && (F == null ? void 0 : F.type) === "user" ? (ut(), bo($e(X2), {
|
|
83107
83117
|
key: 0,
|
|
@@ -83231,12 +83241,12 @@ const Voe = [
|
|
|
83231
83241
|
}, null, 8, ["modelValue"])) : Po("", !0)
|
|
83232
83242
|
]),
|
|
83233
83243
|
Ht("div", {
|
|
83234
|
-
class:
|
|
83244
|
+
class: bi(["flex-grow h-1 overflow-auto", { "mt-2": !$e(i) }])
|
|
83235
83245
|
}, [
|
|
83236
83246
|
(ut(!0), tn(nr, null, ga(_.value, (Z, q) => {
|
|
83237
83247
|
var G, j;
|
|
83238
83248
|
return ut(), tn("div", {
|
|
83239
|
-
class:
|
|
83249
|
+
class: bi(["flex items-center justify-between cursor-pointer hover:bg-[#f5f7fa] px-2 rounded-[4px]", { "opacity-50 cursor-not-allowed": A(Z) }]),
|
|
83240
83250
|
key: q,
|
|
83241
83251
|
onClick: (F) => R(Z)
|
|
83242
83252
|
}, [
|
|
@@ -83460,7 +83470,7 @@ const Voe = [
|
|
|
83460
83470
|
var Ze, _e;
|
|
83461
83471
|
return [
|
|
83462
83472
|
Ht("div", {
|
|
83463
|
-
class:
|
|
83473
|
+
class: bi(["flex items-center gap-2", { "opacity-50": fe == null ? void 0 : fe.disabled }])
|
|
83464
83474
|
}, [
|
|
83465
83475
|
!$e(i) && (fe == null ? void 0 : fe.type) === "user" ? (ut(), bo($e(X2), {
|
|
83466
83476
|
key: 0,
|
|
@@ -83884,7 +83894,7 @@ const Voe = [
|
|
|
83884
83894
|
i.disabled ? Po("", !0) : (ut(), bo($e(Fu), {
|
|
83885
83895
|
key: 0,
|
|
83886
83896
|
size: "small",
|
|
83887
|
-
class:
|
|
83897
|
+
class: bi(["align-middle", {
|
|
83888
83898
|
"ml-2": (O = $e(p)) == null ? void 0 : O.length
|
|
83889
83899
|
}]),
|
|
83890
83900
|
onClick: A[0] || (A[0] = () => {
|
|
@@ -84303,7 +84313,7 @@ const Voe = [
|
|
|
84303
84313
|
}, null, 8, ["modelValue"])) : Po("", !0)
|
|
84304
84314
|
]),
|
|
84305
84315
|
Ht("div", {
|
|
84306
|
-
class:
|
|
84316
|
+
class: bi(["flex-grow h-1 overflow-auto", { "mt-2": !$e(i) }])
|
|
84307
84317
|
}, [
|
|
84308
84318
|
(ut(!0), tn(nr, null, ga($e(p), (O, R) => {
|
|
84309
84319
|
var B, W;
|
|
@@ -84456,7 +84466,7 @@ const Voe = [
|
|
|
84456
84466
|
])) : Po("", !0),
|
|
84457
84467
|
dn($e(Fu), {
|
|
84458
84468
|
size: "small",
|
|
84459
|
-
class:
|
|
84469
|
+
class: bi(["align-middle", {
|
|
84460
84470
|
"ml-2": (A = f.value) == null ? void 0 : A.length
|
|
84461
84471
|
}]),
|
|
84462
84472
|
onClick: w[0] || (w[0] = () => {
|
|
@@ -84942,7 +84952,7 @@ const Voe = [
|
|
|
84942
84952
|
}, null, 8, ["modelValue"])) : Po("", !0)
|
|
84943
84953
|
]),
|
|
84944
84954
|
Ht("div", {
|
|
84945
|
-
class:
|
|
84955
|
+
class: bi(["flex-grow h-1 overflow-auto", { "mt-2": !$e(i) }])
|
|
84946
84956
|
}, [
|
|
84947
84957
|
(ut(!0), tn(nr, null, ga($e(p), (O, R) => {
|
|
84948
84958
|
var B, W;
|
|
@@ -85085,7 +85095,7 @@ const Voe = [
|
|
|
85085
85095
|
])) : Po("", !0),
|
|
85086
85096
|
dn($e(Fu), {
|
|
85087
85097
|
size: "small",
|
|
85088
|
-
class:
|
|
85098
|
+
class: bi(["align-middle", {
|
|
85089
85099
|
"ml-2": (A = f.value) == null ? void 0 : A.length
|
|
85090
85100
|
}]),
|
|
85091
85101
|
onClick: w[0] || (w[0] = () => {
|
|
@@ -85484,14 +85494,14 @@ const Voe = [
|
|
|
85484
85494
|
Ht("div", nqe, [
|
|
85485
85495
|
i != null && i.unlimited ? (ut(), tn("div", {
|
|
85486
85496
|
key: 0,
|
|
85487
|
-
class:
|
|
85497
|
+
class: bi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": u.value.groupId === "0" }]),
|
|
85488
85498
|
onClick: R[1] || (R[1] = (B) => u.value.groupId = "0")
|
|
85489
85499
|
}, [
|
|
85490
85500
|
R[5] || (R[5] = Is(" 不限 ")),
|
|
85491
85501
|
u.value.groupId === "0" ? (ut(), tn("div", oqe)) : Po("", !0)
|
|
85492
85502
|
], 2)) : Po("", !0),
|
|
85493
85503
|
(ut(!0), tn(nr, null, ga(_.value, (B) => (ut(), tn("div", {
|
|
85494
|
-
class:
|
|
85504
|
+
class: bi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (B == null ? void 0 : B.id) === u.value.groupId }]),
|
|
85495
85505
|
key: B == null ? void 0 : B.id,
|
|
85496
85506
|
onClick: (W) => u.value.groupId = B == null ? void 0 : B.id
|
|
85497
85507
|
}, [
|
|
@@ -85515,14 +85525,14 @@ const Voe = [
|
|
|
85515
85525
|
Ht("div", lqe, [
|
|
85516
85526
|
i != null && i.unlimited ? (ut(), tn("div", {
|
|
85517
85527
|
key: 0,
|
|
85518
|
-
class:
|
|
85528
|
+
class: bi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": u.value.roleId === "0" }]),
|
|
85519
85529
|
onClick: R[3] || (R[3] = (B) => u.value.roleId = "0")
|
|
85520
85530
|
}, [
|
|
85521
85531
|
R[7] || (R[7] = Is(" 不限 ")),
|
|
85522
85532
|
u.value.roleId === "0" ? (ut(), tn("div", cqe)) : Po("", !0)
|
|
85523
85533
|
], 2)) : Po("", !0),
|
|
85524
85534
|
(ut(!0), tn(nr, null, ga(A.value, (B) => (ut(), tn("div", {
|
|
85525
|
-
class:
|
|
85535
|
+
class: bi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (B == null ? void 0 : B.id) === u.value.roleId }]),
|
|
85526
85536
|
key: B == null ? void 0 : B.id,
|
|
85527
85537
|
onClick: (W) => u.value.roleId = B == null ? void 0 : B.id
|
|
85528
85538
|
}, [
|