golden-logic-ui 1.0.311 → 1.0.313

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.
@@ -573,7 +573,7 @@ const Dae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
573
573
  A !== -1 && G.value.splice(A, 1), Ae.value = G.value.map((Vt) => Vt.id), Ee("update:modelValue", Ae.value), Ee("selected", G.value), Ee("selectionChanged", G.value);
574
574
  }
575
575
  function Qn(Ge) {
576
- Ge.target.id != se.field_name + "search" + $t.value && Ge.target.id != se.field_name && !Ge.target.classList.contains("showOptions") && (hn(), Q.value = 0, Pe.value = !1);
576
+ Ge.target.id != se.field_name + "search" + $t.value && Ge.target.id != se.field_name && !Ge.target.classList.contains("showOptions") && (gn(), Q.value = 0, Pe.value = !1);
577
577
  }
578
578
  function oe(Ge) {
579
579
  const A = `${Ge}${$t.value}`, Vt = document.getElementById(A);
@@ -629,7 +629,7 @@ const Dae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
629
629
  });
630
630
  }
631
631
  }
632
- function hn() {
632
+ function gn() {
633
633
  lt.value = "", Ee("selected", G.value);
634
634
  }
635
635
  return Gx(lt, () => {
@@ -713,7 +713,7 @@ const Dae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
713
713
  ref: ge.value,
714
714
  id: `${R.field_name}search${$t.value}`,
715
715
  onKeydown: Gs,
716
- onBlur: A[3] || (A[3] = (Vt) => hn()),
716
+ onBlur: A[3] || (A[3] = (Vt) => gn()),
717
717
  autocomplete: "off",
718
718
  class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
719
719
  placeholder: "Search ..."
@@ -2541,14 +2541,16 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
2541
2541
  emits: ["update:modelValue", "selected", "selectionChanged"],
2542
2542
  setup(R, { emit: de }) {
2543
2543
  const se = R, Ee = de, ge = Vo(null), G = Vo({}), Ae = Vo(0), Q = Vo(!1), Pe = Vo(""), lt = Vo(""), $t = Vo(0), _n = () => {
2544
- const Wt = `myDivDropDown${lt.value}`, hn = document.getElementById(Wt);
2545
- hn && ($t.value = hn.offsetWidth, console.log("divDropDownWidth", hn.value));
2544
+ const Wt = `myDivDropDown${lt.value}`, gn = document.getElementById(Wt);
2545
+ gn && (console.log("divDropDownWidthelement", gn), $t.value = gn.offsetWidth, console.log("divDropDownWidth", gn.offsetWidth));
2546
2546
  }, Gn = () => {
2547
2547
  _n();
2548
2548
  };
2549
2549
  Oh(() => {
2550
2550
  lt.value = pr(), U8(() => {
2551
- _n(), window.addEventListener("resize", Gn);
2551
+ document.addEventListener("DOMContentLoaded", function() {
2552
+ _n();
2553
+ }), window.addEventListener("resize", Gn);
2552
2554
  }), se.show || (document.body.addEventListener("click", (Wt) => {
2553
2555
  me(Wt);
2554
2556
  }), document.addEventListener("keypress", (Wt) => {
@@ -2558,10 +2560,10 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
2558
2560
  window.removeEventListener("resize", Gn);
2559
2561
  });
2560
2562
  const Ro = vc(() => oe()), Gs = vc(() => Nn()), Io = vc(() => {
2561
- const Wt = [], hn = new RegExp(Pe.value, "ig");
2563
+ const Wt = [], gn = new RegExp(Pe.value, "ig");
2562
2564
  for (const Ge of Ro.value) {
2563
2565
  const A = String(Ge.name);
2564
- (Pe.value.length < 1 || A.match(hn)) && Wt.length < se.maxItem && Wt.push(Ge);
2566
+ (Pe.value.length < 1 || A.match(gn)) && Wt.length < se.maxItem && Wt.push(Ge);
2565
2567
  }
2566
2568
  return Wt;
2567
2569
  });
@@ -2595,18 +2597,18 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
2595
2597
  Wt.target.id != se.field_name + "search" + lt.value && Wt.target.id != se.field_name && !Wt.target.classList.contains("showOptions") && (fe(), Ae.value = 0, Q.value = !1);
2596
2598
  }
2597
2599
  function _t(Wt) {
2598
- const hn = `${Wt}${lt.value}`, Ge = document.getElementById(hn);
2600
+ const gn = `${Wt}${lt.value}`, Ge = document.getElementById(gn);
2599
2601
  Ge && Ge.scrollIntoView();
2600
2602
  }
2601
2603
  function Ea(Wt) {
2602
- const hn = `${Wt}${lt.value}`, Ge = document.getElementById(hn);
2604
+ const gn = `${Wt}${lt.value}`, Ge = document.getElementById(gn);
2603
2605
  Ge && Ge.click();
2604
2606
  }
2605
2607
  function Qn(Wt) {
2606
2608
  Wt === "ArrowDown" && Ae.value < Io.value.length && (Ae.value++, _t(Ae.value)), Wt === "ArrowUp" && Ae.value > 1 && (Ae.value--, _t(Ae.value)), Wt === "Enter" && Ea(Ae.value);
2607
2609
  }
2608
2610
  function oe() {
2609
- return se.options.map((Wt, hn) => typeof Wt == "object" ? Wt : { id: Wt, name: Wt });
2611
+ return se.options.map((Wt, gn) => typeof Wt == "object" ? Wt : { id: Wt, name: Wt });
2610
2612
  }
2611
2613
  function Nn() {
2612
2614
  if (un(G.value))
@@ -2649,7 +2651,7 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
2649
2651
  Io.value.length === 0 && (G.value = {});
2650
2652
  }), Gx(G, (Wt) => {
2651
2653
  un(Wt) && Ee("update:modelValue", Wt.id);
2652
- }), (Wt, hn) => {
2654
+ }), (Wt, gn) => {
2653
2655
  var Ge, A;
2654
2656
  return ve(), xe("div", {
2655
2657
  class: an(R.field_name),
@@ -2679,21 +2681,21 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
2679
2681
  "gl-input-form-invalid": R.error_message !== ""
2680
2682
  }, "pl-8 pr-2 showOptions"]),
2681
2683
  ref: R.field_name,
2682
- onClick: hn[0] || (hn[0] = (Vt) => Bn()),
2684
+ onClick: gn[0] || (gn[0] = (Vt) => Bn()),
2683
2685
  value: (A = Gs.value) == null ? void 0 : A.name,
2684
2686
  placeholder: R.placeholder,
2685
2687
  autocomplete: "off",
2686
2688
  readonly: ""
2687
2689
  }, null, 10, cQ),
2688
2690
  Qa(P("i", {
2689
- onClick: hn[1] || (hn[1] = oc((Vt) => je(), ["stop"])),
2691
+ onClick: gn[1] || (gn[1] = oc((Vt) => je(), ["stop"])),
2690
2692
  class: "absolute text-gray-500 cursor-pointer fas fa-times right-7 hover:text-gray-700 dark:hover:text-gray-800",
2691
2693
  style: { top: "13px" }
2692
2694
  }, null, 512), [
2693
2695
  [n5, un(Gs.value) && R.has_cancel]
2694
2696
  ]),
2695
2697
  P("i", {
2696
- onClick: hn[2] || (hn[2] = (Vt) => Bn()),
2698
+ onClick: gn[2] || (gn[2] = (Vt) => Bn()),
2697
2699
  class: an([Q.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
2698
2700
  style: { top: "11px" }
2699
2701
  }, null, 2),
@@ -2707,11 +2709,11 @@ const zae = /* @__PURE__ */ Jr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
2707
2709
  mQ,
2708
2710
  Qa(P("input", {
2709
2711
  type: "search",
2710
- "onUpdate:modelValue": hn[3] || (hn[3] = (Vt) => Pe.value = Vt),
2712
+ "onUpdate:modelValue": gn[3] || (gn[3] = (Vt) => Pe.value = Vt),
2711
2713
  ref: ge.value,
2712
2714
  id: `${R.field_name}search${lt.value}`,
2713
2715
  onKeydown: Pt,
2714
- onBlur: hn[4] || (hn[4] = (Vt) => fe()),
2716
+ onBlur: gn[4] || (gn[4] = (Vt) => fe()),
2715
2717
  autocomplete: "off",
2716
2718
  class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
2717
2719
  placeholder: "Search ..."
@@ -2927,7 +2929,7 @@ var oq = { exports: {} };
2927
2929
  }, Gs = (e) => {
2928
2930
  const n = typeof e;
2929
2931
  return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && Ro(e, String, (o, r) => r.isPrototypeOf(o)) ? "string" : n;
2930
- }, Io = (e) => (n) => Gs(n) === e, Pt = (e) => (n) => typeof n === e, pr = (e) => (n) => e === n, un = (e, n) => _t(e) && Ro(e, n, (o, r) => Gn(o) === r), me = Io("string"), _t = Io("object"), Ea = (e) => un(e, Object), Qn = Io("array"), oe = pr(null), Nn = Pt("boolean"), os = pr(void 0), Bn = (e) => e == null, je = (e) => !Bn(e), fe = Pt("function"), Wt = Pt("number"), hn = (e, n) => {
2932
+ }, Io = (e) => (n) => Gs(n) === e, Pt = (e) => (n) => typeof n === e, pr = (e) => (n) => e === n, un = (e, n) => _t(e) && Ro(e, n, (o, r) => Gn(o) === r), me = Io("string"), _t = Io("object"), Ea = (e) => un(e, Object), Qn = Io("array"), oe = pr(null), Nn = Pt("boolean"), os = pr(void 0), Bn = (e) => e == null, je = (e) => !Bn(e), fe = Pt("function"), Wt = Pt("number"), gn = (e, n) => {
2931
2933
  if (Qn(e)) {
2932
2934
  for (let o = 0, r = e.length; o < r; ++o)
2933
2935
  if (!n(e[o]))
@@ -3160,7 +3162,7 @@ var oq = { exports: {} };
3160
3162
  return bt(e, (r, l) => {
3161
3163
  o.push(n(r, l));
3162
3164
  }), o;
3163
- }, bl = (e) => tl(e, Ao), Yo = (e, n) => gn(e, n) ? z.from(e[n]) : z.none(), gn = (e, n) => Gi.call(e, n), Ar = (e, n) => gn(e, n) && e[n] !== void 0 && e[n] !== null, Nl = (e, n, o = _n) => $t(o).eq(e, n), Hc = (e) => {
3165
+ }, bl = (e) => tl(e, Ao), Yo = (e, n) => hn(e, n) ? z.from(e[n]) : z.none(), hn = (e, n) => Gi.call(e, n), Ar = (e, n) => hn(e, n) && e[n] !== void 0 && e[n] !== null, Nl = (e, n, o = _n) => $t(o).eq(e, n), Hc = (e) => {
3164
3166
  const n = {};
3165
3167
  return _e(e, (o) => {
3166
3168
  n[o] = {};
@@ -3183,7 +3185,7 @@ var oq = { exports: {} };
3183
3185
  return !1;
3184
3186
  } else
3185
3187
  for (const r in e)
3186
- if (gn(e, r) && n.call(o, e[r], r, e) === !1)
3188
+ if (hn(e, r) && n.call(o, e[r], r, e) === !1)
3187
3189
  return !1;
3188
3190
  return !0;
3189
3191
  }, vl = (e, n) => {
@@ -3481,11 +3483,11 @@ var oq = { exports: {} };
3481
3483
  for (; l--; )
3482
3484
  o[r[l]] = {};
3483
3485
  return o;
3484
- }, re = gn, Le = (e, ...n) => {
3486
+ }, re = hn, Le = (e, ...n) => {
3485
3487
  for (let o = 0; o < n.length; o++) {
3486
3488
  const r = n[o];
3487
3489
  for (const l in r)
3488
- if (gn(r, l)) {
3490
+ if (hn(r, l)) {
3489
3491
  const u = r[l];
3490
3492
  u !== void 0 && (e[l] = u);
3491
3493
  }
@@ -4006,7 +4008,7 @@ var oq = { exports: {} };
4006
4008
  "style"
4007
4009
  ], Rm = (e) => {
4008
4010
  let n;
4009
- return (o) => (n = n || us(e, pt), gn(n, co(o)));
4011
+ return (o) => (n = n || us(e, pt), hn(n, co(o)));
4010
4012
  }, _l = (e) => co(e) === "table", Id = (e) => Pa(e) && co(e) === "br", Re = Rm(Dm), Wl = Rm(C1), Kc = Rm(Ia), Yc = Rm(Eu), Zl = Rm(Ho), Kr = Rm(Om), oa = (e) => {
4011
4013
  const n = [];
4012
4014
  let o = e.dom;
@@ -4211,7 +4213,7 @@ var oq = { exports: {} };
4211
4213
  }, Yx = (e, n, o) => {
4212
4214
  const r = (u) => yo(u, le.fromDom(n)), l = Dg(le.fromDom(o), r);
4213
4215
  wc(l, l.length - 2).filter(Pa).fold(() => T1(e, n), (u) => T1(e, u.dom));
4214
- }, yb = (e) => e.hasAttribute(k1), E1 = (e, n) => gn(e.getTransparentElements(), n), A1 = (e, n) => jt(n) && E1(e, n.nodeName), ho = (e, n) => A1(e, n) && yb(n), ln = (e, n) => A1(e, n) && !yb(n), Nm = (e, n) => n.type === 1 && E1(e, n.name) && me(n.attr(k1)), wb = rs().browser, D1 = (e) => hs(e, Pa), kT = (e) => wb.isFirefox() && co(e) === "table" ? D1(Rr(e)).filter((n) => co(n) === "caption").bind((n) => D1(ja(n)).map((o) => {
4216
+ }, yb = (e) => e.hasAttribute(k1), E1 = (e, n) => hn(e.getTransparentElements(), n), A1 = (e, n) => jt(n) && E1(e, n.nodeName), ho = (e, n) => A1(e, n) && yb(n), ln = (e, n) => A1(e, n) && !yb(n), Nm = (e, n) => n.type === 1 && E1(e, n.name) && me(n.attr(k1)), wb = rs().browser, D1 = (e) => hs(e, Pa), kT = (e) => wb.isFirefox() && co(e) === "table" ? D1(Rr(e)).filter((n) => co(n) === "caption").bind((n) => D1(ja(n)).map((o) => {
4215
4217
  const r = o.dom.offsetTop, l = n.dom.offsetTop, u = n.dom.offsetHeight;
4216
4218
  return r <= l ? -u : 0;
4217
4219
  })).getOr(0) : 0, Oy = (e, n) => e.children && qe(e.children, n), Es = (e, n, o) => {
@@ -4709,7 +4711,7 @@ var oq = { exports: {} };
4709
4711
  } else
4710
4712
  return !0;
4711
4713
  return !1;
4712
- }, gm = (In) => gn(is(), In), bg = (In) => !ks(In, "#") && Fa(In) && !gm(In), ii = (In) => gn(So(), In) || bg(In), _d = et(u);
4714
+ }, gm = (In) => hn(is(), In), bg = (In) => !ks(In, "#") && Fa(In) && !gm(In), ii = (In) => hn(So(), In) || bg(In), _d = et(u);
4713
4715
  return {
4714
4716
  type: y,
4715
4717
  children: r,
@@ -4870,7 +4872,7 @@ var oq = { exports: {} };
4870
4872
  }, PT = (e) => e instanceof Event || fe(e.initEvent), nC = (e) => e.isDefaultPrevented === pt || e.isDefaultPrevented === tt, zy = (e) => Bn(e.preventDefault) || PT(e), Qh = (e, n) => {
4871
4873
  const o = n ?? {};
4872
4874
  for (const r in e)
4873
- gn(Tb, r) || (o[r] = e[r]);
4875
+ hn(Tb, r) || (o[r] = e[r]);
4874
4876
  return je(e.composedPath) && (o.composedPath = () => e.composedPath()), je(e.getModifierState) && (o.getModifierState = (r) => e.getModifierState(r)), je(e.getTargetRanges) && (o.getTargetRanges = () => e.getTargetRanges()), o;
4875
4877
  }, ep = (e, n, o, r) => {
4876
4878
  var l;
@@ -4967,7 +4969,7 @@ var oq = { exports: {} };
4967
4969
  tp(n, f.fakeName || b, f.nativeHandler, f.capture);
4968
4970
  }), u = {};
4969
4971
  for (const f in u)
4970
- if (gn(u, f))
4972
+ if (hn(u, f))
4971
4973
  return this;
4972
4974
  delete this.events[l];
4973
4975
  try {
@@ -5036,7 +5038,7 @@ var oq = { exports: {} };
5036
5038
  }, Wy = (e, n) => {
5037
5039
  const o = Za(n, "style"), r = e.serialize(e.parse(o), co(n));
5038
5040
  Rb(n, Ob, r);
5039
- }, np = (e, n) => Wt(e) ? gn(a5, n) ? e + "" : e + "px" : e, $b = (e, n, o) => {
5041
+ }, np = (e, n) => Wt(e) ? hn(a5, n) ? e + "" : e + "px" : e, $b = (e, n, o) => {
5040
5042
  const r = Pf(n);
5041
5043
  Bn(o) || o === "" ? Ju(e, r) : Hh(e, r, np(o, r));
5042
5044
  }, sC = (e, n, o) => {
@@ -5074,7 +5076,7 @@ var oq = { exports: {} };
5074
5076
  url_converter: n.url_converter,
5075
5077
  url_converter_scope: n.url_converter_scope,
5076
5078
  force_hex_color: n.force_hex_color
5077
- }, n.schema), F = n.ownEvents ? new ni() : ni.Event, J = M.getBlockElements(), te = (Be) => me(Be) ? gn(J, Be) : jt(Be) && (gn(J, Be.nodeName) || ho(M, Be)), q = (Be) => Be && e && me(Be) ? e.getElementById(Be) : Be, ne = (Be) => {
5079
+ }, n.schema), F = n.ownEvents ? new ni() : ni.Event, J = M.getBlockElements(), te = (Be) => me(Be) ? hn(J, Be) : jt(Be) && (hn(J, Be.nodeName) || ho(M, Be)), q = (Be) => Be && e && me(Be) ? e.getElementById(Be) : Be, ne = (Be) => {
5078
5080
  const Fe = q(Be);
5079
5081
  return je(Fe) ? le.fromDom(Fe) : null;
5080
5082
  }, ye = (Be, Fe, St = "") => {
@@ -5215,7 +5217,7 @@ var oq = { exports: {} };
5215
5217
  let ht = "<" + Be;
5216
5218
  for (const sn in Fe)
5217
5219
  Ar(Fe, sn) && (ht += " " + sn + '="' + $n(Fe[sn]) + '"');
5218
- return Qr(St) && gn(M.getVoidElements(), Be) ? ht + " />" : ht + ">" + St + "</" + Be + ">";
5220
+ return Qr(St) && hn(M.getVoidElements(), Be) ? ht + " />" : ht + ">" + St + "</" + Be + ">";
5219
5221
  }, Ss = (Be) => {
5220
5222
  const Fe = e.createElement("div"), St = e.createDocumentFragment();
5221
5223
  St.appendChild(Fe), Be && (Fe.innerHTML = Be);
@@ -5579,7 +5581,7 @@ var oq = { exports: {} };
5579
5581
  }, ki = (e, n) => {
5580
5582
  const o = e.indexOf(n);
5581
5583
  return o !== -1 && e.indexOf(n, o + 1) > o;
5582
- }, Zy = (e) => _t(e) && gn(e, "raw"), ml = (e) => Qn(e) && e.length > 1, P1 = {}, sp = lr("en"), Wd = () => Yo(P1, sp.get()), $u = {
5584
+ }, Zy = (e) => _t(e) && hn(e, "raw"), ml = (e) => Qn(e) && e.length > 1, P1 = {}, sp = lr("en"), Wd = () => Yo(P1, sp.get()), $u = {
5583
5585
  getData: () => fo(P1, (e) => ({ ...e })),
5584
5586
  setCode: (e) => {
5585
5587
  e && sp.set(e);
@@ -5591,31 +5593,31 @@ var oq = { exports: {} };
5591
5593
  const r = Ke(Qo(n), (l) => l.toLowerCase());
5592
5594
  bt(n, (l, u) => {
5593
5595
  const f = u.toLowerCase();
5594
- f !== u && ki(r, f) ? (gn(n, f) || (o[f] = l), o[u] = l) : o[f] = l;
5596
+ f !== u && ki(r, f) ? (hn(n, f) || (o[f] = l), o[u] = l) : o[f] = l;
5595
5597
  });
5596
5598
  },
5597
5599
  translate: (e) => {
5598
5600
  const n = Wd().getOr({}), o = (f) => fe(f) ? Object.prototype.toString.call(f) : r(f) ? "" : "" + f, r = (f) => f === "" || f === null || f === void 0, l = (f) => {
5599
5601
  const b = o(f);
5600
- return gn(n, b) ? o(n[b]) : Yo(n, b.toLowerCase()).map(o).getOr(b);
5602
+ return hn(n, b) ? o(n[b]) : Yo(n, b.toLowerCase()).map(o).getOr(b);
5601
5603
  }, u = (f) => f.replace(/{context:\w+}$/, "");
5602
5604
  if (r(e))
5603
5605
  return "";
5604
5606
  if (Zy(e))
5605
5607
  return o(e.raw);
5606
5608
  if (ml(e)) {
5607
- const f = e.slice(1), b = l(e[0]).replace(/\{([0-9]+)\}/g, (y, k) => gn(f, k) ? o(f[k]) : y);
5609
+ const f = e.slice(1), b = l(e[0]).replace(/\{([0-9]+)\}/g, (y, k) => hn(f, k) ? o(f[k]) : y);
5608
5610
  return u(b);
5609
5611
  }
5610
5612
  return u(l(e));
5611
5613
  },
5612
5614
  isRtl: () => Wd().bind((e) => Yo(e, "_dir")).exists((e) => e === "rtl"),
5613
- hasCode: (e) => gn(P1, e)
5615
+ hasCode: (e) => hn(P1, e)
5614
5616
  }, ql = () => {
5615
5617
  const e = [], n = {}, o = {}, r = [], l = (q, ne) => {
5616
5618
  const ye = Ft(r, (Se) => Se.name === q && Se.state === ne);
5617
5619
  _e(ye, (Se) => Se.resolve());
5618
- }, u = (q) => gn(n, q), f = (q) => gn(o, q), b = (q) => {
5620
+ }, u = (q) => hn(n, q), f = (q) => hn(o, q), b = (q) => {
5619
5621
  if (o[q])
5620
5622
  return o[q].instance;
5621
5623
  }, y = (q, ne) => {
@@ -6569,7 +6571,7 @@ Required: ` + n.join(", "));
6569
6571
  default: "40px"
6570
6572
  }), n("content_css", {
6571
6573
  processor: (o) => {
6572
- const r = o === !1 || me(o) || hn(o, me);
6574
+ const r = o === !1 || me(o) || gn(o, me);
6573
6575
  return r ? me(o) ? {
6574
6576
  value: Ke(o.split(","), xc),
6575
6577
  valid: r
@@ -6593,7 +6595,7 @@ Required: ` + n.join(", "));
6593
6595
  default: !1
6594
6596
  }), n("font_css", {
6595
6597
  processor: (o) => {
6596
- const r = me(o) || hn(o, me);
6598
+ const r = me(o) || gn(o, me);
6597
6599
  return r ? {
6598
6600
  value: Qn(o) ? o : Ke(o.split(","), xc),
6599
6601
  valid: r
@@ -6792,7 +6794,7 @@ Required: ` + n.join(", "));
6792
6794
  processor: "number",
6793
6795
  default: 4
6794
6796
  }), n("text_patterns", {
6795
- processor: (o) => hn(o, _t) || o === !1 ? {
6797
+ processor: (o) => gn(o, _t) || o === !1 ? {
6796
6798
  value: YT(o === !1 ? [] : o),
6797
6799
  valid: !0
6798
6800
  } : {
@@ -6863,7 +6865,7 @@ Required: ` + n.join(", "));
6863
6865
  processor: "string",
6864
6866
  default: "mceEditable"
6865
6867
  }), n("noneditable_regexp", {
6866
- processor: (o) => hn(o, Mu) ? {
6868
+ processor: (o) => gn(o, Mu) ? {
6867
6869
  value: o,
6868
6870
  valid: !0
6869
6871
  } : Mu(o) ? {
@@ -7234,7 +7236,7 @@ Required: ` + n.join(", "));
7234
7236
  o = o.parentNode;
7235
7237
  }
7236
7238
  return null;
7237
- }, V2 = (e) => me(e.start), BE = (e) => gn(e, "rng"), JC = (e) => gn(e, "id"), s0 = (e) => gn(e, "name"), QC = (e) => ct.isArray(e.start), r0 = (e) => !s0(e) && Nn(e.forward) ? e.forward : !0, lv = (e, n) => (jt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), NE = (e, n) => {
7239
+ }, V2 = (e) => me(e.start), BE = (e) => hn(e, "rng"), JC = (e) => hn(e, "id"), s0 = (e) => hn(e, "name"), QC = (e) => ct.isArray(e.start), r0 = (e) => !s0(e) && Nn(e.forward) ? e.forward : !0, lv = (e, n) => (jt(n) && e.isBlock(n) && !n.innerHTML && (n.innerHTML = '<br data-mce-bogus="1" />'), n), NE = (e, n) => {
7238
7240
  const o = z.from(gc(e.getRoot(), n.start)), r = z.from(gc(e.getRoot(), n.end));
7239
7241
  return Cr(o, r, (l, u) => {
7240
7242
  const f = e.createRng();
@@ -8739,7 +8741,7 @@ Required: ` + n.join(", "));
8739
8741
  const L5 = ct.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), F5 = (e) => me(e.nodeValue) && e.nodeValue.includes(x), PS = (e) => `${e.length === 0 ? "" : `${Ke(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`, T7 = (e, n) => n.querySelectorAll(PS(e)), H5 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_COMMENT, (n) => F5(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP), V5 = (e) => document.createTreeWalker(e, NodeFilter.SHOW_TEXT, (n) => {
8740
8742
  if (F5(n)) {
8741
8743
  const o = n.parentNode;
8742
- return o && gn(L5, o.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
8744
+ return o && hn(L5, o.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
8743
8745
  } else
8744
8746
  return NodeFilter.FILTER_SKIP;
8745
8747
  }), E7 = (e) => H5(e).nextNode() !== null, A7 = (e) => V5(e).nextNode() !== null, BS = (e, n) => n.querySelector(PS(e)) !== null, z5 = (e, n) => {
@@ -9089,7 +9091,7 @@ Required: ` + n.join(", "));
9089
9091
  }, (r) => {
9090
9092
  e.selection.setRng(r.toRange(), n);
9091
9093
  });
9092
- }, D4 = (e) => (n) => n.dom === e, aI = (e, n) => n && gn(e.schema.getBlockElements(), co(n)), lI = (e, n) => {
9094
+ }, D4 = (e) => (n) => n.dom === e, aI = (e, n) => n && hn(e.schema.getBlockElements(), co(n)), lI = (e, n) => {
9093
9095
  if (gr(e)) {
9094
9096
  const o = le.fromHtml('<br data-mce-bogus="1">');
9095
9097
  return n ? _e(Rr(e), (r) => {
@@ -9103,7 +9105,7 @@ Required: ` + n.join(", "));
9103
9105
  const k = f.dom, M = b.dom, B = k.data.length;
9104
9106
  return Ya(k, M, o, r), y.container() === M ? Ie(k, B) : y;
9105
9107
  }).orThunk(() => (r && (l.each((f) => mR(f.dom, f.dom.length, o)), u.each((f) => A0(f.dom, 0, o))), n));
9106
- }, VS = (e, n) => gn(e.schema.getTextInlineElements(), co(n)), vh = (e, n, o, r = !0, l = !1) => {
9108
+ }, VS = (e, n) => hn(e.schema.getTextInlineElements(), co(n)), vh = (e, n, o, r = !0, l = !1) => {
9107
9109
  const u = rI(n, e.getBody(), o.dom), f = qs(o, ot(aI, e), D4(e.getBody())), b = pw(o, u, e.schema, VS(e, o));
9108
9110
  e.dom.isEmpty(e.getBody()) ? (e.setContent(""), e.selection.setCursorLocation()) : f.bind((y) => lI(y, l)).fold(() => {
9109
9111
  r && HS(e, n, b);
@@ -9313,14 +9315,14 @@ Required: ` + n.join(", "));
9313
9315
  }), M;
9314
9316
  }, y = (k, M) => {
9315
9317
  for (const B in k)
9316
- if (gn(k, B)) {
9318
+ if (hn(k, B)) {
9317
9319
  const F = M[B];
9318
9320
  if (os(F) || k[B] !== F)
9319
9321
  return !1;
9320
9322
  delete M[B];
9321
9323
  }
9322
9324
  for (const B in M)
9323
- if (gn(M, B))
9325
+ if (hn(M, B))
9324
9326
  return !1;
9325
9327
  return !0;
9326
9328
  };
@@ -9747,7 +9749,7 @@ Required: ` + n.join(", "));
9747
9749
  return !0;
9748
9750
  } else
9749
9751
  for (const y in f)
9750
- if (gn(f, y)) {
9752
+ if (hn(f, y)) {
9751
9753
  const k = b ? e.getAttrib(n, y) : Bp(e, n, y), M = gd(f[y], u), B = Bn(k) || Qr(k);
9752
9754
  if (B && Bn(M))
9753
9755
  continue;
@@ -9930,11 +9932,11 @@ Required: ` + n.join(", "));
9930
9932
  if (Di(n.dom))
9931
9933
  return !1;
9932
9934
  const o = e.schema.getTextInlineElements();
9933
- return gn(o, co(n)) && !Di(n.dom) && !ru(n.dom);
9935
+ return hn(o, co(n)) && !Di(n.dom) && !ru(n.dom);
9934
9936
  }, $w = {}, i_ = Mr(["pre"]), Xr = (e, n) => {
9935
9937
  $w[e] || ($w[e] = []), $w[e].push(n);
9936
9938
  }, v3 = (e, n) => {
9937
- gn($w, e) && _e($w[e], (o) => {
9939
+ hn($w, e) && _e($w[e], (o) => {
9938
9940
  o(n);
9939
9941
  });
9940
9942
  };
@@ -10373,7 +10375,7 @@ Required: ` + n.join(", "));
10373
10375
  Dl(e, n, r, o);
10374
10376
  }, b$ = (e, n, o, r) => {
10375
10377
  (r || e.selection.isEditable()) && p$(e, n, o, r);
10376
- }, B0 = (e) => gn(e, "vars"), qI = (e, n) => {
10378
+ }, B0 = (e) => hn(e, "vars"), qI = (e, n) => {
10377
10379
  e.set({}), n.on("NodeChange", (o) => {
10378
10380
  T3(n, o.element, e.get());
10379
10381
  }), n.on("FormatApply FormatRemove", (o) => {
@@ -10466,7 +10468,7 @@ Required: ` + n.join(", "));
10466
10468
  return {
10467
10469
  addFilter: (l, u) => {
10468
10470
  _e(x$(l), (f) => {
10469
- gn(e, f) || (e[f] = {
10471
+ hn(e, f) || (e[f] = {
10470
10472
  name: f,
10471
10473
  callbacks: []
10472
10474
  }), e[f].callbacks.push(u);
@@ -10475,7 +10477,7 @@ Required: ` + n.join(", "));
10475
10477
  getFilters: () => bl(e),
10476
10478
  removeFilter: (l, u) => {
10477
10479
  _e(x$(l), (f) => {
10478
- if (gn(e, f))
10480
+ if (hn(e, f))
10479
10481
  if (je(u)) {
10480
10482
  const b = e[f], y = Ft(b.callbacks, (k) => k !== u);
10481
10483
  y.length > 0 ? b.callbacks = y : delete e[f];
@@ -11959,7 +11961,7 @@ Required: ` + n.join(", "));
11959
11961
  }
11960
11962
  const q = o.getElementRule(B);
11961
11963
  if (k && !q) {
11962
- gn(M, B) ? wo(F) : ll(F);
11964
+ hn(M, B) ? wo(F) : ll(F);
11963
11965
  return;
11964
11966
  } else
11965
11967
  je(l) && (l.allowedTags[B] = !0);
@@ -12129,12 +12131,12 @@ Required: ` + n.join(", "));
12129
12131
  sanitize: !0,
12130
12132
  ...e
12131
12133
  }, u = new DOMParser(), f = wL(l, n), b = (Ce, Me, rt = "html") => {
12132
- const wt = rt === "xhtml" ? "application/xhtml+xml" : "text/html", It = gn(n.getSpecialElements(), Me.toLowerCase()), Ue = It ? `<${Me}>${Ce}</${Me}>` : Ce, He = rt === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${Ue}</body></html>` : `<body>${Ue}</body>`, st = u.parseFromString(He, wt).body;
12134
+ const wt = rt === "xhtml" ? "application/xhtml+xml" : "text/html", It = hn(n.getSpecialElements(), Me.toLowerCase()), Ue = It ? `<${Me}>${Ce}</${Me}>` : Ce, He = rt === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${Ue}</body></html>` : `<body>${Ue}</body>`, st = u.parseFromString(He, wt).body;
12133
12135
  return f.sanitizeHtmlElement(st, wt), It ? st.firstChild : st;
12134
12136
  }, y = o.addFilter, k = o.getFilters, M = o.removeFilter, B = r.addFilter, F = r.getFilters, J = r.removeFilter, te = (Ce, Me) => {
12135
12137
  QS(n, Ce) && Me.push(Ce);
12136
12138
  }, q = (Ce, Me) => {
12137
- const rt = me(Me.attr(H3)), wt = Me.type === 1 && !gn(Ce, Me.name) && !Nm(n, Me) && !rd(Me.name);
12139
+ const rt = me(Me.attr(H3)), wt = Me.type === 1 && !hn(Ce, Me.name) && !Nm(n, Me) && !rd(Me.name);
12138
12140
  return Me.type === 3 || wt && !rt;
12139
12141
  }, ne = (Ce, Me) => {
12140
12142
  const rt = Y$(K$("script,style,head,html,body,title,meta,param"), n.getBlockElements()), wt = /^[ \t\r\n]+/, It = /[ \t\r\n]+$/;
@@ -12675,7 +12677,7 @@ Required: ` + n.join(", "));
12675
12677
  },
12676
12678
  raw: { getModel: et(z.none()) }
12677
12679
  };
12678
- }, Ch = (e) => gn(e.plugins, "rtc"), qL = (e) => Yo(e.plugins, "rtc").bind((n) => z.from(n.setup)), KL = (e) => {
12680
+ }, Ch = (e) => hn(e.plugins, "rtc"), qL = (e) => Yo(e.plugins, "rtc").bind((n) => z.from(n.setup)), KL = (e) => {
12679
12681
  const n = e;
12680
12682
  return qL(e).fold(() => (n.rtcInstance = gM(e), z.none()), (o) => (n.rtcInstance = aA(), z.some(() => o().then((r) => (n.rtcInstance = Lr(r), r.rtc.isRemote)))));
12681
12683
  }, Xp = (e) => e.rtcInstance ? e.rtcInstance : gM(e), La = (e) => {
@@ -12740,7 +12742,7 @@ Required: ` + n.join(", "));
12740
12742
  fF(f, f.createContextualFragment(u), e.schema), e.selection.setRng(f), _0(e, f), C_(e, u, l);
12741
12743
  });
12742
12744
  }, CM = (e, n, o) => {
12743
- if (gn(e, n)) {
12745
+ if (hn(e, n)) {
12744
12746
  const r = Ft(e[n], (l) => l !== o);
12745
12747
  r.length === 0 ? delete e[n] : e[n] = r;
12746
12748
  }
@@ -13105,13 +13107,13 @@ Required: ` + n.join(", "));
13105
13107
  },
13106
13108
  { name: "rtc" }
13107
13109
  ], MM = (e, n) => {
13108
- const o = Ft(n, (r) => gn(e, r));
13110
+ const o = Ft(n, (r) => hn(e, r));
13109
13111
  return qo(o);
13110
13112
  }, Gj = (e) => {
13111
13113
  const n = MM(e, RM), o = e.forced_root_block;
13112
13114
  return (o === !1 || o === "") && n.push("forced_root_block (false only)"), qo(n);
13113
13115
  }, lf = (e) => MM(e, kF), M_ = (e, n) => {
13114
- const o = ct.makeMap(e.plugins, " "), l = Ft(n, (u) => gn(o, u));
13116
+ const o = ct.makeMap(e.plugins, " "), l = Ft(n, (u) => hn(o, u));
13115
13117
  return qo(l);
13116
13118
  }, EF = (e) => M_(e, TF), AF = (e) => M_(e, $M.map((n) => n.name)), DF = (e, n) => {
13117
13119
  const o = Gj(e), r = EF(n), l = r.length > 0, u = o.length > 0, f = n.theme === "mobile";
@@ -13173,7 +13175,7 @@ Options:${f}${o.join(f)}` : "";
13173
13175
  e[l] = u;
13174
13176
  },
13175
13177
  get: (l) => e[l] ? e[l] : { icons: {} },
13176
- has: (l) => gn(e, l)
13178
+ has: (l) => hn(e, l)
13177
13179
  };
13178
13180
  })(), xd = ql.ModelManager, Bi = (e, n) => n.dom[e], Xv = (e, n) => parseInt(mr(n, e), 10), Qp = ot(Bi, "clientWidth"), ug = ot(Bi, "clientHeight"), Kw = ot(Xv, "margin-top"), fA = ot(Xv, "margin-left"), gA = (e) => e.dom.getBoundingClientRect(), PM = (e, n, o) => {
13179
13181
  const r = Qp(e), l = ug(e);
@@ -13346,7 +13348,7 @@ Options:${f}${o.join(f)}` : "";
13346
13348
  return y.hasAttribute("data-mce-bogus") || y.hasAttribute("data-mce-placeholder") || !k || k === Bt.transparentSrc ? !1 : ks(k, "blob:") ? !e.isUploaded(k) && u(y) : ks(k, "data:") ? u(y) : !1;
13347
13349
  }), b = Ke(f, (y) => {
13348
13350
  const k = y.src;
13349
- if (gn(o, k))
13351
+ if (hn(o, k))
13350
13352
  return o[k].then((M) => me(M) ? M : {
13351
13353
  image: y,
13352
13354
  blobInfo: M.blobInfo
@@ -13994,7 +13996,7 @@ Options:${f}${o.join(f)}` : "";
13994
13996
  ...lm
13995
13997
  }
13996
13998
  }, L_ = et(L0), F_ = (e) => {
13997
- const n = {}, o = (f) => je(f) ? n[f] : n, r = (f) => gn(n, f), l = (f, b) => {
13999
+ const n = {}, o = (f) => je(f) ? n[f] : n, r = (f) => hn(n, f), l = (f, b) => {
13998
14000
  f && (me(f) ? (Qn(b) || (b = [b]), _e(b, (y) => {
13999
14001
  os(y.deep) && (y.deep = !gl(y)), os(y.split) && (y.split = !gl(y) || Yr(y)), os(y.remove) && gl(y) && !Yr(y) && (y.remove = "none"), gl(y) && Yr(y) && (y.mixed = !0, y.block_expand = !0), me(y.classes) && (y.classes = y.classes.split(/\s+/));
14000
14002
  }), n[f] = b) : bt(f, (y, k) => {
@@ -14963,7 +14965,7 @@ Options:${f}${o.join(f)}` : "";
14963
14965
  });
14964
14966
  });
14965
14967
  }, !0);
14966
- }, ak = (e, n) => gn(e, n.nodeName), KP = (e, n) => ut(n) ? !0 : jt(n) ? !ak(e.getBlockElements(), n) && !Oi(n) && !ho(e, n) && !Dy(n) : !1, xH = (e, n, o) => At(S4(le.fromDom(o), le.fromDom(n)), (r) => ak(e, r.dom)), CH = (e, n) => {
14968
+ }, ak = (e, n) => hn(e, n.nodeName), KP = (e, n) => ut(n) ? !0 : jt(n) ? !ak(e.getBlockElements(), n) && !Oi(n) && !ho(e, n) && !Dy(n) : !1, xH = (e, n, o) => At(S4(le.fromDom(o), le.fromDom(n)), (r) => ak(e, r.dom)), CH = (e, n) => {
14967
14969
  if (ut(n)) {
14968
14970
  if (n.data.length === 0)
14969
14971
  return !0;
@@ -15517,7 +15519,7 @@ Options:${f}${o.join(f)}` : "";
15517
15519
  for (let r = 0; r < n.length; r++) {
15518
15520
  const l = n[r];
15519
15521
  for (const u in l)
15520
- gn(l, u) && (o[u] = e(o[u], l[u]));
15522
+ hn(l, u) && (o[u] = e(o[u], l[u]));
15521
15523
  }
15522
15524
  return o;
15523
15525
  }, vx = $B(RB), MB = $B(pV), PB = () => ({
@@ -16077,7 +16079,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
16077
16079
  r = l;
16078
16080
  }
16079
16081
  return !1;
16080
- }, oz = (e, n, o) => !n && o.nodeName.toLowerCase() === Yl(e) && e.dom.isEmpty(o) && nz(e.getBody(), o, (r) => gn(e.schema.getTextBlockElements(), r.nodeName.toLowerCase())), sz = (e, n, o) => {
16082
+ }, oz = (e, n, o) => !n && o.nodeName.toLowerCase() === Yl(e) && e.dom.isEmpty(o) && nz(e.getBody(), o, (r) => hn(e.schema.getTextBlockElements(), r.nodeName.toLowerCase())), sz = (e, n, o) => {
16081
16083
  var r, l, u;
16082
16084
  const f = n(Yl(e)), b = uN(e, o);
16083
16085
  b && (e.dom.insertAfter(f, b), tr(e, f), ((u = (l = (r = o.parentElement) === null || r === void 0 ? void 0 : r.childNodes) === null || l === void 0 ? void 0 : l.length) !== null && u !== void 0 ? u : 0) > 1 && e.dom.remove(o));
@@ -17024,7 +17026,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
17024
17026
  const l = e.getParent(o, (f) => ho(n, f));
17025
17027
  if (!oe(e.getParent(o, "summary")))
17026
17028
  return !0;
17027
- if (l && gn(r, "text/html")) {
17029
+ if (l && hn(r, "text/html")) {
17028
17030
  const f = new DOMParser().parseFromString(r["text/html"], "text/html").body;
17029
17031
  return !oe(f.querySelector(l.nodeName.toLowerCase()));
17030
17032
  } else
@@ -17533,7 +17535,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
17533
17535
  }), fW(e), D6(e), gW(e);
17534
17536
  }, te = (It) => on(It) || Gl(It) || Xc(It), q = (It) => te(It.startContainer) || te(It.endContainer), ne = (It) => {
17535
17537
  const Ue = e.schema.getVoidElements(), He = o.createRng(), st = It.startContainer, Gt = It.startOffset, rn = It.endContainer, Yn = It.endOffset;
17536
- return gn(Ue, st.nodeName.toLowerCase()) ? Gt === 0 ? He.setStartBefore(st) : He.setStartAfter(st) : He.setStart(st, Gt), gn(Ue, rn.nodeName.toLowerCase()) ? Yn === 0 ? He.setEndBefore(rn) : He.setEndAfter(rn) : He.setEnd(rn, Yn), He;
17538
+ return hn(Ue, st.nodeName.toLowerCase()) ? Gt === 0 ? He.setStartBefore(st) : He.setStartAfter(st) : He.setStart(st, Gt), hn(Ue, rn.nodeName.toLowerCase()) ? Yn === 0 ? He.setEndBefore(rn) : He.setEndAfter(rn) : He.setEnd(rn, Yn), He;
17537
17539
  }, ye = (It, Ue) => {
17538
17540
  const He = le.fromDom(e.getBody()), st = e.getDoc(), Gt = al(He, "#" + u).getOrThunk(() => {
17539
17541
  const Zn = le.fromHtml('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>', st);
@@ -17674,7 +17676,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
17674
17676
  }, Kk = (e, n) => {
17675
17677
  const o = e.dom, r = n.pattern, l = bW(o.getRoot(), n.range).getOrDie("Unable to resolve path range"), u = (f, b) => {
17676
17678
  const y = b.get(f);
17677
- return Qn(y) && Jn(y).exists((k) => gn(k, "block"));
17679
+ return Qn(y) && Jn(y).exists((k) => hn(k, "block"));
17678
17680
  };
17679
17681
  return Rx(e, l).each((f) => {
17680
17682
  r.type === "block-format" ? u(r.format, e.formatter) && e.undoManager.transact(() => {
@@ -18374,7 +18376,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
18374
18376
  ...qw.get(n).icons
18375
18377
  };
18376
18378
  bt(r, (l, u) => {
18377
- gn(o, u) || e.ui.registry.addIcon(u, l);
18379
+ hn(o, u) || e.ui.registry.addIcon(u, l);
18378
18380
  });
18379
18381
  }, GW = (e) => {
18380
18382
  const n = bp(e);
@@ -18435,7 +18437,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
18435
18437
  }
18436
18438
  }, a8 = (e, n) => {
18437
18439
  const o = bp(e);
18438
- if (me(o) && !r8(o) && !gn(Sh.urls, o)) {
18440
+ if (me(o) && !r8(o) && !hn(Sh.urls, o)) {
18439
18441
  const r = cE(e), l = r ? e.documentBaseURI.toAbsolute(r) : `themes/${o}/theme${n}.js`;
18440
18442
  Sh.load(o, l).catch(() => {
18441
18443
  HF(e, l, o);
@@ -18443,7 +18445,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
18443
18445
  }
18444
18446
  }, OO = (e, n) => {
18445
18447
  const o = y2(e);
18446
- if (o !== "plugin" && !gn(xd.urls, o)) {
18448
+ if (o !== "plugin" && !hn(xd.urls, o)) {
18447
18449
  const r = DC(e), l = me(r) ? e.documentBaseURI.toAbsolute(r) : `models/${o}/model${n}.js`;
18448
18450
  xd.load(o, l).catch(() => {
18449
18451
  FM(e, l, o);
@@ -18543,7 +18545,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
18543
18545
  }, aZ = (e, n, o = {}) => {
18544
18546
  const r = e.sections(), l = Yo(r, n).getOr({});
18545
18547
  return ct.extend({}, o, l);
18546
- }, nT = (e, n) => gn(e.sections(), n), lZ = (e, n) => nT(e, n) ? e.sections()[n] : {}, MO = (e, n) => ({
18548
+ }, nT = (e, n) => hn(e.sections(), n), lZ = (e, n) => nT(e, n) ? e.sections()[n] : {}, MO = (e, n) => ({
18547
18549
  ...{
18548
18550
  table_grid: !1,
18549
18551
  object_resizing: !1,
@@ -19203,7 +19205,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
19203
19205
  }, ZZ = (e) => me(e) ? {
19204
19206
  value: e.split(/[ ,]/),
19205
19207
  valid: !0
19206
- } : hn(e, me) ? {
19208
+ } : gn(e, me) ? {
19207
19209
  value: e,
19208
19210
  valid: !0
19209
19211
  } : {
@@ -19227,7 +19229,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
19227
19229
  case "string[]":
19228
19230
  return ZZ;
19229
19231
  case "object[]":
19230
- return (o) => hn(o, _t);
19232
+ return (o) => gn(o, _t);
19231
19233
  case "regexp":
19232
19234
  return (o) => un(o, RegExp);
19233
19235
  default:
@@ -19265,7 +19267,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
19265
19267
  default: te,
19266
19268
  processor: J
19267
19269
  }, Yo(r, B).orThunk(() => Yo(n, B)).each((ne) => l(B, ne, J));
19268
- }, f = (B) => gn(o, B);
19270
+ }, f = (B) => hn(o, B);
19269
19271
  return {
19270
19272
  register: u,
19271
19273
  isRegistered: f,
@@ -19281,7 +19283,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
19281
19283
  const F = f(B);
19282
19284
  return F && delete r[B], F;
19283
19285
  },
19284
- isSet: (B) => gn(r, B)
19286
+ isSet: (B) => hn(r, B)
19285
19287
  };
19286
19288
  }, KZ = [
19287
19289
  "design",
@@ -19297,7 +19299,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, fo(n, _D)), WB = et(HB), pk
19297
19299
  l.deactivate(), l.editorReadOnly !== u.editorReadOnly && LZ(e, u.editorReadOnly), n.set(r), tw(e, r);
19298
19300
  }, YZ = (e, n, o, r) => {
19299
19301
  if (r !== o.get()) {
19300
- if (!gn(n, r))
19302
+ if (!hn(n, r))
19301
19303
  throw new Error(`Editor mode '${r}' is invalid`);
19302
19304
  e.initialized ? E8(e, o, n, r) : e.on("init", () => E8(e, o, n, r));
19303
19305
  }
@@ -20284,7 +20286,7 @@ tinymce.IconManager.add("default", {
20284
20286
  }
20285
20287
  const je = (t) => (s) => !t(s), fe = (t) => () => {
20286
20288
  throw new Error(t);
20287
- }, Wt = (t) => t(), hn = oe(!1), Ge = oe(!0);
20289
+ }, Wt = (t) => t(), gn = oe(!1), Ge = oe(!0);
20288
20290
  class A {
20289
20291
  constructor(s, a) {
20290
20292
  this.tag = s, this.value = a;
@@ -20425,7 +20427,7 @@ tinymce.IconManager.add("default", {
20425
20427
  break;
20426
20428
  }
20427
20429
  return A.none();
20428
- }, qe = (t, s) => Zi(t, s, hn), At = (t, s) => {
20430
+ }, qe = (t, s) => Zi(t, s, gn), At = (t, s) => {
20429
20431
  for (let a = 0, c = t.length; a < c; a++) {
20430
20432
  const d = t[a];
20431
20433
  if (s(d, a))
@@ -20527,7 +20529,7 @@ tinymce.IconManager.add("default", {
20527
20529
  return A.none();
20528
20530
  }
20529
20531
  return A.some(s);
20530
- }, tl = (t, s, a) => t.isSome() && s.isSome() ? A.some(a(t.getOrDie(), s.getOrDie())) : A.none(), bl = (t, s, a, c) => t.isSome() && s.isSome() && a.isSome() ? A.some(c(t.getOrDie(), s.getOrDie(), a.getOrDie())) : A.none(), Yo = (t, s) => t != null ? A.some(s(t)) : A.none(), gn = (t, s) => t ? A.some(s) : A.none(), Ar = (t, s) => t + s, Nl = (t, s) => t.substring(s), Hc = (t, s, a) => s === "" || t.length >= s.length && t.substr(a, a + s.length) === s, mi = (t, s) => Us(t, s) ? Nl(t, s.length) : t, xr = (t, s) => vl(t, s) ? t : Ar(t, s), dr = (t, s, a = 0, c) => {
20532
+ }, tl = (t, s, a) => t.isSome() && s.isSome() ? A.some(a(t.getOrDie(), s.getOrDie())) : A.none(), bl = (t, s, a, c) => t.isSome() && s.isSome() && a.isSome() ? A.some(c(t.getOrDie(), s.getOrDie(), a.getOrDie())) : A.none(), Yo = (t, s) => t != null ? A.some(s(t)) : A.none(), hn = (t, s) => t ? A.some(s) : A.none(), Ar = (t, s) => t + s, Nl = (t, s) => t.substring(s), Hc = (t, s, a) => s === "" || t.length >= s.length && t.substr(a, a + s.length) === s, mi = (t, s) => Us(t, s) ? Nl(t, s.length) : t, xr = (t, s) => vl(t, s) ? t : Ar(t, s), dr = (t, s, a = 0, c) => {
20531
20533
  const d = t.indexOf(s, a);
20532
20534
  return d !== -1 ? Ro(c) ? !0 : d + s.length <= c : !1;
20533
20535
  }, Us = (t, s) => Hc(t, s, 0), vl = (t, s) => Hc(t, s, t.length - s.length), Vr = ((t) => (s) => s.replace(t, ""))(/^\s+|\s+$/g), ca = (t) => t.length > 0, Is = (t) => !ca(t), Dr = (t) => t.style !== void 0 && Pt(t.style.getPropertyValue), sc = (t, s) => {
@@ -20595,7 +20597,7 @@ tinymce.IconManager.add("default", {
20595
20597
  const a = t.dom, c = s.dom;
20596
20598
  return a === c ? !1 : a.contains(c);
20597
20599
  }, da = (t) => Te.fromDom(t.dom.ownerDocument), or = (t) => ia(t) ? t : da(t), yl = (t) => Te.fromDom(or(t).dom.documentElement), Fl = (t) => Te.fromDom(or(t).dom.defaultView), ea = (t) => A.from(t.dom.parentNode).map(Te.fromDom), Hl = (t) => ea(t), Vl = (t) => A.from(t.dom.parentElement).map(Te.fromDom), Zu = (t, s) => {
20598
- const a = Pt(s) ? s : hn;
20600
+ const a = Pt(s) ? s : gn;
20599
20601
  let c = t.dom;
20600
20602
  const d = [];
20601
20603
  for (; c.parentNode !== null && c.parentNode !== void 0; ) {
@@ -21125,7 +21127,7 @@ tinymce.IconManager.add("default", {
21125
21127
  inner: t,
21126
21128
  fold: (g, p) => p(t),
21127
21129
  isValue: Ge,
21128
- isError: hn,
21130
+ isError: gn,
21129
21131
  map: (g) => Hn.value(g(t)),
21130
21132
  mapError: c,
21131
21133
  bind: s,
@@ -21147,12 +21149,12 @@ tinymce.IconManager.add("default", {
21147
21149
  tag: !1,
21148
21150
  inner: t,
21149
21151
  fold: (c, d) => c(t),
21150
- isValue: hn,
21152
+ isValue: gn,
21151
21153
  isError: Ge,
21152
21154
  map: s,
21153
21155
  mapError: (c) => Hn.error(c(t)),
21154
21156
  bind: s,
21155
- exists: hn,
21157
+ exists: gn,
21156
21158
  forall: Ge,
21157
21159
  getOr: Nn,
21158
21160
  or: Nn,
@@ -21512,7 +21514,7 @@ Required: ` + s.join(", "));
21512
21514
  }, ft = (t, s) => K(t, s), Ot = (t, s) => be(t, s), on = (t) => We(t), Vn = (t, s) => t.length === 0 ? Hn.value(s) : Hn.value(Zo(s, qc.apply(void 0, t))), ar = (t) => Hn.error(Ke(t)), Bo = (t, s) => {
21513
21515
  const a = V(t);
21514
21516
  return a.errors.length > 0 ? ar(a.errors) : Vn(a.values, s);
21515
- }, Bs = (t) => Pt(t) ? t : hn, mc = (t, s, a) => {
21517
+ }, Bs = (t) => Pt(t) ? t : gn, mc = (t, s, a) => {
21516
21518
  let c = t.dom;
21517
21519
  const d = Bs(a);
21518
21520
  for (; c.parentNode; ) {
@@ -21529,7 +21531,7 @@ Required: ` + s.join(", "));
21529
21531
  return c.orThunk(() => d(t) ? A.none() : mc(t, s, d));
21530
21532
  }, Xc = (t, s) => Fo(t.element, s.event.target), Ld = {
21531
21533
  can: Ge,
21532
- abort: hn,
21534
+ abort: gn,
21533
21535
  run: me
21534
21536
  }, cu = (t) => {
21535
21537
  if (!Er(t, "can") && !Er(t, "abort") && !Er(t, "run"))
@@ -21540,7 +21542,7 @@ Required: ` + s.join(", "));
21540
21542
  };
21541
21543
  }, Ug = (t, s) => (...a) => zo(t, (c, d) => c && s(d).apply(void 0, a), !0), Tf = (t, s) => (...a) => zo(t, (c, d) => c || s(d).apply(void 0, a), !1), $m = (t) => Pt(t) ? {
21542
21544
  can: Ge,
21543
- abort: hn,
21545
+ abort: gn,
21544
21546
  run: t
21545
21547
  } : t, Wg = (t) => {
21546
21548
  const s = Ug(t, (d) => d.can), a = Tf(t, (d) => d.abort);
@@ -21616,7 +21618,7 @@ Required: ` + s.join(", "));
21616
21618
  const c = s.partUids[a];
21617
21619
  return ET(t, c);
21618
21620
  }, Py = (t, s) => Je(t, (a, c) => {
21619
- const d = c.event, g = a.getSystem().getByDom(d.target).getOrThunk(() => Gl(d.target, (w) => a.getSystem().getByDom(w).toOptional(), hn).getOr(a));
21621
+ const d = c.event, g = a.getSystem().getByDom(d.target).getOrThunk(() => Gl(d.target, (w) => a.getSystem().getByDom(w).toOptional(), gn).getOr(a));
21620
21622
  s(a, g, c);
21621
21623
  }), Im = (t) => Je(t, (s, a) => {
21622
21624
  a.cut();
@@ -21687,7 +21689,7 @@ Check the ` + sd() + " event handlers"), !1) : !0;
21687
21689
  removeFromGui: a("removeFromGui"),
