@zyui/components 1.0.49 → 1.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  var Cue = Object.defineProperty;
2
2
  var xue = (r, a, c) => a in r ? Cue(r, a, { enumerable: !0, configurable: !0, writable: !0, value: c }) : r[a] = c;
3
3
  var cu = (r, a, c) => xue(r, typeof a != "symbol" ? a + "" : a, c);
4
- import { defineComponent as Zo, reactive as FR, provide as oy, inject as sy, ref as Xt, watch as rs, toValue as ot, computed as $t, mergeModels as Ys, useModel as xs, openBlock as Re, createElementBlock as St, Fragment as us, renderList as Ps, createElementVNode as Fe, createVNode as Mt, unref as ge, withCtx as Ut, createCommentVNode as ao, toDisplayString as Nn, createTextVNode as ts, createBlock as Rn, withDirectives as jm, mergeProps as Uc, resolveComponent as _R, isRef as X0, onUnmounted as Wc, watchEffect as Iee, onMounted as mi, onBeforeUnmount as LR, nextTick as tc, toRefs as DE, getCurrentScope as Sue, onScopeDispose as Eue, renderSlot as Ei, normalizeStyle as xl, onActivated as _ue, onDeactivated as kue, h as JQ, withModifiers as ad, Teleport as wH, normalizeClass as jr, vShow as Ure, withKeys as E2, vModelText as sQ, resolveDynamicComponent as QQ, normalizeProps as zH, guardReactiveProps as UH, createStaticVNode as jre, createSlots as Wre, getCurrentInstance as Mee, resolveDirective as s3, toRef as rQ } from "vue";
4
+ import { defineComponent as Zo, reactive as FR, provide as oy, inject as sy, ref as Xt, watch as rs, toValue as ot, computed as $t, mergeModels as Zs, useModel as xs, openBlock as Re, createElementBlock as St, Fragment as us, renderList as Ps, createElementVNode as Fe, createVNode as Mt, unref as ge, withCtx as Ut, createCommentVNode as ao, toDisplayString as Nn, createTextVNode as ts, createBlock as Rn, withDirectives as jm, mergeProps as Uc, resolveComponent as _R, isRef as X0, onUnmounted as Wc, watchEffect as Iee, onMounted as mi, onBeforeUnmount as LR, nextTick as tc, toRefs as DE, getCurrentScope as Sue, onScopeDispose as Eue, renderSlot as Ei, normalizeStyle as xl, onActivated as _ue, onDeactivated as kue, h as JQ, withModifiers as ad, Teleport as wH, normalizeClass as jr, vShow as Ure, withKeys as E2, vModelText as sQ, resolveDynamicComponent as QQ, normalizeProps as zH, guardReactiveProps as UH, createStaticVNode as jre, createSlots as Wre, getCurrentInstance as Mee, resolveDirective as s3, toRef as rQ } from "vue";
5
5
  import { isEqual as pr, pickBy as o1, intersection as ry, isUndefined as Q4, flatMap as Tue, groupBy as Aue, flatten as Oue, cloneDeep as na, throttle as lH, debounce as xE, differenceBy as $ue, merge as ioe, uniqBy as Due, isNull as Nue, orderBy as Rue, pick as Zre, assign as Iue, sortBy as Pee } from "lodash-es";
6
6
  import { ElImage as Iu, ElIcon as nc, ElPopover as ay, ElForm as $2, ElFormItem as Wm, ElInput as Md, ElButton as Vi, ElScrollbar as jH, ElLoadingDirective as Bee, ElSelect as ey, ElOption as ty, ElDialog as VR, ElTabs as Fee, ElTabPane as Lee, useFormItem as Mue, ElTooltip as y2, ElTable as Pue, ElTableColumn as GV, ElCheckbox as jc, ElMessageBox as Bue, ElRadioGroup as qre, ElRadio as qm, ElTree as HR, ElDropdown as Fue, ElDropdownMenu as Lue, ElDropdownItem as Vue, ElCheckboxGroup as Hue } from "element-plus";
7
7
  import { UserFilled as s1, CircleCheckFilled as zue, RemoveFilled as Gre, Plus as Uue, CircleClose as jue, CircleCloseFilled as zR, DCaret as Kre, ArrowDown as Wue, Calendar as coe, FullScreen as Zue } from "@element-plus/icons-vue";
8
8
  import { useVueFlow as Gm, useNode as r3, Handle as k2, Position as T2, useEdge as que, getSmoothStepPath as Gue, MarkerType as Kue, BaseEdge as Yue, EdgeLabelRenderer as Xue, VueFlow as Yre } from "@vue-flow/core";
9
9
  import { Background as Xre } from "@vue-flow/background";
10
10
  import { Controls as Jue, ControlButton as aQ } from "@vue-flow/controls";
11
- const Que = "1.0.49";
11
+ const Que = "1.0.50";
12
12
  var ede = Object.defineProperty, tde = (r, a, c) => a in r ? ede(r, a, { enumerable: !0, configurable: !0, writable: !0, value: c }) : r[a] = c, lQ = (r, a, c) => tde(r, typeof a != "symbol" ? a + "" : a, c);
