agilebuilder-ui 1.0.85-temp8 → 1.0.85-tempf8

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.js CHANGED
@@ -17569,7 +17569,7 @@ function addDynamicPropDateSection(e, t, n) {
17569
17569
  function getTableHeight$1(e, t, n) {
17570
17570
  let o;
17571
17571
  e && (o = e.$el.getBoundingClientRect());
17572
- const l = window.innerHeight - o.y - 90;
17572
+ const l = window.innerHeight - o.y - 110;
17573
17573
  return console.log("rect=", o, "window.innerHeight=", window.innerHeight, "totalHeight=", l), l;
17574
17574
  }
17575
17575
  function getExtraParam(e, t) {
@@ -17794,7 +17794,7 @@ const emitter$1 = mitt(), bus$1 = {};
17794
17794
  bus$1.$on = emitter$1.on;
17795
17795
  bus$1.$emit = emitter$1.emit;
17796
17796
  bus$1.$off = emitter$1.off;
17797
- const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSelect_vue_vue_type_style_index_1_scoped_df346f74_lang = "", _sfc_main$1o = {
17797
+ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSelect_vue_vue_type_style_index_1_scoped_47690665_lang = "", _sfc_main$1o = {
17798
17798
  name: "DynamicSourceSelect",
17799
17799
  components: {},
17800
17800
  model: {
@@ -17978,7 +17978,7 @@ const dynamicSourceSelect_vue_vue_type_style_index_0_lang = "", dynamicSourceSel
17978
17978
  this.$emit("blur", e);
17979
17979
  },
17980
17980
  changeEvent(e) {
17981
- this.inputValue(e), this.$emit("change", e);
17981
+ this.inputValue(e), this.change(e);
17982
17982
  },
17983
17983
  /**
17984
17984
  * @description: 获取提示标题
@@ -18360,7 +18360,7 @@ function _sfc_render$10(e, t, n, o, l, s) {
18360
18360
  }, 16, ["allow-create", "clearable", "filterable", "loading", "model-value", "placeholder", "remote", "remote-method", "size", "style", "title", "value-key", "onChange", "onClear", "onFocus", "onVisibleChange"])
18361
18361
  ]);
18362
18362
  }
18363
- const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-df346f74"]]);
18363
+ const DynamicSourceSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$10], ["__scopeId", "data-v-47690665"]]);
18364
18364
  function setObjectPropRule(e, t, n) {
18365
18365
  const o = {}, l = e.prop;
18366
18366
  t || (t = {});
@@ -22489,7 +22489,7 @@ function _sfc_render$W(e, t, n, o, l, s) {
22489
22489
  ], 4))
22490
22490
  ]);
22491
22491
  }
22492
- const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_7acbdcfa_lang = "", _sfc_main$1h = {
22492
+ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_c6f1cee3_lang = "", _sfc_main$1h = {
22493
22493
  components: {
22494
22494
  DynamicInput,
22495
22495
  RowOperation,
@@ -22610,9 +22610,10 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
22610
22610
  getTableGridData: t.options.getGridData,
22611
22611
  additionalParamMap: n,
22612
22612
  disabled: !1,
22613
- controlConfig: this.getColumnCustomControlControlConfig(this.column.formatter),
22613
+ additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter),
22614
22614
  scanEnable: l,
22615
22615
  componentId: s,
22616
+ controlConfig: o,
22616
22617
  rowLinkConfigMapping: {}
22617
22618
  };
22618
22619
  },
@@ -22886,8 +22887,11 @@ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_re
22886
22887
  this.showRichEditorViewer = !1;
22887
22888
  },
22888
22889
  getColumnCustomControlControlConfig(e) {
22889
- if (e && e.options && e.options.controlConfig)
22890
- return JSON.parse(e.options.controlConfig);
22890
+ if (e && e.options && e.options.controlConfig) {
22891
+ const t = JSON.parse(e.options.controlConfig);
22892
+ return this.controlConfig && Object.assign(t, this.controlConfig), t;
22893
+ } else
22894
+ return this.controlConfig;
22891
22895
  },
22892
22896
  isRequired(e) {
22893
22897
  return !!(!this.isFormSubTable && this.lineEdit.editable && this.isEditable && e && this.column.validations && this.column.validations.indexOf('"required":true') > 0);
@@ -23040,7 +23044,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
23040
23044
  "show-value": e.$escapeHtml(s.getLabel(n.row, n.rowIndex)),
23041
23045
  value: s.getCellValue(n.row),
23042
23046
  "additional-param-map": l.additionalParamMap,
23043
- "additional-settings": l.controlConfig
23047
+ "additional-settings": l.additionalSettings
23044
23048
  }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings"]))
23045
23049
  ], 2)) : l.columnFormatter !== void 0 && l.columnFormatter.type !== void 0 && l.columnFormatter.type === "customControl" && l.columnFormatter.options && l.columnFormatter.options.format && l.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", {
23046
23050
  key: 2,
@@ -23065,7 +23069,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
23065
23069
  "additional-param-map": l.additionalParamMap,
23066
23070
  listCode: n.listCode,
23067
23071
  "component-id": l.componentId,
23068
- "additional-settings": l.controlConfig,
23072
+ "additional-settings": l.additionalSettings,
23069
23073
  onProhibitToEdit: s.prohibitToEdit,
23070
23074
  onRefreshList: s.refreshList
23071
23075
  }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "onProhibitToEdit", "onRefreshList"]))
@@ -23270,7 +23274,7 @@ function _sfc_render$V(e, t, n, o, l, s) {
23270
23274
  }, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)
23271
23275
  ]);
23272
23276
  }
23273
- const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-7acbdcfa"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
23277
+ const NormalColumnContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$V], ["__scopeId", "data-v-c6f1cee3"]]), normalColumn_vue_vue_type_style_index_0_scoped_59276470_lang = "", _sfc_main$1g = {
23274
23278
  components: {
23275
23279
  DynamicInput,
23276
23280
  RowOperation,
@@ -28190,7 +28194,7 @@ const superGridService$1 = {
28190
28194
  if (e !== null) {
28191
28195
  let t = 0;
28192
28196
  e.forEach((n) => {
28193
- n.hasOwnProperty("queryType") && n.hasOwnProperty("prop") && n.prop !== "$index" && n.prop !== "$selection" && n.queryType && n.queryType !== "no" && n.componentType && (n.componentType === "date" || n.componentType === "dateSection" || n.componentType === "timePicker" || n.componentType === "dateTimePicker") && n.controlConfig && t++;
28197
+ n.hasOwnProperty("queryType") && n.hasOwnProperty("prop") && n.prop !== "$index" && n.prop !== "$selection" && n.queryType && n.queryType !== "no" && n.componentType && (n.componentType === "date" || n.componentType === "dateSection" || n.componentType === "timePicker" || n.componentType === "dateTimePicker") && n.controlConfig && n.controlConfig.timeDefaultQueryRange && t++;
28194
28198
  }), t > 0 && (this.loadCompleteQuery = !0);
28195
28199
  }
28196
28200
  },
@@ -28476,7 +28480,7 @@ function isHasPermission(e, t) {
28476
28480
  if (o !== void 0 && o === !0)
28477
28481
  return !0;
28478
28482
  }
28479
- const superGrid_vue_vue_type_style_index_0_scoped_7785398f_rel_stylesheet_2Fscss_lang = "", _sfc_main$10 = {
28483
+ const superGrid_vue_vue_type_style_index_0_scoped_4726ea08_rel_stylesheet_2Fscss_lang = "", _sfc_main$10 = {
28480
28484
  components: {
28481
28485
  IndexColumn,
28482
28486
  SelectionColumn,
@@ -29120,19 +29124,25 @@ const superGrid_vue_vue_type_style_index_0_scoped_7785398f_rel_stylesheet_2Fscss
29120
29124
  },
29121
29125
  changeCellStyle(e) {
29122
29126
  const t = store$1.get(this.code);
29123
- let n = null, o = null;
29124
- if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property] && (o = t.columnOptionMap[e.column.property], o.events && o.events.cellStyle && (n = o.events.cellStyle)), isHasOptionFunction$1("cellStyleRender", this.code))
29125
- return e.additionalParamMap = t.additionalParamMap, e.pageContext = this.pageContext, e.configureOb = this.configureObj, t.options.cellStyleRender.call(this, e);
29127
+ let n = null, o = null, l = null;
29128
+ if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property]) {
29129
+ o = t.columnOptionMap[e.column.property], o.events && o.events.cellStyle && (n = o.events.cellStyle);
29130
+ const s = getControlConfig(o);
29131
+ s && s.cellStyle && (l = s.cellStyle);
29132
+ }
29133
+ if (isHasOptionFunction$1("cellStyleRender", this.code))
29134
+ return e.additionalParamMap = t.additionalParamMap, e.pageContext = this.pageContext, e.configureObj = this.configureObj, e.cellStyle = l, t.options.cellStyleRender.call(this, e);
29126
29135
  if (n !== null && o !== null && t.options && t.options.eventCallBack && t.options.eventCallBack[n] && typeof t.options.eventCallBack[n] == "function") {
29127
- const l = {
29136
+ const s = {
29128
29137
  value: e.row[e.column.property],
29129
29138
  row: e.row,
29130
29139
  column: o,
29131
29140
  prop: e.column.property,
29132
29141
  additionalParamMap: t.additionalParamMap,
29133
- rowIndex: e.rowIndex
29142
+ rowIndex: e.rowIndex,
29143
+ cellStyle: l
29134
29144
  };
29135
- return t.options.eventCallBack[n].call(this, l);
29145
+ return t.options.eventCallBack[n].call(this, s);
29136
29146
  }
29137
29147
  },
29138
29148
  changeHeaderStyle(e) {
@@ -29148,18 +29158,25 @@ const superGrid_vue_vue_type_style_index_0_scoped_7785398f_rel_stylesheet_2Fscss
29148
29158
  return { background: this.backgroundColorMap[t.property] };
29149
29159
  } else {
29150
29160
  const t = store$1.get(this.code);
29151
- let n = null, o = null;
29152
- if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property] && (o = t.columnOptionMap[e.column.property], o.events && o.events.headerCellStyle && (n = o.events.headerCellStyle)), t.options.renderHeader && t.options.renderHeader.props) {
29153
- const l = e.column, d = t.options.renderHeader.props.split(",");
29154
- for (let m = 0; m < d.length; m++) {
29155
- const y = d[m];
29156
- if (l.property === y.trim()) {
29157
- let E = "#c3f4e2";
29158
- return typeof t.options.renderHeader.color < "u" && (E = t.options.renderHeader.color), { background: E };
29161
+ let n = null, o = null, l = null;
29162
+ if (e && e.column && e.column.property && t && t.columnOptionMap && t.columnOptionMap[e.column.property]) {
29163
+ o = t.columnOptionMap[e.column.property], o.events && o.events.headerCellStyle && (n = o.events.headerCellStyle);
29164
+ const s = getControlConfig(o);
29165
+ s && s.titleStyle && (l = s.titleStyle);
29166
+ }
29167
+ if (isHasOptionFunction$1("titleStyleRender", this.code))
29168
+ return e.additionalParamMap = t.additionalParamMap, e.pageContext = this.pageContext, e.configureObj = this.configureObj, e.titleStyle = l, t.options.titleStyleRender.call(this, e);
29169
+ if (t.options.renderHeader && t.options.renderHeader.props) {
29170
+ const s = e.column, m = t.options.renderHeader.props.split(",");
29171
+ for (let y = 0; y < m.length; y++) {
29172
+ const E = m[y];
29173
+ if (s.property === E.trim()) {
29174
+ let S = "#c3f4e2";
29175
+ return typeof t.options.renderHeader.color < "u" && (S = t.options.renderHeader.color), { background: S };
29159
29176
  }
29160
29177
  }
29161
29178
  } else if (n !== null && o !== null && t.options && t.options.eventCallBack && t.options.eventCallBack[n] && typeof t.options.eventCallBack[n] == "function")
29162
- return e.additionalParamMap = t.additionalParamMap, t.options.eventCallBack[n].call(this, e);
29179
+ return e.additionalParamMap = t.additionalParamMap, e.titleStyle = l, t.options.eventCallBack[n].call(this, e);
29163
29180
  }
29164
29181
  },
29165
29182
  fetchData(e, t, n, o) {
@@ -30231,7 +30248,7 @@ function _sfc_render$E(e, t, n, o, l, s) {
30231
30248
  }, null, 8, ["parent-form-data", "columns", "row-index", "list-code", "drag-column-prop", "is-sql", "base-url", "options", "table-name", "page-code", "list-toolbar-form-data", "list-name", "current-page", "grid-data", "page-grid-data", "line-edit", "onClose", "onRefresData", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onOpenPage", "onProhibitToEdit"])) : createCommentVNode("", !0)
30232
30249
  ], 4);
30233
30250
  }
30234
- const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$E], ["__scopeId", "data-v-7785398f"]]);
30251
+ const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$E], ["__scopeId", "data-v-4726ea08"]]);
30235
30252
  SuperGrid.install = function(e) {
30236
30253
  e.component(SuperGrid.name, SuperGrid);
30237
30254
  };
@@ -71865,7 +71882,7 @@ Required: ` + u.join(", "));
71865
71882
  ua.DOM.bind(document, "mouseup", f), r.on("remove", function() {
71866
71883
  ua.DOM.unbind(document, "mouseup", f);
71867
71884
  });
71868
- }, e8 = function(r) {
71885
+ }, e6 = function(r) {
71869
71886
  r.on("focusout", function() {
71870
71887
  fg(r);
71871
71888
  });
@@ -71873,23 +71890,23 @@ Required: ` + u.join(", "));
71873
71890
  r.on("mouseup touchend", function(f) {
71874
71891
  u.throttle();
71875
71892
  });
71876
- }, t8 = function(r, u) {
71893
+ }, t6 = function(r, u) {
71877
71894
  var f = Wr().browser;
71878
- f.isIE() ? e8(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
71895
+ f.isIE() ? e6(r) : h4(r, u), r.on("keyup NodeChange", function(p) {
71879
71896
  QC(p) || fg(r);
71880
71897
  });
71881
- }, n8 = function(r) {
71898
+ }, n6 = function(r) {
71882
71899
  var u = g1(function() {
71883
71900
  fg(r);
71884
71901
  }, 0);
71885
71902
  r.on("init", function() {
71886
- r.inline && Cc(r, u), t8(r, u);
71903
+ r.inline && Cc(r, u), t6(r, u);
71887
71904
  }), r.on("remove", function() {
71888
71905
  u.cancel();
71889
71906
  });
71890
71907
  }, rd, vg = ua.DOM, p4 = function(r) {
71891
71908
  return wc.isEditorUIElement(r);
71892
- }, r8 = function(r) {
71909
+ }, r6 = function(r) {
71893
71910
  var u = r.classList;
71894
71911
  return u !== void 0 ? u.contains("tox-edit-area") || u.contains("tox-edit-area__iframe") || u.contains("mce-content-body") : !1;
71895
71912
  }, Av = function(r, u) {
@@ -71897,7 +71914,7 @@ Required: ` + u.join(", "));
71897
71914
  return p4(_) || (f ? r.dom.is(_, f) : !1);
71898
71915
  });
71899
71916
  return p !== null;
71900
- }, o8 = function(r) {
71917
+ }, o6 = function(r) {
71901
71918
  try {
71902
71919
  var u = Xu(be.fromDom(r.getElement()));
71903
71920
  return t_(u).fold(function() {
@@ -71908,15 +71925,15 @@ Required: ` + u.join(", "));
71908
71925
  } catch {
71909
71926
  return document.body;
71910
71927
  }
71911
- }, a8 = function(r, u) {
71928
+ }, a6 = function(r, u) {
71912
71929
  var f = u.editor;
71913
- n8(f), f.on("focusin", function() {
71930
+ n6(f), f.on("focusin", function() {
71914
71931
  var p = r.focusedEditor;
71915
71932
  p !== f && (p && p.fire("blur", { focusedEditor: f }), r.setActive(f), r.focusedEditor = f, f.fire("focus", { blurredEditor: p }), f.focus(!0));
71916
71933
  }), f.on("focusout", function() {
71917
71934
  _r.setEditorTimeout(f, function() {
71918
71935
  var p = r.focusedEditor;
71919
- !Av(f, o8(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
71936
+ !Av(f, o6(f)) && p === f && (f.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
71920
71937
  });
71921
71938
  }), rd || (rd = function(p) {
71922
71939
  var _ = r.activeEditor;
@@ -71924,18 +71941,18 @@ Required: ` + u.join(", "));
71924
71941
  C.ownerDocument === document && C !== document.body && !Av(_, C) && r.focusedEditor === _ && (_.fire("blur", { focusedEditor: null }), r.focusedEditor = null);
71925
71942
  });
71926
71943
  }, vg.bind(document, "focusin", rd));
71927
- }, i8 = function(r, u) {
71944
+ }, i6 = function(r, u) {
71928
71945
  r.focusedEditor === u.editor && (r.focusedEditor = null), r.activeEditor || (vg.unbind(document, "focusin", rd), rd = null);
71929
71946
  }, m4 = function(r) {
71930
- r.on("AddEditor", Ue(a8, r)), r.on("RemoveEditor", Ue(i8, r));
71947
+ r.on("AddEditor", Ue(a6, r)), r.on("RemoveEditor", Ue(i6, r));
71931
71948
  }, Iv = function(r, u) {
71932
71949
  return r.dom.getParent(u, function(f) {
71933
71950
  return r.dom.getContentEditable(f) === "true";
71934
71951
  });
71935
- }, l8 = function(r) {
71952
+ }, l6 = function(r) {
71936
71953
  return r.collapsed ? me.from(zs(r.startContainer, r.startOffset)).map(be.fromDom) : me.none();
71937
71954
  }, g4 = function(r, u) {
71938
- return l8(u).bind(function(f) {
71955
+ return l6(u).bind(function(f) {
71939
71956
  return tc(f) ? me.some(f) : li(r, f) === !1 ? me.some(r) : me.none();
71940
71957
  });
71941
71958
  }, lm = function(r, u) {
@@ -71957,21 +71974,21 @@ Required: ` + u.join(", "));
71957
71974
  r.focus();
71958
71975
  }, _4 = function(r) {
71959
71976
  return e_(r) || GC(r).isSome();
71960
- }, s8 = function(r) {
71977
+ }, s6 = function(r) {
71961
71978
  return r.iframeElement && e_(be.fromDom(r.iframeElement));
71962
- }, u8 = function(r) {
71979
+ }, u6 = function(r) {
71963
71980
  var u = r.getBody();
71964
71981
  return u && _4(be.fromDom(u));
71965
- }, c8 = function(r) {
71982
+ }, c6 = function(r) {
71966
71983
  var u = Xu(be.fromDom(r.getElement()));
71967
71984
  return t_(u).filter(function(f) {
71968
- return !r8(f.dom) && Av(r, f.dom);
71985
+ return !r6(f.dom) && Av(r, f.dom);
71969
71986
  }).isSome();
71970
71987
  }, od = function(r) {
71971
- return r.inline ? u8(r) : s8(r);
71988
+ return r.inline ? u6(r) : s6(r);
71972
71989
  }, y4 = function(r) {
71973
- return od(r) || c8(r);
71974
- }, f8 = function(r) {
71990
+ return od(r) || c6(r);
71991
+ }, f6 = function(r) {
71975
71992
  var u = r.selection, f = r.getBody(), p = u.getRng();
71976
71993
  r.quirks.refreshContentEditable(), r.bookmark !== void 0 && od(r) === !1 && hg(r).each(function(C) {
71977
71994
  r.selection.setRng(C), p = C;
@@ -71985,7 +72002,7 @@ Required: ` + u.join(", "));
71985
72002
  }, l_ = function(r) {
71986
72003
  return r.editorManager.setActive(r);
71987
72004
  }, b4 = function(r, u) {
71988
- r.removed || (u ? l_(r) : f8(r));
72005
+ r.removed || (u ? l_(r) : f6(r));
71989
72006
  }, w4 = function(r, u, f, p, _) {
71990
72007
  var C = f ? u.startContainer : u.endContainer, A = f ? u.startOffset : u.endOffset;
71991
72008
  return me.from(C).map(be.fromDom).map(function(P) {
@@ -72051,7 +72068,7 @@ Required: ` + u.join(", "));
72051
72068
  if (C = A[_], C)
72052
72069
  return C;
72053
72070
  }
72054
- }, d8 = function(r) {
72071
+ }, d6 = function(r) {
72055
72072
  if (!Of(r.value))
72056
72073
  return !1;
72057
72074
  var u = r.parent;
@@ -72167,7 +72184,7 @@ Required: ` + u.join(", "));
72167
72184
  if (u[C.name] || mg(C))
72168
72185
  return !1;
72169
72186
  }
72170
- if (C.type === 8 || C.type === 3 && !d8(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
72187
+ if (C.type === 8 || C.type === 3 && !d6(C) || C.type === 3 && C.parent && f[C.parent.name] && Of(C.value) || p && p(C))
72171
72188
  return !1;
72172
72189
  } while (C = Mr(C, _));
72173
72190
  return !0;
@@ -72204,13 +72221,13 @@ Required: ` + u.join(", "));
72204
72221
  }, E4 = [
72205
72222
  "img",
72206
72223
  "video"
72207
- ], h8 = function(r) {
72224
+ ], h6 = function(r) {
72208
72225
  return r.indexOf("data-") === 0 || r.indexOf("aria-") === 0;
72209
- }, v8 = function(r, u) {
72226
+ }, v6 = function(r, u) {
72210
72227
  var f = oe(r) ? Re(E4, u) : r;
72211
72228
  return !f;
72212
72229
  }, Qr = function(r, u, f) {
72213
- 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);
72230
+ return r.allow_html_data_urls ? !1 : /^data:image\//i.test(u) ? v6(r.allow_svg_data_urls, f) && /^data:image\/svg\+xml/i.test(u) : /^data:/i.test(u);
72214
72231
  }, h_ = function(r, u, f) {
72215
72232
  var p = 1, _, C, A = r.getShortEndedElements(), P = /<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;
72216
72233
  for (P.lastIndex = _ = f; C = P.exec(u); ) {
@@ -72242,7 +72259,7 @@ Required: ` + u.join(", "));
72242
72259
  var P = A.exec(r);
72243
72260
  return P ? P.index + P[0].length : p.length;
72244
72261
  }
72245
- }, p8 = function(r, u) {
72262
+ }, p6 = function(r, u) {
72246
72263
  var f = r.exec(u);
72247
72264
  if (f) {
72248
72265
  var p = f[1], _ = f[2];
@@ -72273,7 +72290,7 @@ Required: ` + u.join(", "));
72273
72290
  return ba = ke.substr(fa, fu - fa), Sn(pf ? pl + ba : ba), fu + 1;
72274
72291
  }, an = function(ba, fa, pl, pf, fu) {
72275
72292
  var du, Ch, Rm = /[\s\u0000-\u001F]+/g;
72276
- if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h8(fa) === !1) {
72293
+ if (fa = fa.toLowerCase(), pl = ln(fa in Ia ? fa : ca(pl || pf || fu || "")), ul && !Fn && h6(fa) === !1) {
72277
72294
  if (du = er[fa], !du && br) {
72278
72295
  for (Ch = br.length; Ch-- && (du = br[Ch], !du.pattern.test(fa)); )
72279
72296
  ;
@@ -72306,7 +72323,7 @@ Required: ` + u.join(", "));
72306
72323
  continue;
72307
72324
  }
72308
72325
  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);
72309
- var vf = p8(sr, Oe[9]);
72326
+ var vf = p6(sr, Oe[9]);
72310
72327
  if (vf !== null) {
72311
72328
  if (vf === "all") {
72312
72329
  $e = h_(u, ke, lr.lastIndex), lr.lastIndex = $e;
@@ -72386,37 +72403,37 @@ Required: ` + u.join(", "));
72386
72403
  return { parse: ie };
72387
72404
  };
72388
72405
  _g.findEndTag = h_;
72389
- var m8 = function(r, u) {
72406
+ var m6 = function(r, u) {
72390
72407
  var f = new RegExp(["\\s?(" + r.join("|") + ')="[^"]+"'].join("|"), "gi");
72391
72408
  return u.replace(f, "");
72392
72409
  }, k4 = function(r, u) {
72393
72410
  var f = u, p = /<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g, _, C, A, P, M = r.schema;
72394
- f = m8(r.getTempAttrs(), f);
72411
+ f = m6(r.getTempAttrs(), f);
72395
72412
  for (var X = M.getShortEndedElements(); P = p.exec(f); )
72396
72413
  C = p.lastIndex, A = P[0].length, X[P[1]] ? _ = C : _ = _g.findEndTag(M, f, C), f = f.substring(0, C - A) + f.substring(_), p.lastIndex = C - A;
72397
72414
  return rc(f);
72398
- }, v_ = k4, g8 = function(r, u) {
72415
+ }, v_ = k4, g6 = function(r, u) {
72399
72416
  var f = Oi(r), p = new RegExp("^(<" + f + "[^>]*>(&nbsp;|&#160;|\\s| |<br \\/>|)<\\/" + f + `>[\r
72400
72417
  ]*|<br \\/>[\r
72401
72418
  ]*)$`);
72402
72419
  return u.replace(p, "");
72403
- }, _8 = function(r, u, f, p) {
72420
+ }, _6 = function(r, u, f, p) {
72404
72421
  var _;
72405
- return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? _ = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? _ = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? _ = r.serializer.serialize(p, u) : _ = g8(r, r.serializer.serialize(p, u)), !Re([
72422
+ return u.format = f, u.get = !0, u.getInner = !0, u.no_events || r.fire("BeforeGetContent", u), u.format === "raw" ? _ = Ve.trim(v_(r.serializer, p.innerHTML)) : u.format === "text" ? _ = r.dom.isEmpty(p) ? "" : rc(p.innerText || p.textContent) : u.format === "tree" ? _ = r.serializer.serialize(p, u) : _ = g6(r, r.serializer.serialize(p, u)), !Re([
72406
72423
  "text",
72407
72424
  "tree"
72408
72425
  ], u.format) && !mp(be.fromDom(p)) ? u.content = Ve.trim(_) : u.content = _, u.no_events || r.fire("GetContent", u), u.content;
72409
72426
  }, Gr = function(r, u, f) {
72410
72427
  return me.from(r.getBody()).fold(Fe(u.format === "tree" ? new au("body", 11) : ""), function(p) {
72411
- return _8(r, u, f, p);
72428
+ return _6(r, u, f, p);
72412
72429
  });
72413
- }, y8 = Ve.each, p_ = function(r) {
72430
+ }, y6 = Ve.each, p_ = function(r) {
72414
72431
  var u = function(f, p) {
72415
72432
  if (f.nodeName !== p.nodeName)
72416
72433
  return !1;
72417
72434
  var _ = function(A) {
72418
72435
  var P = {};
72419
- return y8(r.getAttribs(A), function(M) {
72436
+ return y6(r.getAttribs(A), function(M) {
72420
72437
  var X = M.nodeName.toLowerCase();
72421
72438
  X.indexOf("_") !== 0 && X !== "style" && X.indexOf("data-") !== 0 && (P[X] = r.getAttrib(A, X));
72422
72439
  }), P;
@@ -72693,7 +72710,7 @@ Required: ` + u.join(", "));
72693
72710
  }, function(p) {
72694
72711
  return Ki(r, p.dom, f).isNone();
72695
72712
  });
72696
- }, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b8 = Ue(xc, !0), id = function(r) {
72713
+ }, sf = Ue(ad, !1), yg = Ue(ad, !0), T4 = Ue(xc, !1), b6 = Ue(xc, !0), id = function(r) {
72697
72714
  return Hp(r).exists(xu);
72698
72715
  }, bg = function(r, u, f) {
72699
72716
  var p = Pt(qo(be.fromDom(f.container()), u), Fs), _ = Zt(p).getOr(u);
@@ -72716,7 +72733,7 @@ Required: ` + u.join(", "));
72716
72733
  "pre",
72717
72734
  "pre-wrap"
72718
72735
  ], r);
72719
- }, w8 = function(r) {
72736
+ }, w6 = function(r) {
72720
72737
  return Hp(r).bind(function(u) {
72721
72738
  return jm(u, ui);
72722
72739
  }).exists(function(u) {
@@ -72729,14 +72746,14 @@ Required: ` + u.join(", "));
72729
72746
  }, NN = function(r, u) {
72730
72747
  return hm(r, u) || TN(r, u) || sf(r, u) || yg(r, u) || um(r, u) || wg(r, u);
72731
72748
  }, Xa = function(r, u) {
72732
- return w8(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
72749
+ return w6(u) ? !1 : NN(r, u) || Yx(r, u) || Xx(r, u);
72733
72750
  }, __ = function(r, u) {
72734
- return w8(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
72751
+ return w6(u) ? !1 : sf(r, u) || T4(r, u) || um(r, u) || Yx(r, u);
72735
72752
  }, Jx = function(r) {
72736
72753
  var u = r.container(), f = r.offset();
72737
72754
  return Bn(u) && f < u.data.length ? un(u, f + 1) : r;
72738
72755
  }, y_ = function(r, u) {
72739
- return w8(u) ? !1 : yg(r, u) || b8(r, u) || wg(r, u) || Xx(r, u);
72756
+ return w6(u) ? !1 : yg(r, u) || b6(r, u) || wg(r, u) || Xx(r, u);
72740
72757
  }, N4 = function(r, u) {
72741
72758
  return __(r, u) || y_(r, Jx(u));
72742
72759
  }, A4 = function(r, u) {
@@ -72868,11 +72885,11 @@ Required: ` + u.join(", "));
72868
72885
  return Ro(C.dom, 0);
72869
72886
  })), u;
72870
72887
  });
72871
- }, C8 = function(r, u) {
72888
+ }, C6 = function(r, u) {
72872
72889
  return Vr(r.schema.getTextInlineElements(), si(u));
72873
72890
  }, gm = function(r, u, f, p) {
72874
72891
  p === void 0 && (p = !0);
72875
- var _ = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, _, C8(r, f));
72892
+ var _ = $N(u, r.getBody(), f.dom), C = kf(f, Ue(FN, r), D4(r.getBody())), A = rE(f, _, C6(r, f));
72876
72893
  r.dom.isEmpty(r.getBody()) ? (r.setContent(""), r.selection.setCursorLocation()) : C.bind(nE).fold(function() {
72877
72894
  p && tE(r, u, A);
72878
72895
  }, function(P) {
@@ -72883,13 +72900,13 @@ Required: ` + u.join(", "));
72883
72900
  start: r,
72884
72901
  end: u
72885
72902
  };
72886
- }, x8 = function(r, u, f) {
72903
+ }, x6 = function(r, u, f) {
72887
72904
  return {
72888
72905
  rng: r,
72889
72906
  table: u,
72890
72907
  cells: f
72891
72908
  };
72892
- }, E8 = Sf.generate([
72909
+ }, E6 = Sf.generate([
72893
72910
  { removeTable: ["element"] },
72894
72911
  { emptyCells: ["cells"] },
72895
72912
  {
@@ -72908,14 +72925,14 @@ Required: ` + u.join(", "));
72908
72925
  return Uc(r, "table", u);
72909
72926
  }, oE = function(r) {
72910
72927
  return !yo(r.start, r.end);
72911
- }, S8 = function(r, u) {
72928
+ }, S6 = function(r, u) {
72912
72929
  return _m(r.start, u).bind(function(f) {
72913
72930
  return _m(r.end, u).bind(function(p) {
72914
72931
  return Mn(yo(f, p), f);
72915
72932
  });
72916
72933
  });
72917
72934
  }, aE = function(r, u) {
72918
- return !oE(r) && S8(r, u).exists(function(f) {
72935
+ return !oE(r) && S6(r, u).exists(function(f) {
72919
72936
  var p = f.dom.rows;
72920
72937
  return p.length === 1 && p[0].cells.length === 1;
72921
72938
  });
@@ -72952,10 +72969,10 @@ Required: ` + u.join(", "));
72952
72969
  return iE(r, _) ? me.none() : UN(_, r);
72953
72970
  });
72954
72971
  }, iE = function(r, u) {
72955
- return S8(u, r).isSome();
72972
+ return S6(u, r).isSome();
72956
72973
  }, lE = function(r, u) {
72957
- return S8(r, u).map(function(f) {
72958
- return x8(r, f, C_(f));
72974
+ return S6(r, u).map(function(f) {
72975
+ return x6(r, f, C_(f));
72959
72976
  });
72960
72977
  }, sE = function(r, u, f) {
72961
72978
  return r.filter(function(p) {
@@ -72982,12 +72999,12 @@ Required: ` + u.join(", "));
72982
72999
  }, jN = function(r) {
72983
73000
  return HN(r).map(function(u) {
72984
73001
  var f = r.cells;
72985
- return u.length === f.length ? E8.removeTable(r.table) : E8.emptyCells(u);
73002
+ return u.length === f.length ? E6.removeTable(r.table) : E6.emptyCells(u);
72986
73003
  });
72987
73004
  }, GN = function(r, u) {
72988
73005
  var f = VN(r), p = LN(u, f);
72989
73006
  return WN(p, u, f).map(function(_) {
72990
- return E8.deleteCellSelection(u, _);
73007
+ return E6.deleteCellSelection(u, _);
72991
73008
  }).orThunk(function() {
72992
73009
  return sE(p, u, f).bind(jN);
72993
73010
  });
@@ -73010,15 +73027,15 @@ Required: ` + u.join(", "));
73010
73027
  return !0;
73011
73028
  }, dE = function(r, u) {
73012
73029
  return gm(r, !1, u), !0;
73013
- }, k8 = function(r, u, f) {
73030
+ }, k6 = function(r, u, f) {
73014
73031
  return GN(u, f).map(function(p) {
73015
73032
  return p.fold(Ue(dE, r), Ue(Eg, r), Ue(fE, r));
73016
73033
  });
73017
73034
  }, qN = function(r, u) {
73018
73035
  return O4(r, u);
73019
73036
  }, hE = function(r, u, f, p) {
73020
- return T8(u, p).fold(function() {
73021
- return k8(r, u, f);
73037
+ return T6(u, p).fold(function() {
73038
+ return k6(r, u, f);
73022
73039
  }, function(_) {
73023
73040
  return qN(r, _);
73024
73041
  }).getOr(!1);
@@ -73027,7 +73044,7 @@ Required: ` + u.join(", "));
73027
73044
  return _.length !== 0 ? Eg(r, _) : hE(r, f, p, u);
73028
73045
  }, pE = function(r, u) {
73029
73046
  return _n(qo(u, r), bs);
73030
- }, T8 = function(r, u) {
73047
+ }, T6 = function(r, u) {
73031
73048
  return _n(qo(u, r), function(f) {
73032
73049
  return si(f) === "caption";
73033
73050
  });
@@ -73048,7 +73065,7 @@ Required: ` + u.join(", "));
73048
73065
  }, XN = function(r, u) {
73049
73066
  return O4(r, u);
73050
73067
  }, JN = function(r, u, f) {
73051
- return T8(r, be.fromDom(f.getNode())).map(function(p) {
73068
+ return T6(r, be.fromDom(f.getNode())).map(function(p) {
73052
73069
  return yo(p, u) === !1;
73053
73070
  });
73054
73071
  }, ZN = function(r, u, f, p, _) {
@@ -73065,31 +73082,31 @@ Required: ` + u.join(", "));
73065
73082
  return ws(p) ? O4(r, p) : ZN(r, f, u, p, _);
73066
73083
  }, mE = function(r, u) {
73067
73084
  return r ? zr(u) : xo(u);
73068
- }, N8 = function(r, u) {
73085
+ }, N6 = function(r, u) {
73069
73086
  var f = un.fromRangeStart(r.selection.getRng());
73070
73087
  return mE(u, f) || Hs(u, r.getBody(), f).exists(function(p) {
73071
73088
  return mE(u, p);
73072
73089
  });
73073
73090
  }, uf = function(r, u, f) {
73074
73091
  var p = be.fromDom(r.getBody());
73075
- return T8(p, f).fold(function() {
73076
- return QN(r, u, p, f) || N8(r, u);
73092
+ return T6(p, f).fold(function() {
73093
+ return QN(r, u, p, f) || N6(r, u);
73077
73094
  }, function(_) {
73078
73095
  return eA(r, u, p, _).getOr(!1);
73079
73096
  });
73080
73097
  }, Sg = function(r, u) {
73081
73098
  var f = be.fromDom(r.selection.getStart(!0)), p = wv(r);
73082
73099
  return r.selection.isCollapsed() && p.length === 0 ? uf(r, u, f) : vE(r, f);
73083
- }, A8 = function(r, u, f, p) {
73100
+ }, A6 = function(r, u, f, p) {
73084
73101
  var _ = document.createRange();
73085
73102
  return _.setStart(r, u), _.setEnd(f, p), _;
73086
- }, I8 = function(r) {
73103
+ }, I6 = function(r) {
73087
73104
  var u = un.fromRangeStart(r), f = un.fromRangeEnd(r), p = r.commonAncestorContainer;
73088
73105
  return Hs(!1, p, f).map(function(_) {
73089
- return !Pu(u, f, p) && Pu(u, _, p) ? A8(u.container(), u.offset(), _.container(), _.offset()) : r;
73106
+ return !Pu(u, f, p) && Pu(u, _, p) ? A6(u.container(), u.offset(), _.container(), _.offset()) : r;
73090
73107
  }).getOr(r);
73091
- }, D8 = function(r) {
73092
- return r.collapsed ? r : I8(r);
73108
+ }, D6 = function(r) {
73109
+ return r.collapsed ? r : I6(r);
73093
73110
  }, gE = function(r) {
73094
73111
  return r.firstChild && r.firstChild === r.lastChild;
73095
73112
  }, tA = function(r) {
@@ -73097,12 +73114,12 @@ Required: ` + u.join(", "));
73097
73114
  }, nA = function(r, u) {
73098
73115
  var f = r.getBlockElements();
73099
73116
  return f[u.name] && gE(u) && tA(u.firstChild);
73100
- }, O8 = function(r, u) {
73117
+ }, O6 = function(r, u) {
73101
73118
  var f = r.getNonEmptyElements();
73102
73119
  return u && (u.isEmpty(f) || nA(r, u));
73103
73120
  }, rA = function(r, u) {
73104
73121
  var f = u.firstChild, p = u.lastChild;
73105
- 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";
73122
+ return f && f.name === "meta" && (f = f.next), p && p.attr("id") === "mce_marker" && (p = p.prev), O6(r, p) && (p = p.prev), !f || f !== p ? !1 : f.name === "ul" || f.name === "ol";
73106
73123
  }, _E = function(r) {
73107
73124
  var u = r.firstChild, f = r.lastChild;
73108
73125
  return u && u.nodeName === "META" && u.parentNode.removeChild(u), f && f.id === "mce_marker" && f.parentNode.removeChild(f), r;
@@ -73121,11 +73138,11 @@ Required: ` + u.join(", "));
73121
73138
  return !r.firstChild || yE(r);
73122
73139
  }, bE = function(r) {
73123
73140
  return r.length > 0 && iA(r[r.length - 1]) ? r.slice(0, -1) : r;
73124
- }, B8 = function(r, u) {
73141
+ }, B6 = function(r, u) {
73125
73142
  var f = r.getParent(u, r.isBlock);
73126
73143
  return f && f.nodeName === "LI" ? f : null;
73127
73144
  }, lA = function(r, u) {
73128
- return !!B8(r, u);
73145
+ return !!B6(r, u);
73129
73146
  }, sA = function(r, u) {
73130
73147
  var f = u.cloneRange(), p = u.cloneRange();
73131
73148
  return f.setStartBefore(r), p.setEndAfter(r), [
@@ -73148,24 +73165,24 @@ Required: ` + u.join(", "));
73148
73165
  return Ve.each(u, function(_) {
73149
73166
  p.insertBefore(_, r);
73150
73167
  }), uA(r, f);
73151
- }, P8 = function(r, u, f, p) {
73168
+ }, P6 = function(r, u, f, p) {
73152
73169
  return p.insertAfter(u.reverse(), r), wE(u[0], f);
73153
73170
  }, kg = function(r, u, f, p) {
73154
- var _ = oA(u, r, p), C = B8(u, f.startContainer), A = bE(x_(_.firstChild)), P = 1, M = 2, X = u.getRoot(), ie = function(ae) {
73171
+ var _ = oA(u, r, p), C = B6(u, f.startContainer), A = bE(x_(_.firstChild)), P = 1, M = 2, X = u.getRoot(), ie = function(ae) {
73155
73172
  var se = un.fromRangeStart(f), ke = Mu(u.getRoot()), Oe = ae === P ? ke.prev(se) : ke.next(se);
73156
- return Oe ? B8(u, Oe.getNode()) !== C : !0;
73173
+ return Oe ? B6(u, Oe.getNode()) !== C : !0;
73157
73174
  };
73158
- return ie(P) ? cA(C, A, X) : ie(M) ? P8(C, A, X, u) : CE(C, A, X, f);
73175
+ return ie(P) ? cA(C, A, X) : ie(M) ? P6(C, A, X, u) : CE(C, A, X, f);
73159
73176
  }, fA = function(r, u, f) {
73160
73177
  var p = be.fromDom(r.getRoot());
73161
73178
  return __(p, un.fromRangeStart(u)) ? f = f.replace(/^ /, "&nbsp;") : f = f.replace(/^&nbsp;/, " "), y_(p, un.fromRangeEnd(u)) ? f = f.replace(/(&nbsp;| )(<br( \/)>)?$/, "&nbsp;") : f = f.replace(/&nbsp;(<br( \/)?>)?$/, " "), f;
73162
- }, M8 = ti, B4 = function(r, u, f) {
73179
+ }, M6 = ti, B4 = function(r, u, f) {
73163
73180
  if (f !== null) {
73164
- var p = r.getParent(u.endContainer, M8);
73181
+ var p = r.getParent(u.endContainer, M6);
73165
73182
  return f === p && W2(be.fromDom(f), u);
73166
73183
  } else
73167
73184
  return !1;
73168
- }, R8 = function(r, u, f) {
73185
+ }, R6 = function(r, u, f) {
73169
73186
  if (f.getAttribute("data-mce-bogus") === "all")
73170
73187
  f.parentNode.insertBefore(r.dom.createFragment(u), f);
73171
73188
  else {
@@ -73195,7 +73212,7 @@ Required: ` + u.join(", "));
73195
73212
  }, xE = function(r) {
73196
73213
  for (var u = r; u = u.walk(); )
73197
73214
  u.type === 1 && u.attr("data-mce-fragment", "1");
73198
- }, $8 = function(r) {
73215
+ }, $6 = function(r) {
73199
73216
  Ve.each(r.getElementsByTagName("*"), function(u) {
73200
73217
  u.removeAttribute("data-mce-fragment");
73201
73218
  });
@@ -73224,14 +73241,14 @@ Required: ` + u.join(", "));
73224
73241
  if (ke = Oe.next(ke), ke)
73225
73242
  return ke.toRange();
73226
73243
  }, ae = p.getParent(u, p.isBlock);
73227
- 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" }))), _.setRng(M);
73244
+ p.remove(u), ae && p.isEmpty(ae) && (r.$(ae).empty(), M.setStart(ae, 0), M.setEnd(ae, 0), !M6(ae) && !vA(ae) && (f = ie(M)) ? (M = f, p.remove(ae)) : p.add(ae, p.create("br", { "data-mce-bogus": "1" }))), _.setRng(M);
73228
73245
  }
73229
73246
  }, pA = function(r) {
73230
- var u = r.dom, f = D8(r.selection.getRng());
73247
+ var u = r.dom, f = D6(r.selection.getRng());
73231
73248
  r.selection.setRng(f);
73232
- var p = u.getParent(f.startContainer, M8);
73249
+ var p = u.getParent(f.startContainer, M6);
73233
73250
  B4(u, f, p) ? fE(r, f, be.fromDom(p)) : r.getDoc().execCommand("Delete", !1, null);
73234
- }, F8 = function(r, u, f) {
73251
+ }, F6 = function(r, u, f) {
73235
73252
  var p, _, C, A, P, M, X = r.selection, ie = r.dom;
73236
73253
  /^ | $/.test(u) && (u = fA(ie, X.getRng(), u));
73237
73254
  var ae = r.parser, se = f.merge, ke = g({ validate: hb(r) }, r.schema), Oe = '<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;</span>';
@@ -73269,7 +73286,7 @@ Required: ` + u.join(", "));
73269
73286
  }
73270
73287
  }
73271
73288
  if (r._selectionOverrides.showBlockCaretContainer(p), !ot.invalid)
73272
- u = ke.serialize(et), R8(r, u, p);
73289
+ u = ke.serialize(et), R6(r, u, p);
73273
73290
  else {
73274
73291
  for (r.selection.setContent(Oe), p = X.getNode(), _ = r.getBody(), p.nodeType === 9 ? p = M = _ : M = p; M !== _; )
73275
73292
  p = M, M = M.parentNode;
@@ -73277,12 +73294,12 @@ Required: ` + u.join(", "));
73277
73294
  return ke.serialize(et);
73278
73295
  }))), p === _ ? ie.setHTML(_, u) : ie.setOuterHTML(p, u);
73279
73296
  }
73280
- hA(r, se), mh(r, ie.get("mce_marker")), $8(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
73281
- }, V8 = function(r, u) {
73282
- u(r), r.firstChild && V8(r.firstChild, u), r.next && V8(r.next, u);
73297
+ hA(r, se), mh(r, ie.get("mce_marker")), $6(r.getBody()), dA(ie, X.getStart()), r.fire("SetContent", C), r.addVisual();
73298
+ }, V6 = function(r, u) {
73299
+ u(r), r.firstChild && V6(r.firstChild, u), r.next && V6(r.next, u);
73283
73300
  }, mA = function(r, u, f) {
73284
73301
  var p = {}, _ = {}, C = [];
73285
- f.firstChild && V8(f.firstChild, function(M) {
73302
+ f.firstChild && V6(f.firstChild, function(M) {
73286
73303
  he(r, function(X) {
73287
73304
  X.name === M.name && (p[X.name] ? p[X.name].nodes.push(M) : p[X.name] = {
73288
73305
  filter: X,
@@ -73344,12 +73361,12 @@ Required: ` + u.join(", "));
73344
73361
  break;
73345
73362
  }
73346
73363
  return me.none();
73347
- }, L8 = function(r, u, f) {
73364
+ }, L6 = function(r, u, f) {
73348
73365
  var p = u(r), _ = EE(f);
73349
73366
  return p.orThunk(function() {
73350
73367
  return _(r) ? me.none() : EA(r, u, _);
73351
73368
  });
73352
- }, U8 = jp, SE = function(r, u, f) {
73369
+ }, U6 = jp, SE = function(r, u, f) {
73353
73370
  var p = r.formatter.get(f);
73354
73371
  if (p) {
73355
73372
  for (var _ = 0; _ < p.length; _++)
@@ -73357,13 +73374,13 @@ Required: ` + u.join(", "));
73357
73374
  return !0;
73358
73375
  }
73359
73376
  return !1;
73360
- }, z8 = function(r, u, f, p) {
73377
+ }, z6 = function(r, u, f, p) {
73361
73378
  var _ = r.dom.getRoot();
73362
73379
  return u === _ ? !1 : (u = r.dom.getParent(u, function(C) {
73363
73380
  return SE(r, C, f) ? !0 : C.parentNode === _ || !!ld(r, C, f, p, !0);
73364
73381
  }), ld(r, u, f, p));
73365
73382
  }, kE = function(r, u, f) {
73366
- if (U8(u, f.inline) || U8(u, f.block))
73383
+ if (U6(u, f.inline) || U6(u, f.block))
73367
73384
  return !0;
73368
73385
  if (f.selector)
73369
73386
  return u.nodeType === 1 && r.is(u, f.selector);
@@ -73374,7 +73391,7 @@ Required: ` + u.join(", "));
73374
73391
  if (M) {
73375
73392
  if (typeof M.length > "u") {
73376
73393
  for (A in M)
73377
- if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), _ && !P && !f.exact || (!_ || f.exact) && !U8(P, G1(r, rf(M[A], C), A))))
73394
+ if (M.hasOwnProperty(A) && (p === "attributes" ? P = r.getAttrib(u, A) : P = q1(r, u, A), _ && !P && !f.exact || (!_ || f.exact) && !U6(P, G1(r, rf(M[A], C), A))))
73378
73395
  return;
73379
73396
  } else
73380
73397
  for (X = 0; X < M.length; X++)
@@ -73397,11 +73414,11 @@ Required: ` + u.join(", "));
73397
73414
  }
73398
73415
  }, E_ = function(r, u, f, p) {
73399
73416
  if (p)
73400
- return z8(r, p, u, f);
73401
- if (p = r.selection.getNode(), z8(r, p, u, f))
73417
+ return z6(r, p, u, f);
73418
+ if (p = r.selection.getNode(), z6(r, p, u, f))
73402
73419
  return !0;
73403
73420
  var _ = r.selection.getStart();
73404
- return !!(_ !== p && z8(r, _, u, f));
73421
+ return !!(_ !== p && z6(r, _, u, f));
73405
73422
  }, NE = function(r, u, f) {
73406
73423
  var p = [], _ = {}, C = r.selection.getStart();
73407
73424
  return r.dom.getParent(C, function(A) {
@@ -73417,7 +73434,7 @@ Required: ` + u.join(", "));
73417
73434
  return ld(r, _.dom, C) ? me.some(C) : me.none();
73418
73435
  };
73419
73436
  return me.from(r.selection.getStart(!0)).bind(function(_) {
73420
- return L8(be.fromDom(_), function(C) {
73437
+ return L6(be.fromDom(_), function(C) {
73421
73438
  return Jr(u, function(A) {
73422
73439
  return p(C, A);
73423
73440
  });
@@ -73458,7 +73475,7 @@ Required: ` + u.join(", "));
73458
73475
  return r;
73459
73476
  }
73460
73477
  return null;
73461
- }, H8 = function(r) {
73478
+ }, H6 = function(r) {
73462
73479
  var u = be.fromTag("span");
73463
73480
  return K(u, {
73464
73481
  id: Tg,
@@ -73468,7 +73485,7 @@ Required: ` + u.join(", "));
73468
73485
  }, TA = function(r) {
73469
73486
  var u = OE(r);
73470
73487
  return u && u.nodeValue.charAt(0) === sd && u.deleteData(0, 1), u;
73471
- }, W8 = function(r, u, f) {
73488
+ }, W6 = function(r, u, f) {
73472
73489
  f === void 0 && (f = !0);
73473
73490
  var p = r.dom, _ = r.selection;
73474
73491
  if (DE(u))
@@ -73477,14 +73494,14 @@ Required: ` + u.join(", "));
73477
73494
  var C = _.getRng(), A = p.getParent(u, p.isBlock), P = C.startContainer, M = C.startOffset, X = C.endContainer, ie = C.endOffset, ae = TA(u);
73478
73495
  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)), _.setRng(C);
73479
73496
  }
73480
- }, j8 = function(r, u, f) {
73497
+ }, j6 = function(r, u, f) {
73481
73498
  f === void 0 && (f = !0);
73482
73499
  var p = r.dom, _ = r.selection;
73483
73500
  if (u)
73484
- W8(r, u, f);
73501
+ W6(r, u, f);
73485
73502
  else if (u = rh(r.getBody(), _.getStart()), !u)
73486
73503
  for (; u = p.get(Tg); )
73487
- W8(r, u, !1);
73504
+ W6(r, u, !1);
73488
73505
  }, BE = function(r, u, f) {
73489
73506
  var p = r.dom, _ = p.getParent(f, Ue(gv, r));
73490
73507
  _ && p.isEmpty(_) ? f.parentNode.replaceChild(u, f) : (sm(be.fromDom(f)), p.isEmpty(f) ? f.parentNode.replaceChild(u, f) : p.insertAfter(u, f));
@@ -73516,7 +73533,7 @@ Required: ` + u.join(", "));
73516
73533
  var se = ru(r, A, r.formatter.get(u));
73517
73534
  se = fh(se), r.formatter.apply(u, f, se), C.moveToBookmark(ae);
73518
73535
  } else
73519
- (!p || _.nodeValue !== sd) && (p = IE(r.getDoc(), H8(!0).dom), _ = p.firstChild, A.insertNode(p), P = 1), r.formatter.apply(u, f, p), C.setCursorLocation(_, P);
73536
+ (!p || _.nodeValue !== sd) && (p = IE(r.getDoc(), H6(!0).dom), _ = p.firstChild, A.insertNode(p), P = 1), r.formatter.apply(u, f, p), C.setCursorLocation(_, P);
73520
73537
  }, ME = function(r, u, f, p) {
73521
73538
  var _ = r.dom, C = r.selection, A, P, M, X = [], ie = C.getRng(), ae = ie.startContainer, se = ie.startOffset;
73522
73539
  for (P = ae, ae.nodeType === 3 && (se !== ae.nodeValue.length && (A = !0), P = P.parentNode); P; ) {
@@ -73533,27 +73550,27 @@ Required: ` + u.join(", "));
73533
73550
  var Oe = ru(r, ie, r.formatter.get(u), !0);
73534
73551
  Oe = fh(Oe), r.formatter.remove(u, f, Oe, p), C.moveToBookmark(ke);
73535
73552
  } else {
73536
- var $e = rh(r.getBody(), M), Ee = H8(!1).dom;
73553
+ var $e = rh(r.getBody(), M), Ee = H6(!1).dom;
73537
73554
  BE(r, Ee, $e !== null ? $e : M);
73538
73555
  var ot = Lu(r, Ee, M, u, f, p), et = Ng(X.concat(ot.toArray()), Ee);
73539
- W8(r, $e, !1), C.setCursorLocation(et, 1), _.isEmpty(M) && _.remove(M);
73556
+ W6(r, $e, !1), C.setCursorLocation(et, 1), _.isEmpty(M) && _.remove(M);
73540
73557
  }
73541
- }, G8 = function(r, u) {
73558
+ }, G6 = function(r, u) {
73542
73559
  var f = r.selection, p = r.getBody();
73543
- 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()));
73560
+ j6(r, null, !1), (u === 8 || u === 46) && f.isCollapsed() && f.getStart().innerHTML === sd && j6(r, rh(p, f.getStart())), (u === 37 || u === 39) && j6(r, rh(p, f.getStart()));
73544
73561
  }, AA = function(r) {
73545
73562
  r.on("mouseup keydown", function(u) {
73546
- G8(r, u.keyCode);
73563
+ G6(r, u.keyCode);
73547
73564
  });
73548
73565
  }, IA = function(r, u) {
73549
- var f = H8(!1), p = Ng(u, f.dom);
73566
+ var f = H6(!1), p = Ng(u, f.dom);
73550
73567
  return cl(be.fromDom(r), f), pi(be.fromDom(r)), un(p, 0);
73551
73568
  }, DA = function(r, u) {
73552
73569
  var f = r.schema.getTextInlineElements();
73553
73570
  return f.hasOwnProperty(si(u)) && !gc(u.dom) && !wf(u.dom);
73554
73571
  }, OA = function(r) {
73555
73572
  return gc(r.dom) && DE(r.dom);
73556
- }, $4 = {}, RE = sa, F4 = Zo, q8 = function(r, u) {
73573
+ }, $4 = {}, RE = sa, F4 = Zo, q6 = function(r, u) {
73557
73574
  var f = $4[r];
73558
73575
  f || ($4[r] = []), $4[r].push(u);
73559
73576
  }, $E = function(r, u) {
@@ -73561,7 +73578,7 @@ Required: ` + u.join(", "));
73561
73578
  f(u);
73562
73579
  });
73563
73580
  };
73564
- q8("pre", function(r) {
73581
+ q6("pre", function(r) {
73565
73582
  var u = r.selection.getRng(), f, p = function(A) {
73566
73583
  return C(A.previousSibling) && cr(f, A.previousSibling) !== -1;
73567
73584
  }, _ = function(A, P) {
@@ -73571,7 +73588,7 @@ Required: ` + u.join(", "));
73571
73588
  _(A.previousSibling, A);
73572
73589
  }));
73573
73590
  });
73574
- var K8 = Ve.each, Y8 = function(r) {
73591
+ var K6 = Ve.each, Y6 = function(r) {
73575
73592
  return ro(r) && !Ts(r) && !gc(r) && !wf(r);
73576
73593
  }, FE = function(r, u) {
73577
73594
  var f;
@@ -73600,15 +73617,15 @@ Required: ` + u.join(", "));
73600
73617
  }, BA = function(r, u, f) {
73601
73618
  if (u.clear_child_styles) {
73602
73619
  var p = u.links ? "*:not(a)" : "*";
73603
- K8(r.select(p, f), function(_) {
73604
- Y8(_) && K8(u.styles, function(C, A) {
73620
+ K6(r.select(p, f), function(_) {
73621
+ Y6(_) && K6(u.styles, function(C, A) {
73605
73622
  r.setStyle(_, A, "");
73606
73623
  });
73607
73624
  });
73608
73625
  }
73609
73626
  }, $r = function(r, u, f) {
73610
- K8(r.childNodes, function(p) {
73611
- Y8(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
73627
+ K6(r.childNodes, function(p) {
73628
+ Y6(p) && (u(p) && f(p), p.hasChildNodes() && $r(p, u, f));
73612
73629
  });
73613
73630
  }, PA = function(r, u) {
73614
73631
  u.nodeName === "SPAN" && r.getAttribs(u).length === 0 && r.remove(u, !0);
@@ -73628,7 +73645,7 @@ Required: ` + u.join(", "));
73628
73645
  return /^(TR|TH|TD)$/.test(r.nodeName);
73629
73646
  }, L4 = function(r, u, f) {
73630
73647
  return r.isChildOf(u, f) && u !== f && !r.isBlock(f);
73631
- }, X8 = function(r, u, f) {
73648
+ }, X6 = function(r, u, f) {
73632
73649
  var p, _;
73633
73650
  if (p = u[f ? "startContainer" : "endContainer"], _ = u[f ? "startOffset" : "endOffset"], ro(p)) {
73634
73651
  var C = p.childNodes.length - 1;
@@ -73642,7 +73659,7 @@ Required: ` + u.join(", "));
73642
73659
  return r.nodeName === "TR" && p[f] || p;
73643
73660
  }
73644
73661
  return r;
73645
- }, J8 = function(r, u, f, p) {
73662
+ }, J6 = function(r, u, f, p) {
73646
73663
  var _ = r.create(f, p);
73647
73664
  return u.parentNode.insertBefore(_, u), _.appendChild(u), _;
73648
73665
  }, GE = function(r, u, f, p, _) {
@@ -73653,18 +73670,18 @@ Required: ` + u.join(", "));
73653
73670
  return !0;
73654
73671
  if (f.selector)
73655
73672
  return ro(u) && r.is(u, f.selector);
73656
- }, Z8 = function(r, u) {
73673
+ }, Z6 = function(r, u) {
73657
73674
  return u.links && r.nodeName === "A";
73658
73675
  }, Ag = function(r, u, f, p) {
73659
73676
  return u = mv(u, f, p), !u || u.nodeName === "BR" || r.isBlock(u);
73660
73677
  }, qE = function(r, u, f) {
73661
73678
  var p = u.parentNode, _, C = r.dom, A = Oi(r);
73662
73679
  f.block && (A ? p === C.getRoot() && (!f.list_block || !ym(u, f.list_block)) && he(Er(u.childNodes), function(P) {
73663
- _v(r, A, P.nodeName.toLowerCase()) ? _ ? _.appendChild(P) : (_ = J8(C, P, A), C.setAttribs(_, r.settings.forced_root_block_attrs)) : _ = 0;
73680
+ _v(r, A, P.nodeName.toLowerCase()) ? _ ? _.appendChild(P) : (_ = J6(C, P, A), C.setAttribs(_, r.settings.forced_root_block_attrs)) : _ = 0;
73664
73681
  }) : 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);
73665
73682
  }, k_ = function(r, u, f, p, _) {
73666
73683
  var C, A = r.dom;
73667
- if (!MA(A, p, u) && !Z8(p, u))
73684
+ if (!MA(A, p, u) && !Z6(p, u))
73668
73685
  return S_.keep();
73669
73686
  var P = p;
73670
73687
  if (u.inline && u.remove === "all" && V(u.preserve_attributes)) {
@@ -73733,7 +73750,7 @@ Required: ` + u.join(", "));
73733
73750
  C && (!A.mixed || !ae.isBlock(f)) && (p = ae.split(f, p)), X && (_.parentNode.insertBefore(X, _), ie.appendChild(_), A.inline && LE(ae, A, P, X));
73734
73751
  }
73735
73752
  return p;
73736
- }, Q8 = function(r, u, f, p, _) {
73753
+ }, Q6 = function(r, u, f, p, _) {
73737
73754
  var C = r.formatter.get(u), A = C[0], P = !0, M = r.dom, X = r.selection, ie = function(ot) {
73738
73755
  var et = T_(r, ot, u, f, _);
73739
73756
  return RA(r, C, et, ot, ot, !0, A, f);
@@ -73757,7 +73774,7 @@ Required: ` + u.join(", "));
73757
73774
  }, Oe = function(ot) {
73758
73775
  var et, ut, yt = ru(r, ot, C, ot.collapsed);
73759
73776
  if (A.split) {
73760
- if (yt = fh(yt), et = X8(r, yt, !0), ut = X8(r, yt), et !== ut) {
73777
+ if (yt = fh(yt), et = X6(r, yt, !0), ut = X6(r, yt), et !== ut) {
73761
73778
  if (et = jE(et, !0), ut = jE(ut, !1), L4(M, et, ut)) {
73762
73779
  var Mt = me.from(et.firstChild).getOr(et);
73763
73780
  ie(GE(M, Mt, !0, "span", {
@@ -73774,10 +73791,10 @@ Required: ` + u.join(", "));
73774
73791
  })), ke(!1);
73775
73792
  return;
73776
73793
  }
73777
- et = J8(M, et, "span", {
73794
+ et = J6(M, et, "span", {
73778
73795
  id: "_start",
73779
73796
  "data-mce-type": "bookmark"
73780
- }), ut = J8(M, ut, "span", {
73797
+ }), ut = J6(M, ut, "span", {
73781
73798
  id: "_end",
73782
73799
  "data-mce-type": "bookmark"
73783
73800
  });
@@ -73827,7 +73844,7 @@ Required: ` + u.join(", "));
73827
73844
  !X.isCollapsed() || !A.inline || wv(r).length ? (Jf(X, !0, function() {
73828
73845
  eg(r, Oe);
73829
73846
  }), A.inline && E_(r, u, f, X.getStart()) && Rb(M, X, X.getRng()), r.nodeChanged()) : ME(r, u, f, _);
73830
- }, e6 = Ve.each, $A = function(r, u, f, p) {
73847
+ }, e8 = Ve.each, $A = function(r, u, f, p) {
73831
73848
  var _ = function(C) {
73832
73849
  if (C.nodeType === 1 && C.parentNode && C.parentNode.nodeType === 1) {
73833
73850
  var A = Gp(r, C.parentNode);
@@ -73840,9 +73857,9 @@ Required: ` + u.join(", "));
73840
73857
  }, VA = function(r, u, f, p) {
73841
73858
  (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));
73842
73859
  }, KE = function(r, u, f, p) {
73843
- e6(u, function(_) {
73844
- e6(r.dom.select(_.inline, p), function(C) {
73845
- Y8(C) && vl(r, _, f, C, _.exact ? C : null);
73860
+ e8(u, function(_) {
73861
+ e8(r.dom.select(_.inline, p), function(C) {
73862
+ Y6(C) && vl(r, _, f, C, _.exact ? C : null);
73846
73863
  }), BA(r.dom, _, p);
73847
73864
  });
73848
73865
  }, U4 = function(r, u, f, p, _) {
@@ -73850,7 +73867,7 @@ Required: ` + u.join(", "));
73850
73867
  if (ld(r, C, f, p))
73851
73868
  return vl(r, u, p, _), !0;
73852
73869
  });
73853
- }, Sc = Ve.each, t6 = function(r, u) {
73870
+ }, Sc = Ve.each, t8 = function(r, u) {
73854
73871
  return da(r, u);
73855
73872
  }, z4 = function(r) {
73856
73873
  return r && r.nodeType === 1 && !Ts(r) && !gc(r) && !wf(r);
@@ -73872,7 +73889,7 @@ Required: ` + u.join(", "));
73872
73889
  return da(_, p) && ws(be.fromDom(f.parentNode), !1) && !C;
73873
73890
  } else
73874
73891
  return !1;
73875
- }, n6 = function(r, u, f, p) {
73892
+ }, n8 = function(r, u, f, p) {
73876
73893
  var _ = r.formatter.get(u), C = _[0], A = !p && r.selection.isCollapsed(), P = r.dom, M = r.selection, X = function(et, ut) {
73877
73894
  if (ut = ut || C, et) {
73878
73895
  if (ut.onformat && ut.onformat(et, ut, f, p), Sc(ut.styles, function(Mt, hn) {
@@ -73913,12 +73930,12 @@ Required: ` + u.join(", "));
73913
73930
  }
73914
73931
  if (ih(C)) {
73915
73932
  var pr = ie(_, er);
73916
- if (Bn(er) && K1(et, er.parentNode) && ie(_, er.parentNode), !t6(C, "inline") || pr) {
73933
+ if (Bn(er) && K1(et, er.parentNode) && ie(_, er.parentNode), !t8(C, "inline") || pr) {
73917
73934
  Dn = null;
73918
73935
  return;
73919
73936
  }
73920
73937
  }
73921
- 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);
73938
+ 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) && (!t8(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);
73922
73939
  };
73923
73940
  Sc(xr, qr);
73924
73941
  }), C.links === !0 && Sc(hn, function(xr) {
@@ -73971,7 +73988,7 @@ Required: ` + u.join(", "));
73971
73988
  ae(P, p, null, !0);
73972
73989
  else if (!A || !M2(C) || wv(r).length) {
73973
73990
  var Ee = M.getNode(), ot = _[0];
73974
- !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) {
73991
+ !r.settings.forced_root_block && ot.defaultBlock && !P.getParent(Ee, P.isBlock) && n8(r, ot.defaultBlock), M.setRng(D6(M.getRng())), Jf(M, !0, function(et) {
73975
73992
  eg(r, function(ut, yt) {
73976
73993
  var Mt = yt ? ut : ru(r, ut, _);
73977
73994
  ae(P, Mt);
@@ -74039,13 +74056,13 @@ Required: ` + u.join(", "));
74039
74056
  };
74040
74057
  }, qA = function(r, u, f, p) {
74041
74058
  var _ = r.formatter.get(u);
74042
- E_(r, u, f, p) && (!("toggle" in _[0]) || _[0].toggle) ? Q8(r, u, f, p) : n6(r, u, f, p);
74043
- }, r6 = function(r, u) {
74059
+ E_(r, u, f, p) && (!("toggle" in _[0]) || _[0].toggle) ? Q6(r, u, f, p) : n8(r, u, f, p);
74060
+ }, r8 = function(r, u) {
74044
74061
  var f = u || document, p = f.createDocumentFragment();
74045
74062
  return he(r, function(_) {
74046
74063
  p.appendChild(_.dom);
74047
74064
  }), be.fromDom(p);
74048
- }, o6 = function(r, u, f) {
74065
+ }, o8 = function(r, u, f) {
74049
74066
  return {
74050
74067
  element: r,
74051
74068
  width: u,
@@ -74097,7 +74114,7 @@ Required: ` + u.join(", "));
74097
74114
  return C;
74098
74115
  }, kc = function(r, u, f) {
74099
74116
  var p = u.x, _ = u.y, C = f.x, A = f.y, P = _ < A ? ZE(r, p, _, C, A) : ZE(r, p, A, C, _);
74100
- return o6(r.element, XE(P), P);
74117
+ return o8(r.element, XE(P), P);
74101
74118
  }, W4 = function(r, u) {
74102
74119
  var f = Hf(r.element), p = be.fromTag("tbody");
74103
74120
  return yf(p, u), Ha(f, p), f;
@@ -74110,13 +74127,13 @@ Required: ` + u.join(", "));
74110
74127
  return yf(p, f), p;
74111
74128
  });
74112
74129
  }, A_ = function(r) {
74113
- var u = o6(Hf(r), 0, []);
74130
+ var u = o8(Hf(r), 0, []);
74114
74131
  return he(ma(r, "tr"), function(f, p) {
74115
74132
  he(ma(f, "td,th"), function(_, C) {
74116
74133
  YE(u, YA(u, C, p), p, f, _);
74117
74134
  });
74118
- }), o6(u.element, XE(u.rows), u.rows);
74119
- }, a6 = function(r) {
74135
+ }), o8(u.element, XE(u.rows), u.rows);
74136
+ }, a8 = function(r) {
74120
74137
  return W4(r, N_(r));
74121
74138
  }, XA = function(r, u, f) {
74122
74139
  return JE(r, u).bind(function(p) {
@@ -74146,7 +74163,7 @@ Required: ` + u.join(", "));
74146
74163
  var f = Un(u, function(p, _) {
74147
74164
  return Ha(_, p), _;
74148
74165
  }, r);
74149
- return u.length > 0 ? r6([f]) : f;
74166
+ return u.length > 0 ? r8([f]) : f;
74150
74167
  }, Og = function(r) {
74151
74168
  return pp(r) ? Ci(r).filter(ts).fold(Fe([]), function(u) {
74152
74169
  return [
@@ -74154,22 +74171,22 @@ Required: ` + u.join(", "));
74154
74171
  u
74155
74172
  ];
74156
74173
  }) : ts(r) ? [r] : [];
74157
- }, i6 = function(r, u) {
74174
+ }, i8 = function(r, u) {
74158
74175
  var f = be.fromDom(u.commonAncestorContainer), p = qo(f, r), _ = Pt(p, function(P) {
74159
74176
  return Cu(P) || Hc(P);
74160
74177
  }), C = Ig(p, u), A = _.concat(C.length ? C : Og(f));
74161
74178
  return ne(A, Hf);
74162
74179
  }, QE = function() {
74163
- return r6([]);
74180
+ return r8([]);
74164
74181
  }, ZA = function(r, u) {
74165
- return Dg(be.fromDom(u.cloneContents()), i6(r, u));
74182
+ return Dg(be.fromDom(u.cloneContents()), i8(r, u));
74166
74183
  }, eS = function(r, u) {
74167
74184
  return Uc(u, "table", Ue(yo, r));
74168
74185
  }, tS = function(r, u) {
74169
74186
  return eS(r, u[0]).bind(function(f) {
74170
74187
  var p = u[0], _ = u[u.length - 1], C = A_(f);
74171
74188
  return XA(C, p, _).map(function(A) {
74172
- return r6([a6(A)]);
74189
+ return r8([a8(A)]);
74173
74190
  });
74174
74191
  }).getOrThunk(QE);
74175
74192
  }, QA = function(r, u) {
@@ -74214,7 +74231,7 @@ Required: ` + u.join(", "));
74214
74231
  f.getInner = !0;
74215
74232
  var p = rI(r, f);
74216
74233
  return f.format === "tree" ? p : (f.content = r.selection.isCollapsed() ? "" : p, r.fire("GetContent", f), f.content);
74217
- }, l6 = 0, aS = 1, iS = 2, I_ = function(r, u) {
74234
+ }, l8 = 0, aS = 1, iS = 2, I_ = function(r, u) {
74218
74235
  var f = r.length + u.length + 2, p = new Array(f), _ = new Array(f), C = function(ie, ae, se) {
74219
74236
  return {
74220
74237
  start: ie,
@@ -74226,7 +74243,7 @@ Required: ` + u.join(", "));
74226
74243
  if ($e === null || $e.start === ae && $e.diag === ae - ke || $e.end === ie && $e.diag === ie - se)
74227
74244
  for (var Ee = ie, ot = se; Ee < ae || ot < ke; )
74228
74245
  Ee < ae && ot < ke && r[Ee] === u[ot] ? (Oe.push([
74229
- l6,
74246
+ l8,
74230
74247
  r[Ee]
74231
74248
  ]), ++Ee, ++ot) : ae - ie > ke - se ? (Oe.push([
74232
74249
  iS,
@@ -74239,7 +74256,7 @@ Required: ` + u.join(", "));
74239
74256
  A(ie, $e.start, se, $e.start - $e.diag, Oe);
74240
74257
  for (var et = $e.start; et < $e.end; ++et)
74241
74258
  Oe.push([
74242
- l6,
74259
+ l8,
74243
74260
  r[et]
74244
74261
  ]);
74245
74262
  A($e.end, ae, $e.end - $e.diag, ke, Oe);
@@ -74271,7 +74288,7 @@ Required: ` + u.join(", "));
74271
74288
  }
74272
74289
  }, X = [];
74273
74290
  return A(0, r.length, 0, u.length, X), X;
74274
- }, s6 = function(r) {
74291
+ }, s8 = function(r) {
74275
74292
  return ro(r) ? r.outerHTML : Bn(r) ? bl.encodeRaw(r.data, !1) : Hm(r) ? "<!--" + r.data + "-->" : "";
74276
74293
  }, oI = function(r) {
74277
74294
  var u, f = document.createElement("div"), p = document.createDocumentFragment();
@@ -74293,19 +74310,19 @@ Required: ` + u.join(", "));
74293
74310
  }, sS = function(r, u) {
74294
74311
  var f = 0;
74295
74312
  he(r, function(p) {
74296
- p[0] === l6 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
74313
+ p[0] === l8 ? f++ : p[0] === aS ? (lS(u, p[1], f), f++) : p[0] === iS && aI(u, f);
74297
74314
  });
74298
74315
  }, iI = function(r) {
74299
- return Pt(ne(Er(r.childNodes), s6), function(u) {
74316
+ return Pt(ne(Er(r.childNodes), s8), function(u) {
74300
74317
  return u.length > 0;
74301
74318
  });
74302
74319
  }, lI = function(r, u) {
74303
- var f = ne(Er(u.childNodes), s6);
74320
+ var f = ne(Er(u.childNodes), s8);
74304
74321
  return sS(I_(f, r), u), u;
74305
- }, u6 = Wa(me.none()), uS = function() {
74306
- return u6.get().getOrThunk(function() {
74322
+ }, u8 = Wa(me.none()), uS = function() {
74323
+ return u8.get().getOrThunk(function() {
74307
74324
  var r = document.implementation.createHTMLDocument("undo");
74308
- return u6.set(me.some(r)), r;
74325
+ return u8.set(me.some(r)), r;
74309
74326
  });
74310
74327
  }, cS = function(r) {
74311
74328
  return r.indexOf("</iframe>") !== -1;
@@ -74325,13 +74342,13 @@ Required: ` + u.join(", "));
74325
74342
  bookmark: null,
74326
74343
  beforeBookmark: null
74327
74344
  };
74328
- }, c6 = function(r) {
74345
+ }, c8 = function(r) {
74329
74346
  var u = iI(r.getBody()), f = He(u, function(_) {
74330
74347
  var C = k4(r.serializer, _);
74331
74348
  return C.length > 0 ? [C] : [];
74332
74349
  }), p = f.join("");
74333
74350
  return cS(p) ? fS(f) : sI(p);
74334
- }, f6 = function(r, u, f) {
74351
+ }, f8 = function(r, u, f) {
74335
74352
  u.type === "fragmented" ? lI(u.fragments, r.getBody()) : r.setContent(u.content, { format: "raw" }), r.selection.moveToBookmark(f ? u.beforeBookmark : u.bookmark);
74336
74353
  }, D_ = function(r) {
74337
74354
  return r.type === "fragmented" ? r.fragments.join("") : r.content;
@@ -74344,19 +74361,19 @@ Required: ` + u.join(", "));
74344
74361
  return G4(r) === G4(u);
74345
74362
  }, Cm = function(r, u) {
74346
74363
  return !r || !u ? !1 : dS(r, u) ? !0 : hS(r, u);
74347
- }, d6 = function(r) {
74364
+ }, d8 = function(r) {
74348
74365
  return r.get() === 0;
74349
74366
  }, q4 = function(r, u, f) {
74350
- d6(f) && (r.typing = u);
74367
+ d8(f) && (r.typing = u);
74351
74368
  }, Mv = function(r, u) {
74352
74369
  r.typing && (q4(r, !1, u), r.add());
74353
- }, h6 = function(r) {
74370
+ }, h8 = function(r) {
74354
74371
  r.typing && (r.typing = !1, r.add());
74355
74372
  }, vS = function(r, u, f) {
74356
- d6(u) && f.set(me.some(I1(r.selection)));
74373
+ d8(u) && f.set(me.some(I1(r.selection)));
74357
74374
  }, O_ = function(r, u, f, p, _, C, A) {
74358
- var P = c6(r);
74359
- if (C = C || {}, C = Ve.extend(C, P), d6(p) === !1 || r.removed)
74375
+ var P = c8(r);
74376
+ if (C = C || {}, C = Ve.extend(C, P), d8(p) === !1 || r.removed)
74360
74377
  return null;
74361
74378
  var M = u.data[f.get()];
74362
74379
  if (r.fire("BeforeAddUndo", {
@@ -74386,21 +74403,21 @@ Required: ` + u.join(", "));
74386
74403
  }, uI = function(r, u, f, p, _) {
74387
74404
  if (u.transact(p)) {
74388
74405
  var C = u.data[f.get()].bookmark, A = u.data[f.get() - 1];
74389
- f6(r, A, !0), u.transact(_) && (u.data[f.get() - 1].beforeBookmark = C);
74406
+ f8(r, A, !0), u.transact(_) && (u.data[f.get() - 1].beforeBookmark = C);
74390
74407
  }
74391
74408
  }, mS = function(r, u, f) {
74392
74409
  var p;
74393
- 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;
74410
+ return u.get() < f.length - 1 && (u.set(u.get() + 1), p = f[u.get()], f8(r, p, !1), r.setDirty(!0), r.fire("Redo", { level: p })), p;
74394
74411
  }, gS = function(r, u, f, p) {
74395
74412
  var _;
74396
- return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), _ = u.data[p.get()], f6(r, _, !0), r.setDirty(!0), r.fire("Undo", { level: _ })), _;
74413
+ return u.typing && (u.add(), u.typing = !1, q4(u, !1, f)), p.get() > 0 && (p.set(p.get() - 1), _ = u.data[p.get()], f8(r, _, !0), r.setDirty(!0), r.fire("Undo", { level: _ })), _;
74397
74414
  }, cI = function(r) {
74398
74415
  r.clear(), r.add();
74399
74416
  }, fI = function(r, u, f) {
74400
- return f.get() > 0 || u.typing && u.data[0] && !Cm(c6(r), u.data[0]);
74417
+ return f.get() > 0 || u.typing && u.data[0] && !Cm(c8(r), u.data[0]);
74401
74418
  }, dI = function(r, u) {
74402
74419
  return u.get() < r.data.length - 1 && !r.typing;
74403
- }, v6 = function(r, u, f) {
74420
+ }, v8 = function(r, u, f) {
74404
74421
  return Mv(r, u), r.beforeChange(), r.ignore(f), r.add();
74405
74422
  }, hI = function(r, u) {
74406
74423
  try {
@@ -74455,7 +74472,7 @@ Required: ` + u.join(", "));
74455
74472
  return dI(u, f);
74456
74473
  },
74457
74474
  transact: function(u, f, p) {
74458
- return v6(u, f, p);
74475
+ return v8(u, f, p);
74459
74476
  },
74460
74477
  ignore: function(u, f) {
74461
74478
  return hI(u, f);
@@ -74481,10 +74498,10 @@ Required: ` + u.join(", "));
74481
74498
  return SA(r, u);
74482
74499
  },
74483
74500
  apply: function(u, f, p) {
74484
- return n6(r, u, f, p);
74501
+ return n8(r, u, f, p);
74485
74502
  },
74486
74503
  remove: function(u, f, p, _) {
74487
- return Q8(r, u, f, p, _);
74504
+ return Q6(r, u, f, p, _);
74488
74505
  },
74489
74506
  toggle: function(u, f, p) {
74490
74507
  return qA(r, u, f, p);
@@ -74501,7 +74518,7 @@ Required: ` + u.join(", "));
74501
74518
  return CA(r, u, f);
74502
74519
  },
74503
74520
  insertContent: function(u, f) {
74504
- return F8(r, u, f);
74521
+ return F6(r, u, f);
74505
74522
  },
74506
74523
  addVisual: function(u) {
74507
74524
  return vI(r, u);
@@ -74655,7 +74672,7 @@ Required: ` + u.join(", "));
74655
74672
  return u.rtcInstance = pI(), Li.reject(p);
74656
74673
  }));
74657
74674
  });
74658
- }, p6 = function(r) {
74675
+ }, p8 = function(r) {
74659
74676
  return r.rtcInstance ? r.rtcInstance : B_(r);
74660
74677
  }, Xi = function(r) {
74661
74678
  var u = r.rtcInstance;
@@ -74666,7 +74683,7 @@ Required: ` + u.join(", "));
74666
74683
  Xi(r).undoManager.beforeChange(u, f);
74667
74684
  }, gI = function(r, u, f, p, _, C, A) {
74668
74685
  return Xi(r).undoManager.addUndoLevel(u, f, p, _, C, A);
74669
- }, m6 = function(r, u, f, p) {
74686
+ }, m8 = function(r, u, f, p) {
74670
74687
  return Xi(r).undoManager.undo(u, f, p);
74671
74688
  }, _I = function(r, u, f) {
74672
74689
  return Xi(r).undoManager.redo(u, f);
@@ -74686,7 +74703,7 @@ Required: ` + u.join(", "));
74686
74703
  Xi(r).undoManager.extra(u, f, p, _);
74687
74704
  }, EI = function(r, u, f, p) {
74688
74705
  return Xi(r).formatter.match(u, f, p);
74689
- }, g6 = function(r, u, f) {
74706
+ }, g8 = function(r, u, f) {
74690
74707
  return Xi(r).formatter.matchAll(u, f);
74691
74708
  }, xS = function(r, u, f, p, _) {
74692
74709
  return Xi(r).formatter.matchNode(u, f, p, _);
@@ -74702,12 +74719,12 @@ Required: ` + u.join(", "));
74702
74719
  Xi(r).formatter.toggle(u, f, p);
74703
74720
  }, SI = function(r, u, f, p, _) {
74704
74721
  return _ === void 0 && (_ = !1), Xi(r).formatter.formatChanged(u, f, p, _);
74705
- }, _6 = function(r, u, f) {
74706
- return p6(r).editor.getContent(u, f);
74722
+ }, _8 = function(r, u, f) {
74723
+ return p8(r).editor.getContent(u, f);
74707
74724
  }, kI = function(r, u, f) {
74708
- return p6(r).editor.setContent(u, f);
74725
+ return p8(r).editor.setContent(u, f);
74709
74726
  }, K4 = function(r, u, f) {
74710
- return p6(r).editor.insertContent(u, f);
74727
+ return p8(r).editor.insertContent(u, f);
74711
74728
  }, TI = function(r, u, f) {
74712
74729
  return Xi(r).selection.getContent(u, f);
74713
74730
  }, NI = function(r, u) {
@@ -74716,7 +74733,7 @@ Required: ` + u.join(", "));
74716
74733
  u === void 0 && (u = {});
74717
74734
  var f = u.format ? u.format : "html";
74718
74735
  return TI(r, f, u);
74719
- }, y6 = function(r) {
74736
+ }, y8 = function(r) {
74720
74737
  return r.dom.length === 0 ? (pi(r), me.none()) : me.some(r);
74721
74738
  }, AI = function(r, u) {
74722
74739
  return r.filter(function(f) {
@@ -74745,7 +74762,7 @@ Required: ` + u.join(", "));
74745
74762
  }, OI = function(r, u) {
74746
74763
  var f = me.from(u.firstChild).map(be.fromDom), p = me.from(u.lastChild).map(be.fromDom);
74747
74764
  r.deleteContents(), r.insertNode(u);
74748
- var _ = f.bind(qs).filter(wi).bind(y6), C = p.bind(Ms).filter(wi).bind(y6);
74765
+ var _ = f.bind(qs).filter(wi).bind(y8), C = p.bind(Ms).filter(wi).bind(y8);
74749
74766
  IS(_, f, r, !0), IS(C, p, r, !1), r.collapse(!1);
74750
74767
  }, BI = function(r, u) {
74751
74768
  return gr(gr({ format: "html" }, r), {
@@ -75036,7 +75053,7 @@ Required: ` + u.join(", "));
75036
75053
  return u(new Blob([]));
75037
75054
  }, u);
75038
75055
  });
75039
- }, b6 = function(r) {
75056
+ }, b8 = function(r) {
75040
75057
  return r.indexOf("blob:") === 0 ? zI(r) : r.indexOf("data:") === 0 ? HI(r) : null;
75041
75058
  }, $S = function(r) {
75042
75059
  return new Li(function(u) {
@@ -75045,7 +75062,7 @@ Required: ` + u.join(", "));
75045
75062
  u(f.result);
75046
75063
  }, f.readAsDataURL(r);
75047
75064
  });
75048
- }, WI = 0, w6 = function(r) {
75065
+ }, WI = 0, w8 = function(r) {
75049
75066
  return (r || "blobid") + WI++;
75050
75067
  }, jI = function(r, u, f, p) {
75051
75068
  var _, C;
@@ -75053,9 +75070,9 @@ Required: ` + u.join(", "));
75053
75070
  C = r.getByUri(u.src), C ? f({
75054
75071
  image: u,
75055
75072
  blobInfo: C
75056
- }) : b6(u.src).then(function(X) {
75073
+ }) : b8(u.src).then(function(X) {
75057
75074
  $S(X).then(function(ie) {
75058
- _ = xm(ie).data, C = r.create(w6(), X, _), r.add(C), f({
75075
+ _ = xm(ie).data, C = r.create(w8(), X, _), r.add(C), f({
75059
75076
  image: u,
75060
75077
  blobInfo: C
75061
75078
  });
@@ -75069,8 +75086,8 @@ Required: ` + u.join(", "));
75069
75086
  _ = P, C = r.getByData(_, M), C ? f({
75070
75087
  image: u,
75071
75088
  blobInfo: C
75072
- }) : b6(u.src).then(function(X) {
75073
- C = r.create(w6(), X, _), r.add(C), f({
75089
+ }) : b8(u.src).then(function(X) {
75090
+ C = r.create(w8(), X, _), r.add(C), f({
75074
75091
  image: u,
75075
75092
  blobInfo: C
75076
75093
  });
@@ -75146,7 +75163,7 @@ Required: ` + u.join(", "));
75146
75163
  var P = A.type, M = A.data;
75147
75164
  return me.from(f.getByData(M, P)).orThunk(function() {
75148
75165
  return RS(P, M).map(function(X) {
75149
- var ie = f.create(w6(), X, M);
75166
+ var ie = f.create(w8(), X, M);
75150
75167
  return f.add(ie), ie;
75151
75168
  });
75152
75169
  });
@@ -75547,7 +75564,7 @@ Required: ` + u.join(", "));
75547
75564
  }, a9 = "html", Tl = function(r, u) {
75548
75565
  u === void 0 && (u = {});
75549
75566
  var f = u.format ? u.format : a9;
75550
- return _6(r, u, f);
75567
+ return _8(r, u, f);
75551
75568
  }, X4 = function(r, u, f) {
75552
75569
  return f === void 0 && (f = {}), kI(r, u, f);
75553
75570
  }, J4 = ua.DOM, i9 = function(r) {
@@ -75596,7 +75613,7 @@ Required: ` + u.join(", "));
75596
75613
  sections: Fe(r),
75597
75614
  settings: Fe(u)
75598
75615
  };
75599
- }, C6 = Wr().deviceType, h9 = C6.isTouch(), x6 = C6.isPhone(), Rv = C6.isTablet(), iu = [
75616
+ }, C8 = Wr().deviceType, h9 = C8.isTouch(), x8 = C8.isPhone(), Rv = C8.isTablet(), iu = [
75600
75617
  "lists",
75601
75618
  "autolink",
75602
75619
  "autosave"
@@ -75616,7 +75633,7 @@ Required: ` + u.join(", "));
75616
75633
  return Re(r, _);
75617
75634
  });
75618
75635
  return d9(f.t, f.f);
75619
- }, E6 = function(r, u, f) {
75636
+ }, E8 = function(r, u, f) {
75620
75637
  f === void 0 && (f = {});
75621
75638
  var p = r.sections(), _ = p.hasOwnProperty(u) ? p[u] : {};
75622
75639
  return Ve.extend({}, f, _);
@@ -75684,14 +75701,14 @@ Required: ` + u.join(", "));
75684
75701
  }, nk = function(r, u) {
75685
75702
  return r && $g(u, "mobile");
75686
75703
  }, rk = function(r, u, f, p, _) {
75687
- var C = r ? { mobile: ek(_.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, _)), P = Ve.extend(f, p, A.settings(), nk(r, A) ? E6(A, "mobile") : {}, {
75704
+ var C = r ? { mobile: ek(_.mobile || {}, u) } : {}, A = R_(["mobile"], Mg(C, _)), P = Ve.extend(f, p, A.settings(), nk(r, A) ? E8(A, "mobile") : {}, {
75688
75705
  validate: !0,
75689
75706
  external_plugins: v9(p, A.settings())
75690
75707
  });
75691
75708
  return $_(r, A, p, P);
75692
75709
  }, ok = function(r, u, f, p, _) {
75693
75710
  var C = QS(_, u, f, h9, r);
75694
- return rk(x6 || Rv, x6, C, p, _);
75711
+ return rk(x8 || Rv, x8, C, p, _);
75695
75712
  }, gh = function(r, u, f) {
75696
75713
  return me.from(u.settings[f]).filter(r);
75697
75714
  }, m9 = function(r) {
@@ -75727,7 +75744,7 @@ Required: ` + u.join(", "));
75727
75744
  return parseInt(Zr(u, r), 10);
75728
75745
  }, y9 = Ue(ak, "clientWidth"), ik = Ue(ak, "clientHeight"), lk = Ue(sl, "margin-top"), sk = Ue(sl, "margin-left"), uk = function(r) {
75729
75746
  return r.dom.getBoundingClientRect();
75730
- }, S6 = function(r, u, f) {
75747
+ }, S8 = function(r, u, f) {
75731
75748
  var p = y9(r), _ = ik(r);
75732
75749
  return u >= 0 && f >= 0 && u <= p && f <= _;
75733
75750
  }, b9 = function(r, u, f, p) {
@@ -75738,7 +75755,7 @@ Required: ` + u.join(", "));
75738
75755
  };
75739
75756
  }, ck = function(r, u, f) {
75740
75757
  var p = be.fromDom(r.getBody()), _ = r.inline ? p : Ii(p), C = b9(r.inline, _, u, f);
75741
- return S6(_, C.x, C.y);
75758
+ return S8(_, C.x, C.y);
75742
75759
  }, w9 = function(r) {
75743
75760
  return me.from(r).map(be.fromDom);
75744
75761
  }, C9 = function(r) {
@@ -75909,7 +75926,7 @@ Required: ` + u.join(", "));
75909
75926
  e3(r, "IconsLoadError", Uu("icons", u, f));
75910
75927
  }, k9 = function(r, u, f) {
75911
75928
  e3(r, "LanguageLoadError", Uu("language", u, f));
75912
- }, k6 = function(r, u, f) {
75929
+ }, k8 = function(r, u, f) {
75913
75930
  var p = Us.translate([
75914
75931
  "Failed to initialize plugin: {0}",
75915
75932
  u
@@ -75923,17 +75940,17 @@ Required: ` + u.join(", "));
75923
75940
  }, Vg = function(r) {
75924
75941
  return /^[a-z0-9\-]+$/i.test(r);
75925
75942
  }, T9 = function(r) {
75926
- return T6(r, cb(r));
75943
+ return T8(r, cb(r));
75927
75944
  }, vk = function(r) {
75928
- return T6(r, f2(r));
75929
- }, T6 = function(r, u) {
75945
+ return T8(r, f2(r));
75946
+ }, T8 = function(r, u) {
75930
75947
  var f = r.editorManager.baseURL + "/skins/content", p = r.editorManager.suffix, _ = "content" + p + ".css", C = r.inline === !0;
75931
75948
  return ne(u, function(A) {
75932
75949
  return Vg(A) && !C ? f + "/" + A + "/" + _ : r.documentBaseURI.toAbsolute(A);
75933
75950
  });
75934
- }, N6 = function(r) {
75951
+ }, N8 = function(r) {
75935
75952
  r.contentCSS = r.contentCSS.concat(T9(r), vk(r));
75936
- }, A6 = function() {
75953
+ }, A8 = function() {
75937
75954
  var r = 1, u = 2, f = {}, p = function(se, ke) {
75938
75955
  return {
75939
75956
  status: se,
@@ -75967,13 +75984,13 @@ Required: ` + u.join(", "));
75967
75984
  removeFailed: ie,
75968
75985
  destroy: ae
75969
75986
  };
75970
- }, I6 = 0, N9 = function() {
75987
+ }, I8 = 0, N9 = function() {
75971
75988
  var r = function() {
75972
75989
  return Math.round(Math.random() * 4294967295).toString(36);
75973
75990
  }, u = (/* @__PURE__ */ new Date()).getTime();
75974
75991
  return "s" + u.toString(36) + r() + r() + r();
75975
75992
  }, pk = function(r) {
75976
- return r + I6++ + N9();
75993
+ return r + I8++ + N9();
75977
75994
  }, A9 = function() {
75978
75995
  var r = [], u = function(ae) {
75979
75996
  var se = {
@@ -76156,7 +76173,7 @@ Required: ` + u.join(", "));
76156
76173
  handler: Qw(r)
76157
76174
  });
76158
76175
  }, I9 = function(r) {
76159
- var u = A6(), f = gk(r, u);
76176
+ var u = A8(), f = gk(r, u);
76160
76177
  return {
76161
76178
  upload: function(p, _) {
76162
76179
  return _ === void 0 && (_ = !0), f.upload(p, _ ? mk(r) : void 0);
@@ -76180,7 +76197,7 @@ Required: ` + u.join(", "));
76180
76197
  };
76181
76198
  return { fireIfChanged: f };
76182
76199
  }, D9 = function(r) {
76183
- var u = A9(), f, p, _ = A6(), C = [], A = F_(r), P = function(yt) {
76200
+ var u = A9(), f, p, _ = A8(), C = [], A = F_(r), P = function(yt) {
76184
76201
  return function(Mt) {
76185
76202
  return r.selection ? yt(Mt) : [];
76186
76203
  };
@@ -76737,7 +76754,7 @@ Required: ` + u.join(", "));
76737
76754
  return SS(r, p);
76738
76755
  },
76739
76756
  matchAll: function(p, _) {
76740
- return g6(r, p, _);
76757
+ return g8(r, p, _);
76741
76758
  },
76742
76759
  matchNode: function(p, _, C, A) {
76743
76760
  return xS(r, p, _, C, A);
@@ -76766,7 +76783,7 @@ Required: ` + u.join(", "));
76766
76783
  u.beforeChange();
76767
76784
  }), r.on("SaveContent ObjectResized blur", _), r.on("dragend", _), r.on("keyup", function(M) {
76768
76785
  var X = M.keyCode;
76769
- M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (_(), 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", {
76786
+ M.isDefaultPrevented() || ((X >= 33 && X <= 36 || X >= 37 && X <= 40 || X === 45 || M.ctrlKey) && (_(), r.nodeChanged()), (X === 46 || X === 8) && r.nodeChanged(), p.get() && u.typing && Cm(c8(r), u.data[0]) === !1 && (r.isDirty() === !1 && (r.setDirty(!0), r.fire("change", {
76770
76787
  level: u.data[0],
76771
76788
  lastLevel: null
76772
76789
  })), r.fire("TypingUndo"), p.set(!1), r.nodeChanged()));
@@ -76808,7 +76825,7 @@ Required: ` + u.join(", "));
76808
76825
  return gI(r, _, p, f, u, C, A);
76809
76826
  },
76810
76827
  undo: function() {
76811
- return m6(r, _, f, p);
76828
+ return m8(r, _, f, p);
76812
76829
  },
76813
76830
  redo: function() {
76814
76831
  return _I(r, p, _.data);
@@ -76878,7 +76895,7 @@ Required: ` + u.join(", "));
76878
76895
  return _ ? r.getStyle(u.firstElementChild, "padding-left") || r.getStyle(u.firstElementChild, "padding-right") ? !1 : p ? !r.isBlock(_) : f === _.nodeName.toLowerCase() : !0;
76879
76896
  } else
76880
76897
  return !1;
76881
- }, D6 = function(r) {
76898
+ }, D8 = function(r) {
76882
76899
  var u = r.dom, f = Oi(r), p = nC(r), _ = function(C, A) {
76883
76900
  if (!F9(C)) {
76884
76901
  var P = r.getBody(), M = L_(C) ? !1 : V9(u, P, f), X = u.getAttrib(P, xk) !== "";
@@ -76921,11 +76938,11 @@ Required: ` + u.join(", "));
76921
76938
  return li(r, u) ? jm(u, function(f) {
76922
76939
  return Ra(f) || pp(f);
76923
76940
  }, a3(r)) : me.none();
76924
- }, O6 = function(r) {
76941
+ }, O8 = function(r) {
76925
76942
  var u = r.getBody(), f = u.firstChild && r.dom.isBlock(u.firstChild) ? u.firstChild : u;
76926
76943
  r.selection.setCursorLocation(f, 0);
76927
76944
  }, i3 = function(r) {
76928
- r.dom.isEmpty(r.getBody()) && (r.setContent(""), O6(r));
76945
+ r.dom.isEmpty(r.getBody()) && (r.setContent(""), O8(r));
76929
76946
  }, kk = function(r, u, f) {
76930
76947
  return ki(jl(f), Ru(f), function(p, _) {
76931
76948
  var C = Nl(!0, p), A = Nl(!1, _), P = Nl(!1, u);
@@ -76989,7 +77006,7 @@ Required: ` + u.join(", "));
76989
77006
  }, cd = function(r) {
76990
77007
  var u = Bk(r);
76991
77008
  return he(u, pi), u;
76992
- }, B6 = function(r, u) {
77009
+ }, B8 = function(r, u) {
76993
77010
  var f = qo(u, r);
76994
77011
  return _n(f.reverse(), function(p) {
76995
77012
  return ws(p);
@@ -77005,14 +77022,14 @@ Required: ` + u.join(", "));
77005
77022
  var _ = mc(f.dom, un.before(p.dom));
77006
77023
  return he(cd(u), function(C) {
77007
77024
  cl(p, C);
77008
- }), B6(r, u), _;
77025
+ }), B8(r, u), _;
77009
77026
  }, Ac = function(r, u, f) {
77010
77027
  if (ws(f))
77011
77028
  return pi(f), ws(u) && js(u), jl(u.dom);
77012
77029
  var p = Ru(f.dom);
77013
77030
  return he(cd(u), function(_) {
77014
77031
  Ha(f, _);
77015
- }), B6(r, u), p;
77032
+ }), B8(r, u), p;
77016
77033
  }, H9 = function(r, u) {
77017
77034
  var f = qo(u, r);
77018
77035
  return me.from(f[f.length - 1]);
@@ -77055,7 +77072,7 @@ Required: ` + u.join(", "));
77055
77072
  return q9(u, f) ? K9(r) : j9(u, r.selection);
77056
77073
  }, Ug = function(r, u) {
77057
77074
  return r.selection.isCollapsed() ? !1 : Y9(r);
77058
- }, P6 = $s, Vk = xa, _h = function(r, u, f, p, _) {
77075
+ }, P8 = $s, Vk = xa, _h = function(r, u, f, p, _) {
77059
77076
  return me.from(u._selectionOverrides.showCaret(r, f, p, _));
77060
77077
  }, X9 = function(r) {
77061
77078
  var u = r.ownerDocument.createRange();
@@ -77063,7 +77080,7 @@ Required: ` + u.join(", "));
77063
77080
  }, km = function(r, u) {
77064
77081
  var f = r.fire("BeforeObjectSelected", { target: u });
77065
77082
  return f.isDefaultPrevented() ? me.none() : me.some(X9(u));
77066
- }, M6 = function(r, u, f) {
77083
+ }, M8 = function(r, u, f) {
77067
77084
  var p = x2(1, r.getBody(), u), _ = un.fromRangeStart(p), C = _.getNode();
77068
77085
  if (Jd(C))
77069
77086
  return _h(1, r, C, !_.isAtEnd(), !1);
@@ -77071,16 +77088,16 @@ Required: ` + u.join(", "));
77071
77088
  if (Jd(A))
77072
77089
  return _h(1, r, A, !1, !1);
77073
77090
  var P = r.dom.getParent(_.getNode(), function(M) {
77074
- return Vk(M) || P6(M);
77091
+ return Vk(M) || P8(M);
77075
77092
  });
77076
77093
  return Jd(P) ? _h(1, r, P, !1, f) : me.none();
77077
77094
  }, H_ = function(r, u, f) {
77078
- return u.collapsed ? M6(r, u, f).getOr(u) : u;
77095
+ return u.collapsed ? M8(r, u, f).getOr(u) : u;
77079
77096
  }, Lk = function(r) {
77080
77097
  return Yo(r) || Cr(r);
77081
77098
  }, Uk = function(r) {
77082
77099
  return Xo(r) || uo(r);
77083
- }, R6 = function(r, u) {
77100
+ }, R8 = function(r, u) {
77084
77101
  Bn(u) && u.data.length === 0 && r.remove(u);
77085
77102
  }, zk = function(r, u, f, p, _, C) {
77086
77103
  return _h(p, r, C.getNode(!_), _, !0).each(function(A) {
@@ -77090,7 +77107,7 @@ Required: ` + u.join(", "));
77090
77107
  } else
77091
77108
  u.deleteContents();
77092
77109
  r.selection.setRng(A);
77093
- }), R6(r.dom, f), !0;
77110
+ }), R8(r.dom, f), !0;
77094
77111
  }, J9 = function(r, u) {
77095
77112
  var f = r.selection.getRng();
77096
77113
  if (!Bn(f.commonAncestorContainer))
@@ -77120,16 +77137,16 @@ Required: ` + u.join(", "));
77120
77137
  return U1(!u, f).fold(function() {
77121
77138
  return U1(u, p).fold(Qe, _);
77122
77139
  }, _);
77123
- }, $6 = function(r, u, f, p) {
77140
+ }, $8 = function(r, u, f, p) {
77124
77141
  var _ = p.getNode(u === !1);
77125
77142
  return z_(be.fromDom(r), be.fromDom(f.getNode())).map(function(C) {
77126
77143
  return ws(C) ? cs.remove(C.dom) : cs.moveToElement(_);
77127
77144
  }).orThunk(function() {
77128
77145
  return me.some(cs.moveToElement(_));
77129
77146
  });
77130
- }, F6 = function(r, u, f) {
77147
+ }, F8 = function(r, u, f) {
77131
77148
  return Hs(u, r, f).bind(function(p) {
77132
- 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();
77149
+ return Ic(p.getNode()) || c3(r, u, f, p) ? me.none() : u && xa(p.getNode()) || u === !1 && xa(p.getNode(!0)) ? $8(r, u, f, p) : u && Xo(f) || u === !1 && Yo(f) ? me.some(cs.moveToPosition(p)) : me.none();
77133
77150
  });
77134
77151
  }, Wk = function(r, u) {
77135
77152
  return r && xa(u.nextSibling) ? me.some(cs.moveToElement(u.nextSibling)) : r === !1 && xa(u.previousSibling) ? me.some(cs.moveToElement(u.previousSibling)) : me.none();
@@ -77143,8 +77160,8 @@ Required: ` + u.join(", "));
77143
77160
  });
77144
77161
  }, Gk = function(r, u, f) {
77145
77162
  return Hk(u, f) ? Wk(u, f.getNode(u === !1)).fold(function() {
77146
- return F6(r, u, f);
77147
- }, me.some) : F6(r, u, f).bind(function(p) {
77163
+ return F8(r, u, f);
77164
+ }, me.some) : F8(r, u, f).bind(function(p) {
77148
77165
  return jk(r, f, p);
77149
77166
  });
77150
77167
  }, qk = function(r, u, f) {
@@ -77163,7 +77180,7 @@ Required: ` + u.join(", "));
77163
77180
  var p = u ? un.before(f) : un.after(f);
77164
77181
  return r.selection.setRng(p.toRange()), !0;
77165
77182
  };
77166
- }, V6 = function(r) {
77183
+ }, V8 = function(r) {
77167
77184
  return function(u) {
77168
77185
  return r.selection.setRng(u.toRange()), !0;
77169
77186
  };
@@ -77173,7 +77190,7 @@ Required: ` + u.join(", "));
77173
77190
  var f = r.selection.getNode();
77174
77191
  return Kk(r, f).filter(xa).fold(function() {
77175
77192
  return qk(r.getBody(), u, r.selection.getRng()).exists(function(p) {
77176
- return p.fold(f3(r, u), d3(r, u), V6(r));
77193
+ return p.fold(f3(r, u), d3(r, u), V8(r));
77177
77194
  });
77178
77195
  }, Ht);
77179
77196
  }, Q9 = function(r) {
@@ -77187,7 +77204,7 @@ Required: ` + u.join(", "));
77187
77204
  }, Ht);
