@zyui/components 0.0.78 → 0.0.79

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,10 +1,10 @@
1
1
  var fhe = Object.defineProperty;
2
2
  var mhe = (o, a, i) => a in o ? fhe(o, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[a] = i;
3
3
  var cu = (o, a, i) => mhe(o, typeof a != "symbol" ? a + "" : a, i);
4
- import { defineComponent as zo, reactive as gD, provide as gg, inject as hg, ref as dn, watch as Zo, toValue as Tt, computed as Dn, openBlock as ct, createElementBlock as rn, createElementVNode as jt, mergeModels as fa, useModel as Er, Fragment as ur, renderList as ma, createVNode as fn, unref as De, withCtx as Sn, createCommentVNode as Bo, toDisplayString as Vs, createTextVNode as Gs, createBlock as ho, withDirectives as mz, mergeProps as km, resolveComponent as X4, isRef as gp, onUnmounted as dd, watchEffect as ice, onMounted as Bi, onBeforeUnmount as hD, nextTick as Nf, toRefs as nx, getCurrentScope as Nne, onScopeDispose as aR, renderSlot as Ir, normalizeStyle as Xl, onActivated as ghe, onDeactivated as hhe, h as Ka, withModifiers as ox, Teleport as Mne, normalizeClass as qi, vShow as phe, resolveDynamicComponent as EE, createPropsRestProxy as vhe, toRef as gi, effectScope as lce, getCurrentInstance as sx, useSlots as bhe, onBeforeMount as yhe, useAttrs as whe, isMemoSame as Che, customRef as xhe, markRaw as iR, readonly as She, createStaticVNode as _he, createSlots as cce, normalizeProps as Ehe, guardReactiveProps as The, withKeys as DR } from "vue";
4
+ import { defineComponent as zo, reactive as gD, provide as gg, inject as hg, ref as dn, watch as Zo, toValue as Tt, computed as Dn, openBlock as ct, createElementBlock as rn, createElementVNode as Wt, mergeModels as fa, useModel as Er, Fragment as ur, renderList as ma, createVNode as fn, unref as De, withCtx as Sn, createCommentVNode as Mo, toDisplayString as Vs, createTextVNode as Gs, createBlock as ho, withDirectives as mz, mergeProps as km, resolveComponent as X4, isRef as gp, onUnmounted as dd, watchEffect as ice, onMounted as Bi, onBeforeUnmount as hD, nextTick as Nf, toRefs as nx, getCurrentScope as Nne, onScopeDispose as aR, renderSlot as Ir, normalizeStyle as Xl, onActivated as ghe, onDeactivated as hhe, h as Ka, withModifiers as ox, Teleport as Mne, normalizeClass as qi, vShow as phe, resolveDynamicComponent as EE, createPropsRestProxy as vhe, toRef as gi, effectScope as lce, getCurrentInstance as sx, useSlots as bhe, onBeforeMount as yhe, useAttrs as whe, isMemoSame as Che, customRef as xhe, markRaw as iR, readonly as She, createStaticVNode as _he, createSlots as cce, normalizeProps as Ehe, guardReactiveProps as The, withKeys as DR } from "vue";
5
5
  import khe from "side-channel";
6
6
  import { ElImage as KC, ElIcon as hp, ElPopover as gz, ElForm as rx, ElFormItem as dg, ElInput as dh, ElButton as ju, ElScrollbar as hz, ElLoadingDirective as Rne, ElSelect as zE, ElOption as UE, ElDialog as pz, ElTabs as uce, ElTabPane as dce, useFormItem as Ahe, ElTable as Dhe, ElTableColumn as ZH, ElCheckbox as Ky, ElMessageBox as Ohe, ElRadioGroup as fce, ElRadio as XC, ElTree as mce } from "element-plus";
7
- const $he = "0.0.78";
7
+ const $he = "0.0.79";
8
8
  var Nhe = Object.defineProperty, Mhe = (o, a, i) => a in o ? Nhe(o, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[a] = i, Hee = (o, a, i) => Mhe(o, typeof a != "symbol" ? a + "" : a, i);
9
9
  function gce(o, a) {
10
10
  return function() {
@@ -4811,7 +4811,7 @@ var SCe = /* @__PURE__ */ zo({
4811
4811
  xmlns: "http://www.w3.org/2000/svg",
4812
4812
  viewBox: "0 0 1024 1024"
4813
4813
  }, [
4814
- jt("path", {
4814
+ Wt("path", {
4815
4815
  fill: "currentColor",
4816
4816
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
4817
4817
  })
@@ -4825,7 +4825,7 @@ var SCe = /* @__PURE__ */ zo({
4825
4825
  xmlns: "http://www.w3.org/2000/svg",
4826
4826
  viewBox: "0 0 1024 1024"
4827
4827
  }, [
4828
- jt("path", {
4828
+ Wt("path", {
4829
4829
  fill: "currentColor",
4830
4830
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
4831
4831
  })
@@ -4839,11 +4839,11 @@ var SCe = /* @__PURE__ */ zo({
4839
4839
  xmlns: "http://www.w3.org/2000/svg",
4840
4840
  viewBox: "0 0 1024 1024"
4841
4841
  }, [
4842
- jt("path", {
4842
+ Wt("path", {
4843
4843
  fill: "currentColor",
4844
4844
  d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
4845
4845
  }),
4846
- jt("path", {
4846
+ Wt("path", {
4847
4847
  fill: "currentColor",
4848
4848
  d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
4849
4849
  })
@@ -4857,7 +4857,7 @@ var SCe = /* @__PURE__ */ zo({
4857
4857
  xmlns: "http://www.w3.org/2000/svg",
4858
4858
  viewBox: "0 0 1024 1024"
4859
4859
  }, [
4860
- jt("path", {
4860
+ Wt("path", {
4861
4861
  fill: "currentColor",
4862
4862
  d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
4863
4863
  })
@@ -4871,7 +4871,7 @@ var SCe = /* @__PURE__ */ zo({
4871
4871
  xmlns: "http://www.w3.org/2000/svg",
4872
4872
  viewBox: "0 0 1024 1024"
4873
4873
  }, [
4874
- jt("path", {
4874
+ Wt("path", {
4875
4875
  fill: "currentColor",
4876
4876
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"
4877
4877
  })
@@ -4885,7 +4885,7 @@ var SCe = /* @__PURE__ */ zo({
4885
4885
  xmlns: "http://www.w3.org/2000/svg",
4886
4886
  viewBox: "0 0 1024 1024"
4887
4887
  }, [
4888
- jt("path", {
4888
+ Wt("path", {
4889
4889
  fill: "currentColor",
4890
4890
  d: "M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"
4891
4891
  })
@@ -4943,13 +4943,13 @@ const Yi = (o, a) => {
4943
4943
  key: x,
4944
4944
  onClick: (A) => u(C)
4945
4945
  }, [
4946
- jt("div", RCe, [
4946
+ Wt("div", RCe, [
4947
4947
  fn(De(KC), {
4948
4948
  src: C.face || "",
4949
4949
  class: "face-img"
4950
4950
  }, {
4951
4951
  error: Sn(() => [
4952
- jt("div", ICe, [
4952
+ Wt("div", ICe, [
4953
4953
  fn(De(hp), { size: "16" }, {
4954
4954
  default: Sn(() => [
4955
4955
  fn(De(FR), { color: "#fff" })
@@ -4970,7 +4970,7 @@ const Yi = (o, a) => {
4970
4970
  ]),
4971
4971
  _: 1
4972
4972
  })
4973
- ])) : Bo("", !0),
4973
+ ])) : Mo("", !0),
4974
4974
  (a == null ? void 0 : a.mode) === "delete" ? (ct(), rn("div", {
4975
4975
  key: 1,
4976
4976
  class: "selected-icon remove-icon",
@@ -4985,9 +4985,9 @@ const Yi = (o, a) => {
4985
4985
  ]),
4986
4986
  _: 1
4987
4987
  })
4988
- ], 8, BCe)) : Bo("", !0)
4988
+ ], 8, BCe)) : Mo("", !0)
4989
4989
  ]),
4990
- jt("div", FCe, Vs(C.name), 1)
4990
+ Wt("div", FCe, Vs(C.name), 1)
4991
4991
  ], 8, MCe);
4992
4992
  }), 128))
4993
4993
  ]));
@@ -5031,7 +5031,7 @@ const Yi = (o, a) => {
5031
5031
  trigger: "hover"
5032
5032
  }, {
5033
5033
  reference: Sn(() => [
5034
- jt("span", VCe, Vs(m.value), 1)
5034
+ Wt("span", VCe, Vs(m.value), 1)
5035
5035
  ]),
5036
5036
  default: Sn(() => [
5037
5037
  fn(LR, {
@@ -5041,7 +5041,7 @@ const Yi = (o, a) => {
5041
5041
  ]),
5042
5042
  _: 1
5043
5043
  })) : (ct(), rn("span", zCe, Vs(h.value), 1)),
5044
- ((_ = De(i)) == null ? void 0 : _.length) > 0 ? (ct(), rn("span", UCe, "等")) : Bo("", !0),
5044
+ ((_ = De(i)) == null ? void 0 : _.length) > 0 ? (ct(), rn("span", UCe, "等")) : Mo("", !0),
5045
5045
  Gs(" " + Vs((A = De(i)) == null ? void 0 : A.length) + "个" + Vs(De(u)), 1)
5046
5046
  ]));
5047
5047
  };
@@ -5479,7 +5479,7 @@ const Yi = (o, a) => {
5479
5479
  "destroy-on-close": !0
5480
5480
  }, {
5481
5481
  footer: Sn(() => [
5482
- jt("div", KCe, [
5482
+ Wt("div", KCe, [
5483
5483
  fn(De(ju), {
5484
5484
  type: "primary",
5485
5485
  onClick: j
@@ -5489,7 +5489,7 @@ const Yi = (o, a) => {
5489
5489
  ])),
5490
5490
  _: 1
5491
5491
  }),
5492
- jt("div", null, [
5492
+ Wt("div", null, [
5493
5493
  fn(De(ju), {
5494
5494
  onClick: K[4] || (K[4] = (q) => _.value = !1)
5495
5495
  }, {
@@ -5513,7 +5513,7 @@ const Yi = (o, a) => {
5513
5513
  default: Sn(() => {
5514
5514
  var q, Z, H;
5515
5515
  return [
5516
- jt("div", null, [
5516
+ Wt("div", null, [
5517
5517
  fn(De(uce), {
5518
5518
  modelValue: v.value,
5519
5519
  "onUpdate:modelValue": K[0] || (K[0] = (ue) => v.value = ue)
@@ -5536,7 +5536,7 @@ const Yi = (o, a) => {
5536
5536
  }, i, {
5537
5537
  ref_key: "groupRef",
5538
5538
  ref: u
5539
- }), null, 16, ["model-value"])) : Bo("", !0),
5539
+ }), null, 16, ["model-value"])) : Mo("", !0),
5540
5540
  v.value === "roleIds" ? (ct(), ho(qCe, km({
5541
5541
  key: 1,
5542
5542
  "model-value": ((Z = A.value) == null ? void 0 : Z.roleIds) || [],
@@ -5546,7 +5546,7 @@ const Yi = (o, a) => {
5546
5546
  }, i, {
5547
5547
  ref_key: "roleRef",
5548
5548
  ref: m
5549
- }), null, 16, ["model-value"])) : Bo("", !0),
5549
+ }), null, 16, ["model-value"])) : Mo("", !0),
5550
5550
  v.value === "userIds" ? (ct(), ho(YCe, km({
5551
5551
  key: 2,
5552
5552
  "model-value": ((H = A.value) == null ? void 0 : H.userIds) || [],
@@ -5556,7 +5556,7 @@ const Yi = (o, a) => {
5556
5556
  }, i, {
5557
5557
  ref_key: "userRef",
5558
5558
  ref: h
5559
- }), null, 16, ["model-value"])) : Bo("", !0)
5559
+ }), null, 16, ["model-value"])) : Mo("", !0)
5560
5560
  ])
5561
5561
  ];
5562
5562
  }),
@@ -5615,7 +5615,7 @@ const Yi = (o, a) => {
5615
5615
  return (x, _) => {
5616
5616
  var A;
5617
5617
  return ct(), rn("div", null, [
5618
- jt("div", JCe, [
5618
+ Wt("div", JCe, [
5619
5619
  _[4] || (_[4] = Gs(" 已选择 ")),
5620
5620
  ((A = De(h)) == null ? void 0 : A.length) > 0 ? (ct(), ho(De(gz), {
5621
5621
  key: 0,
@@ -5626,15 +5626,16 @@ const Yi = (o, a) => {
5626
5626
  reference: Sn(() => {
5627
5627
  var D;
5628
5628
  return [
5629
- jt("div", QCe, [
5630
- jt("span", exe, Vs((D = De(h)) == null ? void 0 : D.length), 1),
5629
+ Wt("div", QCe, [
5630
+ Wt("span", exe, Vs((D = De(h)) == null ? void 0 : D.length), 1),
5631
5631
  Gs(" " + Vs(De(m)), 1)
5632
5632
  ])
5633
5633
  ];
5634
5634
  }),
5635
5635
  default: Sn(() => [
5636
- jt("div", txe, [
5637
- jt("div", {
5636
+ Wt("div", txe, [
5637
+ i != null && i.disabled ? Mo("", !0) : (ct(), rn("div", {
5638
+ key: 0,
5638
5639
  class: "flex items-center cursor-pointer color-[#79bbff]",
5639
5640
  onClick: _[0] || (_[0] = () => {
5640
5641
  u.value[De(v)] = [];
@@ -5647,7 +5648,7 @@ const Yi = (o, a) => {
5647
5648
  _: 1
5648
5649
  }),
5649
5650
  _[2] || (_[2] = Gs(" 删除全部 "))
5650
- ])
5651
+ ]))
5651
5652
  ]),
5652
5653
  fn(De(hz), { "max-height": "320px" }, {
5653
5654
  default: Sn(() => {
@@ -5669,10 +5670,10 @@ const Yi = (o, a) => {
5669
5670
  ]),
5670
5671
  _: 1
5671
5672
  })) : (ct(), rn("div", nxe, _[3] || (_[3] = [
5672
- jt("span", { class: "num" }, "0", -1),
5673
+ Wt("span", { class: "num" }, "0", -1),
5673
5674
  Gs(" 人 ")
5674
5675
  ]))),
5675
- i != null && i.disabled ? Bo("", !0) : (ct(), ho(De(ju), {
5676
+ i != null && i.disabled ? Mo("", !0) : (ct(), ho(De(ju), {
5676
5677
  key: 2,
5677
5678
  type: "primary",
5678
5679
  icon: De(DCe),
@@ -5692,7 +5693,7 @@ const Yi = (o, a) => {
5692
5693
  ]);
5693
5694
  };
5694
5695
  }
5695
- }, sxe = /* @__PURE__ */ Yi(oxe, [["__scopeId", "data-v-9bfeca68"]]), rxe = {
5696
+ }, sxe = /* @__PURE__ */ Yi(oxe, [["__scopeId", "data-v-f21a2806"]]), rxe = {
5696
5697
  __name: "index",
5697
5698
  props: /* @__PURE__ */ fa({
5698
5699
  //人员选择器选择类型:chooseType:1 显示人员,chooseType:2 显示岗位,chooseType:3 显示部门
@@ -5881,7 +5882,7 @@ function uxe(o, a, i, u, m, h) {
5881
5882
  title: i.title,
5882
5883
  chooseType: i.chooseType,
5883
5884
  extraParameter: i.extraParameter
5884
- }, null, 8, ["modelValue", "disabled", "multiple", "title", "chooseType", "extraParameter"])) : Bo("", !0),
5885
+ }, null, 8, ["modelValue", "disabled", "multiple", "title", "chooseType", "extraParameter"])) : Mo("", !0),
5885
5886
  i.styleType === "select" ? (ct(), ho(x, {
5886
5887
  key: 1,
5887
5888
  modelValue: u.showValue,
@@ -5891,7 +5892,7 @@ function uxe(o, a, i, u, m, h) {
5891
5892
  title: i.title,
5892
5893
  chooseType: i.chooseType,
5893
5894
  extraParameter: i.extraParameter
5894
- }, null, 8, ["modelValue", "disabled", "multiple", "title", "chooseType", "extraParameter"])) : Bo("", !0)
5895
+ }, null, 8, ["modelValue", "disabled", "multiple", "title", "chooseType", "extraParameter"])) : Mo("", !0)
5895
5896
  ], 64));
5896
5897
  }
5897
5898
  const dxe = /* @__PURE__ */ Yi(cxe, [["render", uxe]]);
@@ -7490,8 +7491,8 @@ const U$e = { class: "h-100% flex flex-col overflow-hidden" }, j$e = {
7490
7491
  return (u, m) => (ct(), rn("div", U$e, [
7491
7492
  u.$slots.header ? (ct(), rn("div", j$e, [
7492
7493
  Ir(u.$slots, "header", {}, void 0, !0)
7493
- ])) : Bo("", !0),
7494
- jt("div", {
7494
+ ])) : Mo("", !0),
7495
+ Wt("div", {
7495
7496
  class: "flex-1 overflow-hidden layout-center",
7496
7497
  ref_key: "contentRef",
7497
7498
  ref: a
@@ -7500,11 +7501,11 @@ const U$e = { class: "h-100% flex flex-col overflow-hidden" }, j$e = {
7500
7501
  key: 0,
7501
7502
  height: De(i),
7502
7503
  style: Xl({ height: De(i) })
7503
- }, void 0, !0) : Bo("", !0)
7504
+ }, void 0, !0) : Mo("", !0)
7504
7505
  ], 512),
7505
7506
  u.$slots.footer ? (ct(), rn("div", W$e, [
7506
7507
  Ir(u.$slots, "footer", {}, void 0, !0)
7507
- ])) : Bo("", !0)
7508
+ ])) : Mo("", !0)
7508
7509
  ]));
7509
7510
  }
7510
7511
  }, G$e = /* @__PURE__ */ Yi(Z$e, [["__scopeId", "data-v-c840a6bf"]]), q$e = {
@@ -8144,7 +8145,7 @@ var X$e = [
8144
8145
  }, Lt = (e, n) => {
8145
8146
  const s = Cn.call(e, 0);
8146
8147
  return s.sort(n), s;
8147
- }, ln = (e, n) => n >= 0 && n < e.length ? oe.some(e[n]) : oe.none(), kn = (e) => ln(e, 0), Fn = (e) => ln(e, e.length - 1), So = ce(Array.from) ? Array.from : (e) => Cn.call(e), Mo = (e, n) => {
8148
+ }, ln = (e, n) => n >= 0 && n < e.length ? oe.some(e[n]) : oe.none(), kn = (e) => ln(e, 0), Fn = (e) => ln(e, e.length - 1), So = ce(Array.from) ? Array.from : (e) => Cn.call(e), Ro = (e, n) => {
8148
8149
  for (let s = 0; s < e.length; s++) {
8149
8150
  const l = n(e[s], s);
8150
8151
  if (l.isSome())
@@ -8495,7 +8496,7 @@ Required: ` + n.join(", "));
8495
8496
  nu: Uc,
8496
8497
  detect: Nn,
8497
8498
  unknown: kc
8498
- }, Ge = (e, n) => Mo(n.brands, (s) => {
8499
+ }, Ge = (e, n) => Ro(n.brands, (s) => {
8499
8500
  const l = s.brand.toLowerCase();
8500
8501
  return Nt(e, (d) => {
8501
8502
  var p;
@@ -9928,56 +9929,56 @@ Required: ` + n.join(", "));
9928
9929
  var n;
9929
9930
  const s = {}, l = {};
9930
9931
  let d = [];
9931
- const p = {}, w = {}, k = (Ro, Js, di) => {
9932
- const Zi = e[Ro];
9932
+ const p = {}, w = {}, k = (Io, Js, di) => {
9933
+ const Zi = e[Io];
9933
9934
  if (Zi)
9934
9935
  return em(Zi, /[, ]/, em(Zi.toUpperCase(), /[, ]/));
9935
9936
  {
9936
- let Ml = lf[Ro];
9937
- return Ml || (Ml = Mi(Js, di), lf[Ro] = Ml), Ml;
9937
+ let Ml = lf[Io];
9938
+ return Ml || (Ml = Mi(Js, di), lf[Io] = Ml), Ml;
9938
9939
  }
9939
9940
  }, $ = (n = e.schema) !== null && n !== void 0 ? n : "html5", L = Fp($);
9940
9941
  e.verify_html === !1 && (e.valid_elements = "*[*]");
9941
9942
  const X = Qu(e.valid_styles), se = Qu(e.invalid_styles, "map"), le = Qu(e.valid_classes, "map"), Se = k("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), Pe = k("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), Te = k("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), ze = k("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), rt = "td th iframe video audio object script code", St = k("non_empty_elements", rt + " pre svg textarea summary", Te), $t = k("move_caret_before_on_enter_elements", rt + " table", Te), Vt = "h1 h2 h3 h4 h5 h6", hn = k("text_block_elements", Vt + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), $n = k("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", hn), so = k("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), tn = k("transparent_elements", "a ins del canvas map"), Gt = k("wrap_block_elements", "pre " + Vt);
9942
- Ru("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (Ro) => {
9943
- w[Ro] = new RegExp("</" + Ro + "[^>]*>", "gi");
9943
+ Ru("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (Io) => {
9944
+ w[Io] = new RegExp("</" + Io + "[^>]*>", "gi");
9944
9945
  });
9945
- const bn = (Ro) => {
9946
+ const bn = (Io) => {
9946
9947
  const Js = oe.from(s["@"]), di = /[*?+]/;
9947
- ee(Ng(Js, Ro ?? ""), ({ name: Zi, element: Ml, aliasName: Gi }) => {
9948
+ ee(Ng(Js, Io ?? ""), ({ name: Zi, element: Ml, aliasName: Gi }) => {
9948
9949
  if (Gi && (s[Gi] = Ml), di.test(Zi)) {
9949
9950
  const Ga = Ml;
9950
9951
  Ga.pattern = Tl(Zi), d.push(Ga);
9951
9952
  } else
9952
9953
  s[Zi] = Ml;
9953
9954
  });
9954
- }, to = (Ro) => {
9955
+ }, to = (Io) => {
9955
9956
  d = [], ee(ts(s), (Js) => {
9956
9957
  delete s[Js];
9957
- }), bn(Ro);
9958
- }, Oo = (Ro, Js) => {
9958
+ }), bn(Io);
9959
+ }, Oo = (Io, Js) => {
9959
9960
  var di, Zi;
9960
9961
  delete lf.text_block_elements, delete lf.block_elements;
9961
9962
  const Ml = Js.extends ? !Fc(Js.extends) : !1, Gi = Js.extends;
9962
- if (l[Ro] = Gi ? l[Gi] : {}, p[Ro] = Gi ?? Ro, St[Ro.toUpperCase()] = {}, St[Ro] = {}, Ml || ($n[Ro.toUpperCase()] = {}, $n[Ro] = {}), Gi && !s[Ro] && s[Gi]) {
9963
+ if (l[Io] = Gi ? l[Gi] : {}, p[Io] = Gi ?? Io, St[Io.toUpperCase()] = {}, St[Io] = {}, Ml || ($n[Io.toUpperCase()] = {}, $n[Io] = {}), Gi && !s[Io] && s[Gi]) {
9963
9964
  const Ga = pT(s[Gi]);
9964
- delete Ga.removeEmptyAttrs, delete Ga.removeEmpty, s[Ro] = Ga;
9965
+ delete Ga.removeEmptyAttrs, delete Ga.removeEmpty, s[Io] = Ga;
9965
9966
  } else
9966
- s[Ro] = { attributesOrder: [], attributes: {} };
9967
+ s[Io] = { attributesOrder: [], attributes: {} };
9967
9968
  if (we(Js.attributes)) {
9968
9969
  const Ga = (zu) => {
9969
9970
  qa.attributesOrder.push(zu), qa.attributes[zu] = {};
9970
- }, qa = (di = s[Ro]) !== null && di !== void 0 ? di : {};
9971
+ }, qa = (di = s[Io]) !== null && di !== void 0 ? di : {};
9971
9972
  delete qa.attributesDefault, delete qa.attributesForced, delete qa.attributePatterns, delete qa.attributesRequired, qa.attributesOrder = [], qa.attributes = {}, ee(Js.attributes, (zu) => {
9972
9973
  const ag = Ox($);
9973
9974
  $x(zu).each(({ preset: cp, name: rh }) => {
9974
9975
  cp ? rh === "global" && ee(ag, Ga) : Ga(rh);
9975
9976
  });
9976
- }), s[Ro] = qa;
9977
+ }), s[Io] = qa;
9977
9978
  }
9978
9979
  if (Ve(Js.padEmpty)) {
9979
- const Ga = (Zi = s[Ro]) !== null && Zi !== void 0 ? Zi : {};
9980
- Ga.paddEmpty = Js.padEmpty, s[Ro] = Ga;
9980
+ const Ga = (Zi = s[Io]) !== null && Zi !== void 0 ? Zi : {};
9981
+ Ga.paddEmpty = Js.padEmpty, s[Io] = Ga;
9981
9982
  }
9982
9983
  if (we(Js.children)) {
9983
9984
  const Ga = {}, qa = (ag) => {
@@ -9991,19 +9992,19 @@ Required: ` + n.join(", "));
9991
9992
  $x(ag).each(({ preset: cp, name: rh }) => {
9992
9993
  cp ? zu(rh) : qa(rh);
9993
9994
  });
9994
- }), l[Ro] = Ga;
9995
+ }), l[Io] = Ga;
9995
9996
  }
9996
9997
  Gi && En(l, (Ga, qa) => {
9997
- Ga[Gi] && (l[qa] = Ga = Rc({}, l[qa]), Ga[Ro] = Ga[Gi]);
9998
+ Ga[Gi] && (l[qa] = Ga = Rc({}, l[qa]), Ga[Io] = Ga[Gi]);
9998
9999
  });
9999
- }, $s = (Ro) => {
10000
- ee(Th(Ro ?? ""), ({ name: Js, cloneName: di }) => {
10000
+ }, $s = (Io) => {
10001
+ ee(Th(Io ?? ""), ({ name: Js, cloneName: di }) => {
10001
10002
  Oo(Js, { extends: di });
10002
10003
  });
10003
- }, Fs = (Ro) => {
10004
- ue(Ro) ? En(Ro, (Js, di) => Oo(di, Js)) : H(Ro) && $s(Ro);
10005
- }, hr = (Ro) => {
10006
- ee($D(Ro ?? ""), ({ operation: Js, name: di, validChildren: Zi }) => {
10004
+ }, Fs = (Io) => {
10005
+ ue(Io) ? En(Io, (Js, di) => Oo(di, Js)) : H(Io) && $s(Io);
10006
+ }, hr = (Io) => {
10007
+ ee($D(Io ?? ""), ({ operation: Js, name: di, validChildren: Zi }) => {
10007
10008
  const Ml = Js === "replace" ? { "#comment": {} } : l[di], Gi = (qa) => {
10008
10009
  Js === "remove" ? delete Ml[qa] : Ml[qa] = {};
10009
10010
  }, Ga = (qa) => {
@@ -10015,35 +10016,35 @@ Required: ` + n.join(", "));
10015
10016
  qa ? Ga(zu) : Gi(zu);
10016
10017
  }), l[di] = Ml;
10017
10018
  });
10018
- }, Rr = (Ro) => {
10019
- const Js = s[Ro];
10019
+ }, Rr = (Io) => {
10020
+ const Js = s[Io];
10020
10021
  if (Js)
10021
10022
  return Js;
10022
10023
  let di = d.length;
10023
10024
  for (; di--; ) {
10024
10025
  const Zi = d[di];
10025
- if (Zi.pattern.test(Ro))
10026
+ if (Zi.pattern.test(Io))
10026
10027
  return Zi;
10027
10028
  }
10028
10029
  }, Za = () => {
10029
- e.valid_elements ? (to(e.valid_elements), Ru(L, (Ro, Js) => {
10030
- l[Js] = Ro.children;
10031
- })) : (Ru(L, (Ro, Js) => {
10030
+ e.valid_elements ? (to(e.valid_elements), Ru(L, (Io, Js) => {
10031
+ l[Js] = Io.children;
10032
+ })) : (Ru(L, (Io, Js) => {
10032
10033
  s[Js] = {
10033
- attributes: Ro.attributes,
10034
- attributesOrder: Ro.attributesOrder
10035
- }, l[Js] = Ro.children;
10036
- }), Ru(Ca("strong/b em/i"), (Ro) => {
10037
- const Js = Ca(Ro, "/");
10034
+ attributes: Io.attributes,
10035
+ attributesOrder: Io.attributesOrder
10036
+ }, l[Js] = Io.children;
10037
+ }), Ru(Ca("strong/b em/i"), (Io) => {
10038
+ const Js = Ca(Io, "/");
10038
10039
  s[Js[1]].outputName = Js[0];
10039
- }), Ru(so, (Ro, Js) => {
10040
+ }), Ru(so, (Io, Js) => {
10040
10041
  s[Js] && (e.padd_empty_block_inline_children && (s[Js].paddInEmptyBlock = !0), s[Js].removeEmpty = !0);
10041
- }), Ru(Ca("ol ul blockquote a table tbody"), (Ro) => {
10042
- s[Ro] && (s[Ro].removeEmpty = !0);
10043
- }), Ru(Ca("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"), (Ro) => {
10044
- s[Ro] && (s[Ro].paddEmpty = !0);
10045
- }), Ru(Ca("span"), (Ro) => {
10046
- s[Ro].removeEmptyAttrs = !0;
10042
+ }), Ru(Ca("ol ul blockquote a table tbody"), (Io) => {
10043
+ s[Io] && (s[Io].removeEmpty = !0);
10044
+ }), Ru(Ca("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"), (Io) => {
10045
+ s[Io] && (s[Io].paddEmpty = !0);
10046
+ }), Ru(Ca("span"), (Io) => {
10047
+ s[Io].removeEmptyAttrs = !0;
10047
10048
  })), delete s.svg, Fs(e.custom_elements), hr(e.valid_children), bn(e.extended_valid_elements), hr("+ol[ul|ol],+ul[ul|ol]"), Ru({
10048
10049
  dd: "dl",
10049
10050
  dt: "dl",
@@ -10057,16 +10058,16 @@ Required: ` + n.join(", "));
10057
10058
  legend: "fieldset",
10058
10059
  area: "map",
10059
10060
  param: "video audio object"
10060
- }, (Ro, Js) => {
10061
- s[Js] && (s[Js].parentsRequired = Ca(Ro));
10062
- }), e.invalid_elements && Ru(Lp(e.invalid_elements), (Ro) => {
10063
- s[Ro] && delete s[Ro];
10061
+ }, (Io, Js) => {
10062
+ s[Js] && (s[Js].parentsRequired = Ca(Io));
10063
+ }), e.invalid_elements && Ru(Lp(e.invalid_elements), (Io) => {
10064
+ s[Io] && delete s[Io];
10064
10065
  }), Rr("span") || bn("span[!data-mce-type|*]");
10065
- }, dl = ye(X), Nl = ye(se), qn = ye(le), ko = ye(ze), cr = ye($n), pr = ye(hn), mn = ye(so), Rn = ye(Object.seal(Te)), Eo = ye(Pe), Ns = ye(St), zs = ye($t), kr = ye(Se), Sm = ye(tn), lp = ye(Gt), ru = ye(Object.seal(w)), id = (Ro, Js) => {
10066
- const di = l[Ro.toLowerCase()];
10066
+ }, dl = ye(X), Nl = ye(se), qn = ye(le), ko = ye(ze), cr = ye($n), pr = ye(hn), mn = ye(so), Rn = ye(Object.seal(Te)), Eo = ye(Pe), Ns = ye(St), zs = ye($t), kr = ye(Se), Sm = ye(tn), lp = ye(Gt), ru = ye(Object.seal(w)), id = (Io, Js) => {
10067
+ const di = l[Io.toLowerCase()];
10067
10068
  return !!(di && di[Js.toLowerCase()]);
10068
- }, Ef = (Ro, Js) => {
10069
- const di = Rr(Ro);
10069
+ }, Ef = (Io, Js) => {
10070
+ const di = Rr(Io);
10070
10071
  if (di)
10071
10072
  if (Js) {
10072
10073
  if (di.attributes[Js])
@@ -10081,7 +10082,7 @@ Required: ` + n.join(", "));
10081
10082
  } else
10082
10083
  return !0;
10083
10084
  return !1;
10084
- }, Fc = (Ro) => mo(cr(), Ro), Vu = (Ro) => !vs(Ro, "#") && Ef(Ro) && !Fc(Ro), _m = (Ro) => mo(lp(), Ro) || Vu(Ro), a0 = ye(p);
10085
+ }, Fc = (Io) => mo(cr(), Io), Vu = (Io) => !vs(Io, "#") && Ef(Io) && !Fc(Io), _m = (Io) => mo(lp(), Io) || Vu(Io), a0 = ye(p);
10085
10086
  return Za(), {
10086
10087
  type: $,
10087
10088
  children: l,
@@ -10674,7 +10675,7 @@ Required: ` + n.join(", "));
10674
10675
  Vu(Ht, Zt, !0);
10675
10676
  }, a0 = (Ht, Zt) => {
10676
10677
  Vu(Ht, Zt, !1);
10677
- }, Ro = (Ht, Zt) => {
10678
+ }, Io = (Ht, Zt) => {
10678
10679
  const jn = ze(Ht), Pn = Zt.split(" ");
10679
10680
  return Oe(jn) && sn(Pn, (Go) => Hl(jn, Go));
10680
10681
  }, Js = (Ht) => {
@@ -11134,7 +11135,7 @@ Required: ` + n.join(", "));
11134
11135
  * @param {String} cls CSS class to check for.
11135
11136
  * @return {Boolean} true/false if the specified element has the specified class.
11136
11137
  */
11137
- hasClass: Ro,
11138
+ hasClass: Io,
11138
11139
  /**
11139
11140
  * Toggles the specified class on/off.
11140
11141
  *
@@ -13432,7 +13433,7 @@ Required: ` + n.join(", "));
13432
13433
  endContainer: X,
13433
13434
  endOffset: se
13434
13435
  };
13435
- }, Wt = (e, n, s) => {
13436
+ }, jt = (e, n, s) => {
13436
13437
  var l;
13437
13438
  const d = n.startOffset, p = ac(n.startContainer, d), w = n.endOffset, k = ac(n.endContainer, w - 1), $ = (ze) => {
13438
13439
  const rt = ze[0];
@@ -13526,7 +13527,7 @@ Required: ` + n.join(", "));
13526
13527
  const Te = ie(Pe, Je.fromDom);
13527
13528
  se(Te);
13528
13529
  };
13529
- return Wt(e.dom, n, (Pe) => {
13530
+ return jt(e.dom, n, (Pe) => {
13530
13531
  L(), Se(Pe);
13531
13532
  }), w;
13532
13533
  }, xr = (e, n, s, l) => {
@@ -14129,7 +14130,7 @@ Required: ` + n.join(", "));
14129
14130
  endOffset: d
14130
14131
  };
14131
14132
  }, yf = (e) => ({
14132
- walk: (p, w) => Wt(e, p, w),
14133
+ walk: (p, w) => jt(e, p, w),
14133
14134
  split: Zb,
14134
14135
  expand: (p, w = { type: "word" }) => {
14135
14136
  if (w.type === "word") {
@@ -15570,7 +15571,7 @@ Required: ` + n.join(", "));
15570
15571
  }, e.dom.getRoot()), l;
15571
15572
  }, hW = (e, n) => {
15572
15573
  const s = (d) => Ps(d, Je.fromDom(e.getBody())), l = (d, p) => g1(e, d.dom, p) ? oe.some(p) : oe.none();
15573
- return oe.from(e.selection.getStart(!0)).bind((d) => P(Je.fromDom(d), (p) => Mo(n, (w) => l(p, w)), s)).getOrNull();
15574
+ return oe.from(e.selection.getStart(!0)).bind((d) => P(Je.fromDom(d), (p) => Ro(n, (w) => l(p, w)), s)).getOrNull();
15574
15575
  }, pW = (e, n) => {
15575
15576
  const s = e.formatter.get(n), l = e.dom;
15576
15577
  if (s && e.selection.isEditable()) {
@@ -15967,7 +15968,7 @@ Required: ` + n.join(", "));
15967
15968
  }
15968
15969
  ze = DA(k, ze, "span", { id: "_start", "data-mce-type": "bookmark" }), rt = DA(k, rt, "span", { id: "_end", "data-mce-type": "bookmark" });
15969
15970
  const $t = k.createRng();
15970
- $t.setStartAfter(ze), $t.setEndBefore(rt), Wt(k, $t, (Vt) => {
15971
+ $t.setStartAfter(ze), $t.setEndBefore(rt), jt(k, $t, (Vt) => {
15971
15972
  ee(Vt, (hn) => {
15972
15973
  !Dd(hn) && !Dd(hn.parentNode) && L(hn);
15973
15974
  });
@@ -15976,7 +15977,7 @@ Required: ` + n.join(", "));
15976
15977
  ze = rt = L(ze);
15977
15978
  St.startContainer = ze.parentNode ? ze.parentNode : ze, St.startOffset = k.nodeIndex(ze), St.endContainer = rt.parentNode ? rt.parentNode : rt, St.endOffset = k.nodeIndex(rt) + 1;
15978
15979
  }
15979
- Wt(k, St, ($t) => {
15980
+ jt(k, St, ($t) => {
15980
15981
  ee($t, le);
15981
15982
  });
15982
15983
  };
@@ -16067,7 +16068,7 @@ Required: ` + n.join(", "));
16067
16068
  const Oo = tn.nodeName.toLowerCase(), $s = i1(e, $t, Oo) && i1(e, Gt, $t), Fs = !ze && Mn(tn) && tb(tn.data), hr = Ad(tn), Rr = !ll(p) || !Pe.isBlock(tn);
16068
16069
  return (bn || to) && $s && !Fs && !hr && Rr;
16069
16070
  };
16070
- Wt(Pe, Te, (tn) => {
16071
+ jt(Pe, Te, (tn) => {
16071
16072
  let Gt;
16072
16073
  const bn = (to) => {
16073
16074
  let Oo = !1, $s = St, Fs = !1;
@@ -16631,7 +16632,7 @@ Required: ` + n.join(", "));
16631
16632
  enumerable: !0,
16632
16633
  value: !1
16633
16634
  }
16634
- })), Eo = null, Ns = null, zs = !0, kr = !0, Sm = !1, lp = !0, ru = !1, id = !0, Ef = !1, Fc = !1, Vu = !1, _m = !1, a0 = !1, Ro = !1, Js = !0, di = !1;
16635
+ })), Eo = null, Ns = null, zs = !0, kr = !0, Sm = !1, lp = !0, ru = !1, id = !0, Ef = !1, Fc = !1, Vu = !1, _m = !1, a0 = !1, Io = !1, Js = !0, di = !1;
16635
16636
  const Zi = "user-content-";
16636
16637
  let Ml = !0, Gi = !1, Ga = {}, qa = null;
16637
16638
  const zu = ys({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -16652,7 +16653,7 @@ Required: ` + n.join(", "));
16652
16653
  let qt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
16653
16654
  if (!(Zt && Zt === qt)) {
16654
16655
  if ((!qt || typeof qt != "object") && (qt = {}), qt = iy(qt), FC = // eslint-disable-next-line unicorn/prefer-includes
16655
- up.indexOf(qt.PARSER_MEDIA_TYPE) === -1 ? Ly : qt.PARSER_MEDIA_TYPE, Ht = FC === "application/xhtml+xml" ? np : u5, ko = Xg(qt, "ALLOWED_TAGS") ? ys({}, qt.ALLOWED_TAGS, Ht) : cr, pr = Xg(qt, "ALLOWED_ATTR") ? ys({}, qt.ALLOWED_ATTR, Ht) : mn, IC = Xg(qt, "ALLOWED_NAMESPACES") ? ys({}, qt.ALLOWED_NAMESPACES, np) : OH, rh = Xg(qt, "ADD_URI_SAFE_ATTR") ? ys(iy(RC), qt.ADD_URI_SAFE_ATTR, Ht) : RC, ag = Xg(qt, "ADD_DATA_URI_TAGS") ? ys(iy(cp), qt.ADD_DATA_URI_TAGS, Ht) : cp, qa = Xg(qt, "FORBID_CONTENTS") ? ys({}, qt.FORBID_CONTENTS, Ht) : zu, Eo = Xg(qt, "FORBID_TAGS") ? ys({}, qt.FORBID_TAGS, Ht) : {}, Ns = Xg(qt, "FORBID_ATTR") ? ys({}, qt.FORBID_ATTR, Ht) : {}, Ga = Xg(qt, "USE_PROFILES") ? qt.USE_PROFILES : !1, zs = qt.ALLOW_ARIA_ATTR !== !1, kr = qt.ALLOW_DATA_ATTR !== !1, Sm = qt.ALLOW_UNKNOWN_PROTOCOLS || !1, lp = qt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ru = qt.SAFE_FOR_TEMPLATES || !1, id = qt.SAFE_FOR_XML !== !1, Ef = qt.WHOLE_DOCUMENT || !1, _m = qt.RETURN_DOM || !1, a0 = qt.RETURN_DOM_FRAGMENT || !1, Ro = qt.RETURN_TRUSTED_TYPE || !1, Vu = qt.FORCE_BODY || !1, Js = qt.SANITIZE_DOM !== !1, di = qt.SANITIZE_NAMED_PROPS || !1, Ml = qt.KEEP_CONTENT !== !1, Gi = qt.IN_PLACE || !1, qn = qt.ALLOWED_URI_REGEXP || h1, A1 = qt.NAMESPACE || Em, PC = qt.MATHML_TEXT_INTEGRATION_POINTS || PC, BC = qt.HTML_INTEGRATION_POINTS || BC, Rn = qt.CUSTOM_ELEMENT_HANDLING || {}, qt.CUSTOM_ELEMENT_HANDLING && Pn(qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Rn.tagNameCheck = qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), qt.CUSTOM_ELEMENT_HANDLING && Pn(qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Rn.attributeNameCheck = qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), qt.CUSTOM_ELEMENT_HANDLING && typeof qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Rn.allowCustomizedBuiltInElements = qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ru && (kr = !1), a0 && (_m = !0), Ga && (ko = ys({}, wP), pr = [], Ga.html === !0 && (ys(ko, vP), ys(pr, op)), Ga.svg === !0 && (ys(ko, _a), ys(pr, d_), ys(pr, FA)), Ga.svgFilters === !0 && (ys(ko, BA), ys(pr, d_), ys(pr, FA)), Ga.mathMl === !0 && (ys(ko, d5), ys(pr, CP), ys(pr, FA))), qt.ADD_TAGS && (ko === cr && (ko = iy(ko)), ys(ko, qt.ADD_TAGS, Ht)), qt.ADD_ATTR && (pr === mn && (pr = iy(pr)), ys(pr, qt.ADD_ATTR, Ht)), qt.ADD_URI_SAFE_ATTR && ys(rh, qt.ADD_URI_SAFE_ATTR, Ht), qt.FORBID_CONTENTS && (qa === zu && (qa = iy(qa)), ys(qa, qt.FORBID_CONTENTS, Ht)), Ml && (ko["#text"] = !0), Ef && ys(ko, ["html", "head", "body"]), ko.table && (ys(ko, ["tbody"]), delete Eo.tbody), qt.TRUSTED_TYPES_POLICY) {
16656
+ up.indexOf(qt.PARSER_MEDIA_TYPE) === -1 ? Ly : qt.PARSER_MEDIA_TYPE, Ht = FC === "application/xhtml+xml" ? np : u5, ko = Xg(qt, "ALLOWED_TAGS") ? ys({}, qt.ALLOWED_TAGS, Ht) : cr, pr = Xg(qt, "ALLOWED_ATTR") ? ys({}, qt.ALLOWED_ATTR, Ht) : mn, IC = Xg(qt, "ALLOWED_NAMESPACES") ? ys({}, qt.ALLOWED_NAMESPACES, np) : OH, rh = Xg(qt, "ADD_URI_SAFE_ATTR") ? ys(iy(RC), qt.ADD_URI_SAFE_ATTR, Ht) : RC, ag = Xg(qt, "ADD_DATA_URI_TAGS") ? ys(iy(cp), qt.ADD_DATA_URI_TAGS, Ht) : cp, qa = Xg(qt, "FORBID_CONTENTS") ? ys({}, qt.FORBID_CONTENTS, Ht) : zu, Eo = Xg(qt, "FORBID_TAGS") ? ys({}, qt.FORBID_TAGS, Ht) : {}, Ns = Xg(qt, "FORBID_ATTR") ? ys({}, qt.FORBID_ATTR, Ht) : {}, Ga = Xg(qt, "USE_PROFILES") ? qt.USE_PROFILES : !1, zs = qt.ALLOW_ARIA_ATTR !== !1, kr = qt.ALLOW_DATA_ATTR !== !1, Sm = qt.ALLOW_UNKNOWN_PROTOCOLS || !1, lp = qt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ru = qt.SAFE_FOR_TEMPLATES || !1, id = qt.SAFE_FOR_XML !== !1, Ef = qt.WHOLE_DOCUMENT || !1, _m = qt.RETURN_DOM || !1, a0 = qt.RETURN_DOM_FRAGMENT || !1, Io = qt.RETURN_TRUSTED_TYPE || !1, Vu = qt.FORCE_BODY || !1, Js = qt.SANITIZE_DOM !== !1, di = qt.SANITIZE_NAMED_PROPS || !1, Ml = qt.KEEP_CONTENT !== !1, Gi = qt.IN_PLACE || !1, qn = qt.ALLOWED_URI_REGEXP || h1, A1 = qt.NAMESPACE || Em, PC = qt.MATHML_TEXT_INTEGRATION_POINTS || PC, BC = qt.HTML_INTEGRATION_POINTS || BC, Rn = qt.CUSTOM_ELEMENT_HANDLING || {}, qt.CUSTOM_ELEMENT_HANDLING && Pn(qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Rn.tagNameCheck = qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), qt.CUSTOM_ELEMENT_HANDLING && Pn(qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Rn.attributeNameCheck = qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), qt.CUSTOM_ELEMENT_HANDLING && typeof qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Rn.allowCustomizedBuiltInElements = qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ru && (kr = !1), a0 && (_m = !0), Ga && (ko = ys({}, wP), pr = [], Ga.html === !0 && (ys(ko, vP), ys(pr, op)), Ga.svg === !0 && (ys(ko, _a), ys(pr, d_), ys(pr, FA)), Ga.svgFilters === !0 && (ys(ko, BA), ys(pr, d_), ys(pr, FA)), Ga.mathMl === !0 && (ys(ko, d5), ys(pr, CP), ys(pr, FA))), qt.ADD_TAGS && (ko === cr && (ko = iy(ko)), ys(ko, qt.ADD_TAGS, Ht)), qt.ADD_ATTR && (pr === mn && (pr = iy(pr)), ys(pr, qt.ADD_ATTR, Ht)), qt.ADD_URI_SAFE_ATTR && ys(rh, qt.ADD_URI_SAFE_ATTR, Ht), qt.FORBID_CONTENTS && (qa === zu && (qa = iy(qa)), ys(qa, qt.FORBID_CONTENTS, Ht)), Ml && (ko["#text"] = !0), Ef && ys(ko, ["html", "head", "body"]), ko.table && (ys(ko, ["tbody"]), delete Eo.tbody), qt.TRUSTED_TYPES_POLICY) {
16656
16657
  if (typeof qt.TRUSTED_TYPES_POLICY.createHTML != "function")
16657
16658
  throw W2('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
16658
16659
  if (typeof qt.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -16894,9 +16895,9 @@ Required: ` + n.join(", "));
16894
16895
  else {
16895
16896
  if (!_m && !ru && !Ef && // eslint-disable-next-line unicorn/prefer-includes
16896
16897
  Zs.indexOf("<") === -1)
16897
- return Vt && Ro ? Vt.createHTML(Zs) : Zs;
16898
+ return Vt && Io ? Vt.createHTML(Zs) : Zs;
16898
16899
  if ($o = NH(Zs), !$o)
16899
- return _m ? null : Ro ? hn : "";
16900
+ return _m ? null : Io ? hn : "";
16900
16901
  }
16901
16902
  $o && Vu && ig($o.firstChild);
16902
16903
  const iu = mE(Gi ? Zs : $o);
@@ -16916,7 +16917,7 @@ Required: ` + n.join(", "));
16916
16917
  return Ef && ko["!doctype"] && $o.ownerDocument && $o.ownerDocument.doctype && $o.ownerDocument.doctype.name && Pd(xP, $o.ownerDocument.doctype.name) && (zd = "<!DOCTYPE " + $o.ownerDocument.doctype.name + `>
16917
16918
  ` + zd), ru && IA([Oo, $s, Fs], (ah) => {
16918
16919
  zd = c_(zd, ah, " ");
16919
- }), Vt && Ro ? Vt.createHTML(zd) : zd;
16920
+ }), Vt && Io ? Vt.createHTML(zd) : zd;
16920
16921
  }, n.setConfig = function() {
16921
16922
  let Zs = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
16922
16923
  Go(Zs), Fc = !0;
@@ -20555,7 +20556,7 @@ Options:${w}${s.join(w)}` : "";
20555
20556
  return oe.some(() => KF(e));
20556
20557
  }
20557
20558
  return oe.none();
20558
- }, JF = (e, n, s) => Mo([
20559
+ }, JF = (e, n, s) => Ro([
20559
20560
  XF,
20560
20561
  f3,
20561
20562
  rC,
@@ -20764,7 +20765,7 @@ Options:${w}${s.join(w)}` : "";
20764
20765
  })), EY = (e) => ie(e, (n) => ({
20765
20766
  ...f7,
20766
20767
  ...n
20767
- })), m7 = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, TY = (e, n) => Pt(_Y(e), (s) => m7(s, n) ? [s] : []), ZN = (e, n) => Pt(EY(e), (s) => m7(s, n) ? [s] : []), us = (e, ...n) => () => e.apply(null, n), B_ = (e, n) => Nt(TY(e, n), (s) => s.action()), g7 = (e, n) => Mo(ZN(e, n), (s) => s.action()), h7 = (e, n) => {
20768
+ })), m7 = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, TY = (e, n) => Pt(_Y(e), (s) => m7(s, n) ? [s] : []), ZN = (e, n) => Pt(EY(e), (s) => m7(s, n) ? [s] : []), us = (e, ...n) => () => e.apply(null, n), B_ = (e, n) => Nt(TY(e, n), (s) => s.action()), g7 = (e, n) => Ro(ZN(e, n), (s) => s.action()), h7 = (e, n) => {
20768
20769
  const s = n ? 1 : -1, l = e.selection.getRng();
20769
20770
  return DF(e, s, l, GS, Yb, of).exists((d) => (S1(e, d), !0));
20770
20771
  }, p7 = (e, n) => {
@@ -21106,7 +21107,7 @@ Options:${w}${s.join(w)}` : "";
21106
21107
  }, L7 = (e) => (n) => {
21107
21108
  const s = u6(n.startContainer, n.startOffset);
21108
21109
  return !sK(e, s);
21109
- }, rK = (e, n, s) => Mo(s.triggers, (l) => _y(e, n, l)), aK = (e, n) => {
21110
+ }, rK = (e, n, s) => Ro(s.triggers, (l) => _y(e, n, l)), aK = (e, n) => {
21110
21111
  const s = n(), l = e.selection.getRng();
21111
21112
  return rK(e.dom, l, s).bind((d) => H7(e, n, d));
21112
21113
  }, H7 = (e, n, s, l = {}) => {
@@ -22501,7 +22502,7 @@ Input object: ` + j7(e.input), P3 = gK, eL = (e, n) => P3(e, e, Ty(), n), h6 = (
22501
22502
  }), lJ = (e, n, s) => n > e.left && n < e.right ? 0 : Math.min(Math.abs(e.left - n), Math.abs(e.right - n)), o4 = (e, n, s, l) => {
22502
22503
  const d = (se) => df(se.node) ? oe.some(se) : oo(se.node) ? o4(So(se.node.childNodes), n, s, !1) : oe.none(), p = (se, le, Se) => d(le).filter((Pe) => Math.abs(Se(se, n, s) - Se(Pe, n, s)) < 2 && Mn(Pe.node)), w = (se, le) => {
22503
22504
  const Se = Lt(se, (Pe, Te) => le(Pe, n, s) - le(Te, n, s));
22504
- return Mo(Se, d).map((Pe) => l && !Mn(Pe.node) && Se.length > 1 ? p(Pe, Se[1], le).getOr(Pe) : Pe);
22505
+ return Ro(Se, d).map((Pe) => l && !Mn(Pe.node) && Se.length > 1 ? p(Pe, Se[1], le).getOr(Pe) : Pe);
22505
22506
  }, [k, $] = aJ(yy(e), s), { pass: L, fail: X } = Me($, (se) => se.top < s);
22506
22507
  return w(k, lJ).orThunk(() => w(X, Fh)).orThunk(() => w(L, Fh));
22507
22508
  }, d9 = (e, n, s, l) => {
@@ -26759,7 +26760,7 @@ tinymce.IconManager.add("default", {
26759
26760
  }, So = (t, r) => {
26760
26761
  const c = {}, f = {};
26761
26762
  return Fn(t, r, kn(c), kn(f)), { t: c, f };
26762
- }, Mo = (t, r) => {
26763
+ }, Ro = (t, r) => {
26763
26764
  const c = {};
26764
26765
  return Fn(t, r, kn(c), H), c;
26765
26766
  }, is = (t, r) => {
@@ -28115,7 +28116,7 @@ Required: ` + r.join(", "));
28115
28116
  }, cT = (t) => ({
28116
28117
  extract: (f, b) => t().extract(f, b),
28117
28118
  toString: () => t().toString()
28118
- }), JR = (t) => _n(Mo(t, W)), Kc = (t) => {
28119
+ }), JR = (t) => _n(Ro(t, W)), Kc = (t) => {
28119
28120
  const r = jo(t), c = _t(t, (b, S) => H0(S, (E) => vn(b, { [E]: !0 }), te(b)), {});
28120
28121
  return {
28121
28122
  extract: (b, S) => {
@@ -30013,7 +30014,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(Ie(r, (c) => c.name),
30013
30014
  });
30014
30015
  const Rt = [
30015
30016
  gn("find")
30016
- ], Wt = Al({
30017
+ ], jt = Al({
30017
30018
  fields: Rt,
30018
30019
  name: "composing",
30019
30020
  apis: at
@@ -32662,7 +32663,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
32662
32663
  mode: r ? "selected" : "checked"
32663
32664
  },
32664
32665
  // Filter out the additional properties that are not in Toggling Behaviour's configuration (e.g. exclusive)
32665
- ...Mo(t, (c, f) => f !== "exclusive"),
32666
+ ...Ro(t, (c, f) => f !== "exclusive"),
32666
32667
  onToggled: (c, f) => {
32667
32668
  K(t.onToggled) && t.onToggled(c, f), z8(c, f);
32668
32669
  }
@@ -32863,7 +32864,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
32863
32864
  gn("dom"),
32864
32865
  gn("components"),
32865
32866
  Ft("eventOrder", {}),
32866
- Dl("menuBehaviours", [rr, Qn, Wt, bo]),
32867
+ Dl("menuBehaviours", [rr, Qn, jt, bo]),
32867
32868
  Cd("movement", {
32868
32869
  // When you don't specify movement for a Menu, this is what you get
32869
32870
  // a "menu" type of movement that moves on tab. If you want finer-grained
@@ -32917,7 +32918,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
32917
32918
  initialValue: t.value
32918
32919
  }
32919
32920
  }),
32920
- Wt.config({
32921
+ jt.config({
32921
32922
  find: M.some
32922
32923
  }),
32923
32924
  bo.config(t.movement.config(t, t.movement))
@@ -32992,18 +32993,18 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
32992
32993
  f.set(Xt), t.set(eo), r.set(Wn), b.set(It);
32993
32994
  const Xn = eP(It, eo);
32994
32995
  c.set(Xn);
32995
- }, V = (Xt) => ts(t.get(), (Wn, eo) => Wn === Xt), G = (Xt, Wn, eo) => Ke(Xt).bind((It) => V(Xt).bind((Xn) => Wn(Xn).map((Io) => ({
32996
+ }, V = (Xt) => ts(t.get(), (Wn, eo) => Wn === Xt), G = (Xt, Wn, eo) => Ke(Xt).bind((It) => V(Xt).bind((Xn) => Wn(Xn).map((Po) => ({
32996
32997
  triggeredMenu: It,
32997
- triggeringItem: Io,
32998
+ triggeringItem: Po,
32998
32999
  triggeringPath: eo
32999
33000
  })))), ne = (Xt, Wn) => {
33000
33001
  const eo = Ct(Ye(Xt).toArray(), (It) => Ke(It).isSome());
33001
33002
  return En(c.get(), Xt).bind((It) => {
33002
- const Xn = Me(eo.concat(It)), Io = ee(Xn, (Co, Ms) => (
33003
+ const Xn = Me(eo.concat(It)), Po = ee(Xn, (Co, Ms) => (
33003
33004
  // finding menuValue, it should match the trigger
33004
33005
  G(Co, Wn, Xn.slice(0, Ms + 1)).fold(() => fo(f.get(), Co) ? [] : [M.none()], (es) => [M.some(es)])
33005
33006
  ));
33006
- return xs(Io);
33007
+ return xs(Po);
33007
33008
  });
33008
33009
  }, he = (Xt) => En(t.get(), Xt).map((Wn) => {
33009
33010
  const eo = En(c.get(), Xt).getOr([]);
@@ -33191,8 +33192,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33191
33192
  zt(pn, Wo), gt(pn, Wo, lt.HighlightParent), t.onHover(pn, Wo);
33192
33193
  })
33193
33194
  ] : []
33194
- ]), Io = (pn) => rr.getHighlighted(pn).bind(rr.getHighlighted), Co = (pn) => {
33195
- Io(pn).each((Vn) => {
33195
+ ]), Po = (pn) => rr.getHighlighted(pn).bind(rr.getHighlighted), Co = (pn) => {
33196
+ Po(pn).each((Vn) => {
33196
33197
  pt(pn, Vn);
33197
33198
  });
33198
33199
  }, Ms = (pn) => {
@@ -33205,7 +33206,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33205
33206
  repositionMenus: (pn) => {
33206
33207
  b.getPrimary().bind((Wo) => (
33207
33208
  // Get the triggering path (item, menu) up to the active item
33208
- Io(pn).bind((hs) => {
33209
+ Po(pn).bind((hs) => {
33209
33210
  const No = E(hs), ms = sr(b.getMenus()), Vr = Ko(Ie(ms, e5.extractPreparedMenu));
33210
33211
  return b.getTriggeringPath(No, ($r) => N(pn, Vr, $r));
33211
33212
  }).map((hs) => ({ primary: Wo, triggeringPath: hs }))
@@ -33239,7 +33240,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33239
33240
  highlightClass: t.markers.selectedMenu,
33240
33241
  itemClass: t.markers.menu
33241
33242
  }),
33242
- Wt.config({
33243
+ jt.config({
33243
33244
  find: (pn) => rr.getHighlighted(pn)
33244
33245
  }),
33245
33246
  as.config({})
@@ -33286,7 +33287,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33286
33287
  gn("dom"),
33287
33288
  Ft("navigateOnHover", !0),
33288
33289
  Ft("stayInDom", !1),
33289
- Dl("tmenuBehaviours", [bo, rr, Wt, as]),
33290
+ Dl("tmenuBehaviours", [bo, rr, jt, as]),
33290
33291
  Ft("eventOrder", {})
33291
33292
  ],
33292
33293
  apis: {
@@ -33414,7 +33415,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33414
33415
  const E = go.getCoupled(c, "sandbox");
33415
33416
  return (ar.isOpen(E) ? cP : MA)(t, r, c, E, f, b, S);
33416
33417
  }, jW = (t, r, c) => {
33417
- const f = Wt.getCurrent(r).getOr(r), b = Ua(t.element);
33418
+ const f = jt.getCurrent(r).getOr(r), b = Ua(t.element);
33418
33419
  c ? Jo(f.element, "min-width", b + "px") : Eg(f.element, b);
33419
33420
  }, s5 = (t, r) => t.getSystem().getByUid(r.uid + "-" + aP()).map((c) => () => ro.value(c)).getOrThunk(() => r.lazySink.fold(() => () => ro.error(new Error("No internal sink is specified, nor could an external sink be found")), (c) => () => c(t))), r5 = (t) => {
33420
33421
  ar.getState(t).each((r) => {
@@ -33451,8 +33452,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33451
33452
  }),
33452
33453
  // The Composing of the dropdown here is the the active menu of the TieredMenu
33453
33454
  // inside the sandbox.
33454
- Wt.config({
33455
- find: (N) => ar.getState(N).bind((I) => Wt.getCurrent(I))
33455
+ jt.config({
33456
+ find: (N) => ar.getState(N).bind((I) => jt.getCurrent(I))
33456
33457
  }),
33457
33458
  Bu.config({
33458
33459
  channels: {
@@ -33471,7 +33472,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33471
33472
  r5(r);
33472
33473
  }, a5 = () => [
33473
33474
  Ft("sandboxClasses", []),
33474
- Km.field("sandboxBehaviours", [Wt, Bu, ar, Qn])
33475
+ Km.field("sandboxBehaviours", [jt, Bu, ar, Qn])
33475
33476
  ], WW = te([
33476
33477
  gn("dom"),
33477
33478
  gn("fetch"),
@@ -33624,14 +33625,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33624
33625
  getValue: (c) => {
33625
33626
  const f = Bh(c, t);
33626
33627
  return Lt(f, (b, S) => b().bind((E) => {
33627
- const N = Wt.getCurrent(E);
33628
+ const N = jt.getCurrent(E);
33628
33629
  return qW(N, new Error(`Cannot find a current component to extract the value from for form part '${S}': ` + Tr(E.element)));
33629
33630
  }).map(Qn.getValue));
33630
33631
  },
33631
33632
  setValue: (c, f) => {
33632
33633
  no(f, (b, S) => {
33633
33634
  Or(c, t, S).each((E) => {
33634
- Wt.getCurrent(E).each((N) => {
33635
+ jt.getCurrent(E).each((N) => {
33635
33636
  Qn.setValue(N, b);
33636
33637
  });
33637
33638
  });
@@ -33641,7 +33642,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33641
33642
  })
33642
33643
  ]),
33643
33644
  apis: {
33644
- getField: (c, f) => Or(c, t, f).bind(Wt.getCurrent)
33645
+ getField: (c, f) => Or(c, t, f).bind(jt.getCurrent)
33645
33646
  }
33646
33647
  }), ay = {
33647
33648
  getField: Nv((t, r, c) => t.getField(r, c)),
@@ -33864,7 +33865,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33864
33865
  }
33865
33866
  }), pP = te([
33866
33867
  Ft("prefix", "form-field"),
33867
- Dl("fieldBehaviours", [Wt, Qn])
33868
+ Dl("fieldBehaviours", [jt, Qn])
33868
33869
  ]), c_ = te([
33869
33870
  Ti({
33870
33871
  schema: [gn("dom")],
@@ -33901,15 +33902,15 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33901
33902
  })
33902
33903
  ]), XW = (t, r, c, f) => {
33903
33904
  const b = fc(t.fieldBehaviours, [
33904
- Wt.config({
33905
+ jt.config({
33905
33906
  find: (N) => Or(N, t, "field")
33906
33907
  }),
33907
33908
  Qn.config({
33908
33909
  store: {
33909
33910
  mode: "manual",
33910
- getValue: (N) => Wt.getCurrent(N).bind(Qn.getValue),
33911
+ getValue: (N) => jt.getCurrent(N).bind(Qn.getValue),
33911
33912
  setValue: (N, I) => {
33912
- Wt.getCurrent(N).each((V) => {
33913
+ jt.getCurrent(N).each((V) => {
33913
33914
  Qn.setValue(V, I);
33914
33915
  });
33915
33916
  }
@@ -33959,9 +33960,9 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
33959
33960
  Ui("onLockedChange"),
33960
33961
  cf(["lockClass"]),
33961
33962
  Ft("locked", !1),
33962
- Km.field("coupledFieldBehaviours", [Wt, Qn]),
33963
+ Km.field("coupledFieldBehaviours", [jt, Qn]),
33963
33964
  Xr("onInput", H)
33964
- ]), Pd = (t, r, c) => Or(t, r, c).bind(Wt.getCurrent), W2 = (t, r) => Ri({
33965
+ ]), Pd = (t, r, c) => Or(t, r, c).bind(jt.getCurrent), W2 = (t, r) => Ri({
33965
33966
  factory: Ls,
33966
33967
  name: t,
33967
33968
  overrides: (c) => ({
@@ -34003,7 +34004,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
34003
34004
  dom: t.dom,
34004
34005
  components: r,
34005
34006
  behaviours: Km.augment(t.coupledFieldBehaviours, [
34006
- Wt.config({ find: M.some }),
34007
+ jt.config({ find: M.some }),
34007
34008
  Qn.config({
34008
34009
  store: {
34009
34010
  mode: "manual",
@@ -35135,7 +35136,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
35135
35136
  iP()
35136
35137
  ]), XZ = (t, r, c, f) => {
35137
35138
  const b = (G) => {
35138
- Wt.getCurrent(G).each((ne) => {
35139
+ jt.getCurrent(G).each((ne) => {
35139
35140
  rr.highlightFirst(ne), bo.focusIn(ne);
35140
35141
  });
35141
35142
  }, S = (G) => {
@@ -35798,7 +35799,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
35798
35799
  t.previewing.set(!1);
35799
35800
  const Fe = go.getCoupled(ne, "sandbox");
35800
35801
  if (ar.isOpen(Fe))
35801
- Wt.getCurrent(Fe).each((Ke) => {
35802
+ jt.getCurrent(Fe).each((Ke) => {
35802
35803
  rr.getHighlighted(Ke).fold(() => {
35803
35804
  Ee(Ke);
35804
35805
  }, () => {
@@ -35807,14 +35808,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
35807
35808
  });
35808
35809
  else {
35809
35810
  const Ke = (lt) => {
35810
- Wt.getCurrent(lt).each(Ee);
35811
+ jt.getCurrent(lt).each(Ee);
35811
35812
  };
35812
35813
  MA(t, E(ne), ne, Fe, f, Ke, ic.HighlightMenuAndItem).get(H);
35813
35814
  }
35814
35815
  }, S = bP(t), E = (ne) => (he) => he.map((Ee) => {
35815
35816
  const Fe = sr(Ee.menus), Ke = ee(Fe, (Ye) => Ct(Ye.items, (gt) => gt.type === "item"));
35816
35817
  return Qn.getState(ne).update(Ie(Ke, (Ye) => Ye.data)), Ee;
35817
- }), N = (ne) => Wt.getCurrent(ne), I = "typeaheadevents", V = [
35818
+ }), N = (ne) => jt.getCurrent(ne), I = "typeaheadevents", V = [
35818
35819
  Yo.config({}),
35819
35820
  Qn.config({
35820
35821
  onSetValue: t.onSetValue,
@@ -36474,7 +36475,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36474
36475
  createDocumentFragment: It,
36475
36476
  getElementsByTagName: Xn
36476
36477
  } = c, {
36477
- importNode: Io
36478
+ importNode: Po
36478
36479
  } = f;
36479
36480
  let Co = eF();
36480
36481
  r.isSupported = typeof tN == "function" && typeof pt == "function" && Wn && Wn.createHTMLDocument !== void 0;
@@ -36545,13 +36546,13 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36545
36546
  Fd && Fd(Yt), H4 = Yt;
36546
36547
  }
36547
36548
  }, wre = ea({}, [...lN, ...a3, ...WB]), Cre = ea({}, [...i3, ...LG]), che = function(Yt) {
36548
- let Po = pt(Yt);
36549
- (!Po || !Po.tagName) && (Po = {
36549
+ let Bo = pt(Yt);
36550
+ (!Bo || !Bo.tagName) && (Bo = {
36550
36551
  namespaceURI: L4,
36551
36552
  tagName: "template"
36552
36553
  });
36553
- const Hs = r3(Yt.tagName), Yl = r3(Po.tagName);
36554
- return Bee[Yt.namespaceURI] ? Yt.namespaceURI === UH ? Po.namespaceURI === Vy ? Hs === "svg" : Po.namespaceURI === zH ? Hs === "svg" && (Yl === "annotation-xml" || jH[Yl]) : !!wre[Hs] : Yt.namespaceURI === zH ? Po.namespaceURI === Vy ? Hs === "math" : Po.namespaceURI === UH ? Hs === "math" && WH[Yl] : !!Cre[Hs] : Yt.namespaceURI === Vy ? Po.namespaceURI === UH && !WH[Yl] || Po.namespaceURI === zH && !jH[Yl] ? !1 : !Cre[Hs] && (rhe[Hs] || !wre[Hs]) : !!(jM === "application/xhtml+xml" && Bee[Yt.namespaceURI]) : !1;
36554
+ const Hs = r3(Yt.tagName), Yl = r3(Bo.tagName);
36555
+ return Bee[Yt.namespaceURI] ? Yt.namespaceURI === UH ? Bo.namespaceURI === Vy ? Hs === "svg" : Bo.namespaceURI === zH ? Hs === "svg" && (Yl === "annotation-xml" || jH[Yl]) : !!wre[Hs] : Yt.namespaceURI === zH ? Bo.namespaceURI === Vy ? Hs === "math" : Bo.namespaceURI === UH ? Hs === "math" && WH[Yl] : !!Cre[Hs] : Yt.namespaceURI === Vy ? Bo.namespaceURI === UH && !WH[Yl] || Bo.namespaceURI === zH && !jH[Yl] ? !1 : !Cre[Hs] && (rhe[Hs] || !wre[Hs]) : !!(jM === "application/xhtml+xml" && Bee[Yt.namespaceURI]) : !1;
36555
36556
  }, i0 = function(Yt) {
36556
36557
  nC(r.removed, {
36557
36558
  element: Yt
@@ -36561,31 +36562,31 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36561
36562
  } catch {
36562
36563
  lt(Yt);
36563
36564
  }
36564
- }, WM = function(Yt, Po) {
36565
+ }, WM = function(Yt, Bo) {
36565
36566
  try {
36566
36567
  nC(r.removed, {
36567
- attribute: Po.getAttributeNode(Yt),
36568
- from: Po
36568
+ attribute: Bo.getAttributeNode(Yt),
36569
+ from: Bo
36569
36570
  });
36570
36571
  } catch {
36571
36572
  nC(r.removed, {
36572
36573
  attribute: null,
36573
- from: Po
36574
+ from: Bo
36574
36575
  });
36575
36576
  }
36576
- if (Po.removeAttribute(Yt), Yt === "is")
36577
+ if (Bo.removeAttribute(Yt), Yt === "is")
36577
36578
  if (P4 || HH)
36578
36579
  try {
36579
- i0(Po);
36580
+ i0(Bo);
36580
36581
  } catch {
36581
36582
  }
36582
36583
  else
36583
36584
  try {
36584
- Po.setAttribute(Yt, "");
36585
+ Bo.setAttribute(Yt, "");
36585
36586
  } catch {
36586
36587
  }
36587
36588
  }, xre = function(Yt) {
36588
- let Po = null, Hs = null;
36589
+ let Bo = null, Hs = null;
36589
36590
  if (Mee)
36590
36591
  Yt = "<remove></remove>" + Yt;
36591
36592
  else {
@@ -36596,18 +36597,18 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36596
36597
  const Yl = zt ? zt.createHTML(Yt) : Yt;
36597
36598
  if (L4 === Vy)
36598
36599
  try {
36599
- Po = new he().parseFromString(Yl, jM);
36600
+ Bo = new he().parseFromString(Yl, jM);
36600
36601
  } catch {
36601
36602
  }
36602
- if (!Po || !Po.documentElement) {
36603
- Po = Wn.createDocument(L4, "template", null);
36603
+ if (!Bo || !Bo.documentElement) {
36604
+ Bo = Wn.createDocument(L4, "template", null);
36604
36605
  try {
36605
- Po.documentElement.innerHTML = Pee ? Xt : Yl;
36606
+ Bo.documentElement.innerHTML = Pee ? Xt : Yl;
36606
36607
  } catch {
36607
36608
  }
36608
36609
  }
36609
- const Df = Po.body || Po.documentElement;
36610
- return Yt && Hs && Df.insertBefore(c.createTextNode(Hs), Df.childNodes[0] || null), L4 === Vy ? Xn.call(Po, Hy ? "html" : "body")[0] : Hy ? Po.documentElement : Df;
36610
+ const Df = Bo.body || Bo.documentElement;
36611
+ return Yt && Hs && Df.insertBefore(c.createTextNode(Hs), Df.childNodes[0] || null), L4 === Vy ? Xn.call(Bo, Hy ? "html" : "body")[0] : Hy ? Bo.documentElement : Df;
36611
36612
  }, Sre = function(Yt) {
36612
36613
  return eo.call(
36613
36614
  Yt.ownerDocument || Yt,
@@ -36621,13 +36622,13 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36621
36622
  }, _re = function(Yt) {
36622
36623
  return typeof N == "function" && Yt instanceof N;
36623
36624
  };
36624
- function zy(Ys, Yt, Po) {
36625
+ function zy(Ys, Yt, Bo) {
36625
36626
  s3(Ys, (Hs) => {
36626
- Hs.call(r, Yt, Po, H4);
36627
+ Hs.call(r, Yt, Bo, H4);
36627
36628
  });
36628
36629
  }
36629
36630
  const Ere = function(Yt) {
36630
- let Po = null;
36631
+ let Bo = null;
36631
36632
  if (zy(Co.beforeSanitizeElements, Yt, null), Lee(Yt))
36632
36633
  return i0(Yt), !0;
36633
36634
  const Hs = cd(Yt.nodeName);
@@ -36651,28 +36652,28 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36651
36652
  }
36652
36653
  return i0(Yt), !0;
36653
36654
  }
36654
- return Yt instanceof I && !che(Yt) || (Hs === "noscript" || Hs === "noembed" || Hs === "noframes") && Ld(/<\/no(script|embed|frames)/i, Yt.innerHTML) ? (i0(Yt), !0) : (dp && Yt.nodeType === sC.text && (Po = Yt.textContent, s3([Ms, es, fs], (Yl) => {
36655
- Po = Qv(Po, Yl, " ");
36656
- }), Yt.textContent !== Po && (nC(r.removed, {
36655
+ return Yt instanceof I && !che(Yt) || (Hs === "noscript" || Hs === "noembed" || Hs === "noframes") && Ld(/<\/no(script|embed|frames)/i, Yt.innerHTML) ? (i0(Yt), !0) : (dp && Yt.nodeType === sC.text && (Bo = Yt.textContent, s3([Ms, es, fs], (Yl) => {
36656
+ Bo = Qv(Bo, Yl, " ");
36657
+ }), Yt.textContent !== Bo && (nC(r.removed, {
36657
36658
  element: Yt.cloneNode()
36658
- }), Yt.textContent = Po)), zy(Co.afterSanitizeElements, Yt, null), !1);
36659
- }, Tre = function(Yt, Po, Hs) {
36660
- if (mre && (Po === "id" || Po === "name") && (Hs in c || Hs in lhe))
36659
+ }), Yt.textContent = Bo)), zy(Co.afterSanitizeElements, Yt, null), !1);
36660
+ }, Tre = function(Yt, Bo, Hs) {
36661
+ if (mre && (Bo === "id" || Bo === "name") && (Hs in c || Hs in lhe))
36661
36662
  return !1;
36662
- if (!(Af && !_c[Po] && Ld(yo, Po))) {
36663
- if (!(kf && Ld(pn, Po))) {
36664
- if (!$r[Po] || _c[Po]) {
36663
+ if (!(Af && !_c[Bo] && Ld(yo, Bo))) {
36664
+ if (!(kf && Ld(pn, Bo))) {
36665
+ if (!$r[Bo] || _c[Bo]) {
36665
36666
  if (
36666
36667
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
36667
36668
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
36668
36669
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
36669
- !(kre(Yt) && (Ia.tagNameCheck instanceof RegExp && Ld(Ia.tagNameCheck, Yt) || Ia.tagNameCheck instanceof Function && Ia.tagNameCheck(Yt)) && (Ia.attributeNameCheck instanceof RegExp && Ld(Ia.attributeNameCheck, Po) || Ia.attributeNameCheck instanceof Function && Ia.attributeNameCheck(Po)) || // Alternative, second condition checks if it's an `is`-attribute, AND
36670
+ !(kre(Yt) && (Ia.tagNameCheck instanceof RegExp && Ld(Ia.tagNameCheck, Yt) || Ia.tagNameCheck instanceof Function && Ia.tagNameCheck(Yt)) && (Ia.attributeNameCheck instanceof RegExp && Ld(Ia.attributeNameCheck, Bo) || Ia.attributeNameCheck instanceof Function && Ia.attributeNameCheck(Bo)) || // Alternative, second condition checks if it's an `is`-attribute, AND
36670
36671
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
36671
- Po === "is" && Ia.allowCustomizedBuiltInElements && (Ia.tagNameCheck instanceof RegExp && Ld(Ia.tagNameCheck, Hs) || Ia.tagNameCheck instanceof Function && Ia.tagNameCheck(Hs)))
36672
+ Bo === "is" && Ia.allowCustomizedBuiltInElements && (Ia.tagNameCheck instanceof RegExp && Ld(Ia.tagNameCheck, Hs) || Ia.tagNameCheck instanceof Function && Ia.tagNameCheck(Hs)))
36672
36673
  ) return !1;
36673
- } else if (!Iee[Po]) {
36674
+ } else if (!Iee[Bo]) {
36674
36675
  if (!Ld(No, Qv(Hs, Wo, ""))) {
36675
- if (!((Po === "src" || Po === "xlink:href" || Po === "href") && Yt !== "script" && gm(Hs, "data:") === 0 && pre[Yt])) {
36676
+ if (!((Bo === "src" || Bo === "xlink:href" || Bo === "href") && Yt !== "script" && gm(Hs, "data:") === 0 && pre[Yt])) {
36676
36677
  if (!(lg && !Ld(Vn, Qv(Hs, Wo, "")))) {
36677
36678
  if (Hs)
36678
36679
  return !1;
@@ -36688,9 +36689,9 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36688
36689
  }, Are = function(Yt) {
36689
36690
  zy(Co.beforeSanitizeAttributes, Yt, null);
36690
36691
  const {
36691
- attributes: Po
36692
+ attributes: Bo
36692
36693
  } = Yt;
36693
- if (!Po || Lee(Yt))
36694
+ if (!Bo || Lee(Yt))
36694
36695
  return;
36695
36696
  const Hs = {
36696
36697
  attrName: "",
@@ -36699,9 +36700,9 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36699
36700
  allowedAttributes: $r,
36700
36701
  forceKeepAttr: void 0
36701
36702
  };
36702
- let Yl = Po.length;
36703
+ let Yl = Bo.length;
36703
36704
  for (; Yl--; ) {
36704
- const Df = Po[Yl], {
36705
+ const Df = Bo[Yl], {
36705
36706
  name: ud,
36706
36707
  namespaceURI: cg,
36707
36708
  value: l0
@@ -36749,14 +36750,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36749
36750
  }
36750
36751
  zy(Co.afterSanitizeAttributes, Yt, null);
36751
36752
  }, uhe = function Ys(Yt) {
36752
- let Po = null;
36753
+ let Bo = null;
36753
36754
  const Hs = Sre(Yt);
36754
- for (zy(Co.beforeSanitizeShadowDOM, Yt, null); Po = Hs.nextNode(); )
36755
- zy(Co.uponSanitizeShadowNode, Po, null), Ere(Po), Are(Po), Po.content instanceof S && Ys(Po.content);
36755
+ for (zy(Co.beforeSanitizeShadowDOM, Yt, null); Bo = Hs.nextNode(); )
36756
+ zy(Co.uponSanitizeShadowNode, Bo, null), Ere(Bo), Are(Bo), Bo.content instanceof S && Ys(Bo.content);
36756
36757
  zy(Co.afterSanitizeShadowDOM, Yt, null);
36757
36758
  };
36758
36759
  return r.sanitize = function(Ys) {
36759
- let Yt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Po = null, Hs = null, Yl = null, Df = null;
36760
+ let Yt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Bo = null, Hs = null, Yl = null, Df = null;
36760
36761
  if (Pee = !Ys, Pee && (Ys = "<!-->"), typeof Ys != "string" && !_re(Ys))
36761
36762
  if (typeof Ys.toString == "function") {
36762
36763
  if (Ys = Ys.toString(), typeof Ys != "string")
@@ -36772,30 +36773,30 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36772
36773
  throw k_("root node is forbidden and cannot be sanitized in-place");
36773
36774
  }
36774
36775
  } else if (Ys instanceof N)
36775
- Po = xre("<!---->"), Hs = Po.ownerDocument.importNode(Ys, !0), Hs.nodeType === sC.element && Hs.nodeName === "BODY" || Hs.nodeName === "HTML" ? Po = Hs : Po.appendChild(Hs);
36776
+ Bo = xre("<!---->"), Hs = Bo.ownerDocument.importNode(Ys, !0), Hs.nodeType === sC.element && Hs.nodeName === "BODY" || Hs.nodeName === "HTML" ? Bo = Hs : Bo.appendChild(Hs);
36776
36777
  else {
36777
36778
  if (!P4 && !dp && !Hy && // eslint-disable-next-line unicorn/prefer-includes
36778
36779
  Ys.indexOf("<") === -1)
36779
36780
  return zt && VH ? zt.createHTML(Ys) : Ys;
36780
- if (Po = xre(Ys), !Po)
36781
+ if (Bo = xre(Ys), !Bo)
36781
36782
  return P4 ? null : VH ? Xt : "";
36782
36783
  }
36783
- Po && Mee && i0(Po.firstChild);
36784
- const ud = Sre(UM ? Ys : Po);
36784
+ Bo && Mee && i0(Bo.firstChild);
36785
+ const ud = Sre(UM ? Ys : Bo);
36785
36786
  for (; Yl = ud.nextNode(); )
36786
36787
  Ere(Yl), Are(Yl), Yl.content instanceof S && uhe(Yl.content);
36787
36788
  if (UM)
36788
36789
  return Ys;
36789
36790
  if (P4) {
36790
36791
  if (HH)
36791
- for (Df = It.call(Po.ownerDocument); Po.firstChild; )
36792
- Df.appendChild(Po.firstChild);
36792
+ for (Df = It.call(Bo.ownerDocument); Bo.firstChild; )
36793
+ Df.appendChild(Bo.firstChild);
36793
36794
  else
36794
- Df = Po;
36795
- return ($r.shadowroot || $r.shadowrootmode) && (Df = Io.call(f, Df, !0)), Df;
36795
+ Df = Bo;
36796
+ return ($r.shadowroot || $r.shadowrootmode) && (Df = Po.call(f, Df, !0)), Df;
36796
36797
  }
36797
- let cg = Hy ? Po.outerHTML : Po.innerHTML;
36798
- return Hy && ms["!doctype"] && Po.ownerDocument && Po.ownerDocument.doctype && Po.ownerDocument.doctype.name && Ld(XB, Po.ownerDocument.doctype.name) && (cg = "<!DOCTYPE " + Po.ownerDocument.doctype.name + `>
36798
+ let cg = Hy ? Bo.outerHTML : Bo.innerHTML;
36799
+ return Hy && ms["!doctype"] && Bo.ownerDocument && Bo.ownerDocument.doctype && Bo.ownerDocument.doctype.name && Ld(XB, Bo.ownerDocument.doctype.name) && (cg = "<!DOCTYPE " + Bo.ownerDocument.doctype.name + `>
36799
36800
  ` + cg), dp && s3([Ms, es, fs], (l0) => {
36800
36801
  cg = Qv(cg, l0, " ");
36801
36802
  }), zt && VH ? zt.createHTML(cg) : cg;
@@ -36804,16 +36805,16 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
36804
36805
  Fee(Ys), zM = !0;
36805
36806
  }, r.clearConfig = function() {
36806
36807
  H4 = null, zM = !1;
36807
- }, r.isValidAttribute = function(Ys, Yt, Po) {
36808
+ }, r.isValidAttribute = function(Ys, Yt, Bo) {
36808
36809
  H4 || Fee({});
36809
36810
  const Hs = cd(Ys), Yl = cd(Yt);
36810
- return Tre(Hs, Yl, Po);
36811
+ return Tre(Hs, Yl, Bo);
36811
36812
  }, r.addHook = function(Ys, Yt) {
36812
36813
  typeof Yt == "function" && nC(Co[Ys], Yt);
36813
36814
  }, r.removeHook = function(Ys, Yt) {
36814
36815
  if (Yt !== void 0) {
36815
- const Po = BG(Co[Ys], Yt);
36816
- return Po === -1 ? void 0 : oC(Co[Ys], Po, 1)[0];
36816
+ const Bo = BG(Co[Ys], Yt);
36817
+ return Bo === -1 ? void 0 : oC(Co[Ys], Bo, 1)[0];
36817
36818
  }
36818
36819
  return zB(Co[Ys]);
36819
36820
  }, r.removeHooks = function(Ys) {
@@ -39574,7 +39575,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
39574
39575
  _: " ",
39575
39576
  " - ": " ",
39576
39577
  "-": " "
39577
- }, Xn = Xt.replace(/\_| \- |\-/g, (Io) => It[Io]);
39578
+ }, Xn = Xt.replace(/\_| \- |\-/g, (Po) => It[Po]);
39578
39579
  return `<div data-mce-tooltip="${Xn}" class="tox-collection__item${lt}" tabindex="-1" data-collection-item-value="${jK.encodeAllRaw(zt.value)}" aria-label="${Xn}">${eo}${Wn}</div>`;
39579
39580
  }), gt = t.columns !== "auto" && t.columns > 1 ? ht(Ye, t.columns) : [Ye], pt = Ie(gt, (zt) => `<div class="tox-collection__group">${zt.join("")}</div>`);
39580
39581
  Zc(Ee.element, pt.join(""));
@@ -39804,25 +39805,25 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
39804
39805
  }),
39805
39806
  an(SL, (V, G) => {
39806
39807
  Ls.getField(V).each((ne) => {
39807
- Qn.setValue(ne, G.event.value), Wt.getCurrent(V).each(Yo.focus);
39808
+ Qn.setValue(ne, G.event.value), jt.getCurrent(V).each(Yo.focus);
39808
39809
  });
39809
39810
  }),
39810
39811
  an(_L, (V, G) => {
39811
39812
  Ls.getField(V).each((ne) => {
39812
- Wt.getCurrent(V).each(Yo.focus);
39813
+ jt.getCurrent(V).each(Yo.focus);
39813
39814
  });
39814
39815
  })
39815
39816
  ])
39816
39817
  ])
39817
39818
  });
39818
39819
  }, ym = {
39819
- self: () => Wt.config({
39820
+ self: () => jt.config({
39820
39821
  find: M.some
39821
39822
  }),
39822
- memento: (t) => Wt.config({
39823
+ memento: (t) => jt.config({
39823
39824
  find: t.getOpt
39824
39825
  }),
39825
- childAt: (t) => Wt.config({
39826
+ childAt: (t) => jt.config({
39826
39827
  find: (r) => qu(r.element, t).bind((c) => r.getSystem().getByDom(c).toOptional())
39827
39828
  })
39828
39829
  }, YK = jo([
@@ -39987,7 +39988,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
39987
39988
  onSetValue: (fs) => {
39988
39989
  Xm.isInvalid(fs) && Xm.run(fs).get(H);
39989
39990
  }
39990
- }), It = ke("aria-invalid"), Xn = gr(S("invalid", M.some(It), "warning")), Io = gr({
39991
+ }), It = ke("aria-invalid"), Xn = gr(S("invalid", M.some(It), "warning")), Po = gr({
39991
39992
  dom: {
39992
39993
  tag: "div",
39993
39994
  classes: [r("invalid-icon")]
@@ -39995,7 +39996,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
39995
39996
  components: [
39996
39997
  Xn.asSpec()
39997
39998
  ]
39998
- }), Co = [Wn, eo, Io.asSpec()], Ms = lt !== "hex" ? [Ls.parts["aria-descriptor"]({
39999
+ }), Co = [Wn, eo, Po.asSpec()], Ms = lt !== "hex" ? [Ls.parts["aria-descriptor"]({
39999
40000
  text: Xt
40000
40001
  })] : [], es = Co.concat(Ms);
40001
40002
  return {
@@ -40073,10 +40074,10 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
40073
40074
  }, It = (yo) => yo.type === "hex", Xn = (yo, pn) => {
40074
40075
  const Vn = pn.event;
40075
40076
  It(Vn) ? Wn(yo, Vn.value) : eo(yo, Vn.type, Vn.value);
40076
- }, Io = (yo) => ({
40077
+ }, Po = (yo) => ({
40077
40078
  label: t(T6 + yo + ".label"),
40078
40079
  description: t(T6 + yo + ".description")
40079
- }), Co = Io("red"), Ms = Io("green"), es = Io("blue"), fs = Io("hex");
40080
+ }), Co = Po("red"), Ms = Po("green"), es = Po("blue"), fs = Po("hex");
40080
40081
  return vn(ay.sketch((yo) => ({
40081
40082
  dom: {
40082
40083
  tag: "form",
@@ -40165,7 +40166,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
40165
40166
  }, he = (Fe, Ke, lt, Ye) => {
40166
40167
  b(lt.element.dom, c6(u6));
40167
40168
  }, Ee = Tn([
40168
- Wt.config({
40169
+ jt.config({
40169
40170
  find: M.some
40170
40171
  }),
40171
40172
  Yo.config({})
@@ -40210,45 +40211,45 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
40210
40211
  const N = _f(t, r, E.onValidHex, E.onInvalidHex, c, f), I = eX(t, r), V = (It) => (100 - It) / 100 * 360, G = (It) => 100 - It / 360 * 100, ne = {
40211
40212
  paletteRgba: Zn(u6),
40212
40213
  paletteHue: Zn(0)
40213
- }, he = gr(Nse(t, r)), Ee = gr(I.sketch({})), Fe = gr(N.sketch({})), Ke = (It, Xn, Io) => {
40214
+ }, he = gr(Nse(t, r)), Ee = gr(I.sketch({})), Fe = gr(N.sketch({})), Ke = (It, Xn, Po) => {
40214
40215
  Ee.getOpt(It).each((Co) => {
40215
- I.setHue(Co, Io);
40216
+ I.setHue(Co, Po);
40216
40217
  });
40217
40218
  }, lt = (It, Xn) => {
40218
- Fe.getOpt(It).each((Io) => {
40219
- N.updateHex(Io, Xn);
40219
+ Fe.getOpt(It).each((Po) => {
40220
+ N.updateHex(Po, Xn);
40220
40221
  });
40221
- }, Ye = (It, Xn, Io) => {
40222
+ }, Ye = (It, Xn, Po) => {
40222
40223
  he.getOpt(It).each((Co) => {
40223
- eg.setValue(Co, G(Io));
40224
+ eg.setValue(Co, G(Po));
40224
40225
  });
40225
40226
  }, gt = (It, Xn) => {
40226
- Ee.getOpt(It).each((Io) => {
40227
- I.setThumb(Io, Xn);
40227
+ Ee.getOpt(It).each((Po) => {
40228
+ I.setThumb(Po, Xn);
40228
40229
  });
40229
40230
  }, pt = (It, Xn) => {
40230
- const Io = _y(It);
40231
- ne.paletteRgba.set(Io), ne.paletteHue.set(Xn);
40232
- }, zt = (It, Xn, Io, Co) => {
40233
- pt(Xn, Io), bt(Co, (Ms) => {
40234
- Ms(It, Xn, Io);
40231
+ const Po = _y(It);
40232
+ ne.paletteRgba.set(Po), ne.paletteHue.set(Xn);
40233
+ }, zt = (It, Xn, Po, Co) => {
40234
+ pt(Xn, Po), bt(Co, (Ms) => {
40235
+ Ms(It, Xn, Po);
40235
40236
  });
40236
40237
  }, Xt = () => {
40237
40238
  const It = [lt];
40238
- return (Xn, Io) => {
40239
- const Co = Io.event.value, Ms = ne.paletteHue.get(), es = Sy(Ms, Co.x, 100 - Co.y), fs = L7(es);
40239
+ return (Xn, Po) => {
40240
+ const Co = Po.event.value, Ms = ne.paletteHue.get(), es = Sy(Ms, Co.x, 100 - Co.y), fs = L7(es);
40240
40241
  zt(Xn, fs, Ms, It);
40241
40242
  };
40242
40243
  }, Wn = () => {
40243
40244
  const It = [Ke, lt];
40244
- return (Xn, Io) => {
40245
- const Co = V(Io.event.value), Ms = ne.paletteRgba.get(), es = r6(Ms), fs = Sy(Co, es.saturation, es.value), yo = L7(fs);
40245
+ return (Xn, Po) => {
40246
+ const Co = V(Po.event.value), Ms = ne.paletteRgba.get(), es = r6(Ms), fs = Sy(Co, es.saturation, es.value), yo = L7(fs);
40246
40247
  zt(Xn, yo, Co, It);
40247
40248
  };
40248
40249
  }, eo = () => {
40249
40250
  const It = [Ke, Ye, gt];
40250
- return (Xn, Io) => {
40251
- const Co = Io.event.hex, Ms = sK(Co);
40251
+ return (Xn, Po) => {
40252
+ const Co = Po.event.hex, Ms = sK(Co);
40252
40253
  zt(Xn, Co, Ms.hue, It);
40253
40254
  };
40254
40255
  };
@@ -40266,7 +40267,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
40266
40267
  an(kL, Xt()),
40267
40268
  an(TL, Wn())
40268
40269
  ]),
40269
- Wt.config({
40270
+ jt.config({
40270
40271
  find: (It) => Fe.getOpt(It)
40271
40272
  }),
40272
40273
  bo.config({
@@ -40333,10 +40334,10 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
40333
40334
  // We'll allow invalid values
40334
40335
  Oy(c, (V) => {
40335
40336
  const G = I.get(V);
40336
- return Wt.getCurrent(G).bind((Ee) => Qn.getValue(Ee).hex).map((Ee) => "#" + si(Ee, "#")).getOr("");
40337
+ return jt.getCurrent(G).bind((Ee) => Qn.getValue(Ee).hex).map((Ee) => "#" + si(Ee, "#")).getOr("");
40337
40338
  }, (V, G) => {
40338
40339
  const ne = /^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/, he = M.from(ne.exec(G)).bind((Ke) => Nt(Ke, 1)), Ee = I.get(V);
40339
- Wt.getCurrent(Ee).fold(() => {
40340
+ jt.getCurrent(Ee).fold(() => {
40340
40341
  console.log("Can not find form");
40341
40342
  }, (Ke) => {
40342
40343
  Qn.setValue(Ke, {
@@ -42101,7 +42102,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
42101
42102
  he.map(() => Ke.asSpec()).toArray()
42102
42103
  ])
42103
42104
  }), Ye = (gt) => {
42104
- Wt.getCurrent(gt).each((pt) => {
42105
+ jt.getCurrent(gt).each((pt) => {
42105
42106
  const zt = Qn.getValue(pt), Xt = {
42106
42107
  fieldname: t.name,
42107
42108
  ...zt
@@ -42767,12 +42768,12 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
42767
42768
  };
42768
42769
  }, EC = (t, r, c) => {
42769
42770
  const f = (It, Xn) => {
42770
- bt([r, ...c], (Io) => {
42771
- Io.broadcastEvent(It, Xn);
42771
+ bt([r, ...c], (Po) => {
42772
+ Po.broadcastEvent(It, Xn);
42772
42773
  });
42773
42774
  }, b = (It, Xn) => {
42774
- bt([r, ...c], (Io) => {
42775
- Io.broadcastOn([It], Xn);
42775
+ bt([r, ...c], (Po) => {
42776
+ Po.broadcastOn([It], Xn);
42776
42777
  });
42777
42778
  }, S = (It) => b(ep(), { target: It.target }), E = Wc(), N = Yr(E, "touchstart", S), I = Yr(E, "touchmove", (It) => f(ST(), It)), V = Yr(E, "touchend", (It) => f(sv(), It)), G = Yr(E, "mousedown", S), ne = Yr(E, "mouseup", (It) => {
42778
42779
  It.raw.button === 0 && b(z$(), { target: It.target });
@@ -43142,10 +43143,10 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43142
43143
  Jr((c) => Bc.hideAllSlots(c))
43143
43144
  ])
43144
43145
  })), HJ = (t, r, c) => {
43145
- Wt.getCurrent(t).each((b) => {
43146
+ jt.getCurrent(t).each((b) => {
43146
43147
  as.set(b, [LJ(r)]);
43147
43148
  const S = c == null ? void 0 : c.toLowerCase();
43148
- C(S) && Fo(r, S) && Wt.getCurrent(b).each((E) => {
43149
+ C(S) && Fo(r, S) && jt.getCurrent(b).each((E) => {
43149
43150
  Bc.showSlot(E, S), nu.immediateGrow(b), Bn(b.element, "width"), v4(
43150
43151
  t.element,
43151
43152
  "region"
@@ -43156,8 +43157,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43156
43157
  }, v4 = (t, r) => {
43157
43158
  Uo(t, "role", r);
43158
43159
  }, VJ = (t, r) => {
43159
- Wt.getCurrent(t).each((f) => {
43160
- Wt.getCurrent(f).each((S) => {
43160
+ jt.getCurrent(t).each((f) => {
43161
+ jt.getCurrent(f).each((S) => {
43161
43162
  nu.hasGrown(f) ? Bc.isShowing(S, r) ? (nu.shrink(f), v4(
43162
43163
  t.element,
43163
43164
  "presentation"
@@ -43173,7 +43174,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43173
43174
  ));
43174
43175
  });
43175
43176
  });
43176
- }, zJ = (t) => Wt.getCurrent(t).bind((c) => nu.isGrowing(c) || nu.hasGrown(c) ? Wt.getCurrent(c).bind((S) => Q(Bc.getSlotNames(S), (E) => Bc.isShowing(S, E))) : M.none()), aM = ke("FixSizeEvent"), iM = ke("AutoSizeEvent"), UJ = (t) => ({
43177
+ }, zJ = (t) => jt.getCurrent(t).bind((c) => nu.isGrowing(c) || nu.hasGrown(c) ? jt.getCurrent(c).bind((S) => Q(Bc.getSlotNames(S), (E) => Bc.isShowing(S, E))) : M.none()), aM = ke("FixSizeEvent"), iM = ke("AutoSizeEvent"), UJ = (t) => ({
43177
43178
  uid: t.uid,
43178
43179
  dom: {
43179
43180
  tag: "div",
@@ -43205,7 +43206,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43205
43206
  shrinkingClass: "tox-sidebar--sliding-shrinking",
43206
43207
  growingClass: "tox-sidebar--sliding-growing",
43207
43208
  onShrunk: (r) => {
43208
- Wt.getCurrent(r).each(Bc.hideAllSlots), Os(r, iM);
43209
+ jt.getCurrent(r).each(Bc.hideAllSlots), Os(r, iM);
43209
43210
  },
43210
43211
  onGrown: (r) => {
43211
43212
  Os(r, iM);
@@ -43218,7 +43219,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43218
43219
  }
43219
43220
  }),
43220
43221
  as.config({}),
43221
- Wt.config({
43222
+ jt.config({
43222
43223
  find: (r) => {
43223
43224
  const c = as.contents(r);
43224
43225
  return yn(c);
@@ -43252,7 +43253,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43252
43253
  dom: Qh('<div class="tox-spinner"><div></div><div></div><div></div></div>')
43253
43254
  }
43254
43255
  ]
43255
- }), L9 = (t) => Wt.getCurrent(t).each((r) => wr(r.element, !0)), WJ = (t, r) => {
43256
+ }), L9 = (t) => jt.getCurrent(t).each((r) => wr(r.element, !0)), WJ = (t, r) => {
43256
43257
  const c = "tabindex", f = `data-mce-${c}`;
43257
43258
  M.from(t.iframeElement).map(Nn.fromDom).each((b) => {
43258
43259
  r ? (ai(b, c).each((S) => Uo(b, f, S)), Uo(b, c, -1)) : (qs(b, c), ai(b, f).each((S) => {
@@ -43264,7 +43265,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43264
43265
  if (WJ(t, c), c)
43265
43266
  _e.block(r, jJ(f)), Bn(b, "display"), qs(b, "aria-hidden"), t.hasFocus() && L9(r);
43266
43267
  else {
43267
- const S = Wt.getCurrent(r).exists((E) => Eu(E.element));
43268
+ const S = jt.getCurrent(r).exists((E) => Eu(E.element));
43268
43269
  _e.unblock(r), Jo(b, "display", "none"), Uo(b, "aria-hidden", "true"), S && t.focus();
43269
43270
  }
43270
43271
  }, GJ = (t) => ({
@@ -43284,7 +43285,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43284
43285
  _e.config({
43285
43286
  focus: !1
43286
43287
  }),
43287
- Wt.config({
43288
+ jt.config({
43288
43289
  find: (r) => yn(r.components())
43289
43290
  })
43290
43291
  ]),
@@ -43462,8 +43463,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43462
43463
  var c, f;
43463
43464
  const b = t.type === "togglebutton", S = t.icon.map((pt) => sh(pt, r.icons)).map(gr), N = (pt) => {
43464
43465
  const zt = (It) => {
43465
- S.map((Xn) => Xn.getOpt(pt).each((Io) => {
43466
- as.set(Io, [
43466
+ S.map((Xn) => Xn.getOpt(pt).each((Po) => {
43467
+ as.set(Po, [
43467
43468
  sh(It, r.icons)
43468
43469
  ]);
43469
43470
  }));
@@ -43659,8 +43660,8 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43659
43660
  setViews: (E, N) => {
43660
43661
  as.set(E, [cM(N, r.backstage.shared.providers)]);
43661
43662
  },
43662
- whichView: (E) => Wt.getCurrent(E).bind(G9),
43663
- toggleView: (E, N, I, V) => Wt.getCurrent(E).exists((G) => {
43663
+ whichView: (E) => jt.getCurrent(E).bind(G9),
43664
+ toggleView: (E, N, I, V) => jt.getCurrent(E).exists((G) => {
43664
43665
  const ne = G9(G), he = ne.exists((Fe) => V === Fe), Ee = Bc.getSlot(G, V).isSome();
43665
43666
  return Ee && (Bc.hideAllSlots(G), he ? (q9(E), N()) : (I(), oQ(E), Bc.showSlot(G, V), rQ(G, V)), ne.each((Fe) => Y9(G, Fe))), Ee;
43666
43667
  })
@@ -43678,7 +43679,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
43678
43679
  ],
43679
43680
  behaviours: Tn([
43680
43681
  as.config({}),
43681
- Wt.config({
43682
+ jt.config({
43682
43683
  find: (E) => {
43683
43684
  const N = as.contents(E);
43684
43685
  return yn(N);
@@ -44674,12 +44675,12 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
44674
44675
  const zt = pt.getComponent();
44675
44676
  b = M.some(zt), c.updateInputValue(zt), co.set(zt, !t.selection.isEditable() || z5(t));
44676
44677
  }), N = (pt) => ({ getComponent: te(pt) }), I = Zn(H), V = ke("custom-number-input-events"), G = (pt, zt, Xt) => {
44677
- const Wn = S(b), eo = c.getNewValue(Wn, pt), It = Wn.length - `${eo}`.length, Xn = b.map((Co) => Co.element.dom.selectionStart - It), Io = b.map((Co) => Co.element.dom.selectionEnd - It);
44678
+ const Wn = S(b), eo = c.getNewValue(Wn, pt), It = Wn.length - `${eo}`.length, Xn = b.map((Co) => Co.element.dom.selectionStart - It), Po = b.map((Co) => Co.element.dom.selectionEnd - It);
44678
44679
  c.onAction(eo, Xt), b.each((Co) => {
44679
- Qn.setValue(Co, eo), zt && (Xn.each((Ms) => Co.element.dom.selectionStart = Ms), Io.each((Ms) => Co.element.dom.selectionEnd = Ms));
44680
+ Qn.setValue(Co, eo), zt && (Xn.each((Ms) => Co.element.dom.selectionStart = Ms), Po.each((Ms) => Co.element.dom.selectionEnd = Ms));
44680
44681
  });
44681
44682
  }, ne = (pt, zt) => G((Xt, Wn) => Xt - Wn, pt, zt), he = (pt, zt) => G((Xt, Wn) => Xt + Wn, pt, zt), Ee = (pt) => Ps(pt.element).fold(M.none, (zt) => (wr(zt), M.some(!0))), Fe = (pt) => Eu(pt.element) ? (Hf(pt.element).each((zt) => wr(zt)), M.some(!0)) : M.none(), Ke = (pt, zt, Xt, Wn) => {
44682
- const eo = Zn(H), It = r.shared.providers.translate(Xt), Xn = ke("altExecuting"), Io = Ey(t, "NodeChange SwitchMode DisabledStateChange", (Ms) => {
44683
+ const eo = Zn(H), It = r.shared.providers.translate(Xt), Xn = ke("altExecuting"), Po = Ey(t, "NodeChange SwitchMode DisabledStateChange", (Ms) => {
44683
44684
  co.set(Ms.getComponent(), !t.selection.isEditable() || z5(t));
44684
44685
  }), Co = (Ms) => {
44685
44686
  co.isDisabled(Ms) || pt(!0);
@@ -44702,7 +44703,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
44702
44703
  tooltipText: It
44703
44704
  })),
44704
44705
  os(Xn, [
44705
- sg({ onSetup: Io, getApi: N }, eo),
44706
+ sg({ onSetup: Po, getApi: N }, eo),
44706
44707
  bm({ getApi: N }, eo),
44707
44708
  an(rl(), (Ms, es) => {
44708
44709
  (es.event.raw.keyCode === iE.SPACEBAR || es.event.raw.keyCode === iE.ENTER) && (co.isDisabled(Ms) || pt(!1));
@@ -45205,7 +45206,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45205
45206
  bt(E, (yo) => {
45206
45207
  yo.broadcastOn([jv()], {});
45207
45208
  });
45208
- }, Xn = () => !I && (Hi(S.outerContainer.element).left + Tg(S.outerContainer.element) >= window.innerWidth - pee || Ze(S.outerContainer.element, "width").isSome()) ? (Jo(S.outerContainer.element, "position", "absolute"), Jo(S.outerContainer.element, "left", "0px"), Bn(S.outerContainer.element, "width"), !0) : !1, Io = (yo) => {
45209
+ }, Xn = () => !I && (Hi(S.outerContainer.element).left + Tg(S.outerContainer.element) >= window.innerWidth - pee || Ze(S.outerContainer.element, "width").isSome()) ? (Jo(S.outerContainer.element, "position", "absolute"), Jo(S.outerContainer.element, "left", "0px"), Bn(S.outerContainer.element, "width"), !0) : !1, Po = (yo) => {
45209
45210
  if (!Ye())
45210
45211
  return;
45211
45212
  I || Xt();
@@ -45227,16 +45228,16 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45227
45228
  show: () => {
45228
45229
  lt.set(!0), Jo(S.outerContainer.element, "display", "flex"), N.addClass(t.getBody(), "mce-edit-focus"), bt(E, (yo) => {
45229
45230
  Bn(yo.element, "display");
45230
- }), Co(), Xv(t) ? Io((yo) => xa.isDocked(yo) ? xa.reset(yo) : xa.refresh(yo)) : Io(xa.refresh);
45231
+ }), Co(), Xv(t) ? Po((yo) => xa.isDocked(yo) ? xa.reset(yo) : xa.refresh(yo)) : Po(xa.refresh);
45231
45232
  },
45232
45233
  hide: () => {
45233
45234
  lt.set(!1), Jo(S.outerContainer.element, "display", "none"), N.removeClass(t.getBody(), "mce-edit-focus"), bt(E, (yo) => {
45234
45235
  Jo(yo.element, "display", "none");
45235
45236
  });
45236
45237
  },
45237
- update: Io,
45238
+ update: Po,
45238
45239
  updateMode: () => {
45239
- Co() && Io(xa.reset);
45240
+ Co() && Po(xa.reset);
45240
45241
  },
45241
45242
  repositionPopups: It
45242
45243
  };
@@ -45385,7 +45386,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45385
45386
  classes: ["tox-context-form__group"]
45386
45387
  },
45387
45388
  components: It
45388
- }), lt = (It) => Xu(It.element, "div.tox-focusable-wrapper").fold(M.none, (Io) => (wr(Io), M.some(!0))), Ye = (It) => Ls.parts.field({
45389
+ }), lt = (It) => Xu(It.element, "div.tox-focusable-wrapper").fold(M.none, (Po) => (wr(Po), M.some(!0))), Ye = (It) => Ls.parts.field({
45389
45390
  factory: op,
45390
45391
  inputClasses: ["tox-textfield", "tox-toolbar-textfield", "tox-textfield-size"],
45391
45392
  data: It ? b : S,
@@ -45393,7 +45394,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45393
45394
  co.config({ disabled: ne }),
45394
45395
  Qr.config({}),
45395
45396
  os("size-input-toolbar-events", [
45396
- an(sc(), (Xn, Io) => {
45397
+ an(sc(), (Xn, Po) => {
45397
45398
  Do(Xn, I, { isField1: It });
45398
45399
  })
45399
45400
  ]),
@@ -45449,7 +45450,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45449
45450
  markers: {
45450
45451
  lockClass: "tox-locked"
45451
45452
  },
45452
- onLockedChange: (It, Xn, Io) => {
45453
+ onLockedChange: (It, Xn, Po) => {
45453
45454
  X3(Qn.getValue(It)).each((Co) => {
45454
45455
  E(Co).each((Ms) => {
45455
45456
  Qn.setValue(Xn, WL(Ms));
@@ -45477,7 +45478,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45477
45478
  Ci(() => r.checkUiComponentContext("mode:design")),
45478
45479
  os("size-input-toolbar-events2", [
45479
45480
  an(I, (It, Xn) => {
45480
- const Io = Xn.event.isField1, Co = Io ? ys.getField1(It) : ys.getField2(It), Ms = Io ? ys.getField2(It) : ys.getField1(It), es = Co.map(Qn.getValue).getOr(""), fs = Ms.map(Qn.getValue).getOr("");
45481
+ const Po = Xn.event.isField1, Co = Po ? ys.getField1(It) : ys.getField2(It), Ms = Po ? ys.getField2(It) : ys.getField1(It), es = Co.map(Qn.getValue).getOr(""), fs = Ms.map(Qn.getValue).getOr("");
45481
45482
  E = ZL(es, fs);
45482
45483
  }),
45483
45484
  an(wL, (It) => t.onInput(V(It))),
@@ -45906,7 +45907,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45906
45907
  mode: "placement"
45907
45908
  }
45908
45909
  }, () => M.some(he())), fs.fold(N.clear, N.set), Ke() && Jo(Wo, "display", "none");
45909
- }, Io = () => {
45910
+ }, Po = () => {
45910
45911
  Jo(ne.element, "transition", "none"), Ye(), Bn(ne.element, "transition");
45911
45912
  };
45912
45913
  let Co = !1;
@@ -45946,7 +45947,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
45946
45947
  }), t.on("dragend drop", () => {
45947
45948
  Co = !1;
45948
45949
  }), t.on("NodeChange", (es) => {
45949
- G.inSubtoolbar() ? Io() : Qa(ne.element).fold(Ms.throttle, H);
45950
+ G.inSubtoolbar() ? Po() : Qa(ne.element).fold(Ms.throttle, H);
45950
45951
  });
45951
45952
  });
45952
45953
  }, Pe = (t) => {
@@ -46277,7 +46278,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
46277
46278
  }, a0 = (t, r) => {
46278
46279
  const c = C_.DOM.getPos(t);
46279
46280
  return Ef(r, c.x, c.y);
46280
- }, Ro = (t, r) => r.type === "contextmenu" || r.type === "longpress" ? t.inline ? Vu(r) : a0(t.getContentAreaContainer(), _m(r)) : Js(t), Js = (t) => ({
46281
+ }, Io = (t, r) => r.type === "contextmenu" || r.type === "longpress" ? t.inline ? Vu(r) : a0(t.getContentAreaContainer(), _m(r)) : Js(t), Js = (t) => ({
46281
46282
  type: "selection",
46282
46283
  root: Nn.fromDom(t.selection.getNode())
46283
46284
  }), di = (t) => ({
@@ -46289,7 +46290,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
46289
46290
  case "node":
46290
46291
  return di(t);
46291
46292
  case "point":
46292
- return Ro(t, r);
46293
+ return Io(t, r);
46293
46294
  case "selection":
46294
46295
  return Js(t);
46295
46296
  }
@@ -46578,22 +46579,22 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
46578
46579
  S.get().each((It) => {
46579
46580
  t.dispatch("TableSelectorChange", { start: It, finish: eo });
46580
46581
  });
46581
- }), Ee = jn(ne), Fe = jn(he), Ke = cc(Ee.asSpec()), lt = cc(Fe.asSpec()), Ye = (eo, It, Xn, Io) => {
46582
+ }), Ee = jn(ne), Fe = jn(he), Ke = cc(Ee.asSpec()), lt = cc(Fe.asSpec()), Ye = (eo, It, Xn, Po) => {
46582
46583
  const Co = It.dom.getBoundingClientRect();
46583
46584
  Bn(eo.element, "display");
46584
- const Ms = bu(Nn.fromDom(t.getBody())).dom.innerHeight, es = Xn(Co), fs = Io(Co, Ms);
46585
+ const Ms = bu(Nn.fromDom(t.getBody())).dom.innerHeight, es = Xn(Co), fs = Po(Co, Ms);
46585
46586
  (es || fs) && Jo(eo.element, "display", "none");
46586
- }, gt = (eo, It, Xn, Io) => {
46587
+ }, gt = (eo, It, Xn, Po) => {
46587
46588
  const Co = Xn(It);
46588
- qb.snapTo(eo, Co), Ye(eo, It, (fs) => fs[Io] < 0, (fs, yo) => fs[Io] > yo);
46589
+ qb.snapTo(eo, Co), Ye(eo, It, (fs) => fs[Po] < 0, (fs, yo) => fs[Po] > yo);
46589
46590
  }, pt = (eo) => gt(Ke, eo, N, "top"), zt = () => S.get().each(pt), Xt = (eo) => gt(lt, eo, V, "bottom"), Wn = () => E.get().each(Xt);
46590
46591
  if (qr().deviceType.isTouch()) {
46591
46592
  const eo = (It) => Ie(It, Nn.fromDom);
46592
46593
  t.on("TableSelectionChange", (It) => {
46593
46594
  b.get() || (vf(r, Ke), vf(r, lt), b.set(!0));
46594
- const Xn = Nn.fromDom(It.start), Io = Nn.fromDom(It.finish);
46595
- S.set(Xn), E.set(Io), M.from(It.otherCells).each((Co) => {
46596
- c.set(eo(Co.upOrLeftCells)), f.set(eo(Co.downOrRightCells)), pt(Xn), Xt(Io);
46595
+ const Xn = Nn.fromDom(It.start), Po = Nn.fromDom(It.finish);
46596
+ S.set(Xn), E.set(Po), M.from(It.otherCells).each((Co) => {
46597
+ c.set(eo(Co.upOrLeftCells)), f.set(eo(Co.downOrRightCells)), pt(Xn), Xt(Po);
46597
46598
  });
46598
46599
  }), t.on("ResizeEditor ResizeWindow ScrollContent", () => {
46599
46600
  zt(), Wn();
@@ -46913,7 +46914,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
46913
46914
  t.focus();
46914
46915
  },
46915
46916
  type: Fe
46916
- }), ld = Q2(t), Ia = T_(t), Tf = tg(t), _c = RB(t), kf = Io(_c), Af = ld || Ia || Tf, lg = () => ld ? [$r] : Ia ? [Vr] : [], hE = [kf, ms];
46917
+ }), ld = Q2(t), Ia = T_(t), Tf = tg(t), _c = RB(t), kf = Po(_c), Af = ld || Ia || Tf, lg = () => ld ? [$r] : Ia ? [Vr] : [], hE = [kf, ms];
46917
46918
  return ta.parts.header({
46918
46919
  dom: {
46919
46920
  tag: "div",
@@ -46931,7 +46932,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
46931
46932
  // TINY-9223: If using a sticky toolbar, which sink should it really go in?
46932
46933
  sharedBackstage: It.popup.shared
46933
46934
  });
46934
- }, Io = (No) => ta.parts.promotion({
46935
+ }, Po = (No) => ta.parts.promotion({
46935
46936
  dom: {
46936
46937
  tag: "div",
46937
46938
  classes: ["tox-promotion"]
@@ -47318,7 +47319,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47318
47319
  mode: "acyclic"
47319
47320
  }),
47320
47321
  // INVESTIGATE: Is this necessary? Probably used by getCompByName.
47321
- Wt.config({
47322
+ jt.config({
47322
47323
  // TODO: Think about this
47323
47324
  find: (G) => yn(Zv.getViewItems(G))
47324
47325
  }),
@@ -47790,7 +47791,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47790
47791
  };
47791
47792
  }, Uge = (t, r, c) => are(t, r, c), ire = (t, r, c) => cl.parts.footer(are(t, r, c)), LH = (t, r) => {
47792
47793
  if (t.getRoot().getSystem().isConnected()) {
47793
- const f = Wt.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());
47794
+ const f = jt.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());
47794
47795
  return ay.getField(f, r).orThunk(() => t.getFooter().bind((E) => Rd.getState(E).get()).bind((E) => E.lookupByName(r)));
47795
47796
  } else
47796
47797
  return M.none();
@@ -47838,7 +47839,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47838
47839
  showTab: (Fe) => {
47839
47840
  f((Ke) => {
47840
47841
  const lt = t.getBody();
47841
- Rd.getState(lt).get().exists((gt) => gt.isTabPanel()) && Wt.getCurrent(lt).each((gt) => {
47842
+ Rd.getState(lt).get().exists((gt) => gt.isTabPanel()) && jt.getCurrent(lt).each((gt) => {
47842
47843
  Zv.showTab(gt, Fe);
47843
47844
  });
47844
47845
  });
@@ -47881,7 +47882,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47881
47882
  }, lt = nre(Ke, Fe, c), Ye = (() => {
47882
47883
  const pt = () => {
47883
47884
  const Xt = cl.getBody(lt);
47884
- return Wt.getCurrent(Xt).getOr(Xt);
47885
+ return jt.getCurrent(Xt).getOr(Xt);
47885
47886
  }, zt = () => {
47886
47887
  tre(lt, E.get());
47887
47888
  };
@@ -47899,7 +47900,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47899
47900
  instanceApi: gt
47900
47901
  };
47901
47902
  }, cre = (t, r, c, f = !1, b) => {
47902
- const S = ke("dialog"), E = ke("dialog-label"), N = ke("dialog-content"), I = t.internalDialog, V = (Xn) => LH(eo, Xn), G = Zn(I.size), ne = FH(G.get()).toArray(), he = (Xn, Io) => (G.set(Io.internalDialog.size), ere(Io.internalDialog.size, Xn), b(), M.some(Io)), Ee = gr(Bge({
47903
+ const S = ke("dialog"), E = ke("dialog-label"), N = ke("dialog-content"), I = t.internalDialog, V = (Xn) => LH(eo, Xn), G = Zn(I.size), ne = FH(G.get()).toArray(), he = (Xn, Po) => (G.set(Po.internalDialog.size), ere(Po.internalDialog.size, Xn), b(), M.some(Po)), Ee = gr(Bge({
47903
47904
  title: I.title,
47904
47905
  draggable: !0
47905
47906
  }, S, E, c.shared.providers)), Fe = gr(kee({
@@ -47909,7 +47910,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47909
47910
  buttons: Ke
47910
47911
  }, S, c))), gt = rre(() => It, {
47911
47912
  onBlock: (Xn) => {
47912
- _e.block(Xt, (Io, Co) => {
47913
+ _e.block(Xt, (Po, Co) => {
47913
47914
  const Ms = Ee.getOpt(Xt).map((es) => Es(es.element));
47914
47915
  return Xse(Xn.message, Co, c.shared.providers, Ms);
47915
47916
  });
@@ -47950,12 +47951,12 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47950
47951
  os("execute-on-form", gt.concat([
47951
47952
  // Note: `runOnSource` here will only listen to the event at the outer component level.
47952
47953
  // Using just `run` instead will cause an infinite loop as `focusIn` would fire a `focusin` which would then get responded to and so forth.
47953
- vv(sc(), (Xn, Io) => {
47954
+ vv(sc(), (Xn, Po) => {
47954
47955
  bo.focusIn(Xn);
47955
47956
  }),
47956
- an(Nh(), (Xn, Io) => {
47957
+ an(Nh(), (Xn, Po) => {
47957
47958
  Xn.getSystem().broadcastOn([eE], {
47958
- newFocus: Io.event.newFocus
47959
+ newFocus: Po.event.newFocus
47959
47960
  });
47960
47961
  })
47961
47962
  ])),
@@ -47977,7 +47978,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
47977
47978
  getBody: () => Fe.get(Xt),
47978
47979
  getFormWrapper: () => {
47979
47980
  const Xn = Fe.get(Xt);
47980
- return Wt.getCurrent(Xn).getOr(Xn);
47981
+ return jt.getCurrent(Xn).getOr(Xn);
47981
47982
  },
47982
47983
  toggleFullscreen: Wn
47983
47984
  }, It = lre(eo, r.redial, lt);
@@ -48235,14 +48236,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
48235
48236
  dataValidator: Xt,
48236
48237
  initialData: Wn,
48237
48238
  internalDialog: pt
48238
- }, Io = () => eo.on((pn) => {
48239
+ }, Po = () => eo.on((pn) => {
48239
48240
  _a.reposition(pn), (!c || !It) && xa.refresh(pn);
48240
48241
  }), Co = cre(Xn, {
48241
48242
  redial: _1.redial,
48242
48243
  closeWindow: () => {
48243
- eo.on(_a.hide), r.off("ResizeEditor", Io), r.off("ScrollWindow", Ms), eo.clear(), lt(Co.instanceApi);
48244
+ eo.on(_a.hide), r.off("ResizeEditor", Po), r.off("ScrollWindow", Ms), eo.clear(), lt(Co.instanceApi);
48244
48245
  }
48245
- }, t.backstages.popup, Ye.ariaAttrs, Io), Ms = () => Co.dialog.getSystem().broadcastOn([jv()], { target: Co.dialog.element }), es = () => Co.dialog.getSystem().broadcastOn([ep()], { target: Co.dialog.element }), fs = cc(_a.sketch({
48246
+ }, t.backstages.popup, Ye.ariaAttrs, Po), Ms = () => Co.dialog.getSystem().broadcastOn([jv()], { target: Co.dialog.element }), es = () => Co.dialog.getSystem().broadcastOn([ep()], { target: Co.dialog.element }), fs = cc(_a.sketch({
48246
48247
  lazySink: t.backstages.popup.shared.getSink,
48247
48248
  dom: {
48248
48249
  tag: "div",
@@ -48273,7 +48274,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
48273
48274
  const pn = r.inline ? xl() : Nn.fromDom(r.getContainer()), Vn = sl(pn);
48274
48275
  return M.some(Vn);
48275
48276
  };
48276
- return _a.showWithinBounds(fs, nd(Co.dialog), { anchor: Ke }, yo), (!c || !It) && (xa.refresh(fs), r.on("ResizeEditor", Io)), r.on("ScrollWindow", Ms), Co.instanceApi.setData(Wn), bo.focusIn(Co.dialog), Co.instanceApi;
48277
+ return _a.showWithinBounds(fs, nd(Co.dialog), { anchor: Ke }, yo), (!c || !It) && (xa.refresh(fs), r.on("ResizeEditor", Po)), r.on("ScrollWindow", Ms), Co.instanceApi.setData(Wn), bo.focusIn(Co.dialog), Co.instanceApi;
48277
48278
  };
48278
48279
  return _1.open(gt, Fe);
48279
48280
  }, G = (Fe, Ke, lt, Ye) => {
@@ -48282,14 +48283,14 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
48282
48283
  dataValidator: Xt,
48283
48284
  initialData: Wn,
48284
48285
  internalDialog: pt
48285
- }, Io = () => eo.on((fs) => {
48286
+ }, Po = () => eo.on((fs) => {
48286
48287
  _a.reposition(fs), xa.refresh(fs);
48287
48288
  }), Co = cre(Xn, {
48288
48289
  redial: _1.redial,
48289
48290
  closeWindow: () => {
48290
- eo.on(_a.hide), r.off("ResizeEditor ScrollWindow ElementScroll", Io), eo.clear(), lt(Co.instanceApi);
48291
+ eo.on(_a.hide), r.off("ResizeEditor ScrollWindow ElementScroll", Po), eo.clear(), lt(Co.instanceApi);
48291
48292
  }
48292
- }, t.backstages.popup, Ye.ariaAttrs, Io), Ms = cc(_a.sketch({
48293
+ }, t.backstages.popup, Ye.ariaAttrs, Po), Ms = cc(_a.sketch({
48293
48294
  lazySink: t.backstages.popup.shared.getSink,
48294
48295
  dom: {
48295
48296
  tag: "div",
@@ -48332,7 +48333,7 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
48332
48333
  const yo = Jv(r, fs.element), pn = 15, Vn = yo.map((No) => fy(No)).getOr(Vl()), Wo = sl(Nn.fromDom(r.getContentAreaContainer())), hs = Q1(Wo, Vn);
48333
48334
  return M.some(Ma(hs.x, hs.y, hs.width, hs.height - pn));
48334
48335
  });
48335
- return _a.showWithinBounds(Ms, nd(Co.dialog), { anchor: Ke }, es), xa.refresh(Ms), r.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", Io), Co.instanceApi.setData(Wn), bo.focusIn(Co.dialog), Co.instanceApi;
48336
+ return _a.showWithinBounds(Ms, nd(Co.dialog), { anchor: Ke }, es), xa.refresh(Ms), r.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", Po), Co.instanceApi.setData(Wn), bo.focusIn(Co.dialog), Co.instanceApi;
48336
48337
  };
48337
48338
  return _1.open(gt, Fe);
48338
48339
  };
@@ -48765,24 +48766,24 @@ The conflicting element is` + (ya(ne.element) ? " " : " not ") + "already in the
48765
48766
  if (at !== _e.length)
48766
48767
  throw new Error("Wrong number of arguments to case " + de + ". Expected " + _e.length + " (" + _e + "), got " + at);
48767
48768
  return {
48768
- fold: (...Wt) => {
48769
- if (Wt.length !== g.length)
48770
- throw new Error("Wrong number of arguments to fold. Expected " + g.length + ", got " + Wt.length);
48771
- return Wt[z].apply(null, He);
48769
+ fold: (...jt) => {
48770
+ if (jt.length !== g.length)
48771
+ throw new Error("Wrong number of arguments to fold. Expected " + g.length + ", got " + jt.length);
48772
+ return jt[z].apply(null, He);
48772
48773
  },
48773
- match: (Wt) => {
48774
- const Jn = Re(Wt);
48774
+ match: (jt) => {
48775
+ const Jn = Re(jt);
48775
48776
  if (y.length !== Jn.length)
48776
48777
  throw new Error("Wrong number of arguments to match. Expected: " + y.join(",") + `
48777
48778
  Actual: ` + Jn.join(","));
48778
48779
  if (!Ut(y, (_o) => je(Jn, _o)))
48779
48780
  throw new Error("Not all branches were specified when using match. Specified: " + Jn.join(", ") + `
48780
48781
  Required: ` + y.join(", "));
48781
- return Wt[de].apply(null, He);
48782
+ return jt[de].apply(null, He);
48782
48783
  },
48783
48784
  // NOTE: Only for debugging.
48784
- log: (Wt) => {
48785
- console.log(Wt, {
48785
+ log: (jt) => {
48786
+ console.log(jt, {
48786
48787
  constructors: y,
48787
48788
  constructor: de,
48788
48789
  params: He
@@ -48800,10 +48801,10 @@ Required: ` + y.join(", "));
48800
48801
  y = z;
48801
48802
  }
48802
48803
  };
48803
- }, Mo = (g) => g.slice(0).sort(), is = (g, y) => {
48804
- throw new Error("All required keys (" + Mo(g).join(", ") + ") were not specified. Specified keys were: " + Mo(y).join(", ") + ".");
48804
+ }, Ro = (g) => g.slice(0).sort(), is = (g, y) => {
48805
+ throw new Error("All required keys (" + Ro(g).join(", ") + ") were not specified. Specified keys were: " + Ro(y).join(", ") + ".");
48805
48806
  }, ts = (g) => {
48806
- throw new Error("Unsupported keys for object: " + Mo(g).join(", "));
48807
+ throw new Error("Unsupported keys for object: " + Ro(g).join(", "));
48807
48808
  }, sr = (g, y) => {
48808
48809
  if (!x(y))
48809
48810
  throw new Error("The " + g + " fields must be an array. Was: " + y + ".");
@@ -48812,9 +48813,9 @@ Required: ` + y.join(", "));
48812
48813
  throw new Error("The value " + T + " in the " + g + " fields was not a string.");
48813
48814
  });
48814
48815
  }, En = (g, y) => {
48815
- throw new Error("All values need to be of type: " + y + ". Keys (" + Mo(g).join(", ") + ") were not.");
48816
+ throw new Error("All values need to be of type: " + y + ". Keys (" + Ro(g).join(", ") + ") were not.");
48816
48817
  }, Fo = (g) => {
48817
- const y = Mo(g);
48818
+ const y = Ro(g);
48818
48819
  oe(y, (O, z) => z < y.length - 1 && O === y[z + 1]).each((O) => {
48819
48820
  throw new Error("The field: " + O + " occurs more than once in the combined fields: [" + y.join(", ") + "].");
48820
48821
  });
@@ -49145,7 +49146,7 @@ Required: ` + y.join(", "));
49145
49146
  const T = g.dom, O = y.dom;
49146
49147
  return T === O ? !1 : T.contains(O);
49147
49148
  }, re = en, xe = (g, y, T, O) => {
49148
- const z = g.isiOS() && /ipad/i.test(T) === !0, Y = g.isiOS() && !z, de = g.isiOS() || g.isAndroid(), _e = de || O("(pointer:coarse)"), He = z || !Y && de && O("(min-device-width:768px)"), at = Y || de && !He, Rt = y.isSafari() && g.isiOS() && /safari/i.test(T) === !1, Wt = !at && !He && !Rt;
49149
+ const z = g.isiOS() && /ipad/i.test(T) === !0, Y = g.isiOS() && !z, de = g.isiOS() || g.isAndroid(), _e = de || O("(pointer:coarse)"), He = z || !Y && de && O("(min-device-width:768px)"), at = Y || de && !He, Rt = y.isSafari() && g.isiOS() && /safari/i.test(T) === !1, jt = !at && !He && !Rt;
49149
49150
  return {
49150
49151
  isiPad: H(z),
49151
49152
  isiPhone: H(Y),
@@ -49155,7 +49156,7 @@ Required: ` + y.join(", "));
49155
49156
  isAndroid: g.isAndroid,
49156
49157
  isiOS: g.isiOS,
49157
49158
  isWebView: H(Rt),
49158
- isDesktop: H(Wt)
49159
+ isDesktop: H(jt)
49159
49160
  };
49160
49161
  }, Xe = (g, y) => {
49161
49162
  for (let T = 0; T < g.length; T++) {
@@ -49551,7 +49552,7 @@ Required: ` + y.join(", "));
49551
49552
  }
49552
49553
  return He;
49553
49554
  }, z = O, Y = (_e, He) => Ie(He, (at, Rt) => {
49554
- const Wt = ku(_e, Rt), Jn = Wt === void 0 ? 0 : parseInt(Wt, 10);
49555
+ const jt = ku(_e, Rt), Jn = jt === void 0 ? 0 : parseInt(jt, 10);
49555
49556
  return isNaN(Jn) ? at : at + Jn;
49556
49557
  }, 0);
49557
49558
  return {
@@ -49870,23 +49871,23 @@ Required: ` + y.join(", "));
49870
49871
  } else
49871
49872
  return O;
49872
49873
  }, Ag = Mc((g) => g < 0), uw = Mc(Oe), Dp = () => {
49873
- const g = (_e, He, at, Rt, Wt) => {
49874
- const Jn = Ag(_e, He, Rt, Wt);
49874
+ const g = (_e, He, at, Rt, jt) => {
49875
+ const Jn = Ag(_e, He, Rt, jt);
49875
49876
  return ol(_e, He, at + 1, [Jn, 0], ua);
49876
49877
  }, y = (_e, He, at, Rt) => {
49877
- const Wt = (100 + at) / 100, Jn = Math.max(Rt, (_e[He] + at) / Wt);
49878
- return Qe(_e, (Kn, _o) => (_o === He ? Jn : Kn / Wt) - Kn);
49879
- }, T = (_e, He, at, Rt, Wt, Jn) => Jn ? y(_e, He, Rt, Wt) : g(_e, He, at, Rt, Wt);
49878
+ const jt = (100 + at) / 100, Jn = Math.max(Rt, (_e[He] + at) / jt);
49879
+ return Qe(_e, (Kn, _o) => (_o === He ? Jn : Kn / jt) - Kn);
49880
+ }, T = (_e, He, at, Rt, jt, Jn) => Jn ? y(_e, He, Rt, jt) : g(_e, He, at, Rt, jt);
49880
49881
  return {
49881
49882
  resizeTable: (_e, He) => _e(He),
49882
49883
  clampTableDelta: Ag,
49883
49884
  calcLeftEdgeDeltas: T,
49884
- calcMiddleDeltas: (_e, He, at, Rt, Wt, Jn, Kn) => T(_e, at, Rt, Wt, Jn, Kn),
49885
- calcRightEdgeDeltas: (_e, He, at, Rt, Wt, Jn) => {
49885
+ calcMiddleDeltas: (_e, He, at, Rt, jt, Jn, Kn) => T(_e, at, Rt, jt, Jn, Kn),
49886
+ calcRightEdgeDeltas: (_e, He, at, Rt, jt, Jn) => {
49886
49887
  if (Jn)
49887
- return y(_e, at, Rt, Wt);
49888
+ return y(_e, at, Rt, jt);
49888
49889
  {
49889
- const Kn = Ag(_e, at, Rt, Wt);
49890
+ const Kn = Ag(_e, at, Rt, jt);
49890
49891
  return ua(_e.slice(0, at)).concat([Kn]);
49891
49892
  }
49892
49893
  },
@@ -49906,7 +49907,7 @@ Required: ` + y.join(", "));
49906
49907
  };
49907
49908
  }, Op = () => {
49908
49909
  const g = (de, _e, He, at, Rt) => {
49909
- const Wt = at >= 0 ? He : _e, Jn = uw(de, Wt, at, Rt);
49910
+ const jt = at >= 0 ? He : _e, Jn = uw(de, jt, at, Rt);
49910
49911
  return ol(de, _e, He + 1, [Jn, -Jn], ua);
49911
49912
  };
49912
49913
  return {
@@ -49918,16 +49919,16 @@ Required: ` + y.join(", "));
49918
49919
  if (He >= 0)
49919
49920
  return He;
49920
49921
  {
49921
- const Wt = Ie(de, (Jn, Kn) => Jn + Kn - at, 0);
49922
- return Math.max(-Wt, He);
49922
+ const jt = Ie(de, (Jn, Kn) => Jn + Kn - at, 0);
49923
+ return Math.max(-jt, He);
49923
49924
  }
49924
49925
  } else
49925
49926
  return Ag(de, _e, He, at);
49926
49927
  },
49927
49928
  calcLeftEdgeDeltas: g,
49928
- calcMiddleDeltas: (de, _e, He, at, Rt, Wt) => g(de, He, at, Rt, Wt),
49929
- calcRightEdgeDeltas: (de, _e, He, at, Rt, Wt) => {
49930
- if (Wt)
49929
+ calcMiddleDeltas: (de, _e, He, at, Rt, jt) => g(de, He, at, Rt, jt),
49930
+ calcRightEdgeDeltas: (de, _e, He, at, Rt, jt) => {
49931
+ if (jt)
49931
49932
  return ua(de);
49932
49933
  {
49933
49934
  const Jn = at / de.length;
@@ -50023,7 +50024,7 @@ Required: ` + y.join(", "));
50023
50024
  _o.push(go);
50024
50025
  }), Y++, T.push(xs(Kn.element, _o, Kn.section)), _e++;
50025
50026
  });
50026
- const { columns: Rt, colgroups: Wt } = ve(He).map((Kn) => {
50027
+ const { columns: Rt, colgroups: jt } = ve(He).map((Kn) => {
50027
50028
  const _o = nf(Kn);
50028
50029
  return {
50029
50030
  colgroups: [vs(Kn.element, _n(_o))],
@@ -50038,7 +50039,7 @@ Required: ` + y.join(", "));
50038
50039
  access: y,
50039
50040
  all: T,
50040
50041
  columns: Rt,
50041
- colgroups: Wt
50042
+ colgroups: jt
50042
50043
  };
50043
50044
  }, Qo = {
50044
50045
  fromTable: (g) => {
@@ -50178,8 +50179,8 @@ Required: ` + y.join(", "));
50178
50179
  if (vi(Rt))
50179
50180
  return T(Rt);
50180
50181
  {
50181
- const Wt = An(z[at], ue);
50182
- return W0(Wt, at, de, _e, (Jn) => O(ce.some($i(Jn))), O);
50182
+ const jt = An(z[at], ue);
50183
+ return W0(jt, at, de, _e, (Jn) => O(ce.some($i(Jn))), O);
50183
50184
  }
50184
50185
  }, O));
50185
50186
  }, xw = (g) => g.map((y) => y + "px").getOr(""), Mu = (g, y) => wd(g, y, dr, xw), gT = (g, y, T) => wd(g, y, Ul, (O) => O.fold(() => T.minCellWidth(), (z) => z / T.pixelWidth() * 100)), Ft = (g, y, T) => wd(g, y, oc, (O) => O.getOrThunk(T.minCellWidth)), Cd = (g, y, T, O) => {
@@ -50210,8 +50211,8 @@ Required: ` + y.join(", "));
50210
50211
  minCellWidth: () => Ma() / T() * 100,
50211
50212
  setElementWidth: bd,
50212
50213
  adjustTableWidth: (He) => {
50213
- const at = y(), Rt = He / 100 * at, Wt = at + Rt;
50214
- bd(g, Wt);
50214
+ const at = y(), Rt = He / 100 * at, jt = at + Rt;
50215
+ bd(g, jt);
50215
50216
  },
50216
50217
  isRelative: !0,
50217
50218
  label: "percent"
@@ -50262,7 +50263,7 @@ Required: ` + y.join(", "));
50262
50263
  jf(g, Kn).each(wr);
50263
50264
  }, He = (Kn, _o) => {
50264
50265
  Kn.length > 0 ? de(Kn, _o) : _e(_o);
50265
- }, at = [], Rt = [], Wt = [], Jn = [];
50266
+ }, at = [], Rt = [], jt = [], Jn = [];
50266
50267
  return me(y, (Kn) => {
50267
50268
  switch (Kn.section) {
50268
50269
  case "thead":
@@ -50272,13 +50273,13 @@ Required: ` + y.join(", "));
50272
50273
  Rt.push(Kn);
50273
50274
  break;
50274
50275
  case "tfoot":
50275
- Wt.push(Kn);
50276
+ jt.push(Kn);
50276
50277
  break;
50277
50278
  case "colgroup":
50278
50279
  Jn.push(Kn);
50279
50280
  break;
50280
50281
  }
50281
- }), He(Jn, "colgroup"), He(at, "thead"), He(Rt, "tbody"), He(Wt, "tfoot"), {
50282
+ }), He(Jn, "colgroup"), He(at, "thead"), He(Rt, "tbody"), He(jt, "tfoot"), {
50282
50283
  newRows: T,
50283
50284
  newCells: O
50284
50285
  };
@@ -50373,8 +50374,8 @@ Required: ` + y.join(", "));
50373
50374
  { right: ["prev", "index"] }
50374
50375
  ])
50375
50376
  }, CT = (g, y) => g.length === 0 ? ov.none() : g.length === 1 ? ov.only(0) : y === 0 ? ov.left(0, 1) : y === g.length - 1 ? ov.right(y - 1, y) : y > 0 && y < g.length - 1 ? ov.middle(y - 1, y, y + 1) : ov.none(), bi = (g, y, T, O, z) => {
50376
- const Y = g.slice(0), de = CT(g, y), _e = H(Qe(Y, H(0))), He = (Jn) => O.singleColumnWidth(Y[Jn], T), at = (Jn, Kn) => z.calcLeftEdgeDeltas(Y, Jn, Kn, T, O.minCellWidth(), O.isRelative), Rt = (Jn, Kn, _o) => z.calcMiddleDeltas(Y, Jn, Kn, _o, T, O.minCellWidth(), O.isRelative), Wt = (Jn, Kn) => z.calcRightEdgeDeltas(Y, Jn, Kn, T, O.minCellWidth(), O.isRelative);
50377
- return de.fold(_e, He, at, Rt, Wt);
50377
+ const Y = g.slice(0), de = CT(g, y), _e = H(Qe(Y, H(0))), He = (Jn) => O.singleColumnWidth(Y[Jn], T), at = (Jn, Kn) => z.calcLeftEdgeDeltas(Y, Jn, Kn, T, O.minCellWidth(), O.isRelative), Rt = (Jn, Kn, _o) => z.calcMiddleDeltas(Y, Jn, Kn, _o, T, O.minCellWidth(), O.isRelative), jt = (Jn, Kn) => z.calcRightEdgeDeltas(Y, Jn, Kn, T, O.minCellWidth(), O.isRelative);
50378
+ return de.fold(_e, He, at, Rt, jt);
50378
50379
  }, G0 = (g, y, T) => {
50379
50380
  let O = 0;
50380
50381
  for (let z = g; z < y; z++)
@@ -50406,8 +50407,8 @@ Required: ` + y.join(", "));
50406
50407
  T.setElementWidth(z.element, z.width);
50407
50408
  });
50408
50409
  }, $h = (g, y, T, O, z) => {
50409
- const Y = Qo.fromTable(g), de = z.getCellDelta(y), _e = z.getWidths(Y, z), He = T === Y.grid.columns - 1, at = O.clampTableDelta(_e, T, de, z.minCellWidth(), He), Rt = bi(_e, T, at, z, O), Wt = Qe(Rt, (Jn, Kn) => Jn + _e[Kn]);
50410
- Oh(Y, Wt, z), O.resizeTable(z.adjustTableWidth, at, He);
50410
+ const Y = Qo.fromTable(g), de = z.getCellDelta(y), _e = z.getWidths(Y, z), He = T === Y.grid.columns - 1, at = O.clampTableDelta(_e, T, de, z.minCellWidth(), He), Rt = bi(_e, T, at, z, O), jt = Qe(Rt, (Jn, Kn) => Jn + _e[Kn]);
50411
+ Oh(Y, jt, z), O.resizeTable(z.adjustTableWidth, at, He);
50411
50412
  }, xT = (g, y, T) => {
50412
50413
  const O = Qo.fromTable(g), z = hT(O, g), Y = Qe(z, (He, at) => T === at ? Math.max(y + He, sl()) : He), de = Nx(O, Y);
50413
50414
  me(de, (He) => {
@@ -50458,9 +50459,9 @@ Required: ` + y.join(", "));
50458
50459
  }, zm = (g, y, T) => {
50459
50460
  const O = Qo.fromTable(g);
50460
50461
  return rl(O, y).bind((Y) => {
50461
- const de = lf(O, T, !1), He = Fr(de).rows.slice(Y[0].row, Y[Y.length - 1].row + Y[Y.length - 1].rowspan), at = _t(He, (Wt) => {
50462
- const Jn = Le(Wt.cells, (Kn) => !Kn.isLocked);
50463
- return Jn.length > 0 ? [{ ...Wt, cells: Jn }] : [];
50462
+ const de = lf(O, T, !1), He = Fr(de).rows.slice(Y[0].row, Y[Y.length - 1].row + Y[Y.length - 1].rowspan), at = _t(He, (jt) => {
50463
+ const Jn = Le(jt.cells, (Kn) => !Kn.isLocked);
50464
+ return Jn.length > 0 ? [{ ...jt, cells: Jn }] : [];
50464
50465
  }), Rt = Ru(at);
50465
50466
  return Yn(Rt.length > 0, Rt);
50466
50467
  }).map((Y) => nv(Y));
@@ -50478,8 +50479,8 @@ Required: ` + y.join(", "));
50478
50479
  return Ue(g.access, (Rt) => {
50479
50480
  if (He.push(Rt), y(Rt)) {
50480
50481
  at.push(Rt);
50481
- const Wt = Rt.row, Jn = Wt + Rt.rowspan - 1, Kn = Rt.column, _o = Kn + Rt.colspan - 1;
50482
- Wt < z ? z = Wt : Jn > de && (de = Jn), Kn < Y ? Y = Kn : _o > _e && (_e = _o);
50482
+ const jt = Rt.row, Jn = jt + Rt.rowspan - 1, Kn = Rt.column, _o = Kn + Rt.colspan - 1;
50483
+ jt < z ? z = jt : Jn > de && (de = Jn), Kn < Y ? Y = Kn : _o > _e && (_e = _o);
50483
50484
  }
50484
50485
  }), Rg(z, Y, de, _e, He, at);
50485
50486
  }, Nh = (g, y, T) => {
@@ -50511,8 +50512,8 @@ Required: ` + y.join(", "));
50511
50512
  }, ET = (g, y) => {
50512
50513
  const T = (Jn) => en(Jn.element, y), O = Qa(g), z = Mn(O), Y = Pp.getTableSize(g), de = Qo.generate(z), _e = _T(de, T), He = "th:not(" + y + "),td:not(" + y + ")", at = Q1(O, "th,td", (Jn) => en(Jn, He));
50513
50514
  me(at, wr), Ew(z, de, _e, T);
50514
- const Rt = Qo.fromTable(g), Wt = Rx(g, Rt, Y, _e);
50515
- return zp(O, _e, de, Wt), O;
50515
+ const Rt = Qo.fromTable(g), jt = Rx(g, Rt, Y, _e);
50516
+ return zp(O, _e, de, jt), O;
50516
50517
  }, K0 = yl("col"), Tw = yl("colgroup"), Tr = (g) => za(g) === "tr" || Tw(g), TT = (g) => {
50517
50518
  const y = Sh(g, "colspan", 1), T = Sh(g, "rowspan", 1);
50518
50519
  return {
@@ -50690,8 +50691,8 @@ Required: ` + y.join(", "));
50690
50691
  }, Hx = (g) => jp(g).fold(H("px"), H("px"), H("%")), Ow = (g, y, T) => {
50691
50692
  const O = Qo.fromTable(g), z = O.all, Y = Qo.justCells(O), de = Qo.justColumns(O);
50692
50693
  y.each((_e) => {
50693
- const He = Hx(_e), at = $i(g), Rt = Mu(O, g), Wt = Mh(Rt, at, _e);
50694
- Qo.hasColumns(O) ? AT(Wt, de, He) : Dw(Wt, Y, He), qs(g, "width", _e);
50694
+ const He = Hx(_e), at = $i(g), Rt = Mu(O, g), jt = Mh(Rt, at, _e);
50695
+ Qo.hasColumns(O) ? AT(jt, de, He) : Dw(jt, Y, He), qs(g, "width", _e);
50695
50696
  }), T.each((_e) => {
50696
50697
  const He = Ku(g), at = Kr(O, g), Rt = Mh(at, He, _e);
50697
50698
  DT(Rt, z, Y), qs(g, "height", _e);
@@ -50731,8 +50732,8 @@ Required: ` + y.join(", "));
50731
50732
  "address"
50732
50733
  ], iv = () => {
50733
50734
  const g = (at) => Un.fromDom(at.dom.cloneNode(!1)), y = (at) => wc(at).dom, T = (at) => qr(at) ? za(at) === "body" ? !0 : je(Rh, za(at)) : !1, O = (at) => qr(at) ? je(["br", "img", "hr", "input"], za(at)) : !1, z = (at) => qr(at) && Fl(at, "contenteditable") === "false", Y = (at, Rt) => at.dom.compareDocumentPosition(Rt.dom), de = (at, Rt) => {
50734
- const Wt = xg(at);
50735
- Jd(Rt, Wt);
50735
+ const jt = xg(at);
50736
+ Jd(Rt, jt);
50736
50737
  }, _e = (at) => {
50737
50738
  const Rt = za(at);
50738
50739
  return je([
@@ -50898,7 +50899,7 @@ Required: ` + y.join(", "));
50898
50899
  }, Zx = LD, Ih = Pw, jm = iv(), Or = (g, y) => Zx(jm, (T, O) => g(O), y), Ph = (g, y, T) => Ih(jm, g, y, T), rb = iv(), Bh = (g) => Ux(rb, g), dv = (g) => ob(rb, g), Gx = (g) => jx(rb, g), IT = (g) => {
50899
50900
  const y = yl("br"), T = (He) => Ut(He, (at) => y(at) || qd(at) && Na(at).trim().length === 0), O = (He) => za(He) === "li" || Rm(He, dv).isSome(), z = (He) => Bf(He).map((at) => Bh(at) ? !0 : Gx(at) ? za(at) !== "img" : !1).getOr(!1), Y = (He) => Y1(He).bind((at) => {
50900
50901
  const Rt = z(at);
50901
- return Yd(at).map((Wt) => Rt === !0 || O(Wt) || y(at) || Bh(Wt) && !Jt(He, Wt) ? [] : [Un.fromTag("br")]);
50902
+ return Yd(at).map((jt) => Rt === !0 || O(jt) || y(at) || Bh(jt) && !Jt(He, jt) ? [] : [Un.fromTag("br")]);
50902
50903
  }).getOr([]), _e = (() => {
50903
50904
  const He = _t(g, (at) => {
50904
50905
  const Rt = Pl(at);
@@ -50987,8 +50988,8 @@ Required: ` + y.join(", "));
50987
50988
  let Y = !0;
50988
50989
  for (let de = 0; de < z.length; de++)
50989
50990
  for (let _e = 0; _e < Fa(z[0]); _e++) {
50990
- const He = z[de], at = Xo(He, _e), Rt = at.element, Wt = T(Rt, y);
50991
- Wt && !Y ? pa(He, _e, Ws(O(), !0, at.isLocked)) : Wt && (Y = !1);
50991
+ const He = z[de], at = Xo(He, _e), Rt = at.element, jt = T(Rt, y);
50992
+ jt && !Y ? pa(He, _e, Ws(O(), !0, at.isLocked)) : jt && (Y = !1);
50992
50993
  }
50993
50994
  return g;
50994
50995
  }, il = (g, y) => Ie(g, (T, O) => ye(T, (z) => y(z.element, O.element)) ? T : T.concat([O]), []), HD = (g, y, T, O) => (y > 0 && y < g[0].cells.length && me(g, (z) => {
@@ -51005,9 +51006,9 @@ Required: ` + y.join(", "));
51005
51006
  let He = ce.none();
51006
51007
  for (let at = y; at < z.length; at++)
51007
51008
  for (let Rt = 0; Rt < Fa(z[0]); Rt++) {
51008
- const Wt = z[at], Jn = Xo(Wt, Rt);
51009
+ const jt = z[at], Jn = Xo(jt, Rt);
51009
51010
  T(Jn.element, _e.element) && (He.isNone() && (He = ce.some(O())), He.each((_o) => {
51010
- pa(Wt, Rt, Ws(_o, !0, Jn.isLocked));
51011
+ pa(jt, Rt, Ws(_o, !0, Jn.isLocked));
51011
51012
  }));
51012
51013
  }
51013
51014
  });
@@ -51059,10 +51060,10 @@ Required: ` + y.join(", "));
51059
51060
  T < de.cells.length - 1 && Y(va(de, T + 1)) || // search up, if we're not on the top edge
51060
51061
  y > 0 && Y(va(g[y - 1], T)) || y < g.length - 1 && Y(va(g[y + 1], T)));
51061
51062
  }, yi = (g, y, T, O, z, Y) => {
51062
- const de = g.row, _e = g.column, He = T.length, at = Fa(T[0]), Rt = de + He, Wt = _e + at + Y.length, Jn = Q(Y, Oe);
51063
+ const de = g.row, _e = g.column, He = T.length, at = Fa(T[0]), Rt = de + He, jt = _e + at + Y.length, Jn = Q(Y, Oe);
51063
51064
  for (let Kn = de; Kn < Rt; Kn++) {
51064
51065
  let _o = 0;
51065
- for (let Hn = _e; Hn < Wt; Hn++) {
51066
+ for (let Hn = _e; Hn < jt; Hn++) {
51066
51067
  if (Jn[Hn]) {
51067
51068
  _o++;
51068
51069
  continue;
@@ -51082,10 +51083,10 @@ Required: ` + y.join(", "));
51082
51083
  }, Ii = (g, y, T) => Le(T, (O) => O >= g.column && O <= Fa(y[0]) + g.column), Pi = (g, y, T, O, z) => {
51083
51084
  const Y = Kf(y), de = kl(g, y, Y), _e = Fr(T).rows, He = Ii(de, _e, Y);
51084
51085
  return FT(de, y, _e).map((Rt) => {
51085
- const Wt = {
51086
+ const jt = {
51086
51087
  ...Rt,
51087
51088
  colDelta: Rt.colDelta - He.length
51088
- }, Jn = fb(y, Wt, O), Kn = Kf(Jn), _o = Ii(de, _e, Kn);
51089
+ }, Jn = fb(y, jt, O), Kn = Kf(Jn), _o = Ii(de, _e, Kn);
51089
51090
  return yi(de, Jn, _e, O, z, _o);
51090
51091
  });
51091
51092
  }, ui = (g, y, T, O, z) => {
@@ -51097,10 +51098,10 @@ Required: ` + y.join(", "));
51097
51098
  const Y = Kf(y), de = Fw(y, T), _e = {
51098
51099
  ...de,
51099
51100
  colDelta: de.colDelta - Y.length
51100
- }, He = fb(y, _e, O), { cols: at, rows: Rt } = Fr(He), Wt = Kf(He), Jn = Fw(T, y), Kn = {
51101
+ }, He = fb(y, _e, O), { cols: at, rows: Rt } = Fr(He), jt = Kf(He), Jn = Fw(T, y), Kn = {
51101
51102
  ...Jn,
51102
- colDelta: Jn.colDelta + Wt.length
51103
- }, _o = db(T, O, Wt), Hn = fb(_o, Kn, O);
51103
+ colDelta: Jn.colDelta + jt.length
51104
+ }, _o = db(T, O, jt), Hn = fb(_o, Kn, O);
51104
51105
  return [
51105
51106
  ...at,
51106
51107
  ...Rt.slice(0, g),
@@ -51108,7 +51109,7 @@ Required: ` + y.join(", "));
51108
51109
  ...Rt.slice(g, Rt.length)
51109
51110
  ];
51110
51111
  }, gb = (g, y, T, O) => si(g, (z) => O(z, T), y), eS = (g, y, T, O, z) => {
51111
- const { rows: Y, cols: de } = Fr(g), _e = Y.slice(0, y), He = Y.slice(y), at = gb(Y[T], (Rt, Wt) => y > 0 && y < Y.length && O(va(Y[y - 1], Wt), va(Y[y], Wt)) ? Xo(Y[y], Wt) : Ws(z(Rt.element, O), !0, Rt.isLocked), O, z);
51112
+ const { rows: Y, cols: de } = Fr(g), _e = Y.slice(0, y), He = Y.slice(y), at = gb(Y[T], (Rt, jt) => y > 0 && y < Y.length && O(va(Y[y - 1], jt), va(Y[y], jt)) ? Xo(Y[y], jt) : Ws(z(Rt.element, O), !0, Rt.isLocked), O, z);
51112
51113
  return [
51113
51114
  ...de,
51114
51115
  ..._e,
@@ -51139,10 +51140,10 @@ Required: ` + y.join(", "));
51139
51140
  return g ? El(y) ? Y(T) : null : O && El(y) ? Y(T === "row" ? "col" : "row") : null;
51140
51141
  }, _d = (g, y) => (T, O, z) => ce.some(om(g, T.element, "col", y[z])), nS = (g, y) => (T, O) => ce.some(om(g, T.element, "row", y[O])), pb = (g, y, T) => Ws(T(g.element, y), !0, g.isLocked), mv = (g, y, T, O, z, Y, de) => {
51141
51142
  const _e = (He) => ye(y, (at) => T(He.element, at.element));
51142
- return Qe(g, (He, at) => xi(He, (Rt, Wt) => {
51143
+ return Qe(g, (He, at) => xi(He, (Rt, jt) => {
51143
51144
  if (_e(Rt)) {
51144
- const Jn = de(Rt, at, Wt) ? z(Rt, T, O) : Rt;
51145
- return Y(Jn, at, Wt).each((Kn) => {
51145
+ const Jn = de(Rt, at, jt) ? z(Rt, T, O) : Rt;
51146
+ return Y(Jn, at, jt).each((Kn) => {
51146
51147
  _i(Jn.element, { scope: ce.from(Kn) });
51147
51148
  }), Jn;
51148
51149
  } else
@@ -51155,11 +51156,11 @@ Required: ` + y.join(", "));
51155
51156
  const Y = Fr(g).rows, de = _t(y, (Rt) => gv(Y, Rt, O)), _e = Qe(Y, (Rt) => Yc(Rt.cells)), He = VD(de, _e), at = nS(T, _e);
51156
51157
  return mv(g, de, O, z, pb, at, He);
51157
51158
  }, zw = (g, y, T, O, z, Y, de) => {
51158
- const { cols: _e, rows: He } = Fr(g), at = He[y[0]], Rt = _t(y, (wn) => zT(He, wn, z)), Wt = Qe(at.cells, (wn, Ho) => Yc(gv(He, Ho, z))), Jn = [...He];
51159
+ const { cols: _e, rows: He } = Fr(g), at = He[y[0]], Rt = _t(y, (wn) => zT(He, wn, z)), jt = Qe(at.cells, (wn, Ho) => Yc(gv(He, Ho, z))), Jn = [...He];
51159
51160
  me(y, (wn) => {
51160
51161
  Jn[wn] = de.transformRow(He[wn], T);
51161
51162
  });
51162
- const Kn = [..._e, ...Jn], _o = VT(at, Wt), Hn = _d(O, Wt);
51163
+ const Kn = [..._e, ...Jn], _o = VT(at, jt), Hn = _d(O, jt);
51163
51164
  return mv(Kn, Rt, z, Y, de.transformCell, Hn, _o);
51164
51165
  }, Zp = (g, y, T, O) => {
51165
51166
  const z = Fr(g).rows, Y = Qe(y, (de) => Xo(z[de.row], de.column));
@@ -51443,7 +51444,7 @@ Required: ` + y.join(", "));
51443
51444
  });
51444
51445
  const Rt = () => {
51445
51446
  O = !0;
51446
- }, Wt = () => {
51447
+ }, jt = () => {
51447
51448
  O = !1;
51448
51449
  }, Jn = () => O, Kn = (wn) => (...Ho) => {
51449
51450
  O && wn.apply(null, Ho);
@@ -51461,7 +51462,7 @@ Required: ` + y.join(", "));
51461
51462
  element: _o.element,
51462
51463
  go: He,
51463
51464
  on: Rt,
51464
- off: Wt,
51465
+ off: jt,
51465
51466
  isActive: Jn,
51466
51467
  destroy: Hn,
51467
51468
  events: z.registry
@@ -51588,7 +51589,7 @@ Required: ` + y.join(", "));
51588
51589
  }, gO = (g, y, T, O, z) => {
51589
51590
  const Y = rs(T), de = y.isResizable, _e = O.length > 0 ? U0.positions(O, T) : [], He = _e.length > 0 ? rr(g, de) : [], at = Le(_e, (Kn, _o) => ye(He, (Hn) => _o === Hn));
51590
51591
  rk(y, at, Y, F(T));
51591
- const Rt = z.length > 0 ? jo.positions(z, T) : [], Wt = Rt.length > 0 ? ok(g, de) : [], Jn = Le(Rt, (Kn, _o) => ye(Wt, (Hn) => _o === Hn));
51592
+ const Rt = z.length > 0 ? jo.positions(z, T) : [], jt = Rt.length > 0 ? ok(g, de) : [], Jn = Le(Rt, (Kn, _o) => ye(jt, (Hn) => _o === Hn));
51592
51593
  Xp(y, Jn, Y, li(T));
51593
51594
  }, o2 = (g, y) => {
51594
51595
  if (Eb(g), g.isResizable(y)) {
@@ -51640,14 +51641,14 @@ Required: ` + y.join(", "));
51640
51641
  _o.trigger.startAdjust(), y.assign(Hn), Ja(Hn, "data-initial-" + wn, fw(Hn, wn)), ef(Hn, ik), qs(Hn, "opacity", "0.2"), T.go(g.dragContainer());
51641
51642
  }, _e = $a(g.parent(), "mousedown", (Hn) => {
51642
51643
  Cv(Hn.target) && de(Hn.target, "top"), hO(Hn.target) && de(Hn.target, "left");
51643
- }), He = (Hn) => Jt(Hn, g.view()), at = (Hn) => Ni(Hn, "table", He).filter(yh), Rt = (Hn) => Pm(Hn, "ephox-snooker-resizer-bar") || Pm(Hn, "ephox-dragster-blocker"), Wt = $a(g.view(), "mouseover", (Hn) => {
51644
+ }), He = (Hn) => Jt(Hn, g.view()), at = (Hn) => Ni(Hn, "table", He).filter(yh), Rt = (Hn) => Pm(Hn, "ephox-snooker-resizer-bar") || Pm(Hn, "ephox-dragster-blocker"), jt = $a(g.view(), "mouseover", (Hn) => {
51644
51645
  at(Hn.target).fold(() => {
51645
51646
  Yu(Hn.target) && !Rt(Hn.target) && Eb(g);
51646
51647
  }, (wn) => {
51647
51648
  T.isActive() && (O = ce.some(wn), o2(g, wn));
51648
51649
  });
51649
51650
  }), Jn = () => {
51650
- _e.unbind(), Wt.unbind(), T.destroy(), Eb(g);
51651
+ _e.unbind(), jt.unbind(), T.destroy(), Eb(g);
51651
51652
  }, Kn = (Hn) => {
51652
51653
  o2(g, Hn);
51653
51654
  }, _o = Kp({
@@ -51784,10 +51785,10 @@ Required: ` + y.join(", "));
51784
51785
  });
51785
51786
  } else
51786
51787
  return Ph(g, y).shared.bind((de) => Ni(de, "table", T).bind((_e) => {
51787
- const He = Gc(y, "td,th", O(_e)), at = He.length > 0 ? He[He.length - 1] : y, Rt = Gc(g, "td,th", O(_e)), Wt = Rt.length > 0 ? Rt[Rt.length - 1] : g;
51788
+ const He = Gc(y, "td,th", O(_e)), at = He.length > 0 ? He[He.length - 1] : y, Rt = Gc(g, "td,th", O(_e)), jt = Rt.length > 0 ? Rt[Rt.length - 1] : g;
51788
51789
  return ce.some({
51789
51790
  boxes: cS(_e, g, z, y, Y),
51790
- start: Wt,
51791
+ start: jt,
51791
51792
  finish: at
51792
51793
  });
51793
51794
  }));
@@ -51930,9 +51931,9 @@ Required: ` + y.join(", "));
51930
51931
  return Jt(T, z[z.length - 1]) ? rc(O, (Y) => Wr(Y).isSome(), y).map((Y) => kv.create(ce.some(d2(Y, 0, Y, 0)), !0)) : ce.none();
51931
51932
  })), Ok = (g, y, T, O, z, Y, de) => Mv(g, T, O, z, Y).bind((_e) => Tk(y, T, _e.start, _e.finish, de)), $k = (g, y) => Ni(g, "td,th", y), kd = (g) => ec(g).exists(yh), vf = (g, y, T, O) => {
51932
51933
  const z = ws(), Y = z.clear, de = (Rt) => {
51933
- z.on((Wt) => {
51934
+ z.on((jt) => {
51934
51935
  O.clearBeforeUpdate(y), $k(Rt.target, T).each((Jn) => {
51935
- _v(Wt, Jn, T).each((Kn) => {
51936
+ _v(jt, Jn, T).each((Kn) => {
51936
51937
  const _o = Kn.boxes.getOr([]);
51937
51938
  if (_o.length === 1) {
51938
51939
  const Hn = _o[0], wn = M0(Hn) === "false", Ho = kt(kg(Rt.target), Hn, Jt);
@@ -52026,19 +52027,19 @@ Required: ` + y.join(", "));
52026
52027
  }, $S = (g) => oa(g, D0).exists(yh), C2 = (g, y) => $S(g) || $S(y), Mk = (g, y, T, O) => {
52027
52028
  const z = Wg(g), Y = () => (O.clear(y), ce.none());
52028
52029
  return {
52029
- keydown: (He, at, Rt, Wt, Jn, Kn) => {
52030
+ keydown: (He, at, Rt, jt, Jn, Kn) => {
52030
52031
  const _o = He.raw, Hn = _o.which, wn = _o.shiftKey === !0;
52031
- return Ev(y, O.selectedSelector).fold(() => (Zl(Hn) && !wn && O.clearBeforeUpdate(y), Zl(Hn) && wn && !C2(at, Wt) ? ce.none : ji(Hn) && wn ? we(Ok, z, y, T, y2, Wt, at, O.selectRange) : xc(Hn) && wn ? we(Ok, z, y, T, qh, Wt, at, O.selectRange) : ji(Hn) ? we(v2, z, T, y2, Wt, at, OS) : xc(Hn) ? we(v2, z, T, qh, Wt, at, b2) : ce.none), (go) => {
52032
+ return Ev(y, O.selectedSelector).fold(() => (Zl(Hn) && !wn && O.clearBeforeUpdate(y), Zl(Hn) && wn && !C2(at, jt) ? ce.none : ji(Hn) && wn ? we(Ok, z, y, T, y2, jt, at, O.selectRange) : xc(Hn) && wn ? we(Ok, z, y, T, qh, jt, at, O.selectRange) : ji(Hn) ? we(v2, z, T, y2, jt, at, OS) : xc(Hn) ? we(v2, z, T, qh, jt, at, b2) : ce.none), (go) => {
52032
52033
  const lo = (xr) => () => Me(xr, (mr) => AO(mr.rows, mr.cols, y, go, O)).fold(() => bk(y, O.firstSelectedSelector, O.lastSelectedSelector).map((mr) => {
52033
52034
  const wi = ji(Hn) || Kn.isForward(Hn) ? ei.after : ei.before;
52034
52035
  return z.setRelativeSelection(ei.on(mr.first, 0), wi(mr.table)), O.clear(y), kv.create(ce.none(), !0);
52035
52036
  }), (mr) => ce.some(kv.create(ce.none(), !0)));
52036
- return Zl(Hn) && wn && !C2(at, Wt) ? ce.none : ji(Hn) && wn ? lo([r1(1, 0)]) : xc(Hn) && wn ? lo([r1(-1, 0)]) : Kn.isBackward(Hn) && wn ? lo([r1(0, -1), r1(-1, 0)]) : Kn.isForward(Hn) && wn ? lo([r1(0, 1), r1(1, 0)]) : Zl(Hn) && !wn ? Y : ce.none;
52037
+ return Zl(Hn) && wn && !C2(at, jt) ? ce.none : ji(Hn) && wn ? lo([r1(1, 0)]) : xc(Hn) && wn ? lo([r1(-1, 0)]) : Kn.isBackward(Hn) && wn ? lo([r1(0, -1), r1(-1, 0)]) : Kn.isForward(Hn) && wn ? lo([r1(0, 1), r1(1, 0)]) : Zl(Hn) && !wn ? Y : ce.none;
52037
52038
  })();
52038
52039
  },
52039
- keyup: (He, at, Rt, Wt, Jn) => Ev(y, O.selectedSelector).fold(() => {
52040
+ keyup: (He, at, Rt, jt, Jn) => Ev(y, O.selectedSelector).fold(() => {
52040
52041
  const Kn = He.raw, _o = Kn.which;
52041
- return Kn.shiftKey === !0 && Zl(_o) && C2(at, Wt) ? Ek(y, T, at, Rt, Wt, Jn, O.selectRange) : ce.none();
52042
+ return Kn.shiftKey === !0 && Zl(_o) && C2(at, jt) ? Ek(y, T, at, Rt, jt, Jn, O.selectRange) : ce.none();
52042
52043
  }, ce.none)
52043
52044
  };
52044
52045
  }, Rv = (g, y, T, O) => {
@@ -52080,8 +52081,8 @@ Required: ` + y.join(", "));
52080
52081
  return {
52081
52082
  clearBeforeUpdate: de,
52082
52083
  clear: Y,
52083
- selectRange: (He, at, Rt, Wt) => {
52084
- Y(He), me(at, z), Ja(Rt, g.firstSelected, "1"), Ja(Wt, g.lastSelected, "1"), y(at, Rt, Wt);
52084
+ selectRange: (He, at, Rt, jt) => {
52085
+ Y(He), me(at, z), Ja(Rt, g.firstSelected, "1"), Ja(jt, g.lastSelected, "1"), y(at, Rt, jt);
52085
52086
  },
52086
52087
  selectedSelector: g.selectedSelector,
52087
52088
  firstSelectedSelector: g.firstSelectedSelector,
@@ -52212,9 +52213,9 @@ Required: ` + y.join(", "));
52212
52213
  effect: co
52213
52214
  }));
52214
52215
  }) : ce.none();
52215
- }, Wt = Rt(aS, z, K, Wi), Jn = Rt(sm, Y, K, Wi), Kn = Rt(zh, Oe, K, Wi), _o = Rt(GT, Oe, K, Wi), Hn = Rt(vv, Oe, _e, Wi), wn = Rt(Jr, Oe, _e, Wi), Ho = Rt(JD, Oe, K, Wi), go = Rt(QD, Oe, K, Wi), lo = Rt(Tn, Oe, K, Wi), xr = Rt(eO, Oe, K, Wi), fr = Rt(Al, Oe, K, Wi), mr = Rt(YT, Oe, K, Wi), wi = Rt(Xw, Oe, K, D2), $d = Rt(XD, Oe, K, Wi), l1 = Rt(qT, Oe, K, Wi), Yg = Rt(zg, Oe, K, Wi), Yh = Rt(mf, Oe, K, Wi), Ar = Rt(iS, Oe, K, Wi), uc = Rt(KD, Oe, K, Wi), Sc = Rt(lS, Oe, K, Wi);
52216
+ }, jt = Rt(aS, z, K, Wi), Jn = Rt(sm, Y, K, Wi), Kn = Rt(zh, Oe, K, Wi), _o = Rt(GT, Oe, K, Wi), Hn = Rt(vv, Oe, _e, Wi), wn = Rt(Jr, Oe, _e, Wi), Ho = Rt(JD, Oe, K, Wi), go = Rt(QD, Oe, K, Wi), lo = Rt(Tn, Oe, K, Wi), xr = Rt(eO, Oe, K, Wi), fr = Rt(Al, Oe, K, Wi), mr = Rt(YT, Oe, K, Wi), wi = Rt(Xw, Oe, K, D2), $d = Rt(XD, Oe, K, Wi), l1 = Rt(qT, Oe, K, Wi), Yg = Rt(zg, Oe, K, Wi), Yh = Rt(mf, Oe, K, Wi), Ar = Rt(iS, Oe, K, Wi), uc = Rt(KD, Oe, K, Wi), Sc = Rt(lS, Oe, K, Wi);
52216
52217
  return {
52217
- deleteRow: Wt,
52218
+ deleteRow: jt,
52218
52219
  deleteColumn: Jn,
52219
52220
  insertRowsBefore: Kn,
52220
52221
  insertRowsAfter: _o,
@@ -52319,7 +52320,7 @@ Required: ` + y.join(", "));
52319
52320
  });
52320
52321
  }, Rt = (wn) => {
52321
52322
  g.focus();
52322
- }, Wt = (wn, Ho = !1) => de((go, lo) => {
52323
+ }, jt = (wn, Ho = !1) => de((go, lo) => {
52323
52324
  const xr = E2(bf(g), go, lo);
52324
52325
  wn(go, xr, Ho).each(Rt);
52325
52326
  }), Jn = () => de((wn, Ho) => {
@@ -52338,22 +52339,22 @@ Required: ` + y.join(", "));
52338
52339
  });
52339
52340
  })
52340
52341
  ), Hn = (wn) => (Ho, go) => Vo(go, "type").each((lo) => {
52341
- Wt(wn(lo), go.no_events);
52342
+ jt(wn(lo), go.no_events);
52342
52343
  });
52343
52344
  Ue({
52344
- mceTableSplitCells: () => Wt(y.unmergeCells),
52345
- mceTableMergeCells: () => Wt(y.mergeCells),
52346
- mceTableInsertRowBefore: () => Wt(y.insertRowsBefore),
52347
- mceTableInsertRowAfter: () => Wt(y.insertRowsAfter),
52348
- mceTableInsertColBefore: () => Wt(y.insertColumnsBefore),
52349
- mceTableInsertColAfter: () => Wt(y.insertColumnsAfter),
52350
- mceTableDeleteCol: () => Wt(y.deleteColumn),
52351
- mceTableDeleteRow: () => Wt(y.deleteRow),
52345
+ mceTableSplitCells: () => jt(y.unmergeCells),
52346
+ mceTableMergeCells: () => jt(y.mergeCells),
52347
+ mceTableInsertRowBefore: () => jt(y.insertRowsBefore),
52348
+ mceTableInsertRowAfter: () => jt(y.insertRowsAfter),
52349
+ mceTableInsertColBefore: () => jt(y.insertColumnsBefore),
52350
+ mceTableInsertColAfter: () => jt(y.insertColumnsAfter),
52351
+ mceTableDeleteCol: () => jt(y.deleteColumn),
52352
+ mceTableDeleteRow: () => jt(y.deleteRow),
52352
52353
  mceTableCutCol: () => Kn().each((wn) => {
52353
- PS(wn), Wt(y.deleteColumn);
52354
+ PS(wn), jt(y.deleteColumn);
52354
52355
  }),
52355
52356
  mceTableCutRow: () => Jn().each((wn) => {
52356
- N2(wn), Wt(y.deleteRow);
52357
+ N2(wn), jt(y.deleteRow);
52357
52358
  }),
52358
52359
  mceTableCopyCol: () => Kn().each((wn) => PS(wn)),
52359
52360
  mceTableCopyRow: () => Jn().each((wn) => N2(wn)),
@@ -52413,10 +52414,10 @@ Required: ` + y.join(", "));
52413
52414
  });
52414
52415
  }, z = () => VO(g), Y = IO.byAttr(Pv, O, z);
52415
52416
  return g.on("init", (He) => {
52416
- const at = g.getWin(), Rt = i2(g), Wt = Sv(g), Jn = () => {
52417
+ const at = g.getWin(), Rt = i2(g), jt = Sv(g), Jn = () => {
52417
52418
  const Ar = g.selection, uc = Un.fromDom(Ar.getStart()), Sc = Un.fromDom(Ar.getEnd());
52418
52419
  Or(oo, [uc, Sc]).fold(() => Y.clear(Rt), K);
52419
- }, Kn = Nk(at, Rt, Wt, Y), _o = Mk(at, Rt, Wt, Y), Hn = Rv(at, Rt, Wt, Y), wn = (Ar) => Ar.raw.shiftKey === !0;
52420
+ }, Kn = Nk(at, Rt, jt, Y), _o = Mk(at, Rt, jt, Y), Hn = Rv(at, Rt, jt, Y), wn = (Ar) => Ar.raw.shiftKey === !0;
52420
52421
  g.on("TableSelectorChange", (Ar) => Hn(Ar.start, Ar.finish));
52421
52422
  const Ho = (Ar, uc) => {
52422
52423
  wn(Ar) && (uc.kill && Ar.kill(), uc.selection.each((Sc) => {
@@ -52486,7 +52487,7 @@ Required: ` + y.join(", "));
52486
52487
  }, R2 = (g) => Kt(g, "corner-"), Hv = (g) => nt(g, "corner-"), Uk = (g) => {
52487
52488
  const y = ws(), T = ws(), O = ws();
52488
52489
  let z, Y, de, _e;
52489
- const He = (lo) => O2(g, lo), at = () => kb(g) ? Op() : Dp(), Rt = (lo) => cb(lo).columns, Wt = (lo) => cb(lo).rows, Jn = (lo, xr, fr, mr) => {
52490
+ const He = (lo) => O2(g, lo), at = () => kb(g) ? Op() : Dp(), Rt = (lo) => cb(lo).columns, jt = (lo) => cb(lo).rows, Jn = (lo, xr, fr, mr) => {
52490
52491
  const wi = Hv(xr), $d = wo(wi, "e"), l1 = Kt(wi, "n");
52491
52492
  if (Y === "" && ab(lo), _e === "" && ac(lo), fr !== z && Y !== "") {
52492
52493
  qs(lo, "width", Y);
@@ -52498,7 +52499,7 @@ Required: ` + y.join(", "));
52498
52499
  }
52499
52500
  if (SO(Y) && sa(lo), mr !== de && _e !== "") {
52500
52501
  qs(lo, "height", _e);
52501
- const Yg = l1 ? 0 : Wt(lo) - 1;
52502
+ const Yg = l1 ? 0 : jt(lo) - 1;
52502
52503
  xT(lo, mr - de, Yg);
52503
52504
  }
52504
52505
  }, Kn = () => {
@@ -53333,21 +53334,21 @@ tinymce.addI18n("zh_CN", {
53333
53334
  }, Fn = (fe, $e) => {
53334
53335
  Et(fe).fold(() => {
53335
53336
  yt(fe).each((ao) => {
53336
- Mo(ao, $e);
53337
+ Ro(ao, $e);
53337
53338
  });
53338
53339
  }, (Jt) => {
53339
53340
  kn(Jt, $e);
53340
53341
  });
53341
53342
  }, So = (fe, $e) => {
53342
53343
  _n(fe).fold(() => {
53343
- Mo(fe, $e);
53344
+ Ro(fe, $e);
53344
53345
  }, (Jt) => {
53345
53346
  fe.dom.insertBefore($e.dom, Jt.dom);
53346
53347
  });
53347
- }, Mo = (fe, $e) => {
53348
+ }, Ro = (fe, $e) => {
53348
53349
  fe.dom.appendChild($e.dom);
53349
53350
  }, is = (fe, $e) => {
53350
- kn(fe, $e), Mo($e, fe);
53351
+ kn(fe, $e), Ro($e, fe);
53351
53352
  }, ts = (fe, $e) => {
53352
53353
  ue($e, (wt, Jt) => {
53353
53354
  const ao = Jt === 0 ? fe : $e[Jt - 1];
@@ -53355,7 +53356,7 @@ tinymce.addI18n("zh_CN", {
53355
53356
  });
53356
53357
  }, sr = (fe, $e) => {
53357
53358
  ue($e, (wt) => {
53358
- Mo(fe, wt);
53359
+ Ro(fe, wt);
53359
53360
  });
53360
53361
  }, En = (fe, $e, wt) => {
53361
53362
  if (h(wt) || v(wt) || A(wt))
@@ -53519,7 +53520,7 @@ tinymce.addI18n("zh_CN", {
53519
53520
  before: kn,
53520
53521
  after: Fn,
53521
53522
  afterAll: ts,
53522
- append: Mo,
53523
+ append: Ro,
53523
53524
  appendAll: sr,
53524
53525
  prepend: So,
53525
53526
  wrap: is
@@ -56163,21 +56164,21 @@ tinymce.addI18n("zh_CN", {
56163
56164
  if (ve.length > ee.length)
56164
56165
  return;
56165
56166
  if (!(Fn instanceof bt)) {
56166
- var So = 1, Mo;
56167
+ var So = 1, Ro;
56167
56168
  if (_n) {
56168
- if (Mo = oe(Lt, kn, ee, sn), !Mo || Mo.index >= ee.length)
56169
+ if (Ro = oe(Lt, kn, ee, sn), !Ro || Ro.index >= ee.length)
56169
56170
  break;
56170
- var En = Mo.index, is = Mo.index + Mo[0].length, ts = kn;
56171
+ var En = Ro.index, is = Ro.index + Ro[0].length, ts = kn;
56171
56172
  for (ts += ln.value.length; En >= ts; )
56172
56173
  ln = ln.next, ts += ln.value.length;
56173
56174
  if (ts -= ln.value.length, kn = ts, ln.value instanceof bt)
56174
56175
  continue;
56175
56176
  for (var sr = ln; sr !== ve.tail && (ts < is || typeof sr.value == "string"); sr = sr.next)
56176
56177
  So++, ts += sr.value.length;
56177
- So--, Fn = ee.slice(kn, ts), Mo.index -= kn;
56178
- } else if (Mo = oe(Lt, 0, Fn, sn), !Mo)
56178
+ So--, Fn = ee.slice(kn, ts), Ro.index -= kn;
56179
+ } else if (Ro = oe(Lt, 0, Fn, sn), !Ro)
56179
56180
  continue;
56180
- var En = Mo.index, Fo = Mo[0], vr = Fn.slice(0, En), la = Fn.slice(En + Fo.length), Ur = kn + Fn.length;
56181
+ var En = Ro.index, Fo = Ro[0], vr = Fn.slice(0, En), la = Fn.slice(En + Fo.length), Ur = kn + Fn.length;
56181
56182
  Ue && Ur > Ue.reach && (Ue.reach = Ur);
56182
56183
  var Zn = ln.prev;
56183
56184
  vr && (Zn = _t(ve, Zn, vr), kn += vr.length), Ut(ve, Zn, So);
@@ -56474,20 +56475,20 @@ tinymce.addI18n("zh_CN", {
56474
56475
  "class-name": /\b[a-z_]\w*\b(?!\s*::)/i
56475
56476
  }, We.languages.cpp["base-clause"]);
56476
56477
  }(me), function(We) {
56477
- function At(Mo, is) {
56478
- return Mo.replace(/<<(\d+)>>/g, function(ts, sr) {
56478
+ function At(Ro, is) {
56479
+ return Ro.replace(/<<(\d+)>>/g, function(ts, sr) {
56479
56480
  return "(?:" + is[+sr] + ")";
56480
56481
  });
56481
56482
  }
56482
- function Le(Mo, is, ts) {
56483
- return RegExp(At(Mo, is), "");
56483
+ function Le(Ro, is, ts) {
56484
+ return RegExp(At(Ro, is), "");
56484
56485
  }
56485
- function ht(Mo, is) {
56486
+ function ht(Ro, is) {
56486
56487
  for (var ts = 0; ts < is; ts++)
56487
- Mo = Mo.replace(/<<self>>/g, function() {
56488
- return "(?:" + Mo + ")";
56488
+ Ro = Ro.replace(/<<self>>/g, function() {
56489
+ return "(?:" + Ro + ")";
56489
56490
  });
56490
- return Mo.replace(/<<self>>/g, "[^\\s\\S]");
56491
+ return Ro.replace(/<<self>>/g, "[^\\s\\S]");
56491
56492
  }
56492
56493
  var Ie = {
56493
56494
  // keywords which represent a return or variable type
@@ -56500,8 +56501,8 @@ tinymce.addI18n("zh_CN", {
56500
56501
  // all other keywords
56501
56502
  other: "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"
56502
56503
  };
56503
- function bt(Mo) {
56504
- return "\\b(?:" + Mo.trim().replace(/ /g, "|") + ")\\b";
56504
+ function bt(Ro) {
56505
+ return "\\b(?:" + Ro.trim().replace(/ /g, "|") + ")\\b";
56505
56506
  }
56506
56507
  var oe = bt(Ie.typeDeclaration), Cn = RegExp(bt(Ie.type + " " + Ie.typeDeclaration + " " + Ie.contextual + " " + Ie.other)), Ct = bt(Ie.typeDeclaration + " " + Ie.contextual + " " + Ie.other), _t = bt(Ie.type + " " + Ie.typeDeclaration + " " + Ie.other), Ut = ht(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2), mt = ht(/\((?:[^()]|<<self>>)*\)/.source, 2), Q = /@?\b[A-Za-z_]\w*\b/.source, ae = At(/<<0>>(?:\s*<<1>>)?/.source, [Q, Ut]), ie = At(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [Ct, ae]), ee = /\[\s*(?:,\s*)*\]/.source, ve = At(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source, [ie, ee]), Me = At(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source, [Ut, mt, ee]), Re = At(/\(<<0>>+(?:,<<0>>+)+\)/.source, [Me]), dt = At(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [Re, ie, ee]), Ue = {
56507
56508
  keyword: Cn,
@@ -56711,10 +56712,10 @@ tinymce.addI18n("zh_CN", {
56711
56712
  }
56712
56713
  });
56713
56714
  var no = /:[^}\r\n]+/.source, Lt = ht(At(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [Pt]), 2), ln = At(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [Lt, no]), kn = ht(At(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source, [Et]), 2), Fn = At(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [kn, no]);
56714
- function So(Mo, is) {
56715
+ function So(Ro, is) {
56715
56716
  return {
56716
56717
  interpolation: {
56717
- pattern: Le(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [Mo]),
56718
+ pattern: Le(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [Ro]),
56718
56719
  lookbehind: !0,
56719
56720
  inside: {
56720
56721
  "format-string": {
@@ -58236,8 +58237,8 @@ tinymce.addI18n("zh_CN", {
58236
58237
  ee(Lt).each((kn) => {
58237
58238
  if (Et.setStyle(Lt.dom, "direction", null), Ut(kn) === sn ? bt(Lt, "dir") : Ie(Lt, "dir", sn), Ut(Lt) !== sn && Et.setStyle(Lt.dom, "direction", sn), no) {
58238
58239
  const So = ie(Lt, "li[dir],li[style]");
58239
- K(So, (Mo) => {
58240
- bt(Mo, "dir"), Et.setStyle(Mo.dom, "direction", null);
58240
+ K(So, (Ro) => {
58241
+ bt(Ro, "dir"), Et.setStyle(Ro.dom, "direction", null);
58241
58242
  });
58242
58243
  }
58243
58244
  });
@@ -58621,8 +58622,8 @@ tinymce.addI18n("zh_CN", {
58621
58622
  keywords: kn.keywords,
58622
58623
  char: Nt(kn),
58623
58624
  category: ht(Le, kn.category)
58624
- }, Mo = Lt[So.category] !== void 0 ? Lt[So.category] : [];
58625
- Lt[So.category] = Mo.concat([So]), ln.push(So);
58625
+ }, Ro = Lt[So.category] !== void 0 ? Lt[So.category] : [];
58626
+ Lt[So.category] = Ro.concat([So]), ln.push(So);
58626
58627
  }), dt.set(Lt), Ue.set(ln);
58627
58628
  };
58628
58629
  ve.on("init", () => {
@@ -59217,7 +59218,7 @@ tinymce.addI18n("zh_CN", {
59217
59218
  current: Bt.name,
59218
59219
  version: cn
59219
59220
  };
59220
- }), Mo = (Ne, qe) => Fn(Ne, qe).map((Bt) => {
59221
+ }), Ro = (Ne, qe) => Fn(Ne, qe).map((Bt) => {
59221
59222
  const cn = ln.detect(Bt.versionRegexes, qe);
59222
59223
  return {
59223
59224
  current: Bt.name,
@@ -59358,7 +59359,7 @@ tinymce.addI18n("zh_CN", {
59358
59359
  chromeos: Z(Pr)
59359
59360
  }, Ot = {
59360
59361
  detect: (Ne, qe, Bt) => {
59361
- const cn = Fo.browsers(), To = Fo.oses(), Is = qe.bind((ba) => kn(cn, ba)).orThunk(() => So(cn, Ne)).fold(mo.unknown, mo.nu), yr = Mo(To, Ne).fold(et.unknown, et.nu), Oa = Pt(yr, Is, Ne, Bt);
59362
+ const cn = Fo.browsers(), To = Fo.oses(), Is = qe.bind((ba) => kn(cn, ba)).orThunk(() => So(cn, Ne)).fold(mo.unknown, mo.nu), yr = Ro(To, Ne).fold(et.unknown, et.nu), Oa = Pt(yr, Is, Ne, Bt);
59362
59363
  return {
59363
59364
  browser: Is,
59364
59365
  os: yr,
@@ -60679,7 +60680,7 @@ tinymce.addI18n("zh_CN", {
60679
60680
  var On;
60680
60681
  Xe((On = Mt.error) === null || On === void 0 ? void 0 : On.message);
60681
60682
  }, Mt.readAsDataURL(re);
60682
- }), So = (re) => re.nodeName === "IMG" && (re.hasAttribute("data-mce-object") || re.hasAttribute("data-mce-placeholder")), Mo = (re, xe) => {
60683
+ }), So = (re) => re.nodeName === "IMG" && (re.hasAttribute("data-mce-object") || re.hasAttribute("data-mce-placeholder")), Ro = (re, xe) => {
60683
60684
  const Xe = re.options.get;
60684
60685
  return Ut.isDomSafe(xe, "img", {
60685
60686
  allow_html_data_urls: Xe("allow_html_data_urls"),
@@ -60824,7 +60825,7 @@ tinymce.addI18n("zh_CN", {
60824
60825
  const Xe = xe.src;
60825
60826
  return {
60826
60827
  ...xe,
60827
- src: Mo(re, Xe) ? Xe : ""
60828
+ src: Ro(re, Xe) ? Xe : ""
60828
60829
  };
60829
60830
  }, fo = (re, xe) => {
60830
60831
  const Xe = _s(re);
@@ -61115,7 +61116,7 @@ tinymce.addI18n("zh_CN", {
61115
61116
  style: Fi(Xe.normalizeCss, La(On, !1))
61116
61117
  };
61117
61118
  re.execCommand("mceUpdateImage", !1, La(ss, xe.hasAccessibilityOptions)), re.editorUpload.uploadImagesAuto(), Mt.close();
61118
- }, Ha = (re) => (xe) => Mo(re, xe) ? _n(re.documentBaseURI.toAbsolute(xe)).then((Xe) => ({
61119
+ }, Ha = (re) => (xe) => Ro(re, xe) ? _n(re.documentBaseURI.toAbsolute(xe)).then((Xe) => ({
61119
61120
  width: String(Xe.width),
61120
61121
  height: String(Xe.height)
61121
61122
  })) : Promise.resolve({ width: "", height: "" }), zc = (re) => (xe, Xe, Mt) => {
@@ -61854,7 +61855,7 @@ tinymce.addI18n("zh_CN", {
61854
61855
  }, ln = (Ce, Ge) => {
61855
61856
  const xt = ["noopener"], en = Ce ? Ce.split(/\s+/) : [], fe = (ao) => Pt.trim(ao.sort().join(" ")), $e = (ao) => (ao = wt(ao), ao.length > 0 ? ao.concat(xt) : xt), wt = (ao) => ao.filter((re) => Pt.inArray(xt, re) === -1), Jt = Ge ? $e(en) : wt(en);
61856
61857
  return Jt.length > 0 ? fe(Jt) : "";
61857
- }, kn = (Ce) => Ce.replace(/\uFEFF/g, ""), Fn = (Ce, Ge) => (Ge = Ge || is(Ce.selection.getRng())[0] || Ce.selection.getNode(), vr(Ge) ? Z.from(Ce.dom.select("a[href]", Ge)[0]) : Z.from(Ce.dom.getParent(Ge, "a[href]"))), So = (Ce, Ge) => Fn(Ce, Ge).isSome(), Mo = (Ce, Ge) => {
61858
+ }, kn = (Ce) => Ce.replace(/\uFEFF/g, ""), Fn = (Ce, Ge) => (Ge = Ge || is(Ce.selection.getRng())[0] || Ce.selection.getNode(), vr(Ge) ? Z.from(Ce.dom.select("a[href]", Ge)[0]) : Z.from(Ce.dom.getParent(Ge, "a[href]"))), So = (Ce, Ge) => Fn(Ce, Ge).isSome(), Ro = (Ce, Ge) => {
61858
61859
  const xt = Ge.fold(() => Ce.getContent({ format: "text" }), (en) => en.innerText || en.textContent || "");
61859
61860
  return kn(xt);
61860
61861
  }, is = (Ce) => Vo(Ce, _n), ts = (Ce) => Pt.grep(Ce, _n), sr = (Ce) => ts(Ce).length > 0, En = (Ce) => is(Ce).length > 0, Fo = (Ce) => {
@@ -62082,7 +62083,7 @@ tinymce.addI18n("zh_CN", {
62082
62083
  const en = Ce.getAttrib(Ge, xt);
62083
62084
  return en !== null && en.length > 0 ? Z.some(en) : Z.none();
62084
62085
  }, pa = (Ce, Ge) => {
62085
- const xt = Ce.dom, fe = Fo(Ce) ? Z.some(Mo(Ce.selection, Ge)) : Z.none(), $e = Ge.bind((xe) => Z.from(xt.getAttrib(xe, "href"))), wt = Ge.bind((xe) => Z.from(xt.getAttrib(xe, "target"))), Jt = Ge.bind((xe) => Ks(xt, xe, "rel")), ao = Ge.bind((xe) => Ks(xt, xe, "class")), re = Ge.bind((xe) => Ks(xt, xe, "title"));
62086
+ const xt = Ce.dom, fe = Fo(Ce) ? Z.some(Ro(Ce.selection, Ge)) : Z.none(), $e = Ge.bind((xe) => Z.from(xt.getAttrib(xe, "href"))), wt = Ge.bind((xe) => Z.from(xt.getAttrib(xe, "target"))), Jt = Ge.bind((xe) => Ks(xt, xe, "rel")), ao = Ge.bind((xe) => Ks(xt, xe, "class")), re = Ge.bind((xe) => Ks(xt, xe, "title"));
62086
62087
  return {
62087
62088
  url: $e,
62088
62089
  text: fe,
@@ -62343,7 +62344,7 @@ tinymce.addI18n("zh_CN", {
62343
62344
  }, fe = ($e) => {
62344
62345
  const wt = Fn(Ce), Jt = Fo(Ce);
62345
62346
  if (wt.isNone() && Jt) {
62346
- const ao = Mo(Ce.selection, wt);
62347
+ const ao = Ro(Ce.selection, wt);
62347
62348
  return Le(ao.length === 0, $e);
62348
62349
  } else
62349
62350
  return Z.none();
@@ -62779,8 +62780,8 @@ tinymce.addI18n("zh_CN", {
62779
62780
  }, kn = (F, J) => F.dom === J.dom, Fn = (F, J) => {
62780
62781
  const pe = F.dom, Ze = J.dom;
62781
62782
  return pe === Ze ? !1 : pe.contains(Ze);
62782
- }, So = ln, Mo = (F, J) => ie(F, J), is = (F, J) => {
62783
- const pe = Mo(F, J);
62783
+ }, So = ln, Ro = (F, J) => ie(F, J), is = (F, J) => {
62784
+ const pe = Ro(F, J);
62784
62785
  if (pe == null)
62785
62786
  throw new Error(F + " not available on this browser");
62786
62787
  return pe;
@@ -64279,7 +64280,7 @@ tinymce.addI18n("zh_CN", {
64279
64280
  };
64280
64281
  et.setData(ln(Ao));
64281
64282
  }
64282
- }, Mo = (et, nt) => {
64283
+ }, Ro = (et, nt) => {
64283
64284
  const Ot = et.dom.select("*[data-mce-object]");
64284
64285
  for (let Kt = 0; Kt < nt.length; Kt++)
64285
64286
  for (let wo = Ot.length - 1; wo >= 0; wo--)
@@ -64287,7 +64288,7 @@ tinymce.addI18n("zh_CN", {
64287
64288
  et.selection.select(Ot[0]);
64288
64289
  }, is = (et, nt) => {
64289
64290
  const Ot = et.dom.select("*[data-mce-object]");
64290
- et.insertContent(nt), Mo(et, Ot), et.nodeChanged();
64291
+ et.insertContent(nt), Ro(et, Ot), et.nodeChanged();
64291
64292
  }, ts = (et, nt) => x(nt) && nt === "ephox-embed-iri" && x(ae(et)), sr = (et, nt) => ((Kt, wo) => Kt.width !== wo.width || Kt.height !== wo.height)(et, nt) && ts(nt.source, et.type), En = (et, nt, Ot) => {
64292
64293
  var Kt;
64293
64294
  nt.embed = sr(et, nt) && Ae(Ot) ? Re(Ot, { ...nt, embed: "" }) : _t((Kt = nt.embed) !== null && Kt !== void 0 ? Kt : "", nt, !1, Ot.schema), nt.embed && (et.source === nt.source || sn(nt.source)) ? is(Ot, nt.embed) : Pt(Ot, nt).then((wo) => {
@@ -64921,10 +64922,10 @@ tinymce.addI18n("zh_CN", {
64921
64922
  C.singletonNone = new C(!1);
64922
64923
  const x = (Lt, ln, kn) => {
64923
64924
  for (let Fn = 0, So = Lt.length; Fn < So; Fn++) {
64924
- const Mo = Lt[Fn];
64925
- if (ln(Mo, Fn))
64926
- return C.some(Mo);
64927
- if (kn(Mo, Fn))
64925
+ const Ro = Lt[Fn];
64926
+ if (ln(Ro, Fn))
64927
+ return C.some(Ro);
64928
+ if (kn(Ro, Fn))
64928
64929
  break;
64929
64930
  }
64930
64931
  return C.none();
@@ -64942,10 +64943,10 @@ tinymce.addI18n("zh_CN", {
64942
64943
  let ln = !1, kn;
64943
64944
  return (...Fn) => (ln || (ln = !0, kn = Lt.apply(null, Fn)), kn);
64944
64945
  }, B = (Lt, ln, kn, Fn) => {
64945
- const So = Lt.isiOS() && /ipad/i.test(kn) === !0, Mo = Lt.isiOS() && !So, is = Lt.isiOS() || Lt.isAndroid(), ts = is || Fn("(pointer:coarse)"), sr = So || !Mo && is && Fn("(min-device-width:768px)"), En = Mo || is && !sr, Fo = ln.isSafari() && Lt.isiOS() && /safari/i.test(kn) === !1, vr = !En && !sr && !Fo;
64946
+ const So = Lt.isiOS() && /ipad/i.test(kn) === !0, Ro = Lt.isiOS() && !So, is = Lt.isiOS() || Lt.isAndroid(), ts = is || Fn("(pointer:coarse)"), sr = So || !Ro && is && Fn("(min-device-width:768px)"), En = Ro || is && !sr, Fo = ln.isSafari() && Lt.isiOS() && /safari/i.test(kn) === !1, vr = !En && !sr && !Fo;
64946
64947
  return {
64947
64948
  isiPad: h(So),
64948
- isiPhone: h(Mo),
64949
+ isiPhone: h(Ro),
64949
64950
  isTablet: h(sr),
64950
64951
  isPhone: h(En),
64951
64952
  isTouch: h(ts),
@@ -64976,8 +64977,8 @@ tinymce.addI18n("zh_CN", {
64976
64977
  }, ue = (Lt, ln) => A(ln.brands, (kn) => {
64977
64978
  const Fn = kn.brand.toLowerCase();
64978
64979
  return _(Lt, (So) => {
64979
- var Mo;
64980
- return Fn === ((Mo = So.brand) === null || Mo === void 0 ? void 0 : Mo.toLowerCase());
64980
+ var Ro;
64981
+ return Fn === ((Ro = So.brand) === null || Ro === void 0 ? void 0 : Ro.toLowerCase());
64981
64982
  }).map((So) => ({
64982
64983
  current: So.name,
64983
64984
  version: H.nu(parseInt(kn.version, 10), 0)
@@ -65132,9 +65133,9 @@ tinymce.addI18n("zh_CN", {
65132
65133
  chromeos: h(Cn)
65133
65134
  }, Q = {
65134
65135
  detect: (Lt, ln, kn) => {
65135
- const Fn = ce.browsers(), So = ce.oses(), Mo = ln.bind((sr) => ue(Fn, sr)).orThunk(() => we(Fn, Lt)).fold(me.unknown, me.nu), is = te(So, Lt).fold(Ut.unknown, Ut.nu), ts = B(is, Mo, Lt, kn);
65136
+ const Fn = ce.browsers(), So = ce.oses(), Ro = ln.bind((sr) => ue(Fn, sr)).orThunk(() => we(Fn, Lt)).fold(me.unknown, me.nu), is = te(So, Lt).fold(Ut.unknown, Ut.nu), ts = B(is, Ro, Lt, kn);
65136
65137
  return {
65137
- browser: Mo,
65138
+ browser: Ro,
65138
65139
  os: is,
65139
65140
  deviceType: ts
65140
65141
  };
@@ -65165,9 +65166,9 @@ tinymce.addI18n("zh_CN", {
65165
65166
  let kn = "";
65166
65167
  const Fn = Lt.dom.encode, So = (ln = yt(Lt)) !== null && ln !== void 0 ? ln : "";
65167
65168
  kn += `<base href="${Fn(Lt.documentBaseURI.getURI())}">`;
65168
- const Mo = Nt(Lt) ? ' crossorigin="anonymous"' : "";
65169
+ const Ro = Nt(Lt) ? ' crossorigin="anonymous"' : "";
65169
65170
  dt.each(Lt.contentCSS, (vr) => {
65170
- kn += '<link type="text/css" rel="stylesheet" href="' + Fn(Lt.documentBaseURI.toAbsolute(vr)) + '"' + Mo + ">";
65171
+ kn += '<link type="text/css" rel="stylesheet" href="' + Fn(Lt.documentBaseURI.toAbsolute(vr)) + '"' + Ro + ">";
65171
65172
  }), So && (kn += '<style type="text/css">' + So + "</style>");
65172
65173
  const is = Et(Lt), ts = yn(Lt), sr = Lt.getBody().dir, En = sr ? ' dir="' + Fn(sr) + '"' : "";
65173
65174
  return "<!DOCTYPE html><html><head>" + kn + '</head><body id="' + Fn(is) + '" class="mce-content-body ' + Fn(ts) + '"' + En + ">" + Lt.getContent() + Re() + "</body></html>";
@@ -66048,7 +66049,7 @@ tinymce.addI18n("zh_CN", {
66048
66049
  sOffset: 0,
66049
66050
  fOffset: 0,
66050
66051
  elements: []
66051
- }), Mo = (ke, st) => Me(Le.fromDom(ke), st), is = (ke, st, Qt, zn, vn, xo = !0) => {
66052
+ }), Ro = (ke, st) => Me(Le.fromDom(ke), st), is = (ke, st, Qt, zn, vn, xo = !0) => {
66052
66053
  let fo = xo ? st(!1) : Qt;
66053
66054
  for (; fo; ) {
66054
66055
  const po = no(ke, fo);
@@ -66090,7 +66091,7 @@ tinymce.addI18n("zh_CN", {
66090
66091
  }
66091
66092
  }, zn, xo), zn && ts(ke, Ko, zn, st, !0), xs(), po;
66092
66093
  }, En = (ke, st) => {
66093
- const Qt = Mo(st.startContainer, st.startOffset), zn = Qt.element.dom, vn = Mo(st.endContainer, st.endOffset), xo = vn.element.dom;
66094
+ const Qt = Ro(st.startContainer, st.startOffset), zn = Qt.element.dom, vn = Ro(st.endContainer, st.endOffset), xo = vn.element.dom;
66094
66095
  return sr(ke, st.commonAncestorContainer, zn, xo, {
66095
66096
  text: (fo, po) => {
66096
66097
  fo === xo ? po.fOffset += fo.length - vn.offset : fo === zn && (po.sOffset += Qt.offset);
@@ -66839,7 +66840,7 @@ tinymce.addI18n("zh_CN", {
66839
66840
  ge(), U.set(te.some(vo));
66840
66841
  }
66841
66842
  };
66842
- }, no = () => Vo((P) => P.unbind()), Lt = (P, U) => P.substring(U), ln = (P, U, ge) => U === "" || P.length >= U.length && P.substr(ge, ge + U.length) === U, kn = (P, U) => Fn(P, U) ? Lt(P, U.length) : P, Fn = (P, U) => ln(P, U, 0), Mo = ((P) => (U) => U.replace(P, ""))(/^\s+|\s+$/g), is = (P) => P.length > 0, ts = (P) => !is(P), sr = (P, U = 10) => {
66843
+ }, no = () => Vo((P) => P.unbind()), Lt = (P, U) => P.substring(U), ln = (P, U, ge) => U === "" || P.length >= U.length && P.substr(ge, ge + U.length) === U, kn = (P, U) => Fn(P, U) ? Lt(P, U.length) : P, Fn = (P, U) => ln(P, U, 0), Ro = ((P) => (U) => U.replace(P, ""))(/^\s+|\s+$/g), is = (P) => P.length > 0, ts = (P) => !is(P), sr = (P, U = 10) => {
66843
66844
  const ge = parseInt(P, U);
66844
66845
  return isNaN(ge) ? te.none() : te.some(ge);
66845
66846
  }, En = (P) => {
@@ -66997,7 +66998,7 @@ tinymce.addI18n("zh_CN", {
66997
66998
  return te.from(Be).filter((ft) => ft.length > 0);
66998
66999
  }, Vc = (P, U) => {
66999
67000
  const ge = P.dom;
67000
- ri(ge, U), yn(Xo(P, "style").map(Mo), "") && va(P, "style");
67001
+ ri(ge, U), yn(Xo(P, "style").map(Ro), "") && va(P, "style");
67001
67002
  }, Xa = (P, U) => En(P).getOr(U), Si = (P, U, ge) => Xa(Ki(P, U), ge), Da = (P, U, ge, Be) => {
67002
67003
  const ft = Si(P, `padding-${ge}`, 0), un = Si(P, `padding-${Be}`, 0), Gn = Si(P, `border-${ge}-width`, 0), vo = Si(P, `border-${Be}-width`, 0);
67003
67004
  return U - ft - un - Gn - vo;
@@ -69022,7 +69023,7 @@ tinymce.addI18n("zh_CN", {
69022
69023
  return j(ro, (ws) => {
69023
69024
  An && Pr(ws) && Dt(ws) && (Yn = Yn.concat([ws])), Yn = Yn.concat(So(ws, Dt, Fn(ws, An)));
69024
69025
  }), Yn;
69025
- }, Mo = (kt, Dt) => {
69026
+ }, Ro = (kt, Dt) => {
69026
69027
  for (; kt.parentNode; ) {
69027
69028
  if (kt.parentNode === Dt)
69028
69029
  return Dt;
@@ -69050,7 +69051,7 @@ tinymce.addI18n("zh_CN", {
69050
69051
  });
69051
69052
  }, En = (kt) => {
69052
69053
  const Dt = kt.getBody(), An = kt.selection.getBookmark();
69053
- let Yn = Mo(kt.selection.getNode(), Dt);
69054
+ let Yn = Ro(kt.selection.getNode(), Dt);
69054
69055
  Yn = Yn !== void 0 ? Yn : Dt, sr(kt, Yn), ts(kt, Yn), kt.selection.moveToBookmark(An);
69055
69056
  }, Fo = (kt, Dt) => {
69056
69057
  vt(kt, Dt.get());
@@ -69835,7 +69836,7 @@ function L5e(o, a, i, u, m, h) {
69835
69836
  to: u.shadowRoot
69836
69837
  }, [
69837
69838
  Ir(o.$slots, "default")
69838
- ], 8, ["to"])) : Bo("", !0)
69839
+ ], 8, ["to"])) : Mo("", !0)
69839
69840
  ], 512);
69840
69841
  }
69841
69842
  const hoe = /* @__PURE__ */ Yi(F5e, [["render", L5e]]), H5e = ["innerHTML"], V5e = /* @__PURE__ */ zo({
@@ -69849,7 +69850,7 @@ const hoe = /* @__PURE__ */ Yi(F5e, [["render", L5e]]), H5e = ["innerHTML"], V5e
69849
69850
  const a = Er(o, "modelValue");
69850
69851
  return (i, u) => (ct(), ho(hoe, null, {
69851
69852
  default: Sn(() => [
69852
- jt("div", { innerHTML: a.value }, null, 8, H5e)
69853
+ Wt("div", { innerHTML: a.value }, null, 8, H5e)
69853
69854
  ]),
69854
69855
  _: 1
69855
69856
  }));
@@ -70169,14 +70170,14 @@ const Hde = (o, a) => {
70169
70170
  key: 0,
70170
70171
  to: D.node.element
70171
70172
  }, [
70172
- jt("div", {
70173
+ Wt("div", {
70173
70174
  class: qi(["node-item-render", `node-item-${De(m)}`])
70174
70175
  }, [
70175
70176
  Ir(D.$slots, "default", { node: D.node }, () => [
70176
70177
  fn(nNe, { node: D.node }, null, 8, ["node"])
70177
70178
  ])
70178
70179
  ], 2)
70179
- ], 8, ["to"])) : Bo("", !0);
70180
+ ], 8, ["to"])) : Mo("", !0);
70180
70181
  };
70181
70182
  }
70182
70183
  });
@@ -70685,7 +70686,7 @@ const cNe = /* @__PURE__ */ zo({
70685
70686
  })
70686
70687
  ]),
70687
70688
  _: 2
70688
- }, 1032, ["node"]))), 128)) : Bo("", !0);
70689
+ }, 1032, ["node"]))), 128)) : Mo("", !0);
70689
70690
  }
70690
70691
  }), Die = /* @__PURE__ */ zo({
70691
70692
  __name: "NodesPreviewUI",
@@ -70715,7 +70716,7 @@ const cNe = /* @__PURE__ */ zo({
70715
70716
  })
70716
70717
  ]),
70717
70718
  _: 2
70718
- }, 1032, ["node"]))), 128)) : Bo("", !0);
70719
+ }, 1032, ["node"]))), 128)) : Mo("", !0);
70719
70720
  }
