agilebuilder-ui 1.1.35 → 1.1.36-p1

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.
Files changed (29) hide show
  1. package/lib/{401-20f1c97c.js → 401-b8934d65.js} +1 -1
  2. package/lib/{404-36d09e24.js → 404-743a4631.js} +1 -1
  3. package/lib/{iframe-page-51c292dc.js → iframe-page-5e102433.js} +1 -1
  4. package/lib/{index-19f46200.js → index-a0c08bb5.js} +529 -473
  5. package/lib/super-ui.css +1 -1
  6. package/lib/super-ui.js +1 -1
  7. package/lib/super-ui.umd.cjs +48 -48
  8. package/lib/{tab-content-iframe-index-5d9d85c0.js → tab-content-iframe-index-e9b465bf.js} +1 -1
  9. package/lib/{tab-content-index-bd535c86.js → tab-content-index-313404d0.js} +1 -1
  10. package/lib/{tache-subprocess-history-56bf69ba.js → tache-subprocess-history-7d87cd77.js} +1 -1
  11. package/package.json +1 -1
  12. package/packages/super-grid/src/formatter.js +4 -3
  13. package/packages/super-grid/src/normal-column-content.vue +23 -0
  14. package/packages/super-grid/src/search-form-open.vue +0 -1
  15. package/packages/super-grid/src/super-grid-service.js +1 -1
  16. package/packages/super-grid/src/utils.js +8 -0
  17. package/packages/super-icon/src/index.vue +7 -1
  18. package/packages/utils/value-set.js +147 -1
  19. package/src/styles/theme/black/font-style.scss +2 -0
  20. package/src/styles/theme/blue/font-style.scss +2 -0
  21. package/src/styles/theme/blue2/font-style.scss +2 -0
  22. package/src/styles/theme/dark-blue/font.scss +2 -0
  23. package/src/styles/theme/gray/font-style.scss +2 -0
  24. package/src/styles/theme/green/font.scss +3 -1
  25. package/src/styles/theme/ocean-blue/font.scss +3 -1
  26. package/src/styles/theme/tiffany-blue-mobile/font.scss +2 -0
  27. package/src/utils/file-util.ts +32 -0
  28. package/src/utils/util.js +721 -715
  29. package/src/views/dsc-component/Sidebar/Item.vue +7 -2
@@ -8195,13 +8195,13 @@ function getAdditionalParamMap$1(n) {
8195
8195
  return r && Object.assign(o, r), o;
8196
8196
  }
8197
8197
  }
8198
- function getPropValueNew(n, o) {
8199
- let r = null;
8198
+ function getPropValueNew(n, o, r) {
8199
+ let a = null;
8200
8200
  if (n && n !== null && n !== "") {
8201
- const a = o && o.entity ? o.entity.data : null, s = getAdditionalParamMap$1(o), l = o && o.entity ? o.entity.context : null, d = o && o.entity ? o.entity.parent ? o.entity.parent : o.entity.data : null, p = o && o.entity ? o.entity.row : null, v = o && o.entity ? o.entity.task : null, w = o && o.entity ? o.entity.system : null;
8202
- n === "null" ? r = null : n.includes("${context.") || n.includes("${request.") || n.includes("${obj.") || n.includes("${data.") ? n.includes("${context.") ? r = getContextValue(l, n = n.replace("${context.", "").replace("}", "")) : n.includes("${request.") && n !== "${request.term}" ? (n = n.replace("${request.", "").replace("}", ""), r = s && s != null && Object.keys(s).indexOf(n) >= 0 && s[n] && s[n] !== null ? s[n] : null) : n.includes("${obj.") ? a === void 0 || a == null ? r = null : r = getEntityFieldValue(a, n.replace("${obj.", "").replace("}", "")) : n.includes("${data.") && (a === void 0 || a == null ? r = null : r = getEntityFieldValue(a, n.replace("${data.", "").replace("}", ""))) : n.includes("${parent.") ? d === void 0 || d == null ? r = null : r = getEntityFieldValue(d, n.replace("${parent.", "").replace("}", "")) : n.includes("${system.") ? w === void 0 || w == null ? r = null : r = getEntityFieldValue(w, n.replace("${system.", "").replace("}", "")) : n.includes("${task.") ? v === void 0 || v == null ? r = null : r = getEntityFieldValue(v, n.replace("${task.", "").replace("}", "")) : n.includes("${subObj.") ? p === void 0 || p == null ? r = null : r = getEntityFieldValue(p, n.replace("${subObj.", "").replace("}", "")) : r = n.includes("${input.") ? n.replace("${input.", "").replace("}", "") : n.includes("${fixed.") ? n.replace("${fixed.", "").replace("}", "") : n;
8201
+ const s = o && o.entity ? o.entity.data : null, l = getAdditionalParamMap$1(o), d = o && o.entity ? o.entity.context : null, p = o && o.entity ? o.entity.parent ? o.entity.parent : o.entity.data : null, v = o && o.entity ? o.entity.row : null, w = o && o.entity ? o.entity.task : null, E = o && o.entity ? o.entity.system : null;
8202
+ n === "null" ? a = null : n.startsWith("${row.") ? r && (a = getEntityFieldValue(r, n.replace("${row.", "").replace("}", ""))) : n.includes("${context.") || n.includes("${request.") || n.includes("${obj.") || n.includes("${data.") ? n.includes("${context.") ? a = getContextValue(d, n = n.replace("${context.", "").replace("}", "")) : n.includes("${request.") && n !== "${request.term}" ? (n = n.replace("${request.", "").replace("}", ""), a = l && l != null && Object.keys(l).indexOf(n) >= 0 && l[n] && l[n] !== null ? l[n] : null) : n.includes("${obj.") ? s === void 0 || s == null ? a = null : a = getEntityFieldValue(s, n.replace("${obj.", "").replace("}", "")) : n.includes("${data.") && (s === void 0 || s == null ? a = null : a = getEntityFieldValue(s, n.replace("${data.", "").replace("}", ""))) : n.includes("${parent.") ? p === void 0 || p == null ? a = null : a = getEntityFieldValue(p, n.replace("${parent.", "").replace("}", "")) : n.includes("${system.") ? E === void 0 || E == null ? a = null : a = getEntityFieldValue(E, n.replace("${system.", "").replace("}", "")) : n.includes("${task.") ? w === void 0 || w == null ? a = null : a = getEntityFieldValue(w, n.replace("${task.", "").replace("}", "")) : n.includes("${subObj.") ? v === void 0 || v == null ? a = null : a = getEntityFieldValue(v, n.replace("${subObj.", "").replace("}", "")) : a = n.includes("${input.") ? n.replace("${input.", "").replace("}", "") : n.includes("${fixed.") ? n.replace("${fixed.", "").replace("}", "") : n;
8203
8203
  }
8204
- return r;
8204
+ return a;
8205
8205
  }
8206
8206
  function analysisValue(n, o, r, a, s) {
8207
8207
  if (!n)
@@ -8210,7 +8210,7 @@ function analysisValue(n, o, r, a, s) {
8210
8210
  const d = n.split("-#-#");
8211
8211
  return d != null && d.length > 0 && d.forEach((p) => {
8212
8212
  let v;
8213
- v = s ? getPropValueNew(p, s) : getPropValue(p, o, r, a), v && v !== null || (v = ""), l += v;
8213
+ v = s ? getPropValueNew(p, s, o) : getPropValue(p, o, r, a), v && v !== null || (v = ""), l += v;
8214
8214
  }), l;
8215
8215
  }
8216
8216
  function setEntityFieldValue(n, o, r) {
@@ -9662,16 +9662,16 @@ const SvgIcon = _export_sfc(_sfc_main$1K, [["render", _sfc_render$1e], ["__scope
9662
9662
  const o = ref(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=");
9663
9663
  return (r, a) => {
9664
9664
  const s = resolveComponent("el-icon");
9665
- return n.iconValue.indexOf("amb-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(["amb-iconfont", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("amb-color-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 1, class: normalizeClass(["amb-color-iconfont", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("fa-") === 0 ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass("fa " + n.iconValue) }, null, 2)) : n.iconValue.indexOf("svg-img-") === 0 ? (openBlock(), createElementBlock("img", { key: 3, src: o.value + n.iconValue.substring(8), style: { width: "1em", height: "1em" } }, null, 8, _hoisted_1$1l)) : n.iconValue.indexOf("svg-") === 0 ? (openBlock(), createBlock(SvgIcon, { key: 4, "icon-class": n.iconValue.substring(4) }, null, 8, ["icon-class"])) : n.iconValue.indexOf("http") === 0 || n.iconValue.indexOf("//") === 0 || n.iconValue.indexOf("data:") === 0 ? (openBlock(), createElementBlock("img", { key: 5, src: n.iconValue, style: { width: "1em", height: "1em" } }, null, 8, _hoisted_2$Q)) : (openBlock(), createBlock(s, { key: 6 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(n.iconValue)))]), _: 1 }));
9665
+ return n.iconValue.indexOf("amb-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(["amb-iconfont", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("amb-color-icon-") === 0 ? (openBlock(), createElementBlock("i", { key: 1, class: normalizeClass(["amb-color-iconfont super-icon", n.iconValue]) }, null, 2)) : n.iconValue.indexOf("fa-") === 0 ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass("fa " + n.iconValue) }, null, 2)) : n.iconValue.indexOf("svg-img-") === 0 ? (openBlock(), createElementBlock("img", { key: 3, src: o.value + n.iconValue.substring(8), style: { width: "1em", height: "1em" } }, null, 8, _hoisted_1$1l)) : n.iconValue.indexOf("svg-") === 0 ? (openBlock(), createBlock(SvgIcon, { key: 4, "icon-class": n.iconValue.substring(4) }, null, 8, ["icon-class"])) : n.iconValue.indexOf("http") === 0 || n.iconValue.indexOf("//") === 0 || n.iconValue.indexOf("data:") === 0 ? (openBlock(), createElementBlock("img", { key: 5, src: n.iconValue, style: { width: "1em", height: "1em" } }, null, 8, _hoisted_2$Q)) : (openBlock(), createBlock(s, { key: 6 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(n.iconValue)))]), _: 1 }));
9666
9666
  };
9667
- } });
9668
- _sfc_main$1J.install = function(n) {
9669
- n.component("SuperIcon", _sfc_main$1J);
9667
+ } }), index_vue_vue_type_style_index_0_scoped_91c142d0_lang = "", superIcon = _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-91c142d0"]]);
9668
+ superIcon.install = function(n) {
9669
+ n.component("SuperIcon", superIcon);
9670
9670
  };