77188
77205
  }
77189
77206
  return !1;
77190
- }, L6 = function(r) {
77207
+ }, L8 = function(r) {
77191
77208
  var u = r.dom, f = r.selection, p = Zp(r.getBody(), f.getNode());
77192
77209
  if ($s(p) && u.isBlock(p) && u.isEmpty(p)) {
77193
77210
  var _ = u.create("br", { "data-mce-bogus": "1" });
@@ -77234,7 +77251,7 @@ Required: ` + u.join(", "));
77234
77251
  }, Zk = function(r, u) {
77235
77252
  var f = u.get();
77236
77253
  return f && r.container() === f && Wc(f);
77237
- }, U6 = function(r, u) {
77254
+ }, U8 = function(r, u) {
77238
77255
  return u.fold(function(f) {
77239
77256
  qf(r.get());
77240
77257
  var p = p3(f);
@@ -77272,11 +77289,11 @@ Required: ` + u.join(", "));
77272
77289
  { start: ["element"] },
77273
77290
  { end: ["element"] },
77274
77291
  { after: ["element"] }
77275
- ]), z6 = function(r, u) {
77292
+ ]), z8 = function(r, u) {
77276
77293
  var f = Yf(u, r);
77277
77294
  return f || r;
77278
77295
  }, oD = function(r, u, f) {
77279
- var p = Vv(f), _ = z6(u, p.container());
77296
+ var p = Vv(f), _ = z8(u, p.container());
77280
77297
  return lu(r, _, p).fold(function() {
77281
77298
  return eu(_, p).bind(Ue(lu, r, _)).map(function(C) {
77282
77299
  return fs.before(C);
@@ -77299,14 +77316,14 @@ Required: ` + u.join(", "));
77299
77316
  return C.isNone() ? me.some(fs.end(_)) : me.none();
77300
77317
  });
77301
77318
  }, sD = function(r, u, f) {
77302
- var p = U_(f), _ = z6(u, p.container());
77319
+ var p = U_(f), _ = z8(u, p.container());
77303
77320
  return lu(r, _, p).fold(function() {
77304
77321
  return mc(_, p).bind(Ue(lu, r, _)).map(function(C) {
77305
77322
  return fs.after(C);
77306
77323
  });
77307
77324
  }, me.none);
77308
77325
  }, e5 = function(r) {
77309
- return z9(H6(r)) === !1;
77326
+ return z9(H8(r)) === !1;
77310
77327
  }, fd = function(r, u, f) {
77311
77328
  var p = Qk([
77312
77329
  oD,
@@ -77319,7 +77336,7 @@ Required: ` + u.join(", "));
77319
77336
  f
77320
77337
  ]);
77321
77338
  return p.filter(e5);
77322
- }, H6 = function(r) {
77339
+ }, H8 = function(r) {
77323
77340
  return r.fold(_t, _t, _t, _t);
77324
77341
  }, t5 = function(r) {
77325
77342
  return r.fold(Fe("before"), Fe("start"), Fe("end"), Fe("after"));
@@ -77328,7 +77345,7 @@ Required: ` + u.join(", "));
77328
77345
  }, Wg = function(r) {
77329
77346
  return r.fold(fs.start, fs.start, fs.end, fs.end);
77330
77347
  }, uD = function(r, u) {
77331
- return t5(r) === t5(u) && H6(r) === H6(u);
77348
+ return t5(r) === t5(u) && H8(r) === H8(u);
77332
77349
  }, cD = function(r, u, f, p, _, C) {
77333
77350
  return ki(lu(u, f, p), lu(u, f, _), function(A, P) {
77334
77351
  return A !== P && r3(f, A, P) ? fs.after(r ? A : P) : C;
@@ -77346,13 +77363,13 @@ Required: ` + u.join(", "));
77346
77363
  return P.filter(e5);
77347
77364
  }, dD = function(r, u) {
77348
77365
  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));