70720
70721
  }), uNe = /* @__PURE__ */ zo({
70721
70722
  __name: "NodesEnterUI",
@@ -70745,7 +70746,7 @@ const cNe = /* @__PURE__ */ zo({
70745
70746
  })
70746
70747
  ]),
70747
70748
  _: 2
70748
- }, 1032, ["node"]))), 128)) : Bo("", !0);
70749
+ }, 1032, ["node"]))), 128)) : Mo("", !0);
70749
70750
  }
70750
70751
  }), dNe = /* @__PURE__ */ zo({
70751
70752
  __name: "NodesSelectUI",
@@ -70775,7 +70776,7 @@ const cNe = /* @__PURE__ */ zo({
70775
70776
  })
70776
70777
  ]),
70777
70778
  _: 2
70778
- }, 1032, ["node"]))), 128)) : Bo("", !0);
70779
+ }, 1032, ["node"]))), 128)) : Mo("", !0);
70779
70780
  }
70780
70781
  }), ZC = dn({});
70781
70782
  function Wde(o) {
@@ -71029,17 +71030,17 @@ const mNe = /* @__PURE__ */ zo({
71029
71030
  key: q == null ? void 0 : q.label,
71030
71031
  class: "menu-item"
71031
71032
  }, [
71032
- jt("div", {
71033
+ Wt("div", {
71033
71034
  class: "menu-item-content",
71034
71035
  onClick: (Z) => j(Z, q)
71035
71036
  }, [
71036
71037
  q != null && q.icon ? (ct(), rn("div", pNe, [
71037
- jt("div", {
71038
+ Wt("div", {
71038
71039
  class: qi(q == null ? void 0 : q.icon)
71039
71040
  }, null, 2)
71040
- ])) : Bo("", !0),
71041
+ ])) : Mo("", !0),
71041
71042
  Gs(" " + Vs(q.label) + " ", 1),
71042
- q != null && q.children ? (ct(), rn("span", vNe, "›")) : Bo("", !0)
71043
+ q != null && q.children ? (ct(), rn("span", vNe, "›")) : Mo("", !0)
71043
71044
  ], 8, hNe),
71044
71045
  q != null && q.children ? (ct(), rn("div", bNe, [
71045
71046
  (ct(!0), rn(ur, null, ma(q.children, (Z) => (ct(), rn("div", {
@@ -71048,13 +71049,13 @@ const mNe = /* @__PURE__ */ zo({
71048
71049
  onClick: (H) => j(H, Z)
71049
71050
  }, [
71050
71051
  Z != null && Z.icon ? (ct(), rn("div", wNe, [
71051
- jt("div", {
71052
+ Wt("div", {
71052
71053
  class: qi(Z == null ? void 0 : Z.icon)
71053
71054
  }, null, 2)
71054
- ])) : Bo("", !0),
71055
+ ])) : Mo("", !0),
71055
71056
  Gs(" " + Vs(Z.label), 1)
71056
71057
  ], 8, yNe))), 128))
71057
- ])) : Bo("", !0)
71058
+ ])) : Mo("", !0)
71058
71059
  ]))), 128))