21688
21690
  getByUid: a("getByUid"),
21689
21691
  getByDom: a("getByDom"),
21690
- isConnected: hn
21692
+ isConnected: gn
21691
21693
  };
21692
21694
  }, ld = Fm(), $1 = (t, s, a) => {
21693
21695
  const c = a.toString(), d = c.indexOf(")") + 1, g = c.indexOf("("), p = c.substring(g + 1, d - 1).split(/,\s*/);
@@ -22086,7 +22088,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
22086
22088
  uid: g,
22087
22089
  getSystem: a.get,
22088
22090
  config: A.none,
22089
- hasConfigured: hn,
22091
+ hasConfigured: gn,
22090
22092
  connect: c,
22091
22093
  disconnect: d,
22092
22094
  getApis: () => ({}),
@@ -22108,7 +22110,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
22108
22110
  var uC = (t, s, a, c, d) => t(a, c) ? A.some(a) : Pt(d) && d(a) ? A.none() : s(a, c, d);
22109
22111
  const Nb = (t, s, a) => {
22110
22112
  let c = t.dom;
22111
- const d = Pt(a) ? a : hn;
22113
+ const d = Pt(a) ? a : gn;
22112
22114
  for (; c.parentNode; ) {
22113
22115
  c = c.parentNode;
22114
22116
  const g = Te.fromDom(c);
@@ -22153,7 +22155,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
22153
22155
  re(c, up);
22154
22156
  }
22155
22157
  };
22156
- }, th = (t, s) => If(s).exists((a) => zm(t, a)), zm = (t, s) => jy(s, (a) => Fo(a, t.element), hn) || th(t, s), mC = "unknown";
22158
+ }, th = (t, s) => If(s).exists((a) => zm(t, a)), zm = (t, s) => jy(s, (a) => Fo(a, t.element), gn) || th(t, s), mC = "unknown";
22157
22159
  var nh;