77349
- }, W6 = function(r, u, f, p) {
77366
+ }, W8 = function(r, u, f, p) {
77350
77367
  var _ = Nl(r, p), C = fd(u, f, _);
77351
77368
  return fd(u, f, _).bind(Ue(dD, r)).orThunk(function() {
77352
77369
  return fD(r, u, f, C, p);
77353
77370
  });
77354
77371
  };
77355
- Ue(W6, !1), Ue(W6, !0);
77372
+ Ue(W8, !1), Ue(W8, !0);
77356
77373
  var hD = function(r) {
77357
77374
  return Pe(r.selection.getSel().modify);
77358
77375
  }, n5 = function(r, u, f) {
@@ -77424,7 +77441,7 @@ Required: ` + u.join(", "));
77424
77441
  });
77425
77442
  }, Nm = Ue(r5, un.isAbove, -1), W_ = Ue(r5, un.isBelow, 1), a5 = function(r, u) {
77426
77443
  return Nm(r, u).breakAt.isNone();
77427
- }, j6 = function(r, u) {
77444
+ }, j8 = function(r, u) {
77428
77445
  return W_(r, u).breakAt.isNone();
77429
77446
  }, i5 = Ue(o5, -1, Nm), l5 = Ue(o5, 1, W_), gD = function(r) {
77430
77447
  return jl(r).map(function(u) {
@@ -77474,7 +77491,7 @@ Required: ` + u.join(", "));
77474
77491
  return u.line > r;