71059
71060
  ], 4)), [
71060
71061
  [phe, _.value]
@@ -71201,18 +71202,18 @@ const ENe = { class: "relative" }, TNe = ["innerHTML"], kNe = /* @__PURE__ */ zo
71201
71202
  ref: H
71202
71203
  }, {
71203
71204
  default: Sn(() => [
71204
- jt("div", {
71205
+ Wt("div", {
71205
71206
  ref_key: "headerRef",
71206
71207
  ref: i,
71207
71208
  style: { overflow: "hidden" }
71208
71209
  }, [
71209
- jt("div", {
71210
+ Wt("div", {
71210
71211
  innerHTML: A == null ? void 0 : A.headerHtml,
71211
71212
  class: "disabeld-edit",
71212
71213
  onClick: ue
71213
71214
  }, null, 8, TNe)
71214
71215
  ], 512),
71215
- jt("html", {
71216
+ Wt("html", {
71216
71217
  class: "nodes-editor",
71217
71218
  ref_key: "containerRef",
71218
71219
  ref: u,
@@ -71222,7 +71223,7 @@ const ENe = { class: "relative" }, TNe = ["innerHTML"], kNe = /* @__PURE__ */ zo
71222
71223
  ["prevent"]
71223
71224
  ))
71224
71225
  }, [
71225
- jt("body", {
71226
+ Wt("body", {
71226
71227
  ref_key: "bodyRef",
71227
71228
  ref: W
71228
71229
  }, null, 512)
@@ -71235,7 +71236,7 @@ const ENe = { class: "relative" }, TNe = ["innerHTML"], kNe = /* @__PURE__ */ zo
71235
71236
  show: De(R),
71236
71237
  "onUpdate:show": Ve[1] || (Ve[1] = (vt) => gp(R) ? R.value = vt : null),
71237
71238
  style: Xl(De(B))
71238
- }, null, 8, ["show", "style"])) : Bo("", !0)
71239
+ }, null, 8, ["show", "style"])) : Mo("", !0)
71239
71240
  ]));
71240
71241
  }
71241
71242
  }), Oie = {
@@ -71277,7 +71278,7 @@ const ENe = { class: "relative" }, TNe = ["innerHTML"], kNe = /* @__PURE__ */ zo
71277
71278
  return u.width * m / 25.4;
71278
71279
  });