22158
22160
  (function(t) {
22159
22161
  t[t.STOP = 0] = "STOP", t[t.NORMAL = 1] = "NORMAL", t[t.LOGGING = 2] = "LOGGING";
@@ -23198,7 +23200,7 @@ Receiver: ` + zd(s.element), E, g.data);
23198
23200
  "placement"
23199
23201
  ])
23200
23202
  ], KC = [
23201
- Re("useFixed", hn),
23203
+ Re("useFixed", gn),
23202
23204
  Ho("getBounds")
23203
23205
  ], Gf = [
23204
23206
  dc("anchor", n0),
@@ -23411,7 +23413,7 @@ Receiver: ` + zd(s.element), E, g.data);
23411
23413
  apis: lv,
23412
23414
  state: tS
23413
23415
  }), fd = oe("dismiss.popups"), ih = oe("reposition.popups"), z2 = oe("mouse.released"), nS = Ts([
23414
- Re("isExtraPart", hn),
23416
+ Re("isExtraPart", gn),
23415
23417
  _l("fireEventInstead", [Re("event", $f())])
23416
23418
  ]), a0 = (t) => {
23417
23419
  const s = Sl("Dismissal", nS, t);
@@ -23893,7 +23895,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
23893
23895
  Zb(t, s, pS)
23894
23896
  ])