77475
77492
  }, c5 = function(r, u) {
77476
77493
  return u.line === r;
77477
- }, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G6 = function(r, u, f, p) {
77494
+ }, f5 = Ue(u5, Am.Up, il, Hd), d5 = Ue(u5, Am.Down, Hd, il), G8 = function(r, u, f, p) {
77478
77495
  var _ = Mu(u), C, A, P, M, X = [], ie = 0, ae, se = function(Oe) {
77479
77496
  return oa(Oe.getClientRects());
77480
77497
  };
@@ -77492,13 +77509,13 @@ Required: ` + u.join(", "));
77492
77509
  return function(u) {
77493
77510
  return Gg(r, u);
77494
77511
  };
77495
- }, q6 = function(r) {
77512
+ }, q8 = function(r) {
77496
77513
  return function(u) {
77497
77514
  return c5(r, u);
77498
77515
  };
77499
- }, bD = xa, v5 = cv, K6 = function(r, u) {
77516
+ }, bD = xa, v5 = cv, K8 = function(r, u) {
77500
77517
  return Math.abs(r.left - u);
77501
- }, Y6 = function(r, u) {
77518
+ }, Y8 = function(r, u) {
77502
77519
  return Math.abs(r.right - u);
77503
77520
  }, Dc = function(r, u) {
77504
77521
  return r >= u.left && r <= u.right;
@@ -77506,7 +77523,7 @@ Required: ` + u.join(", "));
77506
77523
  return r >= u.top && r <= u.bottom;
77507
77524
  }, C3 = function(r, u) {
77508
77525
  return Po(r, function(f, p) {
77509
- var _ = Math.min(K6(f, u), Y6(f, u)), C = Math.min(K6(p, u), Y6(p, u));
77526
+ var _ = Math.min(K8(f, u), Y8(f, u)), C = Math.min(K8(p, u), Y8(p, u));
77510
77527
  return Dc(u, p) ? p : Dc(u, f) ? f : C === _ && bD(p.node) || C < _ ? p : f;
77511
77528
  });
77512
77529
  }, p5 = function(r, u, f, p, _) {
@@ -77529,7 +77546,7 @@ Required: ` + u.join(", "));
77529
77546
  }, ED = function(r, u) {
77530
77547
  return {
77531
77548
  node: r.node,
77532
- before: K6(r, u) < Y6(r, u)
77549
+ before: K8(r, u) < Y8(r, u)
77533
77550
  };
77534
77551
  }, SD = function(r, u, f) {
77535
77552
  var p = w3(xD(r)), _ = Pt(p, Ue(wD, f)), C = C3(_, u);
@@ -77541,7 +77558,7 @@ Required: ` + u.join(", "));
77541
77558
  return null;
77542
77559
  }, di = function(r, u) {
77543
77560
  r.selection.setRng(u), Tv(r, r.selection.getRng());
77544
- }, X6 = function(r, u, f) {
77561
+ }, X8 = function(r, u, f) {
77545
77562
  return me.some(H_(r, u, f));
77546
77563
  }, m5 = function(r, u, f, p, _, C) {
77547
77564
  var A = u === Bi.Forwards, P = Mu(r.getBody()), M = Ue(z1, A ? P.next : P.prev), X = A ? p : _;
@@ -77559,21 +77576,21 @@ Required: ` + u.join(", "));
77559
77576
  if (X(se))
77560
77577
  return _h(u, r, se.getNode(!A), A, !1);
77561
77578
  var Oe = M(se);
77562
- return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X6(r, se.toRange(), !1) : me.none();
77563
- }, J6 = function(r, u, f, p, _, C) {
77579
+ return Oe && X(Oe) && dv(se, Oe) ? _h(u, r, Oe.getNode(!A), A, !1) : ke ? X8(r, se.toRange(), !1) : me.none();
77580
+ }, J8 = function(r, u, f, p, _, C) {
77564
77581
  var A = fv(u, r.getBody(), f), P = oa(A.getClientRects()), M = u === Am.Down;
77565
77582
  if (!P)
77566
77583
  return me.none();
77567
- var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q6(1)), se = P.left, ke = C3(ae, se);
77584
+ var X = M ? d5 : f5, ie = X(r.getBody(), h5(1), A), ae = Pt(ie, q8(1)), se = P.left, ke = C3(ae, se);
77568
77585
  if (ke && C(ke.node)) {
77569
77586
  var Oe = Math.abs(se - ke.left), $e = Math.abs(se - ke.right);
77570
77587
  return _h(u, r, ke.node, Oe < $e, !1);
77571
77588
  }
77572
77589
  var Ee;
77573
77590
  if (p(A) ? Ee = A.getNode() : _(A) ? Ee = A.getNode(!0) : Ee = Qh(f), Ee) {
77574
- var ot = G6(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q6(1)), se);
77575
- if (et || (et = oa(Pt(ot, q6(0))), et))
77576
- return X6(r, et.position.toRange(), !1);
77591
+ var ot = G8(u, r.getBody(), h5(1), Ee), et = C3(Pt(ot, q8(1)), se);
77592
+ if (et || (et = oa(Pt(ot, q8(0))), et))
77593
+ return X8(r, et.position.toRange(), !1);
77577
77594
  }
77578
77595
  return ae.length === 0 ? j_(r, M).filter(M ? _ : p).map(function(ut) {
77579
77596
  return H_(r, ut.toRange(), !1);
@@ -77597,11 +77614,11 @@ Required: ` + u.join(", "));
77597
77614
  }, _5 = function(r, u) {
77598
77615
  r ? u.setAttribute("data-mce-selected", "inline-boundary") : u.removeAttribute("data-mce-selected");
77599
77616
  }, Uv = function(r, u, f) {
77600
- return U6(u, f).map(function(p) {
77617
+ return U8(u, f).map(function(p) {
77601
77618
  return x3(r, p), f;
77602
77619
  });
77603
77620
  }, kD = function(r, u, f) {
77604
- var p = r.getBody(), _ = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W6(f, C, p, _);
77621
+ var p = r.getBody(), _ = un.fromRangeStart(r.selection.getRng()), C = Ue(Em, r), A = W8(f, C, p, _);
77605
77622
  return A.bind(function(P) {
77606
77623
  return Uv(r, u, P);
77607
77624
  });
@@ -77642,7 +77659,7 @@ Required: ` + u.join(", "));
77642
77659
  });
77643
77660
  return fd(Ue(Em, r), r.getBody(), p).exists(function(_) {
77644
77661
  var C = Tm(_);
77645
- return U6(f, C).exists(function(A) {
77662
+ return U8(f, C).exists(function(A) {
77646
77663
  return x3(r, A), !0;
77647
77664
  });
77648
77665
  });
@@ -77660,7 +77677,7 @@ Required: ` + u.join(", "));
77660
77677
  }).getOr(!0);
