golden-logic-ui 1.0.520 → 1.0.522

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,9 +1,9 @@
1
1
  import { openBlock as ue, createBlock as ju, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as de, normalizeClass as zt, createCommentVNode as qe, renderSlot as Zi, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as jP, reactive as Bq, Fragment as jn, toDisplayString as ct, withModifiers as za, withDirectives as fr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as bu, ref as co, onMounted as Og, onBeforeUnmount as lO, watch as Sf, vShow as kf, nextTick as Bj, vModelDynamic as nq, useSlots as Pq, provide as oq, inject as sq, pushScopeId as rq, popScopeId as aq, vModelCheckbox as lq, toHandlers as Rj, onUnmounted as Nq, TransitionGroup as Iq, unref as Lq, resolveDirective as Pj, markRaw as Fq } from "vue";
2
2
  const zr = (A, te) => {
3
- const G = A.__vccOpts || A;
3
+ const j = A.__vccOpts || A;
4
4
  for (const [Ce, oe] of te)
5
- G[Ce] = oe;
6
- return G;
5
+ j[Ce] = oe;
6
+ return j;
7
7
  }, Hq = {
8
8
  props: {
9
9
  classes: {
@@ -87,29 +87,29 @@ const zr = (A, te) => {
87
87
  fill: "#1C64F2"
88
88
  })
89
89
  ], -1);
