agilebuilder-ui 1.0.87-temp1 → 1.0.87-temp11
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 +638 -649
- package/lib/super-ui.umd.cjs +13 -13
- package/package.json +1 -1
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +816 -888
- package/packages/super-grid/src/dynamic-input.vue +55 -45
- package/packages/super-grid/src/normal-column-content.vue +5 -2
package/lib/super-ui.js
CHANGED
|
@@ -17795,7 +17795,7 @@ const emitter$1 = mitt(), bus$1 = {};
|
|
|
17795
17795
|
bus$1.$on = emitter$1.on;
|
|
17796
17796
|
bus$1.$emit = emitter$1.emit;
|
|
17797
17797
|
bus$1.$off = emitter$1.off;
|
|
17798
|
-
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "",
|
|
17798
|
+
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSelect_vue_vue_type_style_index_1_scoped_4c2d95dc_lang = "", _sfc_main$1o = {
|
|
17799
17799
|
name: "DynamicSourceSelect",
|
|
17800
17800
|
components: {},
|
|
17801
17801
|
model: {
|
|
@@ -17950,9 +17950,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
17950
17950
|
let n;
|
|
17951
17951
|
this.watchAttr.split(",").forEach((l) => {
|
|
17952
17952
|
this.entity && (n = this.entity[l]), this.$watch("entity." + l, function(s, d) {
|
|
17953
|
-
this.watchAttrValueChange(s), this.optionItems.filter(
|
|
17954
|
-
(_) => _[this.valueAttribute] === s
|
|
17955
|
-
) || this.inputValue("");
|
|
17953
|
+
this.watchAttrValueChange(s), this.optionItems.filter((_) => _[this.valueAttribute] === s) || this.inputValue("");
|
|
17956
17954
|
});
|
|
17957
17955
|
}), this.watchAttrValueChange(n);
|
|
17958
17956
|
}
|
|
@@ -17979,7 +17977,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
17979
17977
|
this.$emit("blur", e);
|
|
17980
17978
|
},
|
|
17981
17979
|
changeEvent(e) {
|
|
17982
|
-
this.inputValue(e), this
|
|
17980
|
+
this.inputValue(e), this.change(e);
|
|
17983
17981
|
},
|
|
17984
17982
|
/**
|
|
17985
17983
|
* @description: 获取提示标题
|
|
@@ -18034,24 +18032,18 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18034
18032
|
if (l.options) {
|
|
18035
18033
|
this.optionItems = l.options;
|
|
18036
18034
|
let s = l.options;
|
|
18037
|
-
if (this.baseProps.multiple !== void 0 && this.baseProps.multiple === !0 && s && s.length > 0 && (s = [{ value: "saveAll", _label_: this.$t("superGrid.selectAll") }, ...s]), this.optionItemList = s, this.column) {
|
|
18038
|
-
this.column
|
|
18035
|
+
if (this.baseProps.multiple !== void 0 && this.baseProps.multiple === !0 && s && s.length > 0 && (s = [{ value: "saveAll", _label_: this.$t("superGrid.selectAll") }, ...s]), this.optionItemList = s, this.column && this.column.prop !== l.valueAttribute) {
|
|
18036
|
+
this.column["_dynamic-source-data-" + this.column.prop] = {
|
|
18039
18037
|
valueSetOptions: this.options.valueSetOptions,
|
|
18040
18038
|
optionItems: this.optionItems,
|
|
18041
18039
|
valueAttribute: l.valueAttribute
|
|
18042
|
-
}
|
|
18043
|
-
|
|
18044
|
-
|
|
18045
|
-
|
|
18046
|
-
|
|
18047
|
-
|
|
18048
|
-
|
|
18049
|
-
let E = (_[m.valueColumn.dbColumnName] + "").split(",");
|
|
18050
|
-
this.column.componentType === "select" && (E = E[0]);
|
|
18051
|
-
}
|
|
18052
|
-
}
|
|
18053
|
-
break;
|
|
18054
|
-
}
|
|
18040
|
+
};
|
|
18041
|
+
const d = this.options.valueSetOptions.find(
|
|
18042
|
+
(m) => m.columnName === l.valueAttribute
|
|
18043
|
+
);
|
|
18044
|
+
if (d) {
|
|
18045
|
+
const m = this.markValue[d.valueColumn.dbColumnName];
|
|
18046
|
+
this.$set(this.entity, this.column.prop, m.split(","));
|
|
18055
18047
|
}
|
|
18056
18048
|
}
|
|
18057
18049
|
} else
|
|
@@ -18111,11 +18103,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18111
18103
|
this.optionItems && o && (l = this.getTargetColumnValue(e, o));
|
|
18112
18104
|
let s = null;
|
|
18113
18105
|
const d = n.valueColumn;
|
|
18114
|
-
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(
|
|
18115
|
-
s,
|
|
18116
|
-
this.isJoinTable,
|
|
18117
|
-
this.tableName
|
|
18118
|
-
))), this.entity && s && s !== null && s !== "" && setEntityFieldValue(this.entity, s, l);
|
|
18106
|
+
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(s, this.isJoinTable, this.tableName))), this.entity && s && s !== null && s !== "" && setEntityFieldValue(this.entity, s, l);
|
|
18119
18107
|
const m = this.getSelectedOptionItem(e);
|
|
18120
18108
|
this.$emit("set-value", {
|
|
18121
18109
|
value: l,
|
|
@@ -18131,11 +18119,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18131
18119
|
setColumnValue(e, t, n) {
|
|
18132
18120
|
let o = null;
|
|
18133
18121
|
const l = n.valueColumn;
|
|
18134
|
-
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(
|
|
18135
|
-
o,
|
|
18136
|
-
this.isJoinTable,
|
|
18137
|
-
this.tableName
|
|
18138
|
-
))), this.entity && o && o !== null && o !== "" && setEntityFieldValue(this.entity, o, t), this.$emit("set-value", {
|
|
18122
|
+
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(o, this.isJoinTable, this.tableName))), this.entity && o && o !== null && o !== "" && setEntityFieldValue(this.entity, o, t), this.$emit("set-value", {
|
|
18139
18123
|
value: t,
|
|
18140
18124
|
sourceColumnName: e,
|
|
18141
18125
|
targetColumnName: o,
|
|
@@ -18154,7 +18138,10 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18154
18138
|
n = !0;
|
|
18155
18139
|
else if (this.lastValues.length > e.length) {
|
|
18156
18140
|
n = !1;
|
|
18157
|
-
const m = [...this.lastValues, ...e], _ = new Set(m), E = Array.from(_), S = [
|
|
18141
|
+
const m = [...this.lastValues, ...e], _ = new Set(m), E = Array.from(_), S = [
|
|
18142
|
+
...E.filter((k) => !this.lastValues.includes(k)),
|
|
18143
|
+
...E.filter((k) => !e.includes(k))
|
|
18144
|
+
];
|
|
18158
18145
|
S && S.length > 0 && (o = S[0]);
|
|
18159
18146
|
}
|
|
18160
18147
|
this.lastValues = JSON.parse(JSON.stringify(e));
|
|
@@ -18163,9 +18150,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18163
18150
|
if (t)
|
|
18164
18151
|
this.setAllTagValue(!1);
|
|
18165
18152
|
else {
|
|
18166
|
-
const s = e[e.length - 1], d = this.optionItems.filter(
|
|
18167
|
-
(m) => m[this.valueAttribute] === s
|
|
18168
|
-
);
|
|
18153
|
+
const s = e[e.length - 1], d = this.optionItems.filter((m) => m[this.valueAttribute] === s);
|
|
18169
18154
|
d && d.length > 0 && this.setTagValue(null, !1, d[0]);
|
|
18170
18155
|
}
|
|
18171
18156
|
else
|
|
@@ -18177,11 +18162,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18177
18162
|
if (n !== this.valueAttribute) {
|
|
18178
18163
|
let o = null;
|
|
18179
18164
|
const l = t.valueColumn;
|
|
18180
|
-
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(
|
|
18181
|
-
o,
|
|
18182
|
-
this.isJoinTable,
|
|
18183
|
-
this.tableName
|
|
18184
|
-
)));
|
|
18165
|
+
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(o, this.isJoinTable, this.tableName)));
|
|
18185
18166
|
let s;
|
|
18186
18167
|
if (o)
|
|
18187
18168
|
if (e)
|
|
@@ -18213,11 +18194,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18213
18194
|
if (l !== this.valueAttribute) {
|
|
18214
18195
|
let s = null;
|
|
18215
18196
|
const d = o.valueColumn;
|
|
18216
|
-
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(
|
|
18217
|
-
s,
|
|
18218
|
-
this.isJoinTable,
|
|
18219
|
-
this.tableName
|
|
18220
|
-
)));
|
|
18197
|
+
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(s, this.isJoinTable, this.tableName)));
|
|
18221
18198
|
let m;
|
|
18222
18199
|
if (s) {
|
|
18223
18200
|
const _ = getEntityFieldValue(this.entity, s);
|
|
@@ -18243,15 +18220,11 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18243
18220
|
if (this.baseProps.multiple !== void 0 && this.baseProps.multiple === !0 && Array.isArray(e)) {
|
|
18244
18221
|
let o = 0;
|
|
18245
18222
|
e.forEach((l) => {
|
|
18246
|
-
const s = this.optionItems.filter(
|
|
18247
|
-
(d) => d[this.valueAttribute] === l
|
|
18248
|
-
);
|
|
18223
|
+
const s = this.optionItems.filter((d) => d[this.valueAttribute] === l);
|
|
18249
18224
|
s && s.length > 0 && (n += s[0][t], o < e.length - 1 && (n += ","), o++);
|
|
18250
18225
|
});
|
|
18251
18226
|
} else {
|
|
18252
|
-
const o = this.optionItems.filter(
|
|
18253
|
-
(l) => l[this.valueAttribute] === e
|
|
18254
|
-
);
|
|
18227
|
+
const o = this.optionItems.filter((l) => l[this.valueAttribute] === e);
|
|
18255
18228
|
o && o.length > 0 && (n = o[0][t]);
|
|
18256
18229
|
}
|
|
18257
18230
|
return n;
|
|
@@ -18361,7 +18334,7 @@ function _sfc_render$10(e, t, n, o, l, s) {
|
|
|
18361
18334
|
}, 16, ["allow-create", "clearable", "filterable", "loading", "model-value", "placeholder", "remote", "remote-method", "size", "style", "title", "value-key", "onChange", "onClear", "onFocus", "onVisibleChange"])
|
|
18362
18335
|
]);
|
|
18363
18336
|
}
|
|
18364
|
-
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-
|
|
18337
|
+
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-4c2d95dc"]]);
|
|
18365
18338
|
function setObjectPropRule(e, t, n) {
|
|
18366
18339
|
const o = {}, l = e.prop;
|
|
18367
18340
|
t || (t = {});
|
|
@@ -19978,11 +19951,25 @@ const _sfc_main$1m = {
|
|
|
19978
19951
|
mounted() {
|
|
19979
19952
|
const e = this;
|
|
19980
19953
|
bus.$on(this.componentId + "-pickFileDone", (t) => {
|
|
19981
|
-
console.log(
|
|
19954
|
+
console.log(
|
|
19955
|
+
"superPage666611---pickFileDone--data.componentId=",
|
|
19956
|
+
t.componentId,
|
|
19957
|
+
"data.listCode=",
|
|
19958
|
+
t.listCode,
|
|
19959
|
+
"data=",
|
|
19960
|
+
t
|
|
19961
|
+
), e.$refs.fileUploadRef && e.$refs.fileUploadRef.pickFileDone(t);
|
|
19982
19962
|
}), bus.$on(this.componentId + "-uploadFileDone", (t) => {
|
|
19983
19963
|
e.$refs.fileUploadRef && e.$refs.fileUploadRef.uploadFileDone(t);
|
|
19984
19964
|
}), bus.$on(this.componentId + "-scanDone", (t) => {
|
|
19985
|
-
console.log(
|
|
19965
|
+
console.log(
|
|
19966
|
+
"superPage666611---scanDone--data.componentId=",
|
|
19967
|
+
t.componentId,
|
|
19968
|
+
"data.listCode=",
|
|
19969
|
+
t.listCode,
|
|
19970
|
+
"data=",
|
|
19971
|
+
t
|
|
19972
|
+
), e.innerValue = t.result, e.blurEvent();
|
|
19986
19973
|
});
|
|
19987
19974
|
},
|
|
19988
19975
|
destroyed() {
|
|
@@ -20396,7 +20383,8 @@ const _sfc_main$1m = {
|
|
|
20396
20383
|
this.innerValue && typeof this.innerValue != "number" && this.innerValue.indexOf("saveAll") !== -1 && this.innerValue.splice(this.innerValue.indexOf("saveAll"), 1);
|
|
20397
20384
|
const o = this.innerValue && this.innerValue.length > 0 ? this.innerValue.join(",") : null;
|
|
20398
20385
|
n && this.cellEvent("input", o), this.cellEvent("change", o), this.setCellValue(this.column.prop, o, "change");
|
|
20399
|
-
}
|
|
20386
|
+
} else
|
|
20387
|
+
this.cellEvent("change", e);
|
|
20400
20388
|
},
|
|
20401
20389
|
getDefaultValue(e) {
|
|
20402
20390
|
if (this.isInvalidValue(e)) {
|
|
@@ -22506,7 +22494,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22506
22494
|
], 4))
|
|
22507
22495
|
]);
|
|
22508
22496
|
}
|
|
22509
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
22497
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_8a373972_lang = "", _sfc_main$1h = {
|
|
22510
22498
|
components: {
|
|
22511
22499
|
DynamicInput,
|
|
22512
22500
|
RowOperation,
|
|
@@ -22713,10 +22701,11 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22713
22701
|
if (this.column.componentType === "select") {
|
|
22714
22702
|
if (d !== l.valueAttribute) {
|
|
22715
22703
|
const m = l.optionItems.find((_) => _[l.valueAttribute] === o);
|
|
22716
|
-
|
|
22704
|
+
m && (o = m[d]);
|
|
22717
22705
|
}
|
|
22718
22706
|
t.row[this.column.prop] = o;
|
|
22719
|
-
} else if (o && d !== l.valueAttribute
|
|
22707
|
+
} else if (o && d !== l.valueAttribute) {
|
|
22708
|
+
typeof o == "string" && (o = o.split(","));
|
|
22720
22709
|
const m = [];
|
|
22721
22710
|
o.forEach((_) => {
|
|
22722
22711
|
if (d !== l.valueAttribute) {
|
|
@@ -23283,7 +23272,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23283
23272
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23284
23273
|
]);
|
|
23285
23274
|
}
|
|
23286
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23275
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-8a373972"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
|
|
23287
23276
|
components: {
|
|
23288
23277
|
DynamicInput,
|
|
23289
23278
|
RowOperation,
|
|
@@ -71892,7 +71881,7 @@ Required: ` + u.join(", "));
|
|
|
71892
71881
|
ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
|
|
71893
71882
|
ua.DOM.unbind(document, "mouseup", f);
|
|
71894
71883
|
});
|
|
71895
|
-
},
|
|
71884
|
+
}, e8 = function(r) {
|
|
71896
71885
|
r.on("focusout", function() {
|
|
71897
71886
|
fg(r);
|
|
71898
71887
|
});
|
|
@@ -71900,23 +71889,23 @@ Required: ` + u.join(", "));
|
|
|
71900
71889
|
r.on("mouseup touchend", function(f) {
|
|
71901
71890
|
u.throttle();
|
|
71902
71891
|
});
|
|
71903
|
-
},
|
|
71892
|
+
}, t8 = function(r, u) {
|
|
71904
71893
|
var f = Wr().browser;
|
|
71905
|
-
f.isIE() ?
|
|
71894
|
+
f.isIE() ? e8(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
|
|
71906
71895
|
QC(p) || fg(r);
|
|
71907
71896
|
});
|
|
71908
|
-
},
|
|
71897
|
+
}, n8 = function(r) {
|
|
71909
71898
|
var u = g1(function() {
|
|
71910
71899
|
fg(r);
|
|
71911
71900
|
}, 0);
|
|
71912
71901
|
r.on("init", function() {
|
|
71913
|
-
r.inline && Cc(r, u),
|
|
71902
|
+
r.inline && Cc(r, u), t8(r, u);
|
|
71914
71903
|
}), r.on("remove", function() {
|
|
71915
71904
|
u.cancel();
|
|
71916
71905
|
});
|
|
71917
71906
|
}, rd, vg = ua.DOM, p4 = function(r) {
|
|
71918
71907
|
return wc.isEditorUIElement(r);
|
|
71919
|
-
},
|
|
71908
|
+
}, r8 = function(r) {
|
|
71920
71909
|
var u = r.classList;
|
|
71921
71910
|
return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
|
|
71922
71911
|
}, Av = function(r, u) {
|
|
@@ -71924,7 +71913,7 @@ Required: ` + u.join(", "));
|
|
|
71924
71913
|
return p4(y) || (f ? r.dom.is(y, f) : !1);
|
|
71925
71914
|
});
|
|
71926
71915
|
return p !== null;
|
|
71927
|
-
},
|
|
71916
|
+
}, o8 = function(r) {
|
|
71928
71917
|
try {
|
|
71929
71918
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71930
71919
|
return t_(u).fold(function() {
|
|
@@ -71935,15 +71924,15 @@ Required: ` + u.join(", "));
|
|
|
71935
71924
|
} catch {
|
|
71936
71925
|
return document.body;
|
|
71937
71926
|
}
|
|
71938
|
-
},
|
|
71927
|
+
}, a8 = function(r, u) {
|
|
71939
71928
|
var f = u.editor;
|
|
71940
|
-
|
|
71929
|
+
n8(f), f.on("focusin", function() {
|
|
71941
71930
|
var p = r.focusedEditor;
|
|
71942
71931
|
p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
|
|
71943
71932
|
}), f.on("focusout", function() {
|
|
71944
71933
|
_r.setEditorTimeout(f, function() {
|
|
71945
71934
|
var p = r.focusedEditor;
|
|
71946
|
-
!Av(f,
|
|
71935
|
+
!Av(f, o8(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71947
71936
|
});
|
|
71948
71937
|
}), rd || (rd = function(p) {
|
|
71949
71938
|
var y = r.activeEditor;
|
|
@@ -71951,18 +71940,18 @@ Required: ` + u.join(", "));
|
|
|
71951
71940
|
C.ownerDocument === document && C !== document.body && !Av(y, C) && r.focusedEditor === y && (y.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71952
71941
|
});
|
|
71953
71942
|
}, vg.bind(document, "focusin", rd));
|
|
71954
|
-
},
|
|
71943
|
+
}, i8 = function(r, u) {
|
|
71955
71944
|
r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
|
|
71956
71945
|
}, m4 = function(r) {
|
|
71957
|
-
r.on("AddEditor", Ue(
|
|
71946
|
+
r.on("AddEditor", Ue(a8, r)), r.on("RemoveEditor", Ue(i8, r));
|
|
71958
71947
|
}, Iv = function(r, u) {
|
|
71959
71948
|
return r.dom.getParent(u, function(f) {
|
|
71960
71949
|
return r.dom.getContentEditable(f) === "true";
|
|
71961
71950
|
});
|
|
71962
|
-
},
|
|
71951
|
+
}, l8 = function(r) {
|
|
71963
71952
|
return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
|
|
71964
71953
|
}, g4 = function(r, u) {
|
|
71965
|
-
return
|
|
71954
|
+
return l8(u).bind(function(f) {
|
|
71966
71955
|
return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
|
|
71967
71956
|
});
|
|
71968
71957
|
}, lm = function(r, u) {
|
|
@@ -71984,21 +71973,21 @@ Required: ` + u.join(", "));
|
|
|
71984
71973
|
r.focus();
|
|
71985
71974
|
}, _4 = function(r) {
|
|
71986
71975
|
return e_(r) || GC(r).isSome();
|
|
71987
|
-
},
|
|
71976
|
+
}, s8 = function(r) {
|
|
71988
71977
|
return r.iframeElement && e_(be.fromDom(r.iframeElement));
|
|
71989
|
-
},
|
|
71978
|
+
}, u8 = function(r) {
|
|
71990
71979
|
var u = r.getBody();
|
|
71991
71980
|
return u && _4(be.fromDom(u));
|
|
71992
|
-
},
|
|
71981
|
+
}, c8 = function(r) {
|
|
71993
71982
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71994
71983
|
return t_(u).filter(function(f) {
|
|
71995
|
-
return !
|
|
71984
|
+
return !r8(f.dom) && Av(r, f.dom);
|
|
71996
71985
|
}).isSome();
|
|
71997
71986
|
}, od = function(r) {
|
|
71998
|
-
return r.inline ?
|
|
71987
|
+
return r.inline ? u8(r) : s8(r);
|
|
71999
71988
|
}, y4 = function(r) {
|
|
72000
|
-
return od(r) ||
|
|
72001
|
-
},
|
|
71989
|
+
return od(r) || c8(r);
|
|
71990
|
+
}, f8 = function(r) {
|
|
72002
71991
|
var u = r.selection, f = r.getBody(), p = u.getRng();
|
|
72003
71992
|
r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
|
|
72004
71993
|
r.selection.setRng(C), p = C;
|
|
@@ -72012,7 +72001,7 @@ Required: ` + u.join(", "));
|
|
|
72012
72001
|
}, l_ = function(r) {
|
|
72013
72002
|
return r.editorManager.setActive(r);
|
|
72014
72003
|
}, b4 = function(r, u) {
|
|
72015
|
-
r.removed || (u ? l_(r) :
|
|
72004
|
+
r.removed || (u ? l_(r) : f8(r));
|
|
72016
72005
|
}, w4 = function(r, u, f, p, y) {
|
|
72017
72006
|
var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
|
|
72018
72007
|
return me.from(C).map(be.fromDom).map(function(P) {
|
|
@@ -72078,7 +72067,7 @@ Required: ` + u.join(", "));
|
|
|
72078
72067
|
if (C = A[y], C)
|
|
72079
72068
|
return C;
|
|
72080
72069
|
}
|
|
72081
|
-
},
|
|
72070
|
+
}, d8 = function(r) {
|
|
72082
72071
|
if (!Of(r.value))
|
|
72083
72072
|
return !1;
|
|
72084
72073
|
var u = r.parent;
|
|
@@ -72194,7 +72183,7 @@ Required: ` + u.join(", "));
|
|
|
72194
72183
|
if (u[C.name] || mg(C))
|
|
72195
72184
|
return !1;
|
|
72196
72185
|
}
|
|
72197
|
-
if (C.type === 8 || C.type === 3 && !
|
|
72186
|
+
if (C.type === 8 || C.type === 3 && !d8(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
|
|
72198
72187
|
return !1;
|
|
72199
72188
|
} while (C = Mr(C, y));
|
|
72200
72189
|
return !0;
|
|
@@ -72231,13 +72220,13 @@ Required: ` + u.join(", "));
|
|
|
72231
72220
|
}, E4 = [
|
|
72232
72221
|
"img",
|
|
72233
72222
|
"video"
|
|
72234
|
-
],
|
|
72223
|
+
], h8 = function(r) {
|
|
72235
72224
|
return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
|
|
72236
|
-
},
|
|
72225
|
+
}, v8 = function(r, u) {
|
|
72237
72226
|
var f = oe(r) ? Re(E4, u) : r;
|
|
72238
72227
|
return !f;
|
|
72239
72228
|
}, Qr = function(r, u, f) {
|
|
72240
|
-
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ?
|
|
72229
|
+
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);
|
|
72241
72230
|
}, h_ = function(r, u, f) {
|
|
72242
72231
|
var p = 1, y, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
|
|
72243
72232
|
for (P.lastIndex = y = f; C = P.exec(u); ) {
|
|
@@ -72269,7 +72258,7 @@ Required: ` + u.join(", "));
|
|
|
72269
72258
|
var P = A.exec(r);
|
|
72270
72259
|
return P ? P.index + P[0].length : p.length;
|
|
72271
72260
|
}
|
|
72272
|
-
},
|
|
72261
|
+
}, p8 = function(r, u) {
|
|
72273
72262
|
var f = r.exec(u);
|
|
72274
72263
|
if (f) {
|
|
72275
72264
|
var p = f[1], y = f[2];
|
|
@@ -72300,7 +72289,7 @@ Required: ` + u.join(", "));
|
|
|
72300
72289
|
return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
|
|
72301
72290
|
}, an = function(ba, fa, pl, pf, fu) {
|
|
72302
72291
|
var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
|
|
72303
|
-
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn &&
|
|
72292
|
+
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h8(fa) === !1) {
|
|
72304
72293
|
if (du = er[fa], !du && br) {
|
|
72305
72294
|
for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
|
|
72306
72295
|
;
|
|
@@ -72333,7 +72322,7 @@ Required: ` + u.join(", "));
|
|
|
72333
72322
|
continue;
|
|
72334
72323
|
}
|
|
72335
72324
|
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);
|
|
72336
|
-
var vf =
|
|
72325
|
+
var vf = p8(sr, Oe[9]);
|
|
72337
72326
|
if (vf !== null) {
|
|
72338
72327
|
if (vf === "all") {
|
|
72339
72328
|
$e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
|
|
@@ -72413,37 +72402,37 @@ Required: ` + u.join(", "));
|
|
|
72413
72402
|
return { parse: ie };
|
|
72414
72403
|
};
|
|
72415
72404
|
_g.findEndTag = h_;
|
|
72416
|
-
var
|
|
72405
|
+
var m8 = function(r, u) {
|
|
72417
72406
|
var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
|
|
72418
72407
|
return u.replace(f, "");
|
|
72419
72408
|
}, k4 = function(r, u) {
|
|
72420
72409
|
var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, y, C, A, P, M = r.schema;
|
|
72421
|
-
f =
|
|
72410
|
+
f = m8(r.getTempAttrs(), f);
|
|
72422
72411
|
for (var X = M.getShortEndedElements(); P = p.exec(f); )
|
|
72423
72412
|
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;
|
|
72424
72413
|
return rc(f);
|
|
72425
|
-
}, v_ = k4,
|
|
72414
|
+
}, v_ = k4, g8 = function(r, u) {
|
|
72426
72415
|
var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>( | |\\s| |<br \\/>|)<\\/" + f + `>[\r
|
|
72427
72416
|
]*|<br \\/>[\r
|
|
72428
72417
|
]*)$`);
|
|
72429
72418
|
return u.replace(p, "");
|
|
72430
|
-
},
|
|
72419
|
+
}, _8 = function(r, u, f, p) {
|
|
72431
72420
|
var y;
|
|
72432
|
-
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 =
|
|
72421
|
+
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([
|
|
72433
72422
|
"text",
|
|
72434
72423
|
"tree"
|
|
72435
72424
|
], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(y) : u.content = y, u.no_events || r.fire("GetContent", u), u.content;
|
|
72436
72425
|
}, Gr = function(r, u, f) {
|
|
72437
72426
|
return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
|
|
72438
|
-
return
|
|
72427
|
+
return _8(r, u, f, p);
|
|
72439
72428
|
});
|
|
72440
|
-
},
|
|
72429
|
+
}, y8 = Ve.each, p_ = function(r) {
|
|
72441
72430
|
var u = function(f, p) {
|
|
72442
72431
|
if (f.nodeName !== p.nodeName)
|
|
72443
72432
|
return !1;
|
|
72444
72433
|
var y = function(A) {
|
|
72445
72434
|
var P = {};
|
|
72446
|
-
return
|
|
72435
|
+
return y8(r.getAttribs(A), function(M) {
|
|
72447
72436
|
var X = M.nodeName.toLowerCase();
|
|
72448
72437
|
X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
|
|
72449
72438
|
}), P;
|
|
@@ -72720,7 +72709,7 @@ Required: ` + u.join(", "));
|
|
|
72720
72709
|
}, function(p) {
|
|
72721
72710
|
return Ki(r, p.dom, f).isNone();
|
|
72722
72711
|
});
|
|
72723
|
-
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1),
|
|
72712
|
+
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b8 = Ue(xc, !0), id = function(r) {
|
|
72724
72713
|
return Hp(r).exists(xu);
|
|
72725
72714
|
}, bg = function(r, u, f) {
|
|
72726
72715
|
var p = Pt(qo(be.fromDom(f.container()), u), Fs), y = Zt(p).getOr(u);
|
|
@@ -72743,7 +72732,7 @@ Required: ` + u.join(", "));
|
|
|
72743
72732
|
"pre",
|
|
72744
72733
|
"pre-wrap"
|
|
72745
72734
|
], r);
|
|
72746
|
-
},
|
|
72735
|
+
}, w8 = function(r) {
|
|
72747
72736
|
return Hp(r).bind(function(u) {
|
|
72748
72737
|
return jm(u, ui);
|
|
72749
72738
|
}).exists(function(u) {
|
|
@@ -72756,14 +72745,14 @@ Required: ` + u.join(", "));
|
|
|
72756
72745
|
}, NN = function(r, u) {
|
|
72757
72746
|
return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
|
|
72758
72747
|
}, Xa = function(r, u) {
|
|
72759
|
-
return
|
|
72748
|
+
return w8(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
|
|
72760
72749
|
}, __ = function(r, u) {
|
|
72761
|
-
return
|
|
72750
|
+
return w8(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
|
|
72762
72751
|
}, Jx = function(r) {
|
|
72763
72752
|
var u = r.container(), f = r.offset();
|
|
72764
72753
|
return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
|
|
72765
72754
|
}, y_ = function(r, u) {
|
|
72766
|
-
return
|
|
72755
|
+
return w8(u) ? !1 : yg(r, u) || b8(r, u) || wg(r, u) || Xx(r, u);
|
|
72767
72756
|
}, N4 = function(r, u) {
|
|
72768
72757
|
return __(r, u) || y_(r, Jx(u));
|
|
72769
72758
|
}, A4 = function(r, u) {
|
|
@@ -72895,11 +72884,11 @@ Required: ` + u.join(", "));
|
|
|
72895
72884
|
return Ro(C.dom, 0);
|
|
72896
72885
|
})), u;
|
|
72897
72886
|
});
|
|
72898
|
-
},
|
|
72887
|
+
}, C8 = function(r, u) {
|
|
72899
72888
|
return Vr(r.schema.getTextInlineElements(), si(u));
|
|
72900
72889
|
}, gm = function(r, u, f, p) {
|
|
72901
72890
|
p === void 0 && (p = !0);
|
|
72902
|
-
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y,
|
|
72891
|
+
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y, C8(r, f));
|
|
72903
72892
|
r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
|
|
72904
72893
|
p && tE(r, u, A);
|
|
72905
72894
|
}, function(P) {
|
|
@@ -72910,13 +72899,13 @@ Required: ` + u.join(", "));
|
|
|
72910
72899
|
start: r,
|
|
72911
72900
|
end: u
|
|
72912
72901
|
};
|
|
72913
|
-
},
|
|
72902
|
+
}, x8 = function(r, u, f) {
|
|
72914
72903
|
return {
|
|
72915
72904
|
rng: r,
|
|
72916
72905
|
table: u,
|
|
72917
72906
|
cells: f
|
|
72918
72907
|
};
|
|
72919
|
-
},
|
|
72908
|
+
}, E8 = Sf.generate([
|
|
72920
72909
|
{ removeTable: ["element"] },
|
|
72921
72910
|
{ emptyCells: ["cells"] },
|
|
72922
72911
|
{
|
|
@@ -72935,14 +72924,14 @@ Required: ` + u.join(", "));
|
|
|
72935
72924
|
return Uc(r, "table", u);
|
|
72936
72925
|
}, oE = function(r) {
|
|
72937
72926
|
return !yo(r.start, r.end);
|
|
72938
|
-
},
|
|
72927
|
+
}, S8 = function(r, u) {
|
|
72939
72928
|
return _m(r.start, u).bind(function(f) {
|
|
72940
72929
|
return _m(r.end, u).bind(function(p) {
|
|
72941
72930
|
return Mn(yo(f, p), f);
|
|
72942
72931
|
});
|
|
72943
72932
|
});
|
|
72944
72933
|
}, aE = function(r, u) {
|
|
72945
|
-
return !oE(r) &&
|
|
72934
|
+
return !oE(r) && S8(r, u).exists(function(f) {
|
|
72946
72935
|
var p = f.dom.rows;
|
|
72947
72936
|
return p.length === 1 && p[0].cells.length === 1;
|
|
72948
72937
|
});
|
|
@@ -72979,10 +72968,10 @@ Required: ` + u.join(", "));
|
|
|
72979
72968
|
return iE(r, y) ? me.none() : UN(y, r);
|
|
72980
72969
|
});
|
|
72981
72970
|
}, iE = function(r, u) {
|
|
72982
|
-
return
|
|
72971
|
+
return S8(u, r).isSome();
|
|
72983
72972
|
}, lE = function(r, u) {
|
|
72984
|
-
return
|
|
72985
|
-
return
|
|
72973
|
+
return S8(r, u).map(function(f) {
|
|
72974
|
+
return x8(r, f, C_(f));
|
|
72986
72975
|
});
|
|
72987
72976
|
}, sE = function(r, u, f) {
|
|
72988
72977
|
return r.filter(function(p) {
|
|
@@ -73009,12 +72998,12 @@ Required: ` + u.join(", "));
|
|
|
73009
72998
|
}, jN = function(r) {
|
|
73010
72999
|
return HN(r).map(function(u) {
|
|
73011
73000
|
var f = r.cells;
|
|
73012
|
-
return u.length === f.length ?
|
|
73001
|
+
return u.length === f.length ? E8.removeTable(r.table) : E8.emptyCells(u);
|
|
73013
73002
|
});
|
|
73014
73003
|
}, GN = function(r, u) {
|
|
73015
73004
|
var f = VN(r), p = LN(u, f);
|
|
73016
73005
|
return WN(p, u, f).map(function(y) {
|
|
73017
|
-
return
|
|
73006
|
+
return E8.deleteCellSelection(u, y);
|
|
73018
73007
|
}).orThunk(function() {
|
|
73019
73008
|
return sE(p, u, f).bind(jN);
|
|
73020
73009
|
});
|
|
@@ -73037,15 +73026,15 @@ Required: ` + u.join(", "));
|
|
|
73037
73026
|
return !0;
|
|
73038
73027
|
}, dE = function(r, u) {
|
|
73039
73028
|
return gm(r, !1, u), !0;
|
|
73040
|
-
},
|
|
73029
|
+
}, k8 = function(r, u, f) {
|
|
73041
73030
|
return GN(u, f).map(function(p) {
|
|
73042
73031
|
return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
|
|
73043
73032
|
});
|
|
73044
73033
|
}, qN = function(r, u) {
|
|
73045
73034
|
return O4(r, u);
|
|
73046
73035
|
}, hE = function(r, u, f, p) {
|
|
73047
|
-
return
|
|
73048
|
-
return
|
|
73036
|
+
return T8(u, p).fold(function() {
|
|
73037
|
+
return k8(r, u, f);
|
|
73049
73038
|
}, function(y) {
|
|
73050
73039
|
return qN(r, y);
|
|
73051
73040
|
}).getOr(!1);
|
|
@@ -73054,7 +73043,7 @@ Required: ` + u.join(", "));
|
|
|
73054
73043
|
return y.length !== 0 ? Eg(r, y) : hE(r, f, p, u);
|
|
73055
73044
|
}, pE = function(r, u) {
|
|
73056
73045
|
return _n(qo(u, r), bs);
|
|
73057
|
-
},
|
|
73046
|
+
}, T8 = function(r, u) {
|
|
73058
73047
|
return _n(qo(u, r), function(f) {
|
|
73059
73048
|
return si(f) === "caption";
|
|
73060
73049
|
});
|
|
@@ -73075,7 +73064,7 @@ Required: ` + u.join(", "));
|
|
|
73075
73064
|
}, XN = function(r, u) {
|
|
73076
73065
|
return O4(r, u);
|
|
73077
73066
|
}, JN = function(r, u, f) {
|
|
73078
|
-
return
|
|
73067
|
+
return T8(r, be.fromDom(f.getNode())).map(function(p) {
|
|
73079
73068
|
return yo(p, u) === !1;
|
|
73080
73069
|
});
|
|
73081
73070
|
}, ZN = function(r, u, f, p, y) {
|
|
@@ -73092,31 +73081,31 @@ Required: ` + u.join(", "));
|
|
|
73092
73081
|
return ws(p) ? O4(r, p) : ZN(r, f, u, p, y);
|
|
73093
73082
|
}, mE = function(r, u) {
|
|
73094
73083
|
return r ? zr(u) : xo(u);
|
|
73095
|
-
},
|
|
73084
|
+
}, N8 = function(r, u) {
|
|
73096
73085
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
73097
73086
|
return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
|
|
73098
73087
|
return mE(u, p);
|
|
73099
73088
|
});
|
|
73100
73089
|
}, uf = function(r, u, f) {
|
|
73101
73090
|
var p = be.fromDom(r.getBody());
|
|
73102
|
-
return
|
|
73103
|
-
return QN(r, u, p, f) ||
|
|
73091
|
+
return T8(p, f).fold(function() {
|
|
73092
|
+
return QN(r, u, p, f) || N8(r, u);
|
|
73104
73093
|
}, function(y) {
|
|
73105
73094
|
return eA(r, u, p, y).getOr(!1);
|
|
73106
73095
|
});
|
|
73107
73096
|
}, Sg = function(r, u) {
|
|
73108
73097
|
var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
|
|
73109
73098
|
return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
|
|
73110
|
-
},
|
|
73099
|
+
}, A8 = function(r, u, f, p) {
|
|
73111
73100
|
var y = document.createRange();
|
|
73112
73101
|
return y.setStart(r, u), y.setEnd(f, p), y;
|
|
73113
|
-
},
|
|
73102
|
+
}, I8 = function(r) {
|
|
73114
73103
|
var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
|
|
73115
73104
|
return Hs(!1, p, f).map(function(y) {
|
|
73116
|
-
return !Pu(u, f, p) && Pu(u, y, p) ?
|
|
73105
|
+
return !Pu(u, f, p) && Pu(u, y, p) ? A8(u.container(), u.offset(), y.container(), y.offset()) : r;
|
|
73117
73106
|
}).getOr(r);
|
|
73118
|
-
},
|
|
73119
|
-
return r.collapsed ? r :
|
|
73107
|
+
}, D8 = function(r) {
|
|
73108
|
+
return r.collapsed ? r : I8(r);
|
|
73120
73109
|
}, gE = function(r) {
|
|
73121
73110
|
return r.firstChild && r.firstChild === r.lastChild;
|
|
73122
73111
|
}, tA = function(r) {
|
|
@@ -73124,12 +73113,12 @@ Required: ` + u.join(", "));
|
|
|
73124
73113
|
}, nA = function(r, u) {
|
|
73125
73114
|
var f = r.getBlockElements();
|
|
73126
73115
|
return f[u.name] && gE(u) && tA(u.firstChild);
|
|
73127
|
-
},
|
|
73116
|
+
}, O8 = function(r, u) {
|
|
73128
73117
|
var f = r.getNonEmptyElements();
|
|
73129
73118
|
return u && (u.isEmpty(f) || nA(r, u));
|
|
73130
73119
|
}, rA = function(r, u) {
|
|
73131
73120
|
var f = u.firstChild, p = u.lastChild;
|
|
73132
|
-
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev),
|
|
73121
|
+
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";
|
|
73133
73122
|
}, _E = function(r) {
|
|
73134
73123
|
var u = r.firstChild, f = r.lastChild;
|
|
73135
73124
|
return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
|
|
@@ -73148,11 +73137,11 @@ Required: ` + u.join(", "));
|
|
|
73148
73137
|
return !r.firstChild || yE(r);
|
|
73149
73138
|
}, bE = function(r) {
|
|
73150
73139
|
return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
|
|
73151
|
-
},
|
|
73140
|
+
}, B8 = function(r, u) {
|
|
73152
73141
|
var f = r.getParent(u, r.isBlock);
|
|
73153
73142
|
return f && f.nodeName === "LI" ? f : null;
|
|
73154
73143
|
}, lA = function(r, u) {
|
|
73155
|
-
return !!
|
|
73144
|
+
return !!B8(r, u);
|
|
73156
73145
|
}, sA = function(r, u) {
|
|
73157
73146
|
var f = u.cloneRange(), p = u.cloneRange();
|
|
73158
73147
|
return f.setStartBefore(r), p.setEndAfter(r), [
|
|
@@ -73175,24 +73164,24 @@ Required: ` + u.join(", "));
|
|
|
73175
73164
|
return Ve.each(u, function(y) {
|
|
73176
73165
|
p.insertBefore(y, r);
|
|
73177
73166
|
}), uA(r, f);
|
|
73178
|
-
},
|
|
73167
|
+
}, P8 = function(r, u, f, p) {
|
|
73179
73168
|
return p.insertAfter(u.reverse(), r), wE(u[0], f);
|
|
73180
73169
|
}, kg = function(r, u, f, p) {
|
|
73181
|
-
var y = oA(u, r, p), C =
|
|
73170
|
+
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) {
|
|
73182
73171
|
var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
|
|
73183
|
-
return Oe ?
|
|
73172
|
+
return Oe ? B8(u, Oe.getNode()) !== C : !0;
|
|
73184
73173
|
};
|
|
73185
|
-
return ie(P) ? cA(C, A, X) : ie(M) ?
|
|
73174
|
+
return ie(P) ? cA(C, A, X) : ie(M) ? P8(C, A, X, u) : CE(C, A, X, f);
|
|
73186
73175
|
}, fA = function(r, u, f) {
|
|
73187
73176
|
var p = be.fromDom(r.getRoot());
|
|
73188
73177
|
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;
|
|
73189
|
-
},
|
|
73178
|
+
}, M8 = ti, B4 = function(r, u, f) {
|
|
73190
73179
|
if (f !== null) {
|
|
73191
|
-
var p = r.getParent(u.endContainer,
|
|
73180
|
+
var p = r.getParent(u.endContainer, M8);
|
|
73192
73181
|
return f === p && W2(be.fromDom(f), u);
|
|
73193
73182
|
} else
|
|
73194
73183
|
return !1;
|
|
73195
|
-
},
|
|
73184
|
+
}, R8 = function(r, u, f) {
|
|
73196
73185
|
if (f.getAttribute("data-mce-bogus") === "all")
|
|
73197
73186
|
f.parentNode.insertBefore(r.dom.createFragment(u), f);
|
|
73198
73187
|
else {
|
|
@@ -73222,7 +73211,7 @@ Required: ` + u.join(", "));
|
|
|
73222
73211
|
}, xE = function(r) {
|
|
73223
73212
|
for (var u = r; u = u.walk(); )
|
|
73224
73213
|
u.type === 1 && u.attr("data-mce-fragment", "1");
|
|
73225
|
-
}, $
|
|
73214
|
+
}, $8 = function(r) {
|
|
73226
73215
|
Ve.each(r.getElementsByTagName("*"), function(u) {
|
|
73227
73216
|
u.removeAttribute("data-mce-fragment");
|
|
73228
73217
|
});
|
|
@@ -73251,14 +73240,14 @@ Required: ` + u.join(", "));
|
|
|
73251
73240
|
if (ke = Oe.next(ke), ke)
|
|
73252
73241
|
return ke.toRange();
|
|
73253
73242
|
}, ae = p.getParent(u, p.isBlock);
|
|
73254
|
-
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !
|
|
73243
|
+
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);
|
|
73255
73244
|
}
|
|
73256
73245
|
}, pA = function(r) {
|
|
73257
|
-
var u = r.dom, f =
|
|
73246
|
+
var u = r.dom, f = D8(r.selection.getRng());
|
|
73258
73247
|
r.selection.setRng(f);
|
|
73259
|
-
var p = u.getParent(f.startContainer,
|
|
73248
|
+
var p = u.getParent(f.startContainer, M8);
|
|
73260
73249
|
B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
|
|
73261
|
-
},
|
|
73250
|
+
}, F8 = function(r, u, f) {
|
|
73262
73251
|
var p, y, C, A, P, M, X = r.selection, ie = r.dom;
|
|
73263
73252
|
/^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
|
|
73264
73253
|
var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
@@ -73296,7 +73285,7 @@ Required: ` + u.join(", "));
|
|
|
73296
73285
|
}
|
|
73297
73286
|
}
|
|
73298
73287
|
if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
|
|
73299
|
-
u = ke.serialize(et),
|
|
73288
|
+
u = ke.serialize(et), R8(r, u, p);
|
|
73300
73289
|
else {
|
|
73301
73290
|
for (r.selection.setContent(Oe), p = X.getNode(), y = r.getBody(), p.nodeType === 9 ? p = M = y : M = p; M !== y; )
|
|
73302
73291
|
p = M, M = M.parentNode;
|
|
@@ -73304,12 +73293,12 @@ Required: ` + u.join(", "));
|
|
|
73304
73293
|
return ke.serialize(et);
|
|
73305
73294
|
}))), p === y ? ie.setHTML(y, u) : ie.setOuterHTML(p, u);
|
|
73306
73295
|
}
|
|
73307
|
-
hA(r, se), mh(r, ie.get("mce_marker")), $
|
|
73308
|
-
},
|
|
73309
|
-
u(r), r.firstChild &&
|
|
73296
|
+
hA(r, se), mh(r, ie.get("mce_marker")), $8(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
|
|
73297
|
+
}, V8 = function(r, u) {
|
|
73298
|
+
u(r), r.firstChild && V8(r.firstChild, u), r.next && V8(r.next, u);
|
|
73310
73299
|
}, mA = function(r, u, f) {
|
|
73311
73300
|
var p = {}, y = {}, C = [];
|
|
73312
|
-
f.firstChild &&
|
|
73301
|
+
f.firstChild && V8(f.firstChild, function(M) {
|
|
73313
73302
|
he(r, function(X) {
|
|
73314
73303
|
X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
|
|
73315
73304
|
filter: X,
|
|
@@ -73371,12 +73360,12 @@ Required: ` + u.join(", "));
|
|
|
73371
73360
|
break;
|
|
73372
73361
|
}
|
|
73373
73362
|
return me.none();
|
|
73374
|
-
},
|
|
73363
|
+
}, L8 = function(r, u, f) {
|
|
73375
73364
|
var p = u(r), y = EE(f);
|
|
73376
73365
|
return p.orThunk(function() {
|
|
73377
73366
|
return y(r) ? me.none() : EA(r, u, y);
|
|
73378
73367
|
});
|
|
73379
|
-
},
|
|
73368
|
+
}, U8 = jp, SE = function(r, u, f) {
|
|
73380
73369
|
var p = r.formatter.get(f);
|
|
73381
73370
|
if (p) {
|
|
73382
73371
|
for (var y = 0; y < p.length; y++)
|
|
@@ -73384,13 +73373,13 @@ Required: ` + u.join(", "));
|
|
|
73384
73373
|
return !0;
|
|
73385
73374
|
}
|
|
73386
73375
|
return !1;
|
|
73387
|
-
},
|
|
73376
|
+
}, z8 = function(r, u, f, p) {
|
|
73388
73377
|
var y = r.dom.getRoot();
|
|
73389
73378
|
return u === y ? !1 : (u = r.dom.getParent(u, function(C) {
|
|
73390
73379
|
return SE(r, C, f) ? !0 : C.parentNode === y || !!ld(r, C, f, p, !0);
|
|
73391
73380
|
}), ld(r, u, f, p));
|
|
73392
73381
|
}, kE = function(r, u, f) {
|
|
73393
|
-
if (
|
|
73382
|
+
if (U8(u, f.inline) || U8(u, f.block))
|
|
73394
73383
|
return !0;
|
|
73395
73384
|
if (f.selector)
|
|
73396
73385
|
return u.nodeType === 1 && r.is(u, f.selector);
|
|
@@ -73401,7 +73390,7 @@ Required: ` + u.join(", "));
|
|
|
73401
73390
|
if (M) {
|
|
73402
73391
|
if (typeof M.length > "u") {
|
|
73403
73392
|
for (A in M)
|
|
73404
|
-
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !
|
|
73393
|
+
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))))
|
|
73405
73394
|
return;
|
|
73406
73395
|
} else
|
|
73407
73396
|
for (X = 0; X < M.length; X++)
|
|
@@ -73424,11 +73413,11 @@ Required: ` + u.join(", "));
|
|
|
73424
73413
|
}
|
|
73425
73414
|
}, E_ = function(r, u, f, p) {
|
|
73426
73415
|
if (p)
|
|
73427
|
-
return
|
|
73428
|
-
if (p = r.selection.getNode(),
|
|
73416
|
+
return z8(r, p, u, f);
|
|
73417
|
+
if (p = r.selection.getNode(), z8(r, p, u, f))
|
|
73429
73418
|
return !0;
|
|
73430
73419
|
var y = r.selection.getStart();
|
|
73431
|
-
return !!(y !== p &&
|
|
73420
|
+
return !!(y !== p && z8(r, y, u, f));
|
|
73432
73421
|
}, NE = function(r, u, f) {
|
|
73433
73422
|
var p = [], y = {}, C = r.selection.getStart();
|
|
73434
73423
|
return r.dom.getParent(C, function(A) {
|
|
@@ -73444,7 +73433,7 @@ Required: ` + u.join(", "));
|
|
|
73444
73433
|
return ld(r, y.dom, C) ? me.some(C) : me.none();
|
|
73445
73434
|
};
|
|
73446
73435
|
return me.from(r.selection.getStart(!0)).bind(function(y) {
|
|
73447
|
-
return
|
|
73436
|
+
return L8(be.fromDom(y), function(C) {
|
|
73448
73437
|
return Jr(u, function(A) {
|
|
73449
73438
|
return p(C, A);
|
|
73450
73439
|
});
|
|
@@ -73485,7 +73474,7 @@ Required: ` + u.join(", "));
|
|
|
73485
73474
|
return r;
|
|
73486
73475
|
}
|
|
73487
73476
|
return null;
|
|
73488
|
-
},
|
|
73477
|
+
}, H8 = function(r) {
|
|
73489
73478
|
var u = be.fromTag("span");
|
|
73490
73479
|
return K(u, {
|
|
73491
73480
|
id: Tg,
|
|
@@ -73495,7 +73484,7 @@ Required: ` + u.join(", "));
|
|
|
73495
73484
|
}, TA = function(r) {
|
|
73496
73485
|
var u = OE(r);
|
|
73497
73486
|
return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
|
|
73498
|
-
},
|
|
73487
|
+
}, W8 = function(r, u, f) {
|
|
73499
73488
|
f === void 0 && (f = !0);
|
|
73500
73489
|
var p = r.dom, y = r.selection;
|
|
73501
73490
|
if (DE(u))
|
|
@@ -73504,14 +73493,14 @@ Required: ` + u.join(", "));
|
|
|
73504
73493
|
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);
|
|
73505
73494
|
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);
|
|
73506
73495
|
}
|
|
73507
|
-
},
|
|
73496
|
+
}, j8 = function(r, u, f) {
|
|
73508
73497
|
f === void 0 && (f = !0);
|
|
73509
73498
|
var p = r.dom, y = r.selection;
|
|
73510
73499
|
if (u)
|
|
73511
|
-
|
|
73500
|
+
W8(r, u, f);
|
|
73512
73501
|
else if (u = rh(r.getBody(), y.getStart()), !u)
|
|
73513
73502
|
for (; u = p.get(Tg); )
|
|
73514
|
-
|
|
73503
|
+
W8(r, u, !1);
|
|
73515
73504
|
}, BE = function(r, u, f) {
|
|
73516
73505
|
var p = r.dom, y = p.getParent(f, Ue(gv, r));
|
|
73517
73506
|
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));
|
|
@@ -73543,7 +73532,7 @@ Required: ` + u.join(", "));
|
|
|
73543
73532
|
var se = ru(r, A, r.formatter.get(u));
|
|
73544
73533
|
se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
|
|
73545
73534
|
} else
|
|
73546
|
-
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(),
|
|
73535
|
+
(!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);
|
|
73547
73536
|
}, ME = function(r, u, f, p) {
|
|
73548
73537
|
var y = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
|
|
73549
73538
|
for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
|
|
@@ -73560,27 +73549,27 @@ Required: ` + u.join(", "));
|
|
|
73560
73549
|
var Oe = ru(r, ie, r.formatter.get(u), !0);
|
|
73561
73550
|
Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
|
|
73562
73551
|
} else {
|
|
73563
|
-
var $e = rh(r.getBody(), M), Ee =
|
|
73552
|
+
var $e = rh(r.getBody(), M), Ee = H8(!1).dom;
|
|
73564
73553
|
BE(r, Ee, $e !== null ? $e : M);
|
|
73565
73554
|
var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
|
|
73566
|
-
|
|
73555
|
+
W8(r, $e, !1), C.setCursorLocation(et, 1), y.isEmpty(M) && y.remove(M);
|
|
73567
73556
|
}
|
|
73568
|
-
},
|
|
73557
|
+
}, G8 = function(r, u) {
|
|
73569
73558
|
var f = r.selection, p = r.getBody();
|
|
73570
|
-
|
|
73559
|
+
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()));
|
|
73571
73560
|
}, AA = function(r) {
|
|
73572
73561
|
r.on("mouseup keydown", function(u) {
|
|
73573
|
-
|
|
73562
|
+
G8(r, u.keyCode);
|
|
73574
73563
|
});
|
|
73575
73564
|
}, IA = function(r, u) {
|
|
73576
|
-
var f =
|
|
73565
|
+
var f = H8(!1), p = Ng(u, f.dom);
|
|
73577
73566
|
return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
|
|
73578
73567
|
}, DA = function(r, u) {
|
|
73579
73568
|
var f = r.schema.getTextInlineElements();
|
|
73580
73569
|
return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
|
|
73581
73570
|
}, OA = function(r) {
|
|
73582
73571
|
return gc(r.dom) && DE(r.dom);
|
|
73583
|
-
}, $4 = {}, RE = sa, F4 = Zo,
|
|
73572
|
+
}, $4 = {}, RE = sa, F4 = Zo, q8 = function(r, u) {
|
|
73584
73573
|
var f = $4[r];
|
|
73585
73574
|
f || ($4[r] = []), $4[r].push(u);
|
|
73586
73575
|
}, $E = function(r, u) {
|
|
@@ -73588,7 +73577,7 @@ Required: ` + u.join(", "));
|
|
|
73588
73577
|
f(u);
|
|
73589
73578
|
});
|
|
73590
73579
|
};
|
|
73591
|
-
|
|
73580
|
+
q8("pre", function(r) {
|
|
73592
73581
|
var u = r.selection.getRng(), f, p = function(A) {
|
|
73593
73582
|
return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
|
|
73594
73583
|
}, y = function(A, P) {
|
|
@@ -73598,7 +73587,7 @@ Required: ` + u.join(", "));
|
|
|
73598
73587
|
y(A.previousSibling, A);
|
|
73599
73588
|
}));
|
|
73600
73589
|
});
|
|
73601
|
-
var
|
|
73590
|
+
var K8 = Ve.each, Y8 = function(r) {
|
|
73602
73591
|
return ro(r) && !Ts(r) && !gc(r) && !wf(r);
|
|
73603
73592
|
}, FE = function(r, u) {
|
|
73604
73593
|
var f;
|
|
@@ -73627,15 +73616,15 @@ Required: ` + u.join(", "));
|
|
|
73627
73616
|
}, BA = function(r, u, f) {
|
|
73628
73617
|
if (u.clear_child_styles) {
|
|
73629
73618
|
var p = u.links ? "*:not(a)" : "*";
|
|
73630
|
-
|
|
73631
|
-
|
|
73619
|
+
K8(r.select(p, f), function(y) {
|
|
73620
|
+
Y8(y) && K8(u.styles, function(C, A) {
|
|
73632
73621
|
r.setStyle(y, A, "");
|
|
73633
73622
|
});
|
|
73634
73623
|
});
|
|
73635
73624
|
}
|
|
73636
73625
|
}, $r = function(r, u, f) {
|
|
73637
|
-
|
|
73638
|
-
|
|
73626
|
+
K8(r.childNodes, function(p) {
|
|
73627
|
+
Y8(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
|
|
73639
73628
|
});
|
|
73640
73629
|
}, PA = function(r, u) {
|
|
73641
73630
|
u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
|
|
@@ -73655,7 +73644,7 @@ Required: ` + u.join(", "));
|
|
|
73655
73644
|
return /^(TR|TH|TD)$/.test(r.nodeName);
|
|
73656
73645
|
}, L4 = function(r, u, f) {
|
|
73657
73646
|
return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
|
|
73658
|
-
},
|
|
73647
|
+
}, X8 = function(r, u, f) {
|
|
73659
73648
|
var p, y;
|
|
73660
73649
|
if (p = u[f ? "startContainer" : "endContainer"], y = u[f ? "startOffset" : "endOffset"], ro(p)) {
|
|
73661
73650
|
var C = p.childNodes.length - 1;
|
|
@@ -73669,7 +73658,7 @@ Required: ` + u.join(", "));
|
|
|
73669
73658
|
return r.nodeName === "TR" && p[f] || p;
|
|
73670
73659
|
}
|
|
73671
73660
|
return r;
|
|
73672
|
-
},
|
|
73661
|
+
}, J8 = function(r, u, f, p) {
|
|
73673
73662
|
var y = r.create(f, p);
|
|
73674
73663
|
return u.parentNode.insertBefore(y, u), y.appendChild(u), y;
|
|
73675
73664
|
}, GE = function(r, u, f, p, y) {
|
|
@@ -73680,18 +73669,18 @@ Required: ` + u.join(", "));
|
|
|
73680
73669
|
return !0;
|
|
73681
73670
|
if (f.selector)
|
|
73682
73671
|
return ro(u) && r.is(u, f.selector);
|
|
73683
|
-
},
|
|
73672
|
+
}, Z8 = function(r, u) {
|
|
73684
73673
|
return u.links && r.nodeName === "A";
|
|
73685
73674
|
}, Ag = function(r, u, f, p) {
|
|
73686
73675
|
return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
|
|
73687
73676
|
}, qE = function(r, u, f) {
|
|
73688
73677
|
var p = u.parentNode, y, C = r.dom, A = Oi(r);
|
|
73689
73678
|
f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
|
|
73690
|
-
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y =
|
|
73679
|
+
_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;
|
|
73691
73680
|
}) : 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);
|
|
73692
73681
|
}, k_ = function(r, u, f, p, y) {
|
|
73693
73682
|
var C, A = r.dom;
|
|
73694
|
-
if (!MA(A, p, u) && !
|
|
73683
|
+
if (!MA(A, p, u) && !Z8(p, u))
|
|
73695
73684
|
return S_.keep();
|
|
73696
73685
|
var P = p;
|
|
73697
73686
|
if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
|
|
@@ -73760,7 +73749,7 @@ Required: ` + u.join(", "));
|
|
|
73760
73749
|
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));
|
|
73761
73750
|
}
|
|
73762
73751
|
return p;
|
|
73763
|
-
},
|
|
73752
|
+
}, Q8 = function(r, u, f, p, y) {
|
|
73764
73753
|
var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
|
|
73765
73754
|
var et = T_(r, ot, u, f, y);
|
|
73766
73755
|
return RA(r, C, et, ot, ot, !0, A, f);
|
|
@@ -73784,7 +73773,7 @@ Required: ` + u.join(", "));
|
|
|
73784
73773
|
}, Oe = function(ot) {
|
|
73785
73774
|
var et, ut, yt = ru(r, ot, C, ot.collapsed);
|
|
73786
73775
|
if (A.split) {
|
|
73787
|
-
if (yt = fh(yt), et =
|
|
73776
|
+
if (yt = fh(yt), et = X8(r, yt, !0), ut = X8(r, yt), et !== ut) {
|
|
73788
73777
|
if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
|
|
73789
73778
|
var Mt = me.from(et.firstChild).getOr(et);
|
|
73790
73779
|
ie(GE(M, Mt, !0, "span", {
|
|
@@ -73801,10 +73790,10 @@ Required: ` + u.join(", "));
|
|
|
73801
73790
|
})), ke(!1);
|
|
73802
73791
|
return;
|
|
73803
73792
|
}
|
|
73804
|
-
et =
|
|
73793
|
+
et = J8(M, et, "span", {
|
|
73805
73794
|
id: "_start",
|
|
73806
73795
|
"data-mce-type": "bookmark"
|
|
73807
|
-
}), ut =
|
|
73796
|
+
}), ut = J8(M, ut, "span", {
|
|
73808
73797
|
id: "_end",
|
|
73809
73798
|
"data-mce-type": "bookmark"
|
|
73810
73799
|
});
|
|
@@ -73854,7 +73843,7 @@ Required: ` + u.join(", "));
|
|
|
73854
73843
|
!X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
|
|
73855
73844
|
eg(r, Oe);
|
|
73856
73845
|
}), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, y);
|
|
73857
|
-
},
|
|
73846
|
+
}, e6 = Ve.each, $A = function(r, u, f, p) {
|
|
73858
73847
|
var y = function(C) {
|
|
73859
73848
|
if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
|
|
73860
73849
|
var A = Gp(r, C.parentNode);
|
|
@@ -73867,9 +73856,9 @@ Required: ` + u.join(", "));
|
|
|
73867
73856
|
}, VA = function(r, u, f, p) {
|
|
73868
73857
|
(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));
|
|
73869
73858
|
}, KE = function(r, u, f, p) {
|
|
73870
|
-
|
|
73871
|
-
|
|
73872
|
-
|
|
73859
|
+
e6(u, function(y) {
|
|
73860
|
+
e6(r.dom.select(y.inline, p), function(C) {
|
|
73861
|
+
Y8(C) && vl(r, y, f, C, y.exact ? C : null);
|
|
73873
73862
|
}), BA(r.dom, y, p);
|
|
73874
73863
|
});
|
|
73875
73864
|
}, U4 = function(r, u, f, p, y) {
|
|
@@ -73877,7 +73866,7 @@ Required: ` + u.join(", "));
|
|
|
73877
73866
|
if (ld(r, C, f, p))
|
|
73878
73867
|
return vl(r, u, p, y), !0;
|
|
73879
73868
|
});
|
|
73880
|
-
}, Sc = Ve.each,
|
|
73869
|
+
}, Sc = Ve.each, t6 = function(r, u) {
|
|
73881
73870
|
return da(r, u);
|
|
73882
73871
|
}, z4 = function(r) {
|
|
73883
73872
|
return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
|
|
@@ -73899,7 +73888,7 @@ Required: ` + u.join(", "));
|
|
|
73899
73888
|
return da(y, p) && ws(be.fromDom(f.parentNode), !1) && !C;
|
|
73900
73889
|
} else
|
|
73901
73890
|
return !1;
|
|
73902
|
-
},
|
|
73891
|
+
}, n6 = function(r, u, f, p) {
|
|
73903
73892
|
var y = r.formatter.get(u), C = y[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
|
|
73904
73893
|
if (ut = ut || C, et) {
|
|
73905
73894
|
if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
|
|
@@ -73940,12 +73929,12 @@ Required: ` + u.join(", "));
|
|
|
73940
73929
|
}
|
|
73941
73930
|
if (ih(C)) {
|
|
73942
73931
|
var pr = ie(y, er);
|
|
73943
|
-
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !
|
|
73932
|
+
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !t6(C, "inline") || pr) {
|
|
73944
73933
|
Dn = null;
|
|
73945
73934
|
return;
|
|
73946
73935
|
}
|
|
73947
73936
|
}
|
|
73948
|
-
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) && (!
|
|
73937
|
+
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);
|
|
73949
73938
|
};
|
|
73950
73939
|
Sc(xr, qr);
|
|
73951
73940
|
}), C.links === !0 && Sc(hn, function(xr) {
|
|
@@ -73998,7 +73987,7 @@ Required: ` + u.join(", "));
|
|
|
73998
73987
|
ae(P, p, null, !0);
|
|
73999
73988
|
else if (!A || !M2(C) || wv(r).length) {
|
|
74000
73989
|
var Ee = M.getNode(), ot = y[0];
|
|
74001
|
-
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) &&
|
|
73990
|
+
!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) {
|
|
74002
73991
|
eg(r, function(ut, yt) {
|
|
74003
73992
|
var Mt = yt ? ut : ru(r, ut, y);
|
|
74004
73993
|
ae(P, Mt);
|
|
@@ -74066,13 +74055,13 @@ Required: ` + u.join(", "));
|
|
|
74066
74055
|
};
|
|
74067
74056
|
}, qA = function(r, u, f, p) {
|
|
74068
74057
|
var y = r.formatter.get(u);
|
|
74069
|
-
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ?
|
|
74070
|
-
},
|
|
74058
|
+
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ? Q8(r, u, f, p) : n6(r, u, f, p);
|
|
74059
|
+
}, r6 = function(r, u) {
|
|
74071
74060
|
var f = u || document, p = f.createDocumentFragment();
|
|
74072
74061
|
return he(r, function(y) {
|
|
74073
74062
|
p.appendChild(y.dom);
|
|
74074
74063
|
}), be.fromDom(p);
|
|
74075
|
-
},
|
|
74064
|
+
}, o6 = function(r, u, f) {
|
|
74076
74065
|
return {
|
|
74077
74066
|
element: r,
|
|
74078
74067
|
width: u,
|
|
@@ -74124,7 +74113,7 @@ Required: ` + u.join(", "));
|
|
|
74124
74113
|
return C;
|
|
74125
74114
|
}, kc = function(r, u, f) {
|
|
74126
74115
|
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);
|
|
74127
|
-
return
|
|
74116
|
+
return o6(r.element, XE(P), P);
|
|
74128
74117
|
}, W4 = function(r, u) {
|
|
74129
74118
|
var f = Hf(r.element), p = be.fromTag("tbody");
|
|
74130
74119
|
return yf(p, u), Ha(f, p), f;
|
|
@@ -74137,13 +74126,13 @@ Required: ` + u.join(", "));
|
|
|
74137
74126
|
return yf(p, f), p;
|
|
74138
74127
|
});
|
|
74139
74128
|
}, A_ = function(r) {
|
|
74140
|
-
var u =
|
|
74129
|
+
var u = o6(Hf(r), 0, []);
|
|
74141
74130
|
return he(ma(r, "tr"), function(f, p) {
|
|
74142
74131
|
he(ma(f, "td,th"), function(y, C) {
|
|
74143
74132
|
YE(u, YA(u, C, p), p, f, y);
|
|
74144
74133
|
});
|
|
74145
|
-
}),
|
|
74146
|
-
},
|
|
74134
|
+
}), o6(u.element, XE(u.rows), u.rows);
|
|
74135
|
+
}, a6 = function(r) {
|
|
74147
74136
|
return W4(r, N_(r));
|
|
74148
74137
|
}, XA = function(r, u, f) {
|
|
74149
74138
|
return JE(r, u).bind(function(p) {
|
|
@@ -74173,7 +74162,7 @@ Required: ` + u.join(", "));
|
|
|
74173
74162
|
var f = Un(u, function(p, y) {
|
|
74174
74163
|
return Ha(y, p), y;
|
|
74175
74164
|
}, r);
|
|
74176
|
-
return u.length > 0 ?
|
|
74165
|
+
return u.length > 0 ? r6([f]) : f;
|
|
74177
74166
|
}, Og = function(r) {
|
|
74178
74167
|
return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
|
|
74179
74168
|
return [
|
|
@@ -74181,22 +74170,22 @@ Required: ` + u.join(", "));
|
|
|
74181
74170
|
u
|
|
74182
74171
|
];
|
|
74183
74172
|
}) : ts(r) ? [r] : [];
|
|
74184
|
-
},
|
|
74173
|
+
}, i6 = function(r, u) {
|
|
74185
74174
|
var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), y = Pt(p, function(P) {
|
|
74186
74175
|
return Cu(P) || Hc(P);
|
|
74187
74176
|
}), C = Ig(p, u), A = y.concat(C.length ? C : Og(f));
|
|
74188
74177
|
return ne(A, Hf);
|
|
74189
74178
|
}, QE = function() {
|
|
74190
|
-
return
|
|
74179
|
+
return r6([]);
|
|
74191
74180
|
}, ZA = function(r, u) {
|
|
74192
|
-
return Dg(be.fromDom(u.cloneContents()),
|
|
74181
|
+
return Dg(be.fromDom(u.cloneContents()), i6(r, u));
|
|
74193
74182
|
}, eS = function(r, u) {
|
|
74194
74183
|
return Uc(u, "table", Ue(yo, r));
|
|
74195
74184
|
}, tS = function(r, u) {
|
|
74196
74185
|
return eS(r, u[0]).bind(function(f) {
|
|
74197
74186
|
var p = u[0], y = u[u.length - 1], C = A_(f);
|
|
74198
74187
|
return XA(C, p, y).map(function(A) {
|
|
74199
|
-
return
|
|
74188
|
+
return r6([a6(A)]);
|
|
74200
74189
|
});
|
|
74201
74190
|
}).getOrThunk(QE);
|
|
74202
74191
|
}, QA = function(r, u) {
|
|
@@ -74241,7 +74230,7 @@ Required: ` + u.join(", "));
|
|
|
74241
74230
|
f.getInner = !0;
|
|
74242
74231
|
var p = rI(r, f);
|
|
74243
74232
|
return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
|
|
74244
|
-
},
|
|
74233
|
+
}, l6 = 0, aS = 1, iS = 2, I_ = function(r, u) {
|
|
74245
74234
|
var f = r.length + u.length + 2, p = new Array(f), y = new Array(f), C = function(ie, ae, se) {
|
|
74246
74235
|
return {
|
|
74247
74236
|
start: ie,
|
|
@@ -74253,7 +74242,7 @@ Required: ` + u.join(", "));
|
|
|
74253
74242
|
if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
|
|
74254
74243
|
for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
|
|
74255
74244
|
Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
|
|
74256
|
-
|
|
74245
|
+
l6,
|
|
74257
74246
|
r[Ee]
|
|
74258
74247
|
]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
|
|
74259
74248
|
iS,
|
|
@@ -74266,7 +74255,7 @@ Required: ` + u.join(", "));
|
|
|
74266
74255
|
A(ie, $e.start, se, $e.start - $e.diag, Oe);
|
|
74267
74256
|
for (var et = $e.start; et < $e.end; ++et)
|
|
74268
74257
|
Oe.push([
|
|
74269
|
-
|
|
74258
|
+
l6,
|
|
74270
74259
|
r[et]
|
|
74271
74260
|
]);
|
|
74272
74261
|
A($e.end, ae, $e.end - $e.diag, ke, Oe);
|
|
@@ -74298,7 +74287,7 @@ Required: ` + u.join(", "));
|
|
|
74298
74287
|
}
|
|
74299
74288
|
}, X = [];
|
|
74300
74289
|
return A(0, r.length, 0, u.length, X), X;
|
|
74301
|
-
},
|
|
74290
|
+
}, s6 = function(r) {
|
|
74302
74291
|
return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
|
|
74303
74292
|
}, oI = function(r) {
|
|
74304
74293
|
var u, f = document.createElement("div"), p = document.createDocumentFragment();
|
|
@@ -74320,19 +74309,19 @@ Required: ` + u.join(", "));
|
|
|
74320
74309
|
}, sS = function(r, u) {
|
|
74321
74310
|
var f = 0;
|
|
74322
74311
|
he(r, function(p) {
|
|
74323
|
-
p[0] ===
|
|
74312
|
+
p[0] === l6 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
|
|
74324
74313
|
});
|
|
74325
74314
|
}, iI = function(r) {
|
|
74326
|
-
return Pt(ne(Er(r.childNodes),
|
|
74315
|
+
return Pt(ne(Er(r.childNodes), s6), function(u) {
|
|
74327
74316
|
return u.length > 0;
|
|
74328
74317
|
});
|
|
74329
74318
|
}, lI = function(r, u) {
|
|
74330
|
-
var f = ne(Er(u.childNodes),
|
|
74319
|
+
var f = ne(Er(u.childNodes), s6);
|
|
74331
74320
|
return sS(I_(f, r), u), u;
|
|
74332
|
-
},
|
|
74333
|
-
return
|
|
74321
|
+
}, u6 = Wa(me.none()), uS = function() {
|
|
74322
|
+
return u6.get().getOrThunk(function() {
|
|
74334
74323
|
var r = document.implementation.createHTMLDocument("undo");
|
|
74335
|
-
return
|
|
74324
|
+
return u6.set(me.some(r)), r;
|
|
74336
74325
|
});
|
|
74337
74326
|
}, cS = function(r) {
|
|
74338
74327
|
return r.indexOf("</iframe>") !== -1;
|
|
@@ -74352,13 +74341,13 @@ Required: ` + u.join(", "));
|
|
|
74352
74341
|
bookmark: null,
|
|
74353
74342
|
beforeBookmark: null
|
|
74354
74343
|
};
|
|
74355
|
-
},
|
|
74344
|
+
}, c6 = function(r) {
|
|
74356
74345
|
var u = iI(r.getBody()), f = He(u, function(y) {
|
|
74357
74346
|
var C = k4(r.serializer, y);
|
|
74358
74347
|
return C.length > 0 ? [C] : [];
|
|
74359
74348
|
}), p = f.join("");
|
|
74360
74349
|
return cS(p) ? fS(f) : sI(p);
|
|
74361
|
-
},
|
|
74350
|
+
}, f6 = function(r, u, f) {
|
|
74362
74351
|
u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
|
|
74363
74352
|
}, D_ = function(r) {
|
|
74364
74353
|
return r.type === "fragmented" ? r.fragments.join("") : r.content;
|
|
@@ -74371,19 +74360,19 @@ Required: ` + u.join(", "));
|
|
|
74371
74360
|
return G4(r) === G4(u);
|
|
74372
74361
|
}, Cm = function(r, u) {
|
|
74373
74362
|
return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
|
|
74374
|
-
},
|
|
74363
|
+
}, d6 = function(r) {
|
|
74375
74364
|
return r.get() === 0;
|
|
74376
74365
|
}, q4 = function(r, u, f) {
|
|
74377
|
-
|
|
74366
|
+
d6(f) && (r.typing = u);
|
|
74378
74367
|
}, Mv = function(r, u) {
|
|
74379
74368
|
r.typing && (q4(r, !1, u), r.add());
|
|
74380
|
-
},
|
|
74369
|
+
}, h6 = function(r) {
|
|
74381
74370
|
r.typing && (r.typing = !1, r.add());
|
|
74382
74371
|
}, vS = function(r, u, f) {
|
|
74383
|
-
|
|
74372
|
+
d6(u) && f.set(me.some(I1(r.selection)));
|
|
74384
74373
|
}, O_ = function(r, u, f, p, y, C, A) {
|
|
74385
|
-
var P =
|
|
74386
|
-
if (C = C || {}, C = Ve.extend(C, P),
|
|
74374
|
+
var P = c6(r);
|
|
74375
|
+
if (C = C || {}, C = Ve.extend(C, P), d6(p) === !1 || r.removed)
|
|
74387
74376
|
return null;
|
|
74388
74377
|
var M = u.data[f.get()];
|
|
74389
74378
|
if (r.fire("BeforeAddUndo", {
|
|
@@ -74413,21 +74402,21 @@ Required: ` + u.join(", "));
|
|
|
74413
74402
|
}, uI = function(r, u, f, p, y) {
|
|
74414
74403
|
if (u.transact(p)) {
|
|
74415
74404
|
var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
|
|
74416
|
-
|
|
74405
|
+
f6(r, A, !0), u.transact(y) && (u.data[f.get() - 1].beforeBookmark = C);
|
|
74417
74406
|
}
|
|
74418
74407
|
}, mS = function(r, u, f) {
|
|
74419
74408
|
var p;
|
|
74420
|
-
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()],
|
|
74409
|
+
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;
|
|
74421
74410
|
}, gS = function(r, u, f, p) {
|
|
74422
74411
|
var y;
|
|
74423
|
-
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()],
|
|
74412
|
+
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;
|
|
74424
74413
|
}, cI = function(r) {
|
|
74425
74414
|
r.clear(), r.add();
|
|
74426
74415
|
}, fI = function(r, u, f) {
|
|
74427
|
-
return f.get() > 0 || u.typing && u.data[0] && !Cm(
|
|
74416
|
+
return f.get() > 0 || u.typing && u.data[0] && !Cm(c6(r), u.data[0]);
|
|
74428
74417
|
}, dI = function(r, u) {
|
|
74429
74418
|
return u.get() < r.data.length - 1 && !r.typing;
|
|
74430
|
-
},
|
|
74419
|
+
}, v6 = function(r, u, f) {
|
|
74431
74420
|
return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
|
|
74432
74421
|
}, hI = function(r, u) {
|
|
74433
74422
|
try {
|
|
@@ -74482,7 +74471,7 @@ Required: ` + u.join(", "));
|
|
|
74482
74471
|
return dI(u, f);
|
|
74483
74472
|
},
|
|
74484
74473
|
transact: function(u, f, p) {
|
|
74485
|
-
return
|
|
74474
|
+
return v6(u, f, p);
|
|
74486
74475
|
},
|
|
74487
74476
|
ignore: function(u, f) {
|
|
74488
74477
|
return hI(u, f);
|
|
@@ -74508,10 +74497,10 @@ Required: ` + u.join(", "));
|
|
|
74508
74497
|
return SA(r, u);
|
|
74509
74498
|
},
|
|
74510
74499
|
apply: function(u, f, p) {
|
|
74511
|
-
return
|
|
74500
|
+
return n6(r, u, f, p);
|
|
74512
74501
|
},
|
|
74513
74502
|
remove: function(u, f, p, y) {
|
|
74514
|
-
return
|
|
74503
|
+
return Q8(r, u, f, p, y);
|
|
74515
74504
|
},
|
|
74516
74505
|
toggle: function(u, f, p) {
|
|
74517
74506
|
return qA(r, u, f, p);
|
|
@@ -74528,7 +74517,7 @@ Required: ` + u.join(", "));
|
|
|
74528
74517
|
return CA(r, u, f);
|
|
74529
74518
|
},
|
|
74530
74519
|
insertContent: function(u, f) {
|
|
74531
|
-
return
|
|
74520
|
+
return F8(r, u, f);
|
|
74532
74521
|
},
|
|
74533
74522
|
addVisual: function(u) {
|
|
74534
74523
|
return vI(r, u);
|
|
@@ -74682,7 +74671,7 @@ Required: ` + u.join(", "));
|
|
|
74682
74671
|
return u.rtcInstance = pI(), Li.reject(p);
|
|
74683
74672
|
}));
|
|
74684
74673
|
});
|
|
74685
|
-
},
|
|
74674
|
+
}, p6 = function(r) {
|
|
74686
74675
|
return r.rtcInstance ? r.rtcInstance : B_(r);
|
|
74687
74676
|
}, Xi = function(r) {
|
|
74688
74677
|
var u = r.rtcInstance;
|
|
@@ -74693,7 +74682,7 @@ Required: ` + u.join(", "));
|
|
|
74693
74682
|
Xi(r).undoManager.beforeChange(u, f);
|
|
74694
74683
|
}, gI = function(r, u, f, p, y, C, A) {
|
|
74695
74684
|
return Xi(r).undoManager.addUndoLevel(u, f, p, y, C, A);
|
|
74696
|
-
},
|
|
74685
|
+
}, m6 = function(r, u, f, p) {
|
|
74697
74686
|
return Xi(r).undoManager.undo(u, f, p);
|
|
74698
74687
|
}, _I = function(r, u, f) {
|
|
74699
74688
|
return Xi(r).undoManager.redo(u, f);
|
|
@@ -74713,7 +74702,7 @@ Required: ` + u.join(", "));
|
|
|
74713
74702
|
Xi(r).undoManager.extra(u, f, p, y);
|
|
74714
74703
|
}, EI = function(r, u, f, p) {
|
|
74715
74704
|
return Xi(r).formatter.match(u, f, p);
|
|
74716
|
-
},
|
|
74705
|
+
}, g6 = function(r, u, f) {
|
|
74717
74706
|
return Xi(r).formatter.matchAll(u, f);
|
|
74718
74707
|
}, xS = function(r, u, f, p, y) {
|
|
74719
74708
|
return Xi(r).formatter.matchNode(u, f, p, y);
|
|
@@ -74729,12 +74718,12 @@ Required: ` + u.join(", "));
|
|
|
74729
74718
|
Xi(r).formatter.toggle(u, f, p);
|
|
74730
74719
|
}, SI = function(r, u, f, p, y) {
|
|
74731
74720
|
return y === void 0 && (y = !1), Xi(r).formatter.formatChanged(u, f, p, y);
|
|
74732
|
-
},
|
|
74733
|
-
return
|
|
74721
|
+
}, _6 = function(r, u, f) {
|
|
74722
|
+
return p6(r).editor.getContent(u, f);
|
|
74734
74723
|
}, kI = function(r, u, f) {
|
|
74735
|
-
return
|
|
74724
|
+
return p6(r).editor.setContent(u, f);
|
|
74736
74725
|
}, K4 = function(r, u, f) {
|
|
74737
|
-
return
|
|
74726
|
+
return p6(r).editor.insertContent(u, f);
|
|
74738
74727
|
}, TI = function(r, u, f) {
|
|
74739
74728
|
return Xi(r).selection.getContent(u, f);
|
|
74740
74729
|
}, NI = function(r, u) {
|
|
@@ -74743,7 +74732,7 @@ Required: ` + u.join(", "));
|
|
|
74743
74732
|
u === void 0 && (u = {});
|
|
74744
74733
|
var f = u.format ? u.format : "html";
|
|
74745
74734
|
return TI(r, f, u);
|
|
74746
|
-
},
|
|
74735
|
+
}, y6 = function(r) {
|
|
74747
74736
|
return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
|
|
74748
74737
|
}, AI = function(r, u) {
|
|
74749
74738
|
return r.filter(function(f) {
|
|
@@ -74772,7 +74761,7 @@ Required: ` + u.join(", "));
|
|
|
74772
74761
|
}, OI = function(r, u) {
|
|
74773
74762
|
var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
|
|
74774
74763
|
r.deleteContents(), r.insertNode(u);
|
|
74775
|
-
var y = f.bind(qs).filter(wi).bind(
|
|
74764
|
+
var y = f.bind(qs).filter(wi).bind(y6), C = p.bind(Ms).filter(wi).bind(y6);
|
|
74776
74765
|
IS(y, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
|
|
74777
74766
|
}, BI = function(r, u) {
|
|
74778
74767
|
return gr(gr({ format: "html" }, r), {
|
|
@@ -75063,7 +75052,7 @@ Required: ` + u.join(", "));
|
|
|
75063
75052
|
return u(new Blob([]));
|
|
75064
75053
|
}, u);
|
|
75065
75054
|
});
|
|
75066
|
-
},
|
|
75055
|
+
}, b6 = function(r) {
|
|
75067
75056
|
return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
|
|
75068
75057
|
}, $S = function(r) {
|
|
75069
75058
|
return new Li(function(u) {
|
|
@@ -75072,7 +75061,7 @@ Required: ` + u.join(", "));
|
|
|
75072
75061
|
u(f.result);
|
|
75073
75062
|
}, f.readAsDataURL(r);
|
|
75074
75063
|
});
|
|
75075
|
-
}, WI = 0,
|
|
75064
|
+
}, WI = 0, w6 = function(r) {
|
|
75076
75065
|
return (r || "blobid") + WI++;
|
|
75077
75066
|
}, jI = function(r, u, f, p) {
|
|
75078
75067
|
var y, C;
|
|
@@ -75080,9 +75069,9 @@ Required: ` + u.join(", "));
|
|
|
75080
75069
|
C = r.getByUri(u.src), C ? f({
|
|
75081
75070
|
image: u,
|
|
75082
75071
|
blobInfo: C
|
|
75083
|
-
}) :
|
|
75072
|
+
}) : b6(u.src).then(function(X) {
|
|
75084
75073
|
$S(X).then(function(ie) {
|
|
75085
|
-
y = xm(ie).data, C = r.create(
|
|
75074
|
+
y = xm(ie).data, C = r.create(w6(), X, y), r.add(C), f({
|
|
75086
75075
|
image: u,
|
|
75087
75076
|
blobInfo: C
|
|
75088
75077
|
});
|
|
@@ -75096,8 +75085,8 @@ Required: ` + u.join(", "));
|
|
|
75096
75085
|
y = P, C = r.getByData(y, M), C ? f({
|
|
75097
75086
|
image: u,
|
|
75098
75087
|
blobInfo: C
|
|
75099
|
-
}) :
|
|
75100
|
-
C = r.create(
|
|
75088
|
+
}) : b6(u.src).then(function(X) {
|
|
75089
|
+
C = r.create(w6(), X, y), r.add(C), f({
|
|
75101
75090
|
image: u,
|
|
75102
75091
|
blobInfo: C
|
|
75103
75092
|
});
|
|
@@ -75173,7 +75162,7 @@ Required: ` + u.join(", "));
|
|
|
75173
75162
|
var P = A.type, M = A.data;
|
|
75174
75163
|
return me.from(f.getByData(M, P)).orThunk(function() {
|
|
75175
75164
|
return RS(P, M).map(function(X) {
|
|
75176
|
-
var ie = f.create(
|
|
75165
|
+
var ie = f.create(w6(), X, M);
|
|
75177
75166
|
return f.add(ie), ie;
|
|
75178
75167
|
});
|
|
75179
75168
|
});
|
|
@@ -75574,7 +75563,7 @@ Required: ` + u.join(", "));
|
|
|
75574
75563
|
}, a9 = "html", Tl = function(r, u) {
|
|
75575
75564
|
u === void 0 && (u = {});
|
|
75576
75565
|
var f = u.format ? u.format : a9;
|
|
75577
|
-
return
|
|
75566
|
+
return _6(r, u, f);
|
|
75578
75567
|
}, X4 = function(r, u, f) {
|
|
75579
75568
|
return f === void 0 && (f = {}), kI(r, u, f);
|
|
75580
75569
|
}, J4 = ua.DOM, i9 = function(r) {
|
|
@@ -75623,7 +75612,7 @@ Required: ` + u.join(", "));
|
|
|
75623
75612
|
sections: Fe(r),
|
|
75624
75613
|
settings: Fe(u)
|
|
75625
75614
|
};
|
|
75626
|
-
},
|
|
75615
|
+
}, C6 = Wr().deviceType, h9 = C6.isTouch(), x6 = C6.isPhone(), Rv = C6.isTablet(), iu = [
|
|
75627
75616
|
"lists",
|
|
75628
75617
|
"autolink",
|
|
75629
75618
|
"autosave"
|
|
@@ -75643,7 +75632,7 @@ Required: ` + u.join(", "));
|
|
|
75643
75632
|
return Re(r, y);
|
|
75644
75633
|
});
|
|
75645
75634
|
return d9(f.t, f.f);
|
|
75646
|
-
},
|
|
75635
|
+
}, E6 = function(r, u, f) {
|
|
75647
75636
|
f === void 0 && (f = {});
|
|
75648
75637
|
var p = r.sections(), y = p.hasOwnProperty(u) ? p[u] : {};
|
|
75649
75638
|
return Ve.extend({}, f, y);
|
|
@@ -75711,14 +75700,14 @@ Required: ` + u.join(", "));
|
|
|
75711
75700
|
}, nk = function(r, u) {
|
|
75712
75701
|
return r && $g(u, "mobile");
|
|
75713
75702
|
}, rk = function(r, u, f, p, y) {
|
|
75714
|
-
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ?
|
|
75703
|
+
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") : {}, {
|
|
75715
75704
|
validate: !0,
|
|
75716
75705
|
external_plugins: v9(p, A.settings())
|
|
75717
75706
|
});
|
|
75718
75707
|
return $_(r, A, p, P);
|
|
75719
75708
|
}, ok = function(r, u, f, p, y) {
|
|
75720
75709
|
var C = QS(y, u, f, h9, r);
|
|
75721
|
-
return rk(
|
|
75710
|
+
return rk(x6 || Rv, x6, C, p, y);
|
|
75722
75711
|
}, gh = function(r, u, f) {
|
|
75723
75712
|
return me.from(u.settings[f]).filter(r);
|
|
75724
75713
|
}, m9 = function(r) {
|
|
@@ -75754,7 +75743,7 @@ Required: ` + u.join(", "));
|
|
|
75754
75743
|
return parseInt(Zr(u, r), 10);
|
|
75755
75744
|
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75756
75745
|
return r.dom.getBoundingClientRect();
|
|
75757
|
-
},
|
|
75746
|
+
}, S6 = function(r, u, f) {
|
|
75758
75747
|
var p = y9(r), y = ik(r);
|
|
75759
75748
|
return u >= 0 && f >= 0 && u <= p && f <= y;
|
|
75760
75749
|
}, b9 = function(r, u, f, p) {
|
|
@@ -75765,7 +75754,7 @@ Required: ` + u.join(", "));
|
|
|
75765
75754
|
};
|
|
75766
75755
|
}, ck = function(r, u, f) {
|
|
75767
75756
|
var p = be.fromDom(r.getBody()), y = r.inline ? p : Ii(p), C = b9(r.inline, y, u, f);
|
|
75768
|
-
return
|
|
75757
|
+
return S6(y, C.x, C.y);
|
|
75769
75758
|
}, w9 = function(r) {
|
|
75770
75759
|
return me.from(r).map(be.fromDom);
|
|
75771
75760
|
}, C9 = function(r) {
|
|
@@ -75936,7 +75925,7 @@ Required: ` + u.join(", "));
|
|
|
75936
75925
|
e3(r, "IconsLoadError", Uu("icons", u, f));
|
|
75937
75926
|
}, k9 = function(r, u, f) {
|
|
75938
75927
|
e3(r, "LanguageLoadError", Uu("language", u, f));
|
|
75939
|
-
},
|
|
75928
|
+
}, k6 = function(r, u, f) {
|
|
75940
75929
|
var p = Us.translate([
|
|
75941
75930
|
"Failed to initialize plugin: {0}",
|
|
75942
75931
|
u
|
|
@@ -75950,17 +75939,17 @@ Required: ` + u.join(", "));
|
|
|
75950
75939
|
}, Vg = function(r) {
|
|
75951
75940
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75952
75941
|
}, T9 = function(r) {
|
|
75953
|
-
return
|
|
75942
|
+
return T6(r, cb(r));
|
|
75954
75943
|
}, vk = function(r) {
|
|
75955
|
-
return
|
|
75956
|
-
},
|
|
75944
|
+
return T6(r, f2(r));
|
|
75945
|
+
}, T6 = function(r, u) {
|
|
75957
75946
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, y = "content" + p + ".css", C = r.inline === !0;
|
|
75958
75947
|
return ne(u, function(A) {
|
|
75959
75948
|
return Vg(A) && !C ? f + "/" + A + "/" + y : r.documentBaseURI.toAbsolute(A);
|
|
75960
75949
|
});
|
|
75961
|
-
},
|
|
75950
|
+
}, N6 = function(r) {
|
|
75962
75951
|
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75963
|
-
},
|
|
75952
|
+
}, A6 = function() {
|
|
75964
75953
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75965
75954
|
return {
|
|
75966
75955
|
status: se,
|
|
@@ -75994,13 +75983,13 @@ Required: ` + u.join(", "));
|
|
|
75994
75983
|
removeFailed: ie,
|
|
75995
75984
|
destroy: ae
|
|
75996
75985
|
};
|
|
75997
|
-
},
|
|
75986
|
+
}, I6 = 0, N9 = function() {
|
|
75998
75987
|
var r = function() {
|
|
75999
75988
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
76000
75989
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
76001
75990
|
return "s" + u.toString(36) + r() + r() + r();
|
|
76002
75991
|
}, pk = function(r) {
|
|
76003
|
-
return r +
|
|
75992
|
+
return r + I6++ + N9();
|
|
76004
75993
|
}, A9 = function() {
|
|
76005
75994
|
var r = [], u = function(ae) {
|
|
76006
75995
|
var se = {
|
|
@@ -76183,7 +76172,7 @@ Required: ` + u.join(", "));
|
|
|
76183
76172
|
handler: Qw(r)
|
|
76184
76173
|
});
|
|
76185
76174
|
}, I9 = function(r) {
|
|
76186
|
-
var u =
|
|
76175
|
+
var u = A6(), f = gk(r, u);
|
|
76187
76176
|
return {
|
|
76188
76177
|
upload: function(p, y) {
|
|
76189
76178
|
return y === void 0 && (y = !0), f.upload(p, y ? mk(r) : void 0);
|
|
@@ -76207,7 +76196,7 @@ Required: ` + u.join(", "));
|
|
|
76207
76196
|
};
|
|
76208
76197
|
return { fireIfChanged: f };
|
|
76209
76198
|
}, D9 = function(r) {
|
|
76210
|
-
var u = A9(), f, p, y =
|
|
76199
|
+
var u = A9(), f, p, y = A6(), C = [], A = F_(r), P = function(yt) {
|
|
76211
76200
|
return function(Mt) {
|
|
76212
76201
|
return r.selection ? yt(Mt) : [];
|
|
76213
76202
|
};
|
|
@@ -76764,7 +76753,7 @@ Required: ` + u.join(", "));
|
|
|
76764
76753
|
return SS(r, p);
|
|
76765
76754
|
},
|
|
76766
76755
|
matchAll: function(p, y) {
|
|
76767
|
-
return
|
|
76756
|
+
return g6(r, p, y);
|
|
76768
76757
|
},
|
|
76769
76758
|
matchNode: function(p, y, C, A) {
|
|
76770
76759
|
return xS(r, p, y, C, A);
|
|
@@ -76793,7 +76782,7 @@ Required: ` + u.join(", "));
|
|
|
76793
76782
|
u.beforeChange();
|
|
76794
76783
|
}), r.on("SaveContent ObjectResized blur", y), r.on("dragend", y), r.on("keyup", function(M) {
|
|
76795
76784
|
var X = M.keyCode;
|
|
76796
|
-
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(
|
|
76785
|
+
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", {
|
|
76797
76786
|
level: u.data[0],
|
|
76798
76787
|
lastLevel: null
|
|
76799
76788
|
})), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
|
|
@@ -76835,7 +76824,7 @@ Required: ` + u.join(", "));
|
|
|
76835
76824
|
return gI(r, y, p, f, u, C, A);
|
|
76836
76825
|
},
|
|
76837
76826
|
undo: function() {
|
|
76838
|
-
return
|
|
76827
|
+
return m6(r, y, f, p);
|
|
76839
76828
|
},
|
|
76840
76829
|
redo: function() {
|
|
76841
76830
|
return _I(r, p, y.data);
|
|
@@ -76905,7 +76894,7 @@ Required: ` + u.join(", "));
|
|
|
76905
76894
|
return y ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(y) : f === y.nodeName.toLowerCase() : !0;
|
|
76906
76895
|
} else
|
|
76907
76896
|
return !1;
|
|
76908
|
-
},
|
|
76897
|
+
}, D6 = function(r) {
|
|
76909
76898
|
var u = r.dom, f = Oi(r), p = nC(r), y = function(C, A) {
|
|
76910
76899
|
if (!F9(C)) {
|
|
76911
76900
|
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
@@ -76948,11 +76937,11 @@ Required: ` + u.join(", "));
|
|
|
76948
76937
|
return li(r, u) ? jm(u, function(f) {
|
|
76949
76938
|
return Ra(f) || pp(f);
|
|
76950
76939
|
}, a3(r)) : me.none();
|
|
76951
|
-
},
|
|
76940
|
+
}, O6 = function(r) {
|
|
76952
76941
|
var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
|
|
76953
76942
|
r.selection.setCursorLocation(f, 0);
|
|
76954
76943
|
}, i3 = function(r) {
|
|
76955
|
-
r.dom.isEmpty(r.getBody()) && (r.setContent(""),
|
|
76944
|
+
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
|
|
76956
76945
|
}, kk = function(r, u, f) {
|
|
76957
76946
|
return ki(jl(f), Ru(f), function(p, y) {
|
|
76958
76947
|
var C = Nl(!0, p), A = Nl(!1, y), P = Nl(!1, u);
|
|
@@ -77016,7 +77005,7 @@ Required: ` + u.join(", "));
|
|
|
77016
77005
|
}, cd = function(r) {
|
|
77017
77006
|
var u = Bk(r);
|
|
77018
77007
|
return he(u, pi), u;
|
|
77019
|
-
},
|
|
77008
|
+
}, B6 = function(r, u) {
|
|
77020
77009
|
var f = qo(u, r);
|
|
77021
77010
|
return _n(f.reverse(), function(p) {
|
|
77022
77011
|
return ws(p);
|
|
@@ -77032,14 +77021,14 @@ Required: ` + u.join(", "));
|
|
|
77032
77021
|
var y = mc(f.dom, un.before(p.dom));
|
|
77033
77022
|
return he(cd(u), function(C) {
|
|
77034
77023
|
cl(p, C);
|
|
77035
|
-
}),
|
|
77024
|
+
}), B6(r, u), y;
|
|
77036
77025
|
}, Ac = function(r, u, f) {
|
|
77037
77026
|
if (ws(f))
|
|
77038
77027
|
return pi(f), ws(u) && js(u), jl(u.dom);
|
|
77039
77028
|
var p = Ru(f.dom);
|
|
77040
77029
|
return he(cd(u), function(y) {
|
|
77041
77030
|
Ha(f, y);
|
|
77042
|
-
}),
|
|
77031
|
+
}), B6(r, u), p;
|
|
77043
77032
|
}, H9 = function(r, u) {
|
|
77044
77033
|
var f = qo(u, r);
|
|
77045
77034
|
return me.from(f[f.length - 1]);
|
|
@@ -77082,7 +77071,7 @@ Required: ` + u.join(", "));
|
|
|
77082
77071
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77083
77072
|
}, Ug = function(r, u) {
|
|
77084
77073
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77085
|
-
},
|
|
77074
|
+
}, P6 = $s, Vk = xa, _h = function(r, u, f, p, y) {
|
|
77086
77075
|
return me.from(u._selectionOverrides.showCaret(r, f, p, y));
|
|
77087
77076
|
}, X9 = function(r) {
|
|
77088
77077
|
var u = r.ownerDocument.createRange();
|
|
@@ -77090,7 +77079,7 @@ Required: ` + u.join(", "));
|
|
|
77090
77079
|
}, km = function(r, u) {
|
|
77091
77080
|
var f = r.fire("BeforeObjectSelected", { target: u });
|
|
77092
77081
|
return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
|
|
77093
|
-
},
|
|
77082
|
+
}, M6 = function(r, u, f) {
|
|
77094
77083
|
var p = x2(1, r.getBody(), u), y = un.fromRangeStart(p), C = y.getNode();
|
|
77095
77084
|
if (Jd(C))
|
|
77096
77085
|
return _h(1, r, C, !y.isAtEnd(), !1);
|
|
@@ -77098,16 +77087,16 @@ Required: ` + u.join(", "));
|
|
|
77098
77087
|
if (Jd(A))
|
|
77099
77088
|
return _h(1, r, A, !1, !1);
|
|
77100
77089
|
var P = r.dom.getParent(y.getNode(), function(M) {
|
|
77101
|
-
return Vk(M) ||
|
|
77090
|
+
return Vk(M) || P6(M);
|
|
77102
77091
|
});
|
|
77103
77092
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77104
77093
|
}, H_ = function(r, u, f) {
|
|
77105
|
-
return u.collapsed ?
|
|
77094
|
+
return u.collapsed ? M6(r, u, f).getOr(u) : u;
|
|
77106
77095
|
}, Lk = function(r) {
|
|
77107
77096
|
return Yo(r) || Cr(r);
|
|
77108
77097
|
}, Uk = function(r) {
|
|
77109
77098
|
return Xo(r) || uo(r);
|
|
77110
|
-
},
|
|
77099
|
+
}, R6 = function(r, u) {
|
|
77111
77100
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77112
77101
|
}, zk = function(r, u, f, p, y, C) {
|
|
77113
77102
|
return _h(p, r, C.getNode(!y), y, !0).each(function(A) {
|
|
@@ -77117,7 +77106,7 @@ Required: ` + u.join(", "));
|
|
|
77117
77106
|
} else
|
|
77118
77107
|
u.deleteContents();
|
|
77119
77108
|
r.selection.setRng(A);
|
|
77120
|
-
}),
|
|
77109
|
+
}), R6(r.dom, f), !0;
|
|
77121
77110
|
}, J9 = function(r, u) {
|
|
77122
77111
|
var f = r.selection.getRng();
|
|
77123
77112
|
if (!Bn(f.commonAncestorContainer))
|
|
@@ -77147,16 +77136,16 @@ Required: ` + u.join(", "));
|
|
|
77147
77136
|
return U1(!u, f).fold(function() {
|
|
77148
77137
|
return U1(u, p).fold(Qe, y);
|
|
77149
77138
|
}, y);
|
|
77150
|
-
}, $
|
|
77139
|
+
}, $6 = function(r, u, f, p) {
|
|
77151
77140
|
var y = p.getNode(u === !1);
|
|
77152
77141
|
return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
|
|
77153
77142
|
return ws(C) ? cs.remove(C.dom) : cs.moveToElement(y);
|
|
77154
77143
|
}).orThunk(function() {
|
|
77155
77144
|
return me.some(cs.moveToElement(y));
|
|
77156
77145
|
});
|
|
77157
|
-
},
|
|
77146
|
+
}, F6 = function(r, u, f) {
|
|
77158
77147
|
return Hs(u, r, f).bind(function(p) {
|
|
77159
|
-
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $
|
|
77148
|
+
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();
|
|
77160
77149
|
});
|
|
77161
77150
|
}, Wk = function(r, u) {
|
|
77162
77151
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
@@ -77170,8 +77159,8 @@ Required: ` + u.join(", "));
|
|
|
77170
77159
|
});
|
|
77171
77160
|
}, Gk = function(r, u, f) {
|
|
77172
77161
|
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77173
|
-
return
|
|
77174
|
-
}, me.some) :
|
|
77162
|
+
return F6(r, u, f);
|
|
77163
|
+
}, me.some) : F6(r, u, f).bind(function(p) {
|
|
77175
77164
|
return jk(r, f, p);
|
|
77176
77165
|
});
|
|
77177
77166
|
}, qk = function(r, u, f) {
|
|
@@ -77190,7 +77179,7 @@ Required: ` + u.join(", "));
|
|
|
77190
77179
|
var p = u ? un.before(f) : un.after(f);
|
|
77191
77180
|
return r.selection.setRng(p.toRange()), !0;
|
|
77192
77181
|
};
|
|
77193
|
-
},
|
|
77182
|
+
}, V6 = function(r) {
|
|
77194
77183
|
return function(u) {
|
|
77195
77184
|
return r.selection.setRng(u.toRange()), !0;
|
|
77196
77185
|
};
|
|
@@ -77200,7 +77189,7 @@ Required: ` + u.join(", "));
|
|
|
77200
77189
|
var f = r.selection.getNode();
|
|
77201
77190
|
return Kk(r, f).filter(xa).fold(function() {
|
|
77202
77191
|
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77203
|
-
return p.fold(f3(r, u), d3(r, u),
|
|
77192
|
+
return p.fold(f3(r, u), d3(r, u), V6(r));
|
|
77204
77193
|
});
|
|
77205
77194
|
}, Ht);
|
|
77206
77195
|
}, Q9 = function(r) {
|
|
@@ -77214,7 +77203,7 @@ Required: ` + u.join(", "));
|
|
|
77214
77203
|
}, Ht);
|
|
77215
77204
|
}
|
|
77216
77205
|
return !1;
|
|
77217
|
-
},
|
|
77206
|
+
}, L6 = function(r) {
|
|
77218
77207
|
var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
|
|
77219
77208
|
if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
|
|
77220
77209
|
var y = u.create("br", { "data-mce-bogus": "1" });
|
|
@@ -77261,7 +77250,7 @@ Required: ` + u.join(", "));
|
|
|
77261
77250
|
}, Zk = function(r, u) {
|
|
77262
77251
|
var f = u.get();
|
|
77263
77252
|
return f && r.container() === f && Wc(f);
|
|
77264
|
-
},
|
|
77253
|
+
}, U6 = function(r, u) {
|
|
77265
77254
|
return u.fold(function(f) {
|
|
77266
77255
|
qf(r.get());
|
|
77267
77256
|
var p = p3(f);
|
|
@@ -77299,11 +77288,11 @@ Required: ` + u.join(", "));
|
|
|
77299
77288
|
{ start: ["element"] },
|
|
77300
77289
|
{ end: ["element"] },
|
|
77301
77290
|
{ after: ["element"] }
|
|
77302
|
-
]),
|
|
77291
|
+
]), z6 = function(r, u) {
|
|
77303
77292
|
var f = Yf(u, r);
|
|
77304
77293
|
return f || r;
|
|
77305
77294
|
}, oD = function(r, u, f) {
|
|
77306
|
-
var p = Vv(f), y =
|
|
77295
|
+
var p = Vv(f), y = z6(u, p.container());
|
|
77307
77296
|
return lu(r, y, p).fold(function() {
|
|
77308
77297
|
return eu(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77309
77298
|
return fs.before(C);
|
|
@@ -77326,14 +77315,14 @@ Required: ` + u.join(", "));
|
|
|
77326
77315
|
return C.isNone() ? me.some(fs.end(y)) : me.none();
|
|
77327
77316
|
});
|
|
77328
77317
|
}, sD = function(r, u, f) {
|
|
77329
|
-
var p = U_(f), y =
|
|
77318
|
+
var p = U_(f), y = z6(u, p.container());
|
|
77330
77319
|
return lu(r, y, p).fold(function() {
|
|
77331
77320
|
return mc(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77332
77321
|
return fs.after(C);
|
|
77333
77322
|
});
|
|
77334
77323
|
}, me.none);
|
|
77335
77324
|
}, e5 = function(r) {
|
|
77336
|
-
return z9(
|
|
77325
|
+
return z9(H6(r)) === !1;
|
|
77337
77326
|
}, fd = function(r, u, f) {
|
|
77338
77327
|
var p = Qk([
|
|
77339
77328
|
oD,
|
|
@@ -77346,7 +77335,7 @@ Required: ` + u.join(", "));
|
|
|
77346
77335
|
f
|
|
77347
77336
|
]);
|
|
77348
77337
|
return p.filter(e5);
|
|
77349
|
-
},
|
|
77338
|
+
}, H6 = function(r) {
|
|
77350
77339
|
return r.fold(_t, _t, _t, _t);
|
|
77351
77340
|
}, t5 = function(r) {
|
|
77352
77341
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
@@ -77355,7 +77344,7 @@ Required: ` + u.join(", "));
|
|
|
77355
77344
|
}, Wg = function(r) {
|
|
77356
77345
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77357
77346
|
}, uD = function(r, u) {
|
|
77358
|
-
return t5(r) === t5(u) &&
|
|
77347
|
+
return t5(r) === t5(u) && H6(r) === H6(u);
|
|
77359
77348
|
}, cD = function(r, u, f, p, y, C) {
|
|
77360
77349
|
return ki(lu(u, f, p), lu(u, f, y), function(A, P) {
|
|
77361
77350
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77373,13 +77362,13 @@ Required: ` + u.join(", "));
|
|
|
77373
77362
|
return P.filter(e5);
|
|
77374
77363
|
}, dD = function(r, u) {
|
|
77375
77364
|
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));
|
|
77376
|
-
},
|
|
77365
|
+
}, W6 = function(r, u, f, p) {
|
|
77377
77366
|
var y = Nl(r, p), C = fd(u, f, y);
|
|
77378
77367
|
return fd(u, f, y).bind(Ue(dD, r)).orThunk(function() {
|
|
77379
77368
|
return fD(r, u, f, C, p);
|
|
77380
77369
|
});
|
|
77381
77370
|
};
|
|
77382
|
-
Ue(
|
|
77371
|
+
Ue(W6, !1), Ue(W6, !0);
|
|
77383
77372
|
var hD = function(r) {
|
|
77384
77373
|
return Pe(r.selection.getSel().modify);
|
|
77385
77374
|
}, n5 = function(r, u, f) {
|
|
@@ -77451,7 +77440,7 @@ Required: ` + u.join(", "));
|
|
|
77451
77440
|
});
|
|
77452
77441
|
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77453
77442
|
return Nm(r, u).breakAt.isNone();
|
|
77454
|
-
},
|
|
77443
|
+
}, j6 = function(r, u) {
|
|
77455
77444
|
return W_(r, u).breakAt.isNone();
|
|
77456
77445
|
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77457
77446
|
return jl(r).map(function(u) {
|
|
@@ -77501,7 +77490,7 @@ Required: ` + u.join(", "));
|
|
|
77501
77490
|
return u.line > r;
|
|
77502
77491
|
}, c5 = function(r, u) {
|
|
77503
77492
|
return u.line === r;
|
|
77504
|
-
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il),
|
|
77493
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
|
|
77505
77494
|
var y = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77506
77495
|
return oa(Oe.getClientRects());
|
|
77507
77496
|
};
|
|
@@ -77519,13 +77508,13 @@ Required: ` + u.join(", "));
|
|
|
77519
77508
|
return function(u) {
|
|
77520
77509
|
return Gg(r, u);
|
|
77521
77510
|
};
|
|
77522
|
-
},
|
|
77511
|
+
}, q6 = function(r) {
|
|
77523
77512
|
return function(u) {
|
|
77524
77513
|
return c5(r, u);
|
|
77525
77514
|
};
|
|
77526
|
-
}, bD = xa, v5 = cv,
|
|
77515
|
+
}, bD = xa, v5 = cv, K6 = function(r, u) {
|
|
77527
77516
|
return Math.abs(r.left - u);
|
|
77528
|
-
},
|
|
77517
|
+
}, Y6 = function(r, u) {
|
|
77529
77518
|
return Math.abs(r.right - u);
|
|
77530
77519
|
}, Dc = function(r, u) {
|
|
77531
77520
|
return r >= u.left && r <= u.right;
|
|
@@ -77533,7 +77522,7 @@ Required: ` + u.join(", "));
|
|
|
77533
77522
|
return r >= u.top && r <= u.bottom;
|
|
77534
77523
|
}, C3 = function(r, u) {
|
|
77535
77524
|
return Po(r, function(f, p) {
|
|
77536
|
-
var y = Math.min(
|
|
77525
|
+
var y = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
|
|
77537
77526
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === y && bD(p.node) || C < y ? p : f;
|
|
77538
77527
|
});
|
|
77539
77528
|
}, p5 = function(r, u, f, p, y) {
|
|
@@ -77556,7 +77545,7 @@ Required: ` + u.join(", "));
|
|
|
77556
77545
|
}, ED = function(r, u) {
|
|
77557
77546
|
return {
|
|
77558
77547
|
node: r.node,
|
|
77559
|
-
before:
|
|
77548
|
+
before: K6(r, u) < Y6(r, u)
|
|
77560
77549
|
};
|
|
77561
77550
|
}, SD = function(r, u, f) {
|
|
77562
77551
|
var p = w3(xD(r)), y = Pt(p, Ue(wD, f)), C = C3(y, u);
|
|
@@ -77568,7 +77557,7 @@ Required: ` + u.join(", "));
|
|
|
77568
77557
|
return null;
|
|
77569
77558
|
}, di = function(r, u) {
|
|
77570
77559
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77571
|
-
},
|
|
77560
|
+
}, X6 = function(r, u, f) {
|
|
77572
77561
|
return me.some(H_(r, u, f));
|
|
77573
77562
|
}, m5 = function(r, u, f, p, y, C) {
|
|
77574
77563
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : y;
|
|
@@ -77586,21 +77575,21 @@ Required: ` + u.join(", "));
|
|
|
77586
77575
|
if (X(se))
|
|
77587
77576
|
return _h(u, r, se.getNode(!A), A, !1);
|
|
77588
77577
|
var Oe = M(se);
|
|
77589
|
-
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ?
|
|
77590
|
-
},
|
|
77578
|
+
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X6(r, se.toRange(), !1) : me.none();
|
|
77579
|
+
}, J6 = function(r, u, f, p, y, C) {
|
|
77591
77580
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77592
77581
|
if (!P)
|
|
77593
77582
|
return me.none();
|
|
77594
|
-
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie,
|
|
77583
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
|
|
77595
77584
|
if (ke && C(ke.node)) {
|
|
77596
77585
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77597
77586
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77598
77587
|
}
|
|
77599
77588
|
var Ee;
|
|
77600
77589
|
if (p(A) ? Ee = A.getNode() : y(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77601
|
-
var ot =
|
|
77602
|
-
if (et || (et = oa(Pt(ot,
|
|
77603
|
-
return
|
|
77590
|
+
var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
|
|
77591
|
+
if (et || (et = oa(Pt(ot, q6(0))), et))
|
|
77592
|
+
return X6(r, et.position.toRange(), !1);
|
|
77604
77593
|
}
|
|
77605
77594
|
return ae.length === 0 ? j_(r, M).filter(M ? y : p).map(function(ut) {
|
|
77606
77595
|
return H_(r, ut.toRange(), !1);
|
|
@@ -77624,11 +77613,11 @@ Required: ` + u.join(", "));
|
|
|
77624
77613
|
}, _5 = function(r, u) {
|
|
77625
77614
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77626
77615
|
}, Uv = function(r, u, f) {
|
|
77627
|
-
return
|
|
77616
|
+
return U6(u, f).map(function(p) {
|
|
77628
77617
|
return x3(r, p), f;
|
|
77629
77618
|
});
|
|
77630
77619
|
}, kD = function(r, u, f) {
|
|
77631
|
-
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A =
|
|
77620
|
+
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W6(f, C, p, y);
|
|
77632
77621
|
return A.bind(function(P) {
|
|
77633
77622
|
return Uv(r, u, P);
|
|
77634
77623
|
});
|
|
@@ -77669,7 +77658,7 @@ Required: ` + u.join(", "));
|
|
|
77669
77658
|
});
|
|
77670
77659
|
return fd(Ue(Em, r), r.getBody(), p).exists(function(y) {
|
|
77671
77660
|
var C = Tm(y);
|
|
77672
|
-
return
|
|
77661
|
+
return U6(f, C).exists(function(A) {
|
|
77673
77662
|
return x3(r, A), !0;
|
|
77674
77663
|
});
|
|
77675
77664
|
});
|
|
@@ -77687,7 +77676,7 @@ Required: ` + u.join(", "));
|
|
|
77687
77676
|
}).getOr(!0);
|
|
77688
77677
|
}, C5 = function(r, u) {
|
|
77689
77678
|
return function(f) {
|
|
77690
|
-
return
|
|
77679
|
+
return U6(u, f).exists(function(p) {
|
|
77691
77680
|
return x3(r, p), !0;
|
|
77692
77681
|
});
|
|
77693
77682
|
};
|
|
@@ -77730,9 +77719,9 @@ Required: ` + u.join(", "));
|
|
|
77730
77719
|
return Kn(f, Fs).fold(Fe(f), function(p) {
|
|
77731
77720
|
return f.slice(0, p);
|
|
77732
77721
|
});
|
|
77733
|
-
},
|
|
77722
|
+
}, Z6 = function(r) {
|
|
77734
77723
|
return va(r).length === 1;
|
|
77735
|
-
},
|
|
77724
|
+
}, Q6 = function(r, u, f, p) {
|
|
77736
77725
|
var y = Ue(DA, u), C = ne(Pt(p, y), function(P) {
|
|
77737
77726
|
return P.dom;
|
|
77738
77727
|
});
|
|
@@ -77743,10 +77732,10 @@ Required: ` + u.join(", "));
|
|
|
77743
77732
|
u.selection.setRng(A.toRange());
|
|
77744
77733
|
}
|
|
77745
77734
|
}, BD = function(r, u) {
|
|
77746
|
-
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p),
|
|
77735
|
+
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p), Z6);
|
|
77747
77736
|
return nr(y).exists(function(C) {
|
|
77748
77737
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77749
|
-
return kk(u, A, C.dom) && !OA(C) ? (
|
|
77738
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, y), !0) : !1;
|
|
77750
77739
|
});
|
|
77751
77740
|
}, hd = function(r, u) {
|
|
77752
77741
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77958,7 +77947,7 @@ Required: ` + u.join(", "));
|
|
|
77958
77947
|
}, y = function(C) {
|
|
77959
77948
|
return Xo(C) || xo(C);
|
|
77960
77949
|
};
|
|
77961
|
-
return
|
|
77950
|
+
return J6(u, r, f, p, y, rx);
|
|
77962
77951
|
}, tO = function(r) {
|
|
77963
77952
|
var u = r.dom.create(Oi(r));
|
|
77964
77953
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
@@ -78014,7 +78003,7 @@ Required: ` + u.join(", "));
|
|
|
78014
78003
|
var f = Ue(yo, u);
|
|
78015
78004
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
78016
78005
|
}, $5 = function(r, u, f) {
|
|
78017
|
-
return u ?
|
|
78006
|
+
return u ? j6(r.dom, f) : a5(r.dom, f);
|
|
78018
78007
|
}, F5 = function(r, u) {
|
|
78019
78008
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), y = Oi(r), C = iv(r);
|
|
78020
78009
|
return lO(p, f).exists(function() {
|
|
@@ -78060,7 +78049,7 @@ Required: ` + u.join(", "));
|
|
|
78060
78049
|
});
|
|
78061
78050
|
}, Im = function(r, u) {
|
|
78062
78051
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
78063
|
-
return
|
|
78052
|
+
return J6(r, f, p, Cr, uo, es).exists(function(y) {
|
|
78064
78053
|
return di(r, y), !0;
|
|
78065
78054
|
});
|
|
78066
78055
|
}, lx = function(r, u) {
|
|
@@ -78377,11 +78366,11 @@ Required: ` + u.join(", "));
|
|
|
78377
78366
|
Yg([
|
|
78378
78367
|
{
|
|
78379
78368
|
keyCode: Pr.BACKSPACE,
|
|
78380
|
-
action: Eo(
|
|
78369
|
+
action: Eo(L6, r)
|
|
78381
78370
|
},
|
|
78382
78371
|
{
|
|
78383
78372
|
keyCode: Pr.DELETE,
|
|
78384
|
-
action: Eo(
|
|
78373
|
+
action: Eo(L6, r)
|
|
78385
78374
|
}
|
|
78386
78375
|
], u);
|
|
78387
78376
|
}, px = function(r, u) {
|
|
@@ -78764,7 +78753,7 @@ Required: ` + u.join(", "));
|
|
|
78764
78753
|
MO(r, u);
|
|
78765
78754
|
}, ve);
|
|
78766
78755
|
}, uT = function(r, u) {
|
|
78767
|
-
u.isDefaultPrevented() || (u.preventDefault(),
|
|
78756
|
+
u.isDefaultPrevented() || (u.preventDefault(), h6(r.undoManager), r.undoManager.transact(function() {
|
|
78768
78757
|
r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
|
|
78769
78758
|
}));
|
|
78770
78759
|
}, cT = function(r) {
|
|
@@ -78965,7 +78954,7 @@ Required: ` + u.join(", "));
|
|
|
78965
78954
|
return u.setEnd(A.container(), A.offset());
|
|
78966
78955
|
});
|
|
78967
78956
|
}
|
|
78968
|
-
r.selection.setRng(
|
|
78957
|
+
r.selection.setRng(D8(u));
|
|
78969
78958
|
}, f7 = function(r) {
|
|
78970
78959
|
r.on("click", function(u) {
|
|
78971
78960
|
u.detail >= 3 && Ex(r);
|
|
@@ -79240,7 +79229,7 @@ Required: ` + u.join(", "));
|
|
|
79240
79229
|
}, ot = function() {
|
|
79241
79230
|
r.on("mouseup", function(Gn) {
|
|
79242
79231
|
var ir = Oe();
|
|
79243
|
-
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) &&
|
|
79232
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
|
|
79244
79233
|
}), r.on("click", function(Gn) {
|
|
79245
79234
|
var ir = ty(r, Gn.target);
|
|
79246
79235
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79770,7 +79759,7 @@ Required: ` + u.join(", "));
|
|
|
79770
79759
|
}
|
|
79771
79760
|
}), 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);
|
|
79772
79761
|
var A = i7(r);
|
|
79773
|
-
UD(r, A), YD(r),
|
|
79762
|
+
UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
|
|
79774
79763
|
F3(r);
|
|
79775
79764
|
}, function(P) {
|
|
79776
79765
|
r.setProgressState(!0), P.then(function(M) {
|
|
@@ -79826,7 +79815,7 @@ Required: ` + u.join(", "));
|
|
|
79826
79815
|
var C = new p(r, y, r.$);
|
|
79827
79816
|
r.plugins[f] = C, C.init && (C.init(r, y), u.push(f));
|
|
79828
79817
|
} catch (A) {
|
|
79829
|
-
|
|
79818
|
+
k6(r, f, A);
|
|
79830
79819
|
}
|
|
79831
79820
|
}
|
|
79832
79821
|
}, NT = function(r) {
|
|
@@ -79888,7 +79877,7 @@ Required: ` + u.join(", "));
|
|
|
79888
79877
|
editorContainer: u.editorContainer,
|
|
79889
79878
|
iframeContainer: u.iframeContainer
|
|
79890
79879
|
};
|
|
79891
|
-
return r.editorContainer = f.editorContainer ? f.editorContainer : null,
|
|
79880
|
+
return r.editorContainer = f.editorContainer ? f.editorContainer : null, N6(r), r.inline ? V3(r) : j7(r, f);
|
|
79892
79881
|
}, Om = ua.DOM, z3 = function(r) {
|
|
79893
79882
|
return r.charAt(0) === "-";
|
|
79894
79883
|
}, J7 = function(r, u) {
|
|
@@ -80040,7 +80029,7 @@ Required: ` + u.join(", "));
|
|
|
80040
80029
|
}, y = function(C) {
|
|
80041
80030
|
return yo(be.fromDom(u), C);
|
|
80042
80031
|
};
|
|
80043
|
-
return
|
|
80032
|
+
return L8(be.fromDom(f), function(C) {
|
|
80044
80033
|
return p(C);
|
|
80045
80034
|
}, y);
|
|
80046
80035
|
}, aB = function(r) {
|
|
@@ -80095,7 +80084,7 @@ Required: ` + u.join(", "));
|
|
|
80095
80084
|
}).getOr("");
|
|
80096
80085
|
}, dB = function(r) {
|
|
80097
80086
|
return Zg(r, function(u) {
|
|
80098
|
-
var f = be.fromDom(r.getBody()), p =
|
|
80087
|
+
var f = be.fromDom(r.getBody()), p = L8(u, function(C) {
|
|
80099
80088
|
return ea(C, "line-height");
|
|
80100
80089
|
}, Ue(yo, f)), y = function() {
|
|
80101
80090
|
var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
|
|
@@ -87071,7 +87060,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87071
87060
|
return c4(a, v, c, -1);
|
|
87072
87061
|
}, Cc = function(a, c, v) {
|
|
87073
87062
|
return c4(a, v, c, 1);
|
|
87074
|
-
},
|
|
87063
|
+
}, e8 = [
|
|
87075
87064
|
bi("selectors", [
|
|
87076
87065
|
nt("row"),
|
|
87077
87066
|
nt("cell")
|
|
@@ -87087,11 +87076,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87087
87076
|
b.each(function(x) {
|
|
87088
87077
|
c.focusManager.set(a, x);
|
|
87089
87078
|
});
|
|
87090
|
-
},
|
|
87079
|
+
}, t8 = function(a, c, v) {
|
|
87091
87080
|
return El(a.element).bind(function(b) {
|
|
87092
87081
|
return v.execute(a, c, b);
|
|
87093
87082
|
});
|
|
87094
|
-
},
|
|
87083
|
+
}, n8 = function(a, c) {
|
|
87095
87084
|
return Ge(a, function(v) {
|
|
87096
87085
|
return Hl(v, c.selectors.cell);
|
|
87097
87086
|
});
|
|
@@ -87103,7 +87092,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87103
87092
|
return Z2(F, b).bind(function(L) {
|
|
87104
87093
|
var G = Hl(v, x.selectors.row);
|
|
87105
87094
|
return Z2(G, D).bind(function(Z) {
|
|
87106
|
-
var ee =
|
|
87095
|
+
var ee = n8(G, x);
|
|
87107
87096
|
return N(ee, Z, L).map(function(fe) {
|
|
87108
87097
|
return fe.cell;
|
|
87109
87098
|
});
|
|
@@ -87111,13 +87100,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87111
87100
|
});
|
|
87112
87101
|
});
|
|
87113
87102
|
};
|
|
87114
|
-
}, vg = rd(dg, d4), p4 = rd(fg, wc),
|
|
87103
|
+
}, vg = rd(dg, d4), p4 = rd(fg, wc), r8 = rd(hg, QC), Av = rd(f4, Cc), o8 = V([
|
|
87115
87104
|
Co(ho(ng), ag(vg, p4)),
|
|
87116
87105
|
Co(ho(ch), om(vg, p4)),
|
|
87117
|
-
Co(ho(em), ig(
|
|
87106
|
+
Co(ho(em), ig(r8)),
|
|
87118
87107
|
Co(ho(of), Zb(Av)),
|
|
87119
|
-
Co(ho(ls.concat(bc)),
|
|
87120
|
-
]),
|
|
87108
|
+
Co(ho(ls.concat(bc)), t8)
|
|
87109
|
+
]), a8 = V([Co(ho(ls), Sv)]), i8 = Vu(e8, bl.init, o8, a8, function() {
|
|
87121
87110
|
return U.some(h4);
|
|
87122
87111
|
}), m4 = [
|
|
87123
87112
|
nt("selector"),
|
|
@@ -87127,7 +87116,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87127
87116
|
return v.focusManager.get(a).bind(function(b) {
|
|
87128
87117
|
return v.execute(a, c, b);
|
|
87129
87118
|
});
|
|
87130
|
-
},
|
|
87119
|
+
}, l8 = function(a, c, v) {
|
|
87131
87120
|
rl(a.element, c.selector).each(function(b) {
|
|
87132
87121
|
c.focusManager.set(a, b);
|
|
87133
87122
|
});
|
|
@@ -87139,7 +87128,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87139
87128
|
return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
|
|
87140
87129
|
}, _4 = function(a, c, v, b) {
|
|
87141
87130
|
return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
|
|
87142
|
-
},
|
|
87131
|
+
}, s8 = V([
|
|
87143
87132
|
Co(ho(em), ed(g4)),
|
|
87144
87133
|
Co(ho(of), ed(lm)),
|
|
87145
87134
|
Co(ou([
|
|
@@ -87152,8 +87141,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87152
87141
|
]), _4),
|
|
87153
87142
|
Co(ho(bc), Iv),
|
|
87154
87143
|
Co(ho(ls), Iv)
|
|
87155
|
-
]),
|
|
87156
|
-
return U.some(
|
|
87144
|
+
]), u8 = V([Co(ho(ls), Sv)]), c8 = Vu(m4, bl.init, s8, u8, function() {
|
|
87145
|
+
return U.some(l8);
|
|
87157
87146
|
}), od = [
|
|
87158
87147
|
Ya("onSpace"),
|
|
87159
87148
|
Ya("onEnter"),
|
|
@@ -87193,11 +87182,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87193
87182
|
Co(ho(ls), v.onSpace),
|
|
87194
87183
|
Co(ho(Qp), v.onEscape)
|
|
87195
87184
|
];
|
|
87196
|
-
},
|
|
87185
|
+
}, f8 = function(a, c, v) {
|
|
87197
87186
|
return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
|
|
87198
|
-
}, l_ = Vu(od, bl.init, y4,
|
|
87187
|
+
}, l_ = Vu(od, bl.init, y4, f8, function(a) {
|
|
87199
87188
|
return a.focusIn;
|
|
87200
|
-
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ =
|
|
87189
|
+
}), 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({
|
|
87201
87190
|
__proto__: null,
|
|
87202
87191
|
acyclic: b4,
|
|
87203
87192
|
cyclic: w4,
|
|
@@ -87232,7 +87221,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87232
87221
|
}
|
|
87233
87222
|
},
|
|
87234
87223
|
state: dh
|
|
87235
|
-
}),
|
|
87224
|
+
}), d8 = function(a, c, v, b) {
|
|
87236
87225
|
J0(function() {
|
|
87237
87226
|
var x = Ge(b, a.getSystem().build);
|
|
87238
87227
|
Jd(a, x);
|
|
@@ -87260,24 +87249,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87260
87249
|
}, F);
|
|
87261
87250
|
}), D;
|
|
87262
87251
|
});
|
|
87263
|
-
},
|
|
87252
|
+
}, h8 = function(a, c, v, b, x) {
|
|
87264
87253
|
var N = gg(a);
|
|
87265
87254
|
return at(N, b).bind(function(D) {
|
|
87266
87255
|
return E4(a, c, v, D, x);
|
|
87267
87256
|
});
|
|
87268
|
-
},
|
|
87257
|
+
}, v8 = /* @__PURE__ */ Object.freeze({
|
|
87269
87258
|
__proto__: null,
|
|
87270
87259
|
append: au,
|
|
87271
87260
|
prepend: d_,
|
|
87272
87261
|
remove: lf,
|
|
87273
87262
|
replaceAt: E4,
|
|
87274
|
-
replaceBy:
|
|
87275
|
-
set:
|
|
87263
|
+
replaceBy: h8,
|
|
87264
|
+
set: d8,
|
|
87276
87265
|
contents: gg
|
|
87277
87266
|
}), Qr = Fa({
|
|
87278
87267
|
fields: [],
|
|
87279
87268
|
name: "replacing",
|
|
87280
|
-
apis:
|
|
87269
|
+
apis: v8
|
|
87281
87270
|
}), h_ = function(a, c) {
|
|
87282
87271
|
var v = Oo(c);
|
|
87283
87272
|
return Fa({
|
|
@@ -87299,14 +87288,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87299
87288
|
};
|
|
87300
87289
|
}, S4 = function(a, c) {
|
|
87301
87290
|
c.ignore || (zs(a.element), c.onFocus(a));
|
|
87302
|
-
},
|
|
87291
|
+
}, p8 = function(a, c) {
|
|
87303
87292
|
c.ignore || Lw(a.element);
|
|
87304
87293
|
}, _g = function(a) {
|
|
87305
87294
|
return w1(a.element);
|
|
87306
|
-
},
|
|
87295
|
+
}, m8 = /* @__PURE__ */ Object.freeze({
|
|
87307
87296
|
__proto__: null,
|
|
87308
87297
|
focus: S4,
|
|
87309
|
-
blur:
|
|
87298
|
+
blur: p8,
|
|
87310
87299
|
isFocused: _g
|
|
87311
87300
|
}), k4 = function(a, c) {
|
|
87312
87301
|
var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
|
|
@@ -87317,20 +87306,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87317
87306
|
})].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
|
|
87318
87307
|
v.event.prevent();
|
|
87319
87308
|
})] : []));
|
|
87320
|
-
},
|
|
87309
|
+
}, g8 = /* @__PURE__ */ Object.freeze({
|
|
87321
87310
|
__proto__: null,
|
|
87322
87311
|
exhibit: k4,
|
|
87323
87312
|
events: v_
|
|
87324
|
-
}),
|
|
87313
|
+
}), _8 = [
|
|
87325
87314
|
Mo("onFocus"),
|
|
87326
87315
|
Ot("stopMousedown", !1),
|
|
87327
87316
|
Ot("ignore", !1)
|
|
87328
87317
|
], Gr = Fa({
|
|
87329
|
-
fields:
|
|
87318
|
+
fields: _8,
|
|
87330
87319
|
name: "focusing",
|
|
87331
|
-
active:
|
|
87332
|
-
apis:
|
|
87333
|
-
}),
|
|
87320
|
+
active: g8,
|
|
87321
|
+
apis: m8
|
|
87322
|
+
}), y8 = function(a) {
|
|
87334
87323
|
var c = function() {
|
|
87335
87324
|
var v = jn(a), b = function() {
|
|
87336
87325
|
return v.get();
|
|
@@ -87416,7 +87405,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87416
87405
|
name: "toggling",
|
|
87417
87406
|
active: _e,
|
|
87418
87407
|
apis: W,
|
|
87419
|
-
state:
|
|
87408
|
+
state: y8(!1)
|
|
87420
87409
|
}), tn = function() {
|
|
87421
87410
|
var a = function(c, v) {
|
|
87422
87411
|
v.stop(), Nf(c);
|
|
@@ -87660,7 +87649,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87660
87649
|
Ot("fakeFocus", !1),
|
|
87661
87650
|
Ot("focusManager", Qf()),
|
|
87662
87651
|
Mo("onHighlight")
|
|
87663
|
-
]), T4 = V("alloy.menu-focus"),
|
|
87652
|
+
]), T4 = V("alloy.menu-focus"), b8 = function(a, c, v, b) {
|
|
87664
87653
|
return {
|
|
87665
87654
|
uid: a.uid,
|
|
87666
87655
|
dom: a.dom,
|
|
@@ -87703,7 +87692,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87703
87692
|
name: "Menu",
|
|
87704
87693
|
configFields: yg(),
|
|
87705
87694
|
partFields: sf(),
|
|
87706
|
-
factory:
|
|
87695
|
+
factory: b8
|
|
87707
87696
|
}), bg = function(a) {
|
|
87708
87697
|
return da(a, function(c, v) {
|
|
87709
87698
|
return {
|
|
@@ -88071,7 +88060,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88071
88060
|
menus: ge(a, c),
|
|
88072
88061
|
expansions: {}
|
|
88073
88062
|
};
|
|
88074
|
-
},
|
|
88063
|
+
}, w8 = function(a) {
|
|
88075
88064
|
return {
|
|
88076
88065
|
value: Tr(Yx()),
|
|
88077
88066
|
meta: { text: a }
|
|
@@ -88121,7 +88110,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88121
88110
|
extraApis: {
|
|
88122
88111
|
tieredData: Xx,
|
|
88123
88112
|
singleData: kN,
|
|
88124
|
-
collapseItem:
|
|
88113
|
+
collapseItem: w8
|
|
88125
88114
|
}
|
|
88126
88115
|
}), TN = function(a, c, v, b, x) {
|
|
88127
88116
|
var N = function() {
|
|
@@ -88760,7 +88749,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88760
88749
|
}, rE = function(a) {
|
|
88761
88750
|
return a !== "" && ` \f
|
|
88762
88751
|
\r \v`.indexOf(a) !== -1;
|
|
88763
|
-
},
|
|
88752
|
+
}, C8 = function(a, c) {
|
|
88764
88753
|
return a.substring(c.length);
|
|
88765
88754
|
}, gm = function(a, c, v) {
|
|
88766
88755
|
var b;
|
|
@@ -88783,13 +88772,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88783
88772
|
if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
|
|
88784
88773
|
return U.none();
|
|
88785
88774
|
var L = nE(F), G = L.lastIndexOf(v);
|
|
88786
|
-
return G !== 0 ||
|
|
88787
|
-
text:
|
|
88775
|
+
return G !== 0 || C8(L, v).length < b ? U.none() : U.some({
|
|
88776
|
+
text: C8(L, v),
|
|
88788
88777
|
range: F,
|
|
88789
88778
|
triggerChar: v
|
|
88790
88779
|
});
|
|
88791
88780
|
});
|
|
88792
|
-
},
|
|
88781
|
+
}, x8 = function(a, c, v, b) {
|
|
88793
88782
|
return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
|
|
88794
88783
|
return w_(a, c, v, b);
|
|
88795
88784
|
}, function(x) {
|
|
@@ -88798,11 +88787,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88798
88787
|
var D = nE(N);
|
|
88799
88788
|
return U.some({
|
|
88800
88789
|
range: N,
|
|
88801
|
-
text:
|
|
88790
|
+
text: C8(D, v),
|
|
88802
88791
|
triggerChar: v
|
|
88803
88792
|
});
|
|
88804
88793
|
});
|
|
88805
|
-
},
|
|
88794
|
+
}, E8 = function(a, c) {
|
|
88806
88795
|
c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
|
|
88807
88796
|
var v = function(b, x) {
|
|
88808
88797
|
_r(b, lp(), { raw: x });
|
|
@@ -88821,14 +88810,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88821
88810
|
}), c.on("NodeChange", function(b) {
|
|
88822
88811
|
a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
|
|
88823
88812
|
});
|
|
88824
|
-
}, VN = { setup:
|
|
88813
|
+
}, VN = { setup: E8 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
|
|
88825
88814
|
return {
|
|
88826
88815
|
container: a,
|
|
88827
88816
|
offset: c
|
|
88828
88817
|
};
|
|
88829
88818
|
}, oE = function(a) {
|
|
88830
88819
|
return a.nodeType === Nh;
|
|
88831
|
-
},
|
|
88820
|
+
}, S8 = function(a) {
|
|
88832
88821
|
return a.nodeType === Cf;
|
|
88833
88822
|
}, aE = function(a) {
|
|
88834
88823
|
if (oE(a))
|
|
@@ -88837,7 +88826,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88837
88826
|
return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
|
|
88838
88827
|
}, C_ = function(a, c) {
|
|
88839
88828
|
var v = a.childNodes;
|
|
88840
|
-
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 &&
|
|
88829
|
+
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);
|
|
88841
88830
|
}, LN = function(a, c) {
|
|
88842
88831
|
return eE(a, c.container, c.offset, function(v, b) {
|
|
88843
88832
|
return b === 0 ? -1 : b;
|
|
@@ -88852,7 +88841,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88852
88841
|
};
|
|
88853
88842
|
}, zN = function(a, c, v) {
|
|
88854
88843
|
return dn(v.triggerChars, function(b) {
|
|
88855
|
-
return
|
|
88844
|
+
return x8(a, c, b);
|
|
88856
88845
|
});
|
|
88857
88846
|
}, iE = function(a, c) {
|
|
88858
88847
|
var v = c(), b = a.selection.getRng();
|
|
@@ -88926,7 +88915,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88926
88915
|
mo("onAction")
|
|
88927
88916
|
].concat(Eg)), dE = function(a) {
|
|
88928
88917
|
return Vo("toolbarbutton", fE, a);
|
|
88929
|
-
},
|
|
88918
|
+
}, k8 = [Ho("active", !1)].concat(Eg), qN = wt(k8.concat([
|
|
88930
88919
|
Yn("type"),
|
|
88931
88920
|
mo("onAction")
|
|
88932
88921
|
])), hE = function(a) {
|
|
@@ -88947,14 +88936,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88947
88936
|
Ot("primary", !1),
|
|
88948
88937
|
mo("onAction"),
|
|
88949
88938
|
vi("original", z)
|
|
88950
|
-
]),
|
|
88939
|
+
]), T8 = k8.concat([
|
|
88951
88940
|
Ot("type", "contextformbutton"),
|
|
88952
88941
|
Ot("primary", !1),
|
|
88953
88942
|
mo("onAction"),
|
|
88954
88943
|
vi("original", z)
|
|
88955
|
-
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 =
|
|
88944
|
+
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k8.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
|
|
88956
88945
|
contextformbutton: pE,
|
|
88957
|
-
contextformtogglebutton:
|
|
88946
|
+
contextformtogglebutton: T8
|
|
88958
88947
|
}), XN = wt([
|
|
88959
88948
|
Ot("type", "contextform"),
|
|
88960
88949
|
Qo("initValue", function() {
|
|
@@ -88997,18 +88986,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88997
88986
|
triggerChars: b,
|
|
88998
88987
|
lookupByChar: N
|
|
88999
88988
|
};
|
|
89000
|
-
},
|
|
88989
|
+
}, N8;
|
|
89001
88990
|
(function(a) {
|
|
89002
88991
|
a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
|
|
89003
|
-
})(
|
|
89004
|
-
var uf =
|
|
88992
|
+
})(N8 || (N8 = {}));
|
|
88993
|
+
var uf = N8, Sg = "tox-menu-nav__js", A8 = "tox-collection__item", I8 = "tox-swatch", D8 = {
|
|
89005
88994
|
normal: Sg,
|
|
89006
|
-
color:
|
|
89007
|
-
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon",
|
|
89008
|
-
return cr(
|
|
88995
|
+
color: I8
|
|
88996
|
+
}, 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) {
|
|
88997
|
+
return cr(D8, a).getOr(Sg);
|
|
89009
88998
|
}, cA = function(a) {
|
|
89010
88999
|
return a === "color" ? "tox-swatches" : "tox-menu";
|
|
89011
|
-
},
|
|
89000
|
+
}, P8 = function(a) {
|
|
89012
89001
|
return {
|
|
89013
89002
|
backgroundMenu: "tox-background-menu",
|
|
89014
89003
|
selectedMenu: "tox-selected-menu",
|
|
@@ -89018,7 +89007,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89018
89007
|
tieredMenu: "tox-tiered-menu"
|
|
89019
89008
|
};
|
|
89020
89009
|
}, kg = function(a) {
|
|
89021
|
-
var c =
|
|
89010
|
+
var c = P8(a);
|
|
89022
89011
|
return {
|
|
89023
89012
|
backgroundMenu: c.backgroundMenu,
|
|
89024
89013
|
selectedMenu: c.selectedMenu,
|
|
@@ -89027,7 +89016,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89027
89016
|
item: CE(a)
|
|
89028
89017
|
};
|
|
89029
89018
|
}, fA = function(a, c, v) {
|
|
89030
|
-
var b =
|
|
89019
|
+
var b = P8(v);
|
|
89031
89020
|
return {
|
|
89032
89021
|
tag: "div",
|
|
89033
89022
|
classes: zt([
|
|
@@ -89038,8 +89027,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89038
89027
|
a ? [b.hasIcons] : []
|
|
89039
89028
|
])
|
|
89040
89029
|
};
|
|
89041
|
-
},
|
|
89042
|
-
var b =
|
|
89030
|
+
}, M8 = [id.parts.items({})], B4 = function(a, c, v) {
|
|
89031
|
+
var b = P8(v), x = {
|
|
89043
89032
|
tag: "div",
|
|
89044
89033
|
classes: zt([[b.tieredMenu]])
|
|
89045
89034
|
};
|
|
@@ -89047,7 +89036,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89047
89036
|
dom: x,
|
|
89048
89037
|
markers: kg(v)
|
|
89049
89038
|
};
|
|
89050
|
-
},
|
|
89039
|
+
}, R8 = function(a, c) {
|
|
89051
89040
|
return function(v) {
|
|
89052
89041
|
var b = me(v, c);
|
|
89053
89042
|
return Ge(b, function(x) {
|
|
@@ -89072,7 +89061,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89072
89061
|
classes: ["tox-swatches"]
|
|
89073
89062
|
},
|
|
89074
89063
|
components: [id.parts.items({
|
|
89075
|
-
preprocess: a !== "auto" ?
|
|
89064
|
+
preprocess: a !== "auto" ? R8({
|
|
89076
89065
|
tag: "div",
|
|
89077
89066
|
classes: ["tox-swatches__row"]
|
|
89078
89067
|
}, a) : z
|
|
@@ -89091,7 +89080,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89091
89080
|
]
|
|
89092
89081
|
},
|
|
89093
89082
|
components: [id.parts.items({
|
|
89094
|
-
preprocess:
|
|
89083
|
+
preprocess: R8({
|
|
89095
89084
|
tag: "div",
|
|
89096
89085
|
classes: ["tox-collection__group"]
|
|
89097
89086
|
}, a)
|
|
@@ -89110,7 +89099,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89110
89099
|
components: x
|
|
89111
89100
|
};
|
|
89112
89101
|
});
|
|
89113
|
-
}, $
|
|
89102
|
+
}, $8 = function(a, c, v) {
|
|
89114
89103
|
return {
|
|
89115
89104
|
dom: {
|
|
89116
89105
|
tag: "div",
|
|
@@ -89121,7 +89110,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89121
89110
|
},
|
|
89122
89111
|
components: [id.parts.items({
|
|
89123
89112
|
preprocess: function(b) {
|
|
89124
|
-
return a !== "auto" && a > 1 ?
|
|
89113
|
+
return a !== "auto" && a > 1 ? R8({
|
|
89125
89114
|
tag: "div",
|
|
89126
89115
|
classes: ["tox-collection__group"]
|
|
89127
89116
|
}, a)(b) : xE(b, function(x, N) {
|
|
@@ -89161,7 +89150,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89161
89150
|
components: N.components,
|
|
89162
89151
|
items: v
|
|
89163
89152
|
};
|
|
89164
|
-
},
|
|
89153
|
+
}, F8 = function(a, c, v, b, x) {
|
|
89165
89154
|
if (x === "color") {
|
|
89166
89155
|
var N = dA(b);
|
|
89167
89156
|
return {
|
|
@@ -89172,7 +89161,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89172
89161
|
};
|
|
89173
89162
|
}
|
|
89174
89163
|
if (x === "normal" && b === "auto") {
|
|
89175
|
-
var N = $
|
|
89164
|
+
var N = $8(b, v);
|
|
89176
89165
|
return {
|
|
89177
89166
|
value: a,
|
|
89178
89167
|
dom: N.dom,
|
|
@@ -89181,7 +89170,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89181
89170
|
};
|
|
89182
89171
|
}
|
|
89183
89172
|
if (x === "normal" && b === 1) {
|
|
89184
|
-
var N = $
|
|
89173
|
+
var N = $8(1, v);
|
|
89185
89174
|
return {
|
|
89186
89175
|
value: a,
|
|
89187
89176
|
dom: N.dom,
|
|
@@ -89190,7 +89179,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89190
89179
|
};
|
|
89191
89180
|
}
|
|
89192
89181
|
if (x === "normal") {
|
|
89193
|
-
var N = $
|
|
89182
|
+
var N = $8(b, v);
|
|
89194
89183
|
return {
|
|
89195
89184
|
value: a,
|
|
89196
89185
|
dom: N.dom,
|
|
@@ -89210,15 +89199,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89210
89199
|
return {
|
|
89211
89200
|
value: a,
|
|
89212
89201
|
dom: fA(c, b, x),
|
|
89213
|
-
components:
|
|
89202
|
+
components: M8,
|
|
89214
89203
|
items: v
|
|
89215
89204
|
};
|
|
89216
|
-
},
|
|
89205
|
+
}, V8 = [
|
|
89217
89206
|
Yn("type"),
|
|
89218
89207
|
Yn("src"),
|
|
89219
89208
|
jo("alt"),
|
|
89220
89209
|
mu("classes", [], Ut)
|
|
89221
|
-
], mA = wt(
|
|
89210
|
+
], mA = wt(V8), gA = [
|
|
89222
89211
|
Yn("type"),
|
|
89223
89212
|
Yn("text"),
|
|
89224
89213
|
jo("name"),
|
|
@@ -89266,9 +89255,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89266
89255
|
Yn("type"),
|
|
89267
89256
|
So("fancytype", EE),
|
|
89268
89257
|
Qo("onAction", R)
|
|
89269
|
-
]),
|
|
89258
|
+
]), L8 = function(a) {
|
|
89270
89259
|
return Vo("fancymenuitem", EA, a);
|
|
89271
|
-
},
|
|
89260
|
+
}, U8 = wt([
|
|
89272
89261
|
Yn("type"),
|
|
89273
89262
|
Qo("onSetup", function() {
|
|
89274
89263
|
return R;
|
|
@@ -89276,8 +89265,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89276
89265
|
Qo("onAction", R),
|
|
89277
89266
|
jo("icon")
|
|
89278
89267
|
].concat(Pv)), SE = function(a) {
|
|
89279
|
-
return Vo("menuitem",
|
|
89280
|
-
},
|
|
89268
|
+
return Vo("menuitem", U8, a);
|
|
89269
|
+
}, z8 = wt([
|
|
89281
89270
|
Yn("type"),
|
|
89282
89271
|
mo("getSubmenuItems"),
|
|
89283
89272
|
Qo("onSetup", function() {
|
|
@@ -89285,7 +89274,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89285
89274
|
}),
|
|
89286
89275
|
jo("icon")
|
|
89287
89276
|
].concat(Pv)), kE = function(a) {
|
|
89288
|
-
return Vo("nestedmenuitem",
|
|
89277
|
+
return Vo("nestedmenuitem", z8, a);
|
|
89289
89278
|
}, TE = wt([
|
|
89290
89279
|
Yn("type"),
|
|
89291
89280
|
jo("icon"),
|
|
@@ -89392,7 +89381,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89392
89381
|
})
|
|
89393
89382
|
]
|
|
89394
89383
|
]));
|
|
89395
|
-
},
|
|
89384
|
+
}, H8 = /* @__PURE__ */ Object.freeze({
|
|
89396
89385
|
__proto__: null,
|
|
89397
89386
|
events: OE
|
|
89398
89387
|
}), TA = [
|
|
@@ -89431,7 +89420,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89431
89420
|
}),
|
|
89432
89421
|
Mo("onHide"),
|
|
89433
89422
|
Mo("onShow")
|
|
89434
|
-
],
|
|
89423
|
+
], W8 = function() {
|
|
89435
89424
|
var a = jn(U.none()), c = jn(U.none()), v = function() {
|
|
89436
89425
|
return c.get();
|
|
89437
89426
|
}, b = function(G) {
|
|
@@ -89458,14 +89447,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89458
89447
|
resetTimer: D,
|
|
89459
89448
|
readState: L
|
|
89460
89449
|
});
|
|
89461
|
-
},
|
|
89450
|
+
}, j8 = /* @__PURE__ */ Object.freeze({
|
|
89462
89451
|
__proto__: null,
|
|
89463
|
-
init:
|
|
89452
|
+
init: W8
|
|
89464
89453
|
}), BE = Fa({
|
|
89465
89454
|
fields: TA,
|
|
89466
89455
|
name: "tooltipping",
|
|
89467
|
-
active:
|
|
89468
|
-
state:
|
|
89456
|
+
active: H8,
|
|
89457
|
+
state: j8,
|
|
89469
89458
|
apis: DE
|
|
89470
89459
|
}), PE = function(a) {
|
|
89471
89460
|
return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -89475,9 +89464,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89475
89464
|
"textarea",
|
|
89476
89465
|
"select"
|
|
89477
89466
|
], ME = function(a, c, v) {
|
|
89478
|
-
var b = c.disabled() ? F4 :
|
|
89467
|
+
var b = c.disabled() ? F4 : q8;
|
|
89479
89468
|
b(a, c);
|
|
89480
|
-
},
|
|
89469
|
+
}, G8 = function(a, c) {
|
|
89481
89470
|
return c.useNative === !0 && Le(NA, bs(a.element));
|
|
89482
89471
|
}, AA = function(a) {
|
|
89483
89472
|
return yy(a.element, "disabled");
|
|
@@ -89495,26 +89484,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89495
89484
|
c.disableClass.each(function(x) {
|
|
89496
89485
|
ta(a.element, x);
|
|
89497
89486
|
});
|
|
89498
|
-
var b =
|
|
89487
|
+
var b = G8(a, c) ? IA : $4;
|
|
89499
89488
|
b(a), c.onDisabled(a);
|
|
89500
|
-
},
|
|
89489
|
+
}, q8 = function(a, c, v) {
|
|
89501
89490
|
c.disableClass.each(function(x) {
|
|
89502
89491
|
Sa(a.element, x);
|
|
89503
89492
|
});
|
|
89504
|
-
var b =
|
|
89493
|
+
var b = G8(a, c) ? DA : RE;
|
|
89505
89494
|
b(a), c.onEnabled(a);
|
|
89506
89495
|
}, $E = function(a, c) {
|
|
89507
|
-
return
|
|
89508
|
-
},
|
|
89509
|
-
var x = b ? F4 :
|
|
89496
|
+
return G8(a, c) ? AA(a) : OA(a);
|
|
89497
|
+
}, K8 = function(a, c, v, b) {
|
|
89498
|
+
var x = b ? F4 : q8;
|
|
89510
89499
|
x(a, c);
|
|
89511
|
-
},
|
|
89500
|
+
}, Y8 = /* @__PURE__ */ Object.freeze({
|
|
89512
89501
|
__proto__: null,
|
|
89513
|
-
enable:
|
|
89502
|
+
enable: q8,
|
|
89514
89503
|
disable: F4,
|
|
89515
89504
|
isDisabled: $E,
|
|
89516
89505
|
onLoad: ME,
|
|
89517
|
-
set:
|
|
89506
|
+
set: K8
|
|
89518
89507
|
}), FE = function(a, c) {
|
|
89519
89508
|
return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
|
|
89520
89509
|
}, VE = function(a, c) {
|
|
@@ -89538,7 +89527,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89538
89527
|
fields: BA,
|
|
89539
89528
|
name: "disabling",
|
|
89540
89529
|
active: LE,
|
|
89541
|
-
apis:
|
|
89530
|
+
apis: Y8
|
|
89542
89531
|
}), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
|
|
89543
89532
|
var c = a.getParam("skin"), v = a.getParam("skin_url");
|
|
89544
89533
|
if (c !== !1) {
|
|
@@ -89560,17 +89549,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89560
89549
|
return U.from(a.getParam("min_height")).filter(O);
|
|
89561
89550
|
}, L4 = function(a) {
|
|
89562
89551
|
return U.from(a.getParam("max_width")).filter(O);
|
|
89563
|
-
},
|
|
89552
|
+
}, X8 = function(a) {
|
|
89564
89553
|
return U.from(a.getParam("max_height")).filter(O);
|
|
89565
89554
|
}, jE = function(a) {
|
|
89566
89555
|
return U.from(a.getParam("style_formats")).filter(d);
|
|
89567
|
-
},
|
|
89556
|
+
}, J8 = function(a) {
|
|
89568
89557
|
return a.getParam("style_formats_merge", !1, "boolean");
|
|
89569
89558
|
}, GE = function(a) {
|
|
89570
89559
|
return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
|
|
89571
89560
|
}, MA = function(a) {
|
|
89572
89561
|
return a.getParam("removed_menuitems", "");
|
|
89573
|
-
},
|
|
89562
|
+
}, Z8 = function(a) {
|
|
89574
89563
|
return a.getParam("menubar", !0, "boolean") !== !1;
|
|
89575
89564
|
}, Ag = function(a) {
|
|
89576
89565
|
var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
|
|
@@ -89599,10 +89588,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89599
89588
|
})(bm || (bm = {}));
|
|
89600
89589
|
var RA = function(a) {
|
|
89601
89590
|
return a.getParam("toolbar_groups", {}, "object");
|
|
89602
|
-
},
|
|
89591
|
+
}, Q8 = function(a) {
|
|
89603
89592
|
return a.getParam("toolbar_location", bm.auto, "string");
|
|
89604
|
-
},
|
|
89605
|
-
return
|
|
89593
|
+
}, e6 = function(a) {
|
|
89594
|
+
return Q8(a) === bm.bottom;
|
|
89606
89595
|
}, $A = function(a) {
|
|
89607
89596
|
return a.getParam("fixed_toolbar_container", "", "string");
|
|
89608
89597
|
}, FA = function(a) {
|
|
@@ -89624,14 +89613,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89624
89613
|
return c.getOrThunk(function() {
|
|
89625
89614
|
return Nd(mi(rr.fromDom(a.getElement())));
|
|
89626
89615
|
});
|
|
89627
|
-
},
|
|
89628
|
-
return a.inline && !
|
|
89616
|
+
}, t6 = function(a) {
|
|
89617
|
+
return a.inline && !Z8(a) && !Ag(a) && !k_(a);
|
|
89629
89618
|
}, z4 = function(a) {
|
|
89630
89619
|
var c = a.getParam("toolbar_sticky", !1, "boolean");
|
|
89631
|
-
return (c || a.inline) && !U4(a) && !
|
|
89620
|
+
return (c || a.inline) && !U4(a) && !t6(a);
|
|
89632
89621
|
}, LA = function(a) {
|
|
89633
89622
|
return a.getParam("draggable_modal", !1, "boolean");
|
|
89634
|
-
},
|
|
89623
|
+
}, n6 = function(a) {
|
|
89635
89624
|
var c = a.getParam("menu");
|
|
89636
89625
|
return c ? Vr(c, function(v) {
|
|
89637
89626
|
return ve(ve({}, v), { items: v.items });
|
|
@@ -89650,9 +89639,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89650
89639
|
return a.getParam("typeahead_urls") === !1;
|
|
89651
89640
|
}, qA = function(a) {
|
|
89652
89641
|
return a.getParam("anchor_top", "#top");
|
|
89653
|
-
},
|
|
89642
|
+
}, r6 = function(a) {
|
|
89654
89643
|
return a.getParam("anchor_bottom", "#bottom");
|
|
89655
|
-
},
|
|
89644
|
+
}, o6 = function(a) {
|
|
89656
89645
|
var c = a.getParam("file_picker_validator_handler", void 0, "function");
|
|
89657
89646
|
return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
|
|
89658
89647
|
}, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
|
|
@@ -89714,16 +89703,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89714
89703
|
return ts(function(v) {
|
|
89715
89704
|
return W4(a, v)(c.get());
|
|
89716
89705
|
});
|
|
89717
|
-
},
|
|
89706
|
+
}, a6, XA = function(a, c) {
|
|
89718
89707
|
return tc(function(v, b) {
|
|
89719
89708
|
W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
|
|
89720
89709
|
});
|
|
89721
|
-
}, JA = (
|
|
89710
|
+
}, JA = (a6 = {}, a6[Pl()] = [
|
|
89722
89711
|
"disabling",
|
|
89723
89712
|
"alloy.base.behaviour",
|
|
89724
89713
|
"toggling",
|
|
89725
89714
|
"item-events"
|
|
89726
|
-
],
|
|
89715
|
+
], a6), Ig = function(a) {
|
|
89727
89716
|
return Pt(a, function(c) {
|
|
89728
89717
|
return c.toArray();
|
|
89729
89718
|
});
|
|
@@ -89754,7 +89743,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89754
89743
|
value: a.value,
|
|
89755
89744
|
meta: ve({ text: a.text.getOr("") }, a.meta)
|
|
89756
89745
|
};
|
|
89757
|
-
},
|
|
89746
|
+
}, i6 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
|
|
89758
89747
|
var c = {
|
|
89759
89748
|
alt: "⌥",
|
|
89760
89749
|
ctrl: "⌃",
|
|
@@ -89764,11 +89753,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89764
89753
|
}, v = {
|
|
89765
89754
|
meta: "Ctrl",
|
|
89766
89755
|
access: "Shift+Alt"
|
|
89767
|
-
}, b =
|
|
89756
|
+
}, b = i6.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
|
|
89768
89757
|
var F = D.toLowerCase().trim();
|
|
89769
89758
|
return Po(b, F) ? b[F] : D;
|
|
89770
89759
|
});
|
|
89771
|
-
return
|
|
89760
|
+
return i6.mac ? N.join("") : N.join("+");
|
|
89772
89761
|
}, ZA = function(a) {
|
|
89773
89762
|
return {
|
|
89774
89763
|
dom: {
|
|
@@ -89781,7 +89770,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89781
89770
|
return {
|
|
89782
89771
|
dom: {
|
|
89783
89772
|
tag: "div",
|
|
89784
|
-
classes: [
|
|
89773
|
+
classes: [O8]
|
|
89785
89774
|
},
|
|
89786
89775
|
components: [Vf(Lu.translate(a))]
|
|
89787
89776
|
};
|
|
@@ -89797,7 +89786,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89797
89786
|
return {
|
|
89798
89787
|
dom: {
|
|
89799
89788
|
tag: "div",
|
|
89800
|
-
classes: [
|
|
89789
|
+
classes: [O8]
|
|
89801
89790
|
},
|
|
89802
89791
|
components: [{
|
|
89803
89792
|
dom: {
|
|
@@ -89840,7 +89829,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89840
89829
|
}
|
|
89841
89830
|
};
|
|
89842
89831
|
}, tI = function(a, c) {
|
|
89843
|
-
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA :
|
|
89832
|
+
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B8, x = function() {
|
|
89844
89833
|
switch (a.valign) {
|
|
89845
89834
|
case "top":
|
|
89846
89835
|
return sA;
|
|
@@ -89875,7 +89864,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89875
89864
|
};
|
|
89876
89865
|
}, rI = function(a, c, v, b) {
|
|
89877
89866
|
var x = "custom", N = "remove", D = function() {
|
|
89878
|
-
var F =
|
|
89867
|
+
var F = I8, L = v.getOr(""), G = a.map(function(ee) {
|
|
89879
89868
|
return { title: b.translate(ee) };
|
|
89880
89869
|
}).getOr({}), Z = {
|
|
89881
89870
|
tag: "div",
|
|
@@ -89906,14 +89895,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89906
89895
|
tag: "div",
|
|
89907
89896
|
classes: [
|
|
89908
89897
|
Sg,
|
|
89909
|
-
|
|
89898
|
+
A8
|
|
89910
89899
|
].concat(a ? [aA] : [])
|
|
89911
89900
|
}, v);
|
|
89912
|
-
},
|
|
89901
|
+
}, l6 = function(a, c, v, b, x) {
|
|
89913
89902
|
var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
|
|
89914
89903
|
return a.textContent.map(b);
|
|
89915
89904
|
}, function(G) {
|
|
89916
|
-
return U.some(tS(G, [
|
|
89905
|
+
return U.some(tS(G, [O8]));
|
|
89917
89906
|
}), L = {
|
|
89918
89907
|
dom: oS(x, a.ariaLabel),
|
|
89919
89908
|
optComponents: [
|
|
@@ -89951,8 +89940,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89951
89940
|
}, function(L) {
|
|
89952
89941
|
return Po(L, "style") ? re(QA, L.style) : eS;
|
|
89953
89942
|
});
|
|
89954
|
-
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) :
|
|
89955
|
-
},
|
|
89943
|
+
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l6(a, D, v, F, N);
|
|
89944
|
+
}, s6 = function(a, c) {
|
|
89956
89945
|
return cr(a, "tooltipWorker").map(function(v) {
|
|
89957
89946
|
return [BE.config({
|
|
89958
89947
|
lazySink: c.getSink,
|
|
@@ -90011,7 +90000,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90011
90000
|
},
|
|
90012
90001
|
onSetup: V(R),
|
|
90013
90002
|
triggersSubmenu: !1,
|
|
90014
|
-
itemBehaviours:
|
|
90003
|
+
itemBehaviours: s6(a.meta, D)
|
|
90015
90004
|
}, L, N, D.providers);
|
|
90016
90005
|
}, sS = function(a, c) {
|
|
90017
90006
|
return Ge(a, function(v) {
|
|
@@ -90110,17 +90099,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90110
90099
|
selected: a.active
|
|
90111
90100
|
}
|
|
90112
90101
|
});
|
|
90113
|
-
},
|
|
90102
|
+
}, u6 = Kp(ll(), qi()), uS = function(a) {
|
|
90114
90103
|
return { value: a };
|
|
90115
90104
|
}, 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) {
|
|
90116
90105
|
return cS.test(a) || fS.test(a);
|
|
90117
|
-
},
|
|
90106
|
+
}, c6 = function(a) {
|
|
90118
90107
|
var c = a.value.replace(cS, function(v, b, x, N) {
|
|
90119
90108
|
return b + b + x + x + N + N;
|
|
90120
90109
|
});
|
|
90121
90110
|
return { value: c };
|
|
90122
|
-
},
|
|
90123
|
-
var c =
|
|
90111
|
+
}, f6 = function(a) {
|
|
90112
|
+
var c = c6(a), v = fS.exec(c.value);
|
|
90124
90113
|
return v === null ? [
|
|
90125
90114
|
"FFFFFF",
|
|
90126
90115
|
"FF",
|
|
@@ -90133,14 +90122,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90133
90122
|
}, G4 = function(a) {
|
|
90134
90123
|
var c = D_(a.red) + D_(a.green) + D_(a.blue);
|
|
90135
90124
|
return uS(c);
|
|
90136
|
-
}, dS = Math.min, hS = Math.max, Cm = Math.round,
|
|
90125
|
+
}, 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) {
|
|
90137
90126
|
return {
|
|
90138
90127
|
red: a,
|
|
90139
90128
|
green: c,
|
|
90140
90129
|
blue: v,
|
|
90141
90130
|
alpha: b
|
|
90142
90131
|
};
|
|
90143
|
-
},
|
|
90132
|
+
}, h6 = function(a) {
|
|
90144
90133
|
var c = parseInt(a, 10);
|
|
90145
90134
|
return c.toString() === a && c >= 0 && c <= 255;
|
|
90146
90135
|
}, vS = function(a) {
|
|
@@ -90172,7 +90161,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90172
90161
|
}
|
|
90173
90162
|
return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
|
|
90174
90163
|
}, O_ = function(a) {
|
|
90175
|
-
var c =
|
|
90164
|
+
var c = f6(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
|
|
90176
90165
|
return Mv(v, b, x, 1);
|
|
90177
90166
|
}, pS = function(a, c, v, b) {
|
|
90178
90167
|
var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
|
|
@@ -90180,7 +90169,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90180
90169
|
}, uI = function(a) {
|
|
90181
90170
|
if (a === "transparent")
|
|
90182
90171
|
return U.some(Mv(0, 0, 0, 0));
|
|
90183
|
-
var c =
|
|
90172
|
+
var c = d6.exec(a);
|
|
90184
90173
|
if (c !== null)
|
|
90185
90174
|
return U.some(pS(c[1], c[2], c[3], "1"));
|
|
90186
90175
|
var v = q4.exec(a);
|
|
@@ -90193,7 +90182,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90193
90182
|
return a.fire("SkinLoadError", c);
|
|
90194
90183
|
}, dI = function(a) {
|
|
90195
90184
|
return a.fire("ResizeEditor");
|
|
90196
|
-
},
|
|
90185
|
+
}, v6 = function(a, c) {
|
|
90197
90186
|
return a.fire("ResizeContent", c);
|
|
90198
90187
|
}, hI = function(a, c) {
|
|
90199
90188
|
return a.fire("ScrollContent", c);
|
|
@@ -90328,7 +90317,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90328
90317
|
text: "White",
|
|
90329
90318
|
value: "#ffffff"
|
|
90330
90319
|
}
|
|
90331
|
-
], yS = pI(10),
|
|
90320
|
+
], yS = pI(10), p6 = function(a) {
|
|
90332
90321
|
var c = [], v = document.createElement("canvas");
|
|
90333
90322
|
v.height = 1, v.width = 1;
|
|
90334
90323
|
for (var b = v.getContext("2d"), x = function(F, L) {
|
|
@@ -90353,9 +90342,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90353
90342
|
return a.getParam("custom_colors") !== !1;
|
|
90354
90343
|
}, gI = function(a) {
|
|
90355
90344
|
return a.getParam("color_map");
|
|
90356
|
-
},
|
|
90345
|
+
}, m6 = function(a) {
|
|
90357
90346
|
var c = gI(a);
|
|
90358
|
-
return c !== void 0 ?
|
|
90347
|
+
return c !== void 0 ? p6(c) : mI;
|
|
90359
90348
|
}, _I = function() {
|
|
90360
90349
|
return Ge(yS.state(), function(a) {
|
|
90361
90350
|
return {
|
|
@@ -90389,7 +90378,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90389
90378
|
}, xI = function(a) {
|
|
90390
90379
|
return Math.max(5, Math.ceil(Math.sqrt(a)));
|
|
90391
90380
|
}, CS = function(a) {
|
|
90392
|
-
var c =
|
|
90381
|
+
var c = m6(a), v = xI(c.length);
|
|
90393
90382
|
return Xi(a, v);
|
|
90394
90383
|
}, EI = function(a) {
|
|
90395
90384
|
var c = "choiceitem", v = {
|
|
@@ -90407,7 +90396,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90407
90396
|
v,
|
|
90408
90397
|
b
|
|
90409
90398
|
] : [v];
|
|
90410
|
-
},
|
|
90399
|
+
}, g6 = function(a, c, v, b) {
|
|
90411
90400
|
if (v === "custom") {
|
|
90412
90401
|
var x = NS(a);
|
|
90413
90402
|
x(function(N) {
|
|
@@ -90441,12 +90430,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90441
90430
|
}).getOr(!1);
|
|
90442
90431
|
},
|
|
90443
90432
|
columns: CS(a),
|
|
90444
|
-
fetch: ES(
|
|
90433
|
+
fetch: ES(m6(a), bS(a)),
|
|
90445
90434
|
onAction: function(N) {
|
|
90446
|
-
x.get() !== null &&
|
|
90435
|
+
x.get() !== null && g6(a, v, x.get(), R);
|
|
90447
90436
|
},
|
|
90448
90437
|
onItemAction: function(N, D) {
|
|
90449
|
-
|
|
90438
|
+
g6(a, v, D, function(F) {
|
|
90450
90439
|
x.set(F), vI(a, {
|
|
90451
90440
|
name: c,
|
|
90452
90441
|
color: F
|
|
@@ -90472,7 +90461,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90472
90461
|
type: "fancymenuitem",
|
|
90473
90462
|
fancytype: "colorswatch",
|
|
90474
90463
|
onAction: function(x) {
|
|
90475
|
-
|
|
90464
|
+
g6(a, v, x.value, R);
|
|
90476
90465
|
}
|
|
90477
90466
|
}];
|
|
90478
90467
|
}
|
|
@@ -90525,9 +90514,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90525
90514
|
CI(a);
|
|
90526
90515
|
var c = jn(null), v = jn(null);
|
|
90527
90516
|
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");
|
|
90528
|
-
},
|
|
90517
|
+
}, _6 = function(a, c, v, b, x, N, D, F) {
|
|
90529
90518
|
var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
|
|
90530
|
-
return
|
|
90519
|
+
return F8(a, L, Z, b, x);
|
|
90531
90520
|
}, kI = function(a, c, v, b, x, N, D) {
|
|
90532
90521
|
return sh(Ge(a, function(F) {
|
|
90533
90522
|
return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
|
|
@@ -90571,11 +90560,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90571
90560
|
mode: "matrix",
|
|
90572
90561
|
selectors: {
|
|
90573
90562
|
row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
|
|
90574
|
-
cell: c === "color" ? "." +
|
|
90563
|
+
cell: c === "color" ? "." + I8 : "." + A8
|
|
90575
90564
|
}
|
|
90576
90565
|
};
|
|
90577
90566
|
}, NI = function(a, c) {
|
|
90578
|
-
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N =
|
|
90567
|
+
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _6(Tr("menu-value"), v, function(F) {
|
|
90579
90568
|
a.onAction({ value: F });
|
|
90580
90569
|
}, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
|
|
90581
90570
|
markers: kg(x),
|
|
@@ -90589,16 +90578,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90589
90578
|
classes: ["tox-fancymenuitem"]
|
|
90590
90579
|
},
|
|
90591
90580
|
autofocus: !0,
|
|
90592
|
-
components: [
|
|
90581
|
+
components: [u6.widget(id.sketch(D))]
|
|
90593
90582
|
};
|
|
90594
|
-
}, AS = Tr("cell-over"),
|
|
90583
|
+
}, AS = Tr("cell-over"), y6 = Tr("cell-execute"), AI = function(a, c, v) {
|
|
90595
90584
|
var b, x = function(F) {
|
|
90596
90585
|
return _r(F, AS, {
|
|
90597
90586
|
row: a,
|
|
90598
90587
|
col: c
|
|
90599
90588
|
});
|
|
90600
90589
|
}, N = function(F) {
|
|
90601
|
-
return _r(F,
|
|
90590
|
+
return _r(F, y6, {
|
|
90602
90591
|
row: a,
|
|
90603
90592
|
col: c
|
|
90604
90593
|
});
|
|
@@ -90659,7 +90648,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90659
90648
|
classes: ["tox-fancymenuitem"]
|
|
90660
90649
|
},
|
|
90661
90650
|
autofocus: !0,
|
|
90662
|
-
components: [
|
|
90651
|
+
components: [u6.widget({
|
|
90663
90652
|
dom: {
|
|
90664
90653
|
tag: "div",
|
|
90665
90654
|
classes: ["tox-insert-table-picker"]
|
|
@@ -90671,7 +90660,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90671
90660
|
var G = L.event.row, Z = L.event.col;
|
|
90672
90661
|
DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
|
|
90673
90662
|
}),
|
|
90674
|
-
Fs(
|
|
90663
|
+
Fs(y6, function(D, F, L) {
|
|
90675
90664
|
a.onAction({
|
|
90676
90665
|
numRows: L.event.row + 1,
|
|
90677
90666
|
numColumns: L.event.col + 1
|
|
@@ -90769,7 +90758,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90769
90758
|
dom: ve({
|
|
90770
90759
|
tag: "div",
|
|
90771
90760
|
classes: [
|
|
90772
|
-
|
|
90761
|
+
A8,
|
|
90773
90762
|
tA
|
|
90774
90763
|
]
|
|
90775
90764
|
}, c),
|
|
@@ -90847,7 +90836,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90847
90836
|
return U.some(MS(F));
|
|
90848
90837
|
});
|
|
90849
90838
|
case "fancymenuitem":
|
|
90850
|
-
return
|
|
90839
|
+
return L8(a).fold(mh, function(F) {
|
|
90851
90840
|
return UI(D(F), v);
|
|
90852
90841
|
});
|
|
90853
90842
|
default:
|
|
@@ -90868,7 +90857,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90868
90857
|
Z.onAction(ee), v(Z.value, Z.meta);
|
|
90869
90858
|
}
|
|
90870
90859
|
}), x, N, {
|
|
90871
|
-
itemBehaviours:
|
|
90860
|
+
itemBehaviours: s6(Z.meta, N),
|
|
90872
90861
|
cardText: {
|
|
90873
90862
|
matchText: c,
|
|
90874
90863
|
highlightOn: D
|
|
@@ -90882,7 +90871,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90882
90871
|
});
|
|
90883
90872
|
}
|
|
90884
90873
|
}));
|
|
90885
|
-
},
|
|
90874
|
+
}, b6 = function(a, c, v, b, x) {
|
|
90886
90875
|
var N = P4(c), D = sh(Ge(c, function(L) {
|
|
90887
90876
|
var G = function(ee) {
|
|
90888
90877
|
return x ? !ee.hasOwnProperty("text") : N;
|
|
@@ -90890,7 +90879,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90890
90879
|
return RS(ee, v, b, G(ee), x);
|
|
90891
90880
|
};
|
|
90892
90881
|
return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
|
|
90893
|
-
})), F = x ? pA :
|
|
90882
|
+
})), F = x ? pA : F8;
|
|
90894
90883
|
return F(a, N, D, 1, "normal");
|
|
90895
90884
|
}, $S = function(a) {
|
|
90896
90885
|
return hm.singleData(a.value, a);
|
|
@@ -90915,7 +90904,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90915
90904
|
});
|
|
90916
90905
|
})])
|
|
90917
90906
|
};
|
|
90918
|
-
},
|
|
90907
|
+
}, w6 = function(a, c) {
|
|
90919
90908
|
var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
|
|
90920
90909
|
dom: {
|
|
90921
90910
|
tag: "div",
|
|
@@ -90950,7 +90939,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90950
90939
|
var jt = rn.items;
|
|
90951
90940
|
return HI(jt, rn.matchText, function(nn, Kt) {
|
|
90952
90941
|
var En = a.selection.getRng();
|
|
90953
|
-
|
|
90942
|
+
x8(a.dom, En, qe).fold(function() {
|
|
90954
90943
|
return console.error("Lost context. Cursor probably moved");
|
|
90955
90944
|
}, function(wr) {
|
|
90956
90945
|
var Jn = wr.range, fn = {
|
|
@@ -90983,10 +90972,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90983
90972
|
anchor: "node",
|
|
90984
90973
|
root: rr.fromDom(a.getBody()),
|
|
90985
90974
|
node: U.from(qe.element)
|
|
90986
|
-
}, id.sketch(WI(
|
|
90975
|
+
}, id.sketch(WI(F8("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
|
|
90987
90976
|
}, Te = function(qe) {
|
|
90988
90977
|
return v.get().map(function(St) {
|
|
90989
|
-
return
|
|
90978
|
+
return x8(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
|
|
90990
90979
|
return lE(a, G, At, qe);
|
|
90991
90980
|
});
|
|
90992
90981
|
}).getOrThunk(function() {
|
|
@@ -91017,7 +91006,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
91017
91006
|
}
|
|
91018
91007
|
};
|
|
91019
91008
|
a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
|
|
91020
|
-
}, jI = { register:
|
|
91009
|
+
}, jI = { register: w6 }, FS = Pe, Tc = function(a, c, v) {
|
|
91021
91010
|
return D0(a, c, FS, v);
|
|
91022
91011
|
}, P_ = function(a, c, v) {
|
|
91023
91012
|
return Nw(a, c, FS, v);
|
|
@@ -91586,19 +91575,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91586
91575
|
name: "tabstopping",
|
|
91587
91576
|
active: u9
|
|
91588
91577
|
}), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
|
|
91589
|
-
var x =
|
|
91578
|
+
var x = C6(a, c, v, b);
|
|
91590
91579
|
return zo.sketch(x);
|
|
91591
91580
|
}, d9 = function(a, c) {
|
|
91592
91581
|
return Mg(a, c, [], []);
|
|
91593
|
-
},
|
|
91582
|
+
}, C6 = function(a, c, v, b) {
|
|
91594
91583
|
return {
|
|
91595
|
-
dom:
|
|
91584
|
+
dom: x6(v),
|
|
91596
91585
|
components: a.toArray().concat([c]),
|
|
91597
91586
|
fieldBehaviours: Mn(b)
|
|
91598
91587
|
};
|
|
91599
91588
|
}, h9 = function() {
|
|
91600
|
-
return
|
|
91601
|
-
},
|
|
91589
|
+
return x6([]);
|
|
91590
|
+
}, x6 = function(a) {
|
|
91602
91591
|
return {
|
|
91603
91592
|
tag: "div",
|
|
91604
91593
|
classes: ["tox-form__group"].concat(a)
|
|
@@ -91611,7 +91600,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91611
91600
|
innerHtml: c.translate(a)
|
|
91612
91601
|
}
|
|
91613
91602
|
});
|
|
91614
|
-
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"),
|
|
91603
|
+
}, 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) {
|
|
91615
91604
|
var v, b = a.label.map(function(ee) {
|
|
91616
91605
|
return Rv(ee, c);
|
|
91617
91606
|
}), x = function(ee) {
|
|
@@ -92212,7 +92201,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92212
92201
|
}, function(b) {
|
|
92213
92202
|
return b.validate(a);
|
|
92214
92203
|
});
|
|
92215
|
-
},
|
|
92204
|
+
}, S6 = function(a, c, v) {
|
|
92216
92205
|
return c.notify.each(function(b) {
|
|
92217
92206
|
b.onValidate(a);
|
|
92218
92207
|
}), uk(a, c).map(function(b) {
|
|
@@ -92230,14 +92219,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92230
92219
|
markValid: lk,
|
|
92231
92220
|
markInvalid: sk,
|
|
92232
92221
|
query: uk,
|
|
92233
|
-
run:
|
|
92222
|
+
run: S6,
|
|
92234
92223
|
isInvalid: b9
|
|
92235
92224
|
}), w9 = function(a, c) {
|
|
92236
92225
|
return a.validator.map(function(v) {
|
|
92237
92226
|
return Oo([wn(v.onEvent, function(b) {
|
|
92238
|
-
|
|
92227
|
+
S6(b, a, c).get(z);
|
|
92239
92228
|
})].concat(v.validateOnLoad ? [Ra(function(b) {
|
|
92240
|
-
|
|
92229
|
+
S6(b, a, c).get(R);
|
|
92241
92230
|
})] : []));
|
|
92242
92231
|
}).getOr({});
|
|
92243
92232
|
}, C9 = /* @__PURE__ */ Object.freeze({
|
|
@@ -92367,7 +92356,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92367
92356
|
})));
|
|
92368
92357
|
});
|
|
92369
92358
|
});
|
|
92370
|
-
},
|
|
92359
|
+
}, k6 = function(a, c, v, b, x, N, D) {
|
|
92371
92360
|
var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
|
|
92372
92361
|
return L.map(function(G) {
|
|
92373
92362
|
return G.fold(function() {
|
|
@@ -92379,7 +92368,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92379
92368
|
}, n3 = function(a, c, v, b, x, N, D) {
|
|
92380
92369
|
return wo.close(b), sl.pure(b);
|
|
92381
92370
|
}, Vg = function(a, c, v, b, x, N) {
|
|
92382
|
-
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 :
|
|
92371
|
+
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k6;
|
|
92383
92372
|
return L(a, c, v, D, b, x, N);
|
|
92384
92373
|
}, T9 = function(a, c, v) {
|
|
92385
92374
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
@@ -92400,11 +92389,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92400
92389
|
};
|
|
92401
92390
|
});
|
|
92402
92391
|
});
|
|
92403
|
-
},
|
|
92392
|
+
}, T6 = function(a) {
|
|
92404
92393
|
wo.getState(a).each(function(c) {
|
|
92405
92394
|
hm.repositionMenus(c);
|
|
92406
92395
|
});
|
|
92407
|
-
},
|
|
92396
|
+
}, N6 = function(a, c, v) {
|
|
92408
92397
|
var b = lc(), x = function(F, L) {
|
|
92409
92398
|
var G = t3(a, c);
|
|
92410
92399
|
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);
|
|
@@ -92444,13 +92433,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92444
92433
|
});
|
|
92445
92434
|
}
|
|
92446
92435
|
}),
|
|
92447
|
-
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition:
|
|
92436
|
+
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T6 })) })
|
|
92448
92437
|
])
|
|
92449
92438
|
};
|
|
92450
|
-
},
|
|
92439
|
+
}, A6 = function(a) {
|
|
92451
92440
|
var c = Ga.getCoupled(a, "sandbox");
|
|
92452
|
-
|
|
92453
|
-
},
|
|
92441
|
+
T6(c);
|
|
92442
|
+
}, I6 = function() {
|
|
92454
92443
|
return [
|
|
92455
92444
|
Ot("sandboxClasses", []),
|
|
92456
92445
|
is.field("sandboxBehaviours", [
|
|
@@ -92480,7 +92469,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92480
92469
|
Ot("matchWidth", !1),
|
|
92481
92470
|
Ot("useMinWidth", !1),
|
|
92482
92471
|
Do("role")
|
|
92483
|
-
].concat(
|
|
92472
|
+
].concat(I6())), pk = V([
|
|
92484
92473
|
tu({
|
|
92485
92474
|
schema: [zf()],
|
|
92486
92475
|
name: "menu",
|
|
@@ -92521,7 +92510,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92521
92510
|
}, Z, b, R, Uu.HighlightFirst).get(R);
|
|
92522
92511
|
},
|
|
92523
92512
|
repositionMenus: function(Z) {
|
|
92524
|
-
Vt.isOn(Z) &&
|
|
92513
|
+
Vt.isOn(Z) && A6(Z);
|
|
92525
92514
|
}
|
|
92526
92515
|
}, G = function(Z, ee) {
|
|
92527
92516
|
return Nf(Z), U.some(!0);
|
|
@@ -92538,7 +92527,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92538
92527
|
Ga.config({
|
|
92539
92528
|
others: {
|
|
92540
92529
|
sandbox: function(Z) {
|
|
92541
|
-
return
|
|
92530
|
+
return N6(a, Z, {
|
|
92542
92531
|
onOpen: function() {
|
|
92543
92532
|
return Vt.on(Z);
|
|
92544
92533
|
},
|
|
@@ -92642,7 +92631,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92642
92631
|
return sl.nu(function(b) {
|
|
92643
92632
|
return a.fetch(b);
|
|
92644
92633
|
}).map(function(b) {
|
|
92645
|
-
return U.from($S(to(
|
|
92634
|
+
return U.from($S(to(_6(Tr("menu-value"), b, function(x) {
|
|
92646
92635
|
a.onItemAction(v, x);
|
|
92647
92636
|
}, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
|
|
92648
92637
|
});
|
|
@@ -92860,7 +92849,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92860
92849
|
Ek
|
|
92861
92850
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92862
92851
|
return a.type.indexOf("touch") !== -1;
|
|
92863
|
-
},
|
|
92852
|
+
}, D6 = function(a) {
|
|
92864
92853
|
var c = a.event.raw;
|
|
92865
92854
|
if (V9(c)) {
|
|
92866
92855
|
var v = c;
|
|
@@ -92891,12 +92880,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92891
92880
|
return a.model.maxY + 1;
|
|
92892
92881
|
}, z_ = function(a, c, v) {
|
|
92893
92882
|
return c(a) - v(a);
|
|
92894
|
-
},
|
|
92883
|
+
}, O6 = function(a) {
|
|
92895
92884
|
return z_(a, Nl, Sm);
|
|
92896
92885
|
}, i3 = function(a) {
|
|
92897
92886
|
return z_(a, Vv, lu);
|
|
92898
92887
|
}, kk = function(a) {
|
|
92899
|
-
return
|
|
92888
|
+
return O6(a) / 2;
|
|
92900
92889
|
}, Tk = function(a) {
|
|
92901
92890
|
return i3(a) / 2;
|
|
92902
92891
|
}, Lg = function(a) {
|
|
@@ -92919,7 +92908,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92919
92908
|
return s3(a, Em);
|
|
92920
92909
|
}, cd = function(a) {
|
|
92921
92910
|
return a.model.value.get();
|
|
92922
|
-
},
|
|
92911
|
+
}, B6 = function(a) {
|
|
92923
92912
|
return { x: a };
|
|
92924
92913
|
}, Pk = function(a) {
|
|
92925
92914
|
return { y: a };
|
|
@@ -92939,7 +92928,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92939
92928
|
}, Rk = function(a, c) {
|
|
92940
92929
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92941
92930
|
}, $k = function(a, c) {
|
|
92942
|
-
Ac(a,
|
|
92931
|
+
Ac(a, B6(U_(c)));
|
|
92943
92932
|
}, u3 = function(a, c) {
|
|
92944
92933
|
Ac(a, Lv(U_(c), Tk(c)));
|
|
92945
92934
|
}, j9 = function(a, c) {
|
|
@@ -92951,12 +92940,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92951
92940
|
}, q9 = function(a, c) {
|
|
92952
92941
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92953
92942
|
}, K9 = function(a, c) {
|
|
92954
|
-
Ac(a,
|
|
92943
|
+
Ac(a, B6(r3(c)));
|
|
92955
92944
|
}, Y9 = function(a, c) {
|
|
92956
92945
|
Ac(a, Lv(r3(c), Tk(c)));
|
|
92957
92946
|
}, Ug = function(a, c, v, b) {
|
|
92958
92947
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92959
|
-
},
|
|
92948
|
+
}, P6 = function(a, c, v, b) {
|
|
92960
92949
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92961
92950
|
}, Vk = function(a, c, v) {
|
|
92962
92951
|
return Math.max(c, Math.min(v, a));
|
|
@@ -92978,26 +92967,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92978
92967
|
return je;
|
|
92979
92968
|
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92980
92969
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92981
|
-
},
|
|
92970
|
+
}, M6 = function(a) {
|
|
92982
92971
|
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;
|
|
92983
92972
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92984
|
-
}, H_ = "top", Lk = "right", Uk = "bottom",
|
|
92973
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92985
92974
|
return a.element.dom.getBoundingClientRect();
|
|
92986
92975
|
}, Ic = function(a, c) {
|
|
92987
92976
|
return a[c];
|
|
92988
92977
|
}, cs = function(a) {
|
|
92989
92978
|
var c = zu(a);
|
|
92990
|
-
return Ic(c,
|
|
92979
|
+
return Ic(c, R6);
|
|
92991
92980
|
}, Hk = function(a) {
|
|
92992
92981
|
var c = zu(a);
|
|
92993
92982
|
return Ic(c, Lk);
|
|
92994
92983
|
}, c3 = function(a) {
|
|
92995
92984
|
var c = zu(a);
|
|
92996
92985
|
return Ic(c, H_);
|
|
92997
|
-
}, $
|
|
92986
|
+
}, $6 = function(a) {
|
|
92998
92987
|
var c = zu(a);
|
|
92999
92988
|
return Ic(c, Uk);
|
|
93000
|
-
},
|
|
92989
|
+
}, F6 = function(a) {
|
|
93001
92990
|
var c = zu(a);
|
|
93002
92991
|
return Ic(c, zk);
|
|
93003
92992
|
}, Wk = function(a) {
|
|
@@ -93006,7 +92995,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93006
92995
|
}, jk = function(a, c, v) {
|
|
93007
92996
|
return (a + c) / 2 - v;
|
|
93008
92997
|
}, Gk = function(a, c) {
|
|
93009
|
-
var v = zu(a), b = zu(c), x = Ic(v,
|
|
92998
|
+
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
|
|
93010
92999
|
return jk(x, N, D);
|
|
93011
93000
|
}, qk = function(a, c) {
|
|
93012
93001
|
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
@@ -93015,11 +93004,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93015
93004
|
_r(a, L_(), { value: c });
|
|
93016
93005
|
}, d3 = function(a) {
|
|
93017
93006
|
return { x: a };
|
|
93018
|
-
},
|
|
93007
|
+
}, V6 = function(a, c, v) {
|
|
93019
93008
|
var b = {
|
|
93020
93009
|
min: Sm(c),
|
|
93021
93010
|
max: Nl(c),
|
|
93022
|
-
range:
|
|
93011
|
+
range: O6(c),
|
|
93023
93012
|
value: v,
|
|
93024
93013
|
step: Lg(c),
|
|
93025
93014
|
snap: l3(c),
|
|
@@ -93029,11 +93018,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93029
93018
|
hasMaxEdge: Dk(c),
|
|
93030
93019
|
minBound: cs(a),
|
|
93031
93020
|
maxBound: Hk(a),
|
|
93032
|
-
screenRange:
|
|
93021
|
+
screenRange: F6(a)
|
|
93033
93022
|
};
|
|
93034
93023
|
return km(b);
|
|
93035
93024
|
}, Kk = function(a, c, v) {
|
|
93036
|
-
var b =
|
|
93025
|
+
var b = V6(a, c, v), x = d3(b);
|
|
93037
93026
|
return f3(a, x), b;
|
|
93038
93027
|
}, Z9 = function(a, c) {
|
|
93039
93028
|
var v = Sm(c);
|
|
@@ -93042,26 +93031,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93042
93031
|
var v = Nl(c);
|
|
93043
93032
|
f3(a, d3(v));
|
|
93044
93033
|
}, eD = function(a, c, v) {
|
|
93045
|
-
var b = a > 0 ?
|
|
93034
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
|
|
93046
93035
|
return f3(c, d3(x)), U.some(x);
|
|
93047
|
-
},
|
|
93036
|
+
}, L6 = function(a) {
|
|
93048
93037
|
return function(c, v) {
|
|
93049
93038
|
return eD(a, c, v).map(Pe);
|
|
93050
93039
|
};
|
|
93051
93040
|
}, h3 = function(a) {
|
|
93052
|
-
var c =
|
|
93041
|
+
var c = D6(a);
|
|
93053
93042
|
return c.map(function(v) {
|
|
93054
93043
|
return v.left;
|
|
93055
93044
|
});
|
|
93056
93045
|
}, tD = function(a, c, v, b, x) {
|
|
93057
|
-
var N = 0, D =
|
|
93046
|
+
var N = 0, D = F6(a), F = b.bind(function(Z) {
|
|
93058
93047
|
return U.some(Gk(Z, a));
|
|
93059
93048
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93060
93049
|
return U.some(Gk(Z, a));
|
|
93061
93050
|
}).getOr(D), G = {
|
|
93062
93051
|
min: Sm(c),
|
|
93063
93052
|
max: Nl(c),
|
|
93064
|
-
range:
|
|
93053
|
+
range: O6(c),
|
|
93065
93054
|
value: v,
|
|
93066
93055
|
hasMinEdge: Ik(c),
|
|
93067
93056
|
hasMaxEdge: Dk(c),
|
|
@@ -93072,14 +93061,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93072
93061
|
centerMinEdge: F,
|
|
93073
93062
|
centerMaxEdge: L
|
|
93074
93063
|
};
|
|
93075
|
-
return
|
|
93064
|
+
return M6(G);
|
|
93076
93065
|
}, zg = function(a, c, v, b, x, N) {
|
|
93077
93066
|
var D = tD(c, N, v, b, x);
|
|
93078
93067
|
return cs(c) - cs(a) + D;
|
|
93079
93068
|
}, Hg = function(a, c, v, b) {
|
|
93080
93069
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
|
|
93081
93070
|
eo(c.element, "left", N - D + "px");
|
|
93082
|
-
}, Yk =
|
|
93071
|
+
}, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
|
|
93083
93072
|
"top-left": U.none(),
|
|
93084
93073
|
top: U.none(),
|
|
93085
93074
|
"top-right": U.none(),
|
|
@@ -93093,7 +93082,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93093
93082
|
setValueFrom: Kk,
|
|
93094
93083
|
setToMin: Z9,
|
|
93095
93084
|
setToMax: Q9,
|
|
93096
|
-
findValueOfOffset:
|
|
93085
|
+
findValueOfOffset: V6,
|
|
93097
93086
|
getValueFromEvent: h3,
|
|
93098
93087
|
findPositionOfValue: zg,
|
|
93099
93088
|
setPositionFromValue: Hg,
|
|
@@ -93119,28 +93108,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93119
93108
|
hasMinEdge: Ok(c),
|
|
93120
93109
|
hasMaxEdge: Bk(c),
|
|
93121
93110
|
minBound: c3(a),
|
|
93122
|
-
maxBound: $
|
|
93111
|
+
maxBound: $6(a),
|
|
93123
93112
|
screenRange: Wk(a)
|
|
93124
93113
|
};
|
|
93125
93114
|
return km(b);
|
|
93126
93115
|
}, Zk = function(a, c, v) {
|
|
93127
93116
|
var b = g3(a, c, v), x = m3(b);
|
|
93128
93117
|
return p3(a, x), b;
|
|
93129
|
-
},
|
|
93118
|
+
}, U6 = function(a, c) {
|
|
93130
93119
|
var v = lu(c);
|
|
93131
93120
|
p3(a, m3(v));
|
|
93132
93121
|
}, Qk = function(a, c) {
|
|
93133
93122
|
var v = Vv(c);
|
|
93134
93123
|
p3(a, m3(v));
|
|
93135
93124
|
}, fs = function(a, c, v) {
|
|
93136
|
-
var b = a > 0 ?
|
|
93125
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
|
|
93137
93126
|
return p3(c, m3(x)), U.some(x);
|
|
93138
|
-
},
|
|
93127
|
+
}, z6 = function(a) {
|
|
93139
93128
|
return function(c, v) {
|
|
93140
93129
|
return fs(a, c, v).map(Pe);
|
|
93141
93130
|
};
|
|
93142
93131
|
}, oD = function(a) {
|
|
93143
|
-
var c =
|
|
93132
|
+
var c = D6(a);
|
|
93144
93133
|
return c.map(function(v) {
|
|
93145
93134
|
return v.top;
|
|
93146
93135
|
});
|
|
@@ -93158,19 +93147,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93158
93147
|
hasMaxEdge: Bk(c),
|
|
93159
93148
|
minBound: c3(a),
|
|
93160
93149
|
minOffset: N,
|
|
93161
|
-
maxBound: $
|
|
93150
|
+
maxBound: $6(a),
|
|
93162
93151
|
maxOffset: D,
|
|
93163
93152
|
centerMinEdge: F,
|
|
93164
93153
|
centerMaxEdge: L
|
|
93165
93154
|
};
|
|
93166
|
-
return
|
|
93155
|
+
return M6(G);
|
|
93167
93156
|
}, _3 = function(a, c, v, b, x, N) {
|
|
93168
93157
|
var D = aD(c, N, v, b, x);
|
|
93169
93158
|
return c3(c) - c3(a) + D;
|
|
93170
93159
|
}, iD = function(a, c, v, b) {
|
|
93171
93160
|
var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
|
|
93172
93161
|
eo(c.element, "top", N - D + "px");
|
|
93173
|
-
}, lD = U.none, sD = U.none, e5 =
|
|
93162
|
+
}, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
|
|
93174
93163
|
"top-left": U.none(),
|
|
93175
93164
|
top: U.some(W9),
|
|
93176
93165
|
"top-right": U.none(),
|
|
@@ -93182,7 +93171,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93182
93171
|
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93183
93172
|
__proto__: null,
|
|
93184
93173
|
setValueFrom: Zk,
|
|
93185
|
-
setToMin:
|
|
93174
|
+
setToMin: U6,
|
|
93186
93175
|
setToMax: Qk,
|
|
93187
93176
|
findValueOfOffset: g3,
|
|
93188
93177
|
getValueFromEvent: oD,
|
|
@@ -93192,7 +93181,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93192
93181
|
onRight: sD,
|
|
93193
93182
|
onUp: e5,
|
|
93194
93183
|
onDown: fd,
|
|
93195
|
-
edgeActions:
|
|
93184
|
+
edgeActions: H6
|
|
93196
93185
|
}), Tm = function(a, c) {
|
|
93197
93186
|
_r(a, L_(), { value: c });
|
|
93198
93187
|
}, Wg = function(a, c) {
|
|
@@ -93201,10 +93190,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93201
93190
|
y: c
|
|
93202
93191
|
};
|
|
93203
93192
|
}, uD = function(a, c, v) {
|
|
93204
|
-
var b =
|
|
93193
|
+
var b = V6(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
|
|
93205
93194
|
return Tm(a, N), N;
|
|
93206
93195
|
}, cD = function(a, c, v, b) {
|
|
93207
|
-
var x = a > 0 ?
|
|
93196
|
+
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;
|
|
93208
93197
|
return Tm(v, Wg(N, D)), U.some(N);
|
|
93209
93198
|
}, y3 = function(a, c) {
|
|
93210
93199
|
return function(v, b) {
|
|
@@ -93216,8 +93205,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93216
93205
|
}, dD = function(a, c) {
|
|
93217
93206
|
var v = Nl(c), b = Vv(c);
|
|
93218
93207
|
Tm(a, Wg(v, b));
|
|
93219
|
-
},
|
|
93220
|
-
return
|
|
93208
|
+
}, W6 = function(a) {
|
|
93209
|
+
return D6(a);
|
|
93221
93210
|
}, hD = function(a, c, v, b) {
|
|
93222
93211
|
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;
|
|
93223
93212
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
@@ -93235,7 +93224,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93235
93224
|
setValueFrom: uD,
|
|
93236
93225
|
setToMin: fD,
|
|
93237
93226
|
setToMax: dD,
|
|
93238
|
-
getValueFromEvent:
|
|
93227
|
+
getValueFromEvent: W6,
|
|
93239
93228
|
setPositionFromValue: hD,
|
|
93240
93229
|
onLeft: n5,
|
|
93241
93230
|
onRight: vD,
|
|
@@ -93420,7 +93409,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93420
93409
|
return Nm(O_(a));
|
|
93421
93410
|
}, a5 = function(a) {
|
|
93422
93411
|
return G4(vS(a));
|
|
93423
|
-
},
|
|
93412
|
+
}, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93424
93413
|
var v = su.parts.spectrum({
|
|
93425
93414
|
dom: {
|
|
93426
93415
|
tag: "div",
|
|
@@ -93517,7 +93506,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93517
93506
|
return a.getField(c, v);
|
|
93518
93507
|
}),
|
|
93519
93508
|
sketch: Am
|
|
93520
|
-
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"),
|
|
93509
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93521
93510
|
var x = function(fe, Te) {
|
|
93522
93511
|
return ff.config({
|
|
93523
93512
|
invalidClass: c("invalid"),
|
|
@@ -93547,7 +93536,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93547
93536
|
}
|
|
93548
93537
|
});
|
|
93549
93538
|
}, N = function(fe, Te, ze, je, dt) {
|
|
93550
|
-
var qe = a(
|
|
93539
|
+
var qe = a(G6 + "range"), St = zo.parts.label({
|
|
93551
93540
|
dom: {
|
|
93552
93541
|
tag: "label",
|
|
93553
93542
|
innerHtml: ze,
|
|
@@ -93634,12 +93623,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93634
93623
|
var Fr = uS(hr);
|
|
93635
93624
|
je("hex", U.some(hr));
|
|
93636
93625
|
var Rn = O_(Fr);
|
|
93637
|
-
F(bn, Rn), qe(Rn), _r(bn,
|
|
93626
|
+
F(bn, Rn), qe(Rn), _r(bn, j6, { hex: Fr }), G(bn, Fr);
|
|
93638
93627
|
}, rn = function(bn, hr, Fr) {
|
|
93639
93628
|
var Rn = parseInt(Fr, 10);
|
|
93640
93629
|
je(hr, U.some(Rn)), dt().each(function(Nr) {
|
|
93641
93630
|
var Rr = D(bn, Nr);
|
|
93642
|
-
_r(bn,
|
|
93631
|
+
_r(bn, j6, { hex: Rr }), G(bn, Rr);
|
|
93643
93632
|
});
|
|
93644
93633
|
}, jt = function(bn) {
|
|
93645
93634
|
return bn.type === "hex";
|
|
@@ -93648,8 +93637,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93648
93637
|
jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
|
|
93649
93638
|
}, Kt = function(bn) {
|
|
93650
93639
|
return {
|
|
93651
|
-
label: a(
|
|
93652
|
-
description: a(
|
|
93640
|
+
label: a(G6 + bn + ".label"),
|
|
93641
|
+
description: a(G6 + bn + ".description")
|
|
93653
93642
|
};
|
|
93654
93643
|
}, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
|
|
93655
93644
|
return to(Gg.sketch(function(bn) {
|
|
@@ -93660,9 +93649,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93660
93649
|
attributes: { "aria-label": a("aria.color.picker") }
|
|
93661
93650
|
},
|
|
93662
93651
|
components: [
|
|
93663
|
-
bn.field("red", zo.sketch(N(
|
|
93664
|
-
bn.field("green", zo.sketch(N(
|
|
93665
|
-
bn.field("blue", zo.sketch(N(
|
|
93652
|
+
bn.field("red", zo.sketch(N(h6, "red", En.label, En.description, 255))),
|
|
93653
|
+
bn.field("green", zo.sketch(N(h6, "green", wr.label, wr.description, 255))),
|
|
93654
|
+
bn.field("blue", zo.sketch(N(h6, "blue", Jn.label, Jn.description, 255))),
|
|
93666
93655
|
bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
|
|
93667
93656
|
L.asSpec()
|
|
93668
93657
|
],
|
|
@@ -93694,7 +93683,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93694
93683
|
extraApis: {}
|
|
93695
93684
|
});
|
|
93696
93685
|
return ee;
|
|
93697
|
-
},
|
|
93686
|
+
}, q6 = function(a, c) {
|
|
93698
93687
|
var v = su.parts.spectrum({
|
|
93699
93688
|
dom: {
|
|
93700
93689
|
tag: "canvas",
|
|
@@ -93774,7 +93763,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93774
93763
|
return L;
|
|
93775
93764
|
}, bD = function(a, c) {
|
|
93776
93765
|
var v = function(x) {
|
|
93777
|
-
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D =
|
|
93766
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
|
|
93778
93767
|
return (100 - nn) / 100 * 360;
|
|
93779
93768
|
}, L = function(nn) {
|
|
93780
93769
|
return 100 - nn / 360 * 100;
|
|
@@ -93840,7 +93829,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93840
93829
|
],
|
|
93841
93830
|
behaviours: Mn([
|
|
93842
93831
|
so("colour-picker-events", [
|
|
93843
|
-
wn(
|
|
93832
|
+
wn(j6, jt()),
|
|
93844
93833
|
wn(l5, At()),
|
|
93845
93834
|
wn(i5, rn())
|
|
93846
93835
|
]),
|
|
@@ -93864,9 +93853,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93864
93853
|
return b;
|
|
93865
93854
|
}, v5 = function() {
|
|
93866
93855
|
return To.config({ find: U.some });
|
|
93867
|
-
},
|
|
93856
|
+
}, K6 = function(a) {
|
|
93868
93857
|
return To.config({ find: a.getOpt });
|
|
93869
|
-
},
|
|
93858
|
+
}, Y6 = function(a) {
|
|
93870
93859
|
return To.config({
|
|
93871
93860
|
find: function(c) {
|
|
93872
93861
|
return v0(c.element, a).bind(function(v) {
|
|
@@ -93876,8 +93865,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93876
93865
|
});
|
|
93877
93866
|
}, Dc = {
|
|
93878
93867
|
self: v5,
|
|
93879
|
-
memento:
|
|
93880
|
-
childAt:
|
|
93868
|
+
memento: K6,
|
|
93869
|
+
childAt: Y6
|
|
93881
93870
|
}, wD = {
|
|
93882
93871
|
"colorcustom.rgb.red.label": "R",
|
|
93883
93872
|
"colorcustom.rgb.red.description": "Red component",
|
|
@@ -94000,11 +93989,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94000
93989
|
]),
|
|
94001
93990
|
components: [v.asSpec()]
|
|
94002
93991
|
};
|
|
94003
|
-
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"),
|
|
93992
|
+
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
|
|
94004
93993
|
Ot("preprocess", z),
|
|
94005
93994
|
Ot("postprocess", z)
|
|
94006
93995
|
]), m5 = function(a, c) {
|
|
94007
|
-
var v = Na("RepresentingConfigs.memento processors",
|
|
93996
|
+
var v = Na("RepresentingConfigs.memento processors", X6, c);
|
|
94008
93997
|
return or.config({
|
|
94009
93998
|
store: {
|
|
94010
93999
|
mode: "manual",
|
|
@@ -94018,7 +94007,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94018
94007
|
}
|
|
94019
94008
|
}
|
|
94020
94009
|
});
|
|
94021
|
-
},
|
|
94010
|
+
}, J6 = function(a, c, v) {
|
|
94022
94011
|
return or.config(to({
|
|
94023
94012
|
store: {
|
|
94024
94013
|
mode: "manual",
|
|
@@ -94029,7 +94018,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94029
94018
|
return { store: { initialValue: b } };
|
|
94030
94019
|
}).getOr({})));
|
|
94031
94020
|
}, j_ = function(a, c, v) {
|
|
94032
|
-
return
|
|
94021
|
+
return J6(a, function(b) {
|
|
94033
94022
|
return c(b.element);
|
|
94034
94023
|
}, function(b, x) {
|
|
94035
94024
|
return v(b.element, x);
|
|
@@ -94048,7 +94037,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94048
94037
|
}, Uv = {
|
|
94049
94038
|
memento: m5,
|
|
94050
94039
|
withElement: j_,
|
|
94051
|
-
withComp:
|
|
94040
|
+
withComp: J6,
|
|
94052
94041
|
domValue: g5,
|
|
94053
94042
|
domHtml: x3,
|
|
94054
94043
|
memory: _5
|
|
@@ -94266,9 +94255,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94266
94255
|
return a.getContext("2d");
|
|
94267
94256
|
}, OD = function(a, c, v) {
|
|
94268
94257
|
return a.width = c, a.height = v, a;
|
|
94269
|
-
},
|
|
94258
|
+
}, Z6 = function(a) {
|
|
94270
94259
|
return a.naturalWidth || a.width;
|
|
94271
|
-
},
|
|
94260
|
+
}, Q6 = function(a) {
|
|
94272
94261
|
return a.naturalHeight || a.height;
|
|
94273
94262
|
}, BD = function() {
|
|
94274
94263
|
var a = function(ee) {
|
|
@@ -94439,7 +94428,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94439
94428
|
}, tx = function(a) {
|
|
94440
94429
|
return ex(a).then(function(c) {
|
|
94441
94430
|
$D(c);
|
|
94442
|
-
var v = qg(
|
|
94431
|
+
var v = qg(Z6(c), Q6(c)), b = Oc(v);
|
|
94443
94432
|
return b.drawImage(c, 0, 0), v;
|
|
94444
94433
|
});
|
|
94445
94434
|
}, E5 = function(a) {
|
|
@@ -94822,7 +94811,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94822
94811
|
]), N5 = WD(function(a, c) {
|
|
94823
94812
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94824
94813
|
}), A5 = function(a, c, v) {
|
|
94825
|
-
var b =
|
|
94814
|
+
var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
|
|
94826
94815
|
(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);
|
|
94827
94816
|
var L = ZD(a, N, D);
|
|
94828
94817
|
return F ? L.then(function(G) {
|
|
@@ -94830,7 +94819,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94830
94819
|
}) : L;
|
|
94831
94820
|
}, ZD = function(a, c, v) {
|
|
94832
94821
|
return new hd(function(b) {
|
|
94833
|
-
var x =
|
|
94822
|
+
var x = Z6(a), N = Q6(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
|
|
94834
94823
|
G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
|
|
94835
94824
|
});
|
|
94836
94825
|
}, rx = function(a, c) {
|
|
@@ -95065,8 +95054,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95065
95054
|
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95066
95055
|
if (N.items.length === 0)
|
|
95067
95056
|
return U.none();
|
|
95068
|
-
var D =
|
|
95069
|
-
return
|
|
95057
|
+
var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
95058
|
+
return b6(Z, G, c, v, !1);
|
|
95070
95059
|
}), L = to(F, ge(x, D));
|
|
95071
95060
|
return U.from(hm.tieredData(x, L, N.expansions));
|
|
95072
95061
|
}, vO = function(a) {
|
|
@@ -97013,7 +97002,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97013
97002
|
var fe = function(Te) {
|
|
97014
97003
|
To.getCurrent(Te).each(Z);
|
|
97015
97004
|
};
|
|
97016
|
-
|
|
97005
|
+
k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
97017
97006
|
}
|
|
97018
97007
|
}, N = ek(a), D = function(L) {
|
|
97019
97008
|
return function(G) {
|
|
@@ -97077,7 +97066,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97077
97066
|
});
|
|
97078
97067
|
});
|
|
97079
97068
|
};
|
|
97080
|
-
|
|
97069
|
+
k6(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
|
|
97081
97070
|
}
|
|
97082
97071
|
},
|
|
97083
97072
|
cancelEvent: fp()
|
|
@@ -97113,7 +97102,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97113
97102
|
Ga.config({
|
|
97114
97103
|
others: {
|
|
97115
97104
|
sandbox: function(L) {
|
|
97116
|
-
return
|
|
97105
|
+
return N6(a, L, {
|
|
97117
97106
|
onOpen: function() {
|
|
97118
97107
|
return Vt.on(L);
|
|
97119
97108
|
},
|
|
@@ -97189,7 +97178,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97189
97178
|
vi("previewing", function() {
|
|
97190
97179
|
return jn(!0);
|
|
97191
97180
|
})
|
|
97192
|
-
].concat(QS()).concat(
|
|
97181
|
+
].concat(QS()).concat(I6())), XO = V([tu({
|
|
97193
97182
|
schema: [zf()],
|
|
97194
97183
|
name: "menu",
|
|
97195
97184
|
overrides: function(a) {
|
|
@@ -97937,7 +97926,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97937
97926
|
};
|
|
97938
97927
|
}, S7 = function(a) {
|
|
97939
97928
|
return function() {
|
|
97940
|
-
return
|
|
97929
|
+
return m6(a);
|
|
97941
97930
|
};
|
|
97942
97931
|
}, k7 = function(a) {
|
|
97943
97932
|
return function() {
|
|
@@ -97957,7 +97946,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97957
97946
|
}, _T = function(a) {
|
|
97958
97947
|
return { isDraggableModal: N7(a) };
|
|
97959
97948
|
}, A7 = function(a) {
|
|
97960
|
-
var c = jn(
|
|
97949
|
+
var c = jn(e6(a) ? "bottom" : "top");
|
|
97961
97950
|
return {
|
|
97962
97951
|
isPositionedAtTop: function() {
|
|
97963
97952
|
return c.get() === "top";
|
|
@@ -98120,7 +98109,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98120
98109
|
}, ty = function(a) {
|
|
98121
98110
|
return jE(a).map(function(c) {
|
|
98122
98111
|
var v = Dm(a, c);
|
|
98123
|
-
return
|
|
98112
|
+
return J8(a) ? yT.concat(v) : v;
|
|
98124
98113
|
}).getOr(yT);
|
|
98125
98114
|
}, bT = function(a, c, v) {
|
|
98126
98115
|
var b = {
|
|
@@ -98334,10 +98323,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98334
98323
|
return GA(a) ? U.none() : U.some({
|
|
98335
98324
|
targets: G7.find(a.getBody()),
|
|
98336
98325
|
anchorTop: Ix(qA(a)),
|
|
98337
|
-
anchorBottom: Ix(
|
|
98326
|
+
anchorBottom: Ix(r6(a))
|
|
98338
98327
|
});
|
|
98339
98328
|
}, tB = function(a) {
|
|
98340
|
-
return U.from(
|
|
98329
|
+
return U.from(o6(a));
|
|
98341
98330
|
}, nB = function(a) {
|
|
98342
98331
|
return {
|
|
98343
98332
|
getHistory: Y7,
|
|
@@ -99376,7 +99365,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99376
99365
|
Ot("useMinWidth", !1),
|
|
99377
99366
|
Ot("eventOrder", {}),
|
|
99378
99367
|
Do("role")
|
|
99379
|
-
].concat(
|
|
99368
|
+
].concat(I6())), PB = Ni({
|
|
99380
99369
|
factory: Gl,
|
|
99381
99370
|
schema: [nt("dom")],
|
|
99382
99371
|
name: "arrow",
|
|
@@ -99475,7 +99464,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99475
99464
|
});
|
|
99476
99465
|
})])), In(U.some(D))), Z = {
|
|
99477
99466
|
repositionMenus: function(ee) {
|
|
99478
|
-
Vt.isOn(ee) &&
|
|
99467
|
+
Vt.isOn(ee) && A6(ee);
|
|
99479
99468
|
}
|
|
99480
99469
|
};
|
|
99481
99470
|
return {
|
|
@@ -99501,7 +99490,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99501
99490
|
Vt.off(fe), Vt.off(ee);
|
|
99502
99491
|
}
|
|
99503
99492
|
};
|
|
99504
|
-
return
|
|
99493
|
+
return N6(a, ee, Te);
|
|
99505
99494
|
}
|
|
99506
99495
|
}
|
|
99507
99496
|
}),
|
|
@@ -99695,7 +99684,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99695
99684
|
return sl.nu(function(x) {
|
|
99696
99685
|
return c.fetch(x);
|
|
99697
99686
|
}).map(function(x) {
|
|
99698
|
-
return U.from($S(to(
|
|
99687
|
+
return U.from($S(to(_6(Tr("menu-value"), x, function(N) {
|
|
99699
99688
|
c.onItemAction(a(b), N);
|
|
99700
99689
|
}, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
|
|
99701
99690
|
movement: K4(c.columns, c.presets),
|
|
@@ -99923,7 +99912,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99923
99912
|
bottom: Math.min(D.y, v.bottom)
|
|
99924
99913
|
};
|
|
99925
99914
|
}, uN = function(a, c) {
|
|
99926
|
-
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x =
|
|
99915
|
+
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;
|
|
99927
99916
|
if (a.inline && !x)
|
|
99928
99917
|
return fl(D, v.y, F, v.height);
|
|
99929
99918
|
var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
|
|
@@ -102258,10 +102247,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102258
102247
|
}, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
|
|
102259
102248
|
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() {
|
|
102260
102249
|
var fe = N.get();
|
|
102261
|
-
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)),
|
|
102250
|
+
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v6(a));
|
|
102262
102251
|
}, L = function() {
|
|
102263
102252
|
var fe = a.getDoc().documentElement, Te = D.get();
|
|
102264
|
-
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)),
|
|
102253
|
+
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v6(a));
|
|
102265
102254
|
}, G = function(fe) {
|
|
102266
102255
|
return hI(a, fe);
|
|
102267
102256
|
};
|
|
@@ -102336,7 +102325,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102336
102325
|
});
|
|
102337
102326
|
return b.or(x).getOr(a);
|
|
102338
102327
|
}, D$ = function(a) {
|
|
102339
|
-
var c = HE(a), v = WE(a), b =
|
|
102328
|
+
var c = HE(a), v = WE(a), b = X8(a);
|
|
102340
102329
|
return iP(c).map(function(x) {
|
|
102341
102330
|
return hN(x, v, b);
|
|
102342
102331
|
});
|
|
@@ -102361,7 +102350,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102361
102350
|
return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
|
|
102362
102351
|
}) : 0;
|
|
102363
102352
|
}, St = function(fn) {
|
|
102364
|
-
switch (
|
|
102353
|
+
switch (Q8(a)) {
|
|
102365
102354
|
case bm.auto:
|
|
102366
102355
|
var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
|
|
102367
102356
|
if (Nr)
|
|
@@ -102436,7 +102425,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102436
102425
|
x.set({
|
|
102437
102426
|
pos: G,
|
|
102438
102427
|
bounds: Z
|
|
102439
|
-
}), ze &&
|
|
102428
|
+
}), ze && v6(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
|
|
102440
102429
|
};
|
|
102441
102430
|
b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
|
|
102442
102431
|
return v.update(!0);
|
|
@@ -103911,7 +103900,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
103911
103900
|
})(dy || (dy = {}));
|
|
103912
103901
|
var CV = function(a, c, v, b, x) {
|
|
103913
103902
|
var N = {};
|
|
103914
|
-
return N.height = hN(b + c.top, WE(a),
|
|
103903
|
+
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;
|
|
103915
103904
|
}, DM = function(a, c, v) {
|
|
103916
103905
|
var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
|
|
103917
103906
|
Ur(x, function(N, D) {
|
|
@@ -104049,7 +104038,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104049
104038
|
components: x()
|
|
104050
104039
|
};
|
|
104051
104040
|
}, TV = function(a) {
|
|
104052
|
-
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 =
|
|
104041
|
+
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() {
|
|
104053
104042
|
return N.bind(hi.getHeader);
|
|
104054
104043
|
}, qe = function() {
|
|
104055
104044
|
return x.isDocked(dt);
|
|
@@ -104153,7 +104142,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104153
104142
|
Rn,
|
|
104154
104143
|
Nr
|
|
104155
104144
|
]
|
|
104156
|
-
}, mf = k_(a), Pc = Ag(a), AP =
|
|
104145
|
+
}, mf = k_(a), Pc = Ag(a), AP = Z8(a), IP = function() {
|
|
104157
104146
|
return mf ? [Fr] : Pc ? [hr] : [];
|
|
104158
104147
|
}, xN = hi.parts.header({
|
|
104159
104148
|
dom: ve({
|
|
@@ -104182,7 +104171,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104182
104171
|
[jx],
|
|
104183
104172
|
v ? [] : ia.toArray(),
|
|
104184
104173
|
[Rr]
|
|
104185
|
-
]), Gx =
|
|
104174
|
+
]), Gx = t6(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
|
|
104186
104175
|
dom: {
|
|
104187
104176
|
tag: "div",
|
|
104188
104177
|
classes: [
|
|
@@ -104232,7 +104221,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104232
104221
|
});
|
|
104233
104222
|
var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
|
|
104234
104223
|
menuItems: iw,
|
|
104235
|
-
menus:
|
|
104224
|
+
menus: n6(a),
|
|
104236
104225
|
menubar: UA(a),
|
|
104237
104226
|
toolbar: RP.getOrThunk(function() {
|
|
104238
104227
|
return zA(a);
|
|
@@ -105288,7 +105277,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105288
105277
|
})])
|
|
105289
105278
|
};
|
|
105290
105279
|
return tl.parts.body(c);
|
|
105291
|
-
}, NU =
|
|
105280
|
+
}, NU = i6.deviceType.isTouch(), KM = function(a, c) {
|
|
105292
105281
|
return {
|
|
105293
105282
|
dom: {
|
|
105294
105283
|
tag: "div",
|
|
@@ -105602,7 +105591,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105602
105591
|
wn($g, function(v, b) {
|
|
105603
105592
|
return c.onUnblock();
|
|
105604
105593
|
}),
|
|
105605
|
-
wn(
|
|
105594
|
+
wn(E6, function(v, b) {
|
|
105606
105595
|
return c.onBlock(b.event);
|
|
105607
105596
|
})
|
|
105608
105597
|
];
|
|
@@ -105777,7 +105766,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105777
105766
|
if (!l(je))
|
|
105778
105767
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105779
105768
|
b(function(dt) {
|
|
105780
|
-
_r(dt,
|
|
105769
|
+
_r(dt, E6, { message: je });
|
|
105781
105770
|
});
|
|
105782
105771
|
}, Z = function() {
|
|
105783
105772
|
b(function(je) {
|
|
@@ -105951,7 +105940,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105951
105940
|
if (!l(D))
|
|
105952
105941
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105953
105942
|
c(function(F) {
|
|
105954
|
-
_r(F,
|
|
105943
|
+
_r(F, E6, { message: D });
|
|
105955
105944
|
});
|
|
105956
105945
|
}, b = function() {
|
|
105957
105946
|
c(function(D) {
|
|
@@ -112066,7 +112055,7 @@ Required: ` + w.join(", "));
|
|
|
112066
112055
|
}, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
|
|
112067
112056
|
return function(sf, yg) {
|
|
112068
112057
|
Xs(sf);
|
|
112069
|
-
var T4 = xc(),
|
|
112058
|
+
var T4 = xc(), b8 = Je.fromDom(g.getDoc()), id = S0(Yi, b8, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
|
|
112070
112059
|
return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
|
|
112071
112060
|
return Qe(um.newRows, function(cm) {
|
|
112072
112061
|
K0(g, cm.dom);
|
|
@@ -113990,38 +113979,38 @@ Required: ` + w.join(", "));
|
|
|
113990
113979
|
}, wc = 5, QC = 100, Cc = Lc.generate([
|
|
113991
113980
|
{ none: [] },
|
|
113992
113981
|
{ retry: ["caret"] }
|
|
113993
|
-
]),
|
|
113982
|
+
]), e8 = function(g, w) {
|
|
113994
113983
|
return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
|
|
113995
113984
|
}, h4 = function(g, w, T) {
|
|
113996
113985
|
return xh(w, p2).fold(Ne, function(I) {
|
|
113997
113986
|
return d4(g, I).exists(function($) {
|
|
113998
|
-
return
|
|
113987
|
+
return e8(T, $);
|
|
113999
113988
|
});
|
|
114000
113989
|
});
|
|
114001
|
-
},
|
|
113990
|
+
}, t8 = function(g, w, T, I, $) {
|
|
114002
113991
|
var W = nd($, wc);
|
|
114003
113992
|
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();
|
|
114004
|
-
},
|
|
113993
|
+
}, n8 = function(g, w, T, I, $) {
|
|
114005
113994
|
var W = im($, wc);
|
|
114006
113995
|
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();
|
|
114007
113996
|
}, rd = {
|
|
114008
113997
|
point: u4,
|
|
114009
|
-
adjuster:
|
|
113998
|
+
adjuster: n8,
|
|
114010
113999
|
move: im,
|
|
114011
114000
|
gather: n_
|
|
114012
114001
|
}, vg = {
|
|
114013
114002
|
point: c4,
|
|
114014
|
-
adjuster:
|
|
114003
|
+
adjuster: t8,
|
|
114015
114004
|
move: nd,
|
|
114016
114005
|
gather: o4
|
|
114017
114006
|
}, p4 = function(g, w, T) {
|
|
114018
114007
|
return g.elementFromPoint(w, T).filter(function(I) {
|
|
114019
114008
|
return Io(I) === "table";
|
|
114020
114009
|
}).isSome();
|
|
114021
|
-
},
|
|
114010
|
+
}, r8 = function(g, w, T, I, $) {
|
|
114022
114011
|
return Av(g, w, T, w.move(I, wc), $);
|
|
114023
114012
|
}, Av = function(g, w, T, I, $) {
|
|
114024
|
-
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ?
|
|
114013
|
+
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) {
|
|
114025
114014
|
return W.start.fold(te.none, function(Q) {
|
|
114026
114015
|
return d4(g, Q).bind(function(ye) {
|
|
114027
114016
|
return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
|
|
@@ -114032,15 +114021,15 @@ Required: ` + w.join(", "));
|
|
|
114032
114021
|
});
|
|
114033
114022
|
}, te.none);
|
|
114034
114023
|
});
|
|
114035
|
-
},
|
|
114024
|
+
}, o8 = function(g, w) {
|
|
114036
114025
|
return g.situsFromPoint(w.left, w.bottom + wc);
|
|
114037
|
-
},
|
|
114026
|
+
}, a8 = function(g, w) {
|
|
114038
114027
|
return g.situsFromPoint(w.left, w.top - wc);
|
|
114039
|
-
},
|
|
114028
|
+
}, i8 = function(g, w, T) {
|
|
114040
114029
|
return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
|
|
114041
114030
|
}, m4 = function(g, w, T) {
|
|
114042
114031
|
var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
|
|
114043
|
-
return
|
|
114032
|
+
return i8(g, $, w).fold(function() {
|
|
114044
114033
|
return w.situsFromPoint($.left, g.point($));
|
|
114045
114034
|
}, function(W) {
|
|
114046
114035
|
return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
|
|
@@ -114048,10 +114037,10 @@ Required: ` + w.join(", "));
|
|
|
114048
114037
|
}, Iv = {
|
|
114049
114038
|
tryUp: V(m4, rd),
|
|
114050
114039
|
tryDown: V(m4, vg),
|
|
114051
|
-
ieTryUp:
|
|
114052
|
-
ieTryDown:
|
|
114040
|
+
ieTryUp: a8,
|
|
114041
|
+
ieTryDown: o8,
|
|
114053
114042
|
getJumpSize: j(wc)
|
|
114054
|
-
},
|
|
114043
|
+
}, l8 = 20, g4 = function(g, w, T) {
|
|
114055
114044
|
return g.getSelection().bind(function(I) {
|
|
114056
114045
|
return a_(w, I.finish, I.foffset, T).fold(function() {
|
|
114057
114046
|
return te.some(Mp(I.finish, I.foffset));
|
|
@@ -114061,7 +114050,7 @@ Required: ` + w.join(", "));
|
|
|
114061
114050
|
});
|
|
114062
114051
|
});
|
|
114063
114052
|
}, lm = function(g, w, T, I, $, W) {
|
|
114064
|
-
return W === 0 ? te.none() :
|
|
114053
|
+
return W === 0 ? te.none() : s8(g, w, T, I, $).bind(function(Q) {
|
|
114065
114054
|
var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
|
|
114066
114055
|
return Nv.cata(_e, function() {
|
|
114067
114056
|
return te.none();
|
|
@@ -114080,15 +114069,15 @@ Required: ` + w.join(", "));
|
|
|
114080
114069
|
}, _4 = function(g, w, T) {
|
|
114081
114070
|
var I = Ze().browser;
|
|
114082
114071
|
return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
|
|
114083
|
-
},
|
|
114072
|
+
}, s8 = function(g, w, T, I, $) {
|
|
114084
114073
|
return f4(g, T, I).bind(function(W) {
|
|
114085
114074
|
return _4(g, $, W);
|
|
114086
114075
|
});
|
|
114087
|
-
},
|
|
114076
|
+
}, u8 = function(g, w, T) {
|
|
114088
114077
|
return g4(g, w, T).bind(function(I) {
|
|
114089
|
-
return lm(g, w, I.element, I.offset, T,
|
|
114078
|
+
return lm(g, w, I.element, I.offset, T, l8).map(g.fromSitus);
|
|
114090
114079
|
});
|
|
114091
|
-
},
|
|
114080
|
+
}, c8 = function(g, w) {
|
|
114092
114081
|
return qC(g, function(T) {
|
|
114093
114082
|
return de(T).exists(function(I) {
|
|
114094
114083
|
return Tn(I, w);
|
|
@@ -114097,7 +114086,7 @@ Required: ` + w.join(", "));
|
|
|
114097
114086
|
}, od = function(g, w, T, I, $) {
|
|
114098
114087
|
return Ho(I, "td,th", w).bind(function(W) {
|
|
114099
114088
|
return Ho(W, "table", w).bind(function(Q) {
|
|
114100
|
-
return
|
|
114089
|
+
return c8($, Q) ? u8(g, w, T).bind(function(ye) {
|
|
114101
114090
|
return Ho(ye.finish, "td,th", w).map(function(_e) {
|
|
114102
114091
|
return {
|
|
114103
114092
|
start: W,
|
|
@@ -114115,7 +114104,7 @@ Required: ` + w.join(", "));
|
|
|
114115
114104
|
return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
|
|
114116
114105
|
});
|
|
114117
114106
|
});
|
|
114118
|
-
},
|
|
114107
|
+
}, f8 = function(g, w) {
|
|
114119
114108
|
return Ho(g, "tr", w).bind(function(T) {
|
|
114120
114109
|
return Ho(T, "table", w).bind(function(I) {
|
|
114121
114110
|
var $ = li(I, "tr");
|
|
@@ -114206,7 +114195,7 @@ Required: ` + w.join(", "));
|
|
|
114206
114195
|
}, Mr = {
|
|
114207
114196
|
isBackward: Dv(37),
|
|
114208
114197
|
isForward: Dv(39)
|
|
114209
|
-
},
|
|
114198
|
+
}, d8 = {
|
|
114210
114199
|
isBackward: Dv(39),
|
|
114211
114200
|
isForward: Dv(37)
|
|
114212
114201
|
}, mg = function(g) {
|
|
@@ -114296,7 +114285,7 @@ Required: ` + w.join(", "));
|
|
|
114296
114285
|
return I.clear(w), te.none();
|
|
114297
114286
|
}, Q = function(_e, Ye, mt, Cn, pn, An) {
|
|
114298
114287
|
var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
|
|
114299
|
-
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,
|
|
114288
|
+
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;
|
|
114300
114289
|
}, function(uo) {
|
|
114301
114290
|
var zr = function(xo) {
|
|
114302
114291
|
return function() {
|
|
@@ -114332,7 +114321,7 @@ Required: ` + w.join(", "));
|
|
|
114332
114321
|
keydown: Q,
|
|
114333
114322
|
keyup: ye
|
|
114334
114323
|
};
|
|
114335
|
-
},
|
|
114324
|
+
}, h8 = function(g, w, T, I) {
|
|
114336
114325
|
var $ = d_(g);
|
|
114337
114326
|
return function(W, Q) {
|
|
114338
114327
|
I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
|
|
@@ -114340,7 +114329,7 @@ Required: ` + w.join(", "));
|
|
|
114340
114329
|
I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
|
|
114341
114330
|
});
|
|
114342
114331
|
};
|
|
114343
|
-
},
|
|
114332
|
+
}, v8 = function(g, w) {
|
|
114344
114333
|
Qe(w, function(T) {
|
|
114345
114334
|
ol(g, T);
|
|
114346
114335
|
});
|
|
@@ -114350,7 +114339,7 @@ Required: ` + w.join(", "));
|
|
|
114350
114339
|
};
|
|
114351
114340
|
}, h_ = function(g) {
|
|
114352
114341
|
return function(w) {
|
|
114353
|
-
|
|
114342
|
+
v8(w, g);
|
|
114354
114343
|
};
|
|
114355
114344
|
}, so = function(g) {
|
|
114356
114345
|
var w = Qr(g.selected), T = h_([
|
|
@@ -114392,7 +114381,7 @@ Required: ` + w.join(", "));
|
|
|
114392
114381
|
firstSelectedSelector: g.firstSelectedSelector,
|
|
114393
114382
|
lastSelectedSelector: g.lastSelectedSelector
|
|
114394
114383
|
};
|
|
114395
|
-
},
|
|
114384
|
+
}, p8 = {
|
|
114396
114385
|
byClass: so,
|
|
114397
114386
|
byAttr: S4
|
|
114398
114387
|
}, _g = function(g, w, T) {
|
|
@@ -114403,7 +114392,7 @@ Required: ` + w.join(", "));
|
|
|
114403
114392
|
return ye.element;
|
|
114404
114393
|
});
|
|
114405
114394
|
});
|
|
114406
|
-
},
|
|
114395
|
+
}, m8 = function(g, w, T) {
|
|
114407
114396
|
var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
|
|
114408
114397
|
return pt($, function(W) {
|
|
114409
114398
|
var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
|
|
@@ -114414,7 +114403,7 @@ Required: ` + w.join(", "));
|
|
|
114414
114403
|
}, k4 = function(g, w, T) {
|
|
114415
114404
|
var I = Bn.fromTable(g), $ = jf(I, w);
|
|
114416
114405
|
return $.map(function(W) {
|
|
114417
|
-
var Q = av(I, T, !1), ye = _g(Q, W, T), _e =
|
|
114406
|
+
var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m8(Q, W, T);
|
|
114418
114407
|
return {
|
|
114419
114408
|
upOrLeftCells: ye,
|
|
114420
114409
|
downOrRightCells: _e
|
|
@@ -114423,7 +114412,7 @@ Required: ` + w.join(", "));
|
|
|
114423
114412
|
}, v_ = function(g) {
|
|
114424
114413
|
return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
|
|
114425
114414
|
};
|
|
114426
|
-
function
|
|
114415
|
+
function g8(g, w, T) {
|
|
114427
114416
|
var I = function(Q, ye, _e) {
|
|
114428
114417
|
T.targets().each(function(Ye) {
|
|
114429
114418
|
var mt = Ma(ye);
|
|
@@ -114434,7 +114423,7 @@ Required: ` + w.join(", "));
|
|
|
114434
114423
|
});
|
|
114435
114424
|
}, $ = function() {
|
|
114436
114425
|
return Vw(g);
|
|
114437
|
-
}, W =
|
|
114426
|
+
}, W = p8.byAttr(La, I, $);
|
|
114438
114427
|
return g.on("init", function(Q) {
|
|
114439
114428
|
var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
|
|
114440
114429
|
var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
|
|
@@ -114444,7 +114433,7 @@ Required: ` + w.join(", "));
|
|
|
114444
114433
|
ss.fold(function() {
|
|
114445
114434
|
return W.clear(_e);
|
|
114446
114435
|
}, B);
|
|
114447
|
-
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An =
|
|
114436
|
+
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h8(ye, _e, Ye, W), Vt = function(Uo) {
|
|
114448
114437
|
return Uo.raw.shiftKey === !0;
|
|
114449
114438
|
};
|
|
114450
114439
|
g.on("TableSelectorChange", function(Uo) {
|
|
@@ -114468,7 +114457,7 @@ Required: ` + w.join(", "));
|
|
|
114468
114457
|
w().each(function(Yi) {
|
|
114469
114458
|
return Yi.hideBars();
|
|
114470
114459
|
});
|
|
114471
|
-
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr,
|
|
114460
|
+
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d8)(Je.fromDom(g.selection.getStart()));
|
|
114472
114461
|
pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
|
|
114473
114462
|
tn(ll, Yi);
|
|
114474
114463
|
}), w().each(function(Yi) {
|
|
@@ -114500,7 +114489,7 @@ Required: ` + w.join(", "));
|
|
|
114500
114489
|
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);
|
|
114501
114490
|
}), { clear: W.clear };
|
|
114502
114491
|
}
|
|
114503
|
-
var
|
|
114492
|
+
var _8 = function(g, w) {
|
|
114504
114493
|
var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
|
|
114505
114494
|
return $.forall(function(xo) {
|
|
114506
114495
|
return !xo[zr];
|
|
@@ -114715,7 +114704,7 @@ Required: ` + w.join(", "));
|
|
|
114715
114704
|
onAction: I("mceInsertTable"),
|
|
114716
114705
|
icon: "table"
|
|
114717
114706
|
});
|
|
114718
|
-
},
|
|
114707
|
+
}, y8 = function(g) {
|
|
114719
114708
|
var w = function(I) {
|
|
114720
114709
|
return g.dom.is(I, "table") && g.getBody().contains(I);
|
|
114721
114710
|
}, T = C1(g);
|
|
@@ -114891,8 +114880,8 @@ Required: ` + w.join(", "));
|
|
|
114891
114880
|
return Pf(g);
|
|
114892
114881
|
}, function() {
|
|
114893
114882
|
return th(Aa(g));
|
|
114894
|
-
}, La.selectedSelector), T =
|
|
114895
|
-
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q),
|
|
114883
|
+
}, La.selectedSelector), T = _8(g, w), I = Jy(g), $ = g8(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
|
|
114884
|
+
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() {
|
|
114896
114885
|
g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
|
|
114897
114886
|
}), Lw(g) && g.on("keydown", function(ye) {
|
|
114898
114887
|
Yb(ye, g, $);
|