77661
77678
  }, C5 = function(r, u) {
77662
77679
  return function(f) {
77663
- return U6(u, f).exists(function(p) {
77680
+ return U8(u, f).exists(function(p) {
77664
77681
  return x3(r, p), !0;
77665
77682
  });
77666
77683
  };
@@ -77703,9 +77720,9 @@ Required: ` + u.join(", "));
77703
77720
  return Kn(f, Fs).fold(Fe(f), function(p) {
77704
77721
  return f.slice(0, p);
77705
77722
  });
77706
- }, Z6 = function(r) {
77723
+ }, Z8 = function(r) {
77707
77724
  return va(r).length === 1;
77708
- }, Q6 = function(r, u, f, p) {
77725
+ }, Q8 = function(r, u, f, p) {
77709
77726
  var _ = Ue(DA, u), C = ne(Pt(p, _), function(P) {
77710
77727
  return P.dom;
77711
77728
  });
@@ -77716,10 +77733,10 @@ Required: ` + u.join(", "));
77716
77733
  u.selection.setRng(A.toRange());
77717
77734
  }
77718
77735
  }, BD = function(r, u) {
77719
- var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), _ = Pt(OD(f, p), Z6);
77736
+ var f = be.fromDom(r.getBody()), p = be.fromDom(r.selection.getStart()), _ = Pt(OD(f, p), Z8);
77720
77737
  return nr(_).exists(function(C) {
77721
77738
  var A = un.fromRangeStart(r.selection.getRng());
77722
- return kk(u, A, C.dom) && !OA(C) ? (Q6(u, r, C, _), !0) : !1;
77739
+ return kk(u, A, C.dom) && !OA(C) ? (Q8(u, r, C, _), !0) : !1;
77723
77740
  });
77724
77741
  }, hd = function(r, u) {
77725
77742
  return r.selection.isCollapsed() ? BD(r, u) : !1;
@@ -77931,7 +77948,7 @@ Required: ` + u.join(", "));
77931
77948
  }, _ = function(C) {
77932
77949
  return Xo(C) || xo(C);
77933
77950
  };
77934
- return J6(u, r, f, p, _, rx);
77951
+ return J8(u, r, f, p, _, rx);
77935
77952
  }, tO = function(r) {
77936
77953
  var u = r.dom.create(Oi(r));
77937
77954
  return (!Xr.ie || Xr.ie >= 11) && (u.innerHTML = '<br data-mce-bogus="1">'), u;
@@ -77987,7 +78004,7 @@ Required: ` + u.join(", "));
77987
78004
  var f = Ue(yo, u);
77988
78005
  return jm(be.fromDom(r.container()), Fs, f).filter(oO);
77989
78006
  }, $5 = function(r, u, f) {
77990
- return u ? j6(r.dom, f) : a5(r.dom, f);
78007
+ return u ? j8(r.dom, f) : a5(r.dom, f);
77991
78008
  }, F5 = function(r, u) {
77992
78009
  var f = be.fromDom(r.getBody()), p = un.fromRangeStart(r.selection.getRng()), _ = Oi(r), C = iv(r);
77993
78010
  return lO(p, f).exists(function() {
@@ -78033,7 +78050,7 @@ Required: ` + u.join(", "));
78033
78050
  });
78034
78051
  }, Im = function(r, u) {
78035
78052
  var f = u ? 1 : -1, p = r.selection.getRng();
78036
- return J6(r, f, p, Cr, uo, es).exists(function(_) {
78053
+ return J8(r, f, p, Cr, uo, es).exists(function(_) {
78037
78054
  return di(r, _), !0;
78038
78055
  });
78039
78056
  }, lx = function(r, u) {
@@ -78350,11 +78367,11 @@ Required: ` + u.join(", "));
78350
78367
  Yg([
78351
78368
  {
78352
78369
  keyCode: Pr.BACKSPACE,
78353
- action: Eo(L6, r)
78370
+ action: Eo(L8, r)
78354
78371
  },
78355
78372
  {
78356
78373
  keyCode: Pr.DELETE,
78357
- action: Eo(L6, r)
78374
+ action: Eo(L8, r)
78358
78375
  }
78359
78376
  ], u);
78360
78377
  }, px = function(r, u) {
@@ -78737,7 +78754,7 @@ Required: ` + u.join(", "));
78737
78754
  MO(r, u);
78738
78755
  }, ve);
78739
78756
  }, uT = function(r, u) {
78740
- u.isDefaultPrevented() || (u.preventDefault(), h6(r.undoManager), r.undoManager.transact(function() {
78757
+ u.isDefaultPrevented() || (u.preventDefault(), h8(r.undoManager), r.undoManager.transact(function() {
78741
78758
  r.selection.isCollapsed() === !1 && r.execCommand("Delete"), ey(r, u);
78742
78759
  }));
78743
78760
  }, cT = function(r) {
@@ -78938,7 +78955,7 @@ Required: ` + u.join(", "));
78938
78955
  return u.setEnd(A.container(), A.offset());
78939
78956
  });
78940
78957
  }
78941
- r.selection.setRng(D8(u));
78958
+ r.selection.setRng(D6(u));
78942
78959
  }, f7 = function(r) {
78943
78960
  r.on("click", function(u) {
78944
78961
  u.detail >= 3 && Ex(r);
@@ -79213,7 +79230,7 @@ Required: ` + u.join(", "));
79213
79230
  }, ot = function() {
79214
79231
  r.on("mouseup", function(Gn) {
79215
79232
  var ir = Oe();
79216
- ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M6(r, ir, !1).each(ke);
79233
+ ir.collapsed && ck(r, Gn.clientX, Gn.clientY) && M8(r, ir, !1).each(ke);
79217
79234
  }), r.on("click", function(Gn) {
79218
79235
  var ir = ty(r, Gn.target);
79219
79236
  ir && (Dm(ir) && (Gn.preventDefault(), r.focus()), kx(ir) && f.isChildOf(ir, u.getNode()) && Hn());
@@ -79743,7 +79760,7 @@ Required: ` + u.join(", "));
79743
79760
  }
79744
79761
  }), 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);
79745
79762
  var A = i7(r);