23895
23897
  }), yS = [
23896
- oa("disabled", hn),
23898
+ oa("disabled", gn),
23897
23899
  Re("useNative", !0),
23898
23900
  Ho("disableClass"),
23899
23901
  xo("onDisabled"),
@@ -24114,7 +24116,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24114
24116
  ]);
24115
24117
  return v(s, Ru.init, ce, $e, () => A.some(p));
24116
24118
  };
24117
- var D = _(fr("cyclic", hn)), L = _(fr("cyclic", Ge));
24119
+ var D = _(fr("cyclic", gn)), L = _(fr("cyclic", Ge));
24118
24120
  const Z = (t, s, a) => (wb(t, a, Qc()), A.some(!0)), ee = (t, s, a) => mh(a) && bo(Ri)(s.event) ? A.none() : Z(t, s, a), ie = (t, s) => A.some(!0), De = [
24119
24121
  Re("execute", ee),
24120
24122
  Re("useSpace", !1),
@@ -25318,7 +25320,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25318
25320
  _l("fireDismissalEventInstead", [Re("event", $f())]),
25319
25321
  _l("fireRepositionEventInstead", [Re("event", Kx())]),
25320
25322
  Re("getRelated", A.none),
25321
- Re("isExtraPart", hn),
25323
+ Re("isExtraPart", gn),
25322
25324
  Re("eventOrder", A.none)
25323
25325
  ],
