@zyui/components 0.0.42 → 0.0.43

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,9 +1,9 @@
1
1
  var hhe = Object.defineProperty;
2
2
  var vhe = (o, s, i) => s in o ? hhe(o, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[s] = i;
3
3
  var uu = (o, s, i) => vhe(o, typeof s != "symbol" ? s + "" : s, i);
4
- import { defineComponent as Wo, reactive as QR, provide as Jm, inject as Kg, ref as hn, watch as es, toValue as Bt, computed as jn, openBlock as vt, createElementBlock as un, createElementVNode as Ut, mergeModels as ei, useModel as Rr, Fragment as lr, renderList as va, createVNode as nn, unref as Le, withCtx as An, createCommentVNode as is, toDisplayString as Rs, createTextVNode as Us, createBlock as jo, withDirectives as BU, mergeProps as qg, resolveComponent as L4, isRef as nh, onUnmounted as ld, watchEffect as Eue, getCurrentScope as Noe, onScopeDispose as kR, onMounted as Xi, toRefs as eI, renderSlot as Mr, normalizeStyle as jl, nextTick as lm, onBeforeUnmount as tI, onActivated as bhe, onDeactivated as yhe, h as Wa, withModifiers as J2, Teleport as Moe, normalizeClass as Pd, vShow as whe, resolveDynamicComponent as j_, createPropsRestProxy as Che, toRef as ai, effectScope as Tue, getCurrentInstance as Q2, useSlots as She, onBeforeMount as xhe, useAttrs as _he, isMemoSame as Ehe, customRef as The, markRaw as AR, readonly as khe, createStaticVNode as Ahe, createSlots as kue, normalizeProps as Ohe, guardReactiveProps as $he, withKeys as nI } from "vue";
4
+ import { defineComponent as Wo, reactive as QR, provide as Jm, inject as Kg, ref as hn, watch as es, toValue as Pt, computed as jn, openBlock as vt, createElementBlock as un, createElementVNode as Ut, mergeModels as ai, useModel as Rr, Fragment as lr, renderList as va, createVNode as nn, unref as Le, withCtx as An, createCommentVNode as is, toDisplayString as Rs, createTextVNode as Us, createBlock as jo, withDirectives as BU, mergeProps as qg, resolveComponent as L4, isRef as nh, onUnmounted as ld, watchEffect as Eue, getCurrentScope as Noe, onScopeDispose as kR, onMounted as Xi, toRefs as eI, renderSlot as Mr, normalizeStyle as jl, nextTick as lm, onBeforeUnmount as tI, onActivated as bhe, onDeactivated as yhe, h as Wa, withModifiers as J2, Teleport as Moe, normalizeClass as Pd, vShow as whe, resolveDynamicComponent as j_, createPropsRestProxy as Che, toRef as ri, effectScope as Tue, getCurrentInstance as Q2, useSlots as She, onBeforeMount as xhe, useAttrs as _he, isMemoSame as Ehe, customRef as The, markRaw as AR, readonly as khe, createStaticVNode as Ahe, createSlots as kue, normalizeProps as Ohe, guardReactiveProps as $he, withKeys as nI } from "vue";
5
5
  import { ElImage as q2, ElIcon as oh, ElPopover as FU, ElForm as eC, ElFormItem as Ym, ElInput as Xg, ElButton as Pu, ElScrollbar as LU, ElLoadingDirective as Roe, ElSelect as iE, ElOption as lE, ElDialog as HU, ElTabs as Aue, ElTabPane as Oue, ElTable as Dhe, ElTableColumn as fz, ElCheckbox as vy, ElMessageBox as Nhe, ElRadioGroup as $ue, ElRadio as Nne, ElRow as Mhe, ElCol as kae, ElTree as Due } from "element-plus";
6
- const Rhe = "0.0.42";
6
+ const Rhe = "0.0.43";
7
7
  var Ihe = Object.defineProperty, Phe = (o, s, i) => s in o ? Ihe(o, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[s] = i, wte = (o, s, i) => Phe(o, typeof s != "symbol" ? s + "" : s, i);
8
8
  function Nue(o, s) {
9
9
  return function() {
@@ -5552,7 +5552,7 @@ const x_e = (o) => {
5552
5552
  rolelist: [],
5553
5553
  grouplist: []
5554
5554
  }), v = async () => {
5555
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? Wye : jye;
5555
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? Wye : jye;
5556
5556
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
5557
5557
  S ? p.value = {
5558
5558
  ...p.value,
@@ -5578,14 +5578,14 @@ const x_e = (o) => {
5578
5578
  };
5579
5579
  }, fI = (o) => {
5580
5580
  const { params: s, type: i = "userIds" } = o, u = jn(() => {
5581
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
5581
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
5582
5582
  let O = { keyword: S, unitId: _ };
5583
5583
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
5584
5584
  }), { loading: f, refresh: p, allData: v } = x_e({ params: u, type: i }), w = jn(() => {
5585
5585
  var F, U, X, q, te;
5586
5586
  let S = [];
5587
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
5588
- switch (Bt(i)) {
5587
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
5588
+ switch (Pt(i)) {
5589
5589
  case "userIds":
5590
5590
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
5591
5591
  var j;
@@ -5609,19 +5609,19 @@ const x_e = (o) => {
5609
5609
  };
5610
5610
  }, Efe = { userIds: [], roleIds: [], groupIds: [] }, mI = (o) => {
5611
5611
  var s;
5612
- return (s = Object.keys(Bt(o))) == null ? void 0 : s.find((i) => {
5612
+ return (s = Object.keys(Pt(o))) == null ? void 0 : s.find((i) => {
5613
5613
  var u;
5614
- return ((u = Bt(o)[i]) == null ? void 0 : u.length) > 0;
5614
+ return ((u = Pt(o)[i]) == null ? void 0 : u.length) > 0;
5615
5615
  });
5616
5616
  }, Xte = {
5617
5617
  userIds: "人",
5618
5618
  roleIds: "岗位",
5619
5619
  groupIds: "部门"
5620
- }, __e = (o) => jn(() => mI(Bt(o)) || "userIds"), Tfe = (o) => jn(() => (Xte == null ? void 0 : Xte[mI(Bt(o))]) || "人"), E_e = (o) => jn(() => {
5620
+ }, __e = (o) => jn(() => mI(Pt(o)) || "userIds"), Tfe = (o) => jn(() => (Xte == null ? void 0 : Xte[mI(Pt(o))]) || "人"), E_e = (o) => jn(() => {
5621
5621
  var i;
5622
- return ((i = Bt(o)) == null ? void 0 : i[mI(Bt(o))]) || [];
5622
+ return ((i = Pt(o)) == null ? void 0 : i[mI(Pt(o))]) || [];
5623
5623
  }), kfe = (o) => {
5624
- if (Bt(o)) {
5624
+ if (Pt(o)) {
5625
5625
  const s = jn(() => mI(o)), i = E_e(o), { data: u } = fI({ type: s });
5626
5626
  return jn(() => {
5627
5627
  var p;
@@ -5733,7 +5733,7 @@ const Ji = (o, s) => {
5733
5733
  class: "selected-icon"
5734
5734
  }, H_e = ["onClick"], V_e = { class: "truncate pt-[5px] text-center" }, z_e = {
5735
5735
  __name: "list",
5736
- props: /* @__PURE__ */ ei({
5736
+ props: /* @__PURE__ */ ai({
5737
5737
  sourceData: {
5738
5738
  type: Array,
5739
5739
  default: () => []
@@ -5879,7 +5879,7 @@ const Ji = (o, s) => {
5879
5879
  }
5880
5880
  }, Y_e = /* @__PURE__ */ Ji(q_e, [["__scopeId", "data-v-ce630612"]]), K_e = {
5881
5881
  __name: "group",
5882
- props: /* @__PURE__ */ ei({
5882
+ props: /* @__PURE__ */ ai({
5883
5883
  // multiple 是否多选
5884
5884
  multiple: {
5885
5885
  type: Boolean,
@@ -5964,7 +5964,7 @@ const Ji = (o, s) => {
5964
5964
  }
5965
5965
  }, X_e = {
5966
5966
  __name: "role",
5967
- props: /* @__PURE__ */ ei({
5967
+ props: /* @__PURE__ */ ai({
5968
5968
  // multiple 是否多选
5969
5969
  multiple: {
5970
5970
  type: Boolean,
@@ -6079,7 +6079,7 @@ const Ji = (o, s) => {
6079
6079
  }
6080
6080
  }, J_e = {
6081
6081
  __name: "user",
6082
- props: /* @__PURE__ */ ei({
6082
+ props: /* @__PURE__ */ ai({
6083
6083
  // multiple 是否多选
6084
6084
  multiple: {
6085
6085
  type: Boolean,
@@ -6399,7 +6399,7 @@ const Ji = (o, s) => {
6399
6399
  class: "num-text"
6400
6400
  }, aEe = {
6401
6401
  __name: "index",
6402
- props: /* @__PURE__ */ ei({
6402
+ props: /* @__PURE__ */ ai({
6403
6403
  title: {
6404
6404
  type: String,
6405
6405
  default: "人员选择"
@@ -6525,7 +6525,7 @@ const Ji = (o, s) => {
6525
6525
  }
6526
6526
  }, iEe = /* @__PURE__ */ Ji(aEe, [["__scopeId", "data-v-9bfeca68"]]), lEe = {
6527
6527
  __name: "index",
6528
- props: /* @__PURE__ */ ei({
6528
+ props: /* @__PURE__ */ ai({
6529
6529
  //人员选择器选择类型:chooseType:1 显示人员,chooseType:2 显示岗位,chooseType:3 显示部门
6530
6530
  chooseType: {
6531
6531
  type: [Number, Array],
@@ -8762,7 +8762,7 @@ var Y6e = [
8762
8762
  xt.apply(n, e[r]);
8763
8763
  }
8764
8764
  return n;
8765
- }, Pt = (e, n) => Et(le(e, n)), vn = (e, n) => {
8765
+ }, Bt = (e, n) => Et(le(e, n)), vn = (e, n) => {
8766
8766
  for (let r = 0, l = e.length; r < l; ++r) {
8767
8767
  const d = e[r];
8768
8768
  if (n(d, r) !== !0)
@@ -9999,7 +9999,7 @@ var Y6e = [
9999
9999
  return n(e);
10000
10000
  }, lC = (e) => {
10001
10001
  const n = /^(~)?(.+)$/;
10002
- return Pt(Cl(e, ","), (r) => {
10002
+ return Bt(Cl(e, ","), (r) => {
10003
10003
  const l = n.exec(r);
10004
10004
  if (l) {
10005
10005
  const h = l[1] === "~" ? "span" : "div", C = l[2];
@@ -10143,10 +10143,10 @@ var Y6e = [
10143
10143
  }));
10144
10144
  }, yp = (e) => {
10145
10145
  const n = /^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;
10146
- return Pt(Cl(e, ","), (r) => {
10146
+ return Bt(Cl(e, ","), (r) => {
10147
10147
  const l = n.exec(r);
10148
10148
  if (l) {
10149
- const d = l[1], h = d ? R1(d) : "replace", C = l[2], k = Pt(Cl(l[3], "|"), (D) => vg(D).toArray());
10149
+ const d = l[1], h = d ? R1(d) : "replace", C = l[2], k = Bt(Cl(l[3], "|"), (D) => vg(D).toArray());
10150
10150
  return [{
10151
10151
  operation: h,
10152
10152
  name: C,
@@ -10184,7 +10184,7 @@ var Y6e = [
10184
10184
  }), n.attributesOrder.push(...e.attributesOrder);
10185
10185
  }, Ry = (e, n) => {
10186
10186
  const r = /^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;
10187
- return Pt(Cl(n, ","), (l) => {
10187
+ return Bt(Cl(n, ","), (l) => {
10188
10188
  const d = r.exec(l);
10189
10189
  if (d) {
10190
10190
  const h = d[1], C = d[2], k = d[3], D = d[4], B = d[5], K = {
@@ -10692,7 +10692,7 @@ var Y6e = [
10692
10692
  wg.Event = new wg();
10693
10693
  const mC = rn.each, gC = rn.grep, wd = "data-mce-style", Wu = rn.makeMap("fill-opacity font-weight line-height opacity orphans widows z-index zoom", " "), Dn = (e, n, r) => {
10694
10694
  ft(r) || r === "" ? ur(e, n) : Ca(e, n, r);
10695
- }, EE = (e) => e.replace(/[A-Z]/g, (n) => "-" + n.toLowerCase()), ti = (e, n) => {
10695
+ }, EE = (e) => e.replace(/[A-Z]/g, (n) => "-" + n.toLowerCase()), ei = (e, n) => {
10696
10696
  let r = 0;
10697
10697
  if (e)
10698
10698
  for (let l = e.nodeType, d = e.previousSibling; d; d = d.previousSibling) {
@@ -10986,7 +10986,7 @@ var Y6e = [
10986
10986
  let Vn = M2(), Zo, tr;
10987
10987
  if (Ft && Wt && Ft.parentNode && Wt.parentNode) {
10988
10988
  const Qa = Ft.parentNode;
10989
- return Vn.setStart(Qa, ti(Ft)), Vn.setEnd(Wt.parentNode, ti(Wt)), Zo = Vn.extractContents(), Vn = M2(), Vn.setStart(Wt.parentNode, ti(Wt) + 1), Vn.setEnd(Qa, ti(Ft) + 1), tr = Vn.extractContents(), Qa.insertBefore(Ny(Xp, Zo, K), Ft), Gn ? Qa.insertBefore(Gn, Ft) : Qa.insertBefore(Wt, Ft), Qa.insertBefore(Ny(Xp, tr, K), Ft), nd(Ft), Gn || Wt;
10989
+ return Vn.setStart(Qa, ei(Ft)), Vn.setEnd(Wt.parentNode, ei(Wt)), Zo = Vn.extractContents(), Vn = M2(), Vn.setStart(Wt.parentNode, ei(Wt) + 1), Vn.setEnd(Qa, ei(Ft) + 1), tr = Vn.extractContents(), Qa.insertBefore(Ny(Xp, Zo, K), Ft), Gn ? Qa.insertBefore(Gn, Ft) : Qa.insertBefore(Wt, Ft), Qa.insertBefore(Ny(Xp, tr, K), Ft), nd(Ft), Gn || Wt;
10990
10990
  } else
10991
10991
  return;
10992
10992
  }, jv = (Ft, Wt, Gn, Vn) => {
@@ -11090,7 +11090,7 @@ var Y6e = [
11090
11090
  getAttribs: Ct,
11091
11091
  isEmpty: Wm,
11092
11092
  createRng: M2,
11093
- nodeIndex: ti,
11093
+ nodeIndex: ei,
11094
11094
  split: R2,
11095
11095
  bind: jv,
11096
11096
  unbind: rm,
@@ -11128,7 +11128,7 @@ var Y6e = [
11128
11128
  }, R_ = pC(oe, n, he(Xp));
11129
11129
  return Xp;
11130
11130
  };
11131
- da.DOM = da(document), da.nodeIndex = ti;
11131
+ da.DOM = da(document), da.nodeIndex = ei;
11132
11132
  const hC = da.DOM, B1 = 0, Ob = 1, $b = 2, vC = 3;
11133
11133
  class Eu {
11134
11134
  constructor(n = {}) {
@@ -11183,7 +11183,7 @@ var Y6e = [
11183
11183
  }), delete r.scriptLoadedCallbacks[B];
11184
11184
  }, d = (D) => {
11185
11185
  const B = Ie(D, (K) => K.status === "rejected");
11186
- return B.length > 0 ? Promise.reject(Pt(B, ({ reason: K }) => Fe(K) ? K : [K])) : Promise.resolve();
11186
+ return B.length > 0 ? Promise.reject(Bt(B, ({ reason: K }) => Fe(K) ? K : [K])) : Promise.resolve();
11187
11187
  }, h = (D) => Promise.allSettled(le(D, (B) => r.states[B] === $b ? (l("resolve", B), Promise.resolve()) : r.states[B] === vC ? (l("reject", B), Promise.reject(B)) : (r.states[B] = Ob, r.loadScript(B).then(() => {
11188
11188
  r.states[B] = $b, l("resolve", B);
11189
11189
  const K = r.queue;
@@ -13174,7 +13174,7 @@ Required: ` + n.join(", "));
13174
13174
  for (let r = 0; r < e.rangeCount; r++)
13175
13175
  n.push(e.getRangeAt(r));
13176
13176
  return n;
13177
- }, M$ = (e) => Pt(e, (n) => {
13177
+ }, M$ = (e) => Bt(e, (n) => {
13178
13178
  const r = Hb(n);
13179
13179
  return r ? [et.fromDom(r)] : [];
13180
13180
  }), LI = (e) => lk(e).length > 1, ck = (e) => Ie(M$(e), Qc), HI = (e) => rl(e, "td[data-mce-selected],th[data-mce-selected]"), uk = (e, n) => {
@@ -13271,7 +13271,7 @@ Required: ` + n.join(", "));
13271
13271
  }, Mw = (e, n) => {
13272
13272
  const r = e.dom;
13273
13273
  return SS(n) && r.getContentEditable(n) === "false" && ul(e, n) && r.select('[contenteditable="true"]', n).length === 0;
13274
- }, ni = (e, n) => ce(e) ? e(n) : (Oe(n) && (e = e.replace(/%(\w+)/g, (r, l) => n[l] || r)), e), Xu = (e, n) => (e = e || "", n = n || "", e = "" + (e.nodeName || e), n = "" + (n.nodeName || n), e.toLowerCase() === n.toLowerCase()), Rw = (e, n) => {
13274
+ }, ti = (e, n) => ce(e) ? e(n) : (Oe(n) && (e = e.replace(/%(\w+)/g, (r, l) => n[l] || r)), e), Xu = (e, n) => (e = e || "", n = n || "", e = "" + (e.nodeName || e), n = "" + (n.nodeName || n), e.toLowerCase() === n.toLowerCase()), Rw = (e, n) => {
13275
13275
  if (ft(e))
13276
13276
  return null;
13277
13277
  {
@@ -15532,7 +15532,7 @@ Required: ` + n.join(", "));
15532
15532
  } else
15533
15533
  for (const D in C)
15534
15534
  if (bo(C, D)) {
15535
- const B = k ? e.getAttrib(n, D) : jh(e, n, D), K = ni(C[D], h), oe = ft(B) || us(B);
15535
+ const B = k ? e.getAttrib(n, D) : jh(e, n, D), K = ti(C[D], h), oe = ft(B) || us(B);
15536
15536
  if (oe && ft(K))
15537
15537
  continue;
15538
15538
  if (d && oe && !r.exact || (!d || r.exact) && !fx(B, Rw(K, D)))
@@ -15549,7 +15549,7 @@ Required: ` + n.join(", "));
15549
15549
  const B = D.classes;
15550
15550
  if (B) {
15551
15551
  for (let K = 0; K < B.length; K++)
15552
- if (!e.dom.hasClass(n, ni(B[K], l)))
15552
+ if (!e.dom.hasClass(n, ti(B[K], l)))
15553
15553
  return;
15554
15554
  }
15555
15555
  return D;
@@ -15852,7 +15852,7 @@ Required: ` + n.join(", "));
15852
15852
  value: null
15853
15853
  } : {
15854
15854
  name: e,
15855
- value: ni(n, r)
15855
+ value: ti(n, r)
15856
15856
  }, q8 = (e, n) => {
15857
15857
  e.getAttrib(n, "style") === "" && (n.removeAttribute("style"), n.removeAttribute("data-mce-style"));
15858
15858
  }, v3 = (e, n, r, l, d) => {
@@ -15908,7 +15908,7 @@ Required: ` + n.join(", "));
15908
15908
  xe === "class" && D.removeAttribute("className"), D.removeAttribute(xe);
15909
15909
  }
15910
15910
  }), rD(n.classes, (oe) => {
15911
- oe = ni(oe, r), (!eo(d) || h.hasClass(d, oe)) && h.removeClass(D, oe);
15911
+ oe = ti(oe, r), (!eo(d) || h.hasClass(d, oe)) && h.removeClass(D, oe);
15912
15912
  });
15913
15913
  const K = h.getAttribs(D);
15914
15914
  for (let oe = 0; oe < K.length; oe++) {
@@ -16033,7 +16033,7 @@ Required: ` + n.join(", "));
16033
16033
  }, e7 = (e, n, r, l) => {
16034
16034
  if (n.styles && n.styles.backgroundColor) {
16035
16035
  const d = sD(e, "fontSize");
16036
- p3(l, (h) => d(h) && e.isEditable(h), h3(e, "backgroundColor", ni(n.styles.backgroundColor, r)));
16036
+ p3(l, (h) => d(h) && e.isEditable(h), h3(e, "backgroundColor", ti(n.styles.backgroundColor, r)));
16037
16037
  }
16038
16038
  }, t7 = (e, n, r, l) => {
16039
16039
  if (Ui(n) && (n.inline === "sub" || n.inline === "sup")) {
@@ -16062,7 +16062,7 @@ Required: ` + n.join(", "));
16062
16062
  return !1;
16063
16063
  }, cD = (e, n, r, l) => {
16064
16064
  if (vx(r.styles, (d, h) => {
16065
- e.setStyle(n, h, ni(d, l));
16065
+ e.setStyle(n, h, ti(d, l));
16066
16066
  }), r.styles) {
16067
16067
  const d = e.getAttrib(n, "style");
16068
16068
  d && e.setAttrib(n, "data-mce-style", d);
@@ -16070,9 +16070,9 @@ Required: ` + n.join(", "));
16070
16070
  }, pZ = (e, n, r, l) => {
16071
16071
  const d = e.formatter.get(n), h = d[0], C = !l && e.selection.isCollapsed(), k = e.dom, D = e.selection, B = (Re, Te = h) => {
16072
16072
  ce(Te.onformat) && Te.onformat(Re, Te, r, l), cD(k, Re, Te, r), vx(Te.attributes, (ze, rt) => {
16073
- k.setAttrib(Re, rt, ni(ze, r));
16073
+ k.setAttrib(Re, rt, ti(ze, r));
16074
16074
  }), vx(Te.classes, (ze) => {
16075
- const rt = ni(ze, r);
16075
+ const rt = ti(ze, r);
16076
16076
  k.hasClass(Re, rt) || k.addClass(Re, rt);
16077
16077
  });
16078
16078
  }, K = (Re, Te) => {
@@ -18337,13 +18337,13 @@ Required: ` + n.join(", "));
18337
18337
  removeNodeFilter: r.removeNodeFilter,
18338
18338
  removeAttributeFilter: r.removeAttributeFilter
18339
18339
  };
18340
- }, oi = "html", eN = (e, n) => ({
18340
+ }, ni = "html", eN = (e, n) => ({
18341
18341
  ...e,
18342
18342
  format: n,
18343
18343
  get: !0,
18344
18344
  getInner: !0
18345
18345
  }), hre = (e, n = {}) => {
18346
- const r = n.format ? n.format : oi, l = eN(n, r);
18346
+ const r = n.format ? n.format : ni, l = eN(n, r);
18347
18347
  return M7(e, l).fold(nt, (d) => {
18348
18348
  const h = SG(e, d);
18349
18349
  return ND(e, h, d);
@@ -20011,7 +20011,7 @@ Options:${C}${r.join(C)}` : "";
20011
20011
  return r.setStart(e, 0), r.setEnd(e, e.data.length), n(r.getClientRects());
20012
20012
  } else
20013
20013
  return [];
20014
- }, V0 = (e) => Pt(e, eY);
20014
+ }, V0 = (e) => Bt(e, eY);
20015
20015
  var Nv;
20016
20016
  (function(e) {
20017
20017
  e[e.Up = -1] = "Up", e[e.Down = 1] = "Down";
@@ -20201,7 +20201,7 @@ Options:${C}${r.join(C)}` : "";
20201
20201
  return Cn(d, n).fold(he(d), (h) => d.slice(0, h));
20202
20202
  }, UF = (e) => Vd(e) === 1, jF = (e) => Yx(e, (n) => e.schema.isBlock(Pe(n)) || qx(n)), WF = (e) => Yx(e, (n) => e.schema.isBlock(Pe(n))), YN = (e, n) => {
20203
20203
  const r = me(d3, e);
20204
- return Pt(n, (l) => r(l) ? [l.dom] : []);
20204
+ return Bt(n, (l) => r(l) ? [l.dom] : []);
20205
20205
  }, Kx = (e) => {
20206
20206
  const n = WF(e);
20207
20207
  return YN(e, n);
@@ -20398,7 +20398,7 @@ Options:${C}${r.join(C)}` : "";
20398
20398
  return h.setStartBefore(d.dom), h.setEndBefore(d.dom), h;
20399
20399
  }, $Y = (e) => {
20400
20400
  e.on("NodeChange", () => oL(e));
20401
- }, si = (e) => (n) => (" " + n.attr("class") + " ").indexOf(e) !== -1, rL = (e, n, r) => function(l) {
20401
+ }, oi = (e) => (n) => (" " + n.attr("class") + " ").indexOf(e) !== -1, rL = (e, n, r) => function(l) {
20402
20402
  const d = arguments, h = d[d.length - 2], C = h > 0 ? n.charAt(h - 1) : "";
20403
20403
  if (C === '"')
20404
20404
  return l;
@@ -20419,7 +20419,7 @@ Options:${C}${r.join(C)}` : "";
20419
20419
  const l = n.match(r);
20420
20420
  return l !== null && l[0].length === n.length;
20421
20421
  }), mA = (e) => {
20422
- const n = "contenteditable", r = " " + rn.trim(II(e)) + " ", l = " " + rn.trim(ww(e)) + " ", d = si(r), h = si(l), C = tv(e);
20422
+ const n = "contenteditable", r = " " + rn.trim(II(e)) + " ", l = " " + rn.trim(ww(e)) + " ", d = oi(r), h = oi(l), C = tv(e);
20423
20423
  C.length > 0 && e.on("BeforeSetContent", (k) => {
20424
20424
  fA(e, C, k);
20425
20425
  }), e.parser.addAttributeFilter("class", (k) => {
@@ -20507,7 +20507,7 @@ Options:${C}${r.join(C)}` : "";
20507
20507
  })), Are = (e) => le(e, (n) => ({
20508
20508
  ...c6,
20509
20509
  ...n
20510
- })), VY = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, zY = (e, n) => Pt(kre(e), (r) => VY(r, n) ? [r] : []), Ore = (e, n) => Pt(Are(e), (r) => VY(r, n) ? [r] : []), rs = (e, ...n) => () => e.apply(null, n), Qx = (e, n) => Nt(zY(e, n), (r) => r.action()), fL = (e, n) => Vo(Ore(e, n), (r) => r.action()), UY = (e, n) => {
20510
+ })), VY = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, zY = (e, n) => Bt(kre(e), (r) => VY(r, n) ? [r] : []), Ore = (e, n) => Bt(Are(e), (r) => VY(r, n) ? [r] : []), rs = (e, ...n) => () => e.apply(null, n), Qx = (e, n) => Nt(zY(e, n), (r) => r.action()), fL = (e, n) => Vo(Ore(e, n), (r) => r.action()), UY = (e, n) => {
20511
20511
  const r = n ? 1 : -1, l = e.selection.getRng();
20512
20512
  return IF(e, r, l, w0, XS, Li).exists((d) => (xc(e, d), !0));
20513
20513
  }, mL = (e, n) => {
@@ -20526,7 +20526,7 @@ Options:${C}${r.join(C)}` : "";
20526
20526
  ]), e_ = {
20527
20527
  ...u6,
20528
20528
  none: (e) => u6.none(e)
20529
- }, gL = (e, n) => d6(e, n, ct), d6 = (e, n, r) => Pt(Ti(e), (l) => Ol(l, n) ? r(l) ? [l] : [] : d6(l, n, r)), pL = (e, n, r = Me) => {
20529
+ }, gL = (e, n) => d6(e, n, ct), d6 = (e, n, r) => Bt(Ti(e), (l) => Ol(l, n) ? r(l) ? [l] : [] : d6(l, n, r)), pL = (e, n, r = Me) => {
20530
20530
  if (r(n))
20531
20531
  return ne.none();
20532
20532
  if (J(e, Pe(n)))
@@ -20562,7 +20562,7 @@ Options:${C}${r.join(C)}` : "";
20562
20562
  bottom: e.bottom + n * 2,
20563
20563
  width: e.width + n,
20564
20564
  height: e.height + n
20565
- }), Dre = (e, n) => Pt(n, (r) => {
20565
+ }), Dre = (e, n) => Bt(n, (r) => {
20566
20566
  const l = yL(Eh(r.getBoundingClientRect()), -1);
20567
20567
  return [
20568
20568
  {
@@ -22382,7 +22382,7 @@ Input object: ` + gf(e.input), M6 = (e, n) => i_(e, Ko(n, l_)), GL = he(kK), AA
22382
22382
  const n = sS(e);
22383
22383
  return (r) => Uo(r.type, "image/") && ae(n, (l) => tH(l) === r.type);
22384
22384
  }, TJ = (e, n) => {
22385
- const r = n.items ? Pt(Mo(n.items), (d) => d.kind === "file" ? [d.getAsFile()] : []) : [], l = n.files ? Mo(n.files) : [];
22385
+ const r = n.items ? Bt(Mo(n.items), (d) => d.kind === "file" ? [d.getAsFile()] : []) : [], l = n.files ? Mo(n.files) : [];
22386
22386
  return Ie(r.length > 0 ? r : l, EJ(e));
22387
22387
  }, hM = (e, n, r) => {
22388
22388
  const l = _J(n) ? n.clipboardData : n.dataTransfer;
@@ -25949,7 +25949,7 @@ tinymce.IconManager.add("default", {
25949
25949
  }, je = (t) => [t], yt = (t, a) => {
25950
25950
  const c = Ue.call(t, 0);
25951
25951
  return c.sort(a), c;
25952
- }, Nt = (t, a) => a >= 0 && a < t.length ? M.some(t[a]) : M.none(), Cn = (t) => Nt(t, 0), Et = (t) => Nt(t, t.length - 1), Pt = q(Array.from) ? Array.from : (t) => Ue.call(t), vn = (t, a) => {
25952
+ }, Nt = (t, a) => a >= 0 && a < t.length ? M.some(t[a]) : M.none(), Cn = (t) => Nt(t, 0), Et = (t) => Nt(t, t.length - 1), Bt = q(Array.from) ? Array.from : (t) => Ue.call(t), vn = (t, a) => {
25953
25953
  for (let c = 0; c < t.length; c++) {
25954
25954
  const m = a(t[c], c);
25955
25955
  if (m.isSome())
@@ -27221,7 +27221,7 @@ Required: ` + a.join(", "));
27221
27221
  kt("apis", {}),
27222
27222
  kt("state", wd),
27223
27223
  kt("extra", {})
27224
- ]), ti = (t) => {
27224
+ ]), ei = (t) => {
27225
27225
  const a = Yl("Creating behaviour: " + t.name, EE, t);
27226
27226
  return yh(a.fields, a.name, a.active, a.apis, a.extra, a.state);
27227
27227
  }, TE = il([
@@ -27658,7 +27658,7 @@ Required: ` + a.join(", "));
27658
27658
  });
27659
27659
  }
27660
27660
  });
27661
- const fa = ti({
27661
+ const fa = ei({
27662
27662
  fields: Eh,
27663
27663
  name: "docking",
27664
27664
  active: Gy,
@@ -28231,7 +28231,7 @@ Receiver: ` + eu(a.element), V, x.data);
28231
28231
  Gu("onReceive"),
28232
28232
  kt("schema", Vu())
28233
28233
  ])))];
28234
- const nu = ti({
28234
+ const nu = ei({
28235
28235
  fields: n$,
28236
28236
  name: "receiving",
28237
28237
  active: t$
@@ -29019,7 +29019,7 @@ Receiver: ` + eu(a.element), V, x.data);
29019
29019
  });
29020
29020
  }
29021
29021
  });
29022
- const Pl = ti({
29022
+ const Pl = ei({
29023
29023
  fields: k$,
29024
29024
  name: "positioning",
29025
29025
  active: vT,
@@ -29160,7 +29160,7 @@ Receiver: ` + eu(a.element), V, x.data);
29160
29160
  });
29161
29161
  }
29162
29162
  });
29163
- const Gs = ti({
29163
+ const Gs = ei({
29164
29164
  fields: lv,
29165
29165
  name: "sandboxing",
29166
29166
  active: ik,
@@ -29342,7 +29342,7 @@ Receiver: ` + eu(a.element), V, x.data);
29342
29342
  Zs("onSetValue"),
29343
29343
  kt("resetOnDom", !1)
29344
29344
  ];
29345
- const to = ti({
29345
+ const to = ei({
29346
29346
  fields: _S,
29347
29347
  name: "representing",
29348
29348
  active: uk,
@@ -29354,12 +29354,12 @@ Receiver: ` + eu(a.element), V, x.data);
29354
29354
  }
29355
29355
  },
29356
29356
  state: bS
29357
- }), ul = (t, a) => z(t, {}, Me(a, (c) => iC(c.name(), "Cannot configure " + c.name() + " for " + t)).concat([Xs("dump", We)])), Mw = (t) => t.dump, ni = (t, a) => ({
29357
+ }), ul = (t, a) => z(t, {}, Me(a, (c) => iC(c.name(), "Cannot configure " + c.name() + " for " + t)).concat([Xs("dump", We)])), Mw = (t) => t.dump, ti = (t, a) => ({
29358
29358
  ...Dn(a),
29359
29359
  ...t.dump
29360
29360
  }), Xu = {
29361
29361
  field: ul,
29362
- augment: ni,
29362
+ augment: ti,
29363
29363
  get: Mw
29364
29364
  }, Rw = "placeholder", jh = Ae.generate([
29365
29365
  {
@@ -29604,7 +29604,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
29604
29604
  __proto__: null,
29605
29605
  getCurrent: (t, a, c) => a.find(t)
29606
29606
  });
29607
- const IS = [cn("find")], Vs = ti({
29607
+ const IS = [cn("find")], Vs = ei({
29608
29608
  fields: IS,
29609
29609
  name: "composing",
29610
29610
  apis: V$
@@ -29655,7 +29655,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
29655
29655
  Zs("onDisabled"),
29656
29656
  Zs("onEnabled")
29657
29657
  ];
29658
- const mo = ti({
29658
+ const mo = ei({
29659
29659
  fields: G$,
29660
29660
  name: "disabling",
29661
29661
  active: Z$,
@@ -29728,7 +29728,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
29728
29728
  Zs("onHighlight"),
29729
29729
  Zs("onDehighlight")
29730
29730
  ];
29731
- const ke = ti({
29731
+ const ke = ei({
29732
29732
  fields: Ee,
29733
29733
  name: "highlighting",
29734
29734
  apis: de
@@ -30200,13 +30200,13 @@ Components: ` + JSON.stringify(a.components, null, 2));
30200
30200
  set: FP,
30201
30201
  contents: Bk
30202
30202
  });
30203
- const ts = ti({
30203
+ const ts = ei({
30204
30204
  fields: [Ia("reuseDom", !0)],
30205
30205
  name: "replacing",
30206
30206
  apis: Gh
30207
30207
  }), mW = (t, a) => {
30208
30208
  const c = Kr(a);
30209
- return ti({
30209
+ return ei({
30210
30210
  fields: [cn("enabled")],
30211
30211
  name: t,
30212
30212
  active: { events: ee(c) }
@@ -30249,7 +30249,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30249
30249
  kt("stopMousedown", !1),
30250
30250
  kt("ignore", !1)
30251
30251
  ];
30252
- const Yo = ti({
30252
+ const Yo = ei({
30253
30253
  fields: Fk,
30254
30254
  name: "focusing",
30255
30255
  active: pW,
@@ -30325,7 +30325,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30325
30325
  none: [oa("update", j)]
30326
30326
  }))
30327
30327
  ];
30328
- const Es = ti({
30328
+ const Es = ei({
30329
30329
  fields: JS,
30330
30330
  name: "toggling",
30331
30331
  active: yW,
@@ -30582,7 +30582,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30582
30582
  uid: t.uid,
30583
30583
  dom: t.dom,
30584
30584
  markers: t.markers,
30585
- behaviours: ni(t.menuBehaviours, [
30585
+ behaviours: ti(t.menuBehaviours, [
30586
30586
  ke.config({
30587
30587
  highlightClass: t.markers.selectedItem,
30588
30588
  itemClass: t.markers.item,
@@ -30854,7 +30854,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
30854
30854
  uid: t.uid,
30855
30855
  dom: t.dom,
30856
30856
  markers: t.markers,
30857
- behaviours: ni(t.tmenuBehaviours, [
30857
+ behaviours: ti(t.tmenuBehaviours, [
30858
30858
  ko.config({
30859
30859
  mode: "special",
30860
30860
  onRight: It(Xt),
@@ -31029,7 +31029,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
31029
31029
  return {
31030
31030
  uid: t.uid,
31031
31031
  dom: t.dom,
31032
- behaviours: ni(t.inlineBehaviours, [
31032
+ behaviours: ti(t.inlineBehaviours, [
31033
31033
  Gs.config({
31034
31034
  isPartOf: (ge, _e, Be) => Dp(_e, Be) || c(ge, Be),
31035
31035
  getAttachPoint: (ge) => t.lazySink(ge).getOrDie(),
@@ -31425,7 +31425,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
31425
31425
  }])
31426
31426
  })
31427
31427
  }), jW = [kt("tabAttr", "data-alloy-tabstop")];
31428
- const Xr = ti({
31428
+ const Xr = ei({
31429
31429
  fields: jW,
31430
31430
  name: "tabstopping",
31431
31431
  active: z5
@@ -31645,7 +31645,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
31645
31645
  });
31646
31646
  }
31647
31647
  });
31648
- const Pa = ti({
31648
+ const Pa = ei({
31649
31649
  fields: U5,
31650
31650
  name: "tooltipping",
31651
31651
  active: ZW,
@@ -32591,7 +32591,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
32591
32591
  } : j
32592
32592
  })]), J8 = (t) => ({
32593
32593
  ...X8(t),
32594
- ...ni(t.inputBehaviours, [to.config({
32594
+ ...ti(t.inputBehaviours, [to.config({
32595
32595
  store: {
32596
32596
  mode: "manual",
32597
32597
  ...t.data.map((a) => ({ initialValue: a })).getOr({}),
@@ -34158,7 +34158,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34158
34158
  });
34159
34159
  }
34160
34160
  });
34161
- const oi = ti({
34161
+ const ni = ei({
34162
34162
  fields: HG,
34163
34163
  name: "coupling",
34164
34164
  apis: LG,
@@ -34289,7 +34289,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34289
34289
  Gs.cloak(m), Gs.open(m, W), x(m);
34290
34290
  }), m));
34291
34291
  }, jG = (t, a, c, m, b, x, E) => (Gs.close(m), Cc.pure(m)), oN = (t, a, c, m, b, x) => {
34292
- const E = oi.getCoupled(c, "sandbox");
34292
+ const E = ni.getCoupled(c, "sandbox");
34293
34293
  return (Gs.isOpen(E) ? jG : I3)(t, a, c, E, m, b, x);
34294
34294
  }, WG = (t, a, c) => {
34295
34295
  const m = Vs.getCurrent(a).getOr(a), b = Pe(t.element);
@@ -34336,7 +34336,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34336
34336
  ])
34337
34337
  };
34338
34338
  }, _B = (t) => {
34339
- const a = oi.getCoupled(t, "sandbox");
34339
+ const a = ni.getCoupled(t, "sandbox");
34340
34340
  xB(a);
34341
34341
  }, f2 = () => [
34342
34342
  kt("sandboxClasses", []),
@@ -34356,7 +34356,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34356
34356
  Mp(),
34357
34357
  ul("dropdownBehaviours", [
34358
34358
  Es,
34359
- oi,
34359
+ ni,
34360
34360
  ko,
34361
34361
  Yo
34362
34362
  ]),
@@ -34391,7 +34391,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34391
34391
  open: (W) => {
34392
34392
  Es.isOn(W) || E(W, j, dl.HighlightMenuAndItem).get(j);
34393
34393
  },
34394
- refetch: (W) => oi.getExistingCoupled(W, "sandbox").fold(() => E(W, j, dl.HighlightMenuAndItem).map(j), (ge) => I3(t, We, W, ge, m, j, dl.HighlightMenuAndItem).map(j)),
34394
+ refetch: (W) => ni.getExistingCoupled(W, "sandbox").fold(() => E(W, j, dl.HighlightMenuAndItem).map(j), (ge) => I3(t, We, W, ge, m, j, dl.HighlightMenuAndItem).map(j)),
34395
34395
  isOpen: Es.isOn,
34396
34396
  close: (W) => {
34397
34397
  Es.isOn(W) && E(W, j, dl.HighlightMenuAndItem).get(j);
@@ -34404,12 +34404,12 @@ Components: ` + JSON.stringify(a.components, null, 2));
34404
34404
  uid: t.uid,
34405
34405
  dom: t.dom,
34406
34406
  components: a,
34407
- behaviours: ni(t.dropdownBehaviours, [
34407
+ behaviours: ti(t.dropdownBehaviours, [
34408
34408
  Es.config({
34409
34409
  toggleClass: t.toggleClass,
34410
34410
  aria: { mode: "expanded" }
34411
34411
  }),
34412
- oi.config({
34412
+ ni.config({
34413
34413
  others: {
34414
34414
  sandbox: (W) => d2(t, W, {
34415
34415
  onOpen: () => Es.on(W),
@@ -34423,7 +34423,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34423
34423
  onEnter: V,
34424
34424
  onDown: (W, se) => {
34425
34425
  if (df.isOpen(W)) {
34426
- const ge = oi.getCoupled(W, "sandbox");
34426
+ const ge = ni.getCoupled(W, "sandbox");
34427
34427
  x(ge);
34428
34428
  } else
34429
34429
  df.open(W);
@@ -34477,7 +34477,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34477
34477
  }, P3 = (t) => {
34478
34478
  const a = to.getValue(t), c = y3(t).map(cD);
34479
34479
  df.refetch(a).get(() => {
34480
- const m = oi.getCoupled(a, "sandbox");
34480
+ const m = ni.getCoupled(a, "sandbox");
34481
34481
  c.each((b) => y3(m).each((x) => gZ(x, b)));
34482
34482
  });
34483
34483
  }, m2 = (t, a) => {
@@ -34494,7 +34494,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
34494
34494
  we(c.element, "aria-selected", "false");
34495
34495
  }, KG = (t) => {
34496
34496
  vx(t).each((a) => Yo.focus(a));
34497
- }, XG = (t) => oi.getExistingCoupled(t, "sandbox").bind(y3).map(cD).map((c) => c.fetchPattern).getOr("");
34497
+ }, XG = (t) => ni.getExistingCoupled(t, "sandbox").bind(y3).map(cD).map((c) => c.fetchPattern).getOr("");
34498
34498
  var B3;
34499
34499
  (function(t) {
34500
34500
  t[t.ContentFocus = 0] = "ContentFocus", t[t.UiFocus = 1] = "UiFocus";
@@ -35038,7 +35038,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
35038
35038
  name: "field"
35039
35039
  })
35040
35040
  ]), uq = (t, a, c, m) => {
35041
- const b = ni(t.fieldBehaviours, [
35041
+ const b = ti(t.fieldBehaviours, [
35042
35042
  Vs.config({
35043
35043
  find: (N) => Vr(N, t, "field")
35044
35044
  }),
@@ -35297,7 +35297,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
35297
35297
  kt("validateOnLoad", !0)
35298
35298
  ])
35299
35299
  ];
35300
- const Zp = ti({
35300
+ const Zp = ei({
35301
35301
  fields: h2,
35302
35302
  name: "invalidating",
35303
35303
  active: WB,
@@ -35322,7 +35322,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
35322
35322
  attributes: { unselectable: "on" }
35323
35323
  })
35324
35324
  });
35325
- const Du = ti({
35325
+ const Du = ei({
35326
35326
  fields: [],
35327
35327
  name: "unselecting",
35328
35328
  active: L3
@@ -35882,7 +35882,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
35882
35882
  uid: t.uid,
35883
35883
  dom: t.dom,
35884
35884
  components: a,
35885
- behaviours: ni(t.sliderBehaviours, [
35885
+ behaviours: ti(t.sliderBehaviours, [
35886
35886
  ko.config({
35887
35887
  mode: "special",
35888
35888
  focusIn: zt
@@ -35993,7 +35993,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
35993
35993
  uid: t.uid,
35994
35994
  dom: t.dom,
35995
35995
  components: a,
35996
- behaviours: ni(t.formBehaviours, [to.config({
35996
+ behaviours: ti(t.formBehaviours, [to.config({
35997
35997
  store: {
35998
35998
  mode: "manual",
35999
35999
  getValue: (c) => {
@@ -36528,7 +36528,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
36528
36528
  var r1 = tinymce.util.Tools.resolve("tinymce.util.Tools");
36529
36529
  const rA = no("browse.files.event"), HF = (t, a) => {
36530
36530
  const c = r1.explode(a.getOption("images_file_types")), m = (b) => At(c, (x) => Ir(b.name.toLowerCase(), `.${x.toLowerCase()}`));
36531
- return pt(Pt(t), m);
36531
+ return pt(Bt(t), m);
36532
36532
  }, lY = (t, a, c) => {
36533
36533
  const m = (ge, _e) => {
36534
36534
  _e.stop();
@@ -37197,7 +37197,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
37197
37197
  attributes: t.selectAttributes
37198
37198
  },
37199
37199
  components: c,
37200
- behaviours: ni(t.selectBehaviours, [
37200
+ behaviours: ti(t.selectBehaviours, [
37201
37201
  Yo.config({}),
37202
37202
  to.config({
37203
37203
  store: {
@@ -37349,7 +37349,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
37349
37349
  getField2: (b) => Vr(b, t, "field2"),
37350
37350
  getLock: (b) => Vr(b, t, "lock")
37351
37351
  }
37352
- }), si = nc({
37352
+ }), oi = nc({
37353
37353
  name: "FormCoupledInputs",
37354
37354
  configFields: OY(),
37355
37355
  partFields: sL(),
@@ -37411,7 +37411,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
37411
37411
  "tox-icon",
37412
37412
  "tox-lock-icon__" + He
37413
37413
  ]
37414
- }, a.icons), x = () => !t.enabled || a.checkUiComponentContext(t.context).shouldDisable, E = gi(() => a.checkUiComponentContext(t.context)), N = t.label.getOr("Constrain proportions"), P = a.translate(N), V = si.parts.lock({
37414
+ }, a.icons), x = () => !t.enabled || a.checkUiComponentContext(t.context).shouldDisable, E = gi(() => a.checkUiComponentContext(t.context)), N = t.label.getOr("Constrain proportions"), P = a.translate(N), V = oi.parts.lock({
37415
37415
  dom: {
37416
37416
  tag: "button",
37417
37417
  classes: [
@@ -37464,14 +37464,14 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
37464
37464
  classes: ["tox-label"]
37465
37465
  },
37466
37466
  components: [ha(a.translate(He))]
37467
- }), _e = si.parts.field1(W([
37467
+ }), _e = oi.parts.field1(W([
37468
37468
  Ns.parts.label(ge("Width")),
37469
37469
  se(!0)
37470
- ])), Be = si.parts.field2(W([
37470
+ ])), Be = oi.parts.field2(W([
37471
37471
  Ns.parts.label(ge("Height")),
37472
37472
  se(!1)
37473
37473
  ]));
37474
- return si.sketch({
37474
+ return oi.sketch({
37475
37475
  dom: {
37476
37476
  tag: "div",
37477
37477
  classes: ["tox-form__group"]
@@ -37505,15 +37505,15 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
37505
37505
  mo.config({
37506
37506
  disabled: x,
37507
37507
  onDisabled: (He) => {
37508
- si.getField1(He).bind(Ns.getField).each(mo.disable), si.getField2(He).bind(Ns.getField).each(mo.disable), si.getLock(He).each(mo.disable);
37508
+ oi.getField1(He).bind(Ns.getField).each(mo.disable), oi.getField2(He).bind(Ns.getField).each(mo.disable), oi.getLock(He).each(mo.disable);
37509
37509
  },
37510
37510
  onEnabled: (He) => {
37511
- si.getField1(He).bind(Ns.getField).each(mo.enable), si.getField2(He).bind(Ns.getField).each(mo.enable), si.getLock(He).each(mo.enable);
37511
+ oi.getField1(He).bind(Ns.getField).each(mo.enable), oi.getField2(He).bind(Ns.getField).each(mo.enable), oi.getLock(He).each(mo.enable);
37512
37512
  }
37513
37513
  }),
37514
37514
  gi(() => a.checkUiComponentContext("mode:design")),
37515
37515
  ss("size-input-events2", [sn(m, (He, wt) => {
37516
- const Ye = wt.event.isField1, _t = Ye ? si.getField1(He) : si.getField2(He), ht = Ye ? si.getField2(He) : si.getField1(He), zt = _t.map(to.getValue).getOr(""), Xt = ht.map(to.getValue).getOr("");
37516
+ const Ye = wt.event.isField1, _t = Ye ? oi.getField1(He) : oi.getField2(He), ht = Ye ? oi.getField2(He) : oi.getField1(He), zt = _t.map(to.getValue).getOr(""), Xt = ht.map(to.getValue).getOr("");
37517
37517
  c = a6(zt, Xt);
37518
37518
  })])
37519
37519
  ])
@@ -37814,7 +37814,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
37814
37814
  });
37815
37815
  }
37816
37816
  });
37817
- const Mu = ti({
37817
+ const Mu = ei({
37818
37818
  fields: fL,
37819
37819
  name: "sliding",
37820
37820
  active: Qx,
@@ -38209,7 +38209,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38209
38209
  er("cancelEvent"),
38210
38210
  Gu("onStream")
38211
38211
  ];
38212
- const g6 = ti({
38212
+ const g6 = ei({
38213
38213
  fields: KY,
38214
38214
  name: "streaming",
38215
38215
  active: qY,
@@ -38235,7 +38235,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38235
38235
  }, p6 = ee("alloy.typeahead.itemexecute"), QY = (t, a, c, m) => {
38236
38236
  const b = (se, ge, _e) => {
38237
38237
  t.previewing.set(!1);
38238
- const Be = oi.getCoupled(se, "sandbox");
38238
+ const Be = ni.getCoupled(se, "sandbox");
38239
38239
  if (Gs.isOpen(Be))
38240
38240
  Vs.getCurrent(Be).each((He) => {
38241
38241
  ke.getHighlighted(He).fold(() => {
@@ -38277,7 +38277,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38277
38277
  stopEvent: !1
38278
38278
  },
38279
38279
  onStream: (se, ge) => {
38280
- const _e = oi.getCoupled(se, "sandbox");
38280
+ const _e = ni.getCoupled(se, "sandbox");
38281
38281
  if (Yo.isFocused(se) && Qt(se.element).length >= t.minChars) {
38282
38282
  const He = N(_e).bind((Ye) => ke.getHighlighted(Ye).map(to.getValue));
38283
38283
  t.previewing.set(!0);
@@ -38299,12 +38299,12 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38299
38299
  mode: "special",
38300
38300
  onDown: (se, ge) => (b(se, ge, ke.highlightFirst), M.some(!0)),
38301
38301
  onEscape: (se) => {
38302
- const ge = oi.getCoupled(se, "sandbox");
38302
+ const ge = ni.getCoupled(se, "sandbox");
38303
38303
  return Gs.isOpen(ge) ? (Gs.close(ge), M.some(!0)) : M.none();
38304
38304
  },
38305
38305
  onUp: (se, ge) => (b(se, ge, ke.highlightLast), M.some(!0)),
38306
38306
  onEnter: (se) => {
38307
- const ge = oi.getCoupled(se, "sandbox"), _e = Gs.isOpen(ge);
38307
+ const ge = ni.getCoupled(se, "sandbox"), _e = Gs.isOpen(ge);
38308
38308
  if (_e && !t.previewing.get())
38309
38309
  return N(ge).bind((Be) => ke.getHighlighted(Be)).map((Be) => (Oo(se, p6(), { item: Be }), !0));
38310
38310
  {
@@ -38317,7 +38317,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38317
38317
  toggleClass: t.markers.openClass,
38318
38318
  aria: { mode: "expanded" }
38319
38319
  }),
38320
- oi.config({
38320
+ ni.config({
38321
38321
  others: {
38322
38322
  sandbox: (se) => d2(t, se, {
38323
38323
  onOpen: () => Es.on(se),
@@ -38339,11 +38339,11 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38339
38339
  oN(t, E(se), se, m, ge, dl.HighlightMenuAndItem).get(j);
38340
38340
  }),
38341
38341
  sn(p6(), (se, ge) => {
38342
- const _e = oi.getCoupled(se, "sandbox");
38342
+ const _e = ni.getCoupled(se, "sandbox");
38343
38343
  wA(t.model, se, ge.event.item), Os(se, Cl()), t.onItemExecute(se, _e, ge.event.item, to.getValue(se)), Gs.close(_e), SL(se);
38344
38344
  })
38345
38345
  ].concat(t.dismissOnBlur ? [sn(hg(), (se) => {
38346
- const ge = oi.getCoupled(se, "sandbox");
38346
+ const ge = ni.getCoupled(se, "sandbox");
38347
38347
  vc(ge.element).isNone() && Gs.close(ge);
38348
38348
  })] : []))
38349
38349
  ], W = {
@@ -38365,7 +38365,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38365
38365
  })),
38366
38366
  behaviours: {
38367
38367
  ...x,
38368
- ...ni(t.typeaheadBehaviours, V)
38368
+ ...ti(t.typeaheadBehaviours, V)
38369
38369
  },
38370
38370
  eventOrder: W
38371
38371
  };
@@ -38402,7 +38402,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
38402
38402
  g6,
38403
38403
  ko,
38404
38404
  Es,
38405
- oi
38405
+ ni
38406
38406
  ]),
38407
38407
  Xs("lazyTypeaheadComp", () => xo(M.none)),
38408
38408
  Xs("previewing", () => xo(!0))
@@ -39664,7 +39664,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
39664
39664
  uid: t.uid,
39665
39665
  dom: t.dom,
39666
39666
  components: x.components,
39667
- behaviours: ni(t.listBehaviours, x.behaviours),
39667
+ behaviours: ti(t.listBehaviours, x.behaviours),
39668
39668
  apis: { setItems: b }
39669
39669
  };
39670
39670
  }, $A = nc({
@@ -39702,7 +39702,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
39702
39702
  uid: t.uid,
39703
39703
  dom: t.dom,
39704
39704
  components: E.components,
39705
- behaviours: ni(t.toolbarBehaviours, E.behaviours),
39705
+ behaviours: ti(t.toolbarBehaviours, E.behaviours),
39706
39706
  apis: {
39707
39707
  setGroups: b,
39708
39708
  refresh: j
@@ -40219,7 +40219,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40219
40219
  });
40220
40220
  }
40221
40221
  });
40222
- const tm = ti({
40222
+ const tm = ei({
40223
40223
  fields: yX,
40224
40224
  name: "blocking",
40225
40225
  apis: bX,
@@ -40326,14 +40326,14 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40326
40326
  const m = a.builtGroups.get();
40327
40327
  if (m.length === 0)
40328
40328
  return;
40329
- const b = jf(t, a, "primary"), x = oi.getCoupled(t, "overflowGroup");
40329
+ const b = jf(t, a, "primary"), x = ni.getCoupled(t, "overflowGroup");
40330
40330
  Rn(b.element, "visibility", "hidden");
40331
40331
  const E = m.concat([x]), N = MX(E);
40332
40332
  c([]), b9(b, E);
40333
40333
  const P = Pe(b.element), V = NX(P, a.builtGroups.get(), (W) => Math.ceil(W.element.dom.getBoundingClientRect().width), x);
40334
40334
  V.extra.length === 0 ? (ts.remove(b, x), c([])) : (b9(b, V.within), c(V.extra)), Cs(b.element, "visibility"), Ii(b.element), N.each(Yo.focus);
40335
40335
  }, y9 = ee([
40336
- ul("splitToolbarBehaviours", [oi]),
40336
+ ul("splitToolbarBehaviours", [ni]),
40337
40337
  Xs("builtGroups", () => xo([]))
40338
40338
  ]), RX = ee([
40339
40339
  Hf(["overflowToggledClass"]),
@@ -40391,7 +40391,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40391
40391
  ]), v_ = sr(), PX = (t, a) => {
40392
40392
  v_.set(!0), Q6(t, a), v_.clear();
40393
40393
  }, Q6 = (t, a) => {
40394
- const c = oi.getCoupled(t, "toolbarSandbox");
40394
+ const c = ni.getCoupled(t, "toolbarSandbox");
40395
40395
  Gs.isOpen(c) ? Gs.close(c) : Gs.open(c, a.toolbar());
40396
40396
  }, ed = (t, a, c, m) => {
40397
40397
  const b = c.getBounds.map((E) => E()), x = c.lazySink(t).getOrDie();
@@ -40438,7 +40438,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40438
40438
  }),
40439
40439
  ...Hh({
40440
40440
  doReposition: () => {
40441
- Gs.getState(oi.getCoupled(t, "toolbarSandbox")).each((E) => {
40441
+ Gs.getState(ni.getCoupled(t, "toolbarSandbox")).each((E) => {
40442
40442
  ed(t, E, c, a.layouts);
40443
40443
  });
40444
40444
  }
@@ -40455,7 +40455,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40455
40455
  action: (b) => {
40456
40456
  Q6(b, m);
40457
40457
  },
40458
- buttonBehaviours: Xu.augment({ dump: m.button().buttonBehaviours }, [oi.config({
40458
+ buttonBehaviours: Xu.augment({ dump: m.button().buttonBehaviours }, [ni.config({
40459
40459
  others: {
40460
40460
  toolbarSandbox: (b) => x9(b, c, t)
40461
40461
  }
@@ -40463,12 +40463,12 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40463
40463
  }),
40464
40464
  apis: {
40465
40465
  setGroups: (b, x) => {
40466
- Gs.getState(oi.getCoupled(b, "toolbarSandbox")).each((E) => {
40466
+ Gs.getState(ni.getCoupled(b, "toolbarSandbox")).each((E) => {
40467
40467
  S9(b, E, t, c.layouts, x);
40468
40468
  });
40469
40469
  },
40470
40470
  reposition: (b) => {
40471
- Gs.getState(oi.getCoupled(b, "toolbarSandbox")).each((x) => {
40471
+ Gs.getState(ni.getCoupled(b, "toolbarSandbox")).each((x) => {
40472
40472
  ed(b, x, t, c.layouts);
40473
40473
  });
40474
40474
  },
@@ -40478,8 +40478,8 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40478
40478
  toggleWithoutFocusing: (b) => {
40479
40479
  PX(b, m);
40480
40480
  },
40481
- getToolbar: (b) => Gs.getState(oi.getCoupled(b, "toolbarSandbox")),
40482
- isOpen: (b) => Gs.isOpen(oi.getCoupled(b, "toolbarSandbox"))
40481
+ getToolbar: (b) => Gs.getState(ni.getCoupled(b, "toolbarSandbox")),
40482
+ isOpen: (b) => Gs.isOpen(ni.getCoupled(b, "toolbarSandbox"))
40483
40483
  }
40484
40484
  }),
40485
40485
  configFields: Ure(),
@@ -40511,7 +40511,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40511
40511
  uid: t.uid,
40512
40512
  dom: t.dom,
40513
40513
  components: a,
40514
- behaviours: ni(t.tgroupBehaviours, [ko.config({
40514
+ behaviours: ti(t.tgroupBehaviours, [ko.config({
40515
40515
  mode: "flow",
40516
40516
  selector: t.markers.itemSelector
40517
40517
  })]),
@@ -40564,7 +40564,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40564
40564
  uid: t.uid,
40565
40565
  dom: t.dom,
40566
40566
  components: a,
40567
- behaviours: ni(t.splitToolbarBehaviours, [oi.config({
40567
+ behaviours: ti(t.splitToolbarBehaviours, [ni.config({
40568
40568
  others: {
40569
40569
  overflowGroup: () => BA.sketch({
40570
40570
  ...m["overflow-group"](),
@@ -40712,8 +40712,8 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
40712
40712
  uid: t.uid,
40713
40713
  dom: t.dom,
40714
40714
  components: a,
40715
- behaviours: ni(t.splitToolbarBehaviours, [
40716
- oi.config({
40715
+ behaviours: ti(t.splitToolbarBehaviours, [
40716
+ ni.config({
40717
40717
  others: {
40718
40718
  overflowGroup: (E) => BA.sketch({
40719
40719
  ...m["overflow-group"](),
@@ -42142,7 +42142,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
42142
42142
  cn("dom"),
42143
42143
  Zs("onOpen"),
42144
42144
  ul("splitDropdownBehaviours", [
42145
- oi,
42145
+ ni,
42146
42146
  ko,
42147
42147
  Yo
42148
42148
  ]),
@@ -42252,8 +42252,8 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
42252
42252
  ]
42253
42253
  },
42254
42254
  events: P,
42255
- behaviours: ni(t.splitDropdownBehaviours, [
42256
- oi.config({
42255
+ behaviours: ti(t.splitDropdownBehaviours, [
42256
+ ni.config({
42257
42257
  others: {
42258
42258
  sandbox: (W) => {
42259
42259
  const se = jf(W, t, "arrow");
@@ -43045,7 +43045,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
43045
43045
  "tox-icon",
43046
43046
  "tox-lock-icon__" + It
43047
43047
  ]
43048
- }, a.icons), se = () => !N, ge = t.label.getOr("Constrain proportions"), _e = a.translate(ge), Be = si.parts.lock({
43048
+ }, a.icons), se = () => !N, ge = t.label.getOr("Constrain proportions"), _e = a.translate(ge), Be = oi.parts.lock({
43049
43049
  dom: {
43050
43050
  tag: "button",
43051
43051
  classes: [
@@ -43118,10 +43118,10 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
43118
43118
  onEnter: (Jn) => rr(Jn.element, "input").fold(M.none, (ro) => (hc(ro), M.some(!0)))
43119
43119
  })
43120
43120
  ])
43121
- }), zt = ht(si.parts.field1(He([
43121
+ }), zt = ht(oi.parts.field1(He([
43122
43122
  Ns.parts.label(_t("Width:")),
43123
43123
  Ye(!0)
43124
- ]))), Xt = ht(si.parts.field2(He([
43124
+ ]))), Xt = ht(oi.parts.field2(He([
43125
43125
  Ns.parts.label(_t("Height:")),
43126
43126
  Ye(!1)
43127
43127
  ]))), qn = xo(j), so = [
@@ -43131,7 +43131,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
43131
43131
  }, qn),
43132
43132
  uf({ getApi: V }, qn, m)
43133
43133
  ];
43134
- return si.sketch({
43134
+ return oi.sketch({
43135
43135
  dom: {
43136
43136
  tag: "div",
43137
43137
  classes: ["tox-context-form__group"]
@@ -43167,16 +43167,16 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
43167
43167
  mo.config({
43168
43168
  disabled: se,
43169
43169
  onDisabled: (It) => {
43170
- si.getField1(It).bind(Ns.getField).each(mo.disable), si.getField2(It).bind(Ns.getField).each(mo.disable), si.getLock(It).each(mo.disable);
43170
+ oi.getField1(It).bind(Ns.getField).each(mo.disable), oi.getField2(It).bind(Ns.getField).each(mo.disable), oi.getLock(It).each(mo.disable);
43171
43171
  },
43172
43172
  onEnabled: (It) => {
43173
- si.getField1(It).bind(Ns.getField).each(mo.enable), si.getField2(It).bind(Ns.getField).each(mo.enable), si.getLock(It).each(mo.enable);
43173
+ oi.getField1(It).bind(Ns.getField).each(mo.enable), oi.getField2(It).bind(Ns.getField).each(mo.enable), oi.getLock(It).each(mo.enable);
43174
43174
  }
43175
43175
  }),
43176
43176
  gi(() => a.checkUiComponentContext("mode:design")),
43177
43177
  ss("size-input-toolbar-events2", [
43178
43178
  sn(P, (It, Jn) => {
43179
- const Un = Jn.event.isField1, ro = Un ? si.getField1(It) : si.getField2(It), Ss = Un ? si.getField2(It) : si.getField1(It), Ur = ro.map(to.getValue).getOr(""), Ys = Ss.map(to.getValue).getOr("");
43179
+ const Un = Jn.event.isField1, ro = Un ? oi.getField1(It) : oi.getField2(It), Ss = Un ? oi.getField2(It) : oi.getField1(It), Ur = ro.map(to.getValue).getOr(""), Ys = Ss.map(to.getValue).getOr("");
43180
43180
  E = a6(Ur, Ys);
43181
43181
  }),
43182
43182
  sn(HB, (It) => t.onInput(V(It))),
@@ -45515,7 +45515,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
45515
45515
  "aria-modal": "true"
45516
45516
  }
45517
45517
  },
45518
- behaviours: ni(t.modalBehaviours, [
45518
+ behaviours: ti(t.modalBehaviours, [
45519
45519
  ts.config({}),
45520
45520
  ko.config({
45521
45521
  mode: "cyclic",
@@ -45923,7 +45923,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
45923
45923
  };
45924
45924
  }
45925
45925
  });
45926
- const Zn = ti({
45926
+ const Zn = ei({
45927
45927
  fields: Vt,
45928
45928
  name: "reflecting",
45929
45929
  active: rt,
@@ -45977,7 +45977,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
45977
45977
  dom: t.dom,
45978
45978
  components: t.components,
45979
45979
  events: Xw(t.action),
45980
- behaviours: ni(t.tabButtonBehaviours, [
45980
+ behaviours: ti(t.tabButtonBehaviours, [
45981
45981
  Yo.config({}),
45982
45982
  ko.config({
45983
45983
  mode: "execution",
@@ -46056,7 +46056,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
46056
46056
  components: a,
46057
46057
  "debug.sketcher": "Tabbar",
46058
46058
  domModification: { attributes: { role: "tablist" } },
46059
- behaviours: ni(t.tabbarBehaviours, [
46059
+ behaviours: ti(t.tabbarBehaviours, [
46060
46060
  ke.config({
46061
46061
  highlightClass: t.markers.selectedClass,
46062
46062
  itemClass: t.markers.tabClass,
@@ -46082,7 +46082,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
46082
46082
  }), pi = (t, a) => ({
46083
46083
  uid: t.uid,
46084
46084
  dom: t.dom,
46085
- behaviours: ni(t.tabviewBehaviours, [ts.config({})]),
46085
+ behaviours: ti(t.tabviewBehaviours, [ts.config({})]),
46086
46086
  domModification: { attributes: { role: "tabpanel" } }
46087
46087
  }), El = ru({
46088
46088
  name: "Tabview",
@@ -47560,7 +47560,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
47560
47560
  je(g, (H, G) => {
47561
47561
  (y(H, G) ? T : $)(H, G);
47562
47562
  });
47563
- }, Pt = (g, y) => {
47563
+ }, Bt = (g, y) => {
47564
47564
  const T = {};
47565
47565
  return Et(g, y, Cn(T), q), T;
47566
47566
  }, vn = (g, y) => {
@@ -48957,7 +48957,7 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
48957
48957
  }))))), Wu = (g, y, T, $, H) => mC(g, H).bind((G) => CO(G, y, T).bind((de) => wd(de, $))), Dn = (g, y) => wg(g, y), EE = (g, y, T) => gC(g, y, T).bind(($) => {
48958
48958
  const H = (ke) => En(g, ke), G = "thead,tfoot,tbody,table", de = la($.first, G, H), Ee = la($.last, G, H);
48959
48959
  return de.bind((ke) => Ee.bind((at) => En(ke, at) ? wp($.table, $.first, $.last) : ce.none()));
48960
- }), ti = Ce, TE = (g) => {
48960
+ }), ei = Ce, TE = (g) => {
48961
48961
  const y = ($, H) => Xe($, H).exists((G) => parseInt(G, 10) > 1), T = ($) => y($, "rowspan") || y($, "colspan");
48962
48962
  return g.length > 0 && Gt(g, T) ? ce.some(g) : ce.none();
48963
48963
  }, kE = (g, y, T) => y.length <= 1 ? ce.none() : EE(g, T.firstSelectedSelector, T.lastSelectedSelector).map(($) => ({
@@ -48974,13 +48974,13 @@ The conflicting element is` + (Ge(se.element) ? " " : " not ") + "already in the
48974
48974
  element: T,
48975
48975
  mergable: kE(y, g, Eu),
48976
48976
  unmergable: TE(g),
48977
- selection: ti(g)
48977
+ selection: ei(g)
48978
48978
  }), AE = (g, y, T) => ({
48979
48979
  element: g,
48980
48980
  clipboard: y,
48981
48981
  generators: T
48982
48982
  }), Xa = (g, y, T, $) => ({
48983
- selection: ti(g),
48983
+ selection: ei(g),
48984
48984
  clipboard: T,
48985
48985
  generators: $
48986
48986
  }), Db = (g) => nl(g).bind((y) => Dn(y, Eu.firstSelectedSelector)).fold(j(g), (y) => y[0]), ec = (g) => (y, T) => {
@@ -50330,7 +50330,7 @@ Required: ` + y.join(", "));
50330
50330
  const io = Ve(Cg(g), By);
50331
50331
  if (io.length === 0)
50332
50332
  return;
50333
- const hr = Pt(Ho, (vr, Eo) => g.formatter.has(pn(Eo)) && v(vr));
50333
+ const hr = Bt(Ho, (vr, Eo) => g.formatter.has(pn(Eo)) && v(vr));
50334
50334
  dn(hr) || (je(hr, (vr, Eo) => {
50335
50335
  const zr = pn(Eo);
50336
50336
  me(io, (bc) => {
@@ -52240,7 +52240,7 @@ tinymce.addI18n("zh_CN", {
52240
52240
  }, dt = (ue, we) => {
52241
52241
  const ot = we === void 0 ? document : we.dom;
52242
52242
  return De(ot) ? Y.none() : Y.from(ot.querySelector(ue)).map(Z.fromDom);
52243
- }, je = (ue, we) => ue.dom === we.dom, yt = be, Nt = (ue, we, ot = q) => ue.exists((en) => ot(en, we)), Et = ((ue) => (we) => we.replace(ue, ""))(/^\s+|\s+$/g), Pt = (ue) => ue.style !== void 0 && R(ue.style.getPropertyValue), vn = (ue) => Z.fromDom(ue.dom.ownerDocument), Nn = (ue) => At(ue) ? ue : vn(ue), $o = (ue) => Y.from(ue.dom.parentNode).map(Z.fromDom), ao = (ue, we) => {
52243
+ }, je = (ue, we) => ue.dom === we.dom, yt = be, Nt = (ue, we, ot = q) => ue.exists((en) => ot(en, we)), Et = ((ue) => (we) => we.replace(ue, ""))(/^\s+|\s+$/g), Bt = (ue) => ue.style !== void 0 && R(ue.style.getPropertyValue), vn = (ue) => Z.fromDom(ue.dom.ownerDocument), Nn = (ue) => At(ue) ? ue : vn(ue), $o = (ue) => Y.from(ue.dom.parentNode).map(Z.fromDom), ao = (ue, we) => {
52244
52244
  const ot = R(we) ? we : te;
52245
52245
  let en = ue.dom;
52246
52246
  const zn = [];
@@ -52266,16 +52266,16 @@ tinymce.addI18n("zh_CN", {
52266
52266
  }, Ko = (ue, we, ot) => {
52267
52267
  if (!S(ot))
52268
52268
  throw console.error("Invalid call to CSS.set. Property ", we, ":: Value ", ot, ":: Element ", ue), new Error("CSS value must be a string: " + ot);
52269
- Pt(ue) && ue.style.setProperty(we, ot);
52269
+ Bt(ue) && ue.style.setProperty(we, ot);
52270
52270
  }, pr = (ue, we) => {
52271
- Pt(ue) && ue.style.removeProperty(we);
52271
+ Bt(ue) && ue.style.removeProperty(we);
52272
52272
  }, yr = (ue, we, ot) => {
52273
52273
  const en = ue.dom;
52274
52274
  Ko(en, we, ot);
52275
52275
  }, Jr = (ue, we) => {
52276
52276
  const ot = ue.dom, zn = window.getComputedStyle(ot).getPropertyValue(we);
52277
52277
  return zn === "" && !bn(ue) ? Qr(ot, we) : zn;
52278
- }, Qr = (ue, we) => Pt(ue) ? ue.style.getPropertyValue(we) : "", Fs = (ue, we) => {
52278
+ }, Qr = (ue, we) => Bt(ue) ? ue.style.getPropertyValue(we) : "", Fs = (ue, we) => {
52279
52279
  const ot = ue.dom, en = Qr(ot, we);
52280
52280
  return Y.from(en).filter((zn) => zn.length > 0);
52281
52281
  }, Wr = (ue, we) => {
@@ -55003,8 +55003,8 @@ tinymce.addI18n("zh_CN", {
55003
55003
  De.hasOwnProperty(yt) || (je[yt] = dt[yt]);
55004
55004
  }
55005
55005
  var Cn = Ie[Z];
55006
- return Ie[Z] = je, Me.languages.DFS(Me.languages, function(Et, Pt) {
55007
- Pt === Cn && Et != Z && (this[Et] = je);
55006
+ return Ie[Z] = je, Me.languages.DFS(Me.languages, function(Et, Bt) {
55007
+ Bt === Cn && Et != Z && (this[Et] = je);
55008
55008
  }), je;
55009
55009
  },
55010
55010
  DFS: function Z(be, De, Ie, dt) {
@@ -55043,8 +55043,8 @@ tinymce.addI18n("zh_CN", {
55043
55043
  grammar: dt,
55044
55044
  code: yt
55045
55045
  };
55046
- function Cn(Pt) {
55047
- Nt.highlightedCode = Pt, Me.hooks.run("before-insert", Nt), Nt.element.innerHTML = Nt.highlightedCode, Me.hooks.run("after-highlight", Nt), Me.hooks.run("complete", Nt), De && De.call(Nt.element);
55046
+ function Cn(Bt) {
55047
+ Nt.highlightedCode = Bt, Me.hooks.run("before-insert", Nt), Nt.element.innerHTML = Nt.highlightedCode, Me.hooks.run("after-highlight", Nt), Me.hooks.run("complete", Nt), De && De.call(Nt.element);
55048
55048
  }
55049
55049
  if (Me.hooks.run("before-sanity-check", Nt), je = Nt.element.parentElement, je && je.nodeName.toLowerCase() === "pre" && !je.hasAttribute("tabindex") && je.setAttribute("tabindex", "0"), !Nt.code) {
55050
55050
  Me.hooks.run("complete", Nt), De && De.call(Nt.element);
@@ -55056,8 +55056,8 @@ tinymce.addI18n("zh_CN", {
55056
55056
  }
55057
55057
  if (be && Ze.Worker) {
55058
55058
  var Et = new Worker(Me.filename);
55059
- Et.onmessage = function(Pt) {
55060
- Cn(Pt.data);
55059
+ Et.onmessage = function(Bt) {
55060
+ Cn(Bt.data);
55061
55061
  }, Et.postMessage(JSON.stringify({
55062
55062
  language: Nt.language,
55063
55063
  code: Nt.code,
@@ -55148,7 +55148,7 @@ tinymce.addI18n("zh_CN", {
55148
55148
  for (var Cn = 0; Cn < Nt.length; ++Cn) {
55149
55149
  if (je && je.cause == yt + "," + Cn)
55150
55150
  return;
55151
- var Et = Nt[Cn], Pt = Et.inside, vn = !!Et.lookbehind, Nn = !!Et.greedy, $o = Et.alias;
55151
+ var Et = Nt[Cn], Bt = Et.inside, vn = !!Et.lookbehind, Nn = !!Et.greedy, $o = Et.alias;
55152
55152
  if (Nn && !Et.pattern.global) {
55153
55153
  var ao = Et.pattern.toString().match(/[imsuy]*$/)[0];
55154
55154
  Et.pattern = RegExp(Et.pattern.source, ao + "g");
@@ -55176,7 +55176,7 @@ tinymce.addI18n("zh_CN", {
55176
55176
  je && Jr > je.reach && (je.reach = Jr);
55177
55177
  var Qr = dn.prev;
55178
55178
  pr && (Qr = xt(be, Qr, pr), fn += pr.length), Gt(be, Qr, Mo);
55179
- var Fs = new ct(yt, Pt ? Me.tokenize(Ko, Pt) : Ko, $o, Ko);
55179
+ var Fs = new ct(yt, Bt ? Me.tokenize(Ko, Bt) : Ko, $o, Ko);
55180
55180
  if (dn = xt(be, Qr, Fs), yr && xt(be, dn, yr), Mo > 1) {
55181
55181
  var Wr = {
55182
55182
  cause: yt + "," + Cn,
@@ -55643,7 +55643,7 @@ tinymce.addI18n("zh_CN", {
55643
55643
  }
55644
55644
  }
55645
55645
  });
55646
- var Et = Nt + "|" + yt, Pt = At(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source, [Et]), vn = bt(At(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [Pt]), 2), Nn = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, $o = At(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
55646
+ var Et = Nt + "|" + yt, Bt = At(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source, [Et]), vn = bt(At(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [Bt]), 2), Nn = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, $o = At(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
55647
55647
  le,
55648
55648
  vn
55649
55649
  ]);
@@ -55672,7 +55672,7 @@ tinymce.addI18n("zh_CN", {
55672
55672
  }
55673
55673
  }
55674
55674
  });
55675
- var ao = /:[^}\r\n]+/.source, $t = bt(At(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [Pt]), 2), dn = At(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
55675
+ var ao = /:[^}\r\n]+/.source, $t = bt(At(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [Bt]), 2), dn = At(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
55676
55676
  $t,
55677
55677
  ao
55678
55678
  ]), fn = bt(At(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source, [Et]), 2), Pn = At(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
@@ -56828,25 +56828,25 @@ tinymce.addI18n("zh_CN", {
56828
56828
  })();
56829
56829
  (function() {
56830
56830
  var o = tinymce.util.Tools.resolve("tinymce.PluginManager");
56831
- const s = (Et, Pt, vn) => {
56831
+ const s = (Et, Bt, vn) => {
56832
56832
  var Nn;
56833
- return vn(Et, Pt.prototype) ? !0 : ((Nn = Et.constructor) === null || Nn === void 0 ? void 0 : Nn.name) === Pt.name;
56833
+ return vn(Et, Bt.prototype) ? !0 : ((Nn = Et.constructor) === null || Nn === void 0 ? void 0 : Nn.name) === Bt.name;
56834
56834
  }, i = (Et) => {
56835
- const Pt = typeof Et;
56836
- return Et === null ? "null" : Pt === "object" && Array.isArray(Et) ? "array" : Pt === "object" && s(Et, String, (vn, Nn) => Nn.isPrototypeOf(vn)) ? "string" : Pt;
56837
- }, u = (Et) => (Pt) => i(Pt) === Et, f = (Et) => (Pt) => typeof Pt === Et, p = u("string"), v = f("boolean"), w = (Et) => Et == null, S = (Et) => !w(Et), _ = f("function"), A = f("number"), O = (Et, Pt) => (vn) => Et(Pt(vn)), F = ((Et) => () => Et)(!1);
56835
+ const Bt = typeof Et;
56836
+ return Et === null ? "null" : Bt === "object" && Array.isArray(Et) ? "array" : Bt === "object" && s(Et, String, (vn, Nn) => Nn.isPrototypeOf(vn)) ? "string" : Bt;
56837
+ }, u = (Et) => (Bt) => i(Bt) === Et, f = (Et) => (Bt) => typeof Bt === Et, p = u("string"), v = f("boolean"), w = (Et) => Et == null, S = (Et) => !w(Et), _ = f("function"), A = f("number"), O = (Et, Bt) => (vn) => Et(Bt(vn)), F = ((Et) => () => Et)(!1);
56838
56838
  class U {
56839
- constructor(Pt, vn) {
56840
- this.tag = Pt, this.value = vn;
56839
+ constructor(Bt, vn) {
56840
+ this.tag = Bt, this.value = vn;
56841
56841
  }
56842
- static some(Pt) {
56843
- return new U(!0, Pt);
56842
+ static some(Bt) {
56843
+ return new U(!0, Bt);
56844
56844
  }
56845
56845
  static none() {
56846
56846
  return U.singletonNone;
56847
56847
  }
56848
- fold(Pt, vn) {
56849
- return this.tag ? vn(this.value) : Pt();
56848
+ fold(Bt, vn) {
56849
+ return this.tag ? vn(this.value) : Bt();
56850
56850
  }
56851
56851
  isSome() {
56852
56852
  return this.tag;
@@ -56854,40 +56854,40 @@ tinymce.addI18n("zh_CN", {
56854
56854
  isNone() {
56855
56855
  return !this.tag;
56856
56856
  }
56857
- map(Pt) {
56858
- return this.tag ? U.some(Pt(this.value)) : U.none();
56857
+ map(Bt) {
56858
+ return this.tag ? U.some(Bt(this.value)) : U.none();
56859
56859
  }
56860
- bind(Pt) {
56861
- return this.tag ? Pt(this.value) : U.none();
56860
+ bind(Bt) {
56861
+ return this.tag ? Bt(this.value) : U.none();
56862
56862
  }
56863
- exists(Pt) {
56864
- return this.tag && Pt(this.value);
56863
+ exists(Bt) {
56864
+ return this.tag && Bt(this.value);
56865
56865
  }
56866
- forall(Pt) {
56867
- return !this.tag || Pt(this.value);
56866
+ forall(Bt) {
56867
+ return !this.tag || Bt(this.value);
56868
56868
  }
56869
- filter(Pt) {
56870
- return !this.tag || Pt(this.value) ? this : U.none();
56869
+ filter(Bt) {
56870
+ return !this.tag || Bt(this.value) ? this : U.none();
56871
56871
  }
56872
- getOr(Pt) {
56873
- return this.tag ? this.value : Pt;
56872
+ getOr(Bt) {
56873
+ return this.tag ? this.value : Bt;
56874
56874
  }
56875
- or(Pt) {
56876
- return this.tag ? this : Pt;
56875
+ or(Bt) {
56876
+ return this.tag ? this : Bt;
56877
56877
  }
56878
- getOrThunk(Pt) {
56879
- return this.tag ? this.value : Pt();
56878
+ getOrThunk(Bt) {
56879
+ return this.tag ? this.value : Bt();
56880
56880
  }
56881
- orThunk(Pt) {
56882
- return this.tag ? this : Pt();
56881
+ orThunk(Bt) {
56882
+ return this.tag ? this : Bt();
56883
56883
  }
56884
- getOrDie(Pt) {
56884
+ getOrDie(Bt) {
56885
56885
  if (this.tag)
56886
56886
  return this.value;
56887
- throw new Error(Pt ?? "Called getOrDie on None");
56887
+ throw new Error(Bt ?? "Called getOrDie on None");
56888
56888
  }
56889
- static from(Pt) {
56890
- return S(Pt) ? U.some(Pt) : U.none();
56889
+ static from(Bt) {
56890
+ return S(Bt) ? U.some(Bt) : U.none();
56891
56891
  }
56892
56892
  getOrNull() {
56893
56893
  return this.tag ? this.value : null;
@@ -56895,8 +56895,8 @@ tinymce.addI18n("zh_CN", {
56895
56895
  getOrUndefined() {
56896
56896
  return this.value;
56897
56897
  }
56898
- each(Pt) {
56899
- this.tag && Pt(this.value);
56898
+ each(Bt) {
56899
+ this.tag && Bt(this.value);
56900
56900
  }
56901
56901
  toArray() {
56902
56902
  return this.tag ? [this.value] : [];
@@ -56906,37 +56906,37 @@ tinymce.addI18n("zh_CN", {
56906
56906
  }
56907
56907
  }
56908
56908
  U.singletonNone = new U(!1);
56909
- const X = (Et, Pt) => {
56909
+ const X = (Et, Bt) => {
56910
56910
  const vn = Et.length, Nn = new Array(vn);
56911
56911
  for (let $o = 0; $o < vn; $o++) {
56912
56912
  const ao = Et[$o];
56913
- Nn[$o] = Pt(ao, $o);
56913
+ Nn[$o] = Bt(ao, $o);
56914
56914
  }
56915
56915
  return Nn;
56916
- }, q = (Et, Pt) => {
56916
+ }, q = (Et, Bt) => {
56917
56917
  for (let vn = 0, Nn = Et.length; vn < Nn; vn++) {
56918
56918
  const $o = Et[vn];
56919
- Pt($o, vn);
56919
+ Bt($o, vn);
56920
56920
  }
56921
- }, te = (Et, Pt) => {
56921
+ }, te = (Et, Bt) => {
56922
56922
  const vn = [];
56923
56923
  for (let Nn = 0, $o = Et.length; Nn < $o; Nn++) {
56924
56924
  const ao = Et[Nn];
56925
- Pt(ao, Nn) && vn.push(ao);
56925
+ Bt(ao, Nn) && vn.push(ao);
56926
56926
  }
56927
56927
  return vn;
56928
- }, Y = 11, j = 1, Ce = 3, ut = (Et, Pt) => {
56929
- const Nn = (Pt || document).createElement("div");
56928
+ }, Y = 11, j = 1, Ce = 3, ut = (Et, Bt) => {
56929
+ const Nn = (Bt || document).createElement("div");
56930
56930
  if (Nn.innerHTML = Et, !Nn.hasChildNodes() || Nn.childNodes.length > 1) {
56931
56931
  const $o = "HTML does not have a single root node";
56932
56932
  throw console.error($o, Et), new Error($o);
56933
56933
  }
56934
56934
  return We(Nn.childNodes[0]);
56935
- }, Fe = (Et, Pt) => {
56936
- const Nn = (Pt || document).createElement(Et);
56935
+ }, Fe = (Et, Bt) => {
56936
+ const Nn = (Bt || document).createElement(Et);
56937
56937
  return We(Nn);
56938
- }, ee = (Et, Pt) => {
56939
- const Nn = (Pt || document).createTextNode(Et);
56938
+ }, ee = (Et, Bt) => {
56939
+ const Nn = (Bt || document).createTextNode(Et);
56940
56940
  return We(Nn);
56941
56941
  }, We = (Et) => {
56942
56942
  if (Et == null)
@@ -56947,60 +56947,60 @@ tinymce.addI18n("zh_CN", {
56947
56947
  fromTag: Fe,
56948
56948
  fromText: ee,
56949
56949
  fromDom: We,
56950
- fromPoint: (Et, Pt, vn) => U.from(Et.dom.elementFromPoint(Pt, vn)).map(We)
56951
- }, Oe = (Et, Pt) => {
56950
+ fromPoint: (Et, Bt, vn) => U.from(Et.dom.elementFromPoint(Bt, vn)).map(We)
56951
+ }, Oe = (Et, Bt) => {
56952
56952
  const vn = Et.dom;
56953
56953
  if (vn.nodeType !== j)
56954
56954
  return !1;
56955
56955
  {
56956
56956
  const Nn = vn;
56957
56957
  if (Nn.matches !== void 0)
56958
- return Nn.matches(Pt);
56958
+ return Nn.matches(Bt);
56959
56959
  if (Nn.msMatchesSelector !== void 0)
56960
- return Nn.msMatchesSelector(Pt);
56960
+ return Nn.msMatchesSelector(Bt);
56961
56961
  if (Nn.webkitMatchesSelector !== void 0)
56962
- return Nn.webkitMatchesSelector(Pt);
56962
+ return Nn.webkitMatchesSelector(Bt);
56963
56963
  if (Nn.mozMatchesSelector !== void 0)
56964
- return Nn.mozMatchesSelector(Pt);
56964
+ return Nn.mozMatchesSelector(Bt);
56965
56965
  throw new Error("Browser lacks native selectors");
56966
56966
  }
56967
56967
  };
56968
56968
  typeof window < "u" || Function("return this;")();
56969
- const ce = (Et) => Et.dom.nodeName.toLowerCase(), Lt = (Et) => Et.dom.nodeType, ve = (Et) => (Pt) => Lt(Pt) === Et, $e = ve(j), M = ve(Ce), Ue = ve(Y), he = (Et) => (Pt) => $e(Pt) && ce(Pt) === Et, nt = (Et) => U.from(Et.dom.parentNode).map(ft.fromDom), tt = (Et) => X(Et.dom.childNodes, ft.fromDom), me = (Et, Pt, vn) => {
56969
+ const ce = (Et) => Et.dom.nodeName.toLowerCase(), Lt = (Et) => Et.dom.nodeType, ve = (Et) => (Bt) => Lt(Bt) === Et, $e = ve(j), M = ve(Ce), Ue = ve(Y), he = (Et) => (Bt) => $e(Bt) && ce(Bt) === Et, nt = (Et) => U.from(Et.dom.parentNode).map(ft.fromDom), tt = (Et) => X(Et.dom.childNodes, ft.fromDom), me = (Et, Bt, vn) => {
56970
56970
  if (p(vn) || v(vn) || A(vn))
56971
- Et.setAttribute(Pt, vn + "");
56971
+ Et.setAttribute(Bt, vn + "");
56972
56972
  else
56973
- throw console.error("Invalid call to Attribute.set. Key ", Pt, ":: Value ", vn, ":: Element ", Et), new Error("Attribute value was not simple");
56974
- }, Ze = (Et, Pt, vn) => {
56975
- me(Et.dom, Pt, vn);
56976
- }, At = (Et, Pt) => {
56977
- Et.dom.removeAttribute(Pt);
56973
+ throw console.error("Invalid call to Attribute.set. Key ", Bt, ":: Value ", vn, ":: Element ", Et), new Error("Attribute value was not simple");
56974
+ }, Ze = (Et, Bt, vn) => {
56975
+ me(Et.dom, Bt, vn);
56976
+ }, At = (Et, Bt) => {
56977
+ Et.dom.removeAttribute(Bt);
56978
56978
  }, Ve = (Et) => Ue(Et) && S(Et.dom.host), bt = (Et) => ft.fromDom(Et.dom.getRootNode()), Me = (Et) => {
56979
- const Pt = bt(Et);
56980
- return Ve(Pt) ? U.some(Pt) : U.none();
56979
+ const Bt = bt(Et);
56980
+ return Ve(Bt) ? U.some(Bt) : U.none();
56981
56981
  }, ct = (Et) => ft.fromDom(Et.dom.host), ne = (Et) => {
56982
- const Pt = M(Et) ? Et.dom.parentNode : Et.dom;
56983
- if (Pt == null || Pt.ownerDocument === null)
56982
+ const Bt = M(Et) ? Et.dom.parentNode : Et.dom;
56983
+ if (Bt == null || Bt.ownerDocument === null)
56984
56984
  return !1;
56985
- const vn = Pt.ownerDocument;
56986
- return Me(ft.fromDom(Pt)).fold(() => vn.body.contains(Pt), O(ne, ct));
56987
- }, wn = (Et, Pt, vn) => {
56985
+ const vn = Bt.ownerDocument;
56986
+ return Me(ft.fromDom(Bt)).fold(() => vn.body.contains(Bt), O(ne, ct));
56987
+ }, wn = (Et, Bt, vn) => {
56988
56988
  let Nn = Et.dom;
56989
56989
  const $o = _(vn) ? vn : F;
56990
56990
  for (; Nn.parentNode; ) {
56991
56991
  Nn = Nn.parentNode;
56992
56992
  const ao = ft.fromDom(Nn);
56993
- if (Pt(ao))
56993
+ if (Bt(ao))
56994
56994
  return U.some(ao);
56995
56995
  if ($o(ao))
56996
56996
  break;
56997
56997
  }
56998
56998
  return U.none();
56999
- }, pt = (Et, Pt, vn) => wn(Et, (Nn) => Oe(Nn, Pt), vn), xt = (Et) => Et.style !== void 0 && _(Et.style.getPropertyValue), Gt = (Et, Pt) => {
57000
- const vn = Et.dom, $o = window.getComputedStyle(vn).getPropertyValue(Pt);
57001
- return $o === "" && !ne(Et) ? St(vn, Pt) : $o;
57002
- }, St = (Et, Pt) => xt(Et) ? Et.style.getPropertyValue(Pt) : "", J = (Et) => Gt(Et, "direction") === "rtl" ? "rtl" : "ltr", ae = (Et, Pt) => te(tt(Et), Pt), le = (Et, Pt) => ae(Et, (vn) => Oe(vn, Pt)), Z = (Et) => nt(Et).filter($e), be = (Et, Pt) => (Pt ? pt(Et, "ol,ul") : U.some(Et)).getOr(Et), De = he("li"), Ie = (Et, Pt, vn) => {
57003
- q(Pt, (Nn) => {
56999
+ }, pt = (Et, Bt, vn) => wn(Et, (Nn) => Oe(Nn, Bt), vn), xt = (Et) => Et.style !== void 0 && _(Et.style.getPropertyValue), Gt = (Et, Bt) => {
57000
+ const vn = Et.dom, $o = window.getComputedStyle(vn).getPropertyValue(Bt);
57001
+ return $o === "" && !ne(Et) ? St(vn, Bt) : $o;
57002
+ }, St = (Et, Bt) => xt(Et) ? Et.style.getPropertyValue(Bt) : "", J = (Et) => Gt(Et, "direction") === "rtl" ? "rtl" : "ltr", ae = (Et, Bt) => te(tt(Et), Bt), le = (Et, Bt) => ae(Et, (vn) => Oe(vn, Bt)), Z = (Et) => nt(Et).filter($e), be = (Et, Bt) => (Bt ? pt(Et, "ol,ul") : U.some(Et)).getOr(Et), De = he("li"), Ie = (Et, Bt, vn) => {
57003
+ q(Bt, (Nn) => {
57004
57004
  const $o = ft.fromDom(Nn), ao = De($o), $t = be($o, ao);
57005
57005
  Z($t).each((fn) => {
57006
57006
  if (Et.setStyle($t.dom, "direction", null), J(fn) === vn ? At($t, "dir") : Ze($t, "dir", vn), J($t) !== vn && Et.setStyle($t.dom, "direction", vn), ao) {
@@ -57011,18 +57011,18 @@ tinymce.addI18n("zh_CN", {
57011
57011
  }
57012
57012
  });
57013
57013
  });
57014
- }, dt = (Et, Pt) => {
57015
- Et.selection.isEditable() && (Ie(Et.dom, Et.selection.getSelectedBlocks(), Pt), Et.nodeChanged());
57014
+ }, dt = (Et, Bt) => {
57015
+ Et.selection.isEditable() && (Ie(Et.dom, Et.selection.getSelectedBlocks(), Bt), Et.nodeChanged());
57016
57016
  }, je = (Et) => {
57017
57017
  Et.addCommand("mceDirectionLTR", () => {
57018
57018
  dt(Et, "ltr");
57019
57019
  }), Et.addCommand("mceDirectionRTL", () => {
57020
57020
  dt(Et, "rtl");
57021
57021
  });
57022
- }, yt = (Et, Pt) => (vn) => {
57022
+ }, yt = (Et, Bt) => (vn) => {
57023
57023
  const Nn = ($o) => {
57024
57024
  const ao = ft.fromDom($o.element);
57025
- vn.setActive(J(ao) === Pt), vn.setEnabled(Et.selection.isEditable());
57025
+ vn.setActive(J(ao) === Bt), vn.setEnabled(Et.selection.isEditable());
57026
57026
  };
57027
57027
  return Et.on("NodeChange", Nn), vn.setEnabled(Et.selection.isEditable()), () => Et.off("NodeChange", Nn);
57028
57028
  }, Nt = (Et) => {
@@ -57266,7 +57266,7 @@ tinymce.addI18n("zh_CN", {
57266
57266
  console.log(`Failed to load emojis: ${ao}`), dt.set({}), je.set([]);
57267
57267
  });
57268
57268
  });
57269
- const Et = (ao) => ao === At ? Pt() : dt.get().bind(($t) => _.from($t[ao])).getOr([]), Pt = () => je.get().getOr([]), vn = () => [At].concat(q(dt.get().getOr({}))), Nn = () => $o() ? Promise.resolve(!0) : new Promise((ao, $t) => {
57269
+ const Et = (ao) => ao === At ? Bt() : dt.get().bind(($t) => _.from($t[ao])).getOr([]), Bt = () => je.get().getOr([]), vn = () => [At].concat(q(dt.get().getOr({}))), Nn = () => $o() ? Promise.resolve(!0) : new Promise((ao, $t) => {
57270
57270
  let dn = 15;
57271
57271
  const fn = setInterval(() => {
57272
57272
  $o() ? (clearInterval(fn), ao(!0)) : (dn--, dn < 0 && (console.log("Could not load emojis from url: " + De), clearInterval(fn), $t(!1)));
@@ -57276,7 +57276,7 @@ tinymce.addI18n("zh_CN", {
57276
57276
  listCategories: vn,
57277
57277
  hasLoaded: $o,
57278
57278
  waitForLoad: Nn,
57279
- listAll: Pt,
57279
+ listAll: Bt,
57280
57280
  listCategory: Et
57281
57281
  };
57282
57282
  }, ne = (be, De) => ce(be.title.toLowerCase(), De) || A(be.keywords, (Ie) => ce(Ie.toLowerCase(), De)), wn = (be, De, Ie) => {
@@ -57331,11 +57331,11 @@ tinymce.addI18n("zh_CN", {
57331
57331
  text: "Close",
57332
57332
  primary: !0
57333
57333
  }]
57334
- }), Pt = be.windowManager.open(Et());
57335
- Pt.focus(pt), De.hasLoaded() || (Pt.block("Loading emojis..."), De.waitForLoad().then(() => {
57336
- Pt.redial(Et()), yt.throttle(Pt), Pt.focus(pt), Pt.unblock();
57334
+ }), Bt = be.windowManager.open(Et());
57335
+ Bt.focus(pt), De.hasLoaded() || (Bt.block("Loading emojis..."), De.waitForLoad().then(() => {
57336
+ Bt.redial(Et()), yt.throttle(Bt), Bt.focus(pt), Bt.unblock();
57337
57337
  }).catch((vn) => {
57338
- Pt.redial({
57338
+ Bt.redial({
57339
57339
  title: "Emojis",
57340
57340
  body: {
57341
57341
  type: "panel",
@@ -57355,7 +57355,7 @@ tinymce.addI18n("zh_CN", {
57355
57355
  pattern: "",
57356
57356
  results: []
57357
57357
  }
57358
- }), Pt.focus(pt), Pt.unblock();
57358
+ }), Bt.focus(pt), Bt.unblock();
57359
57359
  }));
57360
57360
  }, Gt = (be, De) => {
57361
57361
  be.addCommand("mceEmoticons", () => xt(be, De));
@@ -57607,7 +57607,7 @@ tinymce.addI18n("zh_CN", {
57607
57607
  Ne.setAttribute(Pe, Mt + "");
57608
57608
  else
57609
57609
  throw console.error("Invalid call to Attribute.set. Key ", Pe, ":: Value ", Mt, ":: Element ", Ne), new Error("Attribute value was not simple");
57610
- }, Pt = (Ne, Pe, Mt) => {
57610
+ }, Bt = (Ne, Pe, Mt) => {
57611
57611
  Et(Ne.dom, Pe, Mt);
57612
57612
  }, vn = (Ne, Pe) => {
57613
57613
  const Mt = Ne.dom.getAttribute(Pe);
@@ -57999,7 +57999,7 @@ tinymce.addI18n("zh_CN", {
57999
57999
  }, Ii = (Ne, Pe, Mt) => {
58000
58000
  const an = (yl) => xs(yl, "*:not(.tox-silver-sink)"), _o = (yl) => (Bi) => {
58001
58001
  const Gr = vn(Bi, "style"), Ca = Gr === void 0 ? "no-styles" : Gr.trim();
58002
- Ca !== yl && (Pt(Bi, ga, Ca), Pr(Bi, Ne.parseStyle(yl)));
58002
+ Ca !== yl && (Bt(Bi, ga, Ca), Pr(Bi, Ne.parseStyle(yl)));
58003
58003
  }, ks = Rn(Pe, "*"), hs = Ue(ks, an), Sr = Cs(Mt);
58004
58004
  ce(hs, _o(rn)), ce(ks, _o(Aa + Qs + Sr)), _o((la === !0 ? "" : Aa) + Qs + Sr)(Pe);
58005
58005
  }, Ga = (Ne) => {
@@ -58126,8 +58126,8 @@ tinymce.addI18n("zh_CN", {
58126
58126
  return u++, je + "_" + Cn + u + String(Nt);
58127
58127
  }, p = (je) => ({ addTab: (Nt) => {
58128
58128
  var Cn;
58129
- const Et = (Cn = Nt.name) !== null && Cn !== void 0 ? Cn : f("tab-name"), Pt = je.get();
58130
- Pt[Et] = Nt, je.set(Pt);
58129
+ const Et = (Cn = Nt.name) !== null && Cn !== void 0 ? Cn : f("tab-name"), Bt = je.get();
58130
+ Bt[Et] = Nt, je.set(Bt);
58131
58131
  } }), v = (je, yt) => {
58132
58132
  je.addCommand("mceHelp", yt);
58133
58133
  }, w = (je) => (yt) => yt.options.get(je), S = (je) => {
@@ -58227,23 +58227,23 @@ tinymce.addI18n("zh_CN", {
58227
58227
  const gt = Array.prototype.slice, ft = Array.prototype.indexOf, Oe = (je, yt) => ft.call(je, yt), ce = (je, yt) => Oe(je, yt) > -1, Lt = (je, yt) => {
58228
58228
  const Nt = je.length, Cn = new Array(Nt);
58229
58229
  for (let Et = 0; Et < Nt; Et++) {
58230
- const Pt = je[Et];
58231
- Cn[Et] = yt(Pt, Et);
58230
+ const Bt = je[Et];
58231
+ Cn[Et] = yt(Bt, Et);
58232
58232
  }
58233
58233
  return Cn;
58234
58234
  }, ve = (je, yt) => {
58235
58235
  const Nt = [];
58236
58236
  for (let Cn = 0, Et = je.length; Cn < Et; Cn++) {
58237
- const Pt = je[Cn];
58238
- yt(Pt, Cn) && Nt.push(Pt);
58237
+ const Bt = je[Cn];
58238
+ yt(Bt, Cn) && Nt.push(Bt);
58239
58239
  }
58240
58240
  return Nt;
58241
58241
  }, $e = (je, yt, Nt) => {
58242
58242
  for (let Cn = 0, Et = je.length; Cn < Et; Cn++) {
58243
- const Pt = je[Cn];
58244
- if (yt(Pt, Cn))
58245
- return We.some(Pt);
58246
- if (Nt(Pt, Cn))
58243
+ const Bt = je[Cn];
58244
+ if (yt(Bt, Cn))
58245
+ return We.some(Bt);
58246
+ if (Nt(Bt, Cn))
58247
58247
  break;
58248
58248
  }
58249
58249
  return We.none();
@@ -58283,7 +58283,7 @@ tinymce.addI18n("zh_CN", {
58283
58283
  } : {
58284
58284
  meta: "Ctrl ",
58285
58285
  access: "Shift + Alt "
58286
- }, Pt = je.split("+"), vn = Lt(Pt, (Nn) => {
58286
+ }, Bt = je.split("+"), vn = Lt(Bt, (Nn) => {
58287
58287
  const $o = Nn.toLowerCase().trim();
58288
58288
  return me(Et, $o) ? Et[$o] : Nn;
58289
58289
  });
@@ -58734,11 +58734,11 @@ tinymce.addI18n("zh_CN", {
58734
58734
  name: fn,
58735
58735
  html: Pn
58736
58736
  };
58737
- }), Pt = (ao) => {
58737
+ }), Bt = (ao) => {
58738
58738
  const $t = he(ao.plugins), dn = A(ao);
58739
58739
  return Y(dn) ? $t : ve($t, (fn) => !ce(dn, fn));
58740
58740
  }, vn = (ao) => {
58741
- const $t = Pt(ao), dn = Ue(Lt($t, (Ds) => Et(ao, Ds)), (Ds, To) => Ds.name.localeCompare(To.name)), fn = Lt(dn, (Ds) => "<li>" + Ds.html + "</li>"), Pn = fn.length, Mo = fn.join("");
58741
+ const $t = Bt(ao), dn = Ue(Lt($t, (Ds) => Et(ao, Ds)), (Ds, To) => Ds.name.localeCompare(To.name)), fn = Lt(dn, (Ds) => "<li>" + Ds.html + "</li>"), Pn = fn.length, Mo = fn.join("");
58742
58742
  return "<p><b>" + Ve.translate([
58743
58743
  "Plugins installed ({0}):",
58744
58744
  Pn
@@ -58759,7 +58759,7 @@ tinymce.addI18n("zh_CN", {
58759
58759
  };
58760
58760
  var ae = tinymce.util.Tools.resolve("tinymce.EditorManager");
58761
58761
  const le = () => {
58762
- const Nt = '<a data-alloy-tabstop="true" tabindex="-1" href="https://www.tiny.cloud/docs/tinymce/7/changelog/?utm_campaign=help_dialog_version_tab&utm_source=tiny&utm_medium=referral" rel="noopener" target="_blank">TinyMCE ' + ((Et, Pt) => Et.indexOf("@") === 0 ? "X.X.X" : Et + "." + Pt)(ae.majorVersion, ae.minorVersion) + "</a>";
58762
+ const Nt = '<a data-alloy-tabstop="true" tabindex="-1" href="https://www.tiny.cloud/docs/tinymce/7/changelog/?utm_campaign=help_dialog_version_tab&utm_source=tiny&utm_medium=referral" rel="noopener" target="_blank">TinyMCE ' + ((Et, Bt) => Et.indexOf("@") === 0 ? "X.X.X" : Et + "." + Bt)(ae.majorVersion, ae.minorVersion) + "</a>";
58763
58763
  return {
58764
58764
  name: "versions",
58765
58765
  title: "Version",
@@ -58774,11 +58774,11 @@ tinymce.addI18n("zh_CN", {
58774
58774
  };
58775
58775
  }, Z = (je, yt) => {
58776
58776
  const Nt = {}, Cn = Lt(je, (Et) => {
58777
- var Pt;
58777
+ var Bt;
58778
58778
  if (te(Et))
58779
58779
  return me(yt, Et) && (Nt[Et] = yt[Et]), Et;
58780
58780
  {
58781
- const vn = (Pt = Et.name) !== null && Pt !== void 0 ? Pt : f("tab-name");
58781
+ const vn = (Bt = Et.name) !== null && Bt !== void 0 ? Bt : f("tab-name");
58782
58782
  return Nt[vn] = Et, vn;
58783
58783
  }
58784
58784
  });
@@ -58793,19 +58793,19 @@ tinymce.addI18n("zh_CN", {
58793
58793
  names: yt
58794
58794
  };
58795
58795
  }, De = async (je, yt, Nt) => {
58796
- const Cn = Gt(), Et = await ne(Nt), Pt = J(je), vn = le(), Nn = {
58796
+ const Cn = Gt(), Et = await ne(Nt), Bt = J(je), vn = le(), Nn = {
58797
58797
  [Cn.name]: Cn,
58798
58798
  [Et.name]: Et,
58799
- [Pt.name]: Pt,
58799
+ [Bt.name]: Bt,
58800
58800
  [vn.name]: vn,
58801
58801
  ...yt.get()
58802
58802
  };
58803
58803
  return We.from(_(je)).fold(() => be(Nn), ($o) => Z($o, Nn));
58804
58804
  }, Ie = (je, yt, Nt) => () => {
58805
58805
  De(je, yt, Nt).then(({ tabs: Cn, names: Et }) => {
58806
- const Pt = Lt(Et, ($o) => tt(Cn, $o)), Nn = {
58806
+ const Bt = Lt(Et, ($o) => tt(Cn, $o)), Nn = {
58807
58807
  type: "tabpanel",
58808
- tabs: Ze(Pt)
58808
+ tabs: Ze(Bt)
58809
58809
  };
58810
58810
  je.windowManager.open({
58811
58811
  title: "Help",
@@ -59037,7 +59037,7 @@ tinymce.addI18n("zh_CN", {
59037
59037
  });
59038
59038
  const Mn = Ke.style;
59039
59039
  Mn.visibility = "hidden", Mn.position = "fixed", Mn.bottom = Mn.left = "0px", Mn.width = Mn.height = "auto", document.body.appendChild(Ke), Ke.src = re;
59040
- }), Pt = (re) => (re && (re = re.replace(/px$/, "")), re), vn = (re) => (re.length > 0 && /^[0-9]+$/.test(re) && (re += "px"), re), Nn = (re) => {
59040
+ }), Bt = (re) => (re && (re = re.replace(/px$/, "")), re), vn = (re) => (re.length > 0 && /^[0-9]+$/.test(re) && (re += "px"), re), Nn = (re) => {
59041
59041
  if (re.margin) {
59042
59042
  const ye = String(re.margin).split(" ");
59043
59043
  switch (ye.length) {
@@ -59086,7 +59086,7 @@ tinymce.addI18n("zh_CN", {
59086
59086
  allow_script_urls: Ke("allow_script_urls"),
59087
59087
  allow_svg_data_urls: Ke("allow_svg_data_urls")
59088
59088
  });
59089
- }, Pn = ct.DOM, Mo = (re) => re.style.marginLeft && re.style.marginRight && re.style.marginLeft === re.style.marginRight ? Pt(re.style.marginLeft) : "", Vo = (re) => re.style.marginTop && re.style.marginBottom && re.style.marginTop === re.style.marginBottom ? Pt(re.style.marginTop) : "", Ds = (re) => re.style.borderWidth ? Pt(re.style.borderWidth) : "", To = (re, ye) => {
59089
+ }, Pn = ct.DOM, Mo = (re) => re.style.marginLeft && re.style.marginRight && re.style.marginLeft === re.style.marginRight ? Bt(re.style.marginLeft) : "", Vo = (re) => re.style.marginTop && re.style.marginBottom && re.style.marginTop === re.style.marginBottom ? Bt(re.style.marginTop) : "", Ds = (re) => re.style.borderWidth ? Bt(re.style.borderWidth) : "", To = (re, ye) => {
59090
59090
  var Ke;
59091
59091
  return re.hasAttribute(ye) && (Ke = re.getAttribute(ye)) !== null && Ke !== void 0 ? Ke : "";
59092
59092
  }, nr = (re) => re.parentNode !== null && re.parentNode.nodeName === "FIGURE", bn = (re, ye, Ke) => {
@@ -59105,7 +59105,7 @@ tinymce.addI18n("zh_CN", {
59105
59105
  }, Qr = (re, ye) => (Ke, Ot, Mn) => {
59106
59106
  const Rn = Ke.style;
59107
59107
  Rn[Ot] ? (Rn[Ot] = vn(Mn), Jr(Ke, ye)) : bn(Ke, Ot, Mn);
59108
- }, Fs = (re, ye) => re.style[ye] ? Pt(re.style[ye]) : To(re, ye), Wr = (re, ye) => {
59108
+ }, Fs = (re, ye) => re.style[ye] ? Bt(re.style[ye]) : To(re, ye), Wr = (re, ye) => {
59109
59109
  const Ke = vn(ye);
59110
59110
  re.style.marginLeft = Ke, re.style.marginRight = Ke;
59111
59111
  }, ma = (re, ye) => {
@@ -60169,9 +60169,9 @@ tinymce.addI18n("zh_CN", {
60169
60169
  }, Et = (Se, Ge) => {
60170
60170
  const mt = ["noopener"], tn = Se ? Se.split(/\s+/) : [], ue = (zn) => Ie.trim(zn.sort().join(" ")), we = (zn) => (zn = ot(zn), zn.length > 0 ? zn.concat(mt) : mt), ot = (zn) => zn.filter((re) => Ie.inArray(mt, re) === -1), en = Ge ? we(tn) : ot(tn);
60171
60171
  return en.length > 0 ? ue(en) : "";
60172
- }, Pt = (Se) => Se.replace(/\uFEFF/g, ""), vn = (Se, Ge) => (Ge = Ge || ao(Se.selection.getRng())[0] || Se.selection.getNode(), Mo(Ge) ? Y.from(Se.dom.select("a[href]", Ge)[0]) : Y.from(Se.dom.getParent(Ge, "a[href]"))), Nn = (Se, Ge) => vn(Se, Ge).isSome(), $o = (Se, Ge) => {
60172
+ }, Bt = (Se) => Se.replace(/\uFEFF/g, ""), vn = (Se, Ge) => (Ge = Ge || ao(Se.selection.getRng())[0] || Se.selection.getNode(), Mo(Ge) ? Y.from(Se.dom.select("a[href]", Ge)[0]) : Y.from(Se.dom.getParent(Ge, "a[href]"))), Nn = (Se, Ge) => vn(Se, Ge).isSome(), $o = (Se, Ge) => {
60173
60173
  const mt = Ge.fold(() => Se.getContent({ format: "text" }), (tn) => tn.innerText || tn.textContent || "");
60174
- return Pt(mt);
60174
+ return Bt(mt);
60175
60175
  }, ao = (Se) => yt(Se, je), $t = (Se) => Ie.grep(Se, je), dn = (Se) => $t(Se).length > 0, fn = (Se) => ao(Se).length > 0, Pn = (Se) => {
60176
60176
  const Ge = Se.schema.getTextInlineElements(), mt = (we) => we.nodeType === 1 && !dt(we) && !le(Ge, we.nodeName.toLowerCase());
60177
60177
  if (vn(Se).exists((we) => we.hasAttribute("data-mce-block")))
@@ -60978,9 +60978,9 @@ tinymce.addI18n("zh_CN", {
60978
60978
  if (pe == null)
60979
60979
  throw new Error(L + " not available on this browser");
60980
60980
  return pe;
60981
- }, Pt = Object.getPrototypeOf, vn = (L) => Et("HTMLElement", L), Nn = (L) => {
60981
+ }, Bt = Object.getPrototypeOf, vn = (L) => Et("HTMLElement", L), Nn = (L) => {
60982
60982
  const Q = Nt("ownerDocument.defaultView", L);
60983
- return v(L) && (vn(Q).prototype.isPrototypeOf(L) || /^HTML\w*Element$/.test(Pt(L).constructor.name));
60983
+ return v(L) && (vn(Q).prototype.isPrototypeOf(L) || /^HTML\w*Element$/.test(Bt(L).constructor.name));
60984
60984
  }, $o = (L) => L.dom.nodeName.toLowerCase(), ao = (L) => L.dom.nodeType, $t = (L) => (Q) => ao(Q) === L, dn = (L) => ao(L) === ne || $o(L) === "#comment", fn = (L) => Pn(L) && Nn(L.dom), Pn = $t(pt), Mo = $t(xt), Vo = $t(wn), Ds = (L) => (Q) => Pn(Q) && $o(Q) === L, To = (L) => Ce.from(L.dom.parentNode).map(Z.fromDom), nr = (L) => Ce.from(L.dom.parentElement).map(Z.fromDom), bn = (L) => Ce.from(L.dom.nextSibling).map(Z.fromDom), Ko = (L) => Oe(L.dom.childNodes, Z.fromDom), pr = (L, Q) => {
60985
60985
  const pe = L.dom.childNodes;
60986
60986
  return Ce.from(pe[Q]).map(Z.fromDom);
@@ -62306,7 +62306,7 @@ tinymce.addI18n("zh_CN", {
62306
62306
  }), Nt = (Xe) => (qe) => be(Xe, qe), Cn = (Xe, qe) => {
62307
62307
  const Ht = ft(Xe);
62308
62308
  return Ht ? je(qe, Nt(Xe), Ht) : yt(qe, Nt(Xe));
62309
- }, Et = (Xe) => Y(dt, Xe), Pt = (Xe, qe) => te(qe, Xe).bind((Ht) => te(Ht, "meta")), vn = (Xe, qe, Ht) => (Jt) => {
62309
+ }, Et = (Xe) => Y(dt, Xe), Bt = (Xe, qe) => te(qe, Xe).bind((Ht) => te(Ht, "meta")), vn = (Xe, qe, Ht) => (Jt) => {
62310
62310
  const wo = () => te(Xe, Jt), Fo = () => te(qe, Jt), ns = (qt) => te(qt, "value").bind((Qe) => Qe.length > 0 ? _.some(Qe) : _.none()), or = () => wo().bind((qt) => p(qt) ? ns(qt).orThunk(Fo) : Fo().orThunk(() => _.from(qt))), mn = () => Fo().orThunk(() => wo().bind((qt) => p(qt) ? ns(qt) : _.from(qt)));
62311
62311
  return { [Jt]: (Jt === Ht ? or() : mn()).getOr("") };
62312
62312
  }, Nn = (Xe, qe) => {
@@ -62320,7 +62320,7 @@ tinymce.addI18n("zh_CN", {
62320
62320
  });
62321
62321
  }), Ht;
62322
62322
  }, $o = (Xe, qe) => {
62323
- const Ht = qe && qe !== "dimensions" ? Pt(qe, Xe).getOr({}) : {}, Jt = vn(Xe, Ht, qe);
62323
+ const Ht = qe && qe !== "dimensions" ? Bt(qe, Xe).getOr({}) : {}, Jt = vn(Xe, Ht, qe);
62324
62324
  return {
62325
62325
  ...Jt("source"),
62326
62326
  ...Jt("altsource"),
@@ -63161,7 +63161,7 @@ tinymce.addI18n("zh_CN", {
63161
63161
  }).toString()})(${$t})<\/script>`;
63162
63162
  };
63163
63163
  var dt = tinymce.util.Tools.resolve("tinymce.util.Tools");
63164
- const je = ($t) => (dn) => dn.options.get($t), yt = je("content_style"), Nt = je("content_css_cors"), Cn = je("body_class"), Et = je("body_id"), Pt = ($t) => {
63164
+ const je = ($t) => (dn) => dn.options.get($t), yt = je("content_style"), Nt = je("content_css_cors"), Cn = je("body_class"), Et = je("body_id"), Bt = ($t) => {
63165
63165
  var dn;
63166
63166
  let fn = "";
63167
63167
  const Pn = $t.dom.encode, Mo = (dn = yt($t)) !== null && dn !== void 0 ? dn : "";
@@ -63173,7 +63173,7 @@ tinymce.addI18n("zh_CN", {
63173
63173
  const Ds = Et($t), To = Cn($t), nr = $t.getBody().dir, bn = nr ? ' dir="' + Pn(nr) + '"' : "";
63174
63174
  return "<!DOCTYPE html><html><head>" + fn + '</head><body id="' + Pn(Ds) + '" class="mce-content-body ' + Pn(To) + '"' + bn + ">" + $t.getContent() + Ie() + "</body></html>";
63175
63175
  }, vn = ($t) => {
63176
- const dn = Pt($t);
63176
+ const dn = Bt($t);
63177
63177
  $t.windowManager.open({
63178
63178
  title: "Preview",
63179
63179
  size: "large",
@@ -63749,7 +63749,7 @@ tinymce.addI18n("zh_CN", {
63749
63749
  }
63750
63750
  };
63751
63751
  })(At, "text"), yt = (Qe) => je.get(Qe), Nt = (Qe, st, gn) => (Qe.compareDocumentPosition(st) & gn) !== 0, Cn = (Qe, st) => Nt(Qe, st, Node.DOCUMENT_POSITION_PRECEDING), Et = (Qe, st) => St(st, Qe);
63752
- var Pt = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
63752
+ var Bt = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
63753
63753
  const vn = (Qe, st) => Qe.isBlock(st) || M(Qe.schema.getVoidElements(), st.nodeName), Nn = (Qe, st) => !Qe.isEditable(st), $o = (Qe, st) => Qe.getContentEditable(st) === "true" && st.parentNode && !Qe.isEditable(st.parentNode), ao = (Qe, st) => !Qe.isBlock(st) && M(Qe.schema.getWhitespaceElements(), st.nodeName), $t = (Qe, st) => vn(Qe, st) || Nn(Qe, st) || ao(Qe, st) || $o(Qe, st), dn = (Qe) => Qe.nodeType === 3, fn = () => ({
63754
63754
  sOffset: 0,
63755
63755
  fOffset: 0,
@@ -63775,7 +63775,7 @@ tinymce.addI18n("zh_CN", {
63775
63775
  var vo;
63776
63776
  if ($t(Qe, gn))
63777
63777
  return;
63778
- const yo = (vo = Qe.getParent(En, Qe.isBlock)) !== null && vo !== void 0 ? vo : Qe.getRoot(), uo = new Pt(gn, yo), Ao = Yn ? uo.next.bind(uo) : uo.prev.bind(uo);
63778
+ const yo = (vo = Qe.getParent(En, Qe.isBlock)) !== null && vo !== void 0 ? vo : Qe.getRoot(), uo = new Bt(gn, yo), Ao = Yn ? uo.next.bind(uo) : uo.prev.bind(uo);
63779
63779
  Mo(Qe, Ao, gn, {
63780
63780
  boundary: U,
63781
63781
  cef: U,
@@ -63784,7 +63784,7 @@ tinymce.addI18n("zh_CN", {
63784
63784
  }
63785
63785
  });
63786
63786
  }, Ds = (Qe, st, gn, En, Yn, vo = !0) => {
63787
- const yo = new Pt(gn, st), uo = [];
63787
+ const yo = new Bt(gn, st), uo = [];
63788
63788
  let Ao = fn();
63789
63789
  Vo(Qe, Ao, gn, st, !1);
63790
63790
  const Uo = () => (Ao.elements.length > 0 && (uo.push(Ao), Ao = fn()), !1);
@@ -64413,7 +64413,7 @@ tinymce.addI18n("zh_CN", {
64413
64413
  return Ae;
64414
64414
  }
64415
64415
  return ee.none();
64416
- }, Nt = 8, Cn = 9, Et = 11, Pt = 1, vn = 3, Nn = (I, z) => {
64416
+ }, Nt = 8, Cn = 9, Et = 11, Bt = 1, vn = 3, Nn = (I, z) => {
64417
64417
  const Ae = (z || document).createElement("div");
64418
64418
  if (Ae.innerHTML = I, !Ae.hasChildNodes() || Ae.childNodes.length > 1) {
64419
64419
  const lt = "HTML does not have a single root node";
@@ -64438,7 +64438,7 @@ tinymce.addI18n("zh_CN", {
64438
64438
  fromPoint: (I, z, fe) => ee.from(I.dom.elementFromPoint(z, fe)).map($t)
64439
64439
  }, Pn = (I, z) => {
64440
64440
  const fe = I.dom;
64441
- if (fe.nodeType !== Pt)
64441
+ if (fe.nodeType !== Bt)
64442
64442
  return !1;
64443
64443
  {
64444
64444
  const Ae = fe;
@@ -64452,7 +64452,7 @@ tinymce.addI18n("zh_CN", {
64452
64452
  return Ae.mozMatchesSelector(z);
64453
64453
  throw new Error("Browser lacks native selectors");
64454
64454
  }
64455
- }, Mo = (I) => I.nodeType !== Pt && I.nodeType !== Cn && I.nodeType !== Et || I.childElementCount === 0, Vo = (I, z) => {
64455
+ }, Mo = (I) => I.nodeType !== Bt && I.nodeType !== Cn && I.nodeType !== Et || I.childElementCount === 0, Vo = (I, z) => {
64456
64456
  const fe = z === void 0 ? document : z.dom;
64457
64457
  return Mo(fe) ? [] : ct(fe.querySelectorAll(I), fn.fromDom);
64458
64458
  }, Ds = (I, z) => {
@@ -64460,7 +64460,7 @@ tinymce.addI18n("zh_CN", {
64460
64460
  return Mo(fe) ? ee.none() : ee.from(fe.querySelector(I)).map(fn.fromDom);
64461
64461
  }, To = (I, z) => I.dom === z.dom, nr = Pn;
64462
64462
  typeof window < "u" || Function("return this;")();
64463
- const bn = (I) => I.dom.nodeName.toLowerCase(), Ko = (I) => I.dom.nodeType, pr = (I) => (z) => Ko(z) === I, yr = (I) => Ko(I) === Nt || bn(I) === "#comment", Jr = pr(Pt), Qr = pr(vn), Fs = pr(Cn), Wr = pr(Et), ma = (I) => (z) => Jr(z) && bn(z) === I, Is = (I) => fn.fromDom(I.dom.ownerDocument), bo = (I) => Fs(I) ? I : Is(I), Ks = (I) => ee.from(I.dom.parentNode).map(fn.fromDom), Tt = (I, z) => {
64463
+ const bn = (I) => I.dom.nodeName.toLowerCase(), Ko = (I) => I.dom.nodeType, pr = (I) => (z) => Ko(z) === I, yr = (I) => Ko(I) === Nt || bn(I) === "#comment", Jr = pr(Bt), Qr = pr(vn), Fs = pr(Cn), Wr = pr(Et), ma = (I) => (z) => Jr(z) && bn(z) === I, Is = (I) => fn.fromDom(I.dom.ownerDocument), bo = (I) => Fs(I) ? I : Is(I), Ks = (I) => ee.from(I.dom.parentNode).map(fn.fromDom), Tt = (I, z) => {
64464
64464
  const fe = R(z) ? z : ut;
64465
64465
  let Ae = I.dom;
64466
64466
  const lt = [];
@@ -66622,7 +66622,7 @@ Required: ` + z.join(", "));
66622
66622
  return ut(Tt, (Wn) => {
66623
66623
  jt && (jt += ","), jt += "span.mce-" + Wn;
66624
66624
  }), jt;
66625
- }, Cn = yt(je), Et = yt(je, !0), Pt = Nt(je), vn = "mce-nbsp", Nn = (Tt) => Tt.dom.contentEditable, $o = (Tt) => '<span data-mce-bogus="1" class="mce-' + je[Tt] + '">' + Tt + "</span>", ao = (Tt) => Tt.nodeName.toLowerCase() === "span" && Tt.classList.contains("mce-nbsp-wrap"), $t = (Tt) => {
66625
+ }, Cn = yt(je), Et = yt(je, !0), Bt = Nt(je), vn = "mce-nbsp", Nn = (Tt) => Tt.dom.contentEditable, $o = (Tt) => '<span data-mce-bogus="1" class="mce-' + je[Tt] + '">' + Tt + "</span>", ao = (Tt) => Tt.nodeName.toLowerCase() === "span" && Tt.classList.contains("mce-nbsp-wrap"), $t = (Tt) => {
66626
66626
  const jt = Ue(Tt);
66627
66627
  return me(Tt) && _(jt) && Cn.test(jt);
66628
66628
  }, dn = (Tt) => nt(Tt) && Nn(Tt) === "false", fn = (Tt, jt) => {
@@ -66662,7 +66662,7 @@ Required: ` + z.join(", "));
66662
66662
  }
66663
66663
  });
66664
66664
  }, To = (Tt, jt) => {
66665
- const Wn = Tt.dom.select(Pt, jt);
66665
+ const Wn = Tt.dom.select(Bt, jt);
66666
66666
  Y(Wn, (go) => {
66667
66667
  ao(go) ? ae(dt.fromDom(go), vn) : Tt.dom.remove(go, !0);
66668
66668
  });
@@ -66842,8 +66842,8 @@ Required: ` + z.join(", "));
66842
66842
  if ((Z.includeWhitespace || !j.test(je)) && (Z.includePunctuation || !Ce.test(je))) {
66843
66843
  const yt = dt - Ie.length + 1, Nt = dt + 1, Cn = ae.slice(yt, Nt).join(Y);
66844
66844
  if (ut(Cn)) {
66845
- const Et = ee(ae, dt), Pt = J.slice(Nt, Et);
66846
- Array.prototype.push.apply(Ie, Pt), dt = Et;
66845
+ const Et = ee(ae, dt), Bt = J.slice(Nt, Et);
66846
+ Array.prototype.push.apply(Ie, Bt), dt = Et;
66847
66847
  }
66848
66848
  ae[dt + 1] === "." && /^([a-zA-Z]\.)+$/.test(Cn + ".") ? (Ie.push(J[dt + 1]), De.push({
66849
66849
  start: yt,
@@ -67527,7 +67527,7 @@ const k4 = (o) => o != null && o.id ? o == null ? void 0 : o.id : o.nodePath + (
67527
67527
  return O && (v.id = O), v;
67528
67528
  }, UMe = (o) => t_e(
67529
67529
  o,
67530
- (s) => Bt(s.nodes).map((i) => ({
67530
+ (s) => Pt(s.nodes).map((i) => ({
67531
67531
  ...i,
67532
67532
  color: s.color,
67533
67533
  activated: s == null ? void 0 : s.activated,
@@ -67614,7 +67614,7 @@ function GMe(o) {
67614
67614
  const hme = (o, s) => {
67615
67615
  var _;
67616
67616
  const i = WMe(o, s || []), u = [], f = [];
67617
- (_ = Bt(i)) == null || _.forEach((A) => {
67617
+ (_ = Pt(i)) == null || _.forEach((A) => {
67618
67618
  (A == null ? void 0 : A.showTextType) === "input" ? u.push(A) : f.push(A);
67619
67619
  });
67620
67620
  const p = s_e(f, "tableIndex"), v = Object.entries(p).map(([A, O]) => ({
@@ -67681,7 +67681,7 @@ const hme = (o, s) => {
67681
67681
  }
67682
67682
  }), v = jn(() => {
67683
67683
  var w;
67684
- return (w = Bt(i)) == null ? void 0 : w.find((S) => {
67684
+ return (w = Pt(i)) == null ? void 0 : w.find((S) => {
67685
67685
  var _;
67686
67686
  return (S == null ? void 0 : S.id) === ((_ = s == null ? void 0 : s.node) == null ? void 0 : _.id);
67687
67687
  });
@@ -67690,7 +67690,7 @@ const hme = (o, s) => {
67690
67690
  () => v,
67691
67691
  () => {
67692
67692
  var S, _, A, O;
67693
- const w = Bt(v);
67693
+ const w = Pt(v);
67694
67694
  (S = s == null ? void 0 : s.node) != null && S.element && (w ? w != null && w.activated || (s.node.element.style.setProperty("--node-color", (w == null ? void 0 : w.color) || "#409eff"), s.node.element.style.setProperty(
67695
67695
  "--node-bg-color",
67696
67696
  xse((w == null ? void 0 : w.color) || "#409eff", 0.1)
@@ -67819,7 +67819,7 @@ function bme() {
67819
67819
  };
67820
67820
  }, 16), Ce = (Fe) => {
67821
67821
  if (!A.value) return;
67822
- const { left: ee, top: We, width: gt, height: ft } = Bt(Fe);
67822
+ const { left: ee, top: We, width: gt, height: ft } = Pt(Fe);
67823
67823
  A.value.style.left = `${ee}px`, A.value.style.top = `${We}px`, A.value.style.width = `${gt}px`, A.value.style.height = `${ft}px`;
67824
67824
  }, ut = () => {
67825
67825
  if (!i.value) return;
@@ -67841,7 +67841,7 @@ function bme() {
67841
67841
  ), es(
67842
67842
  () => i.value,
67843
67843
  (Fe) => {
67844
- Bt(Fe) && ut();
67844
+ Pt(Fe) && ut();
67845
67845
  },
67846
67846
  { immediate: !0 }
67847
67847
  ), ld(() => {
@@ -67854,7 +67854,7 @@ function bme() {
67854
67854
  function yme() {
67855
67855
  const { selectedNodes: o, containerRef: s } = cm(), i = () => {
67856
67856
  var f;
67857
- (f = Bt(s)) == null || f.querySelectorAll(".node-selected").forEach((p) => {
67857
+ (f = Pt(s)) == null || f.querySelectorAll(".node-selected").forEach((p) => {
67858
67858
  p.classList.remove("node-selected");
67859
67859
  });
67860
67860
  }, u = (f) => {
@@ -67867,7 +67867,7 @@ function yme() {
67867
67867
  () => {
67868
67868
  i(), setTimeout(() => {
67869
67869
  var p, v;
67870
- const f = (v = (p = Bt(o)) == null ? void 0 : p.map((w) => {
67870
+ const f = (v = (p = Pt(o)) == null ? void 0 : p.map((w) => {
67871
67871
  var S;
67872
67872
  return (S = s.value) == null ? void 0 : S.querySelector(`[id="${w.id}"]`);
67873
67873
  })) == null ? void 0 : v.filter(Boolean);
@@ -68137,16 +68137,16 @@ function aRe() {
68137
68137
  i(w);
68138
68138
  };
68139
68139
  Xi(() => {
68140
- const v = u(o), w = f(v, Bt(s));
68140
+ const v = u(o), w = f(v, Pt(s));
68141
68141
  p(w);
68142
68142
  });
68143
68143
  }
68144
68144
  function iRe() {
68145
68145
  const { selectedNodes: o, containerRef: s } = cm(), { removeNode: i } = yj(), u = hn(null), f = (w) => {
68146
68146
  var S;
68147
- if ((S = Bt(s)) != null && S.contains(u.value) && (w.key === "Delete" || w.key === "Backspace")) {
68147
+ if ((S = Pt(s)) != null && S.contains(u.value) && (w.key === "Delete" || w.key === "Backspace")) {
68148
68148
  let _ = [];
68149
- w.preventDefault(), Bt(o).length > 0 && (Bt(o).forEach((A) => {
68149
+ w.preventDefault(), Pt(o).length > 0 && (Pt(o).forEach((A) => {
68150
68150
  var O, R, F;
68151
68151
  if (((O = A == null ? void 0 : A.element) == null ? void 0 : O.tagName) === "TD") {
68152
68152
  const U = (R = A == null ? void 0 : A.element) == null ? void 0 : R.getAttribute("id");
@@ -68159,14 +68159,14 @@ function iRe() {
68159
68159
  }
68160
68160
  }, p = (w) => {
68161
68161
  var S;
68162
- (S = Bt(s)) != null && S.contains(w.target) ? u.value = w.target : u.value = null;
68162
+ (S = Pt(s)) != null && S.contains(w.target) ? u.value = w.target : u.value = null;
68163
68163
  }, v = () => {
68164
68164
  s.value && (window.addEventListener("keydown", f), s.value.addEventListener("mousedown", p));
68165
68165
  };
68166
68166
  es(
68167
68167
  () => s.value,
68168
68168
  (w) => {
68169
- Bt(w) && v();
68169
+ Pt(w) && v();
68170
68170
  },
68171
68171
  { immediate: !0 }
68172
68172
  ), ld(() => {
@@ -68190,7 +68190,7 @@ function wj() {
68190
68190
  es(
68191
68191
  () => [o, s.value, u],
68192
68192
  () => {
68193
- Bt(u) && f();
68193
+ Pt(u) && f();
68194
68194
  },
68195
68195
  {
68196
68196
  immediate: !0,
@@ -68337,7 +68337,7 @@ const lRe = /* @__PURE__ */ Wo({
68337
68337
  }
68338
68338
  }), dRe = /* @__PURE__ */ Wo({
68339
68339
  __name: "NodesProvider",
68340
- props: /* @__PURE__ */ ei({
68340
+ props: /* @__PURE__ */ ai({
68341
68341
  modelValue: {
68342
68342
  type: String,
68343
68343
  default: ""
@@ -68364,7 +68364,7 @@ const lRe = /* @__PURE__ */ Wo({
68364
68364
  nodes: {},
68365
68365
  nodesModifiers: {}
68366
68366
  }),
68367
- emits: /* @__PURE__ */ ei(["update:nodes"], ["update:formData", "update:nodes"]),
68367
+ emits: /* @__PURE__ */ ai(["update:nodes"], ["update:formData", "update:nodes"]),
68368
68368
  setup(o, { emit: s }) {
68369
68369
  const i = o, u = Rr(o, "formData"), f = Rr(o, "nodes");
68370
68370
  return Jm(vme, {
@@ -68435,7 +68435,7 @@ const gRe = /* @__PURE__ */ Wo({
68435
68435
  }
68436
68436
  }), v = hn(null), w = hn([]), S = hn(null), _ = hn(-1), A = hn(0), O = hn(0), R = fRe(u == null ? void 0 : u.editorId), F = hn(!1), U = jn(() => {
68437
68437
  var Y, j;
68438
- const te = ((j = (Y = Bt(R)) == null ? void 0 : Y.filter((Ce) => !Bt(Ce == null ? void 0 : Ce.activated))) == null ? void 0 : j.filter((Ce) => Bt(Ce.isMounted))) || [];
68438
+ const te = ((j = (Y = Pt(R)) == null ? void 0 : Y.filter((Ce) => !Pt(Ce == null ? void 0 : Ce.activated))) == null ? void 0 : j.filter((Ce) => Pt(Ce.isMounted))) || [];
68439
68439
  return UMe([...(u == null ? void 0 : u.nodesGroups) || [], ...te]);
68440
68440
  }), X = hn([]), q = (te) => {
68441
68441
  const Y = te.map(({ element: j, ...Ce }) => {
@@ -68478,28 +68478,28 @@ const gRe = /* @__PURE__ */ Wo({
68478
68478
  class: "icon"
68479
68479
  }, CRe = /* @__PURE__ */ Wo({
68480
68480
  __name: "index",
68481
- props: /* @__PURE__ */ ei({
68481
+ props: /* @__PURE__ */ ai({
68482
68482
  style: {}
68483
68483
  }, {
68484
68484
  show: {},
68485
68485
  showModifiers: {}
68486
68486
  }),
68487
- emits: /* @__PURE__ */ ei(["select"], ["update:show"]),
68487
+ emits: /* @__PURE__ */ ai(["select"], ["update:show"]),
68488
68488
  setup(o, { emit: s }) {
68489
68489
  const { selectedNodes: i, focusedElement: u, cursorPosition: f, focusedNodeIndex: p, preNodeNumber: v } = cm(), { inputTypes: w } = _y(), S = Rr(o, "show"), { editNodes: _ } = yj(), A = (U) => {
68490
- if (Bt(u) && !l_e(Bt(f))) {
68491
- const X = Sse(Bt(u)), q = Bt(f), te = (Bt(v) || 0) + 1, Y = zMe(Bt(u));
68490
+ if (Pt(u) && !l_e(Pt(f))) {
68491
+ const X = Sse(Pt(u)), q = Pt(f), te = (Pt(v) || 0) + 1, Y = zMe(Pt(u));
68492
68492
  X && q && q >= 0 && _({
68493
68493
  ...Y,
68494
68494
  label: U == null ? void 0 : U.label,
68495
68495
  nodePath: X,
68496
68496
  startOffset: q,
68497
68497
  subNodeSort: te,
68498
- textNodeIndex: Bt(p) || 0,
68498
+ textNodeIndex: Pt(p) || 0,
68499
68499
  nodeType: U == null ? void 0 : U.value
68500
68500
  });
68501
68501
  } else if (i) {
68502
- const X = Bt(i);
68502
+ const X = Pt(i);
68503
68503
  X != null && X.length && _(
68504
68504
  X == null ? void 0 : X.map((q) => ({
68505
68505
  ...q,
@@ -68513,7 +68513,7 @@ const gRe = /* @__PURE__ */ Wo({
68513
68513
  S.value = !1;
68514
68514
  }, O = jn(() => {
68515
68515
  const U = [], X = [];
68516
- return Bt(w).forEach((q) => {
68516
+ return Pt(w).forEach((q) => {
68517
68517
  q.groupName === "system" ? X.push({
68518
68518
  ...q,
68519
68519
  handler: () => {
@@ -68641,7 +68641,7 @@ function _Re(o) {
68641
68641
  return es(
68642
68642
  () => i,
68643
68643
  () => {
68644
- ly == null || ly({ data: i.value }), s == null || s(Bt(i));
68644
+ ly == null || ly({ data: i.value }), s == null || s(Pt(i));
68645
68645
  },
68646
68646
  {
68647
68647
  deep: !0
@@ -68649,7 +68649,7 @@ function _Re(o) {
68649
68649
  ), Sme("selectNodes", (p) => {
68650
68650
  const { data: v, callback: w = null, mode: S = "multiple" } = p;
68651
68651
  setTimeout(() => {
68652
- u(Bt(v)), ly = w;
68652
+ u(Pt(v)), ly = w;
68653
68653
  }, 100);
68654
68654
  }), { onBlur: () => {
68655
68655
  ly && (ly == null || ly({ data: i.value, type: "blur" }), ly = null, u([]));
@@ -68667,7 +68667,7 @@ const ERe = { class: "relative" }, TRe = /* @__PURE__ */ Wo({
68667
68667
  const { containerRef: s, uiReady: i } = cm(), { nodes: u, modelValue: f } = _y(), { showContextMenu: p, contextMenuStyle: v, onContextMenu: w } = xRe(), S = hn(null), _ = (F) => {
68668
68668
  let U = null;
68669
68669
  if (_se(F))
68670
- U = pme(F.nodePath, Bt(s)), U && U.classList.add("node-item-td");
68670
+ U = pme(F.nodePath, Pt(s)), U && U.classList.add("node-item-td");
68671
68671
  else {
68672
68672
  const X = document.createElement("span");
68673
68673
  X.setAttribute("contenteditable", "false"), X.classList.add("node-item"), U = X, LMe(F, U, s.value);
@@ -68788,7 +68788,7 @@ const ERe = { class: "relative" }, TRe = /* @__PURE__ */ Wo({
68788
68788
  }
68789
68789
  }), ORe = /* @__PURE__ */ Ji(ARe, [["__scopeId", "data-v-46808dfa"]]), $Re = /* @__PURE__ */ Wo({
68790
68790
  __name: "index",
68791
- props: /* @__PURE__ */ ei({
68791
+ props: /* @__PURE__ */ ai({
68792
68792
  modelValue: {
68793
68793
  type: String,
68794
68794
  default: ""
@@ -68825,7 +68825,7 @@ const ERe = { class: "relative" }, TRe = /* @__PURE__ */ Wo({
68825
68825
  selectedNodes: { default: [] },
68826
68826
  selectedNodesModifiers: {}
68827
68827
  }),
68828
- emits: /* @__PURE__ */ ei(["update:nodes", "update:formData", "onSelectedNodes"], ["update:selectedNodes"]),
68828
+ emits: /* @__PURE__ */ ai(["update:nodes", "update:formData", "onSelectedNodes"], ["update:selectedNodes"]),
68829
68829
  setup(o, { expose: s, emit: i }) {
68830
68830
  const u = o, f = i, p = Rr(o, "selectedNodes"), v = hn(), w = hn(), S = jn(() => {
68831
68831
  switch (u.renderType) {
@@ -68920,7 +68920,7 @@ const ERe = { class: "relative" }, TRe = /* @__PURE__ */ Wo({
68920
68920
  class: "node-text-table-index"
68921
68921
  }, IRe = /* @__PURE__ */ Wo({
68922
68922
  __name: "index",
68923
- props: /* @__PURE__ */ ei({
68923
+ props: /* @__PURE__ */ ai({
68924
68924
  editorId: {
68925
68925
  type: String,
68926
68926
  default: ""
@@ -68933,9 +68933,9 @@ const ERe = { class: "relative" }, TRe = /* @__PURE__ */ Wo({
68933
68933
  setup(o) {
68934
68934
  const s = o, i = Rr(o, "modelValue"), u = Cj(s == null ? void 0 : s.editorId), f = jn(() => {
68935
68935
  var v, w, S, _, A, O;
68936
- if (((v = Bt(p)) == null ? void 0 : v.length) > 0)
68937
- if ((S = (w = Bt(p)) == null ? void 0 : w[0]) != null && S.element) {
68938
- const R = (A = (_ = Bt(p)) == null ? void 0 : _[0]) == null ? void 0 : A.element.closest("body").querySelectorAll("table");
68936
+ if (((v = Pt(p)) == null ? void 0 : v.length) > 0)
68937
+ if ((S = (w = Pt(p)) == null ? void 0 : w[0]) != null && S.element) {
68938
+ const R = (A = (_ = Pt(p)) == null ? void 0 : _[0]) == null ? void 0 : A.element.closest("body").querySelectorAll("table");
68939
68939
  return ((O = Array.from(R)) == null ? void 0 : O.length) === 1;
68940
68940
  } else
68941
68941
  return !0;
@@ -68943,7 +68943,7 @@ const ERe = { class: "relative" }, TRe = /* @__PURE__ */ Wo({
68943
68943
  return !0;
68944
68944
  }), p = jn(() => {
68945
68945
  var v;
68946
- return hme(i.value, ((v = Bt(u)) == null ? void 0 : v.renderNodes) || []);
68946
+ return hme(i.value, ((v = Pt(u)) == null ? void 0 : v.renderNodes) || []);
68947
68947
  });
68948
68948
  return (v, w) => (vt(), un("div", DRe, [
68949
68949
  (vt(!0), un(lr, null, va(p.value, (S, _) => {
@@ -68969,7 +68969,7 @@ function PRe(o) {
68969
68969
  if (u.value)
68970
68970
  return !1;
68971
68971
  u.value = !0, f("selectNodes", {
68972
- data: Bt(s),
68972
+ data: Pt(s),
68973
68973
  mode: i,
68974
68974
  callback: ({ data: v, type: w }) => {
68975
68975
  s.value = v, w === "blur" && (u.value = !1);
@@ -68998,7 +68998,7 @@ const A4 = [
68998
68998
  class: "node-select"
68999
68999
  }, HRe = { class: "flex py-2 px-2 justify-between items-center noder-select-header" }, VRe = { class: "flex gap-2" }, zRe = { class: "flex gap-1" }, URe = /* @__PURE__ */ Wo({
69000
69000
  __name: "index",
69001
- props: /* @__PURE__ */ ei({
69001
+ props: /* @__PURE__ */ ai({
69002
69002
  /**
69003
69003
  * 模式
69004
69004
  * single: 单选
@@ -69037,7 +69037,7 @@ const A4 = [
69037
69037
  setup(o) {
69038
69038
  const s = o, i = hn((F_ == null ? void 0 : F_[s == null ? void 0 : s.id]) || 0), u = hn((s == null ? void 0 : s.id) || sE()), f = Rr(o, "modelValue"), { selectNodes: p, isSelecting: v } = PRe({ nodes: f, mode: s.mode }), w = () => {
69039
69039
  f.value = [];
69040
- }, S = jn(() => s.color || (A4 == null ? void 0 : A4[Bt(i) % (A4 == null ? void 0 : A4.length)]) || "#409eff");
69040
+ }, S = jn(() => s.color || (A4 == null ? void 0 : A4[Pt(i) % (A4 == null ? void 0 : A4.length)]) || "#409eff");
69041
69041
  return Xi(() => {
69042
69042
  c_e(F_ == null ? void 0 : F_[s == null ? void 0 : s.id]) && (s != null && s.id) && (F_[s == null ? void 0 : s.id] = yz.value, i.value = yz.value, yz.value = yz.value + 1);
69043
69043
  }), mRe({
@@ -69270,7 +69270,7 @@ function GRe(o) {
69270
69270
  S = i(O, R);
69271
69271
  } else
69272
69272
  S = [p(v)];
69273
- return f(S, Bt((A = Bt(s)) == null ? void 0 : A.nodes));
69273
+ return f(S, Pt((A = Pt(s)) == null ? void 0 : A.nodes));
69274
69274
  }, f = (v, w) => w == null ? void 0 : w.filter((S) => {
69275
69275
  const _ = S.nodePath.split(" > ");
69276
69276
  let A = 1, O = 1;
@@ -69353,7 +69353,7 @@ function qRe(o, s, i) {
69353
69353
  () => [s, o],
69354
69354
  () => {
69355
69355
  var w;
69356
- o.value && (Di((w = o.value) == null ? void 0 : w.textContent, Bt(s)) || (o.value.textContent = Bt(s), v(Bt(i))));
69356
+ o.value && (Di((w = o.value) == null ? void 0 : w.textContent, Pt(s)) || (o.value.textContent = Pt(s), v(Pt(i))));
69357
69357
  },
69358
69358
  {
69359
69359
  deep: !0,
@@ -69371,10 +69371,10 @@ function Tse(o) {
69371
69371
  };
69372
69372
  return Xi(() => {
69373
69373
  var w, S;
69374
- Bt(s) && ((w = Bt(s)) == null || w.addEventListener("focus", p), (S = Bt(s)) == null || S.addEventListener("blur", v));
69374
+ Pt(s) && ((w = Pt(s)) == null || w.addEventListener("focus", p), (S = Pt(s)) == null || S.addEventListener("blur", v));
69375
69375
  }), ld(() => {
69376
69376
  var w, S;
69377
- Bt(s) && ((w = Bt(s)) == null || w.removeEventListener("focus", p), (S = Bt(s)) == null || S.removeEventListener("blur", v));
69377
+ Pt(s) && ((w = Pt(s)) == null || w.removeEventListener("focus", p), (S = Pt(s)) == null || S.removeEventListener("blur", v));
69378
69378
  }), f;
69379
69379
  }
69380
69380
  function YRe(o) {
@@ -69390,11 +69390,11 @@ function YRe(o) {
69390
69390
  var S, _, A, O, R, F;
69391
69391
  const w = (U) => {
69392
69392
  var X;
69393
- U.preventDefault(), (X = Bt(s)) == null || X.focus();
69393
+ U.preventDefault(), (X = Pt(s)) == null || X.focus();
69394
69394
  };
69395
- Bt(p) ? ((S = Bt(f)) == null || S.containerRef.addEventListener("click", w), (_ = Bt(f)) == null || _.containerRef.addEventListener("mousedown", w), (A = document.querySelectorAll(".select-function")) == null || A.forEach((U) => {
69395
+ Pt(p) ? ((S = Pt(f)) == null || S.containerRef.addEventListener("click", w), (_ = Pt(f)) == null || _.containerRef.addEventListener("mousedown", w), (A = document.querySelectorAll(".select-function")) == null || A.forEach((U) => {
69396
69396
  U.addEventListener("click", w), U.addEventListener("mousedown", w);
69397
- })) : ((O = Bt(f)) == null || O.containerRef.removeEventListener("click", w), (R = Bt(f)) == null || R.containerRef.removeEventListener("mousedown", w), (F = document.querySelectorAll(".select-function")) == null || F.forEach((U) => {
69397
+ })) : ((O = Pt(f)) == null || O.containerRef.removeEventListener("click", w), (R = Pt(f)) == null || R.containerRef.removeEventListener("mousedown", w), (F = document.querySelectorAll(".select-function")) == null || F.forEach((U) => {
69398
69398
  U.removeEventListener("click", w), U.removeEventListener("mousedown", w);
69399
69399
  }));
69400
69400
  },
@@ -69405,9 +69405,9 @@ function YRe(o) {
69405
69405
  () => [p, v],
69406
69406
  () => {
69407
69407
  var w, S, _, A, O;
69408
- if ((w = Bt(f)) != null && w.containerRef && ((A = (_ = (S = Bt(f)) == null ? void 0 : S.containerRef) == null ? void 0 : _.querySelectorAll(".node-formula-cell")) == null || A.forEach((R) => {
69408
+ if ((w = Pt(f)) != null && w.containerRef && ((A = (_ = (S = Pt(f)) == null ? void 0 : S.containerRef) == null ? void 0 : _.querySelectorAll(".node-formula-cell")) == null || A.forEach((R) => {
69409
69409
  R.classList.remove("node-formula-cell");
69410
- }), Bt(p))) {
69410
+ }), Pt(p))) {
69411
69411
  let R = [];
69412
69412
  (O = v.value) != null && O.length && (v.value.forEach((F) => {
69413
69413
  var U;
@@ -69491,13 +69491,13 @@ const JRe = (o, s) => {
69491
69491
  element: w
69492
69492
  }), R = hn(!1), F = Ese(), U = (X) => {
69493
69493
  var q, te;
69494
- if (Bt(R) && Bt(O) && !Di((q = Bt(v)) == null ? void 0 : q.cellValue, X)) {
69495
- const Y = qMe(X, ((te = Bt(S)) == null ? void 0 : te.nodes) || "");
69494
+ if (Pt(R) && Pt(O) && !Di((q = Pt(v)) == null ? void 0 : q.cellValue, X)) {
69495
+ const Y = qMe(X, ((te = Pt(S)) == null ? void 0 : te.nodes) || "");
69496
69496
  let j = Y;
69497
- Y && (Bt(A) === 0 && (j += ","), Bt(_) >= 0 && (u.value = XRe(
69498
- Bt(u),
69499
- Bt(_),
69500
- Bt(A),
69497
+ Y && (Pt(A) === 0 && (j += ","), Pt(_) >= 0 && (u.value = XRe(
69498
+ Pt(u),
69499
+ Pt(_),
69500
+ Pt(A),
69501
69501
  j
69502
69502
  ), A.value = Y.length));
69503
69503
  }
@@ -69506,16 +69506,16 @@ const JRe = (o, s) => {
69506
69506
  () => p,
69507
69507
  () => {
69508
69508
  var X, q, te, Y, j, Ce;
69509
- if ((X = S.value) == null || X.setSelectedNodes([]), ["range", "cell"].includes((q = Bt(v)) == null ? void 0 : q.type))
69510
- return _.value = JRe(i.value, p.value), A.value = (Y = (te = Bt(v)) == null ? void 0 : te.value) == null ? void 0 : Y.length, R.value = !0, F("selectNodes", {
69511
- data: (j = Bt(v)) == null ? void 0 : j.cellValue,
69509
+ if ((X = S.value) == null || X.setSelectedNodes([]), ["range", "cell"].includes((q = Pt(v)) == null ? void 0 : q.type))
69510
+ return _.value = JRe(i.value, p.value), A.value = (Y = (te = Pt(v)) == null ? void 0 : te.value) == null ? void 0 : Y.length, R.value = !0, F("selectNodes", {
69511
+ data: (j = Pt(v)) == null ? void 0 : j.cellValue,
69512
69512
  mode: "multiple",
69513
69513
  callback: ({ data: ut }) => {
69514
69514
  U(ut);
69515
69515
  }
69516
69516
  }), !1;
69517
- if ([",", "(", "="].includes((Ce = Bt(v)) == null ? void 0 : Ce.value))
69518
- return _.value = Bt(s), R.value = !0, A.value = 0, F("selectNodes", {
69517
+ if ([",", "(", "="].includes((Ce = Pt(v)) == null ? void 0 : Ce.value))
69518
+ return _.value = Pt(s), R.value = !0, A.value = 0, F("selectNodes", {
69519
69519
  data: [],
69520
69520
  mode: "multiple",
69521
69521
  callback: ({ data: ut }) => {
@@ -69535,13 +69535,13 @@ const JRe = (o, s) => {
69535
69535
  () => s,
69536
69536
  () => {
69537
69537
  var p;
69538
- if (Bt(s) <= 0)
69538
+ if (Pt(s) <= 0)
69539
69539
  u.value = -1;
69540
69540
  else {
69541
69541
  let v = 0;
69542
69542
  for (let w = 0; w < i.value.length; w++) {
69543
69543
  const S = i.value[w];
69544
- if (v += (p = S == null ? void 0 : S.value) == null ? void 0 : p.length, v >= Bt(s)) {
69544
+ if (v += (p = S == null ? void 0 : S.value) == null ? void 0 : p.length, v >= Pt(s)) {
69545
69545
  u.value = w;
69546
69546
  break;
69547
69547
  }
@@ -69555,7 +69555,7 @@ const JRe = (o, s) => {
69555
69555
  );
69556
69556
  const f = jn(() => {
69557
69557
  var p;
69558
- return (p = Bt(i)) == null ? void 0 : p[Bt(u)];
69558
+ return (p = Pt(i)) == null ? void 0 : p[Pt(u)];
69559
69559
  });
69560
69560
  return {
69561
69561
  currentItemIndex: u,
@@ -69581,12 +69581,12 @@ const nIe = (o, s) => {
69581
69581
  element: v
69582
69582
  }), A = hn(!1), O = Ese(), R = (F) => {
69583
69583
  var U;
69584
- if (Bt(A) && Bt(_) && !Di((U = Bt(p)) == null ? void 0 : U.value, F)) {
69584
+ if (Pt(A) && Pt(_) && !Di((U = Pt(p)) == null ? void 0 : U.value, F)) {
69585
69585
  const X = F, q = X;
69586
- X && Bt(w) >= 0 && (u.value = tIe(
69587
- Bt(u),
69588
- Bt(w),
69589
- Bt(S),
69586
+ X && Pt(w) >= 0 && (u.value = tIe(
69587
+ Pt(u),
69588
+ Pt(w),
69589
+ Pt(S),
69590
69590
  q
69591
69591
  ), S.value = X.length);
69592
69592
  }
@@ -69595,15 +69595,15 @@ const nIe = (o, s) => {
69595
69595
  () => f,
69596
69596
  () => {
69597
69597
  var F, U, X, q, te;
69598
- if (["function"].includes((F = Bt(p)) == null ? void 0 : F.type))
69599
- return w.value = nIe(i.value, f.value), S.value = (X = (U = Bt(p)) == null ? void 0 : U.value) == null ? void 0 : X.length, A.value = !0, O("selectFunction", {
69600
- data: (q = Bt(p)) == null ? void 0 : q.value,
69598
+ if (["function"].includes((F = Pt(p)) == null ? void 0 : F.type))
69599
+ return w.value = nIe(i.value, f.value), S.value = (X = (U = Pt(p)) == null ? void 0 : U.value) == null ? void 0 : X.length, A.value = !0, O("selectFunction", {
69600
+ data: (q = Pt(p)) == null ? void 0 : q.value,
69601
69601
  callback: ({ data: Y }) => {
69602
69602
  console.log(Y), R(Y);
69603
69603
  }
69604
69604
  }), !1;
69605
- if ([",", "(", "="].includes((te = Bt(p)) == null ? void 0 : te.value))
69606
- return w.value = Bt(s), A.value = !0, S.value = 0, O("selectFunction", {
69605
+ if ([",", "(", "="].includes((te = Pt(p)) == null ? void 0 : te.value))
69606
+ return w.value = Pt(s), A.value = !0, S.value = 0, O("selectFunction", {
69607
69607
  data: "",
69608
69608
  callback: ({ data: Y }) => {
69609
69609
  console.log(Y), R(Y);
@@ -69618,7 +69618,7 @@ const nIe = (o, s) => {
69618
69618
  );
69619
69619
  }, sIe = { class: "node-formula" }, rIe = { class: "node-formula-show" }, aIe = /* @__PURE__ */ Wo({
69620
69620
  __name: "index",
69621
- props: /* @__PURE__ */ ei({
69621
+ props: /* @__PURE__ */ ai({
69622
69622
  id: {
69623
69623
  type: String,
69624
69624
  default: ""
@@ -69739,7 +69739,7 @@ const nIe = (o, s) => {
69739
69739
  }
69740
69740
  ], cIe = { class: "select-function" }, uIe = ["onClick"], dIe = { class: "function-item" }, fIe = { class: "function-item-desc" }, mIe = /* @__PURE__ */ Wo({
69741
69741
  __name: "index",
69742
- props: /* @__PURE__ */ ei({
69742
+ props: /* @__PURE__ */ ai({
69743
69743
  id: {
69744
69744
  type: String,
69745
69745
  default: ""
@@ -72293,12 +72293,12 @@ function uBe(o, s) {
72293
72293
  return s.includes(o) ? "code" : "key";
72294
72294
  }
72295
72295
  function RR(o, s) {
72296
- const i = ai(() => Bt(s == null ? void 0 : s.actInsideInputWithModifier) ?? !1), u = ai(() => Bt(s == null ? void 0 : s.target) ?? window), f = ai(() => Bt(s == null ? void 0 : s.preventDefault) ?? !0), p = hn(Bt(o) === !0);
72296
+ const i = ri(() => Pt(s == null ? void 0 : s.actInsideInputWithModifier) ?? !1), u = ri(() => Pt(s == null ? void 0 : s.target) ?? window), f = ri(() => Pt(s == null ? void 0 : s.preventDefault) ?? !0), p = hn(Pt(o) === !0);
72297
72297
  let v = !1;
72298
72298
  const w = /* @__PURE__ */ new Set();
72299
- let S = A(Bt(o));
72299
+ let S = A(Pt(o));
72300
72300
  es(
72301
- () => Bt(o),
72301
+ () => Pt(o),
72302
72302
  (O, R) => {
72303
72303
  typeof R == "boolean" && typeof O != "boolean" && _(), S = A(O);
72304
72304
  },
@@ -72327,7 +72327,7 @@ function RR(o, s) {
72327
72327
  { eventName: "keyup", target: u }
72328
72328
  );
72329
72329
  function _() {
72330
- v = !1, w.clear(), p.value = Bt(o) === !0;
72330
+ v = !1, w.clear(), p.value = Pt(o) === !0;
72331
72331
  }
72332
72332
  function A(O) {
72333
72333
  return O === null ? (_(), () => !1) : typeof O == "boolean" ? (_(), p.value = O, () => !1) : Array.isArray(O) || typeof O == "string" ? cBe(O, w) : O;
@@ -73256,7 +73256,7 @@ function wge(o) {
73256
73256
  }, ct = (xt, Gt) => {
73257
73257
  me = !0;
73258
73258
  const St = F(Oe);
73259
- !q.value && !U.value && St && (St.selected || te()), St && Bt(ce) && q.value && Soe(
73259
+ !q.value && !U.value && St && (St.selected || te()), St && Pt(ce) && q.value && Soe(
73260
73260
  St,
73261
73261
  U.value,
73262
73262
  Y,
@@ -73301,11 +73301,11 @@ function wge(o) {
73301
73301
  }
73302
73302
  $e = [], ve.value = !1, At = !1, me = !1, he = { x: void 0, y: void 0 }, cancelAnimationFrame(Ze);
73303
73303
  };
73304
- return es([() => Bt(ft), gt], ([xt, Gt], St, J) => {
73304
+ return es([() => Pt(ft), gt], ([xt, Gt], St, J) => {
73305
73305
  if (Gt) {
73306
73306
  const ae = f1(Gt);
73307
73307
  xt || (M = h8e().on("start", (le) => ne(le, Gt)).on("drag", (le) => wn(le, Gt)).on("end", (le) => pt(le)).filter((le) => {
73308
- const Z = le.target, be = Bt(Lt);
73308
+ const Z = le.target, be = Pt(Lt);
73309
73309
  return !le.button && (!f.value || !Tce(Z, `.${f.value}`, Gt) && (!be || Tce(Z, be, Gt)));
73310
73310
  }), ae.call(M)), J(() => {
73311
73311
  ae.on(".drag", null), M && (M.on("start", null), M.on("drag", null), M.on("end", null));
@@ -73416,7 +73416,7 @@ function Cge({
73416
73416
  let Oe = null, ce = !1, Lt = null;
73417
73417
  function ve(M) {
73418
73418
  var Ue;
73419
- const he = Bt(i) === "target", nt = Ise(M), tt = yce(M.target);
73419
+ const he = Pt(i) === "target", nt = Ise(M), tt = yce(M.target);
73420
73420
  if (nt && M.button === 0 || !nt) {
73421
73421
  let me = function(je) {
73422
73422
  J = G2(je, xt), bt = DBe(
@@ -73430,8 +73430,8 @@ function Cge({
73430
73430
  {
73431
73431
  handle: bt,
73432
73432
  connectionMode: _.value,
73433
- fromNodeId: Bt(s),
73434
- fromHandleId: Bt(o),
73433
+ fromNodeId: Pt(s),
73434
+ fromHandleId: Pt(o),
73435
73435
  fromType: he ? "target" : "source",
73436
73436
  isValidConnection: Ve,
73437
73437
  doc: tt,
@@ -73471,14 +73471,14 @@ function Cge({
73471
73471
  }, Ze = function(je) {
73472
73472
  (bt || Lt) && Oe && ce && (p ? p(je, Oe) : ut.connect(Oe)), ut.connectEnd(je), f && (v == null || v(je)), une(St), cancelAnimationFrame(Me), Ce(je), ae = !1, ce = !1, Oe = null, Lt = null, tt.removeEventListener("mousemove", me), tt.removeEventListener("mouseup", Ze), tt.removeEventListener("touchmove", me), tt.removeEventListener("touchend", Ze);
73473
73473
  };
73474
- const At = q(Bt(s));
73475
- let Ve = Bt(u) || gt.value || Tz;
73474
+ const At = q(Pt(s));
73475
+ let Ve = Pt(u) || gt.value || Tz;
73476
73476
  !Ve && At && (Ve = (he ? At.isValidSourcePos : At.isValidTargetPos) || Tz);
73477
73477
  let bt, Me = 0;
73478
- const { x: ct, y: ne } = G2(M), wn = tt == null ? void 0 : tt.elementFromPoint(ct, ne), pt = gge(Bt(f), wn), xt = (Ue = S.value) == null ? void 0 : Ue.getBoundingClientRect();
73478
+ const { x: ct, y: ne } = G2(M), wn = tt == null ? void 0 : tt.elementFromPoint(ct, ne), pt = gge(Pt(f), wn), xt = (Ue = S.value) == null ? void 0 : Ue.getBoundingClientRect();
73479
73479
  if (!xt || !pt)
73480
73480
  return;
73481
- const Gt = RBe(Bt(s), pt, Bt(o), ft.value, _.value);
73481
+ const Gt = RBe(Pt(s), pt, Pt(o), ft.value, _.value);
73482
73482
  if (!Gt)
73483
73483
  return;
73484
73484
  let St, J = G2(M, xt), ae = !1;
@@ -73489,10 +73489,10 @@ function Cge({
73489
73489
  te({ x: je, y: yt }), Me = requestAnimationFrame(le);
73490
73490
  }, Z = {
73491
73491
  ...Gt,
73492
- nodeId: Bt(s),
73492
+ nodeId: Pt(s),
73493
73493
  type: pt,
73494
73494
  position: Gt.position
73495
- }, be = ft.value.get(Bt(s)), Ie = {
73495
+ }, be = ft.value.get(Pt(s)), Ie = {
73496
73496
  inProgress: !0,
73497
73497
  isValid: null,
73498
73498
  from: oO(be, Z, ps.Left, !0),
@@ -73506,8 +73506,8 @@ function Cge({
73506
73506
  };
73507
73507
  Y(
73508
73508
  {
73509
- nodeId: Bt(s),
73510
- id: Bt(o),
73509
+ nodeId: Pt(s),
73510
+ id: Pt(o),
73511
73511
  type: pt,
73512
73512
  position: (wn == null ? void 0 : wn.getAttribute("data-handlepos")) || ps.Top
73513
73513
  },
@@ -73515,7 +73515,7 @@ function Cge({
73515
73515
  x: ct - xt.left,
73516
73516
  y: ne - xt.top
73517
73517
  }
73518
- ), ut.connectStart({ event: M, nodeId: Bt(s), handleId: Bt(o), handleType: pt });
73518
+ ), ut.connectStart({ event: M, nodeId: Pt(s), handleId: Pt(o), handleType: pt });
73519
73519
  let dt = Ie;
73520
73520
  tt.addEventListener("mousemove", me), tt.addEventListener("mouseup", Ze), tt.addEventListener("touchmove", me), tt.addEventListener("touchend", Ze);
73521
73521
  }
@@ -73524,26 +73524,26 @@ function Cge({
73524
73524
  var Ue, he;
73525
73525
  if (!O.value)
73526
73526
  return;
73527
- const nt = Bt(i) === "target";
73527
+ const nt = Pt(i) === "target";
73528
73528
  if (!R.value) {
73529
- ut.clickConnectStart({ event: M, nodeId: Bt(s), handleId: Bt(o) }), Y(
73530
- { nodeId: Bt(s), type: Bt(i), id: Bt(o), position: ps.Top },
73529
+ ut.clickConnectStart({ event: M, nodeId: Pt(s), handleId: Pt(o) }), Y(
73530
+ { nodeId: Pt(s), type: Pt(i), id: Pt(o), position: ps.Top },
73531
73531
  void 0,
73532
73532
  !0
73533
73533
  );
73534
73534
  return;
73535
73535
  }
73536
- let tt = Bt(u) || gt.value || Tz;
73537
- const me = q(Bt(s));
73536
+ let tt = Pt(u) || gt.value || Tz;
73537
+ const me = q(Pt(s));
73538
73538
  if (!tt && me && (tt = (nt ? me.isValidSourcePos : me.isValidTargetPos) || Tz), me && (typeof me.connectable > "u" ? F.value : me.connectable) === !1)
73539
73539
  return;
73540
73540
  const Ze = yce(M.target), At = Oce(
73541
73541
  M,
73542
73542
  {
73543
73543
  handle: {
73544
- nodeId: Bt(s),
73545
- id: Bt(o),
73546
- type: Bt(i),
73544
+ nodeId: Pt(s),
73545
+ id: Pt(o),
73546
+ type: Pt(i),
73547
73547
  position: ps.Top
73548
73548
  },
73549
73549
  connectionMode: _.value,
@@ -73943,7 +73943,7 @@ function GBe(o, s, i) {
73943
73943
  for (const q of Object.keys(s)) {
73944
73944
  const te = q;
73945
73945
  if (!X.includes(te)) {
73946
- const Y = ai(() => s[te]), j = i[te];
73946
+ const Y = ri(() => s[te]), j = i[te];
73947
73947
  nh(j) && u.run(() => {
73948
73948
  es(
73949
73949
  Y,
@@ -74570,7 +74570,7 @@ const JBe = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], QBe =
74570
74570
  connectableEnd: { type: Boolean, default: !0 }
74571
74571
  },
74572
74572
  setup(o, { expose: s }) {
74573
- const i = Che(o, ["position", "connectable", "connectableStart", "connectableEnd", "id"]), u = ai(() => i.type ?? "source"), f = ai(() => i.isValidConnection ?? null), {
74573
+ const i = Che(o, ["position", "connectable", "connectableStart", "connectableEnd", "id"]), u = ri(() => i.type ?? "source"), f = ri(() => i.isValidConnection ?? null), {
74574
74574
  id: p,
74575
74575
  connectionStartHandle: v,
74576
74576
  connectionClickStartHandle: w,
@@ -74579,12 +74579,12 @@ const JBe = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], QBe =
74579
74579
  nodesConnectable: A,
74580
74580
  noDragClassName: O,
74581
74581
  noPanClassName: R
74582
- } = jr(), { id: F, node: U, nodeEl: X, connectedEdges: q } = aC(), te = hn(), Y = ai(() => typeof o.connectableStart < "u" ? o.connectableStart : !0), j = ai(() => typeof o.connectableEnd < "u" ? o.connectableEnd : !0), Ce = ai(
74582
+ } = jr(), { id: F, node: U, nodeEl: X, connectedEdges: q } = aC(), te = hn(), Y = ri(() => typeof o.connectableStart < "u" ? o.connectableStart : !0), j = ri(() => typeof o.connectableEnd < "u" ? o.connectableEnd : !0), Ce = ri(
74583
74583
  () => {
74584
74584
  var Oe, ce, Lt, ve, $e, M;
74585
74585
  return ((Oe = v.value) == null ? void 0 : Oe.nodeId) === F && ((ce = v.value) == null ? void 0 : ce.id) === o.id && ((Lt = v.value) == null ? void 0 : Lt.type) === u.value || ((ve = S.value) == null ? void 0 : ve.nodeId) === F && (($e = S.value) == null ? void 0 : $e.id) === o.id && ((M = S.value) == null ? void 0 : M.type) === u.value;
74586
74586
  }
74587
- ), ut = ai(
74587
+ ), ut = ri(
74588
74588
  () => {
74589
74589
  var Oe, ce, Lt;
74590
74590
  return ((Oe = w.value) == null ? void 0 : Oe.nodeId) === F && ((ce = w.value) == null ? void 0 : ce.id) === o.id && ((Lt = w.value) == null ? void 0 : Lt.type) === u.value;
@@ -75565,7 +75565,7 @@ const RFe = {
75565
75565
  connectionLookup: Ce,
75566
75566
  defaultEdgeOptions: ut,
75567
75567
  connectionStartHandle: Fe
75568
- } = jr(), ee = hn(null), We = hn(/* @__PURE__ */ new Set()), gt = hn(/* @__PURE__ */ new Set()), ft = hn(), Oe = ai(() => S.value && (o.isSelecting || p.value)), ce = ai(() => Fe.value !== null);
75568
+ } = jr(), ee = hn(null), We = hn(/* @__PURE__ */ new Set()), gt = hn(/* @__PURE__ */ new Set()), ft = hn(), Oe = ri(() => S.value && (o.isSelecting || p.value)), ce = ri(() => Fe.value !== null);
75569
75569
  let Lt = !1, ve = !1;
75570
75570
  const $e = RR(X, { actInsideInputWithModifier: !1 }), M = RR(q);
75571
75571
  es($e, (Ve) => {
@@ -75724,9 +75724,9 @@ const RFe = {
75724
75724
  y: 0,
75725
75725
  zoom: 0
75726
75726
  };
75727
- const he = RR(w), nt = RR(v), tt = RR(p), me = ai(
75727
+ const he = RR(w), nt = RR(v), tt = RR(p), me = ri(
75728
75728
  () => (!nt.value || nt.value && v.value === !0) && (he.value || O.value)
75729
- ), Ze = ai(() => he.value || S.value), At = ai(() => nt.value || v.value === !0 && me.value !== !0);
75729
+ ), Ze = ri(() => he.value || S.value), At = ri(() => nt.value || v.value === !0 && me.value !== !0);
75730
75730
  Xi(() => {
75731
75731
  if (!ft.value) {
75732
75732
  Oj("Viewport element is missing");
@@ -75787,8 +75787,8 @@ const RFe = {
75787
75787
  Z.preventDefault(), Z.stopImmediatePropagation();
75788
75788
  const dt = Gt.property("__zoom").k || 1, je = kU();
75789
75789
  if (!he.value && Z.ctrlKey && F.value && je) {
75790
- const Pt = lb(Z), vn = bt(Z), Nn = dt * 2 ** vn;
75791
- xt.scaleTo(Gt, Nn, Pt, Z);
75790
+ const Bt = lb(Z), vn = bt(Z), Nn = dt * 2 ** vn;
75791
+ xt.scaleTo(Gt, Nn, Bt, Z);
75792
75792
  return;
75793
75793
  }
75794
75794
  const yt = Z.deltaMode === 1 ? 20 : 1;
@@ -75949,9 +75949,9 @@ const Lce = Pse, qFe = Wo({
75949
75949
  edgesUpdatable: q,
75950
75950
  edgesFocusable: te,
75951
75951
  hooks: Y
75952
- } = jr(), j = jn(() => A(o.id)), { emit: Ce, on: ut } = HBe(j.value, p), Fe = Kg($j), ee = Q2(), We = hn(!1), gt = hn(!1), ft = hn(""), Oe = hn(null), ce = hn("source"), Lt = hn(null), ve = ai(
75952
+ } = jr(), j = jn(() => A(o.id)), { emit: Ce, on: ut } = HBe(j.value, p), Fe = Kg($j), ee = Q2(), We = hn(!1), gt = hn(!1), ft = hn(""), Oe = hn(null), ce = hn("source"), Lt = hn(null), ve = ri(
75953
75953
  () => typeof j.value.selectable > "u" ? X.value : j.value.selectable
75954
- ), $e = ai(() => typeof j.value.updatable > "u" ? q.value : j.value.updatable), M = ai(() => typeof j.value.focusable > "u" ? te.value : j.value.focusable);
75954
+ ), $e = ri(() => typeof j.value.updatable > "u" ? q.value : j.value.updatable), M = ri(() => typeof j.value.focusable > "u" ? te.value : j.value.focusable);
75955
75955
  Jm(bge, o.id), Jm(yge, Lt);
75956
75956
  const Ue = jn(() => j.value.class instanceof Function ? j.value.class(j.value) : j.value.class), he = jn(() => j.value.style instanceof Function ? j.value.style(j.value) : j.value.style), nt = jn(() => {
75957
75957
  const ae = j.value.type || "default", le = Fe == null ? void 0 : Fe[`edge-${ae}`];
@@ -75987,8 +75987,8 @@ const Lce = Pse, qFe = Wo({
75987
75987
  const De = kce(be, j.value.sourceHandle);
75988
75988
  let Ie;
75989
75989
  u.value === K2.Strict ? Ie = le.handleBounds.target : Ie = [...le.handleBounds.target || [], ...le.handleBounds.source || []];
75990
- const dt = kce(Ie, j.value.targetHandle), je = (De == null ? void 0 : De.position) || ps.Bottom, yt = (dt == null ? void 0 : dt.position) || ps.Top, { x: Nt, y: Cn } = oO(ae, De, je), { x: Et, y: Pt } = oO(le, dt, yt);
75991
- return j.value.sourceX = Nt, j.value.sourceY = Cn, j.value.targetX = Et, j.value.targetY = Pt, Wa(
75990
+ const dt = kce(Ie, j.value.targetHandle), je = (De == null ? void 0 : De.position) || ps.Bottom, yt = (dt == null ? void 0 : dt.position) || ps.Top, { x: Nt, y: Cn } = oO(ae, De, je), { x: Et, y: Bt } = oO(le, dt, yt);
75991
+ return j.value.sourceX = Nt, j.value.sourceY = Cn, j.value.targetX = Et, j.value.targetY = Bt, Wa(
75992
75992
  "g",
75993
75993
  {
75994
75994
  ref: Lt,
@@ -76045,7 +76045,7 @@ const Lce = Pse, qFe = Wo({
76045
76045
  sourceX: Nt,
76046
76046
  sourceY: Cn,
76047
76047
  targetX: Et,
76048
- targetY: Pt,
76048
+ targetY: Bt,
76049
76049
  sourceHandleId: j.value.sourceHandle,
76050
76050
  targetHandleId: j.value.targetHandle,
76051
76051
  interactionWidth: j.value.interactionWidth,
@@ -76081,7 +76081,7 @@ const Lce = Pse, qFe = Wo({
76081
76081
  Wa(Lce, {
76082
76082
  position: yt,
76083
76083
  centerX: Et,
76084
- centerY: Pt,
76084
+ centerY: Bt,
76085
76085
  radius: f.value,
76086
76086
  type: "target",
76087
76087
  "data-type": "target"
@@ -76383,9 +76383,9 @@ const Lce = Pse, qFe = Wo({
76383
76383
  hooks: ee
76384
76384
  } = jr(), We = hn(null);
76385
76385
  Jm(vge, We), Jm(hge, o.id);
76386
- const gt = Kg($j), ft = Q2(), Oe = Sge(), { node: ce, parentNode: Lt } = aC(o.id), { emit: ve, on: $e } = jBe(ce, v), M = ai(() => typeof ce.draggable > "u" ? j.value : ce.draggable), Ue = ai(() => typeof ce.selectable > "u" ? Ce.value : ce.selectable), he = ai(() => typeof ce.connectable > "u" ? ut.value : ce.connectable), nt = ai(() => typeof ce.focusable > "u" ? Fe.value : ce.focusable), tt = ai(
76386
+ const gt = Kg($j), ft = Q2(), Oe = Sge(), { node: ce, parentNode: Lt } = aC(o.id), { emit: ve, on: $e } = jBe(ce, v), M = ri(() => typeof ce.draggable > "u" ? j.value : ce.draggable), Ue = ri(() => typeof ce.selectable > "u" ? Ce.value : ce.selectable), he = ri(() => typeof ce.connectable > "u" ? ut.value : ce.connectable), nt = ri(() => typeof ce.focusable > "u" ? Fe.value : ce.focusable), tt = ri(
76387
76387
  () => Ue.value || M.value || ee.value.nodeClick.hasListeners() || ee.value.nodeDoubleClick.hasListeners() || ee.value.nodeMouseEnter.hasListeners() || ee.value.nodeMouseMove.hasListeners() || ee.value.nodeMouseLeave.hasListeners()
76388
- ), me = ai(() => !!ce.dimensions.width && !!ce.dimensions.height), Ze = jn(() => {
76388
+ ), me = ri(() => !!ce.dimensions.width && !!ce.dimensions.height), Ze = jn(() => {
76389
76389
  const le = ce.type || "default", Z = gt == null ? void 0 : gt[`node-${le}`];
76390
76390
  if (Z)
76391
76391
  return Z;
@@ -76416,7 +76416,7 @@ const Lce = Pse, qFe = Wo({
76416
76416
  }), Ve = jn(() => ce.class instanceof Function ? ce.class(ce) : ce.class), bt = jn(() => {
76417
76417
  const le = (ce.style instanceof Function ? ce.style(ce) : ce.style) || {}, Z = ce.width instanceof Function ? ce.width(ce) : ce.width, be = ce.height instanceof Function ? ce.height(ce) : ce.height;
76418
76418
  return !le.width && Z && (le.width = typeof Z == "string" ? Z : `${Z}px`), !le.height && be && (le.height = typeof be == "string" ? be : `${be}px`), le;
76419
- }), Me = ai(() => Number(ce.zIndex ?? bt.value.zIndex ?? 0));
76419
+ }), Me = ri(() => Number(ce.zIndex ?? bt.value.zIndex ?? 0));
76420
76420
  return A((le) => {
76421
76421
  (le.includes(o.id) || !le.length) && ne();
76422
76422
  }), Xi(() => {
@@ -76605,7 +76605,7 @@ const Lce = Pse, qFe = Wo({
76605
76605
  }, uLe = /* @__PURE__ */ Wo({
76606
76606
  ...cLe,
76607
76607
  setup(o) {
76608
- const { viewportRef: s } = jr(), i = ai(() => {
76608
+ const { viewportRef: s } = jr(), i = ri(() => {
76609
76609
  var u;
76610
76610
  return (u = s.value) == null ? void 0 : u.getElementsByClassName("vue-flow__edge-labels")[0];
76611
76611
  });
@@ -76835,7 +76835,7 @@ const wLe = {
76835
76835
  offset: F,
76836
76836
  size: A
76837
76837
  };
76838
- }), f = ai(() => `pattern-${s}${o.id ? `-${o.id}` : ""}`), p = ai(() => o.color || o.patternColor || wLe[o.variant || py.Dots]);
76838
+ }), f = ri(() => `pattern-${s}${o.id ? `-${o.id}` : ""}`), p = ri(() => o.color || o.patternColor || wLe[o.variant || py.Dots]);
76839
76839
  return (v, w) => (vt(), un("svg", {
76840
76840
  class: "vue-flow__background vue-flow__container",
76841
76841
  style: jl({
@@ -76968,7 +76968,7 @@ const e9e = { render: QLe }, t9e = {
76968
76968
  viewport: _,
76969
76969
  minZoom: A,
76970
76970
  maxZoom: O
76971
- } = jr(), R = ai(() => i.value || u.value || f.value), F = ai(() => _.value.zoom <= A.value), U = ai(() => _.value.zoom >= O.value);
76971
+ } = jr(), R = ri(() => i.value || u.value || f.value), F = ri(() => _.value.zoom <= A.value), U = ri(() => _.value.zoom >= O.value);
76972
76972
  function X() {
76973
76973
  v(), s("zoomIn");
76974
76974
  }
@@ -79096,7 +79096,7 @@ function Jze() {
79096
79096
  const Qze = ["data", "id", "position", "selected", "dimensions", "type", "name"], eUe = ["id", "source", "target", "selected", "data"], Eoe = (o) => o.map((i) => _fe(i, Qze)), aue = (o) => o.map((i) => _fe(i, eUe)), tUe = 300;
79097
79097
  function nUe(o, s) {
79098
79098
  const i = hn([]), u = hn(-1), f = jn(() => u.value > 0), p = jn(() => u.value < i.value.length - 1), v = () => {
79099
- const U = kc(Bt(o)), X = kc(Bt(s));
79099
+ const U = kc(Pt(o)), X = kc(Pt(s));
79100
79100
  i.value = [
79101
79101
  {
79102
79102
  nodes: U,
@@ -79107,7 +79107,7 @@ function nUe(o, s) {
79107
79107
  }, S = Y_(() => {
79108
79108
  if (_.value) return;
79109
79109
  u.value < i.value.length - 1 && i.value.splice(u.value + 1);
79110
- const U = kc(Bt(o)), X = kc(Bt(s)), q = i.value[u.value], te = !Di(q == null ? void 0 : q.nodes, U), Y = !Di(q == null ? void 0 : q.edges, X);
79110
+ const U = kc(Pt(o)), X = kc(Pt(s)), q = i.value[u.value], te = !Di(q == null ? void 0 : q.nodes, U), Y = !Di(q == null ? void 0 : q.edges, X);
79111
79111
  let j = null;
79112
79112
  if (te && Y)
79113
79113
  j = "both";
@@ -79159,30 +79159,30 @@ function nUe(o, s) {
79159
79159
  }
79160
79160
  const fpe = Symbol("flow"), Oz = 300;
79161
79161
  function mpe(o, s) {
79162
- const i = hn(kc(Bt(o))), u = hn(kc(Bt(s)));
79162
+ const i = hn(kc(Pt(o))), u = hn(kc(Pt(s)));
79163
79163
  nUe(i, u);
79164
- const f = jn(() => Eoe(Bt(i))), p = (F) => {
79164
+ const f = jn(() => Eoe(Pt(i))), p = (F) => {
79165
79165
  const U = Eoe(F);
79166
79166
  Di(f.value, U) || (i.value = U);
79167
79167
  }, v = Y_(() => {
79168
- Di(Bt(f), Bt(o)) || (o.value = kc(Bt(f)));
79168
+ Di(Pt(f), Pt(o)) || (o.value = kc(Pt(f)));
79169
79169
  }, Oz);
79170
79170
  es(f, v);
79171
79171
  const w = Y_(() => {
79172
- Di(Bt(f), Bt(o)) || (i.value = kc(Bt(o)));
79172
+ Di(Pt(f), Pt(o)) || (i.value = kc(Pt(o)));
79173
79173
  }, Oz);
79174
79174
  es(o, w, {
79175
79175
  deep: !0
79176
79176
  });
79177
- const S = jn(() => aue(Bt(u))), _ = (F) => {
79177
+ const S = jn(() => aue(Pt(u))), _ = (F) => {
79178
79178
  const U = aue(F);
79179
79179
  Di(S.value, U) || (u.value = U);
79180
79180
  }, A = Y_(() => {
79181
- Di(Bt(S), Bt(s)) || (s.value = kc(Bt(S)));
79181
+ Di(Pt(S), Pt(s)) || (s.value = kc(Pt(S)));
79182
79182
  }, Oz);
79183
79183
  es(S, A);
79184
79184
  const O = Y_(() => {
79185
- Di(Bt(S), Bt(s)) || (u.value = kc(Bt(s)));
79185
+ Di(Pt(S), Pt(s)) || (u.value = kc(Pt(s)));
79186
79186
  }, Oz);
79187
79187
  es(s, O, {
79188
79188
  deep: !0
@@ -79435,17 +79435,17 @@ function zse() {
79435
79435
  } };
79436
79436
  }
79437
79437
  const Fj = () => {
79438
- const { edges: o, nodes: s } = jr(), { nodeTypes: i } = Ey(), u = jn(() => i.map((S) => S.type)), f = (S) => Bt(s).find((_) => _.id === S), p = (S) => {
79438
+ const { edges: o, nodes: s } = jr(), { nodeTypes: i } = Ey(), u = jn(() => i.map((S) => S.type)), f = (S) => Pt(s).find((_) => _.id === S), p = (S) => {
79439
79439
  var _;
79440
- return (_ = Bt(o)) == null ? void 0 : _.filter((A) => A.target === S);
79440
+ return (_ = Pt(o)) == null ? void 0 : _.filter((A) => A.target === S);
79441
79441
  }, v = (S) => {
79442
79442
  var _;
79443
- return (_ = Bt(o)) == null ? void 0 : _.filter((A) => A.source === S);
79443
+ return (_ = Pt(o)) == null ? void 0 : _.filter((A) => A.source === S);
79444
79444
  };
79445
79445
  return {
79446
79446
  isValidConnection: (S) => {
79447
79447
  const _ = f(S == null ? void 0 : S.target), A = f(S == null ? void 0 : S.source), O = p(S == null ? void 0 : S.target), R = v(S == null ? void 0 : S.source);
79448
- return !((A == null ? void 0 : A.type) === "start" && (R == null ? void 0 : R.length) > 0 || (_ == null ? void 0 : _.type) === "end" && (O == null ? void 0 : O.length) > 0 || Bt(u).includes(A == null ? void 0 : A.type) && (R == null ? void 0 : R.length) > 0);
79448
+ return !((A == null ? void 0 : A.type) === "start" && (R == null ? void 0 : R.length) > 0 || (_ == null ? void 0 : _.type) === "end" && (O == null ? void 0 : O.length) > 0 || Pt(u).includes(A == null ? void 0 : A.type) && (R == null ? void 0 : R.length) > 0);
79449
79449
  }
79450
79450
  };
79451
79451
  }, fUe = { class: "w-full flex flex-col" }, mUe = { class: "flex items-center" }, gUe = { class: "text-[#333]" }, pUe = {
@@ -79791,7 +79791,7 @@ const EUe = { class: "w-full flex flex-col" }, TUe = { class: "grid grid-cols-2
79791
79791
  () => {
79792
79792
  var A;
79793
79793
  Le(i)(
79794
- (A = Bt(Le(u))) == null ? void 0 : A.map((O) => {
79794
+ (A = Pt(Le(u))) == null ? void 0 : A.map((O) => {
79795
79795
  var R;
79796
79796
  return (O == null ? void 0 : O.id) === ((R = Le(s)) == null ? void 0 : R.id) ? {
79797
79797
  ...O,
@@ -79961,7 +79961,7 @@ function xpe(o) {
79961
79961
  }
79962
79962
  const LUe = {
79963
79963
  __name: "index",
79964
- props: /* @__PURE__ */ ei({
79964
+ props: /* @__PURE__ */ ai({
79965
79965
  nodeTypes: {
79966
79966
  type: Array,
79967
79967
  default: () => []
@@ -79986,7 +79986,7 @@ const LUe = {
79986
79986
  },
79987
79987
  edgesModifiers: {}
79988
79988
  }),
79989
- emits: /* @__PURE__ */ ei(["onEdgeDoubleClick", "onNodeDoubleClick"], ["update:nodes", "update:edges"]),
79989
+ emits: /* @__PURE__ */ ai(["onEdgeDoubleClick", "onNodeDoubleClick"], ["update:nodes", "update:edges"]),
79990
79990
  setup(o, { expose: s, emit: i }) {
79991
79991
  const u = o, f = Rr(o, "nodes"), p = Rr(o, "edges"), v = i, { nodes: w, edges: S } = mpe(f, p), _ = hn(null);
79992
79992
  xpe({
@@ -80066,7 +80066,7 @@ const LUe = {
80066
80066
  }
80067
80067
  }, HUe = {
80068
80068
  __name: "Preview",
80069
- props: /* @__PURE__ */ ei({
80069
+ props: /* @__PURE__ */ ai({
80070
80070
  nodeTypes: {
80071
80071
  type: Array,
80072
80072
  default: () => []
@@ -80083,7 +80083,7 @@ const LUe = {
80083
80083
  },
80084
80084
  edgesModifiers: {}
80085
80085
  }),
80086
- emits: /* @__PURE__ */ ei(["onEdgeDoubleClick", "onNodeDoubleClick"], ["update:nodes", "update:edges"]),
80086
+ emits: /* @__PURE__ */ ai(["onEdgeDoubleClick", "onNodeDoubleClick"], ["update:nodes", "update:edges"]),
80087
80087
  setup(o, { expose: s, emit: i }) {
80088
80088
  const u = o, f = Rr(o, "nodes"), p = Rr(o, "edges"), v = i, { nodes: w, edges: S } = mpe(f, p);
80089
80089
  hpe({ nodeTypes: u == null ? void 0 : u.nodeTypes, mode: "preview" }), xpe();
@@ -80307,7 +80307,7 @@ var Ty = hy(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), _I = hy(/E
80307
80307
  capture: !1,
80308
80308
  passive: !1
80309
80309
  };
80310
- function ri(o, s, i) {
80310
+ function si(o, s, i) {
80311
80311
  o.addEventListener(s, i, !Ty && $pe);
80312
80312
  }
80313
80313
  function ja(o, s, i) {
@@ -80832,7 +80832,7 @@ function gr(o, s) {
80832
80832
  Fpe(s);
80833
80833
  for (var f in this)
80834
80834
  f.charAt(0) === "_" && typeof this[f] == "function" && (this[f] = this[f].bind(this));
80835
- this.nativeDraggable = s.forceFallback ? !1 : mje, this.nativeDraggable && (this.options.touchStartThreshold = 1), s.supportPointer ? ri(o, "pointerdown", this._onTapStart) : (ri(o, "mousedown", this._onTapStart), ri(o, "touchstart", this._onTapStart)), this.nativeDraggable && (ri(o, "dragover", this), ri(o, "dragenter", this)), RU.push(this.el), s.store && s.store.get && this.sort(s.store.get(this) || []), wy(this, lje());
80835
+ this.nativeDraggable = s.forceFallback ? !1 : mje, this.nativeDraggable && (this.options.touchStartThreshold = 1), s.supportPointer ? si(o, "pointerdown", this._onTapStart) : (si(o, "mousedown", this._onTapStart), si(o, "touchstart", this._onTapStart)), this.nativeDraggable && (si(o, "dragover", this), si(o, "dragenter", this)), RU.push(this.el), s.store && s.store.get && this.sort(s.store.get(this) || []), wy(this, lje());
80836
80836
  }
80837
80837
  gr.prototype = /** @lends Sortable.prototype */
80838
80838
  {
@@ -80903,14 +80903,14 @@ gr.prototype = /** @lends Sortable.prototype */
80903
80903
  }), Wg(Go, p.chosenClass, !0);
80904
80904
  }, p.ignore.split(",").forEach(function(_) {
80905
80905
  Dpe(Go, _.trim(), Ane);
80906
- }), ri(v, "dragover", V_), ri(v, "mousemove", V_), ri(v, "touchmove", V_), ri(v, "mouseup", u._onDrop), ri(v, "touchend", u._onDrop), ri(v, "touchcancel", u._onDrop), gue && this.nativeDraggable && (this.options.touchStartThreshold = 4, Go.draggable = !0), qm("delayStart", this, {
80906
+ }), si(v, "dragover", V_), si(v, "mousemove", V_), si(v, "touchmove", V_), si(v, "mouseup", u._onDrop), si(v, "touchend", u._onDrop), si(v, "touchcancel", u._onDrop), gue && this.nativeDraggable && (this.options.touchStartThreshold = 4, Go.draggable = !0), qm("delayStart", this, {
80907
80907
  evt: o
80908
80908
  }), p.delay && (!p.delayOnTouchOnly || s) && (!this.nativeDraggable || !(_I || Ty))) {
80909
80909
  if (gr.eventCanceled) {
80910
80910
  this._onDrop();
80911
80911
  return;
80912
80912
  }
80913
- ri(v, "mouseup", u._disableDelayedDrag), ri(v, "touchend", u._disableDelayedDrag), ri(v, "touchcancel", u._disableDelayedDrag), ri(v, "mousemove", u._delayedDragTouchMoveHandler), ri(v, "touchmove", u._delayedDragTouchMoveHandler), p.supportPointer && ri(v, "pointermove", u._delayedDragTouchMoveHandler), u._dragStartTimer = setTimeout(w, p.delay);
80913
+ si(v, "mouseup", u._disableDelayedDrag), si(v, "touchend", u._disableDelayedDrag), si(v, "touchcancel", u._disableDelayedDrag), si(v, "mousemove", u._delayedDragTouchMoveHandler), si(v, "touchmove", u._delayedDragTouchMoveHandler), p.supportPointer && si(v, "pointermove", u._delayedDragTouchMoveHandler), u._dragStartTimer = setTimeout(w, p.delay);
80914
80914
  } else
80915
80915
  w();
80916
80916
  }
@@ -80927,7 +80927,7 @@ gr.prototype = /** @lends Sortable.prototype */
80927
80927
  ja(o, "mouseup", this._disableDelayedDrag), ja(o, "touchend", this._disableDelayedDrag), ja(o, "touchcancel", this._disableDelayedDrag), ja(o, "mousemove", this._delayedDragTouchMoveHandler), ja(o, "touchmove", this._delayedDragTouchMoveHandler), ja(o, "pointermove", this._delayedDragTouchMoveHandler);
80928
80928
  },
80929
80929
  _triggerDragStart: function(o, s) {
80930
- s = s || o.pointerType == "touch" && o, !this.nativeDraggable || s ? this.options.supportPointer ? ri(document, "pointermove", this._onTouchMove) : s ? ri(document, "touchmove", this._onTouchMove) : ri(document, "mousemove", this._onTouchMove) : (ri(Go, "dragend", this), ri(Ul, "dragstart", this._onDragStart));
80930
+ s = s || o.pointerType == "touch" && o, !this.nativeDraggable || s ? this.options.supportPointer ? si(document, "pointermove", this._onTouchMove) : s ? si(document, "touchmove", this._onTouchMove) : si(document, "mousemove", this._onTouchMove) : (si(Go, "dragend", this), si(Ul, "dragstart", this._onDragStart));
80931
80931
  try {
80932
80932
  document.selection ? Xz(function() {
80933
80933
  document.selection.empty();
@@ -80939,7 +80939,7 @@ gr.prototype = /** @lends Sortable.prototype */
80939
80939
  if (R4 = !1, Ul && Go) {
80940
80940
  qm("dragStarted", this, {
80941
80941
  evt: s
80942
- }), this.nativeDraggable && ri(document, "dragover", hje);
80942
+ }), this.nativeDraggable && si(document, "dragover", hje);
80943
80943
  var i = this.options;
80944
80944
  !o && Wg(Go, i.dragClass, !1), Wg(Go, i.ghostClass, !0), gr.active = this, o && this._appendGhost(), im({
80945
80945
  sortable: this,
@@ -81018,7 +81018,7 @@ gr.prototype = /** @lends Sortable.prototype */
81018
81018
  sortable: i,
81019
81019
  name: "clone"
81020
81020
  }));
81021
- }), !s && Wg(Go, f.dragClass, !0), s ? (MU = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (ja(document, "mouseup", i._onDrop), ja(document, "touchend", i._onDrop), ja(document, "touchcancel", i._onDrop), u && (u.effectAllowed = "move", f.setData && f.setData.call(i, u, Go)), ri(document, "drop", i), mr(Go, "transform", "translateZ(0)")), R4 = !0, i._dragStartId = Xz(i._dragStarted.bind(i, s, o)), ri(document, "selectstart", i), _R = !0, IR && mr(document.body, "user-select", "none");
81021
+ }), !s && Wg(Go, f.dragClass, !0), s ? (MU = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (ja(document, "mouseup", i._onDrop), ja(document, "touchend", i._onDrop), ja(document, "touchcancel", i._onDrop), u && (u.effectAllowed = "move", f.setData && f.setData.call(i, u, Go)), si(document, "drop", i), mr(Go, "transform", "translateZ(0)")), R4 = !0, i._dragStartId = Xz(i._dragStarted.bind(i, s, o)), si(document, "selectstart", i), _R = !0, IR && mr(document.body, "user-select", "none");
81022
81022
  },
81023
81023
  // Returns true - if no further action is needed (either inserted or another condition)
81024
81024
  _onDragOver: function(o) {
@@ -81329,11 +81329,11 @@ function Xz(o) {
81329
81329
  function Aoe(o) {
81330
81330
  return clearTimeout(o);
81331
81331
  }
81332
- Lj && ri(document, "touchmove", function(o) {
81332
+ Lj && si(document, "touchmove", function(o) {
81333
81333
  (gr.active || R4) && o.cancelable && o.preventDefault();
81334
81334
  });
81335
81335
  gr.utils = {
81336
- on: ri,
81336
+ on: si,
81337
81337
  off: ja,
81338
81338
  css: mr,
81339
81339
  find: Dpe,
@@ -81383,7 +81383,7 @@ function Eje() {
81383
81383
  return o.prototype = {
81384
81384
  dragStarted: function(s) {
81385
81385
  var i = s.originalEvent;
81386
- this.sortable.nativeDraggable ? ri(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? ri(document, "pointermove", this._handleFallbackAutoScroll) : i.touches ? ri(document, "touchmove", this._handleFallbackAutoScroll) : ri(document, "mousemove", this._handleFallbackAutoScroll);
81386
+ this.sortable.nativeDraggable ? si(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? si(document, "pointermove", this._handleFallbackAutoScroll) : i.touches ? si(document, "touchmove", this._handleFallbackAutoScroll) : si(document, "mousemove", this._handleFallbackAutoScroll);
81387
81387
  },
81388
81388
  dragOverCompleted: function(s) {
81389
81389
  var i = s.originalEvent;
@@ -81738,7 +81738,7 @@ const Doe = [
81738
81738
  }
81739
81739
  }), Mje = { class: "flex-center gap-x-2" }, Rje = { class: "flex-center" }, Ije = {
81740
81740
  __name: "index",
81741
- props: /* @__PURE__ */ ei({
81741
+ props: /* @__PURE__ */ ai({
81742
81742
  // 是否是单选
81743
81743
  isSingle: {
81744
81744
  type: Boolean,
@@ -81965,7 +81965,7 @@ const Doe = [
81965
81965
  }
81966
81966
  ], Bje = {
81967
81967
  __name: "index",
81968
- props: /* @__PURE__ */ ei({}, {
81968
+ props: /* @__PURE__ */ ai({}, {
81969
81969
  modelValue: {},
81970
81970
  modelModifiers: {}
81971
81971
  }),
@@ -82022,10 +82022,10 @@ const Doe = [
82022
82022
  class: "gap-x-2 flex w-full max-w-[280px] input-box"
82023
82023
  }, Lje = {
82024
82024
  __name: "index",
82025
- props: /* @__PURE__ */ ei({}, {
82025
+ props: {
82026
82026
  modelValue: {},
82027
82027
  modelModifiers: {}
82028
- }),
82028
+ },
82029
82029
  emits: ["update:modelValue"],
82030
82030
  setup(o) {
82031
82031
  const s = Rr(o, "modelValue"), i = hn(""), u = hn({
@@ -82040,7 +82040,7 @@ const Doe = [
82040
82040
  return es(i, (p) => {
82041
82041
  var v;
82042
82042
  if (p) {
82043
- const [w, S] = (v = p == null ? void 0 : p.split("/")) == null ? void 0 : v.filter(Boolean);
82043
+ const [w, S] = ((v = p == null ? void 0 : p.split("/")) == null ? void 0 : v.filter(Boolean)) || [];
82044
82044
  w && S && (s.value = {
82045
82045
  "true-value": w,
82046
82046
  "false-value": S
@@ -82049,7 +82049,7 @@ const Doe = [
82049
82049
  s.value = JSON.parse(JSON.stringify(u.value));
82050
82050
  }), Xi(() => {
82051
82051
  if (f.value)
82052
- i.value = `${s["true-value"]}/${s["false-value"]}`;
82052
+ i.value = `${Pt(s)["true-value"]}/${Pt(s)["false-value"]}`;
82053
82053
  else
82054
82054
  try {
82055
82055
  u.value = JSON.parse(JSON.stringify(s.value)) || {};
@@ -82151,9 +82151,9 @@ const Doe = [
82151
82151
  ]))
82152
82152
  ]));
82153
82153
  }
82154
- }, Hje = /* @__PURE__ */ Ji(Lje, [["__scopeId", "data-v-2344fc93"]]), Vje = Symbol("userPicker"), zje = /* @__PURE__ */ Wo({
82154
+ }, Hje = /* @__PURE__ */ Ji(Lje, [["__scopeId", "data-v-b58c7782"]]), Vje = Symbol("userPicker"), zje = /* @__PURE__ */ Wo({
82155
82155
  __name: "provider",
82156
- props: /* @__PURE__ */ ei({
82156
+ props: /* @__PURE__ */ ai({
82157
82157
  /** 默认显示的内容,是否简写 */
82158
82158
  isAbbr: {
82159
82159
  type: Boolean,
@@ -82218,7 +82218,7 @@ const Doe = [
82218
82218
  grouplist: [],
82219
82219
  positionlist: []
82220
82220
  }), v = async () => {
82221
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? jje : Uje;
82221
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? jje : Uje;
82222
82222
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
82223
82223
  S ? p.value = {
82224
82224
  ...p.value,
@@ -82229,7 +82229,7 @@ const Doe = [
82229
82229
  }));
82230
82230
  };
82231
82231
  return es(
82232
- () => Bt(s),
82232
+ () => Pt(s),
82233
82233
  (w, S) => {
82234
82234
  Di(w, S) || v();
82235
82235
  },
@@ -82244,14 +82244,14 @@ const Doe = [
82244
82244
  };
82245
82245
  }, pO = (o) => {
82246
82246
  const { params: s, type: i = "userIds" } = o, u = jn(() => {
82247
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
82247
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
82248
82248
  let O = { keyword: S, unitId: _ };
82249
82249
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
82250
82250
  }), { loading: f, refresh: p, allData: v } = Wje({ params: u, type: i }), w = jn(() => {
82251
82251
  var F, U, X, q, te;
82252
82252
  let S = [];
82253
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
82254
- switch (Bt(i)) {
82253
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
82254
+ switch (Pt(i)) {
82255
82255
  case "userIds":
82256
82256
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
82257
82257
  var j;
@@ -82274,7 +82274,7 @@ const Doe = [
82274
82274
  allData: v
82275
82275
  };
82276
82276
  }, Wpe = (o) => {
82277
- if (Bt(o)) {
82277
+ if (Pt(o)) {
82278
82278
  const { data: s } = pO({
82279
82279
  type: "userIds"
82280
82280
  });
@@ -82282,7 +82282,7 @@ const Doe = [
82282
82282
  var u;
82283
82283
  return ((u = s.value) == null ? void 0 : u.filter((f) => {
82284
82284
  var p;
82285
- return (p = Bt(o)) == null ? void 0 : p.includes(f.id);
82285
+ return (p = Pt(o)) == null ? void 0 : p.includes(f.id);
82286
82286
  })) || [];
82287
82287
  });
82288
82288
  } else
@@ -82343,7 +82343,7 @@ const Doe = [
82343
82343
  });
82344
82344
  return jn(() => {
82345
82345
  var v, w;
82346
- const u = ((v = s.value) == null ? void 0 : v.grouplist) || [], p = (Bt(o) || []).reduce((S, _) => {
82346
+ const u = ((v = s.value) == null ? void 0 : v.grouplist) || [], p = (Pt(o) || []).reduce((S, _) => {
82347
82347
  const A = _.group_id;
82348
82348
  return S[A] || (S[A] = []), S[A].push({
82349
82349
  ..._
@@ -82604,7 +82604,7 @@ const Doe = [
82604
82604
  });
82605
82605
  return jn(() => {
82606
82606
  var v, w;
82607
- const u = ((v = s.value) == null ? void 0 : v.rolelist) || [], p = (Bt(o) || []).reduce((S, _) => ((_.role || []).forEach((O) => {
82607
+ const u = ((v = s.value) == null ? void 0 : v.rolelist) || [], p = (Pt(o) || []).reduce((S, _) => ((_.role || []).forEach((O) => {
82608
82608
  S[O] || (S[O] = []), S[O].some((F) => F.originalId === _.id) || S[O].push({
82609
82609
  ..._,
82610
82610
  // 为每个用户在不同角色下生成唯一ID:角色ID_用户ID
@@ -82639,7 +82639,7 @@ const Doe = [
82639
82639
  type: "userIds"
82640
82640
  }), p = bWe(u), v = hn(null), w = jn(() => {
82641
82641
  const O = [];
82642
- return (Bt(i) || []).forEach((F) => {
82642
+ return (Pt(i) || []).forEach((F) => {
82643
82643
  var U;
82644
82644
  (U = p.value) == null || U.forEach((X) => {
82645
82645
  var q;
@@ -82942,7 +82942,7 @@ const Doe = [
82942
82942
  }
82943
82943
  }), FWe = /* @__PURE__ */ Wo({
82944
82944
  __name: "index",
82945
- props: /* @__PURE__ */ ei({
82945
+ props: /* @__PURE__ */ ai({
82946
82946
  /** 默认显示的内容,是否简写 */
82947
82947
  isAbbr: {
82948
82948
  type: Boolean,
@@ -82962,7 +82962,7 @@ const Doe = [
82962
82962
  modelValue: { default: [] },
82963
82963
  modelModifiers: {}
82964
82964
  }),
82965
- emits: /* @__PURE__ */ ei(["ok"], ["update:modelValue"]),
82965
+ emits: /* @__PURE__ */ ai(["ok"], ["update:modelValue"]),
82966
82966
  setup(o, { emit: s }) {
82967
82967
  const i = o, u = Rr(o, "modelValue"), f = hn(null), p = Wpe(u), v = s, w = () => {
82968
82968
  var S;
@@ -83034,7 +83034,7 @@ const Doe = [
83034
83034
  grouplist: [],
83035
83035
  positionlist: []
83036
83036
  }), v = async () => {
83037
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? HWe : LWe;
83037
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? HWe : LWe;
83038
83038
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
83039
83039
  S ? p.value = {
83040
83040
  ...p.value,
@@ -83045,7 +83045,7 @@ const Doe = [
83045
83045
  }));
83046
83046
  };
83047
83047
  return es(
83048
- () => Bt(s),
83048
+ () => Pt(s),
83049
83049
  (w, S) => {
83050
83050
  Di(w, S) || v();
83051
83051
  },
@@ -83060,14 +83060,14 @@ const Doe = [
83060
83060
  };
83061
83061
  }, zWe = (o) => {
83062
83062
  const { params: s, type: i = "userIds" } = o, u = jn(() => {
83063
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
83063
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
83064
83064
  let O = { keyword: S, unitId: _ };
83065
83065
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
83066
83066
  }), { loading: f, refresh: p, allData: v } = VWe({ params: u, type: i }), w = jn(() => {
83067
83067
  var F, U, X, q, te;
83068
83068
  let S = [];
83069
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83070
- switch (Bt(i)) {
83069
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83070
+ switch (Pt(i)) {
83071
83071
  case "userIds":
83072
83072
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
83073
83073
  var j;
@@ -83091,7 +83091,7 @@ const Doe = [
83091
83091
  };
83092
83092
  }, UWe = /* @__PURE__ */ Wo({
83093
83093
  __name: "index",
83094
- props: /* @__PURE__ */ ei({
83094
+ props: /* @__PURE__ */ ai({
83095
83095
  ariaLabel: {},
83096
83096
  id: {},
83097
83097
  size: {},
@@ -83202,7 +83202,7 @@ const Doe = [
83202
83202
  grouplist: [],
83203
83203
  positionlist: []
83204
83204
  }), v = async () => {
83205
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? GWe : ZWe;
83205
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? GWe : ZWe;
83206
83206
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
83207
83207
  S ? p.value = {
83208
83208
  ...p.value,
@@ -83213,7 +83213,7 @@ const Doe = [
83213
83213
  }));
83214
83214
  };
83215
83215
  return es(
83216
- () => Bt(s),
83216
+ () => Pt(s),
83217
83217
  (w, S) => {
83218
83218
  Di(w, S) || v();
83219
83219
  },
@@ -83228,14 +83228,14 @@ const Doe = [
83228
83228
  };
83229
83229
  }, Ype = (o) => {
83230
83230
  const { params: s, type: i = "groupIds" } = o, u = jn(() => {
83231
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
83231
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
83232
83232
  let O = { keyword: S, unitId: _ };
83233
83233
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
83234
83234
  }), { loading: f, refresh: p, allData: v } = qWe({ params: u, type: i }), w = jn(() => {
83235
83235
  var F, U, X, q, te;
83236
83236
  let S = [];
83237
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83238
- switch (Bt(i)) {
83237
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83238
+ switch (Pt(i)) {
83239
83239
  case "userIds":
83240
83240
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
83241
83241
  var j;
@@ -83258,7 +83258,7 @@ const Doe = [
83258
83258
  allData: v
83259
83259
  };
83260
83260
  }, Kpe = (o) => {
83261
- if (Bt(o)) {
83261
+ if (Pt(o)) {
83262
83262
  const { data: s } = Ype({
83263
83263
  type: "groupIds"
83264
83264
  });
@@ -83266,7 +83266,7 @@ const Doe = [
83266
83266
  var u;
83267
83267
  return ((u = s.value) == null ? void 0 : u.filter((f) => {
83268
83268
  var p;
83269
- return (p = Bt(o)) == null ? void 0 : p.includes(f.id);
83269
+ return (p = Pt(o)) == null ? void 0 : p.includes(f.id);
83270
83270
  })) || [];
83271
83271
  });
83272
83272
  } else
@@ -83430,7 +83430,7 @@ const Doe = [
83430
83430
  };
83431
83431
  return s({
83432
83432
  show: ({ data: w, callback: S }) => {
83433
- i.value = !0, f.value = kc(Bt(w)), u = S;
83433
+ i.value = !0, f.value = kc(Pt(w)), u = S;
83434
83434
  }
83435
83435
  }), (w, S) => (vt(), jo(Le(HU), {
83436
83436
  modelValue: i.value,
@@ -83544,7 +83544,7 @@ const Doe = [
83544
83544
  }
83545
83545
  }), CZe = /* @__PURE__ */ Wo({
83546
83546
  __name: "index",
83547
- props: /* @__PURE__ */ ei({
83547
+ props: /* @__PURE__ */ ai({
83548
83548
  /** 默认显示的内容,是否简写 */
83549
83549
  isAbbr: {
83550
83550
  type: Boolean,
@@ -83631,7 +83631,7 @@ const Doe = [
83631
83631
  grouplist: [],
83632
83632
  positionlist: []
83633
83633
  }), v = async () => {
83634
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? xZe : SZe;
83634
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? xZe : SZe;
83635
83635
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
83636
83636
  S ? p.value = {
83637
83637
  ...p.value,
@@ -83642,7 +83642,7 @@ const Doe = [
83642
83642
  }));
83643
83643
  };
83644
83644
  return es(
83645
- () => Bt(s),
83645
+ () => Pt(s),
83646
83646
  (w, S) => {
83647
83647
  Di(w, S) || v();
83648
83648
  },
@@ -83657,14 +83657,14 @@ const Doe = [
83657
83657
  };
83658
83658
  }, EZe = (o) => {
83659
83659
  const { params: s, type: i = "groupIds" } = o, u = jn(() => {
83660
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
83660
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
83661
83661
  let O = { keyword: S, unitId: _ };
83662
83662
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
83663
83663
  }), { loading: f, refresh: p, allData: v } = _Ze({ params: u, type: i }), w = jn(() => {
83664
83664
  var F, U, X, q, te;
83665
83665
  let S = [];
83666
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83667
- switch (Bt(i)) {
83666
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83667
+ switch (Pt(i)) {
83668
83668
  case "userIds":
83669
83669
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
83670
83670
  var j;
@@ -83688,7 +83688,7 @@ const Doe = [
83688
83688
  };
83689
83689
  }, TZe = /* @__PURE__ */ Wo({
83690
83690
  __name: "index",
83691
- props: /* @__PURE__ */ ei({
83691
+ props: /* @__PURE__ */ ai({
83692
83692
  ariaLabel: {},
83693
83693
  id: {},
83694
83694
  size: {},
@@ -83799,7 +83799,7 @@ const Doe = [
83799
83799
  grouplist: [],
83800
83800
  positionlist: []
83801
83801
  }), v = async () => {
83802
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? $Ze : OZe;
83802
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? $Ze : OZe;
83803
83803
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
83804
83804
  S ? p.value = {
83805
83805
  ...p.value,
@@ -83810,7 +83810,7 @@ const Doe = [
83810
83810
  }));
83811
83811
  };
83812
83812
  return es(
83813
- () => Bt(s),
83813
+ () => Pt(s),
83814
83814
  (w, S) => {
83815
83815
  Di(w, S) || v();
83816
83816
  },
@@ -83825,14 +83825,14 @@ const Doe = [
83825
83825
  };
83826
83826
  }, ehe = (o) => {
83827
83827
  const { params: s, type: i = "roleIds" } = o, u = jn(() => {
83828
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
83828
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
83829
83829
  let O = { keyword: S, unitId: _ };
83830
83830
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
83831
83831
  }), { loading: f, refresh: p, allData: v } = DZe({ params: u, type: i }), w = jn(() => {
83832
83832
  var F, U, X, q, te;
83833
83833
  let S = [];
83834
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83835
- switch (Bt(i)) {
83834
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
83835
+ switch (Pt(i)) {
83836
83836
  case "userIds":
83837
83837
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
83838
83838
  var j;
@@ -83855,7 +83855,7 @@ const Doe = [
83855
83855
  allData: v
83856
83856
  };
83857
83857
  }, the = (o) => {
83858
- if (Bt(o)) {
83858
+ if (Pt(o)) {
83859
83859
  const { data: s } = ehe({
83860
83860
  type: "roleIds"
83861
83861
  });
@@ -83863,7 +83863,7 @@ const Doe = [
83863
83863
  var u;
83864
83864
  return ((u = s.value) == null ? void 0 : u.filter((f) => {
83865
83865
  var p;
83866
- return (p = Bt(o)) == null ? void 0 : p.includes(f.id);
83866
+ return (p = Pt(o)) == null ? void 0 : p.includes(f.id);
83867
83867
  })) || [];
83868
83868
  });
83869
83869
  } else
@@ -84022,7 +84022,7 @@ const Doe = [
84022
84022
  };
84023
84023
  return s({
84024
84024
  show: ({ data: w, callback: S }) => {
84025
- i.value = !0, f.value = kc(Bt(w)), u = S;
84025
+ i.value = !0, f.value = kc(Pt(w)), u = S;
84026
84026
  }
84027
84027
  }), (w, S) => (vt(), jo(Le(HU), {
84028
84028
  modelValue: i.value,
@@ -84131,7 +84131,7 @@ const Doe = [
84131
84131
  }
84132
84132
  }), oGe = /* @__PURE__ */ Wo({
84133
84133
  __name: "index",
84134
- props: /* @__PURE__ */ ei({
84134
+ props: /* @__PURE__ */ ai({
84135
84135
  /** 默认显示的内容,是否简写 */
84136
84136
  isAbbr: {
84137
84137
  type: Boolean,
@@ -84212,7 +84212,7 @@ const Doe = [
84212
84212
  grouplist: [],
84213
84213
  positionlist: []
84214
84214
  }), v = async () => {
84215
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? rGe : sGe;
84215
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? rGe : sGe;
84216
84216
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
84217
84217
  S ? p.value = {
84218
84218
  ...p.value,
@@ -84223,7 +84223,7 @@ const Doe = [
84223
84223
  }));
84224
84224
  };
84225
84225
  return es(
84226
- () => Bt(s),
84226
+ () => Pt(s),
84227
84227
  (w, S) => {
84228
84228
  Di(w, S) || v();
84229
84229
  },
@@ -84238,14 +84238,14 @@ const Doe = [
84238
84238
  };
84239
84239
  }, iGe = (o) => {
84240
84240
  const { params: s, type: i = "userIds" } = o, u = jn(() => {
84241
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
84241
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
84242
84242
  let O = { keyword: S, unitId: _ };
84243
84243
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
84244
84244
  }), { loading: f, refresh: p, allData: v } = aGe({ params: u, type: i }), w = jn(() => {
84245
84245
  var F, U, X, q, te;
84246
84246
  let S = [];
84247
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
84248
- switch (Bt(i)) {
84247
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
84248
+ switch (Pt(i)) {
84249
84249
  case "userIds":
84250
84250
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
84251
84251
  var j;
@@ -84269,7 +84269,7 @@ const Doe = [
84269
84269
  };
84270
84270
  }, lGe = /* @__PURE__ */ Wo({
84271
84271
  __name: "index",
84272
- props: /* @__PURE__ */ ei({
84272
+ props: /* @__PURE__ */ ai({
84273
84273
  ariaLabel: {},
84274
84274
  id: {},
84275
84275
  size: {},
@@ -84367,7 +84367,7 @@ const Doe = [
84367
84367
  grouplist: [],
84368
84368
  positionlist: []
84369
84369
  }), v = async () => {
84370
- const w = Bt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Bt(i) === "role", _ = S ? uGe : cGe;
84370
+ const w = Pt(s) || {}, S = (w == null ? void 0 : w.groupIds) && Pt(i) === "role", _ = S ? uGe : cGe;
84371
84371
  f.value = !0, await (_ == null ? void 0 : _(w, u).then((A) => {
84372
84372
  S ? p.value = {
84373
84373
  ...p.value,
@@ -84378,7 +84378,7 @@ const Doe = [
84378
84378
  }));
84379
84379
  };
84380
84380
  return es(
84381
- () => Bt(s),
84381
+ () => Pt(s),
84382
84382
  (w, S) => {
84383
84383
  Di(w, S) || v();
84384
84384
  },
@@ -84393,14 +84393,14 @@ const Doe = [
84393
84393
  };
84394
84394
  }, rhe = (o) => {
84395
84395
  const { params: s, type: i = "groupIds" } = o, u = jn(() => {
84396
- const { keyword: S, unitId: _, groupIds: A } = Bt(s) || {};
84396
+ const { keyword: S, unitId: _, groupIds: A } = Pt(s) || {};
84397
84397
  let O = { keyword: S, unitId: _ };
84398
84398
  return i === "roleIds" && (O = { ...O, groupIds: A }), O = oC(O), O;
84399
84399
  }), { loading: f, refresh: p, allData: v } = dGe({ params: u, type: i }), w = jn(() => {
84400
84400
  var F, U, X, q, te;
84401
84401
  let S = [];
84402
- const { groupIds: _, roleIds: A } = Bt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
84403
- switch (Bt(i)) {
84402
+ const { groupIds: _, roleIds: A } = Pt(s) || {}, O = (F = _ == null ? void 0 : _.split(",")) == null ? void 0 : F.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
84403
+ switch (Pt(i)) {
84404
84404
  case "userIds":
84405
84405
  S = (X = v.value) == null ? void 0 : X.userlist, (O == null ? void 0 : O.length) > 0 && (S = S.filter((Y) => O.includes((Y == null ? void 0 : Y.group_id) + ""))), (R == null ? void 0 : R.length) > 0 && (S = S.filter((Y) => {
84406
84406
  var j;
@@ -84439,10 +84439,10 @@ const Doe = [
84439
84439
  },
84440
84440
  modelModifiers: {}
84441
84441
  },
84442
- emits: /* @__PURE__ */ ei(["ok"], ["update:modelValue"]),
84442
+ emits: /* @__PURE__ */ ai(["ok"], ["update:modelValue"]),
84443
84443
  setup(o, { emit: s }) {
84444
84444
  const i = Rr(o, "modelValue"), u = s, f = () => {
84445
- u("ok", kc(Bt(i)));
84445
+ u("ok", kc(Pt(i)));
84446
84446
  }, p = hn(""), v = hn(""), { allData: w } = rhe({}), S = jn(() => {
84447
84447
  var O;
84448
84448
  const A = ((O = w.value) == null ? void 0 : O.grouplist) || [];
@@ -84528,12 +84528,12 @@ const Doe = [
84528
84528
  ]));
84529
84529
  }
84530
84530
  }), EGe = /* @__PURE__ */ Ji(_Ge, [["__scopeId", "data-v-4d4aa43e"]]), TGe = (o) => {
84531
- if (Bt(o)) {
84531
+ if (Pt(o)) {
84532
84532
  const { allData: s } = rhe({
84533
84533
  type: "groupIds"
84534
84534
  });
84535
84535
  return jn(() => {
84536
- const u = Bt(o) || [], f = [];
84536
+ const u = Pt(o) || [], f = [];
84537
84537
  return u.forEach((p) => {
84538
84538
  var w, S;
84539
84539
  let v = {};