71279
71280
  return (u, m) => (ct(), rn("div", ANe, [
71280
- jt("div", {
71281
+ Wt("div", {
71281
71282
  style: Xl({ width: `${i.value}px` }),
71282
71283
  class: "pagesize-content"
71283
71284
  }, [
@@ -71466,7 +71467,7 @@ const ENe = { class: "relative" }, TNe = ["innerHTML"], kNe = /* @__PURE__ */ zo
71466
71467
  class: "node-text-item"
71467
71468
  }, [
71468
71469
  (x == null ? void 0 : x.showTextType) === "input" ? (ct(), rn("span", MNe, " 填写" + Vs(x == null ? void 0 : x.inputIndex), 1)) : (ct(), rn("span", RNe, [
71469
- m.value ? Bo("", !0) : (ct(), rn("span", INe, Vs(`表${(A = x == null ? void 0 : x.min) == null ? void 0 : A.tableIndex}.`), 1)),
71470
+ m.value ? Mo("", !0) : (ct(), rn("span", INe, Vs(`表${(A = x == null ? void 0 : x.min) == null ? void 0 : A.tableIndex}.`), 1)),
71470
71471
  Gs(" " + Vs(((D = x == null ? void 0 : x.min) == null ? void 0 : D.id) === ((R = x == null ? void 0 : x.max) == null ? void 0 : R.id) ? De(eD)(x == null ? void 0 : x.min) : `${De(eD)(x == null ? void 0 : x.min)}:${De(eD)(x == null ? void 0 : x.max)}`), 1)
71471
71472
  ]))
71472
71473
  ]);
@@ -71576,20 +71577,20 @@ const z4 = [
71576
71577
  }), (D, R) => {
71577
71578
  var B;
71578
71579
  return a.size === "small" ? (ct(), rn("div", BNe, [
71579
- jt("div", {
71580
+ Wt("div", {
71580
71581
  style: Xl({ "--node-color": x.value }),
71581
71582
  class: "node-color cursor-pointer"
71582
71583
  }, null, 4),
71583
- jt("div", null, Vs(a.label), 1),
71584
- a.disabled ? Bo("", !0) : (ct(), rn("div", {
71584
+ Wt("div", null, Vs(a.label), 1),
71585
+ a.disabled ? Mo("", !0) : (ct(), rn("div", {
71585
71586
  key: 0,
71586
71587
  style: Xl(De(v) ? { color: "#409eff" } : {}),
71587
71588
  onClick: R[0] || (R[0] = //@ts-ignore
71588
71589
  (...j) => De(h) && De(h)(...j))
71589
71590
  }, R[6] || (R[6] = [
71590
- jt("div", { class: "i-bi:hand-index text-[18px] cursor-pointer" }, null, -1)
71591
+ Wt("div", { class: "i-bi:hand-index text-[18px] cursor-pointer" }, null, -1)
71591
71592
  ]), 4)),
71592
- jt("div", {
71593
+ Wt("div", {
71593
71594
  class: "flex items-center flex-wrap gap-1 cursor-pointer",
71594
71595
  onClick: R[2] || (R[2] = () => {
71595
71596
  a != null && a.disabled || De(h)();
@@ -71603,32 +71604,32 @@ const z4 = [
71603
71604
  }, null, 8, ["modelValue", "editorId"])) : (ct(), rn("div", FNe, "未设置"))
71604
71605
  ])
71605
71606
  ])) : (ct(), rn("div", LNe, [
71606
- jt("div", HNe, [
71607
- jt("div", VNe, [
71608
- jt("div", {
71607
+ Wt("div", HNe, [
71608
+ Wt("div", VNe, [
71609
+ Wt("div", {
71609
71610
  style: Xl({ "--node-color": x.value }),
71610
71611
  class: "node-color cursor-pointer"
71611
71612
  }, null, 4),
71612
- a.disabled ? Bo("", !0) : (ct(), rn("div", {
71613
+ a.disabled ? Mo("", !0) : (ct(), rn("div", {
71613
71614
  key: 0,
71614
71615
  style: Xl(De(v) ? { color: "#409eff" } : {})
71615
71616
  }, [
71616
- jt("div", {
71617
+ Wt("div", {
71617
71618
  class: "i-bi:hand-index text-[18px] cursor-pointer",
71618
71619
  onClick: R[3] || (R[3] = //@ts-ignore
71619
71620
  (...j) => De(h) && De(h)(...j))
71620
71621
  })
71621
71622
  ], 4)),
71622
- a.disabled ? Bo("", !0) : (ct(), rn("div", zNe, [
71623
- jt("div", {
71623
+ a.disabled ? Mo("", !0) : (ct(), rn("div", zNe, [
71624
+ Wt("div", {
71624
71625
  class: "i-bi:eraser-fill text-[18px] cursor-pointer",
71625
71626
  onClick: C
71626
71627
  })
71627
71628
  ]))
71628
71629
  ]),
71629
- jt("div", UNe, [
71630
- R[8] || (R[8] = jt("div", { class: "color-[#999]" }, "Ctrl+左键多选", -1)),
71631
- jt("div", null, [
71630
+ Wt("div", UNe, [
71631
+ R[8] || (R[8] = Wt("div", { class: "color-[#999]" }, "Ctrl+左键多选", -1)),
71632
+ Wt("div", null, [
71632
71633
  fn(De(gz), {
71633
71634
  placement: "top-start",
71634
71635
  width: 200,
@@ -71636,8 +71637,8 @@ const z4 = [
71636
71637
  content: "this is content, this is content, this is content"
71637
71638
  }, {
71638
71639
  reference: Sn(() => R[7] || (R[7] = [
71639
- jt("div", { class: "flex flex-center" }, [
71640
- jt("div", { class: "i-bi:info-circle-fill mr-2" }),
71640
+ Wt("div", { class: "flex flex-center" }, [
71641
+ Wt("div", { class: "i-bi:info-circle-fill mr-2" }),
71641
71642
  Gs(" 使用帮助 ")
71642
71643
  ], -1)
71643
71644
  ])),
@@ -71646,7 +71647,7 @@ const z4 = [
71646
71647
  ])
71647
71648
  ])
71648
71649
  ]),
71649
- jt("div", {
71650
+ Wt("div", {
71650
71651
  class: "min-h-[42px] px-2 py-1",
71651
71652
  onClick: R[5] || (R[5] = () => {
71652
71653
  a != null && a.disabled || De(h)();
@@ -72213,13 +72214,13 @@ const o6e = (o, a) => {
72213
72214
  currentItemIndex: x,
72214
72215
  currentItem: _
72215
72216
  }), (A, D) => (ct(), rn("div", r6e, [
72216
- jt("div", {
72217
+ Wt("div", {
72217
72218
  contenteditable: "true",
72218
72219
  ref_key: "formulaRef",
72219
72220
  ref: m,
72220
72221
  class: "node-formula-input"
72221
72222
  }, null, 512),
72222
- jt("div", a6e, [
72223
+ Wt("div", a6e, [
72223
72224
  (ct(!0), rn(ur, null, ma(C.value, (R, B) => (ct(), rn("span", {
72224
72225
  key: B,
72225
72226
  class: qi([
@@ -72300,14 +72301,14 @@ const o6e = (o, a) => {
72300
72301
  i = C, m.value = v;
72301
72302
  }), (v, C) => (ct(), rn("div", u6e, [
72302
72303
  (ct(!0), rn(ur, null, ma(u.value, (x, _) => (ct(), rn("div", { key: _ }, [
72303
- jt("div", {
72304
+ Wt("div", {
72304
72305
  onClick: () => {
72305
72306
  h(x.value);
72306
72307
  },
72307
72308
  class: qi(["function-item-wrapper", { active: m.value === x.value }])
72308
72309
  }, [
72309
- jt("div", f6e, Vs(x.value), 1),
72310
- jt("div", m6e, Vs(x.label), 1)
72310
+ Wt("div", f6e, Vs(x.value), 1),
72311
+ Wt("div", m6e, Vs(x.label), 1)
72311
72312
  ], 10, d6e)
72312
72313
  ]))), 128))
72313
72314
  ]));
@@ -72323,7 +72324,7 @@ const o6e = (o, a) => {
72323
72324
  const a = Er(o, "modelValue");
72324
72325
  return (i, u) => (ct(), ho(hoe, null, {
72325
72326
  default: Sn(() => [
72326
- jt("div", { innerHTML: a.value }, null, 8, p6e)
72327
+ Wt("div", { innerHTML: a.value }, null, 8, p6e)
72327
72328
  ]),
72328
72329
  _: 1
72329
72330
  }));
@@ -77282,8 +77283,8 @@ const oPe = rU, sPe = ["transform"], rPe = ["width", "height", "x", "y", "rx", "
77282
77283
  style: Xl(h.labelBgStyle),
77283
77284
  rx: h.labelBgBorderRadius,
77284
77285
  ry: h.labelBgBorderRadius
77285
- }, null, 12, rPe)) : Bo("", !0),
77286
- jt("text", km(h.$attrs, {
77286
+ }, null, 12, rPe)) : Mo("", !0),
77287
+ Wt("text", km(h.$attrs, {
77287
77288
  ref_key: "el",
77288
77289
  ref: i,
77289
77290
  class: "vue-flow__edge-text",
@@ -77327,7 +77328,7 @@ const oPe = rU, sPe = ["transform"], rPe = ["width", "height", "x", "y", "rx", "
77327
77328
  interactionEl: u,
77328
77329
  labelEl: m
77329
77330
  }), (v, C) => (ct(), rn(ur, null, [
77330
- jt("path", km(De(h), {
77331
+ Wt("path", km(De(h), {
77331
77332
  id: v.id,
77332
77333
  ref_key: "pathEl",
77333
77334
  ref: i,
@@ -77345,7 +77346,7 @@ const oPe = rU, sPe = ["transform"], rPe = ["width", "height", "x", "y", "rx", "
77345
77346
  "stroke-width": v.interactionWidth,
77346
77347
  "stroke-opacity": 0,
77347
77348
  class: "vue-flow__edge-interaction"
77348
- }, null, 8, uPe)) : Bo("", !0),
77349
+ }, null, 8, uPe)) : Mo("", !0),
77349
77350
  v.label && v.labelX && v.labelY ? (ct(), ho(lPe, {
77350
77351
  key: 1,
77351
77352
  ref_key: "labelEl",
@@ -77358,7 +77359,7 @@ const oPe = rU, sPe = ["transform"], rPe = ["width", "height", "x", "y", "rx", "
77358
77359
  "label-bg-padding": v.labelBgPadding,
77359
77360
  "label-bg-border-radius": v.labelBgBorderRadius,
77360
77361
  "label-style": v.labelStyle
77361
- }, null, 8, ["x", "y", "label", "label-show-bg", "label-bg-style", "label-bg-padding", "label-bg-border-radius", "label-style"])) : Bo("", !0)
77362
+ }, null, 8, ["x", "y", "label", "label-show-bg", "label-bg-style", "label-bg-padding", "label-bg-border-radius", "label-style"])) : Mo("", !0)
77362
77363
  ], 64));
77363
77364
  }
77364
77365
  });
@@ -78045,7 +78046,7 @@ const DPe = {
78045
78046
  class: qi(["vue-flow__nodesselection vue-flow__container", De(m)]),
78046
78047
  style: Xl({ transform: `translate(${De(i).x}px,${De(i).y}px) scale(${De(i).zoom})` })
78047
78048
  }, [
78048
- jt("div", {
78049
+ Wt("div", {
78049
78050
  ref_key: "el",
78050
78051
  ref: x,
78051
78052
  class: qi([{ dragging: De(_) }, "vue-flow__nodesselection-rect"]),
@@ -78054,7 +78055,7 @@ const DPe = {
78054
78055
  onContextmenu: R,
78055
78056
  onKeydown: B
78056
78057
  }, null, 46, $Pe)
78057
- ], 6)) : Bo("", !0);
78058
+ ], 6)) : Mo("", !0);
78058
78059
  }
78059
78060
  });
78060
78061
  function RPe(o, a) {
@@ -78195,8 +78196,8 @@ const IPe = {
78195
78196
  De(h) && De(C) ? (ct(), ho(OPe, {
78196
78197
  key: 0,
78197
78198
  "user-selection-rect": De(C)
78198
- }, null, 8, ["user-selection-rect"])) : Bo("", !0),
78199
- De(_) && De(D).length ? (ct(), ho(MPe, { key: 1 })) : Bo("", !0)
78199
+ }, null, 8, ["user-selection-rect"])) : Mo("", !0),
78200
+ De(_) && De(D).length ? (ct(), ho(MPe, { key: 1 })) : Mo("", !0)
78200
78201
  ], 34));
78201
78202
  }
78202
78203
  }), BPe = {
@@ -78403,15 +78404,15 @@ const IPe = {
78403
78404
  setup(o) {
78404
78405
  const { id: a, disableKeyboardA11y: i, ariaLiveMessage: u } = Gr();
78405
78406
  return (m, h) => (ct(), rn(ur, null, [
78406
- jt("div", {
78407
+ Wt("div", {
78407
78408
  id: `${De(Tfe)}-${De(a)}`,
78408
78409
  style: { display: "none" }
78409
78410
  }, " Press enter or space to select a node. " + Vs(De(i) ? "" : "You can then use the arrow keys to move the node around.") + " You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ", 9, VPe),
78410
- jt("div", {
78411
+ Wt("div", {
78411
78412
  id: `${De(kfe)}-${De(a)}`,
78412
78413
  style: { display: "none" }
78413
78414
  }, " Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ", 8, zPe),
78414
- De(i) ? Bo("", !0) : (ct(), rn("div", {
78415
+ De(i) ? Mo("", !0) : (ct(), rn("div", {
78415
78416
  key: 0,
78416
78417
  id: `${De(f8e)}-${De(a)}`,
78417
78418
  "aria-live": "assertive",
@@ -78812,7 +78813,7 @@ const wle = Doe, YPe = zo({
78812
78813
  "stroke-linecap": "round",
78813
78814
  "stroke-linejoin": "round",
78814
78815
  points: "-5,-4 0,0 -5,4 -5,-4"
78815
- }, null, 4)) : Bo("", !0),
78816
+ }, null, 4)) : Mo("", !0),
78816
78817
  a.type === De(ez).Arrow ? (ct(), rn("polyline", {
78817
78818
  key: 1,
78818
78819
  style: Xl({
@@ -78823,7 +78824,7 @@ const wle = Doe, YPe = zo({
78823
78824
  "stroke-linejoin": "round",
78824
78825
  fill: "none",
78825
78826
  points: "-5,-4 0,0 -5,4"
78826
- }, null, 4)) : Bo("", !0)
78827
+ }, null, 4)) : Mo("", !0)
78827
78828
  ], 8, QPe));
78828
78829
  }
78829
78830
  }), nBe = { class: "vue-flow__marker vue-flow__container" }, oBe = {
@@ -78847,7 +78848,7 @@ const wle = Doe, YPe = zo({
78847
78848
  return C.sort((_, A) => _.id.localeCompare(A.id));
78848
78849
  });
78849
78850
  return (v, C) => (ct(), rn("svg", nBe, [
78850
- jt("defs", null, [
78851
+ Wt("defs", null, [
78851
78852
  (ct(!0), rn(ur, null, ma(h.value, (x) => (ct(), ho(tBe, {
78852
78853
  id: x.id,
78853
78854
  key: x.id,
@@ -79201,7 +79202,7 @@ const mBe = { class: "vue-flow__nodes vue-flow__container" }, gBe = {
79201
79202
  "resize-observer": h.value
79202
79203
  }, null, 8, ["id", "resize-observer"]));
79203
79204
  return B.memo = R, B;
79204
- }, C, 0), 128)) : Bo("", !0)
79205
+ }, C, 0), 128)) : Mo("", !0)
79205
79206
  ]));
79206
79207
  }
79207
79208
  });
@@ -79214,7 +79215,7 @@ function pBe() {
79214
79215
  }
79215
79216
  });
79216
79217
  }
79217
- const vBe = /* @__PURE__ */ jt("div", { class: "vue-flow__edge-labels" }, null, -1), bBe = {
79218
+ const vBe = /* @__PURE__ */ Wt("div", { class: "vue-flow__edge-labels" }, null, -1), bBe = {
79218
79219
  name: "VueFlow",
79219
79220
  compatConfig: { MODE: 3 }
79220
79221
  }, tme = /* @__PURE__ */ zo({
@@ -79375,7 +79376,7 @@ const CBe = {
79375
79376
  })
79376
79377
  }, [
79377
79378
  Ir(v.$slots, "pattern-container", { id: m.value }, () => [
79378
- jt("pattern", {
79379
+ Wt("pattern", {
79379
79380
  id: m.value,
79380
79381
  x: De(i).x % u.value.scaledGap[0],
79381
79382
  y: De(i).y % u.value.scaledGap[1],
@@ -79394,18 +79395,18 @@ const CBe = {
79394
79395
  key: 1,
79395
79396
  color: h.value,
79396
79397
  radius: u.value.size / 2
79397
- }, null, 8, ["color", "radius"])) : Bo("", !0),
79398
+ }, null, 8, ["color", "radius"])) : Mo("", !0),
79398
79399
  v.bgColor ? (ct(), rn("svg", SBe, [
79399
- jt("rect", {
79400
+ Wt("rect", {
79400
79401
  width: "100%",
79401
79402
  height: "100%",
79402
79403
  fill: v.bgColor
79403
79404
  }, null, 8, _Be)
79404
- ])) : Bo("", !0)
79405
+ ])) : Mo("", !0)
79405
79406
  ])
79406
79407
  ], 8, xBe)
79407
79408
  ]),
79408
- jt("rect", {
79409
+ Wt("rect", {
79409
79410
  x: v.x,
79410
79411
  y: v.y,
79411
79412
  width: "100%",
@@ -79432,7 +79433,7 @@ function OBe(o, a, i, u, m, h) {
79432
79433
  const ME = /* @__PURE__ */ ABe(kBe, [["render", OBe]]), $Be = {
79433
79434
  xmlns: "http://www.w3.org/2000/svg",
79434
79435
  viewBox: "0 0 32 32"
79435
- }, NBe = /* @__PURE__ */ jt("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }, null, -1), MBe = [
79436
+ }, NBe = /* @__PURE__ */ Wt("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }, null, -1), MBe = [
79436
79437
  NBe
79437
79438
  ];
79438
79439
  function RBe(o, a) {
@@ -79441,7 +79442,7 @@ function RBe(o, a) {
79441
79442
  const IBe = { render: RBe }, PBe = {
79442
79443
  xmlns: "http://www.w3.org/2000/svg",
79443
79444
  viewBox: "0 0 32 5"
79444
- }, BBe = /* @__PURE__ */ jt("path", { d: "M0 0h32v4.2H0z" }, null, -1), FBe = [
79445
+ }, BBe = /* @__PURE__ */ Wt("path", { d: "M0 0h32v4.2H0z" }, null, -1), FBe = [
79445
79446
  BBe
79446
79447
  ];
79447
79448
  function LBe(o, a) {
@@ -79450,7 +79451,7 @@ function LBe(o, a) {
79450
79451
  const HBe = { render: LBe }, VBe = {
79451
79452
  xmlns: "http://www.w3.org/2000/svg",
79452
79453
  viewBox: "0 0 32 30"
79453
- }, zBe = /* @__PURE__ */ jt("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }, null, -1), UBe = [
79454
+ }, zBe = /* @__PURE__ */ Wt("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }, null, -1), UBe = [
79454
79455
  zBe
79455
79456
  ];
79456
79457
  function jBe(o, a) {
@@ -79459,7 +79460,7 @@ function jBe(o, a) {
79459
79460
  const WBe = { render: jBe }, ZBe = {
79460
79461
  xmlns: "http://www.w3.org/2000/svg",
79461
79462
  viewBox: "0 0 25 32"
79462
- }, GBe = /* @__PURE__ */ jt("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }, null, -1), qBe = [
79463
+ }, GBe = /* @__PURE__ */ Wt("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }, null, -1), qBe = [
79463
79464
  GBe
79464
79465
  ];
79465
79466
  function YBe(o, a) {
@@ -79468,7 +79469,7 @@ function YBe(o, a) {
79468
79469
  const KBe = { render: YBe }, XBe = {
79469
79470
  xmlns: "http://www.w3.org/2000/svg",
79470
79471
  viewBox: "0 0 25 32"
79471
- }, JBe = /* @__PURE__ */ jt("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z" }, null, -1), QBe = [
79472
+ }, JBe = /* @__PURE__ */ Wt("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z" }, null, -1), QBe = [
79472
79473
  JBe
79473
79474
  ];
79474
79475
  function eFe(o, a) {
@@ -79547,7 +79548,7 @@ const tFe = { render: eFe }, nFe = {
79547
79548
  _: 3
79548
79549
  }, 8, ["disabled"])
79549
79550
  ])
79550
- ], 64)) : Bo("", !0),
79551
+ ], 64)) : Mo("", !0),
79551
79552
  H.showFitView ? Ir(H.$slots, "control-fit-view", { key: 1 }, () => [
79552
79553
  fn(ME, {
79553
79554
  class: "vue-flow__controls-fitview",
@@ -79560,7 +79561,7 @@ const tFe = { render: eFe }, nFe = {
79560
79561
  ]),
79561
79562
  _: 3
79562
79563
  })
79563
- ]) : Bo("", !0),
79564
+ ]) : Mo("", !0),
79564
79565
  H.showInteractive ? Ir(H.$slots, "control-interactive", { key: 2 }, () => [
79565
79566
  H.showInteractive ? (ct(), ho(ME, {
79566
79567
  key: 0,
@@ -79570,14 +79571,14 @@ const tFe = { render: eFe }, nFe = {
79570
79571
  default: Sn(() => [
79571
79572
  R.value ? Ir(H.$slots, "icon-unlock", { key: 0 }, () => [
79572
79573
  (ct(), ho(EE(De(tFe))))
79573
- ]) : Bo("", !0),
79574
- R.value ? Bo("", !0) : Ir(H.$slots, "icon-lock", { key: 1 }, () => [
79574
+ ]) : Mo("", !0),
79575
+ R.value ? Mo("", !0) : Ir(H.$slots, "icon-lock", { key: 1 }, () => [
79575
79576
  (ct(), ho(EE(De(KBe))))
79576
79577
  ])
79577
79578
  ]),
79578
79579
  _: 3
79579
- })) : Bo("", !0)
79580
- ]) : Bo("", !0),
79580
+ })) : Mo("", !0)
79581
+ ]) : Mo("", !0),
79581
79582
  Ir(H.$slots, "default")
79582
79583
  ]),
79583
79584
  _: 3
@@ -81819,7 +81820,7 @@ const Ume = {
81819
81820
  onClick: R[0] || (R[0] = () => A())
81820
81821
  }, {
81821
81822
  default: Sn(() => R[1] || (R[1] = [
81822
- jt("div", { class: "i-bi:crosshair text-[14px]" }, null, -1)
81823
+ Wt("div", { class: "i-bi:crosshair text-[14px]" }, null, -1)
81823
81824
  ])),
81824
81825
  _: 1
81825
81826
  }),
@@ -81829,20 +81830,20 @@ const Ume = {
81829
81830
  onClick: De(_)
81830
81831
  }, {
81831
81832
  default: Sn(() => R[2] || (R[2] = [
81832
- jt("div", { class: "i-bi:grid-3x2 text-[14px]" }, null, -1)
81833
+ Wt("div", { class: "i-bi:grid-3x2 text-[14px]" }, null, -1)
81833
81834
  ])),
81834
81835
  _: 1
81835
- }, 8, ["onClick"])) : Bo("", !0),
81836
+ }, 8, ["onClick"])) : Mo("", !0),
81836
81837
  De(a) === "edit" ? (ct(), ho(De(ME), {
81837
81838
  key: 1,
81838
81839
  title: "拆分",
81839
81840
  onClick: De(x)
81840
81841
  }, {
81841
81842
  default: Sn(() => R[3] || (R[3] = [
81842
- jt("div", { class: "i-bi:grid-3x2-gap text-[14px]" }, null, -1)
81843
+ Wt("div", { class: "i-bi:grid-3x2-gap text-[14px]" }, null, -1)
81843
81844
  ])),
81844
81845
  _: 1
81845
- }, 8, ["onClick"])) : Bo("", !0)
81846
+ }, 8, ["onClick"])) : Mo("", !0)
81846
81847
  ]),
81847
81848
  _: 1
81848
81849
  }));
@@ -81931,12 +81932,12 @@ const Ume = {
81931
81932
  class: qi(["menu-item", { disabled: j.disabled }]),
81932
81933
  onClick: (K) => !j.disabled && j.actionHandler()
81933
81934
  }, Vs(j.title), 11, iHe))), 128))
81934
- ], 4)) : Bo("", !0);
81935
+ ], 4)) : Mo("", !0);
81935
81936
  }
81936
81937
  }, cHe = /* @__PURE__ */ Yi(lHe, [["__scopeId", "data-v-8805cf2e"]]), uHe = {}, dHe = { class: "w-[18px] h-[18px] bg-white rounded-full add-node-btn pointer-events-none" };
81937
81938
  function fHe(o, a) {
81938
81939
  return ct(), rn("div", dHe, a[0] || (a[0] = [
81939
- jt("div", { class: "i-bi:plus-circle text-[18px]" }, null, -1)
81940
+ Wt("div", { class: "i-bi:plus-circle text-[18px]" }, null, -1)
81940
81941
  ]));
81941
81942
  }
81942
81943
  const cU = /* @__PURE__ */ Yi(uHe, [["render", fHe]]);
@@ -82000,29 +82001,29 @@ const uU = () => {
82000
82001
  return (R, B) => {
82001
82002
  var j, W, K, q;
82002
82003
  return ct(), rn(ur, null, [
82003
- jt("div", mHe, [
82004
- jt("div", gHe, [
82005
- jt("div", {
82004
+ Wt("div", mHe, [
82005
+ Wt("div", gHe, [
82006
+ Wt("div", {
82006
82007
  class: "w-[32px] h-[32px] rounded-full flex-center text-white text-[13px] mr-2",
82007
82008
  style: Xl({ "background-color": (j = C.value) != null && j.color ? (W = C.value) == null ? void 0 : W.color : "#409EFF" })
82008
82009
  }, Vs((K = C.value) == null ? void 0 : K.text), 5),
82009
- jt("div", hHe, Vs((q = De(h)) == null ? void 0 : q.data.label), 1)
82010
+ Wt("div", hHe, Vs((q = De(h)) == null ? void 0 : q.data.label), 1)
82010
82011
  ]),
82011
- x.value ? (ct(), rn("div", pHe, Vs(x.value), 1)) : Bo("", !0)
82012
+ x.value ? (ct(), rn("div", pHe, Vs(x.value), 1)) : Mo("", !0)
82012
82013
  ]),
82013
82014
  De(i) === "edit" ? (ct(), rn("div", {
82014
82015
  key: 0,
82015
82016
  class: "node-del-btn",
82016
82017
  onClick: A
82017
82018
  }, B[0] || (B[0] = [
82018
- jt("div", { class: "i-bi:trash cursor-pointer text-[16px]" }, null, -1)
82019
- ]))) : Bo("", !0),
82019
+ Wt("div", { class: "i-bi:trash cursor-pointer text-[16px]" }, null, -1)
82020
+ ]))) : Mo("", !0),
82020
82021
  !De(v) && De(i) === "edit" ? (ct(), ho(De(vp), {
82021
82022
  key: 1,
82022
82023
  type: "target",
82023
82024
  position: De(ps).Top,
82024
82025
  "is-valid-connection": De(m)
82025
- }, null, 8, ["position", "is-valid-connection"])) : Bo("", !0),
82026
+ }, null, 8, ["position", "is-valid-connection"])) : Mo("", !0),
82026
82027
  !De(v) && De(i) === "edit" ? (ct(), ho(De(vp), {
82027
82028
  key: 2,
82028
82029
  type: "source",
@@ -82034,7 +82035,7 @@ const uU = () => {
82034
82035
  fn(cU)
82035
82036
  ]),
82036
82037
  _: 1
82037
- }, 8, ["position", "onClick", "is-valid-connection"])) : Bo("", !0)
82038
+ }, 8, ["position", "onClick", "is-valid-connection"])) : Mo("", !0)
82038
82039
  ], 64);
82039
82040
  };
82040
82041
  }
@@ -82051,9 +82052,9 @@ const uU = () => {
82051
82052
  return (h, v) => {
82052
82053
  var C;
82053
82054
  return ct(), rn(ur, null, [
82054
- jt("div", vHe, [
82055
- jt("div", bHe, Vs((C = De(i)) == null ? void 0 : C.data.label), 1),
82056
- m.value ? (ct(), rn("div", yHe, Vs(m.value), 1)) : Bo("", !0)
82055
+ Wt("div", vHe, [
82056
+ Wt("div", bHe, Vs((C = De(i)) == null ? void 0 : C.data.label), 1),
82057
+ m.value ? (ct(), rn("div", yHe, Vs(m.value), 1)) : Mo("", !0)
82057
82058
  ]),
82058
82059
  De(a) === "edit" ? (ct(), ho(De(vp), {
82059
82060
  key: 0,
@@ -82065,7 +82066,7 @@ const uU = () => {
82065
82066
  fn(cU)
82066
82067
  ]),
82067
82068
  _: 1
82068
- }, 8, ["position", "is-valid-connection"])) : Bo("", !0)
82069
+ }, 8, ["position", "is-valid-connection"])) : Mo("", !0)
82069
82070
  ], 64);
82070
82071
  };
82071
82072
  }
@@ -82082,16 +82083,16 @@ const uU = () => {
82082
82083
  return (h, v) => {
82083
82084
  var C;
82084
82085
  return ct(), rn(ur, null, [
82085
- jt("div", CHe, [
82086
- jt("div", xHe, Vs((C = De(i)) == null ? void 0 : C.data.label), 1),
82087
- u.value ? (ct(), rn("div", SHe, Vs(u.value), 1)) : Bo("", !0)
82086
+ Wt("div", CHe, [
82087
+ Wt("div", xHe, Vs((C = De(i)) == null ? void 0 : C.data.label), 1),
82088
+ u.value ? (ct(), rn("div", SHe, Vs(u.value), 1)) : Mo("", !0)
82088
82089
  ]),
82089
82090
  De(a) === "edit" ? (ct(), ho(De(vp), {
82090
82091
  key: 0,
82091
82092
  type: "target",
82092
82093
  position: De(ps).Top,
82093
82094
  "is-valid-connection": De(m)
82094
- }, null, 8, ["position", "is-valid-connection"])) : Bo("", !0)
82095
+ }, null, 8, ["position", "is-valid-connection"])) : Mo("", !0)
82095
82096
  ], 64);
82096
82097
  };
82097
82098
  }
@@ -82188,8 +82189,8 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82188
82189
  h("onNodeDoubleClick", K);
82189
82190
  };
82190
82191
  return (K, q) => (ct(), rn(ur, null, [
82191
- jt("div", THe, [
82192
- jt("div", kHe, [
82192
+ Wt("div", THe, [
82193
+ Wt("div", kHe, [
82193
82194
  (ct(!0), rn(ur, null, ma(C.value, (Z) => (ct(), rn("div", {
82194
82195
  key: Z == null ? void 0 : Z.id,
82195
82196
  class: qi({ "vue-flow__node-default": !0, selected: Z.selected }),
@@ -82206,19 +82207,19 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82206
82207
  }, null, 8, ["node", "onDelNode"])
82207
82208
  ], 42, AHe))), 128)),
82208
82209
  De(i) === "edit" ? (ct(), rn("div", DHe, [
82209
- jt("div", {
82210
+ Wt("div", {
82210
82211
  class: "i-bi:plus-circle text-[24px] cursor-pointer",
82211
82212
  onClick: D
82212
82213
  })
82213
- ])) : Bo("", !0)
82214
+ ])) : Mo("", !0)
82214
82215
  ]),
82215
- v.value ? (ct(), rn("div", OHe, Vs(v.value), 1)) : Bo("", !0)
82216
+ v.value ? (ct(), rn("div", OHe, Vs(v.value), 1)) : Mo("", !0)
82216
82217
  ]),
82217
82218
  De(i) === "edit" ? (ct(), ho(De(vp), {
82218
82219
  key: 0,
82219
82220
  type: "target",
82220
82221
  position: De(ps).Top
82221
- }, null, 8, ["position"])) : Bo("", !0),
82222
+ }, null, 8, ["position"])) : Mo("", !0),
82222
82223
  De(i) === "edit" ? (ct(), ho(De(vp), {
82223
82224
  key: 1,
82224
82225
  type: "source",
@@ -82229,7 +82230,7 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82229
82230
  fn(cU)
82230
82231
  ]),
82231
82232
  _: 1
82232
- }, 8, ["position", "onClick"])) : Bo("", !0)
82233
+ }, 8, ["position", "onClick"])) : Mo("", !0)
82233
82234
  ], 64));