25324
25326
  factory: Q7,
@@ -26922,7 +26924,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26922
26924
  return !Aw(t) && (c || a || s === !0);
26923
26925
  }, Q4 = (t) => {
26924
26926
  const s = ao(9, (c) => t.options.get("toolbar" + (c + 1))), a = eo(s, Q);
26925
- return gn(a.length > 0, a);
26927
+ return hn(a.length > 0, a);
26926
26928
  }, Aw = (t) => Q4(t).fold(() => {
26927
26929
  const s = KS(t);
26928
26930
  return un(s, Q) && s.length > 0;
@@ -27385,7 +27387,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27385
27387
  Xr,
27386
27388
  zv
27387
27389
  ])), d$ = (t) => Ks("ToggleButton", u$, t), m$ = [
27388
- oa("predicate", hn),
27390
+ oa("predicate", gn),
27389
27391
  Zl("scope", "node", [
27390
27392
  "node",
27391
27393
  "editor"
@@ -28264,7 +28266,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28264
28266
  }, tM = (t, s = "default") => Math.round(s === __ ? ig("color_cols_foreground")(t) : s === k_ ? ig("color_cols_background")(t) : ig("color_cols")(t)), nM = ig("custom_colors"), TL = ig("color_default_foreground"), EL = ig("color_default_background"), oM = "rgba(0, 0, 0, 0)", AL = (t) => L3(t).exists((s) => s.alpha !== 0), DL = (t) => Gl(t, (s) => {
28265
28267
  if (Do(s)) {
28266
28268
  const a = as(s, "background-color");
28267
- return gn(AL(a), a);
28269
+ return hn(AL(a), a);
28268
28270
  } else
28269
28271
  return A.none();
28270
28272
  }).getOr(oM), sM = (t, s) => {
@@ -28461,7 +28463,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28461
28463
  const a = BL(t, s), c = s.colorinput.getColorCols(t.initData.storageKey), d = "color", p = {
28462
28464
  ...eA(Zt("menu-value"), a, (w) => {
28463
28465
  t.onAction({ value: w });
28464
- }, c, d, af.CLOSE_ON_EXECUTE, t.select.getOr(hn), s.shared.providers),
28466
+ }, c, d, af.CLOSE_ON_EXECUTE, t.select.getOr(gn), s.shared.providers),
28465
28467
  markers: yh(d),
28466
28468
  movement: A_(c, d)
28467
28469
  };
@@ -28875,7 +28877,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28875
28877
  }),