9671
9671
  const _sfc_main$1I = defineComponent({ name: "MenuItem", functional: !0, props: { icon: { type: String, default: "" }, title: { type: String, default: "" }, hasChildren: { type: Boolean, default: !1 }, isRoot: { type: Boolean, default: !1 }, code: { type: Boolean, default: !1 }, backlogTotal: { type: Number, default: 0 } }, render(n) {
9672
9672
  const { title: o, hasChildren: r, isRoot: a, code: s, backlogTotal: l } = n, d = n.icon, p = [];
9673
9673
  let v = [h("i", { class: "amb-iconfont amb-icon-meun_post" })];
9674
- return d && (v = [h(_sfc_main$1J, { iconValue: d })]), p.push(h("div", { class: ["smb-sidebar-menu-item-icon"] }, v)), o && (a ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)])) : s === "undoneTask" ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, [h(ElBadge, { value: l, style: { display: "inline" } }, o)])])) : p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)]))), p;
9674
+ return d && (v = [h(superIcon, { iconValue: d })]), p.push(h("div", { class: ["smb-sidebar-menu-item-icon"] }, v)), o && (a ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)])) : s === "undoneTask" ? p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, [h(ElBadge, { value: l, style: { display: "inline" } }, o)])])) : p.push(h("div", { class: ["smb-sidebar-menu-item-title"] }, [h("div", { title: o }, o)]))), p;
9675
9675
  } }), _sfc_main$1H = { props: { to: { type: Object, required: !0 } }, data() {
9676
9676
  const n = this.to.isExternal, o = this.to.openWay;
9677
9677
  let r = !1;
@@ -9950,7 +9950,7 @@ function _sfc_render$1a(n, o, r, a, s, l) {
9950
9950
  const d = resolveComponent("app-main");
9951
9951
  return openBlock(), createElementBlock("div", _hoisted_1$1i, [createElementVNode("div", _hoisted_2$P, [createVNode(d)])]);
9952
9952
  }
9953
- const Layout = _export_sfc(_sfc_main$1E, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-51c292dc.js"), hidden: !0 }] }, { path: "/auth-redirect", component: () => import("./authredirect-294d14ef.js"), hidden: !0 }, { path: "/404", component: () => import("./404-36d09e24.js"), hidden: !0 }, { path: "/401", component: () => import("./401-20f1c97c.js"), hidden: !0 }, { path: "/show-sub-wf-history", component: () => import("./tache-subprocess-history-56bf69ba.js"), hidden: !0 }, { path: "/tab-content-index", component: () => import("./tab-content-index-bd535c86.js"), hidden: !0 }, { path: "/tab-content-iframe-index", component: () => import("./tab-content-iframe-index-5d9d85c0.js"), hidden: !0 }], protectedRouterMap = [];
9953
+ const Layout = _export_sfc(_sfc_main$1E, [["render", _sfc_render$1a]]), publicRouterMap = [{ path: "/redirect", component: Layout, hidden: !0, children: [{ path: "/redirect/:path*", component: () => import("./index-1cc4db24.js") }] }, { path: "/iframe-page", component: Layout, hidden: !0, children: [{ path: "page", component: () => import("./iframe-page-5e102433.js"), hidden: !0 }] }, { path: "/auth-redirect", component: () => import("./authredirect-294d14ef.js"), hidden: !0 }, { path: "/404", component: () => import("./404-743a4631.js"), hidden: !0 }, { path: "/401", component: () => import("./401-b8934d65.js"), hidden: !0 }, { path: "/show-sub-wf-history", component: () => import("./tache-subprocess-history-7d87cd77.js"), hidden: !0 }, { path: "/tab-content-index", component: () => import("./tab-content-index-313404d0.js"), hidden: !0 }, { path: "/tab-content-iframe-index", component: () => import("./tab-content-iframe-index-e9b465bf.js"), hidden: !0 }], protectedRouterMap = [];
9954
9954
  function filterProtectedRouter(n, o) {
9955
9955
  const r = [], a = [];
9956
9956
  return n.forEach((s) => {
@@ -10753,16 +10753,16 @@ function doFormatWithValueSet(n, o) {
10753
10753
  return o;
10754
10754
  const r = n.valueSet;
10755
10755
  if (r !== void 0)
10756
- if (n.componentType !== "multiselect" || isDynamicDataSourceSource(n)) {
10757
- const a = r.filter((s) => s.value === o + "");
10758
- a.length > 0 && (o = a[0].label);
10759
- } else {
10756
+ if (n.componentType === "multiselect") {
10760
10757
  typeof o == "number" && (o += "");
10761
10758
  const a = (o + "").split(","), s = [];
10762
10759
  a.forEach((l) => {
10763
10760
  const d = r.filter((p) => p.value === l + "");
10764
10761
  d.length > 0 && s.push(d[0].label);
10765
- }), o = s.join(",");
10762
+ }), s.length > 0 && (o = s.join(","));
10763
+ } else {
10764
+ const a = r.filter((s) => s.value === o + "");
10765
+ a.length > 0 && (o = a[0].label);
10766
10766
  }
10767
10767
  return o;
10768
10768
  }
@@ -11005,6 +11005,11 @@ function getDynamicDataSourceOptions(n, o, r, a) {
11005
11005
  return l;
11006
11006
  }
11007
11007
  function isDynamicDataSourceSource(n) {
11008
+ if (n.valueSetOptions) {
11009
+ const o = JSON.parse(n.valueSetOptions);
11010
+ if (o.type && o.type === "dynamicData" || o.dynamicDataSourceCode)
11011
+ return !0;
11012
+ }
11008
11013
  return !!(n.valueSet && n.valueSet.length > 0 && n.valueSet[0].value === "dynamicDataSource");
11009
11014
  }
11010
11015
  function getLastPageNum(n, o) {
@@ -12790,7 +12795,7 @@ function _sfc_render$_(n, o, r, a, s, l) {
12790
12795
  const d = resolveComponent("el-date-picker"), p = resolveComponent("el-time-picker"), v = resolveComponent("el-input"), w = resolveComponent("SuperIcon"), E = resolveComponent("fs-upload-list"), x = resolveComponent("multipart-upload"), D = resolveComponent("el-option"), O = resolveComponent("el-select"), M = resolveComponent("dynamic-source-select"), L = resolveComponent("el-input-number"), q = resolveComponent("el-switch"), G = resolveComponent("el-slider"), W = resolveComponent("el-rate"), Z = resolveComponent("organization-input"), X = resolveComponent("el-button"), J = resolveComponent("el-upload"), ue = resolveComponent("el-dialog"), re = resolveComponent("view-image-dialog"), ge = resolveComponent("scan-code-input-browser");
12791
12796
  return r.type && r.type.indexOf("custom:") >= 0 && s.componentName != "" ? (openBlock(), createElementBlock("div", { key: 0, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [(openBlock(), createBlock(resolveDynamicComponent(s.componentName), { ref: "customItem", disabled: r.disabled, entity: r.row, "grid-data": s.gridData, "page-grid-data": s.pageGridData, "additional-settings": s.controlConfig, parent: s.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.position ? r.position.row : null, "select-options": r.options, value: s.innerValue, "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "page-context": s.pageContext, onChange: o[0] || (o[0] = (oe) => l.cellEvent("change", oe)), onInput: o[1] || (o[1] = (oe) => l.cellEvent("input", oe)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 4)) : (openBlock(), createElementBlock("div", { key: 1, style: normalizeStyle(r.row.validateErrorField && r.row.validateErrorField === r.column.prop ? "border:1px solid red" : "") }, [r.type === "year" || r.type === "month" || r.type === "week" ? (openBlock(), createBlock(d, { key: 0, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[2] || (o[2] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), type: r.type, "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[3] || (o[3] = (oe) => l.cellEvent("blur", oe)), onChange: o[4] || (o[4] = (oe) => l.cellEvent("change", oe)), onFocus: o[5] || (o[5] = (oe) => l.cellEvent("focus", oe)), onInput: o[6] || (o[6] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : r.type === "yearRange" ? (openBlock(), createBlock(d, { key: 1, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[7] || (o[7] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, placeholder: n.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: o[8] || (o[8] = (oe) => l.cellEvent("blur", oe)), onChange: o[9] || (o[9] = (oe) => l.cellEvent("change", oe)), onFocus: o[10] || (o[10] = (oe) => l.cellEvent("focus", oe)), onInput: o[11] || (o[11] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : r.type === "dateTimePicker" ? (openBlock(), createBlock(d, { key: 2, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[12] || (o[12] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[13] || (o[13] = (oe) => l.cellEvent("blur", oe)), onChange: o[14] || (o[14] = (oe) => l.cellEvent("change", oe)), onFocus: o[15] || (o[15] = (oe) => l.cellEvent("focus", oe)), onInput: o[16] || (o[16] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "date" ? (openBlock(), createBlock(d, { key: 3, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[17] || (o[17] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[18] || (o[18] = (oe) => l.cellEvent("blur", oe)), onChange: o[19] || (o[19] = (oe) => l.cellEvent("change", oe)), onFocus: o[20] || (o[20] = (oe) => l.cellEvent("focus", oe)), onInput: o[21] || (o[21] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type === "timePicker" || r.type === "input" && r.column.dataType === "TIME" ? (openBlock(), createBlock(p, { key: 4, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[22] || (o[22] = (oe) => s.innerValue = oe), disabled: r.disabled, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": l.isValueFormat(), style: { width: "100%" }, onBlur: o[23] || (o[23] = (oe) => l.cellEvent("blur", oe)), onChange: o[24] || (o[24] = (oe) => l.cellEvent("change", oe)), onFocus: o[25] || (o[25] = (oe) => l.cellEvent("focus", oe)), onInput: o[26] || (o[26] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.type === "time" ? (openBlock(), createBlock(d, { key: 5, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[27] || (o[27] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), placeholder: n.$t("imatrixUIMessage.selectTime"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: o[28] || (o[28] = (oe) => l.cellEvent("blur", oe)), onChange: o[29] || (o[29] = (oe) => l.cellEvent("change", oe)), onFocus: o[30] || (o[30] = (oe) => l.cellEvent("focus", oe)), onInput: o[31] || (o[31] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : r.column.dataType === "DATE" ? (openBlock(), createBlock(d, { key: 6, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[32] || (o[32] = (oe) => s.innerValue = oe), disabled: r.disabled, editable: !1, format: l.isFormat(), "picker-options": s.pickerOptions, placeholder: n.$t("imatrixUIMessage.selectionDate"), "value-format": l.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: o[33] || (o[33] = (oe) => l.cellEvent("blur", oe)), onChange: o[34] || (o[34] = (oe) => l.cellEvent("change", oe)), onFocus: o[35] || (o[35] = (oe) => l.cellEvent("focus", oe)), onInput: o[36] || (o[36] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : r.type !== "input" || r.column.dataType !== "INTEGER" && r.column.dataType !== "LONG" ? r.type === "input" ? (openBlock(), createBlock(v, { key: 8, ref: "item", disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, clearable: "", modelValue: s.innerValue, "onUpdate:modelValue": o[48] || (o[48] = (oe) => s.innerValue = oe), onBlur: o[49] || (o[49] = (oe) => l.cellEvent("blur", oe)), onChange: o[50] || (o[50] = (oe) => l.cellEvent("change", oe)), onClear: o[51] || (o[51] = (oe) => l.cellEvent("clear", oe)), onFocus: o[52] || (o[52] = (oe) => l.cellEvent("focus", oe)), onInput: o[53] || (o[53] = (oe) => l.cellEvent("input", oe, !0)) }, createSlots({ _: 2 }, [s.designProperty.iconPosition != "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prefix", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[43] || (o[43] = (oe) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_1$14, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "0" } : void 0, s.designProperty.iconPosition == "outer" && (s.designProperty.preIconType && s.designProperty.preIconValue || s.designProperty.preText) ? { name: "prepend", fn: withCtx(() => [s.designProperty.preIconType && s.designProperty.preIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.preIconType, iconValue: s.designProperty.preIconValue, onClick: o[44] || (o[44] = (oe) => l.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.preText ? (openBlock(), createElementBlock("span", _hoisted_2$G, toDisplayString$1(n.$t(s.designProperty.preText)), 1)) : createCommentVNode("", !0)]), key: "1" } : void 0, s.designProperty.iconPosition != "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "suffix", fn: withCtx(() => [s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 0, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[45] || (o[45] = (oe) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_3$v, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "2" } : void 0, s.isShowScanIcon || s.designProperty.iconPosition == "outer" && (s.designProperty.sufIconType && s.designProperty.sufIconValue || s.designProperty.sufText) ? { name: "append", fn: withCtx(() => [s.isShowScanIcon ? (openBlock(), createBlock(w, { key: 0, iconValue: "fa-barcode", onClick: o[46] || (o[46] = (oe) => l.scanClick()) })) : createCommentVNode("", !0), s.designProperty.sufIconType && s.designProperty.sufIconValue ? (openBlock(), createBlock(w, { key: 1, iconType: s.designProperty.sufIconType, iconValue: s.designProperty.sufIconValue, onClick: o[47] || (o[47] = (oe) => l.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", !0), s.designProperty.sufText ? (openBlock(), createElementBlock("span", _hoisted_4$m, toDisplayString$1(n.$t(s.designProperty.sufText)), 1)) : createCommentVNode("", !0)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : r.type === "textarea" ? (openBlock(), createBlock(v, { key: 9, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[54] || (o[54] = (oe) => s.innerValue = oe), disabled: r.disabled, maxlength: s.controlConfig && s.controlConfig.maxlength ? s.controlConfig.maxlength : "", minlength: s.controlConfig && s.controlConfig.minlength ? s.controlConfig.minlength : "", placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), rows: 1, title: s.innerValue, clearable: "", type: "textarea", onBlur: o[55] || (o[55] = (oe) => l.cellEvent("blur", oe)), onChange: o[56] || (o[56] = (oe) => l.cellEvent("change", oe)), onClear: o[57] || (o[57] = (oe) => l.cellEvent("clear", oe)), onFocus: o[58] || (o[58] = (oe) => l.cellEvent("focus", oe)), onInput: o[59] || (o[59] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "title"])) : r.type === "annex" ? (openBlock(), createBlock(E, { key: 10, ref: "fileUploadRef", "custom-view-url": !0, disabled: r.disabled, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, "is-sql": r.isSql, row: r.row, value: s.innerValue, "page-context": s.pageContext, "list-code": r.listCode, componentId: s.componentId, onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type === "multipartUpload" ? (openBlock(), createBlock(x, { key: 11, disabled: r.disabled, entity: r.row, "file-info": s.fileInfo, "file-list": s.fileList, "file-set-obj": s.fileSetObj, value: s.innerValue, type: "list", onDelete: l.deleteFile, onDeleteSuccess: l.deleteSuccess, onUploadSuccess: l.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : r.type !== "select" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" || l.isDynamicDataSourceSource() ? r.type !== "multiselect" && r.type !== "select" || !l.isDynamicDataSourceSource() ? r.type === "inputNumber" ? (openBlock(), createBlock(L, { key: 15, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[81] || (o[81] = (oe) => s.innerValue = oe), "controls-position": s.inputNumberSet.position, disabled: r.disabled, max: s.inputNumberSet.max == 0 ? 0 : s.inputNumberSet.max ? s.inputNumberSet.max : 1 / 0, min: s.inputNumberSet.min == 0 ? 0 : s.inputNumberSet.min ? s.inputNumberSet.min : -1 / 0, precision: s.inputNumberSet.precision, step: s.inputNumberSet.step ? s.inputNumberSet.step : 1, onBlur: o[82] || (o[82] = (oe) => l.cellEvent("blur", oe)), onChange: o[83] || (o[83] = (oe) => l.cellEvent("change", oe)), onFocus: o[84] || (o[84] = (oe) => l.cellEvent("focus", oe)), onInput: o[85] || (o[85] = (oe) => l.cellEvent("input", oe)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : r.type === "switch" || r.column.dataType === "BOOLEAN" ? (openBlock(), createBlock(q, { key: 16, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[86] || (o[86] = (oe) => s.innerValue = oe), "active-text": l.getSwitchConfig("activeText"), "active-value": l.getSwitchConfig("activeValue"), disabled: r.disabled, "inactive-text": l.getSwitchConfig("inactiveText"), "inactive-value": l.getSwitchConfig("inactiveValue"), onChange: o[87] || (o[87] = (oe) => l.cellEvent("change", oe)), onInput: o[88] || (o[88] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : r.type === "slider" ? (openBlock(), createBlock(G, { key: 17, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[89] || (o[89] = (oe) => s.innerValue = oe), disabled: r.disabled, onChange: o[90] || (o[90] = (oe) => l.cellEvent("change", oe)), onInput: o[91] || (o[91] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "disabled"])) : r.type === "rate" ? (openBlock(), createBlock(W, { key: 18, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[92] || (o[92] = (oe) => s.innerValue = oe), disabled: r.disabled, onChange: o[93] || (o[93] = (oe) => l.cellEvent("change", oe)), onInput: o[94] || (o[94] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "disabled"])) : s.deptManTree || s.deptTree || s.wgManTree || s.wgTree ? (openBlock(), createBlock(Z, { key: 19, "check-strictly": s.isCheckStrictly, "department-info": s.departmentInfo, disabled: r.disabled, fields: s.fields, "is-join-table": s.isJoinTable, models: r.row, multiple: s.isMultiTree, "table-name": s.tableName, "tree-type": s.deptManTree ? "DeptUserTree" : s.deptTree ? "DeptTree" : s.wgManTree ? "WgTree" : s.wgTree ? "WgUserTree" : null, value: s.innerValue, onAppend: l.appendOrganizationInputEvent, onClear: l.clearOrganizationInputEvent, onFocus: l.showOrganizationTree, onReplace: l.replaceOrganizationInputEvent, onSetValue: l.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : createCommentVNode("", !0) : (openBlock(), createBlock(M, { key: 14, value: s.innerValue, "onUpdate:value": o[74] || (o[74] = (oe) => s.innerValue = oe), "base-props": { multiple: r.type === "multiselect", disabled: r.disabled }, column: r.column, entity: r.row, "is-join-table": s.isJoinTable, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: { dynamicDataSourceCode: s.dynamicDataSourceCode, valueSetOptions: s.valueSetOptions, isSql: r.isSql, backendUrl: s.baseURL, additionalParameter: s.additionalParamMap ? JSON.stringify(s.additionalParamMap) : null }, parent: s.parentFormData, "table-name": s.tableName, onBlur: o[75] || (o[75] = (oe) => l.cellEvent("blur", oe)), onChange: l.multiselectChange, onClear: o[76] || (o[76] = (oe) => l.cellEvent("clear", oe)), onFocus: o[77] || (o[77] = (oe) => l.cellEvent("focus", oe)), onInput: o[78] || (o[78] = (oe) => l.cellEvent("input", oe)), onVisibleChange: o[79] || (o[79] = (oe) => l.cellEvent("visible-change", oe)), onRemoveTag: o[80] || (o[80] = (oe) => l.cellEvent("remove-tag", oe)), onSetValue: l.setDynamicSourceSelectValue }, null, 8, ["value", "base-props", "column", "entity", "is-join-table", "list-code", "list-toolbar-form-data", "options", "parent", "table-name", "onChange", "onSetValue"])) : (openBlock(), createBlock(O, { key: 13, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[67] || (o[67] = (oe) => s.innerValue = oe), disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), clearable: "", "collapse-tags": "", multiple: "", onBlur: o[68] || (o[68] = (oe) => l.cellEvent("blur", oe)), onChange: l.multiselectChange, onClear: o[69] || (o[69] = (oe) => l.cellEvent("clear", oe)), onFocus: o[70] || (o[70] = (oe) => l.cellEvent("focus", oe)), onInput: o[71] || (o[71] = (oe) => l.cellEvent("input", oe)), onVisibleChange: o[72] || (o[72] = (oe) => l.cellEvent("visible-change", oe)), onRemoveTag: o[73] || (o[73] = (oe) => l.cellEvent("remove-tag", oe)) }, { default: withCtx(() => [createVNode(D, { label: n.$t("superGrid.selectAll"), value: "saveAll" }, null, 8, ["label"]), (openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (oe) => (openBlock(), createBlock(D, { key: oe.value, label: oe.label, value: oe.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "placeholder", "title", "onChange"])) : (openBlock(), createBlock(O, { key: 12, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[60] || (o[60] = (oe) => s.innerValue = oe), "allow-create": !!s.controlConfig.allowCreate, clearable: !!s.controlConfig.clearable, "default-first-option": !!s.controlConfig.allowCreate, disabled: r.disabled, filterable: !!s.controlConfig.filterable, placeholder: n.$t("imatrixUIMessage.pleaseSelect"), title: l.getClassOptionTitle(s.innerValue), onBlur: o[61] || (o[61] = (oe) => l.cellEvent("blur", oe)), onChange: o[62] || (o[62] = (oe) => l.cellEvent("change", oe)), onClear: o[63] || (o[63] = (oe) => l.cellEvent("clear", oe)), onFocus: o[64] || (o[64] = (oe) => l.cellEvent("focus", oe)), onInput: o[65] || (o[65] = (oe) => l.cellEvent("input", oe)), onVisibleChange: o[66] || (o[66] = (oe) => l.cellEvent("visible-change", oe)) }, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.options, (oe) => (openBlock(), createBlock(D, { key: oe.value, label: oe.label, value: oe.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "allow-create", "clearable", "default-first-option", "disabled", "filterable", "placeholder", "title"])) : (openBlock(), createBlock(v, { key: 7, ref: "item", modelValue: s.innerValue, "onUpdate:modelValue": o[37] || (o[37] = (oe) => s.innerValue = oe), modelModifiers: { number: !0 }, disabled: r.disabled, placeholder: n.$t("imatrixUIMessage.pleaseEnterContent"), title: s.innerValue, type: r.column.dataType === "INTEGER" || r.column.dataType === "LONG" ? "number" : "text", clearable: "", onBlur: o[38] || (o[38] = (oe) => l.cellEvent("blur", oe)), onChange: o[39] || (o[39] = (oe) => l.cellEvent("change", oe)), onClear: o[40] || (o[40] = (oe) => l.cellEvent("clear", oe)), onFocus: o[41] || (o[41] = (oe) => l.cellEvent("focus", oe)), onInput: o[42] || (o[42] = (oe) => l.cellEvent("input", oe, !0)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), createVNode(ue, { "append-to-body": !0, "show-close": !0, title: n.$t("imatrixUIMessage.tips"), visible: s.annexUploadFlag, width: "30%" }, { default: withCtx(() => [r.type === "annex" && s.annexUploadFlag ? (openBlock(), createBlock(J, { key: 0, accept: s.fileSetObj && s.fileSetObj.accept ? s.fileSetObj.accept : null, action: s.defaultAction, "before-upload": l.handleBeforeUpload, headers: s.headers, "on-success": l.uploadOnSuccess, "with-credentials": !0, name: "file" }, { default: withCtx(() => [createVNode(X, null, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : createCommentVNode("", !0)]), _: 1 }, 8, ["title", "visible"]), s.showSingleImgFlag ? (openBlock(), createBlock(re, { key: 20, deleteable: !r.disabled, downloadable: !r.disabled, "file-list": s.fileList, onClose: o[95] || (o[95] = (oe) => s.showSingleImgFlag = !1), onDelete: l.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : createCommentVNode("", !0), s.isShowBrowserScan ? (openBlock(), createBlock(ge, { key: 21, onClose: l.closeBrowserScan }, null, 8, ["onClose"])) : createCommentVNode("", !0)], 4));
12792
12797
  }
12793
- const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), rowOperation_vue_vue_type_style_index_0_scoped_5be2372b_lang = "", _sfc_main$1n = { name: "RowOperation", components: { superIcon: _sfc_main$1J }, props: { editing: { type: Boolean, default: !1 }, isTableBtnLink: { type: [Boolean], default: !1 }, isShow: { type: [Boolean, Function], default: !0 }, onClick: { type: Function, default: function() {
12798
+ const DynamicInput = _export_sfc(_sfc_main$1o, [["render", _sfc_render$_]]), rowOperation_vue_vue_type_style_index_0_scoped_5be2372b_lang = "", _sfc_main$1n = { name: "RowOperation", components: { superIcon }, props: { editing: { type: Boolean, default: !1 }, isTableBtnLink: { type: [Boolean], default: !1 }, isShow: { type: [Boolean, Function], default: !0 }, onClick: { type: Function, default: function() {
12794
12799
  } }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operationSetting: { type: Object, default: null }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...mapGetters(["preventReclick"]), isSaveRow() {
12795
12800
  return /^\s*function\s+saveRow*\s*\(/.test(this.onClick ?? "");
12796
12801
  }, isDeleteRow() {
@@ -13070,7 +13075,7 @@ function _sfc_render$W(n, o, r, a, s, l) {
13070
13075
  const d = resolveComponent("el-tag");
13071
13076
  return openBlock(), createElementBlock("span", null, [s.formatConfig.isTag ? (openBlock(), createElementBlock("span", _hoisted_1$11, [s.displayText ? (openBlock(), createBlock(d, { key: 0, type: s.customStyle.type, color: s.customStyle.color, effect: s.formatConfig.effect, size: s.formatConfig.size, hit: s.formatConfig.hit }, { default: withCtx(() => [createTextVNode(toDisplayString$1(s.displayText), 1)]), _: 1 }, 8, ["type", "color", "effect", "size", "hit"])) : createCommentVNode("", !0)])) : (openBlock(), createElementBlock("span", { key: 1, style: normalizeStyle(s.customStyle) }, [s.formatConfig.position === "pre" ? (openBlock(), createElementBlock("i", { key: 0, class: normalizeClass(s.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0), s.formatConfig.displayTextJudge ? (openBlock(), createElementBlock("span", _hoisted_2$E, toDisplayString$1(s.displayText), 1)) : createCommentVNode("", !0), s.formatConfig.position === "suf" ? (openBlock(), createElementBlock("i", { key: 2, class: normalizeClass(s.formatConfig.icon) }, null, 2)) : createCommentVNode("", !0)], 4))]);
13072
13077
  }
13073
- const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_794407b6_lang = "", _sfc_main$1j = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: !1 }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: !1 } }, data() {
13078
+ const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalColumnContent_vue_vue_type_style_index_0_scoped_1b240825_lang = "", _sfc_main$1j = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: !1 }, column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: !1 } }, data() {
13074
13079
  let n;
13075
13080
  const o = store$1.get(this.listCode), r = o.options;
13076
13081
  o.options.extraParam && o.options.extraParam.entityMap && (n = o.options.extraParam.entityMap);
@@ -13092,7 +13097,7 @@ const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalC
13092
13097
  return `${this.$rowGuId}_${this.column.prop}`;
13093
13098
  }, isEditing() {
13094
13099
  try {
13095
- return this.hasEditPermission ? !!store$3.getters.isEditing(this.$rowColumnDataGuId) || (!this.isFormSubTable && this.row.$editing ? !store$3.getters.isRowEditing(this.$rowGuId) : this.row.$editing) : void 0;
13100
+ return this.validateEditConditions() ? this.hasEditPermission ? !!store$3.getters.isEditing(this.$rowColumnDataGuId) || (!this.isFormSubTable && this.row.$editing ? !store$3.getters.isRowEditing(this.$rowGuId) : this.row.$editing) : void 0 : !1;
13096
13101
  } catch {
13097
13102
  return !1;
13098
13103
  }
@@ -13336,13 +13341,21 @@ const GridIcon = _export_sfc(_sfc_main$1k, [["render", _sfc_render$W]]), normalC
13336
13341
  o(d === void 0 || d === !0);
13337
13342
  }) : (l !== void 0 && l !== !0 || o(!0), o(!1));
13338
13343
  });
13344
+ }, validateEditConditions() {
13345
+ var n;
13346
+ if (this.controlConfig && ((n = this.controlConfig.editConditions) == null ? void 0 : n.length) > 0) {
13347
+ const o = store$1.get(this.listCode).options;
13348
+ if (!o.isWorkflowEntity && o.validateEitConditions && !o.validateEitConditions({ row: this.row, editConditions: this.controlConfig.editConditions, listCode: this.listCode }))
13349
+ return !1;
13350
+ }
13351
+ return !0;
13339
13352
  } }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit"] }, _hoisted_1$10 = { class: "normal-column-content-view" }, _hoisted_2$D = { key: 1, class: "column-text-main" }, _hoisted_3$u = { key: 0, "table-column-placeholder": "" }, _hoisted_4$l = { key: 1, class: "grid-operation-buttons", "data-v": "20250527" }, _hoisted_5$f = ["id"], _hoisted_6$e = { key: 0, type: "primary" }, _hoisted_7$8 = ["id", "title"], _hoisted_8$6 = ["id", "title"], _hoisted_9$6 = ["id"], _hoisted_10$6 = ["id", "title"], _hoisted_11$4 = ["id"], _hoisted_12$4 = { key: 0, type: "primary" }, _hoisted_13$3 = ["id", "title"], _hoisted_14$3 = ["id"], _hoisted_15$3 = { key: 1 }, _hoisted_16$3 = ["id", "title"], _hoisted_17$3 = ["id", "title"], _hoisted_18$2 = ["id"], _hoisted_19 = ["id", "title", "innerHTML"], _hoisted_20 = ["id"];
13340
13353
  function _sfc_render$V(n, o, r, a, s, l) {
13341
13354
  var J, ue, re, ge, oe, Ne;
13342
13355
  const d = resolveComponent("dynamic-input"), p = resolveComponent("Edit"), v = resolveComponent("el-icon"), w = resolveComponent("el-dropdown-item"), E = resolveComponent("el-dropdown-menu"), x = resolveComponent("el-dropdown"), D = resolveComponent("row-operation"), O = resolveComponent("secret-info"), M = resolveComponent("FsPreview"), L = resolveComponent("el-link"), q = resolveComponent("el-tooltip"), G = resolveComponent("GridIcon"), W = resolveComponent("view-image-dialog"), Z = resolveComponent("rich-editor-viewer"), X = resolveDirective("permission");
13343
13356
  return openBlock(), createElementBlock("div", _hoisted_1$10, [l.isEditing || r.isShowForm ? (openBlock(), createBlock(d, { key: 0, ref: "dynamicRef", value: r.row[r.column.prop], "onUpdate:value": o[0] || (o[0] = (Ce) => r.row[r.column.prop] = Ce), class: normalizeClass(s.requiredClass), column: r.column, "is-sql": r.isSql, "line-edit": s.lineEdit, "list-code": r.listCode, "list-toolbar-form-data": r.listToolbarFormData, options: r.column.valueSet, "grid-options": s.options, position: { row: r.rowIndex, prop: r.column.prop }, disabled: s.disabled, row: r.row, "row-index": r.rowIndex, type: r.column.componentType, onKeyup: withKeys(l.clearAllEditing, ["enter"]), onFindIndex: o[1] || (o[1] = (Ce) => l.findIndex(r.rowIndex)), onFocus: o[2] || (o[2] = (Ce) => l.onFocus(r.rowIndex)), onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList, onRefresData: l.refresData, onRefresMainTableFields: l.refresMainTableFields, onRefresPortData: l.refresPortData, onRefresPortsData: l.refresPortsData, onChangeDisabled: l.changeDisabled, onChangeRequired: l.changeRequired, onOpenPage: l.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (openBlock(), createElementBlock("div", _hoisted_2$D, [s.lineEdit.editable && ((ge = (re = (ue = (J = s.options) == null ? void 0 : J.configureObj) == null ? void 0 : ue.props) == null ? void 0 : re.base) != null && ge.columnEditable) && s.isEditable && !l.isHideEdit && !r.isContentViewText ? (openBlock(), createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: o[3] || (o[3] = (...Ce) => l.onEditing && l.onEditing(...Ce)) }, [createVNode(v, { size: 14, color: "#409eff" }, { default: withCtx(() => [createVNode(p)]), _: 1 }), [void 0, null, ""].includes(r.row[r.column.prop]) ? (openBlock(), createElementBlock("span", _hoisted_3$u, toDisplayString$1(n.$t("superGrid.editablePlaceholder")), 1)) : createCommentVNode("", !0)])) : createCommentVNode("", !0), r.column.operations ? (openBlock(), createElementBlock("span", _hoisted_4$l, [(openBlock(!0), createElementBlock(Fragment, null, renderList(r.column.operations, (Ce, $) => (openBlock(), createElementBlock("span", { key: $, class: normalizeClass([r.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [Ce.isGroup ? (openBlock(), createBlock(x, { key: 0, size: Ce.buttons && Ce.buttons.length > 0 ? Ce.buttons[0].props.size : "small", "split-button": "", onCommand: l.handleCommand }, { dropdown: withCtx(() => [createVNode(E, null, { default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(Ce.buttons, (_e, ce) => (openBlock(), createElementBlock("span", { key: _e.props.code + ce }, [withDirectives((openBlock(), createBlock(w, { command: l.beforeHandleCommand(_e.props.code, r.row, r.rowIndex), disabled: n.preventReclick }, { default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(_e.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[X, _e.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: withCtx(() => [createTextVNode(toDisplayString$1(n.$escapeHtml(Ce.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : Ce.props.customControl ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(Ce.props.customControl), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, disabled: !0, row: r.pageGridData[r.rowIndex], entity: r.pageGridData[r.rowIndex], prop: r.column.prop, parent: s.parentFormData, "row-index": r.rowIndex, "grid-data": r.gridData, "page-grid-data": r.pageGridData, "current-page": r.currentPage, onRefreshList: l.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "onRefreshList"])), [[X, Ce.props.permission]]) : (openBlock(), createBlock(D, { key: 2, column: r.column, editing: r.row.$editing, entity: r.row, "is-show": Ce.isShow, label: Ce.props.label ? Ce.props.label : r.row[r.column.prop], "on-click": Ce.onClick, "operation-index": $, "operation-setting": Ce.props, "row-index": r.rowIndex, "list-code": r.listCode, "parent-form-data": s.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : n.customFormatValue(r.row, r.column.prop, r.customFormat, r.rowIndex) ? (openBlock(), createElementBlock("span", { key: 2, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(r.column.prop + r.rowIndex), { entity: r.row, parent: s.parentFormData, prop: r.column.prop, row: r.row, "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.row, r.rowIndex)), value: l.getCellValue(r.row), "additional-param-map": s.additionalParamMap, "additional-settings": s.additionalSettings, "page-context": (oe = s.options) == null ? void 0 : oe.pageContext }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context"]))], 2)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "customControl" && s.columnFormatter.options && s.columnFormatter.options.format && s.columnFormatter.options.format !== "" ? (openBlock(), createElementBlock("span", { key: 3, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [(openBlock(), createBlock(resolveDynamicComponent(s.columnFormatter.options.format), { key: r.column.prop + "_" + r.rowIndex + "_" + r.currentPage, "current-page": r.currentPage, disabled: !0, entity: r.pageGridData[r.rowIndex], "get-form-data": s.getFormData, "get-grid-data": s.getTableGridData, "grid-data": r.gridData, "page-grid-data": r.pageGridData, parent: s.parentFormData, prop: r.column.prop, row: r.pageGridData[r.rowIndex], "row-index": r.rowIndex, "select-options": r.column.valueSet, "show-value": n.$escapeHtml(l.getLabel(r.pageGridData[r.rowIndex], r.rowIndex)), value: l.getCellValue(r.pageGridData[r.rowIndex]), "additional-param-map": s.additionalParamMap, listCode: r.listCode, "component-id": s.componentId, "additional-settings": s.additionalSettings, "page-context": (Ne = s.options) == null ? void 0 : Ne.pageContext, onProhibitToEdit: l.prohibitToEdit, onRefreshList: l.refreshList }, 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", "page-context", "onProhibitToEdit", "onRefreshList"]))], 2)) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "secretInfo" ? (openBlock(), createElementBlock("span", { key: 4, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(O, { entity: r.row, "field-label": n.$escapeHtml(n.label), "list-code": r.listCode, "list-name": r.listName, "page-code": r.pageCode, prop: r.column.prop, "table-name": r.tableName, value: l.getCellValue(r.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, _hoisted_5$f)) : n.isObjectProp(r.column.prop) ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_6$e, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_7$8)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(L, { key: 1, type: l.getLinkType(r.row), onClick: o[4] || (o[4] = (Ce) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getMyHyperLinkSetting(r.row, r.rowIndex).title, class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent((l.getMyHyperLinkSetting(r.row), r.rowIndex.icon))))]), _: 1 })) : createCommentVNode("", !0)], 14, _hoisted_8$6)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(r.row, r.rowIndex).label) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 10, _hoisted_9$6))]), _: 1 }, 8, ["type"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 2, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 15, _hoisted_10$6)) : (openBlock(), createElementBlock("span", { key: 3, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_11$4))], 64)) : (openBlock(), createElementBlock(Fragment, { key: 6 }, [r.column.componentType === "annex" || r.column.componentType === "multipartUpload" ? (openBlock(), createElementBlock("span", _hoisted_12$4, [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getLabel(r.row)), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_13$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFileObj(r.column.fileSet), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, _hoisted_14$3))])) : r.column.formatter && r.column.formatter.type === "files" ? (openBlock(), createElementBlock("span", _hoisted_15$3, [createElementVNode("span", { id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.isShowOverflowTooltip ? n.$escapeHtml(l.getLabel(r.row)) : "", class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createVNode(M, { entity: r.row, "file-set-obj": l.getFilesFormatter(), "is-sql": r.isSql, label: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 14, _hoisted_16$3)])) : s.columnFormatter !== void 0 && s.columnFormatter.type !== void 0 && s.columnFormatter.type === "hyperlinks" && l.getMyHyperLinkSetting(r.row, r.rowIndex).visible === !0 ? (openBlock(), createBlock(L, { key: 2, type: "primary", onClick: o[5] || (o[5] = (Ce) => n.clickHyperLink(r.column, r.row, r.listCode, r.rowIndex)) }, { default: withCtx(() => [n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 0, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).title), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 14, _hoisted_17$3)) : (openBlock(), createElementBlock("span", { key: 1, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, [createTextVNode(toDisplayString$1(n.$escapeHtml(l.getMyHyperLinkSetting(r.row, r.rowIndex).label)) + " ", 1), l.getMyHyperLinkSetting(r.row, r.rowIndex).icon ? (openBlock(), createBlock(v, { key: 0 }, { default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(r.row, r.rowIndex).icon)))]), _: 1 })) : createCommentVNode("", !0)], 10, _hoisted_18$2))]), _: 1 })) : r.column.formatter && r.column.formatter.type === "richEditor" ? (openBlock(), createBlock(q, { key: 3, content: n.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: withCtx(() => [createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: o[6] || (o[6] = (Ce) => l.showRichEditorContent(r.row, r.column, l.getHeader())) })]), _: 1 }, 8, ["content"])) : r.column.formatter && r.column.formatter.type === "icon" ? (openBlock(), createBlock(G, { key: 4, id: r.column.prop + "DomData" + r.rowIndex, column: r.column, row: r.row, "row-index": r.rowIndex, "is-sql": r.isSql, "list-code": r.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : n.isShowOverflowTooltip ? (openBlock(), createElementBlock("span", { key: 5, id: r.column.prop + "DomData" + r.rowIndex, style: normalizeStyle(s.textOverflow === "newline" ? {} : { width: s.cellWidth + "px" }), title: l.getLabel(r.row), class: normalizeClass(s.textOverflow === "newline" ? "wrap-text" : "ellipsis cell--span"), innerHTML: n.$escapeHtml(l.getLabel(r.row, r.rowIndex)) }, null, 14, _hoisted_19)) : (openBlock(), createElementBlock("span", { key: 6, id: r.column.prop + "DomData" + r.rowIndex, class: normalizeClass(r.isShowForm ? "" : "cell--span") }, toDisplayString$1(n.$escapeHtml(l.getLabel(r.row, r.rowIndex))), 11, _hoisted_20))], 64))])), s.showSingleImgFlag ? (openBlock(), createBlock(W, { key: 2, "file-list": s.fileList, onClose: o[7] || (o[7] = (Ce) => s.showSingleImgFlag = !1) }, null, 8, ["file-list"])) : createCommentVNode("", !0), s.showRichEditorViewer ? (openBlock(), createBlock(Z, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : createCommentVNode("", !0)]);
13344
13357
  }
13345
- const NormalColumnContent = _export_sfc(_sfc_main$1j, [["render", _sfc_render$V], ["__scopeId", "data-v-794407b6"]]), _sfc_main$1i = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon, NormalColumnContent }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null } }, data() {
13358
+ const NormalColumnContent = _export_sfc(_sfc_main$1j, [["render", _sfc_render$V], ["__scopeId", "data-v-1b240825"]]), _sfc_main$1i = { components: { DynamicInput, RowOperation, ViewImageDialog, FsPreview, RichEditorViewer, CirclePlus: circle_plus_default, ElIconZoomIn: zoom_in_default, GridIcon, NormalColumnContent }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: !1 }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null } }, data() {
13346
13359
  let n;
13347
13360
  const o = store$1.get(this.listCode), r = o.options;
13348
13361
  return o.options.extraParam && o.options.extraParam.entityMap && (n = o.options.extraParam.entityMap), { selectRow: null, that: this, align: "left", headerAlign: "left", isFormSubTable: !1, subTableCanAdd: !0, isShowAdd: !1, cellWidth: null, parentFormData: n, options: r };
@@ -15302,7 +15315,10 @@ const MobileCard = defineComponent({ name: "MobileTableCard", components: { Norm
15302
15315
  }, sort: function(n, o) {
15303
15316
  this.$refs.superGrid.sort(n, o);
15304
15317
  } };
15305
- function packageEnumAndBeanColumnValueSets(n, o) {
15318
+ function packageEnumAndBeanColumnValueSets(n, o, r, a) {
15319
+ return isPlateSys(window.$vueApp.config.globalProperties.systemCode) ? packageEnumAndBeanColumnValueSetsWhenPlate(n, o) : packageEnumAndBeanColumnValueSetsWhenOtherSys(n, o, r, a);
15320
+ }
15321
+ function packageEnumAndBeanColumnValueSetsWhenPlate(n, o) {
15306
15322
  return new Promise((r, a) => {
15307
15323
  const s = { listCode: o, valueSetMetas: [] }, l = [];
15308
15324
  for (let d = 0; d < n.length; d++) {
@@ -15338,6 +15354,46 @@ function packageEnumAndBeanColumnValueSet(n) {
15338
15354
  } else if (r && r !== "")
15339
15355
  return "beanname:" + r;
15340
15356
  }
15357
+ function packageEnumAndBeanColumnValueSetsWhenOtherSys(n, o, r, a, s) {
15358
+ return new Promise((l, d) => {
15359
+ const p = getDataSourceConfigList(n), v = p.valueSetColumnIndexs, w = { listCode: o, entityMap: a, additionalParamMap: r, dataSourceList: p.dataSourceConfigList, dataSourceListTitle: p.dataSourceConfigListTitle, systemCode: s }, E = window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas";
15360
+ window.$vueApp.config.globalProperties.$http.post(E, w).then((x) => {
15361
+ const D = x.columnValueSet, O = x.columnTitleValueSet;
15362
+ for (let M in v) {
15363
+ const L = v[M], q = D[M];
15364
+ q && (n[L].valueSet = q);
15365
+ const G = O[M];
15366
+ G && (n[L].titleValueSetValue = G);
15367
+ }
15368
+ l(x);
15369
+ }).catch((x) => {
15370
+ d(x);
15371
+ });
15372
+ });
15373
+ }
15374
+ function getDataSourceConfigList(n) {
15375
+ const o = [], r = [], a = {};
15376
+ for (let s = 0; s < n.length; s++) {
15377
+ const l = n[s], d = l.prop ? l.prop : l.label, p = getConfigWithValueSet(l, d, l);
15378
+ let v = null;
15379
+ const w = l.titleValueSet;
15380
+ w && (v = getConfigWithValueSet(JSON.parse(w), d)), (p || v) && (p && o.push(p), v && r.push(v), a[d] = s);
15381
+ }
15382
+ return { dataSourceConfigList: o, dataSourceConfigListTitle: r, valueSetColumnIndexs: a };
15383
+ }
15384
+ function getConfigWithValueSet(n, o, r) {
15385
+ const a = n.enumName, s = n.beanName;
15386
+ let l = { uuid: o };
15387
+ if (a && a !== "")
15388
+ n.remoteEnum === !0 && (l.type = "enumName", l.props = { prop: o, valueSet: "enumname:" + a });
15389
+ else if (s && s !== "")
15390
+ l.type = "beanName", l.props = { prop: o, valueSet: "beanname:" + s };
15391
+ else if (r && r.valueSetOptions) {
15392
+ const d = JSON.parse(r.valueSetOptions);
15393
+ (d.type || d.dynamicDataSourceCode) && d.valueLabelSwitch && (d.type && d.type === "optionGroup" || (Object.assign(l, d), l.uuid = o, l.props || (l.props = {}), l.props.prop = o), d.dynamicDataSourceCode && (l.type = "dynamicData", l.props || (l.props = {}), l.props.code = d.dynamicDataSourceCode));
15394
+ }
15395
+ return l.type ? l : null;
15396
+ }
15341
15397
  const superGridService$1 = { initialize() {
15342
15398
  return (/* @__PURE__ */ new Date()).getTime(), new Promise((n, o) => {
15343
15399
  const r = store$1.get(this.code);
@@ -15367,7 +15423,7 @@ const superGridService$1 = { initialize() {
15367
15423
  }
15368
15424
  l.pagination.layout = "total, sizes,prev, pager, next, jumper", l.pagination.pageSizes = v;
15369
15425
  }
15370
- this.options.initSortInfo !== void 0 && (Array.isArray(this.options.initSortInfo) ? l.sortInfo = this.options.initSortInfo : (l.sortInfo = [], l.sortInfo.push(this.options.initSortInfo))), packageEnumAndBeanColumnValueSets(l.columns, this.code).then(() => this.getDynamicColumnByBean(a, l.dynamicColumnInfo, l.columns, r)).then((v) => {
15426
+ this.options.initSortInfo !== void 0 && (Array.isArray(this.options.initSortInfo) ? l.sortInfo = this.options.initSortInfo : (l.sortInfo = [], l.sortInfo.push(this.options.initSortInfo))), packageEnumAndBeanColumnValueSets(l.columns, this.code, r.additionalParamMap, this.parentFormData).then(() => this.getDynamicColumnByBean(a, l.dynamicColumnInfo, l.columns, r)).then((v) => {
15371
15427
  (/* @__PURE__ */ new Date()).getTime();
15372
15428
  let w = [];
15373
15429
  this.options.showColumns !== void 0 && (w = this.options.showColumns.split(","));
@@ -38921,17 +38977,17 @@ Required: ` + f.join(", "));
38921
38977
  }).getOr(u);
38922
38978
  }, bg = function(u) {
38923
38979
  return u.collapsed ? u : v6(u);
38924
- }, e4 = function(u, f) {
38980
+ }, eC = function(u, f) {
38925
38981
  return u.getBlockElements()[f.name] && function(g) {
38926
38982
  return g.firstChild && g.firstChild === g.lastChild;
38927
38983
  }(f) && function(g) {
38928
38984
  return g.name === "br" || g.value === ms;
38929
38985
  }(f.firstChild);
38930
- }, t4 = function(u, f) {
38986
+ }, tC = function(u, f) {
38931
38987
  var g = f.firstChild, _ = f.lastChild;
38932
38988
  return g && g.name === "meta" && (g = g.next), _ && _.attr("id") === "mce_marker" && (_ = _.prev), function(b, S) {
38933
38989
  var N = b.getNonEmptyElements();
38934
- return S && (S.isEmpty(N) || e4(b, S));
38990
+ return S && (S.isEmpty(N) || eC(b, S));
38935
38991
  }(u, _) && (_ = _.prev), !(!g || g !== _) && (g.name === "ul" || g.name === "ol");
38936
38992
  }, hy = function(u) {
38937
38993
  return u && u.firstChild && u.firstChild === u.lastChild && function(f) {
@@ -38943,7 +38999,7 @@ Required: ` + f.join(", "));
38943
38999
  }, v0 = function(u, f) {
38944
39000
  var g = u.getParent(f, u.isBlock);
38945
39001
  return g && g.nodeName === "LI" ? g : null;
38946
- }, n4 = function(u, f) {
39002
+ }, nC = function(u, f) {
38947
39003
  var g = ln.after(u), _ = gl(f).prev(g);
38948
39004
  return _ ? _.toRange() : null;
38949
39005
  }, _0 = function(u, f, g) {
@@ -38968,7 +39024,7 @@ Required: ` + f.join(", "));
38968
39024
  return !me || v0(f, me.getNode()) !== N;
38969
39025
  };
38970
39026
  return j(1) ? _0(N, P, R) : j(2) ? function(Y, ne, ie, me) {
38971
- return me.insertAfter(ne.reverse(), Y), n4(ne[0], ie);
39027
+ return me.insertAfter(ne.reverse(), Y), nC(ne[0], ie);
38972
39028
  }(N, P, R, f) : function(Y, ne, ie, me) {
38973
39029
  var Pe = function(ke, We) {
38974
39030
  var we = We.cloneRange(), at = We.cloneRange();
@@ -38976,9 +39032,9 @@ Required: ` + f.join(", "));
38976
39032
  }(Y, me), je = Y.parentNode;
38977
39033
  return je.insertBefore(Pe[0], Y), un.each(ne, function(ke) {
38978
39034
  je.insertBefore(ke, Y);
38979
- }), je.insertBefore(Pe[1], Y), je.removeChild(Y), n4(ne[ne.length - 1], ie);
39035
+ }), je.insertBefore(Pe[1], Y), je.removeChild(Y), nC(ne[ne.length - 1], ie);
38980
39036
  }(N, P, R, g);
38981
- }, u2 = gh, o4 = function(u) {
39037
+ }, u2 = gh, oC = function(u) {
38982
39038
  var f = u.dom, g = bg(u.selection.getRng());
38983
39039
  u.selection.setRng(g);
38984
39040
  var _ = f.getParent(g.startContainer, u2);
@@ -38999,9 +39055,9 @@ Required: ` + f.join(", "));
38999
39055
  var je = (P = j.getRng()).startContainer || (P.parentElement ? P.parentElement() : null), ke = u.getBody();
39000
39056
  je === ke && j.isCollapsed() && Y.isBlock(ke.firstChild) && function(qe, Et) {
39001
39057
  return Et && !qe.schema.getShortEndedElements()[Et.nodeName];
39002
- }(u, ke.firstChild) && Y.isEmpty(ke.firstChild) && ((P = Y.createRng()).setStart(ke.firstChild, 0), P.setEnd(ke.firstChild, 0), j.setRng(P)), j.isCollapsed() || o4(u);
39058
+ }(u, ke.firstChild) && Y.isEmpty(ke.firstChild) && ((P = Y.createRng()).setStart(ke.firstChild, 0), P.setEnd(ke.firstChild, 0), j.setRng(P)), j.isCollapsed() || oC(u);
39003
39059
  var We, we = { context: (_ = j.getNode()).nodeName.toLowerCase(), data: g.data, insert: !0 }, at = ne.parse(f, we);
39004
- if (g.paste === !0 && t4(u.schema, at) && function(qe, Et) {
39060
+ if (g.paste === !0 && tC(u.schema, at) && function(qe, Et) {
39005
39061
  return !!v0(qe, Et);
39006
39062
  }(Y, _))
39007
39063
  return P = gy(me, Y, j.getRng(), at), j.setRng(P), void u.fire("SetContent", S);
@@ -39075,7 +39131,7 @@ Required: ` + f.join(", "));
39075
39131
  }
39076
39132
  }, vy = function(u, f) {
39077
39133
  f(u), u.firstChild && vy(u.firstChild, f), u.next && vy(u.next, f);
39078
- }, r4 = function(u, f, g) {
39134
+ }, rC = function(u, f, g) {
39079
39135
  var _ = function(b, S, N) {
39080
39136
  var P = {}, R = {}, j = [];
39081
39137
  for (var Y in N.firstChild && vy(N.firstChild, function(ie) {
@@ -39107,7 +39163,7 @@ Required: ` + f.join(", "));
39107
39163
  }, b6 = function(u, f, g) {
39108
39164
  return g.format = g.format ? g.format : "html", g.set = !0, g.content = c2(f) ? "" : f, g.no_events || u.fire("BeforeSetContent", g), c2(f) || (f = g.content), ae.from(u.getBody()).fold(re(f), function(_) {
39109
39165
  return c2(f) ? function(b, S, N, P) {
39110
- r4(b.parser.getNodeFilters(), b.parser.getAttributeFilters(), N);
39166
+ rC(b.parser.getNodeFilters(), b.parser.getAttributeFilters(), N);
39111
39167
  var R = fg({ validate: b.validate }, b.schema).serialize(N);
39112
39168
  return P.content = Qs(Ft.fromDom(S)) ? R : un.trim(R), _y(b, P.content), P.no_events || b.fire("SetContent", P), N;
39113
39169
  }(u, _, f, g) : function(b, S, N, P) {
@@ -39122,13 +39178,13 @@ Required: ` + f.join(", "));
39122
39178
  return !Fo(g, S) && _(S);
39123
39179
  }) : ae.none();
39124
39180
  }(u, f).isSome();
39125
- }, i4 = function(u) {
39181
+ }, iC = function(u) {
39126
39182
  return Z(u) ? u : ce;
39127
39183
  }, d2 = function(u, f, g) {
39128
- var _ = f(u), b = i4(g);
39184
+ var _ = f(u), b = iC(g);
39129
39185
  return _.orThunk(function() {
39130
39186
  return b(u) ? ae.none() : function(S, N, P) {
39131
- for (var R = S.dom, j = i4(P); R.parentNode; ) {
39187
+ for (var R = S.dom, j = iC(P); R.parentNode; ) {
39132
39188
  R = R.parentNode;
39133
39189
  var Y = Ft.fromDom(R), ne = N(Y);
39134
39190
  if (ne.isSome())
@@ -39139,7 +39195,7 @@ Required: ` + f.join(", "));
39139
39195
  return ae.none();
39140
39196
  }(u, f, b);
39141
39197
  });
39142
- }, b0 = J1, a4 = function(u, f, g) {
39198
+ }, b0 = J1, aC = function(u, f, g) {
39143
39199
  var _ = u.formatter.get(g);
39144
39200
  if (_) {
39145
39201
  for (var b = 0; b < _.length; b++)
@@ -39150,11 +39206,11 @@ Required: ` + f.join(", "));
39150
39206
  }, f2 = function(u, f, g, _) {
39151
39207
  var b = u.dom.getRoot();
39152
39208
  return f !== b && (f = u.dom.getParent(f, function(S) {
39153
- return !!a4(u, S, g) || S.parentNode === b || !!$c(u, S, g, _, !0);
39209
+ return !!aC(u, S, g) || S.parentNode === b || !!$c(u, S, g, _, !0);
39154
39210
  }), $c(u, f, g, _));
39155
39211
  }, yy = function(u, f, g) {
39156
39212
  return !!b0(f, g.inline) || !!b0(f, g.block) || (g.selector ? f.nodeType === 1 && u.is(f, g.selector) : void 0);
39157
- }, s4 = function(u, f, g, _, b, S) {
39213
+ }, sC = function(u, f, g, _, b, S) {
39158
39214
  var N, P, R, j = g[_];
39159
39215
  if (g.onmatch)
39160
39216
  return g.onmatch(f, g, _);
@@ -39173,7 +39229,7 @@ Required: ` + f.join(", "));
39173
39229
  var S, N, P, R, j = u.formatter.get(g), Y = u.dom;
39174
39230
  if (j && f) {
39175
39231
  for (N = 0; N < j.length; N++)
39176
- if (S = j[N], yy(u.dom, f, S) && s4(Y, f, S, "attributes", b, _) && s4(Y, f, S, "styles", b, _)) {
39232
+ if (S = j[N], yy(u.dom, f, S) && sC(Y, f, S, "attributes", b, _) && sC(Y, f, S, "styles", b, _)) {
39177
39233
  if (R = S.classes) {
39178
39234
  for (P = 0; P < R.length; P++)
39179
39235
  if (!u.dom.hasClass(f, Vl(R[P], _)))
@@ -39226,7 +39282,7 @@ Required: ` + f.join(", "));
39226
39282
  }(u, b);
39227
39283
  return u.formatter.matchNode(f, b, {}, S) ? _.concat([b]) : _;
39228
39284
  }, []);
39229
- }, wg = li, l4 = "_mce_caret", u4 = function(u) {
39285
+ }, wg = li, lC = "_mce_caret", uC = function(u) {
39230
39286
  return function(f) {
39231
39287
  for (var g = []; f; ) {
39232
39288
  if (f.nodeType === 3 && f.nodeValue !== wg || f.childNodes.length > 1)
@@ -39245,11 +39301,11 @@ Required: ` + f.join(", "));
39245
39301
  return null;
39246
39302
  }, Ul = function(u) {
39247
39303
  var f = Ft.fromTag("span");
39248
- return Xl(f, { id: l4, "data-mce-bogus": "1", "data-mce-type": "format-caret" }), u && ai(f, Ft.fromText(wg)), f;
39304
+ return Xl(f, { id: lC, "data-mce-bogus": "1", "data-mce-type": "format-caret" }), u && ai(f, Ft.fromText(wg)), f;
39249
39305
  }, w0 = function(u, f, g) {
39250
39306
  g === void 0 && (g = !0);
39251
39307
  var _ = u.dom, b = u.selection;
39252
- if (u4(f))
39308
+ if (uC(f))
39253
39309
  ap(u, !1, Ft.fromDom(f), g);
39254
39310
  else {
39255
39311
  var S = b.getRng(), N = _.getParent(f, _.isBlock), P = S.startContainer, R = S.startOffset, j = S.endContainer, Y = S.endOffset, ne = function(ie) {
@@ -39264,16 +39320,16 @@ Required: ` + f.join(", "));
39264
39320
  if (f)
39265
39321
  w0(u, f, g);
39266
39322
  else if (!(f = hu(u.getBody(), b.getStart())))
39267
- for (; f = _.get(l4); )
39323
+ for (; f = _.get(lC); )
39268
39324
  w0(u, f, !1);
39269
39325
  }, p2 = function(u, f) {
39270
39326
  return u.appendChild(f), f;
39271
- }, c4 = function(u, f) {
39327
+ }, cC = function(u, f) {
39272
39328
  var g = Ge(u, function(_, b) {
39273
39329
  return p2(_, b.cloneNode(!1));
39274
39330
  }, f);
39275
39331
  return p2(g, g.ownerDocument.createTextNode(wg));
39276
- }, d4 = function(u, f, g, _) {
39332
+ }, dC = function(u, f, g, _) {
39277
39333
  var b, S, N, P = u.dom, R = u.selection, j = [], Y = R.getRng(), ne = Y.startContainer, ie = Y.startOffset;
39278
39334
  for (S = ne, ne.nodeType === 3 && (ie !== ne.nodeValue.length && (b = !0), S = S.parentNode); S; ) {
39279
39335
  if ($c(u, S, f, g, _)) {
@@ -39305,7 +39361,7 @@ Required: ` + f.join(", "));
39305
39361
  return bn.add(qe, yn), hn.remove(bt, Tt, yn, Zt), bn.remove(yn), ae.some(yn);
39306
39362
  }
39307
39363
  return ae.none();
39308
- }(u, ke, N, f, g, _), we = c4(j.concat(We.toArray()), ke);
39364
+ }(u, ke, N, f, g, _), we = cC(j.concat(We.toArray()), ke);
39309
39365
  w0(u, je, !1), R.setCursorLocation(we, 1), P.isEmpty(N) && P.remove(N);
39310
39366
  }
39311
39367
  }, wy = function(u) {
@@ -39315,7 +39371,7 @@ Required: ` + f.join(", "));
39315
39371
  C0(g, null, !1), _ !== 8 && _ !== 46 || !b.isCollapsed() || b.getStart().innerHTML !== wg || C0(g, hu(S, b.getStart())), _ !== 37 && _ !== 39 || C0(g, hu(S, b.getStart()));
39316
39372
  })(u, f.keyCode);
39317
39373
  });
39318
- }, f4 = function(u, f) {
39374
+ }, fC = function(u, f) {
39319
39375
  return u.schema.getTextInlineElements().hasOwnProperty(ur(f)) && !bl(f.dom) && !si(f.dom);
39320
39376
  }, lp = {}, Cy = Ye, Ey = Re;
39321
39377
  (function(u, f) {
@@ -39350,7 +39406,7 @@ Required: ` + f.join(", "));
39350
39406
  }), f;
39351
39407
  }
39352
39408
  return g;
39353
- }, p4 = function(u, f, g, _) {
39409
+ }, pC = function(u, f, g, _) {
39354
39410
  if (_ && f.merge_siblings !== !1) {
39355
39411
  var b = zm(u, Ac(_), _);
39356
39412
  zm(u, b, Ac(b, !0));
@@ -39369,7 +39425,7 @@ Required: ` + f.join(", "));
39369
39425
  S.nodeName === "SPAN" && b.getAttribs(S).length === 0 && b.remove(S, !0);
39370
39426
  }(u, _);
39371
39427
  };
39372
- }, Cg = eu([{ keep: [] }, { rename: ["name"] }, { removed: [] }]), ky = /^(src|href|style)$/, Eg = un.each, Cl = J1, m4 = function(u, f, g) {
39428
+ }, Cg = eu([{ keep: [] }, { rename: ["name"] }, { removed: [] }]), ky = /^(src|href|style)$/, Eg = un.each, Cl = J1, mC = function(u, f, g) {
39373
39429
  return u.isChildOf(f, g) && f !== g && !u.isBlock(g);
39374
39430
  }, v2 = function(u, f, g) {
39375
39431
  var _, b;
@@ -39378,7 +39434,7 @@ Required: ` + f.join(", "));
39378
39434
  !g && b && b--, _ = _.childNodes[b > S ? S : b];
39379
39435
  }
39380
39436
  return io(_) && g && b >= _.nodeValue.length && (_ = new Ai(_, u.getBody()).next() || _), io(_) && !g && b === 0 && (_ = new Ai(_, u.getBody()).prev() || _), _;
39381
- }, h4 = function(u, f) {
39437
+ }, hC = function(u, f) {
39382
39438
  var g = f ? "firstChild" : "lastChild";
39383
39439
  if (function(b) {
39384
39440
  return /^(TR|TH|TD)$/.test(b.nodeName);
@@ -39390,7 +39446,7 @@ Required: ` + f.join(", "));
39390
39446
  }, Ty = function(u, f, g, _) {
39391
39447
  var b = u.create(g, _);
39392
39448
  return f.parentNode.insertBefore(b, f), b.appendChild(f), b;
39393
- }, g4 = function(u, f, g, _, b) {
39449
+ }, gC = function(u, f, g, _, b) {
39394
39450
  var S = Ft.fromDom(f), N = Ft.fromDom(u.create(_, b)), P = g ? Qa(S) : ds(S);
39395
39451
  return Kn(N, P), g ? (aa(S, N), Rn(N, S)) : (pi(S, N), ai(N, S)), N.dom;
39396
39452
  }, _2 = function(u, f, g, _) {
@@ -39450,7 +39506,7 @@ Required: ` + f.join(", "));
39450
39506
  return Ny(u, f, g, _, _).fold(re(_), function(b) {
39451
39507
  return u.dom.createFragment().appendChild(_), u.dom.rename(_, b);
39452
39508
  }, re(null));
39453
- }, _4 = function(u, f, g, _, b) {
39509
+ }, vC = function(u, f, g, _, b) {
39454
39510
  var S = u.formatter.get(f), N = S[0], P = !0, R = u.dom, j = u.selection, Y = function(ke) {
39455
39511
  var We = function(we, at, qe, Et, bt) {
39456
39512
  var Tt;
@@ -39470,7 +39526,7 @@ Required: ` + f.join(", "));
39470
39526
  ;
39471
39527
  bn && (Qt && bn.appendChild(Qt), Un || (Un = bn), Qt = bn);
39472
39528
  }
39473
- !Tt || Zt.mixed && yn.isBlock(qe) || (Et = yn.split(qe, Et)), Qt && (bt.parentNode.insertBefore(Qt, bt), Un.appendChild(bt), Zt.inline && p4(yn, Zt, 0, Qt));
39529
+ !Tt || Zt.mixed && yn.isBlock(qe) || (Et = yn.split(qe, Et)), Qt && (bt.parentNode.insertBefore(Qt, bt), Un.appendChild(bt), Zt.inline && pC(yn, Zt, 0, Qt));
39474
39530
  }
39475
39531
  return Et;
39476
39532
  }(u, S, We, ke, ke, !0, N, g);
@@ -39495,12 +39551,12 @@ Required: ` + f.join(", "));
39495
39551
  var We, we, at = Gf(u, ke, S, ke.collapsed);
39496
39552
  if (N.split) {
39497
39553
  if (at = pr(at), (We = v2(u, at, !0)) !== (we = v2(u, at))) {
39498
- if (We = h4(We, !0), we = h4(we, !1), m4(R, We, we)) {
39554
+ if (We = hC(We, !0), we = hC(we, !1), mC(R, We, we)) {
39499
39555
  var qe = ae.from(We.firstChild).getOr(We);
39500
- return Y(g4(R, qe, !0, "span", { id: "_start", "data-mce-type": "bookmark" })), void ie(!0);
39556
+ return Y(gC(R, qe, !0, "span", { id: "_start", "data-mce-type": "bookmark" })), void ie(!0);
39501
39557
  }
39502
- if (m4(R, we, We))
39503
- return qe = ae.from(we.lastChild).getOr(we), Y(g4(R, qe, !1, "span", { id: "_end", "data-mce-type": "bookmark" })), void ie(!1);
39558
+ if (mC(R, we, We))
39559
+ return qe = ae.from(we.lastChild).getOr(we), Y(gC(R, qe, !1, "span", { id: "_end", "data-mce-type": "bookmark" })), void ie(!1);
39504
39560
  We = Ty(R, We, "span", { id: "_start", "data-mce-type": "bookmark" }), we = Ty(R, we, "span", { id: "_end", "data-mce-type": "bookmark" });
39505
39561
  var Et = R.createRng();
39506
39562
  Et.setStartAfter(We), Et.setEndBefore(we), Dc(R, Et, function(bt) {
@@ -39527,7 +39583,7 @@ Required: ` + f.join(", "));
39527
39583
  } else
39528
39584
  me(_);
39529
39585
  else if (R.getContentEditable(j.getNode()) !== "false")
39530
- j.isCollapsed() && N.inline && !Rd(u).length ? d4(u, f, g, b) : (xm(j, !0, function() {
39586
+ j.isCollapsed() && N.inline && !Rd(u).length ? dC(u, f, g, b) : (xm(j, !0, function() {
39531
39587
  Sm(u, me);
39532
39588
  }), N.inline && by(u, f, g, j.getStart()) && Od(R, j, j.getRng()), u.nodeChanged());
39533
39589
  else {
@@ -39535,9 +39591,9 @@ Required: ` + f.join(", "));
39535
39591
  for (var je = 0; je < S.length && (!S[je].ceFalseOverride || !Hm(u, S[je], g, _, _)); je++)
39536
39592
  ;
39537
39593
  }
39538
- }, y4 = un.each, E6 = function(u, f, g, _) {
39539
- y4(f, function(b) {
39540
- y4(u.dom.select(b.inline, _), function(S) {
39594
+ }, _C = un.each, E6 = function(u, f, g, _) {
39595
+ _C(f, function(b) {
39596
+ _C(u.dom.select(b.inline, _), function(S) {
39541
39597
  Sy(S) && Hm(u, b, g, S, b.exact ? S : null);
39542
39598
  }), function(S, N, P) {
39543
39599
  if (N.clear_child_styles) {
@@ -39550,7 +39606,7 @@ Required: ` + f.join(", "));
39550
39606
  }
39551
39607
  }(u.dom, b, _);
39552
39608
  });
39553
- }, Xu = un.each, b4 = function(u, f) {
39609
+ }, Xu = un.each, yC = function(u, f) {
39554
39610
  return or(u, f);
39555
39611
  }, Iy = function(u, f, g, _) {
39556
39612
  var b = u.formatter.get(f), S = b[0], N = !_ && u.selection.isCollapsed(), P = u.dom, R = u.selection, j = function(we, at) {
@@ -39599,10 +39655,10 @@ Required: ` + f.join(", "));
39599
39655
  }
39600
39656
  if (Wf(S)) {
39601
39657
  var Jt = Y(b, yn);
39602
- if (io(yn) && Wv(we, yn.parentNode) && Y(b, yn.parentNode), !b4(S, "inline") || Jt)
39658
+ if (io(yn) && Wv(we, yn.parentNode) && Y(b, yn.parentNode), !yC(S, "inline") || Jt)
39603
39659
  return void (Qt = null);
39604
39660
  }
39605
- !Tt || Nn || !gu(u, Zt, Xt) || !gu(u, Tn, Zt) || !Et && yn.nodeType === 3 && yn.nodeValue.length === 1 && yn.nodeValue.charCodeAt(0) === 65279 || bl(yn) || b4(S, "inline") && we.isBlock(yn) ? (Qt = null, Xu(un.grep(yn.childNodes), Un), Nn && (Tt = Ht), Qt = null) : (Qt || (Qt = we.clone(hn, !1), yn.parentNode.insertBefore(Qt, yn), bt.push(Qt)), Qt.appendChild(yn));
39661
+ !Tt || Nn || !gu(u, Zt, Xt) || !gu(u, Tn, Zt) || !Et && yn.nodeType === 3 && yn.nodeValue.length === 1 && yn.nodeValue.charCodeAt(0) === 65279 || bl(yn) || yC(S, "inline") && we.isBlock(yn) ? (Qt = null, Xu(un.grep(yn.childNodes), Un), Nn && (Tt = Ht), Qt = null) : (Qt || (Qt = we.clone(hn, !1), yn.parentNode.insertBefore(Qt, yn), bt.push(Qt)), Qt.appendChild(yn));
39606
39662
  }
39607
39663
  };
39608
39664
  Xu(bn, Un);
@@ -39648,7 +39704,7 @@ Required: ` + f.join(", "));
39648
39704
  Nn.styles && (Nn.styles.color || Nn.styles.textDecoration) && (un.walk(Xt, Tn, "childNodes"), Tn(Xt));
39649
39705
  }(we, S, 0, bn), function(yn, Nn, Ht, Xt) {
39650
39706
  Nn.inline !== "sub" && Nn.inline !== "sup" || (xy(Xt, E0(yn, "fontSize"), g2(yn, "fontSize", "")), yn.remove(yn.select(Nn.inline === "sup" ? "sub" : "sup", Xt), !0));
39651
- }(we, S, 0, bn), p4(we, S, 0, bn)) : we.remove(bn, !0);
39707
+ }(we, S, 0, bn), pC(we, S, 0, bn)) : we.remove(bn, !0);
39652
39708
  });
39653
39709
  };
39654
39710
  if (P.getContentEditable(R.getNode()) !== "false") {
@@ -39705,7 +39761,7 @@ Required: ` + f.join(", "));
39705
39761
  un.each(P, function(ne) {
39706
39762
  return u.formatter.matchNode(ne, Y, {}, j.similar) ? (b.indexOf(Y) === -1 && (Je(j.callbacks, function(ie) {
39707
39763
  ie(!0, { node: ne, format: Y, parents: P });
39708
- }), S[Y] = j.callbacks), N[Y] = j.callbacks, !1) : !a4(u, ne, Y) && void 0;
39764
+ }), S[Y] = j.callbacks), N[Y] = j.callbacks, !1) : !aC(u, ne, Y) && void 0;
39709
39765
  });
39710
39766
  });
39711
39767
  var R = S6(g.get(), N, f, P);
@@ -39746,23 +39802,23 @@ Required: ` + f.join(", "));
39746
39802
  return { element: u, width: f, rows: g };
39747
39803
  }, xg = function(u, f) {
39748
39804
  return { element: u, cells: f };
39749
- }, w4 = function(u, f) {
39805
+ }, bC = function(u, f) {
39750
39806
  return { x: u, y: f };
39751
- }, C4 = function(u, f) {
39807
+ }, wC = function(u, f) {
39752
39808
  var g = parseInt(Gi(u, f), 10);
39753
39809
  return isNaN(g) ? 1 : g;
39754
39810
  }, x6 = function(u, f, g) {
39755
39811
  var _ = u.rows;
39756
39812
  return !!(_[g] ? _[g].cells : [])[f];
39757
- }, E4 = function(u) {
39813
+ }, CC = function(u) {
39758
39814
  return St(u, function(f, g) {
39759
39815
  return g.cells.length > f ? g.cells.length : f;
39760
39816
  }, 0);
39761
- }, S4 = function(u, f) {
39817
+ }, EC = function(u, f) {
39762
39818
  for (var g = u.rows, _ = 0; _ < g.length; _++)
39763
39819
  for (var b = g[_].cells, S = 0; S < b.length; S++)
39764
39820
  if (Fo(b[S], f))
39765
- return ae.some(w4(S, _));
39821
+ return ae.some(bC(S, _));
39766
39822
  return ae.none();
39767
39823
  }, Oy = function(u, f, g, _, b) {
39768
39824
  for (var S = [], N = u.rows, P = g; P <= b; P++) {
@@ -39775,7 +39831,7 @@ Required: ` + f.join(", "));
39775
39831
  return Je(da(u, "tr"), function(g, _) {
39776
39832
  Je(da(g, "td,th"), function(b, S) {
39777
39833
  (function(N, P, R, j, Y) {
39778
- for (var ne = C4(Y, "rowspan"), ie = C4(Y, "colspan"), me = N.rows, Pe = R; Pe < R + ne; Pe++) {
39834
+ for (var ne = wC(Y, "rowspan"), ie = wC(Y, "colspan"), me = N.rows, Pe = R; Pe < R + ne; Pe++) {
39779
39835
  me[Pe] || (me[Pe] = xg(fa(j), []));
39780
39836
  for (var je = P; je < P + ie; je++)
39781
39837
  me[Pe].cells[je] = Pe === R && je === P ? Y : di(Y);
@@ -39786,7 +39842,7 @@ Required: ` + f.join(", "));
39786
39842
  return P;
39787
39843
  }(f, S, _), _, g, b);
39788
39844
  });
39789
- }), jm(f.element, E4(f.rows), f.rows);
39845
+ }), jm(f.element, CC(f.rows), f.rows);
39790
39846
  }, zl = function(u) {
39791
39847
  return function(f, g) {
39792
39848
  var _ = di(f.element), b = Ft.fromTag("tbody");
@@ -39801,15 +39857,15 @@ Required: ` + f.join(", "));
39801
39857
  });
39802
39858
  }(u));
39803
39859
  }, k6 = function(u, f, g) {
39804
- return S4(u, f).bind(function(_) {
39805
- return S4(u, g).map(function(b) {
39860
+ return EC(u, f).bind(function(_) {
39861
+ return EC(u, g).map(function(b) {
39806
39862
  return function(S, N, P) {
39807
39863
  var R = N.x, j = N.y, Y = P.x, ne = P.y, ie = j < ne ? Oy(S, R, j, Y, ne) : Oy(S, R, ne, Y, j);
39808
- return jm(S.element, E4(ie), ie);
39864
+ return jm(S.element, CC(ie), ie);
39809
39865
  }(u, _, b);
39810
39866
  });
39811
39867
  });
39812
- }, x4 = function(u, f) {
39868
+ }, SC = function(u, f) {
39813
39869
  return Ot(u, function(g) {
39814
39870
  return ur(g) === "li" && Sr(g, f);
39815
39871
  }).fold(re([]), function(g) {
@@ -39827,13 +39883,13 @@ Required: ` + f.join(", "));
39827
39883
  }, Dy = function(u, f) {
39828
39884
  var g = Ft.fromDom(f.commonAncestorContainer), _ = yu(g, u), b = Ue(_, function(P) {
39829
39885
  return yf(P) || xn(P);
39830
- }), S = x4(_, f), N = b.concat(S.length ? S : function(P) {
39886
+ }), S = SC(_, f), N = b.concat(S.length ? S : function(P) {
39831
39887
  return Vp(P) ? Pr(P).filter(Ou).fold(re([]), function(R) {
39832
39888
  return [P, R];
39833
39889
  }) : Ou(P) ? [P] : [];
39834
39890
  }(g));
39835
39891
  return Qe(N, di);
39836
- }, k4 = function() {
39892
+ }, xC = function() {
39837
39893
  return b2([]);
39838
39894
  }, T6 = function(u, f) {
39839
39895
  return g = Ft.fromDom(f.cloneContents()), _ = Dy(u, f), b = St(_, function(S, N) {
@@ -39846,12 +39902,12 @@ Required: ` + f.join(", "));
39846
39902
  return k6(P, S, N).map(function(R) {
39847
39903
  return b2([zl(R)]);
39848
39904
  });
39849
- }).getOrThunk(k4);
39905
+ }).getOrThunk(xC);
39850
39906
  var g, _;
39851
39907
  }, I6 = function(u, f) {
39852
39908
  var g = t0(f, u);
39853
39909
  return g.length > 0 ? N6(u, g) : function(_, b) {
39854
- return b.length > 0 && b[0].collapsed ? k4() : T6(_, b[0]);
39910
+ return b.length > 0 && b[0].collapsed ? xC() : T6(_, b[0]);
39855
39911
  }(u, f);
39856
39912
  }, kg = function(u, f) {
39857
39913
  return f >= 0 && f < u.length && Ic(u.charAt(f));
@@ -39860,7 +39916,7 @@ Required: ` + f.join(", "));
39860
39916
  return f ? function(_) {
39861
39917
  return _.replace(/^[ \f\n\r\t\v]+/, "");
39862
39918
  }(g) : g;
39863
- }, T4 = function(u, f, g) {
39919
+ }, kC = function(u, f, g) {
39864
39920
  if (g === void 0 && (g = {}), g.get = !0, g.format = f, g.selection = !0, (g = u.fire("BeforeGetContent", g)).isDefaultPrevented())
39865
39921
  return u.fire("GetContent", g), g.content;
39866
39922
  if (g.format === "text")
@@ -39884,7 +39940,7 @@ Required: ` + f.join(", "));
39884
39940
  return Y && P.appendChild(Y), b.selection.serializer.serialize(P, S);
39885
39941
  }(u, g);
39886
39942
  return g.format === "tree" ? _ : (g.content = u.selection.isCollapsed() ? "" : _, u.fire("GetContent", g), g.content);
39887
- }, N4 = function(u) {
39943
+ }, TC = function(u) {
39888
39944
  return Gn(u) ? u.outerHTML : io(u) ? Ol.encodeRaw(u.data, !1) : Ga(u) ? "<!--" + u.data + "-->" : "";
39889
39945
  }, A6 = function(u, f, g) {
39890
39946
  var _ = function(S) {
@@ -39899,7 +39955,7 @@ Required: ` + f.join(", "));
39899
39955
  } else
39900
39956
  u.appendChild(_);
39901
39957
  }, O6 = function(u, f) {
39902
- var g, _, b, S, N, P, R, j, Y, ne = Qe(Dn(f.childNodes), N4);
39958
+ var g, _, b, S, N, P, R, j, Y, ne = Qe(Dn(f.childNodes), TC);
39903
39959
  return function(ie, me) {
39904
39960
  var Pe = 0;
39905
39961
  Je(ie, function(je) {
@@ -39948,7 +40004,7 @@ Required: ` + f.join(", "));
39948
40004
  }
39949
40005
  }, Y = [], P(0, g.length, 0, _.length, Y), Y), f), f;
39950
40006
  }, _o = ei(ae.none()), Py = function(u) {
39951
- var f, g = (f = u.getBody(), Ue(Qe(Dn(f.childNodes), N4), function(S) {
40007
+ var f, g = (f = u.getBody(), Ue(Qe(Dn(f.childNodes), TC), function(S) {
39952
40008
  return S.length > 0;
39953
40009
  })), _ = kn(g, function(S) {
39954
40010
  var N = $m(u.serializer, S);
@@ -40086,11 +40142,11 @@ Required: ` + f.join(", "));
40086
40142
  }, apply: function(f, g, _) {
40087
40143
  return Iy(u, f, g, _);
40088
40144
  }, remove: function(f, g, _, b) {
40089
- return _4(u, f, g, _, b);
40145
+ return vC(u, f, g, _, b);
40090
40146
  }, toggle: function(f, g, _) {
40091
40147
  return function(b, S, N, P) {
40092
40148
  var R = b.formatter.get(S);
40093
- !by(b, S, N, P) || "toggle" in R[0] && !R[0].toggle ? Iy(b, S, N, P) : _4(b, S, N, P);
40149
+ !by(b, S, N, P) || "toggle" in R[0] && !R[0].toggle ? Iy(b, S, N, P) : vC(b, S, N, P);
40094
40150
  }(u, f, g, _);
40095
40151
  }, formatChanged: function(f, g, _, b) {
40096
40152
  return y2(u, f, g, _, b);
@@ -40128,7 +40184,7 @@ Required: ` + f.join(", "));
40128
40184
  }), g.fire("VisualAid", { element: _, hasVisual: g.hasVisual });
40129
40185
  }(u, f);
40130
40186
  } }, selection: { getContent: function(f, g) {
40131
- return T4(u, f, g);
40187
+ return kC(u, f, g);
40132
40188
  } }, raw: { getModel: function() {
40133
40189
  return ae.none();
40134
40190
  } } };
@@ -40206,7 +40262,7 @@ Required: ` + f.join(", "));
40206
40262
  if (f)
40207
40263
  return f;
40208
40264
  throw new Error("Failed to get RTC instance not yet initialized.");
40209
- }, I4 = function(u, f) {
40265
+ }, NC = function(u, f) {
40210
40266
  return f === void 0 && (f = {}), function(g, _, b) {
40211
40267
  return yi(g).selection.getContent(_, b);
40212
40268
  }(u, f.format ? f.format : "html", f);
@@ -40235,7 +40291,7 @@ Required: ` + f.join(", "));
40235
40291
  }(S, _);
40236
40292
  });
40237
40293
  });
40238
- }, A4 = function(u, f, g) {
40294
+ }, IC = function(u, f, g) {
40239
40295
  g === void 0 && (g = {});
40240
40296
  var _ = function(S, N) {
40241
40297
  return ht(ht({ format: "html" }, S), { set: !0, selection: !0, content: N });
@@ -40268,7 +40324,7 @@ Required: ` + f.join(", "));
40268
40324
  return !!u.select;
40269
40325
  }, I0 = function(u) {
40270
40326
  return !(!u || !u.ownerDocument) && ia(Ft.fromDom(u.ownerDocument), Ft.fromDom(u));
40271
- }, O4 = function(u, f, g, _) {
40327
+ }, AC = function(u, f, g, _) {
40272
40328
  var b, S, N = function(ke, We) {
40273
40329
  var we, at;
40274
40330
  return { selectorChangedWithUnbind: function(qe, Et) {
@@ -40291,7 +40347,7 @@ Required: ` + f.join(", "));
40291
40347
  } };
40292
40348
  } };
40293
40349
  }(u, _).selectorChangedWithUnbind, P = function(ke, We) {
40294
- return A4(_, ke, We);
40350
+ return IC(_, ke, We);
40295
40351
  }, R = function(ke) {
40296
40352
  var We = Y();
40297
40353
  We.collapse(!!ke), ne(We);
@@ -40354,7 +40410,7 @@ Required: ` + f.join(", "));
40354
40410
  var we = u.createRng();
40355
40411
  W(ke) && W(We) ? (we.setStart(ke, We), we.setEnd(ke, We), ne(we), R(!1)) : (wl(u, we, _.getBody(), !0), ne(we));
40356
40412
  }, getContent: function(ke) {
40357
- return I4(_, ke);
40413
+ return NC(_, ke);
40358
40414
  }, setContent: P, getBookmark: function(ke, We) {
40359
40415
  return Pe.getBookmark(ke, We);
40360
40416
  }, moveToBookmark: function(ke) {
@@ -40461,7 +40517,7 @@ Required: ` + f.join(", "));
40461
40517
  for (var _ = new Uint8Array(g.length), b = 0; b < _.length; b++)
40462
40518
  _[b] = g.charCodeAt(b);
40463
40519
  return ae.some(new Blob([_], { type: u }));
40464
- }, D4 = function(u) {
40520
+ }, OC = function(u) {
40465
40521
  return u.indexOf("blob:") === 0 ? function(g) {
40466
40522
  return new ko(function(_, b) {
40467
40523
  var S = function() {
@@ -40489,13 +40545,13 @@ Required: ` + f.join(", "));
40489
40545
  var b, S;
40490
40546
  if (f.src.indexOf("blob:") !== 0) {
40491
40547
  var N = Fy(f.src), P = N.data, R = N.type;
40492
- b = P, (S = u.getByData(b, R)) ? g({ image: f, blobInfo: S }) : D4(f.src).then(function(j) {
40548
+ b = P, (S = u.getByData(b, R)) ? g({ image: f, blobInfo: S }) : OC(f.src).then(function(j) {
40493
40549
  S = u.create(N2(), j, b), u.add(S), g({ image: f, blobInfo: S });
40494
40550
  }, function(j) {
40495
40551
  _(j);
40496
40552
  });
40497
40553
  } else
40498
- (S = u.getByUri(f.src)) ? g({ image: f, blobInfo: S }) : D4(f.src).then(function(j) {
40554
+ (S = u.getByUri(f.src)) ? g({ image: f, blobInfo: S }) : OC(f.src).then(function(j) {
40499
40555
  (function(Y) {
40500
40556
  return new ko(function(ne) {
40501
40557
  var ie = new FileReader();
@@ -40584,7 +40640,7 @@ Required: ` + f.join(", "));
40584
40640
  g && u.addAttributeFilter("src", function(b) {
40585
40641
  return Je(b, _);
40586
40642
  });
40587
- }, Ig = un.makeMap, Ag = un.each, P4 = un.explode, R6 = un.extend, cp = function(u, f) {
40643
+ }, Ig = un.makeMap, Ag = un.each, DC = un.explode, R6 = un.extend, cp = function(u, f) {
40588
40644
  f === void 0 && (f = Si());
40589
40645
  var g = {}, _ = [], b = {}, S = {};
40590
40646
  (u = u || {}).validate = !("validate" in u) || u.validate, u.root_name = u.root_name || "body";
@@ -40594,7 +40650,7 @@ Required: ` + f.join(", "));
40594
40650
  (Y = _[j].name) in R.attributes.map && ((ne = S[Y]) ? ne.push(R) : S[Y] = [R]);
40595
40651
  return R;
40596
40652
  }, P = { schema: f, addAttributeFilter: function(R, j) {
40597
- Ag(P4(R), function(Y) {
40653
+ Ag(DC(R), function(Y) {
40598
40654
  var ne;
40599
40655
  for (ne = 0; ne < _.length; ne++)
40600
40656
  if (_[ne].name === Y)
@@ -40604,7 +40660,7 @@ Required: ` + f.join(", "));
40604
40660
  }, getAttributeFilters: function() {
40605
40661
  return [].concat(_);
40606
40662
  }, addNodeFilter: function(R, j) {
40607
- Ag(P4(R), function(Y) {
40663
+ Ag(DC(R), function(Y) {
40608
40664
  var ne = g[Y];
40609
40665
  ne || (g[Y] = ne = []), ne.push(j);
40610
40666
  });
@@ -40910,10 +40966,10 @@ Required: ` + f.join(", "));
40910
40966
  }, setRules: function(N) {
40911
40967
  b.setValidElements(N);
40912
40968
  }, addTempAttr: oe(Dg, S, g), getTempAttrs: re(g), getNodeFilters: S.getNodeFilters, getAttributeFilters: S.getAttributeFilters };
40913
- }, B4 = function(u, f) {
40969
+ }, PC = function(u, f) {
40914
40970
  var g = M6(u, f);
40915
40971
  return { schema: g.schema, addNodeFilter: g.addNodeFilter, addAttributeFilter: g.addAttributeFilter, serialize: g.serialize, addRules: g.addRules, setRules: g.setRules, addTempAttr: g.addTempAttr, getTempAttrs: g.getTempAttrs, getNodeFilters: g.getNodeFilters, getAttributeFilters: g.getAttributeFilters };
40916
- }, R4 = function(u, f) {
40972
+ }, BC = function(u, f) {
40917
40973
  return f === void 0 && (f = {}), function(g, _, b) {
40918
40974
  return Jd(g).editor.getContent(_, b);
40919
40975
  }(u, f, f.format ? f.format : "html");
@@ -40925,7 +40981,7 @@ Required: ` + f.join(", "));
40925
40981
  return ae.from(u).each(function(f) {
40926
40982
  return f.destroy();
40927
40983
  });
40928
- }, M4 = function(u) {
40984
+ }, RC = function(u) {
40929
40985
  if (!u.removed) {
40930
40986
  var f = u._selectionOverrides, g = u.editorUpload, _ = u.getBody(), b = u.getElement();
40931
40987
  _ && u.save({ is_removing: !0 }), u.removed = !0, u.unbindAllNativeEvents(), u.hasHiddenInput && b && O2.remove(b.nextSibling), function(S) {
@@ -40936,7 +40992,7 @@ Required: ` + f.join(", "));
40936
40992
  S.fire("detach");
40937
40993
  }(u), O2.remove(u.getContainer()), D2(f), D2(g), u.destroy();
40938
40994
  }
40939
- }, $4 = function(u, f) {
40995
+ }, MC = function(u, f) {
40940
40996
  var g = u.selection, _ = u.dom;
40941
40997
  u.destroyed || (f || u.removed ? (f || (u.editorManager.off("beforeunload", u._beforeUnload), u.theme && u.theme.destroy && u.theme.destroy(), D2(g), D2(_)), function(b) {
40942
40998
  var S = b.formElement;
@@ -40944,8 +41000,8 @@ Required: ` + f.join(", "));
40944
41000
  }(u), function(b) {
40945
41001
  b.contentAreaContainer = b.formElement = b.container = b.editorContainer = null, b.bodyElement = b.contentDocument = b.contentWindow = null, b.iframeElement = b.targetElm = null, b.selection && (b.selection = b.selection.win = b.selection.dom = b.selection.dom.doc = null);
40946
41002
  }(u), u.destroyed = !0) : u.remove());
40947
- }, $6 = Object.prototype.hasOwnProperty, V4 = (N0 = function(u, f) {
40948
- return D(u) && D(f) ? V4(u, f) : f;
41003
+ }, $6 = Object.prototype.hasOwnProperty, $C = (N0 = function(u, f) {
41004
+ return D(u) && D(f) ? $C(u, f) : f;
40949
41005
  }, function() {
40950
41006
  for (var u = [], f = 0; f < arguments.length; f++)
40951
41007
  u[f] = arguments[f];
@@ -40957,12 +41013,12 @@ Required: ` + f.join(", "));
40957
41013
  $6.call(b, S) && (g[S] = N0(g[S], b[S]));
40958
41014
  }
40959
41015
  return g;
40960
- }), qm = Wn().deviceType, F4 = qm.isTouch(), zy = qm.isPhone(), L4 = qm.isTablet(), U4 = ["lists", "autolink", "autosave"], Hy = { table_grid: !1, object_resizing: !1, resize: !1 }, Pg = function(u) {
41016
+ }), qm = Wn().deviceType, VC = qm.isTouch(), zy = qm.isPhone(), FC = qm.isTablet(), LC = ["lists", "autolink", "autosave"], Hy = { table_grid: !1, object_resizing: !1, resize: !1 }, Pg = function(u) {
40961
41017
  var f = O(u) ? u.join(" ") : u, g = Qe(x(f) ? f.split(" ") : [], ze);
40962
41018
  return Ue(g, function(_) {
40963
41019
  return _.length > 0;
40964
41020
  });
40965
- }, z4 = function(u, f) {
41021
+ }, UC = function(u, f) {
40966
41022
  var g = Jo(f, function(_, b) {
40967
41023
  return Te(u, b);
40968
41024
  });
@@ -40971,49 +41027,49 @@ Required: ` + f.join(", "));
40971
41027
  }(g.t, g.f);
40972
41028
  }, P2 = function(u, f) {
40973
41029
  return u.sections().hasOwnProperty(f);
40974
- }, H4 = function(u, f) {
41030
+ }, zC = function(u, f) {
40975
41031
  return Ro(u, "toolbar_mode").orThunk(function() {
40976
41032
  return Ro(u, "toolbar_drawer").map(function(g) {
40977
41033
  return g === !1 ? "wrap" : g;
40978
41034
  });
40979
41035
  }).getOr(f);
40980
41036
  }, jy = function(u, f) {
40981
- var g = { resize: !1, toolbar_mode: H4(u, "scrolling"), toolbar_sticky: !1 };
41037
+ var g = { resize: !1, toolbar_mode: zC(u, "scrolling"), toolbar_sticky: !1 };
40982
41038
  return ht(ht(ht({}, Hy), g), f ? { menubar: !1 } : {});
40983
41039
  }, Wy = function(u, f) {
40984
41040
  var g = f.external_plugins ? f.external_plugins : {};
40985
41041
  return u && u.external_plugins ? un.extend({}, u.external_plugins, g) : g;
40986
- }, j4 = function(u, f, g, _) {
41042
+ }, HC = function(u, f, g, _) {
40987
41043
  return u && function(b, S, N) {
40988
41044
  var P = b.sections();
40989
41045
  return P2(b, S) && P[S].theme === N;
40990
41046
  }(f, "mobile", "mobile") ? function(b) {
40991
- return Ue(b, oe(Te, U4));
41047
+ return Ue(b, oe(Te, LC));
40992
41048
  }(_) : u && P2(f, "mobile") ? _ : g;
40993
- }, W4 = function(u, f, g, _) {
41049
+ }, jC = function(u, f, g, _) {
40994
41050
  var b = Pg(g.forced_plugins), S = Pg(_.plugins), N = function(j, Y) {
40995
41051
  return P2(j, Y) ? j.sections()[Y] : {};
40996
41052
  }(f, "mobile"), P = N.plugins ? Pg(N.plugins) : S, R = function(j, Y) {
40997
41053
  return [].concat(Pg(j)).concat(Pg(Y));
40998
- }(b, j4(u, f, S, P));
41054
+ }(b, HC(u, f, S, P));
40999
41055
  if (Qn.browser.isIE() && Te(R, "rtc"))
41000
41056
  throw new Error("RTC plugin is not supported on IE 11.");
41001
41057
  return un.extend(_, { plugins: R.join(" ") });
41002
41058
  }, B2 = function(u, f, g, _, b) {
41003
- var S = u ? { mobile: jy(b.mobile || {}, f) } : {}, N = z4(["mobile"], V4(S, b)), P = un.extend(g, _, N.settings(), function(R, j) {
41059
+ var S = u ? { mobile: jy(b.mobile || {}, f) } : {}, N = UC(["mobile"], $C(S, b)), P = un.extend(g, _, N.settings(), function(R, j) {
41004
41060
  return R && P2(j, "mobile");
41005
41061
  }(u, N) ? function(R, j, Y) {
41006
41062
  Y === void 0 && (Y = {});
41007
41063
  var ne = R.sections(), ie = ne.hasOwnProperty(j) ? ne[j] : {};
41008
41064
  return un.extend({}, Y, ie);
41009
41065
  }(N, "mobile") : {}, { validate: !0, external_plugins: Wy(_, N.settings()) });
41010
- return W4(u, N, _, P);
41066
+ return jC(u, N, _, P);
41011
41067
  }, V6 = function(u, f, g, _, b) {
41012
41068
  var S = function(N, P, R, j, Y) {
41013
- var ne = { id: P, theme: "silver", toolbar_mode: H4(N, "floating"), plugins: "", document_base_url: R, add_form_submit_trigger: !0, submit_patch: !0, add_unload_trigger: !0, convert_urls: !0, relative_urls: !0, remove_script_host: !0, object_resizing: !0, doctype: "<!DOCTYPE html>", visual: !0, font_size_legacy_values: "xx-small,small,medium,large,x-large,xx-large,300%", forced_root_block: "p", hidden_input: !0, inline_styles: !0, convert_fonts_to_spans: !0, indent: !0, indent_before: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", indent_after: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", entity_encoding: "named", url_converter: Y.convertURL, url_converter_scope: Y };
41069
+ var ne = { id: P, theme: "silver", toolbar_mode: zC(N, "floating"), plugins: "", document_base_url: R, add_form_submit_trigger: !0, submit_patch: !0, add_unload_trigger: !0, convert_urls: !0, relative_urls: !0, remove_script_host: !0, object_resizing: !0, doctype: "<!DOCTYPE html>", visual: !0, font_size_legacy_values: "xx-small,small,medium,large,x-large,xx-large,300%", forced_root_block: "p", hidden_input: !0, inline_styles: !0, convert_fonts_to_spans: !0, indent: !0, indent_before: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", indent_after: "p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist", entity_encoding: "named", url_converter: Y.convertURL, url_converter_scope: Y };
41014
41070
  return ht(ht({}, ne), j ? Hy : {});
41015
- }(b, f, g, F4, u);
41016
- return B2(zy || L4, zy, S, _, b);
41071
+ }(b, f, g, VC, u);
41072
+ return B2(zy || FC, zy, S, _, b);
41017
41073
  }, Km = function(u, f, g) {
41018
41074
  return ae.from(f.settings[g]).filter(u);
41019
41075
  }, Ym = function(u, f, g, _) {
@@ -41037,18 +41093,18 @@ Required: ` + f.join(", "));
41037
41093
  return f.dom[u];
41038
41094
  }, Rg = function(u, f) {
41039
41095
  return parseInt(Il(f, u), 10);
41040
- }, G4 = oe(Gy, "clientWidth"), q4 = oe(Gy, "clientHeight"), K4 = oe(Rg, "margin-top"), qy = oe(Rg, "margin-left"), A0 = function(u, f, g) {
41096
+ }, WC = oe(Gy, "clientWidth"), GC = oe(Gy, "clientHeight"), qC = oe(Rg, "margin-top"), qy = oe(Rg, "margin-left"), A0 = function(u, f, g) {
41041
41097
  var _, b = Ft.fromDom(u.getBody()), S = u.inline ? b : (_ = b, Ft.fromDom(Hr(_).dom.documentElement)), N = function(P, R, j, Y) {
41042
41098
  var ne = function(ie) {
41043
41099
  return ie.dom.getBoundingClientRect();
41044
41100
  }(R);
41045
- return { x: j - (P ? ne.left + R.dom.clientLeft + qy(R) : 0), y: Y - (P ? ne.top + R.dom.clientTop + K4(R) : 0) };
41101
+ return { x: j - (P ? ne.left + R.dom.clientLeft + qy(R) : 0), y: Y - (P ? ne.top + R.dom.clientTop + qC(R) : 0) };
41046
41102
  }(u.inline, S, f, g);
41047
41103
  return function(P, R, j) {
41048
- var Y = G4(P), ne = q4(P);
41104
+ var Y = WC(P), ne = GC(P);
41049
41105
  return R >= 0 && j >= 0 && R <= Y && j <= ne;
41050
41106
  }(S, N.x, N.y);
41051
- }, Y4 = function(u) {
41107
+ }, KC = function(u) {
41052
41108
  var f, g = u.inline ? u.getBody() : u.getContentAreaContainer();
41053
41109
  return (f = g, ae.from(f).map(Ft.fromDom)).map(Yl).getOr(!1);
41054
41110
  }, Mg = function(u) {
@@ -41068,7 +41124,7 @@ Required: ` + f.join(", "));
41068
41124
  f.splice(R, 1);
41069
41125
  });
41070
41126
  }, N = function(P, R) {
41071
- if (R === void 0 && (R = !0), !u.removed && Y4(u))
41127
+ if (R === void 0 && (R = !0), !u.removed && KC(u))
41072
41128
  return R && u.fire("BeforeOpenNotification", { notification: P }), Ot(f, function(j) {
41073
41129
  return Y = g().getArgs(j), ne = P, !(Y.type !== ne.type || Y.text !== ne.text || Y.progressBar || Y.timeout || ne.progressBar || ne.timeout);
41074
41130
  var Y, ne;
@@ -41173,7 +41229,7 @@ Required: ` + f.join(", "));
41173
41229
  f[g - 1] = arguments[g];
41174
41230
  var _ = window.console;
41175
41231
  _ && (_.error ? _.error.apply(_, wt([u], f)) : _.log.apply(_, wt([u], f)));
41176
- }, X4 = function(u) {
41232
+ }, YC = function(u) {
41177
41233
  return Xy(u, function(f) {
41178
41234
  var g = f.getParam("content_css");
41179
41235
  return x(g) ? Qe(g.split(","), ze) : O(g) ? g : g === !1 || f.inline ? [] : ["default"];
@@ -41185,8 +41241,8 @@ Required: ` + f.join(", "));
41185
41241
  return /^[a-z0-9\-]+$/i.test(N);
41186
41242
  }(S) && !b ? g + "/" + S + "/" + _ : u.documentBaseURI.toAbsolute(S);
41187
41243
  });
41188
- }, J4 = function(u) {
41189
- u.contentCSS = u.contentCSS.concat(X4(u), function(f) {
41244
+ }, XC = function(u) {
41245
+ u.contentCSS = u.contentCSS.concat(YC(u), function(f) {
41190
41246
  return Xy(f, tm(f));
41191
41247
  }(u));
41192
41248
  }, Jy = function() {
@@ -41211,8 +41267,8 @@ Required: ` + f.join(", "));
41211
41267
  }, destroy: function() {
41212
41268
  u = {};
41213
41269
  } };
41214
- }, Z4 = 0, $2 = function(u) {
41215
- return u + Z4++ + (f = function() {
41270
+ }, JC = 0, $2 = function(u) {
41271
+ return u + JC++ + (f = function() {
41216
41272
  return Math.round(4294967295 * Math.random()).toString(36);
41217
41273
  }, "s" + (/* @__PURE__ */ new Date()).getTime().toString(36) + f() + f() + f());
41218
41274
  var f;
@@ -41287,7 +41343,7 @@ Required: ` + f.join(", "));
41287
41343
  };
41288
41344
  }, Zy = function(u, f) {
41289
41345
  return F6(f, { url: Ec(u), basePath: jh(u), credentials: Vf(u), handler: M1(u) });
41290
- }, Q4 = function(u) {
41346
+ }, ZC = function(u) {
41291
41347
  var f, g, _ = function() {
41292
41348
  var ke = [], We = function(qe) {
41293
41349
  if (!qe.blob || !qe.base64)
@@ -41464,7 +41520,7 @@ Required: ` + f.join(", "));
41464
41520
  }, register: g, unregister: function(_) {
41465
41521
  return _ && f[_] && delete f[_], f;
41466
41522
  } };
41467
- }, V2 = un.each, ss = Br.DOM, eC = function(u, f) {
41523
+ }, V2 = un.each, ss = Br.DOM, QC = function(u, f) {
41468
41524
  var g, _, b, S = f && f.schema || Si({}), N = function(R) {
41469
41525
  _ = typeof R == "string" ? { name: R, classes: [], attrs: {} } : R;
41470
41526
  var j = ss.create(_.name);
@@ -41507,7 +41563,7 @@ Required: ` + f.join(", "));
41507
41563
  }
41508
41564
  return "";
41509
41565
  })), g.name = f || "div", g;
41510
- }, tC = function(u, f) {
41566
+ }, e4 = function(u, f) {
41511
41567
  var g, _, b, S = "", N = function(ie) {
41512
41568
  var me = ie.getParam("preview_styles", "font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow");
41513
41569
  return x(me) ? me : "";
@@ -41533,7 +41589,7 @@ Required: ` + f.join(", "));
41533
41589
  var me = un.map(ie.split(/(?:~\+|~|\+)/), U6), Pe = me.pop();
41534
41590
  return me.length && (Pe.siblings = me), Pe;
41535
41591
  }).reverse()) : [];
41536
- Y.length ? (Y[0].name || (Y[0].name = g), g = f.selector, _ = eC(Y, u)) : _ = eC([g], u);
41592
+ Y.length ? (Y[0].name || (Y[0].name = g), g = f.selector, _ = QC(Y, u)) : _ = QC([g], u);
41537
41593
  var ne = ss.select(g, _)[0] || _.firstChild;
41538
41594
  return V2(f.styles, function(ie, me) {
41539
41595
  var Pe = P(ie);
@@ -41555,7 +41611,7 @@ Required: ` + f.join(", "));
41555
41611
  ie === "border" && me && (S += "padding:0 2px;"), S += ie + ":" + me + ";";
41556
41612
  }
41557
41613
  }), u.fire("AfterPreviewFormats"), ss.remove(_), S;
41558
- }, nC = function(u) {
41614
+ }, t4 = function(u) {
41559
41615
  var f = L6(u), g = ei(null);
41560
41616
  return function(_) {
41561
41617
  _.addShortcut("meta+b", "", "Bold"), _.addShortcut("meta+i", "", "Italic"), _.addShortcut("meta+u", "", "Underline");
@@ -41598,8 +41654,8 @@ Required: ` + f.join(", "));
41598
41654
  return function(N, P, R, j, Y) {
41599
41655
  return Y === void 0 && (Y = !1), yi(N).formatter.formatChanged(P, R, j, Y);
41600
41656
  }(u, g, _, b, S);
41601
- }, getCssText: oe(tC, u) };
41602
- }, oC = function(u) {
41657
+ }, getCssText: oe(e4, u) };
41658
+ }, n4 = function(u) {
41603
41659
  var f = ei(ae.none()), g = ei(0), _ = ei(0), b = { data: [], typing: !1, beforeChange: function() {
41604
41660
  (function(S, N, P) {
41605
41661
  yi(S).undoManager.beforeChange(N, P);
@@ -41687,9 +41743,9 @@ Required: ` + f.join(", "));
41687
41743
  }(u, b, g), function(S) {
41688
41744
  S.addShortcut("meta+z", "", "Undo"), S.addShortcut("meta+y,meta+shift+z", "", "Redo");
41689
41745
  }(u), b;
41690
- }, z6 = [9, 27, vo.HOME, vo.END, 19, 20, 44, 144, 145, 33, 34, 45, 16, 17, 18, 91, 92, 93, vo.DOWN, vo.UP, vo.LEFT, vo.RIGHT].concat(Qn.browser.isFirefox() ? [224] : []), rC = "data-mce-placeholder", iC = function(u) {
41746
+ }, z6 = [9, 27, vo.HOME, vo.END, 19, 20, 44, 144, 145, 33, 34, 45, 16, 17, 18, 91, 92, 93, vo.DOWN, vo.UP, vo.LEFT, vo.RIGHT].concat(Qn.browser.isFirefox() ? [224] : []), o4 = "data-mce-placeholder", r4 = function(u) {
41691
41747
  return u.type === "keydown" || u.type === "keyup";
41692
- }, aC = function(u) {
41748
+ }, i4 = function(u) {
41693
41749
  var f = u.keyCode;
41694
41750
  return f === vo.BACKSPACE || f === vo.DELETE;
41695
41751
  }, H6 = function(u) {
@@ -41697,14 +41753,14 @@ Required: ` + f.join(", "));
41697
41753
  return S.getParam("placeholder", j_.getAttrib(S.getElement(), "placeholder"), "string");
41698
41754
  }(u), b = function(S, N) {
41699
41755
  if (!function(j) {
41700
- if (iC(j)) {
41756
+ if (r4(j)) {
41701
41757
  var Y = j.keyCode;
41702
- return !aC(j) && (vo.metaKeyPressed(j) || j.altKey || Y >= 112 && Y <= 123 || Te(z6, Y));
41758
+ return !i4(j) && (vo.metaKeyPressed(j) || j.altKey || Y >= 112 && Y <= 123 || Te(z6, Y));
41703
41759
  }
41704
41760
  return !1;
41705
41761
  }(S)) {
41706
41762
  var P = u.getBody(), R = !function(j) {
41707
- return iC(j) && !(aC(j) || j.type === "keyup" && j.keyCode === 229);
41763
+ return r4(j) && !(i4(j) || j.type === "keyup" && j.keyCode === 229);
41708
41764
  }(S) && function(j, Y, ne) {
41709
41765
  if (ts(Ft.fromDom(Y), !1)) {
41710
41766
  var ie = ne === "", me = Y.firstElementChild;
@@ -41712,7 +41768,7 @@ Required: ` + f.join(", "));
41712
41768
  }
41713
41769
  return !1;
41714
41770
  }(f, P, g);
41715
- (f.getAttrib(P, rC) !== "" !== R || N) && (f.setAttrib(P, rC, R ? _ : null), f.setAttrib(P, "aria-placeholder", R ? _ : null), function(j, Y) {
41771
+ (f.getAttrib(P, o4) !== "" !== R || N) && (f.setAttrib(P, o4, R ? _ : null), f.setAttrib(P, "aria-placeholder", R ? _ : null), function(j, Y) {
41716
41772
  j.fire("PlaceholderToggle", { state: Y });
41717
41773
  }(u, R), u.on(R ? "keydown" : "keyup", b), u.off(R ? "keyup" : "keydown", b));
41718
41774
  }
@@ -41724,12 +41780,12 @@ Required: ` + f.join(", "));
41724
41780
  });
41725
41781
  });
41726
41782
  });
41727
- }, sC = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, fp = function(u, f) {
41783
+ }, a4 = /[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/, fp = function(u, f) {
41728
41784
  return Za(Ft.fromDom(f), function(g) {
41729
41785
  return g.getParam("inline_boundaries_selector", "a[href],code,.mce-annotation", "string");
41730
41786
  }(u));
41731
41787
  }, j6 = function(u) {
41732
- return Br.DOM.getStyle(u, "direction", !0) === "rtl" || (f = u.textContent, sC.test(f));
41788
+ return Br.DOM.getStyle(u, "direction", !0) === "rtl" || (f = u.textContent, a4.test(f));
41733
41789
  var f;
41734
41790
  }, Zd = function(u, f, g) {
41735
41791
  var _ = function(b, S, N) {
@@ -41754,7 +41810,7 @@ Required: ` + f.join(", "));
41754
41810
  var g = f.getBody(), _ = g.firstChild && f.dom.isBlock(g.firstChild) ? g.firstChild : g;
41755
41811
  f.selection.setCursorLocation(_, 0);
41756
41812
  }(u));
41757
- }, lC = function(u, f) {
41813
+ }, s4 = function(u, f) {
41758
41814
  return { from: u, to: f };
41759
41815
  }, tb = function(u, f) {
41760
41816
  var g = Ft.fromDom(u), _ = Ft.fromDom(f.container());
@@ -41763,7 +41819,7 @@ Required: ` + f.join(", "));
41763
41819
  return { block: S, position: N };
41764
41820
  }(b, f);
41765
41821
  });
41766
- }, uC = function(u, f, g) {
41822
+ }, l4 = function(u, f, g) {
41767
41823
  var _ = tb(u, ln.fromRangeStart(g)), b = _.bind(function(S) {
41768
41824
  return Bo(f, u, S.position).bind(function(N) {
41769
41825
  return tb(u, N).map(function(P) {
@@ -41777,7 +41833,7 @@ Required: ` + f.join(", "));
41777
41833
  });
41778
41834
  });
41779
41835
  });
41780
- return pa(_, b, lC).filter(function(S) {
41836
+ return pa(_, b, s4).filter(function(S) {
41781
41837
  return function(N) {
41782
41838
  return Fo(N.from.block, N.to.block) === !1;
41783
41839
  }(S) && function(N) {
@@ -41797,7 +41853,7 @@ Required: ` + f.join(", "));
41797
41853
  }, function(g) {
41798
41854
  return f.slice(0, g);
41799
41855
  });
41800
- }, cC = function(u) {
41856
+ }, u4 = function(u) {
41801
41857
  var f = W6(u);
41802
41858
  return Je(f, mi), f;
41803
41859
  }, nb = function(u, f) {
@@ -41812,34 +41868,34 @@ Required: ` + f.join(", "));
41812
41868
  return !ts(S);
41813
41869
  }).length === 0 && ts(f) && aa(_, Ft.fromTag("br"));
41814
41870
  var b = _l(g.dom, ln.before(_.dom));
41815
- return Je(cC(f), function(S) {
41871
+ return Je(u4(f), function(S) {
41816
41872
  aa(_, S);
41817
41873
  }), nb(u, f), b;
41818
- }, dC = function(u, f, g) {
41874
+ }, c4 = function(u, f, g) {
41819
41875
  if (ts(g))
41820
41876
  return mi(g), ts(f) && hg(f), Ta(f.dom);
41821
41877
  var _ = yl(g.dom);
41822
- return Je(cC(f), function(b) {
41878
+ return Je(u4(f), function(b) {
41823
41879
  ai(g, b);
41824
41880
  }), nb(u, f), _;
41825
- }, fC = function(u, f) {
41881
+ }, d4 = function(u, f) {
41826
41882
  return ia(f, u) ? function(g, _) {
41827
41883
  var b = yu(_, g);
41828
41884
  return ae.from(b[b.length - 1]);
41829
41885
  }(f, u) : ae.none();
41830
- }, pC = function(u, f) {
41886
+ }, f4 = function(u, f) {
41831
41887
  Nc(u, f.dom).map(function(g) {
41832
41888
  return g.getNode();
41833
41889
  }).map(Ft.fromDom).filter(Rs).each(mi);
41834
41890
  }, ob = function(u, f, g) {
41835
- return pC(!0, f), pC(!1, g), fC(f, g).fold(oe(dC, u, f, g), oe(R0, u, f, g));
41836
- }, mC = function(u, f, g, _) {
41891
+ return f4(!0, f), f4(!1, g), d4(f, g).fold(oe(c4, u, f, g), oe(R0, u, f, g));
41892
+ }, p4 = function(u, f, g, _) {
41837
41893
  return f ? ob(u, _, g) : ob(u, g, _);
41838
41894
  }, F2 = function(u, f) {
41839
41895
  var g = Ft.fromDom(u.getBody()), _ = function(b, S, N) {
41840
- return N.collapsed ? uC(b, S, N) : ae.none();
41896
+ return N.collapsed ? l4(b, S, N) : ae.none();
41841
41897
  }(g.dom, f, u.selection.getRng()).bind(function(b) {
41842
- return mC(g, f, b.from.block, b.to.block);
41898
+ return p4(g, f, b.from.block, b.to.block);
41843
41899
  });
41844
41900
  return _.each(function(b) {
41845
41901
  u.selection.setRng(b.toRange());
@@ -41847,19 +41903,19 @@ Required: ` + f.join(", "));
41847
41903
  }, Na = function(u, f) {
41848
41904
  var g = Ft.fromDom(f), _ = oe(Fo, u);
41849
41905
  return gf(g, Ur, _).isSome();
41850
- }, hC = function(u, f) {
41906
+ }, m4 = function(u, f) {
41851
41907
  var g = _l(u.dom, ln.fromRangeStart(f)).isNone(), _ = vl(u.dom, ln.fromRangeEnd(f)).isNone();
41852
41908
  return !function(b, S) {
41853
41909
  return Na(b, S.startContainer) || Na(b, S.endContainer);
41854
41910
  }(u, f) && g && _;
41855
41911
  }, G6 = function(u) {
41856
41912
  var f = Ft.fromDom(u.getBody()), g = u.selection.getRng();
41857
- return hC(f, g) ? function(_) {
41913
+ return m4(f, g) ? function(_) {
41858
41914
  return _.setContent(""), _.selection.setCursorLocation(), !0;
41859
41915
  }(u) : function(_, b) {
41860
41916
  var S = b.getRng();
41861
41917
  return pa(pp(_, Ft.fromDom(S.startContainer)), pp(_, Ft.fromDom(S.endContainer)), function(N, P) {
41862
- return Fo(N, P) === !1 && (S.deleteContents(), mC(_, !0, N, P).each(function(R) {
41918
+ return Fo(N, P) === !1 && (S.deleteContents(), p4(_, !0, N, P).each(function(R) {
41863
41919
  b.setRng(R.toRange());
41864
41920
  }), !0);
41865
41921
  }).getOr(!1);
@@ -41873,7 +41929,7 @@ Required: ` + f.join(", "));
41873
41929
  var _ = g.ownerDocument.createRange();
41874
41930
  return _.selectNode(g), _;
41875
41931
  }(f));
41876
- }, gC = function(u, f, g) {
41932
+ }, h4 = function(u, f, g) {
41877
41933
  var _ = kd(1, u.getBody(), f), b = ln.fromRangeStart(_), S = b.getNode();
41878
41934
  if (Ed(S))
41879
41935
  return Qd(1, u, S, !b.isAtEnd(), !1);
@@ -41885,10 +41941,10 @@ Required: ` + f.join(", "));
41885
41941
  });
41886
41942
  return Ed(P) ? Qd(1, u, P, !1, g) : ae.none();
41887
41943
  }, Xm = function(u, f, g) {
41888
- return f.collapsed ? gC(u, f, g).getOr(f) : f;
41944
+ return f.collapsed ? h4(u, f, g).getOr(f) : f;
41889
41945
  }, K6 = function(u) {
41890
41946
  return rp(u) || pg(u);
41891
- }, vC = function(u) {
41947
+ }, g4 = function(u) {
41892
41948
  return ip(u) || mg(u);
41893
41949
  }, ef = function(u, f, g, _, b, S) {
41894
41950
  return Qd(_, u, S.getNode(!b), b, !0).each(function(N) {
@@ -41906,7 +41962,7 @@ Required: ` + f.join(", "));
41906
41962
  var b = g.selection.getRng();
41907
41963
  if (!io(b.commonAncestorContainer))
41908
41964
  return !1;
41909
- var S = _ ? gi.Forwards : gi.Backwards, N = gl(g.getBody()), P = oe(hl, _ ? N.next : N.prev), R = _ ? K6 : vC, j = xc(S, g.getBody(), b), Y = $i(_, P(j));
41965
+ var S = _ ? gi.Forwards : gi.Backwards, N = gl(g.getBody()), P = oe(hl, _ ? N.next : N.prev), R = _ ? K6 : g4, j = xc(S, g.getBody(), b), Y = $i(_, P(j));
41910
41966
  if (!Y || !kc(j, Y))
41911
41967
  return !1;
41912
41968
  if (R(Y))
@@ -41981,7 +42037,7 @@ Required: ` + f.join(", "));
41981
42037
  }(u));
41982
42038
  });
41983
42039
  }, fe);
41984
- }, _C = function(u, f) {
42040
+ }, _4 = function(u, f) {
41985
42041
  var g = u.selection.getNode();
41986
42042
  return !!Vr(g) && U2(u, g.parentNode).filter(Vr).fold(function() {
41987
42043
  var _;
@@ -41995,7 +42051,7 @@ Required: ` + f.join(", "));
41995
42051
  }
41996
42052
  return !0;
41997
42053
  }, z2 = function(u, f) {
41998
- return u.selection.isCollapsed() ? rb(u, f) : _C(u, f);
42054
+ return u.selection.isCollapsed() ? rb(u, f) : _4(u, f);
41999
42055
  }, $0 = function(u, f) {
42000
42056
  return !!u.selection.isCollapsed() && function(g, _) {
42001
42057
  var b = ln.fromRangeStart(g.selection.getRng());
@@ -42007,7 +42063,7 @@ Required: ` + f.join(", "));
42007
42063
  return g.selection.select(S), !0;
42008
42064
  });
42009
42065
  }(u, f);
42010
- }, Zm = io, yC = function(u) {
42066
+ }, Zm = io, y4 = function(u) {
42011
42067
  return Zm(u) && u.data[0] === li;
42012
42068
  }, ab = function(u) {
42013
42069
  return Zm(u) && u.data[u.data.length - 1] === li;
@@ -42018,18 +42074,18 @@ Required: ` + f.join(", "));
42018
42074
  if (Zm(g.previousSibling))
42019
42075
  return ab(g.previousSibling) || g.previousSibling.appendData(li), g.previousSibling;
42020
42076
  if (Zm(g))
42021
- return yC(g) || g.insertData(0, li), g;
42077
+ return y4(g) || g.insertData(0, li), g;
42022
42078
  var _ = Vg(g);
42023
42079
  return g.parentNode.insertBefore(_, g), _;
42024
42080
  }(f) : function(g) {
42025
42081
  if (Zm(g.nextSibling))
42026
- return yC(g.nextSibling) || g.nextSibling.insertData(0, li), g.nextSibling;
42082
+ return y4(g.nextSibling) || g.nextSibling.insertData(0, li), g.nextSibling;
42027
42083
  if (Zm(g))
42028
42084
  return ab(g) || g.appendData(li), g;
42029
42085
  var _ = Vg(g);
42030
42086
  return g.nextSibling ? g.parentNode.insertBefore(_, g.nextSibling) : g.parentNode.appendChild(_), _;
42031
42087
  }(f);
42032
- }, bC = oe(V0, !0), Zu = oe(V0, !1), sb = function(u, f) {
42088
+ }, b4 = oe(V0, !0), Zu = oe(V0, !1), sb = function(u, f) {
42033
42089
  return io(u.container()) ? V0(f, u.container()) : V0(f, u.getNode());
42034
42090
  }, H2 = function(u, f) {
42035
42091
  var g = f.get();
@@ -42037,7 +42093,7 @@ Required: ` + f.join(", "));
42037
42093
  }, lb = function(u, f) {
42038
42094
  return f.fold(function(g) {
42039
42095
  Bi(u.get());
42040
- var _ = bC(g);
42096
+ var _ = b4(g);
42041
42097
  return u.set(_), ae.some(ln(_, _.length - 1));
42042
42098
  }, function(g) {
42043
42099
  return Ta(g).map(function(_) {
@@ -42060,7 +42116,7 @@ Required: ` + f.join(", "));
42060
42116
  var _ = Zu(g);
42061
42117
  return u.set(_), ae.some(ln(_, 1));
42062
42118
  });
42063
- }, wC = function(u, f) {
42119
+ }, w4 = function(u, f) {
42064
42120
  for (var g = 0; g < u.length; g++) {
42065
42121
  var _ = u[g].apply(null, f);
42066
42122
  if (_.isSome())
@@ -42081,17 +42137,17 @@ Required: ` + f.join(", "));
42081
42137
  return hu(u, f) === null;
42082
42138
  }, ub = function(u, f, g) {
42083
42139
  return Zd(u, f, g).filter(oe(Y6, f));
42084
- }, CC = function(u, f, g) {
42140
+ }, C4 = function(u, f, g) {
42085
42141
  var _ = Qy(g);
42086
42142
  return ub(u, f, _).bind(function(b) {
42087
42143
  return _l(b, _).isNone() ? ae.some(ea.start(b)) : ae.none();
42088
42144
  });
42089
- }, EC = function(u, f, g) {
42145
+ }, E4 = function(u, f, g) {
42090
42146
  var _ = B0(g);
42091
42147
  return ub(u, f, _).bind(function(b) {
42092
42148
  return vl(b, _).isNone() ? ae.some(ea.end(b)) : ae.none();
42093
42149
  });
42094
- }, SC = function(u, f, g) {
42150
+ }, S4 = function(u, f, g) {
42095
42151
  var _ = Qy(g), b = tf(f, _.container());
42096
42152
  return Zd(u, b, _).fold(function() {
42097
42153
  return _l(b, _).bind(oe(Zd, u, b)).map(function(S) {
@@ -42101,10 +42157,10 @@ Required: ` + f.join(", "));
42101
42157
  }, j2 = function(u) {
42102
42158
  return j6(cb(u)) === !1;
42103
42159
  }, Vc = function(u, f, g) {
42104
- return wC([nf, CC, EC, SC], [u, f, g]).filter(j2);
42160
+ return w4([nf, C4, E4, S4], [u, f, g]).filter(j2);
42105
42161
  }, cb = function(u) {
42106
42162
  return u.fold(ge, ge, ge, ge);
42107
- }, xC = function(u) {
42163
+ }, x4 = function(u) {
42108
42164
  return u.fold(re("before"), re("start"), re("end"), re("after"));
42109
42165
  }, Hl = function(u) {
42110
42166
  return u.fold(ea.before, ea.before, ea.after, ea.after);
@@ -42119,7 +42175,7 @@ Required: ` + f.join(", "));
42119
42175
  }).getOr(S);
42120
42176
  }, J6 = function(u, f) {
42121
42177
  return u.fold(fe, function(g) {
42122
- return b = f, !(xC(_ = g) === xC(b) && cb(_) === cb(b));
42178
+ return b = f, !(x4(_ = g) === x4(b) && cb(_) === cb(b));
42123
42179
  var _, b;
42124
42180
  });
42125
42181
  }, bi = function(u, f) {
@@ -42141,7 +42197,7 @@ Required: ` + f.join(", "));
42141
42197
  var Qu, fb = function(u, f, g) {
42142
42198
  var _ = u ? 1 : -1;
42143
42199
  return f.setRng(ln(g.container(), g.offset() + _).toRange()), f.getSel().modify("move", u ? "forward" : "backward", "word"), !0;
42144
- }, kC = function(u, f) {
42200
+ }, k4 = function(u, f) {
42145
42201
  var g = f.selection.getRng(), _ = u ? ln.fromRangeEnd(g) : ln.fromRangeStart(g);
42146
42202
  return !!function(b) {
42147
42203
  return Z(b.selection.getSel().modify);
@@ -42170,7 +42226,7 @@ Required: ` + f.join(", "));
42170
42226
  N = b;
42171
42227
  }
42172
42228
  return { positions: F0(f, P), breakType: Qu.Eol, breakAt: ae.none() };
42173
- }, TC = function(u, f, g, _) {
42229
+ }, T4 = function(u, f, g, _) {
42174
42230
  return f(g, _).breakAt.map(function(b) {
42175
42231
  var S = f(g, b).positions;
42176
42232
  return u === gi.Backwards ? S.concat(b) : [b].concat(S);
@@ -42190,7 +42246,7 @@ Required: ` + f.join(", "));
42190
42246
  return Fn(f.getClientRects()).bind(function(g) {
42191
42247
  return G2(u, g.left);
42192
42248
  });
42193
- }, eh = oe(Qm, ln.isAbove, -1), Fg = oe(Qm, ln.isBelow, 1), hb = oe(TC, -1, eh), Q6 = oe(TC, 1, Fg), e8 = function(u) {
42249
+ }, eh = oe(Qm, ln.isAbove, -1), Fg = oe(Qm, ln.isBelow, 1), hb = oe(T4, -1, eh), Q6 = oe(T4, 1, Fg), e8 = function(u) {
42194
42250
  var f = function(_) {
42195
42251
  return Qe(_, function(b) {
42196
42252
  return (b = bc(b)).node = u, b;
@@ -42226,7 +42282,7 @@ Required: ` + f.join(", "));
42226
42282
  if (me(Pe))
42227
42283
  return;
42228
42284
  }(u, _, R, Y), P;
42229
- }, NC = oe(gb, mp.Up, wc, Lu), IC = oe(gb, mp.Down, Lu, wc), AC = function(u) {
42285
+ }, N4 = oe(gb, mp.Up, wc, Lu), I4 = oe(gb, mp.Down, Lu, wc), A4 = function(u) {
42230
42286
  return function(f) {
42231
42287
  return function(g, _) {
42232
42288
  return _.line > g;
@@ -42238,25 +42294,25 @@ Required: ` + f.join(", "));
42238
42294
  return _.line === g;
42239
42295
  }(u, f);
42240
42296
  };
42241
- }, gp = Vr, OC = xd, _b = function(u, f) {
42297
+ }, gp = Vr, O4 = xd, _b = function(u, f) {
42242
42298
  return Math.abs(u.left - f);
42243
42299
  }, yb = function(u, f) {
42244
42300
  return Math.abs(u.right - f);
42245
- }, DC = function(u, f) {
42301
+ }, D4 = function(u, f) {
42246
42302
  return u >= f.left && u <= f.right;
42247
42303
  }, t8 = function(u, f) {
42248
42304
  return u >= f.top && u <= f.bottom;
42249
42305
  }, q2 = function(u, f) {
42250
42306
  return Ke(u, function(g, _) {
42251
42307
  var b = Math.min(_b(g, f), yb(g, f)), S = Math.min(_b(_, f), yb(_, f));
42252
- return DC(f, _) ? _ : DC(f, g) ? g : S === b && gp(_.node) || S < b ? _ : g;
42308
+ return D4(f, _) ? _ : D4(f, g) ? g : S === b && gp(_.node) || S < b ? _ : g;
42253
42309
  });
42254
- }, PC = function(u, f, g, _, b) {
42255
- var S = OC(_, u, bh, f, !b);
42310
+ }, P4 = function(u, f, g, _, b) {
42311
+ var S = O4(_, u, bh, f, !b);
42256
42312
  do
42257
42313
  if (!S || g(S))
42258
42314
  return;
42259
- while (S = OC(S, u, bh, f));
42315
+ while (S = O4(S, u, bh, f));
42260
42316
  }, n8 = function(u, f, g) {
42261
42317
  var _ = El(function(P) {
42262
42318
  return Ue(Dn(P.getElementsByTagName("*")), mu);
@@ -42271,7 +42327,7 @@ Required: ` + f.join(", "));
42271
42327
  });
42272
42328
  return Y = Y.concat(Pe), Pe.length === 0;
42273
42329
  };
42274
- return Y.push(R), PC(mp.Up, P, oe(ne, wc), R.node, j), PC(mp.Down, P, oe(ne, Lu), R.node, j), Y;
42330
+ return Y.push(R), P4(mp.Up, P, oe(ne, wc), R.node, j), P4(mp.Down, P, oe(ne, Lu), R.node, j), Y;
42275
42331
  }(u, S, N), f), S && mu(S.node))
42276
42332
  return function(P, R) {
42277
42333
  return { node: P.node, before: _b(P, R) < yb(P, R) };
@@ -42282,7 +42338,7 @@ Required: ` + f.join(", "));
42282
42338
  u.selection.setRng(f), Qf(u, u.selection.getRng());
42283
42339
  }, bb = function(u, f, g) {
42284
42340
  return ae.some(Xm(u, f, g));
42285
- }, BC = function(u, f, g, _, b, S) {
42341
+ }, B4 = function(u, f, g, _, b, S) {
42286
42342
  var N = f === gi.Forwards, P = gl(u.getBody()), R = oe(hl, N ? P.next : P.prev), j = N ? _ : b;
42287
42343
  if (!g.collapsed) {
42288
42344
  var Y = zh(g);
@@ -42305,7 +42361,7 @@ Required: ` + f.join(", "));
42305
42361
  var N = xc(f, u.getBody(), g), P = pt(N.getClientRects()), R = f === mp.Down;
42306
42362
  if (!P)
42307
42363
  return ae.none();
42308
- var j, Y = (R ? IC : NC)(u.getBody(), AC(1), N), ne = Ue(Y, vb(1)), ie = P.left, me = q2(ne, ie);
42364
+ var j, Y = (R ? I4 : N4)(u.getBody(), A4(1), N), ne = Ue(Y, vb(1)), ie = P.left, me = q2(ne, ie);
42309
42365
  if (me && S(me.node)) {
42310
42366
  var Pe = Math.abs(ie - me.left), je = Math.abs(ie - me.right);
42311
42367
  return Qd(f, u, me.node, Pe < je, !1);
@@ -42325,7 +42381,7 @@ Required: ` + f.join(", "));
42325
42381
  }
42326
42382
  while (hn = bt(hn));
42327
42383
  return Un;
42328
- }(f, u.getBody(), AC(1), j), We = q2(Ue(ke, vb(1)), ie);
42384
+ }(f, u.getBody(), A4(1), j), We = q2(Ue(ke, vb(1)), ie);
42329
42385
  if (We || (We = pt(Ue(ke, vb(0)))))
42330
42386
  return bb(u, We.position.toRange(), !1);
42331
42387
  }
@@ -42367,7 +42423,7 @@ Required: ` + f.join(", "));
42367
42423
  });
42368
42424
  }(u, f, g).isSome();
42369
42425
  }, H0 = function(u, f, g) {
42370
- return !!Lf(f) && kC(u, f);
42426
+ return !!Lf(f) && k4(u, f);
42371
42427
  }, K2 = function(u) {
42372
42428
  var f = ei(null), g = oe(fp, u);
42373
42429
  return u.on("NodeChange", function(_) {
@@ -42388,7 +42444,7 @@ Required: ` + f.join(", "));
42388
42444
  }
42389
42445
  }(g, u, f, _.parents));
42390
42446
  }), f;
42391
- }, RC = oe(H0, !0), wb = oe(H0, !1), Ug = function(u, f, g) {
42447
+ }, R4 = oe(H0, !0), wb = oe(H0, !1), Ug = function(u, f, g) {
42392
42448
  if (Lf(u)) {
42393
42449
  var _ = L0(u, f).getOrThunk(function() {
42394
42450
  var b = u.selection.getRng();
@@ -42452,17 +42508,17 @@ Required: ` + f.join(", "));
42452
42508
  return zg(u, f, g, _);
42453
42509
  }
42454
42510
  return !1;
42455
- }, MC = function(u) {
42511
+ }, M4 = function(u) {
42456
42512
  return Wo(u).length === 1;
42457
- }, $C = function(u, f, g, _) {
42458
- var b = oe(f4, f), S = Qe(Ue(_, b), function(P) {
42513
+ }, $4 = function(u, f, g, _) {
42514
+ var b = oe(fC, f), S = Qe(Ue(_, b), function(P) {
42459
42515
  return P.dom;
42460
42516
  });
42461
42517
  if (S.length === 0)
42462
42518
  ap(f, u, g);
42463
42519
  else {
42464
42520
  var N = function(P, R) {
42465
- var j = Ul(!1), Y = c4(R, j.dom);
42521
+ var j = Ul(!1), Y = cC(R, j.dom);
42466
42522
  return aa(Ft.fromDom(P), j), mi(Ft.fromDom(P)), ln(Y, 0);
42467
42523
  }(g.dom, S);
42468
42524
  f.selection.setRng(N.toRange());
@@ -42473,7 +42529,7 @@ Required: ` + f.join(", "));
42473
42529
  return Kt(P, Zs).fold(re(P), function(R) {
42474
42530
  return P.slice(0, R);
42475
42531
  });
42476
- }(g, _), MC);
42532
+ }(g, _), M4);
42477
42533
  return Gt(b).exists(function(S) {
42478
42534
  var N, P = ln.fromRangeStart(u.selection.getRng());
42479
42535
  return !(!function(R, j, Y) {
@@ -42485,7 +42541,7 @@ Required: ` + f.join(", "));
42485
42541
  return ke.isEqual(me) && j.isEqual(Pe);
42486
42542
  });
42487
42543
  }).getOr(!0);
42488
- }(f, P, S.dom) || (N = S, bl(N.dom) && u4(N.dom))) && ($C(f, u, S, b), !0);
42544
+ }(f, P, S.dom) || (N = S, bl(N.dom) && uC(N.dom))) && ($4(f, u, S, b), !0);
42489
42545
  });
42490
42546
  }, W0 = function(u, f) {
42491
42547
  return !!u.selection.isCollapsed() && Y2(u, f);
@@ -42551,7 +42607,7 @@ Required: ` + f.join(", "));
42551
42607
  return !1;
42552
42608
  }, Q2 = function(u, f) {
42553
42609
  u.getDoc().execCommand(f, !1, null);
42554
- }, VC = function(u, f) {
42610
+ }, V4 = function(u, f) {
42555
42611
  u.addCommand("delete", function() {
42556
42612
  (function(g, _) {
42557
42613
  Z2(g) || z2(g, !1) || ls(g, !1) || j0(g, _, !1) || F2(g, !1) || g0(g) || $0(g, !1) || G0(g, !1) || L2(g) || W0(g, !1) || (Q2(g, "Delete"), eb(g));
@@ -42563,7 +42619,7 @@ Required: ` + f.join(", "));
42563
42619
  });
42564
42620
  }, kb = function(u) {
42565
42621
  return u.touches === void 0 || u.touches.length !== 1 ? ae.none() : ae.some(u.touches[0]);
42566
- }, FC = function(u) {
42622
+ }, F4 = function(u) {
42567
42623
  var f = ei(ae.none()), g = ei(!1), _ = Rh(function(b) {
42568
42624
  u.fire("longpress", ht(ht({}, b), { type: "longpress" })), g.set(!0);
42569
42625
  }, 400);
@@ -42591,9 +42647,9 @@ Required: ` + f.join(", "));
42591
42647
  }, !0);
42592
42648
  }, q0 = function(u, f) {
42593
42649
  return u.hasOwnProperty(f.nodeName);
42594
- }, LC = function(u, f) {
42650
+ }, L4 = function(u, f) {
42595
42651
  return !!io(f) || !!Gn(f) && !q0(u, f) && !$n(f);
42596
- }, UC = function(u, f) {
42652
+ }, U4 = function(u, f) {
42597
42653
  return !!(io(f) && (f.nodeValue.length === 0 || /^\s+$/.test(f.nodeValue) && (!f.nextSibling || q0(u, f.nextSibling))));
42598
42654
  }, Tb = function(u) {
42599
42655
  var f, g, _, b = u.dom, S = u.selection, N = u.schema, P = N.getBlockElements(), R = S.getStart(), j = u.getBody(), Y = ka(u);
@@ -42606,8 +42662,8 @@ Required: ` + f.join(", "));
42606
42662
  }(P, j, R)) {
42607
42663
  var ie = S.getRng(), me = ie.startContainer, Pe = ie.startOffset, je = ie.endContainer, ke = ie.endOffset, We = ct(u);
42608
42664
  for (R = j.firstChild; R; )
42609
- if (LC(P, R)) {
42610
- if (UC(P, R)) {
42665
+ if (L4(P, R)) {
42666
+ if (U4(P, R)) {
42611
42667
  g = R, R = R.nextSibling, b.remove(g);
42612
42668
  continue;
42613
42669
  }
@@ -42648,11 +42704,11 @@ Required: ` + f.join(", "));
42648
42704
  }, e_ = function(u, f) {
42649
42705
  var g = f ? gi.Forwards : gi.Backwards, _ = u.selection.getRng();
42650
42706
  return function(b, S, N) {
42651
- return BC(S, b, N, rp, ip, K0);
42707
+ return B4(S, b, N, rp, ip, K0);
42652
42708
  }(g, u, _).orThunk(function() {
42653
42709
  return Nb(u, g, _), ae.none();
42654
42710
  });
42655
- }, zC = function(u, f) {
42711
+ }, z4 = function(u, f) {
42656
42712
  var g = f ? 1 : -1, _ = u.selection.getRng();
42657
42713
  return function(b, S, N) {
42658
42714
  return Lg(S, b, N, function(P) {
@@ -42668,12 +42724,12 @@ Required: ` + f.join(", "));
42668
42724
  return of(u, g), !0;
42669
42725
  });
42670
42726
  }, Ab = function(u, f) {
42671
- return zC(u, f).exists(function(g) {
42727
+ return z4(u, f).exists(function(g) {
42672
42728
  return of(u, g), !0;
42673
42729
  });
42674
42730
  }, Ob = function(u, f) {
42675
42731
  return vp(u, f, f ? ip : rp);
42676
- }, HC = function(u) {
42732
+ }, H4 = function(u) {
42677
42733
  return Te(["figcaption"], ur(u));
42678
42734
  }, Db = function(u) {
42679
42735
  var f = document.createRange();
@@ -42694,11 +42750,11 @@ Required: ` + f.join(", "));
42694
42750
  }(u.dom, g) : function(_, b) {
42695
42751
  return eh(_, b).breakAt.isNone();
42696
42752
  }(u.dom, g);
42697
- }, jC = function(u, f) {
42753
+ }, j4 = function(u, f) {
42698
42754
  var g = Ft.fromDom(u.getBody()), _ = ln.fromRangeStart(u.selection.getRng()), b = ka(u), S = Zp(u);
42699
42755
  return function(N, P) {
42700
42756
  var R = oe(Fo, P);
42701
- return id(Ft.fromDom(N.container()), Zs, R).filter(HC);
42757
+ return id(Ft.fromDom(N.container()), Zs, R).filter(H4);
42702
42758
  }(_, g).exists(function() {
42703
42759
  if (Pb(g, f, _)) {
42704
42760
  var N = t_(g, b, S, f);
@@ -42707,7 +42763,7 @@ Required: ` + f.join(", "));
42707
42763
  return !1;
42708
42764
  });
42709
42765
  }, n_ = function(u, f) {
42710
- return !!u.selection.isCollapsed() && jC(u, f);
42766
+ return !!u.selection.isCollapsed() && j4(u, f);
42711
42767
  }, o8 = function(u, f) {
42712
42768
  return kn(function(g) {
42713
42769
  return Qe(g, function(_) {
@@ -42728,17 +42784,17 @@ Required: ` + f.join(", "));
42728
42784
  return Ot(o8(u, f), function(g) {
42729
42785
  return g.action();
42730
42786
  });
42731
- }, WC = function(u, f) {
42787
+ }, W4 = function(u, f) {
42732
42788
  var g = f ? gi.Forwards : gi.Backwards, _ = u.selection.getRng();
42733
- return BC(u, g, _, pg, mg, mr).exists(function(b) {
42789
+ return B4(u, g, _, pg, mg, mr).exists(function(b) {
42734
42790
  return of(u, b), !0;
42735
42791
  });
42736
- }, GC = function(u, f) {
42792
+ }, G4 = function(u, f) {
42737
42793
  var g = f ? 1 : -1, _ = u.selection.getRng();
42738
42794
  return Lg(u, g, _, pg, mg, mr).exists(function(b) {
42739
42795
  return of(u, b), !0;
42740
42796
  });
42741
- }, qC = function(u, f) {
42797
+ }, q4 = function(u, f) {
42742
42798
  return vp(u, f, f ? mg : pg);
42743
42799
  }, X0 = function(u, f, g, _, b) {
42744
42800
  var S = da(Ft.fromDom(g), "td,th,caption").map(function(P) {
@@ -42773,7 +42829,7 @@ Required: ` + f.join(", "));
42773
42829
  return u.top;
42774
42830
  }, function(u, f) {
42775
42831
  return u.y > f;
42776
- }), KC = function(u, f) {
42832
+ }), K4 = function(u, f) {
42777
42833
  return Fn(f.getClientRects()).bind(function(g) {
42778
42834
  return o_(u, g.left, g.top);
42779
42835
  }).bind(function(g) {
@@ -42791,7 +42847,7 @@ Required: ` + f.join(", "));
42791
42847
  }).getOr([]), f);
42792
42848
  var _;
42793
42849
  });
42794
- }, YC = function(u, f, g) {
42850
+ }, Y4 = function(u, f, g) {
42795
42851
  var _ = u(f, g);
42796
42852
  return function(b) {
42797
42853
  return b.breakType === Qu.Wrap && b.positions.length === 0;
@@ -42802,7 +42858,7 @@ Required: ` + f.join(", "));
42802
42858
  return b(S, P).breakAt.isSome();
42803
42859
  });
42804
42860
  }(u, f, _) : _.breakAt.isNone();
42805
- }, r8 = oe(YC, eh), i8 = oe(YC, Fg), a8 = function(u, f, g, _) {
42861
+ }, r8 = oe(Y4, eh), i8 = oe(Y4, Fg), a8 = function(u, f, g, _) {
42806
42862
  var b = u.selection.getRng(), S = f ? 1 : -1;
42807
42863
  return !(!H1() || !function(N, P, R) {
42808
42864
  var j = ln.fromRangeStart(P);
@@ -42815,7 +42871,7 @@ Required: ` + f.join(", "));
42815
42871
  }, s8 = function(u, f) {
42816
42872
  var g = f.getNode(u);
42817
42873
  return Gn(g) && g.nodeName === "TABLE" ? ae.some(g) : ae.none();
42818
- }, XC = function(u, f, g) {
42874
+ }, X4 = function(u, f, g) {
42819
42875
  var _ = s8(!!f, g), b = f === !1;
42820
42876
  _.fold(function() {
42821
42877
  return of(u, g.toRange());
@@ -42840,13 +42896,13 @@ Required: ` + f.join(", "));
42840
42896
  var b = u.selection.getRng(), S = ln.fromRangeStart(b), N = u.getBody();
42841
42897
  if (!f && r8(_, S)) {
42842
42898
  var P = function(R, j, Y) {
42843
- return KC(j, Y).orThunk(function() {
42899
+ return K4(j, Y).orThunk(function() {
42844
42900
  return Fn(Y.getClientRects()).bind(function(ne) {
42845
42901
  return G2(hb(R, ln.before(j)), ne.left);
42846
42902
  });
42847
42903
  }).getOr(ln.before(j));
42848
42904
  }(N, g, S);
42849
- return XC(u, f, P), !0;
42905
+ return X4(u, f, P), !0;
42850
42906
  }
42851
42907
  return f && i8(_, S) ? (P = function(R, j, Y) {
42852
42908
  return Rb(j, Y).orThunk(function() {
@@ -42854,7 +42910,7 @@ Required: ` + f.join(", "));
42854
42910
  return G2(Q6(R, ln.after(j)), ne.left);
42855
42911
  });
42856
42912
  }).getOr(ln.after(j));
42857
- }(N, g, S), XC(u, f, P), !0) : !1;
42913
+ }(N, g, S), X4(u, f, P), !0) : !1;
42858
42914
  }, J0 = function(u, f, g) {
42859
42915
  return ae.from(u.dom.getParent(u.selection.getNode(), "td,th")).bind(function(_) {
42860
42916
  return ae.from(u.dom.getParent(_, "table")).map(function(b) {
@@ -42863,13 +42919,13 @@ Required: ` + f.join(", "));
42863
42919
  }).getOr(!1);
42864
42920
  }, Z0 = function(u, f) {
42865
42921
  return J0(u, f, a8);
42866
- }, JC = function(u, f) {
42922
+ }, J4 = function(u, f) {
42867
42923
  return J0(u, f, r_);
42868
42924
  }, l8 = function(u, f) {
42869
42925
  u.on("keydown", function(g) {
42870
42926
  g.isDefaultPrevented() === !1 && function(_, b, S) {
42871
42927
  var N = Wn().os;
42872
- Hg([{ keyCode: vo.RIGHT, action: dr(Ib, _, !0) }, { keyCode: vo.LEFT, action: dr(Ib, _, !1) }, { keyCode: vo.UP, action: dr(Ab, _, !1) }, { keyCode: vo.DOWN, action: dr(Ab, _, !0) }, { keyCode: vo.RIGHT, action: dr(Z0, _, !0) }, { keyCode: vo.LEFT, action: dr(Z0, _, !1) }, { keyCode: vo.UP, action: dr(JC, _, !1) }, { keyCode: vo.DOWN, action: dr(JC, _, !0) }, { keyCode: vo.RIGHT, action: dr(WC, _, !0) }, { keyCode: vo.LEFT, action: dr(WC, _, !1) }, { keyCode: vo.UP, action: dr(GC, _, !1) }, { keyCode: vo.DOWN, action: dr(GC, _, !0) }, { keyCode: vo.RIGHT, action: dr(_p, _, b, !0) }, { keyCode: vo.LEFT, action: dr(_p, _, b, !1) }, { keyCode: vo.RIGHT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(RC, _, b) }, { keyCode: vo.LEFT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(wb, _, b) }, { keyCode: vo.UP, action: dr(n_, _, !1) }, { keyCode: vo.DOWN, action: dr(n_, _, !0) }], S).each(function(P) {
42928
+ Hg([{ keyCode: vo.RIGHT, action: dr(Ib, _, !0) }, { keyCode: vo.LEFT, action: dr(Ib, _, !1) }, { keyCode: vo.UP, action: dr(Ab, _, !1) }, { keyCode: vo.DOWN, action: dr(Ab, _, !0) }, { keyCode: vo.RIGHT, action: dr(Z0, _, !0) }, { keyCode: vo.LEFT, action: dr(Z0, _, !1) }, { keyCode: vo.UP, action: dr(J4, _, !1) }, { keyCode: vo.DOWN, action: dr(J4, _, !0) }, { keyCode: vo.RIGHT, action: dr(W4, _, !0) }, { keyCode: vo.LEFT, action: dr(W4, _, !1) }, { keyCode: vo.UP, action: dr(G4, _, !1) }, { keyCode: vo.DOWN, action: dr(G4, _, !0) }, { keyCode: vo.RIGHT, action: dr(_p, _, b, !0) }, { keyCode: vo.LEFT, action: dr(_p, _, b, !1) }, { keyCode: vo.RIGHT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(R4, _, b) }, { keyCode: vo.LEFT, ctrlKey: !N.isOSX(), altKey: N.isOSX(), action: dr(wb, _, b) }, { keyCode: vo.UP, action: dr(n_, _, !1) }, { keyCode: vo.DOWN, action: dr(n_, _, !0) }], S).each(function(P) {
42873
42929
  S.preventDefault();
42874
42930
  });
42875
42931
  }(u, f, g);
@@ -42919,7 +42975,7 @@ Required: ` + f.join(", "));
42919
42975
  }
42920
42976
  }, Mb = function(u) {
42921
42977
  return ae.from(u.dom.getParent(u.selection.getStart(!0), u.dom.isBlock));
42922
- }, ZC = function(u, f) {
42978
+ }, Z4 = function(u, f) {
42923
42979
  return u && u.parentNode && u.parentNode.nodeName === f;
42924
42980
  }, Wl = function(u) {
42925
42981
  return u && /^(OL|UL|LI)$/.test(u.nodeName);
@@ -42930,14 +42986,14 @@ Required: ` + f.join(", "));
42930
42986
  for (var _ = u[g ? "firstChild" : "lastChild"]; _ && !Gn(_); )
42931
42987
  _ = _[g ? "nextSibling" : "previousSibling"];
42932
42988
  return _ === f;
42933
- }, QC = function(u, f, g, _, b) {
42989
+ }, Q4 = function(u, f, g, _, b) {
42934
42990
  var S = u.dom, N = u.selection.getRng();
42935
42991
  if (g !== u.getBody()) {
42936
42992
  var P;
42937
42993
  Wl(P = g) && Wl(P.parentNode) && (b = "LI");
42938
42994
  var R = b ? f(b) : S.create("BR");
42939
42995
  if (jg(g, _, !0) && jg(g, _, !1))
42940
- if (ZC(g, "LI")) {
42996
+ if (Z4(g, "LI")) {
42941
42997
  var j = yp(g);
42942
42998
  S.insertAfter(R, j), function(ie) {
42943
42999
  var me;
@@ -42946,7 +43002,7 @@ Required: ` + f.join(", "));
42946
43002
  } else
42947
43003
  S.replace(R, g);
42948
43004
  else if (jg(g, _, !0))
42949
- ZC(g, "LI") ? (S.insertAfter(R, yp(g)), R.appendChild(S.doc.createTextNode(" ")), R.appendChild(g)) : g.parentNode.insertBefore(R, g), S.remove(_);
43005
+ Z4(g, "LI") ? (S.insertAfter(R, yp(g)), R.appendChild(S.doc.createTextNode(" ")), R.appendChild(g)) : g.parentNode.insertBefore(R, g), S.remove(_);
42950
43006
  else if (jg(g, _, !1))
42951
43007
  S.insertAfter(R, yp(g)), S.remove(_);
42952
43008
  else {
@@ -43067,7 +43123,7 @@ Required: ` + f.join(", "));
43067
43123
  return bn;
43068
43124
  }(u, Y, je, _, b)), S = ie.getParent(_, ie.isBlock), R = S ? ie.getParent(S.parentNode, ie.isBlock) : null, j = S ? S.nodeName.toUpperCase() : "";
43069
43125
  var bt = R ? R.nodeName.toUpperCase() : "";
43070
- bt !== "LI" || qe || (S = R, R = R.parentNode, j = bt), /^(LI|DT|DD)$/.test(j) && ie.isEmpty(S) ? QC(u, ke, R, S, Y) : Y && S === u.getBody() || (Y = Y || "P", Du(S) ? (N = Ef(S), ie.isEmpty(S) && i_(S), ev(u, N), Q0(u, N)) : We() ? we() : We(!0) ? (N = S.parentNode.insertBefore(ke(), S), Q0(u, a_(S, "HR") ? N : S)) : (g = function(Tt) {
43126
+ bt !== "LI" || qe || (S = R, R = R.parentNode, j = bt), /^(LI|DT|DD)$/.test(j) && ie.isEmpty(S) ? Q4(u, ke, R, S, Y) : Y && S === u.getBody() || (Y = Y || "P", Du(S) ? (N = Ef(S), ie.isEmpty(S) && i_(S), ev(u, N), Q0(u, N)) : We() ? we() : We(!0) ? (N = S.parentNode.insertBefore(ke(), S), Q0(u, a_(S, "HR") ? N : S)) : (g = function(Tt) {
43071
43127
  var Zt = Tt.cloneRange();
43072
43128
  return Zt.setStart(Tt.startContainer, Fb(!0, Tt.startContainer, Tt.startOffset)), Zt.setEnd(Tt.endContainer, Fb(!1, Tt.endContainer, Tt.endOffset)), Zt;
43073
43129
  }(je).cloneRange(), g.setEndAfter(S), function(Tt) {
@@ -43203,7 +43259,7 @@ Required: ` + f.join(", "));
43203
43259
  };
43204
43260
  }, a3 = function(u, f) {
43205
43261
  (function(g, _) {
43206
- return wC([Ss([f8], Sl.none()), Ss([r3("summary", !0)], Sl.br()), Ss([tv(!0), l_(!1), nv], Sl.br()), Ss([tv(!0), l_(!1)], Sl.block()), Ss([tv(!0), l_(!0), nv], Sl.block()), Ss([tv(!0), l_(!0)], Sl.br()), Ss([Fa(!0), nv], Sl.br()), Ss([Fa(!0)], Sl.block()), Ss([Hb(!0), nv, i3], Sl.block()), Ss([Hb(!0)], Sl.br()), Ss([p8], Sl.br()), Ss([Hb(!1), nv], Sl.br()), Ss([i3], Sl.block())], [g, !(!_ || !_.shiftKey)]).getOr(Sl.none());
43262
+ return w4([Ss([f8], Sl.none()), Ss([r3("summary", !0)], Sl.br()), Ss([tv(!0), l_(!1), nv], Sl.br()), Ss([tv(!0), l_(!1)], Sl.block()), Ss([tv(!0), l_(!0), nv], Sl.block()), Ss([tv(!0), l_(!0)], Sl.br()), Ss([Fa(!0), nv], Sl.br()), Ss([Fa(!0)], Sl.block()), Ss([Hb(!0), nv, i3], Sl.block()), Ss([Hb(!0)], Sl.br()), Ss([p8], Sl.br()), Ss([Hb(!1), nv], Sl.br()), Ss([i3], Sl.block())], [g, !(!_ || !_.shiftKey)]).getOr(Sl.none());
43207
43263
  })(u, f).fold(function() {
43208
43264
  o3(u, f);
43209
43265
  }, function() {
@@ -43221,7 +43277,7 @@ Required: ` + f.join(", "));
43221
43277
  }, Wb = function(u, f) {
43222
43278
  u.on("keydown", function(g) {
43223
43279
  g.isDefaultPrevented() === !1 && function(_, b, S) {
43224
- Hg([{ keyCode: vo.END, action: dr(Ob, _, !0) }, { keyCode: vo.HOME, action: dr(Ob, _, !1) }, { keyCode: vo.END, action: dr(qC, _, !0) }, { keyCode: vo.HOME, action: dr(qC, _, !1) }, { keyCode: vo.END, action: dr(Ug, _, !0, b) }, { keyCode: vo.HOME, action: dr(Ug, _, !1, b) }], S).each(function(N) {
43280
+ Hg([{ keyCode: vo.END, action: dr(Ob, _, !0) }, { keyCode: vo.HOME, action: dr(Ob, _, !1) }, { keyCode: vo.END, action: dr(q4, _, !0) }, { keyCode: vo.HOME, action: dr(q4, _, !1) }, { keyCode: vo.END, action: dr(Ug, _, !0, b) }, { keyCode: vo.HOME, action: dr(Ug, _, !1, b) }], S).each(function(N) {
43225
43281
  S.preventDefault();
43226
43282
  });
43227
43283
  }(u, f, g);
@@ -43581,7 +43637,7 @@ Required: ` + f.join(", "));
43581
43637
  return Qn.ceFalse && !up(u) && function() {
43582
43638
  u.on("mouseup", function(bt) {
43583
43639
  var Tt = ne();
43584
- Tt.collapsed && A0(u, bt.clientX, bt.clientY) && gC(u, Tt, !1).each(Y);
43640
+ Tt.collapsed && A0(u, bt.clientX, bt.clientY) && h4(u, Tt, !1).each(Y);
43585
43641
  }), u.on("click", function(bt) {
43586
43642
  var Tt = c_(u, bt.target);
43587
43643
  Tt && (ah(Tt) && (bt.preventDefault(), u.focus()), g3(Tt) && _.isChildOf(Tt, g.getNode()) && we());
@@ -43934,7 +43990,7 @@ Required: ` + f.join(", "));
43934
43990
  var g = u.settings, _ = u.getElement(), b = u.getDoc();
43935
43991
  g.inline || (u.getElement().style.visibility = u.orgVisibility), f || u.inline || (b.open(), b.write(u.iframeHTML), b.close()), u.inline && (d_.addClass(_, "mce-content-body"), u.contentDocument = b = document, u.contentWindow = window, u.bodyElement = _, u.contentAreaContainer = _);
43936
43992
  var S = u.getBody();
43937
- S.disabled = !0, u.readonly = !!g.readonly, u.readonly || (u.inline && d_.getStyle(S, "position", !0) === "static" && (S.style.position = "relative"), S.contentEditable = u.getParam("content_editable_state", !0)), S.disabled = !1, u.editorUpload = Q4(u), u.schema = Si(g), u.dom = Br(b, { keep_values: !0, url_converter: u.convertURL, url_converter_scope: u, hex_colors: g.force_hex_style_colors, update_styles: !0, root_element: u.inline ? u.getBody() : null, collect: function() {
43993
+ S.disabled = !0, u.readonly = !!g.readonly, u.readonly || (u.inline && d_.getStyle(S, "position", !0) === "static" && (S.style.position = "relative"), S.contentEditable = u.getParam("content_editable_state", !0)), S.disabled = !1, u.editorUpload = ZC(u), u.schema = Si(g), u.dom = Br(b, { keep_values: !0, url_converter: u.convertURL, url_converter_scope: u, hex_colors: g.force_hex_style_colors, update_styles: !0, root_element: u.inline ? u.getBody() : null, collect: function() {
43938
43994
  return u.inline;
43939
43995
  }, schema: u.schema, contentCssCors: Qp(u), referrerPolicy: Wh(u), onSetAttrib: function(P) {
43940
43996
  u.fire("SetAttrib", P);
@@ -43963,14 +44019,14 @@ Required: ` + f.join(", "));
43963
44019
  ie.isEmpty(ne) && ie.getAll("br").length === 0 && (ie.append(new ti("br", 1)).shortEnded = !0);
43964
44020
  }
43965
44021
  }), R;
43966
- }(u), u.serializer = B4(function(P) {
44022
+ }(u), u.serializer = PC(function(P) {
43967
44023
  var R = P.settings;
43968
44024
  return ht(ht({}, v3(P)), Jb({ url_converter: R.url_converter, url_converter_scope: R.url_converter_scope, element_format: R.element_format, entities: R.entities, entity_encoding: R.entity_encoding, indent: R.indent, indent_after: R.indent_after, indent_before: R.indent_before, block_elements: R.block_elements, boolean_attributes: R.boolean_attributes, custom_elements: R.custom_elements, extended_valid_elements: R.extended_valid_elements, invalid_elements: R.invalid_elements, invalid_styles: R.invalid_styles, move_caret_before_on_enter_elements: R.move_caret_before_on_enter_elements, non_empty_elements: R.non_empty_elements, schema: R.schema, self_closing_elements: R.self_closing_elements, short_ended_elements: R.short_ended_elements, special: R.special, text_block_elements: R.text_block_elements, text_inline_elements: R.text_inline_elements, valid_children: R.valid_children, valid_classes: R.valid_classes, valid_elements: R.valid_elements, valid_styles: R.valid_styles, verify_html: R.verify_html, whitespace_elements: R.whitespace_elements }));
43969
- }(u), u), u.selection = O4(u.dom, u.getWin(), u.serializer, u), u.annotator = o0(u), u.formatter = nC(u), u.undoManager = oC(u), u._nodeChangeDispatcher = new v8(u), u._selectionOverrides = C8(u), FC(u), f3(u), up(u) || _8(u);
44025
+ }(u), u), u.selection = AC(u.dom, u.getWin(), u.serializer, u), u.annotator = o0(u), u.formatter = t4(u), u.undoManager = n4(u), u._nodeChangeDispatcher = new v8(u), u._selectionOverrides = C8(u), F4(u), f3(u), up(u) || _8(u);
43970
44026
  var N = function(P) {
43971
44027
  return up(P) ? ei(null) : ih(P);
43972
44028
  }(u);
43973
- VC(u, N), function(P) {
44029
+ V4(u, N), function(P) {
43974
44030
  ka(P) && P.on("NodeChange", oe(Tb, P));
43975
44031
  }(u), H6(u), function(P) {
43976
44032
  P.fire("PreInit");
@@ -44081,7 +44137,7 @@ Required: ` + f.join(", "));
44081
44137
  _.ui = ht(ht({}, _.ui), S);
44082
44138
  })(u, ae.from(f.api).getOr({}));
44083
44139
  var g = { editorContainer: f.editorContainer, iframeContainer: f.iframeContainer };
44084
- return u.editorContainer = g.editorContainer ? g.editorContainer : null, J4(u), u.inline ? Qb(u) : function(_, b) {
44140
+ return u.editorContainer = g.editorContainer ? g.editorContainer : null, XC(u), u.inline ? Qb(u) : function(_, b) {
44085
44141
  var S = N8(_, b);
44086
44142
  b.editorContainer && (rv.get(b.editorContainer).style.display = _.orgDisplay, _.hidden = rv.isHidden(b.editorContainer)), _.getElement().style.display = "none", rv.setAttrib(_.id, "aria-hidden", "true"), S || Qb(_);
44087
44143
  }(u, g);
@@ -45000,7 +45056,7 @@ Required: ` + f.join(", "));
45000
45056
  }, u.prototype.setContent = function(f, g) {
45001
45057
  return A2(this, f, g);
45002
45058
  }, u.prototype.getContent = function(f) {
45003
- return R4(this, f);
45059
+ return BC(this, f);
45004
45060
  }, u.prototype.insertContent = function(f, g) {
45005
45061
  g && (f = pw({ content: f }, g)), this.execCommand("mceInsertContent", !1, f);
45006
45062
  }, u.prototype.resetContent = function(f) {
@@ -45032,9 +45088,9 @@ Required: ` + f.join(", "));
45032
45088
  }, u.prototype.addVisual = function(f) {
45033
45089
  O8(this, f);
45034
45090
  }, u.prototype.remove = function() {
45035
- M4(this);
45091
+ RC(this);
45036
45092
  }, u.prototype.destroy = function(f) {
45037
- $4(this, f);
45093
+ MC(this, f);
45038
45094
  }, u.prototype.uploadImages = function(f) {
45039
45095
  return this.editorUpload.uploadImages(f);
45040
45096
  }, u.prototype._scanForImages = function() {
@@ -45429,7 +45485,7 @@ Required: ` + f.join(", "));
45429
45485
  return { upload: function(_, b) {
45430
45486
  return b === void 0 && (b = !0), g.upload(_, b ? P0(u) : void 0);
45431
45487
  } };
45432
- } }, dom: { EventUtils: kf, Sizzle: kr, DomQuery: To, TreeWalker: Ai, TextSeeker: Ji, DOMUtils: Br, ScriptLoader: cl, RangeUtils: Bc, Serializer: B4, StyleSheetLoader: _h, ControlSelection: Pc, BookmarkManager: Yf, Selection: O4, Event: kf.Event }, html: { Styles: iu, Entities: Ol, Node: ti, Schema: Si, SaxParser: Gd, DomParser: cp, Writer: Z_, Serializer: fg }, Env: Qn, AddOnManager: Ea, Annotator: o0, Formatter: nC, UndoManager: oC, EditorCommands: T3, WindowManager: Ky, NotificationManager: Mg, EditorObservable: O3, Shortcuts: lh, Editor: __, FocusManager: A, EditorManager: xp, DOM: Br.DOM, ScriptLoader: cl.ScriptLoader, PluginManager: zr, ThemeManager: dp, IconManager: Bg, Resource: ta, trim: un.trim, isArray: un.isArray, is: un.is, toArray: un.toArray, makeMap: un.makeMap, each: un.each, map: un.map, grep: un.grep, inArray: un.inArray, extend: un.extend, create: un.create, walk: un.walk, createNS: un.createNS, resolve: un.resolve, explode: un.explode, _addCacheSuffix: un._addCacheSuffix, isOpera: Qn.opera, isWebKit: Qn.webkit, isIE: Qn.ie, isGecko: Qn.gecko, isMac: Qn.mac }, z3 = un.extend(xp, W8);
45488
+ } }, dom: { EventUtils: kf, Sizzle: kr, DomQuery: To, TreeWalker: Ai, TextSeeker: Ji, DOMUtils: Br, ScriptLoader: cl, RangeUtils: Bc, Serializer: PC, StyleSheetLoader: _h, ControlSelection: Pc, BookmarkManager: Yf, Selection: AC, Event: kf.Event }, html: { Styles: iu, Entities: Ol, Node: ti, Schema: Si, SaxParser: Gd, DomParser: cp, Writer: Z_, Serializer: fg }, Env: Qn, AddOnManager: Ea, Annotator: o0, Formatter: t4, UndoManager: n4, EditorCommands: T3, WindowManager: Ky, NotificationManager: Mg, EditorObservable: O3, Shortcuts: lh, Editor: __, FocusManager: A, EditorManager: xp, DOM: Br.DOM, ScriptLoader: cl.ScriptLoader, PluginManager: zr, ThemeManager: dp, IconManager: Bg, Resource: ta, trim: un.trim, isArray: un.isArray, is: un.is, toArray: un.toArray, makeMap: un.makeMap, each: un.each, map: un.map, grep: un.grep, inArray: un.inArray, extend: un.extend, create: un.create, walk: un.walk, createNS: un.createNS, resolve: un.resolve, explode: un.explode, _addCacheSuffix: un._addCacheSuffix, isOpera: Qn.opera, isWebKit: Qn.webkit, isIE: Qn.ie, isGecko: Qn.gecko, isMac: Qn.mac }, z3 = un.extend(xp, W8);
45433
45489
  (function(u) {
45434
45490
  window.tinymce = u, window.tinyMCE = u;
45435
45491
  })(z3), function(u) {
@@ -49736,9 +49792,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
49736
49792
  });
49737
49793
  }, bg = function(c) {
49738
49794
  return bs(c, "[data-mce-autocompleter]");
49739
- }, e4 = function(c) {
49795
+ }, eC = function(c) {
49740
49796
  return c.toString().replace(/\u00A0/g, " ").replace(/\uFEFF/g, "");
49741
- }, t4 = function(c) {
49797
+ }, tC = function(c) {
49742
49798
  return c !== "" && `  \f
49743
49799
  \r \v`.indexOf(c) !== -1;
49744
49800
  }, hy = function(c, m) {
@@ -49754,7 +49810,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49754
49810
  var te;
49755
49811
  for (te = z - 1; te >= 0; te--) {
49756
49812
  var ve = H.charAt(te);
49757
- if (t4(ve))
49813
+ if (tC(ve))
49758
49814
  return $.none();
49759
49815
  if (ve === Q)
49760
49816
  break;
@@ -49765,7 +49821,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49765
49821
  var B = m.cloneRange();
49766
49822
  if (B.setStart(I.container, I.offset), B.setEnd(m.endContainer, m.endOffset), B.collapsed)
49767
49823
  return $.none();
49768
- var F = e4(B);
49824
+ var F = eC(B);
49769
49825
  return F.lastIndexOf(y) !== 0 || hy(F, y).length < C ? $.none() : $.some({ text: hy(F, y), range: B, triggerChar: y });
49770
49826
  });
49771
49827
  }, v0 = function(c, m, y, C) {
@@ -49774,10 +49830,10 @@ Components: ` + JSON.stringify(m.components, null, 2));
49774
49830
  }, function(T) {
49775
49831
  var I = c.createRng();
49776
49832
  I.selectNode(T.dom);
49777
- var B = e4(I);
49833
+ var B = eC(I);
49778
49834
  return $.some({ range: I, text: hy(B, y), triggerChar: y });
49779
49835
  });
49780
- }, n4 = function(c, m) {
49836
+ }, nC = function(c, m) {
49781
49837
  m.on("keypress compositionend", c.onKeypress.throttle), m.on("remove", c.onKeypress.cancel);
49782
49838
  var y = function(C, T) {
49783
49839
  ho(C, ac(), { raw: T });
@@ -49805,20 +49861,20 @@ Components: ` + JSON.stringify(m.components, null, 2));
49805
49861
  return gy(c, c.data.length);
49806
49862
  var m = c.childNodes;
49807
49863
  return m.length > 0 ? u2(m[m.length - 1]) : gy(c, m.length);
49808
- }, o4 = function(c, m) {
49864
+ }, oC = function(c, m) {
49809
49865
  var y = c.childNodes;
49810
- return y.length > 0 && m < y.length ? o4(y[m], 0) : y.length > 0 && function(C) {
49866
+ return y.length > 0 && m < y.length ? oC(y[m], 0) : y.length > 0 && function(C) {
49811
49867
  return C.nodeType === 1;
49812
49868
  }(c) && y.length === m ? u2(y[y.length - 1]) : gy(c, m);
49813
49869
  }, y6 = function(c) {
49814
49870
  return function(m) {
49815
- var y = o4(m.startContainer, m.startOffset);
49871
+ var y = oC(m.startContainer, m.startOffset);
49816
49872
  return !function(C, T) {
49817
49873
  return g0(C, T.container, T.offset, function(I, B) {
49818
49874
  return B === 0 ? -1 : B;
49819
49875
  }, C.getRoot()).filter(function(I) {
49820
49876
  var B = I.container.data.charAt(I.offset - 1);
49821
- return !t4(B);
49877
+ return !tC(B);
49822
49878
  }).isSome();
49823
49879
  }(c, y);
49824
49880
  };
@@ -49829,9 +49885,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
49829
49885
  return v0(T, I, F);
49830
49886
  });
49831
49887
  }(c.dom, C, y).bind(function(T) {
49832
- return r4(c, m, T);
49888
+ return rC(c, m, T);
49833
49889
  });
49834
- }, r4 = function(c, m, y, C) {
49890
+ }, rC = function(c, m, y, C) {
49835
49891
  C === void 0 && (C = {});
49836
49892
  var T = m(), I = c.selection.getRng().startContainer.nodeValue, B = Te(T.lookupByChar(y.triggerChar), function(H) {
49837
49893
  return y.text.length >= H.minChars && H.matches.getOrThunk(function() {
@@ -49848,13 +49904,13 @@ Components: ` + JSON.stringify(m.components, null, 2));
49848
49904
  return $.some({ lookupData: F, context: y });
49849
49905
  }, c2 = Bt([ro("type"), Wo("text")]), _y = Bt([Vt("type", "autocompleteitem"), Vt("active", !1), Vt("disabled", !1), Vt("meta", {}), ro("value"), Wo("text"), Wo("icon")]), b6 = Bt([ro("type"), ro("ch"), Su("minChars", 1), Vt("columns", 1), Su("maxResults", 10), Oa("matches"), Hr("fetch"), Hr("onAction"), oc("highlightOn", [], Fo)]), y0 = [Xr("disabled", !1), Wo("tooltip"), Wo("icon"), Wo("text"), Ar("onSetup", function() {
49850
49906
  return x;
49851
- })], i4 = Bt([ro("type"), Hr("onAction")].concat(y0)), d2 = function(c) {
49852
- return gr("toolbarbutton", i4, c);
49853
- }, b0 = [Xr("active", !1)].concat(y0), a4 = Bt(b0.concat([ro("type"), Hr("onAction")])), f2 = function(c) {
49854
- return gr("ToggleButton", a4, c);
49855
- }, yy = [Ar("predicate", W), ga("scope", "node", ["node", "editor"]), ga("position", "selection", ["node", "selection", "line"])], s4 = y0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), $c = b0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), by = y0.concat([Vt("type", "contextformbutton")]), w6 = b0.concat([Vt("type", "contextformtogglebutton")]), C6 = Ft("type", { contextformbutton: s4, contextformtogglebutton: $c }), wg = Bt([Vt("type", "contextform"), Ar("initValue", function() {
49907
+ })], iC = Bt([ro("type"), Hr("onAction")].concat(y0)), d2 = function(c) {
49908
+ return gr("toolbarbutton", iC, c);
49909
+ }, b0 = [Xr("active", !1)].concat(y0), aC = Bt(b0.concat([ro("type"), Hr("onAction")])), f2 = function(c) {
49910
+ return gr("ToggleButton", aC, c);
49911
+ }, yy = [Ar("predicate", W), ga("scope", "node", ["node", "editor"]), ga("position", "selection", ["node", "selection", "line"])], sC = y0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), $c = b0.concat([Vt("type", "contextformbutton"), Vt("primary", !1), Hr("onAction"), pi("original", M)]), by = y0.concat([Vt("type", "contextformbutton")]), w6 = b0.concat([Vt("type", "contextformtogglebutton")]), C6 = Ft("type", { contextformbutton: sC, contextformtogglebutton: $c }), wg = Bt([Vt("type", "contextform"), Ar("initValue", function() {
49856
49912
  return "";
49857
- }), Wo("label"), ii("commands", C6), ds("launch", Ft("type", { contextformbutton: by, contextformtogglebutton: w6 }))].concat(yy)), l4 = Bt([Vt("type", "contexttoolbar"), ro("items")].concat(yy)), u4 = function(c) {
49913
+ }), Wo("label"), ii("commands", C6), ds("launch", Ft("type", { contextformbutton: by, contextformtogglebutton: w6 }))].concat(yy)), lC = Bt([Vt("type", "contexttoolbar"), ro("items")].concat(yy)), uC = function(c) {
49858
49914
  var m = c.ui.registry.getAll().popups, y = Ye(m, function(I) {
49859
49915
  return (B = I, gr("Autocompleter", b6, B)).fold(function(F) {
49860
49916
  throw new Error(un(F));
@@ -49879,8 +49935,8 @@ Components: ` + JSON.stringify(m.components, null, 2));
49879
49935
  (function(c) {
49880
49936
  c[c.CLOSE_ON_EXECUTE = 0] = "CLOSE_ON_EXECUTE", c[c.BUBBLE_TO_SANDBOX = 1] = "BUBBLE_TO_SANDBOX";
49881
49937
  })(py || (py = {}));
49882
- var Ws, Ul = py, w0 = "tox-menu-nav__js", C0 = "tox-collection__item", p2 = "tox-swatch", c4 = { normal: w0, color: p2 }, d4 = "tox-collection__item--enabled", wy = "tox-collection__item-label", f4 = "tox-collection__item-caret", lp = "tox-collection__item--active", Cy = "tox-collection__item-container", Ey = "tox-collection__item-container--row", m2 = function(c) {
49883
- return wt(c4, c).getOr(w0);
49938
+ var Ws, Ul = py, w0 = "tox-menu-nav__js", C0 = "tox-collection__item", p2 = "tox-swatch", cC = { normal: w0, color: p2 }, dC = "tox-collection__item--enabled", wy = "tox-collection__item-label", fC = "tox-collection__item-caret", lp = "tox-collection__item--active", Cy = "tox-collection__item-container", Ey = "tox-collection__item-container--row", m2 = function(c) {
49939
+ return wt(cC, c).getOr(w0);
49884
49940
  }, Sy = function(c) {
49885
49941
  return c === "color" ? "tox-swatches" : "tox-menu";
49886
49942
  }, h2 = function(c) {
@@ -49888,7 +49944,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49888
49944
  }, zm = function(c) {
49889
49945
  var m = h2(c);
49890
49946
  return { backgroundMenu: m.backgroundMenu, selectedMenu: m.selectedMenu, menu: m.menu, selectedItem: m.selectedItem, item: m2(c) };
49891
- }, p4 = function(c, m, y) {
49947
+ }, pC = function(c, m, y) {
49892
49948
  var C = h2(y);
49893
49949
  return { tag: "div", classes: Ue([[C.menu, "tox-menu-" + m + "-column"], c ? [C.hasIcons] : []]) };
49894
49950
  }, xy = [Kd.parts.items({})], E0 = function(c, m, y) {
@@ -49920,7 +49976,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49920
49976
  });
49921
49977
  }, Cl = function(c) {
49922
49978
  return console.error(un(c)), $.none();
49923
- }, m4 = function(c, m, y, C, T) {
49979
+ }, mC = function(c, m, y, C, T) {
49924
49980
  var I, B = (I = y, { dom: { tag: "div", classes: ["tox-collection", "tox-collection--horizontal"] }, components: [Kd.parts.items({ preprocess: function(F) {
49925
49981
  return Cg(F, function(H, z) {
49926
49982
  return I[z].type === "separator";
@@ -49936,16 +49992,16 @@ Components: ` + JSON.stringify(m.components, null, 2));
49936
49992
  }
49937
49993
  return T === "normal" && C === "auto" ? { value: c, dom: (I = ky(C, y)).dom, components: I.components, items: y } : T === "normal" && C === 1 ? { value: c, dom: (I = ky(1, y)).dom, components: I.components, items: y } : T === "normal" ? { value: c, dom: (I = ky(C, y)).dom, components: I.components, items: y } : T === "listpreview" && C !== "auto" ? (I = function(B) {
49938
49994
  return { dom: { tag: "div", classes: ["tox-menu", "tox-collection", "tox-collection--toolbar", "tox-collection--toolbar-lg"] }, components: [Kd.parts.items({ preprocess: g2({ tag: "div", classes: ["tox-collection__group"] }, B) })] };
49939
- }(C), { value: c, dom: I.dom, components: I.components, items: y }) : { value: c, dom: p4(m, C, T), components: xy, items: y };
49940
- }, h4 = [ro("type"), ro("src"), Wo("alt"), oc("classes", [], Fo)], Ty = Bt(h4), g4 = [ro("type"), ro("text"), Wo("name"), oc("classes", ["tox-collection__item-label"], Fo)], _2 = Bt(g4), Ny = mf(function() {
49995
+ }(C), { value: c, dom: I.dom, components: I.components, items: y }) : { value: c, dom: pC(m, C, T), components: xy, items: y };
49996
+ }, hC = [ro("type"), ro("src"), Wo("alt"), oc("classes", [], Fo)], Ty = Bt(hC), gC = [ro("type"), ro("text"), Wo("name"), oc("classes", ["tox-collection__item-label"], Fo)], _2 = Bt(gC), Ny = mf(function() {
49941
49997
  return Is("type", { cardimage: Ty, cardtext: _2, cardcontainer: Hm });
49942
49998
  }), Hm = Bt([ro("type"), As("direction", "horizontal"), As("align", "left"), As("valign", "middle"), ii("items", Ny)]), Sg = [Xr("disabled", !1), Wo("text"), Wo("shortcut"), mo("value", "value", gn(function() {
49943
49999
  return uo("menuitem-value");
49944
- }), ra()), Vt("meta", {})], _4 = Bt([ro("type"), Wo("label"), ii("items", Ny), Ar("onSetup", function() {
50000
+ }), ra()), Vt("meta", {})], vC = Bt([ro("type"), Wo("label"), ii("items", Ny), Ar("onSetup", function() {
49945
50001
  return x;
49946
- }), Ar("onAction", x)].concat(Sg)), y4 = Bt([ro("type"), Xr("active", !1), Wo("icon")].concat(Sg)), E6 = Bt([ro("type"), Ys("fancytype", ["inserttable", "colorswatch"]), Ar("onAction", x)]), Xu = Bt([ro("type"), Ar("onSetup", function() {
50002
+ }), Ar("onAction", x)].concat(Sg)), _C = Bt([ro("type"), Xr("active", !1), Wo("icon")].concat(Sg)), E6 = Bt([ro("type"), Ys("fancytype", ["inserttable", "colorswatch"]), Ar("onAction", x)]), Xu = Bt([ro("type"), Ar("onSetup", function() {
49947
50003
  return x;
49948
- }), Ar("onAction", x), Wo("icon")].concat(Sg)), b4 = Bt([ro("type"), Hr("getSubmenuItems"), Ar("onSetup", function() {
50004
+ }), Ar("onAction", x), Wo("icon")].concat(Sg)), yC = Bt([ro("type"), Hr("getSubmenuItems"), Ar("onSetup", function() {
49949
50005
  return x;
49950
50006
  }), Wo("icon")].concat(Sg)), Iy = Bt([ro("type"), Wo("icon"), Xr("active", !1), Ar("onSetup", function() {
49951
50007
  return x;
@@ -49963,9 +50019,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
49963
50019
  return zn([Xo(c, m)]);
49964
50020
  }, y2 = function(c) {
49965
50021
  return S6(uo("unnamed-events"), c);
49966
- }, b2 = uo("tooltip.exclusive"), jm = uo("tooltip.show"), xg = uo("tooltip.hide"), w4 = function(c, m, y) {
50022
+ }, b2 = uo("tooltip.exclusive"), jm = uo("tooltip.show"), xg = uo("tooltip.hide"), bC = function(c, m, y) {
49967
50023
  c.getSystem().broadcastOn([b2], {});
49968
- }, C4 = Object.freeze({ __proto__: null, hideAllExclusive: w4, setComponents: function(c, m, y, C) {
50024
+ }, wC = Object.freeze({ __proto__: null, hideAllExclusive: bC, setComponents: function(c, m, y, C) {
49969
50025
  y.getTooltip().each(function(T) {
49970
50026
  T.getSystem().isConnected() && Do.set(T, C);
49971
50027
  });
@@ -49979,7 +50035,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
49979
50035
  m.resetTimer(function() {
49980
50036
  (function(T) {
49981
50037
  if (!m.isShowing()) {
49982
- w4(T);
50038
+ bC(T);
49983
50039
  var I = c.lazySink(T).getOrDie(), B = T.getSystem().build({ dom: c.tooltipDom, components: c.tooltipComponents, events: Ir(c.mode === "normal" ? [xn(Tu(), function(F) {
49984
50040
  ko(T, jm);
49985
50041
  }), xn(u1(), function(F) {
@@ -50011,9 +50067,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50011
50067
  }), xn(Bs(), function(C) {
50012
50068
  ko(C, xg);
50013
50069
  })]]));
50014
- } }), E4 = [mn("lazySink"), mn("tooltipDom"), Vt("exclusive", !0), Vt("tooltipComponents", []), Vt("delay", 300), ga("mode", "normal", ["normal", "follow-highlight"]), Vt("anchor", function(c) {
50070
+ } }), CC = [mn("lazySink"), mn("tooltipDom"), Vt("exclusive", !0), Vt("tooltipComponents", []), Vt("delay", 300), ga("mode", "normal", ["normal", "follow-highlight"]), Vt("anchor", function(c) {
50015
50071
  return { anchor: "hotspot", hotspot: c, layouts: { onLtr: O([Ji, $a, ki, di, Xi, fa]), onRtl: O([Ji, $a, ki, di, Xi, fa]) } };
50016
- }), Zo("onHide"), Zo("onShow")], S4 = Object.freeze({ __proto__: null, init: function() {
50072
+ }), Zo("onHide"), Zo("onShow")], EC = Object.freeze({ __proto__: null, init: function() {
50017
50073
  var c = Rn($.none()), m = Rn($.none()), y = function() {
50018
50074
  c.get().each(function(T) {
50019
50075
  clearTimeout(T);
@@ -50032,11 +50088,11 @@ Components: ` + JSON.stringify(m.components, null, 2));
50032
50088
  T();
50033
50089
  }, I)));
50034
50090
  }, readState: C });
50035
- } }), Oy = qr({ fields: E4, name: "tooltipping", active: x6, state: S4, apis: C4 }), S0 = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), zl = tinymce.util.Tools.resolve("tinymce.util.I18n"), k6 = ["input", "button", "textarea", "select"], x4 = function(c, m, y) {
50091
+ } }), Oy = qr({ fields: CC, name: "tooltipping", active: x6, state: EC, apis: wC }), S0 = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), zl = tinymce.util.Tools.resolve("tinymce.util.I18n"), k6 = ["input", "button", "textarea", "select"], SC = function(c, m, y) {
50036
50092
  (m.disabled() ? kg : w2)(c, m);
50037
50093
  }, Dy = function(c, m) {
50038
50094
  return m.useNative === !0 && de(k6, Ms(c.element));
50039
- }, k4 = function(c) {
50095
+ }, xC = function(c) {
50040
50096
  cr(c.element, "disabled", "disabled");
50041
50097
  }, T6 = function(c) {
50042
50098
  gs(c.element, "disabled");
@@ -50047,26 +50103,26 @@ Components: ` + JSON.stringify(m.components, null, 2));
50047
50103
  }, kg = function(c, m, y) {
50048
50104
  m.disableClass.each(function(C) {
50049
50105
  Di(c.element, C);
50050
- }), (Dy(c, m) ? k4 : N6)(c), m.onDisabled(c);
50106
+ }), (Dy(c, m) ? xC : N6)(c), m.onDisabled(c);
50051
50107
  }, w2 = function(c, m, y) {
50052
50108
  m.disableClass.each(function(C) {
50053
50109
  Zr(c.element, C);
50054
50110
  }), (Dy(c, m) ? T6 : I6)(c), m.onEnabled(c);
50055
- }, T4 = function(c, m) {
50111
+ }, kC = function(c, m) {
50056
50112
  return Dy(c, m) ? function(y) {
50057
50113
  return Ch(y.element, "disabled");
50058
50114
  }(c) : function(y) {
50059
50115
  return Yi(y.element, "aria-disabled") === "true";
50060
50116
  }(c);
50061
- }, N4 = Object.freeze({ __proto__: null, enable: w2, disable: kg, isDisabled: T4, onLoad: x4, set: function(c, m, y, C) {
50117
+ }, TC = Object.freeze({ __proto__: null, enable: w2, disable: kg, isDisabled: kC, onLoad: SC, set: function(c, m, y, C) {
50062
50118
  (C ? kg : w2)(c, m);
50063
50119
  } }), A6 = Object.freeze({ __proto__: null, exhibit: function(c, m) {
50064
50120
  return ol({ classes: m.disabled() ? m.disableClass.toArray() : [] });
50065
50121
  }, events: function(c, m) {
50066
50122
  return Ir([Ai(ya(), function(y, C) {
50067
- return T4(y, c);
50068
- }), _d(c, m, x4)]);
50069
- } }), O6 = [Ar("disabled", W), Vt("useNative", !0), jo("disableClass"), Zo("onDisabled"), Zo("onEnabled")], _o = qr({ fields: O6, name: "disabling", active: A6, apis: N4 }), Py = tinymce.util.Tools.resolve("tinymce.EditorManager"), C2 = function(c) {
50123
+ return kC(y, c);
50124
+ }), _d(c, m, SC)]);
50125
+ } }), O6 = [Ar("disabled", W), Vt("useNative", !0), jo("disableClass"), Zo("onDisabled"), Zo("onEnabled")], _o = qr({ fields: O6, name: "disabling", active: A6, apis: TC }), Py = tinymce.util.Tools.resolve("tinymce.EditorManager"), C2 = function(c) {
50070
50126
  return c.getParam("height", Math.max(c.getElement().offsetHeight, 200));
50071
50127
  }, E2 = function(c) {
50072
50128
  return c.getParam("width", S0.DOM.getStyle(c.getElement(), "width"));
@@ -50104,9 +50160,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50104
50160
  (function(c) {
50105
50161
  c.auto = "auto", c.top = "top", c.bottom = "bottom";
50106
50162
  })(Jd || (Jd = {}));
50107
- var I4, Ry, My = function(c) {
50163
+ var NC, Ry, My = function(c) {
50108
50164
  return c.getParam("toolbar_location", Jd.auto, "string");
50109
- }, A4 = function(c) {
50165
+ }, IC = function(c) {
50110
50166
  return My(c) === Jd.bottom;
50111
50167
  }, $y = function(c) {
50112
50168
  if (!c.inline)
@@ -50130,7 +50186,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50130
50186
  return c.inline && !S2(c) && !x2(c) && !k2(c);
50131
50187
  }, I0 = function(c) {
50132
50188
  return (c.getParam("toolbar_sticky", !1, "boolean") || c.inline) && !N0(c) && !Vy(c);
50133
- }, O4 = function(c) {
50189
+ }, AC = function(c) {
50134
50190
  var m = c.getParam("menu");
50135
50191
  return m ? Ye(m, function(y) {
50136
50192
  return J(J({}, y), { items: y.items });
@@ -50141,7 +50197,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50141
50197
  return c.getParam("anchor_top", "#top");
50142
50198
  }, Fy = function(c) {
50143
50199
  return c.getParam("anchor_bottom", "#bottom");
50144
- }, T2 = "silver.readonly", D4 = Bt([(I4 = "readonly", wr(I4, Xc))]), Ng = function(c, m) {
50200
+ }, T2 = "silver.readonly", OC = Bt([(NC = "readonly", wr(NC, Xc))]), Ng = function(c, m) {
50145
50201
  var y = c.outerContainer.element;
50146
50202
  m && (c.mothership.broadcastOn([Wu()], { target: y }), c.uiMothership.broadcastOn([Wu()], { target: y })), c.mothership.broadcastOn([T2], { readonly: m }), c.uiMothership.broadcastOn([T2], { readonly: m });
50147
50203
  }, N2 = function(c, m) {
@@ -50154,7 +50210,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50154
50210
  }(c) && c.setMode("readonly");
50155
50211
  }, Mi = function() {
50156
50212
  var c;
50157
- return os.config({ channels: (c = {}, c[T2] = { schema: D4, onReceive: function(m, y) {
50213
+ return os.config({ channels: (c = {}, c[T2] = { schema: OC, onReceive: function(m, y) {
50158
50214
  _o.set(m, y.readonly);
50159
50215
  } }, c) });
50160
50216
  }, B6 = function(c) {
@@ -50181,7 +50237,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50181
50237
  return Qs(function(y) {
50182
50238
  return I2(c, y)(m.get());
50183
50239
  });
50184
- }, P4 = function(c, m) {
50240
+ }, DC = function(c, m) {
50185
50241
  return li(function(y, C) {
50186
50242
  I2(c, y)(c.onAction), c.triggersSubmenu || m !== Ul.CLOSE_ON_EXECUTE || (y.getSystem().isConnected() && ko(y, hf()), C.stop());
50187
50243
  });
@@ -50191,7 +50247,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50191
50247
  });
50192
50248
  }, Og = function(c, m, y, C) {
50193
50249
  var T = Rn(x);
50194
- return { type: "item", dom: m.dom, components: cp(m.optComponents), data: c.data, eventOrder: R6, hasSubmenu: c.triggersSubmenu, itemBehaviours: zn([Xo("item-events", [P4(c, y), Ig(c, T), Ag(c, T)]), B6(function() {
50250
+ return { type: "item", dom: m.dom, components: cp(m.optComponents), data: c.data, eventOrder: R6, hasSubmenu: c.triggersSubmenu, itemBehaviours: zn([Xo("item-events", [DC(c, y), Ig(c, T), Ag(c, T)]), B6(function() {
50195
50251
  return c.disabled || C.isDisabled();
50196
50252
  }), Mi(), Do.config({})].concat(c.itemBehaviours)) };
50197
50253
  }, Dg = function(c) {
@@ -50202,9 +50258,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50202
50258
  return Ut(m, I) ? m[I] : T;
50203
50259
  });
50204
50260
  return Uy.mac ? C.join("") : C.join("+");
50205
- }, B4 = function(c) {
50261
+ }, PC = function(c) {
50206
50262
  return { dom: { tag: "div", classes: ["tox-collection__item-icon"], innerHtml: c } };
50207
- }, R4 = function(c) {
50263
+ }, BC = function(c) {
50208
50264
  return { dom: { tag: "div", classes: [wy] }, components: [qa(zl.translate(c))] };
50209
50265
  }, A2 = function(c, m) {
50210
50266
  return { dom: { tag: "div", classes: m, innerHtml: c } };
@@ -50212,17 +50268,17 @@ Components: ` + JSON.stringify(m.components, null, 2));
50212
50268
  return { dom: { tag: "div", classes: [wy] }, components: [{ dom: { tag: c.tag, styles: c.styles }, components: [qa(zl.translate(m))] }] };
50213
50269
  }, D2 = function(c) {
50214
50270
  return { dom: { tag: "div", classes: ["tox-collection__item-accessory"], innerHtml: M6(c) } };
50215
- }, M4 = function(c) {
50271
+ }, RC = function(c) {
50216
50272
  return { dom: { tag: "div", classes: ["tox-collection__item-checkmark"], innerHtml: Es("checkmark", c) } };
50217
- }, $4 = function(c, m) {
50273
+ }, MC = function(c, m) {
50218
50274
  var y = m.map(function(C) {
50219
50275
  return { attributes: { title: zl.translate(C) } };
50220
50276
  }).getOr({});
50221
50277
  return J({ tag: "div", classes: [w0, C0].concat(c ? ["tox-collection__item-icon-rtl"] : []) }, y);
50222
- }, $6 = ["list-num-default", "list-num-lower-alpha", "list-num-lower-greek", "list-num-lower-roman", "list-num-upper-alpha", "list-num-upper-roman"], V4 = ["list-bull-circle", "list-bull-default", "list-bull-square"], qm = function(c, m, y, C) {
50278
+ }, $6 = ["list-num-default", "list-num-lower-alpha", "list-num-lower-greek", "list-num-lower-roman", "list-num-upper-alpha", "list-num-upper-roman"], $C = ["list-bull-circle", "list-bull-default", "list-bull-square"], qm = function(c, m, y, C) {
50223
50279
  C === void 0 && (C = $.none());
50224
50280
  var T, I = zl.isRtl() && c.iconContent.exists(function(H) {
50225
- return de(V4, H);
50281
+ return de($C, H);
50226
50282
  }), B = (T = c.iconContent, T.map(function(H) {
50227
50283
  return zl.isRtl() && de($6, H) ? H + "-rtl" : H;
50228
50284
  })).map(function(H) {
@@ -50232,9 +50288,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50232
50288
  });
50233
50289
  }(H, m.icons, C);
50234
50290
  }), F = $.from(c.meta).fold(function() {
50235
- return R4;
50291
+ return BC;
50236
50292
  }, function(H) {
50237
- return Ut(H, "style") ? L(O2, H.style) : R4;
50293
+ return Ut(H, "style") ? L(O2, H.style) : BC;
50238
50294
  });
50239
50295
  return c.presets === "color" ? function(H, z, Q, te) {
50240
50296
  var ve, De, Fe, it;
@@ -50242,14 +50298,14 @@ Components: ` + JSON.stringify(m.components, null, 2));
50242
50298
  return { title: te.translate(Ve) };
50243
50299
  }).getOr({}), it = { tag: "div", attributes: Fe, classes: [ve] }, J(J({}, it), z === "custom" ? { tag: "button", classes: re(it.classes, ["tox-swatches__picker-btn"]), innerHtml: De } : z === "remove" ? { classes: re(it.classes, ["tox-swatch--remove"]), innerHtml: De } : { attributes: J(J({}, it.attributes), { "data-mce-color": z }), styles: { "background-color": z } })), optComponents: [] };
50244
50300
  }(c.ariaLabel, c.value, B, m) : function(H, z, Q, te, ve) {
50245
- var De = Q ? z.or($.some("")).map(B4) : $.none(), Fe = H.checkMark, it = H.htmlContent.fold(function() {
50301
+ var De = Q ? z.or($.some("")).map(PC) : $.none(), Fe = H.checkMark, it = H.htmlContent.fold(function() {
50246
50302
  return H.textContent.map(te);
50247
50303
  }, function(Ve) {
50248
50304
  return $.some(A2(Ve, [wy]));
50249
50305
  });
50250
- return { dom: $4(ve, H.ariaLabel), optComponents: [De, it, H.shortcutContent.map(D2), Fe, H.caret] };
50306
+ return { dom: MC(ve, H.ariaLabel), optComponents: [De, it, H.shortcutContent.map(D2), Fe, H.caret] };
50251
50307
  }(c, B, y, F, I);
50252
- }, F4 = function(c, m) {
50308
+ }, VC = function(c, m) {
50253
50309
  return wt(c, "tooltipWorker").map(function(y) {
50254
50310
  return [Oy.config({ lazySink: m.getSink, tooltipDom: { tag: "div", classes: ["tox-tooltip-worker-container"] }, tooltipComponents: [], anchor: function(C) {
50255
50311
  return { anchor: "submenu", item: C, overrides: { maxHeightFunction: bd } };
@@ -50272,7 +50328,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50272
50328
  });
50273
50329
  }
50274
50330
  return y;
50275
- }, L4 = function(c, m) {
50331
+ }, FC = function(c, m) {
50276
50332
  return Ee(c, function(y) {
50277
50333
  switch (y.type) {
50278
50334
  case "cardcontainer":
@@ -50288,7 +50344,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50288
50344
  return "tox-collection__item-container--valign-bottom";
50289
50345
  }
50290
50346
  }()] }, components: B };
50291
- }(y, L4(y.items, m));
50347
+ }(y, FC(y.items, m));
50292
50348
  case "cardimage":
50293
50349
  return function(I, B, F) {
50294
50350
  return { dom: { tag: "img", classes: B, attributes: { src: I, alt: F.getOr("") } } };
@@ -50300,17 +50356,17 @@ Components: ` + JSON.stringify(m.components, null, 2));
50300
50356
  return A2(zy(y.text, T), y.classes);
50301
50357
  }
50302
50358
  });
50303
- }, U4 = Dc(m0(), ly()), Hy = function(c) {
50359
+ }, LC = Dc(m0(), ly()), Hy = function(c) {
50304
50360
  return { value: c };
50305
- }, Pg = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, z4 = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, P2 = function(c) {
50306
- return Pg.test(c) || z4.test(c);
50307
- }, H4 = function(c) {
50361
+ }, Pg = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, UC = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i, P2 = function(c) {
50362
+ return Pg.test(c) || UC.test(c);
50363
+ }, zC = function(c) {
50308
50364
  var m = function(C) {
50309
50365
  var T = C.value.replace(Pg, function(I, B, F, H) {
50310
50366
  return B + B + F + F + H + H;
50311
50367
  });
50312
50368
  return { value: T };
50313
- }(c), y = z4.exec(m.value);
50369
+ }(c), y = UC.exec(m.value);
50314
50370
  return y === null ? ["FFFFFF", "FF", "FF", "FF"] : y;
50315
50371
  }, jy = function(c) {
50316
50372
  var m = c.toString(16);
@@ -50318,14 +50374,14 @@ Components: ` + JSON.stringify(m.components, null, 2));
50318
50374
  }, Wy = function(c) {
50319
50375
  var m = jy(c.red) + jy(c.green) + jy(c.blue);
50320
50376
  return Hy(m);
50321
- }, j4 = Math.min, W4 = Math.max, B2 = Math.round, V6 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, Km = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Ym = function(c, m, y, C) {
50377
+ }, HC = Math.min, jC = Math.max, B2 = Math.round, V6 = /^rgb\((\d+),\s*(\d+),\s*(\d+)\)/, Km = /^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/, Ym = function(c, m, y, C) {
50322
50378
  return { red: c, green: m, blue: y, alpha: C };
50323
50379
  }, Bg = function(c) {
50324
50380
  var m = parseInt(c, 10);
50325
50381
  return m.toString() === c && m >= 0 && m <= 255;
50326
50382
  }, Gy = function(c) {
50327
50383
  var m, y, C, T = (c.hue || 0) % 360, I = c.saturation / 100, B = c.value / 100;
50328
- if (I = W4(0, j4(I, 1)), B = W4(0, j4(B, 1)), I === 0)
50384
+ if (I = jC(0, HC(I, 1)), B = jC(0, HC(B, 1)), I === 0)
50329
50385
  return m = y = C = B2(255 * B), Ym(m, y, C, 1);
50330
50386
  var F = T / 60, H = B * I, z = H * (1 - Math.abs(F % 2 - 1)), Q = B - H;
50331
50387
  switch (Math.floor(F)) {
@@ -50352,25 +50408,25 @@ Components: ` + JSON.stringify(m.components, null, 2));
50352
50408
  }
50353
50409
  return m = B2(255 * (m + Q)), y = B2(255 * (y + Q)), C = B2(255 * (C + Q)), Ym(m, y, C, 1);
50354
50410
  }, Rg = function(c) {
50355
- var m = H4(c), y = parseInt(m[1], 16), C = parseInt(m[2], 16), T = parseInt(m[3], 16);
50411
+ var m = zC(c), y = parseInt(m[1], 16), C = parseInt(m[2], 16), T = parseInt(m[3], 16);
50356
50412
  return Ym(y, C, T, 1);
50357
- }, G4 = function(c, m, y, C) {
50413
+ }, WC = function(c, m, y, C) {
50358
50414
  var T = parseInt(c, 10), I = parseInt(m, 10), B = parseInt(y, 10), F = parseFloat(C);
50359
50415
  return Ym(T, I, B, F);
50360
- }, q4 = function(c) {
50416
+ }, GC = function(c) {
50361
50417
  return "rgba(" + c.red + "," + c.green + "," + c.blue + "," + c.alpha + ")";
50362
- }, K4 = Ym(255, 0, 0, 1), qy = function(c, m) {
50418
+ }, qC = Ym(255, 0, 0, 1), qy = function(c, m) {
50363
50419
  return c.fire("ResizeContent", m);
50364
- }, A0 = tinymce.util.Tools.resolve("tinymce.util.LocalStorage"), Y4 = "tinymce-custom-colors", Mg, zr = "choiceitem", dp = [{ type: zr, text: "Light Green", value: "#BFEDD2" }, { type: zr, text: "Light Yellow", value: "#FBEEB8" }, { type: zr, text: "Light Red", value: "#F8CAC6" }, { type: zr, text: "Light Purple", value: "#ECCAFA" }, { type: zr, text: "Light Blue", value: "#C2E0F4" }, { type: zr, text: "Green", value: "#2DC26B" }, { type: zr, text: "Yellow", value: "#F1C40F" }, { type: zr, text: "Red", value: "#E03E2D" }, { type: zr, text: "Purple", value: "#B96AD9" }, { type: zr, text: "Blue", value: "#3598DB" }, { type: zr, text: "Dark Turquoise", value: "#169179" }, { type: zr, text: "Orange", value: "#E67E23" }, { type: zr, text: "Dark Red", value: "#BA372A" }, { type: zr, text: "Dark Purple", value: "#843FA1" }, { type: zr, text: "Dark Blue", value: "#236FA1" }, { type: zr, text: "Light Gray", value: "#ECF0F1" }, { type: zr, text: "Medium Gray", value: "#CED4D9" }, { type: zr, text: "Gray", value: "#95A5A6" }, { type: zr, text: "Dark Gray", value: "#7E8C8D" }, { type: zr, text: "Navy Blue", value: "#34495E" }, { type: zr, text: "Black", value: "#000000" }, { type: zr, text: "White", value: "#ffffff" }], Ky = function(c) {
50420
+ }, A0 = tinymce.util.Tools.resolve("tinymce.util.LocalStorage"), KC = "tinymce-custom-colors", Mg, zr = "choiceitem", dp = [{ type: zr, text: "Light Green", value: "#BFEDD2" }, { type: zr, text: "Light Yellow", value: "#FBEEB8" }, { type: zr, text: "Light Red", value: "#F8CAC6" }, { type: zr, text: "Light Purple", value: "#ECCAFA" }, { type: zr, text: "Light Blue", value: "#C2E0F4" }, { type: zr, text: "Green", value: "#2DC26B" }, { type: zr, text: "Yellow", value: "#F1C40F" }, { type: zr, text: "Red", value: "#E03E2D" }, { type: zr, text: "Purple", value: "#B96AD9" }, { type: zr, text: "Blue", value: "#3598DB" }, { type: zr, text: "Dark Turquoise", value: "#169179" }, { type: zr, text: "Orange", value: "#E67E23" }, { type: zr, text: "Dark Red", value: "#BA372A" }, { type: zr, text: "Dark Purple", value: "#843FA1" }, { type: zr, text: "Dark Blue", value: "#236FA1" }, { type: zr, text: "Light Gray", value: "#ECF0F1" }, { type: zr, text: "Medium Gray", value: "#CED4D9" }, { type: zr, text: "Gray", value: "#95A5A6" }, { type: zr, text: "Dark Gray", value: "#7E8C8D" }, { type: zr, text: "Navy Blue", value: "#34495E" }, { type: zr, text: "Black", value: "#000000" }, { type: zr, text: "White", value: "#ffffff" }], Ky = function(c) {
50365
50421
  c === void 0 && (c = 10);
50366
- var m, y = A0.getItem(Y4), C = r(y) ? JSON.parse(y) : [], T = c - (m = C).length < 0 ? m.slice(0, c) : m, I = function(B) {
50422
+ var m, y = A0.getItem(KC), C = r(y) ? JSON.parse(y) : [], T = c - (m = C).length < 0 ? m.slice(0, c) : m, I = function(B) {
50367
50423
  T.splice(B, 1);
50368
50424
  };
50369
50425
  return { add: function(B) {
50370
50426
  (function(F, H) {
50371
50427
  var z = pe(F, H);
50372
50428
  return z === -1 ? $.none() : $.some(z);
50373
- })(T, B).each(I), T.unshift(B), T.length > c && T.pop(), A0.setItem(Y4, JSON.stringify(T));
50429
+ })(T, B).each(I), T.unshift(B), T.length > c && T.pop(), A0.setItem(KC, JSON.stringify(T));
50374
50430
  }, state: function() {
50375
50431
  return T.slice(0);
50376
50432
  } };
@@ -50406,7 +50462,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50406
50462
  return y.getParam("color_cols", C, "number");
50407
50463
  }(c, m);
50408
50464
  }, O0 = function(c, m, y, C) {
50409
- y === "custom" ? Z4(c)(function(T) {
50465
+ y === "custom" ? JC(c)(function(T) {
50410
50466
  T.each(function(I) {
50411
50467
  R2(I), c.execCommand("mceApplyTextcolor", m, I), C(I);
50412
50468
  });
@@ -50418,14 +50474,14 @@ Components: ` + JSON.stringify(m.components, null, 2));
50418
50474
  var C = "choiceitem", T = { type: C, text: "Remove color", icon: "color-swatch-remove-color", value: "remove" };
50419
50475
  return y ? [T, { type: C, text: "Custom color", icon: "color-picker", value: "custom" }] : [T];
50420
50476
  }(m)));
50421
- }, X4 = function(c, m) {
50477
+ }, YC = function(c, m) {
50422
50478
  return function(y) {
50423
50479
  y(D0(c, m));
50424
50480
  };
50425
50481
  }, Xy = function(c, m, y) {
50426
50482
  var C = m === "forecolor" ? "tox-icon-text-color__color" : "tox-icon-highlight-bg-color__color";
50427
50483
  c.setIconFill(C, y);
50428
- }, J4 = function(c, m, y, C, T) {
50484
+ }, XC = function(c, m, y, C, T) {
50429
50485
  c.ui.registry.addSplitButton(m, { tooltip: C, presets: "color", icon: m === "forecolor" ? "text-color" : "highlight-bg-color", select: function(I) {
50430
50486
  var B = $.from(function(F, H) {
50431
50487
  var z;
@@ -50440,15 +50496,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50440
50496
  return $.some(Ym(0, 0, 0, 0));
50441
50497
  var z = V6.exec(H);
50442
50498
  if (z !== null)
50443
- return $.some(G4(z[1], z[2], z[3], "1"));
50499
+ return $.some(WC(z[1], z[2], z[3], "1"));
50444
50500
  var Q = Km.exec(H);
50445
- return Q !== null ? $.some(G4(Q[1], Q[2], Q[3], Q[4])) : $.none();
50501
+ return Q !== null ? $.some(WC(Q[1], Q[2], Q[3], Q[4])) : $.none();
50446
50502
  }(F).map(function(H) {
50447
50503
  var z = Wy(H).value;
50448
50504
  return rt(I.toLowerCase(), z);
50449
50505
  });
50450
50506
  }).getOr(!1);
50451
- }, columns: M2(c), fetch: X4($g(c), Yy(c)), onAction: function(I) {
50507
+ }, columns: M2(c), fetch: YC($g(c), Yy(c)), onAction: function(I) {
50452
50508
  T.get() !== null && O0(c, y, T.get(), x);
50453
50509
  }, onItemAction: function(I, B) {
50454
50510
  O0(c, y, B, function(F) {
@@ -50471,7 +50527,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50471
50527
  O0(c, y, T.value, x);
50472
50528
  } }];
50473
50529
  } });
50474
- }, Z4 = function(c) {
50530
+ }, JC = function(c) {
50475
50531
  return function(m, y) {
50476
50532
  var C = !1, T = { colorpicker: y };
50477
50533
  c.windowManager.open({ title: "Color Picker", size: "normal", body: { type: "panel", items: [{ type: "colorpicker", name: "colorpicker", label: "Color" }] }, buttons: [{ type: "cancel", name: "cancel", text: "Cancel" }, { type: "submit", name: "save", text: "Save", primary: !0 }], initialData: T, onAction: function(I, B) {
@@ -50488,10 +50544,10 @@ Components: ` + JSON.stringify(m.components, null, 2));
50488
50544
  return v2(c, H, z, C, T);
50489
50545
  }, F6 = function(c, m, y, C, T, I, B) {
50490
50546
  return vo(Ee(c, function(F) {
50491
- return F.type === "choiceitem" ? (H = F, gr("choicemenuitem", y4, H)).fold(Cl, function(z) {
50547
+ return F.type === "choiceitem" ? (H = F, gr("choicemenuitem", _C, H)).fold(Cl, function(z) {
50492
50548
  return $.some(function(Q, te, ve, De, Fe, it, Ve, ft) {
50493
50549
  ft === void 0 && (ft = !0);
50494
- var He = qm({ presets: ve, textContent: te ? Q.text : $.none(), htmlContent: $.none(), ariaLabel: Q.text, iconContent: Q.icon, shortcutContent: te ? Q.shortcut : $.none(), checkMark: te ? $.some(M4(Ve.icons)) : $.none(), caret: $.none(), value: Q.value }, Ve, ft);
50550
+ var He = qm({ presets: ve, textContent: te ? Q.text : $.none(), htmlContent: $.none(), ariaLabel: Q.text, iconContent: Q.icon, shortcutContent: te ? Q.shortcut : $.none(), checkMark: te ? $.some(RC(Ve.icons)) : $.none(), caret: $.none(), value: Q.value }, Ve, ft);
50495
50551
  return Ae(Og({ data: Dg(Q), disabled: Q.disabled, getApi: function(et) {
50496
50552
  return { setActive: function(Nt) {
50497
50553
  rr.set(et, Nt);
@@ -50506,7 +50562,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50506
50562
  return De(Q.value);
50507
50563
  }, onSetup: function(et) {
50508
50564
  return et.setActive(Fe), x;
50509
- }, triggersSubmenu: !1, itemBehaviours: [] }, He, it, Ve), { toggling: { toggleClass: d4, toggleOnExecute: !1, selected: Q.active } });
50565
+ }, triggersSubmenu: !1, itemBehaviours: [] }, He, it, Ve), { toggling: { toggleClass: dC, toggleOnExecute: !1, selected: Q.active } });
50510
50566
  }(z, y === 1, C, m, I(F.value), T, B, Eg(c)));
50511
50567
  }) : $.none();
50512
50568
  var H;
@@ -50514,9 +50570,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50514
50570
  }, P0 = function(c, m) {
50515
50571
  var y = zm(m);
50516
50572
  return c === 1 ? { mode: "menu", moveOnTab: !0 } : c === "auto" ? { mode: "grid", selector: "." + y.item, initSize: { numColumns: 1, numRows: 1 } } : { mode: "matrix", rowSelector: "." + (m === "color" ? "tox-swatches__row" : "tox-collection__group") };
50517
- }, Zy = uo("cell-over"), Q4 = uo("cell-execute"), L6 = function(c, m, y) {
50573
+ }, Zy = uo("cell-over"), ZC = uo("cell-execute"), L6 = function(c, m, y) {
50518
50574
  var C, T = function(B) {
50519
- return ho(B, Q4, { row: c, col: m });
50575
+ return ho(B, ZC, { row: c, col: m });
50520
50576
  }, I = function(B, F) {
50521
50577
  F.stop(), T(B);
50522
50578
  };
@@ -50529,7 +50585,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50529
50585
  });
50530
50586
  }, ss = function(c, m) {
50531
50587
  return qa(m + 1 + "x" + (c + 1));
50532
- }, eC = { inserttable: function(c) {
50588
+ }, QC = { inserttable: function(c) {
50533
50589
  var m = uo("size-label"), y = function(T, I, B) {
50534
50590
  for (var F = [], H = 0; H < I; H++) {
50535
50591
  for (var z = [], Q = 0; Q < B; Q++)
@@ -50538,21 +50594,21 @@ Components: ` + JSON.stringify(m.components, null, 2));
50538
50594
  }
50539
50595
  return F;
50540
50596
  }(m, 10, 10), C = _r({ dom: { tag: "span", classes: ["tox-insert-table-picker__label"], attributes: { id: m } }, components: [qa("0x0")], behaviours: zn([Do.config({})]) });
50541
- return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [U4.widget({ dom: { tag: "div", classes: ["tox-insert-table-picker"] }, components: V2(y).concat(C.asSpec()), behaviours: zn([Xo("insert-table-picker", [bf(Zy, function(T, I, B) {
50597
+ return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [LC.widget({ dom: { tag: "div", classes: ["tox-insert-table-picker"] }, components: V2(y).concat(C.asSpec()), behaviours: zn([Xo("insert-table-picker", [bf(Zy, function(T, I, B) {
50542
50598
  var F = B.event.row, H = B.event.col;
50543
50599
  (function(z, Q, te, ve, De) {
50544
50600
  for (var Fe = 0; Fe < ve; Fe++)
50545
50601
  for (var it = 0; it < De; it++)
50546
50602
  rr.set(z[Fe][it], Fe <= Q && it <= te);
50547
50603
  })(y, F, H, 10, 10), Do.set(C.get(T), [ss(F, H)]);
50548
- }), bf(Q4, function(T, I, B) {
50604
+ }), bf(ZC, function(T, I, B) {
50549
50605
  c.onAction({ numRows: B.event.row + 1, numColumns: B.event.col + 1 }), ko(T, hf());
50550
50606
  })]), bo.config({ initSize: { numRows: 10, numColumns: 10 }, mode: "flatgrid", selector: '[role="button"]' })]) })] };
50551
50607
  }, colorswatch: function(c, m) {
50552
50608
  var y = D0(m.colorinput.getColors(), m.colorinput.hasCustomColors()), C = m.colorinput.getColorCols(), T = "color", I = $2(uo("menu-value"), y, function(F) {
50553
50609
  c.onAction({ value: F });
50554
50610
  }, C, T, Ul.CLOSE_ON_EXECUTE, W, m.shared.providers), B = J(J({}, I), { markers: zm(T), movement: P0(C, T) });
50555
- return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [U4.widget(Kd.sketch(B))] };
50611
+ return { type: "widget", data: { value: uo("widget-id") }, dom: { tag: "div", classes: ["tox-fancymenuitem"] }, autofocus: !0, components: [LC.widget(Kd.sketch(B))] };
50556
50612
  } }, U6 = function(c, m, y, C, T, I, B, F) {
50557
50613
  F === void 0 && (F = !0);
50558
50614
  var H = qm({ presets: C, textContent: $.none(), htmlContent: y ? c.text.map(function(z) {
@@ -50560,15 +50616,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50560
50616
  }) : $.none(), ariaLabel: c.text, iconContent: c.icon, shortcutContent: $.none(), checkMark: $.none(), caret: $.none(), value: c.value }, B.providers, F, c.icon);
50561
50617
  return Og({ data: Dg(c), disabled: c.disabled, getApi: O({}), onAction: function(z) {
50562
50618
  return T(c.value, c.meta);
50563
- }, onSetup: O(x), triggersSubmenu: !1, itemBehaviours: F4(c.meta, B) }, H, I, B.providers);
50564
- }, tC = function(c) {
50619
+ }, onSetup: O(x), triggersSubmenu: !1, itemBehaviours: VC(c.meta, B) }, H, I, B.providers);
50620
+ }, e4 = function(c) {
50565
50621
  var m = c.text.fold(function() {
50566
50622
  return {};
50567
50623
  }, function(y) {
50568
50624
  return { innerHtml: y };
50569
50625
  });
50570
50626
  return { type: "separator", dom: J({ tag: "div", classes: [C0, "tox-collection__group-heading"] }, m), components: [] };
50571
- }, nC = function(c, m, y, C) {
50627
+ }, t4 = function(c, m, y, C) {
50572
50628
  C === void 0 && (C = !0);
50573
50629
  var T = qm({ presets: "normal", iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, caret: $.none(), checkMark: $.none(), shortcutContent: c.shortcut }, y, C);
50574
50630
  return Og({ data: Dg(c), getApi: function(I) {
@@ -50578,10 +50634,10 @@ Components: ` + JSON.stringify(m.components, null, 2));
50578
50634
  return _o.set(I, B);
50579
50635
  } };
50580
50636
  }, disabled: c.disabled, onAction: c.onAction, onSetup: c.onSetup, triggersSubmenu: !1, itemBehaviours: [] }, T, m, y);
50581
- }, oC = function(c, m, y, C, T) {
50637
+ }, n4 = function(c, m, y, C, T) {
50582
50638
  C === void 0 && (C = !0), T === void 0 && (T = !1);
50583
- var I, B = T ? (I = y.icons, { dom: { tag: "div", classes: [f4], innerHtml: Es("chevron-down", I) } }) : function(H) {
50584
- return { dom: { tag: "div", classes: [f4], innerHtml: Es("chevron-right", H) } };
50639
+ var I, B = T ? (I = y.icons, { dom: { tag: "div", classes: [fC], innerHtml: Es("chevron-down", I) } }) : function(H) {
50640
+ return { dom: { tag: "div", classes: [fC], innerHtml: Es("chevron-right", H) } };
50585
50641
  }(y.icons), F = qm({ presets: "normal", iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, caret: $.some(B), checkMark: $.none(), shortcutContent: c.shortcut }, y, C);
50586
50642
  return Og({ data: Dg(c), getApi: function(H) {
50587
50643
  return { isDisabled: function() {
@@ -50592,7 +50648,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50592
50648
  }, disabled: c.disabled, onAction: x, onSetup: c.onSetup, triggersSubmenu: !0, itemBehaviours: [] }, F, m, y);
50593
50649
  }, z6 = function(c, m, y, C) {
50594
50650
  C === void 0 && (C = !0);
50595
- var T = qm({ iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, checkMark: $.some(M4(y.icons)), caret: $.none(), shortcutContent: c.shortcut, presets: "normal", meta: c.meta }, y, C);
50651
+ var T = qm({ iconContent: c.icon, textContent: c.text, htmlContent: $.none(), ariaLabel: c.text, checkMark: $.some(RC(y.icons)), caret: $.none(), shortcutContent: c.shortcut, presets: "normal", meta: c.meta }, y, C);
50596
50652
  return Ae(Og({ data: Dg(c), disabled: c.disabled, getApi: function(I) {
50597
50653
  return { setActive: function(B) {
50598
50654
  rr.set(I, B);
@@ -50603,15 +50659,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50603
50659
  }, setDisabled: function(B) {
50604
50660
  return _o.set(I, B);
50605
50661
  } };
50606
- }, onAction: c.onAction, onSetup: c.onSetup, triggersSubmenu: !1, itemBehaviours: [] }, T, m, y), { toggling: { toggleClass: d4, toggleOnExecute: !1, selected: c.active } });
50607
- }, rC = function(c, m) {
50662
+ }, onAction: c.onAction, onSetup: c.onSetup, triggersSubmenu: !1, itemBehaviours: [] }, T, m, y), { toggling: { toggleClass: dC, toggleOnExecute: !1, selected: c.active } });
50663
+ }, o4 = function(c, m) {
50608
50664
  return function(y, C) {
50609
50665
  return Object.prototype.hasOwnProperty.call(y, C) ? $.some(y[C]) : $.none();
50610
- }(eC, c.fancytype).map(function(y) {
50666
+ }(QC, c.fancytype).map(function(y) {
50611
50667
  return y(c, m);
50612
50668
  });
50613
- }, iC = function(c, m, y, C) {
50614
- var T = { dom: $4(!1, c.label), optComponents: [$.some({ dom: { tag: "div", classes: [Cy, Ey] }, components: L4(c.items, C) })] };
50669
+ }, r4 = function(c, m, y, C) {
50670
+ var T = { dom: MC(!1, c.label), optComponents: [$.some({ dom: { tag: "div", classes: [Cy, Ey] }, components: FC(c.items, C) })] };
50615
50671
  return Og({ data: Dg(J({ text: $.none() }, c)), disabled: c.disabled, getApi: function(I) {
50616
50672
  return { isDisabled: function() {
50617
50673
  return _o.isDisabled(I);
@@ -50627,20 +50683,20 @@ Components: ` + JSON.stringify(m.components, null, 2));
50627
50683
  (function(c) {
50628
50684
  c[c.ContentFocus = 0] = "ContentFocus", c[c.UiFocus = 1] = "UiFocus";
50629
50685
  })(Mg || (Mg = {}));
50630
- var aC = function(c, m, y, C, T) {
50686
+ var i4 = function(c, m, y, C, T) {
50631
50687
  var I, B = y.shared.providers, F = function(H) {
50632
50688
  return T ? J(J({}, H), { shortcut: $.none(), icon: H.text.isSome() ? $.none() : H.icon }) : H;
50633
50689
  };
50634
50690
  switch (c.type) {
50635
50691
  case "menuitem":
50636
50692
  return (I = c, gr("menuitem", Xu, I)).fold(Cl, function(H) {
50637
- return $.some(nC(F(H), m, B, C));
50693
+ return $.some(t4(F(H), m, B, C));
50638
50694
  });
50639
50695
  case "nestedmenuitem":
50640
50696
  return function(H) {
50641
- return gr("nestedmenuitem", b4, H);
50697
+ return gr("nestedmenuitem", yC, H);
50642
50698
  }(c).fold(Cl, function(H) {
50643
- return $.some(oC(F(H), m, B, C, T));
50699
+ return $.some(n4(F(H), m, B, C, T));
50644
50700
  });
50645
50701
  case "togglemenuitem":
50646
50702
  return function(H) {
@@ -50652,13 +50708,13 @@ Components: ` + JSON.stringify(m.components, null, 2));
50652
50708
  return function(H) {
50653
50709
  return gr("separatormenuitem", c2, H);
50654
50710
  }(c).fold(Cl, function(H) {
50655
- return $.some(tC(H));
50711
+ return $.some(e4(H));
50656
50712
  });
50657
50713
  case "fancymenuitem":
50658
50714
  return function(H) {
50659
50715
  return gr("fancymenuitem", E6, H);
50660
50716
  }(c).fold(Cl, function(H) {
50661
- return rC(F(H), y);
50717
+ return o4(F(H), y);
50662
50718
  });
50663
50719
  default:
50664
50720
  return console.error("Unknown item in general menu", c), $.none();
@@ -50669,15 +50725,15 @@ Components: ` + JSON.stringify(m.components, null, 2));
50669
50725
  switch (z.type) {
50670
50726
  case "separator":
50671
50727
  return (Q = z, gr("Autocompleter.Separator", c2, Q)).fold(Cl, function(te) {
50672
- return $.some(tC(te));
50728
+ return $.some(e4(te));
50673
50729
  });
50674
50730
  case "cardmenuitem":
50675
50731
  return function(te) {
50676
- return gr("cardmenuitem", _4, te);
50732
+ return gr("cardmenuitem", vC, te);
50677
50733
  }(z).fold(Cl, function(te) {
50678
- return $.some(iC(J(J({}, te), { onAction: function(ve) {
50734
+ return $.some(r4(J(J({}, te), { onAction: function(ve) {
50679
50735
  te.onAction(ve), y(te.value, te.meta);
50680
- } }), T, I, { itemBehaviours: F4(te.meta, I), cardText: { matchText: m, highlightOn: B } }));
50736
+ } }), T, I, { itemBehaviours: VC(te.meta, I), cardText: { matchText: m, highlightOn: B } }));
50681
50737
  });
50682
50738
  default:
50683
50739
  return function(te) {
@@ -50688,16 +50744,16 @@ Components: ` + JSON.stringify(m.components, null, 2));
50688
50744
  }
50689
50745
  var Q;
50690
50746
  }));
50691
- }, sC = function(c, m, y, C, T) {
50747
+ }, a4 = function(c, m, y, C, T) {
50692
50748
  var I = Eg(m), B = vo(Ee(m, function(F) {
50693
50749
  var H = function(z) {
50694
- return aC(z, y, C, function(Q) {
50750
+ return i4(z, y, C, function(Q) {
50695
50751
  return T ? !Q.hasOwnProperty("text") : I;
50696
50752
  }(z), T);
50697
50753
  };
50698
50754
  return F.type === "nestedmenuitem" && F.getSubmenuItems().length <= 0 ? H(J(J({}, F), { disabled: !0 })) : H(F);
50699
50755
  }));
50700
- return (T ? m4 : v2)(c, I, B, 1, "normal");
50756
+ return (T ? mC : v2)(c, I, B, 1, "normal");
50701
50757
  }, fp = function(c) {
50702
50758
  return Yd.singleData(c.value, c);
50703
50759
  }, j6 = function(c, m) {
@@ -50715,7 +50771,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50715
50771
  bg(De.getOr(Kn.fromDom(c.selection.getNode()))).each(h1), B(), y.set($.none()), C.set(!1);
50716
50772
  }
50717
50773
  }, H = yt(function() {
50718
- return u4(c);
50774
+ return uC(c);
50719
50775
  }), z = function(De, Fe, it, Ve) {
50720
50776
  De.matchLength = Fe.text.length;
50721
50777
  var ft = Fn(it, function(He) {
@@ -50734,7 +50790,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50734
50790
  (function(Fe) {
50735
50791
  return y.get().map(function(it) {
50736
50792
  return v0(c.dom, c.selection.getRng(), it.triggerChar).bind(function(Ve) {
50737
- return r4(c, H, Ve, Fe);
50793
+ return rC(c, H, Ve, Fe);
50738
50794
  });
50739
50795
  }).getOrThunk(function() {
50740
50796
  return vy(c, H);
@@ -50782,7 +50838,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50782
50838
  }, isActive: I, isProcessingAction: C.get, getView: function() {
50783
50839
  return Yr.getContent(T);
50784
50840
  } };
50785
- c.hasPlugin("rtc") === !1 && n4(ve, c);
50841
+ c.hasPlugin("rtc") === !1 && nC(ve, c);
50786
50842
  }, Zd = Z, $i = function(c, m, y) {
50787
50843
  return function(C, T, I, B) {
50788
50844
  return Nf(C, T, I, B, !1);
@@ -50804,20 +50860,20 @@ Components: ` + JSON.stringify(m.components, null, 2));
50804
50860
  c.apply(null, C), y = null;
50805
50861
  }, m);
50806
50862
  } };
50807
- }, lC = function(c) {
50863
+ }, s4 = function(c) {
50808
50864
  var m = c.raw;
50809
50865
  return m.touches === void 0 || m.touches.length !== 1 ? $.none() : $.some(m.touches[0]);
50810
50866
  }, tb = function(c) {
50811
50867
  var m = Rn($.none()), y = Rn(!1), C = eb(function(I) {
50812
50868
  c.triggerEvent(d1(), I), y.set(!0);
50813
50869
  }, 400), T = Wt([{ key: fs(), value: function(I) {
50814
- return lC(I).each(function(B) {
50870
+ return s4(I).each(function(B) {
50815
50871
  C.cancel();
50816
50872
  var F = { x: B.clientX, y: B.clientY, target: I.target };
50817
50873
  C.schedule(I), y.set(!1), m.set($.some(F));
50818
50874
  }), $.none();
50819
50875
  } }, { key: ku(), value: function(I) {
50820
- return C.cancel(), lC(I).each(function(B) {
50876
+ return C.cancel(), s4(I).each(function(B) {
50821
50877
  m.get().each(function(F) {
50822
50878
  (function(H, z) {
50823
50879
  var Q = Math.abs(H.clientX - z.x), te = Math.abs(H.clientY - z.y);
@@ -50837,9 +50893,9 @@ Components: ` + JSON.stringify(m.components, null, 2));
50837
50893
  return F(I);
50838
50894
  });
50839
50895
  } };
50840
- }, uC = function() {
50896
+ }, l4 = function() {
50841
50897
  return mr().browser.isFirefox();
50842
- }, W6 = Pt([Hr("triggerEvent"), Vt("stopBackspace", !0)]), cC = function(c, m) {
50898
+ }, W6 = Pt([Hr("triggerEvent"), Vt("stopBackspace", !0)]), u4 = function(c, m) {
50843
50899
  var y = oi("Getting GUI events settings", W6, m), C = tb(y), T = Ee(["touchstart", "touchmove", "touchend", "touchcancel", "gesturestart", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "click"].concat(["selectstart", "input", "contextmenu", "change", "transitionend", "drag", "dragstart", "dragend", "dragenter", "dragleave", "dragover", "drop", "keyup"]), function(te) {
50844
50900
  return $i(c, te, function(ve) {
50845
50901
  C.fireIfReady(ve, te).each(function(De) {
@@ -50857,11 +50913,11 @@ Components: ` + JSON.stringify(m.components, null, 2));
50857
50913
  return ve.raw.which === Bc[0] && !de(["input", "textarea"], Ms(ve.target)) && !pp(ve.target, '[contenteditable="true"]');
50858
50914
  }(te) && te.prevent();
50859
50915
  }), H = function(te, ve) {
50860
- return uC() ? B0(te, "focus", ve) : $i(te, "focusin", ve);
50916
+ return l4() ? B0(te, "focus", ve) : $i(te, "focusin", ve);
50861
50917
  }(c, function(te) {
50862
50918
  y.triggerEvent("focusin", te) && te.kill();
50863
50919
  }), z = Rn($.none()), Q = function(te, ve) {
50864
- return uC() ? B0(te, "blur", ve) : $i(te, "focusout", ve);
50920
+ return l4() ? B0(te, "blur", ve) : $i(te, "focusout", ve);
50865
50921
  }(c, function(te) {
50866
50922
  y.triggerEvent("focusout", te) && te.kill(), z.set($.some(setTimeout(function() {
50867
50923
  y.triggerEvent(vh(), te);
@@ -50875,7 +50931,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50875
50931
  }, nb = function(c, m) {
50876
50932
  var y = wt(c, "target").getOr(m);
50877
50933
  return Rn(y);
50878
- }, R0 = se([{ stopped: [] }, { resume: ["element"] }, { complete: [] }]), dC = function(c, m, y, C, T, I) {
50934
+ }, R0 = se([{ stopped: [] }, { resume: ["element"] }, { complete: [] }]), c4 = function(c, m, y, C, T, I) {
50879
50935
  var B = c(m, C), F = function(H, z) {
50880
50936
  var Q = Rn(!1), te = Rn(!1);
50881
50937
  return { stop: function() {
@@ -50894,11 +50950,11 @@ Components: ` + JSON.stringify(m.components, null, 2));
50894
50950
  return I.logEventResponse(m, H.element, z.purpose), R0.resume(Q);
50895
50951
  });
50896
50952
  });
50897
- }, fC = function(c, m, y, C, T, I) {
50898
- return dC(c, m, y, C, T, I).fold(Z, function(B) {
50899
- return fC(c, m, y, B, T, I);
50953
+ }, d4 = function(c, m, y, C, T, I) {
50954
+ return c4(c, m, y, C, T, I).fold(Z, function(B) {
50955
+ return d4(c, m, y, B, T, I);
50900
50956
  }, W);
50901
- }, pC = function(c, m, y) {
50957
+ }, f4 = function(c, m, y) {
50902
50958
  var C = function(T) {
50903
50959
  var I = Rn(!1);
50904
50960
  return { stop: function() {
@@ -50911,8 +50967,8 @@ Components: ` + JSON.stringify(m.components, null, 2));
50911
50967
  }), C.isStopped();
50912
50968
  }, ob = function(c, m, y, C, T) {
50913
50969
  var I = nb(y, C);
50914
- return fC(c, m, y, C, I, T);
50915
- }, mC = function() {
50970
+ return d4(c, m, y, C, I, T);
50971
+ }, p4 = function() {
50916
50972
  var c = {};
50917
50973
  return { registerId: function(m, y, C) {
50918
50974
  Ze(C, function(T, I) {
@@ -50953,7 +51009,7 @@ Components: ` + JSON.stringify(m.components, null, 2));
50953
51009
  }, m);
50954
51010
  } };
50955
51011
  }, F2 = function() {
50956
- var c = mC(), m = {}, y = function(T) {
51012
+ var c = p4(), m = {}, y = function(T) {
50957
51013
  var I = T.element;
50958
51014
  return Ol(I).fold(function() {
50959
51015
  return function(B, F) {
@@ -50990,14 +51046,14 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
50990
51046
  }, Na = as({ name: "Container", factory: function(c) {
50991
51047
  var m = c.dom, y = m.attributes, C = ue(m, ["attributes"]);
50992
51048
  return { uid: c.uid, dom: J({ tag: "div", attributes: J({ role: "presentation" }, y) }, C), components: c.components, behaviours: Ic(c.containerBehaviours), events: c.events, domModification: c.domModification, eventOrder: c.eventOrder };
50993
- }, configFields: [Vt("components", []), Mr("containerBehaviours", []), Vt("events", {}), Vt("domModification", {}), Vt("eventOrder", {})] }), hC = function(c) {
51049
+ }, configFields: [Vt("components", []), Mr("containerBehaviours", []), Vt("events", {}), Vt("domModification", {}), Vt("eventOrder", {})] }), m4 = function(c) {
50994
51050
  var m = function(Ve) {
50995
51051
  return es(c.element).fold(Z, function(ft) {
50996
51052
  return Nr(Ve, ft);
50997
51053
  });
50998
51054
  }, y = F2(), C = function(Ve, ft) {
50999
51055
  return y.find(m, Ve, ft);
51000
- }, T = cC(c.element, { triggerEvent: function(Ve, ft) {
51056
+ }, T = u4(c.element, { triggerEvent: function(Ve, ft) {
51001
51057
  return pd(Ve, ft.target, function(He) {
51002
51058
  return function(et, Nt, Mt, Lt) {
51003
51059
  return ob(et, Nt, Mt, Mt.target, Lt);
@@ -51014,7 +51070,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51014
51070
  pd(Iu(), Ve, function(et) {
51015
51071
  return function(Nt, Mt, Lt, En, vn) {
51016
51072
  var Jn = nb(Lt, En);
51017
- dC(Nt, Mt, Lt, En, Jn, vn);
51073
+ c4(Nt, Mt, Lt, En, Jn, vn);
51018
51074
  }(C, Iu(), { originator: ft, kill: x, prevent: x, target: Ve }, Ve, et), !1;
51019
51075
  });
51020
51076
  });
@@ -51058,7 +51114,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51058
51114
  Q({ universal: !1, channels: Ve, data: ft });
51059
51115
  }, De = function(Ve, ft) {
51060
51116
  var He = y.filter(Ve);
51061
- return pC(He, ft);
51117
+ return f4(He, ft);
51062
51118
  }, Fe = function(Ve) {
51063
51119
  return y.getById(Ve).fold(function() {
51064
51120
  return Pn.error(new Error('Could not find component with uid: "' + Ve + '" in system.'));
@@ -51107,16 +51163,16 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51107
51163
  return c.getLabel(m);
51108
51164
  } } }), q6 = Object.freeze({ __proto__: null, exhibit: function(c, m) {
51109
51165
  return ol({ attributes: Wt([{ key: m.tabAttr, value: "true" }]) });
51110
- } }), Qd = [Vt("tabAttr", "data-alloy-tabstop")], jr = qr({ fields: Qd, name: "tabstopping", active: q6 }), gC = tinymce.util.Tools.resolve("tinymce.html.Entities"), Xm = function(c, m, y, C) {
51166
+ } }), Qd = [Vt("tabAttr", "data-alloy-tabstop")], jr = qr({ fields: Qd, name: "tabstopping", active: q6 }), h4 = tinymce.util.Tools.resolve("tinymce.html.Entities"), Xm = function(c, m, y, C) {
51111
51167
  var T = K6(c, m, y, C);
51112
51168
  return vr.sketch(T);
51113
51169
  }, K6 = function(c, m, y, C) {
51114
- return { dom: vC(y), components: c.toArray().concat([m]), fieldBehaviours: zn(C) };
51115
- }, vC = function(c) {
51170
+ return { dom: g4(y), components: c.toArray().concat([m]), fieldBehaviours: zn(C) };
51171
+ }, g4 = function(c) {
51116
51172
  return { tag: "div", classes: ["tox-form__group"].concat(c) };
51117
51173
  }, ef = function(c, m) {
51118
51174
  return vr.parts.label({ dom: { tag: "label", classes: ["tox-label"], innerHtml: m.translate(c) } });
51119
- }, ls = uo("form-component-change"), us = uo("form-close"), Jm = uo("form-cancel"), Ju = uo("form-action"), M0 = uo("form-submit"), U2 = uo("form-block"), rb = uo("form-unblock"), _C = uo("form-tabchange"), ib = uo("form-resize"), z2 = function(c, m) {
51175
+ }, ls = uo("form-component-change"), us = uo("form-close"), Jm = uo("form-cancel"), Ju = uo("form-action"), M0 = uo("form-submit"), U2 = uo("form-block"), rb = uo("form-unblock"), _4 = uo("form-tabchange"), ib = uo("form-resize"), z2 = function(c, m) {
51120
51176
  var y, C, T, I = c.label.map(function(te) {
51121
51177
  return ef(te, m);
51122
51178
  }), B = function(te) {
@@ -51155,7 +51211,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51155
51211
  var et = zl.translate(He.text), Nt = c.columns === 1 ? '<div class="tox-collection__item-label">' + et + "</div>" : "", Mt = '<div class="tox-collection__item-icon">' + He.icon + "</div>", Lt = { _: " ", " - ": " ", "-": " " }, En = et.replace(/\_| \- |\-/g, function(vn) {
51156
51212
  return Lt[vn];
51157
51213
  });
51158
- return '<div class="tox-collection__item' + (m.isDisabled() ? " tox-collection__item--state-disabled" : "") + '" tabindex="-1" data-collection-item-value="' + gC.encodeAllRaw(He.value) + '" title="' + En + '" aria-label="' + En + '">' + Mt + Nt + "</div>";
51214
+ return '<div class="tox-collection__item' + (m.isDisabled() ? " tox-collection__item--state-disabled" : "") + '" tabindex="-1" data-collection-item-value="' + h4.encodeAllRaw(He.value) + '" title="' + En + '" aria-label="' + En + '">' + Mt + Nt + "</div>";
51159
51215
  }), Ve = c.columns !== "auto" && c.columns > 1 ? ye(it, c.columns) : [it], ft = Ee(Ve, function(He) {
51160
51216
  return '<div class="tox-collection__group">' + He.join("") + "</div>";
51161
51217
  });
@@ -51171,7 +51227,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51171
51227
  var y = m.element, C = Pl(y);
51172
51228
  y.dom.setSelectionRange(0, C.length);
51173
51229
  } : x })]);
51174
- }, yC = function(c) {
51230
+ }, y4 = function(c) {
51175
51231
  return J(J({}, Zm(c)), vi(c.inputBehaviours, [$n.config({ store: J(J({ mode: "manual" }, c.data.map(function(m) {
51176
51232
  return { initialValue: m };
51177
51233
  }).getOr({})), { getValue: function(m) {
@@ -51182,8 +51238,8 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51182
51238
  }, ab = function(c) {
51183
51239
  return { tag: c.tag, attributes: J({ type: "text" }, c.inputAttributes), styles: c.inputStyles, classes: c.inputClasses };
51184
51240
  }, Vg = as({ name: "Input", configFields: $0(), factory: function(c, m) {
51185
- return { uid: c.uid, dom: ab(c), components: [], behaviours: yC(c), eventOrder: c.eventOrder };
51186
- } }), V0 = {}, bC = { exports: V0 };
51241
+ return { uid: c.uid, dom: ab(c), components: [], behaviours: y4(c), eventOrder: c.eventOrder };
51242
+ } }), V0 = {}, b4 = { exports: V0 };
51187
51243
  (function(c, m, y, C) {
51188
51244
  (function(T) {
51189
51245
  typeof m == "object" && y !== void 0 ? y.exports = T() : typeof c == "function" && c.amd ? c([], T) : (typeof window < "u" ? window : commonjsGlobal !== void 0 ? commonjsGlobal : typeof self < "u" ? self : this).EphoxContactWrapper = T();
@@ -51469,8 +51525,8 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51469
51525
  I.exports = { boltExport: H.Promise || F };
51470
51526
  }, { "promise-polyfill": 2 }] }, {}, [4])(4);
51471
51527
  });
51472
- })(void 0, V0, bC, void 0);
51473
- var Zu, sb = bC.exports.boltExport, H2 = function(c) {
51528
+ })(void 0, V0, b4, void 0);
51529
+ var Zu, sb = b4.exports.boltExport, H2 = function(c) {
51474
51530
  var m = $.none(), y = [], C = function(F) {
51475
51531
  T() ? B(F) : y.push(F);
51476
51532
  }, T = function() {
@@ -51497,13 +51553,13 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51497
51553
  return H2(function(m) {
51498
51554
  m(c);
51499
51555
  });
51500
- } }, wC = function(c) {
51556
+ } }, w4 = function(c) {
51501
51557
  setTimeout(function() {
51502
51558
  throw c;
51503
51559
  }, 0);
51504
51560
  }, ea = function(c) {
51505
51561
  var m = function(y) {
51506
- c().then(y, wC);
51562
+ c().then(y, w4);
51507
51563
  };
51508
51564
  return { map: function(y) {
51509
51565
  return ea(function() {
@@ -51540,21 +51596,21 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51540
51596
  }, Y6 = ["input", "textarea"], ub = function(c) {
51541
51597
  var m = Ms(c);
51542
51598
  return de(Y6, m);
51543
- }, CC = function(c, m) {
51599
+ }, C4 = function(c, m) {
51544
51600
  var y = m.getRoot(c).getOr(c.element);
51545
51601
  Zr(y, m.invalidClass), m.notify.each(function(C) {
51546
51602
  ub(c.element) && cr(c.element, "aria-invalid", !1), C.getContainer(c).each(function(T) {
51547
51603
  Ba(T, C.validHtml);
51548
51604
  }), C.onValid(c);
51549
51605
  });
51550
- }, EC = function(c, m, y, C) {
51606
+ }, E4 = function(c, m, y, C) {
51551
51607
  var T = m.getRoot(c).getOr(c.element);
51552
51608
  Di(T, m.invalidClass), m.notify.each(function(I) {
51553
51609
  ub(c.element) && cr(c.element, "aria-invalid", !0), I.getContainer(c).each(function(B) {
51554
51610
  Ba(B, C);
51555
51611
  }), I.onInvalid(c, C);
51556
51612
  });
51557
- }, SC = function(c, m, y) {
51613
+ }, S4 = function(c, m, y) {
51558
51614
  return m.validator.fold(function() {
51559
51615
  return nf(Pn.value(!0));
51560
51616
  }, function(C) {
@@ -51563,14 +51619,14 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51563
51619
  }, j2 = function(c, m, y) {
51564
51620
  return m.notify.each(function(C) {
51565
51621
  C.onValidate(c);
51566
- }), SC(c, m).map(function(C) {
51622
+ }), S4(c, m).map(function(C) {
51567
51623
  return c.getSystem().isConnected() ? C.fold(function(T) {
51568
- return EC(c, m, 0, T), Pn.error(T);
51624
+ return E4(c, m, 0, T), Pn.error(T);
51569
51625
  }, function(T) {
51570
- return CC(c, m), Pn.value(T);
51626
+ return C4(c, m), Pn.value(T);
51571
51627
  }) : Pn.error("No longer in system");
51572
51628
  });
51573
- }, Vc = Object.freeze({ __proto__: null, markValid: CC, markInvalid: EC, query: SC, run: j2, isInvalid: function(c, m) {
51629
+ }, Vc = Object.freeze({ __proto__: null, markValid: C4, markInvalid: E4, query: S4, run: j2, isInvalid: function(c, m) {
51574
51630
  var y = m.getRoot(c).getOr(c.element);
51575
51631
  return il(y, m.invalidClass);
51576
51632
  } }), cb = Object.freeze({ __proto__: null, events: function(c, m) {
@@ -51581,7 +51637,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51581
51637
  j2(C, c).get(x);
51582
51638
  })] : []));
51583
51639
  }).getOr({});
51584
- } }), xC = [mn("invalidClass"), Vt("getRoot", $.none), Wi("notify", [Vt("aria", "alert"), Vt("getContainer", $.none), Vt("validHtml", ""), Zo("onValid"), Zo("onInvalid"), Zo("onValidate")]), Wi("validator", [mn("validate"), Vt("onEvent", "input"), Vt("validateOnLoad", !0)])], Hl = qr({ fields: xC, name: "invalidating", active: cb, apis: Vc, extra: { validation: function(c) {
51640
+ } }), x4 = [mn("invalidClass"), Vt("getRoot", $.none), Wi("notify", [Vt("aria", "alert"), Vt("getContainer", $.none), Vt("validHtml", ""), Zo("onValid"), Zo("onInvalid"), Zo("onValidate")]), Wi("validator", [mn("validate"), Vt("onEvent", "input"), Vt("validateOnLoad", !0)])], Hl = qr({ fields: x4, name: "invalidating", active: cb, apis: Vc, extra: { validation: function(c) {
51585
51641
  return function(m) {
51586
51642
  var y = $n.getValue(m);
51587
51643
  return nf(c(y));
@@ -51603,7 +51659,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51603
51659
  (function(c) {
51604
51660
  c[c.HighlightFirst = 0] = "HighlightFirst", c[c.HighlightNone = 1] = "HighlightNone";
51605
51661
  })(Zu || (Zu = {}));
51606
- var fb, kC, mp, F0 = function(c, m) {
51662
+ var fb, k4, mp, F0 = function(c, m) {
51607
51663
  var y = c.getHotspot(m).getOr(m), C = "hotspot", T = c.getAnchorOverrides();
51608
51664
  return c.layouts.fold(function() {
51609
51665
  return { anchor: C, hotspot: y, overrides: T };
@@ -51646,7 +51702,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51646
51702
  }, Qm = function(c, m, y, C, T, I) {
51647
51703
  var B = bi.getCoupled(y, "sandbox");
51648
51704
  return (Bo.isOpen(B) ? Z6 : pb)(c, m, y, B, C, T, I);
51649
- }, TC = function(c, m, y) {
51705
+ }, T4 = function(c, m, y) {
51650
51706
  var C = nr.getCurrent(m).getOr(m), T = wa(c.element);
51651
51707
  y ? Lo(C.element, "min-width", T + "px") : function(I, B) {
51652
51708
  Wp.set(I, B);
@@ -51675,7 +51731,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51675
51731
  var C = qp(), T = G2(m, c);
51676
51732
  return { dom: { tag: "div", classes: c.sandboxClasses, attributes: { id: C.id, role: "listbox" } }, behaviours: Od(c.sandboxBehaviours, [$n.config({ store: { mode: "memory", initialValue: m } }), Bo.config({ onOpen: function(I, B) {
51677
51733
  var F = F0(c, m);
51678
- C.link(m.element), c.matchWidth && TC(F.hotspot, B, c.useMinWidth), c.onOpen(F, I, B), y !== void 0 && y.onOpen !== void 0 && y.onOpen(I, B);
51734
+ C.link(m.element), c.matchWidth && T4(F.hotspot, B, c.useMinWidth), c.onOpen(F, I, B), y !== void 0 && y.onOpen !== void 0 && y.onOpen(I, B);
51679
51735
  }, onClose: function(I, B) {
51680
51736
  C.unlink(m.element), y !== void 0 && y.onClose !== void 0 && y.onClose(I, B);
51681
51737
  }, isPartOf: function(I, B, F) {
@@ -51756,7 +51812,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51756
51812
  return Ir([Ai(tu(), Z)]);
51757
51813
  }, exhibit: function() {
51758
51814
  return ol({ styles: { "-webkit-user-select": "none", "user-select": "none", "-ms-user-select": "none", "-moz-user-select": "-moz-none" }, attributes: { unselectable: "on" } });
51759
- } }), hp = qr({ fields: [], name: "unselecting", active: th }), gb = uo("color-input-change"), NC = uo("color-swatch-change"), IC = uo("color-picker-cancel"), AC = function(c, m, y) {
51815
+ } }), hp = qr({ fields: [], name: "unselecting", active: th }), gb = uo("color-input-change"), N4 = uo("color-swatch-change"), I4 = uo("color-picker-cancel"), A4 = function(c, m, y) {
51760
51816
  var C = vr.parts.field({ factory: Vg, inputClasses: ["tox-textfield"], onSetValue: function(F) {
51761
51817
  return Hl.run(F).get(x);
51762
51818
  }, inputBehaviours: zn([_o.config({ disabled: m.providers.isDisabled }), Mi(), jr.config({}), Hl.config({ invalidClass: "tox-textbox-field-invalid", getRoot: function(F) {
@@ -51779,7 +51835,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51779
51835
  } } })]), selectOnFocus: !1 }), T = c.label.map(function(F) {
51780
51836
  return ef(F, m.providers);
51781
51837
  }), I = function(F, H) {
51782
- ho(F, NC, { value: H });
51838
+ ho(F, N4, { value: H });
51783
51839
  }, B = _r(function(F, H) {
51784
51840
  return El.sketch({ dom: F.dom, components: F.components, toggleClass: "mce-active", dropdownBehaviours: zn([Wm(H.providers.isDisabled), Mi(), hp.config({}), jr.config({})]), layouts: F.layouts, sandboxClasses: ["tox-dialog__popups"], lazySink: H.getSink, fetch: function(z) {
51785
51841
  return tf(function(Q) {
@@ -51794,11 +51850,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51794
51850
  return [Xi, ki, Ji];
51795
51851
  }, onLtr: function() {
51796
51852
  return [ki, Xi, Ji];
51797
- } }, components: [], fetch: X4(y.getColors(), y.hasCustomColors()), columns: y.getColorCols(), presets: "color", onItemAction: function(F, H) {
51853
+ } }, components: [], fetch: YC(y.getColors(), y.hasCustomColors()), columns: y.getColorCols(), presets: "color", onItemAction: function(F, H) {
51798
51854
  B.getOpt(F).each(function(z) {
51799
51855
  H === "custom" ? y.colorPicker(function(Q) {
51800
51856
  Q.fold(function() {
51801
- return ko(z, IC);
51857
+ return ko(z, I4);
51802
51858
  }, function(te) {
51803
51859
  I(z, te), R2(te);
51804
51860
  });
@@ -51809,11 +51865,11 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51809
51865
  B.getOpt(F).each(function(z) {
51810
51866
  Lo(z.element, "background-color", H.event.color);
51811
51867
  }), ho(F, ls, { name: c.name });
51812
- }), xn(NC, function(F, H) {
51868
+ }), xn(N4, function(F, H) {
51813
51869
  vr.getField(F).each(function(z) {
51814
51870
  $n.setValue(z, H.event.value), nr.getCurrent(F).each(No.focus);
51815
51871
  });
51816
- }), xn(IC, function(F, H) {
51872
+ }), xn(I4, function(F, H) {
51817
51873
  vr.getField(F).each(function(z) {
51818
51874
  nr.getCurrent(F).each(No.focus);
51819
51875
  });
@@ -51832,7 +51888,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51832
51888
  }, [m])]) };
51833
51889
  });
51834
51890
  } });
51835
- }, OC = gp("top-left"), _b = gp("top"), yb = gp("top-right"), DC = gp("right"), t8 = gp("bottom-right"), q2 = gp("bottom"), PC = gp("bottom-left"), n8 = gp("left"), of = Hi({ name: "thumb", defaults: O({ dom: { styles: { position: "absolute" } } }), overrides: function(c) {
51891
+ }, O4 = gp("top-left"), _b = gp("top"), yb = gp("top-right"), D4 = gp("right"), t8 = gp("bottom-right"), q2 = gp("bottom"), P4 = gp("bottom-left"), n8 = gp("left"), of = Hi({ name: "thumb", defaults: O({ dom: { styles: { position: "absolute" } } }), overrides: function(c) {
51836
51892
  return { events: Ir([Rs(fs(), c, "spectrum"), Rs(ku(), c, "spectrum"), Rs(Zl(), c, "spectrum"), Rs(Ds(), c, "spectrum"), Rs(Pp(), c, "spectrum"), Rs(Bp(), c, "spectrum")]) };
51837
51893
  } }), bb = Hi({ schema: [pi("mouseIsDown", function() {
51838
51894
  return Rn(!1);
@@ -51853,7 +51909,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51853
51909
  } }), No.config({})]), events: Ir([xn(fs(), y), xn(ku(), y), xn(Ds(), y), xn(Pp(), function(C, T) {
51854
51910
  c.mouseIsDown.get() && y(C, T);
51855
51911
  })]) };
51856
- } }), BC = [vb, n8, DC, _b, q2, OC, yb, PC, t8, of, bb], Lg = O("slider.change.value"), L0 = function(c) {
51912
+ } }), B4 = [vb, n8, D4, _b, q2, O4, yb, P4, t8, of, bb], Lg = O("slider.change.value"), L0 = function(c) {
51857
51913
  var m = c.event.raw;
51858
51914
  if (function(T) {
51859
51915
  return T.type.indexOf("touch") !== -1;
@@ -51883,12 +51939,12 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51883
51939
  return c.model.maxX + 1;
51884
51940
  }, K2 = function(c) {
51885
51941
  return c.model.maxY + 1;
51886
- }, RC = function(c, m, y) {
51942
+ }, R4 = function(c, m, y) {
51887
51943
  return m(c) - y(c);
51888
51944
  }, wb = function(c) {
51889
- return RC(c, nh, vp);
51945
+ return R4(c, nh, vp);
51890
51946
  }, Ug = function(c) {
51891
- return RC(c, _p, Fc);
51947
+ return R4(c, _p, Fc);
51892
51948
  }, Cb = function(c) {
51893
51949
  return wb(c) / 2;
51894
51950
  }, Eb = function(c) {
@@ -51897,9 +51953,9 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51897
51953
  return c.stepSize;
51898
51954
  }, j0 = function(c) {
51899
51955
  return c.snapToGrid;
51900
- }, MC = function(c) {
51956
+ }, M4 = function(c) {
51901
51957
  return c.snapStart;
51902
- }, $C = function(c) {
51958
+ }, $4 = function(c) {
51903
51959
  return c.rounded;
51904
51960
  }, Y2 = function(c, m) {
51905
51961
  return c[m + "-edge"] !== void 0;
@@ -51925,7 +51981,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51925
51981
  return c < m ? c : c > y ? y : c === m ? m - 1 : Math.max(m, c - C);
51926
51982
  }, Q2 = function(c, m, y, C) {
51927
51983
  return c > y ? c : c < m ? m : c === y ? y + 1 : Math.min(y, c + C);
51928
- }, VC = function(c, m, y) {
51984
+ }, V4 = function(c, m, y) {
51929
51985
  return Math.max(m, Math.min(y, c));
51930
51986
  }, kb = function(c) {
51931
51987
  var m = c.min, y = c.max, C = c.range, T = c.value, I = c.step, B = c.snap, F = c.snapStart, H = c.rounded, z = c.hasMinEdge, Q = c.hasMaxEdge, te = c.minBound, ve = c.maxBound, De = c.screenRange, Fe = z ? m - 1 : m, it = Q ? y + 1 : y;
@@ -51935,20 +51991,20 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51935
51991
  return it;
51936
51992
  var Ve = function(He, et, Nt) {
51937
51993
  return Math.min(Nt, Math.max(He, et)) - et;
51938
- }(T, te, ve), ft = VC(Ve / De * C + m, Fe, it);
51994
+ }(T, te, ve), ft = V4(Ve / De * C + m, Fe, it);
51939
51995
  return B && ft >= m && ft <= y ? function(He, et, Nt, Mt, Lt) {
51940
51996
  return Lt.fold(function() {
51941
51997
  var En = He - et, vn = Math.round(En / Mt) * Mt;
51942
- return VC(et + vn, et - 1, Nt + 1);
51998
+ return V4(et + vn, et - 1, Nt + 1);
51943
51999
  }, function(En) {
51944
52000
  var vn = (He - En) % Mt, Jn = Math.round(vn / Mt), oo = Math.floor((He - En) / Mt), So = Math.floor((Nt - En) / Mt), Mo = En + Math.min(So, oo + Jn) * Mt;
51945
52001
  return Math.max(En, Mo);
51946
52002
  });
51947
52003
  }(ft, m, y, I, F) : H ? Math.round(ft) : ft;
51948
- }, FC = function(c) {
52004
+ }, F4 = function(c) {
51949
52005
  var m = c.min, y = c.max, C = c.range, T = c.value, I = c.hasMinEdge, B = c.hasMaxEdge, F = c.maxBound, H = c.maxOffset, z = c.centerMinEdge, Q = c.centerMaxEdge;
51950
52006
  return T < m ? I ? 0 : z : T > y ? B ? F : Q : (T - m) / C * H;
51951
- }, q0 = "top", LC = "right", UC = "bottom", Tb = "left", ec = function(c) {
52007
+ }, q0 = "top", L4 = "right", U4 = "bottom", Tb = "left", ec = function(c) {
51952
52008
  return c.element.dom.getBoundingClientRect();
51953
52009
  }, wu = function(c, m) {
51954
52010
  return c[m];
@@ -51957,13 +52013,13 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51957
52013
  return wu(m, Tb);
51958
52014
  }, Nb = function(c) {
51959
52015
  var m = ec(c);
51960
- return wu(m, LC);
52016
+ return wu(m, L4);
51961
52017
  }, e_ = function(c) {
51962
52018
  var m = ec(c);
51963
52019
  return wu(m, q0);
51964
- }, zC = function(c) {
52020
+ }, z4 = function(c) {
51965
52021
  var m = ec(c);
51966
- return wu(m, UC);
52022
+ return wu(m, U4);
51967
52023
  }, Ib = function(c) {
51968
52024
  var m = ec(c);
51969
52025
  return wu(m, "width");
@@ -51972,20 +52028,20 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51972
52028
  return wu(m, "height");
51973
52029
  }, Ob = function(c, m, y) {
51974
52030
  return (c + m) / 2 - y;
51975
- }, HC = function(c, m) {
51976
- var y = ec(c), C = ec(m), T = wu(y, Tb), I = wu(y, LC), B = wu(C, Tb);
52031
+ }, H4 = function(c, m) {
52032
+ var y = ec(c), C = ec(m), T = wu(y, Tb), I = wu(y, L4), B = wu(C, Tb);
51977
52033
  return Ob(T, I, B);
51978
52034
  }, Db = function(c, m) {
51979
- var y = ec(c), C = ec(m), T = wu(y, q0), I = wu(y, UC), B = wu(C, q0);
52035
+ var y = ec(c), C = ec(m), T = wu(y, q0), I = wu(y, U4), B = wu(C, q0);
51980
52036
  return Ob(T, I, B);
51981
52037
  }, Y0 = function(c, m) {
51982
52038
  ho(c, Lg(), { value: m });
51983
52039
  }, t_ = function(c) {
51984
52040
  return { x: c };
51985
52041
  }, Pb = function(c, m, y) {
51986
- var C = { min: vp(m), max: nh(m), range: wb(m), value: y, step: zg(m), snap: j0(m), snapStart: MC(m), rounded: $C(m), hasMinEdge: W0(m), hasMaxEdge: X2(m), minBound: K0(c), maxBound: Nb(c), screenRange: Ib(c) };
52042
+ var C = { min: vp(m), max: nh(m), range: wb(m), value: y, step: zg(m), snap: j0(m), snapStart: M4(m), rounded: $4(m), hasMinEdge: W0(m), hasMaxEdge: X2(m), minBound: K0(c), maxBound: Nb(c), screenRange: Ib(c) };
51987
52043
  return kb(C);
51988
- }, jC = function(c) {
52044
+ }, j4 = function(c) {
51989
52045
  return function(m, y) {
51990
52046
  return function(C, T, I) {
51991
52047
  var B = (C > 0 ? Q2 : Z2)(Lc(I).x, vp(I), nh(I), zg(I));
@@ -51995,18 +52051,18 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
51995
52051
  }, n_ = function(c, m, y, C, T, I) {
51996
52052
  var B = function(F, H, z, Q, te) {
51997
52053
  var ve = Ib(F), De = Q.bind(function(Ve) {
51998
- return $.some(HC(Ve, F));
52054
+ return $.some(H4(Ve, F));
51999
52055
  }).getOr(0), Fe = te.bind(function(Ve) {
52000
- return $.some(HC(Ve, F));
52056
+ return $.some(H4(Ve, F));
52001
52057
  }).getOr(ve), it = { min: vp(H), max: nh(H), range: wb(H), value: z, hasMinEdge: W0(H), hasMaxEdge: X2(H), minBound: K0(F), minOffset: 0, maxBound: Nb(F), maxOffset: ve, centerMinEdge: De, centerMaxEdge: Fe };
52002
- return FC(it);
52058
+ return F4(it);
52003
52059
  }(m, I, y, C, T);
52004
52060
  return K0(m) - K0(c) + B;
52005
- }, o8 = jC(-1), dr = jC(1), Hg = $.none, WC = $.none, GC = { "top-left": $.none(), top: $.none(), "top-right": $.none(), right: $.some(function(c, m) {
52061
+ }, o8 = j4(-1), dr = j4(1), Hg = $.none, W4 = $.none, G4 = { "top-left": $.none(), top: $.none(), "top-right": $.none(), right: $.some(function(c, m) {
52006
52062
  jl(c, Sb(H0(m)));
52007
52063
  }), "bottom-right": $.none(), bottom: $.none(), "bottom-left": $.none(), left: $.some(function(c, m) {
52008
52064
  jl(c, Sb(U0(m)));
52009
- }) }, qC = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52065
+ }) }, q4 = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52010
52066
  var C = Pb(c, m, y), T = t_(C);
52011
52067
  return Y0(c, T), C;
52012
52068
  }, setToMin: function(c, m) {
@@ -52022,14 +52078,14 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52022
52078
  }, findPositionOfValue: n_, setPositionFromValue: function(c, m, y, C) {
52023
52079
  var T = Lc(y), I = n_(c, C.getSpectrum(c), T.x, C.getLeftEdge(c), C.getRightEdge(c), y), B = wa(m.element) / 2;
52024
52080
  Lo(m.element, "left", I - B + "px");
52025
- }, onLeft: o8, onRight: dr, onUp: Hg, onDown: WC, edgeActions: GC }), X0 = function(c, m) {
52081
+ }, onLeft: o8, onRight: dr, onUp: Hg, onDown: W4, edgeActions: G4 }), X0 = function(c, m) {
52026
52082
  ho(c, Lg(), { value: m });
52027
52083
  }, o_ = function(c) {
52028
52084
  return { y: c };
52029
52085
  }, Bb = function(c, m, y) {
52030
- var C = { min: Fc(m), max: _p(m), range: Ug(m), value: y, step: zg(m), snap: j0(m), snapStart: MC(m), rounded: $C(m), hasMinEdge: G0(m), hasMaxEdge: J2(m), minBound: e_(c), maxBound: zC(c), screenRange: Ab(c) };
52086
+ var C = { min: Fc(m), max: _p(m), range: Ug(m), value: y, step: zg(m), snap: j0(m), snapStart: M4(m), rounded: $4(m), hasMinEdge: G0(m), hasMaxEdge: J2(m), minBound: e_(c), maxBound: z4(c), screenRange: Ab(c) };
52031
52087
  return kb(C);
52032
- }, KC = function(c) {
52088
+ }, K4 = function(c) {
52033
52089
  return function(m, y) {
52034
52090
  return function(C, T, I) {
52035
52091
  var B = (C > 0 ? Q2 : Z2)(Lc(I).y, Fc(I), _p(I), zg(I));
@@ -52042,15 +52098,15 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52042
52098
  return $.some(Db(Ve, F));
52043
52099
  }).getOr(0), Fe = te.bind(function(Ve) {
52044
52100
  return $.some(Db(Ve, F));
52045
- }).getOr(ve), it = { min: Fc(H), max: _p(H), range: Ug(H), value: z, hasMinEdge: G0(H), hasMaxEdge: J2(H), minBound: e_(F), minOffset: 0, maxBound: zC(F), maxOffset: ve, centerMinEdge: De, centerMaxEdge: Fe };
52046
- return FC(it);
52101
+ }).getOr(ve), it = { min: Fc(H), max: _p(H), range: Ug(H), value: z, hasMinEdge: G0(H), hasMaxEdge: J2(H), minBound: e_(F), minOffset: 0, maxBound: z4(F), maxOffset: ve, centerMinEdge: De, centerMaxEdge: Fe };
52102
+ return F4(it);
52047
52103
  }(m, I, y, C, T);
52048
52104
  return e_(m) - e_(c) + B;
52049
- }, YC = $.none, r8 = $.none, i8 = KC(-1), a8 = KC(1), s8 = { "top-left": $.none(), top: $.some(function(c, m) {
52105
+ }, Y4 = $.none, r8 = $.none, i8 = K4(-1), a8 = K4(1), s8 = { "top-left": $.none(), top: $.some(function(c, m) {
52050
52106
  jl(c, xb(z0(m)));
52051
52107
  }), "top-right": $.none(), right: $.none(), "bottom-right": $.none(), bottom: $.some(function(c, m) {
52052
52108
  jl(c, xb(K2(m)));
52053
- }), "bottom-left": $.none(), left: $.none() }, XC = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52109
+ }), "bottom-left": $.none(), left: $.none() }, X4 = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52054
52110
  var C = Bb(c, m, y), T = o_(C);
52055
52111
  return X0(c, T), C;
52056
52112
  }, setToMin: function(c, m) {
@@ -52066,7 +52122,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52066
52122
  }, findPositionOfValue: Rb, setPositionFromValue: function(c, m, y, C) {
52067
52123
  var T = Lc(y), I = Rb(c, C.getSpectrum(c), T.y, C.getTopEdge(c), C.getBottomEdge(c), y), B = Wr(m.element) / 2;
52068
52124
  Lo(m.element, "top", I - B + "px");
52069
- }, onLeft: YC, onRight: r8, onUp: i8, onDown: a8, edgeActions: s8 }), r_ = function(c, m) {
52125
+ }, onLeft: Y4, onRight: r8, onUp: i8, onDown: a8, edgeActions: s8 }), r_ = function(c, m) {
52070
52126
  ho(c, Lg(), { value: m });
52071
52127
  }, J0 = function(c, m) {
52072
52128
  return { x: c, y: m };
@@ -52077,7 +52133,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52077
52133
  return r_(B, J0(z, Q)), $.some(z);
52078
52134
  }(c, m, y, C).map(Z);
52079
52135
  };
52080
- }, JC = Z0(-1, !1), l8 = Z0(1, !1), u8 = Z0(-1, !0), Q0 = Z0(1, !0), Mb = { "top-left": $.some(function(c, m) {
52136
+ }, J4 = Z0(-1, !1), l8 = Z0(1, !1), u8 = Z0(-1, !0), Q0 = Z0(1, !0), Mb = { "top-left": $.some(function(c, m) {
52081
52137
  jl(c, rf(U0(m), z0(m)));
52082
52138
  }), top: $.some(function(c, m) {
52083
52139
  jl(c, rf(Cb(m), z0(m)));
@@ -52093,7 +52149,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52093
52149
  jl(c, rf(U0(m), K2(m)));
52094
52150
  }), left: $.some(function(c, m) {
52095
52151
  jl(c, rf(U0(m), Eb(m)));
52096
- }) }, ZC = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52152
+ }) }, Z4 = Object.freeze({ __proto__: null, setValueFrom: function(c, m, y) {
52097
52153
  var C = Pb(c, m, y.left), T = Bb(c, m, y.top), I = J0(C, T);
52098
52154
  return r_(c, I), I;
52099
52155
  }, setToMin: function(c, m) {
@@ -52107,15 +52163,15 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52107
52163
  }, setPositionFromValue: function(c, m, y, C) {
52108
52164
  var T = Lc(y), I = n_(c, C.getSpectrum(c), T.x, C.getLeftEdge(c), C.getRightEdge(c), y), B = Rb(c, C.getSpectrum(c), T.y, C.getTopEdge(c), C.getBottomEdge(c), y), F = wa(m.element) / 2, H = Wr(m.element) / 2;
52109
52165
  Lo(m.element, "left", I - F + "px"), Lo(m.element, "top", B - H + "px");
52110
- }, onLeft: JC, onRight: l8, onUp: u8, onDown: Q0, edgeActions: Mb }), Wl = Qi({ name: "Slider", configFields: [Vt("stepSize", 1), Vt("onChange", x), Vt("onChoose", x), Vt("onInit", x), Vt("onDragStart", x), Vt("onDragEnd", x), Vt("snapToGrid", !1), Vt("rounded", !0), jo("snapStart"), wr("model", Ft("mode", { x: [Vt("minX", 0), Vt("maxX", 100), pi("value", function(c) {
52166
+ }, onLeft: J4, onRight: l8, onUp: u8, onDown: Q0, edgeActions: Mb }), Wl = Qi({ name: "Slider", configFields: [Vt("stepSize", 1), Vt("onChange", x), Vt("onChoose", x), Vt("onInit", x), Vt("onDragStart", x), Vt("onDragEnd", x), Vt("snapToGrid", !1), Vt("rounded", !0), jo("snapStart"), wr("model", Ft("mode", { x: [Vt("minX", 0), Vt("maxX", 100), pi("value", function(c) {
52111
52167
  return Rn(c.mode.minX);
52112
- }), mn("getInitialValue"), Or("manager", qC)], y: [Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52168
+ }), mn("getInitialValue"), Or("manager", q4)], y: [Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52113
52169
  return Rn(c.mode.minY);
52114
- }), mn("getInitialValue"), Or("manager", XC)], xy: [Vt("minX", 0), Vt("maxX", 100), Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52170
+ }), mn("getInitialValue"), Or("manager", X4)], xy: [Vt("minX", 0), Vt("maxX", 100), Vt("minY", 0), Vt("maxY", 100), pi("value", function(c) {
52115
52171
  return Rn({ x: c.mode.minX, y: c.mode.minY });
52116
- }), mn("getInitialValue"), Or("manager", ZC)] })), Mr("sliderBehaviours", [bo, $n]), pi("mouseIsDown", function() {
52172
+ }), mn("getInitialValue"), Or("manager", Z4)] })), Mr("sliderBehaviours", [bo, $n]), pi("mouseIsDown", function() {
52117
52173
  return Rn(!1);
52118
- })], partFields: BC, factory: function(c, m, y, C) {
52174
+ })], partFields: B4, factory: function(c, m, y, C) {
52119
52175
  var T, I = function(He) {
52120
52176
  return wl(He, c, "thumb");
52121
52177
  }, B = function(He) {
@@ -52180,7 +52236,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52180
52236
  }, jg = function(c) {
52181
52237
  var m, y = 0, C = 0, T = c.red / 255, I = c.green / 255, B = c.blue / 255, F = Math.min(T, Math.min(I, B)), H = Math.max(T, Math.max(I, B));
52182
52238
  return F === H ? yp(0, 0, 100 * (C = F)) : (y = 60 * ((y = T === F ? 3 : B === F ? 1 : 5) - (T === F ? I - B : B === F ? T - I : B - T) / (H - F)), m = (H - F) / H, C = H, yp(Math.round(y), Math.round(100 * m), Math.round(100 * C)));
52183
- }, QC = function(c) {
52239
+ }, Q4 = function(c) {
52184
52240
  return Wy(Gy(c));
52185
52241
  }, $b = uo("rgb-hex-update"), i_ = uo("slider-update"), a_ = uo("palette-update"), Vb = "form", Fb = [Mr("formBehaviours", [$n])], Lb = function(c) {
52186
52242
  return "<alloy.field." + c + ">";
@@ -52314,12 +52370,12 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52314
52370
  return Wl.sketch({ dom: { tag: "div", attributes: { role: "presentation" }, classes: [m("sv-palette")] }, model: { mode: "xy", getInitialValue: F }, rounded: !1, components: [y, C], onChange: function(z, Q, te) {
52315
52371
  ho(z, a_, { value: te });
52316
52372
  }, onInit: function(z, Q, te, ve) {
52317
- T(te.element.dom, q4(K4));
52373
+ T(te.element.dom, GC(qC));
52318
52374
  }, sliderBehaviours: H });
52319
52375
  }, name: "SaturationBrightnessPalette", configFields: [], apis: { setHue: function(B, F, H) {
52320
52376
  (function(z, Q) {
52321
52377
  var te = z.components()[0].element.dom, ve = yp(Q, 100, 100), De = Gy(ve);
52322
- T(te, q4(De));
52378
+ T(te, GC(De));
52323
52379
  })(F, H);
52324
52380
  }, setThumb: function(B, F, H) {
52325
52381
  (function(z, Q) {
@@ -52332,7 +52388,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52332
52388
  var y = as({ name: "ColourPicker", configFields: [mn("dom"), Vt("onValidHex", x), Vt("onInvalidHex", x)], factory: function(C) {
52333
52389
  var T, I = c8(c, m, C.onValidHex, C.onInvalidHex), B = n3(0, m), F = function(ft) {
52334
52390
  return 100 - ft / 360 * 100;
52335
- }, H = { paletteRgba: Rn(K4), paletteHue: Rn(0) }, z = _r(function(ft, He) {
52391
+ }, H = { paletteRgba: Rn(qC), paletteHue: Rn(0) }, z = _r(function(ft, He) {
52336
52392
  var et = Wl.parts.spectrum({ dom: { tag: "div", classes: [He("hue-slider-spectrum")], attributes: { role: "presentation" } } }), Nt = Wl.parts.thumb({ dom: { tag: "div", classes: [He("hue-slider-thumb")], attributes: { role: "presentation" } } });
52337
52393
  return Wl.sketch({ dom: { tag: "div", classes: [He("hue-slider")], attributes: { role: "presentation" } }, rounded: !1, model: { mode: "y", getInitialValue: O({ y: 0 }) }, components: [et, Nt], sliderBehaviours: zn([No.config({})]), onChange: function(Mt, Lt, En) {
52338
52394
  ho(Mt, i_, { value: En });
@@ -52369,7 +52425,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52369
52425
  })), xn(a_, function() {
52370
52426
  var ft = [De];
52371
52427
  return function(He, et) {
52372
- var Nt = et.event.value, Mt = H.paletteHue.get(), Lt = yp(Mt, Nt.x, 100 - Nt.y), En = QC(Lt);
52428
+ var Nt = et.event.value, Mt = H.paletteHue.get(), Lt = yp(Mt, Nt.x, 100 - Nt.y), En = Q4(Lt);
52373
52429
  Ve(He, En, Mt, ft);
52374
52430
  };
52375
52431
  }()), xn(i_, function() {
@@ -52377,7 +52433,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52377
52433
  return function(He, et) {
52378
52434
  var Nt = function(Jn) {
52379
52435
  return (100 - Jn) / 100 * 360;
52380
- }(et.event.value.y), Mt = H.paletteRgba.get(), Lt = jg(Mt), En = yp(Nt, Lt.saturation, Lt.value), vn = QC(En);
52436
+ }(et.event.value.y), Mt = H.paletteRgba.get(), Lt = jg(Mt), En = yp(Nt, Lt.saturation, Lt.value), vn = Q4(En);
52381
52437
  Ve(He, vn, Nt, ft);
52382
52438
  };
52383
52439
  }())]), nr.config({ find: function(ft) {
@@ -52767,13 +52823,13 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52767
52823
  return m3(C, m.getType(), y);
52768
52824
  });
52769
52825
  }(c, fb);
52770
- }), E8 = (kC = function(c, m) {
52826
+ }), E8 = (k4 = function(c, m) {
52771
52827
  return 255 * Math.pow(c / 255, 1 - m);
52772
52828
  }, function(c, m) {
52773
52829
  return c.toCanvas().then(function(y) {
52774
52830
  return function(C, T, I) {
52775
52831
  for (var B = af(C), F = new Array(256), H = 0; H < F.length; H++)
52776
- F[H] = kC(H, I);
52832
+ F[H] = k4(H, I);
52777
52833
  var z = function(Q, te) {
52778
52834
  for (var ve = Q.data, De = 0; De < ve.length; De += 4)
52779
52835
  ve[De] = te[ve[De]], ve[De + 1] = te[ve[De + 1]], ve[De + 2] = te[ve[De + 2]];
@@ -52925,8 +52981,8 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
52925
52981
  var T = uo("primary-menu"), I = E3(c, y.shared.providers.menuItems());
52926
52982
  if (I.items.length === 0)
52927
52983
  return $.none();
52928
- var B = sC(T, I.items, m, y, C), F = Ye(I.menus, function(z, Q) {
52929
- return sC(Q, z, m, y, !1);
52984
+ var B = a4(T, I.items, m, y, C), F = Ye(I.menus, function(z, Q) {
52985
+ return a4(Q, z, m, y, !1);
52930
52986
  }), H = Ae(F, xt(T, B));
52931
52987
  return $.from(Yd.tieredData(T, H, I.expansions));
52932
52988
  }, S3 = function(c) {
@@ -53983,7 +54039,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
53983
54039
  } }), Mi()]) });
53984
54040
  }(c, m.shared.providers);
53985
54041
  }), colorinput: ta(function(c, m) {
53986
- return AC(c, m.shared, m.colorinput);
54042
+ return A4(c, m.shared, m.colorinput);
53987
54043
  }), colorpicker: ta(function(c) {
53988
54044
  var m = function(T) {
53989
54045
  return "tox-" + T;
@@ -54121,7 +54177,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
54121
54177
  } })]) }), it = _r(sw({ name: y.name, icon: $.some("browse"), text: y.label.getOr(""), disabled: y.disabled, primary: !1, borderless: !0 }, function(Ve) {
54122
54178
  return ko(Ve, De);
54123
54179
  }, B, [], ["tox-browse-url"]));
54124
- return vr.sketch({ dom: vC([]), components: z.toArray().concat([{ dom: { tag: "div", classes: ["tox-form__controls-h-stack"] }, components: Ue([[Fe.asSpec()], ve.map(function() {
54180
+ return vr.sketch({ dom: g4([]), components: z.toArray().concat([{ dom: { tag: "div", classes: ["tox-form__controls-h-stack"] }, components: Ue([[Fe.asSpec()], ve.map(function() {
54125
54181
  return it.asSpec();
54126
54182
  }).toArray()]) }]), fieldBehaviours: zn([_o.config({ disabled: function() {
54127
54183
  return y.disabled || B.isDisabled();
@@ -54246,7 +54302,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
54246
54302
  return { inlineDialog: x_(I, m, B), banner: dh(I, m, B), cursor: _w(c, T), node: H8(T) };
54247
54303
  }, U3 = function(c) {
54248
54304
  return function(m, y) {
54249
- Z4(c)(m, y);
54305
+ JC(c)(m, y);
54250
54306
  };
54251
54307
  }, j8 = function(c) {
54252
54308
  return function() {
@@ -54506,7 +54562,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
54506
54562
  } };
54507
54563
  }, Jt = function(c, m, y) {
54508
54564
  var C = Rn(!1), T = function(B) {
54509
- var F = Rn(A4(B) ? "bottom" : "top");
54565
+ var F = Rn(IC(B) ? "bottom" : "top");
54510
54566
  return { isPositionedAtTop: function() {
54511
54567
  return F.get() === "top";
54512
54568
  }, getDockingMode: F.get, setDockingMode: F.set };
@@ -55227,7 +55283,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
55227
55283
  }), ve.scope === "editor" ? T.push(ve) : C.push(ve), B[Q] = ve;
55228
55284
  }, H = function(Q, te) {
55229
55285
  var ve;
55230
- (ve = te, gr("ContextToolbar", l4, ve)).each(function(De) {
55286
+ (ve = te, gr("ContextToolbar", lC, ve)).each(function(De) {
55231
55287
  te.scope === "editor" ? T.push(De) : C.push(De), B[Q] = De;
55232
55288
  });
55233
55289
  }, z = qo(c);
@@ -56828,7 +56884,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
56828
56884
  });
56829
56885
  })(y);
56830
56886
  var C = Rn(null), T = Rn(null);
56831
- J4(y, "forecolor", "forecolor", "Text color", C), J4(y, "backcolor", "hilitecolor", "Background color", T), Jy(y, "forecolor", "forecolor", "Text color"), Jy(y, "backcolor", "hilitecolor", "Background color");
56887
+ XC(y, "forecolor", "forecolor", "Text color", C), XC(y, "backcolor", "hilitecolor", "Background color", T), Jy(y, "forecolor", "forecolor", "Text color"), Jy(y, "backcolor", "hilitecolor", "Background color");
56832
56888
  }(c), function(y) {
56833
56889
  (function(C) {
56834
56890
  C.ui.registry.addButton("visualaid", { tooltip: "Visual aids", text: "Visual aids", onAction: function() {
@@ -57471,7 +57527,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57471
57527
  return C.concat(T.toArray());
57472
57528
  }() };
57473
57529
  }, c5 = function(c) {
57474
- var m, y, C, T, I = c.inline, B = I ? ET : bT, F = I0(c) ? Jk : Uk, H = $.none(), z = mr(), Q = z.browser.isIE() ? ["tox-platform-ie"] : [], te = z.deviceType.isTouch() ? ["tox-platform-touch"] : [], ve = A4(c), De = Tg(c), Fe = zl.isRtl() ? { attributes: { dir: "rtl" } } : {}, it = { attributes: (m = {}, m[Jp] = ve ? fl.BottomToTop : fl.TopToBottom, m) }, Ve = function() {
57530
+ var m, y, C, T, I = c.inline, B = I ? ET : bT, F = I0(c) ? Jk : Uk, H = $.none(), z = mr(), Q = z.browser.isIE() ? ["tox-platform-ie"] : [], te = z.deviceType.isTouch() ? ["tox-platform-touch"] : [], ve = IC(c), De = Tg(c), Fe = zl.isRtl() ? { attributes: { dir: "rtl" } } : {}, it = { attributes: (m = {}, m[Jp] = ve ? fl.BottomToTop : fl.TopToBottom, m) }, Ve = function() {
57475
57531
  return H.bind(Ci.getHeader);
57476
57532
  }, ft = function() {
57477
57533
  Lo(df.element, "width", document.body.clientWidth + "px");
@@ -57509,7 +57565,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57509
57565
  }), c.addQueryStateHandler("ToggleToolbarDrawer", function() {
57510
57566
  return Ci.isToolbarDrawerToggled(Ia);
57511
57567
  });
57512
- var n1 = hC(Ia), df = hC(He);
57568
+ var n1 = m4(Ia), df = m4(He);
57513
57569
  (function($r, Ha, ff) {
57514
57570
  var o1 = function(ui, gv) {
57515
57571
  nt([Ha, ff], function(Aw) {
@@ -57577,7 +57633,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57577
57633
  }(c), function(fr, oa) {
57578
57634
  c.ui.registry.addGroupToolbarButton(oa, fr);
57579
57635
  });
57580
- var $r = c.ui.registry.getAll(), Ha = $r.buttons, ff = $r.menuItems, o1 = $r.contextToolbars, pf = $r.sidebars, hv = up(c), Iw = { menuItems: ff, menus: O4(c), menubar: D6(c), toolbar: hv.getOrThunk(function() {
57636
+ var $r = c.ui.registry.getAll(), Ha = $r.buttons, ff = $r.menuItems, o1 = $r.contextToolbars, pf = $r.sidebars, hv = up(c), Iw = { menuItems: ff, menus: AC(c), menubar: D6(c), toolbar: hv.getOrThunk(function() {
57581
57637
  return function(fr) {
57582
57638
  return fr.getParam("toolbar", !0);
57583
57639
  }(c);
@@ -57898,7 +57954,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
57898
57954
  }), F = $N(B).smartTabHeight;
57899
57955
  return P_.sketch({ dom: { tag: "div", classes: ["tox-dialog__body"] }, onChangeTab: function(H, z, Q) {
57900
57956
  var te = $n.getValue(z);
57901
- ho(H, _C, { name: te, oldName: I.get() }), I.set(te);
57957
+ ho(H, _4, { name: te, oldName: I.get() }), I.set(te);
57902
57958
  }, tabs: B, components: [P_.parts.tabbar({ dom: { tag: "div", classes: ["tox-dialog__body-nav"] }, components: [_x.parts.tabs({})], markers: { tabClass: "tox-tab", selectedClass: "tox-dialog__body-nav-item--active" }, tabbarBehaviours: zn([jr.config({})]) }), P_.parts.tabview({ dom: { tag: "div", classes: ["tox-dialog__body-content"] } })], selectFirst: F.selectFirst, tabSectionBehaviours: zn([Xo("tabpanel", F.extraEvents), bo.config({ mode: "acyclic" }), nr.config({ find: function(H) {
57903
57959
  return qn(P_.getViewItems(H));
57904
57960
  } }), $n.config({ store: { mode: "manual", getValue: function(H) {
@@ -58050,7 +58106,7 @@ The conflicting element is` + (ua(z.element) ? " " : " not ") + "already in the
58050
58106
  return !Gi(Fe.element, De);
58051
58107
  }).each(z);
58052
58108
  });
58053
- }), C(_C, function(I, B, F) {
58109
+ }), C(_4, function(I, B, F) {
58054
58110
  B.onTabChange(I, { newTabName: F.name, oldTabName: F.oldName });
58055
58111
  }), Qs(function(I) {
58056
58112
  var B = c();
@@ -73143,7 +73199,7 @@ const _sfc_main = defineComponent({ __name: "index", props: { offset: { type: Nu
73143
73199
  const X = resolveDirective("resize");
73144
73200
  return openBlock(), createElementBlock("div", { ref_key: "affixMainRef", ref: a, class: "yx-affix", style: normalizeStyle({ height: l.value ? d.value.height : void 0 }) }, [withDirectives((openBlock(), createElementBlock("div", { ref_key: "affixRef", ref: s, style: normalizeStyle(G.value), class: normalizeClass([{ "is-fixed": l.value, "is-top": r.position === "top", "is-bottom": r.position === "bottom" }, "yx-affix-content"]) }, [renderSlot(W.$slots, "default", {}, void 0, !0)], 6)), [[X, x]])], 4);
73145
73201
  };
73146
- } }), index_vue_vue_type_style_index_0_scoped_417c4495_lang = "", YxAffix = _export_sfc(_sfc_main, [["__scopeId", "data-v-417c4495"]]), components = [YxAffix, Breadcrumb, DepartmentTree, hamburger, SvgIcon, SuperGrid, DepartmentUserTree, WorkgroupTree, WorkgroupUserTree, InlineDepartmentTree, InlineDepartmentUserTree, InlineWorkgroupTree, InlineWorkgroupUserTree, WorkflowButton, WorkflowHistoryList, ValidCode, RemoveUser, RemoveDepartment, RemoveWorkgroup, OrganizationInput, SuperNineGrid, DynamicSourceSelect, FsUpload, ScanCodeInput, FsPreview, FsUploadList, YearRangePicker, MultipartUpload, RichEditor, SecretInfo, SectionDate, _sfc_main$1v, _sfc_main$P, _sfc_main$1J, _sfc_main$3, ScanCodeInputBrowser, _sfc_main$J, _sfc_main$1], install = function(n) {
73202
+ } }), index_vue_vue_type_style_index_0_scoped_417c4495_lang = "", YxAffix = _export_sfc(_sfc_main, [["__scopeId", "data-v-417c4495"]]), components = [YxAffix, Breadcrumb, DepartmentTree, hamburger, SvgIcon, SuperGrid, DepartmentUserTree, WorkgroupTree, WorkgroupUserTree, InlineDepartmentTree, InlineDepartmentUserTree, InlineWorkgroupTree, InlineWorkgroupUserTree, WorkflowButton, WorkflowHistoryList, ValidCode, RemoveUser, RemoveDepartment, RemoveWorkgroup, OrganizationInput, SuperNineGrid, DynamicSourceSelect, FsUpload, ScanCodeInput, FsPreview, FsUploadList, YearRangePicker, MultipartUpload, RichEditor, SecretInfo, SectionDate, _sfc_main$1v, _sfc_main$P, superIcon, _sfc_main$3, ScanCodeInputBrowser, _sfc_main$J, _sfc_main$1], install = function(n) {
73147
73203
  if (n.directive("prevent-reclick", PreventReclick), n.use(customPlugin), !install.installed) {
73148
73204
  n.directive("resize", resizeDirective), components.forEach((o) => {
73149
73205
  n.component(o.name, o);
@@ -73160,7 +73216,7 @@ export {
73160
73216
  Breadcrumb as B,
73161
73217
  _sfc_main$P as C,
73162
73218
  DepartmentTree as D,
73163
- _sfc_main$1J as E,
73219
+ superIcon as E,
73164
73220
  FsUpload as F,
73165
73221
  _sfc_main$3 as G,
73166
73222
  ScanCodeInputBrowser as H,