golden-logic-ui 1.0.341 → 1.0.342

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.
@@ -1,4 +1,4 @@
1
- import { openBlock as ve, createElementBlock as we, createElementVNode as P, createCommentVNode as ht, createStaticVNode as Dq, reactive as Oq, resolveComponent as ky, Fragment as go, createVNode as cb, normalizeClass as an, toDisplayString as ft, withModifiers as oc, withDirectives as Qa, vModelText as vm, renderList as hr, normalizeStyle as Dj, computed as vc, renderSlot as vf, ref as Eo, onMounted as Oh, watch as Gx, createTextVNode as ko, vShow as n5, nextTick as Oj, createBlock as Ty, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as XG, useSlots as Rq, provide as JG, inject as QG, pushScopeId as $q, popScopeId as Mq, vModelCheckbox as eq, onBeforeUnmount as tq, toHandlers as Ej, onUnmounted as Pq, TransitionGroup as Bq, unref as Nq, resolveDirective as nq, markRaw as Iq } from "vue";
1
+ import { openBlock as ve, createElementBlock as we, createElementVNode as P, createCommentVNode as ht, createStaticVNode as Dq, reactive as Oq, resolveComponent as ky, Fragment as go, createVNode as cb, normalizeClass as an, toDisplayString as ft, withModifiers as oc, withDirectives as Qa, vModelText as vm, renderList as hr, normalizeStyle as Dj, computed as vc, renderSlot as vf, ref as Eo, onMounted as Oh, onBeforeUnmount as Oj, watch as Gx, createTextVNode as ko, vShow as n5, nextTick as Rj, createBlock as Ty, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as JG, useSlots as Rq, provide as QG, inject as eq, pushScopeId as $q, popScopeId as Mq, vModelCheckbox as tq, toHandlers as Ej, onUnmounted as Pq, TransitionGroup as Bq, unref as Nq, resolveDirective as nq, markRaw as Iq } from "vue";
2
2
  const qr = (O, ie) => {
3
3
  const te = O.__vccOpts || O;
4
4
  for (const [ke, ce] of ie)
@@ -50,7 +50,7 @@ function jq(O, ie, te, ke, ce, G) {
50
50
  ])
51
51
  ])) : ht("", !0);
52
52
  }
