golden-logic-ui 1.0.225 → 1.0.227

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 ke, createElementBlock as Ae, createElementVNode as V, createCommentVNode as $t, createStaticVNode as kq, reactive as Tq, resolveComponent as Zx, Fragment as zo, createVNode as _y, normalizeClass as bn, toDisplayString as At, withModifiers as Uu, withDirectives as nl, vModelText as bf, renderList as aa, normalizeStyle as Eq, computed as ii, renderSlot as vf, ref as Xo, onMounted as b1, watch as ST, createTextVNode as is, vShow as n5, nextTick as Oj, createBlock as jx, resolveDynamicComponent as z8, mergeProps as t5, withCtx as U8, vModelDynamic as Aq, provide as YG, inject as XG, pushScopeId as Oq, popScopeId as Dq, vModelCheckbox as Rq, onBeforeUnmount as $q, toHandlers as Ej, onUnmounted as Mq, TransitionGroup as Nq, unref as Bq, resolveDirective as JG, markRaw as Pq } from "vue";
1
+ import { openBlock as ke, createElementBlock as Ae, createElementVNode as V, createCommentVNode as $t, createStaticVNode as kq, reactive as Tq, resolveComponent as Zx, Fragment as zo, createVNode as _y, normalizeClass as bn, toDisplayString as At, withModifiers as Uu, withDirectives as nl, vModelText as bf, renderList as aa, normalizeStyle as Eq, computed as ii, renderSlot as vf, ref as qo, onMounted as b1, watch as ST, createTextVNode as is, vShow as n5, nextTick as Oj, createBlock as jx, resolveDynamicComponent as z8, mergeProps as t5, withCtx as U8, vModelDynamic as Aq, provide as YG, inject as XG, pushScopeId as Oq, popScopeId as Dq, vModelCheckbox as Rq, onBeforeUnmount as $q, toHandlers as Ej, onUnmounted as Mq, TransitionGroup as Nq, unref as Bq, resolveDirective as JG, markRaw as Pq } from "vue";
2
2
  const Ta = (B, ve) => {
3
3
  const ce = B.__vccOpts || B;
4
4
  for (const [$e, ye] of ve)
@@ -297,7 +297,7 @@ function SK(B, ve, ce, $e, ye, Q) {
297
297
  V("span", oK, At(ye.error_message_data), 1),
298
298
  V("small", sK, At(ce.description), 1),
299
299
  ye.files.length > 0 ? (ke(), Ae("section", rK, [
300
- (ke(!0), Ae(zo, null, aa(ye.files, (ee, Ue) => (ke(), Ae("li", aK, [
300
+ (ke(!0), Ae(zo, null, aa(ye.files, (ee, ze) => (ke(), Ae("li", aK, [
301
301
  cK,
302
302
  V("div", lK, [
303
303
  V("div", iK, [
@@ -314,7 +314,7 @@ function SK(B, ve, ce, $e, ye, Q) {
314
314
  ]))), 256))
315
315
  ])) : $t("", !0),
316
316
  V("section", fK, [
317
- (ke(!0), Ae(zo, null, aa(Q.uploadFileListFinal, (ee, Ue) => (ke(), Ae("li", gK, [
317
+ (ke(!0), Ae(zo, null, aa(Q.uploadFileListFinal, (ee, ze) => (ke(), Ae("li", gK, [
318
318
  V("div", hK, [
319
319
  pK,
320
320
  V("div", bK, [
@@ -330,7 +330,7 @@ function SK(B, ve, ce, $e, ye, Q) {
330
330
  }, null, 8, xK),
331
331
  ce.is_enable_delete ? (ke(), Ae("i", {
332
332
  key: 0,
333
- onClick: (Ct) => {
333
+ onClick: (wt) => {
334
334
  ye.media_id = ee.id, ye.open_delete_modal = !0;
335
335
  },
336
336
  class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
@@ -514,7 +514,7 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
514
514
  },
515
515
  emits: ["update:modelValue", "selected", "selectionChanged"],
516
516
  setup(B, { emit: ve }) {
517
- const ce = B, $e = ve, ye = Xo(null), Q = Xo([]), De = Xo([]), ee = Xo(0), Ue = Xo(!1), Ct = Xo(""), Gt = Xo("");
517
+ const ce = B, $e = ve, ye = qo(null), Q = qo([]), De = qo([]), ee = qo(0), ze = qo(!1), wt = qo(""), Gt = qo("");
518
518
  b1(() => {
519
519
  Gt.value = $o(), ce.show || (document.body.addEventListener("click", (Ge) => {
520
520
  Xn(Ge);
@@ -522,11 +522,11 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
522
522
  Ge.key === "Enter" && Ge.target.form && Ge.preventDefault();
523
523
  }));
524
524
  });
525
- const Sn = ii(() => wt()), zn = ii(() => Fe()), Uo = ii(() => {
526
- const Ge = [], A = new RegExp(Ct.value, "ig");
525
+ const Sn = ii(() => xt()), zn = ii(() => Fe()), Uo = ii(() => {
526
+ const Ge = [], A = new RegExp(wt.value, "ig");
527
527
  for (const Jt of Sn.value) {
528
528
  const nt = String(Jt.name);
529
- (Ct.value.length < 1 || nt.match(A)) && Ge.length < ce.maxItem && Ge.push(Jt);
529
+ (wt.value.length < 1 || nt.match(A)) && Ge.length < ce.maxItem && Ge.push(Jt);
530
530
  }
531
531
  return Ge;
532
532
  });
@@ -563,7 +563,7 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
563
563
  return Q.value.findIndex((A) => A.id === Ge) !== -1;
564
564
  }
565
565
  function me() {
566
- Q.value = wt();
566
+ Q.value = xt();
567
567
  }
568
568
  function _t() {
569
569
  Q.value = [], $e("update:modelValue", []), $e("selected", []), $e("selectionChanged", []);
@@ -586,7 +586,7 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
586
586
  function ns(Ge) {
587
587
  Ge === "ArrowDown" && ee.value < Uo.value.length && (ee.value++, oe(ee.value)), Ge === "ArrowUp" && ee.value > 1 && (ee.value--, oe(ee.value)), Ge === "Enter" && Nn(ee.value);
588
588
  }
589
- function wt() {
589
+ function xt() {
590
590
  return ce.options.map((Ge, A) => typeof Ge == "object" ? Ge : { id: Ge, name: Ge });
591
591
  }
592
592
  function Fe() {
@@ -614,10 +614,10 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
614
614
  function ie(Ge) {
615
615
  console.log("selectOption", Ge);
616
616
  let A = Q.value.findIndex((Jt) => Jt.id === Ge.id);
617
- A !== -1 ? Q.value.splice(A, 1) : Q.value.push(Ge), console.log("selectOption selected", Q.value), Ue.value = !1, De.value = Q.value.map((Jt) => Jt.id), $e("update:modelValue", De.value), $e("selected", Q.value), $e("selectionChanged", Q.value);
617
+ A !== -1 ? Q.value.splice(A, 1) : Q.value.push(Ge), console.log("selectOption selected", Q.value), ze.value = !1, De.value = Q.value.map((Jt) => Jt.id), $e("update:modelValue", De.value), $e("selected", Q.value), $e("selectionChanged", Q.value);
618
618
  }
619
619
  function Mo() {
620
- ce.show || (Ct.value = "", Ue.value = !0, Oj(() => {
620
+ ce.show || (wt.value = "", ze.value = !0, Oj(() => {
621
621
  var Ge = document.getElementById(
622
622
  `${ce.field_name}search${Gt.value}`
623
623
  );
@@ -625,9 +625,9 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
625
625
  }));
626
626
  }
627
627
  function Jn() {
628
- Ct.value = "", $e("selected", Q.value), Ue.value = !1;
628
+ wt.value = "", $e("selected", Q.value), ze.value = !1;
629
629
  }
630
- return ST(Ct, () => {
630
+ return ST(wt, () => {
631
631
  Uo.value.length === 0 && (Q.value = []);
632
632
  }), ST(Q, (Ge) => {
633
633
  Mt(Q.value) && (De.value = Q.value.map((A) => A.id), $e("update:modelValue", De.value));
@@ -693,7 +693,7 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
693
693
  ]))), 128))
694
694
  ]),
695
695
  V("i", {
696
- class: bn([Ue.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700"]),
696
+ class: bn([ze.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700"]),
697
697
  style: { top: "11px" }
698
698
  }, null, 2)
699
699
  ]),
@@ -704,7 +704,7 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
704
704
  ZK,
705
705
  nl(V("input", {
706
706
  type: "search",
707
- "onUpdate:modelValue": A[1] || (A[1] = (Jt) => Ct.value = Jt),
707
+ "onUpdate:modelValue": A[1] || (A[1] = (Jt) => wt.value = Jt),
708
708
  ref: ye.value,
709
709
  id: `${B.field_name}search${Gt.value}`,
710
710
  onKeydown: ir,
@@ -713,7 +713,7 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
713
713
  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",
714
714
  placeholder: "Search ..."
715
715
  }, null, 40, jK), [
716
- [bf, Ct.value]
716
+ [bf, wt.value]
717
717
  ])
718
718
  ])
719
719
  ]),
@@ -730,7 +730,7 @@ const nre = /* @__PURE__ */ Ta(_K, [["render", AK]]), OK = { class: "bg-white bo
730
730
  }, At(Jt.name || Jt.id || "-"), 43, qK))), 128))
731
731
  ])
732
732
  ], 512), [
733
- [n5, Ue.value]
733
+ [n5, ze.value]
734
734
  ])
735
735
  ])
736
736
  ])) : $t("", !0)
@@ -897,7 +897,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
897
897
  },
898
898
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
899
899
  setup(B, { expose: ve, emit: ce }) {
900
- const $e = B, ye = ce, Q = Xo(null), De = Xo(null);
900
+ const $e = B, ye = ce, Q = qo(null), De = qo(null);
901
901
  return b1(() => {
902
902
  Q.value !== null && Q.value.hasAttribute("autofocus") && Q.value.focus(), $e.model_value && (ye("update:modelValue", $e.model_value), Q.value.value = $e.model_value), $e.model_value_translate, $e.translatable && axios.post("/admin/get_field_translations", {
903
903
  model: $e.translatable.model,
@@ -908,7 +908,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
908
908
  }).catch((ee) => {
909
909
  console.log(ee);
910
910
  });
911
- }), ve({ focus: () => Q.value.focus() }), (ee, Ue) => (ke(), Ae(zo, null, [
911
+ }), ve({ focus: () => Q.value.focus() }), (ee, ze) => (ke(), Ae(zo, null, [
912
912
  B.show ? (ke(), Ae("div", {
913
913
  key: 0,
914
914
  class: bn(B.field_name)
@@ -921,7 +921,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
921
921
  id: B.field_name + "_i18n",
922
922
  ref_key: "input_translate",
923
923
  ref: De,
924
- "onUpdate:modelValue": Ue[0] || (Ue[0] = (Ct) => ee.inputTranslateValue = Ct)
924
+ "onUpdate:modelValue": ze[0] || (ze[0] = (wt) => ee.inputTranslateValue = wt)
925
925
  }, null, 8, QK), [
926
926
  [bf, ee.inputTranslateValue]
927
927
  ]),
@@ -950,7 +950,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
950
950
  "data-i18n": "true",
951
951
  name: B.field_name + "_i18n",
952
952
  id: B.field_name + "_i18n",
953
- onInput: Ue[1] || (Ue[1] = (Ct) => ee.$emit("update:modelValueTranslate", Ct.target.value)),
953
+ onInput: ze[1] || (ze[1] = (wt) => ee.$emit("update:modelValueTranslate", wt.target.value)),
954
954
  ref_key: "input_translate",
955
955
  ref: De
956
956
  }, null, 40, sY),
@@ -963,8 +963,8 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
963
963
  " gl-textarea-form-invalid form-input-translation mt-4 ": B.error_message !== ""
964
964
  }),
965
965
  type: B.type,
966
- onInput: Ue[2] || (Ue[2] = (Ct) => ee.$emit("update:modelValue", Ct.target.value)),
967
- onKeydown: Ue[3] || (Ue[3] = (Ct) => ee.$emit("keydown", Ct)),
966
+ onInput: ze[2] || (ze[2] = (wt) => ee.$emit("update:modelValue", wt.target.value)),
967
+ onKeydown: ze[3] || (ze[3] = (wt) => ee.$emit("keydown", wt)),
968
968
  ref_key: "input",
969
969
  ref: Q,
970
970
  rows: "4"
@@ -1033,7 +1033,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1033
1033
  },
1034
1034
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1035
1035
  setup(B, { expose: ve, emit: ce }) {
1036
- const $e = B, ye = ce, Q = Xo(null), De = Xo(null);
1036
+ const $e = B, ye = ce, Q = qo(null), De = qo(null);
1037
1037
  return b1(() => {
1038
1038
  tinymce.init({
1039
1039
  selector: "#" + $e.field_name,
@@ -1048,7 +1048,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1048
1048
  }).catch((ee) => {
1049
1049
  console.log(ee);
1050
1050
  });
1051
- }), ve({ focus: () => Q.value.focus() }), (ee, Ue) => (ke(), Ae(zo, null, [
1051
+ }), ve({ focus: () => Q.value.focus() }), (ee, ze) => (ke(), Ae(zo, null, [
1052
1052
  B.show ? (ke(), Ae("div", {
1053
1053
  key: 0,
1054
1054
  class: bn(B.field_name)
@@ -1061,7 +1061,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1061
1061
  id: B.field_name + "_i18n",
1062
1062
  ref_key: "input_translate",
1063
1063
  ref: De,
1064
- "onUpdate:modelValue": Ue[0] || (Ue[0] = (Ct) => ee.inputTranslateValue = Ct)
1064
+ "onUpdate:modelValue": ze[0] || (ze[0] = (wt) => ee.inputTranslateValue = wt)
1065
1065
  }, null, 8, iY), [
1066
1066
  [bf, ee.inputTranslateValue]
1067
1067
  ]),
@@ -1090,7 +1090,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1090
1090
  "data-i18n": "true",
1091
1091
  name: B.field_name + "_i18n",
1092
1092
  id: B.field_name + "_i18n",
1093
- onInput: Ue[1] || (Ue[1] = (Ct) => ee.$emit("update:modelValueTranslate", Ct.target.value)),
1093
+ onInput: ze[1] || (ze[1] = (wt) => ee.$emit("update:modelValueTranslate", wt.target.value)),
1094
1094
  ref_key: "input_translate",
1095
1095
  ref: De
1096
1096
  }, null, 40, gY),
@@ -1102,8 +1102,8 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1102
1102
  " gl-textarea-form-invalid form-input-translation mt-4 ": B.error_message !== ""
1103
1103
  }]),
1104
1104
  type: B.type,
1105
- onInput: Ue[2] || (Ue[2] = (Ct) => ee.$emit("update:modelValue", Ct.target.value)),
1106
- onKeydown: Ue[3] || (Ue[3] = (Ct) => ee.$emit("keydown", Ct)),
1105
+ onInput: ze[2] || (ze[2] = (wt) => ee.$emit("update:modelValue", wt.target.value)),
1106
+ onKeydown: ze[3] || (ze[3] = (wt) => ee.$emit("keydown", wt)),
1107
1107
  ref_key: "input",
1108
1108
  ref: Q,
1109
1109
  rows: "4"
@@ -1172,7 +1172,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1172
1172
  },
1173
1173
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1174
1174
  setup(B, { expose: ve, emit: ce }) {
1175
- const $e = B, ye = ce, Q = Xo(null), De = Xo(null);
1175
+ const $e = B, ye = ce, Q = qo(null), De = qo(null);
1176
1176
  return b1(() => {
1177
1177
  Q.value !== null && Q.value.hasAttribute("autofocus") && Q.value.focus(), $e.model_value && (ye("update:modelValue", $e.model_value), Q.value.value = $e.model_value), $e.model_value_translate, $e.translatable && axios.post("/admin/get_field_translations", {
1178
1178
  model: $e.translatable.model,
@@ -1183,7 +1183,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1183
1183
  }).catch((ee) => {
1184
1184
  console.log(ee);
1185
1185
  });
1186
- }), ve({ focus: () => Q.value.focus() }), (ee, Ue) => (ke(), Ae(zo, null, [
1186
+ }), ve({ focus: () => Q.value.focus() }), (ee, ze) => (ke(), Ae(zo, null, [
1187
1187
  B.show ? (ke(), Ae("div", {
1188
1188
  key: 0,
1189
1189
  class: bn(B.field_name)
@@ -1195,7 +1195,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1195
1195
  name: B.field_name + "_i18n",
1196
1196
  id: B.field_name + "_i18n",
1197
1197
  ref: "input_translate_s",
1198
- "onUpdate:modelValue": Ue[0] || (Ue[0] = (Ct) => ee.inputTranslateValue = Ct)
1198
+ "onUpdate:modelValue": ze[0] || (ze[0] = (wt) => ee.inputTranslateValue = wt)
1199
1199
  }, null, 8, yY), [
1200
1200
  [bf, ee.inputTranslateValue]
1201
1201
  ]),
@@ -1224,7 +1224,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1224
1224
  "data-i18n": "true",
1225
1225
  name: B.field_name + "_i18n",
1226
1226
  id: B.field_name + "_i18n",
1227
- onInput: Ue[1] || (Ue[1] = (Ct) => ee.$emit("update:modelValueTranslate", Ct.target.value)),
1227
+ onInput: ze[1] || (ze[1] = (wt) => ee.$emit("update:modelValueTranslate", wt.target.value)),
1228
1228
  ref_key: "input_translate",
1229
1229
  ref: De
1230
1230
  }, null, 40, _Y),
@@ -1237,8 +1237,8 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1237
1237
  " gl-input-form-invalid form-input-translation mt-2 ": B.error_message !== ""
1238
1238
  }),
1239
1239
  type: B.type,
1240
- onInput: Ue[2] || (Ue[2] = (Ct) => ee.$emit("update:modelValue", Ct.target.value)),
1241
- onKeydown: Ue[3] || (Ue[3] = (Ct) => ee.$emit("keydown", Ct)),
1240
+ onInput: ze[2] || (ze[2] = (wt) => ee.$emit("update:modelValue", wt.target.value)),
1241
+ onKeydown: ze[3] || (ze[3] = (wt) => ee.$emit("keydown", wt)),
1242
1242
  ref_key: "input",
1243
1243
  ref: Q
1244
1244
  }, null, 42, kY),
@@ -1293,7 +1293,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1293
1293
  },
1294
1294
  emits: ["update:modelValue", "keydown"],
1295
1295
  setup(B, { expose: ve, emit: ce }) {
1296
- const $e = B, ye = ce, Q = Xo(null);
1296
+ const $e = B, ye = ce, Q = qo(null);
1297
1297
  b1(() => {
1298
1298
  Q.value !== null && Q.value.hasAttribute("autofocus") && Q.value.focus();
1299
1299
  });
@@ -1305,7 +1305,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1305
1305
  ye("update:modelValue", ee), console.log(ee);
1306
1306
  }
1307
1307
  });
1308
- return ve({ focus: () => Q.value.focus() }), (ee, Ue) => (ke(), Ae(zo, null, [
1308
+ return ve({ focus: () => Q.value.focus() }), (ee, ze) => (ke(), Ae(zo, null, [
1309
1309
  B.show ? (ke(), Ae("div", {
1310
1310
  key: 0,
1311
1311
  class: bn(B.field_name)
@@ -1335,8 +1335,8 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1335
1335
  "gl-input-form-invalid": B.error_message !== ""
1336
1336
  }),
1337
1337
  type: B.type,
1338
- "onUpdate:modelValue": Ue[0] || (Ue[0] = (Ct) => De.value = Ct),
1339
- onKeydown: Ue[1] || (Ue[1] = (Ct) => ee.$emit("keydown", Ct)),
1338
+ "onUpdate:modelValue": ze[0] || (ze[0] = (wt) => De.value = wt),
1339
+ onKeydown: ze[1] || (ze[1] = (wt) => ee.$emit("keydown", wt)),
1340
1340
  ref_key: "input",
1341
1341
  ref: Q,
1342
1342
  placeholder: B.placeholder
@@ -1386,29 +1386,29 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1386
1386
  },
1387
1387
  emits: ["update:modelValue", "keydown"],
1388
1388
  setup(B, { emit: ve }) {
1389
- const ce = B, $e = ve, ye = Xo(""), Q = Xo({
1389
+ const ce = B, $e = ve, ye = qo(""), Q = qo({
1390
1390
  start: ce.modelValue.start,
1391
1391
  end: ce.modelValue.end
1392
1392
  });
1393
- Xo(""), Xo("");
1393
+ qo(""), qo("");
1394
1394
  const De = ii({
1395
1395
  get() {
1396
1396
  return ce.modelValue.start;
1397
1397
  },
1398
- set(Ct) {
1399
- Q.value.start = Ct, Ue(Q.value.start, Q.value.end), $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end });
1398
+ set(wt) {
1399
+ Q.value.start = wt, ze(Q.value.start, Q.value.end), $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end });
1400
1400
  }
1401
1401
  }), ee = ii({
1402
1402
  get() {
1403
1403
  return ce.modelValue.end;
1404
1404
  },
1405
- set(Ct) {
1406
- Q.value.end = Ct, Ue(Q.value.start, Q.value.end), $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end });
1405
+ set(wt) {
1406
+ Q.value.end = wt, ze(Q.value.start, Q.value.end), $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end });
1407
1407
  }
1408
- }), Ue = (Ct, Gt) => {
1409
- Ct && Gt && new Date(Ct) > new Date(Gt) ? (ye.value = "Start date cannot be after end date.", Q.value.start = "", Q.value.end = "", $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end })) : Ct && Gt && new Date(Gt) < new Date(Ct) ? (ye.value = "End date cannot be before start date.", Q.value.start = "", Q.value.end = "", $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end })) : ye.value = "";
1408
+ }), ze = (wt, Gt) => {
1409
+ wt && Gt && new Date(wt) > new Date(Gt) ? (ye.value = "Start date cannot be after end date.", Q.value.start = "", Q.value.end = "", $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end })) : wt && Gt && new Date(Gt) < new Date(wt) ? (ye.value = "End date cannot be before start date.", Q.value.start = "", Q.value.end = "", $e("update:modelValue", { start: Q.value.start, end: Q.value.end }), $e("keydown", { start: Q.value.start, end: Q.value.end })) : ye.value = "";
1410
1410
  };
1411
- return (Ct, Gt) => (ke(), Ae(zo, null, [
1411
+ return (wt, Gt) => (ke(), Ae(zo, null, [
1412
1412
  B.show ? (ke(), Ae("div", {
1413
1413
  key: 0,
1414
1414
  class: bn(B.field_name)
@@ -1513,7 +1513,7 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1513
1513
  },
1514
1514
  emits: ["update:modelValue", "keydown"],
1515
1515
  setup(B, { emit: ve }) {
1516
- const ce = ve, $e = Xo(null), ye = (Q) => {
1516
+ const ce = ve, $e = qo(null), ye = (Q) => {
1517
1517
  const De = Q.target.files[0];
1518
1518
  console.log(De), ce("keydown", Q), De && ce("update:modelValue", De);
1519
1519
  };
@@ -1559,9 +1559,9 @@ const rre = /* @__PURE__ */ Ta(KK, [["render", XK]]), JK = { class: "font-bold p
1559
1559
  }
1560
1560
  }, QY = {
1561
1561
  setup(B, { slots: ve }) {
1562
- const ce = Xo(ve.default().map((ye) => ye.props));
1562
+ const ce = qo(ve.default().map((ye) => ye.props));
1563
1563
  console.log(ve.default());
1564
- const $e = Xo(ce.value[0].title);
1564
+ const $e = qo(ce.value[0].title);
1565
1565
  return YG("selectedTitle", $e), {
1566
1566
  tabs: ce,
1567
1567
  selectedTitle: $e
@@ -1677,8 +1677,8 @@ const fre = /* @__PURE__ */ Ta(lX, [["render", uX]]), dX = {
1677
1677
  const ce = (ye) => {
1678
1678
  ve.style.cursor = "grabbing";
1679
1679
  const Q = (ee) => {
1680
- const Ue = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, Ct = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, Gt = Ue - B.initialX, Sn = Ct - B.initialY;
1681
- Math.abs(Gt) > Math.abs(Sn) ? (ee.preventDefault(), Math.abs(Gt) >= 70 && (Gt < 0 ? B.next() : B.prev(), B.initialX = Ue)) : ve.style.cursor = "grab", Math.abs(Sn) > Math.abs(Gt) && (ve.style.cursor = "grab");
1680
+ const ze = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, wt = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, Gt = ze - B.initialX, Sn = wt - B.initialY;
1681
+ Math.abs(Gt) > Math.abs(Sn) ? (ee.preventDefault(), Math.abs(Gt) >= 70 && (Gt < 0 ? B.next() : B.prev(), B.initialX = ze)) : ve.style.cursor = "grab", Math.abs(Sn) > Math.abs(Gt) && (ve.style.cursor = "grab");
1682
1682
  }, De = () => {
1683
1683
  document.removeEventListener("mousemove", Q), document.removeEventListener("touchmove", Q), document.removeEventListener("mouseup", De), document.removeEventListener("touchend", De), ve.style.cursor = "grab";
1684
1684
  };
@@ -1700,13 +1700,13 @@ const fre = /* @__PURE__ */ Ta(lX, [["render", uX]]), dX = {
1700
1700
  this.dotsNum = this.elementsToShow == 1 ? ye.length : ye.length - this.elementsToShow + 1;
1701
1701
  let ee = this.elementsToShow == 1 ? De * ye.length / this.dotsNum : De * (ye.length - this.elementsToShow) / (this.dotsNum - 1);
1702
1702
  this.dotsNavigation = [];
1703
- for (let Ue = 0; Ue < this.dotsNum; Ue++)
1704
- this.dotsNavigation.push(ee * Ue);
1703
+ for (let ze = 0; ze < this.dotsNum; ze++)
1704
+ this.dotsNavigation.push(ee * ze);
1705
1705
  }
1706
1706
  ce.style.width = ye.length * De + "px", ce.style.transition = "margin", ce.style.transitionDuration = "1s";
1707
1707
  for (let ee = 0; ee < ye.length; ee++) {
1708
- const Ue = ye[ee];
1709
- Ue.style.width = De + "px";
1708
+ const ze = ye[ee];
1709
+ ze.style.width = De + "px";
1710
1710
  }
1711
1711
  },
1712
1712
  setDot(B) {
@@ -2059,20 +2059,20 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2059
2059
  },
2060
2060
  emits: ["closeModal"],
2061
2061
  setup(B, { emit: ve }) {
2062
- const ce = B, $e = ve, ye = () => {
2062
+ const ce = B, $e = ve, ye = qo(!1), Q = () => {
2063
2063
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2064
- }, Q = () => {
2065
- document.documentElement.style.removeProperty("overflow"), document.documentElement.style.removeProperty("padding-right");
2066
2064
  }, De = () => {
2067
- $e("closeModal"), Q();
2065
+ document.documentElement.style.removeProperty("overflow"), document.documentElement.style.removeProperty("padding-right");
2066
+ }, ee = () => {
2067
+ $e("closeModal"), De();
2068
2068
  };
2069
2069
  return ST(
2070
2070
  () => ce.is_open,
2071
- (ee, Ue) => {
2072
- ee ? ye() : Q();
2071
+ (ze, wt) => {
2072
+ ze ? Q() : De(), ye.value = ze;
2073
2073
  },
2074
2074
  { immediate: !0, deep: !0 }
2075
- ), (ee, Ue) => B.is_open ? (ke(), Ae("div", pJ, [
2075
+ ), (ze, wt) => ye.value ? (ke(), Ae("div", pJ, [
2076
2076
  V("div", {
2077
2077
  class: bn(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", B.max_width])
2078
2078
  }, [
@@ -2082,19 +2082,19 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2082
2082
  V("button", {
2083
2083
  type: "button",
2084
2084
  class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
2085
- onClick: De,
2085
+ onClick: ee,
2086
2086
  "aria-label": "Close"
2087
2087
  }, xJ)
2088
2088
  ]),
2089
2089
  V("div", {
2090
2090
  class: bn(["relative overflow-y-auto", B.bodyClass])
2091
2091
  }, [
2092
- vf(ee.$slots, "body")
2092
+ vf(ze.$slots, "body")
2093
2093
  ], 2),
2094
2094
  V("div", CJ, [
2095
- vf(ee.$slots, "buttons"),
2095
+ vf(ze.$slots, "buttons"),
2096
2096
  V("button", {
2097
- onClick: De,
2097
+ onClick: ee,
2098
2098
  type: "button",
2099
2099
  class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
2100
2100
  }, " Close ")
@@ -2152,7 +2152,7 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2152
2152
  },
2153
2153
  emits: ["update:modelValue"],
2154
2154
  setup(B, { emit: ve }) {
2155
- const ce = B, $e = ve, ye = Xo(null), Q = ii({
2155
+ const ce = B, $e = ve, ye = qo(null), Q = ii({
2156
2156
  get() {
2157
2157
  return ce.modelValue;
2158
2158
  },
@@ -2206,7 +2206,7 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2206
2206
  "false-value": 0,
2207
2207
  ref_key: "input",
2208
2208
  ref: ye,
2209
- "onUpdate:modelValue": ee[0] || (ee[0] = (Ue) => Q.value = Ue)
2209
+ "onUpdate:modelValue": ee[0] || (ee[0] = (ze) => Q.value = ze)
2210
2210
  }, null, 8, $J), [
2211
2211
  [Rq, Q.value]
2212
2212
  ]),
@@ -2315,101 +2315,101 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2315
2315
  },
2316
2316
  emits: ["update:modelValue", "selected", "selectionChanged"],
2317
2317
  setup(B, { emit: ve }) {
2318
- const ce = B, $e = ve, ye = Xo(null), Q = Xo({}), De = Xo(0), ee = Xo(!1), Ue = Xo(""), Ct = Xo("");
2318
+ const ce = B, $e = ve, ye = qo(null), Q = qo({}), De = qo(0), ee = qo(!1), ze = qo(""), wt = qo("");
2319
2319
  b1(() => {
2320
- Ct.value = ir(), ce.show || (document.body.addEventListener("click", (wt) => {
2321
- Mt(wt);
2322
- }), document.addEventListener("keypress", (wt) => {
2323
- wt.key === "Enter" && wt.target.form && wt.preventDefault();
2320
+ wt.value = ir(), ce.show || (document.body.addEventListener("click", (xt) => {
2321
+ Mt(xt);
2322
+ }), document.addEventListener("keypress", (xt) => {
2323
+ xt.key === "Enter" && xt.target.form && xt.preventDefault();
2324
2324
  }));
2325
2325
  });
2326
2326
  const Gt = ii(() => _t()), Sn = ii(() => Ea()), zn = ii(() => {
2327
- const wt = [], Fe = new RegExp(Ue.value, "ig");
2327
+ const xt = [], Fe = new RegExp(ze.value, "ig");
2328
2328
  for (const ie of Gt.value) {
2329
2329
  const Mo = String(ie.name);
2330
- (Ue.value.length < 1 || Mo.match(Fe)) && wt.length < ce.maxItem && wt.push(ie);
2330
+ (ze.value.length < 1 || Mo.match(Fe)) && xt.length < ce.maxItem && xt.push(ie);
2331
2331
  }
2332
- return wt;
2332
+ return xt;
2333
2333
  });
2334
- function Uo(wt) {
2334
+ function Uo(xt) {
2335
2335
  if ([
2336
2336
  "ArrowLeft",
2337
2337
  "ArrowUp",
2338
2338
  "ArrowRight",
2339
2339
  "ArrowDown",
2340
2340
  "Enter"
2341
- ].includes(wt.key)) {
2342
- if (["ArrowUp", "ArrowDown"].includes(wt.key) && wt.preventDefault(), wt.key === "ArrowDown" && ce.posts === "")
2341
+ ].includes(xt.key)) {
2342
+ if (["ArrowUp", "ArrowDown"].includes(xt.key) && xt.preventDefault(), xt.key === "ArrowDown" && ce.posts === "")
2343
2343
  return;
2344
- me(wt.key);
2344
+ me(xt.key);
2345
2345
  }
2346
2346
  }
2347
2347
  function ir() {
2348
- let wt = (/* @__PURE__ */ new Date()).getTime();
2348
+ let xt = (/* @__PURE__ */ new Date()).getTime();
2349
2349
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
2350
2350
  /[xy]/g,
2351
2351
  function(ie) {
2352
- const Mo = (wt + Math.random() * 16) % 16 | 0;
2353
- return wt = Math.floor(wt / 16), (ie === "x" ? Mo : Mo & 3 | 8).toString(16);
2352
+ const Mo = (xt + Math.random() * 16) % 16 | 0;
2353
+ return xt = Math.floor(xt / 16), (ie === "x" ? Mo : Mo & 3 | 8).toString(16);
2354
2354
  }
2355
2355
  );
2356
2356
  }
2357
- function $o(wt) {
2358
- return wt !== null && typeof wt == "object" && Object.keys(wt).length > 0;
2357
+ function $o(xt) {
2358
+ return xt !== null && typeof xt == "object" && Object.keys(xt).length > 0;
2359
2359
  }
2360
- function Mt(wt) {
2361
- wt.target.id != ce.field_name + "search" + Ct.value && wt.target.id != ce.field_name && !wt.target.classList.contains("showOptions") && (ns(), De.value = 0);
2360
+ function Mt(xt) {
2361
+ xt.target.id != ce.field_name + "search" + wt.value && xt.target.id != ce.field_name && !xt.target.classList.contains("showOptions") && (ns(), De.value = 0);
2362
2362
  }
2363
- function ur(wt) {
2364
- const Fe = `${wt}${Ct.value}`, ie = document.getElementById(Fe);
2363
+ function ur(xt) {
2364
+ const Fe = `${xt}${wt.value}`, ie = document.getElementById(Fe);
2365
2365
  ie && ie.scrollIntoView();
2366
2366
  }
2367
- function dn(wt) {
2368
- const Fe = `${wt}${Ct.value}`, ie = document.getElementById(Fe);
2367
+ function dn(xt) {
2368
+ const Fe = `${xt}${wt.value}`, ie = document.getElementById(Fe);
2369
2369
  ie && ie.click();
2370
2370
  }
2371
- function me(wt) {
2372
- wt === "ArrowDown" && De.value < zn.value.length && (De.value++, ur(De.value)), wt === "ArrowUp" && De.value > 1 && (De.value--, ur(De.value)), wt === "Enter" && dn(De.value);
2371
+ function me(xt) {
2372
+ xt === "ArrowDown" && De.value < zn.value.length && (De.value++, ur(De.value)), xt === "ArrowUp" && De.value > 1 && (De.value--, ur(De.value)), xt === "Enter" && dn(De.value);
2373
2373
  }
2374
2374
  function _t() {
2375
- return ce.options.map((wt, Fe) => typeof wt == "object" ? wt : { id: wt, name: wt });
2375
+ return ce.options.map((xt, Fe) => typeof xt == "object" ? xt : { id: xt, name: xt });
2376
2376
  }
2377
2377
  function Ea() {
2378
2378
  if ($o(Q.value))
2379
2379
  return typeof Q.value == "object" ? Gt.value.find(
2380
- (wt) => String(wt.id) === String(Q.value.id)
2380
+ (xt) => String(xt.id) === String(Q.value.id)
2381
2381
  ) || {} : Gt.value.find(
2382
- (wt) => String(wt.id) === String(Q.value)
2382
+ (xt) => String(xt.id) === String(Q.value)
2383
2383
  ) || {};
2384
2384
  if (ce.modelValue)
2385
2385
  return typeof ce.modelValue == "object" ? Gt.value.find(
2386
- (wt) => String(wt.id) === String(ce.modelValue.id)
2386
+ (xt) => String(xt.id) === String(ce.modelValue.id)
2387
2387
  ) || {} : Gt.value.find(
2388
- (wt) => String(wt.id) === String(ce.modelValue)
2388
+ (xt) => String(xt.id) === String(ce.modelValue)
2389
2389
  ) || {};
2390
2390
  }
2391
- function Xn(wt) {
2392
- Q.value = wt, ee.value = !1, $e("update:modelValue", Q.value.id), $e("selected", Q.value), $e("selectionChanged", Q.value);
2391
+ function Xn(xt) {
2392
+ Q.value = xt, ee.value = !1, $e("update:modelValue", Q.value.id), $e("selected", Q.value), $e("selectionChanged", Q.value);
2393
2393
  }
2394
2394
  function oe() {
2395
- ce.show || (Ue.value = "", ee.value = !0, Oj(() => {
2396
- var wt = document.getElementById(
2397
- `${ce.field_name}search${Ct.value}`
2395
+ ce.show || (ze.value = "", ee.value = !0, Oj(() => {
2396
+ var xt = document.getElementById(
2397
+ `${ce.field_name}search${wt.value}`
2398
2398
  );
2399
- wt && wt.focus();
2399
+ xt && xt.focus();
2400
2400
  }));
2401
2401
  }
2402
2402
  function Nn() {
2403
- ce.show || (Q.value = {}, Ue.value = "", $e("update:modelValue", ""), oe());
2403
+ ce.show || (Q.value = {}, ze.value = "", $e("update:modelValue", ""), oe());
2404
2404
  }
2405
2405
  function ns() {
2406
- Q.value.id || (Q.value = {}, Ue.value = ""), $e("selected", Q.value), ee.value = !1;
2406
+ Q.value.id || (Q.value = {}, ze.value = ""), $e("selected", Q.value), ee.value = !1;
2407
2407
  }
2408
- return ST(Ue, () => {
2408
+ return ST(ze, () => {
2409
2409
  zn.value.length === 0 && (Q.value = {});
2410
- }), ST(Q, (wt) => {
2411
- $o(wt) && $e("update:modelValue", wt.id);
2412
- }), (wt, Fe) => {
2410
+ }), ST(Q, (xt) => {
2411
+ $o(xt) && $e("update:modelValue", xt.id);
2412
+ }), (xt, Fe) => {
2413
2413
  var ie, Mo, Jn;
2414
2414
  return ke(), Ae(zo, null, [
2415
2415
  B.show ? (ke(), Ae("div", {
@@ -2475,16 +2475,16 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2475
2475
  KJ,
2476
2476
  nl(V("input", {
2477
2477
  type: "search",
2478
- "onUpdate:modelValue": Fe[3] || (Fe[3] = (Ge) => Ue.value = Ge),
2478
+ "onUpdate:modelValue": Fe[3] || (Fe[3] = (Ge) => ze.value = Ge),
2479
2479
  ref: ye.value,
2480
- id: `${B.field_name}search${Ct.value}`,
2480
+ id: `${B.field_name}search${wt.value}`,
2481
2481
  onKeydown: Uo,
2482
2482
  onBlur: Fe[4] || (Fe[4] = (Ge) => ns()),
2483
2483
  autocomplete: "off",
2484
2484
  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",
2485
2485
  placeholder: "Search ..."
2486
2486
  }, null, 40, YJ), [
2487
- [bf, Ue.value]
2487
+ [bf, ze.value]
2488
2488
  ])
2489
2489
  ])
2490
2490
  ]),
@@ -2496,7 +2496,7 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2496
2496
  onClick: (nt) => Xn(Ge),
2497
2497
  onMousedown: (nt) => Xn(Ge),
2498
2498
  key: A,
2499
- id: `${A + 1}${Ct.value}`
2499
+ id: `${A + 1}${wt.value}`
2500
2500
  }, [
2501
2501
  V("div", QJ, [
2502
2502
  ((Jt = Sn.value) == null ? void 0 : Jt.id) === Ge.id ? (ke(), Ae("svg", eQ, nQ)) : $t("", !0),
@@ -2564,7 +2564,7 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2564
2564
  },
2565
2565
  emits: ["update:modelValue", "keydown"],
2566
2566
  setup(B, { expose: ve, emit: ce }) {
2567
- const $e = B, ye = ce, Q = Xo(null);
2567
+ const $e = B, ye = ce, Q = qo(null);
2568
2568
  b1(() => {
2569
2569
  Q.value !== null && Q.value.hasAttribute("autofocus") && Q.value.focus();
2570
2570
  });
@@ -2576,7 +2576,7 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2576
2576
  ye("update:modelValue", ee);
2577
2577
  }
2578
2578
  });
2579
- return ve({ focus: () => Q.value.focus() }), (ee, Ue) => (ke(), Ae(zo, null, [
2579
+ return ve({ focus: () => Q.value.focus() }), (ee, ze) => (ke(), Ae(zo, null, [
2580
2580
  B.show ? (ke(), Ae("div", {
2581
2581
  key: 0,
2582
2582
  class: bn(B.field_name)
@@ -2609,8 +2609,8 @@ const gre = /* @__PURE__ */ Ta(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2609
2609
  " gl-textarea-form-invalid mt-4 ": B.error_message !== ""
2610
2610
  }),
2611
2611
  type: B.type,
2612
- "onUpdate:modelValue": Ue[0] || (Ue[0] = (Ct) => De.value = Ct),
2613
- onKeydown: Ue[1] || (Ue[1] = (Ct) => ee.$emit("keydown", Ct)),
2612
+ "onUpdate:modelValue": ze[0] || (ze[0] = (wt) => De.value = wt),
2613
+ onKeydown: ze[1] || (ze[1] = (wt) => ee.$emit("keydown", wt)),
2614
2614
  ref_key: "input",
2615
2615
  ref: Q,
2616
2616
  rows: "4",
@@ -2658,7 +2658,7 @@ var QG = { exports: {} };
2658
2658
  return { eq: e };
2659
2659
  }, De = Q(function(e, n) {
2660
2660
  return e === n;
2661
- }), ee = De, Ue = function(e) {
2661
+ }), ee = De, ze = function(e) {
2662
2662
  return Q(function(n, o) {
2663
2663
  if (n.length !== o.length)
2664
2664
  return !1;
@@ -2667,14 +2667,14 @@ var QG = { exports: {} };
2667
2667
  return !1;
2668
2668
  return !0;
2669
2669
  });
2670
- }, Ct = function(e, n) {
2671
- return ye(Ue(e), function(o) {
2670
+ }, wt = function(e, n) {
2671
+ return ye(ze(e), function(o) {
2672
2672
  return $e(o, n);
2673
2673
  });
2674
2674
  }, Gt = function(e) {
2675
2675
  return Q(function(n, o) {
2676
2676
  var r = Object.keys(n), c = Object.keys(o);
2677
- if (!Ct(ee).eq(r, c))
2677
+ if (!wt(ee).eq(r, c))
2678
2678
  return !1;
2679
2679
  for (var u = r.length, f = 0; f < u; f++) {
2680
2680
  var b = r[f];
@@ -2687,7 +2687,7 @@ var QG = { exports: {} };
2687
2687
  if (e === n)
2688
2688
  return !0;
2689
2689
  var o = ve(e), r = ve(n);
2690
- return o !== r ? !1 : ce(o) ? e === n : o === "array" ? Ue(Sn).eq(e, n) : o === "object" ? Gt(Sn).eq(e, n) : !1;
2690
+ return o !== r ? !1 : ce(o) ? e === n : o === "array" ? ze(Sn).eq(e, n) : o === "object" ? Gt(Sn).eq(e, n) : !1;
2691
2691
  });
2692
2692
  const zn = Object.getPrototypeOf, Uo = (e, n, o) => {
2693
2693
  var r;
@@ -2695,7 +2695,7 @@ var QG = { exports: {} };
2695
2695
  }, ir = (e) => {
2696
2696
  const n = typeof e;
2697
2697
  return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && Uo(e, String, (o, r) => r.isPrototypeOf(o)) ? "string" : n;
2698
- }, $o = (e) => (n) => ir(n) === e, Mt = (e) => (n) => typeof n === e, ur = (e) => (n) => e === n, dn = (e, n) => _t(e) && Uo(e, n, (o, r) => zn(o) === r), me = $o("string"), _t = $o("object"), Ea = (e) => dn(e, Object), Xn = $o("array"), oe = ur(null), Nn = Mt("boolean"), ns = ur(void 0), wt = (e) => e == null, Fe = (e) => !wt(e), ie = Mt("function"), Mo = Mt("number"), Jn = (e, n) => {
2698
+ }, $o = (e) => (n) => ir(n) === e, Mt = (e) => (n) => typeof n === e, ur = (e) => (n) => e === n, dn = (e, n) => _t(e) && Uo(e, n, (o, r) => zn(o) === r), me = $o("string"), _t = $o("object"), Ea = (e) => dn(e, Object), Xn = $o("array"), oe = ur(null), Nn = Mt("boolean"), ns = ur(void 0), xt = (e) => e == null, Fe = (e) => !xt(e), ie = Mt("function"), Mo = Mt("number"), Jn = (e, n) => {
2699
2699
  if (Xn(e)) {
2700
2700
  for (let o = 0, r = e.length; o < r; ++o)
2701
2701
  if (!n(e[o]))
@@ -2928,7 +2928,7 @@ var QG = { exports: {} };
2928
2928
  return ht(e, (r, c) => {
2929
2929
  o.push(n(r, c));
2930
2930
  }), o;
2931
- }, pc = (e) => ec(e, No), qo = (e, n) => fn(e, n) ? z.from(e[n]) : z.none(), fn = (e, n) => ji.call(e, n), Er = (e, n) => fn(e, n) && e[n] !== void 0 && e[n] !== null, Bc = (e, n, o = Sn) => Gt(o).eq(e, n), Ll = (e) => {
2931
+ }, pc = (e) => ec(e, No), Ko = (e, n) => fn(e, n) ? z.from(e[n]) : z.none(), fn = (e, n) => ji.call(e, n), Er = (e, n) => fn(e, n) && e[n] !== void 0 && e[n] !== null, Bc = (e, n, o = Sn) => Gt(o).eq(e, n), Ll = (e) => {
2932
2932
  const n = {};
2933
2933
  return Ce(e, (o) => {
2934
2934
  n[o] = {};
@@ -3243,7 +3243,7 @@ var QG = { exports: {} };
3243
3243
  isTouch: Ma.isTouch,
3244
3244
  isWebView: Ma.isWebView
3245
3245
  }
3246
- }, Gu = /^\s*|\s*$/g, Ws = (e) => wt(e) ? "" : ("" + e).replace(Gu, ""), P = (e, n) => n ? n === "array" && wr(e) ? !0 : typeof e === n : e !== void 0, K = (e, n, o = {}) => {
3246
+ }, Gu = /^\s*|\s*$/g, Ws = (e) => xt(e) ? "" : ("" + e).replace(Gu, ""), P = (e, n) => n ? n === "array" && wr(e) ? !0 : typeof e === n : e !== void 0, K = (e, n, o = {}) => {
3247
3247
  const r = me(e) ? e.split(n || ",") : e || [];
3248
3248
  let c = r.length;
3249
3249
  for (; c--; )
@@ -4017,7 +4017,7 @@ var QG = { exports: {} };
4017
4017
  }, k = (pe) => {
4018
4018
  const xe = Ih(c);
4019
4019
  rc(xe, "#" + pe).each(vo);
4020
- }, $ = (pe) => qo(r, pe).getOrThunk(() => ({
4020
+ }, $ = (pe) => Ko(r, pe).getOrThunk(() => ({
4021
4021
  id: "mce-u" + o++,
4022
4022
  passed: [],
4023
4023
  failed: [],
@@ -4060,7 +4060,7 @@ var QG = { exports: {} };
4060
4060
  return Me.fail.length > 0 ? Promise.reject(Ke(Me.fail, (rt) => rt.reason)) : Ke(Me.pass, (rt) => rt.value);
4061
4061
  }), te = (pe) => {
4062
4062
  const xe = ct._addCacheSuffix(pe);
4063
- qo(r, xe).each((we) => {
4063
+ Ko(r, xe).each((we) => {
4064
4064
  --we.count === 0 && (delete r[xe], k(we.id));
4065
4065
  });
4066
4066
  };
@@ -4070,7 +4070,7 @@ var QG = { exports: {} };
4070
4070
  loadAll: X,
4071
4071
  unload: te,
4072
4072
  unloadRawCss: (pe) => {
4073
- qo(r, pe).each((xe) => {
4073
+ Ko(r, pe).each((xe) => {
4074
4074
  --xe.count === 0 && (delete r[pe], k(xe.id));
4075
4075
  });
4076
4076
  },
@@ -4635,7 +4635,7 @@ var QG = { exports: {} };
4635
4635
  webkitMovementY: !0,
4636
4636
  keyIdentifier: !0,
4637
4637
  mozPressure: !0
4638
- }, NT = (e) => e instanceof Event || ie(e.initEvent), tC = (e) => e.isDefaultPrevented === gt || e.isDefaultPrevented === et, Hy = (e) => wt(e.preventDefault) || NT(e), Jh = (e, n) => {
4638
+ }, NT = (e) => e instanceof Event || ie(e.initEvent), tC = (e) => e.isDefaultPrevented === gt || e.isDefaultPrevented === et, Hy = (e) => xt(e.preventDefault) || NT(e), Jh = (e, n) => {
4639
4639
  const o = n ?? {};
4640
4640
  for (const r in e)
4641
4641
  fn(kb, r) || (o[r] = e[r]);
@@ -4643,7 +4643,7 @@ var QG = { exports: {} };
4643
4643
  }, Qh = (e, n, o, r) => {
4644
4644
  var c;
4645
4645
  const u = Jh(n, r);
4646
- return u.type = e, wt(u.target) && (u.target = (c = u.srcElement) !== null && c !== void 0 ? c : o), Hy(n) && (u.preventDefault = () => {
4646
+ return u.type = e, xt(u.target) && (u.target = (c = u.srcElement) !== null && c !== void 0 ? c : o), Hy(n) && (u.preventDefault = () => {
4647
4647
  u.defaultPrevented = !0, u.isDefaultPrevented = gt, ie(n.preventDefault) && n.preventDefault();
4648
4648
  }, u.stopPropagation = () => {
4649
4649
  u.cancelBubble = !0, u.isPropagationStopped = gt, ie(n.stopPropagation) && n.stopPropagation();
@@ -4792,7 +4792,7 @@ var QG = { exports: {} };
4792
4792
  }
4793
4793
  ei.Event = new ei();
4794
4794
  const Ab = ct.each, nC = ct.grep, Ob = "data-mce-style", r5 = ct.makeMap("fill-opacity font-weight line-height opacity orphans widows z-index zoom", " "), Db = (e, n, o) => {
4795
- wt(o) || o === "" ? or(e, n) : ws(e, n, o);
4795
+ xt(o) || o === "" ? or(e, n) : ws(e, n, o);
4796
4796
  }, Nf = (e) => e.replace(/[A-Z]/g, (n) => "-" + n.toLowerCase()), Ud = (e, n) => {
4797
4797
  let o = 0;
4798
4798
  if (e)
@@ -4806,7 +4806,7 @@ var QG = { exports: {} };
4806
4806
  Db(n, Ob, r);
4807
4807
  }, tp = (e, n) => Mo(e) ? fn(r5, n) ? e + "" : e + "px" : e, Rb = (e, n, o) => {
4808
4808
  const r = Nf(n);
4809
- wt(o) || o === "" ? Ju(e, r) : Fh(e, r, tp(o, r));
4809
+ xt(o) || o === "" ? Ju(e, r) : Fh(e, r, tp(o, r));
4810
4810
  }, oC = (e, n, o) => {
4811
4811
  const r = n.keep_values, c = {
4812
4812
  set: (f, b, y) => {
@@ -4845,21 +4845,21 @@ var QG = { exports: {} };
4845
4845
  }, n.schema), L = n.ownEvents ? new ei() : ei.Event, X = $.getBlockElements(), te = (Ne) => me(Ne) ? fn(X, Ne) : Wt(Ne) && (fn(X, Ne.nodeName) || go($, Ne)), G = (Ne) => Ne && e && me(Ne) ? e.getElementById(Ne) : Ne, ne = (Ne) => {
4846
4846
  const Le = G(Ne);
4847
4847
  return Fe(Le) ? ae.fromDom(Le) : null;
4848
- }, pe = (Ne, Le, xt = "") => {
4848
+ }, pe = (Ne, Le, Ct = "") => {
4849
4849
  let ft;
4850
4850
  const sn = ne(Ne);
4851
4851
  if (Fe(sn) && Na(sn)) {
4852
4852
  const so = Cy[Le];
4853
4853
  so && so.get ? ft = so.get(sn.dom, Le) : ft = Za(sn, Le);
4854
4854
  }
4855
- return Fe(ft) ? ft : xt;
4855
+ return Fe(ft) ? ft : Ct;
4856
4856
  }, xe = (Ne) => {
4857
4857
  const Le = G(Ne);
4858
- return wt(Le) ? [] : Le.attributes;
4859
- }, we = (Ne, Le, xt) => {
4858
+ return xt(Le) ? [] : Le.attributes;
4859
+ }, we = (Ne, Le, Ct) => {
4860
4860
  en(Ne, (ft) => {
4861
4861
  if (Wt(ft)) {
4862
- const sn = ae.fromDom(ft), so = xt === "" ? null : xt, tr = Za(sn, Le), li = Cy[Le];
4862
+ const sn = ae.fromDom(ft), so = Ct === "" ? null : Ct, tr = Za(sn, Le), li = Cy[Le];
4863
4863
  li && li.set ? li.set(sn.dom, so, Le) : Db(sn, Le, so), tr !== so && n.onSetAttrib && n.onSetAttrib({
4864
4864
  attrElm: sn.dom,
4865
4865
  attrName: Le,
@@ -4875,22 +4875,22 @@ var QG = { exports: {} };
4875
4875
  w: Le.width,
4876
4876
  h: Le.height
4877
4877
  };
4878
- }, It = (Ne, Le) => Es(e.body, G(Ne), Le), We = (Ne, Le, xt) => {
4878
+ }, It = (Ne, Le) => Es(e.body, G(Ne), Le), We = (Ne, Le, Ct) => {
4879
4879
  en(Ne, (ft) => {
4880
4880
  const sn = ae.fromDom(ft);
4881
- Rb(sn, Le, xt), n.update_styles && zy(M, sn);
4881
+ Rb(sn, Le, Ct), n.update_styles && zy(M, sn);
4882
4882
  });
4883
4883
  }, He = (Ne, Le) => {
4884
- en(Ne, (xt) => {
4885
- const ft = ae.fromDom(xt);
4884
+ en(Ne, (Ct) => {
4885
+ const ft = ae.fromDom(Ct);
4886
4886
  ht(Le, (sn, so) => {
4887
4887
  Rb(ft, so, sn);
4888
4888
  }), n.update_styles && zy(M, ft);
4889
4889
  });
4890
- }, st = (Ne, Le, xt) => {
4890
+ }, st = (Ne, Le, Ct) => {
4891
4891
  const ft = G(Ne);
4892
- if (!(wt(ft) || !ou(ft) && !ib(ft)))
4893
- return xt ? fr(ae.fromDom(ft), Nf(Le)) : (Le = Le.replace(/-(\D)/g, (sn, so) => so.toUpperCase()), Le === "float" && (Le = "cssFloat"), ft.style ? ft.style[Le] : void 0);
4892
+ if (!(xt(ft) || !ou(ft) && !ib(ft)))
4893
+ return Ct ? fr(ae.fromDom(ft), Nf(Le)) : (Le = Le.replace(/-(\D)/g, (sn, so) => so.toUpperCase()), Le === "float" && (Le = "cssFloat"), ft.style ? ft.style[Le] : void 0);
4894
4894
  }, Zt = (Ne) => {
4895
4895
  const Le = G(Ne);
4896
4896
  if (!Le)
@@ -4898,29 +4898,29 @@ var QG = { exports: {} };
4898
4898
  w: 0,
4899
4899
  h: 0
4900
4900
  };
4901
- let xt = st(Le, "width"), ft = st(Le, "height");
4902
- return (!xt || xt.indexOf("px") === -1) && (xt = "0"), (!ft || ft.indexOf("px") === -1) && (ft = "0"), {
4903
- w: parseInt(xt, 10) || Le.offsetWidth || Le.clientWidth,
4901
+ let Ct = st(Le, "width"), ft = st(Le, "height");
4902
+ return (!Ct || Ct.indexOf("px") === -1) && (Ct = "0"), (!ft || ft.indexOf("px") === -1) && (ft = "0"), {
4903
+ w: parseInt(Ct, 10) || Le.offsetWidth || Le.clientWidth,
4904
4904
  h: parseInt(ft, 10) || Le.offsetHeight || Le.clientHeight
4905
4905
  };
4906
4906
  }, rn = (Ne) => {
4907
- const Le = G(Ne), xt = It(Le), ft = Zt(Le);
4907
+ const Le = G(Ne), Ct = It(Le), ft = Zt(Le);
4908
4908
  return {
4909
- x: xt.x,
4910
- y: xt.y,
4909
+ x: Ct.x,
4910
+ y: Ct.y,
4911
4911
  w: ft.w,
4912
4912
  h: ft.h
4913
4913
  };
4914
4914
  }, qn = (Ne, Le) => {
4915
4915
  if (!Ne)
4916
4916
  return !1;
4917
- const xt = Xn(Ne) ? Ne : [Ne];
4918
- return Et(xt, (ft) => cl(ae.fromDom(ft), Le));
4919
- }, Wn = (Ne, Le, xt, ft) => {
4917
+ const Ct = Xn(Ne) ? Ne : [Ne];
4918
+ return Et(Ct, (ft) => cl(ae.fromDom(ft), Le));
4919
+ }, Wn = (Ne, Le, Ct, ft) => {
4920
4920
  const sn = [];
4921
4921
  let so = G(Ne);
4922
4922
  ft = ft === void 0;
4923
- const tr = xt || (rt().nodeName !== "BODY" ? rt().parentNode : null);
4923
+ const tr = Ct || (rt().nodeName !== "BODY" ? rt().parentNode : null);
4924
4924
  if (me(Le))
4925
4925
  if (Le === "*")
4926
4926
  Le = Wt;
@@ -4928,7 +4928,7 @@ var QG = { exports: {} };
4928
4928
  const li = Le;
4929
4929
  Le = (Ja) => qn(Ja, li);
4930
4930
  }
4931
- for (; so && !(so === tr || wt(so.nodeType) || Vg(so) || qs(so)); ) {
4931
+ for (; so && !(so === tr || xt(so.nodeType) || Vg(so) || qs(so)); ) {
4932
4932
  if (!Le || Le(so))
4933
4933
  if (ft)
4934
4934
  sn.push(so);
@@ -4937,24 +4937,24 @@ var QG = { exports: {} };
4937
4937
  so = so.parentNode;
4938
4938
  }
4939
4939
  return ft ? sn : null;
4940
- }, fs = (Ne, Le, xt) => {
4941
- const ft = Wn(Ne, Le, xt, !1);
4940
+ }, fs = (Ne, Le, Ct) => {
4941
+ const ft = Wn(Ne, Le, Ct, !1);
4942
4942
  return ft && ft.length > 0 ? ft[0] : null;
4943
- }, Ds = (Ne, Le, xt) => {
4943
+ }, Ds = (Ne, Le, Ct) => {
4944
4944
  let ft = Le;
4945
4945
  if (Ne) {
4946
4946
  me(Le) && (ft = (sn) => qn(sn, Le));
4947
- for (let sn = Ne[xt]; sn; sn = sn[xt])
4947
+ for (let sn = Ne[Ct]; sn; sn = sn[Ct])
4948
4948
  if (ie(ft) && ft(sn))
4949
4949
  return sn;
4950
4950
  }
4951
4951
  return null;
4952
4952
  }, Lr = (Ne, Le) => Ds(Ne, Le, "nextSibling"), Rc = (Ne, Le) => Ds(Ne, Le, "previousSibling"), ls = (Ne) => ie(Ne.querySelectorAll), St = (Ne, Le) => {
4953
- var xt, ft;
4954
- const sn = (ft = (xt = G(Le)) !== null && xt !== void 0 ? xt : n.root_element) !== null && ft !== void 0 ? ft : e;
4953
+ var Ct, ft;
4954
+ const sn = (ft = (Ct = G(Le)) !== null && Ct !== void 0 ? Ct : n.root_element) !== null && ft !== void 0 ? ft : e;
4955
4955
  return ls(sn) ? yr(sn.querySelectorAll(Ne)) : [];
4956
- }, en = function(Ne, Le, xt) {
4957
- const ft = xt ?? this;
4956
+ }, en = function(Ne, Le, Ct) {
4957
+ const ft = Ct ?? this;
4958
4958
  if (Xn(Ne)) {
4959
4959
  const sn = [];
4960
4960
  return Ab(Ne, (so, tr) => {
@@ -4966,40 +4966,40 @@ var QG = { exports: {} };
4966
4966
  return sn ? Le.call(ft, sn) : !1;
4967
4967
  }
4968
4968
  }, Zn = (Ne, Le) => {
4969
- en(Ne, (xt) => {
4969
+ en(Ne, (Ct) => {
4970
4970
  ht(Le, (ft, sn) => {
4971
- we(xt, sn, ft);
4971
+ we(Ct, sn, ft);
4972
4972
  });
4973
4973
  });
4974
4974
  }, oo = (Ne, Le) => {
4975
- en(Ne, (xt) => {
4976
- const ft = ae.fromDom(xt);
4975
+ en(Ne, (Ct) => {
4976
+ const ft = ae.fromDom(Ct);
4977
4977
  ed(ft, Le);
4978
4978
  });
4979
- }, Kt = (Ne, Le, xt, ft, sn) => en(Ne, (so) => {
4979
+ }, Kt = (Ne, Le, Ct, ft, sn) => en(Ne, (so) => {
4980
4980
  const tr = me(Le) ? e.createElement(Le) : Le;
4981
- return Fe(xt) && Zn(tr, xt), ft && (!me(ft) && ft.nodeType ? tr.appendChild(ft) : me(ft) && oo(tr, ft)), sn ? tr : so.appendChild(tr);
4982
- }), Dn = (Ne, Le, xt) => Kt(e.createElement(Ne), Ne, Le, xt, !0), yt = Mf.decode, Rn = Mf.encodeAllRaw, xo = (Ne, Le, xt = "") => {
4981
+ return Fe(Ct) && Zn(tr, Ct), ft && (!me(ft) && ft.nodeType ? tr.appendChild(ft) : me(ft) && oo(tr, ft)), sn ? tr : so.appendChild(tr);
4982
+ }), Dn = (Ne, Le, Ct) => Kt(e.createElement(Ne), Ne, Le, Ct, !0), yt = Mf.decode, Rn = Mf.encodeAllRaw, xo = (Ne, Le, Ct = "") => {
4983
4983
  let ft = "<" + Ne;
4984
4984
  for (const sn in Le)
4985
4985
  Er(Le, sn) && (ft += " " + sn + '="' + Rn(Le[sn]) + '"');
4986
- return Xr(xt) && fn($.getVoidElements(), Ne) ? ft + " />" : ft + ">" + xt + "</" + Ne + ">";
4986
+ return Xr(Ct) && fn($.getVoidElements(), Ne) ? ft + " />" : ft + ">" + Ct + "</" + Ne + ">";
4987
4987
  }, Ss = (Ne) => {
4988
- const Le = e.createElement("div"), xt = e.createDocumentFragment();
4989
- xt.appendChild(Le), Ne && (Le.innerHTML = Ne);
4988
+ const Le = e.createElement("div"), Ct = e.createDocumentFragment();
4989
+ Ct.appendChild(Le), Ne && (Le.innerHTML = Ne);
4990
4990
  let ft;
4991
4991
  for (; ft = Le.firstChild; )
4992
- xt.appendChild(ft);
4993
- return xt.removeChild(Le), xt;
4994
- }, gs = (Ne, Le) => en(Ne, (xt) => {
4995
- const ft = ae.fromDom(xt);
4992
+ Ct.appendChild(ft);
4993
+ return Ct.removeChild(Le), Ct;
4994
+ }, gs = (Ne, Le) => en(Ne, (Ct) => {
4995
+ const ft = ae.fromDom(Ct);
4996
4996
  return Le && Ce(Dr(ft), (sn) => {
4997
4997
  ma(sn) && sn.dom.length === 0 ? vo(sn) : Ur(ft, sn);
4998
4998
  }), vo(ft), ft.dom;
4999
4999
  }), Fa = (Ne) => en(Ne, (Le) => {
5000
- const xt = Le.attributes;
5001
- for (let ft = xt.length - 1; ft >= 0; ft--)
5002
- Le.removeAttributeNode(xt.item(ft));
5000
+ const Ct = Le.attributes;
5001
+ for (let ft = Ct.length - 1; ft >= 0; ft--)
5002
+ Le.removeAttributeNode(Ct.item(ft));
5003
5003
  }), gm = (Ne) => M.parse(Ne), bg = (Ne, Le) => M.serialize(Ne, Le), ci = (Ne) => {
5004
5004
  if (wg !== Ps.DOM && e === document) {
5005
5005
  if (o[Ne])
@@ -5009,20 +5009,20 @@ var QG = { exports: {} };
5009
5009
  let Le = e.getElementById("mceDefaultStyles");
5010
5010
  if (!Le) {
5011
5011
  Le = e.createElement("style"), Le.id = "mceDefaultStyles", Le.type = "text/css";
5012
- const xt = e.head;
5013
- xt.firstChild ? xt.insertBefore(Le, xt.firstChild) : xt.appendChild(Le);
5012
+ const Ct = e.head;
5013
+ Ct.firstChild ? Ct.insertBefore(Le, Ct.firstChild) : Ct.appendChild(Le);
5014
5014
  }
5015
5015
  Le.styleSheet ? Le.styleSheet.cssText += Ne : Le.appendChild(e.createTextNode(Ne));
5016
5016
  }, _d = (Ne) => {
5017
5017
  Ne || (Ne = ""), Ce(Ne.split(","), (Le) => {
5018
5018
  c[Le] = !0, y.load(Le).catch(Ge);
5019
5019
  });
5020
- }, Bn = (Ne, Le, xt) => {
5020
+ }, Bn = (Ne, Le, Ct) => {
5021
5021
  en(Ne, (ft) => {
5022
5022
  if (Wt(ft)) {
5023
5023
  const sn = ae.fromDom(ft), so = Le.split(" ");
5024
5024
  Ce(so, (tr) => {
5025
- Fe(xt) ? (xt ? bu : bi)(sn, tr) : _g(sn, tr);
5025
+ Fe(Ct) ? (Ct ? bu : bi)(sn, tr) : _g(sn, tr);
5026
5026
  });
5027
5027
  }
5028
5028
  });
@@ -5031,8 +5031,8 @@ var QG = { exports: {} };
5031
5031
  }, Rs = (Ne, Le) => {
5032
5032
  Bn(Ne, Le, !1);
5033
5033
  }, Xs = (Ne, Le) => {
5034
- const xt = ne(Ne), ft = Le.split(" ");
5035
- return Fe(xt) && Js(ft, (sn) => Qi(xt, sn));
5034
+ const Ct = ne(Ne), ft = Le.split(" ");
5035
+ return Fe(Ct) && Js(ft, (sn) => Qi(Ct, sn));
5036
5036
  }, lr = (Ne) => {
5037
5037
  en(Ne, (Le) => Ju(ae.fromDom(Le), "display"));
5038
5038
  }, Hi = (Ne) => {
@@ -5044,40 +5044,40 @@ var QG = { exports: {} };
5044
5044
  const Le = ne(Ne);
5045
5045
  return Fe(Le) ? Wt(Le.dom) ? Le.dom.outerHTML : Pg(Le) : "";
5046
5046
  }, nb = (Ne, Le) => {
5047
- en(Ne, (xt) => {
5048
- Wt(xt) && (xt.outerHTML = Le);
5047
+ en(Ne, (Ct) => {
5048
+ Wt(Ct) && (Ct.outerHTML = Le);
5049
5049
  });
5050
5050
  }, yy = (Ne, Le) => {
5051
- const xt = G(Le);
5051
+ const Ct = G(Le);
5052
5052
  return en(Ne, (ft) => {
5053
- const sn = xt == null ? void 0 : xt.parentNode, so = xt == null ? void 0 : xt.nextSibling;
5053
+ const sn = Ct == null ? void 0 : Ct.parentNode, so = Ct == null ? void 0 : Ct.nextSibling;
5054
5054
  return sn && (so ? sn.insertBefore(ft, so) : sn.appendChild(ft)), ft;
5055
5055
  });
5056
- }, wy = (Ne, Le, xt) => en(Le, (ft) => {
5056
+ }, wy = (Ne, Le, Ct) => en(Le, (ft) => {
5057
5057
  var sn;
5058
5058
  const so = Xn(Le) ? Ne.cloneNode(!0) : Ne;
5059
- return xt && Ab(nC(ft.childNodes), (tr) => {
5059
+ return Ct && Ab(nC(ft.childNodes), (tr) => {
5060
5060
  so.appendChild(tr);
5061
5061
  }), (sn = ft.parentNode) === null || sn === void 0 || sn.replaceChild(so, ft), ft;
5062
5062
  }), Ix = (Ne, Le) => {
5063
5063
  if (Ne.nodeName !== Le.toUpperCase()) {
5064
- const xt = Dn(Le);
5064
+ const Ct = Dn(Le);
5065
5065
  return Ab(xe(Ne), (ft) => {
5066
- we(xt, ft.nodeName, pe(Ne, ft.nodeName));
5067
- }), wy(xt, Ne, !0), xt;
5066
+ we(Ct, ft.nodeName, pe(Ne, ft.nodeName));
5067
+ }), wy(Ct, Ne, !0), Ct;
5068
5068
  } else
5069
5069
  return Ne;
5070
5070
  }, ob = (Ne, Le) => {
5071
- let xt = Ne;
5072
- for (; xt; ) {
5071
+ let Ct = Ne;
5072
+ for (; Ct; ) {
5073
5073
  let ft = Le;
5074
- for (; ft && xt !== ft; )
5074
+ for (; ft && Ct !== ft; )
5075
5075
  ft = ft.parentNode;
5076
- if (xt === ft)
5076
+ if (Ct === ft)
5077
5077
  break;
5078
- xt = xt.parentNode;
5078
+ Ct = Ct.parentNode;
5079
5079
  }
5080
- return !xt && Ne.ownerDocument ? Ne.ownerDocument.documentElement : xt;
5080
+ return !Ct && Ne.ownerDocument ? Ne.ownerDocument.documentElement : Ct;
5081
5081
  }, sb = (Ne) => {
5082
5082
  if (Wt(Ne)) {
5083
5083
  const Le = Ne.nodeName.toLowerCase() === "a" && !pe(Ne, "href") && pe(Ne, "id");
@@ -5085,7 +5085,7 @@ var QG = { exports: {} };
5085
5085
  return !0;
5086
5086
  }
5087
5087
  return !1;
5088
- }, hm = (Ne, Le, xt) => {
5088
+ }, hm = (Ne, Le, Ct) => {
5089
5089
  let ft = 0;
5090
5090
  if (sb(Ne))
5091
5091
  return !1;
@@ -5111,51 +5111,51 @@ var QG = { exports: {} };
5111
5111
  if (sb(Ja))
5112
5112
  return !1;
5113
5113
  }
5114
- if (nd(Ja) || it(Ja) && !Af(Ja.data) && (!(xt != null && xt.includeZwsp) || !Zg(Ja.data)) || it(Ja) && Ja.parentNode && tr[Ja.parentNode.nodeName] && Af(Ja.data))
5114
+ if (nd(Ja) || it(Ja) && !Af(Ja.data) && (!(Ct != null && Ct.includeZwsp) || !Zg(Ja.data)) || it(Ja) && Ja.parentNode && tr[Ja.parentNode.nodeName] && Af(Ja.data))
5115
5115
  return !1;
5116
5116
  Ja = so.next();
5117
5117
  } while (Ja);
5118
5118
  }
5119
5119
  return ft <= 1;
5120
- }, vg = () => e.createRange(), Lx = (Ne, Le, xt) => {
5120
+ }, vg = () => e.createRange(), Lx = (Ne, Le, Ct) => {
5121
5121
  let ft = vg(), sn, so;
5122
5122
  if (Ne && Le && Ne.parentNode && Le.parentNode) {
5123
5123
  const tr = Ne.parentNode;
5124
- return ft.setStart(tr, Ud(Ne)), ft.setEnd(Le.parentNode, Ud(Le)), sn = ft.extractContents(), ft = vg(), ft.setStart(Le.parentNode, Ud(Le) + 1), ft.setEnd(tr, Ud(Ne) + 1), so = ft.extractContents(), tr.insertBefore(Pm(wg, sn, $), Ne), xt ? tr.insertBefore(xt, Ne) : tr.insertBefore(Le, Ne), tr.insertBefore(Pm(wg, so, $), Ne), gs(Ne), xt || Le;
5124
+ return ft.setStart(tr, Ud(Ne)), ft.setEnd(Le.parentNode, Ud(Le)), sn = ft.extractContents(), ft = vg(), ft.setStart(Le.parentNode, Ud(Le) + 1), ft.setEnd(tr, Ud(Ne) + 1), so = ft.extractContents(), tr.insertBefore(Pm(wg, sn, $), Ne), Ct ? tr.insertBefore(Ct, Ne) : tr.insertBefore(Le, Ne), tr.insertBefore(Pm(wg, so, $), Ne), gs(Ne), Ct || Le;
5125
5125
  } else
5126
5126
  return;
5127
- }, xy = (Ne, Le, xt, ft) => {
5127
+ }, xy = (Ne, Le, Ct, ft) => {
5128
5128
  if (Xn(Ne)) {
5129
5129
  let sn = Ne.length;
5130
5130
  const so = [];
5131
5131
  for (; sn--; )
5132
- so[sn] = xy(Ne[sn], Le, xt, ft);
5132
+ so[sn] = xy(Ne[sn], Le, Ct, ft);
5133
5133
  return so;
5134
5134
  } else
5135
5135
  return n.collect && (Ne === e || Ne === r) && k.push([
5136
5136
  Ne,
5137
5137
  Le,
5138
- xt,
5138
+ Ct,
5139
5139
  ft
5140
- ]), L.bind(Ne, Le, xt, ft || wg);
5141
- }, gT = (Ne, Le, xt) => {
5140
+ ]), L.bind(Ne, Le, Ct, ft || wg);
5141
+ }, gT = (Ne, Le, Ct) => {
5142
5142
  if (Xn(Ne)) {
5143
5143
  let ft = Ne.length;
5144
5144
  const sn = [];
5145
5145
  for (; ft--; )
5146
- sn[ft] = gT(Ne[ft], Le, xt);
5146
+ sn[ft] = gT(Ne[ft], Le, Ct);
5147
5147
  return sn;
5148
5148
  } else {
5149
5149
  if (k.length > 0 && (Ne === e || Ne === r)) {
5150
5150
  let ft = k.length;
5151
5151
  for (; ft--; ) {
5152
5152
  const [sn, so, tr] = k[ft];
5153
- Ne === sn && (!Le || Le === so) && (!xt || xt === tr) && L.unbind(sn, so, tr);
5153
+ Ne === sn && (!Le || Le === so) && (!Ct || Ct === tr) && L.unbind(sn, so, tr);
5154
5154
  }
5155
5155
  }
5156
- return L.unbind(Ne, Le, xt);
5156
+ return L.unbind(Ne, Le, Ct);
5157
5157
  }
5158
- }, yg = (Ne, Le, xt) => L.dispatch(Ne, Le, xt), hT = (Ne, Le, xt) => L.dispatch(Ne, Le, xt), Fx = (Ne) => {
5158
+ }, yg = (Ne, Le, Ct) => L.dispatch(Ne, Le, Ct), hT = (Ne, Le, Ct) => L.dispatch(Ne, Le, Ct), Fx = (Ne) => {
5159
5159
  if (Ne && ou(Ne)) {
5160
5160
  const Le = Ne.getAttribute("data-mce-contenteditable");
5161
5161
  return Le && Le !== "inherit" ? Le : Ne.contentEditable !== "inherit" ? Ne.contentEditable : null;
@@ -5234,10 +5234,10 @@ var QG = { exports: {} };
5234
5234
  getContentEditable: Fx,
5235
5235
  getContentEditableParent: (Ne) => {
5236
5236
  const Le = rt();
5237
- let xt = null;
5238
- for (let ft = Ne; ft && ft !== Le && (xt = Fx(ft), xt === null); ft = ft.parentNode)
5237
+ let Ct = null;
5238
+ for (let ft = Ne; ft && ft !== Le && (Ct = Fx(ft), Ct === null); ft = ft.parentNode)
5239
5239
  ;
5240
- return xt;
5240
+ return Ct;
5241
5241
  },
5242
5242
  isEditable: (Ne) => {
5243
5243
  if (Fe(Ne)) {
@@ -5250,8 +5250,8 @@ var QG = { exports: {} };
5250
5250
  if (k.length > 0) {
5251
5251
  let Ne = k.length;
5252
5252
  for (; Ne--; ) {
5253
- const [Le, xt, ft] = k[Ne];
5254
- L.unbind(Le, xt, ft);
5253
+ const [Le, Ct, ft] = k[Ne];
5254
+ L.unbind(Le, Ct, ft);
5255
5255
  }
5256
5256
  }
5257
5257
  ht(c, (Ne, Le) => {
@@ -5313,7 +5313,7 @@ var QG = { exports: {} };
5313
5313
  }
5314
5314
  loadScripts(n) {
5315
5315
  const o = this, r = (y, k) => {
5316
- qo(o.scriptLoadedCallbacks, k).each(($) => {
5316
+ Ko(o.scriptLoadedCallbacks, k).each(($) => {
5317
5317
  Ce($, (M) => M[y](k));
5318
5318
  }), delete o.scriptLoadedCallbacks[k];
5319
5319
  }, c = (y) => {
@@ -5347,7 +5347,7 @@ var QG = { exports: {} };
5347
5347
  }, _i = (e, n) => {
5348
5348
  const o = e.indexOf(n);
5349
5349
  return o !== -1 && e.indexOf(n, o + 1) > o;
5350
- }, Uy = (e) => _t(e) && fn(e, "raw"), dc = (e) => Xn(e) && e.length > 1, N1 = {}, op = ar("en"), Wd = () => qo(N1, op.get()), Ru = {
5350
+ }, Uy = (e) => _t(e) && fn(e, "raw"), dc = (e) => Xn(e) && e.length > 1, N1 = {}, op = ar("en"), Wd = () => Ko(N1, op.get()), Ru = {
5351
5351
  getData: () => mo(N1, (e) => ({ ...e })),
5352
5352
  setCode: (e) => {
5353
5353
  e && op.set(e);
@@ -5365,7 +5365,7 @@ var QG = { exports: {} };
5365
5365
  translate: (e) => {
5366
5366
  const n = Wd().getOr({}), o = (f) => ie(f) ? Object.prototype.toString.call(f) : r(f) ? "" : "" + f, r = (f) => f === "" || f === null || f === void 0, c = (f) => {
5367
5367
  const b = o(f);
5368
- return fn(n, b) ? o(n[b]) : qo(n, b.toLowerCase()).map(o).getOr(b);
5368
+ return fn(n, b) ? o(n[b]) : Ko(n, b.toLowerCase()).map(o).getOr(b);
5369
5369
  }, u = (f) => f.replace(/{context:\w+}$/, "");
5370
5370
  if (r(e))
5371
5371
  return "";
@@ -5377,7 +5377,7 @@ var QG = { exports: {} };
5377
5377
  }
5378
5378
  return u(c(e));
5379
5379
  },
5380
- isRtl: () => Wd().bind((e) => qo(e, "_dir")).exists((e) => e === "rtl"),
5380
+ isRtl: () => Wd().bind((e) => Ko(e, "_dir")).exists((e) => e === "rtl"),
5381
5381
  hasCode: (e) => fn(N1, e)
5382
5382
  }, Gc = () => {
5383
5383
  const e = [], n = {}, o = {}, r = [], c = (G, ne) => {
@@ -5501,7 +5501,7 @@ var QG = { exports: {} };
5501
5501
  const o = ae.fromDom(e.getBody()), r = ha(o, `[${Zd()}="${n}"]`), c = {};
5502
5502
  return Ce(r, (u) => {
5503
5503
  if (!lp(u, o)) {
5504
- const f = Za(u, rp()), b = qo(c, f).getOr([]);
5504
+ const f = Za(u, rp()), b = Ko(c, f).getOr([]);
5505
5505
  c[f] = b.concat([u]);
5506
5506
  }
5507
5507
  }), c;
@@ -5512,7 +5512,7 @@ var QG = { exports: {} };
5512
5512
  }), c = (M, L) => {
5513
5513
  u(M, (X) => (L(X), X));
5514
5514
  }, u = (M, L) => {
5515
- const X = o.get(), te = qo(X, M).getOrThunk(r), G = L(te);
5515
+ const X = o.get(), te = Ko(X, M).getOrThunk(r), G = L(te);
5516
5516
  X[M] = G, o.set(X);
5517
5517
  }, f = (M, L, X) => {
5518
5518
  c(M, (te) => {
@@ -5581,7 +5581,7 @@ var QG = { exports: {} };
5581
5581
  settings: u
5582
5582
  };
5583
5583
  },
5584
- lookup: (c) => qo(e, c).map((u) => u.settings),
5584
+ lookup: (c) => Ko(e, c).map((u) => u.settings),
5585
5585
  getNames: () => Jo(e)
5586
5586
  };
5587
5587
  };
@@ -6177,7 +6177,7 @@ Required: ` + n.join(", "));
6177
6177
  if (o.indexOf("=") !== -1) {
6178
6178
  const c = qd(o);
6179
6179
  return {
6180
- value: qo(c, e.id).getOr(n),
6180
+ value: Ko(c, e.id).getOr(n),
6181
6181
  valid: r
6182
6182
  };
6183
6183
  } else
@@ -7198,7 +7198,7 @@ Required: ` + n.join(", "));
7198
7198
  const o = e.dom;
7199
7199
  return W2(n) && o.getContentEditable(n) === "false" && mv(e, n) && o.select('[contenteditable="true"]', n).length === 0;
7200
7200
  }, gd = (e, n) => ie(e) ? e(n) : (Fe(n) && (e = e.replace(/%(\w+)/g, (o, r) => n[r] || o)), e), fv = (e, n) => (e = e || "", n = n || "", e = "" + (e.nodeName || e), n = "" + (n.nodeName || n), e.toLowerCase() === n.toLowerCase()), gv = (e, n) => {
7201
- if (wt(e))
7201
+ if (xt(e))
7202
7202
  return null;
7203
7203
  {
7204
7204
  let o = String(e);
@@ -7218,7 +7218,7 @@ Required: ` + n.join(", "));
7218
7218
  return Et([
7219
7219
  "styles",
7220
7220
  "attributes"
7221
- ], (u) => qo(r, u).exists((f) => {
7221
+ ], (u) => Ko(r, u).exists((f) => {
7222
7222
  const b = Xn(f) ? f : pc(f);
7223
7223
  return Et(b, c);
7224
7224
  }));
@@ -7238,7 +7238,7 @@ Required: ` + n.join(", "));
7238
7238
  return Bc(f, y);
7239
7239
  });
7240
7240
  });
7241
- }, hd = (e) => Er(e, "block"), hv = (e) => hd(e) && e.wrapper === !0, Bp = (e) => hd(e) && e.wrapper !== !0, fc = (e) => Er(e, "selector"), Kr = (e) => Er(e, "inline"), pv = (e) => fc(e) && Kr(e) && rs(qo(e, "mixed"), !0), d0 = (e) => fc(e) && e.expand !== !1 && !Kr(e), bv = (e) => {
7241
+ }, hd = (e) => Er(e, "block"), hv = (e) => hd(e) && e.wrapper === !0, Bp = (e) => hd(e) && e.wrapper !== !0, fc = (e) => Er(e, "selector"), Kr = (e) => Er(e, "inline"), pv = (e) => fc(e) && Kr(e) && rs(Ko(e, "mixed"), !0), d0 = (e) => fc(e) && e.expand !== !1 && !Kr(e), bv = (e) => {
7242
7242
  const n = [];
7243
7243
  let o = e;
7244
7244
  for (; o; ) {
@@ -7301,7 +7301,7 @@ Required: ` + n.join(", "));
7301
7301
  return u || o;
7302
7302
  }, uS = (e, n, o, r) => {
7303
7303
  const c = o.parentNode;
7304
- return Fe(o[r]) ? !1 : c === n || wt(c) || e.isBlock(c) ? !0 : uS(e, n, c, r);
7304
+ return Fe(o[r]) ? !1 : c === n || xt(c) || e.isBlock(c) ? !0 : uS(e, n, c, r);
7305
7305
  }, p0 = (e, n, o, r, c) => {
7306
7306
  let u = o;
7307
7307
  const f = c ? "previousSibling" : "nextSibling", b = e.getRoot();
@@ -8851,7 +8851,7 @@ Required: ` + n.join(", "));
8851
8851
  }, Q7 = (e, n) => {
8852
8852
  const o = e.container(), r = e.offset();
8853
8853
  return !Pe.isTextPosition(e) && o === n.parentNode && r > Pe.before(n).offset();
8854
- }, eI = (e, n) => Q7(n, e) ? Pe(n.container(), n.offset() - 1) : n, bh = (e) => it(e) ? Pe(e, 0) : Pe.before(e), Ko = (e) => it(e) ? Pe(e, e.data.length) : Pe.after(e), E4 = (e) => no(e.previousSibling) ? z.some(Ko(e.previousSibling)) : e.previousSibling ? Nu(e.previousSibling) : z.none(), A4 = (e) => no(e.nextSibling) ? z.some(bh(e.nextSibling)) : e.nextSibling ? gl(e.nextSibling) : z.none(), tI = (e, n) => z.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((o) => Dl(e, Pe.before(o))).orThunk(() => Xc(e, Pe.after(n))), nI = (e, n) => Xc(e, Pe.after(n)).orThunk(() => Dl(e, Pe.before(n))), oI = (e, n) => E4(n).orThunk(() => A4(n)).orThunk(() => tI(e, n)), mu = (e, n) => A4(n).orThunk(() => E4(n)).orThunk(() => nI(e, n)), of = (e, n, o) => e ? mu(n, o) : oI(n, o), sI = (e, n, o) => of(e, n, o).map(ot(eI, o)), FS = (e, n, o) => {
8854
+ }, eI = (e, n) => Q7(n, e) ? Pe(n.container(), n.offset() - 1) : n, bh = (e) => it(e) ? Pe(e, 0) : Pe.before(e), Yo = (e) => it(e) ? Pe(e, e.data.length) : Pe.after(e), E4 = (e) => no(e.previousSibling) ? z.some(Yo(e.previousSibling)) : e.previousSibling ? Nu(e.previousSibling) : z.none(), A4 = (e) => no(e.nextSibling) ? z.some(bh(e.nextSibling)) : e.nextSibling ? gl(e.nextSibling) : z.none(), tI = (e, n) => z.from(n.previousSibling ? n.previousSibling : n.parentNode).bind((o) => Dl(e, Pe.before(o))).orThunk(() => Xc(e, Pe.after(n))), nI = (e, n) => Xc(e, Pe.after(n)).orThunk(() => Dl(e, Pe.before(n))), oI = (e, n) => E4(n).orThunk(() => A4(n)).orThunk(() => tI(e, n)), mu = (e, n) => A4(n).orThunk(() => E4(n)).orThunk(() => nI(e, n)), of = (e, n, o) => e ? mu(n, o) : oI(n, o), sI = (e, n, o) => of(e, n, o).map(ot(eI, o)), FS = (e, n, o) => {
8855
8855
  o.fold(() => {
8856
8856
  e.focus();
8857
8857
  }, (r) => {
@@ -9147,7 +9147,7 @@ Required: ` + n.join(", "));
9147
9147
  Ce(u.filter.callbacks, (b) => {
9148
9148
  for (let y = f.length - 1; y >= 0; y--) {
9149
9149
  const k = f[y];
9150
- (!(c ? k.attr(u.filter.name) !== void 0 : k.name === u.filter.name) || wt(k.parent)) && f.splice(y, 1);
9150
+ (!(c ? k.attr(u.filter.name) !== void 0 : k.name === u.filter.name) || xt(k.parent)) && f.splice(y, 1);
9151
9151
  }
9152
9152
  f.length > 0 && b(f, u.filter.name, n);
9153
9153
  });
@@ -9516,8 +9516,8 @@ Required: ` + n.join(", "));
9516
9516
  } else
9517
9517
  for (const y in f)
9518
9518
  if (fn(f, y)) {
9519
- const k = b ? e.getAttrib(n, y) : Np(e, n, y), $ = gd(f[y], u), M = wt(k) || Xr(k);
9520
- if (M && wt($))
9519
+ const k = b ? e.getAttrib(n, y) : Np(e, n, y), $ = gd(f[y], u), M = xt(k) || Xr(k);
9520
+ if (M && xt($))
9521
9521
  continue;
9522
9522
  if (c && M && !o.exact || (!c || o.exact) && !u3(k, gv($, y)))
9523
9523
  return !1;
@@ -10181,7 +10181,7 @@ Required: ` + n.join(", "));
10181
10181
  }, qI = (e, n, o, r, c, u) => {
10182
10182
  const f = n.get();
10183
10183
  Ce(o.split(","), (b) => {
10184
- const y = qo(f, b).getOrThunk(() => {
10184
+ const y = Ko(f, b).getOrThunk(() => {
10185
10185
  const $ = {
10186
10186
  withSimilar: {
10187
10187
  state: ar(!1),
@@ -10213,7 +10213,7 @@ Required: ` + n.join(", "));
10213
10213
  }), n.set(f);
10214
10214
  }, KI = (e, n, o) => {
10215
10215
  const r = e.get();
10216
- Ce(n.split(","), (c) => qo(r, c).each((u) => {
10216
+ Ce(n.split(","), (c) => Ko(r, c).each((u) => {
10217
10217
  r[c] = {
10218
10218
  withSimilar: {
10219
10219
  ...u.withSimilar,
@@ -10381,7 +10381,7 @@ Required: ` + n.join(", "));
10381
10381
  if (o) {
10382
10382
  const r = (c) => {
10383
10383
  const u = c.attr("src");
10384
- aL(c) || k$(c) || wt(u) || sL(o, u, !0).each((f) => {
10384
+ aL(c) || k$(c) || xt(u) || sL(o, u, !0).each((f) => {
10385
10385
  c.attr("src", f.blobUri());
10386
10386
  });
10387
10387
  };
@@ -11305,8 +11305,8 @@ Required: ` + n.join(", "));
11305
11305
  "script"
11306
11306
  ]), Le = ms({}, M3);
11307
11307
  ms(Le, P0), ms(Le, O$);
11308
- const xt = ms({}, N3);
11309
- ms(xt, D$);
11308
+ const Ct = ms({}, N3);
11309
+ ms(Ct, D$);
11310
11310
  const ft = function(Ve) {
11311
11311
  let Qt = xe(Ve);
11312
11312
  (!Qt || !Qt.tagName) && (Qt = {
@@ -11314,7 +11314,7 @@ Required: ` + n.join(", "));
11314
11314
  tagName: "template"
11315
11315
  });
11316
11316
  const Cn = xh(Ve.tagName), Fr = xh(Qt.tagName);
11317
- return xy[Ve.namespaceURI] ? Ve.namespaceURI === sb ? Qt.namespaceURI === hm ? Cn === "svg" : Qt.namespaceURI === ob ? Cn === "svg" && (Fr === "annotation-xml" || wg[Fr]) : !!Le[Cn] : Ve.namespaceURI === ob ? Qt.namespaceURI === hm ? Cn === "math" : Qt.namespaceURI === sb ? Cn === "math" && Cy[Fr] : !!xt[Cn] : Ve.namespaceURI === hm ? Qt.namespaceURI === sb && !Cy[Fr] || Qt.namespaceURI === ob && !wg[Fr] ? !1 : !xt[Cn] && (Ne[Cn] || !Le[Cn]) : !!(yg === "application/xhtml+xml" && xy[Ve.namespaceURI]) : !1;
11317
+ return xy[Ve.namespaceURI] ? Ve.namespaceURI === sb ? Qt.namespaceURI === hm ? Cn === "svg" : Qt.namespaceURI === ob ? Cn === "svg" && (Fr === "annotation-xml" || wg[Fr]) : !!Le[Cn] : Ve.namespaceURI === ob ? Qt.namespaceURI === hm ? Cn === "math" : Qt.namespaceURI === sb ? Cn === "math" && Cy[Fr] : !!Ct[Cn] : Ve.namespaceURI === hm ? Qt.namespaceURI === sb && !Cy[Fr] || Qt.namespaceURI === ob && !wg[Fr] ? !1 : !Ct[Cn] && (Ne[Cn] || !Le[Cn]) : !!(yg === "application/xhtml+xml" && xy[Ve.namespaceURI]) : !1;
11318
11318
  }, sn = function(Ve) {
11319
11319
  lg(n.removed, { element: Ve });
11320
11320
  try {
@@ -11837,7 +11837,7 @@ Required: ` + n.join(", "));
11837
11837
  const r = [];
11838
11838
  for (let c = e, u = c; c; u = c, c = c.walk()) {
11839
11839
  const f = c;
11840
- Ce(n, (b) => b(f)), wt(f.parent) && f !== e ? c = u : r.push(f);
11840
+ Ce(n, (b) => b(f)), xt(f.parent) && f !== e ? c = u : r.push(f);
11841
11841
  }
11842
11842
  for (let c = r.length - 1; c >= 0; c--) {
11843
11843
  const u = r[c];
@@ -11862,7 +11862,7 @@ Required: ` + n.join(", "));
11862
11862
  return !1;
11863
11863
  }, te = (xe) => xe.name in b || Bm(n, xe) || rd(xe.name) && xe.parent === e, G = (xe, we) => {
11864
11864
  const Me = we ? xe.prev : xe.next;
11865
- return Fe(Me) || wt(xe.parent) ? !1 : te(xe.parent) && (xe.parent !== e || r.isRootContent === !0);
11865
+ return Fe(Me) || xt(xe.parent) ? !1 : te(xe.parent) && (xe.parent !== e || r.isRootContent === !0);
11866
11866
  };
11867
11867
  return [
11868
11868
  (xe) => {
@@ -12443,7 +12443,7 @@ Required: ` + n.join(", "));
12443
12443
  },
12444
12444
  raw: { getModel: nt(z.none()) }
12445
12445
  };
12446
- }, Ch = (e) => fn(e.plugins, "rtc"), GL = (e) => qo(e.plugins, "rtc").bind((n) => z.from(n.setup)), qL = (e) => {
12446
+ }, Ch = (e) => fn(e.plugins, "rtc"), GL = (e) => Ko(e.plugins, "rtc").bind((n) => z.from(n.setup)), qL = (e) => {
12447
12447
  const n = e;
12448
12448
  return GL(e).fold(() => (n.rtcInstance = fM(e), z.none()), (o) => (n.rtcInstance = aA(), z.some(() => o().then((r) => (n.rtcInstance = Ir(r), r.rtc.isRemote)))));
12449
12449
  }, Yp = (e) => e.rtcInstance ? e.rtcInstance : fM(e), La = (e) => {
@@ -12894,7 +12894,7 @@ Plugins:${b}${r.join(b)}` : "", $ = u ? `
12894
12894
  Options:${b}${o.join(b)}` : "";
12895
12895
  console.warn("The following deprecated features are currently enabled and have been removed in TinyMCE 6.0. These features will no longer work and should be removed from the TinyMCE configuration. See https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/ for more information." + y + k + $);
12896
12896
  }
12897
- }, OF = (e) => hs(RM, (n) => n.name === e).fold(() => e, (n) => n.replacedWith ? `${e}, replaced by ${n.replacedWith}` : e), Yo = (e, n) => {
12897
+ }, OF = (e) => hs(RM, (n) => n.name === e).fold(() => e, (n) => n.replacedWith ? `${e}, replaced by ${n.replacedWith}` : e), Xo = (e, n) => {
12898
12898
  const o = af(e), r = EF(n), c = r.length > 0, u = o.length > 0;
12899
12899
  if (c || u) {
12900
12900
  const f = `
@@ -12906,7 +12906,7 @@ Options:${f}${o.join(f)}` : "";
12906
12906
  console.warn("The following deprecated features are currently enabled but will be removed soon." + b + y);
12907
12907
  }
12908
12908
  }, qj = (e, n) => {
12909
- AF(e, n), Yo(e, n);
12909
+ AF(e, n), Xo(e, n);
12910
12910
  }, M_ = Ps.DOM, DF = (e) => {
12911
12911
  M_.setStyle(e.id, "display", e.orgDisplay);
12912
12912
  }, Ys = (e) => z.from(e).each((n) => n.destroy()), RF = (e) => {
@@ -14202,7 +14202,7 @@ Options:${f}${o.join(f)}` : "";
14202
14202
  }, nN = (e, n, o, r) => {
14203
14203
  const c = r.getNode(!n);
14204
14204
  return bw(ae.fromDom(e), ae.fromDom(o.getNode())).map((u) => hr(u) ? Bi.remove(u.dom) : Bi.moveToElement(c)).orThunk(() => z.some(Bi.moveToElement(c)));
14205
- }, oN = (e, n, o, r) => Ka(n, e, o).bind((c) => p9(c.getNode()) || v9(e, n, o, c, r) ? z.none() : n && lo(c.getNode()) || !n && lo(c.getNode(!0)) ? nN(e, n, o, c) : n && nf(o) || !n && ph(o) ? z.some(Bi.moveToPosition(c)) : z.none()), y9 = (e, n) => wt(n) ? z.none() : e && lo(n.nextSibling) ? z.some(Bi.moveToElement(n.nextSibling)) : !e && lo(n.previousSibling) ? z.some(Bi.moveToElement(n.previousSibling)) : z.none(), w9 = (e, n, o) => o.fold((r) => z.some(Bi.remove(r)), (r) => z.some(Bi.moveToElement(r)), (r) => dd(n, r, e) ? z.none() : z.some(Bi.moveToPosition(r))), x9 = (e, n, o, r) => b9(n, o) ? y9(n, o.getNode(!n)).orThunk(() => oN(e, n, o, r)) : oN(e, n, o, r).bind((c) => w9(e, o, c)), K_ = (e, n, o, r) => {
14205
+ }, oN = (e, n, o, r) => Ka(n, e, o).bind((c) => p9(c.getNode()) || v9(e, n, o, c, r) ? z.none() : n && lo(c.getNode()) || !n && lo(c.getNode(!0)) ? nN(e, n, o, c) : n && nf(o) || !n && ph(o) ? z.some(Bi.moveToPosition(c)) : z.none()), y9 = (e, n) => xt(n) ? z.none() : e && lo(n.nextSibling) ? z.some(Bi.moveToElement(n.nextSibling)) : !e && lo(n.previousSibling) ? z.some(Bi.moveToElement(n.previousSibling)) : z.none(), w9 = (e, n, o) => o.fold((r) => z.some(Bi.remove(r)), (r) => z.some(Bi.moveToElement(r)), (r) => dd(n, r, e) ? z.none() : z.some(Bi.moveToPosition(r))), x9 = (e, n, o, r) => b9(n, o) ? y9(n, o.getNode(!n)).orThunk(() => oN(e, n, o, r)) : oN(e, n, o, r).bind((c) => w9(e, o, c)), K_ = (e, n, o, r) => {
14206
14206
  const c = B2(n ? 1 : -1, e, o), u = Pe.fromRangeStart(c), f = ae.fromDom(e);
14207
14207
  return !n && nf(u) ? z.some(Bi.remove(u.getNode(!0))) : n && ph(u) ? z.some(Bi.remove(u.getNode())) : !n && ph(u) && fw(f, u, r) ? z7(f, u, r).map((b) => Bi.remove(b.getNode())) : n && nf(u) && mw(f, u, r) ? U7(f, u, r).map((b) => Bi.remove(b.getNode())) : x9(e, n, u, r);
14208
14208
  }, MA = (e, n) => (o) => (e._selectionOverrides.hideFakeCaret(), vh(e, n, ae.fromDom(o)), !0), C9 = (e, n) => (o) => {
@@ -15275,8 +15275,8 @@ Options:${f}${o.join(f)}` : "";
15275
15275
  }, hx = (e, n) => el.serror([{
15276
15276
  path: e,
15277
15277
  getErrorInfo: n
15278
- }]), AB = (e, n, o) => hx(e, () => 'Could not find valid *required* value for "' + n + '" in ' + CO(o)), dV = (e, n) => hx(e, () => 'Choice schema did not contain choice key: "' + n + '"'), mV = (e, n, o) => hx(e, () => 'The chosen schema: "' + o + '" did not exist in branches: ' + CO(n)), fV = (e, n) => hx(e, nt(n)), gV = (e, n, o, r) => qo(o, r).fold(() => mV(e, o, r), (u) => u.extract(e.concat(["branch: " + r]), n)), OB = (e, n) => ({
15279
- extract: (c, u) => qo(u, e).fold(() => dV(c, e), (b) => gV(c, u, n, b)),
15278
+ }]), AB = (e, n, o) => hx(e, () => 'Could not find valid *required* value for "' + n + '" in ' + CO(o)), dV = (e, n) => hx(e, () => 'Choice schema did not contain choice key: "' + n + '"'), mV = (e, n, o) => hx(e, () => 'The chosen schema: "' + o + '" did not exist in branches: ' + CO(n)), fV = (e, n) => hx(e, nt(n)), gV = (e, n, o, r) => Ko(o, r).fold(() => mV(e, o, r), (u) => u.extract(e.concat(["branch: " + r]), n)), OB = (e, n) => ({
15279
+ extract: (c, u) => Ko(u, e).fold(() => dV(c, e), (b) => gV(c, u, n, b)),
15280
15280
  toString: () => "chooseOn(" + e + "). Possible values: " + Jo(n)
15281
15281
  }), hV = (e, n) => n, DB = (e, n) => Ea(e) && Ea(n) ? px(e, n) : n, RB = (e) => (...n) => {
15282
15282
  if (n.length === 0)
@@ -15329,11 +15329,11 @@ Options:${f}${o.join(f)}` : "";
15329
15329
  extract: n,
15330
15330
  toString: o
15331
15331
  };
15332
- }, FB = SO(el.svalue), HB = (e, n, o, r) => qo(n, o).fold(() => AB(e, o, n), r), VB = (e, n, o, r) => {
15333
- const c = qo(e, n).getOrThunk(() => o(e));
15332
+ }, FB = SO(el.svalue), HB = (e, n, o, r) => Ko(n, o).fold(() => AB(e, o, n), r), VB = (e, n, o, r) => {
15333
+ const c = Ko(e, n).getOrThunk(() => o(e));
15334
15334
  return r(c);
15335
- }, xV = (e, n, o) => o(qo(e, n)), CV = (e, n, o, r) => {
15336
- const c = qo(e, n).map((u) => u === !0 ? o(e) : u);
15335
+ }, xV = (e, n, o) => o(Ko(e, n)), CV = (e, n, o, r) => {
15336
+ const c = Ko(e, n).map((u) => u === !0 ? o(e) : u);
15337
15337
  return r(c);
15338
15338
  }, SV = (e, n, o, r, c) => {
15339
15339
  const u = (b) => c.extract(n.concat([r]), b), f = (b) => b.fold(() => el.svalue(z.none()), (y) => {
@@ -15955,7 +15955,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
15955
15955
  (!o || Wt(o) && /^(left|right)$/gi.test(e.getStyle(o, "float", !0))) && e.add(n, "br");
15956
15956
  }, mz = (e, n) => {
15957
15957
  const o = SC(e);
15958
- return wt(n) ? !1 : me(o) ? qe(ct.explode(o), n.nodeName.toLowerCase()) : o;
15958
+ return xt(n) ? !1 : me(o) ? qe(ct.explode(o), n.nodeName.toLowerCase()) : o;
15959
15959
  }, gP = {
15960
15960
  insert: (e, n) => {
15961
15961
  let o, r, c, u, f = !1;
@@ -16084,7 +16084,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
16084
16084
  { none: [] }
16085
16085
  ]), Sz = (e, n) => Cz(e), mm = (e) => (n, o) => lP(n) === e, bP = (e, n) => (o, r) => cP(o) === e.toUpperCase() === n, vP = (e) => {
16086
16086
  const n = U0(e.dom, e.selection.getStart());
16087
- return wt(n);
16087
+ return xt(n);
16088
16088
  }, Sx = (e) => bP("pre", e), _z = () => bP("summary", !0), Tk = (e) => (n, o) => JT(n) === e, kz = (e, n) => xz(e), Ek = (e, n) => n, Tz = (e) => {
16089
16089
  const n = Kc(e), o = U0(e.dom, e.selection.getStart());
16090
16090
  return Fe(o) && e.schema.isValidChild(o.nodeName, n);
@@ -16819,7 +16819,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
16819
16819
  if (o.isDefaultPrevented())
16820
16820
  return;
16821
16821
  const r = hD(e, o);
16822
- if (wt(r))
16822
+ if (xt(r))
16823
16823
  return;
16824
16824
  const c = G0(o.dataTransfer), u = fm(c, kx());
16825
16825
  if ((!GP(c) || _U(c)) && Bk(e, o, r))
@@ -17068,7 +17068,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
17068
17068
  }, QU = (e, n, o, r) => {
17069
17069
  const c = Ax(o, e);
17070
17070
  return ns(r) ? JU(e, n, c) : XU(e, r, n, c);
17071
- }, Hk = 32, y6 = 100, Vk = 8, zk = 16, w6 = lo, eW = WT(w6, cc), tW = (e, n, o) => w6(o) && o !== n && e.isEditable(o.parentElement), Uk = (e, n, o) => wt(n) || n === o || e.dom.isChildOf(n, o) ? !1 : e.dom.isEditable(n), x6 = (e, n, o, r) => {
17071
+ }, Hk = 32, y6 = 100, Vk = 8, zk = 16, w6 = lo, eW = WT(w6, cc), tW = (e, n, o) => w6(o) && o !== n && e.isEditable(o.parentElement), Uk = (e, n, o) => xt(n) || n === o || e.dom.isChildOf(n, o) ? !1 : e.dom.isEditable(n), x6 = (e, n, o, r) => {
17072
17072
  const c = e.dom, u = n.cloneNode(!0);
17073
17073
  c.setStyles(u, {
17074
17074
  width: o,
@@ -18299,7 +18299,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
18299
18299
  sections: nt(e),
18300
18300
  options: nt(n)
18301
18301
  }), hg = ss().deviceType, Mx = hg.isPhone(), hy = hg.isTablet(), py = (e) => {
18302
- if (wt(e))
18302
+ if (xt(e))
18303
18303
  return [];
18304
18304
  {
18305
18305
  const n = Xn(e) ? e : e.split(/[ ,]/), o = Ke(n, yl);
@@ -18309,14 +18309,14 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
18309
18309
  const o = Oa(n, (r, c) => qe(e, c));
18310
18310
  return eT(o.t, o.f);
18311
18311
  }, rZ = (e, n, o = {}) => {
18312
- const r = e.sections(), c = qo(r, n).getOr({});
18312
+ const r = e.sections(), c = Ko(r, n).getOr({});
18313
18313
  return ct.extend({}, o, c);
18314
18314
  }, tT = (e, n) => fn(e.sections(), n), aZ = (e, n) => tT(e, n) ? e.sections()[n] : {}, MD = (e, n) => ({
18315
18315
  ...{
18316
18316
  table_grid: !1,
18317
18317
  object_resizing: !1,
18318
18318
  resize: !1,
18319
- toolbar_mode: qo(e, "toolbar_mode").getOr("scrolling"),
18319
+ toolbar_mode: Ko(e, "toolbar_mode").getOr("scrolling"),
18320
18320
  toolbar_sticky: !1
18321
18321
  },
18322
18322
  ...n ? { menubar: !1 } : {}
@@ -18454,7 +18454,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
18454
18454
  "font-size": "size",
18455
18455
  "font-family": "face"
18456
18456
  }, bZ = al("font"), d8 = (e, n, o) => {
18457
- const r = (u) => Rr(u, e).orThunk(() => bZ(u) ? qo(pZ, e).bind((f) => pi(u, f)) : z.none()), c = (u) => bo(ae.fromDom(n), u);
18457
+ const r = (u) => Rr(u, e).orThunk(() => bZ(u) ? Ko(pZ, e).bind((f) => pi(u, f)) : z.none()), c = (u) => bo(ae.fromDom(n), u);
18458
18458
  return yh(ae.fromDom(o), (u) => r(u), c);
18459
18459
  }, vZ = (e) => e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","), m8 = (e, n) => z.from(Ps.DOM.getStyle(n, e, !0)), f8 = (e) => (n, o) => z.from(o).map(ae.fromDom).filter(Na).bind((r) => d8(e, n, r.dom).or(m8(e, r.dom))).getOr(""), BD = f8("font-size"), yZ = A(vZ, f8("font-family")), wZ = (e) => gl(e.getBody()).bind((n) => {
18460
18460
  const o = n.container();
@@ -19032,12 +19032,12 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
19032
19032
  ...L,
19033
19033
  default: te,
19034
19034
  processor: X
19035
- }, qo(r, M).orThunk(() => qo(n, M)).each((ne) => c(M, ne, X));
19035
+ }, Ko(r, M).orThunk(() => Ko(n, M)).each((ne) => c(M, ne, X));
19036
19036
  }, f = (M) => fn(o, M);
19037
19037
  return {
19038
19038
  register: u,
19039
19039
  isRegistered: f,
19040
- get: (M) => qo(r, M).orThunk(() => qo(o, M).map((L) => L.default)).getOrUndefined(),
19040
+ get: (M) => Ko(r, M).orThunk(() => Ko(o, M).map((L) => L.default)).getOrUndefined(),
19041
19041
  set: (M, L) => {
19042
19042
  if (f(M)) {
19043
19043
  const X = o[M];
@@ -19534,7 +19534,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
19534
19534
  let o;
19535
19535
  const r = ct.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu", " "), c = ($, M) => $.inline && M.tagName.toLowerCase() in r, u = ($) => {
19536
19536
  let M = $.id;
19537
- return M || (M = qo($, "name").filter((L) => !by.get(L)).getOrThunk(by.uniqueId), $.setAttribute("id", M)), M;
19537
+ return M || (M = Ko($, "name").filter((L) => !by.get(L)).getOrThunk(by.uniqueId), $.setAttribute("id", M)), M;
19538
19538
  }, f = ($) => {
19539
19539
  const M = e[$];
19540
19540
  if (M)
@@ -19639,7 +19639,7 @@ Input object: ` + CO(e.input), kO = (e, n) => OB(e, mo(n, _O)), UB = nt(FB), hk
19639
19639
  const e = Pf(), n = (u) => ({
19640
19640
  items: u,
19641
19641
  types: Jo(u),
19642
- getType: (f) => qo(u, f).getOrUndefined()
19642
+ getType: (f) => Ko(u, f).getOrUndefined()
19643
19643
  }), o = (u) => {
19644
19644
  e.set(u);
19645
19645
  }, r = () => e.get().getOrUndefined(), c = e.clear;
@@ -20034,7 +20034,7 @@ tinymce.IconManager.add("default", {
20034
20034
  }, ce = (t) => {
20035
20035
  const s = typeof t;
20036
20036
  return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ve(t, String, (a, l) => l.isPrototypeOf(a)) ? "string" : s;
20037
- }, $e = (t) => (s) => ce(s) === t, ye = (t) => (s) => typeof s === t, Q = (t) => (s) => t === s, De = (t, s) => Ue(t) && ve(t, s, (a, l) => B(a) === l), ee = $e("string"), Ue = $e("object"), Ct = (t) => De(t, Object), Gt = $e("array"), Sn = Q(null), zn = ye("boolean"), Uo = Q(void 0), ir = (t) => t == null, $o = (t) => !ir(t), Mt = ye("function"), ur = ye("number"), dn = (t, s) => {
20037
+ }, $e = (t) => (s) => ce(s) === t, ye = (t) => (s) => typeof s === t, Q = (t) => (s) => t === s, De = (t, s) => ze(t) && ve(t, s, (a, l) => B(a) === l), ee = $e("string"), ze = $e("object"), wt = (t) => De(t, Object), Gt = $e("array"), Sn = Q(null), zn = ye("boolean"), Uo = Q(void 0), ir = (t) => t == null, $o = (t) => !ir(t), Mt = ye("function"), ur = ye("number"), dn = (t, s) => {
20038
20038
  if (Gt(t)) {
20039
20039
  for (let a = 0, l = t.length; a < l; ++a)
20040
20040
  if (!s(t[a]))
@@ -20044,7 +20044,7 @@ tinymce.IconManager.add("default", {
20044
20044
  return !1;
20045
20045
  }, me = () => {
20046
20046
  }, _t = (t) => () => t(), Ea = (t, s) => (...a) => t(s.apply(null, a)), Xn = (t, s) => (a) => t(s(a)), oe = (t) => () => t, Nn = (t) => t, ns = (t, s) => t === s;
20047
- function wt(t, ...s) {
20047
+ function xt(t, ...s) {
20048
20048
  return (...a) => {
20049
20049
  const l = s.concat(a);
20050
20050
  return t.apply(null, l);
@@ -20295,7 +20295,7 @@ tinymce.IconManager.add("default", {
20295
20295
  return A.none();
20296
20296
  }
20297
20297
  return A.some(s);
20298
- }, ec = (t, s, a) => t.isSome() && s.isSome() ? A.some(a(t.getOrDie(), s.getOrDie())) : A.none(), pc = (t, s, a, l) => t.isSome() && s.isSome() && a.isSome() ? A.some(l(t.getOrDie(), s.getOrDie(), a.getOrDie())) : A.none(), qo = (t, s) => t != null ? A.some(s(t)) : A.none(), fn = (t, s) => t ? A.some(s) : A.none(), Er = (t, s) => t + s, Bc = (t, s) => t.substring(s), Ll = (t, s, a) => s === "" || t.length >= s.length && t.substr(a, a + s.length) === s, di = (t, s) => Us(t, s) ? Bc(t, s.length) : t, wr = (t, s) => bc(t, s) ? t : Er(t, s), mr = (t, s, a = 0, l) => {
20298
+ }, ec = (t, s, a) => t.isSome() && s.isSome() ? A.some(a(t.getOrDie(), s.getOrDie())) : A.none(), pc = (t, s, a, l) => t.isSome() && s.isSome() && a.isSome() ? A.some(l(t.getOrDie(), s.getOrDie(), a.getOrDie())) : A.none(), Ko = (t, s) => t != null ? A.some(s(t)) : A.none(), fn = (t, s) => t ? A.some(s) : A.none(), Er = (t, s) => t + s, Bc = (t, s) => t.substring(s), Ll = (t, s, a) => s === "" || t.length >= s.length && t.substr(a, a + s.length) === s, di = (t, s) => Us(t, s) ? Bc(t, s.length) : t, wr = (t, s) => bc(t, s) ? t : Er(t, s), mr = (t, s, a = 0, l) => {
20299
20299
  const d = t.indexOf(s, a);
20300
20300
  return d !== -1 ? Uo(l) ? !0 : d + s.length <= l : !1;
20301
20301
  }, Us = (t, s) => Ll(t, s, 0), bc = (t, s) => Ll(t, s, t.length - s.length), Hr = ((t) => (s) => s.replace(t, ""))(/^\s+|\s+$/g), ca = (t) => t.length > 0, Is = (t) => !ca(t), Ar = (t) => t.style !== void 0 && Mt(t.style.getPropertyValue), ol = (t, s) => {
@@ -20336,7 +20336,7 @@ tinymce.IconManager.add("default", {
20336
20336
  return a;
20337
20337
  }, ym = Object.getPrototypeOf, Ad = (t) => es("HTMLElement", t), tc = (t) => {
20338
20338
  const s = Wu("ownerDocument.defaultView", t);
20339
- return Ue(t) && (Ad(s).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(ym(t).constructor.name));
20339
+ return ze(t) && (Ad(s).prototype.isPrototypeOf(t) || /^HTML\w*Element$/.test(ym(t).constructor.name));
20340
20340
  }, Ki = 9, vs = 11, ks = 1, za = 3, Da = (t) => t.dom.nodeName.toLowerCase(), yl = (t) => t.dom.nodeType, fi = (t) => (s) => yl(s) === t, wl = (t) => ko(t) && tc(t.dom), ko = fi(ks), Xr = fi(za), la = fi(Ki), Hl = fi(vs), ia = (t) => (s) => ko(s) && Da(s) === t, Ls = (t, s) => {
20341
20341
  const a = t.dom;
20342
20342
  if (a.nodeType !== ks)
@@ -20768,7 +20768,7 @@ tinymce.IconManager.add("default", {
20768
20768
  t(a) && s(yu(a));
20769
20769
  }, fa = (t, s, a, l, d) => {
20770
20770
  const g = _l(a, l);
20771
- return t.dom.addEventListener(s, g, d), { unbind: wt(Bh, t, s, g, d) };
20771
+ return t.dom.addEventListener(s, g, d), { unbind: xt(Bh, t, s, g, d) };
20772
20772
  }, Wl = (t, s, a, l) => fa(t, s, a, l, !1), Og = (t, s, a, l) => fa(t, s, a, l, !0), Bh = (t, s, a, l) => {
20773
20773
  t.dom.removeEventListener(s, a, l);
20774
20774
  }, il = (t, s) => {
@@ -20847,7 +20847,7 @@ tinymce.IconManager.add("default", {
20847
20847
  });
20848
20848
  const Xu = (t) => {
20849
20849
  const s = $d(), a = Ga(s);
20850
- return Ih(t, Mg).fold(wt(wc, t), (d) => {
20850
+ return Ih(t, Mg).fold(xt(wc, t), (d) => {
20851
20851
  const g = rl(t), p = os(d, (w, C) => {
20852
20852
  const E = rl(C);
20853
20853
  return {
@@ -20988,7 +20988,7 @@ tinymce.IconManager.add("default", {
20988
20988
  case "custom":
20989
20989
  return a(t.newKey, t.instantiator);
20990
20990
  }
20991
- }, Cr = (t, s) => s, Bg = (t, s) => Ct(t) && Ct(s) ? Vo(t, s) : s, Hh = (t) => (...s) => {
20991
+ }, Cr = (t, s) => s, Bg = (t, s) => wt(t) && wt(s) ? Vo(t, s) : s, Hh = (t) => (...s) => {
20992
20992
  if (s.length === 0)
20993
20993
  throw new Error("Can't merge zero objects");
20994
20994
  const a = {};
@@ -21019,7 +21019,7 @@ tinymce.IconManager.add("default", {
21019
21019
  const s = sr.partition(t);
21020
21020
  return s.errors.length > 0 ? Ig(s.errors) : sr.svalue(s.values);
21021
21021
  }
21022
- }, Lg = (t) => Ue(t) && ps(t).length > 100 ? " removed due to size" : JSON.stringify(t, null, 2), Em = (t) => {
21022
+ }, Lg = (t) => ze(t) && ps(t).length > 100 ? " removed due to size" : JSON.stringify(t, null, 2), Em = (t) => {
21023
21023
  const s = t.length > 10 ? t.slice(0, 10).concat([{
21024
21024
  path: [],
21025
21025
  getErrorInfo: oe("... (only showing first ten failures)")
@@ -21559,7 +21559,7 @@ Order specified: ` + JSON.stringify(l, null, 2));
21559
21559
  }), tC = (t, s) => ({
21560
21560
  cHandler: t,
21561
21561
  purpose: s
21562
- }), Hy = (t, s) => tC(wt.apply(void 0, [t.handler].concat(s)), t.purpose), Jh = (t) => t.cHandler, Qh = (t, s) => ({
21562
+ }), Hy = (t, s) => tC(xt.apply(void 0, [t.handler].concat(s)), t.purpose), Jh = (t) => t.cHandler, Qh = (t, s) => ({
21563
21563
  name: t,
21564
21564
  handler: s
21565
21565
  }), Tb = (t, s) => {
@@ -22170,7 +22170,7 @@ Receiver: ` + zd(s.element), E, g.data);
22170
22170
  const w = (N) => Tr(N, a) ? N[a]() : A.none(), C = jo(d, (N, F) => El(a, N, F)), D = {
22171
22171
  ...jo(g, (N, F) => Sb(N, F)),
22172
22172
  ...C,
22173
- revoke: wt(i5, a),
22173
+ revoke: xt(i5, a),
22174
22174
  config: (N) => {
22175
22175
  const F = Cc(a + "-config", t, N);
22176
22176
  return {
@@ -22275,7 +22275,7 @@ Receiver: ` + zd(s.element), E, g.data);
22275
22275
  const a = s.rect;
22276
22276
  return Ei("absolute", A.some(a.x), A.some(a.y), A.none(), A.none());
22277
22277
  }, (a, l, d, g) => CC("absolute", s, a, l, d, g), (a, l, d, g) => CC("fixed", s, a, l, d, g)), i2 = (t, s) => {
22278
- const a = wt(Xu, s), l = t.fold(a, a, () => {
22278
+ const a = xt(Xu, s), l = t.fold(a, a, () => {
22279
22279
  const p = Ga();
22280
22280
  return Xu(s).translate(-p.left, -p.top);
22281
22281
  }), d = da(s), g = Od(s);
@@ -22354,7 +22354,7 @@ Receiver: ` + zd(s.element), E, g.data);
22354
22354
  return Re.fold(oe(Re), (be, ge, Ee, ut) => (Y === ut ? Ee > W || ge > F : !Y && ut) ? Re : Z1.nofit(N, F, W, Y));
22355
22355
  };
22356
22356
  return Lo(s, (D, N) => {
22357
- const F = wt(C, N);
22357
+ const F = xt(C, N);
22358
22358
  return D.fold(oe(D), F);
22359
22359
  }, Z1.nofit({
22360
22360
  rect: a,
@@ -23859,7 +23859,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
23859
23859
  });
23860
23860
  }, w = (be, ge, Ee, ut, Xe) => Xe(ge, Ee, (je) => g(ut, je)).fold(() => ut.cyclic ? A.some(!0) : A.none(), (je) => (ut.focusManager.set(be, je), A.some(!0))), C = (be, ge, Ee, ut) => {
23861
23861
  const Xe = Ca(be.element, Ee.selector);
23862
- return d(be, Ee).bind((je) => Et(Xe, wt(Po, je)).bind((kt) => w(be, Xe, kt, Ee, ut)));
23862
+ return d(be, Ee).bind((je) => Et(Xe, xt(Po, je)).bind((kt) => w(be, Xe, kt, Ee, ut)));
23863
23863
  }, E = (be, ge, Ee) => {
23864
23864
  const ut = Ee.cyclic ? rw : i4;
23865
23865
  return C(be, ge, Ee, ut);
@@ -25173,7 +25173,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
25173
25173
  attributes: l,
25174
25174
  ...g
25175
25175
  };
25176
- }, Ko = (t) => {
25176
+ }, Yo = (t) => {
25177
25177
  const s = qE(t) && Tr(t, "uid") ? t.uid : qh("memento");
25178
25178
  return {
25179
25179
  get: (g) => g.getSystem().getByUid(s).getOrDie(),
@@ -26008,23 +26008,23 @@ Components: ` + JSON.stringify(s.components, null, 2));
26008
26008
  "text/html"
26009
26009
  ], vq = "text/html";
26010
26010
  let zi, CT = null;
26011
- const yq = d.createElement("form"), HG = function(ze) {
26012
- return ze instanceof RegExp || ze instanceof Function;
26013
- }, _j = function(ze) {
26014
- if (!(CT && CT === ze)) {
26015
- if ((!ze || typeof ze != "object") && (ze = {}), ze = D0(ze), Ux = bq.indexOf(ze.PARSER_MEDIA_TYPE) === -1 ? Ux = vq : Ux = ze.PARSER_MEDIA_TYPE, zi = Ux === "application/xhtml+xml" ? vh : HS, $n = "ALLOWED_TAGS" in ze ? wo({}, ze.ALLOWED_TAGS, zi) : pn, In = "ALLOWED_ATTR" in ze ? wo({}, ze.ALLOWED_ATTR, zi) : _s, Sj = "ALLOWED_NAMESPACES" in ze ? wo({}, ze.ALLOWED_NAMESPACES, vh) : pq, xj = "ADD_URI_SAFE_ATTR" in ze ? wo(D0(FG), ze.ADD_URI_SAFE_ATTR, zi) : FG, IG = "ADD_DATA_URI_TAGS" in ze ? wo(D0(LG), ze.ADD_DATA_URI_TAGS, zi) : LG, wT = "FORBID_CONTENTS" in ze ? wo({}, ze.FORBID_CONTENTS, zi) : PG, hc = "FORBID_TAGS" in ze ? wo({}, ze.FORBID_TAGS, zi) : {}, Vi = "FORBID_ATTR" in ze ? wo({}, ze.FORBID_ATTR, zi) : {}, yT = "USE_PROFILES" in ze ? ze.USE_PROFILES : !1, Ed = ze.ALLOW_ARIA_ATTR !== !1, bm = ze.ALLOW_DATA_ATTR !== !1, p1 = ze.ALLOW_UNKNOWN_PROTOCOLS || !1, rb = ze.ALLOW_SELF_CLOSE_IN_ATTR !== !1, pf = ze.SAFE_FOR_TEMPLATES || !1, Oh = ze.WHOLE_DOCUMENT || !1, Sy = ze.RETURN_DOM || !1, vT = ze.RETURN_DOM_FRAGMENT || !1, I8 = ze.RETURN_TRUSTED_TYPE || !1, JD = ze.FORCE_BODY || !1, NG = ze.SANITIZE_DOM !== !1, BG = ze.SANITIZE_NAMED_PROPS || !1, wj = ze.KEEP_CONTENT !== !1, QD = ze.IN_PLACE || !1, An = ze.ALLOWED_URI_REGEXP || B4, xT = ze.NAMESPACE || ab, _o = ze.CUSTOM_ELEMENT_HANDLING || {}, ze.CUSTOM_ELEMENT_HANDLING && HG(ze.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (_o.tagNameCheck = ze.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ze.CUSTOM_ELEMENT_HANDLING && HG(ze.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (_o.attributeNameCheck = ze.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ze.CUSTOM_ELEMENT_HANDLING && typeof ze.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (_o.allowCustomizedBuiltInElements = ze.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), pf && (bm = !1), vT && (Sy = !0), yT && ($n = wo({}, [...bw]), In = [], yT.html === !0 && (wo($n, D4), wo(In, VS)), yT.svg === !0 && (wo($n, R4), wo(In, zS), wo(In, vw)), yT.svgFilters === !0 && (wo($n, pw), wo(In, zS), wo(In, vw)), yT.mathMl === !0 && (wo($n, $4), wo(In, M4), wo(In, vw))), ze.ADD_TAGS && ($n === pn && ($n = D0($n)), wo($n, ze.ADD_TAGS, zi)), ze.ADD_ATTR && (In === _s && (In = D0(In)), wo(In, ze.ADD_ATTR, zi)), ze.ADD_URI_SAFE_ATTR && wo(xj, ze.ADD_URI_SAFE_ATTR, zi), ze.FORBID_CONTENTS && (wT === PG && (wT = D0(wT)), wo(wT, ze.FORBID_CONTENTS, zi)), wj && ($n["#text"] = !0), Oh && wo($n, [
26011
+ const yq = d.createElement("form"), HG = function(Ue) {
26012
+ return Ue instanceof RegExp || Ue instanceof Function;
26013
+ }, _j = function(Ue) {
26014
+ if (!(CT && CT === Ue)) {
26015
+ if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = D0(Ue), Ux = bq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Ux = vq : Ux = Ue.PARSER_MEDIA_TYPE, zi = Ux === "application/xhtml+xml" ? vh : HS, $n = "ALLOWED_TAGS" in Ue ? wo({}, Ue.ALLOWED_TAGS, zi) : pn, In = "ALLOWED_ATTR" in Ue ? wo({}, Ue.ALLOWED_ATTR, zi) : _s, Sj = "ALLOWED_NAMESPACES" in Ue ? wo({}, Ue.ALLOWED_NAMESPACES, vh) : pq, xj = "ADD_URI_SAFE_ATTR" in Ue ? wo(D0(FG), Ue.ADD_URI_SAFE_ATTR, zi) : FG, IG = "ADD_DATA_URI_TAGS" in Ue ? wo(D0(LG), Ue.ADD_DATA_URI_TAGS, zi) : LG, wT = "FORBID_CONTENTS" in Ue ? wo({}, Ue.FORBID_CONTENTS, zi) : PG, hc = "FORBID_TAGS" in Ue ? wo({}, Ue.FORBID_TAGS, zi) : {}, Vi = "FORBID_ATTR" in Ue ? wo({}, Ue.FORBID_ATTR, zi) : {}, yT = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Ed = Ue.ALLOW_ARIA_ATTR !== !1, bm = Ue.ALLOW_DATA_ATTR !== !1, p1 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, rb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, pf = Ue.SAFE_FOR_TEMPLATES || !1, Oh = Ue.WHOLE_DOCUMENT || !1, Sy = Ue.RETURN_DOM || !1, vT = Ue.RETURN_DOM_FRAGMENT || !1, I8 = Ue.RETURN_TRUSTED_TYPE || !1, JD = Ue.FORCE_BODY || !1, NG = Ue.SANITIZE_DOM !== !1, BG = Ue.SANITIZE_NAMED_PROPS || !1, wj = Ue.KEEP_CONTENT !== !1, QD = Ue.IN_PLACE || !1, An = Ue.ALLOWED_URI_REGEXP || B4, xT = Ue.NAMESPACE || ab, _o = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && HG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (_o.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && HG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (_o.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (_o.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), pf && (bm = !1), vT && (Sy = !0), yT && ($n = wo({}, [...bw]), In = [], yT.html === !0 && (wo($n, D4), wo(In, VS)), yT.svg === !0 && (wo($n, R4), wo(In, zS), wo(In, vw)), yT.svgFilters === !0 && (wo($n, pw), wo(In, zS), wo(In, vw)), yT.mathMl === !0 && (wo($n, $4), wo(In, M4), wo(In, vw))), Ue.ADD_TAGS && ($n === pn && ($n = D0($n)), wo($n, Ue.ADD_TAGS, zi)), Ue.ADD_ATTR && (In === _s && (In = D0(In)), wo(In, Ue.ADD_ATTR, zi)), Ue.ADD_URI_SAFE_ATTR && wo(xj, Ue.ADD_URI_SAFE_ATTR, zi), Ue.FORBID_CONTENTS && (wT === PG && (wT = D0(wT)), wo(wT, Ue.FORBID_CONTENTS, zi)), wj && ($n["#text"] = !0), Oh && wo($n, [
26016
26016
  "html",
26017
26017
  "head",
26018
26018
  "body"
26019
- ]), $n.table && (wo($n, ["tbody"]), delete hc.tbody), ze.TRUSTED_TYPES_POLICY) {
26020
- if (typeof ze.TRUSTED_TYPES_POLICY.createHTML != "function")
26019
+ ]), $n.table && (wo($n, ["tbody"]), delete hc.tbody), Ue.TRUSTED_TYPES_POLICY) {
26020
+ if (typeof Ue.TRUSTED_TYPES_POLICY.createHTML != "function")
26021
26021
  throw tm('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
26022
- if (typeof ze.TRUSTED_TYPES_POLICY.createScriptURL != "function")
26022
+ if (typeof Ue.TRUSTED_TYPES_POLICY.createScriptURL != "function")
26023
26023
  throw tm('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
26024
- Ee = ze.TRUSTED_TYPES_POLICY, ut = Ee.createHTML("");
26024
+ Ee = Ue.TRUSTED_TYPES_POLICY, ut = Ee.createHTML("");
26025
26025
  } else
26026
26026
  Ee === void 0 && (Ee = yw(W, l)), Ee !== null && typeof ut == "string" && (ut = Ee.createHTML(""));
26027
- mu && mu(ze), CT = ze;
26027
+ mu && mu(Ue), CT = Ue;
26028
26028
  }
26029
26029
  }, VG = wo({}, [
26030
26030
  "mi",
@@ -26047,25 +26047,25 @@ Components: ` + JSON.stringify(s.components, null, 2));
26047
26047
  wo(H8, pw), wo(H8, iI);
26048
26048
  const kj = wo({}, $4);
26049
26049
  wo(kj, uI);
26050
- const xq = function(ze) {
26051
- let tn = ge(ze);
26050
+ const xq = function(Ue) {
26051
+ let tn = ge(Ue);
26052
26052
  (!tn || !tn.tagName) && (tn = {
26053
26053
  namespaceURI: xT,
26054
26054
  tagName: "template"
26055
26055
  });
26056
- const Mn = HS(ze.tagName), ra = HS(tn.tagName);
26057
- return Sj[ze.namespaceURI] ? ze.namespaceURI === F8 ? tn.namespaceURI === ab ? Mn === "svg" : tn.namespaceURI === L8 ? Mn === "svg" && (ra === "annotation-xml" || VG[ra]) : !!H8[Mn] : ze.namespaceURI === L8 ? tn.namespaceURI === ab ? Mn === "math" : tn.namespaceURI === F8 ? Mn === "math" && zG[ra] : !!kj[Mn] : ze.namespaceURI === ab ? tn.namespaceURI === F8 && !zG[ra] || tn.namespaceURI === L8 && !VG[ra] ? !1 : !kj[Mn] && (wq[Mn] || !H8[Mn]) : !!(Ux === "application/xhtml+xml" && Sj[ze.namespaceURI]) : !1;
26058
- }, Wx = function(ze) {
26059
- gw(s.removed, { element: ze });
26056
+ const Mn = HS(Ue.tagName), ra = HS(tn.tagName);
26057
+ return Sj[Ue.namespaceURI] ? Ue.namespaceURI === F8 ? tn.namespaceURI === ab ? Mn === "svg" : tn.namespaceURI === L8 ? Mn === "svg" && (ra === "annotation-xml" || VG[ra]) : !!H8[Mn] : Ue.namespaceURI === L8 ? tn.namespaceURI === ab ? Mn === "math" : tn.namespaceURI === F8 ? Mn === "math" && zG[ra] : !!kj[Mn] : Ue.namespaceURI === ab ? tn.namespaceURI === F8 && !zG[ra] || tn.namespaceURI === L8 && !VG[ra] ? !1 : !kj[Mn] && (wq[Mn] || !H8[Mn]) : !!(Ux === "application/xhtml+xml" && Sj[Ue.namespaceURI]) : !1;
26058
+ }, Wx = function(Ue) {
26059
+ gw(s.removed, { element: Ue });
26060
26060
  try {
26061
- ze.parentNode.removeChild(ze);
26061
+ Ue.parentNode.removeChild(Ue);
26062
26062
  } catch {
26063
- ze.remove();
26063
+ Ue.remove();
26064
26064
  }
26065
- }, e5 = function(ze, tn) {
26065
+ }, e5 = function(Ue, tn) {
26066
26066
  try {
26067
26067
  gw(s.removed, {
26068
- attribute: tn.getAttributeNode(ze),
26068
+ attribute: tn.getAttributeNode(Ue),
26069
26069
  from: tn
26070
26070
  });
26071
26071
  } catch {
@@ -26074,7 +26074,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26074
26074
  from: tn
26075
26075
  });
26076
26076
  }
26077
- if (tn.removeAttribute(ze), ze === "is" && !In[ze])
26077
+ if (tn.removeAttribute(Ue), Ue === "is" && !In[Ue])
26078
26078
  if (Sy || vT)
26079
26079
  try {
26080
26080
  Wx(tn);
@@ -26082,19 +26082,19 @@ Components: ` + JSON.stringify(s.components, null, 2));
26082
26082
  }
26083
26083
  else
26084
26084
  try {
26085
- tn.setAttribute(ze, "");
26085
+ tn.setAttribute(Ue, "");
26086
26086
  } catch {
26087
26087
  }
26088
- }, UG = function(ze) {
26088
+ }, UG = function(Ue) {
26089
26089
  let tn, Mn;
26090
26090
  if (JD)
26091
- ze = "<remove></remove>" + ze;
26091
+ Ue = "<remove></remove>" + Ue;
26092
26092
  else {
26093
- const xg = cI(ze, /^[\r\n\t ]+/);
26093
+ const xg = cI(Ue, /^[\r\n\t ]+/);
26094
26094
  Mn = xg && xg[0];
26095
26095
  }
26096
- Ux === "application/xhtml+xml" && xT === ab && (ze = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + ze + "</body></html>");
26097
- const ra = Ee ? Ee.createHTML(ze) : ze;
26096
+ Ux === "application/xhtml+xml" && xT === ab && (Ue = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + Ue + "</body></html>");
26097
+ const ra = Ee ? Ee.createHTML(Ue) : Ue;
26098
26098
  if (xT === ab)
26099
26099
  try {
26100
26100
  tn = new F().parseFromString(ra, Ux);
@@ -26108,51 +26108,51 @@ Components: ` + JSON.stringify(s.components, null, 2));
26108
26108
  }
26109
26109
  }
26110
26110
  const Ui = tn.body || tn.documentElement;
26111
- return ze && Mn && Ui.insertBefore(d.createTextNode(Mn), Ui.childNodes[0] || null), xT === ab ? kt.call(tn, Oh ? "html" : "body")[0] : Oh ? tn.documentElement : Ui;
26112
- }, WG = function(ze) {
26113
- return je.call(ze.ownerDocument || ze, ze, E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT, null, !1);
26114
- }, Cq = function(ze) {
26115
- return ze instanceof N && (typeof ze.nodeName != "string" || typeof ze.textContent != "string" || typeof ze.removeChild != "function" || !(ze.attributes instanceof D) || typeof ze.removeAttribute != "function" || typeof ze.setAttribute != "function" || typeof ze.namespaceURI != "string" || typeof ze.insertBefore != "function" || typeof ze.hasChildNodes != "function");
26116
- }, V8 = function(ze) {
26117
- return typeof w == "object" ? ze instanceof w : ze && typeof ze == "object" && typeof ze.nodeType == "number" && typeof ze.nodeName == "string";
26118
- }, cb = function(ze, tn, Mn) {
26119
- zt[ze] && rI(zt[ze], (ra) => {
26111
+ return Ue && Mn && Ui.insertBefore(d.createTextNode(Mn), Ui.childNodes[0] || null), xT === ab ? kt.call(tn, Oh ? "html" : "body")[0] : Oh ? tn.documentElement : Ui;
26112
+ }, WG = function(Ue) {
26113
+ return je.call(Ue.ownerDocument || Ue, Ue, E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT, null, !1);
26114
+ }, Cq = function(Ue) {
26115
+ return Ue instanceof N && (typeof Ue.nodeName != "string" || typeof Ue.textContent != "string" || typeof Ue.removeChild != "function" || !(Ue.attributes instanceof D) || typeof Ue.removeAttribute != "function" || typeof Ue.setAttribute != "function" || typeof Ue.namespaceURI != "string" || typeof Ue.insertBefore != "function" || typeof Ue.hasChildNodes != "function");
26116
+ }, V8 = function(Ue) {
26117
+ return typeof w == "object" ? Ue instanceof w : Ue && typeof Ue == "object" && typeof Ue.nodeType == "number" && typeof Ue.nodeName == "string";
26118
+ }, cb = function(Ue, tn, Mn) {
26119
+ zt[Ue] && rI(zt[Ue], (ra) => {
26120
26120
  ra.call(s, tn, Mn, CT);
26121
26121
  });
26122
- }, ZG = function(ze) {
26122
+ }, ZG = function(Ue) {
26123
26123
  let tn;
26124
- if (cb("beforeSanitizeElements", ze, null), Cq(ze))
26125
- return Wx(ze), !0;
26126
- const Mn = zi(ze.nodeName);
26127
- if (cb("uponSanitizeElement", ze, {
26124
+ if (cb("beforeSanitizeElements", Ue, null), Cq(Ue))
26125
+ return Wx(Ue), !0;
26126
+ const Mn = zi(Ue.nodeName);
26127
+ if (cb("uponSanitizeElement", Ue, {
26128
26128
  tagName: Mn,
26129
26129
  allowedTags: $n
26130
- }), ze.hasChildNodes() && !V8(ze.firstElementChild) && (!V8(ze.content) || !V8(ze.content.firstElementChild)) && pd(/<[/\w]/g, ze.innerHTML) && pd(/<[/\w]/g, ze.textContent))
26131
- return Wx(ze), !0;
26130
+ }), Ue.hasChildNodes() && !V8(Ue.firstElementChild) && (!V8(Ue.content) || !V8(Ue.content.firstElementChild)) && pd(/<[/\w]/g, Ue.innerHTML) && pd(/<[/\w]/g, Ue.textContent))
26131
+ return Wx(Ue), !0;
26132
26132
  if (!$n[Mn] || hc[Mn]) {
26133
26133
  if (!hc[Mn] && GG(Mn) && (_o.tagNameCheck instanceof RegExp && pd(_o.tagNameCheck, Mn) || _o.tagNameCheck instanceof Function && _o.tagNameCheck(Mn)))
26134
26134
  return !1;
26135
26135
  if (wj && !wT[Mn]) {
26136
- const ra = ge(ze) || ze.parentNode, Ui = be(ze) || ze.childNodes;
26136
+ const ra = ge(Ue) || Ue.parentNode, Ui = be(Ue) || Ue.childNodes;
26137
26137
  if (Ui && ra) {
26138
26138
  const xg = Ui.length;
26139
26139
  for (let $c = xg - 1; $c >= 0; --$c)
26140
- ra.insertBefore(le(Ui[$c], !0), Re(ze));
26140
+ ra.insertBefore(le(Ui[$c], !0), Re(Ue));
26141
26141
  }
26142
26142
  }
26143
- return Wx(ze), !0;
26143
+ return Wx(Ue), !0;
26144
26144
  }
26145
- return ze instanceof C && !xq(ze) || (Mn === "noscript" || Mn === "noembed" || Mn === "noframes") && pd(/<\/no(script|embed|frames)/i, ze.innerHTML) ? (Wx(ze), !0) : (pf && ze.nodeType === 3 && (tn = ze.textContent, tn = sf(tn, En, " "), tn = sf(tn, xn, " "), tn = sf(tn, Go, " "), ze.textContent !== tn && (gw(s.removed, { element: ze.cloneNode() }), ze.textContent = tn)), cb("afterSanitizeElements", ze, null), !1);
26146
- }, jG = function(ze, tn, Mn) {
26145
+ return Ue instanceof C && !xq(Ue) || (Mn === "noscript" || Mn === "noembed" || Mn === "noframes") && pd(/<\/no(script|embed|frames)/i, Ue.innerHTML) ? (Wx(Ue), !0) : (pf && Ue.nodeType === 3 && (tn = Ue.textContent, tn = sf(tn, En, " "), tn = sf(tn, xn, " "), tn = sf(tn, Go, " "), Ue.textContent !== tn && (gw(s.removed, { element: Ue.cloneNode() }), Ue.textContent = tn)), cb("afterSanitizeElements", Ue, null), !1);
26146
+ }, jG = function(Ue, tn, Mn) {
26147
26147
  if (NG && (tn === "id" || tn === "name") && (Mn in d || Mn in yq))
26148
26148
  return !1;
26149
26149
  if (!(bm && !Vi[tn] && pd(gn, tn))) {
26150
26150
  if (!(Ed && pd(Co, tn))) {
26151
26151
  if (!In[tn] || Vi[tn]) {
26152
- if (!(GG(ze) && (_o.tagNameCheck instanceof RegExp && pd(_o.tagNameCheck, ze) || _o.tagNameCheck instanceof Function && _o.tagNameCheck(ze)) && (_o.attributeNameCheck instanceof RegExp && pd(_o.attributeNameCheck, tn) || _o.attributeNameCheck instanceof Function && _o.attributeNameCheck(tn)) || tn === "is" && _o.allowCustomizedBuiltInElements && (_o.tagNameCheck instanceof RegExp && pd(_o.tagNameCheck, Mn) || _o.tagNameCheck instanceof Function && _o.tagNameCheck(Mn)))) return !1;
26152
+ if (!(GG(Ue) && (_o.tagNameCheck instanceof RegExp && pd(_o.tagNameCheck, Ue) || _o.tagNameCheck instanceof Function && _o.tagNameCheck(Ue)) && (_o.attributeNameCheck instanceof RegExp && pd(_o.attributeNameCheck, tn) || _o.attributeNameCheck instanceof Function && _o.attributeNameCheck(tn)) || tn === "is" && _o.allowCustomizedBuiltInElements && (_o.tagNameCheck instanceof RegExp && pd(_o.tagNameCheck, Mn) || _o.tagNameCheck instanceof Function && _o.tagNameCheck(Mn)))) return !1;
26153
26153
  } else if (!xj[tn]) {
26154
26154
  if (!pd(An, sf(Mn, Yt, ""))) {
26155
- if (!((tn === "src" || tn === "xlink:href" || tn === "href") && ze !== "script" && O0(Mn, "data:") === 0 && IG[ze])) {
26155
+ if (!((tn === "src" || tn === "xlink:href" || tn === "href") && Ue !== "script" && O0(Mn, "data:") === 0 && IG[Ue])) {
26156
26156
  if (!(p1 && !pd(Tt, sf(Mn, Yt, "")))) {
26157
26157
  if (Mn)
26158
26158
  return !1;
@@ -26163,12 +26163,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
26163
26163
  }
26164
26164
  }
26165
26165
  return !0;
26166
- }, GG = function(ze) {
26167
- return ze.indexOf("-") > 0;
26168
- }, qG = function(ze) {
26166
+ }, GG = function(Ue) {
26167
+ return Ue.indexOf("-") > 0;
26168
+ }, qG = function(Ue) {
26169
26169
  let tn, Mn, ra, Ui;
26170
- cb("beforeSanitizeAttributes", ze, null);
26171
- const { attributes: xg } = ze;
26170
+ cb("beforeSanitizeAttributes", Ue, null);
26171
+ const { attributes: xg } = Ue;
26172
26172
  if (!xg)
26173
26173
  return;
26174
26174
  const $c = {
@@ -26182,23 +26182,23 @@ Components: ` + JSON.stringify(s.components, null, 2));
26182
26182
  const { name: Cg, namespaceURI: Tj } = tn;
26183
26183
  Mn = Cg === "value" ? tn.value : mR(tn.value);
26184
26184
  const _q = Mn;
26185
- if (ra = zi(Cg), $c.attrName = ra, $c.attrValue = Mn, $c.keepAttr = !0, $c.forceKeepAttr = void 0, cb("uponSanitizeAttribute", ze, $c), Mn = $c.attrValue, $c.forceKeepAttr)
26185
+ if (ra = zi(Cg), $c.attrName = ra, $c.attrValue = Mn, $c.keepAttr = !0, $c.forceKeepAttr = void 0, cb("uponSanitizeAttribute", Ue, $c), Mn = $c.attrValue, $c.forceKeepAttr)
26186
26186
  continue;
26187
26187
  if (!$c.keepAttr) {
26188
- e5(Cg, ze);
26188
+ e5(Cg, Ue);
26189
26189
  continue;
26190
26190
  }
26191
26191
  if (!rb && pd(/\/>/i, Mn)) {
26192
- e5(Cg, ze);
26192
+ e5(Cg, Ue);
26193
26193
  continue;
26194
26194
  }
26195
26195
  pf && (Mn = sf(Mn, En, " "), Mn = sf(Mn, xn, " "), Mn = sf(Mn, Go, " "));
26196
- const KG = zi(ze.nodeName);
26196
+ const KG = zi(Ue.nodeName);
26197
26197
  if (!jG(KG, ra, Mn)) {
26198
- e5(Cg, ze);
26198
+ e5(Cg, Ue);
26199
26199
  continue;
26200
26200
  }
26201
- if (BG && (ra === "id" || ra === "name") && (e5(Cg, ze), Mn = hq + Mn), Ee && typeof W == "object" && typeof W.getAttributeType == "function" && !Tj)
26201
+ if (BG && (ra === "id" || ra === "name") && (e5(Cg, Ue), Mn = hq + Mn), Ee && typeof W == "object" && typeof W.getAttributeType == "function" && !Tj)
26202
26202
  switch (W.getAttributeType(KG, ra)) {
26203
26203
  case "TrustedHTML": {
26204
26204
  Mn = Ee.createHTML(Mn);
@@ -26211,21 +26211,21 @@ Components: ` + JSON.stringify(s.components, null, 2));
26211
26211
  }
26212
26212
  if (Mn !== _q)
26213
26213
  try {
26214
- Tj ? ze.setAttributeNS(Tj, Cg, Mn) : ze.setAttribute(Cg, Mn);
26214
+ Tj ? Ue.setAttributeNS(Tj, Cg, Mn) : Ue.setAttribute(Cg, Mn);
26215
26215
  } catch {
26216
- e5(Cg, ze);
26216
+ e5(Cg, Ue);
26217
26217
  }
26218
26218
  }
26219
- cb("afterSanitizeAttributes", ze, null);
26220
- }, Sq = function uo(ze) {
26219
+ cb("afterSanitizeAttributes", Ue, null);
26220
+ }, Sq = function uo(Ue) {
26221
26221
  let tn;
26222
- const Mn = WG(ze);
26223
- for (cb("beforeSanitizeShadowDOM", ze, null); tn = Mn.nextNode(); )
26222
+ const Mn = WG(Ue);
26223
+ for (cb("beforeSanitizeShadowDOM", Ue, null); tn = Mn.nextNode(); )
26224
26224
  cb("uponSanitizeShadowNode", tn, null), !ZG(tn) && (tn.content instanceof g && uo(tn.content), qG(tn));
26225
- cb("afterSanitizeShadowDOM", ze, null);
26225
+ cb("afterSanitizeShadowDOM", Ue, null);
26226
26226
  };
26227
26227
  return s.sanitize = function(uo) {
26228
- let ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, tn, Mn, ra, Ui;
26228
+ let Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, tn, Mn, ra, Ui;
26229
26229
  if (Cj = !uo, Cj && (uo = "<!-->"), typeof uo != "string" && !V8(uo))
26230
26230
  if (typeof uo.toString == "function") {
26231
26231
  if (uo = uo.toString(), typeof uo != "string")
@@ -26234,7 +26234,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26234
26234
  throw tm("toString is not a function");
26235
26235
  if (!s.isSupported)
26236
26236
  return uo;
26237
- if (zx || _j(ze), s.removed = [], typeof uo == "string" && (QD = !1), QD) {
26237
+ if (zx || _j(Ue), s.removed = [], typeof uo == "string" && (QD = !1), QD) {
26238
26238
  if (uo.nodeName) {
26239
26239
  const Cg = zi(uo.nodeName);
26240
26240
  if (!$n[Cg] || hc[Cg])
@@ -26269,12 +26269,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
26269
26269
  _j(uo), zx = !0;
26270
26270
  }, s.clearConfig = function() {
26271
26271
  CT = null, zx = !1;
26272
- }, s.isValidAttribute = function(uo, ze, tn) {
26272
+ }, s.isValidAttribute = function(uo, Ue, tn) {
26273
26273
  CT || _j({});
26274
- const Mn = zi(uo), ra = zi(ze);
26274
+ const Mn = zi(uo), ra = zi(Ue);
26275
26275
  return jG(Mn, ra, tn);
26276
- }, s.addHook = function(uo, ze) {
26277
- typeof ze == "function" && (zt[uo] = zt[uo] || [], gw(zt[uo], ze));
26276
+ }, s.addHook = function(uo, Ue) {
26277
+ typeof Ue == "function" && (zt[uo] = zt[uo] || [], gw(zt[uo], Ue));
26278
26278
  }, s.removeHook = function(uo) {
26279
26279
  if (zt[uo])
26280
26280
  return aI(zt[uo]);
@@ -26341,7 +26341,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26341
26341
  }, V4 = si({
26342
26342
  name: "Notification",
26343
26343
  factory: (t) => {
26344
- const s = Ko({
26344
+ const s = Yo({
26345
26345
  dom: bh(`<p>${P4(t.translationProvider(t.text))}</p>`),
26346
26346
  behaviours: vt([Pn.config({})])
26347
26347
  }), a = (W) => ({
@@ -26356,7 +26356,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26356
26356
  classes: ["tox-text"],
26357
26357
  innerHtml: `${W}%`
26358
26358
  }
26359
- }), d = Ko({
26359
+ }), d = Yo({
26360
26360
  dom: {
26361
26361
  tag: "div",
26362
26362
  classes: t.progress ? [
@@ -26400,7 +26400,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26400
26400
  t.icon.toArray(),
26401
26401
  t.level.toArray(),
26402
26402
  t.level.bind((W) => A.from(vR[W])).toArray()
26403
- ]), E = Ko(Ya.sketch({
26403
+ ]), E = Yo(Ya.sketch({
26404
26404
  dom: {
26405
26405
  tag: "button",
26406
26406
  classes: [
@@ -27627,7 +27627,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
27627
27627
  const d = {
27628
27628
  tag: "div",
27629
27629
  classes: [HR]
27630
- }, g = (F) => om(F, d, s.icons, l), p = () => A.some({ dom: d }), w = a ? t.iconContent.map(g).orThunk(p) : A.none(), C = t.checkMark, E = A.from(t.meta).fold(() => sm, (F) => mo(F, "style") ? wt(iL, F.style) : sm), D = t.htmlContent.fold(() => t.textContent.map(E), (F) => A.some(A$(F, [c3])));
27630
+ }, g = (F) => om(F, d, s.icons, l), p = () => A.some({ dom: d }), w = a ? t.iconContent.map(g).orThunk(p) : A.none(), C = t.checkMark, E = A.from(t.meta).fold(() => sm, (F) => mo(F, "style") ? xt(iL, F.style) : sm), D = t.htmlContent.fold(() => t.textContent.map(E), (F) => A.some(A$(F, [c3])));
27631
27631
  return {
27632
27632
  dom: $3(t.ariaLabel),
27633
27633
  optComponents: [
@@ -28299,7 +28299,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
28299
28299
  Gn.set(t[g][p], g <= s && p <= a);
28300
28300
  }, nA = (t) => Ce(t, (s) => et(s, ki)), oA = (t, s) => Sr(`${s}x${t}`), IL = {
28301
28301
  inserttable: (t, s) => {
28302
- const d = BL(s), g = A_(d, 10, 10), p = oA(0, 0), w = Ko({
28302
+ const d = BL(s), g = A_(d, 10, 10), p = oA(0, 0), w = Yo({
28303
28303
  dom: {
28304
28304
  tag: "span",
28305
28305
  classes: ["tox-insert-table-picker__label"]
@@ -29421,7 +29421,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29421
29421
  events: g,
29422
29422
  apis: p
29423
29423
  };
29424
- }, Yo = Ac({
29424
+ }, Xo = Ac({
29425
29425
  name: "FormField",
29426
29426
  configFields: EF(),
29427
29427
  partFields: AF(),
@@ -29448,7 +29448,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29448
29448
  var RF = tinymce.util.Tools.resolve("tinymce.html.Entities");
29449
29449
  const Zw = (t, s, a, l) => {
29450
29450
  const d = MF(t, s, a, l);
29451
- return Yo.sketch(d);
29451
+ return Xo.sketch(d);
29452
29452
  }, $F = (t, s) => Zw(t, s, [], []), MF = (t, s, a, l) => ({
29453
29453
  dom: jw(a),
29454
29454
  components: t.toArray().concat([s]),
@@ -29456,7 +29456,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29456
29456
  }), Kj = () => jw([]), jw = (t) => ({
29457
29457
  tag: "div",
29458
29458
  classes: ["tox-form__group"].concat(t)
29459
- }), xd = (t, s) => Yo.parts.label({
29459
+ }), xd = (t, s) => Xo.parts.label({
29460
29460
  dom: {
29461
29461
  tag: "label",
29462
29462
  classes: ["tox-label"]
@@ -29507,7 +29507,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29507
29507
  value: Re
29508
29508
  });
29509
29509
  }))
29510
- ], D = (W, Y) => et(Ca(W.element, ".tox-collection__item"), Y), N = Yo.parts.field({
29510
+ ], D = (W, Y) => et(Ca(W.element, ".tox-collection__item"), Y), N = Xo.parts.field({
29511
29511
  dom: {
29512
29512
  tag: "div",
29513
29513
  classes: ["tox-collection"].concat(t.columns !== 1 ? ["tox-collection--grid"] : ["tox-collection--list"])
@@ -29658,7 +29658,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29658
29658
  }, t.columns, t.presets, rf.CLOSE_ON_EXECUTE, Jn, s.providers), { movement: E_(t.columns, t.presets) })))),
29659
29659
  parts: { menu: Lv(!1, 1, t.presets) }
29660
29660
  }), LM = Ut("color-input-change"), FM = Ut("color-swatch-change"), Kw = Ut("color-picker-cancel"), HF = (t, s, a, l) => {
29661
- const d = Yo.parts.field({
29661
+ const d = Xo.parts.field({
29662
29662
  factory: M0,
29663
29663
  inputClasses: ["tox-textfield"],
29664
29664
  data: l,
@@ -29703,7 +29703,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29703
29703
  });
29704
29704
  }, "#ffffff") : D === "remove" ? p(N, "") : p(N, D);
29705
29705
  });
29706
- }, C = Ko(FF({
29706
+ }, C = Yo(FF({
29707
29707
  dom: {
29708
29708
  tag: "span",
29709
29709
  attributes: { "aria-label": s.providers.translate("Color swatch") }
@@ -29726,7 +29726,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29726
29726
  presets: "color",
29727
29727
  onItemAction: w
29728
29728
  }, s));
29729
- return Yo.sketch({
29729
+ return Xo.sketch({
29730
29730
  dom: {
29731
29731
  tag: "div",
29732
29732
  classes: ["tox-form__group"]
@@ -29748,12 +29748,12 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
29748
29748
  }), an(E, Ni, { name: t.name });
29749
29749
  }),
29750
29750
  Je(FM, (E, D) => {
29751
- Yo.getField(E).each((N) => {
29751
+ Xo.getField(E).each((N) => {
29752
29752
  Lt.setValue(N, D.event.value), io.getCurrent(E).each(wn.focus);
29753
29753
  });
29754
29754
  }),
29755
29755
  Je(Kw, (E, D) => {
29756
- Yo.getField(E).each((N) => {
29756
+ Xo.getField(E).each((N) => {
29757
29757
  io.getCurrent(E).each(wn.focus);
29758
29758
  });
29759
29759
  })
@@ -30361,13 +30361,13 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30361
30361
  validateOnLoad: !1
30362
30362
  }
30363
30363
  }), g = (F, W, Y, le, Re) => {
30364
- const be = t(ny + "range"), ge = Yo.parts.label({
30364
+ const be = t(ny + "range"), ge = Xo.parts.label({
30365
30365
  dom: {
30366
30366
  tag: "label",
30367
30367
  attributes: { "aria-label": le }
30368
30368
  },
30369
30369
  components: [Sr(Y)]
30370
- }), Ee = Yo.parts.field({
30370
+ }), Ee = Xo.parts.field({
30371
30371
  data: Re,
30372
30372
  factory: M0,
30373
30373
  inputAttributes: {
@@ -30385,7 +30385,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30385
30385
  }), ut = [
30386
30386
  ge,
30387
30387
  Ee
30388
- ], Xe = W !== "hex" ? [Yo.parts["aria-descriptor"]({ text: be })] : [], je = ut.concat(Xe);
30388
+ ], Xe = W !== "hex" ? [Xo.parts["aria-descriptor"]({ text: be })] : [], je = ut.concat(Xe);
30389
30389
  return {
30390
30390
  dom: {
30391
30391
  tag: "div",
@@ -30405,7 +30405,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30405
30405
  green: le,
30406
30406
  blue: Re
30407
30407
  });
30408
- }, C = Ko({
30408
+ }, C = Yo({
30409
30409
  dom: {
30410
30410
  tag: "div",
30411
30411
  classes: [s("rgba-preview")],
@@ -30461,10 +30461,10 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30461
30461
  attributes: { "aria-label": t("aria.color.picker") }
30462
30462
  },
30463
30463
  components: [
30464
- xn.field("red", Yo.sketch(g(I3, "red", kt.label, kt.description, 255))),
30465
- xn.field("green", Yo.sketch(g(I3, "green", Vn.label, Vn.description, 255))),
30466
- xn.field("blue", Yo.sketch(g(I3, "blue", zt.label, zt.description, 255))),
30467
- xn.field("hex", Yo.sketch(g(P$, "hex", En.label, En.description, "ffffff"))),
30464
+ xn.field("red", Xo.sketch(g(I3, "red", kt.label, kt.description, 255))),
30465
+ xn.field("green", Xo.sketch(g(I3, "green", Vn.label, Vn.description, 255))),
30466
+ xn.field("blue", Xo.sketch(g(I3, "blue", zt.label, zt.description, 255))),
30467
+ xn.field("hex", Xo.sketch(g(P$, "hex", En.label, En.description, "ffffff"))),
30468
30468
  C.asSpec()
30469
30469
  ],
30470
30470
  formBehaviours: vt([
@@ -30590,7 +30590,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30590
30590
  const g = H9(t, s, d.onValidHex, d.onInvalidHex), p = V9(t, s), w = (je) => (100 - je) / 100 * 360, C = (je) => 100 - je / 360 * 100, E = {
30591
30591
  paletteRgba: un(yd),
30592
30592
  paletteHue: un(0)
30593
- }, D = Ko(IA(t, s)), N = Ko(p.sketch({})), F = Ko(g.sketch({})), W = (je, pt, kt) => {
30593
+ }, D = Yo(IA(t, s)), N = Yo(p.sketch({})), F = Yo(g.sketch({})), W = (je, pt, kt) => {
30594
30594
  N.getOpt(je).each((Vn) => {
30595
30595
  p.setHue(Vn, kt);
30596
30596
  });
@@ -30724,7 +30724,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30724
30724
  name: "hex-valid",
30725
30725
  value: !1
30726
30726
  });
30727
- }, w = Ko(d.sketch({
30727
+ }, w = Yo(d.sketch({
30728
30728
  dom: {
30729
30729
  tag: "div",
30730
30730
  classes: [l("color-picker-container")],
@@ -30756,7 +30756,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30756
30756
  };
30757
30757
  var j9 = tinymce.util.Tools.resolve("tinymce.Resource");
30758
30758
  const xN = (t) => mo(t, "init"), CN = (t) => {
30759
- const s = eo(), a = Ko({ dom: { tag: t.tag } }), l = eo();
30759
+ const s = eo(), a = Yo({ dom: { tag: t.tag } }), l = eo();
30760
30760
  return {
30761
30761
  dom: {
30762
30762
  tag: "div",
@@ -30802,7 +30802,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30802
30802
  w(F, Y.files);
30803
30803
  }, w = (F, W) => {
30804
30804
  W && (Lt.setValue(F, SN(W, s)), an(F, Ni, { name: t.name }));
30805
- }, C = Ko({
30805
+ }, C = Yo({
30806
30806
  dom: {
30807
30807
  tag: "input",
30808
30808
  attributes: {
@@ -30881,7 +30881,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
30881
30881
  })
30882
30882
  ]
30883
30883
  }]
30884
- }), D = t.label.map((F) => xd(F, s)), N = Yo.parts.field({ factory: { sketch: E } });
30884
+ }), D = t.label.map((F) => xd(F, s)), N = Xo.parts.field({ factory: { sketch: E } });
30885
30885
  return Zw(D, N, ["tox-form__group--stretched"], []);
30886
30886
  }, _N = (t, s) => ({
30887
30887
  dom: {
@@ -31030,7 +31030,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31030
31030
  }
31031
31031
  })
31032
31032
  ])
31033
- }), D = Yo.parts.field({ factory: { sketch: E } });
31033
+ }), D = Xo.parts.field({ factory: { sketch: E } });
31034
31034
  return Zw(C, D, ["tox-form__group--stretched"], []);
31035
31035
  }, nH = (t) => new Promise((s, a) => {
31036
31036
  const l = () => {
@@ -31054,13 +31054,13 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31054
31054
  const l = Vr(t), d = Vs(t);
31055
31055
  return Math.min(l / s, d / a, 1);
31056
31056
  }, sH = (t, s) => {
31057
- const a = un(s.getOr({ url: "" })), l = Ko({
31057
+ const a = un(s.getOr({ url: "" })), l = Yo({
31058
31058
  dom: {
31059
31059
  tag: "img",
31060
31060
  classes: ["tox-imagepreview__image"],
31061
31061
  attributes: s.map((C) => ({ src: C.url })).getOr({})
31062
31062
  }
31063
- }), d = Ko({
31063
+ }), d = Yo({
31064
31064
  dom: {
31065
31065
  tag: "div",
31066
31066
  classes: ["tox-imagepreview__container"],
@@ -31173,7 +31173,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31173
31173
  components: [Sr(a.translate(t))],
31174
31174
  behaviours: vt([Pn.config({})])
31175
31175
  }), zu = Ut("update-menu-text"), s1 = Ut("update-menu-icon"), XA = (t, s, a) => {
31176
- const l = un(me), d = t.text.map((F) => Ko($N(F, s, a.providers))), g = t.icon.map((F) => Ko(o1(F, a.providers.icons))), p = (F, W) => {
31176
+ const l = un(me), d = t.text.map((F) => Yo($N(F, s, a.providers))), g = t.icon.map((F) => Yo(o1(F, a.providers.icons))), p = (F, W) => {
31177
31177
  const Y = Lt.getValue(F);
31178
31178
  return wn.focus(Y), an(Y, "keydown", { raw: W.event.raw }), wd.close(Y), A.some(!0);
31179
31179
  }, w = t.role.fold(() => ({}), (F) => ({ role: F })), C = t.tooltip.fold(() => ({}), (F) => {
@@ -31186,7 +31186,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31186
31186
  tag: "div",
31187
31187
  classes: [`${s}__select-chevron`]
31188
31188
  }, a.providers.icons), D = Ut("common-button-display-events");
31189
- return Ko(wd.sketch({
31189
+ return Yo(wd.sketch({
31190
31190
  ...t.uid ? { uid: t.uid } : {},
31191
31191
  ...w,
31192
31192
  dom: {
@@ -31279,7 +31279,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31279
31279
  DC()(F, W - 10);
31280
31280
  }
31281
31281
  }),
31282
- fetch: (F) => Qc.nu(wt(t.fetch, F))
31282
+ fetch: (F) => Qc.nu(xt(t.fetch, F))
31283
31283
  })).asSpec();
31284
31284
  }, aH = (t) => ee(t), MN = (t) => t.type === "separator", cH = (t) => mo(t, "getSubmenuItems"), NN = { type: "separator" }, lH = (t, s) => {
31285
31285
  const a = Lo(t, (l, d) => aH(d) ? d === "" ? l : d === "|" ? l.length > 0 && !MN(l[l.length - 1]) ? l.concat([NN]) : l : mo(s, d.toLowerCase()) ? l.concat([s[d.toLowerCase()]]) : l : l.concat([d]), []);
@@ -31342,7 +31342,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31342
31342
  text: d.text,
31343
31343
  getSubmenuItems: () => LN(t, s, d.items, l)
31344
31344
  }), QA = (t, s) => Js(t, (a) => JA(a) ? fn(a.value === s, a) : QA(a.items, s)), eO = (t, s, a) => {
31345
- const l = s.shared.providers, d = a.bind((C) => QA(t.items, C)).orThunk(() => br(t.items).filter(JA)), g = t.label.map((C) => xd(C, l)), p = Yo.parts.field({
31345
+ const l = s.shared.providers, d = a.bind((C) => QA(t.items, C)).orThunk(() => br(t.items).filter(JA)), g = t.label.map((C) => xd(C, l)), p = Xo.parts.field({
31346
31346
  dom: {},
31347
31347
  factory: {
31348
31348
  sketch: (C) => XA({
@@ -31380,7 +31380,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31380
31380
  },
31381
31381
  components: [p]
31382
31382
  };
31383
- return Yo.sketch({
31383
+ return Xo.sketch({
31384
31384
  dom: {
31385
31385
  tag: "div",
31386
31386
  classes: ["tox-form__group"]
@@ -31392,10 +31392,10 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31392
31392
  fieldBehaviours: vt([yn.config({
31393
31393
  disabled: oe(!t.enabled),
31394
31394
  onDisabled: (C) => {
31395
- Yo.getField(C).each(yn.disable);
31395
+ Xo.getField(C).each(yn.disable);
31396
31396
  },
31397
31397
  onEnabled: (C) => {
31398
- Yo.getField(C).each(yn.enable);
31398
+ Xo.getField(C).each(yn.enable);
31399
31399
  }
31400
31400
  })])
31401
31401
  });
@@ -31453,7 +31453,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31453
31453
  const l = et(t.items, (C) => ({
31454
31454
  text: s.translate(C.text),
31455
31455
  value: C.value
31456
- })), d = t.label.map((C) => xd(C, s)), g = Yo.parts.field({
31456
+ })), d = t.label.map((C) => xd(C, s)), g = Xo.parts.field({
31457
31457
  dom: {},
31458
31458
  ...a.map((C) => ({ data: C })).getOr({}),
31459
31459
  selectAttributes: { size: t.size },
@@ -31479,7 +31479,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31479
31479
  p.toArray()
31480
31480
  ])
31481
31481
  };
31482
- return Yo.sketch({
31482
+ return Xo.sketch({
31483
31483
  dom: {
31484
31484
  tag: "div",
31485
31485
  classes: ["tox-form__group"]
@@ -31492,10 +31492,10 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31492
31492
  yn.config({
31493
31493
  disabled: () => !t.enabled || s.isDisabled(),
31494
31494
  onDisabled: (C) => {
31495
- Yo.getField(C).each(yn.disable);
31495
+ Xo.getField(C).each(yn.disable);
31496
31496
  },
31497
31497
  onEnabled: (C) => {
31498
- Yo.getField(C).each(yn.enable);
31498
+ Xo.getField(C).each(yn.enable);
31499
31499
  }
31500
31500
  }),
31501
31501
  _a()
@@ -31512,7 +31512,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31512
31512
  Lt
31513
31513
  ])
31514
31514
  ]), hH = (t, s, a) => Cs(t, s, a).bind(io.getCurrent), FN = (t, s) => Ec({
31515
- factory: Yo,
31515
+ factory: Xo,
31516
31516
  name: t,
31517
31517
  overrides: (a) => ({
31518
31518
  fieldBehaviours: vt([Hn("coupled-input-behaviour", [Je(Zg(), (l) => {
@@ -31660,7 +31660,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31660
31660
  classes: ["tox-form__group"]
31661
31661
  },
31662
31662
  components: N
31663
- }), w = (N) => Yo.parts.field({
31663
+ }), w = (N) => Xo.parts.field({
31664
31664
  factory: M0,
31665
31665
  inputClasses: ["tox-textfield"],
31666
31666
  inputBehaviours: vt([
@@ -31684,10 +31684,10 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31684
31684
  },
31685
31685
  components: [Sr(s.translate(N))]
31686
31686
  }), E = Ii.parts.field1(p([
31687
- Yo.parts.label(C("Width")),
31687
+ Xo.parts.label(C("Width")),
31688
31688
  w(!0)
31689
31689
  ])), D = Ii.parts.field2(p([
31690
- Yo.parts.label(C("Height")),
31690
+ Xo.parts.label(C("Height")),
31691
31691
  w(!1)
31692
31692
  ]));
31693
31693
  return Ii.sketch({
@@ -31724,10 +31724,10 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31724
31724
  yn.config({
31725
31725
  disabled: () => !t.enabled || s.isDisabled(),
31726
31726
  onDisabled: (N) => {
31727
- Ii.getField1(N).bind(Yo.getField).each(yn.disable), Ii.getField2(N).bind(Yo.getField).each(yn.disable), Ii.getLock(N).each(yn.disable);
31727
+ Ii.getField1(N).bind(Xo.getField).each(yn.disable), Ii.getField2(N).bind(Xo.getField).each(yn.disable), Ii.getLock(N).each(yn.disable);
31728
31728
  },
31729
31729
  onEnabled: (N) => {
31730
- Ii.getField1(N).bind(Yo.getField).each(yn.enable), Ii.getField2(N).bind(Yo.getField).each(yn.enable), Ii.getLock(N).each(yn.enable);
31730
+ Ii.getField1(N).bind(Xo.getField).each(yn.enable), Ii.getField2(N).bind(Xo.getField).each(yn.enable), Ii.getLock(N).each(yn.enable);
31731
31731
  }
31732
31732
  }),
31733
31733
  _a(),
@@ -31855,7 +31855,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31855
31855
  })).toArray(), g = t.placeholder.fold(oe({}), (W) => ({ placeholder: s.translate(W) })), p = t.inputMode.fold(oe({}), (W) => ({ inputmode: W })), w = {
31856
31856
  ...g,
31857
31857
  ...p
31858
- }, C = Yo.parts.field({
31858
+ }, C = Xo.parts.field({
31859
31859
  tag: t.multiline === !0 ? "textarea" : "input",
31860
31860
  ...t.data.map((W) => ({ data: W })).getOr({}),
31861
31861
  inputAttributes: w,
@@ -31876,10 +31876,10 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
31876
31876
  yn.config({
31877
31877
  disabled: () => t.disabled || s.isDisabled(),
31878
31878
  onDisabled: (W) => {
31879
- Yo.getField(W).each(yn.disable);
31879
+ Xo.getField(W).each(yn.disable);
31880
31880
  },
31881
31881
  onEnabled: (W) => {
31882
- Yo.getField(W).each(yn.enable);
31882
+ Xo.getField(W).each(yn.enable);
31883
31883
  }
31884
31884
  }),
31885
31885
  _a()
@@ -32018,8 +32018,8 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32018
32018
  return Jl({
32019
32019
  isExpanded: () => s.get() === !0,
32020
32020
  isCollapsed: () => s.get() === !1,
32021
- setCollapsed: wt(s.set, !1),
32022
- setExpanded: wt(s.set, !0),
32021
+ setCollapsed: xt(s.set, !1),
32022
+ setExpanded: xt(s.set, !0),
32023
32023
  readState: a
32024
32024
  });
32025
32025
  }
@@ -32741,7 +32741,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32741
32741
  }) : s === "submit" ? go(a, Gw) : s === "cancel" ? go(a, Jp) : console.error("Unknown button type: ", s);
32742
32742
  }, HH = (t, s) => s === "menu", VH = (t, s) => s === "custom" || s === "cancel" || s === "submit", zH = (t, s) => s === "togglebutton", UH = (t, s) => {
32743
32743
  var a, l;
32744
- const d = t.icon.map((ge) => o1(ge, s.icons)).map(Ko), g = (ge) => {
32744
+ const d = t.icon.map((ge) => o1(ge, s.icons)).map(Yo), g = (ge) => {
32745
32745
  an(ge, ug, {
32746
32746
  name: t.name,
32747
32747
  value: {
@@ -32783,7 +32783,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32783
32783
  search: A.none(),
32784
32784
  onSetup: (w) => (w.setEnabled(t.enabled), me),
32785
32785
  fetch: TH(d.items, l, a)
32786
- }, p = Ko(ax(g, "tox-tbtn", a, A.none()));
32786
+ }, p = Yo(ax(g, "tox-tbtn", a, A.none()));
32787
32787
  return p.asSpec();
32788
32788
  } else if (VH(t, s)) {
32789
32789
  const l = fB(t.name, s), d = {
@@ -32798,7 +32798,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32798
32798
  }
32799
32799
  }, WH = (t, s) => {
32800
32800
  const a = fB(t.name, "custom");
32801
- return $F(A.none(), Yo.parts.field({
32801
+ return $F(A.none(), Xo.parts.field({
32802
32802
  factory: Ya,
32803
32803
  ...fO(t, A.some(a), s, [
32804
32804
  X_(""),
@@ -32933,10 +32933,10 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32933
32933
  onItemExecute: (ge, Ee, ut, Xe) => {
32934
32934
  g(ge), an(ge, Ni, { name: t.name });
32935
32935
  }
32936
- }, w = Yo.parts.field({
32936
+ }, w = Xo.parts.field({
32937
32937
  ...p,
32938
32938
  factory: lB
32939
- }), C = t.label.map((ge) => xd(ge, d)), D = Ko(((ge, Ee, ut = ge, Xe = ge) => om(ut, {
32939
+ }), C = t.label.map((ge) => xd(ge, d)), D = Yo(((ge, Ee, ut = ge, Xe = ge) => om(ut, {
32940
32940
  tag: "div",
32941
32941
  classes: [
32942
32942
  "tox-icon",
@@ -32947,13 +32947,13 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32947
32947
  "aria-live": "polite",
32948
32948
  ...Ee.fold(() => ({}), (je) => ({ id: je }))
32949
32949
  }
32950
- }, d.icons))("invalid", A.some(hO), "warning")), N = Ko({
32950
+ }, d.icons))("invalid", A.some(hO), "warning")), N = Yo({
32951
32951
  dom: {
32952
32952
  tag: "div",
32953
32953
  classes: ["tox-control-wrap__status-icon-wrap"]
32954
32954
  },
32955
32955
  components: [D.asSpec()]
32956
- }), F = a.getUrlPicker(t.filetype), W = Ut("browser.url.event"), Y = Ko({
32956
+ }), F = a.getUrlPicker(t.filetype), W = Ut("browser.url.event"), Y = Yo({
32957
32957
  dom: {
32958
32958
  tag: "div",
32959
32959
  classes: ["tox-control-wrap"]
@@ -32963,7 +32963,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32963
32963
  N.asSpec()
32964
32964
  ],
32965
32965
  behaviours: vt([yn.config({ disabled: () => !t.enabled || d.isDisabled() })])
32966
- }), le = Ko(mB({
32966
+ }), le = Yo(mB({
32967
32967
  name: t.name,
32968
32968
  icon: A.some("browse"),
32969
32969
  text: t.picker_text.or(t.label).getOr(""),
@@ -32993,17 +32993,17 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
32993
32993
  });
32994
32994
  });
32995
32995
  };
32996
- return Yo.sketch({
32996
+ return Xo.sketch({
32997
32997
  dom: Kj(),
32998
32998
  components: C.toArray().concat([Re()]),
32999
32999
  fieldBehaviours: vt([
33000
33000
  yn.config({
33001
33001
  disabled: () => !t.enabled || d.isDisabled(),
33002
33002
  onDisabled: (ge) => {
33003
- Yo.getField(ge).each(yn.disable), le.getOpt(ge).each(yn.disable);
33003
+ Xo.getField(ge).each(yn.disable), le.getOpt(ge).each(yn.disable);
33004
33004
  },
33005
33005
  onEnabled: (ge) => {
33006
- Yo.getField(ge).each(yn.enable), le.getOpt(ge).each(yn.enable);
33006
+ Xo.getField(ge).each(yn.enable), le.getOpt(ge).each(yn.enable);
33007
33007
  }
33008
33008
  }),
33009
33009
  _a(),
@@ -33059,7 +33059,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
33059
33059
  }, eV = (t, s) => {
33060
33060
  t.dom.checked = s;
33061
33061
  }, vB = (t) => t.dom.checked, yB = (t, s, a) => {
33062
- const l = (C) => (C.element.dom.click(), A.some(!0)), d = Yo.parts.field({
33062
+ const l = (C) => (C.element.dom.click(), A.some(!0)), d = Xo.parts.field({
33063
33063
  factory: { sketch: Nn },
33064
33064
  dom: {
33065
33065
  tag: "input",
@@ -33090,7 +33090,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
33090
33090
  an(C, Ni, { name: t.name });
33091
33091
  })])
33092
33092
  ])
33093
- }), g = Yo.parts.label({
33093
+ }), g = Xo.parts.label({
33094
33094
  dom: {
33095
33095
  tag: "span",
33096
33096
  classes: ["tox-checkbox__label"]
@@ -33103,7 +33103,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
33103
33103
  "tox-icon",
33104
33104
  "tox-checkbox-icon__" + C
33105
33105
  ]
33106
- }, s.icons), w = Ko({
33106
+ }, s.icons), w = Yo({
33107
33107
  dom: {
33108
33108
  tag: "div",
33109
33109
  classes: ["tox-checkbox__icons"]
@@ -33113,7 +33113,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
33113
33113
  p("unchecked")
33114
33114
  ]
33115
33115
  });
33116
- return Yo.sketch({
33116
+ return Xo.sketch({
33117
33117
  dom: {
33118
33118
  tag: "label",
33119
33119
  classes: ["tox-checkbox"]
@@ -33581,7 +33581,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
33581
33581
  }, _V = (t) => et(Qn(t, VB), CV), _O = (t) => et(Qn(t, SO), SV), zB = (t) => yV("h1,h2,h3,h4,h5,h6,a:not([href])", t), kV = (t) => NB(t.title).length > 0, TV = { find: (t) => {
33582
33582
  const s = zB(t);
33583
33583
  return Qn(_V(s).concat(_O(s)), kV);
33584
- } }, gk = "tinymce-url-history", kO = 5, UB = (t) => ee(t) && /^https?/.test(t), hk = (t) => Gt(t) && t.length <= kO && vn(t, UB), WB = (t) => Ue(t) && Jo(t, (s) => !hk(s)).isNone(), bx = () => {
33584
+ } }, gk = "tinymce-url-history", kO = 5, UB = (t) => ee(t) && /^https?/.test(t), hk = (t) => Gt(t) && t.length <= kO && vn(t, UB), WB = (t) => ze(t) && Jo(t, (s) => !hk(s)).isNone(), bx = () => {
33585
33585
  const t = Kp.getItem(gk);
33586
33586
  if (t === null)
33587
33587
  return {};
@@ -33617,7 +33617,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
33617
33617
  const g = (w, C) => {
33618
33618
  if (!ee(w))
33619
33619
  throw new Error("Expected value to be string");
33620
- if (C !== void 0 && !Ue(C))
33620
+ if (C !== void 0 && !ze(C))
33621
33621
  throw new Error("Expected meta to be a object");
33622
33622
  d({
33623
33623
  value: w,
@@ -34878,7 +34878,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
34878
34878
  });
34879
34879
  });
34880
34880
  }, Iz = (t, s, a, l) => {
34881
- const d = Ko(c1.sketch({
34881
+ const d = Yo(c1.sketch({
34882
34882
  fetch: () => Qc.nu((g) => {
34883
34883
  g(OP(t.overflowGroups.get()));
34884
34884
  }),
@@ -35255,7 +35255,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
35255
35255
  au("onHide")
35256
35256
  ]), tD = (t) => qs("view", IP, t), Zz = (t, s) => {
35257
35257
  var a, l;
35258
- const d = t.type === "togglebutton", g = t.icon.map((Ee) => o1(Ee, s.icons)).map(Ko), w = (Ee) => {
35258
+ const d = t.type === "togglebutton", g = t.icon.map((Ee) => o1(Ee, s.icons)).map(Yo), w = (Ee) => {
35259
35259
  const ut = (pt) => {
35260
35260
  g.map((kt) => kt.getOpt(Ee).each((Vn) => {
35261
35261
  Pn.set(Vn, [o1(pt, s.icons)]);
@@ -35490,12 +35490,12 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
35490
35490
  },
35491
35491
  toggleToolbarDrawer: (g) => {
35492
35492
  Xa.getPart(g, t, "toolbar").each((p) => {
35493
- qo(p.getApis().toggle, (w) => w(p));
35493
+ Ko(p.getApis().toggle, (w) => w(p));
35494
35494
  });
35495
35495
  },
35496
35496
  toggleToolbarDrawerWithoutFocusing: (g) => {
35497
35497
  Xa.getPart(g, t, "toolbar").each((p) => {
35498
- qo(p.getApis().toggleWithoutFocusing, (w) => w(p));
35498
+ Ko(p.getApis().toggleWithoutFocusing, (w) => w(p));
35499
35499
  });
35500
35500
  },
35501
35501
  isToolbarDrawerToggled: (g) => Xa.getPart(g, t, "toolbar").bind((p) => A.from(p.getApis().isOpen).map((w) => w(p))).getOr(!1),
@@ -35802,7 +35802,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
35802
35802
  fU(s, a),
35803
35803
  gU(s, a)
35804
35804
  ]).then();
35805
- }, ZP = (t, s) => hU(t, s).then(dU(s), mU(s, "Skin could not be loaded")), pU = wt(ZP, !1), jP = wt(ZP, !0), Eh = (t, s, a) => t.translate([
35805
+ }, ZP = (t, s) => hU(t, s).then(dU(s), mU(s, "Skin could not be loaded")), pU = xt(ZP, !1), jP = xt(ZP, !0), Eh = (t, s, a) => t.translate([
35806
35806
  s,
35807
35807
  t.translate(a)
35808
35808
  ]), iD = (t, s) => {
@@ -36169,7 +36169,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
36169
36169
  ]
36170
36170
  }
36171
36171
  });
36172
- }, le = Ko(Y((ge) => D(!1, ge), "minus", "Decrease font size", [])), Re = Ko(Y((ge) => N(!1, ge), "plus", "Increase font size", [])), be = Ko({
36172
+ }, le = Yo(Y((ge) => D(!1, ge), "minus", "Decrease font size", [])), Re = Yo(Y((ge) => N(!1, ge), "plus", "Increase font size", [])), be = Yo({
36173
36173
  dom: {
36174
36174
  tag: "div",
36175
36175
  classes: ["tox-input-wrapper"]
@@ -36563,7 +36563,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
36563
36563
  "aria-label": s.translate(a),
36564
36564
  title: s.translate(a)
36565
36565
  })).getOr({}), bD = Ut("focus-button"), Fk = (t, s, a, l, d) => {
36566
- const g = s.map((w) => Ko($N(w, "tox-tbtn", d))), p = t.map((w) => Ko(o1(w, d.icons)));
36566
+ const g = s.map((w) => Yo($N(w, "tox-tbtn", d))), p = t.map((w) => Yo(o1(w, d.icons)));
36567
36567
  return {
36568
36568
  dom: {
36569
36569
  tag: "button",
@@ -37173,13 +37173,13 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
37173
37173
  }));
37174
37174
  return b6(g, a, [gy(t, s)]);
37175
37175
  }, hW = (t) => t.type === "contextformtogglebutton", D6 = (t, s, a) => hW(s) ? gW(t, s, a) : O6(t, s, a), wD = (t, s, a) => {
37176
- const l = et(s, (p) => Ko(D6(t, p, a)));
37176
+ const l = et(s, (p) => Yo(D6(t, p, a)));
37177
37177
  return {
37178
37178
  asSpecs: () => et(l, (p) => p.asSpec()),
37179
37179
  findPrimary: (p) => Js(s, (w, C) => w.primary ? A.from(l[C]).bind((E) => E.getOpt(p)).filter(Fe(yn.isDisabled)) : A.none())
37180
37180
  };
37181
37181
  }, xD = (t, s) => {
37182
- const a = t.label.fold(() => ({}), (g) => ({ "aria-label": g })), l = Ko(M0.sketch({
37182
+ const a = t.label.fold(() => ({}), (g) => ({ "aria-label": g })), l = Yo(M0.sketch({
37183
37183
  inputClasses: [
37184
37184
  "tox-toolbar-textfield",
37185
37185
  "tox-toolbar-nav-js"
@@ -38709,7 +38709,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
38709
38709
  },
38710
38710
  mustSnap: !0
38711
38711
  };
38712
- }, i1 = (t) => Ko(Ya.sketch({
38712
+ }, i1 = (t) => Yo(Ya.sketch({
38713
38713
  dom: {
38714
38714
  tag: "div",
38715
38715
  classes: ["tox-selector"]
@@ -39035,12 +39035,12 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
39035
39035
  })()
39036
39036
  };
39037
39037
  }, w8 = (t, s) => s.get().getOrDie(`UI for ${t} has not been rendered`), HZ = (t, s) => {
39038
- const a = t.inline, l = a ? uW : k6, d = Ew(t) ? uP : yx, g = dW(), p = eo(), w = eo(), C = eo(), F = vi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = e3(t), Y = Mv(t), le = Ko({
39038
+ const a = t.inline, l = a ? uW : k6, d = Ew(t) ? uP : yx, g = dW(), p = eo(), w = eo(), C = eo(), F = vi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = e3(t), Y = Mv(t), le = Yo({
39039
39039
  dom: {
39040
39040
  tag: "div",
39041
39041
  classes: ["tox-anchorbar"]
39042
39042
  }
39043
- }), Re = Ko({
39043
+ }), Re = Yo({
39044
39044
  dom: {
39045
39045
  tag: "div",
39046
39046
  classes: ["tox-bottom-anchorbar"]
@@ -39701,7 +39701,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
39701
39701
  ta("onCancel", me),
39702
39702
  ta("onClose", me),
39703
39703
  ta("onMessage", me)
39704
- ]), bt = (t) => qs("dialog", rt, t), It = (t) => Ue(t) ? [t].concat(Ce(ji(t), It)) : Gt(t) ? Ce(t, It) : [], We = (t) => ee(t.type) && ee(t.name), He = {
39704
+ ]), bt = (t) => qs("dialog", rt, t), It = (t) => ze(t) ? [t].concat(Ce(ji(t), It)) : Gt(t) ? Ce(t, It) : [], We = (t) => ee(t.type) && ee(t.name), He = {
39705
39705
  checkbox: T8,
39706
39706
  colorinput: JZ,
39707
39707
  colorpicker: tj,
@@ -39805,7 +39805,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
39805
39805
  });
39806
39806
  }), s.length > 0 ? Ln.error(s) : Ln.value(a);
39807
39807
  }, Kt = (t, s, a) => {
39808
- const l = Ko(ty.sketch((d) => ({
39808
+ const l = Yo(ty.sketch((d) => ({
39809
39809
  dom: {
39810
39810
  tag: "div",
39811
39811
  classes: ["tox-form"].concat(t.classes)
@@ -40436,7 +40436,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40436
40436
  dom: bh('<div class="tox-dialog__header"></div>'),
40437
40437
  components: p
40438
40438
  });
40439
- }, xt = (t, s, a) => Le({
40439
+ }, Ct = (t, s, a) => Le({
40440
40440
  title: a.shared.providers.translate(t),
40441
40441
  draggable: a.dialog.isDraggableModal()
40442
40442
  }, s, a.shared.providers), ft = (t, s, a, l) => ({
@@ -40608,7 +40608,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40608
40608
  }, Fr = (t, s, a) => {
40609
40609
  const l = (d, g) => {
40610
40610
  const p = et(g.buttons, (C) => {
40611
- const E = Ko(Ve(C, a));
40611
+ const E = Yo(Ve(C, a));
40612
40612
  return {
40613
40613
  name: C.name,
40614
40614
  align: C.align,
@@ -40703,7 +40703,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40703
40703
  };
40704
40704
  return W;
40705
40705
  }, yj = (t, s, a) => {
40706
- const l = Ut("dialog"), d = t.internalDialog, g = xt(d.title, l, a), p = un(d.size), w = Ja(p.get()).toArray(), C = (ge, Ee) => (p.set(Ee.internalDialog.size), h1(Ee.internalDialog.size, ge), A.some(Ee)), E = Lx({
40706
+ const l = Ut("dialog"), d = t.internalDialog, g = Ct(d.title, l, a), p = un(d.size), w = Ja(p.get()).toArray(), C = (ge, Ee) => (p.set(Ee.internalDialog.size), h1(Ee.internalDialog.size, ge), A.some(Ee)), E = Lx({
40707
40707
  body: d.body,
40708
40708
  initialData: d.initialData
40709
40709
  }, l, a), D = pT(d.buttons), N = KD(D), F = fn(D.length !== 0, Td({ buttons: D }, l, a)), W = to(() => be, sn(() => le, a.shared.providers, s), a.shared.getSink), Y = {
@@ -40739,13 +40739,13 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40739
40739
  instanceApi: be
40740
40740
  };
40741
40741
  }, XD = (t, s, a, l = !1, d) => {
40742
- const g = Ut("dialog"), p = Ut("dialog-label"), w = Ut("dialog-content"), C = t.internalDialog, E = un(C.size), D = Ja(E.get()).toArray(), N = (je, pt) => (E.set(pt.internalDialog.size), h1(pt.internalDialog.size, je), d(), A.some(pt)), F = Ko(Ne({
40742
+ const g = Ut("dialog"), p = Ut("dialog-label"), w = Ut("dialog-content"), C = t.internalDialog, E = un(C.size), D = Ja(E.get()).toArray(), N = (je, pt) => (E.set(pt.internalDialog.size), h1(pt.internalDialog.size, je), d(), A.some(pt)), F = Yo(Ne({
40743
40743
  title: C.title,
40744
40744
  draggable: !0
40745
- }, g, p, a.shared.providers)), W = Ko(vg({
40745
+ }, g, p, a.shared.providers)), W = Yo(vg({
40746
40746
  body: C.body,
40747
40747
  initialData: C.initialData
40748
- }, g, w, a, l)), Y = pT(C.buttons), le = KD(Y), Re = fn(Y.length !== 0, Ko(Il({ buttons: Y }, g, a))), be = to(() => Xe, {
40748
+ }, g, w, a, l)), Y = pT(C.buttons), le = KD(Y), Re = fn(Y.length !== 0, Yo(Il({ buttons: Y }, g, a))), be = to(() => Xe, {
40749
40749
  onBlock: (je) => {
40750
40750
  mm.block(Ee, (pt, kt) => {
40751
40751
  const Vn = F.getOpt(Ee).map((zt) => Vs(zt.element));
@@ -40864,7 +40864,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40864
40864
  "close",
40865
40865
  "block",
40866
40866
  "unblock"
40867
- ], RG = (t) => Ue(t) && rq.indexOf(t.mceAction) !== -1, aq = (t) => !RG(t) && Ue(t) && mo(t, "mceAction"), cq = (t, s, a) => {
40867
+ ], RG = (t) => ze(t) && rq.indexOf(t.mceAction) !== -1, aq = (t) => !RG(t) && ze(t) && mo(t, "mceAction"), cq = (t, s, a) => {
40868
40868
  switch (a.mceAction) {
40869
40869
  case "insertContent":
40870
40870
  t.insertContent(a.content);
@@ -40887,7 +40887,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40887
40887
  break;
40888
40888
  }
40889
40889
  }, lq = (t, s, a, l) => {
40890
- const d = Ut("dialog"), g = xt(t.title, d, l), p = xy(t), w = t.buttons.bind((Ee) => Ee.length === 0 ? A.none() : A.some(Td({ buttons: Ee }, d, l))), C = vj(() => ge, sn(() => be, l.shared.providers, s)), E = {
40890
+ const d = Ut("dialog"), g = Ct(t.title, d, l), p = xy(t), w = t.buttons.bind((Ee) => Ee.length === 0 ? A.none() : A.some(Td({ buttons: Ee }, d, l))), C = vj(() => ge, sn(() => be, l.shared.providers, s)), E = {
40891
40891
  ...t.height.fold(() => ({}), (Ee) => ({
40892
40892
  height: Ee + "px",
40893
40893
  "max-height": Ee + "px"
@@ -40944,7 +40944,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40944
40944
  return { open: (l, d) => {
40945
40945
  const g = () => {
40946
40946
  jr.hide(E), d();
40947
- }, p = Ko(uk({
40947
+ }, p = Yo(uk({
40948
40948
  name: "close-alert",
40949
40949
  text: "OK",
40950
40950
  primary: !0,
@@ -40973,7 +40973,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
40973
40973
  return { open: (l, d) => {
40974
40974
  const g = (F) => {
40975
40975
  jr.hide(D), d(F);
40976
- }, p = Ko(uk({
40976
+ }, p = Yo(uk({
40977
40977
  name: "yes",
40978
40978
  text: "Yes",
40979
40979
  primary: !0,
@@ -41216,7 +41216,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41216
41216
  }, ce = (i) => {
41217
41217
  const m = typeof i;
41218
41218
  return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ve(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
41219
- }, $e = (i) => (m) => ce(m) === i, ye = (i) => (m) => typeof m === i, Q = (i) => (m) => i === m, De = $e("string"), ee = $e("object"), Ue = $e("array"), Ct = Q(null), Gt = ye("boolean"), Sn = Q(void 0), zn = (i) => i == null, Uo = (i) => !zn(i), ir = ye("function"), $o = ye("number"), Mt = () => {
41219
+ }, $e = (i) => (m) => ce(m) === i, ye = (i) => (m) => typeof m === i, Q = (i) => (m) => i === m, De = $e("string"), ee = $e("object"), ze = $e("array"), wt = Q(null), Gt = ye("boolean"), Sn = Q(void 0), zn = (i) => i == null, Uo = (i) => !zn(i), ir = ye("function"), $o = ye("number"), Mt = () => {
41220
41220
  }, ur = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), me = (i) => () => i, _t = (i) => i, Ea = (i, m) => i === m;
41221
41221
  function Xn(i, ...m) {
41222
41222
  return (...h) => {
@@ -41226,7 +41226,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41226
41226
  }
41227
41227
  const oe = (i) => (m) => !i(m), Nn = (i) => () => {
41228
41228
  throw new Error(i);
41229
- }, ns = (i) => i(), wt = me(!1), Fe = me(!0);
41229
+ }, ns = (i) => i(), xt = me(!1), Fe = me(!0);
41230
41230
  class ie {
41231
41231
  constructor(m, h) {
41232
41232
  this.tag = m, this.value = h;
@@ -41357,7 +41357,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41357
41357
  break;
41358
41358
  }
41359
41359
  return ie.none();
41360
- }, z = (i, m) => gt(i, m, wt), Qa = (i, m) => {
41360
+ }, z = (i, m) => gt(i, m, xt), Qa = (i, m) => {
41361
41361
  for (let h = 0, v = i.length; h < v; h++) {
41362
41362
  const _ = i[h];
41363
41363
  if (m(_, h))
@@ -41367,7 +41367,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41367
41367
  }, Qn = (i) => {
41368
41368
  const m = [];
41369
41369
  for (let h = 0, v = i.length; h < v; ++h) {
41370
- if (!Ue(i[h]))
41370
+ if (!ze(i[h]))
41371
41371
  throw new Error("Arr.flatten item " + h + " was not an array, input: " + i);
41372
41372
  Ge.apply(m, i[h]);
41373
41373
  }
@@ -41449,7 +41449,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41449
41449
  }, Jo = Object.getPrototypeOf, ji = (i) => ui("HTMLElement", i), ht = (i) => {
41450
41450
  const m = yr("ownerDocument.defaultView", i);
41451
41451
  return ee(i) && (ji(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(Jo(i).constructor.name));
41452
- }, mo = 8, Tr = 9, Aa = 11, Nc = 1, Oa = 3, Qo = (i) => i.dom.nodeName.toLowerCase(), ec = (i) => i.dom.nodeType, pc = (i) => (m) => ec(m) === i, qo = (i) => ec(i) === mo || Qo(i) === "#comment", fn = (i) => Er(i) && ht(i.dom), Er = pc(Nc), Bc = pc(Oa), Ll = pc(Tr), di = pc(Aa), wr = (i) => (m) => Er(m) && Qo(m) === i, mr = (i, m, h) => {
41452
+ }, mo = 8, Tr = 9, Aa = 11, Nc = 1, Oa = 3, Qo = (i) => i.dom.nodeName.toLowerCase(), ec = (i) => i.dom.nodeType, pc = (i) => (m) => ec(m) === i, Ko = (i) => ec(i) === mo || Qo(i) === "#comment", fn = (i) => Er(i) && ht(i.dom), Er = pc(Nc), Bc = pc(Oa), Ll = pc(Tr), di = pc(Aa), wr = (i) => (m) => Er(m) && Qo(m) === i, mr = (i, m, h) => {
41453
41453
  if (De(h) || Gt(h) || $o(h))
41454
41454
  i.setAttribute(m, h + "");
41455
41455
  else
@@ -41523,7 +41523,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41523
41523
  const h = i.dom, v = m.dom;
41524
41524
  return h === v ? !1 : h.contains(v);
41525
41525
  }, Ad = Gr, tc = (i) => _e.fromDom(i.dom.ownerDocument), Ki = (i) => Ll(i) ? i : tc(i), vs = (i) => _e.fromDom(Ki(i).dom.documentElement), ks = (i) => _e.fromDom(Ki(i).dom.defaultView), za = (i) => ie.from(i.dom.parentNode).map(_e.fromDom), Da = (i) => ie.from(i.dom.parentElement).map(_e.fromDom), yl = (i, m) => {
41526
- const h = ir(m) ? m : wt;
41526
+ const h = ir(m) ? m : xt;
41527
41527
  let v = i.dom;
41528
41528
  const _ = [];
41529
41529
  for (; v.parentNode !== null && v.parentNode !== void 0; ) {
@@ -41684,7 +41684,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41684
41684
  var ct = (i, m, h, v, _) => i(h, v) ? ie.some(h) : ir(_) && _(h) ? ie.none() : m(h, v, _);
41685
41685
  const rs = (i, m, h) => {
41686
41686
  let v = i.dom;
41687
- const _ = ir(h) ? h : wt;
41687
+ const _ = ir(h) ? h : xt;
41688
41688
  for (; v.parentNode; ) {
41689
41689
  v = v.parentNode;
41690
41690
  const O = _e.fromDom(v);
@@ -41749,7 +41749,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
41749
41749
  }, yf = (i, m) => {
41750
41750
  const h = i.dom, v = m.dom;
41751
41751
  Vr(h) && Vr(v) && (v.style.cssText = h.style.cssText);
41752
- }, ws = (i, m, h = 0) => ca(i, m).map((v) => parseInt(v, 10)).getOr(h), Cl = (i, m) => ws(i, m, 1), Za = (i) => wr("col")(i) ? ws(i, "span", 1) > 1 : Cl(i, "colspan") > 1, pi = (i) => Cl(i, "rowspan") > 1, zr = (i, m) => parseInt(ma(i, m), 10), or = me(10), Sl = me(10), qu = (i, m) => Ku(i, m, Fe), Ku = (i, m, h) => os(ko(i), (v) => Gr(v, m) ? h(v) ? [v] : [] : Ku(v, m, h)), wf = (i, m, h = wt) => {
41752
+ }, ws = (i, m, h = 0) => ca(i, m).map((v) => parseInt(v, 10)).getOr(h), Cl = (i, m) => ws(i, m, 1), Za = (i) => wr("col")(i) ? ws(i, "span", 1) > 1 : Cl(i, "colspan") > 1, pi = (i) => Cl(i, "rowspan") > 1, zr = (i, m) => parseInt(ma(i, m), 10), or = me(10), Sl = me(10), qu = (i, m) => Ku(i, m, Fe), Ku = (i, m, h) => os(ko(i), (v) => Gr(v, m) ? h(v) ? [v] : [] : Ku(v, m, h)), wf = (i, m, h = xt) => {
41753
41753
  if (h(m))
41754
41754
  return ie.none();
41755
41755
  if (Jt(i, Qo(m)))
@@ -42722,7 +42722,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
42722
42722
  parent: za,
42723
42723
  document: m,
42724
42724
  isText: Bc,
42725
- isComment: qo,
42725
+ isComment: Ko,
42726
42726
  isElement: Er,
42727
42727
  isSpecial: Z,
42728
42728
  getLanguage: J,
@@ -42745,7 +42745,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
42745
42745
  const Z = m(i, I);
42746
42746
  return ET(i, O, Z);
42747
42747
  }, _);
42748
- }, ET = (i, m, h) => m.bind((v) => h.filter(Xn(i.eq, v))), jh = (i, m) => Xn(i.eq, m), $y = (i, m, h, v = wt) => {
42748
+ }, ET = (i, m, h) => m.bind((v) => h.filter(Xn(i.eq, v))), jh = (i, m) => Xn(i.eq, m), $y = (i, m, h, v = xt) => {
42749
42749
  const _ = [m].concat(i.up().all(m)), O = [h].concat(i.up().all(h)), I = (Te) => Qa(Te, v).fold(() => Te, (Nt) => Te.slice(0, Nt + 1)), Z = I(_), J = I(O), ue = z(Z, (Te) => nt(J, jh(i, Te)));
42750
42750
  return {
42751
42751
  firstpath: Z,
@@ -43075,7 +43075,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
43075
43075
  rowspan: Z
43076
43076
  };
43077
43077
  }, Qs = (i, m) => {
43078
- const h = mn(i, (_) => mn(_.cells, wt)), v = (_, O, I, Z) => {
43078
+ const h = mn(i, (_) => mn(_.cells, xt)), v = (_, O, I, Z) => {
43079
43079
  for (let J = _; J < _ + I; J++)
43080
43080
  for (let ue = O; ue < O + Z; ue++)
43081
43081
  h[J][ue] = !0;
@@ -43190,7 +43190,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
43190
43190
  inner: i,
43191
43191
  fold: (O, I) => I(i),
43192
43192
  isValue: Fe,
43193
- isError: wt,
43193
+ isError: xt,
43194
43194
  map: (O) => Zd.value(O(i)),
43195
43195
  mapError: v,
43196
43196
  bind: m,
@@ -43212,12 +43212,12 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
43212
43212
  tag: !1,
43213
43213
  inner: i,
43214
43214
  fold: (v, _) => v(i),
43215
- isValue: wt,
43215
+ isValue: xt,
43216
43216
  isError: Fe,
43217
43217
  map: m,
43218
43218
  mapError: (v) => Zd.error(v(i)),
43219
43219
  bind: m,
43220
- exists: wt,
43220
+ exists: xt,
43221
43221
  forall: Fe,
43222
43222
  getOr: _t,
43223
43223
  or: _t,
@@ -43262,7 +43262,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
43262
43262
  return Sf(I, Z);
43263
43263
  }));
43264
43264
  }, Sr = (i, m, h, v) => mn(i, (_) => {
43265
- const O = Jg(m, _, h, wt);
43265
+ const O = Jg(m, _, h, xt);
43266
43266
  return xc(_, v, O);
43267
43267
  }), cC = (i, m, h) => mn(i, (v) => et(h, (_, O) => {
43268
43268
  const I = Jg(1, v, m, Fe)[0];
@@ -43386,7 +43386,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
43386
43386
  const _ = Rr(i).rows, O = mn(m, (I) => ga(_[I.row], I.column));
43387
43387
  return oh(i, O, h, v, Lf, ie.none, Fe);
43388
43388
  }, ni = { generate: (i) => {
43389
- if (!Ue(i))
43389
+ if (!ze(i))
43390
43390
  throw new Error("cases must be an array");
43391
43391
  if (i.length === 0)
43392
43392
  throw new Error("there must be at least one case");
@@ -43400,7 +43400,7 @@ The conflicting element is` + (ao(N.element) ? " " : " not ") + "already in the
43400
43400
  throw new Error("duplicate key detected:" + I);
43401
43401
  if (I === "cata")
43402
43402
  throw new Error("cannot have a case named cata (sorry)");
43403
- if (!Ue(Z))
43403
+ if (!ze(Z))
43404
43404
  throw new Error("case arguments must be an array");
43405
43405
  m.push(I), h[I] = (...J) => {
43406
43406
  const ue = J.length;
@@ -44391,7 +44391,7 @@ Required: ` + m.join(", "));
44391
44391
  }), sv = (i, m) => ie.some(i.getRect(m)), Xd = (i, m, h) => Er(m) ? sv(i, m).map(Op) : Bc(m) ? Kf(i, m, h).map(Op) : ie.none(), L2 = (i, m) => Er(m) ? sv(i, m).map(Op) : Bc(m) ? i.getRangedRect(m, 0, m, Do(m)).map(Op) : ie.none(), Ka = 5, Gm = 100, Mu = ni.generate([
44392
44392
  { none: [] },
44393
44393
  { retry: ["caret"] }
44394
- ]), Dp = (i, m) => i.left < m.left || Math.abs(m.right - i.left) < 1 || i.left > m.right, Xc = (i, m, h) => Ua(m, Vb).fold(wt, (v) => L2(i, v).exists((_) => Dp(h, _))), Dl = (i, m, h, v, _) => {
44394
+ ]), Dp = (i, m) => i.left < m.left || Math.abs(m.right - i.left) < 1 || i.left > m.right, Xc = (i, m, h) => Ua(m, Vb).fold(xt, (v) => L2(i, v).exists((_) => Dp(h, _))), Dl = (i, m, h, v, _) => {
44395
44395
  const O = Ap(_, Ka);
44396
44396
  return Math.abs(h.bottom - v.bottom) < 1 || h.top > _.bottom ? Mu.retry(O) : h.top === _.bottom ? Mu.retry(Ap(_, 1)) : Xc(i, m, _) ? Mu.retry(md(O, Ka, 0)) : Mu.none();
44397
44397
  }, Nu = {
@@ -44930,7 +44930,7 @@ Required: ` + m.join(", "));
44930
44930
  }, qE = (i, m) => {
44931
44931
  let h = null;
44932
44932
  const v = () => {
44933
- Ct(h) || (clearTimeout(h), h = null);
44933
+ wt(h) || (clearTimeout(h), h = null);
44934
44934
  };
44935
44935
  return {
44936
44936
  cancel: v,
@@ -44945,7 +44945,7 @@ Required: ` + m.join(", "));
44945
44945
  }, si = (i) => {
44946
44946
  throw new Error("Unsupported keys for object: " + v0(i).join(", "));
44947
44947
  }, Ac = (i, m) => {
44948
- if (!Ue(m))
44948
+ if (!ze(m))
44949
44949
  throw new Error("The " + i + " fields must be an array. Was: " + m + ".");
44950
44950
  ot(m, (h) => {
44951
44951
  if (!De(h))
@@ -45459,7 +45459,7 @@ Required: ` + m.join(", "));
45459
45459
  }, ce = (S) => {
45460
45460
  const R = typeof S;
45461
45461
  return S === null ? "null" : R === "object" && Array.isArray(S) ? "array" : R === "object" && ve(S, String, (U, re) => re.isPrototypeOf(U)) ? "string" : R;
45462
- }, $e = (S) => (R) => ce(R) === S, ye = (S) => (R) => typeof R === S, Q = $e("string"), De = $e("object"), ee = $e("array"), Ue = ye("boolean"), Ct = (S) => S == null, Gt = (S) => !Ct(S), Sn = ye("function"), zn = ye("number"), Uo = () => {
45462
+ }, $e = (S) => (R) => ce(R) === S, ye = (S) => (R) => typeof R === S, Q = $e("string"), De = $e("object"), ee = $e("array"), ze = ye("boolean"), wt = (S) => S == null, Gt = (S) => !wt(S), Sn = ye("function"), zn = ye("number"), Uo = () => {
45463
45463
  }, ir = (S, R) => (U) => S(R(U)), $o = (S) => () => S, Mt = (S, R) => S === R;
45464
45464
  function ur(S, ...R) {
45465
45465
  return (...U) => {
@@ -45539,7 +45539,7 @@ Required: ` + m.join(", "));
45539
45539
  }
45540
45540
  }
45541
45541
  _t.singletonNone = new _t(!1);
45542
- const Ea = Array.prototype.slice, Xn = Array.prototype.indexOf, oe = Array.prototype.push, Nn = (S, R) => Xn.call(S, R), ns = (S, R) => Nn(S, R) > -1, wt = (S, R) => {
45542
+ const Ea = Array.prototype.slice, Xn = Array.prototype.indexOf, oe = Array.prototype.push, Nn = (S, R) => Xn.call(S, R), ns = (S, R) => Nn(S, R) > -1, xt = (S, R) => {
45543
45543
  for (let U = 0, re = S.length; U < re; U++) {
45544
45544
  const fe = S[U];
45545
45545
  if (R(fe, U))
@@ -45601,7 +45601,7 @@ Required: ` + m.join(", "));
45601
45601
  const R = Ea.call(S, 0);
45602
45602
  return R.reverse(), R;
45603
45603
  }, ot = (S, R) => R >= 0 && R < S.length ? _t.some(S[R]) : _t.none(), Wo = (S) => ot(S, 0), dr = (S) => ot(S, S.length - 1), ro = (S, R) => {
45604
- const U = [], re = Sn(R) ? (fe) => wt(U, (lt) => R(lt, fe)) : (fe) => ns(U, fe);
45604
+ const U = [], re = Sn(R) ? (fe) => xt(U, (lt) => R(lt, fe)) : (fe) => ns(U, fe);
45605
45605
  for (let fe = 0, lt = S.length; fe < lt; fe++) {
45606
45606
  const qt = S[fe];
45607
45607
  re(qt) || U.push(qt);
@@ -45668,9 +45668,9 @@ Required: ` + m.join(", "));
45668
45668
  }, us = (S) => S.dom.nodeName.toLowerCase(), jo = (S) => S.dom.nodeType, vl = (S) => (R) => jo(R) === S, Yn = (S) => jo(S) === z || us(S) === "#comment", bs = (S) => yr(S) && Zi(S.dom), yr = vl(os), Mc = vl(Lo), ui = vl(Qa), Jo = vl(Qn), ji = (S) => (R) => yr(R) && us(R) === S, ht = (S) => vn.fromDom(S.dom.ownerDocument), mo = (S) => ui(S) ? S : ht(S), Tr = (S) => _t.from(S.dom.parentNode).map(vn.fromDom), Aa = (S) => _t.from(S.dom.parentElement).map(vn.fromDom), Nc = (S) => _t.from(S.dom.nextSibling).map(vn.fromDom), Oa = (S) => Fe(S.dom.childNodes, vn.fromDom), Qo = (S, R) => {
45669
45669
  const U = S.dom.childNodes;
45670
45670
  return _t.from(U[R]).map(vn.fromDom);
45671
- }, ec = (S) => Qo(S, 0), pc = (S) => Qo(S, S.dom.childNodes.length - 1), qo = (S) => Jo(S) && Gt(S.dom.host), Er = Sn(Element.prototype.attachShadow) && Sn(Node.prototype.getRootNode) ? (S) => vn.fromDom(S.dom.getRootNode()) : mo, Bc = (S) => {
45671
+ }, ec = (S) => Qo(S, 0), pc = (S) => Qo(S, S.dom.childNodes.length - 1), Ko = (S) => Jo(S) && Gt(S.dom.host), Er = Sn(Element.prototype.attachShadow) && Sn(Node.prototype.getRootNode) ? (S) => vn.fromDom(S.dom.getRootNode()) : mo, Bc = (S) => {
45672
45672
  const R = Er(S);
45673
- return qo(R) ? _t.some(R) : _t.none();
45673
+ return Ko(R) ? _t.some(R) : _t.none();
45674
45674
  }, Ll = (S) => vn.fromDom(S.dom.host), di = (S) => {
45675
45675
  const R = Mc(S) ? S.dom.parentNode : S.dom;
45676
45676
  if (R == null || R.ownerDocument === null)
@@ -45744,7 +45744,7 @@ Required: ` + m.join(", "));
45744
45744
  const U = {};
45745
45745
  return Ki(S, R, tc(U), Uo), U;
45746
45746
  }, ks = (S, R, U) => {
45747
- if (Q(U) || Ue(U) || zn(U))
45747
+ if (Q(U) || ze(U) || zn(U))
45748
45748
  S.setAttribute(R, U + "");
45749
45749
  else
45750
45750
  throw console.error("Invalid call to Attribute.set. Key ", R, ":: Value ", U, ":: Element ", S), new Error("Attribute value was not simple");
@@ -45853,7 +45853,7 @@ Required: ` + m.join(", "));
45853
45853
  }, K = (S) => Mo(P(S), ua), se = (S, R) => {
45854
45854
  const U = S.dom.getParents(R, "TD,TH");
45855
45855
  return U.length > 0 ? U[0] : S.getBody();
45856
- }, Ie = (S, R) => !Ra(R) && !Or(R) && wt(ao, (U) => S.isValidChild(R.nodeName, U)), Ot = (S, R) => {
45856
+ }, Ie = (S, R) => !Ra(R) && !Or(R) && xt(ao, (U) => S.isValidChild(R.nodeName, U)), Ot = (S, R) => {
45857
45857
  const U = S.dom.getParents(R, S.dom.isBlock);
45858
45858
  return Jt(U, (fe) => Ie(S.schema, fe)).getOr(S.getBody());
45859
45859
  }, Kn = (S) => Tr(S).exists((R) => Or(R.dom) && ec(R).exists((U) => !Ra(U.dom)) && pc(R).exists((U) => !Ra(U.dom))), jt = (S, R) => {
@@ -46607,8 +46607,8 @@ Required: ` + m.join(", "));
46607
46607
  }, ce = (j) => {
46608
46608
  const de = typeof j;
46609
46609
  return j === null ? "null" : de === "object" && Array.isArray(j) ? "array" : de === "object" && ve(j, String, (Se, Be) => Be.isPrototypeOf(Se)) ? "string" : de;
46610
- }, $e = (j) => (de) => ce(de) === j, ye = (j) => (de) => typeof de === j, Q = (j) => (de) => j === de, De = $e("string"), ee = $e("object"), Ue = $e("array"), Ct = Q(null), Gt = ye("boolean"), Sn = (j) => j == null, zn = (j) => !Sn(j), Uo = ye("function"), ir = (j, de) => {
46611
- if (Ue(j)) {
46610
+ }, $e = (j) => (de) => ce(de) === j, ye = (j) => (de) => typeof de === j, Q = (j) => (de) => j === de, De = $e("string"), ee = $e("object"), ze = $e("array"), wt = Q(null), Gt = ye("boolean"), Sn = (j) => j == null, zn = (j) => !Sn(j), Uo = ye("function"), ir = (j, de) => {
46611
+ if (ze(j)) {
46612
46612
  for (let Se = 0, Be = j.length; Se < Be; ++Se)
46613
46613
  if (!de(j[Se]))
46614
46614
  return !1;
@@ -46702,15 +46702,15 @@ Required: ` + m.join(", "));
46702
46702
  }
46703
46703
  }, ns = (j, de, Se) => (Nn(j, (Be, dt) => {
46704
46704
  Se = de(Se, Be, dt);
46705
- }), Se), wt = (j) => {
46705
+ }), Se), xt = (j) => {
46706
46706
  const de = [];
46707
46707
  for (let Se = 0, Be = j.length; Se < Be; ++Se) {
46708
- if (!Ue(j[Se]))
46708
+ if (!ze(j[Se]))
46709
46709
  throw new Error("Arr.flatten item " + Se + " was not an array, input: " + j);
46710
46710
  _t.apply(de, j[Se]);
46711
46711
  }
46712
46712
  return de;
46713
- }, Fe = (j, de) => wt(oe(j, de)), ie = (j, de) => {
46713
+ }, Fe = (j, de) => xt(oe(j, de)), ie = (j, de) => {
46714
46714
  for (let Se = 0; Se < j.length; Se++) {
46715
46715
  const Be = de(j[Se], Se);
46716
46716
  if (Be.isSome())
@@ -46879,7 +46879,7 @@ Required: ` + m.join(", "));
46879
46879
  }, pc = (j) => {
46880
46880
  const de = j.dom, Se = j.selection, Be = Se.getBookmark(), dt = Se.getRng().cloneRange(), ln = de.getParent(dt.startContainer, "a[href]", j.getBody()), Fo = de.getParent(dt.endContainer, "a[href]", j.getBody());
46881
46881
  ln && dt.setStartBefore(ln), Fo && dt.setEndAfter(Fo), Se.setRng(dt), j.execCommand("unlink"), Se.moveToBookmark(Be);
46882
- }, qo = (j) => {
46882
+ }, Ko = (j) => {
46883
46883
  j.undoManager.transact(() => {
46884
46884
  const de = j.selection.getNode();
46885
46885
  mo(de) ? di(j, de) : pc(j), j.focus();
@@ -46900,7 +46900,7 @@ Required: ` + m.join(", "));
46900
46900
  target: dt.getOrNull(),
46901
46901
  text: ln.getOrNull(),
46902
46902
  title: Fo.getOrNull()
46903
- }, (ss, Ho) => Ct(ss) === !1);
46903
+ }, (ss, Ho) => wt(ss) === !1);
46904
46904
  }, Er = (j, de) => {
46905
46905
  const Se = j.options.get, Be = {
46906
46906
  allow_html_data_urls: Se("allow_html_data_urls"),
@@ -46915,7 +46915,7 @@ Required: ` + m.join(", "));
46915
46915
  const Be = Er(j, Se);
46916
46916
  j.hasPlugin("rtc", !0) ? j.execCommand("createlink", !1, fn(Be)) : ec(j, de, Be);
46917
46917
  }, Ll = (j) => {
46918
- j.hasPlugin("rtc", !0) ? j.execCommand("unlink") : qo(j);
46918
+ j.hasPlugin("rtc", !0) ? j.execCommand("unlink") : Ko(j);
46919
46919
  }, di = (j, de) => {
46920
46920
  var Se;
46921
46921
  const Be = j.dom.select("img", de)[0];
@@ -47053,7 +47053,7 @@ Required: ` + m.join(", "));
47053
47053
  }
47054
47054
  ], vs = { getTargets: (j) => {
47055
47055
  const de = dr(j);
47056
- return Ue(de) ? Ke.sanitize(de).orThunk(() => dn.some(tc)) : de === !1 ? dn.none() : dn.some(tc);
47056
+ return ze(de) ? Ke.sanitize(de).orThunk(() => dn.some(tc)) : de === !1 ? dn.none() : dn.some(tc);
47057
47057
  } }, ks = (j, de, Se) => {
47058
47058
  const Be = j.getAttrib(de, Se);
47059
47059
  return Be !== null && Be.length > 0 ? dn.some(Be) : dn.none();
@@ -47140,7 +47140,7 @@ Required: ` + m.join(", "));
47140
47140
  size: "normal",
47141
47141
  body: {
47142
47142
  type: "panel",
47143
- items: wt([
47143
+ items: xt([
47144
47144
  Be,
47145
47145
  dt,
47146
47146
  ln,
@@ -47364,7 +47364,7 @@ Required: ` + m.join(", "));
47364
47364
  }, $e = (P) => {
47365
47365
  const K = typeof P;
47366
47366
  return P === null ? "null" : K === "object" && Array.isArray(P) ? "array" : K === "object" && ce(P, String, (se, Ie) => Ie.isPrototypeOf(se)) ? "string" : K;
47367
- }, ye = (P) => (K) => $e(K) === P, Q = (P) => (K) => typeof K === P, De = (P) => (K) => P === K, ee = (P, K) => Ct(P) && ce(P, K, (se, Ie) => ve(se) === Ie), Ue = ye("string"), Ct = ye("object"), Gt = (P) => ee(P, Object), Sn = ye("array"), zn = De(null), Uo = Q("boolean"), ir = (P) => P == null, $o = (P) => !ir(P), Mt = Q("function"), ur = Q("number"), dn = (P, K) => {
47367
+ }, ye = (P) => (K) => $e(K) === P, Q = (P) => (K) => typeof K === P, De = (P) => (K) => P === K, ee = (P, K) => wt(P) && ce(P, K, (se, Ie) => ve(se) === Ie), ze = ye("string"), wt = ye("object"), Gt = (P) => ee(P, Object), Sn = ye("array"), zn = De(null), Uo = Q("boolean"), ir = (P) => P == null, $o = (P) => !ir(P), Mt = Q("function"), ur = Q("number"), dn = (P, K) => {
47368
47368
  if (Sn(P)) {
47369
47369
  for (let se = 0, Ie = P.length; se < Ie; ++se)
47370
47370
  if (!K(P[se]))
@@ -47457,7 +47457,7 @@ Required: ` + m.join(", "));
47457
47457
  oe(P, (Ot, Kn) => {
47458
47458
  (K(Ot, Kn) ? se : Ie)(Ot, Kn);
47459
47459
  });
47460
- }, wt = (P, K) => {
47460
+ }, xt = (P, K) => {
47461
47461
  const se = {};
47462
47462
  return ns(P, K, Nn(se), me), se;
47463
47463
  }, Fe = (P, K) => Xn.call(P, K), ie = (P, K) => Fe(P, K) && P[K] !== void 0 && P[K] !== null, Mo = Array.prototype.push, Jn = (P) => {
@@ -47478,7 +47478,7 @@ Required: ` + m.join(", "));
47478
47478
  };
47479
47479
  typeof window < "u" || Function("return this;")();
47480
47480
  const nt = (P, K, se) => {
47481
- if (Ue(se) || Uo(se) || ur(se))
47481
+ if (ze(se) || Uo(se) || ur(se))
47482
47482
  P.setAttribute(K, se + "");
47483
47483
  else
47484
47484
  throw console.error("Invalid call to Attribute.set. Key ", K, ":: Value ", se, ":: Element ", P), new Error("Attribute value was not simple");
@@ -47536,7 +47536,7 @@ Required: ` + m.join(", "));
47536
47536
  default: !1
47537
47537
  }), K("image_list", {
47538
47538
  processor: (se) => {
47539
- const Ie = se === !1 || Ue(se) || dn(se, Ct) || Mt(se);
47539
+ const Ie = se === !1 || ze(se) || dn(se, wt) || Mt(se);
47540
47540
  return Ie ? {
47541
47541
  value: se,
47542
47542
  valid: Ie
@@ -47583,7 +47583,7 @@ Required: ` + m.join(", "));
47583
47583
  return P;
47584
47584
  }, Zi = (P, K) => {
47585
47585
  const se = Ft(P);
47586
- Ue(se) ? fetch(se).then((Ie) => {
47586
+ ze(se) ? fetch(se).then((Ie) => {
47587
47587
  Ie.ok && Ie.json().then(K);
47588
47588
  }) : Mt(se) ? se(K) : K(se);
47589
47589
  }, us = (P, K, se) => {
@@ -47636,7 +47636,7 @@ Required: ` + m.join(", "));
47636
47636
  }, pc = (P, K) => {
47637
47637
  const se = Js(K);
47638
47638
  P.style.marginTop = se, P.style.marginBottom = se;
47639
- }, qo = (P, K) => {
47639
+ }, Ko = (P, K) => {
47640
47640
  const se = Js(K);
47641
47641
  P.style.borderWidth = se;
47642
47642
  }, fn = (P, K) => {
@@ -47661,7 +47661,7 @@ Required: ` + m.join(", "));
47661
47661
  }), Us = (P, K) => {
47662
47662
  var se;
47663
47663
  const Ie = document.createElement("img");
47664
- return ht(Ie, "style", K.style), (yr(Ie) || K.hspace !== "") && ec(Ie, K.hspace), (Mc(Ie) || K.vspace !== "") && pc(Ie, K.vspace), (ui(Ie) || K.border !== "") && qo(Ie, K.border), (Er(Ie) || K.borderStyle !== "") && fn(Ie, K.borderStyle), P((se = Ie.getAttribute("style")) !== null && se !== void 0 ? se : "");
47664
+ return ht(Ie, "style", K.style), (yr(Ie) || K.hspace !== "") && ec(Ie, K.hspace), (Mc(Ie) || K.vspace !== "") && pc(Ie, K.vspace), (ui(Ie) || K.border !== "") && Ko(Ie, K.border), (Er(Ie) || K.borderStyle !== "") && fn(Ie, K.borderStyle), P((se = Ie.getAttribute("style")) !== null && se !== void 0 ? se : "");
47665
47665
  }, bc = (P, K) => {
47666
47666
  const se = document.createElement("img");
47667
47667
  if (ol(P, {
@@ -47709,7 +47709,7 @@ Required: ` + m.join(", "));
47709
47709
  P(se, Ot), Nc(se, K);
47710
47710
  }, ol = (P, K, se) => {
47711
47711
  const Ie = Gi(P, se);
47712
- Hr(se, Ie, K, "caption", (Ot, Kn, jt) => Aa(Ot)), Hr(se, Ie, K, "src", ht), Hr(se, Ie, K, "title", ht), Hr(se, Ie, K, "width", Oa("width", P)), Hr(se, Ie, K, "height", Oa("height", P)), Hr(se, Ie, K, "class", ht), Hr(se, Ie, K, "style", Ar((Ot, Kn) => ht(Ot, "style", Kn), P)), Hr(se, Ie, K, "hspace", Ar(ec, P)), Hr(se, Ie, K, "vspace", Ar(pc, P)), Hr(se, Ie, K, "border", Ar(qo, P)), Hr(se, Ie, K, "borderStyle", Ar(fn, P)), Is(se, Ie, K);
47712
+ Hr(se, Ie, K, "caption", (Ot, Kn, jt) => Aa(Ot)), Hr(se, Ie, K, "src", ht), Hr(se, Ie, K, "title", ht), Hr(se, Ie, K, "width", Oa("width", P)), Hr(se, Ie, K, "height", Oa("height", P)), Hr(se, Ie, K, "class", ht), Hr(se, Ie, K, "style", Ar((Ot, Kn) => ht(Ot, "style", Kn), P)), Hr(se, Ie, K, "hspace", Ar(ec, P)), Hr(se, Ie, K, "vspace", Ar(pc, P)), Hr(se, Ie, K, "border", Ar(Ko, P)), Hr(se, Ie, K, "borderStyle", Ar(fn, P)), Is(se, Ie, K);
47713
47713
  }, Fl = (P, K) => {
47714
47714
  const se = P.dom.styles.parse(K), Ie = ps(se), Ot = P.dom.styles.parse(P.dom.styles.serialize(Ie));
47715
47715
  return P.dom.styles.serialize(Ot);
@@ -47718,7 +47718,7 @@ Required: ` + m.join(", "));
47718
47718
  return se ? P.dom.select("img", se)[0] : K && (K.nodeName !== "IMG" || vl(K)) ? null : K;
47719
47719
  }, Pc = (P, K) => {
47720
47720
  var se;
47721
- const Ie = P.dom, Ot = wt(P.schema.getTextBlockElements(), (jt, $s) => !P.schema.isValidChild($s, "figure")), Kn = Ie.getParent(K.parentNode, (jt) => ie(Ot, jt.nodeName), P.getBody());
47721
+ const Ie = P.dom, Ot = xt(P.schema.getTextBlockElements(), (jt, $s) => !P.schema.isValidChild($s, "figure")), Kn = Ie.getParent(K.parentNode, (jt) => ie(Ot, jt.nodeName), P.getBody());
47722
47722
  return Kn && (se = Ie.split(Kn, K)) !== null && se !== void 0 ? se : K;
47723
47723
  }, mi = (P) => {
47724
47724
  const K = sl(P);
@@ -47777,7 +47777,7 @@ Required: ` + m.join(", "));
47777
47777
  return se;
47778
47778
  })((P, K) => Gt(P) && Gt(K) ? tc(P, K) : K);
47779
47779
  var Ki = tinymce.util.Tools.resolve("tinymce.util.ImageUploader"), vs = tinymce.util.Tools.resolve("tinymce.util.Tools");
47780
- const ks = (P) => Ue(P.value) ? P.value : "", za = (P) => Ue(P.text) ? P.text : Ue(P.title) ? P.title : "", Da = (P, K) => {
47780
+ const ks = (P) => ze(P.value) ? P.value : "", za = (P) => ze(P.text) ? P.text : ze(P.title) ? P.title : "", Da = (P, K) => {
47781
47781
  const se = [];
47782
47782
  return vs.each(P, (Ie) => {
47783
47783
  const Ot = za(Ie);
@@ -47888,7 +47888,7 @@ Required: ` + m.join(", "));
47888
47888
  Vs
47889
47889
  ])));
47890
47890
  });
47891
- }), Ie = la.sanitize(Ke(P)), Ot = Wi(P), Kn = qe(P), jt = Va(P), $s = hs(P), ct = mi(P), rs = Ce(P), Ua = vn(P), Hs = Lo(P), xr = Zo(P), Vl = kr(P), fo = Bo(P), Wa = _t.some(Et(P)).filter((Ms) => Ue(Ms) && Ms.length > 0);
47891
+ }), Ie = la.sanitize(Ke(P)), Ot = Wi(P), Kn = qe(P), jt = Va(P), $s = hs(P), ct = mi(P), rs = Ce(P), Ua = vn(P), Hs = Lo(P), xr = Zo(P), Vl = kr(P), fo = Bo(P), Wa = _t.some(Et(P)).filter((Ms) => ze(Ms) && Ms.length > 0);
47892
47892
  return se.then((Ms) => ({
47893
47893
  image: ct,
47894
47894
  imageList: Ms,
@@ -48033,9 +48033,9 @@ Required: ` + m.join(", "));
48033
48033
  });
48034
48034
  });
48035
48035
  }, Fc = (P, K, se) => {
48036
- P.hasDescription && Ue(se.alt) && (K.alt = se.alt), P.hasAccessibilityOptions && (K.isDecorative = se.isDecorative || K.isDecorative || !1), P.hasImageTitle && Ue(se.title) && (K.title = se.title), P.hasDimensions && (Ue(se.width) && (K.dimensions.width = se.width), Ue(se.height) && (K.dimensions.height = se.height)), Ue(se.class) && la.findEntry(P.classList, se.class).each((Ie) => {
48036
+ P.hasDescription && ze(se.alt) && (K.alt = se.alt), P.hasAccessibilityOptions && (K.isDecorative = se.isDecorative || K.isDecorative || !1), P.hasImageTitle && ze(se.title) && (K.title = se.title), P.hasDimensions && (ze(se.width) && (K.dimensions.width = se.width), ze(se.height) && (K.dimensions.height = se.height)), ze(se.class) && la.findEntry(P.classList, se.class).each((Ie) => {
48037
48037
  K.classes = Ie.value;
48038
- }), P.hasImageCaption && Uo(se.caption) && (K.caption = se.caption), P.hasAdvTab && (Ue(se.style) && (K.style = se.style), Ue(se.vspace) && (K.vspace = se.vspace), Ue(se.border) && (K.border = se.border), Ue(se.hspace) && (K.hspace = se.hspace), Ue(se.borderstyle) && (K.borderstyle = se.borderstyle));
48038
+ }), P.hasImageCaption && Uo(se.caption) && (K.caption = se.caption), P.hasAdvTab && (ze(se.style) && (K.style = se.style), ze(se.vspace) && (K.vspace = se.vspace), ze(se.border) && (K.border = se.border), ze(se.hspace) && (K.hspace = se.hspace), ze(se.borderstyle) && (K.borderstyle = se.borderstyle));
48039
48039
  }, Hc = (P, K) => {
48040
48040
  const se = K.getData(), Ie = se.src.meta;
48041
48041
  if (Ie !== void 0) {
@@ -48233,7 +48233,7 @@ Required: ` + m.join(", "));
48233
48233
  }, ce = (x) => {
48234
48234
  const T = typeof x;
48235
48235
  return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ve(x, String, (H, q) => q.isPrototypeOf(H)) ? "string" : T;
48236
- }, $e = (x) => (T) => ce(T) === x, ye = (x) => (T) => typeof T === x, Q = (x) => (T) => x === T, De = $e("string"), ee = $e("array"), Ue = ye("boolean"), Ct = Q(void 0), Gt = (x) => x == null, Sn = (x) => !Gt(x), zn = ye("function"), Uo = ye("number"), ir = () => {
48236
+ }, $e = (x) => (T) => ce(T) === x, ye = (x) => (T) => typeof T === x, Q = (x) => (T) => x === T, De = $e("string"), ee = $e("array"), ze = ye("boolean"), wt = Q(void 0), Gt = (x) => x == null, Sn = (x) => !Gt(x), zn = ye("function"), Uo = ye("number"), ir = () => {
48237
48237
  }, $o = (x, T) => (H) => x(T(H)), Mt = (x) => () => x, ur = (x) => x, dn = (x, T) => x === T;
48238
48238
  function me(x, ...T) {
48239
48239
  return (...H) => {
@@ -48315,7 +48315,7 @@ Required: ` + m.join(", "));
48315
48315
  }
48316
48316
  }
48317
48317
  oe.singletonNone = new oe(!1);
48318
- const Nn = Object.keys, ns = Object.hasOwnProperty, wt = (x, T) => {
48318
+ const Nn = Object.keys, ns = Object.hasOwnProperty, xt = (x, T) => {
48319
48319
  const H = Nn(x);
48320
48320
  for (let q = 0, he = H.length; q < he; q++) {
48321
48321
  const Ze = H[q], mt = x[Ze];
@@ -48324,7 +48324,7 @@ Required: ` + m.join(", "));
48324
48324
  }, Fe = (x) => (T, H) => {
48325
48325
  x[H] = T;
48326
48326
  }, ie = (x, T, H, q) => {
48327
- wt(x, (he, Ze) => {
48327
+ xt(x, (he, Ze) => {
48328
48328
  (T(he, Ze) ? H : q)(he, Ze);
48329
48329
  });
48330
48330
  }, Mo = (x, T) => {
@@ -48332,7 +48332,7 @@ Required: ` + m.join(", "));
48332
48332
  return ie(x, T, Fe(H), ir), H;
48333
48333
  }, Jn = (x, T) => {
48334
48334
  const H = [];
48335
- return wt(x, (q, he) => {
48335
+ return xt(x, (q, he) => {
48336
48336
  H.push(T(q, he));
48337
48337
  }), H;
48338
48338
  }, Ge = (x) => Jn(x, ur), A = (x) => Nn(x).length, Jt = (x, T) => nt(x, T) ? oe.from(x[T]) : oe.none(), nt = (x, T) => ns.call(x, T), No = (x, T) => nt(x, T) && x[T] !== void 0 && x[T] !== null, mn = (x) => {
@@ -48475,7 +48475,7 @@ Required: ` + m.join(", "));
48475
48475
  return yr(H) ? oe.none() : oe.from(H.querySelector(x)).map(Yn.fromDom);
48476
48476
  }, Jo = (x, T) => x.dom === T.dom, ji = bs;
48477
48477
  typeof window < "u" || Function("return this;")();
48478
- const ht = (x) => x.dom.nodeName.toLowerCase(), mo = (x) => x.dom.nodeType, Tr = (x) => (T) => mo(T) === x, Aa = (x) => mo(x) === hs || ht(x) === "#comment", Nc = Tr(vr), Oa = Tr(Js), Qo = Tr(br), ec = Tr(bl), pc = (x) => (T) => Nc(T) && ht(T) === x, qo = (x) => Yn.fromDom(x.dom.ownerDocument), fn = (x) => Qo(x) ? x : qo(x), Er = (x) => oe.from(x.dom.parentNode).map(Yn.fromDom), Bc = (x, T) => {
48478
+ const ht = (x) => x.dom.nodeName.toLowerCase(), mo = (x) => x.dom.nodeType, Tr = (x) => (T) => mo(T) === x, Aa = (x) => mo(x) === hs || ht(x) === "#comment", Nc = Tr(vr), Oa = Tr(Js), Qo = Tr(br), ec = Tr(bl), pc = (x) => (T) => Nc(T) && ht(T) === x, Ko = (x) => Yn.fromDom(x.dom.ownerDocument), fn = (x) => Qo(x) ? x : Ko(x), Er = (x) => oe.from(x.dom.parentNode).map(Yn.fromDom), Bc = (x, T) => {
48479
48479
  const H = zn(T) ? T : Ea;
48480
48480
  let q = x.dom;
48481
48481
  const he = [];
@@ -48521,7 +48521,7 @@ Required: ` + m.join(", "));
48521
48521
  T(q) && (H = H.concat([q])), H = H.concat(fi(q, T));
48522
48522
  }), H;
48523
48523
  }, wl = (x, T) => yl(x, (H) => bs(H, T)), ko = (x, T) => Mc(T, x), Xr = (x, T, H) => {
48524
- if (De(H) || Ue(H) || Uo(H))
48524
+ if (De(H) || ze(H) || Uo(H))
48525
48525
  x.setAttribute(T, H + "");
48526
48526
  else
48527
48527
  throw console.error("Invalid call to Attribute.set. Key ", T, ":: Value ", H, ":: Element ", x), new Error("Attribute value was not simple");
@@ -48529,7 +48529,7 @@ Required: ` + m.join(", "));
48529
48529
  Xr(x.dom, T, H);
48530
48530
  }, Hl = (x, T) => {
48531
48531
  const H = x.dom;
48532
- wt(T, (q, he) => {
48532
+ xt(T, (q, he) => {
48533
48533
  Xr(H, he, q);
48534
48534
  });
48535
48535
  }, ia = (x, T) => {
@@ -48711,7 +48711,7 @@ Required: ` + m.join(", "));
48711
48711
  let he;
48712
48712
  for (let Ze = 0; Ze < q.length; Ze++) {
48713
48713
  const mt = x.getStyle(q[Ze], H);
48714
- if (Ct(he) && (he = mt), he !== mt)
48714
+ if (wt(he) && (he = mt), he !== mt)
48715
48715
  return "";
48716
48716
  }
48717
48717
  return he;
@@ -49410,13 +49410,13 @@ Required: ` + T.join(", "));
49410
49410
  const T = x[0], H = x.slice(1);
49411
49411
  return z(H, (q) => {
49412
49412
  z(Nn(T), (he) => {
49413
- wt(q, (Ze, mt) => {
49413
+ xt(q, (Ze, mt) => {
49414
49414
  const Dt = T[he];
49415
49415
  Dt !== "" && he === mt && Dt !== Ze && (T[he] = "");
49416
49416
  });
49417
49417
  });
49418
49418
  }), T;
49419
- }, $r = (x, T, H, q) => Et(x, (he) => !Ct(H.formatter.matchNode(q, T + he))).getOr(""), td = me($r, [
49419
+ }, $r = (x, T, H, q) => Et(x, (he) => !wt(H.formatter.matchNode(q, T + he))).getOr(""), td = me($r, [
49420
49420
  "left",
49421
49421
  "center",
49422
49422
  "right"
@@ -49792,7 +49792,7 @@ Required: ` + T.join(", "));
49792
49792
  mb(x, T.children[he], H, q);
49793
49793
  }, au = (x, T, H, q) => {
49794
49794
  const he = x.dom, Ze = {}, mt = {}, Dt = Ul(x), on = nc(x);
49795
- if (Ct(H.class) || (Ze.class = H.class), mt.height = vs(H.height), Dt ? mt.width = vs(H.width) : he.getAttrib(T, "width") && (Ze.width = Ki(H.width)), Dt ? (mt["border-width"] = vs(H.border), mt["border-spacing"] = vs(H.cellspacing)) : (Ze.border = H.border, Ze.cellpadding = H.cellpadding, Ze.cellspacing = H.cellspacing), Dt && T.children) {
49795
+ if (wt(H.class) || (Ze.class = H.class), mt.height = vs(H.height), Dt ? mt.width = vs(H.width) : he.getAttrib(T, "width") && (Ze.width = Ki(H.width)), Dt ? (mt["border-width"] = vs(H.border), mt["border-spacing"] = vs(H.cellspacing)) : (Ze.border = H.border, Ze.cellpadding = H.cellpadding, Ze.cellspacing = H.cellspacing), Dt && T.children) {
49796
49796
  const Fn = {};
49797
49797
  if (q.border && (Fn["border-width"] = vs(H.border)), q.cellpadding && (Fn.padding = vs(H.cellpadding)), on && q.bordercolor && (Fn["border-color"] = H.bordercolor), !mn(Fn))
49798
49798
  for (let rr = 0; rr < T.children.length; rr++)
@@ -49885,7 +49885,7 @@ Required: ` + T.join(", "));
49885
49885
  const T = (H) => {
49886
49886
  Da(ks(x)) && H();
49887
49887
  };
49888
- wt({
49888
+ xt({
49889
49889
  mceTableProps: me(Ci, x, !1),
49890
49890
  mceTableRowProps: me(To, x),
49891
49891
  mceTableCellProps: me(Cc, x),
@@ -50392,12 +50392,12 @@ Required: ` + T.join(", "));
50392
50392
  })();
50393
50393
  (function() {
50394
50394
  var B = tinymce.util.Tools.resolve("tinymce.PluginManager");
50395
- const ve = (ee, Ue) => {
50395
+ const ve = (ee, ze) => {
50396
50396
  ee.focus(), ee.undoManager.transact(() => {
50397
- ee.setContent(Ue);
50397
+ ee.setContent(ze);
50398
50398
  }), ee.selection.setCursorLocation(), ee.nodeChanged();
50399
50399
  }, ce = (ee) => ee.getContent({ source_view: !0 }), $e = (ee) => {
50400
- const Ue = ce(ee);
50400
+ const ze = ce(ee);
50401
50401
  ee.windowManager.open({
50402
50402
  title: "Source Code",
50403
50403
  size: "large",
@@ -50421,9 +50421,9 @@ Required: ` + T.join(", "));
50421
50421
  primary: !0
50422
50422
  }
50423
50423
  ],
50424
- initialData: { code: Ue },
50425
- onSubmit: (Ct) => {
50426
- ve(ee, Ct.getData().code), Ct.close();
50424
+ initialData: { code: ze },
50425
+ onSubmit: (wt) => {
50426
+ ve(ee, wt.getData().code), wt.close();
50427
50427
  }
50428
50428
  });
50429
50429
  }, ye = (ee) => {
@@ -50431,15 +50431,15 @@ Required: ` + T.join(", "));
50431
50431
  $e(ee);
50432
50432
  });
50433
50433
  }, Q = (ee) => {
50434
- const Ue = () => ee.execCommand("mceCodeEditor");
50434
+ const ze = () => ee.execCommand("mceCodeEditor");
50435
50435
  ee.ui.registry.addButton("code", {
50436
50436
  icon: "sourcecode",
50437
50437
  tooltip: "Source code",
50438
- onAction: Ue
50438
+ onAction: ze
50439
50439
  }), ee.ui.registry.addMenuItem("code", {
50440
50440
  icon: "sourcecode",
50441
50441
  text: "Source code",
50442
- onAction: Ue
50442
+ onAction: ze
50443
50443
  });
50444
50444
  };
50445
50445
  var De = () => {
@@ -50485,7 +50485,7 @@ Required: ` + T.join(", "));
50485
50485
  EXTENDNUMLET: 11,
50486
50486
  AT: 12,
50487
50487
  OTHER: 13
50488
- }, Ue = [
50488
+ }, ze = [
50489
50489
  new RegExp(De.aletter),
50490
50490
  new RegExp(De.midnumlet),
50491
50491
  new RegExp(De.midletter),
@@ -50499,7 +50499,7 @@ Required: ` + T.join(", "));
50499
50499
  new RegExp(De.katakana),
50500
50500
  new RegExp(De.extendnumlet),
50501
50501
  new RegExp("@")
50502
- ], Ct = "", Gt = new RegExp("^" + De.punctuation + "$"), Sn = /^\s+$/, zn = Ue, Uo = ee.OTHER, ir = (qe) => {
50502
+ ], wt = "", Gt = new RegExp("^" + De.punctuation + "$"), Sn = /^\s+$/, zn = ze, Uo = ee.OTHER, ir = (qe) => {
50503
50503
  let Et = Uo;
50504
50504
  const Ke = zn.length;
50505
50505
  for (let Ce = 0; Ce < Ke; ++Ce) {
@@ -50532,7 +50532,7 @@ Required: ` + T.join(", "));
50532
50532
  return !1;
50533
50533
  const Zo = qe[Et - 1];
50534
50534
  return (Ke === ee.MIDLETTER || Ke === ee.MIDNUMLET || Ce === ee.AT) && Ce === ee.ALETTER && Zo === ee.ALETTER || (Ke === ee.NUMERIC || Ke === ee.ALETTER) && (Ce === ee.NUMERIC || Ce === ee.ALETTER) || (Ke === ee.MIDNUM || Ke === ee.MIDNUMLET) && Ce === ee.NUMERIC && Zo === ee.NUMERIC || Ke === ee.NUMERIC && (Ce === ee.MIDNUM || Ce === ee.MIDNUMLET) && vn === ee.NUMERIC || (Ke === ee.EXTEND || Ke === ee.FORMAT) && (Ce === ee.ALETTER || Ce === ee.NUMERIC || Ce === ee.KATAKANA || Ce === ee.EXTEND || Ce === ee.FORMAT) || (Ce === ee.EXTEND || Ce === ee.FORMAT && (vn === ee.ALETTER || vn === ee.NUMERIC || vn === ee.KATAKANA || vn === ee.EXTEND || vn === ee.FORMAT)) && (Ke === ee.ALETTER || Ke === ee.NUMERIC || Ke === ee.KATAKANA || Ke === ee.EXTEND || Ke === ee.FORMAT) || Ke === ee.CR && Ce === ee.LF ? !1 : Ke === ee.NEWLINE || Ke === ee.CR || Ke === ee.LF || Ce === ee.NEWLINE || Ce === ee.CR || Ce === ee.LF ? !0 : !(Ke === ee.KATAKANA && Ce === ee.KATAKANA || Ce === ee.EXTENDNUMLET && (Ke === ee.ALETTER || Ke === ee.NUMERIC || Ke === ee.KATAKANA || Ke === ee.EXTENDNUMLET) || Ke === ee.EXTENDNUMLET && (Ce === ee.ALETTER || Ce === ee.NUMERIC || Ce === ee.KATAKANA) || Ke === ee.AT);
50535
- }, dn = Ct, me = Sn, _t = Gt, Ea = (qe) => qe === "http" || qe === "https", Xn = (qe, Et) => {
50535
+ }, dn = wt, me = Sn, _t = Gt, Ea = (qe) => qe === "http" || qe === "https", Xn = (qe, Et) => {
50536
50536
  let Ke;
50537
50537
  for (Ke = Et; Ke < qe.length && !me.test(qe[Ke]); Ke++)
50538
50538
  ;
@@ -50566,14 +50566,14 @@ Required: ` + T.join(", "));
50566
50566
  }, ns = () => ({
50567
50567
  includeWhitespace: !1,
50568
50568
  includePunctuation: !1
50569
- }), wt = (qe, Et, Ke) => {
50569
+ }), xt = (qe, Et, Ke) => {
50570
50570
  Ke = {
50571
50571
  ...ns(),
50572
50572
  ...Ke
50573
50573
  };
50574
50574
  const Ce = ye(qe, Et), vn = Mt(Ce);
50575
50575
  return Nn(qe, Ce, vn, Ke);
50576
- }, ie = (qe, Et, Ke) => wt(qe, Et, Ke).words, Mo = (qe) => qe.replace(/\uFEFF/g, "");
50576
+ }, ie = (qe, Et, Ke) => xt(qe, Et, Ke).words, Mo = (qe) => qe.replace(/\uFEFF/g, "");
50577
50577
  var Jn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
50578
50578
  const Ge = (qe, Et) => {
50579
50579
  const Ke = Et.getBlockElements(), Ce = Et.getVoidElements(), vn = (Va) => Ke[Va.nodeName] || Ce[Va.nodeName], Zo = [];
@@ -50711,7 +50711,7 @@ const pQ = { class: "font-bold ptext-lg dark:text-white" }, bQ = ["id"], vQ = /*
50711
50711
  },
50712
50712
  emits: ["update:modelValue", "keydown"],
50713
50713
  setup(B, { expose: ve, emit: ce }) {
50714
- const $e = B, ye = ce, Q = Xo(null);
50714
+ const $e = B, ye = ce, Q = qo(null);
50715
50715
  let De = null;
50716
50716
  b1(async () => {
50717
50717
  await Oj(), De && (De.destroy(), De = null), hQ.init({
@@ -50728,28 +50728,28 @@ const pQ = { class: "font-bold ptext-lg dark:text-white" }, bQ = ["id"], vQ = /*
50728
50728
  // disable import of skins
50729
50729
  content_css: !1,
50730
50730
  // disable import of css
50731
- setup(Ct) {
50732
- De = Ct, Ct.on("Change", () => {
50733
- ye("update:modelValue", Ct.getContent());
50734
- }), Ct.on("init", () => {
50735
- Ct.setContent($e.modelValue);
50731
+ setup(wt) {
50732
+ De = wt, wt.on("Change", () => {
50733
+ ye("update:modelValue", wt.getContent());
50734
+ }), wt.on("init", () => {
50735
+ wt.setContent($e.modelValue);
50736
50736
  });
50737
50737
  }
50738
50738
  });
50739
50739
  }), $q(() => {
50740
50740
  De && (De.destroy(), De = null);
50741
- }), ST(() => $e.modelValue, (Ct) => {
50742
- De && De.getContent() !== Ct && De.setContent(Ct);
50741
+ }), ST(() => $e.modelValue, (wt) => {
50742
+ De && De.getContent() !== wt && De.setContent(wt);
50743
50743
  });
50744
- const Ue = ii({
50744
+ const ze = ii({
50745
50745
  get() {
50746
50746
  return $e.modelValue;
50747
50747
  },
50748
- set(Ct) {
50749
- ye("update:modelValue", Ct);
50748
+ set(wt) {
50749
+ ye("update:modelValue", wt);
50750
50750
  }
50751
50751
  });
50752
- return ve({ focus: () => Q.value.focus() }), (Ct, Gt) => (ke(), Ae(zo, null, [
50752
+ return ve({ focus: () => Q.value.focus() }), (wt, Gt) => (ke(), Ae(zo, null, [
50753
50753
  B.show ? (ke(), Ae("div", {
50754
50754
  key: 0,
50755
50755
  class: bn(B.field_name)
@@ -50781,13 +50781,13 @@ const pQ = { class: "font-bold ptext-lg dark:text-white" }, bQ = ["id"], vQ = /*
50781
50781
  "gl-textarea-form-invalid mt-4": B.error_message !== ""
50782
50782
  }]),
50783
50783
  type: B.type,
50784
- "onUpdate:modelValue": Gt[0] || (Gt[0] = (Sn) => Ue.value = Sn),
50785
- onKeydown: Gt[1] || (Gt[1] = (Sn) => Ct.$emit("keydown", Sn)),
50784
+ "onUpdate:modelValue": Gt[0] || (Gt[0] = (Sn) => ze.value = Sn),
50785
+ onKeydown: Gt[1] || (Gt[1] = (Sn) => wt.$emit("keydown", Sn)),
50786
50786
  ref_key: "input",
50787
50787
  ref: Q,
50788
50788
  rows: "4"
50789
50789
  }, null, 42, wQ), [
50790
- [bf, Ue.value]
50790
+ [bf, ze.value]
50791
50791
  ]),
50792
50792
  V("span", xQ, At(B.error_message), 1),
50793
50793
  V("small", CQ, At(B.description), 1)
@@ -50846,10 +50846,10 @@ const pQ = { class: "font-bold ptext-lg dark:text-white" }, bQ = ["id"], vQ = /*
50846
50846
  return 0;
50847
50847
  if (this.limit === 0)
50848
50848
  return this.lastPage;
50849
- for (var B = this.currentPage, ve = this.lastPage, ce = this.limit, $e = B - ce, ye = B + ce + 1, Q = [], De = [], ee, Ue = 1; Ue <= ve; Ue++)
50850
- (Ue === 1 || Ue === ve || Ue >= $e && Ue < ye) && Q.push(Ue);
50851
- return Q.forEach(function(Ct) {
50852
- ee && (Ct - ee === 2 ? De.push(ee + 1) : Ct - ee !== 1 && De.push("...")), De.push(Ct), ee = Ct;
50849
+ for (var B = this.currentPage, ve = this.lastPage, ce = this.limit, $e = B - ce, ye = B + ce + 1, Q = [], De = [], ee, ze = 1; ze <= ve; ze++)
50850
+ (ze === 1 || ze === ve || ze >= $e && ze < ye) && Q.push(ze);
50851
+ return Q.forEach(function(wt) {
50852
+ ee && (wt - ee === 2 ? De.push(ee + 1) : wt - ee !== 1 && De.push("...")), De.push(wt), ee = wt;
50853
50853
  }), De;
50854
50854
  }
50855
50855
  },
@@ -51014,17 +51014,17 @@ function IQ(B, ve, ce, $e, ye, Q) {
51014
51014
  ])
51015
51015
  ], 16, DQ)
51016
51016
  ], 2)) : $t("", !0),
51017
- (ke(!0), Ae(zo, null, aa(ee.computed.pageRange, (Ue, Ct) => (ke(), Ae("li", {
51018
- class: bn(["", { active: Ue == ee.computed.currentPage }]),
51019
- key: Ct
51017
+ (ke(!0), Ae(zo, null, aa(ee.computed.pageRange, (ze, wt) => (ke(), Ae("li", {
51018
+ class: bn(["", { active: ze == ee.computed.currentPage }]),
51019
+ key: wt
51020
51020
  }, [
51021
51021
  V("a", t5({
51022
51022
  class: "",
51023
51023
  href: "#"
51024
- }, Ej(ee.pageButtonEvents(Ue), !0), {
51025
- "aria-current": Ue == ee.computed.currentPage ? "page" : null,
51026
- class: Ue == ee.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51027
- }), At(Ue), 17, MQ)
51024
+ }, Ej(ee.pageButtonEvents(ze), !0), {
51025
+ "aria-current": ze == ee.computed.currentPage ? "page" : null,
51026
+ class: ze == ee.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51027
+ }), At(ze), 17, MQ)
51028
51028
  ], 2))), 128)),
51029
51029
  ee.computed.nextPageUrl || ce.showDisabled ? (ke(), Ae("li", {
51030
51030
  key: 1,
@@ -51211,7 +51211,7 @@ function lee(B, ve, ce, $e, ye, Q) {
51211
51211
  has_cancel: !1,
51212
51212
  options: ye.pageOptions,
51213
51213
  modelValue: ye.perPage,
51214
- "onUpdate:modelValue": ve[0] || (ve[0] = (Ue) => ye.perPage = Ue),
51214
+ "onUpdate:modelValue": ve[0] || (ve[0] = (ze) => ye.perPage = ze),
51215
51215
  is_required: !1,
51216
51216
  field_name: "perPage",
51217
51217
  label_name: "",
@@ -51227,8 +51227,8 @@ function lee(B, ve, ce, $e, ye, Q) {
51227
51227
  GQ,
51228
51228
  nl(V("input", {
51229
51229
  type: "text",
51230
- "onUpdate:modelValue": ve[1] || (ve[1] = (Ue) => ye.search = Ue),
51231
- onInput: ve[2] || (ve[2] = (Ue) => Q.handleSearch()),
51230
+ "onUpdate:modelValue": ve[1] || (ve[1] = (ze) => ye.search = ze),
51231
+ onInput: ve[2] || (ve[2] = (ze) => Q.handleSearch()),
51232
51232
  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",
51233
51233
  placeholder: "Search ..."
51234
51234
  }, null, 544), [
@@ -51240,13 +51240,13 @@ function lee(B, ve, ce, $e, ye, Q) {
51240
51240
  V("table", KQ, [
51241
51241
  V("thead", YQ, [
51242
51242
  V("tr", null, [
51243
- (ke(!0), Ae(zo, null, aa(ce.columns, (Ue, Ct) => (ke(), Ae("th", {
51244
- key: Ct,
51245
- onClick: (Gt) => Q.updateSortColumn(Ue.field_name, Ue.sortable),
51243
+ (ke(!0), Ae(zo, null, aa(ce.columns, (ze, wt) => (ke(), Ae("th", {
51244
+ key: wt,
51245
+ onClick: (Gt) => Q.updateSortColumn(ze.field_name, ze.sortable),
51246
51246
  class: "w-full px-4 py-2 lg:w-2/12"
51247
51247
  }, [
51248
- is(At(Ue.field_label) + " ", 1),
51249
- ye.sortField === Ue.field_name ? (ke(), Ae("span", JQ, [
51248
+ is(At(ze.field_label) + " ", 1),
51249
+ ye.sortField === ze.field_name ? (ke(), Ae("span", JQ, [
51250
51250
  ye.sortOrder === "asc" ? (ke(), Ae("i", QQ)) : (ke(), Ae("i", eee))
51251
51251
  ])) : $t("", !0)
51252
51252
  ], 8, XQ))), 128))
@@ -51258,8 +51258,8 @@ function lee(B, ve, ce, $e, ye, Q) {
51258
51258
  colspan: ce.columns.length
51259
51259
  }, see, 8, nee)
51260
51260
  ])) : $t("", !0),
51261
- ye.isLoading ? $t("", !0) : (ke(!0), Ae(zo, { key: 1 }, aa(ye.itemLists.data, (Ue, Ct) => (ke(), Ae("tr", {
51262
- key: Ct,
51261
+ ye.isLoading ? $t("", !0) : (ke(!0), Ae(zo, { key: 1 }, aa(ye.itemLists.data, (ze, wt) => (ke(), Ae("tr", {
51262
+ key: wt,
51263
51263
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
51264
51264
  }, [
51265
51265
  (ke(!0), Ae(zo, null, aa(ce.columns, (Gt, Sn) => (ke(), Ae("td", {
@@ -51273,15 +51273,15 @@ function lee(B, ve, ce, $e, ye, Q) {
51273
51273
  V("div", aee, [
51274
51274
  Gt.tdComp ? (ke(), jx(z8(Q.forDynCompIs(Gt.tdComp)), {
51275
51275
  key: 0,
51276
- row: Ue,
51276
+ row: ze,
51277
51277
  field: Gt.field_name,
51278
51278
  xprops: ce.xprops,
51279
51279
  tdProps: Gt.tdProps,
51280
51280
  onDeleteAction: ve[3] || (ve[3] = (zn) => Q.GetItemLists()),
51281
- onEditAction: (zn) => Q.editAction(Ue),
51282
- onGeneralAction: (zn) => Q.generalAction(Ue)
51281
+ onEditAction: (zn) => Q.editAction(ze),
51282
+ onGeneralAction: (zn) => Q.generalAction(ze)
51283
51283
  }, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ke(), Ae(zo, { key: 1 }, [
51284
- is(At(Ue[Gt.field_name]), 1)
51284
+ is(At(ze[Gt.field_name]), 1)
51285
51285
  ], 64))
51286
51286
  ])
51287
51287
  ], 10, ree))), 128))
@@ -51473,7 +51473,7 @@ function Bee(B, ve, ce, $e, ye, Q) {
51473
51473
  has_cancel: !1,
51474
51474
  options: ye.pageOptions,
51475
51475
  modelValue: ye.perPage,
51476
- "onUpdate:modelValue": ve[0] || (ve[0] = (Ue) => ye.perPage = Ue),
51476
+ "onUpdate:modelValue": ve[0] || (ve[0] = (ze) => ye.perPage = ze),
51477
51477
  is_required: !1,
51478
51478
  field_name: "perPage",
51479
51479
  label_name: "",
@@ -51489,8 +51489,8 @@ function Bee(B, ve, ce, $e, ye, Q) {
51489
51489
  vee,
51490
51490
  nl(V("input", {
51491
51491
  type: "text",
51492
- "onUpdate:modelValue": ve[1] || (ve[1] = (Ue) => ye.search = Ue),
51493
- onInput: ve[2] || (ve[2] = (Ue) => Q.handleSearch()),
51492
+ "onUpdate:modelValue": ve[1] || (ve[1] = (ze) => ye.search = ze),
51493
+ onInput: ve[2] || (ve[2] = (ze) => Q.handleSearch()),
51494
51494
  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",
51495
51495
  placeholder: "Search ..."
51496
51496
  }, null, 544), [
@@ -51502,13 +51502,13 @@ function Bee(B, ve, ce, $e, ye, Q) {
51502
51502
  V("table", wee, [
51503
51503
  V("thead", xee, [
51504
51504
  V("tr", null, [
51505
- (ke(!0), Ae(zo, null, aa(ce.columns, (Ue, Ct) => (ke(), Ae("th", {
51506
- key: Ct,
51507
- onClick: (Gt) => Q.updateSortColumn(Ue.field_name, Ue.sortable),
51505
+ (ke(!0), Ae(zo, null, aa(ce.columns, (ze, wt) => (ke(), Ae("th", {
51506
+ key: wt,
51507
+ onClick: (Gt) => Q.updateSortColumn(ze.field_name, ze.sortable),
51508
51508
  class: "w-full px-4 py-2 lg:w-2/12"
51509
51509
  }, [
51510
- is(At(Ue.field_label) + " ", 1),
51511
- ye.sortField === Ue.field_name ? (ke(), Ae("span", See, [
51510
+ is(At(ze.field_label) + " ", 1),
51511
+ ye.sortField === ze.field_name ? (ke(), Ae("span", See, [
51512
51512
  ye.sortOrder === "asc" ? (ke(), Ae("i", _ee)) : (ke(), Ae("i", kee))
51513
51513
  ])) : $t("", !0)
51514
51514
  ], 8, Cee))), 128))
@@ -51520,14 +51520,14 @@ function Bee(B, ve, ce, $e, ye, Q) {
51520
51520
  colspan: ce.columns.length
51521
51521
  }, Oee, 8, Eee)
51522
51522
  ])) : $t("", !0),
51523
- ye.isLoading ? $t("", !0) : (ke(!0), Ae(zo, { key: 1 }, aa(Q.groupedItems, (Ue, Ct) => (ke(), Ae(zo, null, [
51523
+ ye.isLoading ? $t("", !0) : (ke(!0), Ae(zo, { key: 1 }, aa(Q.groupedItems, (ze, wt) => (ke(), Ae(zo, null, [
51524
51524
  V("tr", Dee, [
51525
51525
  V("td", {
51526
51526
  colspan: ce.columns.length,
51527
51527
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
51528
- }, At(Ct), 9, Ree)
51528
+ }, At(wt), 9, Ree)
51529
51529
  ]),
51530
- (ke(!0), Ae(zo, null, aa(Ue, (Gt, Sn) => (ke(), Ae("tr", {
51530
+ (ke(!0), Ae(zo, null, aa(ze, (Gt, Sn) => (ke(), Ae("tr", {
51531
51531
  key: Sn,
51532
51532
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
51533
51533
  }, [
@@ -51750,9 +51750,9 @@ function Cte(B, ve, ce, $e, ye, Q) {
51750
51750
  V("table", Gee, [
51751
51751
  V("thead", qee, [
51752
51752
  V("tr", null, [
51753
- (ke(!0), Ae(zo, null, aa(ce.columns, (ee, Ue) => (ke(), Ae("th", {
51754
- key: Ue,
51755
- onClick: Uu((Ct) => Q.sort(ee), ["prevent"]),
51753
+ (ke(!0), Ae(zo, null, aa(ce.columns, (ee, ze) => (ke(), Ae("th", {
51754
+ key: ze,
51755
+ onClick: Uu((wt) => Q.sort(ee), ["prevent"]),
51756
51756
  class: "w-full px-4 py-2 lg:w-2/12 capitalize"
51757
51757
  }, [
51758
51758
  is(At(ee) + " ", 1),
@@ -51763,13 +51763,13 @@ function Cte(B, ve, ce, $e, ye, Q) {
51763
51763
  ])
51764
51764
  ]),
51765
51765
  V("tbody", null, [
51766
- (ke(!0), Ae(zo, null, aa(Q.paginatedData, (ee, Ue) => (ke(), Ae("tr", {
51767
- key: Ue,
51766
+ (ke(!0), Ae(zo, null, aa(Q.paginatedData, (ee, ze) => (ke(), Ae("tr", {
51767
+ key: ze,
51768
51768
  class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
51769
51769
  }, [
51770
- (ke(!0), Ae(zo, null, aa(ce.columns, (Ct, Gt) => (ke(), Ae("td", {
51770
+ (ke(!0), Ae(zo, null, aa(ce.columns, (wt, Gt) => (ke(), Ae("td", {
51771
51771
  key: Gt,
51772
- "data-label": Ct,
51772
+ "data-label": wt,
51773
51773
  class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"
51774
51774
  }, [
51775
51775
  V("p", {
@@ -51824,7 +51824,7 @@ function Cte(B, ve, ce, $e, ye, Q) {
51824
51824
  ye.currentPage !== ee ? (ke(), Ae("a", {
51825
51825
  key: 0,
51826
51826
  href: "#",
51827
- onClick: Uu((Ue) => Q.goToPage(ee), ["prevent"]),
51827
+ onClick: Uu((ze) => Q.goToPage(ee), ["prevent"]),
51828
51828
  class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
51829
51829
  }, At(ee), 9, pte)) : $t("", !0)
51830
51830
  ]),
@@ -51832,7 +51832,7 @@ function Cte(B, ve, ce, $e, ye, Q) {
51832
51832
  ye.currentPage === ee ? (ke(), Ae("a", {
51833
51833
  key: 0,
51834
51834
  href: "#",
51835
- onClick: Uu((Ue) => Q.goToPage(ee), ["prevent"]),
51835
+ onClick: Uu((ze) => Q.goToPage(ee), ["prevent"]),
51836
51836
  "aria-current": "page",
51837
51837
  class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
51838
51838
  }, At(ee), 9, bte)) : $t("", !0)
@@ -51855,7 +51855,7 @@ function Cte(B, ve, ce, $e, ye, Q) {
51855
51855
  }
51856
51856
  const Cre = /* @__PURE__ */ Ta(Pee, [["render", Cte]]), Ste = {
51857
51857
  setup() {
51858
- const B = Xo([]);
51858
+ const B = qo([]);
51859
51859
  return YG("accordionsWrapper", {
51860
51860
  registerAccordion: (ye) => {
51861
51861
  B.value.push(ye);
@@ -51886,12 +51886,12 @@ const Sre = /* @__PURE__ */ Ta(Ste, [["render", _te]]), kte = {
51886
51886
  }
51887
51887
  },
51888
51888
  setup() {
51889
- const B = Xo(!1), ve = XG("accordionsWrapper"), $e = (() => {
51890
- var Ct = (/* @__PURE__ */ new Date()).getTime();
51891
- typeof performance < "u" && typeof performance.now == "function" && (Ct += performance.now());
51889
+ const B = qo(!1), ve = XG("accordionsWrapper"), $e = (() => {
51890
+ var wt = (/* @__PURE__ */ new Date()).getTime();
51891
+ typeof performance < "u" && typeof performance.now == "function" && (wt += performance.now());
51892
51892
  var Gt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(Sn) {
51893
- var zn = (Ct + Math.random() * 16) % 16 | 0;
51894
- return Ct = Math.floor(Ct / 16), (Sn === "x" ? zn : zn & 3 | 8).toString(16);
51893
+ var zn = (wt + Math.random() * 16) % 16 | 0;
51894
+ return wt = Math.floor(wt / 16), (Sn === "x" ? zn : zn & 3 | 8).toString(16);
51895
51895
  });
51896
51896
  return Gt;
51897
51897
  })(), ye = { isOpen: B, id: $e }, Q = ii(() => ve.accordions.value), De = ii(() => Q.value.length > 0 && Q.value[0].id === $e), ee = ii(() => Q.value.length > 0 && Q.value[Q.value.length - 1].id === $e);
@@ -52125,17 +52125,17 @@ const _re = /* @__PURE__ */ Ta(kte, [["render", Mte]]), Nte = {
52125
52125
  },
52126
52126
  emits: ["deleteAction"],
52127
52127
  setup(B, { emit: ve }) {
52128
- const ce = B, $e = Xo(!1), ye = Xo(!1), Q = () => {
52128
+ const ce = B, $e = qo(!1), ye = qo(!1), Q = () => {
52129
52129
  $e.value = !1;
52130
52130
  }, De = () => {
52131
52131
  $e.value = !0;
52132
52132
  }, ee = () => {
52133
52133
  ye.value = !1;
52134
- }, Ue = () => {
52134
+ }, ze = () => {
52135
52135
  ye.value = !0;
52136
- }, Ct = ve, Gt = () => {
52136
+ }, wt = ve, Gt = () => {
52137
52137
  axios.delete(`${ce.xprops.route}/${ce.row.id}`).then(() => {
52138
- ee(), Ct("deleteAction"), o5.methods.add({
52138
+ ee(), wt("deleteAction"), o5.methods.add({
52139
52139
  message: "Item deleted successfully.",
52140
52140
  type: "success",
52141
52141
  duration: 5e3
@@ -52172,7 +52172,7 @@ const _re = /* @__PURE__ */ Ta(kte, [["render", Mte]]), Nte = {
52172
52172
  Sn.can(`delete_${B.xprops.permission}`) ? (ke(), Ae("li", ane, [
52173
52173
  V("a", {
52174
52174
  href: "#",
52175
- onClick: Uu(Ue, ["prevent"]),
52175
+ onClick: Uu(ze, ["prevent"]),
52176
52176
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
52177
52177
  }, [
52178
52178
  cne,
@@ -52231,17 +52231,17 @@ const _re = /* @__PURE__ */ Ta(kte, [["render", Mte]]), Nte = {
52231
52231
  },
52232
52232
  emits: ["deleteAction"],
52233
52233
  setup(B, { emit: ve }) {
52234
- const ce = B, $e = Xo(!1), ye = Xo(!1), Q = () => {
52234
+ const ce = B, $e = qo(!1), ye = qo(!1), Q = () => {
52235
52235
  $e.value = !1;
52236
52236
  }, De = () => {
52237
52237
  $e.value = !0;
52238
52238
  }, ee = () => {
52239
52239
  ye.value = !1;
52240
- }, Ue = () => {
52240
+ }, ze = () => {
52241
52241
  ye.value = !0;
52242
- }, Ct = ve, Gt = () => {
52242
+ }, wt = ve, Gt = () => {
52243
52243
  axios.delete(`${ce.xprops.route}/${ce.row.id}`).then(() => {
52244
- ee(), Ct("deleteAction"), o5.methods.add({
52244
+ ee(), wt("deleteAction"), o5.methods.add({
52245
52245
  message: "Item deleted successfully.",
52246
52246
  type: "success",
52247
52247
  duration: 5e3
@@ -52269,7 +52269,7 @@ const _re = /* @__PURE__ */ Ta(kte, [["render", Mte]]), Nte = {
52269
52269
  Sn.can(`delete_${B.xprops.permission}`) ? (ke(), Ae("li", fne, [
52270
52270
  V("a", {
52271
52271
  href: "#",
52272
- onClick: Uu(Ue, ["prevent"]),
52272
+ onClick: Uu(ze, ["prevent"]),
52273
52273
  class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
52274
52274
  }, [
52275
52275
  gne,
@@ -52865,15 +52865,15 @@ const Vre = /* @__PURE__ */ Ta(Zoe, [["render", ose]]), sse = {
52865
52865
  }
52866
52866
  },
52867
52867
  setup(B, { expose: ve }) {
52868
- const ce = Xo(""), $e = Xo(""), ye = Xo(""), Q = Xo("Cancel"), De = Xo(!1), ee = Xo(void 0), Ue = Xo(void 0), Ct = (zn = {}) => (ce.value = zn.title, $e.value = zn.message, ye.value = zn.okButton, zn.cancelButton && (Q.value = zn.cancelButton), De.value = !0, new Promise((Uo, ir) => {
52869
- ee.value = Uo, Ue.value = ir;
52868
+ const ce = qo(""), $e = qo(""), ye = qo(""), Q = qo("Cancel"), De = qo(!1), ee = qo(void 0), ze = qo(void 0), wt = (zn = {}) => (ce.value = zn.title, $e.value = zn.message, ye.value = zn.okButton, zn.cancelButton && (Q.value = zn.cancelButton), De.value = !0, new Promise((Uo, ir) => {
52869
+ ee.value = Uo, ze.value = ir;
52870
52870
  })), Gt = () => {
52871
52871
  De.value = !1, ee.value(!0);
52872
52872
  }, Sn = () => {
52873
52873
  De.value = !1, ee.value(!1);
52874
52874
  };
52875
52875
  return ve({
52876
- show: Ct
52876
+ show: wt
52877
52877
  }), (zn, Uo) => De.value ? (ke(), Ae("div", sse, [
52878
52878
  V("div", rse, [
52879
52879
  ase,
@@ -52956,7 +52956,7 @@ const Vre = /* @__PURE__ */ Ta(Zoe, [["render", ose]]), sse = {
52956
52956
  }
52957
52957
  },
52958
52958
  setup(B) {
52959
- const ve = B, ce = Xo(!1), $e = (Q) => {
52959
+ const ve = B, ce = qo(!1), $e = (Q) => {
52960
52960
  navigator.clipboard.writeText(Q).then(function() {
52961
52961
  ce.value = !0, setTimeout(() => {
52962
52962
  ce.value = !1;
@@ -53036,7 +53036,7 @@ const Vre = /* @__PURE__ */ Ta(Zoe, [["render", ose]]), sse = {
53036
53036
  }
53037
53037
  },
53038
53038
  setup(B) {
53039
- const ve = B, ce = Xo(!1), $e = (Q) => {
53039
+ const ve = B, ce = qo(!1), $e = (Q) => {
53040
53040
  navigator.clipboard.writeText(Q).then(function() {
53041
53041
  ce.value = !0, setTimeout(() => {
53042
53042
  ce.value = !1;