28876
28878
  Oc.config({
28877
28879
  channels: {
28878
- ...a0({ isExtraPart: hn }),
28880
+ ...a0({ isExtraPart: gn }),
28879
28881
  ...$p({ doReposition: yM })
28880
28882
  }
28881
28883
  })
@@ -29361,7 +29363,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
29361
29363
  },
29362
29364
  cut: me,
29363
29365
  isStopped: s.get,
29364
- isCut: hn,
29366
+ isCut: gn,
29365
29367
  event: t,
29366
29368
  setSource: fe("Cannot set source of a broadcasted event"),
29367
29369
  getSource: fe("Cannot get source of a broadcasted event")
@@ -29376,7 +29378,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
29376
29378
  const E = C.descHandler;
29377
29379
  return Qh(E)(w), w.isStopped() ? (g.logEventStopped(s, C.element, E.purpose), jw.stopped()) : w.isCut() ? (g.logEventCut(s, C.element, E.purpose), jw.complete()) : ea(C.element).fold(() => (g.logNoParent(s, C.element, E.purpose), jw.complete()), (N) => (g.logEventResponse(s, C.element, E.purpose), jw.resume(N)));
29378
29380
  });
29379
- }, OM = (t, s, a, c, d, g) => DM(t, s, a, c, d, g).fold(Ge, (p) => OM(t, s, a, p, d, g), hn), SF = (t, s, a, c, d) => {
29381
+ }, OM = (t, s, a, c, d, g) => DM(t, s, a, c, d, g).fold(Ge, (p) => OM(t, s, a, p, d, g), gn), SF = (t, s, a, c, d) => {
29380
29382
  const g = EM(a, c);
29381
29383
  return DM(t, s, a, c, g, d);
29382
29384
  }, _F = (t, s, a) => {
@@ -29887,7 +29889,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
29887
29889
  lazySink: s.getSink,
29888
29890
  fetch: (a) => ec.nu((c) => t.fetch(c)).map((c) => A.from($_(Zo(eA(Zt("menu-value"), c, (d) => {
29889
29891
  t.onItemAction(a, d);
29890
- }, t.columns, t.presets, af.CLOSE_ON_EXECUTE, hn, s.providers), { movement: A_(t.columns, t.presets) })))),
29892
+ }, t.columns, t.presets, af.CLOSE_ON_EXECUTE, gn, s.providers), { movement: A_(t.columns, t.presets) })))),
29891
29893
  parts: { menu: Fv(!1, 1, t.presets) }
29892
29894
  }), FM = Zt("color-input-change"), HM = Zt("color-swatch-change"), Xw = Zt("color-picker-cancel"), VF = (t, s, a, c) => {
29893
29895
  const d = Jo.parts.field({
@@ -31204,7 +31206,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
31204
31206
  }, sy = (t) => Zw(t, [
31205
31207
  "." + VA,
31206
31208
  "." + zA
31207
- ].join(","), hn), ry = Zt("update-dialog"), fg = Zt("update-title"), ek = Zt("update-body"), WA = Zt("update-footer"), ZA = Zt("body-send-message"), ay = Zt("dialog-focus-shifted"), tk = yi().browser, o1 = tk.isSafari(), AP = tk.isFirefox(), jA = o1 || AP, X9 = tk.isChromium(), J9 = ({ scrollTop: t, scrollHeight: s, clientHeight: a }) => Math.ceil(t) + a >= s, DP = (t, s) => t.scrollTo(0, s === "bottom" ? 99999999 : s), Q9 = (t, s) => {
31209
+ ].join(","), gn), ry = Zt("update-dialog"), fg = Zt("update-title"), ek = Zt("update-body"), WA = Zt("update-footer"), ZA = Zt("body-send-message"), ay = Zt("dialog-focus-shifted"), tk = yi().browser, o1 = tk.isSafari(), AP = tk.isFirefox(), jA = o1 || AP, X9 = tk.isChromium(), J9 = ({ scrollTop: t, scrollHeight: s, clientHeight: a }) => Math.ceil(t) + a >= s, DP = (t, s) => t.scrollTo(0, s === "bottom" ? 99999999 : s), Q9 = (t, s) => {
31208
31210
  const a = t.body;
31209
31211
  return A.from(!/^<!DOCTYPE (html|HTML)/.test(s) && (!X9 && !o1 || Io(a) && (a.scrollTop !== 0 || Math.abs(a.scrollHeight - a.clientHeight) > 1)) ? a : t.documentElement);
31210
31212
  }, OP = (t, s, a) => {
@@ -31217,7 +31219,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
31217
31219
  };
31218
31220
  o1 && c.addEventListener("load", w, { once: !0 }), d.open(), d.write(s), d.close(), o1 || w();
31219
31221
  });