79746
- UD(r, A), YD(r), D6(r), q2(r), yS(r).fold(function() {
79763
+ UD(r, A), YD(r), D8(r), q2(r), yS(r).fold(function() {
79747
79764
  F3(r);
79748
79765
  }, function(P) {
79749
79766
  r.setProgressState(!0), P.then(function(M) {
@@ -79799,7 +79816,7 @@ Required: ` + u.join(", "));
79799
79816
  var C = new p(r, _, r.$);
79800
79817
  r.plugins[f] = C, C.init && (C.init(r, _), u.push(f));
79801
79818
  } catch (A) {
79802
- k6(r, f, A);
79819
+ k8(r, f, A);
79803
79820
  }
79804
79821
  }
79805
79822
  }, NT = function(r) {
@@ -79861,7 +79878,7 @@ Required: ` + u.join(", "));
79861
79878
  editorContainer: u.editorContainer,
79862
79879
  iframeContainer: u.iframeContainer
79863
79880
  };
79864
- return r.editorContainer = f.editorContainer ? f.editorContainer : null, N6(r), r.inline ? V3(r) : j7(r, f);
79881
+ return r.editorContainer = f.editorContainer ? f.editorContainer : null, N8(r), r.inline ? V3(r) : j7(r, f);
79865
79882
  }, Om = ua.DOM, z3 = function(r) {
79866
79883
  return r.charAt(0) === "-";
79867
79884
  }, J7 = function(r, u) {
@@ -80013,7 +80030,7 @@ Required: ` + u.join(", "));
80013
80030
  }, _ = function(C) {
80014
80031
  return yo(be.fromDom(u), C);
80015
80032
  };
80016
- return L8(be.fromDom(f), function(C) {
80033
+ return L6(be.fromDom(f), function(C) {
80017
80034
  return p(C);
80018
80035
  }, _);
80019
80036
  }, aB = function(r) {
@@ -80068,7 +80085,7 @@ Required: ` + u.join(", "));
80068
80085
  }).getOr("");
80069
80086
  }, dB = function(r) {
80070
80087
  return Zg(r, function(u) {
80071
- var f = be.fromDom(r.getBody()), p = L8(u, function(C) {
80088
+ var f = be.fromDom(r.getBody()), p = L6(u, function(C) {
80072
80089
  return ea(C, "line-height");
80073
80090
  }, Ue(yo, f)), _ = function() {
80074
80091
  var C = parseFloat(Zr(u, "line-height")), A = parseFloat(Zr(u, "font-size"));
@@ -87044,7 +87061,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87044
87061
  return c4(a, v, c, -1);
87045
87062
  }, Cc = function(a, c, v) {
87046
87063
  return c4(a, v, c, 1);
87047
- }, e8 = [
87064
+ }, e6 = [
87048
87065
  bi("selectors", [
87049
87066
  nt("row"),
87050
87067
  nt("cell")
@@ -87060,11 +87077,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
87060
87077
  b.each(function(x) {
87061
87078
  c.focusManager.set(a, x);
87062
87079
  });
87063
- }, t8 = function(a, c, v) {
87080
+ }, t6 = function(a, c, v) {
87064
87081
  return El(a.element).bind(function(b) {
87065
87082
  return v.execute(a, c, b);
87066
87083
  });
87067
- }, n8 = function(a, c) {
87084
+ }, n6 = function(a, c) {
87068
87085
  return Ge(a, function(v) {
87069
87086
  return Hl(v, c.selectors.cell);
87070
87087
  });
@@ -87076,7 +87093,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87076
87093
  return Z2(F, b).bind(function(L) {
87077
87094
  var G = Hl(v, x.selectors.row);
87078
87095
  return Z2(G, D).bind(function(Z) {
87079
- var ee = n8(G, x);
87096
+ var ee = n6(G, x);
87080
87097
  return N(ee, Z, L).map(function(fe) {
87081
87098
  return fe.cell;
87082
87099
  });
@@ -87084,13 +87101,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
87084
87101
  });
87085
87102
  });
87086
87103
  };
87087
- }, vg = rd(dg, d4), p4 = rd(fg, wc), r8 = rd(hg, QC), Av = rd(f4, Cc), o8 = V([
87104
+ }, vg = rd(dg, d4), p4 = rd(fg, wc), r6 = rd(hg, QC), Av = rd(f4, Cc), o6 = V([
87088
87105
  Co(ho(ng), ag(vg, p4)),
87089
87106
  Co(ho(ch), om(vg, p4)),
87090
- Co(ho(em), ig(r8)),
87107
+ Co(ho(em), ig(r6)),
87091
87108
  Co(ho(of), Zb(Av)),
87092
- Co(ho(ls.concat(bc)), t8)
87093
- ]), a8 = V([Co(ho(ls), Sv)]), i8 = Vu(e8, bl.init, o8, a8, function() {
87109
+ Co(ho(ls.concat(bc)), t6)
87110
+ ]), a6 = V([Co(ho(ls), Sv)]), i6 = Vu(e6, bl.init, o6, a6, function() {
87094
87111
  return U.some(h4);
87095
87112
  }), m4 = [
87096
87113
  nt("selector"),
@@ -87100,7 +87117,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87100
87117
  return v.focusManager.get(a).bind(function(b) {
87101
87118
  return v.execute(a, c, b);
87102
87119
  });
87103
- }, l8 = function(a, c, v) {
87120
+ }, l6 = function(a, c, v) {
87104
87121
  rl(a.element, c.selector).each(function(b) {
87105
87122
  c.focusManager.set(a, b);
87106
87123
  });
@@ -87112,7 +87129,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87112
87129
  return v.moveOnTab ? ed(g4)(a, c, v, b) : U.none();
87113
87130
  }, _4 = function(a, c, v, b) {
87114
87131
  return v.moveOnTab ? ed(lm)(a, c, v, b) : U.none();
87115
- }, s8 = V([
87132
+ }, s6 = V([
87116
87133
  Co(ho(em), ed(g4)),
87117
87134
  Co(ho(of), ed(lm)),
87118
87135
  Co(ou([
@@ -87125,8 +87142,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
87125
87142
  ]), _4),
87126
87143
  Co(ho(bc), Iv),
87127
87144
  Co(ho(ls), Iv)
87128
- ]), u8 = V([Co(ho(ls), Sv)]), c8 = Vu(m4, bl.init, s8, u8, function() {
87129
- return U.some(l8);
87145
+ ]), u6 = V([Co(ho(ls), Sv)]), c6 = Vu(m4, bl.init, s6, u6, function() {
87146
+ return U.some(l6);
87130
87147
  }), od = [
87131
87148
  Ya("onSpace"),
87132
87149
  Ya("onEnter"),
@@ -87166,11 +87183,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
87166
87183
  Co(ho(ls), v.onSpace),
87167
87184
  Co(ho(Qp), v.onEscape)
87168
87185
  ];
87169
- }, f8 = function(a, c, v) {
87186
+ }, f6 = function(a, c, v) {
87170
87187
  return v.stopSpaceKeyup ? [Co(ho(ls), Sv)] : [];
87171
- }, l_ = Vu(od, bl.init, y4, f8, function(a) {
87188
+ }, l_ = Vu(od, bl.init, y4, f6, function(a) {
87172
87189
  return a.focusIn;
87173
- }), 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({
87190
+ }), b4 = FC.schema(), w4 = VC.schema(), s_ = s4.schema(), C4 = YC.schema(), u_ = i6.schema(), x4 = zC.schema(), Dv = c6.schema(), c_ = l_.schema(), Ov = /* @__PURE__ */ Object.freeze({
87174
87191
  __proto__: null,
87175
87192
  acyclic: b4,
87176
87193
  cyclic: w4,
@@ -87205,7 +87222,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87205
87222
  }
87206
87223
  },
87207
87224
  state: dh
87208
- }), d8 = function(a, c, v, b) {
87225
+ }), d6 = function(a, c, v, b) {
87209
87226
  J0(function() {
87210
87227
  var x = Ge(b, a.getSystem().build);
87211
87228
  Jd(a, x);
@@ -87233,24 +87250,24 @@ Components: ` + JSON.stringify(c.components, null, 2));
87233
87250
  }, F);
87234
87251
  }), D;
87235
87252
  });
87236
- }, h8 = function(a, c, v, b, x) {
87253
+ }, h6 = function(a, c, v, b, x) {
87237
87254
  var N = gg(a);
87238
87255
  return at(N, b).bind(function(D) {
87239
87256
  return E4(a, c, v, D, x);
87240
87257
  });
87241
- }, v8 = /* @__PURE__ */ Object.freeze({
87258
+ }, v6 = /* @__PURE__ */ Object.freeze({
87242
87259
  __proto__: null,
87243
87260
  append: au,
87244
87261
  prepend: d_,
87245
87262
  remove: lf,
87246
87263
  replaceAt: E4,
87247
- replaceBy: h8,
87248
- set: d8,
87264
+ replaceBy: h6,
87265
+ set: d6,
87249
87266
  contents: gg
87250
87267
  }), Qr = Fa({
87251
87268
  fields: [],
87252
87269
  name: "replacing",
87253
- apis: v8
87270
+ apis: v6
87254
87271
  }), h_ = function(a, c) {
87255
87272
  var v = Oo(c);
87256
87273
  return Fa({
@@ -87272,14 +87289,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
87272
87289
  };
87273
87290
  }, S4 = function(a, c) {
87274
87291
  c.ignore || (zs(a.element), c.onFocus(a));
87275
- }, p8 = function(a, c) {
87292
+ }, p6 = function(a, c) {
87276
87293
  c.ignore || Lw(a.element);
87277
87294
  }, _g = function(a) {
87278
87295
  return w1(a.element);
87279
- }, m8 = /* @__PURE__ */ Object.freeze({
87296
+ }, m6 = /* @__PURE__ */ Object.freeze({
87280
87297
  __proto__: null,
87281
87298
  focus: S4,
87282
- blur: p8,
87299
+ blur: p6,
87283
87300
  isFocused: _g
87284
87301
  }), k4 = function(a, c) {
87285
87302
  var v = c.ignore ? {} : { attributes: { tabindex: "-1" } };
@@ -87290,20 +87307,20 @@ Components: ` + JSON.stringify(c.components, null, 2));
87290
87307
  })].concat(a.stopMousedown ? [wn(Ks(), function(c, v) {
87291
87308
  v.event.prevent();
87292
87309
  })] : []));
87293
- }, g8 = /* @__PURE__ */ Object.freeze({
87310
+ }, g6 = /* @__PURE__ */ Object.freeze({
87294
87311
  __proto__: null,
87295
87312
  exhibit: k4,
87296
87313
  events: v_
87297
- }), _8 = [
87314
+ }), _6 = [
87298
87315
  Mo("onFocus"),
87299
87316
  Ot("stopMousedown", !1),
87300
87317
  Ot("ignore", !1)
87301
87318
  ], Gr = Fa({
87302
- fields: _8,
87319
+ fields: _6,
87303
87320
  name: "focusing",
87304
- active: g8,
87305
- apis: m8
87306
- }), y8 = function(a) {
87321
+ active: g6,
87322
+ apis: m6
87323
+ }), y6 = function(a) {
87307
87324
  var c = function() {
87308
87325
  var v = jn(a), b = function() {
87309
87326
  return v.get();
@@ -87389,7 +87406,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87389
87406
  name: "toggling",
87390
87407
  active: _e,
87391
87408
  apis: W,
87392
- state: y8(!1)
87409
+ state: y6(!1)
87393
87410
  }), tn = function() {
87394
87411
  var a = function(c, v) {
87395
87412
  v.stop(), Nf(c);
@@ -87633,7 +87650,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87633
87650
  Ot("fakeFocus", !1),
87634
87651
  Ot("focusManager", Qf()),
87635
87652
  Mo("onHighlight")
87636
- ]), T4 = V("alloy.menu-focus"), b8 = function(a, c, v, b) {
87653
+ ]), T4 = V("alloy.menu-focus"), b6 = function(a, c, v, b) {
87637
87654
  return {
87638
87655
  uid: a.uid,
87639
87656
  dom: a.dom,
@@ -87676,7 +87693,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
87676
87693
  name: "Menu",
87677
87694
  configFields: yg(),
87678
87695
  partFields: sf(),
87679
- factory: b8
87696
+ factory: b6
87680
87697
  }), bg = function(a) {
87681
87698
  return da(a, function(c, v) {
87682
87699
  return {
@@ -88044,7 +88061,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
88044
88061
  menus: ge(a, c),
88045
88062
  expansions: {}
88046
88063
  };
88047
- }, w8 = function(a) {
88064
+ }, w6 = function(a) {
88048
88065
  return {
88049
88066
  value: Tr(Yx()),
88050
88067
  meta: { text: a }
@@ -88094,7 +88111,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
88094
88111
  extraApis: {
88095
88112
  tieredData: Xx,
88096
88113
  singleData: kN,
88097
- collapseItem: w8
88114
+ collapseItem: w6
88098
88115
  }
88099
88116
  }), TN = function(a, c, v, b, x) {
88100
88117
  var N = function() {
@@ -88733,7 +88750,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
88733
88750
  }, rE = function(a) {
88734
88751
  return a !== "" && `  \f
88735
88752
  \r \v`.indexOf(a) !== -1;
88736
- }, C8 = function(a, c) {
88753
+ }, C6 = function(a, c) {
88737
88754
  return a.substring(c.length);
88738
88755
  }, gm = function(a, c, v) {
88739
88756
  var b;
@@ -88756,13 +88773,13 @@ Components: ` + JSON.stringify(c.components, null, 2));
88756
88773
  if (F.setStart(D.container, D.offset), F.setEnd(c.endContainer, c.endOffset), F.collapsed)
88757
88774
  return U.none();
88758
88775
  var L = nE(F), G = L.lastIndexOf(v);
88759
- return G !== 0 || C8(L, v).length < b ? U.none() : U.some({
88760
- text: C8(L, v),
88776
+ return G !== 0 || C6(L, v).length < b ? U.none() : U.some({
88777
+ text: C6(L, v),
88761
88778
  range: F,
88762
88779
  triggerChar: v
88763
88780
  });
88764
88781
  });
88765
- }, x8 = function(a, c, v, b) {
88782
+ }, x6 = function(a, c, v, b) {
88766
88783
  return b === void 0 && (b = 0), D4(rr.fromDom(c.startContainer)).fold(function() {
88767
88784
  return w_(a, c, v, b);
88768
88785
  }, function(x) {
@@ -88771,11 +88788,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
88771
88788
  var D = nE(N);
88772
88789
  return U.some({
88773
88790
  range: N,
88774
- text: C8(D, v),
88791
+ text: C6(D, v),
88775
88792
  triggerChar: v
88776
88793
  });
88777
88794
  });
88778
- }, E8 = function(a, c) {
88795
+ }, E6 = function(a, c) {
88779
88796
  c.on("keypress compositionend", a.onKeypress.throttle), c.on("remove", a.onKeypress.cancel);
88780
88797
  var v = function(b, x) {
88781
88798
  _r(b, lp(), { raw: x });
@@ -88794,14 +88811,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
88794
88811
  }), c.on("NodeChange", function(b) {
88795
88812
  a.isActive() && !a.isProcessingAction() && D4(rr.fromDom(b.element)).isNone() && a.cancelIfNecessary();
88796
88813
  });
88797
- }, VN = { setup: E8 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
88814
+ }, VN = { setup: E6 }, Bv = tinymce.util.Tools.resolve("tinymce.util.Promise"), _m = function(a, c) {
88798
88815
  return {
88799
88816
  container: a,
88800
88817
  offset: c
88801
88818
  };
88802
88819
  }, oE = function(a) {
88803
88820
  return a.nodeType === Nh;
88804
- }, S8 = function(a) {
88821
+ }, S6 = function(a) {
88805
88822
  return a.nodeType === Cf;
88806
88823
  }, aE = function(a) {
88807
88824
  if (oE(a))
@@ -88810,7 +88827,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
88810
88827
  return c.length > 0 ? aE(c[c.length - 1]) : _m(a, c.length);
88811
88828
  }, C_ = function(a, c) {
88812
88829
  var v = a.childNodes;
88813
- 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);
88830
+ return v.length > 0 && c < v.length ? C_(v[c], 0) : v.length > 0 && S6(a) && v.length === c ? aE(v[v.length - 1]) : _m(a, c);
88814
88831
  }, LN = function(a, c) {
88815
88832
  return eE(a, c.container, c.offset, function(v, b) {
88816
88833
  return b === 0 ? -1 : b;
@@ -88825,7 +88842,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
88825
88842
  };
88826
88843
  }, zN = function(a, c, v) {
88827
88844
  return dn(v.triggerChars, function(b) {
88828
- return x8(a, c, b);
88845
+ return x6(a, c, b);
88829
88846
  });
88830
88847
  }, iE = function(a, c) {
88831
88848
  var v = c(), b = a.selection.getRng();
@@ -88899,7 +88916,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
88899
88916
  mo("onAction")
88900
88917
  ].concat(Eg)), dE = function(a) {
88901
88918
  return Vo("toolbarbutton", fE, a);
88902
- }, k8 = [Ho("active", !1)].concat(Eg), qN = wt(k8.concat([
88919
+ }, k6 = [Ho("active", !1)].concat(Eg), qN = wt(k6.concat([
88903
88920
  Yn("type"),
88904
88921
  mo("onAction")
88905
88922
  ])), hE = function(a) {
@@ -88920,14 +88937,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
88920
88937
  Ot("primary", !1),
88921
88938
  mo("onAction"),
88922
88939
  vi("original", z)
88923
- ]), T8 = k8.concat([
88940
+ ]), T6 = k6.concat([
88924
88941
  Ot("type", "contextformbutton"),
88925
88942
  Ot("primary", !1),
88926
88943
  mo("onAction"),
88927
88944
  vi("original", z)
88928
- ]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k8.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
88945
+ ]), KN = Eg.concat([Ot("type", "contextformbutton")]), O4 = k6.concat([Ot("type", "contextformtogglebutton")]), YN = yi("type", {
88929
88946
  contextformbutton: pE,
88930
- contextformtogglebutton: T8
88947
+ contextformtogglebutton: T6
88931
88948
  }), XN = wt([
88932
88949
  Ot("type", "contextform"),
88933
88950
  Qo("initValue", function() {
@@ -88970,18 +88987,18 @@ Components: ` + JSON.stringify(c.components, null, 2));
88970
88987
  triggerChars: b,
88971
88988
  lookupByChar: N
88972
88989
  };
88973
- }, N8;
88990
+ }, N6;
88974
88991
  (function(a) {
88975
88992
  a[a.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", a[a.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
88976
- })(N8 || (N8 = {}));
88977
- var uf = N8, Sg = "tox-menu-nav__js", A8 = "tox-collection__item", I8 = "tox-swatch", D8 = {
88993
+ })(N6 || (N6 = {}));
88994
+ var uf = N6, Sg = "tox-menu-nav__js", A6 = "tox-collection__item", I6 = "tox-swatch", D6 = {
88978
88995
  normal: Sg,
88979
- color: I8
88980
- }, 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) {
88981
- return cr(D8, a).getOr(Sg);
88996
+ color: I6
88997
+ }, gE = "tox-collection__item--enabled", tA = "tox-collection__group-heading", nA = "tox-collection__item-icon", O6 = "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", B6 = "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) {
88998
+ return cr(D6, a).getOr(Sg);
88982
88999
  }, cA = function(a) {
88983
89000
  return a === "color" ? "tox-swatches" : "tox-menu";
88984
- }, P8 = function(a) {
89001
+ }, P6 = function(a) {
88985
89002
  return {
88986
89003
  backgroundMenu: "tox-background-menu",
88987
89004
  selectedMenu: "tox-selected-menu",
@@ -88991,7 +89008,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
88991
89008
  tieredMenu: "tox-tiered-menu"
88992
89009
  };
88993
89010
  }, kg = function(a) {
88994
- var c = P8(a);
89011
+ var c = P6(a);
88995
89012
  return {
88996
89013
  backgroundMenu: c.backgroundMenu,
88997
89014
  selectedMenu: c.selectedMenu,
@@ -89000,7 +89017,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89000
89017
  item: CE(a)
89001
89018
  };
89002
89019
  }, fA = function(a, c, v) {
89003
- var b = P8(v);
89020
+ var b = P6(v);
89004
89021
  return {
89005
89022
  tag: "div",
89006
89023
  classes: zt([
@@ -89011,8 +89028,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
89011
89028
  a ? [b.hasIcons] : []
89012
89029
  ])
89013
89030
  };
89014
- }, M8 = [id.parts.items({})], B4 = function(a, c, v) {
89015
- var b = P8(v), x = {
89031
+ }, M6 = [id.parts.items({})], B4 = function(a, c, v) {
89032
+ var b = P6(v), x = {
89016
89033
  tag: "div",
89017
89034
  classes: zt([[b.tieredMenu]])
89018
89035
  };
@@ -89020,7 +89037,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89020
89037
  dom: x,
89021
89038
  markers: kg(v)
89022
89039
  };
89023
- }, R8 = function(a, c) {
89040
+ }, R6 = function(a, c) {
89024
89041
  return function(v) {
89025
89042
  var b = me(v, c);
89026
89043
  return Ge(b, function(x) {
@@ -89045,7 +89062,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89045
89062
  classes: ["tox-swatches"]
89046
89063
  },
89047
89064
  components: [id.parts.items({
89048
- preprocess: a !== "auto" ? R8({
89065
+ preprocess: a !== "auto" ? R6({
89049
89066
  tag: "div",
89050
89067
  classes: ["tox-swatches__row"]
89051
89068
  }, a) : z
@@ -89064,7 +89081,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89064
89081
  ]
89065
89082
  },
89066
89083
  components: [id.parts.items({
89067
- preprocess: R8({
89084
+ preprocess: R6({
89068
89085
  tag: "div",
89069
89086
  classes: ["tox-collection__group"]
89070
89087
  }, a)
@@ -89083,7 +89100,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89083
89100
  components: x
89084
89101
  };
89085
89102
  });
89086
- }, $8 = function(a, c, v) {
89103
+ }, $6 = function(a, c, v) {
89087
89104
  return {
89088
89105
  dom: {
89089
89106
  tag: "div",
@@ -89094,7 +89111,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89094
89111
  },
89095
89112
  components: [id.parts.items({
89096
89113
  preprocess: function(b) {
89097
- return a !== "auto" && a > 1 ? R8({
89114
+ return a !== "auto" && a > 1 ? R6({
89098
89115
  tag: "div",
89099
89116
  classes: ["tox-collection__group"]
89100
89117
  }, a)(b) : xE(b, function(x, N) {
@@ -89134,7 +89151,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89134
89151
  components: N.components,
89135
89152
  items: v
89136
89153
  };
89137
- }, F8 = function(a, c, v, b, x) {
89154
+ }, F6 = function(a, c, v, b, x) {
89138
89155
  if (x === "color") {
89139
89156
  var N = dA(b);
89140
89157
  return {
@@ -89145,7 +89162,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89145
89162
  };
89146
89163
  }
89147
89164
  if (x === "normal" && b === "auto") {
89148
- var N = $8(b, v);
89165
+ var N = $6(b, v);
89149
89166
  return {
89150
89167
  value: a,
89151
89168
  dom: N.dom,
@@ -89154,7 +89171,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89154
89171
  };
89155
89172
  }
89156
89173
  if (x === "normal" && b === 1) {
89157
- var N = $8(1, v);
89174
+ var N = $6(1, v);
89158
89175
  return {
89159
89176
  value: a,
89160
89177
  dom: N.dom,
@@ -89163,7 +89180,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89163
89180
  };
89164
89181
  }
89165
89182
  if (x === "normal") {
89166
- var N = $8(b, v);
89183
+ var N = $6(b, v);
89167
89184
  return {
89168
89185
  value: a,
89169
89186
  dom: N.dom,
@@ -89183,15 +89200,15 @@ Components: ` + JSON.stringify(c.components, null, 2));
89183
89200
  return {
89184
89201
  value: a,
89185
89202
  dom: fA(c, b, x),
89186
- components: M8,
89203
+ components: M6,
89187
89204
  items: v
89188
89205
  };
89189
- }, V8 = [
89206
+ }, V6 = [
89190
89207
  Yn("type"),
89191
89208
  Yn("src"),
89192
89209
  jo("alt"),
89193
89210
  mu("classes", [], Ut)
89194
- ], mA = wt(V8), gA = [
89211
+ ], mA = wt(V6), gA = [
89195
89212
  Yn("type"),
89196
89213
  Yn("text"),
89197
89214
  jo("name"),
@@ -89239,9 +89256,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
89239
89256
  Yn("type"),
89240
89257
  So("fancytype", EE),
89241
89258
  Qo("onAction", R)
89242
- ]), L8 = function(a) {
89259
+ ]), L6 = function(a) {
89243
89260
  return Vo("fancymenuitem", EA, a);
89244
- }, U8 = wt([
89261
+ }, U6 = wt([
89245
89262
  Yn("type"),
89246
89263
  Qo("onSetup", function() {
89247
89264
  return R;
@@ -89249,8 +89266,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
89249
89266
  Qo("onAction", R),
89250
89267
  jo("icon")
89251
89268
  ].concat(Pv)), SE = function(a) {
89252
- return Vo("menuitem", U8, a);
89253
- }, z8 = wt([
89269
+ return Vo("menuitem", U6, a);
89270
+ }, z6 = wt([
89254
89271
  Yn("type"),
89255
89272
  mo("getSubmenuItems"),
89256
89273
  Qo("onSetup", function() {
@@ -89258,7 +89275,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89258
89275
  }),
89259
89276
  jo("icon")
89260
89277
  ].concat(Pv)), kE = function(a) {
89261
- return Vo("nestedmenuitem", z8, a);
89278
+ return Vo("nestedmenuitem", z6, a);
89262
89279
  }, TE = wt([
89263
89280
  Yn("type"),
89264
89281
  jo("icon"),
@@ -89365,7 +89382,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89365
89382
  })
89366
89383
  ]
89367
89384
  ]));
89368
- }, H8 = /* @__PURE__ */ Object.freeze({
89385
+ }, H6 = /* @__PURE__ */ Object.freeze({
89369
89386
  __proto__: null,
89370
89387
  events: OE
89371
89388
  }), TA = [
@@ -89404,7 +89421,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89404
89421
  }),
89405
89422
  Mo("onHide"),
89406
89423
  Mo("onShow")
89407
- ], W8 = function() {
89424
+ ], W6 = function() {
89408
89425
  var a = jn(U.none()), c = jn(U.none()), v = function() {
89409
89426
  return c.get();
89410
89427
  }, b = function(G) {
@@ -89431,14 +89448,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
89431
89448
  resetTimer: D,
89432
89449
  readState: L
89433
89450
  });
89434
- }, j8 = /* @__PURE__ */ Object.freeze({
89451
+ }, j6 = /* @__PURE__ */ Object.freeze({
89435
89452
  __proto__: null,
89436
- init: W8
89453
+ init: W6
89437
89454
  }), BE = Fa({
89438
89455
  fields: TA,
89439
89456
  name: "tooltipping",
89440
- active: H8,
89441
- state: j8,
89457
+ active: H6,
89458
+ state: j6,
89442
89459
  apis: DE
89443
89460
  }), PE = function(a) {
89444
89461
  return a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
@@ -89448,9 +89465,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
89448
89465
  "textarea",
89449
89466
  "select"
89450
89467
  ], ME = function(a, c, v) {
89451
- var b = c.disabled() ? F4 : q8;
89468
+ var b = c.disabled() ? F4 : q6;
89452
89469
  b(a, c);
89453
- }, G8 = function(a, c) {
89470
+ }, G6 = function(a, c) {
89454
89471
  return c.useNative === !0 && Le(NA, bs(a.element));
89455
89472
  }, AA = function(a) {
89456
89473
  return yy(a.element, "disabled");
@@ -89468,26 +89485,26 @@ Components: ` + JSON.stringify(c.components, null, 2));
89468
89485
  c.disableClass.each(function(x) {
89469
89486
  ta(a.element, x);
89470
89487
  });
89471
- var b = G8(a, c) ? IA : $4;
89488
+ var b = G6(a, c) ? IA : $4;
89472
89489
  b(a), c.onDisabled(a);
89473
- }, q8 = function(a, c, v) {
89490
+ }, q6 = function(a, c, v) {
89474
89491
  c.disableClass.each(function(x) {
89475
89492
  Sa(a.element, x);
89476
89493
  });
89477
- var b = G8(a, c) ? DA : RE;
89494
+ var b = G6(a, c) ? DA : RE;
89478
89495
  b(a), c.onEnabled(a);
89479
89496
  }, $E = function(a, c) {
89480
- return G8(a, c) ? AA(a) : OA(a);
89481
- }, K8 = function(a, c, v, b) {
89482
- var x = b ? F4 : q8;
89497
+ return G6(a, c) ? AA(a) : OA(a);
89498
+ }, K6 = function(a, c, v, b) {
89499
+ var x = b ? F4 : q6;
89483
89500
  x(a, c);
89484
- }, Y8 = /* @__PURE__ */ Object.freeze({
89501
+ }, Y6 = /* @__PURE__ */ Object.freeze({
89485
89502
  __proto__: null,
89486
- enable: q8,
89503
+ enable: q6,
89487
89504
  disable: F4,
89488
89505
  isDisabled: $E,
89489
89506
  onLoad: ME,
89490
- set: K8
89507
+ set: K6
89491
89508
  }), FE = function(a, c) {
89492
89509
  return Vs({ classes: c.disabled() ? c.disableClass.toArray() : [] });
89493
89510
  }, VE = function(a, c) {
@@ -89511,7 +89528,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89511
89528
  fields: BA,
89512
89529
  name: "disabling",
89513
89530
  active: LE,
89514
- apis: Y8
89531
+ apis: Y6
89515
89532
  }), PA = tinymce.util.Tools.resolve("tinymce.EditorManager"), UE = function(a) {
89516
89533
  var c = a.getParam("skin"), v = a.getParam("skin_url");
89517
89534
  if (c !== !1) {
@@ -89533,17 +89550,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
89533
89550
  return U.from(a.getParam("min_height")).filter(O);
89534
89551
  }, L4 = function(a) {
89535
89552
  return U.from(a.getParam("max_width")).filter(O);
89536
- }, X8 = function(a) {
89553
+ }, X6 = function(a) {
89537
89554
  return U.from(a.getParam("max_height")).filter(O);
89538
89555
  }, jE = function(a) {
89539
89556
  return U.from(a.getParam("style_formats")).filter(d);
89540
- }, J8 = function(a) {
89557
+ }, J6 = function(a) {
89541
89558
  return a.getParam("style_formats_merge", !1, "boolean");
89542
89559
  }, GE = function(a) {
89543
89560
  return a.getParam("lineheight_formats", "1 1.1 1.2 1.3 1.4 1.5 2", "string").split(" ");
89544
89561
  }, MA = function(a) {
89545
89562
  return a.getParam("removed_menuitems", "");
89546
- }, Z8 = function(a) {
89563
+ }, Z6 = function(a) {
89547
89564
  return a.getParam("menubar", !0, "boolean") !== !1;
89548
89565
  }, Ag = function(a) {
89549
89566
  var c = a.getParam("toolbar", !0), v = c === !0, b = l(c), x = d(c) && c.length > 0;
@@ -89572,10 +89589,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
89572
89589
  })(bm || (bm = {}));
89573
89590
  var RA = function(a) {
89574
89591
  return a.getParam("toolbar_groups", {}, "object");
89575
- }, Q8 = function(a) {
89592
+ }, Q6 = function(a) {
89576
89593
  return a.getParam("toolbar_location", bm.auto, "string");
89577
- }, e6 = function(a) {
89578
- return Q8(a) === bm.bottom;
89594
+ }, e8 = function(a) {
89595
+ return Q6(a) === bm.bottom;
89579
89596
  }, $A = function(a) {
89580
89597
  return a.getParam("fixed_toolbar_container", "", "string");
89581
89598
  }, FA = function(a) {
@@ -89597,14 +89614,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
89597
89614
  return c.getOrThunk(function() {
89598
89615
  return Nd(mi(rr.fromDom(a.getElement())));
89599
89616
  });
89600
- }, t6 = function(a) {
89601
- return a.inline && !Z8(a) && !Ag(a) && !k_(a);
89617
+ }, t8 = function(a) {
89618
+ return a.inline && !Z6(a) && !Ag(a) && !k_(a);
89602
89619
  }, z4 = function(a) {
89603
89620
  var c = a.getParam("toolbar_sticky", !1, "boolean");
89604
- return (c || a.inline) && !U4(a) && !t6(a);
89621
+ return (c || a.inline) && !U4(a) && !t8(a);
89605
89622
  }, LA = function(a) {
89606
89623
  return a.getParam("draggable_modal", !1, "boolean");
89607
- }, n6 = function(a) {
89624
+ }, n8 = function(a) {
89608
89625
  var c = a.getParam("menu");
89609
89626
  return c ? Vr(c, function(v) {
89610
89627
  return ve(ve({}, v), { items: v.items });
@@ -89623,9 +89640,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
89623
89640
  return a.getParam("typeahead_urls") === !1;
89624
89641
  }, qA = function(a) {
89625
89642
  return a.getParam("anchor_top", "#top");
89626
- }, r6 = function(a) {
89643
+ }, r8 = function(a) {
89627
89644
  return a.getParam("anchor_bottom", "#bottom");
89628
- }, o6 = function(a) {
89645
+ }, o8 = function(a) {
89629
89646
  var c = a.getParam("file_picker_validator_handler", void 0, "function");
89630
89647
  return c === void 0 ? a.getParam("filepicker_validator_handler", void 0, "function") : c;
89631
89648
  }, H4 = "silver.readonly", KA = wt([io("readonly")]), wm = function(a, c) {
@@ -89687,16 +89704,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
89687
89704
  return ts(function(v) {
89688
89705
  return W4(a, v)(c.get());
89689
89706
  });
89690
- }, a6, XA = function(a, c) {
89707
+ }, a8, XA = function(a, c) {
89691
89708
  return tc(function(v, b) {
89692
89709
  W4(a, v)(a.onAction), !a.triggersSubmenu && c === uf.CLOSE_ON_EXECUTE && (v.getSystem().isConnected() && ko(v, cp()), b.stop());
89693
89710
  });
89694
- }, JA = (a6 = {}, a6[Pl()] = [
89711
+ }, JA = (a8 = {}, a8[Pl()] = [
89695
89712
  "disabling",
89696
89713
  "alloy.base.behaviour",
89697
89714
  "toggling",
89698
89715
  "item-events"
89699
- ], a6), Ig = function(a) {
89716
+ ], a8), Ig = function(a) {
89700
89717
  return Pt(a, function(c) {
89701
89718
  return c.toArray();
89702
89719
  });
@@ -89727,7 +89744,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89727
89744
  value: a.value,
89728
89745
  meta: ve({ text: a.text.getOr("") }, a.meta)
89729
89746
  };
89730
- }, i6 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
89747
+ }, i8 = tinymce.util.Tools.resolve("tinymce.Env"), QE = function(a) {
89731
89748
  var c = {
89732
89749
  alt: "&#x2325;",
89733
89750
  ctrl: "&#x2303;",
@@ -89737,11 +89754,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
89737
89754
  }, v = {
89738
89755
  meta: "Ctrl",
89739
89756
  access: "Shift+Alt"
89740
- }, b = i6.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
89757
+ }, b = i8.mac ? c : v, x = a.split("+"), N = Ge(x, function(D) {
89741
89758
  var F = D.toLowerCase().trim();
89742
89759
  return Po(b, F) ? b[F] : D;
89743
89760
  });
89744
- return i6.mac ? N.join("") : N.join("+");
89761
+ return i8.mac ? N.join("") : N.join("+");
89745
89762
  }, ZA = function(a) {
89746
89763
  return {
89747
89764
  dom: {
@@ -89754,7 +89771,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89754
89771
  return {
89755
89772
  dom: {
89756
89773
  tag: "div",
89757
- classes: [O8]
89774
+ classes: [O6]
89758
89775
  },
89759
89776
  components: [Vf(Lu.translate(a))]
89760
89777
  };
@@ -89770,7 +89787,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89770
89787
  return {
89771
89788
  dom: {
89772
89789
  tag: "div",
89773
- classes: [O8]
89790
+ classes: [O6]
89774
89791
  },
89775
89792
  components: [{
89776
89793
  dom: {
@@ -89813,7 +89830,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89813
89830
  }
89814
89831
  };
89815
89832
  }, tI = function(a, c) {
89816
- var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B8, x = function() {
89833
+ var v = a.direction === "vertical" ? iA : bE, b = a.align === "left" ? lA : B6, x = function() {
89817
89834
  switch (a.valign) {
89818
89835
  case "top":
89819
89836
  return sA;
@@ -89848,7 +89865,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89848
89865
  };
89849
89866
  }, rI = function(a, c, v, b) {
89850
89867
  var x = "custom", N = "remove", D = function() {
89851
- var F = I8, L = v.getOr(""), G = a.map(function(ee) {
89868
+ var F = I6, L = v.getOr(""), G = a.map(function(ee) {
89852
89869
  return { title: b.translate(ee) };
89853
89870
  }).getOr({}), Z = {
89854
89871
  tag: "div",
@@ -89879,14 +89896,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
89879
89896
  tag: "div",
89880
89897
  classes: [
89881
89898
  Sg,
89882
- A8
89899
+ A6
89883
89900
  ].concat(a ? [aA] : [])
89884
89901
  }, v);
89885
- }, l6 = function(a, c, v, b, x) {
89902
+ }, l8 = function(a, c, v, b, x) {
89886
89903
  var N = v ? c.or(U.some("")).map(ZA) : U.none(), D = a.checkMark, F = a.htmlContent.fold(function() {
89887
89904
  return a.textContent.map(b);
89888
89905
  }, function(G) {
89889
- return U.some(tS(G, [O8]));
89906
+ return U.some(tS(G, [O6]));
89890
89907
  }), L = {
89891
89908
  dom: oS(x, a.ariaLabel),
89892
89909
  optComponents: [
@@ -89924,8 +89941,8 @@ Components: ` + JSON.stringify(c.components, null, 2));
89924
89941
  }, function(L) {
89925
89942
  return Po(L, "style") ? re(QA, L.style) : eS;
89926
89943
  });
89927
- return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l6(a, D, v, F, N);
89928
- }, s6 = function(a, c) {
89944
+ return a.presets === "color" ? rI(a.ariaLabel, a.value, D, c) : l8(a, D, v, F, N);
89945
+ }, s8 = function(a, c) {
89929
89946
  return cr(a, "tooltipWorker").map(function(v) {
89930
89947
  return [BE.config({
89931
89948
  lazySink: c.getSink,
@@ -89984,7 +90001,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
89984
90001
  },
89985
90002
  onSetup: V(R),
89986
90003
  triggersSubmenu: !1,
89987
- itemBehaviours: s6(a.meta, D)
90004
+ itemBehaviours: s8(a.meta, D)
89988
90005
  }, L, N, D.providers);
89989
90006
  }, sS = function(a, c) {
89990
90007
  return Ge(a, function(v) {
@@ -90083,17 +90100,17 @@ Components: ` + JSON.stringify(c.components, null, 2));
90083
90100
  selected: a.active
90084
90101
  }
90085
90102
  });
90086
- }, u6 = Kp(ll(), qi()), uS = function(a) {
90103
+ }, u8 = Kp(ll(), qi()), uS = function(a) {
90087
90104
  return { value: a };
90088
90105
  }, 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) {
90089
90106
  return cS.test(a) || fS.test(a);
90090
- }, c6 = function(a) {
90107
+ }, c8 = function(a) {
90091
90108
  var c = a.value.replace(cS, function(v, b, x, N) {
90092
90109
  return b + b + x + x + N + N;
90093
90110
  });
90094
90111
  return { value: c };
90095
- }, f6 = function(a) {
90096
- var c = c6(a), v = fS.exec(c.value);
90112
+ }, f8 = function(a) {
90113
+ var c = c8(a), v = fS.exec(c.value);
90097
90114
  return v === null ? [
90098
90115
  "FFFFFF",
90099
90116
  "FF",
@@ -90106,14 +90123,14 @@ Components: ` + JSON.stringify(c.components, null, 2));
90106
90123
  }, G4 = function(a) {
90107
90124
  var c = D_(a.red) + D_(a.green) + D_(a.blue);
90108
90125
  return uS(c);
90109
- }, 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) {
90126
+ }, dS = Math.min, hS = Math.max, Cm = Math.round, d8 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, q4 = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Mv = function(a, c, v, b) {
90110
90127
  return {
90111
90128
  red: a,
90112
90129
  green: c,
90113
90130
  blue: v,
90114
90131
  alpha: b
90115
90132
  };
90116
- }, h6 = function(a) {
90133
+ }, h8 = function(a) {
90117
90134
  var c = parseInt(a, 10);
90118
90135
  return c.toString() === a && c >= 0 && c <= 255;
90119
90136
  }, vS = function(a) {
@@ -90145,7 +90162,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90145
90162
  }
90146
90163
  return c = Cm(255 * (c + Z)), v = Cm(255 * (v + Z)), b = Cm(255 * (b + Z)), Mv(c, v, b, 1);
90147
90164
  }, O_ = function(a) {
90148
- var c = f6(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
90165
+ var c = f8(a), v = parseInt(c[1], 16), b = parseInt(c[2], 16), x = parseInt(c[3], 16);
90149
90166
  return Mv(v, b, x, 1);
90150
90167
  }, pS = function(a, c, v, b) {
90151
90168
  var x = parseInt(a, 10), N = parseInt(c, 10), D = parseInt(v, 10), F = parseFloat(b);
@@ -90153,7 +90170,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90153
90170
  }, uI = function(a) {
90154
90171
  if (a === "transparent")
90155
90172
  return U.some(Mv(0, 0, 0, 0));
90156
- var c = d6.exec(a);
90173
+ var c = d8.exec(a);
90157
90174
  if (c !== null)
90158
90175
  return U.some(pS(c[1], c[2], c[3], "1"));
90159
90176
  var v = q4.exec(a);
@@ -90166,7 +90183,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90166
90183
  return a.fire("SkinLoadError", c);
90167
90184
  }, dI = function(a) {
90168
90185
  return a.fire("ResizeEditor");
90169
- }, v6 = function(a, c) {
90186
+ }, v8 = function(a, c) {
90170
90187
  return a.fire("ResizeContent", c);
90171
90188
  }, hI = function(a, c) {
90172
90189
  return a.fire("ScrollContent", c);
@@ -90301,7 +90318,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90301
90318
  text: "White",
90302
90319
  value: "#ffffff"
90303
90320
  }
90304
- ], yS = pI(10), p6 = function(a) {
90321
+ ], yS = pI(10), p8 = function(a) {
90305
90322
  var c = [], v = document.createElement("canvas");
90306
90323
  v.height = 1, v.width = 1;
90307
90324
  for (var b = v.getContext("2d"), x = function(F, L) {
@@ -90326,9 +90343,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
90326
90343
  return a.getParam("custom_colors") !== !1;
90327
90344
  }, gI = function(a) {
90328
90345
  return a.getParam("color_map");
90329
- }, m6 = function(a) {
90346
+ }, m8 = function(a) {
90330
90347
  var c = gI(a);
90331
- return c !== void 0 ? p6(c) : mI;
90348
+ return c !== void 0 ? p8(c) : mI;
90332
90349
  }, _I = function() {
90333
90350
  return Ge(yS.state(), function(a) {
90334
90351
  return {
@@ -90362,7 +90379,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90362
90379
  }, xI = function(a) {
90363
90380
  return Math.max(5, Math.ceil(Math.sqrt(a)));
90364
90381
  }, CS = function(a) {
90365
- var c = m6(a), v = xI(c.length);
90382
+ var c = m8(a), v = xI(c.length);
90366
90383
  return Xi(a, v);
90367
90384
  }, EI = function(a) {
90368
90385
  var c = "choiceitem", v = {
@@ -90380,7 +90397,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90380
90397
  v,
90381
90398
  b
90382
90399
  ] : [v];
90383
- }, g6 = function(a, c, v, b) {
90400
+ }, g8 = function(a, c, v, b) {
90384
90401
  if (v === "custom") {
90385
90402
  var x = NS(a);
90386
90403
  x(function(N) {
@@ -90414,12 +90431,12 @@ Components: ` + JSON.stringify(c.components, null, 2));
90414
90431
  }).getOr(!1);
90415
90432
  },
90416
90433
  columns: CS(a),
90417
- fetch: ES(m6(a), bS(a)),
90434
+ fetch: ES(m8(a), bS(a)),
90418
90435
  onAction: function(N) {
90419
- x.get() !== null && g6(a, v, x.get(), R);
90436
+ x.get() !== null && g8(a, v, x.get(), R);
90420
90437
  },
90421
90438
  onItemAction: function(N, D) {
90422
- g6(a, v, D, function(F) {
90439
+ g8(a, v, D, function(F) {
90423
90440
  x.set(F), vI(a, {
90424
90441
  name: c,
90425
90442
  color: F
@@ -90445,7 +90462,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90445
90462
  type: "fancymenuitem",
90446
90463
  fancytype: "colorswatch",
90447
90464
  onAction: function(x) {
90448
- g6(a, v, x.value, R);
90465
+ g8(a, v, x.value, R);
90449
90466
  }
90450
90467
  }];
90451
90468
  }
@@ -90498,9 +90515,9 @@ Components: ` + JSON.stringify(c.components, null, 2));
90498
90515
  CI(a);
90499
90516
  var c = jn(null), v = jn(null);
90500
90517
  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");
90501
- }, _6 = function(a, c, v, b, x, N, D, F) {
90518
+ }, _8 = function(a, c, v, b, x, N, D, F) {
90502
90519
  var L = P4(c), G = x !== "color" ? "normal" : "color", Z = kI(c, v, b, G, N, D, F);
90503
- return F8(a, L, Z, b, x);
90520
+ return F6(a, L, Z, b, x);
90504
90521
  }, kI = function(a, c, v, b, x, N, D) {
90505
90522
  return sh(Ge(a, function(F) {
90506
90523
  return F.type === "choiceitem" ? xA(F).fold(mh, function(L) {
@@ -90544,11 +90561,11 @@ Components: ` + JSON.stringify(c.components, null, 2));
90544
90561
  mode: "matrix",
90545
90562
  selectors: {
90546
90563
  row: c === "color" ? ".tox-swatches__row" : ".tox-collection__group",
90547
- cell: c === "color" ? "." + I8 : "." + A8
90564
+ cell: c === "color" ? "." + I6 : "." + A6
90548
90565
  }
90549
90566
  };
90550
90567
  }, NI = function(a, c) {
90551
- var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _6(Tr("menu-value"), v, function(F) {
90568
+ var v = xS(c.colorinput.getColors(), c.colorinput.hasCustomColors()), b = c.colorinput.getColorCols(), x = "color", N = _8(Tr("menu-value"), v, function(F) {
90552
90569
  a.onAction({ value: F });
90553
90570
  }, b, x, uf.CLOSE_ON_EXECUTE, le, c.shared.providers), D = ve(ve({}, N), {
90554
90571
  markers: kg(x),
@@ -90562,16 +90579,16 @@ Components: ` + JSON.stringify(c.components, null, 2));
90562
90579
  classes: ["tox-fancymenuitem"]
90563
90580
  },
90564
90581
  autofocus: !0,
90565
- components: [u6.widget(id.sketch(D))]
90582
+ components: [u8.widget(id.sketch(D))]
90566
90583
  };
90567
- }, AS = Tr("cell-over"), y6 = Tr("cell-execute"), AI = function(a, c, v) {
90584
+ }, AS = Tr("cell-over"), y8 = Tr("cell-execute"), AI = function(a, c, v) {
90568
90585
  var b, x = function(F) {
90569
90586
  return _r(F, AS, {
90570
90587
  row: a,
90571
90588
  col: c
90572
90589
  });
90573
90590
  }, N = function(F) {
90574
- return _r(F, y6, {
90591
+ return _r(F, y8, {
90575
90592
  row: a,
90576
90593
  col: c
90577
90594
  });
@@ -90632,7 +90649,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90632
90649
  classes: ["tox-fancymenuitem"]
90633
90650
  },
90634
90651
  autofocus: !0,
90635
- components: [u6.widget({
90652
+ components: [u8.widget({
90636
90653
  dom: {
90637
90654
  tag: "div",
90638
90655
  classes: ["tox-insert-table-picker"]
@@ -90644,7 +90661,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90644
90661
  var G = L.event.row, Z = L.event.col;
90645
90662
  DI(x, G, Z, c, v), Qr.set(N.get(D), [OI(G, Z)]);
90646
90663
  }),
90647
- Fs(y6, function(D, F, L) {
90664
+ Fs(y8, function(D, F, L) {
90648
90665
  a.onAction({
90649
90666
  numRows: L.event.row + 1,
90650
90667
  numColumns: L.event.col + 1
@@ -90742,7 +90759,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90742
90759
  dom: ve({
90743
90760
  tag: "div",
90744
90761
  classes: [
90745
- A8,
90762
+ A6,
90746
90763
  tA
90747
90764
  ]
90748
90765
  }, c),
@@ -90820,7 +90837,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90820
90837
  return U.some(MS(F));
90821
90838
  });
90822
90839
  case "fancymenuitem":
90823
- return L8(a).fold(mh, function(F) {
90840
+ return L6(a).fold(mh, function(F) {
90824
90841
  return UI(D(F), v);
90825
90842
  });
90826
90843
  default:
@@ -90841,7 +90858,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90841
90858
  Z.onAction(ee), v(Z.value, Z.meta);
90842
90859
  }
90843
90860
  }), x, N, {
90844
- itemBehaviours: s6(Z.meta, N),
90861
+ itemBehaviours: s8(Z.meta, N),
90845
90862
  cardText: {
90846
90863
  matchText: c,
90847
90864
  highlightOn: D
@@ -90855,7 +90872,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90855
90872
  });
90856
90873
  }
90857
90874
  }));
90858
- }, b6 = function(a, c, v, b, x) {
90875
+ }, b8 = function(a, c, v, b, x) {
90859
90876
  var N = P4(c), D = sh(Ge(c, function(L) {
90860
90877
  var G = function(ee) {
90861
90878
  return x ? !ee.hasOwnProperty("text") : N;
@@ -90863,7 +90880,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90863
90880
  return RS(ee, v, b, G(ee), x);
90864
90881
  };
90865
90882
  return L.type === "nestedmenuitem" && L.getSubmenuItems().length <= 0 ? Z(ve(ve({}, L), { disabled: !0 })) : Z(L);
90866
- })), F = x ? pA : F8;
90883
+ })), F = x ? pA : F6;
90867
90884
  return F(a, N, D, 1, "normal");
90868
90885
  }, $S = function(a) {
90869
90886
  return hm.singleData(a.value, a);
@@ -90888,7 +90905,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90888
90905
  });
90889
90906
  })])
90890
90907
  };
90891
- }, w6 = function(a, c) {
90908
+ }, w8 = function(a, c) {
90892
90909
  var v = jn(U.none()), b = jn(!1), x = Cl(Xa.sketch({
90893
90910
  dom: {
90894
90911
  tag: "div",
@@ -90923,7 +90940,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90923
90940
  var jt = rn.items;
90924
90941
  return HI(jt, rn.matchText, function(nn, Kt) {
90925
90942
  var En = a.selection.getRng();
90926
- x8(a.dom, En, qe).fold(function() {
90943
+ x6(a.dom, En, qe).fold(function() {
90927
90944
  return console.error("Lost context. Cursor probably moved");
90928
90945
  }, function(wr) {
90929
90946
  var Jn = wr.range, fn = {
@@ -90956,10 +90973,10 @@ Components: ` + JSON.stringify(c.components, null, 2));
90956
90973
  anchor: "node",
90957
90974
  root: rr.fromDom(a.getBody()),
90958
90975
  node: U.from(qe.element)
90959
- }, id.sketch(WI(F8("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
90976
+ }, id.sketch(WI(F6("autocompleter-value", !0, rn, jt, "normal"), jt, xm.ContentFocus, "normal"))), Xa.getContent(x).each(Go.highlightFirst);
90960
90977
  }, Te = function(qe) {
90961
90978
  return v.get().map(function(St) {
90962
- return x8(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
90979
+ return x6(a.dom, a.selection.getRng(), St.triggerChar).bind(function(At) {
90963
90980
  return lE(a, G, At, qe);
90964
90981
  });
90965
90982
  }).getOrThunk(function() {
@@ -90990,7 +91007,7 @@ Components: ` + JSON.stringify(c.components, null, 2));
90990
91007
  }
90991
91008
  };
90992
91009
  a.hasPlugin("rtc") === !1 && VN.setup(dt, a);
90993
- }, jI = { register: w6 }, FS = Pe, Tc = function(a, c, v) {
91010
+ }, jI = { register: w8 }, FS = Pe, Tc = function(a, c, v) {
90994
91011
  return D0(a, c, FS, v);
90995
91012
  }, P_ = function(a, c, v) {
90996
91013
  return Nw(a, c, FS, v);
@@ -91559,19 +91576,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
91559
91576
  name: "tabstopping",
91560
91577
  active: u9
91561
91578
  }), f9 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Mg = function(a, c, v, b) {
91562
- var x = C6(a, c, v, b);
91579
+ var x = C8(a, c, v, b);
91563
91580
  return zo.sketch(x);
91564
91581
  }, d9 = function(a, c) {
91565
91582
  return Mg(a, c, [], []);
91566
- }, C6 = function(a, c, v, b) {
91583
+ }, C8 = function(a, c, v, b) {
91567
91584
  return {
91568
- dom: x6(v),
91585
+ dom: x8(v),
91569
91586
  components: a.toArray().concat([c]),
91570
91587
  fieldBehaviours: Mn(b)
91571
91588
  };
91572
91589
  }, h9 = function() {
91573
- return x6([]);
91574
- }, x6 = function(a) {
91590
+ return x8([]);
91591
+ }, x8 = function(a) {
91575
91592
  return {
91576
91593
  tag: "div",
91577
91594
  classes: ["tox-form__group"].concat(a)
@@ -91584,7 +91601,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
91584
91601
  innerHtml: c.translate(a)
91585
91602
  }
91586
91603
  });
91587
- }, 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) {
91604
+ }, iu = Tr("form-component-change"), Rg = Tr("form-close"), cf = Tr("form-cancel"), ud = Tr("form-action"), R_ = Tr("form-submit"), E8 = Tr("form-block"), $g = Tr("form-unblock"), XS = Tr("form-tabchange"), JS = Tr("form-resize"), ZS = function(a, c) {
91588
91605
  var v, b = a.label.map(function(ee) {
91589
91606
  return Rv(ee, c);
91590
91607
  }), x = function(ee) {
@@ -92185,7 +92202,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92185
92202
  }, function(b) {
92186
92203
  return b.validate(a);
92187
92204
  });
92188
- }, S6 = function(a, c, v) {
92205
+ }, S8 = function(a, c, v) {
92189
92206
  return c.notify.each(function(b) {
92190
92207
  b.onValidate(a);
92191
92208
  }), uk(a, c).map(function(b) {
@@ -92203,14 +92220,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92203
92220
  markValid: lk,
92204
92221
  markInvalid: sk,
92205
92222
  query: uk,
92206
- run: S6,
92223
+ run: S8,
92207
92224
  isInvalid: b9
92208
92225
  }), w9 = function(a, c) {
92209
92226
  return a.validator.map(function(v) {
92210
92227
  return Oo([wn(v.onEvent, function(b) {
92211
- S6(b, a, c).get(z);
92228
+ S8(b, a, c).get(z);
92212
92229
  })].concat(v.validateOnLoad ? [Ra(function(b) {
92213
- S6(b, a, c).get(R);
92230
+ S8(b, a, c).get(R);
92214
92231
  })] : []));
92215
92232
  }).getOr({});
92216
92233
  }, C9 = /* @__PURE__ */ Object.freeze({
@@ -92340,7 +92357,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92340
92357
  })));
92341
92358
  });
92342
92359
  });
92343
- }, k6 = function(a, c, v, b, x, N, D) {
92360
+ }, k8 = function(a, c, v, b, x, N, D) {
92344
92361
  var F = t3(a, v), L = k9(a, c, F, v, b, x, D);
92345
92362
  return L.map(function(G) {
92346
92363
  return G.fold(function() {
@@ -92352,7 +92369,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92352
92369
  }, n3 = function(a, c, v, b, x, N, D) {
92353
92370
  return wo.close(b), sl.pure(b);
92354
92371
  }, Vg = function(a, c, v, b, x, N) {
92355
- var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k6;
92372
+ var D = Ga.getCoupled(v, "sandbox"), F = wo.isOpen(D), L = F ? n3 : k8;
92356
92373
  return L(a, c, v, D, b, x, N);
92357
92374
  }, T9 = function(a, c, v) {
92358
92375
  var b = To.getCurrent(c).getOr(c), x = Vl(a.element);
@@ -92373,11 +92390,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92373
92390
  };
92374
92391
  });
92375
92392
  });
92376
- }, T6 = function(a) {
92393
+ }, T8 = function(a) {
92377
92394
  wo.getState(a).each(function(c) {
92378
92395
  hm.repositionMenus(c);
92379
92396
  });
92380
- }, N6 = function(a, c, v) {
92397
+ }, N8 = function(a, c, v) {
92381
92398
  var b = lc(), x = function(F, L) {
92382
92399
  var G = t3(a, c);
92383
92400
  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);
@@ -92417,13 +92434,13 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92417
92434
  });
92418
92435
  }
92419
92436
  }),
92420
- il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T6 })) })
92437
+ il.config({ channels: ve(ve({}, hv({ isExtraPart: le })), E2({ doReposition: T8 })) })
92421
92438
  ])
92422
92439
  };
92423
- }, A6 = function(a) {
92440
+ }, A8 = function(a) {
92424
92441
  var c = Ga.getCoupled(a, "sandbox");
92425
- T6(c);
92426
- }, I6 = function() {
92442
+ T8(c);
92443
+ }, I8 = function() {
92427
92444
  return [
92428
92445
  Ot("sandboxClasses", []),
92429
92446
  is.field("sandboxBehaviours", [
@@ -92453,7 +92470,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92453
92470
  Ot("matchWidth", !1),
92454
92471
  Ot("useMinWidth", !1),
92455
92472
  Do("role")
92456
- ].concat(I6())), pk = V([
92473
+ ].concat(I8())), pk = V([
92457
92474
  tu({
92458
92475
  schema: [zf()],
92459
92476
  name: "menu",
@@ -92494,7 +92511,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92494
92511
  }, Z, b, R, Uu.HighlightFirst).get(R);
92495
92512
  },
92496
92513
  repositionMenus: function(Z) {
92497
- Vt.isOn(Z) && A6(Z);
92514
+ Vt.isOn(Z) && A8(Z);
92498
92515
  }
92499
92516
  }, G = function(Z, ee) {
92500
92517
  return Nf(Z), U.some(!0);
@@ -92511,7 +92528,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92511
92528
  Ga.config({
92512
92529
  others: {
92513
92530
  sandbox: function(Z) {
92514
- return N6(a, Z, {
92531
+ return N8(a, Z, {
92515
92532
  onOpen: function() {
92516
92533
  return Vt.on(Z);
92517
92534
  },
@@ -92615,7 +92632,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92615
92632
  return sl.nu(function(b) {
92616
92633
  return a.fetch(b);
92617
92634
  }).map(function(b) {
92618
- return U.from($S(to(_6(Tr("menu-value"), b, function(x) {
92635
+ return U.from($S(to(_8(Tr("menu-value"), b, function(x) {
92619
92636
  a.onItemAction(v, x);
92620
92637
  }, a.columns, a.presets, uf.CLOSE_ON_EXECUTE, le, c.providers), { movement: K4(a.columns, a.presets) })));
92621
92638
  });
@@ -92833,7 +92850,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92833
92850
  Ek
92834
92851
  ], F9 = "slider.change.value", L_ = V(F9), V9 = function(a) {
92835
92852
  return a.type.indexOf("touch") !== -1;
92836
- }, D6 = function(a) {
92853
+ }, D8 = function(a) {
92837
92854
  var c = a.event.raw;
92838
92855
  if (V9(c)) {
92839
92856
  var v = c;
@@ -92864,12 +92881,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92864
92881
  return a.model.maxY + 1;
92865
92882
  }, z_ = function(a, c, v) {
92866
92883
  return c(a) - v(a);
92867
- }, O6 = function(a) {
92884
+ }, O8 = function(a) {
92868
92885
  return z_(a, Nl, Sm);
92869
92886
  }, i3 = function(a) {
92870
92887
  return z_(a, Vv, lu);
92871
92888
  }, kk = function(a) {
92872
- return O6(a) / 2;
92889
+ return O8(a) / 2;
92873
92890
  }, Tk = function(a) {
92874
92891
  return i3(a) / 2;
92875
92892
  }, Lg = function(a) {
@@ -92892,7 +92909,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92892
92909
  return s3(a, Em);
92893
92910
  }, cd = function(a) {
92894
92911
  return a.model.value.get();
92895
- }, B6 = function(a) {
92912
+ }, B8 = function(a) {
92896
92913
  return { x: a };
92897
92914
  }, Pk = function(a) {
92898
92915
  return { y: a };
@@ -92912,7 +92929,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92912
92929
  }, Rk = function(a, c) {
92913
92930
  Ac(a, Lv(U_(c), o3(c)));
92914
92931
  }, $k = function(a, c) {
92915
- Ac(a, B6(U_(c)));
92932
+ Ac(a, B8(U_(c)));
92916
92933
  }, u3 = function(a, c) {
92917
92934
  Ac(a, Lv(U_(c), Tk(c)));
92918
92935
  }, j9 = function(a, c) {
@@ -92924,12 +92941,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92924
92941
  }, q9 = function(a, c) {
92925
92942
  Ac(a, Lv(r3(c), a3(c)));
92926
92943
  }, K9 = function(a, c) {
92927
- Ac(a, B6(r3(c)));
92944
+ Ac(a, B8(r3(c)));
92928
92945
  }, Y9 = function(a, c) {
92929
92946
  Ac(a, Lv(r3(c), Tk(c)));
92930
92947
  }, Ug = function(a, c, v, b) {
92931
92948
  return a < c ? a : a > v ? v : a === c ? c - 1 : Math.max(c, a - b);
92932
- }, P6 = function(a, c, v, b) {
92949
+ }, P8 = function(a, c, v, b) {
92933
92950
  return a > v ? a : a < c ? c : a === v ? v + 1 : Math.min(v, a + b);
92934
92951
  }, Vk = function(a, c, v) {
92935
92952
  return Math.max(c, Math.min(v, a));
@@ -92951,26 +92968,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92951
92968
  return je;
92952
92969
  var dt = X9(x, ee, fe), qe = Vk(dt / Te * b + c, ze, je);
92953
92970
  return D && qe >= c && qe <= v ? _h(qe, c, v, N, F) : L ? Math.round(qe) : qe;
92954
- }, M6 = function(a) {
92971
+ }, M8 = function(a) {
92955
92972
  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;
92956
92973
  return x < c ? N ? 0 : G : x > v ? D ? F : Z : (x - c) / b * L;
92957
- }, H_ = "top", Lk = "right", Uk = "bottom", R6 = "left", zk = "width", J9 = "height", zu = function(a) {
92974
+ }, H_ = "top", Lk = "right", Uk = "bottom", R8 = "left", zk = "width", J9 = "height", zu = function(a) {
92958
92975
  return a.element.dom.getBoundingClientRect();
92959
92976
  }, Ic = function(a, c) {
92960
92977
  return a[c];
92961
92978
  }, cs = function(a) {
92962
92979
  var c = zu(a);
92963
- return Ic(c, R6);
92980
+ return Ic(c, R8);
92964
92981
  }, Hk = function(a) {
92965
92982
  var c = zu(a);
92966
92983
  return Ic(c, Lk);
92967
92984
  }, c3 = function(a) {
92968
92985
  var c = zu(a);
92969
92986
  return Ic(c, H_);
92970
- }, $6 = function(a) {
92987
+ }, $8 = function(a) {
92971
92988
  var c = zu(a);
92972
92989
  return Ic(c, Uk);
92973
- }, F6 = function(a) {
92990
+ }, F8 = function(a) {
92974
92991
  var c = zu(a);
92975
92992
  return Ic(c, zk);
92976
92993
  }, Wk = function(a) {
@@ -92979,7 +92996,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92979
92996
  }, jk = function(a, c, v) {
92980
92997
  return (a + c) / 2 - v;
92981
92998
  }, Gk = function(a, c) {
92982
- var v = zu(a), b = zu(c), x = Ic(v, R6), N = Ic(v, Lk), D = Ic(b, R6);
92999
+ var v = zu(a), b = zu(c), x = Ic(v, R8), N = Ic(v, Lk), D = Ic(b, R8);
92983
93000
  return jk(x, N, D);
92984
93001
  }, qk = function(a, c) {
92985
93002
  var v = zu(a), b = zu(c), x = Ic(v, H_), N = Ic(v, Uk), D = Ic(b, H_);
@@ -92988,11 +93005,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
92988
93005
  _r(a, L_(), { value: c });
92989
93006
  }, d3 = function(a) {
92990
93007
  return { x: a };
92991
- }, V6 = function(a, c, v) {
93008
+ }, V8 = function(a, c, v) {
92992
93009
  var b = {
92993
93010
  min: Sm(c),
92994
93011
  max: Nl(c),
92995
- range: O6(c),
93012
+ range: O8(c),
92996
93013
  value: v,
92997
93014
  step: Lg(c),
92998
93015
  snap: l3(c),
@@ -93002,11 +93019,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93002
93019
  hasMaxEdge: Dk(c),
93003
93020
  minBound: cs(a),
93004
93021
  maxBound: Hk(a),
93005
- screenRange: F6(a)
93022
+ screenRange: F8(a)
93006
93023
  };
93007
93024
  return km(b);
93008
93025
  }, Kk = function(a, c, v) {
93009
- var b = V6(a, c, v), x = d3(b);
93026
+ var b = V8(a, c, v), x = d3(b);
93010
93027
  return f3(a, x), b;
93011
93028
  }, Z9 = function(a, c) {
93012
93029
  var v = Sm(c);
@@ -93015,26 +93032,26 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93015
93032
  var v = Nl(c);
93016
93033
  f3(a, d3(v));
93017
93034
  }, eD = function(a, c, v) {
93018
- var b = a > 0 ? P6 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
93035
+ var b = a > 0 ? P8 : Ug, x = b(cd(v).x, Sm(v), Nl(v), Lg(v));
93019
93036
  return f3(c, d3(x)), U.some(x);
93020
- }, L6 = function(a) {
93037
+ }, L8 = function(a) {
93021
93038
  return function(c, v) {
93022
93039
  return eD(a, c, v).map(Pe);
93023
93040
  };
93024
93041
  }, h3 = function(a) {
93025
- var c = D6(a);
93042
+ var c = D8(a);
93026
93043
  return c.map(function(v) {
93027
93044
  return v.left;
93028
93045
  });
93029
93046
  }, tD = function(a, c, v, b, x) {
93030
- var N = 0, D = F6(a), F = b.bind(function(Z) {
93047
+ var N = 0, D = F8(a), F = b.bind(function(Z) {
93031
93048
  return U.some(Gk(Z, a));
93032
93049
  }).getOr(N), L = x.bind(function(Z) {
93033
93050
  return U.some(Gk(Z, a));
93034
93051
  }).getOr(D), G = {
93035
93052
  min: Sm(c),
93036
93053
  max: Nl(c),
93037
- range: O6(c),
93054
+ range: O8(c),
93038
93055
  value: v,
93039
93056
  hasMinEdge: Ik(c),
93040
93057
  hasMaxEdge: Dk(c),
@@ -93045,14 +93062,14 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93045
93062
  centerMinEdge: F,
93046
93063
  centerMaxEdge: L
93047
93064
  };
93048
- return M6(G);
93065
+ return M8(G);
93049
93066
  }, zg = function(a, c, v, b, x, N) {
93050
93067
  var D = tD(c, N, v, b, x);
93051
93068
  return cs(c) - cs(a) + D;
93052
93069
  }, Hg = function(a, c, v, b) {
93053
93070
  var x = cd(v), N = zg(a, b.getSpectrum(a), x.x, b.getLeftEdge(a), b.getRightEdge(a), v), D = Vl(c.element) / 2;
93054
93071
  eo(c.element, "left", N - D + "px");
93055
- }, Yk = L6(-1), Xk = L6(1), Jk = U.none, nD = U.none, rD = {
93072
+ }, Yk = L8(-1), Xk = L8(1), Jk = U.none, nD = U.none, rD = {
93056
93073
  "top-left": U.none(),
93057
93074
  top: U.none(),
93058
93075
  "top-right": U.none(),
@@ -93066,7 +93083,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93066
93083
  setValueFrom: Kk,
93067
93084
  setToMin: Z9,
93068
93085
  setToMax: Q9,
93069
- findValueOfOffset: V6,
93086
+ findValueOfOffset: V8,
93070
93087
  getValueFromEvent: h3,
93071
93088
  findPositionOfValue: zg,
93072
93089
  setPositionFromValue: Hg,
@@ -93092,28 +93109,28 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93092
93109
  hasMinEdge: Ok(c),
93093
93110
  hasMaxEdge: Bk(c),
93094
93111
  minBound: c3(a),
93095
- maxBound: $6(a),
93112
+ maxBound: $8(a),
93096
93113
  screenRange: Wk(a)
93097
93114
  };
93098
93115
  return km(b);
93099
93116
  }, Zk = function(a, c, v) {
93100
93117
  var b = g3(a, c, v), x = m3(b);
93101
93118
  return p3(a, x), b;
93102
- }, U6 = function(a, c) {
93119
+ }, U8 = function(a, c) {
93103
93120
  var v = lu(c);
93104
93121
  p3(a, m3(v));
93105
93122
  }, Qk = function(a, c) {
93106
93123
  var v = Vv(c);
93107
93124
  p3(a, m3(v));
93108
93125
  }, fs = function(a, c, v) {
93109
- var b = a > 0 ? P6 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
93126
+ var b = a > 0 ? P8 : Ug, x = b(cd(v).y, lu(v), Vv(v), Lg(v));
93110
93127
  return p3(c, m3(x)), U.some(x);
93111
- }, z6 = function(a) {
93128
+ }, z8 = function(a) {
93112
93129
  return function(c, v) {
93113
93130
  return fs(a, c, v).map(Pe);
93114
93131
  };
93115
93132
  }, oD = function(a) {
93116
- var c = D6(a);
93133
+ var c = D8(a);
93117
93134
  return c.map(function(v) {
93118
93135
  return v.top;
93119
93136
  });
@@ -93131,19 +93148,19 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93131
93148
  hasMaxEdge: Bk(c),
93132
93149
  minBound: c3(a),
93133
93150
  minOffset: N,
93134
- maxBound: $6(a),
93151
+ maxBound: $8(a),
93135
93152
  maxOffset: D,
93136
93153
  centerMinEdge: F,
93137
93154
  centerMaxEdge: L
93138
93155
  };
93139
- return M6(G);
93156
+ return M8(G);
93140
93157
  }, _3 = function(a, c, v, b, x, N) {
93141
93158
  var D = aD(c, N, v, b, x);
93142
93159
  return c3(c) - c3(a) + D;
93143
93160
  }, iD = function(a, c, v, b) {
93144
93161
  var x = cd(v), N = _3(a, b.getSpectrum(a), x.y, b.getTopEdge(a), b.getBottomEdge(a), v), D = xl(c.element) / 2;
93145
93162
  eo(c.element, "top", N - D + "px");
93146
- }, lD = U.none, sD = U.none, e5 = z6(-1), fd = z6(1), H6 = {
93163
+ }, lD = U.none, sD = U.none, e5 = z8(-1), fd = z8(1), H8 = {
93147
93164
  "top-left": U.none(),
93148
93165
  top: U.some(W9),
93149
93166
  "top-right": U.none(),
@@ -93155,7 +93172,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93155
93172
  }, t5 = /* @__PURE__ */ Object.freeze({
93156
93173
  __proto__: null,
93157
93174
  setValueFrom: Zk,
93158
- setToMin: U6,
93175
+ setToMin: U8,
93159
93176
  setToMax: Qk,
93160
93177
  findValueOfOffset: g3,
93161
93178
  getValueFromEvent: oD,
@@ -93165,7 +93182,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93165
93182
  onRight: sD,
93166
93183
  onUp: e5,
93167
93184
  onDown: fd,
93168
- edgeActions: H6
93185
+ edgeActions: H8
93169
93186
  }), Tm = function(a, c) {
93170
93187
  _r(a, L_(), { value: c });
93171
93188
  }, Wg = function(a, c) {
@@ -93174,10 +93191,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93174
93191
  y: c
93175
93192
  };
93176
93193
  }, uD = function(a, c, v) {
93177
- var b = V6(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
93194
+ var b = V8(a, c, v.left), x = g3(a, c, v.top), N = Wg(b, x);
93178
93195
  return Tm(a, N), N;
93179
93196
  }, cD = function(a, c, v, b) {
93180
- 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;
93197
+ var x = a > 0 ? P8 : 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;
93181
93198
  return Tm(v, Wg(N, D)), U.some(N);
93182
93199
  }, y3 = function(a, c) {
93183
93200
  return function(v, b) {
@@ -93189,8 +93206,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93189
93206
  }, dD = function(a, c) {
93190
93207
  var v = Nl(c), b = Vv(c);
93191
93208
  Tm(a, Wg(v, b));
93192
- }, W6 = function(a) {
93193
- return D6(a);
93209
+ }, W8 = function(a) {
93210
+ return D8(a);
93194
93211
  }, hD = function(a, c, v, b) {
93195
93212
  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;
93196
93213
  eo(c.element, "left", N - F + "px"), eo(c.element, "top", D - L + "px");
@@ -93208,7 +93225,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93208
93225
  setValueFrom: uD,
93209
93226
  setToMin: fD,
93210
93227
  setToMax: dD,
93211
- getValueFromEvent: W6,
93228
+ getValueFromEvent: W8,
93212
93229
  setPositionFromValue: hD,
93213
93230
  onLeft: n5,
93214
93231
  onRight: vD,
@@ -93393,7 +93410,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93393
93410
  return Nm(O_(a));
93394
93411
  }, a5 = function(a) {
93395
93412
  return G4(vS(a));
93396
- }, j6 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
93413
+ }, j8 = Tr("rgb-hex-update"), i5 = Tr("slider-update"), l5 = Tr("palette-update"), gD = function(a, c) {
93397
93414
  var v = su.parts.spectrum({
93398
93415
  dom: {
93399
93416
  tag: "div",
@@ -93490,7 +93507,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93490
93507
  return a.getField(c, v);
93491
93508
  }),
93492
93509
  sketch: Am
93493
- }, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G6 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
93510
+ }, c5 = Tr("valid-input"), f5 = Tr("invalid-input"), d5 = Tr("validating-input"), G8 = "colorcustom.rgb.", h5 = function(a, c, v, b) {
93494
93511
  var x = function(fe, Te) {
93495
93512
  return ff.config({
93496
93513
  invalidClass: c("invalid"),
@@ -93520,7 +93537,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93520
93537
  }
93521
93538
  });
93522
93539
  }, N = function(fe, Te, ze, je, dt) {
93523
- var qe = a(G6 + "range"), St = zo.parts.label({
93540
+ var qe = a(G8 + "range"), St = zo.parts.label({
93524
93541
  dom: {
93525
93542
  tag: "label",
93526
93543
  innerHtml: ze,
@@ -93607,12 +93624,12 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93607
93624
  var Fr = uS(hr);
93608
93625
  je("hex", U.some(hr));
93609
93626
  var Rn = O_(Fr);
93610
- F(bn, Rn), qe(Rn), _r(bn, j6, { hex: Fr }), G(bn, Fr);
93627
+ F(bn, Rn), qe(Rn), _r(bn, j8, { hex: Fr }), G(bn, Fr);
93611
93628
  }, rn = function(bn, hr, Fr) {
93612
93629
  var Rn = parseInt(Fr, 10);
93613
93630
  je(hr, U.some(Rn)), dt().each(function(Nr) {
93614
93631
  var Rr = D(bn, Nr);
93615
- _r(bn, j6, { hex: Rr }), G(bn, Rr);
93632
+ _r(bn, j8, { hex: Rr }), G(bn, Rr);
93616
93633
  });
93617
93634
  }, jt = function(bn) {
93618
93635
  return bn.type === "hex";
@@ -93621,8 +93638,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93621
93638
  jt(Fr) ? At(bn, Fr.value) : rn(bn, Fr.type, Fr.value);
93622
93639
  }, Kt = function(bn) {
93623
93640
  return {
93624
- label: a(G6 + bn + ".label"),
93625
- description: a(G6 + bn + ".description")
93641
+ label: a(G8 + bn + ".label"),
93642
+ description: a(G8 + bn + ".description")
93626
93643
  };
93627
93644
  }, En = Kt("red"), wr = Kt("green"), Jn = Kt("blue"), fn = Kt("hex");
93628
93645
  return to(Gg.sketch(function(bn) {
@@ -93633,9 +93650,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93633
93650
  attributes: { "aria-label": a("aria.color.picker") }
93634
93651
  },
93635
93652
  components: [
93636
- bn.field("red", zo.sketch(N(h6, "red", En.label, En.description, 255))),
93637
- bn.field("green", zo.sketch(N(h6, "green", wr.label, wr.description, 255))),
93638
- bn.field("blue", zo.sketch(N(h6, "blue", Jn.label, Jn.description, 255))),
93653
+ bn.field("red", zo.sketch(N(h8, "red", En.label, En.description, 255))),
93654
+ bn.field("green", zo.sketch(N(h8, "green", wr.label, wr.description, 255))),
93655
+ bn.field("blue", zo.sketch(N(h8, "blue", Jn.label, Jn.description, 255))),
93639
93656
  bn.field("hex", zo.sketch(N(sI, "hex", fn.label, fn.description, "ffffff"))),
93640
93657
  L.asSpec()
93641
93658
  ],
@@ -93667,7 +93684,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93667
93684
  extraApis: {}
93668
93685
  });
93669
93686
  return ee;
93670
- }, q6 = function(a, c) {
93687
+ }, q8 = function(a, c) {
93671
93688
  var v = su.parts.spectrum({
93672
93689
  dom: {
93673
93690
  tag: "canvas",
@@ -93747,7 +93764,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93747
93764
  return L;
93748
93765
  }, bD = function(a, c) {
93749
93766
  var v = function(x) {
93750
- var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q6(a, c), F = function(nn) {
93767
+ var N = h5(a, c, x.onValidHex, x.onInvalidHex), D = q8(a, c), F = function(nn) {
93751
93768
  return (100 - nn) / 100 * 360;
93752
93769
  }, L = function(nn) {
93753
93770
  return 100 - nn / 360 * 100;
@@ -93813,7 +93830,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93813
93830
  ],
93814
93831
  behaviours: Mn([
93815
93832
  so("colour-picker-events", [
93816
- wn(j6, jt()),
93833
+ wn(j8, jt()),
93817
93834
  wn(l5, At()),
93818
93835
  wn(i5, rn())
93819
93836
  ]),
@@ -93837,9 +93854,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93837
93854
  return b;
93838
93855
  }, v5 = function() {
93839
93856
  return To.config({ find: U.some });
93840
- }, K6 = function(a) {
93857
+ }, K8 = function(a) {
93841
93858
  return To.config({ find: a.getOpt });
93842
- }, Y6 = function(a) {
93859
+ }, Y8 = function(a) {
93843
93860
  return To.config({
93844
93861
  find: function(c) {
93845
93862
  return v0(c.element, a).bind(function(v) {
@@ -93849,8 +93866,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93849
93866
  });
93850
93867
  }, Dc = {
93851
93868
  self: v5,
93852
- memento: K6,
93853
- childAt: Y6
93869
+ memento: K8,
93870
+ childAt: Y8
93854
93871
  }, wD = {
93855
93872
  "colorcustom.rgb.red.label": "R",
93856
93873
  "colorcustom.rgb.red.description": "Red component",
@@ -93973,11 +93990,11 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93973
93990
  ]),
93974
93991
  components: [v.asSpec()]
93975
93992
  };
93976
- }, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X6 = wt([
93993
+ }, di = tinymce.util.Tools.resolve("tinymce.util.Tools"), X8 = wt([
93977
93994
  Ot("preprocess", z),
93978
93995
  Ot("postprocess", z)
93979
93996
  ]), m5 = function(a, c) {
93980
- var v = Na("RepresentingConfigs.memento processors", X6, c);
93997
+ var v = Na("RepresentingConfigs.memento processors", X8, c);
93981
93998
  return or.config({
93982
93999
  store: {
93983
94000
  mode: "manual",
@@ -93991,7 +94008,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
93991
94008
  }
93992
94009
  }
93993
94010
  });
93994
- }, J6 = function(a, c, v) {
94011
+ }, J8 = function(a, c, v) {
93995
94012
  return or.config(to({
93996
94013
  store: {
93997
94014
  mode: "manual",
@@ -94002,7 +94019,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
94002
94019
  return { store: { initialValue: b } };
94003
94020
  }).getOr({})));
94004
94021
  }, j_ = function(a, c, v) {
94005
- return J6(a, function(b) {
94022
+ return J8(a, function(b) {
94006
94023
  return c(b.element);
94007
94024
  }, function(b, x) {
94008
94025
  return v(b.element, x);
@@ -94021,7 +94038,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
94021
94038
  }, Uv = {
94022
94039
  memento: m5,
94023
94040
  withElement: j_,
94024
- withComp: J6,
94041
+ withComp: J8,
94025
94042
  domValue: g5,
94026
94043
  domHtml: x3,
94027
94044
  memory: _5
@@ -94239,9 +94256,9 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
94239
94256
  return a.getContext("2d");
94240
94257
  }, OD = function(a, c, v) {
94241
94258
  return a.width = c, a.height = v, a;
94242
- }, Z6 = function(a) {
94259
+ }, Z8 = function(a) {
94243
94260
  return a.naturalWidth || a.width;
94244
- }, Q6 = function(a) {
94261
+ }, Q8 = function(a) {
94245
94262
  return a.naturalHeight || a.height;
94246
94263
  }, BD = function() {
94247
94264
  var a = function(ee) {
@@ -94412,7 +94429,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
94412
94429
  }, tx = function(a) {
94413
94430
  return ex(a).then(function(c) {
94414
94431
  $D(c);
94415
- var v = qg(Z6(c), Q6(c)), b = Oc(v);
94432
+ var v = qg(Z8(c), Q8(c)), b = Oc(v);
94416
94433
  return b.drawImage(c, 0, 0), v;
94417
94434
  });
94418
94435
  }, E5 = function(a) {
@@ -94795,7 +94812,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
94795
94812
  ]), N5 = WD(function(a, c) {
94796
94813
  return Math.pow(a / 255, 1 - c) * 255;
94797
94814
  }), A5 = function(a, c, v) {
94798
- var b = Z6(a), x = Q6(a), N = c / b, D = v / x, F = !1;
94815
+ var b = Z8(a), x = Q8(a), N = c / b, D = v / x, F = !1;
94799
94816
  (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);
94800
94817
  var L = ZD(a, N, D);
94801
94818
  return F ? L.then(function(G) {
@@ -94803,7 +94820,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
94803
94820
  }) : L;
94804
94821
  }, ZD = function(a, c, v) {
94805
94822
  return new hd(function(b) {
94806
- var x = Z6(a), N = Q6(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
94823
+ var x = Z8(a), N = Q8(a), D = Math.floor(x * c), F = Math.floor(N * v), L = qg(D, F), G = Oc(L);
94807
94824
  G.drawImage(a, 0, 0, x, N, 0, 0, D, F), b(L);
94808
94825
  });
94809
94826
  }, rx = function(a, c) {
@@ -95038,8 +95055,8 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
95038
95055
  var x = Tr("primary-menu"), N = U5(a, v.shared.providers.menuItems());
95039
95056
  if (N.items.length === 0)
95040
95057
  return U.none();
95041
- var D = b6(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
95042
- return b6(Z, G, c, v, !1);
95058
+ var D = b8(x, N.items, c, v, b), F = Vr(N.menus, function(G, Z) {
95059
+ return b8(Z, G, c, v, !1);
95043
95060
  }), L = to(F, ge(x, D));
95044
95061
  return U.from(hm.tieredData(x, L, N.expansions));
95045
95062
  }, vO = function(a) {
@@ -96986,7 +97003,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
96986
97003
  var fe = function(Te) {
96987
97004
  To.getCurrent(Te).each(Z);
96988
97005
  };
96989
- k6(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
97006
+ k8(a, D(L), L, ee, b, fe, Uu.HighlightFirst).get(R);
96990
97007
  }
96991
97008
  }, N = ek(a), D = function(L) {
96992
97009
  return function(G) {
@@ -97050,7 +97067,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
97050
97067
  });
97051
97068
  });
97052
97069
  };
97053
- k6(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
97070
+ k8(a, D(L), L, Z, b, Te, Uu.HighlightFirst).get(R);
97054
97071
  }
97055
97072
  },
97056
97073
  cancelEvent: fp()
@@ -97086,7 +97103,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
97086
97103
  Ga.config({
97087
97104
  others: {
97088
97105
  sandbox: function(L) {
97089
- return N6(a, L, {
97106
+ return N8(a, L, {
97090
97107
  onOpen: function() {
97091
97108
  return Vt.on(L);
97092
97109
  },
@@ -97162,7 +97179,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
97162
97179
  vi("previewing", function() {
97163
97180
  return jn(!0);
97164
97181
  })
97165
- ].concat(QS()).concat(I6())), XO = V([tu({
97182
+ ].concat(QS()).concat(I8())), XO = V([tu({
97166
97183
  schema: [zf()],
97167
97184
  name: "menu",
97168
97185
  overrides: function(a) {
@@ -97910,7 +97927,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
97910
97927
  };
97911
97928
  }, S7 = function(a) {
97912
97929
  return function() {
97913
- return m6(a);
97930
+ return m8(a);
97914
97931
  };
97915
97932
  }, k7 = function(a) {
97916
97933
  return function() {
@@ -97930,7 +97947,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
97930
97947
  }, _T = function(a) {
97931
97948
  return { isDraggableModal: N7(a) };
97932
97949
  }, A7 = function(a) {
97933
- var c = jn(e6(a) ? "bottom" : "top");
97950
+ var c = jn(e8(a) ? "bottom" : "top");
97934
97951
  return {
97935
97952
  isPositionedAtTop: function() {
97936
97953
  return c.get() === "top";
@@ -98093,7 +98110,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
98093
98110
  }, ty = function(a) {
98094
98111
  return jE(a).map(function(c) {
98095
98112
  var v = Dm(a, c);
98096
- return J8(a) ? yT.concat(v) : v;
98113
+ return J6(a) ? yT.concat(v) : v;
98097
98114
  }).getOr(yT);
98098
98115
  }, bT = function(a, c, v) {
98099
98116
  var b = {
@@ -98307,10 +98324,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
98307
98324
  return GA(a) ? U.none() : U.some({
98308
98325
  targets: G7.find(a.getBody()),
98309
98326
  anchorTop: Ix(qA(a)),
98310
- anchorBottom: Ix(r6(a))
98327
+ anchorBottom: Ix(r8(a))
98311
98328
  });
98312
98329
  }, tB = function(a) {
98313
- return U.from(o6(a));
98330
+ return U.from(o8(a));
98314
98331
  }, nB = function(a) {
98315
98332
  return {
98316
98333
  getHistory: Y7,
@@ -99349,7 +99366,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
99349
99366
  Ot("useMinWidth", !1),
99350
99367
  Ot("eventOrder", {}),
99351
99368
  Do("role")
99352
- ].concat(I6())), PB = Ni({
99369
+ ].concat(I8())), PB = Ni({
99353
99370
  factory: Gl,
99354
99371
  schema: [nt("dom")],
99355
99372
  name: "arrow",
@@ -99448,7 +99465,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
99448
99465
  });
99449
99466
  })])), In(U.some(D))), Z = {
99450
99467
  repositionMenus: function(ee) {
99451
- Vt.isOn(ee) && A6(ee);
99468
+ Vt.isOn(ee) && A8(ee);
99452
99469
  }
99453
99470
  };
99454
99471
  return {
@@ -99474,7 +99491,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
99474
99491
  Vt.off(fe), Vt.off(ee);
99475
99492
  }
99476
99493
  };
99477
- return N6(a, ee, Te);
99494
+ return N8(a, ee, Te);
99478
99495
  }
99479
99496
  }
99480
99497
  }),
@@ -99668,7 +99685,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
99668
99685
  return sl.nu(function(x) {
99669
99686
  return c.fetch(x);
99670
99687
  }).map(function(x) {
99671
- return U.from($S(to(_6(Tr("menu-value"), x, function(N) {
99688
+ return U.from($S(to(_8(Tr("menu-value"), x, function(N) {
99672
99689
  c.onItemAction(a(b), N);
99673
99690
  }, c.columns, c.presets, uf.CLOSE_ON_EXECUTE, c.select.getOr(le), v), {
99674
99691
  movement: K4(c.columns, c.presets),
@@ -99896,7 +99913,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
99896
99913
  bottom: Math.min(D.y, v.bottom)
99897
99914
  };
99898
99915
  }, uN = function(a, c) {
99899
- 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;
99916
+ var v = f1(window), b = xs(rr.fromDom(a.getContentAreaContainer())), x = Z6(a) || Ag(a) || k_(a), N = sN(b, v), D = N.x, F = N.width;
99900
99917
  if (a.inline && !x)
99901
99918
  return fl(D, v.y, F, v.height);
99902
99919
  var L = c.header.isPositionedAtTop(), G = GB(a, b, v, L), Z = G.y, ee = G.bottom;
@@ -102231,10 +102248,10 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
102231
102248
  }, rM = Vi(), T$ = rM.os.isiOS() && rM.os.version.major <= 12, N$ = function(a, c) {
102232
102249
  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() {
102233
102250
  var fe = N.get();
102234
- (fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v6(a));
102251
+ (fe.left !== b.innerWidth || fe.top !== b.innerHeight) && (N.set(Ua(b.innerWidth, b.innerHeight)), v8(a));
102235
102252
  }, L = function() {
102236
102253
  var fe = a.getDoc().documentElement, Te = D.get();
102237
- (Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v6(a));
102254
+ (Te.left !== fe.offsetWidth || Te.top !== fe.offsetHeight) && (D.set(Ua(fe.offsetWidth, fe.offsetHeight)), v8(a));
102238
102255
  }, G = function(fe) {
102239
102256
  return hI(a, fe);
102240
102257
  };
@@ -102309,7 +102326,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
102309
102326
  });
102310
102327
  return b.or(x).getOr(a);
102311
102328
  }, D$ = function(a) {
102312
- var c = HE(a), v = WE(a), b = X8(a);
102329
+ var c = HE(a), v = WE(a), b = X6(a);
102313
102330
  return iP(c).map(function(x) {
102314
102331
  return hN(x, v, b);
102315
102332
  });
@@ -102334,7 +102351,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
102334
102351
  return bn.components().length > 1 ? xl(bn.components()[1].element) : 0;
102335
102352
  }) : 0;
102336
102353
  }, St = function(fn) {
102337
- switch (Q8(a)) {
102354
+ switch (Q6(a)) {
102338
102355
  case bm.auto:
102339
102356
  var bn = hi.getToolbar(D), hr = qe(bn), Fr = xl(fn.element) - hr, Rn = xs(c), Nr = Rn.y > Fr;
102340
102357
  if (Nr)
@@ -102409,7 +102426,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
102409
102426
  x.set({
102410
102427
  pos: G,
102411
102428
  bounds: Z
102412
- }), ze && v6(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
102429
+ }), ze && v8(a, F), v.isVisible() && (fe !== G ? v.update(!0) : ze && (v.updateMode(), v.repositionPopups()));
102413
102430
  };
102414
102431
  b || (a.on("activate", v.show), a.on("deactivate", v.hide)), a.on("SkinLoaded ResizeWindow", function() {
102415
102432
  return v.update(!0);
@@ -103884,7 +103901,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
103884
103901
  })(dy || (dy = {}));
103885
103902
  var CV = function(a, c, v, b, x) {
103886
103903
  var N = {};
103887
- 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;
103904
+ return N.height = hN(b + c.top, WE(a), X6(a)), v === dy.Both && (N.width = hN(x + c.left, ym(a), L4(a))), N;
103888
103905
  }, DM = function(a, c, v) {
103889
103906
  var b = rr.fromDom(a.getContainer()), x = CV(a, c, v, xl(b), Vl(b));
103890
103907
  Ur(x, function(N, D) {
@@ -104022,7 +104039,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
104022
104039
  components: x()
104023
104040
  };
104024
104041
  }, TV = function(a) {
104025
- 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() {
104042
+ 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 = e8(a), Te = Sc(a), ze = Lu.isRtl() ? { attributes: { dir: "rtl" } } : {}, je = { attributes: (c = {}, c[ov] = fe ? dc.BottomToTop : dc.TopToBottom, c) }, dt = function() {
104026
104043
  return N.bind(hi.getHeader);
104027
104044
  }, qe = function() {
104028
104045
  return x.isDocked(dt);
@@ -104126,7 +104143,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
104126
104143
  Rn,
104127
104144
  Nr
104128
104145
  ]
104129
- }, mf = k_(a), Pc = Ag(a), AP = Z8(a), IP = function() {
104146
+ }, mf = k_(a), Pc = Ag(a), AP = Z6(a), IP = function() {
104130
104147
  return mf ? [Fr] : Pc ? [hr] : [];
104131
104148
  }, xN = hi.parts.header({
104132
104149
  dom: ve({
@@ -104155,7 +104172,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
104155
104172
  [jx],
104156
104173
  v ? [] : ia.toArray(),
104157
104174
  [Rr]
104158
- ]), Gx = t6(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
104175
+ ]), Gx = t8(a), SN = ve(ve({ role: "application" }, Lu.isRtl() ? { dir: "rtl" } : {}), Gx ? { "aria-hidden": "true" } : {}), gd = Cl(hi.sketch({
104159
104176
  dom: {
104160
104177
  tag: "div",
104161
104178
  classes: [
@@ -104205,7 +104222,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
104205
104222
  });
104206
104223
  var Yl = a.ui.registry.getAll(), a0 = Yl.buttons, iw = Yl.menuItems, MP = Yl.contextToolbars, lw = Yl.sidebars, RP = qE(a), dr = {
104207
104224
  menuItems: iw,
104208
- menus: n6(a),
104225
+ menus: n8(a),
104209
104226
  menubar: UA(a),
104210
104227
  toolbar: RP.getOrThunk(function() {
104211
104228
  return zA(a);
@@ -105261,7 +105278,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
105261
105278
  })])
105262
105279
  };
105263
105280
  return tl.parts.body(c);
105264
- }, NU = i6.deviceType.isTouch(), KM = function(a, c) {
105281
+ }, NU = i8.deviceType.isTouch(), KM = function(a, c) {
105265
105282
  return {
105266
105283
  dom: {
105267
105284
  tag: "div",
@@ -105575,7 +105592,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
105575
105592
  wn($g, function(v, b) {
105576
105593
  return c.onUnblock();
105577
105594
  }),
105578
- wn(E6, function(v, b) {
105595
+ wn(E8, function(v, b) {
105579
105596
  return c.onBlock(b.event);
105580
105597
  })
105581
105598
  ];
@@ -105750,7 +105767,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
105750
105767
  if (!l(je))
105751
105768
  throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
105752
105769
  b(function(dt) {
105753
- _r(dt, E6, { message: je });
105770
+ _r(dt, E8, { message: je });
105754
105771
  });
105755
105772
  }, Z = function() {
105756
105773
  b(function(je) {
@@ -105924,7 +105941,7 @@ The conflicting element is` + ($l(ee.element) ? " " : " not ") + "already in the
105924
105941
  if (!l(D))
105925
105942
  throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
105926
105943
  c(function(F) {
105927
- _r(F, E6, { message: D });
105944
+ _r(F, E8, { message: D });
105928
105945
  });
105929
105946
  }, b = function() {
105930
105947
  c(function(D) {
@@ -112039,7 +112056,7 @@ Required: ` + w.join(", "));
112039
112056
  }, Q = cc(g), ye = Gd(g) ? B : ov, _e = function(qo, Ki, Yi, xc, ad) {
112040
112057
  return function(sf, yg) {
112041
112058
  Xs(sf);
112042
- var T4 = xc(), b8 = Je.fromDom(g.getDoc()), id = S0(Yi, b8, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
112059
+ var T4 = xc(), b6 = Je.fromDom(g.getDoc()), id = S0(Yi, b6, Q), bg = Ou(g, sf), wg = Gd(g) ? Lo() : Fd();
112043
112060
  return Ki(sf) ? qo(T4, sf, yg, id, bg, wg).bind(function(um) {
112044
112061
  return Qe(um.newRows, function(cm) {
112045
112062
  K0(g, cm.dom);
@@ -113963,38 +113980,38 @@ Required: ` + w.join(", "));
113963
113980
  }, wc = 5, QC = 100, Cc = Lc.generate([
113964
113981
  { none: [] },
113965
113982
  { retry: ["caret"] }
113966
- ]), e8 = function(g, w) {
113983
+ ]), e6 = function(g, w) {
113967
113984
  return g.left < w.left || Math.abs(w.right - g.left) < 1 || g.left > w.right;
113968
113985
  }, h4 = function(g, w, T) {
113969
113986
  return xh(w, p2).fold(Ne, function(I) {
113970
113987
  return d4(g, I).exists(function($) {
113971
- return e8(T, $);
113988
+ return e6(T, $);
113972
113989
  });
113973
113990
  });
113974
- }, t8 = function(g, w, T, I, $) {
113991
+ }, t6 = function(g, w, T, I, $) {
113975
113992
  var W = nd($, wc);
113976
113993
  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();
113977
- }, n8 = function(g, w, T, I, $) {
113994
+ }, n6 = function(g, w, T, I, $) {
113978
113995
  var W = im($, wc);
113979
113996
  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();
113980
113997
  }, rd = {
113981
113998
  point: u4,
113982
- adjuster: n8,
113999
+ adjuster: n6,
113983
114000
  move: im,
113984
114001
  gather: n_
113985
114002
  }, vg = {
113986
114003
  point: c4,
113987
- adjuster: t8,
114004
+ adjuster: t6,
113988
114005
  move: nd,
113989
114006
  gather: o4
113990
114007
  }, p4 = function(g, w, T) {
113991
114008
  return g.elementFromPoint(w, T).filter(function(I) {
113992
114009
  return Io(I) === "table";
113993
114010
  }).isSome();
113994
- }, r8 = function(g, w, T, I, $) {
114011
+ }, r6 = function(g, w, T, I, $) {
113995
114012
  return Av(g, w, T, w.move(I, wc), $);
113996
114013
  }, Av = function(g, w, T, I, $) {
113997
- 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) {
114014
+ return $ === 0 ? te.some(I) : p4(g, I.left, w.point(I)) ? r6(g, w, T, I, $ - 1) : g.situsFromPoint(I.left, w.point(I)).bind(function(W) {
113998
114015
  return W.start.fold(te.none, function(Q) {
113999
114016
  return d4(g, Q).bind(function(ye) {
114000
114017
  return w.adjuster(g, Q, ye, T, I).fold(te.none, function(_e) {
@@ -114005,15 +114022,15 @@ Required: ` + w.join(", "));
114005
114022
  });
114006
114023
  }, te.none);
114007
114024
  });
114008
- }, o8 = function(g, w) {
114025
+ }, o6 = function(g, w) {
114009
114026
  return g.situsFromPoint(w.left, w.bottom + wc);
114010
- }, a8 = function(g, w) {
114027
+ }, a6 = function(g, w) {
114011
114028
  return g.situsFromPoint(w.left, w.top - wc);
114012
- }, i8 = function(g, w, T) {
114029
+ }, i6 = function(g, w, T) {
114013
114030
  return g.point(w) > T.getInnerHeight() ? te.some(g.point(w) - T.getInnerHeight()) : g.point(w) < 0 ? te.some(-g.point(w)) : te.none();
114014
114031
  }, m4 = function(g, w, T) {
114015
114032
  var I = g.move(T, wc), $ = Av(w, g, T, I, QC).getOr(I);
114016
- return i8(g, $, w).fold(function() {
114033
+ return i6(g, $, w).fold(function() {
114017
114034
  return w.situsFromPoint($.left, g.point($));
114018
114035
  }, function(W) {
114019
114036
  return w.scrollBy(0, W), w.situsFromPoint($.left, g.point($) - W);
@@ -114021,10 +114038,10 @@ Required: ` + w.join(", "));
114021
114038
  }, Iv = {
114022
114039
  tryUp: V(m4, rd),
114023
114040
  tryDown: V(m4, vg),
114024
- ieTryUp: a8,
114025
- ieTryDown: o8,
114041
+ ieTryUp: a6,
114042
+ ieTryDown: o6,
114026
114043
  getJumpSize: j(wc)
114027
- }, l8 = 20, g4 = function(g, w, T) {
114044
+ }, l6 = 20, g4 = function(g, w, T) {
114028
114045
  return g.getSelection().bind(function(I) {
114029
114046
  return a_(w, I.finish, I.foffset, T).fold(function() {
114030
114047
  return te.some(Mp(I.finish, I.foffset));
@@ -114034,7 +114051,7 @@ Required: ` + w.join(", "));
114034
114051
  });
114035
114052
  });
114036
114053
  }, lm = function(g, w, T, I, $, W) {
114037
- return W === 0 ? te.none() : s8(g, w, T, I, $).bind(function(Q) {
114054
+ return W === 0 ? te.none() : s6(g, w, T, I, $).bind(function(Q) {
114038
114055
  var ye = g.fromSitus(Q), _e = Nv.verify(g, T, I, ye.finish, ye.foffset, $.failure, w);
114039
114056
  return Nv.cata(_e, function() {
114040
114057
  return te.none();
@@ -114053,15 +114070,15 @@ Required: ` + w.join(", "));
114053
114070
  }, _4 = function(g, w, T) {
114054
114071
  var I = Ze().browser;
114055
114072
  return I.isChrome() || I.isSafari() || I.isFirefox() || I.isEdge() ? w.otherRetry(g, T) : I.isIE() ? w.ieRetry(g, T) : te.none();
114056
- }, s8 = function(g, w, T, I, $) {
114073
+ }, s6 = function(g, w, T, I, $) {
114057
114074
  return f4(g, T, I).bind(function(W) {
114058
114075
  return _4(g, $, W);
114059
114076
  });
114060
- }, u8 = function(g, w, T) {
114077
+ }, u6 = function(g, w, T) {
114061
114078
  return g4(g, w, T).bind(function(I) {
114062
- return lm(g, w, I.element, I.offset, T, l8).map(g.fromSitus);
114079
+ return lm(g, w, I.element, I.offset, T, l6).map(g.fromSitus);
114063
114080
  });
114064
- }, c8 = function(g, w) {
114081
+ }, c6 = function(g, w) {
114065
114082
  return qC(g, function(T) {
114066
114083
  return de(T).exists(function(I) {
114067
114084
  return Tn(I, w);
@@ -114070,7 +114087,7 @@ Required: ` + w.join(", "));
114070
114087
  }, od = function(g, w, T, I, $) {
114071
114088
  return Ho(I, "td,th", w).bind(function(W) {
114072
114089
  return Ho(W, "table", w).bind(function(Q) {
114073
- return c8($, Q) ? u8(g, w, T).bind(function(ye) {
114090
+ return c6($, Q) ? u6(g, w, T).bind(function(ye) {
114074
114091
  return Ho(ye.finish, "td,th", w).map(function(_e) {
114075
114092
  return {
114076
114093
  start: W,
@@ -114088,7 +114105,7 @@ Required: ` + w.join(", "));
114088
114105
  return dh.create(te.some(hh(ye.start, ye.soffset, ye.finish, ye.foffset)), !0);
114089
114106
  });
114090
114107
  });
114091
- }, f8 = function(g, w) {
114108
+ }, f6 = function(g, w) {
114092
114109
  return Ho(g, "tr", w).bind(function(T) {
114093
114110
  return Ho(T, "table", w).bind(function(I) {
114094
114111
  var $ = li(I, "tr");
@@ -114179,7 +114196,7 @@ Required: ` + w.join(", "));
114179
114196
  }, Mr = {
114180
114197
  isBackward: Dv(37),
114181
114198
  isForward: Dv(39)
114182
- }, d8 = {
114199
+ }, d6 = {
114183
114200
  isBackward: Dv(39),
114184
114201
  isForward: Dv(37)
114185
114202
  }, mg = function(g) {
@@ -114269,7 +114286,7 @@ Required: ` + w.join(", "));
114269
114286
  return I.clear(w), te.none();
114270
114287
  }, Q = function(_e, Ye, mt, Cn, pn, An) {
114271
114288
  var Vt = _e.raw, tn = Vt.which, In = Vt.shiftKey === !0, Cr = Pl(w, I.selectedSelector).fold(function() {
114272
- 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;
114289
+ 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, f6) : te.none;
114273
114290
  }, function(uo) {
114274
114291
  var zr = function(xo) {
114275
114292
  return function() {
@@ -114305,7 +114322,7 @@ Required: ` + w.join(", "));
114305
114322
  keydown: Q,
114306
114323
  keyup: ye
114307
114324
  };
114308
- }, h8 = function(g, w, T, I) {
114325
+ }, h6 = function(g, w, T, I) {
114309
114326
  var $ = d_(g);
114310
114327
  return function(W, Q) {
114311
114328
  I.clearBeforeUpdate(w), ys(W, Q, T).each(function(ye) {
@@ -114313,7 +114330,7 @@ Required: ` + w.join(", "));
114313
114330
  I.selectRange(w, _e, ye.start, ye.finish), $.selectContents(Q), $.collapseSelection();
114314
114331
  });
114315
114332
  };
114316
- }, v8 = function(g, w) {
114333
+ }, v6 = function(g, w) {
114317
114334
  Qe(w, function(T) {
114318
114335
  ol(g, T);
114319
114336
  });
@@ -114323,7 +114340,7 @@ Required: ` + w.join(", "));
114323
114340
  };
114324
114341
  }, h_ = function(g) {
114325
114342
  return function(w) {
114326
- v8(w, g);
114343
+ v6(w, g);
114327
114344
  };
114328
114345
  }, so = function(g) {
114329
114346
  var w = Qr(g.selected), T = h_([
@@ -114365,7 +114382,7 @@ Required: ` + w.join(", "));
114365
114382
  firstSelectedSelector: g.firstSelectedSelector,
114366
114383
  lastSelectedSelector: g.lastSelectedSelector
114367
114384
  };
114368
- }, p8 = {
114385
+ }, p6 = {
114369
114386
  byClass: so,
114370
114387
  byAttr: S4
114371
114388
  }, _g = function(g, w, T) {
@@ -114376,7 +114393,7 @@ Required: ` + w.join(", "));
114376
114393
  return ye.element;
114377
114394
  });
114378
114395
  });
114379
- }, m8 = function(g, w, T) {
114396
+ }, m6 = function(g, w, T) {
114380
114397
  var I = g.slice(w[0].row + w[0].rowspan - 1, g.length), $ = A1(I, T);
114381
114398
  return pt($, function(W) {
114382
114399
  var Q = W.cells.slice(w[0].column + w[0].colspan - 1, W.cells.length);
@@ -114387,7 +114404,7 @@ Required: ` + w.join(", "));
114387
114404
  }, k4 = function(g, w, T) {
114388
114405
  var I = Bn.fromTable(g), $ = jf(I, w);
114389
114406
  return $.map(function(W) {
114390
- var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m8(Q, W, T);
114407
+ var Q = av(I, T, !1), ye = _g(Q, W, T), _e = m6(Q, W, T);
114391
114408
  return {
114392
114409
  upOrLeftCells: ye,
114393
114410
  downOrRightCells: _e
@@ -114396,7 +114413,7 @@ Required: ` + w.join(", "));
114396
114413
  }, v_ = function(g) {
114397
114414
  return uc(Je.fromDom(g.target), "ephox-snooker-resizer-bar") === !1;
114398
114415
  };
114399
- function g8(g, w, T) {
114416
+ function g6(g, w, T) {
114400
114417
  var I = function(Q, ye, _e) {
114401
114418
  T.targets().each(function(Ye) {
114402
114419
  var mt = Ma(ye);
@@ -114407,7 +114424,7 @@ Required: ` + w.join(", "));
114407
114424
  });
114408
114425
  }, $ = function() {
114409
114426
  return Vw(g);
114410
- }, W = p8.byAttr(La, I, $);
114427
+ }, W = p6.byAttr(La, I, $);
114411
114428
  return g.on("init", function(Q) {
114412
114429
  var ye = g.getWin(), _e = Pf(g), Ye = Pd(g), mt = function() {
114413
114430
  var Uo = g.selection, ll = Je.fromDom(Uo.getStart()), qi = Je.fromDom(Uo.getEnd()), ss = Zu(Ma, [
@@ -114417,7 +114434,7 @@ Required: ` + w.join(", "));
114417
114434
  ss.fold(function() {
114418
114435
  return W.clear(_e);
114419
114436
  }, B);
114420
- }, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h8(ye, _e, Ye, W), Vt = function(Uo) {
114437
+ }, Cn = gg(ye, _e, Ye, W), pn = E4(ye, _e, Ye, W), An = h6(ye, _e, Ye, W), Vt = function(Uo) {
114421
114438
  return Uo.raw.shiftKey === !0;
114422
114439
  };
114423
114440
  g.on("TableSelectorChange", function(Uo) {
@@ -114441,7 +114458,7 @@ Required: ` + w.join(", "));
114441
114458
  w().each(function(Yi) {
114442
114459
  return Yi.hideBars();
114443
114460
  });
114444
- var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d8)(Je.fromDom(g.selection.getStart()));
114461
+ var qi = g.selection.getRng(), ss = Je.fromDom(qi.startContainer), qo = Je.fromDom(qi.endContainer), Ki = vy(Mr, d6)(Je.fromDom(g.selection.getStart()));
114445
114462
  pn.keydown(ll, ss, qi.startOffset, qo, qi.endOffset, Ki).each(function(Yi) {
114446
114463
  tn(ll, Yi);
114447
114464
  }), w().each(function(Yi) {
@@ -114473,7 +114490,7 @@ Required: ` + w.join(", "));
114473
114490
  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);
114474
114491
  }), { clear: W.clear };
114475
114492
  }
114476
- var _8 = function(g, w) {
114493
+ var _6 = function(g, w) {
114477
114494
  var T = yl(te.none()), I = yl([]), $ = te.none(), W = Jl("caption"), Q = function(zr) {
114478
114495
  return $.forall(function(xo) {
114479
114496
  return !xo[zr];
@@ -114688,7 +114705,7 @@ Required: ` + w.join(", "));
114688
114705
  onAction: I("mceInsertTable"),
114689
114706
  icon: "table"
114690
114707
  });
114691
- }, y8 = function(g) {
114708
+ }, y6 = function(g) {
114692
114709
  var w = function(I) {
114693
114710
  return g.dom.is(I, "table") && g.getBody().contains(I);
114694
114711
  }, T = C1(g);
@@ -114864,8 +114881,8 @@ Required: ` + w.join(", "));
114864
114881
  return Pf(g);
114865
114882
  }, function() {
114866
114883
  return th(Aa(g));
114867
- }, La.selectedSelector), T = _8(g, w), I = Jy(g), $ = g8(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
114868
- 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() {
114884
+ }, La.selectedSelector), T = _6(g, w), I = Jy(g), $ = g6(g, I.lazyResize, T), W = H1(g, I.lazyWire, w), Q = $2();
114885
+ return R2(g, W, $, w, Q), $b(g, W, w), ky(g, w, W, $), p_(g, T, Q), Gr(g, T, Q), y6(g), g.on("PreInit", function() {
114869
114886
  g.serializer.addTempAttr(La.firstSelected), g.serializer.addTempAttr(La.lastSelected), F2(g);
114870
114887
  }), Lw(g) && g.on("keydown", function(ye) {
114871
114888
  Yb(ye, g, $);