golden-logic-ui 1.0.652 → 1.0.653
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/golden-logic-ui.js +641 -641
- package/dist/golden-logic-ui.umd.cjs +30 -30
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -695,7 +695,7 @@ const Txe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
695
695
|
Jt.key === "Enter" && Jt.target.form && Jt.preventDefault();
|
|
696
696
|
};
|
|
697
697
|
Fh(() => {
|
|
698
|
-
F.value =
|
|
698
|
+
F.value = ce(), i.show || (window.addEventListener("scroll", Me), document.body.addEventListener("click", dn), document.addEventListener("keypress", ye));
|
|
699
699
|
}), _4(() => {
|
|
700
700
|
window.removeEventListener("scroll", Me), document.body.removeEventListener("click", dn), document.removeEventListener("keypress", ye);
|
|
701
701
|
});
|
|
@@ -720,7 +720,7 @@ const Txe = /* @__PURE__ */ Ti(ble, [["render", wle]]), xle = { class: "bg-white
|
|
|
720
720
|
Xn(Jt.key);
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function ce() {
|
|
724
724
|
let Jt = (/* @__PURE__ */ new Date()).getTime();
|
|
725
725
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
726
726
|
/[xy]/g,
|
|
@@ -3248,11 +3248,11 @@ const Ixe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3248
3248
|
setup(u, { emit: o }) {
|
|
3249
3249
|
const i = u, c = o;
|
|
3250
3250
|
Ro(null);
|
|
3251
|
-
const h = Ro({}), m = Ro(!1), O = Ro(0), w = Ro(!1), T = Ro(""), P = Ro(""), R = Ro(!1), F = Ro(1), H = Ro(null), K = Ro(1), he = Ro([]), Me = Ro([]), ye = Ro(null), Te = Ro(null), et = Ro(0),
|
|
3252
|
-
if (
|
|
3251
|
+
const h = Ro({}), m = Ro(!1), O = Ro(0), w = Ro(!1), T = Ro(""), P = Ro(""), R = Ro(!1), F = Ro(1), H = Ro(null), K = Ro(1), he = Ro([]), Me = Ro([]), ye = Ro(null), Te = Ro(null), et = Ro(0), ce = Ro(0), je = () => {
|
|
3252
|
+
if (ye.value) {
|
|
3253
3253
|
et.value = ye.value.offsetWidth;
|
|
3254
3254
|
var lt = ye.value.getBoundingClientRect();
|
|
3255
|
-
|
|
3255
|
+
ce.value = lt.top + 41 + (i.label_name ? 22 : 0);
|
|
3256
3256
|
}
|
|
3257
3257
|
}, Xt = async (lt = "down", Ke = !1) => {
|
|
3258
3258
|
if (!R.value) {
|
|
@@ -3484,7 +3484,7 @@ const Ixe = /* @__PURE__ */ Ti(wue, [["render", Yue], ["__scopeId", "data-v-bb11
|
|
|
3484
3484
|
class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l fixed w-full z-[999999999] rounded-b-lg",
|
|
3485
3485
|
style: aJ({
|
|
3486
3486
|
maxWidth: et.value + "px",
|
|
3487
|
-
top:
|
|
3487
|
+
top: ce.value + "px"
|
|
3488
3488
|
})
|
|
3489
3489
|
}, [
|
|
3490
3490
|
u.hide_search ? Ct("", !0) : (ke(), $e("div", Fde, [
|
|
@@ -3751,7 +3751,7 @@ function rhe() {
|
|
|
3751
3751
|
}, he = (e) => {
|
|
3752
3752
|
const n = typeof e;
|
|
3753
3753
|
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && K(e, String, (s, a) => a.isPrototypeOf(s)) ? "string" : n;
|
|
3754
|
-
}, Me = (e) => (n) => he(n) === e, ye = (e) => (n) => typeof n === e, Te = (e) => (n) => e === n, et = (e, n) => je(e) && K(e, n, (s, a) => H(s) === a),
|
|
3754
|
+
}, Me = (e) => (n) => he(n) === e, ye = (e) => (n) => typeof n === e, Te = (e) => (n) => e === n, et = (e, n) => je(e) && K(e, n, (s, a) => H(s) === a), ce = Me("string"), je = Me("object"), Xt = (e) => et(e, Object), it = Me("array"), oe = Te(null), Et = ye("boolean"), rn = Te(void 0), dn = (e) => e == null, Xe = (e) => !dn(e), ve = ye("function"), Xn = ye("number"), ut = (e, n) => {
|
|
3755
3755
|
if (it(e)) {
|
|
3756
3756
|
for (let s = 0, a = e.length; s < a; ++s)
|
|
3757
3757
|
if (!n(e[s]))
|
|
@@ -4285,8 +4285,8 @@ function rhe() {
|
|
|
4285
4285
|
isTouch: Tn.isTouch,
|
|
4286
4286
|
isWebView: Tn.isWebView
|
|
4287
4287
|
}
|
|
4288
|
-
}, go = /^\s*|\s*$/g, as = (e) => dn(e) ? "" : ("" + e).replace(go, ""), q = (e, n) => n ? n === "array" && Ls(e) ? !0 : typeof e === n : e !== void 0,
|
|
4289
|
-
const a =
|
|
4288
|
+
}, go = /^\s*|\s*$/g, as = (e) => dn(e) ? "" : ("" + e).replace(go, ""), q = (e, n) => n ? n === "array" && Ls(e) ? !0 : typeof e === n : e !== void 0, le = (e, n, s = {}) => {
|
|
4289
|
+
const a = ce(e) ? e.split(n || ",") : e || [];
|
|
4290
4290
|
let d = a.length;
|
|
4291
4291
|
for (; d--; )
|
|
4292
4292
|
s[a[d]] = {};
|
|
@@ -4308,7 +4308,7 @@ function rhe() {
|
|
|
4308
4308
|
isArray: Ls,
|
|
4309
4309
|
is: q,
|
|
4310
4310
|
toArray: Or,
|
|
4311
|
-
makeMap:
|
|
4311
|
+
makeMap: le,
|
|
4312
4312
|
each: Ws,
|
|
4313
4313
|
map: bi,
|
|
4314
4314
|
grep: sa,
|
|
@@ -4351,7 +4351,7 @@ function rhe() {
|
|
|
4351
4351
|
const n = ei("ownerDocument.defaultView", e);
|
|
4352
4352
|
return je(e) && (lr(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test(Im(e).constructor.name));
|
|
4353
4353
|
}, wi = 8, zi = 9, Ma = 11, nu = 1, fe = 3, be = (e) => e.dom.nodeName.toLowerCase(), tt = (e) => e.dom.nodeType, Pt = (e) => (n) => tt(n) === e, Hn = (e) => tt(e) === wi || be(e) === "#comment", ls = (e) => Io(e) && Nc(e.dom), Io = Pt(nu), tr = Pt(fe), ri = Pt(zi), Ja = Pt(Ma), Ba = (e) => (n) => Io(n) && be(n) === e, yr = (e, n, s) => {
|
|
4354
|
-
if (
|
|
4354
|
+
if (ce(s) || Et(s) || Xn(s))
|
|
4355
4355
|
e.setAttribute(n, s + "");
|
|
4356
4356
|
else
|
|
4357
4357
|
throw console.error("Invalid call to Attribute.set. Key ", n, ":: Value ", s, ":: Element ", e), new Error("Attribute value was not simple");
|
|
@@ -4523,7 +4523,7 @@ function rhe() {
|
|
|
4523
4523
|
}, Xh = (e, n, s) => Qc(e, (a) => Ol(a, n), s), Ui = (e, n) => gd(n, e), In = (e, n, s) => Zg((d, p) => Ol(d, p), Xh, e, n, s), Vg = (e) => In(e, "[contenteditable]"), iu = (e, n = !1) => ru(e) ? e.dom.isContentEditable : Vg(e).fold(It(n), (s) => Wl(s) === "true"), Wl = (e) => e.dom.contentEditable, Is = (e, n) => {
|
|
4524
4524
|
e.dom.contentEditable = n ? "true" : "false";
|
|
4525
4525
|
}, rh = (e) => e.style !== void 0 && ve(e.style.getPropertyValue), jf = (e, n, s) => {
|
|
4526
|
-
if (!
|
|
4526
|
+
if (!ce(s))
|
|
4527
4527
|
throw console.error("Invalid call to CSS.set. Property ", n, ":: Value ", s, ":: Element ", e), new Error("CSS value must be a string: " + s);
|
|
4528
4528
|
rh(e) && e.style.setProperty(n, s);
|
|
4529
4529
|
}, Xf = (e, n) => {
|
|
@@ -4932,7 +4932,7 @@ function rhe() {
|
|
|
4932
4932
|
}, lh = (e, n, s) => {
|
|
4933
4933
|
const a = (p) => ks(p, Re.fromDom(n)), d = zm(Re.fromDom(s), a);
|
|
4934
4934
|
Ya(d, d.length - 2).filter(Io).fold(() => yl(e, n), (p) => yl(e, p.dom));
|
|
4935
|
-
}, Bl = (e) => e.hasAttribute(Qe), nf = (e, n) => jn(e.getTransparentElements(), n), Jf = (e, n) => pn(n) && nf(e, n.nodeName), ju = (e, n) => Jf(e, n) && Bl(n), Xu = (e, n) => Jf(e, n) && !Bl(n), Gm = (e, n) => n.type === 1 && nf(e, n.name) &&
|
|
4935
|
+
}, Bl = (e) => e.hasAttribute(Qe), nf = (e, n) => jn(e.getTransparentElements(), n), Jf = (e, n) => pn(n) && nf(e, n.nodeName), ju = (e, n) => Jf(e, n) && Bl(n), Xu = (e, n) => Jf(e, n) && !Bl(n), Gm = (e, n) => n.type === 1 && nf(e, n.name) && ce(n.attr(Qe)), Xg = se().browser, qg = (e) => Jo(e, Io), w2 = (e) => Xg.isFirefox() && be(e) === "table" ? qg(aa(e)).filter((n) => be(n) === "caption").bind((n) => qg(Wf(n)).map((s) => {
|
|
4936
4936
|
const a = s.dom.offsetTop, d = n.dom.offsetTop, p = n.dom.offsetHeight;
|
|
4937
4937
|
return a <= d ? -p : 0;
|
|
4938
4938
|
})).getOr(0) : 0, Ji = (e, n) => e.children && Ne(e.children, n), hs = (e, n, s) => {
|
|
@@ -5352,7 +5352,7 @@ function rhe() {
|
|
|
5352
5352
|
}, KO = (e) => YO("td th li dt dd figcaption caption details summary", e.getTextBlockElements()), JO = (e, n) => {
|
|
5353
5353
|
if (e) {
|
|
5354
5354
|
const s = {};
|
|
5355
|
-
return
|
|
5355
|
+
return ce(e) && (e = { "*": e }), Vn(e, (a, d) => {
|
|
5356
5356
|
s[d] = s[d.toUpperCase()] = n === "map" ? qo(a, /[, ]/) : GO(a, /[, ]/);
|
|
5357
5357
|
}), s;
|
|
5358
5358
|
} else
|
|
@@ -5437,7 +5437,7 @@ function rhe() {
|
|
|
5437
5437
|
Kn(Cs, { extends: Li });
|
|
5438
5438
|
});
|
|
5439
5439
|
}, os = (Yn) => {
|
|
5440
|
-
je(Yn) ? Gt(Yn, (Cs, Li) => Kn(Li, Cs)) :
|
|
5440
|
+
je(Yn) ? Gt(Yn, (Cs, Li) => Kn(Li, Cs)) : ce(Yn) && ns(Yn);
|
|
5441
5441
|
}, Ys = (Yn) => {
|
|
5442
5442
|
Se(ep(Yn ?? ""), ({ operation: Cs, name: Li, validChildren: Xa }) => {
|
|
5443
5443
|
const ml = Cs === "replace" ? { "#comment": {} } : a[Li], Ea = (li) => {
|
|
@@ -5861,7 +5861,7 @@ function rhe() {
|
|
|
5861
5861
|
style: {
|
|
5862
5862
|
set: (y, C) => {
|
|
5863
5863
|
const $ = Re.fromDom(y);
|
|
5864
|
-
a && Xl($, eb, C), Vs($, "style"),
|
|
5864
|
+
a && Xl($, eb, C), Vs($, "style"), ce(C) && Eo($, e.parse(C));
|
|
5865
5865
|
},
|
|
5866
5866
|
get: (y) => {
|
|
5867
5867
|
const C = Re.fromDom(y), $ = ia(C, eb) || ia(C, "style");
|
|
@@ -5879,7 +5879,7 @@ function rhe() {
|
|
|
5879
5879
|
}), B = [], W = n.schema ? n.schema : nr({}), X = ng({
|
|
5880
5880
|
url_converter: n.url_converter,
|
|
5881
5881
|
url_converter_scope: n.url_converter_scope
|
|
5882
|
-
}, n.schema), G = n.ownEvents ? new rf() : rf.Event, re = W.getBlockElements(), ge = (ht) =>
|
|
5882
|
+
}, n.schema), G = n.ownEvents ? new rf() : rf.Event, re = W.getBlockElements(), ge = (ht) => ce(ht) ? jn(re, ht) : pn(ht) && (jn(re, ht.nodeName) || ju(W, ht)), de = (ht) => ht && e && ce(ht) ? e.getElementById(ht) : ht, Oe = (ht) => {
|
|
5883
5883
|
const ft = de(ht);
|
|
5884
5884
|
return Xe(ft) ? Re.fromDom(ft) : null;
|
|
5885
5885
|
}, Ze = (ht, ft, ln = "") => {
|
|
@@ -5958,7 +5958,7 @@ function rhe() {
|
|
|
5958
5958
|
let Ms = de(ht);
|
|
5959
5959
|
sn = sn === void 0;
|
|
5960
5960
|
const Ci = ln || (Qt().nodeName !== "BODY" ? Qt().parentNode : null);
|
|
5961
|
-
if (
|
|
5961
|
+
if (ce(ft))
|
|
5962
5962
|
if (ft === "*")
|
|
5963
5963
|
ft = pn;
|
|
5964
5964
|
else {
|
|
@@ -5980,7 +5980,7 @@ function rhe() {
|
|
|
5980
5980
|
}, ir = (ht, ft, ln) => {
|
|
5981
5981
|
let sn = ft;
|
|
5982
5982
|
if (ht) {
|
|
5983
|
-
|
|
5983
|
+
ce(ft) && (sn = (ho) => ns(ho, ft));
|
|
5984
5984
|
for (let ho = ht[ln]; ho; ho = ho[ln])
|
|
5985
5985
|
if (ve(sn) && sn(ho))
|
|
5986
5986
|
return ho;
|
|
@@ -6014,8 +6014,8 @@ function rhe() {
|
|
|
6014
6014
|
vd(sn, ft);
|
|
6015
6015
|
});
|
|
6016
6016
|
}, uo = (ht, ft, ln, sn, ho) => Gn(ht, (Ms) => {
|
|
6017
|
-
const Ci =
|
|
6018
|
-
return Xe(ln) && Rs(Ci, ln), sn && (!
|
|
6017
|
+
const Ci = ce(ft) ? e.createElement(ft) : ft;
|
|
6018
|
+
return Xe(ln) && Rs(Ci, ln), sn && (!ce(sn) && sn.nodeType ? Ci.appendChild(sn) : ce(sn) && xn(Ci, sn)), ho ? Ci : Ms.appendChild(Ci);
|
|
6019
6019
|
}), bo = (ht, ft, ln) => uo(e.createElement(ht), ht, ft, ln, !0), vn = Jg.decode, ss = Jg.encodeAllRaw, jo = (ht, ft, ln = "") => {
|
|
6020
6020
|
let sn = "<" + ht;
|
|
6021
6021
|
for (const ho in ft)
|
|
@@ -6389,7 +6389,7 @@ function rhe() {
|
|
|
6389
6389
|
Qa.languageLoad !== !1 && (p(de) ? $(de, Oe) : ge(de, "loaded").then(() => $(de, Oe)));
|
|
6390
6390
|
}, W = (de, Oe) => (e.push(Oe), s[de] = { instance: Oe }, d(de, "added"), Oe), X = (de) => {
|
|
6391
6391
|
delete n[de], delete s[de];
|
|
6392
|
-
}, G = (de, Oe) =>
|
|
6392
|
+
}, G = (de, Oe) => ce(Oe) ? ce(de) ? {
|
|
6393
6393
|
prefix: "",
|
|
6394
6394
|
resource: Oe,
|
|
6395
6395
|
suffix: ""
|
|
@@ -6400,7 +6400,7 @@ function rhe() {
|
|
|
6400
6400
|
} : Oe, re = (de, Oe) => {
|
|
6401
6401
|
if (n[de])
|
|
6402
6402
|
return Promise.resolve();
|
|
6403
|
-
let Ze =
|
|
6403
|
+
let Ze = ce(Oe) ? Oe : Oe.prefix + Oe.resource + Oe.suffix;
|
|
6404
6404
|
Ze.indexOf("/") !== 0 && Ze.indexOf("://") === -1 && (Ze = Qa.baseURL + "/" + Ze), n[de] = Ze.substring(0, Ze.lastIndexOf("/"));
|
|
6405
6405
|
const Ye = () => (d(de, "loaded"), Promise.resolve());
|
|
6406
6406
|
return s[de] ? Ye() : af.ScriptLoader.add(Ze).then(Ye);
|
|
@@ -6776,7 +6776,7 @@ function rhe() {
|
|
|
6776
6776
|
}, Pn = (e, n) => {
|
|
6777
6777
|
if (!(n < 0 && pn(e) && e.hasChildNodes()))
|
|
6778
6778
|
return um(e, n);
|
|
6779
|
-
}, Y4 = new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"), xk = (e) =>
|
|
6779
|
+
}, Y4 = new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"), xk = (e) => ce(e) && e.charCodeAt(0) >= 768 && Y4.test(e), Sk = (...e) => (n) => {
|
|
6780
6780
|
for (let s = 0; s < e.length; s++)
|
|
6781
6781
|
if (e[s](n))
|
|
6782
6782
|
return !0;
|
|
@@ -6808,7 +6808,7 @@ function rhe() {
|
|
|
6808
6808
|
return !0;
|
|
6809
6809
|
}
|
|
6810
6810
|
return !0;
|
|
6811
|
-
}, e5 = (e) => Q2(e) ? !Co(Fr(e.getElementsByTagName("*")), (n, s) => n || Ck(s), !1) : !1, t5 = (e) => _0(e) || e5(e), Tk = (e, n) => yh(e) && dm(e, n), F2 = pn, n5 = yh, _k = Hg("display", "block table"), o5 = Hg("float", "left right"), fb = kk(F2, n5, _t(o5)), Z2 = _t(Hg("white-space", "pre pre-line pre-wrap")), ig = jt, lv = As, Ek = kr.nodeIndex, cv = Pn, ag = (e) => e ? e.createRange() : kr.DOM.createRng(), uv = (e) =>
|
|
6811
|
+
}, e5 = (e) => Q2(e) ? !Co(Fr(e.getElementsByTagName("*")), (n, s) => n || Ck(s), !1) : !1, t5 = (e) => _0(e) || e5(e), Tk = (e, n) => yh(e) && dm(e, n), F2 = pn, n5 = yh, _k = Hg("display", "block table"), o5 = Hg("float", "left right"), fb = kk(F2, n5, _t(o5)), Z2 = _t(Hg("white-space", "pre pre-line pre-wrap")), ig = jt, lv = As, Ek = kr.nodeIndex, cv = Pn, ag = (e) => e ? e.createRange() : kr.DOM.createRng(), uv = (e) => ce(e) && /[\r\n\t ]/.test(e), V2 = (e) => !!e.setStart && !!e.setEnd, dv = (e) => {
|
|
6812
6812
|
const n = e.startContainer, s = e.startOffset;
|
|
6813
6813
|
if (uv(e.toString()) && Z2(n.parentNode) && jt(n)) {
|
|
6814
6814
|
const a = n.data;
|
|
@@ -7217,22 +7217,22 @@ Required: ` + n.join(", "));
|
|
|
7217
7217
|
if (e.format !== void 0) {
|
|
7218
7218
|
let C;
|
|
7219
7219
|
if (it(e.format)) {
|
|
7220
|
-
if (!rs(e.format,
|
|
7220
|
+
if (!rs(e.format, ce))
|
|
7221
7221
|
return s(d + " pattern has non-string items in the `format` array");
|
|
7222
7222
|
C = e.format;
|
|
7223
|
-
} else if (
|
|
7223
|
+
} else if (ce(e.format))
|
|
7224
7224
|
C = [e.format];
|
|
7225
7225
|
else
|
|
7226
7226
|
return s(d + " pattern has non-string `format` parameter");
|
|
7227
7227
|
return ca.value(p(C));
|
|
7228
|
-
} else return e.cmd !== void 0 ?
|
|
7228
|
+
} else return e.cmd !== void 0 ? ce(e.cmd) ? ca.value(y(e.cmd, e.value)) : s(d + " pattern has non-string `cmd` parameter") : s(d + " pattern is missing both `format` and `cmd` parameters");
|
|
7229
7229
|
};
|
|
7230
7230
|
if (!je(e))
|
|
7231
7231
|
return s("Raw pattern is not an object");
|
|
7232
|
-
if (!
|
|
7232
|
+
if (!ce(e.start))
|
|
7233
7233
|
return s("Raw pattern is missing `start` parameter");
|
|
7234
7234
|
if (e.end !== void 0) {
|
|
7235
|
-
if (!
|
|
7235
|
+
if (!ce(e.end))
|
|
7236
7236
|
return s("Inline pattern has non-string `end` parameter");
|
|
7237
7237
|
if (e.start.length === 0 && e.end.length === 0)
|
|
7238
7238
|
return s("Inline pattern has empty `start` and `end` parameters");
|
|
@@ -7251,7 +7251,7 @@ Required: ` + n.join(", "));
|
|
|
7251
7251
|
}));
|
|
7252
7252
|
} else {
|
|
7253
7253
|
if (e.replacement !== void 0)
|
|
7254
|
-
return
|
|
7254
|
+
return ce(e.replacement) ? e.start.length === 0 ? s("Replacement pattern has empty `start` parameter") : ca.value({
|
|
7255
7255
|
type: "inline-command",
|
|
7256
7256
|
start: "",
|
|
7257
7257
|
end: e.start,
|
|
@@ -7349,8 +7349,8 @@ Required: ` + n.join(", "));
|
|
|
7349
7349
|
const d = a.split("="), p = d[0], y = d.length > 1 ? d[1] : p;
|
|
7350
7350
|
return s[Ss(p)] = Ss(y), s;
|
|
7351
7351
|
}, {});
|
|
7352
|
-
}, sw = (e) => et(e, RegExp), An = (e) => (n) => n.options.get(e), A0 = (e) =>
|
|
7353
|
-
const a =
|
|
7352
|
+
}, sw = (e) => et(e, RegExp), An = (e) => (n) => n.options.get(e), A0 = (e) => ce(e) || je(e), wb = (e, n = "") => (s) => {
|
|
7353
|
+
const a = ce(s);
|
|
7354
7354
|
if (a)
|
|
7355
7355
|
if (s.indexOf("=") !== -1) {
|
|
7356
7356
|
const d = Va(s);
|
|
@@ -7405,7 +7405,7 @@ Required: ` + n.join(", "));
|
|
|
7405
7405
|
default: !0
|
|
7406
7406
|
}), n("forced_root_block", {
|
|
7407
7407
|
processor: (s) => {
|
|
7408
|
-
const a =
|
|
7408
|
+
const a = ce(s) && So(s);
|
|
7409
7409
|
return a ? {
|
|
7410
7410
|
value: s,
|
|
7411
7411
|
valid: a
|
|
@@ -7448,7 +7448,7 @@ Required: ` + n.join(", "));
|
|
|
7448
7448
|
processor: (s) => Et(s) ? {
|
|
7449
7449
|
valid: !0,
|
|
7450
7450
|
value: s
|
|
7451
|
-
} :
|
|
7451
|
+
} : ce(s) ? {
|
|
7452
7452
|
valid: !0,
|
|
7453
7453
|
value: s
|
|
7454
7454
|
} : {
|
|
@@ -7515,8 +7515,8 @@ Required: ` + n.join(", "));
|
|
|
7515
7515
|
default: "40px"
|
|
7516
7516
|
}), n("content_css", {
|
|
7517
7517
|
processor: (s) => {
|
|
7518
|
-
const a = s === !1 ||
|
|
7519
|
-
return a ?
|
|
7518
|
+
const a = s === !1 || ce(s) || ut(s, ce);
|
|
7519
|
+
return a ? ce(s) ? {
|
|
7520
7520
|
value: Je(s.split(","), Ss),
|
|
7521
7521
|
valid: a
|
|
7522
7522
|
} : it(s) ? {
|
|
@@ -7539,7 +7539,7 @@ Required: ` + n.join(", "));
|
|
|
7539
7539
|
default: !1
|
|
7540
7540
|
}), n("font_css", {
|
|
7541
7541
|
processor: (s) => {
|
|
7542
|
-
const a =
|
|
7542
|
+
const a = ce(s) || ut(s, ce);
|
|
7543
7543
|
return a ? {
|
|
7544
7544
|
value: it(s) ? s : Je(s.split(","), Ss),
|
|
7545
7545
|
valid: a
|
|
@@ -7557,7 +7557,7 @@ Required: ` + n.join(", "));
|
|
|
7557
7557
|
default: "a[href],code,span.mce-annotation"
|
|
7558
7558
|
}), n("object_resizing", {
|
|
7559
7559
|
processor: (s) => {
|
|
7560
|
-
const a = Et(s) ||
|
|
7560
|
+
const a = Et(s) || ce(s);
|
|
7561
7561
|
return a ? s === !1 || vb.isiPhone() || vb.isiPad() ? {
|
|
7562
7562
|
value: "",
|
|
7563
7563
|
valid: a
|
|
@@ -7574,7 +7574,7 @@ Required: ` + n.join(", "));
|
|
|
7574
7574
|
processor: "boolean",
|
|
7575
7575
|
default: !0
|
|
7576
7576
|
}), n("event_root", { processor: "string" }), n("service_message", { processor: "string" }), n("theme", {
|
|
7577
|
-
processor: (s) => s === !1 ||
|
|
7577
|
+
processor: (s) => s === !1 || ce(s) || ve(s),
|
|
7578
7578
|
default: "silver"
|
|
7579
7579
|
}), n("theme_url", { processor: "string" }), n("formats", { processor: "object" }), n("format_empty_lines", {
|
|
7580
7580
|
processor: "boolean",
|
|
@@ -7584,7 +7584,7 @@ Required: ` + n.join(", "));
|
|
|
7584
7584
|
default: ""
|
|
7585
7585
|
}), n("preview_styles", {
|
|
7586
7586
|
processor: (s) => {
|
|
7587
|
-
const a = s === !1 ||
|
|
7587
|
+
const a = s === !1 || ce(s);
|
|
7588
7588
|
return a ? {
|
|
7589
7589
|
value: s === !1 ? "" : s,
|
|
7590
7590
|
valid: a
|
|
@@ -7676,7 +7676,7 @@ Required: ` + n.join(", "));
|
|
|
7676
7676
|
default: !1
|
|
7677
7677
|
}), n("allow_mathml_annotation_encodings", {
|
|
7678
7678
|
processor: (s) => {
|
|
7679
|
-
const a = ut(s,
|
|
7679
|
+
const a = ut(s, ce);
|
|
7680
7680
|
return a ? {
|
|
7681
7681
|
value: s,
|
|
7682
7682
|
valid: a
|
|
@@ -7724,7 +7724,7 @@ Required: ` + n.join(", "));
|
|
|
7724
7724
|
}), n("custom_elements", { processor: A0 }), n("extended_valid_elements", { processor: "string" }), n("invalid_elements", { processor: "string" }), n("invalid_styles", { processor: A0 }), n("valid_children", { processor: "string" }), n("valid_classes", { processor: A0 }), n("valid_elements", { processor: "string" }), n("valid_styles", { processor: A0 }), n("verify_html", {
|
|
7725
7725
|
processor: "boolean",
|
|
7726
7726
|
default: !0
|
|
7727
|
-
}), n("auto_focus", { processor: (s) =>
|
|
7727
|
+
}), n("auto_focus", { processor: (s) => ce(s) || s === !0 }), n("browser_spellcheck", {
|
|
7728
7728
|
processor: "boolean",
|
|
7729
7729
|
default: !1
|
|
7730
7730
|
}), n("protect", { processor: "array" }), n("images_file_types", {
|
|
@@ -8220,7 +8220,7 @@ Required: ` + n.join(", "));
|
|
|
8220
8220
|
s = s.parentNode;
|
|
8221
8221
|
}
|
|
8222
8222
|
return null;
|
|
8223
|
-
}, jv = (e) =>
|
|
8223
|
+
}, jv = (e) => ce(e.start), kC = (e) => jn(e, "rng"), CC = (e) => jn(e, "id"), TC = (e) => jn(e, "name"), _C = (e) => Nt.isArray(e.start), Xv = (e) => !TC(e) && Et(e.forward) ? e.forward : !0, EC = (e, n) => (pn(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), $C = (e, n) => {
|
|
8224
8224
|
const s = Y.from(Mk(e.getRoot(), n.start)), a = Y.from(Mk(e.getRoot(), n.end));
|
|
8225
8225
|
return Br(s, a, (d, p) => {
|
|
8226
8226
|
const y = e.createRng();
|
|
@@ -9530,7 +9530,7 @@ Required: ` + n.join(", "));
|
|
|
9530
9530
|
}
|
|
9531
9531
|
attr(n, s) {
|
|
9532
9532
|
const a = this;
|
|
9533
|
-
if (!
|
|
9533
|
+
if (!ce(n))
|
|
9534
9534
|
return Xe(n) && Gt(n, (p, y) => {
|
|
9535
9535
|
a.attr(y, p);
|
|
9536
9536
|
}), a;
|
|
@@ -9656,7 +9656,7 @@ Required: ` + n.join(", "));
|
|
|
9656
9656
|
return rT(this, null, n);
|
|
9657
9657
|
}
|
|
9658
9658
|
}
|
|
9659
|
-
const bZ = Nt.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), JM = (e) =>
|
|
9659
|
+
const bZ = Nt.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), JM = (e) => ce(e.nodeValue) && e.nodeValue.includes(Fa), e8 = (e) => `${e.length === 0 ? "" : `${Je(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`, OZ = (e, n) => n.querySelectorAll(e8(e)), t8 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_COMMENT, (n) => JM(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP), n8 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_TEXT, (n) => {
|
|
9660
9660
|
if (JM(n)) {
|
|
9661
9661
|
const s = n.parentNode;
|
|
9662
9662
|
return s && jn(bZ, s.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -9720,7 +9720,7 @@ Required: ` + n.join(", "));
|
|
|
9720
9720
|
return sr(d), y;
|
|
9721
9721
|
}, u8 = (e, n, s) => {
|
|
9722
9722
|
let a;
|
|
9723
|
-
return n.format === "raw" ? a = Nt.trim(mu(i8(s, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? a = xZ(e, s) : n.format === "tree" ? a = e.serializer.serialize(s, n) : a = c8(e, e.serializer.serialize(s, n)), n.format !== "text" && !Vc(Re.fromDom(s)) &&
|
|
9723
|
+
return n.format === "raw" ? a = Nt.trim(mu(i8(s, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? a = xZ(e, s) : n.format === "tree" ? a = e.serializer.serialize(s, n) : a = c8(e, e.serializer.serialize(s, n)), n.format !== "text" && !Vc(Re.fromDom(s)) && ce(a) ? Nt.trim(a) : a;
|
|
9724
9724
|
}, d8 = (e, n) => Y.from(e.getBody()).fold(It(n.format === "tree" ? new Wc("body", 11) : ""), (s) => u8(e, n, s)), h8 = Nt.makeMap, f8 = (e) => {
|
|
9725
9725
|
const n = [];
|
|
9726
9726
|
e = e || {};
|
|
@@ -9842,7 +9842,7 @@ Required: ` + n.join(", "));
|
|
|
9842
9842
|
}
|
|
9843
9843
|
}
|
|
9844
9844
|
if (s.start(X, re, G), zs(X))
|
|
9845
|
-
|
|
9845
|
+
ce($.value) && s.text($.value, !0), s.end(X);
|
|
9846
9846
|
else if (!G) {
|
|
9847
9847
|
let ge = $.firstChild;
|
|
9848
9848
|
if (ge) {
|
|
@@ -11216,7 +11216,7 @@ Required: ` + n.join(", "));
|
|
|
11216
11216
|
let Oe = !1;
|
|
11217
11217
|
return Rx(ge, (Ze) => ed(Ze) ? C.getContentEditable(de) === "false" && !Ze.ceFalseOverride || Xe(Ze.collapsed) && Ze.collapsed !== y ? !0 : C.is(de, Ze.selector) && !wu(de) ? (B(de, Ze), Oe = !0, !1) : !0 : !1), Oe;
|
|
11218
11218
|
}, X = (ge) => {
|
|
11219
|
-
if (
|
|
11219
|
+
if (ce(ge)) {
|
|
11220
11220
|
const de = C.create(ge);
|
|
11221
11221
|
return B(de), de;
|
|
11222
11222
|
} else
|
|
@@ -12286,7 +12286,7 @@ Required: ` + n.join(", "));
|
|
|
12286
12286
|
if (e.nodeType !== nu || X === "body")
|
|
12287
12287
|
return;
|
|
12288
12288
|
const G = Re.fromDom(e), re = Hi(G, iO), ge = ia(G, "data-mce-bogus");
|
|
12289
|
-
if (!re &&
|
|
12289
|
+
if (!re && ce(ge)) {
|
|
12290
12290
|
ge === "all" ? sr(G) : Rl(G);
|
|
12291
12291
|
return;
|
|
12292
12292
|
}
|
|
@@ -12372,7 +12372,7 @@ Required: ` + n.join(", "));
|
|
|
12372
12372
|
const C = (y = p.tagName) !== null && y !== void 0 ? y : d.nodeName.toLowerCase(), $ = n.allow_mathml_annotation_encodings;
|
|
12373
12373
|
if (C === "annotation" && it($) && $.length > 0) {
|
|
12374
12374
|
const B = d.getAttribute("encoding");
|
|
12375
|
-
|
|
12375
|
+
ce(B) && Ne($, B) && (p.allowedTags[C] = !0);
|
|
12376
12376
|
}
|
|
12377
12377
|
}), a.sanitize(e, s);
|
|
12378
12378
|
}, Py = (e) => (n) => {
|
|
@@ -12489,7 +12489,7 @@ Required: ` + n.join(", "));
|
|
|
12489
12489
|
}, $ = s.addFilter, B = s.getFilters, W = s.removeFilter, X = a.addFilter, G = a.getFilters, re = a.removeFilter, ge = (Ge, rt) => {
|
|
12490
12490
|
t$(n, Ge) && rt.push(Ge);
|
|
12491
12491
|
}, de = (Ge, rt) => {
|
|
12492
|
-
const Qt =
|
|
12492
|
+
const Qt = ce(rt.attr(iO)), on = rt.type === 1 && !jn(Ge, rt.name) && !Gm(n, rt) && !zs(rt.name);
|
|
12493
12493
|
return rt.type === 3 || on && !Qt;
|
|
12494
12494
|
}, Oe = (Ge, rt) => {
|
|
12495
12495
|
const Qt = Z$(JT("script,style,head,html,body,title,meta,param"), n.getBlockElements()), on = /^[ \t\r\n]+/, _n = /[ \t\r\n]+$/;
|
|
@@ -13790,7 +13790,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13790
13790
|
}), C = Je(y, ($) => {
|
|
13791
13791
|
const B = $.src;
|
|
13792
13792
|
if (jn(s, B))
|
|
13793
|
-
return s[B].then((W) =>
|
|
13793
|
+
return s[B].then((W) => ce(W) ? W : {
|
|
13794
13794
|
image: $,
|
|
13795
13795
|
blobInfo: W.blobInfo
|
|
13796
13796
|
});
|
|
@@ -13850,7 +13850,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13850
13850
|
"image/bmp": "bmp",
|
|
13851
13851
|
"image/tiff": "tiff"
|
|
13852
13852
|
})[X.toLowerCase()] || "dat", s = (X, G, re, ge, de) => {
|
|
13853
|
-
if (
|
|
13853
|
+
if (ce(X))
|
|
13854
13854
|
return a({
|
|
13855
13855
|
id: X,
|
|
13856
13856
|
name: ge,
|
|
@@ -13906,7 +13906,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13906
13906
|
return;
|
|
13907
13907
|
}
|
|
13908
13908
|
const Qt = JSON.parse(Ge.responseText);
|
|
13909
|
-
if (!Qt || !
|
|
13909
|
+
if (!Qt || !ce(Qt.location)) {
|
|
13910
13910
|
Ye("Invalid JSON: " + Ge.responseText);
|
|
13911
13911
|
return;
|
|
13912
13912
|
}
|
|
@@ -13944,7 +13944,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
13944
13944
|
Ge = vt, vt.progressBar.value(Tt);
|
|
13945
13945
|
});
|
|
13946
13946
|
}, Oe(de, rt).then(on, (Tt) => {
|
|
13947
|
-
_n(
|
|
13947
|
+
_n(ce(Tt) ? { message: Tt } : Tt);
|
|
13948
13948
|
});
|
|
13949
13949
|
} catch (Qt) {
|
|
13950
13950
|
Ye($(de, Qt));
|
|
@@ -14019,7 +14019,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14019
14019
|
}))), re = () => lw(e) ? G() : Promise.resolve([]), ge = (Ge) => rs(p, (rt) => rt(Ge)), de = (Ge) => {
|
|
14020
14020
|
p.push(Ge);
|
|
14021
14021
|
}, Oe = () => (a || (a = vP(d, n)), a.findAll(e.getBody(), ge).then(y((Ge) => {
|
|
14022
|
-
const rt = yn(Ge, (Qt) =>
|
|
14022
|
+
const rt = yn(Ge, (Qt) => ce(Qt) ? (Wx(e, Qt), !1) : Qt.uriType !== "blob");
|
|
14023
14023
|
return $h(e) || Se(rt, (Qt) => {
|
|
14024
14024
|
W(Qt.image.src, Qt.blobInfo.blobUri()), Qt.image.src = Qt.blobInfo.blobUri(), Qt.image.removeAttribute("data-mce-src");
|
|
14025
14025
|
}), rt;
|
|
@@ -14458,8 +14458,8 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14458
14458
|
}
|
|
14459
14459
|
}, See = It(xg), kee = (e) => {
|
|
14460
14460
|
const n = {}, s = (y) => Xe(y) ? n[y] : n, a = (y) => jn(n, y), d = (y, C) => {
|
|
14461
|
-
y && (
|
|
14462
|
-
rn($.deep) && ($.deep = !ed($)), rn($.split) && ($.split = !ed($) || Sa($)), rn($.remove) && ed($) && !Sa($) && ($.remove = "none"), ed($) && Sa($) && ($.mixed = !0, $.block_expand = !0),
|
|
14461
|
+
y && (ce(y) ? (it(C) || (C = [C]), Se(C, ($) => {
|
|
14462
|
+
rn($.deep) && ($.deep = !ed($)), rn($.split) && ($.split = !ed($) || Sa($)), rn($.remove) && ed($) && !Sa($) && ($.remove = "none"), ed($) && Sa($) && ($.mixed = !0, $.block_expand = !0), ce($.classes) && ($.classes = $.classes.split(/\s+/));
|
|
14463
14463
|
}), n[y] = C) : Gt(y, ($, B) => {
|
|
14464
14464
|
d(B, $);
|
|
14465
14465
|
}));
|
|
@@ -14474,7 +14474,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14474
14474
|
const s = n && n.schema || nr({}), a = ($, B) => {
|
|
14475
14475
|
B.classes.length > 0 && Xc.addClass($, B.classes.join(" ")), Xc.setAttribs($, B.attrs);
|
|
14476
14476
|
}, d = ($) => {
|
|
14477
|
-
const B =
|
|
14477
|
+
const B = ce($) ? {
|
|
14478
14478
|
name: $,
|
|
14479
14479
|
classes: [],
|
|
14480
14480
|
attrs: {}
|
|
@@ -14532,15 +14532,15 @@ Options:${y}${s.join(y)}` : "";
|
|
|
14532
14532
|
}
|
|
14533
14533
|
return "";
|
|
14534
14534
|
})), s.name = n || "div", s;
|
|
14535
|
-
}, CB = (e) =>
|
|
14535
|
+
}, CB = (e) => ce(e) ? (e = e.split(/\s*,\s*/)[0], e = e.replace(/\s*(~\+|~|\+|>)\s*/g, "$1"), Nt.map(e.split(/(?:>|\s+(?![^\[\]]+\]))/), (n) => {
|
|
14536
14536
|
const s = Nt.map(n.split(/(?:~\+|~|\+)/), kB), a = s.pop();
|
|
14537
14537
|
return s.length && (a.siblings = s), a;
|
|
14538
14538
|
}).reverse()) : [], QH = (e, n) => {
|
|
14539
14539
|
let s = "", a = T5(e);
|
|
14540
14540
|
if (a === "")
|
|
14541
14541
|
return "";
|
|
14542
|
-
const d = (G) =>
|
|
14543
|
-
if (
|
|
14542
|
+
const d = (G) => ce(G) ? G.replace(/%(\w+)/g, "") : "", p = (G, re) => Xc.getStyle(re ?? e.getBody(), G, !0);
|
|
14543
|
+
if (ce(n)) {
|
|
14544
14544
|
const G = e.formatter.get(n);
|
|
14545
14545
|
if (!G)
|
|
14546
14546
|
return "";
|
|
@@ -16161,7 +16161,7 @@ Options:${y}${s.join(y)}` : "";
|
|
|
16161
16161
|
Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS = (e, n) => QA((s) => {
|
|
16162
16162
|
const a = typeof s;
|
|
16163
16163
|
return e(s) ? Il.svalue(s) : Il.serror(`Expected type: ${n} but got: ${a}`);
|
|
16164
|
-
}), KW = OS(Xn, "number"), Vy = OS(
|
|
16164
|
+
}), KW = OS(Xn, "number"), Vy = OS(ce, "string"), BL = OS(Et, "boolean"), zA = OS(ve, "function"), zy = VW, HA = zW, NL = (e) => RL((n) => Ne(e, n) ? ca.value(n) : ca.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), UA = (e, n) => zy(e, e, IA(), n), LL = (e) => UA(e, Vy), q3 = (e, n) => zy(e, e, IA(), NL(n)), WA = (e) => UA(e, zA), IL = (e, n) => zy(e, e, IA(), ZA(n)), jA = (e, n) => zy(e, e, FW(), n), vO = (e) => jA(e, Vy), JW = (e) => jA(e, zA), ej = (e, n) => zy(e, e, TL(n), YW()), Hy = (e, n, s) => zy(e, e, TL(n), s), QL = (e, n) => Hy(e, n, KW), G3 = (e, n) => Hy(e, n, Vy), tj = (e, n, s) => Hy(e, n, NL(s)), XA = (e, n) => Hy(e, n, BL), $f = (e, n) => Hy(e, n, zA), FL = (e, n, s) => Hy(e, n, ZA(s)), ZL = LL("type"), nj = WA("fetch"), Y3 = WA("onAction"), VL = $f("onSetup", () => kt), oj = vO("text"), sj = vO("icon"), rj = vO("tooltip"), zL = vO("label"), ij = XA("active", !1), qA = XA("enabled", !0), HL = XA("primary", !1), aj = (e) => ej("columns", e), vS = (e) => G3("type", e), UL = bS([
|
|
16165
16165
|
ZL,
|
|
16166
16166
|
LL("trigger"),
|
|
16167
16167
|
QL("minChars", 1),
|
|
@@ -16776,7 +16776,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
16776
16776
|
(!s || pn(s) && /^(left|right)$/gi.test(e.getStyle(s, "float", !0))) && e.add(n, "br");
|
|
16777
16777
|
}, Ij = (e, n) => {
|
|
16778
16778
|
const s = aw(e);
|
|
16779
|
-
return dn(n) ? !1 :
|
|
16779
|
+
return dn(n) ? !1 : ce(s) ? Ne(Nt.explode(s), n.nodeName.toLowerCase()) : s;
|
|
16780
16780
|
}, l9 = {
|
|
16781
16781
|
insert: (e, n) => {
|
|
16782
16782
|
let s, a, d, p, y = !1;
|
|
@@ -17223,7 +17223,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
17223
17223
|
},
|
|
17224
17224
|
add: (s, a) => {
|
|
17225
17225
|
if (Yy(e))
|
|
17226
|
-
if (
|
|
17226
|
+
if (ce(s)) {
|
|
17227
17227
|
if (!rn(a))
|
|
17228
17228
|
return n.add(s, a);
|
|
17229
17229
|
} else
|
|
@@ -17547,7 +17547,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
17547
17547
|
if (!Av(e) && a(y))
|
|
17548
17548
|
for (const C of d) {
|
|
17549
17549
|
const $ = C.attr("src");
|
|
17550
|
-
|
|
17550
|
+
ce($) && !C.attr("data-mce-object") && $ !== co.transparentSrc && (n($) || !xw(e) && s($)) && C.remove();
|
|
17551
17551
|
}
|
|
17552
17552
|
});
|
|
17553
17553
|
}, IX = (e, n, s) => {
|
|
@@ -18715,7 +18715,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
18715
18715
|
};
|
|
18716
18716
|
}, Jq = (e) => e.toLowerCase() === "gpl", zI = (e) => e.length >= 64 && e.length <= 255, eG = (e) => Jq(e) || zI(e) ? "VALID" : "INVALID", tG = (e) => {
|
|
18717
18717
|
const n = bM(e);
|
|
18718
|
-
!
|
|
18718
|
+
!ce(uC(e)) && (rn(n) || eG(n) === "INVALID") && console.warn("TinyMCE is running in evaluation mode. Provide a valid license key or add license_key: 'gpl' to the init config to agree to the open source license terms. Read more at https://www.tiny.cloud/license-key/");
|
|
18719
18719
|
}, XD = kr.DOM, nG = (e, n) => {
|
|
18720
18720
|
const s = Re.fromDom(e.getBody()), a = Wh(su(s)), d = Re.fromTag("style");
|
|
18721
18721
|
Xr(d, "type", "text/css"), Nr(d, Re.fromText(n)), Nr(a, d), e.on("remove", () => {
|
|
@@ -18838,7 +18838,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
18838
18838
|
} = vo(n, (C) => tinymce.Resource.has(yg(C))), y = [
|
|
18839
18839
|
...a.map((C) => {
|
|
18840
18840
|
const $ = tinymce.Resource.get(yg(C));
|
|
18841
|
-
return
|
|
18841
|
+
return ce($) ? Promise.resolve(YD(e).loadRawCss(C, $)) : Promise.resolve();
|
|
18842
18842
|
}),
|
|
18843
18843
|
YD(e).loadAll(d)
|
|
18844
18844
|
];
|
|
@@ -18987,7 +18987,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
18987
18987
|
});
|
|
18988
18988
|
}, fG = (e) => {
|
|
18989
18989
|
const n = D0(e);
|
|
18990
|
-
if (
|
|
18990
|
+
if (ce(n)) {
|
|
18991
18991
|
const s = _m.get(n);
|
|
18992
18992
|
e.theme = s(e, _m.urls[n]) || {}, ve(e.theme.init) && e.theme.init(e, _m.urls[n] || e.documentBaseUrl.replace(/\/$/, ""));
|
|
18993
18993
|
} else
|
|
@@ -19013,7 +19013,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19013
19013
|
return e.inline ? L_(null) : I_(n);
|
|
19014
19014
|
}, xO = (e) => {
|
|
19015
19015
|
const n = e.getElement();
|
|
19016
|
-
return e.orgDisplay = n.style.display,
|
|
19016
|
+
return e.orgDisplay = n.style.display, ce(D0(e)) ? KI(e) : ve(D0(e)) ? gG(e) : Up(e);
|
|
19017
19017
|
}, JI = (e, n) => {
|
|
19018
19018
|
const s = {
|
|
19019
19019
|
show: Y.from(n.show).getOr(kt),
|
|
@@ -19044,7 +19044,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19044
19044
|
}
|
|
19045
19045
|
}, OG = (e, n) => {
|
|
19046
19046
|
const s = D0(e);
|
|
19047
|
-
if (
|
|
19047
|
+
if (ce(s) && !eQ(s) && !jn(_m.urls, s)) {
|
|
19048
19048
|
const a = S5(e), d = a ? e.documentBaseURI.toAbsolute(a) : `themes/${s}/theme${n}.js`;
|
|
19049
19049
|
_m.load(s, d).catch(() => {
|
|
19050
19050
|
_H(e, d, s);
|
|
@@ -19053,7 +19053,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19053
19053
|
}, vG = (e, n) => {
|
|
19054
19054
|
const s = fw(e);
|
|
19055
19055
|
if (s !== "plugin" && !jn(My.urls, s)) {
|
|
19056
|
-
const a = k5(e), d =
|
|
19056
|
+
const a = k5(e), d = ce(a) ? e.documentBaseURI.toAbsolute(a) : `models/${s}/model${n}.js`;
|
|
19057
19057
|
My.load(s, d).catch(() => {
|
|
19058
19058
|
qx(e, d, s);
|
|
19059
19059
|
});
|
|
@@ -19087,7 +19087,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19087
19087
|
});
|
|
19088
19088
|
}, Gee = (e) => {
|
|
19089
19089
|
const n = D0(e);
|
|
19090
|
-
return !
|
|
19090
|
+
return !ce(n) || Xe(_m.get(n));
|
|
19091
19091
|
}, xG = (e) => {
|
|
19092
19092
|
const n = fw(e);
|
|
19093
19093
|
return Xe(My.get(n));
|
|
@@ -19369,7 +19369,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19369
19369
|
n("blockquote");
|
|
19370
19370
|
},
|
|
19371
19371
|
FormatBlock: (s, a, d) => {
|
|
19372
|
-
n(
|
|
19372
|
+
n(ce(d) ? d : "p");
|
|
19373
19373
|
},
|
|
19374
19374
|
mceToggleFormat: (s, a, d) => {
|
|
19375
19375
|
n(d);
|
|
@@ -19411,8 +19411,8 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19411
19411
|
const n = (s, a, d) => {
|
|
19412
19412
|
if (e.mode.isReadOnly())
|
|
19413
19413
|
return;
|
|
19414
|
-
const p =
|
|
19415
|
-
je(p) &&
|
|
19414
|
+
const p = ce(d) ? { href: d } : d, y = e.dom.getParent(e.selection.getNode(), "a");
|
|
19415
|
+
je(p) && ce(p.href) && (p.href = p.href.replace(/ /g, "%20"), (!y || !p.href) && e.formatter.remove("link"), p.href && e.formatter.apply("link", p, y));
|
|
19416
19416
|
};
|
|
19417
19417
|
e.editorCommands.addCommands({
|
|
19418
19418
|
unlink: () => {
|
|
@@ -19736,10 +19736,10 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19736
19736
|
e.dom.unbind(W_(e, d), d, a);
|
|
19737
19737
|
}), delete e.delegates), !e.inline && n && s && (n.onload = null, s.unbind(e.getWin()), s.unbind(e.getDoc())), s && (s.unbind(n), s.unbind(e.getContainer()));
|
|
19738
19738
|
}
|
|
19739
|
-
}, tY = (e) =>
|
|
19739
|
+
}, tY = (e) => ce(e) ? {
|
|
19740
19740
|
value: e.split(/[ ,]/),
|
|
19741
19741
|
valid: !0
|
|
19742
|
-
} : ut(e,
|
|
19742
|
+
} : ut(e, ce) ? {
|
|
19743
19743
|
value: e,
|
|
19744
19744
|
valid: !0
|
|
19745
19745
|
} : {
|
|
@@ -19759,7 +19759,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19759
19759
|
case "object":
|
|
19760
19760
|
return je;
|
|
19761
19761
|
case "string":
|
|
19762
|
-
return
|
|
19762
|
+
return ce;
|
|
19763
19763
|
case "string[]":
|
|
19764
19764
|
return tY;
|
|
19765
19765
|
case "object[]":
|
|
@@ -19771,7 +19771,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19771
19771
|
}
|
|
19772
19772
|
})();
|
|
19773
19773
|
return (s) => uR(s, n, `The value must be a ${e}.`);
|
|
19774
|
-
}, oY = (e) =>
|
|
19774
|
+
}, oY = (e) => ce(e.processor), OQ = (e, n) => {
|
|
19775
19775
|
const s = Fo(n.message) ? "" : `. ${n.message}`;
|
|
19776
19776
|
return e + s;
|
|
19777
19777
|
}, vQ = (e) => e.valid, uR = (e, n, s = "") => {
|
|
@@ -19820,7 +19820,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
19820
19820
|
isSet: (re) => jn(d, re),
|
|
19821
19821
|
debug: () => {
|
|
19822
19822
|
try {
|
|
19823
|
-
console.log(JSON.parse(JSON.stringify(s, (re, ge) => Et(ge) || Xn(ge) ||
|
|
19823
|
+
console.log(JSON.parse(JSON.stringify(s, (re, ge) => Et(ge) || Xn(ge) || ce(ge) || oe(ge) || it(ge) || Xt(ge) ? ge : Object.prototype.toString.call(ge))));
|
|
19824
19824
|
} catch (re) {
|
|
19825
19825
|
console.error(re);
|
|
19826
19826
|
}
|
|
@@ -20343,7 +20343,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
20343
20343
|
const X = e[W];
|
|
20344
20344
|
if (X)
|
|
20345
20345
|
return X.apply(n, []);
|
|
20346
|
-
}, C = (W) => co.browser.isIE() || co.browser.isEdge() ? (Gx("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/7/support/#supportedwebbrowsers"), []) : vY ? (Gx("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."), []) :
|
|
20346
|
+
}, C = (W) => co.browser.isIE() || co.browser.isEdge() ? (Gx("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/7/support/#supportedwebbrowsers"), []) : vY ? (Gx("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."), []) : ce(W.selector) ? i2.select(W.selector) : Xe(W.target) ? [W.target] : [];
|
|
20347
20347
|
let $ = (W) => {
|
|
20348
20348
|
s = W;
|
|
20349
20349
|
};
|
|
@@ -20370,7 +20370,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
20370
20370
|
});
|
|
20371
20371
|
},
|
|
20372
20372
|
get(e) {
|
|
20373
|
-
return arguments.length === 0 ? Tu.slice(0) :
|
|
20373
|
+
return arguments.length === 0 ? Tu.slice(0) : ce(e) ? Jo(Tu, (n) => n.id === e).getOr(null) : Xn(e) && Tu[e] ? Tu[e] : null;
|
|
20374
20374
|
},
|
|
20375
20375
|
add(e) {
|
|
20376
20376
|
const n = this, s = n.get(e.id);
|
|
@@ -20391,7 +20391,7 @@ Input object: ` + Zy(e.input), VA = (e, n) => LW(e, zo(n, bS)), YW = It(PL), OS
|
|
|
20391
20391
|
n.remove(Tu[a]);
|
|
20392
20392
|
return;
|
|
20393
20393
|
}
|
|
20394
|
-
if (
|
|
20394
|
+
if (ce(e)) {
|
|
20395
20395
|
X_(i2.select(e), (a) => {
|
|
20396
20396
|
s = n.get(a.id), s && n.remove(s);
|
|
20397
20397
|
});
|
|
@@ -20883,7 +20883,7 @@ function ahe() {
|
|
|
20883
20883
|
return !0;
|
|
20884
20884
|
}
|
|
20885
20885
|
return !1;
|
|
20886
|
-
},
|
|
20886
|
+
}, ce = () => {
|
|
20887
20887
|
}, je = (t) => () => t(), Xt = (t, r) => (...l) => t(r.apply(null, l)), it = (t, r) => (l) => t(r(l)), oe = (t) => () => t, Et = (t) => t, rn = (t, r) => t === r;
|
|
20888
20888
|
function dn(t, ...r) {
|
|
20889
20889
|
return (...l) => {
|
|
@@ -21105,7 +21105,7 @@ function ahe() {
|
|
|
21105
21105
|
};
|
|
21106
21106
|
}, pi = (t, r) => {
|
|
21107
21107
|
const l = {};
|
|
21108
|
-
return Ns(t, r, No(l),
|
|
21108
|
+
return Ns(t, r, No(l), ce), l;
|
|
21109
21109
|
}, Aa = (t, r) => {
|
|
21110
21110
|
const l = [];
|
|
21111
21111
|
return Fs(t, (f, b) => {
|
|
@@ -21268,7 +21268,7 @@ function ahe() {
|
|
|
21268
21268
|
}, as = (t, r) => Q.from(go(t, r)), q = (t, r) => {
|
|
21269
21269
|
const l = t.dom;
|
|
21270
21270
|
return l && l.hasAttribute ? l.hasAttribute(r) : !1;
|
|
21271
|
-
},
|
|
21271
|
+
}, le = (t, r) => {
|
|
21272
21272
|
t.dom.removeAttribute(r);
|
|
21273
21273
|
}, De = (t) => Xo(t.dom.attributes, (r, l) => (r[l.name] = l.value, r), {}), ot = (t, r, l) => {
|
|
21274
21274
|
if (!w(l))
|
|
@@ -21312,7 +21312,7 @@ function ahe() {
|
|
|
21312
21312
|
return an(f, r, l), Zs(f, r).isSome();
|
|
21313
21313
|
}, Uo = (t, r) => {
|
|
21314
21314
|
const l = t.dom;
|
|
21315
|
-
$n(l, r), Mr(as(t, "style").map(vr), "") &&
|
|
21315
|
+
$n(l, r), Mr(as(t, "style").map(vr), "") && le(t, "style");
|
|
21316
21316
|
}, ba = (t) => t.dom.offsetWidth, yi = (t, r) => {
|
|
21317
21317
|
const l = (E, D) => {
|
|
21318
21318
|
if (!Te(D) && !D.match(/^[0-9]+$/))
|
|
@@ -21736,7 +21736,7 @@ function ahe() {
|
|
|
21736
21736
|
}
|
|
21737
21737
|
};
|
|
21738
21738
|
}, iu = () => Vg((t) => t.destroy()), Wl = () => Vg((t) => t.unbind()), Is = () => {
|
|
21739
|
-
const t = Vg(
|
|
21739
|
+
const t = Vg(ce);
|
|
21740
21740
|
return {
|
|
21741
21741
|
...t,
|
|
21742
21742
|
on: (l) => t.get().each(l)
|
|
@@ -21783,7 +21783,7 @@ function ahe() {
|
|
|
21783
21783
|
getOrThunk: Xn,
|
|
21784
21784
|
orThunk: Xn,
|
|
21785
21785
|
getOrDie: ve(String(t)),
|
|
21786
|
-
each:
|
|
21786
|
+
each: ce,
|
|
21787
21787
|
toOptional: Q.none
|
|
21788
21788
|
};
|
|
21789
21789
|
return l;
|
|
@@ -22146,7 +22146,7 @@ Required: ` + r.join(", "));
|
|
|
22146
22146
|
}, Jf = (t, r) => es(t.element, r.event.target), ju = {
|
|
22147
22147
|
can: kt,
|
|
22148
22148
|
abort: ut,
|
|
22149
|
-
run:
|
|
22149
|
+
run: ce
|
|
22150
22150
|
}, Xu = (t) => {
|
|
22151
22151
|
if (!Kr(t, "can") && !Kr(t, "abort") && !Kr(t, "run"))
|
|
22152
22152
|
throw new Error("EventHandler defined by: " + JSON.stringify(t, null, 2) + " does not have can, abort, or run!");
|
|
@@ -22349,11 +22349,11 @@ Required: ` + r.join(", "));
|
|
|
22349
22349
|
return un(t, r, b.join(" ")), !0;
|
|
22350
22350
|
}, E2 = (t, r, l) => {
|
|
22351
22351
|
const f = fo(kr(t, r), (b) => b !== l);
|
|
22352
|
-
return f.length > 0 ? un(t, r, f.join(" ")) :
|
|
22352
|
+
return f.length > 0 ? un(t, r, f.join(" ")) : le(t, r), !1;
|
|
22353
22353
|
}, v0 = (t) => t.dom.classList !== void 0, og = (t) => kr(t, "class"), $2 = (t, r) => I4(t, "class", r), af = (t, r) => E2(t, "class", r), sp = (t, r) => _t(og(t), r) ? af(t, r) : $2(t, r), mi = (t, r) => {
|
|
22354
22354
|
v0(t) ? t.dom.classList.add(r) : $2(t, r);
|
|
22355
22355
|
}, uk = (t) => {
|
|
22356
|
-
(v0(t) ? t.dom.classList : og(t)).length === 0 &&
|
|
22356
|
+
(v0(t) ? t.dom.classList : og(t)).length === 0 && le(t, "class");
|
|
22357
22357
|
}, Yr = (t, r) => {
|
|
22358
22358
|
v0(t) ? t.dom.classList.remove(r) : af(t, r), uk(t);
|
|
22359
22359
|
}, P2 = (t, r) => {
|
|
@@ -22453,7 +22453,7 @@ Required: ` + r.join(", "));
|
|
|
22453
22453
|
location: b.location
|
|
22454
22454
|
});
|
|
22455
22455
|
}, sv = (t, r, l, f, b) => {
|
|
22456
|
-
f.getInitialPos().fold(() => rb(t, r, l, f, b), () =>
|
|
22456
|
+
f.getInitialPos().fold(() => rb(t, r, l, f, b), () => ce);
|
|
22457
22457
|
}, hk = (t, r, l) => l.getInitialPos().bind((f) => {
|
|
22458
22458
|
var b;
|
|
22459
22459
|
switch (l.clearInitialPos(), f.position) {
|
|
@@ -22707,12 +22707,12 @@ Required: ` + r.join(", "));
|
|
|
22707
22707
|
} else
|
|
22708
22708
|
return bk;
|
|
22709
22709
|
}, X4 = {
|
|
22710
|
-
logEventCut:
|
|
22711
|
-
logEventStopped:
|
|
22712
|
-
logNoParent:
|
|
22713
|
-
logEventNoHandlers:
|
|
22714
|
-
logEventResponse:
|
|
22715
|
-
write:
|
|
22710
|
+
logEventCut: ce,
|
|
22711
|
+
logEventStopped: ce,
|
|
22712
|
+
logNoParent: ce,
|
|
22713
|
+
logEventNoHandlers: ce,
|
|
22714
|
+
logEventResponse: ce,
|
|
22715
|
+
write: ce
|
|
22716
22716
|
}, L2 = (t, r, l) => Fa(t, r, l), cp = oe(X4), rg = oe([
|
|
22717
22717
|
At("menu"),
|
|
22718
22718
|
At("selectedMenu")
|
|
@@ -22724,7 +22724,7 @@ Required: ` + r.join(", "));
|
|
|
22724
22724
|
const Cc = oe(mo(lm())), Ok = tf("initSize", [
|
|
22725
22725
|
At("numColumns"),
|
|
22726
22726
|
At("numRows")
|
|
22727
|
-
]), vk = () => Ds("markers", Cc()), up = () => tf("markers", [At("backgroundMenu")].concat(rg()).concat(lm())), Oh = (t) => tf("markers", We(t, At)), rv = (t, r, l) => (mu(), Yi(r, r, l, Ug((f) => Eo.value((...b) => f.apply(void 0, b))))), bs = (t) => rv("onHandler", t, Yh(
|
|
22727
|
+
]), vk = () => Ds("markers", Cc()), up = () => tf("markers", [At("backgroundMenu")].concat(rg()).concat(lm())), Oh = (t) => tf("markers", We(t, At)), rv = (t, r, l) => (mu(), Yi(r, r, l, Ug((f) => Eo.value((...b) => f.apply(void 0, b))))), bs = (t) => rv("onHandler", t, Yh(ce)), Gl = (t) => rv("onKeyboardHandler", t, Yh(Q.none)), vh = (t) => rv("onHandler", t, Fc()), db = (t) => rv("onKeyboardHandler", t, Fc()), Ir = (t, r) => As(t, oe(r)), dp = (t) => As(t, Et), cm = oe(Ok);
|
|
22728
22728
|
var yk = [
|
|
22729
22729
|
Ai("contextual", [
|
|
22730
22730
|
Wi("fadeInClass"),
|
|
@@ -23042,7 +23042,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(We(r, (l) => l.name),
|
|
|
23042
23042
|
toSet: x,
|
|
23043
23043
|
toRemove: S
|
|
23044
23044
|
} = mb(t.attributes, b), E = () => {
|
|
23045
|
-
pt(S, (He) =>
|
|
23045
|
+
pt(S, (He) => le(r, He)), co(r, x);
|
|
23046
23046
|
}, D = dc(r), {
|
|
23047
23047
|
toSet: L,
|
|
23048
23048
|
toRemove: V
|
|
@@ -23161,7 +23161,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(We(r, (l) => l.name),
|
|
|
23161
23161
|
element: r.element,
|
|
23162
23162
|
spec: t,
|
|
23163
23163
|
readState: oe("No state"),
|
|
23164
|
-
syncComponents:
|
|
23164
|
+
syncComponents: ce,
|
|
23165
23165
|
components: oe([]),
|
|
23166
23166
|
events: {}
|
|
23167
23167
|
};
|
|
@@ -23221,7 +23221,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(We(r, (l) => l.name),
|
|
|
23221
23221
|
un(f, P0, t);
|
|
23222
23222
|
},
|
|
23223
23223
|
unlink: (f) => {
|
|
23224
|
-
|
|
23224
|
+
le(f, P0);
|
|
23225
23225
|
}
|
|
23226
23226
|
};
|
|
23227
23227
|
}, q2 = (t, r) => Fk(r).exists((l) => lg(t, l)), lg = (t, r) => j2(r, (l) => es(l, t.element), ut) || q2(t, r), ll = (t, r, l, f, b, x, S, E = !1) => ({
|
|
@@ -23360,7 +23360,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23360
23360
|
return f.each((x) => {
|
|
23361
23361
|
mm(l).filter((S) => es(S, x)).fold(() => {
|
|
23362
23362
|
bu(x);
|
|
23363
|
-
},
|
|
23363
|
+
}, ce);
|
|
23364
23364
|
}), b;
|
|
23365
23365
|
}, Ov = Qe.generate([
|
|
23366
23366
|
{ none: [] },
|
|
@@ -23408,7 +23408,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23408
23408
|
origin: r
|
|
23409
23409
|
}), uw = (t, r) => y5(t, r), yv = "data-alloy-placement", wv = (t, r) => {
|
|
23410
23410
|
un(t, yv, r);
|
|
23411
|
-
}, xv = (t) => as(t, yv), xb = (t) =>
|
|
23411
|
+
}, xv = (t) => as(t, yv), xb = (t) => le(t, yv), gm = Qe.generate([
|
|
23412
23412
|
{ fit: ["reposition"] },
|
|
23413
23413
|
{
|
|
23414
23414
|
nofit: [
|
|
@@ -23521,7 +23521,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23521
23521
|
if (he(L) || x(L)) {
|
|
23522
23522
|
l.clear(), f.clear();
|
|
23523
23523
|
const V = L == null ? void 0 : L.raw.type;
|
|
23524
|
-
(he(V) || V === h0()) && (clearTimeout(b),
|
|
23524
|
+
(he(V) || V === h0()) && (clearTimeout(b), le(t, kv), Ku(t, r.classes));
|
|
23525
23525
|
}
|
|
23526
23526
|
}, E = Kl(t, Kg(), (L) => {
|
|
23527
23527
|
x(L) && (E.unbind(), l.set(Kl(t, h0(), S)), f.set(Kl(t, A4(), S)));
|
|
@@ -23531,7 +23531,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23531
23531
|
});
|
|
23532
23532
|
}, C5 = (t, r) => {
|
|
23533
23533
|
y0(t, r.classes), as(t, kv).each((l) => {
|
|
23534
|
-
clearTimeout(parseInt(l, 10)),
|
|
23534
|
+
clearTimeout(parseInt(l, 10)), le(t, kv);
|
|
23535
23535
|
}), Sb(t, r);
|
|
23536
23536
|
}, T5 = (t, r, l, f, b, x) => {
|
|
23537
23537
|
const S = S5(f, b, x);
|
|
@@ -23577,7 +23577,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
23577
23577
|
}), Op = oe((t, r) => {
|
|
23578
23578
|
pw(t, r);
|
|
23579
23579
|
}), Ow = (t, r, l) => t[r] === void 0 ? l : t[r], nC = (t, r, l, f, b, x, S, E) => {
|
|
23580
|
-
const D = Ow(S, "maxHeightFunction", bw()), L = Ow(S, "maxWidthFunction",
|
|
23580
|
+
const D = Ow(S, "maxHeightFunction", bw()), L = Ow(S, "maxWidthFunction", ce), V = t.anchorBox, j = t.origin, ne = {
|
|
23581
23581
|
bounds: p5(j, x),
|
|
23582
23582
|
origin: j,
|
|
23583
23583
|
preference: f,
|
|
@@ -24214,7 +24214,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
24214
24214
|
});
|
|
24215
24215
|
}, CC = (t, r, l) => l.isOpen(), TC = (t, r, l, f) => CC(t, r, l) && l.get().exists((b) => r.isPartOf(t, b, f)), _C = (t, r, l) => l.get(), Xv = (t, r, l, f) => {
|
|
24216
24216
|
Zs(t.element, r).fold(() => {
|
|
24217
|
-
|
|
24217
|
+
le(t.element, l);
|
|
24218
24218
|
}, (b) => {
|
|
24219
24219
|
un(t.element, l, b);
|
|
24220
24220
|
}), an(t.element, r, f);
|
|
@@ -24339,7 +24339,7 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
24339
24339
|
clear: f,
|
|
24340
24340
|
readState: r
|
|
24341
24341
|
});
|
|
24342
|
-
}, _p = () => Xl({ readState:
|
|
24342
|
+
}, _p = () => Xl({ readState: ce }), Ep = () => {
|
|
24343
24343
|
const t = In({}), r = In({});
|
|
24344
24344
|
return Xl({
|
|
24345
24345
|
readState: () => ({
|
|
@@ -24411,13 +24411,13 @@ Receiver: ` + Ju(r.element), L, x.data);
|
|
|
24411
24411
|
};
|
|
24412
24412
|
var j5 = [
|
|
24413
24413
|
At("getValue"),
|
|
24414
|
-
st("setValue",
|
|
24414
|
+
st("setValue", ce),
|
|
24415
24415
|
$s("initialValue"),
|
|
24416
24416
|
Ir("manager", {
|
|
24417
24417
|
setValue: gg,
|
|
24418
24418
|
getValue: BC,
|
|
24419
24419
|
onLoad: Lw,
|
|
24420
|
-
onUnload:
|
|
24420
|
+
onUnload: ce,
|
|
24421
24421
|
state: fh.init
|
|
24422
24422
|
})
|
|
24423
24423
|
];
|
|
@@ -24724,7 +24724,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24724
24724
|
}, Kw = (t, r) => r.useNative === !0 && _t(q0, Ss(t.element)), qC = (t) => q(t.element, "disabled"), GC = (t) => {
|
|
24725
24725
|
un(t.element, "disabled", "disabled");
|
|
24726
24726
|
}, tE = (t) => {
|
|
24727
|
-
|
|
24727
|
+
le(t.element, "disabled");
|
|
24728
24728
|
}, TM = (t) => go(t.element, "aria-disabled") === "true", nE = (t) => {
|
|
24729
24729
|
un(t.element, "aria-disabled", "true");
|
|
24730
24730
|
}, oE = (t) => {
|
|
@@ -24878,7 +24878,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
24878
24878
|
get: t,
|
|
24879
24879
|
set: (l, f) => {
|
|
24880
24880
|
const b = t(l);
|
|
24881
|
-
l.getSystem().getByDom(f).fold(
|
|
24881
|
+
l.getSystem().getByDom(f).fold(ce, (S) => {
|
|
24882
24882
|
ue.highlight(l, S);
|
|
24883
24883
|
});
|
|
24884
24884
|
const x = t(l);
|
|
@@ -25428,7 +25428,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25428
25428
|
checked: [Ir("update", FZ)],
|
|
25429
25429
|
expanded: [Ir("update", kE)],
|
|
25430
25430
|
selected: [Ir("update", QZ)],
|
|
25431
|
-
none: [Ir("update",
|
|
25431
|
+
none: [Ir("update", ce)]
|
|
25432
25432
|
}))
|
|
25433
25433
|
];
|
|
25434
25434
|
const Go = xa({
|
|
@@ -25537,7 +25537,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25537
25537
|
store: {
|
|
25538
25538
|
mode: "manual",
|
|
25539
25539
|
getValue: (r) => t.data,
|
|
25540
|
-
setValue:
|
|
25540
|
+
setValue: ce
|
|
25541
25541
|
}
|
|
25542
25542
|
})])
|
|
25543
25543
|
})
|
|
@@ -25911,7 +25911,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
25911
25911
|
Wt.getSystem().getByDom(yo).each((Zo) => {
|
|
25912
25912
|
S(Zo).indexOf("collapse-item") === 0 && He(Wt, Zo), Ue(Wt, Zo, qe.HighlightSubmenu).fold(() => {
|
|
25913
25913
|
t.onExecute(Wt, Zo);
|
|
25914
|
-
},
|
|
25914
|
+
}, ce);
|
|
25915
25915
|
});
|
|
25916
25916
|
}),
|
|
25917
25917
|
fr((Wt, On) => {
|
|
@@ -26619,7 +26619,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26619
26619
|
$t(Ym(), (S) => {
|
|
26620
26620
|
Yl(S.element).fold(() => {
|
|
26621
26621
|
qo(S, wx);
|
|
26622
|
-
},
|
|
26622
|
+
}, ce);
|
|
26623
26623
|
}),
|
|
26624
26624
|
$t(uh(), (S) => {
|
|
26625
26625
|
Er(S.element, "[data-mce-tooltip]:hover").each((E) => {
|
|
@@ -26633,7 +26633,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26633
26633
|
$t(em(), (S) => {
|
|
26634
26634
|
Er(S.element, "[data-mce-tooltip]:hover").fold(() => {
|
|
26635
26635
|
qo(S, yx);
|
|
26636
|
-
},
|
|
26636
|
+
}, ce);
|
|
26637
26637
|
})
|
|
26638
26638
|
];
|
|
26639
26639
|
default:
|
|
@@ -26650,7 +26650,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26650
26650
|
$t(Ym(), (S) => {
|
|
26651
26651
|
Yl(S.element).fold(() => {
|
|
26652
26652
|
qo(S, wx);
|
|
26653
|
-
},
|
|
26653
|
+
}, ce);
|
|
26654
26654
|
})
|
|
26655
26655
|
];
|
|
26656
26656
|
}
|
|
@@ -26698,7 +26698,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
26698
26698
|
st("tooltipComponents", []),
|
|
26699
26699
|
zs("delayForShow", oe(300)),
|
|
26700
26700
|
zs("delayForHide", oe(300)),
|
|
26701
|
-
zs("onSetup",
|
|
26701
|
+
zs("onSetup", ce),
|
|
26702
26702
|
al("mode", "normal", [
|
|
26703
26703
|
"normal",
|
|
26704
26704
|
"follow-highlight",
|
|
@@ -27676,7 +27676,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27676
27676
|
onFocus: t.selectOnFocus ? (r) => {
|
|
27677
27677
|
const l = r.element, f = Cd(l);
|
|
27678
27678
|
t.type !== "range" && l.dom.setSelectionRange(0, f.length);
|
|
27679
|
-
} :
|
|
27679
|
+
} : ce
|
|
27680
27680
|
})]), MV = (t) => ({
|
|
27681
27681
|
...A6(t),
|
|
27682
27682
|
...Mi(t.inputBehaviours, [kn.config({
|
|
@@ -27954,7 +27954,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
27954
27954
|
components: RV,
|
|
27955
27955
|
items: l
|
|
27956
27956
|
};
|
|
27957
|
-
}, ta = Wi("type"), S$ = Wi("name"), k$ = Wi("label"), Mp = Wi("text"), F6 = Wi("title"), Z6 = Wi("icon"), Mx = Wi("value"), C$ = hu("fetch"), V6 = hu("getSubmenuItems"), wy = hu("onAction"), ZV = hu("onItemAction"), d1 = zs("onSetup", () =>
|
|
27957
|
+
}, ta = Wi("type"), S$ = Wi("name"), k$ = Wi("label"), Mp = Wi("text"), F6 = Wi("title"), Z6 = Wi("icon"), Mx = Wi("value"), C$ = hu("fetch"), V6 = hu("getSubmenuItems"), wy = hu("onAction"), ZV = hu("onItemAction"), d1 = zs("onSetup", () => ce), VV = ti("name"), h1 = ti("text"), z6 = ti("role"), Id = ti("icon"), xy = ti("tooltip"), T$ = ti("label"), _$ = ti("shortcut"), zV = ah("select"), Bx = wa("active", !1), E$ = wa("borderless", !1), wf = wa("enabled", !0), XT = wa("primary", !1), H6 = (t) => st("columns", t), $$ = st("meta", {}), P$ = zs("onAction", ce), Sy = (t) => xr("type", t), qT = (t) => Yi("name", "name", ts(() => Pn(`${t}-name`)), pn), U6 = (t) => Yi("value", "value", ts(() => Pn(`${t}-value`)), cu()), W6 = mo([
|
|
27958
27958
|
ta,
|
|
27959
27959
|
h1
|
|
27960
27960
|
]), HV = (t) => Vr("separatormenuitem", W6, t), UV = mo([
|
|
@@ -28013,8 +28013,8 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28013
28013
|
contextformbutton: Nx,
|
|
28014
28014
|
contextformtogglebutton: WV
|
|
28015
28015
|
})),
|
|
28016
|
-
zs("onInput",
|
|
28017
|
-
zs("onSetup",
|
|
28016
|
+
zs("onInput", ce),
|
|
28017
|
+
zs("onSetup", ce)
|
|
28018
28018
|
], id = [
|
|
28019
28019
|
...nO,
|
|
28020
28020
|
...Th,
|
|
@@ -28214,7 +28214,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28214
28214
|
"item-events"
|
|
28215
28215
|
]
|
|
28216
28216
|
}, Ey = Qi, $y = (t, r, l, f) => {
|
|
28217
|
-
const b = In(
|
|
28217
|
+
const b = In(ce);
|
|
28218
28218
|
return {
|
|
28219
28219
|
type: "item",
|
|
28220
28220
|
dom: r.dom,
|
|
@@ -28434,7 +28434,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28434
28434
|
enabled: t.enabled,
|
|
28435
28435
|
getApi: oe({}),
|
|
28436
28436
|
onAction: (V) => b(t.value, t.meta),
|
|
28437
|
-
onSetup: oe(
|
|
28437
|
+
onSetup: oe(ce),
|
|
28438
28438
|
triggersSubmenu: !1,
|
|
28439
28439
|
itemBehaviours: e3(t, S, L)
|
|
28440
28440
|
}, D, x, S.providers);
|
|
@@ -28509,7 +28509,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28509
28509
|
enabled: t.enabled,
|
|
28510
28510
|
getApi: D,
|
|
28511
28511
|
onAction: (j) => f(t.value),
|
|
28512
|
-
onSetup: (j) => (j.setActive(b),
|
|
28512
|
+
onSetup: (j) => (j.setActive(b), ce),
|
|
28513
28513
|
triggersSubmenu: !1,
|
|
28514
28514
|
itemBehaviours: [...V.toArray()]
|
|
28515
28515
|
}, L, x, S), {
|
|
@@ -28869,7 +28869,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28869
28869
|
columns: o3(t, l),
|
|
28870
28870
|
fetch: L7($h(t, l), l, Ua(t)),
|
|
28871
28871
|
onAction: (b) => {
|
|
28872
|
-
rP(t, l, f.get(),
|
|
28872
|
+
rP(t, l, f.get(), ce);
|
|
28873
28873
|
},
|
|
28874
28874
|
onItemAction: (b, x) => {
|
|
28875
28875
|
rP(t, l, x, (S) => {
|
|
@@ -28947,7 +28947,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
28947
28947
|
initialData: S,
|
|
28948
28948
|
onAction: x,
|
|
28949
28949
|
onSubmit: b,
|
|
28950
|
-
onClose:
|
|
28950
|
+
onClose: ce,
|
|
28951
28951
|
onCancel: () => {
|
|
28952
28952
|
r(Q.none());
|
|
28953
28953
|
}
|
|
@@ -29148,7 +29148,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29148
29148
|
data: Py(t),
|
|
29149
29149
|
getApi: S,
|
|
29150
29150
|
enabled: t.enabled,
|
|
29151
|
-
onAction:
|
|
29151
|
+
onAction: ce,
|
|
29152
29152
|
onSetup: t.onSetup,
|
|
29153
29153
|
triggersSubmenu: !0,
|
|
29154
29154
|
itemBehaviours: []
|
|
@@ -29471,18 +29471,18 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29471
29471
|
o1.highlightPrimary(j);
|
|
29472
29472
|
});
|
|
29473
29473
|
}, S = (V, j, ne) => mP(t, Et, V, f, j, ne), E = (V) => {
|
|
29474
|
-
S(V, x, Ha.HighlightMenuAndItem).get(
|
|
29474
|
+
S(V, x, Ha.HighlightMenuAndItem).get(ce);
|
|
29475
29475
|
}, D = {
|
|
29476
29476
|
expand: (V) => {
|
|
29477
|
-
Go.isOn(V) || S(V,
|
|
29477
|
+
Go.isOn(V) || S(V, ce, Ha.HighlightNone).get(ce);
|
|
29478
29478
|
},
|
|
29479
29479
|
open: (V) => {
|
|
29480
|
-
Go.isOn(V) || S(V,
|
|
29480
|
+
Go.isOn(V) || S(V, ce, Ha.HighlightMenuAndItem).get(ce);
|
|
29481
29481
|
},
|
|
29482
|
-
refetch: (V) => Bi.getExistingCoupled(V, "sandbox").fold(() => S(V,
|
|
29482
|
+
refetch: (V) => Bi.getExistingCoupled(V, "sandbox").fold(() => S(V, ce, Ha.HighlightMenuAndItem).map(ce), (ne) => r3(t, Et, V, ne, f, ce, Ha.HighlightMenuAndItem).map(ce)),
|
|
29483
29483
|
isOpen: Go.isOn,
|
|
29484
29484
|
close: (V) => {
|
|
29485
|
-
Go.isOn(V) && S(V,
|
|
29485
|
+
Go.isOn(V) && S(V, ce, Ha.HighlightMenuAndItem).get(ce);
|
|
29486
29486
|
},
|
|
29487
29487
|
repositionMenus: (V) => {
|
|
29488
29488
|
Go.isOn(V) && nB(V);
|
|
@@ -29678,7 +29678,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29678
29678
|
ni.hide(S), t.dom.remove(l, !1);
|
|
29679
29679
|
const we = Ot.fromDom(t.getBody());
|
|
29680
29680
|
as(we, "aria-owns").filter((Ue) => Ue === l).each(() => {
|
|
29681
|
-
|
|
29681
|
+
le(we, "aria-owns"), le(we, "aria-activedescendant");
|
|
29682
29682
|
});
|
|
29683
29683
|
}
|
|
29684
29684
|
}, V = () => ni.getContent(S).bind((we) => Jo(we.components(), 0)), j = () => t.execCommand("mceAutocompleterClose"), ne = (we) => {
|
|
@@ -29874,7 +29874,7 @@ Components: ` + JSON.stringify(r.components, null, 2));
|
|
|
29874
29874
|
stop: () => {
|
|
29875
29875
|
r.set(!0);
|
|
29876
29876
|
},
|
|
29877
|
-
cut:
|
|
29877
|
+
cut: ce,
|
|
29878
29878
|
isStopped: r.get,
|
|
29879
29879
|
isCut: ut,
|
|
29880
29880
|
event: t,
|
|
@@ -29997,8 +29997,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
29997
29997
|
}, (He) => {
|
|
29998
29998
|
L2(hh(), we, (ct) => (EH(f, hh(), {
|
|
29999
29999
|
originator: Ue,
|
|
30000
|
-
kill:
|
|
30001
|
-
prevent:
|
|
30000
|
+
kill: ce,
|
|
30001
|
+
prevent: ce,
|
|
30002
30002
|
target: we
|
|
30003
30003
|
}, we, ct), !1));
|
|
30004
30004
|
});
|
|
@@ -30257,7 +30257,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30257
30257
|
},
|
|
30258
30258
|
onEnabled: (ae) => {
|
|
30259
30259
|
V(ae, (pe) => {
|
|
30260
|
-
Yr(pe, "tox-collection__item--state-disabled"),
|
|
30260
|
+
Yr(pe, "tox-collection__item--state-disabled"), le(pe, "aria-disabled");
|
|
30261
30261
|
});
|
|
30262
30262
|
}
|
|
30263
30263
|
}),
|
|
@@ -30366,7 +30366,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30366
30366
|
events: (t, r) => t.validator.map((l) => nr([$t(l.onEvent, (f) => {
|
|
30367
30367
|
xP(f, t, r).get(Et);
|
|
30368
30368
|
})].concat(l.validateOnLoad ? [fr((f) => {
|
|
30369
|
-
xP(f, t, r).get(
|
|
30369
|
+
xP(f, t, r).get(ce);
|
|
30370
30370
|
})] : []))).getOr({})
|
|
30371
30371
|
}), Ly = [
|
|
30372
30372
|
At("invalidClass"),
|
|
@@ -30436,7 +30436,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30436
30436
|
factory: yf,
|
|
30437
30437
|
inputClasses: ["tox-textfield"],
|
|
30438
30438
|
data: f,
|
|
30439
|
-
onSetValue: (L) => xg.run(L).get(
|
|
30439
|
+
onSetValue: (L) => xg.run(L).get(ce),
|
|
30440
30440
|
inputBehaviours: Yt([
|
|
30441
30441
|
zn.config({ disabled: () => r.providers.isDisabled() || r.providers.checkUiComponentContext(t.context).shouldDisable }),
|
|
30442
30442
|
na(() => r.providers.checkUiComponentContext(t.context)),
|
|
@@ -30883,11 +30883,11 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
30883
30883
|
const sN = [
|
|
30884
30884
|
st("stepSize", 1),
|
|
30885
30885
|
st("speedMultiplier", 10),
|
|
30886
|
-
st("onChange",
|
|
30887
|
-
st("onChoose",
|
|
30888
|
-
st("onInit",
|
|
30889
|
-
st("onDragStart",
|
|
30890
|
-
st("onDragEnd",
|
|
30886
|
+
st("onChange", ce),
|
|
30887
|
+
st("onChoose", ce),
|
|
30888
|
+
st("onInit", ce),
|
|
30889
|
+
st("onDragStart", ce),
|
|
30890
|
+
st("onDragEnd", ce),
|
|
30891
30891
|
st("snapToGrid", !1),
|
|
30892
30892
|
st("rounded", !0),
|
|
30893
30893
|
$s("snapStart"),
|
|
@@ -31108,9 +31108,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31108
31108
|
sketch: yU
|
|
31109
31109
|
}, Qy = Pn("valid-input"), uN = Pn("invalid-input"), JP = Pn("validating-input"), eA = "colorcustom.rgb.", xU = {
|
|
31110
31110
|
isEnabled: kt,
|
|
31111
|
-
setEnabled:
|
|
31112
|
-
immediatelyShow:
|
|
31113
|
-
immediatelyHide:
|
|
31111
|
+
setEnabled: ce,
|
|
31112
|
+
immediatelyShow: ce,
|
|
31113
|
+
immediatelyHide: ce
|
|
31114
31114
|
}, SU = (t, r, l, f, b, x) => {
|
|
31115
31115
|
const S = (xe, qe) => {
|
|
31116
31116
|
const we = qe.get();
|
|
@@ -31181,7 +31181,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31181
31181
|
})
|
|
31182
31182
|
]),
|
|
31183
31183
|
onSetValue: (Bs) => {
|
|
31184
|
-
xg.isInvalid(Bs) && xg.run(Bs).get(
|
|
31184
|
+
xg.isInvalid(Bs) && xg.run(Bs).get(ce);
|
|
31185
31185
|
}
|
|
31186
31186
|
}), xt = Pn("aria-invalid"), En = Qs(x("invalid", Q.some(xt), "warning")), fn = Qs({
|
|
31187
31187
|
dom: {
|
|
@@ -31471,8 +31471,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
31471
31471
|
name: "ColourPicker",
|
|
31472
31472
|
configFields: [
|
|
31473
31473
|
At("dom"),
|
|
31474
|
-
st("onValidHex",
|
|
31475
|
-
st("onInvalidHex",
|
|
31474
|
+
st("onValidHex", ce),
|
|
31475
|
+
st("onInvalidHex", ce)
|
|
31476
31476
|
],
|
|
31477
31477
|
factory: b
|
|
31478
31478
|
});
|
|
@@ -32026,7 +32026,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32026
32026
|
components: [Qr(l.translate(t))],
|
|
32027
32027
|
behaviours: Yt([xo.config({})])
|
|
32028
32028
|
}), Fd = Pn("update-menu-text"), bO = Pn("update-menu-icon"), dA = (t, r, l, f) => {
|
|
32029
|
-
const b = In(
|
|
32029
|
+
const b = In(ce), x = t.text.map((xe) => Qs(R3(xe, r, l.providers))), S = t.icon.map((xe) => Qs(p1(xe, l.providers.icons))), E = (xe, qe) => {
|
|
32030
32030
|
const we = kn.getValue(xe);
|
|
32031
32031
|
return po.focus(we), Vn(we, "keydown", { raw: qe.event.raw }), Qd.close(we), Q.some(!0);
|
|
32032
32032
|
}, D = t.role.fold(() => ({}), (xe) => ({ role: xe })), L = Q.from(t.listRole).map((xe) => ({ listRole: xe })).getOr({}), V = t.ariaLabel.fold(() => ({}), (xe) => ({ "aria-label": l.providers.translate(xe) })), j = Ld("chevron-down", {
|
|
@@ -32220,7 +32220,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32220
32220
|
search: Q.none()
|
|
32221
32221
|
}));
|
|
32222
32222
|
},
|
|
32223
|
-
onSetup: oe(
|
|
32223
|
+
onSetup: oe(ce),
|
|
32224
32224
|
getApi: oe({}),
|
|
32225
32225
|
columns: 1,
|
|
32226
32226
|
presets: "normal",
|
|
@@ -32373,7 +32373,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32373
32373
|
Os,
|
|
32374
32374
|
kn
|
|
32375
32375
|
]),
|
|
32376
|
-
zs("onInput",
|
|
32376
|
+
zs("onInput", ce)
|
|
32377
32377
|
]), pA = (t, r, l) => gr(t, r, l).bind(Os.getCurrent), BN = (t, r) => Tl({
|
|
32378
32378
|
factory: Es,
|
|
32379
32379
|
name: t,
|
|
@@ -32565,7 +32565,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32565
32565
|
])), pe = ad.parts.field2(V([
|
|
32566
32566
|
Es.parts.label(ne("Height")),
|
|
32567
32567
|
j(!1)
|
|
32568
|
-
])), xe = In(
|
|
32568
|
+
])), xe = In(ce), qe = Fi(t.onSetup, t.getApi, (we, Ue) => [
|
|
32569
32569
|
Sf({
|
|
32570
32570
|
onSetup: we,
|
|
32571
32571
|
getApi: Ue
|
|
@@ -32945,7 +32945,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
32945
32945
|
setEnabled: (r) => zn.set(t, !r),
|
|
32946
32946
|
setActive: (r) => {
|
|
32947
32947
|
const l = t.element;
|
|
32948
|
-
r ? (mi(l, "tox-tbtn--enabled"), un(l, "aria-pressed", !0)) : (Yr(l, "tox-tbtn--enabled"),
|
|
32948
|
+
r ? (mi(l, "tox-tbtn--enabled"), un(l, "aria-pressed", !0)) : (Yr(l, "tox-tbtn--enabled"), le(l, "aria-pressed"));
|
|
32949
32949
|
},
|
|
32950
32950
|
isActive: () => ql(t.element, "tox-tbtn--enabled"),
|
|
32951
32951
|
setText: (r) => {
|
|
@@ -33228,7 +33228,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33228
33228
|
])
|
|
33229
33229
|
};
|
|
33230
33230
|
}, pW = Pn("tree-event-id"), bW = (t, r) => {
|
|
33231
|
-
const l = t.onLeafAction.getOr(
|
|
33231
|
+
const l = t.onLeafAction.getOr(ce), f = t.onToggleExpand.getOr(ce), b = t.defaultExpandedIds, x = In(b), S = In(t.defaultSelectedId), E = Pn("tree-id"), D = (L, V) => t.items.map((j) => j.type === "leaf" ? wA({
|
|
33232
33232
|
leaf: j,
|
|
33233
33233
|
selectedId: L,
|
|
33234
33234
|
onLeafAction: l,
|
|
@@ -33368,7 +33368,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33368
33368
|
const xe = (qe) => {
|
|
33369
33369
|
Os.getCurrent(qe).each(ae);
|
|
33370
33370
|
};
|
|
33371
|
-
r3(t, S(j), j, pe, f, xe, Ha.HighlightMenuAndItem).get(
|
|
33371
|
+
r3(t, S(j), j, pe, f, xe, Ha.HighlightMenuAndItem).get(ce);
|
|
33372
33372
|
}
|
|
33373
33373
|
}, x = A6(t), S = (j) => (ne) => ne.map((ae) => {
|
|
33374
33374
|
const pe = Ka(ae.menus), xe = Se(pe, (we) => fo(we.items, (Ue) => Ue.type === "item"));
|
|
@@ -33410,7 +33410,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33410
33410
|
});
|
|
33411
33411
|
});
|
|
33412
33412
|
};
|
|
33413
|
-
r3(t, S(j), j, ae, f, qe, Ha.HighlightJustMenu).get(
|
|
33413
|
+
r3(t, S(j), j, ae, f, qe, Ha.HighlightJustMenu).get(ce);
|
|
33414
33414
|
}
|
|
33415
33415
|
},
|
|
33416
33416
|
cancelEvent: WO()
|
|
@@ -33442,7 +33442,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33442
33442
|
sandbox: (j) => Dy(t, j, {
|
|
33443
33443
|
onOpen: () => Go.on(j),
|
|
33444
33444
|
onClose: () => {
|
|
33445
|
-
t.lazyTypeaheadComp.get().each((ne) =>
|
|
33445
|
+
t.lazyTypeaheadComp.get().each((ne) => le(ne.element, "aria-activedescendant")), Go.off(j);
|
|
33446
33446
|
}
|
|
33447
33447
|
})
|
|
33448
33448
|
}
|
|
@@ -33455,8 +33455,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33455
33455
|
t.lazyTypeaheadComp.set(Q.none());
|
|
33456
33456
|
}),
|
|
33457
33457
|
om((j) => {
|
|
33458
|
-
const ne =
|
|
33459
|
-
mP(t, S(j), j, f, ne, Ha.HighlightMenuAndItem).get(
|
|
33458
|
+
const ne = ce;
|
|
33459
|
+
mP(t, S(j), j, f, ne, Ha.HighlightMenuAndItem).get(ce);
|
|
33460
33460
|
}),
|
|
33461
33461
|
$t(_A(), (j, ne) => {
|
|
33462
33462
|
const ae = Bi.getCoupled(j, "sandbox");
|
|
@@ -33694,7 +33694,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33694
33694
|
...t,
|
|
33695
33695
|
type: "menubutton",
|
|
33696
33696
|
search: Q.none(),
|
|
33697
|
-
onSetup: (E) => (E.setEnabled(t.enabled),
|
|
33697
|
+
onSetup: (E) => (E.setEnabled(t.enabled), ce),
|
|
33698
33698
|
fetch: hW(b.items, f, l)
|
|
33699
33699
|
}, S = Qs(Vp(x, "tox-tbtn", l, Q.none(), !0, t.text.or(t.tooltip).getOrUndefined()));
|
|
33700
33700
|
return S.asSpec();
|
|
@@ -33724,13 +33724,13 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33724
33724
|
value: t.url,
|
|
33725
33725
|
text: t.title,
|
|
33726
33726
|
meta: { attach: t.attach },
|
|
33727
|
-
onAction:
|
|
33727
|
+
onAction: ce
|
|
33728
33728
|
}), $A = (t, r) => ({
|
|
33729
33729
|
type: "menuitem",
|
|
33730
33730
|
value: r,
|
|
33731
33731
|
text: t,
|
|
33732
33732
|
meta: { attach: void 0 },
|
|
33733
|
-
onAction:
|
|
33733
|
+
onAction: ce
|
|
33734
33734
|
}), PA = (t) => We(t, U3), $W = (t, r) => fo(r, (l) => l.type === t), W3 = (t, r) => PA($W(t, r)), dL = (t) => W3("header", t.targets), AA = (t) => W3("anchor", t.targets), PW = (t) => Q.from(t.anchorTop).map((r) => $A("<top>", r)).toArray(), AW = (t) => Q.from(t.anchorBottom).map((r) => $A("<bottom>", r)).toArray(), hL = (t) => We(t, (r) => $A(r, r)), DW = (t) => Xo(t, (r, l) => r.length === 0 || l.length === 0 ? r.concat(l) : r.concat(H3, l), []), DA = (t, r) => {
|
|
33735
33735
|
const l = t.toLowerCase();
|
|
33736
33736
|
return fo(r, (f) => {
|
|
@@ -33777,7 +33777,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
33777
33777
|
},
|
|
33778
33778
|
getHotspot: (Ue) => pe.getOpt(Ue),
|
|
33779
33779
|
onSetValue: (Ue, He) => {
|
|
33780
|
-
Ue.hasConfigured(xg) && xg.run(Ue).get(
|
|
33780
|
+
Ue.hasConfigured(xg) && xg.run(Ue).get(ce);
|
|
33781
33781
|
},
|
|
33782
33782
|
typeaheadBehaviours: Yt([
|
|
33783
33783
|
...l.getValidationHandler().map((Ue) => xg.config({
|
|
@@ -34574,7 +34574,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34574
34574
|
return BL("header", (r = HA(t)) !== null && r !== void 0 ? r : "", "#" + l, jA(t), f);
|
|
34575
34575
|
}, JW = (t) => {
|
|
34576
34576
|
const r = t.id || t.name, l = HA(t);
|
|
34577
|
-
return BL("anchor", l || "#" + r, "#" + r, 0,
|
|
34577
|
+
return BL("anchor", l || "#" + r, "#" + r, 0, ce);
|
|
34578
34578
|
}, ej = (t) => We(fo(t, IL), vO), Hy = (t) => We(fo(t, LL), JW), QL = (t) => zy("h1,h2,h3,h4,h5,h6,a:not([href])", t), G3 = (t) => YW(t.title).length > 0, XA = { find: (t) => {
|
|
34579
34579
|
const r = QL(t);
|
|
34580
34580
|
return fo(ej(r).concat(Hy(r)), G3);
|
|
@@ -34754,7 +34754,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34754
34754
|
}, hl = kM, Cg = Hb, uj = oe([
|
|
34755
34755
|
st("shell", !1),
|
|
34756
34756
|
At("makeItem"),
|
|
34757
|
-
st("setupItem",
|
|
34757
|
+
st("setupItem", ce),
|
|
34758
34758
|
xu.field("listBehaviours", [xo])
|
|
34759
34759
|
]), YA = Ec({
|
|
34760
34760
|
name: "items",
|
|
@@ -34823,7 +34823,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34823
34823
|
behaviours: Mi(t.toolbarBehaviours, S.behaviours),
|
|
34824
34824
|
apis: {
|
|
34825
34825
|
setGroups: b,
|
|
34826
|
-
refresh:
|
|
34826
|
+
refresh: ce
|
|
34827
34827
|
},
|
|
34828
34828
|
domModification: { attributes: { role: "group" } }
|
|
34829
34829
|
};
|
|
@@ -34837,7 +34837,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34837
34837
|
t.setGroups(r, l);
|
|
34838
34838
|
}
|
|
34839
34839
|
}
|
|
34840
|
-
}), XL =
|
|
34840
|
+
}), XL = ce, J3 = ut, KA = oe([]);
|
|
34841
34841
|
var gj = /* @__PURE__ */ Object.freeze({
|
|
34842
34842
|
__proto__: null,
|
|
34843
34843
|
setup: XL,
|
|
@@ -34994,7 +34994,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
34994
34994
|
mo([ti("placeholder")])
|
|
34995
34995
|
], (t) => H(t) ? t ? Q.some({ placeholder: Q.none() }) : Q.none() : Q.some(t))),
|
|
34996
34996
|
hu("fetch"),
|
|
34997
|
-
zs("onSetup", () =>
|
|
34997
|
+
zs("onSetup", () => ce),
|
|
34998
34998
|
xr("context", "mode:design")
|
|
34999
34999
|
], yj = mo([
|
|
35000
35000
|
ta,
|
|
@@ -35082,7 +35082,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35082
35082
|
At("uid"),
|
|
35083
35083
|
At("onEscape"),
|
|
35084
35084
|
At("backstage"),
|
|
35085
|
-
st("onSetup",
|
|
35085
|
+
st("onSetup", ce)
|
|
35086
35086
|
],
|
|
35087
35087
|
apis: {
|
|
35088
35088
|
focus: (t, r) => {
|
|
@@ -35127,7 +35127,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35127
35127
|
}, S = (xe, qe) => go(xe.element, "aria-hidden") !== "true", E = (xe, qe) => {
|
|
35128
35128
|
if (!S(xe)) {
|
|
35129
35129
|
const we = xe.element;
|
|
35130
|
-
Uo(we, "display"),
|
|
35130
|
+
Uo(we, "display"), le(we, "aria-hidden"), Vn(xe, Km(), {
|
|
35131
35131
|
name: qe,
|
|
35132
35132
|
visible: !0
|
|
35133
35133
|
});
|
|
@@ -35168,8 +35168,8 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35168
35168
|
}, Tj = mo([
|
|
35169
35169
|
Id,
|
|
35170
35170
|
xy,
|
|
35171
|
-
zs("onShow",
|
|
35172
|
-
zs("onHide",
|
|
35171
|
+
zs("onShow", ce),
|
|
35172
|
+
zs("onHide", ce),
|
|
35173
35173
|
d1
|
|
35174
35174
|
]), _j = (t) => Vr("sidebar", Tj, t), Ej = (t) => {
|
|
35175
35175
|
const { sidebars: r } = t.ui.registry.getAll();
|
|
@@ -35203,7 +35203,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35203
35203
|
};
|
|
35204
35204
|
});
|
|
35205
35205
|
return We(l, (f) => {
|
|
35206
|
-
const b = In(
|
|
35206
|
+
const b = In(ce);
|
|
35207
35207
|
return t.slot(f.name, {
|
|
35208
35208
|
dom: {
|
|
35209
35209
|
tag: "div",
|
|
@@ -35315,7 +35315,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35315
35315
|
xo.append(b, pu(E)), E.hasConfigured(qn) && r.focus && qn.focusIn(E), l.isBlocked() || r.onBlock(t), l.blockWith(() => xo.remove(b, E));
|
|
35316
35316
|
},
|
|
35317
35317
|
unblock: (t, r, l) => {
|
|
35318
|
-
|
|
35318
|
+
le(t.element, "aria-busy"), l.isBlocked() && r.onUnblock(t), l.clear();
|
|
35319
35319
|
},
|
|
35320
35320
|
isBlocked: (t, r, l) => l.isBlocked()
|
|
35321
35321
|
}), Rj = [
|
|
@@ -35355,14 +35355,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
35355
35355
|
}), a9 = (t) => Os.getCurrent(t).each((r) => bu(r.element, !0)), Nj = (t, r) => {
|
|
35356
35356
|
const l = "tabindex", f = `data-mce-${l}`;
|
|
35357
35357
|
Q.from(t.iframeElement).map(Ot.fromDom).each((b) => {
|
|
35358
|
-
r ? (as(b, l).each((x) => un(b, f, x)), un(b, l, -1)) : (
|
|
35359
|
-
un(b, l, x),
|
|
35358
|
+
r ? (as(b, l).each((x) => un(b, f, x)), un(b, l, -1)) : (le(b, l), as(b, f).each((x) => {
|
|
35359
|
+
un(b, l, x), le(b, f);
|
|
35360
35360
|
}));
|
|
35361
35361
|
});
|
|
35362
35362
|
}, Lj = (t, r, l, f) => {
|
|
35363
35363
|
const b = r.element;
|
|
35364
35364
|
if (Nj(t, l), l)
|
|
35365
|
-
Rh.block(r, Bj(f)), Uo(b, "display"),
|
|
35365
|
+
Rh.block(r, Bj(f)), Uo(b, "display"), le(b, "aria-hidden"), t.hasFocus() && a9(r);
|
|
35366
35366
|
else {
|
|
35367
35367
|
const x = Os.getCurrent(r).exists((S) => uf(S.element));
|
|
35368
35368
|
Rh.unblock(r), an(b, "display", "none"), un(b, "aria-hidden", "true"), x && t.focus();
|
|
@@ -36059,7 +36059,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36059
36059
|
}));
|
|
36060
36060
|
}, gt = (xt) => {
|
|
36061
36061
|
const En = He.element;
|
|
36062
|
-
xt ? (mi(En, "tox-button--enabled"), un(En, "aria-pressed", !0)) : (Yr(En, "tox-button--enabled"),
|
|
36062
|
+
xt ? (mi(En, "tox-button--enabled"), un(En, "aria-pressed", !0)) : (Yr(En, "tox-button--enabled"), le(En, "aria-pressed"));
|
|
36063
36063
|
}, mn = () => ql(He.element, "tox-button--enabled"), Sn = () => bu(He.element);
|
|
36064
36064
|
if (b)
|
|
36065
36065
|
return t.onAction({
|
|
@@ -36217,7 +36217,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36217
36217
|
an(r, "display", "none"), un(r, "aria-hidden", "true");
|
|
36218
36218
|
}, gD = (t) => {
|
|
36219
36219
|
const r = t.element;
|
|
36220
|
-
Uo(r, "display"),
|
|
36220
|
+
Uo(r, "display"), le(r, "aria-hidden");
|
|
36221
36221
|
}, fX = (t) => ({ getContainer: oe(t) }), CS = (t, r, l) => {
|
|
36222
36222
|
vc.getSlot(t, r).each((f) => {
|
|
36223
36223
|
Gy.getPane(f).each((b) => {
|
|
@@ -36270,7 +36270,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36270
36270
|
let f = !1;
|
|
36271
36271
|
const b = (S) => {
|
|
36272
36272
|
hM(S, ".tox-statusbar").each((E) => {
|
|
36273
|
-
Nt(E, "display") === "none" && go(E, "aria-hidden") === "true" ? (Uo(E, "display"),
|
|
36273
|
+
Nt(E, "display") === "none" && go(E, "aria-hidden") === "true" ? (Uo(E, "display"), le(E, "aria-hidden")) : (an(E, "display", "none"), un(E, "aria-hidden", "true"));
|
|
36274
36274
|
});
|
|
36275
36275
|
}, x = {
|
|
36276
36276
|
getSocket: (S) => hl.getPart(S, t, "socket"),
|
|
@@ -36341,7 +36341,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36341
36341
|
showMainView: (S) => {
|
|
36342
36342
|
f && x.toggleToolbarDrawer(S), hl.getPart(S, t, "editorContainer").each((E) => {
|
|
36343
36343
|
const D = E.element;
|
|
36344
|
-
b(D), Uo(D, "display"),
|
|
36344
|
+
b(D), Uo(D, "display"), le(D, "aria-hidden");
|
|
36345
36345
|
});
|
|
36346
36346
|
}
|
|
36347
36347
|
};
|
|
@@ -36961,13 +36961,13 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
36961
36961
|
const x = (He) => He.map((ct) => kn.getValue(ct)).getOr(""), S = uO(t, "NodeChange SwitchMode DisabledStateChange", (He) => {
|
|
36962
36962
|
const ct = He.getComponent();
|
|
36963
36963
|
b = Q.some(ct), l.updateInputValue(ct), zn.set(ct, !t.selection.isEditable() || pT(t));
|
|
36964
|
-
}), E = (He) => ({ getComponent: oe(He) }), D = In(
|
|
36964
|
+
}), E = (He) => ({ getComponent: oe(He) }), D = In(ce), L = Pn("custom-number-input-events"), V = (He, ct, gt) => {
|
|
36965
36965
|
const mn = x(b), Sn = l.getNewValue(mn, He), xt = mn.length - `${Sn}`.length, En = b.map((Bn) => Bn.element.dom.selectionStart - xt), fn = b.map((Bn) => Bn.element.dom.selectionEnd - xt);
|
|
36966
36966
|
l.onAction(Sn, gt), b.each((Bn) => {
|
|
36967
36967
|
kn.setValue(Bn, Sn), ct && (En.each((cs) => Bn.element.dom.selectionStart = cs), fn.each((cs) => Bn.element.dom.selectionEnd = cs));
|
|
36968
36968
|
});
|
|
36969
36969
|
}, j = (He, ct) => V((gt, mn) => gt - mn, He, ct), ne = (He, ct) => V((gt, mn) => gt + mn, He, ct), ae = (He) => Ra(He.element).fold(Q.none, (ct) => (bu(ct), Q.some(!0))), pe = (He) => uf(He.element) ? (Sc(He.element).each((ct) => bu(ct)), Q.some(!0)) : Q.none(), xe = (He, ct, gt, mn) => {
|
|
36970
|
-
const Sn = In(
|
|
36970
|
+
const Sn = In(ce), xt = r.shared.providers.translate(gt), En = Pn("altExecuting"), fn = uO(t, "NodeChange SwitchMode DisabledStateChange", (cs) => {
|
|
36971
36971
|
zn.set(cs.getComponent(), !t.selection.isEditable() || pT(t));
|
|
36972
36972
|
}), Bn = (cs) => {
|
|
36973
36973
|
zn.isDisabled(cs) || He(!0);
|
|
@@ -37334,7 +37334,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37334
37334
|
ue.highlightFirst(j), qn.focusIn(j);
|
|
37335
37335
|
});
|
|
37336
37336
|
}, x = (V) => {
|
|
37337
|
-
mP(t, Et, V, f, b, Ha.HighlightMenuAndItem).get(
|
|
37337
|
+
mP(t, Et, V, f, b, Ha.HighlightMenuAndItem).get(ce);
|
|
37338
37338
|
}, S = (V) => (x(V), Q.some(!0)), E = (V) => {
|
|
37339
37339
|
const j = xh(V, t, "button");
|
|
37340
37340
|
return eg(j), Q.some(!0);
|
|
@@ -37473,7 +37473,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37473
37473
|
].concat(f.getOr([])))
|
|
37474
37474
|
};
|
|
37475
37475
|
}, eq = (t, r, l, f, b) => {
|
|
37476
|
-
const x = r.shared, S = In(
|
|
37476
|
+
const x = r.shared, S = In(ce), E = {
|
|
37477
37477
|
toolbarButtonBehaviours: [],
|
|
37478
37478
|
getApi: iI,
|
|
37479
37479
|
onSetup: t.onSetup
|
|
@@ -37503,7 +37503,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37503
37503
|
});
|
|
37504
37504
|
}, RD = (t, r, l, f) => {
|
|
37505
37505
|
var b;
|
|
37506
|
-
const x = In(
|
|
37506
|
+
const x = In(ce), S = DD(t.icon, t.text, t.tooltip, Q.none(), l, t.context, f);
|
|
37507
37507
|
return Ta.sketch({
|
|
37508
37508
|
dom: S.dom,
|
|
37509
37509
|
components: S.components,
|
|
@@ -37570,7 +37570,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
37570
37570
|
const L = r.providers.translate(D);
|
|
37571
37571
|
un(E.element, "aria-label", L), f.set(D);
|
|
37572
37572
|
}
|
|
37573
|
-
}), x = In(
|
|
37573
|
+
}), x = In(ce), S = {
|
|
37574
37574
|
getApi: b,
|
|
37575
37575
|
onSetup: t.onSetup
|
|
37576
37576
|
};
|
|
@@ -38136,14 +38136,14 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38136
38136
|
const { primary: f, ...b } = r.original, x = jt(GT({
|
|
38137
38137
|
...b,
|
|
38138
38138
|
type: "button",
|
|
38139
|
-
onAction:
|
|
38139
|
+
onAction: ce
|
|
38140
38140
|
}));
|
|
38141
38141
|
return cI(x, l, [SI(t, r)]);
|
|
38142
38142
|
}, xq = (t, r, l) => {
|
|
38143
38143
|
const { primary: f, ...b } = r.original, x = jt(Ty({
|
|
38144
38144
|
...b,
|
|
38145
38145
|
type: "togglebutton",
|
|
38146
|
-
onAction:
|
|
38146
|
+
onAction: ce
|
|
38147
38147
|
}));
|
|
38148
38148
|
return dI(x, l, [SI(t, r)]);
|
|
38149
38149
|
}, Sq = (t) => t.type === "contextformtogglebutton", kq = (t, r, l) => Sq(r) ? xq(t, r, l) : wq(t, r, l), s2 = (t, r, l) => {
|
|
@@ -38186,7 +38186,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38186
38186
|
}
|
|
38187
38187
|
})])
|
|
38188
38188
|
}), Tq = (t, r, l) => {
|
|
38189
|
-
const f = In(
|
|
38189
|
+
const f = In(ce), b = t.label.map((S) => Es.parts.label({
|
|
38190
38190
|
dom: {
|
|
38191
38191
|
tag: "label",
|
|
38192
38192
|
classes: ["tox-label"]
|
|
@@ -38227,7 +38227,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38227
38227
|
});
|
|
38228
38228
|
return kI(b, x, r);
|
|
38229
38229
|
}, CI = (t, r, l) => {
|
|
38230
|
-
const f = In(
|
|
38230
|
+
const f = In(ce), b = t.label.map((D) => Es.parts.label({
|
|
38231
38231
|
dom: {
|
|
38232
38232
|
tag: "label",
|
|
38233
38233
|
classes: ["tox-label"]
|
|
@@ -38653,7 +38653,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
38653
38653
|
}), t.on("dragend drop", () => {
|
|
38654
38654
|
xt = !1;
|
|
38655
38655
|
}), t.on("NodeChange", (fn) => {
|
|
38656
|
-
Yl(V.element).fold(En.throttle,
|
|
38656
|
+
Yl(V.element).fold(En.throttle, ce);
|
|
38657
38657
|
});
|
|
38658
38658
|
});
|
|
38659
38659
|
}, Rq = (t) => {
|
|
@@ -39464,7 +39464,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39464
39464
|
un(f, r.leftAttr, l.left + "px"), un(f, r.topAttr, l.top + "px");
|
|
39465
39465
|
}, eQ = (t, r) => {
|
|
39466
39466
|
const l = t.element;
|
|
39467
|
-
|
|
39467
|
+
le(l, r.leftAttr), le(l, r.topAttr);
|
|
39468
39468
|
}, bG = (t, r, l, f) => pG(t, r).fold(() => l, (b) => xO(b.left + f.left, b.top + f.top)), OG = (t, r, l, f, b, x) => {
|
|
39469
39469
|
const S = bG(t, r, l, f), E = r.mustSnap ? nQ(t, r, S, b, x) : yG(t, r, S, b, x), D = N_(S, b, x);
|
|
39470
39470
|
return SO(t, r, D), E.fold(() => ({
|
|
@@ -39522,7 +39522,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39522
39522
|
});
|
|
39523
39523
|
const eR = "data-initial-z-index", SG = (t) => {
|
|
39524
39524
|
oi(t.element).filter(Fo).each((r) => {
|
|
39525
|
-
as(r, eR).fold(() => Uo(r, "z-index"), (l) => an(r, "z-index", l)),
|
|
39525
|
+
as(r, eR).fold(() => Uo(r, "z-index"), (l) => an(r, "z-index", l)), le(r, eR);
|
|
39526
39526
|
});
|
|
39527
39527
|
}, kG = (t) => {
|
|
39528
39528
|
oi(t.element).filter(Fo).each((r) => {
|
|
@@ -39560,9 +39560,9 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39560
39560
|
st("useFixed", ut),
|
|
39561
39561
|
At("blockerClass"),
|
|
39562
39562
|
st("getTarget", Et),
|
|
39563
|
-
st("onDrag",
|
|
39563
|
+
st("onDrag", ce),
|
|
39564
39564
|
st("repositionTarget", !0),
|
|
39565
|
-
st("onDrop",
|
|
39565
|
+
st("onDrop", ce),
|
|
39566
39566
|
zs("getBounds", Ui),
|
|
39567
39567
|
rQ
|
|
39568
39568
|
], TG = (t) => $i(Zs(t, "left"), Zs(t, "top"), Zs(t, "position"), (r, l, f) => (f === "fixed" ? xO : I_)(parseInt(r, 10), parseInt(l, 10))).getOrThunk(() => {
|
|
@@ -39679,7 +39679,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39679
39679
|
S.stop();
|
|
39680
39680
|
const E = () => b(x), D = {
|
|
39681
39681
|
drop: E,
|
|
39682
|
-
delayDrop:
|
|
39682
|
+
delayDrop: ce,
|
|
39683
39683
|
forceDrop: E,
|
|
39684
39684
|
move: (j) => {
|
|
39685
39685
|
tR(x, t, r, lQ, j);
|
|
@@ -39852,7 +39852,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
39852
39852
|
});
|
|
39853
39853
|
un(t, "aria-describedby", l);
|
|
39854
39854
|
}, QG = (t) => {
|
|
39855
|
-
|
|
39855
|
+
le(t, "aria-describedby");
|
|
39856
39856
|
}, FG = (t) => t.nodeName === "BR" || !!t.getAttribute("data-mce-bogus") || t.getAttribute("data-mce-type") === "bookmark", ZG = (t, r, l) => {
|
|
39857
39857
|
var f;
|
|
39858
39858
|
const b = (f = r.delimiter) !== null && f !== void 0 ? f : "›", x = (L, V, j) => Ta.sketch({
|
|
@@ -40457,7 +40457,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40457
40457
|
behaviours: Yt([
|
|
40458
40458
|
po.config({}),
|
|
40459
40459
|
Po("dialog-blocker-events", [ng(dh(), () => {
|
|
40460
|
-
Rh.isBlocked(pe) ?
|
|
40460
|
+
Rh.isBlocked(pe) ? ce() : qn.focusIn(pe);
|
|
40461
40461
|
})])
|
|
40462
40462
|
])
|
|
40463
40463
|
});
|
|
@@ -40644,7 +40644,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40644
40644
|
"presentation",
|
|
40645
40645
|
"document"
|
|
40646
40646
|
]),
|
|
40647
|
-
zs("onInit",
|
|
40647
|
+
zs("onInit", ce),
|
|
40648
40648
|
wa("stretched", !1)
|
|
40649
40649
|
], fY = mo(wQ), mY = Af.concat([
|
|
40650
40650
|
wa("border", !1),
|
|
@@ -40793,12 +40793,12 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40793
40793
|
xr("size", "normal"),
|
|
40794
40794
|
I("buttons", [], y),
|
|
40795
40795
|
st("initialData", {}),
|
|
40796
|
-
zs("onAction",
|
|
40797
|
-
zs("onChange",
|
|
40798
|
-
zs("onSubmit",
|
|
40799
|
-
zs("onClose",
|
|
40800
|
-
zs("onCancel",
|
|
40801
|
-
zs("onTabChange",
|
|
40796
|
+
zs("onAction", ce),
|
|
40797
|
+
zs("onChange", ce),
|
|
40798
|
+
zs("onSubmit", ce),
|
|
40799
|
+
zs("onClose", ce),
|
|
40800
|
+
zs("onCancel", ce),
|
|
40801
|
+
zs("onTabChange", ce)
|
|
40802
40802
|
]), $ = (t) => Vr("dialog", C, t), B = mo([
|
|
40803
40803
|
ya("type", [
|
|
40804
40804
|
"cancel",
|
|
@@ -40811,10 +40811,10 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
40811
40811
|
Wg("height"),
|
|
40812
40812
|
Wg("width"),
|
|
40813
40813
|
jg("buttons", B),
|
|
40814
|
-
zs("onAction",
|
|
40815
|
-
zs("onCancel",
|
|
40816
|
-
zs("onClose",
|
|
40817
|
-
zs("onMessage",
|
|
40814
|
+
zs("onAction", ce),
|
|
40815
|
+
zs("onCancel", ce),
|
|
40816
|
+
zs("onClose", ce),
|
|
40817
|
+
zs("onMessage", ce)
|
|
40818
40818
|
]), X = (t) => Vr("dialog", W, t), G = (t) => T(t) ? [t].concat(Se(Ka(t), G)) : R(t) ? Se(t, G) : [], re = (t) => w(t.type) && w(t.name), ge = {
|
|
40819
40819
|
checkbox: oY,
|
|
40820
40820
|
colorinput: iY,
|
|
@@ -41025,7 +41025,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41025
41025
|
return {
|
|
41026
41026
|
action: (f) => {
|
|
41027
41027
|
const b = f.getSystem().getByUid(t.uid).getOrDie(), x = ue.isHighlighted(b, f);
|
|
41028
|
-
(x && t.clickToDismiss ? r : x ?
|
|
41028
|
+
(x && t.clickToDismiss ? r : x ? ce : l)(b, f);
|
|
41029
41029
|
},
|
|
41030
41030
|
domModification: { classes: [t.markers.tabClass] }
|
|
41031
41031
|
};
|
|
@@ -41459,7 +41459,7 @@ The conflicting element is` + (Ve(j.element) ? " " : " not ") + "already in the
|
|
|
41459
41459
|
po.config({}),
|
|
41460
41460
|
Po("dialog-events", t.dialogEvents.concat([
|
|
41461
41461
|
ng(dh(), (x, S) => {
|
|
41462
|
-
Rh.isBlocked(x) ?
|
|
41462
|
+
Rh.isBlocked(x) ? ce() : qn.focusIn(x);
|
|
41463
41463
|
}),
|
|
41464
41464
|
$t(X1(), (x, S) => {
|
|
41465
41465
|
x.getSystem().broadcastOn([cS], { newFocus: S.event.newFocus });
|
|
@@ -42341,7 +42341,7 @@ function lhe() {
|
|
|
42341
42341
|
const v = typeof g;
|
|
42342
42342
|
return g === null ? "null" : v === "object" && Array.isArray(g) ? "array" : v === "object" && o(g, String, (k, _) => _.isPrototypeOf(k)) ? "string" : v;
|
|
42343
42343
|
}, c = (g) => (v) => i(v) === g, h = (g) => (v) => typeof v === g, m = (g) => (v) => g === v, O = c("string"), w = c("object"), T = c("array"), P = m(null), R = h("boolean"), F = m(void 0), H = (g) => g == null, K = (g) => !H(g), he = h("function"), Me = h("number"), ye = () => {
|
|
42344
|
-
}, Te = (g, v) => (...k) => g(v.apply(null, k)), et = (g, v) => (k) => g(v(k)),
|
|
42344
|
+
}, Te = (g, v) => (...k) => g(v.apply(null, k)), et = (g, v) => (k) => g(v(k)), ce = (g) => () => g, je = (g) => g, Xt = (g, v) => g === v;
|
|
42345
42345
|
function it(g, ...v) {
|
|
42346
42346
|
return (...k) => {
|
|
42347
42347
|
const _ = v.concat(k);
|
|
@@ -42350,7 +42350,7 @@ function lhe() {
|
|
|
42350
42350
|
}
|
|
42351
42351
|
const oe = (g) => (v) => !g(v), Et = (g) => () => {
|
|
42352
42352
|
throw new Error(g);
|
|
42353
|
-
}, rn = (g) => g(), dn =
|
|
42353
|
+
}, rn = (g) => g(), dn = ce(!1), Xe = ce(!0);
|
|
42354
42354
|
class ve {
|
|
42355
42355
|
constructor(v, k) {
|
|
42356
42356
|
this.tag = v, this.value = k;
|
|
@@ -42799,12 +42799,12 @@ function lhe() {
|
|
|
42799
42799
|
if (v == null)
|
|
42800
42800
|
throw new Error("Body is not available yet");
|
|
42801
42801
|
return Rt.fromDom(v);
|
|
42802
|
-
},
|
|
42802
|
+
}, le = (g, v, k) => Ke(Ss(g, k), v), De = (g, v) => Ke(So(g), v), ot = (g, v) => {
|
|
42803
42803
|
let k = [];
|
|
42804
42804
|
return Be(So(g), (_) => {
|
|
42805
42805
|
v(_) && (k = k.concat([_])), k = k.concat(ot(_, v));
|
|
42806
42806
|
}), k;
|
|
42807
|
-
}, $n = (g, v, k) =>
|
|
42807
|
+
}, $n = (g, v, k) => le(g, (_) => Ot(_, v), k), an = (g, v) => De(g, (k) => Ot(k, v)), ws = (g, v) => Le(v, g);
|
|
42808
42808
|
var si = (g, v, k, _, N) => g(k, _) ? ve.some(k) : he(N) && N(k) ? ve.none() : v(k, _, N);
|
|
42809
42809
|
const Nt = (g, v, k) => {
|
|
42810
42810
|
let _ = g.dom;
|
|
@@ -42873,7 +42873,7 @@ function lhe() {
|
|
|
42873
42873
|
}, Xr = (g, v) => {
|
|
42874
42874
|
const k = g.dom, _ = v.dom;
|
|
42875
42875
|
Pt(k) && Pt(_) && (_.style.cssText = k.style.cssText);
|
|
42876
|
-
}, hi = (g, v, k = 0) => Pe(g, v).map((_) => parseInt(_, 10)).getOr(k), ia = (g, v) => hi(g, v, 1), Zr = (g) => Ls("col")(g) ? hi(g, "span", 1) > 1 : ia(g, "colspan") > 1, Hi = (g) => ia(g, "rowspan") > 1, Vs = (g, v) => parseInt(ri(g, v), 10), Lc =
|
|
42876
|
+
}, hi = (g, v, k = 0) => Pe(g, v).map((_) => parseInt(_, 10)).getOr(k), ia = (g, v) => hi(g, v, 1), Zr = (g) => Ls("col")(g) ? hi(g, "span", 1) > 1 : ia(g, "colspan") > 1, Hi = (g) => ia(g, "rowspan") > 1, Vs = (g, v) => parseInt(ri(g, v), 10), Lc = ce(10), Hf = ce(10), Vu = (g, v) => Vh(g, v, Xe), Vh = (g, v, k) => wo(So(g), (_) => Ot(_, v) ? k(_) ? [_] : [] : Vh(_, v, k)), zh = (g, v, k = dn) => {
|
|
42877
42877
|
if (k(v))
|
|
42878
42878
|
return ve.none();
|
|
42879
42879
|
if (io(g, Ts(v)))
|
|
@@ -42883,7 +42883,7 @@ function lhe() {
|
|
|
42883
42883
|
}, Jd = (g, v) => zh([
|
|
42884
42884
|
"td",
|
|
42885
42885
|
"th"
|
|
42886
|
-
], g, v), eh = (g) => Vu(g, "th,td"), hc = (g) => Ot(g, "colgroup") ? an(g, "col") : wo(ou(g), (v) => an(v, "col")), el = (g, v) => yi(g, "table", v), Yp = (g) => Vu(g, "tr"), ou = (g) => el(g).fold(
|
|
42886
|
+
], g, v), eh = (g) => Vu(g, "th,td"), hc = (g) => Ot(g, "colgroup") ? an(g, "col") : wo(ou(g), (v) => an(v, "col")), el = (g, v) => yi(g, "table", v), Yp = (g) => Vu(g, "tr"), ou = (g) => el(g).fold(ce([]), (v) => an(v, "colgroup")), Qm = (g, v) => Ft(g, (k) => {
|
|
42887
42887
|
if (Ts(k) === "colgroup") {
|
|
42888
42888
|
const _ = Ft(hc(k), (N) => {
|
|
42889
42889
|
const z = hi(N, "span", 1);
|
|
@@ -42912,15 +42912,15 @@ function lhe() {
|
|
|
42912
42912
|
}, Zm = (g, v, k, _) => {
|
|
42913
42913
|
const N = g.isiOS() && /ipad/i.test(k) === !0, z = g.isiOS() && !N, J = g.isiOS() || g.isAndroid(), ie = J || _("(pointer:coarse)"), ue = N || !z && J && _("(min-device-width:768px)"), Ie = z || J && !ue, nt = v.isSafari() && g.isiOS() && /safari/i.test(k) === !1, Vt = !Ie && !ue && !nt;
|
|
42914
42914
|
return {
|
|
42915
|
-
isiPad:
|
|
42916
|
-
isiPhone:
|
|
42917
|
-
isTablet:
|
|
42918
|
-
isPhone:
|
|
42919
|
-
isTouch:
|
|
42915
|
+
isiPad: ce(N),
|
|
42916
|
+
isiPhone: ce(z),
|
|
42917
|
+
isTablet: ce(ue),
|
|
42918
|
+
isPhone: ce(Ie),
|
|
42919
|
+
isTouch: ce(ie),
|
|
42920
42920
|
isAndroid: g.isAndroid,
|
|
42921
42921
|
isiOS: g.isiOS,
|
|
42922
|
-
isWebView:
|
|
42923
|
-
isDesktop:
|
|
42922
|
+
isWebView: ce(nt),
|
|
42923
|
+
isDesktop: ce(Vt)
|
|
42924
42924
|
};
|
|
42925
42925
|
}, Ig = (g, v) => {
|
|
42926
42926
|
for (let k = 0; k < g.length; k++) {
|
|
@@ -43061,8 +43061,8 @@ function lhe() {
|
|
|
43061
43061
|
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/]
|
|
43062
43062
|
}
|
|
43063
43063
|
], oh = {
|
|
43064
|
-
browsers:
|
|
43065
|
-
oses:
|
|
43064
|
+
browsers: ce(zu),
|
|
43065
|
+
oses: ce(Fg)
|
|
43066
43066
|
}, tl = "Edge", Vm = "Chromium", zm = "IE", pd = "Opera", bd = "Firefox", Uf = "Safari", fc = () => Wf({
|
|
43067
43067
|
current: void 0,
|
|
43068
43068
|
version: Ol.unknown()
|
|
@@ -43242,7 +43242,7 @@ function lhe() {
|
|
|
43242
43242
|
return Y(_, v).orThunk(() => ve.from(_[0]).orThunk(k)).map((J) => J.element);
|
|
43243
43243
|
}, M = (g) => {
|
|
43244
43244
|
const v = g.grid, k = Jt(v.rows, je), _ = Jt(v.columns, je);
|
|
43245
|
-
return Ft(k, (N) => jm(() => wo(_, (ue) => ts.getAt(g, N, ue).filter((Ie) => Ie.row === N).fold(
|
|
43245
|
+
return Ft(k, (N) => jm(() => wo(_, (ue) => ts.getAt(g, N, ue).filter((Ie) => Ie.row === N).fold(ce([]), (Ie) => [Ie])), (ue) => ue.rowspan === 1, () => ts.getAt(g, N, 0)));
|
|
43246
43246
|
}, U = (g, v) => {
|
|
43247
43247
|
if (v < 0 || v >= g.length - 1)
|
|
43248
43248
|
return ve.none();
|
|
@@ -43391,7 +43391,7 @@ function lhe() {
|
|
|
43391
43391
|
"empty"
|
|
43392
43392
|
])), At = (g, v, k) => {
|
|
43393
43393
|
Io(g, "width", v + k);
|
|
43394
|
-
}, Ds = (g) => Wl(g) + "px", u0 = (g) => zt(g) + "px", Wi = (g) => Yf(g, Wl, rh) + "%", ya = (g) => Uu(g).exists((v) => Jh.test(v)), hu = (g) => Uu(g).exists((v) => pn.test(v)), H1 = (g) => Uu(g).isNone(), tf =
|
|
43394
|
+
}, Ds = (g) => Wl(g) + "px", u0 = (g) => zt(g) + "px", Wi = (g) => Yf(g, Wl, rh) + "%", ya = (g) => Uu(g).exists((v) => Jh.test(v)), hu = (g) => Uu(g).exists((v) => pn.test(v)), H1 = (g) => Uu(g).isNone(), tf = ce(Jh), U1 = Ls("col"), gc = (g) => Uu(g).getOrThunk(() => Yi(g) + "px"), $s = (g) => Gi(g).getOrThunk(() => As(g) + "px"), xd = (g) => Ft(ts.justColumns(g), (v) => ve.from(v.element)), Wg = (g) => {
|
|
43395
43395
|
const v = Qc().browser, k = v.isChromium() || v.isFirefox();
|
|
43396
43396
|
return U1(g) ? k : !0;
|
|
43397
43397
|
}, ti = (g, v, k, _, N, z) => g.filter(_).fold(() => z(U(k, v)), (J) => N(J)), d0 = (g, v, k, _) => {
|
|
@@ -43408,13 +43408,13 @@ function lhe() {
|
|
|
43408
43408
|
const N = M(g), z = Ft(g.all, (ie) => ve.some(ie.element)), J = [ve.some(il.edge(v))].concat(Ft(il.positions(N, v), (ie) => ie.map((ue) => ue.y)));
|
|
43409
43409
|
return Ft(z, (ie, ue) => ti(ie, ue, J, Xe, k, _));
|
|
43410
43410
|
}, _r = (g, v) => st(g, v, As, (k) => k.getOrThunk(Hf)), W1 = (g, v) => st(g, v, $s, ah), xr = (g, v) => () => go(g) ? v(g) : parseFloat(Ba(g, "width").getOr("0")), al = (g) => {
|
|
43411
|
-
const v = xr(g, Wl), k =
|
|
43411
|
+
const v = xr(g, Wl), k = ce(0);
|
|
43412
43412
|
return {
|
|
43413
43413
|
width: v,
|
|
43414
43414
|
pixelWidth: v,
|
|
43415
43415
|
getWidths: (N, z) => Ki(N, g, z),
|
|
43416
43416
|
getCellDelta: k,
|
|
43417
|
-
singleColumnWidth:
|
|
43417
|
+
singleColumnWidth: ce([0]),
|
|
43418
43418
|
minCellWidth: k,
|
|
43419
43419
|
setElementWidth: ye,
|
|
43420
43420
|
adjustTableWidth: ye,
|
|
@@ -43694,7 +43694,7 @@ function lhe() {
|
|
|
43694
43694
|
return ba(as(), k);
|
|
43695
43695
|
const _ = R4(g);
|
|
43696
43696
|
return K(_) ? ve.some(Rt.fromDom(_)) : ve.none();
|
|
43697
|
-
}, m0 = (g) => g.inline && XO(g).isSome(), Yu = La("ui_mode"), of = (g) => !m0(g) && Yu(g) === "split", nm = (g) => yi(g, "[contenteditable]"), g0 = (g, v = !1) => go(g) ? g.dom.isContentEditable : nm(g).fold(
|
|
43697
|
+
}, m0 = (g) => g.inline && XO(g).isSome(), Yu = La("ui_mode"), of = (g) => !m0(g) && Yu(g) === "split", nm = (g) => yi(g, "[contenteditable]"), g0 = (g, v = !1) => go(g) ? g.dom.isContentEditable : nm(g).fold(ce(v), (k) => X1(k) === "true"), X1 = (g) => g.dom.contentEditable, Km = (g) => Rt.fromDom(g.getBody()), ep = (g) => (v) => Ut(v, Km(g)), Jm = (g) => {
|
|
43698
43698
|
Ce(g, "data-mce-style");
|
|
43699
43699
|
const v = (k) => Ce(k, "data-mce-style");
|
|
43700
43700
|
Be(eh(g), v), Be(hc(g), v), Be(Yp(g), v);
|
|
@@ -43792,29 +43792,29 @@ function lhe() {
|
|
|
43792
43792
|
], nt);
|
|
43793
43793
|
}, ue = (Ie) => er(Ie) ? Pe(Ie, "lang") : ve.none();
|
|
43794
43794
|
return {
|
|
43795
|
-
up:
|
|
43795
|
+
up: ce({
|
|
43796
43796
|
selector: Br,
|
|
43797
43797
|
closest: yi,
|
|
43798
43798
|
predicate: Nt,
|
|
43799
43799
|
all: Ss
|
|
43800
43800
|
}),
|
|
43801
|
-
down:
|
|
43801
|
+
down: ce({
|
|
43802
43802
|
selector: ws,
|
|
43803
43803
|
predicate: ot
|
|
43804
43804
|
}),
|
|
43805
|
-
styles:
|
|
43805
|
+
styles: ce({
|
|
43806
43806
|
get: ri,
|
|
43807
43807
|
getRaw: Ba,
|
|
43808
43808
|
set: Io,
|
|
43809
43809
|
remove: yr
|
|
43810
43810
|
}),
|
|
43811
|
-
attrs:
|
|
43811
|
+
attrs: ce({
|
|
43812
43812
|
get: vr,
|
|
43813
43813
|
set: Ws,
|
|
43814
43814
|
remove: Ce,
|
|
43815
43815
|
copyTo: J
|
|
43816
43816
|
}),
|
|
43817
|
-
insert:
|
|
43817
|
+
insert: ce({
|
|
43818
43818
|
before: Oi,
|
|
43819
43819
|
after: vi,
|
|
43820
43820
|
afterAll: eu,
|
|
@@ -43823,21 +43823,21 @@ function lhe() {
|
|
|
43823
43823
|
prepend: Vi,
|
|
43824
43824
|
wrap: pl
|
|
43825
43825
|
}),
|
|
43826
|
-
remove:
|
|
43826
|
+
remove: ce({
|
|
43827
43827
|
unwrap: tu,
|
|
43828
43828
|
remove: hr
|
|
43829
43829
|
}),
|
|
43830
|
-
create:
|
|
43830
|
+
create: ce({
|
|
43831
43831
|
nu: Rt.fromTag,
|
|
43832
43832
|
clone: g,
|
|
43833
43833
|
text: Rt.fromText
|
|
43834
43834
|
}),
|
|
43835
|
-
query:
|
|
43835
|
+
query: ce({
|
|
43836
43836
|
comparePosition: z,
|
|
43837
43837
|
prevSibling: Da,
|
|
43838
43838
|
nextSibling: Zi
|
|
43839
43839
|
}),
|
|
43840
|
-
property:
|
|
43840
|
+
property: ce({
|
|
43841
43841
|
children: So,
|
|
43842
43842
|
name: Ts,
|
|
43843
43843
|
parent: ds,
|
|
@@ -43953,7 +43953,7 @@ function lhe() {
|
|
|
43953
43953
|
selection: xa(g),
|
|
43954
43954
|
clipboard: k,
|
|
43955
43955
|
generators: _
|
|
43956
|
-
}), P2 = (g) => el(g).bind((v) => Yt(v, sp.firstSelectedSelector)).fold(
|
|
43956
|
+
}), P2 = (g) => el(g).bind((v) => Yt(v, sp.firstSelectedSelector)).fold(ce(g), (v) => v[0]), ql = (g) => (v, k) => {
|
|
43957
43957
|
const _ = Ts(v), N = _ === "col" || _ === "colgroup" ? P2(v) : v;
|
|
43958
43958
|
return yi(N, g, k);
|
|
43959
43959
|
}, y0 = ql("th,td,caption"), Ku = ql("th,td"), sm = (g) => ok(g.model.table.getSelectedCells()), iM = (g) => Ke(sm(g), (v) => Ot(v, sp.selectedSelector)), aM = (g) => el(g[0]).map((v) => {
|
|
@@ -44015,7 +44015,7 @@ function lhe() {
|
|
|
44015
44015
|
const N = _.value / 2;
|
|
44016
44016
|
At(g, N, _.unit), At(v, N, _.unit);
|
|
44017
44017
|
});
|
|
44018
|
-
}, lf = (g) => Ft(g,
|
|
44018
|
+
}, lf = (g) => Ft(g, ce(0)), sg = (g, v, k, _, N) => N(g.slice(0, v)).concat(_).concat(N(g.slice(k))), ob = (g) => (v, k, _, N) => {
|
|
44019
44019
|
if (g(_)) {
|
|
44020
44020
|
const z = Math.max(N, v[k] - Math.abs(_)), J = Math.abs(z - v[k]);
|
|
44021
44021
|
return _ >= 0 ? J : -J;
|
|
@@ -44089,7 +44089,7 @@ function lhe() {
|
|
|
44089
44089
|
return lf(J);
|
|
44090
44090
|
{
|
|
44091
44091
|
const bn = Ie / J.length;
|
|
44092
|
-
return Ft(J,
|
|
44092
|
+
return Ft(J, ce(bn));
|
|
44093
44093
|
}
|
|
44094
44094
|
},
|
|
44095
44095
|
calcRedestributedWidths: (J, ie, ue, Ie) => ({
|
|
@@ -44320,7 +44320,7 @@ function lhe() {
|
|
|
44320
44320
|
}
|
|
44321
44321
|
return g;
|
|
44322
44322
|
}, cp = (g) => {
|
|
44323
|
-
const v = (z) => z(g), k =
|
|
44323
|
+
const v = (z) => z(g), k = ce(g), _ = () => N, N = {
|
|
44324
44324
|
tag: !0,
|
|
44325
44325
|
inner: g,
|
|
44326
44326
|
fold: (z, J) => J(g),
|
|
@@ -44590,7 +44590,7 @@ Required: ` + v.join(", "));
|
|
|
44590
44590
|
]
|
|
44591
44591
|
}
|
|
44592
44592
|
]) }, e5 = (g, v) => g.length === 0 ? dm.none() : g.length === 1 ? dm.only(0) : v === 0 ? dm.left(0, 1) : v === g.length - 1 ? dm.right(v - 1, v) : v > 0 && v < g.length - 1 ? dm.middle(v - 1, v, v + 1) : dm.none(), t5 = (g, v, k, _, N) => {
|
|
44593
|
-
const z = g.slice(0), J = e5(g, v), ie =
|
|
44593
|
+
const z = g.slice(0), J = e5(g, v), ie = ce(Ft(z, ce(0))), ue = (bn) => _.singleColumnWidth(z[bn], k), Ie = (bn, Kt) => N.calcLeftEdgeDeltas(z, bn, Kt, k, _.minCellWidth(), _.isRelative), nt = (bn, Kt, nn) => N.calcMiddleDeltas(z, bn, Kt, nn, k, _.minCellWidth(), _.isRelative), Vt = (bn, Kt) => N.calcRightEdgeDeltas(z, bn, Kt, k, _.minCellWidth(), _.isRelative);
|
|
44594
44594
|
return J.fold(ie, ue, Ie, nt, Vt);
|
|
44595
44595
|
}, Tk = (g, v, k) => {
|
|
44596
44596
|
let _ = 0;
|
|
@@ -44705,7 +44705,7 @@ Required: ` + v.join(", "));
|
|
|
44705
44705
|
return It(z, (Ie) => Ie !== J && io(ie, Ie)) ? ve.none() : ve.from(J);
|
|
44706
44706
|
}
|
|
44707
44707
|
};
|
|
44708
|
-
return yr(_[0], "width"), N().fold(() => Ce(_[0], "scope"), (z) => Ws(_[0], "scope", z + "group")),
|
|
44708
|
+
return yr(_[0], "width"), N().fold(() => Ce(_[0], "scope"), (z) => Ws(_[0], "scope", z + "group")), ce(_[0]);
|
|
44709
44709
|
}
|
|
44710
44710
|
})
|
|
44711
44711
|
}, St = [
|
|
@@ -45041,24 +45041,24 @@ Required: ` + v.join(", "));
|
|
|
45041
45041
|
const _ = k / v;
|
|
45042
45042
|
return Ft(g, (N) => Ri.from(N).fold(() => N, (J) => J * _ + "px", (J) => J / 100 * k + "px"));
|
|
45043
45043
|
}, Yl = (g, v) => {
|
|
45044
|
-
const k = g.fold(() =>
|
|
45044
|
+
const k = g.fold(() => ce(""), (_) => {
|
|
45045
45045
|
const N = _ / v;
|
|
45046
|
-
return
|
|
45046
|
+
return ce(N + "px");
|
|
45047
45047
|
}, () => {
|
|
45048
45048
|
const _ = 100 / v;
|
|
45049
|
-
return
|
|
45049
|
+
return ce(_ + "%");
|
|
45050
45050
|
});
|
|
45051
45051
|
return Jt(v, k);
|
|
45052
45052
|
}, iw = (g, v, k) => g.fold(() => v, (_) => mm(v, k, _), (_) => uf(v, k)), Ov = (g, v, k) => {
|
|
45053
45053
|
const _ = Ri.from(k), N = Xo(g, (z) => z === "0px") ? Yl(_, g.length) : iw(_, g, v);
|
|
45054
45054
|
return p5(N);
|
|
45055
|
-
}, aw = (g, v) => g.length === 0 ? v : qt(g, (k, _) => Ri.from(_).fold(
|
|
45055
|
+
}, aw = (g, v) => g.length === 0 ? v : qt(g, (k, _) => Ri.from(_).fold(ce(0), je, je) + k, 0), lw = (g, v) => {
|
|
45056
45056
|
const k = Math.floor(g);
|
|
45057
45057
|
return {
|
|
45058
45058
|
value: k + v,
|
|
45059
45059
|
remainder: g - k
|
|
45060
45060
|
};
|
|
45061
|
-
}, vv = (g, v) => Ri.from(g).fold(
|
|
45061
|
+
}, vv = (g, v) => Ri.from(g).fold(ce(g), (k) => k + v + "px", (k) => k + v + "%"), p5 = (g) => {
|
|
45062
45062
|
if (g.length === 0)
|
|
45063
45063
|
return g;
|
|
45064
45064
|
const v = qt(g, (_, N) => {
|
|
@@ -45094,7 +45094,7 @@ Required: ` + v.join(", "));
|
|
|
45094
45094
|
}), Be(v, (_, N) => {
|
|
45095
45095
|
Io(_.element, "height", g[N]);
|
|
45096
45096
|
});
|
|
45097
|
-
}, y5 = (g) => cw(g).fold(
|
|
45097
|
+
}, y5 = (g) => cw(g).fold(ce("px"), ce("px"), ce("%")), uw = (g, v, k) => {
|
|
45098
45098
|
const _ = ts.fromTable(g), N = _.all, z = ts.justCells(_), J = ts.justColumns(_);
|
|
45099
45099
|
v.each((ie) => {
|
|
45100
45100
|
const ue = y5(ie), Ie = Wl(g), nt = jg(_, g), Vt = Ov(nt, Ie, ie);
|
|
@@ -45393,7 +45393,7 @@ Required: ` + v.join(", "));
|
|
|
45393
45393
|
}
|
|
45394
45394
|
]), xw = (g, v, k) => v(Rt.fromDom(k.startContainer), k.startOffset, Rt.fromDom(k.endContainer), k.endOffset), Sw = (g, v) => v.match({
|
|
45395
45395
|
domRange: (k) => ({
|
|
45396
|
-
ltr:
|
|
45396
|
+
ltr: ce(k),
|
|
45397
45397
|
rtl: ve.none
|
|
45398
45398
|
}),
|
|
45399
45399
|
relative: (k, _) => ({
|
|
@@ -45540,7 +45540,7 @@ Required: ` + v.join(", "));
|
|
|
45540
45540
|
}, Ad = {
|
|
45541
45541
|
tryUp: it(bC, Lb),
|
|
45542
45542
|
tryDown: it(bC, Vv),
|
|
45543
|
-
getJumpSize:
|
|
45543
|
+
getJumpSize: ce(bm)
|
|
45544
45544
|
}, OC = 20, zv = (g, v, k) => g.getSelection().bind((_) => Rb(v, _.finish, _.foffset, k).fold(() => ve.some(Qa(_.finish, _.foffset)), (N) => {
|
|
45545
45545
|
const z = g.fromSitus(N), J = L0.verify(g, _.finish, _.foffset, z.finish, z.foffset, k.failure, v);
|
|
45546
45546
|
return I5(J);
|
|
@@ -46022,7 +46022,7 @@ Required: ` + v.join(", "));
|
|
|
46022
46022
|
}), g.on("PreInit", () => {
|
|
46023
46023
|
g.serializer.addTempAttr(sp.firstSelected), g.serializer.addTempAttr(sp.lastSelected);
|
|
46024
46024
|
}), {
|
|
46025
|
-
getSelectedCells: () => Yv(k.get(),
|
|
46025
|
+
getSelectedCells: () => Yv(k.get(), ce([]), (ue) => Ft(ue, (Ie) => Ie.dom), (ue) => [ue.dom]),
|
|
46026
46026
|
clearSelectedCells: (ue) => z.clear(Rt.fromDom(ue))
|
|
46027
46027
|
};
|
|
46028
46028
|
}, _c = (g) => {
|
|
@@ -46210,7 +46210,7 @@ Required: ` + v.join(", "));
|
|
|
46210
46210
|
width: "100%",
|
|
46211
46211
|
height: "100%"
|
|
46212
46212
|
}), vm(k, ny("blocker")), vm(k, v.layerClass), {
|
|
46213
|
-
element:
|
|
46213
|
+
element: ce(k),
|
|
46214
46214
|
destroy: () => {
|
|
46215
46215
|
hr(k);
|
|
46216
46216
|
}
|
|
@@ -46459,34 +46459,34 @@ Required: ` + v.join(", "));
|
|
|
46459
46459
|
only: (g, v) => {
|
|
46460
46460
|
const k = Pl(g) ? Jn(g) : g;
|
|
46461
46461
|
return {
|
|
46462
|
-
parent:
|
|
46463
|
-
view:
|
|
46464
|
-
dragContainer:
|
|
46465
|
-
origin:
|
|
46462
|
+
parent: ce(k),
|
|
46463
|
+
view: ce(g),
|
|
46464
|
+
dragContainer: ce(k),
|
|
46465
|
+
origin: ce(Zn(0, 0)),
|
|
46466
46466
|
isResizable: v
|
|
46467
46467
|
};
|
|
46468
46468
|
},
|
|
46469
46469
|
detached: (g, v, k) => {
|
|
46470
46470
|
const _ = () => sl(v);
|
|
46471
46471
|
return {
|
|
46472
|
-
parent:
|
|
46473
|
-
view:
|
|
46474
|
-
dragContainer:
|
|
46472
|
+
parent: ce(v),
|
|
46473
|
+
view: ce(g),
|
|
46474
|
+
dragContainer: ce(v),
|
|
46475
46475
|
origin: _,
|
|
46476
46476
|
isResizable: k
|
|
46477
46477
|
};
|
|
46478
46478
|
},
|
|
46479
46479
|
body: (g, v, k) => ({
|
|
46480
|
-
parent:
|
|
46481
|
-
view:
|
|
46482
|
-
dragContainer:
|
|
46483
|
-
origin:
|
|
46480
|
+
parent: ce(v),
|
|
46481
|
+
view: ce(g),
|
|
46482
|
+
dragContainer: ce(v),
|
|
46483
|
+
origin: ce(Zn(0, 0)),
|
|
46484
46484
|
isResizable: k
|
|
46485
46485
|
}),
|
|
46486
46486
|
scrollable: (g, v, k, _) => ({
|
|
46487
|
-
parent:
|
|
46488
|
-
view:
|
|
46489
|
-
dragContainer:
|
|
46487
|
+
parent: ce(v),
|
|
46488
|
+
view: ce(g),
|
|
46489
|
+
dragContainer: ce(k),
|
|
46490
46490
|
origin: () => sl(v),
|
|
46491
46491
|
isResizable: _
|
|
46492
46492
|
})
|
|
@@ -46628,7 +46628,7 @@ function che() {
|
|
|
46628
46628
|
return M.apply(null, Ee);
|
|
46629
46629
|
};
|
|
46630
46630
|
}
|
|
46631
|
-
const et = (M) => (U) => !M(U),
|
|
46631
|
+
const et = (M) => (U) => !M(U), ce = Me(!1);
|
|
46632
46632
|
class je {
|
|
46633
46633
|
constructor(U, te) {
|
|
46634
46634
|
this.tag = U, this.value = te;
|
|
@@ -46750,7 +46750,7 @@ function che() {
|
|
|
46750
46750
|
break;
|
|
46751
46751
|
}
|
|
46752
46752
|
return je.none();
|
|
46753
|
-
}, io = (M, U) => Q(M, U,
|
|
46753
|
+
}, io = (M, U) => Q(M, U, ce), It = (M) => {
|
|
46754
46754
|
const U = [];
|
|
46755
46755
|
for (let te = 0, Ee = M.length; te < Ee; ++te) {
|
|
46756
46756
|
if (!w(M[te]))
|
|
@@ -46842,7 +46842,7 @@ function che() {
|
|
|
46842
46842
|
var jn = (M, U, te, Ee, Fe) => M(te, Ee) ? je.some(te) : F(Fe) && Fe(te) ? je.none() : U(te, Ee, Fe);
|
|
46843
46843
|
const er = (M, U, te) => {
|
|
46844
46844
|
let Ee = M.dom;
|
|
46845
|
-
const Fe = F(te) ? te :
|
|
46845
|
+
const Fe = F(te) ? te : ce;
|
|
46846
46846
|
for (; Ee.parentNode; ) {
|
|
46847
46847
|
Ee = Ee.parentNode;
|
|
46848
46848
|
const zt = Se.fromDom(Ee);
|
|
@@ -47020,11 +47020,11 @@ function che() {
|
|
|
47020
47020
|
}, go = (M, U) => !Ho(U) && !Vi(U) && dn(Rc, (te) => M.isValidChild(U.nodeName, te)), as = (M, U) => {
|
|
47021
47021
|
const te = M.dom.getParents(U, M.dom.isBlock), Ee = (zt) => zt.nodeName.toLowerCase() !== Fu(M);
|
|
47022
47022
|
return io(te, (zt) => Ee(zt) && go(M.schema, zt)).getOr(M.getBody());
|
|
47023
|
-
}, q = (M) => Lo(M).exists((U) => Vi(U.dom) && Mr(U).exists((te) => !Ho(te.dom)) && Ei(U).exists((te) => !Ho(te.dom))),
|
|
47023
|
+
}, q = (M) => Lo(M).exists((U) => Vi(U.dom) && Mr(U).exists((te) => !Ho(te.dom)) && Ei(U).exists((te) => !Ho(te.dom))), le = (M, U) => {
|
|
47024
47024
|
const te = M.dom.getParents(U, "ol,ul", as(M, U));
|
|
47025
47025
|
return lt(te);
|
|
47026
47026
|
}, De = (M) => {
|
|
47027
|
-
const U =
|
|
47027
|
+
const U = le(M, M.selection.getStart()), te = Xn(M.selection.getSelectedBlocks(), Oi);
|
|
47028
47028
|
return U.toArray().concat(te);
|
|
47029
47029
|
}, ot = (M) => {
|
|
47030
47030
|
const U = M.selection.getStart();
|
|
@@ -47033,7 +47033,7 @@ function che() {
|
|
|
47033
47033
|
const U = De(M), te = ot(M);
|
|
47034
47034
|
return io(te, (Ee) => q(Se.fromDom(Ee))).fold(() => an(M, U), (Ee) => [Ee]);
|
|
47035
47035
|
}, an = (M, U) => {
|
|
47036
|
-
const te = Xe(U, (Ee) =>
|
|
47036
|
+
const te = Xe(U, (Ee) => le(M, Ee).getOr(Ee));
|
|
47037
47037
|
return Ke(te);
|
|
47038
47038
|
}, ws = (M) => /\btox\-/.test(M.className), si = (M, U) => Q(M, Ho, md).exists((te) => te.nodeName === U && !ws(te)), Nt = (M, U) => U !== null && !M.dom.isEditable(U), ra = (M) => {
|
|
47039
47039
|
const U = se(M);
|
|
@@ -47858,7 +47858,7 @@ function uhe() {
|
|
|
47858
47858
|
}
|
|
47859
47859
|
}
|
|
47860
47860
|
et.singletonNone = new et(!1);
|
|
47861
|
-
const
|
|
47861
|
+
const ce = Array.prototype.indexOf, je = Array.prototype.push, Xt = (se, _e) => ce.call(se, _e), it = (se, _e) => Xt(se, _e) > -1, oe = (se, _e) => {
|
|
47862
47862
|
const Ve = se.length, wt = new Array(Ve);
|
|
47863
47863
|
for (let en = 0; en < Ve; en++) {
|
|
47864
47864
|
const Tn = se[en];
|
|
@@ -48124,8 +48124,8 @@ function uhe() {
|
|
|
48124
48124
|
}, Tn = (go) => {
|
|
48125
48125
|
const as = en(go.url), q = wt(go.url);
|
|
48126
48126
|
return as.isSome() || q.isSome() ? et.some({
|
|
48127
|
-
...as.map((
|
|
48128
|
-
...q.map((
|
|
48127
|
+
...as.map((le) => ({ text: le })).getOr({}),
|
|
48128
|
+
...q.map((le) => ({ title: le })).getOr({})
|
|
48129
48129
|
}) : et.none();
|
|
48130
48130
|
}, un = (go, as) => {
|
|
48131
48131
|
const q = sa(_e, as).getOr([]);
|
|
@@ -48335,9 +48335,9 @@ function uhe() {
|
|
|
48335
48335
|
}
|
|
48336
48336
|
],
|
|
48337
48337
|
initialData: co,
|
|
48338
|
-
onChange: (
|
|
48339
|
-
as.onChange(
|
|
48340
|
-
|
|
48338
|
+
onChange: (le, { name: De }) => {
|
|
48339
|
+
as.onChange(le.getData, { name: De }).each((ot) => {
|
|
48340
|
+
le.setData(ot);
|
|
48341
48341
|
});
|
|
48342
48342
|
},
|
|
48343
48343
|
onSubmit: _e
|
|
@@ -48573,34 +48573,34 @@ var Lte = {}, Ite;
|
|
|
48573
48573
|
function dhe() {
|
|
48574
48574
|
return Ite || (Ite = 1, function() {
|
|
48575
48575
|
var u = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
48576
|
-
const o = Object.getPrototypeOf, i = (q,
|
|
48576
|
+
const o = Object.getPrototypeOf, i = (q, le, De) => {
|
|
48577
48577
|
var ot;
|
|
48578
|
-
return De(q,
|
|
48578
|
+
return De(q, le.prototype) ? !0 : ((ot = q.constructor) === null || ot === void 0 ? void 0 : ot.name) === le.name;
|
|
48579
48579
|
}, c = (q) => {
|
|
48580
|
-
const
|
|
48581
|
-
return q === null ? "null" :
|
|
48582
|
-
}, h = (q) => (
|
|
48580
|
+
const le = typeof q;
|
|
48581
|
+
return q === null ? "null" : le === "object" && Array.isArray(q) ? "array" : le === "object" && i(q, String, (De, ot) => ot.isPrototypeOf(De)) ? "string" : le;
|
|
48582
|
+
}, h = (q) => (le) => c(le) === q, m = (q) => (le) => typeof le === q, O = (q) => (le) => q === le, w = (q, le) => P(q) && i(q, le, (De, ot) => o(De) === ot), T = h("string"), P = h("object"), R = (q) => w(q, Object), F = h("array"), H = O(null), K = m("boolean"), he = (q) => q == null, Me = (q) => !he(q), ye = m("function"), Te = m("number"), et = (q, le) => {
|
|
48583
48583
|
if (F(q)) {
|
|
48584
48584
|
for (let De = 0, ot = q.length; De < ot; ++De)
|
|
48585
|
-
if (!
|
|
48585
|
+
if (!le(q[De]))
|
|
48586
48586
|
return !1;
|
|
48587
48587
|
return !0;
|
|
48588
48588
|
}
|
|
48589
48589
|
return !1;
|
|
48590
|
-
},
|
|
48590
|
+
}, ce = () => {
|
|
48591
48591
|
};
|
|
48592
48592
|
class je {
|
|
48593
|
-
constructor(
|
|
48594
|
-
this.tag =
|
|
48593
|
+
constructor(le, De) {
|
|
48594
|
+
this.tag = le, this.value = De;
|
|
48595
48595
|
}
|
|
48596
|
-
static some(
|
|
48597
|
-
return new je(!0,
|
|
48596
|
+
static some(le) {
|
|
48597
|
+
return new je(!0, le);
|
|
48598
48598
|
}
|
|
48599
48599
|
static none() {
|
|
48600
48600
|
return je.singletonNone;
|
|
48601
48601
|
}
|
|
48602
|
-
fold(
|
|
48603
|
-
return this.tag ? De(this.value) :
|
|
48602
|
+
fold(le, De) {
|
|
48603
|
+
return this.tag ? De(this.value) : le();
|
|
48604
48604
|
}
|
|
48605
48605
|
isSome() {
|
|
48606
48606
|
return this.tag;
|
|
@@ -48608,40 +48608,40 @@ function dhe() {
|
|
|
48608
48608
|
isNone() {
|
|
48609
48609
|
return !this.tag;
|
|
48610
48610
|
}
|
|
48611
|
-
map(
|
|
48612
|
-
return this.tag ? je.some(
|
|
48611
|
+
map(le) {
|
|
48612
|
+
return this.tag ? je.some(le(this.value)) : je.none();
|
|
48613
48613
|
}
|
|
48614
|
-
bind(
|
|
48615
|
-
return this.tag ?
|
|
48614
|
+
bind(le) {
|
|
48615
|
+
return this.tag ? le(this.value) : je.none();
|
|
48616
48616
|
}
|
|
48617
|
-
exists(
|
|
48618
|
-
return this.tag &&
|
|
48617
|
+
exists(le) {
|
|
48618
|
+
return this.tag && le(this.value);
|
|
48619
48619
|
}
|
|
48620
|
-
forall(
|
|
48621
|
-
return !this.tag ||
|
|
48620
|
+
forall(le) {
|
|
48621
|
+
return !this.tag || le(this.value);
|
|
48622
48622
|
}
|
|
48623
|
-
filter(
|
|
48624
|
-
return !this.tag ||
|
|
48623
|
+
filter(le) {
|
|
48624
|
+
return !this.tag || le(this.value) ? this : je.none();
|
|
48625
48625
|
}
|
|
48626
|
-
getOr(
|
|
48627
|
-
return this.tag ? this.value :
|
|
48626
|
+
getOr(le) {
|
|
48627
|
+
return this.tag ? this.value : le;
|
|
48628
48628
|
}
|
|
48629
|
-
or(
|
|
48630
|
-
return this.tag ? this :
|
|
48629
|
+
or(le) {
|
|
48630
|
+
return this.tag ? this : le;
|
|
48631
48631
|
}
|
|
48632
|
-
getOrThunk(
|
|
48633
|
-
return this.tag ? this.value :
|
|
48632
|
+
getOrThunk(le) {
|
|
48633
|
+
return this.tag ? this.value : le();
|
|
48634
48634
|
}
|
|
48635
|
-
orThunk(
|
|
48636
|
-
return this.tag ? this :
|
|
48635
|
+
orThunk(le) {
|
|
48636
|
+
return this.tag ? this : le();
|
|
48637
48637
|
}
|
|
48638
|
-
getOrDie(
|
|
48638
|
+
getOrDie(le) {
|
|
48639
48639
|
if (this.tag)
|
|
48640
48640
|
return this.value;
|
|
48641
|
-
throw new Error(
|
|
48641
|
+
throw new Error(le ?? "Called getOrDie on None");
|
|
48642
48642
|
}
|
|
48643
|
-
static from(
|
|
48644
|
-
return Me(
|
|
48643
|
+
static from(le) {
|
|
48644
|
+
return Me(le) ? je.some(le) : je.none();
|
|
48645
48645
|
}
|
|
48646
48646
|
getOrNull() {
|
|
48647
48647
|
return this.tag ? this.value : null;
|
|
@@ -48649,8 +48649,8 @@ function dhe() {
|
|
|
48649
48649
|
getOrUndefined() {
|
|
48650
48650
|
return this.value;
|
|
48651
48651
|
}
|
|
48652
|
-
each(
|
|
48653
|
-
this.tag &&
|
|
48652
|
+
each(le) {
|
|
48653
|
+
this.tag && le(this.value);
|
|
48654
48654
|
}
|
|
48655
48655
|
toArray() {
|
|
48656
48656
|
return this.tag ? [this.value] : [];
|
|
@@ -48660,59 +48660,59 @@ function dhe() {
|
|
|
48660
48660
|
}
|
|
48661
48661
|
}
|
|
48662
48662
|
je.singletonNone = new je(!1);
|
|
48663
|
-
const Xt = Object.keys, it = Object.hasOwnProperty, oe = (q,
|
|
48663
|
+
const Xt = Object.keys, it = Object.hasOwnProperty, oe = (q, le) => {
|
|
48664
48664
|
const De = Xt(q);
|
|
48665
48665
|
for (let ot = 0, $n = De.length; ot < $n; ot++) {
|
|
48666
48666
|
const an = De[ot], ws = q[an];
|
|
48667
|
-
|
|
48667
|
+
le(ws, an);
|
|
48668
48668
|
}
|
|
48669
|
-
}, Et = (q) => (
|
|
48670
|
-
q[De] =
|
|
48671
|
-
}, rn = (q,
|
|
48669
|
+
}, Et = (q) => (le, De) => {
|
|
48670
|
+
q[De] = le;
|
|
48671
|
+
}, rn = (q, le, De, ot) => {
|
|
48672
48672
|
oe(q, ($n, an) => {
|
|
48673
|
-
(
|
|
48673
|
+
(le($n, an) ? De : ot)($n, an);
|
|
48674
48674
|
});
|
|
48675
|
-
}, dn = (q,
|
|
48675
|
+
}, dn = (q, le) => {
|
|
48676
48676
|
const De = {};
|
|
48677
|
-
return rn(q,
|
|
48678
|
-
}, Xe = (q,
|
|
48679
|
-
const
|
|
48677
|
+
return rn(q, le, Et(De), ce), De;
|
|
48678
|
+
}, Xe = (q, le) => it.call(q, le), ve = (q, le) => Xe(q, le) && q[le] !== void 0 && q[le] !== null, Xn = Array.prototype.push, ut = (q) => {
|
|
48679
|
+
const le = [];
|
|
48680
48680
|
for (let De = 0, ot = q.length; De < ot; ++De) {
|
|
48681
48681
|
if (!F(q[De]))
|
|
48682
48682
|
throw new Error("Arr.flatten item " + De + " was not an array, input: " + q);
|
|
48683
|
-
Xn.apply(
|
|
48683
|
+
Xn.apply(le, q[De]);
|
|
48684
48684
|
}
|
|
48685
|
-
return
|
|
48686
|
-
}, kt = (q,
|
|
48685
|
+
return le;
|
|
48686
|
+
}, kt = (q, le) => le >= 0 && le < q.length ? je.some(q[le]) : je.none(), Q = (q) => kt(q, 0), io = (q, le) => {
|
|
48687
48687
|
for (let De = 0; De < q.length; De++) {
|
|
48688
|
-
const ot =
|
|
48688
|
+
const ot = le(q[De], De);
|
|
48689
48689
|
if (ot.isSome())
|
|
48690
48690
|
return ot;
|
|
48691
48691
|
}
|
|
48692
48692
|
return je.none();
|
|
48693
48693
|
};
|
|
48694
48694
|
typeof window < "u" || Function("return this;")();
|
|
48695
|
-
const It = (q,
|
|
48695
|
+
const It = (q, le, De) => {
|
|
48696
48696
|
if (T(De) || K(De) || Te(De))
|
|
48697
|
-
q.setAttribute(
|
|
48697
|
+
q.setAttribute(le, De + "");
|
|
48698
48698
|
else
|
|
48699
|
-
throw console.error("Invalid call to Attribute.set. Key ",
|
|
48700
|
-
}, Jt = (q,
|
|
48701
|
-
It(q.dom,
|
|
48702
|
-
}, Ft = (q,
|
|
48703
|
-
q.dom.removeAttribute(
|
|
48704
|
-
}, Be = (q,
|
|
48705
|
-
const ot = (
|
|
48699
|
+
throw console.error("Invalid call to Attribute.set. Key ", le, ":: Value ", De, ":: Element ", q), new Error("Attribute value was not simple");
|
|
48700
|
+
}, Jt = (q, le, De) => {
|
|
48701
|
+
It(q.dom, le, De);
|
|
48702
|
+
}, Ft = (q, le) => {
|
|
48703
|
+
q.dom.removeAttribute(le);
|
|
48704
|
+
}, Be = (q, le) => {
|
|
48705
|
+
const ot = (le || document).createElement("div");
|
|
48706
48706
|
if (ot.innerHTML = q, !ot.hasChildNodes() || ot.childNodes.length > 1) {
|
|
48707
48707
|
const $n = "HTML does not have a single root node";
|
|
48708
48708
|
throw console.error($n, q), new Error($n);
|
|
48709
48709
|
}
|
|
48710
48710
|
return Ke(ot.childNodes[0]);
|
|
48711
|
-
}, _t = (q,
|
|
48712
|
-
const ot = (
|
|
48711
|
+
}, _t = (q, le) => {
|
|
48712
|
+
const ot = (le || document).createElement(q);
|
|
48713
48713
|
return Ke(ot);
|
|
48714
|
-
}, lt = (q,
|
|
48715
|
-
const ot = (
|
|
48714
|
+
}, lt = (q, le) => {
|
|
48715
|
+
const ot = (le || document).createTextNode(q);
|
|
48716
48716
|
return Ke(ot);
|
|
48717
48717
|
}, Ke = (q) => {
|
|
48718
48718
|
if (q == null)
|
|
@@ -48723,33 +48723,33 @@ function dhe() {
|
|
|
48723
48723
|
fromTag: _t,
|
|
48724
48724
|
fromText: lt,
|
|
48725
48725
|
fromDom: Ke,
|
|
48726
|
-
fromPoint: (q,
|
|
48726
|
+
fromPoint: (q, le, De) => je.from(q.dom.elementFromPoint(le, De)).map(Ke)
|
|
48727
48727
|
};
|
|
48728
48728
|
var pt = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Y = tinymce.util.Tools.resolve("tinymce.util.URI");
|
|
48729
|
-
const Ko = (q) => q.length > 0, fo = (q) => (
|
|
48730
|
-
const
|
|
48731
|
-
|
|
48729
|
+
const Ko = (q) => q.length > 0, fo = (q) => (le) => le.options.get(q), wo = (q) => {
|
|
48730
|
+
const le = q.options.register;
|
|
48731
|
+
le("image_dimensions", {
|
|
48732
48732
|
processor: "boolean",
|
|
48733
48733
|
default: !0
|
|
48734
|
-
}),
|
|
48734
|
+
}), le("image_advtab", {
|
|
48735
48735
|
processor: "boolean",
|
|
48736
48736
|
default: !1
|
|
48737
|
-
}),
|
|
48737
|
+
}), le("image_uploadtab", {
|
|
48738
48738
|
processor: "boolean",
|
|
48739
48739
|
default: !0
|
|
48740
|
-
}),
|
|
48740
|
+
}), le("image_prepend_url", {
|
|
48741
48741
|
processor: "string",
|
|
48742
48742
|
default: ""
|
|
48743
|
-
}),
|
|
48743
|
+
}), le("image_class_list", { processor: "object[]" }), le("image_description", {
|
|
48744
48744
|
processor: "boolean",
|
|
48745
48745
|
default: !0
|
|
48746
|
-
}),
|
|
48746
|
+
}), le("image_title", {
|
|
48747
48747
|
processor: "boolean",
|
|
48748
48748
|
default: !1
|
|
48749
|
-
}),
|
|
48749
|
+
}), le("image_caption", {
|
|
48750
48750
|
processor: "boolean",
|
|
48751
48751
|
default: !1
|
|
48752
|
-
}),
|
|
48752
|
+
}), le("image_list", {
|
|
48753
48753
|
processor: (De) => {
|
|
48754
48754
|
const ot = De === !1 || T(De) || et(De, P) || ye(De);
|
|
48755
48755
|
return ot ? {
|
|
@@ -48762,9 +48762,9 @@ function dhe() {
|
|
|
48762
48762
|
},
|
|
48763
48763
|
default: !1
|
|
48764
48764
|
});
|
|
48765
|
-
}, Xo = fo("image_dimensions"), _i = fo("image_advtab"), Ne = fo("image_uploadtab"), ze = fo("image_prepend_url"), Je = fo("image_class_list"), Se = fo("image_description"), Fn = fo("image_title"), vo = fo("image_caption"), yn = fo("image_list"), Ps = fo("a11y_advanced_options"), Co = fo("automatic_uploads"), ur = (q) => Ko(q.options.get("images_upload_url")), Jo = (q) => Me(q.options.get("images_upload_handler")), Us = (q,
|
|
48765
|
+
}, Xo = fo("image_dimensions"), _i = fo("image_advtab"), Ne = fo("image_uploadtab"), ze = fo("image_prepend_url"), Je = fo("image_class_list"), Se = fo("image_description"), Fn = fo("image_title"), vo = fo("image_caption"), yn = fo("image_list"), Ps = fo("a11y_advanced_options"), Co = fo("automatic_uploads"), ur = (q) => Ko(q.options.get("images_upload_url")), Jo = (q) => Me(q.options.get("images_upload_handler")), Us = (q, le) => Math.max(parseInt(q, 10), parseInt(le, 10)), oa = (q) => new Promise((le) => {
|
|
48766
48766
|
const De = document.createElement("img"), ot = (an) => {
|
|
48767
|
-
De.onload = De.onerror = null, De.parentNode && De.parentNode.removeChild(De),
|
|
48767
|
+
De.onload = De.onerror = null, De.parentNode && De.parentNode.removeChild(De), le(an);
|
|
48768
48768
|
};
|
|
48769
48769
|
De.onload = () => {
|
|
48770
48770
|
const an = Us(De.width, De.clientWidth), ws = Us(De.height, De.clientHeight), si = {
|
|
@@ -48779,86 +48779,86 @@ function dhe() {
|
|
|
48779
48779
|
$n.visibility = "hidden", $n.position = "fixed", $n.bottom = $n.left = "0px", $n.width = $n.height = "auto", document.body.appendChild(De), De.src = q;
|
|
48780
48780
|
}), Js = (q) => (q && (q = q.replace(/px$/, "")), q), rs = (q) => (q.length > 0 && /^[0-9]+$/.test(q) && (q += "px"), q), is = (q) => {
|
|
48781
48781
|
if (q.margin) {
|
|
48782
|
-
const
|
|
48783
|
-
switch (
|
|
48782
|
+
const le = String(q.margin).split(" ");
|
|
48783
|
+
switch (le.length) {
|
|
48784
48784
|
case 1:
|
|
48785
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48785
|
+
q["margin-top"] = q["margin-top"] || le[0], q["margin-right"] = q["margin-right"] || le[0], q["margin-bottom"] = q["margin-bottom"] || le[0], q["margin-left"] = q["margin-left"] || le[0];
|
|
48786
48786
|
break;
|
|
48787
48787
|
case 2:
|
|
48788
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48788
|
+
q["margin-top"] = q["margin-top"] || le[0], q["margin-right"] = q["margin-right"] || le[1], q["margin-bottom"] = q["margin-bottom"] || le[0], q["margin-left"] = q["margin-left"] || le[1];
|
|
48789
48789
|
break;
|
|
48790
48790
|
case 3:
|
|
48791
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48791
|
+
q["margin-top"] = q["margin-top"] || le[0], q["margin-right"] = q["margin-right"] || le[1], q["margin-bottom"] = q["margin-bottom"] || le[2], q["margin-left"] = q["margin-left"] || le[1];
|
|
48792
48792
|
break;
|
|
48793
48793
|
case 4:
|
|
48794
|
-
q["margin-top"] = q["margin-top"] ||
|
|
48794
|
+
q["margin-top"] = q["margin-top"] || le[0], q["margin-right"] = q["margin-right"] || le[1], q["margin-bottom"] = q["margin-bottom"] || le[2], q["margin-left"] = q["margin-left"] || le[3];
|
|
48795
48795
|
}
|
|
48796
48796
|
delete q.margin;
|
|
48797
48797
|
}
|
|
48798
48798
|
return q;
|
|
48799
|
-
}, Rr = (q,
|
|
48799
|
+
}, Rr = (q, le) => {
|
|
48800
48800
|
const De = yn(q);
|
|
48801
48801
|
T(De) ? fetch(De).then((ot) => {
|
|
48802
|
-
ot.ok && ot.json().then(
|
|
48803
|
-
}) : ye(De) ? De(
|
|
48804
|
-
}, Fs = (q,
|
|
48802
|
+
ot.ok && ot.json().then(le);
|
|
48803
|
+
}) : ye(De) ? De(le) : le(De);
|
|
48804
|
+
}, Fs = (q, le, De) => {
|
|
48805
48805
|
const ot = () => {
|
|
48806
48806
|
De.onload = De.onerror = null, q.selection && (q.selection.select(De), q.nodeChanged());
|
|
48807
48807
|
};
|
|
48808
48808
|
De.onload = () => {
|
|
48809
|
-
!
|
|
48809
|
+
!le.width && !le.height && Xo(q) && q.dom.setAttribs(De, {
|
|
48810
48810
|
width: String(De.clientWidth),
|
|
48811
48811
|
height: String(De.clientHeight)
|
|
48812
48812
|
}), ot();
|
|
48813
48813
|
}, De.onerror = ot;
|
|
48814
|
-
}, Bo = (q) => new Promise((
|
|
48814
|
+
}, Bo = (q) => new Promise((le, De) => {
|
|
48815
48815
|
const ot = new FileReader();
|
|
48816
48816
|
ot.onload = () => {
|
|
48817
|
-
|
|
48817
|
+
le(ot.result);
|
|
48818
48818
|
}, ot.onerror = () => {
|
|
48819
48819
|
var $n;
|
|
48820
48820
|
De(($n = ot.error) === null || $n === void 0 ? void 0 : $n.message);
|
|
48821
48821
|
}, ot.readAsDataURL(q);
|
|
48822
|
-
}), Ya = (q) => q.nodeName === "IMG" && (q.hasAttribute("data-mce-object") || q.hasAttribute("data-mce-placeholder")), No = (q,
|
|
48822
|
+
}), Ya = (q) => q.nodeName === "IMG" && (q.hasAttribute("data-mce-object") || q.hasAttribute("data-mce-placeholder")), No = (q, le) => {
|
|
48823
48823
|
const De = q.options.get;
|
|
48824
|
-
return Y.isDomSafe(
|
|
48824
|
+
return Y.isDomSafe(le, "img", {
|
|
48825
48825
|
allow_html_data_urls: De("allow_html_data_urls"),
|
|
48826
48826
|
allow_script_urls: De("allow_script_urls"),
|
|
48827
48827
|
allow_svg_data_urls: De("allow_svg_data_urls")
|
|
48828
48828
|
});
|
|
48829
|
-
}, Ns = pt.DOM, Fr = (q) => q.style.marginLeft && q.style.marginRight && q.style.marginLeft === q.style.marginRight ? Js(q.style.marginLeft) : "", pi = (q) => q.style.marginTop && q.style.marginBottom && q.style.marginTop === q.style.marginBottom ? Js(q.style.marginTop) : "", Aa = (q) => q.style.borderWidth ? Js(q.style.borderWidth) : "", Lo = (q,
|
|
48829
|
+
}, Ns = pt.DOM, Fr = (q) => q.style.marginLeft && q.style.marginRight && q.style.marginLeft === q.style.marginRight ? Js(q.style.marginLeft) : "", pi = (q) => q.style.marginTop && q.style.marginBottom && q.style.marginTop === q.style.marginBottom ? Js(q.style.marginTop) : "", Aa = (q) => q.style.borderWidth ? Js(q.style.borderWidth) : "", Lo = (q, le) => {
|
|
48830
48830
|
var De;
|
|
48831
|
-
return q.hasAttribute(
|
|
48832
|
-
}, Ka = (q) => q.parentNode !== null && q.parentNode.nodeName === "FIGURE", Gt = (q,
|
|
48833
|
-
De === "" || De === null ? q.removeAttribute(
|
|
48831
|
+
return q.hasAttribute(le) && (De = q.getAttribute(le)) !== null && De !== void 0 ? De : "";
|
|
48832
|
+
}, Ka = (q) => q.parentNode !== null && q.parentNode.nodeName === "FIGURE", Gt = (q, le, De) => {
|
|
48833
|
+
De === "" || De === null ? q.removeAttribute(le) : q.setAttribute(le, De);
|
|
48834
48834
|
}, zo = (q) => {
|
|
48835
|
-
const
|
|
48836
|
-
Ns.insertAfter(
|
|
48835
|
+
const le = Ns.create("figure", { class: "image" });
|
|
48836
|
+
Ns.insertAfter(le, q), le.appendChild(q), le.appendChild(Ns.create("figcaption", { contentEditable: "true" }, "Caption")), le.contentEditable = "false";
|
|
48837
48837
|
}, Kr = (q) => {
|
|
48838
|
-
const
|
|
48839
|
-
Me(
|
|
48838
|
+
const le = q.parentNode;
|
|
48839
|
+
Me(le) && (Ns.insertAfter(q, le), Ns.remove(le));
|
|
48840
48840
|
}, Mr = (q) => {
|
|
48841
48841
|
Ka(q) ? Kr(q) : zo(q);
|
|
48842
|
-
}, Ei = (q,
|
|
48843
|
-
const De = q.getAttribute("style"), ot =
|
|
48842
|
+
}, Ei = (q, le) => {
|
|
48843
|
+
const De = q.getAttribute("style"), ot = le(De !== null ? De : "");
|
|
48844
48844
|
ot.length > 0 ? (q.setAttribute("style", ot), q.setAttribute("data-mce-style", ot)) : q.removeAttribute("style");
|
|
48845
|
-
}, Qi = (q,
|
|
48845
|
+
}, Qi = (q, le) => (De, ot, $n) => {
|
|
48846
48846
|
const an = De.style;
|
|
48847
|
-
an[ot] ? (an[ot] = rs($n), Ei(De,
|
|
48848
|
-
}, Ts = (q,
|
|
48849
|
-
const De = rs(
|
|
48847
|
+
an[ot] ? (an[ot] = rs($n), Ei(De, le)) : Gt(De, ot, $n);
|
|
48848
|
+
}, Ts = (q, le) => q.style[le] ? Js(q.style[le]) : Lo(q, le), Fi = (q, le) => {
|
|
48849
|
+
const De = rs(le);
|
|
48850
48850
|
q.style.marginLeft = De, q.style.marginRight = De;
|
|
48851
|
-
}, $i = (q,
|
|
48852
|
-
const De = rs(
|
|
48851
|
+
}, $i = (q, le) => {
|
|
48852
|
+
const De = rs(le);
|
|
48853
48853
|
q.style.marginTop = De, q.style.marginBottom = De;
|
|
48854
|
-
}, xs = (q,
|
|
48855
|
-
const De = rs(
|
|
48854
|
+
}, xs = (q, le) => {
|
|
48855
|
+
const De = rs(le);
|
|
48856
48856
|
q.style.borderWidth = De;
|
|
48857
|
-
}, jn = (q,
|
|
48858
|
-
q.style.borderStyle =
|
|
48857
|
+
}, jn = (q, le) => {
|
|
48858
|
+
q.style.borderStyle = le;
|
|
48859
48859
|
}, er = (q) => {
|
|
48860
|
-
var
|
|
48861
|
-
return (
|
|
48860
|
+
var le;
|
|
48861
|
+
return (le = q.style.borderStyle) !== null && le !== void 0 ? le : "";
|
|
48862
48862
|
}, di = (q) => Me(q) && q.nodeName === "FIGURE", Pl = (q) => q.nodeName === "IMG", Vl = (q) => Ns.getAttrib(q, "alt").length === 0 && Ns.getAttrib(q, "role") === "presentation", Ls = (q) => Vl(q) ? "" : Lo(q, "alt"), Or = () => ({
|
|
48863
48863
|
src: "",
|
|
48864
48864
|
alt: "",
|
|
@@ -48873,73 +48873,73 @@ function dhe() {
|
|
|
48873
48873
|
border: "",
|
|
48874
48874
|
borderStyle: "",
|
|
48875
48875
|
isDecorative: !1
|
|
48876
|
-
}), Ws = (q,
|
|
48876
|
+
}), Ws = (q, le) => {
|
|
48877
48877
|
var De;
|
|
48878
48878
|
const ot = document.createElement("img");
|
|
48879
|
-
return Gt(ot, "style",
|
|
48880
|
-
}, bi = (q,
|
|
48879
|
+
return Gt(ot, "style", le.style), (Fr(ot) || le.hspace !== "") && Fi(ot, le.hspace), (pi(ot) || le.vspace !== "") && $i(ot, le.vspace), (Aa(ot) || le.border !== "") && xs(ot, le.border), (er(ot) || le.borderStyle !== "") && jn(ot, le.borderStyle), q((De = ot.getAttribute("style")) !== null && De !== void 0 ? De : "");
|
|
48880
|
+
}, bi = (q, le) => {
|
|
48881
48881
|
const De = document.createElement("img");
|
|
48882
48882
|
if (bt(q, {
|
|
48883
|
-
...
|
|
48883
|
+
...le,
|
|
48884
48884
|
caption: !1
|
|
48885
|
-
}, De), Pe(De,
|
|
48885
|
+
}, De), Pe(De, le.alt, le.isDecorative), le.caption) {
|
|
48886
48886
|
const ot = Ns.create("figure", { class: "image" });
|
|
48887
48887
|
return ot.appendChild(De), ot.appendChild(Ns.create("figcaption", { contentEditable: "true" }, "Caption")), ot.contentEditable = "false", ot;
|
|
48888
48888
|
} else
|
|
48889
48889
|
return De;
|
|
48890
|
-
}, sa = (q,
|
|
48891
|
-
src: Lo(
|
|
48892
|
-
alt: Ls(
|
|
48893
|
-
title: Lo(
|
|
48894
|
-
width: Ts(
|
|
48895
|
-
height: Ts(
|
|
48896
|
-
class: Lo(
|
|
48897
|
-
style: q(Lo(
|
|
48898
|
-
caption: Ka(
|
|
48899
|
-
hspace: Fr(
|
|
48900
|
-
vspace: pi(
|
|
48901
|
-
border: Aa(
|
|
48902
|
-
borderStyle: er(
|
|
48903
|
-
isDecorative: Vl(
|
|
48904
|
-
}), vr = (q,
|
|
48905
|
-
De[ot] !==
|
|
48906
|
-
}, Pe = (q,
|
|
48890
|
+
}, sa = (q, le) => ({
|
|
48891
|
+
src: Lo(le, "src"),
|
|
48892
|
+
alt: Ls(le),
|
|
48893
|
+
title: Lo(le, "title"),
|
|
48894
|
+
width: Ts(le, "width"),
|
|
48895
|
+
height: Ts(le, "height"),
|
|
48896
|
+
class: Lo(le, "class"),
|
|
48897
|
+
style: q(Lo(le, "style")),
|
|
48898
|
+
caption: Ka(le),
|
|
48899
|
+
hspace: Fr(le),
|
|
48900
|
+
vspace: pi(le),
|
|
48901
|
+
border: Aa(le),
|
|
48902
|
+
borderStyle: er(le),
|
|
48903
|
+
isDecorative: Vl(le)
|
|
48904
|
+
}), vr = (q, le, De, ot, $n) => {
|
|
48905
|
+
De[ot] !== le[ot] && $n(q, ot, String(De[ot]));
|
|
48906
|
+
}, Pe = (q, le, De) => {
|
|
48907
48907
|
if (De) {
|
|
48908
48908
|
Ns.setAttrib(q, "role", "presentation");
|
|
48909
48909
|
const ot = We.fromDom(q);
|
|
48910
48910
|
Jt(ot, "alt", "");
|
|
48911
48911
|
} else {
|
|
48912
|
-
if (H(
|
|
48912
|
+
if (H(le)) {
|
|
48913
48913
|
const ot = We.fromDom(q);
|
|
48914
48914
|
Ft(ot, "alt");
|
|
48915
48915
|
} else {
|
|
48916
48916
|
const ot = We.fromDom(q);
|
|
48917
|
-
Jt(ot, "alt",
|
|
48917
|
+
Jt(ot, "alt", le);
|
|
48918
48918
|
}
|
|
48919
48919
|
Ns.getAttrib(q, "role") === "presentation" && Ns.setAttrib(q, "role", "");
|
|
48920
48920
|
}
|
|
48921
|
-
}, Ce = (q,
|
|
48922
|
-
(De.alt !==
|
|
48923
|
-
}, dt = (q,
|
|
48924
|
-
q(De, $n), Ei(De,
|
|
48925
|
-
}, bt = (q,
|
|
48921
|
+
}, Ce = (q, le, De) => {
|
|
48922
|
+
(De.alt !== le.alt || De.isDecorative !== le.isDecorative) && Pe(q, De.alt, De.isDecorative);
|
|
48923
|
+
}, dt = (q, le) => (De, ot, $n) => {
|
|
48924
|
+
q(De, $n), Ei(De, le);
|
|
48925
|
+
}, bt = (q, le, De) => {
|
|
48926
48926
|
const ot = sa(q, De);
|
|
48927
|
-
vr(De, ot,
|
|
48928
|
-
}, Wn = (q,
|
|
48929
|
-
const De = q.dom.styles.parse(
|
|
48927
|
+
vr(De, ot, le, "caption", ($n, an, ws) => Mr($n)), vr(De, ot, le, "src", Gt), vr(De, ot, le, "title", Gt), vr(De, ot, le, "width", Qi("width", q)), vr(De, ot, le, "height", Qi("height", q)), vr(De, ot, le, "class", Gt), vr(De, ot, le, "style", dt(($n, an) => Gt($n, "style", an), q)), vr(De, ot, le, "hspace", dt(Fi, q)), vr(De, ot, le, "vspace", dt($i, q)), vr(De, ot, le, "border", dt(xs, q)), vr(De, ot, le, "borderStyle", dt(jn, q)), Ce(De, ot, le);
|
|
48928
|
+
}, Wn = (q, le) => {
|
|
48929
|
+
const De = q.dom.styles.parse(le), ot = is(De), $n = q.dom.styles.parse(q.dom.styles.serialize(ot));
|
|
48930
48930
|
return q.dom.styles.serialize($n);
|
|
48931
48931
|
}, ao = (q) => {
|
|
48932
|
-
const
|
|
48933
|
-
return De ? q.dom.select("img", De)[0] :
|
|
48934
|
-
}, To = (q,
|
|
48932
|
+
const le = q.selection.getNode(), De = q.dom.getParent(le, "figure.image");
|
|
48933
|
+
return De ? q.dom.select("img", De)[0] : le && (le.nodeName !== "IMG" || Ya(le)) ? null : le;
|
|
48934
|
+
}, To = (q, le) => {
|
|
48935
48935
|
var De;
|
|
48936
|
-
const ot = q.dom, $n = dn(q.schema.getTextBlockElements(), (ws, si) => !q.schema.isValidChild(si, "figure")), an = ot.getParent(
|
|
48937
|
-
return an && (De = ot.split(an,
|
|
48936
|
+
const ot = q.dom, $n = dn(q.schema.getTextBlockElements(), (ws, si) => !q.schema.isValidChild(si, "figure")), an = ot.getParent(le.parentNode, (ws) => ve($n, ws.nodeName), q.getBody());
|
|
48937
|
+
return an && (De = ot.split(an, le)) !== null && De !== void 0 ? De : le;
|
|
48938
48938
|
}, js = (q) => {
|
|
48939
|
-
const
|
|
48940
|
-
return
|
|
48941
|
-
}, Rt = (q,
|
|
48942
|
-
const De = bi(($n) => Wn(q, $n),
|
|
48939
|
+
const le = ao(q);
|
|
48940
|
+
return le ? sa((De) => Wn(q, De), le) : Or();
|
|
48941
|
+
}, Rt = (q, le) => {
|
|
48942
|
+
const De = bi(($n) => Wn(q, $n), le);
|
|
48943
48943
|
q.dom.setAttrib(De, "data-mce-id", "__mcenew"), q.focus(), q.selection.setContent(De.outerHTML);
|
|
48944
48944
|
const ot = q.dom.select('*[data-mce-id="__mcenew"]')[0];
|
|
48945
48945
|
if (q.dom.setAttrib(ot, "data-mce-id", null), di(ot)) {
|
|
@@ -48947,73 +48947,73 @@ function dhe() {
|
|
|
48947
48947
|
q.selection.select($n);
|
|
48948
48948
|
} else
|
|
48949
48949
|
q.selection.select(ot);
|
|
48950
|
-
}, Ot = (q,
|
|
48951
|
-
q.dom.setAttrib(
|
|
48952
|
-
}, Ae = (q,
|
|
48953
|
-
if (
|
|
48954
|
-
const De = q.dom.is(
|
|
48950
|
+
}, Ot = (q, le) => {
|
|
48951
|
+
q.dom.setAttrib(le, "src", le.getAttribute("src"));
|
|
48952
|
+
}, Ae = (q, le) => {
|
|
48953
|
+
if (le) {
|
|
48954
|
+
const De = q.dom.is(le.parentNode, "figure.image") ? le.parentNode : le;
|
|
48955
48955
|
q.dom.remove(De), q.focus(), q.nodeChanged(), q.dom.isEmpty(q.getBody()) && (q.setContent(""), q.selection.setCursorLocation());
|
|
48956
48956
|
}
|
|
48957
|
-
}, Le = (q,
|
|
48957
|
+
}, Le = (q, le) => {
|
|
48958
48958
|
const De = ao(q);
|
|
48959
48959
|
if (De)
|
|
48960
|
-
if (bt((ot) => Wn(q, ot),
|
|
48960
|
+
if (bt((ot) => Wn(q, ot), le, De), Ot(q, De), di(De.parentNode)) {
|
|
48961
48961
|
const ot = De.parentNode;
|
|
48962
48962
|
To(q, ot), q.selection.select(De.parentNode);
|
|
48963
48963
|
} else
|
|
48964
|
-
q.selection.select(De), Fs(q,
|
|
48965
|
-
}, Lt = (q,
|
|
48966
|
-
const De =
|
|
48964
|
+
q.selection.select(De), Fs(q, le, De);
|
|
48965
|
+
}, Lt = (q, le) => {
|
|
48966
|
+
const De = le.src;
|
|
48967
48967
|
return {
|
|
48968
|
-
...
|
|
48968
|
+
...le,
|
|
48969
48969
|
src: No(q, De) ? De : ""
|
|
48970
48970
|
};
|
|
48971
|
-
}, Ut = (q,
|
|
48971
|
+
}, Ut = (q, le) => {
|
|
48972
48972
|
const De = ao(q);
|
|
48973
48973
|
if (De) {
|
|
48974
48974
|
const $n = {
|
|
48975
48975
|
...sa((ws) => Wn(q, ws), De),
|
|
48976
|
-
...
|
|
48976
|
+
...le
|
|
48977
48977
|
}, an = Lt(q, $n);
|
|
48978
48978
|
$n.src ? Le(q, an) : Ae(q, De);
|
|
48979
|
-
} else
|
|
48979
|
+
} else le.src && Rt(q, {
|
|
48980
48980
|
...Or(),
|
|
48981
|
-
...
|
|
48981
|
+
...le
|
|
48982
48982
|
});
|
|
48983
|
-
}, Ln = ((q) => (...
|
|
48984
|
-
if (
|
|
48983
|
+
}, Ln = ((q) => (...le) => {
|
|
48984
|
+
if (le.length === 0)
|
|
48985
48985
|
throw new Error("Can't merge zero objects");
|
|
48986
48986
|
const De = {};
|
|
48987
|
-
for (let ot = 0; ot <
|
|
48988
|
-
const $n =
|
|
48987
|
+
for (let ot = 0; ot < le.length; ot++) {
|
|
48988
|
+
const $n = le[ot];
|
|
48989
48989
|
for (const an in $n)
|
|
48990
48990
|
Xe($n, an) && (De[an] = q(De[an], $n[an]));
|
|
48991
48991
|
}
|
|
48992
48992
|
return De;
|
|
48993
|
-
})((q,
|
|
48993
|
+
})((q, le) => R(q) && R(le) ? Ln(q, le) : le);
|
|
48994
48994
|
var Dn = tinymce.util.Tools.resolve("tinymce.util.ImageUploader"), Jn = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
48995
|
-
const lo = (q) => T(q.value) ? q.value : "", ds = (q) => T(q.text) ? q.text : T(q.title) ? q.title : "", ar = (q,
|
|
48995
|
+
const lo = (q) => T(q.value) ? q.value : "", ds = (q) => T(q.text) ? q.text : T(q.title) ? q.title : "", ar = (q, le) => {
|
|
48996
48996
|
const De = [];
|
|
48997
48997
|
return Jn.each(q, (ot) => {
|
|
48998
48998
|
const $n = ds(ot);
|
|
48999
48999
|
if (ot.menu !== void 0) {
|
|
49000
|
-
const an = ar(ot.menu,
|
|
49000
|
+
const an = ar(ot.menu, le);
|
|
49001
49001
|
De.push({
|
|
49002
49002
|
text: $n,
|
|
49003
49003
|
items: an
|
|
49004
49004
|
});
|
|
49005
49005
|
} else {
|
|
49006
|
-
const an =
|
|
49006
|
+
const an = le(ot);
|
|
49007
49007
|
De.push({
|
|
49008
49008
|
text: $n,
|
|
49009
49009
|
value: an
|
|
49010
49010
|
});
|
|
49011
49011
|
}
|
|
49012
49012
|
}), De;
|
|
49013
|
-
}, Ss = (q = lo) => (
|
|
49013
|
+
}, Ss = (q = lo) => (le) => le ? je.from(le).map((De) => ar(De, q)) : je.none(), Da = (q) => Ss(lo)(q), Zi = (q) => Xe(q, "items"), So = (q, le) => io(q, (De) => Zi(De) ? So(De.items, le) : De.value === le ? je.some(De) : je.none()), Ho = {
|
|
49014
49014
|
sanitizer: Ss,
|
|
49015
49015
|
sanitize: Da,
|
|
49016
|
-
findEntry: (q,
|
|
49016
|
+
findEntry: (q, le) => q.bind((De) => So(De, le))
|
|
49017
49017
|
}, vi = { makeTab: (q) => ({
|
|
49018
49018
|
title: "Advanced",
|
|
49019
49019
|
name: "advanced",
|
|
@@ -49093,9 +49093,9 @@ function dhe() {
|
|
|
49093
49093
|
]
|
|
49094
49094
|
}]
|
|
49095
49095
|
}) }, Vi = (q) => {
|
|
49096
|
-
const
|
|
49096
|
+
const le = Ho.sanitizer((Oa) => q.convertURL(Oa.value || Oa.url || "", "src")), De = new Promise((Oa) => {
|
|
49097
49097
|
Rr(q, (ei) => {
|
|
49098
|
-
Oa(
|
|
49098
|
+
Oa(le(ei).map((Bc) => ut([
|
|
49099
49099
|
[{
|
|
49100
49100
|
text: "None",
|
|
49101
49101
|
value: ""
|
|
@@ -49121,7 +49121,7 @@ function dhe() {
|
|
|
49121
49121
|
automaticUploads: ba
|
|
49122
49122
|
}));
|
|
49123
49123
|
}, Ks = (q) => {
|
|
49124
|
-
const
|
|
49124
|
+
const le = {
|
|
49125
49125
|
name: "src",
|
|
49126
49126
|
type: "urlinput",
|
|
49127
49127
|
filetype: "image",
|
|
@@ -49170,7 +49170,7 @@ function dhe() {
|
|
|
49170
49170
|
columns: 2
|
|
49171
49171
|
} : { type: "panel" };
|
|
49172
49172
|
return ut([
|
|
49173
|
-
[
|
|
49173
|
+
[le],
|
|
49174
49174
|
De.toArray(),
|
|
49175
49175
|
q.hasAccessibilityOptions && q.hasDescription ? [ws] : [],
|
|
49176
49176
|
q.hasDescription ? [ot] : [],
|
|
@@ -49223,9 +49223,9 @@ function dhe() {
|
|
|
49223
49223
|
borderstyle: q.borderStyle,
|
|
49224
49224
|
fileinput: [],
|
|
49225
49225
|
isDecorative: q.isDecorative
|
|
49226
|
-
}), tu = (q,
|
|
49226
|
+
}), tu = (q, le) => ({
|
|
49227
49227
|
src: q.src.value,
|
|
49228
|
-
alt: (q.alt === null || q.alt.length === 0) &&
|
|
49228
|
+
alt: (q.alt === null || q.alt.length === 0) && le ? null : q.alt,
|
|
49229
49229
|
title: q.title,
|
|
49230
49230
|
width: q.dimensions.width,
|
|
49231
49231
|
height: q.dimensions.height,
|
|
@@ -49237,29 +49237,29 @@ function dhe() {
|
|
|
49237
49237
|
border: q.border,
|
|
49238
49238
|
borderStyle: q.borderstyle,
|
|
49239
49239
|
isDecorative: q.isDecorative
|
|
49240
|
-
}), bl = (q,
|
|
49241
|
-
const De =
|
|
49240
|
+
}), bl = (q, le) => /^(?:[a-zA-Z]+:)?\/\//.test(le) ? je.none() : q.prependURL.bind((De) => le.substring(0, De.length) !== De ? je.some(De + le) : je.none()), Hl = (q, le) => {
|
|
49241
|
+
const De = le.getData();
|
|
49242
49242
|
bl(q, De.src.value).each((ot) => {
|
|
49243
|
-
|
|
49243
|
+
le.setData({
|
|
49244
49244
|
src: {
|
|
49245
49245
|
value: ot,
|
|
49246
49246
|
meta: De.src.meta
|
|
49247
49247
|
}
|
|
49248
49248
|
});
|
|
49249
49249
|
});
|
|
49250
|
-
}, oi = (q,
|
|
49251
|
-
q.hasDescription && T(De.alt) && (
|
|
49252
|
-
|
|
49253
|
-
}), q.hasImageCaption && K(De.caption) && (
|
|
49254
|
-
}, Qu = (q,
|
|
49255
|
-
const De =
|
|
49250
|
+
}, oi = (q, le, De) => {
|
|
49251
|
+
q.hasDescription && T(De.alt) && (le.alt = De.alt), q.hasAccessibilityOptions && (le.isDecorative = De.isDecorative || le.isDecorative || !1), q.hasImageTitle && T(De.title) && (le.title = De.title), q.hasDimensions && (T(De.width) && (le.dimensions.width = De.width), T(De.height) && (le.dimensions.height = De.height)), T(De.class) && Ho.findEntry(q.classList, De.class).each((ot) => {
|
|
49252
|
+
le.classes = ot.value;
|
|
49253
|
+
}), q.hasImageCaption && K(De.caption) && (le.caption = De.caption), q.hasAdvTab && (T(De.style) && (le.style = De.style), T(De.vspace) && (le.vspace = De.vspace), T(De.border) && (le.border = De.border), T(De.hspace) && (le.hspace = De.hspace), T(De.borderstyle) && (le.borderstyle = De.borderstyle));
|
|
49254
|
+
}, Qu = (q, le) => {
|
|
49255
|
+
const De = le.getData(), ot = De.src.meta;
|
|
49256
49256
|
if (ot !== void 0) {
|
|
49257
49257
|
const $n = Ln({}, De);
|
|
49258
|
-
oi(q, $n, ot),
|
|
49258
|
+
oi(q, $n, ot), le.setData($n);
|
|
49259
49259
|
}
|
|
49260
|
-
}, Ra = (q,
|
|
49260
|
+
}, Ra = (q, le, De, ot) => {
|
|
49261
49261
|
const $n = ot.getData(), an = $n.src.value, ws = $n.src.meta || {};
|
|
49262
|
-
!ws.width && !ws.height &&
|
|
49262
|
+
!ws.width && !ws.height && le.hasDimensions && (Ko(an) ? q.imageSize(an).then((si) => {
|
|
49263
49263
|
De.open && ot.setData({ dimensions: si });
|
|
49264
49264
|
}).catch((si) => console.error(si)) : ot.setData({
|
|
49265
49265
|
dimensions: {
|
|
@@ -49267,13 +49267,13 @@ function dhe() {
|
|
|
49267
49267
|
height: ""
|
|
49268
49268
|
}
|
|
49269
49269
|
}));
|
|
49270
|
-
}, Fu = (q,
|
|
49270
|
+
}, Fu = (q, le, De) => {
|
|
49271
49271
|
const ot = De.getData(), $n = Ho.findEntry(q.imageList, ot.src.value);
|
|
49272
|
-
|
|
49273
|
-
}, lc = (q,
|
|
49274
|
-
Hl(
|
|
49275
|
-
}, Kd = (q,
|
|
49276
|
-
const $n = ot.getData(), an = Ho.findEntry(
|
|
49272
|
+
le.prevImage = $n, De.setData({ images: $n.map((an) => an.value).getOr("") });
|
|
49273
|
+
}, lc = (q, le, De, ot) => {
|
|
49274
|
+
Hl(le, ot), Qu(le, ot), Ra(q, le, De, ot), Fu(le, De, ot);
|
|
49275
|
+
}, Kd = (q, le, De, ot) => {
|
|
49276
|
+
const $n = ot.getData(), an = Ho.findEntry(le.imageList, $n.images);
|
|
49277
49277
|
an.each((ws) => {
|
|
49278
49278
|
$n.alt === "" || De.prevImage.map((Nt) => Nt.text === $n.alt).getOr(!1) ? ws.value === "" ? ot.setData({
|
|
49279
49279
|
src: ws,
|
|
@@ -49282,8 +49282,8 @@ function dhe() {
|
|
|
49282
49282
|
src: ws,
|
|
49283
49283
|
alt: ws.text
|
|
49284
49284
|
}) : ot.setData({ src: ws });
|
|
49285
|
-
}), De.prevImage = an, lc(q,
|
|
49286
|
-
}, Jr = (q,
|
|
49285
|
+
}), De.prevImage = an, lc(q, le, De, ot);
|
|
49286
|
+
}, Jr = (q, le, De, ot) => {
|
|
49287
49287
|
const $n = ot.getData();
|
|
49288
49288
|
ot.block("Uploading image"), Q($n.fileinput).fold(() => {
|
|
49289
49289
|
ot.unblock();
|
|
@@ -49296,11 +49296,11 @@ function dhe() {
|
|
|
49296
49296
|
value: ra,
|
|
49297
49297
|
meta: {}
|
|
49298
49298
|
}
|
|
49299
|
-
}), ot.showTab("general"), lc(q,
|
|
49299
|
+
}), ot.showTab("general"), lc(q, le, De, ot), ot.focus("src");
|
|
49300
49300
|
};
|
|
49301
49301
|
Bo(an).then((ra) => {
|
|
49302
49302
|
const Zs = q.createBlobCache(an, ws, ra);
|
|
49303
|
-
|
|
49303
|
+
le.automaticUploads ? q.uploadImage(Zs).then((dc) => {
|
|
49304
49304
|
Nt(dc.url), si();
|
|
49305
49305
|
}).catch((dc) => {
|
|
49306
49306
|
si(), q.alertErr(dc, () => {
|
|
@@ -49309,8 +49309,8 @@ function dhe() {
|
|
|
49309
49309
|
}) : (q.addToBlobCache(Zs), Nt(Zs.blobUri()), ot.unblock());
|
|
49310
49310
|
});
|
|
49311
49311
|
});
|
|
49312
|
-
}, Al = (q,
|
|
49313
|
-
$n.name === "src" ? lc(q,
|
|
49312
|
+
}, Al = (q, le, De) => (ot, $n) => {
|
|
49313
|
+
$n.name === "src" ? lc(q, le, De, ot) : $n.name === "images" ? Kd(q, le, De, ot) : $n.name === "alt" ? De.prevAlt = ot.getData().alt : $n.name === "fileinput" ? Jr(q, le, De, ot) : $n.name === "isDecorative" && ot.setEnabled("alt", !ot.getData().isDecorative);
|
|
49314
49314
|
}, Sc = (q) => () => {
|
|
49315
49315
|
q.open = !1;
|
|
49316
49316
|
}, Zu = (q) => q.hasAdvTab || q.hasUploadUrl || q.hasUploadHandler ? {
|
|
@@ -49323,36 +49323,36 @@ function dhe() {
|
|
|
49323
49323
|
} : {
|
|
49324
49324
|
type: "panel",
|
|
49325
49325
|
items: pl.makeItems(q)
|
|
49326
|
-
}, cc = (q,
|
|
49327
|
-
const $n = Ln(hr(
|
|
49326
|
+
}, cc = (q, le, De) => (ot) => {
|
|
49327
|
+
const $n = Ln(hr(le.image), ot.getData()), an = {
|
|
49328
49328
|
...$n,
|
|
49329
49329
|
style: Ws(De.normalizeCss, tu($n, !1))
|
|
49330
49330
|
};
|
|
49331
|
-
q.execCommand("mceUpdateImage", !1, tu(an,
|
|
49332
|
-
}, uc = (q) => (
|
|
49331
|
+
q.execCommand("mceUpdateImage", !1, tu(an, le.hasAccessibilityOptions)), q.editorUpload.uploadImagesAuto(), ot.close();
|
|
49332
|
+
}, uc = (q) => (le) => No(q, le) ? oa(q.documentBaseURI.toAbsolute(le)).then((De) => ({
|
|
49333
49333
|
width: String(De.width),
|
|
49334
49334
|
height: String(De.height)
|
|
49335
49335
|
})) : Promise.resolve({
|
|
49336
49336
|
width: "",
|
|
49337
49337
|
height: ""
|
|
49338
|
-
}), Wr = (q) => (
|
|
49338
|
+
}), Wr = (q) => (le, De, ot) => {
|
|
49339
49339
|
var $n;
|
|
49340
49340
|
return q.editorUpload.blobCache.create({
|
|
49341
|
-
blob:
|
|
49341
|
+
blob: le,
|
|
49342
49342
|
blobUri: De,
|
|
49343
|
-
name: ($n =
|
|
49344
|
-
filename:
|
|
49343
|
+
name: ($n = le.name) === null || $n === void 0 ? void 0 : $n.replace(/\.[^\.]+$/, ""),
|
|
49344
|
+
filename: le.name,
|
|
49345
49345
|
base64: ot.split(",")[1]
|
|
49346
49346
|
});
|
|
49347
|
-
}, jr = (q) => (
|
|
49348
|
-
q.editorUpload.blobCache.add(
|
|
49349
|
-
}, pa = (q) => (
|
|
49350
|
-
q.windowManager.alert(
|
|
49351
|
-
}, Rc = (q) => (
|
|
49347
|
+
}, jr = (q) => (le) => {
|
|
49348
|
+
q.editorUpload.blobCache.add(le);
|
|
49349
|
+
}, pa = (q) => (le, De) => {
|
|
49350
|
+
q.windowManager.alert(le, De);
|
|
49351
|
+
}, Rc = (q) => (le) => Wn(q, le), Mc = (q) => (le) => q.dom.parseStyle(le), se = (q) => (le, De) => q.dom.serializeStyle(le, De), _e = (q) => (le) => Dn(q).upload([le], !1).then((De) => {
|
|
49352
49352
|
var ot;
|
|
49353
49353
|
return De.length === 0 ? Promise.reject("Failed to upload image") : De[0].status === !1 ? Promise.reject((ot = De[0].error) === null || ot === void 0 ? void 0 : ot.message) : De[0];
|
|
49354
49354
|
}), Ve = (q) => {
|
|
49355
|
-
const
|
|
49355
|
+
const le = {
|
|
49356
49356
|
imageSize: uc(q),
|
|
49357
49357
|
addToBlobCache: jr(q),
|
|
49358
49358
|
createBlobCache: Wr(q),
|
|
@@ -49383,35 +49383,35 @@ function dhe() {
|
|
|
49383
49383
|
}
|
|
49384
49384
|
],
|
|
49385
49385
|
initialData: hr(ot.image),
|
|
49386
|
-
onSubmit: cc(q, ot,
|
|
49387
|
-
onChange: Al(
|
|
49386
|
+
onSubmit: cc(q, ot, le),
|
|
49387
|
+
onChange: Al(le, ot, $n),
|
|
49388
49388
|
onClose: Sc($n)
|
|
49389
49389
|
};
|
|
49390
49390
|
}).then(q.windowManager.open);
|
|
49391
49391
|
} };
|
|
49392
49392
|
}, wt = (q) => {
|
|
49393
|
-
q.addCommand("mceImage", Ve(q).open), q.addCommand("mceUpdateImage", (
|
|
49393
|
+
q.addCommand("mceImage", Ve(q).open), q.addCommand("mceUpdateImage", (le, De) => {
|
|
49394
49394
|
q.undoManager.transact(() => Ut(q, De));
|
|
49395
49395
|
});
|
|
49396
49396
|
}, en = (q) => {
|
|
49397
|
-
const
|
|
49398
|
-
return Me(
|
|
49399
|
-
}, Tn = (q) => (
|
|
49400
|
-
let De =
|
|
49397
|
+
const le = q.attr("class");
|
|
49398
|
+
return Me(le) && /\bimage\b/.test(le);
|
|
49399
|
+
}, Tn = (q) => (le) => {
|
|
49400
|
+
let De = le.length;
|
|
49401
49401
|
const ot = ($n) => {
|
|
49402
49402
|
$n.attr("contenteditable", q ? "true" : null);
|
|
49403
49403
|
};
|
|
49404
49404
|
for (; De--; ) {
|
|
49405
|
-
const $n =
|
|
49405
|
+
const $n = le[De];
|
|
49406
49406
|
en($n) && ($n.attr("contenteditable", q ? "false" : null), Jn.each($n.getAll("figcaption"), ot));
|
|
49407
49407
|
}
|
|
49408
49408
|
}, un = (q) => {
|
|
49409
49409
|
q.on("PreInit", () => {
|
|
49410
49410
|
q.parser.addNodeFilter("figure", Tn(!0)), q.serializer.addNodeFilter("figure", Tn(!1));
|
|
49411
49411
|
});
|
|
49412
|
-
}, co = (q) => (
|
|
49412
|
+
}, co = (q) => (le) => {
|
|
49413
49413
|
const De = () => {
|
|
49414
|
-
|
|
49414
|
+
le.setEnabled(q.selection.isEditable());
|
|
49415
49415
|
};
|
|
49416
49416
|
return q.on("NodeChange", De), De(), () => {
|
|
49417
49417
|
q.off("NodeChange", De);
|
|
@@ -49421,9 +49421,9 @@ function dhe() {
|
|
|
49421
49421
|
icon: "image",
|
|
49422
49422
|
tooltip: "Insert/edit image",
|
|
49423
49423
|
onAction: Ve(q).open,
|
|
49424
|
-
onSetup: (
|
|
49425
|
-
|
|
49426
|
-
const De = q.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",
|
|
49424
|
+
onSetup: (le) => {
|
|
49425
|
+
le.setActive(Me(ao(q)));
|
|
49426
|
+
const De = q.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image", le.setActive).unbind, ot = co(q)(le);
|
|
49427
49427
|
return () => {
|
|
49428
49428
|
De(), ot();
|
|
49429
49429
|
};
|
|
@@ -49433,7 +49433,7 @@ function dhe() {
|
|
|
49433
49433
|
text: "Image...",
|
|
49434
49434
|
onAction: Ve(q).open,
|
|
49435
49435
|
onSetup: co(q)
|
|
49436
|
-
}), q.ui.registry.addContextMenu("image", { update: (
|
|
49436
|
+
}), q.ui.registry.addContextMenu("image", { update: (le) => q.selection.isEditable() && (di(le) || Pl(le) && !Ya(le)) ? ["image"] : [] });
|
|
49437
49437
|
};
|
|
49438
49438
|
var as = () => {
|
|
49439
49439
|
u.add("image", (q) => {
|
|
@@ -49553,7 +49553,7 @@ function hhe() {
|
|
|
49553
49553
|
const ao = dt[bt], To = Pe[ao];
|
|
49554
49554
|
Ce(To, ao);
|
|
49555
49555
|
}
|
|
49556
|
-
}, Te = (Pe, Ce) => et(Pe, Ce) ? P.from(Pe[Ce]) : P.none(), et = (Pe, Ce) => Me.call(Pe, Ce),
|
|
49556
|
+
}, Te = (Pe, Ce) => et(Pe, Ce) ? P.from(Pe[Ce]) : P.none(), et = (Pe, Ce) => Me.call(Pe, Ce), ce = (Pe) => (Ce) => Ce.options.get(Pe), je = (Pe) => {
|
|
49557
49557
|
const Ce = Pe.options.register;
|
|
49558
49558
|
Ce("audio_template_callback", { processor: "function" }), Ce("video_template_callback", { processor: "function" }), Ce("iframe_template_callback", { processor: "function" }), Ce("media_live_embeds", {
|
|
49559
49559
|
processor: "boolean",
|
|
@@ -49571,7 +49571,7 @@ function hhe() {
|
|
|
49571
49571
|
processor: "boolean",
|
|
49572
49572
|
default: !0
|
|
49573
49573
|
});
|
|
49574
|
-
}, Xt =
|
|
49574
|
+
}, Xt = ce("audio_template_callback"), it = ce("video_template_callback"), oe = ce("iframe_template_callback"), Et = ce("media_live_embeds"), rn = ce("media_filter_html"), dn = ce("media_url_resolver"), Xe = ce("media_alt_source"), ve = ce("media_poster"), Xn = ce("media_dimensions");
|
|
49575
49575
|
var ut = tinymce.util.Tools.resolve("tinymce.util.Tools"), kt = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Q = tinymce.util.Tools.resolve("tinymce.html.DomParser");
|
|
49576
49576
|
const io = kt.DOM, It = (Pe) => Pe.replace(/px$/, ""), Jt = (Pe) => {
|
|
49577
49577
|
const Ce = Pe.attr("style"), dt = Ce ? io.parseStyle(Ce) : {};
|
|
@@ -50231,7 +50231,7 @@ function fhe() {
|
|
|
50231
50231
|
return A === null ? "null" : I === "object" && Array.isArray(A) ? "array" : I === "object" && o(A, String, (ee, me) => me.isPrototypeOf(ee)) ? "string" : I;
|
|
50232
50232
|
}, c = (A) => (I) => i(I) === A, h = (A) => (I) => typeof I === A, m = (A) => (I) => A === I, O = c("string"), w = c("array"), T = h("boolean"), P = m(void 0), R = (A) => A == null, F = (A) => !R(A), H = h("function"), K = h("number"), he = () => {
|
|
50233
50233
|
}, Me = (A, I) => (ee) => A(I(ee)), ye = (A) => () => A, Te = (A) => A, et = (A, I) => A === I;
|
|
50234
|
-
function
|
|
50234
|
+
function ce(A, ...I) {
|
|
50235
50235
|
return (...ee) => {
|
|
50236
50236
|
const me = I.concat(ee);
|
|
50237
50237
|
return A.apply(null, me);
|
|
@@ -50609,7 +50609,7 @@ function fhe() {
|
|
|
50609
50609
|
}, q = (A, I) => as([
|
|
50610
50610
|
"td",
|
|
50611
50611
|
"th"
|
|
50612
|
-
], A, I),
|
|
50612
|
+
], A, I), le = (A) => Rc(A, "th,td"), De = (A) => Ns(A, "colgroup") ? Da(A, "col") : Se(an(A), (I) => Da(I, "col")), ot = (A, I) => Ot(A, "table", I), $n = (A) => Rc(A, "tr"), an = (A) => ot(A).fold(ye([]), (I) => Da(I, "colgroup")), ws = (A, I) => pt(A, (ee) => {
|
|
50613
50613
|
if (Gt(ee) === "colgroup") {
|
|
50614
50614
|
const me = pt(De(ee), (Qe) => {
|
|
50615
50615
|
const Dt = pa(Qe, "span", 1);
|
|
@@ -50617,7 +50617,7 @@ function fhe() {
|
|
|
50617
50617
|
});
|
|
50618
50618
|
return Tn(ee, me, "colgroup");
|
|
50619
50619
|
} else {
|
|
50620
|
-
const me = pt(
|
|
50620
|
+
const me = pt(le(ee), (Qe) => {
|
|
50621
50621
|
const Dt = pa(Qe, "rowspan", 1), tn = pa(Qe, "colspan", 1);
|
|
50622
50622
|
return wt(Qe, Dt, tn);
|
|
50623
50623
|
});
|
|
@@ -50818,7 +50818,7 @@ function fhe() {
|
|
|
50818
50818
|
return I.isSet("table_default_attributes") ? ee : ia(A, ee);
|
|
50819
50819
|
}, th = (A, I) => I.column >= A.startCol && I.column + I.colspan - 1 <= A.finishCol && I.row >= A.startRow && I.row + I.rowspan - 1 <= A.finishRow, Qg = (A, I) => {
|
|
50820
50820
|
let ee = !0;
|
|
50821
|
-
const me =
|
|
50821
|
+
const me = ce(th, I);
|
|
50822
50822
|
for (let Qe = I.startRow; Qe <= I.finishRow; Qe++)
|
|
50823
50823
|
for (let Dt = I.startCol; Dt <= I.finishCol; Dt++)
|
|
50824
50824
|
ee = ee && Nc.getAt(A, Qe, Dt).exists(me);
|
|
@@ -51012,7 +51012,7 @@ function fhe() {
|
|
|
51012
51012
|
const Rn = I(A, tn);
|
|
51013
51013
|
return nl(A, Dt, Rn);
|
|
51014
51014
|
}, Qe);
|
|
51015
|
-
}, nl = (A, I, ee) => I.bind((me) => ee.filter(
|
|
51015
|
+
}, nl = (A, I, ee) => I.bind((me) => ee.filter(ce(A.eq, me))), sh = Od, Z1 = Wf(), Hm = (A, I) => sh(Z1, (ee, me) => A(me), I), su = (A) => To(A, "table"), Wh = (A, I) => {
|
|
51016
51016
|
const ee = Zi(A, I);
|
|
51017
51017
|
return ee.length > 0 ? oe.some(ee) : oe.none();
|
|
51018
51018
|
}, Jp = (A, I, ee) => Rt(A, I).bind((me) => Rt(A, ee).bind((Qe) => Hm(su, [
|
|
@@ -51405,11 +51405,11 @@ Required: ` + I.join(", "));
|
|
|
51405
51405
|
});
|
|
51406
51406
|
});
|
|
51407
51407
|
}), I;
|
|
51408
|
-
}, Zc = (A, I, ee, me) => ze(A, (Qe) => !P(ee.formatter.matchNode(me, I + Qe))).getOr(""), Kh =
|
|
51408
|
+
}, Zc = (A, I, ee, me) => ze(A, (Qe) => !P(ee.formatter.matchNode(me, I + Qe))).getOr(""), Kh = ce(Zc, [
|
|
51409
51409
|
"left",
|
|
51410
51410
|
"center",
|
|
51411
51411
|
"right"
|
|
51412
|
-
], "align"), a0 =
|
|
51412
|
+
], "align"), a0 = ce(Zc, [
|
|
51413
51413
|
"top",
|
|
51414
51414
|
"middle",
|
|
51415
51415
|
"bottom"
|
|
@@ -51509,7 +51509,7 @@ Required: ` + I.join(", "));
|
|
|
51509
51509
|
const Qe = Xn(me, (Dt, tn) => ee[tn] !== Dt);
|
|
51510
51510
|
Q(Qe) > 0 && I.length >= 1 && ot(I[0]).each((Dt) => {
|
|
51511
51511
|
const tn = pn(Dt, I), Rn = Q(Xn(Qe, (Wo, Xs) => Xs !== "scope" && Xs !== "celltype")) > 0, ko = It(Qe, "celltype");
|
|
51512
|
-
(Rn || It(Qe, "scope")) && Yf(A, tn, me,
|
|
51512
|
+
(Rn || It(Qe, "scope")) && Yf(A, tn, me, ce(It, Qe)), ko && du(A, me), fe(A, Dt.dom, {
|
|
51513
51513
|
structure: ko,
|
|
51514
51514
|
style: Rn
|
|
51515
51515
|
});
|
|
@@ -51562,7 +51562,7 @@ Required: ` + I.join(", "));
|
|
|
51562
51562
|
}
|
|
51563
51563
|
],
|
|
51564
51564
|
initialData: ee,
|
|
51565
|
-
onSubmit:
|
|
51565
|
+
onSubmit: ce(ef, A, I, ee)
|
|
51566
51566
|
});
|
|
51567
51567
|
}, Hu = (A) => sr(Yp(A)).map((I) => ({
|
|
51568
51568
|
name: "class",
|
|
@@ -51638,7 +51638,7 @@ Required: ` + I.join(", "));
|
|
|
51638
51638
|
const Qe = Xn(me, (Dt, tn) => ee[tn] !== Dt);
|
|
51639
51639
|
if (Q(Qe) > 0) {
|
|
51640
51640
|
const Dt = It(Qe, "type"), tn = Dt ? Q(Qe) > 1 : !0;
|
|
51641
|
-
tn && Uu(A, I, me,
|
|
51641
|
+
tn && Uu(A, I, me, ce(It, Qe)), Dt && Gi(A, me), ot(No.fromDom(I[0])).each((Rn) => fe(A, Rn.dom, {
|
|
51642
51642
|
structure: Dt,
|
|
51643
51643
|
style: tn
|
|
51644
51644
|
}));
|
|
@@ -51688,7 +51688,7 @@ Required: ` + I.join(", "));
|
|
|
51688
51688
|
}
|
|
51689
51689
|
],
|
|
51690
51690
|
initialData: me,
|
|
51691
|
-
onSubmit:
|
|
51691
|
+
onSubmit: ce(Yi, A, pt(I, (tn) => tn.dom), me)
|
|
51692
51692
|
});
|
|
51693
51693
|
}, c0 = (A, I, ee) => {
|
|
51694
51694
|
const me = ee ? [
|
|
@@ -51852,7 +51852,7 @@ Required: ` + I.join(", "));
|
|
|
51852
51852
|
title: "Table Properties",
|
|
51853
51853
|
size: "normal",
|
|
51854
51854
|
body: Wo,
|
|
51855
|
-
onSubmit:
|
|
51855
|
+
onSubmit: ce(u0, A, me, Qe),
|
|
51856
51856
|
buttons: [
|
|
51857
51857
|
{
|
|
51858
51858
|
type: "cancel",
|
|
@@ -51873,10 +51873,10 @@ Required: ` + I.join(", "));
|
|
|
51873
51873
|
ds(Jn(A)) && ee();
|
|
51874
51874
|
};
|
|
51875
51875
|
dn({
|
|
51876
|
-
mceTableProps:
|
|
51877
|
-
mceTableRowProps:
|
|
51878
|
-
mceTableCellProps:
|
|
51879
|
-
mceInsertTableDialog:
|
|
51876
|
+
mceTableProps: ce(Wi, A, !1),
|
|
51877
|
+
mceTableRowProps: ce(As, A),
|
|
51878
|
+
mceTableCellProps: ce(Ug, A),
|
|
51879
|
+
mceInsertTableDialog: ce(Wi, A, !0)
|
|
51880
51880
|
}, (ee, me) => A.addCommand(me, () => I(ee)));
|
|
51881
51881
|
}, hu = (A, I) => js(A, I).isSome(), H1 = Te, tf = (A) => {
|
|
51882
51882
|
const I = (me, Qe) => vi(me, Qe).exists((Dt) => parseInt(Dt, 10) > 1), ee = (me) => I(me, "rowspan") || I(me, "colspan");
|
|
@@ -52527,9 +52527,9 @@ function ghe() {
|
|
|
52527
52527
|
return !1;
|
|
52528
52528
|
const vo = Ne[ze - 1];
|
|
52529
52529
|
return (Je === w.MIDLETTER || Je === w.MIDNUMLET || Se === w.AT) && Se === w.ALETTER && vo === w.ALETTER || (Je === w.NUMERIC || Je === w.ALETTER) && (Se === w.NUMERIC || Se === w.ALETTER) || (Je === w.MIDNUM || Je === w.MIDNUMLET) && Se === w.NUMERIC && vo === w.NUMERIC || Je === w.NUMERIC && (Se === w.MIDNUM || Se === w.MIDNUMLET) && Fn === w.NUMERIC || (Je === w.EXTEND || Je === w.FORMAT) && (Se === w.ALETTER || Se === w.NUMERIC || Se === w.KATAKANA || Se === w.EXTEND || Se === w.FORMAT) || (Se === w.EXTEND || Se === w.FORMAT && (Fn === w.ALETTER || Fn === w.NUMERIC || Fn === w.KATAKANA || Fn === w.EXTEND || Fn === w.FORMAT)) && (Je === w.ALETTER || Je === w.NUMERIC || Je === w.KATAKANA || Je === w.EXTEND || Je === w.FORMAT) || Je === w.CR && Se === w.LF ? !1 : Je === w.NEWLINE || Je === w.CR || Je === w.LF || Se === w.NEWLINE || Se === w.CR || Se === w.LF ? !0 : !(Je === w.KATAKANA && Se === w.KATAKANA || Se === w.EXTENDNUMLET && (Je === w.ALETTER || Je === w.NUMERIC || Je === w.KATAKANA || Je === w.EXTENDNUMLET) || Je === w.EXTENDNUMLET && (Se === w.ALETTER || Se === w.NUMERIC || Se === w.KATAKANA) || Je === w.AT);
|
|
52530
|
-
}, et = P,
|
|
52530
|
+
}, et = P, ce = F, je = R, Xt = (Ne) => Ne === "http" || Ne === "https", it = (Ne, ze) => {
|
|
52531
52531
|
let Je;
|
|
52532
|
-
for (Je = ze; Je < Ne.length && !
|
|
52532
|
+
for (Je = ze; Je < Ne.length && !ce.test(Ne[Je]); Je++)
|
|
52533
52533
|
;
|
|
52534
52534
|
return Je;
|
|
52535
52535
|
}, oe = (Ne, ze) => {
|
|
@@ -52541,7 +52541,7 @@ function ghe() {
|
|
|
52541
52541
|
for (let Ps = 0; Ps < Je.length; ++Ps)
|
|
52542
52542
|
if (yn.push(Ne[Ps]), Te(Je, Ps)) {
|
|
52543
52543
|
const Co = ze[Ps];
|
|
52544
|
-
if ((Se.includeWhitespace || !
|
|
52544
|
+
if ((Se.includeWhitespace || !ce.test(Co)) && (Se.includePunctuation || !je.test(Co))) {
|
|
52545
52545
|
const ur = Ps - yn.length + 1, Jo = Ps + 1, Us = ze.slice(ur, Jo).join(et);
|
|
52546
52546
|
if (Xt(Us)) {
|
|
52547
52547
|
const oa = oe(ze, Ps), Js = Ne.slice(Jo, oa);
|
|
@@ -52718,7 +52718,7 @@ function phe() {
|
|
|
52718
52718
|
const be = typeof fe;
|
|
52719
52719
|
return fe === null ? "null" : be === "object" && Array.isArray(fe) ? "array" : be === "object" && c(fe, String, (tt, Pt) => Pt.isPrototypeOf(tt)) ? "string" : be;
|
|
52720
52720
|
}, m = (fe) => (be) => h(be) === fe, O = (fe) => (be) => typeof be === fe, w = (fe) => (be) => fe === be, T = m("string"), P = m("object"), R = m("array"), F = w(null), H = O("boolean"), K = w(void 0), he = (fe) => fe == null, Me = (fe) => !he(fe), ye = O("function"), Te = O("number"), et = () => {
|
|
52721
|
-
},
|
|
52721
|
+
}, ce = (fe, be) => (...tt) => fe(be.apply(null, tt)), je = (fe, be) => (tt) => fe(be(tt)), Xt = (fe) => () => fe;
|
|
52722
52722
|
function it(fe, ...be) {
|
|
52723
52723
|
return (...tt) => {
|
|
52724
52724
|
const Pt = be.concat(tt);
|
|
@@ -53011,7 +53011,7 @@ function phe() {
|
|
|
53011
53011
|
kill: ls,
|
|
53012
53012
|
raw: Io
|
|
53013
53013
|
}), dt = (fe) => {
|
|
53014
|
-
const be = Lo.fromDom(Pl(fe).getOr(fe.target)), tt = () => fe.stopPropagation(), Pt = () => fe.preventDefault(), Hn =
|
|
53014
|
+
const be = Lo.fromDom(Pl(fe).getOr(fe.target)), tt = () => fe.stopPropagation(), Pt = () => fe.preventDefault(), Hn = ce(Pt, tt);
|
|
53015
53015
|
return Ce(be, fe.clientX, fe.clientY, tt, Pt, Hn, fe);
|
|
53016
53016
|
}, bt = (fe, be) => (tt) => {
|
|
53017
53017
|
fe(tt) && be(dt(tt));
|
|
@@ -53269,7 +53269,7 @@ function phe() {
|
|
|
53269
53269
|
}, q = (fe) => {
|
|
53270
53270
|
const be = fe.dom;
|
|
53271
53271
|
be.exitFullscreen ? be.exitFullscreen() : be.msExitFullscreen ? be.msExitFullscreen() : be.webkitCancelFullScreen && be.webkitCancelFullScreen();
|
|
53272
|
-
},
|
|
53272
|
+
}, le = (fe) => fe.dom === co(Mr(fe).dom), De = (fe, be, tt) => Xn(Qi(fe, tt), be), ot = (fe, be) => Xn(Ts(fe), be), $n = (fe) => zo(fe), an = (fe, be, tt) => De(fe, (Pt) => Ka(Pt, be), tt), ws = (fe, be) => ot(fe, (tt) => Ka(tt, be)), si = "data-ephox-mobile-fullscreen-style", Nt = "display:none!important;", ra = "position:absolute!important;", Zs = "top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;", dc = "background-color:rgb(255,255,255)!important;", Br = _e.os.isAndroid(), Uo = (fe) => {
|
|
53273
53273
|
const be = vr(fe, "background-color");
|
|
53274
53274
|
return be !== void 0 && be !== "" ? "background-color:" + be + "!important" : dc;
|
|
53275
53275
|
}, ba = (fe, be, tt) => {
|
|
@@ -53321,12 +53321,12 @@ function phe() {
|
|
|
53321
53321
|
Ba && yi(fe.dom), ia(Oa.removeClass), zf.unbind(), rn.from(be.get()).each((Hi) => Hi.fullscreenChangeHandler.unbind());
|
|
53322
53322
|
};
|
|
53323
53323
|
if (ri)
|
|
53324
|
-
ri.fullscreenChangeHandler.unbind(), Tn(fe) &&
|
|
53324
|
+
ri.fullscreenChangeHandler.unbind(), Tn(fe) && le(tr) && q(Mr(tr)), hi.width = ri.iframeWidth, hi.height = ri.iframeHeight, yr.width = ri.containerWidth, yr.height = ri.containerHeight, yr.top = ri.containerTop, yr.left = ri.containerLeft, Be(Io, ri.sinkCssPosition, (Hi, Vs) => {
|
|
53325
53325
|
bi(Hi, "position", Vs);
|
|
53326
53326
|
}), Zr(), Bc(ri.scrollPos), be.set(null), Ve(fe, !1), fe.off("remove", Zr);
|
|
53327
53327
|
else {
|
|
53328
53328
|
const Hi = Rt(Mr(tr), go(), (Lc) => {
|
|
53329
|
-
Tn(fe) && !
|
|
53329
|
+
Tn(fe) && !le(tr) && be.get() !== null && Im(fe, be);
|
|
53330
53330
|
}), Vs = {
|
|
53331
53331
|
scrollPos: ei(),
|
|
53332
53332
|
containerWidth: yr.width,
|
|
@@ -53399,8 +53399,8 @@ function bhe() {
|
|
|
53399
53399
|
i.each(K.contentCSS, (dn) => {
|
|
53400
53400
|
Me += '<link type="text/css" rel="stylesheet" href="' + ye(K.documentBaseURI.toAbsolute(dn)) + '"' + et + ">";
|
|
53401
53401
|
}), Te && (Me += '<style type="text/css">' + Te + "</style>");
|
|
53402
|
-
const
|
|
53403
|
-
return "<!DOCTYPE html><html><head>" + Me + '</head><body id="' + ye(
|
|
53402
|
+
const ce = w(K), je = O(K), it = '<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !(' + (o.os.isMacOS() || o.os.isiOS() ? "e.metaKey" : "e.ctrlKey && !e.altKey") + ")) {e.preventDefault();}}}, false);<\/script> ", oe = K.getBody().dir, Et = oe ? ' dir="' + ye(oe) + '"' : "";
|
|
53403
|
+
return "<!DOCTYPE html><html><head>" + Me + '</head><body id="' + ye(ce) + '" class="mce-content-body ' + ye(je) + '"' + Et + ">" + K.getContent() + it + "</body></html>";
|
|
53404
53404
|
}, P = (K) => {
|
|
53405
53405
|
const he = T(K);
|
|
53406
53406
|
K.windowManager.open({
|
|
@@ -53570,7 +53570,7 @@ function Ohe() {
|
|
|
53570
53570
|
}), lt;
|
|
53571
53571
|
};
|
|
53572
53572
|
var et = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
53573
|
-
const
|
|
53573
|
+
const ce = (Be) => /\btox\-/.test(Be.className), je = (Be, _t) => Be.dom.isChildOf(_t, Be.getBody()), Xt = (Be) => (_t) => T(_t) && Be.test(_t.nodeName), it = Xt(/^(OL|UL|DL)$/), oe = Xt(/^(TH|TD)$/), Et = (Be, _t, lt) => K(_t, (Ke) => it(Ke) && !ce(Ke), oe).exists((Ke) => Ke.nodeName === lt && je(Be, Ke)), rn = (Be) => {
|
|
53574
53574
|
const _t = Be.dom.getParent(Be.selection.getNode(), "ol,ul"), lt = Be.dom.getStyle(_t, "listStyleType");
|
|
53575
53575
|
return P.from(lt);
|
|
53576
53576
|
}, dn = (Be, _t) => _t !== null && !Be.dom.isEditable(_t), Xe = (Be, _t) => {
|
|
@@ -53734,7 +53734,7 @@ function vhe() {
|
|
|
53734
53734
|
}
|
|
53735
53735
|
Te.singletonNone = new Te(!1);
|
|
53736
53736
|
const et = ye;
|
|
53737
|
-
var
|
|
53737
|
+
var ce = tinymce.util.Tools.resolve("tinymce.Env"), je = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
53738
53738
|
const Xt = Array.prototype.slice, it = Array.prototype.push, oe = (Ae, Le) => {
|
|
53739
53739
|
const Lt = Ae.length, Ut = new Array(Lt);
|
|
53740
53740
|
for (let gn = 0; gn < Lt; gn++) {
|
|
@@ -53997,7 +53997,7 @@ function vhe() {
|
|
|
53997
53997
|
regex: new RegExp(Dn, Ut ? "g" : "gi"),
|
|
53998
53998
|
matchIndex: 1
|
|
53999
53999
|
}, ds = xs(Ae, Le, lo, Nn);
|
|
54000
|
-
if (
|
|
54000
|
+
if (ce.browser.isSafari() && Ln.setRng(Ln.getRng(), Jn), ds) {
|
|
54001
54001
|
const ar = di(Ae, Le, !0);
|
|
54002
54002
|
Le.set({
|
|
54003
54003
|
index: ar,
|
|
@@ -54112,7 +54112,7 @@ function vhe() {
|
|
|
54112
54112
|
}, Dn = (So, Fo) => {
|
|
54113
54113
|
Fo.redial(Zi(So, Fo.getData()));
|
|
54114
54114
|
}, Jn = (So, Fo) => {
|
|
54115
|
-
|
|
54115
|
+
ce.browser.isSafari() && ce.deviceType.isTouch() && (Fo === "find" || Fo === "replace" || Fo === "replaceall") && So.focus(Fo);
|
|
54116
54116
|
}, lo = (So) => {
|
|
54117
54117
|
vr(Ae, Le, !1), Ln(So, !0), gn(So);
|
|
54118
54118
|
}, ds = (So) => {
|
|
@@ -54335,7 +54335,7 @@ function yhe() {
|
|
|
54335
54335
|
}, et = (ut, kt) => {
|
|
54336
54336
|
const Q = he(ut);
|
|
54337
54337
|
Q ? Te(ut, kt, Q) : ye(ut, kt), ut.focus();
|
|
54338
|
-
},
|
|
54338
|
+
}, ce = (ut, kt) => K(kt) ? (et(ut, kt), !0) : (ut.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."), !1), je = (ut) => {
|
|
54339
54339
|
const kt = Me(ut);
|
|
54340
54340
|
ut.windowManager.open({
|
|
54341
54341
|
title: "Anchor",
|
|
@@ -54364,7 +54364,7 @@ function yhe() {
|
|
|
54364
54364
|
],
|
|
54365
54365
|
initialData: { id: kt },
|
|
54366
54366
|
onSubmit: (Q) => {
|
|
54367
|
-
|
|
54367
|
+
ce(ut, Q.getData().id) && Q.close();
|
|
54368
54368
|
}
|
|
54369
54369
|
});
|
|
54370
54370
|
}, Xt = (ut) => {
|
|
@@ -54446,10 +54446,10 @@ function whe() {
|
|
|
54446
54446
|
}, P = (Ke) => {
|
|
54447
54447
|
const qt = typeof Ke;
|
|
54448
54448
|
return Ke === null ? "null" : qt === "object" && Array.isArray(Ke) ? "array" : qt === "object" && T(Ke, String, (We, pt) => pt.isPrototypeOf(We)) ? "string" : qt;
|
|
54449
|
-
}, R = (Ke) => (qt) => P(qt) === Ke, F = (Ke) => (qt) => Ke === qt, H = R("string"), K = F(void 0), he = (Ke) => Ke == null, Me = (Ke) => !he(Ke), ye = (Ke) => (qt) => !Ke(qt), Te = Object.hasOwnProperty, et = (Ke, qt) => Te.call(Ke, qt),
|
|
54449
|
+
}, R = (Ke) => (qt) => P(qt) === Ke, F = (Ke) => (qt) => Ke === qt, H = R("string"), K = F(void 0), he = (Ke) => Ke == null, Me = (Ke) => !he(Ke), ye = (Ke) => (qt) => !Ke(qt), Te = Object.hasOwnProperty, et = (Ke, qt) => Te.call(Ke, qt), ce = (Ke, qt, We) => Ke.length >= qt.length && Ke.substr(We, We + qt.length) === qt, je = (Ke, qt, We = 0, pt) => {
|
|
54450
54450
|
const Y = Ke.indexOf(qt, We);
|
|
54451
54451
|
return Y !== -1 ? K(pt) ? !0 : Y + qt.length <= pt : !1;
|
|
54452
|
-
}, Xt = (Ke, qt) =>
|
|
54452
|
+
}, Xt = (Ke, qt) => ce(Ke, qt, 0), it = "\uFEFF", oe = (Ke) => Ke === it, Et = (Ke) => Ke.replace(/\uFEFF/g, "");
|
|
54453
54453
|
var rn = tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");
|
|
54454
54454
|
const dn = (Ke) => Ke.nodeType === 3, Xe = (Ke) => Ke.nodeType === 1, ve = (Ke) => /^[(\[{ \u00a0]$/.test(Ke), Xn = (Ke) => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(Ke), ut = (Ke) => /[?!,.;:]/.test(Ke), kt = (Ke, qt, We) => {
|
|
54455
54455
|
for (let pt = qt - 1; pt >= 0; pt--) {
|
|
@@ -54627,7 +54627,7 @@ function xhe() {
|
|
|
54627
54627
|
Se[Fn] = ze(vo, Fn);
|
|
54628
54628
|
}
|
|
54629
54629
|
return Se;
|
|
54630
|
-
},
|
|
54630
|
+
}, ce = (Ne, ze) => {
|
|
54631
54631
|
for (let Je = 0, Se = Ne.length; Je < Se; Je++) {
|
|
54632
54632
|
const Fn = Ne[Je];
|
|
54633
54633
|
ze(Fn, Je);
|
|
@@ -55897,7 +55897,7 @@ function xhe() {
|
|
|
55897
55897
|
return Fn !== -1 ? R(Se) ? !0 : Fn + ze.length <= Se : !1;
|
|
55898
55898
|
}, Ke = String.fromCodePoint, qt = (Ne, ze, Je) => lt(Ke(Ne).toLowerCase(), Je) ? !0 : lt(ze.toLowerCase(), Je) || lt(ze.toLowerCase().replace(/\s+/g, ""), Je), We = (Ne, ze) => {
|
|
55899
55899
|
const Je = [], Se = ze.toLowerCase();
|
|
55900
|
-
return
|
|
55900
|
+
return ce(Ne.characters, (Fn) => {
|
|
55901
55901
|
qt(Fn[0], Fn[1], Se) && Je.push(Fn);
|
|
55902
55902
|
}), et(Je, (Fn) => ({
|
|
55903
55903
|
text: Fn[1],
|
|
@@ -56066,7 +56066,7 @@ function She() {
|
|
|
56066
56066
|
};
|
|
56067
56067
|
};
|
|
56068
56068
|
var et = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
56069
|
-
const
|
|
56069
|
+
const ce = (it) => (oe) => {
|
|
56070
56070
|
const Et = () => {
|
|
56071
56071
|
oe.setEnabled(it.selection.isEditable());
|
|
56072
56072
|
};
|
|
@@ -56092,7 +56092,7 @@ function She() {
|
|
|
56092
56092
|
onItemAction: (Xe, ve) => {
|
|
56093
56093
|
Et.set(ve), rn(ve);
|
|
56094
56094
|
},
|
|
56095
|
-
onSetup:
|
|
56095
|
+
onSetup: ce(it)
|
|
56096
56096
|
});
|
|
56097
56097
|
const dn = (Xe) => () => {
|
|
56098
56098
|
Et.set(Xe), rn(Xe);
|
|
@@ -56105,7 +56105,7 @@ function She() {
|
|
|
56105
56105
|
text: K(it, Xe),
|
|
56106
56106
|
onAction: dn(Xe)
|
|
56107
56107
|
})),
|
|
56108
|
-
onSetup:
|
|
56108
|
+
onSetup: ce(it)
|
|
56109
56109
|
});
|
|
56110
56110
|
};
|
|
56111
56111
|
var Xt = () => {
|
|
@@ -59258,17 +59258,17 @@ function ofe(u, o, i, c, h, m, O, w) {
|
|
|
59258
59258
|
if (h == "nearest")
|
|
59259
59259
|
o.top < H.top ? (Te = -(H.top - o.top + O), i > 0 && o.bottom > H.bottom + Te && (Te = o.bottom - H.bottom + Te + O)) : o.bottom > H.bottom && (Te = o.bottom - H.bottom + O, i < 0 && o.top - Te < H.top && (Te = -(H.top + Te - o.top + O)));
|
|
59260
59260
|
else {
|
|
59261
|
-
let et = o.bottom - o.top,
|
|
59262
|
-
Te = (h == "center" && et <=
|
|
59261
|
+
let et = o.bottom - o.top, ce = H.bottom - H.top;
|
|
59262
|
+
Te = (h == "center" && et <= ce ? o.top + et / 2 - ce / 2 : h == "start" || h == "center" && i < 0 ? o.top - O : o.bottom - ce + O) - H.top;
|
|
59263
59263
|
}
|
|
59264
59264
|
if (c == "nearest" ? o.left < H.left ? (ye = -(H.left - o.left + m), i > 0 && o.right > H.right + ye && (ye = o.right - H.right + ye + m)) : o.right > H.right && (ye = o.right - H.right + m, i < 0 && o.left < H.left + ye && (ye = -(H.left + ye - o.left + m))) : ye = (c == "center" ? o.left + (o.right - o.left) / 2 - (H.right - H.left) / 2 : c == "start" == w ? o.left - m : o.right - (H.right - H.left) + m) - H.left, ye || Te)
|
|
59265
59265
|
if (K)
|
|
59266
59266
|
P.scrollBy(ye, Te);
|
|
59267
59267
|
else {
|
|
59268
|
-
let et = 0,
|
|
59268
|
+
let et = 0, ce = 0;
|
|
59269
59269
|
if (Te) {
|
|
59270
59270
|
let je = R.scrollTop;
|
|
59271
|
-
R.scrollTop += Te / Me,
|
|
59271
|
+
R.scrollTop += Te / Me, ce = (R.scrollTop - je) * Me;
|
|
59272
59272
|
}
|
|
59273
59273
|
if (ye) {
|
|
59274
59274
|
let je = R.scrollLeft;
|
|
@@ -59276,10 +59276,10 @@ function ofe(u, o, i, c, h, m, O, w) {
|
|
|
59276
59276
|
}
|
|
59277
59277
|
o = {
|
|
59278
59278
|
left: o.left - et,
|
|
59279
|
-
top: o.top -
|
|
59279
|
+
top: o.top - ce,
|
|
59280
59280
|
right: o.right - et,
|
|
59281
|
-
bottom: o.bottom -
|
|
59282
|
-
}, et && Math.abs(et - ye) < 1 && (c = "nearest"),
|
|
59281
|
+
bottom: o.bottom - ce
|
|
59282
|
+
}, et && Math.abs(et - ye) < 1 && (c = "nearest"), ce && Math.abs(ce - Te) < 1 && (h = "nearest");
|
|
59283
59283
|
}
|
|
59284
59284
|
if (K)
|
|
59285
59285
|
break;
|
|
@@ -61013,8 +61013,8 @@ class Pne extends Pa {
|
|
|
61013
61013
|
Xt.breakAtStart ? it.breakAfter = 1 : Xt.content.length && it.merge(it.length, it.length, Xt.content[0], !1, Xt.openStart, 0) && (it.breakAfter = Xt.content[0].breakAfter, Xt.content.shift()), je.content.length && it.merge(0, 0, je.content[je.content.length - 1], !0, 0, je.openEnd) && je.content.pop(), H = je.content.concat(it).concat(Xt.content);
|
|
61014
61014
|
} else
|
|
61015
61015
|
({ content: H, breakAtStart: K, openStart: he, openEnd: Me } = zR.build(this.view.state.doc, R, F, this.decorations, this.dynamicDecorationMap));
|
|
61016
|
-
let { i: ye, off: Te } = m.findPos(P, 1), { i: et, off:
|
|
61017
|
-
qse(this, et,
|
|
61016
|
+
let { i: ye, off: Te } = m.findPos(P, 1), { i: et, off: ce } = m.findPos(T, -1);
|
|
61017
|
+
qse(this, et, ce, ye, Te, H, K, he, Me);
|
|
61018
61018
|
}
|
|
61019
61019
|
c && this.fixCompositionDOM(c);
|
|
61020
61020
|
}
|
|
@@ -61426,12 +61426,12 @@ function ZK(u, o, i) {
|
|
|
61426
61426
|
for (let ye = 0; ye < Me.length; ye++) {
|
|
61427
61427
|
let Te = Me[ye];
|
|
61428
61428
|
h && UY(h, Te) && (Te = Ane(Dne(Te, h.bottom), h.top));
|
|
61429
|
-
let et = Dfe(o, Te),
|
|
61430
|
-
if (et == 0 &&
|
|
61429
|
+
let et = Dfe(o, Te), ce = Rfe(i, Te);
|
|
61430
|
+
if (et == 0 && ce == 0)
|
|
61431
61431
|
return he.nodeType == 3 ? Rne(he, o, i) : ZK(he, o, i);
|
|
61432
|
-
if (!c || O >
|
|
61433
|
-
c = he, h = Te, m = et, O =
|
|
61434
|
-
let je =
|
|
61432
|
+
if (!c || O > ce || O == ce && m > et) {
|
|
61433
|
+
c = he, h = Te, m = et, O = ce;
|
|
61434
|
+
let je = ce ? i < Te.top ? -1 : 1 : et ? o < Te.left ? -1 : 1 : 0;
|
|
61435
61435
|
w = !je || (je > 0 ? ye < Me.length - 1 : ye > 0);
|
|
61436
61436
|
}
|
|
61437
61437
|
et == 0 ? i > Te.bottom && (!R || R.bottom < Te.bottom) ? (T = he, R = Te) : i < Te.top && (!F || F.top > Te.top) && (P = he, F = Te) : R && UY(R, Te) ? R = Dne(R, Te.bottom) : F && UY(F, Te) && (F = Ane(F, Te.top));
|
|
@@ -61505,14 +61505,14 @@ function xre(u, o, i, c = -1) {
|
|
|
61505
61505
|
return H > T.top + T.height / 2 ? T.to : T.from;
|
|
61506
61506
|
({ node: Te, offset: et } = ZK(je.dom, R, F));
|
|
61507
61507
|
}
|
|
61508
|
-
let
|
|
61509
|
-
if (!
|
|
61508
|
+
let ce = u.docView.nearest(Te);
|
|
61509
|
+
if (!ce)
|
|
61510
61510
|
return null;
|
|
61511
|
-
if (
|
|
61512
|
-
let je =
|
|
61513
|
-
return o.y < je.top || o.y <= je.bottom && o.x <= (je.left + je.right) / 2 ?
|
|
61511
|
+
if (ce.isWidget && ((m = ce.dom) === null || m === void 0 ? void 0 : m.nodeType) == 1) {
|
|
61512
|
+
let je = ce.dom.getBoundingClientRect();
|
|
61513
|
+
return o.y < je.top || o.y <= je.bottom && o.x <= (je.left + je.right) / 2 ? ce.posAtStart : ce.posAtEnd;
|
|
61514
61514
|
} else
|
|
61515
|
-
return
|
|
61515
|
+
return ce.localPosFromDOM(Te, et) + ce.posAtStart;
|
|
61516
61516
|
}
|
|
61517
61517
|
function Mne(u, o, i, c, h) {
|
|
61518
61518
|
let m = Math.round((c - o.left) * u.defaultCharacterWidth);
|
|
@@ -62922,8 +62922,8 @@ class qne {
|
|
|
62922
62922
|
}
|
|
62923
62923
|
y4 && (P |= 2);
|
|
62924
62924
|
}
|
|
62925
|
-
let
|
|
62926
|
-
return
|
|
62925
|
+
let ce = !this.viewportIsAppropriate(this.viewport, R) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
|
|
62926
|
+
return ce && (P & 2 && (P |= this.updateScaler()), this.viewport = this.getViewport(R, this.scrollTarget), P |= this.updateForViewport()), (P & 2 || ce) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(O ? [] : this.lineGaps, o)), P |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, o.docView.enforceCursorAssoc()), P;
|
|
62927
62927
|
}
|
|
62928
62928
|
get visibleTop() {
|
|
62929
62929
|
return this.scaler.fromDOM(this.pixelViewport.top);
|
|
@@ -62993,9 +62993,9 @@ class qne {
|
|
|
62993
62993
|
}
|
|
62994
62994
|
let ye = wme(o, (Te) => Te.from >= H.from && Te.to <= H.to && Math.abs(Te.from - R) < m && Math.abs(Te.to - F) < m && !Me.some((et) => Te.from < et && Te.to > et));
|
|
62995
62995
|
if (!ye) {
|
|
62996
|
-
if (F < H.to && i && c && i.visibleRanges.some((
|
|
62997
|
-
let
|
|
62998
|
-
|
|
62996
|
+
if (F < H.to && i && c && i.visibleRanges.some((ce) => ce.from <= F && ce.to >= F)) {
|
|
62997
|
+
let ce = i.moveToLineBoundary(so.cursor(F), !1, !0).head;
|
|
62998
|
+
ce > R && (F = ce);
|
|
62999
62999
|
}
|
|
63000
63000
|
let Te = this.gapSize(H, R, F, K), et = c || Te < 2e6 ? Te : 2e6;
|
|
63001
63001
|
ye = new jY(R, F, Te, et);
|
|
@@ -63011,8 +63011,8 @@ class qne {
|
|
|
63011
63011
|
if (c) {
|
|
63012
63012
|
let Me = h / this.heightOracle.lineLength * this.heightOracle.lineHeight, ye, Te;
|
|
63013
63013
|
if (H != null) {
|
|
63014
|
-
let et = qQ(F, H),
|
|
63015
|
-
ye = et -
|
|
63014
|
+
let et = qQ(F, H), ce = ((this.visibleBottom - this.visibleTop) / 2 + Me) / R.height;
|
|
63015
|
+
ye = et - ce, Te = et + ce;
|
|
63016
63016
|
} else
|
|
63017
63017
|
ye = (this.visibleTop - R.top - Me) / R.height, Te = (this.visibleBottom - R.top + Me) / R.height;
|
|
63018
63018
|
K = XQ(F, ye), he = XQ(F, Te);
|
|
@@ -63021,12 +63021,12 @@ class qne {
|
|
|
63021
63021
|
if (Me > 2e6)
|
|
63022
63022
|
for (let it of o)
|
|
63023
63023
|
it.from >= R.from && it.from < R.to && it.size != it.displaySize && it.from * this.heightOracle.charWidth + Te < this.pixelViewport.left && (Te = it.size - it.displaySize);
|
|
63024
|
-
let et = this.pixelViewport.left + Te,
|
|
63024
|
+
let et = this.pixelViewport.left + Te, ce = this.pixelViewport.right + Te, je, Xt;
|
|
63025
63025
|
if (H != null) {
|
|
63026
|
-
let it = qQ(F, H), oe = ((
|
|
63026
|
+
let it = qQ(F, H), oe = ((ce - et) / 2 + ye) / Me;
|
|
63027
63027
|
je = it - oe, Xt = it + oe;
|
|
63028
63028
|
} else
|
|
63029
|
-
je = (et - ye) / Me, Xt = (
|
|
63029
|
+
je = (et - ye) / Me, Xt = (ce + ye) / Me;
|
|
63030
63030
|
K = XQ(F, je), he = XQ(F, Xt);
|
|
63031
63031
|
}
|
|
63032
63032
|
K > R.from && T(R.from, K, R, F), he < R.to && T(he, R.to, R, F);
|
|
@@ -64653,8 +64653,8 @@ function Rme(u, o = Eme) {
|
|
|
64653
64653
|
h(et, !0), K[et] || (K[et] = {
|
|
64654
64654
|
preventDefault: !0,
|
|
64655
64655
|
stopPropagation: !1,
|
|
64656
|
-
run: [(
|
|
64657
|
-
let je = u2 = { view:
|
|
64656
|
+
run: [(ce) => {
|
|
64657
|
+
let je = u2 = { view: ce, prefix: et, scope: O };
|
|
64658
64658
|
return setTimeout(() => {
|
|
64659
64659
|
u2 == je && (u2 = null);
|
|
64660
64660
|
}, Dme), !0;
|
|
@@ -64868,7 +64868,7 @@ const qY = /* @__PURE__ */ ys.define({
|
|
|
64868
64868
|
R.style.top = ER;
|
|
64869
64869
|
continue;
|
|
64870
64870
|
}
|
|
64871
|
-
let K = T.arrow ? P.dom.querySelector(".cm-tooltip-arrow") : null, he = K ? 7 : 0, Me = H.right - H.left, ye = (o = ooe.get(P)) !== null && o !== void 0 ? o : H.bottom - H.top, Te = P.offset || Qme, et = this.view.textDirection == wc.LTR,
|
|
64871
|
+
let K = T.arrow ? P.dom.querySelector(".cm-tooltip-arrow") : null, he = K ? 7 : 0, Me = H.right - H.left, ye = (o = ooe.get(P)) !== null && o !== void 0 ? o : H.bottom - H.top, Te = P.offset || Qme, et = this.view.textDirection == wc.LTR, ce = H.width > c.right - c.left ? et ? c.left : c.right - H.width : et ? Math.max(c.left, Math.min(F.left - (K ? 14 : 0) + Te.x, c.right - Me)) : Math.min(Math.max(c.left, F.left - Me + (K ? 14 : 0) - Te.x), c.right - Me), je = this.above[w];
|
|
64872
64872
|
!T.strictSide && (je ? F.top - ye - he - Te.y < c.top : F.bottom + ye + he + Te.y > c.bottom) && je == c.bottom - F.bottom > F.top - c.top && (je = this.above[w] = !je);
|
|
64873
64873
|
let Xt = (je ? F.top - c.top : c.bottom - F.bottom) - he;
|
|
64874
64874
|
if (Xt < ye && P.resize !== !1) {
|
|
@@ -64878,15 +64878,15 @@ const qY = /* @__PURE__ */ ys.define({
|
|
|
64878
64878
|
}
|
|
64879
64879
|
ooe.set(P, ye), R.style.height = (ye = Xt) / m + "px";
|
|
64880
64880
|
} else R.style.height && (R.style.height = "");
|
|
64881
|
-
let it = je ? F.top - ye - he - Te.y : F.bottom + he + Te.y, oe =
|
|
64881
|
+
let it = je ? F.top - ye - he - Te.y : F.bottom + he + Te.y, oe = ce + Me;
|
|
64882
64882
|
if (P.overlap !== !0)
|
|
64883
64883
|
for (let Et of O)
|
|
64884
|
-
Et.left < oe && Et.right >
|
|
64885
|
-
if (this.position == "absolute" ? (R.style.top = (it - u.parent.top) / m + "px", soe(R, (
|
|
64886
|
-
let Et = F.left + (et ? Te.x : -Te.x) - (
|
|
64884
|
+
Et.left < oe && Et.right > ce && Et.top < it + ye && Et.bottom > it && (it = je ? Et.top - ye - 2 - he : Et.bottom + he + 2);
|
|
64885
|
+
if (this.position == "absolute" ? (R.style.top = (it - u.parent.top) / m + "px", soe(R, (ce - u.parent.left) / h)) : (R.style.top = it / m + "px", soe(R, ce / h)), K) {
|
|
64886
|
+
let Et = F.left + (et ? Te.x : -Te.x) - (ce + 14 - 7);
|
|
64887
64887
|
K.style.left = Et / h + "px";
|
|
64888
64888
|
}
|
|
64889
|
-
P.overlap !== !0 && O.push({ left:
|
|
64889
|
+
P.overlap !== !0 && O.push({ left: ce, top: it, right: oe, bottom: it + ye }), R.classList.toggle("cm-tooltip-above", je), R.classList.toggle("cm-tooltip-below", !je), P.positioned && P.positioned(u.space);
|
|
64890
64890
|
}
|
|
64891
64891
|
}
|
|
64892
64892
|
maybeMeasure() {
|
|
@@ -66484,11 +66484,11 @@ function tge(u) {
|
|
|
66484
66484
|
} else Xe == -3 ? P = Et : Xe == -4 && (R = Et);
|
|
66485
66485
|
return oe;
|
|
66486
66486
|
}
|
|
66487
|
-
let et = [],
|
|
66487
|
+
let et = [], ce = [];
|
|
66488
66488
|
for (; w.pos > 0; )
|
|
66489
|
-
F(u.start || 0, u.bufferStart || 0, et,
|
|
66490
|
-
let je = (o = u.length) !== null && o !== void 0 ? o : et.length ?
|
|
66491
|
-
return new Zl(T[u.topID], et.reverse(),
|
|
66489
|
+
F(u.start || 0, u.bufferStart || 0, et, ce, -1, 0);
|
|
66490
|
+
let je = (o = u.length) !== null && o !== void 0 ? o : et.length ? ce[0] + et[0].length : 0;
|
|
66491
|
+
return new Zl(T[u.topID], et.reverse(), ce.reverse(), je);
|
|
66492
66492
|
}
|
|
66493
66493
|
const doe = /* @__PURE__ */ new WeakMap();
|
|
66494
66494
|
function hF(u, o) {
|
|
@@ -66517,15 +66517,15 @@ function $J(u, o, i, c, h, m, O, w, T) {
|
|
|
66517
66517
|
/* Balance.BranchFactor */
|
|
66518
66518
|
), F = [], H = [];
|
|
66519
66519
|
function K(he, Me, ye, Te, et) {
|
|
66520
|
-
for (let
|
|
66521
|
-
let je =
|
|
66522
|
-
for (
|
|
66523
|
-
let oe = hF(u, he[
|
|
66520
|
+
for (let ce = ye; ce < Te; ) {
|
|
66521
|
+
let je = ce, Xt = Me[ce], it = hF(u, he[ce]);
|
|
66522
|
+
for (ce++; ce < Te; ce++) {
|
|
66523
|
+
let oe = hF(u, he[ce]);
|
|
66524
66524
|
if (it + oe >= R)
|
|
66525
66525
|
break;
|
|
66526
66526
|
it += oe;
|
|
66527
66527
|
}
|
|
66528
|
-
if (
|
|
66528
|
+
if (ce == je + 1) {
|
|
66529
66529
|
if (it > R) {
|
|
66530
66530
|
let oe = he[je];
|
|
66531
66531
|
K(oe.children, oe.positions, 0, oe.children.length, Me[je] + et);
|
|
@@ -66533,8 +66533,8 @@ function $J(u, o, i, c, h, m, O, w, T) {
|
|
|
66533
66533
|
}
|
|
66534
66534
|
F.push(he[je]);
|
|
66535
66535
|
} else {
|
|
66536
|
-
let oe = Me[
|
|
66537
|
-
F.push($J(u, he, Me, je,
|
|
66536
|
+
let oe = Me[ce - 1] + he[ce - 1].length - Xt;
|
|
66537
|
+
F.push($J(u, he, Me, je, ce, Xt, oe, null, T));
|
|
66538
66538
|
}
|
|
66539
66539
|
H.push(Xt + et - m);
|
|
66540
66540
|
}
|
|
@@ -66819,10 +66819,10 @@ function age(u) {
|
|
|
66819
66819
|
function P(R, F, H, K, he, Me) {
|
|
66820
66820
|
let ye = i[Me], Te = [], et = [];
|
|
66821
66821
|
moe(O, R, ye, Te, et, K);
|
|
66822
|
-
let
|
|
66822
|
+
let ce = w[ye + 1], je = w[ye + 2];
|
|
66823
66823
|
T.push(Te.length);
|
|
66824
|
-
let Xt = Me ? P(ye + 4, w[ye + 3], O.set.types[w[ye]],
|
|
66825
|
-
return Te.push(Xt), et.push(
|
|
66824
|
+
let Xt = Me ? P(ye + 4, w[ye + 3], O.set.types[w[ye]], ce, je - ce, Me - 1) : o.toTree();
|
|
66825
|
+
return Te.push(Xt), et.push(ce - K), moe(O, w[ye + 3], F, Te, et, K), new Zl(H, Te, et, he);
|
|
66826
66826
|
}
|
|
66827
66827
|
h.children[m] = P(0, w.length, Zh.none, 0, O.length, i.length - 1);
|
|
66828
66828
|
for (let R of T) {
|
|
@@ -67130,11 +67130,11 @@ class pge {
|
|
|
67130
67130
|
if (H && H.overlay) {
|
|
67131
67131
|
let K = o.node.enter(H.overlay[0].from + w, 1), he = this.highlighters.filter((ye) => !ye.scope || ye.scope(H.tree.type)), Me = o.firstChild();
|
|
67132
67132
|
for (let ye = 0, Te = w; ; ye++) {
|
|
67133
|
-
let et = ye < H.overlay.length ? H.overlay[ye] : null,
|
|
67133
|
+
let et = ye < H.overlay.length ? H.overlay[ye] : null, ce = et ? et.from + w : T, je = Math.max(i, Te), Xt = Math.min(c, ce);
|
|
67134
67134
|
if (je < Xt && Me)
|
|
67135
|
-
for (; o.from < Xt && (this.highlightRange(o, je, Xt, h, m), this.startSpan(Math.min(Xt, o.to), P), !(o.to >=
|
|
67135
|
+
for (; o.from < Xt && (this.highlightRange(o, je, Xt, h, m), this.startSpan(Math.min(Xt, o.to), P), !(o.to >= ce || !o.nextSibling())); )
|
|
67136
67136
|
;
|
|
67137
|
-
if (!et ||
|
|
67137
|
+
if (!et || ce > c)
|
|
67138
67138
|
break;
|
|
67139
67139
|
Te = et.to + w, Te > i && (this.highlightRange(K.cursor(), Math.max(i, et.from + w), Math.min(c, Te), "", he), this.startSpan(Math.min(c, Te), P));
|
|
67140
67140
|
}
|
|
@@ -70536,19 +70536,19 @@ class E0e {
|
|
|
70536
70536
|
return null;
|
|
70537
70537
|
let { chars: i, folded: c, any: h, precise: m, byWord: O } = this;
|
|
70538
70538
|
if (i.length == 1) {
|
|
70539
|
-
let et = WS(o, 0),
|
|
70539
|
+
let et = WS(o, 0), ce = r4(et), je = ce == o.length ? 0 : -100;
|
|
70540
70540
|
if (et != i[0]) if (et == c[0])
|
|
70541
70541
|
je += -200;
|
|
70542
70542
|
else
|
|
70543
70543
|
return null;
|
|
70544
|
-
return this.ret(je, [0,
|
|
70544
|
+
return this.ret(je, [0, ce]);
|
|
70545
70545
|
}
|
|
70546
70546
|
let w = o.indexOf(this.pattern);
|
|
70547
70547
|
if (w == 0)
|
|
70548
70548
|
return this.ret(o.length == this.pattern.length ? 0 : -100, [0, this.pattern.length]);
|
|
70549
70549
|
let T = i.length, P = 0;
|
|
70550
70550
|
if (w < 0) {
|
|
70551
|
-
for (let et = 0,
|
|
70551
|
+
for (let et = 0, ce = Math.min(o.length, 200); et < ce && P < T; ) {
|
|
70552
70552
|
let je = WS(o, et);
|
|
70553
70553
|
(je == i[P] || je == c[P]) && (h[P++] = et), et += r4(je);
|
|
70554
70554
|
}
|
|
@@ -70556,7 +70556,7 @@ class E0e {
|
|
|
70556
70556
|
return null;
|
|
70557
70557
|
}
|
|
70558
70558
|
let R = 0, F = 0, H = !1, K = 0, he = -1, Me = -1, ye = /[a-z]/.test(o), Te = !0;
|
|
70559
|
-
for (let et = 0,
|
|
70559
|
+
for (let et = 0, ce = Math.min(o.length, 200), je = 0; et < ce && F < T; ) {
|
|
70560
70560
|
let Xt = WS(o, et);
|
|
70561
70561
|
w < 0 && (R < T && Xt == i[R] && (m[R++] = et), K < T && (Xt == i[K] || Xt == c[K] ? (K == 0 && (he = et), Me = et + 1, K++) : K = 0));
|
|
70562
70562
|
let it, oe = Xt < 255 ? Xt >= 48 && Xt <= 57 || Xt >= 97 && Xt <= 122 ? 2 : Xt >= 65 && Xt <= 90 ? 1 : 0 : (it = Ihe(Xt)) != it.toLowerCase() ? 1 : it != it.toUpperCase() ? 2 : 0;
|
|
@@ -74907,7 +74907,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74907
74907
|
class: wn(["grid xs:grid-cols-1 xl:grid-cols-2 gap-4 mb-3", (ye = i.xprops) == null ? void 0 : ye.customFiltersMainClass])
|
|
74908
74908
|
}, [
|
|
74909
74909
|
(ke(!0), $e(Qo, null, Hr(m.customFilters, (Te, et) => {
|
|
74910
|
-
var
|
|
74910
|
+
var ce;
|
|
74911
74911
|
return ke(), $e(Qo, { key: et }, [
|
|
74912
74912
|
Te.type == "dropdown" ? (ke(), Wd(T, {
|
|
74913
74913
|
key: 0,
|
|
@@ -74919,7 +74919,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74919
74919
|
field_name: Te.field_name,
|
|
74920
74920
|
label_name: Te.field_label,
|
|
74921
74921
|
show: !1,
|
|
74922
|
-
placeholder: ((
|
|
74922
|
+
placeholder: ((ce = i.language) == null ? void 0 : ce.please_select_an_option) ?? "Please select an option"
|
|
74923
74923
|
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : Ct("", !0),
|
|
74924
74924
|
Te.type == "text" ? (ke(), Wd(P, {
|
|
74925
74925
|
key: 1,
|
|
@@ -74944,7 +74944,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74944
74944
|
], 64);
|
|
74945
74945
|
}), 128)),
|
|
74946
74946
|
(ke(!0), $e(Qo, null, Hr(i.columns, (Te, et) => {
|
|
74947
|
-
var
|
|
74947
|
+
var ce;
|
|
74948
74948
|
return ke(), $e(Qo, { key: et }, [
|
|
74949
74949
|
Te.hasOwnFilter && Object.keys(Te.hasOwnFilter).length > 0 ? (ke(), $e(Qo, { key: 0 }, [
|
|
74950
74950
|
Te.hasOwnFilter.type == "dropdown" ? (ke(), Wd(T, {
|
|
@@ -74957,7 +74957,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
74957
74957
|
field_name: Te.field_name,
|
|
74958
74958
|
label_name: Te.field_label,
|
|
74959
74959
|
show: !1,
|
|
74960
|
-
placeholder: ((
|
|
74960
|
+
placeholder: ((ce = i.language) == null ? void 0 : ce.please_select_an_option) ?? "Please select an option"
|
|
74961
74961
|
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : Ct("", !0),
|
|
74962
74962
|
Te.hasOwnFilter.type == "text" ? (ke(), Wd(P, {
|
|
74963
74963
|
key: 1,
|
|
@@ -75035,7 +75035,7 @@ function ave(u, o, i, c, h, m) {
|
|
|
75035
75035
|
o[6] || (o[6] = Z("th", { class: "w-full px-4 py-2 lg:!w-[3%]" }, null, -1)),
|
|
75036
75036
|
(ke(!0), $e(Qo, null, Hr(i.columns, (Te, et) => (ke(), $e("th", {
|
|
75037
75037
|
key: et,
|
|
75038
|
-
onClick: (
|
|
75038
|
+
onClick: (ce) => m.updateSortColumn(Te.field_name, Te.sortable),
|
|
75039
75039
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
75040
75040
|
}, [
|
|
75041
75041
|
Vo(Mt(Te.field_label) + " ", 1),
|
|
@@ -75100,33 +75100,33 @@ function ave(u, o, i, c, h, m) {
|
|
|
75100
75100
|
Z("td", nve, [
|
|
75101
75101
|
Z("input", {
|
|
75102
75102
|
checked: h.checkedIds.includes(Te.id),
|
|
75103
|
-
onChange: (
|
|
75103
|
+
onChange: (ce) => m.toggleCheck(Te.id),
|
|
75104
75104
|
type: "checkbox",
|
|
75105
75105
|
value: "",
|
|
75106
75106
|
class: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
|
|
75107
75107
|
}, null, 40, ove)
|
|
75108
75108
|
]),
|
|
75109
|
-
(ke(!0), $e(Qo, null, Hr(i.columns, (
|
|
75109
|
+
(ke(!0), $e(Qo, null, Hr(i.columns, (ce, je) => (ke(), $e("td", {
|
|
75110
75110
|
key: je,
|
|
75111
|
-
"data-label":
|
|
75111
|
+
"data-label": ce.field_label,
|
|
75112
75112
|
class: wn(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700", {
|
|
75113
75113
|
/* 'rounded-t-lg lg:rounded-t-none': colIndex === 0,*/
|
|
75114
75114
|
"rounded-b-lg lg:rounded-b-none": je === i.columns.length - 1
|
|
75115
75115
|
}])
|
|
75116
75116
|
}, [
|
|
75117
75117
|
Z("div", rve, [
|
|
75118
|
-
|
|
75118
|
+
ce.tdComp ? (ke(), Wd(p4(m.forDynCompIs(ce.tdComp)), {
|
|
75119
75119
|
key: 0,
|
|
75120
75120
|
language: i.language,
|
|
75121
75121
|
row: Te,
|
|
75122
|
-
field:
|
|
75122
|
+
field: ce.field_name,
|
|
75123
75123
|
xprops: i.xprops,
|
|
75124
|
-
tdProps:
|
|
75124
|
+
tdProps: ce.tdProps,
|
|
75125
75125
|
onDeleteAction: o[3] || (o[3] = (Xt) => m.GetItemLists()),
|
|
75126
75126
|
onEditAction: (Xt) => m.editAction(Te),
|
|
75127
75127
|
onGeneralAction: (Xt) => m.generalAction(Te)
|
|
75128
75128
|
}, null, 40, ["language", "row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ke(), $e(Qo, { key: 1 }, [
|
|
75129
|
-
Vo(Mt(Te[
|
|
75129
|
+
Vo(Mt(Te[ce.field_name]), 1)
|
|
75130
75130
|
], 64))
|
|
75131
75131
|
])
|
|
75132
75132
|
], 10, sve))), 128))
|