golden-logic-ui 1.0.243 → 1.0.245

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,8 +1,8 @@
1
1
  import { openBlock as ye, createElementBlock as xe, createElementVNode as P, createCommentVNode as Ct, createStaticVNode as Tq, reactive as Eq, resolveComponent as ky, Fragment as Co, createVNode as cb, normalizeClass as dn, toDisplayString as bt, withModifiers as oc, withDirectives as pl, vModelText as vm, renderList as kr, normalizeStyle as Aq, computed as Fc, renderSlot as vf, ref as Ko, onMounted as b1, watch as ST, createTextVNode as So, vShow as n5, nextTick as Dj, createBlock as Ty, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as Dq, provide as YG, inject as XG, pushScopeId as Oq, popScopeId as Rq, vModelCheckbox as JG, onBeforeUnmount as $q, toHandlers as Ej, onUnmounted as Mq, TransitionGroup as Pq, unref as Nq, resolveDirective as QG, markRaw as Bq } from "vue";
2
2
  const Jr = ($, me) => {
3
3
  const re = $.__vccOpts || $;
4
- for (const [Ee, pe] of me)
5
- re[Ee] = pe;
4
+ for (const [Ee, he] of me)
5
+ re[Ee] = he;
6
6
  return re;
7
7
  }, Iq = {
8
8
  props: ["isOpen"],
@@ -27,7 +27,7 @@ const Jr = ($, me) => {
27
27
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
28
28
  "aria-hidden": "true"
29
29
  }, "​", -1), zq = { 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" }, Uq = /* @__PURE__ */ Tq('<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), Wq = { 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" };