31220
- }, RP = gn(jA, o1 ? 500 : 200).map((t) => sx(OP, t)), tH = (t, s) => {
31222
+ }, RP = hn(jA, o1 ? 500 : 200).map((t) => sx(OP, t)), tH = (t, s) => {
31221
31223
  const a = fn(t.getOr(""));
31222
31224
  return {
31223
31225
  getValue: (c) => a.get(),
@@ -31573,7 +31575,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
31573
31575
  type: "nestedmenuitem",
31574
31576
  text: d.text,
31575
31577
  getSubmenuItems: () => FP(t, s, d.items, c)
31576
- }), QA = (t, s) => Qs(t, (a) => JA(a) ? gn(a.value === s, a) : QA(a.items, s)), eD = (t, s, a) => {
31578
+ }), QA = (t, s) => Qs(t, (a) => JA(a) ? hn(a.value === s, a) : QA(a.items, s)), eD = (t, s, a) => {
31577
31579
  const c = s.shared.providers, d = a.bind((C) => QA(t.items, C)).orThunk(() => vr(t.items).filter(JA)), g = t.label.map((C) => xd(C, c)), p = Jo.parts.field({
31578
31580
  dom: {},
31579
31581
  factory: {
@@ -33841,7 +33843,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
33841
33843
  a[s] = [t].concat(d).slice(0, kD), AV(a);
33842
33844
  }, ED = (t) => !!t, DV = (t) => qo(kh.makeMap(t, /[, ]/), ED), bk = (t) => A.from(DR(t)), jB = (t) => {
33843
33845
  const s = A.from(q4(t)).filter(ED).map(DV);
33844
- return bk(t).fold(hn, (a) => s.fold(Ge, (c) => ps(c).length > 0 ? c : !1));
33846
+ return bk(t).fold(gn, (a) => s.fold(Ge, (c) => ps(c).length > 0 ? c : !1));
33845
33847
  }, GB = (t, s) => {
33846
33848
  const a = jB(t);
33847
33849
  return Gn(a) ? a ? bk(t) : A.none() : a[s] ? bk(t) : A.none();
@@ -34049,7 +34051,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
34049
34051
  t.setGroups(s, a);
34050
34052
  }
34051
34053
  }
34052
- }), LV = me, XB = hn, JB = oe([]);
34054
+ }), LV = me, XB = gn, JB = oe([]);
34053
34055
  var xx = /* @__PURE__ */ Object.freeze({
34054
34056
  __proto__: null,
34055
34057
  setup: LV,
@@ -35015,7 +35017,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
35015
35017
  Oc.config({
35016
35018
  channels: {
35017
35019
  ...a0({
35018
- isExtraPart: hn,
35020
+ isExtraPart: gn,
35019
35021
  ...a.fireDismissalEventInstead.map((p) => ({ fireEventInstead: { event: p.event } })).getOr({})
35020
35022
  }),
35021
35023
  ...$p({
@@ -36189,7 +36191,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
36189
36191
  });
36190
36192
  }, JN = (t, s) => {
36191
36193
  const a = s(), c = tt(a, (d) => d.format);
36192
- return A.from(t.formatter.closest(c)).bind((d) => qe(a, (g) => g.format === d)).orThunk(() => gn(t.formatter.match("p"), {
36194
+ return A.from(t.formatter.closest(c)).bind((d) => qe(a, (g) => g.format === d)).orThunk(() => hn(t.formatter.match("p"), {
36193
36195
  title: "Paragraph",
36194
36196
  format: "p"
36195
36197
  }));
@@ -36246,7 +36248,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
36246
36248
  matchOpt: qe(O, (X) => {
36247
36249
  const ce = X.format;
36248
36250
  return ce.toLowerCase() === N || C(ce).toLowerCase() === C(N).toLowerCase();
36249
- }).orThunk(() => gn(_U(N, H), {
36251
+ }).orThunk(() => hn(_U(N, H), {
36250
36252
  title: gO,
36251
36253
  format: N
36252
36254
  })),
@@ -36277,7 +36279,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
36277
36279
  updateText: p,
36278
36280
  dataset: w,
36279
36281
  shouldHide: !1,
36280
- isInvalid: hn
36282
+ isInvalid: gn
36281
36283
  };
36282
36284
  }, kU = (t, s) => fm(t, s, hO(t), fO, "FontFamilyTextUpdate"), a6 = (t, s) => {
36283
36285
  const a = G0(t, s, hO(t));
@@ -36532,7 +36534,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
36532
36534
  updateText: p,
36533
36535
  dataset: w,
36534
36536
  shouldHide: !1,
36535
- isInvalid: hn
36537
+ isInvalid: gn
36536
36538
  };
36537
36539
  }, NU = (t, s) => fm(t, s, pO(t), i6, "FontSizeTextUpdate"), IU = (t) => {
36538
36540
  var s;
@@ -36904,7 +36906,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
36904
36906
  onSetup: t.onSetup
36905
36907
  }, s), y6 = (t, s, a) => (c) => ec.nu((d) => s.fetch(d)).map((d) => A.from($_(Zo(eA(Zt("menu-value"), d, (g) => {
36906
36908
  s.onItemAction(t(c), g);
36907
- }, s.columns, s.presets, af.CLOSE_ON_EXECUTE, s.select.getOr(hn), a), {
36909
+ }, s.columns, s.presets, af.CLOSE_ON_EXECUTE, s.select.getOr(gn), a), {
36908
36910
  movement: A_(s.columns, s.presets),
36909
36911
  menuBehaviours: Nw.unnamedEvents(s.columns !== "auto" ? [] : [xs((g, p) => {
36910
36912
  E3(g, 4, ZR(s.presets)).each(({ numRows: w, numColumns: C }) => {
@@ -37828,7 +37830,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
37828
37830
  t.on("remove", ce), t.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", $e), t.on("click keyup focus SetContent", Un.throttle), t.on(D6, ce), t.on(fW, (Ut) => {
37829
37831
  const An = pe();
37830
37832
  bt(An.lookupTable, Ut.toolbarKey).each((Cn) => {
37831
- yt([Cn], gn(Ut.target !== t, Ut.target)), cr.getContent(O).each(cn.focusIn);
37833
+ yt([Cn], hn(Ut.target !== t, Ut.target)), cr.getContent(O).each(cn.focusIn);
37832
37834
  });
37833
37835
  }), t.on("focusout", (Ut) => {
37834
37836
  A0.setEditorTimeout(t, () => {
@@ -38723,7 +38725,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
38723
38725
  Re("mustSnap", !1)
38724
38726
  ]);
38725
38727
  const BO = [
38726
- Re("useFixed", hn),
38728
+ Re("useFixed", gn),
38727
38729
  nt("blockerClass"),
38728
38730
  Re("getTarget", Nn),
38729
38731
  Re("onDrag", me),
@@ -40938,7 +40940,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
40938
40940
  const c = Zt("dialog"), d = t.internalDialog, g = St(d.title, c, a), p = fn(d.size), w = Ja(p.get()).toArray(), C = (pe, Oe) => (p.set(Oe.internalDialog.size), p1(Oe.internalDialog.size, pe), A.some(Oe)), E = Hx({
40939
40941
  body: d.body,
40940
40942
  initialData: d.initialData
40941
- }, c, a), O = bT(d.buttons), N = KO(O), H = gn(O.length !== 0, Td({ buttons: O }, c, a)), W = no(() => we, sn(() => ce, a.shared.providers, s), a.shared.getSink), X = {
40943
+ }, c, a), O = bT(d.buttons), N = KO(O), H = hn(O.length !== 0, Td({ buttons: O }, c, a)), W = no(() => we, sn(() => ce, a.shared.providers, s), a.shared.getSink), X = {
40942
40944
  id: c,
40943
40945
  header: g,
40944
40946
  body: E,
@@ -40977,7 +40979,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
40977
40979
  }, g, p, a.shared.providers)), W = Xo(vg({
40978
40980
  body: C.body,
40979
40981
  initialData: C.initialData
40980
- }, g, w, a, c)), X = bT(C.buttons), ce = KO(X), $e = gn(X.length !== 0, Xo(Fc({ buttons: X }, g, a))), we = no(() => Xe, {
40982
+ }, g, w, a, c)), X = bT(C.buttons), ce = KO(X), $e = hn(X.length !== 0, Xo(Fc({ buttons: X }, g, a))), we = no(() => Xe, {
40981
40983
  onBlock: (Ze) => {
40982
40984
  mm.block(Oe, (yt, Tt) => {
40983
40985
  const Un = H.getOpt(Oe).map((Ut) => Vs(Ut.element));
@@ -41530,7 +41532,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
41530
41532
  }
41531
41533
  }
41532
41534
  fe.singletonNone = new fe(!1);
41533
- const Wt = Array.prototype.slice, hn = Array.prototype.indexOf, Ge = Array.prototype.push, A = (i, m) => hn.call(i, m), Vt = (i, m) => A(i, m) > -1, et = (i, m) => {
41535
+ const Wt = Array.prototype.slice, gn = Array.prototype.indexOf, Ge = Array.prototype.push, A = (i, m) => gn.call(i, m), Vt = (i, m) => A(i, m) > -1, et = (i, m) => {
41534
41536
  for (let h = 0, v = i.length; h < v; h++) {
41535
41537
  const _ = i[h];
41536
41538
  if (m(_, h))
@@ -41681,7 +41683,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
41681
41683
  }, Qo = Object.getPrototypeOf, Gi = (i) => di("HTMLElement", i), bt = (i) => {
41682
41684
  const m = wr("ownerDocument.defaultView", i);
41683
41685
  return Q(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(Qo(i).constructor.name));
41684
- }, fo = 8, Er = 9, Aa = 11, Bl = 1, Da = 3, es = (i) => i.dom.nodeName.toLowerCase(), tl = (i) => i.dom.nodeType, bl = (i) => (m) => tl(m) === i, Yo = (i) => tl(i) === fo || es(i) === "#comment", gn = (i) => Ar(i) && bt(i.dom), Ar = bl(Bl), Nl = bl(Da), Hc = bl(Er), mi = bl(Aa), xr = (i) => (m) => Ar(m) && es(m) === i, dr = (i, m, h) => {
41686
+ }, fo = 8, Er = 9, Aa = 11, Bl = 1, Da = 3, es = (i) => i.dom.nodeName.toLowerCase(), tl = (i) => i.dom.nodeType, bl = (i) => (m) => tl(m) === i, Yo = (i) => tl(i) === fo || es(i) === "#comment", hn = (i) => Ar(i) && bt(i.dom), Ar = bl(Bl), Nl = bl(Da), Hc = bl(Er), mi = bl(Aa), xr = (i) => (m) => Ar(m) && es(m) === i, dr = (i, m, h) => {
41685
41687
  if (Ae(h) || $t(h) || Io(h))
41686
41688
  i.setAttribute(m, h + "");
41687
41689
  else
@@ -42641,7 +42643,7 @@ The conflicting element is` + (lo(N.element) ? " " : " not ") + "already in the
42641
42643
  D.dom.nodeValue = L;
42642
42644
  }
42643
42645
  };
42644
- })(Nl, "text"), on = (i) => Ot.get(i), Vn = (i) => Ot.getOption(i), ar = (i, m) => Ot.set(i, m), Bo = (i) => es(i) === "img" ? 1 : Vn(i).fold(() => Do(i).length, (m) => m.length), Bs = (i) => Vn(i).filter((m) => m.trim().length !== 0 || m.indexOf(We) > -1).isSome(), mc = (i) => gn(i) && Vr(i, "contenteditable") === "false", Gl = [
42646
+ })(Nl, "text"), on = (i) => Ot.get(i), Vn = (i) => Ot.getOption(i), ar = (i, m) => Ot.set(i, m), Bo = (i) => es(i) === "img" ? 1 : Vn(i).fold(() => Do(i).length, (m) => m.length), Bs = (i) => Vn(i).filter((m) => m.trim().length !== 0 || m.indexOf(We) > -1).isSome(), mc = (i) => hn(i) && Vr(i, "contenteditable") === "false", Gl = [
42645
42647
  "img",
42646
42648
  "br"
42647
42649
  ], Xc = (i) => Bs(i) || Vt(Gl, es(i)) || mc(i), Ld = (i) => Cr(i, Xc), cu = (i) => Ug(i, Xc), Ug = (i, m) => {
@@ -44916,7 +44918,7 @@ Required: ` + m.join(", "));
44916
44918
  mouseover: D.mouseover,
44917
44919
  mouseup: D.mouseup
44918
44920
  };
44919
- }, bv = (i) => Ua(i, gn).exists(Of), d0 = (i, m) => bv(i) || bv(m), vv = (i, m, h, v) => {
44921
+ }, bv = (i) => Ua(i, hn).exists(Of), d0 = (i, m) => bv(i) || bv(m), vv = (i, m, h, v) => {
44920
44922
  const _ = Np(i), D = () => (v.clear(m), fe.none());
44921
44923
  return {
44922
44924
  keydown: (ee, ie, De, at, Mt, Rt) => {
@@ -45797,7 +45799,7 @@ Required: ` + m.join(", "));
45797
45799
  $(it, ae) && U.push(it);
45798
45800
  }
45799
45801
  return U;
45800
- }, hn = (S, $) => {
45802
+ }, gn = (S, $) => {
45801
45803
  if (S.length === 0)
45802
45804
  return [];
45803
45805
  {
@@ -46285,7 +46287,7 @@ Required: ` + m.join(", "));
46285
46287
  }, kg = (S, $) => {
46286
46288
  const U = Zc($);
46287
46289
  return wf(S.contentDocument, U).toArray();
46288
- }, Tg = (S, $) => Ao(hn($, Pa), (U) => jo(U).exists(Pa) ? kg(S, U) : eu(S, U)), Eg = (S, $) => {
46290
+ }, Tg = (S, $) => Ao(gn($, Pa), (U) => jo(U).exists(Pa) ? kg(S, U) : eu(S, U)), Eg = (S, $) => {
46289
46291
  fe(Wt(S, fa), (U) => Cm($, U));
46290
46292
  }, Yu = (S) => {
46291
46293
  const $ = je(I(S), yn.fromDom);
@@ -46949,7 +46951,7 @@ Required: ` + m.join(", "));
46949
46951
  return Ne;
46950
46952
  }
46951
46953
  return un.none();
46952
- }, Wt = (j, ue, ke = pr) => j.exists((Ne) => ke(Ne, ue)), hn = (j) => {
46954
+ }, Wt = (j, ue, ke = pr) => j.exists((Ne) => ke(Ne, ue)), gn = (j) => {
46953
46955
  const ue = [], ke = (Ne) => {
46954
46956
  ue.push(Ne);
46955
46957
  };
@@ -47116,7 +47118,7 @@ Required: ` + m.join(", "));
47116
47118
  const ue = j.selection.getNode();
47117
47119
  fo(ue) ? mi(j, ue) : bl(j), j.focus();
47118
47120
  });
47119
- }, gn = (j) => {
47121
+ }, hn = (j) => {
47120
47122
  const {
47121
47123
  class: ue,
47122
47124
  href: ke,
@@ -47145,7 +47147,7 @@ Required: ` + m.join(", "));
47145
47147
  };
47146
47148
  }, Nl = (j, ue, ke) => {
47147
47149
  const Ne = Ar(j, ke);
47148
- j.hasPlugin("rtc", !0) ? j.execCommand("createlink", !1, gn(Ne)) : tl(j, ue, Ne);
47150
+ j.hasPlugin("rtc", !0) ? j.execCommand("createlink", !1, hn(Ne)) : tl(j, ue, Ne);
47149
47151
  }, Hc = (j) => {
47150
47152
  j.hasPlugin("rtc", !0) ? j.execCommand("unlink") : Yo(j);
47151
47153
  }, mi = (j, ue) => {
@@ -47376,7 +47378,7 @@ Required: ` + m.join(", "));
47376
47378
  Ne,
47377
47379
  mt,
47378
47380
  mn,
47379
- hn([
47381
+ gn([
47380
47382
  Wo.anchor.map(Ke.createUi("anchor", "Anchors")),
47381
47383
  Wo.rels.map(Ke.createUi("rel", "Rel")),
47382
47384
  Wo.targets.map(Ke.createUi("target", "Open link in...")),
@@ -47692,7 +47694,7 @@ Required: ` + m.join(", "));
47692
47694
  }, Bn = (I, Y) => {
47693
47695
  const re = {};
47694
47696
  return os(I, Y, Nn(re), me), re;
47695
- }, je = (I, Y) => Qn.call(I, Y), fe = (I, Y) => je(I, Y) && I[Y] !== void 0 && I[Y] !== null, Wt = Array.prototype.push, hn = (I) => {
47697
+ }, je = (I, Y) => Qn.call(I, Y), fe = (I, Y) => je(I, Y) && I[Y] !== void 0 && I[Y] !== null, Wt = Array.prototype.push, gn = (I) => {
47696
47698
  const Y = [];
47697
47699
  for (let re = 0, Le = I.length; re < Le; ++re) {
47698
47700
  if (!_n(I[re]))
@@ -47871,7 +47873,7 @@ Required: ` + m.join(", "));
47871
47873
  }, Yo = (I, Y) => {
47872
47874
  const re = Qs(Y);
47873
47875
  I.style.borderWidth = re;
47874
- }, gn = (I, Y) => {
47876
+ }, hn = (I, Y) => {
47875
47877
  I.style.borderStyle = Y;
47876
47878
  }, Ar = (I) => {
47877
47879
  var Y;
@@ -47893,7 +47895,7 @@ Required: ` + m.join(", "));
47893
47895
  }), Us = (I, Y) => {
47894
47896
  var re;
47895
47897
  const Le = document.createElement("img");
47896
- return bt(Le, "style", Y.style), (wr(Le) || Y.hspace !== "") && tl(Le, Y.hspace), (Pl(Le) || Y.vspace !== "") && bl(Le, Y.vspace), (di(Le) || Y.border !== "") && Yo(Le, Y.border), (Ar(Le) || Y.borderStyle !== "") && gn(Le, Y.borderStyle), I((re = Le.getAttribute("style")) !== null && re !== void 0 ? re : "");
47898
+ return bt(Le, "style", Y.style), (wr(Le) || Y.hspace !== "") && tl(Le, Y.hspace), (Pl(Le) || Y.vspace !== "") && bl(Le, Y.vspace), (di(Le) || Y.border !== "") && Yo(Le, Y.border), (Ar(Le) || Y.borderStyle !== "") && hn(Le, Y.borderStyle), I((re = Le.getAttribute("style")) !== null && re !== void 0 ? re : "");
47897
47899
  }, vl = (I, Y) => {
47898
47900
  const re = document.createElement("img");
47899
47901
  if (sc(I, {
@@ -47941,7 +47943,7 @@ Required: ` + m.join(", "));
47941
47943
  I(re, Dt), Bl(re, Y);
47942
47944
  }, sc = (I, Y, re) => {
47943
47945
  const Le = qi(I, re);
47944
- Vr(re, Le, Y, "caption", (Dt, Xn, qt) => Aa(Dt)), Vr(re, Le, Y, "src", bt), Vr(re, Le, Y, "title", bt), Vr(re, Le, Y, "width", Da("width", I)), Vr(re, Le, Y, "height", Da("height", I)), Vr(re, Le, Y, "class", bt), Vr(re, Le, Y, "style", Dr((Dt, Xn) => bt(Dt, "style", Xn), I)), Vr(re, Le, Y, "hspace", Dr(tl, I)), Vr(re, Le, Y, "vspace", Dr(bl, I)), Vr(re, Le, Y, "border", Dr(Yo, I)), Vr(re, Le, Y, "borderStyle", Dr(gn, I)), Is(re, Le, Y);
47946
+ Vr(re, Le, Y, "caption", (Dt, Xn, qt) => Aa(Dt)), Vr(re, Le, Y, "src", bt), Vr(re, Le, Y, "title", bt), Vr(re, Le, Y, "width", Da("width", I)), Vr(re, Le, Y, "height", Da("height", I)), Vr(re, Le, Y, "class", bt), Vr(re, Le, Y, "style", Dr((Dt, Xn) => bt(Dt, "style", Xn), I)), Vr(re, Le, Y, "hspace", Dr(tl, I)), Vr(re, Le, Y, "vspace", Dr(bl, I)), Vr(re, Le, Y, "border", Dr(Yo, I)), Vr(re, Le, Y, "borderStyle", Dr(hn, I)), Is(re, Le, Y);
47945
47947
  }, Vc = (I, Y) => {
47946
47948
  const re = I.dom.styles.parse(Y), Le = ps(re), Dt = I.dom.styles.parse(I.dom.styles.serialize(Le));
47947
47949
  return I.dom.styles.serialize(Dt);
@@ -48112,7 +48114,7 @@ Required: ` + m.join(", "));
48112
48114
  }) }, Ls = (I) => {
48113
48115
  const Y = ia.sanitizer((Ms) => I.convertURL(Ms.value || Ms.url || "", "src")), re = new Promise((Ms) => {
48114
48116
  ji(I, (pi) => {
48115
- Ms(Y(pi).map((Vs) => hn([
48117
+ Ms(Y(pi).map((Vs) => gn([
48116
48118
  [{
48117
48119
  text: "None",
48118
48120
  value: ""
@@ -48186,7 +48188,7 @@ Required: ` + m.join(", "));
48186
48188
  type: "grid",
48187
48189
  columns: 2
48188
48190
  } : { type: "panel" };
48189
- return hn([
48191
+ return gn([
48190
48192
  [Y],
48191
48193
  re.toArray(),
48192
48194
  I.hasAccessibilityOptions && I.hasDescription ? [qt] : [],
@@ -48195,7 +48197,7 @@ Required: ` + m.join(", "));
48195
48197
  I.hasDimensions ? [Xn] : [],
48196
48198
  [{
48197
48199
  ...as(I.classList.isSome() && I.hasImageCaption),
48198
- items: hn([
48200
+ items: gn([
48199
48201
  $s.toArray(),
48200
48202
  I.hasImageCaption ? [ct] : []
48201
48203
  ])
@@ -48330,7 +48332,7 @@ Required: ` + m.join(", "));
48330
48332
  I.open = !1;
48331
48333
  }, ju = (I) => I.hasAdvTab || I.hasUploadUrl || I.hasUploadHandler ? {
48332
48334
  type: "tabpanel",
48333
- tabs: hn([
48335
+ tabs: gn([
48334
48336
  [Xi.makeTab(I)],
48335
48337
  I.hasAdvTab ? [ua.makeTab(I)] : [],
48336
48338
  I.hasUploadTab && (I.hasUploadUrl || I.hasUploadHandler) ? [Or.makeTab(I)] : []
@@ -48562,12 +48564,12 @@ Required: ` + m.join(", "));
48562
48564
  }, Wt = (x, T) => {
48563
48565
  const V = {};
48564
48566
  return fe(x, T, je(V), Gs), V;
48565
- }, hn = (x, T) => {
48567
+ }, gn = (x, T) => {
48566
48568
  const V = [];
48567
48569
  return Bn(x, (K, be) => {
48568
48570
  V.push(T(K, be));
48569
48571
  }), V;
48570
- }, Ge = (x) => hn(x, pr), A = (x) => Nn(x).length, Vt = (x, T) => et(x, T) ? oe.from(x[T]) : oe.none(), et = (x, T) => os.call(x, T), Ao = (x, T) => et(x, T) && x[T] !== void 0 && x[T] !== null, dn = (x) => {
48572
+ }, Ge = (x) => gn(x, pr), A = (x) => Nn(x).length, Vt = (x, T) => et(x, T) ? oe.from(x[T]) : oe.none(), et = (x, T) => os.call(x, T), Ao = (x, T) => et(x, T) && x[T] !== void 0 && x[T] !== null, dn = (x) => {
48571
48573
  for (const T in x)
48572
48574
  if (os.call(x, T))
48573
48575
  return !1;
@@ -48707,7 +48709,7 @@ Required: ` + m.join(", "));
48707
48709
  return wr(V) ? oe.none() : oe.from(V.querySelector(x)).map(Jn.fromDom);
48708
48710
  }, Qo = (x, T) => x.dom === T.dom, Gi = bs;
48709
48711
  typeof window < "u" || Function("return this;")();
48710
- const bt = (x) => x.dom.nodeName.toLowerCase(), fo = (x) => x.dom.nodeType, Er = (x) => (T) => fo(T) === x, Aa = (x) => fo(x) === hs || bt(x) === "#comment", Bl = Er(yr), Da = Er(Qs), es = Er(vr), tl = Er(yc), bl = (x) => (T) => Bl(T) && bt(T) === x, Yo = (x) => Jn.fromDom(x.dom.ownerDocument), gn = (x) => es(x) ? x : Yo(x), Ar = (x) => oe.from(x.dom.parentNode).map(Jn.fromDom), Nl = (x, T) => {
48712
+ const bt = (x) => x.dom.nodeName.toLowerCase(), fo = (x) => x.dom.nodeType, Er = (x) => (T) => fo(T) === x, Aa = (x) => fo(x) === hs || bt(x) === "#comment", Bl = Er(yr), Da = Er(Qs), es = Er(vr), tl = Er(yc), bl = (x) => (T) => Bl(T) && bt(T) === x, Yo = (x) => Jn.fromDom(x.dom.ownerDocument), hn = (x) => es(x) ? x : Yo(x), Ar = (x) => oe.from(x.dom.parentNode).map(Jn.fromDom), Nl = (x, T) => {
48711
48713
  const V = Gn(T) ? T : Ea;
48712
48714
  let K = x.dom;
48713
48715
  const be = [];
@@ -48721,7 +48723,7 @@ Required: ` + m.join(", "));
48721
48723
  }, Hc = (x) => oe.from(x.dom.previousSibling).map(Jn.fromDom), mi = (x) => oe.from(x.dom.nextSibling).map(Jn.fromDom), xr = (x) => pt(x.dom.childNodes, Jn.fromDom), dr = (x, T) => {
48722
48724
  const V = x.dom.childNodes;
48723
48725
  return oe.from(V[T]).map(Jn.fromDom);
48724
- }, Us = (x) => dr(x, 0), vl = (x) => tl(x) && _n(x.dom.host), Vr = Gn(Element.prototype.attachShadow) && Gn(Node.prototype.getRootNode) ? (x) => Jn.fromDom(x.dom.getRootNode()) : gn, ca = (x) => {
48726
+ }, Us = (x) => dr(x, 0), vl = (x) => tl(x) && _n(x.dom.host), Vr = Gn(Element.prototype.attachShadow) && Gn(Node.prototype.getRootNode) ? (x) => Jn.fromDom(x.dom.getRootNode()) : hn, ca = (x) => {
48725
48727
  const T = Vr(x);
48726
48728
  return vl(T) ? oe.some(T) : oe.none();
48727
48729
  }, Is = (x) => Jn.fromDom(x.dom.host), Dr = (x) => {
@@ -49151,7 +49153,7 @@ Required: ` + m.join(", "));
49151
49153
  "pre",
49152
49154
  "address"
49153
49155
  ], Rr = () => {
49154
- const x = (Vn) => Jn.fromDom(Vn.dom.cloneNode(!1)), T = (Vn) => gn(Vn).dom, V = (Vn) => Bl(Vn) ? bt(Vn) === "body" ? !0 : ao(ja, bt(Vn)) : !1, K = (Vn) => Bl(Vn) ? ao([
49156
+ const x = (Vn) => Jn.fromDom(Vn.dom.cloneNode(!1)), T = (Vn) => hn(Vn).dom, V = (Vn) => Bl(Vn) ? bt(Vn) === "body" ? !0 : ao(ja, bt(Vn)) : !1, K = (Vn) => Bl(Vn) ? ao([
49155
49157
  "br",
49156
49158
  "img",
49157
49159
  "hr",
@@ -50806,11 +50808,11 @@ Required: ` + T.join(", "));
50806
50808
  const _e = ge(qe, At), yn = Pt(_e);
50807
50809
  return Nn(qe, _e, yn, Ke);
50808
50810
  }, fe = (qe, At, Ke) => Bn(qe, At, Ke).words, Wt = (qe) => qe.replace(/\uFEFF/g, "");
50809
- var hn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
50811
+ var gn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
50810
50812
  const Ge = (qe, At) => {
50811
50813
  const Ke = At.getBlockElements(), _e = At.getVoidElements(), yn = (Va) => Ke[Va.nodeName] || _e[Va.nodeName], Go = [];
50812
50814
  let Ft = "";
50813
- const Tr = new hn(qe, qe);
50815
+ const Tr = new gn(qe, qe);
50814
50816
  let Lo;
50815
50817
  for (; Lo = Tr.next(); )
50816
50818
  Lo.nodeType === 3 ? Ft += Wt(Lo.data) : yn(Lo) && Ft.length && (Go.push(Ft), Ft = "");