53
- const Rj = /* @__PURE__ */ qr(Lq, [["render", jq]]), Aj = Oq({
53
+ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Aj = Oq({
54
54
  items: []
55
55
  }), Gq = {
56
56
  add(O) {
@@ -69,7 +69,7 @@ const Rj = /* @__PURE__ */ qr(Lq, [["render", jq]]), Aj = Oq({
69
69
  methods: Gq
70
70
  }, qq = {
71
71
  components: {
72
- DeleteConfirmationModal: Rj
72
+ DeleteConfirmationModal: $j
73
73
  },
74
74
  props: {
75
75
  is_required: {
@@ -518,14 +518,14 @@ const Mae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
518
518
  if (Cn.value) {
519
519
  Un.value = Cn.value.offsetWidth;
520
520
  var st = Cn.value.getBoundingClientRect();
521
- Ko.value = st.top + 41;
521
+ Ko.value = st.top + 41 + (te.label_name ? 0 : 22);
522
522
  }
523
523
  }, Oo = (st) => {
524
524
  st.key === "Enter" && st.target.form && st.preventDefault();
525
525
  };
526
526
  Oh(() => {
527
527
  Pt.value = _t(), te.show || (window.addEventListener("scroll", Ms), document.body.addEventListener("click", We), document.addEventListener("keypress", Oo));
528
- }), onBeforeUnmount(() => {
528
+ }), Oj(() => {
529
529
  window.removeEventListener("scroll", Ms), document.body.removeEventListener("click", We), document.removeEventListener("keypress", Oo);
530
530
  });
531
531
  const Ot = vc(() => At()), pr = vc(() => A()), dn = vc(() => {
@@ -627,7 +627,7 @@ const Mae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
627
627
  Pe.value = !1;
628
628
  return;
629
629
  }
630
- ut.value = "", Pe.value = !0, Oj(() => {
630
+ ut.value = "", Pe.value = !0, Rj(() => {
631
631
  Ms();
632
632
  var st = document.getElementById(
633
633
  `${te.field_name}search${Pt.value}`
@@ -1358,7 +1358,7 @@ const Nae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1358
1358
  ref: G,
1359
1359
  placeholder: O.placeholder
1360
1360
  }, null, 42, RY), [
1361
- [XG, Ae.value]
1361
+ [JG, Ae.value]
1362
1362
  ]),
1363
1363
  P("span", $Y, ft(O.error_message), 1),
1364
1364
  P("small", MY, ft(O.description), 1)
@@ -1466,7 +1466,7 @@ const Nae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1466
1466
  ref: G,
1467
1467
  placeholder: O.placeholder
1468
1468
  }, null, 42, HY), [
1469
- [XG, Ae.value]
1469
+ [JG, Ae.value]
1470
1470
  ])
1471
1471
  ]),
1472
1472
  P("label", VY, ft(O.input_text), 1)
@@ -1691,7 +1691,7 @@ const Nae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1691
1691
  emits: ["TabChange"],
1692
1692
  setup(O, { emit: ie }) {
1693
1693
  const te = ie, ke = Rq(), ce = Eo(ke.default().map((Q) => Q.props)), G = Eo(ce.value[0].title);
1694
- JG("selectedTitle", G), te("TabChange", ce.value[0].title);
1694
+ QG("selectedTitle", G), te("TabChange", ce.value[0].title);
1695
1695
  const Ae = (Q) => {
1696
1696
  te("TabChange", Q);
1697
1697
  };
@@ -1731,7 +1731,7 @@ const Nae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
1731
1731
  props: ["title"],
1732
1732
  setup() {
1733
1733
  return {
1734
- selectedTitle: QG("selectedTitle")
1734
+ selectedTitle: eq("selectedTitle")
1735
1735
  };
1736
1736
  }
1737
1737
  }, pX = {
@@ -2340,7 +2340,7 @@ const jae = /* @__PURE__ */ qr(vX, [["render", CJ], ["__scopeId", "data-v-a94f16
2340
2340
  ref: ce,
2341
2341
  "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2342
2342
  }, null, 8, LJ), [
2343
- [eq, G.value]
2343
+ [tq, G.value]
2344
2344
  ]),
2345
2345
  FJ
2346
2346
  ])
@@ -2447,7 +2447,7 @@ const jae = /* @__PURE__ */ qr(vX, [["render", CJ], ["__scopeId", "data-v-a94f16
2447
2447
  ref: ce,
2448
2448
  "onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
2449
2449
  }, null, 8, XJ), [
2450
- [eq, G.value]
2450
+ [tq, G.value]
2451
2451
  ]),
2452
2452
  JJ
2453
2453
  ])
@@ -2560,14 +2560,14 @@ const jae = /* @__PURE__ */ qr(vX, [["render", CJ], ["__scopeId", "data-v-a94f16
2560
2560
  if (ut.value) {
2561
2561
  Pt.value = ut.value.offsetWidth;
2562
2562
  var Nt = ut.value.getBoundingClientRect();
2563
- Cn.value = Nt.top + 41;
2563
+ Cn.value = Nt.top + 41 + (te.label_name ? 0 : 22);
2564
2564
  }
2565
2565
  }, Ko = (Nt) => {
2566
2566
  Nt.key === "Enter" && Nt.target.form && Nt.preventDefault();
2567
2567
  };
2568
2568
  Oh(() => {
2569
2569
  Pe.value = dn(), te.show || (window.addEventListener("scroll", Un), document.body.addEventListener("click", _t), document.addEventListener("keypress", Ko));
2570
- }), tq(() => {
2570
+ }), Oj(() => {
2571
2571
  window.removeEventListener("scroll", Un), document.body.removeEventListener("click", _t), document.removeEventListener("keypress", Ko);
2572
2572
  });
2573
2573
  const Ms = vc(() => Pn()), Oo = vc(() => us()), Ot = vc(() => {
@@ -2644,7 +2644,7 @@ const jae = /* @__PURE__ */ qr(vX, [["render", CJ], ["__scopeId", "data-v-a94f16
2644
2644
  Ae.value = !1;
2645
2645
  return;
2646
2646
  }
2647
- Q.value = "", Ae.value = !0, Oj(() => {
2647
+ Q.value = "", Ae.value = !0, Rj(() => {
2648
2648
  Un();
2649
2649
  var Nt = document.getElementById(
2650
2650
  `${te.field_name}search${Pe.value}`
@@ -8815,12 +8815,12 @@ Required: ` + n.join(", "));
8815
8815
  _e(n, (o) => {
8816
8816
  rr(o, "name");
8817
8817
  });
8818
- }, $j = (e, n) => {
8818
+ }, Mj = (e, n) => {
8819
8819
  const o = Yl(e), r = new RegExp(`^(<${o}[^>]*>(&nbsp;|&#160;|\\s| |<br \\/>|)<\\/${o}>[\r
8820
8820
  ]*|<br \\/>[\r
8821
8821
  ]*)$`);
8822
8822
  return n.replace(r, "");
8823
- }, Mj = (e, n) => {
8823
+ }, Pj = (e, n) => {
8824
8824
  const o = e.getDoc(), r = xi(le.fromDom(e.getBody())), l = le.fromTag("div", o);
8825
8825
  xs(l, "data-mce-bogus", "all"), pa(l, {
8826
8826
  position: "fixed",
@@ -8833,8 +8833,8 @@ Required: ` + n.join(", "));
8833
8833
  return xo(l), f;
8834
8834
  }, O7 = (e, n, o) => {
8835
8835
  let r;
8836
- return n.format === "raw" ? r = lt.trim(V(U5(o, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? r = Mj(e, o) : n.format === "tree" ? r = e.serializer.serialize(o, n) : r = $j(e, e.serializer.serialize(o, n)), n.format !== "text" && !Yr(le.fromDom(o)) && fe(r) ? lt.trim(r) : r;
8837
- }, Pj = (e, n) => z.from(e.getBody()).fold(rt(n.format === "tree" ? new Bc("body", 11) : ""), (o) => O7(e, n, o)), R7 = lt.makeMap, W5 = (e) => {
8836
+ return n.format === "raw" ? r = lt.trim(V(U5(o, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? r = Pj(e, o) : n.format === "tree" ? r = e.serializer.serialize(o, n) : r = Mj(e, e.serializer.serialize(o, n)), n.format !== "text" && !Yr(le.fromDom(o)) && fe(r) ? lt.trim(r) : r;
8837
+ }, Bj = (e, n) => z.from(e.getBody()).fold(rt(n.format === "tree" ? new Bc("body", 11) : ""), (o) => O7(e, n, o)), R7 = lt.makeMap, W5 = (e) => {
8838
8838
  const n = [];
8839
8839
  e = e || {};
8840
8840
  const o = e.indent, r = R7(e.indent_before || ""), l = R7(e.indent_after || ""), u = Mf.getEncodeFunc(e.entity_encoding || "raw", e.entities), f = e.element_format !== "xhtml";
@@ -9275,7 +9275,7 @@ Required: ` + n.join(", "));
9275
9275
  return vI(r, n, o) ? r.map((u) => xw.singleCellTable(n, u.start)) : l.isMultiTable ? om(r, l, n, o) : vR(r, l, n, o);
9276
9276
  }, yR = (e) => _e(e, (n) => {
9277
9277
  rr(n, "contenteditable"), Au(n);
9278
- }), Bj = (e, n) => z.from(e.dom.getParent(n, e.dom.isBlock)).map(le.fromDom), V4 = (e, n, o) => {
9278
+ }), Nj = (e, n) => z.from(e.dom.getParent(n, e.dom.isBlock)).map(le.fromDom), V4 = (e, n, o) => {
9279
9279
  o.each((r) => {
9280
9280
  n ? xo(r) : (Au(r), e.selection.setCursorLocation(r.dom, 0));
9281
9281
  });
@@ -9287,7 +9287,7 @@ Required: ` + n.join(", "));
9287
9287
  kf(o.dom) && gr(o) ? e.selection.setCursorLocation(o.dom, 0) : e.selection.collapse(!0), n.length > 1 && Dt(n, (r) => wo(r, o)) && xs(o, "data-mce-selected", "1");
9288
9288
  }, wR = (e, n, o) => z.some(() => {
9289
9289
  const r = e.selection.getRng(), l = o.bind(({ rng: u, isStartInTable: f }) => {
9290
- const b = Bj(e, f ? u.endContainer : u.startContainer);
9290
+ const b = Nj(e, f ? u.endContainer : u.startContainer);
9291
9291
  u.deleteContents(), V4(e, f, b.filter(gr));
9292
9292
  const y = f ? n[0] : n[n.length - 1];
9293
9293
  return z4(e, y, r, f), gr(y) ? z.none() : z.some(f ? n.slice(1) : n.slice(0, -1));
@@ -9562,7 +9562,7 @@ Required: ` + n.join(", "));
9562
9562
  return u && (u.insertBefore(l[0], e), lt.each(n, (f) => {
9563
9563
  u.insertBefore(f, e);
9564
9564
  }), u.insertBefore(l[1], e), u.removeChild(e)), o3(n[n.length - 1], o);
9565
- }, Nj = (e, n, o) => {
9565
+ }, Ij = (e, n, o) => {
9566
9566
  const r = e.parentNode;
9567
9567
  return r && lt.each(n, (l) => {
9568
9568
  r.insertBefore(l, e);
@@ -9572,7 +9572,7 @@ Required: ` + n.join(", "));
9572
9572
  const F = Le.fromRangeStart(o), J = md(n.getRoot()), ne = B === b ? J.prev(F) : J.next(F), q = ne == null ? void 0 : ne.getNode();
9573
9573
  return q ? ng(n, q) !== u : !0;
9574
9574
  };
9575
- return u ? M(b) ? Nj(u, f, k) : M(y) ? SI(u, f, k, n) : CI(u, f, k, o) : null;
9575
+ return u ? M(b) ? Ij(u, f, k) : M(y) ? SI(u, f, k, n) : CI(u, f, k, o) : null;
9576
9576
  }, af = ["pre"], r3 = (e, n, o, r) => {
9577
9577
  var l;
9578
9578
  const u = n.firstChild, f = n.lastChild, b = f.attr("data-mce-type") === "bookmark" ? f.prev : f, y = u === b, k = qe(af, u.name);
@@ -10584,7 +10584,7 @@ Required: ` + n.join(", "));
10584
10584
  }
10585
10585
  }
10586
10586
  });
10587
- }, Ij = (e) => fetch(e).then((n) => n.ok ? n.blob() : Promise.reject()).catch(() => Promise.reject({
10587
+ }, Lj = (e) => fetch(e).then((n) => n.ok ? n.blob() : Promise.reject()).catch(() => Promise.reject({
10588
10588
  message: `Cannot convert ${e} to Blob. Resource might not exist or is inaccessible.`,
10589
10589
  uriType: "blob"
10590
10590
  })), Nw = (e) => {
@@ -10615,7 +10615,7 @@ Required: ` + n.join(", "));
10615
10615
  return z.some(new Blob([l], { type: e }));
10616
10616
  }, Iw = (e) => new Promise((n, o) => {
10617
10617
  h_(e).bind(({ type: r, data: l, base64Encoded: u }) => Zv(r, l, u)).fold(() => o("Invalid data URI"), n);
10618
- }), S$ = (e) => Ts(e, "blob:") ? Ij(e) : Ts(e, "data:") ? Iw(e) : Promise.reject("Unknown URI format"), nL = (e) => new Promise((n, o) => {
10618
+ }), S$ = (e) => Ts(e, "blob:") ? Lj(e) : Ts(e, "data:") ? Iw(e) : Promise.reject("Unknown URI format"), nL = (e) => new Promise((n, o) => {
10619
10619
  const r = new FileReader();
10620
10620
  r.onloadend = () => {
10621
10621
  n(r.result);
@@ -10625,7 +10625,7 @@ Required: ` + n.join(", "));
10625
10625
  }, r.readAsDataURL(e);
10626
10626
  });
10627
10627
  let oL = 0;
10628
- const Lj = (e) => "blobid" + oL++, _$ = (e, n, o) => h_(e).bind(({ data: r, type: l, base64Encoded: u }) => {
10628
+ const Fj = (e) => "blobid" + oL++, _$ = (e, n, o) => h_(e).bind(({ data: r, type: l, base64Encoded: u }) => {
10629
10629
  if (n && !u)
10630
10630
  return z.none();
10631
10631
  {
@@ -10633,7 +10633,7 @@ Required: ` + n.join(", "));
10633
10633
  return o(f, l);
10634
10634
  }
10635
10635
  }), k$ = (e, n, o) => {
10636
- const r = e.create(Lj(), n, o);
10636
+ const r = e.create(Fj(), n, o);
10637
10637
  return e.add(r), r;
10638
10638
  }, sL = (e, n, o = !1) => _$(n, o, (r, l) => z.from(e.getByData(r, l)).orThunk(() => Zv(l, r).map((u) => k$(e, u, r)))), rL = (e, n) => {
10639
10639
  const o = () => Promise.reject("Invalid data URI");
@@ -10708,7 +10708,7 @@ Required: ` + n.join(", "));
10708
10708
  }), E$(e, n), n.convert_unsafe_embeds && e.addNodeFilter("object,embed", (l) => _e(l, (u) => {
10709
10709
  u.replace(p_(u.attr("type"), u.name === "object" ? u.attr("data") : u.attr("src"), u.attr("width"), u.attr("height"), n.sandbox_iframes));
10710
10710
  })), n.sandbox_iframes && e.addNodeFilter("iframe", (l) => _e(l, (u) => u.attr("sandbox", "")));
10711
- }, { entries: Ta, setPrototypeOf: lL, isFrozen: Fj, getPrototypeOf: Hj, getOwnPropertyDescriptor: Vj } = Object;
10711
+ }, { entries: Ta, setPrototypeOf: lL, isFrozen: Hj, getPrototypeOf: Vj, getOwnPropertyDescriptor: zj } = Object;
10712
10712
  let { freeze: la, seal: Vu, create: qp } = Object, { apply: lg, construct: O3 } = typeof Reflect < "u" && Reflect;
10713
10713
  lg || (lg = function(n, o, r) {
10714
10714
  return n.apply(o, r);
@@ -10742,7 +10742,7 @@ Required: ` + n.join(", "));
10742
10742
  let u = n[l];
10743
10743
  if (typeof u == "string") {
10744
10744
  const f = o(u);
10745
- f !== u && (Fj(n) || (n[l] = f), u = f);
10745
+ f !== u && (Hj(n) || (n[l] = f), u = f);
10746
10746
  }
10747
10747
  e[u] = !0;
10748
10748
  }
@@ -10756,14 +10756,14 @@ Required: ` + n.join(", "));
10756
10756
  }
10757
10757
  function v_(e, n) {
10758
10758
  for (; e !== null; ) {
10759
- const r = Vj(e, n);
10759
+ const r = zj(e, n);
10760
10760
  if (r) {
10761
10761
  if (r.get)
10762
10762
  return rm(r.get);
10763
10763
  if (typeof r.value == "function")
10764
10764
  return rm(r.value);
10765
10765
  }
10766
- e = Hj(e);
10766
+ e = Vj(e);
10767
10767
  }
10768
10768
  function o(r) {
10769
10769
  return console.warn("fallback value for", r), null;
@@ -12507,7 +12507,7 @@ Required: ` + n.join(", "));
12507
12507
  }, nA = (e) => e.type === "fragmented" ? e.fragments.join("") : e.content, oA = (e) => {
12508
12508
  const n = le.fromTag("body", uM());
12509
12509
  return ed(n, nA(e)), _e(ba(n, "*[data-mce-bogus]"), ll), Gn(n);
12510
- }, zj = (e, n) => nA(e) === nA(n), IL = (e, n) => oA(e) === oA(n), sA = (e, n) => !e || !n ? !1 : zj(e, n) ? !0 : IL(e, n), rA = (e) => e.get() === 0, O_ = (e, n, o) => {
12510
+ }, Uj = (e, n) => nA(e) === nA(n), IL = (e, n) => oA(e) === oA(n), sA = (e, n) => !e || !n ? !1 : Uj(e, n) ? !0 : IL(e, n), rA = (e) => e.get() === 0, O_ = (e, n, o) => {
12511
12511
  rA(o) && (e.typing = n);
12512
12512
  }, mM = (e, n) => {
12513
12513
  e.typing && (O_(e, !1, n), e.add());
@@ -12557,13 +12557,13 @@ Required: ` + n.join(", "));
12557
12557
  return n.typing && (n.add(), n.typing = !1, O_(n, !1, o)), r.get() > 0 && (r.set(r.get() - 1), l = n.data[r.get()], tA(e, l, !0), e.setDirty(!0), e.dispatch("Undo", { level: l })), l;
12558
12558
  }, WL = (e) => {
12559
12559
  e.clear(), e.add();
12560
- }, Uj = (e, n, o) => o.get() > 0 || n.typing && n.data[0] && !sA(D_(e), n.data[0]), Wj = (e, n) => n.get() < e.data.length - 1 && !e.typing, ZL = (e, n, o) => (mM(e, n), e.beforeChange(), e.ignore(o), e.add()), jL = (e, n) => {
12560
+ }, Wj = (e, n, o) => o.get() > 0 || n.typing && n.data[0] && !sA(D_(e), n.data[0]), Zj = (e, n) => n.get() < e.data.length - 1 && !e.typing, ZL = (e, n, o) => (mM(e, n), e.beforeChange(), e.ignore(o), e.add()), jL = (e, n) => {
12561
12561
  try {
12562
12562
  e.set(e.get() + 1), n();
12563
12563
  } finally {
12564
12564
  e.set(e.get() - 1);
12565
12565
  }
12566
- }, Zj = (e, n) => {
12566
+ }, jj = (e, n) => {
12567
12567
  const o = e.dom, r = We(n) ? n : e.getBody();
12568
12568
  _e(o.select("table,a", r), (l) => {
12569
12569
  switch (l.nodeName) {
@@ -12591,8 +12591,8 @@ Required: ` + n.join(", "));
12591
12591
  redo: (n, o) => zL(e, n, o),
12592
12592
  clear: (n, o) => HL(e, n, o),
12593
12593
  reset: (n) => WL(n),
12594
- hasUndo: (n, o) => Uj(e, n, o),
12595
- hasRedo: (n, o) => Wj(n, o),
12594
+ hasUndo: (n, o) => Wj(e, n, o),
12595
+ hasRedo: (n, o) => Zj(n, o),
12596
12596
  transact: (n, o, r) => ZL(n, o, r),
12597
12597
  ignore: (n, o) => jL(n, o),
12598
12598
  extra: (n, o, r, l) => VL(e, n, o, r, l)
@@ -12609,10 +12609,10 @@ Required: ` + n.join(", "));
12609
12609
  formatChanged: (n, o, r, l, u) => YI(e, n, o, r, l, u)
12610
12610
  },
12611
12611
  editor: {
12612
- getContent: (n) => Pj(e, n),
12612
+ getContent: (n) => Bj(e, n),
12613
12613
  setContent: (n, o) => ZR(e, n, o),
12614
12614
  insertContent: (n, o) => WR(e, n, o),
12615
- addVisual: (n) => Zj(e, n)
12615
+ addVisual: (n) => jj(e, n)
12616
12616
  },
12617
12617
  selection: { getContent: (n, o) => lM(e, n, o) },
12618
12618
  autocompleter: {
@@ -12716,7 +12716,7 @@ Required: ` + n.join(", "));
12716
12716
  if (n)
12717
12717
  return n;
12718
12718
  throw new Error("Failed to get RTC instance not yet initialized.");
12719
- }, jj = (e, n, o) => {
12719
+ }, Gj = (e, n, o) => {
12720
12720
  La(e).undoManager.beforeChange(n, o);
12721
12721
  }, ec = (e, n, o, r, l, u, f) => La(e).undoManager.add(n, o, r, l, u, f), hM = (e, n, o, r) => La(e).undoManager.undo(n, o, r), pM = (e, n, o) => La(e).undoManager.redo(n, o), bM = (e, n, o) => {
12722
12722
  La(e).undoManager.clear(n, o);
@@ -12756,7 +12756,7 @@ Required: ` + n.join(", "));
12756
12756
  set: !0,
12757
12757
  selection: !0,
12758
12758
  content: n
12759
- }), Gj = (e, n) => {
12759
+ }), qj = (e, n) => {
12760
12760
  if (n.format !== "raw") {
12761
12761
  const o = e.selection.getRng(), r = e.dom.getParent(o.commonAncestorContainer, e.dom.isBlock), l = r ? { context: r.nodeName.toLowerCase() } : {}, u = e.parser.parse(n.content, {
12762
12762
  forced_root_block: !1,
@@ -12769,7 +12769,7 @@ Required: ` + n.join(", "));
12769
12769
  }, gF = (e, n, o = {}) => {
12770
12770
  const r = fF(o, n);
12771
12771
  U3(e, r).each((l) => {
12772
- const u = Gj(e, l), f = e.selection.getRng();
12772
+ const u = qj(e, l), f = e.selection.getRng();
12773
12773
  mF(f, f.createContextualFragment(u), e.schema), e.selection.setRng(f), _0(e, f), C_(e, u, l);
12774
12774
  });
12775
12775
  }, CM = (e, n, o) => {
@@ -13140,14 +13140,14 @@ Required: ` + n.join(", "));
13140
13140
  ], MM = (e, n) => {
13141
13141
  const o = Vt(n, (r) => gn(e, r));
13142
13142
  return Go(o);
13143
- }, qj = (e) => {
13143
+ }, Kj = (e) => {
13144
13144
  const n = MM(e, RM), o = e.forced_root_block;
13145
13145
  return (o === !1 || o === "") && n.push("forced_root_block (false only)"), Go(n);
13146
13146
  }, lf = (e) => MM(e, _F), M_ = (e, n) => {
13147
13147
  const o = lt.makeMap(e.plugins, " "), l = Vt(n, (u) => gn(o, u));
13148
13148
  return Go(l);
13149
13149
  }, TF = (e) => M_(e, kF), EF = (e) => M_(e, $M.map((n) => n.name)), AF = (e, n) => {
13150
- const o = qj(e), r = TF(n), l = r.length > 0, u = o.length > 0, f = n.theme === "mobile";
13150
+ const o = Kj(e), r = TF(n), l = r.length > 0, u = o.length > 0, f = n.theme === "mobile";
13151
13151
  if (l || u || f) {
13152
13152
  const b = `
13153
13153
  - `, y = f ? `
@@ -13170,7 +13170,7 @@ Plugins:${f}${r.map(DF).join(f)}` : "", y = u ? `
13170
13170
  Options:${f}${o.join(f)}` : "";
13171
13171
  console.warn("The following deprecated features are currently enabled but will be removed soon." + b + y);
13172
13172
  }
13173
- }, Kj = (e, n) => {
13173
+ }, Yj = (e, n) => {
13174
13174
  AF(e, n), Jo(e, n);
13175
13175
  }, P_ = Ls.DOM, OF = (e) => {
13176
13176
  P_.setStyle(e.id, "display", e.orgDisplay);
@@ -13280,7 +13280,7 @@ Options:${f}${o.join(f)}` : "";
13280
13280
  getNotifications: M
13281
13281
  };
13282
13282
  }, I0 = ql.PluginManager, Sh = ql.ThemeManager;
13283
- var Xj = () => {
13283
+ var Jj = () => {
13284
13284
  const e = () => {
13285
13285
  throw new Error("Theme did not provide a WindowManager implementation.");
13286
13286
  };
@@ -13296,7 +13296,7 @@ Options:${f}${o.join(f)}` : "";
13296
13296
  let n = [];
13297
13297
  const o = () => {
13298
13298
  const q = e.theme;
13299
- return q && q.getWindowManagerImpl ? q.getWindowManagerImpl() : Xj();
13299
+ return q && q.getWindowManagerImpl ? q.getWindowManagerImpl() : Jj();
13300
13300
  }, r = (q, oe) => (...ye) => oe ? oe.apply(q, ye) : void 0, l = (q) => {
13301
13301
  e.dispatch("OpenWindow", { dialog: q });
13302
13302
  }, u = (q) => {
@@ -13347,7 +13347,7 @@ Options:${f}${o.join(f)}` : "";
13347
13347
  ]));
13348
13348
  }, zu = (e, n, o) => {
13349
13349
  ai(e, n, { message: o }), console.error(o);
13350
- }, N_ = (e, n, o) => o ? `Failed to load ${e}: ${o} from url ${n}` : `Failed to load ${e} url: ${n}`, Jj = (e, n, o) => {
13350
+ }, N_ = (e, n, o) => o ? `Failed to load ${e}: ${o} from url ${n}` : `Failed to load ${e} url: ${n}`, Qj = (e, n, o) => {
13351
13351
  zu(e, "PluginLoadError", N_("plugin", n, o));
13352
13352
  }, LF = (e, n, o) => {
13353
13353
  zu(e, "IconsLoadError", N_("icons", n, o));
@@ -14255,7 +14255,7 @@ Options:${f}${o.join(f)}` : "";
14255
14255
  data: [],
14256
14256
  typing: !1,
14257
14257
  beforeChange: () => {
14258
- jj(e, o, n);
14258
+ Gj(e, o, n);
14259
14259
  },
14260
14260
  add: (u, f) => ec(e, l, r, o, n, u, f),
14261
14261
  dispatchChange: () => {
@@ -15042,17 +15042,17 @@ Options:${f}${o.join(f)}` : "";
15042
15042
  return r;
15043
15043
  }
15044
15044
  return '<span class="' + o + '" data-mce-content="' + e.dom.encode(l[0]) + '">' + e.dom.encode(typeof l[1] == "string" ? l[1] : l[0]) + "</span>";
15045
- }, Qj = (e, n, o) => {
15045
+ }, eG = (e, n, o) => {
15046
15046
  let r = n.length, l = o.content;
15047
15047
  if (o.format !== "raw") {
15048
15048
  for (; r--; )
15049
15049
  l = l.replace(n[r], JP(e, l, T2(e)));
15050
15050
  o.content = l;
15051
15051
  }
15052
- }, eG = (e) => {
15052
+ }, tG = (e) => {
15053
15053
  const n = "contenteditable", o = " " + lt.trim(FC(e)) + " ", r = " " + lt.trim(T2(e)) + " ", l = aD(o), u = aD(r), f = xE(e);
15054
15054
  f.length > 0 && e.on("BeforeSetContent", (b) => {
15055
- Qj(e, f, b);
15055
+ eG(e, f, b);
15056
15056
  }), e.parser.addAttributeFilter("class", (b) => {
15057
15057
  let y = b.length;
15058
15058
  for (; y--; ) {
@@ -15066,10 +15066,10 @@ Options:${f}${o.join(f)}` : "";
15066
15066
  !l(k) && !u(k) || (f.length > 0 && k.attr("data-mce-content") ? (k.name = "#text", k.type = 3, k.raw = !0, k.value = k.attr("data-mce-content")) : k.attr(n, null));
15067
15067
  }
15068
15068
  });
15069
- }, tG = (e) => al(le.fromDom(e.getBody()), "*[data-mce-caret]").map((n) => n.dom).getOrNull(), QP = (e, n) => {
15069
+ }, nG = (e) => al(le.fromDom(e.getBody()), "*[data-mce-caret]").map((n) => n.dom).getOrNull(), QP = (e, n) => {
15070
15070
  n.hasAttribute("data-mce-caret") && (cu(n), e.selection.setRng(e.selection.getRng()), e.selection.scrollIntoView(n));
15071
- }, nG = (e, n) => {
15072
- const o = tG(e);
15071
+ }, oG = (e, n) => {
15072
+ const o = nG(e);
15073
15073
  if (o) {
15074
15074
  if (n.type === "compositionstart") {
15075
15075
  n.preventDefault(), n.stopPropagation(), QP(e, o);
@@ -15077,9 +15077,9 @@ Options:${f}${o.join(f)}` : "";
15077
15077
  }
15078
15078
  Hn(o) && (QP(e, o), e.undoManager.add());
15079
15079
  }
15080
- }, oG = (e) => {
15081
- e.on("keyup compositionstart", Me(nG, e));
15082
- }, eB = uo, _H = (e, n, o) => WA(n, e, o, ph, of, eB), sG = (e, n, o) => ZA(n, e, o, (u) => ph(u) || K5(u), (u) => of(u) || qn(u), eB), kH = (e) => {
15080
+ }, sG = (e) => {
15081
+ e.on("keyup compositionstart", Me(oG, e));
15082
+ }, eB = uo, _H = (e, n, o) => WA(n, e, o, ph, of, eB), rG = (e, n, o) => ZA(n, e, o, (u) => ph(u) || K5(u), (u) => of(u) || qn(u), eB), kH = (e) => {
15083
15083
  const n = e.dom.create(Yl(e));
15084
15084
  return n.innerHTML = '<br data-mce-bogus="1">', n;
15085
15085
  }, Fi = (e, n, o) => {
@@ -15098,7 +15098,7 @@ Options:${f}${o.join(f)}` : "";
15098
15098
  return _H(o, e, r).orThunk(() => (Fi(e, o, r), z.none()));
15099
15099
  }, cx = (e, n) => {
15100
15100
  const o = n ? 1 : -1, r = e.selection.getRng();
15101
- return sG(o, e, r).orThunk(() => (Fi(e, o, r), z.none()));
15101
+ return rG(o, e, r).orThunk(() => (Fi(e, o, r), z.none()));
15102
15102
  }, TH = (e, n) => {
15103
15103
  const o = n ? e.getEnd(!0) : e.getStart(!0);
15104
15104
  return fR(o) ? !n : n;
@@ -15132,10 +15132,10 @@ Options:${f}${o.join(f)}` : "";
15132
15132
  }, rB = (e) => Ke(e, (n) => ({
15133
15133
  ...sB,
15134
15134
  ...n
15135
- })), rG = (e) => Ke(e, (n) => ({
15135
+ })), aG = (e) => Ke(e, (n) => ({
15136
15136
  ...sB,
15137
15137
  ...n
15138
- })), aB = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, MH = (e, n) => yr(rB(e), (o) => aB(o, n) ? [o] : []), PH = (e, n) => yr(rG(e), (o) => aB(o, n) ? [o] : []), Tn = (e, ...n) => () => e.apply(null, n), a1 = (e, n) => ps(MH(e, n), (o) => o.action()), uD = (e, n) => Pl(PH(e, n), (o) => o.action()), dD = (e, n) => {
15138
+ })), aB = (e, n) => n.keyCode === e.keyCode && n.shiftKey === e.shiftKey && n.altKey === e.altKey && n.ctrlKey === e.ctrlKey && n.metaKey === e.metaKey, MH = (e, n) => yr(rB(e), (o) => aB(o, n) ? [o] : []), PH = (e, n) => yr(aG(e), (o) => aB(o, n) ? [o] : []), Tn = (e, ...n) => () => e.apply(null, n), a1 = (e, n) => ps(MH(e, n), (o) => o.action()), uD = (e, n) => Pl(PH(e, n), (o) => o.action()), dD = (e, n) => {
15139
15139
  const o = n ? Ir.Forwards : Ir.Backwards, r = e.selection.getRng();
15140
15140
  return WA(e, o, r, fw, Dv, fr).exists((l) => (fg(e, l), !0));
15141
15141
  }, lB = (e, n) => {
@@ -15180,7 +15180,7 @@ Options:${f}${o.join(f)}` : "";
15180
15180
  index: u,
15181
15181
  all: r
15182
15182
  }));
15183
- }), lG = (e, n, o) => IH(e, o).fold(() => ix.none(e), (l) => mB(l.all, e, l.index, 1, n)), LH = (e, n, o) => IH(e, o).fold(() => ix.none(), (l) => mB(l.all, e, l.index, -1, n)), uk = (e, n) => ({
15183
+ }), cG = (e, n, o) => IH(e, o).fold(() => ix.none(e), (l) => mB(l.all, e, l.index, 1, n)), LH = (e, n, o) => IH(e, o).fold(() => ix.none(), (l) => mB(l.all, e, l.index, -1, n)), uk = (e, n) => ({
15184
15184
  left: e.left - n,
15185
15185
  top: e.top - n,
15186
15186
  right: e.right + n * 2,
@@ -15242,7 +15242,7 @@ Options:${f}${o.join(f)}` : "";
15242
15242
  }, hD = (e, n, o) => z.from(e.dom.getParent(e.selection.getNode(), "td,th")).bind((r) => z.from(e.dom.getParent(r, "table")).map((l) => o(e, n, l, r))).getOr(!1), vB = (e, n) => hD(e, n, KH), pD = (e, n) => hD(e, n, QH), eV = (e) => {
15243
15243
  const n = tf.exact(e, 0, e, 0);
15244
15244
  return u4(n);
15245
- }, yB = (e, n, o) => o.fold(z.none, z.none, (r, l) => b7(l).map((u) => eV(u)), (r) => (e.execCommand("mceTableInsertRowAfter"), wB(e, n, r))), wB = (e, n, o) => yB(e, n, lG(o, Fn)), tV = (e, n, o) => yB(e, n, LH(o, Fn)), Ea = (e, n) => {
15245
+ }, yB = (e, n, o) => o.fold(z.none, z.none, (r, l) => b7(l).map((u) => eV(u)), (r) => (e.execCommand("mceTableInsertRowAfter"), wB(e, n, r))), wB = (e, n, o) => yB(e, n, cG(o, Fn)), tV = (e, n, o) => yB(e, n, LH(o, Fn)), Ea = (e, n) => {
15246
15246
  const o = [
15247
15247
  "table",
15248
15248
  "li",
@@ -15645,20 +15645,20 @@ Options:${f}${o.join(f)}` : "";
15645
15645
  return yV.consolidateArr(u);
15646
15646
  },
15647
15647
  toString: () => "array(" + e.toString() + ")"
15648
- }), kV = (e) => SD((n) => e(n).fold(tc.serror, tc.svalue)), dG = (e, n, o) => {
15648
+ }), kV = (e) => SD((n) => e(n).fold(tc.serror, tc.svalue)), mG = (e, n, o) => {
15649
15649
  const r = n.extract([e], o);
15650
15650
  return tc.mapError(r, (l) => ({
15651
15651
  input: o,
15652
15652
  errors: l
15653
15653
  }));
15654
- }, TV = (e, n, o) => tc.toResult(dG(e, n, o)), hk = (e) => `Errors:
15654
+ }, TV = (e, n, o) => tc.toResult(mG(e, n, o)), hk = (e) => `Errors:
15655
15655
  ` + AB(e.errors).join(`
15656
15656
  `) + `
15657
15657
 
15658
15658
  Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk = (e, n) => SD((o) => {
15659
15659
  const r = typeof o;
15660
15660
  return e(o) ? tc.svalue(o) : tc.serror(`Expected type: ${n} but got: ${r}`);
15661
- }), ZB = pk(os, "number"), yx = pk(fe, "string"), EV = pk(Pn, "boolean"), TD = pk(ge, "function"), wx = LB, ED = wV, AV = (e) => kV((n) => qe(e, n) ? Dc.value(n) : Dc.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), bk = (e, n) => wx(e, e, PB(), n), jB = (e) => bk(e, yx), GB = (e) => bk(e, TD), DV = (e, n) => wx(e, e, PB(), UB(n)), vk = (e, n) => wx(e, e, NB(), n), yk = (e) => vk(e, yx), OV = (e) => vk(e, TD), RV = (e, n) => wx(e, e, BB(n), WB()), uy = (e, n, o) => wx(e, e, BB(n), o), qB = (e, n) => uy(e, n, ZB), Xa = (e, n) => uy(e, n, yx), ff = (e, n, o) => uy(e, n, AV(o)), AD = (e, n) => uy(e, n, EV), KB = (e, n) => uy(e, n, TD), $V = (e, n, o) => uy(e, n, UB(o)), MV = jB("type"), PV = GB("fetch"), DD = GB("onAction"), YB = KB("onSetup", () => At), dy = yk("text"), mG = yk("icon"), BV = yk("tooltip"), NV = yk("label"), gf = AD("active", !1), IV = AD("enabled", !0), XB = AD("primary", !1), JB = (e) => RV("columns", e), xx = (e) => Xa("type", e), OD = _D([
15661
+ }), ZB = pk(os, "number"), yx = pk(fe, "string"), EV = pk(Pn, "boolean"), TD = pk(ge, "function"), wx = LB, ED = wV, AV = (e) => kV((n) => qe(e, n) ? Dc.value(n) : Dc.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), bk = (e, n) => wx(e, e, PB(), n), jB = (e) => bk(e, yx), GB = (e) => bk(e, TD), DV = (e, n) => wx(e, e, PB(), UB(n)), vk = (e, n) => wx(e, e, NB(), n), yk = (e) => vk(e, yx), OV = (e) => vk(e, TD), RV = (e, n) => wx(e, e, BB(n), WB()), uy = (e, n, o) => wx(e, e, BB(n), o), qB = (e, n) => uy(e, n, ZB), Xa = (e, n) => uy(e, n, yx), ff = (e, n, o) => uy(e, n, AV(o)), AD = (e, n) => uy(e, n, EV), KB = (e, n) => uy(e, n, TD), $V = (e, n, o) => uy(e, n, UB(o)), MV = jB("type"), PV = GB("fetch"), DD = GB("onAction"), YB = KB("onSetup", () => At), dy = yk("text"), fG = yk("icon"), BV = yk("tooltip"), NV = yk("label"), gf = AD("active", !1), IV = AD("enabled", !0), XB = AD("primary", !1), JB = (e) => RV("columns", e), xx = (e) => Xa("type", e), OD = _D([
15662
15662
  MV,
15663
15663
  jB("trigger"),
15664
15664
  qB("minChars", 1),
@@ -15674,7 +15674,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
15674
15674
  }), RD = [
15675
15675
  IV,
15676
15676
  BV,
15677
- mG,
15677
+ fG,
15678
15678
  dy,
15679
15679
  YB
15680
15680
  ], eN = [gf].concat(RD), LV = [
@@ -15847,7 +15847,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
15847
15847
  ...u,
15848
15848
  ...r
15849
15849
  });
15850
- }, Sx = FD("input"), Ck = FD("beforeinput"), KV = rs(), YV = KV.os, XV = YV.isMacOS() || YV.isiOS(), hG = KV.browser.isFirefox(), JV = (e, n, o) => {
15850
+ }, Sx = FD("input"), Ck = FD("beforeinput"), KV = rs(), YV = KV.os, XV = YV.isMacOS() || YV.isiOS(), pG = KV.browser.isFirefox(), JV = (e, n, o) => {
15851
15851
  const r = o.keyCode === Ut.BACKSPACE ? "deleteContentBackward" : "deleteContentForward", l = e.selection.isCollapsed(), u = l ? "character" : "selection", f = (b) => l ? b ? "word" : "line" : "selection";
15852
15852
  uD([
15853
15853
  {
@@ -15986,7 +15986,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
15986
15986
  action: Tn(rx, e)
15987
15987
  },
15988
15988
  ...o ? [{
15989
- keyCode: hG ? 224 : 91,
15989
+ keyCode: pG ? 224 : 91,
15990
15990
  action: Tn(rx, e)
15991
15991
  }] : []
15992
15992
  ] : [
@@ -16001,7 +16001,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
16001
16001
  action: Tn(rx, e)
16002
16002
  }
16003
16003
  ]
16004
- ], n), pG = (e, n) => {
16004
+ ], n), bG = (e, n) => {
16005
16005
  let o = !1;
16006
16006
  e.on("keydown", (r) => {
16007
16007
  o = r.keyCode === Ut.BACKSPACE, r.isDefaultPrevented() || JV(e, n, r);
@@ -16166,7 +16166,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
16166
16166
  }, cz = (e, n) => {
16167
16167
  const o = e.dom.getParent(n, "ol,ul,dl");
16168
16168
  return o !== null && e.dom.getContentEditableParent(o) === "false";
16169
- }, bG = (e, n) => n && n.nodeName === "A" && e.isEmpty(n), _x = (e, n) => e.nodeName === n || e.previousSibling && e.previousSibling.nodeName === n, ZD = (e, n) => We(n) && e.isBlock(n) && !/^(TD|TH|CAPTION|FORM)$/.test(n.nodeName) && !/^(fixed|absolute)/i.test(n.style.position) && e.isEditable(n.parentNode) && e.getContentEditable(n) !== "false", iz = (e, n, o) => {
16169
+ }, vG = (e, n) => n && n.nodeName === "A" && e.isEmpty(n), _x = (e, n) => e.nodeName === n || e.previousSibling && e.previousSibling.nodeName === n, ZD = (e, n) => We(n) && e.isBlock(n) && !/^(TD|TH|CAPTION|FORM)$/.test(n.nodeName) && !/^(fixed|absolute)/i.test(n.style.position) && e.isEditable(n.parentNode) && e.getContentEditable(n) !== "false", iz = (e, n, o) => {
16170
16170
  var r;
16171
16171
  const l = [];
16172
16172
  if (!o)
@@ -16179,7 +16179,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
16179
16179
  }
16180
16180
  let f = l.length;
16181
16181
  for (; f--; )
16182
- u = l[f], (!u.hasChildNodes() || u.firstChild === u.lastChild && ((r = u.firstChild) === null || r === void 0 ? void 0 : r.nodeValue) === "" || bG(e, u)) && e.remove(u);
16182
+ u = l[f], (!u.hasChildNodes() || u.firstChild === u.lastChild && ((r = u.firstChild) === null || r === void 0 ? void 0 : r.nodeValue) === "" || vG(e, u)) && e.remove(u);
16183
16183
  }, jD = (e, n, o) => it(n) ? e ? o === 1 && n.data.charAt(o - 1) === x ? 0 : o : o === n.data.length - 1 && n.data.charAt(o) === x ? n.data.length : o : o, fN = (e) => {
16184
16184
  const n = e.cloneRange();
16185
16185
  return n.setStart(e.startContainer, jD(!0, e.startContainer, e.startOffset)), n.setEnd(e.endContainer, jD(!1, e.endContainer, e.endOffset)), n;
@@ -16520,13 +16520,13 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
16520
16520
  const u = le.fromText(e);
16521
16521
  return n.isAtEnd() ? Gc(l, u) : Wr(l, u), Le(u.dom, e.length);
16522
16522
  });
16523
- }, $k = Me(Rk, $o), KD = Me(Rk, " "), Pz = (e, n, o) => cR(e, n, o) ? $k(n) : KD(n), yG = (e) => (n) => n.fold((o) => $c(e.dom, Le.before(o)), (o) => hc(o), (o) => Bu(o), (o) => Jl(e.dom, Le.after(o))), c1 = (e, n, o) => (r) => cR(e, r, o) ? $k(n) : KD(n), DN = (e) => (n) => {
16523
+ }, $k = Me(Rk, $o), KD = Me(Rk, " "), Pz = (e, n, o) => cR(e, n, o) ? $k(n) : KD(n), wG = (e) => (n) => n.fold((o) => $c(e.dom, Le.before(o)), (o) => hc(o), (o) => Bu(o), (o) => Jl(e.dom, Le.after(o))), c1 = (e, n, o) => (r) => cR(e, r, o) ? $k(n) : KD(n), DN = (e) => (n) => {
16524
16524
  e.selection.setRng(n.toRange()), e.nodeChanged();
16525
16525
  }, Bz = (e, n) => e.isEditable(e.getParent(n, "summary")), Nz = (e) => {
16526
16526
  const n = Le.fromRangeStart(e.selection.getRng()), o = le.fromDom(e.getBody());
16527
16527
  if (e.selection.isCollapsed()) {
16528
16528
  const r = Me(D0, e), l = Le.fromRangeStart(e.selection.getRng());
16529
- return Rl(r, e.getBody(), l).bind(yG(o)).map((u) => () => c1(o, n, e.schema)(u).each(DN(e)));
16529
+ return Rl(r, e.getBody(), l).bind(wG(o)).map((u) => () => c1(o, n, e.schema)(u).each(DN(e)));
16530
16530
  } else
16531
16531
  return z.none();
16532
16532
  }, Mk = (e) => {
@@ -16577,7 +16577,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
16577
16577
  return cr(null);
16578
16578
  {
16579
16579
  const n = eH(e);
16580
- return Mz(e), oG(e), oV(e, n), pG(e, n), _N(e), RN(e), TN(e), Lz(e), kN(e, n), Ok(e, n), n;
16580
+ return Mz(e), sG(e), oV(e, n), bG(e, n), _N(e), RN(e), TN(e), Lz(e), kN(e, n), Ok(e, n), n;
16581
16581
  }
16582
16582
  };
16583
16583
  class Hz {
@@ -16749,7 +16749,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
16749
16749
  let o = "<" + e;
16750
16750
  const r = tl(n, (l, u) => u + '="' + Mf.encodeAllRaw(l) + '"');
16751
16751
  return r.length && (o += " " + r.join(" ")), o + ">";
16752
- }, wG = (e, n, o) => {
16752
+ }, xG = (e, n, o) => {
16753
16753
  const r = e.split(/\n\n/), l = Qz(n, o), u = "</" + n + ">", f = Ke(r, (y) => y.split(/\n/).join("<br />")), b = (y) => l + y + u;
16754
16754
  return f.length === 1 ? f[0] : Ke(f, b).join("");
16755
16755
  }, Ax = "%MCEPASTEBIN%", eU = (e, n) => {
@@ -16908,7 +16908,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
16908
16908
  GN(e, Xz(n), l, !1, r);
16909
16909
  }, iO = (e, n, o) => {
16910
16910
  const r = e.dom.encode(n).replace(/\r\n/g, `
16911
- `), l = jg(r, yE(e)), u = wG(l, Yl(e), W1(e));
16911
+ `), l = jg(r, yE(e)), u = xG(l, Yl(e), W1(e));
16912
16912
  GN(e, u, !1, !0, o);
16913
16913
  }, G0 = (e) => {
16914
16914
  const n = {};
@@ -18330,7 +18330,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18330
18330
  e.dispatch("SetAttrib", f);
18331
18331
  },
18332
18332
  force_hex_color: Cp(e)
18333
- }), e.parser = MW(e), e.serializer = AM($W(e), e), e.selection = Jp(e.dom, e.getWin(), e.serializer, e), e.annotator = J2(e), e.formatter = wA(e), e.undoManager = xA(e), e._nodeChangeDispatcher = new Hz(e), e._selectionOverrides = gW(e), yH(e), MU(e), eG(e), Ch(e) || (g6(e), DW(e));
18333
+ }), e.parser = MW(e), e.serializer = AM($W(e), e), e.selection = Jp(e.dom, e.getWin(), e.serializer, e), e.annotator = J2(e), e.formatter = wA(e), e.undoManager = xA(e), e._nodeChangeDispatcher = new Hz(e), e._selectionOverrides = gW(e), yH(e), MU(e), tG(e), Ch(e) || (g6(e), DW(e));
18334
18334
  const l = Fz(e);