82234
82235
  }
82235
82236
  }), $He = ["width", "height"], NHe = /* @__PURE__ */ zo({
@@ -82239,7 +82240,7 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82239
82240
  i(u);
82240
82241
  }, { addNode: x } = Ioe(), { isValidConnection: _ } = uU();
82241
82242
  return (A, D) => (ct(), rn(ur, null, [
82242
- jt("div", {
82243
+ Wt("div", {
82243
82244
  class: "w-full flex flex-col condition-box",
82244
82245
  ref_key: "valueRef",
82245
82246
  ref: m
@@ -82252,27 +82253,27 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82252
82253
  preserveAspectRatio: "none",
82253
82254
  class: "bg"
82254
82255
  }, D[0] || (D[0] = [
82255
- jt("polygon", {
82256
+ Wt("polygon", {
82256
82257
  points: "0,50 50,0 100,50 50,100",
82257
82258
  fill: "#fff",
82258
82259
  "stroke-width": "1"
82259
82260
  }, null, -1)
82260
82261
  ]), 8, $He)),
82261
- D[1] || (D[1] = jt("div", { class: "text-center text-[12px] relative z-10 min-h-[40px] flex-center" }, "条件分支", -1))
82262
+ D[1] || (D[1] = Wt("div", { class: "text-center text-[12px] relative z-10 min-h-[40px] flex-center" }, "条件分支", -1))
82262
82263
  ], 512),
82263
82264
  De(a) === "edit" ? (ct(), rn("div", {
82264
82265
  key: 0,
82265
82266
  class: "node-del-btn",
82266
82267
  onClick: C
82267
82268
  }, D[2] || (D[2] = [
82268
- jt("div", { class: "i-bi:trash cursor-pointer text-[16px]" }, null, -1)
82269
- ]))) : Bo("", !0),
82269
+ Wt("div", { class: "i-bi:trash cursor-pointer text-[16px]" }, null, -1)
82270
+ ]))) : Mo("", !0),
82270
82271
  De(a) === "edit" ? (ct(), ho(De(vp), {
82271
82272
  key: 1,
82272
82273
  type: "target",
82273
82274
  position: De(ps).Top,
82274
82275
  "is-valid-connection": De(_)
82275
- }, null, 8, ["position", "is-valid-connection"])) : Bo("", !0),
82276
+ }, null, 8, ["position", "is-valid-connection"])) : Mo("", !0),
82276
82277
  De(a) === "edit" ? (ct(), ho(De(vp), {
82277
82278
  key: 2,
82278
82279
  type: "source",
@@ -82284,7 +82285,7 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82284
82285
  fn(cU, { ref: "ref1" }, null, 512)
82285
82286
  ]),
82286
82287
  _: 1
82287
- }, 8, ["position", "onClick", "is-valid-connection"])) : Bo("", !0)
82288
+ }, 8, ["position", "onClick", "is-valid-connection"])) : Mo("", !0)
82288
82289
  ], 64));