90
- function zq(A, te, G, Ce, oe, U) {
91
- return G.is_loading ? (ue(), ju(A4("button"), {
90
+ function zq(A, te, j, Ce, oe, U) {
91
+ return j.is_loading ? (ue(), ju(A4("button"), {
92
92
  key: 1,
93
93
  disabled: "",
94
- class: zt(` h-[2.5rem] flex items-center gap-2 focus:outline-none text-sm px-2 py-2 font-medium ${G.has_border_reduced ? "rounded-lg" : ""} ${U.buttonTypeClass} ${G.classes}`)
94
+ class: zt(` h-[2.5rem] flex items-center gap-2 focus:outline-none text-sm px-2 py-2 font-medium ${j.has_border_reduced ? "rounded-lg" : ""} ${U.buttonTypeClass} ${j.classes}`)
95
95
  }, {
96
96
  default: Cm(() => [
97
97
  Vq,
98
98
  Zn(" Loading... ")
99
99
  ]),
100
100
  _: 1
101
- }, 8, ["class"])) : (ue(), ju(A4(G.tag), aO({
101
+ }, 8, ["class"])) : (ue(), ju(A4(j.tag), aO({
102
102
  key: 0,
103
- type: G.is_submit,
104
- disabled: G.is_disabled
105
- }, { type: G.is_submit ? "submit" : void 0 }, {
106
- href: G.tag === "a" ? G.href : void 0,
107
- class: ` ${G.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${G.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-none text-sm px-3 py-2 font-medium ${G.has_border_reduced ? "rounded-lg" : ""} ${U.buttonTypeClass} ${G.classes}`
103
+ type: j.is_submit,
104
+ disabled: j.is_disabled
105
+ }, { type: j.is_submit ? "submit" : void 0 }, {
106
+ href: j.tag === "a" ? j.href : void 0,
107
+ class: ` ${j.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${j.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-none text-sm px-3 py-2 font-medium ${j.has_border_reduced ? "rounded-lg" : ""} ${U.buttonTypeClass} ${j.classes}`
108
108
  }), {
109
109
  default: Cm(() => [
110
- G.icon ? (ue(), de("i", {
110
+ j.icon ? (ue(), de("i", {
111
111
  key: 0,
112
- class: zt([G.icon, "text-base"])
112
+ class: zt([j.icon, "text-base"])
113
113
  }, null, 2)) : qe("", !0),
114
114
  Zi(A.$slots, "default")
115
115
  ]),
@@ -142,9 +142,9 @@ const Nj = /* @__PURE__ */ zr(Hq, [["render", zq]]), Uq = {
142
142
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
143
143
  "aria-hidden": "true"
144
144
  }, "​", -1), qq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Kq = /* @__PURE__ */ jP('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Yq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
145
- function Xq(A, te, G, Ce, oe, U) {
145
+ function Xq(A, te, j, Ce, oe, U) {
146
146
  const be = Rd("gl-button");
147
- return G.isOpen ? (ue(), de("div", Wq, [
147
+ return j.isOpen ? (ue(), de("div", Wq, [
148
148
  R("div", Zq, [
149
149
  jq,
150
150
  Gq,
@@ -269,7 +269,7 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
269
269
  deleteAction() {
270
270
  axios.delete(this.route_url + "/destroyMedia/" + this.media_id).then((A) => {
271
271
  let te = this.uploadFileList.findIndex(
272
- (G) => G.id === this.media_id
272
+ (j) => j.id === this.media_id
273
273
  );
274
274
  te !== -1 && this.uploadFileList.splice(te, 1), this.closeDeleteModal(), Ry.methods.add({
275
275
  message: "Item deleted successfully.",
@@ -285,8 +285,8 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
285
285
  },
286
286
  formatFileSize(A) {
287
287
  if (A === 0) return "0 Bytes";
288
- const te = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"], Ce = Math.floor(Math.log(A) / Math.log(te));
289
- return parseFloat((A / Math.pow(te, Ce)).toFixed(2)) + " " + G[Ce];
288
+ const te = 1024, j = ["Bytes", "KB", "MB", "GB", "TB"], Ce = Math.floor(Math.log(A) / Math.log(te));
289
+ return parseFloat((A / Math.pow(te, Ce)).toFixed(2)) + " " + j[Ce];
290
290
  },
291
291
  onDragOver(A) {
292
292
  A.preventDefault(), this.isDragging = !0, A.dataTransfer.dropEffect = "copy";
@@ -297,21 +297,21 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
297
297
  onDrop(A) {
298
298
  A.preventDefault(), this.isDragging = !1;
299
299
  const te = A.dataTransfer.files;
300
- Array.from(te).forEach((G) => {
301
- this.uploadFile(G);
300
+ Array.from(te).forEach((j) => {
301
+ this.uploadFile(j);
302
302
  });
303
303
  },
304
304
  async uploadFiles(A) {
305
- const te = A.target.files, G = Array.from(te).map(
305
+ const te = A.target.files, j = Array.from(te).map(
306
306
  (Ce) => this.uploadFile(Ce)
307
307
  );
308
- await Promise.all(G), this.$emit("uploaded"), this.$emit("update:modelValue", this.uploadFileList), console.log("uploadFileList", this.uploadFileList);
308
+ await Promise.all(j), this.$emit("uploaded"), this.$emit("update:modelValue", this.uploadFileList), console.log("uploadFileList", this.uploadFileList);
309
309
  },
310
310
  getFirstError(A, te) {
311
311
  return A.hasOwnProperty(te) ? A[te][0] : "";
312
312
  },
313
313
  async uploadFile(A) {
314
- return new Promise((te, G) => {
314
+ return new Promise((te, j) => {
315
315
  A || te();
316
316
  const Ce = new FormData();
317
317
  Ce.append(this.field_name, A), Ce.append("accepts_file_types", this.accepts_file_types), Ce.append("max_file_size", this.max_file_size), Ce.append("field_name", this.field_name), Object.entries(this.file_config).forEach(([oe, U]) => {
@@ -379,7 +379,7 @@ const GP = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Bq({
379
379
  class: "text-3xl fas fa-file-alt",
380
380
  "aria-hidden": "true"
381
381
  }, null, -1), _K = { class: "flex flex-col ml-3" }, SK = { class: "text-xs" }, kK = { class: "text-xs" }, TK = { class: "flex gap-2" }, EK = ["href"], AK = ["onClick"];
382
- function DK(A, te, G, Ce, oe, U) {
382
+ function DK(A, te, j, Ce, oe, U) {
383
383
  const be = Rd("DeleteConfirmationModal");
384
384
  return ue(), de(jn, null, [
385
385
  ui(be, {
@@ -397,9 +397,9 @@ function DK(A, te, G, Ce, oe, U) {
397
397
  class: zt({
398
398
  "gl-label-form": oe.error_message_data == "",
399
399
  "gl-label-form-invalid": oe.error_message_data !== "",
400
- required: G.is_required
400
+ required: j.is_required
401
401
  })
402
- }, ct(G.label_name), 3),
402
+ }, ct(j.label_name), 3),
403
403
  R("div", {
404
404
  onDragover: te[3] || (te[3] = za((...q) => U.onDragOver && U.onDragOver(...q), ["prevent"])),
405
405
  onDragleave: te[4] || (te[4] = za((...q) => U.onDragLeave && U.onDragLeave(...q), ["prevent"])),
@@ -409,14 +409,14 @@ function DK(A, te, G, Ce, oe, U) {
409
409
  R("div", eK, [
410
410
  R("input", {
411
411
  type: "file",
412
- ref: "file_input" + G.field_name,
412
+ ref: "file_input" + j.field_name,
413
413
  hidden: "",
414
- multiple: G.has_multiple_file,
414
+ multiple: j.has_multiple_file,
415
415
  onChange: te[0] || (te[0] = (...q) => U.uploadFiles && U.uploadFiles(...q))
416
416
  }, null, 40, tK),
417
417
  fr(R("input", {
418
418
  type: "hidden",
419
- name: G.field_name,
419
+ name: j.field_name,
420
420
  "onUpdate:modelValue": te[1] || (te[1] = (q) => U.uploadFileListFinal = q)
421
421
  }, null, 8, nK), [
422
422
  [_m, U.uploadFileListFinal]
@@ -429,7 +429,7 @@ function DK(A, te, G, Ce, oe, U) {
429
429
  ])
430
430
  ], 32),
431
431
  R("span", iK, ct(oe.error_message_data), 1),
432
- R("small", uK, ct(G.description), 1),
432
+ R("small", uK, ct(j.description), 1),
433
433
  oe.files.length > 0 ? (ue(), de("section", dK, [
434
434
  (ue(!0), de(jn, null, Ks(oe.files, (q, De) => (ue(), de("li", mK, [
435
435
  fK,
@@ -462,7 +462,7 @@ function DK(A, te, G, Ce, oe, U) {
462
462
  target: "_blank",
463
463
  class: "text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"
464
464
  }, null, 8, EK),
465
- G.is_enable_delete ? (ue(), de("i", {
465
+ j.is_enable_delete ? (ue(), de("i", {
466
466
  key: 0,
467
467
  onClick: (tt) => {
468
468
  oe.media_id = q.id, oe.open_delete_modal = !0;
@@ -511,20 +511,20 @@ const Oce = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
511
511
  mounted() {
512
512
  }
513
513
  }, RK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, $K = ["name", "value", "id", "checked"], MK = ["for"];
514
- function BK(A, te, G, Ce, oe, U) {
514
+ function BK(A, te, j, Ce, oe, U) {
515
515
  return ue(), de("ul", RK, [
516
516
  (ue(!0), de(jn, null, Ks(oe.locals, (be, q) => (ue(), de("li", null, [
517
517
  R("input", {
518
518
  type: "radio",
519
- name: G.trans_selector_name,
519
+ name: j.trans_selector_name,
520
520
  value: be,
521
521
  class: "hidden peer",
522
- id: be + "_" + G.field_name,
522
+ id: be + "_" + j.field_name,
523
523
  autocomplete: "off",
524
524
  checked: be === oe.default_language
525
525
  }, null, 8, $K),
526
526
  R("label", {
527
- for: be + "_" + G.field_name,
527
+ for: be + "_" + j.field_name,
528
528
  class: zt([{
529
529
  "border md:!rounded-s-lg": q === 0,
530
530
  "border md:!rounded-e-lg": q === oe.locals.length - 1,
@@ -547,9 +547,9 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
547
547
  }
548
548
  },
549
549
  setup(A) {
550
- const te = A, G = bu(() => te.class), Ce = bu(() => te.body_class);
550
+ const te = A, j = bu(() => te.class), Ce = bu(() => te.body_class);
551
551
  return (oe, U) => (ue(), de("div", {
552
- class: zt(["flex flex-col gap-9", G.value])
552
+ class: zt(["flex flex-col gap-9", j.value])
553
553
  }, [
554
554
  R("div", PK, [
555
555
  R("div", NK, [
@@ -664,17 +664,17 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
664
664
  },
665
665
  emits: ["update:modelValue", "selected", "selectionChanged"],
666
666
  setup(A, { emit: te }) {
667
- const G = A, Ce = te, oe = co(null), U = co([]), be = co([]), q = co([]), De = co(0), tt = co(!1), pt = co(""), cn = co(""), kt = co(null), io = co(0), lo = co(0), eo = () => {
667
+ const j = A, Ce = te, oe = co(null), U = co([]), be = co([]), q = co([]), De = co(0), tt = co(!1), pt = co(""), cn = co(""), kt = co(null), io = co(0), lo = co(0), eo = () => {
668
668
  if (kt.value) {
669
669
  io.value = kt.value.offsetWidth;
670
670
  var Ht = kt.value.getBoundingClientRect();
671
- lo.value = Ht.top + 41 + (G.label_name ? 22 : 0);
671
+ lo.value = Ht.top + 41 + (j.label_name ? 22 : 0);
672
672
  }
673
673
  }, Ot = (Ht) => {
674
674
  Ht.key === "Enter" && Ht.target.form && Ht.preventDefault();
675
675
  };
676
676
  Og(() => {
677
- cn.value = he(), G.show || (window.addEventListener("scroll", eo), document.body.addEventListener("click", In), document.addEventListener("keypress", Ot));
677
+ cn.value = he(), j.show || (window.addEventListener("scroll", eo), document.body.addEventListener("click", In), document.addEventListener("keypress", Ot));
678
678
  }), lO(() => {
679
679
  window.removeEventListener("scroll", eo), document.body.removeEventListener("click", In), document.removeEventListener("keypress", Ot);
680
680
  });
@@ -682,7 +682,7 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
682
682
  const Ht = [], _t = new RegExp(pt.value, "ig");
683
683
  for (const Be of be.value) {
684
684
  const no = String(Be.name);
685
- (pt.value.length < 1 || no.match(_t)) && Ht.length < G.maxItem && Ht.push(Be);
685
+ (pt.value.length < 1 || no.match(_t)) && Ht.length < j.maxItem && Ht.push(Be);
686
686
  }
687
687
  return Ht;
688
688
  });
@@ -694,7 +694,7 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
694
694
  "ArrowDown",
695
695
  "Enter"
696
696
  ].includes(Ht.key)) {
697
- if (["ArrowUp", "ArrowDown"].includes(Ht.key) && Ht.preventDefault(), Ht.key === "ArrowDown" && G.posts === "")
697
+ if (["ArrowUp", "ArrowDown"].includes(Ht.key) && Ht.preventDefault(), Ht.key === "ArrowDown" && j.posts === "")
698
698
  return;
699
699
  Xt(Ht.key);
700
700
  }
@@ -729,7 +729,7 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
729
729
  _t !== -1 && U.value.splice(_t, 1), q.value = U.value.map((Be) => Be.id), Ce("update:modelValue", q.value), Ce("selected", U.value), Ce("selectionChanged", U.value);
730
730
  }
731
731
  function In(Ht) {
732
- Ht.target.id != G.field_name + "search" + cn.value && Ht.target.id != G.field_name && !Ht.target.classList.contains("showOptions") && (st(), De.value = 0, tt.value = !1);
732
+ Ht.target.id != j.field_name + "search" + cn.value && Ht.target.id != j.field_name && !Ht.target.classList.contains("showOptions") && (st(), De.value = 0, tt.value = !1);
733
733
  }
734
734
  function Ze(Ht) {
735
735
  const _t = `${Ht}${cn.value}`, Be = document.getElementById(_t);
@@ -743,7 +743,7 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
743
743
  Ht === "ArrowDown" && De.value < Ls.value.length && (De.value++, Ze(De.value)), Ht === "ArrowUp" && De.value > 1 && (De.value--, Ze(De.value)), Ht === "Enter" && pe(De.value);
744
744
  }
745
745
  function Cn() {
746
- return G.options.map((Ht, _t) => typeof Ht == "object" ? Ht : { id: Ht, name: Ht });
746
+ return j.options.map((Ht, _t) => typeof Ht == "object" ? Ht : { id: Ht, name: Ht });
747
747
  }
748
748
  function Nt() {
749
749
  if (Tt(U.value))
@@ -756,13 +756,13 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
756
756
  (_t) => String(_t) === String(Ht.id)
757
757
  )
758
758
  ) || [];
759
- if (G.modelValue)
760
- return ia(G.modelValue) ? be.value.filter(
761
- (Ht) => G.modelValue.some(
759
+ if (j.modelValue)
760
+ return ia(j.modelValue) ? be.value.filter(
761
+ (Ht) => j.modelValue.some(
762
762
  (_t) => String(_t.id) === String(Ht.id)
763
763
  )
764
764
  ) || [] : be.value.filter(
765
- (Ht) => G.modelValue.some(
765
+ (Ht) => j.modelValue.some(
766
766
  (_t) => String(_t) === String(Ht.id)
767
767
  )
768
768
  ) || [];
@@ -772,7 +772,7 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
772
772
  _t !== -1 ? U.value.splice(_t, 1) : U.value.push(Ht), tt.value = !1, q.value = U.value.map((Be) => Be.id), Ce("update:modelValue", q.value), Ce("selected", U.value), Ce("selectionChanged", U.value);
773
773
  }
774
774
  function go() {
775
- if (!G.show) {
775
+ if (!j.show) {
776
776
  if (tt.value) {
777
777
  tt.value = !1;
778
778
  return;
@@ -780,7 +780,7 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
780
780
  pt.value = "", tt.value = !0, Bj(() => {
781
781
  eo();
782
782
  var Ht = document.getElementById(
783
- `${G.field_name}search${cn.value}`
783
+ `${j.field_name}search${cn.value}`
784
784
  );
785
785
  Ht && Ht.focus();
786
786
  });
@@ -794,13 +794,13 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
794
794
  }), Sf(U, (Ht) => {
795
795
  Tt(U.value) && (q.value = U.value.map((_t) => _t.id), Ce("update:modelValue", q.value));
796
796
  }), Sf(
797
- () => G.modelValue,
797
+ () => j.modelValue,
798
798
  () => {
799
799
  Tt(U.value) || (U.value = Nt());
800
800
  },
801
801
  { immediate: !0, deep: !0 }
802
802
  ), Sf(
803
- () => G.options,
803
+ () => j.options,
804
804
  () => {
805
805
  be.value = Cn(), U.value = Nt();
806
806
  },
@@ -971,8 +971,8 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
971
971
  }
972
972
  },
973
973
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
974
- setup(A, { expose: te, emit: G }) {
975
- const Ce = A, oe = G, U = co(null), be = co(null), q = () => {
974
+ setup(A, { expose: te, emit: j }) {
975
+ const Ce = A, oe = j, U = co(null), be = co(null), q = () => {
976
976
  be.value && oe("update:modelValueTranslate", be.value.value);
977
977
  };
978
978
  return Og(() => {
@@ -1101,8 +1101,8 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1101
1101
  }
1102
1102
  },
1103
1103
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1104
- setup(A, { expose: te, emit: G }) {
1105
- const Ce = A, oe = G, U = co(null), be = co(null), q = () => {
1104
+ setup(A, { expose: te, emit: j }) {
1105
+ const Ce = A, oe = j, U = co(null), be = co(null), q = () => {
1106
1106
  be.value && oe("update:modelValueTranslate", be.value.value);
1107
1107
  };
1108
1108
  return Og(() => {
@@ -1236,8 +1236,8 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1236
1236
  }
1237
1237
  },
1238
1238
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1239
- setup(A, { expose: te, emit: G }) {
1240
- const Ce = A, oe = G, U = co(null), be = co(null), q = () => {
1239
+ setup(A, { expose: te, emit: j }) {
1240
+ const Ce = A, oe = j, U = co(null), be = co(null), q = () => {
1241
1241
  be.value && oe("update:modelValueTranslate", be.value.value);
1242
1242
  };
1243
1243
  return Og(() => {
@@ -1348,8 +1348,8 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1348
1348
  }
1349
1349
  },
1350
1350
  emits: ["update:modelValue", "keydown", "blur"],
1351
- setup(A, { expose: te, emit: G }) {
1352
- const Ce = A, oe = G, U = co(null);
1351
+ setup(A, { expose: te, emit: j }) {
1352
+ const Ce = A, oe = j, U = co(null);
1353
1353
  Og(() => {
1354
1354
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
1355
1355
  });
@@ -1455,8 +1455,8 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1455
1455
  }
1456
1456
  },
1457
1457
  emits: ["update:modelValue", "keydown"],
1458
- setup(A, { expose: te, emit: G }) {
1459
- const Ce = A, oe = G, U = co(null);
1458
+ setup(A, { expose: te, emit: j }) {
1459
+ const Ce = A, oe = j, U = co(null);
1460
1460
  Og(() => {
1461
1461
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
1462
1462
  });
@@ -1555,21 +1555,21 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1555
1555
  },
1556
1556
  emits: ["update:modelValue", "keydown"],
1557
1557
  setup(A, { emit: te }) {
1558
- const G = A, Ce = te, oe = co(""), U = co({
1559
- start: G.modelValue.start,
1560
- end: G.modelValue.end
1558
+ const j = A, Ce = te, oe = co(""), U = co({
1559
+ start: j.modelValue.start,
1560
+ end: j.modelValue.end
1561
1561
  });
1562
1562
  co(""), co("");
1563
1563
  const be = bu({
1564
1564
  get() {
1565
- return G.modelValue.start;
1565
+ return j.modelValue.start;
1566
1566
  },
1567
1567
  set(tt) {
1568
1568
  U.value.start = tt, De(U.value.start, U.value.end), Ce("update:modelValue", { start: U.value.start, end: U.value.end }), Ce("keydown", { start: U.value.start, end: U.value.end });
1569
1569
  }
1570
1570
  }), q = bu({
1571
1571
  get() {
1572
- return G.modelValue.end;
1572
+ return j.modelValue.end;
1573
1573
  },
1574
1574
  set(tt) {
1575
1575
  U.value.end = tt, De(U.value.start, U.value.end), Ce("update:modelValue", { start: U.value.start, end: U.value.end }), Ce("keydown", { start: U.value.start, end: U.value.end });
@@ -1682,9 +1682,9 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1682
1682
  },
1683
1683
  emits: ["update:modelValue", "keydown"],
1684
1684
  setup(A, { emit: te }) {
1685
- const G = te, Ce = co(null), oe = (U) => {
1685
+ const j = te, Ce = co(null), oe = (U) => {
1686
1686
  const be = U.target.files[0];
1687
- console.log(be), G("keydown", U), be && G("update:modelValue", be);
1687
+ console.log(be), j("keydown", U), be && j("update:modelValue", be);
1688
1688
  };
1689
1689
  return (U, be) => (ue(), de(jn, null, [
1690
1690
  A.show ? (ue(), de("div", {
@@ -1731,10 +1731,10 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1731
1731
  props: {},
1732
1732
  emits: ["TabChange"],
1733
1733
  setup(A, { emit: te }) {
1734
- const G = te, Ce = Pq(), oe = co(Ce.default().map((De) => De.props)), U = co("");
1734
+ const j = te, Ce = Pq(), oe = co(Ce.default().map((De) => De.props)), U = co("");
1735
1735
  oq("selectedTitle", U);
1736
1736
  const be = (De) => {
1737
- window.location.hash = encodeURIComponent(De), G("TabChange", De);
1737
+ window.location.hash = encodeURIComponent(De), j("TabChange", De);
1738
1738
  }, q = () => {
1739
1739
  const De = decodeURIComponent(window.location.hash.replace("#", "")), tt = oe.value.find((pt) => pt.title === De);
1740
1740
  tt && (U.value = tt.title);
@@ -1786,8 +1786,8 @@ const Rce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
1786
1786
  key: 0,
1787
1787
  class: "block"
1788
1788
  };
1789
- function CX(A, te, G, Ce, oe, U) {
1790
- return G.title == Ce.selectedTitle ? (ue(), de("div", xX, [
1789
+ function CX(A, te, j, Ce, oe, U) {
1790
+ return j.title == Ce.selectedTitle ? (ue(), de("div", xX, [
1791
1791
  Zi(A.$slots, "default")
1792
1792
  ])) : qe("", !0);
1793
1793
  }
@@ -1843,7 +1843,7 @@ const Vce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
1843
1843
  observeSlotChanges() {
1844
1844
  const A = this.$refs.slotContainer;
1845
1845
  A && (this.mutationObserver = new MutationObserver((te) => {
1846
- te.forEach((G) => {
1846
+ te.forEach((j) => {
1847
1847
  this.initSlider();
1848
1848
  });
1849
1849
  }), this.mutationObserver.observe(A, {
@@ -1864,9 +1864,9 @@ const Vce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
1864
1864
  },
1865
1865
  generateRandomString(A) {
1866
1866
  let te = "";
1867
- const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ce = G.length;
1867
+ const j = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ce = j.length;
1868
1868
  for (let oe = 0; oe < A; oe++)
1869
- te += G.charAt(Math.floor(Math.random() * Ce));
1869
+ te += j.charAt(Math.floor(Math.random() * Ce));
1870
1870
  return te;
1871
1871
  },
1872
1872
  movingActions() {
@@ -1878,13 +1878,13 @@ const Vce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
1878
1878
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
1879
1879
  },
1880
1880
  initSlider() {
1881
- let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), Ce = Array.from(G.querySelectorAll("li")).filter((be) => be.parentNode === G), oe = A.clientWidth, U = oe / this.elementsToShow;
1881
+ let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), j = document.getElementById("slider_" + this.Random_string), Ce = Array.from(j.querySelectorAll("li")).filter((be) => be.parentNode === j), oe = A.clientWidth, U = oe / this.elementsToShow;
1882
1882
  if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, U = this.hide_arrow ? te.clientWidth : oe) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, U = this.hide_arrow ? te.clientWidth : oe), Ce.length > 1) {
1883
1883
  this.dotsNum = this.elementsToShow === 1 ? Ce.length : Ce.length - this.elementsToShow + 1;
1884
1884
  let be = this.elementsToShow === 1 ? U * Ce.length / this.dotsNum : U * (Ce.length - this.elementsToShow) / (this.dotsNum - 1);
1885
1885
  this.dotsNavigation = Array.from({ length: this.dotsNum }, (q, De) => be * De);
1886
1886
  }
1887
- G.style.width = `${Ce.length * U}px`, G.style.transition = "margin", G.style.transitionDuration = "1s", Ce.forEach((be) => be.style.width = `${U}px`);
1887
+ j.style.width = `${Ce.length * U}px`, j.style.transition = "margin", j.style.transitionDuration = "1s", Ce.forEach((be) => be.style.width = `${U}px`);
1888
1888
  },
1889
1889
  setDot(A) {
1890
1890
  let te = document.getElementById("slider_" + this.Random_string);
@@ -2076,20 +2076,20 @@ const Vce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
2076
2076
  }, null, -1)), TJ = [
2077
2077
  kJ
2078
2078
  ];
2079
- function EJ(A, te, G, Ce, oe, U) {
2079
+ function EJ(A, te, j, Ce, oe, U) {
2080
2080
  return ue(), de("div", null, [
2081
2081
  R("div", {
2082
- class: zt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
2082
+ class: zt(["", !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
2083
2083
  id: "mainSliderContainer_" + oe.Random_string
2084
2084
  }, [
2085
- oe.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", kX, [
2085
+ oe.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", kX, [
2086
2086
  R("div", TX, [
2087
2087
  R("button", {
2088
2088
  class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
2089
2089
  onClick: te[0] || (te[0] = (be) => U.prev())
2090
2090
  }, [
2091
- G.direction_property == "ltr" ? (ue(), de("svg", EX, DX)) : qe("", !0),
2092
- G.direction_property == "rtl" ? (ue(), de("svg", OX, $X)) : qe("", !0)
2091
+ j.direction_property == "ltr" ? (ue(), de("svg", EX, DX)) : qe("", !0),
2092
+ j.direction_property == "rtl" ? (ue(), de("svg", OX, $X)) : qe("", !0)
2093
2093
  ])
2094
2094
  ])
2095
2095
  ])) : qe("", !0),
@@ -2099,40 +2099,40 @@ function EJ(A, te, G, Ce, oe, U) {
2099
2099
  id: "sliderContainer_" + oe.Random_string
2100
2100
  }, [
2101
2101
  R("ul", {
2102
- class: zt(["flex", G.elements_to_show_prop == 1 ? "" : "gap-7"]),
2102
+ class: zt(["flex", j.elements_to_show_prop == 1 ? "" : "gap-7"]),
2103
2103
  id: "slider_" + oe.Random_string
2104
2104
  }, [
2105
- oe.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2105
+ oe.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2106
2106
  key: 0,
2107
- class: zt(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", G.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
2107
+ class: zt(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", j.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
2108
2108
  }, [
2109
2109
  R("div", PX, [
2110
2110
  R("button", {
2111
2111
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2112
2112
  onClick: te[1] || (te[1] = za((be) => U.prev(), ["stop"]))
2113
2113
  }, [
2114
- G.direction_property == "ltr" ? (ue(), de("svg", NX, LX)) : qe("", !0),
2115
- G.direction_property == "rtl" ? (ue(), de("svg", FX, VX)) : qe("", !0)
2114
+ j.direction_property == "ltr" ? (ue(), de("svg", NX, LX)) : qe("", !0),
2115
+ j.direction_property == "rtl" ? (ue(), de("svg", FX, VX)) : qe("", !0)
2116
2116
  ])
2117
2117
  ])
2118
2118
  ], 2)) : qe("", !0),
2119
2119
  Zi(A.$slots, "default", {}, void 0, !0),
2120
- oe.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2120
+ oe.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2121
2121
  key: 1,
2122
- class: zt(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", G.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
2122
+ class: zt(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", j.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
2123
2123
  }, [
2124
2124
  R("div", zX, [
2125
2125
  R("button", {
2126
2126
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2127
2127
  onClick: te[2] || (te[2] = za((be) => U.next(), ["stop"]))
2128
2128
  }, [
2129
- G.direction_property == "ltr" ? (ue(), de("svg", UX, ZX)) : qe("", !0),
2130
- G.direction_property == "rtl" ? (ue(), de("svg", jX, qX)) : qe("", !0)
2129
+ j.direction_property == "ltr" ? (ue(), de("svg", UX, ZX)) : qe("", !0),
2130
+ j.direction_property == "rtl" ? (ue(), de("svg", jX, qX)) : qe("", !0)
2131
2131
  ])
2132
2132
  ])
2133
2133
  ], 2)) : qe("", !0)
2134
2134
  ], 10, BX),
2135
- G.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
2135
+ j.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
2136
2136
  key: 0,
2137
2137
  class: zt(["flex justify-center mb-1 space-x-1", U.sliderIndicatorsAction()])
2138
2138
  }, [
@@ -2143,7 +2143,7 @@ function EJ(A, te, G, Ce, oe, U) {
2143
2143
  onClick: (q) => U.setDot(be)
2144
2144
  }, XX, 10, KX))), 128))
2145
2145
  ], 2)) : qe("", !0),
2146
- G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", JX, [
2146
+ j.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", JX, [
2147
2147
  R("div", {
2148
2148
  class: zt(["flex justify-center mb-1 space-x-1", U.sliderIndicatorsAction()])
2149
2149
  }, [
@@ -2158,11 +2158,11 @@ function EJ(A, te, G, Ce, oe, U) {
2158
2158
  R("div", oJ, [
2159
2159
  R("div", sJ, [
2160
2160
  R("button", {
2161
- class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2161
+ class: zt(["p-3 rounded-full arrow_button_styles", j.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2162
2162
  onClick: te[3] || (te[3] = (be) => U.prev())
2163
2163
  }, [
2164
- G.direction_property == "ltr" ? (ue(), de("svg", rJ, lJ)) : qe("", !0),
2165
- G.direction_property == "rtl" ? (ue(), de("svg", cJ, uJ)) : qe("", !0)
2164
+ j.direction_property == "ltr" ? (ue(), de("svg", rJ, lJ)) : qe("", !0),
2165
+ j.direction_property == "rtl" ? (ue(), de("svg", cJ, uJ)) : qe("", !0)
2166
2166
  ], 2)
2167
2167
  ])
2168
2168
  ]),
@@ -2172,22 +2172,22 @@ function EJ(A, te, G, Ce, oe, U) {
2172
2172
  class: "p-3 rounded-full arrow_button_styles",
2173
2173
  onClick: te[4] || (te[4] = (be) => U.next())
2174
2174
  }, [
2175
- G.direction_property == "ltr" ? (ue(), de("svg", fJ, hJ)) : qe("", !0),
2176
- G.direction_property == "rtl" ? (ue(), de("svg", pJ, vJ)) : qe("", !0)
2175
+ j.direction_property == "ltr" ? (ue(), de("svg", fJ, hJ)) : qe("", !0),
2176
+ j.direction_property == "rtl" ? (ue(), de("svg", pJ, vJ)) : qe("", !0)
2177
2177
  ])
2178
2178
  ])
2179
2179
  ])
2180
2180
  ])) : qe("", !0)
2181
2181
  ])) : qe("", !0)
2182
2182
  ], 10, MX),
2183
- oe.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", yJ, [
2183
+ oe.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", yJ, [
2184
2184
  R("div", wJ, [
2185
2185
  R("button", {
2186
2186
  class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
2187
2187
  onClick: te[5] || (te[5] = (be) => U.next())
2188
2188
  }, [
2189
- G.direction_property == "ltr" ? (ue(), de("svg", xJ, _J)) : qe("", !0),
2190
- G.direction_property == "rtl" ? (ue(), de("svg", SJ, TJ)) : qe("", !0)
2189
+ j.direction_property == "ltr" ? (ue(), de("svg", xJ, _J)) : qe("", !0),
2190
+ j.direction_property == "rtl" ? (ue(), de("svg", SJ, TJ)) : qe("", !0)
2191
2191
  ])
2192
2192
  ])
2193
2193
  ])) : qe("", !0)
@@ -2252,7 +2252,7 @@ const zce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2252
2252
  observeSlotChanges() {
2253
2253
  const A = this.$refs.slotContainer;
2254
2254
  A && (this.mutationObserver = new MutationObserver((te) => {
2255
- te.forEach((G) => {
2255
+ te.forEach((j) => {
2256
2256
  this.initSlider();
2257
2257
  });
2258
2258
  }), this.mutationObserver.observe(A, {
@@ -2270,14 +2270,14 @@ const zce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2270
2270
  },
2271
2271
  generateRandomString(A) {
2272
2272
  let te = "";
2273
- const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ce = G.length;
2273
+ const j = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ce = j.length;
2274
2274
  for (let oe = 0; oe < A; oe++)
2275
- te += G.charAt(Math.floor(Math.random() * Ce));
2275
+ te += j.charAt(Math.floor(Math.random() * Ce));
2276
2276
  return te;
2277
2277
  },
2278
2278
  movingActions() {
2279
2279
  let A = this, te = document.getElementById("slider_" + this.Random_string);
2280
- const G = (oe) => {
2280
+ const j = (oe) => {
2281
2281
  te.style.cursor = "grabbing";
2282
2282
  const U = (q) => {
2283
2283
  const De = q.clientX || q.touches && q.touches[0] && q.touches[0].clientX, tt = q.clientY || q.touches && q.touches[0] && q.touches[0].clientY, pt = De - A.initialX, cn = tt - A.initialY;
@@ -2289,7 +2289,7 @@ const zce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2289
2289
  }, Ce = (oe) => {
2290
2290
  oe.key === "ArrowLeft" ? A.prev() : oe.key === "ArrowRight" && A.next();
2291
2291
  };
2292
- te.addEventListener("mousedown", G), te.addEventListener("touchstart", G), document.addEventListener("keydown", Ce);
2292
+ te.addEventListener("mousedown", j), te.addEventListener("touchstart", j), document.addEventListener("keydown", Ce);
2293
2293
  },
2294
2294
  next() {
2295
2295
  this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
@@ -2298,7 +2298,7 @@ const zce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2298
2298
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
2299
2299
  },
2300
2300
  initSlider() {
2301
- let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), Ce = G.querySelectorAll("li"), oe = Array.from(Ce).filter((q) => q.parentNode === G);
2301
+ let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), j = document.getElementById("slider_" + this.Random_string), Ce = j.querySelectorAll("li"), oe = Array.from(Ce).filter((q) => q.parentNode === j);
2302
2302
  oe[0];
2303
2303
  let U = this.element_size + 28, be = A.clientWidth;
2304
2304
  if (this.elementsToShow = Math.floor(this.hide_arrow ? te.clientWidth / U : be / U), U = (this.hide_arrow ? te.clientWidth : be) / this.elementsToShow - 28, oe.length > 1) {
@@ -2308,7 +2308,7 @@ const zce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2308
2308
  for (let De = 0; De < this.dotsNum; De++)
2309
2309
  this.dotsNavigation.push(q * De);
2310
2310
  }
2311
- G.style.transition = "margin", G.style.transitionDuration = "1s";
2311
+ j.style.transition = "margin", j.style.transitionDuration = "1s";
2312
2312
  for (let q = 0; q < oe.length; q++) {
2313
2313
  const De = oe[q];
2314
2314
  De.style.width = U + "px", De.style.minWidth = U + "px";
@@ -2504,20 +2504,20 @@ const zce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
2504
2504
  }, null, -1)), RQ = [
2505
2505
  OQ
2506
2506
  ];
2507
- function $Q(A, te, G, Ce, oe, U) {
2507
+ function $Q(A, te, j, Ce, oe, U) {
2508
2508
  return ue(), de("div", null, [
2509
2509
  R("div", {
2510
- class: zt(["w-full", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
2510
+ class: zt(["w-full", !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
2511
2511
  id: "mainSliderContainer_" + A.Random_string
2512
2512
  }, [
2513
- A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", OJ, [
2513
+ A.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", OJ, [
2514
2514
  R("div", RJ, [
2515
2515
  R("button", {
2516
2516
  class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
2517
2517
  onClick: te[0] || (te[0] = (be) => U.prev())
2518
2518
  }, [
2519
- G.direction_property == "ltr" ? (ue(), de("svg", $J, BJ)) : qe("", !0),
2520
- G.direction_property == "rtl" ? (ue(), de("svg", PJ, IJ)) : qe("", !0)
2519
+ j.direction_property == "ltr" ? (ue(), de("svg", $J, BJ)) : qe("", !0),
2520
+ j.direction_property == "rtl" ? (ue(), de("svg", PJ, IJ)) : qe("", !0)
2521
2521
  ])
2522
2522
  ])
2523
2523
  ])) : qe("", !0),
@@ -2527,40 +2527,40 @@ function $Q(A, te, G, Ce, oe, U) {
2527
2527
  }, [
2528
2528
  R("ul", {
2529
2529
  ref: "slotContainer",
2530
- class: zt(["flex w-full", G.elements_to_show_prop == 1 ? "" : "gap-7"]),
2530
+ class: zt(["flex w-full", j.elements_to_show_prop == 1 ? "" : "gap-7"]),
2531
2531
  id: "slider_" + A.Random_string
2532
2532
  }, [
2533
- A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2533
+ A.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2534
2534
  key: 0,
2535
- class: zt(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", G.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
2535
+ class: zt(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", j.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
2536
2536
  }, [
2537
2537
  R("div", HJ, [
2538
2538
  R("button", {
2539
2539
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2540
2540
  onClick: te[1] || (te[1] = za((be) => U.prev(), ["stop"]))
2541
2541
  }, [
2542
- G.direction_property == "ltr" ? (ue(), de("svg", VJ, UJ)) : qe("", !0),
2543
- G.direction_property == "rtl" ? (ue(), de("svg", WJ, jJ)) : qe("", !0)
2542
+ j.direction_property == "ltr" ? (ue(), de("svg", VJ, UJ)) : qe("", !0),
2543
+ j.direction_property == "rtl" ? (ue(), de("svg", WJ, jJ)) : qe("", !0)
2544
2544
  ])
2545
2545
  ])
2546
2546
  ], 2)) : qe("", !0),
2547
2547
  Zi(A.$slots, "default", {}, void 0, !0),
2548
- A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2548
+ A.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
2549
2549
  key: 1,
2550
- class: zt(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", G.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
2550
+ class: zt(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", j.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
2551
2551
  }, [
2552
2552
  R("div", GJ, [
2553
2553
  R("button", {
2554
2554
  class: "p-3 rounded-full shadow-lg arrow_button_styles",
2555
2555
  onClick: te[2] || (te[2] = za((be) => U.next(), ["stop"]))
2556
2556
  }, [
2557
- G.direction_property == "ltr" ? (ue(), de("svg", qJ, YJ)) : qe("", !0),
2558
- G.direction_property == "rtl" ? (ue(), de("svg", XJ, QJ)) : qe("", !0)
2557
+ j.direction_property == "ltr" ? (ue(), de("svg", qJ, YJ)) : qe("", !0),
2558
+ j.direction_property == "rtl" ? (ue(), de("svg", XJ, QJ)) : qe("", !0)
2559
2559
  ])
2560
2560
  ])
2561
2561
  ], 2)) : qe("", !0)
2562
2562
  ], 10, FJ),
2563
- !G.hide_indicators && G.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
2563
+ !j.hide_indicators && j.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
2564
2564
  key: 0,
2565
2565
  class: zt(["flex justify-center mb-1 space-x-1", U.sliderIndicatorsAction()])
2566
2566
  }, [
@@ -2571,7 +2571,7 @@ function $Q(A, te, G, Ce, oe, U) {
2571
2571
  onClick: (q) => U.setDot(be)
2572
2572
  }, nQ, 10, eQ))), 128))
2573
2573
  ], 2)) : qe("", !0),
2574
- !G.hide_indicators && G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", oQ, [
2574
+ !j.hide_indicators && j.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", oQ, [
2575
2575
  R("div", {
2576
2576
  class: zt(["flex justify-center mb-1 space-x-1", U.sliderIndicatorsAction()])
2577
2577
  }, [
@@ -2586,11 +2586,11 @@ function $Q(A, te, G, Ce, oe, U) {
2586
2586
  R("div", cQ, [
2587
2587
  R("div", iQ, [
2588
2588
  R("button", {
2589
- class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2589
+ class: zt(["p-3 rounded-full arrow_button_styles", j.direction_property == "rtl" ? "ml-3" : "mr-3"]),
2590
2590
  onClick: te[3] || (te[3] = (be) => U.prev())
2591
2591
  }, [
2592
- G.direction_property == "ltr" ? (ue(), de("svg", uQ, mQ)) : qe("", !0),
2593
- G.direction_property == "rtl" ? (ue(), de("svg", fQ, hQ)) : qe("", !0)
2592
+ j.direction_property == "ltr" ? (ue(), de("svg", uQ, mQ)) : qe("", !0),
2593
+ j.direction_property == "rtl" ? (ue(), de("svg", fQ, hQ)) : qe("", !0)
2594
2594
  ], 2)
2595
2595
  ])
2596
2596
  ]),
@@ -2600,22 +2600,22 @@ function $Q(A, te, G, Ce, oe, U) {
2600
2600
  class: "p-3 rounded-full arrow_button_styles",
2601
2601
  onClick: te[4] || (te[4] = (be) => U.next())
2602
2602
  }, [
2603
- G.direction_property == "ltr" ? (ue(), de("svg", vQ, wQ)) : qe("", !0),
2604
- G.direction_property == "rtl" ? (ue(), de("svg", xQ, _Q)) : qe("", !0)
2603
+ j.direction_property == "ltr" ? (ue(), de("svg", vQ, wQ)) : qe("", !0),
2604
+ j.direction_property == "rtl" ? (ue(), de("svg", xQ, _Q)) : qe("", !0)
2605
2605
  ])
2606
2606
  ])
2607
2607
  ])
2608
2608
  ])) : qe("", !0)
2609
2609
  ])) : qe("", !0)
2610
2610
  ], 10, LJ),
2611
- A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", SQ, [
2611
+ A.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", SQ, [
2612
2612
  R("div", kQ, [
2613
2613
  R("button", {
2614
2614
  class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
2615
2615
  onClick: te[5] || (te[5] = (be) => U.next())
2616
2616
  }, [
2617
- G.direction_property == "ltr" ? (ue(), de("svg", TQ, AQ)) : qe("", !0),
2618
- G.direction_property == "rtl" ? (ue(), de("svg", DQ, RQ)) : qe("", !0)
2617
+ j.direction_property == "ltr" ? (ue(), de("svg", TQ, AQ)) : qe("", !0),
2618
+ j.direction_property == "rtl" ? (ue(), de("svg", DQ, RQ)) : qe("", !0)
2619
2619
  ])
2620
2620
  ])
2621
2621
  ])) : qe("", !0)
@@ -2678,7 +2678,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2678
2678
  },
2679
2679
  emits: ["closeModal"],
2680
2680
  setup(A, { emit: te }) {
2681
- const G = A, Ce = te, oe = () => {
2681
+ const j = A, Ce = te, oe = () => {
2682
2682
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2683
2683
  }, U = () => {
2684
2684
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -2686,7 +2686,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2686
2686
  Ce("closeModal"), U();
2687
2687
  };
2688
2688
  return Sf(
2689
- () => G.is_open,
2689
+ () => j.is_open,
2690
2690
  (q, De) => {
2691
2691
  q ? oe() : U();
2692
2692
  },
@@ -2797,7 +2797,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2797
2797
  },
2798
2798
  emits: ["closeModal"],
2799
2799
  setup(A, { emit: te }) {
2800
- const G = A, Ce = te, oe = () => {
2800
+ const j = A, Ce = te, oe = () => {
2801
2801
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2802
2802
  }, U = () => {
2803
2803
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -2805,7 +2805,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2805
2805
  Ce("closeModal"), U();
2806
2806
  };
2807
2807
  return Sf(
2808
- () => G.is_open,
2808
+ () => j.is_open,
2809
2809
  (q, De) => {
2810
2810
  q ? oe() : U();
2811
2811
  },
@@ -2905,7 +2905,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2905
2905
  },
2906
2906
  emits: ["closeModal"],
2907
2907
  setup(A, { emit: te }) {
2908
- const G = A, Ce = te, oe = () => {
2908
+ const j = A, Ce = te, oe = () => {
2909
2909
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2910
2910
  }, U = () => {
2911
2911
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -2913,7 +2913,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
2913
2913
  Ce("closeModal"), U();
2914
2914
  };
2915
2915
  return Sf(
2916
- () => G.is_open,
2916
+ () => j.is_open,
2917
2917
  (q, De) => {
2918
2918
  q ? oe() : U();
2919
2919
  },
@@ -3008,9 +3008,9 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3008
3008
  },
3009
3009
  emits: ["update:modelValue"],
3010
3010
  setup(A, { emit: te }) {
3011
- const G = A, Ce = te, oe = co(null), U = bu({
3011
+ const j = A, Ce = te, oe = co(null), U = bu({
3012
3012
  get() {
3013
- return G.modelValue;
3013
+ return j.modelValue;
3014
3014
  },
3015
3015
  set(be) {
3016
3016
  Ce("update:modelValue", be);
@@ -3119,9 +3119,9 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3119
3119
  },
3120
3120
  emits: ["update:modelValue"],
3121
3121
  setup(A, { emit: te }) {
3122
- const G = A, Ce = te, oe = co(null), U = bu({
3122
+ const j = A, Ce = te, oe = co(null), U = bu({
3123
3123
  get() {
3124
- return G.modelValue;
3124
+ return j.modelValue;
3125
3125
  },
3126
3126
  set(be) {
3127
3127
  Ce("update:modelValue", be);
@@ -3294,19 +3294,19 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3294
3294
  },
3295
3295
  emits: ["update:modelValue", "selected", "selectionChanged"],
3296
3296
  setup(A, { emit: te }) {
3297
- const G = A, Ce = te;
3297
+ const j = A, Ce = te;
3298
3298
  co(null);
3299
3299
  const oe = co({}), U = co([]), be = co(0), q = co(!1), De = co(""), tt = co(""), pt = co(null), cn = co(0), kt = co(0), io = () => {
3300
3300
  if (pt.value) {
3301
3301
  cn.value = pt.value.offsetWidth;
3302
3302
  var Xt = pt.value.getBoundingClientRect();
3303
- kt.value = Xt.top + 41 + (G.label_name ? 22 : 0);
3303
+ kt.value = Xt.top + 41 + (j.label_name ? 22 : 0);
3304
3304
  }
3305
3305
  }, lo = (Xt) => {
3306
3306
  Xt.key === "Enter" && Xt.target.form && Xt.preventDefault();
3307
3307
  };
3308
3308
  Og(() => {
3309
- tt.value = Ls(), G.show || (window.addEventListener("scroll", io), document.body.addEventListener("click", he), document.addEventListener("keypress", lo));
3309
+ tt.value = Ls(), j.show || (window.addEventListener("scroll", io), document.body.addEventListener("click", he), document.addEventListener("keypress", lo));
3310
3310
  }), lO(() => {
3311
3311
  window.removeEventListener("scroll", io), document.body.removeEventListener("click", he), document.removeEventListener("keypress", lo);
3312
3312
  });
@@ -3314,7 +3314,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3314
3314
  const Xt = [], Cn = new RegExp(De.value, "ig");
3315
3315
  for (const Nt of U.value) {
3316
3316
  const D = String(Nt.name);
3317
- (De.value.length < 1 || D.match(Cn)) && Xt.length < G.maxItem && Xt.push(Nt);
3317
+ (De.value.length < 1 || D.match(Cn)) && Xt.length < j.maxItem && Xt.push(Nt);
3318
3318
  }
3319
3319
  return Xt;
3320
3320
  });
@@ -3326,7 +3326,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3326
3326
  "ArrowDown",
3327
3327
  "Enter"
3328
3328
  ].includes(Xt.key)) {
3329
- if (["ArrowUp", "ArrowDown"].includes(Xt.key) && Xt.preventDefault(), Xt.key === "ArrowDown" && G.posts === "")
3329
+ if (["ArrowUp", "ArrowDown"].includes(Xt.key) && Xt.preventDefault(), Xt.key === "ArrowDown" && j.posts === "")
3330
3330
  return;
3331
3331
  oo(Xt.key);
3332
3332
  }
@@ -3345,7 +3345,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3345
3345
  return Xt !== null && typeof Xt == "object" && Object.keys(Xt).length > 0;
3346
3346
  }
3347
3347
  function he(Xt) {
3348
- Xt.target.id != G.field_name + "search" + tt.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(), be.value = 0, q.value = !1);
3348
+ Xt.target.id != j.field_name + "search" + tt.value && Xt.target.id != j.field_name && !Xt.target.classList.contains("showOptions") && (pe(), be.value = 0, q.value = !1);
3349
3349
  }
3350
3350
  function Tt(Xt) {
3351
3351
  const Cn = `${Xt}${tt.value}`, Nt = document.getElementById(Cn);
@@ -3359,7 +3359,7 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3359
3359
  Xt === "ArrowDown" && be.value < eo.value.length && (be.value++, Tt(be.value)), Xt === "ArrowUp" && be.value > 1 && (be.value--, Tt(be.value)), Xt === "Enter" && ia(be.value);
3360
3360
  }
3361
3361
  function ae() {
3362
- return G.options.map((Xt, Cn) => typeof Xt == "object" ? Xt : { id: Xt, name: Xt });
3362
+ return j.options.map((Xt, Cn) => typeof Xt == "object" ? Xt : { id: Xt, name: Xt });
3363
3363
  }
3364
3364
  function Nn() {
3365
3365
  if (dn(oe.value))
@@ -3368,18 +3368,18 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3368
3368
  ) || {} : U.value.find(
3369
3369
  (Xt) => String(Xt.id) === String(oe.value)
3370
3370
  ) || {};
3371
- if (G.modelValue)
3372
- return typeof G.modelValue == "object" ? U.value.find(
3373
- (Xt) => String(Xt.id) === String(G.modelValue.id)
3371
+ if (j.modelValue)
3372
+ return typeof j.modelValue == "object" ? U.value.find(
3373
+ (Xt) => String(Xt.id) === String(j.modelValue.id)
3374
3374
  ) || {} : U.value.find(
3375
- (Xt) => String(Xt.id) === String(G.modelValue)
3375
+ (Xt) => String(Xt.id) === String(j.modelValue)
3376
3376
  ) || {};
3377
3377
  }
3378
3378
  function ss(Xt) {
3379
3379
  oe.value = Xt, q.value = !1, Ce("update:modelValue", oe.value.id), Ce("selected", oe.value), Ce("selectionChanged", oe.value);
3380
3380
  }
3381
3381
  function In() {
3382
- if (!G.show) {
3382
+ if (!j.show) {
3383
3383
  if (q.value) {
3384
3384
  q.value = !1;
3385
3385
  return;
@@ -3387,14 +3387,14 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3387
3387
  De.value = "", q.value = !0, Bj(() => {
3388
3388
  io();
3389
3389
  var Xt = document.getElementById(
3390
- `${G.field_name}search${tt.value}`
3390
+ `${j.field_name}search${tt.value}`
3391
3391
  );
3392
3392
  Xt && Xt.focus();
3393
3393
  });
3394
3394
  }
3395
3395
  }
3396
3396
  function Ze() {
3397
- G.show || (oe.value = {}, De.value = "", Ce("update:modelValue", ""), In());
3397
+ j.show || (oe.value = {}, De.value = "", Ce("update:modelValue", ""), In());
3398
3398
  }
3399
3399
  function pe() {
3400
3400
  (!oe.value || !oe.value.id) && (oe.value = {}, De.value = ""), Ce("selected", oe.value);
@@ -3404,13 +3404,13 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3404
3404
  }), Sf(oe, (Xt) => {
3405
3405
  dn(Xt) && Ce("update:modelValue", Xt.id);
3406
3406
  }), Sf(
3407
- () => G.modelValue,
3407
+ () => j.modelValue,
3408
3408
  () => {
3409
- dn(oe.value) || (oe.value = G.modelValue, oe.value = Nn());
3409
+ dn(oe.value) || (oe.value = j.modelValue, oe.value = Nn());
3410
3410
  },
3411
3411
  { immediate: !0, deep: !0 }
3412
3412
  ), Sf(
3413
- () => G.options,
3413
+ () => j.options,
3414
3414
  () => {
3415
3415
  U.value = ae(), oe.value = Nn();
3416
3416
  },
@@ -3580,8 +3580,8 @@ const Uce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
3580
3580
  }
3581
3581
  },
3582
3582
  emits: ["update:modelValue", "keydown"],
3583
- setup(A, { expose: te, emit: G }) {
3584
- const Ce = A, oe = G, U = co(null);
3583
+ setup(A, { expose: te, emit: j }) {
3584
+ const Ce = A, oe = j, U = co(null);
3585
3585
  Og(() => {
3586
3586
  U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus();
3587
3587
  });
@@ -3654,7 +3654,7 @@ var cq = { exports: {} };
3654
3654
  return "undefined";
3655
3655
  var n = typeof e;
3656
3656
  return n === "object" && (Array.prototype.isPrototypeOf(e) || e.constructor && e.constructor.name === "Array") ? "array" : n === "object" && (String.prototype.isPrototypeOf(e) || e.constructor && e.constructor.name === "String") ? "string" : n;
3657
- }, G = function(e) {
3657
+ }, j = function(e) {
3658
3658
  return [
3659
3659
  "undefined",
3660
3660
  "boolean",
@@ -3704,7 +3704,7 @@ var cq = { exports: {} };
3704
3704
  if (e === n)
3705
3705
  return !0;
3706
3706
  var o = te(e), r = te(n);
3707
- return o !== r ? !1 : G(o) ? e === n : o === "array" ? De(cn).eq(e, n) : o === "object" ? pt(cn).eq(e, n) : !1;
3707
+ return o !== r ? !1 : j(o) ? e === n : o === "array" ? De(cn).eq(e, n) : o === "object" ? pt(cn).eq(e, n) : !1;
3708
3708
  });
3709
3709
  const kt = Object.getPrototypeOf, io = (e, n, o) => {
3710
3710
  var r;
@@ -8994,7 +8994,7 @@ Required: ` + n.join(", "));
8994
8994
  endContainer: r,
8995
8995
  endOffset: l
8996
8996
  };
8997
- }, j = (e) => ({
8997
+ }, G = (e) => ({
8998
8998
  walk: (u, f) => S1(e, u, f),
8999
8999
  split: L,
9000
9000
  expand: (u, f = { type: "word" }) => {
@@ -9006,7 +9006,7 @@ Required: ` + n.join(", "));
9006
9006
  },
9007
9007
  normalize: (u) => S(e, u).fold(nt, (f) => (u.setStart(f.startContainer, f.startOffset), u.setEnd(f.endContainer, f.endOffset), !0))
9008
9008
  });
9009
- j.compareRanges = cf, j.getCaretRangeFromPoint = $i, j.getSelectedNode = Qy, j.getNode = oi;
9009
+ G.compareRanges = cf, G.getCaretRangeFromPoint = $i, G.getSelectedNode = Qy, G.getNode = oi;
9010
9010
  const fe = ((e, n) => {
9011
9011
  const o = (b, y) => {
9012
9012
  if (!Xt(y) && !y.match(/^[0-9]+$/))
@@ -13643,7 +13643,7 @@ Required: ` + n.join(", "));
13643
13643
  win: n,
13644
13644
  serializer: o,
13645
13645
  editor: r,
13646
- expand: (Et = { type: "word" }) => Pe(j(e).expand(Se(), Et)),
13646
+ expand: (Et = { type: "word" }) => Pe(G(e).expand(Se(), Et)),
13647
13647
  collapse: xe,
13648
13648
  setCursorLocation: b,
13649
13649
  getContent: y,
@@ -17799,7 +17799,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
17799
17799
  e.on("cut", lB(e)), e.on("copy", cB(e));
17800
17800
  }, wD = (e, n) => {
17801
17801
  var o, r;
17802
- return j.getCaretRangeFromPoint((o = n.clientX) !== null && o !== void 0 ? o : 0, (r = n.clientY) !== null && r !== void 0 ? r : 0, e.getDoc());
17802
+ return G.getCaretRangeFromPoint((o = n.clientX) !== null && o !== void 0 ? o : 0, (r = n.clientY) !== null && r !== void 0 ? r : 0, e.getDoc());
17803
17803
  }, AU = (e) => {
17804
17804
  const n = e["text/plain"];
17805
17805
  return n ? n.indexOf("file://") === 0 : !1;
@@ -20785,7 +20785,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
20785
20785
  TextSeeker: Wf,
20786
20786
  DOMUtils: Is,
20787
20787
  ScriptLoader: ra,
20788
- RangeUtils: j,
20788
+ RangeUtils: G,
20789
20789
  Serializer: R6,
20790
20790
  StyleSheetLoader: Ny,
20791
20791
  ControlSelection: CO,
@@ -21048,10 +21048,10 @@ tinymce.IconManager.add("default", {
21048
21048
  const A = Object.getPrototypeOf, te = (t, s, a) => {
21049
21049
  var c;
21050
21050
  return a(t, s.prototype) ? !0 : ((c = t.constructor) === null || c === void 0 ? void 0 : c.name) === s.name;
21051
- }, G = (t) => {
21051
+ }, j = (t) => {
21052
21052
  const s = typeof t;
21053
21053
  return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && te(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
21054
- }, Ce = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, be = (t, s) => De(t) && te(t, s, (a, c) => A(a) === c), q = Ce("string"), De = Ce("object"), tt = (t) => be(t, Object), pt = Ce("array"), cn = U(null), kt = oe("boolean"), io = U(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = oe("function"), Ls = oe("number"), dn = (t, s) => {
21054
+ }, Ce = (t) => (s) => j(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, be = (t, s) => De(t) && te(t, s, (a, c) => A(a) === c), q = Ce("string"), De = Ce("object"), tt = (t) => be(t, Object), pt = Ce("array"), cn = U(null), kt = oe("boolean"), io = U(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = oe("function"), Ls = oe("number"), dn = (t, s) => {
21055
21055
  if (pt(t)) {
21056
21056
  for (let a = 0, c = t.length; a < c; ++a)
21057
21057
  if (!s(t[a]))
@@ -24900,7 +24900,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24900
24900
  return v(s, Mu.init, me, Me, () => D.some(p));
24901
24901
  };
24902
24902
  var O = S(pr("cyclic", Cn)), L = S(pr("cyclic", Nt));
24903
- const j = (t, s, a) => (Tb(t, a, Jc()), D.some(!0)), ne = (t, s, a) => wh(a) && ko(Ri)(s.event) ? D.none() : j(t, s, a), fe = (t, s) => D.some(!0), Oe = [
24903
+ const G = (t, s, a) => (Tb(t, a, Jc()), D.some(!0)), ne = (t, s, a) => wh(a) && ko(Ri)(s.event) ? D.none() : G(t, s, a), fe = (t, s) => D.some(!0), Oe = [
24904
24904
  $e("execute", ne),
24905
24905
  $e("useSpace", !1),
24906
24906
  $e("useEnter", !0),
@@ -42230,10 +42230,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
42230
42230
  const te = (i, m, h) => {
42231
42231
  var v;
42232
42232
  return h(i, m.prototype) ? !0 : ((v = i.constructor) === null || v === void 0 ? void 0 : v.name) === m.name;
42233
- }, G = (i) => {
42233
+ }, j = (i) => {
42234
42234
  const m = typeof i;
42235
42235
  return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && te(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
42236
- }, Ce = (i) => (m) => G(m) === i, oe = (i) => (m) => typeof m === i, U = (i) => (m) => i === m, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = U(void 0), kt = (i) => i == null, io = (i) => !kt(i), lo = oe("function"), eo = oe("number"), Ot = () => {
42236
+ }, Ce = (i) => (m) => j(m) === i, oe = (i) => (m) => typeof m === i, U = (i) => (m) => i === m, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = U(void 0), kt = (i) => i == null, io = (i) => !kt(i), lo = oe("function"), eo = oe("number"), Ot = () => {
42237
42237
  }, Ls = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), he = (i) => () => i, Tt = (i) => i, ia = (i, m) => i === m;
42238
42238
  function oo(i, ...m) {
42239
42239
  return (...h) => {
@@ -42803,13 +42803,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
42803
42803
  let m = !1, h;
42804
42804
  return (...v) => (m || (m = !0, h = i.apply(null, v)), h);
42805
42805
  }, Mg = (i, m, h, v) => {
42806
- const S = i.isiOS() && /ipad/i.test(h) === !0, O = i.isiOS() && !S, L = i.isiOS() || i.isAndroid(), j = L || v("(pointer:coarse)"), ne = S || !O && L && v("(min-device-width:768px)"), fe = O || L && !ne, Oe = m.isSafari() && i.isiOS() && /safari/i.test(h) === !1, lt = !fe && !ne && !Oe;
42806
+ const S = i.isiOS() && /ipad/i.test(h) === !0, O = i.isiOS() && !S, L = i.isiOS() || i.isAndroid(), G = L || v("(pointer:coarse)"), ne = S || !O && L && v("(min-device-width:768px)"), fe = O || L && !ne, Oe = m.isSafari() && i.isiOS() && /safari/i.test(h) === !1, lt = !fe && !ne && !Oe;
42807
42807
  return {
42808
42808
  isiPad: he(S),
42809
42809
  isiPhone: he(O),
42810
42810
  isTablet: he(ne),
42811
42811
  isPhone: he(fe),
42812
- isTouch: he(j),
42812
+ isTouch: he(G),
42813
42813
  isAndroid: i.isAndroid,
42814
42814
  isiOS: i.isiOS,
42815
42815
  isWebView: he(Oe),
@@ -43009,29 +43009,29 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43009
43009
  freebsd: he(Wh),
43010
43010
  chromeos: he($m)
43011
43011
  }, hb = { detect: (i, m, h) => {
43012
- const v = Cu.browsers(), S = Cu.oses(), O = m.bind((ne) => cc(v, ne)).orThunk(() => Ng(v, i)).fold(qa.unknown, qa.nu), L = k0(S, i).fold(xi.unknown, xi.nu), j = Mg(L, O, i, h);
43012
+ const v = Cu.browsers(), S = Cu.oses(), O = m.bind((ne) => cc(v, ne)).orThunk(() => Ng(v, i)).fold(qa.unknown, qa.nu), L = k0(S, i).fold(xi.unknown, xi.nu), G = Mg(L, O, i, h);
43013
43013
  return {
43014
43014
  browser: O,
43015
43015
  os: L,
43016
- deviceType: j
43016
+ deviceType: G
43017
43017
  };
43018
43018
  } }, Hg = (i) => window.matchMedia(i).matches;
43019
43019
  let Vg = tu(() => hb.detect(navigator.userAgent, pe.from(navigator.userAgentData), Hg));
43020
43020
  const ed = () => Vg(), Mm = (i, m) => {
43021
- const h = (j, ne) => {
43021
+ const h = (G, ne) => {
43022
43022
  if (!eo(ne) && !ne.match(/^[0-9]+$/))
43023
43023
  throw new Error(i + ".set accepts only positive integer values. Value was " + ne);
43024
- const fe = j.dom;
43024
+ const fe = G.dom;
43025
43025
  Wr(fe) && (fe.style[i] = ne + "px");
43026
- }, v = (j) => {
43027
- const ne = m(j);
43026
+ }, v = (G) => {
43027
+ const ne = m(G);
43028
43028
  if (ne <= 0 || ne === null) {
43029
- const fe = ha(j, i);
43029
+ const fe = ha(G, i);
43030
43030
  return parseFloat(fe) || 0;
43031
43031
  }
43032
43032
  return ne;
43033
- }, S = v, O = (j, ne) => nt(ne, (fe, Oe) => {
43034
- const lt = ha(j, Oe), Pt = lt === void 0 ? 0 : parseInt(lt, 10);
43033
+ }, S = v, O = (G, ne) => nt(ne, (fe, Oe) => {
43034
+ const lt = ha(G, Oe), Pt = lt === void 0 ? 0 : parseInt(lt, 10);
43035
43035
  return isNaN(Pt) ? fe : fe + Pt;
43036
43036
  }, 0);
43037
43037
  return {
@@ -43039,14 +43039,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43039
43039
  get: v,
43040
43040
  getOuter: S,
43041
43041
  aggregate: O,
43042
- max: (j, ne, fe) => {
43043
- const Oe = O(j, fe);
43042
+ max: (G, ne, fe) => {
43043
+ const Oe = O(G, fe);
43044
43044
  return ne > Oe ? ne - Oe : 0;
43045
43045
  }
43046
43046
  };
43047
43047
  }, Id = (i, m) => bo(i).getOr(m), Ps = (i, m, h) => Id(ha(i, m), h), Xs = (i, m, h, v) => {
43048
- const S = Ps(i, `padding-${h}`, 0), O = Ps(i, `padding-${v}`, 0), L = Ps(i, `border-${h}-width`, 0), j = Ps(i, `border-${v}-width`, 0);
43049
- return m - S - O - L - j;
43048
+ const S = Ps(i, `padding-${h}`, 0), O = Ps(i, `padding-${v}`, 0), L = Ps(i, `border-${h}-width`, 0), G = Ps(i, `border-${v}-width`, 0);
43049
+ return m - S - O - L - G;
43050
43050
  }, al = (i, m) => {
43051
43051
  const h = i.dom, v = h.getBoundingClientRect().width || h.offsetWidth;
43052
43052
  return m === "border-box" ? v : Xs(i, v, "left", "right");
@@ -43091,7 +43091,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43091
43091
  }), m;
43092
43092
  }, Go = (i) => {
43093
43093
  const m = {}, h = [], S = Te(i).map((Bt) => Bt.element).bind(rl).bind(cr).getOr({});
43094
- let O = 0, L = 0, j = 0;
43094
+ let O = 0, L = 0, G = 0;
43095
43095
  const {
43096
43096
  pass: ne,
43097
43097
  fail: fe
@@ -43100,16 +43100,16 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43100
43100
  const et = [];
43101
43101
  Be(Bt.cells, (Lt) => {
43102
43102
  let Xe = 0;
43103
- for (; m[jc(j, Xe)] !== void 0; )
43103
+ for (; m[jc(G, Xe)] !== void 0; )
43104
43104
  Xe++;
43105
- const tn = Ko(S, Xe.toString()), En = K(Lt.element, Lt.rowspan, Lt.colspan, j, Xe, tn);
43105
+ const tn = Ko(S, Xe.toString()), En = K(Lt.element, Lt.rowspan, Lt.colspan, G, Xe, tn);
43106
43106
  for (let Gn = 0; Gn < Lt.colspan; Gn++)
43107
43107
  for (let qs = 0; qs < Lt.rowspan; qs++) {
43108
- const Ta = j + qs, Tr = Xe + Gn, Mc = jc(Ta, Tr);
43108
+ const Ta = G + qs, Tr = Xe + Gn, Mc = jc(Ta, Tr);
43109
43109
  m[Mc] = En, L = Math.max(L, Tr + 1);
43110
43110
  }
43111
43111
  et.push(En);
43112
- }), O++, h.push(ge(Bt.element, et, Bt.section)), j++;
43112
+ }), O++, h.push(ge(Bt.element, et, Bt.section)), G++;
43113
43113
  });
43114
43114
  const { columns: Oe, colgroups: lt } = wn(ne).map((Bt) => {
43115
43115
  const et = qh(Bt);
@@ -43155,8 +43155,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43155
43155
  return pe.none();
43156
43156
  const h = i[m].fold(() => {
43157
43157
  const S = ji(i.slice(0, m));
43158
- return qo(S, (O, L) => O.map((j) => ({
43159
- value: j,
43158
+ return qo(S, (O, L) => O.map((G) => ({
43159
+ value: G,
43160
43160
  delta: L + 1
43161
43161
  })));
43162
43162
  }, (S) => pe.some({
@@ -43164,8 +43164,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43164
43164
  delta: 0
43165
43165
  })), v = i[m + 1].fold(() => {
43166
43166
  const S = i.slice(m + 1);
43167
- return qo(S, (O, L) => O.map((j) => ({
43168
- value: j,
43167
+ return qo(S, (O, L) => O.map((G) => ({
43168
+ value: G,
43169
43169
  delta: L + 1
43170
43170
  })));
43171
43171
  }, (S) => pe.some({
@@ -43190,8 +43190,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43190
43190
  const m = i.dom.ownerDocument, h = m.body, v = m.defaultView, S = m.documentElement;
43191
43191
  if (h === i.dom)
43192
43192
  return ce(h.offsetLeft, h.offsetTop);
43193
- const O = ut(v == null ? void 0 : v.pageYOffset, S.scrollTop), L = ut(v == null ? void 0 : v.pageXOffset, S.scrollLeft), j = ut(S.clientTop, h.clientTop), ne = ut(S.clientLeft, h.clientLeft);
43194
- return Rn(i).translate(L - ne, O - j);
43193
+ const O = ut(v == null ? void 0 : v.pageYOffset, S.scrollTop), L = ut(v == null ? void 0 : v.pageXOffset, S.scrollLeft), G = ut(S.clientTop, h.clientTop), ne = ut(S.clientLeft, h.clientLeft);
43194
+ return Rn(i).translate(L - ne, O - G);
43195
43195
  }, Rn = (i) => {
43196
43196
  const m = i.dom, v = m.ownerDocument.body;
43197
43197
  return v === m ? ce(v.offsetLeft, v.offsetTop) : js(i) ? ve(m) : ce(0, 0);
@@ -43204,7 +43204,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43204
43204
  }), Ws = (i) => Jt(i).left + Ci(i), oa = (i) => Jt(i).left, Wl = (i, m) => vn(i, oa(m)), su = (i, m) => vn(i, Ws(m)), va = (i) => Jt(i).top, $y = (i, m) => Tn(i, va(m)), Es = (i, m) => Tn(i, va(m) + _(m)), rn = (i, m, h) => {
43205
43205
  if (h.length === 0)
43206
43206
  return [];
43207
- const v = _t(h.slice(1), (O, L) => O.map((j) => i(L, j))), S = h[h.length - 1].map((O) => m(h.length - 1, O));
43207
+ const v = _t(h.slice(1), (O, L) => O.map((G) => i(L, G))), S = h[h.length - 1].map((O) => m(h.length - 1, O));
43208
43208
  return v.concat([S]);
43209
43209
  }, Tu = (i) => -i, qt = {
43210
43210
  delta: Tt,
@@ -43253,7 +43253,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43253
43253
  relative: ["%"],
43254
43254
  empty: [""]
43255
43255
  }, Gg = (() => {
43256
- const i = "[0-9]+", h = "[eE]" + ("[+-]?" + i), v = "\\.", S = (j) => `(?:${j})?`, L = `[+-]?(?:${[
43256
+ const i = "[0-9]+", h = "[eE]" + ("[+-]?" + i), v = "\\.", S = (G) => `(?:${G})?`, L = `[+-]?(?:${[
43257
43257
  "Infinity",
43258
43258
  i + v + S(i) + S(h),
43259
43259
  v + i + S(h),
@@ -43300,18 +43300,18 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43300
43300
  const m = ed().browser, h = m.isChromium() || m.isFirefox();
43301
43301
  return _i(i) ? h : !0;
43302
43302
  }, Pm = (i, m, h, v, S, O) => i.filter(v).fold(() => O(T0(h, m)), (L) => S(L)), La = (i, m, h, v) => {
43303
- const S = od(i), O = Yn.hasColumns(i) ? Uo(i) : S, L = [pe.some(Br.edge(m))].concat(_t(Br.positions(S, m), (ne) => ne.map((fe) => fe.x))), j = ae(Ga);
43304
- return _t(O, (ne, fe) => Pm(ne, fe, L, j, (Oe) => {
43303
+ const S = od(i), O = Yn.hasColumns(i) ? Uo(i) : S, L = [pe.some(Br.edge(m))].concat(_t(Br.positions(S, m), (ne) => ne.map((fe) => fe.x))), G = ae(Ga);
43304
+ return _t(O, (ne, fe) => Pm(ne, fe, L, G, (Oe) => {
43305
43305
  if (Du(Oe))
43306
43306
  return h(Oe);
43307
43307
  {
43308
43308
  const lt = Md(S[fe], Tt);
43309
- return Pm(lt, fe, L, j, (Pt) => v(pe.some(ll(Pt))), v);
43309
+ return Pm(lt, fe, L, G, (Pt) => v(pe.some(ll(Pt))), v);
43310
43310
  }
43311
43311
  }, v));
43312
43312
  }, D0 = (i) => i.map((m) => m + "px").getOr(""), Nm = (i, m) => La(i, m, A0, D0), Im = (i, m, h) => La(i, m, Ia, (v) => v.fold(() => h.minCellWidth(), (S) => S / h.pixelWidth() * 100)), kl = (i, m, h) => La(i, m, pr, (v) => v.getOrThunk(h.minCellWidth)), Vd = (i, m, h, v, S) => {
43313
- const O = Zg(i), L = [pe.some(h.edge(m))].concat(_t(h.positions(O, m), (j) => j.map((ne) => ne.y)));
43314
- return _t(O, (j, ne) => Pm(j, ne, L, ae(bi), v, S));
43313
+ const O = Zg(i), L = [pe.some(h.edge(m))].concat(_t(h.positions(O, m), (G) => G.map((ne) => ne.y)));
43314
+ return _t(O, (G, ne) => Pm(G, ne, L, ae(bi), v, S));
43315
43315
  }, $e = (i, m, h) => Vd(i, m, h, Xh, (v) => v.getOrThunk(Sc)), Zl = (i, m, h) => Vd(i, m, h, Ec, D0), qc = (i, m) => () => js(i) ? m(i) : parseFloat(Rg(i, "width").getOr("0")), Kc = (i) => {
43316
43316
  const m = qc(i, ll), h = he(0);
43317
43317
  return {
@@ -43348,14 +43348,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43348
43348
  return {
43349
43349
  width: m,
43350
43350
  pixelWidth: m,
43351
- getWidths: (L, j) => kl(L, i, j),
43351
+ getWidths: (L, G) => kl(L, i, G),
43352
43352
  getCellDelta: Tt,
43353
- singleColumnWidth: (L, j) => [Math.max(lr(), L + j) - L],
43353
+ singleColumnWidth: (L, G) => [Math.max(lr(), L + G) - L],
43354
43354
  minCellWidth: lr,
43355
43355
  setElementWidth: dt,
43356
43356
  adjustTableWidth: (L) => {
43357
- const j = m() + L;
43358
- dt(i, j);
43357
+ const G = m() + L;
43358
+ dt(i, G);
43359
43359
  },
43360
43360
  isRelative: !1,
43361
43361
  label: "pixel"
@@ -43374,24 +43374,24 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43374
43374
  selectedCells: O
43375
43375
  }), hn = (i, m) => {
43376
43376
  const h = i.grid.columns;
43377
- let S = i.grid.rows, O = h, L = 0, j = 0;
43377
+ let S = i.grid.rows, O = h, L = 0, G = 0;
43378
43378
  const ne = [], fe = [];
43379
43379
  return Vo(i.access, (Oe) => {
43380
43380
  if (ne.push(Oe), m(Oe)) {
43381
43381
  fe.push(Oe);
43382
43382
  const lt = Oe.row, Pt = lt + Oe.rowspan - 1, Bt = Oe.column, et = Bt + Oe.colspan - 1;
43383
- lt < S ? S = lt : Pt > L && (L = Pt), Bt < O ? O = Bt : et > j && (j = et);
43383
+ lt < S ? S = lt : Pt > L && (L = Pt), Bt < O ? O = Bt : et > G && (G = et);
43384
43384
  }
43385
- }), Ou(S, O, L, j, ne, fe);
43385
+ }), Ou(S, O, L, G, ne, fe);
43386
43386
  }, x = (i, m, h) => {
43387
43387
  const v = i[h].element, S = Ae.fromTag("td");
43388
43388
  os(S, Ae.fromTag("br")), (m ? os : Hs)(v, S);
43389
43389
  }, T = (i, m, h, v) => {
43390
- const S = ho(i, (j) => j.section !== "colgroup"), O = m.grid.columns, L = m.grid.rows;
43391
- for (let j = 0; j < L; j++) {
43390
+ const S = ho(i, (G) => G.section !== "colgroup"), O = m.grid.columns, L = m.grid.rows;
43391
+ for (let G = 0; G < L; G++) {
43392
43392
  let ne = !1;
43393
43393
  for (let fe = 0; fe < O; fe++)
43394
- j < h.minRow || j > h.maxRow || fe < h.minCol || fe > h.maxCol || (Yn.getAt(m, j, fe).filter(v).isNone() ? x(S, ne, j) : ne = !0);
43394
+ G < h.minRow || G > h.maxRow || fe < h.minCol || fe > h.maxCol || (Yn.getAt(m, G, fe).filter(v).isNone() ? x(S, ne, G) : ne = !0);
43395
43395
  }
43396
43396
  }, V = (i, m, h, v) => {
43397
43397
  Vo(h.columns, (L) => {
@@ -43407,10 +43407,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43407
43407
  const S = kl(m, i, h), O = nt(S, (fe, Oe) => fe + Oe, 0), ne = nt(S.slice(v.minCol, v.maxCol + 1), (fe, Oe) => fe + Oe, 0) / O * h.pixelWidth() - h.pixelWidth();
43408
43408
  return h.getCellDelta(ne);
43409
43409
  }, we = (i, m) => {
43410
- const h = (Pt) => Yr(Pt.element, m), v = Vl(i), S = vi(v), O = Gl.getTableSize(i), L = Yn.generate(S), j = hn(L, h), ne = "th:not(" + m + "),td:not(" + m + ")", fe = Ju(v, "th,td", (Pt) => Yr(Pt, ne));
43411
- Be(fe, ar), T(S, L, j, h);
43412
- const Oe = Yn.fromTable(i), lt = X(i, Oe, O, j);
43413
- return V(v, j, L, lt), v;
43410
+ const h = (Pt) => Yr(Pt.element, m), v = Vl(i), S = vi(v), O = Gl.getTableSize(i), L = Yn.generate(S), G = hn(L, h), ne = "th:not(" + m + "),td:not(" + m + ")", fe = Ju(v, "th,td", (Pt) => Yr(Pt, ne));
43411
+ Be(fe, ar), T(S, L, G, h);
43412
+ const Oe = Yn.fromTable(i), lt = X(i, Oe, O, G);
43413
+ return V(v, G, L, lt), v;
43414
43414
  }, je = " ", Mt = ((i, m) => {
43415
43415
  const h = (O) => {
43416
43416
  if (!i(O))
@@ -43436,9 +43436,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43436
43436
  const L = S[O];
43437
43437
  if (m(L))
43438
43438
  return pe.some(L);
43439
- const j = h(L);
43440
- if (j.isSome())
43441
- return j;
43439
+ const G = h(L);
43440
+ if (G.isSome())
43441
+ return G;
43442
43442
  }
43443
43443
  return pe.none();
43444
43444
  };
@@ -43457,18 +43457,18 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43457
43457
  S === null ? Fs(v, O) : Zs(v, O, S);
43458
43458
  }), v;
43459
43459
  }, Fm = (i) => i, No = (i, m, h) => zd(i).map((S) => {
43460
- const O = h.join(","), L = Qn(S, O, (j) => ns(j, i));
43461
- return vr(L, (j, ne) => {
43460
+ const O = h.join(","), L = Qn(S, O, (G) => ns(G, i));
43461
+ return vr(L, (G, ne) => {
43462
43462
  const fe = ta(ne);
43463
- return os(j, fe), fe;
43463
+ return os(G, fe), fe;
43464
43464
  }, m);
43465
43465
  }).getOr(m), uo = (i, m) => {
43466
43466
  Vo(Mf, (h, v) => ua(i, v).filter((S) => go(h, S)).each((S) => Zs(m, v, S)));
43467
43467
  }, wa = (i, m, h) => {
43468
- const v = (L, j) => {
43469
- Tf(L.element, j), lc(j, "height"), L.colspan !== 1 && lc(j, "width");
43468
+ const v = (L, G) => {
43469
+ Tf(L.element, G), lc(G, "height"), L.colspan !== 1 && lc(G, "width");
43470
43470
  }, S = (L) => {
43471
- const j = Ae.fromTag(ts(L.element), m.dom), ne = h.getOr([
43471
+ const G = Ae.fromTag(ts(L.element), m.dom), ne = h.getOr([
43472
43472
  "strong",
43473
43473
  "em",
43474
43474
  "b",
@@ -43483,13 +43483,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43483
43483
  "h6",
43484
43484
  "p",
43485
43485
  "div"
43486
- ]), fe = ne.length > 0 ? No(L.element, j, ne) : j;
43487
- return os(fe, Ae.fromTag("br")), v(L, j), uo(L.element, j), i(L.element, j), j;
43486
+ ]), fe = ne.length > 0 ? No(L.element, G, ne) : G;
43487
+ return os(fe, Ae.fromTag("br")), v(L, G), uo(L.element, G), i(L.element, G), G;
43488
43488
  };
43489
43489
  return {
43490
43490
  col: (L) => {
43491
- const j = Ae.fromTag(ts(L.element), m.dom);
43492
- return v(L, j), i(L.element, j), j;
43491
+ const G = Ae.fromTag(ts(L.element), m.dom);
43492
+ return v(L, G), i(L.element, G), G;
43493
43493
  },
43494
43494
  colgroup: Gr(m),
43495
43495
  row: Xc(m),
@@ -43626,8 +43626,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43626
43626
  const v = Iy(i);
43627
43627
  return Tb(v, m, h);
43628
43628
  }, As = (i, m, h, v, S) => {
43629
- const O = Iy(i), L = ns(i, h) ? pe.some(m) : N0(O, m), j = ns(i, S) ? pe.some(v) : N0(O, v);
43630
- return L.bind((ne) => j.bind((fe) => Tb(O, ne, fe)));
43629
+ const O = Iy(i), L = ns(i, h) ? pe.some(m) : N0(O, m), G = ns(i, S) ? pe.some(v) : N0(O, v);
43630
+ return L.bind((ne) => G.bind((fe) => Tb(O, ne, fe)));
43631
43631
  }, Ny = (i, m, h) => {
43632
43632
  const v = Iy(i);
43633
43633
  return mn(v, m, h);
@@ -43673,7 +43673,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43673
43673
  ], ts(fe)) : !1, S = (fe) => Dr(fe) && Ur(fe, "contenteditable") === "false", O = (fe, Oe) => fe.dom.compareDocumentPosition(Oe.dom), L = (fe, Oe) => {
43674
43674
  const lt = Or(fe);
43675
43675
  yl(Oe, lt);
43676
- }, j = (fe) => {
43676
+ }, G = (fe) => {
43677
43677
  const Oe = ts(fe);
43678
43678
  return go([
43679
43679
  "script",
@@ -43741,7 +43741,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43741
43741
  isText: Il,
43742
43742
  isComment: Xo,
43743
43743
  isElement: Dr,
43744
- isSpecial: j,
43744
+ isSpecial: G,
43745
43745
  getLanguage: ne,
43746
43746
  getText: an,
43747
43747
  setText: ir,
@@ -43759,13 +43759,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43759
43759
  }, R4 = (i, m, h) => h.length > 0 ? Eb(i, m, h, I0) : pe.none(), I0 = (i, m, h, v) => {
43760
43760
  const S = m(i, h);
43761
43761
  return vr(v, (O, L) => {
43762
- const j = m(i, L);
43763
- return $4(i, O, j);
43762
+ const G = m(i, L);
43763
+ return $4(i, O, G);
43764
43764
  }, S);
43765
43765
  }, $4 = (i, m, h) => m.bind((v) => h.filter(oo(i.eq, v))), ep = (i, m) => oo(i.eq, m), Fy = (i, m, h, v = In) => {
43766
- const S = [m].concat(i.up().all(m)), O = [h].concat(i.up().all(h)), L = (Oe) => tl(Oe, v).fold(() => Oe, (Pt) => Oe.slice(0, Pt + 1)), j = L(S), ne = L(O), fe = z(j, (Oe) => st(ne, ep(i, Oe)));
43766
+ const S = [m].concat(i.up().all(m)), O = [h].concat(i.up().all(h)), L = (Oe) => tl(Oe, v).fold(() => Oe, (Pt) => Oe.slice(0, Pt + 1)), G = L(S), ne = L(O), fe = z(G, (Oe) => st(ne, ep(i, Oe)));
43767
43767
  return {
43768
- firstpath: j,
43768
+ firstpath: G,
43769
43769
  secondpath: ne,
43770
43770
  shared: fe
43771
43771
  };
@@ -43783,24 +43783,24 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43783
43783
  finish: m
43784
43784
  });
43785
43785
  if (Tm(S, O)) {
43786
- const L = Qn(m, "td,th", v(S)), j = L.length > 0 ? L[L.length - 1] : m;
43786
+ const L = Qn(m, "td,th", v(S)), G = L.length > 0 ? L[L.length - 1] : m;
43787
43787
  return pe.some({
43788
43788
  boxes: As(S, i, S, m, O),
43789
43789
  start: i,
43790
- finish: j
43790
+ finish: G
43791
43791
  });
43792
43792
  } else if (Tm(O, S)) {
43793
- const L = Qn(i, "td,th", v(O)), j = L.length > 0 ? L[L.length - 1] : i;
43793
+ const L = Qn(i, "td,th", v(O)), G = L.length > 0 ? L[L.length - 1] : i;
43794
43794
  return pe.some({
43795
43795
  boxes: As(O, i, S, m, O),
43796
43796
  start: i,
43797
- finish: j
43797
+ finish: G
43798
43798
  });
43799
43799
  } else
43800
- return Zd(i, m).shared.bind((L) => Bs(L, "table", h).bind((j) => {
43801
- const ne = Qn(m, "td,th", v(j)), fe = ne.length > 0 ? ne[ne.length - 1] : m, Oe = Qn(i, "td,th", v(j)), lt = Oe.length > 0 ? Oe[Oe.length - 1] : i;
43800
+ return Zd(i, m).shared.bind((L) => Bs(L, "table", h).bind((G) => {
43801
+ const ne = Qn(m, "td,th", v(G)), fe = ne.length > 0 ? ne[ne.length - 1] : m, Oe = Qn(i, "td,th", v(G)), lt = Oe.length > 0 ? Oe[Oe.length - 1] : i;
43802
43802
  return pe.some({
43803
- boxes: As(j, i, S, m, O),
43803
+ boxes: As(G, i, S, m, O),
43804
43804
  start: lt,
43805
43805
  finish: fe
43806
43806
  });
@@ -43821,8 +43821,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43821
43821
  start: S.start,
43822
43822
  finish: S.finish
43823
43823
  }))))), Ab = (i, m, h, v, S) => Vy(i, S).bind((O) => O4(O, m, h).bind((L) => tC(L, v))), zy = (i, m) => Wm(i, m), B4 = (i, m, h) => oh(i, m, h).bind((v) => {
43824
- const S = (ne) => ns(i, ne), O = "thead,tfoot,tbody,table", L = zc(v.first, O, S), j = zc(v.last, O, S);
43825
- return L.bind((ne) => j.bind((fe) => ns(ne, fe) ? Ny(v.table, v.first, v.last) : pe.none()));
43824
+ const S = (ne) => ns(i, ne), O = "thead,tfoot,tbody,table", L = zc(v.first, O, S), G = zc(v.last, O, S);
43825
+ return L.bind((ne) => G.bind((fe) => ns(ne, fe) ? Ny(v.table, v.first, v.last) : pe.none()));
43826
43826
  }), Uy = Tt, jd = (i) => {
43827
43827
  const m = (v, S) => ua(v, S).exists((O) => parseInt(O, 10) > 1), h = (v) => m(v, "rowspan") || m(v, "colspan");
43828
43828
  return i.length > 0 && Wo(i, h) ? pe.some(i) : pe.none();
@@ -43871,8 +43871,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43871
43871
  const v = uu(i);
43872
43872
  Te(v).each((S) => {
43873
43873
  rl(S).each((O) => {
43874
- const L = ho(O0(h.content), (ne) => ts(ne) !== "meta"), j = Cr("table");
43875
- if (br(i) && L.length === 1 && j(L[0])) {
43874
+ const L = ho(O0(h.content), (ne) => ts(ne) !== "meta"), G = Cr("table");
43875
+ if (br(i) && L.length === 1 && G(L[0])) {
43876
43876
  h.preventDefault();
43877
43877
  const ne = Ae.fromDom(i.getDoc()), fe = ul(ne), Oe = L0(S, L[0], fe);
43878
43878
  m.pasteCells(O, Oe).each(() => {
@@ -43904,32 +43904,32 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43904
43904
  } else
43905
43905
  return v;
43906
43906
  }, $b = Rb((i) => i < 0), F4 = Rb(Ze), aC = () => {
43907
- const i = (j, ne, fe, Oe, lt) => {
43908
- const Pt = $b(j, ne, Oe, lt);
43909
- return rp(j, ne, fe + 1, [
43907
+ const i = (G, ne, fe, Oe, lt) => {
43908
+ const Pt = $b(G, ne, Oe, lt);
43909
+ return rp(G, ne, fe + 1, [
43910
43910
  Pt,
43911
43911
  0
43912
43912
  ], ei);
43913
- }, m = (j, ne, fe, Oe) => {
43914
- const lt = (100 + fe) / 100, Pt = Math.max(Oe, (j[ne] + fe) / lt);
43915
- return _t(j, (Bt, et) => (et === ne ? Pt : Bt / lt) - Bt);
43916
- }, h = (j, ne, fe, Oe, lt, Pt) => Pt ? m(j, ne, Oe, lt) : i(j, ne, fe, Oe, lt);
43913
+ }, m = (G, ne, fe, Oe) => {
43914
+ const lt = (100 + fe) / 100, Pt = Math.max(Oe, (G[ne] + fe) / lt);
43915
+ return _t(G, (Bt, et) => (et === ne ? Pt : Bt / lt) - Bt);
43916
+ }, h = (G, ne, fe, Oe, lt, Pt) => Pt ? m(G, ne, Oe, lt) : i(G, ne, fe, Oe, lt);
43917
43917
  return {
43918
- resizeTable: (j, ne) => j(ne),
43918
+ resizeTable: (G, ne) => G(ne),
43919
43919
  clampTableDelta: $b,
43920
43920
  calcLeftEdgeDeltas: h,
43921
- calcMiddleDeltas: (j, ne, fe, Oe, lt, Pt, Bt) => h(j, fe, Oe, lt, Pt, Bt),
43922
- calcRightEdgeDeltas: (j, ne, fe, Oe, lt, Pt) => {
43921
+ calcMiddleDeltas: (G, ne, fe, Oe, lt, Pt, Bt) => h(G, fe, Oe, lt, Pt, Bt),
43922
+ calcRightEdgeDeltas: (G, ne, fe, Oe, lt, Pt) => {
43923
43923
  if (Pt)
43924
- return m(j, fe, Oe, lt);
43924
+ return m(G, fe, Oe, lt);
43925
43925
  {
43926
- const Bt = $b(j, fe, Oe, lt);
43927
- return ei(j.slice(0, fe)).concat([Bt]);
43926
+ const Bt = $b(G, fe, Oe, lt);
43927
+ return ei(G.slice(0, fe)).concat([Bt]);
43928
43928
  }
43929
43929
  },
43930
- calcRedestributedWidths: (j, ne, fe, Oe) => {
43930
+ calcRedestributedWidths: (G, ne, fe, Oe) => {
43931
43931
  if (Oe) {
43932
- const Pt = (ne + fe) / ne, Bt = _t(j, (et) => et / Pt);
43932
+ const Pt = (ne + fe) / ne, Bt = _t(G, (et) => et / Pt);
43933
43933
  return {
43934
43934
  delta: Pt * 100 - 100,
43935
43935
  newSizes: Bt
@@ -43937,23 +43937,23 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43937
43937
  } else
43938
43938
  return {
43939
43939
  delta: fe,
43940
- newSizes: j
43940
+ newSizes: G
43941
43941
  };
43942
43942
  }
43943
43943
  };
43944
43944
  }, Gy = () => {
43945
- const i = (L, j, ne, fe, Oe) => {
43946
- const lt = fe >= 0 ? ne : j, Pt = F4(L, lt, fe, Oe);
43947
- return rp(L, j, ne + 1, [
43945
+ const i = (L, G, ne, fe, Oe) => {
43946
+ const lt = fe >= 0 ? ne : G, Pt = F4(L, lt, fe, Oe);
43947
+ return rp(L, G, ne + 1, [
43948
43948
  Pt,
43949
43949
  -Pt
43950
43950
  ], ei);
43951
43951
  };
43952
43952
  return {
43953
- resizeTable: (L, j, ne) => {
43954
- ne && L(j);
43953
+ resizeTable: (L, G, ne) => {
43954
+ ne && L(G);
43955
43955
  },
43956
- clampTableDelta: (L, j, ne, fe, Oe) => {
43956
+ clampTableDelta: (L, G, ne, fe, Oe) => {
43957
43957
  if (Oe) {
43958
43958
  if (ne >= 0)
43959
43959
  return ne;
@@ -43962,11 +43962,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43962
43962
  return Math.max(-lt, ne);
43963
43963
  }
43964
43964
  } else
43965
- return $b(L, j, ne, fe);
43965
+ return $b(L, G, ne, fe);
43966
43966
  },
43967
43967
  calcLeftEdgeDeltas: i,
43968
- calcMiddleDeltas: (L, j, ne, fe, Oe, lt) => i(L, ne, fe, Oe, lt),
43969
- calcRightEdgeDeltas: (L, j, ne, fe, Oe, lt) => {
43968
+ calcMiddleDeltas: (L, G, ne, fe, Oe, lt) => i(L, ne, fe, Oe, lt),
43969
+ calcRightEdgeDeltas: (L, G, ne, fe, Oe, lt) => {
43970
43970
  if (lt)
43971
43971
  return ei(L);
43972
43972
  {
@@ -43974,7 +43974,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
43974
43974
  return _t(L, he(Pt));
43975
43975
  }
43976
43976
  },
43977
- calcRedestributedWidths: (L, j, ne, fe) => ({
43977
+ calcRedestributedWidths: (L, G, ne, fe) => ({
43978
43978
  delta: 0,
43979
43979
  newSizes: L
43980
43980
  })
@@ -44050,10 +44050,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44050
44050
  }), O = (Bt) => rs(Bt, (et) => _t(et.cells, (Lt) => (Gd(Lt.element, "span", Lt.colspan, 1), Lt.element))), L = (Bt, et) => {
44051
44051
  const Lt = ip(i, et), tn = (et === "colgroup" ? O : S)(Bt);
44052
44052
  Rr(Lt, tn);
44053
- }, j = (Bt) => {
44053
+ }, G = (Bt) => {
44054
44054
  Co(i, Bt).each(ar);
44055
44055
  }, ne = (Bt, et) => {
44056
- Bt.length > 0 ? L(Bt, et) : j(et);
44056
+ Bt.length > 0 ? L(Bt, et) : G(et);
44057
44057
  }, fe = [], Oe = [], lt = [], Pt = [];
44058
44058
  return Be(m, (Bt) => {
44059
44059
  switch (Bt.section) {
@@ -44086,22 +44086,22 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44086
44086
  const h = i[0];
44087
44087
  return tl(i, (S) => !m(h.element, S.element)).getOr(i.length);
44088
44088
  }, iC = (i, m, h, v) => {
44089
- const S = z4(i, m), O = S.section === "colgroup", L = Nr(S.cells.slice(h), v), j = O ? 1 : Nr(Is(i.slice(m), h), v);
44089
+ const S = z4(i, m), O = S.section === "colgroup", L = Nr(S.cells.slice(h), v), G = O ? 1 : Nr(Is(i.slice(m), h), v);
44090
44090
  return {
44091
44091
  colspan: L,
44092
- rowspan: j
44092
+ rowspan: G
44093
44093
  };
44094
44094
  }, or = (i, m) => {
44095
- const h = _t(i, (S) => _t(S.cells, In)), v = (S, O, L, j) => {
44095
+ const h = _t(i, (S) => _t(S.cells, In)), v = (S, O, L, G) => {
44096
44096
  for (let ne = S; ne < S + L; ne++)
44097
- for (let fe = O; fe < O + j; fe++)
44097
+ for (let fe = O; fe < O + G; fe++)
44098
44098
  h[ne][fe] = !0;
44099
44099
  };
44100
44100
  return _t(i, (S, O) => {
44101
- const L = rs(S.cells, (j, ne) => {
44101
+ const L = rs(S.cells, (G, ne) => {
44102
44102
  if (h[O][ne] === !1) {
44103
44103
  const fe = iC(i, O, ne, m);
44104
- return v(O, ne, fe.rowspan, fe.colspan), [Ku(j.element, fe.rowspan, fe.colspan, j.isNew)];
44104
+ return v(O, ne, fe.rowspan, fe.colspan), [Ku(G.element, fe.rowspan, fe.colspan, G.isNew)];
44105
44105
  } else
44106
44106
  return [];
44107
44107
  });
@@ -44112,8 +44112,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44112
44112
  Be(i.colgroups, (S) => {
44113
44113
  const O = [];
44114
44114
  for (let L = 0; L < i.grid.columns; L++) {
44115
- const j = Yn.getColumnAt(i, L).map((ne) => Ie(ne.element, h, !1)).getOrThunk(() => Ie(m.colGap(), !0, !1));
44116
- O.push(j);
44115
+ const G = Yn.getColumnAt(i, L).map((ne) => Ie(ne.element, h, !1)).getOrThunk(() => Ie(m.colGap(), !0, !1));
44116
+ O.push(G);
44117
44117
  }
44118
44118
  v.push(ft(S.element, O, "colgroup", h));
44119
44119
  });
@@ -44123,17 +44123,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44123
44123
  const fe = Yn.getAt(i, S, ne).map((Oe) => Ie(Oe.element, h, Oe.isLocked)).getOrThunk(() => Ie(m.gap(), !0, !1));
44124
44124
  O.push(fe);
44125
44125
  }
44126
- const L = i.all[S], j = ft(L.element, O, L.section, h);
44127
- v.push(j);
44126
+ const L = i.all[S], G = ft(L.element, O, L.section, h);
44127
+ v.push(G);
44128
44128
  }
44129
44129
  return v;
44130
44130
  }, ra = (i, m) => up(i, m, !1), ur = (i) => or(i, ns), ki = (i, m) => qo(i.all, (h) => z(h.cells, (v) => ns(m, v.element))), Yy = (i, m, h) => {
44131
44131
  const v = _t(m.selection, (O) => Am(O).bind((L) => ki(i, L)).filter(h)), S = Us(v);
44132
44132
  return Lh(S.length > 0, S);
44133
- }, fl = (i, m, h, v, S) => (O, L, j, ne) => {
44133
+ }, fl = (i, m, h, v, S) => (O, L, G, ne) => {
44134
44134
  const fe = Yn.fromTable(O), Oe = pe.from(ne == null ? void 0 : ne.section).getOrThunk(Vf.fallback);
44135
44135
  return m(fe, L).map((Pt) => {
44136
- const Bt = ra(fe, j), et = i(Bt, Pt, ns, S(j), Oe), Lt = jr(et.grid), Xe = ur(et.grid);
44136
+ const Bt = ra(fe, G), et = i(Bt, Pt, ns, S(G), Oe), Lt = jr(et.grid), Xe = ur(et.grid);
44137
44137
  return {
44138
44138
  info: Pt,
44139
44139
  grid: Xe,
@@ -44166,35 +44166,35 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44166
44166
  return i;
44167
44167
  for (let O = m.startRow; O <= m.finishRow; O++)
44168
44168
  for (let L = m.startCol; L <= m.finishCol; L++) {
44169
- const j = S[O], ne = ba(j, L).isLocked;
44170
- Ld(j, L, Ie(v(), !1, ne));
44169
+ const G = S[O], ne = ba(G, L).isLocked;
44170
+ Ld(G, L, Ie(v(), !1, ne));
44171
44171
  }
44172
44172
  return i;
44173
44173
  }, Kl = (i, m, h, v) => {
44174
44174
  const S = Mr(i).rows;
44175
44175
  let O = !0;
44176
44176
  for (let L = 0; L < S.length; L++)
44177
- for (let j = 0; j < Ul(S[0]); j++) {
44178
- const ne = S[L], fe = ba(ne, j), Oe = fe.element, lt = h(Oe, m);
44179
- lt && !O ? Ld(ne, j, Ie(v(), !0, fe.isLocked)) : lt && (O = !1);
44177
+ for (let G = 0; G < Ul(S[0]); G++) {
44178
+ const ne = S[L], fe = ba(ne, G), Oe = fe.element, lt = h(Oe, m);
44179
+ lt && !O ? Ld(ne, G, Ie(v(), !0, fe.isLocked)) : lt && (O = !1);
44180
44180
  }
44181
44181
  return i;
44182
44182
  }, W4 = (i, m) => nt(i, (h, v) => st(h, (S) => m(S.element, v.element)) ? h : h.concat([v]), []), Z4 = (i, m, h, v) => (m > 0 && m < i[0].cells.length && Be(i, (S) => {
44183
44183
  const O = S.cells[m - 1];
44184
44184
  let L = 0;
44185
- const j = v();
44185
+ const G = v();
44186
44186
  for (; S.cells.length > m + L && h(O.element, S.cells[m + L].element); )
44187
- Ld(S, m + L, Ie(j, !0, S.cells[m + L].isLocked)), L++;
44187
+ Ld(S, m + L, Ie(G, !0, S.cells[m + L].isLocked)), L++;
44188
44188
  }), i), Uf = (i, m, h, v) => {
44189
44189
  const S = Mr(i).rows;
44190
44190
  if (m > 0 && m < S.length) {
44191
44191
  const O = S[m - 1].cells, L = W4(O, h);
44192
- Be(L, (j) => {
44192
+ Be(L, (G) => {
44193
44193
  let ne = pe.none();
44194
44194
  for (let fe = m; fe < S.length; fe++)
44195
44195
  for (let Oe = 0; Oe < Ul(S[0]); Oe++) {
44196
44196
  const lt = S[fe], Pt = ba(lt, Oe);
44197
- h(Pt.element, j.element) && (ne.isNone() && (ne = pe.some(v())), ne.each((et) => {
44197
+ h(Pt.element, G.element) && (ne.isNone() && (ne = pe.some(v())), ne.each((et) => {
44198
44198
  Ld(lt, Oe, Ie(et, !0, Pt.isLocked));
44199
44199
  }));
44200
44200
  }
@@ -44275,8 +44275,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44275
44275
  }, dC = (i, m, h, v) => {
44276
44276
  const S = i[i.length - 1];
44277
44277
  return i.concat(Ht(m, () => {
44278
- const O = S.section === "colgroup" ? h.colgroup : h.row, L = Fd(S, O, Tt), j = ah(L.cells.length, L, h, (ne) => ds(v, ne.toString()));
44279
- return Of(L, j);
44278
+ const O = S.section === "colgroup" ? h.colgroup : h.row, L = Fd(S, O, Tt), G = ah(L.cells.length, L, h, (ne) => ds(v, ne.toString()));
44279
+ return Of(L, G);
44280
44280
  }));
44281
44281
  }, kr = (i, m, h, v) => _t(i, (S) => {
44282
44282
  const O = ah(m, S, h, In);
@@ -44285,51 +44285,51 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44285
44285
  const L = ah(1, v, m, Ze)[0];
44286
44286
  return Su(S, O, L);
44287
44287
  }, v)), pp = (i, m, h) => {
44288
- const v = m.colDelta < 0 ? kr : Tt, S = m.rowDelta < 0 ? dC : Tt, O = jr(i), L = Ul(i[0]), j = st(O, (Oe) => Oe === L - 1), ne = v(i, Math.abs(m.colDelta), h, j ? L - 1 : L), fe = jr(ne);
44288
+ const v = m.colDelta < 0 ? kr : Tt, S = m.rowDelta < 0 ? dC : Tt, O = jr(i), L = Ul(i[0]), G = st(O, (Oe) => Oe === L - 1), ne = v(i, Math.abs(m.colDelta), h, G ? L - 1 : L), fe = jr(ne);
44289
44289
  return S(ne, Math.abs(m.rowDelta), h, Ke(fe, Ze));
44290
44290
  }, fC = (i, m, h, v) => {
44291
44291
  const S = ba(i[m], h), O = oo(v, S.element), L = i[m];
44292
44292
  return i.length > 1 && Ul(L) > 1 && (h > 0 && O(hr(L, h - 1)) || h < L.cells.length - 1 && O(hr(L, h + 1)) || m > 0 && O(hr(i[m - 1], h)) || m < i.length - 1 && O(hr(i[m + 1], h)));
44293
44293
  }, Vb = (i, m, h, v, S, O) => {
44294
- const L = i.row, j = i.column, ne = h.length, fe = Ul(h[0]), Oe = L + ne, lt = j + fe + O.length, Pt = Ke(O, Ze);
44294
+ const L = i.row, G = i.column, ne = h.length, fe = Ul(h[0]), Oe = L + ne, lt = G + fe + O.length, Pt = Ke(O, Ze);
44295
44295
  for (let Bt = L; Bt < Oe; Bt++) {
44296
44296
  let et = 0;
44297
- for (let Lt = j; Lt < lt; Lt++) {
44297
+ for (let Lt = G; Lt < lt; Lt++) {
44298
44298
  if (Pt[Lt]) {
44299
44299
  et++;
44300
44300
  continue;
44301
44301
  }
44302
44302
  fC(m, Bt, Lt, S) && Kl(m, hr(m[Bt], Lt), S, v.cell);
44303
- const Xe = Lt - j - et, tn = ba(h[Bt - L], Xe), En = tn.element, Gn = v.replace(En);
44303
+ const Xe = Lt - G - et, tn = ba(h[Bt - L], Xe), En = tn.element, Gn = v.replace(En);
44304
44304
  Ld(m[Bt], Lt, Ie(Gn, !0, tn.isLocked));
44305
44305
  }
44306
44306
  }
44307
44307
  return m;
44308
44308
  }, Tl = (i, m, h) => {
44309
- const v = Ul(m[0]), S = Mr(m).cols.length + i.row, O = Ht(v - i.column, (j) => j + i.column), L = z(O, (j) => Wo(h, (ne) => ne !== j)).getOr(v - 1);
44309
+ const v = Ul(m[0]), S = Mr(m).cols.length + i.row, O = Ht(v - i.column, (G) => G + i.column), L = z(O, (G) => Wo(h, (ne) => ne !== G)).getOr(v - 1);
44310
44310
  return {
44311
44311
  row: S,
44312
44312
  column: L
44313
44313
  };
44314
44314
  }, Ti = (i, m, h) => ho(h, (v) => v >= i.column && v <= Ul(m[0]) + i.column), gC = (i, m, h, v, S) => {
44315
- const O = jr(m), L = Tl(i, m, O), j = Mr(h).rows, ne = Ti(L, j, O);
44316
- return fp(L, m, j).map((Oe) => {
44315
+ const O = jr(m), L = Tl(i, m, O), G = Mr(h).rows, ne = Ti(L, G, O);
44316
+ return fp(L, m, G).map((Oe) => {
44317
44317
  const lt = {
44318
44318
  ...Oe,
44319
44319
  colDelta: Oe.colDelta - ne.length
44320
- }, Pt = pp(m, lt, v), Bt = jr(Pt), et = Ti(L, j, Bt);
44321
- return Vb(L, Pt, j, v, S, et);
44320
+ }, Pt = pp(m, lt, v), Bt = jr(Pt), et = Ti(L, G, Bt);
44321
+ return Vb(L, Pt, G, v, S, et);
44322
44322
  });
44323
44323
  }, zb = (i, m, h, v, S) => {
44324
44324
  Z4(m, i, S, v.cell);
44325
- const O = hp(h, m), L = pp(h, O, v), j = hp(m, L), ne = pp(m, j, v);
44325
+ const O = hp(h, m), L = pp(h, O, v), G = hp(m, L), ne = pp(m, G, v);
44326
44326
  return _t(ne, (fe, Oe) => _l(fe, i, L[Oe].cells));
44327
44327
  }, lh = (i, m, h, v, S) => {
44328
44328
  Uf(m, i, S, v.cell);
44329
- const O = jr(m), L = gp(m, h), j = {
44329
+ const O = jr(m), L = gp(m, h), G = {
44330
44330
  ...L,
44331
44331
  colDelta: L.colDelta - O.length
44332
- }, ne = pp(m, j, v), {
44332
+ }, ne = pp(m, G, v), {
44333
44333
  cols: fe,
44334
44334
  rows: Oe
44335
44335
  } = Mr(ne), lt = jr(ne), Pt = gp(h, m), Bt = {
@@ -44343,22 +44343,22 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44343
44343
  ...Oe.slice(i, Oe.length)
44344
44344
  ];
44345
44345
  }, j4 = (i, m, h, v) => Fd(i, (S) => v(S, h), m), hC = (i, m, h, v, S) => {
44346
- const { rows: O, cols: L } = Mr(i), j = O.slice(0, m), ne = O.slice(m), fe = j4(O[h], (Oe, lt) => m > 0 && m < O.length && v(hr(O[m - 1], lt), hr(O[m], lt)) ? ba(O[m], lt) : Ie(S(Oe.element, v), !0, Oe.isLocked), v, S);
44346
+ const { rows: O, cols: L } = Mr(i), G = O.slice(0, m), ne = O.slice(m), fe = j4(O[h], (Oe, lt) => m > 0 && m < O.length && v(hr(O[m - 1], lt), hr(O[m], lt)) ? ba(O[m], lt) : Ie(S(Oe.element, v), !0, Oe.isLocked), v, S);
44347
44347
  return [
44348
44348
  ...L,
44349
- ...j,
44349
+ ...G,
44350
44350
  fe,
44351
44351
  ...ne
44352
44352
  ];
44353
44353
  }, Xy = (i, m, h, v, S, O, L) => {
44354
44354
  if (h === "colgroup" || !v) {
44355
- const j = ba(i, S);
44356
- return Ie(L(j.element, O), !0, !1);
44355
+ const G = ba(i, S);
44356
+ return Ie(L(G.element, O), !0, !1);
44357
44357
  } else
44358
44358
  return ba(i, m);
44359
44359
  }, ni = (i, m, h, v, S) => _t(i, (O) => {
44360
- const L = m > 0 && m < Ul(O) && v(hr(O, m - 1), hr(O, m)), j = Xy(O, m, O.section, L, h, v, S);
44361
- return Su(O, m, j);
44360
+ const L = m > 0 && m < Ul(O) && v(hr(O, m - 1), hr(O, m)), G = Xy(O, m, O.section, L, h, v, S);
44361
+ return Su(O, m, G);
44362
44362
  }), Ub = (i, m) => rs(i, (h) => {
44363
44363
  const v = h.cells, S = vr(m, (O, L) => L >= 0 && L < O.length ? O.slice(0, L).concat(O.slice(L + 1)) : O, v);
44364
44364
  return S.length > 0 ? [ft(h.element, S, h.section, h.isNew)] : [];
@@ -44373,9 +44373,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44373
44373
  const S = (L) => L === "row" ? bi(m) : Ga(m), O = (L) => S(L) ? `${L}group` : L;
44374
44374
  return i ? lp(m) ? O(h) : null : v && lp(m) ? O(h === "row" ? "col" : "row") : null;
44375
44375
  }, pC = (i, m) => (h, v, S) => pe.some(qm(i, h.element, "col", m[S])), uh = (i, m) => (h, v) => pe.some(qm(i, h.element, "row", m[v])), Zf = (i, m, h) => Ie(h(i.element, m), !0, i.isLocked), dh = (i, m, h, v, S, O, L) => {
44376
- const j = (ne) => st(m, (fe) => h(ne.element, fe.element));
44376
+ const G = (ne) => st(m, (fe) => h(ne.element, fe.element));
44377
44377
  return _t(i, (ne, fe) => Gh(ne, (Oe, lt) => {
44378
- if (j(Oe)) {
44378
+ if (G(Oe)) {
44379
44379
  const Pt = L(Oe, fe, lt) ? S(Oe, h, v) : Oe;
44380
44380
  return O(Pt, fe, lt).each((Bt) => {
44381
44381
  Ki(Pt.element, { scope: pe.from(Bt) });
@@ -44387,15 +44387,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44387
44387
  const v = i[m];
44388
44388
  return rs(v.cells, (S, O) => Wf(i, m, O, h) ? [] : [S]);
44389
44389
  }, Jy = (i, m, h, v, S) => {
44390
- const O = Mr(i).rows, L = rs(m, (Oe) => bC(O, Oe, v)), j = _t(O, (Oe) => Mb(Oe.cells)), ne = ih(L, j), fe = uh(h, j);
44390
+ const O = Mr(i).rows, L = rs(m, (Oe) => bC(O, Oe, v)), G = _t(O, (Oe) => Mb(Oe.cells)), ne = ih(L, G), fe = uh(h, G);
44391
44391
  return dh(i, L, v, S, Zf, fe, ne);
44392
44392
  }, q4 = (i, m, h, v, S, O, L) => {
44393
- const { cols: j, rows: ne } = Mr(i), fe = ne[m[0]], Oe = rs(m, (Xe) => G4(ne, Xe, S)), lt = _t(fe.cells, (Xe, tn) => Mb(bC(ne, tn, S))), Pt = [...ne];
44393
+ const { cols: G, rows: ne } = Mr(i), fe = ne[m[0]], Oe = rs(m, (Xe) => G4(ne, Xe, S)), lt = _t(fe.cells, (Xe, tn) => Mb(bC(ne, tn, S))), Pt = [...ne];
44394
44394
  Be(m, (Xe) => {
44395
44395
  Pt[Xe] = L.transformRow(ne[Xe], h);
44396
44396
  });
44397
44397
  const Bt = [
44398
- ...j,
44398
+ ...G,
44399
44399
  ...Pt
44400
44400
  ], et = ch(fe, lt), Lt = pC(v, lt);
44401
44401
  return dh(Bt, Oe, S, O, L.transformCell, Lt, et);
@@ -44412,17 +44412,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
44412
44412
  const O = Ut(v);
44413
44413
  if (O.length !== 1)
44414
44414
  throw new Error("one and only one name per case");
44415
- const L = O[0], j = v[L];
44415
+ const L = O[0], G = v[L];
44416
44416
  if (h[L] !== void 0)
44417
44417
  throw new Error("duplicate key detected:" + L);
44418
44418
  if (L === "cata")
44419
44419
  throw new Error("cannot have a case named cata (sorry)");
44420
- if (!De(j))
44420
+ if (!De(G))
44421
44421
  throw new Error("case arguments must be an array");
44422
44422
  m.push(L), h[L] = (...ne) => {
44423
44423
  const fe = ne.length;
44424
- if (fe !== j.length)
44425
- throw new Error("Wrong number of arguments to case " + L + ". Expected " + j.length + " (" + j + "), got " + fe);
44424
+ if (fe !== G.length)
44425
+ throw new Error("Wrong number of arguments to case " + L + ". Expected " + G.length + " (" + G + "), got " + fe);
44426
44426
  return {
44427
44427
  fold: (...lt) => {
44428
44428
  if (lt.length !== i.length)
@@ -44472,8 +44472,8 @@ Required: ` + m.join(", "));
44472
44472
  ]
44473
44473
  }
44474
44474
  ]) }, yC = (i, m) => i.length === 0 ? vp.none() : i.length === 1 ? vp.only(0) : m === 0 ? vp.left(0, 1) : m === i.length - 1 ? vp.right(m - 1, m) : m > 0 && m < i.length - 1 ? vp.middle(m - 1, m, m + 1) : vp.none(), K4 = (i, m, h, v, S) => {
44475
- const O = i.slice(0), L = yC(i, m), j = he(_t(O, he(0))), ne = (Pt) => v.singleColumnWidth(O[Pt], h), fe = (Pt, Bt) => S.calcLeftEdgeDeltas(O, Pt, Bt, h, v.minCellWidth(), v.isRelative), Oe = (Pt, Bt, et) => S.calcMiddleDeltas(O, Pt, Bt, et, h, v.minCellWidth(), v.isRelative), lt = (Pt, Bt) => S.calcRightEdgeDeltas(O, Pt, Bt, h, v.minCellWidth(), v.isRelative);
44476
- return L.fold(j, ne, fe, Oe, lt);
44475
+ const O = i.slice(0), L = yC(i, m), G = he(_t(O, he(0))), ne = (Pt) => v.singleColumnWidth(O[Pt], h), fe = (Pt, Bt) => S.calcLeftEdgeDeltas(O, Pt, Bt, h, v.minCellWidth(), v.isRelative), Oe = (Pt, Bt, et) => S.calcMiddleDeltas(O, Pt, Bt, et, h, v.minCellWidth(), v.isRelative), lt = (Pt, Bt) => S.calcRightEdgeDeltas(O, Pt, Bt, h, v.minCellWidth(), v.isRelative);
44476
+ return L.fold(G, ne, fe, Oe, lt);
44477
44477
  }, U0 = (i, m, h) => {
44478
44478
  let v = 0;
44479
44479
  for (let S = i; S < m; S++)
@@ -44515,19 +44515,19 @@ Required: ` + m.join(", "));
44515
44515
  h.setElementWidth(S.element, S.width);
44516
44516
  });
44517
44517
  }, W0 = (i, m, h, v, S) => {
44518
- const O = Yn.fromTable(i), L = S.getCellDelta(m), j = S.getWidths(O, S), ne = h === O.grid.columns - 1, fe = v.clampTableDelta(j, h, L, S.minCellWidth(), ne), Oe = K4(j, h, fe, S, v), lt = _t(Oe, (Pt, Bt) => Pt + j[Bt]);
44518
+ const O = Yn.fromTable(i), L = S.getCellDelta(m), G = S.getWidths(O, S), ne = h === O.grid.columns - 1, fe = v.clampTableDelta(G, h, L, S.minCellWidth(), ne), Oe = K4(G, h, fe, S, v), lt = _t(Oe, (Pt, Bt) => Pt + G[Bt]);
44519
44519
  is(O, lt, S), v.resizeTable(S.adjustTableWidth, fe, ne);
44520
44520
  }, t2 = (i, m, h, v) => {
44521
- const S = Yn.fromTable(i), O = $e(S, i, v), L = _t(O, (Oe, lt) => h === lt ? Math.max(m + Oe, Sc()) : Oe), j = Ao(S, L), ne = si(S, L);
44521
+ const S = Yn.fromTable(i), O = $e(S, i, v), L = _t(O, (Oe, lt) => h === lt ? Math.max(m + Oe, Sc()) : Oe), G = Ao(S, L), ne = si(S, L);
44522
44522
  Be(ne, (Oe) => {
44523
44523
  Hd(Oe.element, Oe.height);
44524
- }), Be(j, (Oe) => {
44524
+ }), Be(G, (Oe) => {
44525
44525
  Hd(Oe.element, Oe.height);
44526
44526
  });
44527
44527
  const fe = md(L);
44528
44528
  Hd(i, fe);
44529
44529
  }, xa = (i, m, h, v, S) => {
44530
- const O = Yn.generate(m), L = v.getWidths(O, v), j = v.pixelWidth(), { newSizes: ne, delta: fe } = S.calcRedestributedWidths(L, j, h.pixelDelta, v.isRelative);
44530
+ const O = Yn.generate(m), L = v.getWidths(O, v), G = v.pixelWidth(), { newSizes: ne, delta: fe } = S.calcRedestributedWidths(L, G, h.pixelDelta, v.isRelative);
44531
44531
  is(O, ne, v), v.adjustTableWidth(fe);
44532
44532
  }, Yd = (i, m, h, v) => {
44533
44533
  const S = Yn.generate(m), O = v.getWidths(S, v);
@@ -44540,11 +44540,11 @@ Required: ` + m.join(", "));
44540
44540
  rowspan: h
44541
44541
  };
44542
44542
  }, Gb = (i, m = o2) => {
44543
- const h = (j) => n2(j.element) ? i.col(j) : i.cell(j), v = (j) => jb(j.element) ? i.colgroup(j) : i.row(j), S = (j) => {
44544
- if (Z0(j))
44545
- return v({ element: j });
44543
+ const h = (G) => n2(G.element) ? i.col(G) : i.cell(G), v = (G) => jb(G.element) ? i.colgroup(G) : i.row(G), S = (G) => {
44544
+ if (Z0(G))
44545
+ return v({ element: G });
44546
44546
  {
44547
- const ne = j, fe = h(m(ne));
44547
+ const ne = G, fe = h(m(ne));
44548
44548
  return O = pe.some({
44549
44549
  item: ne,
44550
44550
  replacement: fe
@@ -44552,21 +44552,21 @@ Required: ` + m.join(", "));
44552
44552
  }
44553
44553
  };
44554
44554
  let O = pe.none();
44555
- return { getOrInit: (j, ne) => O.fold(() => S(j), (fe) => ne(j, fe.item) ? fe.replacement : S(j)) };
44555
+ return { getOrInit: (G, ne) => O.fold(() => S(G), (fe) => ne(G, fe.item) ? fe.replacement : S(G)) };
44556
44556
  }, Xd = (i) => (m) => {
44557
- const h = [], v = (L, j) => z(h, (ne) => j(ne.item, L)), S = (L) => {
44558
- const j = i === "td" ? { scope: null } : {}, ne = m.replace(L, i, j);
44557
+ const h = [], v = (L, G) => z(h, (ne) => G(ne.item, L)), S = (L) => {
44558
+ const G = i === "td" ? { scope: null } : {}, ne = m.replace(L, i, G);
44559
44559
  return h.push({
44560
44560
  item: L,
44561
44561
  sub: ne
44562
44562
  }), ne;
44563
44563
  };
44564
- return { replaceOrInit: (L, j) => {
44564
+ return { replaceOrInit: (L, G) => {
44565
44565
  if (Z0(L) || n2(L))
44566
44566
  return L;
44567
44567
  {
44568
44568
  const ne = L;
44569
- return v(ne, j).fold(() => S(ne), (fe) => j(L, fe.item) ? fe.sub : S(ne));
44569
+ return v(ne, G).fold(() => S(ne), (fe) => G(L, fe.item) ? fe.sub : S(ne));
44570
44570
  }
44571
44571
  } };
44572
44572
  }, Km = (i) => ua(i, "scope").map((m) => m.substr(0, 3)), Le = {
@@ -44590,11 +44590,11 @@ Required: ` + m.join(", "));
44590
44590
  if (O.length === 0)
44591
44591
  return pe.none();
44592
44592
  {
44593
- const L = O[0], j = [
44593
+ const L = O[0], G = [
44594
44594
  "row",
44595
44595
  "col"
44596
44596
  ];
44597
- return st(O, (fe) => fe !== L && go(j, fe)) ? pe.none() : pe.from(L);
44597
+ return st(O, (fe) => fe !== L && go(G, fe)) ? pe.none() : pe.from(L);
44598
44598
  }
44599
44599
  };
44600
44600
  return lc(v[0], "width"), S().fold(() => Fs(v[0], "scope"), (O) => Zs(v[0], "scope", O + "group")), he(v[0]);
@@ -44649,14 +44649,14 @@ Required: ` + m.join(", "));
44649
44649
  const m = Cr("br"), h = (ne) => Wo(ne, (fe) => m(fe) || Il(fe) && an(fe).trim().length === 0), v = (ne) => ts(ne) === "li" || ls(ne, Ym).isSome(), S = (ne) => xc(ne).map((fe) => qb(fe) ? !0 : r2(fe) ? ts(fe) !== "img" : !1).getOr(!1), O = (ne) => iu(ne).bind((fe) => {
44650
44650
  const Oe = S(fe);
44651
44651
  return Wa(fe).map((lt) => Oe === !0 || v(lt) || m(fe) || qb(lt) && !ns(ne, lt) ? [] : [Ae.fromTag("br")]);
44652
- }).getOr([]), j = (() => {
44652
+ }).getOr([]), G = (() => {
44653
44653
  const ne = rs(i, (fe) => {
44654
44654
  const Oe = Bo(fe);
44655
44655
  return h(Oe) ? [] : Oe.concat(O(fe));
44656
44656
  });
44657
44657
  return ne.length === 0 ? [Ae.fromTag("br")] : ne;
44658
44658
  })();
44659
- fa(i[0]), Rr(i[0], j);
44659
+ fa(i[0]), Rr(i[0], G);
44660
44660
  }, a2 = (i) => If(i, !0), G0 = (i) => {
44661
44661
  sl(i).length === 0 && ar(i);
44662
44662
  }, wp = (i, m) => ({
@@ -44673,46 +44673,46 @@ Required: ` + m.join(", "));
44673
44673
  const v = X4(i, m, h);
44674
44674
  return wp(i, v);
44675
44675
  }, Ca = (i) => nt(i, (h, v) => st(h, (O) => O.row === v.row) ? h : h.concat([v]), []).sort((h, v) => h.row - v.row), gl = (i, m, h, v) => {
44676
- const S = m[0].row, O = Ca(m), L = vr(O, (j, ne) => ({
44677
- grid: hC(j.grid, S, ne.row + j.delta, h, v.getOrInit),
44678
- delta: j.delta + 1
44676
+ const S = m[0].row, O = Ca(m), L = vr(O, (G, ne) => ({
44677
+ grid: hC(G.grid, S, ne.row + G.delta, h, v.getOrInit),
44678
+ delta: G.delta + 1
44679
44679
  }), {
44680
44680
  grid: i,
44681
44681
  delta: 0
44682
44682
  }).grid;
44683
44683
  return fc(L, S, m[0].column);
44684
44684
  }, gc = (i, m, h, v) => {
44685
- const S = Ca(m), O = S[S.length - 1], L = O.row + O.rowspan, j = vr(S, (ne, fe) => hC(ne, L, fe.row, h, v.getOrInit), i);
44686
- return fc(j, L, m[0].column);
44685
+ const S = Ca(m), O = S[S.length - 1], L = O.row + O.rowspan, G = vr(S, (ne, fe) => hC(ne, L, fe.row, h, v.getOrInit), i);
44686
+ return fc(G, L, m[0].column);
44687
44687
  }, El = (i, m, h, v) => {
44688
- const S = m.details, O = Gf(S), L = O[0].column, j = vr(O, (ne, fe) => ({
44688
+ const S = m.details, O = Gf(S), L = O[0].column, G = vr(O, (ne, fe) => ({
44689
44689
  grid: ni(ne.grid, L, fe.column + ne.delta, h, v.getOrInit),
44690
44690
  delta: ne.delta + 1
44691
44691
  }), {
44692
44692
  grid: i,
44693
44693
  delta: 0
44694
44694
  }).grid;
44695
- return fc(j, S[0].row, L);
44695
+ return fc(G, S[0].row, L);
44696
44696
  }, Yl = (i, m, h, v) => {
44697
- const S = m.details, O = S[S.length - 1], L = O.column + O.colspan, j = Gf(S), ne = vr(j, (fe, Oe) => ni(fe, L, Oe.column, h, v.getOrInit), i);
44697
+ const S = m.details, O = S[S.length - 1], L = O.column + O.colspan, G = Gf(S), ne = vr(G, (fe, Oe) => ni(fe, L, Oe.column, h, v.getOrInit), i);
44698
44698
  return fc(ne, S[0].row, L);
44699
44699
  }, _a = (i, m, h, v) => {
44700
- const S = Gf(m), O = _t(S, (j) => j.column), L = Jy(i, O, !0, h, v.replaceOrInit);
44700
+ const S = Gf(m), O = _t(S, (G) => G.column), L = Jy(i, O, !0, h, v.replaceOrInit);
44701
44701
  return fc(L, m[0].row, m[0].column);
44702
44702
  }, c2 = (i, m, h, v) => {
44703
44703
  const S = Wb(i, m, h, v.replaceOrInit);
44704
44704
  return fc(S, m[0].row, m[0].column);
44705
44705
  }, q0 = (i, m, h, v) => {
44706
- const S = Gf(m), O = _t(S, (j) => j.column), L = Jy(i, O, !1, h, v.replaceOrInit);
44706
+ const S = Gf(m), O = _t(S, (G) => G.column), L = Jy(i, O, !1, h, v.replaceOrInit);
44707
44707
  return fc(L, m[0].row, m[0].column);
44708
44708
  }, i2 = (i, m, h, v) => {
44709
44709
  const S = Wb(i, m, h, v.replaceOrInit);
44710
44710
  return fc(S, m[0].row, m[0].column);
44711
44711
  }, K0 = (i, m) => (h, v, S, O, L) => {
44712
- const j = Ca(v), ne = _t(j, (Oe) => Oe.row), fe = q4(h, ne, i, m, S, O.replaceOrInit, L);
44712
+ const G = Ca(v), ne = _t(G, (Oe) => Oe.row), fe = q4(h, ne, i, m, S, O.replaceOrInit, L);
44713
44713
  return fc(fe, v[0].row, v[0].column);
44714
44714
  }, u2 = K0("thead", !0), wC = K0("tbody", !1), Yb = K0("tfoot", !1), d2 = (i, m, h, v) => {
44715
- const S = Gf(m.details), O = Ub(i, _t(S, (j) => j.column)), L = O.length > 0 ? O[0].cells.length - 1 : 0;
44715
+ const S = Gf(m.details), O = Ub(i, _t(S, (G) => G.column)), L = O.length > 0 ? O[0].cells.length - 1 : 0;
44716
44716
  return fc(O, S[0].row, Math.min(S[0].column, L));
44717
44717
  }, J4 = (i, m, h, v) => {
44718
44718
  const S = Ca(m), O = Ir(i, S[0].row, S[S.length - 1].row), L = O.length > 0 ? O.length - 1 : 0;
@@ -44723,7 +44723,7 @@ Required: ` + m.join(", "));
44723
44723
  const O = Bu(i, m.bounds, h, v.merge(S));
44724
44724
  return wp(O, pe.from(S[0]));
44725
44725
  }, xC = (i, m, h, v) => {
44726
- const O = vr(m, (L, j) => Kl(L, j, h, v.unmerge(j)), i);
44726
+ const O = vr(m, (L, G) => Kl(L, G, h, v.unmerge(G)), i);
44727
44727
  return wp(O, pe.from(m[0]));
44728
44728
  }, e3 = (i, m, h, v) => {
44729
44729
  const O = ((ne, fe) => {
@@ -44735,21 +44735,21 @@ Required: ` + m.join(", "));
44735
44735
  const v = $g(i, h.section), S = Yn.generate(v);
44736
44736
  return up(S, m, !0);
44737
44737
  }, Xb = (i, m, h, v) => {
44738
- const S = Mr(i).rows, O = m.cells[0].column, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L), ne = zb(O, i, j, m.generators, h);
44738
+ const S = Mr(i).rows, O = m.cells[0].column, L = S[m.cells[0].row], G = xp(m.clipboard, m.generators, L), ne = zb(O, i, G, m.generators, h);
44739
44739
  return fc(ne, m.cells[0].row, m.cells[0].column);
44740
44740
  }, CC = (i, m, h, v) => {
44741
- const S = Mr(i).rows, O = m.cells[m.cells.length - 1].column + m.cells[m.cells.length - 1].colspan, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L), ne = zb(O, i, j, m.generators, h);
44741
+ const S = Mr(i).rows, O = m.cells[m.cells.length - 1].column + m.cells[m.cells.length - 1].colspan, L = S[m.cells[0].row], G = xp(m.clipboard, m.generators, L), ne = zb(O, i, G, m.generators, h);
44742
44742
  return fc(ne, m.cells[0].row, m.cells[0].column);
44743
44743
  }, mO = (i, m, h, v) => {
44744
- const S = Mr(i).rows, O = m.cells[0].row, L = S[O], j = xp(m.clipboard, m.generators, L), ne = lh(O, i, j, m.generators, h);
44744
+ const S = Mr(i).rows, O = m.cells[0].row, L = S[O], G = xp(m.clipboard, m.generators, L), ne = lh(O, i, G, m.generators, h);
44745
44745
  return fc(ne, m.cells[0].row, m.cells[0].column);
44746
44746
  }, Ac = (i, m, h, v) => {
44747
- const S = Mr(i).rows, O = m.cells[m.cells.length - 1].row + m.cells[m.cells.length - 1].rowspan, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L), ne = lh(O, i, j, m.generators, h);
44747
+ const S = Mr(i).rows, O = m.cells[m.cells.length - 1].row + m.cells[m.cells.length - 1].rowspan, L = S[m.cells[0].row], G = xp(m.clipboard, m.generators, L), ne = lh(O, i, G, m.generators, h);
44748
44748
  return fc(ne, m.cells[0].row, m.cells[0].column);
44749
44749
  }, fO = (i, m) => {
44750
44750
  const h = Yn.fromTable(i);
44751
44751
  return zf(h, m).bind((S) => {
44752
- const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan, ne = so(_t(h.all, (fe) => ho(fe.cells, (Oe) => Oe.column >= L && Oe.column < j)));
44752
+ const O = S[S.length - 1], L = S[0].column, G = O.column + O.colspan, ne = so(_t(h.all, (fe) => ho(fe.cells, (Oe) => Oe.column >= L && Oe.column < G)));
44753
44753
  return cp(ne);
44754
44754
  }).getOr("");
44755
44755
  }, fd = (i, m) => {
@@ -44758,14 +44758,14 @@ Required: ` + m.join(", "));
44758
44758
  }, xt = (i, m) => {
44759
44759
  const h = Yn.fromTable(i);
44760
44760
  return zf(h, m).bind((S) => {
44761
- const O = S[S.length - 1], L = S[0].row, j = O.row + O.rowspan, ne = h.all.slice(L, j);
44761
+ const O = S[S.length - 1], L = S[0].row, G = O.row + O.rowspan, ne = h.all.slice(L, G);
44762
44762
  return V4(ne);
44763
44763
  }).getOr("");
44764
44764
  }, m2 = (i, m, h, v) => Yd(i, m, h, v.sizing), Sa = (i, m, h, v) => xa(i, m, h, v.sizing, v.resize), _C = (i, m) => st(m, (h) => h.column === 0 && h.isLocked), Jb = (i, m) => st(m, (h) => h.column + h.colspan >= i.grid.columns && h.isLocked), f2 = (i, m) => {
44765
44765
  const h = od(i), v = Gf(m);
44766
44766
  return nt(v, (S, O) => {
44767
- const j = h[O.column].map(Ci).getOr(0);
44768
- return S + j;
44767
+ const G = h[O.column].map(Ci).getOr(0);
44768
+ return S + G;
44769
44769
  }, 0);
44770
44770
  }, Dc = (i) => (m, h) => zf(m, h).filter((v) => !(i ? _C : Jb)(m, v)).map((v) => ({
44771
44771
  details: v,
@@ -44811,7 +44811,7 @@ Required: ` + m.join(", "));
44811
44811
  structure: !0,
44812
44812
  style: !0
44813
44813
  }, Jl = (i, m) => ld(i) ? Gl.percentageSize(m) : Nf(i) ? Gl.pixelSize(m) : Gl.getTableSize(m), Qb = (i, m, h) => {
44814
- const v = (pc) => ts(Cb(pc)) === "table", S = (pc) => !v(i) || ap(pc).rows > 1, O = (pc) => !v(i) || ap(pc).columns > 1, L = Vm(i), j = Pr(i) ? Ot : jy, ne = (pc) => {
44814
+ const v = (pc) => ts(Cb(pc)) === "table", S = (pc) => !v(i) || ap(pc).rows > 1, O = (pc) => !v(i) || ap(pc).columns > 1, L = Vm(i), G = Pr(i) ? Ot : jy, ne = (pc) => {
44815
44815
  switch (eh(i)) {
44816
44816
  case "section":
44817
44817
  return Vf.section();
@@ -44851,7 +44851,7 @@ Required: ` + m.join(", "));
44851
44851
  effect: sm
44852
44852
  }));
44853
44853
  }) : pe.none();
44854
- }, lt = Oe(kC, S, Ot, ro), Pt = Oe(Ai, O, Ot, ro), Bt = Oe(Y0, Ze, Ot, ro), et = Oe(Jd, Ze, Ot, ro), Lt = Oe(Pu, Ze, j, ro), Xe = Oe(Wt, Ze, j, ro), tn = Oe(o3, Ze, Ot, ro), En = Oe(Xl, Ze, Ot, ro), Gn = Oe(s3, Ze, Ot, ro), qs = Oe(r3, Ze, Ot, ro), Ta = Oe(v2, Ze, Ot, ro), Tr = Oe(a3, Ze, Ot, ro), Mc = Oe(X0, Ze, Ot, x2), xh = Oe(n3, Ze, Ot, ro), Ch = Oe(b2, Ze, Ot, ro), hw = Oe(TC, Ze, Ot, ro), $v = Oe(g2, Ze, Ot, ro), ms = Oe(EC, Ze, Ot, ro), ec = Oe(h2, Ze, Ot, ro), pl = Oe(p2, Ze, Ot, ro);
44854
+ }, lt = Oe(kC, S, Ot, ro), Pt = Oe(Ai, O, Ot, ro), Bt = Oe(Y0, Ze, Ot, ro), et = Oe(Jd, Ze, Ot, ro), Lt = Oe(Pu, Ze, G, ro), Xe = Oe(Wt, Ze, G, ro), tn = Oe(o3, Ze, Ot, ro), En = Oe(Xl, Ze, Ot, ro), Gn = Oe(s3, Ze, Ot, ro), qs = Oe(r3, Ze, Ot, ro), Ta = Oe(v2, Ze, Ot, ro), Tr = Oe(a3, Ze, Ot, ro), Mc = Oe(X0, Ze, Ot, x2), xh = Oe(n3, Ze, Ot, ro), Ch = Oe(b2, Ze, Ot, ro), hw = Oe(TC, Ze, Ot, ro), $v = Oe(g2, Ze, Ot, ro), ms = Oe(EC, Ze, Ot, ro), ec = Oe(h2, Ze, Ot, ro), pl = Oe(p2, Ze, Ot, ro);
44855
44855
  return {
44856
44856
  deleteRow: lt,
44857
44857
  deleteColumn: Pt,
@@ -44886,22 +44886,22 @@ Required: ` + m.join(", "));
44886
44886
  }, ev = (i, m, h) => {
44887
44887
  if (Yn.hasColumns(i)) {
44888
44888
  const v = ho(Yn.justColumns(i), _2(m, h)), S = _t(v, (L) => {
44889
- const j = Vl(L.element);
44890
- return C2(j, "span", h - m), j;
44889
+ const G = Vl(L.element);
44890
+ return C2(G, "span", h - m), G;
44891
44891
  }), O = Ae.fromTag("colgroup");
44892
44892
  return Rr(O, S), [O];
44893
44893
  } else
44894
44894
  return [];
44895
44895
  }, RC = (i, m, h) => _t(i.all, (v) => {
44896
- const S = ho(v.cells, _2(m, h)), O = _t(S, (j) => {
44897
- const ne = Vl(j.element);
44896
+ const S = ho(v.cells, _2(m, h)), O = _t(S, (G) => {
44897
+ const ne = Vl(G.element);
44898
44898
  return C2(ne, "colspan", h - m), ne;
44899
44899
  }), L = Ae.fromTag("tr");
44900
44900
  return Rr(L, O), L;
44901
44901
  }), u3 = (i, m) => {
44902
44902
  const h = Yn.fromTable(i);
44903
44903
  return Gm(h, m).map((S) => {
44904
- const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan, ne = ev(h, L, j), fe = RC(h, L, j);
44904
+ const O = S[S.length - 1], L = S[0].column, G = O.column + O.colspan, ne = ev(h, L, G), fe = RC(h, L, G);
44905
44905
  return [
44906
44906
  ...ne,
44907
44907
  ...fe
@@ -44989,12 +44989,12 @@ Required: ` + m.join(", "));
44989
44989
  });
44990
44990
  }, IC = (i) => kp(i).fold(he("px"), he("px"), he("%")), Qd = (i, m, h) => {
44991
44991
  const v = Yn.fromTable(i), S = v.all, O = Yn.justCells(v), L = Yn.justColumns(v);
44992
- m.each((j) => {
44993
- const ne = IC(j), fe = ll(i), Oe = Nm(v, i), lt = MC(Oe, fe, j);
44994
- Yn.hasColumns(v) ? k2(lt, L, ne) : NC(lt, O, ne), Gs(i, "width", j);
44995
- }), h.each((j) => {
44996
- const ne = IC(j), fe = Bm(i), Oe = Zl(v, i, qt), lt = MC(Oe, fe, j);
44997
- h3(lt, S, O, ne), Gs(i, "height", j);
44992
+ m.each((G) => {
44993
+ const ne = IC(G), fe = ll(i), Oe = Nm(v, i), lt = MC(Oe, fe, G);
44994
+ Yn.hasColumns(v) ? k2(lt, L, ne) : NC(lt, O, ne), Gs(i, "width", G);
44995
+ }), h.each((G) => {
44996
+ const ne = IC(G), fe = Bm(i), Oe = Zl(v, i, qt), lt = MC(Oe, fe, G);
44997
+ h3(lt, S, O, ne), Gs(i, "height", G);
44998
44998
  });
44999
44999
  }, Q0 = lu, e1 = yb, tv = cu, t1 = (i) => {
45000
45000
  Fs(i, "width");
@@ -45028,10 +45028,10 @@ Required: ` + m.join(", "));
45028
45028
  const m = Ae.fromTag("colgroup");
45029
45029
  return Ht(i, () => os(m, b3())), m;
45030
45030
  }, T2 = (i, m, h, v) => Ht(i, (S) => LC(m, h, v, S)), y3 = (i, m, h, v, S, O = Kf) => {
45031
- const L = Ae.fromTag("table"), j = S !== "cells";
45031
+ const L = Ae.fromTag("table"), G = S !== "cells";
45032
45032
  Pa(L, O.styles), yl(L, O.attributes), O.colGroups && os(L, v3(m));
45033
45033
  const ne = Math.min(i, h);
45034
- if (j && h > 0) {
45034
+ if (G && h > 0) {
45035
45035
  const Bt = Ae.fromTag("thead");
45036
45036
  os(L, Bt);
45037
45037
  const Lt = T2(h, m, S === "sectionCells" ? ne : 0, v);
@@ -45039,7 +45039,7 @@ Required: ` + m.join(", "));
45039
45039
  }
45040
45040
  const fe = Ae.fromTag("tbody");
45041
45041
  os(L, fe);
45042
- const Oe = j ? i - ne : i, Pt = T2(Oe, m, j ? 0 : h, v);
45042
+ const Oe = G ? i - ne : i, Pt = T2(Oe, m, G ? 0 : h, v);
45043
45043
  return Rr(fe, Pt), L;
45044
45044
  }, w3 = (i) => i.dom.innerHTML, FC = (i) => {
45045
45045
  const m = Ae.fromTag("div"), h = Ae.fromDom(i.dom.cloneNode(!0));
@@ -45061,11 +45061,11 @@ Required: ` + m.join(", "));
45061
45061
  colGroups: R0(i)
45062
45062
  };
45063
45063
  return i.undoManager.ignore(() => {
45064
- const j = y3(h, m, S, v, eh(i), L);
45065
- Zs(j, "data-mce-id", "__mce");
45066
- const ne = FC(j);
45064
+ const G = y3(h, m, S, v, eh(i), L);
45065
+ Zs(G, "data-mce-id", "__mce");
45066
+ const ne = FC(G);
45067
45067
  i.insertContent(ne), i.addVisual();
45068
- }), ja(Cb(i), 'table[data-mce-id="__mce"]').map((j) => (Nf(i) ? Tp(j) : th(i) ? n1(j) : (ld(i) || ov(O.width)) && du(j), id(j), Fs(j, "data-mce-id"), C3(i, j), HC(i, j), j.dom)).getOrNull();
45068
+ }), ja(Cb(i), 'table[data-mce-id="__mce"]').map((G) => (Nf(i) ? Tp(G) : th(i) ? n1(G) : (ld(i) || ov(O.width)) && du(G), id(G), Fs(G, "data-mce-id"), C3(i, G), HC(i, G), G.dom)).getOrNull();
45069
45069
  }, VC = (i, m, h, v = {}) => {
45070
45070
  const S = (O) => eo(O) && O > 0;
45071
45071
  if (S(m) && S(h)) {
@@ -45103,7 +45103,7 @@ Required: ` + m.join(", "));
45103
45103
  th(i) || Nf(i) || ld(i) || rl(tn, h).each((Gn) => {
45104
45104
  Xe === "relative" && !Q0(Gn) ? du(Gn) : Xe === "fixed" && !e1(Gn) ? Tp(Gn) : Xe === "responsive" && !tv(Gn) && n1(Gn), id(Gn), mh(i, Gn.dom, ro);
45105
45105
  });
45106
- }), O = (Xe) => rl(Xe, h), L = (Xe) => E3(i).bind((tn) => O(tn).map((En) => Xe(En, tn))), j = (Xe, tn) => {
45106
+ }), O = (Xe) => rl(Xe, h), L = (Xe) => E3(i).bind((tn) => O(tn).map((En) => Xe(En, tn))), G = (Xe, tn) => {
45107
45107
  L((En) => {
45108
45108
  i.formatter.toggle("tableclass", { value: tn }, En.dom), mh(i, En.dom, Xm);
45109
45109
  });
@@ -45166,7 +45166,7 @@ Required: ` + m.join(", "));
45166
45166
  mceTablePasteRowAfter: () => et(m.pasteRowsAfter, rv),
45167
45167
  mceTableDelete: v,
45168
45168
  mceTableCellToggleClass: ne,
45169
- mceTableToggleClass: j,
45169
+ mceTableToggleClass: G,
45170
45170
  mceTableToggleCaption: fe,
45171
45171
  mceTableSizingMode: (Xe, tn) => S(tn),
45172
45172
  mceTableCellType: Lt((Xe) => Xe === "th" ? m.makeCellsHeader : m.unmakeCellsHeader),
@@ -45200,8 +45200,8 @@ Required: ` + m.join(", "));
45200
45200
  });
45201
45201
  }, A3 = (i, m) => {
45202
45202
  const h = Ud(i), v = (S) => F0(Si(i)).bind((O) => rl(O, h).map((L) => {
45203
- const j = tp(uu(i), L, O);
45204
- return S(L, j);
45203
+ const G = tp(uu(i), L, O);
45204
+ return S(L, G);
45205
45205
  })).getOr("");
45206
45206
  Vo({
45207
45207
  mceTableRowType: () => v(m.getTableRowType),
@@ -45302,12 +45302,12 @@ Required: ` + m.join(", "));
45302
45302
  return ka(i, h);
45303
45303
  }, N2 = (i, m) => KC(i, m).match({
45304
45304
  ltr: (v, S, O, L) => {
45305
- const j = i.document.createRange();
45306
- return j.setStart(v.dom, S), j.setEnd(O.dom, L), j;
45305
+ const G = i.document.createRange();
45306
+ return G.setStart(v.dom, S), G.setEnd(O.dom, L), G;
45307
45307
  },
45308
45308
  rtl: (v, S, O, L) => {
45309
- const j = i.document.createRange();
45310
- return j.setStart(O.dom, L), j.setEnd(v.dom, S), j;
45309
+ const G = i.document.createRange();
45310
+ return G.setStart(O.dom, L), G.setEnd(v.dom, S), G;
45311
45311
  }
45312
45312
  });
45313
45313
  s1.ltr, s1.rtl;
@@ -45322,7 +45322,7 @@ Required: ` + m.join(", "));
45322
45322
  }) }, I2 = (i, m) => {
45323
45323
  const h = N2(i, m);
45324
45324
  return Op.create(Ae.fromDom(h.startContainer), h.startOffset, Ae.fromDom(h.endContainer), h.endOffset);
45325
- }, r1 = YC.create, lv = (i, m, h, v, S, O, L) => ns(h, S) && v === O ? pe.none() : Bs(h, "td,th", m).bind((j) => Bs(S, "td,th", m).bind((ne) => Rp(i, m, j, ne, L))), Rp = (i, m, h, v, S) => ns(h, v) ? pe.none() : $u(h, v, m).bind((O) => {
45325
+ }, r1 = YC.create, lv = (i, m, h, v, S, O, L) => ns(h, S) && v === O ? pe.none() : Bs(h, "td,th", m).bind((G) => Bs(S, "td,th", m).bind((ne) => Rp(i, m, G, ne, L))), Rp = (i, m, h, v, S) => ns(h, v) ? pe.none() : $u(h, v, m).bind((O) => {
45326
45326
  const L = O.boxes.getOr([]);
45327
45327
  return L.length > 1 ? (S(i, L, O.start, O.finish), pe.some(Dp.create(pe.some(r1(h, 0, h, Fo(h))), !0))) : pe.none();
45328
45328
  }), N3 = (i, m, h, v, S) => {
@@ -45350,7 +45350,7 @@ Required: ` + m.join(", "));
45350
45350
  next: Jf,
45351
45351
  fallback: pe.some(Xf)
45352
45352
  }
45353
- ], JC = (i, m, h, v, S = L2) => z(S, (L) => L.current === h).bind((L) => L.current(i, m, v, L.next).orThunk(() => L.fallback.bind((j) => JC(i, m, j, v)))), Qf = {
45353
+ ], JC = (i, m, h, v, S = L2) => z(S, (L) => L.current === h).bind((L) => L.current(i, m, v, L.next).orThunk(() => L.fallback.bind((G) => JC(i, m, G, v)))), Qf = {
45354
45354
  left: () => ({
45355
45355
  sibling: (h, v) => h.query().prevSibling(v),
45356
45356
  first: (h) => h.length > 0 ? pe.some(h[h.length - 1]) : pe.none()
@@ -45359,7 +45359,7 @@ Required: ` + m.join(", "));
45359
45359
  sibling: (h, v) => h.query().nextSibling(v),
45360
45360
  first: (h) => h.length > 0 ? pe.some(h[0]) : pe.none()
45361
45361
  })
45362
- }, em = (i, m, h, v, S, O) => JC(i, m, v, S).bind((j) => O(j.item) ? pe.none() : h(j.item) ? pe.some(j.item) : em(i, j.item, h, j.mode, S, O)), a1 = (i, m, h, v) => em(i, m, h, Xf, Qf.left(), v), $p = (i, m, h, v) => em(i, m, h, Xf, Qf.right(), v), H2 = (i) => (m) => i.property().children(m).length === 0, Jm = (i, m, h) => l1(i, m, H2(i), h), gd = (i, m, h) => cv(i, m, H2(i), h), l1 = a1, cv = $p, c1 = Qe(), V2 = (i, m) => Jm(c1, i, m), Mp = (i, m) => gd(c1, i, m), i1 = (i, m, h) => l1(c1, i, m, h), z2 = (i, m, h) => cv(c1, i, m, h), QC = (i, m, h) => ls(i, m, h).isSome(), eg = oi.generate([
45362
+ }, em = (i, m, h, v, S, O) => JC(i, m, v, S).bind((G) => O(G.item) ? pe.none() : h(G.item) ? pe.some(G.item) : em(i, G.item, h, G.mode, S, O)), a1 = (i, m, h, v) => em(i, m, h, Xf, Qf.left(), v), $p = (i, m, h, v) => em(i, m, h, Xf, Qf.right(), v), H2 = (i) => (m) => i.property().children(m).length === 0, Jm = (i, m, h) => l1(i, m, H2(i), h), gd = (i, m, h) => cv(i, m, H2(i), h), l1 = a1, cv = $p, c1 = Qe(), V2 = (i, m) => Jm(c1, i, m), Mp = (i, m) => gd(c1, i, m), i1 = (i, m, h) => l1(c1, i, m, h), z2 = (i, m, h) => cv(c1, i, m, h), QC = (i, m, h) => ls(i, m, h).isSome(), eg = oi.generate([
45363
45363
  { none: ["message"] },
45364
45364
  { success: [] },
45365
45365
  { failedUp: ["cell"] },
@@ -45369,10 +45369,10 @@ Required: ` + m.join(", "));
45369
45369
  return S.right > v.left && S.left < v.right;
45370
45370
  }, I3 = (i) => Bs(i, "tr"), Lr = {
45371
45371
  ...eg,
45372
- verify: (i, m, h, v, S, O, L) => Bs(v, "td,th", L).bind((j) => Bs(m, "td,th", L).map((ne) => ns(j, ne) ? ns(v, j) && Fo(j) === S ? O(ne) : eg.none("in same cell") : Cs(I3, [
45373
- j,
45372
+ verify: (i, m, h, v, S, O, L) => Bs(v, "td,th", L).bind((G) => Bs(m, "td,th", L).map((ne) => ns(G, ne) ? ns(v, G) && Fo(G) === S ? O(ne) : eg.none("in same cell") : Cs(I3, [
45373
+ G,
45374
45374
  ne
45375
- ]).fold(() => iv(i, ne, j) ? eg.success() : O(ne), (fe) => O(ne)))).getOr(eg.none("default")),
45375
+ ]).fold(() => iv(i, ne, G) ? eg.success() : O(ne), (fe) => O(ne)))).getOr(eg.none("default")),
45376
45376
  cata: (i, m, h, v, S) => i.fold(m, h, v, S)
45377
45377
  }, vO = (i, m, h, v) => ({
45378
45378
  parent: i,
@@ -45424,7 +45424,7 @@ Required: ` + m.join(", "));
45424
45424
  adjuster: Rc,
45425
45425
  move: Np,
45426
45426
  gather: Mp
45427
- }, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), ph = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? ph(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((j) => m.adjuster(i, L, j, h, v).fold(pe.none, (ne) => j2(i, m, h, ne, S - 1))).orThunk(() => pe.some(v)), pe.none)), H3 = (i, m, h) => i.point(m) > h.getInnerHeight() ? pe.some(i.point(m) - h.getInnerHeight()) : i.point(m) < 0 ? pe.some(-i.point(m)) : pe.none(), n_ = (i, m, h) => {
45427
+ }, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), ph = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? ph(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((G) => m.adjuster(i, L, G, h, v).fold(pe.none, (ne) => j2(i, m, h, ne, S - 1))).orThunk(() => pe.some(v)), pe.none)), H3 = (i, m, h) => i.point(m) > h.getInnerHeight() ? pe.some(i.point(m) - h.getInnerHeight()) : i.point(m) < 0 ? pe.some(-i.point(m)) : pe.none(), n_ = (i, m, h) => {
45428
45428
  const v = i.move(h, Xa), S = j2(m, i, h, v, ef).getOr(v);
45429
45429
  return H3(i, S, m).fold(() => m.situsFromPoint(S.left, i.point(S)), (O) => (m.scrollBy(0, O), m.situsFromPoint(S.left, i.point(S) - O)));
45430
45430
  }, d1 = {
@@ -45435,18 +45435,18 @@ Required: ` + m.join(", "));
45435
45435
  const O = i.fromSitus(S), L = Lr.verify(i, v.finish, v.foffset, O.finish, O.foffset, h.failure, m);
45436
45436
  return W2(L);
45437
45437
  })), fv = (i, m, h, v, S, O) => O === 0 ? pe.none() : z3(i, m, h, v, S).bind((L) => {
45438
- const j = i.fromSitus(L), ne = Lr.verify(i, h, v, j.finish, j.foffset, S.failure, m);
45438
+ const G = i.fromSitus(L), ne = Lr.verify(i, h, v, G.finish, G.foffset, S.failure, m);
45439
45439
  return Lr.cata(ne, () => pe.none(), () => pe.some(L), (fe) => ns(h, fe) && v === 0 ? V3(i, h, v, hh, S) : fv(i, m, fe, 0, S, O - 1), (fe) => ns(h, fe) && v === Fo(fe) ? V3(i, h, v, Np, S) : fv(i, m, fe, Fo(fe), S, O - 1));
45440
45440
  }), V3 = (i, m, h, v, S) => tm(i, m, h).bind((O) => s_(i, S, v(O, d1.getJumpSize()))), s_ = (i, m, h) => {
45441
45441
  const v = ed().browser;
45442
45442
  return v.isChromium() || v.isSafari() || v.isFirefox() ? m.retry(i, h) : pe.none();
45443
- }, z3 = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), yO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Bs(v, "td,th", m).bind((O) => Bs(O, "table", m).bind((L) => r_(S, L) ? yO(i, m, h).bind((j) => Bs(j.finish, "td,th", m).map((ne) => ({
45443
+ }, z3 = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), yO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Bs(v, "td,th", m).bind((O) => Bs(O, "table", m).bind((L) => r_(S, L) ? yO(i, m, h).bind((G) => Bs(G.finish, "td,th", m).map((ne) => ({
45444
45444
  start: O,
45445
45445
  finish: ne,
45446
- range: j
45446
+ range: G
45447
45447
  }))) : pe.none())), pd = (i, m, h, v, S, O) => O(v, m).orThunk(() => So(i, m, h, v, S).map((L) => {
45448
- const j = L.range;
45449
- return Dp.create(pe.some(r1(j.start, j.soffset, j.finish, j.foffset)), !0);
45448
+ const G = L.range;
45449
+ return Dp.create(pe.some(r1(G.start, G.soffset, G.finish, G.foffset)), !0);
45450
45450
  })), bh = (i, m) => Bs(i, "tr", m).bind((h) => Bs(h, "table", m).bind((v) => {
45451
45451
  const S = Ms(v, "tr");
45452
45452
  return ns(h, S[0]) ? i1(v, (O) => iu(O).isSome(), m).map((O) => {
@@ -45456,7 +45456,7 @@ Required: ` + m.join(", "));
45456
45456
  })), G2 = (i, m) => Bs(i, "tr", m).bind((h) => Bs(h, "table", m).bind((v) => {
45457
45457
  const S = Ms(v, "tr");
45458
45458
  return ns(h, S[S.length - 1]) ? z2(v, (O) => zd(O).isSome(), m).map((O) => Dp.create(pe.some(r1(O, 0, O, 0)), !0)) : pe.none();
45459
- })), a_ = (i, m, h, v, S, O, L) => So(i, h, v, S, O).bind((j) => Rp(m, h, j.start, j.finish, L)), f1 = (i) => {
45459
+ })), a_ = (i, m, h, v, S, O, L) => So(i, h, v, S, O).bind((G) => Rp(m, h, G.start, G.finish, L)), f1 = (i) => {
45460
45460
  let m = i;
45461
45461
  return {
45462
45462
  get: () => m,
@@ -45472,8 +45472,8 @@ Required: ` + m.join(", "));
45472
45472
  },
45473
45473
  isSet: () => m.get().isSome(),
45474
45474
  get: () => m.get(),
45475
- set: (j) => {
45476
- h(), m.set(pe.some(j));
45475
+ set: (G) => {
45476
+ h(), m.set(pe.some(G));
45477
45477
  }
45478
45478
  };
45479
45479
  }, Fp = () => {
@@ -45728,9 +45728,9 @@ Required: ` + m.join(", "));
45728
45728
  }, y1 = (i, m, h, v) => {
45729
45729
  const S = Up(i);
45730
45730
  return (O, L) => {
45731
- v.clearBeforeUpdate(m), $u(O, L, h).each((j) => {
45732
- const ne = j.boxes.getOr([]);
45733
- v.selectRange(m, ne, j.start, j.finish), S.selectContents(L), S.collapseSelection();
45731
+ v.clearBeforeUpdate(m), $u(O, L, h).each((G) => {
45732
+ const ne = G.boxes.getOr([]);
45733
+ v.selectRange(m, ne, G.start, G.finish), S.selectContents(L), S.collapseSelection();
45734
45734
  });
45735
45735
  };
45736
45736
  }, w1 = (i, m) => {
@@ -45769,8 +45769,8 @@ Required: ` + m.join(", "));
45769
45769
  return {
45770
45770
  clearBeforeUpdate: v,
45771
45771
  clear: v,
45772
- selectRange: (O, L, j, ne) => {
45773
- v(O), Be(L, m), fu(j, i.firstSelected), fu(ne, i.lastSelected);
45772
+ selectRange: (O, L, G, ne) => {
45773
+ v(O), Be(L, m), fu(G, i.firstSelected), fu(ne, i.lastSelected);
45774
45774
  },
45775
45775
  selectedSelector: i.selectedSelector,
45776
45776
  firstSelectedSelector: i.firstSelectedSelector,
@@ -45829,7 +45829,7 @@ Required: ` + m.join(", "));
45829
45829
  }, sf = (i, m, h) => {
45830
45830
  const v = Yn.fromTable(i);
45831
45831
  return zf(v, m).map((O) => {
45832
- const L = up(v, h, !1), { rows: j } = Mr(L), ne = Tv(j, O), fe = _s(j, O);
45832
+ const L = up(v, h, !1), { rows: G } = Mr(L), ne = Tv(G, O), fe = _s(G, O);
45833
45833
  return {
45834
45834
  upOrLeftCells: ne,
45835
45835
  downOrRightCells: fe
@@ -45928,10 +45928,10 @@ Required: ` + m.join(", "));
45928
45928
  },
45929
45929
  trigger: (...O) => {
45930
45930
  const L = {};
45931
- Be(i, (j, ne) => {
45932
- L[j] = O[ne];
45933
- }), Be(m, (j) => {
45934
- j(L);
45931
+ Be(i, (G, ne) => {
45932
+ L[G] = O[ne];
45933
+ }), Be(m, (G) => {
45934
+ G(L);
45935
45935
  });
45936
45936
  }
45937
45937
  };
@@ -45983,8 +45983,8 @@ Required: ` + m.join(", "));
45983
45983
  throw new Error("You must specify at least one required field.");
45984
45984
  return Ol("required", m), wO(m), (v) => {
45985
45985
  const S = Ut(v);
45986
- Wo(m, (j) => go(S, j)) || eT(m, S), i(m, S);
45987
- const L = ho(m, (j) => !h.validate(v[j], j));
45986
+ Wo(m, (G) => go(S, G)) || eT(m, S), i(m, S);
45987
+ const L = ho(m, (G) => !h.validate(v[G], G));
45988
45988
  return L.length > 0 && wh(L, h.label), v;
45989
45989
  };
45990
45990
  }, yo = (i, m) => {
@@ -46010,8 +46010,8 @@ Required: ` + m.join(", "));
46010
46010
  const m = () => {
46011
46011
  i = pe.none();
46012
46012
  }, h = (O, L) => {
46013
- const j = i.map((ne) => O.compare(ne, L));
46014
- return i = pe.some(L), j;
46013
+ const G = i.map((ne) => O.compare(ne, L));
46014
+ return i = pe.some(L), G;
46015
46015
  }, v = (O, L) => {
46016
46016
  L.extract(O).each((ne) => {
46017
46017
  h(L, ne).each((Oe) => {
@@ -46042,8 +46042,8 @@ Required: ` + m.join(", "));
46042
46042
  h.reset(), h = i;
46043
46043
  },
46044
46044
  isOn: () => h === m,
46045
- onEvent: (j, ne) => {
46046
- h.onEvent(j, ne);
46045
+ onEvent: (G, ne) => {
46046
+ h.onEvent(G, ne);
46047
46047
  },
46048
46048
  events: m.events
46049
46049
  };
@@ -46054,10 +46054,10 @@ Required: ` + m.join(", "));
46054
46054
  stop: Fu([])
46055
46055
  }), O = sT(), L = () => {
46056
46056
  et.stop(), O.isOn() && (O.off(), S.trigger.stop());
46057
- }, j = Q3(L, 200), ne = (Xe) => {
46057
+ }, G = Q3(L, 200), ne = (Xe) => {
46058
46058
  et.start(Xe), O.on(), S.trigger.start();
46059
46059
  }, fe = (Xe) => {
46060
- j.cancel(), O.onEvent(Xe, m);
46060
+ G.cancel(), O.onEvent(Xe, m);
46061
46061
  };
46062
46062
  O.events.move.bind((Xe) => {
46063
46063
  m.mutate(i, Xe.info);
@@ -46072,7 +46072,7 @@ Required: ` + m.join(", "));
46072
46072
  forceDrop: L,
46073
46073
  drop: Bt(L),
46074
46074
  move: Bt(fe),
46075
- delayDrop: Bt(j.throttle)
46075
+ delayDrop: Bt(G.throttle)
46076
46076
  }), h), Lt = () => {
46077
46077
  et.destroy();
46078
46078
  };
@@ -46110,7 +46110,7 @@ Required: ` + m.join(", "));
46110
46110
  compare: (i, m) => ce(m.left - i.left, m.top - i.top),
46111
46111
  extract: (i) => pe.some(ce(i.x, i.y)),
46112
46112
  sink: (i, m) => {
46113
- const h = E1(m), v = Zp(h.element(), "mousedown", i.forceDrop), S = Zp(h.element(), "mouseup", i.drop), O = Zp(h.element(), "mousemove", i.move), L = Zp(h.element(), "mouseout", i.delayDrop), j = () => {
46113
+ const h = E1(m), v = Zp(h.element(), "mousedown", i.forceDrop), S = Zp(h.element(), "mouseup", i.drop), O = Zp(h.element(), "mousemove", i.move), L = Zp(h.element(), "mouseout", i.delayDrop), G = () => {
46114
46114
  h.destroy(), S.unbind(), O.unbind(), L.unbind(), v.unbind();
46115
46115
  }, ne = (Oe) => {
46116
46116
  os(Oe, h.element());
@@ -46121,7 +46121,7 @@ Required: ` + m.join(", "));
46121
46121
  element: h.element,
46122
46122
  start: ne,
46123
46123
  stop: fe,
46124
- destroy: j
46124
+ destroy: G
46125
46125
  });
46126
46126
  },
46127
46127
  mutate: (i, m) => {
@@ -46221,7 +46221,7 @@ Required: ` + m.join(", "));
46221
46221
  return fu(L, uw), L;
46222
46222
  });
46223
46223
  }, mT = (i, m, h, v, S) => {
46224
- const O = Jt(h), L = m.isResizable, j = v.length > 0 ? qt.positions(v, h) : [], ne = j.length > 0 ? iT(i, L) : [], fe = ho(j, (Bt, et) => st(ne, (Lt) => et === Lt));
46224
+ const O = Jt(h), L = m.isResizable, G = v.length > 0 ? qt.positions(v, h) : [], ne = G.length > 0 ? iT(i, L) : [], fe = ho(G, (Bt, et) => st(ne, (Lt) => et === Lt));
46225
46225
  dT(m, fe, O, Ci(h));
46226
46226
  const Oe = S.length > 0 ? Br.positions(S, h) : [], lt = Oe.length > 0 ? uT(i, L) : [], Pt = ho(Oe, (Bt, et) => st(lt, (Lt) => et === Lt));
46227
46227
  E_(m, Pt, O, _(h));
@@ -46273,7 +46273,7 @@ Required: ` + m.join(", "));
46273
46273
  });
46274
46274
  const L = (et, Lt) => {
46275
46275
  Bt.trigger.startAdjust(), m.assign(et), Zs(et, "data-initial-" + Lt, Zr(et, Lt)), fu(et, om), Gs(et, "opacity", "0.2"), h.go(i.parent());
46276
- }, j = Zp(i.parent(), "mousedown", (et) => {
46276
+ }, G = Zp(i.parent(), "mousedown", (et) => {
46277
46277
  fT(et.target) && L(et.target, "top"), af(et.target) && L(et.target, "left");
46278
46278
  }), ne = (et) => ns(et, i.view()), fe = (et) => Bs(et, "table", ne).filter(If), Oe = Zp(i.view(), "mouseover", (et) => {
46279
46279
  fe(et.target).fold(() => {
@@ -46282,7 +46282,7 @@ Required: ` + m.join(", "));
46282
46282
  h.isActive() && (v = pe.some(Lt), Av(i, Lt));
46283
46283
  });
46284
46284
  }), lt = () => {
46285
- j.unbind(), Oe.unbind(), h.destroy(), Gp(i);
46285
+ G.unbind(), Oe.unbind(), h.destroy(), Gp(i);
46286
46286
  }, Pt = (et) => {
46287
46287
  Av(i, et);
46288
46288
  }, Bt = rg({
@@ -46319,18 +46319,18 @@ Required: ` + m.join(", "));
46319
46319
  ]),
46320
46320
  startDrag: Fu([])
46321
46321
  });
46322
- return O.events.adjustHeight.bind((j) => {
46323
- const ne = j.table;
46322
+ return O.events.adjustHeight.bind((G) => {
46323
+ const ne = G.table;
46324
46324
  L.trigger.beforeResize(ne, "row");
46325
- const fe = v.delta(j.delta, ne);
46326
- t2(ne, fe, j.row, v), L.trigger.afterResize(ne, "row");
46327
- }), O.events.startAdjust.bind((j) => {
46325
+ const fe = v.delta(G.delta, ne);
46326
+ t2(ne, fe, G.row, v), L.trigger.afterResize(ne, "row");
46327
+ }), O.events.startAdjust.bind((G) => {
46328
46328
  L.trigger.startDrag();
46329
- }), O.events.adjustWidth.bind((j) => {
46330
- const ne = j.table;
46329
+ }), O.events.adjustWidth.bind((G) => {
46330
+ const ne = G.table;
46331
46331
  L.trigger.beforeResize(ne, "col");
46332
- const fe = S.delta(j.delta, ne), Oe = h(ne);
46333
- W0(ne, fe, j.column, m, Oe), L.trigger.afterResize(ne, "col");
46332
+ const fe = S.delta(G.delta, ne), Oe = h(ne);
46333
+ W0(ne, fe, G.column, m, Oe), L.trigger.afterResize(ne, "col");
46334
46334
  }), {
46335
46335
  on: O.on,
46336
46336
  off: O.off,
@@ -46386,11 +46386,11 @@ Required: ` + m.join(", "));
46386
46386
  }, Kp = (i) => {
46387
46387
  const m = Fp(), h = Fp(), v = Fp();
46388
46388
  let S, O;
46389
- const L = (et) => Jl(i, et), j = () => Jx(i) ? Gy() : aC(), ne = (et) => ap(et).columns, fe = (et, Lt, Xe) => {
46389
+ const L = (et) => Jl(i, et), G = () => Jx(i) ? Gy() : aC(), ne = (et) => ap(et).columns, fe = (et, Lt, Xe) => {
46390
46390
  const tn = eu(Lt, "e");
46391
46391
  if (O === "" && du(et), Xe !== S && O !== "") {
46392
46392
  Gs(et, "width", O);
46393
- const En = j(), Gn = L(et), qs = Jx(i) || tn ? ne(et) - 1 : 0;
46393
+ const En = G(), Gn = L(et), qs = Jx(i) || tn ? ne(et) - 1 : 0;
46394
46394
  W0(et, Xe - S, qs, En, Gn);
46395
46395
  } else if (_b(O)) {
46396
46396
  const En = parseFloat(O.replace("%", "")), Gn = Xe * En / S;
@@ -46407,7 +46407,7 @@ Required: ` + m.join(", "));
46407
46407
  return i.on("init", () => {
46408
46408
  const et = fw(i, cf);
46409
46409
  if (v.set(et), D4(i) && nh(i)) {
46410
- const Lt = j(), Xe = Rv.create(et, Lt, L);
46410
+ const Lt = G(), Xe = Rv.create(et, Lt, L);
46411
46411
  Xe.on(), Xe.events.startDrag.bind((tn) => {
46412
46412
  m.set(i.selection.getRng());
46413
46413
  }), Xe.events.beforeResize.bind((tn) => {
@@ -46473,10 +46473,10 @@ Required: ` + m.join(", "));
46473
46473
  const te = (_, M, W) => {
46474
46474
  var ce;
46475
46475
  return W(_, M.prototype) ? !0 : ((ce = _.constructor) === null || ce === void 0 ? void 0 : ce.name) === M.name;
46476
- }, G = (_) => {
46476
+ }, j = (_) => {
46477
46477
  const M = typeof _;
46478
46478
  return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && te(_, String, (W, ce) => ce.isPrototypeOf(W)) ? "string" : M;
46479
- }, Ce = (_) => (M) => G(M) === _, oe = (_) => (M) => typeof M === _, U = Ce("string"), be = Ce("object"), q = Ce("array"), De = oe("boolean"), tt = (_) => _ == null, pt = (_) => !tt(_), cn = oe("function"), kt = oe("number"), io = () => {
46479
+ }, Ce = (_) => (M) => j(M) === _, oe = (_) => (M) => typeof M === _, U = Ce("string"), be = Ce("object"), q = Ce("array"), De = oe("boolean"), tt = (_) => _ == null, pt = (_) => !tt(_), cn = oe("function"), kt = oe("number"), io = () => {
46480
46480
  }, lo = (_, M) => (W) => _(M(W)), eo = (_) => () => _, Ot = (_, M) => _ === M;
46481
46481
  function Ls(_, ...M) {
46482
46482
  return (...W) => {
@@ -47621,10 +47621,10 @@ Required: ` + m.join(", "));
47621
47621
  const te = (K, ge, Ee) => {
47622
47622
  var Ie;
47623
47623
  return Ee(K, ge.prototype) ? !0 : ((Ie = K.constructor) === null || Ie === void 0 ? void 0 : Ie.name) === ge.name;
47624
- }, G = (K) => {
47624
+ }, j = (K) => {
47625
47625
  const ge = typeof K;
47626
47626
  return K === null ? "null" : ge === "object" && Array.isArray(K) ? "array" : ge === "object" && te(K, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
47627
- }, Ce = (K) => (ge) => G(ge) === K, oe = (K) => (ge) => typeof ge === K, U = (K) => (ge) => K === ge, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = (K) => K == null, kt = (K) => !cn(K), io = oe("function"), lo = (K, ge) => {
47627
+ }, Ce = (K) => (ge) => j(ge) === K, oe = (K) => (ge) => typeof ge === K, U = (K) => (ge) => K === ge, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = (K) => K == null, kt = (K) => !cn(K), io = oe("function"), lo = (K, ge) => {
47628
47628
  if (De(K)) {
47629
47629
  for (let Ee = 0, Ie = K.length; Ee < Ie; ++Ee)
47630
47630
  if (!ge(K[Ee]))
@@ -48375,13 +48375,13 @@ Required: ` + m.join(", "));
48375
48375
  })();
48376
48376
  (function() {
48377
48377
  var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
48378
- const te = Object.getPrototypeOf, G = (I, J, le) => {
48378
+ const te = Object.getPrototypeOf, j = (I, J, le) => {
48379
48379
  var Fe;
48380
48380
  return le(I, J.prototype) ? !0 : ((Fe = I.constructor) === null || Fe === void 0 ? void 0 : Fe.name) === J.name;
48381
48381
  }, Ce = (I) => {
48382
48382
  const J = typeof I;
48383
- return I === null ? "null" : J === "object" && Array.isArray(I) ? "array" : J === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : J;
48384
- }, oe = (I) => (J) => Ce(J) === I, U = (I) => (J) => typeof J === I, be = (I) => (J) => I === J, q = (I, J) => tt(I) && G(I, J, (le, Fe) => te(le) === Fe), De = oe("string"), tt = oe("object"), pt = (I) => q(I, Object), cn = oe("array"), kt = be(null), io = U("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = U("function"), Ls = U("number"), dn = (I, J) => {
48383
+ return I === null ? "null" : J === "object" && Array.isArray(I) ? "array" : J === "object" && j(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : J;
48384
+ }, oe = (I) => (J) => Ce(J) === I, U = (I) => (J) => typeof J === I, be = (I) => (J) => I === J, q = (I, J) => tt(I) && j(I, J, (le, Fe) => te(le) === Fe), De = oe("string"), tt = oe("object"), pt = (I) => q(I, Object), cn = oe("array"), kt = be(null), io = U("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = U("function"), Ls = U("number"), dn = (I, J) => {
48385
48385
  if (cn(I)) {
48386
48386
  for (let le = 0, Fe = I.length; le < Fe; ++le)
48387
48387
  if (!J(I[le]))
@@ -49247,10 +49247,10 @@ Required: ` + m.join(", "));
49247
49247
  const te = (x, T, V) => {
49248
49248
  var X;
49249
49249
  return V(x, T.prototype) ? !0 : ((X = x.constructor) === null || X === void 0 ? void 0 : X.name) === T.name;
49250
- }, G = (x) => {
49250
+ }, j = (x) => {
49251
49251
  const T = typeof x;
49252
49252
  return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && te(x, String, (V, X) => X.isPrototypeOf(V)) ? "string" : T;
49253
- }, Ce = (x) => (T) => G(T) === x, oe = (x) => (T) => typeof T === x, U = (x) => (T) => x === T, be = Ce("string"), q = Ce("array"), De = oe("boolean"), tt = U(void 0), pt = (x) => x == null, cn = (x) => !pt(x), kt = oe("function"), io = oe("number"), lo = () => {
49253
+ }, Ce = (x) => (T) => j(T) === x, oe = (x) => (T) => typeof T === x, U = (x) => (T) => x === T, be = Ce("string"), q = Ce("array"), De = oe("boolean"), tt = U(void 0), pt = (x) => x == null, cn = (x) => !pt(x), kt = oe("function"), io = oe("number"), lo = () => {
49254
49254
  }, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, dn = (x, T) => x === T;
49255
49255
  function he(x, ...T) {
49256
49256
  return (...V) => {
@@ -51413,8 +51413,8 @@ Required: ` + T.join(", "));
51413
51413
  q.focus(), q.undoManager.transact(() => {
51414
51414
  q.setContent(De);
51415
51415
  }), q.selection.setCursorLocation(), q.nodeChanged();
51416
- }, G = (q) => q.getContent({ source_view: !0 }), Ce = (q) => {
51417
- const De = G(q);
51416
+ }, j = (q) => q.getContent({ source_view: !0 }), Ce = (q) => {
51417
+ const De = j(q);
51418
51418
  q.windowManager.open({
51419
51419
  title: "Source Code",
51420
51420
  size: "large",
@@ -51466,7 +51466,7 @@ Required: ` + T.join(", "));
51466
51466
  })();
51467
51467
  (function() {
51468
51468
  var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
51469
- const G = ((Ke) => (Rt) => Ke === Rt)(null), Ce = (Ke) => Ke, oe = (Ke, Rt) => {
51469
+ const j = ((Ke) => (Rt) => Ke === Rt)(null), Ce = (Ke) => Ke, oe = (Ke, Rt) => {
51470
51470
  const Ye = Ke.length, Te = new Array(Ye);
51471
51471
  for (let wn = 0; wn < Ye; wn++) {
51472
51472
  const qo = Ke[wn];
@@ -51666,10 +51666,10 @@ Required: ` + T.join(", "));
51666
51666
  let Ye = null;
51667
51667
  return {
51668
51668
  cancel: () => {
51669
- G(Ye) || (clearTimeout(Ye), Ye = null);
51669
+ j(Ye) || (clearTimeout(Ye), Ye = null);
51670
51670
  },
51671
51671
  throttle: (...qo) => {
51672
- G(Ye) && (Ye = setTimeout(() => {
51672
+ j(Ye) && (Ye = setTimeout(() => {
51673
51673
  Ye = null, Ke.apply(null, qo);
51674
51674
  }, Rt));
51675
51675
  }
@@ -51727,8 +51727,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51727
51727
  description: { type: String, default: "" }
51728
51728
  },
51729
51729
  emits: ["update:modelValue", "keydown"],
51730
- setup(A, { expose: te, emit: G }) {
51731
- const Ce = A, oe = G, U = co(null);
51730
+ setup(A, { expose: te, emit: j }) {
51731
+ const Ce = A, oe = j, U = co(null);
51732
51732
  let be = null;
51733
51733
  Og(async () => {
51734
51734
  await Bj(), be && (be.destroy(), be = null), mte.init({
@@ -51863,7 +51863,7 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51863
51863
  return 0;
51864
51864
  if (this.limit === 0)
51865
51865
  return this.lastPage;
51866
- for (var A = this.currentPage, te = this.lastPage, G = this.limit, Ce = A - G, oe = A + G + 1, U = [], be = [], q, De = 1; De <= te; De++)
51866
+ for (var A = this.currentPage, te = this.lastPage, j = this.limit, Ce = A - j, oe = A + j + 1, U = [], be = [], q, De = 1; De <= te; De++)
51867
51867
  (De === 1 || De === te || De >= Ce && De < oe) && U.push(De);
51868
51868
  return U.forEach(function(tt) {
51869
51869
  q && (tt - q === 2 ? be.push(q + 1) : tt - q !== 1 && be.push("...")), be.push(tt), q = tt;
@@ -51989,11 +51989,11 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
51989
51989
  d: "m1 9 4-4-4-4"
51990
51990
  })
51991
51991
  ], -1);
51992
- function Bte(A, te, G, Ce, oe, U) {
51992
+ function Bte(A, te, j, Ce, oe, U) {
51993
51993
  const be = Rd("RenderlessPagination");
51994
51994
  return ue(), ju(be, {
51995
- data: G.data,
51996
- limit: G.limit,
51995
+ data: j.data,
51996
+ limit: j.limit,
51997
51997
  onPaginationChangePage: U.onPaginationChangePage
51998
51998
  }, {
51999
51999
  default: Cm((q) => [
@@ -52009,13 +52009,13 @@ function Bte(A, te, G, Ce, oe, U) {
52009
52009
  ])) : qe("", !0),
52010
52010
  q.computed.total > q.computed.perPage ? (ue(), de("ul", aO({ key: 1 }, A.$attrs, {
52011
52011
  class: ["flex items-center h-8 -space-x-px text-sm", {
52012
- "pagination-sm": G.size == "small",
52013
- "pagination-lg": G.size == "large",
52014
- "justify-content-center": G.align == "center",
52015
- "justify-content-end": G.align == "right"
52012
+ "pagination-sm": j.size == "small",
52013
+ "pagination-lg": j.size == "large",
52014
+ "justify-content-center": j.align == "center",
52015
+ "justify-content-end": j.align == "right"
52016
52016
  }]
52017
52017
  }), [
52018
- q.computed.prevPageUrl || G.showDisabled ? (ue(), de("li", {
52018
+ q.computed.prevPageUrl || j.showDisabled ? (ue(), de("li", {
52019
52019
  key: 0,
52020
52020
  class: zt(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg 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", { disabled: !q.computed.prevPageUrl }])
52021
52021
  }, [
@@ -52043,7 +52043,7 @@ function Bte(A, te, G, Ce, oe, U) {
52043
52043
  class: De == q.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"
52044
52044
  }), ct(De), 17, Ote)
52045
52045
  ], 2))), 128)),
52046
- q.computed.nextPageUrl || G.showDisabled ? (ue(), de("li", {
52046
+ q.computed.nextPageUrl || j.showDisabled ? (ue(), de("li", {
52047
52047
  key: 1,
52048
52048
  class: zt(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg 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", { disabled: !q.computed.nextPageUrl }])
52049
52049
  }, [
@@ -52101,7 +52101,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52101
52101
  }
52102
52102
  },
52103
52103
  setup(A, { expose: te }) {
52104
- const G = co(""), Ce = co(""), oe = co(""), U = co("Cancel"), be = co(!1), q = co(!1), De = co(void 0), tt = co(void 0), pt = (eo = {}) => (G.value = eo.title, Ce.value = eo.message, oe.value = eo.okButton, eo.cancelButton && (U.value = eo.cancelButton), be.value = !0, new Promise((Ot, Ls) => {
52104
+ const j = co(""), Ce = co(""), oe = co(""), U = co("Cancel"), be = co(!1), q = co(!1), De = co(void 0), tt = co(void 0), pt = (eo = {}) => (j.value = eo.title, Ce.value = eo.message, oe.value = eo.okButton, eo.cancelButton && (U.value = eo.cancelButton), be.value = !0, new Promise((Ot, Ls) => {
52105
52105
  De.value = Ot, tt.value = Ls;
52106
52106
  })), cn = () => {
52107
52107
  q.value = !0;
@@ -52126,7 +52126,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52126
52126
  R("div", Hte, [
52127
52127
  R("div", Vte, [
52128
52128
  R("div", zte, [
52129
- R("h3", Ute, ct(G.value), 1),
52129
+ R("h3", Ute, ct(j.value), 1),
52130
52130
  R("div", Wte, [
52131
52131
  R("p", Zte, ct(Ce.value), 1)
52132
52132
  ])
@@ -52219,12 +52219,12 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52219
52219
  },
52220
52220
  emits: ["editAction", "generalAction"],
52221
52221
  computed: {
52222
- columnsValues() {
52222
+ columns1() {
52223
52223
  return this.columns;
52224
52224
  },
52225
52225
  filteredData() {
52226
52226
  const A = this.search.toLowerCase();
52227
- return this.sortData(this.data).filter((G) => Object.values(G).some(
52227
+ return this.sortData(this.data).filter((j) => Object.values(j).some(
52228
52228
  (Ce) => Ce.toString().toLowerCase().includes(A)
52229
52229
  ));
52230
52230
  },
@@ -52249,8 +52249,8 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52249
52249
  }))
52250
52250
  this.$refs.ConfirmationDelete.showLoading(), this.checkedIds.forEach((te) => {
52251
52251
  axios.delete(`${this.xprops.route}/${te}`).then(() => {
52252
- }).catch((G) => {
52253
- console.log(G);
52252
+ }).catch((j) => {
52253
+ console.log(j);
52254
52254
  });
52255
52255
  }), this.checkedIds = [], this.$refs.ConfirmationDelete.hideLoading(), Ry.methods.add({
52256
52256
  message: "Selected items deleted successfully.",
@@ -52288,10 +52288,10 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52288
52288
  page: this.page,
52289
52289
  ...this.dynamicFilters
52290
52290
  };
52291
- axios.get(this.xprops.route_get_data, { params: te }).then((G) => {
52292
- this.itemLists = G.data, this.isLoading = !1;
52293
- }).catch((G) => {
52294
- console.error(G), this.isLoading = !1;
52291
+ axios.get(this.xprops.route_get_data, { params: te }).then((j) => {
52292
+ this.itemLists = j.data, this.isLoading = !1;
52293
+ }).catch((j) => {
52294
+ console.error(j), this.isLoading = !1;
52295
52295
  });
52296
52296
  },
52297
52297
  updateSortColumn(A, te) {
@@ -52393,14 +52393,14 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
52393
52393
  class: "text-center rounded-t-lg lg:rounded-t-none text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700",
52394
52394
  "data-label": ""
52395
52395
  }, xne = ["checked", "onChange"], Cne = ["data-label"], _ne = { class: "overflow-auto max-h-40" }, Sne = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
52396
- function kne(A, te, G, Ce, oe, U) {
52396
+ function kne(A, te, j, Ce, oe, U) {
52397
52397
  const be = Rd("DynamicConfirmation"), q = Rd("dropdown"), De = Rd("GlDropdown"), tt = Rd("GlTextInput"), pt = Rd("gl-button"), cn = Rd("TailwindPagination");
52398
52398
  return ue(), de(jn, null, [
52399
52399
  ui(be, { ref: "ConfirmationDelete" }, null, 512),
52400
52400
  R("div", Yte, [
52401
52401
  R("div", Xte, [
52402
52402
  R("div", Jte, [
52403
- R("span", Qte, ct(G.language.show ?? "Show"), 1),
52403
+ R("span", Qte, ct(j.language.show ?? "Show"), 1),
52404
52404
  R("div", ene, [
52405
52405
  ui(q, {
52406
52406
  has_cancel: !1,
@@ -52415,7 +52415,7 @@ function kne(A, te, G, Ce, oe, U) {
52415
52415
  placeholder: "Please select an option"
52416
52416
  }, null, 8, ["options", "modelValue"])
52417
52417
  ]),
52418
- R("span", tne, ct(G.language.entries ?? "Entries"), 1)
52418
+ R("span", tne, ct(j.language.entries ?? "Entries"), 1)
52419
52419
  ]),
52420
52420
  nne,
52421
52421
  R("div", one, [
@@ -52425,7 +52425,7 @@ function kne(A, te, G, Ce, oe, U) {
52425
52425
  "onUpdate:modelValue": te[1] || (te[1] = (kt) => oe.search = kt),
52426
52426
  onInput: te[2] || (te[2] = (kt) => U.handleSearch()),
52427
52427
  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",
52428
- placeholder: G.language.search + " ..."
52428
+ placeholder: j.language.search + " ..."
52429
52429
  }, null, 40, rne), [
52430
52430
  [_m, oe.search]
52431
52431
  ])
@@ -52466,7 +52466,7 @@ function kne(A, te, G, Ce, oe, U) {
52466
52466
  label_name: kt.field_label
52467
52467
  }, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0)
52468
52468
  ], 64))), 128)),
52469
- (ue(!0), de(jn, null, Ks(U.columnsValues, (kt, io) => (ue(), de(jn, { key: io }, [
52469
+ (ue(!0), de(jn, null, Ks(j.columns, (kt, io) => (ue(), de(jn, { key: io }, [
52470
52470
  kt.hasOwnFilter && Object.keys(kt.hasOwnFilter).length > 0 ? (ue(), de(jn, { key: 0 }, [
52471
52471
  kt.hasOwnFilter.type == "dropdown" ? (ue(), ju(De, {
52472
52472
  key: 0,
@@ -52478,7 +52478,7 @@ function kne(A, te, G, Ce, oe, U) {
52478
52478
  field_name: kt.field_name,
52479
52479
  label_name: kt.field_label,
52480
52480
  show: !1,
52481
- placeholder: G.language.please_select_an_option ?? "Please select an option"
52481
+ placeholder: j.language.please_select_an_option ?? "Please select an option"
52482
52482
  }, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : qe("", !0),
52483
52483
  kt.hasOwnFilter.type == "text" ? (ue(), ju(tt, {
52484
52484
  key: 1,
@@ -52512,7 +52512,7 @@ function kne(A, te, G, Ce, oe, U) {
52512
52512
  classes: ""
52513
52513
  }, {
52514
52514
  default: Cm(() => [
52515
- Zn(ct(G.language.select_all ?? "Select all"), 1)
52515
+ Zn(ct(j.language.select_all ?? "Select all"), 1)
52516
52516
  ]),
52517
52517
  _: 1
52518
52518
  }, 8, ["onClick"]),
@@ -52523,7 +52523,7 @@ function kne(A, te, G, Ce, oe, U) {
52523
52523
  has_border_reduced: !1
52524
52524
  }, {
52525
52525
  default: Cm(() => [
52526
- Zn(ct(G.language.deselect_all ?? "Deselect all"), 1)
52526
+ Zn(ct(j.language.deselect_all ?? "Deselect all"), 1)
52527
52527
  ]),
52528
52528
  _: 1
52529
52529
  }, 8, ["onClick"]),
@@ -52534,7 +52534,7 @@ function kne(A, te, G, Ce, oe, U) {
52534
52534
  has_border_reduced: !1
52535
52535
  }, {
52536
52536
  default: Cm(() => [
52537
- Zn(ct(G.language.delete_selected ?? "Delete selected"), 1)
52537
+ Zn(ct(j.language.delete_selected ?? "Delete selected"), 1)
52538
52538
  ]),
52539
52539
  _: 1
52540
52540
  }, 8, ["onClick"])
@@ -52544,7 +52544,7 @@ function kne(A, te, G, Ce, oe, U) {
52544
52544
  R("thead", une, [
52545
52545
  R("tr", null, [
52546
52546
  dne,
52547
- (ue(!0), de(jn, null, Ks(U.columnsValues, (kt, io) => (ue(), de("th", {
52547
+ (ue(!0), de(jn, null, Ks(j.columns, (kt, io) => (ue(), de("th", {
52548
52548
  key: io,
52549
52549
  onClick: (lo) => U.updateSortColumn(kt.field_name, kt.sortable),
52550
52550
  class: "w-full px-4 py-2 lg:w-2/12"
@@ -52559,7 +52559,7 @@ function kne(A, te, G, Ce, oe, U) {
52559
52559
  R("tbody", null, [
52560
52560
  oe.isLoading ? (ue(), de("tr", pne, [
52561
52561
  R("td", {
52562
- colspan: U.columnsValues.length
52562
+ colspan: j.columns.length
52563
52563
  }, yne, 8, bne)
52564
52564
  ])) : qe("", !0),
52565
52565
  oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(oe.itemLists.data, (kt, io) => (ue(), de("tr", {
@@ -52575,12 +52575,12 @@ function kne(A, te, G, Ce, oe, U) {
52575
52575
  class: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
52576
52576
  }, null, 40, xne)
52577
52577
  ]),
52578
- (ue(!0), de(jn, null, Ks(U.columnsValues, (lo, eo) => (ue(), de("td", {
52578
+ (ue(!0), de(jn, null, Ks(j.columns, (lo, eo) => (ue(), de("td", {
52579
52579
  key: eo,
52580
52580
  "data-label": lo.field_label,
52581
52581
  class: zt(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700", {
52582
52582
  /* 'rounded-t-lg lg:rounded-t-none': colIndex === 0,*/
52583
- "rounded-b-lg lg:rounded-b-none": eo === U.columnsValues.length - 1
52583
+ "rounded-b-lg lg:rounded-b-none": eo === j.columns.length - 1
52584
52584
  }])
52585
52585
  }, [
52586
52586
  R("div", _ne, [
@@ -52588,7 +52588,7 @@ function kne(A, te, G, Ce, oe, U) {
52588
52588
  key: 0,
52589
52589
  row: kt,
52590
52590
  field: lo.field_name,
52591
- xprops: G.xprops,
52591
+ xprops: j.xprops,
52592
52592
  tdProps: lo.tdProps,
52593
52593
  onDeleteAction: te[3] || (te[3] = (Ot) => U.GetItemLists()),
52594
52594
  onEditAction: (Ot) => U.editAction(kt),
@@ -52643,7 +52643,7 @@ const Xce = /* @__PURE__ */ zr(Kte, [["render", kne]]), Tne = {
52643
52643
  computed: {
52644
52644
  filteredData() {
52645
52645
  const A = this.search.toLowerCase();
52646
- return this.sortData(this.itemLists).filter((G) => Object.values(G).some(
52646
+ return this.sortData(this.itemLists).filter((j) => Object.values(j).some(
52647
52647
  (Ce) => Ce != null && Ce.toString().toLowerCase().includes(A)
52648
52648
  ));
52649
52649
  },
@@ -52661,7 +52661,7 @@ const Xce = /* @__PURE__ */ zr(Kte, [["render", kne]]), Tne = {
52661
52661
  ), te = A + this.maxDisplayedPages - 1;
52662
52662
  return te > this.totalPages && (te = this.totalPages, A = Math.max(te - this.maxDisplayedPages + 1, 1)), Array.from(
52663
52663
  { length: te - A + 1 },
52664
- (G, Ce) => A + Ce
52664
+ (j, Ce) => A + Ce
52665
52665
  );
52666
52666
  },
52667
52667
  firstItemIndex() {
@@ -52695,7 +52695,7 @@ const Xce = /* @__PURE__ */ zr(Kte, [["render", kne]]), Tne = {
52695
52695
  A === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = A, this.sortOrder = 1);
52696
52696
  },
52697
52697
  sortData(A) {
52698
- return this.sortKey ? A.slice().sort((te, G) => (te[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
52698
+ return this.sortKey ? A.slice().sort((te, j) => (te[this.sortKey] < j[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
52699
52699
  },
52700
52700
  previousPage() {
52701
52701
  this.currentPage > 1 && this.currentPage--;
@@ -52829,7 +52829,7 @@ const Xce = /* @__PURE__ */ zr(Kte, [["render", kne]]), Tne = {
52829
52829
  foe,
52830
52830
  goe
52831
52831
  ];
52832
- function poe(A, te, G, Ce, oe, U) {
52832
+ function poe(A, te, j, Ce, oe, U) {
52833
52833
  const be = Rd("dropdown");
52834
52834
  return ue(), de("div", Ene, [
52835
52835
  R("div", Ane, [
@@ -52868,7 +52868,7 @@ function poe(A, te, G, Ce, oe, U) {
52868
52868
  R("table", Ine, [
52869
52869
  R("thead", Lne, [
52870
52870
  R("tr", null, [
52871
- (ue(!0), de(jn, null, Ks(G.columns, (q, De) => (ue(), de("th", {
52871
+ (ue(!0), de(jn, null, Ks(j.columns, (q, De) => (ue(), de("th", {
52872
52872
  key: De,
52873
52873
  onClick: (tt) => U.sort(q.field_name, q.sortable),
52874
52874
  class: "w-full px-4 py-2 lg:w-2/12"
@@ -52883,19 +52883,19 @@ function poe(A, te, G, Ce, oe, U) {
52883
52883
  R("tbody", null, [
52884
52884
  oe.isLoading ? (ue(), de("tr", Une, [
52885
52885
  R("td", {
52886
- colspan: G.columns.length
52886
+ colspan: j.columns.length
52887
52887
  }, jne, 8, Wne)
52888
52888
  ])) : qe("", !0),
52889
52889
  oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(U.paginatedData, (q, De) => (ue(), de("tr", {
52890
52890
  key: De,
52891
52891
  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"
52892
52892
  }, [
52893
- (ue(!0), de(jn, null, Ks(G.columns, (tt, pt) => (ue(), de("td", {
52893
+ (ue(!0), de(jn, null, Ks(j.columns, (tt, pt) => (ue(), de("td", {
52894
52894
  key: pt,
52895
52895
  "data-label": tt.field_label,
52896
52896
  class: zt(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700", {
52897
52897
  "rounded-t-lg lg:rounded-t-none": pt === 0,
52898
- "rounded-b-lg lg:rounded-b-none": pt === G.columns.length - 1
52898
+ "rounded-b-lg lg:rounded-b-none": pt === j.columns.length - 1
52899
52899
  }])
52900
52900
  }, [
52901
52901
  R("div", qne, [
@@ -52903,7 +52903,7 @@ function poe(A, te, G, Ce, oe, U) {
52903
52903
  key: 0,
52904
52904
  row: q,
52905
52905
  field: tt.field_name,
52906
- xprops: G.xprops,
52906
+ xprops: j.xprops,
52907
52907
  tdProps: tt.tdProps,
52908
52908
  onDeleteAction: te[2] || (te[2] = (cn) => U.GetItemLists()),
52909
52909
  onEditAction: (cn) => U.editAction(q),
@@ -53022,7 +53022,7 @@ const Jce = /* @__PURE__ */ zr(Tne, [["render", poe]]), boe = {
53022
53022
  computed: {
53023
53023
  filteredData() {
53024
53024
  const A = this.search.toLowerCase();
53025
- return this.sortData(this.data).filter((G) => Object.values(G).some(
53025
+ return this.sortData(this.data).filter((j) => Object.values(j).some(
53026
53026
  (Ce) => Ce.toString().toLowerCase().includes(A)
53027
53027
  ));
53028
53028
  },
@@ -53032,10 +53032,10 @@ const Jce = /* @__PURE__ */ zr(Tne, [["render", poe]]), boe = {
53032
53032
  },
53033
53033
  methods: {
53034
53034
  groupBy(A) {
53035
- return this.itemLists.data ? this.itemLists.data.reduce((te, G) => {
53036
- const Ce = G[A];
53035
+ return this.itemLists.data ? this.itemLists.data.reduce((te, j) => {
53036
+ const Ce = j[A];
53037
53037
  te[Ce] || (te[Ce] = []);
53038
- const oe = { ...G };
53038
+ const oe = { ...j };
53039
53039
  return delete oe[A], te[Ce].push(oe), te;
53040
53040
  }, {}) : [];
53041
53041
  },
@@ -53054,10 +53054,10 @@ const Jce = /* @__PURE__ */ zr(Tne, [["render", poe]]), boe = {
53054
53054
  limit: this.perPage,
53055
53055
  page: this.page
53056
53056
  };
53057
- axios.get(this.xprops.route_get_data, { params: te }).then((G) => {
53058
- this.itemLists = G.data, this.isLoading = !1;
53059
- }).catch((G) => {
53060
- console.error(G), this.isLoading = !1;
53057
+ axios.get(this.xprops.route_get_data, { params: te }).then((j) => {
53058
+ this.itemLists = j.data, this.isLoading = !1;
53059
+ }).catch((j) => {
53060
+ console.error(j), this.isLoading = !1;
53061
53061
  });
53062
53062
  },
53063
53063
  updateSortColumn(A, te) {
@@ -53150,7 +53150,7 @@ const Jce = /* @__PURE__ */ zr(Tne, [["render", poe]]), boe = {
53150
53150
  ], -1), Ioe = [
53151
53151
  Noe
53152
53152
  ], Loe = { 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" }, Foe = ["colspan"], Hoe = ["data-label"], Voe = { class: "overflow-auto max-h-40" }, zoe = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
53153
- function Uoe(A, te, G, Ce, oe, U) {
53153
+ function Uoe(A, te, j, Ce, oe, U) {
53154
53154
  const be = Rd("dropdown"), q = Rd("TailwindPagination");
53155
53155
  return ue(), de("div", voe, [
53156
53156
  R("div", yoe, [
@@ -53190,7 +53190,7 @@ function Uoe(A, te, G, Ce, oe, U) {
53190
53190
  R("table", Aoe, [
53191
53191
  R("thead", Doe, [
53192
53192
  R("tr", null, [
53193
- (ue(!0), de(jn, null, Ks(G.columns, (De, tt) => (ue(), de("th", {
53193
+ (ue(!0), de(jn, null, Ks(j.columns, (De, tt) => (ue(), de("th", {
53194
53194
  key: tt,
53195
53195
  onClick: (pt) => U.updateSortColumn(De.field_name, De.sortable),
53196
53196
  class: "w-full px-4 py-2 lg:w-2/12"
@@ -53205,13 +53205,13 @@ function Uoe(A, te, G, Ce, oe, U) {
53205
53205
  R("tbody", null, [
53206
53206
  oe.isLoading ? (ue(), de("tr", Boe, [
53207
53207
  R("td", {
53208
- colspan: G.columns.length
53208
+ colspan: j.columns.length
53209
53209
  }, Ioe, 8, Poe)
53210
53210
  ])) : qe("", !0),
53211
53211
  oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(U.groupedItems, (De, tt) => (ue(), de(jn, null, [
53212
53212
  R("tr", Loe, [
53213
53213
  R("td", {
53214
- colspan: G.columns.length,
53214
+ colspan: j.columns.length,
53215
53215
  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"
53216
53216
  }, ct(tt), 9, Foe)
53217
53217
  ]),
@@ -53219,7 +53219,7 @@ function Uoe(A, te, G, Ce, oe, U) {
53219
53219
  key: cn,
53220
53220
  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"
53221
53221
  }, [
53222
- (ue(!0), de(jn, null, Ks(G.columns, (kt, io) => (ue(), de("td", {
53222
+ (ue(!0), de(jn, null, Ks(j.columns, (kt, io) => (ue(), de("td", {
53223
53223
  key: io,
53224
53224
  "data-label": kt.field_label,
53225
53225
  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-[1px] dark:border-gray-700"
@@ -53229,7 +53229,7 @@ function Uoe(A, te, G, Ce, oe, U) {
53229
53229
  key: 0,
53230
53230
  row: pt,
53231
53231
  field: kt.field_name,
53232
- xprops: G.xprops,
53232
+ xprops: j.xprops,
53233
53233
  tdProps: kt.tdProps,
53234
53234
  onDeleteAction: te[3] || (te[3] = (lo) => U.GetItemLists()),
53235
53235
  onEditAction: (lo) => U.editAction(pt)
@@ -53277,7 +53277,7 @@ const Qce = /* @__PURE__ */ zr(boe, [["render", Uoe]]), Woe = {
53277
53277
  computed: {
53278
53278
  filteredData() {
53279
53279
  const A = this.search.toLowerCase();
53280
- return this.sortData(this.data).filter((G) => Object.values(G).some(
53280
+ return this.sortData(this.data).filter((j) => Object.values(j).some(
53281
53281
  (Ce) => Ce != null && Ce.toString().toLowerCase().includes(A)
53282
53282
  ));
53283
53283
  },
@@ -53295,7 +53295,7 @@ const Qce = /* @__PURE__ */ zr(boe, [["render", Uoe]]), Woe = {
53295
53295
  ), te = A + this.maxDisplayedPages - 1;
53296
53296
  return te > this.totalPages && (te = this.totalPages, A = Math.max(te - this.maxDisplayedPages + 1, 1)), Array.from(
53297
53297
  { length: te - A + 1 },
53298
- (G, Ce) => A + Ce
53298
+ (j, Ce) => A + Ce
53299
53299
  );
53300
53300
  },
53301
53301
  firstItemIndex() {
@@ -53317,7 +53317,7 @@ const Qce = /* @__PURE__ */ zr(boe, [["render", Uoe]]), Woe = {
53317
53317
  A === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = A, this.sortOrder = 1);
53318
53318
  },
53319
53319
  sortData(A) {
53320
- return this.sortKey ? A.slice().sort((te, G) => (te[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
53320
+ return this.sortKey ? A.slice().sort((te, j) => (te[this.sortKey] < j[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
53321
53321
  },
53322
53322
  previousPage() {
53323
53323
  this.currentPage > 1 && this.currentPage--;
@@ -53399,7 +53399,7 @@ const Qce = /* @__PURE__ */ zr(boe, [["render", Uoe]]), Woe = {
53399
53399
  Ese,
53400
53400
  Ase
53401
53401
  ];
53402
- function Ose(A, te, G, Ce, oe, U) {
53402
+ function Ose(A, te, j, Ce, oe, U) {
53403
53403
  const be = Rd("dropdown");
53404
53404
  return ue(), de("div", Zoe, [
53405
53405
  R("div", joe, [
@@ -53438,7 +53438,7 @@ function Ose(A, te, G, Ce, oe, U) {
53438
53438
  R("table", tse, [
53439
53439
  R("thead", nse, [
53440
53440
  R("tr", null, [
53441
- (ue(!0), de(jn, null, Ks(G.columns, (q, De) => (ue(), de("th", {
53441
+ (ue(!0), de(jn, null, Ks(j.columns, (q, De) => (ue(), de("th", {
53442
53442
  key: De,
53443
53443
  onClick: za((tt) => U.sort(q), ["prevent"]),
53444
53444
  class: "w-full px-4 py-2 lg:w-2/12 capitalize"
@@ -53455,7 +53455,7 @@ function Ose(A, te, G, Ce, oe, U) {
53455
53455
  key: De,
53456
53456
  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"
53457
53457
  }, [
53458
- (ue(!0), de(jn, null, Ks(G.columns, (tt, pt) => (ue(), de("td", {
53458
+ (ue(!0), de(jn, null, Ks(j.columns, (tt, pt) => (ue(), de("td", {
53459
53459
  key: pt,
53460
53460
  "data-label": tt,
53461
53461
  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-[1px] dark:border-gray-700"
@@ -53545,10 +53545,10 @@ const eie = /* @__PURE__ */ zr(Woe, [["render", Ose]]), Rse = {
53545
53545
  props: ["field", "row", "tdProps"],
53546
53546
  methods: {
53547
53547
  convertCronToHuman(A) {
53548
- const [te, G, Ce, oe, U] = A.split(" ");
53549
- if (te === "*" && G === "*" && Ce === "*" && oe === "*" && U === "*")
53548
+ const [te, j, Ce, oe, U] = A.split(" ");
53549
+ if (te === "*" && j === "*" && Ce === "*" && oe === "*" && U === "*")
53550
53550
  return "Runs every minute.";
53551
- if (te === "0" && G === "0" && Ce === "*" && oe === "*" && U !== "*")
53551
+ if (te === "0" && j === "0" && Ce === "*" && oe === "*" && U !== "*")
53552
53552
  return `Runs at 12:00 AM every ${this.convertDayOfWeek(U)}.`;
53553
53553
  const be = {
53554
53554
  0: "Sunday",
@@ -53573,10 +53573,10 @@ const eie = /* @__PURE__ */ zr(Woe, [["render", Ose]]), Rse = {
53573
53573
  11: "November",
53574
53574
  12: "December",
53575
53575
  "*": "every month"
53576
- }, De = this.convertField(te, "minute", 59), tt = this.convertField(G, "hour", 23), pt = this.convertField(Ce, "day of the month", 31), cn = this.convertField(oe, "month", 12, q), kt = this.convertField(U, "day", 6, be);
53576
+ }, De = this.convertField(te, "minute", 59), tt = this.convertField(j, "hour", 23), pt = this.convertField(Ce, "day of the month", 31), cn = this.convertField(oe, "month", 12, q), kt = this.convertField(U, "day", 6, be);
53577
53577
  return `Runs ${De} ${tt} ${pt} ${cn} on ${kt}.`;
53578
53578
  },
53579
- convertField(A, te, G, Ce = {}) {
53579
+ convertField(A, te, j, Ce = {}) {
53580
53580
  if (A === "*") return `every ${te}`;
53581
53581
  if (A.includes("/")) {
53582
53582
  const [oe, U] = A.split("/");
@@ -53604,17 +53604,17 @@ const eie = /* @__PURE__ */ zr(Woe, [["render", Ose]]), Rse = {
53604
53604
  }[A] || "Invalid day";
53605
53605
  },
53606
53606
  formatHour(A) {
53607
- const te = parseInt(A, 10), G = te >= 12 ? "PM" : "AM";
53608
- return `${(te % 12 || 12).toString().padStart(2, "0")}:00 ${G}`;
53607
+ const te = parseInt(A, 10), j = te >= 12 ? "PM" : "AM";
53608
+ return `${(te % 12 || 12).toString().padStart(2, "0")}:00 ${j}`;
53609
53609
  }
53610
53610
  }
53611
53611
  }, $se = {
53612
53612
  key: 0,
53613
53613
  class: "flex flex-wrap gap-2"
53614
53614
  }, Mse = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
53615
- function Bse(A, te, G, Ce, oe, U) {
53616
- return G.row[G.field] ? (ue(), de("div", $se, [
53617
- R("span", Mse, ct(U.convertCronToHuman(G.row[G.field])), 1)
53615
+ function Bse(A, te, j, Ce, oe, U) {
53616
+ return j.row[j.field] ? (ue(), de("div", $se, [
53617
+ R("span", Mse, ct(U.convertCronToHuman(j.row[j.field])), 1)
53618
53618
  ])) : qe("", !0);
53619
53619
  }
53620
53620
  const tie = /* @__PURE__ */ zr(Rse, [["render", Bse]]), Pse = {
@@ -53637,7 +53637,7 @@ const tie = /* @__PURE__ */ zr(Rse, [["render", Bse]]), Pse = {
53637
53637
  }), {};
53638
53638
  }
53639
53639
  };
53640
- function Nse(A, te, G, Ce, oe, U) {
53640
+ function Nse(A, te, j, Ce, oe, U) {
53641
53641
  return ue(), de("div", null, [
53642
53642
  Zi(A.$slots, "default")
53643
53643
  ]);
@@ -53698,7 +53698,7 @@ const nie = /* @__PURE__ */ zr(Pse, [["render", Nse]]), Ise = {
53698
53698
  }, null, -1), Wse = [
53699
53699
  Use
53700
53700
  ];
53701
- function Zse(A, te, G, Ce, oe, U) {
53701
+ function Zse(A, te, j, Ce, oe, U) {
53702
53702
  return ue(), de("div", null, [
53703
53703
  R("h2", null, [
53704
53704
  R("button", {
@@ -53711,7 +53711,7 @@ function Zse(A, te, G, Ce, oe, U) {
53711
53711
  }]),
53712
53712
  "aria-expanded": "true"
53713
53713
  }, [
53714
- R("span", Lse, ct(G.title), 1),
53714
+ R("span", Lse, ct(j.title), 1),
53715
53715
  Ce.isOpen ? qe("", !0) : (ue(), de("svg", Fse, Vse)),
53716
53716
  Ce.isOpen ? (ue(), de("svg", zse, Wse)) : qe("", !0)
53717
53717
  ], 2)
@@ -53802,16 +53802,16 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
53802
53802
  },
53803
53803
  emits: ["remove"],
53804
53804
  setup(A, { emit: te }) {
53805
- const G = A;
53805
+ const j = A;
53806
53806
  Og(() => {
53807
- setTimeout(() => Ce("remove"), G.duration);
53807
+ setTimeout(() => Ce("remove"), j.duration);
53808
53808
  });
53809
53809
  const Ce = te;
53810
53810
  return (oe, U) => (ue(), de("div", jse, [
53811
- G.type === "success" ? (ue(), de("div", Gse, Yse)) : qe("", !0),
53812
- G.type === "error" ? (ue(), de("div", Xse, ere)) : qe("", !0),
53813
- G.type === "warning" ? (ue(), de("div", tre, sre)) : qe("", !0),
53814
- R("div", rre, ct(G.message), 1),
53811
+ j.type === "success" ? (ue(), de("div", Gse, Yse)) : qe("", !0),
53812
+ j.type === "error" ? (ue(), de("div", Xse, ere)) : qe("", !0),
53813
+ j.type === "warning" ? (ue(), de("div", tre, sre)) : qe("", !0),
53814
+ R("div", rre, ct(j.message), 1),
53815
53815
  R("button", {
53816
53816
  onClick: U[0] || (U[0] = (be) => Ce("remove")),
53817
53817
  type: "button",
@@ -53824,10 +53824,10 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
53824
53824
  }, sie = {
53825
53825
  __name: "GlToastList",
53826
53826
  setup(A) {
53827
- function te(G) {
53828
- Ry.methods.remove(G);
53827
+ function te(j) {
53828
+ Ry.methods.remove(j);
53829
53829
  }
53830
- return (G, Ce) => (ue(), ju(Iq, {
53830
+ return (j, Ce) => (ue(), ju(Iq, {
53831
53831
  tag: "div",
53832
53832
  "enter-from-class": "translate-x-full opacity-0",
53833
53833
  "enter-active-class": "duration-500",
@@ -53889,7 +53889,7 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
53889
53889
  },
53890
53890
  emits: ["deleteAction"],
53891
53891
  setup(A, { emit: te }) {
53892
- const G = A, Ce = co(!1), oe = co(!1), U = () => {
53892
+ const j = A, Ce = co(!1), oe = co(!1), U = () => {
53893
53893
  Ce.value = !1;
53894
53894
  }, be = () => {
53895
53895
  Ce.value = !0;
@@ -53898,7 +53898,7 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
53898
53898
  }, De = () => {
53899
53899
  oe.value = !0;
53900
53900
  }, tt = te, pt = () => {
53901
- axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
53901
+ axios.delete(`${j.xprops.route}/${j.row.id}`).then(() => {
53902
53902
  q(), tt("deleteAction"), Ry.methods.add({
53903
53903
  message: "Item deleted successfully.",
53904
53904
  type: "success",
@@ -53995,7 +53995,7 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
53995
53995
  },
53996
53996
  emits: ["deleteAction"],
53997
53997
  setup(A, { emit: te }) {
53998
- const G = A, Ce = co(!1), oe = co(!1), U = () => {
53998
+ const j = A, Ce = co(!1), oe = co(!1), U = () => {
53999
53999
  Ce.value = !1;
54000
54000
  }, be = () => {
54001
54001
  Ce.value = !0;
@@ -54004,7 +54004,7 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
54004
54004
  }, De = () => {
54005
54005
  oe.value = !0;
54006
54006
  }, tt = te, pt = () => {
54007
- axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
54007
+ axios.delete(`${j.xprops.route}/${j.row.id}`).then(() => {
54008
54008
  q(), tt("deleteAction"), Ry.methods.add({
54009
54009
  message: "Item deleted successfully.",
54010
54010
  type: "success",
@@ -54092,7 +54092,7 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
54092
54092
  },
54093
54093
  emits: ["deleteAction", "editAction"],
54094
54094
  setup(A, { emit: te }) {
54095
- const G = A, Ce = co(!1), oe = co(!1), U = () => {
54095
+ const j = A, Ce = co(!1), oe = co(!1), U = () => {
54096
54096
  oe.value = !1;
54097
54097
  }, be = () => {
54098
54098
  oe.value = !0;
@@ -54103,7 +54103,7 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
54103
54103
  }, tt = te, pt = (kt) => {
54104
54104
  tt("editAction", kt);
54105
54105
  }, cn = () => {
54106
- axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
54106
+ axios.delete(`${j.xprops.route}/${j.row.id}`).then(() => {
54107
54107
  U(), tt("deleteAction"), Ry.methods.add({
54108
54108
  message: "Item deleted successfully.",
54109
54109
  type: "success",
@@ -54212,9 +54212,9 @@ const oie = /* @__PURE__ */ zr(Ise, [["render", Zse]]), jse = {
54212
54212
  "clip-rule": "evenodd"
54213
54213
  })
54214
54214
  ], -1);
54215
- function zre(A, te, G, Ce, oe, U) {
54215
+ function zre(A, te, j, Ce, oe, U) {
54216
54216
  return ue(), de("div", null, [
54217
- U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row, (be, q) => (ue(), de("div", {
54217
+ U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(j.row, (be, q) => (ue(), de("div", {
54218
54218
  key: q,
54219
54219
  class: "m-1 d-inline-block"
54220
54220
  }, [
@@ -54229,8 +54229,8 @@ function zre(A, te, G, Ce, oe, U) {
54229
54229
  ], 8, Ire)
54230
54230
  ]))), 128)) : U.isString ? (ue(), de("div", Fre, [
54231
54231
  R("a", {
54232
- href: G.row,
54233
- title: G.row,
54232
+ href: j.row,
54233
+ title: j.row,
54234
54234
  target: "_blank",
54235
54235
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
54236
54236
  }, [
@@ -54288,8 +54288,8 @@ const cie = /* @__PURE__ */ zr(Nre, [["render", zre]]), Ure = {
54288
54288
  "clip-rule": "evenodd"
54289
54289
  })
54290
54290
  ], -1);
54291
- function Kre(A, te, G, Ce, oe, U) {
54292
- return U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[G.field], (be) => (ue(), de("div", {
54291
+ function Kre(A, te, j, Ce, oe, U) {
54292
+ return U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(j.row[j.field], (be) => (ue(), de("div", {
54293
54293
  key: be.id,
54294
54294
  class: "m-1 d-inline-block"
54295
54295
  }, [
@@ -54304,8 +54304,8 @@ function Kre(A, te, G, Ce, oe, U) {
54304
54304
  ], 8, Wre)
54305
54305
  ]))), 128)) : U.isObject ? (ue(), de("div", jre, [
54306
54306
  R("a", {
54307
- href: G.row[G.field].url,
54308
- title: G.row[G.field].name,
54307
+ href: j.row[j.field].url,
54308
+ title: j.row[j.field].name,
54309
54309
  target: "_blank",
54310
54310
  class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
54311
54311
  }, [
@@ -54317,11 +54317,11 @@ function Kre(A, te, G, Ce, oe, U) {
54317
54317
  const iie = /* @__PURE__ */ zr(Ure, [["render", Kre]]), Yre = {
54318
54318
  props: ["field", "row", "tdProps"]
54319
54319
  }, Xre = { key: 0 }, Jre = ["innerHTML"];
54320
- function Qre(A, te, G, Ce, oe, U) {
54321
- return G.row[G.field] ? (ue(), de("div", Xre, [
54320
+ function Qre(A, te, j, Ce, oe, U) {
54321
+ return j.row[j.field] ? (ue(), de("div", Xre, [
54322
54322
  R("div", {
54323
54323
  class: "w-full",
54324
- innerHTML: G.row[G.field]
54324
+ innerHTML: j.row[j.field]
54325
54325
  }, null, 8, Jre)
54326
54326
  ])) : qe("", !0);
54327
54327
  }
@@ -54346,12 +54346,12 @@ const uie = /* @__PURE__ */ zr(Yre, [["render", Qre]]), eae = {
54346
54346
  key: 1,
54347
54347
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
54348
54348
  };
54349
- function oae(A, te, G, Ce, oe, U) {
54349
+ function oae(A, te, j, Ce, oe, U) {
54350
54350
  return this.row[this.entry.key] ? (ue(), de("div", tae, [
54351
- U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[U.entry.key], (be, q) => (ue(), de("span", {
54351
+ U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(j.row[U.entry.key], (be, q) => (ue(), de("span", {
54352
54352
  key: q,
54353
54353
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
54354
- }, ct(be[U.entry.field]), 1))), 128)) : U.isObject ? (ue(), de("span", nae, ct(G.row[U.entry.key][U.entry.field]), 1)) : qe("", !0)
54354
+ }, ct(be[U.entry.field]), 1))), 128)) : U.isObject ? (ue(), de("span", nae, ct(j.row[U.entry.key][U.entry.field]), 1)) : qe("", !0)
54355
54355
  ])) : qe("", !0);
54356
54356
  }
54357
54357
  const die = /* @__PURE__ */ zr(eae, [["render", oae]]), sae = {
@@ -54370,36 +54370,36 @@ const die = /* @__PURE__ */ zr(eae, [["render", oae]]), sae = {
54370
54370
  },
54371
54371
  methods: {
54372
54372
  getNestedValue(A, te) {
54373
- return te.reduce((G, Ce) => (G || {})[Ce], A);
54373
+ return te.reduce((j, Ce) => (j || {})[Ce], A);
54374
54374
  }
54375
54375
  }
54376
54376
  }, rae = { class: "flex flex-wrap gap-2" }, aae = {
54377
54377
  key: 1,
54378
54378
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
54379
54379
  };
54380
- function lae(A, te, G, Ce, oe, U) {
54380
+ function lae(A, te, j, Ce, oe, U) {
54381
54381
  return ue(), de("div", rae, [
54382
- U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(U.getNestedValue(G.row, U.entry.keys), (be, q) => (ue(), de("span", {
54382
+ U.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(U.getNestedValue(j.row, U.entry.keys), (be, q) => (ue(), de("span", {
54383
54383
  key: q,
54384
54384
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
54385
- }, ct(be[U.entry.field]), 1))), 128)) : U.isObject ? (ue(), de("span", aae, ct(U.getNestedValue(G.row, U.entry.keys)[U.entry.field]), 1)) : qe("", !0)
54385
+ }, ct(be[U.entry.field]), 1))), 128)) : U.isObject ? (ue(), de("span", aae, ct(U.getNestedValue(j.row, U.entry.keys)[U.entry.field]), 1)) : qe("", !0)
54386
54386
  ]);
54387
54387
  }
54388
54388
  const mie = /* @__PURE__ */ zr(sae, [["render", lae]]), cae = {
54389
54389
  props: ["field", "row", "tdProps"]
54390
54390
  }, iae = { key: 0 }, uae = { class: "m-1 d-inline-block" }, dae = ["href", "title"], mae = ["src", "alt", "title"];
54391
- function fae(A, te, G, Ce, oe, U) {
54392
- return G.row[G.field] ? (ue(), de("div", iae, [
54391
+ function fae(A, te, j, Ce, oe, U) {
54392
+ return j.row[j.field] ? (ue(), de("div", iae, [
54393
54393
  R("div", uae, [
54394
54394
  R("a", {
54395
- href: G.row[G.field].url,
54396
- title: G.row[G.field].name,
54395
+ href: j.row[j.field].url,
54396
+ title: j.row[j.field].name,
54397
54397
  target: "_blank"
54398
54398
  }, [
54399
54399
  R("img", {
54400
- src: G.row[G.field].thumbnail,
54401
- alt: G.row[G.field].name,
54402
- title: G.row[G.field].name
54400
+ src: j.row[j.field].thumbnail,
54401
+ alt: j.row[j.field].name,
54402
+ title: j.row[j.field].name
54403
54403
  }, null, 8, mae)
54404
54404
  ], 8, dae)
54405
54405
  ])
@@ -54419,9 +54419,9 @@ const fie = /* @__PURE__ */ zr(cae, [["render", fae], ["__scopeId", "data-v-3a28
54419
54419
  key: 0,
54420
54420
  class: "grid grid-cols-2 gap-4"
54421
54421
  }, pae = ["src", "alt"], bae = { key: 1 }, vae = ["src", "alt"];
54422
- function yae(A, te, G, Ce, oe, U) {
54422
+ function yae(A, te, j, Ce, oe, U) {
54423
54423
  return U.isArray ? (ue(), de("div", hae, [
54424
- (ue(!0), de(jn, null, Ks(G.row[G.field], (be) => (ue(), de("div", {
54424
+ (ue(!0), de(jn, null, Ks(j.row[j.field], (be) => (ue(), de("div", {
54425
54425
  key: be.id
54426
54426
  }, [
54427
54427
  R("img", {
@@ -54433,8 +54433,8 @@ function yae(A, te, G, Ce, oe, U) {
54433
54433
  ])) : U.isObject ? (ue(), de("div", bae, [
54434
54434
  R("img", {
54435
54435
  class: "h-auto max-w-full rounded-lg",
54436
- src: G.row[G.field].thumbnail,
54437
- alt: G.row[G.field].file_name
54436
+ src: j.row[j.field].thumbnail,
54437
+ alt: j.row[j.field].file_name
54438
54438
  }, null, 8, vae)
54439
54439
  ])) : qe("", !0);
54440
54440
  }
@@ -54452,7 +54452,7 @@ const gie = /* @__PURE__ */ zr(gae, [["render", yae]]), wae = {
54452
54452
  key: 1,
54453
54453
  class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
54454
54454
  }, kae = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
54455
- function Tae(A, te, G, Ce, oe, U) {
54455
+ function Tae(A, te, j, Ce, oe, U) {
54456
54456
  return ue(), de("div", xae, [
54457
54457
  U.isActive ? (ue(), de("span", Cae, [
54458
54458
  _ae,
@@ -54468,7 +54468,7 @@ const hie = /* @__PURE__ */ zr(wae, [["render", Tae]]), Eae = {
54468
54468
  computed: {
54469
54469
  hasLabelColor(A) {
54470
54470
  const te = this.tdProps.status_general_labels_color.find(
54471
- (G) => G.label === this.row[this.field]
54471
+ (j) => j.label === this.row[this.field]
54472
54472
  );
54473
54473
  return te ? te.class : "";
54474
54474
  }
@@ -54492,7 +54492,7 @@ const hie = /* @__PURE__ */ zr(wae, [["render", Tae]]), Eae = {
54492
54492
  /* @__PURE__ */ R("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
54493
54493
  /* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
54494
54494
  ], -1);
54495
- function Fae(A, te, G, Ce, oe, U) {
54495
+ function Fae(A, te, j, Ce, oe, U) {
54496
54496
  return ue(), de("div", Aae, [
54497
54497
  U.hasLabelColor == "green" ? (ue(), de("span", Dae, [
54498
54498
  Oae,
@@ -54538,7 +54538,7 @@ const pie = /* @__PURE__ */ zr(Eae, [["render", Fae]]), Hae = {
54538
54538
  }
54539
54539
  }
54540
54540
  }, Vae = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
54541
- function zae(A, te, G, Ce, oe, U) {
54541
+ function zae(A, te, j, Ce, oe, U) {
54542
54542
  return ue(), de("div", Vae, [
54543
54543
  U.hasLabelColor == "Default" ? (ue(), de("span", {
54544
54544
  key: 0,
@@ -54589,7 +54589,7 @@ const bie = /* @__PURE__ */ zr(Hae, [["render", zae]]), Uae = {
54589
54589
  },
54590
54590
  hasLabelColor(A) {
54591
54591
  const te = this.tdProps.status_general_labels_color.find(
54592
- (G) => G.text === this.getValue()
54592
+ (j) => j.text === this.getValue()
54593
54593
  );
54594
54594
  return te ? te.class : "";
54595
54595
  },
@@ -54605,7 +54605,7 @@ const bie = /* @__PURE__ */ zr(Hae, [["render", zae]]), Uae = {
54605
54605
  return this.isObject ? this.getNestedValue(this.row, this.entry.keys)[this.entry.field] : this.row[this.field];
54606
54606
  },
54607
54607
  getNestedValue(A, te) {
54608
- return te.reduce((G, Ce) => (G || {})[Ce], A);
54608
+ return te.reduce((j, Ce) => (j || {})[Ce], A);
54609
54609
  }
54610
54610
  }
54611
54611
  }, Wae = { class: "flex flex-wrap gap-2 text-nowrap" }, Zae = {
@@ -54627,7 +54627,7 @@ const bie = /* @__PURE__ */ zr(Hae, [["render", zae]]), Uae = {
54627
54627
  /* @__PURE__ */ R("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
54628
54628
  /* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
54629
54629
  ], -1);
54630
- function tle(A, te, G, Ce, oe, U) {
54630
+ function tle(A, te, j, Ce, oe, U) {
54631
54631
  return ue(), de("div", Wae, [
54632
54632
  U.hasLabelColor == "green" ? (ue(), de("span", Zae, [
54633
54633
  jae,
@@ -54657,14 +54657,14 @@ const vie = /* @__PURE__ */ zr(Uae, [["render", tle]]), nle = {
54657
54657
  formattedDate() {
54658
54658
  if (!this.row[this.field])
54659
54659
  return "";
54660
- const A = new Date(this.row[this.field]), te = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54660
+ const A = new Date(this.row[this.field]), te = A.getFullYear(), j = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54661
54661
  let oe = A.getHours();
54662
54662
  const U = A.getMinutes(), be = A.getSeconds(), q = oe >= 12 ? "pm" : "am";
54663
- return oe = oe % 12, oe = oe || 12, `${G} ${Ce}, ${te}, ${oe}:${U}:${be} ${q}`;
54663
+ return oe = oe % 12, oe = oe || 12, `${j} ${Ce}, ${te}, ${oe}:${U}:${be} ${q}`;
54664
54664
  }
54665
54665
  }
54666
54666
  }, ole = { class: "w-full" };
54667
- function sle(A, te, G, Ce, oe, U) {
54667
+ function sle(A, te, j, Ce, oe, U) {
54668
54668
  return ue(), de("div", ole, ct(U.formattedDate), 1);
54669
54669
  }
54670
54670
  const yie = /* @__PURE__ */ zr(nle, [["render", sle]]), rle = {
@@ -54673,12 +54673,12 @@ const yie = /* @__PURE__ */ zr(nle, [["render", sle]]), rle = {
54673
54673
  formattedDate() {
54674
54674
  if (!this.row[this.field])
54675
54675
  return "";
54676
- const A = new Date(this.row[this.field]), te = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54677
- return `${G} ${Ce}, ${te}`;
54676
+ const A = new Date(this.row[this.field]), te = A.getFullYear(), j = A.toLocaleString("default", { month: "long" }), Ce = A.getDate();
54677
+ return `${j} ${Ce}, ${te}`;
54678
54678
  }
54679
54679
  }
54680
54680
  }, ale = { class: "w-full" };
54681
- function lle(A, te, G, Ce, oe, U) {
54681
+ function lle(A, te, j, Ce, oe, U) {
54682
54682
  return ue(), de("div", ale, ct(U.formattedDate), 1);
54683
54683
  }
54684
54684
  const wie = /* @__PURE__ */ zr(rle, [["render", lle]]), cle = {
@@ -54696,17 +54696,17 @@ const wie = /* @__PURE__ */ zr(rle, [["render", lle]]), cle = {
54696
54696
  key: 2,
54697
54697
  class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
54698
54698
  }, hle = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
54699
- function ple(A, te, G, Ce, oe, U) {
54699
+ function ple(A, te, j, Ce, oe, U) {
54700
54700
  return ue(), de("div", ile, [
54701
- G.row[G.field] === 0 ? (ue(), de("span", ule, [
54701
+ j.row[j.field] === 0 ? (ue(), de("span", ule, [
54702
54702
  dle,
54703
54703
  Zn(" Provisioning")
54704
54704
  ])) : qe("", !0),
54705
- G.row[G.field] === 2 ? (ue(), de("span", mle, [
54705
+ j.row[j.field] === 2 ? (ue(), de("span", mle, [
54706
54706
  fle,
54707
54707
  Zn(" Paused ")
54708
54708
  ])) : qe("", !0),
54709
- G.row[G.field] === 1 ? (ue(), de("span", gle, [
54709
+ j.row[j.field] === 1 ? (ue(), de("span", gle, [
54710
54710
  hle,
54711
54711
  Zn(" Active ")
54712
54712
  ])) : qe("", !0)
@@ -54718,9 +54718,9 @@ const xie = /* @__PURE__ */ zr(cle, [["render", ple]]), ble = {
54718
54718
  key: 0,
54719
54719
  class: "text-nowrap w-full"
54720
54720
  }, yle = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
54721
- function wle(A, te, G, Ce, oe, U) {
54722
- return G.row[G.field] ? (ue(), de("div", vle, [
54723
- R("pre", yle, " " + ct(G.row[G.field]) + `
54721
+ function wle(A, te, j, Ce, oe, U) {
54722
+ return j.row[j.field] ? (ue(), de("div", vle, [
54723
+ R("pre", yle, " " + ct(j.row[j.field]) + `
54724
54724
  `, 1)
54725
54725
  ])) : qe("", !0);
54726
54726
  }
@@ -54749,9 +54749,9 @@ const Cie = /* @__PURE__ */ zr(ble, [["render", wle]]), xle = {
54749
54749
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
54750
54750
  "aria-hidden": "true"
54751
54751
  }, "​", -1), Tle = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Ele = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Ale = { class: "sm:flex sm:items-start" }, Dle = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Ole = { class: "text-lg font-medium leading-6" }, Rle = { class: "mt-2" }, $le = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
54752
- function Mle(A, te, G, Ce, oe, U) {
54752
+ function Mle(A, te, j, Ce, oe, U) {
54753
54753
  const be = Rd("gl-button");
54754
- return G.isOpen ? (ue(), de("div", Cle, [
54754
+ return j.isOpen ? (ue(), de("div", Cle, [
54755
54755
  R("div", _le, [
54756
54756
  Sle,
54757
54757
  kle,
@@ -54759,7 +54759,7 @@ function Mle(A, te, G, Ce, oe, U) {
54759
54759
  R("div", Ele, [
54760
54760
  R("div", Ale, [
54761
54761
  R("div", Dle, [
54762
- R("h3", Ole, ct(G.title), 1),
54762
+ R("h3", Ole, ct(j.title), 1),
54763
54763
  R("div", Rle, [
54764
54764
  Zi(A.$slots, "default")
54765
54765
  ])
@@ -54773,7 +54773,7 @@ function Mle(A, te, G, Ce, oe, U) {
54773
54773
  button_type: "red"
54774
54774
  }, {
54775
54775
  default: Cm(() => [
54776
- Zn(ct(G.button_text), 1)
54776
+ Zn(ct(j.button_text), 1)
54777
54777
  ]),
54778
54778
  _: 1
54779
54779
  }, 8, ["onClick"]),
@@ -54843,10 +54843,10 @@ const _ie = /* @__PURE__ */ zr(xle, [["render", Mle]]), Ble = { class: "w-full"
54843
54843
  }
54844
54844
  },
54845
54845
  setup(A) {
54846
- const te = A, G = co(!1), Ce = (U) => {
54846
+ const te = A, j = co(!1), Ce = (U) => {
54847
54847
  navigator.clipboard.writeText(U).then(function() {
54848
- G.value = !0, setTimeout(() => {
54849
- G.value = !1;
54848
+ j.value = !0, setTimeout(() => {
54849
+ j.value = !1;
54850
54850
  }, 2e3);
54851
54851
  }).catch(function(be) {
54852
54852
  console.error("Error copying to clipboard: ", be);
@@ -54865,8 +54865,8 @@ const _ie = /* @__PURE__ */ zr(xle, [["render", Mle]]), Ble = { class: "w-full"
54865
54865
  onClick: be[0] || (be[0] = (q) => Ce(oe.value)),
54866
54866
  class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
54867
54867
  }, [
54868
- G.value ? qe("", !0) : (ue(), de("span", Vle, Wle)),
54869
- G.value ? (ue(), de("span", Zle, qle)) : qe("", !0)
54868
+ j.value ? qe("", !0) : (ue(), de("span", Vle, Wle)),
54869
+ j.value ? (ue(), de("span", Zle, qle)) : qe("", !0)
54870
54870
  ])
54871
54871
  ])
54872
54872
  ]),
@@ -54923,10 +54923,10 @@ const _ie = /* @__PURE__ */ zr(xle, [["render", Mle]]), Ble = { class: "w-full"
54923
54923
  }
54924
54924
  },
54925
54925
  setup(A) {
54926
- const te = A, G = co(!1), Ce = (U) => {
54926
+ const te = A, j = co(!1), Ce = (U) => {
54927
54927
  navigator.clipboard.writeText(U).then(function() {
54928
- G.value = !0, setTimeout(() => {
54929
- G.value = !1;
54928
+ j.value = !0, setTimeout(() => {
54929
+ j.value = !1;
54930
54930
  }, 2e3);
54931
54931
  }).catch(function(be) {
54932
54932
  console.error("Error copying to clipboard: ", be);
@@ -54954,8 +54954,8 @@ const _ie = /* @__PURE__ */ zr(xle, [["render", Mle]]), Ble = { class: "w-full"
54954
54954
  class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
54955
54955
  type: "button"
54956
54956
  }, [
54957
- G.value ? qe("", !0) : (ue(), de("span", oce, rce)),
54958
- G.value ? (ue(), de("span", ace, cce)) : qe("", !0)
54957
+ j.value ? qe("", !0) : (ue(), de("span", oce, rce)),
54958
+ j.value ? (ue(), de("span", ace, cce)) : qe("", !0)
54959
54959
  ])
54960
54960
  ]),
54961
54961
  R("p", ice, ct(A.description), 1)
@@ -54982,7 +54982,7 @@ const _ie = /* @__PURE__ */ zr(xle, [["render", Mle]]), Ble = { class: "w-full"
54982
54982
  }
54983
54983
  },
54984
54984
  setup(A) {
54985
- return (te, G) => (ue(), de("div", uce, [
54985
+ return (te, j) => (ue(), de("div", uce, [
54986
54986
  A.status === 0 ? (ue(), de("span", dce, [
54987
54987
  mce,
54988
54988
  Zn(" Running")
@@ -55031,8 +55031,8 @@ const _ie = /* @__PURE__ */ zr(xle, [["render", Mle]]), Ble = { class: "w-full"
55031
55031
  },
55032
55032
  emits: ["reconnect"],
55033
55033
  setup(A, { emit: te }) {
55034
- const G = te, Ce = () => {
55035
- G("reconnect");
55034
+ const j = te, Ce = () => {
55035
+ j("reconnect");
55036
55036
  };
55037
55037
  return (oe, U) => (ue(), de("div", bce, [
55038
55038
  A.status === 0 ? (ue(), de("span", vce, [
@@ -55057,8 +55057,8 @@ const _ie = /* @__PURE__ */ zr(xle, [["render", Mle]]), Ble = { class: "w-full"
55057
55057
  }
55058
55058
  }, Aie = {
55059
55059
  beforeMount: (A, te) => {
55060
- A.clickOutsideEvent = (G) => {
55061
- A == G.target || A.contains(G.target) || te.value(G, A);
55060
+ A.clickOutsideEvent = (j) => {
55061
+ A == j.target || A.contains(j.target) || te.value(j, A);
55062
55062
  }, document.addEventListener("click", A.clickOutsideEvent);
55063
55063
  },
55064
55064
  unmounted: (A) => {
@@ -55128,8 +55128,8 @@ class Die {
55128
55128
  */
55129
55129
  constructor(te) {
55130
55130
  this.originalData = te;
55131
- for (let G in te)
55132
- this[G] = te[G];
55131
+ for (let j in te)
55132
+ this[j] = te[j];
55133
55133
  this.errors = new Ece();
55134
55134
  }
55135
55135
  /**
@@ -55137,8 +55137,8 @@ class Die {
55137
55137
  */
55138
55138
  data() {
55139
55139
  let te = {};
55140
- for (let G in this.originalData)
55141
- te[G] = this[G];
55140
+ for (let j in this.originalData)
55141
+ te[j] = this[j];
55142
55142
  return te;
55143
55143
  }
55144
55144
  /**
@@ -55187,9 +55187,9 @@ class Die {
55187
55187
  * @param {string} requestType
55188
55188
  * @param {string} url
55189
55189
  */
55190
- submit(te, G) {
55190
+ submit(te, j) {
55191
55191
  return new Promise((Ce, oe) => {
55192
- axios[te](G, this.data()).then((U) => {
55192
+ axios[te](j, this.data()).then((U) => {
55193
55193
  this.onSuccess(U.data), Ce(U.data);
55194
55194
  }).catch((U) => {
55195
55195
  this.onFail(U.response.data), oe(U.response.data);
@@ -55214,7 +55214,7 @@ class Die {
55214
55214
  }
55215
55215
  }
55216
55216
  (function(A, te) {
55217
- var G = "multilingual", Ce = {
55217
+ var j = "multilingual", Ce = {
55218
55218
  type: "normal",
55219
55219
  editing: !1,
55220
55220
  transInputs: "input[data-i18n=true]",
@@ -55223,7 +55223,7 @@ class Die {
55223
55223
  langSelectors: ".language-selector"
55224
55224
  };
55225
55225
  function oe(U, be) {
55226
- this.container = U, this.element = te.querySelector(U), this.settings = Object.assign({}, Ce, be), this._defaults = Ce, this._name = G, this.init();
55226
+ this.container = U, this.element = te.querySelector(U), this.settings = Object.assign({}, Ce, be), this._defaults = Ce, this._name = j, this.init();
55227
55227
  }
55228
55228
  Object.assign(oe.prototype, {
55229
55229
  init: function() {