13
13
  function Jre(r, a) {
14
14
  return function() {
@@ -3705,7 +3705,7 @@ const ld = /* @__PURE__ */ i3(Dge), Hb = {
3705
3705
  class: "selected-icon"
3706
3706
  }, zge = ["onClick"], Uge = { class: "truncate pt-[5px] text-center" }, jge = {
3707
3707
  __name: "list",
3708
- props: /* @__PURE__ */ Ys({
3708
+ props: /* @__PURE__ */ Zs({
3709
3709
  sourceData: {
3710
3710
  type: Array,
3711
3711
  default: () => []
@@ -3872,7 +3872,7 @@ const ld = /* @__PURE__ */ i3(Dge), Hb = {
3872
3872
  }
3873
3873
  }, Xge = /* @__PURE__ */ cr(Yge, [["__scopeId", "data-v-c81c1240"]]), Jge = {
3874
3874
  __name: "group",
3875
- props: /* @__PURE__ */ Ys({
3875
+ props: /* @__PURE__ */ Zs({
3876
3876
  // multiple 是否多选
3877
3877
  multiple: {
3878
3878
  type: Boolean,
@@ -3960,7 +3960,7 @@ const ld = /* @__PURE__ */ i3(Dge), Hb = {
3960
3960
  }
3961
3961
  }, Qge = {
3962
3962
  __name: "role",
3963
- props: /* @__PURE__ */ Ys({
3963
+ props: /* @__PURE__ */ Zs({
3964
3964
  // multiple 是否多选
3965
3965
  multiple: {
3966
3966
  type: Boolean,
@@ -4079,7 +4079,7 @@ const ld = /* @__PURE__ */ i3(Dge), Hb = {
4079
4079
  }
4080
4080
  }, ehe = {
4081
4081
  __name: "user",
4082
- props: /* @__PURE__ */ Ys({
4082
+ props: /* @__PURE__ */ Zs({
4083
4083
  // multiple 是否多选
4084
4084
  multiple: {
4085
4085
  type: Boolean,
@@ -4408,7 +4408,7 @@ const ld = /* @__PURE__ */ i3(Dge), Hb = {
4408
4408
  class: "num-text"
4409
4409
  }, che = {
4410
4410
  __name: "index",
4411
- props: /* @__PURE__ */ Ys({
4411
+ props: /* @__PURE__ */ Zs({
4412
4412
  title: {
4413
4413
  type: String,
4414
4414
  default: "人员选择"
@@ -4442,7 +4442,7 @@ const ld = /* @__PURE__ */ i3(Dge), Hb = {
4442
4442
  modelValue: {},
4443
4443
  modelModifiers: {}
4444
4444
  }),
4445
- emits: /* @__PURE__ */ Ys(["ok"], ["update:modelValue"]),
4445
+ emits: /* @__PURE__ */ Zs(["ok"], ["update:modelValue"]),
4446
4446
  setup(r, { emit: a }) {
4447
4447
  const c = Xt(), f = a, g = r, v = xs(r, "modelValue"), y = ele(v), x = tle(v), S = Mge(v), k = (D) => {
4448
4448
  f("ok", D);
@@ -4555,7 +4555,7 @@ const ld = /* @__PURE__ */ i3(Dge), Hb = {
4555
4555
  }
4556
4556
  }, uhe = /* @__PURE__ */ cr(che, [["__scopeId", "data-v-a4fd2caa"]]), dhe = {
4557
4557
  __name: "index",
4558
- props: /* @__PURE__ */ Ys({
4558
+ props: /* @__PURE__ */ Zs({
4559
4559
  //人员选择器选择类型:chooseType:1 显示人员,chooseType:2 显示岗位,chooseType:3 显示部门
4560
4560
  chooseType: {
4561
4561
  type: [Number, Array],
@@ -6911,7 +6911,7 @@ var e_e = [
6911
6911
  return wn(e, (l, u) => {
6912
6912
  o.push(n(l, u));
6913
6913
  }), o;
6914
- }, Kr = (e) => Mr(e, lt), Ts = (e, n) => Eo(e, n) ? se.from(e[n]) : se.none(), Eo = (e, n) => Xs.call(e, n), Zs = (e, n) => Eo(e, n) && e[n] !== void 0 && e[n] !== null, At = (e, n, o = D) => A(o).eq(e, n), Qt = (e) => {
6914
+ }, Kr = (e) => Mr(e, lt), Ts = (e, n) => Eo(e, n) ? se.from(e[n]) : se.none(), Eo = (e, n) => Xs.call(e, n), qs = (e, n) => Eo(e, n) && e[n] !== void 0 && e[n] !== null, At = (e, n, o = D) => A(o).eq(e, n), Qt = (e) => {
6915
6915
  const n = {};
6916
6916
  return ce(e, (o) => {
6917
6917
  n[o] = {};
@@ -7032,7 +7032,7 @@ var e_e = [
7032
7032
  }), Jn = (e, n) => e.substring(n), so = (e, n, o) => n === "" || e.length >= n.length && e.substr(o, o + n.length) === n, eo = (e, n) => Po(e, n) ? Jn(e, n.length) : e, _o = (e, n, o = 0, l) => {
7033
7033
  const u = e.indexOf(n, o);
7034
7034
  return u !== -1 ? ke(l) ? !0 : u + n.length <= l : !1;
7035
- }, Po = (e, n) => so(e, n, 0), ls = (e, n) => so(e, n, e.length - n.length), qs = (e) => (n) => n.replace(e, ""), Vs = qs(/^\s+|\s+$/g), pl = qs(/^\s+/g), ya = qs(/\s+$/g), ns = (e) => e.length > 0, ps = (e) => !ns(e), vs = (e, n) => n <= 0 ? "" : new Array(n + 1).join(e), Ta = (e, n = 10) => {
7035
+ }, Po = (e, n) => so(e, n, 0), ls = (e, n) => so(e, n, e.length - n.length), Gs = (e) => (n) => n.replace(e, ""), Vs = Gs(/^\s+|\s+$/g), pl = Gs(/^\s+/g), ya = Gs(/\s+$/g), ns = (e) => e.length > 0, ps = (e) => !ns(e), vs = (e, n) => n <= 0 ? "" : new Array(n + 1).join(e), Ta = (e, n = 10) => {
7036
7036
  const o = parseInt(e, n);
7037
7037
  return isNaN(o) ? se.none() : se.some(o);
7038
7038
  }, wa = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Aa = (e) => (n) => _o(n, e), gr = [
@@ -7384,7 +7384,7 @@ var e_e = [
7384
7384
  }, Ld = (e, n) => {
7385
7385
  const o = n === void 0 ? document : n.dom;
7386
7386
  return sv(o) ? se.none() : se.from(o.querySelector(e)).map(ft.fromDom);
7387
- }, Gs = (e, n) => e.dom === n.dom, Sa = (e, n) => {
7387
+ }, Ks = (e, n) => e.dom === n.dom, Sa = (e, n) => {
7388
7388
  const o = e.dom, l = n.dom;
7389
7389
  return o === l ? !1 : o.contains(l);
7390
7390
  }, Pl = (e) => ft.fromDom(e.dom.ownerDocument), ud = (e) => Ra(e) ? e : Pl(e), Jg = (e) => ft.fromDom(ud(e).dom.documentElement), Of = (e) => ft.fromDom(ud(e).dom.defaultView), Ql = (e) => se.from(e.dom.parentNode).map(ft.fromDom), ep = (e) => se.from(e.dom.parentElement).map(ft.fromDom), tp = (e, n) => {
@@ -7399,7 +7399,7 @@ var e_e = [
7399
7399
  }
7400
7400
  return u;
7401
7401
  }, dd = (e) => {
7402
- const n = (o) => nt(o, (l) => !Gs(e, l));
7402
+ const n = (o) => nt(o, (l) => !Ks(e, l));
7403
7403
  return Ql(e).map(_l).map(n).getOr([]);
7404
7404
  }, fd = (e) => se.from(e.dom.previousSibling).map(ft.fromDom), rm = (e) => se.from(e.dom.nextSibling).map(ft.fromDom), Oc = (e) => Pn(Af(e, fd)), np = (e) => Af(e, rm), _l = (e) => ze(e.dom.childNodes, ft.fromDom), md = (e, n) => {
7405
7405
  const o = e.dom.childNodes;
@@ -7444,7 +7444,7 @@ var e_e = [
7444
7444
  return se.none();
7445
7445
  }, sa = (e, n, o) => sp((u, p) => p(u), Bu, e, n, o), ll = (e, n) => {
7446
7446
  const o = e.dom;
7447
- return o.parentNode ? ki(ft.fromDom(o.parentNode), (l) => !Gs(e, l) && n(l)) : se.none();
7447
+ return o.parentNode ? ki(ft.fromDom(o.parentNode), (l) => !Ks(e, l) && n(l)) : se.none();
7448
7448
  }, ki = (e, n) => {
7449
7449
  const o = (u) => n(ft.fromDom(u));
7450
7450
  return ln(e.dom.childNodes, o).map(ft.fromDom);
@@ -7725,7 +7725,7 @@ var e_e = [
7725
7725
  checkRootAsContent: !1
7726
7726
  }, lr = (e, n, o) => {
7727
7727
  const l = ft.fromDom(n), u = ft.fromDom(e), p = o.getWhitespaceElements();
7728
- return p1(u, (T) => Eo(p, Ve(T)), ue(Gs, l));
7728
+ return p1(u, (T) => Eo(p, Ve(T)), ue(Ks, l));
7729
7729
  }, Zd = (e) => uo(e) && e.nodeName === "A" && !e.hasAttribute("href") && (e.hasAttribute("name") || e.hasAttribute("id")), nh = (e, n) => uo(e) && Eo(n.getNonEmptyElements(), e.nodeName), Ma = um("data-mce-bookmark"), oh = (e) => ep(ft.fromDom(e)).exists((n) => !gd(n)), Rf = (e, n, o) => Cu(e.data) && !lr(e, n, o), fy = (e, n, o, l) => In(e) && !Rf(e, n, o) && (!l.includeZwsp || !ip(e.data)), Zi = (e, n, o, l) => fe(l.isContent) && l.isContent(n) || nh(n, e) || Ma(n) || Zd(n) || fy(n, o, e, l) || sr(n) || yn(n) && oh(n), Kc = (e, n, o) => {
7730
7730
  const l = {
7731
7731
  ...uc,
@@ -7841,7 +7841,7 @@ var e_e = [
7841
7841
  hs(e, w, !1), Kc(e, p, { checkRootAsContent: !0 }) || u.insertBefore(p, n), Kc(e, o, { checkRootAsContent: !0 }) || u.insertBefore(o, n), Kc(e, w, { checkRootAsContent: !0 }) || u.insertBefore(w, n), u.removeChild(n);
7842
7842
  }
7843
7843
  }, Sr = (e, n, o) => {
7844
- const l = e.getBlockElements(), u = ft.fromDom(n), p = (T) => Ve(T) in l, w = (T) => Gs(T, u);
7844
+ const l = e.getBlockElements(), u = ft.fromDom(n), p = (T) => Ve(T) in l, w = (T) => Ks(T, u);
7845
7845
  ce(Ud(o), (T) => {
7846
7846
  Bu(T, p, w).each(($) => {
7847
7847
  const z = im(T, (J) => p(J) && !e.isValidChild(Ve($), Ve(J)));
@@ -7871,12 +7871,12 @@ var e_e = [
7871
7871
  ko(o, n);
7872
7872
  }
7873
7873
  }, dc = (e, n, o) => {
7874
- const l = (p) => Gs(p, ft.fromDom(n)), u = tp(ft.fromDom(o), l);
7874
+ const l = (p) => Ks(p, ft.fromDom(n)), u = tp(ft.fromDom(o), l);
7875
7875
  vn(u, u.length - 2).filter(ws).fold(() => qi(e, n), (p) => qi(e, p.dom));
7876
7876
  }, Hu = (e) => e.hasAttribute(bt), lg = (e, n) => Eo(e.getTransparentElements(), n), ig = (e, n) => uo(n) && lg(e, n.nodeName), Gi = (e, n) => ig(e, n) && Hu(n), cg = (e, n) => ig(e, n) && !Hu(n), ug = (e, n) => n.type === 1 && lg(e, n.name) && P(n.attr(bt)), y1 = Za().browser, sh = (e) => ln(e, ws), kl = (e) => y1.isFirefox() && Ve(e) === "table" ? sh(_l(e)).filter((n) => Ve(n) === "caption").bind((n) => sh(np(n)).map((o) => {
7877
7877
  const l = o.dom.offsetTop, u = n.dom.offsetTop, p = n.dom.offsetHeight;
7878
7878
  return l <= u ? -p : 0;
7879
- })).getOr(0) : 0, zu = (e, n) => e.children && ye(e.children, n), Ks = (e, n, o) => {
7879
+ })).getOr(0) : 0, zu = (e, n) => e.children && ye(e.children, n), Ys = (e, n, o) => {
7880
7880
  let l = 0, u = 0;
7881
7881
  const p = e.ownerDocument;
7882
7882
  if (o = o || e, n) {
@@ -8853,7 +8853,7 @@ var e_e = [
8853
8853
  w: tn.width,
8854
8854
  h: tn.height
8855
8855
  };
8856
- }, to = (Gt, tn) => Ks(e.body, Oe(Gt), tn), fn = (Gt, tn, no) => {
8856
+ }, to = (Gt, tn) => Ys(e.body, Oe(Gt), tn), fn = (Gt, tn, no) => {
8857
8857
  Vo(Gt, (Gn) => {
8858
8858
  const Xo = ft.fromDom(Gn);
8859
8859
  gv(Xo, tn, no), n.update_styles && LE(ee, Xo);
@@ -8960,7 +8960,7 @@ var e_e = [
8960
8960
  }), go = (Gt, tn, no) => Tn(e.createElement(Gt), Gt, tn, no, !0), ss = gm.decode, Hr = gm.encodeAllRaw, zs = (Gt, tn, no = "") => {
8961
8961
  let Gn = "<" + Gt;
8962
8962
  for (const Xo in tn)
8963
- Zs(tn, Xo) && (Gn += " " + Xo + '="' + Hr(tn[Xo]) + '"');
8963
+ qs(tn, Xo) && (Gn += " " + Xo + '="' + Hr(tn[Xo]) + '"');
8964
8964
  return ps(no) && Eo(J.getVoidElements(), Gt) ? Gn + " />" : Gn + ">" + no + "</" + Gt + ">";
8965
8965
  }, Bi = (Gt) => {
8966
8966
  const tn = e.createElement("div"), no = e.createDocumentFragment();
@@ -9391,7 +9391,7 @@ var e_e = [
9391
9391
  }, n);
9392
9392
  }
9393
9393
  };
9394
- }, k3 = (e, n, o) => am(e, n, o).isSome(), yv = ie("mce-annotation"), hg = ie("data-mce-annotation"), dh = ie("data-mce-annotation-uid"), bm = ie("data-mce-annotation-active"), bg = ie("data-mce-annotation-classes"), vg = ie("data-mce-annotation-attrs"), wv = (e) => (n) => Gs(n, e), zE = (e, n) => {
9394
+ }, k3 = (e, n, o) => am(e, n, o).isSome(), yv = ie("mce-annotation"), hg = ie("data-mce-annotation"), dh = ie("data-mce-annotation-uid"), bm = ie("data-mce-annotation-active"), bg = ie("data-mce-annotation-classes"), vg = ie("data-mce-annotation-attrs"), wv = (e) => (n) => Ks(n, e), zE = (e, n) => {
9395
9395
  const o = e.selection.getRng(), l = ft.fromDom(o.startContainer), u = ft.fromDom(e.getBody()), p = n.fold(() => "." + yv(), ($) => `[${hg()}="${$}"]`), w = md(l, o.startOffset).getOr(l);
9396
9396
  return $o(w, p, wv(u)).bind(($) => ba($, `${dh()}`).bind((z) => ba($, `${hg()}`).map((J) => {
9397
9397
  const ee = fh(e, z);
@@ -11267,7 +11267,7 @@ Required: ` + n.join(", "));
11267
11267
  const n = e.endContainer, o = e.endOffset;
11268
11268
  return In(n) ? o === n.data.length ? se.some(ft.fromDom(n)) : se.none() : se.from(n.childNodes[o - 1]).map(ft.fromDom);
11269
11269
  }, WC = (e) => qc(e).fold(ie([e]), (n) => [e].concat(WC(n))), J1 = (e) => ei(e).fold(ie([e]), (n) => Ve(n) === "br" ? fd(n).map((o) => [e].concat(J1(o))).getOr([]) : [e].concat(J1(n))), ZC = (e, n) => da(Ih(n), SI(n), (o, l) => {
11270
- const u = ln(WC(e), ue(Gs, o)), p = ln(J1(e), ue(Gs, l));
11270
+ const u = ln(WC(e), ue(Ks, o)), p = ln(J1(e), ue(Ks, l));
11271
11271
  return u.isSome() && p.isSome();
11272
11272
  }).getOr(!1), qC = (e, n, o, l) => {
11273
11273
  const u = o, p = new ni(o, u), w = Ls(e.schema.getMoveCaretBeforeOnEnterElements(), ($, z) => !ye([
@@ -11392,7 +11392,7 @@ Required: ` + n.join(", "));
11392
11392
  return At(w, $);
11393
11393
  });
11394
11394
  });
11395
- }, Tm = (e) => Zs(e, "block"), BO = (e) => Tm(e) && e.wrapper === !0, QC = (e) => Tm(e) && e.wrapper !== !0, _d = (e) => Zs(e, "selector"), Hl = (e) => Zs(e, "inline"), vw = (e) => _d(e) && Hl(e) && Oa(Ts(e, "mixed"), !0), eb = (e) => _d(e) && e.expand !== !1 && !Hl(e), ex = (e) => {
11395
+ }, Tm = (e) => qs(e, "block"), BO = (e) => Tm(e) && e.wrapper === !0, QC = (e) => Tm(e) && e.wrapper !== !0, _d = (e) => qs(e, "selector"), Hl = (e) => qs(e, "inline"), vw = (e) => _d(e) && Hl(e) && Oa(Ts(e, "mixed"), !0), eb = (e) => _d(e) && e.expand !== !1 && !Hl(e), ex = (e) => {
11396
11396
  const n = [];
11397
11397
  let o = e;
11398
11398
  for (; o; ) {
@@ -11693,7 +11693,7 @@ Required: ` + n.join(", "));
11693
11693
  }, cx = (e, n) => {
11694
11694
  const o = _r(n) ? $1(n).length : _l(n).length + 1;
11695
11695
  return e > o ? o : e < 0 ? 0 : e;
11696
- }, ux = (e) => sb.range(e.start, cx(e.soffset, e.start), e.finish, cx(e.foffset, e.finish)), Fk = (e, n) => !cm(n.dom) && (Sa(e, n) || Gs(e, n)), Lk = (e) => (n) => Fk(e, n.start) && Fk(e, n.finish), UO = (e) => e.inline || mt.browser.isFirefox(), kI = (e) => sb.range(ft.fromDom(e.startContainer), e.startOffset, ft.fromDom(e.endContainer), e.endOffset), jO = (e) => {
11696
+ }, ux = (e) => sb.range(e.start, cx(e.soffset, e.start), e.finish, cx(e.foffset, e.finish)), Fk = (e, n) => !cm(n.dom) && (Sa(e, n) || Ks(e, n)), Lk = (e) => (n) => Fk(e, n.start) && Fk(e, n.finish), UO = (e) => e.inline || mt.browser.isFirefox(), kI = (e) => sb.range(ft.fromDom(e.startContainer), e.startOffset, ft.fromDom(e.endContainer), e.endOffset), jO = (e) => {
11697
11697
  const n = e.getSelection();
11698
11698
  return (!n || n.rangeCount === 0 ? se.none() : se.from(n.getRangeAt(0))).map(kI);
11699
11699
  }, WO = (e) => {
@@ -12881,7 +12881,7 @@ Required: ` + n.join(", "));
12881
12881
  }), a$ = ue(vM, !0, km), l$ = ue(vM, !1, km), Gz = (e) => {
12882
12882
  const n = e.container();
12883
12883
  return In(n) && (n.data.length === 0 || Oy(n.data) && Hf.isBookmarkNode(n.parentNode));
12884
- }, ib = (e, n) => (o) => _m(e ? 0 : -1, o).filter(n).isSome(), Bo = (e) => v1(e) && Ia(ft.fromDom(e), "display") === "block", i$ = (e) => sr(e) && !th(e), yM = ib(!0, Bo), Kz = ib(!1, Bo), l0 = ib(!0, Bl), Ex = ib(!1, Bl), wM = ib(!0, bd), c$ = ib(!1, bd), cb = ib(!0, i$), ub = ib(!1, i$), Yk = (e) => e.slice(0, -1), CM = (e, n, o) => Sa(n, e) ? Yk(tp(e, (l) => o(l) || Gs(l, n))) : [], Yz = (e, n) => CM(e, n, Ye), Fh = (e, n) => [e].concat(Yz(e, n)), as = (e, n, o) => Vf(e, n, o, Gz), Xz = (e) => (n) => e.isBlock(Ve(n)), cs = (e, n, o) => ln(Fh(ft.fromDom(n.container()), e), Xz(o)), u$ = (e, n, o, l) => as(e, n.dom, o).forall((u) => cs(n, o, l).fold(() => !ef(u, o, n.dom), (p) => !ef(u, o, n.dom) && Sa(p, ft.fromDom(u.container())))), Jz = (e, n, o, l) => cs(n, o, l).fold(() => as(e, n.dom, o).forall((u) => !ef(u, o, n.dom)), (u) => as(e, u.dom, o).isNone()), xM = ue(Jz, !1), SM = ue(Jz, !0), $te = ue(u$, !1), Dte = ue(u$, !0), Qz = (e) => rw(e).exists(Da), Xk = (e, n, o, l) => {
12884
+ }, ib = (e, n) => (o) => _m(e ? 0 : -1, o).filter(n).isSome(), Bo = (e) => v1(e) && Ia(ft.fromDom(e), "display") === "block", i$ = (e) => sr(e) && !th(e), yM = ib(!0, Bo), Kz = ib(!1, Bo), l0 = ib(!0, Bl), Ex = ib(!1, Bl), wM = ib(!0, bd), c$ = ib(!1, bd), cb = ib(!0, i$), ub = ib(!1, i$), Yk = (e) => e.slice(0, -1), CM = (e, n, o) => Sa(n, e) ? Yk(tp(e, (l) => o(l) || Ks(l, n))) : [], Yz = (e, n) => CM(e, n, Ye), Fh = (e, n) => [e].concat(Yz(e, n)), as = (e, n, o) => Vf(e, n, o, Gz), Xz = (e) => (n) => e.isBlock(Ve(n)), cs = (e, n, o) => ln(Fh(ft.fromDom(n.container()), e), Xz(o)), u$ = (e, n, o, l) => as(e, n.dom, o).forall((u) => cs(n, o, l).fold(() => !ef(u, o, n.dom), (p) => !ef(u, o, n.dom) && Sa(p, ft.fromDom(u.container())))), Jz = (e, n, o, l) => cs(n, o, l).fold(() => as(e, n.dom, o).forall((u) => !ef(u, o, n.dom)), (u) => as(e, u.dom, o).isNone()), xM = ue(Jz, !1), SM = ue(Jz, !0), $te = ue(u$, !1), Dte = ue(u$, !0), Qz = (e) => rw(e).exists(Da), Xk = (e, n, o, l) => {
12885
12885
  const u = nt(Fh(ft.fromDom(o.container()), n), (w) => l.isBlock(Ve(w))), p = pn(u).getOr(n);
12886
12886
  return qu(e, p.dom, o).filter(Qz);
12887
12887
  }, es = (e, n, o) => rw(n).exists(Da) || Xk(!0, e, n, o).isSome(), Jk = (e, n, o) => AO(n).exists(Da) || Xk(!1, e, n, o).isSome(), EM = ue(Xk, !1), eU = ue(Xk, !0), $w = (e) => an.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), d$ = (e, n, o) => {
@@ -12992,7 +12992,7 @@ Required: ` + n.join(", "));
12992
12992
  e.on("beforeinput input", o, !0), e.getDoc().execCommand(n), e.off("beforeinput input", o);
12993
12993
  }, SU = (e) => {
12994
12994
  e.execCommand("delete");
12995
- }, tT = (e) => fb(e, "Delete"), Na = (e) => fb(e, "ForwardDelete"), nT = (e) => (n) => Oa(Ql(n), e, Gs), kx = (e) => XE(e) || N1(e), oT = (e, n) => Sa(e, n) ? sa(n, kx, nT(e)) : se.none(), mb = (e, n = !0) => {
12995
+ }, tT = (e) => fb(e, "Delete"), Na = (e) => fb(e, "ForwardDelete"), nT = (e) => (n) => Oa(Ql(n), e, Ks), kx = (e) => XE(e) || N1(e), oT = (e, n) => Sa(e, n) ? sa(n, kx, nT(e)) : se.none(), mb = (e, n = !0) => {
12996
12996
  e.dom.isEmpty(e.getBody()) && e.setContent("", { no_selection: !n });
12997
12997
  }, af = (e, n, o) => da(Al(o), of(o), (l, u) => {
12998
12998
  const p = zf(!0, l), w = zf(!1, u), T = zf(!1, n);
@@ -13001,14 +13001,14 @@ Required: ` + n.join(", "));
13001
13001
  var u;
13002
13002
  n.deleteContents();
13003
13003
  const p = Rw(o).getOr(o), w = ft.fromDom((u = e.dom.getParent(p.dom, e.dom.isBlock)) !== null && u !== void 0 ? u : o.dom);
13004
- if (w.dom === e.getBody() ? mb(e, l) : It(e.schema, w, { checkRootAsContent: !1 }) && (xg(w), l && e.selection.setCursorLocation(w.dom, 0)), !Gs(o, w)) {
13004
+ if (w.dom === e.getBody() ? mb(e, l) : It(e.schema, w, { checkRootAsContent: !1 }) && (xg(w), l && e.selection.setCursorLocation(w.dom, 0)), !Ks(o, w)) {
13005
13005
  const T = Oa(Ql(w), o) ? [] : dd(w);
13006
13006
  ce(T.concat(_l(o)), ($) => {
13007
- !Gs($, w) && !Sa($, w) && It(e.schema, $) && Or($);
13007
+ !Ks($, w) && !Sa($, w) && It(e.schema, $) && Or($);
13008
13008
  });
13009
13009
  }
13010
- }, Tx = (e) => (n) => Gs(e, n), sT = (e) => ti(e, "td,th"), S$ = (e, n) => Rh(ft.fromDom(e), n), rT = (e) => da(e.startTable, e.endTable, (n, o) => {
13011
- const l = g1(n, (p) => Gs(p, o)), u = g1(o, (p) => Gs(p, n));
13010
+ }, Tx = (e) => (n) => Ks(e, n), sT = (e) => ti(e, "td,th"), S$ = (e, n) => Rh(ft.fromDom(e), n), rT = (e) => da(e.startTable, e.endTable, (n, o) => {
13011
+ const l = g1(n, (p) => Ks(p, o)), u = g1(o, (p) => Ks(p, n));
13012
13012
  return !l && !u ? e : {
13013
13013
  ...e,
13014
13014
  startTable: l ? se.none() : e.startTable,
@@ -13017,7 +13017,7 @@ Required: ` + n.join(", "));
13017
13017
  isMultiTable: !1
13018
13018
  };
13019
13019
  }).getOr(e), E$ = (e) => rT(e), _$ = (e, n) => {
13020
- const o = S$(e.startContainer, n), l = S$(e.endContainer, n), u = o.isSome(), p = l.isSome(), w = da(o, l, Gs).getOr(!1);
13020
+ const o = S$(e.startContainer, n), l = S$(e.endContainer, n), u = o.isSome(), p = l.isSome(), w = da(o, l, Ks).getOr(!1);
13021
13021
  return E$({
13022
13022
  startTable: o,
13023
13023
  endTable: l,
@@ -13054,7 +13054,7 @@ Required: ` + n.join(", "));
13054
13054
  "betweenRng"
13055
13055
  ]
13056
13056
  }
13057
- ]), Iw = (e, n) => $o(ft.fromDom(e), "td,th", n), T$ = (e) => !Gs(e.start, e.end), A$ = (e, n) => Rh(e.start, n).bind((o) => Rh(e.end, n).bind((l) => Rl(Gs(o, l), o))), FM = (e, n) => !T$(e) && A$(e, n).exists((o) => {
13057
+ ]), Iw = (e, n) => $o(ft.fromDom(e), "td,th", n), T$ = (e) => !Ks(e.start, e.end), A$ = (e, n) => Rh(e.start, n).bind((o) => Rh(e.end, n).bind((l) => Rl(Ks(o, l), o))), FM = (e, n) => !T$(e) && A$(e, n).exists((o) => {
13058
13058
  const l = o.dom.rows;
13059
13059
  return l.length === 1 && l[0].cells.length === 1;
13060
13060
  }), LM = (e, n) => {
@@ -13076,7 +13076,7 @@ Required: ` + n.join(", "));
13076
13076
  end: T
13077
13077
  });
13078
13078
  }
13079
- }, HM = (e, n) => Un(e, (o) => Gs(o, n)), O$ = (e) => da(HM(e.cells, e.rng.start), HM(e.cells, e.rng.end), (n, o) => e.cells.slice(n, o + 1)), zM = (e, n, o) => e.exists((l) => FM(l, o) && ZC(l.start, n)), $$ = (e, n) => {
13079
+ }, HM = (e, n) => Un(e, (o) => Ks(o, n)), O$ = (e) => da(HM(e.cells, e.rng.start), HM(e.cells, e.rng.end), (n, o) => e.cells.slice(n, o + 1)), zM = (e, n, o) => e.exists((l) => FM(l, o) && ZC(l.start, n)), $$ = (e, n) => {
13080
13080
  const { startTable: o, endTable: l } = n, u = e.cloneRange();
13081
13081
  return o.each((p) => u.setStartAfter(p.dom)), l.each((p) => u.setEndBefore(p.dom)), u;
13082
13082
  }, UM = (e, n, o, l) => lT(e, n, o, l).bind(({ start: u, end: p }) => u.or(p)).bind((u) => {
@@ -13116,7 +13116,7 @@ Required: ` + n.join(", "));
13116
13116
  l ? (u.setStart(o.startContainer, o.startOffset), u.setEndAfter(n.dom.lastChild)) : (u.setStartBefore(n.dom.firstChild), u.setEnd(o.endContainer, o.endOffset)), uT(e, u, n, !1).each((p) => p());
13117
13117
  }, N$ = (e) => {
13118
13118
  const n = Nh(e), o = ft.fromDom(e.selection.getNode());
13119
- Ka(o.dom) && It(e.schema, o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && Le(n, (l) => Gs(l, o)) && xa(o, "data-mce-selected", "1");
13119
+ Ka(o.dom) && It(e.schema, o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && Le(n, (l) => Ks(l, o)) && xa(o, "data-mce-selected", "1");
13120
13120
  }, R$ = (e, n, o) => se.some(() => {
13121
13121
  const l = e.selection.getRng(), u = o.bind(({ rng: p, isStartInTable: w }) => {
13122
13122
  const T = WM(e, w ? p.endContainer : p.startContainer);
@@ -13135,9 +13135,9 @@ Required: ` + n.join(", "));
13135
13135
  }), GM = (e, n) => se.some(() => c0(e, !1, n)), I$ = (e, n, o) => jM(n, o).bind((l) => l.fold(ue(uT, e), ue(GM, e), ue(R$, e), ue(qM, e))), KM = (e, n) => Ox(e, n), YM = (e, n, o, l) => dT(n, l).fold(() => I$(e, n, o), (u) => KM(e, u)), XM = (e, n, o) => {
13136
13136
  const l = ft.fromDom(e.getBody()), u = e.selection.getRng();
13137
13137
  return o.length !== 0 ? R$(e, o, se.none()) : YM(e, l, u, n);
13138
- }, M$ = (e, n) => ln(Fh(n, e), Jc), dT = (e, n) => ln(Fh(n, e), Ml("caption")), JM = (e, n, o, l, u) => Dg(o, e.getBody(), u).bind((p) => M$(n, ft.fromDom(p.getNode())).bind((w) => Gs(w, l) ? se.none() : se.some(Ce))), Ox = (e, n) => se.some(() => {
13138
+ }, M$ = (e, n) => ln(Fh(n, e), Jc), dT = (e, n) => ln(Fh(n, e), Ml("caption")), JM = (e, n, o, l, u) => Dg(o, e.getBody(), u).bind((p) => M$(n, ft.fromDom(p.getNode())).bind((w) => Ks(w, l) ? se.none() : se.some(Ce))), Ox = (e, n) => se.some(() => {
13139
13139
  xg(n), e.selection.setCursorLocation(n.dom, 0);
13140
- }), P$ = (e, n, o, l) => Al(e.dom).bind((u) => of(e.dom).map((p) => n ? o.isEqual(u) && l.isEqual(p) : o.isEqual(p) && l.isEqual(u))).getOr(!0), fT = (e, n) => Ox(e, n), QM = (e, n, o) => dT(e, ft.fromDom(o.getNode())).fold(() => se.some(Ce), (l) => Rl(!Gs(l, n), Ce)), EU = (e, n, o, l, u) => Dg(o, e.getBody(), u).fold(() => se.some(Ce), (p) => P$(l, o, u, p) ? fT(e, l) : QM(n, l, p)), e8 = (e, n, o, l) => {
13140
+ }), P$ = (e, n, o, l) => Al(e.dom).bind((u) => of(e.dom).map((p) => n ? o.isEqual(u) && l.isEqual(p) : o.isEqual(p) && l.isEqual(u))).getOr(!0), fT = (e, n) => Ox(e, n), QM = (e, n, o) => dT(e, ft.fromDom(o.getNode())).fold(() => se.some(Ce), (l) => Rl(!Ks(l, n), Ce)), EU = (e, n, o, l, u) => Dg(o, e.getBody(), u).fold(() => se.some(Ce), (p) => P$(l, o, u, p) ? fT(e, l) : QM(n, l, p)), e8 = (e, n, o, l) => {
13141
13141
  const u = an.fromRangeStart(e.selection.getRng());
13142
13142
  return M$(o, l).bind((p) => It(e.schema, p, { checkRootAsContent: !1 }) ? Ox(e, p) : JM(e, o, n, p, u));
13143
13143
  }, mT = (e, n, o, l) => {
@@ -13651,7 +13651,7 @@ Required: ` + n.join(", "));
13651
13651
  }
13652
13652
  }, e.dom.getRoot()), l;
13653
13653
  }, c8 = (e, n) => {
13654
- const o = (u) => Gs(u, ft.fromDom(e.getBody())), l = (u, p) => Dp(e, u.dom, p) ? se.some(p) : se.none();
13654
+ const o = (u) => Ks(u, ft.fromDom(e.getBody())), l = (u, p) => Dp(e, u.dom, p) ? se.some(p) : se.none();
13655
13655
  return se.from(e.selection.getStart(!0)).bind((u) => wT(ft.fromDom(u), (p) => zo(n, (w) => l(p, w)), o)).getOrNull();
13656
13656
  }, ST = (e, n) => {
13657
13657
  const o = e.formatter.get(n), l = e.dom;
@@ -14134,7 +14134,7 @@ Required: ` + n.join(", "));
14134
14134
  }, jx = gn.each, JU = (e, n, o, l) => {
14135
14135
  if (Ky(e) && Hl(n) && o.parentNode) {
14136
14136
  const u = P2(e.schema), p = iy(ft.fromDom(o), (w) => Gu(w.dom));
14137
- return Zs(u, l) && Kc(e.schema, o.parentNode, {
14137
+ return qs(u, l) && Kc(e.schema, o.parentNode, {
14138
14138
  skipBogus: !1,
14139
14139
  includeZwsp: !0
14140
14140
  }) && !p;
@@ -15589,7 +15589,7 @@ Required: ` + n.join(", "));
15589
15589
  for (let l = 0; l < o.length; l++) {
15590
15590
  const u = o[l].cells;
15591
15591
  for (let p = 0; p < u.length; p++)
15592
- if (Gs(u[p], n))
15592
+ if (Ks(u[p], n))
15593
15593
  return se.some(bP(p, l));
15594
15594
  }
15595
15595
  return se.none();
@@ -15634,7 +15634,7 @@ Required: ` + n.join(", "));
15634
15634
  ]) : D1(e) ? [e] : [], jT = (e, n, o) => {
15635
15635
  const l = ft.fromDom(n.commonAncestorContainer), u = Fh(l, e), p = nt(u, ($) => o.isWrapper(Ve($))), w = eS(u, n), T = p.concat(w.length ? w : EP(l));
15636
15636
  return ze(T, vm);
15637
- }, _P = () => vx([]), Nj = (e, n, o) => SP(ft.fromDom(n.cloneContents()), jT(e, n, o)), C0 = (e, n) => am(n, "table", ue(Gs, e)), LD = (e, n) => C0(e, n[0]).bind((o) => {
15637
+ }, _P = () => vx([]), Nj = (e, n, o) => SP(ft.fromDom(n.cloneContents()), jT(e, n, o)), C0 = (e, n) => am(n, "table", ue(Ks, e)), LD = (e, n) => C0(e, n[0]).bind((o) => {
15638
15638
  const l = n[0], u = n[n.length - 1], p = Oj(o);
15639
15639
  return Dj(p, l, u).map((w) => vx([$j(w)]));
15640
15640
  }).getOrThunk(_P), kP = (e, n, o) => n.length > 0 && n[0].collapsed ? _P() : Nj(e, n[0], o), tS = (e, n, o) => {
@@ -16718,7 +16718,7 @@ Options:${w}${o.join(w)}` : "";
16718
16718
  o.attr("contenteditable", o.attr(Yw));
16719
16719
  });
16720
16720
  }), e.serializer.addTempAttr(Yw);
16721
- }, GW = (e) => e.type === "click", Bs = ["copy"], KW = (e) => ye(Bs, e.type), dS = (e, n) => $o(n, "a", (l) => Gs(l, ft.fromDom(e.getBody()))).bind((l) => ba(l, "href")), YW = (e, n) => {
16721
+ }, GW = (e) => e.type === "click", Bs = ["copy"], KW = (e) => ye(Bs, e.type), dS = (e, n) => $o(n, "a", (l) => Ks(l, ft.fromDom(e.getBody()))).bind((l) => ba(l, "href")), YW = (e, n) => {
16722
16722
  if (GW(n) && !xn.metaKeyPressed(n)) {
16723
16723
  const o = ft.fromDom(n.target);
16724
16724
  dS(e, o).each((l) => {
@@ -17737,9 +17737,9 @@ Options:${w}${o.join(w)}` : "";
17737
17737
  }), g5 = (e, n) => {
17738
17738
  const o = ft.fromDom(e), l = ft.fromDom(n.container());
17739
17739
  return oT(o, l).map((u) => rne(u, n));
17740
- }, h5 = (e) => !(Sa(e.to.block, e.from.block) || Sa(e.from.block, e.to.block)), uZ = (e) => !Gs(e.from.block, e.to.block), M7 = (e, n) => sa(n, (u) => Jc(u) || yn(u.dom), (u) => Gs(u, e)).filter(ws).getOr(e), dZ = (e, n) => {
17740
+ }, h5 = (e) => !(Sa(e.to.block, e.from.block) || Sa(e.from.block, e.to.block)), uZ = (e) => !Ks(e.from.block, e.to.block), M7 = (e, n) => sa(n, (u) => Jc(u) || yn(u.dom), (u) => Ks(u, e)).filter(ws).getOr(e), dZ = (e, n) => {
17741
17741
  const o = ft.fromDom(e);
17742
- return Gs(M7(o, n.from.block), M7(o, n.to.block));
17742
+ return Ks(M7(o, n.from.block), M7(o, n.to.block));
17743
17743
  }, fZ = (e) => sr(e.from.block.dom) === !1 && sr(e.to.block.dom) === !1, E0 = (e) => {
17744
17744
  const n = (o) => XE(o) || Hu(o.dom) || N1(o);
17745
17745
  return n(e.from.block) && n(e.to.block);
@@ -17792,13 +17792,13 @@ Options:${w}${o.join(w)}` : "";
17792
17792
  });
17793
17793
  }, sA = (e, n, o) => {
17794
17794
  const l = n.getRng();
17795
- return da(oT(e, ft.fromDom(l.startContainer)), oT(e, ft.fromDom(l.endContainer)), (u, p) => Gs(u, p) ? se.none() : se.some(() => {
17795
+ return da(oT(e, ft.fromDom(l.startContainer)), oT(e, ft.fromDom(l.endContainer)), (u, p) => Ks(u, p) ? se.none() : se.some(() => {
17796
17796
  l.deleteContents(), w5(e, !0, u, p, o).each((w) => {
17797
17797
  n.setRng(w.toRange());
17798
17798
  });
17799
17799
  })).getOr(se.none());
17800
17800
  }, C5 = (e, n) => {
17801
- const o = ft.fromDom(n), l = ue(Gs, e);
17801
+ const o = ft.fromDom(n), l = ue(Ks, e);
17802
17802
  return Bu(o, Jc, l).isSome();
17803
17803
  }, L7 = (e, n) => C5(e, n.startContainer) || C5(e, n.endContainer), V7 = (e, n) => {
17804
17804
  const o = wi(e.dom, an.fromRangeStart(n)).isNone(), l = Ri(e.dom, an.fromRangeEnd(n)).isNone();
@@ -18076,7 +18076,7 @@ Options:${w}${o.join(w)}` : "";
18076
18076
  }).getOr([]), V5 = (e, n) => dt(e, (o, l) => o.fold(() => se.some(l), (u) => da(pn(u.getClientRects()), pn(l.getClientRects()), (p, w) => {
18077
18077
  const T = Math.abs(n - p.left);
18078
18078
  return Math.abs(n - w.left) <= T ? l : u;
18079
- }).or(o)), se.none()), hA = (e, n) => pn(n.getClientRects()).bind((o) => V5(e, o.left)), yS = ue(rB, an.isAbove, -1), wS = ue(rB, an.isBelow, 1), lB = ue(aB, -1, yS), iB = ue(aB, 1, wS), MZ = (e, n) => yS(e, n).breakAt.isNone(), Yf = (e, n) => wS(e, n).breakAt.isNone(), H5 = (e) => Al(e).map((n) => [n].concat(wS(e, n).positions)).getOr([]), cB = (e) => of(e).map((n) => yS(e, n).positions.concat(n)).getOr([]), uB = (e, n) => hA(lB(e, n), n), PZ = (e, n) => hA(iB(e, n), n), dB = sr, fB = (e, n) => Math.abs(e.left - n), z5 = (e, n) => Math.abs(e.right - n), BZ = (e) => Zs(e, "node"), mB = (e, n) => it(e, (o, l) => {
18079
+ }).or(o)), se.none()), hA = (e, n) => pn(n.getClientRects()).bind((o) => V5(e, o.left)), yS = ue(rB, an.isAbove, -1), wS = ue(rB, an.isBelow, 1), lB = ue(aB, -1, yS), iB = ue(aB, 1, wS), MZ = (e, n) => yS(e, n).breakAt.isNone(), Yf = (e, n) => wS(e, n).breakAt.isNone(), H5 = (e) => Al(e).map((n) => [n].concat(wS(e, n).positions)).getOr([]), cB = (e) => of(e).map((n) => yS(e, n).positions.concat(n)).getOr([]), uB = (e, n) => hA(lB(e, n), n), PZ = (e, n) => hA(iB(e, n), n), dB = sr, fB = (e, n) => Math.abs(e.left - n), z5 = (e, n) => Math.abs(e.right - n), BZ = (e) => qs(e, "node"), mB = (e, n) => it(e, (o, l) => {
18080
18080
  const u = Math.min(fB(o, n), z5(o, n)), p = Math.min(fB(l, n), z5(l, n));
18081
18081
  return p === u && BZ(l) && dB(l.node) || p < u ? l : o;
18082
18082
  }), FZ = (e) => {
@@ -18558,7 +18558,7 @@ Options:${w}${o.join(w)}` : "";
18558
18558
  const l = o.toRange(), u = e.selection.getRng();
18559
18559
  return n ? l.setStart(u.startContainer, u.startOffset) : l.setEnd(u.endContainer, u.endOffset), l;
18560
18560
  }).exists((o) => (Cc(e, o), !0)), WB = (e) => ye(["figcaption"], Ve(e)), ZB = (e, n, o) => {
18561
- const l = ue(Gs, n);
18561
+ const l = ue(Ks, n);
18562
18562
  return sa(ft.fromDom(e.container()), (u) => o.isBlock(Ve(u)), l).filter(WB);
18563
18563
  }, wq = (e, n, o) => n ? Yf(e.dom, o) : MZ(e.dom, o), Cq = (e, n) => {
18564
18564
  const o = ft.fromDom(e.getBody()), l = an.fromRangeStart(e.selection.getRng());
@@ -18628,7 +18628,7 @@ Options:${w}${o.join(w)}` : "";
18628
18628
  }
18629
18629
  }, eF = (e, n) => QB(e, n).bind((o) => {
18630
18630
  const l = JB(o);
18631
- return Un(l, (p) => Gs(e, p)).map((p) => ({
18631
+ return Un(l, (p) => Ks(e, p)).map((p) => ({
18632
18632
  index: p,
18633
18633
  all: l
18634
18634
  }));
@@ -18704,7 +18704,7 @@ Options:${w}${o.join(w)}` : "";
18704
18704
  "dl"
18705
18705
  ], l = ft.fromDom(e.getBody()), u = (T) => {
18706
18706
  const $ = Ve(T);
18707
- return Gs(T, l) || ye(o, $);
18707
+ return Ks(T, l) || ye(o, $);
18708
18708
  }, p = e.selection.getRng(), w = ft.fromDom(n ? p.endContainer : p.startContainer);
18709
18709
  return mN(w, u).map((T) => (QB(T, u).each((J) => {
18710
18710
  e.model.table.clearSelectedCells(J.dom);
@@ -20680,7 +20680,7 @@ Input object: ` + mf(e.input), IN = (e, n) => IS(e, Yo(n, MS)), OF = ie(dG), HA
20680
20680
  });
20681
20681
  }, s9 = (e) => {
20682
20682
  o9(e), kY(e);
20683
- }, TY = or, C6 = In, AY = (e) => sr(e.dom), OY = (e) => yn(e.dom), r9 = (e) => (n) => Gs(ft.fromDom(e), n), XS = (e, n, o) => sa(ft.fromDom(e), (l) => OY(l) || o.isBlock(Ve(l)), r9(n)).getOr(ft.fromDom(n)).dom, a9 = (e, n) => sa(ft.fromDom(e), AY, r9(n)), l9 = (e, n, o) => {
20683
+ }, TY = or, C6 = In, AY = (e) => sr(e.dom), OY = (e) => yn(e.dom), r9 = (e) => (n) => Ks(ft.fromDom(e), n), XS = (e, n, o) => sa(ft.fromDom(e), (l) => OY(l) || o.isBlock(Ve(l)), r9(n)).getOr(ft.fromDom(n)).dom, a9 = (e, n) => sa(ft.fromDom(e), AY, r9(n)), l9 = (e, n, o) => {
20684
20684
  const l = new ni(e, n), u = o ? l.next.bind(l) : l.prev.bind(l);
20685
20685
  let p = e;
20686
20686
  for (let w = o ? e : u(); w && !TY(w); w = u())
@@ -20741,7 +20741,7 @@ Input object: ` + mf(e.input), IN = (e, n) => IS(e, Yo(n, MS)), OF = ie(dG), HA
20741
20741
  return w.fold(() => d9($, o, l, !0), (z) => {
20742
20742
  const J = nt($, (ee) => ee !== z.dom);
20743
20743
  return d9(J, o, l, !0);
20744
- }).orThunk(() => (Gs(p, e) ? se.none() : ep(p)).bind((J) => u(J, se.some(p))));
20744
+ }).orThunk(() => (Ks(p, e) ? se.none() : ep(p)).bind((J) => u(J, se.some(p))));
20745
20745
  };
20746
20746
  return u(n, se.none());
20747
20747
  }, f9 = (e, n, o) => {
@@ -21112,7 +21112,7 @@ Input object: ` + mf(e.input), IN = (e, n) => IS(e, Yo(n, MS)), OF = ie(dG), HA
21112
21112
  return null;
21113
21113
  const An = pt(to, sn.targetClone), yo = ft.fromDom(to);
21114
21114
  return ce(ti(ft.fromDom(e.getBody()), `*[${w}]`), (Lo) => {
21115
- Gs(yo, Lo) || hr(Lo, w);
21115
+ Ks(yo, Lo) || hr(Lo, w);
21116
21116
  }), o.getAttrib(to, w) || to.setAttribute(w, "1"), T = to, Zn(), An;
21117
21117
  }, Lt = (to, fn) => {
21118
21118
  if (!to)
@@ -22261,7 +22261,7 @@ Input object: ` + mf(e.input), IN = (e, n) => IS(e, Yo(n, MS)), OF = ie(dG), HA
22261
22261
  "font-size": "size",
22262
22262
  "font-family": "face"
22263
22263
  }, H0 = Ml("font"), Z6 = (e, n, o) => {
22264
- const l = (p) => ji(p, e).orThunk(() => H0(p) ? Ts(oJ, e).bind((w) => ba(p, w)) : se.none()), u = (p) => Gs(ft.fromDom(n), p);
22264
+ const l = (p) => ji(p, e).orThunk(() => H0(p) ? Ts(oJ, e).bind((w) => ba(p, w)) : se.none()), u = (p) => Ks(ft.fromDom(n), p);
22265
22265
  return wT(ft.fromDom(o), (p) => l(p), u);
22266
22266
  }, _4 = (e) => e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","), dV = (e, n) => se.from(pa.DOM.getStyle(n, e, !0)), q6 = (e) => (n, o) => se.from(o).map(ft.fromDom).filter(ws).bind((l) => Z6(e, n, l.dom).or(dV(e, l.dom))).getOr(""), fV = q6("font-size"), sJ = M(_4, q6("font-family")), rJ = (e) => Al(e.getBody()).bind((n) => {
22267
22267
  const o = n.container();
@@ -22288,7 +22288,7 @@ Input object: ` + mf(e.input), IN = (e, n) => IS(e, Yo(n, MS)), OF = ie(dG), HA
22288
22288
  }, pV = (e) => G6(e, (n) => sJ(e.getBody(), n.dom)).getOr(""), cJ = (e, n) => {
22289
22289
  e.formatter.toggle("fontsize", { value: mV(e, n) }), e.nodeChanged();
22290
22290
  }, k4 = (e) => G6(e, (n) => fV(e.getBody(), n.dom)).getOr(""), uJ = (e) => G6(e, (n) => {
22291
- const o = ft.fromDom(e.getBody()), l = wT(n, (p) => ji(p, "line-height"), ue(Gs, o)), u = () => {
22291
+ const o = ft.fromDom(e.getBody()), l = wT(n, (p) => ji(p, "line-height"), ue(Ks, o)), u = () => {
22292
22292
  const p = parseFloat(Ia(n, "line-height")), w = parseFloat(Ia(n, "font-size"));
22293
22293
  return String(p / w);
22294
22294
  };
@@ -24096,7 +24096,7 @@ tinymce.IconManager.add("default", {
24096
24096
  return M.none();
24097
24097
  }
24098
24098
  return M.some(s);
24099
- }, Mr = (t, s, i) => t.isSome() && s.isSome() ? M.some(i(t.getOrDie(), s.getOrDie())) : M.none(), Kr = (t, s, i, d) => t.isSome() && s.isSome() && i.isSome() ? M.some(d(t.getOrDie(), s.getOrDie(), i.getOrDie())) : M.none(), Ts = (t, s) => t != null ? M.some(s(t)) : M.none(), Eo = (t, s) => t ? M.some(s) : M.none(), Zs = (t, s) => t + s, At = (t, s) => t.substring(s), Qt = (t, s, i) => s === "" || t.length >= s.length && t.substr(i, i + s.length) === s, Xn = (t, s) => bs(t, s) ? At(t, s.length) : t, Co = (t, s) => Tr(t, s) ? t : Zs(t, s), Ko = (t, s, i = 0, d) => {
24099
+ }, Mr = (t, s, i) => t.isSome() && s.isSome() ? M.some(i(t.getOrDie(), s.getOrDie())) : M.none(), Kr = (t, s, i, d) => t.isSome() && s.isSome() && i.isSome() ? M.some(d(t.getOrDie(), s.getOrDie(), i.getOrDie())) : M.none(), Ts = (t, s) => t != null ? M.some(s(t)) : M.none(), Eo = (t, s) => t ? M.some(s) : M.none(), qs = (t, s) => t + s, At = (t, s) => t.substring(s), Qt = (t, s, i) => s === "" || t.length >= s.length && t.substr(i, i + s.length) === s, Xn = (t, s) => bs(t, s) ? At(t, s.length) : t, Co = (t, s) => Tr(t, s) ? t : qs(t, s), Ko = (t, s, i = 0, d) => {
24100
24100
  const h = t.indexOf(s, i);
24101
24101
  return h !== -1 ? R(d) ? !0 : h + s.length <= d : !1;
24102
24102
  }, bs = (t, s) => Qt(t, s, 0), Tr = (t, s) => Qt(t, s, t.length - s.length), wr = ((t) => (s) => s.replace(t, ""))(/^\s+|\s+$/g), it = (t) => t.length > 0, st = (t) => !it(t), Ae = (t) => {
@@ -24141,7 +24141,7 @@ tinymce.IconManager.add("default", {
24141
24141
  }, Jn = Object.getPrototypeOf, so = (t) => Ln("HTMLElement", t), eo = (t) => {
24142
24142
  const s = Kt("ownerDocument.defaultView", t);
24143
24143
  return S(t) && (so(s).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(Jn(t).constructor.name));
24144
- }, _o = 9, Po = 11, ls = 1, qs = 3, Vs = (t) => t.dom.nodeName.toLowerCase(), pl = (t) => t.dom.nodeType, ya = (t) => (s) => pl(s) === t, ns = (t) => ps(t) && eo(t.dom), ps = ya(ls), vs = ya(qs), Ta = ya(_o), wa = ya(Po), Aa = (t) => (s) => ps(s) && Vs(s) === t, gr = (t, s) => {
24144
+ }, _o = 9, Po = 11, ls = 1, Gs = 3, Vs = (t) => t.dom.nodeName.toLowerCase(), pl = (t) => t.dom.nodeType, ya = (t) => (s) => pl(s) === t, ns = (t) => ps(t) && eo(t.dom), ps = ya(ls), vs = ya(Gs), Ta = ya(_o), wa = ya(Po), Aa = (t) => (s) => ps(s) && Vs(s) === t, gr = (t, s) => {
24145
24145
  const i = t.dom;
24146
24146
  if (i.nodeType !== ls)
24147
24147
  return !1;
@@ -24556,8 +24556,8 @@ tinymce.IconManager.add("default", {
24556
24556
  deviceType: N
24557
24557
  };
24558
24558
  } }, Ld = (t) => window.matchMedia(t).matches;
24559
- let Gs = No(() => i1.detect(window.navigator.userAgent, M.from(window.navigator.userAgentData), Ld));
24560
- const Sa = () => Gs(), Pl = (t, s, i, d, h, C, E) => ({
24559
+ let Ks = No(() => i1.detect(window.navigator.userAgent, M.from(window.navigator.userAgentData), Ld));
24560
+ const Sa = () => Ks(), Pl = (t, s, i, d, h, C, E) => ({
24561
24561
  target: t,
24562
24562
  x: s,
24563
24563
  y: i,
@@ -25143,7 +25143,7 @@ Required: ` + s.join(", "));
25143
25143
  });
25144
25144
  }
25145
25145
  };
25146
- }, kl = X, zu = kl("touchstart"), Ks = kl("touchmove"), Vr = kl("touchend"), fc = kl("touchcancel"), Ua = kl("mousedown"), w1 = kl("mousemove"), rh = kl("mouseout"), dm = kl("mouseup"), Ic = kl("mouseover"), qd = kl("focusin"), IE = kl("focusout"), Oi = kl("keydown"), my = kl("keyup"), fm = kl("input"), fp = kl("change"), mm = kl("click"), b3 = kl("transitioncancel"), C1 = kl("transitionend"), v3 = kl("transitionstart"), dg = kl("selectstart"), Ya = (t) => X("alloy." + t), ME = { tap: Ya("tap") }, pm = Ya("focus"), mp = Ya("blur.post"), ah = Ya("paste.post"), Gd = Ya("receive"), Ki = Ya("execute"), lh = Ya("focus.item"), cv = ME.tap, iI = Ya("longpress"), gm = Ya("sandbox.close"), bi = Ya("typeahead.cancel"), uv = Ya("system.init"), y3 = Ya("system.touchmove"), w3 = Ya("system.touchend"), M2 = Ya("system.scroll"), x1 = Ya("system.resize"), Kd = Ya("system.attached"), Yd = Ya("system.detached"), fg = Ya("system.dismissRequested"), ih = Ya("system.repositionRequested"), dv = Ya("focusmanager.shifted"), S1 = Ya("slotcontainer.visibility"), pp = Ya("system.external.element.scroll"), mg = Ya("change.tab"), fv = Ya("dismiss.tab"), py = Ya("highlight"), gy = Ya("dehighlight"), Is = (t, s) => {
25146
+ }, kl = X, zu = kl("touchstart"), Ys = kl("touchmove"), Vr = kl("touchend"), fc = kl("touchcancel"), Ua = kl("mousedown"), w1 = kl("mousemove"), rh = kl("mouseout"), dm = kl("mouseup"), Ic = kl("mouseover"), qd = kl("focusin"), IE = kl("focusout"), Oi = kl("keydown"), my = kl("keyup"), fm = kl("input"), fp = kl("change"), mm = kl("click"), b3 = kl("transitioncancel"), C1 = kl("transitionend"), v3 = kl("transitionstart"), dg = kl("selectstart"), Ya = (t) => X("alloy." + t), ME = { tap: Ya("tap") }, pm = Ya("focus"), mp = Ya("blur.post"), ah = Ya("paste.post"), Gd = Ya("receive"), Ki = Ya("execute"), lh = Ya("focus.item"), cv = ME.tap, iI = Ya("longpress"), gm = Ya("sandbox.close"), bi = Ya("typeahead.cancel"), uv = Ya("system.init"), y3 = Ya("system.touchmove"), w3 = Ya("system.touchend"), M2 = Ya("system.scroll"), x1 = Ya("system.resize"), Kd = Ya("system.attached"), Yd = Ya("system.detached"), fg = Ya("system.dismissRequested"), ih = Ya("system.repositionRequested"), dv = Ya("focusmanager.shifted"), S1 = Ya("slotcontainer.visibility"), pp = Ya("system.external.element.scroll"), mg = Ya("change.tab"), fv = Ya("dismiss.tab"), py = Ya("highlight"), gy = Ya("dehighlight"), Is = (t, s) => {
25147
25147
  by(t, t.element, s, {});
25148
25148
  }, Fo = (t, s, i) => {
25149
25149
  by(t, t.element, s, i);
@@ -32775,7 +32775,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
32775
32775
  value: h
32776
32776
  },
32777
32777
  {
32778
- key: Ks(),
32778
+ key: Ys(),
32779
32779
  value: C
32780
32780
  },
32781
32781
  {
@@ -33546,7 +33546,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
33546
33546
  overrides: (t) => ({
33547
33547
  events: ea([
33548
33548
  ch(zu(), t, "spectrum"),
33549
- ch(Ks(), t, "spectrum"),
33549
+ ch(Ys(), t, "spectrum"),
33550
33550
  ch(Vr(), t, "spectrum"),
33551
33551
  ch(Ua(), t, "spectrum"),
33552
33552
  ch(w1(), t, "spectrum"),
@@ -33572,7 +33572,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
33572
33572
  ]),
33573
33573
  events: ea([
33574
33574
  mn(zu(), d),
33575
- mn(Ks(), d),
33575
+ mn(Ys(), d),
33576
33576
  mn(Ua(), d),
33577
33577
  mn(w1(), (h, C) => {
33578
33578
  t.mouseIsDown.get() && d(h, C);
@@ -42755,7 +42755,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
42755
42755
  mn(zu(), t.forceDrop),
42756
42756
  mn(Vr(), t.drop),
42757
42757
  mn(fc(), t.drop),
42758
- mn(Ks(), (s, i) => {
42758
+ mn(Ys(), (s, i) => {
42759
42759
  t.move(i.event);
42760
42760
  })
42761
42761
  ]), QX = (t) => {
@@ -42789,7 +42789,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
42789
42789
  i(C), nV(C, Z);
42790
42790
  })();
42791
42791
  }),
42792
- mn(Ks(), (C, E) => {
42792
+ mn(Ys(), (C, E) => {
42793
42793
  E.stop(), V0(C, t, s, cV, E.event);
42794
42794
  }),
42795
42795
  mn(Vr(), (C, E) => {
@@ -45669,7 +45669,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
45669
45669
  }, Do = Object.getPrototypeOf, Xs = (m) => ks("HTMLElement", m), wn = (m) => {
45670
45670
  const b = Mo("ownerDocument.defaultView", m);
45671
45671
  return x(m) && (Xs(b).prototype.isPrototypeOf(m) || /^HTML\w*Element$/.test(Do(m).constructor.name));
45672
- }, Yo = 8, rr = 9, nr = 11, Wr = 1, Ir = 3, Ls = (m) => m.dom.nodeName.toLowerCase(), Mr = (m) => m.dom.nodeType, Kr = (m) => (b) => Mr(b) === m, Ts = (m) => Mr(m) === Yo || Ls(m) === "#comment", Eo = (m) => Zs(m) && wn(m.dom), Zs = Kr(Wr), At = Kr(Ir), Qt = Kr(rr), Xn = Kr(nr), Co = (m) => (b) => Zs(b) && Ls(b) === m, Ko = (m, b, _) => {
45672
+ }, Yo = 8, rr = 9, nr = 11, Wr = 1, Ir = 3, Ls = (m) => m.dom.nodeName.toLowerCase(), Mr = (m) => m.dom.nodeType, Kr = (m) => (b) => Mr(b) === m, Ts = (m) => Mr(m) === Yo || Ls(m) === "#comment", Eo = (m) => qs(m) && wn(m.dom), qs = Kr(Wr), At = Kr(Ir), Qt = Kr(rr), Xn = Kr(nr), Co = (m) => (b) => qs(b) && Ls(b) === m, Ko = (m, b, _) => {
45673
45673
  if (y(_) || A(_) || V(_))
45674
45674
  m.setAttribute(b, _ + "");
45675
45675
  else
@@ -45742,7 +45742,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
45742
45742
  }, un = (m, b) => m.dom === b.dom, Ln = (m, b) => {
45743
45743
  const _ = m.dom, O = b.dom;
45744
45744
  return _ === O ? !1 : _.contains(O);
45745
- }, Jn = Et, so = (m) => Ot.fromDom(m.dom.ownerDocument), eo = (m) => Qt(m) ? m : so(m), _o = (m) => Ot.fromDom(eo(m).dom.documentElement), Po = (m) => Ot.fromDom(eo(m).dom.defaultView), ls = (m) => fe.from(m.dom.parentNode).map(Ot.fromDom), qs = (m) => fe.from(m.dom.parentElement).map(Ot.fromDom), Vs = (m, b) => {
45745
+ }, Jn = Et, so = (m) => Ot.fromDom(m.dom.ownerDocument), eo = (m) => Qt(m) ? m : so(m), _o = (m) => Ot.fromDom(eo(m).dom.documentElement), Po = (m) => Ot.fromDom(eo(m).dom.defaultView), ls = (m) => fe.from(m.dom.parentNode).map(Ot.fromDom), Gs = (m) => fe.from(m.dom.parentElement).map(Ot.fromDom), Vs = (m, b) => {
45746
45746
  const _ = q(b) ? b : $e;
45747
45747
  let O = m.dom;
45748
45748
  const W = [];
@@ -45877,7 +45877,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
45877
45877
  }, ae = (m) => Ot.fromDom(m.dom.host), we = (m) => {
45878
45878
  if (R(m.target)) {
45879
45879
  const b = Ot.fromDom(m.target);
45880
- if (Zs(b) && mt(b) && m.composed && m.composedPath) {
45880
+ if (qs(b) && mt(b) && m.composed && m.composedPath) {
45881
45881
  const _ = m.composedPath();
45882
45882
  if (_)
45883
45883
  return ce(_);
@@ -46061,7 +46061,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46061
46061
  current: _.name,
46062
46062
  version: O
46063
46063
  };
46064
- }), Gs = (m, b) => i1(m, b).map((_) => {
46064
+ }), Ks = (m, b) => i1(m, b).map((_) => {
46065
46065
  const O = _i.detect(_.versionRegexes, b);
46066
46066
  return {
46067
46067
  current: _.name,
@@ -46212,7 +46212,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46212
46212
  freebsd: P(yu),
46213
46213
  chromeos: P($f)
46214
46214
  }, eg = { detect: (m, b, _) => {
46215
- const O = Of.browsers(), W = Of.oses(), Y = b.bind((Ne) => sv(O, Ne)).orThunk(() => Ld(O, m)).fold(_l.unknown, _l.nu), le = Gs(W, m).fold(d1.unknown, d1.nu), Te = Qm(le, Y, m, _);
46215
+ const O = Of.browsers(), W = Of.oses(), Y = b.bind((Ne) => sv(O, Ne)).orThunk(() => Ld(O, m)).fold(_l.unknown, _l.nu), le = Ks(W, m).fold(d1.unknown, d1.nu), Te = Qm(le, Y, m, _);
46216
46216
  return {
46217
46217
  browser: Y,
46218
46218
  os: le,
@@ -46470,7 +46470,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46470
46470
  unit: Y
46471
46471
  }) : fe.none();
46472
46472
  }), cm = /(\d+(\.\d+)?)%/, uo = /(\d+(\.\d+)?)px|em/, Gc = Co("col"), lv = Co("tr"), cp = (m, b, _) => {
46473
- const O = qs(m).getOrThunk(() => oe(so(m)));
46473
+ const O = Gs(m).getOrThunk(() => oe(so(m)));
46474
46474
  return b(m) / _(O) * 100;
46475
46475
  }, Vu = (m, b) => {
46476
46476
  ws(m, "width", b + "px");
@@ -46656,7 +46656,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46656
46656
  }, kl = (m) => () => {
46657
46657
  const b = Ot.fromTag("td", m.dom);
46658
46658
  return gr(b, Ot.fromTag("br", m.dom)), b;
46659
- }, zu = (m) => () => Ot.fromTag("col", m.dom), Ks = (m) => () => Ot.fromTag("colgroup", m.dom), Vr = (m) => () => Ot.fromTag("tr", m.dom), fc = (m, b, _) => {
46659
+ }, zu = (m) => () => Ot.fromTag("col", m.dom), Ys = (m) => () => Ot.fromTag("colgroup", m.dom), Vr = (m) => () => Ot.fromTag("tr", m.dom), fc = (m, b, _) => {
46660
46660
  const O = Dl(m, b);
46661
46661
  return dt(_, (W, Y) => {
46662
46662
  W === null ? st(O, Y) : bs(O, Y, W);
@@ -46696,7 +46696,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46696
46696
  const Te = Ot.fromTag(Ls(le.element), b.dom);
46697
46697
  return O(le, Te), m(le.element, Te), Te;
46698
46698
  },
46699
- colgroup: Ks(b),
46699
+ colgroup: Ys(b),
46700
46700
  row: Vr(b),
46701
46701
  cell: W,
46702
46702
  replace: fc,
@@ -46705,7 +46705,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46705
46705
  };
46706
46706
  }, Ic = (m) => ({
46707
46707
  col: zu(m),
46708
- colgroup: Ks(m),
46708
+ colgroup: Ys(m),
46709
46709
  row: Vr(m),
46710
46710
  cell: kl(m),
46711
46711
  replace: Ua,
@@ -46879,12 +46879,12 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46879
46879
  "pre",
46880
46880
  "address"
46881
46881
  ], Fr = () => {
46882
- const m = (gt) => Ot.fromDom(gt.dom.cloneNode(!1)), b = (gt) => eo(gt).dom, _ = (gt) => Zs(gt) ? Ls(gt) === "body" ? !0 : Xe(hm, Ls(gt)) : !1, O = (gt) => Zs(gt) ? Xe([
46882
+ const m = (gt) => Ot.fromDom(gt.dom.cloneNode(!1)), b = (gt) => eo(gt).dom, _ = (gt) => qs(gt) ? Ls(gt) === "body" ? !0 : Xe(hm, Ls(gt)) : !1, O = (gt) => qs(gt) ? Xe([
46883
46883
  "br",
46884
46884
  "img",
46885
46885
  "hr",
46886
46886
  "input"
46887
- ], Ls(gt)) : !1, W = (gt) => Zs(gt) && wr(gt, "contenteditable") === "false", Y = (gt, zt) => gt.dom.compareDocumentPosition(zt.dom), le = (gt, zt) => {
46887
+ ], Ls(gt)) : !1, W = (gt) => qs(gt) && wr(gt, "contenteditable") === "false", Y = (gt, zt) => gt.dom.compareDocumentPosition(zt.dom), le = (gt, zt) => {
46888
46888
  const On = Ae(gt);
46889
46889
  Tr(zt, On);
46890
46890
  }, Te = (gt) => {
@@ -46900,7 +46900,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46900
46900
  "textarea",
46901
46901
  "xmp"
46902
46902
  ], zt);
46903
- }, Ne = (gt) => Zs(gt) ? it(gt, "lang") : fe.none();
46903
+ }, Ne = (gt) => qs(gt) ? it(gt, "lang") : fe.none();
46904
46904
  return {
46905
46905
  up: P({
46906
46906
  selector: da,
@@ -46954,7 +46954,7 @@ The conflicting element is` + (tt(ne.element) ? " " : " not ") + "already in the
46954
46954
  document: b,
46955
46955
  isText: At,
46956
46956
  isComment: Ts,
46957
- isElement: Zs,
46957
+ isElement: qs,
46958
46958
  isSpecial: Te,
46959
46959
  getLanguage: Ne,
46960
46960
  getText: ma,
@@ -48625,7 +48625,7 @@ Required: ` + b.join(", "));
48625
48625
  top: m.top,
48626
48626
  right: m.right,
48627
48627
  bottom: m.bottom
48628
- }), HC = (m, b) => fe.some(m.getRect(b)), Em = (m, b, _) => Zs(b) ? HC(m, b).map(xp) : At(b) ? kh(m, b, _).map(xp) : fe.none(), ef = (m, b) => Zs(b) ? HC(m, b).map(xp) : At(b) ? m.getRangedRect(b, 0, b, dc(b)).map(xp) : fe.none(), _m = 5, zC = 100, Lf = Pc.generate([
48628
+ }), HC = (m, b) => fe.some(m.getRect(b)), Em = (m, b, _) => qs(b) ? HC(m, b).map(xp) : At(b) ? kh(m, b, _).map(xp) : fe.none(), ef = (m, b) => qs(b) ? HC(m, b).map(xp) : At(b) ? m.getRangedRect(b, 0, b, dc(b)).map(xp) : fe.none(), _m = 5, zC = 100, Lf = Pc.generate([
48629
48629
  { none: [] },
48630
48630
  { retry: ["caret"] }
48631
48631
  ]), UC = (m, b) => m.left < b.left || Math.abs(b.right - m.left) < 1 || m.left > b.right, Th = (m, b, _) => Oa(b, B1).fold($e, (O) => ef(m, O).exists((W) => UC(_, W))), K1 = (m, b, _, O, W) => {
@@ -48702,7 +48702,7 @@ Required: ` + b.join(", "));
48702
48702
  ...m,
48703
48703
  on: (_) => m.get().each(_)
48704
48704
  };
48705
- }, fk = (m, b) => qa(m, "td,th", b), Oh = (m) => qs(m).exists(ih), qu = (m, b, _, O) => {
48705
+ }, fk = (m, b) => qa(m, "td,th", b), Oh = (m) => Gs(m).exists(ih), qu = (m, b, _, O) => {
48706
48706
  const W = Xv(), Y = W.clear, le = (zt) => {
48707
48707
  W.on((On) => {
48708
48708
  O.clearBeforeUpdate(b), fk(zt.target, _).each((lo) => {
@@ -50368,21 +50368,21 @@ tinymce.addI18n("zh_CN", {
50368
50368
  }, Ts = (ae, we) => {
50369
50369
  vn(ae).fold(() => {
50370
50370
  Io(ae).each((Kn) => {
50371
- Zs(Kn, we);
50371
+ qs(Kn, we);
50372
50372
  });
50373
50373
  }, (cn) => {
50374
50374
  Kr(cn, we);
50375
50375
  });
50376
50376
  }, Eo = (ae, we) => {
50377
50377
  Mo(ae).fold(() => {
50378
- Zs(ae, we);
50378
+ qs(ae, we);
50379
50379
  }, (cn) => {
50380
50380
  ae.dom.insertBefore(we.dom, cn.dom);
50381
50381
  });
50382
- }, Zs = (ae, we) => {
50382
+ }, qs = (ae, we) => {
50383
50383
  ae.dom.appendChild(we.dom);
50384
50384
  }, At = (ae, we) => {
50385
- Kr(ae, we), Zs(we, ae);
50385
+ Kr(ae, we), qs(we, ae);
50386
50386
  }, Qt = (ae, we) => {
50387
50387
  X(we, (mt, cn) => {
50388
50388
  const Kn = cn === 0 ? ae : we[cn - 1];
@@ -50390,7 +50390,7 @@ tinymce.addI18n("zh_CN", {
50390
50390
  });
50391
50391
  }, Xn = (ae, we) => {
50392
50392
  X(we, (mt) => {
50393
- Zs(ae, mt);
50393
+ qs(ae, mt);
50394
50394
  });
50395
50395
  }, Co = (ae, we) => {
50396
50396
  let mt = [];
@@ -50515,7 +50515,7 @@ tinymce.addI18n("zh_CN", {
50515
50515
  before: Kr,
50516
50516
  after: Ts,
50517
50517
  afterAll: Qt,
50518
- append: Zs,
50518
+ append: qs,
50519
50519
  appendAll: Xn,
50520
50520
  prepend: Eo,
50521
50521
  wrap: At
@@ -50569,7 +50569,7 @@ tinymce.addI18n("zh_CN", {
50569
50569
  }), eo = (ae, we, mt) => ae.dispatch("ToggledAllAccordions", {
50570
50570
  elements: we,
50571
50571
  state: mt
50572
- }), _o = "details", Po = "mce-accordion", ls = "mce-accordion-summary", qs = "mce-accordion-body", Vs = "div";
50572
+ }), _o = "details", Po = "mce-accordion", ls = "mce-accordion-summary", Gs = "mce-accordion-body", Vs = "div";
50573
50573
  var pl = tinymce.util.Tools.resolve("tinymce.util.Tools");
50574
50574
  const ya = (ae) => (ae == null ? void 0 : ae.nodeName) === "SUMMARY", ns = (ae) => (ae == null ? void 0 : ae.nodeName) === "DETAILS", ps = (ae) => ae.hasAttribute("open"), vs = (ae) => {
50575
50575
  const we = ae.selection.getNode();
@@ -50597,7 +50597,7 @@ tinymce.addI18n("zh_CN", {
50597
50597
  }, pi = (ae) => {
50598
50598
  if (!wa(ae))
50599
50599
  return;
50600
- const we = ce.fromDom(ae.getBody()), mt = f("acc"), cn = ae.dom.encode(ae.selection.getRng().toString() || ae.translate("Accordion summary...")), Kn = ae.dom.encode(ae.translate("Accordion body...")), oe = `<summary class="${ls}">${cn}</summary>`, be = `<${Vs} class="${qs}"><p>${Kn}</p></${Vs}>`;
50600
+ const we = ce.fromDom(ae.getBody()), mt = f("acc"), cn = ae.dom.encode(ae.selection.getRng().toString() || ae.translate("Accordion summary...")), Kn = ae.dom.encode(ae.translate("Accordion body...")), oe = `<summary class="${ls}">${cn}</summary>`, be = `<${Vs} class="${Gs}"><p>${Kn}</p></${Vs}>`;
50601
50601
  ae.undoManager.transact(() => {
50602
50602
  ae.insertContent([
50603
50603
  `<details data-mce-id="${mt}" class="${Po}" open="open">`,
@@ -50642,7 +50642,7 @@ tinymce.addI18n("zh_CN", {
50642
50642
  }, zi = (ae, we) => {
50643
50643
  const mt = Me(Yr(ae), (cn) => !we.has(cn));
50644
50644
  ae.attr("class", mt.length > 0 ? mt.join(" ") : null);
50645
- }, Ui = (ae) => ae.name === _o && De(Yr(ae), Po), Zc = (ae) => ae.name === Vs && De(Yr(ae), qs), Nl = (ae) => {
50645
+ }, Ui = (ae) => ae.name === _o && De(Yr(ae), Po), Zc = (ae) => ae.name === Vs && De(Yr(ae), Gs), Nl = (ae) => {
50646
50646
  const we = ae.children();
50647
50647
  let mt, cn;
50648
50648
  const Kn = [];
@@ -50668,7 +50668,7 @@ tinymce.addI18n("zh_CN", {
50668
50668
  const be = oe, { summaryNode: at, wrapperNode: Bt, otherNodes: Fn } = Nl(be), Vn = D(at), As = Vn ? at : new ac("summary", 1);
50669
50669
  A(As.firstChild) && oa(As), Yl(As, [ls]), Vn || (D(be.firstChild) ? be.insert(As, be.firstChild, !0) : be.append(As));
50670
50670
  const ha = D(Bt), gn = ha ? Bt : new ac(Vs, 1);
50671
- if (gn.attr("data-mce-bogus", "1"), Yl(gn, [qs]), Fn.length > 0)
50671
+ if (gn.attr("data-mce-bogus", "1"), Yl(gn, [Gs]), Fn.length > 0)
50672
50672
  for (let Oa = 0; Oa < Fn.length; Oa++) {
50673
50673
  const ar = Fn[Oa];
50674
50674
  gn.append(ar);
@@ -55753,7 +55753,7 @@ tinymce.addI18n("zh_CN", {
55753
55753
  }, Ls = (Pe) => {
55754
55754
  const Ve = (Ht) => Vt(Ht, (hn) => !rr(Pe, hn));
55755
55755
  return Wr(Pe).map(Kr).map(Ve).getOr([]);
55756
- }, Mr = (Pe) => ke.from(Pe.dom.nextSibling).map(Do.fromDom), Kr = (Pe) => he(Pe.dom.childNodes, Do.fromDom), Ts = (Pe) => Un(Pe) && V(Pe.dom.host), Eo = (Pe) => Do.fromDom(Pe.dom.getRootNode()), Zs = (Pe) => {
55756
+ }, Mr = (Pe) => ke.from(Pe.dom.nextSibling).map(Do.fromDom), Kr = (Pe) => he(Pe.dom.childNodes, Do.fromDom), Ts = (Pe) => Un(Pe) && V(Pe.dom.host), Eo = (Pe) => Do.fromDom(Pe.dom.getRootNode()), qs = (Pe) => {
55757
55757
  const Ve = Eo(Pe);
55758
55758
  return Ts(Ve) ? ke.some(Ve) : ke.none();
55759
55759
  }, At = (Pe) => Do.fromDom(Pe.dom.host), Qt = (Pe) => {
@@ -55771,7 +55771,7 @@ tinymce.addI18n("zh_CN", {
55771
55771
  if (Ve == null || Ve.ownerDocument === null)
55772
55772
  return !1;
55773
55773
  const Ht = Ve.ownerDocument;
55774
- return Zs(Do.fromDom(Ve)).fold(() => Ht.body.contains(Ve), te(Co, At));
55774
+ return qs(Do.fromDom(Ve)).fold(() => Ht.body.contains(Ve), te(Co, At));
55775
55775
  }, Ko = (Pe) => {
55776
55776
  const Ve = Pe.dom.body;
55777
55777
  if (Ve == null)
@@ -55875,7 +55875,7 @@ tinymce.addI18n("zh_CN", {
55875
55875
  current: Ht.name,
55876
55876
  version: hn
55877
55877
  };
55878
- }), qs = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Vs = (Pe) => (Ve) => Ft(Ve, Pe), pl = [
55878
+ }), Gs = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Vs = (Pe) => (Ve) => Ft(Ve, Pe), pl = [
55879
55879
  {
55880
55880
  name: "Edge",
55881
55881
  versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
@@ -55886,7 +55886,7 @@ tinymce.addI18n("zh_CN", {
55886
55886
  brand: "Chromium",
55887
55887
  versionRegexes: [
55888
55888
  /.*?chrome\/([0-9]+)\.([0-9]+).*/,
55889
- qs
55889
+ Gs
55890
55890
  ],
55891
55891
  search: (Pe) => Ft(Pe, "chrome") && !Ft(Pe, "chromeframe")
55892
55892
  },
@@ -55901,7 +55901,7 @@ tinymce.addI18n("zh_CN", {
55901
55901
  {
55902
55902
  name: "Opera",
55903
55903
  versionRegexes: [
55904
- qs,
55904
+ Gs,
55905
55905
  /.*?opera\/([0-9]+)\.([0-9]+).*/
55906
55906
  ],
55907
55907
  search: Vs("opera")
@@ -55914,7 +55914,7 @@ tinymce.addI18n("zh_CN", {
55914
55914
  {
55915
55915
  name: "Safari",
55916
55916
  versionRegexes: [
55917
- qs,
55917
+ Gs,
55918
55918
  /.*?cpu os ([0-9]+)_([0-9]+).*/
55919
55919
  ],
55920
55920
  search: (Pe) => (Ft(Pe, "safari") || Ft(Pe, "mobile/")) && Ft(Pe, "applewebkit")
@@ -56066,7 +56066,7 @@ tinymce.addI18n("zh_CN", {
56066
56066
  });
56067
56067
  }, ae = yt("fullscreen_native"), we = (Pe) => {
56068
56068
  const Ve = Do.fromDom(Pe.getElement());
56069
- return Zs(Ve).map(At).getOrThunk(() => Ko(nr(Ve)));
56069
+ return qs(Ve).map(At).getOrThunk(() => Ko(nr(Ve)));
56070
56070
  }, mt = (Pe) => Pe.fullscreenElement !== void 0 ? Pe.fullscreenElement : Pe.msFullscreenElement !== void 0 ? Pe.msFullscreenElement : Pe.webkitFullscreenElement !== void 0 ? Pe.webkitFullscreenElement : null, cn = () => document.fullscreenElement !== void 0 ? "fullscreenchange" : document.msFullscreenElement !== void 0 ? "MSFullscreenChange" : document.webkitFullscreenElement !== void 0 ? "webkitfullscreenchange" : "fullscreenchange", Kn = (Pe) => {
56071
56071
  const Ve = Pe.dom;
56072
56072
  Ve.requestFullscreen ? Ve.requestFullscreen() : Ve.msRequestFullscreen ? Ve.msRequestFullscreen() : Ve.webkitRequestFullScreen && Ve.webkitRequestFullScreen();
@@ -56118,7 +56118,7 @@ tinymce.addI18n("zh_CN", {
56118
56118
  };
56119
56119
  }), Gp = (Pe, Ve) => {
56120
56120
  const Ht = document.body, hn = document.documentElement, No = Pe.getContainer(), Ns = Do.fromDom(No), ws = Mr(Ns).filter((al) => dt(al) && fo(al, "tox-silver-sink")), _r = we(Pe), Ra = Ve.get(), gi = Do.fromDom(Pe.getBody()), Ml = Se.deviceType.isTouch(), Xr = No.style, xa = Pe.iframeElement, Ha = xa == null ? void 0 : xa.style, El = (al) => {
56121
- al(Ht, "tox-fullscreen"), al(hn, "tox-fullscreen"), al(No, "tox-fullscreen"), Zs(Ns).map((hr) => At(hr).dom).each((hr) => {
56121
+ al(Ht, "tox-fullscreen"), al(hn, "tox-fullscreen"), al(No, "tox-fullscreen"), qs(Ns).map((hr) => At(hr).dom).each((hr) => {
56122
56122
  al(hr, "tox-fullscreen"), al(hr, "tox-shadowhost");
56123
56123
  });
56124
56124
  }, ba = () => {
@@ -57196,7 +57196,7 @@ tinymce.addI18n("zh_CN", {
57196
57196
  oe.style.borderWidth = at;
57197
57197
  }, Eo = (oe, be) => {
57198
57198
  oe.style.borderStyle = be;
57199
- }, Zs = (oe) => {
57199
+ }, qs = (oe) => {
57200
57200
  var be;
57201
57201
  return (be = oe.style.borderStyle) !== null && be !== void 0 ? be : "";
57202
57202
  }, At = (oe) => V(oe) && oe.nodeName === "FIGURE", Qt = (oe) => oe.nodeName === "IMG", Xn = (oe) => Hn.getAttrib(oe, "alt").length === 0 && Hn.getAttrib(oe, "role") === "presentation", Co = (oe) => Xn(oe) ? "" : Do(oe, "alt"), Ko = () => ({
@@ -57216,7 +57216,7 @@ tinymce.addI18n("zh_CN", {
57216
57216
  }), bs = (oe, be) => {
57217
57217
  var at;
57218
57218
  const Bt = document.createElement("img");
57219
- return wn(Bt, "style", be.style), (Mo(Bt) || be.hspace !== "") && Mr(Bt, be.hspace), (zo(Bt) || be.vspace !== "") && Kr(Bt, be.vspace), (ks(Bt) || be.border !== "") && Ts(Bt, be.border), (Zs(Bt) || be.borderStyle !== "") && Eo(Bt, be.borderStyle), oe((at = Bt.getAttribute("style")) !== null && at !== void 0 ? at : "");
57219
+ return wn(Bt, "style", be.style), (Mo(Bt) || be.hspace !== "") && Mr(Bt, be.hspace), (zo(Bt) || be.vspace !== "") && Kr(Bt, be.vspace), (ks(Bt) || be.border !== "") && Ts(Bt, be.border), (qs(Bt) || be.borderStyle !== "") && Eo(Bt, be.borderStyle), oe((at = Bt.getAttribute("style")) !== null && at !== void 0 ? at : "");
57220
57220
  }, Tr = (oe, be) => {
57221
57221
  const at = document.createElement("img");
57222
57222
  if (je(oe, {
@@ -57239,7 +57239,7 @@ tinymce.addI18n("zh_CN", {
57239
57239
  hspace: Mo(be),
57240
57240
  vspace: zo(be),
57241
57241
  border: ks(be),
57242
- borderStyle: Zs(be),
57242
+ borderStyle: qs(be),
57243
57243
  isDecorative: Xn(be)
57244
57244
  }), wr = (oe, be, at, Bt, Fn) => {
57245
57245
  at[Bt] !== be[Bt] && Fn(oe, Bt, String(at[Bt]));
@@ -57333,12 +57333,12 @@ tinymce.addI18n("zh_CN", {
57333
57333
  return at;
57334
57334
  })((oe, be) => A(oe) && A(be) ? so(oe, be) : be);
57335
57335
  var eo = tinymce.util.Tools.resolve("tinymce.util.ImageUploader"), _o = tinymce.util.Tools.resolve("tinymce.util.Tools");
57336
- const Po = (oe) => S(oe.value) ? oe.value : "", ls = (oe) => S(oe.text) ? oe.text : S(oe.title) ? oe.title : "", qs = (oe, be) => {
57336
+ const Po = (oe) => S(oe.value) ? oe.value : "", ls = (oe) => S(oe.text) ? oe.text : S(oe.title) ? oe.title : "", Gs = (oe, be) => {
57337
57337
  const at = [];
57338
57338
  return _o.each(oe, (Bt) => {
57339
57339
  const Fn = ls(Bt);
57340
57340
  if (Bt.menu !== void 0) {
57341
- const Vn = qs(Bt.menu, be);
57341
+ const Vn = Gs(Bt.menu, be);
57342
57342
  at.push({
57343
57343
  text: Fn,
57344
57344
  items: Vn
@@ -57351,7 +57351,7 @@ tinymce.addI18n("zh_CN", {
57351
57351
  });
57352
57352
  }
57353
57353
  }), at;
57354
- }, Vs = (oe = Po) => (be) => be ? te.from(be).map((at) => qs(at, oe)) : te.none(), pl = (oe) => Vs(Po)(oe), ya = (oe) => he(oe, "items"), ns = (oe, be) => Xe(oe, (at) => ya(at) ? ns(at.items, be) : at.value === be ? te.some(at) : te.none()), vs = {
57354
+ }, Vs = (oe = Po) => (be) => be ? te.from(be).map((at) => Gs(at, oe)) : te.none(), pl = (oe) => Vs(Po)(oe), ya = (oe) => he(oe, "items"), ns = (oe, be) => Xe(oe, (at) => ya(at) ? ns(at.items, be) : at.value === be ? te.some(at) : te.none()), vs = {
57355
57355
  sanitizer: Vs,
57356
57356
  sanitize: pl,
57357
57357
  findEntry: (oe, be) => oe.bind((at) => ns(at, be))
@@ -58350,10 +58350,10 @@ tinymce.addI18n("zh_CN", {
58350
58350
  const we = Se.create("a", yt);
58351
58351
  (dn = ae.parentNode) === null || dn === void 0 || dn.insertBefore(we, ae), we.appendChild(ae);
58352
58352
  }
58353
- }, Eo = (Se) => y(Se.value) ? Se.value : "", Zs = (Se) => y(Se.text) ? Se.text : y(Se.title) ? Se.title : "", At = (Se, tt) => {
58353
+ }, Eo = (Se) => y(Se.value) ? Se.value : "", qs = (Se) => y(Se.text) ? Se.text : y(Se.title) ? Se.title : "", At = (Se, tt) => {
58354
58354
  const yt = [];
58355
58355
  return nt.each(Se, (dn) => {
58356
- const ae = Zs(dn);
58356
+ const ae = qs(dn);
58357
58357
  if (dn.menu !== void 0) {
58358
58358
  const we = At(dn.menu, tt);
58359
58359
  yt.push({
@@ -58505,7 +58505,7 @@ tinymce.addI18n("zh_CN", {
58505
58505
  } }, ls = (Se, tt, yt) => {
58506
58506
  const dn = Se.getAttrib(tt, yt);
58507
58507
  return dn !== null && dn.length > 0 ? U.some(dn) : U.none();
58508
- }, qs = (Se, tt) => {
58508
+ }, Gs = (Se, tt) => {
58509
58509
  const yt = Se.dom, ae = Hn(Se) ? U.some(Io(Se.selection, tt)) : U.none(), we = tt.bind((be) => U.from(yt.getAttrib(be, "href"))), mt = tt.bind((be) => U.from(yt.getAttrib(be, "target"))), cn = tt.bind((be) => ls(yt, be, "rel")), Kn = tt.bind((be) => ls(yt, be, "class")), oe = tt.bind((be) => ls(yt, be, "title"));
58510
58510
  return {
58511
58511
  url: we,
@@ -58516,7 +58516,7 @@ tinymce.addI18n("zh_CN", {
58516
58516
  linkClass: Kn
58517
58517
  };
58518
58518
  }, pl = { collect: (Se, tt) => Ln.getLinks(Se).then((yt) => {
58519
- const dn = qs(Se, tt);
58519
+ const dn = Gs(Se, tt);
58520
58520
  return {
58521
58521
  anchor: dn,
58522
58522
  catalogs: {
@@ -59075,7 +59075,7 @@ tinymce.addI18n("zh_CN", {
59075
59075
  return Mr(ce.fromDom(Q)).fold(() => pe.body.contains(Q), q(Ts, Kr));
59076
59076
  };
59077
59077
  var Eo = (j, Q, pe, ct, ht) => j(pe, ct) ? te.some(pe) : D(ht) && ht(pe) ? te.none() : Q(pe, ct, ht);
59078
- const Zs = (j, Q, pe) => {
59078
+ const qs = (j, Q, pe) => {
59079
59079
  let ct = j.dom;
59080
59080
  const ht = D(pe) ? pe : P;
59081
59081
  for (; ct.parentNode; ) {
@@ -59087,7 +59087,7 @@ tinymce.addI18n("zh_CN", {
59087
59087
  break;
59088
59088
  }
59089
59089
  return te.none();
59090
- }, At = (j, Q, pe) => Eo((ht, $n) => $n(ht), Zs, j, Q, pe), Qt = (j, Q, pe) => Zs(j, (ct) => Ke(ct, Q), pe), Xn = (j, Q, pe) => Eo((ht, $n) => Ke(ht, $n), Qt, j, Q, pe), Co = (j) => Xn(j, "[contenteditable]"), Ko = (j, Q = !1) => Ts(j) ? j.dom.isContentEditable : Co(j).fold(V(Q), (pe) => bs(pe) === "true"), bs = (j) => j.dom.contentEditable, Tr = (j, Q) => {
59090
+ }, At = (j, Q, pe) => Eo((ht, $n) => $n(ht), qs, j, Q, pe), Qt = (j, Q, pe) => qs(j, (ct) => Ke(ct, Q), pe), Xn = (j, Q, pe) => Eo((ht, $n) => Ke(ht, $n), Qt, j, Q, pe), Co = (j) => Xn(j, "[contenteditable]"), Ko = (j, Q = !1) => Ts(j) ? j.dom.isContentEditable : Co(j).fold(V(Q), (pe) => bs(pe) === "true"), bs = (j) => j.dom.contentEditable, Tr = (j, Q) => {
59091
59091
  Do(j).each((ct) => {
59092
59092
  ct.dom.insertBefore(Q.dom, j.dom);
59093
59093
  });
@@ -59158,7 +59158,7 @@ tinymce.addI18n("zh_CN", {
59158
59158
  const ct = Yo(j);
59159
59159
  return Ae(pe, ct), Dt(j), pe;
59160
59160
  };
59161
- var qs = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Vs = tinymce.util.Tools.resolve("tinymce.util.Tools");
59161
+ var Gs = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), Vs = tinymce.util.Tools.resolve("tinymce.util.Tools");
59162
59162
  const pl = (j) => (Q) => A(Q) && Q.nodeName.toLowerCase() === j, ya = (j) => (Q) => A(Q) && j.test(Q.nodeName), ns = (j) => A(j) && j.nodeType === 3, ps = (j) => A(j) && j.nodeType === 1, vs = ya(/^(OL|UL|DL)$/), Ta = ya(/^(OL|UL)$/), wa = pl("ol"), Aa = ya(/^(LI|DT|DD)$/), gr = ya(/^(DT|DD)$/), gu = ya(/^(TH|TD)$/), $l = pl("br"), _c = (j) => {
59163
59163
  var Q;
59164
59164
  return ((Q = j.parentNode) === null || Q === void 0 ? void 0 : Q.firstChild) === j;
@@ -59182,7 +59182,7 @@ tinymce.addI18n("zh_CN", {
59182
59182
  !ra && (Ea !== "SPAN" || ms.getAttribute("data-mce-type") !== "bookmark") && (ra = !0), Kl(ms, ht) ? ($n.appendChild(ms), Ao = null) : (Ao || (Ao = ct.create(qo, ys), $n.appendChild(Ao)), Ao.appendChild(ms));
59183
59183
  }
59184
59184
  return !ra && Ao && Ao.appendChild(ct.create("br", { "data-mce-bogus": "1" })), $n;
59185
- }, Yr = qs.DOM, Yl = (j, Q, pe) => {
59185
+ }, Yr = Gs.DOM, Yl = (j, Q, pe) => {
59186
59186
  const ct = (Ao) => {
59187
59187
  const ra = Ao.parentNode;
59188
59188
  ra && Vs.each(ht, (Ea) => {
@@ -59477,9 +59477,9 @@ tinymce.addI18n("zh_CN", {
59477
59477
  Jm(j, pe, Q), oa(j, Q, ct), j.selection.moveToBookmark($n), j.selection.setRng(gl(j.selection.getRng())), j.nodeChanged(), ht = !0;
59478
59478
  }
59479
59479
  return ht;
59480
- }, Qm = (j, Q) => !Oa(j) && Tf(j, Q), Xp = (j) => Qm(j, "Indent"), Fd = (j) => Qm(j, "Outdent"), Jp = (j) => Qm(j, "Flatten"), ft = "\uFEFF", Af = (j) => j === ft, _i = (j, Q, pe) => Zs(j, Q, pe).isSome(), sv = (j, Q) => _i(j, L(et, Q));
59480
+ }, Qm = (j, Q) => !Oa(j) && Tf(j, Q), Xp = (j) => Qm(j, "Indent"), Fd = (j) => Qm(j, "Outdent"), Jp = (j) => Qm(j, "Flatten"), ft = "\uFEFF", Af = (j) => j === ft, _i = (j, Q, pe) => qs(j, Q, pe).isSome(), sv = (j, Q) => _i(j, L(et, Q));
59481
59481
  var i1 = tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");
59482
- const Ld = qs.DOM, Gs = (j) => {
59482
+ const Ld = Gs.DOM, Ks = (j) => {
59483
59483
  const Q = {}, pe = (ct) => {
59484
59484
  let ht = j[ct ? "startContainer" : "endContainer"], $n = j[ct ? "startOffset" : "endOffset"];
59485
59485
  if (ps(ht)) {
@@ -59610,7 +59610,7 @@ tinymce.addI18n("zh_CN", {
59610
59610
  if (qo.getContentEditable(j.selection.getNode()) === "false")
59611
59611
  return;
59612
59612
  Q = Q.toUpperCase(), Q === "DL" && (ht = "DT");
59613
- const ys = Gs(ct), ms = Vt(fd(j, ct, $n), j.dom.isEditable);
59613
+ const ys = Ks(ct), ms = Vt(fd(j, ct, $n), j.dom.isEditable);
59614
59614
  Vs.each(ms, (Ao) => {
59615
59615
  let ra;
59616
59616
  const Ea = Ao.previousSibling, Nc = Ao.parentNode;
@@ -59664,7 +59664,7 @@ tinymce.addI18n("zh_CN", {
59664
59664
  Jp(j);
59665
59665
  else {
59666
59666
  np(j, ct, ht);
59667
- const qo = Gs(j.selection.getRng()), ys = $n ? [
59667
+ const qo = Ks(j.selection.getRng()), ys = $n ? [
59668
59668
  Q,
59669
59669
  ...pe
59670
59670
  ] : pe, ms = $n && As(Q) ? op : c1;
@@ -59678,7 +59678,7 @@ tinymce.addI18n("zh_CN", {
59678
59678
  if (Q.nodeName === pe && !$f(ct) && !As(Q))
59679
59679
  Jp(j);
59680
59680
  else {
59681
- const ht = Gs(j.selection.getRng());
59681
+ const ht = Ks(j.selection.getRng());
59682
59682
  As(Q) && Q.classList.forEach((qo, ys, ms) => {
59683
59683
  qo.startsWith("tox-") && (ms.remove(qo), ms.length === 0 && Q.removeAttribute("class"));
59684
59684
  }), Ql(j.dom, Q, ct);
@@ -59693,7 +59693,7 @@ tinymce.addI18n("zh_CN", {
59693
59693
  return;
59694
59694
  const ht = yt(j), $n = y(pe) ? pe : {};
59695
59695
  ht.length > 0 ? yu(j, ct, ht, Q, $n) : u1(j, ct, Q, $n);
59696
- }, d1 = qs.DOM, f1 = (j, Q) => {
59696
+ }, d1 = Gs.DOM, f1 = (j, Q) => {
59697
59697
  const pe = Q.parentElement;
59698
59698
  if (pe && pe.nodeName === "LI" && pe.firstChild === Q) {
59699
59699
  const ct = pe.previousSibling;
@@ -59752,11 +59752,11 @@ tinymce.addI18n("zh_CN", {
59752
59752
  if (ht.isEmpty(ct))
59753
59753
  rp(j, pe, ct);
59754
59754
  else {
59755
- const $n = Gs(Q);
59755
+ const $n = Ks(Q);
59756
59756
  ki(ht, pe, ct), j.selection.setRng(Sa($n));
59757
59757
  }
59758
59758
  }, il = (j, Q, pe, ct) => {
59759
- const ht = Gs(Q);
59759
+ const ht = Ks(Q);
59760
59760
  ki(j.dom, pe, ct);
59761
59761
  const $n = Sa(ht);
59762
59762
  j.selection.setRng($n);
@@ -59774,7 +59774,7 @@ tinymce.addI18n("zh_CN", {
59774
59774
  if (ra && !Q && Ao !== qo) {
59775
59775
  const Ea = ms.commonAncestorContainer.parentElement;
59776
59776
  return !Ea || pe.isChildOf(Ao, Ea) ? !1 : (j.undoManager.transact(() => {
59777
- const Nc = Gs(ms);
59777
+ const Nc = Ks(ms);
59778
59778
  ll(pe, Ea, Ao), Ea.remove();
59779
59779
  const cc = Sa(Nc);
59780
59780
  j.selection.setRng(cc);
@@ -60484,12 +60484,12 @@ tinymce.addI18n("zh_CN", {
60484
60484
  const Po = Io(eo.getData()), ls = Qe((_o = Po.embed) !== null && _o !== void 0 ? _o : "", it.schema);
60485
60485
  eo.setData(fo(ls));
60486
60486
  }, Cn = (eo, _o, Po) => {
60487
- const ls = Io(eo.getData(), _o), qs = ks(Po, ls) && Vt(it) ? {
60487
+ const ls = Io(eo.getData(), _o), Gs = ks(Po, ls) && Vt(it) ? {
60488
60488
  ...ls,
60489
60489
  embed: ""
60490
- } : ls, Vs = Ke(it, qs);
60490
+ } : ls, Vs = Ke(it, Gs);
60491
60491
  eo.setData(fo({
60492
- ...qs,
60492
+ ...Gs,
60493
60493
  embed: Vs
60494
60494
  }));
60495
60495
  }, _n = [{
@@ -60607,7 +60607,7 @@ tinymce.addI18n("zh_CN", {
60607
60607
  Ae.append(Dt.firstChild);
60608
60608
  }, Ts = (it, st) => {
60609
60609
  const Ae = st.name, je = new Ze("img", 1);
60610
- return Zs(it, st, je), Mr(st, je, {}), je.attr({
60610
+ return qs(it, st, je), Mr(st, je, {}), je.attr({
60611
60611
  style: st.attr("style"),
60612
60612
  src: Wr.transparentSrc,
60613
60613
  "data-mce-object": Ae,
@@ -60621,7 +60621,7 @@ tinymce.addI18n("zh_CN", {
60621
60621
  style: st.attr("style"),
60622
60622
  "data-mce-object": je,
60623
60623
  class: "mce-preview-object mce-object-" + je
60624
- }), Zs(it, st, Dt);
60624
+ }), qs(it, st, Dt);
60625
60625
  const Rt = it.dom.parseStyle((Ae = st.attr("style")) !== null && Ae !== void 0 ? Ae : ""), Cn = new Ze(je, 1);
60626
60626
  if (Mr(st, Cn, Rt), Cn.attr({
60627
60627
  src: st.attr("src"),
@@ -60651,7 +60651,7 @@ tinymce.addI18n("zh_CN", {
60651
60651
  }
60652
60652
  const _n = new Ze("span", 1);
60653
60653
  return _n.attr("class", "mce-shim"), Dt.append(Cn), Dt.append(_n), Dt;
60654
- }, Zs = (it, st, Ae) => {
60654
+ }, qs = (it, st, Ae) => {
60655
60655
  var je;
60656
60656
  const Dt = (je = st.attributes) !== null && je !== void 0 ? je : [];
60657
60657
  let Rt = Dt.length;
@@ -61957,7 +61957,7 @@ tinymce.addI18n("zh_CN", {
61957
61957
  var Je;
61958
61958
  const Kt = qe.parentNode;
61959
61959
  qe.firstChild && Kt.insertBefore(qe.firstChild, qe), (Je = qe.parentNode) === null || Je === void 0 || Je.removeChild(qe);
61960
- }, Zs = (qe, Je) => {
61960
+ }, qs = (qe, Je) => {
61961
61961
  const Kt = [], un = te.toArray(qe.getBody().getElementsByTagName("span"));
61962
61962
  if (un.length)
61963
61963
  for (let Ln = 0; Ln < un.length; Ln++) {
@@ -61969,9 +61969,9 @@ tinymce.addI18n("zh_CN", {
61969
61969
  const un = Je.get();
61970
61970
  let Ln = un.index;
61971
61971
  const Jn = qe.dom;
61972
- Kt ? Ln + 1 === un.count ? Ln = 0 : Ln++ : Ln - 1 === -1 ? Ln = un.count - 1 : Ln--, Jn.removeClass(Zs(qe, un.index), "mce-match-marker-selected");
61973
- const so = Zs(qe, Ln);
61974
- return so.length ? (Jn.addClass(Zs(qe, Ln), "mce-match-marker-selected"), qe.selection.scrollIntoView(so[0]), Ln) : -1;
61972
+ Kt ? Ln + 1 === un.count ? Ln = 0 : Ln++ : Ln - 1 === -1 ? Ln = un.count - 1 : Ln--, Jn.removeClass(qs(qe, un.index), "mce-match-marker-selected");
61973
+ const so = qs(qe, Ln);
61974
+ return so.length ? (Jn.addClass(qs(qe, Ln), "mce-match-marker-selected"), qe.selection.scrollIntoView(so[0]), Ln) : -1;
61975
61975
  }, Qt = (qe, Je) => {
61976
61976
  const Kt = Je.parentNode;
61977
61977
  qe.remove(Je), Kt && qe.isEmpty(Kt) && qe.remove(Kt);
@@ -61984,9 +61984,9 @@ tinymce.addI18n("zh_CN", {
61984
61984
  matchIndex: 1
61985
61985
  }, ls = Ts(qe, Je, Po, Jn);
61986
61986
  if (P.browser.isSafari() && so.setRng(so.getRng(), _o), ls) {
61987
- const qs = At(qe, Je, !0);
61987
+ const Gs = At(qe, Je, !0);
61988
61988
  Je.set({
61989
- index: qs,
61989
+ index: Gs,
61990
61990
  count: ls,
61991
61991
  text: Kt,
61992
61992
  matchCase: un,
@@ -62015,19 +62015,19 @@ tinymce.addI18n("zh_CN", {
62015
62015
  let eo, _o = so;
62016
62016
  un = un !== !1;
62017
62017
  const Po = qe.getBody(), ls = te.grep(te.toArray(Po.getElementsByTagName("span")), Tr);
62018
- for (let qs = 0; qs < ls.length; qs++) {
62019
- const Vs = Kr(ls[qs]);
62018
+ for (let Gs = 0; Gs < ls.length; Gs++) {
62019
+ const Vs = Kr(ls[Gs]);
62020
62020
  let pl = eo = parseInt(Vs, 10);
62021
62021
  if (Ln || pl === Jn.index) {
62022
- for (Kt.length ? (ls[qs].innerText = Kt, Eo(ls[qs])) : Qt(qe.dom, ls[qs]); ls[++qs]; )
62023
- if (pl = parseInt(Kr(ls[qs]), 10), pl === eo)
62024
- Qt(qe.dom, ls[qs]);
62022
+ for (Kt.length ? (ls[Gs].innerText = Kt, Eo(ls[Gs])) : Qt(qe.dom, ls[Gs]); ls[++Gs]; )
62023
+ if (pl = parseInt(Kr(ls[Gs]), 10), pl === eo)
62024
+ Qt(qe.dom, ls[Gs]);
62025
62025
  else {
62026
- qs--;
62026
+ Gs--;
62027
62027
  break;
62028
62028
  }
62029
62029
  un && _o--;
62030
- } else eo > so && ls[qs].setAttribute("data-mce-index", String(eo - 1));
62030
+ } else eo > so && ls[Gs].setAttribute("data-mce-index", String(eo - 1));
62031
62031
  }
62032
62032
  return Je.set({
62033
62033
  ...Jn,
@@ -62114,12 +62114,12 @@ tinymce.addI18n("zh_CN", {
62114
62114
  Ta <= 0 && eo(!0, ns), so(ns, Ta === 0);
62115
62115
  }
62116
62116
  Ln(ns);
62117
- }, qs = Je.get(), Vs = {
62117
+ }, Gs = Je.get(), Vs = {
62118
62118
  findtext: un,
62119
62119
  replacetext: "",
62120
- wholewords: qs.wholeWord,
62121
- matchcase: qs.matchCase,
62122
- inselection: qs.inSelection
62120
+ wholewords: Gs.wholeWord,
62121
+ matchcase: Gs.matchCase,
62122
+ inselection: Gs.inSelection
62123
62123
  }, pl = (ns) => {
62124
62124
  const ps = [
62125
62125
  {
@@ -62540,7 +62540,7 @@ tinymce.addI18n("zh_CN", {
62540
62540
  return Mo(de) ? X.none() : X.from(de.querySelector(B)).map(pn.fromDom);
62541
62541
  }, Do = (B, G) => B.dom === G.dom, Xs = Hn;
62542
62542
  typeof window < "u" || Function("return this;")();
62543
- const wn = (B) => B.dom.nodeName.toLowerCase(), Yo = (B) => B.dom.nodeType, rr = (B) => (G) => Yo(G) === B, nr = (B) => Yo(B) === ln || wn(B) === "#comment", Wr = rr(qt), Ir = rr(En), Ls = rr(Un), Mr = rr(Nt), Kr = (B) => (G) => Wr(G) && wn(G) === B, Ts = (B) => pn.fromDom(B.dom.ownerDocument), Eo = (B) => Ls(B) ? B : Ts(B), Zs = (B) => X.from(B.dom.parentNode).map(pn.fromDom), At = (B, G) => {
62543
+ const wn = (B) => B.dom.nodeName.toLowerCase(), Yo = (B) => B.dom.nodeType, rr = (B) => (G) => Yo(G) === B, nr = (B) => Yo(B) === ln || wn(B) === "#comment", Wr = rr(qt), Ir = rr(En), Ls = rr(Un), Mr = rr(Nt), Kr = (B) => (G) => Wr(G) && wn(G) === B, Ts = (B) => pn.fromDom(B.dom.ownerDocument), Eo = (B) => Ls(B) ? B : Ts(B), qs = (B) => X.from(B.dom.parentNode).map(pn.fromDom), At = (B, G) => {
62544
62544
  const de = I(G) ? G : De;
62545
62545
  let Ie = B.dom;
62546
62546
  const bt = [];
@@ -62580,12 +62580,12 @@ tinymce.addI18n("zh_CN", {
62580
62580
  }, Dt = (B, G, de) => Ae((bt, bn) => bn(bt), je, B, G, de), Rt = (B, G) => {
62581
62581
  const de = (bt) => G(pn.fromDom(bt));
62582
62582
  return Le(B.dom.childNodes, de).map(pn.fromDom);
62583
- }, Cn = (B, G, de) => je(B, (Ie) => Hn(Ie, G), de), _n = (B, G) => Rt(B, (de) => Hn(de, G)), Ot = (B, G) => ks(G, B), Et = (B, G, de) => Ae((bt, bn) => Hn(bt, bn), Cn, B, G, de), qe = (B) => Et(B, "[contenteditable]"), Je = (B, G = !1) => st(B) ? B.dom.isContentEditable : qe(B).fold(H(G), (de) => Kt(de) === "true"), Kt = (B) => B.dom.contentEditable, un = (B) => B.nodeName.toLowerCase(), Ln = (B) => pn.fromDom(B.getBody()), Jn = (B) => (G) => Do(G, Ln(B)), so = (B) => B ? B.replace(/px$/, "") : "", eo = (B) => /^\d+(\.\d+)?$/.test(B) ? B + "px" : B, _o = (B) => pn.fromDom(B.selection.getStart()), Po = (B) => pn.fromDom(B.selection.getEnd()), ls = (B) => Dt(B, Kr("table")).forall(Je), qs = (B, G) => Yt(Co(B), G), Vs = (B, G) => {
62583
+ }, Cn = (B, G, de) => je(B, (Ie) => Hn(Ie, G), de), _n = (B, G) => Rt(B, (de) => Hn(de, G)), Ot = (B, G) => ks(G, B), Et = (B, G, de) => Ae((bt, bn) => Hn(bt, bn), Cn, B, G, de), qe = (B) => Et(B, "[contenteditable]"), Je = (B, G = !1) => st(B) ? B.dom.isContentEditable : qe(B).fold(H(G), (de) => Kt(de) === "true"), Kt = (B) => B.dom.contentEditable, un = (B) => B.nodeName.toLowerCase(), Ln = (B) => pn.fromDom(B.getBody()), Jn = (B) => (G) => Do(G, Ln(B)), so = (B) => B ? B.replace(/px$/, "") : "", eo = (B) => /^\d+(\.\d+)?$/.test(B) ? B + "px" : B, _o = (B) => pn.fromDom(B.selection.getStart()), Po = (B) => pn.fromDom(B.selection.getEnd()), ls = (B) => Dt(B, Kr("table")).forall(Je), Gs = (B, G) => Yt(Co(B), G), Vs = (B, G) => {
62584
62584
  let de = [];
62585
62585
  return se(Co(B), (Ie) => {
62586
62586
  G(Ie) && (de = de.concat([Ie])), de = de.concat(Vs(Ie, G));
62587
62587
  }), de;
62588
- }, pl = (B, G) => qs(B, (de) => Hn(de, G)), ya = (B, G) => zo(G, B), ns = (B, G, de) => {
62588
+ }, pl = (B, G) => Gs(B, (de) => Hn(de, G)), ya = (B, G) => zo(G, B), ns = (B, G, de) => {
62589
62589
  if (y(de) || S(de) || R(de))
62590
62590
  B.setAttribute(G, de + "");
62591
62591
  else
@@ -62692,7 +62692,7 @@ tinymce.addI18n("zh_CN", {
62692
62692
  });
62693
62693
  return ae(de, Ie, G(de));
62694
62694
  }
62695
- }), ha = (B) => Zs(B).map((G) => {
62695
+ }), ha = (B) => qs(B).map((G) => {
62696
62696
  const de = wn(G);
62697
62697
  return Se(de) ? de : "tbody";
62698
62698
  }).getOr("tbody"), gn = (B) => {
@@ -62899,12 +62899,12 @@ tinymce.addI18n("zh_CN", {
62899
62899
  const Ie = i1(B);
62900
62900
  return _i(Ie, G, de);
62901
62901
  }, i1 = bu.fromTable, Ld = (B, G) => {
62902
- Zs(B).each((Ie) => {
62902
+ qs(B).each((Ie) => {
62903
62903
  Ie.dom.insertBefore(G.dom, B.dom);
62904
62904
  });
62905
- }, Gs = (B, G) => {
62905
+ }, Ks = (B, G) => {
62906
62906
  Xn(B).fold(() => {
62907
- Zs(B).each((bt) => {
62907
+ qs(B).each((bt) => {
62908
62908
  Pl(bt, G);
62909
62909
  });
62910
62910
  }, (Ie) => {
@@ -62923,7 +62923,7 @@ tinymce.addI18n("zh_CN", {
62923
62923
  }, Jg = (B, G) => {
62924
62924
  se(G, (de, Ie) => {
62925
62925
  const bt = Ie === 0 ? B : G[Ie - 1];
62926
- Gs(bt, de);
62926
+ Ks(bt, de);
62927
62927
  });
62928
62928
  }, Of = (B, G) => {
62929
62929
  se(G, (de) => {
@@ -63031,7 +63031,7 @@ tinymce.addI18n("zh_CN", {
63031
63031
  }),
63032
63032
  insert: H({
63033
63033
  before: Ld,
63034
- after: Gs,
63034
+ after: Ks,
63035
63035
  afterAll: Jg,
63036
63036
  append: Pl,
63037
63037
  appendAll: Of,
@@ -63055,7 +63055,7 @@ tinymce.addI18n("zh_CN", {
63055
63055
  property: H({
63056
63056
  children: Co,
63057
63057
  name: wn,
63058
- parent: Zs,
63058
+ parent: qs,
63059
63059
  document: G,
63060
63060
  isText: Ir,
63061
63061
  isComment: nr,
@@ -63969,30 +63969,30 @@ Required: ` + G.join(", "));
63969
63969
  }), nh = (B) => {
63970
63970
  const G = Jr(X.none()), de = Jr([]);
63971
63971
  let Ie = X.none();
63972
- const bt = Kr("caption"), bn = (Ks) => Ie.forall((Vr) => !Vr[Ks]), jn = () => il(_o(B), Jn(B)), ko = () => il(Po(B), Jn(B)), is = () => jn().bind((Ks) => Ss(_c(Bt(Ks), ko().bind(Bt), (Vr, fc) => Do(Vr, fc) ? bt(Ks) ? X.some(lr(Ks)) : X.some(Zd(ap(B), Vr, Ks)) : X.none()))), hs = (Ks) => Bt(Ks.element).map((fc) => {
63973
- const Ua = bu.fromTable(fc), w1 = im(Ua, Ks).getOr([]), rh = Zt(w1, (dm, Ic) => (Ic.isLocked && (dm.onAny = !0, Ic.column === 0 ? dm.onFirst = !0 : Ic.column + Ic.colspan >= Ua.grid.columns && (dm.onLast = !0)), dm), {
63972
+ const bt = Kr("caption"), bn = (Ys) => Ie.forall((Vr) => !Vr[Ys]), jn = () => il(_o(B), Jn(B)), ko = () => il(Po(B), Jn(B)), is = () => jn().bind((Ys) => Ss(_c(Bt(Ys), ko().bind(Bt), (Vr, fc) => Do(Vr, fc) ? bt(Ys) ? X.some(lr(Ys)) : X.some(Zd(ap(B), Vr, Ys)) : X.none()))), hs = (Ys) => Bt(Ys.element).map((fc) => {
63973
+ const Ua = bu.fromTable(fc), w1 = im(Ua, Ys).getOr([]), rh = Zt(w1, (dm, Ic) => (Ic.isLocked && (dm.onAny = !0, Ic.column === 0 ? dm.onFirst = !0 : Ic.column + Ic.colspan >= Ua.grid.columns && (dm.onLast = !0)), dm), {
63974
63974
  onAny: !1,
63975
63975
  onFirst: !1,
63976
63976
  onLast: !1
63977
63977
  });
63978
63978
  return {
63979
- mergeable: p1(Ua, Ks).isSome(),
63980
- unmergeable: iy(Ua, Ks).isSome(),
63979
+ mergeable: p1(Ua, Ys).isSome(),
63980
+ unmergeable: iy(Ua, Ys).isSome(),
63981
63981
  locked: rh
63982
63982
  };
63983
63983
  }), kr = () => {
63984
63984
  G.set(ra(is)()), Ie = G.get().bind(hs), se(de.get(), te);
63985
- }, Sr = (Ks) => (Ks(), de.set(de.get().concat([Ks])), () => {
63986
- de.set(Yt(de.get(), (Vr) => Vr !== Ks));
63987
- }), ma = (Ks, Vr) => Sr(() => G.get().fold(() => {
63988
- Ks.setEnabled(!1);
63985
+ }, Sr = (Ys) => (Ys(), de.set(de.get().concat([Ys])), () => {
63986
+ de.set(Yt(de.get(), (Vr) => Vr !== Ys));
63987
+ }), ma = (Ys, Vr) => Sr(() => G.get().fold(() => {
63988
+ Ys.setEnabled(!1);
63989
63989
  }, (fc) => {
63990
- Ks.setEnabled(!Vr(fc) && B.selection.isEditable());
63991
- })), qi = (Ks, Vr, fc) => Sr(() => G.get().fold(() => {
63992
- Ks.setEnabled(!1), Ks.setActive(!1);
63990
+ Ys.setEnabled(!Vr(fc) && B.selection.isEditable());
63991
+ })), qi = (Ys, Vr, fc) => Sr(() => G.get().fold(() => {
63992
+ Ys.setEnabled(!1), Ys.setActive(!1);
63993
63993
  }, (Ua) => {
63994
- Ks.setEnabled(!Vr(Ua) && B.selection.isEditable()), Ks.setActive(fc(Ua));
63995
- })), yd = (Ks) => Ie.exists((Vr) => Vr.locked[Ks]), dc = (Ks) => ma(Ks, (Vr) => !1), Hu = (Ks) => ma(Ks, (Vr) => bt(Vr.element)), lg = (Ks) => (Vr) => ma(Vr, (fc) => bt(fc.element) || yd(Ks)), ig = (Ks) => (Vr) => ma(Vr, (fc) => bt(fc.element) || Ks().isNone()), Gi = (Ks, Vr) => (fc) => ma(fc, (Ua) => bt(Ua.element) || Ks().isNone() || yd(Vr)), cg = (Ks) => ma(Ks, (Vr) => bn("mergeable")), ug = (Ks) => ma(Ks, (Vr) => bn("unmergeable")), y1 = (Ks) => qi(Ks, De, (Vr) => Bt(Vr.element, Jn(B)).exists((Ua) => I2(Ua, "caption"))), sh = (Ks, Vr) => (fc) => qi(fc, (Ua) => bt(Ua.element), () => B.queryCommandValue(Ks) === Vr), kl = sh("mceTableRowType", "header"), zu = sh("mceTableColType", "th");
63994
+ Ys.setEnabled(!Vr(Ua) && B.selection.isEditable()), Ys.setActive(fc(Ua));
63995
+ })), yd = (Ys) => Ie.exists((Vr) => Vr.locked[Ys]), dc = (Ys) => ma(Ys, (Vr) => !1), Hu = (Ys) => ma(Ys, (Vr) => bt(Vr.element)), lg = (Ys) => (Vr) => ma(Vr, (fc) => bt(fc.element) || yd(Ys)), ig = (Ys) => (Vr) => ma(Vr, (fc) => bt(fc.element) || Ys().isNone()), Gi = (Ys, Vr) => (fc) => ma(fc, (Ua) => bt(Ua.element) || Ys().isNone() || yd(Vr)), cg = (Ys) => ma(Ys, (Vr) => bn("mergeable")), ug = (Ys) => ma(Ys, (Vr) => bn("unmergeable")), y1 = (Ys) => qi(Ys, De, (Vr) => Bt(Vr.element, Jn(B)).exists((Ua) => I2(Ua, "caption"))), sh = (Ys, Vr) => (fc) => qi(fc, (Ua) => bt(Ua.element), () => B.queryCommandValue(Ys) === Vr), kl = sh("mceTableRowType", "header"), zu = sh("mceTableColType", "th");
63996
63996
  return B.on("NodeChange ExecCommand TableSelectorChange", kr), {
63997
63997
  onSetupTable: dc,
63998
63998
  onSetupCellOrRow: Hu,
@@ -64811,14 +64811,14 @@ Required: ` + G.join(", "));
64811
64811
  context: "any"
64812
64812
  });
64813
64813
  };
64814
- var Zs = () => {
64814
+ var qs = () => {
64815
64815
  a.add("visualchars", (At) => {
64816
64816
  Wr(At);
64817
64817
  const Qt = r(Ir(At));
64818
64818
  return rr(At, Qt), Eo(At, Qt), Kr(At, Qt), Ls(At, Qt), c(Qt);
64819
64819
  });
64820
64820
  };
64821
- Zs();
64821
+ qs();
64822
64822
  })();
64823
64823
  (function() {
64824
64824
  var r = tinymce.util.Tools.resolve("tinymce.PluginManager");
@@ -65686,8 +65686,8 @@ Jb.PluginManager.add("pagesize", (r) => {
65686
65686
  const un = Ze.detect(Kt.versionRegexes, Je);
65687
65687
  return { current: Kt.name, version: un };
65688
65688
  }))(Cn, Ae).fold(Zt, ye), Et = ((qe, Je, Kt, un) => {
65689
- const Ln = qe.isiOS() && /ipad/i.test(Kt) === !0, Jn = qe.isiOS() && !Ln, so = qe.isiOS() || qe.isAndroid(), eo = so || un("(pointer:coarse)"), _o = Ln || !Jn && so && un("(min-device-width:768px)"), Po = Jn || so && !_o, ls = Je.isSafari() && qe.isiOS() && /safari/i.test(Kt) === !1, qs = !Po && !_o && !ls;
65690
- return { isiPad: k(Ln), isiPhone: k(Jn), isTablet: k(_o), isPhone: k(Po), isTouch: k(eo), isAndroid: qe.isAndroid, isiOS: qe.isiOS, isWebView: k(ls), isDesktop: k(qs) };
65689
+ const Ln = qe.isiOS() && /ipad/i.test(Kt) === !0, Jn = qe.isiOS() && !Ln, so = qe.isiOS() || qe.isAndroid(), eo = so || un("(pointer:coarse)"), _o = Ln || !Jn && so && un("(min-device-width:768px)"), Po = Jn || so && !_o, ls = Je.isSafari() && qe.isiOS() && /safari/i.test(Kt) === !1, Gs = !Po && !_o && !ls;
65690
+ return { isiPad: k(Ln), isiPhone: k(Jn), isTablet: k(_o), isPhone: k(Po), isTouch: k(eo), isAndroid: qe.isAndroid, isiOS: qe.isiOS, isWebView: k(ls), isDesktop: k(Gs) };
65691
65691
  })(Ot, _n, Ae, Dt);
65692
65692
  return { browser: _n, os: Ot, deviceType: Et };
65693
65693
  }, ze = (Ae) => window.matchMedia(Ae).matches;
@@ -65782,12 +65782,12 @@ Jb.PluginManager.add("pagesize", (r) => {
65782
65782
  }, Ls = { formatpainter_checklist: { selector: "ul", classes: "tox-checklist" }, formatpainter_liststyletype: { selector: "ul,ol", styles: { listStyleType: "%value" } }, formatpainter_borderstyle: { selector: "td,th", styles: { borderTopStyle: "%valueTop", borderRightStyle: "%valueRight", borderBottomStyle: "%valueBottom", borderLeftStyle: "%valueLeft" }, remove_similar: !0 }, formatpainter_bordercolor: { selector: "td,th", styles: { borderTopColor: "%valueTop", borderRightColor: "%valueRight", borderBottomColor: "%valueBottom", borderLeftColor: "%valueLeft" }, remove_similar: !0 }, formatpainter_backgroundcolor: { selector: "td,th", styles: { backgroundColor: "%value" }, remove_similar: !0 }, formatpainter_removeformat: [{ selector: "b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins", remove: "all", split: !0, expand: !1, block_expand: !0, deep: !0 }, { selector: "span", attributes: ["style", "class"], remove: "empty", split: !0, expand: !1, deep: !0 }, { selector: "*:not(tr,td,th,table)", attributes: ["style", "class"], split: !1, expand: !1, deep: !0 }], formatpainter_legacy_font: { inline: "font", attributes: { size: "%value" } } }, Mr = (Ae, je) => fe(je, "selector").exists((Dt) => {
65783
65783
  const Rt = Ae.getBody(), Cn = Ae.selection.getStart(), _n = Ae.dom.getParents(Cn, I, Rt), Ot = Ae.selection.getSelectedBlocks();
65784
65784
  return Ae.dom.is([..._n, ...Ot], Dt);
65785
- }), Kr = (Ae) => Ae.length > 1 && Ae.charAt(0) === "%", Ts = (Ae, je) => fe(Ae, je).filter((Dt) => !f(Dt)), Eo = (Ae) => dt(Ae, "OL,UL,DL"), Zs = (Ae) => dt(Ae, "LI,DT,DD"), At = (Ae) => Ae.replace(/([A-Z])/g, (je) => `-${je[0].toLowerCase()}`), Qt = (Ae, je, Dt) => {
65785
+ }), Kr = (Ae) => Ae.length > 1 && Ae.charAt(0) === "%", Ts = (Ae, je) => fe(Ae, je).filter((Dt) => !f(Dt)), Eo = (Ae) => dt(Ae, "OL,UL,DL"), qs = (Ae) => dt(Ae, "LI,DT,DD"), At = (Ae) => Ae.replace(/([A-Z])/g, (je) => `-${je[0].toLowerCase()}`), Qt = (Ae, je, Dt) => {
65786
65786
  const Rt = Ae.formatter, Cn = ((qe, Je) => L(qe.formatter.get(Je), (Kt) => ((un, Ln) => Vt(Ln, "inline") && !Mr(un, Ln))(qe, Kt)))(Ae, Dt.formatName), _n = ((qe, Je, Kt) => L(Je.get(Kt), (un) => ((Ln, Jn) => Vt(Jn, "block") || Mr(Ln, Jn))(qe, un)))(Ae, Rt, Dt.formatName), Ot = (Et = Dt.formatName, H(["formatpainter_borderstyle", "formatpainter_bordercolor", "formatpainter_backgroundcolor"], Et));
65787
65787
  var Et;
65788
65788
  (je.table && Ot || Cn || je.block && _n && !Ot) && Rt.apply(Dt.formatName, Dt.substitutedVariables);
65789
65789
  }, Xn = (Ae) => {
65790
- const je = Ae.selection, Dt = je.getRng(), Rt = nt(Ae.getBody()), Cn = ((Et) => P(Et.selection.getSelectedBlocks().map(nt), Zs))(Ae), _n = Dt.collapsed && Cn.length, Ot = Cn.length && !((Et, qe) => {
65790
+ const je = Ae.selection, Dt = je.getRng(), Rt = nt(Ae.getBody()), Cn = ((Et) => P(Et.selection.getSelectedBlocks().map(nt), qs))(Ae), _n = Dt.collapsed && Cn.length, Ot = Cn.length && !((Et, qe) => {
65791
65791
  const Je = (Jn) => Wt(Jn, qe);
65792
65792
  return (Kt = Mo(nt(Et.getStart()), Eo, Je), un = Mo(nt(Et.getEnd()), Eo, Je), Ln = (Jn, so) => Wt(Jn, so), Kt.isSome() && un.isSome() ? R.some(Ln(Kt.getOrDie(), un.getOrDie())) : R.none()).getOr(!1);
65793
65793
  var Kt, un, Ln;
@@ -65827,10 +65827,10 @@ Jb.PluginManager.add("pagesize", (r) => {
65827
65827
  return De(P(Dt, ln), (Rt) => De(Tr(Ae, Rt), (Cn) => ((_n, Ot, Et) => {
65828
65828
  return (qe = _n.get(Ot), ((Je) => 0 < Je.length ? R.some(Je[0]) : R.none())(qe)).bind((Je) => ((Kt, un) => {
65829
65829
  const Ln = Ts(Kt, "styles").map((eo) => {
65830
- return _o = un, Po = bs(eo), ke(Po, (ls, qs) => ({ k: ls.slice(1, ls.length), v: Ft(_o, At(qs)) }));
65830
+ return _o = un, Po = bs(eo), ke(Po, (ls, Gs) => ({ k: ls.slice(1, ls.length), v: Ft(_o, At(Gs)) }));
65831
65831
  var _o, Po;
65832
65832
  }), Jn = Ts(Kt, "attributes").map((eo) => {
65833
- return _o = un, Po = bs(eo), ke(Po, (ls, qs) => ({ k: ls.slice(1, ls.length), v: Ko(_o, qs) }));
65833
+ return _o = un, Po = bs(eo), ke(Po, (ls, Gs) => ({ k: ls.slice(1, ls.length), v: Ko(_o, Gs) }));
65834
65834
  var _o, Po;
65835
65835
  }), so = { ...Ln.getOr({}), ...Jn.getOr({}) };
65836
65836
  return he(so).every((eo) => eo !== "") ? R.some(so) : R.none();
@@ -68338,7 +68338,7 @@ function $ke(r) {
68338
68338
  }
68339
68339
  const Dke = /* @__PURE__ */ Zo({
68340
68340
  __name: "NodesProvider",
68341
- props: /* @__PURE__ */ Ys({
68341
+ props: /* @__PURE__ */ Zs({
68342
68342
  nodes: {
68343
68343
  type: Array,
68344
68344
  default: () => []
@@ -68502,14 +68502,14 @@ const Dke = /* @__PURE__ */ Zo({
68502
68502
  class: "icon"
68503
68503
  }, Fke = /* @__PURE__ */ Zo({
68504
68504
  __name: "index",
68505
- props: /* @__PURE__ */ Ys({
68505
+ props: /* @__PURE__ */ Zs({
68506
68506
  style: {},
68507
68507
  direction: {}
68508
68508
  }, {
68509
68509
  show: { type: Boolean },
68510
68510
  showModifiers: {}
68511
68511
  }),
68512
- emits: /* @__PURE__ */ Ys(["select"], ["update:show"]),
68512
+ emits: /* @__PURE__ */ Zs(["select"], ["update:show"]),
68513
68513
  setup(r, { emit: a }) {
68514
68514
  const c = r, {
68515
68515
  contextMenuRef: f,
@@ -69378,7 +69378,7 @@ const RH = {
69378
69378
  }
69379
69379
  }), sTe = /* @__PURE__ */ cr(oTe, [["__scopeId", "data-v-7bd3ae6e"]]), rTe = /* @__PURE__ */ Zo({
69380
69380
  __name: "index",
69381
- props: /* @__PURE__ */ Ys({
69381
+ props: /* @__PURE__ */ Zs({
69382
69382
  modelValue: {
69383
69383
  type: String,
69384
69384
  default: ""
@@ -69468,7 +69468,7 @@ const RH = {
69468
69468
  selectedNodes: { default: [] },
69469
69469
  selectedNodesModifiers: {}
69470
69470
  }),
69471
- emits: /* @__PURE__ */ Ys([
69471
+ emits: /* @__PURE__ */ Zs([
69472
69472
  "update:modelValue",
69473
69473
  "update:nodes",
69474
69474
  "update:formData",
@@ -69620,7 +69620,7 @@ const RH = {
69620
69620
  class: "node-text-table-index"
69621
69621
  }, uTe = /* @__PURE__ */ Zo({
69622
69622
  __name: "index",
69623
- props: /* @__PURE__ */ Ys({
69623
+ props: /* @__PURE__ */ Zs({
69624
69624
  editorId: {
69625
69625
  type: String,
69626
69626
  default: ""
@@ -69696,7 +69696,7 @@ const V4 = [
69696
69696
  class: "node-select"
69697
69697
  }, pTe = { class: "flex py-2 px-2 justify-between items-center noder-select-header" }, gTe = { class: "flex gap-2" }, hTe = { class: "flex gap-1" }, bTe = /* @__PURE__ */ Zo({
69698
69698
  __name: "index",
69699
- props: /* @__PURE__ */ Ys({
69699
+ props: /* @__PURE__ */ Zs({
69700
69700
  /**
69701
69701
  * 模式
69702
69702
  * single: 单选
@@ -70391,7 +70391,7 @@ const $Te = (r, a) => {
70391
70391
  );
70392
70392
  }, NTe = { class: "node-formula" }, RTe = { class: "node-formula-show" }, ITe = /* @__PURE__ */ Zo({
70393
70393
  __name: "index",
70394
- props: /* @__PURE__ */ Ys({
70394
+ props: /* @__PURE__ */ Zs({
70395
70395
  id: {
70396
70396
  type: String,
70397
70397
  default: ""
@@ -70512,7 +70512,7 @@ const $Te = (r, a) => {
70512
70512
  }
70513
70513
  ], BTe = { class: "select-function" }, FTe = ["onClick"], LTe = { class: "function-item" }, VTe = { class: "function-item-desc" }, HTe = /* @__PURE__ */ Zo({
70514
70514
  __name: "index",
70515
- props: /* @__PURE__ */ Ys({
70515
+ props: /* @__PURE__ */ Zs({
70516
70516
  id: {
70517
70517
  type: String,
70518
70518
  default: ""
@@ -73581,7 +73581,7 @@ function oce(r) {
73581
73581
  }
73582
73582
  const T$e = {
73583
73583
  __name: "index",
73584
- props: /* @__PURE__ */ Ys({
73584
+ props: /* @__PURE__ */ Zs({
73585
73585
  nodeTypes: {
73586
73586
  type: Array,
73587
73587
  default: () => []
@@ -73606,7 +73606,7 @@ const T$e = {
73606
73606
  },
73607
73607
  edgesModifiers: {}
73608
73608
  }),
73609
- emits: /* @__PURE__ */ Ys(["onEdgeDoubleClick", "onNodeDoubleClick", "onNodeClick", "onEdgeClick"], ["update:nodes", "update:edges"]),
73609
+ emits: /* @__PURE__ */ Zs(["onEdgeDoubleClick", "onNodeDoubleClick", "onNodeClick", "onEdgeClick"], ["update:nodes", "update:edges"]),
73610
73610
  setup(r, { expose: a, emit: c }) {
73611
73611
  const f = r, g = xs(r, "nodes"), v = xs(r, "edges"), y = c, { nodes: x, edges: S } = qie(g, v), k = Xt(null);
73612
73612
  oce({
@@ -73698,7 +73698,7 @@ const T$e = {
73698
73698
  }
73699
73699
  }, A$e = {
73700
73700
  __name: "Preview",
73701
- props: /* @__PURE__ */ Ys({
73701
+ props: /* @__PURE__ */ Zs({
73702
73702
  nodeTypes: {
73703
73703
  type: Array,
73704
73704
  default: () => []
@@ -73715,7 +73715,7 @@ const T$e = {
73715
73715
  },
73716
73716
  edgesModifiers: {}
73717
73717
  }),
73718
- emits: /* @__PURE__ */ Ys(["onEdgeDoubleClick", "onNodeDoubleClick", "onNodeClick", "onEdgeClick"], ["update:nodes", "update:edges"]),
73718
+ emits: /* @__PURE__ */ Zs(["onEdgeDoubleClick", "onNodeDoubleClick", "onNodeClick", "onEdgeClick"], ["update:nodes", "update:edges"]),
73719
73719
  setup(r, { expose: a, emit: c }) {
73720
73720
  const f = r, g = xs(r, "nodes"), v = xs(r, "edges"), y = c, { nodes: x, edges: S } = qie(g, v);
73721
73721
  Yie({ nodeTypes: f == null ? void 0 : f.nodeTypes, mode: "preview" }), oce();
@@ -75379,7 +75379,7 @@ const Nee = [
75379
75379
  }
75380
75380
  }), CDe = { class: "flex-center gap-x-2" }, xDe = { class: "flex-center" }, SDe = {
75381
75381
  __name: "index",
75382
- props: /* @__PURE__ */ Ys({
75382
+ props: /* @__PURE__ */ Zs({
75383
75383
  // 是否是单选
75384
75384
  isSingle: {
75385
75385
  type: Boolean,
@@ -75632,7 +75632,7 @@ const Nee = [
75632
75632
  }
75633
75633
  ], EDe = {
75634
75634
  __name: "index",
75635
- props: /* @__PURE__ */ Ys({
75635
+ props: /* @__PURE__ */ Zs({
75636
75636
  filterTypes: {
75637
75637
  type: Array,
75638
75638
  default: () => []
@@ -75820,7 +75820,7 @@ const Nee = [
75820
75820
  return r;
75821
75821
  }, _ce = /* @__PURE__ */ Zo({
75822
75822
  __name: "provider",
75823
- props: /* @__PURE__ */ Ys({
75823
+ props: /* @__PURE__ */ Zs({
75824
75824
  /** 默认显示的内容,是否简写 */
75825
75825
  isAbbr: {
75826
75826
  type: Boolean,
@@ -76583,7 +76583,7 @@ const Nee = [
76583
76583
  }
76584
76584
  }), u5e = /* @__PURE__ */ cr(c5e, [["__scopeId", "data-v-7f25204b"]]), d5e = { class: "flex flex-row h-[420px]" }, f5e = { class: "userpicker-left border-0 border-r-1 border-solid border-gray-200" }, m5e = { class: "h-full" }, p5e = { class: "userpicker-right" }, g5e = { class: "h-full flex flex-col" }, h5e = { class: "flex-grow overflow-auto flex-shrink h-1" }, Tce = /* @__PURE__ */ Zo({
76585
76585
  __name: "picker",
76586
- props: /* @__PURE__ */ Ys({
76586
+ props: /* @__PURE__ */ Zs({
76587
76587
  /** 默认显示的内容,是否简写 */
76588
76588
  isAbbr: {
76589
76589
  type: Boolean,
@@ -76752,7 +76752,7 @@ const Nee = [
76752
76752
  }
76753
76753
  }), y5e = { class: "flex flex-wrap" }, w5e = ["onClick"], C5e = { class: "flex justify-center relative" }, x5e = { class: "img" }, S5e = { class: "truncate pt-[5px] text-center" }, E5e = {
76754
76754
  __name: "list",
76755
- props: /* @__PURE__ */ Ys({
76755
+ props: /* @__PURE__ */ Zs({
76756
76756
  sourceData: {
76757
76757
  type: Array,
76758
76758
  default: () => []
@@ -76911,7 +76911,7 @@ const Nee = [
76911
76911
  }
76912
76912
  }), D5e = /* @__PURE__ */ Zo({
76913
76913
  __name: "index",
76914
- props: /* @__PURE__ */ Ys({
76914
+ props: /* @__PURE__ */ Zs({
76915
76915
  /** 默认显示的内容,是否简写 */
76916
76916
  isAbbr: {
76917
76917
  type: Boolean,
@@ -76949,7 +76949,7 @@ const Nee = [
76949
76949
  userList: {},
76950
76950
  userListModifiers: {}
76951
76951
  }),
76952
- emits: /* @__PURE__ */ Ys(["ok"], ["update:modelValue", "update:userList"]),
76952
+ emits: /* @__PURE__ */ Zs(["ok"], ["update:modelValue", "update:userList"]),
76953
76953
  setup(r, { emit: a }) {
76954
76954
  const c = r, f = xs(r, "modelValue");
76955
76955
  Km(f);
@@ -77116,7 +77116,7 @@ const Nee = [
77116
77116
  };
77117
77117
  }, P5e = /* @__PURE__ */ Zo({
77118
77118
  __name: "index",
77119
- props: /* @__PURE__ */ Ys({
77119
+ props: /* @__PURE__ */ Zs({
77120
77120
  ariaLabel: {},
77121
77121
  id: {},
77122
77122
  size: {},
@@ -77188,7 +77188,7 @@ const Nee = [
77188
77188
  return r;
77189
77189
  }, F5e = /* @__PURE__ */ Zo({
77190
77190
  __name: "provider",
77191
- props: /* @__PURE__ */ Ys({
77191
+ props: /* @__PURE__ */ Zs({
77192
77192
  multiple: {
77193
77193
  type: Boolean,
77194
77194
  default: !0
@@ -77368,7 +77368,7 @@ const Nee = [
77368
77368
  }
77369
77369
  }), Y5e = { class: "h-full flex flex-col" }, X5e = { class: "px-2" }, J5e = ["onClick"], Q5e = { class: "flex items-center gap-2" }, eNe = { class: "img" }, tNe = /* @__PURE__ */ Zo({
77370
77370
  __name: "department",
77371
- props: /* @__PURE__ */ Ys({
77371
+ props: /* @__PURE__ */ Zs({
77372
77372
  multiple: {
77373
77373
  type: Boolean,
77374
77374
  default: !0
@@ -77670,7 +77670,7 @@ const Nee = [
77670
77670
  }
77671
77671
  }), SNe = /* @__PURE__ */ Zo({
77672
77672
  __name: "index",
77673
- props: /* @__PURE__ */ Ys({
77673
+ props: /* @__PURE__ */ Zs({
77674
77674
  /** 默认显示的内容,是否简写 */
77675
77675
  isAbbr: {
77676
77676
  type: Boolean,
@@ -77867,7 +77867,7 @@ const Nee = [
77867
77867
  };
77868
77868
  }, ANe = /* @__PURE__ */ Zo({
77869
77869
  __name: "index",
77870
- props: /* @__PURE__ */ Ys({
77870
+ props: /* @__PURE__ */ Zs({
77871
77871
  ariaLabel: {},
77872
77872
  id: {},
77873
77873
  size: {},
@@ -77939,7 +77939,7 @@ const Nee = [
77939
77939
  return r;
77940
77940
  }, $Ne = /* @__PURE__ */ Zo({
77941
77941
  __name: "provider",
77942
- props: /* @__PURE__ */ Ys({
77942
+ props: /* @__PURE__ */ Zs({
77943
77943
  multiple: {
77944
77944
  type: Boolean,
77945
77945
  default: !0
@@ -78122,7 +78122,7 @@ const Nee = [
78122
78122
  }
78123
78123
  }), zNe = { class: "h-full flex flex-col" }, UNe = { class: "px-2" }, jNe = ["onClick"], WNe = { class: "flex items-center gap-2" }, ZNe = /* @__PURE__ */ Zo({
78124
78124
  __name: "role",
78125
- props: /* @__PURE__ */ Ys({
78125
+ props: /* @__PURE__ */ Zs({
78126
78126
  multiple: {
78127
78127
  type: Boolean,
78128
78128
  default: !0
@@ -78418,7 +78418,7 @@ const Nee = [
78418
78418
  }
78419
78419
  }), p6e = /* @__PURE__ */ Zo({
78420
78420
  __name: "index",
78421
- props: /* @__PURE__ */ Ys({
78421
+ props: /* @__PURE__ */ Zs({
78422
78422
  /** 默认显示的内容,是否简写 */
78423
78423
  isAbbr: {
78424
78424
  type: Boolean,
@@ -78615,7 +78615,7 @@ const Nee = [
78615
78615
  };
78616
78616
  }, y6e = /* @__PURE__ */ Zo({
78617
78617
  __name: "index",
78618
- props: /* @__PURE__ */ Ys({
78618
+ props: /* @__PURE__ */ Zs({
78619
78619
  ariaLabel: {},
78620
78620
  id: {},
78621
78621
  size: {},
@@ -78789,7 +78789,7 @@ const Nee = [
78789
78789
  class: "i-bi:check2"
78790
78790
  }, P6e = { class: "color-[#6B7280] text-[12px] tips flex items-center pt-2 justify-between" }, B6e = /* @__PURE__ */ Zo({
78791
78791
  __name: "roleAndDepartmentSelect",
78792
- props: /* @__PURE__ */ Ys({
78792
+ props: /* @__PURE__ */ Zs({
78793
78793
  unlimited: {
78794
78794
  type: Boolean,
78795
78795
  default: !0
@@ -78808,7 +78808,7 @@ const Nee = [
78808
78808
  },
78809
78809
  modelModifiers: {}
78810
78810
  }),
78811
- emits: /* @__PURE__ */ Ys(["ok"], ["update:modelValue"]),
78811
+ emits: /* @__PURE__ */ Zs(["ok"], ["update:modelValue"]),
78812
78812
  setup(r, { emit: a }) {
78813
78813
  const c = r, f = xs(r, "modelValue"), g = a, v = () => {
78814
78814
  g("ok", na(ot(f)));
@@ -78951,7 +78951,7 @@ const Nee = [
78951
78951
  class: "h-[100px] flex-center"
78952
78952
  }, G6e = /* @__PURE__ */ Zo({
78953
78953
  __name: "index",
78954
- props: /* @__PURE__ */ Ys({
78954
+ props: /* @__PURE__ */ Zs({
78955
78955
  unlimited: {
78956
78956
  type: Boolean,
78957
78957
  default: !0
@@ -79412,7 +79412,7 @@ const Nee = [
79412
79412
  class: "flex flex-wrap gap-2 relative list"
79413
79413
  }, lRe = { class: "color-[#909399]" }, iRe = { class: "clear-btn" }, cRe = /* @__PURE__ */ Zo({
79414
79414
  __name: "index",
79415
- props: /* @__PURE__ */ Ys({
79415
+ props: /* @__PURE__ */ Zs({
79416
79416
  data: {
79417
79417
  type: Array,
79418
79418
  default: () => []
@@ -79472,7 +79472,7 @@ const Nee = [
79472
79472
  }
79473
79473
  }), xz = /* @__PURE__ */ cr(cRe, [["__scopeId", "data-v-7c2b4007"]]), Zce = /* @__PURE__ */ Zo({
79474
79474
  __name: "user",
79475
- props: /* @__PURE__ */ Ys({
79475
+ props: /* @__PURE__ */ Zs({
79476
79476
  disabled: {
79477
79477
  type: Boolean,
79478
79478
  default: !1
@@ -79487,7 +79487,7 @@ const Nee = [
79487
79487
  }),
79488
79488
  emits: ["update:modelValue"],
79489
79489
  setup(r) {
79490
- const a = xs(r, "modelValue"), f = J4({ value: a, type: "userIds", queryParams: r.queryParams }), g = $t(() => {
79490
+ const a = xs(r, "modelValue"), c = r, f = J4({ value: a, type: "userIds", queryParams: c.queryParams }), g = $t(() => {
79491
79491
  var v;
79492
79492
  return ((v = ot(f)) == null ? void 0 : v.map((y) => ({
79493
79493
  label: y.name || "",
@@ -79498,12 +79498,13 @@ const Nee = [
79498
79498
  modelValue: a.value,
79499
79499
  "onUpdate:modelValue": y[0] || (y[0] = (x) => a.value = x),
79500
79500
  data: g.value,
79501
+ disabled: c.disabled,
79501
79502
  title: "按人员"
79502
- }, null, 8, ["modelValue", "data"]));
79503
+ }, null, 8, ["modelValue", "data", "disabled"]));
79503
79504
  }
79504
79505
  }), qce = /* @__PURE__ */ Zo({
79505
79506
  __name: "department",
79506
- props: /* @__PURE__ */ Ys({
79507
+ props: /* @__PURE__ */ Zs({
79507
79508
  disabled: {
79508
79509
  type: Boolean,
79509
79510
  default: !1
@@ -79518,7 +79519,7 @@ const Nee = [
79518
79519
  }),
79519
79520
  emits: ["update:modelValue"],
79520
79521
  setup(r) {
79521
- const a = xs(r, "modelValue"), f = J4({ value: a, type: "groupIds", queryParams: r.queryParams }), g = $t(() => {
79522
+ const a = xs(r, "modelValue"), c = r, f = J4({ value: a, type: "groupIds", queryParams: c.queryParams }), g = $t(() => {
79522
79523
  var v;
79523
79524
  return ((v = ot(f)) == null ? void 0 : v.map((y) => ({
79524
79525
  label: y.name || "",
@@ -79529,12 +79530,13 @@ const Nee = [
79529
79530
  modelValue: a.value,
79530
79531
  "onUpdate:modelValue": y[0] || (y[0] = (x) => a.value = x),
79531
79532
  data: g.value,
79533
+ disabled: c.disabled,
79532
79534
  title: "按部门"
79533
- }, null, 8, ["modelValue", "data"]));
79535
+ }, null, 8, ["modelValue", "data", "disabled"]));
79534
79536
  }
79535
79537
  }), Gce = /* @__PURE__ */ Zo({
79536
79538
  __name: "role",
79537
- props: /* @__PURE__ */ Ys({
79539
+ props: /* @__PURE__ */ Zs({
79538
79540
  disabled: {
79539
79541
  type: Boolean,
79540
79542
  default: !1
@@ -79549,7 +79551,7 @@ const Nee = [
79549
79551
  }),
79550
79552
  emits: ["update:modelValue"],
79551
79553
  setup(r) {
79552
- const a = xs(r, "modelValue"), f = J4({ value: a, type: "roleIds", queryParams: r.queryParams }), g = $t(() => {
79554
+ const a = xs(r, "modelValue"), c = r, f = J4({ value: a, type: "roleIds", queryParams: c.queryParams }), g = $t(() => {
79553
79555
  var v;
79554
79556
  return ((v = ot(f)) == null ? void 0 : v.map((y) => ({
79555
79557
  label: y.name || "",
@@ -79560,15 +79562,16 @@ const Nee = [
79560
79562
  modelValue: a.value,
79561
79563
  "onUpdate:modelValue": y[0] || (y[0] = (x) => a.value = x),
79562
79564
  data: g.value,
79565
+ disabled: c.disabled,
79563
79566
  title: "按岗位"
79564
- }, null, 8, ["modelValue", "data"]));
79567
+ }, null, 8, ["modelValue", "data", "disabled"]));
79565
79568
  }
79566
79569
  }), uRe = {
79567
79570
  key: 0,
79568
79571
  class: "flex flex-wrap gap-2 relative list"
79569
79572
  }, dRe = { class: "color-[#909399] inline-flex items-center" }, fRe = { class: "clear-btn" }, mRe = /* @__PURE__ */ Zo({
79570
79573
  __name: "roleAndDepartment",
79571
- props: /* @__PURE__ */ Ys({
79574
+ props: /* @__PURE__ */ Zs({
79572
79575
  disabled: {
79573
79576
  type: Boolean,
79574
79577
  default: !1
@@ -79633,22 +79636,28 @@ const Nee = [
79633
79636
  }
79634
79637
  }), Kce = /* @__PURE__ */ cr(mRe, [["__scopeId", "data-v-c70d4c8a"]]), Yce = /* @__PURE__ */ Zo({
79635
79638
  __name: "draftTarget",
79636
- props: {
79639
+ props: /* @__PURE__ */ Zs({
79640
+ disabled: {
79641
+ type: Boolean,
79642
+ default: !1
79643
+ }
79644
+ }, {
79637
79645
  modelValue: {},
79638
79646
  modelModifiers: {}
79639
- },
79647
+ }),
79640
79648
  emits: ["update:modelValue"],
79641
79649
  setup(r) {
79642
- const a = xs(r, "modelValue"), c = $t(() => (_2 == null ? void 0 : _2.filter((f) => {
79643
- var g;
79644
- return (g = a.value) == null ? void 0 : g.includes(f.value);
79650
+ const a = xs(r, "modelValue"), c = r, f = $t(() => (_2 == null ? void 0 : _2.filter((g) => {
79651
+ var v;
79652
+ return (v = a.value) == null ? void 0 : v.includes(g.value);
79645
79653
  })) || []);
79646
- return (f, g) => (Re(), Rn(xz, {
79654
+ return (g, v) => (Re(), Rn(xz, {
79647
79655
  modelValue: a.value,
79648
- "onUpdate:modelValue": g[0] || (g[0] = (v) => a.value = v),
79649
- data: c.value,
79656
+ "onUpdate:modelValue": v[0] || (v[0] = (y) => a.value = y),
79657
+ data: f.value,
79658
+ disabled: c.disabled,
79650
79659
  title: "起草相关"
79651
- }, null, 8, ["modelValue", "data"]));
79660
+ }, null, 8, ["modelValue", "data", "disabled"]));
79652
79661
  }
79653
79662
  }), pRe = {
79654
79663
  key: 0,
@@ -79656,6 +79665,10 @@ const Nee = [
79656
79665
  }, Xce = /* @__PURE__ */ Zo({
79657
79666
  __name: "index",
79658
79667
  props: {
79668
+ disabled: {
79669
+ type: Boolean,
79670
+ default: !1
79671
+ },
79659
79672
  // 显示类型 text、thumbnail
79660
79673
  displayType: {
79661
79674
  type: String,
@@ -79744,28 +79757,33 @@ const Nee = [
79744
79757
  ge(fu)(x.value.allUser, 1) ? (Re(), St("div", pRe, "全员")) : (Re(), St(us, { key: 1 }, [
79745
79758
  Mt(Zce, {
79746
79759
  "model-value": ((V = x.value) == null ? void 0 : V.userIds) || [],
79760
+ disabled: c.disabled,
79747
79761
  "onUpdate:modelValue": S,
79748
79762
  "query-params": c.queryParams
79749
- }, null, 8, ["model-value", "query-params"]),
79763
+ }, null, 8, ["model-value", "disabled", "query-params"]),
79750
79764
  Mt(Gce, {
79751
79765
  "model-value": ((H = x.value) == null ? void 0 : H.roleIds) || [],
79766
+ disabled: c.disabled,
79752
79767
  "onUpdate:modelValue": k,
79753
79768
  "query-params": c.queryParams
79754
- }, null, 8, ["model-value", "query-params"]),
79769
+ }, null, 8, ["model-value", "disabled", "query-params"]),
79755
79770
  Mt(qce, {
79756
79771
  "model-value": ((L = x.value) == null ? void 0 : L.groupIds) || [],
79772
+ disabled: c.disabled,
79757
79773
  "onUpdate:modelValue": A,
79758
79774
  "query-params": c.queryParams
79759
- }, null, 8, ["model-value", "query-params"]),
79775
+ }, null, 8, ["model-value", "disabled", "query-params"]),
79760
79776
  Mt(Kce, {
79761
79777
  "model-value": ((U = x.value) == null ? void 0 : U.groupRoles) || [],
79778
+ disabled: c.disabled,
79762
79779
  "onUpdate:modelValue": D,
79763
79780
  "query-params": c.queryParams
79764
- }, null, 8, ["model-value", "query-params"]),
79781
+ }, null, 8, ["model-value", "disabled", "query-params"]),
79765
79782
  Mt(Yce, {
79766
79783
  "model-value": ((P = x.value) == null ? void 0 : P.draftTarget) || [],
79784
+ disabled: c.disabled,
79767
79785
  "onUpdate:modelValue": I
79768
- }, null, 8, ["model-value"])
79786
+ }, null, 8, ["model-value", "disabled"])
79769
79787
  ], 64))
79770
79788
  ])
79771
79789
  ];
@@ -79848,7 +79866,7 @@ const Nee = [
79848
79866
  class: "color-[#C0C4CC]"
79849
79867
  }, ERe = /* @__PURE__ */ Zo({
79850
79868
  __name: "userSortByDepartment",
79851
- props: /* @__PURE__ */ Ys({
79869
+ props: /* @__PURE__ */ Zs({
79852
79870
  keyword: {
79853
79871
  type: String,
79854
79872
  default: ""
@@ -80094,7 +80112,7 @@ const Nee = [
80094
80112
  class: "color-[#C0C4CC]"
80095
80113
  }, RRe = /* @__PURE__ */ Zo({
80096
80114
  __name: "userSortByRole",
80097
- props: /* @__PURE__ */ Ys({
80115
+ props: /* @__PURE__ */ Zs({
80098
80116
  keyword: {
80099
80117
  type: String,
80100
80118
  default: ""
@@ -80321,7 +80339,7 @@ const Nee = [
80321
80339
  }
80322
80340
  }), IRe = /* @__PURE__ */ cr(RRe, [["__scopeId", "data-v-f998e5b2"]]), MRe = { class: "h-full flex flex-col w-full" }, PRe = { class: "flex-shrink-0 px-2 flex items-center gap-x-2" }, BRe = { class: "flex-1 overflow-auto" }, FRe = ["onClick"], LRe = { class: "flex items-center gap-2" }, VRe = { class: "img" }, HRe = { class: "font-bold text-[#333]" }, zRe = /* @__PURE__ */ Zo({
80323
80341
  __name: "userSortByName",
80324
- props: /* @__PURE__ */ Ys({
80342
+ props: /* @__PURE__ */ Zs({
80325
80343
  keyword: {
80326
80344
  type: String,
80327
80345
  default: ""
@@ -80455,7 +80473,7 @@ const Nee = [
80455
80473
  }
80456
80474
  }), URe = /* @__PURE__ */ cr(zRe, [["__scopeId", "data-v-7b63ed09"]]), jRe = { class: "h-full flex flex-col w-full" }, WRe = { class: "flex-shrink-0 px-2 flex items-center gap-x-2" }, ZRe = { class: "flex-1 overflow-auto" }, qRe = ["onClick"], GRe = { class: "flex items-center gap-2" }, KRe = { class: "img" }, YRe = { class: "font-bold text-[#333]" }, XRe = /* @__PURE__ */ Zo({
80457
80475
  __name: "userSortByDefault",
80458
- props: /* @__PURE__ */ Ys({
80476
+ props: /* @__PURE__ */ Zs({
80459
80477
  keyword: {
80460
80478
  type: String,
80461
80479
  default: ""
@@ -80605,7 +80623,7 @@ const Nee = [
80605
80623
  }
80606
80624
  }), JRe = /* @__PURE__ */ cr(XRe, [["__scopeId", "data-v-2b96fddf"]]), QRe = { class: "h-full flex flex-col w-full gap-y-2" }, eIe = { class: "flex justify-between gap-x-2 items-center flex-shrink-0" }, tIe = { class: "flex-1" }, nIe = { class: "max-w-[120px]" }, oIe = { class: "flex-1 h-[100px]" }, Jce = /* @__PURE__ */ Zo({
80607
80625
  __name: "index",
80608
- props: /* @__PURE__ */ Ys({
80626
+ props: /* @__PURE__ */ Zs({
80609
80627
  multiple: {
80610
80628
  type: Boolean,
80611
80629
  default: !0
@@ -80730,7 +80748,7 @@ const Nee = [
80730
80748
  class: "text-gray-400"
80731
80749
  }, fIe = /* @__PURE__ */ Zo({
80732
80750
  __name: "index",
80733
- props: /* @__PURE__ */ Ys({
80751
+ props: /* @__PURE__ */ Zs({
80734
80752
  multiple: {
80735
80753
  type: Boolean,
80736
80754
  default: !0
@@ -80946,7 +80964,7 @@ const Nee = [
80946
80964
  }
80947
80965
  }), Qce = /* @__PURE__ */ cr(fIe, [["__scopeId", "data-v-5a07b747"]]), mIe = { class: "h-full flex flex-col w-full gap-y-2" }, pIe = { class: "flex justify-between gap-x-2 items-center flex-shrink-0" }, gIe = { class: "flex-1" }, hIe = { class: "flex-1 h-[100px]" }, bIe = { class: "h-full flex flex-col w-full" }, vIe = { class: "flex-shrink-0 flex items-center gap-x-2" }, yIe = { class: "flex-1 overflow-auto" }, wIe = ["onClick"], CIe = { class: "flex items-center gap-2" }, xIe = { class: "img text-[12px]" }, SIe = /* @__PURE__ */ Zo({
80948
80966
  __name: "index",
80949
- props: /* @__PURE__ */ Ys({
80967
+ props: /* @__PURE__ */ Zs({
80950
80968
  multiple: {
80951
80969
  type: Boolean,
80952
80970
  default: !0
@@ -81134,7 +81152,7 @@ const Nee = [
81134
81152
  }
81135
81153
  }), _Ie = { class: "h-full flex flex-col w-full gap-y-2" }, kIe = { class: "flex justify-between gap-x-2 items-center flex-shrink-0" }, TIe = { class: "flex-1" }, AIe = { class: "flex-1 h-[100px]" }, OIe = { class: "h-full flex flex-col w-full" }, $Ie = { class: "flex-1 overflow-auto" }, DIe = { class: "flex items-center gap-2" }, tue = /* @__PURE__ */ Zo({
81136
81154
  __name: "index",
81137
- props: /* @__PURE__ */ Ys({
81155
+ props: /* @__PURE__ */ Zs({
81138
81156
  disabled: {
81139
81157
  type: Boolean,
81140
81158
  default: !1
@@ -81664,7 +81682,7 @@ const Nee = [
81664
81682
  };
81665
81683
  }, jIe = /* @__PURE__ */ Zo({
81666
81684
  __name: "index",
81667
- props: /* @__PURE__ */ Ys({
81685
+ props: /* @__PURE__ */ Zs({
81668
81686
  multiple: {
81669
81687
  type: Boolean,
81670
81688
  default: !0
@@ -81713,7 +81731,7 @@ const Nee = [
81713
81731
  },
81714
81732
  modelModifiers: {}
81715
81733
  }),
81716
- emits: /* @__PURE__ */ Ys(["ok"], ["update:modelValue"]),
81734
+ emits: /* @__PURE__ */ Zs(["ok"], ["update:modelValue"]),
81717
81735
  setup(r, { emit: a }) {
81718
81736
  const c = a, f = xs(r, "modelValue");
81719
81737
  UIe(f);
@@ -81734,12 +81752,13 @@ const Nee = [
81734
81752
  detailValue: ge(v)
81735
81753
  }, () => [
81736
81754
  Mt(Xce, {
81755
+ disabled: g.disabled,
81737
81756
  displayType: g == null ? void 0 : g.displayType,
81738
81757
  displayMaxLength: g == null ? void 0 : g.displayMaxLength,
81739
81758
  value: f.value || {},
81740
81759
  "query-params": g.queryParams,
81741
81760
  "onUpdate:value": k[0] || (k[0] = (A) => f.value = A)
81742
- }, null, 8, ["displayType", "displayMaxLength", "value", "query-params"]),
81761
+ }, null, 8, ["disabled", "displayType", "displayMaxLength", "value", "query-params"]),
81743
81762
  g.disabled ? ao("", !0) : (Re(), Rn(ge(Vi), {
81744
81763
  key: 0,
81745
81764
  size: "small",