30
- function Zq($, me, re, Ee, pe, J) {
30
+ function Zq($, me, re, Ee, he, J) {
31
31
  return re.isOpen ? (ye(), xe("div", Lq, [
32
32
  P("div", Fq, [
33
33
  Hq,
@@ -180,33 +180,33 @@ const Oj = /* @__PURE__ */ Jr(Iq, [["render", Zq]]), Aj = Eq({
180
180
  return new Promise((me, re) => {
181
181
  $ || me();
182
182
  const Ee = new FormData();
183
- Ee.append("file", $), Object.entries(this.file_config).forEach(([pe, J]) => {
184
- Ee.append(pe, J);
183
+ Ee.append("file", $), Object.entries(this.file_config).forEach(([he, J]) => {
184
+ Ee.append(he, J);
185
185
  }), this.files.push({ file_name: $.name, loading: 0 }), axios.post(this.route_url + "/media", Ee, {
186
- onUploadProgress: (pe) => {
186
+ onUploadProgress: (he) => {
187
187
  this.files[this.files.length - 1].loading = Math.floor(
188
- pe.loaded / pe.total * 100
188
+ he.loaded / he.total * 100
189
189
  );
190
190
  }
191
- }).then((pe) => {
191
+ }).then((he) => {
192
192
  let J = this.files.findIndex(
193
193
  (Oe) => Oe.file_name === $.name
194
194
  );
195
195
  J !== -1 && this.files.splice(J, 1), this.uploadFileList.push({
196
- file_name: pe.data.file_name,
197
- size: pe.data.size,
198
- id: pe.data.id,
199
- url: pe.data.url
196
+ file_name: he.data.file_name,
197
+ size: he.data.size,
198
+ id: he.data.id,
199
+ url: he.data.url
200
200
  }), this.error_message_data = "", me();
201
- }).catch((pe) => {
202
- pe.response.status === 422 ? this.error_message_data = this.getFirstError(
203
- pe.response.data.errors,
201
+ }).catch((he) => {
202
+ he.response.status === 422 ? this.error_message_data = this.getFirstError(
203
+ he.response.data.errors,
204
204
  "file"
205
- ) : console.error("An error occurred:", pe);
205
+ ) : console.error("An error occurred:", he);
206
206
  let J = this.files.findIndex(
207
207
  (Oe) => Oe.file_name === $.name
208
208
  );
209
- J !== -1 && this.files.splice(J, 1), console.log(pe), me();
209
+ J !== -1 && this.files.splice(J, 1), console.log(he), me();
210
210
  });
211
211
  });
212
212
  }
@@ -245,24 +245,24 @@ const Oj = /* @__PURE__ */ Jr(Iq, [["render", Zq]]), Aj = Eq({
245
245
  class: "text-3xl fas fa-file-alt",
246
246
  "aria-hidden": "true"
247
247
  }, null, -1), bK = { class: "flex flex-col ml-3" }, vK = { class: "text-xs" }, yK = { class: "text-xs" }, wK = { class: "flex gap-2" }, xK = ["href"], CK = ["onClick"];
248
- function SK($, me, re, Ee, pe, J) {
248
+ function SK($, me, re, Ee, he, J) {
249
249
  const Oe = ky("DeleteConfirmationModal");
250
250
  return ye(), xe(Co, null, [
251
251
  cb(Oe, {
252
- isOpen: pe.open_delete_modal,
252
+ isOpen: he.open_delete_modal,
253
253
  onConfirmDelete: J.deleteAction,
254
254
  onCancelDelete: J.closeDeleteModal
255
255
  }, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
256
256
  P("div", {
257
257
  class: dn([{
258
- "border-red-500 dark:border-red-500": pe.error_message_data !== "",
259
- "border-gray-200 dark:border-gray-700": pe.error_message_data == ""
258
+ "border-red-500 dark:border-red-500": he.error_message_data !== "",
259
+ "border-gray-200 dark:border-gray-700": he.error_message_data == ""
260
260
  }, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
261
261
  }, [
262
262
  P("label", {
263
263
  class: dn({
264
- "gl-label-form": pe.error_message_data == "",
265
- "gl-label-form-invalid": pe.error_message_data !== "",
264
+ "gl-label-form": he.error_message_data == "",
265
+ "gl-label-form-invalid": he.error_message_data !== "",
266
266
  required: re.is_required
267
267
  })
268
268
  }, bt(re.label_name), 3),
@@ -287,17 +287,17 @@ function SK($, me, re, Ee, pe, J) {
287
287
  }, null, 8, Yq), [
288
288
  [vm, J.uploadFileListFinal]
289
289
  ]),
290
- pe.isDragging ? (ye(), xe("div", eK, nK)) : (ye(), xe("div", {
290
+ he.isDragging ? (ye(), xe("div", eK, nK)) : (ye(), xe("div", {
291
291
  key: 0,
292
292
  class: "flex flex-col items-center justify-center",
293
293
  onClick: me[2] || (me[2] = (Q) => $.$refs["file_input" + this.field_name].click())
294
294
  }, Qq))
295
295
  ])
296
296
  ], 32),
297
- P("span", oK, bt(pe.error_message_data), 1),
297
+ P("span", oK, bt(he.error_message_data), 1),
298
298
  P("small", sK, bt(re.description), 1),
299
- pe.files.length > 0 ? (ye(), xe("section", rK, [
300
- (ye(!0), xe(Co, null, kr(pe.files, (Q, He) => (ye(), xe("li", aK, [
299
+ he.files.length > 0 ? (ye(), xe("section", rK, [
300
+ (ye(!0), xe(Co, null, kr(he.files, (Q, He) => (ye(), xe("li", aK, [
301
301
  lK,
302
302
  P("div", cK, [
303
303
  P("div", iK, [
@@ -331,7 +331,7 @@ function SK($, me, re, Ee, pe, J) {
331
331
  re.is_enable_delete ? (ye(), xe("i", {
332
332
  key: 0,
333
333
  onClick: (gt) => {
334
- pe.media_id = Q.id, pe.open_delete_modal = !0;
334
+ he.media_id = Q.id, he.open_delete_modal = !0;
335
335
  },
336
336
  class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
337
337
  }, null, 8, CK)) : Ct("", !0)
@@ -377,9 +377,9 @@ const vae = /* @__PURE__ */ Jr(Gq, [["render", SK]]), _K = {
377
377
  mounted() {
378
378
  }
379
379
  }, kK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, TK = ["name", "value", "id", "checked"], EK = ["for"];
380
- function AK($, me, re, Ee, pe, J) {
380
+ function AK($, me, re, Ee, he, J) {
381
381
  return ye(), xe("ul", kK, [
382
- (ye(!0), xe(Co, null, kr(pe.locals, (Oe, Q) => (ye(), xe("li", null, [
382
+ (ye(!0), xe(Co, null, kr(he.locals, (Oe, Q) => (ye(), xe("li", null, [
383
383
  P("input", {
384
384
  type: "radio",
385
385
  name: re.trans_selector_name,
@@ -387,14 +387,14 @@ function AK($, me, re, Ee, pe, J) {
387
387
  class: "hidden peer",
388
388
  id: Oe + "_" + re.field_name,
389
389
  autocomplete: "off",
390
- checked: Oe === pe.default_language
390
+ checked: Oe === he.default_language
391
391
  }, null, 8, TK),
392
392
  P("label", {
393
393
  for: Oe + "_" + re.field_name,
394
394
  class: dn([{
395
395
  "border md:!rounded-s-lg": Q === 0,
396
- "border md:!rounded-e-lg": Q === pe.locals.length - 1,
397
- "border-t border-b": Q !== 0 && Q !== pe.locals.length - 1
396
+ "border md:!rounded-e-lg": Q === he.locals.length - 1,
397
+ "border-t border-b": Q !== 0 && Q !== he.locals.length - 1
398
398
  }, "w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
399
399
  }, bt(Oe), 11, EK)
400
400
  ]))), 256))
@@ -414,20 +414,20 @@ const yae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
414
414
  },
415
415
  setup($) {
416
416
  const me = $, re = Fc(() => me.class), Ee = Fc(() => me.body_class);
417
- return (pe, J) => (ye(), xe("div", {
417
+ return (he, J) => (ye(), xe("div", {
418
418
  class: dn(["flex flex-col gap-9", re.value])
419
419
  }, [
420
420
  P("div", DK, [
421
421
  P("div", OK, [
422
422
  P("h3", RK, [
423
- vf(pe.$slots, "header")
423
+ vf(he.$slots, "header")
424
424
  ])
425
425
  ]),
426
- pe.$slots.body ? (ye(), xe("div", {
426
+ he.$slots.body ? (ye(), xe("div", {
427
427
  key: 0,
428
428
  class: dn(["p-6", Ee.value])
429
429
  }, [
430
- vf(pe.$slots, "body")
430
+ vf(he.$slots, "body")
431
431
  ], 2)) : Ct("", !0)
432
432
  ])
433
433
  ], 2));
@@ -514,7 +514,7 @@ const yae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
514
514
  },
515
515
  emits: ["update:modelValue", "selected", "selectionChanged"],
516
516
  setup($, { emit: me }) {
517
- const re = $, Ee = me, pe = Ko(null), J = Ko([]), Oe = Ko([]), Q = Ko(0), He = Ko(!1), gt = Ko(""), jt = Ko("");
517
+ const re = $, Ee = me, he = Ko(null), J = Ko([]), Oe = Ko([]), Q = Ko(0), He = Ko(!1), gt = Ko(""), jt = Ko("");
518
518
  b1(() => {
519
519
  jt.value = No(), re.show || (document.body.addEventListener("click", (Ge) => {
520
520
  Xn(Ge);
@@ -711,7 +711,7 @@ const yae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
711
711
  pl(P("input", {
712
712
  type: "search",
713
713
  "onUpdate:modelValue": A[2] || (A[2] = (Xt) => gt.value = Xt),
714
- ref: pe.value,
714
+ ref: he.value,
715
715
  id: `${$.field_name}search${jt.value}`,
716
716
  onKeydown: ir,
717
717
  onBlur: A[3] || (A[3] = (Xt) => Jn()),
@@ -816,7 +816,7 @@ const yae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
816
816
  fill: "#1C64F2"
817
817
  })
818
818
  ], -1);
819
- function XK($, me, re, Ee, pe, J) {
819
+ function XK($, me, re, Ee, he, J) {
820
820
  return re.is_loading ? (ye(), Ty(o5("button"), {
821
821
  key: 1,
822
822
  disabled: "",
@@ -903,14 +903,14 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
903
903
  },
904
904
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
905
905
  setup($, { expose: me, emit: re }) {
906
- const Ee = $, pe = re, J = Ko(null), Oe = Ko(null);
906
+ const Ee = $, he = re, J = Ko(null), Oe = Ko(null);
907
907
  return b1(() => {
908
- J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus(), Ee.model_value && (pe("update:modelValue", Ee.model_value), J.value.value = Ee.model_value), Ee.model_value_translate, Ee.translatable && axios.post("/admin/get_field_translations", {
908
+ J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus(), Ee.model_value && (he("update:modelValue", Ee.model_value), J.value.value = Ee.model_value), Ee.model_value_translate, Ee.translatable && axios.post("/admin/get_field_translations", {
909
909
  model: Ee.translatable.model,
910
910
  row_id: Ee.translatable.row_id,
911
911
  field: Ee.translatable.field
912
912
  }).then((Q) => {
913
- Oe.value.value = JSON.stringify(Q.data), pe("update:modelValueTranslate", JSON.stringify(Q.data)), console.log("input_translate", Oe.value.value);
913
+ Oe.value.value = JSON.stringify(Q.data), he("update:modelValueTranslate", JSON.stringify(Q.data)), console.log("input_translate", Oe.value.value);
914
914
  }).catch((Q) => {
915
915
  console.log(Q);
916
916
  });
@@ -1039,18 +1039,18 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1039
1039
  },
1040
1040
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1041
1041
  setup($, { expose: me, emit: re }) {
1042
- const Ee = $, pe = re, J = Ko(null), Oe = Ko(null);
1042
+ const Ee = $, he = re, J = Ko(null), Oe = Ko(null);
1043
1043
  return b1(() => {
1044
1044
  tinymce.init({
1045
1045
  selector: "#" + Ee.field_name,
1046
1046
  width: "100%",
1047
1047
  height: 300
1048
- }), console.log("tinymce ", Ee.model_value), J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus(), Ee.model_value && (pe("update:modelValue", Ee.model_value), J.value.value = Ee.model_value), Ee.model_value_translate, Ee.translatable && axios.post("/admin/get_field_translations", {
1048
+ }), console.log("tinymce ", Ee.model_value), J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus(), Ee.model_value && (he("update:modelValue", Ee.model_value), J.value.value = Ee.model_value), Ee.model_value_translate, Ee.translatable && axios.post("/admin/get_field_translations", {
1049
1049
  model: Ee.translatable.model,
1050
1050
  row_id: Ee.translatable.row_id,
1051
1051
  field: Ee.translatable.field
1052
1052
  }).then((Q) => {
1053
- Oe.value.value = JSON.stringify(Q.data), pe("update:modelValueTranslate", JSON.stringify(Q.data));
1053
+ Oe.value.value = JSON.stringify(Q.data), he("update:modelValueTranslate", JSON.stringify(Q.data));
1054
1054
  }).catch((Q) => {
1055
1055
  console.log(Q);
1056
1056
  });
@@ -1178,14 +1178,14 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1178
1178
  },
1179
1179
  emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
1180
1180
  setup($, { expose: me, emit: re }) {
1181
- const Ee = $, pe = re, J = Ko(null), Oe = Ko(null);
1181
+ const Ee = $, he = re, J = Ko(null), Oe = Ko(null);
1182
1182
  return b1(() => {
1183
- J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus(), Ee.model_value && (pe("update:modelValue", Ee.model_value), J.value.value = Ee.model_value), Ee.model_value_translate, Ee.translatable && axios.post("/admin/get_field_translations", {
1183
+ J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus(), Ee.model_value && (he("update:modelValue", Ee.model_value), J.value.value = Ee.model_value), Ee.model_value_translate, Ee.translatable && axios.post("/admin/get_field_translations", {
1184
1184
  model: Ee.translatable.model,
1185
1185
  row_id: Ee.translatable.row_id,
1186
1186
  field: Ee.translatable.field
1187
1187
  }).then((Q) => {
1188
- Oe.value.value = JSON.stringify(Q.data), pe("update:modelValueTranslate", JSON.stringify(Q.data));
1188
+ Oe.value.value = JSON.stringify(Q.data), he("update:modelValueTranslate", JSON.stringify(Q.data));
1189
1189
  }).catch((Q) => {
1190
1190
  console.log(Q);
1191
1191
  });
@@ -1299,7 +1299,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1299
1299
  },
1300
1300
  emits: ["update:modelValue", "keydown"],
1301
1301
  setup($, { expose: me, emit: re }) {
1302
- const Ee = $, pe = re, J = Ko(null);
1302
+ const Ee = $, he = re, J = Ko(null);
1303
1303
  b1(() => {
1304
1304
  J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus();
1305
1305
  });
@@ -1308,7 +1308,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1308
1308
  return Ee.modelValue;
1309
1309
  },
1310
1310
  set(Q) {
1311
- pe("update:modelValue", Q), console.log(Q);
1311
+ he("update:modelValue", Q), console.log(Q);
1312
1312
  }
1313
1313
  });
1314
1314
  return me({ focus: () => J.value.focus() }), (Q, He) => (ye(), xe(Co, null, [
@@ -1392,7 +1392,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1392
1392
  },
1393
1393
  emits: ["update:modelValue", "keydown"],
1394
1394
  setup($, { emit: me }) {
1395
- const re = $, Ee = me, pe = Ko(""), J = Ko({
1395
+ const re = $, Ee = me, he = Ko(""), J = Ko({
1396
1396
  start: re.modelValue.start,
1397
1397
  end: re.modelValue.end
1398
1398
  });
@@ -1412,7 +1412,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1412
1412
  J.value.end = gt, He(J.value.start, J.value.end), Ee("update:modelValue", { start: J.value.start, end: J.value.end }), Ee("keydown", { start: J.value.start, end: J.value.end });
1413
1413
  }
1414
1414
  }), He = (gt, jt) => {
1415
- gt && jt && new Date(gt) > new Date(jt) ? (pe.value = "Start date cannot be after end date.", J.value.start = "", J.value.end = "", Ee("update:modelValue", { start: J.value.start, end: J.value.end }), Ee("keydown", { start: J.value.start, end: J.value.end })) : gt && jt && new Date(jt) < new Date(gt) ? (pe.value = "End date cannot be before start date.", J.value.start = "", J.value.end = "", Ee("update:modelValue", { start: J.value.start, end: J.value.end }), Ee("keydown", { start: J.value.start, end: J.value.end })) : pe.value = "";
1415
+ gt && jt && new Date(gt) > new Date(jt) ? (he.value = "Start date cannot be after end date.", J.value.start = "", J.value.end = "", Ee("update:modelValue", { start: J.value.start, end: J.value.end }), Ee("keydown", { start: J.value.start, end: J.value.end })) : gt && jt && new Date(jt) < new Date(gt) ? (he.value = "End date cannot be before start date.", J.value.start = "", J.value.end = "", Ee("update:modelValue", { start: J.value.start, end: J.value.end }), Ee("keydown", { start: J.value.start, end: J.value.end })) : he.value = "";
1416
1416
  };
1417
1417
  return (gt, jt) => (ye(), xe(Co, null, [
1418
1418
  $.show ? (ye(), xe("div", {
@@ -1429,8 +1429,8 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1429
1429
  }, [
1430
1430
  P("label", {
1431
1431
  class: dn({
1432
- "gl-label-form": $.error_message == "" && pe.value == "",
1433
- "gl-label-form-invalid": $.error_message !== "" || pe.value !== "",
1432
+ "gl-label-form": $.error_message == "" && he.value == "",
1433
+ "gl-label-form-invalid": $.error_message !== "" || he.value !== "",
1434
1434
  required: $.is_required
1435
1435
  }),
1436
1436
  for: $.field_name
@@ -1441,8 +1441,8 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1441
1441
  name: $.field_name + "Start",
1442
1442
  id: $.field_name + "Start",
1443
1443
  class: dn({
1444
- "gl-input-form": $.error_message == "" && pe.value == "",
1445
- "gl-input-form-invalid": $.error_message !== "" || pe.value !== ""
1444
+ "gl-input-form": $.error_message == "" && he.value == "",
1445
+ "gl-input-form-invalid": $.error_message !== "" || he.value !== ""
1446
1446
  }),
1447
1447
  type: "date",
1448
1448
  "onUpdate:modelValue": jt[0] || (jt[0] = (wn) => Oe.value = wn),
@@ -1456,8 +1456,8 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1456
1456
  name: $.field_name + "End",
1457
1457
  id: $.field_name + "End",
1458
1458
  class: dn({
1459
- "gl-input-form": $.error_message == "" && pe.value == "",
1460
- "gl-input-form-invalid": $.error_message !== "" || pe.value !== ""
1459
+ "gl-input-form": $.error_message == "" && he.value == "",
1460
+ "gl-input-form-invalid": $.error_message !== "" || he.value !== ""
1461
1461
  }),
1462
1462
  type: "date",
1463
1463
  "onUpdate:modelValue": jt[1] || (jt[1] = (wn) => Q.value = wn),
@@ -1467,7 +1467,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1467
1467
  ])
1468
1468
  ]),
1469
1469
  P("div", UY, [
1470
- P("span", WY, bt($.error_message || pe.value), 1)
1470
+ P("span", WY, bt($.error_message || he.value), 1)
1471
1471
  ]),
1472
1472
  P("small", ZY, bt($.description), 1)
1473
1473
  ], 2))
@@ -1519,7 +1519,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1519
1519
  },
1520
1520
  emits: ["update:modelValue", "keydown"],
1521
1521
  setup($, { emit: me }) {
1522
- const re = me, Ee = Ko(null), pe = (J) => {
1522
+ const re = me, Ee = Ko(null), he = (J) => {
1523
1523
  const Oe = J.target.files[0];
1524
1524
  console.log(Oe), re("keydown", J), Oe && re("update:modelValue", Oe);
1525
1525
  };
@@ -1553,7 +1553,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1553
1553
  "gl-input-form-invalid": $.error_message !== ""
1554
1554
  }),
1555
1555
  type: "file",
1556
- onChange: pe,
1556
+ onChange: he,
1557
1557
  ref_key: "input",
1558
1558
  ref: Ee,
1559
1559
  placeholder: $.placeholder
@@ -1565,7 +1565,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1565
1565
  }
1566
1566
  }, QY = {
1567
1567
  setup($, { slots: me }) {
1568
- const re = Ko(me.default().map((pe) => pe.props));
1568
+ const re = Ko(me.default().map((he) => he.props));
1569
1569
  console.log(me.default());
1570
1570
  const Ee = Ko(re.value[0].title);
1571
1571
  return YG("selectedTitle", Ee), {
@@ -1574,7 +1574,7 @@ const Cae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
1574
1574
  };
1575
1575
  }
1576
1576
  }, eX = { class: "flex flex-wrap" }, tX = { class: "w-full" }, nX = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, oX = ["onClick"], sX = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, rX = { class: "flex-auto px-4 py-5" }, aX = { class: "tab-content tab-space" };
1577
- function lX($, me, re, Ee, pe, J) {
1577
+ function lX($, me, re, Ee, he, J) {
1578
1578
  return ye(), xe(Co, null, [
1579
1579
  P("div", eX, [
1580
1580
  P("div", tX, [
@@ -1616,7 +1616,7 @@ const Dae = /* @__PURE__ */ Jr(QY, [["render", lX]]), cX = {
1616
1616
  key: 0,
1617
1617
  class: "block"
1618
1618
  };
1619
- function uX($, me, re, Ee, pe, J) {
1619
+ function uX($, me, re, Ee, he, J) {
1620
1620
  return re.title == Ee.selectedTitle ? (ye(), xe("div", iX, [
1621
1621
  vf($.$slots, "default")
1622
1622
  ])) : Ct("", !0);
@@ -1674,13 +1674,13 @@ const Oae = /* @__PURE__ */ Jr(cX, [["render", uX]]), dX = {
1674
1674
  generateRandomString($) {
1675
1675
  let me = "";
1676
1676
  const re = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ee = re.length;
1677
- for (let pe = 0; pe < $; pe++)
1677
+ for (let he = 0; he < $; he++)
1678
1678
  me += re.charAt(Math.floor(Math.random() * Ee));
1679
1679
  return me;
1680
1680
  },
1681
1681
  movingActions() {
1682
1682
  let $ = this, me = document.getElementById("slider_" + this.Random_string);
1683
- const re = (pe) => {
1683
+ const re = (he) => {
1684
1684
  me.style.cursor = "grabbing";
1685
1685
  const J = (Q) => {
1686
1686
  const He = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, gt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, jt = He - $.initialX, wn = gt - $.initialY;
@@ -1688,9 +1688,9 @@ const Oae = /* @__PURE__ */ Jr(cX, [["render", uX]]), dX = {
1688
1688
  }, Oe = () => {
1689
1689
  document.removeEventListener("mousemove", J), document.removeEventListener("touchmove", J), document.removeEventListener("mouseup", Oe), document.removeEventListener("touchend", Oe), me.style.cursor = "grab";
1690
1690
  };
1691
- document.addEventListener("mousemove", J), document.addEventListener("touchmove", J, { passive: !1 }), document.addEventListener("mouseup", Oe), document.addEventListener("touchend", Oe), $.initialX = pe.clientX || pe.touches && pe.touches[0] && pe.touches[0].clientX, $.initialY = pe.clientY || pe.touches && pe.touches[0] && pe.touches[0].clientY;
1692
- }, Ee = (pe) => {
1693
- pe.key === "ArrowLeft" ? $.prev() : pe.key === "ArrowRight" && $.next();
1691
+ document.addEventListener("mousemove", J), document.addEventListener("touchmove", J, { passive: !1 }), document.addEventListener("mouseup", Oe), document.addEventListener("touchend", Oe), $.initialX = he.clientX || he.touches && he.touches[0] && he.touches[0].clientX, $.initialY = he.clientY || he.touches && he.touches[0] && he.touches[0].clientY;
1692
+ }, Ee = (he) => {
1693
+ he.key === "ArrowLeft" ? $.prev() : he.key === "ArrowRight" && $.next();
1694
1694
  };
1695
1695
  me.addEventListener("mousedown", re), me.addEventListener("touchstart", re), document.addEventListener("keydown", Ee);
1696
1696
  },
@@ -1701,17 +1701,17 @@ const Oae = /* @__PURE__ */ Jr(cX, [["render", uX]]), dX = {
1701
1701
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
1702
1702
  },
1703
1703
  initSlider() {
1704
- let $ = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), re = document.getElementById("slider_" + this.Random_string), Ee = re.querySelectorAll("li"), pe = Array.from(Ee).filter((Q) => Q.parentNode === re), J = $.clientWidth, Oe = J / this.elementsToShow;
1705
- if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Oe = this.hide_arrow ? me.clientWidth : J) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Oe = this.hide_arrow ? me.clientWidth : J), pe.length > 1) {
1706
- this.dotsNum = this.elementsToShow == 1 ? pe.length : pe.length - this.elementsToShow + 1;
1707
- let Q = this.elementsToShow == 1 ? Oe * pe.length / this.dotsNum : Oe * (pe.length - this.elementsToShow) / (this.dotsNum - 1);
1704
+ let $ = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), re = document.getElementById("slider_" + this.Random_string), Ee = re.querySelectorAll("li"), he = Array.from(Ee).filter((Q) => Q.parentNode === re), J = $.clientWidth, Oe = J / this.elementsToShow;
1705
+ if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Oe = this.hide_arrow ? me.clientWidth : J) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Oe = this.hide_arrow ? me.clientWidth : J), he.length > 1) {
1706
+ this.dotsNum = this.elementsToShow == 1 ? he.length : he.length - this.elementsToShow + 1;
1707
+ let Q = this.elementsToShow == 1 ? Oe * he.length / this.dotsNum : Oe * (he.length - this.elementsToShow) / (this.dotsNum - 1);
1708
1708
  this.dotsNavigation = [];
1709
1709
  for (let He = 0; He < this.dotsNum; He++)
1710
1710
  this.dotsNavigation.push(Q * He);
1711
1711
  }
1712
- re.style.width = pe.length * Oe + "px", re.style.transition = "margin", re.style.transitionDuration = "1s";
1713
- for (let Q = 0; Q < pe.length; Q++) {
1714
- const He = pe[Q];
1712
+ re.style.width = he.length * Oe + "px", re.style.transition = "margin", re.style.transitionDuration = "1s";
1713
+ for (let Q = 0; Q < he.length; Q++) {
1714
+ const He = he[Q];
1715
1715
  He.style.width = Oe + "px";
1716
1716
  }
1717
1717
  },
@@ -1905,7 +1905,7 @@ const Oae = /* @__PURE__ */ Jr(cX, [["render", uX]]), dX = {
1905
1905
  }, null, -1)), gJ = [
1906
1906
  fJ
1907
1907
  ];
1908
- function hJ($, me, re, Ee, pe, J) {
1908
+ function hJ($, me, re, Ee, he, J) {
1909
1909
  return ye(), xe("div", null, [
1910
1910
  P("div", {
1911
1911
  class: dn(["", !re.hide_arrow && re.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
@@ -2065,7 +2065,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2065
2065
  },
2066
2066
  emits: ["closeModal"],
2067
2067
  setup($, { emit: me }) {
2068
- const re = $, Ee = me, pe = () => {
2068
+ const re = $, Ee = me, he = () => {
2069
2069
  document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
2070
2070
  }, J = () => {
2071
2071
  document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
@@ -2075,7 +2075,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2075
2075
  return ST(
2076
2076
  () => re.is_open,
2077
2077
  (Q, He) => {
2078
- Q ? pe() : J();
2078
+ Q ? he() : J();
2079
2079
  },
2080
2080
  { immediate: !0, deep: !0 }
2081
2081
  ), (Q, He) => $.is_open ? (ye(), xe("div", pJ, [
@@ -2158,7 +2158,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2158
2158
  },
2159
2159
  emits: ["update:modelValue"],
2160
2160
  setup($, { emit: me }) {
2161
- const re = $, Ee = me, pe = Ko(null), J = Fc({
2161
+ const re = $, Ee = me, he = Ko(null), J = Fc({
2162
2162
  get() {
2163
2163
  return re.modelValue;
2164
2164
  },
@@ -2184,7 +2184,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2184
2184
  "true-value": 1,
2185
2185
  "false-value": 0,
2186
2186
  ref_key: "input",
2187
- ref: pe,
2187
+ ref: he,
2188
2188
  disabled: ""
2189
2189
  }, null, 8, kJ),
2190
2190
  TJ
@@ -2211,7 +2211,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2211
2211
  "true-value": 1,
2212
2212
  "false-value": 0,
2213
2213
  ref_key: "input",
2214
- ref: pe,
2214
+ ref: he,
2215
2215
  "onUpdate:modelValue": Q[0] || (Q[0] = (He) => J.value = He)
2216
2216
  }, null, 8, $J), [
2217
2217
  [JG, J.value]
@@ -2269,7 +2269,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2269
2269
  },
2270
2270
  emits: ["update:modelValue"],
2271
2271
  setup($, { emit: me }) {
2272
- const re = $, Ee = me, pe = Ko(null), J = Fc({
2272
+ const re = $, Ee = me, he = Ko(null), J = Fc({
2273
2273
  get() {
2274
2274
  return re.modelValue;
2275
2275
  },
@@ -2293,7 +2293,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2293
2293
  id: $.field_name,
2294
2294
  checked: $.modelValue,
2295
2295
  ref_key: "input",
2296
- ref: pe,
2296
+ ref: he,
2297
2297
  disabled: ""
2298
2298
  }, null, 8, LJ),
2299
2299
  FJ
@@ -2318,7 +2318,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2318
2318
  name: $.field_name,
2319
2319
  id: $.field_name,
2320
2320
  ref_key: "input",
2321
- ref: pe,
2321
+ ref: he,
2322
2322
  "onUpdate:modelValue": Q[0] || (Q[0] = (He) => J.value = He)
2323
2323
  }, null, 8, ZJ), [
2324
2324
  [JG, J.value]
@@ -2428,7 +2428,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2428
2428
  },
2429
2429
  emits: ["update:modelValue", "selected", "selectionChanged"],
2430
2430
  setup($, { emit: me }) {
2431
- const re = $, Ee = me, pe = Ko(null), J = Ko({}), Oe = Ko(0), Q = Ko(!1), He = Ko(""), gt = Ko("");
2431
+ const re = $, Ee = me, he = Ko(null), J = Ko({}), Oe = Ko(0), Q = Ko(!1), He = Ko(""), gt = Ko("");
2432
2432
  b1(() => {
2433
2433
  gt.value = ir(), re.show || (document.body.addEventListener("click", (St) => {
2434
2434
  Pt(St);
@@ -2595,7 +2595,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2595
2595
  pl(P("input", {
2596
2596
  type: "search",
2597
2597
  "onUpdate:modelValue": Fe[3] || (Fe[3] = (Ge) => He.value = Ge),
2598
- ref: pe.value,
2598
+ ref: he.value,
2599
2599
  id: `${$.field_name}search${gt.value}`,
2600
2600
  onKeydown: Wo,
2601
2601
  onBlur: Fe[4] || (Fe[4] = (Ge) => os()),
@@ -2683,7 +2683,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2683
2683
  },
2684
2684
  emits: ["update:modelValue", "keydown"],
2685
2685
  setup($, { expose: me, emit: re }) {
2686
- const Ee = $, pe = re, J = Ko(null);
2686
+ const Ee = $, he = re, J = Ko(null);
2687
2687
  b1(() => {
2688
2688
  J.value !== null && J.value.hasAttribute("autofocus") && J.value.focus();
2689
2689
  });
@@ -2692,7 +2692,7 @@ const Rae = /* @__PURE__ */ Jr(dX, [["render", hJ], ["__scopeId", "data-v-a94f16
2692
2692
  return Ee.modelValue;
2693
2693
  },
2694
2694
  set(Q) {
2695
- pe("update:modelValue", Q);
2695
+ he("update:modelValue", Q);
2696
2696
  }
2697
2697
  });
2698
2698
  return me({ focus: () => J.value.focus() }), (Q, He) => (ye(), xe(Co, null, [
@@ -2769,7 +2769,7 @@ var eq = { exports: {} };
2769
2769
  }, Ee = function(e, n) {
2770
2770
  var o = Array.prototype.slice.call(e);
2771
2771
  return o.sort(n);
2772
- }, pe = function(e, n) {
2772
+ }, he = function(e, n) {
2773
2773
  return J(function(o, r) {
2774
2774
  return e.eq(n(o), n(r));
2775
2775
  });
@@ -2787,7 +2787,7 @@ var eq = { exports: {} };
2787
2787
  return !0;
2788
2788
  });
2789
2789
  }, gt = function(e, n) {
2790
- return pe(He(e), function(o) {
2790
+ return he(He(e), function(o) {
2791
2791
  return Ee(o, n);
2792
2792
  });
2793
2793
  }, jt = function(e) {
@@ -20153,7 +20153,7 @@ tinymce.IconManager.add("default", {
20153
20153
  }, re = (t) => {
20154
20154
  const s = typeof t;
20155
20155
  return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && me(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
20156
- }, Ee = (t) => (s) => re(s) === t, pe = (t) => (s) => typeof s === t, J = (t) => (s) => t === s, Oe = (t, s) => He(t) && me(t, s, (a, c) => $(a) === c), Q = Ee("string"), He = Ee("object"), gt = (t) => Oe(t, Object), jt = Ee("array"), wn = J(null), zn = pe("boolean"), Wo = J(void 0), ir = (t) => t == null, No = (t) => !ir(t), Pt = pe("function"), ur = pe("number"), mn = (t, s) => {
20156
+ }, Ee = (t) => (s) => re(s) === t, he = (t) => (s) => typeof s === t, J = (t) => (s) => t === s, Oe = (t, s) => He(t) && me(t, s, (a, c) => $(a) === c), Q = Ee("string"), He = Ee("object"), gt = (t) => Oe(t, Object), jt = Ee("array"), wn = J(null), zn = he("boolean"), Wo = J(void 0), ir = (t) => t == null, No = (t) => !ir(t), Pt = he("function"), ur = he("number"), mn = (t, s) => {
20157
20157
  if (jt(t)) {
20158
20158
  for (let a = 0, c = t.length; a < c; ++a)
20159
20159
  if (!s(t[a]))
@@ -21874,11 +21874,11 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
21874
21874
  }, we = () => {
21875
21875
  const De = t.domChildren;
21876
21876
  c5(s, De);
21877
- }, he = () => {
21877
+ }, pe = () => {
21878
21878
  const De = s, ut = t.value.getOrUndefined();
21879
21879
  ut !== Wd(De) && sp(De, ut ?? "");
21880
21880
  };
21881
- return w(), ce(), B(), t.innerHtml.fold(we, $e), he(), s;
21881
+ return w(), ce(), B(), t.innerHtml.fold(we, $e), pe(), s;
21882
21882
  }, FT = (t) => {
21883
21883
  const s = Te.fromTag(t.tag);
21884
21884
  Gu(s, t.attributes), ar(s, t.classes), $s(s, t.styles), t.innerHtml.each((c) => Kg(s, c));
@@ -21924,13 +21924,13 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
21924
21924
  return (Pt(Xe[ut.name()]) ? Xe[ut.name()] : () => {
21925
21925
  throw new Error("Could not find " + ut.name() + " in " + JSON.stringify(t, null, 2));
21926
21926
  })();
21927
- }, $e = (ut) => Pt(w[ut.name()]), we = () => d.apis, he = (ut) => w[ut]().map((Xe) => Xe.state.readState()).getOr("not enabled"), De = {
21927
+ }, $e = (ut) => Pt(w[ut.name()]), we = () => d.apis, pe = (ut) => w[ut]().map((Xe) => Xe.state.readState()).getOr("not enabled"), De = {
21928
21928
  uid: t.uid,
21929
21929
  getSystem: c.get,
21930
21930
  config: ce,
21931
21931
  hasConfigured: $e,
21932
21932
  spec: t,
21933
- readState: he,
21933
+ readState: pe,
21934
21934
  getApis: we,
21935
21935
  connect: H,
21936
21936
  disconnect: W,
@@ -22431,11 +22431,11 @@ Receiver: ` + zd(s.element), E, g.data);
22431
22431
  y: c,
22432
22432
  right: d,
22433
22433
  bottom: g
22434
- } = s, { x: p, y: w, right: C, bottom: E, width: O, height: B } = t, H = p >= a && p <= d, W = w >= c && w <= g, Y = H && W, ce = C <= d && C >= a, $e = E <= g && E >= c, we = ce && $e, he = Math.min(O, p >= a ? d - p : C - a), De = Math.min(B, w >= c ? g - w : E - c);
22434
+ } = s, { x: p, y: w, right: C, bottom: E, width: O, height: B } = t, H = p >= a && p <= d, W = w >= c && w <= g, Y = H && W, ce = C <= d && C >= a, $e = E <= g && E >= c, we = ce && $e, pe = Math.min(O, p >= a ? d - p : C - a), De = Math.min(B, w >= c ? g - w : E - c);
22435
22435
  return {
22436
22436
  originInBounds: Y,
22437
22437
  sizeInBounds: we,
22438
- visibleW: he,
22438
+ visibleW: pe,
22439
22439
  visibleH: De
22440
22440
  };
22441
22441
  }, g2 = (t, s) => {
@@ -22453,9 +22453,9 @@ Receiver: ` + zd(s.element), E, g.data);
22453
22453
  maxHeight: g
22454
22454
  };
22455
22455
  }, nE = (t, s, a, c) => {
22456
- const d = t.bubble, g = d.offset, p = zb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Ps(w, C, s, a), { originInBounds: O, sizeInBounds: B, visibleW: H, visibleH: W } = kC(E, p), Y = O && B, ce = Y ? E : g2(E, p), $e = ce.width > 0 && ce.height > 0, { maxWidth: we, maxHeight: he } = sh(t.direction, ce, c), De = {
22456
+ const d = t.bubble, g = d.offset, p = zb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Ps(w, C, s, a), { originInBounds: O, sizeInBounds: B, visibleW: H, visibleH: W } = kC(E, p), Y = O && B, ce = Y ? E : g2(E, p), $e = ce.width > 0 && ce.height > 0, { maxWidth: we, maxHeight: pe } = sh(t.direction, ce, c), De = {
22457
22457
  rect: ce,
22458
- maxHeight: he,
22458
+ maxHeight: pe,
22459
22459
  maxWidth: we,
22460
22460
  direction: t.direction,
22461
22461
  placement: t.placement,
@@ -22470,7 +22470,7 @@ Receiver: ` + zd(s.element), E, g.data);
22470
22470
  }, oE = (t, s, a, c, d, g) => {
22471
22471
  const p = c.width, w = c.height, C = (O, B, H, W, Y) => {
22472
22472
  const ce = O(a, c, d, t, g), $e = nE(ce, p, w, g);
22473
- return $e.fold(oe($e), (we, he, De, ut) => (Y === ut ? De > W || he > H : !Y && ut) ? $e : Z1.nofit(B, H, W, Y));
22473
+ return $e.fold(oe($e), (we, pe, De, ut) => (Y === ut ? De > W || pe > H : !Y && ut) ? $e : Z1.nofit(B, H, W, Y));
22474
22474
  };
22475
22475
  return Ho(s, (O, B) => {
22476
22476
  const H = St(C, B);
@@ -23966,26 +23966,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
23966
23966
  Re("firstTabstop", 0),
23967
23967
  Re("useTabstopAt", Ge),
23968
23968
  Fo("visibilitySelector")
23969
- ].concat([t]), a = (we, he) => {
23970
- const De = we.visibilitySelector.bind((ut) => cd(he, ut)).getOr(he);
23969
+ ].concat([t]), a = (we, pe) => {
23970
+ const De = we.visibilitySelector.bind((ut) => cd(pe, ut)).getOr(pe);
23971
23971
  return Vs(De) > 0;
23972
- }, c = (we, he) => {
23973
- const De = Sa(we.element, he.selector), ut = Qn(De, (Xe) => a(he, Xe));
23974
- return A.from(ut[he.firstTabstop]);
23975
- }, d = (we, he) => he.focusManager.get(we).bind((De) => cd(De, he.selector)), g = (we, he) => a(we, he) && we.useTabstopAt(he), p = (we, he, De) => {
23976
- c(we, he).each((ut) => {
23977
- he.focusManager.set(we, ut);
23978
- });
23979
- }, w = (we, he, De, ut, Xe) => Xe(he, De, (je) => g(ut, je)).fold(() => ut.cyclic ? A.some(!0) : A.none(), (je) => (ut.focusManager.set(we, je), A.some(!0))), C = (we, he, De, ut) => {
23972
+ }, c = (we, pe) => {
23973
+ const De = Sa(we.element, pe.selector), ut = Qn(De, (Xe) => a(pe, Xe));
23974
+ return A.from(ut[pe.firstTabstop]);
23975
+ }, d = (we, pe) => pe.focusManager.get(we).bind((De) => cd(De, pe.selector)), g = (we, pe) => a(we, pe) && we.useTabstopAt(pe), p = (we, pe, De) => {
23976
+ c(we, pe).each((ut) => {
23977
+ pe.focusManager.set(we, ut);
23978
+ });
23979
+ }, w = (we, pe, De, ut, Xe) => Xe(pe, De, (je) => g(ut, je)).fold(() => ut.cyclic ? A.some(!0) : A.none(), (je) => (ut.focusManager.set(we, je), A.some(!0))), C = (we, pe, De, ut) => {
23980
23980
  const Xe = Sa(we.element, De.selector);
23981
23981
  return d(we, De).bind((je) => Dt(Xe, St(Lo, je)).bind((Et) => w(we, Xe, Et, De, ut)));
23982
- }, E = (we, he, De) => {
23982
+ }, E = (we, pe, De) => {
23983
23983
  const ut = De.cyclic ? lw : i4;
23984
- return C(we, he, De, ut);
23985
- }, O = (we, he, De) => {
23984
+ return C(we, pe, De, ut);
23985
+ }, O = (we, pe, De) => {
23986
23986
  const ut = De.cyclic ? cw : u4;
23987
- return C(we, he, De, ut);
23988
- }, B = (we) => Hl(we).bind(hi).exists((he) => Lo(he, we)), H = (we, he, De) => d(we, De).filter((ut) => !De.useTabstopAt(ut)).bind((ut) => (B(ut) ? E : O)(we, he, De)), W = (we, he, De) => De.onEnter.bind((ut) => ut(we, he)), Y = (we, he, De) => De.onEscape.bind((ut) => ut(we, he)), ce = oe([
23987
+ return C(we, pe, De, ut);
23988
+ }, B = (we) => Hl(we).bind(hi).exists((pe) => Lo(pe, we)), H = (we, pe, De) => d(we, De).filter((ut) => !De.useTabstopAt(ut)).bind((ut) => (B(ut) ? E : O)(we, pe, De)), W = (we, pe, De) => De.onEnter.bind((ut) => ut(we, pe)), Y = (we, pe, De) => De.onEscape.bind((ut) => ut(we, pe)), ce = oe([
23989
23989
  ko($i([
23990
23990
  nf,
23991
23991
  po(ef)
@@ -24902,7 +24902,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24902
24902
  return d.setMenuBuilt(Yt, $n), $n;
24903
24903
  } else
24904
24904
  return An.menu;
24905
- }, he = (At, Yt, An = $e.HighlightSubmenu) => {
24905
+ }, pe = (At, Yt, An = $e.HighlightSubmenu) => {
24906
24906
  if (Yt.hasConfigured(yn) && yn.isDisabled(Yt))
24907
24907
  return A.some(Yt);
24908
24908
  {
@@ -24918,7 +24918,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24918
24918
  }, ut = (At, Yt) => {
24919
24919
  const An = p(Yt);
24920
24920
  return d.refresh(An).bind(($n) => (Y(At, $n), ce(At, d, $n)));
24921
- }, Xe = (At, Yt) => mh(Yt.element) ? A.none() : he(At, Yt, $e.HighlightSubmenu), je = (At, Yt) => mh(Yt.element) ? A.none() : De(At, Yt), vt = (At, Yt) => De(At, Yt).orThunk(() => t.onEscape(At, Yt).map(() => At)), Et = (At) => (Yt, An) => cd(An.getSource(), `.${t.markers.item}`).bind(($n) => Yt.getSystem().getByDom($n).toOptional().bind((bn) => At(Yt, bn).map(Ge))), Vn = Es([
24921
+ }, Xe = (At, Yt) => mh(Yt.element) ? A.none() : pe(At, Yt, $e.HighlightSubmenu), je = (At, Yt) => mh(Yt.element) ? A.none() : De(At, Yt), vt = (At, Yt) => De(At, Yt).orThunk(() => t.onEscape(At, Yt).map(() => At)), Et = (At) => (Yt, An) => cd(An.getSource(), `.${t.markers.item}`).bind(($n) => Yt.getSystem().getByDom($n).toOptional().bind((bn) => At(Yt, bn).map(Ge))), Vn = Es([
24922
24922
  Je(rR(), (At, Yt) => {
24923
24923
  const An = Yt.event.item;
24924
24924
  d.lookupItem(p(An)).each(() => {
@@ -24931,7 +24931,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24931
24931
  Ou((At, Yt) => {
24932
24932
  const An = Yt.event.target;
24933
24933
  At.getSystem().getByDom(An).each(($n) => {
24934
- p($n).indexOf("collapse-item") === 0 && De(At, $n), he(At, $n, $e.HighlightSubmenu).fold(() => {
24934
+ p($n).indexOf("collapse-item") === 0 && De(At, $n), pe(At, $n, $e.HighlightSubmenu).fold(() => {
24935
24935
  t.onExecute(At, $n);
24936
24936
  }, fe);
24937
24937
  });
@@ -24949,7 +24949,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
24949
24949
  }),
24950
24950
  ...t.navigateOnHover ? [Je(_4(), (At, Yt) => {
24951
24951
  const An = Yt.event.item;
24952
- ut(At, An), he(At, An, $e.HighlightParent), t.onHover(At, An);
24952
+ ut(At, An), pe(At, An, $e.HighlightParent), t.onHover(At, An);
24953
24953
  })] : []
24954
24954
  ]), zt = (At) => Po.getHighlighted(At).bind(Po.getHighlighted), En = (At) => {
24955
24955
  zt(At).each((Yt) => {
@@ -26015,7 +26015,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26015
26015
  return s.isSupported = !1, s;
26016
26016
  const a = t.document, c = a.currentScript;
26017
26017
  let { document: d } = t;
26018
- const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: O = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: B, DOMParser: H, trustedTypes: W } = t, Y = C.prototype, ce = bw(Y, "cloneNode"), $e = bw(Y, "nextSibling"), we = bw(Y, "childNodes"), he = bw(Y, "parentNode");
26018
+ const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: O = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: B, DOMParser: H, trustedTypes: W } = t, Y = C.prototype, ce = bw(Y, "cloneNode"), $e = bw(Y, "nextSibling"), we = bw(Y, "childNodes"), pe = bw(Y, "parentNode");
26019
26019
  if (typeof p == "function") {
26020
26020
  const uo = d.createElement("template");
26021
26021
  uo.content && uo.content.ownerDocument && (d = uo.content.ownerDocument);
@@ -26023,7 +26023,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26023
26023
  let De, ut = "";
26024
26024
  const { implementation: Xe, createNodeIterator: je, createDocumentFragment: vt, getElementsByTagName: Et } = d, { importNode: Vn } = a;
26025
26025
  let zt = {};
26026
- s.isSupported = typeof E4 == "function" && typeof he == "function" && Xe && Xe.createHTMLDocument !== void 0;
26026
+ s.isSupported = typeof E4 == "function" && typeof pe == "function" && Xe && Xe.createHTMLDocument !== void 0;
26027
26027
  const { MUSTACHE_EXPR: En, ERB_EXPR: Cn, TMPLIT_EXPR: qo, DATA_ATTR: hn, ARIA_ATTR: _o, IS_SCRIPT_OR_DATA: At, ATTR_WHITESPACE: Yt } = US;
26028
26028
  let { IS_ALLOWED_URI: An } = US, $n = null;
26029
26029
  const bn = wo({}, [
@@ -26167,7 +26167,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26167
26167
  const kj = wo({}, $4);
26168
26168
  wo(kj, uI);
26169
26169
  const Cq = function(Ue) {
26170
- let tn = he(Ue);
26170
+ let tn = pe(Ue);
26171
26171
  (!tn || !tn.tagName) && (tn = {
26172
26172
  namespaceURI: xT,
26173
26173
  tagName: "template"
@@ -26252,7 +26252,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
26252
26252
  if (!hl[Mn] && GG(Mn) && (To.tagNameCheck instanceof RegExp && pd(To.tagNameCheck, Mn) || To.tagNameCheck instanceof Function && To.tagNameCheck(Mn)))
26253
26253
  return !1;
26254
26254
  if (wj && !wT[Mn]) {
26255
- const la = he(Ue) || Ue.parentNode, Wi = we(Ue) || Ue.childNodes;
26255
+ const la = pe(Ue) || Ue.parentNode, Wi = we(Ue) || Ue.childNodes;
26256
26256
  if (Wi && la) {
26257
26257
  const xg = Wi.length;
26258
26258
  for (let Ml = xg - 1; Ml >= 0; --Ml)
@@ -26635,14 +26635,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
26635
26635
  reposition: () => {
26636
26636
  const ce = Ti(B), $e = { maxHeightFunction: bp() }, we = t.notificationManager.getNotifications();
26637
26637
  if (we[0] === Y) {
26638
- const he = {
26638
+ const pe = {
26639
26639
  ...c.anchors.banner(),
26640
26640
  overrides: $e
26641
26641
  };
26642
- lr.showWithinBounds(H, ce, { anchor: he }, d);
26642
+ lr.showWithinBounds(H, ce, { anchor: pe }, d);
26643
26643
  } else
26644
- ot(we, Y).each((he) => {
26645
- const De = we[he - 1].getEl(), ut = {
26644
+ ot(we, Y).each((pe) => {
26645
+ const De = we[pe - 1].getEl(), ut = {
26646
26646
  type: "node",
26647
26647
  root: Fs(),
26648
26648
  node: A.some(Te.fromDom(De)),
@@ -29016,7 +29016,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
29016
29016
  inlineBehaviours: wt([Hn("dismissAutocompleter", [
29017
29017
  Je($f(), () => O()),
29018
29018
  Je(E1(), ($e, we) => {
29019
- I(we.event.target, "id").each((he) => Nt(Te.fromDom(t.getBody()), "aria-activedescendant", he));
29019
+ I(we.event.target, "id").each((pe) => Nt(Te.fromDom(t.getBody()), "aria-activedescendant", pe));
29020
29020
  })
29021
29021
  ])]),
29022
29022
  lazySink: s.getSink
@@ -29029,10 +29029,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
29029
29029
  });
29030
29030
  }
29031
29031
  }, E = () => lr.getContent(g).bind(($e) => hs($e.components(), 0)), O = () => t.execCommand("mceAutocompleterClose"), B = ($e) => {
29032
- const we = Js($e, (he) => A.from(he.columns)).getOr(1);
29033
- return _e($e, (he) => {
29034
- const De = he.items;
29035
- return dF(De, he.matchText, (ut, Xe) => {
29032
+ const we = Js($e, (pe) => A.from(pe.columns)).getOr(1);
29033
+ return _e($e, (pe) => {
29034
+ const De = pe.items;
29035
+ return dF(De, pe.matchText, (ut, Xe) => {
29036
29036
  const je = t.selection.getRng();
29037
29037
  fF(t.dom, je).each((vt) => {
29038
29038
  const Et = {
@@ -29041,18 +29041,18 @@ Components: ` + JSON.stringify(s.components, null, 2));
29041
29041
  C(), t.execCommand("mceAutocompleterReload", !1, { fetchOptions: Vn });
29042
29042
  }
29043
29043
  };
29044
- c.set(!0), he.onAction(Et, vt, ut, Xe), c.set(!1);
29044
+ c.set(!0), pe.onAction(Et, vt, ut, Xe), c.set(!1);
29045
29045
  });
29046
- }, we, af.BUBBLE_TO_SANDBOX, s, he.highlightOn);
29046
+ }, we, af.BUBBLE_TO_SANDBOX, s, pe.highlightOn);
29047
29047
  });
29048
29048
  }, H = ($e, we) => {
29049
- CI(Te.fromDom(t.getBody())).each((he) => {
29049
+ CI(Te.fromDom(t.getBody())).each((pe) => {
29050
29050
  const De = Js($e, (ut) => A.from(ut.columns)).getOr(1);
29051
29051
  lr.showMenuAt(g, {
29052
29052
  anchor: {
29053
29053
  type: "node",
29054
29054
  root: Te.fromDom(t.getBody()),
29055
- node: A.from(he)
29055
+ node: A.from(pe)
29056
29056
  }
29057
29057
  }, mF(c_("autocompleter-value", !0, we, De, { menuType: "normal" }), De, Ww.ContentFocus, "normal"));
29058
29058
  }), E().each(Po.highlightFirst);
@@ -29061,8 +29061,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
29061
29061
  we.length > 0 ? (H($e, we), Nt(Te.fromDom(t.getBody()), "aria-owns", a), t.inline || Y()) : C();
29062
29062
  }, Y = () => {
29063
29063
  t.dom.get(a) && t.dom.remove(a, !1);
29064
- const $e = t.getDoc().documentElement, we = t.selection.getNode(), he = DT(g.element);
29065
- $s(he, {
29064
+ const $e = t.getDoc().documentElement, we = t.selection.getNode(), pe = DT(g.element);
29065
+ $s(pe, {
29066
29066
  border: "0",
29067
29067
  clip: "rect(0 0 0 0)",
29068
29068
  height: "1px",
@@ -29073,7 +29073,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
29073
29073
  width: "1px",
29074
29074
  top: `${we.offsetTop}px`,
29075
29075
  left: `${we.offsetLeft}px`
29076
- }), t.dom.add($e, he.dom), Br(he, '[role="menu"]').each((De) => {
29076
+ }), t.dom.add($e, pe.dom), Br(pe, '[role="menu"]').each((De) => {
29077
29077
  fo(De, "position"), fo(De, "max-height");
29078
29078
  });
29079
29079
  };
@@ -29356,27 +29356,27 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29356
29356
  Re("eventOrder", {})
29357
29357
  ]
29358
29358
  }), $_ = (t) => {
29359
- const s = (we) => ea(t.element).fold(Ge, (he) => Lo(we, he)), a = MM(), c = (we, he) => a.find(s, we, he), d = wF(t.element, {
29360
- triggerEvent: (we, he) => Lb(we, he.target, (De) => mA(c, we, he, De))
29359
+ const s = (we) => ea(t.element).fold(Ge, (pe) => Lo(we, pe)), a = MM(), c = (we, pe) => a.find(s, we, pe), d = wF(t.element, {
29360
+ triggerEvent: (we, pe) => Lb(we, pe.target, (De) => mA(c, we, pe, De))
29361
29361
  }), g = {
29362
29362
  debugInfo: oe("real"),
29363
- triggerEvent: (we, he, De) => {
29364
- Lb(we, he, (ut) => RM(c, we, De, he, ut));
29363
+ triggerEvent: (we, pe, De) => {
29364
+ Lb(we, pe, (ut) => RM(c, we, De, pe, ut));
29365
29365
  },
29366
- triggerFocus: (we, he) => {
29366
+ triggerFocus: (we, pe) => {
29367
29367
  R1(we).fold(() => {
29368
29368
  Oc(we);
29369
29369
  }, (De) => {
29370
29370
  Lb(sd(), we, (ut) => (CF(c, sd(), {
29371
- originator: he,
29371
+ originator: pe,
29372
29372
  kill: fe,
29373
29373
  prevent: fe,
29374
29374
  target: we
29375
29375
  }, we, ut), !1));
29376
29376
  });
29377
29377
  },
29378
- triggerEscape: (we, he) => {
29379
- g.triggerEvent("keydown", we.element, he.event);
29378
+ triggerEscape: (we, pe) => {
29379
+ g.triggerEvent("keydown", we.element, pe.event);
29380
29380
  },
29381
29381
  getByUid: (we) => ce(we),
29382
29382
  getByDom: (we) => $e(we),
@@ -29397,11 +29397,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29397
29397
  broadcast: (we) => {
29398
29398
  H(we);
29399
29399
  },
29400
- broadcastOn: (we, he) => {
29401
- W(we, he);
29400
+ broadcastOn: (we, pe) => {
29401
+ W(we, pe);
29402
29402
  },
29403
- broadcastEvent: (we, he) => {
29404
- Y(we, he);
29403
+ broadcastEvent: (we, pe) => {
29404
+ Y(we, pe);
29405
29405
  },
29406
29406
  isConnected: Ge
29407
29407
  }, p = (we) => {
@@ -29415,8 +29415,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29415
29415
  }, O = () => {
29416
29416
  d.unbind(), Tc(t.element);
29417
29417
  }, B = (we) => {
29418
- const he = a.filter(qg());
29419
- ht(he, (De) => {
29418
+ const pe = a.filter(qg());
29419
+ ht(pe, (De) => {
29420
29420
  const ut = De.descHandler;
29421
29421
  Jh(ut)(we);
29422
29422
  });
@@ -29425,18 +29425,18 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29425
29425
  universal: !0,
29426
29426
  data: we
29427
29427
  });
29428
- }, W = (we, he) => {
29428
+ }, W = (we, pe) => {
29429
29429
  B({
29430
29430
  universal: !1,
29431
29431
  channels: we,
29432
- data: he
29432
+ data: pe
29433
29433
  });
29434
- }, Y = (we, he) => {
29434
+ }, Y = (we, pe) => {
29435
29435
  const De = a.filter(we);
29436
- return SF(De, he);
29436
+ return SF(De, pe);
29437
29437
  }, ce = (we) => a.getById(we).fold(() => Ln.error(new Error('Could not find component with uid: "' + we + '" in system.')), Ln.value), $e = (we) => {
29438
- const he = R1(we).getOr("not found");
29439
- return ce(he);
29438
+ const pe = R1(we).getOr("not found");
29439
+ return ce(pe);
29440
29440
  };
29441
29441
  return p(t), {
29442
29442
  root: t,
@@ -29590,14 +29590,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
29590
29590
  W(Y, ce, $e, Ws($e, "data-collection-item-value"));
29591
29591
  });
29592
29592
  }, w = (W, Y) => {
29593
- const ce = et(Y, (he) => {
29594
- const De = Fu.translate(he.text), ut = t.columns === 1 ? `<div class="tox-collection__item-label">${De}</div>` : "", Xe = `<div class="tox-collection__item-icon">${g(he.icon)}</div>`, je = {
29593
+ const ce = et(Y, (pe) => {
29594
+ const De = Fu.translate(pe.text), ut = t.columns === 1 ? `<div class="tox-collection__item-label">${De}</div>` : "", Xe = `<div class="tox-collection__item-icon">${g(pe.icon)}</div>`, je = {
29595
29595
  _: " ",
29596
29596
  " - ": " ",
29597
29597
  "-": " "
29598
29598
  }, vt = De.replace(/\_| \- |\-/g, (Vn) => je[Vn]);
29599
- return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${RF.encodeAllRaw(he.value)}" title="${vt}" aria-label="${vt}">${Xe}${ut}</div>`;
29600
- }), $e = t.columns !== "auto" && t.columns > 1 ? pr(ce, t.columns) : [ce], we = et($e, (he) => `<div class="tox-collection__group">${he.join("")}</div>`);
29599
+ return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${RF.encodeAllRaw(pe.value)}" title="${vt}" aria-label="${vt}">${Xe}${ut}</div>`;
29600
+ }), $e = t.columns !== "auto" && t.columns > 1 ? pr(ce, t.columns) : [ce], we = et($e, (pe) => `<div class="tox-collection__group">${pe.join("")}</div>`);
29601
29601
  Kg(W.element, we.join(""));
29602
29602
  }, C = p((W, Y, ce, $e) => {
29603
29603
  Y.stop(), s.isDisabled() || an(W, ug, {
@@ -30303,7 +30303,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30303
30303
  });
30304
30304
  }, vt = t.mouseIsDown.get();
30305
30305
  t.mouseIsDown.set(!1), vt && je();
30306
- }, he = (Xe, je) => {
30306
+ }, pe = (Xe, je) => {
30307
30307
  je.stop(), t.mouseIsDown.set(!0), t.onDragStart(Xe, d(Xe));
30308
30308
  }, De = (Xe, je) => {
30309
30309
  je.stop(), t.onDragEnd(Xe, d(Xe)), we(Xe);
@@ -30340,10 +30340,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30340
30340
  const Vn = g(Xe);
30341
30341
  t.onInit(Xe, Et, Vn, O.value.get());
30342
30342
  }),
30343
- Je(Jc(), he),
30343
+ Je(Jc(), pe),
30344
30344
  Je(Mm(), De),
30345
30345
  Je(no(), (Xe, je) => {
30346
- ut(Xe), he(Xe, je);
30346
+ ut(Xe), pe(Xe, je);
30347
30347
  }),
30348
30348
  Je(S1(), De)
30349
30349
  ]),
@@ -30480,7 +30480,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30480
30480
  validateOnLoad: !1
30481
30481
  }
30482
30482
  }), g = (H, W, Y, ce, $e) => {
30483
- const we = t(oy + "range"), he = Jo.parts.label({
30483
+ const we = t(oy + "range"), pe = Jo.parts.label({
30484
30484
  dom: {
30485
30485
  tag: "label",
30486
30486
  attributes: { "aria-label": ce }
@@ -30502,7 +30502,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30502
30502
  zu.isInvalid(vt) && zu.run(vt).get(fe);
30503
30503
  }
30504
30504
  }), ut = [
30505
- he,
30505
+ pe,
30506
30506
  De
30507
30507
  ], Xe = W !== "hex" ? [Jo.parts["aria-descriptor"]({ text: we })] : [], je = ut.concat(Xe);
30508
30508
  return {
@@ -30551,7 +30551,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30551
30551
  }, $e = () => Y("red").bind((Cn) => Y("green").bind((qo) => Y("blue").map((hn) => qp(Cn, qo, hn, 1)))), we = (Cn) => {
30552
30552
  const qo = Cn.red, hn = Cn.green, _o = Cn.blue;
30553
30553
  ce("red", A.some(qo)), ce("green", A.some(hn)), ce("blue", A.some(_o));
30554
- }, he = (Cn, qo) => {
30554
+ }, pe = (Cn, qo) => {
30555
30555
  const hn = qo.event;
30556
30556
  hn.type !== "hex" ? ce(hn.type, A.none()) : c(Cn);
30557
30557
  }, De = (Cn, qo) => {
@@ -30590,8 +30590,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30590
30590
  zu.config({ invalidClass: s("form-invalid") }),
30591
30591
  Hn("rgb-form-events", [
30592
30592
  Je(LA, je),
30593
- Je(bP, he),
30594
- Je(uf, he)
30593
+ Je(bP, pe),
30594
+ Je(uf, pe)
30595
30595
  ])
30596
30596
  ])
30597
30597
  })), {
@@ -30728,7 +30728,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30728
30728
  }, we = (je, vt) => {
30729
30729
  const Et = Hw(je);
30730
30730
  E.paletteRgba.set(Et), E.paletteHue.set(vt);
30731
- }, he = (je, vt, Et, Vn) => {
30731
+ }, pe = (je, vt, Et, Vn) => {
30732
30732
  we(vt, Et), ht(Vn, (zt) => {
30733
30733
  zt(je, vt, Et);
30734
30734
  });
@@ -30736,7 +30736,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30736
30736
  const je = [Y];
30737
30737
  return (vt, Et) => {
30738
30738
  const Vn = Et.event.value, zt = E.paletteHue.get(), En = zw(zt, Vn.x, 100 - Vn.y), Cn = J$(En);
30739
- he(vt, Cn, zt, je);
30739
+ pe(vt, Cn, zt, je);
30740
30740
  };
30741
30741
  }, ut = () => {
30742
30742
  const je = [
@@ -30745,7 +30745,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30745
30745
  ];
30746
30746
  return (vt, Et) => {
30747
30747
  const Vn = w(Et.event.value), zt = E.paletteRgba.get(), En = C_(zt), Cn = zw(Vn, En.saturation, En.value), qo = J$(Cn);
30748
- he(vt, qo, Vn, je);
30748
+ pe(vt, qo, Vn, je);
30749
30749
  };
30750
30750
  }, Xe = () => {
30751
30751
  const je = [
@@ -30755,7 +30755,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
30755
30755
  ];
30756
30756
  return (vt, Et) => {
30757
30757
  const Vn = Et.event.hex, zt = xL(Vn);
30758
- he(vt, Vn, zt.hue, je);
30758
+ pe(vt, Vn, zt.hue, je);
30759
30759
  };
30760
30760
  };
30761
30761
  return {
@@ -32577,7 +32577,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32577
32577
  O_(t, p(B), B, Y, c, ce, Nc.HighlightMenuAndItem).get(fe);
32578
32578
  }
32579
32579
  }, g = d3(t), p = (B) => (H) => H.map((W) => {
32580
- const Y = Gi(W.menus), ce = _e(Y, (we) => Qn(we.items, (he) => he.type === "item"));
32580
+ const Y = Gi(W.menus), ce = _e(Y, (we) => Qn(we.items, (pe) => pe.type === "item"));
32581
32581
  return Lt.getState(B).update(et(ce, (we) => we.data)), W;
32582
32582
  }), w = (B) => io.getCurrent(B), C = "typeaheadevents", E = [
32583
32583
  xn.config({}),
@@ -32608,11 +32608,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32608
32608
  const ce = w(W).bind((we) => Po.getHighlighted(we).map(Lt.getValue));
32609
32609
  t.previewing.set(!0);
32610
32610
  const $e = (we) => {
32611
- w(W).each((he) => {
32611
+ w(W).each((pe) => {
32612
32612
  ce.fold(() => {
32613
- t.model.selectsOver && Po.highlightFirst(he);
32613
+ t.model.selectsOver && Po.highlightFirst(pe);
32614
32614
  }, (De) => {
32615
- Po.highlightBy(he, (ut) => Lt.getValue(ut).value === De.value), Po.getHighlighted(he).orThunk(() => (Po.highlightFirst(he), A.none()));
32615
+ Po.highlightBy(pe, (ut) => Lt.getValue(ut).value === De.value), Po.getHighlighted(pe).orThunk(() => (Po.highlightFirst(pe), A.none()));
32616
32616
  });
32617
32617
  });
32618
32618
  };
@@ -32860,12 +32860,12 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32860
32860
  }) : s === "submit" ? go(a, Kw) : s === "cancel" ? go(a, Jp) : console.error("Unknown button type: ", s);
32861
32861
  }, HH = (t, s) => s === "menu", VH = (t, s) => s === "custom" || s === "cancel" || s === "submit", zH = (t, s) => s === "togglebutton", UH = (t, s) => {
32862
32862
  var a, c;
32863
- const d = t.icon.map((he) => o1(he, s.icons)).map(Xo), g = (he) => {
32864
- an(he, ug, {
32863
+ const d = t.icon.map((pe) => o1(pe, s.icons)).map(Xo), g = (pe) => {
32864
+ an(pe, ug, {
32865
32865
  name: t.name,
32866
32866
  value: {
32867
32867
  setIcon: (De) => {
32868
- d.map((ut) => ut.getOpt(he).each((Xe) => {
32868
+ d.map((ut) => ut.getOpt(pe).each((Xe) => {
32869
32869
  Bn.set(Xe, [o1(De, s.icons)]);
32870
32870
  }));
32871
32871
  }
@@ -32878,9 +32878,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32878
32878
  tooltip: A.from(t.tooltip),
32879
32879
  enabled: (c = t.enabled) !== null && c !== void 0 ? c : !1,
32880
32880
  borderless: !1
32881
- }, C = w.tooltip.map((he) => ({
32882
- "aria-label": s.translate(he),
32883
- title: s.translate(he)
32881
+ }, C = w.tooltip.map((pe) => ({
32882
+ "aria-label": s.translate(pe),
32883
+ title: s.translate(pe)
32884
32884
  })).getOr({}), E = mD(p ?? "secondary"), O = t.icon.isSome() && t.text.isSome(), B = {
32885
32885
  tag: "button",
32886
32886
  classes: [
@@ -32890,7 +32890,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32890
32890
  ],
32891
32891
  attributes: C
32892
32892
  }, H = [], W = s.translate(t.text.getOr("")), Y = Sr(W), $e = [
32893
- ...jv([d.map((he) => he.asSpec())]),
32893
+ ...jv([d.map((pe) => pe.asSpec())]),
32894
32894
  ...t.text.isSome() ? [Y] : []
32895
32895
  ], we = ik(w, A.some(g), H, B, $e, s);
32896
32896
  return Ya.sketch(we);
@@ -32959,11 +32959,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32959
32959
  ]) : E;
32960
32960
  });
32961
32961
  }, hD = Ut("aria-invalid"), vN = (t, s, a, c) => {
32962
- const d = s.shared.providers, g = (he) => {
32963
- const De = Lt.getValue(he);
32962
+ const d = s.shared.providers, g = (pe) => {
32963
+ const De = Lt.getValue(pe);
32964
32964
  a.addToHistory(De.value, t.filetype);
32965
32965
  }, p = {
32966
- ...c.map((he) => ({ initialData: he })).getOr({}),
32966
+ ...c.map((pe) => ({ initialData: pe })).getOr({}),
32967
32967
  dismissOnBlur: !0,
32968
32968
  inputClasses: ["tox-textfield"],
32969
32969
  sandboxClasses: ["tox-dialog__popups"],
@@ -32973,19 +32973,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32973
32973
  },
32974
32974
  minChars: 0,
32975
32975
  responseTime: 0,
32976
- fetch: (he) => {
32977
- const De = QH(t.filetype, he, a), ut = ly(De, af.BUBBLE_TO_SANDBOX, s, {
32976
+ fetch: (pe) => {
32977
+ const De = QH(t.filetype, pe, a), ut = ly(De, af.BUBBLE_TO_SANDBOX, s, {
32978
32978
  isHorizontalMenu: !1,
32979
32979
  search: A.none()
32980
32980
  });
32981
32981
  return ec.pure(ut);
32982
32982
  },
32983
- getHotspot: (he) => Y.getOpt(he),
32984
- onSetValue: (he, De) => {
32985
- he.hasConfigured(zu) && zu.run(he).get(fe);
32983
+ getHotspot: (pe) => Y.getOpt(pe),
32984
+ onSetValue: (pe, De) => {
32985
+ pe.hasConfigured(zu) && zu.run(pe).get(fe);
32986
32986
  },
32987
32987
  typeaheadBehaviours: wt([
32988
- ...a.getValidationHandler().map((he) => zu.config({
32988
+ ...a.getValidationHandler().map((pe) => zu.config({
32989
32989
  getRoot: (De) => Vl(De.element),
32990
32990
  invalidClass: "tox-control-wrap--status-invalid",
32991
32991
  notify: {
@@ -32999,7 +32999,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
32999
32999
  validate: (De) => {
33000
33000
  const ut = Lt.getValue(De);
33001
33001
  return LH.nu((Xe) => {
33002
- he({
33002
+ pe({
33003
33003
  type: t.filetype,
33004
33004
  url: ut.value
33005
33005
  }, (je) => {
@@ -33019,15 +33019,15 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33019
33019
  yn.config({ disabled: () => !t.enabled || d.isDisabled() }),
33020
33020
  Ys.config({}),
33021
33021
  Hn("urlinput-events", [
33022
- Je(Zg(), (he) => {
33023
- const De = Wd(he.element), ut = De.trim();
33024
- ut !== De && sp(he.element, ut), t.filetype === "file" && an(he, Ni, { name: t.name });
33022
+ Je(Zg(), (pe) => {
33023
+ const De = Wd(pe.element), ut = De.trim();
33024
+ ut !== De && sp(pe.element, ut), t.filetype === "file" && an(pe, Ni, { name: t.name });
33025
33025
  }),
33026
- Je(Wh(), (he) => {
33027
- an(he, Ni, { name: t.name }), g(he);
33026
+ Je(Wh(), (pe) => {
33027
+ an(pe, Ni, { name: t.name }), g(pe);
33028
33028
  }),
33029
- Je(Gg(), (he) => {
33030
- an(he, Ni, { name: t.name }), g(he);
33029
+ Je(Gg(), (pe) => {
33030
+ an(pe, Ni, { name: t.name }), g(pe);
33031
33031
  })
33032
33032
  ])
33033
33033
  ]),
@@ -33039,27 +33039,27 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33039
33039
  ]
33040
33040
  },
33041
33041
  model: {
33042
- getDisplayText: (he) => he.value,
33042
+ getDisplayText: (pe) => pe.value,
33043
33043
  selectsOver: !1,
33044
33044
  populateFromBrowse: !1
33045
33045
  },
33046
33046
  markers: { openClass: "tox-textfield--popup-open" },
33047
33047
  lazySink: s.shared.getSink,
33048
33048
  parts: { menu: Fv(!1, 1, "normal") },
33049
- onExecute: (he, De, ut) => {
33049
+ onExecute: (pe, De, ut) => {
33050
33050
  an(De, Kw, {});
33051
33051
  },
33052
- onItemExecute: (he, De, ut, Xe) => {
33053
- g(he), an(he, Ni, { name: t.name });
33052
+ onItemExecute: (pe, De, ut, Xe) => {
33053
+ g(pe), an(pe, Ni, { name: t.name });
33054
33054
  }
33055
33055
  }, w = Jo.parts.field({
33056
33056
  ...p,
33057
33057
  factory: iN
33058
- }), C = t.label.map((he) => xd(he, d)), O = Xo(((he, De, ut = he, Xe = he) => om(ut, {
33058
+ }), C = t.label.map((pe) => xd(pe, d)), O = Xo(((pe, De, ut = pe, Xe = pe) => om(ut, {
33059
33059
  tag: "div",
33060
33060
  classes: [
33061
33061
  "tox-icon",
33062
- "tox-control-wrap__status-icon-" + he
33062
+ "tox-control-wrap__status-icon-" + pe
33063
33063
  ],
33064
33064
  attributes: {
33065
33065
  title: d.translate(Xe),
@@ -33090,7 +33090,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33090
33090
  primary: !1,
33091
33091
  buttonType: A.none(),
33092
33092
  borderless: !0
33093
- }, (he) => go(he, W), d, [], ["tox-browse-url"])), $e = () => ({
33093
+ }, (pe) => go(pe, W), d, [], ["tox-browse-url"])), $e = () => ({
33094
33094
  dom: {
33095
33095
  tag: "div",
33096
33096
  classes: ["tox-form__controls-h-stack"]
@@ -33099,15 +33099,15 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33099
33099
  [Y.asSpec()],
33100
33100
  H.map(() => ce.asSpec()).toArray()
33101
33101
  ])
33102
- }), we = (he) => {
33103
- io.getCurrent(he).each((De) => {
33102
+ }), we = (pe) => {
33103
+ io.getCurrent(pe).each((De) => {
33104
33104
  const ut = Lt.getValue(De), Xe = {
33105
33105
  fieldname: t.name,
33106
33106
  ...ut
33107
33107
  };
33108
33108
  H.each((je) => {
33109
33109
  je(Xe).get((vt) => {
33110
- Lt.setValue(De, vt), an(he, Ni, { name: t.name });
33110
+ Lt.setValue(De, vt), an(pe, Ni, { name: t.name });
33111
33111
  });
33112
33112
  });
33113
33113
  });
@@ -33118,11 +33118,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33118
33118
  fieldBehaviours: wt([
33119
33119
  yn.config({
33120
33120
  disabled: () => !t.enabled || d.isDisabled(),
33121
- onDisabled: (he) => {
33122
- Jo.getField(he).each(yn.disable), ce.getOpt(he).each(yn.disable);
33121
+ onDisabled: (pe) => {
33122
+ Jo.getField(pe).each(yn.disable), ce.getOpt(pe).each(yn.disable);
33123
33123
  },
33124
- onEnabled: (he) => {
33125
- Jo.getField(he).each(yn.enable), ce.getOpt(he).each(yn.enable);
33124
+ onEnabled: (pe) => {
33125
+ Jo.getField(pe).each(yn.enable), ce.getOpt(pe).each(yn.enable);
33126
33126
  }
33127
33127
  }),
33128
33128
  ka(),
@@ -33821,7 +33821,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33821
33821
  });
33822
33822
  }, ce = (je) => c(Fd(), b2(je)), $e = (je) => {
33823
33823
  d(ih(), {}), c(ad(), b2(je));
33824
- }, we = Ne(Te.fromDom(t.getElement())), he = Gb(we, "scroll", (je) => {
33824
+ }, we = Ne(Te.fromDom(t.getElement())), pe = Gb(we, "scroll", (je) => {
33825
33825
  requestAnimationFrame(() => {
33826
33826
  const vt = t.getContainer();
33827
33827
  if (vt != null) {
@@ -33840,7 +33840,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
33840
33840
  t.on("PostRender", () => {
33841
33841
  t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", Y), t.on("ScrollWindow", ce), t.on("ResizeWindow", $e), t.on("ResizeEditor", De), t.on("AfterProgressState", ut), t.on("DismissPopups", Xe);
33842
33842
  }), t.on("remove", () => {
33843
- t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", Y), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor", De), t.off("AfterProgressState", ut), t.off("DismissPopups", Xe), O.unbind(), w.unbind(), C.unbind(), E.unbind(), B.unbind(), he.unbind();
33843
+ t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", Y), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor", De), t.off("AfterProgressState", ut), t.off("DismissPopups", Xe), O.unbind(), w.unbind(), C.unbind(), E.unbind(), B.unbind(), pe.unbind();
33844
33844
  }), t.on("detach", () => {
33845
33845
  ht([
33846
33846
  s,
@@ -34474,8 +34474,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
34474
34474
  }));
34475
34475
  return nw(fB, uz, d, mz, a);
34476
34476
  }, mz = (t, s) => {
34477
- const a = (ce) => J2(t), c = (ce, $e) => Cs(ce, t, $e), d = (ce, $e) => (we, he) => Cs(we, t, he).map((De) => ce(De, he)).getOr($e), g = (ce) => ($e, we) => {
34478
- ht(we, (he) => ce($e, he));
34477
+ const a = (ce) => J2(t), c = (ce, $e) => Cs(ce, t, $e), d = (ce, $e) => (we, pe) => Cs(we, t, pe).map((De) => ce(De, pe)).getOr($e), g = (ce) => ($e, we) => {
34478
+ ht(we, (pe) => ce($e, pe));
34479
34479
  }, p = (ce, $e) => Ws(ce.element, "aria-hidden") !== "true", w = (ce, $e) => {
34480
34480
  if (!p(ce)) {
34481
34481
  const we = ce.element;
@@ -35410,8 +35410,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
35410
35410
  tag: "button",
35411
35411
  classes: E.concat(...t.icon.isSome() && !ce ? ["tox-button--icon"] : []).concat(...ce ? ["tox-button--icon-and-text"] : []).concat(...t.borderless ? ["tox-button--naked"] : []).concat(...t.type === "togglebutton" && t.active ? ["tox-button--enabled"] : []),
35412
35412
  attributes: H
35413
- }, we = [], he = ik(C, A.some(w), we, $e, Y, s);
35414
- return Ya.sketch(he);
35413
+ }, we = [], pe = ik(C, A.some(w), we, $e, Y, s);
35414
+ return Ya.sketch(pe);
35415
35415
  }, nO = (t, s) => Zz(t, s), my = (t, s) => ({
35416
35416
  dom: {
35417
35417
  tag: "div",
@@ -36234,19 +36234,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36234
36234
  pageDown: oe(34)
36235
36235
  }, DU = (t, s, a) => {
36236
36236
  let c = A.none();
36237
- const d = (he) => he.map((De) => Lt.getValue(De)).getOr(""), g = am(t, "NodeChange SwitchMode", (he) => {
36238
- const De = he.getComponent();
36237
+ const d = (pe) => pe.map((De) => Lt.getValue(De)).getOr(""), g = am(t, "NodeChange SwitchMode", (pe) => {
36238
+ const De = pe.getComponent();
36239
36239
  c = A.some(De), a.updateInputValue(De), yn.set(De, !t.selection.isEditable());
36240
- }), p = (he) => ({ getComponent: oe(he) }), w = un(fe), C = Ut("custom-number-input-events"), E = (he, De, ut) => {
36241
- const Xe = d(c), je = a.getNewValue(Xe, he), vt = Xe.length - `${je}`.length, Et = c.map((zt) => zt.element.dom.selectionStart - vt), Vn = c.map((zt) => zt.element.dom.selectionEnd - vt);
36240
+ }), p = (pe) => ({ getComponent: oe(pe) }), w = un(fe), C = Ut("custom-number-input-events"), E = (pe, De, ut) => {
36241
+ const Xe = d(c), je = a.getNewValue(Xe, pe), vt = Xe.length - `${je}`.length, Et = c.map((zt) => zt.element.dom.selectionStart - vt), Vn = c.map((zt) => zt.element.dom.selectionEnd - vt);
36242
36242
  a.onAction(je, ut), c.each((zt) => {
36243
36243
  Lt.setValue(zt, je), De && (Et.each((En) => zt.element.dom.selectionStart = En), Vn.each((En) => zt.element.dom.selectionEnd = En));
36244
36244
  });
36245
- }, O = (he, De) => E((ut, Xe) => ut - Xe, he, De), B = (he, De) => E((ut, Xe) => ut + Xe, he, De), H = (he) => Vl(he.element).fold(A.none, (De) => (Oc(De), A.some(!0))), W = (he) => U1(he.element) ? (hi(he.element).each((De) => Oc(De)), A.some(!0)) : A.none(), Y = (he, De, ut, Xe) => {
36245
+ }, O = (pe, De) => E((ut, Xe) => ut - Xe, pe, De), B = (pe, De) => E((ut, Xe) => ut + Xe, pe, De), H = (pe) => Vl(pe.element).fold(A.none, (De) => (Oc(De), A.some(!0))), W = (pe) => U1(pe.element) ? (hi(pe.element).each((De) => Oc(De)), A.some(!0)) : A.none(), Y = (pe, De, ut, Xe) => {
36246
36246
  const je = un(fe), vt = s.shared.providers.translate(ut), Et = Ut("altExecuting"), Vn = am(t, "NodeChange SwitchMode", (En) => {
36247
36247
  yn.set(En.getComponent(), !t.selection.isEditable());
36248
36248
  }), zt = (En) => {
36249
- yn.isDisabled(En) || he(!0);
36249
+ yn.isDisabled(En) || pe(!0);
36250
36250
  };
36251
36251
  return Ya.sketch({
36252
36252
  dom: {
@@ -36267,7 +36267,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36267
36267
  }, je),
36268
36268
  lg({ getApi: p }, je),
36269
36269
  Je(Du(), (En, Cn) => {
36270
- (Cn.event.raw.keyCode === l6.space() || Cn.event.raw.keyCode === l6.enter()) && (yn.isDisabled(En) || he(!1));
36270
+ (Cn.event.raw.keyCode === l6.space() || Cn.event.raw.keyCode === l6.enter()) && (yn.isDisabled(En) || pe(!1));
36271
36271
  }),
36272
36272
  Je(Nm(), zt),
36273
36273
  Je(Mm(), zt)
@@ -36288,7 +36288,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36288
36288
  ]
36289
36289
  }
36290
36290
  });
36291
- }, ce = Xo(Y((he) => O(!1, he), "minus", "Decrease font size", [])), $e = Xo(Y((he) => B(!1, he), "plus", "Increase font size", [])), we = Xo({
36291
+ }, ce = Xo(Y((pe) => O(!1, pe), "minus", "Decrease font size", [])), $e = Xo(Y((pe) => B(!1, pe), "plus", "Increase font size", [])), we = Xo({
36292
36292
  dom: {
36293
36293
  tag: "div",
36294
36294
  classes: ["tox-input-wrapper"]
@@ -36304,24 +36304,24 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36304
36304
  lg({ getApi: p }, w)
36305
36305
  ]),
36306
36306
  Hn("input-update-display-text", [
36307
- Je(Uu, (he, De) => {
36308
- Lt.setValue(he, De.event.text);
36307
+ Je(Uu, (pe, De) => {
36308
+ Lt.setValue(pe, De.event.text);
36309
36309
  }),
36310
- Je(Pm(), (he) => {
36311
- a.onAction(Lt.getValue(he));
36310
+ Je(Pm(), (pe) => {
36311
+ a.onAction(Lt.getValue(pe));
36312
36312
  }),
36313
- Je(Wh(), (he) => {
36314
- a.onAction(Lt.getValue(he));
36313
+ Je(Wh(), (pe) => {
36314
+ a.onAction(Lt.getValue(pe));
36315
36315
  })
36316
36316
  ]),
36317
36317
  ln.config({
36318
36318
  mode: "special",
36319
- onEnter: (he) => (E(Pn, !0, !0), A.some(!0)),
36319
+ onEnter: (pe) => (E(Pn, !0, !0), A.some(!0)),
36320
36320
  onEscape: H,
36321
- onUp: (he) => (B(!0, !1), A.some(!0)),
36322
- onDown: (he) => (O(!0, !1), A.some(!0)),
36323
- onLeft: (he, De) => (De.cut(), A.none()),
36324
- onRight: (he, De) => (De.cut(), A.none())
36321
+ onUp: (pe) => (B(!0, !1), A.some(!0)),
36322
+ onDown: (pe) => (O(!0, !1), A.some(!0)),
36323
+ onLeft: (pe, De) => (De.cut(), A.none()),
36324
+ onRight: (pe, De) => (De.cut(), A.none())
36325
36325
  })
36326
36326
  ])
36327
36327
  })],
@@ -36333,12 +36333,12 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36333
36333
  onSpace: W,
36334
36334
  onEscape: H
36335
36335
  }),
36336
- Hn("input-wrapper-events", [Je(od(), (he) => {
36336
+ Hn("input-wrapper-events", [Je(od(), (pe) => {
36337
36337
  ht([
36338
36338
  ce,
36339
36339
  $e
36340
36340
  ], (De) => {
36341
- const ut = Te.fromDom(De.get(he).element.dom);
36341
+ const ut = Te.fromDom(De.get(pe).element.dom);
36342
36342
  U1(ut) && gp(ut);
36343
36343
  });
36344
36344
  })])
@@ -36361,7 +36361,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
36361
36361
  focusInside: h.OnEnterOrSpaceMode,
36362
36362
  cycles: !1,
36363
36363
  selector: "button, .tox-input-wrapper",
36364
- onEscape: (he) => U1(he.element) ? A.none() : (Oc(he.element), A.some(!0))
36364
+ onEscape: (pe) => U1(pe.element) ? A.none() : (Oc(pe.element), A.some(!0))
36365
36365
  })
36366
36366
  ])
36367
36367
  };
@@ -37057,8 +37057,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37057
37057
  }), t.addCommand("ToggleView", (ce, $e) => {
37058
37058
  if (Ds.toggleView(C, $e)) {
37059
37059
  const we = C.element;
37060
- g.mothership.broadcastOn([fd()], { target: we }), ht(p, (he) => {
37061
- he.broadcastOn([fd()], { target: we });
37060
+ g.mothership.broadcastOn([fd()], { target: we }), ht(p, (pe) => {
37061
+ pe.broadcastOn([fd()], { target: we });
37062
37062
  }), wn(Ds.whichView(C)) && (t.focus(), t.nodeChanged(), Ds.refreshToolbar(C));
37063
37063
  }
37064
37064
  }), t.addQueryValueHandler("ToggleView", () => {
@@ -37095,7 +37095,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37095
37095
  const s = Tw(t), a = U4(t), c = jS(t);
37096
37096
  return vO(s).map((d) => jk(d, a, c));
37097
37097
  }, rW = (t) => E6(t).getOr(Tw(t)), { ToolbarLocation: K0, ToolbarMode: A6 } = xI, aW = 40, lW = (t, s, a, c, d) => {
37098
- const { mainUi: g, uiMotherships: p } = a, w = R0.DOM, C = Iv(t), E = Dw(t), O = jS(t).or(E6(t)), B = c.shared.header, H = B.isPositionedAtTop, W = Pv(t), Y = W === A6.sliding || W === A6.floating, ce = un(!1), $e = () => ce.get() && !t.removed, we = (hn) => Y ? hn.fold(oe(0), (_o) => _o.components().length > 1 ? Vs(_o.components()[1].element) : 0) : 0, he = (hn) => {
37098
+ const { mainUi: g, uiMotherships: p } = a, w = R0.DOM, C = Iv(t), E = Dw(t), O = jS(t).or(E6(t)), B = c.shared.header, H = B.isPositionedAtTop, W = Pv(t), Y = W === A6.sliding || W === A6.floating, ce = un(!1), $e = () => ce.get() && !t.removed, we = (hn) => Y ? hn.fold(oe(0), (_o) => _o.components().length > 1 ? Vs(_o.components()[1].element) : 0) : 0, pe = (hn) => {
37099
37099
  switch (Ew(t)) {
37100
37100
  case K0.auto:
37101
37101
  const _o = Ds.getToolbar(g.outerContainer), At = we(_o), Yt = Vs(hn.element) - At, An = Gs(s);
@@ -37170,7 +37170,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37170
37170
  const _o = C ? A.none() : Et();
37171
37171
  Y && Ds.refreshToolbar(g.outerContainer), C || Xe(_o), E && d.on(hn), vt();
37172
37172
  }, zt = () => C || !E || !$e() ? !1 : d.get().exists((hn) => {
37173
- const _o = B.getDockingMode(), At = he(hn);
37173
+ const _o = B.getDockingMode(), At = pe(hn);
37174
37174
  return At !== _o ? (De(At), !0) : !1;
37175
37175
  });
37176
37176
  return {
@@ -37658,7 +37658,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37658
37658
  })
37659
37659
  ])
37660
37660
  ])
37661
- }), he = Zs(() => F6(s, (zt) => {
37661
+ }), pe = Zs(() => F6(s, (zt) => {
37662
37662
  const En = Xe([zt]);
37663
37663
  an(O, H6, { forwardContents: we(En) });
37664
37664
  })), De = (zt, En) => Uk(t, {
@@ -37666,7 +37666,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37666
37666
  toolbar: En.items,
37667
37667
  allowToolbarGroups: !1
37668
37668
  }, c.backstage, A.some(["form:"])), ut = (zt, En) => bW.buildInitGroups(zt, En), Xe = (zt) => {
37669
- const { buttons: En } = t.ui.registry.getAll(), Cn = he(), qo = {
37669
+ const { buttons: En } = t.ui.registry.getAll(), Cn = pe(), qo = {
37670
37670
  ...En,
37671
37671
  ...Cn.formNavigators
37672
37672
  }, hn = Pv(t) === gu.scrolling ? gu.scrolling : gu.default, _o = Ke(et(zt, (At) => At.type === "contexttoolbar" ? De(qo, At) : ut(At, g.providers)));
@@ -37705,7 +37705,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37705
37705
  if (sa(O.element, Xk))
37706
37706
  Vn.throttle();
37707
37707
  else {
37708
- const zt = he();
37708
+ const zt = pe();
37709
37709
  Yk(zt, t).fold(ce, (En) => {
37710
37710
  vt(En.toolbars, A.some(En.elem));
37711
37711
  });
@@ -37713,7 +37713,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
37713
37713
  }, 17);
37714
37714
  t.on("init", () => {
37715
37715
  t.on("remove", ce), t.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", $e), t.on("click keyup focus SetContent", Vn.throttle), t.on(D6, ce), t.on(mW, (zt) => {
37716
- const En = he();
37716
+ const En = pe();
37717
37717
  pt(En.lookupTable, zt.toolbarKey).each((Cn) => {
37718
37718
  vt([Cn], gn(zt.target !== t, zt.target)), lr.getContent(O).each(ln.focusIn);
37719
37719
  });
@@ -38877,10 +38877,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
38877
38877
  fo(vt.element, "display");
38878
38878
  const Cn = Fl(Te.fromDom(t.getBody())).dom.innerHeight, qo = Vn(En), hn = zt(En, Cn);
38879
38879
  (qo || hn) && Gt(vt.element, "display", "none");
38880
- }, he = (vt, Et, Vn, zt) => {
38880
+ }, pe = (vt, Et, Vn, zt) => {
38881
38881
  const En = Vn(Et);
38882
38882
  Q0.snapTo(vt, En), we(vt, Et, (hn) => hn[zt] < 0, (hn, _o) => hn[zt] > _o);
38883
- }, De = (vt) => he(ce, vt, w, "top"), ut = () => g.get().each(De), Xe = (vt) => he($e, vt, E, "bottom"), je = () => p.get().each(Xe);
38883
+ }, De = (vt) => pe(ce, vt, w, "top"), ut = () => g.get().each(De), Xe = (vt) => pe($e, vt, E, "bottom"), je = () => p.get().each(Xe);
38884
38884
  yi().deviceType.isTouch() && (t.on("TableSelectionChange", (vt) => {
38885
38885
  d.get() || (Kf(s, ce), Kf(s, $e), d.set(!0)), g.set(vt.start), p.set(vt.finish), vt.otherCells.each((Et) => {
38886
38886
  a.set(Et.upOrLeftCells), c.set(Et.downOrRightCells), De(vt.start), Xe(vt.finish);
@@ -39164,9 +39164,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
39164
39164
  tag: "div",
39165
39165
  classes: ["tox-bottom-anchorbar"]
39166
39166
  }
39167
- }), we = () => g.mainUi.get().map((bn) => bn.outerContainer).bind(Ds.getHeader), he = () => Ln.fromOption(g.dialogUi.get().map((bn) => bn.sink), "UI has not been rendered"), De = () => Ln.fromOption(g.popupUi.get().map((bn) => bn.sink), "(popup) UI has not been rendered"), ut = g.lazyGetInOuterOrDie("anchor bar", ce.getOpt), Xe = g.lazyGetInOuterOrDie("bottom anchor bar", $e.getOpt), je = g.lazyGetInOuterOrDie("toolbar", Ds.getToolbar), vt = g.lazyGetInOuterOrDie("throbber", Ds.getThrobber), Et = uy({
39167
+ }), we = () => g.mainUi.get().map((bn) => bn.outerContainer).bind(Ds.getHeader), pe = () => Ln.fromOption(g.dialogUi.get().map((bn) => bn.sink), "UI has not been rendered"), De = () => Ln.fromOption(g.popupUi.get().map((bn) => bn.sink), "(popup) UI has not been rendered"), ut = g.lazyGetInOuterOrDie("anchor bar", ce.getOpt), Xe = g.lazyGetInOuterOrDie("bottom anchor bar", $e.getOpt), je = g.lazyGetInOuterOrDie("toolbar", Ds.getToolbar), vt = g.lazyGetInOuterOrDie("throbber", Ds.getThrobber), Et = uy({
39168
39168
  popup: De,
39169
- dialog: he
39169
+ dialog: pe
39170
39170
  }, t, ut, Xe), Vn = () => {
39171
39171
  const bn = { attributes: { [vp]: W ? uu.BottomToTop : uu.TopToBottom } }, In = Ds.parts.menubar({
39172
39172
  dom: {
@@ -40764,7 +40764,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40764
40764
  ce.getSystem().isConnected() && Y(ce);
40765
40765
  }, W = {
40766
40766
  getData: () => {
40767
- const Y = t.getRoot(), ce = Y.getSystem().isConnected() ? t.getFormWrapper() : Y, $e = Lt.getValue(ce), we = Go(a, (he) => he.get());
40767
+ const Y = t.getRoot(), ce = Y.getSystem().isConnected() ? t.getFormWrapper() : Y, $e = Lt.getValue(ce), we = Go(a, (pe) => pe.get());
40768
40768
  return {
40769
40769
  ...$e,
40770
40770
  ...we
@@ -40772,8 +40772,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40772
40772
  },
40773
40773
  setData: (Y) => {
40774
40774
  c((ce) => {
40775
- const $e = W.getData(), we = Uo($e, Y), he = pm(t, we), De = t.getFormWrapper();
40776
- Lt.setValue(De, he), us(a, (ut, Xe) => {
40775
+ const $e = W.getData(), we = Uo($e, Y), pe = pm(t, we), De = t.getFormWrapper();
40776
+ Lt.setValue(De, pe), us(a, (ut, Xe) => {
40777
40777
  mo(we, Xe) && ut.set(we[Xe]);
40778
40778
  });
40779
40779
  });
@@ -40799,17 +40799,17 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40799
40799
  showTab: (Y) => {
40800
40800
  c((ce) => {
40801
40801
  const $e = t.getBody();
40802
- Zn.getState($e).get().exists((he) => he.isTabPanel()) && io.getCurrent($e).each((he) => {
40803
- Xs.showTab(he, Y);
40802
+ Zn.getState($e).get().exists((pe) => pe.isTabPanel()) && io.getCurrent($e).each((pe) => {
40803
+ Xs.showTab(pe, Y);
40804
40804
  });
40805
40805
  });
40806
40806
  },
40807
40807
  redial: (Y) => {
40808
40808
  c((ce) => {
40809
- const $e = t.getId(), we = s(Y), he = pT(we.internalDialog.buttons, a);
40809
+ const $e = t.getId(), we = s(Y), pe = pT(we.internalDialog.buttons, a);
40810
40810
  ce.getSystem().broadcastOn([`${ry}-${$e}`], we), ce.getSystem().broadcastOn([`${fg}-${$e}`], we.internalDialog), ce.getSystem().broadcastOn([`${Q_}-${$e}`], we.internalDialog), ce.getSystem().broadcastOn([`${WA}-${$e}`], {
40811
40811
  ...we.internalDialog,
40812
- buttons: he
40812
+ buttons: pe
40813
40813
  }), W.setData(we.initialData);
40814
40814
  });
40815
40815
  },
@@ -40822,7 +40822,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40822
40822
  };
40823
40823
  return W;
40824
40824
  }, yj = (t, s, a) => {
40825
- const c = Ut("dialog"), d = t.internalDialog, g = _t(d.title, c, a), p = un(d.size), w = Ja(p.get()).toArray(), C = (he, De) => (p.set(De.internalDialog.size), h1(De.internalDialog.size, he), A.some(De)), E = Hx({
40825
+ const c = Ut("dialog"), d = t.internalDialog, g = _t(d.title, c, a), p = un(d.size), w = Ja(p.get()).toArray(), C = (pe, De) => (p.set(De.internalDialog.size), h1(De.internalDialog.size, pe), A.some(De)), E = Hx({
40826
40826
  body: d.body,
40827
40827
  initialData: d.initialData
40828
40828
  }, c, a), O = pT(d.buttons), B = KO(O), H = gn(O.length !== 0, Td({ buttons: O }, c, a)), W = to(() => we, sn(() => ce, a.shared.providers, s), a.shared.getSink), Y = {
@@ -40838,7 +40838,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40838
40838
  })],
40839
40839
  extraStyles: {}
40840
40840
  }, ce = qO(Y, W, a), $e = (() => {
40841
- const he = () => {
40841
+ const pe = () => {
40842
40842
  const ut = Gr.getBody(ce);
40843
40843
  return io.getCurrent(ut).getOr(ut);
40844
40844
  }, De = () => {
@@ -40849,7 +40849,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
40849
40849
  getRoot: oe(ce),
40850
40850
  getBody: () => Gr.getBody(ce),
40851
40851
  getFooter: () => Gr.getFooter(ce),
40852
- getFormWrapper: he,
40852
+ getFormWrapper: pe,
40853
40853
  toggleFullscreen: De
40854
40854
  };
40855
40855
  })(), we = bT($e, s.redial, B);
@@ -41006,7 +41006,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41006
41006
  break;
41007
41007
  }
41008
41008
  }, iq = (t, s, a, c) => {
41009
- const d = Ut("dialog"), g = _t(t.title, d, c), p = Cy(t), w = t.buttons.bind((De) => De.length === 0 ? A.none() : A.some(Td({ buttons: De }, d, c))), C = vj(() => he, sn(() => we, c.shared.providers, s)), E = {
41009
+ const d = Ut("dialog"), g = _t(t.title, d, c), p = Cy(t), w = t.buttons.bind((De) => De.length === 0 ? A.none() : A.some(Td({ buttons: De }, d, c))), C = vj(() => pe, sn(() => we, c.shared.providers, s)), E = {
41010
41010
  ...t.height.fold(() => ({}), (De) => ({
41011
41011
  height: De + "px",
41012
41012
  "max-height": De + "px"
@@ -41026,7 +41026,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41026
41026
  const De = Xl(Te.fromDom(window), "message", (ut) => {
41027
41027
  if (B.isSameOrigin(new I8(ut.raw.origin))) {
41028
41028
  const Xe = ut.raw.data;
41029
- RG(Xe) ? cq(a, he, Xe) : lq(Xe) && t.onMessage(he, Xe);
41029
+ RG(Xe) ? cq(a, pe, Xe) : lq(Xe) && t.onMessage(pe, Xe);
41030
41030
  }
41031
41031
  });
41032
41032
  W.set(De);
@@ -41053,10 +41053,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41053
41053
  extraClasses: O,
41054
41054
  extraBehaviours: ce,
41055
41055
  extraStyles: E
41056
- }, C, c), he = rq(we);
41056
+ }, C, c), pe = rq(we);
41057
41057
  return {
41058
41058
  dialog: we,
41059
- instanceApi: he
41059
+ instanceApi: pe
41060
41060
  };
41061
41061
  }, uq = (t) => {
41062
41062
  const s = t.shared;
@@ -41161,17 +41161,17 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41161
41161
  return C(Y, $e);
41162
41162
  }, p = (Y, ce) => w(Y, ce), w = (Y, ce) => {
41163
41163
  const $e = (we) => {
41164
- const he = iq(we, {
41164
+ const pe = iq(we, {
41165
41165
  closeWindow: () => {
41166
- Gr.hide(he.dialog), ce(he.instanceApi);
41166
+ Gr.hide(pe.dialog), ce(pe.instanceApi);
41167
41167
  }
41168
41168
  }, s, t.backstages.dialog);
41169
- return Gr.show(he.dialog), he.instanceApi;
41169
+ return Gr.show(pe.dialog), pe.instanceApi;
41170
41170
  };
41171
41171
  return Wn.openUrl($e, Y);
41172
41172
  }, C = (Y, ce) => {
41173
- const $e = (we, he, De) => {
41174
- const ut = he, je = yj({
41173
+ const $e = (we, pe, De) => {
41174
+ const ut = pe, je = yj({
41175
41175
  dataValidator: De,
41176
41176
  initialData: ut,
41177
41177
  internalDialog: we
@@ -41185,7 +41185,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41185
41185
  };
41186
41186
  return Wn.open($e, Y);
41187
41187
  }, E = (Y, ce, $e, we) => {
41188
- const he = (De, ut, Xe) => {
41188
+ const pe = (De, ut, Xe) => {
41189
41189
  const je = $G(ut, Xe), vt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
41190
41190
  dataValidator: Xe,
41191
41191
  initialData: je,
@@ -41220,9 +41220,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41220
41220
  };
41221
41221
  return lr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ce }, qo), (!a || !Et) && (er.refresh(Cn), s.on("ResizeEditor", zt)), En.instanceApi.setData(je), ln.focusIn(En.dialog), En.instanceApi;
41222
41222
  };
41223
- return Wn.open(he, Y);
41223
+ return Wn.open(pe, Y);
41224
41224
  }, O = (Y, ce, $e, we) => {
41225
- const he = (De, ut, Xe) => {
41225
+ const pe = (De, ut, Xe) => {
41226
41226
  const je = $G(ut, Xe), vt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
41227
41227
  dataValidator: Xe,
41228
41228
  initialData: je,
@@ -41278,7 +41278,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41278
41278
  });
41279
41279
  return lr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ce }, qo), er.refresh(Cn), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", zt), En.instanceApi.setData(je), ln.focusIn(En.dialog), En.instanceApi;
41280
41280
  };
41281
- return Wn.open(he, Y);
41281
+ return Wn.open(pe, Y);
41282
41282
  };
41283
41283
  return {
41284
41284
  open: g,
@@ -41335,7 +41335,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
41335
41335
  }, re = (i) => {
41336
41336
  const m = typeof i;
41337
41337
  return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && me(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
41338
- }, Ee = (i) => (m) => re(m) === i, pe = (i) => (m) => typeof m === i, J = (i) => (m) => i === m, Oe = Ee("string"), Q = Ee("object"), He = Ee("array"), gt = J(null), jt = pe("boolean"), wn = J(void 0), zn = (i) => i == null, Wo = (i) => !zn(i), ir = pe("function"), No = pe("number"), Pt = () => {
41338
+ }, Ee = (i) => (m) => re(m) === i, he = (i) => (m) => typeof m === i, J = (i) => (m) => i === m, Oe = Ee("string"), Q = Ee("object"), He = Ee("array"), gt = J(null), jt = he("boolean"), wn = J(void 0), zn = (i) => i == null, Wo = (i) => !zn(i), ir = he("function"), No = he("number"), Pt = () => {
41339
41339
  }, ur = (i, m) => (...h) => i(m.apply(null, h)), mn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, Tt = (i) => i, Ea = (i, m) => i === m;
41340
41340
  function Xn(i, ...m) {
41341
41341
  return (...h) => {
@@ -45578,7 +45578,7 @@ Required: ` + m.join(", "));
45578
45578
  }, re = (S) => {
45579
45579
  const R = typeof S;
45580
45580
  return S === null ? "null" : R === "object" && Array.isArray(S) ? "array" : R === "object" && me(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : R;
45581
- }, Ee = (S) => (R) => re(R) === S, pe = (S) => (R) => typeof R === S, J = Ee("string"), Oe = Ee("object"), Q = Ee("array"), He = pe("boolean"), gt = (S) => S == null, jt = (S) => !gt(S), wn = pe("function"), zn = pe("number"), Wo = () => {
45581
+ }, Ee = (S) => (R) => re(R) === S, he = (S) => (R) => typeof R === S, J = Ee("string"), Oe = Ee("object"), Q = Ee("array"), He = he("boolean"), gt = (S) => S == null, jt = (S) => !gt(S), wn = he("function"), zn = he("number"), Wo = () => {
45582
45582
  }, ir = (S, R) => (U) => S(R(U)), No = (S) => () => S, Pt = (S, R) => S === R;
45583
45583
  function ur(S, ...R) {
45584
45584
  return (...U) => {
@@ -46726,7 +46726,7 @@ Required: ` + m.join(", "));
46726
46726
  }, re = (j) => {
46727
46727
  const de = typeof j;
46728
46728
  return j === null ? "null" : de === "object" && Array.isArray(j) ? "array" : de === "object" && me(j, String, (ke, Ne) => Ne.isPrototypeOf(ke)) ? "string" : de;
46729
- }, Ee = (j) => (de) => re(de) === j, pe = (j) => (de) => typeof de === j, J = (j) => (de) => j === de, Oe = Ee("string"), Q = Ee("object"), He = Ee("array"), gt = J(null), jt = pe("boolean"), wn = (j) => j == null, zn = (j) => !wn(j), Wo = pe("function"), ir = (j, de) => {
46729
+ }, Ee = (j) => (de) => re(de) === j, he = (j) => (de) => typeof de === j, J = (j) => (de) => j === de, Oe = Ee("string"), Q = Ee("object"), He = Ee("array"), gt = J(null), jt = he("boolean"), wn = (j) => j == null, zn = (j) => !wn(j), Wo = he("function"), ir = (j, de) => {
46730
46730
  if (He(j)) {
46731
46731
  for (let ke = 0, Ne = j.length; ke < Ne; ++ke)
46732
46732
  if (!de(j[ke]))
@@ -47483,7 +47483,7 @@ Required: ` + m.join(", "));
47483
47483
  }, Ee = (I) => {
47484
47484
  const K = typeof I;
47485
47485
  return I === null ? "null" : K === "object" && Array.isArray(I) ? "array" : K === "object" && re(I, String, (se, Ie) => Ie.isPrototypeOf(se)) ? "string" : K;
47486
- }, pe = (I) => (K) => Ee(K) === I, J = (I) => (K) => typeof K === I, Oe = (I) => (K) => I === K, Q = (I, K) => gt(I) && re(I, K, (se, Ie) => me(se) === Ie), He = pe("string"), gt = pe("object"), jt = (I) => Q(I, Object), wn = pe("array"), zn = Oe(null), Wo = J("boolean"), ir = (I) => I == null, No = (I) => !ir(I), Pt = J("function"), ur = J("number"), mn = (I, K) => {
47486
+ }, he = (I) => (K) => Ee(K) === I, J = (I) => (K) => typeof K === I, Oe = (I) => (K) => I === K, Q = (I, K) => gt(I) && re(I, K, (se, Ie) => me(se) === Ie), He = he("string"), gt = he("object"), jt = (I) => Q(I, Object), wn = he("array"), zn = Oe(null), Wo = J("boolean"), ir = (I) => I == null, No = (I) => !ir(I), Pt = J("function"), ur = J("number"), mn = (I, K) => {
47487
47487
  if (wn(I)) {
47488
47488
  for (let se = 0, Ie = I.length; se < Ie; ++se)
47489
47489
  if (!K(I[se]))
@@ -48352,7 +48352,7 @@ Required: ` + m.join(", "));
48352
48352
  }, re = (x) => {
48353
48353
  const T = typeof x;
48354
48354
  return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && me(x, String, (V, q) => q.isPrototypeOf(V)) ? "string" : T;
48355
- }, Ee = (x) => (T) => re(T) === x, pe = (x) => (T) => typeof T === x, J = (x) => (T) => x === T, Oe = Ee("string"), Q = Ee("array"), He = pe("boolean"), gt = J(void 0), jt = (x) => x == null, wn = (x) => !jt(x), zn = pe("function"), Wo = pe("number"), ir = () => {
48355
+ }, Ee = (x) => (T) => re(T) === x, he = (x) => (T) => typeof T === x, J = (x) => (T) => x === T, Oe = Ee("string"), Q = Ee("array"), He = he("boolean"), gt = J(void 0), jt = (x) => x == null, wn = (x) => !jt(x), zn = he("function"), Wo = he("number"), ir = () => {
48356
48356
  }, No = (x, T) => (V) => x(T(V)), Pt = (x) => () => x, ur = (x) => x, mn = (x, T) => x === T;
48357
48357
  function fe(x, ...T) {
48358
48358
  return (...V) => {
@@ -50545,7 +50545,7 @@ Required: ` + T.join(", "));
50545
50545
  me(Q, gt.getData().code), gt.close();
50546
50546
  }
50547
50547
  });
50548
- }, pe = (Q) => {
50548
+ }, he = (Q) => {
50549
50549
  Q.addCommand("mceCodeEditor", () => {
50550
50550
  Ee(Q);
50551
50551
  });
@@ -50562,13 +50562,13 @@ Required: ` + T.join(", "));
50562
50562
  });
50563
50563
  };
50564
50564
  var Oe = () => {
50565
- $.add("code", (Q) => (pe(Q), J(Q), {}));
50565
+ $.add("code", (Q) => (he(Q), J(Q), {}));
50566
50566
  };
50567
50567
  Oe();
50568
50568
  })();
50569
50569
  (function() {
50570
50570
  var $ = tinymce.util.Tools.resolve("tinymce.PluginManager");
50571
- const re = ((qe) => (Dt) => qe === Dt)(null), Ee = (qe) => qe, pe = (qe, Dt) => {
50571
+ const re = ((qe) => (Dt) => qe === Dt)(null), Ee = (qe) => qe, he = (qe, Dt) => {
50572
50572
  const Ke = qe.length, _e = new Array(Ke);
50573
50573
  for (let vn = 0; vn < Ke; vn++) {
50574
50574
  const jo = qe[vn];
@@ -50641,7 +50641,7 @@ Required: ` + T.join(", "));
50641
50641
  };
50642
50642
  }, Pt = (qe) => {
50643
50643
  const Dt = No(ir);
50644
- return pe(qe, Dt);
50644
+ return he(qe, Dt);
50645
50645
  }, ur = (qe, Dt) => {
50646
50646
  const Ke = qe[Dt], _e = qe[Dt + 1];
50647
50647
  if (Dt < 0 || Dt > qe.length - 1 && Dt !== 0 || Ke === Q.ALETTER && _e === Q.ALETTER)
@@ -50690,7 +50690,7 @@ Required: ` + T.join(", "));
50690
50690
  ...os(),
50691
50691
  ...Ke
50692
50692
  };
50693
- const _e = pe(qe, Dt), vn = Pt(_e);
50693
+ const _e = he(qe, Dt), vn = Pt(_e);
50694
50694
  return Pn(qe, _e, vn, Ke);
50695
50695
  }, ie = (qe, Dt, Ke) => St(qe, Dt, Ke).words, Ro = (qe) => qe.replace(/\uFEFF/g, "");
50696
50696
  var Jn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
@@ -50830,7 +50830,7 @@ const DQ = { class: "font-bold ptext-lg dark:text-white" }, OQ = ["id"], RQ = /*
50830
50830
  },
50831
50831
  emits: ["update:modelValue", "keydown"],
50832
50832
  setup($, { expose: me, emit: re }) {
50833
- const Ee = $, pe = re, J = Ko(null);
50833
+ const Ee = $, he = re, J = Ko(null);
50834
50834
  let Oe = null;
50835
50835
  b1(async () => {
50836
50836
  await Dj(), Oe && (Oe.destroy(), Oe = null), AQ.init({
@@ -50849,7 +50849,7 @@ const DQ = { class: "font-bold ptext-lg dark:text-white" }, OQ = ["id"], RQ = /*
50849
50849
  // disable import of css
50850
50850
  setup(gt) {
50851
50851
  Oe = gt, gt.on("Change", () => {
50852
- pe("update:modelValue", gt.getContent());
50852
+ he("update:modelValue", gt.getContent());
50853
50853
  }), gt.on("init", () => {
50854
50854
  gt.setContent(Ee.modelValue);
50855
50855
  });
@@ -50865,7 +50865,7 @@ const DQ = { class: "font-bold ptext-lg dark:text-white" }, OQ = ["id"], RQ = /*
50865
50865
  return Ee.modelValue;
50866
50866
  },
50867
50867
  set(gt) {
50868
- pe("update:modelValue", gt);
50868
+ he("update:modelValue", gt);
50869
50869
  }
50870
50870
  });
50871
50871
  return me({ focus: () => J.value.focus() }), (gt, jt) => (ye(), xe(Co, null, [
@@ -50965,8 +50965,8 @@ const DQ = { class: "font-bold ptext-lg dark:text-white" }, OQ = ["id"], RQ = /*
50965
50965
  return 0;
50966
50966
  if (this.limit === 0)
50967
50967
  return this.lastPage;
50968
- for (var $ = this.currentPage, me = this.lastPage, re = this.limit, Ee = $ - re, pe = $ + re + 1, J = [], Oe = [], Q, He = 1; He <= me; He++)
50969
- (He === 1 || He === me || He >= Ee && He < pe) && J.push(He);
50968
+ for (var $ = this.currentPage, me = this.lastPage, re = this.limit, Ee = $ - re, he = $ + re + 1, J = [], Oe = [], Q, He = 1; He <= me; He++)
50969
+ (He === 1 || He === me || He >= Ee && He < he) && J.push(He);
50970
50970
  return J.forEach(function(gt) {
50971
50971
  Q && (gt - Q === 2 ? Oe.push(Q + 1) : gt - Q !== 1 && Oe.push("...")), Oe.push(gt), Q = gt;
50972
50972
  }), Oe;
@@ -51091,7 +51091,7 @@ const DQ = { class: "font-bold ptext-lg dark:text-white" }, OQ = ["id"], RQ = /*
51091
51091
  d: "m1 9 4-4-4-4"
51092
51092
  })
51093
51093
  ], -1);
51094
- function YQ($, me, re, Ee, pe, J) {
51094
+ function YQ($, me, re, Ee, he, J) {
51095
51095
  const Oe = ky("RenderlessPagination");
51096
51096
  return ye(), Ty(Oe, {
51097
51097
  data: re.data,
@@ -51319,7 +51319,7 @@ const tq = /* @__PURE__ */ Jr(IQ, [["render", YQ]]), XQ = {
51319
51319
  ], -1), bee = [
51320
51320
  pee
51321
51321
  ], vee = ["data-label"], yee = { class: "overflow-auto max-h-40" }, wee = { 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" };
51322
- function xee($, me, re, Ee, pe, J) {
51322
+ function xee($, me, re, Ee, he, J) {
51323
51323
  const Oe = ky("dropdown"), Q = ky("TailwindPagination");
51324
51324
  return ye(), xe("div", JQ, [
51325
51325
  P("div", QQ, [
@@ -51328,9 +51328,9 @@ function xee($, me, re, Ee, pe, J) {
51328
51328
  P("div", nee, [
51329
51329
  cb(Oe, {
51330
51330
  has_cancel: !1,
51331
- options: pe.pageOptions,
51332
- modelValue: pe.perPage,
51333
- "onUpdate:modelValue": me[0] || (me[0] = (He) => pe.perPage = He),
51331
+ options: he.pageOptions,
51332
+ modelValue: he.perPage,
51333
+ "onUpdate:modelValue": me[0] || (me[0] = (He) => he.perPage = He),
51334
51334
  is_required: !1,
51335
51335
  field_name: "perPage",
51336
51336
  label_name: "",
@@ -51346,12 +51346,12 @@ function xee($, me, re, Ee, pe, J) {
51346
51346
  aee,
51347
51347
  pl(P("input", {
51348
51348
  type: "text",
51349
- "onUpdate:modelValue": me[1] || (me[1] = (He) => pe.search = He),
51349
+ "onUpdate:modelValue": me[1] || (me[1] = (He) => he.search = He),
51350
51350
  onInput: me[2] || (me[2] = (He) => J.handleSearch()),
51351
51351
  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",
51352
51352
  placeholder: "Search ..."
51353
51353
  }, null, 544), [
51354
- [vm, pe.search]
51354
+ [vm, he.search]
51355
51355
  ])
51356
51356
  ])
51357
51357
  ]),
@@ -51365,19 +51365,19 @@ function xee($, me, re, Ee, pe, J) {
51365
51365
  class: "w-full px-4 py-2 lg:w-2/12"
51366
51366
  }, [
51367
51367
  So(bt(He.field_label) + " ", 1),
51368
- pe.sortField === He.field_name ? (ye(), xe("span", dee, [
51369
- pe.sortOrder === "asc" ? (ye(), xe("i", mee)) : (ye(), xe("i", fee))
51368
+ he.sortField === He.field_name ? (ye(), xe("span", dee, [
51369
+ he.sortOrder === "asc" ? (ye(), xe("i", mee)) : (ye(), xe("i", fee))
51370
51370
  ])) : Ct("", !0)
51371
51371
  ], 8, uee))), 128))
51372
51372
  ])
51373
51373
  ]),
51374
51374
  P("tbody", null, [
51375
- pe.isLoading ? (ye(), xe("tr", gee, [
51375
+ he.isLoading ? (ye(), xe("tr", gee, [
51376
51376
  P("td", {
51377
51377
  colspan: re.columns.length
51378
51378
  }, bee, 8, hee)
51379
51379
  ])) : Ct("", !0),
51380
- pe.isLoading ? Ct("", !0) : (ye(!0), xe(Co, { key: 1 }, kr(pe.itemLists.data, (He, gt) => (ye(), xe("tr", {
51380
+ he.isLoading ? Ct("", !0) : (ye(!0), xe(Co, { key: 1 }, kr(he.itemLists.data, (He, gt) => (ye(), xe("tr", {
51381
51381
  key: gt,
51382
51382
  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"
51383
51383
  }, [
@@ -51411,10 +51411,10 @@ function xee($, me, re, Ee, pe, J) {
51411
51411
  P("div", wee, [
51412
51412
  cb(Q, {
51413
51413
  class: "mt-3 mb-0",
51414
- data: pe.itemLists,
51415
- limit: pe.limit,
51416
- size: pe.size,
51417
- align: pe.align,
51414
+ data: he.itemLists,
51415
+ limit: he.limit,
51416
+ size: he.size,
51417
+ align: he.align,
51418
51418
  onPaginationChangePage: J.GetItemLists
51419
51419
  }, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
51420
51420
  ])
@@ -51453,7 +51453,7 @@ const Lae = /* @__PURE__ */ Jr(XQ, [["render", xee]]), Cee = {
51453
51453
  ));
51454
51454
  },
51455
51455
  totalPages() {
51456
- return Math.ceil(this.filteredData.length / this.itemsPerPage);
51456
+ return console("totalPages ", "length", this.filteredData.length, "/", this.itemsPerPage), Math.ceil(this.filteredData.length / this.itemsPerPage);
51457
51457
  },
51458
51458
  paginatedData() {
51459
51459
  const $ = (this.currentPage - 1) * this.itemsPerPage, me = $ + this.itemsPerPage;
@@ -51634,7 +51634,7 @@ const Lae = /* @__PURE__ */ Jr(XQ, [["render", xee]]), Cee = {
51634
51634
  ite,
51635
51635
  ute
51636
51636
  ];
51637
- function mte($, me, re, Ee, pe, J) {
51637
+ function mte($, me, re, Ee, he, J) {
51638
51638
  const Oe = ky("dropdown");
51639
51639
  return ye(), xe("div", See, [
51640
51640
  P("div", _ee, [
@@ -51643,9 +51643,9 @@ function mte($, me, re, Ee, pe, J) {
51643
51643
  P("div", Eee, [
51644
51644
  cb(Oe, {
51645
51645
  has_cancel: !1,
51646
- options: pe.showNoOfEntries,
51647
- modelValue: pe.itemsPerPage,
51648
- "onUpdate:modelValue": me[0] || (me[0] = (Q) => pe.itemsPerPage = Q),
51646
+ options: he.showNoOfEntries,
51647
+ modelValue: he.itemsPerPage,
51648
+ "onUpdate:modelValue": me[0] || (me[0] = (Q) => he.itemsPerPage = Q),
51649
51649
  is_required: !1,
51650
51650
  field_name: "NoOfEntries",
51651
51651
  label_name: "",
@@ -51661,11 +51661,11 @@ function mte($, me, re, Ee, pe, J) {
51661
51661
  Ree,
51662
51662
  pl(P("input", {
51663
51663
  type: "text",
51664
- "onUpdate:modelValue": me[1] || (me[1] = (Q) => pe.search = Q),
51664
+ "onUpdate:modelValue": me[1] || (me[1] = (Q) => he.search = Q),
51665
51665
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 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",
51666
51666
  placeholder: "Search ..."
51667
51667
  }, null, 512), [
51668
- [vm, pe.search]
51668
+ [vm, he.search]
51669
51669
  ])
51670
51670
  ])
51671
51671
  ]),
@@ -51679,19 +51679,19 @@ function mte($, me, re, Ee, pe, J) {
51679
51679
  class: "w-full px-4 py-2 lg:w-2/12"
51680
51680
  }, [
51681
51681
  So(bt(Q.field_label) + " ", 1),
51682
- $.sortField === Q.field_name ? (ye(), xe("span", Bee, [
51683
- pe.sortOrder === "asc" ? (ye(), xe("i", Iee)) : (ye(), xe("i", Lee))
51682
+ he.sortKey === Q.field_name ? (ye(), xe("span", Bee, [
51683
+ he.sortOrder === 1 ? (ye(), xe("i", Iee)) : (ye(), xe("i", Lee))
51684
51684
  ])) : Ct("", !0)
51685
51685
  ], 8, Nee))), 128))
51686
51686
  ])
51687
51687
  ]),
51688
51688
  P("tbody", null, [
51689
- pe.isLoading ? (ye(), xe("tr", Fee, [
51689
+ he.isLoading ? (ye(), xe("tr", Fee, [
51690
51690
  P("td", {
51691
51691
  colspan: re.columns.length
51692
51692
  }, zee, 8, Hee)
51693
51693
  ])) : Ct("", !0),
51694
- pe.isLoading ? Ct("", !0) : (ye(!0), xe(Co, { key: 1 }, kr(J.filteredData, (Q, He) => (ye(), xe("tr", {
51694
+ he.isLoading ? Ct("", !0) : (ye(!0), xe(Co, { key: 1 }, kr(J.paginatedData, (Q, He) => (ye(), xe("tr", {
51695
51695
  key: He,
51696
51696
  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"
51697
51697
  }, [
@@ -51727,13 +51727,13 @@ function mte($, me, re, Ee, pe, J) {
51727
51727
  P("a", {
51728
51728
  href: "#",
51729
51729
  onClick: me[3] || (me[3] = oc((...Q) => J.previousPage && J.previousPage(...Q), ["prevent"])),
51730
- disabled: pe.currentPage === 1,
51730
+ disabled: he.currentPage === 1,
51731
51731
  class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
51732
51732
  }, "Previous", 8, Gee),
51733
51733
  P("a", {
51734
51734
  href: "#",
51735
51735
  onClick: me[4] || (me[4] = oc((...Q) => J.nextPage && J.nextPage(...Q), ["prevent"])),
51736
- disabled: pe.currentPage === J.totalPages,
51736
+ disabled: he.currentPage === J.totalPages,
51737
51737
  class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
51738
51738
  }, "Next", 8, qee)
51739
51739
  ]),
@@ -51756,13 +51756,13 @@ function mte($, me, re, Ee, pe, J) {
51756
51756
  P("a", {
51757
51757
  href: "#",
51758
51758
  onClick: me[5] || (me[5] = oc((...Q) => J.previousPage && J.previousPage(...Q), ["prevent"])),
51759
- disabled: pe.currentPage === 1,
51759
+ disabled: he.currentPage === 1,
51760
51760
  class: "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"
51761
51761
  }, rte, 8, nte)
51762
51762
  ]),
51763
51763
  (ye(!0), xe(Co, null, kr(J.displayedPageNumbers, (Q) => (ye(), xe(Co, { key: Q }, [
51764
51764
  P("li", null, [
51765
- pe.currentPage !== Q ? (ye(), xe("a", {
51765
+ he.currentPage !== Q ? (ye(), xe("a", {
51766
51766
  key: 0,
51767
51767
  href: "#",
51768
51768
  onClick: oc((He) => J.goToPage(Q), ["prevent"]),
@@ -51770,7 +51770,7 @@ function mte($, me, re, Ee, pe, J) {
51770
51770
  }, bt(Q), 9, ate)) : Ct("", !0)
51771
51771
  ]),
51772
51772
  P("li", null, [
51773
- pe.currentPage === Q ? (ye(), xe("a", {
51773
+ he.currentPage === Q ? (ye(), xe("a", {
51774
51774
  key: 0,
51775
51775
  href: "#",
51776
51776
  onClick: oc((He) => J.goToPage(Q), ["prevent"]),
@@ -51783,7 +51783,7 @@ function mte($, me, re, Ee, pe, J) {
51783
51783
  P("a", {
51784
51784
  href: "#",
51785
51785
  onClick: me[6] || (me[6] = oc((...Q) => J.nextPage && J.nextPage(...Q), ["prevent"])),
51786
- disabled: pe.currentPage === J.totalPages,
51786
+ disabled: he.currentPage === J.totalPages,
51787
51787
  class: "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"
51788
51788
  }, dte, 8, cte)
51789
51789
  ])
@@ -51840,8 +51840,8 @@ const Fae = /* @__PURE__ */ Jr(Cee, [["render", mte]]), fte = {
51840
51840
  return this.itemLists.data ? this.itemLists.data.reduce((me, re) => {
51841
51841
  const Ee = re[$];
51842
51842
  me[Ee] || (me[Ee] = []);
51843
- const pe = { ...re };
51844
- return delete pe[$], me[Ee].push(pe), me;
51843
+ const he = { ...re };
51844
+ return delete he[$], me[Ee].push(he), me;
51845
51845
  }, {}) : [];
51846
51846
  },
51847
51847
  editAction($) {
@@ -51955,7 +51955,7 @@ const Fae = /* @__PURE__ */ Jr(Cee, [["render", mte]]), fte = {
51955
51955
  ], -1), Mte = [
51956
51956
  $te
51957
51957
  ], Pte = { 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" }, Nte = ["colspan"], Bte = ["data-label"], Ite = { class: "overflow-auto max-h-40" }, Lte = { 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" };
51958
- function Fte($, me, re, Ee, pe, J) {
51958
+ function Fte($, me, re, Ee, he, J) {
51959
51959
  const Oe = ky("dropdown"), Q = ky("TailwindPagination");
51960
51960
  return ye(), xe("div", gte, [
51961
51961
  P("div", hte, [
@@ -51964,9 +51964,9 @@ function Fte($, me, re, Ee, pe, J) {
51964
51964
  P("div", vte, [
51965
51965
  cb(Oe, {
51966
51966
  has_cancel: !1,
51967
- options: pe.pageOptions,
51968
- modelValue: pe.perPage,
51969
- "onUpdate:modelValue": me[0] || (me[0] = (He) => pe.perPage = He),
51967
+ options: he.pageOptions,
51968
+ modelValue: he.perPage,
51969
+ "onUpdate:modelValue": me[0] || (me[0] = (He) => he.perPage = He),
51970
51970
  is_required: !1,
51971
51971
  field_name: "perPage",
51972
51972
  label_name: "",
@@ -51982,12 +51982,12 @@ function Fte($, me, re, Ee, pe, J) {
51982
51982
  Cte,
51983
51983
  pl(P("input", {
51984
51984
  type: "text",
51985
- "onUpdate:modelValue": me[1] || (me[1] = (He) => pe.search = He),
51985
+ "onUpdate:modelValue": me[1] || (me[1] = (He) => he.search = He),
51986
51986
  onInput: me[2] || (me[2] = (He) => J.handleSearch()),
51987
51987
  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",
51988
51988
  placeholder: "Search ..."
51989
51989
  }, null, 544), [
51990
- [vm, pe.search]
51990
+ [vm, he.search]
51991
51991
  ])
51992
51992
  ])
51993
51993
  ]),
@@ -52001,19 +52001,19 @@ function Fte($, me, re, Ee, pe, J) {
52001
52001
  class: "w-full px-4 py-2 lg:w-2/12"
52002
52002
  }, [
52003
52003
  So(bt(He.field_label) + " ", 1),
52004
- pe.sortField === He.field_name ? (ye(), xe("span", Ete, [
52005
- pe.sortOrder === "asc" ? (ye(), xe("i", Ate)) : (ye(), xe("i", Dte))
52004
+ he.sortField === He.field_name ? (ye(), xe("span", Ete, [
52005
+ he.sortOrder === "asc" ? (ye(), xe("i", Ate)) : (ye(), xe("i", Dte))
52006
52006
  ])) : Ct("", !0)
52007
52007
  ], 8, Tte))), 128))
52008
52008
  ])
52009
52009
  ]),
52010
52010
  P("tbody", null, [
52011
- pe.isLoading ? (ye(), xe("tr", Ote, [
52011
+ he.isLoading ? (ye(), xe("tr", Ote, [
52012
52012
  P("td", {
52013
52013
  colspan: re.columns.length
52014
52014
  }, Mte, 8, Rte)
52015
52015
  ])) : Ct("", !0),
52016
- pe.isLoading ? Ct("", !0) : (ye(!0), xe(Co, { key: 1 }, kr(J.groupedItems, (He, gt) => (ye(), xe(Co, null, [
52016
+ he.isLoading ? Ct("", !0) : (ye(!0), xe(Co, { key: 1 }, kr(J.groupedItems, (He, gt) => (ye(), xe(Co, null, [
52017
52017
  P("tr", Pte, [
52018
52018
  P("td", {
52019
52019
  colspan: re.columns.length,
@@ -52051,10 +52051,10 @@ function Fte($, me, re, Ee, pe, J) {
52051
52051
  P("div", Lte, [
52052
52052
  cb(Q, {
52053
52053
  class: "mt-3 mb-0",
52054
- data: pe.itemLists,
52055
- limit: pe.limit,
52056
- size: pe.size,
52057
- align: pe.align,
52054
+ data: he.itemLists,
52055
+ limit: he.limit,
52056
+ size: he.size,
52057
+ align: he.align,
52058
52058
  onPaginationChangePage: J.GetItemLists
52059
52059
  }, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
52060
52060
  ])
@@ -52204,7 +52204,7 @@ const Hae = /* @__PURE__ */ Jr(fte, [["render", Fte]]), Hte = {
52204
52204
  Sne,
52205
52205
  _ne
52206
52206
  ];
52207
- function Tne($, me, re, Ee, pe, J) {
52207
+ function Tne($, me, re, Ee, he, J) {
52208
52208
  const Oe = ky("dropdown");
52209
52209
  return ye(), xe("div", Vte, [
52210
52210
  P("div", zte, [
@@ -52213,9 +52213,9 @@ function Tne($, me, re, Ee, pe, J) {
52213
52213
  P("div", Zte, [
52214
52214
  cb(Oe, {
52215
52215
  has_cancel: !1,
52216
- options: pe.showNoOfEntries,
52217
- modelValue: pe.itemsPerPage,
52218
- "onUpdate:modelValue": me[0] || (me[0] = (Q) => pe.itemsPerPage = Q),
52216
+ options: he.showNoOfEntries,
52217
+ modelValue: he.itemsPerPage,
52218
+ "onUpdate:modelValue": me[0] || (me[0] = (Q) => he.itemsPerPage = Q),
52219
52219
  is_required: !1,
52220
52220
  field_name: "NoOfEntries",
52221
52221
  label_name: "",
@@ -52231,11 +52231,11 @@ function Tne($, me, re, Ee, pe, J) {
52231
52231
  Kte,
52232
52232
  pl(P("input", {
52233
52233
  type: "text",
52234
- "onUpdate:modelValue": me[1] || (me[1] = (Q) => pe.search = Q),
52234
+ "onUpdate:modelValue": me[1] || (me[1] = (Q) => he.search = Q),
52235
52235
  class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 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",
52236
52236
  placeholder: "Search ..."
52237
52237
  }, null, 512), [
52238
- [vm, pe.search]
52238
+ [vm, he.search]
52239
52239
  ])
52240
52240
  ])
52241
52241
  ]),
@@ -52249,8 +52249,8 @@ function Tne($, me, re, Ee, pe, J) {
52249
52249
  class: "w-full px-4 py-2 lg:w-2/12 capitalize"
52250
52250
  }, [
52251
52251
  So(bt(Q) + " ", 1),
52252
- pe.sortKey === Q ? (ye(), xe("span", ene, [
52253
- pe.sortOrder === "asc" ? (ye(), xe("i", tne)) : (ye(), xe("i", nne))
52252
+ he.sortKey === Q ? (ye(), xe("span", ene, [
52253
+ he.sortOrder === 1 ? (ye(), xe("i", tne)) : (ye(), xe("i", nne))
52254
52254
  ])) : Ct("", !0)
52255
52255
  ], 8, Qte))), 128))
52256
52256
  ])
@@ -52279,13 +52279,13 @@ function Tne($, me, re, Ee, pe, J) {
52279
52279
  P("a", {
52280
52280
  href: "#",
52281
52281
  onClick: me[2] || (me[2] = oc((...Q) => J.previousPage && J.previousPage(...Q), ["prevent"])),
52282
- disabled: pe.currentPage === 1,
52282
+ disabled: he.currentPage === 1,
52283
52283
  class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
52284
52284
  }, "Previous", 8, lne),
52285
52285
  P("a", {
52286
52286
  href: "#",
52287
52287
  onClick: me[3] || (me[3] = oc((...Q) => J.nextPage && J.nextPage(...Q), ["prevent"])),
52288
- disabled: pe.currentPage === J.totalPages,
52288
+ disabled: he.currentPage === J.totalPages,
52289
52289
  class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
52290
52290
  }, "Next", 8, cne)
52291
52291
  ]),
@@ -52308,13 +52308,13 @@ function Tne($, me, re, Ee, pe, J) {
52308
52308
  P("a", {
52309
52309
  href: "#",
52310
52310
  onClick: me[4] || (me[4] = oc((...Q) => J.previousPage && J.previousPage(...Q), ["prevent"])),
52311
- disabled: pe.currentPage === 1,
52311
+ disabled: he.currentPage === 1,
52312
52312
  class: "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"
52313
52313
  }, yne, 8, pne)
52314
52314
  ]),
52315
52315
  (ye(!0), xe(Co, null, kr(J.displayedPageNumbers, (Q) => (ye(), xe(Co, { key: Q }, [
52316
52316
  P("li", null, [
52317
- pe.currentPage !== Q ? (ye(), xe("a", {
52317
+ he.currentPage !== Q ? (ye(), xe("a", {
52318
52318
  key: 0,
52319
52319
  href: "#",
52320
52320
  onClick: oc((He) => J.goToPage(Q), ["prevent"]),
@@ -52322,7 +52322,7 @@ function Tne($, me, re, Ee, pe, J) {
52322
52322
  }, bt(Q), 9, wne)) : Ct("", !0)
52323
52323
  ]),
52324
52324
  P("li", null, [
52325
- pe.currentPage === Q ? (ye(), xe("a", {
52325
+ he.currentPage === Q ? (ye(), xe("a", {
52326
52326
  key: 0,
52327
52327
  href: "#",
52328
52328
  onClick: oc((He) => J.goToPage(Q), ["prevent"]),
@@ -52335,7 +52335,7 @@ function Tne($, me, re, Ee, pe, J) {
52335
52335
  P("a", {
52336
52336
  href: "#",
52337
52337
  onClick: me[5] || (me[5] = oc((...Q) => J.nextPage && J.nextPage(...Q), ["prevent"])),
52338
- disabled: pe.currentPage === J.totalPages,
52338
+ disabled: he.currentPage === J.totalPages,
52339
52339
  class: "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"
52340
52340
  }, kne, 8, Cne)
52341
52341
  ])
@@ -52350,23 +52350,23 @@ const Vae = /* @__PURE__ */ Jr(Hte, [["render", Tne]]), Ene = {
52350
52350
  setup() {
52351
52351
  const $ = Ko([]);
52352
52352
  return YG("accordionsWrapper", {
52353
- registerAccordion: (pe) => {
52354
- $.value.push(pe);
52353
+ registerAccordion: (he) => {
52354
+ $.value.push(he);
52355
52355
  },
52356
- unregisterAccordion: (pe) => {
52357
- const J = $.value.indexOf(pe);
52356
+ unregisterAccordion: (he) => {
52357
+ const J = $.value.indexOf(he);
52358
52358
  J > -1 && $.value.splice(J, 1);
52359
52359
  },
52360
- toggleAccordion: (pe) => {
52360
+ toggleAccordion: (he) => {
52361
52361
  $.value.forEach((J) => {
52362
- J !== pe && J.isOpen && J.isOpen.value !== void 0 && (J.isOpen.value = !1);
52363
- }), pe.isOpen && pe.isOpen.value !== void 0 && (pe.isOpen.value = !pe.isOpen.value);
52362
+ J !== he && J.isOpen && J.isOpen.value !== void 0 && (J.isOpen.value = !1);
52363
+ }), he.isOpen && he.isOpen.value !== void 0 && (he.isOpen.value = !he.isOpen.value);
52364
52364
  },
52365
52365
  accordions: $
52366
52366
  }), {};
52367
52367
  }
52368
52368
  };
52369
- function Ane($, me, re, Ee, pe, J) {
52369
+ function Ane($, me, re, Ee, he, J) {
52370
52370
  return ye(), xe("div", null, [
52371
52371
  vf($.$slots, "default")
52372
52372
  ]);
@@ -52387,13 +52387,13 @@ const zae = /* @__PURE__ */ Jr(Ene, [["render", Ane]]), Dne = {
52387
52387
  return gt = Math.floor(gt / 16), (wn === "x" ? zn : zn & 3 | 8).toString(16);
52388
52388
  });
52389
52389
  return jt;
52390
- })(), pe = { isOpen: $, id: Ee }, J = Fc(() => me.accordions.value), Oe = Fc(() => J.value.length > 0 && J.value[0].id === Ee), Q = Fc(() => J.value.length > 0 && J.value[J.value.length - 1].id === Ee);
52390
+ })(), he = { isOpen: $, id: Ee }, J = Fc(() => me.accordions.value), Oe = Fc(() => J.value.length > 0 && J.value[0].id === Ee), Q = Fc(() => J.value.length > 0 && J.value[J.value.length - 1].id === Ee);
52391
52391
  return b1(() => {
52392
- me.registerAccordion(pe);
52392
+ me.registerAccordion(he);
52393
52393
  }), Mq(() => {
52394
- me.unregisterAccordion(pe);
52394
+ me.unregisterAccordion(he);
52395
52395
  }), { isOpen: $, isFirstAccordion: Oe, isLastAccordion: Q, toggle: () => {
52396
- me.toggleAccordion(pe);
52396
+ me.toggleAccordion(he);
52397
52397
  } };
52398
52398
  }
52399
52399
  }, One = { class: "flex items-center" }, Rne = {
@@ -52427,7 +52427,7 @@ const zae = /* @__PURE__ */ Jr(Ene, [["render", Ane]]), Dne = {
52427
52427
  }, null, -1), Bne = [
52428
52428
  Nne
52429
52429
  ];
52430
- function Ine($, me, re, Ee, pe, J) {
52430
+ function Ine($, me, re, Ee, he, J) {
52431
52431
  return ye(), xe("div", null, [
52432
52432
  P("h2", null, [
52433
52433
  P("button", {
@@ -52536,7 +52536,7 @@ const Uae = /* @__PURE__ */ Jr(Dne, [["render", Ine]]), Lne = {
52536
52536
  setTimeout(() => Ee("remove"), re.duration);
52537
52537
  });
52538
52538
  const Ee = me;
52539
- return (pe, J) => (ye(), xe("div", Lne, [
52539
+ return (he, J) => (ye(), xe("div", Lne, [
52540
52540
  re.type === "success" ? (ye(), xe("div", Fne, zne)) : Ct("", !0),
52541
52541
  re.type === "error" ? (ye(), xe("div", Une, jne)) : Ct("", !0),
52542
52542
  re.type === "warning" ? (ye(), xe("div", Gne, Yne)) : Ct("", !0),
@@ -52565,11 +52565,11 @@ const Uae = /* @__PURE__ */ Jr(Dne, [["render", Ine]]), Lne = {
52565
52565
  class: "fixed z-[1060] w-full max-w-xs space-y-4 top-4 right-4"
52566
52566
  }, {
52567
52567
  default: U8(() => [
52568
- (ye(!0), xe(Co, null, kr(Nq(s5).state.items, (pe, J) => (ye(), Ty(toe, {
52569
- key: pe.key,
52570
- message: pe.message,
52571
- type: pe.type,
52572
- duration: pe.duration,
52568
+ (ye(!0), xe(Co, null, kr(Nq(s5).state.items, (he, J) => (ye(), Ty(toe, {
52569
+ key: he.key,
52570
+ message: he.message,
52571
+ type: he.type,
52572
+ duration: he.duration,
52573
52573
  onRemove: (Oe) => me(J)
52574
52574
  }, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
52575
52575
  ]),
@@ -52618,14 +52618,14 @@ const Uae = /* @__PURE__ */ Jr(Dne, [["render", Ine]]), Lne = {
52618
52618
  },
52619
52619
  emits: ["deleteAction"],
52620
52620
  setup($, { emit: me }) {
52621
- const re = $, Ee = Ko(!1), pe = Ko(!1), J = () => {
52621
+ const re = $, Ee = Ko(!1), he = Ko(!1), J = () => {
52622
52622
  Ee.value = !1;
52623
52623
  }, Oe = () => {
52624
52624
  Ee.value = !0;
52625
52625
  }, Q = () => {
52626
- pe.value = !1;
52626
+ he.value = !1;
52627
52627
  }, He = () => {
52628
- pe.value = !0;
52628
+ he.value = !0;
52629
52629
  }, gt = me, jt = () => {
52630
52630
  axios.delete(`${re.xprops.route}/${re.row.id}`).then(() => {
52631
52631
  Q(), gt("deleteAction"), s5.methods.add({
@@ -52641,7 +52641,7 @@ const Uae = /* @__PURE__ */ Jr(Dne, [["render", Ine]]), Lne = {
52641
52641
  const Wo = QG("click-outside");
52642
52642
  return ye(), xe(Co, null, [
52643
52643
  cb(Oj, {
52644
- isOpen: pe.value,
52644
+ isOpen: he.value,
52645
52645
  onConfirmDelete: jt,
52646
52646
  onCancelDelete: Q
52647
52647
  }, null, 8, ["isOpen"]),
@@ -52724,14 +52724,14 @@ const Uae = /* @__PURE__ */ Jr(Dne, [["render", Ine]]), Lne = {
52724
52724
  },
52725
52725
  emits: ["deleteAction"],
52726
52726
  setup($, { emit: me }) {
52727
- const re = $, Ee = Ko(!1), pe = Ko(!1), J = () => {
52727
+ const re = $, Ee = Ko(!1), he = Ko(!1), J = () => {
52728
52728
  Ee.value = !1;
52729
52729
  }, Oe = () => {
52730
52730
  Ee.value = !0;
52731
52731
  }, Q = () => {
52732
- pe.value = !1;
52732
+ he.value = !1;
52733
52733
  }, He = () => {
52734
- pe.value = !0;
52734
+ he.value = !0;
52735
52735
  }, gt = me, jt = () => {
52736
52736
  axios.delete(`${re.xprops.route}/${re.row.id}`).then(() => {
52737
52737
  Q(), gt("deleteAction"), s5.methods.add({
@@ -52747,7 +52747,7 @@ const Uae = /* @__PURE__ */ Jr(Dne, [["render", Ine]]), Lne = {
52747
52747
  const Wo = QG("click-outside");
52748
52748
  return ye(), xe(Co, null, [
52749
52749
  cb(Oj, {
52750
- isOpen: pe.value,
52750
+ isOpen: he.value,
52751
52751
  onConfirmDelete: jt,
52752
52752
  onCancelDelete: Q
52753
52753
  }, null, 8, ["isOpen"]),
@@ -52832,7 +52832,7 @@ const Uae = /* @__PURE__ */ Jr(Dne, [["render", Ine]]), Lne = {
52832
52832
  "clip-rule": "evenodd"
52833
52833
  })
52834
52834
  ], -1);
52835
- function koe($, me, re, Ee, pe, J) {
52835
+ function koe($, me, re, Ee, he, J) {
52836
52836
  return ye(), xe("div", null, [
52837
52837
  J.isArray ? (ye(!0), xe(Co, { key: 0 }, kr(re.row, (Oe, Q) => (ye(), xe("div", {
52838
52838
  key: Q,
@@ -52908,7 +52908,7 @@ const Gae = /* @__PURE__ */ Jr(yoe, [["render", koe]]), Toe = {
52908
52908
  "clip-rule": "evenodd"
52909
52909
  })
52910
52910
  ], -1);
52911
- function $oe($, me, re, Ee, pe, J) {
52911
+ function $oe($, me, re, Ee, he, J) {
52912
52912
  return ye(), xe("div", null, [
52913
52913
  J.isArray ? (ye(!0), xe(Co, { key: 0 }, kr(re.row[re.field], (Oe) => (ye(), xe("div", {
52914
52914
  key: Oe.id,
@@ -52939,7 +52939,7 @@ function $oe($, me, re, Ee, pe, J) {
52939
52939
  const qae = /* @__PURE__ */ Jr(Toe, [["render", $oe]]), Moe = {
52940
52940
  props: ["field", "row", "tdProps"]
52941
52941
  }, Poe = { key: 0 }, Noe = ["innerHTML"];
52942
- function Boe($, me, re, Ee, pe, J) {
52942
+ function Boe($, me, re, Ee, he, J) {
52943
52943
  return re.row[re.field] ? (ye(), xe("div", Poe, [
52944
52944
  P("div", {
52945
52945
  class: "w-full",
@@ -52965,7 +52965,7 @@ const Kae = /* @__PURE__ */ Jr(Moe, [["render", Boe]]), Ioe = {
52965
52965
  key: 1,
52966
52966
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
52967
52967
  };
52968
- function Hoe($, me, re, Ee, pe, J) {
52968
+ function Hoe($, me, re, Ee, he, J) {
52969
52969
  return ye(), xe("div", Loe, [
52970
52970
  J.isArray ? (ye(!0), xe(Co, { key: 0 }, kr(re.row[J.entry.key], (Oe, Q) => (ye(), xe("span", {
52971
52971
  key: Q,
@@ -52996,7 +52996,7 @@ const Yae = /* @__PURE__ */ Jr(Ioe, [["render", Hoe]]), Voe = {
52996
52996
  key: 1,
52997
52997
  class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
52998
52998
  };
52999
- function Woe($, me, re, Ee, pe, J) {
52999
+ function Woe($, me, re, Ee, he, J) {
53000
53000
  return ye(), xe("div", zoe, [
53001
53001
  J.isArray ? (ye(!0), xe(Co, { key: 0 }, kr(J.getNestedValue(re.row, J.entry.keys), (Oe, Q) => (ye(), xe("span", {
53002
53002
  key: Q,
@@ -53007,7 +53007,7 @@ function Woe($, me, re, Ee, pe, J) {
53007
53007
  const Xae = /* @__PURE__ */ Jr(Voe, [["render", Woe]]), Zoe = {
53008
53008
  props: ["field", "row", "tdProps"]
53009
53009
  }, joe = { key: 0 }, Goe = { class: "m-1 d-inline-block" }, qoe = ["href", "title"], Koe = ["src", "alt", "title"];
53010
- function Yoe($, me, re, Ee, pe, J) {
53010
+ function Yoe($, me, re, Ee, he, J) {
53011
53011
  return re.row[re.field] ? (ye(), xe("div", joe, [
53012
53012
  P("div", Goe, [
53013
53013
  P("a", {
@@ -53038,7 +53038,7 @@ const Jae = /* @__PURE__ */ Jr(Zoe, [["render", Yoe], ["__scopeId", "data-v-3a28
53038
53038
  key: 1,
53039
53039
  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"
53040
53040
  }, nse = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
53041
- function ose($, me, re, Ee, pe, J) {
53041
+ function ose($, me, re, Ee, he, J) {
53042
53042
  return ye(), xe("div", Joe, [
53043
53043
  J.isActive ? (ye(), xe("span", Qoe, [
53044
53044
  ese,
@@ -53078,7 +53078,7 @@ const Qae = /* @__PURE__ */ Jr(Xoe, [["render", ose]]), sse = {
53078
53078
  /* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
53079
53079
  /* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
53080
53080
  ], -1);
53081
- function pse($, me, re, Ee, pe, J) {
53081
+ function pse($, me, re, Ee, he, J) {
53082
53082
  return ye(), xe("div", rse, [
53083
53083
  J.hasLabelColor == "green" ? (ye(), xe("span", ase, [
53084
53084
  lse,
@@ -53124,7 +53124,7 @@ const ele = /* @__PURE__ */ Jr(sse, [["render", pse]]), bse = {
53124
53124
  }
53125
53125
  }
53126
53126
  }, vse = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
53127
- function yse($, me, re, Ee, pe, J) {
53127
+ function yse($, me, re, Ee, he, J) {
53128
53128
  return ye(), xe("div", vse, [
53129
53129
  J.hasLabelColor == "Default" ? (ye(), xe("span", {
53130
53130
  key: 0,
@@ -53195,7 +53195,7 @@ const tle = /* @__PURE__ */ Jr(bse, [["render", yse]]), wse = {
53195
53195
  /* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
53196
53196
  /* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
53197
53197
  ], -1);
53198
- function $se($, me, re, Ee, pe, J) {
53198
+ function $se($, me, re, Ee, he, J) {
53199
53199
  return ye(), xe("div", xse, [
53200
53200
  J.hasLabelColor == "green" ? (ye(), xe("span", Cse, [
53201
53201
  Sse,
@@ -53226,13 +53226,13 @@ const nle = /* @__PURE__ */ Jr(wse, [["render", $se]]), Mse = {
53226
53226
  if (!this.row[this.field])
53227
53227
  return "";
53228
53228
  const $ = new Date(this.row[this.field]), me = $.getFullYear(), re = $.toLocaleString("default", { month: "long" }), Ee = $.getDate();
53229
- let pe = $.getHours();
53230
- const J = $.getMinutes(), Oe = $.getSeconds(), Q = pe >= 12 ? "pm" : "am";
53231
- return pe = pe % 12, pe = pe || 12, `${re} ${Ee}, ${me}, ${pe}:${J}:${Oe} ${Q}`;
53229
+ let he = $.getHours();
53230
+ const J = $.getMinutes(), Oe = $.getSeconds(), Q = he >= 12 ? "pm" : "am";
53231
+ return he = he % 12, he = he || 12, `${re} ${Ee}, ${me}, ${he}:${J}:${Oe} ${Q}`;
53232
53232
  }
53233
53233
  }
53234
53234
  }, Pse = { class: "w-full" };
53235
- function Nse($, me, re, Ee, pe, J) {
53235
+ function Nse($, me, re, Ee, he, J) {
53236
53236
  return ye(), xe("div", Pse, bt(J.formattedDate), 1);
53237
53237
  }
53238
53238
  const ole = /* @__PURE__ */ Jr(Mse, [["render", Nse]]), Bse = {
@@ -53246,7 +53246,7 @@ const ole = /* @__PURE__ */ Jr(Mse, [["render", Nse]]), Bse = {
53246
53246
  }
53247
53247
  }
53248
53248
  }, Ise = { class: "w-full" };
53249
- function Lse($, me, re, Ee, pe, J) {
53249
+ function Lse($, me, re, Ee, he, J) {
53250
53250
  return ye(), xe("div", Ise, bt(J.formattedDate), 1);
53251
53251
  }
53252
53252
  const sle = /* @__PURE__ */ Jr(Bse, [["render", Lse]]), Fse = {
@@ -53264,7 +53264,7 @@ const sle = /* @__PURE__ */ Jr(Bse, [["render", Lse]]), Fse = {
53264
53264
  key: 2,
53265
53265
  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"
53266
53266
  }, jse = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
53267
- function Gse($, me, re, Ee, pe, J) {
53267
+ function Gse($, me, re, Ee, he, J) {
53268
53268
  return ye(), xe("div", Hse, [
53269
53269
  re.row[re.field] === 0 ? (ye(), xe("span", Vse, [
53270
53270
  zse,
@@ -53289,7 +53289,7 @@ const rle = /* @__PURE__ */ Jr(Fse, [["render", Gse]]), qse = {
53289
53289
  style: { "max-width": "200px" },
53290
53290
  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"
53291
53291
  };
53292
- function Xse($, me, re, Ee, pe, J) {
53292
+ function Xse($, me, re, Ee, he, J) {
53293
53293
  return re.row[re.field] ? (ye(), xe("div", Kse, [
53294
53294
  P("pre", Yse, " " + bt(re.row[re.field]) + `
53295
53295
  `, 1)
@@ -53317,7 +53317,7 @@ const ale = /* @__PURE__ */ Jr(qse, [["render", Xse]]), Jse = {
53317
53317
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
53318
53318
  "aria-hidden": "true"
53319
53319
  }, "​", -1), ore = { 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" }, sre = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, rre = { class: "sm:flex sm:items-start" }, are = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, lre = { class: "text-lg font-medium leading-6" }, cre = { class: "mt-2" }, ire = { 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" };
53320
- function ure($, me, re, Ee, pe, J) {
53320
+ function ure($, me, re, Ee, he, J) {
53321
53321
  return re.isOpen ? (ye(), xe("div", Qse, [
53322
53322
  P("div", ere, [
53323
53323
  tre,
@@ -53369,7 +53369,7 @@ const lle = /* @__PURE__ */ Jr(Jse, [["render", ure]]), dre = {
53369
53369
  }
53370
53370
  },
53371
53371
  setup($, { expose: me }) {
53372
- const re = Ko(""), Ee = Ko(""), pe = Ko(""), J = Ko("Cancel"), Oe = Ko(!1), Q = Ko(void 0), He = Ko(void 0), gt = (zn = {}) => (re.value = zn.title, Ee.value = zn.message, pe.value = zn.okButton, zn.cancelButton && (J.value = zn.cancelButton), Oe.value = !0, new Promise((Wo, ir) => {
53372
+ const re = Ko(""), Ee = Ko(""), he = Ko(""), J = Ko("Cancel"), Oe = Ko(!1), Q = Ko(void 0), He = Ko(void 0), gt = (zn = {}) => (re.value = zn.title, Ee.value = zn.message, he.value = zn.okButton, zn.cancelButton && (J.value = zn.cancelButton), Oe.value = !0, new Promise((Wo, ir) => {
53373
53373
  Q.value = Wo, He.value = ir;
53374
53374
  })), jt = () => {
53375
53375
  Oe.value = !1, Q.value(!0);
@@ -53398,7 +53398,7 @@ const lle = /* @__PURE__ */ Jr(Jse, [["render", ure]]), dre = {
53398
53398
  onClick: jt,
53399
53399
  type: "button",
53400
53400
  class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
53401
- }, bt(pe.value), 1),
53401
+ }, bt(he.value), 1),
53402
53402
  P("button", {
53403
53403
  onClick: wn,
53404
53404
  type: "button",
@@ -53468,18 +53468,18 @@ const lle = /* @__PURE__ */ Jr(Jse, [["render", ure]]), dre = {
53468
53468
  }).catch(function(Oe) {
53469
53469
  console.error("Error copying to clipboard: ", Oe);
53470
53470
  });
53471
- }, pe = Fc(() => me.code);
53471
+ }, he = Fc(() => me.code);
53472
53472
  return (J, Oe) => (ye(), xe("div", Sre, [
53473
53473
  P("div", _re, [
53474
53474
  P("p", kre, bt($.label_name), 1)
53475
53475
  ]),
53476
53476
  P("div", Tre, [
53477
53477
  P("div", Ere, [
53478
- P("code", Are, bt(pe.value), 1)
53478
+ P("code", Are, bt(he.value), 1)
53479
53479
  ]),
53480
53480
  P("div", Dre, [
53481
53481
  P("button", {
53482
- onClick: Oe[0] || (Oe[0] = (Q) => Ee(pe.value)),
53482
+ onClick: Oe[0] || (Oe[0] = (Q) => Ee(he.value)),
53483
53483
  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"
53484
53484
  }, [
53485
53485
  re.value ? Ct("", !0) : (ye(), xe("span", Ore, Mre)),
@@ -53548,7 +53548,7 @@ const lle = /* @__PURE__ */ Jr(Jse, [["render", ure]]), dre = {
53548
53548
  }).catch(function(Oe) {
53549
53549
  console.error("Error copying to clipboard: ", Oe);
53550
53550
  });
53551
- }, pe = Fc(() => me.code);
53551
+ }, he = Fc(() => me.code);
53552
53552
  return (J, Oe) => (ye(), xe("div", Fre, [
53553
53553
  P("div", Hre, [
53554
53554
  P("label", Vre, bt($.label_name), 1)
@@ -53560,14 +53560,14 @@ const lle = /* @__PURE__ */ Jr(Jse, [["render", ure]]), dre = {
53560
53560
  type: "text",
53561
53561
  "aria-describedby": "helper-text-explanation",
53562
53562
  class: "bg-gray-50 border border-e-0 border-gray-300 text-gray-500 dark:text-gray-400 text-sm border-s-0 focus:ring-blue-500 focus:border-blue-500 block w-full p-2 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500",
53563
- value: pe.value,
53563
+ value: he.value,
53564
53564
  readonly: "",
53565
53565
  disabled: ""
53566
53566
  }, null, 8, Zre)
53567
53567
  ]),
53568
53568
  P("button", {
53569
53569
  style: { padding: ".61rem" },
53570
- onClick: Oe[0] || (Oe[0] = (Q) => Ee(pe.value)),
53570
+ onClick: Oe[0] || (Oe[0] = (Q) => Ee(he.value)),
53571
53571
  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",
53572
53572
  type: "button"
53573
53573
  }, [
@@ -53651,7 +53651,7 @@ const lle = /* @__PURE__ */ Jr(Jse, [["render", ure]]), dre = {
53651
53651
  const re = me, Ee = () => {
53652
53652
  re("reconnect");
53653
53653
  };
53654
- return (pe, J) => (ye(), xe("div", aae, [
53654
+ return (he, J) => (ye(), xe("div", aae, [
53655
53655
  $.status === 0 ? (ye(), xe("span", lae, [
53656
53656
  cae,
53657
53657
  So(" Connecting")