agilebuilder-ui 1.0.88 → 1.0.90-temp1
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 +721 -773
- package/lib/super-ui.umd.cjs +14 -14
- package/package.json +1 -1
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +801 -888
- package/packages/dynamic-source-select/src/events.js +11 -16
- package/packages/super-grid/src/dynamic-input.vue +55 -45
- package/packages/super-grid/src/normal-column-content.vue +35 -32
- package/packages/super-grid/src/normal-column.vue +8 -16
- package/packages/super-grid/src/utils.js +4 -10
- package/packages/super-nine-grid/src/super-nine-grid.vue +1032 -1143
- package/src/api/sso-service.js +1 -1
- package/src/directives/permission/permission.js +4 -3
- package/src/store/modules/user.js +2 -2
- package/src/styles/index.scss +1 -0
- package/src/styles/table.scss +12 -0
- package/src/styles/theme/dark-blue/table.scss +8 -52
- package/src/styles/theme/green/green.scss +1 -1
- package/src/styles/theme/green/table.scss +7 -51
- package/src/styles/theme/ocean-blue/ocean-blue.scss +1 -1
- package/src/styles/theme/ocean-blue/table.scss +7 -52
- package/src/utils/i18n-util.js +4 -0
- package/src/utils/permissionAuth.js +8 -4
package/lib/super-ui.js
CHANGED
|
@@ -17673,8 +17673,7 @@ function getControlConfig(e) {
|
|
|
17673
17673
|
return e && e.controlConfig && (t = JSON.parse(e.controlConfig)), t;
|
|
17674
17674
|
}
|
|
17675
17675
|
function getContentAlign(e, t) {
|
|
17676
|
-
|
|
17677
|
-
return typeof t.options.align < "u" ? n = t.options.align : e.contAlign && e.contAlign !== "" && (n = e.contAlign), n;
|
|
17676
|
+
return t.options.align ?? (e.contAlign || "");
|
|
17678
17677
|
}
|
|
17679
17678
|
function getHeaderAlign(e, t) {
|
|
17680
17679
|
let n;
|
|
@@ -17766,10 +17765,10 @@ const dynamicSourceSelectService = {
|
|
|
17766
17765
|
getSelectedOptionItem(e) {
|
|
17767
17766
|
if (this.baseProps.multiple !== void 0 && this.baseProps.multiple === !0 && Array.isArray(e)) {
|
|
17768
17767
|
const n = [];
|
|
17769
|
-
for (var t = 0; t < e.length; t++)
|
|
17770
|
-
|
|
17771
|
-
|
|
17772
|
-
|
|
17768
|
+
for (var t = 0; t < e.length; t++) {
|
|
17769
|
+
const o = this.optionItems.find((l) => l[this.valueAttribute] === e[t]);
|
|
17770
|
+
n.push(o);
|
|
17771
|
+
}
|
|
17773
17772
|
return n;
|
|
17774
17773
|
} else
|
|
17775
17774
|
return this.optionItems.find((n) => n[this.valueAttribute] === e);
|
|
@@ -17795,7 +17794,7 @@ const emitter$1 = mitt(), bus$1 = {};
|
|
|
17795
17794
|
bus$1.$on = emitter$1.on;
|
|
17796
17795
|
bus$1.$emit = emitter$1.emit;
|
|
17797
17796
|
bus$1.$off = emitter$1.off;
|
|
17798
|
-
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "",
|
|
17797
|
+
const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSelect_vue_vue_type_style_index_1_scoped_2a7f7755_lang = "", _sfc_main$1o = {
|
|
17799
17798
|
name: "DynamicSourceSelect",
|
|
17800
17799
|
components: {},
|
|
17801
17800
|
model: {
|
|
@@ -17950,9 +17949,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
17950
17949
|
let n;
|
|
17951
17950
|
this.watchAttr.split(",").forEach((l) => {
|
|
17952
17951
|
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("");
|
|
17952
|
+
this.watchAttrValueChange(s), this.optionItems.filter((_) => _[this.valueAttribute] === s) || this.inputValue("");
|
|
17956
17953
|
});
|
|
17957
17954
|
}), this.watchAttrValueChange(n);
|
|
17958
17955
|
}
|
|
@@ -17979,7 +17976,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
17979
17976
|
this.$emit("blur", e);
|
|
17980
17977
|
},
|
|
17981
17978
|
changeEvent(e) {
|
|
17982
|
-
this.inputValue(e), this
|
|
17979
|
+
this.inputValue(e), this.change(e);
|
|
17983
17980
|
},
|
|
17984
17981
|
/**
|
|
17985
17982
|
* @description: 获取提示标题
|
|
@@ -18034,24 +18031,23 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18034
18031
|
if (l.options) {
|
|
18035
18032
|
this.optionItems = l.options;
|
|
18036
18033
|
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
|
|
18034
|
+
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) {
|
|
18035
|
+
this.column["_dynamic-source-data-" + this.column.prop] = {
|
|
18039
18036
|
valueSetOptions: this.options.valueSetOptions,
|
|
18040
18037
|
optionItems: this.optionItems,
|
|
18041
18038
|
valueAttribute: l.valueAttribute
|
|
18042
|
-
}
|
|
18043
|
-
|
|
18044
|
-
|
|
18045
|
-
|
|
18046
|
-
|
|
18047
|
-
|
|
18048
|
-
|
|
18049
|
-
|
|
18050
|
-
|
|
18051
|
-
|
|
18052
|
-
|
|
18053
|
-
|
|
18054
|
-
}
|
|
18039
|
+
};
|
|
18040
|
+
const d = this.options.valueSetOptions.find(
|
|
18041
|
+
(m) => m.columnName === l.valueAttribute
|
|
18042
|
+
);
|
|
18043
|
+
if (d) {
|
|
18044
|
+
let m = this.entity[d.valueColumn.dbColumnName];
|
|
18045
|
+
m && this.$emit("set-value", {
|
|
18046
|
+
value: m,
|
|
18047
|
+
targetColumnName: this.column.prop,
|
|
18048
|
+
options: this.optionItems,
|
|
18049
|
+
valueAttribute: this.valueAttribute
|
|
18050
|
+
});
|
|
18055
18051
|
}
|
|
18056
18052
|
}
|
|
18057
18053
|
} else
|
|
@@ -18111,11 +18107,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18111
18107
|
this.optionItems && o && (l = this.getTargetColumnValue(e, o));
|
|
18112
18108
|
let s = null;
|
|
18113
18109
|
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);
|
|
18110
|
+
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
18111
|
const m = this.getSelectedOptionItem(e);
|
|
18120
18112
|
this.$emit("set-value", {
|
|
18121
18113
|
value: l,
|
|
@@ -18131,11 +18123,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18131
18123
|
setColumnValue(e, t, n) {
|
|
18132
18124
|
let o = null;
|
|
18133
18125
|
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", {
|
|
18126
|
+
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
18127
|
value: t,
|
|
18140
18128
|
sourceColumnName: e,
|
|
18141
18129
|
targetColumnName: o,
|
|
@@ -18154,7 +18142,10 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18154
18142
|
n = !0;
|
|
18155
18143
|
else if (this.lastValues.length > e.length) {
|
|
18156
18144
|
n = !1;
|
|
18157
|
-
const m = [...this.lastValues, ...e], _ = new Set(m), E = Array.from(_), S = [
|
|
18145
|
+
const m = [...this.lastValues, ...e], _ = new Set(m), E = Array.from(_), S = [
|
|
18146
|
+
...E.filter((k) => !this.lastValues.includes(k)),
|
|
18147
|
+
...E.filter((k) => !e.includes(k))
|
|
18148
|
+
];
|
|
18158
18149
|
S && S.length > 0 && (o = S[0]);
|
|
18159
18150
|
}
|
|
18160
18151
|
this.lastValues = JSON.parse(JSON.stringify(e));
|
|
@@ -18163,9 +18154,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18163
18154
|
if (t)
|
|
18164
18155
|
this.setAllTagValue(!1);
|
|
18165
18156
|
else {
|
|
18166
|
-
const s = e[e.length - 1], d = this.optionItems.filter(
|
|
18167
|
-
(m) => m[this.valueAttribute] === s
|
|
18168
|
-
);
|
|
18157
|
+
const s = e[e.length - 1], d = this.optionItems.filter((m) => m[this.valueAttribute] === s);
|
|
18169
18158
|
d && d.length > 0 && this.setTagValue(null, !1, d[0]);
|
|
18170
18159
|
}
|
|
18171
18160
|
else
|
|
@@ -18177,11 +18166,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18177
18166
|
if (n !== this.valueAttribute) {
|
|
18178
18167
|
let o = null;
|
|
18179
18168
|
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
|
-
)));
|
|
18169
|
+
l && (o = l.name, this.isSql === !0 && (o = l.dbColumnName, o = getPropNameWhenJoinTable(o, this.isJoinTable, this.tableName)));
|
|
18185
18170
|
let s;
|
|
18186
18171
|
if (o)
|
|
18187
18172
|
if (e)
|
|
@@ -18213,19 +18198,15 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18213
18198
|
if (l !== this.valueAttribute) {
|
|
18214
18199
|
let s = null;
|
|
18215
18200
|
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
|
-
)));
|
|
18201
|
+
d && (s = d.name, this.isSql === !0 && (s = d.dbColumnName, s = getPropNameWhenJoinTable(s, this.isJoinTable, this.tableName)));
|
|
18221
18202
|
let m;
|
|
18222
18203
|
if (s) {
|
|
18223
18204
|
const _ = getEntityFieldValue(this.entity, s);
|
|
18224
18205
|
if (t) {
|
|
18225
18206
|
const E = this.value.indexOf(e);
|
|
18226
18207
|
if (_ != null && _ !== "") {
|
|
18227
|
-
|
|
18228
|
-
S.splice(E, 1), m = S.join(",");
|
|
18208
|
+
let S = _;
|
|
18209
|
+
typeof _ == "string" && (S = _.split(",")), S.splice(E, 1), m = S.join(",");
|
|
18229
18210
|
}
|
|
18230
18211
|
} else {
|
|
18231
18212
|
let E;
|
|
@@ -18243,15 +18224,11 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18243
18224
|
if (this.baseProps.multiple !== void 0 && this.baseProps.multiple === !0 && Array.isArray(e)) {
|
|
18244
18225
|
let o = 0;
|
|
18245
18226
|
e.forEach((l) => {
|
|
18246
|
-
const s = this.optionItems.filter(
|
|
18247
|
-
(d) => d[this.valueAttribute] === l
|
|
18248
|
-
);
|
|
18227
|
+
const s = this.optionItems.filter((d) => d[this.valueAttribute] === l);
|
|
18249
18228
|
s && s.length > 0 && (n += s[0][t], o < e.length - 1 && (n += ","), o++);
|
|
18250
18229
|
});
|
|
18251
18230
|
} else {
|
|
18252
|
-
const o = this.optionItems.filter(
|
|
18253
|
-
(l) => l[this.valueAttribute] === e
|
|
18254
|
-
);
|
|
18231
|
+
const o = this.optionItems.filter((l) => l[this.valueAttribute] === e);
|
|
18255
18232
|
o && o.length > 0 && (n = o[0][t]);
|
|
18256
18233
|
}
|
|
18257
18234
|
return n;
|
|
@@ -18272,7 +18249,6 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
|
|
|
18272
18249
|
emits: [
|
|
18273
18250
|
"set-default-value",
|
|
18274
18251
|
"load-completed",
|
|
18275
|
-
"update:value",
|
|
18276
18252
|
"set-value",
|
|
18277
18253
|
"update:value",
|
|
18278
18254
|
"focus",
|
|
@@ -18361,7 +18337,7 @@ function _sfc_render$10(e, t, n, o, l, s) {
|
|
|
18361
18337
|
}, 16, ["allow-create", "clearable", "filterable", "loading", "model-value", "placeholder", "remote", "remote-method", "size", "style", "title", "value-key", "onChange", "onClear", "onFocus", "onVisibleChange"])
|
|
18362
18338
|
]);
|
|
18363
18339
|
}
|
|
18364
|
-
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-
|
|
18340
|
+
const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-2a7f7755"]]);
|
|
18365
18341
|
function setObjectPropRule(e, t, n) {
|
|
18366
18342
|
const o = {}, l = e.prop;
|
|
18367
18343
|
t || (t = {});
|
|
@@ -19978,11 +19954,25 @@ const _sfc_main$1m = {
|
|
|
19978
19954
|
mounted() {
|
|
19979
19955
|
const e = this;
|
|
19980
19956
|
bus.$on(this.componentId + "-pickFileDone", (t) => {
|
|
19981
|
-
console.log(
|
|
19957
|
+
console.log(
|
|
19958
|
+
"superPage666611---pickFileDone--data.componentId=",
|
|
19959
|
+
t.componentId,
|
|
19960
|
+
"data.listCode=",
|
|
19961
|
+
t.listCode,
|
|
19962
|
+
"data=",
|
|
19963
|
+
t
|
|
19964
|
+
), e.$refs.fileUploadRef && e.$refs.fileUploadRef.pickFileDone(t);
|
|
19982
19965
|
}), bus.$on(this.componentId + "-uploadFileDone", (t) => {
|
|
19983
19966
|
e.$refs.fileUploadRef && e.$refs.fileUploadRef.uploadFileDone(t);
|
|
19984
19967
|
}), bus.$on(this.componentId + "-scanDone", (t) => {
|
|
19985
|
-
console.log(
|
|
19968
|
+
console.log(
|
|
19969
|
+
"superPage666611---scanDone--data.componentId=",
|
|
19970
|
+
t.componentId,
|
|
19971
|
+
"data.listCode=",
|
|
19972
|
+
t.listCode,
|
|
19973
|
+
"data=",
|
|
19974
|
+
t
|
|
19975
|
+
), e.innerValue = t.result, e.blurEvent();
|
|
19986
19976
|
});
|
|
19987
19977
|
},
|
|
19988
19978
|
destroyed() {
|
|
@@ -20396,7 +20386,8 @@ const _sfc_main$1m = {
|
|
|
20396
20386
|
this.innerValue && typeof this.innerValue != "number" && this.innerValue.indexOf("saveAll") !== -1 && this.innerValue.splice(this.innerValue.indexOf("saveAll"), 1);
|
|
20397
20387
|
const o = this.innerValue && this.innerValue.length > 0 ? this.innerValue.join(",") : null;
|
|
20398
20388
|
n && this.cellEvent("input", o), this.cellEvent("change", o), this.setCellValue(this.column.prop, o, "change");
|
|
20399
|
-
}
|
|
20389
|
+
} else
|
|
20390
|
+
this.cellEvent("change", e);
|
|
20400
20391
|
},
|
|
20401
20392
|
getDefaultValue(e) {
|
|
20402
20393
|
if (this.isInvalidValue(e)) {
|
|
@@ -22506,7 +22497,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
|
|
|
22506
22497
|
], 4))
|
|
22507
22498
|
]);
|
|
22508
22499
|
}
|
|
22509
|
-
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]),
|
|
22500
|
+
const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_537297a0_lang = "", _sfc_main$1h = {
|
|
22510
22501
|
components: {
|
|
22511
22502
|
DynamicInput,
|
|
22512
22503
|
RowOperation,
|
|
@@ -22694,49 +22685,42 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
|
|
|
22694
22685
|
},
|
|
22695
22686
|
mounted() {
|
|
22696
22687
|
$on(bus, "un-edit", (t) => {
|
|
22697
|
-
if (this.column.componentType && (this.column.componentType === "multiselect" || this.column.componentType === "select"))
|
|
22698
|
-
|
|
22699
|
-
|
|
22700
|
-
|
|
22701
|
-
|
|
22702
|
-
|
|
22703
|
-
|
|
22704
|
-
|
|
22705
|
-
|
|
22706
|
-
|
|
22707
|
-
|
|
22688
|
+
if (this.column.componentType && (this.column.componentType === "multiselect" || this.column.componentType === "select")) {
|
|
22689
|
+
const n = isDynamicDataSourceSource(this.column);
|
|
22690
|
+
let o = t.row[this.column.prop];
|
|
22691
|
+
if (!n)
|
|
22692
|
+
o && Object.prototype.toString.apply(o) === "[object Array]" && (t.row[this.column.prop] = o.join(","));
|
|
22693
|
+
else if ("_dynamic-source-data-" + this.column.prop in this.column) {
|
|
22694
|
+
const l = this.column["_dynamic-source-data-" + this.column.prop], s = l.valueSetOptions;
|
|
22695
|
+
let d;
|
|
22696
|
+
for (let m = 0; m < s.length; m++) {
|
|
22697
|
+
const _ = s[m];
|
|
22698
|
+
if (this.column.prop === _.valueColumn.dbColumnName) {
|
|
22699
|
+
d = _.columnName;
|
|
22700
|
+
break;
|
|
22708
22701
|
}
|
|
22709
|
-
|
|
22710
|
-
|
|
22711
|
-
|
|
22712
|
-
|
|
22713
|
-
|
|
22714
|
-
|
|
22715
|
-
// 筛选动态数据源选项值字段对应的当前字段所映射的字段, 例如 根据工厂编码找工厂编码对应的工厂名称
|
|
22716
|
-
// 找出名称后赋值给当前字段
|
|
22717
|
-
m[o.valueAttribute] === d
|
|
22718
|
-
)
|
|
22719
|
-
)[s]), t.row[this.column.prop] = d;
|
|
22720
|
-
else {
|
|
22721
|
-
if (d && s !== o.valueAttribute) {
|
|
22722
|
-
const m = [];
|
|
22723
|
-
d.forEach((_) => {
|
|
22724
|
-
s !== o.valueAttribute && m.push(
|
|
22725
|
-
o.optionItems.find((E) => E[o.valueAttribute] === _)[s]
|
|
22726
|
-
);
|
|
22727
|
-
}), d = m;
|
|
22728
|
-
}
|
|
22729
|
-
t.row[this.column.prop] = d.join(",");
|
|
22702
|
+
}
|
|
22703
|
+
if (d) {
|
|
22704
|
+
if (this.column.componentType === "select") {
|
|
22705
|
+
if (d !== l.valueAttribute) {
|
|
22706
|
+
const m = l.optionItems.find((_) => _[l.valueAttribute] === o);
|
|
22707
|
+
m && (o = m[d]);
|
|
22730
22708
|
}
|
|
22709
|
+
t.row[this.column.prop] = o;
|
|
22710
|
+
} else if (o && d !== l.valueAttribute) {
|
|
22711
|
+
typeof o == "string" && (o = o.split(","));
|
|
22712
|
+
const m = [];
|
|
22713
|
+
o.forEach((_) => {
|
|
22714
|
+
if (d !== l.valueAttribute) {
|
|
22715
|
+
const E = l.optionItems.find((S) => S[l.valueAttribute] === _);
|
|
22716
|
+
E && m.push(E[d]);
|
|
22717
|
+
}
|
|
22718
|
+
}), m.length > 0 && (o = m, t.row[this.column.prop] = o.join(","));
|
|
22731
22719
|
}
|
|
22732
|
-
} else {
|
|
22733
|
-
const o = t.row[this.column.prop];
|
|
22734
|
-
o && Object.prototype.toString.apply(o) === "[object Array]" && (t.row[this.column.prop] = o.join(","));
|
|
22735
22720
|
}
|
|
22736
|
-
else
|
|
22737
|
-
const o = t.row[this.column.prop];
|
|
22721
|
+
} else
|
|
22738
22722
|
o && Object.prototype.toString.apply(o) === "[object Array]" && (t.row[this.column.prop] = o.join(","));
|
|
22739
|
-
|
|
22723
|
+
}
|
|
22740
22724
|
});
|
|
22741
22725
|
const e = this;
|
|
22742
22726
|
this.$parent.$parent && this.$parent.$parent.$options._componentTag === "GroupColumn" && bus.$on("prohibitToEdit", (t) => {
|
|
@@ -23032,8 +23016,22 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23032
23016
|
createTextVNode(toDisplayString$1(e.$escapeHtml(re.label)) + " ", 1)
|
|
23033
23017
|
]),
|
|
23034
23018
|
_: 2
|
|
23035
|
-
}, 1032, ["size", "onCommand"])) : (openBlock(), createBlock(
|
|
23036
|
-
key:
|
|
23019
|
+
}, 1032, ["size", "onCommand"])) : re.props.customControl ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(re.props.customControl), {
|
|
23020
|
+
key: n.column.prop + "_" + n.rowIndex + "_" + n.currentPage,
|
|
23021
|
+
disabled: !0,
|
|
23022
|
+
row: n.pageGridData[n.rowIndex],
|
|
23023
|
+
entity: n.pageGridData[n.rowIndex],
|
|
23024
|
+
prop: n.column.prop,
|
|
23025
|
+
parent: l.parentFormData,
|
|
23026
|
+
"row-index": n.rowIndex,
|
|
23027
|
+
"grid-data": n.gridData,
|
|
23028
|
+
"page-grid-data": n.pageGridData,
|
|
23029
|
+
"current-page": n.currentPage,
|
|
23030
|
+
onRefreshList: s.refreshList
|
|
23031
|
+
}, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "onRefreshList"])), [
|
|
23032
|
+
[z, re.props.permission]
|
|
23033
|
+
]) : (openBlock(), createBlock(S, {
|
|
23034
|
+
key: 2,
|
|
23037
23035
|
column: n.column,
|
|
23038
23036
|
editing: n.row.$editing,
|
|
23039
23037
|
entity: n.row,
|
|
@@ -23291,7 +23289,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
|
|
|
23291
23289
|
}, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
|
|
23292
23290
|
]);
|
|
23293
23291
|
}
|
|
23294
|
-
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-
|
|
23292
|
+
const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-537297a0"]]), normalColumn_vue_vue_type_style_index_0_scoped_358f33d4_lang = "", _sfc_main$1g = {
|
|
23295
23293
|
components: {
|
|
23296
23294
|
DynamicInput,
|
|
23297
23295
|
RowOperation,
|
|
@@ -23429,7 +23427,9 @@ const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["rende
|
|
|
23429
23427
|
created() {
|
|
23430
23428
|
this.column.width && (this.cellWidth = this.column.width - 10);
|
|
23431
23429
|
const e = store$1.get(this.listCode);
|
|
23432
|
-
e && e.options && e.options.isFormSubTable && (this.isFormSubTable = e.options.isFormSubTable), e && e.options && e.options.subTableCanAdd !== void 0 && e.options.subTableCanAdd !== null && (this.subTableCanAdd = e.options.subTableCanAdd)
|
|
23430
|
+
e && e.options && e.options.isFormSubTable && (this.isFormSubTable = e.options.isFormSubTable), e && e.options && e.options.subTableCanAdd !== void 0 && e.options.subTableCanAdd !== null && (this.subTableCanAdd = e.options.subTableCanAdd);
|
|
23431
|
+
const t = getContentAlign(this.column, e);
|
|
23432
|
+
t && (this.align = t);
|
|
23433
23433
|
const n = getHeaderAlign(this.column, e);
|
|
23434
23434
|
n && (this.headerAlign = n), this.label = this.getHeader(), this.column.operations, this.isShowAdd = this.isFormSubTable && this.column.prop === "operation" && this.subTableCanAdd && e.options && e.options.showOperationButton;
|
|
23435
23435
|
},
|
|
@@ -23559,7 +23559,7 @@ function _sfc_render$U(e, t, n, o, l, s) {
|
|
|
23559
23559
|
_: 1
|
|
23560
23560
|
}, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "width"]);
|
|
23561
23561
|
}
|
|
23562
|
-
const NormalColumn = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$U], ["__scopeId", "data-v-
|
|
23562
|
+
const NormalColumn = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$U], ["__scopeId", "data-v-358f33d4"]]), _sfc_main$1f = {
|
|
23563
23563
|
name: "GroupColumn",
|
|
23564
23564
|
components: {
|
|
23565
23565
|
NormalColumn
|
|
@@ -39303,7 +39303,7 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39303
39303
|
getSelectionId() {
|
|
39304
39304
|
return this.selectionIds && this.selectionIds.length > 0 ? this.selectionIds[0] : null;
|
|
39305
39305
|
}
|
|
39306
|
-
},
|
|
39306
|
+
}, superNineGrid_vue_vue_type_style_index_0_scoped_a49c2839_rel_stylesheet_2Fscss_lang = "", _sfc_main$p = {
|
|
39307
39307
|
name: "SuperNineGrid",
|
|
39308
39308
|
components: {
|
|
39309
39309
|
SearchForm
|
|
@@ -39394,7 +39394,8 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39394
39394
|
colSpan: 6,
|
|
39395
39395
|
slotBefore: "before",
|
|
39396
39396
|
titleWidth: s,
|
|
39397
|
-
slotState: "bottom"
|
|
39397
|
+
slotState: "bottom",
|
|
39398
|
+
isShowBottom: !0
|
|
39398
39399
|
};
|
|
39399
39400
|
},
|
|
39400
39401
|
computed: {},
|
|
@@ -39451,33 +39452,13 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39451
39452
|
const o = store.get(this.storeId);
|
|
39452
39453
|
if (e === "content") {
|
|
39453
39454
|
let l = "";
|
|
39454
|
-
isHasOptionFunction("setContent", this.storeId) && (l = o.options.getContent.call(this, t)), (l === void 0 || l === "") && (this.props && this.props.content ? l = this.objectPropValue(
|
|
39455
|
-
t,
|
|
39456
|
-
this.propCloumns.content,
|
|
39457
|
-
this.props.content
|
|
39458
|
-
) : this.props && this.props.title && (l = this.objectPropValue(
|
|
39459
|
-
t,
|
|
39460
|
-
this.propCloumns.title,
|
|
39461
|
-
this.props.title
|
|
39462
|
-
))), n = l;
|
|
39455
|
+
isHasOptionFunction("setContent", this.storeId) && (l = o.options.getContent.call(this, t)), (l === void 0 || l === "") && (this.props && this.props.content ? l = this.objectPropValue(t, this.propCloumns.content, this.props.content) : this.props && this.props.title && (l = this.objectPropValue(t, this.propCloumns.title, this.props.title))), n = l;
|
|
39463
39456
|
} else if (e === "title") {
|
|
39464
39457
|
let l = "";
|
|
39465
|
-
isHasOptionFunction("setTitle", this.storeId) && (l = o.options.setTitle.call(this, t)), (l === void 0 || l === "") && (this.props && this.props.title ? l = this.objectPropValue(
|
|
39466
|
-
t,
|
|
39467
|
-
this.propCloumns.title,
|
|
39468
|
-
this.props.title
|
|
39469
|
-
) : this.props && this.props.content && (l = this.objectPropValue(
|
|
39470
|
-
t,
|
|
39471
|
-
this.propCloumns.content,
|
|
39472
|
-
this.props.content
|
|
39473
|
-
))), n = l;
|
|
39458
|
+
isHasOptionFunction("setTitle", this.storeId) && (l = o.options.setTitle.call(this, t)), (l === void 0 || l === "") && (this.props && this.props.title ? l = this.objectPropValue(t, this.propCloumns.title, this.props.title) : this.props && this.props.content && (l = this.objectPropValue(t, this.propCloumns.content, this.props.content))), n = l;
|
|
39474
39459
|
} else if (e === "subTitle") {
|
|
39475
39460
|
let l = "";
|
|
39476
|
-
isHasOptionFunction("setSubTitle", this.storeId) && (l = o.options.setSubTitle.call(this, t)), (l === void 0 || l === "") && this.props && this.props.subTitle && (l = this.objectPropValue(
|
|
39477
|
-
t,
|
|
39478
|
-
this.propCloumns.subTitle,
|
|
39479
|
-
this.props.subTitle
|
|
39480
|
-
)), n = l;
|
|
39461
|
+
isHasOptionFunction("setSubTitle", this.storeId) && (l = o.options.setSubTitle.call(this, t)), (l === void 0 || l === "") && this.props && this.props.subTitle && (l = this.objectPropValue(t, this.propCloumns.subTitle, this.props.subTitle)), n = l;
|
|
39481
39462
|
}
|
|
39482
39463
|
return n === void 0 && (n = ""), n;
|
|
39483
39464
|
},
|
|
@@ -39511,13 +39492,9 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39511
39492
|
fetchData(e, t) {
|
|
39512
39493
|
return new Promise((n, o) => {
|
|
39513
39494
|
if (this.clearSelections(), this.getPropColumns(), this.isLoading = !0, this.hasLoadData = !1, t === void 0 || t === !1) {
|
|
39514
|
-
const m = window.sessionStorage.getItem(
|
|
39515
|
-
"refreshList-" + this.storeId
|
|
39516
|
-
);
|
|
39495
|
+
const m = window.sessionStorage.getItem("refreshList-" + this.storeId);
|
|
39517
39496
|
if (m !== void 0 && m === "true") {
|
|
39518
|
-
const _ = window.sessionStorage.getItem(
|
|
39519
|
-
"searchParam-" + this.storeId
|
|
39520
|
-
);
|
|
39497
|
+
const _ = window.sessionStorage.getItem("searchParam-" + this.storeId);
|
|
39521
39498
|
if (_ != null && _ !== "") {
|
|
39522
39499
|
e = JSON.parse(_);
|
|
39523
39500
|
const E = e.pagination;
|
|
@@ -39535,10 +39512,7 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39535
39512
|
s[m] = l.options.extraParam[m];
|
|
39536
39513
|
l.searchParam = e, l.url = this.url;
|
|
39537
39514
|
const d = this.url;
|
|
39538
|
-
window.sessionStorage.setItem(
|
|
39539
|
-
"searchParam-" + this.storeId,
|
|
39540
|
-
JSON.stringify(s)
|
|
39541
|
-
), this.$http.post(d, s).then((m) => {
|
|
39515
|
+
window.sessionStorage.setItem("searchParam-" + this.storeId, JSON.stringify(s)), this.$http.post(d, s).then((m) => {
|
|
39542
39516
|
if (isHasOptionFunction("gridDataLoaded", this.storeId)) {
|
|
39543
39517
|
const _ = l.options.gridDataLoaded.call(this, {
|
|
39544
39518
|
gridData: m.data,
|
|
@@ -39547,9 +39521,7 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39547
39521
|
_ ? this.gridData = _ : this.gridData = m.data;
|
|
39548
39522
|
} else
|
|
39549
39523
|
this.gridData = m.data;
|
|
39550
|
-
this.gridData || (this.gridData = []), this.pagination !== null && (this.pagination.total = m.total), l.gridData = this.gridData, l.orgGridData = [].concat(
|
|
39551
|
-
JSON.parse(JSON.stringify(this.gridData))
|
|
39552
|
-
), l.pagination = this.pagination, l.loaded = !0, this.hasLoadData = !0, n();
|
|
39524
|
+
this.gridData || (this.gridData = []), this.pagination !== null && (this.pagination.total = m.total), l.gridData = this.gridData, l.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), l.pagination = this.pagination, l.loaded = !0, this.hasLoadData = !0, n();
|
|
39553
39525
|
}).catch((m) => {
|
|
39554
39526
|
isHasOptionFunction("loadError", this.storeId) && l.options.loadError.call(this, this.code, m), o(m);
|
|
39555
39527
|
});
|
|
@@ -39577,20 +39549,11 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39577
39549
|
for (var n = 0; n < this.options.dynamicColumns.length; n++)
|
|
39578
39550
|
this.options.dynamicColumns[n].dynamic = !0, t.columns.push(this.options.dynamicColumns[n]);
|
|
39579
39551
|
if (t.lineEdit = this.lineEdit, t.basicInfo = this.basicInfo, t.pagination = this.pagination, t.query = this.query, this.gridData = e.gridData, isHasOptionFunction("gridDataLoaded", this.storeId)) {
|
|
39580
|
-
const o = t.options.gridDataLoaded.call(
|
|
39581
|
-
this,
|
|
39582
|
-
e.gridData
|
|
39583
|
-
);
|
|
39552
|
+
const o = t.options.gridDataLoaded.call(this, e.gridData);
|
|
39584
39553
|
o ? this.gridData = o : this.gridData = e.gridData;
|
|
39585
39554
|
} else
|
|
39586
39555
|
this.gridData = e.gridData;
|
|
39587
|
-
this.pagination != null && (this.pagination.total = e.total), this.gridData || (this.gridData = []), t.gridData = this.gridData, t.orgGridData = [].concat(
|
|
39588
|
-
JSON.parse(JSON.stringify(this.gridData))
|
|
39589
|
-
), t.pagination = this.pagination, isHasOptionFunction("gridComplete", this.storeId) && t.options.gridComplete.call(
|
|
39590
|
-
this,
|
|
39591
|
-
this.gridData,
|
|
39592
|
-
t.columns
|
|
39593
|
-
);
|
|
39556
|
+
this.pagination != null && (this.pagination.total = e.total), this.gridData || (this.gridData = []), t.gridData = this.gridData, t.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), t.pagination = this.pagination, isHasOptionFunction("gridComplete", this.storeId) && t.options.gridComplete.call(this, this.gridData, t.columns);
|
|
39594
39557
|
}).catch((e) => {
|
|
39595
39558
|
isHasOptionFunction("loadError", this.storeId) && store.get(this.storeId).options.loadError.call(this, this.code, e);
|
|
39596
39559
|
});
|
|
@@ -39680,9 +39643,7 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39680
39643
|
Sortable.create(t, {
|
|
39681
39644
|
draggable: ".col-content",
|
|
39682
39645
|
onEnd({ newIndex: o, oldIndex: l }) {
|
|
39683
|
-
document.querySelector(
|
|
39684
|
-
"#" + n.gridId + " #_addCardId_"
|
|
39685
|
-
) != null && (l > 0 && (l = l - 1), o > 0 && (o = o - 1));
|
|
39646
|
+
document.querySelector("#" + n.gridId + " #_addCardId_") != null && (l > 0 && (l = l - 1), o > 0 && (o = o - 1));
|
|
39686
39647
|
const d = {
|
|
39687
39648
|
oldIndex: l,
|
|
39688
39649
|
newIndex: o,
|
|
@@ -39736,24 +39697,17 @@ const SearchForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_r
|
|
|
39736
39697
|
return isHasOptionFunction("changeState", this.storeId) ? t.options.changeState.call(this, e) : !1;
|
|
39737
39698
|
}
|
|
39738
39699
|
},
|
|
39739
|
-
emits: [
|
|
39740
|
-
"sort-change",
|
|
39741
|
-
,
|
|
39742
|
-
"click",
|
|
39743
|
-
"afterDrag",
|
|
39744
|
-
"unselect",
|
|
39745
|
-
"select",
|
|
39746
|
-
"cancel-search",
|
|
39747
|
-
"add",
|
|
39748
|
-
,
|
|
39749
|
-
]
|
|
39700
|
+
emits: ["sort-change", , "click", "afterDrag", "unselect", "select", "cancel-search", "add", ,]
|
|
39750
39701
|
}, _hoisted_1$d = { class: "nine-grid-area" }, _hoisted_2$9 = ["id"], _hoisted_3$8 = { style: { "margin-top": "7px" } }, _hoisted_4$6 = ["onClick", "onMouseenter"], _hoisted_5$3 = {
|
|
39751
39702
|
class: "image",
|
|
39752
39703
|
style: { padding: "15px", "box-sizing": "border-box" }
|
|
39753
39704
|
}, _hoisted_6$2 = {
|
|
39754
39705
|
key: 0,
|
|
39755
39706
|
style: { "margin-left": "2px", color: "#00b42a", "background-color": "#e8ffea", width: "68px", "text-align": "center", display: "inline-block" }
|
|
39756
|
-
}, _hoisted_7$2 = ["title"], _hoisted_8 = { class: "button-style" }, _hoisted_9 = { style: { padding: "10px", "box-sizing": "border-box", width: "50px" } }, _hoisted_10 = { style: { "padding-left": "15px" } }, _hoisted_11 = ["onClick"], _hoisted_12 = {
|
|
39707
|
+
}, _hoisted_7$2 = ["title"], _hoisted_8 = { class: "button-style" }, _hoisted_9 = { style: { padding: "10px", "box-sizing": "border-box", width: "50px" } }, _hoisted_10 = { style: { "padding-left": "15px" } }, _hoisted_11 = ["onClick"], _hoisted_12 = {
|
|
39708
|
+
key: 0,
|
|
39709
|
+
style: { position: "absolute", right: "5%", bottom: "9%" }
|
|
39710
|
+
};
|
|
39757
39711
|
function _sfc_render$e(e, t, n, o, l, s) {
|
|
39758
39712
|
const d = resolveComponent("search-form"), m = resolveComponent("Plus"), _ = resolveComponent("el-icon"), E = resolveComponent("el-card"), S = resolveComponent("el-col"), k = resolveComponent("el-tooltip"), O = resolveComponent("SuccessFilled"), B = resolveComponent("el-button"), R = resolveComponent("el-row"), H = resolveComponent("el-pagination"), j = resolveDirective("permission");
|
|
39759
39713
|
return openBlock(), createElementBlock("div", null, [
|
|
@@ -39891,10 +39845,7 @@ function _sfc_render$e(e, t, n, o, l, s) {
|
|
|
39891
39845
|
]),
|
|
39892
39846
|
_: 2
|
|
39893
39847
|
}, 1032, ["content"])), [
|
|
39894
|
-
[
|
|
39895
|
-
j,
|
|
39896
|
-
z.permission ? z.permission : "true"
|
|
39897
|
-
]
|
|
39848
|
+
[j, z.permission ? z.permission : "true"]
|
|
39898
39849
|
]) : withDirectives((openBlock(), createElementBlock("em", {
|
|
39899
39850
|
key: z.name,
|
|
39900
39851
|
class: normalizeClass(z.name + " icons"),
|
|
@@ -39902,17 +39853,14 @@ function _sfc_render$e(e, t, n, o, l, s) {
|
|
|
39902
39853
|
}, [
|
|
39903
39854
|
createTextVNode(toDisplayString$1(z.name), 1)
|
|
39904
39855
|
], 10, _hoisted_11)), [
|
|
39905
|
-
[
|
|
39906
|
-
j,
|
|
39907
|
-
z.permission ? z.permission : "true"
|
|
39908
|
-
]
|
|
39856
|
+
[j, z.permission ? z.permission : "true"]
|
|
39909
39857
|
])
|
|
39910
39858
|
], 64)) : createCommentVNode("", !0)
|
|
39911
39859
|
], 64))), 256)),
|
|
39912
39860
|
renderSlot(e.$slots, l.slotBefore, { params: q }, void 0, !0)
|
|
39913
39861
|
])
|
|
39914
39862
|
]),
|
|
39915
|
-
|
|
39863
|
+
l.isShowBottom ? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
39916
39864
|
renderSlot(e.$slots, l.slotState, { params: q }, void 0, !0),
|
|
39917
39865
|
l.isShowEnableState ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
39918
39866
|
s.showEnableButton(q) ? (openBlock(), createBlock(B, {
|
|
@@ -39937,7 +39885,7 @@ function _sfc_render$e(e, t, n, o, l, s) {
|
|
|
39937
39885
|
_: 2
|
|
39938
39886
|
}, 1032, ["onClick"]))
|
|
39939
39887
|
], 64)) : createCommentVNode("", !0)
|
|
39940
|
-
])
|
|
39888
|
+
])) : createCommentVNode("", !0)
|
|
39941
39889
|
])
|
|
39942
39890
|
], 40, _hoisted_4$6)
|
|
39943
39891
|
]),
|
|
@@ -39965,7 +39913,7 @@ function _sfc_render$e(e, t, n, o, l, s) {
|
|
|
39965
39913
|
])
|
|
39966
39914
|
]);
|
|
39967
39915
|
}
|
|
39968
|
-
const SuperNineGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$e], ["__scopeId", "data-v-
|
|
39916
|
+
const SuperNineGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$e], ["__scopeId", "data-v-a49c2839"]]);
|
|
39969
39917
|
SuperNineGrid.install = function(e) {
|
|
39970
39918
|
e.component(SuperNineGrid.name, SuperNineGrid);
|
|
39971
39919
|
};
|
|
@@ -71900,7 +71848,7 @@ Required: ` + u.join(", "));
|
|
|
71900
71848
|
ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
|
|
71901
71849
|
ua.DOM.unbind(document, "mouseup", f);
|
|
71902
71850
|
});
|
|
71903
|
-
},
|
|
71851
|
+
}, e8 = function(r) {
|
|
71904
71852
|
r.on("focusout", function() {
|
|
71905
71853
|
fg(r);
|
|
71906
71854
|
});
|
|
@@ -71908,23 +71856,23 @@ Required: ` + u.join(", "));
|
|
|
71908
71856
|
r.on("mouseup touchend", function(f) {
|
|
71909
71857
|
u.throttle();
|
|
71910
71858
|
});
|
|
71911
|
-
},
|
|
71859
|
+
}, t8 = function(r, u) {
|
|
71912
71860
|
var f = Wr().browser;
|
|
71913
|
-
f.isIE() ?
|
|
71861
|
+
f.isIE() ? e8(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
|
|
71914
71862
|
QC(p) || fg(r);
|
|
71915
71863
|
});
|
|
71916
|
-
},
|
|
71864
|
+
}, n8 = function(r) {
|
|
71917
71865
|
var u = g1(function() {
|
|
71918
71866
|
fg(r);
|
|
71919
71867
|
}, 0);
|
|
71920
71868
|
r.on("init", function() {
|
|
71921
|
-
r.inline && Cc(r, u),
|
|
71869
|
+
r.inline && Cc(r, u), t8(r, u);
|
|
71922
71870
|
}), r.on("remove", function() {
|
|
71923
71871
|
u.cancel();
|
|
71924
71872
|
});
|
|
71925
71873
|
}, rd, vg = ua.DOM, p4 = function(r) {
|
|
71926
71874
|
return wc.isEditorUIElement(r);
|
|
71927
|
-
},
|
|
71875
|
+
}, r8 = function(r) {
|
|
71928
71876
|
var u = r.classList;
|
|
71929
71877
|
return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
|
|
71930
71878
|
}, Av = function(r, u) {
|
|
@@ -71932,7 +71880,7 @@ Required: ` + u.join(", "));
|
|
|
71932
71880
|
return p4(y) || (f ? r.dom.is(y, f) : !1);
|
|
71933
71881
|
});
|
|
71934
71882
|
return p !== null;
|
|
71935
|
-
},
|
|
71883
|
+
}, o8 = function(r) {
|
|
71936
71884
|
try {
|
|
71937
71885
|
var u = Xu(be.fromDom(r.getElement()));
|
|
71938
71886
|
return t_(u).fold(function() {
|
|
@@ -71943,15 +71891,15 @@ Required: ` + u.join(", "));
|
|
|
71943
71891
|
} catch {
|
|
71944
71892
|
return document.body;
|
|
71945
71893
|
}
|
|
71946
|
-
},
|
|
71894
|
+
}, a8 = function(r, u) {
|
|
71947
71895
|
var f = u.editor;
|
|
71948
|
-
|
|
71896
|
+
n8(f), f.on("focusin", function() {
|
|
71949
71897
|
var p = r.focusedEditor;
|
|
71950
71898
|
p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
|
|
71951
71899
|
}), f.on("focusout", function() {
|
|
71952
71900
|
_r.setEditorTimeout(f, function() {
|
|
71953
71901
|
var p = r.focusedEditor;
|
|
71954
|
-
!Av(f,
|
|
71902
|
+
!Av(f, o8(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71955
71903
|
});
|
|
71956
71904
|
}), rd || (rd = function(p) {
|
|
71957
71905
|
var y = r.activeEditor;
|
|
@@ -71959,18 +71907,18 @@ Required: ` + u.join(", "));
|
|
|
71959
71907
|
C.ownerDocument === document && C !== document.body && !Av(y, C) && r.focusedEditor === y && (y.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
|
|
71960
71908
|
});
|
|
71961
71909
|
}, vg.bind(document, "focusin", rd));
|
|
71962
|
-
},
|
|
71910
|
+
}, i8 = function(r, u) {
|
|
71963
71911
|
r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
|
|
71964
71912
|
}, m4 = function(r) {
|
|
71965
|
-
r.on("AddEditor", Ue(
|
|
71913
|
+
r.on("AddEditor", Ue(a8, r)), r.on("RemoveEditor", Ue(i8, r));
|
|
71966
71914
|
}, Iv = function(r, u) {
|
|
71967
71915
|
return r.dom.getParent(u, function(f) {
|
|
71968
71916
|
return r.dom.getContentEditable(f) === "true";
|
|
71969
71917
|
});
|
|
71970
|
-
},
|
|
71918
|
+
}, l8 = function(r) {
|
|
71971
71919
|
return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
|
|
71972
71920
|
}, g4 = function(r, u) {
|
|
71973
|
-
return
|
|
71921
|
+
return l8(u).bind(function(f) {
|
|
71974
71922
|
return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
|
|
71975
71923
|
});
|
|
71976
71924
|
}, lm = function(r, u) {
|
|
@@ -71992,21 +71940,21 @@ Required: ` + u.join(", "));
|
|
|
71992
71940
|
r.focus();
|
|
71993
71941
|
}, _4 = function(r) {
|
|
71994
71942
|
return e_(r) || GC(r).isSome();
|
|
71995
|
-
},
|
|
71943
|
+
}, s8 = function(r) {
|
|
71996
71944
|
return r.iframeElement && e_(be.fromDom(r.iframeElement));
|
|
71997
|
-
},
|
|
71945
|
+
}, u8 = function(r) {
|
|
71998
71946
|
var u = r.getBody();
|
|
71999
71947
|
return u && _4(be.fromDom(u));
|
|
72000
|
-
},
|
|
71948
|
+
}, c8 = function(r) {
|
|
72001
71949
|
var u = Xu(be.fromDom(r.getElement()));
|
|
72002
71950
|
return t_(u).filter(function(f) {
|
|
72003
|
-
return !
|
|
71951
|
+
return !r8(f.dom) && Av(r, f.dom);
|
|
72004
71952
|
}).isSome();
|
|
72005
71953
|
}, od = function(r) {
|
|
72006
|
-
return r.inline ?
|
|
71954
|
+
return r.inline ? u8(r) : s8(r);
|
|
72007
71955
|
}, y4 = function(r) {
|
|
72008
|
-
return od(r) ||
|
|
72009
|
-
},
|
|
71956
|
+
return od(r) || c8(r);
|
|
71957
|
+
}, f8 = function(r) {
|
|
72010
71958
|
var u = r.selection, f = r.getBody(), p = u.getRng();
|
|
72011
71959
|
r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
|
|
72012
71960
|
r.selection.setRng(C), p = C;
|
|
@@ -72020,7 +71968,7 @@ Required: ` + u.join(", "));
|
|
|
72020
71968
|
}, l_ = function(r) {
|
|
72021
71969
|
return r.editorManager.setActive(r);
|
|
72022
71970
|
}, b4 = function(r, u) {
|
|
72023
|
-
r.removed || (u ? l_(r) :
|
|
71971
|
+
r.removed || (u ? l_(r) : f8(r));
|
|
72024
71972
|
}, w4 = function(r, u, f, p, y) {
|
|
72025
71973
|
var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
|
|
72026
71974
|
return me.from(C).map(be.fromDom).map(function(P) {
|
|
@@ -72086,7 +72034,7 @@ Required: ` + u.join(", "));
|
|
|
72086
72034
|
if (C = A[y], C)
|
|
72087
72035
|
return C;
|
|
72088
72036
|
}
|
|
72089
|
-
},
|
|
72037
|
+
}, d8 = function(r) {
|
|
72090
72038
|
if (!Of(r.value))
|
|
72091
72039
|
return !1;
|
|
72092
72040
|
var u = r.parent;
|
|
@@ -72202,7 +72150,7 @@ Required: ` + u.join(", "));
|
|
|
72202
72150
|
if (u[C.name] || mg(C))
|
|
72203
72151
|
return !1;
|
|
72204
72152
|
}
|
|
72205
|
-
if (C.type === 8 || C.type === 3 && !
|
|
72153
|
+
if (C.type === 8 || C.type === 3 && !d8(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
|
|
72206
72154
|
return !1;
|
|
72207
72155
|
} while (C = Mr(C, y));
|
|
72208
72156
|
return !0;
|
|
@@ -72239,13 +72187,13 @@ Required: ` + u.join(", "));
|
|
|
72239
72187
|
}, E4 = [
|
|
72240
72188
|
"img",
|
|
72241
72189
|
"video"
|
|
72242
|
-
],
|
|
72190
|
+
], h8 = function(r) {
|
|
72243
72191
|
return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
|
|
72244
|
-
},
|
|
72192
|
+
}, v8 = function(r, u) {
|
|
72245
72193
|
var f = oe(r) ? Re(E4, u) : r;
|
|
72246
72194
|
return !f;
|
|
72247
72195
|
}, Qr = function(r, u, f) {
|
|
72248
|
-
return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ?
|
|
72196
|
+
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);
|
|
72249
72197
|
}, h_ = function(r, u, f) {
|
|
72250
72198
|
var p = 1, y, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
|
|
72251
72199
|
for (P.lastIndex = y = f; C = P.exec(u); ) {
|
|
@@ -72277,7 +72225,7 @@ Required: ` + u.join(", "));
|
|
|
72277
72225
|
var P = A.exec(r);
|
|
72278
72226
|
return P ? P.index + P[0].length : p.length;
|
|
72279
72227
|
}
|
|
72280
|
-
},
|
|
72228
|
+
}, p8 = function(r, u) {
|
|
72281
72229
|
var f = r.exec(u);
|
|
72282
72230
|
if (f) {
|
|
72283
72231
|
var p = f[1], y = f[2];
|
|
@@ -72308,7 +72256,7 @@ Required: ` + u.join(", "));
|
|
|
72308
72256
|
return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
|
|
72309
72257
|
}, an = function(ba, fa, pl, pf, fu) {
|
|
72310
72258
|
var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
|
|
72311
|
-
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn &&
|
|
72259
|
+
if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h8(fa) === !1) {
|
|
72312
72260
|
if (du = er[fa], !du && br) {
|
|
72313
72261
|
for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
|
|
72314
72262
|
;
|
|
@@ -72341,7 +72289,7 @@ Required: ` + u.join(", "));
|
|
|
72341
72289
|
continue;
|
|
72342
72290
|
}
|
|
72343
72291
|
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);
|
|
72344
|
-
var vf =
|
|
72292
|
+
var vf = p8(sr, Oe[9]);
|
|
72345
72293
|
if (vf !== null) {
|
|
72346
72294
|
if (vf === "all") {
|
|
72347
72295
|
$e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
|
|
@@ -72421,37 +72369,37 @@ Required: ` + u.join(", "));
|
|
|
72421
72369
|
return { parse: ie };
|
|
72422
72370
|
};
|
|
72423
72371
|
_g.findEndTag = h_;
|
|
72424
|
-
var
|
|
72372
|
+
var m8 = function(r, u) {
|
|
72425
72373
|
var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
|
|
72426
72374
|
return u.replace(f, "");
|
|
72427
72375
|
}, k4 = function(r, u) {
|
|
72428
72376
|
var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, y, C, A, P, M = r.schema;
|
|
72429
|
-
f =
|
|
72377
|
+
f = m8(r.getTempAttrs(), f);
|
|
72430
72378
|
for (var X = M.getShortEndedElements(); P = p.exec(f); )
|
|
72431
72379
|
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;
|
|
72432
72380
|
return rc(f);
|
|
72433
|
-
}, v_ = k4,
|
|
72381
|
+
}, v_ = k4, g8 = function(r, u) {
|
|
72434
72382
|
var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>( | |\\s| |<br \\/>|)<\\/" + f + `>[\r
|
|
72435
72383
|
]*|<br \\/>[\r
|
|
72436
72384
|
]*)$`);
|
|
72437
72385
|
return u.replace(p, "");
|
|
72438
|
-
},
|
|
72386
|
+
}, _8 = function(r, u, f, p) {
|
|
72439
72387
|
var y;
|
|
72440
|
-
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 =
|
|
72388
|
+
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([
|
|
72441
72389
|
"text",
|
|
72442
72390
|
"tree"
|
|
72443
72391
|
], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(y) : u.content = y, u.no_events || r.fire("GetContent", u), u.content;
|
|
72444
72392
|
}, Gr = function(r, u, f) {
|
|
72445
72393
|
return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
|
|
72446
|
-
return
|
|
72394
|
+
return _8(r, u, f, p);
|
|
72447
72395
|
});
|
|
72448
|
-
},
|
|
72396
|
+
}, y8 = Ve.each, p_ = function(r) {
|
|
72449
72397
|
var u = function(f, p) {
|
|
72450
72398
|
if (f.nodeName !== p.nodeName)
|
|
72451
72399
|
return !1;
|
|
72452
72400
|
var y = function(A) {
|
|
72453
72401
|
var P = {};
|
|
72454
|
-
return
|
|
72402
|
+
return y8(r.getAttribs(A), function(M) {
|
|
72455
72403
|
var X = M.nodeName.toLowerCase();
|
|
72456
72404
|
X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
|
|
72457
72405
|
}), P;
|
|
@@ -72728,7 +72676,7 @@ Required: ` + u.join(", "));
|
|
|
72728
72676
|
}, function(p) {
|
|
72729
72677
|
return Ki(r, p.dom, f).isNone();
|
|
72730
72678
|
});
|
|
72731
|
-
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1),
|
|
72679
|
+
}, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b8 = Ue(xc, !0), id = function(r) {
|
|
72732
72680
|
return Hp(r).exists(xu);
|
|
72733
72681
|
}, bg = function(r, u, f) {
|
|
72734
72682
|
var p = Pt(qo(be.fromDom(f.container()), u), Fs), y = Zt(p).getOr(u);
|
|
@@ -72751,7 +72699,7 @@ Required: ` + u.join(", "));
|
|
|
72751
72699
|
"pre",
|
|
72752
72700
|
"pre-wrap"
|
|
72753
72701
|
], r);
|
|
72754
|
-
},
|
|
72702
|
+
}, w8 = function(r) {
|
|
72755
72703
|
return Hp(r).bind(function(u) {
|
|
72756
72704
|
return jm(u, ui);
|
|
72757
72705
|
}).exists(function(u) {
|
|
@@ -72764,14 +72712,14 @@ Required: ` + u.join(", "));
|
|
|
72764
72712
|
}, NN = function(r, u) {
|
|
72765
72713
|
return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
|
|
72766
72714
|
}, Xa = function(r, u) {
|
|
72767
|
-
return
|
|
72715
|
+
return w8(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
|
|
72768
72716
|
}, __ = function(r, u) {
|
|
72769
|
-
return
|
|
72717
|
+
return w8(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
|
|
72770
72718
|
}, Jx = function(r) {
|
|
72771
72719
|
var u = r.container(), f = r.offset();
|
|
72772
72720
|
return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
|
|
72773
72721
|
}, y_ = function(r, u) {
|
|
72774
|
-
return
|
|
72722
|
+
return w8(u) ? !1 : yg(r, u) || b8(r, u) || wg(r, u) || Xx(r, u);
|
|
72775
72723
|
}, N4 = function(r, u) {
|
|
72776
72724
|
return __(r, u) || y_(r, Jx(u));
|
|
72777
72725
|
}, A4 = function(r, u) {
|
|
@@ -72903,11 +72851,11 @@ Required: ` + u.join(", "));
|
|
|
72903
72851
|
return Ro(C.dom, 0);
|
|
72904
72852
|
})), u;
|
|
72905
72853
|
});
|
|
72906
|
-
},
|
|
72854
|
+
}, C8 = function(r, u) {
|
|
72907
72855
|
return Vr(r.schema.getTextInlineElements(), si(u));
|
|
72908
72856
|
}, gm = function(r, u, f, p) {
|
|
72909
72857
|
p === void 0 && (p = !0);
|
|
72910
|
-
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y,
|
|
72858
|
+
var y = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, y, C8(r, f));
|
|
72911
72859
|
r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
|
|
72912
72860
|
p && tE(r, u, A);
|
|
72913
72861
|
}, function(P) {
|
|
@@ -72918,13 +72866,13 @@ Required: ` + u.join(", "));
|
|
|
72918
72866
|
start: r,
|
|
72919
72867
|
end: u
|
|
72920
72868
|
};
|
|
72921
|
-
},
|
|
72869
|
+
}, x8 = function(r, u, f) {
|
|
72922
72870
|
return {
|
|
72923
72871
|
rng: r,
|
|
72924
72872
|
table: u,
|
|
72925
72873
|
cells: f
|
|
72926
72874
|
};
|
|
72927
|
-
},
|
|
72875
|
+
}, E8 = Sf.generate([
|
|
72928
72876
|
{ removeTable: ["element"] },
|
|
72929
72877
|
{ emptyCells: ["cells"] },
|
|
72930
72878
|
{
|
|
@@ -72943,14 +72891,14 @@ Required: ` + u.join(", "));
|
|
|
72943
72891
|
return Uc(r, "table", u);
|
|
72944
72892
|
}, oE = function(r) {
|
|
72945
72893
|
return !yo(r.start, r.end);
|
|
72946
|
-
},
|
|
72894
|
+
}, S8 = function(r, u) {
|
|
72947
72895
|
return _m(r.start, u).bind(function(f) {
|
|
72948
72896
|
return _m(r.end, u).bind(function(p) {
|
|
72949
72897
|
return Mn(yo(f, p), f);
|
|
72950
72898
|
});
|
|
72951
72899
|
});
|
|
72952
72900
|
}, aE = function(r, u) {
|
|
72953
|
-
return !oE(r) &&
|
|
72901
|
+
return !oE(r) && S8(r, u).exists(function(f) {
|
|
72954
72902
|
var p = f.dom.rows;
|
|
72955
72903
|
return p.length === 1 && p[0].cells.length === 1;
|
|
72956
72904
|
});
|
|
@@ -72987,10 +72935,10 @@ Required: ` + u.join(", "));
|
|
|
72987
72935
|
return iE(r, y) ? me.none() : UN(y, r);
|
|
72988
72936
|
});
|
|
72989
72937
|
}, iE = function(r, u) {
|
|
72990
|
-
return
|
|
72938
|
+
return S8(u, r).isSome();
|
|
72991
72939
|
}, lE = function(r, u) {
|
|
72992
|
-
return
|
|
72993
|
-
return
|
|
72940
|
+
return S8(r, u).map(function(f) {
|
|
72941
|
+
return x8(r, f, C_(f));
|
|
72994
72942
|
});
|
|
72995
72943
|
}, sE = function(r, u, f) {
|
|
72996
72944
|
return r.filter(function(p) {
|
|
@@ -73017,12 +72965,12 @@ Required: ` + u.join(", "));
|
|
|
73017
72965
|
}, jN = function(r) {
|
|
73018
72966
|
return HN(r).map(function(u) {
|
|
73019
72967
|
var f = r.cells;
|
|
73020
|
-
return u.length === f.length ?
|
|
72968
|
+
return u.length === f.length ? E8.removeTable(r.table) : E8.emptyCells(u);
|
|
73021
72969
|
});
|
|
73022
72970
|
}, GN = function(r, u) {
|
|
73023
72971
|
var f = VN(r), p = LN(u, f);
|
|
73024
72972
|
return WN(p, u, f).map(function(y) {
|
|
73025
|
-
return
|
|
72973
|
+
return E8.deleteCellSelection(u, y);
|
|
73026
72974
|
}).orThunk(function() {
|
|
73027
72975
|
return sE(p, u, f).bind(jN);
|
|
73028
72976
|
});
|
|
@@ -73045,15 +72993,15 @@ Required: ` + u.join(", "));
|
|
|
73045
72993
|
return !0;
|
|
73046
72994
|
}, dE = function(r, u) {
|
|
73047
72995
|
return gm(r, !1, u), !0;
|
|
73048
|
-
},
|
|
72996
|
+
}, k8 = function(r, u, f) {
|
|
73049
72997
|
return GN(u, f).map(function(p) {
|
|
73050
72998
|
return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
|
|
73051
72999
|
});
|
|
73052
73000
|
}, qN = function(r, u) {
|
|
73053
73001
|
return O4(r, u);
|
|
73054
73002
|
}, hE = function(r, u, f, p) {
|
|
73055
|
-
return
|
|
73056
|
-
return
|
|
73003
|
+
return T8(u, p).fold(function() {
|
|
73004
|
+
return k8(r, u, f);
|
|
73057
73005
|
}, function(y) {
|
|
73058
73006
|
return qN(r, y);
|
|
73059
73007
|
}).getOr(!1);
|
|
@@ -73062,7 +73010,7 @@ Required: ` + u.join(", "));
|
|
|
73062
73010
|
return y.length !== 0 ? Eg(r, y) : hE(r, f, p, u);
|
|
73063
73011
|
}, pE = function(r, u) {
|
|
73064
73012
|
return _n(qo(u, r), bs);
|
|
73065
|
-
},
|
|
73013
|
+
}, T8 = function(r, u) {
|
|
73066
73014
|
return _n(qo(u, r), function(f) {
|
|
73067
73015
|
return si(f) === "caption";
|
|
73068
73016
|
});
|
|
@@ -73083,7 +73031,7 @@ Required: ` + u.join(", "));
|
|
|
73083
73031
|
}, XN = function(r, u) {
|
|
73084
73032
|
return O4(r, u);
|
|
73085
73033
|
}, JN = function(r, u, f) {
|
|
73086
|
-
return
|
|
73034
|
+
return T8(r, be.fromDom(f.getNode())).map(function(p) {
|
|
73087
73035
|
return yo(p, u) === !1;
|
|
73088
73036
|
});
|
|
73089
73037
|
}, ZN = function(r, u, f, p, y) {
|
|
@@ -73100,31 +73048,31 @@ Required: ` + u.join(", "));
|
|
|
73100
73048
|
return ws(p) ? O4(r, p) : ZN(r, f, u, p, y);
|
|
73101
73049
|
}, mE = function(r, u) {
|
|
73102
73050
|
return r ? zr(u) : xo(u);
|
|
73103
|
-
},
|
|
73051
|
+
}, N8 = function(r, u) {
|
|
73104
73052
|
var f = un.fromRangeStart(r.selection.getRng());
|
|
73105
73053
|
return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
|
|
73106
73054
|
return mE(u, p);
|
|
73107
73055
|
});
|
|
73108
73056
|
}, uf = function(r, u, f) {
|
|
73109
73057
|
var p = be.fromDom(r.getBody());
|
|
73110
|
-
return
|
|
73111
|
-
return QN(r, u, p, f) ||
|
|
73058
|
+
return T8(p, f).fold(function() {
|
|
73059
|
+
return QN(r, u, p, f) || N8(r, u);
|
|
73112
73060
|
}, function(y) {
|
|
73113
73061
|
return eA(r, u, p, y).getOr(!1);
|
|
73114
73062
|
});
|
|
73115
73063
|
}, Sg = function(r, u) {
|
|
73116
73064
|
var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
|
|
73117
73065
|
return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
|
|
73118
|
-
},
|
|
73066
|
+
}, A8 = function(r, u, f, p) {
|
|
73119
73067
|
var y = document.createRange();
|
|
73120
73068
|
return y.setStart(r, u), y.setEnd(f, p), y;
|
|
73121
|
-
},
|
|
73069
|
+
}, I8 = function(r) {
|
|
73122
73070
|
var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
|
|
73123
73071
|
return Hs(!1, p, f).map(function(y) {
|
|
73124
|
-
return !Pu(u, f, p) && Pu(u, y, p) ?
|
|
73072
|
+
return !Pu(u, f, p) && Pu(u, y, p) ? A8(u.container(), u.offset(), y.container(), y.offset()) : r;
|
|
73125
73073
|
}).getOr(r);
|
|
73126
|
-
},
|
|
73127
|
-
return r.collapsed ? r :
|
|
73074
|
+
}, D8 = function(r) {
|
|
73075
|
+
return r.collapsed ? r : I8(r);
|
|
73128
73076
|
}, gE = function(r) {
|
|
73129
73077
|
return r.firstChild && r.firstChild === r.lastChild;
|
|
73130
73078
|
}, tA = function(r) {
|
|
@@ -73132,12 +73080,12 @@ Required: ` + u.join(", "));
|
|
|
73132
73080
|
}, nA = function(r, u) {
|
|
73133
73081
|
var f = r.getBlockElements();
|
|
73134
73082
|
return f[u.name] && gE(u) && tA(u.firstChild);
|
|
73135
|
-
},
|
|
73083
|
+
}, O8 = function(r, u) {
|
|
73136
73084
|
var f = r.getNonEmptyElements();
|
|
73137
73085
|
return u && (u.isEmpty(f) || nA(r, u));
|
|
73138
73086
|
}, rA = function(r, u) {
|
|
73139
73087
|
var f = u.firstChild, p = u.lastChild;
|
|
73140
|
-
return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev),
|
|
73088
|
+
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";
|
|
73141
73089
|
}, _E = function(r) {
|
|
73142
73090
|
var u = r.firstChild, f = r.lastChild;
|
|
73143
73091
|
return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
|
|
@@ -73156,11 +73104,11 @@ Required: ` + u.join(", "));
|
|
|
73156
73104
|
return !r.firstChild || yE(r);
|
|
73157
73105
|
}, bE = function(r) {
|
|
73158
73106
|
return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
|
|
73159
|
-
},
|
|
73107
|
+
}, B8 = function(r, u) {
|
|
73160
73108
|
var f = r.getParent(u, r.isBlock);
|
|
73161
73109
|
return f && f.nodeName === "LI" ? f : null;
|
|
73162
73110
|
}, lA = function(r, u) {
|
|
73163
|
-
return !!
|
|
73111
|
+
return !!B8(r, u);
|
|
73164
73112
|
}, sA = function(r, u) {
|
|
73165
73113
|
var f = u.cloneRange(), p = u.cloneRange();
|
|
73166
73114
|
return f.setStartBefore(r), p.setEndAfter(r), [
|
|
@@ -73183,24 +73131,24 @@ Required: ` + u.join(", "));
|
|
|
73183
73131
|
return Ve.each(u, function(y) {
|
|
73184
73132
|
p.insertBefore(y, r);
|
|
73185
73133
|
}), uA(r, f);
|
|
73186
|
-
},
|
|
73134
|
+
}, P8 = function(r, u, f, p) {
|
|
73187
73135
|
return p.insertAfter(u.reverse(), r), wE(u[0], f);
|
|
73188
73136
|
}, kg = function(r, u, f, p) {
|
|
73189
|
-
var y = oA(u, r, p), C =
|
|
73137
|
+
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) {
|
|
73190
73138
|
var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
|
|
73191
|
-
return Oe ?
|
|
73139
|
+
return Oe ? B8(u, Oe.getNode()) !== C : !0;
|
|
73192
73140
|
};
|
|
73193
|
-
return ie(P) ? cA(C, A, X) : ie(M) ?
|
|
73141
|
+
return ie(P) ? cA(C, A, X) : ie(M) ? P8(C, A, X, u) : CE(C, A, X, f);
|
|
73194
73142
|
}, fA = function(r, u, f) {
|
|
73195
73143
|
var p = be.fromDom(r.getRoot());
|
|
73196
73144
|
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;
|
|
73197
|
-
},
|
|
73145
|
+
}, M8 = ti, B4 = function(r, u, f) {
|
|
73198
73146
|
if (f !== null) {
|
|
73199
|
-
var p = r.getParent(u.endContainer,
|
|
73147
|
+
var p = r.getParent(u.endContainer, M8);
|
|
73200
73148
|
return f === p && W2(be.fromDom(f), u);
|
|
73201
73149
|
} else
|
|
73202
73150
|
return !1;
|
|
73203
|
-
},
|
|
73151
|
+
}, R8 = function(r, u, f) {
|
|
73204
73152
|
if (f.getAttribute("data-mce-bogus") === "all")
|
|
73205
73153
|
f.parentNode.insertBefore(r.dom.createFragment(u), f);
|
|
73206
73154
|
else {
|
|
@@ -73230,7 +73178,7 @@ Required: ` + u.join(", "));
|
|
|
73230
73178
|
}, xE = function(r) {
|
|
73231
73179
|
for (var u = r; u = u.walk(); )
|
|
73232
73180
|
u.type === 1 && u.attr("data-mce-fragment", "1");
|
|
73233
|
-
}, $
|
|
73181
|
+
}, $8 = function(r) {
|
|
73234
73182
|
Ve.each(r.getElementsByTagName("*"), function(u) {
|
|
73235
73183
|
u.removeAttribute("data-mce-fragment");
|
|
73236
73184
|
});
|
|
@@ -73259,14 +73207,14 @@ Required: ` + u.join(", "));
|
|
|
73259
73207
|
if (ke = Oe.next(ke), ke)
|
|
73260
73208
|
return ke.toRange();
|
|
73261
73209
|
}, ae = p.getParent(u, p.isBlock);
|
|
73262
|
-
p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !
|
|
73210
|
+
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);
|
|
73263
73211
|
}
|
|
73264
73212
|
}, pA = function(r) {
|
|
73265
|
-
var u = r.dom, f =
|
|
73213
|
+
var u = r.dom, f = D8(r.selection.getRng());
|
|
73266
73214
|
r.selection.setRng(f);
|
|
73267
|
-
var p = u.getParent(f.startContainer,
|
|
73215
|
+
var p = u.getParent(f.startContainer, M8);
|
|
73268
73216
|
B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
|
|
73269
|
-
},
|
|
73217
|
+
}, F8 = function(r, u, f) {
|
|
73270
73218
|
var p, y, C, A, P, M, X = r.selection, ie = r.dom;
|
|
73271
73219
|
/^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
|
|
73272
73220
|
var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark"></span>';
|
|
@@ -73304,7 +73252,7 @@ Required: ` + u.join(", "));
|
|
|
73304
73252
|
}
|
|
73305
73253
|
}
|
|
73306
73254
|
if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
|
|
73307
|
-
u = ke.serialize(et),
|
|
73255
|
+
u = ke.serialize(et), R8(r, u, p);
|
|
73308
73256
|
else {
|
|
73309
73257
|
for (r.selection.setContent(Oe), p = X.getNode(), y = r.getBody(), p.nodeType === 9 ? p = M = y : M = p; M !== y; )
|
|
73310
73258
|
p = M, M = M.parentNode;
|
|
@@ -73312,12 +73260,12 @@ Required: ` + u.join(", "));
|
|
|
73312
73260
|
return ke.serialize(et);
|
|
73313
73261
|
}))), p === y ? ie.setHTML(y, u) : ie.setOuterHTML(p, u);
|
|
73314
73262
|
}
|
|
73315
|
-
hA(r, se), mh(r, ie.get("mce_marker")), $
|
|
73316
|
-
},
|
|
73317
|
-
u(r), r.firstChild &&
|
|
73263
|
+
hA(r, se), mh(r, ie.get("mce_marker")), $8(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
|
|
73264
|
+
}, V8 = function(r, u) {
|
|
73265
|
+
u(r), r.firstChild && V8(r.firstChild, u), r.next && V8(r.next, u);
|
|
73318
73266
|
}, mA = function(r, u, f) {
|
|
73319
73267
|
var p = {}, y = {}, C = [];
|
|
73320
|
-
f.firstChild &&
|
|
73268
|
+
f.firstChild && V8(f.firstChild, function(M) {
|
|
73321
73269
|
he(r, function(X) {
|
|
73322
73270
|
X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
|
|
73323
73271
|
filter: X,
|
|
@@ -73379,12 +73327,12 @@ Required: ` + u.join(", "));
|
|
|
73379
73327
|
break;
|
|
73380
73328
|
}
|
|
73381
73329
|
return me.none();
|
|
73382
|
-
},
|
|
73330
|
+
}, L8 = function(r, u, f) {
|
|
73383
73331
|
var p = u(r), y = EE(f);
|
|
73384
73332
|
return p.orThunk(function() {
|
|
73385
73333
|
return y(r) ? me.none() : EA(r, u, y);
|
|
73386
73334
|
});
|
|
73387
|
-
},
|
|
73335
|
+
}, U8 = jp, SE = function(r, u, f) {
|
|
73388
73336
|
var p = r.formatter.get(f);
|
|
73389
73337
|
if (p) {
|
|
73390
73338
|
for (var y = 0; y < p.length; y++)
|
|
@@ -73392,13 +73340,13 @@ Required: ` + u.join(", "));
|
|
|
73392
73340
|
return !0;
|
|
73393
73341
|
}
|
|
73394
73342
|
return !1;
|
|
73395
|
-
},
|
|
73343
|
+
}, z8 = function(r, u, f, p) {
|
|
73396
73344
|
var y = r.dom.getRoot();
|
|
73397
73345
|
return u === y ? !1 : (u = r.dom.getParent(u, function(C) {
|
|
73398
73346
|
return SE(r, C, f) ? !0 : C.parentNode === y || !!ld(r, C, f, p, !0);
|
|
73399
73347
|
}), ld(r, u, f, p));
|
|
73400
73348
|
}, kE = function(r, u, f) {
|
|
73401
|
-
if (
|
|
73349
|
+
if (U8(u, f.inline) || U8(u, f.block))
|
|
73402
73350
|
return !0;
|
|
73403
73351
|
if (f.selector)
|
|
73404
73352
|
return u.nodeType === 1 && r.is(u, f.selector);
|
|
@@ -73409,7 +73357,7 @@ Required: ` + u.join(", "));
|
|
|
73409
73357
|
if (M) {
|
|
73410
73358
|
if (typeof M.length > "u") {
|
|
73411
73359
|
for (A in M)
|
|
73412
|
-
if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), y && !P && !f.exact || (!y || f.exact) && !
|
|
73360
|
+
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))))
|
|
73413
73361
|
return;
|
|
73414
73362
|
} else
|
|
73415
73363
|
for (X = 0; X < M.length; X++)
|
|
@@ -73432,11 +73380,11 @@ Required: ` + u.join(", "));
|
|
|
73432
73380
|
}
|
|
73433
73381
|
}, E_ = function(r, u, f, p) {
|
|
73434
73382
|
if (p)
|
|
73435
|
-
return
|
|
73436
|
-
if (p = r.selection.getNode(),
|
|
73383
|
+
return z8(r, p, u, f);
|
|
73384
|
+
if (p = r.selection.getNode(), z8(r, p, u, f))
|
|
73437
73385
|
return !0;
|
|
73438
73386
|
var y = r.selection.getStart();
|
|
73439
|
-
return !!(y !== p &&
|
|
73387
|
+
return !!(y !== p && z8(r, y, u, f));
|
|
73440
73388
|
}, NE = function(r, u, f) {
|
|
73441
73389
|
var p = [], y = {}, C = r.selection.getStart();
|
|
73442
73390
|
return r.dom.getParent(C, function(A) {
|
|
@@ -73452,7 +73400,7 @@ Required: ` + u.join(", "));
|
|
|
73452
73400
|
return ld(r, y.dom, C) ? me.some(C) : me.none();
|
|
73453
73401
|
};
|
|
73454
73402
|
return me.from(r.selection.getStart(!0)).bind(function(y) {
|
|
73455
|
-
return
|
|
73403
|
+
return L8(be.fromDom(y), function(C) {
|
|
73456
73404
|
return Jr(u, function(A) {
|
|
73457
73405
|
return p(C, A);
|
|
73458
73406
|
});
|
|
@@ -73493,7 +73441,7 @@ Required: ` + u.join(", "));
|
|
|
73493
73441
|
return r;
|
|
73494
73442
|
}
|
|
73495
73443
|
return null;
|
|
73496
|
-
},
|
|
73444
|
+
}, H8 = function(r) {
|
|
73497
73445
|
var u = be.fromTag("span");
|
|
73498
73446
|
return K(u, {
|
|
73499
73447
|
id: Tg,
|
|
@@ -73503,7 +73451,7 @@ Required: ` + u.join(", "));
|
|
|
73503
73451
|
}, TA = function(r) {
|
|
73504
73452
|
var u = OE(r);
|
|
73505
73453
|
return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
|
|
73506
|
-
},
|
|
73454
|
+
}, W8 = function(r, u, f) {
|
|
73507
73455
|
f === void 0 && (f = !0);
|
|
73508
73456
|
var p = r.dom, y = r.selection;
|
|
73509
73457
|
if (DE(u))
|
|
@@ -73512,14 +73460,14 @@ Required: ` + u.join(", "));
|
|
|
73512
73460
|
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);
|
|
73513
73461
|
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);
|
|
73514
73462
|
}
|
|
73515
|
-
},
|
|
73463
|
+
}, j8 = function(r, u, f) {
|
|
73516
73464
|
f === void 0 && (f = !0);
|
|
73517
73465
|
var p = r.dom, y = r.selection;
|
|
73518
73466
|
if (u)
|
|
73519
|
-
|
|
73467
|
+
W8(r, u, f);
|
|
73520
73468
|
else if (u = rh(r.getBody(), y.getStart()), !u)
|
|
73521
73469
|
for (; u = p.get(Tg); )
|
|
73522
|
-
|
|
73470
|
+
W8(r, u, !1);
|
|
73523
73471
|
}, BE = function(r, u, f) {
|
|
73524
73472
|
var p = r.dom, y = p.getParent(f, Ue(gv, r));
|
|
73525
73473
|
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));
|
|
@@ -73551,7 +73499,7 @@ Required: ` + u.join(", "));
|
|
|
73551
73499
|
var se = ru(r, A, r.formatter.get(u));
|
|
73552
73500
|
se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
|
|
73553
73501
|
} else
|
|
73554
|
-
(!p || y.nodeValue !== sd) && (p = IE(r.getDoc(),
|
|
73502
|
+
(!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);
|
|
73555
73503
|
}, ME = function(r, u, f, p) {
|
|
73556
73504
|
var y = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
|
|
73557
73505
|
for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
|
|
@@ -73568,27 +73516,27 @@ Required: ` + u.join(", "));
|
|
|
73568
73516
|
var Oe = ru(r, ie, r.formatter.get(u), !0);
|
|
73569
73517
|
Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
|
|
73570
73518
|
} else {
|
|
73571
|
-
var $e = rh(r.getBody(), M), Ee =
|
|
73519
|
+
var $e = rh(r.getBody(), M), Ee = H8(!1).dom;
|
|
73572
73520
|
BE(r, Ee, $e !== null ? $e : M);
|
|
73573
73521
|
var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
|
|
73574
|
-
|
|
73522
|
+
W8(r, $e, !1), C.setCursorLocation(et, 1), y.isEmpty(M) && y.remove(M);
|
|
73575
73523
|
}
|
|
73576
|
-
},
|
|
73524
|
+
}, G8 = function(r, u) {
|
|
73577
73525
|
var f = r.selection, p = r.getBody();
|
|
73578
|
-
|
|
73526
|
+
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()));
|
|
73579
73527
|
}, AA = function(r) {
|
|
73580
73528
|
r.on("mouseup keydown", function(u) {
|
|
73581
|
-
|
|
73529
|
+
G8(r, u.keyCode);
|
|
73582
73530
|
});
|
|
73583
73531
|
}, IA = function(r, u) {
|
|
73584
|
-
var f =
|
|
73532
|
+
var f = H8(!1), p = Ng(u, f.dom);
|
|
73585
73533
|
return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
|
|
73586
73534
|
}, DA = function(r, u) {
|
|
73587
73535
|
var f = r.schema.getTextInlineElements();
|
|
73588
73536
|
return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
|
|
73589
73537
|
}, OA = function(r) {
|
|
73590
73538
|
return gc(r.dom) && DE(r.dom);
|
|
73591
|
-
}, $4 = {}, RE = sa, F4 = Zo,
|
|
73539
|
+
}, $4 = {}, RE = sa, F4 = Zo, q8 = function(r, u) {
|
|
73592
73540
|
var f = $4[r];
|
|
73593
73541
|
f || ($4[r] = []), $4[r].push(u);
|
|
73594
73542
|
}, $E = function(r, u) {
|
|
@@ -73596,7 +73544,7 @@ Required: ` + u.join(", "));
|
|
|
73596
73544
|
f(u);
|
|
73597
73545
|
});
|
|
73598
73546
|
};
|
|
73599
|
-
|
|
73547
|
+
q8("pre", function(r) {
|
|
73600
73548
|
var u = r.selection.getRng(), f, p = function(A) {
|
|
73601
73549
|
return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
|
|
73602
73550
|
}, y = function(A, P) {
|
|
@@ -73606,7 +73554,7 @@ Required: ` + u.join(", "));
|
|
|
73606
73554
|
y(A.previousSibling, A);
|
|
73607
73555
|
}));
|
|
73608
73556
|
});
|
|
73609
|
-
var
|
|
73557
|
+
var K8 = Ve.each, Y8 = function(r) {
|
|
73610
73558
|
return ro(r) && !Ts(r) && !gc(r) && !wf(r);
|
|
73611
73559
|
}, FE = function(r, u) {
|
|
73612
73560
|
var f;
|
|
@@ -73635,15 +73583,15 @@ Required: ` + u.join(", "));
|
|
|
73635
73583
|
}, BA = function(r, u, f) {
|
|
73636
73584
|
if (u.clear_child_styles) {
|
|
73637
73585
|
var p = u.links ? "*:not(a)" : "*";
|
|
73638
|
-
|
|
73639
|
-
|
|
73586
|
+
K8(r.select(p, f), function(y) {
|
|
73587
|
+
Y8(y) && K8(u.styles, function(C, A) {
|
|
73640
73588
|
r.setStyle(y, A, "");
|
|
73641
73589
|
});
|
|
73642
73590
|
});
|
|
73643
73591
|
}
|
|
73644
73592
|
}, $r = function(r, u, f) {
|
|
73645
|
-
|
|
73646
|
-
|
|
73593
|
+
K8(r.childNodes, function(p) {
|
|
73594
|
+
Y8(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
|
|
73647
73595
|
});
|
|
73648
73596
|
}, PA = function(r, u) {
|
|
73649
73597
|
u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
|
|
@@ -73663,7 +73611,7 @@ Required: ` + u.join(", "));
|
|
|
73663
73611
|
return /^(TR|TH|TD)$/.test(r.nodeName);
|
|
73664
73612
|
}, L4 = function(r, u, f) {
|
|
73665
73613
|
return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
|
|
73666
|
-
},
|
|
73614
|
+
}, X8 = function(r, u, f) {
|
|
73667
73615
|
var p, y;
|
|
73668
73616
|
if (p = u[f ? "startContainer" : "endContainer"], y = u[f ? "startOffset" : "endOffset"], ro(p)) {
|
|
73669
73617
|
var C = p.childNodes.length - 1;
|
|
@@ -73677,7 +73625,7 @@ Required: ` + u.join(", "));
|
|
|
73677
73625
|
return r.nodeName === "TR" && p[f] || p;
|
|
73678
73626
|
}
|
|
73679
73627
|
return r;
|
|
73680
|
-
},
|
|
73628
|
+
}, J8 = function(r, u, f, p) {
|
|
73681
73629
|
var y = r.create(f, p);
|
|
73682
73630
|
return u.parentNode.insertBefore(y, u), y.appendChild(u), y;
|
|
73683
73631
|
}, GE = function(r, u, f, p, y) {
|
|
@@ -73688,18 +73636,18 @@ Required: ` + u.join(", "));
|
|
|
73688
73636
|
return !0;
|
|
73689
73637
|
if (f.selector)
|
|
73690
73638
|
return ro(u) && r.is(u, f.selector);
|
|
73691
|
-
},
|
|
73639
|
+
}, Z8 = function(r, u) {
|
|
73692
73640
|
return u.links && r.nodeName === "A";
|
|
73693
73641
|
}, Ag = function(r, u, f, p) {
|
|
73694
73642
|
return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
|
|
73695
73643
|
}, qE = function(r, u, f) {
|
|
73696
73644
|
var p = u.parentNode, y, C = r.dom, A = Oi(r);
|
|
73697
73645
|
f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
|
|
73698
|
-
_v(r, A, P.nodeName.toLowerCase()) ? y ? y.appendChild(P) : (y =
|
|
73646
|
+
_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;
|
|
73699
73647
|
}) : 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);
|
|
73700
73648
|
}, k_ = function(r, u, f, p, y) {
|
|
73701
73649
|
var C, A = r.dom;
|
|
73702
|
-
if (!MA(A, p, u) && !
|
|
73650
|
+
if (!MA(A, p, u) && !Z8(p, u))
|
|
73703
73651
|
return S_.keep();
|
|
73704
73652
|
var P = p;
|
|
73705
73653
|
if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
|
|
@@ -73768,7 +73716,7 @@ Required: ` + u.join(", "));
|
|
|
73768
73716
|
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));
|
|
73769
73717
|
}
|
|
73770
73718
|
return p;
|
|
73771
|
-
},
|
|
73719
|
+
}, Q8 = function(r, u, f, p, y) {
|
|
73772
73720
|
var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
|
|
73773
73721
|
var et = T_(r, ot, u, f, y);
|
|
73774
73722
|
return RA(r, C, et, ot, ot, !0, A, f);
|
|
@@ -73792,7 +73740,7 @@ Required: ` + u.join(", "));
|
|
|
73792
73740
|
}, Oe = function(ot) {
|
|
73793
73741
|
var et, ut, yt = ru(r, ot, C, ot.collapsed);
|
|
73794
73742
|
if (A.split) {
|
|
73795
|
-
if (yt = fh(yt), et =
|
|
73743
|
+
if (yt = fh(yt), et = X8(r, yt, !0), ut = X8(r, yt), et !== ut) {
|
|
73796
73744
|
if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
|
|
73797
73745
|
var Mt = me.from(et.firstChild).getOr(et);
|
|
73798
73746
|
ie(GE(M, Mt, !0, "span", {
|
|
@@ -73809,10 +73757,10 @@ Required: ` + u.join(", "));
|
|
|
73809
73757
|
})), ke(!1);
|
|
73810
73758
|
return;
|
|
73811
73759
|
}
|
|
73812
|
-
et =
|
|
73760
|
+
et = J8(M, et, "span", {
|
|
73813
73761
|
id: "_start",
|
|
73814
73762
|
"data-mce-type": "bookmark"
|
|
73815
|
-
}), ut =
|
|
73763
|
+
}), ut = J8(M, ut, "span", {
|
|
73816
73764
|
id: "_end",
|
|
73817
73765
|
"data-mce-type": "bookmark"
|
|
73818
73766
|
});
|
|
@@ -73862,7 +73810,7 @@ Required: ` + u.join(", "));
|
|
|
73862
73810
|
!X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
|
|
73863
73811
|
eg(r, Oe);
|
|
73864
73812
|
}), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, y);
|
|
73865
|
-
},
|
|
73813
|
+
}, e6 = Ve.each, $A = function(r, u, f, p) {
|
|
73866
73814
|
var y = function(C) {
|
|
73867
73815
|
if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
|
|
73868
73816
|
var A = Gp(r, C.parentNode);
|
|
@@ -73875,9 +73823,9 @@ Required: ` + u.join(", "));
|
|
|
73875
73823
|
}, VA = function(r, u, f, p) {
|
|
73876
73824
|
(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));
|
|
73877
73825
|
}, KE = function(r, u, f, p) {
|
|
73878
|
-
|
|
73879
|
-
|
|
73880
|
-
|
|
73826
|
+
e6(u, function(y) {
|
|
73827
|
+
e6(r.dom.select(y.inline, p), function(C) {
|
|
73828
|
+
Y8(C) && vl(r, y, f, C, y.exact ? C : null);
|
|
73881
73829
|
}), BA(r.dom, y, p);
|
|
73882
73830
|
});
|
|
73883
73831
|
}, U4 = function(r, u, f, p, y) {
|
|
@@ -73885,7 +73833,7 @@ Required: ` + u.join(", "));
|
|
|
73885
73833
|
if (ld(r, C, f, p))
|
|
73886
73834
|
return vl(r, u, p, y), !0;
|
|
73887
73835
|
});
|
|
73888
|
-
}, Sc = Ve.each,
|
|
73836
|
+
}, Sc = Ve.each, t6 = function(r, u) {
|
|
73889
73837
|
return da(r, u);
|
|
73890
73838
|
}, z4 = function(r) {
|
|
73891
73839
|
return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
|
|
@@ -73907,7 +73855,7 @@ Required: ` + u.join(", "));
|
|
|
73907
73855
|
return da(y, p) && ws(be.fromDom(f.parentNode), !1) && !C;
|
|
73908
73856
|
} else
|
|
73909
73857
|
return !1;
|
|
73910
|
-
},
|
|
73858
|
+
}, n6 = function(r, u, f, p) {
|
|
73911
73859
|
var y = r.formatter.get(u), C = y[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
|
|
73912
73860
|
if (ut = ut || C, et) {
|
|
73913
73861
|
if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
|
|
@@ -73948,12 +73896,12 @@ Required: ` + u.join(", "));
|
|
|
73948
73896
|
}
|
|
73949
73897
|
if (ih(C)) {
|
|
73950
73898
|
var pr = ie(y, er);
|
|
73951
|
-
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !
|
|
73899
|
+
if (Bn(er) && K1(et, er.parentNode) && ie(y, er.parentNode), !t6(C, "inline") || pr) {
|
|
73952
73900
|
Dn = null;
|
|
73953
73901
|
return;
|
|
73954
73902
|
}
|
|
73955
73903
|
}
|
|
73956
|
-
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) && (!
|
|
73904
|
+
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);
|
|
73957
73905
|
};
|
|
73958
73906
|
Sc(xr, qr);
|
|
73959
73907
|
}), C.links === !0 && Sc(hn, function(xr) {
|
|
@@ -74006,7 +73954,7 @@ Required: ` + u.join(", "));
|
|
|
74006
73954
|
ae(P, p, null, !0);
|
|
74007
73955
|
else if (!A || !M2(C) || wv(r).length) {
|
|
74008
73956
|
var Ee = M.getNode(), ot = y[0];
|
|
74009
|
-
!r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) &&
|
|
73957
|
+
!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) {
|
|
74010
73958
|
eg(r, function(ut, yt) {
|
|
74011
73959
|
var Mt = yt ? ut : ru(r, ut, y);
|
|
74012
73960
|
ae(P, Mt);
|
|
@@ -74074,13 +74022,13 @@ Required: ` + u.join(", "));
|
|
|
74074
74022
|
};
|
|
74075
74023
|
}, qA = function(r, u, f, p) {
|
|
74076
74024
|
var y = r.formatter.get(u);
|
|
74077
|
-
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ?
|
|
74078
|
-
},
|
|
74025
|
+
E_(r, u, f, p) && (!("toggle" in y[0]) || y[0].toggle) ? Q8(r, u, f, p) : n6(r, u, f, p);
|
|
74026
|
+
}, r6 = function(r, u) {
|
|
74079
74027
|
var f = u || document, p = f.createDocumentFragment();
|
|
74080
74028
|
return he(r, function(y) {
|
|
74081
74029
|
p.appendChild(y.dom);
|
|
74082
74030
|
}), be.fromDom(p);
|
|
74083
|
-
},
|
|
74031
|
+
}, o6 = function(r, u, f) {
|
|
74084
74032
|
return {
|
|
74085
74033
|
element: r,
|
|
74086
74034
|
width: u,
|
|
@@ -74132,7 +74080,7 @@ Required: ` + u.join(", "));
|
|
|
74132
74080
|
return C;
|
|
74133
74081
|
}, kc = function(r, u, f) {
|
|
74134
74082
|
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);
|
|
74135
|
-
return
|
|
74083
|
+
return o6(r.element, XE(P), P);
|
|
74136
74084
|
}, W4 = function(r, u) {
|
|
74137
74085
|
var f = Hf(r.element), p = be.fromTag("tbody");
|
|
74138
74086
|
return yf(p, u), Ha(f, p), f;
|
|
@@ -74145,13 +74093,13 @@ Required: ` + u.join(", "));
|
|
|
74145
74093
|
return yf(p, f), p;
|
|
74146
74094
|
});
|
|
74147
74095
|
}, A_ = function(r) {
|
|
74148
|
-
var u =
|
|
74096
|
+
var u = o6(Hf(r), 0, []);
|
|
74149
74097
|
return he(ma(r, "tr"), function(f, p) {
|
|
74150
74098
|
he(ma(f, "td,th"), function(y, C) {
|
|
74151
74099
|
YE(u, YA(u, C, p), p, f, y);
|
|
74152
74100
|
});
|
|
74153
|
-
}),
|
|
74154
|
-
},
|
|
74101
|
+
}), o6(u.element, XE(u.rows), u.rows);
|
|
74102
|
+
}, a6 = function(r) {
|
|
74155
74103
|
return W4(r, N_(r));
|
|
74156
74104
|
}, XA = function(r, u, f) {
|
|
74157
74105
|
return JE(r, u).bind(function(p) {
|
|
@@ -74181,7 +74129,7 @@ Required: ` + u.join(", "));
|
|
|
74181
74129
|
var f = Un(u, function(p, y) {
|
|
74182
74130
|
return Ha(y, p), y;
|
|
74183
74131
|
}, r);
|
|
74184
|
-
return u.length > 0 ?
|
|
74132
|
+
return u.length > 0 ? r6([f]) : f;
|
|
74185
74133
|
}, Og = function(r) {
|
|
74186
74134
|
return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
|
|
74187
74135
|
return [
|
|
@@ -74189,22 +74137,22 @@ Required: ` + u.join(", "));
|
|
|
74189
74137
|
u
|
|
74190
74138
|
];
|
|
74191
74139
|
}) : ts(r) ? [r] : [];
|
|
74192
|
-
},
|
|
74140
|
+
}, i6 = function(r, u) {
|
|
74193
74141
|
var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), y = Pt(p, function(P) {
|
|
74194
74142
|
return Cu(P) || Hc(P);
|
|
74195
74143
|
}), C = Ig(p, u), A = y.concat(C.length ? C : Og(f));
|
|
74196
74144
|
return ne(A, Hf);
|
|
74197
74145
|
}, QE = function() {
|
|
74198
|
-
return
|
|
74146
|
+
return r6([]);
|
|
74199
74147
|
}, ZA = function(r, u) {
|
|
74200
|
-
return Dg(be.fromDom(u.cloneContents()),
|
|
74148
|
+
return Dg(be.fromDom(u.cloneContents()), i6(r, u));
|
|
74201
74149
|
}, eS = function(r, u) {
|
|
74202
74150
|
return Uc(u, "table", Ue(yo, r));
|
|
74203
74151
|
}, tS = function(r, u) {
|
|
74204
74152
|
return eS(r, u[0]).bind(function(f) {
|
|
74205
74153
|
var p = u[0], y = u[u.length - 1], C = A_(f);
|
|
74206
74154
|
return XA(C, p, y).map(function(A) {
|
|
74207
|
-
return
|
|
74155
|
+
return r6([a6(A)]);
|
|
74208
74156
|
});
|
|
74209
74157
|
}).getOrThunk(QE);
|
|
74210
74158
|
}, QA = function(r, u) {
|
|
@@ -74249,7 +74197,7 @@ Required: ` + u.join(", "));
|
|
|
74249
74197
|
f.getInner = !0;
|
|
74250
74198
|
var p = rI(r, f);
|
|
74251
74199
|
return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
|
|
74252
|
-
},
|
|
74200
|
+
}, l6 = 0, aS = 1, iS = 2, I_ = function(r, u) {
|
|
74253
74201
|
var f = r.length + u.length + 2, p = new Array(f), y = new Array(f), C = function(ie, ae, se) {
|
|
74254
74202
|
return {
|
|
74255
74203
|
start: ie,
|
|
@@ -74261,7 +74209,7 @@ Required: ` + u.join(", "));
|
|
|
74261
74209
|
if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
|
|
74262
74210
|
for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
|
|
74263
74211
|
Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
|
|
74264
|
-
|
|
74212
|
+
l6,
|
|
74265
74213
|
r[Ee]
|
|
74266
74214
|
]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
|
|
74267
74215
|
iS,
|
|
@@ -74274,7 +74222,7 @@ Required: ` + u.join(", "));
|
|
|
74274
74222
|
A(ie, $e.start, se, $e.start - $e.diag, Oe);
|
|
74275
74223
|
for (var et = $e.start; et < $e.end; ++et)
|
|
74276
74224
|
Oe.push([
|
|
74277
|
-
|
|
74225
|
+
l6,
|
|
74278
74226
|
r[et]
|
|
74279
74227
|
]);
|
|
74280
74228
|
A($e.end, ae, $e.end - $e.diag, ke, Oe);
|
|
@@ -74306,7 +74254,7 @@ Required: ` + u.join(", "));
|
|
|
74306
74254
|
}
|
|
74307
74255
|
}, X = [];
|
|
74308
74256
|
return A(0, r.length, 0, u.length, X), X;
|
|
74309
|
-
},
|
|
74257
|
+
}, s6 = function(r) {
|
|
74310
74258
|
return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
|
|
74311
74259
|
}, oI = function(r) {
|
|
74312
74260
|
var u, f = document.createElement("div"), p = document.createDocumentFragment();
|
|
@@ -74328,19 +74276,19 @@ Required: ` + u.join(", "));
|
|
|
74328
74276
|
}, sS = function(r, u) {
|
|
74329
74277
|
var f = 0;
|
|
74330
74278
|
he(r, function(p) {
|
|
74331
|
-
p[0] ===
|
|
74279
|
+
p[0] === l6 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
|
|
74332
74280
|
});
|
|
74333
74281
|
}, iI = function(r) {
|
|
74334
|
-
return Pt(ne(Er(r.childNodes),
|
|
74282
|
+
return Pt(ne(Er(r.childNodes), s6), function(u) {
|
|
74335
74283
|
return u.length > 0;
|
|
74336
74284
|
});
|
|
74337
74285
|
}, lI = function(r, u) {
|
|
74338
|
-
var f = ne(Er(u.childNodes),
|
|
74286
|
+
var f = ne(Er(u.childNodes), s6);
|
|
74339
74287
|
return sS(I_(f, r), u), u;
|
|
74340
|
-
},
|
|
74341
|
-
return
|
|
74288
|
+
}, u6 = Wa(me.none()), uS = function() {
|
|
74289
|
+
return u6.get().getOrThunk(function() {
|
|
74342
74290
|
var r = document.implementation.createHTMLDocument("undo");
|
|
74343
|
-
return
|
|
74291
|
+
return u6.set(me.some(r)), r;
|
|
74344
74292
|
});
|
|
74345
74293
|
}, cS = function(r) {
|
|
74346
74294
|
return r.indexOf("</iframe>") !== -1;
|
|
@@ -74360,13 +74308,13 @@ Required: ` + u.join(", "));
|
|
|
74360
74308
|
bookmark: null,
|
|
74361
74309
|
beforeBookmark: null
|
|
74362
74310
|
};
|
|
74363
|
-
},
|
|
74311
|
+
}, c6 = function(r) {
|
|
74364
74312
|
var u = iI(r.getBody()), f = He(u, function(y) {
|
|
74365
74313
|
var C = k4(r.serializer, y);
|
|
74366
74314
|
return C.length > 0 ? [C] : [];
|
|
74367
74315
|
}), p = f.join("");
|
|
74368
74316
|
return cS(p) ? fS(f) : sI(p);
|
|
74369
|
-
},
|
|
74317
|
+
}, f6 = function(r, u, f) {
|
|
74370
74318
|
u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
|
|
74371
74319
|
}, D_ = function(r) {
|
|
74372
74320
|
return r.type === "fragmented" ? r.fragments.join("") : r.content;
|
|
@@ -74379,19 +74327,19 @@ Required: ` + u.join(", "));
|
|
|
74379
74327
|
return G4(r) === G4(u);
|
|
74380
74328
|
}, Cm = function(r, u) {
|
|
74381
74329
|
return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
|
|
74382
|
-
},
|
|
74330
|
+
}, d6 = function(r) {
|
|
74383
74331
|
return r.get() === 0;
|
|
74384
74332
|
}, q4 = function(r, u, f) {
|
|
74385
|
-
|
|
74333
|
+
d6(f) && (r.typing = u);
|
|
74386
74334
|
}, Mv = function(r, u) {
|
|
74387
74335
|
r.typing && (q4(r, !1, u), r.add());
|
|
74388
|
-
},
|
|
74336
|
+
}, h6 = function(r) {
|
|
74389
74337
|
r.typing && (r.typing = !1, r.add());
|
|
74390
74338
|
}, vS = function(r, u, f) {
|
|
74391
|
-
|
|
74339
|
+
d6(u) && f.set(me.some(I1(r.selection)));
|
|
74392
74340
|
}, O_ = function(r, u, f, p, y, C, A) {
|
|
74393
|
-
var P =
|
|
74394
|
-
if (C = C || {}, C = Ve.extend(C, P),
|
|
74341
|
+
var P = c6(r);
|
|
74342
|
+
if (C = C || {}, C = Ve.extend(C, P), d6(p) === !1 || r.removed)
|
|
74395
74343
|
return null;
|
|
74396
74344
|
var M = u.data[f.get()];
|
|
74397
74345
|
if (r.fire("BeforeAddUndo", {
|
|
@@ -74421,21 +74369,21 @@ Required: ` + u.join(", "));
|
|
|
74421
74369
|
}, uI = function(r, u, f, p, y) {
|
|
74422
74370
|
if (u.transact(p)) {
|
|
74423
74371
|
var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
|
|
74424
|
-
|
|
74372
|
+
f6(r, A, !0), u.transact(y) && (u.data[f.get() - 1].beforeBookmark = C);
|
|
74425
74373
|
}
|
|
74426
74374
|
}, mS = function(r, u, f) {
|
|
74427
74375
|
var p;
|
|
74428
|
-
return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()],
|
|
74376
|
+
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;
|
|
74429
74377
|
}, gS = function(r, u, f, p) {
|
|
74430
74378
|
var y;
|
|
74431
|
-
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()],
|
|
74379
|
+
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;
|
|
74432
74380
|
}, cI = function(r) {
|
|
74433
74381
|
r.clear(), r.add();
|
|
74434
74382
|
}, fI = function(r, u, f) {
|
|
74435
|
-
return f.get() > 0 || u.typing && u.data[0] && !Cm(
|
|
74383
|
+
return f.get() > 0 || u.typing && u.data[0] && !Cm(c6(r), u.data[0]);
|
|
74436
74384
|
}, dI = function(r, u) {
|
|
74437
74385
|
return u.get() < r.data.length - 1 && !r.typing;
|
|
74438
|
-
},
|
|
74386
|
+
}, v6 = function(r, u, f) {
|
|
74439
74387
|
return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
|
|
74440
74388
|
}, hI = function(r, u) {
|
|
74441
74389
|
try {
|
|
@@ -74490,7 +74438,7 @@ Required: ` + u.join(", "));
|
|
|
74490
74438
|
return dI(u, f);
|
|
74491
74439
|
},
|
|
74492
74440
|
transact: function(u, f, p) {
|
|
74493
|
-
return
|
|
74441
|
+
return v6(u, f, p);
|
|
74494
74442
|
},
|
|
74495
74443
|
ignore: function(u, f) {
|
|
74496
74444
|
return hI(u, f);
|
|
@@ -74516,10 +74464,10 @@ Required: ` + u.join(", "));
|
|
|
74516
74464
|
return SA(r, u);
|
|
74517
74465
|
},
|
|
74518
74466
|
apply: function(u, f, p) {
|
|
74519
|
-
return
|
|
74467
|
+
return n6(r, u, f, p);
|
|
74520
74468
|
},
|
|
74521
74469
|
remove: function(u, f, p, y) {
|
|
74522
|
-
return
|
|
74470
|
+
return Q8(r, u, f, p, y);
|
|
74523
74471
|
},
|
|
74524
74472
|
toggle: function(u, f, p) {
|
|
74525
74473
|
return qA(r, u, f, p);
|
|
@@ -74536,7 +74484,7 @@ Required: ` + u.join(", "));
|
|
|
74536
74484
|
return CA(r, u, f);
|
|
74537
74485
|
},
|
|
74538
74486
|
insertContent: function(u, f) {
|
|
74539
|
-
return
|
|
74487
|
+
return F8(r, u, f);
|
|
74540
74488
|
},
|
|
74541
74489
|
addVisual: function(u) {
|
|
74542
74490
|
return vI(r, u);
|
|
@@ -74690,7 +74638,7 @@ Required: ` + u.join(", "));
|
|
|
74690
74638
|
return u.rtcInstance = pI(), Li.reject(p);
|
|
74691
74639
|
}));
|
|
74692
74640
|
});
|
|
74693
|
-
},
|
|
74641
|
+
}, p6 = function(r) {
|
|
74694
74642
|
return r.rtcInstance ? r.rtcInstance : B_(r);
|
|
74695
74643
|
}, Xi = function(r) {
|
|
74696
74644
|
var u = r.rtcInstance;
|
|
@@ -74701,7 +74649,7 @@ Required: ` + u.join(", "));
|
|
|
74701
74649
|
Xi(r).undoManager.beforeChange(u, f);
|
|
74702
74650
|
}, gI = function(r, u, f, p, y, C, A) {
|
|
74703
74651
|
return Xi(r).undoManager.addUndoLevel(u, f, p, y, C, A);
|
|
74704
|
-
},
|
|
74652
|
+
}, m6 = function(r, u, f, p) {
|
|
74705
74653
|
return Xi(r).undoManager.undo(u, f, p);
|
|
74706
74654
|
}, _I = function(r, u, f) {
|
|
74707
74655
|
return Xi(r).undoManager.redo(u, f);
|
|
@@ -74721,7 +74669,7 @@ Required: ` + u.join(", "));
|
|
|
74721
74669
|
Xi(r).undoManager.extra(u, f, p, y);
|
|
74722
74670
|
}, EI = function(r, u, f, p) {
|
|
74723
74671
|
return Xi(r).formatter.match(u, f, p);
|
|
74724
|
-
},
|
|
74672
|
+
}, g6 = function(r, u, f) {
|
|
74725
74673
|
return Xi(r).formatter.matchAll(u, f);
|
|
74726
74674
|
}, xS = function(r, u, f, p, y) {
|
|
74727
74675
|
return Xi(r).formatter.matchNode(u, f, p, y);
|
|
@@ -74737,12 +74685,12 @@ Required: ` + u.join(", "));
|
|
|
74737
74685
|
Xi(r).formatter.toggle(u, f, p);
|
|
74738
74686
|
}, SI = function(r, u, f, p, y) {
|
|
74739
74687
|
return y === void 0 && (y = !1), Xi(r).formatter.formatChanged(u, f, p, y);
|
|
74740
|
-
},
|
|
74741
|
-
return
|
|
74688
|
+
}, _6 = function(r, u, f) {
|
|
74689
|
+
return p6(r).editor.getContent(u, f);
|
|
74742
74690
|
}, kI = function(r, u, f) {
|
|
74743
|
-
return
|
|
74691
|
+
return p6(r).editor.setContent(u, f);
|
|
74744
74692
|
}, K4 = function(r, u, f) {
|
|
74745
|
-
return
|
|
74693
|
+
return p6(r).editor.insertContent(u, f);
|
|
74746
74694
|
}, TI = function(r, u, f) {
|
|
74747
74695
|
return Xi(r).selection.getContent(u, f);
|
|
74748
74696
|
}, NI = function(r, u) {
|
|
@@ -74751,7 +74699,7 @@ Required: ` + u.join(", "));
|
|
|
74751
74699
|
u === void 0 && (u = {});
|
|
74752
74700
|
var f = u.format ? u.format : "html";
|
|
74753
74701
|
return TI(r, f, u);
|
|
74754
|
-
},
|
|
74702
|
+
}, y6 = function(r) {
|
|
74755
74703
|
return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
|
|
74756
74704
|
}, AI = function(r, u) {
|
|
74757
74705
|
return r.filter(function(f) {
|
|
@@ -74780,7 +74728,7 @@ Required: ` + u.join(", "));
|
|
|
74780
74728
|
}, OI = function(r, u) {
|
|
74781
74729
|
var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
|
|
74782
74730
|
r.deleteContents(), r.insertNode(u);
|
|
74783
|
-
var y = f.bind(qs).filter(wi).bind(
|
|
74731
|
+
var y = f.bind(qs).filter(wi).bind(y6), C = p.bind(Ms).filter(wi).bind(y6);
|
|
74784
74732
|
IS(y, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
|
|
74785
74733
|
}, BI = function(r, u) {
|
|
74786
74734
|
return gr(gr({ format: "html" }, r), {
|
|
@@ -75071,7 +75019,7 @@ Required: ` + u.join(", "));
|
|
|
75071
75019
|
return u(new Blob([]));
|
|
75072
75020
|
}, u);
|
|
75073
75021
|
});
|
|
75074
|
-
},
|
|
75022
|
+
}, b6 = function(r) {
|
|
75075
75023
|
return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
|
|
75076
75024
|
}, $S = function(r) {
|
|
75077
75025
|
return new Li(function(u) {
|
|
@@ -75080,7 +75028,7 @@ Required: ` + u.join(", "));
|
|
|
75080
75028
|
u(f.result);
|
|
75081
75029
|
}, f.readAsDataURL(r);
|
|
75082
75030
|
});
|
|
75083
|
-
}, WI = 0,
|
|
75031
|
+
}, WI = 0, w6 = function(r) {
|
|
75084
75032
|
return (r || "blobid") + WI++;
|
|
75085
75033
|
}, jI = function(r, u, f, p) {
|
|
75086
75034
|
var y, C;
|
|
@@ -75088,9 +75036,9 @@ Required: ` + u.join(", "));
|
|
|
75088
75036
|
C = r.getByUri(u.src), C ? f({
|
|
75089
75037
|
image: u,
|
|
75090
75038
|
blobInfo: C
|
|
75091
|
-
}) :
|
|
75039
|
+
}) : b6(u.src).then(function(X) {
|
|
75092
75040
|
$S(X).then(function(ie) {
|
|
75093
|
-
y = xm(ie).data, C = r.create(
|
|
75041
|
+
y = xm(ie).data, C = r.create(w6(), X, y), r.add(C), f({
|
|
75094
75042
|
image: u,
|
|
75095
75043
|
blobInfo: C
|
|
75096
75044
|
});
|
|
@@ -75104,8 +75052,8 @@ Required: ` + u.join(", "));
|
|
|
75104
75052
|
y = P, C = r.getByData(y, M), C ? f({
|
|
75105
75053
|
image: u,
|
|
75106
75054
|
blobInfo: C
|
|
75107
|
-
}) :
|
|
75108
|
-
C = r.create(
|
|
75055
|
+
}) : b6(u.src).then(function(X) {
|
|
75056
|
+
C = r.create(w6(), X, y), r.add(C), f({
|
|
75109
75057
|
image: u,
|
|
75110
75058
|
blobInfo: C
|
|
75111
75059
|
});
|
|
@@ -75181,7 +75129,7 @@ Required: ` + u.join(", "));
|
|
|
75181
75129
|
var P = A.type, M = A.data;
|
|
75182
75130
|
return me.from(f.getByData(M, P)).orThunk(function() {
|
|
75183
75131
|
return RS(P, M).map(function(X) {
|
|
75184
|
-
var ie = f.create(
|
|
75132
|
+
var ie = f.create(w6(), X, M);
|
|
75185
75133
|
return f.add(ie), ie;
|
|
75186
75134
|
});
|
|
75187
75135
|
});
|
|
@@ -75582,7 +75530,7 @@ Required: ` + u.join(", "));
|
|
|
75582
75530
|
}, a9 = "html", Tl = function(r, u) {
|
|
75583
75531
|
u === void 0 && (u = {});
|
|
75584
75532
|
var f = u.format ? u.format : a9;
|
|
75585
|
-
return
|
|
75533
|
+
return _6(r, u, f);
|
|
75586
75534
|
}, X4 = function(r, u, f) {
|
|
75587
75535
|
return f === void 0 && (f = {}), kI(r, u, f);
|
|
75588
75536
|
}, J4 = ua.DOM, i9 = function(r) {
|
|
@@ -75631,7 +75579,7 @@ Required: ` + u.join(", "));
|
|
|
75631
75579
|
sections: Fe(r),
|
|
75632
75580
|
settings: Fe(u)
|
|
75633
75581
|
};
|
|
75634
|
-
},
|
|
75582
|
+
}, C6 = Wr().deviceType, h9 = C6.isTouch(), x6 = C6.isPhone(), Rv = C6.isTablet(), iu = [
|
|
75635
75583
|
"lists",
|
|
75636
75584
|
"autolink",
|
|
75637
75585
|
"autosave"
|
|
@@ -75651,7 +75599,7 @@ Required: ` + u.join(", "));
|
|
|
75651
75599
|
return Re(r, y);
|
|
75652
75600
|
});
|
|
75653
75601
|
return d9(f.t, f.f);
|
|
75654
|
-
},
|
|
75602
|
+
}, E6 = function(r, u, f) {
|
|
75655
75603
|
f === void 0 && (f = {});
|
|
75656
75604
|
var p = r.sections(), y = p.hasOwnProperty(u) ? p[u] : {};
|
|
75657
75605
|
return Ve.extend({}, f, y);
|
|
@@ -75719,14 +75667,14 @@ Required: ` + u.join(", "));
|
|
|
75719
75667
|
}, nk = function(r, u) {
|
|
75720
75668
|
return r && $g(u, "mobile");
|
|
75721
75669
|
}, rk = function(r, u, f, p, y) {
|
|
75722
|
-
var C = r ? { mobile: ek(y.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, y)), P = Ve.extend(f, p, A.settings(), nk(r, A) ?
|
|
75670
|
+
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") : {}, {
|
|
75723
75671
|
validate: !0,
|
|
75724
75672
|
external_plugins: v9(p, A.settings())
|
|
75725
75673
|
});
|
|
75726
75674
|
return $_(r, A, p, P);
|
|
75727
75675
|
}, ok = function(r, u, f, p, y) {
|
|
75728
75676
|
var C = QS(y, u, f, h9, r);
|
|
75729
|
-
return rk(
|
|
75677
|
+
return rk(x6 || Rv, x6, C, p, y);
|
|
75730
75678
|
}, gh = function(r, u, f) {
|
|
75731
75679
|
return me.from(u.settings[f]).filter(r);
|
|
75732
75680
|
}, m9 = function(r) {
|
|
@@ -75762,7 +75710,7 @@ Required: ` + u.join(", "));
|
|
|
75762
75710
|
return parseInt(Zr(u, r), 10);
|
|
75763
75711
|
}, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
|
|
75764
75712
|
return r.dom.getBoundingClientRect();
|
|
75765
|
-
},
|
|
75713
|
+
}, S6 = function(r, u, f) {
|
|
75766
75714
|
var p = y9(r), y = ik(r);
|
|
75767
75715
|
return u >= 0 && f >= 0 && u <= p && f <= y;
|
|
75768
75716
|
}, b9 = function(r, u, f, p) {
|
|
@@ -75773,7 +75721,7 @@ Required: ` + u.join(", "));
|
|
|
75773
75721
|
};
|
|
75774
75722
|
}, ck = function(r, u, f) {
|
|
75775
75723
|
var p = be.fromDom(r.getBody()), y = r.inline ? p : Ii(p), C = b9(r.inline, y, u, f);
|
|
75776
|
-
return
|
|
75724
|
+
return S6(y, C.x, C.y);
|
|
75777
75725
|
}, w9 = function(r) {
|
|
75778
75726
|
return me.from(r).map(be.fromDom);
|
|
75779
75727
|
}, C9 = function(r) {
|
|
@@ -75944,7 +75892,7 @@ Required: ` + u.join(", "));
|
|
|
75944
75892
|
e3(r, "IconsLoadError", Uu("icons", u, f));
|
|
75945
75893
|
}, k9 = function(r, u, f) {
|
|
75946
75894
|
e3(r, "LanguageLoadError", Uu("language", u, f));
|
|
75947
|
-
},
|
|
75895
|
+
}, k6 = function(r, u, f) {
|
|
75948
75896
|
var p = Us.translate([
|
|
75949
75897
|
"Failed to initialize plugin: {0}",
|
|
75950
75898
|
u
|
|
@@ -75958,17 +75906,17 @@ Required: ` + u.join(", "));
|
|
|
75958
75906
|
}, Vg = function(r) {
|
|
75959
75907
|
return /^[a-z0-9\-]+$/i.test(r);
|
|
75960
75908
|
}, T9 = function(r) {
|
|
75961
|
-
return
|
|
75909
|
+
return T6(r, cb(r));
|
|
75962
75910
|
}, vk = function(r) {
|
|
75963
|
-
return
|
|
75964
|
-
},
|
|
75911
|
+
return T6(r, f2(r));
|
|
75912
|
+
}, T6 = function(r, u) {
|
|
75965
75913
|
var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, y = "content" + p + ".css", C = r.inline === !0;
|
|
75966
75914
|
return ne(u, function(A) {
|
|
75967
75915
|
return Vg(A) && !C ? f + "/" + A + "/" + y : r.documentBaseURI.toAbsolute(A);
|
|
75968
75916
|
});
|
|
75969
|
-
},
|
|
75917
|
+
}, N6 = function(r) {
|
|
75970
75918
|
r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
|
|
75971
|
-
},
|
|
75919
|
+
}, A6 = function() {
|
|
75972
75920
|
var r = 1, u = 2, f = {}, p = function(se, ke) {
|
|
75973
75921
|
return {
|
|
75974
75922
|
status: se,
|
|
@@ -76002,13 +75950,13 @@ Required: ` + u.join(", "));
|
|
|
76002
75950
|
removeFailed: ie,
|
|
76003
75951
|
destroy: ae
|
|
76004
75952
|
};
|
|
76005
|
-
},
|
|
75953
|
+
}, I6 = 0, N9 = function() {
|
|
76006
75954
|
var r = function() {
|
|
76007
75955
|
return Math.round(Math.random() * 4294967295).toString(36);
|
|
76008
75956
|
}, u = (/* @__PURE__ */ new Date()).getTime();
|
|
76009
75957
|
return "s" + u.toString(36) + r() + r() + r();
|
|
76010
75958
|
}, pk = function(r) {
|
|
76011
|
-
return r +
|
|
75959
|
+
return r + I6++ + N9();
|
|
76012
75960
|
}, A9 = function() {
|
|
76013
75961
|
var r = [], u = function(ae) {
|
|
76014
75962
|
var se = {
|
|
@@ -76191,7 +76139,7 @@ Required: ` + u.join(", "));
|
|
|
76191
76139
|
handler: Qw(r)
|
|
76192
76140
|
});
|
|
76193
76141
|
}, I9 = function(r) {
|
|
76194
|
-
var u =
|
|
76142
|
+
var u = A6(), f = gk(r, u);
|
|
76195
76143
|
return {
|
|
76196
76144
|
upload: function(p, y) {
|
|
76197
76145
|
return y === void 0 && (y = !0), f.upload(p, y ? mk(r) : void 0);
|
|
@@ -76215,7 +76163,7 @@ Required: ` + u.join(", "));
|
|
|
76215
76163
|
};
|
|
76216
76164
|
return { fireIfChanged: f };
|
|
76217
76165
|
}, D9 = function(r) {
|
|
76218
|
-
var u = A9(), f, p, y =
|
|
76166
|
+
var u = A9(), f, p, y = A6(), C = [], A = F_(r), P = function(yt) {
|
|
76219
76167
|
return function(Mt) {
|
|
76220
76168
|
return r.selection ? yt(Mt) : [];
|
|
76221
76169
|
};
|
|
@@ -76772,7 +76720,7 @@ Required: ` + u.join(", "));
|
|
|
76772
76720
|
return SS(r, p);
|
|
76773
76721
|
},
|
|
76774
76722
|
matchAll: function(p, y) {
|
|
76775
|
-
return
|
|
76723
|
+
return g6(r, p, y);
|
|
76776
76724
|
},
|
|
76777
76725
|
matchNode: function(p, y, C, A) {
|
|
76778
76726
|
return xS(r, p, y, C, A);
|
|
@@ -76801,7 +76749,7 @@ Required: ` + u.join(", "));
|
|
|
76801
76749
|
u.beforeChange();
|
|
76802
76750
|
}), r.on("SaveContent ObjectResized blur", y), r.on("dragend", y), r.on("keyup", function(M) {
|
|
76803
76751
|
var X = M.keyCode;
|
|
76804
|
-
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(
|
|
76752
|
+
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", {
|
|
76805
76753
|
level: u.data[0],
|
|
76806
76754
|
lastLevel: null
|
|
76807
76755
|
})), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
|
|
@@ -76843,7 +76791,7 @@ Required: ` + u.join(", "));
|
|
|
76843
76791
|
return gI(r, y, p, f, u, C, A);
|
|
76844
76792
|
},
|
|
76845
76793
|
undo: function() {
|
|
76846
|
-
return
|
|
76794
|
+
return m6(r, y, f, p);
|
|
76847
76795
|
},
|
|
76848
76796
|
redo: function() {
|
|
76849
76797
|
return _I(r, p, y.data);
|
|
@@ -76913,7 +76861,7 @@ Required: ` + u.join(", "));
|
|
|
76913
76861
|
return y ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(y) : f === y.nodeName.toLowerCase() : !0;
|
|
76914
76862
|
} else
|
|
76915
76863
|
return !1;
|
|
76916
|
-
},
|
|
76864
|
+
}, D6 = function(r) {
|
|
76917
76865
|
var u = r.dom, f = Oi(r), p = nC(r), y = function(C, A) {
|
|
76918
76866
|
if (!F9(C)) {
|
|
76919
76867
|
var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
|
|
@@ -76956,11 +76904,11 @@ Required: ` + u.join(", "));
|
|
|
76956
76904
|
return li(r, u) ? jm(u, function(f) {
|
|
76957
76905
|
return Ra(f) || pp(f);
|
|
76958
76906
|
}, a3(r)) : me.none();
|
|
76959
|
-
},
|
|
76907
|
+
}, O6 = function(r) {
|
|
76960
76908
|
var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
|
|
76961
76909
|
r.selection.setCursorLocation(f, 0);
|
|
76962
76910
|
}, i3 = function(r) {
|
|
76963
|
-
r.dom.isEmpty(r.getBody()) && (r.setContent(""),
|
|
76911
|
+
r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
|
|
76964
76912
|
}, kk = function(r, u, f) {
|
|
76965
76913
|
return ki(jl(f), Ru(f), function(p, y) {
|
|
76966
76914
|
var C = Nl(!0, p), A = Nl(!1, y), P = Nl(!1, u);
|
|
@@ -77024,7 +76972,7 @@ Required: ` + u.join(", "));
|
|
|
77024
76972
|
}, cd = function(r) {
|
|
77025
76973
|
var u = Bk(r);
|
|
77026
76974
|
return he(u, pi), u;
|
|
77027
|
-
},
|
|
76975
|
+
}, B6 = function(r, u) {
|
|
77028
76976
|
var f = qo(u, r);
|
|
77029
76977
|
return _n(f.reverse(), function(p) {
|
|
77030
76978
|
return ws(p);
|
|
@@ -77040,14 +76988,14 @@ Required: ` + u.join(", "));
|
|
|
77040
76988
|
var y = mc(f.dom, un.before(p.dom));
|
|
77041
76989
|
return he(cd(u), function(C) {
|
|
77042
76990
|
cl(p, C);
|
|
77043
|
-
}),
|
|
76991
|
+
}), B6(r, u), y;
|
|
77044
76992
|
}, Ac = function(r, u, f) {
|
|
77045
76993
|
if (ws(f))
|
|
77046
76994
|
return pi(f), ws(u) && js(u), jl(u.dom);
|
|
77047
76995
|
var p = Ru(f.dom);
|
|
77048
76996
|
return he(cd(u), function(y) {
|
|
77049
76997
|
Ha(f, y);
|
|
77050
|
-
}),
|
|
76998
|
+
}), B6(r, u), p;
|
|
77051
76999
|
}, H9 = function(r, u) {
|
|
77052
77000
|
var f = qo(u, r);
|
|
77053
77001
|
return me.from(f[f.length - 1]);
|
|
@@ -77090,7 +77038,7 @@ Required: ` + u.join(", "));
|
|
|
77090
77038
|
return q9(u, f) ? K9(r) : j9(u, r.selection);
|
|
77091
77039
|
}, Ug = function(r, u) {
|
|
77092
77040
|
return r.selection.isCollapsed() ? !1 : Y9(r);
|
|
77093
|
-
},
|
|
77041
|
+
}, P6 = $s, Vk = xa, _h = function(r, u, f, p, y) {
|
|
77094
77042
|
return me.from(u._selectionOverrides.showCaret(r, f, p, y));
|
|
77095
77043
|
}, X9 = function(r) {
|
|
77096
77044
|
var u = r.ownerDocument.createRange();
|
|
@@ -77098,7 +77046,7 @@ Required: ` + u.join(", "));
|
|
|
77098
77046
|
}, km = function(r, u) {
|
|
77099
77047
|
var f = r.fire("BeforeObjectSelected", { target: u });
|
|
77100
77048
|
return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
|
|
77101
|
-
},
|
|
77049
|
+
}, M6 = function(r, u, f) {
|
|
77102
77050
|
var p = x2(1, r.getBody(), u), y = un.fromRangeStart(p), C = y.getNode();
|
|
77103
77051
|
if (Jd(C))
|
|
77104
77052
|
return _h(1, r, C, !y.isAtEnd(), !1);
|
|
@@ -77106,16 +77054,16 @@ Required: ` + u.join(", "));
|
|
|
77106
77054
|
if (Jd(A))
|
|
77107
77055
|
return _h(1, r, A, !1, !1);
|
|
77108
77056
|
var P = r.dom.getParent(y.getNode(), function(M) {
|
|
77109
|
-
return Vk(M) ||
|
|
77057
|
+
return Vk(M) || P6(M);
|
|
77110
77058
|
});
|
|
77111
77059
|
return Jd(P) ? _h(1, r, P, !1, f) : me.none();
|
|
77112
77060
|
}, H_ = function(r, u, f) {
|
|
77113
|
-
return u.collapsed ?
|
|
77061
|
+
return u.collapsed ? M6(r, u, f).getOr(u) : u;
|
|
77114
77062
|
}, Lk = function(r) {
|
|
77115
77063
|
return Yo(r) || Cr(r);
|
|
77116
77064
|
}, Uk = function(r) {
|
|
77117
77065
|
return Xo(r) || uo(r);
|
|
77118
|
-
},
|
|
77066
|
+
}, R6 = function(r, u) {
|
|
77119
77067
|
Bn(u) && u.data.length === 0 && r.remove(u);
|
|
77120
77068
|
}, zk = function(r, u, f, p, y, C) {
|
|
77121
77069
|
return _h(p, r, C.getNode(!y), y, !0).each(function(A) {
|
|
@@ -77125,7 +77073,7 @@ Required: ` + u.join(", "));
|
|
|
77125
77073
|
} else
|
|
77126
77074
|
u.deleteContents();
|
|
77127
77075
|
r.selection.setRng(A);
|
|
77128
|
-
}),
|
|
77076
|
+
}), R6(r.dom, f), !0;
|
|
77129
77077
|
}, J9 = function(r, u) {
|
|
77130
77078
|
var f = r.selection.getRng();
|
|
77131
77079
|
if (!Bn(f.commonAncestorContainer))
|
|
@@ -77155,16 +77103,16 @@ Required: ` + u.join(", "));
|
|
|
77155
77103
|
return U1(!u, f).fold(function() {
|
|
77156
77104
|
return U1(u, p).fold(Qe, y);
|
|
77157
77105
|
}, y);
|
|
77158
|
-
}, $
|
|
77106
|
+
}, $6 = function(r, u, f, p) {
|
|
77159
77107
|
var y = p.getNode(u === !1);
|
|
77160
77108
|
return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
|
|
77161
77109
|
return ws(C) ? cs.remove(C.dom) : cs.moveToElement(y);
|
|
77162
77110
|
}).orThunk(function() {
|
|
77163
77111
|
return me.some(cs.moveToElement(y));
|
|
77164
77112
|
});
|
|
77165
|
-
},
|
|
77113
|
+
}, F6 = function(r, u, f) {
|
|
77166
77114
|
return Hs(u, r, f).bind(function(p) {
|
|
77167
|
-
return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $
|
|
77115
|
+
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();
|
|
77168
77116
|
});
|
|
77169
77117
|
}, Wk = function(r, u) {
|
|
77170
77118
|
return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
|
|
@@ -77178,8 +77126,8 @@ Required: ` + u.join(", "));
|
|
|
77178
77126
|
});
|
|
77179
77127
|
}, Gk = function(r, u, f) {
|
|
77180
77128
|
return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
|
|
77181
|
-
return
|
|
77182
|
-
}, me.some) :
|
|
77129
|
+
return F6(r, u, f);
|
|
77130
|
+
}, me.some) : F6(r, u, f).bind(function(p) {
|
|
77183
77131
|
return jk(r, f, p);
|
|
77184
77132
|
});
|
|
77185
77133
|
}, qk = function(r, u, f) {
|
|
@@ -77198,7 +77146,7 @@ Required: ` + u.join(", "));
|
|
|
77198
77146
|
var p = u ? un.before(f) : un.after(f);
|
|
77199
77147
|
return r.selection.setRng(p.toRange()), !0;
|
|
77200
77148
|
};
|
|
77201
|
-
},
|
|
77149
|
+
}, V6 = function(r) {
|
|
77202
77150
|
return function(u) {
|
|
77203
77151
|
return r.selection.setRng(u.toRange()), !0;
|
|
77204
77152
|
};
|
|
@@ -77208,7 +77156,7 @@ Required: ` + u.join(", "));
|
|
|
77208
77156
|
var f = r.selection.getNode();
|
|
77209
77157
|
return Kk(r, f).filter(xa).fold(function() {
|
|
77210
77158
|
return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
|
|
77211
|
-
return p.fold(f3(r, u), d3(r, u),
|
|
77159
|
+
return p.fold(f3(r, u), d3(r, u), V6(r));
|
|
77212
77160
|
});
|
|
77213
77161
|
}, Ht);
|
|
77214
77162
|
}, Q9 = function(r) {
|
|
@@ -77222,7 +77170,7 @@ Required: ` + u.join(", "));
|
|
|
77222
77170
|
}, Ht);
|
|
77223
77171
|
}
|
|
77224
77172
|
return !1;
|
|
77225
|
-
},
|
|
77173
|
+
}, L6 = function(r) {
|
|
77226
77174
|
var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
|
|
77227
77175
|
if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
|
|
77228
77176
|
var y = u.create("br", { "data-mce-bogus": "1" });
|
|
@@ -77269,7 +77217,7 @@ Required: ` + u.join(", "));
|
|
|
77269
77217
|
}, Zk = function(r, u) {
|
|
77270
77218
|
var f = u.get();
|
|
77271
77219
|
return f && r.container() === f && Wc(f);
|
|
77272
|
-
},
|
|
77220
|
+
}, U6 = function(r, u) {
|
|
77273
77221
|
return u.fold(function(f) {
|
|
77274
77222
|
qf(r.get());
|
|
77275
77223
|
var p = p3(f);
|
|
@@ -77307,11 +77255,11 @@ Required: ` + u.join(", "));
|
|
|
77307
77255
|
{ start: ["element"] },
|
|
77308
77256
|
{ end: ["element"] },
|
|
77309
77257
|
{ after: ["element"] }
|
|
77310
|
-
]),
|
|
77258
|
+
]), z6 = function(r, u) {
|
|
77311
77259
|
var f = Yf(u, r);
|
|
77312
77260
|
return f || r;
|
|
77313
77261
|
}, oD = function(r, u, f) {
|
|
77314
|
-
var p = Vv(f), y =
|
|
77262
|
+
var p = Vv(f), y = z6(u, p.container());
|
|
77315
77263
|
return lu(r, y, p).fold(function() {
|
|
77316
77264
|
return eu(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77317
77265
|
return fs.before(C);
|
|
@@ -77334,14 +77282,14 @@ Required: ` + u.join(", "));
|
|
|
77334
77282
|
return C.isNone() ? me.some(fs.end(y)) : me.none();
|
|
77335
77283
|
});
|
|
77336
77284
|
}, sD = function(r, u, f) {
|
|
77337
|
-
var p = U_(f), y =
|
|
77285
|
+
var p = U_(f), y = z6(u, p.container());
|
|
77338
77286
|
return lu(r, y, p).fold(function() {
|
|
77339
77287
|
return mc(y, p).bind(Ue(lu, r, y)).map(function(C) {
|
|
77340
77288
|
return fs.after(C);
|
|
77341
77289
|
});
|
|
77342
77290
|
}, me.none);
|
|
77343
77291
|
}, e5 = function(r) {
|
|
77344
|
-
return z9(
|
|
77292
|
+
return z9(H6(r)) === !1;
|
|
77345
77293
|
}, fd = function(r, u, f) {
|
|
77346
77294
|
var p = Qk([
|
|
77347
77295
|
oD,
|
|
@@ -77354,7 +77302,7 @@ Required: ` + u.join(", "));
|
|
|
77354
77302
|
f
|
|
77355
77303
|
]);
|
|
77356
77304
|
return p.filter(e5);
|
|
77357
|
-
},
|
|
77305
|
+
}, H6 = function(r) {
|
|
77358
77306
|
return r.fold(_t, _t, _t, _t);
|
|
77359
77307
|
}, t5 = function(r) {
|
|
77360
77308
|
return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
|
|
@@ -77363,7 +77311,7 @@ Required: ` + u.join(", "));
|
|
|
77363
77311
|
}, Wg = function(r) {
|
|
77364
77312
|
return r.fold(fs.start, fs.start, fs.end, fs.end);
|
|
77365
77313
|
}, uD = function(r, u) {
|
|
77366
|
-
return t5(r) === t5(u) &&
|
|
77314
|
+
return t5(r) === t5(u) && H6(r) === H6(u);
|
|
77367
77315
|
}, cD = function(r, u, f, p, y, C) {
|
|
77368
77316
|
return ki(lu(u, f, p), lu(u, f, y), function(A, P) {
|
|
77369
77317
|
return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
|
|
@@ -77381,13 +77329,13 @@ Required: ` + u.join(", "));
|
|
|
77381
77329
|
return P.filter(e5);
|
|
77382
77330
|
}, dD = function(r, u) {
|
|
77383
77331
|
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));
|
|
77384
|
-
},
|
|
77332
|
+
}, W6 = function(r, u, f, p) {
|
|
77385
77333
|
var y = Nl(r, p), C = fd(u, f, y);
|
|
77386
77334
|
return fd(u, f, y).bind(Ue(dD, r)).orThunk(function() {
|
|
77387
77335
|
return fD(r, u, f, C, p);
|
|
77388
77336
|
});
|
|
77389
77337
|
};
|
|
77390
|
-
Ue(
|
|
77338
|
+
Ue(W6, !1), Ue(W6, !0);
|
|
77391
77339
|
var hD = function(r) {
|
|
77392
77340
|
return Pe(r.selection.getSel().modify);
|
|
77393
77341
|
}, n5 = function(r, u, f) {
|
|
@@ -77459,7 +77407,7 @@ Required: ` + u.join(", "));
|
|
|
77459
77407
|
});
|
|
77460
77408
|
}, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
|
|
77461
77409
|
return Nm(r, u).breakAt.isNone();
|
|
77462
|
-
},
|
|
77410
|
+
}, j6 = function(r, u) {
|
|
77463
77411
|
return W_(r, u).breakAt.isNone();
|
|
77464
77412
|
}, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
|
|
77465
77413
|
return jl(r).map(function(u) {
|
|
@@ -77509,7 +77457,7 @@ Required: ` + u.join(", "));
|
|
|
77509
77457
|
return u.line > r;
|
|
77510
77458
|
}, c5 = function(r, u) {
|
|
77511
77459
|
return u.line === r;
|
|
77512
|
-
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il),
|
|
77460
|
+
}, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
|
|
77513
77461
|
var y = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
|
|
77514
77462
|
return oa(Oe.getClientRects());
|
|
77515
77463
|
};
|
|
@@ -77527,13 +77475,13 @@ Required: ` + u.join(", "));
|
|
|
77527
77475
|
return function(u) {
|
|
77528
77476
|
return Gg(r, u);
|
|
77529
77477
|
};
|
|
77530
|
-
},
|
|
77478
|
+
}, q6 = function(r) {
|
|
77531
77479
|
return function(u) {
|
|
77532
77480
|
return c5(r, u);
|
|
77533
77481
|
};
|
|
77534
|
-
}, bD = xa, v5 = cv,
|
|
77482
|
+
}, bD = xa, v5 = cv, K6 = function(r, u) {
|
|
77535
77483
|
return Math.abs(r.left - u);
|
|
77536
|
-
},
|
|
77484
|
+
}, Y6 = function(r, u) {
|
|
77537
77485
|
return Math.abs(r.right - u);
|
|
77538
77486
|
}, Dc = function(r, u) {
|
|
77539
77487
|
return r >= u.left && r <= u.right;
|
|
@@ -77541,7 +77489,7 @@ Required: ` + u.join(", "));
|
|
|
77541
77489
|
return r >= u.top && r <= u.bottom;
|
|
77542
77490
|
}, C3 = function(r, u) {
|
|
77543
77491
|
return Po(r, function(f, p) {
|
|
77544
|
-
var y = Math.min(
|
|
77492
|
+
var y = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
|
|
77545
77493
|
return Dc(u, p) ? p : Dc(u, f) ? f : C === y && bD(p.node) || C < y ? p : f;
|
|
77546
77494
|
});
|
|
77547
77495
|
}, p5 = function(r, u, f, p, y) {
|
|
@@ -77564,7 +77512,7 @@ Required: ` + u.join(", "));
|
|
|
77564
77512
|
}, ED = function(r, u) {
|
|
77565
77513
|
return {
|
|
77566
77514
|
node: r.node,
|
|
77567
|
-
before:
|
|
77515
|
+
before: K6(r, u) < Y6(r, u)
|
|
77568
77516
|
};
|
|
77569
77517
|
}, SD = function(r, u, f) {
|
|
77570
77518
|
var p = w3(xD(r)), y = Pt(p, Ue(wD, f)), C = C3(y, u);
|
|
@@ -77576,7 +77524,7 @@ Required: ` + u.join(", "));
|
|
|
77576
77524
|
return null;
|
|
77577
77525
|
}, di = function(r, u) {
|
|
77578
77526
|
r.selection.setRng(u), Tv(r, r.selection.getRng());
|
|
77579
|
-
},
|
|
77527
|
+
}, X6 = function(r, u, f) {
|
|
77580
77528
|
return me.some(H_(r, u, f));
|
|
77581
77529
|
}, m5 = function(r, u, f, p, y, C) {
|
|
77582
77530
|
var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : y;
|
|
@@ -77594,21 +77542,21 @@ Required: ` + u.join(", "));
|
|
|
77594
77542
|
if (X(se))
|
|
77595
77543
|
return _h(u, r, se.getNode(!A), A, !1);
|
|
77596
77544
|
var Oe = M(se);
|
|
77597
|
-
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ?
|
|
77598
|
-
},
|
|
77545
|
+
return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X6(r, se.toRange(), !1) : me.none();
|
|
77546
|
+
}, J6 = function(r, u, f, p, y, C) {
|
|
77599
77547
|
var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
|
|
77600
77548
|
if (!P)
|
|
77601
77549
|
return me.none();
|
|
77602
|
-
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie,
|
|
77550
|
+
var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
|
|
77603
77551
|
if (ke && C(ke.node)) {
|
|
77604
77552
|
var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
|
|
77605
77553
|
return _h(u, r, ke.node, Oe < $e, !1);
|
|
77606
77554
|
}
|
|
77607
77555
|
var Ee;
|
|
77608
77556
|
if (p(A) ? Ee = A.getNode() : y(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
|
|
77609
|
-
var ot =
|
|
77610
|
-
if (et || (et = oa(Pt(ot,
|
|
77611
|
-
return
|
|
77557
|
+
var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
|
|
77558
|
+
if (et || (et = oa(Pt(ot, q6(0))), et))
|
|
77559
|
+
return X6(r, et.position.toRange(), !1);
|
|
77612
77560
|
}
|
|
77613
77561
|
return ae.length === 0 ? j_(r, M).filter(M ? y : p).map(function(ut) {
|
|
77614
77562
|
return H_(r, ut.toRange(), !1);
|
|
@@ -77632,11 +77580,11 @@ Required: ` + u.join(", "));
|
|
|
77632
77580
|
}, _5 = function(r, u) {
|
|
77633
77581
|
r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
|
|
77634
77582
|
}, Uv = function(r, u, f) {
|
|
77635
|
-
return
|
|
77583
|
+
return U6(u, f).map(function(p) {
|
|
77636
77584
|
return x3(r, p), f;
|
|
77637
77585
|
});
|
|
77638
77586
|
}, kD = function(r, u, f) {
|
|
77639
|
-
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A =
|
|
77587
|
+
var p = r.getBody(), y = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W6(f, C, p, y);
|
|
77640
77588
|
return A.bind(function(P) {
|
|
77641
77589
|
return Uv(r, u, P);
|
|
77642
77590
|
});
|
|
@@ -77677,7 +77625,7 @@ Required: ` + u.join(", "));
|
|
|
77677
77625
|
});
|
|
77678
77626
|
return fd(Ue(Em, r), r.getBody(), p).exists(function(y) {
|
|
77679
77627
|
var C = Tm(y);
|
|
77680
|
-
return
|
|
77628
|
+
return U6(f, C).exists(function(A) {
|
|
77681
77629
|
return x3(r, A), !0;
|
|
77682
77630
|
});
|
|
77683
77631
|
});
|
|
@@ -77695,7 +77643,7 @@ Required: ` + u.join(", "));
|
|
|
77695
77643
|
}).getOr(!0);
|
|
77696
77644
|
}, C5 = function(r, u) {
|
|
77697
77645
|
return function(f) {
|
|
77698
|
-
return
|
|
77646
|
+
return U6(u, f).exists(function(p) {
|
|
77699
77647
|
return x3(r, p), !0;
|
|
77700
77648
|
});
|
|
77701
77649
|
};
|
|
@@ -77738,9 +77686,9 @@ Required: ` + u.join(", "));
|
|
|
77738
77686
|
return Kn(f, Fs).fold(Fe(f), function(p) {
|
|
77739
77687
|
return f.slice(0, p);
|
|
77740
77688
|
});
|
|
77741
|
-
},
|
|
77689
|
+
}, Z6 = function(r) {
|
|
77742
77690
|
return va(r).length === 1;
|
|
77743
|
-
},
|
|
77691
|
+
}, Q6 = function(r, u, f, p) {
|
|
77744
77692
|
var y = Ue(DA, u), C = ne(Pt(p, y), function(P) {
|
|
77745
77693
|
return P.dom;
|
|
77746
77694
|
});
|
|
@@ -77751,10 +77699,10 @@ Required: ` + u.join(", "));
|
|
|
77751
77699
|
u.selection.setRng(A.toRange());
|
|
77752
77700
|
}
|
|
77753
77701
|
}, BD = function(r, u) {
|
|
77754
|
-
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p),
|
|
77702
|
+
var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), y = Pt(OD(f, p), Z6);
|
|
77755
77703
|
return nr(y).exists(function(C) {
|
|
77756
77704
|
var A = un.fromRangeStart(r.selection.getRng());
|
|
77757
|
-
return kk(u, A, C.dom) && !OA(C) ? (
|
|
77705
|
+
return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, y), !0) : !1;
|
|
77758
77706
|
});
|
|
77759
77707
|
}, hd = function(r, u) {
|
|
77760
77708
|
return r.selection.isCollapsed() ? BD(r, u) : !1;
|
|
@@ -77966,7 +77914,7 @@ Required: ` + u.join(", "));
|
|
|
77966
77914
|
}, y = function(C) {
|
|
77967
77915
|
return Xo(C) || xo(C);
|
|
77968
77916
|
};
|
|
77969
|
-
return
|
|
77917
|
+
return J6(u, r, f, p, y, rx);
|
|
77970
77918
|
}, tO = function(r) {
|
|
77971
77919
|
var u = r.dom.create(Oi(r));
|
|
77972
77920
|
return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
|
|
@@ -78022,7 +77970,7 @@ Required: ` + u.join(", "));
|
|
|
78022
77970
|
var f = Ue(yo, u);
|
|
78023
77971
|
return jm(be.fromDom(r.container()), Fs, f).filter(oO);
|
|
78024
77972
|
}, $5 = function(r, u, f) {
|
|
78025
|
-
return u ?
|
|
77973
|
+
return u ? j6(r.dom, f) : a5(r.dom, f);
|
|
78026
77974
|
}, F5 = function(r, u) {
|
|
78027
77975
|
var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), y = Oi(r), C = iv(r);
|
|
78028
77976
|
return lO(p, f).exists(function() {
|
|
@@ -78068,7 +78016,7 @@ Required: ` + u.join(", "));
|
|
|
78068
78016
|
});
|
|
78069
78017
|
}, Im = function(r, u) {
|
|
78070
78018
|
var f = u ? 1 : -1, p = r.selection.getRng();
|
|
78071
|
-
return
|
|
78019
|
+
return J6(r, f, p, Cr, uo, es).exists(function(y) {
|
|
78072
78020
|
return di(r, y), !0;
|
|
78073
78021
|
});
|
|
78074
78022
|
}, lx = function(r, u) {
|
|
@@ -78385,11 +78333,11 @@ Required: ` + u.join(", "));
|
|
|
78385
78333
|
Yg([
|
|
78386
78334
|
{
|
|
78387
78335
|
keyCode: Pr.BACKSPACE,
|
|
78388
|
-
action: Eo(
|
|
78336
|
+
action: Eo(L6, r)
|
|
78389
78337
|
},
|
|
78390
78338
|
{
|
|
78391
78339
|
keyCode: Pr.DELETE,
|
|
78392
|
-
action: Eo(
|
|
78340
|
+
action: Eo(L6, r)
|
|
78393
78341
|
}
|
|
78394
78342
|
], u);
|
|
78395
78343
|
}, px = function(r, u) {
|
|
@@ -78772,7 +78720,7 @@ Required: ` + u.join(", "));
|
|
|
78772
78720
|
MO(r, u);
|
|
78773
78721
|
}, ve);
|
|
78774
78722
|
}, uT = function(r, u) {
|
|
78775
|
-
u.isDefaultPrevented() || (u.preventDefault(),
|
|
78723
|
+
u.isDefaultPrevented() || (u.preventDefault(), h6(r.undoManager), r.undoManager.transact(function() {
|
|
78776
78724
|
r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
|
|
78777
78725
|
}));
|
|
78778
78726
|
}, cT = function(r) {
|
|
@@ -78973,7 +78921,7 @@ Required: ` + u.join(", "));
|
|
|
78973
78921
|
return u.setEnd(A.container(), A.offset());
|
|
78974
78922
|
});
|
|
78975
78923
|
}
|
|
78976
|
-
r.selection.setRng(
|
|
78924
|
+
r.selection.setRng(D8(u));
|
|
78977
78925
|
}, f7 = function(r) {
|
|
78978
78926
|
r.on("click", function(u) {
|
|
78979
78927
|
u.detail >= 3 && Ex(r);
|
|
@@ -79248,7 +79196,7 @@ Required: ` + u.join(", "));
|
|
|
79248
79196
|
}, ot = function() {
|
|
79249
79197
|
r.on("mouseup", function(Gn) {
|
|
79250
79198
|
var ir = Oe();
|
|
79251
|
-
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) &&
|
|
79199
|
+
ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
|
|
79252
79200
|
}), r.on("click", function(Gn) {
|
|
79253
79201
|
var ir = ty(r, Gn.target);
|
|
79254
79202
|
ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
|
|
@@ -79778,7 +79726,7 @@ Required: ` + u.join(", "));
|
|
|
79778
79726
|
}
|
|
79779
79727
|
}), 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);
|
|
79780
79728
|
var A = i7(r);
|
|
79781
|
-
UD(r, A), YD(r),
|
|
79729
|
+
UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
|
|
79782
79730
|
F3(r);
|
|
79783
79731
|
}, function(P) {
|
|
79784
79732
|
r.setProgressState(!0), P.then(function(M) {
|
|
@@ -79834,7 +79782,7 @@ Required: ` + u.join(", "));
|
|
|
79834
79782
|
var C = new p(r, y, r.$);
|
|
79835
79783
|
r.plugins[f] = C, C.init && (C.init(r, y), u.push(f));
|
|
79836
79784
|
} catch (A) {
|
|
79837
|
-
|
|
79785
|
+
k6(r, f, A);
|
|
79838
79786
|
}
|
|
79839
79787
|
}
|
|
79840
79788
|
}, NT = function(r) {
|
|
@@ -79896,7 +79844,7 @@ Required: ` + u.join(", "));
|
|
|
79896
79844
|
editorContainer: u.editorContainer,
|
|
79897
79845
|
iframeContainer: u.iframeContainer
|
|
79898
79846
|
};
|
|
79899
|
-
return r.editorContainer = f.editorContainer ? f.editorContainer : null,
|
|
79847
|
+
return r.editorContainer = f.editorContainer ? f.editorContainer : null, N6(r), r.inline ? V3(r) : j7(r, f);
|
|
79900
79848
|
}, Om = ua.DOM, z3 = function(r) {
|
|
79901
79849
|
return r.charAt(0) === "-";
|
|
79902
79850
|
}, J7 = function(r, u) {
|
|
@@ -80048,7 +79996,7 @@ Required: ` + u.join(", "));
|
|
|
80048
79996
|
}, y = function(C) {
|
|
80049
79997
|
return yo(be.fromDom(u), C);
|
|
80050
79998
|
};
|
|
80051
|
-
return
|
|
79999
|
+
return L8(be.fromDom(f), function(C) {
|
|
80052
80000
|
return p(C);
|
|
80053
80001
|
}, y);
|
|
80054
80002
|
}, aB = function(r) {
|
|
@@ -80103,7 +80051,7 @@ Required: ` + u.join(", "));
|
|
|
80103
80051
|
}).getOr("");
|
|
80104
80052
|
}, dB = function(r) {
|
|
80105
80053
|
return Zg(r, function(u) {
|
|
80106
|
-
var f = be.fromDom(r.getBody()), p =
|
|
80054
|
+
var f = be.fromDom(r.getBody()), p = L8(u, function(C) {
|
|
80107
80055
|
return ea(C, "line-height");
|
|
80108
80056
|
}, Ue(yo, f)), y = function() {
|
|
80109
80057
|
var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
|
|
@@ -87079,7 +87027,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87079
87027
|
return c4(a, v, c, -1);
|
|
87080
87028
|
}, Cc = function(a, c, v) {
|
|
87081
87029
|
return c4(a, v, c, 1);
|
|
87082
|
-
},
|
|
87030
|
+
}, e8 = [
|
|
87083
87031
|
bi("selectors", [
|
|
87084
87032
|
nt("row"),
|
|
87085
87033
|
nt("cell")
|
|
@@ -87095,11 +87043,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87095
87043
|
b.each(function(x) {
|
|
87096
87044
|
c.focusManager.set(a, x);
|
|
87097
87045
|
});
|
|
87098
|
-
},
|
|
87046
|
+
}, t8 = function(a, c, v) {
|
|
87099
87047
|
return El(a.element).bind(function(b) {
|
|
87100
87048
|
return v.execute(a, c, b);
|
|
87101
87049
|
});
|
|
87102
|
-
},
|
|
87050
|
+
}, n8 = function(a, c) {
|
|
87103
87051
|
return Ge(a, function(v) {
|
|
87104
87052
|
return Hl(v, c.selectors.cell);
|
|
87105
87053
|
});
|
|
@@ -87111,7 +87059,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87111
87059
|
return Z2(F, b).bind(function(L) {
|
|
87112
87060
|
var G = Hl(v, x.selectors.row);
|
|
87113
87061
|
return Z2(G, D).bind(function(Z) {
|
|
87114
|
-
var ee =
|
|
87062
|
+
var ee = n8(G, x);
|
|
87115
87063
|
return N(ee, Z, L).map(function(fe) {
|
|
87116
87064
|
return fe.cell;
|
|
87117
87065
|
});
|
|
@@ -87119,13 +87067,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87119
87067
|
});
|
|
87120
87068
|
});
|
|
87121
87069
|
};
|
|
87122
|
-
}, vg = rd(dg, d4), p4 = rd(fg, wc),
|
|
87070
|
+
}, vg = rd(dg, d4), p4 = rd(fg, wc), r8 = rd(hg, QC), Av = rd(f4, Cc), o8 = V([
|
|
87123
87071
|
Co(ho(ng), ag(vg, p4)),
|
|
87124
87072
|
Co(ho(ch), om(vg, p4)),
|
|
87125
|
-
Co(ho(em), ig(
|
|
87073
|
+
Co(ho(em), ig(r8)),
|
|
87126
87074
|
Co(ho(of), Zb(Av)),
|
|
87127
|
-
Co(ho(ls.concat(bc)),
|
|
87128
|
-
]),
|
|
87075
|
+
Co(ho(ls.concat(bc)), t8)
|
|
87076
|
+
]), a8 = V([Co(ho(ls), Sv)]), i8 = Vu(e8, bl.init, o8, a8, function() {
|
|
87129
87077
|
return U.some(h4);
|
|
87130
87078
|
}), m4 = [
|
|
87131
87079
|
nt("selector"),
|
|
@@ -87135,7 +87083,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87135
87083
|
return v.focusManager.get(a).bind(function(b) {
|
|
87136
87084
|
return v.execute(a, c, b);
|
|
87137
87085
|
});
|
|
87138
|
-
},
|
|
87086
|
+
}, l8 = function(a, c, v) {
|
|
87139
87087
|
rl(a.element, c.selector).each(function(b) {
|
|
87140
87088
|
c.focusManager.set(a, b);
|
|
87141
87089
|
});
|
|
@@ -87147,7 +87095,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87147
87095
|
return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
|
|
87148
87096
|
}, _4 = function(a, c, v, b) {
|
|
87149
87097
|
return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
|
|
87150
|
-
},
|
|
87098
|
+
}, s8 = V([
|
|
87151
87099
|
Co(ho(em), ed(g4)),
|
|
87152
87100
|
Co(ho(of), ed(lm)),
|
|
87153
87101
|
Co(ou([
|
|
@@ -87160,8 +87108,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87160
87108
|
]), _4),
|
|
87161
87109
|
Co(ho(bc), Iv),
|
|
87162
87110
|
Co(ho(ls), Iv)
|
|
87163
|
-
]),
|
|
87164
|
-
return U.some(
|
|
87111
|
+
]), u8 = V([Co(ho(ls), Sv)]), c8 = Vu(m4, bl.init, s8, u8, function() {
|
|
87112
|
+
return U.some(l8);
|
|
87165
87113
|
}), od = [
|
|
87166
87114
|
Ya("onSpace"),
|
|
87167
87115
|
Ya("onEnter"),
|
|
@@ -87201,11 +87149,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87201
87149
|
Co(ho(ls), v.onSpace),
|
|
87202
87150
|
Co(ho(Qp), v.onEscape)
|
|
87203
87151
|
];
|
|
87204
|
-
},
|
|
87152
|
+
}, f8 = function(a, c, v) {
|
|
87205
87153
|
return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
|
|
87206
|
-
}, l_ = Vu(od, bl.init, y4,
|
|
87154
|
+
}, l_ = Vu(od, bl.init, y4, f8, function(a) {
|
|
87207
87155
|
return a.focusIn;
|
|
87208
|
-
}), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ =
|
|
87156
|
+
}), 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({
|
|
87209
87157
|
__proto__: null,
|
|
87210
87158
|
acyclic: b4,
|
|
87211
87159
|
cyclic: w4,
|
|
@@ -87240,7 +87188,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87240
87188
|
}
|
|
87241
87189
|
},
|
|
87242
87190
|
state: dh
|
|
87243
|
-
}),
|
|
87191
|
+
}), d8 = function(a, c, v, b) {
|
|
87244
87192
|
J0(function() {
|
|
87245
87193
|
var x = Ge(b, a.getSystem().build);
|
|
87246
87194
|
Jd(a, x);
|
|
@@ -87268,24 +87216,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87268
87216
|
}, F);
|
|
87269
87217
|
}), D;
|
|
87270
87218
|
});
|
|
87271
|
-
},
|
|
87219
|
+
}, h8 = function(a, c, v, b, x) {
|
|
87272
87220
|
var N = gg(a);
|
|
87273
87221
|
return at(N, b).bind(function(D) {
|
|
87274
87222
|
return E4(a, c, v, D, x);
|
|
87275
87223
|
});
|
|
87276
|
-
},
|
|
87224
|
+
}, v8 = /* @__PURE__ */ Object.freeze({
|
|
87277
87225
|
__proto__: null,
|
|
87278
87226
|
append: au,
|
|
87279
87227
|
prepend: d_,
|
|
87280
87228
|
remove: lf,
|
|
87281
87229
|
replaceAt: E4,
|
|
87282
|
-
replaceBy:
|
|
87283
|
-
set:
|
|
87230
|
+
replaceBy: h8,
|
|
87231
|
+
set: d8,
|
|
87284
87232
|
contents: gg
|
|
87285
87233
|
}), Qr = Fa({
|
|
87286
87234
|
fields: [],
|
|
87287
87235
|
name: "replacing",
|
|
87288
|
-
apis:
|
|
87236
|
+
apis: v8
|
|
87289
87237
|
}), h_ = function(a, c) {
|
|
87290
87238
|
var v = Oo(c);
|
|
87291
87239
|
return Fa({
|
|
@@ -87307,14 +87255,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87307
87255
|
};
|
|
87308
87256
|
}, S4 = function(a, c) {
|
|
87309
87257
|
c.ignore || (zs(a.element), c.onFocus(a));
|
|
87310
|
-
},
|
|
87258
|
+
}, p8 = function(a, c) {
|
|
87311
87259
|
c.ignore || Lw(a.element);
|
|
87312
87260
|
}, _g = function(a) {
|
|
87313
87261
|
return w1(a.element);
|
|
87314
|
-
},
|
|
87262
|
+
}, m8 = /* @__PURE__ */ Object.freeze({
|
|
87315
87263
|
__proto__: null,
|
|
87316
87264
|
focus: S4,
|
|
87317
|
-
blur:
|
|
87265
|
+
blur: p8,
|
|
87318
87266
|
isFocused: _g
|
|
87319
87267
|
}), k4 = function(a, c) {
|
|
87320
87268
|
var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
|
|
@@ -87325,20 +87273,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87325
87273
|
})].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
|
|
87326
87274
|
v.event.prevent();
|
|
87327
87275
|
})] : []));
|
|
87328
|
-
},
|
|
87276
|
+
}, g8 = /* @__PURE__ */ Object.freeze({
|
|
87329
87277
|
__proto__: null,
|
|
87330
87278
|
exhibit: k4,
|
|
87331
87279
|
events: v_
|
|
87332
|
-
}),
|
|
87280
|
+
}), _8 = [
|
|
87333
87281
|
Mo("onFocus"),
|
|
87334
87282
|
Ot("stopMousedown", !1),
|
|
87335
87283
|
Ot("ignore", !1)
|
|
87336
87284
|
], Gr = Fa({
|
|
87337
|
-
fields:
|
|
87285
|
+
fields: _8,
|
|
87338
87286
|
name: "focusing",
|
|
87339
|
-
active:
|
|
87340
|
-
apis:
|
|
87341
|
-
}),
|
|
87287
|
+
active: g8,
|
|
87288
|
+
apis: m8
|
|
87289
|
+
}), y8 = function(a) {
|
|
87342
87290
|
var c = function() {
|
|
87343
87291
|
var v = jn(a), b = function() {
|
|
87344
87292
|
return v.get();
|
|
@@ -87424,7 +87372,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87424
87372
|
name: "toggling",
|
|
87425
87373
|
active: _e,
|
|
87426
87374
|
apis: W,
|
|
87427
|
-
state:
|
|
87375
|
+
state: y8(!1)
|
|
87428
87376
|
}), tn = function() {
|
|
87429
87377
|
var a = function(c, v) {
|
|
87430
87378
|
v.stop(), Nf(c);
|
|
@@ -87668,7 +87616,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87668
87616
|
Ot("fakeFocus", !1),
|
|
87669
87617
|
Ot("focusManager", Qf()),
|
|
87670
87618
|
Mo("onHighlight")
|
|
87671
|
-
]), T4 = V("alloy.menu-focus"),
|
|
87619
|
+
]), T4 = V("alloy.menu-focus"), b8 = function(a, c, v, b) {
|
|
87672
87620
|
return {
|
|
87673
87621
|
uid: a.uid,
|
|
87674
87622
|
dom: a.dom,
|
|
@@ -87711,7 +87659,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
87711
87659
|
name: "Menu",
|
|
87712
87660
|
configFields: yg(),
|
|
87713
87661
|
partFields: sf(),
|
|
87714
|
-
factory:
|
|
87662
|
+
factory: b8
|
|
87715
87663
|
}), bg = function(a) {
|
|
87716
87664
|
return da(a, function(c, v) {
|
|
87717
87665
|
return {
|
|
@@ -88079,7 +88027,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88079
88027
|
menus: ge(a, c),
|
|
88080
88028
|
expansions: {}
|
|
88081
88029
|
};
|
|
88082
|
-
},
|
|
88030
|
+
}, w8 = function(a) {
|
|
88083
88031
|
return {
|
|
88084
88032
|
value: Tr(Yx()),
|
|
88085
88033
|
meta: { text: a }
|
|
@@ -88129,7 +88077,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88129
88077
|
extraApis: {
|
|
88130
88078
|
tieredData: Xx,
|
|
88131
88079
|
singleData: kN,
|
|
88132
|
-
collapseItem:
|
|
88080
|
+
collapseItem: w8
|
|
88133
88081
|
}
|
|
88134
88082
|
}), TN = function(a, c, v, b, x) {
|
|
88135
88083
|
var N = function() {
|
|
@@ -88768,7 +88716,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88768
88716
|
}, rE = function(a) {
|
|
88769
88717
|
return a !== "" && ` \f
|
|
88770
88718
|
\r \v`.indexOf(a) !== -1;
|
|
88771
|
-
},
|
|
88719
|
+
}, C8 = function(a, c) {
|
|
88772
88720
|
return a.substring(c.length);
|
|
88773
88721
|
}, gm = function(a, c, v) {
|
|
88774
88722
|
var b;
|
|
@@ -88791,13 +88739,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88791
88739
|
if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
|
|
88792
88740
|
return U.none();
|
|
88793
88741
|
var L = nE(F), G = L.lastIndexOf(v);
|
|
88794
|
-
return G !== 0 ||
|
|
88795
|
-
text:
|
|
88742
|
+
return G !== 0 || C8(L, v).length < b ? U.none() : U.some({
|
|
88743
|
+
text: C8(L, v),
|
|
88796
88744
|
range: F,
|
|
88797
88745
|
triggerChar: v
|
|
88798
88746
|
});
|
|
88799
88747
|
});
|
|
88800
|
-
},
|
|
88748
|
+
}, x8 = function(a, c, v, b) {
|
|
88801
88749
|
return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
|
|
88802
88750
|
return w_(a, c, v, b);
|
|
88803
88751
|
}, function(x) {
|
|
@@ -88806,11 +88754,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88806
88754
|
var D = nE(N);
|
|
88807
88755
|
return U.some({
|
|
88808
88756
|
range: N,
|
|
88809
|
-
text:
|
|
88757
|
+
text: C8(D, v),
|
|
88810
88758
|
triggerChar: v
|
|
88811
88759
|
});
|
|
88812
88760
|
});
|
|
88813
|
-
},
|
|
88761
|
+
}, E8 = function(a, c) {
|
|
88814
88762
|
c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
|
|
88815
88763
|
var v = function(b, x) {
|
|
88816
88764
|
_r(b, lp(), { raw: x });
|
|
@@ -88829,14 +88777,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88829
88777
|
}), c.on("NodeChange", function(b) {
|
|
88830
88778
|
a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
|
|
88831
88779
|
});
|
|
88832
|
-
}, VN = { setup:
|
|
88780
|
+
}, VN = { setup: E8 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
|
|
88833
88781
|
return {
|
|
88834
88782
|
container: a,
|
|
88835
88783
|
offset: c
|
|
88836
88784
|
};
|
|
88837
88785
|
}, oE = function(a) {
|
|
88838
88786
|
return a.nodeType === Nh;
|
|
88839
|
-
},
|
|
88787
|
+
}, S8 = function(a) {
|
|
88840
88788
|
return a.nodeType === Cf;
|
|
88841
88789
|
}, aE = function(a) {
|
|
88842
88790
|
if (oE(a))
|
|
@@ -88845,7 +88793,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88845
88793
|
return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
|
|
88846
88794
|
}, C_ = function(a, c) {
|
|
88847
88795
|
var v = a.childNodes;
|
|
88848
|
-
return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 &&
|
|
88796
|
+
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);
|
|
88849
88797
|
}, LN = function(a, c) {
|
|
88850
88798
|
return eE(a, c.container, c.offset, function(v, b) {
|
|
88851
88799
|
return b === 0 ? -1 : b;
|
|
@@ -88860,7 +88808,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88860
88808
|
};
|
|
88861
88809
|
}, zN = function(a, c, v) {
|
|
88862
88810
|
return dn(v.triggerChars, function(b) {
|
|
88863
|
-
return
|
|
88811
|
+
return x8(a, c, b);
|
|
88864
88812
|
});
|
|
88865
88813
|
}, iE = function(a, c) {
|
|
88866
88814
|
var v = c(), b = a.selection.getRng();
|
|
@@ -88934,7 +88882,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88934
88882
|
mo("onAction")
|
|
88935
88883
|
].concat(Eg)), dE = function(a) {
|
|
88936
88884
|
return Vo("toolbarbutton", fE, a);
|
|
88937
|
-
},
|
|
88885
|
+
}, k8 = [Ho("active", !1)].concat(Eg), qN = wt(k8.concat([
|
|
88938
88886
|
Yn("type"),
|
|
88939
88887
|
mo("onAction")
|
|
88940
88888
|
])), hE = function(a) {
|
|
@@ -88955,14 +88903,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
88955
88903
|
Ot("primary", !1),
|
|
88956
88904
|
mo("onAction"),
|
|
88957
88905
|
vi("original", z)
|
|
88958
|
-
]),
|
|
88906
|
+
]), T8 = k8.concat([
|
|
88959
88907
|
Ot("type", "contextformbutton"),
|
|
88960
88908
|
Ot("primary", !1),
|
|
88961
88909
|
mo("onAction"),
|
|
88962
88910
|
vi("original", z)
|
|
88963
|
-
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 =
|
|
88911
|
+
]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k8.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
|
|
88964
88912
|
contextformbutton: pE,
|
|
88965
|
-
contextformtogglebutton:
|
|
88913
|
+
contextformtogglebutton: T8
|
|
88966
88914
|
}), XN = wt([
|
|
88967
88915
|
Ot("type", "contextform"),
|
|
88968
88916
|
Qo("initValue", function() {
|
|
@@ -89005,18 +88953,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89005
88953
|
triggerChars: b,
|
|
89006
88954
|
lookupByChar: N
|
|
89007
88955
|
};
|
|
89008
|
-
},
|
|
88956
|
+
}, N8;
|
|
89009
88957
|
(function(a) {
|
|
89010
88958
|
a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
|
|
89011
|
-
})(
|
|
89012
|
-
var uf =
|
|
88959
|
+
})(N8 || (N8 = {}));
|
|
88960
|
+
var uf = N8, Sg = "tox-menu-nav__js", A8 = "tox-collection__item", I8 = "tox-swatch", D8 = {
|
|
89013
88961
|
normal: Sg,
|
|
89014
|
-
color:
|
|
89015
|
-
}, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon",
|
|
89016
|
-
return cr(
|
|
88962
|
+
color: I8
|
|
88963
|
+
}, 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) {
|
|
88964
|
+
return cr(D8, a).getOr(Sg);
|
|
89017
88965
|
}, cA = function(a) {
|
|
89018
88966
|
return a === "color" ? "tox-swatches" : "tox-menu";
|
|
89019
|
-
},
|
|
88967
|
+
}, P8 = function(a) {
|
|
89020
88968
|
return {
|
|
89021
88969
|
backgroundMenu: "tox-background-menu",
|
|
89022
88970
|
selectedMenu: "tox-selected-menu",
|
|
@@ -89026,7 +88974,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89026
88974
|
tieredMenu: "tox-tiered-menu"
|
|
89027
88975
|
};
|
|
89028
88976
|
}, kg = function(a) {
|
|
89029
|
-
var c =
|
|
88977
|
+
var c = P8(a);
|
|
89030
88978
|
return {
|
|
89031
88979
|
backgroundMenu: c.backgroundMenu,
|
|
89032
88980
|
selectedMenu: c.selectedMenu,
|
|
@@ -89035,7 +88983,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89035
88983
|
item: CE(a)
|
|
89036
88984
|
};
|
|
89037
88985
|
}, fA = function(a, c, v) {
|
|
89038
|
-
var b =
|
|
88986
|
+
var b = P8(v);
|
|
89039
88987
|
return {
|
|
89040
88988
|
tag: "div",
|
|
89041
88989
|
classes: zt([
|
|
@@ -89046,8 +88994,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89046
88994
|
a ? [b.hasIcons] : []
|
|
89047
88995
|
])
|
|
89048
88996
|
};
|
|
89049
|
-
},
|
|
89050
|
-
var b =
|
|
88997
|
+
}, M8 = [id.parts.items({})], B4 = function(a, c, v) {
|
|
88998
|
+
var b = P8(v), x = {
|
|
89051
88999
|
tag: "div",
|
|
89052
89000
|
classes: zt([[b.tieredMenu]])
|
|
89053
89001
|
};
|
|
@@ -89055,7 +89003,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89055
89003
|
dom: x,
|
|
89056
89004
|
markers: kg(v)
|
|
89057
89005
|
};
|
|
89058
|
-
},
|
|
89006
|
+
}, R8 = function(a, c) {
|
|
89059
89007
|
return function(v) {
|
|
89060
89008
|
var b = me(v, c);
|
|
89061
89009
|
return Ge(b, function(x) {
|
|
@@ -89080,7 +89028,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89080
89028
|
classes: ["tox-swatches"]
|
|
89081
89029
|
},
|
|
89082
89030
|
components: [id.parts.items({
|
|
89083
|
-
preprocess: a !== "auto" ?
|
|
89031
|
+
preprocess: a !== "auto" ? R8({
|
|
89084
89032
|
tag: "div",
|
|
89085
89033
|
classes: ["tox-swatches__row"]
|
|
89086
89034
|
}, a) : z
|
|
@@ -89099,7 +89047,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89099
89047
|
]
|
|
89100
89048
|
},
|
|
89101
89049
|
components: [id.parts.items({
|
|
89102
|
-
preprocess:
|
|
89050
|
+
preprocess: R8({
|
|
89103
89051
|
tag: "div",
|
|
89104
89052
|
classes: ["tox-collection__group"]
|
|
89105
89053
|
}, a)
|
|
@@ -89118,7 +89066,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89118
89066
|
components: x
|
|
89119
89067
|
};
|
|
89120
89068
|
});
|
|
89121
|
-
}, $
|
|
89069
|
+
}, $8 = function(a, c, v) {
|
|
89122
89070
|
return {
|
|
89123
89071
|
dom: {
|
|
89124
89072
|
tag: "div",
|
|
@@ -89129,7 +89077,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89129
89077
|
},
|
|
89130
89078
|
components: [id.parts.items({
|
|
89131
89079
|
preprocess: function(b) {
|
|
89132
|
-
return a !== "auto" && a > 1 ?
|
|
89080
|
+
return a !== "auto" && a > 1 ? R8({
|
|
89133
89081
|
tag: "div",
|
|
89134
89082
|
classes: ["tox-collection__group"]
|
|
89135
89083
|
}, a)(b) : xE(b, function(x, N) {
|
|
@@ -89169,7 +89117,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89169
89117
|
components: N.components,
|
|
89170
89118
|
items: v
|
|
89171
89119
|
};
|
|
89172
|
-
},
|
|
89120
|
+
}, F8 = function(a, c, v, b, x) {
|
|
89173
89121
|
if (x === "color") {
|
|
89174
89122
|
var N = dA(b);
|
|
89175
89123
|
return {
|
|
@@ -89180,7 +89128,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89180
89128
|
};
|
|
89181
89129
|
}
|
|
89182
89130
|
if (x === "normal" && b === "auto") {
|
|
89183
|
-
var N = $
|
|
89131
|
+
var N = $8(b, v);
|
|
89184
89132
|
return {
|
|
89185
89133
|
value: a,
|
|
89186
89134
|
dom: N.dom,
|
|
@@ -89189,7 +89137,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89189
89137
|
};
|
|
89190
89138
|
}
|
|
89191
89139
|
if (x === "normal" && b === 1) {
|
|
89192
|
-
var N = $
|
|
89140
|
+
var N = $8(1, v);
|
|
89193
89141
|
return {
|
|
89194
89142
|
value: a,
|
|
89195
89143
|
dom: N.dom,
|
|
@@ -89198,7 +89146,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89198
89146
|
};
|
|
89199
89147
|
}
|
|
89200
89148
|
if (x === "normal") {
|
|
89201
|
-
var N = $
|
|
89149
|
+
var N = $8(b, v);
|
|
89202
89150
|
return {
|
|
89203
89151
|
value: a,
|
|
89204
89152
|
dom: N.dom,
|
|
@@ -89218,15 +89166,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89218
89166
|
return {
|
|
89219
89167
|
value: a,
|
|
89220
89168
|
dom: fA(c, b, x),
|
|
89221
|
-
components:
|
|
89169
|
+
components: M8,
|
|
89222
89170
|
items: v
|
|
89223
89171
|
};
|
|
89224
|
-
},
|
|
89172
|
+
}, V8 = [
|
|
89225
89173
|
Yn("type"),
|
|
89226
89174
|
Yn("src"),
|
|
89227
89175
|
jo("alt"),
|
|
89228
89176
|
mu("classes", [], Ut)
|
|
89229
|
-
], mA = wt(
|
|
89177
|
+
], mA = wt(V8), gA = [
|
|
89230
89178
|
Yn("type"),
|
|
89231
89179
|
Yn("text"),
|
|
89232
89180
|
jo("name"),
|
|
@@ -89274,9 +89222,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89274
89222
|
Yn("type"),
|
|
89275
89223
|
So("fancytype", EE),
|
|
89276
89224
|
Qo("onAction", R)
|
|
89277
|
-
]),
|
|
89225
|
+
]), L8 = function(a) {
|
|
89278
89226
|
return Vo("fancymenuitem", EA, a);
|
|
89279
|
-
},
|
|
89227
|
+
}, U8 = wt([
|
|
89280
89228
|
Yn("type"),
|
|
89281
89229
|
Qo("onSetup", function() {
|
|
89282
89230
|
return R;
|
|
@@ -89284,8 +89232,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89284
89232
|
Qo("onAction", R),
|
|
89285
89233
|
jo("icon")
|
|
89286
89234
|
].concat(Pv)), SE = function(a) {
|
|
89287
|
-
return Vo("menuitem",
|
|
89288
|
-
},
|
|
89235
|
+
return Vo("menuitem", U8, a);
|
|
89236
|
+
}, z8 = wt([
|
|
89289
89237
|
Yn("type"),
|
|
89290
89238
|
mo("getSubmenuItems"),
|
|
89291
89239
|
Qo("onSetup", function() {
|
|
@@ -89293,7 +89241,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89293
89241
|
}),
|
|
89294
89242
|
jo("icon")
|
|
89295
89243
|
].concat(Pv)), kE = function(a) {
|
|
89296
|
-
return Vo("nestedmenuitem",
|
|
89244
|
+
return Vo("nestedmenuitem", z8, a);
|
|
89297
89245
|
}, TE = wt([
|
|
89298
89246
|
Yn("type"),
|
|
89299
89247
|
jo("icon"),
|
|
@@ -89400,7 +89348,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89400
89348
|
})
|
|
89401
89349
|
]
|
|
89402
89350
|
]));
|
|
89403
|
-
},
|
|
89351
|
+
}, H8 = /* @__PURE__ */ Object.freeze({
|
|
89404
89352
|
__proto__: null,
|
|
89405
89353
|
events: OE
|
|
89406
89354
|
}), TA = [
|
|
@@ -89439,7 +89387,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89439
89387
|
}),
|
|
89440
89388
|
Mo("onHide"),
|
|
89441
89389
|
Mo("onShow")
|
|
89442
|
-
],
|
|
89390
|
+
], W8 = function() {
|
|
89443
89391
|
var a = jn(U.none()), c = jn(U.none()), v = function() {
|
|
89444
89392
|
return c.get();
|
|
89445
89393
|
}, b = function(G) {
|
|
@@ -89466,14 +89414,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89466
89414
|
resetTimer: D,
|
|
89467
89415
|
readState: L
|
|
89468
89416
|
});
|
|
89469
|
-
},
|
|
89417
|
+
}, j8 = /* @__PURE__ */ Object.freeze({
|
|
89470
89418
|
__proto__: null,
|
|
89471
|
-
init:
|
|
89419
|
+
init: W8
|
|
89472
89420
|
}), BE = Fa({
|
|
89473
89421
|
fields: TA,
|
|
89474
89422
|
name: "tooltipping",
|
|
89475
|
-
active:
|
|
89476
|
-
state:
|
|
89423
|
+
active: H8,
|
|
89424
|
+
state: j8,
|
|
89477
89425
|
apis: DE
|
|
89478
89426
|
}), PE = function(a) {
|
|
89479
89427
|
return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -89483,9 +89431,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89483
89431
|
"textarea",
|
|
89484
89432
|
"select"
|
|
89485
89433
|
], ME = function(a, c, v) {
|
|
89486
|
-
var b = c.disabled() ? F4 :
|
|
89434
|
+
var b = c.disabled() ? F4 : q8;
|
|
89487
89435
|
b(a, c);
|
|
89488
|
-
},
|
|
89436
|
+
}, G8 = function(a, c) {
|
|
89489
89437
|
return c.useNative === !0 && Le(NA, bs(a.element));
|
|
89490
89438
|
}, AA = function(a) {
|
|
89491
89439
|
return yy(a.element, "disabled");
|
|
@@ -89503,26 +89451,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89503
89451
|
c.disableClass.each(function(x) {
|
|
89504
89452
|
ta(a.element, x);
|
|
89505
89453
|
});
|
|
89506
|
-
var b =
|
|
89454
|
+
var b = G8(a, c) ? IA : $4;
|
|
89507
89455
|
b(a), c.onDisabled(a);
|
|
89508
|
-
},
|
|
89456
|
+
}, q8 = function(a, c, v) {
|
|
89509
89457
|
c.disableClass.each(function(x) {
|
|
89510
89458
|
Sa(a.element, x);
|
|
89511
89459
|
});
|
|
89512
|
-
var b =
|
|
89460
|
+
var b = G8(a, c) ? DA : RE;
|
|
89513
89461
|
b(a), c.onEnabled(a);
|
|
89514
89462
|
}, $E = function(a, c) {
|
|
89515
|
-
return
|
|
89516
|
-
},
|
|
89517
|
-
var x = b ? F4 :
|
|
89463
|
+
return G8(a, c) ? AA(a) : OA(a);
|
|
89464
|
+
}, K8 = function(a, c, v, b) {
|
|
89465
|
+
var x = b ? F4 : q8;
|
|
89518
89466
|
x(a, c);
|
|
89519
|
-
},
|
|
89467
|
+
}, Y8 = /* @__PURE__ */ Object.freeze({
|
|
89520
89468
|
__proto__: null,
|
|
89521
|
-
enable:
|
|
89469
|
+
enable: q8,
|
|
89522
89470
|
disable: F4,
|
|
89523
89471
|
isDisabled: $E,
|
|
89524
89472
|
onLoad: ME,
|
|
89525
|
-
set:
|
|
89473
|
+
set: K8
|
|
89526
89474
|
}), FE = function(a, c) {
|
|
89527
89475
|
return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
|
|
89528
89476
|
}, VE = function(a, c) {
|
|
@@ -89546,7 +89494,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89546
89494
|
fields: BA,
|
|
89547
89495
|
name: "disabling",
|
|
89548
89496
|
active: LE,
|
|
89549
|
-
apis:
|
|
89497
|
+
apis: Y8
|
|
89550
89498
|
}), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
|
|
89551
89499
|
var c = a.getParam("skin"), v = a.getParam("skin_url");
|
|
89552
89500
|
if (c !== !1) {
|
|
@@ -89568,17 +89516,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89568
89516
|
return U.from(a.getParam("min_height")).filter(O);
|
|
89569
89517
|
}, L4 = function(a) {
|
|
89570
89518
|
return U.from(a.getParam("max_width")).filter(O);
|
|
89571
|
-
},
|
|
89519
|
+
}, X8 = function(a) {
|
|
89572
89520
|
return U.from(a.getParam("max_height")).filter(O);
|
|
89573
89521
|
}, jE = function(a) {
|
|
89574
89522
|
return U.from(a.getParam("style_formats")).filter(d);
|
|
89575
|
-
},
|
|
89523
|
+
}, J8 = function(a) {
|
|
89576
89524
|
return a.getParam("style_formats_merge", !1, "boolean");
|
|
89577
89525
|
}, GE = function(a) {
|
|
89578
89526
|
return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
|
|
89579
89527
|
}, MA = function(a) {
|
|
89580
89528
|
return a.getParam("removed_menuitems", "");
|
|
89581
|
-
},
|
|
89529
|
+
}, Z8 = function(a) {
|
|
89582
89530
|
return a.getParam("menubar", !0, "boolean") !== !1;
|
|
89583
89531
|
}, Ag = function(a) {
|
|
89584
89532
|
var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
|
|
@@ -89607,10 +89555,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89607
89555
|
})(bm || (bm = {}));
|
|
89608
89556
|
var RA = function(a) {
|
|
89609
89557
|
return a.getParam("toolbar_groups", {}, "object");
|
|
89610
|
-
},
|
|
89558
|
+
}, Q8 = function(a) {
|
|
89611
89559
|
return a.getParam("toolbar_location", bm.auto, "string");
|
|
89612
|
-
},
|
|
89613
|
-
return
|
|
89560
|
+
}, e6 = function(a) {
|
|
89561
|
+
return Q8(a) === bm.bottom;
|
|
89614
89562
|
}, $A = function(a) {
|
|
89615
89563
|
return a.getParam("fixed_toolbar_container", "", "string");
|
|
89616
89564
|
}, FA = function(a) {
|
|
@@ -89632,14 +89580,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89632
89580
|
return c.getOrThunk(function() {
|
|
89633
89581
|
return Nd(mi(rr.fromDom(a.getElement())));
|
|
89634
89582
|
});
|
|
89635
|
-
},
|
|
89636
|
-
return a.inline && !
|
|
89583
|
+
}, t6 = function(a) {
|
|
89584
|
+
return a.inline && !Z8(a) && !Ag(a) && !k_(a);
|
|
89637
89585
|
}, z4 = function(a) {
|
|
89638
89586
|
var c = a.getParam("toolbar_sticky", !1, "boolean");
|
|
89639
|
-
return (c || a.inline) && !U4(a) && !
|
|
89587
|
+
return (c || a.inline) && !U4(a) && !t6(a);
|
|
89640
89588
|
}, LA = function(a) {
|
|
89641
89589
|
return a.getParam("draggable_modal", !1, "boolean");
|
|
89642
|
-
},
|
|
89590
|
+
}, n6 = function(a) {
|
|
89643
89591
|
var c = a.getParam("menu");
|
|
89644
89592
|
return c ? Vr(c, function(v) {
|
|
89645
89593
|
return ve(ve({}, v), { items: v.items });
|
|
@@ -89658,9 +89606,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89658
89606
|
return a.getParam("typeahead_urls") === !1;
|
|
89659
89607
|
}, qA = function(a) {
|
|
89660
89608
|
return a.getParam("anchor_top", "#top");
|
|
89661
|
-
},
|
|
89609
|
+
}, r6 = function(a) {
|
|
89662
89610
|
return a.getParam("anchor_bottom", "#bottom");
|
|
89663
|
-
},
|
|
89611
|
+
}, o6 = function(a) {
|
|
89664
89612
|
var c = a.getParam("file_picker_validator_handler", void 0, "function");
|
|
89665
89613
|
return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
|
|
89666
89614
|
}, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
|
|
@@ -89722,16 +89670,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89722
89670
|
return ts(function(v) {
|
|
89723
89671
|
return W4(a, v)(c.get());
|
|
89724
89672
|
});
|
|
89725
|
-
},
|
|
89673
|
+
}, a6, XA = function(a, c) {
|
|
89726
89674
|
return tc(function(v, b) {
|
|
89727
89675
|
W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
|
|
89728
89676
|
});
|
|
89729
|
-
}, JA = (
|
|
89677
|
+
}, JA = (a6 = {}, a6[Pl()] = [
|
|
89730
89678
|
"disabling",
|
|
89731
89679
|
"alloy.base.behaviour",
|
|
89732
89680
|
"toggling",
|
|
89733
89681
|
"item-events"
|
|
89734
|
-
],
|
|
89682
|
+
], a6), Ig = function(a) {
|
|
89735
89683
|
return Pt(a, function(c) {
|
|
89736
89684
|
return c.toArray();
|
|
89737
89685
|
});
|
|
@@ -89762,7 +89710,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89762
89710
|
value: a.value,
|
|
89763
89711
|
meta: ve({ text: a.text.getOr("") }, a.meta)
|
|
89764
89712
|
};
|
|
89765
|
-
},
|
|
89713
|
+
}, i6 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
|
|
89766
89714
|
var c = {
|
|
89767
89715
|
alt: "⌥",
|
|
89768
89716
|
ctrl: "⌃",
|
|
@@ -89772,11 +89720,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89772
89720
|
}, v = {
|
|
89773
89721
|
meta: "Ctrl",
|
|
89774
89722
|
access: "Shift+Alt"
|
|
89775
|
-
}, b =
|
|
89723
|
+
}, b = i6.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
|
|
89776
89724
|
var F = D.toLowerCase().trim();
|
|
89777
89725
|
return Po(b, F) ? b[F] : D;
|
|
89778
89726
|
});
|
|
89779
|
-
return
|
|
89727
|
+
return i6.mac ? N.join("") : N.join("+");
|
|
89780
89728
|
}, ZA = function(a) {
|
|
89781
89729
|
return {
|
|
89782
89730
|
dom: {
|
|
@@ -89789,7 +89737,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89789
89737
|
return {
|
|
89790
89738
|
dom: {
|
|
89791
89739
|
tag: "div",
|
|
89792
|
-
classes: [
|
|
89740
|
+
classes: [O8]
|
|
89793
89741
|
},
|
|
89794
89742
|
components: [Vf(Lu.translate(a))]
|
|
89795
89743
|
};
|
|
@@ -89805,7 +89753,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89805
89753
|
return {
|
|
89806
89754
|
dom: {
|
|
89807
89755
|
tag: "div",
|
|
89808
|
-
classes: [
|
|
89756
|
+
classes: [O8]
|
|
89809
89757
|
},
|
|
89810
89758
|
components: [{
|
|
89811
89759
|
dom: {
|
|
@@ -89848,7 +89796,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89848
89796
|
}
|
|
89849
89797
|
};
|
|
89850
89798
|
}, tI = function(a, c) {
|
|
89851
|
-
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA :
|
|
89799
|
+
var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B8, x = function() {
|
|
89852
89800
|
switch (a.valign) {
|
|
89853
89801
|
case "top":
|
|
89854
89802
|
return sA;
|
|
@@ -89883,7 +89831,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89883
89831
|
};
|
|
89884
89832
|
}, rI = function(a, c, v, b) {
|
|
89885
89833
|
var x = "custom", N = "remove", D = function() {
|
|
89886
|
-
var F =
|
|
89834
|
+
var F = I8, L = v.getOr(""), G = a.map(function(ee) {
|
|
89887
89835
|
return { title: b.translate(ee) };
|
|
89888
89836
|
}).getOr({}), Z = {
|
|
89889
89837
|
tag: "div",
|
|
@@ -89914,14 +89862,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89914
89862
|
tag: "div",
|
|
89915
89863
|
classes: [
|
|
89916
89864
|
Sg,
|
|
89917
|
-
|
|
89865
|
+
A8
|
|
89918
89866
|
].concat(a ? [aA] : [])
|
|
89919
89867
|
}, v);
|
|
89920
|
-
},
|
|
89868
|
+
}, l6 = function(a, c, v, b, x) {
|
|
89921
89869
|
var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
|
|
89922
89870
|
return a.textContent.map(b);
|
|
89923
89871
|
}, function(G) {
|
|
89924
|
-
return U.some(tS(G, [
|
|
89872
|
+
return U.some(tS(G, [O8]));
|
|
89925
89873
|
}), L = {
|
|
89926
89874
|
dom: oS(x, a.ariaLabel),
|
|
89927
89875
|
optComponents: [
|
|
@@ -89959,8 +89907,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
89959
89907
|
}, function(L) {
|
|
89960
89908
|
return Po(L, "style") ? re(QA, L.style) : eS;
|
|
89961
89909
|
});
|
|
89962
|
-
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) :
|
|
89963
|
-
},
|
|
89910
|
+
return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l6(a, D, v, F, N);
|
|
89911
|
+
}, s6 = function(a, c) {
|
|
89964
89912
|
return cr(a, "tooltipWorker").map(function(v) {
|
|
89965
89913
|
return [BE.config({
|
|
89966
89914
|
lazySink: c.getSink,
|
|
@@ -90019,7 +89967,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90019
89967
|
},
|
|
90020
89968
|
onSetup: V(R),
|
|
90021
89969
|
triggersSubmenu: !1,
|
|
90022
|
-
itemBehaviours:
|
|
89970
|
+
itemBehaviours: s6(a.meta, D)
|
|
90023
89971
|
}, L, N, D.providers);
|
|
90024
89972
|
}, sS = function(a, c) {
|
|
90025
89973
|
return Ge(a, function(v) {
|
|
@@ -90118,17 +90066,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90118
90066
|
selected: a.active
|
|
90119
90067
|
}
|
|
90120
90068
|
});
|
|
90121
|
-
},
|
|
90069
|
+
}, u6 = Kp(ll(), qi()), uS = function(a) {
|
|
90122
90070
|
return { value: a };
|
|
90123
90071
|
}, 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) {
|
|
90124
90072
|
return cS.test(a) || fS.test(a);
|
|
90125
|
-
},
|
|
90073
|
+
}, c6 = function(a) {
|
|
90126
90074
|
var c = a.value.replace(cS, function(v, b, x, N) {
|
|
90127
90075
|
return b + b + x + x + N + N;
|
|
90128
90076
|
});
|
|
90129
90077
|
return { value: c };
|
|
90130
|
-
},
|
|
90131
|
-
var c =
|
|
90078
|
+
}, f6 = function(a) {
|
|
90079
|
+
var c = c6(a), v = fS.exec(c.value);
|
|
90132
90080
|
return v === null ? [
|
|
90133
90081
|
"FFFFFF",
|
|
90134
90082
|
"FF",
|
|
@@ -90141,14 +90089,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90141
90089
|
}, G4 = function(a) {
|
|
90142
90090
|
var c = D_(a.red) + D_(a.green) + D_(a.blue);
|
|
90143
90091
|
return uS(c);
|
|
90144
|
-
}, dS = Math.min, hS = Math.max, Cm = Math.round,
|
|
90092
|
+
}, 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) {
|
|
90145
90093
|
return {
|
|
90146
90094
|
red: a,
|
|
90147
90095
|
green: c,
|
|
90148
90096
|
blue: v,
|
|
90149
90097
|
alpha: b
|
|
90150
90098
|
};
|
|
90151
|
-
},
|
|
90099
|
+
}, h6 = function(a) {
|
|
90152
90100
|
var c = parseInt(a, 10);
|
|
90153
90101
|
return c.toString() === a && c >= 0 && c <= 255;
|
|
90154
90102
|
}, vS = function(a) {
|
|
@@ -90180,7 +90128,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90180
90128
|
}
|
|
90181
90129
|
return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
|
|
90182
90130
|
}, O_ = function(a) {
|
|
90183
|
-
var c =
|
|
90131
|
+
var c = f6(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
|
|
90184
90132
|
return Mv(v, b, x, 1);
|
|
90185
90133
|
}, pS = function(a, c, v, b) {
|
|
90186
90134
|
var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
|
|
@@ -90188,7 +90136,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90188
90136
|
}, uI = function(a) {
|
|
90189
90137
|
if (a === "transparent")
|
|
90190
90138
|
return U.some(Mv(0, 0, 0, 0));
|
|
90191
|
-
var c =
|
|
90139
|
+
var c = d6.exec(a);
|
|
90192
90140
|
if (c !== null)
|
|
90193
90141
|
return U.some(pS(c[1], c[2], c[3], "1"));
|
|
90194
90142
|
var v = q4.exec(a);
|
|
@@ -90201,7 +90149,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90201
90149
|
return a.fire("SkinLoadError", c);
|
|
90202
90150
|
}, dI = function(a) {
|
|
90203
90151
|
return a.fire("ResizeEditor");
|
|
90204
|
-
},
|
|
90152
|
+
}, v6 = function(a, c) {
|
|
90205
90153
|
return a.fire("ResizeContent", c);
|
|
90206
90154
|
}, hI = function(a, c) {
|
|
90207
90155
|
return a.fire("ScrollContent", c);
|
|
@@ -90336,7 +90284,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90336
90284
|
text: "White",
|
|
90337
90285
|
value: "#ffffff"
|
|
90338
90286
|
}
|
|
90339
|
-
], yS = pI(10),
|
|
90287
|
+
], yS = pI(10), p6 = function(a) {
|
|
90340
90288
|
var c = [], v = document.createElement("canvas");
|
|
90341
90289
|
v.height = 1, v.width = 1;
|
|
90342
90290
|
for (var b = v.getContext("2d"), x = function(F, L) {
|
|
@@ -90361,9 +90309,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90361
90309
|
return a.getParam("custom_colors") !== !1;
|
|
90362
90310
|
}, gI = function(a) {
|
|
90363
90311
|
return a.getParam("color_map");
|
|
90364
|
-
},
|
|
90312
|
+
}, m6 = function(a) {
|
|
90365
90313
|
var c = gI(a);
|
|
90366
|
-
return c !== void 0 ?
|
|
90314
|
+
return c !== void 0 ? p6(c) : mI;
|
|
90367
90315
|
}, _I = function() {
|
|
90368
90316
|
return Ge(yS.state(), function(a) {
|
|
90369
90317
|
return {
|
|
@@ -90397,7 +90345,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90397
90345
|
}, xI = function(a) {
|
|
90398
90346
|
return Math.max(5, Math.ceil(Math.sqrt(a)));
|
|
90399
90347
|
}, CS = function(a) {
|
|
90400
|
-
var c =
|
|
90348
|
+
var c = m6(a), v = xI(c.length);
|
|
90401
90349
|
return Xi(a, v);
|
|
90402
90350
|
}, EI = function(a) {
|
|
90403
90351
|
var c = "choiceitem", v = {
|
|
@@ -90415,7 +90363,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90415
90363
|
v,
|
|
90416
90364
|
b
|
|
90417
90365
|
] : [v];
|
|
90418
|
-
},
|
|
90366
|
+
}, g6 = function(a, c, v, b) {
|
|
90419
90367
|
if (v === "custom") {
|
|
90420
90368
|
var x = NS(a);
|
|
90421
90369
|
x(function(N) {
|
|
@@ -90449,12 +90397,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90449
90397
|
}).getOr(!1);
|
|
90450
90398
|
},
|
|
90451
90399
|
columns: CS(a),
|
|
90452
|
-
fetch: ES(
|
|
90400
|
+
fetch: ES(m6(a), bS(a)),
|
|
90453
90401
|
onAction: function(N) {
|
|
90454
|
-
x.get() !== null &&
|
|
90402
|
+
x.get() !== null && g6(a, v, x.get(), R);
|
|
90455
90403
|
},
|
|
90456
90404
|
onItemAction: function(N, D) {
|
|
90457
|
-
|
|
90405
|
+
g6(a, v, D, function(F) {
|
|
90458
90406
|
x.set(F), vI(a, {
|
|
90459
90407
|
name: c,
|
|
90460
90408
|
color: F
|
|
@@ -90480,7 +90428,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90480
90428
|
type: "fancymenuitem",
|
|
90481
90429
|
fancytype: "colorswatch",
|
|
90482
90430
|
onAction: function(x) {
|
|
90483
|
-
|
|
90431
|
+
g6(a, v, x.value, R);
|
|
90484
90432
|
}
|
|
90485
90433
|
}];
|
|
90486
90434
|
}
|
|
@@ -90533,9 +90481,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90533
90481
|
CI(a);
|
|
90534
90482
|
var c = jn(null), v = jn(null);
|
|
90535
90483
|
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");
|
|
90536
|
-
},
|
|
90484
|
+
}, _6 = function(a, c, v, b, x, N, D, F) {
|
|
90537
90485
|
var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
|
|
90538
|
-
return
|
|
90486
|
+
return F8(a, L, Z, b, x);
|
|
90539
90487
|
}, kI = function(a, c, v, b, x, N, D) {
|
|
90540
90488
|
return sh(Ge(a, function(F) {
|
|
90541
90489
|
return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
|
|
@@ -90579,11 +90527,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90579
90527
|
mode: "matrix",
|
|
90580
90528
|
selectors: {
|
|
90581
90529
|
row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
|
|
90582
|
-
cell: c === "color" ? "." +
|
|
90530
|
+
cell: c === "color" ? "." + I8 : "." + A8
|
|
90583
90531
|
}
|
|
90584
90532
|
};
|
|
90585
90533
|
}, NI = function(a, c) {
|
|
90586
|
-
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N =
|
|
90534
|
+
var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _6(Tr("menu-value"), v, function(F) {
|
|
90587
90535
|
a.onAction({ value: F });
|
|
90588
90536
|
}, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
|
|
90589
90537
|
markers: kg(x),
|
|
@@ -90597,16 +90545,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90597
90545
|
classes: ["tox-fancymenuitem"]
|
|
90598
90546
|
},
|
|
90599
90547
|
autofocus: !0,
|
|
90600
|
-
components: [
|
|
90548
|
+
components: [u6.widget(id.sketch(D))]
|
|
90601
90549
|
};
|
|
90602
|
-
}, AS = Tr("cell-over"),
|
|
90550
|
+
}, AS = Tr("cell-over"), y6 = Tr("cell-execute"), AI = function(a, c, v) {
|
|
90603
90551
|
var b, x = function(F) {
|
|
90604
90552
|
return _r(F, AS, {
|
|
90605
90553
|
row: a,
|
|
90606
90554
|
col: c
|
|
90607
90555
|
});
|
|
90608
90556
|
}, N = function(F) {
|
|
90609
|
-
return _r(F,
|
|
90557
|
+
return _r(F, y6, {
|
|
90610
90558
|
row: a,
|
|
90611
90559
|
col: c
|
|
90612
90560
|
});
|
|
@@ -90667,7 +90615,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90667
90615
|
classes: ["tox-fancymenuitem"]
|
|
90668
90616
|
},
|
|
90669
90617
|
autofocus: !0,
|
|
90670
|
-
components: [
|
|
90618
|
+
components: [u6.widget({
|
|
90671
90619
|
dom: {
|
|
90672
90620
|
tag: "div",
|
|
90673
90621
|
classes: ["tox-insert-table-picker"]
|
|
@@ -90679,7 +90627,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90679
90627
|
var G = L.event.row, Z = L.event.col;
|
|
90680
90628
|
DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
|
|
90681
90629
|
}),
|
|
90682
|
-
Fs(
|
|
90630
|
+
Fs(y6, function(D, F, L) {
|
|
90683
90631
|
a.onAction({
|
|
90684
90632
|
numRows: L.event.row + 1,
|
|
90685
90633
|
numColumns: L.event.col + 1
|
|
@@ -90777,7 +90725,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90777
90725
|
dom: ve({
|
|
90778
90726
|
tag: "div",
|
|
90779
90727
|
classes: [
|
|
90780
|
-
|
|
90728
|
+
A8,
|
|
90781
90729
|
tA
|
|
90782
90730
|
]
|
|
90783
90731
|
}, c),
|
|
@@ -90855,7 +90803,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90855
90803
|
return U.some(MS(F));
|
|
90856
90804
|
});
|
|
90857
90805
|
case "fancymenuitem":
|
|
90858
|
-
return
|
|
90806
|
+
return L8(a).fold(mh, function(F) {
|
|
90859
90807
|
return UI(D(F), v);
|
|
90860
90808
|
});
|
|
90861
90809
|
default:
|
|
@@ -90876,7 +90824,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90876
90824
|
Z.onAction(ee), v(Z.value, Z.meta);
|
|
90877
90825
|
}
|
|
90878
90826
|
}), x, N, {
|
|
90879
|
-
itemBehaviours:
|
|
90827
|
+
itemBehaviours: s6(Z.meta, N),
|
|
90880
90828
|
cardText: {
|
|
90881
90829
|
matchText: c,
|
|
90882
90830
|
highlightOn: D
|
|
@@ -90890,7 +90838,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90890
90838
|
});
|
|
90891
90839
|
}
|
|
90892
90840
|
}));
|
|
90893
|
-
},
|
|
90841
|
+
}, b6 = function(a, c, v, b, x) {
|
|
90894
90842
|
var N = P4(c), D = sh(Ge(c, function(L) {
|
|
90895
90843
|
var G = function(ee) {
|
|
90896
90844
|
return x ? !ee.hasOwnProperty("text") : N;
|
|
@@ -90898,7 +90846,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90898
90846
|
return RS(ee, v, b, G(ee), x);
|
|
90899
90847
|
};
|
|
90900
90848
|
return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
|
|
90901
|
-
})), F = x ? pA :
|
|
90849
|
+
})), F = x ? pA : F8;
|
|
90902
90850
|
return F(a, N, D, 1, "normal");
|
|
90903
90851
|
}, $S = function(a) {
|
|
90904
90852
|
return hm.singleData(a.value, a);
|
|
@@ -90923,7 +90871,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90923
90871
|
});
|
|
90924
90872
|
})])
|
|
90925
90873
|
};
|
|
90926
|
-
},
|
|
90874
|
+
}, w6 = function(a, c) {
|
|
90927
90875
|
var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
|
|
90928
90876
|
dom: {
|
|
90929
90877
|
tag: "div",
|
|
@@ -90958,7 +90906,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90958
90906
|
var jt = rn.items;
|
|
90959
90907
|
return HI(jt, rn.matchText, function(nn, Kt) {
|
|
90960
90908
|
var En = a.selection.getRng();
|
|
90961
|
-
|
|
90909
|
+
x8(a.dom, En, qe).fold(function() {
|
|
90962
90910
|
return console.error("Lost context. Cursor probably moved");
|
|
90963
90911
|
}, function(wr) {
|
|
90964
90912
|
var Jn = wr.range, fn = {
|
|
@@ -90991,10 +90939,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
90991
90939
|
anchor: "node",
|
|
90992
90940
|
root: rr.fromDom(a.getBody()),
|
|
90993
90941
|
node: U.from(qe.element)
|
|
90994
|
-
}, id.sketch(WI(
|
|
90942
|
+
}, id.sketch(WI(F8("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
|
|
90995
90943
|
}, Te = function(qe) {
|
|
90996
90944
|
return v.get().map(function(St) {
|
|
90997
|
-
return
|
|
90945
|
+
return x8(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
|
|
90998
90946
|
return lE(a, G, At, qe);
|
|
90999
90947
|
});
|
|
91000
90948
|
}).getOrThunk(function() {
|
|
@@ -91025,7 +90973,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
|
|
|
91025
90973
|
}
|
|
91026
90974
|
};
|
|
91027
90975
|
a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
|
|
91028
|
-
}, jI = { register:
|
|
90976
|
+
}, jI = { register: w6 }, FS = Pe, Tc = function(a, c, v) {
|
|
91029
90977
|
return D0(a, c, FS, v);
|
|
91030
90978
|
}, P_ = function(a, c, v) {
|
|
91031
90979
|
return Nw(a, c, FS, v);
|
|
@@ -91594,19 +91542,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91594
91542
|
name: "tabstopping",
|
|
91595
91543
|
active: u9
|
|
91596
91544
|
}), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
|
|
91597
|
-
var x =
|
|
91545
|
+
var x = C6(a, c, v, b);
|
|
91598
91546
|
return zo.sketch(x);
|
|
91599
91547
|
}, d9 = function(a, c) {
|
|
91600
91548
|
return Mg(a, c, [], []);
|
|
91601
|
-
},
|
|
91549
|
+
}, C6 = function(a, c, v, b) {
|
|
91602
91550
|
return {
|
|
91603
|
-
dom:
|
|
91551
|
+
dom: x6(v),
|
|
91604
91552
|
components: a.toArray().concat([c]),
|
|
91605
91553
|
fieldBehaviours: Mn(b)
|
|
91606
91554
|
};
|
|
91607
91555
|
}, h9 = function() {
|
|
91608
|
-
return
|
|
91609
|
-
},
|
|
91556
|
+
return x6([]);
|
|
91557
|
+
}, x6 = function(a) {
|
|
91610
91558
|
return {
|
|
91611
91559
|
tag: "div",
|
|
91612
91560
|
classes: ["tox-form__group"].concat(a)
|
|
@@ -91619,7 +91567,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
91619
91567
|
innerHtml: c.translate(a)
|
|
91620
91568
|
}
|
|
91621
91569
|
});
|
|
91622
|
-
}, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"),
|
|
91570
|
+
}, 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) {
|
|
91623
91571
|
var v, b = a.label.map(function(ee) {
|
|
91624
91572
|
return Rv(ee, c);
|
|
91625
91573
|
}), x = function(ee) {
|
|
@@ -92220,7 +92168,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92220
92168
|
}, function(b) {
|
|
92221
92169
|
return b.validate(a);
|
|
92222
92170
|
});
|
|
92223
|
-
},
|
|
92171
|
+
}, S6 = function(a, c, v) {
|
|
92224
92172
|
return c.notify.each(function(b) {
|
|
92225
92173
|
b.onValidate(a);
|
|
92226
92174
|
}), uk(a, c).map(function(b) {
|
|
@@ -92238,14 +92186,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92238
92186
|
markValid: lk,
|
|
92239
92187
|
markInvalid: sk,
|
|
92240
92188
|
query: uk,
|
|
92241
|
-
run:
|
|
92189
|
+
run: S6,
|
|
92242
92190
|
isInvalid: b9
|
|
92243
92191
|
}), w9 = function(a, c) {
|
|
92244
92192
|
return a.validator.map(function(v) {
|
|
92245
92193
|
return Oo([wn(v.onEvent, function(b) {
|
|
92246
|
-
|
|
92194
|
+
S6(b, a, c).get(z);
|
|
92247
92195
|
})].concat(v.validateOnLoad ? [Ra(function(b) {
|
|
92248
|
-
|
|
92196
|
+
S6(b, a, c).get(R);
|
|
92249
92197
|
})] : []));
|
|
92250
92198
|
}).getOr({});
|
|
92251
92199
|
}, C9 = /* @__PURE__ */ Object.freeze({
|
|
@@ -92375,7 +92323,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92375
92323
|
})));
|
|
92376
92324
|
});
|
|
92377
92325
|
});
|
|
92378
|
-
},
|
|
92326
|
+
}, k6 = function(a, c, v, b, x, N, D) {
|
|
92379
92327
|
var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
|
|
92380
92328
|
return L.map(function(G) {
|
|
92381
92329
|
return G.fold(function() {
|
|
@@ -92387,7 +92335,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92387
92335
|
}, n3 = function(a, c, v, b, x, N, D) {
|
|
92388
92336
|
return wo.close(b), sl.pure(b);
|
|
92389
92337
|
}, Vg = function(a, c, v, b, x, N) {
|
|
92390
|
-
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 :
|
|
92338
|
+
var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k6;
|
|
92391
92339
|
return L(a, c, v, D, b, x, N);
|
|
92392
92340
|
}, T9 = function(a, c, v) {
|
|
92393
92341
|
var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
|
|
@@ -92408,11 +92356,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92408
92356
|
};
|
|
92409
92357
|
});
|
|
92410
92358
|
});
|
|
92411
|
-
},
|
|
92359
|
+
}, T6 = function(a) {
|
|
92412
92360
|
wo.getState(a).each(function(c) {
|
|
92413
92361
|
hm.repositionMenus(c);
|
|
92414
92362
|
});
|
|
92415
|
-
},
|
|
92363
|
+
}, N6 = function(a, c, v) {
|
|
92416
92364
|
var b = lc(), x = function(F, L) {
|
|
92417
92365
|
var G = t3(a, c);
|
|
92418
92366
|
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);
|
|
@@ -92452,13 +92400,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92452
92400
|
});
|
|
92453
92401
|
}
|
|
92454
92402
|
}),
|
|
92455
|
-
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition:
|
|
92403
|
+
il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T6 })) })
|
|
92456
92404
|
])
|
|
92457
92405
|
};
|
|
92458
|
-
},
|
|
92406
|
+
}, A6 = function(a) {
|
|
92459
92407
|
var c = Ga.getCoupled(a, "sandbox");
|
|
92460
|
-
|
|
92461
|
-
},
|
|
92408
|
+
T6(c);
|
|
92409
|
+
}, I6 = function() {
|
|
92462
92410
|
return [
|
|
92463
92411
|
Ot("sandboxClasses", []),
|
|
92464
92412
|
is.field("sandboxBehaviours", [
|
|
@@ -92488,7 +92436,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92488
92436
|
Ot("matchWidth", !1),
|
|
92489
92437
|
Ot("useMinWidth", !1),
|
|
92490
92438
|
Do("role")
|
|
92491
|
-
].concat(
|
|
92439
|
+
].concat(I6())), pk = V([
|
|
92492
92440
|
tu({
|
|
92493
92441
|
schema: [zf()],
|
|
92494
92442
|
name: "menu",
|
|
@@ -92529,7 +92477,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92529
92477
|
}, Z, b, R, Uu.HighlightFirst).get(R);
|
|
92530
92478
|
},
|
|
92531
92479
|
repositionMenus: function(Z) {
|
|
92532
|
-
Vt.isOn(Z) &&
|
|
92480
|
+
Vt.isOn(Z) && A6(Z);
|
|
92533
92481
|
}
|
|
92534
92482
|
}, G = function(Z, ee) {
|
|
92535
92483
|
return Nf(Z), U.some(!0);
|
|
@@ -92546,7 +92494,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92546
92494
|
Ga.config({
|
|
92547
92495
|
others: {
|
|
92548
92496
|
sandbox: function(Z) {
|
|
92549
|
-
return
|
|
92497
|
+
return N6(a, Z, {
|
|
92550
92498
|
onOpen: function() {
|
|
92551
92499
|
return Vt.on(Z);
|
|
92552
92500
|
},
|
|
@@ -92650,7 +92598,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92650
92598
|
return sl.nu(function(b) {
|
|
92651
92599
|
return a.fetch(b);
|
|
92652
92600
|
}).map(function(b) {
|
|
92653
|
-
return U.from($S(to(
|
|
92601
|
+
return U.from($S(to(_6(Tr("menu-value"), b, function(x) {
|
|
92654
92602
|
a.onItemAction(v, x);
|
|
92655
92603
|
}, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
|
|
92656
92604
|
});
|
|
@@ -92868,7 +92816,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92868
92816
|
Ek
|
|
92869
92817
|
], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
|
|
92870
92818
|
return a.type.indexOf("touch") !== -1;
|
|
92871
|
-
},
|
|
92819
|
+
}, D6 = function(a) {
|
|
92872
92820
|
var c = a.event.raw;
|
|
92873
92821
|
if (V9(c)) {
|
|
92874
92822
|
var v = c;
|
|
@@ -92899,12 +92847,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92899
92847
|
return a.model.maxY + 1;
|
|
92900
92848
|
}, z_ = function(a, c, v) {
|
|
92901
92849
|
return c(a) - v(a);
|
|
92902
|
-
},
|
|
92850
|
+
}, O6 = function(a) {
|
|
92903
92851
|
return z_(a, Nl, Sm);
|
|
92904
92852
|
}, i3 = function(a) {
|
|
92905
92853
|
return z_(a, Vv, lu);
|
|
92906
92854
|
}, kk = function(a) {
|
|
92907
|
-
return
|
|
92855
|
+
return O6(a) / 2;
|
|
92908
92856
|
}, Tk = function(a) {
|
|
92909
92857
|
return i3(a) / 2;
|
|
92910
92858
|
}, Lg = function(a) {
|
|
@@ -92927,7 +92875,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92927
92875
|
return s3(a, Em);
|
|
92928
92876
|
}, cd = function(a) {
|
|
92929
92877
|
return a.model.value.get();
|
|
92930
|
-
},
|
|
92878
|
+
}, B6 = function(a) {
|
|
92931
92879
|
return { x: a };
|
|
92932
92880
|
}, Pk = function(a) {
|
|
92933
92881
|
return { y: a };
|
|
@@ -92947,7 +92895,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92947
92895
|
}, Rk = function(a, c) {
|
|
92948
92896
|
Ac(a, Lv(U_(c), o3(c)));
|
|
92949
92897
|
}, $k = function(a, c) {
|
|
92950
|
-
Ac(a,
|
|
92898
|
+
Ac(a, B6(U_(c)));
|
|
92951
92899
|
}, u3 = function(a, c) {
|
|
92952
92900
|
Ac(a, Lv(U_(c), Tk(c)));
|
|
92953
92901
|
}, j9 = function(a, c) {
|
|
@@ -92959,12 +92907,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92959
92907
|
}, q9 = function(a, c) {
|
|
92960
92908
|
Ac(a, Lv(r3(c), a3(c)));
|
|
92961
92909
|
}, K9 = function(a, c) {
|
|
92962
|
-
Ac(a,
|
|
92910
|
+
Ac(a, B6(r3(c)));
|
|
92963
92911
|
}, Y9 = function(a, c) {
|
|
92964
92912
|
Ac(a, Lv(r3(c), Tk(c)));
|
|
92965
92913
|
}, Ug = function(a, c, v, b) {
|
|
92966
92914
|
return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
|
|
92967
|
-
},
|
|
92915
|
+
}, P6 = function(a, c, v, b) {
|
|
92968
92916
|
return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
|
|
92969
92917
|
}, Vk = function(a, c, v) {
|
|
92970
92918
|
return Math.max(c, Math.min(v, a));
|
|
@@ -92986,26 +92934,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
92986
92934
|
return je;
|
|
92987
92935
|
var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
|
|
92988
92936
|
return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
|
|
92989
|
-
},
|
|
92937
|
+
}, M6 = function(a) {
|
|
92990
92938
|
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;
|
|
92991
92939
|
return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
|
|
92992
|
-
}, H_ = "top", Lk = "right", Uk = "bottom",
|
|
92940
|
+
}, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
|
|
92993
92941
|
return a.element.dom.getBoundingClientRect();
|
|
92994
92942
|
}, Ic = function(a, c) {
|
|
92995
92943
|
return a[c];
|
|
92996
92944
|
}, cs = function(a) {
|
|
92997
92945
|
var c = zu(a);
|
|
92998
|
-
return Ic(c,
|
|
92946
|
+
return Ic(c, R6);
|
|
92999
92947
|
}, Hk = function(a) {
|
|
93000
92948
|
var c = zu(a);
|
|
93001
92949
|
return Ic(c, Lk);
|
|
93002
92950
|
}, c3 = function(a) {
|
|
93003
92951
|
var c = zu(a);
|
|
93004
92952
|
return Ic(c, H_);
|
|
93005
|
-
}, $
|
|
92953
|
+
}, $6 = function(a) {
|
|
93006
92954
|
var c = zu(a);
|
|
93007
92955
|
return Ic(c, Uk);
|
|
93008
|
-
},
|
|
92956
|
+
}, F6 = function(a) {
|
|
93009
92957
|
var c = zu(a);
|
|
93010
92958
|
return Ic(c, zk);
|
|
93011
92959
|
}, Wk = function(a) {
|
|
@@ -93014,7 +92962,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93014
92962
|
}, jk = function(a, c, v) {
|
|
93015
92963
|
return (a + c) / 2 - v;
|
|
93016
92964
|
}, Gk = function(a, c) {
|
|
93017
|
-
var v = zu(a), b = zu(c), x = Ic(v,
|
|
92965
|
+
var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
|
|
93018
92966
|
return jk(x, N, D);
|
|
93019
92967
|
}, qk = function(a, c) {
|
|
93020
92968
|
var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
|
|
@@ -93023,11 +92971,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93023
92971
|
_r(a, L_(), { value: c });
|
|
93024
92972
|
}, d3 = function(a) {
|
|
93025
92973
|
return { x: a };
|
|
93026
|
-
},
|
|
92974
|
+
}, V6 = function(a, c, v) {
|
|
93027
92975
|
var b = {
|
|
93028
92976
|
min: Sm(c),
|
|
93029
92977
|
max: Nl(c),
|
|
93030
|
-
range:
|
|
92978
|
+
range: O6(c),
|
|
93031
92979
|
value: v,
|
|
93032
92980
|
step: Lg(c),
|
|
93033
92981
|
snap: l3(c),
|
|
@@ -93037,11 +92985,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93037
92985
|
hasMaxEdge: Dk(c),
|
|
93038
92986
|
minBound: cs(a),
|
|
93039
92987
|
maxBound: Hk(a),
|
|
93040
|
-
screenRange:
|
|
92988
|
+
screenRange: F6(a)
|
|
93041
92989
|
};
|
|
93042
92990
|
return km(b);
|
|
93043
92991
|
}, Kk = function(a, c, v) {
|
|
93044
|
-
var b =
|
|
92992
|
+
var b = V6(a, c, v), x = d3(b);
|
|
93045
92993
|
return f3(a, x), b;
|
|
93046
92994
|
}, Z9 = function(a, c) {
|
|
93047
92995
|
var v = Sm(c);
|
|
@@ -93050,26 +92998,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93050
92998
|
var v = Nl(c);
|
|
93051
92999
|
f3(a, d3(v));
|
|
93052
93000
|
}, eD = function(a, c, v) {
|
|
93053
|
-
var b = a > 0 ?
|
|
93001
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
|
|
93054
93002
|
return f3(c, d3(x)), U.some(x);
|
|
93055
|
-
},
|
|
93003
|
+
}, L6 = function(a) {
|
|
93056
93004
|
return function(c, v) {
|
|
93057
93005
|
return eD(a, c, v).map(Pe);
|
|
93058
93006
|
};
|
|
93059
93007
|
}, h3 = function(a) {
|
|
93060
|
-
var c =
|
|
93008
|
+
var c = D6(a);
|
|
93061
93009
|
return c.map(function(v) {
|
|
93062
93010
|
return v.left;
|
|
93063
93011
|
});
|
|
93064
93012
|
}, tD = function(a, c, v, b, x) {
|
|
93065
|
-
var N = 0, D =
|
|
93013
|
+
var N = 0, D = F6(a), F = b.bind(function(Z) {
|
|
93066
93014
|
return U.some(Gk(Z, a));
|
|
93067
93015
|
}).getOr(N), L = x.bind(function(Z) {
|
|
93068
93016
|
return U.some(Gk(Z, a));
|
|
93069
93017
|
}).getOr(D), G = {
|
|
93070
93018
|
min: Sm(c),
|
|
93071
93019
|
max: Nl(c),
|
|
93072
|
-
range:
|
|
93020
|
+
range: O6(c),
|
|
93073
93021
|
value: v,
|
|
93074
93022
|
hasMinEdge: Ik(c),
|
|
93075
93023
|
hasMaxEdge: Dk(c),
|
|
@@ -93080,14 +93028,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93080
93028
|
centerMinEdge: F,
|
|
93081
93029
|
centerMaxEdge: L
|
|
93082
93030
|
};
|
|
93083
|
-
return
|
|
93031
|
+
return M6(G);
|
|
93084
93032
|
}, zg = function(a, c, v, b, x, N) {
|
|
93085
93033
|
var D = tD(c, N, v, b, x);
|
|
93086
93034
|
return cs(c) - cs(a) + D;
|
|
93087
93035
|
}, Hg = function(a, c, v, b) {
|
|
93088
93036
|
var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
|
|
93089
93037
|
eo(c.element, "left", N - D + "px");
|
|
93090
|
-
}, Yk =
|
|
93038
|
+
}, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
|
|
93091
93039
|
"top-left": U.none(),
|
|
93092
93040
|
top: U.none(),
|
|
93093
93041
|
"top-right": U.none(),
|
|
@@ -93101,7 +93049,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93101
93049
|
setValueFrom: Kk,
|
|
93102
93050
|
setToMin: Z9,
|
|
93103
93051
|
setToMax: Q9,
|
|
93104
|
-
findValueOfOffset:
|
|
93052
|
+
findValueOfOffset: V6,
|
|
93105
93053
|
getValueFromEvent: h3,
|
|
93106
93054
|
findPositionOfValue: zg,
|
|
93107
93055
|
setPositionFromValue: Hg,
|
|
@@ -93127,28 +93075,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93127
93075
|
hasMinEdge: Ok(c),
|
|
93128
93076
|
hasMaxEdge: Bk(c),
|
|
93129
93077
|
minBound: c3(a),
|
|
93130
|
-
maxBound: $
|
|
93078
|
+
maxBound: $6(a),
|
|
93131
93079
|
screenRange: Wk(a)
|
|
93132
93080
|
};
|
|
93133
93081
|
return km(b);
|
|
93134
93082
|
}, Zk = function(a, c, v) {
|
|
93135
93083
|
var b = g3(a, c, v), x = m3(b);
|
|
93136
93084
|
return p3(a, x), b;
|
|
93137
|
-
},
|
|
93085
|
+
}, U6 = function(a, c) {
|
|
93138
93086
|
var v = lu(c);
|
|
93139
93087
|
p3(a, m3(v));
|
|
93140
93088
|
}, Qk = function(a, c) {
|
|
93141
93089
|
var v = Vv(c);
|
|
93142
93090
|
p3(a, m3(v));
|
|
93143
93091
|
}, fs = function(a, c, v) {
|
|
93144
|
-
var b = a > 0 ?
|
|
93092
|
+
var b = a > 0 ? P6 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
|
|
93145
93093
|
return p3(c, m3(x)), U.some(x);
|
|
93146
|
-
},
|
|
93094
|
+
}, z6 = function(a) {
|
|
93147
93095
|
return function(c, v) {
|
|
93148
93096
|
return fs(a, c, v).map(Pe);
|
|
93149
93097
|
};
|
|
93150
93098
|
}, oD = function(a) {
|
|
93151
|
-
var c =
|
|
93099
|
+
var c = D6(a);
|
|
93152
93100
|
return c.map(function(v) {
|
|
93153
93101
|
return v.top;
|
|
93154
93102
|
});
|
|
@@ -93166,19 +93114,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93166
93114
|
hasMaxEdge: Bk(c),
|
|
93167
93115
|
minBound: c3(a),
|
|
93168
93116
|
minOffset: N,
|
|
93169
|
-
maxBound: $
|
|
93117
|
+
maxBound: $6(a),
|
|
93170
93118
|
maxOffset: D,
|
|
93171
93119
|
centerMinEdge: F,
|
|
93172
93120
|
centerMaxEdge: L
|
|
93173
93121
|
};
|
|
93174
|
-
return
|
|
93122
|
+
return M6(G);
|
|
93175
93123
|
}, _3 = function(a, c, v, b, x, N) {
|
|
93176
93124
|
var D = aD(c, N, v, b, x);
|
|
93177
93125
|
return c3(c) - c3(a) + D;
|
|
93178
93126
|
}, iD = function(a, c, v, b) {
|
|
93179
93127
|
var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
|
|
93180
93128
|
eo(c.element, "top", N - D + "px");
|
|
93181
|
-
}, lD = U.none, sD = U.none, e5 =
|
|
93129
|
+
}, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
|
|
93182
93130
|
"top-left": U.none(),
|
|
93183
93131
|
top: U.some(W9),
|
|
93184
93132
|
"top-right": U.none(),
|
|
@@ -93190,7 +93138,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93190
93138
|
}, t5 = /* @__PURE__ */ Object.freeze({
|
|
93191
93139
|
__proto__: null,
|
|
93192
93140
|
setValueFrom: Zk,
|
|
93193
|
-
setToMin:
|
|
93141
|
+
setToMin: U6,
|
|
93194
93142
|
setToMax: Qk,
|
|
93195
93143
|
findValueOfOffset: g3,
|
|
93196
93144
|
getValueFromEvent: oD,
|
|
@@ -93200,7 +93148,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93200
93148
|
onRight: sD,
|
|
93201
93149
|
onUp: e5,
|
|
93202
93150
|
onDown: fd,
|
|
93203
|
-
edgeActions:
|
|
93151
|
+
edgeActions: H6
|
|
93204
93152
|
}), Tm = function(a, c) {
|
|
93205
93153
|
_r(a, L_(), { value: c });
|
|
93206
93154
|
}, Wg = function(a, c) {
|
|
@@ -93209,10 +93157,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93209
93157
|
y: c
|
|
93210
93158
|
};
|
|
93211
93159
|
}, uD = function(a, c, v) {
|
|
93212
|
-
var b =
|
|
93160
|
+
var b = V6(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
|
|
93213
93161
|
return Tm(a, N), N;
|
|
93214
93162
|
}, cD = function(a, c, v, b) {
|
|
93215
|
-
var x = a > 0 ?
|
|
93163
|
+
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;
|
|
93216
93164
|
return Tm(v, Wg(N, D)), U.some(N);
|
|
93217
93165
|
}, y3 = function(a, c) {
|
|
93218
93166
|
return function(v, b) {
|
|
@@ -93224,8 +93172,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93224
93172
|
}, dD = function(a, c) {
|
|
93225
93173
|
var v = Nl(c), b = Vv(c);
|
|
93226
93174
|
Tm(a, Wg(v, b));
|
|
93227
|
-
},
|
|
93228
|
-
return
|
|
93175
|
+
}, W6 = function(a) {
|
|
93176
|
+
return D6(a);
|
|
93229
93177
|
}, hD = function(a, c, v, b) {
|
|
93230
93178
|
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;
|
|
93231
93179
|
eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
|
|
@@ -93243,7 +93191,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93243
93191
|
setValueFrom: uD,
|
|
93244
93192
|
setToMin: fD,
|
|
93245
93193
|
setToMax: dD,
|
|
93246
|
-
getValueFromEvent:
|
|
93194
|
+
getValueFromEvent: W6,
|
|
93247
93195
|
setPositionFromValue: hD,
|
|
93248
93196
|
onLeft: n5,
|
|
93249
93197
|
onRight: vD,
|
|
@@ -93428,7 +93376,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93428
93376
|
return Nm(O_(a));
|
|
93429
93377
|
}, a5 = function(a) {
|
|
93430
93378
|
return G4(vS(a));
|
|
93431
|
-
},
|
|
93379
|
+
}, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
|
|
93432
93380
|
var v = su.parts.spectrum({
|
|
93433
93381
|
dom: {
|
|
93434
93382
|
tag: "div",
|
|
@@ -93525,7 +93473,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93525
93473
|
return a.getField(c, v);
|
|
93526
93474
|
}),
|
|
93527
93475
|
sketch: Am
|
|
93528
|
-
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"),
|
|
93476
|
+
}, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
|
|
93529
93477
|
var x = function(fe, Te) {
|
|
93530
93478
|
return ff.config({
|
|
93531
93479
|
invalidClass: c("invalid"),
|
|
@@ -93555,7 +93503,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93555
93503
|
}
|
|
93556
93504
|
});
|
|
93557
93505
|
}, N = function(fe, Te, ze, je, dt) {
|
|
93558
|
-
var qe = a(
|
|
93506
|
+
var qe = a(G6 + "range"), St = zo.parts.label({
|
|
93559
93507
|
dom: {
|
|
93560
93508
|
tag: "label",
|
|
93561
93509
|
innerHtml: ze,
|
|
@@ -93642,12 +93590,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93642
93590
|
var Fr = uS(hr);
|
|
93643
93591
|
je("hex", U.some(hr));
|
|
93644
93592
|
var Rn = O_(Fr);
|
|
93645
|
-
F(bn, Rn), qe(Rn), _r(bn,
|
|
93593
|
+
F(bn, Rn), qe(Rn), _r(bn, j6, { hex: Fr }), G(bn, Fr);
|
|
93646
93594
|
}, rn = function(bn, hr, Fr) {
|
|
93647
93595
|
var Rn = parseInt(Fr, 10);
|
|
93648
93596
|
je(hr, U.some(Rn)), dt().each(function(Nr) {
|
|
93649
93597
|
var Rr = D(bn, Nr);
|
|
93650
|
-
_r(bn,
|
|
93598
|
+
_r(bn, j6, { hex: Rr }), G(bn, Rr);
|
|
93651
93599
|
});
|
|
93652
93600
|
}, jt = function(bn) {
|
|
93653
93601
|
return bn.type === "hex";
|
|
@@ -93656,8 +93604,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93656
93604
|
jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
|
|
93657
93605
|
}, Kt = function(bn) {
|
|
93658
93606
|
return {
|
|
93659
|
-
label: a(
|
|
93660
|
-
description: a(
|
|
93607
|
+
label: a(G6 + bn + ".label"),
|
|
93608
|
+
description: a(G6 + bn + ".description")
|
|
93661
93609
|
};
|
|
93662
93610
|
}, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
|
|
93663
93611
|
return to(Gg.sketch(function(bn) {
|
|
@@ -93668,9 +93616,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93668
93616
|
attributes: { "aria-label": a("aria.color.picker") }
|
|
93669
93617
|
},
|
|
93670
93618
|
components: [
|
|
93671
|
-
bn.field("red", zo.sketch(N(
|
|
93672
|
-
bn.field("green", zo.sketch(N(
|
|
93673
|
-
bn.field("blue", zo.sketch(N(
|
|
93619
|
+
bn.field("red", zo.sketch(N(h6, "red", En.label, En.description, 255))),
|
|
93620
|
+
bn.field("green", zo.sketch(N(h6, "green", wr.label, wr.description, 255))),
|
|
93621
|
+
bn.field("blue", zo.sketch(N(h6, "blue", Jn.label, Jn.description, 255))),
|
|
93674
93622
|
bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
|
|
93675
93623
|
L.asSpec()
|
|
93676
93624
|
],
|
|
@@ -93702,7 +93650,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93702
93650
|
extraApis: {}
|
|
93703
93651
|
});
|
|
93704
93652
|
return ee;
|
|
93705
|
-
},
|
|
93653
|
+
}, q6 = function(a, c) {
|
|
93706
93654
|
var v = su.parts.spectrum({
|
|
93707
93655
|
dom: {
|
|
93708
93656
|
tag: "canvas",
|
|
@@ -93782,7 +93730,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93782
93730
|
return L;
|
|
93783
93731
|
}, bD = function(a, c) {
|
|
93784
93732
|
var v = function(x) {
|
|
93785
|
-
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D =
|
|
93733
|
+
var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
|
|
93786
93734
|
return (100 - nn) / 100 * 360;
|
|
93787
93735
|
}, L = function(nn) {
|
|
93788
93736
|
return 100 - nn / 360 * 100;
|
|
@@ -93848,7 +93796,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93848
93796
|
],
|
|
93849
93797
|
behaviours: Mn([
|
|
93850
93798
|
so("colour-picker-events", [
|
|
93851
|
-
wn(
|
|
93799
|
+
wn(j6, jt()),
|
|
93852
93800
|
wn(l5, At()),
|
|
93853
93801
|
wn(i5, rn())
|
|
93854
93802
|
]),
|
|
@@ -93872,9 +93820,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93872
93820
|
return b;
|
|
93873
93821
|
}, v5 = function() {
|
|
93874
93822
|
return To.config({ find: U.some });
|
|
93875
|
-
},
|
|
93823
|
+
}, K6 = function(a) {
|
|
93876
93824
|
return To.config({ find: a.getOpt });
|
|
93877
|
-
},
|
|
93825
|
+
}, Y6 = function(a) {
|
|
93878
93826
|
return To.config({
|
|
93879
93827
|
find: function(c) {
|
|
93880
93828
|
return v0(c.element, a).bind(function(v) {
|
|
@@ -93884,8 +93832,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
93884
93832
|
});
|
|
93885
93833
|
}, Dc = {
|
|
93886
93834
|
self: v5,
|
|
93887
|
-
memento:
|
|
93888
|
-
childAt:
|
|
93835
|
+
memento: K6,
|
|
93836
|
+
childAt: Y6
|
|
93889
93837
|
}, wD = {
|
|
93890
93838
|
"colorcustom.rgb.red.label": "R",
|
|
93891
93839
|
"colorcustom.rgb.red.description": "Red component",
|
|
@@ -94008,11 +93956,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94008
93956
|
]),
|
|
94009
93957
|
components: [v.asSpec()]
|
|
94010
93958
|
};
|
|
94011
|
-
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"),
|
|
93959
|
+
}, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
|
|
94012
93960
|
Ot("preprocess", z),
|
|
94013
93961
|
Ot("postprocess", z)
|
|
94014
93962
|
]), m5 = function(a, c) {
|
|
94015
|
-
var v = Na("RepresentingConfigs.memento processors",
|
|
93963
|
+
var v = Na("RepresentingConfigs.memento processors", X6, c);
|
|
94016
93964
|
return or.config({
|
|
94017
93965
|
store: {
|
|
94018
93966
|
mode: "manual",
|
|
@@ -94026,7 +93974,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94026
93974
|
}
|
|
94027
93975
|
}
|
|
94028
93976
|
});
|
|
94029
|
-
},
|
|
93977
|
+
}, J6 = function(a, c, v) {
|
|
94030
93978
|
return or.config(to({
|
|
94031
93979
|
store: {
|
|
94032
93980
|
mode: "manual",
|
|
@@ -94037,7 +93985,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94037
93985
|
return { store: { initialValue: b } };
|
|
94038
93986
|
}).getOr({})));
|
|
94039
93987
|
}, j_ = function(a, c, v) {
|
|
94040
|
-
return
|
|
93988
|
+
return J6(a, function(b) {
|
|
94041
93989
|
return c(b.element);
|
|
94042
93990
|
}, function(b, x) {
|
|
94043
93991
|
return v(b.element, x);
|
|
@@ -94056,7 +94004,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94056
94004
|
}, Uv = {
|
|
94057
94005
|
memento: m5,
|
|
94058
94006
|
withElement: j_,
|
|
94059
|
-
withComp:
|
|
94007
|
+
withComp: J6,
|
|
94060
94008
|
domValue: g5,
|
|
94061
94009
|
domHtml: x3,
|
|
94062
94010
|
memory: _5
|
|
@@ -94274,9 +94222,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94274
94222
|
return a.getContext("2d");
|
|
94275
94223
|
}, OD = function(a, c, v) {
|
|
94276
94224
|
return a.width = c, a.height = v, a;
|
|
94277
|
-
},
|
|
94225
|
+
}, Z6 = function(a) {
|
|
94278
94226
|
return a.naturalWidth || a.width;
|
|
94279
|
-
},
|
|
94227
|
+
}, Q6 = function(a) {
|
|
94280
94228
|
return a.naturalHeight || a.height;
|
|
94281
94229
|
}, BD = function() {
|
|
94282
94230
|
var a = function(ee) {
|
|
@@ -94447,7 +94395,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94447
94395
|
}, tx = function(a) {
|
|
94448
94396
|
return ex(a).then(function(c) {
|
|
94449
94397
|
$D(c);
|
|
94450
|
-
var v = qg(
|
|
94398
|
+
var v = qg(Z6(c), Q6(c)), b = Oc(v);
|
|
94451
94399
|
return b.drawImage(c, 0, 0), v;
|
|
94452
94400
|
});
|
|
94453
94401
|
}, E5 = function(a) {
|
|
@@ -94830,7 +94778,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94830
94778
|
]), N5 = WD(function(a, c) {
|
|
94831
94779
|
return Math.pow(a / 255, 1 - c) * 255;
|
|
94832
94780
|
}), A5 = function(a, c, v) {
|
|
94833
|
-
var b =
|
|
94781
|
+
var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
|
|
94834
94782
|
(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);
|
|
94835
94783
|
var L = ZD(a, N, D);
|
|
94836
94784
|
return F ? L.then(function(G) {
|
|
@@ -94838,7 +94786,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
94838
94786
|
}) : L;
|
|
94839
94787
|
}, ZD = function(a, c, v) {
|
|
94840
94788
|
return new hd(function(b) {
|
|
94841
|
-
var x =
|
|
94789
|
+
var x = Z6(a), N = Q6(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
|
|
94842
94790
|
G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
|
|
94843
94791
|
});
|
|
94844
94792
|
}, rx = function(a, c) {
|
|
@@ -95073,8 +95021,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
95073
95021
|
var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
|
|
95074
95022
|
if (N.items.length === 0)
|
|
95075
95023
|
return U.none();
|
|
95076
|
-
var D =
|
|
95077
|
-
return
|
|
95024
|
+
var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
|
|
95025
|
+
return b6(Z, G, c, v, !1);
|
|
95078
95026
|
}), L = to(F, ge(x, D));
|
|
95079
95027
|
return U.from(hm.tieredData(x, L, N.expansions));
|
|
95080
95028
|
}, vO = function(a) {
|
|
@@ -97021,7 +96969,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97021
96969
|
var fe = function(Te) {
|
|
97022
96970
|
To.getCurrent(Te).each(Z);
|
|
97023
96971
|
};
|
|
97024
|
-
|
|
96972
|
+
k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
|
|
97025
96973
|
}
|
|
97026
96974
|
}, N = ek(a), D = function(L) {
|
|
97027
96975
|
return function(G) {
|
|
@@ -97085,7 +97033,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97085
97033
|
});
|
|
97086
97034
|
});
|
|
97087
97035
|
};
|
|
97088
|
-
|
|
97036
|
+
k6(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
|
|
97089
97037
|
}
|
|
97090
97038
|
},
|
|
97091
97039
|
cancelEvent: fp()
|
|
@@ -97121,7 +97069,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97121
97069
|
Ga.config({
|
|
97122
97070
|
others: {
|
|
97123
97071
|
sandbox: function(L) {
|
|
97124
|
-
return
|
|
97072
|
+
return N6(a, L, {
|
|
97125
97073
|
onOpen: function() {
|
|
97126
97074
|
return Vt.on(L);
|
|
97127
97075
|
},
|
|
@@ -97197,7 +97145,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97197
97145
|
vi("previewing", function() {
|
|
97198
97146
|
return jn(!0);
|
|
97199
97147
|
})
|
|
97200
|
-
].concat(QS()).concat(
|
|
97148
|
+
].concat(QS()).concat(I6())), XO = V([tu({
|
|
97201
97149
|
schema: [zf()],
|
|
97202
97150
|
name: "menu",
|
|
97203
97151
|
overrides: function(a) {
|
|
@@ -97945,7 +97893,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97945
97893
|
};
|
|
97946
97894
|
}, S7 = function(a) {
|
|
97947
97895
|
return function() {
|
|
97948
|
-
return
|
|
97896
|
+
return m6(a);
|
|
97949
97897
|
};
|
|
97950
97898
|
}, k7 = function(a) {
|
|
97951
97899
|
return function() {
|
|
@@ -97965,7 +97913,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
97965
97913
|
}, _T = function(a) {
|
|
97966
97914
|
return { isDraggableModal: N7(a) };
|
|
97967
97915
|
}, A7 = function(a) {
|
|
97968
|
-
var c = jn(
|
|
97916
|
+
var c = jn(e6(a) ? "bottom" : "top");
|
|
97969
97917
|
return {
|
|
97970
97918
|
isPositionedAtTop: function() {
|
|
97971
97919
|
return c.get() === "top";
|
|
@@ -98128,7 +98076,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98128
98076
|
}, ty = function(a) {
|
|
98129
98077
|
return jE(a).map(function(c) {
|
|
98130
98078
|
var v = Dm(a, c);
|
|
98131
|
-
return
|
|
98079
|
+
return J8(a) ? yT.concat(v) : v;
|
|
98132
98080
|
}).getOr(yT);
|
|
98133
98081
|
}, bT = function(a, c, v) {
|
|
98134
98082
|
var b = {
|
|
@@ -98342,10 +98290,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
98342
98290
|
return GA(a) ? U.none() : U.some({
|
|
98343
98291
|
targets: G7.find(a.getBody()),
|
|
98344
98292
|
anchorTop: Ix(qA(a)),
|
|
98345
|
-
anchorBottom: Ix(
|
|
98293
|
+
anchorBottom: Ix(r6(a))
|
|
98346
98294
|
});
|
|
98347
98295
|
}, tB = function(a) {
|
|
98348
|
-
return U.from(
|
|
98296
|
+
return U.from(o6(a));
|
|
98349
98297
|
}, nB = function(a) {
|
|
98350
98298
|
return {
|
|
98351
98299
|
getHistory: Y7,
|
|
@@ -99384,7 +99332,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99384
99332
|
Ot("useMinWidth", !1),
|
|
99385
99333
|
Ot("eventOrder", {}),
|
|
99386
99334
|
Do("role")
|
|
99387
|
-
].concat(
|
|
99335
|
+
].concat(I6())), PB = Ni({
|
|
99388
99336
|
factory: Gl,
|
|
99389
99337
|
schema: [nt("dom")],
|
|
99390
99338
|
name: "arrow",
|
|
@@ -99483,7 +99431,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99483
99431
|
});
|
|
99484
99432
|
})])), In(U.some(D))), Z = {
|
|
99485
99433
|
repositionMenus: function(ee) {
|
|
99486
|
-
Vt.isOn(ee) &&
|
|
99434
|
+
Vt.isOn(ee) && A6(ee);
|
|
99487
99435
|
}
|
|
99488
99436
|
};
|
|
99489
99437
|
return {
|
|
@@ -99509,7 +99457,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99509
99457
|
Vt.off(fe), Vt.off(ee);
|
|
99510
99458
|
}
|
|
99511
99459
|
};
|
|
99512
|
-
return
|
|
99460
|
+
return N6(a, ee, Te);
|
|
99513
99461
|
}
|
|
99514
99462
|
}
|
|
99515
99463
|
}),
|
|
@@ -99703,7 +99651,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99703
99651
|
return sl.nu(function(x) {
|
|
99704
99652
|
return c.fetch(x);
|
|
99705
99653
|
}).map(function(x) {
|
|
99706
|
-
return U.from($S(to(
|
|
99654
|
+
return U.from($S(to(_6(Tr("menu-value"), x, function(N) {
|
|
99707
99655
|
c.onItemAction(a(b), N);
|
|
99708
99656
|
}, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
|
|
99709
99657
|
movement: K4(c.columns, c.presets),
|
|
@@ -99931,7 +99879,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
99931
99879
|
bottom: Math.min(D.y, v.bottom)
|
|
99932
99880
|
};
|
|
99933
99881
|
}, uN = function(a, c) {
|
|
99934
|
-
var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x =
|
|
99882
|
+
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;
|
|
99935
99883
|
if (a.inline && !x)
|
|
99936
99884
|
return fl(D, v.y, F, v.height);
|
|
99937
99885
|
var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
|
|
@@ -102266,10 +102214,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102266
102214
|
}, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
|
|
102267
102215
|
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() {
|
|
102268
102216
|
var fe = N.get();
|
|
102269
|
-
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)),
|
|
102217
|
+
(fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v6(a));
|
|
102270
102218
|
}, L = function() {
|
|
102271
102219
|
var fe = a.getDoc().documentElement, Te = D.get();
|
|
102272
|
-
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)),
|
|
102220
|
+
(Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v6(a));
|
|
102273
102221
|
}, G = function(fe) {
|
|
102274
102222
|
return hI(a, fe);
|
|
102275
102223
|
};
|
|
@@ -102344,7 +102292,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102344
102292
|
});
|
|
102345
102293
|
return b.or(x).getOr(a);
|
|
102346
102294
|
}, D$ = function(a) {
|
|
102347
|
-
var c = HE(a), v = WE(a), b =
|
|
102295
|
+
var c = HE(a), v = WE(a), b = X8(a);
|
|
102348
102296
|
return iP(c).map(function(x) {
|
|
102349
102297
|
return hN(x, v, b);
|
|
102350
102298
|
});
|
|
@@ -102369,7 +102317,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102369
102317
|
return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
|
|
102370
102318
|
}) : 0;
|
|
102371
102319
|
}, St = function(fn) {
|
|
102372
|
-
switch (
|
|
102320
|
+
switch (Q8(a)) {
|
|
102373
102321
|
case bm.auto:
|
|
102374
102322
|
var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
|
|
102375
102323
|
if (Nr)
|
|
@@ -102444,7 +102392,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
102444
102392
|
x.set({
|
|
102445
102393
|
pos: G,
|
|
102446
102394
|
bounds: Z
|
|
102447
|
-
}), ze &&
|
|
102395
|
+
}), ze && v6(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
|
|
102448
102396
|
};
|
|
102449
102397
|
b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
|
|
102450
102398
|
return v.update(!0);
|
|
@@ -103919,7 +103867,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
103919
103867
|
})(dy || (dy = {}));
|
|
103920
103868
|
var CV = function(a, c, v, b, x) {
|
|
103921
103869
|
var N = {};
|
|
103922
|
-
return N.height = hN(b + c.top, WE(a),
|
|
103870
|
+
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;
|
|
103923
103871
|
}, DM = function(a, c, v) {
|
|
103924
103872
|
var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
|
|
103925
103873
|
Ur(x, function(N, D) {
|
|
@@ -104057,7 +104005,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104057
104005
|
components: x()
|
|
104058
104006
|
};
|
|
104059
104007
|
}, TV = function(a) {
|
|
104060
|
-
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 =
|
|
104008
|
+
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() {
|
|
104061
104009
|
return N.bind(hi.getHeader);
|
|
104062
104010
|
}, qe = function() {
|
|
104063
104011
|
return x.isDocked(dt);
|
|
@@ -104161,7 +104109,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104161
104109
|
Rn,
|
|
104162
104110
|
Nr
|
|
104163
104111
|
]
|
|
104164
|
-
}, mf = k_(a), Pc = Ag(a), AP =
|
|
104112
|
+
}, mf = k_(a), Pc = Ag(a), AP = Z8(a), IP = function() {
|
|
104165
104113
|
return mf ? [Fr] : Pc ? [hr] : [];
|
|
104166
104114
|
}, xN = hi.parts.header({
|
|
104167
104115
|
dom: ve({
|
|
@@ -104190,7 +104138,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104190
104138
|
[jx],
|
|
104191
104139
|
v ? [] : ia.toArray(),
|
|
104192
104140
|
[Rr]
|
|
104193
|
-
]), Gx =
|
|
104141
|
+
]), Gx = t6(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
|
|
104194
104142
|
dom: {
|
|
104195
104143
|
tag: "div",
|
|
104196
104144
|
classes: [
|
|
@@ -104240,7 +104188,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
104240
104188
|
});
|
|
104241
104189
|
var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
|
|
104242
104190
|
menuItems: iw,
|
|
104243
|
-
menus:
|
|
104191
|
+
menus: n6(a),
|
|
104244
104192
|
menubar: UA(a),
|
|
104245
104193
|
toolbar: RP.getOrThunk(function() {
|
|
104246
104194
|
return zA(a);
|
|
@@ -105296,7 +105244,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105296
105244
|
})])
|
|
105297
105245
|
};
|
|
105298
105246
|
return tl.parts.body(c);
|
|
105299
|
-
}, NU =
|
|
105247
|
+
}, NU = i6.deviceType.isTouch(), KM = function(a, c) {
|
|
105300
105248
|
return {
|
|
105301
105249
|
dom: {
|
|
105302
105250
|
tag: "div",
|
|
@@ -105610,7 +105558,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105610
105558
|
wn($g, function(v, b) {
|
|
105611
105559
|
return c.onUnblock();
|
|
105612
105560
|
}),
|
|
105613
|
-
wn(
|
|
105561
|
+
wn(E6, function(v, b) {
|
|
105614
105562
|
return c.onBlock(b.event);
|
|
105615
105563
|
})
|
|
105616
105564
|
];
|
|
@@ -105785,7 +105733,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105785
105733
|
if (!l(je))
|
|
105786
105734
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105787
105735
|
b(function(dt) {
|
|
105788
|
-
_r(dt,
|
|
105736
|
+
_r(dt, E6, { message: je });
|
|
105789
105737
|
});
|
|
105790
105738
|
}, Z = function() {
|
|
105791
105739
|
b(function(je) {
|
|
@@ -105959,7 +105907,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
|
|
|
105959
105907
|
if (!l(D))
|
|
105960
105908
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
105961
105909
|
c(function(F) {
|
|
105962
|
-
_r(F,
|
|
105910
|
+
_r(F, E6, { message: D });
|
|
105963
105911
|
});
|
|
105964
105912
|
}, b = function() {
|
|
105965
105913
|
c(function(D) {
|
|
@@ -112074,7 +112022,7 @@ Required: ` + w.join(", "));
|
|
|
112074
112022
|
}, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
|
|
112075
112023
|
return function(sf, yg) {
|
|
112076
112024
|
Xs(sf);
|
|
112077
|
-
var T4 = xc(),
|
|
112025
|
+
var T4 = xc(), b8 = Je.fromDom(g.getDoc()), id = S0(Yi, b8, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
|
|
112078
112026
|
return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
|
|
112079
112027
|
return Qe(um.newRows, function(cm) {
|
|
112080
112028
|
K0(g, cm.dom);
|
|
@@ -113998,38 +113946,38 @@ Required: ` + w.join(", "));
|
|
|
113998
113946
|
}, wc = 5, QC = 100, Cc = Lc.generate([
|
|
113999
113947
|
{ none: [] },
|
|
114000
113948
|
{ retry: ["caret"] }
|
|
114001
|
-
]),
|
|
113949
|
+
]), e8 = function(g, w) {
|
|
114002
113950
|
return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
|
|
114003
113951
|
}, h4 = function(g, w, T) {
|
|
114004
113952
|
return xh(w, p2).fold(Ne, function(I) {
|
|
114005
113953
|
return d4(g, I).exists(function($) {
|
|
114006
|
-
return
|
|
113954
|
+
return e8(T, $);
|
|
114007
113955
|
});
|
|
114008
113956
|
});
|
|
114009
|
-
},
|
|
113957
|
+
}, t8 = function(g, w, T, I, $) {
|
|
114010
113958
|
var W = nd($, wc);
|
|
114011
113959
|
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();
|
|
114012
|
-
},
|
|
113960
|
+
}, n8 = function(g, w, T, I, $) {
|
|
114013
113961
|
var W = im($, wc);
|
|
114014
113962
|
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();
|
|
114015
113963
|
}, rd = {
|
|
114016
113964
|
point: u4,
|
|
114017
|
-
adjuster:
|
|
113965
|
+
adjuster: n8,
|
|
114018
113966
|
move: im,
|
|
114019
113967
|
gather: n_
|
|
114020
113968
|
}, vg = {
|
|
114021
113969
|
point: c4,
|
|
114022
|
-
adjuster:
|
|
113970
|
+
adjuster: t8,
|
|
114023
113971
|
move: nd,
|
|
114024
113972
|
gather: o4
|
|
114025
113973
|
}, p4 = function(g, w, T) {
|
|
114026
113974
|
return g.elementFromPoint(w, T).filter(function(I) {
|
|
114027
113975
|
return Io(I) === "table";
|
|
114028
113976
|
}).isSome();
|
|
114029
|
-
},
|
|
113977
|
+
}, r8 = function(g, w, T, I, $) {
|
|
114030
113978
|
return Av(g, w, T, w.move(I, wc), $);
|
|
114031
113979
|
}, Av = function(g, w, T, I, $) {
|
|
114032
|
-
return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ?
|
|
113980
|
+
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) {
|
|
114033
113981
|
return W.start.fold(te.none, function(Q) {
|
|
114034
113982
|
return d4(g, Q).bind(function(ye) {
|
|
114035
113983
|
return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
|
|
@@ -114040,15 +113988,15 @@ Required: ` + w.join(", "));
|
|
|
114040
113988
|
});
|
|
114041
113989
|
}, te.none);
|
|
114042
113990
|
});
|
|
114043
|
-
},
|
|
113991
|
+
}, o8 = function(g, w) {
|
|
114044
113992
|
return g.situsFromPoint(w.left, w.bottom + wc);
|
|
114045
|
-
},
|
|
113993
|
+
}, a8 = function(g, w) {
|
|
114046
113994
|
return g.situsFromPoint(w.left, w.top - wc);
|
|
114047
|
-
},
|
|
113995
|
+
}, i8 = function(g, w, T) {
|
|
114048
113996
|
return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
|
|
114049
113997
|
}, m4 = function(g, w, T) {
|
|
114050
113998
|
var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
|
|
114051
|
-
return
|
|
113999
|
+
return i8(g, $, w).fold(function() {
|
|
114052
114000
|
return w.situsFromPoint($.left, g.point($));
|
|
114053
114001
|
}, function(W) {
|
|
114054
114002
|
return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
|
|
@@ -114056,10 +114004,10 @@ Required: ` + w.join(", "));
|
|
|
114056
114004
|
}, Iv = {
|
|
114057
114005
|
tryUp: V(m4, rd),
|
|
114058
114006
|
tryDown: V(m4, vg),
|
|
114059
|
-
ieTryUp:
|
|
114060
|
-
ieTryDown:
|
|
114007
|
+
ieTryUp: a8,
|
|
114008
|
+
ieTryDown: o8,
|
|
114061
114009
|
getJumpSize: j(wc)
|
|
114062
|
-
},
|
|
114010
|
+
}, l8 = 20, g4 = function(g, w, T) {
|
|
114063
114011
|
return g.getSelection().bind(function(I) {
|
|
114064
114012
|
return a_(w, I.finish, I.foffset, T).fold(function() {
|
|
114065
114013
|
return te.some(Mp(I.finish, I.foffset));
|
|
@@ -114069,7 +114017,7 @@ Required: ` + w.join(", "));
|
|
|
114069
114017
|
});
|
|
114070
114018
|
});
|
|
114071
114019
|
}, lm = function(g, w, T, I, $, W) {
|
|
114072
|
-
return W === 0 ? te.none() :
|
|
114020
|
+
return W === 0 ? te.none() : s8(g, w, T, I, $).bind(function(Q) {
|
|
114073
114021
|
var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
|
|
114074
114022
|
return Nv.cata(_e, function() {
|
|
114075
114023
|
return te.none();
|
|
@@ -114088,15 +114036,15 @@ Required: ` + w.join(", "));
|
|
|
114088
114036
|
}, _4 = function(g, w, T) {
|
|
114089
114037
|
var I = Ze().browser;
|
|
114090
114038
|
return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
|
|
114091
|
-
},
|
|
114039
|
+
}, s8 = function(g, w, T, I, $) {
|
|
114092
114040
|
return f4(g, T, I).bind(function(W) {
|
|
114093
114041
|
return _4(g, $, W);
|
|
114094
114042
|
});
|
|
114095
|
-
},
|
|
114043
|
+
}, u8 = function(g, w, T) {
|
|
114096
114044
|
return g4(g, w, T).bind(function(I) {
|
|
114097
|
-
return lm(g, w, I.element, I.offset, T,
|
|
114045
|
+
return lm(g, w, I.element, I.offset, T, l8).map(g.fromSitus);
|
|
114098
114046
|
});
|
|
114099
|
-
},
|
|
114047
|
+
}, c8 = function(g, w) {
|
|
114100
114048
|
return qC(g, function(T) {
|
|
114101
114049
|
return de(T).exists(function(I) {
|
|
114102
114050
|
return Tn(I, w);
|
|
@@ -114105,7 +114053,7 @@ Required: ` + w.join(", "));
|
|
|
114105
114053
|
}, od = function(g, w, T, I, $) {
|
|
114106
114054
|
return Ho(I, "td,th", w).bind(function(W) {
|
|
114107
114055
|
return Ho(W, "table", w).bind(function(Q) {
|
|
114108
|
-
return
|
|
114056
|
+
return c8($, Q) ? u8(g, w, T).bind(function(ye) {
|
|
114109
114057
|
return Ho(ye.finish, "td,th", w).map(function(_e) {
|
|
114110
114058
|
return {
|
|
114111
114059
|
start: W,
|
|
@@ -114123,7 +114071,7 @@ Required: ` + w.join(", "));
|
|
|
114123
114071
|
return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
|
|
114124
114072
|
});
|
|
114125
114073
|
});
|
|
114126
|
-
},
|
|
114074
|
+
}, f8 = function(g, w) {
|
|
114127
114075
|
return Ho(g, "tr", w).bind(function(T) {
|
|
114128
114076
|
return Ho(T, "table", w).bind(function(I) {
|
|
114129
114077
|
var $ = li(I, "tr");
|
|
@@ -114214,7 +114162,7 @@ Required: ` + w.join(", "));
|
|
|
114214
114162
|
}, Mr = {
|
|
114215
114163
|
isBackward: Dv(37),
|
|
114216
114164
|
isForward: Dv(39)
|
|
114217
|
-
},
|
|
114165
|
+
}, d8 = {
|
|
114218
114166
|
isBackward: Dv(39),
|
|
114219
114167
|
isForward: Dv(37)
|
|
114220
114168
|
}, mg = function(g) {
|
|
@@ -114304,7 +114252,7 @@ Required: ` + w.join(", "));
|
|
|
114304
114252
|
return I.clear(w), te.none();
|
|
114305
114253
|
}, Q = function(_e, Ye, mt, Cn, pn, An) {
|
|
114306
114254
|
var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
|
|
114307
|
-
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,
|
|
114255
|
+
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;
|
|
114308
114256
|
}, function(uo) {
|
|
114309
114257
|
var zr = function(xo) {
|
|
114310
114258
|
return function() {
|
|
@@ -114340,7 +114288,7 @@ Required: ` + w.join(", "));
|
|
|
114340
114288
|
keydown: Q,
|
|
114341
114289
|
keyup: ye
|
|
114342
114290
|
};
|
|
114343
|
-
},
|
|
114291
|
+
}, h8 = function(g, w, T, I) {
|
|
114344
114292
|
var $ = d_(g);
|
|
114345
114293
|
return function(W, Q) {
|
|
114346
114294
|
I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
|
|
@@ -114348,7 +114296,7 @@ Required: ` + w.join(", "));
|
|
|
114348
114296
|
I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
|
|
114349
114297
|
});
|
|
114350
114298
|
};
|
|
114351
|
-
},
|
|
114299
|
+
}, v8 = function(g, w) {
|
|
114352
114300
|
Qe(w, function(T) {
|
|
114353
114301
|
ol(g, T);
|
|
114354
114302
|
});
|
|
@@ -114358,7 +114306,7 @@ Required: ` + w.join(", "));
|
|
|
114358
114306
|
};
|
|
114359
114307
|
}, h_ = function(g) {
|
|
114360
114308
|
return function(w) {
|
|
114361
|
-
|
|
114309
|
+
v8(w, g);
|
|
114362
114310
|
};
|
|
114363
114311
|
}, so = function(g) {
|
|
114364
114312
|
var w = Qr(g.selected), T = h_([
|
|
@@ -114400,7 +114348,7 @@ Required: ` + w.join(", "));
|
|
|
114400
114348
|
firstSelectedSelector: g.firstSelectedSelector,
|
|
114401
114349
|
lastSelectedSelector: g.lastSelectedSelector
|
|
114402
114350
|
};
|
|
114403
|
-
},
|
|
114351
|
+
}, p8 = {
|
|
114404
114352
|
byClass: so,
|
|
114405
114353
|
byAttr: S4
|
|
114406
114354
|
}, _g = function(g, w, T) {
|
|
@@ -114411,7 +114359,7 @@ Required: ` + w.join(", "));
|
|
|
114411
114359
|
return ye.element;
|
|
114412
114360
|
});
|
|
114413
114361
|
});
|
|
114414
|
-
},
|
|
114362
|
+
}, m8 = function(g, w, T) {
|
|
114415
114363
|
var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
|
|
114416
114364
|
return pt($, function(W) {
|
|
114417
114365
|
var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
|
|
@@ -114422,7 +114370,7 @@ Required: ` + w.join(", "));
|
|
|
114422
114370
|
}, k4 = function(g, w, T) {
|
|
114423
114371
|
var I = Bn.fromTable(g), $ = jf(I, w);
|
|
114424
114372
|
return $.map(function(W) {
|
|
114425
|
-
var Q = av(I, T, !1), ye = _g(Q, W, T), _e =
|
|
114373
|
+
var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m8(Q, W, T);
|
|
114426
114374
|
return {
|
|
114427
114375
|
upOrLeftCells: ye,
|
|
114428
114376
|
downOrRightCells: _e
|
|
@@ -114431,7 +114379,7 @@ Required: ` + w.join(", "));
|
|
|
114431
114379
|
}, v_ = function(g) {
|
|
114432
114380
|
return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
|
|
114433
114381
|
};
|
|
114434
|
-
function
|
|
114382
|
+
function g8(g, w, T) {
|
|
114435
114383
|
var I = function(Q, ye, _e) {
|
|
114436
114384
|
T.targets().each(function(Ye) {
|
|
114437
114385
|
var mt = Ma(ye);
|
|
@@ -114442,7 +114390,7 @@ Required: ` + w.join(", "));
|
|
|
114442
114390
|
});
|
|
114443
114391
|
}, $ = function() {
|
|
114444
114392
|
return Vw(g);
|
|
114445
|
-
}, W =
|
|
114393
|
+
}, W = p8.byAttr(La, I, $);
|
|
114446
114394
|
return g.on("init", function(Q) {
|
|
114447
114395
|
var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
|
|
114448
114396
|
var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
|
|
@@ -114452,7 +114400,7 @@ Required: ` + w.join(", "));
|
|
|
114452
114400
|
ss.fold(function() {
|
|
114453
114401
|
return W.clear(_e);
|
|
114454
114402
|
}, B);
|
|
114455
|
-
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An =
|
|
114403
|
+
}, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h8(ye, _e, Ye, W), Vt = function(Uo) {
|
|
114456
114404
|
return Uo.raw.shiftKey === !0;
|
|
114457
114405
|
};
|
|
114458
114406
|
g.on("TableSelectorChange", function(Uo) {
|
|
@@ -114476,7 +114424,7 @@ Required: ` + w.join(", "));
|
|
|
114476
114424
|
w().each(function(Yi) {
|
|
114477
114425
|
return Yi.hideBars();
|
|
114478
114426
|
});
|
|
114479
|
-
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr,
|
|
114427
|
+
var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d8)(Je.fromDom(g.selection.getStart()));
|
|
114480
114428
|
pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
|
|
114481
114429
|
tn(ll, Yi);
|
|
114482
114430
|
}), w().each(function(Yi) {
|
|
@@ -114508,7 +114456,7 @@ Required: ` + w.join(", "));
|
|
|
114508
114456
|
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);
|
|
114509
114457
|
}), { clear: W.clear };
|
|
114510
114458
|
}
|
|
114511
|
-
var
|
|
114459
|
+
var _8 = function(g, w) {
|
|
114512
114460
|
var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
|
|
114513
114461
|
return $.forall(function(xo) {
|
|
114514
114462
|
return !xo[zr];
|
|
@@ -114723,7 +114671,7 @@ Required: ` + w.join(", "));
|
|
|
114723
114671
|
onAction: I("mceInsertTable"),
|
|
114724
114672
|
icon: "table"
|
|
114725
114673
|
});
|
|
114726
|
-
},
|
|
114674
|
+
}, y8 = function(g) {
|
|
114727
114675
|
var w = function(I) {
|
|
114728
114676
|
return g.dom.is(I, "table") && g.getBody().contains(I);
|
|
114729
114677
|
}, T = C1(g);
|
|
@@ -114899,8 +114847,8 @@ Required: ` + w.join(", "));
|
|
|
114899
114847
|
return Pf(g);
|
|
114900
114848
|
}, function() {
|
|
114901
114849
|
return th(Aa(g));
|
|
114902
|
-
}, La.selectedSelector), T =
|
|
114903
|
-
return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q),
|
|
114850
|
+
}, La.selectedSelector), T = _8(g, w), I = Jy(g), $ = g8(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
|
|
114851
|
+
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() {
|
|
114904
114852
|
g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
|
|
114905
114853
|
}), Lw(g) && g.on("keydown", function(ye) {
|
|
114906
114854
|
Yb(ye, g, $);
|