18335
18335
  z0(e, l), SH(e), cm(e), OU(e);
18336
18336
  const u = qL(e);
@@ -18501,7 +18501,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18501
18501
  }, eZ = (e, n) => {
18502
18502
  const o = (r, l) => {
18503
18503
  I0.load(r, l).catch(() => {
18504
- Jj(e, l, r);
18504
+ Qj(e, l, r);
18505
18505
  });
18506
18506
  };
18507
18507
  vt(zf(e), (r, l) => {
@@ -18667,7 +18667,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18667
18667
  content: e,
18668
18668
  details: {}
18669
18669
  };
18670
- }, xG = (e, n) => {
18670
+ }, CG = (e, n) => {
18671
18671
  const o = e.selection, r = e.dom;
18672
18672
  return /^ | $/.test(n) ? gZ(r, o.getRng(), n, e.schema) : n;
18673
18673
  }, sT = (e, n) => {
@@ -18675,7 +18675,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18675
18675
  const { content: o, details: r } = hZ(n);
18676
18676
  U3(e, {
18677
18677
  ...r,
18678
- content: xG(e, o),
18678
+ content: CG(e, o),
18679
18679
  format: "html",
18680
18680
  set: !1,
18681
18681
  selection: !0
@@ -18743,9 +18743,9 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18743
18743
  }, NO = (e, n) => {
18744
18744
  const o = aT(e, n);
18745
18745
  e.formatter.toggle("fontname", { value: h8(o) }), e.nodeChanged();
18746
- }, SZ = (e) => rT(e, (n) => yZ(e.getBody(), n.dom)).getOr(""), CG = (e, n) => {
18746
+ }, SZ = (e) => rT(e, (n) => yZ(e.getBody(), n.dom)).getOr(""), SG = (e, n) => {
18747
18747
  e.formatter.toggle("fontsize", { value: aT(e, n) }), e.nodeChanged();
18748
- }, SG = (e) => rT(e, (n) => BO(e.getBody(), n.dom)).getOr(""), _Z = (e) => rT(e, (n) => {
18748
+ }, _G = (e) => rT(e, (n) => BO(e.getBody(), n.dom)).getOr(""), _Z = (e) => rT(e, (n) => {
18749
18749
  const o = le.fromDom(e.getBody()), r = yh(n, (u) => $r(u, "line-height"), Me(wo, o)), l = () => {
18750
18750
  const u = parseFloat(mr(n, "line-height")), f = parseFloat(mr(n, "font-size"));
18751
18751
  return String(u / f);
@@ -18771,7 +18771,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18771
18771
  NO(e, l);
18772
18772
  },
18773
18773
  FontSize: (o, r, l) => {
18774
- CG(e, l);
18774
+ SG(e, l);
18775
18775
  },
18776
18776
  LineHeight: (o, r, l) => {
18777
18777
  p8(e, l);
@@ -18801,10 +18801,10 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18801
18801
  e.editorCommands.addCommands({
18802
18802
  "Bold,Italic,Underline,Strikethrough,Superscript,Subscript": (o) => n(o),
18803
18803
  mceBlockQuote: () => n("blockquote")
18804
- }, "state"), e.editorCommands.addQueryValueHandler("FontName", () => SZ(e)), e.editorCommands.addQueryValueHandler("FontSize", () => SG(e)), e.editorCommands.addQueryValueHandler("LineHeight", () => _Z(e));
18804
+ }, "state"), e.editorCommands.addQueryValueHandler("FontName", () => SZ(e)), e.editorCommands.addQueryValueHandler("FontSize", () => _G(e)), e.editorCommands.addQueryValueHandler("LineHeight", () => _Z(e));
18805
18805
  }, EZ = (e) => {
18806
18806
  kZ(e), TZ(e);
18807
- }, _G = (e) => {
18807
+ }, kG = (e) => {
18808
18808
  e.editorCommands.addCommands({
18809
18809
  mceAddUndoLevel: () => {
18810
18810
  e.undoManager.add();
@@ -18819,7 +18819,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18819
18819
  e.undoManager.redo();
18820
18820
  }
18821
18821
  });
18822
- }, kG = (e) => {
18822
+ }, TG = (e) => {
18823
18823
  e.editorCommands.addCommands({
18824
18824
  Indent: () => {
18825
18825
  vH(e);
@@ -18882,16 +18882,16 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18882
18882
  const M = VD(e, u, k.dom, f, !1, y);
18883
18883
  b(k, le.fromDom(M)), e.selection.setCursorLocation(M, 0), e.dispatch("NewBlock", { newBlock: M }), Sx(e, "insertParagraph");
18884
18884
  });
18885
- }, TG = (e) => RZ(e, !0), EG = (e) => RZ(e, !1), $Z = (e) => {
18885
+ }, EG = (e) => RZ(e, !0), AG = (e) => RZ(e, !1), $Z = (e) => {
18886
18886
  e.editorCommands.addCommands({
18887
18887
  InsertNewBlockBefore: () => {
18888
- TG(e);
18888
+ EG(e);
18889
18889
  },
18890
18890
  InsertNewBlockAfter: () => {
18891
- EG(e);
18891
+ AG(e);
18892
18892
  }
18893
18893
  });
18894
- }, AG = (e) => {
18894
+ }, DG = (e) => {
18895
18895
  e.editorCommands.addCommands({
18896
18896
  insertParagraph: () => {
18897
18897
  Z0(hN, e);
@@ -18940,7 +18940,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
18940
18940
  }
18941
18941
  });
18942
18942
  }, IO = (e) => {
18943
- d8(e), fZ(e), _G(e), MZ(e), PO(e), b8(e), kG(e), $Z(e), AG(e), DZ(e), EZ(e), Q0(e);
18943
+ d8(e), fZ(e), kG(e), MZ(e), PO(e), b8(e), TG(e), $Z(e), DG(e), DZ(e), EZ(e), Q0(e);
18944
18944
  }, lT = ["toggleview"], LO = (e) => qe(lT, e.toLowerCase());
18945
18945
  class FO {
18946
18946
  constructor(n) {
@@ -19510,7 +19510,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = rt(HB), pk
19510
19510
  const u = iZ(r.defaultOptions, o);
19511
19511
  this.options = GZ(l, u), CC(l);
19512
19512
  const f = this.options.get;
19513
- f("deprecation_warnings") && Kj(o, u);
19513
+ f("deprecation_warnings") && Yj(o, u);
19514
19514
  const b = f("suffix");
19515
19515
  b && (r.suffix = b), this.suffix = r.suffix;
19516
19516
  const y = f("base_url");
@@ -26205,10 +26205,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
26205
26205
  enumerable: !0,
26206
26206
  value: !1
26207
26207
  }
26208
- })), pl = null, zi = null, Ed = !0, bm = !0, b1 = !1, rb = !0, bf = !1, Dh = !1, Wx = !1, JO = !1, _y = !1, yT = !1, L8 = !1, BG = !0, NG = !1;
26208
+ })), pl = null, zi = null, Ed = !0, bm = !0, b1 = !1, rb = !0, bf = !1, Dh = !1, Wx = !1, JO = !1, _y = !1, yT = !1, L8 = !1, NG = !0, IG = !1;
26209
26209
  const yq = "user-content-";
