agilebuilder-ui 1.0.87-temp8 → 1.0.87-temp9
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/lib/super-ui.css +1 -1
- package/lib/super-ui.js +594 -594
- package/lib/super-ui.umd.cjs +12 -12
- package/package.json +1 -1
- package/packages/super-grid/src/normal-column-content.vue +1 -1
package/lib/super-ui.js
CHANGED
|
@@ -22500,7 +22500,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22500
22500
|
], 4))
|
|
22501
22501
|
]);
|
|
22502
22502
|
}
|
|
22503
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
22503
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_789c0f8c_lang = "", _sfc_main$1h = {
|
|
22504
22504
|
components: {
|
|
22505
22505
|
DynamicInput,
|
|
22506
22506
|
RowOperation,
|
|
@@ -22710,7 +22710,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22710
22710
|
m && (o = m[d]);
|
|
22711
22711
|
}
|
|
22712
22712
|
t.row[this.column.prop] = o;
|
|
22713
|
-
} else if (o && d !== l.valueAttribute
|
|
22713
|
+
} else if (o && d !== l.valueAttribute) {
|
|
22714
22714
|
typeof o == "string" && (o = o.split(","));
|
|
22715
22715
|
const m = [];
|
|
22716
22716
|
o.forEach((_) => {
|
|
@@ -23281,7 +23281,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23281
23281
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23282
23282
|
]);
|
|
23283
23283
|
}
|
|
23284
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23284
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-789c0f8c"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
|
|
23285
23285
|
components: {
|
|
23286
23286
|
DynamicInput,
|
|
23287
23287
|
RowOperation,
|
|
@@ -71890,7 +71890,7 @@ Required: ` + u.join(", "));
|
|
|
71890
71890
|
ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
|
|
71891
71891
|
ua.DOM.unbind(document, "mouseup", f);
|
|
71892
71892
|
});
|
|
71893
|
-
},
|
|
71893
|
+
}, e8 = function(r) {
|
|
71894
71894
|
r.on("focusout", function() {
|
|
71895
71895
|
fg(r);
|
|
71896
71896
|
});
|
|
@@ -71898,23 +71898,23 @@ Required: ` + u.join(", "));
|
|
|
71898
71898
|
r.on("mouseup touchend", function(f) {
|
|
71899
71899
|
u.throttle();
|
|
71900
71900
|
});
|
|
71901
|
-
},
|
|
71901
|
+
}, t8 = function(r, u) {
|
|
71902
71902
|
var f = Wr().browser;
|
|
71903
|
-
f.isIE() ?
|
|
71903
|
+
f.isIE() ? e8(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
|
|
71904
71904
|
QC(p) || fg(r);
|
|
71905
71905
|
});
|
|
71906
|
-
},
|
|
71906
|
+
}, n8 = function(r) {
|
|
71907
71907
|
var u = g1(function() {
|
|
71908
71908
|
fg(r);
|
|
71909
71909
|
}, 0);
|
|
71910
71910
|
r.on("init", function() {
|
|
71911
|
-
r.inline && Cc(r, u),
|
|
71911
|
+
r.inline && Cc(r, u), t8(r, u);
|
|
71912
71912
|
}), r.on("remove", function() {
|
|
71913
71913
|
u.cancel();
|
|
71914
71914
|
});
|
|
71915
71915
|
}, rd, vg = ua.DOM, p4 = function(r) {
|
|
71916
71916
|
return wc.isEditorUIElement(r);
|
|
71917
|
-
},
|
|
71917
|
+
}, r8 = function(r) {
|
|
71918
71918
|
var u = r.classList;
|
|
71919
71919
|
return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
|
|
71920
71920
|
}, Av = function(r, u) {
|
|
@@ -71922,7 +71922,7 @@ Required: ` + u.join(", "));
|
|
|
71922
71922
|
return p4(y) || (f ? r.dom.is(y, f) : !1);
|
|
71923
71923
|
});
|
|
71924
71924
|
return p !== null;
|
|
71925
|
-
},
|
|
71925
|
+
}, o8 = function(r) {
|
|
71926
71926
|
try {
|
|
71927
71927
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71928
71928
|
return t_(u).fold(function() {
|
|
@@ -71933,15 +71933,15 @@ Required: ` + u.join(", "));
|
|
|
71933
71933
|
} catch {
|
|
71934
71934
|
return document.body;
|
|
71935
71935
|
}
|
|
71936
|
-
},
|
|
71936
|
+
}, a8 = function(r, u) {
|
|
71937
71937
|
var f = u.editor;
|
|
71938
|
-
|
|
71938
|
+
n8(f), f.on("focusin", function() {
|
|
71939
71939
|
var p = r.focusedEditor;
|
|
71940
71940
|
p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
|
|
71941
71941
|
}), f.on("focusout", function() {
|
|
71942
71942
|
_r.setEditorTimeout(f, function() {
|
|
71943
71943
|
var p = r.focusedEditor;
|
|
71944
|
-
!Av(f,
|
|
71944
|
+
!Av(f, o8(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71945
71945
|
});
|
|
71946
71946
|
}), rd || (rd = function(p) {
|
|
71947
71947
|
var y = r.activeEditor;
|
|
@@ -71949,18 +71949,18 @@ Required: ` + u.join(", "));
|
|
|
71949
71949
|
C.ownerDocument === document && C !== document.body && !Av(y, C) && r.focusedEditor === y && (y.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71950
71950
|
});
|
|
71951
71951
|
}, vg.bind(document, "focusin", rd));
|
|
71952
|
-
},
|
|
71952
|
+
}, i8 = function(r, u) {
|
|
71953
71953
|
r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
|
|
71954
71954
|
}, m4 = function(r) {
|
|
71955
|
-
r.on("AddEditor", Ue(
|
|
71955
|
+
r.on("AddEditor", Ue(a8, r)), r.on("RemoveEditor", Ue(i8, r));
|
|
71956
71956
|
}, Iv = function(r, u) {
|
|
71957
71957
|
return r.dom.getParent(u, function(f) {
|
|
71958
71958
|
return r.dom.getContentEditable(f) === "true";
|
|
71959
71959
|
});
|
|
71960
|
-
},
|
|
71960
|
+
}, l8 = function(r) {
|
|
71961
71961
|
return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
|
|
71962
71962
|
}, g4 = function(r, u) {
|
|
71963
|
-
return
|
|
71963
|
+
return l8(u).bind(function(f) {
|
|
71964
71964
|
return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
|
|
71965
71965
|
});
|
|
71966
71966
|
}, lm = function(r, u) {
|
|
@@ -71982,21 +71982,21 @@ Required: ` + u.join(", "));
|
|
|
71982
71982
|
r.focus();
|
|
71983
71983
|
}, _4 = function(r) {
|
|
71984
71984
|
return e_(r) || GC(r).isSome();
|
|
71985
|
-
},
|
|
71985
|
+
}, s8 = function(r) {
|
|
71986
71986
|
return r.iframeElement && e_(be.fromDom(r.iframeElement));
|
|
71987
|
-
},
|
|
71987
|
+
}, u8 = function(r) {
|
|
71988
71988
|
var u = r.getBody();
|
|
71989
71989
|
return u && _4(be.fromDom(u));
|
|
71990
|
-
},
|
|
71990
|
+
}, c8 = function(r) {
|
|
71991
71991
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71992
71992
|
return t_(u).filter(function(f) {
|
|
71993
|
-
return !
|
|
71993
|
+
return !r8(f.dom) && Av(r, f.dom);
|
|
71994
71994
|
}).isSome();
|
|
71995
71995
|
}, od = function(r) {
|
|
71996
|
-
return r.inline ?
|
|
71996
|
+
return r.inline ? u8(r) : s8(r);
|
|
71997
71997
|
}, y4 = function(r) {
|
|
71998
|
-
return od(r) ||
|
|
71999
|
-
},
|
|
71998
|
+
return od(r) || c8(r);
|
|
71999
|
+
}, f8 = function(r) {
|
|
72000
72000
|
var u = r.selection, f = r.getBody(), p = u.getRng();
|
|
72001
72001
|
r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
|
|
72002
72002
|
r.selection.setRng(C), p = C;
|
|
@@ -72010,7 +72010,7 @@ Required: ` + u.join(", "));
|
|
|
72010
72010
|
}, l_ = function(r) {
|
|
72011
72011
|
return r.editorManager.setActive(r);
|
|
72012
72012
|
}, b4 = function(r, u) {
|
|
72013
|
-
r.removed || (u ? l_(r) :
|
|
72013
|
+
r.removed || (u ? l_(r) : f8(r));
|
|
72014
72014
|
}, w4 = function(r, u, f, p, y) {
|
|
72015
72015
|
var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
|
|
72016
72016
|
return me.from(C).map(be.fromDom).map(function(P) {
|
|
@@ -72076,7 +72076,7 @@ Required: ` + u.join(", "));
|
|
|
72076
72076
|
if (C = A[y], C)
|
|
72077
72077
|
return C;
|
|
72078
72078
|
}
|
|
72079
|
-
},
|
|
72079
|
+
}, d8 = function(r) {
|
|
72080
72080
|
if (!Of(r.value))
|
|
72081
72081
|
return !1;
|
|
72082
72082
|
var u = r.parent;
|
|
@@ -72192,7 +72192,7 @@ Required: ` + u.join(", "));
|
|
|
72192
72192
|
if (u[C.name] || mg(C))
|
|
72193
72193
|
return !1;
|
|
72194
72194
|
}
|
|
72195
|
-
if (C.type === 8 || C.type === 3 && !
|
|
72195
|
+
if (C.type === 8 || C.type === 3 && !d8(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
|
|
72196
72196
|
return !1;
|
|
72197
72197
|
} while (C = Mr(C, y));
|
|
72198
72198
|
return !0;
|
|
@@ -72229,13 +72229,13 @@ Required: ` + u.join(", "));
|
|
|
72229
72229
|
}, E4 = [
|
|
72230
72230
|
"img",
|
|
72231
72231
|
"video"
|
|
72232
|
-
],
|
|
72232
|
+
], h8 = function(r) {
|
|
72233
72233
|
return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
|
|
72234
|
-
},
|
|
72234
|
+
}, v8 = function(r, u) {
|
|
72235
72235
|
var f = oe(r) ? Re(E4, u) : r;
|
|
72236
72236
|
return !f;
|
|
72237
72237
|
}, Qr = function(r, u, f) {
|
|
72238
|
-
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ?
|
|
72238
|
+
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ? v8(r.allow_svg_data_urls, f) && /^data:image\/svg\+xml/i.test(u) : /^data:/i.test(u);
|
|
72239
72239
|
}, h_ = function(r, u, f) {
|
|
72240
72240
|
var p = 1, y, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
|
|
72241
72241
|
for (P.lastIndex = y = f; C = P.exec(u); ) {
|
|
@@ -72267,7 +72267,7 @@ Required: ` + u.join(", "));
|
|
|
72267
72267
|
var P = A.exec(r);
|
|
72268
72268
|
return P ? P.index + P[0].length : p.length;
|
|
72269
72269
|
}
|
|
72270
|
-
},
|
|
72270
|
+
}, p8 = function(r, u) {
|
|
72271
72271
|
var f = r.exec(u);
|
|
72272
72272
|
if (f) {
|
|
72273
72273
|
var p = f[1], y = f[2];
|
|
@@ -72298,7 +72298,7 @@ Required: ` + u.join(", "));
|
|
|
72298
72298
|
return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
|
|
72299
72299
|
}, an = function(ba, fa, pl, pf, fu) {
|
|
72300
72300
|
var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
|
|
72301
|
-
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn &&
|
|
72301
|
+
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h8(fa) === !1) {
|
|
72302
72302
|
if (du = er[fa], !du && br) {
|
|
72303
72303
|
for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
|
|
72304
72304
|
;
|
|
@@ -72331,7 +72331,7 @@ Required: ` + u.join(", "));
|
|
|
72331
72331
|
continue;
|
|
72332
72332
|
}
|
|
72333
72333
|
Ee = Ee.toLowerCase(), Ee.charAt(0) === ":" && (Ee = Ee.substr(1)), Hn = Ee in Kr, wh && go[Ee] && et.length > 0 && et[et.length - 1].name === Ee && ds(Ee);
|
|
72334
|
-
var vf =
|
|
72334
|
+
var vf = p8(sr, Oe[9]);
|
|
72335
72335
|
if (vf !== null) {
|
|
72336
72336
|
if (vf === "all") {
|
|
72337
72337
|
$e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
|
|
@@ -72411,37 +72411,37 @@ Required: ` + u.join(", "));
|
|
|
72411
72411
|
return { parse: ie };
|
|
72412
72412
|
};
|
|
72413
72413
|
_g.findEndTag = h_;
|
|
72414
|
-
var
|
|
72414
|
+
var m8 = function(r, u) {
|
|
72415
72415
|
var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
|
|
72416
72416
|
return u.replace(f, "");
|
|
72417
72417
|
}, k4 = function(r, u) {
|
|
72418
72418
|
var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, y, C, A, P, M = r.schema;
|
|
72419
|
-
f =
|
|
72419
|
+
f = m8(r.getTempAttrs(), f);
|
|
72420
72420
|
for (var X = M.getShortEndedElements(); P = p.exec(f); )
|
|
72421
72421
|
C = p.lastIndex, A = P[0].length, X[P[1]] ? y = C : y = _g.findEndTag(M, f, C), f = f.substring(0, C - A) + f.substring(y), p.lastIndex = C - A;
|
|
72422
72422
|
return rc(f);
|
|
72423
|
-
}, v_ = k4,
|
|
72423
|
+
}, v_ = k4, g8 = function(r, u) {
|
|
72424
72424
|
var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>( | |\\s| |<br \\/>|)<\\/" + f + `>[\r
|
|
72425
72425
|
]*|<br \\/>[\r
|
|
72426
72426
|
]*)$`);
|
|
72427
72427
|
return u.replace(p, "");
|
|
72428
|
-
},
|
|
72428
|
+
}, _8 = function(r, u, f, p) {
|
|
72429
72429
|
var y;
|
|
72430
|
-
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? y = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? y = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? y = r.serializer.serialize(p, u) : y =
|
|
72430
|
+
return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? y = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? y = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? y = r.serializer.serialize(p, u) : y = g8(r, r.serializer.serialize(p, u)), !Re([
|
|
72431
72431
|
"text",
|
|
72432
72432
|
"tree"
|
|
72433
72433
|
], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(y) : u.content = y, u.no_events || r.fire("GetContent", u), u.content;
|
|
72434
72434
|
}, Gr = function(r, u, f) {
|
|
72435
72435
|
return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
|
|
72436
|
-
return
|
|
72436
|
+
return _8(r, u, f, p);
|
|
72437
72437
|
});
|
|
72438
|
-
},
|
|
72438
|
+
}, y8 = Ve.each, p_ = function(r) {
|
|
72439
72439
|
var u = function(f, p) {
|
|
72440
72440
|
if (f.nodeName !== p.nodeName)
|
|
72441
72441
|
return !1;
|
|
72442
72442
|
var y = function(A) {
|
|
72443
72443
|
var P = {};
|
|
72444
|
-
return
|
|
72444
|
+
return y8(r.getAttribs(A), function(M) {
|
|
72445
72445
|
var X = M.nodeName.toLowerCase();
|
|
72446
72446
|
X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
|
|
72447
72447
|
}), P;
|
|
@@ -72718,7 +72718,7 @@ Required: ` + u.join(", "));
|
|
|
72718
72718
|
}, function(p) {
|
|
72719
72719
|
return Ki(r, p.dom, f).isNone();
|
|
72720
72720
|
});
|
|
72721
|
-
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1),
|
|
72721
|
+
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b8 = Ue(xc, !0), id = function(r) {
|
|
72722
72722
|
return Hp(r).exists(xu);
|
|
72723
72723
|
}, bg = function(r, u, f) {
|
|
72724
72724
|
var p = Pt(qo(be.fromDom(f.container()), u), Fs), y = Zt(p).getOr(u);
|
|
@@ -72741,7 +72741,7 @@ Required: ` + u.join(", "));
|
|
|
72741
72741
|
"pre",
|
|
72742
72742
|
"pre-wrap"
|
|
72743
72743
|
], r);
|
|
72744
|
-
},
|
|
72744
|
+
}, w8 = function(r) {
|
|
72745
72745
|
return Hp(r).bind(function(u) {
|
|
72746
72746
|
return jm(u, ui);
|
|
72747
72747
|
}).exists(function(u) {
|
|
@@ -72754,14 +72754,14 @@ Required: ` + u.join(", "));
|
|
|
72754
72754
|
}, NN = function(r, u) {
|
|
72755
72755
|
return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
|
|
72756
72756
|
}, Xa = function(r, u) {
|
|
72757
|
-
return
|
|
72757
|
+
return w8(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
|
|
72758
72758
|
}, __ = function(r, u) {
|
|
72759
|
-
return
|
|
72759
|
+
return w8(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
|
|
72760
72760
|
}, Jx = function(r) {
|
|
72761
72761
|
var u = r.container(), f = r.offset();
|
|
72762
72762
|
return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
|
|
72763
72763
|
}, y_ = function(r, u) {
|
|
72764
|
-
return
|
|
72764
|
+
return w8(u) ? !1 : yg(r, u) || b8(r, u) || wg(r, u) || Xx(r, u);
|
|
72765
72765
|
}, N4 = function(r, u) {
|
|
72766
72766
|
return __(r, u) || y_(r, Jx(u));
|
|
72767
72767
|
}, A4 = function(r, u) {
|
|
@@ -72893,11 +72893,11 @@ Required: ` + u.join(", "));
|
|
|
72893
72893
|
return Ro(C.dom, 0);
|
|
72894
72894
|
})), u;
|
|
72895
72895
|
});
|
|
72896
|
-
},
|
|
72896
|
+
}, C8 = function(r, u) {
|
|
72897
72897
|
return Vr(r.schema.getTextInlineElements(), si(u));
|
|
72898
72898
|
}, gm = function(r, u, f, p) {
|
|
72899
72899
|
p === void 0 && (p = !0);
|
|
72900
|
-
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y,
|
|
72900
|
+
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y, C8(r, f));
|
|
72901
72901
|
r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
|
|
72902
72902
|
p && tE(r, u, A);
|
|
72903
72903
|
}, function(P) {
|
|
@@ -72908,13 +72908,13 @@ Required: ` + u.join(", "));
|
|
|
72908
72908
|
start: r,
|
|
72909
72909
|
end: u
|
|
72910
72910
|
};
|
|
72911
|
-
},
|
|
72911
|
+
}, x8 = function(r, u, f) {
|
|
72912
72912
|
return {
|
|
72913
72913
|
rng: r,
|
|
72914
72914
|
table: u,
|
|
72915
72915
|
cells: f
|
|
72916
72916
|
};
|
|
72917
|
-
},
|
|
72917
|
+
}, E8 = Sf.generate([
|
|
72918
72918
|
{ removeTable: ["element"] },
|
|
72919
72919
|
{ emptyCells: ["cells"] },
|
|
72920
72920
|
{
|
|
@@ -72933,14 +72933,14 @@ Required: ` + u.join(", "));
|
|
|
72933
72933
|
return Uc(r, "table", u);
|
|
72934
72934
|
}, oE = function(r) {
|
|
72935
72935
|
return !yo(r.start, r.end);
|
|
72936
|
-
},
|
|
72936
|
+
}, S8 = function(r, u) {
|
|
72937
72937
|
return _m(r.start, u).bind(function(f) {
|
|
72938
72938
|
return _m(r.end, u).bind(function(p) {
|
|
72939
72939
|
return Mn(yo(f, p), f);
|
|
72940
72940
|
});
|
|
72941
72941
|
});
|
|
72942
72942
|
}, aE = function(r, u) {
|
|
72943
|
-
return !oE(r) &&
|
|
72943
|
+
return !oE(r) && S8(r, u).exists(function(f) {
|
|
72944
72944
|
var p = f.dom.rows;
|
|
72945
72945
|
return p.length === 1 && p[0].cells.length === 1;
|
|
72946
72946
|
});
|
|
@@ -72977,10 +72977,10 @@ Required: ` + u.join(", "));
|
|
|
72977
72977
|
return iE(r, y) ? me.none() : UN(y, r);
|
|
72978
72978
|
});
|
|
72979
72979
|
}, iE = function(r, u) {
|
|
72980
|
-
return
|
|
72980
|
+
return S8(u, r).isSome();
|
|
72981
72981
|
}, lE = function(r, u) {
|
|
72982
|
-
return
|
|
72983
|
-
return
|
|
72982
|
+
return S8(r, u).map(function(f) {
|
|
72983
|
+
return x8(r, f, C_(f));
|
|
72984
72984
|
});
|
|
72985
72985
|
}, sE = function(r, u, f) {
|
|
72986
72986
|
return r.filter(function(p) {
|
|
@@ -73007,12 +73007,12 @@ Required: ` + u.join(", "));
|
|
|
73007
73007
|
}, jN = function(r) {
|
|
73008
73008
|
return HN(r).map(function(u) {
|
|
73009
73009
|
var f = r.cells;
|
|
73010
|
-
return u.length === f.length ?
|
|
73010
|
+
return u.length === f.length ? E8.removeTable(r.table) : E8.emptyCells(u);
|
|
73011
73011
|
});
|
|
73012
73012
|
}, GN = function(r, u) {
|
|
73013
73013
|
var f = VN(r), p = LN(u, f);
|
|
73014
73014
|
return WN(p, u, f).map(function(y) {
|
|
73015
|
-
return
|
|
73015
|
+
return E8.deleteCellSelection(u, y);
|
|
73016
73016
|
}).orThunk(function() {
|
|
73017
73017
|
return sE(p, u, f).bind(jN);
|
|
73018
73018
|
});
|
|
@@ -73035,15 +73035,15 @@ Required: ` + u.join(", "));
|
|
|
73035
73035
|
return !0;
|
|
73036
73036
|
}, dE = function(r, u) {
|
|
73037
73037
|
return gm(r, !1, u), !0;
|
|
73038
|
-
},
|
|
73038
|
+
}, k8 = function(r, u, f) {
|
|
73039
73039
|
return GN(u, f).map(function(p) {
|
|
73040
73040
|
return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
|
|
73041
73041
|
});
|
|
73042
73042
|
}, qN = function(r, u) {
|
|
73043
73043
|
return O4(r, u);
|
|
73044
73044
|
}, hE = function(r, u, f, p) {
|
|
73045
|
-
return
|
|
73046
|
-
return
|
|
73045
|
+
return T8(u, p).fold(function() {
|
|
73046
|
+
return k8(r, u, f);
|
|
73047
73047
|
}, function(y) {
|
|
73048
73048
|
return qN(r, y);
|
|
73049
73049
|
}).getOr(!1);
|
|
@@ -73052,7 +73052,7 @@ Required: ` + u.join(", "));
|
|
|
73052
73052
|
return y.length !== 0 ? Eg(r, y) : hE(r, f, p, u);
|
|
73053
73053
|
}, pE = function(r, u) {
|
|
73054
73054
|
return _n(qo(u, r), bs);
|
|
73055
|
-
},
|
|
73055
|
+
}, T8 = function(r, u) {
|
|
73056
73056
|
return _n(qo(u, r), function(f) {
|
|
73057
73057
|
return si(f) === "caption";
|
|
73058
73058
|
});
|
|
@@ -73073,7 +73073,7 @@ Required: ` + u.join(", "));
|
|
|
73073
73073
|
}, XN = function(r, u) {
|
|
73074
73074
|
return O4(r, u);
|
|
73075
73075
|
}, JN = function(r, u, f) {
|
|
73076
|
-
return
|
|
73076
|
+
return T8(r, be.fromDom(f.getNode())).map(function(p) {
|
|
73077
73077
|
return yo(p, u) === !1;
|
|
73078
73078
|
});
|
|
73079
73079
|
}, ZN = function(r, u, f, p, y) {
|
|
@@ -73090,31 +73090,31 @@ Required: ` + u.join(", "));
|
|
|
73090
73090
|
return ws(p) ? O4(r, p) : ZN(r, f, u, p, y);
|
|
73091
73091
|
}, mE = function(r, u) {
|
|
73092
73092
|
return r ? zr(u) : xo(u);
|
|
73093
|
-
},
|
|
73093
|
+
}, N8 = function(r, u) {
|
|
73094
73094
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
73095
73095
|
return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
|
|
73096
73096
|
return mE(u, p);
|
|
73097
73097
|
});
|
|
73098
73098
|
}, uf = function(r, u, f) {
|
|
73099
73099
|
var p = be.fromDom(r.getBody());
|
|
73100
|
-
return
|
|
73101
|
-
return QN(r, u, p, f) ||
|
|
73100
|
+
return T8(p, f).fold(function() {
|
|
73101
|
+
return QN(r, u, p, f) || N8(r, u);
|
|
73102
73102
|
}, function(y) {
|
|
73103
73103
|
return eA(r, u, p, y).getOr(!1);
|
|
73104
73104
|
});
|
|
73105
73105
|
}, Sg = function(r, u) {
|
|
73106
73106
|
var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
|
|
73107
73107
|
return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
|
|
73108
|
-
},
|
|
73108
|
+
}, A8 = function(r, u, f, p) {
|
|
73109
73109
|
var y = document.createRange();
|
|
73110
73110
|
return y.setStart(r, u), y.setEnd(f, p), y;
|
|
73111
|
-
},
|
|
73111
|
+
}, I8 = function(r) {
|
|
73112
73112
|
var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
|
|
73113
73113
|
return Hs(!1, p, f).map(function(y) {
|
|
73114
|
-
return !Pu(u, f, p) && Pu(u, y, p) ?
|
|
73114
|
+
return !Pu(u, f, p) && Pu(u, y, p) ? A8(u.container(), u.offset(), y.container(), y.offset()) : r;
|
|
73115
73115
|
}).getOr(r);
|
|
73116
|
-
},
|
|
73117
|
-
return r.collapsed ? r :
|
|
73116
|
+
}, D8 = function(r) {
|
|
73117
|
+
return r.collapsed ? r : I8(r);
|
|
73118
73118
|
}, gE = function(r) {
|
|
73119
73119
|
return r.firstChild && r.firstChild === r.lastChild;
|
|
73120
73120
|
}, tA = function(r) {
|
|
@@ -73122,12 +73122,12 @@ Required: ` + u.join(", "));
|
|
|
73122
73122
|
}, nA = function(r, u) {
|
|
73123
73123
|
var f = r.getBlockElements();
|
|
73124
73124
|
return f[u.name] && gE(u) && tA(u.firstChild);
|
|
73125
|
-
},
|
|
73125
|
+
}, O8 = function(r, u) {
|
|
73126
73126
|
var f = r.getNonEmptyElements();
|
|
73127
73127
|
return u && (u.isEmpty(f) || nA(r, u));
|
|
73128
73128
|
}, rA = function(r, u) {
|
|
73129
73129
|
var f = u.firstChild, p = u.lastChild;
|
|
73130
|
-
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev),
|
|
73130
|
+
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev), O8(r, p) && (p = p.prev), !f || f !== p ? !1 : f.name === "ul" || f.name === "ol";
|
|
73131
73131
|
}, _E = function(r) {
|
|
73132
73132
|
var u = r.firstChild, f = r.lastChild;
|
|
73133
73133
|
return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
|
|
@@ -73146,11 +73146,11 @@ Required: ` + u.join(", "));
|
|
|
73146
73146
|
return !r.firstChild || yE(r);
|
|
73147
73147
|
}, bE = function(r) {
|
|
73148
73148
|
return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
|
|
73149
|
-
},
|
|
73149
|
+
}, B8 = function(r, u) {
|
|
73150
73150
|
var f = r.getParent(u, r.isBlock);
|
|
73151
73151
|
return f && f.nodeName === "LI" ? f : null;
|
|
73152
73152
|
}, lA = function(r, u) {
|
|
73153
|
-
return !!
|
|
73153
|
+
return !!B8(r, u);
|
|
73154
73154
|
}, sA = function(r, u) {
|
|
73155
73155
|
var f = u.cloneRange(), p = u.cloneRange();
|
|
73156
73156
|
return f.setStartBefore(r), p.setEndAfter(r), [
|
|
@@ -73173,24 +73173,24 @@ Required: ` + u.join(", "));
|
|
|
73173
73173
|
return Ve.each(u, function(y) {
|
|
73174
73174
|
p.insertBefore(y, r);
|
|
73175
73175
|
}), uA(r, f);
|
|
73176
|
-
},
|
|
73176
|
+
}, P8 = function(r, u, f, p) {
|
|
73177
73177
|
return p.insertAfter(u.reverse(), r), wE(u[0], f);
|
|
73178
73178
|
}, kg = function(r, u, f, p) {
|
|
73179
|
-
var y = oA(u, r, p), C =
|
|
73179
|
+
var y = oA(u, r, p), C = B8(u, f.startContainer), A = bE(x_(y.firstChild)), P = 1, M = 2, X = u.getRoot(), ie = function(ae) {
|
|
73180
73180
|
var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
|
|
73181
|
-
return Oe ?
|
|
73181
|
+
return Oe ? B8(u, Oe.getNode()) !== C : !0;
|
|
73182
73182
|
};
|
|
73183
|
-
return ie(P) ? cA(C, A, X) : ie(M) ?
|
|
73183
|
+
return ie(P) ? cA(C, A, X) : ie(M) ? P8(C, A, X, u) : CE(C, A, X, f);
|
|
73184
73184
|
}, fA = function(r, u, f) {
|
|
73185
73185
|
var p = be.fromDom(r.getRoot());
|
|
73186
73186
|
return __(p, un.fromRangeStart(u)) ? f = f.replace(/^ /, " ") : f = f.replace(/^ /, " "), y_(p, un.fromRangeEnd(u)) ? f = f.replace(/( | )(<br( \/)>)?$/, " ") : f = f.replace(/ (<br( \/)?>)?$/, " "), f;
|
|
73187
|
-
},
|
|
73187
|
+
}, M8 = ti, B4 = function(r, u, f) {
|
|
73188
73188
|
if (f !== null) {
|
|
73189
|
-
var p = r.getParent(u.endContainer,
|
|
73189
|
+
var p = r.getParent(u.endContainer, M8);
|
|
73190
73190
|
return f === p && W2(be.fromDom(f), u);
|
|
73191
73191
|
} else
|
|
73192
73192
|
return !1;
|
|
73193
|
-
},
|
|
73193
|
+
}, R8 = function(r, u, f) {
|
|
73194
73194
|
if (f.getAttribute("data-mce-bogus") === "all")
|
|
73195
73195
|
f.parentNode.insertBefore(r.dom.createFragment(u), f);
|
|
73196
73196
|
else {
|
|
@@ -73220,7 +73220,7 @@ Required: ` + u.join(", "));
|
|
|
73220
73220
|
}, xE = function(r) {
|
|
73221
73221
|
for (var u = r; u = u.walk(); )
|
|
73222
73222
|
u.type === 1 && u.attr("data-mce-fragment", "1");
|
|
73223
|
-
}, $
|
|
73223
|
+
}, $8 = function(r) {
|
|
73224
73224
|
Ve.each(r.getElementsByTagName("*"), function(u) {
|
|
73225
73225
|
u.removeAttribute("data-mce-fragment");
|
|
73226
73226
|
});
|
|
@@ -73249,14 +73249,14 @@ Required: ` + u.join(", "));
|
|
|
73249
73249
|
if (ke = Oe.next(ke), ke)
|
|
73250
73250
|
return ke.toRange();
|
|
73251
73251
|
}, ae = p.getParent(u, p.isBlock);
|
|
73252
|
-
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !
|
|
73252
|
+
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !M8(ae) && !vA(ae) && (f = ie(M)) ? (M = f, p.remove(ae)) : p.add(ae, p.create("br", { "data-mce-bogus": "1" }))), y.setRng(M);
|
|
73253
73253
|
}
|
|
73254
73254
|
}, pA = function(r) {
|
|
73255
|
-
var u = r.dom, f =
|
|
73255
|
+
var u = r.dom, f = D8(r.selection.getRng());
|
|
73256
73256
|
r.selection.setRng(f);
|
|
73257
|
-
var p = u.getParent(f.startContainer,
|
|
73257
|
+
var p = u.getParent(f.startContainer, M8);
|
|
73258
73258
|
B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
|
|
73259
|
-
},
|
|
73259
|
+
}, F8 = function(r, u, f) {
|
|
73260
73260
|
var p, y, C, A, P, M, X = r.selection, ie = r.dom;
|
|
73261
73261
|
/^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
|
|
73262
73262
|
var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
@@ -73294,7 +73294,7 @@ Required: ` + u.join(", "));
|
|
|
73294
73294
|
}
|
|
73295
73295
|
}
|
|
73296
73296
|
if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
|
|
73297
|
-
u = ke.serialize(et),
|
|
73297
|
+
u = ke.serialize(et), R8(r, u, p);
|
|
73298
73298
|
else {
|
|
73299
73299
|
for (r.selection.setContent(Oe), p = X.getNode(), y = r.getBody(), p.nodeType === 9 ? p = M = y : M = p; M !== y; )
|
|
73300
73300
|
p = M, M = M.parentNode;
|
|
@@ -73302,12 +73302,12 @@ Required: ` + u.join(", "));
|
|
|
73302
73302
|
return ke.serialize(et);
|
|
73303
73303
|
}))), p === y ? ie.setHTML(y, u) : ie.setOuterHTML(p, u);
|
|
73304
73304
|
}
|
|
73305
|
-
hA(r, se), mh(r, ie.get("mce_marker")), $
|
|
73306
|
-
},
|
|
73307
|
-
u(r), r.firstChild &&
|
|
73305
|
+
hA(r, se), mh(r, ie.get("mce_marker")), $8(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
|
|
73306
|
+
}, V8 = function(r, u) {
|
|
73307
|
+
u(r), r.firstChild && V8(r.firstChild, u), r.next && V8(r.next, u);
|
|
73308
73308
|
}, mA = function(r, u, f) {
|
|
73309
73309
|
var p = {}, y = {}, C = [];
|
|
73310
|
-
f.firstChild &&
|
|
73310
|
+
f.firstChild && V8(f.firstChild, function(M) {
|
|
73311
73311
|
he(r, function(X) {
|
|
73312
73312
|
X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
|
|
73313
73313
|
filter: X,
|
|
@@ -73369,12 +73369,12 @@ Required: ` + u.join(", "));
|
|
|
73369
73369
|
break;
|
|
73370
73370
|
}
|
|
73371
73371
|
return me.none();
|
|
73372
|
-
},
|
|
73372
|
+
}, L8 = function(r, u, f) {
|
|
73373
73373
|
var p = u(r), y = EE(f);
|
|
73374
73374
|
return p.orThunk(function() {
|
|
73375
73375
|
return y(r) ? me.none() : EA(r, u, y);
|
|
73376
73376
|
});
|
|
73377
|
-
},
|
|
73377
|
+
}, U8 = jp, SE = function(r, u, f) {
|
|
73378
73378
|
var p = r.formatter.get(f);
|
|
73379
73379
|
if (p) {
|
|
73380
73380
|
for (var y = 0; y < p.length; y++)
|
|
@@ -73382,13 +73382,13 @@ Required: ` + u.join(", "));
|
|
|
73382
73382
|
return !0;
|
|
73383
73383
|
}
|
|
73384
73384
|
return !1;
|
|
73385
|
-
},
|
|
73385
|
+
}, z8 = function(r, u, f, p) {
|
|
73386
73386
|
var y = r.dom.getRoot();
|
|
73387
73387
|
return u === y ? !1 : (u = r.dom.getParent(u, function(C) {
|
|
73388
73388
|
return SE(r, C, f) ? !0 : C.parentNode === y || !!ld(r, C, f, p, !0);
|
|
73389
73389
|
}), ld(r, u, f, p));
|
|
73390
73390
|
}, kE = function(r, u, f) {
|
|
73391
|
-
if (
|
|
73391
|
+
if (U8(u, f.inline) || U8(u, f.block))
|
|
73392
73392
|
return !0;
|
|
73393
73393
|
if (f.selector)
|
|
73394
73394
|
return u.nodeType === 1 && r.is(u, f.selector);
|
|
@@ -73399,7 +73399,7 @@ Required: ` + u.join(", "));
|
|
|
73399
73399
|
if (M) {
|
|
73400
73400
|
if (typeof M.length > "u") {
|
|
73401
73401
|
for (A in M)
|
|
73402
|
-
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !
|
|
73402
|
+
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !U8(P, G1(r, rf(M[A], C), A))))
|
|
73403
73403
|
return;
|
|
73404
73404
|
} else
|
|
73405
73405
|
for (X = 0; X < M.length; X++)
|
|
@@ -73422,11 +73422,11 @@ Required: ` + u.join(", "));
|
|
|
73422
73422
|
}
|
|
73423
73423
|
}, E_ = function(r, u, f, p) {
|
|
73424
73424
|
if (p)
|
|
73425
|
-
return
|
|
73426
|
-
if (p = r.selection.getNode(),
|
|
73425
|
+
return z8(r, p, u, f);
|
|
73426
|
+
if (p = r.selection.getNode(), z8(r, p, u, f))
|
|
73427
73427
|
return !0;
|
|
73428
73428
|
var y = r.selection.getStart();
|
|
73429
|
-
return !!(y !== p &&
|
|
73429
|
+
return !!(y !== p && z8(r, y, u, f));
|
|
73430
73430
|
}, NE = function(r, u, f) {
|
|
73431
73431
|
var p = [], y = {}, C = r.selection.getStart();
|
|
73432
73432
|
return r.dom.getParent(C, function(A) {
|
|
@@ -73442,7 +73442,7 @@ Required: ` + u.join(", "));
|
|
|
73442
73442
|
return ld(r, y.dom, C) ? me.some(C) : me.none();
|
|
73443
73443
|
};
|
|
73444
73444
|
return me.from(r.selection.getStart(!0)).bind(function(y) {
|
|
73445
|
-
return
|
|
73445
|
+
return L8(be.fromDom(y), function(C) {
|
|
73446
73446
|
return Jr(u, function(A) {
|
|
73447
73447
|
return p(C, A);
|
|
73448
73448
|
});
|
|
@@ -73483,7 +73483,7 @@ Required: ` + u.join(", "));
|
|
|
73483
73483
|
return r;
|
|
73484
73484
|
}
|
|
73485
73485
|
return null;
|
|
73486
|
-
},
|
|
73486
|
+
}, H8 = function(r) {
|
|
73487
73487
|
var u = be.fromTag("span");
|
|
73488
73488
|
return K(u, {
|
|
73489
73489
|
id: Tg,
|
|
@@ -73493,7 +73493,7 @@ Required: ` + u.join(", "));
|
|
|
73493
73493
|
}, TA = function(r) {
|
|
73494
73494
|
var u = OE(r);
|
|
73495
73495
|
return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
|
|
73496
|
-
},
|
|
73496
|
+
}, W8 = function(r, u, f) {
|
|
73497
73497
|
f === void 0 && (f = !0);
|
|
73498
73498
|
var p = r.dom, y = r.selection;
|
|
73499
73499
|
if (DE(u))
|
|
@@ -73502,14 +73502,14 @@ Required: ` + u.join(", "));
|
|
|
73502
73502
|
var C = y.getRng(), A = p.getParent(u, p.isBlock), P = C.startContainer, M = C.startOffset, X = C.endContainer, ie = C.endOffset, ae = TA(u);
|
|
73503
73503
|
p.remove(u, !0), P === ae && M > 0 && C.setStart(ae, M - 1), X === ae && ie > 0 && C.setEnd(ae, ie - 1), A && p.isEmpty(A) && js(be.fromDom(A)), y.setRng(C);
|
|
73504
73504
|
}
|
|
73505
|
-
},
|
|
73505
|
+
}, j8 = function(r, u, f) {
|
|
73506
73506
|
f === void 0 && (f = !0);
|
|
73507
73507
|
var p = r.dom, y = r.selection;
|
|
73508
73508
|
if (u)
|
|
73509
|
-
|
|
73509
|
+
W8(r, u, f);
|
|
73510
73510
|
else if (u = rh(r.getBody(), y.getStart()), !u)
|
|
73511
73511
|
for (; u = p.get(Tg); )
|
|
73512
|
-
|
|
73512
|
+
W8(r, u, !1);
|
|
73513
73513
|
}, BE = function(r, u, f) {
|
|
73514
73514
|
var p = r.dom, y = p.getParent(f, Ue(gv, r));
|
|
73515
73515
|
y && p.isEmpty(y) ? f.parentNode.replaceChild(u, f) : (sm(be.fromDom(f)), p.isEmpty(f) ? f.parentNode.replaceChild(u, f) : p.insertAfter(u, f));
|
|
@@ -73541,7 +73541,7 @@ Required: ` + u.join(", "));
|
|
|
73541
73541
|
var se = ru(r, A, r.formatter.get(u));
|
|
73542
73542
|
se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
|
|
73543
73543
|
} else
|
|
73544
|
-
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(),
|
|
73544
|
+
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(), H8(!0).dom), y = p.firstChild, A.insertNode(p), P = 1), r.formatter.apply(u, f, p), C.setCursorLocation(y, P);
|
|
73545
73545
|
}, ME = function(r, u, f, p) {
|
|
73546
73546
|
var y = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
|
|
73547
73547
|
for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
|
|
@@ -73558,27 +73558,27 @@ Required: ` + u.join(", "));
|
|
|
73558
73558
|
var Oe = ru(r, ie, r.formatter.get(u), !0);
|
|
73559
73559
|
Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
|
|
73560
73560
|
} else {
|
|
73561
|
-
var $e = rh(r.getBody(), M), Ee =
|
|
73561
|
+
var $e = rh(r.getBody(), M), Ee = H8(!1).dom;
|
|
73562
73562
|
BE(r, Ee, $e !== null ? $e : M);
|
|
73563
73563
|
var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
|
|
73564
|
-
|
|
73564
|
+
W8(r, $e, !1), C.setCursorLocation(et, 1), y.isEmpty(M) && y.remove(M);
|
|
73565
73565
|
}
|
|
73566
|
-
},
|
|
73566
|
+
}, G8 = function(r, u) {
|
|
73567
73567
|
var f = r.selection, p = r.getBody();
|
|
73568
|
-
|
|
73568
|
+
j8(r, null, !1), (u === 8 || u === 46) && f.isCollapsed() && f.getStart().innerHTML === sd && j8(r, rh(p, f.getStart())), (u === 37 || u === 39) && j8(r, rh(p, f.getStart()));
|
|
73569
73569
|
}, AA = function(r) {
|
|
73570
73570
|
r.on("mouseup keydown", function(u) {
|
|
73571
|
-
|
|
73571
|
+
G8(r, u.keyCode);
|
|
73572
73572
|
});
|
|
73573
73573
|
}, IA = function(r, u) {
|
|
73574
|
-
var f =
|
|
73574
|
+
var f = H8(!1), p = Ng(u, f.dom);
|
|
73575
73575
|
return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
|
|
73576
73576
|
}, DA = function(r, u) {
|
|
73577
73577
|
var f = r.schema.getTextInlineElements();
|
|
73578
73578
|
return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
|
|
73579
73579
|
}, OA = function(r) {
|
|
73580
73580
|
return gc(r.dom) && DE(r.dom);
|
|
73581
|
-
}, $4 = {}, RE = sa, F4 = Zo,
|
|
73581
|
+
}, $4 = {}, RE = sa, F4 = Zo, q8 = function(r, u) {
|
|
73582
73582
|
var f = $4[r];
|
|
73583
73583
|
f || ($4[r] = []), $4[r].push(u);
|
|
73584
73584
|
}, $E = function(r, u) {
|
|
@@ -73586,7 +73586,7 @@ Required: ` + u.join(", "));
|
|
|
73586
73586
|
f(u);
|
|
73587
73587
|
});
|
|
73588
73588
|
};
|
|
73589
|
-
|
|
73589
|
+
q8("pre", function(r) {
|
|
73590
73590
|
var u = r.selection.getRng(), f, p = function(A) {
|
|
73591
73591
|
return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
|
|
73592
73592
|
}, y = function(A, P) {
|
|
@@ -73596,7 +73596,7 @@ Required: ` + u.join(", "));
|
|
|
73596
73596
|
y(A.previousSibling, A);
|
|
73597
73597
|
}));
|
|
73598
73598
|
});
|
|
73599
|
-
var
|
|
73599
|
+
var K8 = Ve.each, Y8 = function(r) {
|
|
73600
73600
|
return ro(r) && !Ts(r) && !gc(r) && !wf(r);
|
|
73601
73601
|
}, FE = function(r, u) {
|
|
73602
73602
|
var f;
|
|
@@ -73625,15 +73625,15 @@ Required: ` + u.join(", "));
|
|
|
73625
73625
|
}, BA = function(r, u, f) {
|
|
73626
73626
|
if (u.clear_child_styles) {
|
|
73627
73627
|
var p = u.links ? "*:not(a)" : "*";
|
|
73628
|
-
|
|
73629
|
-
|
|
73628
|
+
K8(r.select(p, f), function(y) {
|
|
73629
|
+
Y8(y) && K8(u.styles, function(C, A) {
|
|
73630
73630
|
r.setStyle(y, A, "");
|
|
73631
73631
|
});
|
|
73632
73632
|
});
|
|
73633
73633
|
}
|
|
73634
73634
|
}, $r = function(r, u, f) {
|
|
73635
|
-
|
|
73636
|
-
|
|
73635
|
+
K8(r.childNodes, function(p) {
|
|
73636
|
+
Y8(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
|
|
73637
73637
|
});
|
|
73638
73638
|
}, PA = function(r, u) {
|
|
73639
73639
|
u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
|
|
@@ -73653,7 +73653,7 @@ Required: ` + u.join(", "));
|
|
|
73653
73653
|
return /^(TR|TH|TD)$/.test(r.nodeName);
|
|
73654
73654
|
}, L4 = function(r, u, f) {
|
|
73655
73655
|
return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
|
|
73656
|
-
},
|
|
73656
|
+
}, X8 = function(r, u, f) {
|
|
73657
73657
|
var p, y;
|
|
73658
73658
|
if (p = u[f ? "startContainer" : "endContainer"], y = u[f ? "startOffset" : "endOffset"], ro(p)) {
|
|
73659
73659
|
var C = p.childNodes.length - 1;
|
|
@@ -73667,7 +73667,7 @@ Required: ` + u.join(", "));
|
|
|
73667
73667
|
return r.nodeName === "TR" && p[f] || p;
|
|
73668
73668
|
}
|
|
73669
73669
|
return r;
|
|
73670
|
-
},
|
|
73670
|
+
}, J8 = function(r, u, f, p) {
|
|
73671
73671
|
var y = r.create(f, p);
|
|
73672
73672
|
return u.parentNode.insertBefore(y, u), y.appendChild(u), y;
|
|
73673
73673
|
}, GE = function(r, u, f, p, y) {
|
|
@@ -73678,18 +73678,18 @@ Required: ` + u.join(", "));
|
|
|
73678
73678
|
return !0;
|
|
73679
73679
|
if (f.selector)
|
|
73680
73680
|
return ro(u) && r.is(u, f.selector);
|
|
73681
|
-
},
|
|
73681
|
+
}, Z8 = function(r, u) {
|
|
73682
73682
|
return u.links && r.nodeName === "A";
|
|
73683
73683
|
}, Ag = function(r, u, f, p) {
|
|
73684
73684
|
return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
|
|
73685
73685
|
}, qE = function(r, u, f) {
|
|
73686
73686
|
var p = u.parentNode, y, C = r.dom, A = Oi(r);
|
|
73687
73687
|
f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
|
|
73688
|
-
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y =
|
|
73688
|
+
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y = J8(C, P, A), C.setAttribs(y, r.settings.forced_root_block_attrs)) : y = 0;
|
|
73689
73689
|
}) : C.isBlock(u) && !C.isBlock(p) && (!Ag(C, u, !1) && !Ag(C, u.firstChild, !0, !0) && u.insertBefore(C.create("br"), u.firstChild), !Ag(C, u, !0) && !Ag(C, u.lastChild, !1, !0) && u.appendChild(C.create("br")))), !(f.selector && f.inline && !ym(f.inline, u)) && C.remove(u, !0);
|
|
73690
73690
|
}, k_ = function(r, u, f, p, y) {
|
|
73691
73691
|
var C, A = r.dom;
|
|
73692
|
-
if (!MA(A, p, u) && !
|
|
73692
|
+
if (!MA(A, p, u) && !Z8(p, u))
|
|
73693
73693
|
return S_.keep();
|
|
73694
73694
|
var P = p;
|
|
73695
73695
|
if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
|
|
@@ -73758,7 +73758,7 @@ Required: ` + u.join(", "));
|
|
|
73758
73758
|
C && (!A.mixed || !ae.isBlock(f)) && (p = ae.split(f, p)), X && (y.parentNode.insertBefore(X, y), ie.appendChild(y), A.inline && LE(ae, A, P, X));
|
|
73759
73759
|
}
|
|
73760
73760
|
return p;
|
|
73761
|
-
},
|
|
73761
|
+
}, Q8 = function(r, u, f, p, y) {
|
|
73762
73762
|
var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
|
|
73763
73763
|
var et = T_(r, ot, u, f, y);
|
|
73764
73764
|
return RA(r, C, et, ot, ot, !0, A, f);
|
|
@@ -73782,7 +73782,7 @@ Required: ` + u.join(", "));
|
|
|
73782
73782
|
}, Oe = function(ot) {
|
|
73783
73783
|
var et, ut, yt = ru(r, ot, C, ot.collapsed);
|
|
73784
73784
|
if (A.split) {
|
|
73785
|
-
if (yt = fh(yt), et =
|
|
73785
|
+
if (yt = fh(yt), et = X8(r, yt, !0), ut = X8(r, yt), et !== ut) {
|
|
73786
73786
|
if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
|
|
73787
73787
|
var Mt = me.from(et.firstChild).getOr(et);
|
|
73788
73788
|
ie(GE(M, Mt, !0, "span", {
|
|
@@ -73799,10 +73799,10 @@ Required: ` + u.join(", "));
|
|
|
73799
73799
|
})), ke(!1);
|
|
73800
73800
|
return;
|
|
73801
73801
|
}
|
|
73802
|
-
et =
|
|
73802
|
+
et = J8(M, et, "span", {
|
|
73803
73803
|
id: "_start",
|
|
73804
73804
|
"data-mce-type": "bookmark"
|
|
73805
|
-
}), ut =
|
|
73805
|
+
}), ut = J8(M, ut, "span", {
|
|
73806
73806
|
id: "_end",
|
|
73807
73807
|
"data-mce-type": "bookmark"
|
|
73808
73808
|
});
|
|
@@ -73852,7 +73852,7 @@ Required: ` + u.join(", "));
|
|
|
73852
73852
|
!X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
|
|
73853
73853
|
eg(r, Oe);
|
|
73854
73854
|
}), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, y);
|
|
73855
|
-
},
|
|
73855
|
+
}, e6 = Ve.each, $A = function(r, u, f, p) {
|
|
73856
73856
|
var y = function(C) {
|
|
73857
73857
|
if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
|
|
73858
73858
|
var A = Gp(r, C.parentNode);
|
|
@@ -73865,9 +73865,9 @@ Required: ` + u.join(", "));
|
|
|
73865
73865
|
}, VA = function(r, u, f, p) {
|
|
73866
73866
|
(u.inline === "sub" || u.inline === "sup") && ($r(p, UE(r, "fontSize"), zE(r, "fontSize", "")), r.remove(r.select(u.inline === "sup" ? "sub" : "sup", p), !0));
|
|
73867
73867
|
}, KE = function(r, u, f, p) {
|
|
73868
|
-
|
|
73869
|
-
|
|
73870
|
-
|
|
73868
|
+
e6(u, function(y) {
|
|
73869
|
+
e6(r.dom.select(y.inline, p), function(C) {
|
|
73870
|
+
Y8(C) && vl(r, y, f, C, y.exact ? C : null);
|
|
73871
73871
|
}), BA(r.dom, y, p);
|
|
73872
73872
|
});
|
|
73873
73873
|
}, U4 = function(r, u, f, p, y) {
|
|
@@ -73875,7 +73875,7 @@ Required: ` + u.join(", "));
|
|
|
73875
73875
|
if (ld(r, C, f, p))
|
|
73876
73876
|
return vl(r, u, p, y), !0;
|
|
73877
73877
|
});
|
|
73878
|
-
}, Sc = Ve.each,
|
|
73878
|
+
}, Sc = Ve.each, t6 = function(r, u) {
|
|
73879
73879
|
return da(r, u);
|
|
73880
73880
|
}, z4 = function(r) {
|
|
73881
73881
|
return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
|
|
@@ -73897,7 +73897,7 @@ Required: ` + u.join(", "));
|
|
|
73897
73897
|
return da(y, p) && ws(be.fromDom(f.parentNode), !1) && !C;
|
|
73898
73898
|
} else
|
|
73899
73899
|
return !1;
|
|
73900
|
-
},
|
|
73900
|
+
}, n6 = function(r, u, f, p) {
|
|
73901
73901
|
var y = r.formatter.get(u), C = y[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
|
|
73902
73902
|
if (ut = ut || C, et) {
|
|
73903
73903
|
if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
|
|
@@ -73938,12 +73938,12 @@ Required: ` + u.join(", "));
|
|
|
73938
73938
|
}
|
|
73939
73939
|
if (ih(C)) {
|
|
73940
73940
|
var pr = ie(y, er);
|
|
73941
|
-
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !
|
|
73941
|
+
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !t6(C, "inline") || pr) {
|
|
73942
73942
|
Dn = null;
|
|
73943
73943
|
return;
|
|
73944
73944
|
}
|
|
73945
73945
|
}
|
|
73946
|
-
Fn && !br && _v(r, Hn, ir) && _v(r, mr, Hn) && !(!Mt && er.nodeType === 3 && er.nodeValue.length === 1 && er.nodeValue.charCodeAt(0) === 65279) && !gc(er) && (!
|
|
73946
|
+
Fn && !br && _v(r, Hn, ir) && _v(r, mr, Hn) && !(!Mt && er.nodeType === 3 && er.nodeValue.length === 1 && er.nodeValue.charCodeAt(0) === 65279) && !gc(er) && (!t6(C, "inline") || !et.isBlock(er)) ? (Dn || (Dn = et.clone(yr, !1), er.parentNode.insertBefore(Dn, er), hn.push(Dn)), Dn.appendChild(er)) : (Dn = null, Sc(Ve.grep(er.childNodes), qr), br && (Fn = Gn), Dn = null);
|
|
73947
73947
|
};
|
|
73948
73948
|
Sc(xr, qr);
|
|
73949
73949
|
}), C.links === !0 && Sc(hn, function(xr) {
|
|
@@ -73996,7 +73996,7 @@ Required: ` + u.join(", "));
|
|
|
73996
73996
|
ae(P, p, null, !0);
|
|
73997
73997
|
else if (!A || !M2(C) || wv(r).length) {
|
|
73998
73998
|
var Ee = M.getNode(), ot = y[0];
|
|
73999
|
-
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) &&
|
|
73999
|
+
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) && n6(r, ot.defaultBlock), M.setRng(D8(M.getRng())), Jf(M, !0, function(et) {
|
|
74000
74000
|
eg(r, function(ut, yt) {
|
|
74001
74001
|
var Mt = yt ? ut : ru(r, ut, y);
|
|
74002
74002
|
ae(P, Mt);
|
|
@@ -74064,13 +74064,13 @@ Required: ` + u.join(", "));
|
|
|
74064
74064
|
};
|
|
74065
74065
|
}, qA = function(r, u, f, p) {
|
|
74066
74066
|
var y = r.formatter.get(u);
|
|
74067
|
-
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ?
|
|
74068
|
-
},
|
|
74067
|
+
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ? Q8(r, u, f, p) : n6(r, u, f, p);
|
|
74068
|
+
}, r6 = function(r, u) {
|
|
74069
74069
|
var f = u || document, p = f.createDocumentFragment();
|
|
74070
74070
|
return he(r, function(y) {
|
|
74071
74071
|
p.appendChild(y.dom);
|
|
74072
74072
|
}), be.fromDom(p);
|
|
74073
|
-
},
|
|
74073
|
+
}, o6 = function(r, u, f) {
|
|
74074
74074
|
return {
|
|
74075
74075
|
element: r,
|
|
74076
74076
|
width: u,
|
|
@@ -74122,7 +74122,7 @@ Required: ` + u.join(", "));
|
|
|
74122
74122
|
return C;
|
|
74123
74123
|
}, kc = function(r, u, f) {
|
|
74124
74124
|
var p = u.x, y = u.y, C = f.x, A = f.y, P = y < A ? ZE(r, p, y, C, A) : ZE(r, p, A, C, y);
|
|
74125
|
-
return
|
|
74125
|
+
return o6(r.element, XE(P), P);
|
|
74126
74126
|
}, W4 = function(r, u) {
|
|
74127
74127
|
var f = Hf(r.element), p = be.fromTag("tbody");
|
|
74128
74128
|
return yf(p, u), Ha(f, p), f;
|
|
@@ -74135,13 +74135,13 @@ Required: ` + u.join(", "));
|
|
|
74135
74135
|
return yf(p, f), p;
|
|
74136
74136
|
});
|
|
74137
74137
|
}, A_ = function(r) {
|
|
74138
|
-
var u =
|
|
74138
|
+
var u = o6(Hf(r), 0, []);
|
|
74139
74139
|
return he(ma(r, "tr"), function(f, p) {
|
|
74140
74140
|
he(ma(f, "td,th"), function(y, C) {
|
|
74141
74141
|
YE(u, YA(u, C, p), p, f, y);
|
|
74142
74142
|
});
|
|
74143
|
-
}),
|
|
74144
|
-
},
|
|
74143
|
+
}), o6(u.element, XE(u.rows), u.rows);
|
|
74144
|
+
}, a6 = function(r) {
|
|
74145
74145
|
return W4(r, N_(r));
|
|
74146
74146
|
}, XA = function(r, u, f) {
|
|
74147
74147
|
return JE(r, u).bind(function(p) {
|
|
@@ -74171,7 +74171,7 @@ Required: ` + u.join(", "));
|
|
|
74171
74171
|
var f = Un(u, function(p, y) {
|
|
74172
74172
|
return Ha(y, p), y;
|
|
74173
74173
|
}, r);
|
|
74174
|
-
return u.length > 0 ?
|
|
74174
|
+
return u.length > 0 ? r6([f]) : f;
|
|
74175
74175
|
}, Og = function(r) {
|
|
74176
74176
|
return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
|
|
74177
74177
|
return [
|
|
@@ -74179,22 +74179,22 @@ Required: ` + u.join(", "));
|
|
|
74179
74179
|
u
|
|
74180
74180
|
];
|
|
74181
74181
|
}) : ts(r) ? [r] : [];
|
|
74182
|
-
},
|
|
74182
|
+
}, i6 = function(r, u) {
|
|
74183
74183
|
var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), y = Pt(p, function(P) {
|
|
74184
74184
|
return Cu(P) || Hc(P);
|
|
74185
74185
|
}), C = Ig(p, u), A = y.concat(C.length ? C : Og(f));
|
|
74186
74186
|
return ne(A, Hf);
|
|
74187
74187
|
}, QE = function() {
|
|
74188
|
-
return
|
|
74188
|
+
return r6([]);
|
|
74189
74189
|
}, ZA = function(r, u) {
|
|
74190
|
-
return Dg(be.fromDom(u.cloneContents()),
|
|
74190
|
+
return Dg(be.fromDom(u.cloneContents()), i6(r, u));
|
|
74191
74191
|
}, eS = function(r, u) {
|
|
74192
74192
|
return Uc(u, "table", Ue(yo, r));
|
|
74193
74193
|
}, tS = function(r, u) {
|
|
74194
74194
|
return eS(r, u[0]).bind(function(f) {
|
|
74195
74195
|
var p = u[0], y = u[u.length - 1], C = A_(f);
|
|
74196
74196
|
return XA(C, p, y).map(function(A) {
|
|
74197
|
-
return
|
|
74197
|
+
return r6([a6(A)]);
|
|
74198
74198
|
});
|
|
74199
74199
|
}).getOrThunk(QE);
|
|
74200
74200
|
}, QA = function(r, u) {
|
|
@@ -74239,7 +74239,7 @@ Required: ` + u.join(", "));
|
|
|
74239
74239
|
f.getInner = !0;
|
|
74240
74240
|
var p = rI(r, f);
|
|
74241
74241
|
return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
|
|
74242
|
-
},
|
|
74242
|
+
}, l6 = 0, aS = 1, iS = 2, I_ = function(r, u) {
|
|
74243
74243
|
var f = r.length + u.length + 2, p = new Array(f), y = new Array(f), C = function(ie, ae, se) {
|
|
74244
74244
|
return {
|
|
74245
74245
|
start: ie,
|
|
@@ -74251,7 +74251,7 @@ Required: ` + u.join(", "));
|
|
|
74251
74251
|
if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
|
|
74252
74252
|
for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
|
|
74253
74253
|
Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
|
|
74254
|
-
|
|
74254
|
+
l6,
|
|
74255
74255
|
r[Ee]
|
|
74256
74256
|
]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
|
|
74257
74257
|
iS,
|
|
@@ -74264,7 +74264,7 @@ Required: ` + u.join(", "));
|
|
|
74264
74264
|
A(ie, $e.start, se, $e.start - $e.diag, Oe);
|
|
74265
74265
|
for (var et = $e.start; et < $e.end; ++et)
|
|
74266
74266
|
Oe.push([
|
|
74267
|
-
|
|
74267
|
+
l6,
|
|
74268
74268
|
r[et]
|
|
74269
74269
|
]);
|
|
74270
74270
|
A($e.end, ae, $e.end - $e.diag, ke, Oe);
|
|
@@ -74296,7 +74296,7 @@ Required: ` + u.join(", "));
|
|
|
74296
74296
|
}
|
|
74297
74297
|
}, X = [];
|
|
74298
74298
|
return A(0, r.length, 0, u.length, X), X;
|
|
74299
|
-
},
|
|
74299
|
+
}, s6 = function(r) {
|
|
74300
74300
|
return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
|
|
74301
74301
|
}, oI = function(r) {
|
|
74302
74302
|
var u, f = document.createElement("div"), p = document.createDocumentFragment();
|
|
@@ -74318,19 +74318,19 @@ Required: ` + u.join(", "));
|
|
|
74318
74318
|
}, sS = function(r, u) {
|
|
74319
74319
|
var f = 0;
|
|
74320
74320
|
he(r, function(p) {
|
|
74321
|
-
p[0] ===
|
|
74321
|
+
p[0] === l6 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
|
|
74322
74322
|
});
|
|
74323
74323
|
}, iI = function(r) {
|
|
74324
|
-
return Pt(ne(Er(r.childNodes),
|
|
74324
|
+
return Pt(ne(Er(r.childNodes), s6), function(u) {
|
|
74325
74325
|
return u.length > 0;
|
|
74326
74326
|
});
|
|
74327
74327
|
}, lI = function(r, u) {
|
|
74328
|
-
var f = ne(Er(u.childNodes),
|
|
74328
|
+
var f = ne(Er(u.childNodes), s6);
|
|
74329
74329
|
return sS(I_(f, r), u), u;
|
|
74330
|
-
},
|
|
74331
|
-
return
|
|
74330
|
+
}, u6 = Wa(me.none()), uS = function() {
|
|
74331
|
+
return u6.get().getOrThunk(function() {
|
|
74332
74332
|
var r = document.implementation.createHTMLDocument("undo");
|
|
74333
|
-
return
|
|
74333
|
+
return u6.set(me.some(r)), r;
|
|
74334
74334
|
});
|
|
74335
74335
|
}, cS = function(r) {
|
|
74336
74336
|
return r.indexOf("</iframe>") !== -1;
|
|
@@ -74350,13 +74350,13 @@ Required: ` + u.join(", "));
|
|
|
74350
74350
|
bookmark: null,
|
|
74351
74351
|
beforeBookmark: null
|
|
74352
74352
|
};
|
|
74353
|
-
},
|
|
74353
|
+
}, c6 = function(r) {
|
|
74354
74354
|
var u = iI(r.getBody()), f = He(u, function(y) {
|
|
74355
74355
|
var C = k4(r.serializer, y);
|
|
74356
74356
|
return C.length > 0 ? [C] : [];
|
|
74357
74357
|
}), p = f.join("");
|
|
74358
74358
|
return cS(p) ? fS(f) : sI(p);
|
|
74359
|
-
},
|
|
74359
|
+
}, f6 = function(r, u, f) {
|
|
74360
74360
|
u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
|
|
74361
74361
|
}, D_ = function(r) {
|
|
74362
74362
|
return r.type === "fragmented" ? r.fragments.join("") : r.content;
|
|
@@ -74369,19 +74369,19 @@ Required: ` + u.join(", "));
|
|
|
74369
74369
|
return G4(r) === G4(u);
|
|
74370
74370
|
}, Cm = function(r, u) {
|
|
74371
74371
|
return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
|
|
74372
|
-
},
|
|
74372
|
+
}, d6 = function(r) {
|
|
74373
74373
|
return r.get() === 0;
|
|
74374
74374
|
}, q4 = function(r, u, f) {
|
|
74375
|
-
|
|
74375
|
+
d6(f) && (r.typing = u);
|
|
74376
74376
|
}, Mv = function(r, u) {
|
|
74377
74377
|
r.typing && (q4(r, !1, u), r.add());
|
|
74378
|
-
},
|
|
74378
|
+
}, h6 = function(r) {
|
|
74379
74379
|
r.typing && (r.typing = !1, r.add());
|
|
74380
74380
|
}, vS = function(r, u, f) {
|
|
74381
|
-
|
|
74381
|
+
d6(u) && f.set(me.some(I1(r.selection)));
|
|
74382
74382
|
}, O_ = function(r, u, f, p, y, C, A) {
|
|
74383
|
-
var P =
|
|
74384
|
-
if (C = C || {}, C = Ve.extend(C, P),
|
|
74383
|
+
var P = c6(r);
|
|
74384
|
+
if (C = C || {}, C = Ve.extend(C, P), d6(p) === !1 || r.removed)
|
|
74385
74385
|
return null;
|
|
74386
74386
|
var M = u.data[f.get()];
|
|
74387
74387
|
if (r.fire("BeforeAddUndo", {
|
|
@@ -74411,21 +74411,21 @@ Required: ` + u.join(", "));
|
|
|
74411
74411
|
}, uI = function(r, u, f, p, y) {
|
|
74412
74412
|
if (u.transact(p)) {
|
|
74413
74413
|
var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
|
|
74414
|
-
|
|
74414
|
+
f6(r, A, !0), u.transact(y) && (u.data[f.get() - 1].beforeBookmark = C);
|
|
74415
74415
|
}
|
|
74416
74416
|
}, mS = function(r, u, f) {
|
|
74417
74417
|
var p;
|
|
74418
|
-
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()],
|
|
74418
|
+
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()], f6(r, p, !1), r.setDirty(!0), r.fire("Redo", { level: p })), p;
|
|
74419
74419
|
}, gS = function(r, u, f, p) {
|
|
74420
74420
|
var y;
|
|
74421
|
-
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), y = u.data[p.get()],
|
|
74421
|
+
return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), y = u.data[p.get()], f6(r, y, !0), r.setDirty(!0), r.fire("Undo", { level: y })), y;
|
|
74422
74422
|
}, cI = function(r) {
|
|
74423
74423
|
r.clear(), r.add();
|
|
74424
74424
|
}, fI = function(r, u, f) {
|
|
74425
|
-
return f.get() > 0 || u.typing && u.data[0] && !Cm(
|
|
74425
|
+
return f.get() > 0 || u.typing && u.data[0] && !Cm(c6(r), u.data[0]);
|
|
74426
74426
|
}, dI = function(r, u) {
|
|
74427
74427
|
return u.get() < r.data.length - 1 && !r.typing;
|
|
74428
|
-
},
|
|
74428
|
+
}, v6 = function(r, u, f) {
|
|
74429
74429
|
return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
|
|
74430
74430
|
}, hI = function(r, u) {
|
|
74431
74431
|
try {
|
|
@@ -74480,7 +74480,7 @@ Required: ` + u.join(", "));
|
|
|
74480
74480
|
return dI(u, f);
|
|
74481
74481
|
},
|
|
74482
74482
|
transact: function(u, f, p) {
|
|
74483
|
-
return
|
|
74483
|
+
return v6(u, f, p);
|
|
74484
74484
|
},
|
|
74485
74485
|
ignore: function(u, f) {
|
|
74486
74486
|
return hI(u, f);
|
|
@@ -74506,10 +74506,10 @@ Required: ` + u.join(", "));
|
|
|
74506
74506
|
return SA(r, u);
|
|
74507
74507
|
},
|
|
74508
74508
|
apply: function(u, f, p) {
|
|
74509
|
-
return
|
|
74509
|
+
return n6(r, u, f, p);
|
|
74510
74510
|
},
|
|
74511
74511
|
remove: function(u, f, p, y) {
|
|
74512
|
-
return
|
|
74512
|
+
return Q8(r, u, f, p, y);
|
|
74513
74513
|
},
|
|
74514
74514
|
toggle: function(u, f, p) {
|
|
74515
74515
|
return qA(r, u, f, p);
|
|
@@ -74526,7 +74526,7 @@ Required: ` + u.join(", "));
|
|
|
74526
74526
|
return CA(r, u, f);
|
|
74527
74527
|
},
|
|
74528
74528
|
insertContent: function(u, f) {
|
|
74529
|
-
return
|
|
74529
|
+
return F8(r, u, f);
|
|
74530
74530
|
},
|
|
74531
74531
|
addVisual: function(u) {
|
|
74532
74532
|
return vI(r, u);
|
|
@@ -74680,7 +74680,7 @@ Required: ` + u.join(", "));
|
|
|
74680
74680
|
return u.rtcInstance = pI(), Li.reject(p);
|
|
74681
74681
|
}));
|
|
74682
74682
|
});
|
|
74683
|
-
},
|
|
74683
|
+
}, p6 = function(r) {
|
|
74684
74684
|
return r.rtcInstance ? r.rtcInstance : B_(r);
|
|
74685
74685
|
}, Xi = function(r) {
|
|
74686
74686
|
var u = r.rtcInstance;
|
|
@@ -74691,7 +74691,7 @@ Required: ` + u.join(", "));
|
|
|
74691
74691
|
Xi(r).undoManager.beforeChange(u, f);
|
|
74692
74692
|
}, gI = function(r, u, f, p, y, C, A) {
|
|
74693
74693
|
return Xi(r).undoManager.addUndoLevel(u, f, p, y, C, A);
|
|
74694
|
-
},
|
|
74694
|
+
}, m6 = function(r, u, f, p) {
|
|
74695
74695
|
return Xi(r).undoManager.undo(u, f, p);
|
|
74696
74696
|
}, _I = function(r, u, f) {
|
|
74697
74697
|
return Xi(r).undoManager.redo(u, f);
|
|
@@ -74711,7 +74711,7 @@ Required: ` + u.join(", "));
|
|
|
74711
74711
|
Xi(r).undoManager.extra(u, f, p, y);
|
|
74712
74712
|
}, EI = function(r, u, f, p) {
|
|
74713
74713
|
return Xi(r).formatter.match(u, f, p);
|
|
74714
|
-
},
|
|
74714
|
+
}, g6 = function(r, u, f) {
|
|
74715
74715
|
return Xi(r).formatter.matchAll(u, f);
|
|
74716
74716
|
}, xS = function(r, u, f, p, y) {
|
|
74717
74717
|
return Xi(r).formatter.matchNode(u, f, p, y);
|
|
@@ -74727,12 +74727,12 @@ Required: ` + u.join(", "));
|
|
|
74727
74727
|
Xi(r).formatter.toggle(u, f, p);
|
|
74728
74728
|
}, SI = function(r, u, f, p, y) {
|
|
74729
74729
|
return y === void 0 && (y = !1), Xi(r).formatter.formatChanged(u, f, p, y);
|
|
74730
|
-
},
|
|
74731
|
-
return
|
|
74730
|
+
}, _6 = function(r, u, f) {
|
|
74731
|
+
return p6(r).editor.getContent(u, f);
|
|
74732
74732
|
}, kI = function(r, u, f) {
|
|
74733
|
-
return
|
|
74733
|
+
return p6(r).editor.setContent(u, f);
|
|
74734
74734
|
}, K4 = function(r, u, f) {
|
|
74735
|
-
return
|
|
74735
|
+
return p6(r).editor.insertContent(u, f);
|
|
74736
74736
|
}, TI = function(r, u, f) {
|
|
74737
74737
|
return Xi(r).selection.getContent(u, f);
|
|
74738
74738
|
}, NI = function(r, u) {
|
|
@@ -74741,7 +74741,7 @@ Required: ` + u.join(", "));
|
|
|
74741
74741
|
u === void 0 && (u = {});
|
|
74742
74742
|
var f = u.format ? u.format : "html";
|
|
74743
74743
|
return TI(r, f, u);
|
|
74744
|
-
},
|
|
74744
|
+
}, y6 = function(r) {
|
|
74745
74745
|
return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
|
|
74746
74746
|
}, AI = function(r, u) {
|
|
74747
74747
|
return r.filter(function(f) {
|
|
@@ -74770,7 +74770,7 @@ Required: ` + u.join(", "));
|
|
|
74770
74770
|
}, OI = function(r, u) {
|
|
74771
74771
|
var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
|
|
74772
74772
|
r.deleteContents(), r.insertNode(u);
|
|
74773
|
-
var y = f.bind(qs).filter(wi).bind(
|
|
74773
|
+
var y = f.bind(qs).filter(wi).bind(y6), C = p.bind(Ms).filter(wi).bind(y6);
|
|
74774
74774
|
IS(y, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
|
|
74775
74775
|
}, BI = function(r, u) {
|
|
74776
74776
|
return gr(gr({ format: "html" }, r), {
|
|
@@ -75061,7 +75061,7 @@ Required: ` + u.join(", "));
|
|
|
75061
75061
|
return u(new Blob([]));
|
|
75062
75062
|
}, u);
|
|
75063
75063
|
});
|
|
75064
|
-
},
|
|
75064
|
+
}, b6 = function(r) {
|
|
75065
75065
|
return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
|
|
75066
75066
|
}, $S = function(r) {
|
|
75067
75067
|
return new Li(function(u) {
|
|
@@ -75070,7 +75070,7 @@ Required: ` + u.join(", "));
|
|
|
75070
75070
|
u(f.result);
|
|
75071
75071
|
}, f.readAsDataURL(r);
|
|
75072
75072
|
});
|
|
75073
|
-
}, WI = 0,
|
|
75073
|
+
}, WI = 0, w6 = function(r) {
|
|
75074
75074
|
return (r || "blobid") + WI++;
|
|
75075
75075
|
}, jI = function(r, u, f, p) {
|
|
75076
75076
|
var y, C;
|
|
@@ -75078,9 +75078,9 @@ Required: ` + u.join(", "));
|
|
|
75078
75078
|
C = r.getByUri(u.src), C ? f({
|
|
75079
75079
|
image: u,
|
|
75080
75080
|
blobInfo: C
|
|
75081
|
-
}) :
|
|
75081
|
+
}) : b6(u.src).then(function(X) {
|
|
75082
75082
|
$S(X).then(function(ie) {
|
|
75083
|
-
y = xm(ie).data, C = r.create(
|
|
75083
|
+
y = xm(ie).data, C = r.create(w6(), X, y), r.add(C), f({
|
|
75084
75084
|
image: u,
|
|
75085
75085
|
blobInfo: C
|
|
75086
75086
|
});
|
|
@@ -75094,8 +75094,8 @@ Required: ` + u.join(", "));
|
|
|
75094
75094
|
y = P, C = r.getByData(y, M), C ? f({
|
|
75095
75095
|
image: u,
|
|
75096
75096
|
blobInfo: C
|
|
75097
|
-
}) :
|
|
75098
|
-
C = r.create(
|
|
75097
|
+
}) : b6(u.src).then(function(X) {
|
|
75098
|
+
C = r.create(w6(), X, y), r.add(C), f({
|
|
75099
75099
|
image: u,
|
|
75100
75100
|
blobInfo: C
|
|
75101
75101
|
});
|
|
@@ -75171,7 +75171,7 @@ Required: ` + u.join(", "));
|
|
|
75171
75171
|
var P = A.type, M = A.data;
|
|
75172
75172
|
return me.from(f.getByData(M, P)).orThunk(function() {
|
|
75173
75173
|
return RS(P, M).map(function(X) {
|
|
75174
|
-
var ie = f.create(
|
|
75174
|
+
var ie = f.create(w6(), X, M);
|
|
75175
75175
|
return f.add(ie), ie;
|
|
75176
75176
|
});
|
|
75177
75177
|
});
|
|
@@ -75572,7 +75572,7 @@ Required: ` + u.join(", "));
|
|
|
75572
75572
|
}, a9 = "html", Tl = function(r, u) {
|
|
75573
75573
|
u === void 0 && (u = {});
|
|
75574
75574
|
var f = u.format ? u.format : a9;
|
|
75575
|
-
return
|
|
75575
|
+
return _6(r, u, f);
|
|
75576
75576
|
}, X4 = function(r, u, f) {
|
|
75577
75577
|
return f === void 0 && (f = {}), kI(r, u, f);
|
|
75578
75578
|
}, J4 = ua.DOM, i9 = function(r) {
|
|
@@ -75621,7 +75621,7 @@ Required: ` + u.join(", "));
|
|
|
75621
75621
|
sections: Fe(r),
|
|
75622
75622
|
settings: Fe(u)
|
|
75623
75623
|
};
|
|
75624
|
-
},
|
|
75624
|
+
}, C6 = Wr().deviceType, h9 = C6.isTouch(), x6 = C6.isPhone(), Rv = C6.isTablet(), iu = [
|
|
75625
75625
|
"lists",
|
|
75626
75626
|
"autolink",
|
|
75627
75627
|
"autosave"
|
|
@@ -75641,7 +75641,7 @@ Required: ` + u.join(", "));
|
|
|
75641
75641
|
return Re(r, y);
|
|
75642
75642
|
});
|
|
75643
75643
|
return d9(f.t, f.f);
|
|
75644
|
-
},
|
|
75644
|
+
}, E6 = function(r, u, f) {
|
|
75645
75645
|
f === void 0 && (f = {});
|
|
75646
75646
|
var p = r.sections(), y = p.hasOwnProperty(u) ? p[u] : {};
|
|
75647
75647
|
return Ve.extend({}, f, y);
|
|
@@ -75709,14 +75709,14 @@ Required: ` + u.join(", "));
|
|
|
75709
75709
|
}, nk = function(r, u) {
|
|
75710
75710
|
return r && $g(u, "mobile");
|
|
75711
75711
|
}, rk = function(r, u, f, p, y) {
|
|
75712
|
-
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ?
|
|
75712
|
+
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ? E6(A, "mobile") : {}, {
|
|
75713
75713
|
validate: !0,
|
|
75714
75714
|
external_plugins: v9(p, A.settings())
|
|
75715
75715
|
});
|
|
75716
75716
|
return $_(r, A, p, P);
|
|
75717
75717
|
}, ok = function(r, u, f, p, y) {
|
|
75718
75718
|
var C = QS(y, u, f, h9, r);
|
|
75719
|
-
return rk(
|
|
75719
|
+
return rk(x6 || Rv, x6, C, p, y);
|
|
75720
75720
|
}, gh = function(r, u, f) {
|
|
75721
75721
|
return me.from(u.settings[f]).filter(r);
|
|
75722
75722
|
}, m9 = function(r) {
|
|
@@ -75752,7 +75752,7 @@ Required: ` + u.join(", "));
|
|
|
75752
75752
|
return parseInt(Zr(u, r), 10);
|
|
75753
75753
|
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75754
75754
|
return r.dom.getBoundingClientRect();
|
|
75755
|
-
},
|
|
75755
|
+
}, S6 = function(r, u, f) {
|
|
75756
75756
|
var p = y9(r), y = ik(r);
|
|
75757
75757
|
return u >= 0 && f >= 0 && u <= p && f <= y;
|
|
75758
75758
|
}, b9 = function(r, u, f, p) {
|
|
@@ -75763,7 +75763,7 @@ Required: ` + u.join(", "));
|
|
|
75763
75763
|
};
|
|
75764
75764
|
}, ck = function(r, u, f) {
|
|
75765
75765
|
var p = be.fromDom(r.getBody()), y = r.inline ? p : Ii(p), C = b9(r.inline, y, u, f);
|
|
75766
|
-
return
|
|
75766
|
+
return S6(y, C.x, C.y);
|
|
75767
75767
|
}, w9 = function(r) {
|
|
75768
75768
|
return me.from(r).map(be.fromDom);
|
|
75769
75769
|
}, C9 = function(r) {
|
|
@@ -75934,7 +75934,7 @@ Required: ` + u.join(", "));
|
|
|
75934
75934
|
e3(r, "IconsLoadError", Uu("icons", u, f));
|
|
75935
75935
|
}, k9 = function(r, u, f) {
|
|
75936
75936
|
e3(r, "LanguageLoadError", Uu("language", u, f));
|
|
75937
|
-
},
|
|
75937
|
+
}, k6 = function(r, u, f) {
|
|
75938
75938
|
var p = Us.translate([
|
|
75939
75939
|
"Failed to initialize plugin: {0}",
|
|
75940
75940
|
u
|
|
@@ -75948,17 +75948,17 @@ Required: ` + u.join(", "));
|
|
|
75948
75948
|
}, Vg = function(r) {
|
|
75949
75949
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75950
75950
|
}, T9 = function(r) {
|
|
75951
|
-
return
|
|
75951
|
+
return T6(r, cb(r));
|
|
75952
75952
|
}, vk = function(r) {
|
|
75953
|
-
return
|
|
75954
|
-
},
|
|
75953
|
+
return T6(r, f2(r));
|
|
75954
|
+
}, T6 = function(r, u) {
|
|
75955
75955
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, y = "content" + p + ".css", C = r.inline === !0;
|
|
75956
75956
|
return ne(u, function(A) {
|
|
75957
75957
|
return Vg(A) && !C ? f + "/" + A + "/" + y : r.documentBaseURI.toAbsolute(A);
|
|
75958
75958
|
});
|
|
75959
|
-
},
|
|
75959
|
+
}, N6 = function(r) {
|
|
75960
75960
|
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75961
|
-
},
|
|
75961
|
+
}, A6 = function() {
|
|
75962
75962
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75963
75963
|
return {
|
|
75964
75964
|
status: se,
|
|
@@ -75992,13 +75992,13 @@ Required: ` + u.join(", "));
|
|
|
75992
75992
|
removeFailed: ie,
|
|
75993
75993
|
destroy: ae
|
|
75994
75994
|
};
|
|
75995
|
-
},
|
|
75995
|
+
}, I6 = 0, N9 = function() {
|
|
75996
75996
|
var r = function() {
|
|
75997
75997
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
75998
75998
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
75999
75999
|
return "s" + u.toString(36) + r() + r() + r();
|
|
76000
76000
|
}, pk = function(r) {
|
|
76001
|
-
return r +
|
|
76001
|
+
return r + I6++ + N9();
|
|
76002
76002
|
}, A9 = function() {
|
|
76003
76003
|
var r = [], u = function(ae) {
|
|
76004
76004
|
var se = {
|
|
@@ -76181,7 +76181,7 @@ Required: ` + u.join(", "));
|
|
|
76181
76181
|
handler: Qw(r)
|
|
76182
76182
|
});
|
|
76183
76183
|
}, I9 = function(r) {
|
|
76184
|
-
var u =
|
|
76184
|
+
var u = A6(), f = gk(r, u);
|
|
76185
76185
|
return {
|
|
76186
76186
|
upload: function(p, y) {
|
|
76187
76187
|
return y === void 0 && (y = !0), f.upload(p, y ? mk(r) : void 0);
|
|
@@ -76205,7 +76205,7 @@ Required: ` + u.join(", "));
|
|
|
76205
76205
|
};
|
|
76206
76206
|
return { fireIfChanged: f };
|
|
76207
76207
|
}, D9 = function(r) {
|
|
76208
|
-
var u = A9(), f, p, y =
|
|
76208
|
+
var u = A9(), f, p, y = A6(), C = [], A = F_(r), P = function(yt) {
|
|
76209
76209
|
return function(Mt) {
|
|
76210
76210
|
return r.selection ? yt(Mt) : [];
|
|
76211
76211
|
};
|
|
@@ -76762,7 +76762,7 @@ Required: ` + u.join(", "));
|
|
|
76762
76762
|
return SS(r, p);
|
|
76763
76763
|
},
|
|
76764
76764
|
matchAll: function(p, y) {
|
|
76765
|
-
return
|
|
76765
|
+
return g6(r, p, y);
|
|
76766
76766
|
},
|
|
76767
76767
|
matchNode: function(p, y, C, A) {
|
|
76768
76768
|
return xS(r, p, y, C, A);
|
|
@@ -76791,7 +76791,7 @@ Required: ` + u.join(", "));
|
|
|
76791
76791
|
u.beforeChange();
|
|
76792
76792
|
}), r.on("SaveContent ObjectResized blur", y), r.on("dragend", y), r.on("keyup", function(M) {
|
|
76793
76793
|
var X = M.keyCode;
|
|
76794
|
-
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (y(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(
|
|
76794
|
+
M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (y(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(c6(r), u.data[0]) === !1 && (r.isDirty() === !1 && (r.setDirty(!0), r.fire("change", {
|
|
76795
76795
|
level: u.data[0],
|
|
76796
76796
|
lastLevel: null
|
|
76797
76797
|
})), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
|
|
@@ -76833,7 +76833,7 @@ Required: ` + u.join(", "));
|
|
|
76833
76833
|
return gI(r, y, p, f, u, C, A);
|
|
76834
76834
|
},
|
|
76835
76835
|
undo: function() {
|
|
76836
|
-
return
|
|
76836
|
+
return m6(r, y, f, p);
|
|
76837
76837
|
},
|
|
76838
76838
|
redo: function() {
|
|
76839
76839
|
return _I(r, p, y.data);
|
|
@@ -76903,7 +76903,7 @@ Required: ` + u.join(", "));
|
|
|
76903
76903
|
return y ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(y) : f === y.nodeName.toLowerCase() : !0;
|
|
76904
76904
|
} else
|
|
76905
76905
|
return !1;
|
|
76906
|
-
},
|
|
76906
|
+
}, D6 = function(r) {
|
|
76907
76907
|
var u = r.dom, f = Oi(r), p = nC(r), y = function(C, A) {
|
|
76908
76908
|
if (!F9(C)) {
|
|
76909
76909
|
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
@@ -76946,11 +76946,11 @@ Required: ` + u.join(", "));
|
|
|
76946
76946
|
return li(r, u) ? jm(u, function(f) {
|
|
76947
76947
|
return Ra(f) || pp(f);
|
|
76948
76948
|
}, a3(r)) : me.none();
|
|
76949
|
-
},
|
|
76949
|
+
}, O6 = function(r) {
|
|
76950
76950
|
var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
|
|
76951
76951
|
r.selection.setCursorLocation(f, 0);
|
|
76952
76952
|
}, i3 = function(r) {
|
|
76953
|
-
r.dom.isEmpty(r.getBody()) && (r.setContent(""),
|
|
76953
|
+
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
|
|
76954
76954
|
}, kk = function(r, u, f) {
|
|
76955
76955
|
return ki(jl(f), Ru(f), function(p, y) {
|
|
76956
76956
|
var C = Nl(!0, p), A = Nl(!1, y), P = Nl(!1, u);
|
|
@@ -77014,7 +77014,7 @@ Required: ` + u.join(", "));
|
|
|
77014
77014
|
}, cd = function(r) {
|
|
77015
77015
|
var u = Bk(r);
|
|
77016
77016
|
return he(u, pi), u;
|
|
77017
|
-
},
|
|
77017
|
+
}, B6 = function(r, u) {
|
|
77018
77018
|
var f = qo(u, r);
|
|
77019
77019
|
return _n(f.reverse(), function(p) {
|
|
77020
77020
|
return ws(p);
|
|
@@ -77030,14 +77030,14 @@ Required: ` + u.join(", "));
|
|
|
77030
77030
|
var y = mc(f.dom, un.before(p.dom));
|
|
77031
77031
|
return he(cd(u), function(C) {
|
|
77032
77032
|
cl(p, C);
|
|
77033
|
-
}),
|
|
77033
|
+
}), B6(r, u), y;
|
|
77034
77034
|
}, Ac = function(r, u, f) {
|
|
77035
77035
|
if (ws(f))
|
|
77036
77036
|
return pi(f), ws(u) && js(u), jl(u.dom);
|
|
77037
77037
|
var p = Ru(f.dom);
|
|
77038
77038
|
return he(cd(u), function(y) {
|
|
77039
77039
|
Ha(f, y);
|
|
77040
|
-
}),
|
|
77040
|
+
}), B6(r, u), p;
|
|
77041
77041
|
}, H9 = function(r, u) {
|
|
77042
77042
|
var f = qo(u, r);
|
|
77043
77043
|
return me.from(f[f.length - 1]);
|
|
@@ -77080,7 +77080,7 @@ Required: ` + u.join(", "));
|
|
|
77080
77080
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77081
77081
|
}, Ug = function(r, u) {
|
|
77082
77082
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77083
|
-
},
|
|
77083
|
+
}, P6 = $s, Vk = xa, _h = function(r, u, f, p, y) {
|
|
77084
77084
|
return me.from(u._selectionOverrides.showCaret(r, f, p, y));
|
|
77085
77085
|
}, X9 = function(r) {
|
|
77086
77086
|
var u = r.ownerDocument.createRange();
|
|
@@ -77088,7 +77088,7 @@ Required: ` + u.join(", "));
|
|
|
77088
77088
|
}, km = function(r, u) {
|
|
77089
77089
|
var f = r.fire("BeforeObjectSelected", { target: u });
|
|
77090
77090
|
return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
|
|
77091
|
-
},
|
|
77091
|
+
}, M6 = function(r, u, f) {
|
|
77092
77092
|
var p = x2(1, r.getBody(), u), y = un.fromRangeStart(p), C = y.getNode();
|
|
77093
77093
|
if (Jd(C))
|
|
77094
77094
|
return _h(1, r, C, !y.isAtEnd(), !1);
|
|
@@ -77096,16 +77096,16 @@ Required: ` + u.join(", "));
|
|
|
77096
77096
|
if (Jd(A))
|
|
77097
77097
|
return _h(1, r, A, !1, !1);
|
|
77098
77098
|
var P = r.dom.getParent(y.getNode(), function(M) {
|
|
77099
|
-
return Vk(M) ||
|
|
77099
|
+
return Vk(M) || P6(M);
|
|
77100
77100
|
});
|
|
77101
77101
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77102
77102
|
}, H_ = function(r, u, f) {
|
|
77103
|
-
return u.collapsed ?
|
|
77103
|
+
return u.collapsed ? M6(r, u, f).getOr(u) : u;
|
|
77104
77104
|
}, Lk = function(r) {
|
|
77105
77105
|
return Yo(r) || Cr(r);
|
|
77106
77106
|
}, Uk = function(r) {
|
|
77107
77107
|
return Xo(r) || uo(r);
|
|
77108
|
-
},
|
|
77108
|
+
}, R6 = function(r, u) {
|
|
77109
77109
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77110
77110
|
}, zk = function(r, u, f, p, y, C) {
|
|
77111
77111
|
return _h(p, r, C.getNode(!y), y, !0).each(function(A) {
|
|
@@ -77115,7 +77115,7 @@ Required: ` + u.join(", "));
|
|
|
77115
77115
|
} else
|
|
77116
77116
|
u.deleteContents();
|
|
77117
77117
|
r.selection.setRng(A);
|
|
77118
|
-
}),
|
|
77118
|
+
}), R6(r.dom, f), !0;
|
|
77119
77119
|
}, J9 = function(r, u) {
|
|
77120
77120
|
var f = r.selection.getRng();
|
|
77121
77121
|
if (!Bn(f.commonAncestorContainer))
|
|
@@ -77145,16 +77145,16 @@ Required: ` + u.join(", "));
|
|
|
77145
77145
|
return U1(!u, f).fold(function() {
|
|
77146
77146
|
return U1(u, p).fold(Qe, y);
|
|
77147
77147
|
}, y);
|
|
77148
|
-
}, $
|
|
77148
|
+
}, $6 = function(r, u, f, p) {
|
|
77149
77149
|
var y = p.getNode(u === !1);
|
|
77150
77150
|
return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
|
|
77151
77151
|
return ws(C) ? cs.remove(C.dom) : cs.moveToElement(y);
|
|
77152
77152
|
}).orThunk(function() {
|
|
77153
77153
|
return me.some(cs.moveToElement(y));
|
|
77154
77154
|
});
|
|
77155
|
-
},
|
|
77155
|
+
}, F6 = function(r, u, f) {
|
|
77156
77156
|
return Hs(u, r, f).bind(function(p) {
|
|
77157
|
-
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $
|
|
77157
|
+
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $6(r, u, f, p) : u && Xo(f) || u === !1 && Yo(f) ? me.some(cs.moveToPosition(p)) : me.none();
|
|
77158
77158
|
});
|
|
77159
77159
|
}, Wk = function(r, u) {
|
|
77160
77160
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
@@ -77168,8 +77168,8 @@ Required: ` + u.join(", "));
|
|
|
77168
77168
|
});
|
|
77169
77169
|
}, Gk = function(r, u, f) {
|
|
77170
77170
|
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77171
|
-
return
|
|
77172
|
-
}, me.some) :
|
|
77171
|
+
return F6(r, u, f);
|
|
77172
|
+
}, me.some) : F6(r, u, f).bind(function(p) {
|
|
77173
77173
|
return jk(r, f, p);
|
|
77174
77174
|
});
|
|
77175
77175
|
}, qk = function(r, u, f) {
|
|
@@ -77188,7 +77188,7 @@ Required: ` + u.join(", "));
|
|
|
77188
77188
|
var p = u ? un.before(f) : un.after(f);
|
|
77189
77189
|
return r.selection.setRng(p.toRange()), !0;
|
|
77190
77190
|
};
|
|
77191
|
-
},
|
|
77191
|
+
}, V6 = function(r) {
|
|
77192
77192
|
return function(u) {
|
|
77193
77193
|
return r.selection.setRng(u.toRange()), !0;
|
|
77194
77194
|
};
|
|
@@ -77198,7 +77198,7 @@ Required: ` + u.join(", "));
|
|
|
77198
77198
|
var f = r.selection.getNode();
|
|
77199
77199
|
return Kk(r, f).filter(xa).fold(function() {
|
|
77200
77200
|
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77201
|
-
return p.fold(f3(r, u), d3(r, u),
|
|
77201
|
+
return p.fold(f3(r, u), d3(r, u), V6(r));
|
|
77202
77202
|
});
|
|
77203
77203
|
}, Ht);
|
|
77204
77204
|
}, Q9 = function(r) {
|
|
@@ -77212,7 +77212,7 @@ Required: ` + u.join(", "));
|
|
|
77212
77212
|
}, Ht);
|
|
77213
77213
|
}
|
|
77214
77214
|
return !1;
|
|
77215
|
-
},
|
|
77215
|
+
}, L6 = function(r) {
|
|
77216
77216
|
var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
|
|
77217
77217
|
if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
|
|
77218
77218
|
var y = u.create("br", { "data-mce-bogus": "1" });
|
|
@@ -77259,7 +77259,7 @@ Required: ` + u.join(", "));
|
|
|
77259
77259
|
}, Zk = function(r, u) {
|
|
77260
77260
|
var f = u.get();
|
|
77261
77261
|
return f && r.container() === f && Wc(f);
|
|
77262
|
-
},
|
|
77262
|
+
}, U6 = function(r, u) {
|
|
77263
77263
|
return u.fold(function(f) {
|
|
77264
77264
|
qf(r.get());
|
|
77265
77265
|
var p = p3(f);
|
|
@@ -77297,11 +77297,11 @@ Required: ` + u.join(", "));
|
|
|
77297
77297
|
{ start: ["element"] },
|
|
77298
77298
|
{ end: ["element"] },
|
|
77299
77299
|
{ after: ["element"] }
|
|
77300
|
-
]),
|
|
77300
|
+
]), z6 = function(r, u) {
|
|
77301
77301
|
var f = Yf(u, r);
|
|
77302
77302
|
return f || r;
|
|
77303
77303
|
}, oD = function(r, u, f) {
|
|
77304
|
-
var p = Vv(f), y =
|
|
77304
|
+
var p = Vv(f), y = z6(u, p.container());
|
|
77305
77305
|
return lu(r, y, p).fold(function() {
|
|
77306
77306
|
return eu(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77307
77307
|
return fs.before(C);
|
|
@@ -77324,14 +77324,14 @@ Required: ` + u.join(", "));
|
|
|
77324
77324
|
return C.isNone() ? me.some(fs.end(y)) : me.none();
|
|
77325
77325
|
});
|
|
77326
77326
|
}, sD = function(r, u, f) {
|
|
77327
|
-
var p = U_(f), y =
|
|
77327
|
+
var p = U_(f), y = z6(u, p.container());
|
|
77328
77328
|
return lu(r, y, p).fold(function() {
|
|
77329
77329
|
return mc(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77330
77330
|
return fs.after(C);
|
|
77331
77331
|
});
|
|
77332
77332
|
}, me.none);
|
|
77333
77333
|
}, e5 = function(r) {
|
|
77334
|
-
return z9(
|
|
77334
|
+
return z9(H6(r)) === !1;
|
|
77335
77335
|
}, fd = function(r, u, f) {
|
|
77336
77336
|
var p = Qk([
|
|
77337
77337
|
oD,
|
|
@@ -77344,7 +77344,7 @@ Required: ` + u.join(", "));
|
|
|
77344
77344
|
f
|
|
77345
77345
|
]);
|
|
77346
77346
|
return p.filter(e5);
|
|
77347
|
-
},
|
|
77347
|
+
}, H6 = function(r) {
|
|
77348
77348
|
return r.fold(_t, _t, _t, _t);
|
|
77349
77349
|
}, t5 = function(r) {
|
|
77350
77350
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
@@ -77353,7 +77353,7 @@ Required: ` + u.join(", "));
|
|
|
77353
77353
|
}, Wg = function(r) {
|
|
77354
77354
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77355
77355
|
}, uD = function(r, u) {
|
|
77356
|
-
return t5(r) === t5(u) &&
|
|
77356
|
+
return t5(r) === t5(u) && H6(r) === H6(u);
|
|
77357
77357
|
}, cD = function(r, u, f, p, y, C) {
|
|
77358
77358
|
return ki(lu(u, f, p), lu(u, f, y), function(A, P) {
|
|
77359
77359
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77371,13 +77371,13 @@ Required: ` + u.join(", "));
|
|
|
77371
77371
|
return P.filter(e5);
|
|
77372
77372
|
}, dD = function(r, u) {
|
|
77373
77373
|
return r ? u.fold(te(me.some, fs.start), me.none, te(me.some, fs.after), me.none) : u.fold(me.none, te(me.some, fs.before), me.none, te(me.some, fs.end));
|
|
77374
|
-
},
|
|
77374
|
+
}, W6 = function(r, u, f, p) {
|
|
77375
77375
|
var y = Nl(r, p), C = fd(u, f, y);
|
|
77376
77376
|
return fd(u, f, y).bind(Ue(dD, r)).orThunk(function() {
|
|
77377
77377
|
return fD(r, u, f, C, p);
|
|
77378
77378
|
});
|
|
77379
77379
|
};
|
|
77380
|
-
Ue(
|
|
77380
|
+
Ue(W6, !1), Ue(W6, !0);
|
|
77381
77381
|
var hD = function(r) {
|
|
77382
77382
|
return Pe(r.selection.getSel().modify);
|
|
77383
77383
|
}, n5 = function(r, u, f) {
|
|
@@ -77449,7 +77449,7 @@ Required: ` + u.join(", "));
|
|
|
77449
77449
|
});
|
|
77450
77450
|
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77451
77451
|
return Nm(r, u).breakAt.isNone();
|
|
77452
|
-
},
|
|
77452
|
+
}, j6 = function(r, u) {
|
|
77453
77453
|
return W_(r, u).breakAt.isNone();
|
|
77454
77454
|
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77455
77455
|
return jl(r).map(function(u) {
|
|
@@ -77499,7 +77499,7 @@ Required: ` + u.join(", "));
|
|
|
77499
77499
|
return u.line > r;
|
|
77500
77500
|
}, c5 = function(r, u) {
|
|
77501
77501
|
return u.line === r;
|
|
77502
|
-
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il),
|
|
77502
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
|
|
77503
77503
|
var y = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77504
77504
|
return oa(Oe.getClientRects());
|
|
77505
77505
|
};
|
|
@@ -77517,13 +77517,13 @@ Required: ` + u.join(", "));
|
|
|
77517
77517
|
return function(u) {
|
|
77518
77518
|
return Gg(r, u);
|
|
77519
77519
|
};
|
|
77520
|
-
},
|
|
77520
|
+
}, q6 = function(r) {
|
|
77521
77521
|
return function(u) {
|
|
77522
77522
|
return c5(r, u);
|
|
77523
77523
|
};
|
|
77524
|
-
}, bD = xa, v5 = cv,
|
|
77524
|
+
}, bD = xa, v5 = cv, K6 = function(r, u) {
|
|
77525
77525
|
return Math.abs(r.left - u);
|
|
77526
|
-
},
|
|
77526
|
+
}, Y6 = function(r, u) {
|
|
77527
77527
|
return Math.abs(r.right - u);
|
|
77528
77528
|
}, Dc = function(r, u) {
|
|
77529
77529
|
return r >= u.left && r <= u.right;
|
|
@@ -77531,7 +77531,7 @@ Required: ` + u.join(", "));
|
|
|
77531
77531
|
return r >= u.top && r <= u.bottom;
|
|
77532
77532
|
}, C3 = function(r, u) {
|
|
77533
77533
|
return Po(r, function(f, p) {
|
|
77534
|
-
var y = Math.min(
|
|
77534
|
+
var y = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
|
|
77535
77535
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === y && bD(p.node) || C < y ? p : f;
|
|
77536
77536
|
});
|
|
77537
77537
|
}, p5 = function(r, u, f, p, y) {
|
|
@@ -77554,7 +77554,7 @@ Required: ` + u.join(", "));
|
|
|
77554
77554
|
}, ED = function(r, u) {
|
|
77555
77555
|
return {
|
|
77556
77556
|
node: r.node,
|
|
77557
|
-
before:
|
|
77557
|
+
before: K6(r, u) < Y6(r, u)
|
|
77558
77558
|
};
|
|
77559
77559
|
}, SD = function(r, u, f) {
|
|
77560
77560
|
var p = w3(xD(r)), y = Pt(p, Ue(wD, f)), C = C3(y, u);
|
|
@@ -77566,7 +77566,7 @@ Required: ` + u.join(", "));
|
|
|
77566
77566
|
return null;
|
|
77567
77567
|
}, di = function(r, u) {
|
|
77568
77568
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77569
|
-
},
|
|
77569
|
+
}, X6 = function(r, u, f) {
|
|
77570
77570
|
return me.some(H_(r, u, f));
|
|
77571
77571
|
}, m5 = function(r, u, f, p, y, C) {
|
|
77572
77572
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : y;
|
|
@@ -77584,21 +77584,21 @@ Required: ` + u.join(", "));
|
|
|
77584
77584
|
if (X(se))
|
|
77585
77585
|
return _h(u, r, se.getNode(!A), A, !1);
|
|
77586
77586
|
var Oe = M(se);
|
|
77587
|
-
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ?
|
|
77588
|
-
},
|
|
77587
|
+
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X6(r, se.toRange(), !1) : me.none();
|
|
77588
|
+
}, J6 = function(r, u, f, p, y, C) {
|
|
77589
77589
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77590
77590
|
if (!P)
|
|
77591
77591
|
return me.none();
|
|
77592
|
-
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie,
|
|
77592
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
|
|
77593
77593
|
if (ke && C(ke.node)) {
|
|
77594
77594
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77595
77595
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77596
77596
|
}
|
|
77597
77597
|
var Ee;
|
|
77598
77598
|
if (p(A) ? Ee = A.getNode() : y(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77599
|
-
var ot =
|
|
77600
|
-
if (et || (et = oa(Pt(ot,
|
|
77601
|
-
return
|
|
77599
|
+
var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
|
|
77600
|
+
if (et || (et = oa(Pt(ot, q6(0))), et))
|
|
77601
|
+
return X6(r, et.position.toRange(), !1);
|
|
77602
77602
|
}
|
|
77603
77603
|
return ae.length === 0 ? j_(r, M).filter(M ? y : p).map(function(ut) {
|
|
77604
77604
|
return H_(r, ut.toRange(), !1);
|
|
@@ -77622,11 +77622,11 @@ Required: ` + u.join(", "));
|
|
|
77622
77622
|
}, _5 = function(r, u) {
|
|
77623
77623
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77624
77624
|
}, Uv = function(r, u, f) {
|
|
77625
|
-
return
|
|
77625
|
+
return U6(u, f).map(function(p) {
|
|
77626
77626
|
return x3(r, p), f;
|
|
77627
77627
|
});
|
|
77628
77628
|
}, kD = function(r, u, f) {
|
|
77629
|
-
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A =
|
|
77629
|
+
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W6(f, C, p, y);
|
|
77630
77630
|
return A.bind(function(P) {
|
|
77631
77631
|
return Uv(r, u, P);
|
|
77632
77632
|
});
|
|
@@ -77667,7 +77667,7 @@ Required: ` + u.join(", "));
|
|
|
77667
77667
|
});
|
|
77668
77668
|
return fd(Ue(Em, r), r.getBody(), p).exists(function(y) {
|
|
77669
77669
|
var C = Tm(y);
|
|
77670
|
-
return
|
|
77670
|
+
return U6(f, C).exists(function(A) {
|
|
77671
77671
|
return x3(r, A), !0;
|
|
77672
77672
|
});
|
|
77673
77673
|
});
|
|
@@ -77685,7 +77685,7 @@ Required: ` + u.join(", "));
|
|
|
77685
77685
|
}).getOr(!0);
|
|
77686
77686
|
}, C5 = function(r, u) {
|
|
77687
77687
|
return function(f) {
|
|
77688
|
-
return
|
|
77688
|
+
return U6(u, f).exists(function(p) {
|
|
77689
77689
|
return x3(r, p), !0;
|
|
77690
77690
|
});
|
|
77691
77691
|
};
|
|
@@ -77728,9 +77728,9 @@ Required: ` + u.join(", "));
|
|
|
77728
77728
|
return Kn(f, Fs).fold(Fe(f), function(p) {
|
|
77729
77729
|
return f.slice(0, p);
|
|
77730
77730
|
});
|
|
77731
|
-
},
|
|
77731
|
+
}, Z6 = function(r) {
|
|
77732
77732
|
return va(r).length === 1;
|
|
77733
|
-
},
|
|
77733
|
+
}, Q6 = function(r, u, f, p) {
|
|
77734
77734
|
var y = Ue(DA, u), C = ne(Pt(p, y), function(P) {
|
|
77735
77735
|
return P.dom;
|
|
77736
77736
|
});
|
|
@@ -77741,10 +77741,10 @@ Required: ` + u.join(", "));
|
|
|
77741
77741
|
u.selection.setRng(A.toRange());
|
|
77742
77742
|
}
|
|
77743
77743
|
}, BD = function(r, u) {
|
|
77744
|
-
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p),
|
|
77744
|
+
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p), Z6);
|
|
77745
77745
|
return nr(y).exists(function(C) {
|
|
77746
77746
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77747
|
-
return kk(u, A, C.dom) && !OA(C) ? (
|
|
77747
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, y), !0) : !1;
|
|
77748
77748
|
});
|
|
77749
77749
|
}, hd = function(r, u) {
|
|
77750
77750
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77956,7 +77956,7 @@ Required: ` + u.join(", "));
|
|
|
77956
77956
|
}, y = function(C) {
|
|
77957
77957
|
return Xo(C) || xo(C);
|
|
77958
77958
|
};
|
|
77959
|
-
return
|
|
77959
|
+
return J6(u, r, f, p, y, rx);
|
|
77960
77960
|
}, tO = function(r) {
|
|
77961
77961
|
var u = r.dom.create(Oi(r));
|
|
77962
77962
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
@@ -78012,7 +78012,7 @@ Required: ` + u.join(", "));
|
|
|
78012
78012
|
var f = Ue(yo, u);
|
|
78013
78013
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
78014
78014
|
}, $5 = function(r, u, f) {
|
|
78015
|
-
return u ?
|
|
78015
|
+
return u ? j6(r.dom, f) : a5(r.dom, f);
|
|
78016
78016
|
}, F5 = function(r, u) {
|
|
78017
78017
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), y = Oi(r), C = iv(r);
|
|
78018
78018
|
return lO(p, f).exists(function() {
|
|
@@ -78058,7 +78058,7 @@ Required: ` + u.join(", "));
|
|
|
78058
78058
|
});
|
|
78059
78059
|
}, Im = function(r, u) {
|
|
78060
78060
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
78061
|
-
return
|
|
78061
|
+
return J6(r, f, p, Cr, uo, es).exists(function(y) {
|
|
78062
78062
|
return di(r, y), !0;
|
|
78063
78063
|
});
|
|
78064
78064
|
}, lx = function(r, u) {
|
|
@@ -78375,11 +78375,11 @@ Required: ` + u.join(", "));
|
|
|
78375
78375
|
Yg([
|
|
78376
78376
|
{
|
|
78377
78377
|
keyCode: Pr.BACKSPACE,
|
|
78378
|
-
action: Eo(
|
|
78378
|
+
action: Eo(L6, r)
|
|
78379
78379
|
},
|
|
78380
78380
|
{
|
|
78381
78381
|
keyCode: Pr.DELETE,
|
|
78382
|
-
action: Eo(
|
|
78382
|
+
action: Eo(L6, r)
|
|
78383
78383
|
}
|
|
78384
78384
|
], u);
|
|
78385
78385
|
}, px = function(r, u) {
|
|
@@ -78762,7 +78762,7 @@ Required: ` + u.join(", "));
|
|
|
78762
78762
|
MO(r, u);
|
|
78763
78763
|
}, ve);
|
|
78764
78764
|
}, uT = function(r, u) {
|
|
78765
|
-
u.isDefaultPrevented() || (u.preventDefault(),
|
|
78765
|
+
u.isDefaultPrevented() || (u.preventDefault(), h6(r.undoManager), r.undoManager.transact(function() {
|
|
78766
78766
|
r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
|
|
78767
78767
|
}));
|
|
78768
78768
|
}, cT = function(r) {
|
|
@@ -78963,7 +78963,7 @@ Required: ` + u.join(", "));
|
|
|
78963
78963
|
return u.setEnd(A.container(), A.offset());
|
|
78964
78964
|
});
|
|
78965
78965
|
}
|
|
78966
|
-
r.selection.setRng(
|
|
78966
|
+
r.selection.setRng(D8(u));
|
|
78967
78967
|
}, f7 = function(r) {
|
|
78968
78968
|
r.on("click", function(u) {
|
|
78969
78969
|
u.detail >= 3 && Ex(r);
|
|
@@ -79238,7 +79238,7 @@ Required: ` + u.join(", "));
|
|
|
79238
79238
|
}, ot = function() {
|
|
79239
79239
|
r.on("mouseup", function(Gn) {
|
|
79240
79240
|
var ir = Oe();
|
|
79241
|
-
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) &&
|
|
79241
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
|
|
79242
79242
|
}), r.on("click", function(Gn) {
|
|
79243
79243
|
var ir = ty(r, Gn.target);
|
|
79244
79244
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79768,7 +79768,7 @@ Required: ` + u.join(", "));
|
|
|
79768
79768
|
}
|
|
79769
79769
|
}), r.parser = xT(r), r.serializer = YS(R7(r), r), r.selection = PS(r.dom, r.getWin(), r.serializer, r), r.annotator = tg(r), r.formatter = wk(r), r.undoManager = Ck(r), r._nodeChangeDispatcher = new l7(r), r._selectionOverrides = bT(r), WD(r), c7(r), ja(r) || f7(r);
|
|
79770
79770
|
var A = i7(r);
|
|
79771
|
-
UD(r, A), YD(r),
|
|
79771
|
+
UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
|
|
79772
79772
|
F3(r);
|
|
79773
79773
|
}, function(P) {
|
|
79774
79774
|
r.setProgressState(!0), P.then(function(M) {
|
|
@@ -79824,7 +79824,7 @@ Required: ` + u.join(", "));
|
|
|
79824
79824
|
var C = new p(r, y, r.$);
|
|
79825
79825
|
r.plugins[f] = C, C.init && (C.init(r, y), u.push(f));
|
|
79826
79826
|
} catch (A) {
|
|
79827
|
-
|
|
79827
|
+
k6(r, f, A);
|
|
79828
79828
|
}
|
|
79829
79829
|
}
|
|
79830
79830
|
}, NT = function(r) {
|
|
@@ -79886,7 +79886,7 @@ Required: ` + u.join(", "));
|
|
|
79886
79886
|
editorContainer: u.editorContainer,
|
|
79887
79887
|
iframeContainer: u.iframeContainer
|
|
79888
79888
|
};
|
|
79889
|
-
return r.editorContainer = f.editorContainer ? f.editorContainer : null,
|
|
79889
|
+
return r.editorContainer = f.editorContainer ? f.editorContainer : null, N6(r), r.inline ? V3(r) : j7(r, f);
|
|
79890
79890
|
}, Om = ua.DOM, z3 = function(r) {
|
|
79891
79891
|
return r.charAt(0) === "-";
|
|
79892
79892
|
}, J7 = function(r, u) {
|
|
@@ -80038,7 +80038,7 @@ Required: ` + u.join(", "));
|
|
|
80038
80038
|
}, y = function(C) {
|
|
80039
80039
|
return yo(be.fromDom(u), C);
|
|
80040
80040
|
};
|
|
80041
|
-
return
|
|
80041
|
+
return L8(be.fromDom(f), function(C) {
|
|
80042
80042
|
return p(C);
|
|
80043
80043
|
}, y);
|
|
80044
80044
|
}, aB = function(r) {
|
|
@@ -80093,7 +80093,7 @@ Required: ` + u.join(", "));
|
|
|
80093
80093
|
}).getOr("");
|
|
80094
80094
|
}, dB = function(r) {
|
|
80095
80095
|
return Zg(r, function(u) {
|
|
80096
|
-
var f = be.fromDom(r.getBody()), p =
|
|
80096
|
+
var f = be.fromDom(r.getBody()), p = L8(u, function(C) {
|
|
80097
80097
|
return ea(C, "line-height");
|
|
80098
80098
|
}, Ue(yo, f)), y = function() {
|
|
80099
80099
|
var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
|
|
@@ -87069,7 +87069,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87069
87069
|
return c4(a, v, c, -1);
|
|
87070
87070
|
}, Cc = function(a, c, v) {
|
|
87071
87071
|
return c4(a, v, c, 1);
|
|
87072
|
-
},
|
|
87072
|
+
}, e8 = [
|
|
87073
87073
|
bi("selectors", [
|
|
87074
87074
|
nt("row"),
|
|
87075
87075
|
nt("cell")
|
|
@@ -87085,11 +87085,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87085
87085
|
b.each(function(x) {
|
|
87086
87086
|
c.focusManager.set(a, x);
|
|
87087
87087
|
});
|
|
87088
|
-
},
|
|
87088
|
+
}, t8 = function(a, c, v) {
|
|
87089
87089
|
return El(a.element).bind(function(b) {
|
|
87090
87090
|
return v.execute(a, c, b);
|
|
87091
87091
|
});
|
|
87092
|
-
},
|
|
87092
|
+
}, n8 = function(a, c) {
|
|
87093
87093
|
return Ge(a, function(v) {
|
|
87094
87094
|
return Hl(v, c.selectors.cell);
|
|
87095
87095
|
});
|
|
@@ -87101,7 +87101,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87101
87101
|
return Z2(F, b).bind(function(L) {
|
|
87102
87102
|
var G = Hl(v, x.selectors.row);
|
|
87103
87103
|
return Z2(G, D).bind(function(Z) {
|
|
87104
|
-
var ee =
|
|
87104
|
+
var ee = n8(G, x);
|
|
87105
87105
|
return N(ee, Z, L).map(function(fe) {
|
|
87106
87106
|
return fe.cell;
|
|
87107
87107
|
});
|
|
@@ -87109,13 +87109,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87109
87109
|
});
|
|
87110
87110
|
});
|
|
87111
87111
|
};
|
|
87112
|
-
}, vg = rd(dg, d4), p4 = rd(fg, wc),
|
|
87112
|
+
}, vg = rd(dg, d4), p4 = rd(fg, wc), r8 = rd(hg, QC), Av = rd(f4, Cc), o8 = V([
|
|
87113
87113
|
Co(ho(ng), ag(vg, p4)),
|
|
87114
87114
|
Co(ho(ch), om(vg, p4)),
|
|
87115
|
-
Co(ho(em), ig(
|
|
87115
|
+
Co(ho(em), ig(r8)),
|
|
87116
87116
|
Co(ho(of), Zb(Av)),
|
|
87117
|
-
Co(ho(ls.concat(bc)),
|
|
87118
|
-
]),
|
|
87117
|
+
Co(ho(ls.concat(bc)), t8)
|
|
87118
|
+
]), a8 = V([Co(ho(ls), Sv)]), i8 = Vu(e8, bl.init, o8, a8, function() {
|
|
87119
87119
|
return U.some(h4);
|
|
87120
87120
|
}), m4 = [
|
|
87121
87121
|
nt("selector"),
|
|
@@ -87125,7 +87125,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87125
87125
|
return v.focusManager.get(a).bind(function(b) {
|
|
87126
87126
|
return v.execute(a, c, b);
|
|
87127
87127
|
});
|
|
87128
|
-
},
|
|
87128
|
+
}, l8 = function(a, c, v) {
|
|
87129
87129
|
rl(a.element, c.selector).each(function(b) {
|
|
87130
87130
|
c.focusManager.set(a, b);
|
|
87131
87131
|
});
|
|
@@ -87137,7 +87137,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87137
87137
|
return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
|
|
87138
87138
|
}, _4 = function(a, c, v, b) {
|
|
87139
87139
|
return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
|
|
87140
|
-
},
|
|
87140
|
+
}, s8 = V([
|
|
87141
87141
|
Co(ho(em), ed(g4)),
|
|
87142
87142
|
Co(ho(of), ed(lm)),
|
|
87143
87143
|
Co(ou([
|
|
@@ -87150,8 +87150,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87150
87150
|
]), _4),
|
|
87151
87151
|
Co(ho(bc), Iv),
|
|
87152
87152
|
Co(ho(ls), Iv)
|
|
87153
|
-
]),
|
|
87154
|
-
return U.some(
|
|
87153
|
+
]), u8 = V([Co(ho(ls), Sv)]), c8 = Vu(m4, bl.init, s8, u8, function() {
|
|
87154
|
+
return U.some(l8);
|
|
87155
87155
|
}), od = [
|
|
87156
87156
|
Ya("onSpace"),
|
|
87157
87157
|
Ya("onEnter"),
|
|
@@ -87191,11 +87191,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87191
87191
|
Co(ho(ls), v.onSpace),
|
|
87192
87192
|
Co(ho(Qp), v.onEscape)
|
|
87193
87193
|
];
|
|
87194
|
-
},
|
|
87194
|
+
}, f8 = function(a, c, v) {
|
|
87195
87195
|
return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
|
|
87196
|
-
}, l_ = Vu(od, bl.init, y4,
|
|
87196
|
+
}, l_ = Vu(od, bl.init, y4, f8, function(a) {
|
|
87197
87197
|
return a.focusIn;
|
|
87198
|
-
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ =
|
|
87198
|
+
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ = i8.schema(), x4 = zC.schema(), Dv = c8.schema(), c_ = l_.schema(), Ov = /* @__PURE__ */ Object.freeze({
|
|
87199
87199
|
__proto__: null,
|
|
87200
87200
|
acyclic: b4,
|
|
87201
87201
|
cyclic: w4,
|
|
@@ -87230,7 +87230,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87230
87230
|
}
|
|
87231
87231
|
},
|
|
87232
87232
|
state: dh
|
|
87233
|
-
}),
|
|
87233
|
+
}), d8 = function(a, c, v, b) {
|
|
87234
87234
|
J0(function() {
|
|
87235
87235
|
var x = Ge(b, a.getSystem().build);
|
|
87236
87236
|
Jd(a, x);
|
|
@@ -87258,24 +87258,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87258
87258
|
}, F);
|
|
87259
87259
|
}), D;
|
|
87260
87260
|
});
|
|
87261
|
-
},
|
|
87261
|
+
}, h8 = function(a, c, v, b, x) {
|
|
87262
87262
|
var N = gg(a);
|
|
87263
87263
|
return at(N, b).bind(function(D) {
|
|
87264
87264
|
return E4(a, c, v, D, x);
|
|
87265
87265
|
});
|
|
87266
|
-
},
|
|
87266
|
+
}, v8 = /* @__PURE__ */ Object.freeze({
|
|
87267
87267
|
__proto__: null,
|
|
87268
87268
|
append: au,
|
|
87269
87269
|
prepend: d_,
|
|
87270
87270
|
remove: lf,
|
|
87271
87271
|
replaceAt: E4,
|
|
87272
|
-
replaceBy:
|
|
87273
|
-
set:
|
|
87272
|
+
replaceBy: h8,
|
|
87273
|
+
set: d8,
|
|
87274
87274
|
contents: gg
|
|
87275
87275
|
}), Qr = Fa({
|
|
87276
87276
|
fields: [],
|
|
87277
87277
|
name: "replacing",
|
|
87278
|
-
apis:
|
|
87278
|
+
apis: v8
|
|
87279
87279
|
}), h_ = function(a, c) {
|
|
87280
87280
|
var v = Oo(c);
|
|
87281
87281
|
return Fa({
|
|
@@ -87297,14 +87297,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87297
87297
|
};
|
|
87298
87298
|
}, S4 = function(a, c) {
|
|
87299
87299
|
c.ignore || (zs(a.element), c.onFocus(a));
|
|
87300
|
-
},
|
|
87300
|
+
}, p8 = function(a, c) {
|
|
87301
87301
|
c.ignore || Lw(a.element);
|
|
87302
87302
|
}, _g = function(a) {
|
|
87303
87303
|
return w1(a.element);
|
|
87304
|
-
},
|
|
87304
|
+
}, m8 = /* @__PURE__ */ Object.freeze({
|
|
87305
87305
|
__proto__: null,
|
|
87306
87306
|
focus: S4,
|
|
87307
|
-
blur:
|
|
87307
|
+
blur: p8,
|
|
87308
87308
|
isFocused: _g
|
|
87309
87309
|
}), k4 = function(a, c) {
|
|
87310
87310
|
var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
|
|
@@ -87315,20 +87315,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87315
87315
|
})].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
|
|
87316
87316
|
v.event.prevent();
|
|
87317
87317
|
})] : []));
|
|
87318
|
-
},
|
|
87318
|
+
}, g8 = /* @__PURE__ */ Object.freeze({
|
|
87319
87319
|
__proto__: null,
|
|
87320
87320
|
exhibit: k4,
|
|
87321
87321
|
events: v_
|
|
87322
|
-
}),
|
|
87322
|
+
}), _8 = [
|
|
87323
87323
|
Mo("onFocus"),
|
|
87324
87324
|
Ot("stopMousedown", !1),
|
|
87325
87325
|
Ot("ignore", !1)
|
|
87326
87326
|
], Gr = Fa({
|
|
87327
|
-
fields:
|
|
87327
|
+
fields: _8,
|
|
87328
87328
|
name: "focusing",
|
|
87329
|
-
active:
|
|
87330
|
-
apis:
|
|
87331
|
-
}),
|
|
87329
|
+
active: g8,
|
|
87330
|
+
apis: m8
|
|
87331
|
+
}), y8 = function(a) {
|
|
87332
87332
|
var c = function() {
|
|
87333
87333
|
var v = jn(a), b = function() {
|
|
87334
87334
|
return v.get();
|
|
@@ -87414,7 +87414,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87414
87414
|
name: "toggling",
|
|
87415
87415
|
active: _e,
|
|
87416
87416
|
apis: W,
|
|
87417
|
-
state:
|
|
87417
|
+
state: y8(!1)
|
|
87418
87418
|
}), tn = function() {
|
|
87419
87419
|
var a = function(c, v) {
|
|
87420
87420
|
v.stop(), Nf(c);
|
|
@@ -87658,7 +87658,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87658
87658
|
Ot("fakeFocus", !1),
|
|
87659
87659
|
Ot("focusManager", Qf()),
|
|
87660
87660
|
Mo("onHighlight")
|
|
87661
|
-
]), T4 = V("alloy.menu-focus"),
|
|
87661
|
+
]), T4 = V("alloy.menu-focus"), b8 = function(a, c, v, b) {
|
|
87662
87662
|
return {
|
|
87663
87663
|
uid: a.uid,
|
|
87664
87664
|
dom: a.dom,
|
|
@@ -87701,7 +87701,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87701
87701
|
name: "Menu",
|
|
87702
87702
|
configFields: yg(),
|
|
87703
87703
|
partFields: sf(),
|
|
87704
|
-
factory:
|
|
87704
|
+
factory: b8
|
|
87705
87705
|
}), bg = function(a) {
|
|
87706
87706
|
return da(a, function(c, v) {
|
|
87707
87707
|
return {
|
|
@@ -88069,7 +88069,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88069
88069
|
menus: ge(a, c),
|
|
88070
88070
|
expansions: {}
|
|
88071
88071
|
};
|
|
88072
|
-
},
|
|
88072
|
+
}, w8 = function(a) {
|
|
88073
88073
|
return {
|
|
88074
88074
|
value: Tr(Yx()),
|
|
88075
88075
|
meta: { text: a }
|
|
@@ -88119,7 +88119,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88119
88119
|
extraApis: {
|
|
88120
88120
|
tieredData: Xx,
|
|
88121
88121
|
singleData: kN,
|
|
88122
|
-
collapseItem:
|
|
88122
|
+
collapseItem: w8
|
|
88123
88123
|
}
|
|
88124
88124
|
}), TN = function(a, c, v, b, x) {
|
|
88125
88125
|
var N = function() {
|
|
@@ -88758,7 +88758,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88758
88758
|
}, rE = function(a) {
|
|
88759
88759
|
return a !== "" && ` \f
|
|
88760
88760
|
\r \v`.indexOf(a) !== -1;
|
|
88761
|
-
},
|
|
88761
|
+
}, C8 = function(a, c) {
|
|
88762
88762
|
return a.substring(c.length);
|
|
88763
88763
|
}, gm = function(a, c, v) {
|
|
88764
88764
|
var b;
|
|
@@ -88781,13 +88781,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88781
88781
|
if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
|
|
88782
88782
|
return U.none();
|
|
88783
88783
|
var L = nE(F), G = L.lastIndexOf(v);
|
|
88784
|
-
return G !== 0 ||
|
|
88785
|
-
text:
|
|
88784
|
+
return G !== 0 || C8(L, v).length < b ? U.none() : U.some({
|
|
88785
|
+
text: C8(L, v),
|
|
88786
88786
|
range: F,
|
|
88787
88787
|
triggerChar: v
|
|
88788
88788
|
});
|
|
88789
88789
|
});
|
|
88790
|
-
},
|
|
88790
|
+
}, x8 = function(a, c, v, b) {
|
|
88791
88791
|
return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
|
|
88792
88792
|
return w_(a, c, v, b);
|
|
88793
88793
|
}, function(x) {
|
|
@@ -88796,11 +88796,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88796
88796
|
var D = nE(N);
|
|
88797
88797
|
return U.some({
|
|
88798
88798
|
range: N,
|
|
88799
|
-
text:
|
|
88799
|
+
text: C8(D, v),
|
|
88800
88800
|
triggerChar: v
|
|
88801
88801
|
});
|
|
88802
88802
|
});
|
|
88803
|
-
},
|
|
88803
|
+
}, E8 = function(a, c) {
|
|
88804
88804
|
c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
|
|
88805
88805
|
var v = function(b, x) {
|
|
88806
88806
|
_r(b, lp(), { raw: x });
|
|
@@ -88819,14 +88819,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88819
88819
|
}), c.on("NodeChange", function(b) {
|
|
88820
88820
|
a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
|
|
88821
88821
|
});
|
|
88822
|
-
}, VN = { setup:
|
|
88822
|
+
}, VN = { setup: E8 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
|
|
88823
88823
|
return {
|
|
88824
88824
|
container: a,
|
|
88825
88825
|
offset: c
|
|
88826
88826
|
};
|
|
88827
88827
|
}, oE = function(a) {
|
|
88828
88828
|
return a.nodeType === Nh;
|
|
88829
|
-
},
|
|
88829
|
+
}, S8 = function(a) {
|
|
88830
88830
|
return a.nodeType === Cf;
|
|
88831
88831
|
}, aE = function(a) {
|
|
88832
88832
|
if (oE(a))
|
|
@@ -88835,7 +88835,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88835
88835
|
return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
|
|
88836
88836
|
}, C_ = function(a, c) {
|
|
88837
88837
|
var v = a.childNodes;
|
|
88838
|
-
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 &&
|
|
88838
|
+
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 && S8(a) && v.length === c ? aE(v[v.length - 1]) : _m(a, c);
|
|
88839
88839
|
}, LN = function(a, c) {
|
|
88840
88840
|
return eE(a, c.container, c.offset, function(v, b) {
|
|
88841
88841
|
return b === 0 ? -1 : b;
|
|
@@ -88850,7 +88850,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88850
88850
|
};
|
|
88851
88851
|
}, zN = function(a, c, v) {
|
|
88852
88852
|
return dn(v.triggerChars, function(b) {
|
|
88853
|
-
return
|
|
88853
|
+
return x8(a, c, b);
|
|
88854
88854
|
});
|
|
88855
88855
|
}, iE = function(a, c) {
|
|
88856
88856
|
var v = c(), b = a.selection.getRng();
|
|
@@ -88924,7 +88924,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88924
88924
|
mo("onAction")
|
|
88925
88925
|
].concat(Eg)), dE = function(a) {
|
|
88926
88926
|
return Vo("toolbarbutton", fE, a);
|
|
88927
|
-
},
|
|
88927
|
+
}, k8 = [Ho("active", !1)].concat(Eg), qN = wt(k8.concat([
|
|
88928
88928
|
Yn("type"),
|
|
88929
88929
|
mo("onAction")
|
|
88930
88930
|
])), hE = function(a) {
|
|
@@ -88945,14 +88945,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88945
88945
|
Ot("primary", !1),
|
|
88946
88946
|
mo("onAction"),
|
|
88947
88947
|
vi("original", z)
|
|
88948
|
-
]),
|
|
88948
|
+
]), T8 = k8.concat([
|
|
88949
88949
|
Ot("type", "contextformbutton"),
|
|
88950
88950
|
Ot("primary", !1),
|
|
88951
88951
|
mo("onAction"),
|
|
88952
88952
|
vi("original", z)
|
|
88953
|
-
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 =
|
|
88953
|
+
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k8.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
|
|
88954
88954
|
contextformbutton: pE,
|
|
88955
|
-
contextformtogglebutton:
|
|
88955
|
+
contextformtogglebutton: T8
|
|
88956
88956
|
}), XN = wt([
|
|
88957
88957
|
Ot("type", "contextform"),
|
|
88958
88958
|
Qo("initValue", function() {
|
|
@@ -88995,18 +88995,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88995
88995
|
triggerChars: b,
|
|
88996
88996
|
lookupByChar: N
|
|
88997
88997
|
};
|
|
88998
|
-
},
|
|
88998
|
+
}, N8;
|
|
88999
88999
|
(function(a) {
|
|
89000
89000
|
a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
|
|
89001
|
-
})(
|
|
89002
|
-
var uf =
|
|
89001
|
+
})(N8 || (N8 = {}));
|
|
89002
|
+
var uf = N8, Sg = "tox-menu-nav__js", A8 = "tox-collection__item", I8 = "tox-swatch", D8 = {
|
|
89003
89003
|
normal: Sg,
|
|
89004
|
-
color:
|
|
89005
|
-
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon",
|
|
89006
|
-
return cr(
|
|
89004
|
+
color: I8
|
|
89005
|
+
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon", O8 = "tox-collection__item-label", rA = "tox-collection__item-accessory", _E = "tox-collection__item-caret", oA = "tox-collection__item-checkmark", x_ = "tox-collection__item--active", aA = "tox-collection__item-icon-rtl", yE = "tox-collection__item-container", iA = "tox-collection__item-container--column", bE = "tox-collection__item-container--row", B8 = "tox-collection__item-container--align-right", lA = "tox-collection__item-container--align-left", sA = "tox-collection__item-container--valign-top", uA = "tox-collection__item-container--valign-middle", wE = "tox-collection__item-container--valign-bottom", CE = function(a) {
|
|
89006
|
+
return cr(D8, a).getOr(Sg);
|
|
89007
89007
|
}, cA = function(a) {
|
|
89008
89008
|
return a === "color" ? "tox-swatches" : "tox-menu";
|
|
89009
|
-
},
|
|
89009
|
+
}, P8 = function(a) {
|
|
89010
89010
|
return {
|
|
89011
89011
|
backgroundMenu: "tox-background-menu",
|
|
89012
89012
|
selectedMenu: "tox-selected-menu",
|
|
@@ -89016,7 +89016,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89016
89016
|
tieredMenu: "tox-tiered-menu"
|
|
89017
89017
|
};
|
|
89018
89018
|
}, kg = function(a) {
|
|
89019
|
-
var c =
|
|
89019
|
+
var c = P8(a);
|
|
89020
89020
|
return {
|
|
89021
89021
|
backgroundMenu: c.backgroundMenu,
|
|
89022
89022
|
selectedMenu: c.selectedMenu,
|
|
@@ -89025,7 +89025,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89025
89025
|
item: CE(a)
|
|
89026
89026
|
};
|
|
89027
89027
|
}, fA = function(a, c, v) {
|
|
89028
|
-
var b =
|
|
89028
|
+
var b = P8(v);
|
|
89029
89029
|
return {
|
|
89030
89030
|
tag: "div",
|
|
89031
89031
|
classes: zt([
|
|
@@ -89036,8 +89036,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89036
89036
|
a ? [b.hasIcons] : []
|
|
89037
89037
|
])
|
|
89038
89038
|
};
|
|
89039
|
-
},
|
|
89040
|
-
var b =
|
|
89039
|
+
}, M8 = [id.parts.items({})], B4 = function(a, c, v) {
|
|
89040
|
+
var b = P8(v), x = {
|
|
89041
89041
|
tag: "div",
|
|
89042
89042
|
classes: zt([[b.tieredMenu]])
|
|
89043
89043
|
};
|
|
@@ -89045,7 +89045,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89045
89045
|
dom: x,
|
|
89046
89046
|
markers: kg(v)
|
|
89047
89047
|
};
|
|
89048
|
-
},
|
|
89048
|
+
}, R8 = function(a, c) {
|
|
89049
89049
|
return function(v) {
|
|
89050
89050
|
var b = me(v, c);
|
|
89051
89051
|
return Ge(b, function(x) {
|
|
@@ -89070,7 +89070,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89070
89070
|
classes: ["tox-swatches"]
|
|
89071
89071
|
},
|
|
89072
89072
|
components: [id.parts.items({
|
|
89073
|
-
preprocess: a !== "auto" ?
|
|
89073
|
+
preprocess: a !== "auto" ? R8({
|
|
89074
89074
|
tag: "div",
|
|
89075
89075
|
classes: ["tox-swatches__row"]
|
|
89076
89076
|
}, a) : z
|
|
@@ -89089,7 +89089,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89089
89089
|
]
|
|
89090
89090
|
},
|
|
89091
89091
|
components: [id.parts.items({
|
|
89092
|
-
preprocess:
|
|
89092
|
+
preprocess: R8({
|
|
89093
89093
|
tag: "div",
|
|
89094
89094
|
classes: ["tox-collection__group"]
|
|
89095
89095
|
}, a)
|
|
@@ -89108,7 +89108,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89108
89108
|
components: x
|
|
89109
89109
|
};
|
|
89110
89110
|
});
|
|
89111
|
-
}, $
|
|
89111
|
+
}, $8 = function(a, c, v) {
|
|
89112
89112
|
return {
|
|
89113
89113
|
dom: {
|
|
89114
89114
|
tag: "div",
|
|
@@ -89119,7 +89119,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89119
89119
|
},
|
|
89120
89120
|
components: [id.parts.items({
|
|
89121
89121
|
preprocess: function(b) {
|
|
89122
|
-
return a !== "auto" && a > 1 ?
|
|
89122
|
+
return a !== "auto" && a > 1 ? R8({
|
|
89123
89123
|
tag: "div",
|
|
89124
89124
|
classes: ["tox-collection__group"]
|
|
89125
89125
|
}, a)(b) : xE(b, function(x, N) {
|
|
@@ -89159,7 +89159,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89159
89159
|
components: N.components,
|
|
89160
89160
|
items: v
|
|
89161
89161
|
};
|
|
89162
|
-
},
|
|
89162
|
+
}, F8 = function(a, c, v, b, x) {
|
|
89163
89163
|
if (x === "color") {
|
|
89164
89164
|
var N = dA(b);
|
|
89165
89165
|
return {
|
|
@@ -89170,7 +89170,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89170
89170
|
};
|
|
89171
89171
|
}
|
|
89172
89172
|
if (x === "normal" && b === "auto") {
|
|
89173
|
-
var N = $
|
|
89173
|
+
var N = $8(b, v);
|
|
89174
89174
|
return {
|
|
89175
89175
|
value: a,
|
|
89176
89176
|
dom: N.dom,
|
|
@@ -89179,7 +89179,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89179
89179
|
};
|
|
89180
89180
|
}
|
|
89181
89181
|
if (x === "normal" && b === 1) {
|
|
89182
|
-
var N = $
|
|
89182
|
+
var N = $8(1, v);
|
|
89183
89183
|
return {
|
|
89184
89184
|
value: a,
|
|
89185
89185
|
dom: N.dom,
|
|
@@ -89188,7 +89188,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89188
89188
|
};
|
|
89189
89189
|
}
|
|
89190
89190
|
if (x === "normal") {
|
|
89191
|
-
var N = $
|
|
89191
|
+
var N = $8(b, v);
|
|
89192
89192
|
return {
|
|
89193
89193
|
value: a,
|
|
89194
89194
|
dom: N.dom,
|
|
@@ -89208,15 +89208,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89208
89208
|
return {
|
|
89209
89209
|
value: a,
|
|
89210
89210
|
dom: fA(c, b, x),
|
|
89211
|
-
components:
|
|
89211
|
+
components: M8,
|
|
89212
89212
|
items: v
|
|
89213
89213
|
};
|
|
89214
|
-
},
|
|
89214
|
+
}, V8 = [
|
|
89215
89215
|
Yn("type"),
|
|
89216
89216
|
Yn("src"),
|
|
89217
89217
|
jo("alt"),
|
|
89218
89218
|
mu("classes", [], Ut)
|
|
89219
|
-
], mA = wt(
|
|
89219
|
+
], mA = wt(V8), gA = [
|
|
89220
89220
|
Yn("type"),
|
|
89221
89221
|
Yn("text"),
|
|
89222
89222
|
jo("name"),
|
|
@@ -89264,9 +89264,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89264
89264
|
Yn("type"),
|
|
89265
89265
|
So("fancytype", EE),
|
|
89266
89266
|
Qo("onAction", R)
|
|
89267
|
-
]),
|
|
89267
|
+
]), L8 = function(a) {
|
|
89268
89268
|
return Vo("fancymenuitem", EA, a);
|
|
89269
|
-
},
|
|
89269
|
+
}, U8 = wt([
|
|
89270
89270
|
Yn("type"),
|
|
89271
89271
|
Qo("onSetup", function() {
|
|
89272
89272
|
return R;
|
|
@@ -89274,8 +89274,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89274
89274
|
Qo("onAction", R),
|
|
89275
89275
|
jo("icon")
|
|
89276
89276
|
].concat(Pv)), SE = function(a) {
|
|
89277
|
-
return Vo("menuitem",
|
|
89278
|
-
},
|
|
89277
|
+
return Vo("menuitem", U8, a);
|
|
89278
|
+
}, z8 = wt([
|
|
89279
89279
|
Yn("type"),
|
|
89280
89280
|
mo("getSubmenuItems"),
|
|
89281
89281
|
Qo("onSetup", function() {
|
|
@@ -89283,7 +89283,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89283
89283
|
}),
|
|
89284
89284
|
jo("icon")
|
|
89285
89285
|
].concat(Pv)), kE = function(a) {
|
|
89286
|
-
return Vo("nestedmenuitem",
|
|
89286
|
+
return Vo("nestedmenuitem", z8, a);
|
|
89287
89287
|
}, TE = wt([
|
|
89288
89288
|
Yn("type"),
|
|
89289
89289
|
jo("icon"),
|
|
@@ -89390,7 +89390,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89390
89390
|
})
|
|
89391
89391
|
]
|
|
89392
89392
|
]));
|
|
89393
|
-
},
|
|
89393
|
+
}, H8 = /* @__PURE__ */ Object.freeze({
|
|
89394
89394
|
__proto__: null,
|
|
89395
89395
|
events: OE
|
|
89396
89396
|
}), TA = [
|
|
@@ -89429,7 +89429,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89429
89429
|
}),
|
|
89430
89430
|
Mo("onHide"),
|
|
89431
89431
|
Mo("onShow")
|
|
89432
|
-
],
|
|
89432
|
+
], W8 = function() {
|
|
89433
89433
|
var a = jn(U.none()), c = jn(U.none()), v = function() {
|
|
89434
89434
|
return c.get();
|
|
89435
89435
|
}, b = function(G) {
|
|
@@ -89456,14 +89456,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89456
89456
|
resetTimer: D,
|
|
89457
89457
|
readState: L
|
|
89458
89458
|
});
|
|
89459
|
-
},
|
|
89459
|
+
}, j8 = /* @__PURE__ */ Object.freeze({
|
|
89460
89460
|
__proto__: null,
|
|
89461
|
-
init:
|
|
89461
|
+
init: W8
|
|
89462
89462
|
}), BE = Fa({
|
|
89463
89463
|
fields: TA,
|
|
89464
89464
|
name: "tooltipping",
|
|
89465
|
-
active:
|
|
89466
|
-
state:
|
|
89465
|
+
active: H8,
|
|
89466
|
+
state: j8,
|
|
89467
89467
|
apis: DE
|
|
89468
89468
|
}), PE = function(a) {
|
|
89469
89469
|
return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -89473,9 +89473,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89473
89473
|
"textarea",
|
|
89474
89474
|
"select"
|
|
89475
89475
|
], ME = function(a, c, v) {
|
|
89476
|
-
var b = c.disabled() ? F4 :
|
|
89476
|
+
var b = c.disabled() ? F4 : q8;
|
|
89477
89477
|
b(a, c);
|
|
89478
|
-
},
|
|
89478
|
+
}, G8 = function(a, c) {
|
|
89479
89479
|
return c.useNative === !0 && Le(NA, bs(a.element));
|
|
89480
89480
|
}, AA = function(a) {
|
|
89481
89481
|
return yy(a.element, "disabled");
|
|
@@ -89493,26 +89493,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89493
89493
|
c.disableClass.each(function(x) {
|
|
89494
89494
|
ta(a.element, x);
|
|
89495
89495
|
});
|
|
89496
|
-
var b =
|
|
89496
|
+
var b = G8(a, c) ? IA : $4;
|
|
89497
89497
|
b(a), c.onDisabled(a);
|
|
89498
|
-
},
|
|
89498
|
+
}, q8 = function(a, c, v) {
|
|
89499
89499
|
c.disableClass.each(function(x) {
|
|
89500
89500
|
Sa(a.element, x);
|
|
89501
89501
|
});
|
|
89502
|
-
var b =
|
|
89502
|
+
var b = G8(a, c) ? DA : RE;
|
|
89503
89503
|
b(a), c.onEnabled(a);
|
|
89504
89504
|
}, $E = function(a, c) {
|
|
89505
|
-
return
|
|
89506
|
-
},
|
|
89507
|
-
var x = b ? F4 :
|
|
89505
|
+
return G8(a, c) ? AA(a) : OA(a);
|
|
89506
|
+
}, K8 = function(a, c, v, b) {
|
|
89507
|
+
var x = b ? F4 : q8;
|
|
89508
89508
|
x(a, c);
|
|
89509
|
-
},
|
|
89509
|
+
}, Y8 = /* @__PURE__ */ Object.freeze({
|
|
89510
89510
|
__proto__: null,
|
|
89511
|
-
enable:
|
|
89511
|
+
enable: q8,
|
|
89512
89512
|
disable: F4,
|
|
89513
89513
|
isDisabled: $E,
|
|
89514
89514
|
onLoad: ME,
|
|
89515
|
-
set:
|
|
89515
|
+
set: K8
|
|
89516
89516
|
}), FE = function(a, c) {
|
|
89517
89517
|
return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
|
|
89518
89518
|
}, VE = function(a, c) {
|
|
@@ -89536,7 +89536,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89536
89536
|
fields: BA,
|
|
89537
89537
|
name: "disabling",
|
|
89538
89538
|
active: LE,
|
|
89539
|
-
apis:
|
|
89539
|
+
apis: Y8
|
|
89540
89540
|
}), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
|
|
89541
89541
|
var c = a.getParam("skin"), v = a.getParam("skin_url");
|
|
89542
89542
|
if (c !== !1) {
|
|
@@ -89558,17 +89558,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89558
89558
|
return U.from(a.getParam("min_height")).filter(O);
|
|
89559
89559
|
}, L4 = function(a) {
|
|
89560
89560
|
return U.from(a.getParam("max_width")).filter(O);
|
|
89561
|
-
},
|
|
89561
|
+
}, X8 = function(a) {
|
|
89562
89562
|
return U.from(a.getParam("max_height")).filter(O);
|
|
89563
89563
|
}, jE = function(a) {
|
|
89564
89564
|
return U.from(a.getParam("style_formats")).filter(d);
|
|
89565
|
-
},
|
|
89565
|
+
}, J8 = function(a) {
|
|
89566
89566
|
return a.getParam("style_formats_merge", !1, "boolean");
|
|
89567
89567
|
}, GE = function(a) {
|
|
89568
89568
|
return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
|
|
89569
89569
|
}, MA = function(a) {
|
|
89570
89570
|
return a.getParam("removed_menuitems", "");
|
|
89571
|
-
},
|
|
89571
|
+
}, Z8 = function(a) {
|
|
89572
89572
|
return a.getParam("menubar", !0, "boolean") !== !1;
|
|
89573
89573
|
}, Ag = function(a) {
|
|
89574
89574
|
var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
|
|
@@ -89597,10 +89597,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89597
89597
|
})(bm || (bm = {}));
|
|
89598
89598
|
var RA = function(a) {
|
|
89599
89599
|
return a.getParam("toolbar_groups", {}, "object");
|
|
89600
|
-
},
|
|
89600
|
+
}, Q8 = function(a) {
|
|
89601
89601
|
return a.getParam("toolbar_location", bm.auto, "string");
|
|
89602
|
-
},
|
|
89603
|
-
return
|
|
89602
|
+
}, e6 = function(a) {
|
|
89603
|
+
return Q8(a) === bm.bottom;
|
|
89604
89604
|
}, $A = function(a) {
|
|
89605
89605
|
return a.getParam("fixed_toolbar_container", "", "string");
|
|
89606
89606
|
}, FA = function(a) {
|
|
@@ -89622,14 +89622,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89622
89622
|
return c.getOrThunk(function() {
|
|
89623
89623
|
return Nd(mi(rr.fromDom(a.getElement())));
|
|
89624
89624
|
});
|
|
89625
|
-
},
|
|
89626
|
-
return a.inline && !
|
|
89625
|
+
}, t6 = function(a) {
|
|
89626
|
+
return a.inline && !Z8(a) && !Ag(a) && !k_(a);
|
|
89627
89627
|
}, z4 = function(a) {
|
|
89628
89628
|
var c = a.getParam("toolbar_sticky", !1, "boolean");
|
|
89629
|
-
return (c || a.inline) && !U4(a) && !
|
|
89629
|
+
return (c || a.inline) && !U4(a) && !t6(a);
|
|
89630
89630
|
}, LA = function(a) {
|
|
89631
89631
|
return a.getParam("draggable_modal", !1, "boolean");
|
|
89632
|
-
},
|
|
89632
|
+
}, n6 = function(a) {
|
|
89633
89633
|
var c = a.getParam("menu");
|
|
89634
89634
|
return c ? Vr(c, function(v) {
|
|
89635
89635
|
return ve(ve({}, v), { items: v.items });
|
|
@@ -89648,9 +89648,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89648
89648
|
return a.getParam("typeahead_urls") === !1;
|
|
89649
89649
|
}, qA = function(a) {
|
|
89650
89650
|
return a.getParam("anchor_top", "#top");
|
|
89651
|
-
},
|
|
89651
|
+
}, r6 = function(a) {
|
|
89652
89652
|
return a.getParam("anchor_bottom", "#bottom");
|
|
89653
|
-
},
|
|
89653
|
+
}, o6 = function(a) {
|
|
89654
89654
|
var c = a.getParam("file_picker_validator_handler", void 0, "function");
|
|
89655
89655
|
return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
|
|
89656
89656
|
}, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
|
|
@@ -89712,16 +89712,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89712
89712
|
return ts(function(v) {
|
|
89713
89713
|
return W4(a, v)(c.get());
|
|
89714
89714
|
});
|
|
89715
|
-
},
|
|
89715
|
+
}, a6, XA = function(a, c) {
|
|
89716
89716
|
return tc(function(v, b) {
|
|
89717
89717
|
W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
|
|
89718
89718
|
});
|
|
89719
|
-
}, JA = (
|
|
89719
|
+
}, JA = (a6 = {}, a6[Pl()] = [
|
|
89720
89720
|
"disabling",
|
|
89721
89721
|
"alloy.base.behaviour",
|
|
89722
89722
|
"toggling",
|
|
89723
89723
|
"item-events"
|
|
89724
|
-
],
|
|
89724
|
+
], a6), Ig = function(a) {
|
|
89725
89725
|
return Pt(a, function(c) {
|
|
89726
89726
|
return c.toArray();
|
|
89727
89727
|
});
|
|
@@ -89752,7 +89752,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89752
89752
|
value: a.value,
|
|
89753
89753
|
meta: ve({ text: a.text.getOr("") }, a.meta)
|
|
89754
89754
|
};
|
|
89755
|
-
},
|
|
89755
|
+
}, i6 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
|
|
89756
89756
|
var c = {
|
|
89757
89757
|
alt: "⌥",
|
|
89758
89758
|
ctrl: "⌃",
|
|
@@ -89762,11 +89762,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89762
89762
|
}, v = {
|
|
89763
89763
|
meta: "Ctrl",
|
|
89764
89764
|
access: "Shift+Alt"
|
|
89765
|
-
}, b =
|
|
89765
|
+
}, b = i6.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
|
|
89766
89766
|
var F = D.toLowerCase().trim();
|
|
89767
89767
|
return Po(b, F) ? b[F] : D;
|
|
89768
89768
|
});
|
|
89769
|
-
return
|
|
89769
|
+
return i6.mac ? N.join("") : N.join("+");
|
|
89770
89770
|
}, ZA = function(a) {
|
|
89771
89771
|
return {
|
|
89772
89772
|
dom: {
|
|
@@ -89779,7 +89779,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89779
89779
|
return {
|
|
89780
89780
|
dom: {
|
|
89781
89781
|
tag: "div",
|
|
89782
|
-
classes: [
|
|
89782
|
+
classes: [O8]
|
|
89783
89783
|
},
|
|
89784
89784
|
components: [Vf(Lu.translate(a))]
|
|
89785
89785
|
};
|
|
@@ -89795,7 +89795,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89795
89795
|
return {
|
|
89796
89796
|
dom: {
|
|
89797
89797
|
tag: "div",
|
|
89798
|
-
classes: [
|
|
89798
|
+
classes: [O8]
|
|
89799
89799
|
},
|
|
89800
89800
|
components: [{
|
|
89801
89801
|
dom: {
|
|
@@ -89838,7 +89838,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89838
89838
|
}
|
|
89839
89839
|
};
|
|
89840
89840
|
}, tI = function(a, c) {
|
|
89841
|
-
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA :
|
|
89841
|
+
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B8, x = function() {
|
|
89842
89842
|
switch (a.valign) {
|
|
89843
89843
|
case "top":
|
|
89844
89844
|
return sA;
|
|
@@ -89873,7 +89873,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89873
89873
|
};
|
|
89874
89874
|
}, rI = function(a, c, v, b) {
|
|
89875
89875
|
var x = "custom", N = "remove", D = function() {
|
|
89876
|
-
var F =
|
|
89876
|
+
var F = I8, L = v.getOr(""), G = a.map(function(ee) {
|
|
89877
89877
|
return { title: b.translate(ee) };
|
|
89878
89878
|
}).getOr({}), Z = {
|
|
89879
89879
|
tag: "div",
|
|
@@ -89904,14 +89904,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89904
89904
|
tag: "div",
|
|
89905
89905
|
classes: [
|
|
89906
89906
|
Sg,
|
|
89907
|
-
|
|
89907
|
+
A8
|
|
89908
89908
|
].concat(a ? [aA] : [])
|
|
89909
89909
|
}, v);
|
|
89910
|
-
},
|
|
89910
|
+
}, l6 = function(a, c, v, b, x) {
|
|
89911
89911
|
var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
|
|
89912
89912
|
return a.textContent.map(b);
|
|
89913
89913
|
}, function(G) {
|
|
89914
|
-
return U.some(tS(G, [
|
|
89914
|
+
return U.some(tS(G, [O8]));
|
|
89915
89915
|
}), L = {
|
|
89916
89916
|
dom: oS(x, a.ariaLabel),
|
|
89917
89917
|
optComponents: [
|
|
@@ -89949,8 +89949,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89949
89949
|
}, function(L) {
|
|
89950
89950
|
return Po(L, "style") ? re(QA, L.style) : eS;
|
|
89951
89951
|
});
|
|
89952
|
-
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) :
|
|
89953
|
-
},
|
|
89952
|
+
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l6(a, D, v, F, N);
|
|
89953
|
+
}, s6 = function(a, c) {
|
|
89954
89954
|
return cr(a, "tooltipWorker").map(function(v) {
|
|
89955
89955
|
return [BE.config({
|
|
89956
89956
|
lazySink: c.getSink,
|
|
@@ -90009,7 +90009,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90009
90009
|
},
|
|
90010
90010
|
onSetup: V(R),
|
|
90011
90011
|
triggersSubmenu: !1,
|
|
90012
|
-
itemBehaviours:
|
|
90012
|
+
itemBehaviours: s6(a.meta, D)
|
|
90013
90013
|
}, L, N, D.providers);
|
|
90014
90014
|
}, sS = function(a, c) {
|
|
90015
90015
|
return Ge(a, function(v) {
|
|
@@ -90108,17 +90108,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90108
90108
|
selected: a.active
|
|
90109
90109
|
}
|
|
90110
90110
|
});
|
|
90111
|
-
},
|
|
90111
|
+
}, u6 = Kp(ll(), qi()), uS = function(a) {
|
|
90112
90112
|
return { value: a };
|
|
90113
90113
|
}, cS = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, fS = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, sI = function(a) {
|
|
90114
90114
|
return cS.test(a) || fS.test(a);
|
|
90115
|
-
},
|
|
90115
|
+
}, c6 = function(a) {
|
|
90116
90116
|
var c = a.value.replace(cS, function(v, b, x, N) {
|
|
90117
90117
|
return b + b + x + x + N + N;
|
|
90118
90118
|
});
|
|
90119
90119
|
return { value: c };
|
|
90120
|
-
},
|
|
90121
|
-
var c =
|
|
90120
|
+
}, f6 = function(a) {
|
|
90121
|
+
var c = c6(a), v = fS.exec(c.value);
|
|
90122
90122
|
return v === null ? [
|
|
90123
90123
|
"FFFFFF",
|
|
90124
90124
|
"FF",
|
|
@@ -90131,14 +90131,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90131
90131
|
}, G4 = function(a) {
|
|
90132
90132
|
var c = D_(a.red) + D_(a.green) + D_(a.blue);
|
|
90133
90133
|
return uS(c);
|
|
90134
|
-
}, dS = Math.min, hS = Math.max, Cm = Math.round,
|
|
90134
|
+
}, dS = Math.min, hS = Math.max, Cm = Math.round, d6 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, q4 = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Mv = function(a, c, v, b) {
|
|
90135
90135
|
return {
|
|
90136
90136
|
red: a,
|
|
90137
90137
|
green: c,
|
|
90138
90138
|
blue: v,
|
|
90139
90139
|
alpha: b
|
|
90140
90140
|
};
|
|
90141
|
-
},
|
|
90141
|
+
}, h6 = function(a) {
|
|
90142
90142
|
var c = parseInt(a, 10);
|
|
90143
90143
|
return c.toString() === a && c >= 0 && c <= 255;
|
|
90144
90144
|
}, vS = function(a) {
|
|
@@ -90170,7 +90170,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90170
90170
|
}
|
|
90171
90171
|
return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
|
|
90172
90172
|
}, O_ = function(a) {
|
|
90173
|
-
var c =
|
|
90173
|
+
var c = f6(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
|
|
90174
90174
|
return Mv(v, b, x, 1);
|
|
90175
90175
|
}, pS = function(a, c, v, b) {
|
|
90176
90176
|
var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
|
|
@@ -90178,7 +90178,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90178
90178
|
}, uI = function(a) {
|
|
90179
90179
|
if (a === "transparent")
|
|
90180
90180
|
return U.some(Mv(0, 0, 0, 0));
|
|
90181
|
-
var c =
|
|
90181
|
+
var c = d6.exec(a);
|
|
90182
90182
|
if (c !== null)
|
|
90183
90183
|
return U.some(pS(c[1], c[2], c[3], "1"));
|
|
90184
90184
|
var v = q4.exec(a);
|
|
@@ -90191,7 +90191,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90191
90191
|
return a.fire("SkinLoadError", c);
|
|
90192
90192
|
}, dI = function(a) {
|
|
90193
90193
|
return a.fire("ResizeEditor");
|
|
90194
|
-
},
|
|
90194
|
+
}, v6 = function(a, c) {
|
|
90195
90195
|
return a.fire("ResizeContent", c);
|
|
90196
90196
|
}, hI = function(a, c) {
|
|
90197
90197
|
return a.fire("ScrollContent", c);
|
|
@@ -90326,7 +90326,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90326
90326
|
text: "White",
|
|
90327
90327
|
value: "#ffffff"
|
|
90328
90328
|
}
|
|
90329
|
-
], yS = pI(10),
|
|
90329
|
+
], yS = pI(10), p6 = function(a) {
|
|
90330
90330
|
var c = [], v = document.createElement("canvas");
|
|
90331
90331
|
v.height = 1, v.width = 1;
|
|
90332
90332
|
for (var b = v.getContext("2d"), x = function(F, L) {
|
|
@@ -90351,9 +90351,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90351
90351
|
return a.getParam("custom_colors") !== !1;
|
|
90352
90352
|
}, gI = function(a) {
|
|
90353
90353
|
return a.getParam("color_map");
|
|
90354
|
-
},
|
|
90354
|
+
}, m6 = function(a) {
|
|
90355
90355
|
var c = gI(a);
|
|
90356
|
-
return c !== void 0 ?
|
|
90356
|
+
return c !== void 0 ? p6(c) : mI;
|
|
90357
90357
|
}, _I = function() {
|
|
90358
90358
|
return Ge(yS.state(), function(a) {
|
|
90359
90359
|
return {
|
|
@@ -90387,7 +90387,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90387
90387
|
}, xI = function(a) {
|
|
90388
90388
|
return Math.max(5, Math.ceil(Math.sqrt(a)));
|
|
90389
90389
|
}, CS = function(a) {
|
|
90390
|
-
var c =
|
|
90390
|
+
var c = m6(a), v = xI(c.length);
|
|
90391
90391
|
return Xi(a, v);
|
|
90392
90392
|
}, EI = function(a) {
|
|
90393
90393
|
var c = "choiceitem", v = {
|
|
@@ -90405,7 +90405,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90405
90405
|
v,
|
|
90406
90406
|
b
|
|
90407
90407
|
] : [v];
|
|
90408
|
-
},
|
|
90408
|
+
}, g6 = function(a, c, v, b) {
|
|
90409
90409
|
if (v === "custom") {
|
|
90410
90410
|
var x = NS(a);
|
|
90411
90411
|
x(function(N) {
|
|
@@ -90439,12 +90439,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90439
90439
|
}).getOr(!1);
|
|
90440
90440
|
},
|
|
90441
90441
|
columns: CS(a),
|
|
90442
|
-
fetch: ES(
|
|
90442
|
+
fetch: ES(m6(a), bS(a)),
|
|
90443
90443
|
onAction: function(N) {
|
|
90444
|
-
x.get() !== null &&
|
|
90444
|
+
x.get() !== null && g6(a, v, x.get(), R);
|
|
90445
90445
|
},
|
|
90446
90446
|
onItemAction: function(N, D) {
|
|
90447
|
-
|
|
90447
|
+
g6(a, v, D, function(F) {
|
|
90448
90448
|
x.set(F), vI(a, {
|
|
90449
90449
|
name: c,
|
|
90450
90450
|
color: F
|
|
@@ -90470,7 +90470,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90470
90470
|
type: "fancymenuitem",
|
|
90471
90471
|
fancytype: "colorswatch",
|
|
90472
90472
|
onAction: function(x) {
|
|
90473
|
-
|
|
90473
|
+
g6(a, v, x.value, R);
|
|
90474
90474
|
}
|
|
90475
90475
|
}];
|
|
90476
90476
|
}
|
|
@@ -90523,9 +90523,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90523
90523
|
CI(a);
|
|
90524
90524
|
var c = jn(null), v = jn(null);
|
|
90525
90525
|
kS(a, "forecolor", "forecolor", "Text color", c), kS(a, "backcolor", "hilitecolor", "Background color", v), TS(a, "forecolor", "forecolor", "Text color"), TS(a, "backcolor", "hilitecolor", "Background color");
|
|
90526
|
-
},
|
|
90526
|
+
}, _6 = function(a, c, v, b, x, N, D, F) {
|
|
90527
90527
|
var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
|
|
90528
|
-
return
|
|
90528
|
+
return F8(a, L, Z, b, x);
|
|
90529
90529
|
}, kI = function(a, c, v, b, x, N, D) {
|
|
90530
90530
|
return sh(Ge(a, function(F) {
|
|
90531
90531
|
return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
|
|
@@ -90569,11 +90569,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90569
90569
|
mode: "matrix",
|
|
90570
90570
|
selectors: {
|
|
90571
90571
|
row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
|
|
90572
|
-
cell: c === "color" ? "." +
|
|
90572
|
+
cell: c === "color" ? "." + I8 : "." + A8
|
|
90573
90573
|
}
|
|
90574
90574
|
};
|
|
90575
90575
|
}, NI = function(a, c) {
|
|
90576
|
-
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N =
|
|
90576
|
+
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _6(Tr("menu-value"), v, function(F) {
|
|
90577
90577
|
a.onAction({ value: F });
|
|
90578
90578
|
}, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
|
|
90579
90579
|
markers: kg(x),
|
|
@@ -90587,16 +90587,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90587
90587
|
classes: ["tox-fancymenuitem"]
|
|
90588
90588
|
},
|
|
90589
90589
|
autofocus: !0,
|
|
90590
|
-
components: [
|
|
90590
|
+
components: [u6.widget(id.sketch(D))]
|
|
90591
90591
|
};
|
|
90592
|
-
}, AS = Tr("cell-over"),
|
|
90592
|
+
}, AS = Tr("cell-over"), y6 = Tr("cell-execute"), AI = function(a, c, v) {
|
|
90593
90593
|
var b, x = function(F) {
|
|
90594
90594
|
return _r(F, AS, {
|
|
90595
90595
|
row: a,
|
|
90596
90596
|
col: c
|
|
90597
90597
|
});
|
|
90598
90598
|
}, N = function(F) {
|
|
90599
|
-
return _r(F,
|
|
90599
|
+
return _r(F, y6, {
|
|
90600
90600
|
row: a,
|
|
90601
90601
|
col: c
|
|
90602
90602
|
});
|
|
@@ -90657,7 +90657,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90657
90657
|
classes: ["tox-fancymenuitem"]
|
|
90658
90658
|
},
|
|
90659
90659
|
autofocus: !0,
|
|
90660
|
-
components: [
|
|
90660
|
+
components: [u6.widget({
|
|
90661
90661
|
dom: {
|
|
90662
90662
|
tag: "div",
|
|
90663
90663
|
classes: ["tox-insert-table-picker"]
|
|
@@ -90669,7 +90669,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90669
90669
|
var G = L.event.row, Z = L.event.col;
|
|
90670
90670
|
DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
|
|
90671
90671
|
}),
|
|
90672
|
-
Fs(
|
|
90672
|
+
Fs(y6, function(D, F, L) {
|
|
90673
90673
|
a.onAction({
|
|
90674
90674
|
numRows: L.event.row + 1,
|
|
90675
90675
|
numColumns: L.event.col + 1
|
|
@@ -90767,7 +90767,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90767
90767
|
dom: ve({
|
|
90768
90768
|
tag: "div",
|
|
90769
90769
|
classes: [
|
|
90770
|
-
|
|
90770
|
+
A8,
|
|
90771
90771
|
tA
|
|
90772
90772
|
]
|
|
90773
90773
|
}, c),
|
|
@@ -90845,7 +90845,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90845
90845
|
return U.some(MS(F));
|
|
90846
90846
|
});
|
|
90847
90847
|
case "fancymenuitem":
|
|
90848
|
-
return
|
|
90848
|
+
return L8(a).fold(mh, function(F) {
|
|
90849
90849
|
return UI(D(F), v);
|
|
90850
90850
|
});
|
|
90851
90851
|
default:
|
|
@@ -90866,7 +90866,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90866
90866
|
Z.onAction(ee), v(Z.value, Z.meta);
|
|
90867
90867
|
}
|
|
90868
90868
|
}), x, N, {
|
|
90869
|
-
itemBehaviours:
|
|
90869
|
+
itemBehaviours: s6(Z.meta, N),
|
|
90870
90870
|
cardText: {
|
|
90871
90871
|
matchText: c,
|
|
90872
90872
|
highlightOn: D
|
|
@@ -90880,7 +90880,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90880
90880
|
});
|
|
90881
90881
|
}
|
|
90882
90882
|
}));
|
|
90883
|
-
},
|
|
90883
|
+
}, b6 = function(a, c, v, b, x) {
|
|
90884
90884
|
var N = P4(c), D = sh(Ge(c, function(L) {
|
|
90885
90885
|
var G = function(ee) {
|
|
90886
90886
|
return x ? !ee.hasOwnProperty("text") : N;
|
|
@@ -90888,7 +90888,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90888
90888
|
return RS(ee, v, b, G(ee), x);
|
|
90889
90889
|
};
|
|
90890
90890
|
return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
|
|
90891
|
-
})), F = x ? pA :
|
|
90891
|
+
})), F = x ? pA : F8;
|
|
90892
90892
|
return F(a, N, D, 1, "normal");
|
|
90893
90893
|
}, $S = function(a) {
|
|
90894
90894
|
return hm.singleData(a.value, a);
|
|
@@ -90913,7 +90913,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90913
90913
|
});
|
|
90914
90914
|
})])
|
|
90915
90915
|
};
|
|
90916
|
-
},
|
|
90916
|
+
}, w6 = function(a, c) {
|
|
90917
90917
|
var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
|
|
90918
90918
|
dom: {
|
|
90919
90919
|
tag: "div",
|
|
@@ -90948,7 +90948,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90948
90948
|
var jt = rn.items;
|
|
90949
90949
|
return HI(jt, rn.matchText, function(nn, Kt) {
|
|
90950
90950
|
var En = a.selection.getRng();
|
|
90951
|
-
|
|
90951
|
+
x8(a.dom, En, qe).fold(function() {
|
|
90952
90952
|
return console.error("Lost context. Cursor probably moved");
|
|
90953
90953
|
}, function(wr) {
|
|
90954
90954
|
var Jn = wr.range, fn = {
|
|
@@ -90981,10 +90981,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90981
90981
|
anchor: "node",
|
|
90982
90982
|
root: rr.fromDom(a.getBody()),
|
|
90983
90983
|
node: U.from(qe.element)
|
|
90984
|
-
}, id.sketch(WI(
|
|
90984
|
+
}, id.sketch(WI(F8("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
|
|
90985
90985
|
}, Te = function(qe) {
|
|
90986
90986
|
return v.get().map(function(St) {
|
|
90987
|
-
return
|
|
90987
|
+
return x8(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
|
|
90988
90988
|
return lE(a, G, At, qe);
|
|
90989
90989
|
});
|
|
90990
90990
|
}).getOrThunk(function() {
|
|
@@ -91015,7 +91015,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
91015
91015
|
}
|
|
91016
91016
|
};
|
|
91017
91017
|
a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
|
|
91018
|
-
}, jI = { register:
|
|
91018
|
+
}, jI = { register: w6 }, FS = Pe, Tc = function(a, c, v) {
|
|
91019
91019
|
return D0(a, c, FS, v);
|
|
91020
91020
|
}, P_ = function(a, c, v) {
|
|
91021
91021
|
return Nw(a, c, FS, v);
|
|
@@ -91584,19 +91584,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91584
91584
|
name: "tabstopping",
|
|
91585
91585
|
active: u9
|
|
91586
91586
|
}), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
|
|
91587
|
-
var x =
|
|
91587
|
+
var x = C6(a, c, v, b);
|
|
91588
91588
|
return zo.sketch(x);
|
|
91589
91589
|
}, d9 = function(a, c) {
|
|
91590
91590
|
return Mg(a, c, [], []);
|
|
91591
|
-
},
|
|
91591
|
+
}, C6 = function(a, c, v, b) {
|
|
91592
91592
|
return {
|
|
91593
|
-
dom:
|
|
91593
|
+
dom: x6(v),
|
|
91594
91594
|
components: a.toArray().concat([c]),
|
|
91595
91595
|
fieldBehaviours: Mn(b)
|
|
91596
91596
|
};
|
|
91597
91597
|
}, h9 = function() {
|
|
91598
|
-
return
|
|
91599
|
-
},
|
|
91598
|
+
return x6([]);
|
|
91599
|
+
}, x6 = function(a) {
|
|
91600
91600
|
return {
|
|
91601
91601
|
tag: "div",
|
|
91602
91602
|
classes: ["tox-form__group"].concat(a)
|
|
@@ -91609,7 +91609,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91609
91609
|
innerHtml: c.translate(a)
|
|
91610
91610
|
}
|
|
91611
91611
|
});
|
|
91612
|
-
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"),
|
|
91612
|
+
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"), E6 = Tr("form-block"), $g = Tr("form-unblock"), XS = Tr("form-tabchange"), JS = Tr("form-resize"), ZS = function(a, c) {
|
|
91613
91613
|
var v, b = a.label.map(function(ee) {
|
|
91614
91614
|
return Rv(ee, c);
|
|
91615
91615
|
}), x = function(ee) {
|
|
@@ -92210,7 +92210,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92210
92210
|
}, function(b) {
|
|
92211
92211
|
return b.validate(a);
|
|
92212
92212
|
});
|
|
92213
|
-
},
|
|
92213
|
+
}, S6 = function(a, c, v) {
|
|
92214
92214
|
return c.notify.each(function(b) {
|
|
92215
92215
|
b.onValidate(a);
|
|
92216
92216
|
}), uk(a, c).map(function(b) {
|
|
@@ -92228,14 +92228,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92228
92228
|
markValid: lk,
|
|
92229
92229
|
markInvalid: sk,
|
|
92230
92230
|
query: uk,
|
|
92231
|
-
run:
|
|
92231
|
+
run: S6,
|
|
92232
92232
|
isInvalid: b9
|
|
92233
92233
|
}), w9 = function(a, c) {
|
|
92234
92234
|
return a.validator.map(function(v) {
|
|
92235
92235
|
return Oo([wn(v.onEvent, function(b) {
|
|
92236
|
-
|
|
92236
|
+
S6(b, a, c).get(z);
|
|
92237
92237
|
})].concat(v.validateOnLoad ? [Ra(function(b) {
|
|
92238
|
-
|
|
92238
|
+
S6(b, a, c).get(R);
|
|
92239
92239
|
})] : []));
|
|
92240
92240
|
}).getOr({});
|
|
92241
92241
|
}, C9 = /* @__PURE__ */ Object.freeze({
|
|
@@ -92365,7 +92365,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92365
92365
|
})));
|
|
92366
92366
|
});
|
|
92367
92367
|
});
|
|
92368
|
-
},
|
|
92368
|
+
}, k6 = function(a, c, v, b, x, N, D) {
|
|
92369
92369
|
var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
|
|
92370
92370
|
return L.map(function(G) {
|
|
92371
92371
|
return G.fold(function() {
|
|
@@ -92377,7 +92377,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92377
92377
|
}, n3 = function(a, c, v, b, x, N, D) {
|
|
92378
92378
|
return wo.close(b), sl.pure(b);
|
|
92379
92379
|
}, Vg = function(a, c, v, b, x, N) {
|
|
92380
|
-
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 :
|
|
92380
|
+
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k6;
|
|
92381
92381
|
return L(a, c, v, D, b, x, N);
|
|
92382
92382
|
}, T9 = function(a, c, v) {
|
|
92383
92383
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
@@ -92398,11 +92398,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92398
92398
|
};
|
|
92399
92399
|
});
|
|
92400
92400
|
});
|
|
92401
|
-
},
|
|
92401
|
+
}, T6 = function(a) {
|
|
92402
92402
|
wo.getState(a).each(function(c) {
|
|
92403
92403
|
hm.repositionMenus(c);
|
|
92404
92404
|
});
|
|
92405
|
-
},
|
|
92405
|
+
}, N6 = function(a, c, v) {
|
|
92406
92406
|
var b = lc(), x = function(F, L) {
|
|
92407
92407
|
var G = t3(a, c);
|
|
92408
92408
|
b.link(c.element), a.matchWidth && T9(G.hotspot, L, a.useMinWidth), a.onOpen(G, F, L), v !== void 0 && v.onOpen !== void 0 && v.onOpen(F, L);
|
|
@@ -92442,13 +92442,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92442
92442
|
});
|
|
92443
92443
|
}
|
|
92444
92444
|
}),
|
|
92445
|
-
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition:
|
|
92445
|
+
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T6 })) })
|
|
92446
92446
|
])
|
|
92447
92447
|
};
|
|
92448
|
-
},
|
|
92448
|
+
}, A6 = function(a) {
|
|
92449
92449
|
var c = Ga.getCoupled(a, "sandbox");
|
|
92450
|
-
|
|
92451
|
-
},
|
|
92450
|
+
T6(c);
|
|
92451
|
+
}, I6 = function() {
|
|
92452
92452
|
return [
|
|
92453
92453
|
Ot("sandboxClasses", []),
|
|
92454
92454
|
is.field("sandboxBehaviours", [
|
|
@@ -92478,7 +92478,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92478
92478
|
Ot("matchWidth", !1),
|
|
92479
92479
|
Ot("useMinWidth", !1),
|
|
92480
92480
|
Do("role")
|
|
92481
|
-
].concat(
|
|
92481
|
+
].concat(I6())), pk = V([
|
|
92482
92482
|
tu({
|
|
92483
92483
|
schema: [zf()],
|
|
92484
92484
|
name: "menu",
|
|
@@ -92519,7 +92519,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92519
92519
|
}, Z, b, R, Uu.HighlightFirst).get(R);
|
|
92520
92520
|
},
|
|
92521
92521
|
repositionMenus: function(Z) {
|
|
92522
|
-
Vt.isOn(Z) &&
|
|
92522
|
+
Vt.isOn(Z) && A6(Z);
|
|
92523
92523
|
}
|
|
92524
92524
|
}, G = function(Z, ee) {
|
|
92525
92525
|
return Nf(Z), U.some(!0);
|
|
@@ -92536,7 +92536,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92536
92536
|
Ga.config({
|
|
92537
92537
|
others: {
|
|
92538
92538
|
sandbox: function(Z) {
|
|
92539
|
-
return
|
|
92539
|
+
return N6(a, Z, {
|
|
92540
92540
|
onOpen: function() {
|
|
92541
92541
|
return Vt.on(Z);
|
|
92542
92542
|
},
|
|
@@ -92640,7 +92640,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92640
92640
|
return sl.nu(function(b) {
|
|
92641
92641
|
return a.fetch(b);
|
|
92642
92642
|
}).map(function(b) {
|
|
92643
|
-
return U.from($S(to(
|
|
92643
|
+
return U.from($S(to(_6(Tr("menu-value"), b, function(x) {
|
|
92644
92644
|
a.onItemAction(v, x);
|
|
92645
92645
|
}, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
|
|
92646
92646
|
});
|
|
@@ -92858,7 +92858,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92858
92858
|
Ek
|
|
92859
92859
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92860
92860
|
return a.type.indexOf("touch") !== -1;
|
|
92861
|
-
},
|
|
92861
|
+
}, D6 = function(a) {
|
|
92862
92862
|
var c = a.event.raw;
|
|
92863
92863
|
if (V9(c)) {
|
|
92864
92864
|
var v = c;
|
|
@@ -92889,12 +92889,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92889
92889
|
return a.model.maxY + 1;
|
|
92890
92890
|
}, z_ = function(a, c, v) {
|
|
92891
92891
|
return c(a) - v(a);
|
|
92892
|
-
},
|
|
92892
|
+
}, O6 = function(a) {
|
|
92893
92893
|
return z_(a, Nl, Sm);
|
|
92894
92894
|
}, i3 = function(a) {
|
|
92895
92895
|
return z_(a, Vv, lu);
|
|
92896
92896
|
}, kk = function(a) {
|
|
92897
|
-
return
|
|
92897
|
+
return O6(a) / 2;
|
|
92898
92898
|
}, Tk = function(a) {
|
|
92899
92899
|
return i3(a) / 2;
|
|
92900
92900
|
}, Lg = function(a) {
|
|
@@ -92917,7 +92917,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92917
92917
|
return s3(a, Em);
|
|
92918
92918
|
}, cd = function(a) {
|
|
92919
92919
|
return a.model.value.get();
|
|
92920
|
-
},
|
|
92920
|
+
}, B6 = function(a) {
|
|
92921
92921
|
return { x: a };
|
|
92922
92922
|
}, Pk = function(a) {
|
|
92923
92923
|
return { y: a };
|
|
@@ -92937,7 +92937,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92937
92937
|
}, Rk = function(a, c) {
|
|
92938
92938
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92939
92939
|
}, $k = function(a, c) {
|
|
92940
|
-
Ac(a,
|
|
92940
|
+
Ac(a, B6(U_(c)));
|
|
92941
92941
|
}, u3 = function(a, c) {
|
|
92942
92942
|
Ac(a, Lv(U_(c), Tk(c)));
|
|
92943
92943
|
}, j9 = function(a, c) {
|
|
@@ -92949,12 +92949,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92949
92949
|
}, q9 = function(a, c) {
|
|
92950
92950
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92951
92951
|
}, K9 = function(a, c) {
|
|
92952
|
-
Ac(a,
|
|
92952
|
+
Ac(a, B6(r3(c)));
|
|
92953
92953
|
}, Y9 = function(a, c) {
|
|
92954
92954
|
Ac(a, Lv(r3(c), Tk(c)));
|
|
92955
92955
|
}, Ug = function(a, c, v, b) {
|
|
92956
92956
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92957
|
-
},
|
|
92957
|
+
}, P6 = function(a, c, v, b) {
|
|
92958
92958
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92959
92959
|
}, Vk = function(a, c, v) {
|
|
92960
92960
|
return Math.max(c, Math.min(v, a));
|
|
@@ -92976,26 +92976,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92976
92976
|
return je;
|
|
92977
92977
|
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92978
92978
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92979
|
-
},
|
|
92979
|
+
}, M6 = function(a) {
|
|
92980
92980
|
var c = a.min, v = a.max, b = a.range, x = a.value, N = a.hasMinEdge, D = a.hasMaxEdge, F = a.maxBound, L = a.maxOffset, G = a.centerMinEdge, Z = a.centerMaxEdge;
|
|
92981
92981
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92982
|
-
}, H_ = "top", Lk = "right", Uk = "bottom",
|
|
92982
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92983
92983
|
return a.element.dom.getBoundingClientRect();
|
|
92984
92984
|
}, Ic = function(a, c) {
|
|
92985
92985
|
return a[c];
|
|
92986
92986
|
}, cs = function(a) {
|
|
92987
92987
|
var c = zu(a);
|
|
92988
|
-
return Ic(c,
|
|
92988
|
+
return Ic(c, R6);
|
|
92989
92989
|
}, Hk = function(a) {
|
|
92990
92990
|
var c = zu(a);
|
|
92991
92991
|
return Ic(c, Lk);
|
|
92992
92992
|
}, c3 = function(a) {
|
|
92993
92993
|
var c = zu(a);
|
|
92994
92994
|
return Ic(c, H_);
|
|
92995
|
-
}, $
|
|
92995
|
+
}, $6 = function(a) {
|
|
92996
92996
|
var c = zu(a);
|
|
92997
92997
|
return Ic(c, Uk);
|
|
92998
|
-
},
|
|
92998
|
+
}, F6 = function(a) {
|
|
92999
92999
|
var c = zu(a);
|
|
93000
93000
|
return Ic(c, zk);
|
|
93001
93001
|
}, Wk = function(a) {
|
|
@@ -93004,7 +93004,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93004
93004
|
}, jk = function(a, c, v) {
|
|
93005
93005
|
return (a + c) / 2 - v;
|
|
93006
93006
|
}, Gk = function(a, c) {
|
|
93007
|
-
var v = zu(a), b = zu(c), x = Ic(v,
|
|
93007
|
+
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
|
|
93008
93008
|
return jk(x, N, D);
|
|
93009
93009
|
}, qk = function(a, c) {
|
|
93010
93010
|
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
@@ -93013,11 +93013,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93013
93013
|
_r(a, L_(), { value: c });
|
|
93014
93014
|
}, d3 = function(a) {
|
|
93015
93015
|
return { x: a };
|
|
93016
|
-
},
|
|
93016
|
+
}, V6 = function(a, c, v) {
|
|
93017
93017
|
var b = {
|
|
93018
93018
|
min: Sm(c),
|
|
93019
93019
|
max: Nl(c),
|
|
93020
|
-
range:
|
|
93020
|
+
range: O6(c),
|
|
93021
93021
|
value: v,
|
|
93022
93022
|
step: Lg(c),
|
|
93023
93023
|
snap: l3(c),
|
|
@@ -93027,11 +93027,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93027
93027
|
hasMaxEdge: Dk(c),
|
|
93028
93028
|
minBound: cs(a),
|
|
93029
93029
|
maxBound: Hk(a),
|
|
93030
|
-
screenRange:
|
|
93030
|
+
screenRange: F6(a)
|
|
93031
93031
|
};
|
|
93032
93032
|
return km(b);
|
|
93033
93033
|
}, Kk = function(a, c, v) {
|
|
93034
|
-
var b =
|
|
93034
|
+
var b = V6(a, c, v), x = d3(b);
|
|
93035
93035
|
return f3(a, x), b;
|
|
93036
93036
|
}, Z9 = function(a, c) {
|
|
93037
93037
|
var v = Sm(c);
|
|
@@ -93040,26 +93040,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93040
93040
|
var v = Nl(c);
|
|
93041
93041
|
f3(a, d3(v));
|
|
93042
93042
|
}, eD = function(a, c, v) {
|
|
93043
|
-
var b = a > 0 ?
|
|
93043
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
|
|
93044
93044
|
return f3(c, d3(x)), U.some(x);
|
|
93045
|
-
},
|
|
93045
|
+
}, L6 = function(a) {
|
|
93046
93046
|
return function(c, v) {
|
|
93047
93047
|
return eD(a, c, v).map(Pe);
|
|
93048
93048
|
};
|
|
93049
93049
|
}, h3 = function(a) {
|
|
93050
|
-
var c =
|
|
93050
|
+
var c = D6(a);
|
|
93051
93051
|
return c.map(function(v) {
|
|
93052
93052
|
return v.left;
|
|
93053
93053
|
});
|
|
93054
93054
|
}, tD = function(a, c, v, b, x) {
|
|
93055
|
-
var N = 0, D =
|
|
93055
|
+
var N = 0, D = F6(a), F = b.bind(function(Z) {
|
|
93056
93056
|
return U.some(Gk(Z, a));
|
|
93057
93057
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93058
93058
|
return U.some(Gk(Z, a));
|
|
93059
93059
|
}).getOr(D), G = {
|
|
93060
93060
|
min: Sm(c),
|
|
93061
93061
|
max: Nl(c),
|
|
93062
|
-
range:
|
|
93062
|
+
range: O6(c),
|
|
93063
93063
|
value: v,
|
|
93064
93064
|
hasMinEdge: Ik(c),
|
|
93065
93065
|
hasMaxEdge: Dk(c),
|
|
@@ -93070,14 +93070,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93070
93070
|
centerMinEdge: F,
|
|
93071
93071
|
centerMaxEdge: L
|
|
93072
93072
|
};
|
|
93073
|
-
return
|
|
93073
|
+
return M6(G);
|
|
93074
93074
|
}, zg = function(a, c, v, b, x, N) {
|
|
93075
93075
|
var D = tD(c, N, v, b, x);
|
|
93076
93076
|
return cs(c) - cs(a) + D;
|
|
93077
93077
|
}, Hg = function(a, c, v, b) {
|
|
93078
93078
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
|
|
93079
93079
|
eo(c.element, "left", N - D + "px");
|
|
93080
|
-
}, Yk =
|
|
93080
|
+
}, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
|
|
93081
93081
|
"top-left": U.none(),
|
|
93082
93082
|
top: U.none(),
|
|
93083
93083
|
"top-right": U.none(),
|
|
@@ -93091,7 +93091,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93091
93091
|
setValueFrom: Kk,
|
|
93092
93092
|
setToMin: Z9,
|
|
93093
93093
|
setToMax: Q9,
|
|
93094
|
-
findValueOfOffset:
|
|
93094
|
+
findValueOfOffset: V6,
|
|
93095
93095
|
getValueFromEvent: h3,
|
|
93096
93096
|
findPositionOfValue: zg,
|
|
93097
93097
|
setPositionFromValue: Hg,
|
|
@@ -93117,28 +93117,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93117
93117
|
hasMinEdge: Ok(c),
|
|
93118
93118
|
hasMaxEdge: Bk(c),
|
|
93119
93119
|
minBound: c3(a),
|
|
93120
|
-
maxBound: $
|
|
93120
|
+
maxBound: $6(a),
|
|
93121
93121
|
screenRange: Wk(a)
|
|
93122
93122
|
};
|
|
93123
93123
|
return km(b);
|
|
93124
93124
|
}, Zk = function(a, c, v) {
|
|
93125
93125
|
var b = g3(a, c, v), x = m3(b);
|
|
93126
93126
|
return p3(a, x), b;
|
|
93127
|
-
},
|
|
93127
|
+
}, U6 = function(a, c) {
|
|
93128
93128
|
var v = lu(c);
|
|
93129
93129
|
p3(a, m3(v));
|
|
93130
93130
|
}, Qk = function(a, c) {
|
|
93131
93131
|
var v = Vv(c);
|
|
93132
93132
|
p3(a, m3(v));
|
|
93133
93133
|
}, fs = function(a, c, v) {
|
|
93134
|
-
var b = a > 0 ?
|
|
93134
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
|
|
93135
93135
|
return p3(c, m3(x)), U.some(x);
|
|
93136
|
-
},
|
|
93136
|
+
}, z6 = function(a) {
|
|
93137
93137
|
return function(c, v) {
|
|
93138
93138
|
return fs(a, c, v).map(Pe);
|
|
93139
93139
|
};
|
|
93140
93140
|
}, oD = function(a) {
|
|
93141
|
-
var c =
|
|
93141
|
+
var c = D6(a);
|
|
93142
93142
|
return c.map(function(v) {
|
|
93143
93143
|
return v.top;
|
|
93144
93144
|
});
|
|
@@ -93156,19 +93156,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93156
93156
|
hasMaxEdge: Bk(c),
|
|
93157
93157
|
minBound: c3(a),
|
|
93158
93158
|
minOffset: N,
|
|
93159
|
-
maxBound: $
|
|
93159
|
+
maxBound: $6(a),
|
|
93160
93160
|
maxOffset: D,
|
|
93161
93161
|
centerMinEdge: F,
|
|
93162
93162
|
centerMaxEdge: L
|
|
93163
93163
|
};
|
|
93164
|
-
return
|
|
93164
|
+
return M6(G);
|
|
93165
93165
|
}, _3 = function(a, c, v, b, x, N) {
|
|
93166
93166
|
var D = aD(c, N, v, b, x);
|
|
93167
93167
|
return c3(c) - c3(a) + D;
|
|
93168
93168
|
}, iD = function(a, c, v, b) {
|
|
93169
93169
|
var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
|
|
93170
93170
|
eo(c.element, "top", N - D + "px");
|
|
93171
|
-
}, lD = U.none, sD = U.none, e5 =
|
|
93171
|
+
}, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
|
|
93172
93172
|
"top-left": U.none(),
|
|
93173
93173
|
top: U.some(W9),
|
|
93174
93174
|
"top-right": U.none(),
|
|
@@ -93180,7 +93180,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93180
93180
|
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93181
93181
|
__proto__: null,
|
|
93182
93182
|
setValueFrom: Zk,
|
|
93183
|
-
setToMin:
|
|
93183
|
+
setToMin: U6,
|
|
93184
93184
|
setToMax: Qk,
|
|
93185
93185
|
findValueOfOffset: g3,
|
|
93186
93186
|
getValueFromEvent: oD,
|
|
@@ -93190,7 +93190,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93190
93190
|
onRight: sD,
|
|
93191
93191
|
onUp: e5,
|
|
93192
93192
|
onDown: fd,
|
|
93193
|
-
edgeActions:
|
|
93193
|
+
edgeActions: H6
|
|
93194
93194
|
}), Tm = function(a, c) {
|
|
93195
93195
|
_r(a, L_(), { value: c });
|
|
93196
93196
|
}, Wg = function(a, c) {
|
|
@@ -93199,10 +93199,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93199
93199
|
y: c
|
|
93200
93200
|
};
|
|
93201
93201
|
}, uD = function(a, c, v) {
|
|
93202
|
-
var b =
|
|
93202
|
+
var b = V6(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
|
|
93203
93203
|
return Tm(a, N), N;
|
|
93204
93204
|
}, cD = function(a, c, v, b) {
|
|
93205
|
-
var x = a > 0 ?
|
|
93205
|
+
var x = a > 0 ? P6 : Ug, N = c ? cd(b).x : x(cd(b).x, Sm(b), Nl(b), Lg(b)), D = c ? x(cd(b).y, lu(b), Vv(b), Lg(b)) : cd(b).y;
|
|
93206
93206
|
return Tm(v, Wg(N, D)), U.some(N);
|
|
93207
93207
|
}, y3 = function(a, c) {
|
|
93208
93208
|
return function(v, b) {
|
|
@@ -93214,8 +93214,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93214
93214
|
}, dD = function(a, c) {
|
|
93215
93215
|
var v = Nl(c), b = Vv(c);
|
|
93216
93216
|
Tm(a, Wg(v, b));
|
|
93217
|
-
},
|
|
93218
|
-
return
|
|
93217
|
+
}, W6 = function(a) {
|
|
93218
|
+
return D6(a);
|
|
93219
93219
|
}, hD = function(a, c, v, b) {
|
|
93220
93220
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), F = Vl(c.element) / 2, L = xl(c.element) / 2;
|
|
93221
93221
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
@@ -93233,7 +93233,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93233
93233
|
setValueFrom: uD,
|
|
93234
93234
|
setToMin: fD,
|
|
93235
93235
|
setToMax: dD,
|
|
93236
|
-
getValueFromEvent:
|
|
93236
|
+
getValueFromEvent: W6,
|
|
93237
93237
|
setPositionFromValue: hD,
|
|
93238
93238
|
onLeft: n5,
|
|
93239
93239
|
onRight: vD,
|
|
@@ -93418,7 +93418,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93418
93418
|
return Nm(O_(a));
|
|
93419
93419
|
}, a5 = function(a) {
|
|
93420
93420
|
return G4(vS(a));
|
|
93421
|
-
},
|
|
93421
|
+
}, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93422
93422
|
var v = su.parts.spectrum({
|
|
93423
93423
|
dom: {
|
|
93424
93424
|
tag: "div",
|
|
@@ -93515,7 +93515,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93515
93515
|
return a.getField(c, v);
|
|
93516
93516
|
}),
|
|
93517
93517
|
sketch: Am
|
|
93518
|
-
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"),
|
|
93518
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93519
93519
|
var x = function(fe, Te) {
|
|
93520
93520
|
return ff.config({
|
|
93521
93521
|
invalidClass: c("invalid"),
|
|
@@ -93545,7 +93545,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93545
93545
|
}
|
|
93546
93546
|
});
|
|
93547
93547
|
}, N = function(fe, Te, ze, je, dt) {
|
|
93548
|
-
var qe = a(
|
|
93548
|
+
var qe = a(G6 + "range"), St = zo.parts.label({
|
|
93549
93549
|
dom: {
|
|
93550
93550
|
tag: "label",
|
|
93551
93551
|
innerHtml: ze,
|
|
@@ -93632,12 +93632,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93632
93632
|
var Fr = uS(hr);
|
|
93633
93633
|
je("hex", U.some(hr));
|
|
93634
93634
|
var Rn = O_(Fr);
|
|
93635
|
-
F(bn, Rn), qe(Rn), _r(bn,
|
|
93635
|
+
F(bn, Rn), qe(Rn), _r(bn, j6, { hex: Fr }), G(bn, Fr);
|
|
93636
93636
|
}, rn = function(bn, hr, Fr) {
|
|
93637
93637
|
var Rn = parseInt(Fr, 10);
|
|
93638
93638
|
je(hr, U.some(Rn)), dt().each(function(Nr) {
|
|
93639
93639
|
var Rr = D(bn, Nr);
|
|
93640
|
-
_r(bn,
|
|
93640
|
+
_r(bn, j6, { hex: Rr }), G(bn, Rr);
|
|
93641
93641
|
});
|
|
93642
93642
|
}, jt = function(bn) {
|
|
93643
93643
|
return bn.type === "hex";
|
|
@@ -93646,8 +93646,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93646
93646
|
jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
|
|
93647
93647
|
}, Kt = function(bn) {
|
|
93648
93648
|
return {
|
|
93649
|
-
label: a(
|
|
93650
|
-
description: a(
|
|
93649
|
+
label: a(G6 + bn + ".label"),
|
|
93650
|
+
description: a(G6 + bn + ".description")
|
|
93651
93651
|
};
|
|
93652
93652
|
}, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
|
|
93653
93653
|
return to(Gg.sketch(function(bn) {
|
|
@@ -93658,9 +93658,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93658
93658
|
attributes: { "aria-label": a("aria.color.picker") }
|
|
93659
93659
|
},
|
|
93660
93660
|
components: [
|
|
93661
|
-
bn.field("red", zo.sketch(N(
|
|
93662
|
-
bn.field("green", zo.sketch(N(
|
|
93663
|
-
bn.field("blue", zo.sketch(N(
|
|
93661
|
+
bn.field("red", zo.sketch(N(h6, "red", En.label, En.description, 255))),
|
|
93662
|
+
bn.field("green", zo.sketch(N(h6, "green", wr.label, wr.description, 255))),
|
|
93663
|
+
bn.field("blue", zo.sketch(N(h6, "blue", Jn.label, Jn.description, 255))),
|
|
93664
93664
|
bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
|
|
93665
93665
|
L.asSpec()
|
|
93666
93666
|
],
|
|
@@ -93692,7 +93692,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93692
93692
|
extraApis: {}
|
|
93693
93693
|
});
|
|
93694
93694
|
return ee;
|
|
93695
|
-
},
|
|
93695
|
+
}, q6 = function(a, c) {
|
|
93696
93696
|
var v = su.parts.spectrum({
|
|
93697
93697
|
dom: {
|
|
93698
93698
|
tag: "canvas",
|
|
@@ -93772,7 +93772,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93772
93772
|
return L;
|
|
93773
93773
|
}, bD = function(a, c) {
|
|
93774
93774
|
var v = function(x) {
|
|
93775
|
-
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D =
|
|
93775
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
|
|
93776
93776
|
return (100 - nn) / 100 * 360;
|
|
93777
93777
|
}, L = function(nn) {
|
|
93778
93778
|
return 100 - nn / 360 * 100;
|
|
@@ -93838,7 +93838,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93838
93838
|
],
|
|
93839
93839
|
behaviours: Mn([
|
|
93840
93840
|
so("colour-picker-events", [
|
|
93841
|
-
wn(
|
|
93841
|
+
wn(j6, jt()),
|
|
93842
93842
|
wn(l5, At()),
|
|
93843
93843
|
wn(i5, rn())
|
|
93844
93844
|
]),
|
|
@@ -93862,9 +93862,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93862
93862
|
return b;
|
|
93863
93863
|
}, v5 = function() {
|
|
93864
93864
|
return To.config({ find: U.some });
|
|
93865
|
-
},
|
|
93865
|
+
}, K6 = function(a) {
|
|
93866
93866
|
return To.config({ find: a.getOpt });
|
|
93867
|
-
},
|
|
93867
|
+
}, Y6 = function(a) {
|
|
93868
93868
|
return To.config({
|
|
93869
93869
|
find: function(c) {
|
|
93870
93870
|
return v0(c.element, a).bind(function(v) {
|
|
@@ -93874,8 +93874,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93874
93874
|
});
|
|
93875
93875
|
}, Dc = {
|
|
93876
93876
|
self: v5,
|
|
93877
|
-
memento:
|
|
93878
|
-
childAt:
|
|
93877
|
+
memento: K6,
|
|
93878
|
+
childAt: Y6
|
|
93879
93879
|
}, wD = {
|
|
93880
93880
|
"colorcustom.rgb.red.label": "R",
|
|
93881
93881
|
"colorcustom.rgb.red.description": "Red component",
|
|
@@ -93998,11 +93998,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93998
93998
|
]),
|
|
93999
93999
|
components: [v.asSpec()]
|
|
94000
94000
|
};
|
|
94001
|
-
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"),
|
|
94001
|
+
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
|
|
94002
94002
|
Ot("preprocess", z),
|
|
94003
94003
|
Ot("postprocess", z)
|
|
94004
94004
|
]), m5 = function(a, c) {
|
|
94005
|
-
var v = Na("RepresentingConfigs.memento processors",
|
|
94005
|
+
var v = Na("RepresentingConfigs.memento processors", X6, c);
|
|
94006
94006
|
return or.config({
|
|
94007
94007
|
store: {
|
|
94008
94008
|
mode: "manual",
|
|
@@ -94016,7 +94016,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94016
94016
|
}
|
|
94017
94017
|
}
|
|
94018
94018
|
});
|
|
94019
|
-
},
|
|
94019
|
+
}, J6 = function(a, c, v) {
|
|
94020
94020
|
return or.config(to({
|
|
94021
94021
|
store: {
|
|
94022
94022
|
mode: "manual",
|
|
@@ -94027,7 +94027,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94027
94027
|
return { store: { initialValue: b } };
|
|
94028
94028
|
}).getOr({})));
|
|
94029
94029
|
}, j_ = function(a, c, v) {
|
|
94030
|
-
return
|
|
94030
|
+
return J6(a, function(b) {
|
|
94031
94031
|
return c(b.element);
|
|
94032
94032
|
}, function(b, x) {
|
|
94033
94033
|
return v(b.element, x);
|
|
@@ -94046,7 +94046,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94046
94046
|
}, Uv = {
|
|
94047
94047
|
memento: m5,
|
|
94048
94048
|
withElement: j_,
|
|
94049
|
-
withComp:
|
|
94049
|
+
withComp: J6,
|
|
94050
94050
|
domValue: g5,
|
|
94051
94051
|
domHtml: x3,
|
|
94052
94052
|
memory: _5
|
|
@@ -94264,9 +94264,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94264
94264
|
return a.getContext("2d");
|
|
94265
94265
|
}, OD = function(a, c, v) {
|
|
94266
94266
|
return a.width = c, a.height = v, a;
|
|
94267
|
-
},
|
|
94267
|
+
}, Z6 = function(a) {
|
|
94268
94268
|
return a.naturalWidth || a.width;
|
|
94269
|
-
},
|
|
94269
|
+
}, Q6 = function(a) {
|
|
94270
94270
|
return a.naturalHeight || a.height;
|
|
94271
94271
|
}, BD = function() {
|
|
94272
94272
|
var a = function(ee) {
|
|
@@ -94437,7 +94437,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94437
94437
|
}, tx = function(a) {
|
|
94438
94438
|
return ex(a).then(function(c) {
|
|
94439
94439
|
$D(c);
|
|
94440
|
-
var v = qg(
|
|
94440
|
+
var v = qg(Z6(c), Q6(c)), b = Oc(v);
|
|
94441
94441
|
return b.drawImage(c, 0, 0), v;
|
|
94442
94442
|
});
|
|
94443
94443
|
}, E5 = function(a) {
|
|
@@ -94820,7 +94820,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94820
94820
|
]), N5 = WD(function(a, c) {
|
|
94821
94821
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94822
94822
|
}), A5 = function(a, c, v) {
|
|
94823
|
-
var b =
|
|
94823
|
+
var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
|
|
94824
94824
|
(N < 0.5 || N > 2) && (N = N < 0.5 ? 0.5 : 2, F = !0), (D < 0.5 || D > 2) && (D = D < 0.5 ? 0.5 : 2, F = !0);
|
|
94825
94825
|
var L = ZD(a, N, D);
|
|
94826
94826
|
return F ? L.then(function(G) {
|
|
@@ -94828,7 +94828,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94828
94828
|
}) : L;
|
|
94829
94829
|
}, ZD = function(a, c, v) {
|
|
94830
94830
|
return new hd(function(b) {
|
|
94831
|
-
var x =
|
|
94831
|
+
var x = Z6(a), N = Q6(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
|
|
94832
94832
|
G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
|
|
94833
94833
|
});
|
|
94834
94834
|
}, rx = function(a, c) {
|
|
@@ -95063,8 +95063,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95063
95063
|
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95064
95064
|
if (N.items.length === 0)
|
|
95065
95065
|
return U.none();
|
|
95066
|
-
var D =
|
|
95067
|
-
return
|
|
95066
|
+
var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
95067
|
+
return b6(Z, G, c, v, !1);
|
|
95068
95068
|
}), L = to(F, ge(x, D));
|
|
95069
95069
|
return U.from(hm.tieredData(x, L, N.expansions));
|
|
95070
95070
|
}, vO = function(a) {
|
|
@@ -97011,7 +97011,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97011
97011
|
var fe = function(Te) {
|
|
97012
97012
|
To.getCurrent(Te).each(Z);
|
|
97013
97013
|
};
|
|
97014
|
-
|
|
97014
|
+
k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
97015
97015
|
}
|
|
97016
97016
|
}, N = ek(a), D = function(L) {
|
|
97017
97017
|
return function(G) {
|
|
@@ -97075,7 +97075,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97075
97075
|
});
|
|
97076
97076
|
});
|
|
97077
97077
|
};
|
|
97078
|
-
|
|
97078
|
+
k6(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
|
|
97079
97079
|
}
|
|
97080
97080
|
},
|
|
97081
97081
|
cancelEvent: fp()
|
|
@@ -97111,7 +97111,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97111
97111
|
Ga.config({
|
|
97112
97112
|
others: {
|
|
97113
97113
|
sandbox: function(L) {
|
|
97114
|
-
return
|
|
97114
|
+
return N6(a, L, {
|
|
97115
97115
|
onOpen: function() {
|
|
97116
97116
|
return Vt.on(L);
|
|
97117
97117
|
},
|
|
@@ -97187,7 +97187,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97187
97187
|
vi("previewing", function() {
|
|
97188
97188
|
return jn(!0);
|
|
97189
97189
|
})
|
|
97190
|
-
].concat(QS()).concat(
|
|
97190
|
+
].concat(QS()).concat(I6())), XO = V([tu({
|
|
97191
97191
|
schema: [zf()],
|
|
97192
97192
|
name: "menu",
|
|
97193
97193
|
overrides: function(a) {
|
|
@@ -97935,7 +97935,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97935
97935
|
};
|
|
97936
97936
|
}, S7 = function(a) {
|
|
97937
97937
|
return function() {
|
|
97938
|
-
return
|
|
97938
|
+
return m6(a);
|
|
97939
97939
|
};
|
|
97940
97940
|
}, k7 = function(a) {
|
|
97941
97941
|
return function() {
|
|
@@ -97955,7 +97955,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97955
97955
|
}, _T = function(a) {
|
|
97956
97956
|
return { isDraggableModal: N7(a) };
|
|
97957
97957
|
}, A7 = function(a) {
|
|
97958
|
-
var c = jn(
|
|
97958
|
+
var c = jn(e6(a) ? "bottom" : "top");
|
|
97959
97959
|
return {
|
|
97960
97960
|
isPositionedAtTop: function() {
|
|
97961
97961
|
return c.get() === "top";
|
|
@@ -98118,7 +98118,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98118
98118
|
}, ty = function(a) {
|
|
98119
98119
|
return jE(a).map(function(c) {
|
|
98120
98120
|
var v = Dm(a, c);
|
|
98121
|
-
return
|
|
98121
|
+
return J8(a) ? yT.concat(v) : v;
|
|
98122
98122
|
}).getOr(yT);
|
|
98123
98123
|
}, bT = function(a, c, v) {
|
|
98124
98124
|
var b = {
|
|
@@ -98332,10 +98332,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98332
98332
|
return GA(a) ? U.none() : U.some({
|
|
98333
98333
|
targets: G7.find(a.getBody()),
|
|
98334
98334
|
anchorTop: Ix(qA(a)),
|
|
98335
|
-
anchorBottom: Ix(
|
|
98335
|
+
anchorBottom: Ix(r6(a))
|
|
98336
98336
|
});
|
|
98337
98337
|
}, tB = function(a) {
|
|
98338
|
-
return U.from(
|
|
98338
|
+
return U.from(o6(a));
|
|
98339
98339
|
}, nB = function(a) {
|
|
98340
98340
|
return {
|
|
98341
98341
|
getHistory: Y7,
|
|
@@ -99374,7 +99374,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99374
99374
|
Ot("useMinWidth", !1),
|
|
99375
99375
|
Ot("eventOrder", {}),
|
|
99376
99376
|
Do("role")
|
|
99377
|
-
].concat(
|
|
99377
|
+
].concat(I6())), PB = Ni({
|
|
99378
99378
|
factory: Gl,
|
|
99379
99379
|
schema: [nt("dom")],
|
|
99380
99380
|
name: "arrow",
|
|
@@ -99473,7 +99473,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99473
99473
|
});
|
|
99474
99474
|
})])), In(U.some(D))), Z = {
|
|
99475
99475
|
repositionMenus: function(ee) {
|
|
99476
|
-
Vt.isOn(ee) &&
|
|
99476
|
+
Vt.isOn(ee) && A6(ee);
|
|
99477
99477
|
}
|
|
99478
99478
|
};
|
|
99479
99479
|
return {
|
|
@@ -99499,7 +99499,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99499
99499
|
Vt.off(fe), Vt.off(ee);
|
|
99500
99500
|
}
|
|
99501
99501
|
};
|
|
99502
|
-
return
|
|
99502
|
+
return N6(a, ee, Te);
|
|
99503
99503
|
}
|
|
99504
99504
|
}
|
|
99505
99505
|
}),
|
|
@@ -99693,7 +99693,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99693
99693
|
return sl.nu(function(x) {
|
|
99694
99694
|
return c.fetch(x);
|
|
99695
99695
|
}).map(function(x) {
|
|
99696
|
-
return U.from($S(to(
|
|
99696
|
+
return U.from($S(to(_6(Tr("menu-value"), x, function(N) {
|
|
99697
99697
|
c.onItemAction(a(b), N);
|
|
99698
99698
|
}, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
|
|
99699
99699
|
movement: K4(c.columns, c.presets),
|
|
@@ -99921,7 +99921,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99921
99921
|
bottom: Math.min(D.y, v.bottom)
|
|
99922
99922
|
};
|
|
99923
99923
|
}, uN = function(a, c) {
|
|
99924
|
-
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x =
|
|
99924
|
+
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x = Z8(a) || Ag(a) || k_(a), N = sN(b, v), D = N.x, F = N.width;
|
|
99925
99925
|
if (a.inline && !x)
|
|
99926
99926
|
return fl(D, v.y, F, v.height);
|
|
99927
99927
|
var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
|
|
@@ -102256,10 +102256,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102256
102256
|
}, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
|
|
102257
102257
|
var v = a.dom, b = a.getWin(), x = a.getDoc().documentElement, N = jn(Ua(b.innerWidth, b.innerHeight)), D = jn(Ua(x.offsetWidth, x.offsetHeight)), F = function() {
|
|
102258
102258
|
var fe = N.get();
|
|
102259
|
-
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)),
|
|
102259
|
+
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v6(a));
|
|
102260
102260
|
}, L = function() {
|
|
102261
102261
|
var fe = a.getDoc().documentElement, Te = D.get();
|
|
102262
|
-
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)),
|
|
102262
|
+
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v6(a));
|
|
102263
102263
|
}, G = function(fe) {
|
|
102264
102264
|
return hI(a, fe);
|
|
102265
102265
|
};
|
|
@@ -102334,7 +102334,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102334
102334
|
});
|
|
102335
102335
|
return b.or(x).getOr(a);
|
|
102336
102336
|
}, D$ = function(a) {
|
|
102337
|
-
var c = HE(a), v = WE(a), b =
|
|
102337
|
+
var c = HE(a), v = WE(a), b = X8(a);
|
|
102338
102338
|
return iP(c).map(function(x) {
|
|
102339
102339
|
return hN(x, v, b);
|
|
102340
102340
|
});
|
|
@@ -102359,7 +102359,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102359
102359
|
return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
|
|
102360
102360
|
}) : 0;
|
|
102361
102361
|
}, St = function(fn) {
|
|
102362
|
-
switch (
|
|
102362
|
+
switch (Q8(a)) {
|
|
102363
102363
|
case bm.auto:
|
|
102364
102364
|
var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
|
|
102365
102365
|
if (Nr)
|
|
@@ -102434,7 +102434,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102434
102434
|
x.set({
|
|
102435
102435
|
pos: G,
|
|
102436
102436
|
bounds: Z
|
|
102437
|
-
}), ze &&
|
|
102437
|
+
}), ze && v6(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
|
|
102438
102438
|
};
|
|
102439
102439
|
b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
|
|
102440
102440
|
return v.update(!0);
|
|
@@ -103909,7 +103909,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
103909
103909
|
})(dy || (dy = {}));
|
|
103910
103910
|
var CV = function(a, c, v, b, x) {
|
|
103911
103911
|
var N = {};
|
|
103912
|
-
return N.height = hN(b + c.top, WE(a),
|
|
103912
|
+
return N.height = hN(b + c.top, WE(a), X8(a)), v === dy.Both && (N.width = hN(x + c.left, ym(a), L4(a))), N;
|
|
103913
103913
|
}, DM = function(a, c, v) {
|
|
103914
103914
|
var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
|
|
103915
103915
|
Ur(x, function(N, D) {
|
|
@@ -104047,7 +104047,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104047
104047
|
components: x()
|
|
104048
104048
|
};
|
|
104049
104049
|
}, TV = function(a) {
|
|
104050
|
-
var c, v = a.inline, b = v ? $$ : I$, x = z4(a) ? zR : ao, N = U.none(), D = Vi(), F = D.browser.isIE(), L = F ? ["tox-platform-ie"] : [], G = D.deviceType.isTouch(), Z = "tox-platform-touch", ee = G ? [Z] : [], fe =
|
|
104050
|
+
var c, v = a.inline, b = v ? $$ : I$, x = z4(a) ? zR : ao, N = U.none(), D = Vi(), F = D.browser.isIE(), L = F ? ["tox-platform-ie"] : [], G = D.deviceType.isTouch(), Z = "tox-platform-touch", ee = G ? [Z] : [], fe = e6(a), Te = Sc(a), ze = Lu.isRtl() ? { attributes: { dir: "rtl" } } : {}, je = { attributes: (c = {}, c[ov] = fe ? dc.BottomToTop : dc.TopToBottom, c) }, dt = function() {
|
|
104051
104051
|
return N.bind(hi.getHeader);
|
|
104052
104052
|
}, qe = function() {
|
|
104053
104053
|
return x.isDocked(dt);
|
|
@@ -104151,7 +104151,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104151
104151
|
Rn,
|
|
104152
104152
|
Nr
|
|
104153
104153
|
]
|
|
104154
|
-
}, mf = k_(a), Pc = Ag(a), AP =
|
|
104154
|
+
}, mf = k_(a), Pc = Ag(a), AP = Z8(a), IP = function() {
|
|
104155
104155
|
return mf ? [Fr] : Pc ? [hr] : [];
|
|
104156
104156
|
}, xN = hi.parts.header({
|
|
104157
104157
|
dom: ve({
|
|
@@ -104180,7 +104180,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104180
104180
|
[jx],
|
|
104181
104181
|
v ? [] : ia.toArray(),
|
|
104182
104182
|
[Rr]
|
|
104183
|
-
]), Gx =
|
|
104183
|
+
]), Gx = t6(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
|
|
104184
104184
|
dom: {
|
|
104185
104185
|
tag: "div",
|
|
104186
104186
|
classes: [
|
|
@@ -104230,7 +104230,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104230
104230
|
});
|
|
104231
104231
|
var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
|
|
104232
104232
|
menuItems: iw,
|
|
104233
|
-
menus:
|
|
104233
|
+
menus: n6(a),
|
|
104234
104234
|
menubar: UA(a),
|
|
104235
104235
|
toolbar: RP.getOrThunk(function() {
|
|
104236
104236
|
return zA(a);
|
|
@@ -105286,7 +105286,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105286
105286
|
})])
|
|
105287
105287
|
};
|
|
105288
105288
|
return tl.parts.body(c);
|
|
105289
|
-
}, NU =
|
|
105289
|
+
}, NU = i6.deviceType.isTouch(), KM = function(a, c) {
|
|
105290
105290
|
return {
|
|
105291
105291
|
dom: {
|
|
105292
105292
|
tag: "div",
|
|
@@ -105600,7 +105600,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105600
105600
|
wn($g, function(v, b) {
|
|
105601
105601
|
return c.onUnblock();
|
|
105602
105602
|
}),
|
|
105603
|
-
wn(
|
|
105603
|
+
wn(E6, function(v, b) {
|
|
105604
105604
|
return c.onBlock(b.event);
|
|
105605
105605
|
})
|
|
105606
105606
|
];
|
|
@@ -105775,7 +105775,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105775
105775
|
if (!l(je))
|
|
105776
105776
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105777
105777
|
b(function(dt) {
|
|
105778
|
-
_r(dt,
|
|
105778
|
+
_r(dt, E6, { message: je });
|
|
105779
105779
|
});
|
|
105780
105780
|
}, Z = function() {
|
|
105781
105781
|
b(function(je) {
|
|
@@ -105949,7 +105949,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105949
105949
|
if (!l(D))
|
|
105950
105950
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105951
105951
|
c(function(F) {
|
|
105952
|
-
_r(F,
|
|
105952
|
+
_r(F, E6, { message: D });
|
|
105953
105953
|
});
|
|
105954
105954
|
}, b = function() {
|
|
105955
105955
|
c(function(D) {
|
|
@@ -112064,7 +112064,7 @@ Required: ` + w.join(", "));
|
|
|
112064
112064
|
}, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
|
|
112065
112065
|
return function(sf, yg) {
|
|
112066
112066
|
Xs(sf);
|
|
112067
|
-
var T4 = xc(),
|
|
112067
|
+
var T4 = xc(), b8 = Je.fromDom(g.getDoc()), id = S0(Yi, b8, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
|
|
112068
112068
|
return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
|
|
112069
112069
|
return Qe(um.newRows, function(cm) {
|
|
112070
112070
|
K0(g, cm.dom);
|
|
@@ -113988,38 +113988,38 @@ Required: ` + w.join(", "));
|
|
|
113988
113988
|
}, wc = 5, QC = 100, Cc = Lc.generate([
|
|
113989
113989
|
{ none: [] },
|
|
113990
113990
|
{ retry: ["caret"] }
|
|
113991
|
-
]),
|
|
113991
|
+
]), e8 = function(g, w) {
|
|
113992
113992
|
return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
|
|
113993
113993
|
}, h4 = function(g, w, T) {
|
|
113994
113994
|
return xh(w, p2).fold(Ne, function(I) {
|
|
113995
113995
|
return d4(g, I).exists(function($) {
|
|
113996
|
-
return
|
|
113996
|
+
return e8(T, $);
|
|
113997
113997
|
});
|
|
113998
113998
|
});
|
|
113999
|
-
},
|
|
113999
|
+
}, t8 = function(g, w, T, I, $) {
|
|
114000
114000
|
var W = nd($, wc);
|
|
114001
114001
|
return Math.abs(T.bottom - I.bottom) < 1 || T.top > $.bottom ? Cc.retry(W) : T.top === $.bottom ? Cc.retry(nd($, 1)) : h4(g, w, $) ? Cc.retry(i_(W, wc, 0)) : Cc.none();
|
|
114002
|
-
},
|
|
114002
|
+
}, n8 = function(g, w, T, I, $) {
|
|
114003
114003
|
var W = im($, wc);
|
|
114004
114004
|
return Math.abs(T.top - I.top) < 1 || T.bottom < $.top ? Cc.retry(W) : T.bottom === $.top ? Cc.retry(im($, 1)) : h4(g, w, $) ? Cc.retry(i_(W, wc, 0)) : Cc.none();
|
|
114005
114005
|
}, rd = {
|
|
114006
114006
|
point: u4,
|
|
114007
|
-
adjuster:
|
|
114007
|
+
adjuster: n8,
|
|
114008
114008
|
move: im,
|
|
114009
114009
|
gather: n_
|
|
114010
114010
|
}, vg = {
|
|
114011
114011
|
point: c4,
|
|
114012
|
-
adjuster:
|
|
114012
|
+
adjuster: t8,
|
|
114013
114013
|
move: nd,
|
|
114014
114014
|
gather: o4
|
|
114015
114015
|
}, p4 = function(g, w, T) {
|
|
114016
114016
|
return g.elementFromPoint(w, T).filter(function(I) {
|
|
114017
114017
|
return Io(I) === "table";
|
|
114018
114018
|
}).isSome();
|
|
114019
|
-
},
|
|
114019
|
+
}, r8 = function(g, w, T, I, $) {
|
|
114020
114020
|
return Av(g, w, T, w.move(I, wc), $);
|
|
114021
114021
|
}, Av = function(g, w, T, I, $) {
|
|
114022
|
-
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ?
|
|
114022
|
+
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ? r8(g, w, T, I, $ - 1) : g.situsFromPoint(I.left, w.point(I)).bind(function(W) {
|
|
114023
114023
|
return W.start.fold(te.none, function(Q) {
|
|
114024
114024
|
return d4(g, Q).bind(function(ye) {
|
|
114025
114025
|
return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
|
|
@@ -114030,15 +114030,15 @@ Required: ` + w.join(", "));
|
|
|
114030
114030
|
});
|
|
114031
114031
|
}, te.none);
|
|
114032
114032
|
});
|
|
114033
|
-
},
|
|
114033
|
+
}, o8 = function(g, w) {
|
|
114034
114034
|
return g.situsFromPoint(w.left, w.bottom + wc);
|
|
114035
|
-
},
|
|
114035
|
+
}, a8 = function(g, w) {
|
|
114036
114036
|
return g.situsFromPoint(w.left, w.top - wc);
|
|
114037
|
-
},
|
|
114037
|
+
}, i8 = function(g, w, T) {
|
|
114038
114038
|
return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
|
|
114039
114039
|
}, m4 = function(g, w, T) {
|
|
114040
114040
|
var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
|
|
114041
|
-
return
|
|
114041
|
+
return i8(g, $, w).fold(function() {
|
|
114042
114042
|
return w.situsFromPoint($.left, g.point($));
|
|
114043
114043
|
}, function(W) {
|
|
114044
114044
|
return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
|
|
@@ -114046,10 +114046,10 @@ Required: ` + w.join(", "));
|
|
|
114046
114046
|
}, Iv = {
|
|
114047
114047
|
tryUp: V(m4, rd),
|
|
114048
114048
|
tryDown: V(m4, vg),
|
|
114049
|
-
ieTryUp:
|
|
114050
|
-
ieTryDown:
|
|
114049
|
+
ieTryUp: a8,
|
|
114050
|
+
ieTryDown: o8,
|
|
114051
114051
|
getJumpSize: j(wc)
|
|
114052
|
-
},
|
|
114052
|
+
}, l8 = 20, g4 = function(g, w, T) {
|
|
114053
114053
|
return g.getSelection().bind(function(I) {
|
|
114054
114054
|
return a_(w, I.finish, I.foffset, T).fold(function() {
|
|
114055
114055
|
return te.some(Mp(I.finish, I.foffset));
|
|
@@ -114059,7 +114059,7 @@ Required: ` + w.join(", "));
|
|
|
114059
114059
|
});
|
|
114060
114060
|
});
|
|
114061
114061
|
}, lm = function(g, w, T, I, $, W) {
|
|
114062
|
-
return W === 0 ? te.none() :
|
|
114062
|
+
return W === 0 ? te.none() : s8(g, w, T, I, $).bind(function(Q) {
|
|
114063
114063
|
var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
|
|
114064
114064
|
return Nv.cata(_e, function() {
|
|
114065
114065
|
return te.none();
|
|
@@ -114078,15 +114078,15 @@ Required: ` + w.join(", "));
|
|
|
114078
114078
|
}, _4 = function(g, w, T) {
|
|
114079
114079
|
var I = Ze().browser;
|
|
114080
114080
|
return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
|
|
114081
|
-
},
|
|
114081
|
+
}, s8 = function(g, w, T, I, $) {
|
|
114082
114082
|
return f4(g, T, I).bind(function(W) {
|
|
114083
114083
|
return _4(g, $, W);
|
|
114084
114084
|
});
|
|
114085
|
-
},
|
|
114085
|
+
}, u8 = function(g, w, T) {
|
|
114086
114086
|
return g4(g, w, T).bind(function(I) {
|
|
114087
|
-
return lm(g, w, I.element, I.offset, T,
|
|
114087
|
+
return lm(g, w, I.element, I.offset, T, l8).map(g.fromSitus);
|
|
114088
114088
|
});
|
|
114089
|
-
},
|
|
114089
|
+
}, c8 = function(g, w) {
|
|
114090
114090
|
return qC(g, function(T) {
|
|
114091
114091
|
return de(T).exists(function(I) {
|
|
114092
114092
|
return Tn(I, w);
|
|
@@ -114095,7 +114095,7 @@ Required: ` + w.join(", "));
|
|
|
114095
114095
|
}, od = function(g, w, T, I, $) {
|
|
114096
114096
|
return Ho(I, "td,th", w).bind(function(W) {
|
|
114097
114097
|
return Ho(W, "table", w).bind(function(Q) {
|
|
114098
|
-
return
|
|
114098
|
+
return c8($, Q) ? u8(g, w, T).bind(function(ye) {
|
|
114099
114099
|
return Ho(ye.finish, "td,th", w).map(function(_e) {
|
|
114100
114100
|
return {
|
|
114101
114101
|
start: W,
|
|
@@ -114113,7 +114113,7 @@ Required: ` + w.join(", "));
|
|
|
114113
114113
|
return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
|
|
114114
114114
|
});
|
|
114115
114115
|
});
|
|
114116
|
-
},
|
|
114116
|
+
}, f8 = function(g, w) {
|
|
114117
114117
|
return Ho(g, "tr", w).bind(function(T) {
|
|
114118
114118
|
return Ho(T, "table", w).bind(function(I) {
|
|
114119
114119
|
var $ = li(I, "tr");
|
|
@@ -114204,7 +114204,7 @@ Required: ` + w.join(", "));
|
|
|
114204
114204
|
}, Mr = {
|
|
114205
114205
|
isBackward: Dv(37),
|
|
114206
114206
|
isForward: Dv(39)
|
|
114207
|
-
},
|
|
114207
|
+
}, d8 = {
|
|
114208
114208
|
isBackward: Dv(39),
|
|
114209
114209
|
isForward: Dv(37)
|
|
114210
114210
|
}, mg = function(g) {
|
|
@@ -114294,7 +114294,7 @@ Required: ` + w.join(", "));
|
|
|
114294
114294
|
return I.clear(w), te.none();
|
|
114295
114295
|
}, Q = function(_e, Ye, mt, Cn, pn, An) {
|
|
114296
114296
|
var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
|
|
114297
|
-
return Ov(tn) && In ? V(b4, $, w, T, u_, Cn, Ye, I.selectRange) : c_(tn) && In ? V(b4, $, w, T, x4, Cn, Ye, I.selectRange) : Ov(tn) ? V(y4, $, T, u_, Cn, Ye, l_) : c_(tn) ? V(y4, $, T, x4, Cn, Ye,
|
|
114297
|
+
return Ov(tn) && In ? V(b4, $, w, T, u_, Cn, Ye, I.selectRange) : c_(tn) && In ? V(b4, $, w, T, x4, Cn, Ye, I.selectRange) : Ov(tn) ? V(y4, $, T, u_, Cn, Ye, l_) : c_(tn) ? V(y4, $, T, x4, Cn, Ye, f8) : te.none;
|
|
114298
114298
|
}, function(uo) {
|
|
114299
114299
|
var zr = function(xo) {
|
|
114300
114300
|
return function() {
|
|
@@ -114330,7 +114330,7 @@ Required: ` + w.join(", "));
|
|
|
114330
114330
|
keydown: Q,
|
|
114331
114331
|
keyup: ye
|
|
114332
114332
|
};
|
|
114333
|
-
},
|
|
114333
|
+
}, h8 = function(g, w, T, I) {
|
|
114334
114334
|
var $ = d_(g);
|
|
114335
114335
|
return function(W, Q) {
|
|
114336
114336
|
I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
|
|
@@ -114338,7 +114338,7 @@ Required: ` + w.join(", "));
|
|
|
114338
114338
|
I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
|
|
114339
114339
|
});
|
|
114340
114340
|
};
|
|
114341
|
-
},
|
|
114341
|
+
}, v8 = function(g, w) {
|
|
114342
114342
|
Qe(w, function(T) {
|
|
114343
114343
|
ol(g, T);
|
|
114344
114344
|
});
|
|
@@ -114348,7 +114348,7 @@ Required: ` + w.join(", "));
|
|
|
114348
114348
|
};
|
|
114349
114349
|
}, h_ = function(g) {
|
|
114350
114350
|
return function(w) {
|
|
114351
|
-
|
|
114351
|
+
v8(w, g);
|
|
114352
114352
|
};
|
|
114353
114353
|
}, so = function(g) {
|
|
114354
114354
|
var w = Qr(g.selected), T = h_([
|
|
@@ -114390,7 +114390,7 @@ Required: ` + w.join(", "));
|
|
|
114390
114390
|
firstSelectedSelector: g.firstSelectedSelector,
|
|
114391
114391
|
lastSelectedSelector: g.lastSelectedSelector
|
|
114392
114392
|
};
|
|
114393
|
-
},
|
|
114393
|
+
}, p8 = {
|
|
114394
114394
|
byClass: so,
|
|
114395
114395
|
byAttr: S4
|
|
114396
114396
|
}, _g = function(g, w, T) {
|
|
@@ -114401,7 +114401,7 @@ Required: ` + w.join(", "));
|
|
|
114401
114401
|
return ye.element;
|
|
114402
114402
|
});
|
|
114403
114403
|
});
|
|
114404
|
-
},
|
|
114404
|
+
}, m8 = function(g, w, T) {
|
|
114405
114405
|
var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
|
|
114406
114406
|
return pt($, function(W) {
|
|
114407
114407
|
var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
|
|
@@ -114412,7 +114412,7 @@ Required: ` + w.join(", "));
|
|
|
114412
114412
|
}, k4 = function(g, w, T) {
|
|
114413
114413
|
var I = Bn.fromTable(g), $ = jf(I, w);
|
|
114414
114414
|
return $.map(function(W) {
|
|
114415
|
-
var Q = av(I, T, !1), ye = _g(Q, W, T), _e =
|
|
114415
|
+
var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m8(Q, W, T);
|
|
114416
114416
|
return {
|
|
114417
114417
|
upOrLeftCells: ye,
|
|
114418
114418
|
downOrRightCells: _e
|
|
@@ -114421,7 +114421,7 @@ Required: ` + w.join(", "));
|
|
|
114421
114421
|
}, v_ = function(g) {
|
|
114422
114422
|
return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
|
|
114423
114423
|
};
|
|
114424
|
-
function
|
|
114424
|
+
function g8(g, w, T) {
|
|
114425
114425
|
var I = function(Q, ye, _e) {
|
|
114426
114426
|
T.targets().each(function(Ye) {
|
|
114427
114427
|
var mt = Ma(ye);
|
|
@@ -114432,7 +114432,7 @@ Required: ` + w.join(", "));
|
|
|
114432
114432
|
});
|
|
114433
114433
|
}, $ = function() {
|
|
114434
114434
|
return Vw(g);
|
|
114435
|
-
}, W =
|
|
114435
|
+
}, W = p8.byAttr(La, I, $);
|
|
114436
114436
|
return g.on("init", function(Q) {
|
|
114437
114437
|
var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
|
|
114438
114438
|
var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
|
|
@@ -114442,7 +114442,7 @@ Required: ` + w.join(", "));
|
|
|
114442
114442
|
ss.fold(function() {
|
|
114443
114443
|
return W.clear(_e);
|
|
114444
114444
|
}, B);
|
|
114445
|
-
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An =
|
|
114445
|
+
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h8(ye, _e, Ye, W), Vt = function(Uo) {
|
|
114446
114446
|
return Uo.raw.shiftKey === !0;
|
|
114447
114447
|
};
|
|
114448
114448
|
g.on("TableSelectorChange", function(Uo) {
|
|
@@ -114466,7 +114466,7 @@ Required: ` + w.join(", "));
|
|
|
114466
114466
|
w().each(function(Yi) {
|
|
114467
114467
|
return Yi.hideBars();
|
|
114468
114468
|
});
|
|
114469
|
-
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr,
|
|
114469
|
+
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d8)(Je.fromDom(g.selection.getStart()));
|
|
114470
114470
|
pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
|
|
114471
114471
|
tn(ll, Yi);
|
|
114472
114472
|
}), w().each(function(Yi) {
|
|
@@ -114498,7 +114498,7 @@ Required: ` + w.join(", "));
|
|
|
114498
114498
|
g.on("dragstart", xo), g.on("mousedown", Yo), g.on("mouseover", Xo), g.on("mouseup", vh), g.on("touchend", js.touchEnd), g.on("keyup", In), g.on("keydown", Cr), g.on("NodeChange", mt);
|
|
114499
114499
|
}), { clear: W.clear };
|
|
114500
114500
|
}
|
|
114501
|
-
var
|
|
114501
|
+
var _8 = function(g, w) {
|
|
114502
114502
|
var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
|
|
114503
114503
|
return $.forall(function(xo) {
|
|
114504
114504
|
return !xo[zr];
|
|
@@ -114713,7 +114713,7 @@ Required: ` + w.join(", "));
|
|
|
114713
114713
|
onAction: I("mceInsertTable"),
|
|
114714
114714
|
icon: "table"
|
|
114715
114715
|
});
|
|
114716
|
-
},
|
|
114716
|
+
}, y8 = function(g) {
|
|
114717
114717
|
var w = function(I) {
|
|
114718
114718
|
return g.dom.is(I, "table") && g.getBody().contains(I);
|
|
114719
114719
|
}, T = C1(g);
|
|
@@ -114889,8 +114889,8 @@ Required: ` + w.join(", "));
|
|
|
114889
114889
|
return Pf(g);
|
|
114890
114890
|
}, function() {
|
|
114891
114891
|
return th(Aa(g));
|
|
114892
|
-
}, La.selectedSelector), T =
|
|
114893
|
-
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q),
|
|
114892
|
+
}, La.selectedSelector), T = _8(g, w), I = Jy(g), $ = g8(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
|
|
114893
|
+
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q), y8(g), g.on("PreInit", function() {
|
|
114894
114894
|
g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
|
|
114895
114895
|
}), Lw(g) && g.on("keydown", function(ye) {
|
|
114896
114896
|
Yb(ye, g, $);
|