82289
82290
  }
82290
82291
  }), Zme = /* @__PURE__ */ Yi(NHe, [["__scopeId", "data-v-af8943b6"]]), MHe = {
@@ -82330,7 +82331,7 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82330
82331
  var A;
82331
82332
  (A = De(m)) == null || A(De(a));
82332
82333
  })
82333
- }, Vs((_ = h.data) == null ? void 0 : _.text), 37)) : Bo("", !0);
82334
+ }, Vs((_ = h.data) == null ? void 0 : _.text), 37)) : Mo("", !0);
82334
82335
  };
82335
82336
  }
82336
82337
  }, RHe = /* @__PURE__ */ Yi(MHe, [["__scopeId", "data-v-6fb9a300"]]), IHe = "rgb(177, 177, 183)", PHe = "#409EFF", BHe = {
@@ -82398,7 +82399,7 @@ const THe = { class: "w-full flex flex-col" }, kHe = { class: "grid grid-cols-2
82398
82399
  }, null, 8, ["id", "style", "path", "marker-end", "label", "label-x", "label-y"]),
82399
82400
  fn(De(dBe), null, {
82400
82401
  default: Sn(() => [
82401
- jt("div", {
82402
+ Wt("div", {
82402
82403
  style: Xl({
82403
82404
  pointerEvents: "all",
82404
82405
  position: "absolute",
@@ -84333,7 +84334,7 @@ const $ne = [
84333
84334
  rows: 2,
84334
84335
  type: "textarea"
84335
84336
  }, null, 8, ["modelValue"]),
84336
- _[3] || (_[3] = jt("div", null, "每行一个选择项,显示顺序从上至下", -1)),
84337
+ _[3] || (_[3] = Wt("div", null, "每行一个选择项,显示顺序从上至下", -1)),
84337
84338
  fn(De(MVe), {
84338
84339
  handle: ".handle",
84339
84340
  target: "tbody",
@@ -84355,8 +84356,8 @@ const $ne = [
84355
84356
  align: "center"
84356
84357
  }, {
84357
84358
  default: Sn(({ row: A }) => [
84358
- jt("div", RVe, [
84359
- _[2] || (_[2] = jt("div", { class: "i-bi:list-ul text-[16px] cursor-pointer handle" }, null, -1)),
84359
+ Wt("div", RVe, [
84360
+ _[2] || (_[2] = Wt("div", { class: "i-bi:list-ul text-[16px] cursor-pointer handle" }, null, -1)),
84360
84361
  Gs(" " + Vs(A == null ? void 0 : A.sort), 1)
84361
84362
  ])
84362
84363
  ]),
@@ -84387,7 +84388,7 @@ const $ne = [
84387
84388
  align: "center"
84388
84389
  }, {
84389
84390
  default: Sn(({ row: A }) => [
84390
- jt("div", IVe, [
84391
+ Wt("div", IVe, [
84391
84392
  fn(De(hp), {
84392
84393
  size: 18,
84393
84394
  class: "cursor-pointer",
@@ -84666,7 +84667,7 @@ const $ne = [
84666
84667
  class: "radio-grid"
84667
84668
  }, {
84668
84669
  default: Sn(() => [
84669
- jt("div", FVe, [
84670
+ Wt("div", FVe, [
84670
84671
  (ct(!0), rn(ur, null, ma(De(mV), (C) => (ct(), ho(De(XC), {
84671
84672
  value: C == null ? void 0 : C.value,
84672
84673
  class: "radio-item",
@@ -84690,7 +84691,7 @@ const $ne = [
84690
84691
  ]),
84691
84692
  _: 1
84692
84693
  }, 8, ["modelValue"]),
84693
- m.value ? Bo("", !0) : (ct(), rn("div", LVe, [
84694
+ m.value ? Mo("", !0) : (ct(), rn("div", LVe, [
84694
84695
  fn(De(dh), {
84695
84696
  placeholder: "请输入内容",
84696
84697
  modelValue: u.value["true-value"],
@@ -84871,27 +84872,27 @@ const $ne = [
84871
84872
  h(x) || (u.value = u.value.filter((_) => _ !== (x == null ? void 0 : x.id)));
84872
84873
  };
84873
84874
  return (x, _) => (ct(), rn("div", WVe, [
84874
- jt("div", ZVe, [
84875
- jt("div", GVe, [
84875
+ Wt("div", ZVe, [
84876
+ Wt("div", GVe, [
84876
84877
  _[0] || (_[0] = Gs(" 已选择 ")),
84877
- jt("span", qVe, Vs(u.value.length), 1)
84878
+ Wt("span", qVe, Vs(u.value.length), 1)
84878
84879
  ]),
84879
- jt("div", {
84880
+ Wt("div", {
84880
84881
  class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
84881
84882
  onClick: v
84882
84883
  }, _[1] || (_[1] = [
84883
- jt("div", { class: "i-bi:eraser" }, null, -1),
84884
+ Wt("div", { class: "i-bi:eraser" }, null, -1),
84884
84885
  Gs(" 清空 ")
84885
84886
  ]))
84886
84887
  ]),
84887
- jt("div", YVe, [
84888
- jt("div", KVe, [
84888
+ Wt("div", YVe, [
84889
+ Wt("div", KVe, [
84889
84890
  (ct(!0), rn(ur, null, ma(De(m), (A) => (ct(), rn("div", {
84890
84891
  key: A == null ? void 0 : A.id,
84891
84892
  class: qi(["flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group", { "opacity-50": h(A) }])
84892
84893
  }, [
84893
- jt("div", XVe, Vs(A == null ? void 0 : A.name), 1),
84894
- h(A) ? Bo("", !0) : (ct(), ho(De(hp), {
84894
+ Wt("div", XVe, Vs(A == null ? void 0 : A.name), 1),
84895
+ h(A) ? Mo("", !0) : (ct(), ho(De(hp), {
84895
84896
  key: 0,
84896
84897
  onClick: (D) => C(A),
84897
84898
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -84998,7 +84999,7 @@ const $ne = [
84998
84999
  return (W, K) => {
84999
85000
  var q;
85000
85001
  return ct(), rn("div", eze, [
85001
- jt("div", tze, [
85002
+ Wt("div", tze, [
85002
85003
  fn(De(rx), {
85003
85004
  inline: !0,
85004
85005
  model: m.value,
@@ -85028,9 +85029,9 @@ const $ne = [
85028
85029
  "onUpdate:modelValue": K[2] || (K[2] = (Z) => R.value = Z),
85029
85030
  label: "全选",
85030
85031
  size: "large"
85031
- }, null, 8, ["modelValue"])) : Bo("", !0)
85032
+ }, null, 8, ["modelValue"])) : Mo("", !0)
85032
85033
  ]),
85033
- jt("div", nze, [
85034
+ Wt("div", nze, [
85034
85035
  fn(De(mce), {
85035
85036
  class: "tree-picker",
85036
85037
  ref_key: "treeRef",
@@ -85052,7 +85053,7 @@ const $ne = [
85052
85053
  default: Sn(({ node: Z, data: H }) => {
85053
85054
  var ue, tt;
85054
85055
  return [
85055
- jt("div", {
85056
+ Wt("div", {
85056
85057
  class: qi(["flex items-center gap-2", { "opacity-50": H == null ? void 0 : H.disabled }])
85057
85058
  }, [
85058
85059
  !De(i) && (H == null ? void 0 : H.type) === "user" ? (ct(), ho(De(XC), {
@@ -85062,14 +85063,14 @@ const $ne = [
85062
85063
  disabled: H == null ? void 0 : H.disabled,
85063
85064
  size: "large",
85064
85065
  class: "mr-0"
85065
- }, null, 8, ["model-value", "value", "disabled"])) : Bo("", !0),
85066
+ }, null, 8, ["model-value", "value", "disabled"])) : Mo("", !0),
85066
85067
  (H == null ? void 0 : H.type) === "user" ? (ct(), ho(De(KC), {
85067
85068
  key: 1,
85068
85069
  src: (H == null ? void 0 : H.face) || "",
85069
85070
  class: "face-img"
85070
85071
  }, {
85071
85072
  error: Sn(() => [
85072
- jt("div", oze, [
85073
+ Wt("div", oze, [
85073
85074
  fn(De(hp), { size: "14" }, {
85074
85075
  default: Sn(() => [
85075
85076
  fn(De(FR), { color: "#fff" })
@@ -85087,13 +85088,13 @@ const $ne = [
85087
85088
  error: Sn(() => {
85088
85089
  var we;
85089
85090
  return [
85090
- jt("div", sze, Vs(((we = H == null ? void 0 : H.name) == null ? void 0 : we.charAt(0)) || ""), 1)
85091
+ Wt("div", sze, Vs(((we = H == null ? void 0 : H.name) == null ? void 0 : we.charAt(0)) || ""), 1)
85091
85092
  ];
85092
85093
  }),
85093
85094
  _: 2
85094
85095
  }, 1032, ["src"])),
85095
- jt("span", null, Vs(Z.label), 1),
85096
- (H == null ? void 0 : H.type) === "group" ? (ct(), rn("span", rze, " (" + Vs((tt = H == null ? void 0 : H.children) == null ? void 0 : tt.length) + ") ", 1)) : Bo("", !0)
85096
+ Wt("span", null, Vs(Z.label), 1),
85097
+ (H == null ? void 0 : H.type) === "group" ? (ct(), rn("span", rze, " (" + Vs((tt = H == null ? void 0 : H.children) == null ? void 0 : tt.length) + ") ", 1)) : Mo("", !0)
85097
85098
  ], 2)
85098
85099
  ];
85099
85100
  }),
@@ -85142,7 +85143,7 @@ const $ne = [
85142
85143
  h.value = [D == null ? void 0 : D.id];
85143
85144
  };
85144
85145
  return (D, R) => (ct(), rn("div", lze, [
85145
- jt("div", cze, [
85146
+ Wt("div", cze, [
85146
85147
  fn(De(rx), {
85147
85148
  inline: !0,
85148
85149
  model: m.value,
@@ -85172,9 +85173,9 @@ const $ne = [
85172
85173
  "onUpdate:modelValue": R[2] || (R[2] = (B) => _.value = B),
85173
85174
  label: "全选",
85174
85175
  size: "large"
85175
- }, null, 8, ["modelValue"])) : Bo("", !0)
85176
+ }, null, 8, ["modelValue"])) : Mo("", !0)
85176
85177
  ]),
85177
- jt("div", {
85178
+ Wt("div", {
85178
85179
  class: qi(["flex-grow h-1 overflow-auto", { "mt-2": !De(i) }])
85179
85180
  }, [
85180
85181
  (ct(!0), rn(ur, null, ma(De(v), (B, j) => {
@@ -85184,7 +85185,7 @@ const $ne = [
85184
85185
  key: j,
85185
85186
  onClick: (q) => A(B)
85186
85187
  }, [
85187
- jt("div", dze, [
85188
+ Wt("div", dze, [
85188
85189
  De(i) ? (ct(), ho(De(Ky), {
85189
85190
  key: 0,
85190
85191
  "model-value": (W = h.value) == null ? void 0 : W.includes(B == null ? void 0 : B.id),
@@ -85203,7 +85204,7 @@ const $ne = [
85203
85204
  class: "face-img"
85204
85205
  }, {
85205
85206
  error: Sn(() => [
85206
- jt("div", fze, [
85207
+ Wt("div", fze, [
85207
85208
  fn(De(hp), { size: "16" }, {
85208
85209
  default: Sn(() => [
85209
85210
  fn(De(FR), { color: "#fff" })
@@ -85214,7 +85215,7 @@ const $ne = [
85214
85215
  ]),
85215
85216
  _: 2
85216
85217
  }, 1032, ["src"]),
85217
- jt("div", null, Vs(B == null ? void 0 : B.name), 1)
85218
+ Wt("div", null, Vs(B == null ? void 0 : B.name), 1)
85218
85219
  ])
85219
85220
  ], 10, uze);
85220
85221
  }), 128))
@@ -85349,7 +85350,7 @@ const $ne = [
85349
85350
  !i && (q == null ? void 0 : q.type) === "user" && !(q != null && q.disabled) && (h.value = [q == null ? void 0 : q.originalId]);
85350
85351
  };
85351
85352
  return (q, Z) => (ct(), rn("div", pze, [
85352
- jt("div", vze, [
85353
+ Wt("div", vze, [
85353
85354
  fn(De(rx), {
85354
85355
  inline: !0,
85355
85356
  model: m.value,
@@ -85379,9 +85380,9 @@ const $ne = [
85379
85380
  "onUpdate:modelValue": Z[2] || (Z[2] = (H) => j.value = H),
85380
85381
  label: "全选",
85381
85382
  size: "large"
85382
- }, null, 8, ["modelValue"])) : Bo("", !0)
85383
+ }, null, 8, ["modelValue"])) : Mo("", !0)
85383
85384
  ]),
85384
- jt("div", bze, [
85385
+ Wt("div", bze, [
85385
85386
  fn(De(mce), {
85386
85387
  class: "tree-picker",
85387
85388
  ref_key: "treeRef",
@@ -85403,7 +85404,7 @@ const $ne = [
85403
85404
  default: Sn(({ node: H, data: ue }) => {
85404
85405
  var tt, we;
85405
85406
  return [
85406
- jt("div", {
85407
+ Wt("div", {
85407
85408
  class: qi(["flex items-center gap-2", { "opacity-50": ue == null ? void 0 : ue.disabled }])
85408
85409
  }, [
85409
85410
  !De(i) && (ue == null ? void 0 : ue.type) === "user" ? (ct(), ho(De(XC), {
@@ -85413,14 +85414,14 @@ const $ne = [
85413
85414
  value: ue == null ? void 0 : ue.originalId,
85414
85415
  disabled: ue == null ? void 0 : ue.disabled,
85415
85416
  size: "large"
85416
- }, null, 8, ["model-value", "value", "disabled"])) : Bo("", !0),
85417
+ }, null, 8, ["model-value", "value", "disabled"])) : Mo("", !0),
85417
85418
  (ue == null ? void 0 : ue.type) === "user" ? (ct(), ho(De(KC), {
85418
85419
  key: 1,
85419
85420
  src: (ue == null ? void 0 : ue.face) || "",
85420
85421
  class: "face-img"
85421
85422
  }, {
85422
85423
  error: Sn(() => [
85423
- jt("div", yze, [
85424
+ Wt("div", yze, [
85424
85425
  fn(De(hp), { size: "14" }, {
85425
85426
  default: Sn(() => [
85426
85427
  fn(De(FR), { color: "#fff" })
@@ -85438,13 +85439,13 @@ const $ne = [
85438
85439
  error: Sn(() => {
85439
85440
  var te;
85440
85441
  return [
85441
- jt("div", wze, Vs(((te = ue == null ? void 0 : ue.name) == null ? void 0 : te.charAt(0)) || ""), 1)
85442
+ Wt("div", wze, Vs(((te = ue == null ? void 0 : ue.name) == null ? void 0 : te.charAt(0)) || ""), 1)
85442
85443
  ];
85443
85444
  }),
85444
85445
  _: 2
85445
85446
  }, 1032, ["src"])),
85446
- jt("span", null, Vs(H.label), 1),
85447
- (ue == null ? void 0 : ue.type) === "role" ? (ct(), rn("span", Cze, " (" + Vs((we = ue == null ? void 0 : ue.children) == null ? void 0 : we.length) + ") ", 1)) : Bo("", !0)
85447
+ Wt("span", null, Vs(H.label), 1),
85448
+ (ue == null ? void 0 : ue.type) === "role" ? (ct(), rn("span", Cze, " (" + Vs((we = ue == null ? void 0 : ue.children) == null ? void 0 : we.length) + ") ", 1)) : Mo("", !0)
85448
85449
  ], 2)
85449
85450
  ];
85450
85451
  }),
@@ -85500,9 +85501,9 @@ const $ne = [
85500
85501
  "onUpdate:modelValue": C[5] || (C[5] = (x) => m.value = x)
85501
85502
  }, a), {
85502
85503
  default: Sn(() => [
85503
- jt("div", _ze, [
85504
- jt("div", Eze, [
85505
- jt("div", Tze, [
85504
+ Wt("div", _ze, [
85505
+ Wt("div", Eze, [
85506
+ Wt("div", Tze, [
85506
85507
  fn(JVe, {
85507
85508
  modelValue: m.value,
85508
85509
  "onUpdate:modelValue": C[0] || (C[0] = (x) => m.value = x),
@@ -85510,8 +85511,8 @@ const $ne = [
85510
85511
  }, null, 8, ["modelValue", "multiple"])
85511
85512
  ])
85512
85513
  ]),
85513
- jt("div", kze, [
85514
- jt("div", Aze, [
85514
+ Wt("div", kze, [
85515
+ Wt("div", Aze, [
85515
85516
  fn(De(uce), {
85516
85517
  modelValue: h.value,
85517
85518
  "onUpdate:modelValue": C[1] || (C[1] = (x) => h.value = x)
@@ -85525,28 +85526,28 @@ const $ne = [
85525
85526
  ]),
85526
85527
  _: 1
85527
85528
  }, 8, ["modelValue"]),
85528
- jt("div", Dze, [
85529
+ Wt("div", Dze, [
85529
85530
  h.value === "department" ? (ct(), ho(ize, {
85530
85531
  key: 0,
85531
85532
  modelValue: m.value,
85532
85533
  "onUpdate:modelValue": C[2] || (C[2] = (x) => m.value = x),
85533
85534
  ref: "groupRef",
85534
85535
  multiple: De(i)
85535
- }, null, 8, ["modelValue", "multiple"])) : Bo("", !0),
85536
+ }, null, 8, ["modelValue", "multiple"])) : Mo("", !0),
85536
85537
  h.value === "role" ? (ct(), ho(Sze, {
85537
85538
  key: 1,
85538
85539
  modelValue: m.value,
85539
85540
  "onUpdate:modelValue": C[3] || (C[3] = (x) => m.value = x),
85540
85541
  ref: "roleRef",
85541
85542
  multiple: De(i)
85542
- }, null, 8, ["modelValue", "multiple"])) : Bo("", !0),
85543
+ }, null, 8, ["modelValue", "multiple"])) : Mo("", !0),
85543
85544
  h.value === "people" ? (ct(), ho(gze, {
85544
85545
  key: 2,
85545
85546
  modelValue: m.value,
85546
85547
  "onUpdate:modelValue": C[4] || (C[4] = (x) => m.value = x),
85547
85548
  ref: "userRef",
85548
85549
  multiple: De(i)
85549
- }, null, 8, ["modelValue", "multiple"])) : Bo("", !0)
85550
+ }, null, 8, ["modelValue", "multiple"])) : Mo("", !0)
85550
85551
  ])
85551
85552
  ])
85552
85553
  ])
@@ -85577,9 +85578,9 @@ const $ne = [
85577
85578
  "destroy-on-close": !0
85578
85579
  }, {
85579
85580
  footer: Sn(() => [
85580
- jt("div", Oze, [
85581
- _[5] || (_[5] = jt("div", null, null, -1)),
85582
- jt("div", null, [
85581
+ Wt("div", Oze, [
85582
+ _[5] || (_[5] = Wt("div", null, null, -1)),
85583
+ Wt("div", null, [
85583
85584
  fn(De(ju), {
85584
85585
  onClick: _[1] || (_[1] = (A) => u.value = !1)
85585
85586
  }, {
@@ -85644,10 +85645,10 @@ const $ne = [
85644
85645
  Gs(Vs(m(u == null ? void 0 : u.value)) + " ", 1),
85645
85646
  ((C = u == null ? void 0 : u.value) == null ? void 0 : C.length) >= (u == null ? void 0 : u.showCount) + 1 && (u != null && u.isAbbr) ? (ct(), rn("div", Nze, [
85646
85647
  v[1] || (v[1] = Gs(" 等 ")),
85647
- jt("span", Mze, Vs((x = u == null ? void 0 : u.value) == null ? void 0 : x.length), 1),
85648
+ Wt("span", Mze, Vs((x = u == null ? void 0 : u.value) == null ? void 0 : x.length), 1),
85648
85649
  v[2] || (v[2] = Gs(" 人 "))
85649
- ])) : Bo("", !0),
85650
- u.disabled ? Bo("", !0) : (ct(), ho(De(ju), {
85650
+ ])) : Mo("", !0),
85651
+ u.disabled ? Mo("", !0) : (ct(), ho(De(ju), {
85651
85652
  key: 1,
85652
85653
  size: "small",
85653
85654
  class: qi(["align-middle", {
@@ -86040,26 +86041,26 @@ const $ne = [
86040
86041
  a.value = a.value.filter((v) => v !== (h == null ? void 0 : h.id));
86041
86042
  };
86042
86043
  return (h, v) => (ct(), rn("div", Wze, [
86043
- jt("div", Zze, [
86044
- jt("div", Gze, [
86044
+ Wt("div", Zze, [
86045
+ Wt("div", Gze, [
86045
86046
  v[0] || (v[0] = Gs(" 已选择 ")),
86046
- jt("span", qze, Vs(a.value.length), 1)
86047
+ Wt("span", qze, Vs(a.value.length), 1)
86047
86048
  ]),
86048
- jt("div", {
86049
+ Wt("div", {
86049
86050
  class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
86050
86051
  onClick: u
86051
86052
  }, v[1] || (v[1] = [
86052
- jt("div", { class: "i-bi:eraser" }, null, -1),
86053
+ Wt("div", { class: "i-bi:eraser" }, null, -1),
86053
86054
  Gs(" 清空 ")
86054
86055
  ]))
86055
86056
  ]),
86056
- jt("div", Yze, [
86057
- jt("div", Kze, [
86057
+ Wt("div", Yze, [
86058
+ Wt("div", Kze, [
86058
86059
  (ct(!0), rn(ur, null, ma(De(i), (C) => (ct(), rn("div", {
86059
86060
  key: C == null ? void 0 : C.id,
86060
86061
  class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
86061
86062
  }, [
86062
- jt("div", Xze, Vs(C == null ? void 0 : C.name), 1),
86063
+ Wt("div", Xze, Vs(C == null ? void 0 : C.name), 1),
86063
86064
  fn(De(hp), {
86064
86065
  onClick: (x) => m(C),
86065
86066
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -86111,7 +86112,7 @@ const $ne = [
86111
86112
  _ != null && _.id && (i.value ? (A = m.value) != null && A.includes(_ == null ? void 0 : _.id) ? m.value = (D = m.value) == null ? void 0 : D.filter((B) => B !== (_ == null ? void 0 : _.id)) : (R = m.value) == null || R.push(_ == null ? void 0 : _.id) : m.value = [_ == null ? void 0 : _.id]);
86112
86113
  };
86113
86114
  return (_, A) => (ct(), rn("div", Qze, [
86114
- jt("div", eUe, [
86115
+ Wt("div", eUe, [
86115
86116
  fn(De(rx), {
86116
86117
  inline: !0,
86117
86118
  model: u.value,
@@ -86141,9 +86142,9 @@ const $ne = [
86141
86142
  "onUpdate:modelValue": A[2] || (A[2] = (D) => C.value = D),
86142
86143
  label: "全选",
86143
86144
  size: "large"
86144
- }, null, 8, ["modelValue"])) : Bo("", !0)
86145
+ }, null, 8, ["modelValue"])) : Mo("", !0)
86145
86146
  ]),
86146
- jt("div", {
86147
+ Wt("div", {
86147
86148
  class: qi(["flex-grow h-1 overflow-auto", { "mt-2": !De(i) }])
86148
86149
  }, [
86149
86150
  (ct(!0), rn(ur, null, ma(De(h), (D, R) => {
@@ -86153,7 +86154,7 @@ const $ne = [
86153
86154
  key: R,
86154
86155
  onClick: (W) => x(D)
86155
86156
  }, [
86156
- jt("div", nUe, [
86157
+ Wt("div", nUe, [
86157
86158
  De(i) ? (ct(), ho(De(Ky), {
86158
86159
  key: 0,
86159
86160
  "model-value": (B = m.value) == null ? void 0 : B.includes(D == null ? void 0 : D.id),
@@ -86170,7 +86171,7 @@ const $ne = [
86170
86171
  class: "face-img"
86171
86172
  }, {
86172
86173
  error: Sn(() => [
86173
- jt("div", oUe, [
86174
+ Wt("div", oUe, [
86174
86175
  fn(De(hp), { size: "16" }, {
86175
86176
  default: Sn(() => [
86176
86177
  fn(De(FR), { color: "#fff" })
@@ -86181,7 +86182,7 @@ const $ne = [
86181
86182
  ]),
86182
86183
  _: 2
86183
86184
  }, 1032, ["src"]),
86184
- jt("div", null, Vs(D == null ? void 0 : D.name), 1)
86185
+ Wt("div", null, Vs(D == null ? void 0 : D.name), 1)
86185
86186
  ])
86186
86187
  ], 8, tUe);
86187
86188
  }), 128))
@@ -86210,9 +86211,9 @@ const $ne = [
86210
86211
  "destroy-on-close": !0
86211
86212
  }, {
86212
86213
  footer: Sn(() => [
86213
- jt("div", fUe, [
86214
- _[6] || (_[6] = jt("div", null, null, -1)),
86215
- jt("div", null, [
86214
+ Wt("div", fUe, [
86215
+ _[6] || (_[6] = Wt("div", null, null, -1)),
86216
+ Wt("div", null, [
86216
86217
  fn(De(ju), {
86217
86218
  onClick: _[2] || (_[2] = (A) => i.value = !1)
86218
86219
  }, {
@@ -86234,9 +86235,9 @@ const $ne = [
86234
86235
  ])
86235
86236
  ]),
86236
86237
  default: Sn(() => [
86237
- jt("div", aUe, [
86238
- jt("div", iUe, [
86239
- jt("div", lUe, [
86238
+ Wt("div", aUe, [
86239
+ Wt("div", iUe, [
86240
+ Wt("div", lUe, [
86240
86241
  fn(Jze, {
86241
86242
  modelValue: h.value,
86242
86243
  "onUpdate:modelValue": _[0] || (_[0] = (A) => h.value = A),
@@ -86244,9 +86245,9 @@ const $ne = [
86244
86245
  }, null, 8, ["modelValue", "multiple"])
86245
86246
  ])
86246
86247
  ]),
86247
- jt("div", cUe, [
86248
- jt("div", uUe, [
86249
- jt("div", dUe, [
86248
+ Wt("div", cUe, [
86249
+ Wt("div", uUe, [
86250
+ Wt("div", dUe, [
86250
86251
  fn(rUe, {
86251
86252
  modelValue: h.value,
86252
86253
  "onUpdate:modelValue": _[1] || (_[1] = (A) => h.value = A),
@@ -86292,9 +86293,9 @@ const $ne = [
86292
86293
  Gs(Vs(h(m.value)) + " ", 1),
86293
86294
  ((x = m.value) == null ? void 0 : x.length) >= (u == null ? void 0 : u.showCount) + 1 && (u != null && u.isAbbr) ? (ct(), rn("div", gUe, [
86294
86295
  C[1] || (C[1] = Gs(" 等 ")),
86295
- jt("span", hUe, Vs((_ = m.value) == null ? void 0 : _.length), 1),
86296
+ Wt("span", hUe, Vs((_ = m.value) == null ? void 0 : _.length), 1),
86296
86297
  C[2] || (C[2] = Gs(" 部门 "))
86297
- ])) : Bo("", !0),
86298
+ ])) : Mo("", !0),
86298
86299
  fn(De(ju), {
86299
86300
  size: "small",
86300
86301
  class: qi(["align-middle", {
@@ -86679,26 +86680,26 @@ const $ne = [
86679
86680
  a.value = a.value.filter((v) => v !== (h == null ? void 0 : h.id));
86680
86681
  };
86681
86682
  return (h, v) => (ct(), rn("div", kUe, [
86682
- jt("div", AUe, [
86683
- jt("div", DUe, [
86683
+ Wt("div", AUe, [
86684
+ Wt("div", DUe, [
86684
86685
  v[0] || (v[0] = Gs(" 已选择 ")),
86685
- jt("span", OUe, Vs(a.value.length), 1)
86686
+ Wt("span", OUe, Vs(a.value.length), 1)
86686
86687
  ]),
86687
- jt("div", {
86688
+ Wt("div", {
86688
86689
  class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
86689
86690
  onClick: u
86690
86691
  }, v[1] || (v[1] = [
86691
- jt("div", { class: "i-bi:eraser" }, null, -1),
86692
+ Wt("div", { class: "i-bi:eraser" }, null, -1),
86692
86693
  Gs(" 清空 ")
86693
86694
  ]))
86694
86695
  ]),
86695
- jt("div", $Ue, [
86696
- jt("div", NUe, [
86696
+ Wt("div", $Ue, [
86697
+ Wt("div", NUe, [
86697
86698
  (ct(!0), rn(ur, null, ma(De(i), (C) => (ct(), rn("div", {
86698
86699
  key: C == null ? void 0 : C.id,
86699
86700
  class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
86700
86701
  }, [
86701
- jt("div", MUe, Vs(C == null ? void 0 : C.name), 1),
86702
+ Wt("div", MUe, Vs(C == null ? void 0 : C.name), 1),
86702
86703
  fn(De(hp), {
86703
86704
  onClick: (x) => m(C),
86704
86705
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -86750,7 +86751,7 @@ const $ne = [
86750
86751
  _ != null && _.id && (i.value ? (A = m.value) != null && A.includes(_ == null ? void 0 : _.id) ? m.value = (D = m.value) == null ? void 0 : D.filter((B) => B !== (_ == null ? void 0 : _.id)) : (R = m.value) == null || R.push(_ == null ? void 0 : _.id) : m.value = [_ == null ? void 0 : _.id]);
86751
86752
  };
86752
86753
  return (_, A) => (ct(), rn("div", IUe, [
86753
- jt("div", PUe, [
86754
+ Wt("div", PUe, [
86754
86755
  fn(De(rx), {
86755
86756
  inline: !0,
86756
86757
  model: u.value,
@@ -86780,9 +86781,9 @@ const $ne = [
86780
86781
  "onUpdate:modelValue": A[2] || (A[2] = (D) => C.value = D),
86781
86782
  label: "全选",
86782
86783
  size: "large"
86783
- }, null, 8, ["modelValue"])) : Bo("", !0)
86784
+ }, null, 8, ["modelValue"])) : Mo("", !0)
86784
86785
  ]),
86785
- jt("div", {
86786
+ Wt("div", {
86786
86787
  class: qi(["flex-grow h-1 overflow-auto", { "mt-2": !De(i) }])
86787
86788
  }, [
86788
86789
  (ct(!0), rn(ur, null, ma(De(h), (D, R) => {
@@ -86792,7 +86793,7 @@ const $ne = [
86792
86793
  key: R,
86793
86794
  onClick: (W) => x(D)
86794
86795
  }, [
86795
- jt("div", FUe, [
86796
+ Wt("div", FUe, [
86796
86797
  De(i) ? (ct(), ho(De(Ky), {
86797
86798
  key: 0,
86798
86799
  "model-value": (B = m.value) == null ? void 0 : B.includes(D == null ? void 0 : D.id),
@@ -86809,13 +86810,13 @@ const $ne = [
86809
86810
  class: "face-img"
86810
86811
  }, {
86811
86812
  error: Sn(() => A[3] || (A[3] = [
86812
- jt("div", { class: "img" }, [
86813
- jt("div", { class: "i-bi:person-vcard color-white text-[16px]" })
86813
+ Wt("div", { class: "img" }, [
86814
+ Wt("div", { class: "i-bi:person-vcard color-white text-[16px]" })
86814
86815
  ], -1)
86815
86816
  ])),
86816
86817
  _: 2
86817
86818
  }, 1032, ["src"]),
86818
- jt("div", null, Vs(D == null ? void 0 : D.name), 1)
86819
+ Wt("div", null, Vs(D == null ? void 0 : D.name), 1)
86819
86820
  ])
86820
86821
  ], 8, BUe);
86821
86822
  }), 128))
@@ -86844,9 +86845,9 @@ const $ne = [
86844
86845
  "destroy-on-close": !0
86845
86846
  }, {
86846
86847
  footer: Sn(() => [
86847
- jt("div", GUe, [
86848
- _[6] || (_[6] = jt("div", null, null, -1)),
86849
- jt("div", null, [
86848
+ Wt("div", GUe, [
86849
+ _[6] || (_[6] = Wt("div", null, null, -1)),
86850
+ Wt("div", null, [
86850
86851
  fn(De(ju), {
86851
86852
  onClick: _[2] || (_[2] = (A) => i.value = !1)
86852
86853
  }, {
@@ -86868,9 +86869,9 @@ const $ne = [
86868
86869
  ])
86869
86870
  ]),
86870
86871
  default: Sn(() => [
86871
- jt("div", VUe, [
86872
- jt("div", zUe, [
86873
- jt("div", UUe, [
86872
+ Wt("div", VUe, [
86873
+ Wt("div", zUe, [
86874
+ Wt("div", UUe, [
86874
86875
  fn(RUe, {
86875
86876
  modelValue: h.value,
86876
86877
  "onUpdate:modelValue": _[0] || (_[0] = (A) => h.value = A),
@@ -86878,9 +86879,9 @@ const $ne = [
86878
86879
  }, null, 8, ["modelValue", "multiple"])
86879
86880
  ])
86880
86881
  ]),
86881
- jt("div", jUe, [
86882
- jt("div", WUe, [
86883
- jt("div", ZUe, [
86882
+ Wt("div", jUe, [
86883
+ Wt("div", WUe, [
86884
+ Wt("div", ZUe, [
86884
86885
  fn(HUe, {
86885
86886
  modelValue: h.value,
86886
86887
  "onUpdate:modelValue": _[1] || (_[1] = (A) => h.value = A),
@@ -86921,9 +86922,9 @@ const $ne = [
86921
86922
  Gs(Vs(h(m.value)) + " ", 1),
86922
86923
  ((x = m.value) == null ? void 0 : x.length) >= 3 && (u != null && u.isAbbr) ? (ct(), rn("div", YUe, [
86923
86924
  C[1] || (C[1] = Gs(" 等 ")),
86924
- jt("span", KUe, Vs((_ = m.value) == null ? void 0 : _.length), 1),
86925
+ Wt("span", KUe, Vs((_ = m.value) == null ? void 0 : _.length), 1),
86925
86926
  C[2] || (C[2] = Gs(" 岗位 "))
86926
- ])) : Bo("", !0),
86927
+ ])) : Mo("", !0),
86927
86928
  fn(De(ju), {
86928
86929
  size: "small",
86929
86930
  class: qi(["align-middle", {
@@ -87309,10 +87310,10 @@ const $ne = [
87309
87310
  }) : D;
87310
87311
  });
87311
87312
  return (D, R) => (ct(), rn("div", null, [
87312
- jt("div", aje, [
87313
- jt("div", ije, [
87314
- jt("div", lje, [
87315
- R[4] || (R[4] = jt("div", { class: "color-[#333] font-bold mb-2" }, "选择部门", -1)),
87313
+ Wt("div", aje, [
87314
+ Wt("div", ije, [
87315
+ Wt("div", lje, [
87316
+ R[4] || (R[4] = Wt("div", { class: "color-[#333] font-bold mb-2" }, "选择部门", -1)),
87316
87317
  fn(De(dh), {
87317
87318
  modelValue: C.value,
87318
87319
  "onUpdate:modelValue": R[0] || (R[0] = (B) => C.value = B),
@@ -87322,28 +87323,28 @@ const $ne = [
87322
87323
  class: "w-full"
87323
87324
  }, null, 8, ["modelValue"])
87324
87325
  ]),
87325
- jt("div", cje, [
87326
+ Wt("div", cje, [
87326
87327
  i != null && i.unlimited ? (ct(), rn("div", {
87327
87328
  key: 0,
87328
87329
  class: qi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": u.value.groupId === "0" }]),
87329
87330
  onClick: R[1] || (R[1] = (B) => u.value.groupId = "0")
87330
87331
  }, [
87331
87332
  R[5] || (R[5] = Gs(" 不限 ")),
87332
- u.value.groupId === "0" ? (ct(), rn("div", uje)) : Bo("", !0)
87333
- ], 2)) : Bo("", !0),
87333
+ u.value.groupId === "0" ? (ct(), rn("div", uje)) : Mo("", !0)
87334
+ ], 2)) : Mo("", !0),
87334
87335
  (ct(!0), rn(ur, null, ma(_.value, (B) => (ct(), rn("div", {
87335
87336
  class: qi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (B == null ? void 0 : B.id) === u.value.groupId }]),
87336
87337
  key: B == null ? void 0 : B.id,
87337
87338
  onClick: (j) => u.value.groupId = B == null ? void 0 : B.id
87338
87339
  }, [
87339
87340
  Gs(Vs(B == null ? void 0 : B.name) + " ", 1),
87340
- (B == null ? void 0 : B.id) === u.value.groupId ? (ct(), rn("div", fje)) : Bo("", !0)
87341
+ (B == null ? void 0 : B.id) === u.value.groupId ? (ct(), rn("div", fje)) : Mo("", !0)
87341
87342
  ], 10, dje))), 128))
87342
87343
  ])
87343
87344
  ]),
87344
- jt("div", mje, [
87345
- jt("div", gje, [
87346
- R[6] || (R[6] = jt("div", { class: "color-[#333] font-bold mb-2" }, "选择岗位", -1)),
87345
+ Wt("div", mje, [
87346
+ Wt("div", gje, [
87347
+ R[6] || (R[6] = Wt("div", { class: "color-[#333] font-bold mb-2" }, "选择岗位", -1)),
87347
87348
  fn(De(dh), {
87348
87349
  modelValue: v.value,
87349
87350
  "onUpdate:modelValue": R[2] || (R[2] = (B) => v.value = B),
@@ -87353,29 +87354,29 @@ const $ne = [
87353
87354
  class: "w-full"
87354
87355
  }, null, 8, ["modelValue"])
87355
87356
  ]),
87356
- jt("div", hje, [
87357
+ Wt("div", hje, [
87357
87358
  i != null && i.unlimited ? (ct(), rn("div", {
87358
87359
  key: 0,
87359
87360
  class: qi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": u.value.roleId === "0" }]),
87360
87361
  onClick: R[3] || (R[3] = (B) => u.value.roleId = "0")
87361
87362
  }, [
87362
87363
  R[7] || (R[7] = Gs(" 不限 ")),
87363
- u.value.roleId === "0" ? (ct(), rn("div", pje)) : Bo("", !0)
87364
- ], 2)) : Bo("", !0),
87364
+ u.value.roleId === "0" ? (ct(), rn("div", pje)) : Mo("", !0)
87365
+ ], 2)) : Mo("", !0),
87365
87366
  (ct(!0), rn(ur, null, ma(A.value, (B) => (ct(), rn("div", {
87366
87367
  class: qi(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (B == null ? void 0 : B.id) === u.value.roleId }]),
87367
87368
  key: B == null ? void 0 : B.id,
87368
87369
  onClick: (j) => u.value.roleId = B == null ? void 0 : B.id
87369
87370
  }, [
87370
87371
  Gs(Vs(B == null ? void 0 : B.name) + " ", 1),
87371
- (B == null ? void 0 : B.id) === u.value.roleId ? (ct(), rn("div", bje)) : Bo("", !0)
87372
+ (B == null ? void 0 : B.id) === u.value.roleId ? (ct(), rn("div", bje)) : Mo("", !0)
87372
87373
  ], 10, vje))), 128))
87373
87374
  ])
87374
87375
  ])
87375
87376
  ]),
87376
- jt("div", yje, [
87377
- R[9] || (R[9] = jt("div", null, [
87378
- jt("span", { class: "font-bold" }, "提示:"),
87377
+ Wt("div", yje, [
87378
+ R[9] || (R[9] = Wt("div", null, [
87379
+ Wt("span", { class: "font-bold" }, "提示:"),
87379
87380
  Gs(" 若部门和岗位均选择不限则视为不限制 ")
87380
87381
  ], -1)),
87381
87382
  fn(De(ju), {
@@ -87470,12 +87471,12 @@ const $ne = [
87470
87471
  return (D, R) => {
87471
87472
  var B, j;
87472
87473
  return ct(), rn("div", Sje, [
87473
- jt("div", _je, [
87474
- jt("div", Eje, [
87474
+ Wt("div", _je, [
87475
+ Wt("div", Eje, [
87475
87476
  R[1] || (R[1] = Gs(" 已选择 ")),
87476
- jt("span", Tje, "(" + Vs((B = i.value) == null ? void 0 : B.length) + ")", 1)
87477
+ Wt("span", Tje, "(" + Vs((B = i.value) == null ? void 0 : B.length) + ")", 1)
87477
87478
  ]),
87478
- jt("div", kje, [
87479
+ Wt("div", kje, [
87479
87480
  fn(De(gz), {
87480
87481
  ref_key: "popoverRef",
87481
87482
  ref: h,
@@ -87486,7 +87487,7 @@ const $ne = [
87486
87487
  reference: Sn(() => [
87487
87488
  fn(De(ju), { link: "" }, {
87488
87489
  default: Sn(() => R[2] || (R[2] = [
87489
- jt("div", { class: "i-bi:plus-lg mr-1" }, null, -1),
87490
+ Wt("div", { class: "i-bi:plus-lg mr-1" }, null, -1),
87490
87491
  Gs(" 增加 ")
87491
87492
  ])),
87492
87493
  _: 1
@@ -87507,31 +87508,31 @@ const $ne = [
87507
87508
  onClick: _
87508
87509
  }, {
87509
87510
  default: Sn(() => R[3] || (R[3] = [
87510
- jt("div", { class: "i-bi:eraser mr-1" }, null, -1),
87511
+ Wt("div", { class: "i-bi:eraser mr-1" }, null, -1),
87511
87512
  Gs(" 清空 ")
87512
87513
  ])),
87513
87514
  _: 1
87514
87515
  })
87515
87516
  ])
87516
87517
  ]),
87517
- jt("div", Aje, [
87518
+ Wt("div", Aje, [
87518
87519
  (ct(!0), rn(ur, null, ma(De(v), (W, K) => {
87519
87520
  var q, Z, H, ue;
87520
87521
  return ct(), rn("div", {
87521
87522
  key: K,
87522
87523
  class: "item"
87523
87524
  }, [
87524
- jt("div", Dje, [
87525
- R[4] || (R[4] = jt("div", { class: "i-bi:diagram-2 color-[#D4D7DE]" }, null, -1)),
87525
+ Wt("div", Dje, [
87526
+ R[4] || (R[4] = Wt("div", { class: "i-bi:diagram-2 color-[#D4D7DE]" }, null, -1)),
87526
87527
  Gs(" " + Vs(((q = W == null ? void 0 : W.group) == null ? void 0 : q.id) === "0" && ((Z = W == null ? void 0 : W.role) == null ? void 0 : Z.id) === "0" ? "不限" : `${((H = W == null ? void 0 : W.group) == null ? void 0 : H.name) || ""} - ${((ue = W == null ? void 0 : W.role) == null ? void 0 : ue.name) || ""}`), 1)
87527
87528
  ]),
87528
- jt("div", {
87529
+ Wt("div", {
87529
87530
  class: "i-bi:x-circle-fill color-[#C0C4CC] hover:color-[#409EFF] cursor-pointer",
87530
87531
  onClick: () => x(W)
87531
87532
  }, null, 8, Oje)
87532
87533
  ]);
87533
87534
  }), 128)),
87534
- ((j = De(v)) == null ? void 0 : j.length) > 0 ? Bo("", !0) : (ct(), rn("div", $je, "暂无数据"))
87535
+ ((j = De(v)) == null ? void 0 : j.length) > 0 ? Mo("", !0) : (ct(), rn("div", $je, "暂无数据"))
87535
87536
  ])
87536
87537
  ]);
87537
87538
  };