26210
26210
  let wj = !0, QO = !1, wT = {}, xT = null;
26211
- const IG = So({}, [
26211
+ const LG = So({}, [
26212
26212
  "annotation-xml",
26213
26213
  "audio",
26214
26214
  "colgroup",
@@ -26235,8 +26235,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
26235
26235
  "video",
26236
26236
  "xmp"
26237
26237
  ]);
26238
- let LG = null;
26239
- const FG = So({}, [
26238
+ let FG = null;
26239
+ const HG = So({}, [
26240
26240
  "audio",
26241
26241
  "video",
26242
26242
  "img",
@@ -26245,7 +26245,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26245
26245
  "track"
26246
26246
  ]);
26247
26247
  let xj = null;
26248
- const HG = So({}, [
26248
+ const VG = So({}, [
26249
26249
  "alt",
26250
26250
  "class",
26251
26251
  "for",
@@ -26273,11 +26273,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
26273
26273
  "text/html"
26274
26274
  ], Cq = "text/html";
26275
26275
  let Ui, ST = null;
26276
- const Sq = d.createElement("form"), VG = function(Ue) {
26276
+ const Sq = d.createElement("form"), zG = function(Ue) {
26277
26277
  return Ue instanceof RegExp || Ue instanceof Function;
26278
26278
  }, _j = function(Ue) {
26279
26279
  if (!(ST && ST === Ue)) {
26280
- if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = O0(Ue), Zx = xq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Zx = Cq : Zx = Ue.PARSER_MEDIA_TYPE, Ui = Zx === "application/xhtml+xml" ? vh : VS, $n = "ALLOWED_TAGS" in Ue ? So({}, Ue.ALLOWED_TAGS, Ui) : bn, Ln = "ALLOWED_ATTR" in Ue ? So({}, Ue.ALLOWED_ATTR, Ui) : ks, Sj = "ALLOWED_NAMESPACES" in Ue ? So({}, Ue.ALLOWED_NAMESPACES, vh) : wq, xj = "ADD_URI_SAFE_ATTR" in Ue ? So(O0(HG), Ue.ADD_URI_SAFE_ATTR, Ui) : HG, LG = "ADD_DATA_URI_TAGS" in Ue ? So(O0(FG), Ue.ADD_DATA_URI_TAGS, Ui) : FG, xT = "FORBID_CONTENTS" in Ue ? So({}, Ue.FORBID_CONTENTS, Ui) : IG, pl = "FORBID_TAGS" in Ue ? So({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? So({}, Ue.FORBID_ATTR, Ui) : {}, wT = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Ed = Ue.ALLOW_ARIA_ATTR !== !1, bm = Ue.ALLOW_DATA_ATTR !== !1, b1 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, rb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, bf = Ue.SAFE_FOR_TEMPLATES || !1, Dh = Ue.WHOLE_DOCUMENT || !1, _y = Ue.RETURN_DOM || !1, yT = Ue.RETURN_DOM_FRAGMENT || !1, L8 = Ue.RETURN_TRUSTED_TYPE || !1, JO = Ue.FORCE_BODY || !1, BG = Ue.SANITIZE_DOM !== !1, NG = Ue.SANITIZE_NAMED_PROPS || !1, wj = Ue.KEEP_CONTENT !== !1, QO = Ue.IN_PLACE || !1, An = Ue.ALLOWED_URI_REGEXP || B4, CT = Ue.NAMESPACE || ab, Do = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && VG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Do.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && VG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Do.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Do.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), bf && (bm = !1), yT && (_y = !0), wT && ($n = So({}, [...yw]), Ln = [], wT.html === !0 && (So($n, O4), So(Ln, zS)), wT.svg === !0 && (So($n, R4), So(Ln, US), So(Ln, ww)), wT.svgFilters === !0 && (So($n, vw), So(Ln, US), So(Ln, ww)), wT.mathMl === !0 && (So($n, $4), So(Ln, M4), So(Ln, ww))), Ue.ADD_TAGS && ($n === bn && ($n = O0($n)), So($n, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Ln === ks && (Ln = O0(Ln)), So(Ln, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && So(xj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (xT === IG && (xT = O0(xT)), So(xT, Ue.FORBID_CONTENTS, Ui)), wj && ($n["#text"] = !0), Dh && So($n, [
26280
+ if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = O0(Ue), Zx = xq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Zx = Cq : Zx = Ue.PARSER_MEDIA_TYPE, Ui = Zx === "application/xhtml+xml" ? vh : VS, $n = "ALLOWED_TAGS" in Ue ? So({}, Ue.ALLOWED_TAGS, Ui) : bn, Ln = "ALLOWED_ATTR" in Ue ? So({}, Ue.ALLOWED_ATTR, Ui) : ks, Sj = "ALLOWED_NAMESPACES" in Ue ? So({}, Ue.ALLOWED_NAMESPACES, vh) : wq, xj = "ADD_URI_SAFE_ATTR" in Ue ? So(O0(VG), Ue.ADD_URI_SAFE_ATTR, Ui) : VG, FG = "ADD_DATA_URI_TAGS" in Ue ? So(O0(HG), Ue.ADD_DATA_URI_TAGS, Ui) : HG, xT = "FORBID_CONTENTS" in Ue ? So({}, Ue.FORBID_CONTENTS, Ui) : LG, pl = "FORBID_TAGS" in Ue ? So({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? So({}, Ue.FORBID_ATTR, Ui) : {}, wT = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Ed = Ue.ALLOW_ARIA_ATTR !== !1, bm = Ue.ALLOW_DATA_ATTR !== !1, b1 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, rb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, bf = Ue.SAFE_FOR_TEMPLATES || !1, Dh = Ue.WHOLE_DOCUMENT || !1, _y = Ue.RETURN_DOM || !1, yT = Ue.RETURN_DOM_FRAGMENT || !1, L8 = Ue.RETURN_TRUSTED_TYPE || !1, JO = Ue.FORCE_BODY || !1, NG = Ue.SANITIZE_DOM !== !1, IG = Ue.SANITIZE_NAMED_PROPS || !1, wj = Ue.KEEP_CONTENT !== !1, QO = Ue.IN_PLACE || !1, An = Ue.ALLOWED_URI_REGEXP || B4, CT = Ue.NAMESPACE || ab, Do = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && zG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Do.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && zG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Do.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Do.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), bf && (bm = !1), yT && (_y = !0), wT && ($n = So({}, [...yw]), Ln = [], wT.html === !0 && (So($n, O4), So(Ln, zS)), wT.svg === !0 && (So($n, R4), So(Ln, US), So(Ln, ww)), wT.svgFilters === !0 && (So($n, vw), So(Ln, US), So(Ln, ww)), wT.mathMl === !0 && (So($n, $4), So(Ln, M4), So(Ln, ww))), Ue.ADD_TAGS && ($n === bn && ($n = O0($n)), So($n, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Ln === ks && (Ln = O0(Ln)), So(Ln, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && So(xj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (xT === LG && (xT = O0(xT)), So(xT, Ue.FORBID_CONTENTS, Ui)), wj && ($n["#text"] = !0), Dh && So($n, [
26281
26281
  "html",
26282
26282
  "head",
26283
26283
  "body"
@@ -26291,13 +26291,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
26291
26291
  Oe === void 0 && (Oe = xw(W, c)), Oe !== null && typeof dt == "string" && (dt = Oe.createHTML(""));
26292
26292
  fu && fu(Ue), ST = Ue;
26293
26293
  }
26294
- }, zG = So({}, [
26294
+ }, UG = So({}, [
26295
26295
  "mi",
26296
26296
  "mo",
26297
26297
  "mn",
26298
26298
  "ms",
26299
26299
  "mtext"
26300
- ]), UG = So({}, [
26300
+ ]), WG = So({}, [
26301
26301
  "foreignobject",
26302
26302
  "desc",
26303
26303
  "title",
@@ -26319,7 +26319,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26319
26319
  tagName: "template"
26320
26320
  });
26321
26321
  const Mn = VS(Ue.tagName), ca = VS(tn.tagName);
26322
- return Sj[Ue.namespaceURI] ? Ue.namespaceURI === H8 ? tn.namespaceURI === ab ? Mn === "svg" : tn.namespaceURI === F8 ? Mn === "svg" && (ca === "annotation-xml" || zG[ca]) : !!V8[Mn] : Ue.namespaceURI === F8 ? tn.namespaceURI === ab ? Mn === "math" : tn.namespaceURI === H8 ? Mn === "math" && UG[ca] : !!kj[Mn] : Ue.namespaceURI === ab ? tn.namespaceURI === H8 && !UG[ca] || tn.namespaceURI === F8 && !zG[ca] ? !1 : !kj[Mn] && (_q[Mn] || !V8[Mn]) : !!(Zx === "application/xhtml+xml" && Sj[Ue.namespaceURI]) : !1;
26322
+ return Sj[Ue.namespaceURI] ? Ue.namespaceURI === H8 ? tn.namespaceURI === ab ? Mn === "svg" : tn.namespaceURI === F8 ? Mn === "svg" && (ca === "annotation-xml" || UG[ca]) : !!V8[Mn] : Ue.namespaceURI === F8 ? tn.namespaceURI === ab ? Mn === "math" : tn.namespaceURI === H8 ? Mn === "math" && WG[ca] : !!kj[Mn] : Ue.namespaceURI === ab ? tn.namespaceURI === H8 && !WG[ca] || tn.namespaceURI === F8 && !UG[ca] ? !1 : !kj[Mn] && (_q[Mn] || !V8[Mn]) : !!(Zx === "application/xhtml+xml" && Sj[Ue.namespaceURI]) : !1;
26323
26323
  }, jx = function(Ue) {
26324
26324
  pw(s.removed, { element: Ue });
26325
26325
  try {
@@ -26350,7 +26350,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26350
26350
  tn.setAttribute(Ue, "");
26351
26351
  } catch {
26352
26352
  }
26353
- }, WG = function(Ue) {
26353
+ }, ZG = function(Ue) {
26354
26354
  let tn, Mn;
26355
26355
  if (JO)
26356
26356
  Ue = "<remove></remove>" + Ue;
@@ -26374,7 +26374,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26374
26374
  }
26375
26375
  const Wi = tn.body || tn.documentElement;
26376
26376
  return Ue && Mn && Wi.insertBefore(d.createTextNode(Mn), Wi.childNodes[0] || null), CT === ab ? Tt.call(tn, Dh ? "html" : "body")[0] : Dh ? tn.documentElement : Wi;
26377
- }, ZG = function(Ue) {
26377
+ }, jG = function(Ue) {
26378
26378
  return Ge.call(Ue.ownerDocument || Ue, Ue, E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT, null, !1);
26379
26379
  }, Tq = function(Ue) {
26380
26380
  return Ue instanceof N && (typeof Ue.nodeName != "string" || typeof Ue.textContent != "string" || typeof Ue.removeChild != "function" || !(Ue.attributes instanceof R) || typeof Ue.removeAttribute != "function" || typeof Ue.setAttribute != "function" || typeof Ue.namespaceURI != "string" || typeof Ue.insertBefore != "function" || typeof Ue.hasChildNodes != "function");
@@ -26384,7 +26384,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26384
26384
  Wt[Ue] && rI(Wt[Ue], (ca) => {
26385
26385
  ca.call(s, tn, Mn, ST);
26386
26386
  });
26387
- }, jG = function(Ue) {
26387
+ }, GG = function(Ue) {
26388
26388
  let tn;
26389
26389
  if (lb("beforeSanitizeElements", Ue, null), Tq(Ue))
26390
26390
  return jx(Ue), !0;
@@ -26395,7 +26395,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26395
26395
  }), Ue.hasChildNodes() && !z8(Ue.firstElementChild) && (!z8(Ue.content) || !z8(Ue.content.firstElementChild)) && pd(/<[/\w]/g, Ue.innerHTML) && pd(/<[/\w]/g, Ue.textContent))
26396
26396
  return jx(Ue), !0;
26397
26397
  if (!$n[Mn] || pl[Mn]) {
26398
- if (!pl[Mn] && qG(Mn) && (Do.tagNameCheck instanceof RegExp && pd(Do.tagNameCheck, Mn) || Do.tagNameCheck instanceof Function && Do.tagNameCheck(Mn)))
26398
+ if (!pl[Mn] && KG(Mn) && (Do.tagNameCheck instanceof RegExp && pd(Do.tagNameCheck, Mn) || Do.tagNameCheck instanceof Function && Do.tagNameCheck(Mn)))
26399
26399
  return !1;
26400
26400
  if (wj && !xT[Mn]) {
26401
26401
  const ca = pe(Ue) || Ue.parentNode, Wi = xe(Ue) || Ue.childNodes;
@@ -26408,16 +26408,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
26408
26408
  return jx(Ue), !0;
26409
26409
  }
26410
26410
  return Ue instanceof C && !kq(Ue) || (Mn === "noscript" || Mn === "noembed" || Mn === "noframes") && pd(/<\/no(script|embed|frames)/i, Ue.innerHTML) ? (jx(Ue), !0) : (bf && Ue.nodeType === 3 && (tn = Ue.textContent, tn = rf(tn, En, " "), tn = rf(tn, xn, " "), tn = rf(tn, qo, " "), Ue.textContent !== tn && (pw(s.removed, { element: Ue.cloneNode() }), Ue.textContent = tn)), lb("afterSanitizeElements", Ue, null), !1);
26411
- }, GG = function(Ue, tn, Mn) {
26412
- if (BG && (tn === "id" || tn === "name") && (Mn in d || Mn in Sq))
26411
+ }, qG = function(Ue, tn, Mn) {
26412
+ if (NG && (tn === "id" || tn === "name") && (Mn in d || Mn in Sq))
26413
26413
  return !1;
26414
26414
  if (!(bm && !zi[tn] && pd(hn, tn))) {
26415
26415
  if (!(Ed && pd(To, tn))) {
26416
26416
  if (!Ln[tn] || zi[tn]) {
26417
- if (!(qG(Ue) && (Do.tagNameCheck instanceof RegExp && pd(Do.tagNameCheck, Ue) || Do.tagNameCheck instanceof Function && Do.tagNameCheck(Ue)) && (Do.attributeNameCheck instanceof RegExp && pd(Do.attributeNameCheck, tn) || Do.attributeNameCheck instanceof Function && Do.attributeNameCheck(tn)) || tn === "is" && Do.allowCustomizedBuiltInElements && (Do.tagNameCheck instanceof RegExp && pd(Do.tagNameCheck, Mn) || Do.tagNameCheck instanceof Function && Do.tagNameCheck(Mn)))) return !1;
26417
+ if (!(KG(Ue) && (Do.tagNameCheck instanceof RegExp && pd(Do.tagNameCheck, Ue) || Do.tagNameCheck instanceof Function && Do.tagNameCheck(Ue)) && (Do.attributeNameCheck instanceof RegExp && pd(Do.attributeNameCheck, tn) || Do.attributeNameCheck instanceof Function && Do.attributeNameCheck(tn)) || tn === "is" && Do.allowCustomizedBuiltInElements && (Do.tagNameCheck instanceof RegExp && pd(Do.tagNameCheck, Mn) || Do.tagNameCheck instanceof Function && Do.tagNameCheck(Mn)))) return !1;
26418
26418
  } else if (!xj[tn]) {
26419
26419
  if (!pd(An, rf(Mn, Xt, ""))) {
26420
- if (!((tn === "src" || tn === "xlink:href" || tn === "href") && Ue !== "script" && D0(Mn, "data:") === 0 && LG[Ue])) {
26420
+ if (!((tn === "src" || tn === "xlink:href" || tn === "href") && Ue !== "script" && D0(Mn, "data:") === 0 && FG[Ue])) {
26421
26421
  if (!(b1 && !pd(Et, rf(Mn, Xt, "")))) {
26422
26422
  if (Mn)
26423
26423
  return !1;
@@ -26428,9 +26428,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
26428
26428
  }
26429
26429
  }
26430
26430
  return !0;
26431
- }, qG = function(Ue) {
26432
- return Ue.indexOf("-") > 0;
26433
26431
  }, KG = function(Ue) {
26432
+ return Ue.indexOf("-") > 0;
26433
+ }, YG = function(Ue) {
26434
26434
  let tn, Mn, ca, Wi;
26435
26435
  lb("beforeSanitizeAttributes", Ue, null);
26436
26436
  const { attributes: xg } = Ue;
@@ -26458,13 +26458,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
26458
26458
  continue;
26459
26459
  }
26460
26460
  bf && (Mn = rf(Mn, En, " "), Mn = rf(Mn, xn, " "), Mn = rf(Mn, qo, " "));
26461
- const YG = Ui(Ue.nodeName);
26462
- if (!GG(YG, ca, Mn)) {
26461
+ const XG = Ui(Ue.nodeName);
26462
+ if (!qG(XG, ca, Mn)) {
26463
26463
  e5(Cg, Ue);
26464
26464
  continue;
26465
26465
  }
26466
- if (NG && (ca === "id" || ca === "name") && (e5(Cg, Ue), Mn = yq + Mn), Oe && typeof W == "object" && typeof W.getAttributeType == "function" && !Tj)
26467
- switch (W.getAttributeType(YG, ca)) {
26466
+ if (IG && (ca === "id" || ca === "name") && (e5(Cg, Ue), Mn = yq + Mn), Oe && typeof W == "object" && typeof W.getAttributeType == "function" && !Tj)
26467
+ switch (W.getAttributeType(XG, ca)) {
26468
26468
  case "TrustedHTML": {
26469
26469
  Mn = Oe.createHTML(Mn);
26470
26470
  break;
@@ -26484,9 +26484,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
26484
26484
  lb("afterSanitizeAttributes", Ue, null);
26485
26485
  }, Eq = function fo(Ue) {
26486
26486
  let tn;
26487
- const Mn = ZG(Ue);
26487
+ const Mn = jG(Ue);
26488
26488
  for (lb("beforeSanitizeShadowDOM", Ue, null); tn = Mn.nextNode(); )
26489
- lb("uponSanitizeShadowNode", tn, null), !jG(tn) && (tn.content instanceof g && fo(tn.content), KG(tn));
26489
+ lb("uponSanitizeShadowNode", tn, null), !GG(tn) && (tn.content instanceof g && fo(tn.content), YG(tn));
26490
26490
  lb("afterSanitizeShadowDOM", Ue, null);
26491
26491
  };
26492
26492
  return s.sanitize = function(fo) {
@@ -26506,17 +26506,17 @@ Components: ` + JSON.stringify(s.components, null, 2));
26506
26506
  throw tm("root node is forbidden and cannot be sanitized in-place");
26507
26507
  }
26508
26508
  } else if (fo instanceof w)
26509
- tn = WG("<!---->"), Mn = tn.ownerDocument.importNode(fo, !0), Mn.nodeType === 1 && Mn.nodeName === "BODY" || Mn.nodeName === "HTML" ? tn = Mn : tn.appendChild(Mn);
26509
+ tn = ZG("<!---->"), Mn = tn.ownerDocument.importNode(fo, !0), Mn.nodeType === 1 && Mn.nodeName === "BODY" || Mn.nodeName === "HTML" ? tn = Mn : tn.appendChild(Mn);
26510
26510
  else {
26511
26511
  if (!_y && !bf && !Dh && fo.indexOf("<") === -1)
26512
26512
  return Oe && L8 ? Oe.createHTML(fo) : fo;
26513
- if (tn = WG(fo), !tn)
26513
+ if (tn = ZG(fo), !tn)
26514
26514
  return _y ? null : L8 ? dt : "";
26515
26515
  }
26516
26516
  tn && JO && jx(tn.firstChild);
26517
- const xg = ZG(QO ? fo : tn);
26517
+ const xg = jG(QO ? fo : tn);
26518
26518
  for (; ca = xg.nextNode(); )
26519
- jG(ca) || (ca.content instanceof g && Eq(ca.content), KG(ca));
26519
+ GG(ca) || (ca.content instanceof g && Eq(ca.content), YG(ca));
26520
26520
  if (QO)
26521
26521
  return fo;
26522
26522
  if (_y) {
@@ -26537,7 +26537,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26537
26537
  }, s.isValidAttribute = function(fo, Ue, tn) {
26538
26538
  ST || _j({});
26539
26539
  const Mn = Ui(fo), ca = Ui(Ue);
26540
- return GG(Mn, ca, tn);
26540
+ return qG(Mn, ca, tn);
26541
26541
  }, s.addHook = function(fo, Ue) {
26542
26542
  typeof Ue == "function" && (Wt[fo] = Wt[fo] || [], pw(Wt[fo], Ue));
26543
26543
  }, s.removeHook = function(fo) {
@@ -29718,7 +29718,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
29718
29718
  dom: qw(a),
29719
29719
  components: t.toArray().concat([s]),
29720
29720
  fieldBehaviours: xt(c)
29721
- }), Yj = () => qw([]), qw = (t) => ({
29721
+ }), Xj = () => qw([]), qw = (t) => ({
29722
29722
  tag: "div",
29723
29723
  classes: ["tox-form__group"].concat(t)
29724
29724
  }), xd = (t, s) => Jo.parts.label({
@@ -32704,7 +32704,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
32704
32704
  }) : A.none();
32705
32705
  } else
32706
32706
  return A.none();
32707
- }, ik = se("alloy.typeahead.itemexecute"), aG = (t, s, a, c) => {
32707
+ }, ik = se("alloy.typeahead.itemexecute"), lG = (t, s, a, c) => {
32708
32708
  const d = (N, H, W) => {
32709
32709
  t.previewing.set(!1);
32710
32710
  const X = Lr.getCoupled(N, "sandbox");
@@ -32904,7 +32904,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
32904
32904
  name: "Typeahead",
32905
32905
  configFields: ix(),
32906
32906
  partFields: BH(),
32907
- factory: aG
32907
+ factory: lG
32908
32908
  }), um = (t) => ({
32909
32909
  ...t,
32910
32910
  toCached: () => um(t.toCached()),
@@ -33259,7 +33259,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
33259
33259
  });
33260
33260
  };
33261
33261
  return Jo.sketch({
33262
- dom: Yj(),
33262
+ dom: Xj(),
33263
33263
  components: C.toArray().concat([$e()]),
33264
33264
  fieldBehaviours: xt([
33265
33265
  yn.config({
@@ -33612,12 +33612,12 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
33612
33612
  };
33613
33613
  }, iV = (t) => (s, a) => {
33614
33614
  cM(t)(s, a);
33615
- }, uV = (t) => () => nM(t), TB = (t) => (s) => T_(t, s), EB = (t) => (s) => tM(t, s), cG = (t) => ({
33615
+ }, uV = (t) => () => nM(t), TB = (t) => (s) => T_(t, s), EB = (t) => (s) => tM(t, s), iG = (t) => ({
33616
33616
  colorPicker: iV(t),
33617
33617
  hasCustomColors: uV(t),
33618
33618
  getColors: TB(t),
33619
33619
  getColorCols: EB(t)
33620
- }), iG = (t) => () => Y4(t), tc = (t) => ({ isDraggableModal: iG(t) }), CD = (t) => {
33620
+ }), uG = (t) => () => Y4(t), tc = (t) => ({ isDraggableModal: uG(t) }), CD = (t) => {
33621
33621
  const s = fn(e3(t) ? "bottom" : "top");
33622
33622
  return {
33623
33623
  isPositionedAtTop: () => s.get() === "top",
@@ -33826,7 +33826,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
33826
33826
  url: a,
33827
33827
  level: c,
33828
33828
  attach: d
33829
- }), uG = (t) => {
33829
+ }), dG = (t) => {
33830
33830
  let s = t;
33831
33831
  for (; s = s.parentNode; ) {
33832
33832
  const a = s.contentEditable;
@@ -33834,7 +33834,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
33834
33834
  return bV(s);
33835
33835
  }
33836
33836
  return !1;
33837
- }, yV = (t, s) => et(_a(Ee.fromDom(s), t), (a) => a.dom), LB = (t) => t.innerText || t.textContent, wV = (t) => t.id ? t.id : Zt("h"), FB = (t) => t && t.nodeName === "A" && (t.id || t.name) !== void 0, SD = (t) => FB(t) && VB(t), HB = (t) => t && /^(H[1-6])$/.test(t.nodeName), VB = (t) => uG(t) && !IB(t), zB = (t) => HB(t) && VB(t), xV = (t) => HB(t) ? parseInt(t.nodeName.substr(1), 10) : 0, CV = (t) => {
33837
+ }, yV = (t, s) => et(_a(Ee.fromDom(s), t), (a) => a.dom), LB = (t) => t.innerText || t.textContent, wV = (t) => t.id ? t.id : Zt("h"), FB = (t) => t && t.nodeName === "A" && (t.id || t.name) !== void 0, SD = (t) => FB(t) && VB(t), HB = (t) => t && /^(H[1-6])$/.test(t.nodeName), VB = (t) => dG(t) && !IB(t), zB = (t) => HB(t) && VB(t), xV = (t) => HB(t) ? parseInt(t.nodeName.substr(1), 10) : 0, CV = (t) => {
33838
33838
  var s;
33839
33839
  const a = wV(t), c = () => {
33840
33840
  t.id = a;
@@ -33911,7 +33911,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
33911
33911
  translate: Fu.translate,
33912
33912
  isDisabled: () => s.mode.isReadOnly() || !s.ui.isEnabled(),
33913
33913
  getOption: s.options.get
33914
- }, w = RV(s), C = PB(s), E = cG(s), R = tc(s), N = () => d.get(), H = ($e) => d.set($e), W = {
33914
+ }, w = RV(s), C = PB(s), E = iG(s), R = tc(s), N = () => d.get(), H = ($e) => d.set($e), W = {
33915
33915
  shared: {
33916
33916
  providers: p,
33917
33917
  anchors: cV(s, a, c, g.isPositionedAtTop),
@@ -34132,7 +34132,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
34132
34132
  }), VV = (t, s) => {
34133
34133
  const a = s.optScrollEnv.fold(se(t.bounds.y), (c) => c.scrollElmTop + (t.bounds.y - c.currentScrollTop));
34134
34134
  return Bo(t.bounds.x, a);
34135
- }, fG = (t, s) => {
34135
+ }, gG = (t, s) => {
34136
34136
  const a = s.optScrollEnv.fold(se(t.y), (c) => t.y + c.currentScrollTop - c.scrollElmTop);
34137
34137
  return Bo(t.x, a);
34138
34138
  }, BD = (t, s, a) => a.getInitialPos().map((c) => {
@@ -34142,7 +34142,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
34142
34142
  location: c.location
34143
34143
  };
34144
34144
  }), ND = (t, s, a, c, d) => {
34145
- const g = fG(s, a), p = Ns(g.left, g.top, s.width, s.height);
34145
+ const g = gG(s, a), p = Ns(g.left, g.top, s.width, s.height);
34146
34146
  c.setInitialPos({
34147
34147
  style: Cr(t),
34148
34148
  position: as(t, "position") || "static",
@@ -34270,7 +34270,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
34270
34270
  aN(s, a, c, d, p);
34271
34271
  });
34272
34272
  }, Sx = FD($D), Ck = FD(MD);
34273
- var gG = /* @__PURE__ */ Object.freeze({
34273
+ var hG = /* @__PURE__ */ Object.freeze({
34274
34274
  __proto__: null,
34275
34275
  refresh: xk,
34276
34276
  reset: l1,
@@ -34343,7 +34343,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
34343
34343
  fields: QV,
34344
34344
  name: "docking",
34345
34345
  active: JV,
34346
- apis: gG,
34346
+ apis: hG,
34347
34347
  state: ez
34348
34348
  }), U0 = se(Zt("toolbar-height-change")), dm = {
34349
34349
  fadeInClass: "tox-editor-dock-fadein",
@@ -34741,7 +34741,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
34741
34741
  Fi.hasGrown(c) ? Lc.isShowing(g, s) ? (Fi.shrink(c), Tk(t.element, "presentation")) : (Lc.hideAllSlots(g), Lc.showSlot(g, s), Tk(t.element, "region")) : (Lc.hideAllSlots(g), Lc.showSlot(g, s), Fi.grow(c), Tk(t.element, "region"));
34742
34742
  });
34743
34743
  });
34744
- }, vz = (t) => mo.getCurrent(t).bind((a) => Fi.isGrowing(a) || Fi.hasGrown(a) ? mo.getCurrent(a).bind((g) => qe(Lc.getSlotNames(g), (p) => Lc.isShowing(g, p))) : A.none()), GD = Zt("FixSizeEvent"), qD = Zt("AutoSizeEvent"), vG = (t) => ({
34744
+ }, vz = (t) => mo.getCurrent(t).bind((a) => Fi.isGrowing(a) || Fi.hasGrown(a) ? mo.getCurrent(a).bind((g) => qe(Lc.getSlotNames(g), (p) => Lc.isShowing(g, p))) : A.none()), GD = Zt("FixSizeEvent"), qD = Zt("AutoSizeEvent"), yG = (t) => ({
34745
34745
  uid: t.uid,
34746
34746
  dom: {
34747
34747
  tag: "div",
@@ -35879,7 +35879,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
35879
35879
  name: "socket",
35880
35880
  schema: [tt("dom")]
35881
35881
  }), rU = ff.optional({
35882
- factory: { sketch: vG },
35882
+ factory: { sketch: yG },
35883
35883
  name: "sidebar",
35884
35884
  schema: [tt("dom")]
35885
35885
  }), UN = ff.optional({
@@ -39821,7 +39821,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
39821
39821
  Ia("placeholder"),
39822
39822
  Yr("maximized", !1),
39823
39823
  bd
39824
- ]), lj = on(aj), f1 = va, DG = (t) => [
39824
+ ]), lj = on(aj), f1 = va, OG = (t) => [
39825
39825
  Jr,
39826
39826
  u_,
39827
39827
  t,
@@ -39852,14 +39852,14 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
39852
39852
  ]), dj = on(uj), mj = va, yy = hf.concat([
39853
39853
  Yr("constrain", !0),
39854
39854
  bd
39855
- ]), OG = on(yy), P8 = on([
39855
+ ]), RG = on(yy), P8 = on([
39856
39856
  $o("width"),
39857
39857
  $o("height")
39858
39858
  ]), fj = m1.concat([
39859
39859
  u_,
39860
39860
  Kc("min", 0),
39861
39861
  Kc("max", 0)
39862
- ]), RG = on(fj), gj = Fg, hj = [
39862
+ ]), $G = on(fj), gj = Fg, hj = [
39863
39863
  Jr,
39864
39864
  Ac("header", va),
39865
39865
  Ac("cells", _u(va))
@@ -39912,15 +39912,15 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
39912
39912
  input: lj,
39913
39913
  listbox: M8,
39914
39914
  selectbox: dj,
39915
- sizeinput: OG,
39916
- slider: RG,
39915
+ sizeinput: RG,
39916
+ slider: $G,
39917
39917
  textarea: bj,
39918
39918
  urlinput: b,
39919
39919
  customeditor: oj,
39920
39920
  htmlpanel: D8,
39921
39921
  imagepreview: O8,
39922
39922
  collection: YZ,
39923
- label: on(DG(k("label"))),
39923
+ label: on(OG(k("label"))),
39924
39924
  table: Ix,
39925
39925
  tree: u,
39926
39926
  panel: F
@@ -41129,7 +41129,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
41129
41129
  "close",
41130
41130
  "block",
41131
41131
  "unblock"
41132
- ], $G = (t) => Pe(t) && iq.indexOf(t.mceAction) !== -1, uq = (t) => !$G(t) && Pe(t) && ho(t, "mceAction"), dq = (t, s, a) => {
41132
+ ], MG = (t) => Pe(t) && iq.indexOf(t.mceAction) !== -1, uq = (t) => !MG(t) && Pe(t) && ho(t, "mceAction"), dq = (t, s, a) => {
41133
41133
  switch (a.mceAction) {
41134
41134
  case "insertContent":
41135
41135
  t.insertContent(a.content);
@@ -41172,7 +41172,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
41172
41172
  const Oe = Xl(Ee.fromDom(window), "message", (dt) => {
41173
41173
  if (N.isSameOrigin(new I8(dt.raw.origin))) {
41174
41174
  const Xe = dt.raw.data;
41175
- $G(Xe) ? dq(a, pe, Xe) : uq(Xe) && t.onMessage(pe, Xe);
41175
+ MG(Xe) ? dq(a, pe, Xe) : uq(Xe) && t.onMessage(pe, Xe);
41176
41176
  }
41177
41177
  });
41178
41178
  W.set(Oe);
@@ -41276,7 +41276,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
41276
41276
  const N = p.get(R);
41277
41277
  wn.focus(N);
41278
41278
  } };
41279
- }, MG = (t, s) => ls(Ys("data", s, t)), PG = (t) => Zw(t, ".tox-alert-dialog") || Zw(t, ".tox-confirm-dialog"), hq = (t, s, a) => s && a ? [] : [nr.config({
41279
+ }, PG = (t, s) => ls(Ys("data", s, t)), BG = (t) => Zw(t, ".tox-alert-dialog") || Zw(t, ".tox-confirm-dialog"), hq = (t, s, a) => s && a ? [] : [nr.config({
41280
41280
  contextual: {
41281
41281
  lazyContext: () => A.some(Ks(Ee.fromDom(t.getContentAreaContainer()))),
41282
41282
  fadeInClass: "tox-dialog-dock-fadein",
@@ -41332,7 +41332,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
41332
41332
  return Zn.open($e, X);
41333
41333
  }, E = (X, ue, $e, xe) => {
41334
41334
  const pe = (Oe, dt, Xe) => {
41335
- const Ge = MG(dt, Xe), yt = oo(), Tt = t.backstages.popup.shared.header.isPositionedAtTop(), zn = {
41335
+ const Ge = PG(dt, Xe), yt = oo(), Tt = t.backstages.popup.shared.header.isPositionedAtTop(), zn = {
41336
41336
  dataValidator: Xe,
41337
41337
  initialData: Ge,
41338
41338
  internalDialog: Oe
@@ -41357,7 +41357,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
41357
41357
  })]),
41358
41358
  ...hq(s, a, Tt)
41359
41359
  ]),
41360
- isExtraPart: (hn, To) => PG(To)
41360
+ isExtraPart: (hn, To) => BG(To)
41361
41361
  }));
41362
41362
  yt.set(xn);
41363
41363
  const qo = () => {
@@ -41369,7 +41369,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
41369
41369
  return Zn.open(pe, X);
41370
41370
  }, R = (X, ue, $e, xe) => {
41371
41371
  const pe = (Oe, dt, Xe) => {
41372
- const Ge = MG(dt, Xe), yt = oo(), Tt = t.backstages.popup.shared.header.isPositionedAtTop(), zn = {
41372
+ const Ge = PG(dt, Xe), yt = oo(), Tt = t.backstages.popup.shared.header.isPositionedAtTop(), zn = {
41373
41373
  dataValidator: Xe,
41374
41374
  initialData: Ge,
41375
41375
  internalDialog: Oe
@@ -41415,7 +41415,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
41415
41415
  }))
41416
41416
  })
41417
41417
  ]),
41418
- isExtraPart: (hn, To) => PG(To)
41418
+ isExtraPart: (hn, To) => BG(To)
41419
41419
  }));
41420
41420
  yt.set(xn);
41421
41421
  const qo = () => t.backstages.popup.shared.getSink().toOptional().bind((hn) => {
@@ -50979,7 +50979,7 @@ const MQ = { class: "font-bold ptext-lg dark:text-white" }, PQ = ["id"], BQ = /*
50979
50979
  const ke = O, ce = te, G = Eo(null);
50980
50980
  let Ae = null;
50981
50981
  Oh(async () => {
50982
- await Oj(), Ae && (Ae.destroy(), Ae = null), $Q.init({
50982
+ await Rj(), Ae && (Ae.destroy(), Ae = null), $Q.init({
50983
50983
  selector: "#" + ke.field_name,
50984
50984
  height: 300,
50985
50985
  plugins: [
@@ -51001,7 +51001,7 @@ const MQ = { class: "font-bold ptext-lg dark:text-white" }, PQ = ["id"], BQ = /*
51001
51001
  });
51002
51002
  }
51003
51003
  });
51004
- }), tq(() => {
51004
+ }), Oj(() => {
51005
51005
  Ae && (Ae.destroy(), Ae = null);
51006
51006
  }), Gx(() => ke.modelValue, (ut) => {
51007
51007
  Ae && Ae.getContent() !== ut && Ae.setContent(ut);
@@ -52571,7 +52571,7 @@ function Pne(O, ie, te, ke, ce, G) {
52571
52571
  const ole = /* @__PURE__ */ qr(Rne, [["render", Pne]]), Bne = {
52572
52572
  setup() {
52573
52573
  const O = Eo([]);
52574
- return JG("accordionsWrapper", {
52574
+ return QG("accordionsWrapper", {
52575
52575
  registerAccordion: (ce) => {
52576
52576
  O.value.push(ce);
52577
52577
  },
@@ -52601,7 +52601,7 @@ const sle = /* @__PURE__ */ qr(Bne, [["render", Nne]]), Ine = {
52601
52601
  }
52602
52602
  },
52603
52603
  setup() {
52604
- const O = Eo(!1), ie = QG("accordionsWrapper"), ke = (() => {
52604
+ const O = Eo(!1), ie = eq("accordionsWrapper"), ke = (() => {
52605
52605
  var ut = (/* @__PURE__ */ new Date()).getTime();
52606
52606
  typeof performance < "u" && typeof performance.now == "function" && (ut += performance.now());
52607
52607
  var Pt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(Cn) {
@@ -52862,7 +52862,7 @@ const rle = /* @__PURE__ */ qr(Ine, [["render", Zne]]), jne = {
52862
52862
  return (Cn, Un) => {
52863
52863
  const Ko = nq("click-outside");
52864
52864
  return ve(), we(go, null, [
52865
- cb(Rj, {
52865
+ cb($j, {
52866
52866
  isOpen: ce.value,
52867
52867
  onConfirmDelete: Pt,
52868
52868
  onCancelDelete: Q
@@ -52968,7 +52968,7 @@ const rle = /* @__PURE__ */ qr(Ine, [["render", Zne]]), jne = {
52968
52968
  return (Cn, Un) => {
52969
52969
  const Ko = nq("click-outside");
52970
52970
  return ve(), we(go, null, [
52971
- cb(Rj, {
52971
+ cb($j, {
52972
52972
  isOpen: ce.value,
52973
52973
  onConfirmDelete: Pt,
52974
52974
  onCancelDelete: Q
@@ -53956,7 +53956,7 @@ export {
53956
53956
  ble as GlDatatableStatusGeneral,
53957
53957
  vle as GlDatatableStatusSpecficColor,
53958
53958
  zae as GlDateRangePicker,
53959
- Rj as GlDeleteConfirmationModal,
53959
+ $j as GlDeleteConfirmationModal,
53960
53960
  Yae as GlDropdown,
53961
53961
  kle as GlDynamicConfirmation,
53962
53962
  $ae as GlFilesUpload,