@anzusystems/common-admin 0.0.55 → 0.0.57

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,11 +1,11 @@
1
1
  var so = Object.defineProperty;
2
2
  var uo = (t, n, e) => n in t ? so(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var On = (t, n, e) => (uo(t, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as c, withCtx as g, createTextVNode as z, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as Nt, normalizeClass as be, withModifiers as ne, withDirectives as vr, vShow as yr, isProxy as co, toRaw as fo, isRef as Ue, inject as we, createSlots as an, Fragment as Ye, provide as er, watch as Pe, renderList as At, ref as J, TransitionGroup as br, normalizeStyle as ua, resolveDynamicComponent as ya, onMounted as zt, h as mo, nextTick as po, withKeys as wr, reactive as ho, toRefs as ba, shallowRef as tr, readonly as Kt, mergeProps as wa, createStaticVNode as kr, setBlockTracking as nr, onBeforeUnmount as go } from "vue";
4
+ import { defineComponent as L, computed as x, openBlock as w, createBlock as E, unref as c, withCtx as g, createTextVNode as z, toDisplayString as $, createElementBlock as H, createVNode as b, createCommentVNode as Z, renderSlot as _e, createElementVNode as te, resolveComponent as Nt, normalizeClass as be, withModifiers as ne, withDirectives as vr, vShow as yr, isProxy as co, toRaw as fo, isRef as Ue, inject as we, createSlots as nn, Fragment as Ye, provide as er, watch as Oe, renderList as At, ref as J, TransitionGroup as br, normalizeStyle as ua, resolveDynamicComponent as ya, onMounted as an, h as mo, nextTick as po, withKeys as wr, reactive as ho, toRefs as ba, shallowRef as tr, readonly as qt, mergeProps as wa, createStaticVNode as kr, setBlockTracking as nr, onBeforeUnmount as go } from "vue";
5
5
  import { useI18n as K, createI18n as vo } from "vue-i18n";
6
6
  import { useI18n as pg } from "vue-i18n";
7
7
  import { VChip as ct } from "vuetify/lib/components/VChip/index.mjs";
8
- import { VRow as da, VCol as qt, VSpacer as en } from "vuetify/lib/components/VGrid/index.mjs";
8
+ import { VRow as da, VCol as Wt, VSpacer as Xt } from "vuetify/lib/components/VGrid/index.mjs";
9
9
  import { VAlert as yo } from "vuetify/lib/components/VAlert/index.mjs";
10
10
  import { VIcon as me } from "vuetify/lib/components/VIcon/index.mjs";
11
11
  import { VCard as nt, VCardText as Cr, VCardActions as ka } from "vuetify/lib/components/VCard/index.mjs";
@@ -14,7 +14,7 @@ import { VTextarea as bo } from "vuetify/lib/components/VTextarea/index.mjs";
14
14
  import { VBtn as oe } from "vuetify/lib/components/VBtn/index.mjs";
15
15
  import { VBtnToggle as Wn } from "vuetify/lib/components/VBtnToggle/index.mjs";
16
16
  import { VLabel as Ar } from "vuetify/lib/components/VLabel/index.mjs";
17
- import { VList as rn, VListItem as Qe, VListItemTitle as tn, VListItemSubtitle as wo } from "vuetify/lib/components/VList/index.mjs";
17
+ import { VList as rn, VListItem as Qe, VListItemTitle as en, VListItemSubtitle as wo } from "vuetify/lib/components/VList/index.mjs";
18
18
  import { VMenu as Dt } from "vuetify/lib/components/VMenu/index.mjs";
19
19
  import { VTooltip as Ie } from "vuetify/lib/components/VTooltip/index.mjs";
20
20
  import { VToolbar as Dr, VToolbarTitle as _r } from "vuetify/lib/components/VToolbar/index.mjs";
@@ -24,7 +24,7 @@ import { VDialog as Da } from "vuetify/lib/components/VDialog/index.mjs";
24
24
  import { useFetch as ko, watchDebounced as _a, useClipboard as Mr, useStorage as xr, useIntervalFn as Co, useDebounceFn as Ao } from "@vueuse/core";
25
25
  import { VExpandTransition as Do } from "vuetify/lib/components/transitions/index.mjs";
26
26
  import _o from "@vuelidate/core";
27
- import { createI18nMessage as Ge, requiredIf as Mo, between as xo, email as To, maxLength as So, maxValue as $o, minLength as Oo, minValue as Po, numeric as Vo, required as Io, helpers as Tr, url as Fo } from "@vuelidate/validators";
27
+ import { createI18nMessage as Ge, requiredIf as Mo, between as xo, email as To, maxLength as So, maxValue as $o, minLength as Oo, minValue as Vo, numeric as Po, required as Io, helpers as Tr, url as Fo } from "@vuelidate/validators";
28
28
  import { VAutocomplete as on } from "vuetify/lib/components/VAutocomplete/index.mjs";
29
29
  import { VCheckboxBtn as Eo } from "vuetify/lib/components/VCheckbox/index.mjs";
30
30
  import { VSwitch as No } from "vuetify/lib/components/VSwitch/index.mjs";
@@ -34,7 +34,7 @@ import { VAvatar as ca } from "vuetify/lib/components/VAvatar/index.mjs";
34
34
  import { VAppBar as zo } from "vuetify/lib/components/VAppBar/index.mjs";
35
35
  import { VColorPicker as jo } from "vuetify/lib/components/VColorPicker/index.mjs";
36
36
  import { VDivider as Bo } from "vuetify/lib/components/VDivider/index.mjs";
37
- import { VBtn as Pn, VChip as Ro } from "vuetify/components";
37
+ import { VBtn as Vn, VChip as Ro } from "vuetify/components";
38
38
  const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
39
39
  __name: "ABooleanValue",
40
40
  props: {
@@ -70,7 +70,7 @@ const Uo = { key: 1 }, bp = /* @__PURE__ */ L({
70
70
  setup(t) {
71
71
  return (n, e) => (w(), E(da, null, {
72
72
  default: g(() => [
73
- b(qt, null, {
73
+ b(Wt, null, {
74
74
  default: g(() => [
75
75
  t.title.length ? (w(), H("h4", Yo, $(t.title), 1)) : Z("", !0),
76
76
  _e(n.$slots, "default", {}, () => [
@@ -268,7 +268,7 @@ const kp = /* @__PURE__ */ L({
268
268
  "onClick:append": v[0] || (v[0] = (k) => n("click:append", k)),
269
269
  onBlur: f,
270
270
  "onUpdate:modelValue": v[1] || (v[1] = (k) => l(k))
271
- }, an({ _: 2 }, [
271
+ }, nn({ _: 2 }, [
272
272
  t.hideLabel ? void 0 : {
273
273
  name: "label",
274
274
  fn: g(() => [
@@ -331,7 +331,7 @@ const kp = /* @__PURE__ */ L({
331
331
  "onClick:append": v[0] || (v[0] = (k) => n("click:append", k)),
332
332
  onBlur: f,
333
333
  "onUpdate:modelValue": v[1] || (v[1] = (k) => l(k))
334
- }, an({ _: 2 }, [
334
+ }, nn({ _: 2 }, [
335
335
  t.hideLabel ? void 0 : {
336
336
  name: "label",
337
337
  fn: g(() => [
@@ -345,7 +345,7 @@ const kp = /* @__PURE__ */ L({
345
345
  }), ti = {
346
346
  key: 0,
347
347
  class: "required"
348
- }, Pp = /* @__PURE__ */ L({
348
+ }, Vp = /* @__PURE__ */ L({
349
349
  __name: "AFormBooleanToggle",
350
350
  props: {
351
351
  modelValue: { default: null },
@@ -415,7 +415,7 @@ const kp = /* @__PURE__ */ L({
415
415
  }, 8, ["modelValue", "mandatory"])
416
416
  ], 64));
417
417
  }
418
- }), Vp = /* @__PURE__ */ L({
418
+ }), Pp = /* @__PURE__ */ L({
419
419
  __name: "ASystemEntityScope",
420
420
  props: {
421
421
  system: null,
@@ -445,11 +445,11 @@ const kp = /* @__PURE__ */ L({
445
445
  n("update:modelValue", ft(F));
446
446
  }
447
447
  }), { t: r } = K(), o = x(() => Math.ceil(a.value.totalCount / a.value.rowsPerPage)), l = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + 1), f = x(() => a.value.page * a.value.rowsPerPage - a.value.rowsPerPage + a.value.currentViewCount), u = x(() => a.value.page === 1), p = x(() => !ye(a.value.hasNextPage) || a.value.page === o.value), m = x(() => ye(a.value.hasNextPage) && a.value.page === o.value || a.value.hasNextPage === !1), d = x(() => ye(a.value.hasNextPage) ? a.value.totalCount : a.value.hasNextPage ? f.value + 1 + "+" : f.value), v = x(() => a.value.rowsPerPage);
448
- Pe(v, (F, R) => {
448
+ Oe(v, (F, R) => {
449
449
  F !== R && (a.value.page = 1, n("change"));
450
450
  });
451
451
  const k = x(() => a.value.page);
452
- Pe(k, (F, R) => {
452
+ Oe(k, (F, R) => {
453
453
  F !== R && n("change");
454
454
  });
455
455
  const I = () => {
@@ -458,7 +458,7 @@ const kp = /* @__PURE__ */ L({
458
458
  a.value.page = o.value;
459
459
  }, O = () => {
460
460
  a.value.page = a.value.page - 1;
461
- }, P = () => {
461
+ }, V = () => {
462
462
  a.value.page = a.value.page + 1;
463
463
  };
464
464
  return (F, R) => (w(), H("div", ni, [
@@ -516,7 +516,7 @@ const kp = /* @__PURE__ */ L({
516
516
  icon: "mdi-chevron-right",
517
517
  size: "small",
518
518
  variant: "text",
519
- onClick: ne(P, ["stop"])
519
+ onClick: ne(V, ["stop"])
520
520
  }, null, 8, ["disabled", "onClick"]),
521
521
  b(oe, {
522
522
  disabled: c(p),
@@ -575,7 +575,7 @@ const Fp = /* @__PURE__ */ L({
575
575
  default: g(() => [
576
576
  b(Qe, null, {
577
577
  default: g(() => [
578
- b(tn, null, {
578
+ b(en, null, {
579
579
  default: g(() => [
580
580
  te("strong", null, $(c(a)("common.system.datatable.displayCols")), 1)
581
581
  ]),
@@ -589,7 +589,7 @@ const Fp = /* @__PURE__ */ L({
589
589
  onClick: ne((p) => o(u.key), ["stop"])
590
590
  }, {
591
591
  default: g(() => [
592
- b(tn, null, {
592
+ b(en, null, {
593
593
  default: g(() => [
594
594
  r(u.key) ? (w(), E(me, {
595
595
  key: 0,
@@ -649,7 +649,7 @@ const Fp = /* @__PURE__ */ L({
649
649
  }), p = x(() => e.customOptions ? e.customOptions : e.variant === "most-relevant" ? f : l), m = (d) => {
650
650
  o.value = d.id;
651
651
  };
652
- return Pe(
652
+ return Oe(
653
653
  r,
654
654
  (d, v) => {
655
655
  if (S(v) || d === v)
@@ -658,7 +658,7 @@ const Fp = /* @__PURE__ */ L({
658
658
  k && n("sortByChange", k);
659
659
  },
660
660
  { immediate: !0 }
661
- ), Pe(
661
+ ), Oe(
662
662
  o,
663
663
  (d, v) => {
664
664
  S(v) || d === v || (r.value = d);
@@ -690,7 +690,7 @@ const Fp = /* @__PURE__ */ L({
690
690
  onClick: (I) => m(k)
691
691
  }, {
692
692
  default: g(() => [
693
- b(tn, {
693
+ b(en, {
694
694
  class: be({ "font-weight-bold": k.id === r.value })
695
695
  }, {
696
696
  default: g(() => [
@@ -730,7 +730,7 @@ const Fp = /* @__PURE__ */ L({
730
730
  ]),
731
731
  _: 3
732
732
  }),
733
- b(en),
733
+ b(Xt),
734
734
  b(oe, {
735
735
  class: "ml-2",
736
736
  icon: "mdi-close",
@@ -750,7 +750,7 @@ const Fp = /* @__PURE__ */ L({
750
750
  },
751
751
  setup(t) {
752
752
  const n = t, e = x(() => n.data);
753
- return Pe(
753
+ return Oe(
754
754
  e,
755
755
  (a) => {
756
756
  console.log(a);
@@ -905,7 +905,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
905
905
  default:
906
906
  return { type: "", value: t };
907
907
  }
908
- }, Vn = {
908
+ }, Pn = {
909
909
  IDLE: 0,
910
910
  DESTROYED: 2
911
911
  }, Ai = L({
@@ -1006,7 +1006,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1006
1006
  return n && (r[n] = "0px"), t && (t === "center" ? r.left = `calc(50% - ${+e / 2}${a})` : r[t] = "0px"), r;
1007
1007
  },
1008
1008
  active() {
1009
- return this.list.filter((t) => t.state !== Vn.DESTROYED);
1009
+ return this.list.filter((t) => t.state !== Pn.DESTROYED);
1010
1010
  },
1011
1011
  botToTop() {
1012
1012
  return this.styles.hasOwnProperty("bottom");
@@ -1039,7 +1039,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1039
1039
  title: r,
1040
1040
  text: o,
1041
1041
  type: l,
1042
- state: Vn.IDLE,
1042
+ state: Pn.IDLE,
1043
1043
  speed: e,
1044
1044
  length: n + 2 * e,
1045
1045
  data: f
@@ -1064,7 +1064,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1064
1064
  return this.isVA ? void 0 : { transition: `all ${t.speed}ms` };
1065
1065
  },
1066
1066
  destroy(t) {
1067
- clearTimeout(t.timer), t.state = Vn.DESTROYED, this.clean(), this.$emit("destroy", t);
1067
+ clearTimeout(t.timer), t.state = Pn.DESTROYED, this.clean(), this.$emit("destroy", t);
1068
1068
  },
1069
1069
  destroyById(t) {
1070
1070
  const n = this.list.find((e) => e.id === t);
@@ -1097,7 +1097,7 @@ const wi = /* @__PURE__ */ xa(yi, [["render", bi]]), ta = "[-+]?[0-9]*.?[0-9]+",
1097
1097
  });
1098
1098
  },
1099
1099
  clean() {
1100
- this.list = this.list.filter((t) => t.state !== Vn.DESTROYED);
1100
+ this.list = this.list.filter((t) => t.state !== Pn.DESTROYED);
1101
1101
  }
1102
1102
  }
1103
1103
  }), Di = ["data-id"], _i = ["onClick"], Mi = ["innerHTML"], xi = ["innerHTML"];
@@ -1180,13 +1180,13 @@ const lr = ["en", "sk"], le = vo({
1180
1180
  missing: (t, n) => {
1181
1181
  lr.includes(t) && console.warn(`Missing ${t} translation: ${n}`);
1182
1182
  }
1183
- }), Pr = (t) => t instanceof Ve;
1184
- class Ve extends Error {
1183
+ }), Vr = (t) => t instanceof Pe;
1184
+ class Pe extends Error {
1185
1185
  constructor(n, e = "") {
1186
1186
  super(e), this.name = "AnzuFatalError", this.cause = n, this.message = e;
1187
1187
  }
1188
1188
  }
1189
- const Pi = 200, Vi = 201, Vr = 204, Lp = 400, zp = 401, Ii = 403, Ir = 422, Fi = [Pi, Vi, Vr], _t = (t) => {
1189
+ const Vi = 200, Pi = 201, Pr = 204, Lp = 400, zp = 401, Ii = 403, Ir = 422, Fi = [Vi, Pi, Pr], _t = (t) => {
1190
1190
  var n;
1191
1191
  return Aa.isAxiosError(t) && ((n = t.response) == null ? void 0 : n.status) === Ii;
1192
1192
  }, Fr = (t) => t instanceof mt;
@@ -1250,8 +1250,8 @@ function Ta() {
1250
1250
  type: "success"
1251
1251
  });
1252
1252
  }, n = (y, O = Ze) => {
1253
- const { t: P } = le.global;
1254
- t(P(y), O);
1253
+ const { t: V } = le.global;
1254
+ t(V(y), O);
1255
1255
  }, e = (y, O = Ze) => {
1256
1256
  qe({
1257
1257
  group: "alerts",
@@ -1260,8 +1260,8 @@ function Ta() {
1260
1260
  type: "error"
1261
1261
  });
1262
1262
  }, a = (y, O = Ze) => {
1263
- const { t: P } = le.global;
1264
- e(P(y), O);
1263
+ const { t: V } = le.global;
1264
+ e(V(y), O);
1265
1265
  }, r = (y, O = Ze) => {
1266
1266
  qe({
1267
1267
  group: "alerts",
@@ -1270,8 +1270,8 @@ function Ta() {
1270
1270
  type: "info"
1271
1271
  });
1272
1272
  }, o = (y, O = Ze) => {
1273
- const { t: P } = le.global;
1274
- r(P(y), O);
1273
+ const { t: V } = le.global;
1274
+ r(V(y), O);
1275
1275
  }, l = (y, O = Ze) => {
1276
1276
  qe({
1277
1277
  group: "alerts",
@@ -1280,8 +1280,8 @@ function Ta() {
1280
1280
  type: "warning"
1281
1281
  });
1282
1282
  }, f = (y, O = Ze) => {
1283
- const { t: P } = le.global;
1284
- l(P(y), O);
1283
+ const { t: V } = le.global;
1284
+ l(V(y), O);
1285
1285
  }, u = (y = Ze) => {
1286
1286
  const { t: O } = le.global;
1287
1287
  qe({
@@ -1291,18 +1291,18 @@ function Ta() {
1291
1291
  type: "error"
1292
1292
  });
1293
1293
  }, p = (y, O = Ze) => {
1294
- const { t: P } = le.global;
1294
+ const { t: V } = le.global;
1295
1295
  qe({
1296
1296
  group: "alerts",
1297
- text: P("common.alert.recordWas." + y),
1297
+ text: V("common.alert.recordWas." + y),
1298
1298
  duration: O * 1e3,
1299
1299
  type: "success"
1300
1300
  });
1301
- }, m = (y, O = -1, P = !1) => {
1301
+ }, m = (y, O = -1, V = !1) => {
1302
1302
  const { t: F, te: R } = le.global, U = [F("common.alert.fixApiValidationErrors")];
1303
1303
  for (let ae = 0; ae < y.length; ae++) {
1304
1304
  let ee = "";
1305
- P ? ee += y[ae].field : R(y[ae].field) && (ee += F(y[ae].field));
1305
+ V ? ee += y[ae].field : R(y[ae].field) && (ee += F(y[ae].field));
1306
1306
  const ue = /* @__PURE__ */ new Set();
1307
1307
  for (let pe = 0; pe < y[ae].errors.length; pe++) {
1308
1308
  if (R("error.apiValidation." + y[ae].errors[pe])) {
@@ -1320,9 +1320,9 @@ function Ta() {
1320
1320
  type: "error"
1321
1321
  });
1322
1322
  }, d = (y, O = -1) => {
1323
- const { t: P, te: F } = le.global;
1324
- let R = P("error.apiForbiddenOperation.noTranslation");
1325
- F("error.apiForbiddenOperation." + y) && (R = P("error.apiForbiddenOperation." + y)), qe({
1323
+ const { t: V, te: F } = le.global;
1324
+ let R = V("error.apiForbiddenOperation.noTranslation");
1325
+ F("error.apiForbiddenOperation." + y) && (R = V("error.apiForbiddenOperation." + y)), qe({
1326
1326
  group: "alerts",
1327
1327
  text: R,
1328
1328
  duration: O * 1e3,
@@ -1360,7 +1360,7 @@ function Ta() {
1360
1360
  showApiForbiddenOperationError: d,
1361
1361
  showUnknownError: v,
1362
1362
  showForbiddenError: k,
1363
- showErrorsDefault: (y) => Fr(y) ? (k(), !0) : Er(y) ? (m(y.fields), !0) : zi(y) ? (d(y.detail), !0) : Pr(y) || Nr(y) ? (v(), !0) : !1
1363
+ showErrorsDefault: (y) => Fr(y) ? (k(), !0) : Er(y) ? (m(y.fields), !0) : zi(y) ? (d(y.detail), !0) : Vr(y) || Nr(y) ? (v(), !0) : !1
1364
1364
  };
1365
1365
  }
1366
1366
  const jp = /* @__PURE__ */ L({
@@ -1441,7 +1441,7 @@ const jp = /* @__PURE__ */ L({
1441
1441
  }),
1442
1442
  b(ka, null, {
1443
1443
  default: g(() => [
1444
- b(en),
1444
+ b(Xt),
1445
1445
  b(I, {
1446
1446
  "data-cy": "button-cancel",
1447
1447
  onClick: ne(l, ["stop"])
@@ -1484,7 +1484,7 @@ const jp = /* @__PURE__ */ L({
1484
1484
  },
1485
1485
  setup(t) {
1486
1486
  const n = t, { t: e } = K(), a = J([]);
1487
- return zt(async () => {
1487
+ return an(async () => {
1488
1488
  if (n.configUrl && n.configUrl.length > 0)
1489
1489
  try {
1490
1490
  const { data: r } = await ko(n.configUrl).get().json();
@@ -1565,7 +1565,7 @@ var fa = {}, qi = {
1565
1565
  (function(e, a) {
1566
1566
  t.exports = a();
1567
1567
  })(Sa, function() {
1568
- var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", f = "minute", u = "hour", p = "day", m = "week", d = "month", v = "quarter", k = "year", I = "date", y = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
1568
+ var e = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", f = "minute", u = "hour", p = "day", m = "week", d = "month", v = "quarter", k = "year", I = "date", y = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(D) {
1569
1569
  var C = ["th", "st", "nd", "rd"], _ = D % 100;
1570
1570
  return "[" + D + (C[(_ - 20) % 10] || C[_] || C[0]) + "]";
1571
1571
  } }, R = function(D, C, _) {
@@ -1728,7 +1728,7 @@ var fa = {}, qi = {
1728
1728
  var Je = ke < 12 ? "AM" : "PM";
1729
1729
  return ot ? Je.toLowerCase() : Je;
1730
1730
  }, Te = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: ge + 1, MM: Q.s(ge + 1, 2, "0"), MMM: xe(T.monthsShort, ge, Ne, 3), MMMM: xe(Ne, ge), D: this.$D, DD: Q.s(this.$D, 2, "0"), d: String(this.$W), dd: xe(T.weekdaysMin, this.$W, Ce, 2), ddd: xe(T.weekdaysShort, this.$W, Ce, 3), dddd: Ce[this.$W], H: String(se), HH: Q.s(se, 2, "0"), h: He(1), hh: He(2), a: Le(se, he, !0), A: Le(se, he, !1), m: String(he), mm: Q.s(he, 2, "0"), s: String(this.$s), ss: Q.s(this.$s, 2, "0"), SSS: Q.s(this.$ms, 3, "0"), Z: G };
1731
- return j.replace(P, function(ke, ze) {
1731
+ return j.replace(V, function(ke, ze) {
1732
1732
  return ze || Te[ke] || G.replace(":", "");
1733
1733
  });
1734
1734
  }, C.utcOffset = function() {
@@ -1807,9 +1807,9 @@ var ma = {}, Ki = {
1807
1807
  };
1808
1808
  var d = u.utcOffset;
1809
1809
  u.utcOffset = function(y, O) {
1810
- var P = this.$utils().u;
1811
- if (P(y))
1812
- return this.$u ? 0 : P(this.$offset) ? d.call(this) : this.$offset;
1810
+ var V = this.$utils().u;
1811
+ if (V(y))
1812
+ return this.$u ? 0 : V(this.$offset) ? d.call(this) : this.$offset;
1813
1813
  if (typeof y == "string" && (y = function(ae) {
1814
1814
  ae === void 0 && (ae = "");
1815
1815
  var ee = ae.match(a);
@@ -1848,11 +1848,11 @@ var ma = {}, Ki = {
1848
1848
  return y === "s" && this.$offset ? f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
1849
1849
  };
1850
1850
  var I = u.diff;
1851
- u.diff = function(y, O, P) {
1851
+ u.diff = function(y, O, V) {
1852
1852
  if (y && this.$u === y.$u)
1853
- return I.call(this, y, O, P);
1853
+ return I.call(this, y, O, V);
1854
1854
  var F = this.local(), R = f(y).local();
1855
- return I.call(F, R, O, P);
1855
+ return I.call(F, R, O, V);
1856
1856
  };
1857
1857
  };
1858
1858
  });
@@ -2127,7 +2127,7 @@ const Zp = /* @__PURE__ */ L({
2127
2127
  dense: ""
2128
2128
  }, {
2129
2129
  default: g(() => [
2130
- b(qt, { class: "" }, {
2130
+ b(Wt, { class: "" }, {
2131
2131
  default: g(() => [
2132
2132
  _e(o.$slots, "top")
2133
2133
  ]),
@@ -2138,7 +2138,7 @@ const Zp = /* @__PURE__ */ L({
2138
2138
  })) : Z("", !0),
2139
2139
  b(da, { dense: "" }, {
2140
2140
  default: g(() => [
2141
- t.enableAdvanced ? (w(), E(qt, {
2141
+ t.enableAdvanced ? (w(), E(Wt, {
2142
2142
  key: 0,
2143
2143
  class: "v-col-filters--show-hide",
2144
2144
  cols: "auto"
@@ -2151,7 +2151,7 @@ const Zp = /* @__PURE__ */ L({
2151
2151
  ]),
2152
2152
  _: 1
2153
2153
  })) : Z("", !0),
2154
- b(qt, { class: "" }, {
2154
+ b(Wt, { class: "" }, {
2155
2155
  default: g(() => [
2156
2156
  _e(o.$slots, "default"),
2157
2157
  t.enableAdvanced ? (w(), E(Do, { key: 0 }, {
@@ -2167,7 +2167,7 @@ const Zp = /* @__PURE__ */ L({
2167
2167
  ]),
2168
2168
  _: 3
2169
2169
  }),
2170
- t.hideButtons ? Z("", !0) : (w(), E(qt, {
2170
+ t.hideButtons ? Z("", !0) : (w(), E(Wt, {
2171
2171
  key: 1,
2172
2172
  class: "v-col-filters--buttons text-right",
2173
2173
  cols: "auto"
@@ -2409,7 +2409,7 @@ const cl = /* @__PURE__ */ L({
2409
2409
  },
2410
2410
  setup(t) {
2411
2411
  const n = t, e = we(Kn), { can: a } = dl(), r = J(a(n.permission, n.subject));
2412
- return Pe(e, () => {
2412
+ return Oe(e, () => {
2413
2413
  r.value = a(n.permission, n.subject);
2414
2414
  }), (o, l) => r.value ? _e(o.$slots, "default", { key: 0 }) : Z("", !0);
2415
2415
  }
@@ -2499,7 +2499,7 @@ var na = [
2499
2499
  time_24hr: !1,
2500
2500
  weekNumbers: !1,
2501
2501
  wrap: !1
2502
- }, nn = {
2502
+ }, tn = {
2503
2503
  weekdays: {
2504
2504
  shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
2505
2505
  longhand: [
@@ -2586,7 +2586,7 @@ function sr(t, n) {
2586
2586
  var aa = function(t) {
2587
2587
  return t instanceof Array ? t : [t];
2588
2588
  };
2589
- function Oe(t, n, e) {
2589
+ function Ve(t, n, e) {
2590
2590
  if (e === !0)
2591
2591
  return t.classList.add(n);
2592
2592
  t.classList.remove(n);
@@ -2715,18 +2715,18 @@ var ra = function() {
2715
2715
  u: "(.+)",
2716
2716
  w: "(\\d\\d|\\d)",
2717
2717
  y: "(\\d{2})"
2718
- }, Gt = {
2718
+ }, Kt = {
2719
2719
  Z: function(t) {
2720
2720
  return t.toISOString();
2721
2721
  },
2722
2722
  D: function(t, n, e) {
2723
- return n.weekdays.shorthand[Gt.w(t, n, e)];
2723
+ return n.weekdays.shorthand[Kt.w(t, n, e)];
2724
2724
  },
2725
2725
  F: function(t, n, e) {
2726
- return Un(Gt.n(t, n, e) - 1, !1, n);
2726
+ return Un(Kt.n(t, n, e) - 1, !1, n);
2727
2727
  },
2728
2728
  G: function(t, n, e) {
2729
- return Fe(Gt.h(t, n, e));
2729
+ return Fe(Kt.h(t, n, e));
2730
2730
  },
2731
2731
  H: function(t) {
2732
2732
  return Fe(t.getHours());
@@ -2786,15 +2786,15 @@ var ra = function() {
2786
2786
  return String(t.getFullYear()).substring(2);
2787
2787
  }
2788
2788
  }, Gr = function(t) {
2789
- var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? nn : a, o = t.isMobile, l = o === void 0 ? !1 : o;
2789
+ var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? tn : a, o = t.isMobile, l = o === void 0 ? !1 : o;
2790
2790
  return function(f, u, p) {
2791
2791
  var m = p || r;
2792
2792
  return e.formatDate !== void 0 && !l ? e.formatDate(f, u, m) : u.split("").map(function(d, v, k) {
2793
- return Gt[d] && k[v - 1] !== "\\" ? Gt[d](f, m, e) : d !== "\\" ? d : "";
2793
+ return Kt[d] && k[v - 1] !== "\\" ? Kt[d](f, m, e) : d !== "\\" ? d : "";
2794
2794
  }).join("");
2795
2795
  };
2796
2796
  }, ha = function(t) {
2797
- var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? nn : a;
2797
+ var n = t.config, e = n === void 0 ? Ft : n, a = t.l10n, r = a === void 0 ? tn : a;
2798
2798
  return function(o, l, f, u) {
2799
2799
  if (!(o !== 0 && !o)) {
2800
2800
  var p = u || r, m, d = o;
@@ -2811,14 +2811,14 @@ var ra = function() {
2811
2811
  else if (/Z$/.test(k) || /GMT$/.test(k))
2812
2812
  m = new Date(o);
2813
2813
  else {
2814
- for (var I = void 0, y = [], O = 0, P = 0, F = ""; O < v.length; O++) {
2814
+ for (var I = void 0, y = [], O = 0, V = 0, F = ""; O < v.length; O++) {
2815
2815
  var R = v[O], U = R === "\\", ae = v[O - 1] === "\\" || U;
2816
2816
  if (kt[R] && !ae) {
2817
2817
  F += kt[R];
2818
2818
  var ee = new RegExp(F).exec(o);
2819
2819
  ee && (I = !0) && y[R !== "Y" ? "push" : "unshift"]({
2820
2820
  fn: fl[R],
2821
- val: ee[++P]
2821
+ val: ee[++V]
2822
2822
  });
2823
2823
  } else
2824
2824
  U || (F += ".");
@@ -2897,9 +2897,9 @@ var $e = globalThis && globalThis.__assign || function() {
2897
2897
  function vl(t, n) {
2898
2898
  var e = {
2899
2899
  config: $e($e({}, Ft), Ae.defaultConfig),
2900
- l10n: nn
2900
+ l10n: tn
2901
2901
  };
2902
- e.parseDate = ha({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = F, e.updateValue = We, e.open = sn, e.redraw = Ut, e.set = fn, e.setDate = mn, e.toggle = vn;
2902
+ e.parseDate = ha({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = y, e._setHoursFromDate = v, e._positionCalendar = yt, e.changeMonth = he, e.changeYear = Le, e.clear = ge, e.close = Ce, e.onMouseOver = Je, e._createElement = ce, e.createDay = ee, e.destroy = Ne, e.isEnabled = Te, e.jumpToDate = F, e.updateValue = We, e.open = sn, e.redraw = Rt, e.set = fn, e.setDate = mn, e.toggle = vn;
2903
2903
  function a() {
2904
2904
  e.utils = {
2905
2905
  getDaysInMonth: function(i, s) {
@@ -2908,7 +2908,7 @@ function vl(t, n) {
2908
2908
  };
2909
2909
  }
2910
2910
  function r() {
2911
- e.element = e.input = t, e.isOpen = !1, un(), Rt(), hn(), pn(), a(), e.isMobile || ae(), P(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), f();
2911
+ e.element = e.input = t, e.isOpen = !1, un(), Bt(), hn(), pn(), a(), e.isMobile || ae(), V(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), We(!1)), f();
2912
2912
  var i = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
2913
2913
  !e.isMobile && i && yt(), ve("onReady");
2914
2914
  }
@@ -2953,7 +2953,7 @@ function vl(t, n) {
2953
2953
  if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
2954
2954
  var i = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, s = (parseInt(e.minuteElement.value, 10) || 0) % 60, h = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
2955
2955
  e.amPM !== void 0 && (i = p(i, e.amPM.textContent));
2956
- var A = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0, V = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
2956
+ var A = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.minDate, !0) === 0, P = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Re(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
2957
2957
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
2958
2958
  var N = oa(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), X = oa(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Y = oa(i, s, h);
2959
2959
  if (Y > X && Y < N) {
@@ -2961,7 +2961,7 @@ function vl(t, n) {
2961
2961
  i = re[0], s = re[1], h = re[2];
2962
2962
  }
2963
2963
  } else {
2964
- if (V) {
2964
+ if (P) {
2965
2965
  var B = e.config.maxTime !== void 0 ? e.config.maxTime : e.config.maxDate;
2966
2966
  i = Math.min(i, B.getHours()), i === B.getHours() && (s = Math.min(s, B.getMinutes())), s === B.getMinutes() && (h = Math.min(h, B.getSeconds()));
2967
2967
  }
@@ -2986,12 +2986,12 @@ function vl(t, n) {
2986
2986
  }
2987
2987
  function y(i, s, h, A) {
2988
2988
  if (s instanceof Array)
2989
- return s.forEach(function(V) {
2990
- return y(i, V, h, A);
2989
+ return s.forEach(function(P) {
2990
+ return y(i, P, h, A);
2991
2991
  });
2992
2992
  if (i instanceof Array)
2993
- return i.forEach(function(V) {
2994
- return y(V, s, h, A);
2993
+ return i.forEach(function(P) {
2994
+ return y(P, s, h, A);
2995
2995
  });
2996
2996
  i.addEventListener(s, h, A), e._handlers.push({
2997
2997
  remove: function() {
@@ -3002,7 +3002,7 @@ function vl(t, n) {
3002
3002
  function O() {
3003
3003
  ve("onChange");
3004
3004
  }
3005
- function P() {
3005
+ function V() {
3006
3006
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(h) {
3007
3007
  Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + h + "]"), function(A) {
3008
3008
  return y(A, "click", e[h]);
@@ -3014,7 +3014,7 @@ function vl(t, n) {
3014
3014
  var i = sr(ln, 50);
3015
3015
  if (e._debouncedChange = sr(O, gl), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && y(e.daysContainer, "mouseover", function(h) {
3016
3016
  e.config.mode === "range" && Je(Be(h));
3017
- }), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"], I), y(e.daysContainer, "click", Yt)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
3017
+ }), y(e._input, "keydown", ot), e.calendarContainer !== void 0 && y(e.calendarContainer, "keydown", ot), !e.config.inline && !e.config.static && y(window, "resize", i), window.ontouchstart !== void 0 ? y(window.document, "touchstart", He) : y(window.document, "mousedown", He), y(window.document, "focus", He, { capture: !0 }), e.config.clickOpens === !0 && (y(e._input, "focus", e.open), y(e._input, "click", e.open)), e.daysContainer !== void 0 && (y(e.monthNav, "click", bn), y(e.monthNav, ["keyup", "increment"], I), y(e.daysContainer, "click", Ut)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
3018
3018
  var s = function(h) {
3019
3019
  return Be(h).select();
3020
3020
  };
@@ -3027,21 +3027,21 @@ function vl(t, n) {
3027
3027
  e.config.allowInput && y(e._input, "blur", ze);
3028
3028
  }
3029
3029
  function F(i, s) {
3030
- var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), A = e.currentYear, V = e.currentMonth;
3030
+ var h = i !== void 0 ? e.parseDate(i) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), A = e.currentYear, P = e.currentMonth;
3031
3031
  try {
3032
3032
  h !== void 0 && (e.currentYear = h.getFullYear(), e.currentMonth = h.getMonth());
3033
3033
  } catch (N) {
3034
3034
  N.message = "Invalid date supplied: " + h, e.config.errorHandler(N);
3035
3035
  }
3036
- s && e.currentYear !== A && (ve("onYearChange"), D()), s && (e.currentYear !== A || e.currentMonth !== V) && ve("onMonthChange"), e.redraw();
3036
+ s && e.currentYear !== A && (ve("onYearChange"), D()), s && (e.currentYear !== A || e.currentMonth !== P) && ve("onMonthChange"), e.redraw();
3037
3037
  }
3038
3038
  function R(i) {
3039
3039
  var s = Be(i);
3040
3040
  ~s.className.indexOf("arrow") && U(i, s.classList.contains("arrowUp") ? 1 : -1);
3041
3041
  }
3042
3042
  function U(i, s, h) {
3043
- var A = i && Be(i), V = h || A && A.parentNode && A.parentNode.firstChild, N = Ot("increment");
3044
- N.delta = s, V && V.dispatchEvent(N);
3043
+ var A = i && Be(i), P = h || A && A.parentNode && A.parentNode.firstChild, N = Ot("increment");
3044
+ N.delta = s, P && P.dispatchEvent(N);
3045
3045
  }
3046
3046
  function ae() {
3047
3047
  var i = window.document.createDocumentFragment();
@@ -3052,49 +3052,49 @@ function vl(t, n) {
3052
3052
  }
3053
3053
  e.rContainer = ce("div", "flatpickr-rContainer"), e.rContainer.appendChild(j()), e.daysContainer || (e.daysContainer = ce("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), W(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), i.appendChild(e.innerContainer);
3054
3054
  }
3055
- e.config.enableTime && i.appendChild(T()), Oe(e.calendarContainer, "rangeMode", e.config.mode === "range"), Oe(e.calendarContainer, "animate", e.config.animate === !0), Oe(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
3056
- var V = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
3057
- if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!V && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
3055
+ e.config.enableTime && i.appendChild(T()), Ve(e.calendarContainer, "rangeMode", e.config.mode === "range"), Ve(e.calendarContainer, "animate", e.config.animate === !0), Ve(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(i);
3056
+ var P = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
3057
+ if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!P && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
3058
3058
  var N = ce("div", "flatpickr-wrapper");
3059
3059
  e.element.parentNode && e.element.parentNode.insertBefore(N, e.element), N.appendChild(e.element), e.altInput && N.appendChild(e.altInput), N.appendChild(e.calendarContainer);
3060
3060
  }
3061
3061
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
3062
3062
  }
3063
3063
  function ee(i, s, h, A) {
3064
- var V = Te(s, !0), N = ce("span", i, s.getDate().toString());
3065
- return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), V ? (N.tabIndex = -1, Pt(s) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Oe(N, "startRange", e.selectedDates[0] && Re(s, e.selectedDates[0], !0) === 0), Oe(N, "endRange", e.selectedDates[1] && Re(s, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && yn(s) && !Pt(s) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && A % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(s) + "</span>"), ve("onDayCreate", N), N;
3064
+ var P = Te(s, !0), N = ce("span", i, s.getDate().toString());
3065
+ return N.dateObj = s, N.$i = A, N.setAttribute("aria-label", e.formatDate(s, e.config.ariaDateFormat)), i.indexOf("hidden") === -1 && Re(s, e.now) === 0 && (e.todayDateElem = N, N.classList.add("today"), N.setAttribute("aria-current", "date")), P ? (N.tabIndex = -1, Vt(s) && (N.classList.add("selected"), e.selectedDateElem = N, e.config.mode === "range" && (Ve(N, "startRange", e.selectedDates[0] && Re(s, e.selectedDates[0], !0) === 0), Ve(N, "endRange", e.selectedDates[1] && Re(s, e.selectedDates[1], !0) === 0), i === "nextMonthDay" && N.classList.add("inRange")))) : N.classList.add("flatpickr-disabled"), e.config.mode === "range" && yn(s) && !Vt(s) && N.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && i !== "prevMonthDay" && A % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(s) + "</span>"), ve("onDayCreate", N), N;
3066
3066
  }
3067
3067
  function ue(i) {
3068
3068
  i.focus(), e.config.mode === "range" && Je(i);
3069
3069
  }
3070
3070
  function pe(i) {
3071
3071
  for (var s = i > 0 ? 0 : e.config.showMonths - 1, h = i > 0 ? e.config.showMonths : -1, A = s; A != h; A += i)
3072
- for (var V = e.daysContainer.children[A], N = i > 0 ? 0 : V.children.length - 1, X = i > 0 ? V.children.length : -1, Y = N; Y != X; Y += i) {
3073
- var re = V.children[Y];
3072
+ for (var P = e.daysContainer.children[A], N = i > 0 ? 0 : P.children.length - 1, X = i > 0 ? P.children.length : -1, Y = N; Y != X; Y += i) {
3073
+ var re = P.children[Y];
3074
3074
  if (re.className.indexOf("hidden") === -1 && Te(re.dateObj))
3075
3075
  return re;
3076
3076
  }
3077
3077
  }
3078
3078
  function ie(i, s) {
3079
- for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, A = s > 0 ? e.config.showMonths : -1, V = s > 0 ? 1 : -1, N = h - e.currentMonth; N != A; N += V)
3080
- for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length, B = Y; B >= 0 && B < re && B != (s > 0 ? re : -1); B += V) {
3079
+ for (var h = i.className.indexOf("Month") === -1 ? i.dateObj.getMonth() : e.currentMonth, A = s > 0 ? e.config.showMonths : -1, P = s > 0 ? 1 : -1, N = h - e.currentMonth; N != A; N += P)
3080
+ for (var X = e.daysContainer.children[N], Y = h - e.currentMonth === N ? i.$i + s : s < 0 ? X.children.length - 1 : 0, re = X.children.length, B = Y; B >= 0 && B < re && B != (s > 0 ? re : -1); B += P) {
3081
3081
  var q = X.children[B];
3082
3082
  if (q.className.indexOf("hidden") === -1 && Te(q.dateObj) && Math.abs(i.$i - B) >= Math.abs(s))
3083
3083
  return ue(q);
3084
3084
  }
3085
- e.changeMonth(V), Q(pe(V), 0);
3085
+ e.changeMonth(P), Q(pe(P), 0);
3086
3086
  }
3087
3087
  function Q(i, s) {
3088
- var h = o(), A = ke(h || document.body), V = i !== void 0 ? i : A ? h : e.selectedDateElem !== void 0 && ke(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && ke(e.todayDateElem) ? e.todayDateElem : pe(s > 0 ? 1 : -1);
3089
- V === void 0 ? e._input.focus() : A ? ie(V, s) : ue(V);
3088
+ var h = o(), A = ke(h || document.body), P = i !== void 0 ? i : A ? h : e.selectedDateElem !== void 0 && ke(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && ke(e.todayDateElem) ? e.todayDateElem : pe(s > 0 ? 1 : -1);
3089
+ P === void 0 ? e._input.focus() : A ? ie(P, s) : ue(P);
3090
3090
  }
3091
3091
  function Me(i, s) {
3092
- for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), V = e.utils.getDaysInMonth(s, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay", B = A + 1 - h, q = 0; B <= A; B++, q++)
3092
+ for (var h = (new Date(i, s, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, A = e.utils.getDaysInMonth((s - 1 + 12) % 12, i), P = e.utils.getDaysInMonth(s, i), N = window.document.createDocumentFragment(), X = e.config.showMonths > 1, Y = X ? "prevMonthDay hidden" : "prevMonthDay", re = X ? "nextMonthDay hidden" : "nextMonthDay", B = A + 1 - h, q = 0; B <= A; B++, q++)
3093
3093
  N.appendChild(ee("flatpickr-day " + Y, new Date(i, s - 1, B), B, q));
3094
- for (B = 1; B <= V; B++, q++)
3094
+ for (B = 1; B <= P; B++, q++)
3095
3095
  N.appendChild(ee("flatpickr-day", new Date(i, s, B), B, q));
3096
- for (var fe = V + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
3097
- N.appendChild(ee("flatpickr-day " + re, new Date(i, s + 1, fe % V), fe, q));
3096
+ for (var fe = P + 1; fe <= 42 - h && (e.config.showMonths === 1 || q % 7 !== 0); fe++, q++)
3097
+ N.appendChild(ee("flatpickr-day " + re, new Date(i, s + 1, fe % P), fe, q));
3098
3098
  var je = ce("div", "dayContainer");
3099
3099
  return je.appendChild(N), je;
3100
3100
  }
@@ -3127,12 +3127,12 @@ function vl(t, n) {
3127
3127
  var Y = Be(X), re = parseInt(Y.value, 10);
3128
3128
  e.changeMonth(re - e.currentMonth), ve("onMonthChange");
3129
3129
  }), D(), h = e.monthsDropdownContainer);
3130
- var A = Fn("cur-year", { tabindex: "-1" }), V = A.getElementsByTagName("input")[0];
3131
- V.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && V.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (V.setAttribute("max", e.config.maxDate.getFullYear().toString()), V.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
3130
+ var A = Fn("cur-year", { tabindex: "-1" }), P = A.getElementsByTagName("input")[0];
3131
+ P.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && P.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (P.setAttribute("max", e.config.maxDate.getFullYear().toString()), P.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
3132
3132
  var N = ce("div", "flatpickr-current-month");
3133
3133
  return N.appendChild(h), N.appendChild(A), s.appendChild(N), i.appendChild(s), {
3134
3134
  container: i,
3135
- yearElement: V,
3135
+ yearElement: P,
3136
3136
  monthElement: h
3137
3137
  };
3138
3138
  }
@@ -3150,14 +3150,14 @@ function vl(t, n) {
3150
3150
  return e.__hidePrevMonthArrow;
3151
3151
  },
3152
3152
  set: function(i) {
3153
- e.__hidePrevMonthArrow !== i && (Oe(e.prevMonthNav, "flatpickr-disabled", i), e.__hidePrevMonthArrow = i);
3153
+ e.__hidePrevMonthArrow !== i && (Ve(e.prevMonthNav, "flatpickr-disabled", i), e.__hidePrevMonthArrow = i);
3154
3154
  }
3155
3155
  }), Object.defineProperty(e, "_hideNextMonthArrow", {
3156
3156
  get: function() {
3157
3157
  return e.__hideNextMonthArrow;
3158
3158
  },
3159
3159
  set: function(i) {
3160
- e.__hideNextMonthArrow !== i && (Oe(e.nextMonthNav, "flatpickr-disabled", i), e.__hideNextMonthArrow = i);
3160
+ e.__hideNextMonthArrow !== i && (Ve(e.nextMonthNav, "flatpickr-disabled", i), e.__hideNextMonthArrow = i);
3161
3161
  }
3162
3162
  }), e.currentYearElement = e.yearElements[0], wt(), e.monthNav;
3163
3163
  }
@@ -3174,8 +3174,8 @@ function vl(t, n) {
3174
3174
  });
3175
3175
  if (e.minuteElement = A.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? i.hours : m(i.hours)), e.minuteElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : i.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(h), e.timeContainer.appendChild(s), e.timeContainer.appendChild(A), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
3176
3176
  e.timeContainer.classList.add("hasSeconds");
3177
- var V = Fn("flatpickr-second");
3178
- e.secondElement = V.getElementsByTagName("input")[0], e.secondElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : i.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ce("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(V);
3177
+ var P = Fn("flatpickr-second");
3178
+ e.secondElement = P.getElementsByTagName("input")[0], e.secondElement.value = Fe(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : i.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(ce("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(P);
3179
3179
  }
3180
3180
  return e.config.time_24hr || (e.amPM = ce("span", "flatpickr-am-pm", e.l10n.amPM[Ke((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
3181
3181
  }
@@ -3216,8 +3216,8 @@ function vl(t, n) {
3216
3216
  }
3217
3217
  function ge(i, s) {
3218
3218
  if (i === void 0 && (i = !0), s === void 0 && (s = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, s === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
3219
- var h = ia(e.config), A = h.hours, V = h.minutes, N = h.seconds;
3220
- k(A, V, N);
3219
+ var h = ia(e.config), A = h.hours, P = h.minutes, N = h.seconds;
3220
+ k(A, P, N);
3221
3221
  }
3222
3222
  e.redraw(), i && ve("onChange");
3223
3223
  }
@@ -3282,10 +3282,10 @@ function vl(t, n) {
3282
3282
  }
3283
3283
  function He(i) {
3284
3284
  if (e.isOpen && !e.config.inline) {
3285
- var s = Be(i), h = xe(s), A = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), V = !A && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3285
+ var s = Be(i), h = xe(s), A = s === e.input || s === e.altInput || e.element.contains(s) || i.path && i.path.indexOf && (~i.path.indexOf(e.input) || ~i.path.indexOf(e.altInput)), P = !A && !h && !xe(i.relatedTarget), N = !e.config.ignoredFocusElements.some(function(X) {
3286
3286
  return X.contains(s);
3287
3287
  });
3288
- V && N && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && u(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
3288
+ P && N && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && u(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
3289
3289
  }
3290
3290
  }
3291
3291
  function Le(i) {
@@ -3304,37 +3304,37 @@ function vl(t, n) {
3304
3304
  return !0;
3305
3305
  if (A === void 0)
3306
3306
  return !1;
3307
- for (var V = !!e.config.enable, N = (h = e.config.enable) !== null && h !== void 0 ? h : e.config.disable, X = 0, Y = void 0; X < N.length; X++) {
3307
+ for (var P = !!e.config.enable, N = (h = e.config.enable) !== null && h !== void 0 ? h : e.config.disable, X = 0, Y = void 0; X < N.length; X++) {
3308
3308
  if (Y = N[X], typeof Y == "function" && Y(A))
3309
- return V;
3309
+ return P;
3310
3310
  if (Y instanceof Date && A !== void 0 && Y.getTime() === A.getTime())
3311
- return V;
3311
+ return P;
3312
3312
  if (typeof Y == "string") {
3313
3313
  var re = e.parseDate(Y, void 0, !0);
3314
- return re && re.getTime() === A.getTime() ? V : !V;
3314
+ return re && re.getTime() === A.getTime() ? P : !P;
3315
3315
  } else if (typeof Y == "object" && A !== void 0 && Y.from && Y.to && A.getTime() >= Y.from.getTime() && A.getTime() <= Y.to.getTime())
3316
- return V;
3316
+ return P;
3317
3317
  }
3318
- return !V;
3318
+ return !P;
3319
3319
  }
3320
3320
  function ke(i) {
3321
3321
  return e.daysContainer !== void 0 ? i.className.indexOf("hidden") === -1 && i.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(i) : !1;
3322
3322
  }
3323
3323
  function ze(i) {
3324
- var s = i.target === e._input, h = e._input.value.trimEnd() !== Vt();
3324
+ var s = i.target === e._input, h = e._input.value.trimEnd() !== Pt();
3325
3325
  s && h && !(i.relatedTarget && xe(i.relatedTarget)) && e.setDate(e._input.value, !0, i.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
3326
3326
  }
3327
3327
  function ot(i) {
3328
- var s = Be(i), h = e.config.wrap ? t.contains(s) : s === e._input, A = e.config.allowInput, V = e.isOpen && (!A || !h), N = e.config.inline && h && !A;
3328
+ var s = Be(i), h = e.config.wrap ? t.contains(s) : s === e._input, A = e.config.allowInput, P = e.isOpen && (!A || !h), N = e.config.inline && h && !A;
3329
3329
  if (i.keyCode === 13 && h) {
3330
3330
  if (A)
3331
3331
  return e.setDate(e._input.value, !0, s === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), s.blur();
3332
3332
  e.open();
3333
- } else if (xe(s) || V || N) {
3333
+ } else if (xe(s) || P || N) {
3334
3334
  var X = !!e.timeContainer && e.timeContainer.contains(s);
3335
3335
  switch (i.keyCode) {
3336
3336
  case 13:
3337
- X ? (i.preventDefault(), u(), $t()) : Yt(i);
3337
+ X ? (i.preventDefault(), u(), $t()) : Ut(i);
3338
3338
  break;
3339
3339
  case 27:
3340
3340
  i.preventDefault(), $t();
@@ -3395,8 +3395,8 @@ function vl(t, n) {
3395
3395
  }
3396
3396
  function Je(i, s) {
3397
3397
  if (s === void 0 && (s = "flatpickr-day"), !(e.selectedDates.length !== 1 || i && (!i.classList.contains(s) || i.classList.contains("flatpickr-disabled")))) {
3398
- for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), V = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, re = 0, B = V; B < N; B += hl.DAY)
3399
- Te(new Date(B), !0) || (X = X || B > V && B < N, B < A && (!Y || B > Y) ? Y = B : B > A && (!re || B < re) && (re = B));
3398
+ for (var h = i ? i.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), A = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), P = Math.min(h, e.selectedDates[0].getTime()), N = Math.max(h, e.selectedDates[0].getTime()), X = !1, Y = 0, re = 0, B = P; B < N; B += hl.DAY)
3399
+ Te(new Date(B), !0) || (X = X || B > P && B < N, B < A && (!Y || B > Y) ? Y = B : B > A && (!re || B < re) && (re = B));
3400
3400
  var q = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + s));
3401
3401
  q.forEach(function(fe) {
3402
3402
  var je = fe.dateObj, Se = je.getTime(), ut = Y > 0 && Se < Y || re > 0 && Se > re;
@@ -3432,12 +3432,12 @@ function vl(t, n) {
3432
3432
  return e.hourElement.select();
3433
3433
  }, 50);
3434
3434
  }
3435
- function jt(i) {
3435
+ function zt(i) {
3436
3436
  return function(s) {
3437
3437
  var h = e.config["_" + i + "Date"] = e.parseDate(s, e.config.dateFormat), A = e.config["_" + (i === "min" ? "max" : "min") + "Date"];
3438
- h !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = h.getHours() > 0 || h.getMinutes() > 0 || h.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(V) {
3439
- return Te(V);
3440
- }), !e.selectedDates.length && i === "min" && v(h), We()), e.daysContainer && (Ut(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!A && h !== void 0 && A.getFullYear() === h.getFullYear());
3438
+ h !== void 0 && (e[i === "min" ? "minDateHasTime" : "maxDateHasTime"] = h.getHours() > 0 || h.getMinutes() > 0 || h.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(P) {
3439
+ return Te(P);
3440
+ }), !e.selectedDates.length && i === "min" && v(h), We()), e.daysContainer && (Rt(), h !== void 0 ? e.currentYearElement[i] = h.getFullYear().toString() : e.currentYearElement.removeAttribute(i), e.currentYearElement.disabled = !!A && h !== void 0 && A.getFullYear() === h.getFullYear());
3441
3441
  };
3442
3442
  }
3443
3443
  function un() {
@@ -3462,20 +3462,20 @@ function vl(t, n) {
3462
3462
  return e.config._enable;
3463
3463
  },
3464
3464
  set: function(q) {
3465
- e.config._enable = Jt(q);
3465
+ e.config._enable = Ht(q);
3466
3466
  }
3467
3467
  }), Object.defineProperty(e.config, "disable", {
3468
3468
  get: function() {
3469
3469
  return e.config._disable;
3470
3470
  },
3471
3471
  set: function(q) {
3472
- e.config._disable = Jt(q);
3472
+ e.config._disable = Ht(q);
3473
3473
  }
3474
3474
  });
3475
3475
  var A = s.mode === "time";
3476
3476
  if (!s.dateFormat && (s.enableTime || A)) {
3477
- var V = Ae.defaultConfig.dateFormat || Ft.dateFormat;
3478
- h.dateFormat = s.noCalendar || A ? "H:i" + (s.enableSeconds ? ":S" : "") : V + " H:i" + (s.enableSeconds ? ":S" : "");
3477
+ var P = Ae.defaultConfig.dateFormat || Ft.dateFormat;
3478
+ h.dateFormat = s.noCalendar || A ? "H:i" + (s.enableSeconds ? ":S" : "") : P + " H:i" + (s.enableSeconds ? ":S" : "");
3479
3479
  }
3480
3480
  if (s.altInput && (s.enableTime || A) && !s.altFormat) {
3481
3481
  var N = Ae.defaultConfig.altFormat || Ft.altFormat;
@@ -3485,12 +3485,12 @@ function vl(t, n) {
3485
3485
  get: function() {
3486
3486
  return e.config._minDate;
3487
3487
  },
3488
- set: jt("min")
3488
+ set: zt("min")
3489
3489
  }), Object.defineProperty(e.config, "maxDate", {
3490
3490
  get: function() {
3491
3491
  return e.config._maxDate;
3492
3492
  },
3493
- set: jt("max")
3493
+ set: zt("max")
3494
3494
  });
3495
3495
  var X = function(q) {
3496
3496
  return function(fe) {
@@ -3520,12 +3520,12 @@ function vl(t, n) {
3520
3520
  for (var B in re)
3521
3521
  na.indexOf(B) > -1 ? e.config[B] = aa(re[B]).map(l).concat(e.config[B]) : typeof s[B] > "u" && (e.config[B] = re[B]);
3522
3522
  }
3523
- s.altInputClass || (e.config.altInputClass = Bt().className + " " + e.config.altInputClass), ve("onParseConfig");
3523
+ s.altInputClass || (e.config.altInputClass = jt().className + " " + e.config.altInputClass), ve("onParseConfig");
3524
3524
  }
3525
- function Bt() {
3525
+ function jt() {
3526
3526
  return e.config.wrap ? t.querySelector("[data-input]") : t;
3527
3527
  }
3528
- function Rt() {
3528
+ function Bt() {
3529
3529
  typeof e.config.locale != "object" && typeof Ae.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = $e($e({}, Ae.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Ae.l10ns[e.config.locale] : void 0), kt.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", kt.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", kt.M = "(" + e.l10n.months.shorthand.join("|") + ")", kt.F = "(" + e.l10n.months.longhand.join("|") + ")", kt.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
3530
3530
  var i = $e($e({}, n), JSON.parse(JSON.stringify(t.dataset || {})));
3531
3531
  i.time_24hr === void 0 && Ae.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Gr(e), e.parseDate = ha({ config: e.config, l10n: e.l10n });
@@ -3537,12 +3537,12 @@ function vl(t, n) {
3537
3537
  ve("onPreCalendarPosition");
3538
3538
  var s = i || e._positionElement, h = Array.prototype.reduce.call(e.calendarContainer.children, function(Tn, Sn) {
3539
3539
  return Tn + Sn.offsetHeight;
3540
- }, 0), A = e.calendarContainer.offsetWidth, V = e.config.position.split(" "), N = V[0], X = V.length > 1 ? V[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom, B = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (B ? -h - 2 : s.offsetHeight + 2);
3541
- if (Oe(e.calendarContainer, "arrowTop", !B), Oe(e.calendarContainer, "arrowBottom", B), !e.config.inline) {
3540
+ }, 0), A = e.calendarContainer.offsetWidth, P = e.config.position.split(" "), N = P[0], X = P.length > 1 ? P[1] : null, Y = s.getBoundingClientRect(), re = window.innerHeight - Y.bottom, B = N === "above" || N !== "below" && re < h && Y.top > h, q = window.pageYOffset + Y.top + (B ? -h - 2 : s.offsetHeight + 2);
3541
+ if (Ve(e.calendarContainer, "arrowTop", !B), Ve(e.calendarContainer, "arrowBottom", B), !e.config.inline) {
3542
3542
  var fe = window.pageXOffset + Y.left, je = !1, Se = !1;
3543
- X === "center" ? (fe -= (A - Y.width) / 2, je = !0) : X === "right" && (fe -= A - Y.width, Se = !0), Oe(e.calendarContainer, "arrowLeft", !je && !Se), Oe(e.calendarContainer, "arrowCenter", je), Oe(e.calendarContainer, "arrowRight", Se);
3543
+ X === "center" ? (fe -= (A - Y.width) / 2, je = !0) : X === "right" && (fe -= A - Y.width, Se = !0), Ve(e.calendarContainer, "arrowLeft", !je && !Se), Ve(e.calendarContainer, "arrowCenter", je), Ve(e.calendarContainer, "arrowRight", Se);
3544
3544
  var ut = window.document.body.offsetWidth - (window.pageXOffset + Y.right), it = fe + A > window.document.body.offsetWidth, kn = ut + A > window.document.body.offsetWidth;
3545
- if (Oe(e.calendarContainer, "rightMost", it), !e.config.static)
3545
+ if (Ve(e.calendarContainer, "rightMost", it), !e.config.static)
3546
3546
  if (e.calendarContainer.style.top = q + "px", !it)
3547
3547
  e.calendarContainer.style.left = fe + "px", e.calendarContainer.style.right = "auto";
3548
3548
  else if (!kn)
@@ -3552,7 +3552,7 @@ function vl(t, n) {
3552
3552
  if (It === void 0)
3553
3553
  return;
3554
3554
  var Cn = window.document.body.offsetWidth, An = Math.max(0, Cn / 2 - A / 2), Dn = ".flatpickr-calendar.centerMost:before", _n = ".flatpickr-calendar.centerMost:after", Mn = It.cssRules.length, xn = "{left:" + Y.left + "px;right:auto;}";
3555
- Oe(e.calendarContainer, "rightMost", !1), Oe(e.calendarContainer, "centerMost", !0), It.insertRule(Dn + "," + _n + xn, Mn), e.calendarContainer.style.left = An + "px", e.calendarContainer.style.right = "auto";
3555
+ Ve(e.calendarContainer, "rightMost", !1), Ve(e.calendarContainer, "centerMost", !0), It.insertRule(Dn + "," + _n + xn, Mn), e.calendarContainer.style.left = An + "px", e.calendarContainer.style.right = "auto";
3556
3556
  }
3557
3557
  }
3558
3558
  }
@@ -3576,31 +3576,31 @@ function vl(t, n) {
3576
3576
  var i = document.createElement("style");
3577
3577
  return document.head.appendChild(i), i.sheet;
3578
3578
  }
3579
- function Ut() {
3579
+ function Rt() {
3580
3580
  e.config.noCalendar || e.isMobile || (D(), wt(), W());
3581
3581
  }
3582
3582
  function $t() {
3583
3583
  e._input.focus(), window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== void 0 ? setTimeout(e.close, 0) : e.close();
3584
3584
  }
3585
- function Yt(i) {
3585
+ function Ut(i) {
3586
3586
  i.preventDefault(), i.stopPropagation();
3587
3587
  var s = function(q) {
3588
3588
  return q.classList && q.classList.contains("flatpickr-day") && !q.classList.contains("flatpickr-disabled") && !q.classList.contains("notAllowed");
3589
3589
  }, h = Kr(Be(i), s);
3590
3590
  if (h !== void 0) {
3591
- var A = h, V = e.latestSelectedDateObj = new Date(A.dateObj.getTime()), N = (V.getMonth() < e.currentMonth || V.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3591
+ var A = h, P = e.latestSelectedDateObj = new Date(A.dateObj.getTime()), N = (P.getMonth() < e.currentMonth || P.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
3592
3592
  if (e.selectedDateElem = A, e.config.mode === "single")
3593
- e.selectedDates = [V];
3593
+ e.selectedDates = [P];
3594
3594
  else if (e.config.mode === "multiple") {
3595
- var X = Pt(V);
3596
- X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(V);
3595
+ var X = Vt(P);
3596
+ X ? e.selectedDates.splice(parseInt(X), 1) : e.selectedDates.push(P);
3597
3597
  } else
3598
- e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = V, e.selectedDates.push(V), Re(V, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, fe) {
3598
+ e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = P, e.selectedDates.push(P), Re(P, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(q, fe) {
3599
3599
  return q.getTime() - fe.getTime();
3600
3600
  }));
3601
3601
  if (d(), N) {
3602
- var Y = e.currentYear !== V.getFullYear();
3603
- e.currentYear = V.getFullYear(), e.currentMonth = V.getMonth(), Y && (ve("onYearChange"), D()), ve("onMonthChange");
3602
+ var Y = e.currentYear !== P.getFullYear();
3603
+ e.currentYear = P.getFullYear(), e.currentMonth = P.getMonth(), Y && (ve("onYearChange"), D()), ve("onMonthChange");
3604
3604
  }
3605
3605
  if (wt(), W(), We(), !N && e.config.mode !== "range" && e.config.showMonths === 1 ? ue(A) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
3606
3606
  var re = e.config.mode === "single" && !e.config.enableTime, B = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
@@ -3610,11 +3610,11 @@ function vl(t, n) {
3610
3610
  }
3611
3611
  }
3612
3612
  var bt = {
3613
- locale: [Rt, G],
3613
+ locale: [Bt, G],
3614
3614
  showMonths: [_, f, j],
3615
3615
  minDate: [F],
3616
3616
  maxDate: [F],
3617
- positionElement: [Wt],
3617
+ positionElement: [Jt],
3618
3618
  clickOpens: [
3619
3619
  function() {
3620
3620
  e.config.clickOpens === !0 ? (y(e._input, "focus", e.open), y(e._input, "click", e.open)) : (e._input.removeEventListener("focus", e.open), e._input.removeEventListener("click", e.open));
@@ -3634,7 +3634,7 @@ function vl(t, n) {
3634
3634
  }) : na.indexOf(i) > -1 && (e.config[i] = aa(s));
3635
3635
  e.redraw(), We(!0);
3636
3636
  }
3637
- function Ht(i, s) {
3637
+ function Yt(i, s) {
3638
3638
  var h = [];
3639
3639
  if (i instanceof Array)
3640
3640
  h = i.map(function(A) {
@@ -3663,16 +3663,16 @@ function vl(t, n) {
3663
3663
  e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(i)));
3664
3664
  e.selectedDates = e.config.allowInvalidPreload ? h : h.filter(function(A) {
3665
3665
  return A instanceof Date && Te(A, !1);
3666
- }), e.config.mode === "range" && e.selectedDates.sort(function(A, V) {
3667
- return A.getTime() - V.getTime();
3666
+ }), e.config.mode === "range" && e.selectedDates.sort(function(A, P) {
3667
+ return A.getTime() - P.getTime();
3668
3668
  });
3669
3669
  }
3670
3670
  function mn(i, s, h) {
3671
3671
  if (s === void 0 && (s = !1), h === void 0 && (h = e.config.dateFormat), i !== 0 && !i || i instanceof Array && i.length === 0)
3672
3672
  return e.clear(s);
3673
- Ht(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, s), v(), e.selectedDates.length === 0 && e.clear(!1), We(s), s && ve("onChange");
3673
+ Yt(i, h), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), F(void 0, s), v(), e.selectedDates.length === 0 && e.clear(!1), We(s), s && ve("onChange");
3674
3674
  }
3675
- function Jt(i) {
3675
+ function Ht(i) {
3676
3676
  return i.slice().map(function(s) {
3677
3677
  return typeof s == "string" || typeof s == "number" || s instanceof Date ? e.parseDate(s, void 0, !0) : s && typeof s == "object" && s.from && s.to ? {
3678
3678
  from: e.parseDate(s.from, void 0),
@@ -3685,16 +3685,16 @@ function vl(t, n) {
3685
3685
  function pn() {
3686
3686
  e.selectedDates = [], e.now = e.parseDate(e.config.now) || /* @__PURE__ */ new Date();
3687
3687
  var i = e.config.defaultDate || ((e.input.nodeName === "INPUT" || e.input.nodeName === "TEXTAREA") && e.input.placeholder && e.input.value === e.input.placeholder ? null : e.input.value);
3688
- i && Ht(i, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
3688
+ i && Yt(i, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
3689
3689
  }
3690
3690
  function hn() {
3691
- if (e.input = Bt(), !e.input) {
3691
+ if (e.input = jt(), !e.input) {
3692
3692
  e.config.errorHandler(new Error("Invalid input element specified"));
3693
3693
  return;
3694
3694
  }
3695
- e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = ce(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), Wt();
3695
+ e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = ce(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), Jt();
3696
3696
  }
3697
- function Wt() {
3697
+ function Jt() {
3698
3698
  e._positionElement = e.config.positionElement || e._input;
3699
3699
  }
3700
3700
  function gn() {
@@ -3726,7 +3726,7 @@ function vl(t, n) {
3726
3726
  var s = document.createEvent("Event");
3727
3727
  return s.initEvent(i, !0, !0), s;
3728
3728
  }
3729
- function Pt(i) {
3729
+ function Vt(i) {
3730
3730
  for (var s = 0; s < e.selectedDates.length; s++) {
3731
3731
  var h = e.selectedDates[s];
3732
3732
  if (h instanceof Date && Re(h, i) === 0)
@@ -3743,16 +3743,16 @@ function vl(t, n) {
3743
3743
  h.setMonth(e.currentMonth + s), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[s].textContent = Un(h.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = h.getMonth().toString(), i.value = h.getFullYear().toString();
3744
3744
  }), e._hidePrevMonthArrow = e.config.minDate !== void 0 && (e.currentYear === e.config.minDate.getFullYear() ? e.currentMonth <= e.config.minDate.getMonth() : e.currentYear < e.config.minDate.getFullYear()), e._hideNextMonthArrow = e.config.maxDate !== void 0 && (e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth + 1 > e.config.maxDate.getMonth() : e.currentYear > e.config.maxDate.getFullYear()));
3745
3745
  }
3746
- function Vt(i) {
3746
+ function Pt(i) {
3747
3747
  var s = i || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
3748
3748
  return e.selectedDates.map(function(h) {
3749
3749
  return e.formatDate(h, s);
3750
- }).filter(function(h, A, V) {
3751
- return e.config.mode !== "range" || e.config.enableTime || V.indexOf(h) === A;
3750
+ }).filter(function(h, A, P) {
3751
+ return e.config.mode !== "range" || e.config.enableTime || P.indexOf(h) === A;
3752
3752
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
3753
3753
  }
3754
3754
  function We(i) {
3755
- i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = Vt(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Vt(e.config.altFormat)), i !== !1 && ve("onValueUpdate");
3755
+ i === void 0 && (i = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = Pt(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Pt(e.config.altFormat)), i !== !1 && ve("onValueUpdate");
3756
3756
  }
3757
3757
  function bn(i) {
3758
3758
  var s = Be(i), h = e.prevMonthNav.contains(s), A = e.nextMonthNav.contains(s);
@@ -3762,10 +3762,10 @@ function vl(t, n) {
3762
3762
  i.preventDefault();
3763
3763
  var s = i.type === "keydown", h = Be(i), A = h;
3764
3764
  e.amPM !== void 0 && h === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]);
3765
- var V = parseFloat(A.getAttribute("min")), N = parseFloat(A.getAttribute("max")), X = parseFloat(A.getAttribute("step")), Y = parseInt(A.value, 10), re = i.delta || (s ? i.which === 38 ? 1 : -1 : 0), B = Y + X * re;
3765
+ var P = parseFloat(A.getAttribute("min")), N = parseFloat(A.getAttribute("max")), X = parseFloat(A.getAttribute("step")), Y = parseInt(A.value, 10), re = i.delta || (s ? i.which === 38 ? 1 : -1 : 0), B = Y + X * re;
3766
3766
  if (typeof A.value < "u" && A.value.length === 2) {
3767
3767
  var q = A === e.hourElement, fe = A === e.minuteElement;
3768
- B < V ? (B = N + B + Ke(!q) + (Ke(q) && Ke(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : B > N && (B = A === e.hourElement ? B - N - Ke(!e.amPM) : V, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? B + Y === 23 : Math.abs(B - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]), A.value = Fe(B);
3768
+ B < P ? (B = N + B + Ke(!q) + (Ke(q) && Ke(!e.amPM)), fe && U(void 0, -1, e.hourElement)) : B > N && (B = A === e.hourElement ? B - N - Ke(!e.amPM) : P, fe && U(void 0, 1, e.hourElement)), e.amPM && q && (X === 1 ? B + Y === 23 : Math.abs(B - Y) > X) && (e.amPM.textContent = e.l10n.amPM[Ke(e.amPM.textContent === e.l10n.amPM[0])]), A.value = Fe(B);
3769
3769
  }
3770
3770
  }
3771
3771
  return r(), e;
@@ -3795,8 +3795,8 @@ var Ae = function(t, n) {
3795
3795
  };
3796
3796
  Ae.defaultConfig = {};
3797
3797
  Ae.l10ns = {
3798
- en: $e({}, nn),
3799
- default: $e({}, nn)
3798
+ en: $e({}, tn),
3799
+ default: $e({}, tn)
3800
3800
  };
3801
3801
  Ae.localize = function(t) {
3802
3802
  Ae.l10ns.default = $e($e({}, Ae.l10ns.default), t);
@@ -4062,27 +4062,27 @@ var ga = {}, kl = {
4062
4062
  var v;
4063
4063
  function k(O) {
4064
4064
  O.stopPropagation(), O.preventDefault();
4065
- var P = O.target;
4066
- if (!(P.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
4067
- for (var F = parseInt(P.dataset.index, 10), R = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ae = R; U < ae.length; U++) {
4065
+ var V = O.target;
4066
+ if (!(V.tagName.toLowerCase() !== "button" || typeof m.onClick > "u"))
4067
+ for (var F = parseInt(V.dataset.index, 10), R = Array.isArray(m.onClick) ? m.onClick : [m.onClick], U = 0, ae = R; U < ae.length; U++) {
4068
4068
  var ee = ae[U];
4069
4069
  typeof ee == "function" && ee(F, d);
4070
4070
  }
4071
4071
  }
4072
4072
  function I(O) {
4073
- var P = O.target;
4074
- O.key !== "Tab" || P.tagName.toLowerCase() !== "button" || (O.shiftKey && !P.previousSibling || !O.shiftKey && !P.nextSibling) && (O.preventDefault(), d.element.focus());
4073
+ var V = O.target;
4074
+ O.key !== "Tab" || V.tagName.toLowerCase() !== "button" || (O.shiftKey && !V.previousSibling || !O.shiftKey && !V.nextSibling) && (O.preventDefault(), d.element.focus());
4075
4075
  }
4076
- function y(O, P) {
4077
- Object.keys(P).filter(function(F) {
4076
+ function y(O, V) {
4077
+ Object.keys(V).filter(function(F) {
4078
4078
  return f.has(F);
4079
4079
  }).forEach(function(F) {
4080
4080
  var R;
4081
4081
  if (F === "class") {
4082
- (R = O.classList).add.apply(R, P[F].split(" "));
4082
+ (R = O.classList).add.apply(R, V[F].split(" "));
4083
4083
  return;
4084
4084
  }
4085
- O.setAttribute(F, P[F]);
4085
+ O.setAttribute(F, V[F]);
4086
4086
  });
4087
4087
  }
4088
4088
  return {
@@ -4094,11 +4094,11 @@ var ga = {}, kl = {
4094
4094
  var O = document.createElement("div");
4095
4095
  O.classList.add("shortcut-buttons-flatpickr-label"), O.textContent = m.label, v.appendChild(O);
4096
4096
  }
4097
- var P = document.createElement("div");
4098
- P.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(F, R) {
4097
+ var V = document.createElement("div");
4098
+ V.classList.add("shortcut-buttons-flatpickr-buttons"), (Array.isArray(m.button) ? m.button : [m.button]).forEach(function(F, R) {
4099
4099
  var U = document.createElement("button");
4100
- U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = F.label, U.dataset.index = String(R), typeof F.attributes < "u" && y(U, F.attributes), P.appendChild(U), d.pluginElements.push(U);
4101
- }), v.appendChild(P), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown", I);
4100
+ U.type = "button", U.classList.add("shortcut-buttons-flatpickr-button"), U.textContent = F.label, U.dataset.index = String(R), typeof F.attributes < "u" && y(U, F.attributes), V.appendChild(U), d.pluginElements.push(U);
4101
+ }), v.appendChild(V), d.calendarContainer.appendChild(v), v.addEventListener("click", k), v.addEventListener("keydown", I);
4102
4102
  },
4103
4103
  /**
4104
4104
  * Clean up before flatpickr is destroyed.
@@ -4466,7 +4466,7 @@ var Yn = {}, Al = {
4466
4466
  I.l10ns.bg = y, I.l10ns;
4467
4467
  var O = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4468
4468
  l10ns: {}
4469
- }, P = {
4469
+ }, V = {
4470
4470
  weekdays: {
4471
4471
  shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
4472
4472
  longhand: [
@@ -4510,7 +4510,7 @@ var Yn = {}, Al = {
4510
4510
  ]
4511
4511
  }
4512
4512
  };
4513
- O.l10ns.bn = P, O.l10ns;
4513
+ O.l10ns.bn = V, O.l10ns;
4514
4514
  var F = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
4515
4515
  l10ns: {}
4516
4516
  }, R = {
@@ -5453,7 +5453,7 @@ var Yn = {}, Al = {
5453
5453
  }
5454
5454
  };
5455
5455
  ln.l10ns.hi = sn, ln.l10ns;
5456
- var jt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5456
+ var zt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5457
5457
  l10ns: {}
5458
5458
  }, un = {
5459
5459
  firstDayOfWeek: 1,
@@ -5501,10 +5501,10 @@ var Yn = {}, Al = {
5501
5501
  },
5502
5502
  time_24hr: !0
5503
5503
  };
5504
- jt.l10ns.hr = un, jt.l10ns;
5505
- var Bt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5504
+ zt.l10ns.hr = un, zt.l10ns;
5505
+ var jt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5506
5506
  l10ns: {}
5507
- }, Rt = {
5507
+ }, Bt = {
5508
5508
  firstDayOfWeek: 1,
5509
5509
  weekdays: {
5510
5510
  shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
@@ -5557,7 +5557,7 @@ var Yn = {}, Al = {
5557
5557
  rangeSeparator: " - ",
5558
5558
  time_24hr: !0
5559
5559
  };
5560
- Bt.l10ns.hu = Rt, Bt.l10ns;
5560
+ jt.l10ns.hu = Bt, jt.l10ns;
5561
5561
  var yt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5562
5562
  l10ns: {}
5563
5563
  }, dn = {
@@ -5621,7 +5621,7 @@ var Yn = {}, Al = {
5621
5621
  yt.l10ns.hy = dn, yt.l10ns;
5622
5622
  var cn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5623
5623
  l10ns: {}
5624
- }, Ut = {
5624
+ }, Rt = {
5625
5625
  weekdays: {
5626
5626
  shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
5627
5627
  longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"]
@@ -5663,10 +5663,10 @@ var Yn = {}, Al = {
5663
5663
  time_24hr: !0,
5664
5664
  rangeSeparator: " - "
5665
5665
  };
5666
- cn.l10ns.id = Ut, cn.l10ns;
5666
+ cn.l10ns.id = Rt, cn.l10ns;
5667
5667
  var $t = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5668
5668
  l10ns: {}
5669
- }, Yt = {
5669
+ }, Ut = {
5670
5670
  weekdays: {
5671
5671
  shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"],
5672
5672
  longhand: [
@@ -5718,7 +5718,7 @@ var Yn = {}, Al = {
5718
5718
  yearAriaLabel: "Ár",
5719
5719
  time_24hr: !0
5720
5720
  };
5721
- $t.l10ns.is = Yt, $t.l10ns;
5721
+ $t.l10ns.is = Ut, $t.l10ns;
5722
5722
  var bt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5723
5723
  l10ns: {}
5724
5724
  }, fn = {
@@ -5775,7 +5775,7 @@ var Yn = {}, Al = {
5775
5775
  time_24hr: !0
5776
5776
  };
5777
5777
  bt.l10ns.it = fn, bt.l10ns;
5778
- var Ht = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5778
+ var Yt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5779
5779
  l10ns: {}
5780
5780
  }, mn = {
5781
5781
  weekdays: {
@@ -5828,8 +5828,8 @@ var Yn = {}, Al = {
5828
5828
  hourAriaLabel: "時間",
5829
5829
  minuteAriaLabel: "分"
5830
5830
  };
5831
- Ht.l10ns.ja = mn, Ht.l10ns;
5832
- var Jt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5831
+ Yt.l10ns.ja = mn, Yt.l10ns;
5832
+ var Ht = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5833
5833
  l10ns: {}
5834
5834
  }, pn = {
5835
5835
  weekdays: {
@@ -5886,10 +5886,10 @@ var Yn = {}, Al = {
5886
5886
  yearAriaLabel: "წელი",
5887
5887
  time_24hr: !0
5888
5888
  };
5889
- Jt.l10ns.ka = pn, Jt.l10ns;
5889
+ Ht.l10ns.ka = pn, Ht.l10ns;
5890
5890
  var hn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5891
5891
  l10ns: {}
5892
- }, Wt = {
5892
+ }, Jt = {
5893
5893
  weekdays: {
5894
5894
  shorthand: ["일", "월", "화", "수", "목", "금", "토"],
5895
5895
  longhand: [
@@ -5938,7 +5938,7 @@ var Yn = {}, Al = {
5938
5938
  rangeSeparator: " ~ ",
5939
5939
  amPM: ["오전", "오후"]
5940
5940
  };
5941
- hn.l10ns.ko = Wt, hn.l10ns;
5941
+ hn.l10ns.ko = Jt, hn.l10ns;
5942
5942
  var gn = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
5943
5943
  l10ns: {}
5944
5944
  }, vn = {
@@ -6053,7 +6053,7 @@ var Yn = {}, Al = {
6053
6053
  yearAriaLabel: "Жыл"
6054
6054
  };
6055
6055
  ve.l10ns.kz = Ot, ve.l10ns;
6056
- var Pt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6056
+ var Vt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6057
6057
  l10ns: {}
6058
6058
  }, yn = {
6059
6059
  weekdays: {
@@ -6108,10 +6108,10 @@ var Yn = {}, Al = {
6108
6108
  toggleTitle: "Perjungti laiko formatą",
6109
6109
  time_24hr: !0
6110
6110
  };
6111
- Pt.l10ns.lt = yn, Pt.l10ns;
6111
+ Vt.l10ns.lt = yn, Vt.l10ns;
6112
6112
  var wt = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6113
6113
  l10ns: {}
6114
- }, Vt = {
6114
+ }, Pt = {
6115
6115
  firstDayOfWeek: 1,
6116
6116
  weekdays: {
6117
6117
  shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
@@ -6158,7 +6158,7 @@ var Yn = {}, Al = {
6158
6158
  rangeSeparator: " līdz ",
6159
6159
  time_24hr: !0
6160
6160
  };
6161
- wt.l10ns.lv = Vt, wt.l10ns;
6161
+ wt.l10ns.lv = Pt, wt.l10ns;
6162
6162
  var We = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6163
6163
  l10ns: {}
6164
6164
  }, bn = {
@@ -6297,7 +6297,7 @@ var Yn = {}, Al = {
6297
6297
  s.l10ns;
6298
6298
  var A = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6299
6299
  l10ns: {}
6300
- }, V = {
6300
+ }, P = {
6301
6301
  weekdays: {
6302
6302
  shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
6303
6303
  longhand: [
@@ -6346,7 +6346,7 @@ var Yn = {}, Al = {
6346
6346
  },
6347
6347
  time_24hr: !0
6348
6348
  };
6349
- A.l10ns.my = V, A.l10ns;
6349
+ A.l10ns.my = P, A.l10ns;
6350
6350
  var N = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6351
6351
  l10ns: {}
6352
6352
  }, X = {
@@ -6932,9 +6932,9 @@ var Yn = {}, Al = {
6932
6932
  }
6933
6933
  };
6934
6934
  Sn.l10ns.sl = Oa, Sn.l10ns;
6935
- var Pa = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6935
+ var Va = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6936
6936
  l10ns: {}
6937
- }, Va = {
6937
+ }, Pa = {
6938
6938
  weekdays: {
6939
6939
  shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
6940
6940
  longhand: [
@@ -6986,7 +6986,7 @@ var Yn = {}, Al = {
6986
6986
  minuteAriaLabel: "Minuta",
6987
6987
  time_24hr: !0
6988
6988
  };
6989
- Pa.l10ns.sq = Va, Pa.l10ns;
6989
+ Va.l10ns.sq = Pa, Va.l10ns;
6990
6990
  var Ia = typeof window < "u" && window.flatpickr !== void 0 ? window.flatpickr : {
6991
6991
  l10ns: {}
6992
6992
  }, Fa = {
@@ -7526,7 +7526,7 @@ var Yn = {}, Al = {
7526
7526
  az: p,
7527
7527
  be: d,
7528
7528
  bg: y,
7529
- bn: P,
7529
+ bn: V,
7530
7530
  bs: k,
7531
7531
  ca: R,
7532
7532
  ckb: ae,
@@ -7548,22 +7548,22 @@ var Yn = {}, Al = {
7548
7548
  he: Je,
7549
7549
  hi: sn,
7550
7550
  hr: un,
7551
- hu: Rt,
7551
+ hu: Bt,
7552
7552
  hy: dn,
7553
- id: Ut,
7554
- is: Yt,
7553
+ id: Rt,
7554
+ is: Ut,
7555
7555
  it: fn,
7556
7556
  ja: mn,
7557
7557
  ka: pn,
7558
- ko: Wt,
7558
+ ko: Jt,
7559
7559
  km: vn,
7560
7560
  kz: Ot,
7561
7561
  lt: yn,
7562
- lv: Vt,
7562
+ lv: Pt,
7563
7563
  mk: bn,
7564
7564
  mn: i,
7565
7565
  ms: h,
7566
- my: V,
7566
+ my: P,
7567
7567
  nl: X,
7568
7568
  nn: re,
7569
7569
  no: q,
@@ -7575,7 +7575,7 @@ var Yn = {}, Al = {
7575
7575
  si: Mn,
7576
7576
  sk: Tn,
7577
7577
  sl: Oa,
7578
- sq: Va,
7578
+ sq: Pa,
7579
7579
  sr: Fa,
7580
7580
  sv: Na,
7581
7581
  th: za,
@@ -7636,12 +7636,12 @@ const Ml = {
7636
7636
  }
7637
7637
  v(d(C + ""));
7638
7638
  }, I = () => {
7639
- P(), l.value = !0, n("onOpen");
7639
+ V(), l.value = !0, n("onOpen");
7640
7640
  }, y = () => {
7641
7641
  l.value = !1, n("onClose");
7642
7642
  }, O = () => {
7643
7643
  a(r.value) && (u.value = r.value.fpInput().value);
7644
- }, P = () => {
7644
+ }, V = () => {
7645
7645
  var M, T, j;
7646
7646
  if (!a(r.value))
7647
7647
  return;
@@ -7703,23 +7703,27 @@ const Ml = {
7703
7703
  r.value.fp.close();
7704
7704
  return;
7705
7705
  }
7706
- P(), r.value.fp.open(), r.value.fpInput().focus();
7706
+ V(), r.value.fp.open(), r.value.fpInput().focus();
7707
7707
  }
7708
7708
  }, 0);
7709
- };
7710
- zt(() => {
7711
- if ((ye(e.modelValue) || S(e.modelValue)) && !ye(e.defaultValue)) {
7712
- p.value = e.defaultValue;
7713
- return;
7714
- }
7715
- p.value = S(e.modelValue) ? null : e.modelValue;
7716
- });
7717
- const Q = Qr(), Me = x(() => ({
7709
+ }, Q = Qr(), Me = x(() => ({
7718
7710
  textFieldValue: {
7719
7711
  required: Q(e.required)
7720
7712
  }
7721
7713
  })), W = _o(Me, { textFieldValue: u }), D = x(() => S(e.errorMessages) ? W.value.textFieldValue.$errors.length ? [W.value.textFieldValue.$errors.map((C) => C.$message).join(" ")] : [] : e.errorMessages);
7722
- return (C, _) => (w(), E(Jn, {
7714
+ return Oe(
7715
+ () => e.modelValue,
7716
+ (C, _) => {
7717
+ if (C !== _) {
7718
+ if ((ye(e.modelValue) || S(e.modelValue)) && !ye(e.defaultValue)) {
7719
+ p.value = e.defaultValue;
7720
+ return;
7721
+ }
7722
+ p.value = S(e.modelValue) ? null : e.modelValue;
7723
+ }
7724
+ },
7725
+ { immediate: !0 }
7726
+ ), (C, _) => (w(), E(Jn, {
7723
7727
  ref_key: "textFieldRef",
7724
7728
  ref: o,
7725
7729
  modelValue: u.value,
@@ -7728,9 +7732,9 @@ const Ml = {
7728
7732
  "persistent-placeholder": !0,
7729
7733
  placeholder: c(U),
7730
7734
  class: "a-datetime-picker",
7731
- onBlur: P,
7732
- onKeyup: wr(P, ["enter"])
7733
- }, an({
7735
+ onBlur: V,
7736
+ onKeyup: wr(V, ["enter"])
7737
+ }, nn({
7734
7738
  "append-inner": g(() => [
7735
7739
  t.clearable && t.defaultValue !== t.modelValue ? (w(), E(me, {
7736
7740
  key: 0,
@@ -7770,7 +7774,7 @@ const Ml = {
7770
7774
  ]), 1032, ["modelValue", "error-messages", "placeholder", "onKeyup"]));
7771
7775
  }
7772
7776
  });
7773
- const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-40594fb1"]]), ih = /* @__PURE__ */ L({
7777
+ const Xr = /* @__PURE__ */ vt(xl, [["__scopeId", "data-v-5870268a"]]), ih = /* @__PURE__ */ L({
7774
7778
  __name: "AFormDatetimePicker",
7775
7779
  props: {
7776
7780
  modelValue: null,
@@ -7904,17 +7908,17 @@ const Tl = {
7904
7908
  }), I = x(() => {
7905
7909
  var M, T;
7906
7910
  return S(e.required) ? ((M = e.v) == null ? void 0 : M.required) && ((T = e.v) == null ? void 0 : T.required.$params.type) === "required" : e.required;
7907
- }), y = x(() => e.multiple !== !1), O = Gn(e.filterSortBy), P = J([]), F = J([]), R = x(() => {
7911
+ }), y = x(() => e.multiple !== !1), O = Gn(e.filterSortBy), V = J([]), F = J([]), R = x(() => {
7908
7912
  const M = /* @__PURE__ */ new Map();
7909
7913
  return F.value.forEach((T) => {
7910
7914
  M.set(T.value, { value: T.value, title: T.title });
7911
- }), P.value.forEach((T) => {
7915
+ }), V.value.forEach((T) => {
7912
7916
  M.set(T.value, { value: T.value, title: T.title });
7913
7917
  }), Array.from(M, ([T, j]) => ({ value: T, title: j.title }));
7914
7918
  }), U = J(!1), ae = x(() => U.value ? !0 : e.loading), ee = async (M) => {
7915
7919
  U.value = !0;
7916
7920
  const T = u.value[e.filterByField];
7917
- T.model = M, P.value = await e.fetchItems(O, u.value), U.value = !1;
7921
+ T.model = M, V.value = await e.fetchItems(O, u.value), U.value = !1;
7918
7922
  }, ue = (M) => {
7919
7923
  const T = R.value.filter((j) => M.includes(j.value));
7920
7924
  return [].concat(T);
@@ -7924,7 +7928,7 @@ const Tl = {
7924
7928
  }, ie = J(!1), Q = () => {
7925
7929
  clearTimeout(l.value), l.value = void 0;
7926
7930
  }, Me = async () => {
7927
- Q(), ie.value !== !0 && (ie.value = !0, U.value = !0, P.value = await e.fetchItems(O, u.value), U.value = !1);
7931
+ Q(), ie.value !== !0 && (ie.value = !0, U.value = !0, V.value = await e.fetchItems(O, u.value), U.value = !1);
7928
7932
  }, W = () => {
7929
7933
  o.value = !0, Q(), Me();
7930
7934
  }, D = x(() => {
@@ -7933,13 +7937,13 @@ const Tl = {
7933
7937
  }), C = (M) => {
7934
7938
  !e.multiple && !o.value && M.length === 0 || D.value !== M && (r.value = M);
7935
7939
  }, _ = async () => {
7936
- if (P.value = await e.fetchItems(O, u.value), e.multiple) {
7940
+ if (V.value = await e.fetchItems(O, u.value), e.multiple) {
7937
7941
  a.value = [];
7938
7942
  return;
7939
7943
  }
7940
7944
  a.value = null;
7941
7945
  };
7942
- return Pe(
7946
+ return Oe(
7943
7947
  a,
7944
7948
  async (M, T) => {
7945
7949
  if (M === T)
@@ -7967,7 +7971,7 @@ const Tl = {
7967
7971
  M !== T && (ee(M), n("searchChangeDebounced", M));
7968
7972
  },
7969
7973
  { debounce: 300, maxWait: 1e3 }
7970
- ), Pe(r, (M, T) => {
7974
+ ), Oe(r, (M, T) => {
7971
7975
  M !== T && n("searchChange", M);
7972
7976
  }), (M, T) => (w(), E(on, {
7973
7977
  modelValue: c(a),
@@ -8028,9 +8032,9 @@ const Tl = {
8028
8032
  const k = await e.callbackToTrue();
8029
8033
  n("update:modelValue", k), d.value = k, k || (u.value = !0), f.value = !1;
8030
8034
  };
8031
- return Pe(m, (k, I) => {
8035
+ return Oe(m, (k, I) => {
8032
8036
  k !== I && (d.value = k, u.value = !1);
8033
- }), zt(() => {
8037
+ }), an(() => {
8034
8038
  p.value = "remote-switch-" + Date.now();
8035
8039
  }), (k, I) => (w(), H("div", Sl, [
8036
8040
  b(Eo, {
@@ -8047,7 +8051,7 @@ const Tl = {
8047
8051
  }, $(c(l)), 9, $l))
8048
8052
  ]));
8049
8053
  }
8050
- }), Ol = { class: "d-flex" }, Pl = ["for"], ch = /* @__PURE__ */ L({
8054
+ }), Ol = { class: "d-flex" }, Vl = ["for"], ch = /* @__PURE__ */ L({
8051
8055
  __name: "AFormRemoteSwitch",
8052
8056
  props: {
8053
8057
  modelValue: { type: Boolean },
@@ -8079,9 +8083,9 @@ const Tl = {
8079
8083
  const k = await e.callbackToTrue();
8080
8084
  n("update:modelValue", k), d.value = k, k || (u.value = !0), f.value = !1;
8081
8085
  };
8082
- return Pe(m, (k, I) => {
8086
+ return Oe(m, (k, I) => {
8083
8087
  k !== I && (d.value = k, u.value = !1);
8084
- }), zt(() => {
8088
+ }), an(() => {
8085
8089
  p.value = "a-remote-switch-" + Date.now();
8086
8090
  }), (k, I) => (w(), H("div", Ol, [
8087
8091
  b(oe, {
@@ -8103,7 +8107,7 @@ const Tl = {
8103
8107
  "hide-details": t.hideDetails,
8104
8108
  density: "compact",
8105
8109
  onClick: ne(v, ["stop"])
8106
- }, an({ _: 2 }, [
8110
+ }, nn({ _: 2 }, [
8107
8111
  u.value ? {
8108
8112
  name: "append",
8109
8113
  fn: g(() => [
@@ -8124,11 +8128,11 @@ const Tl = {
8124
8128
  key: 0,
8125
8129
  for: p.value,
8126
8130
  class: "v-label v-label--clickable"
8127
- }, $(c(l)), 9, Pl))
8131
+ }, $(c(l)), 9, Vl))
8128
8132
  ]));
8129
8133
  }
8130
8134
  });
8131
- const Vl = { key: 0 }, Il = {
8135
+ const Pl = { key: 0 }, Il = {
8132
8136
  key: 0,
8133
8137
  class: "required"
8134
8138
  }, fh = /* @__PURE__ */ L({
@@ -8186,7 +8190,7 @@ const Vl = { key: 0 }, Il = {
8186
8190
  onBlur: f
8187
8191
  }, {
8188
8192
  label: g(() => [
8189
- t.hideLabel ? Z("", !0) : (w(), H("span", Vl, [
8193
+ t.hideLabel ? Z("", !0) : (w(), H("span", Pl, [
8190
8194
  z($(c(p)), 1),
8191
8195
  c(m) ? (w(), H("span", Il)) : Z("", !0)
8192
8196
  ]))
@@ -8253,7 +8257,7 @@ const Vl = { key: 0 }, Il = {
8253
8257
  }), k.value.forEach((D) => {
8254
8258
  W.set(D.value, { value: D.value, title: D.title });
8255
8259
  }), Array.from(W, ([D, C]) => ({ value: D, title: C.title }));
8256
- }), O = J(!1), P = async (W) => {
8260
+ }), O = J(!1), V = async (W) => {
8257
8261
  O.value = !0;
8258
8262
  const D = u.value[e.filterByField];
8259
8263
  D.model = W, k.value = await e.fetchItems(v, u.value), O.value = !1;
@@ -8281,7 +8285,7 @@ const Vl = { key: 0 }, Il = {
8281
8285
  }
8282
8286
  a.value = null;
8283
8287
  }, Me = x(() => S(e.placeholder) ? e.modelValue.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : e.modelValue.variant === "eq" ? f("common.model.filterPlaceholder.eq") : e.modelValue.variant === "contains" ? f("common.model.filterPlaceholder.contains") : "" : e.placeholder);
8284
- return Pe(
8288
+ return Oe(
8285
8289
  a,
8286
8290
  async (W, D) => {
8287
8291
  if (W === D)
@@ -8306,7 +8310,7 @@ const Vl = { key: 0 }, Il = {
8306
8310
  ), _a(
8307
8311
  r,
8308
8312
  (W, D) => {
8309
- W !== D && P(W);
8313
+ W !== D && V(W);
8310
8314
  },
8311
8315
  { debounce: 300, maxWait: 1e3 }
8312
8316
  ), (W, D) => (w(), E(on, {
@@ -8495,7 +8499,7 @@ const Ll = /* @__PURE__ */ L({
8495
8499
  const n = t, e = Ca(), a = tr(void 0), r = tr(!1), o = x(() => n.getCachedFn(n.id)), l = x(() => n.title.length > 0 ? n.title : a.value ? Yr(a.value, n.displayTextPath) : n.fallbackIdText ? n.id : ""), f = () => {
8496
8500
  e.push({ name: n.route, params: { id: n.id } });
8497
8501
  };
8498
- return Pe(
8502
+ return Oe(
8499
8503
  o,
8500
8504
  async (u) => {
8501
8505
  r.value || S(u) || u._loaded === !1 || (a.value = u, r.value = !0);
@@ -8957,7 +8961,7 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
8957
8961
  }),
8958
8962
  b(ka, null, {
8959
8963
  default: g(() => [
8960
- b(en),
8964
+ b(Xt),
8961
8965
  b(k, {
8962
8966
  disabled: t.loading,
8963
8967
  "data-cy": "button-cancel",
@@ -9295,54 +9299,54 @@ const wh = /* @__PURE__ */ vt(Wl, [["render", ql]]), kh = /* @__PURE__ */ L({
9295
9299
  }, 8, ["class", "data-cy", "to"]));
9296
9300
  }
9297
9301
  });
9298
- var Zt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Zt || {}), Kl = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Kl || {});
9302
+ var Gt = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Gt || {}), Kl = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Kl || {});
9299
9303
  const va = xr(
9300
9304
  "theme",
9301
9305
  "light"
9302
9306
  /* Light */
9303
9307
  ), ao = "(prefers-color-scheme: dark)", Hn = J(
9304
- Object.values(Zt).some((t) => t === va.value) ? va.value : "light"
9308
+ Object.values(Gt).some((t) => t === va.value) ? va.value : "light"
9305
9309
  /* Light */
9306
- ), Qt = J(
9310
+ ), Zt = J(
9307
9311
  "light"
9308
9312
  /* Light */
9309
- ), ro = J(window.matchMedia && window.matchMedia(ao).matches), Xt = () => {
9313
+ ), ro = J(window.matchMedia && window.matchMedia(ao).matches), Qt = () => {
9310
9314
  switch (Hn.value) {
9311
9315
  case "auto":
9312
- Qt.value = ro.value ? "dark" : "light";
9316
+ Zt.value = ro.value ? "dark" : "light";
9313
9317
  break;
9314
9318
  case "light":
9315
- Qt.value = "light";
9319
+ Zt.value = "light";
9316
9320
  break;
9317
9321
  case "dark":
9318
- Qt.value = "dark";
9322
+ Zt.value = "dark";
9319
9323
  break;
9320
9324
  }
9321
9325
  };
9322
- Xt();
9326
+ Qt();
9323
9327
  const sa = (t) => {
9324
9328
  Hn.value = t, va.value = t;
9325
9329
  };
9326
9330
  window.matchMedia(ao).addEventListener("change", (t) => {
9327
- ro.value = t.matches, Xt();
9331
+ ro.value = t.matches, Qt();
9328
9332
  });
9329
- const Gl = x(() => Qt.value === "light" ? "white" : "#1A1A1A");
9333
+ const Gl = x(() => Zt.value === "light" ? "white" : "#1A1A1A");
9330
9334
  function Zl() {
9331
9335
  const t = () => {
9332
9336
  sa(
9333
9337
  "auto"
9334
9338
  /* Auto */
9335
- ), Xt();
9339
+ ), Qt();
9336
9340
  }, n = () => {
9337
9341
  sa(
9338
9342
  "dark"
9339
9343
  /* Dark */
9340
- ), Xt();
9344
+ ), Qt();
9341
9345
  }, e = () => {
9342
9346
  sa(
9343
9347
  "light"
9344
9348
  /* Light */
9345
- ), Xt();
9349
+ ), Qt();
9346
9350
  }, a = () => {
9347
9351
  switch (Hn.value) {
9348
9352
  case "light":
@@ -9357,9 +9361,9 @@ function Zl() {
9357
9361
  }
9358
9362
  };
9359
9363
  return {
9360
- settings: Kt(Hn),
9361
- theme: Kt(Qt),
9362
- toolbarColor: Kt(Gl),
9364
+ settings: qt(Hn),
9365
+ theme: qt(Zt),
9366
+ toolbarColor: qt(Gl),
9363
9367
  toggleTheme: a,
9364
9368
  setThemeAuto: t,
9365
9369
  setThemeDark: n,
@@ -9384,21 +9388,21 @@ const Ql = { key: 0 }, Xl = { key: 1 }, es = { key: 2 }, Oh = /* @__PURE__ */ L(
9384
9388
  "data-cy": "settings-theme"
9385
9389
  }), {
9386
9390
  default: g(() => [
9387
- c(r) === c(Zt).Auto ? (w(), H("div", Ql, [
9391
+ c(r) === c(Gt).Auto ? (w(), H("div", Ql, [
9388
9392
  b(me, {
9389
9393
  class: "mr-1",
9390
9394
  icon: "mdi-brightness-auto",
9391
9395
  size: 32
9392
9396
  }),
9393
9397
  z($(c(o)("common.system.theme.auto")), 1)
9394
- ])) : c(r) === c(Zt).Light ? (w(), H("div", Xl, [
9398
+ ])) : c(r) === c(Gt).Light ? (w(), H("div", Xl, [
9395
9399
  b(me, {
9396
9400
  class: "mr-1",
9397
9401
  icon: "mdi-brightness-7",
9398
9402
  size: 32
9399
9403
  }),
9400
9404
  z($(c(o)("common.system.theme.light")), 1)
9401
- ])) : c(r) === c(Zt).Dark ? (w(), H("div", es, [
9405
+ ])) : c(r) === c(Gt).Dark ? (w(), H("div", es, [
9402
9406
  b(me, {
9403
9407
  class: "mr-1",
9404
9408
  icon: "mdi-brightness-4",
@@ -9497,14 +9501,14 @@ function ts(t, n) {
9497
9501
  et.value = n, le.global.locale.value = n;
9498
9502
  }
9499
9503
  },
9500
- currentLanguageCode: Kt(et),
9504
+ currentLanguageCode: qt(et),
9501
9505
  setLanguage: a,
9502
9506
  allLanguages: zn
9503
9507
  };
9504
9508
  }
9505
9509
  function ns() {
9506
9510
  return {
9507
- currentLanguageCode: Kt(et)
9511
+ currentLanguageCode: qt(et)
9508
9512
  };
9509
9513
  }
9510
9514
  const as = {
@@ -9614,7 +9618,7 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
9614
9618
  onClick: ne((k) => f(v.code), ["stop"])
9615
9619
  }, {
9616
9620
  default: g(() => [
9617
- b(tn, null, {
9621
+ b(en, null, {
9618
9622
  default: g(() => [
9619
9623
  b(ca, {
9620
9624
  class: "mr-1",
@@ -9645,7 +9649,7 @@ const ys = /* @__PURE__ */ vt(ms, [["render", vs]]), bs = { class: "flag" }, pr
9645
9649
  }));
9646
9650
  }
9647
9651
  });
9648
- const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["onClick"], Cs = /* @__PURE__ */ L({
9652
+ const Vh = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["onClick"], Cs = /* @__PURE__ */ L({
9649
9653
  __name: "ASystemBarNewVersion",
9650
9654
  setup(t) {
9651
9655
  const { t: n } = K(), e = () => {
@@ -9659,7 +9663,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
9659
9663
  }, $(c(n)("common.system.newVersionReload")), 9, ks)
9660
9664
  ]), nr(1), r[0]);
9661
9665
  }
9662
- }), As = { class: "text-center w-100 text-caption pb-1" }, Vh = /* @__PURE__ */ L({
9666
+ }), As = { class: "text-center w-100 text-caption pb-1" }, Ph = /* @__PURE__ */ L({
9663
9667
  __name: "ASystemBar",
9664
9668
  props: {
9665
9669
  currentVersion: null,
@@ -9770,7 +9774,7 @@ const Ph = /* @__PURE__ */ vt(ws, [["__scopeId", "data-v-8f7b4952"]]), ks = ["on
9770
9774
  }, l = x(() => e.modelValue.length > 0 ? "flat" : "tonal"), f = x(() => e.modelValue.length > 0 ? e.modelValue : void 0), u = (p) => {
9771
9775
  n("update:modelValue", p);
9772
9776
  };
9773
- return Pe(
9777
+ return Oe(
9774
9778
  () => e.modelValue,
9775
9779
  (p, m) => {
9776
9780
  if (p !== m && p.length !== 7 && p.length !== 7 && e.randomColor) {
@@ -9871,7 +9875,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9871
9875
  }, null, 8, ["user"])
9872
9876
  ]),
9873
9877
  default: g(() => [
9874
- b(tn, null, {
9878
+ b(en, null, {
9875
9879
  default: g(() => [
9876
9880
  z($(t.currentUser.person.fullName), 1)
9877
9881
  ]),
@@ -9924,7 +9928,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9924
9928
  ]),
9925
9929
  _: 1
9926
9930
  }),
9927
- b(en),
9931
+ b(Xt),
9928
9932
  b(oe, {
9929
9933
  class: "ml-2",
9930
9934
  icon: "mdi-close",
@@ -9944,7 +9948,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
9944
9948
  }),
9945
9949
  b(ka, null, {
9946
9950
  default: g(() => [
9947
- b(en),
9951
+ b(Xt),
9948
9952
  b(oe, {
9949
9953
  color: "secondary",
9950
9954
  variant: "text",
@@ -10025,7 +10029,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10025
10029
  }
10026
10030
  }), { t: f } = K(), u = we(at, void 0), p = we(rt, void 0), m = J(!1), d = J(""), v = J(!1), { innerFilter: k } = ba(e), I = Gn(e.filterSortBy), y = J(/* @__PURE__ */ new Map()), O = () => {
10027
10031
  m.value = !0, n("focus", l.value);
10028
- }, P = () => {
10032
+ }, V = () => {
10029
10033
  var D;
10030
10034
  m.value = !1, (D = e.v) == null || D.$touch(), n("blur", l.value);
10031
10035
  }, F = x(() => {
@@ -10074,13 +10078,13 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10074
10078
  D !== C && (ue(D), n("searchChangeDebounced", D));
10075
10079
  },
10076
10080
  { debounce: 300, maxWait: 1e3 }
10077
- ), Pe(d, (D, C) => {
10081
+ ), Oe(d, (D, C) => {
10078
10082
  if (D.length === 0 && m.value === !0 && Date.now() - Me.value > 200) {
10079
10083
  d.value = C;
10080
10084
  return;
10081
10085
  }
10082
10086
  D !== C && n("searchChange", D);
10083
- }), Pe(
10087
+ }), Oe(
10084
10088
  l,
10085
10089
  async (D) => {
10086
10090
  if (ye(D) || S(D) || Ee(D) && D.length === 0)
@@ -10100,12 +10104,12 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10100
10104
  clearable: t.clearable,
10101
10105
  "error-messages": c(F),
10102
10106
  loading: v.value,
10103
- onBlur: P,
10107
+ onBlur: V,
10104
10108
  onFocus: O,
10105
10109
  "onUpdate:search": ee,
10106
10110
  "onClick:clear": Q,
10107
10111
  onKeydown: wr(W, ["delete"])
10108
- }, an({
10112
+ }, nn({
10109
10113
  label: g(() => [
10110
10114
  t.hideLabel ? Z("", !0) : (w(), H("span", {
10111
10115
  key: c(U) + ""
@@ -10141,10 +10145,10 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10141
10145
  }
10142
10146
  ]), 1032, ["modelValue", "search", "items", "multiple", "clearable", "error-messages", "loading", "onKeydown"]));
10143
10147
  }
10144
- }), Ss = { class: "d-flex justify-center align-center fill-height" }, $s = { class: "d-flex justify-center align-center flex-column" }, Os = ["src"], Ps = {
10148
+ }), Ss = { class: "d-flex justify-center align-center fill-height" }, $s = { class: "d-flex justify-center align-center flex-column" }, Os = ["src"], Vs = {
10145
10149
  key: 0,
10146
10150
  class: "display-1 my-3"
10147
- }, Vs = { class: "mb-3 body-1" }, Is = { class: "py-5" }, Fs = /* @__PURE__ */ L({
10151
+ }, Ps = { class: "mb-3 body-1" }, Is = { class: "py-5" }, Fs = /* @__PURE__ */ L({
10148
10152
  __name: "ALoginView",
10149
10153
  props: {
10150
10154
  title: { default: void 0 },
@@ -10153,7 +10157,7 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10153
10157
  },
10154
10158
  setup(t) {
10155
10159
  const n = t, { t: e } = K();
10156
- return zt(() => {
10160
+ return an(() => {
10157
10161
  console.log(n);
10158
10162
  }), (a, r) => (w(), H("div", Ss, [
10159
10163
  te("div", $s, [
@@ -10162,8 +10166,8 @@ const xs = /* @__PURE__ */ te("br", null, null, -1), Fh = /* @__PURE__ */ L({
10162
10166
  class: "logo pb-2",
10163
10167
  alt: ""
10164
10168
  }, null, 8, Os),
10165
- t.title ? (w(), H("h1", Ps, $(t.title), 1)) : Z("", !0),
10166
- te("h4", Vs, [
10169
+ t.title ? (w(), H("h1", Vs, $(t.title), 1)) : Z("", !0),
10170
+ te("h4", Ps, [
10167
10171
  te("span", null, $(c(e)("common.system.login.text")), 1)
10168
10172
  ]),
10169
10173
  te("div", Is, [
@@ -10190,7 +10194,7 @@ const Nh = /* @__PURE__ */ vt(Fs, [["__scopeId", "data-v-d02b0927"]]), Lh = /* @
10190
10194
  },
10191
10195
  setup(t) {
10192
10196
  const n = t;
10193
- return zt(() => {
10197
+ return an(() => {
10194
10198
  n.logoutUrl && (window.location.href = n.logoutUrl());
10195
10199
  }), (e, a) => (w(), H("div"));
10196
10200
  }
@@ -10380,11 +10384,11 @@ const Jh = (t, n = 2) => {
10380
10384
  return parseFloat((t / Math.pow(e, o)).toFixed(a)) + " " + r[o];
10381
10385
  }, Tt = (t) => Fi.includes(t), St = (t, n, e = "") => Sr(n) ? t : Qo(e === "" ? t : e, n), Wh = (t, n, e = "", a = {}, r = null, o, l, f = {}) => new Promise((u, p) => {
10382
10386
  const m = { method: n };
10383
- e !== "" && (m.url = St(e, a)), ye(r) || (m.data = JSON.stringify(r)), t().request({ ...f, ...m }).then((d) => Tt(d.status) ? d.data ? u(d.data) : p(new Ve()) : p(new ht(d.status))).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Ve(d)));
10387
+ e !== "" && (m.url = St(e, a)), ye(r) || (m.data = JSON.stringify(r)), t().request({ ...f, ...m }).then((d) => Tt(d.status) ? d.data ? u(d.data) : p(new Pe()) : p(new ht(d.status))).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Pe(d)));
10384
10388
  }), Ys = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((f, u) => {
10385
- t().post(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Ve()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Ve(p)));
10389
+ t().post(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Pe()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Pe(p)));
10386
10390
  }), Hs = (t, n, e = {}, a, r, o = {}) => new Promise((l, f) => {
10387
- t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : u.status === Vr ? l(null) : f(new Ve()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Ve(u)));
10391
+ t().delete(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : u.status === Pr ? l(null) : f(new Pe()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Pe(u)));
10388
10392
  });
10389
10393
  function oo() {
10390
10394
  const t = J([]), n = (m) => {
@@ -10432,8 +10436,8 @@ const Js = (t, n) => {
10432
10436
  }, qh = (t, n, e, a = {}, r, o, l = {}, f = !1) => new Promise((u, p) => {
10433
10437
  t().get(St(e, a) + Js(n, f), l).then((m) => {
10434
10438
  var d;
10435
- return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Ve()) : p(new ht(m.status));
10436
- }).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new Ve(m)));
10439
+ return Tt(m.status) ? (d = m.data) != null && d.data ? u(m.data.data) : p(new Pe()) : p(new ht(m.status));
10440
+ }).catch((m) => _t(m) ? p(new mt(m)) : Mt(m) ? p(new pt(m, r, o, m)) : xt(m) ? p(new gt(m, m)) : p(new Pe(m)));
10437
10441
  }), Ws = (t) => qn(t) && Object.hasOwn(t, "totalCount"), qs = (t) => qn(t) && Object.hasOwn(t, "hasNextPage"), Ks = (t, n) => {
10438
10442
  const { querySetLimit: e, querySetOffset: a, querySetOrder: r, queryBuild: o, querySetFilters: l } = oo();
10439
10443
  return e(t.rowsPerPage), a(t.page, t.rowsPerPage), r(t.sortBy, t.descending), l(n), o();
@@ -10449,16 +10453,16 @@ const Js = (t, n) => {
10449
10453
  const v = d.data;
10450
10454
  return qs(v) ? a.hasNextPage = d.data.hasNextPage : Ws(v) && (a.totalCount = v.totalCount), a.currentViewCount = d.data.data.length, u(d.data.data);
10451
10455
  }
10452
- return p(new Ve());
10453
- }).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Ve(d)));
10456
+ return p(new Pe());
10457
+ }).catch((d) => _t(d) ? p(new mt(d)) : Mt(d) ? p(new pt(d, o, l, d)) : xt(d) ? p(new gt(d, d)) : p(new Pe(d)));
10454
10458
  }), Zs = (t, n, e = {}, a, r, o = {}) => new Promise((l, f) => {
10455
- t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : f(new Ve()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Ve(u)));
10459
+ t().get(St(n, e), o).then((u) => Tt(u.status) ? u.data ? l(u.data) : f(new Pe()) : f(new ht(u.status))).catch((u) => _t(u) ? f(new mt(u)) : Mt(u) ? f(new pt(u, a, r, u)) : xt(u) ? f(new gt(u, u)) : f(new Pe(u)));
10456
10460
  }), Kh = (t, n = {}, e, a = {}, r, o, l = {}) => new Promise((f, u) => {
10457
- t().put(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Ve()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Ve(p)));
10461
+ t().put(St(e, a), JSON.stringify(n), l).then((p) => Tt(p.status) ? p.data ? f(p.data) : u(new Pe()) : u(new ht(p.status))).catch((p) => _t(p) ? u(new mt(p)) : Mt(p) ? u(new pt(p, r, o, p)) : xt(p) ? u(new gt(p, p)) : u(new Pe(p)));
10458
10462
  });
10459
10463
  function Gh() {
10460
10464
  return {
10461
- isAnzuFatalError: Pr,
10465
+ isAnzuFatalError: Vr,
10462
10466
  isAnzuApiForbiddenError: Fr,
10463
10467
  isAnzuApiValidationError: Er,
10464
10468
  isAnzuApiResponseCodeError: Nr
@@ -10594,7 +10598,7 @@ const eg = (t, n) => {
10594
10598
  recordWas: wu,
10595
10599
  idWasCopied: ku,
10596
10600
  textWasCopied: Cu
10597
- }, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Pu = "Reset Filter", Vu = "More filters", Iu = "Cancel", Fu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", zu = "Add", ju = "Download", Bu = "Upload", Ru = {
10601
+ }, Du = "Create", _u = "Create And Close", Mu = "Save", xu = "Save And Close", Tu = "Close", Su = "Edit", $u = "Detail", Ou = "Apply Filter", Vu = "Reset Filter", Pu = "More filters", Iu = "Cancel", Fu = "Id", Eu = "Now", Nu = "Confirm", Lu = "Copy ID", zu = "Add", ju = "Download", Bu = "Upload", Ru = {
10598
10602
  create: Du,
10599
10603
  createAndClose: _u,
10600
10604
  save: Mu,
@@ -10603,8 +10607,8 @@ const eg = (t, n) => {
10603
10607
  edit: Su,
10604
10608
  detail: $u,
10605
10609
  submitFilter: Ou,
10606
- resetFilter: Pu,
10607
- advancedFilters: Vu,
10610
+ resetFilter: Vu,
10611
+ advancedFilters: Pu,
10608
10612
  cancel: Iu,
10609
10613
  delete: "Delete",
10610
10614
  id: Fu,
@@ -10819,13 +10823,13 @@ const eg = (t, n) => {
10819
10823
  title: "Title"
10820
10824
  }, Od = {
10821
10825
  deleteConfirm: "Do you want to permanently remove the permission group from the system?"
10822
- }, Pd = {
10826
+ }, Vd = {
10823
10827
  meta: Td,
10824
10828
  model: Sd,
10825
10829
  filter: $d,
10826
10830
  button: Od
10827
- }, Vd = "Invalid", Id = "ID mismatch error when editing object. Please contact the administrator if needed.", Fd = "Required field is empty.", Ed = "Field does not meet minimum length requirement.", Nd = "Field does not meet maximum length requirement.", Ld = "Invalid field.", zd = "Field must be unique.", jd = "Value in field not found.", Bd = "Value must be greater.", Rd = "Value must be lower.", Ud = "Incorrect format.", Yd = "Url is in an incorrect format.", Hd = "Item already exists.", Jd = {
10828
- noTranslation: Vd,
10831
+ }, Pd = "Invalid", Id = "ID mismatch error when editing object. Please contact the administrator if needed.", Fd = "Required field is empty.", Ed = "Field does not meet minimum length requirement.", Nd = "Field does not meet maximum length requirement.", Ld = "Invalid field.", zd = "Field must be unique.", jd = "Value in field not found.", Bd = "Value must be greater.", Rd = "Value must be lower.", Ud = "Incorrect format.", Yd = "Url is in an incorrect format.", Hd = "Item already exists.", Jd = {
10832
+ noTranslation: Pd,
10829
10833
  error_id_mismatch: Id,
10830
10834
  error_field_empty: Fd,
10831
10835
  error_field_length_min: Ed,
@@ -10862,7 +10866,7 @@ const eg = (t, n) => {
10862
10866
  job: yd,
10863
10867
  log: Ad,
10864
10868
  permission: xd,
10865
- permissionGroup: Pd
10869
+ permissionGroup: Vd
10866
10870
  },
10867
10871
  $vuetify: pu,
10868
10872
  error: {
@@ -10893,7 +10897,7 @@ const eg = (t, n) => {
10893
10897
  recordWas: fc,
10894
10898
  idWasCopied: mc,
10895
10899
  textWasCopied: pc
10896
- }, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "Viac filtrov", Mc = "Zrušiť", xc = "ID", Tc = "Teraz", Sc = "Potvrď", $c = "Kopírovať ID", Oc = "Pridať", Pc = "Stiahnuť", Vc = "Nahratie", Ic = {
10900
+ }, gc = "Vytvoriť", vc = "Vytvoriť a zatvoriť", yc = "Uložiť", bc = "Uložiť a zatvoriť", wc = "Zatvoriť", kc = "Editovať", Cc = "Detail", Ac = "Hľadať", Dc = "Zrušiť filter", _c = "Viac filtrov", Mc = "Zrušiť", xc = "ID", Tc = "Teraz", Sc = "Potvrď", $c = "Kopírovať ID", Oc = "Pridať", Vc = "Stiahnuť", Pc = "Nahratie", Ic = {
10897
10901
  create: gc,
10898
10902
  createAndClose: vc,
10899
10903
  save: yc,
@@ -10911,8 +10915,8 @@ const eg = (t, n) => {
10911
10915
  confirm: Sc,
10912
10916
  copyId: $c,
10913
10917
  add: Oc,
10914
- download: Pc,
10915
- Upload: Vc
10918
+ download: Vc,
10919
+ Upload: Pc
10916
10920
  }, Fc = "Systém", Ec = "Nevybrané", Nc = {
10917
10921
  true: "áno",
10918
10922
  false: "nie"
@@ -11151,7 +11155,7 @@ const eg = (t, n) => {
11151
11155
  nextYearAriaLabel: "Ďalší rok",
11152
11156
  prevMonthAriaLabel: "Predchádzajúci mesiac",
11153
11157
  prevYearAriaLabel: "Predchádzajúci rok"
11154
- }, Pf = "Žiadne dostupné dáta", Vf = {
11158
+ }, Vf = "Žiadne dostupné dáta", Pf = {
11155
11159
  prev: "Predchádzajúci krok",
11156
11160
  next: "Nasledujúci krok",
11157
11161
  ariaLabel: {
@@ -11190,8 +11194,8 @@ const eg = (t, n) => {
11190
11194
  dataTable: Sf,
11191
11195
  dataFooter: $f,
11192
11196
  datePicker: Of,
11193
- noDataText: Pf,
11194
- carousel: Vf,
11197
+ noDataText: Vf,
11198
+ carousel: Pf,
11195
11199
  calendar: If,
11196
11200
  input: Ff,
11197
11201
  fileInput: Ef,
@@ -11287,14 +11291,14 @@ function Dm() {
11287
11291
  }
11288
11292
  const { t: _m } = le.global;
11289
11293
  function Mm() {
11290
- return Ge({ t: _m })(Po, {
11294
+ return Ge({ t: _m })(Vo, {
11291
11295
  withArguments: !0,
11292
11296
  messagePath: () => "error.jsValidation.minValue"
11293
11297
  });
11294
11298
  }
11295
11299
  const { t: xm } = le.global;
11296
11300
  function Tm() {
11297
- return Ge({ t: xm })(Vo, {
11301
+ return Ge({ t: xm })(Po, {
11298
11302
  messagePath: () => "error.jsValidation.numeric"
11299
11303
  });
11300
11304
  }
@@ -11305,14 +11309,14 @@ function $m() {
11305
11309
  });
11306
11310
  }
11307
11311
  const { t: Om } = le.global;
11308
- function Pm() {
11312
+ function Vm() {
11309
11313
  return Ge({ t: Om })(Tr.regex(/^[a-z\-0-9/]+$/), {
11310
11314
  messagePath: () => "error.jsValidation.slug"
11311
11315
  });
11312
11316
  }
11313
- const { t: Vm } = le.global;
11317
+ const { t: Pm } = le.global;
11314
11318
  function Im() {
11315
- const t = Ge({ t: Vm }), n = (a, r) => (o) => !Tr.req(o) || o.every((l) => l.length >= c(a) && l.length <= c(r));
11319
+ const t = Ge({ t: Pm }), n = (a, r) => (o) => !Tr.req(o) || o.every((l) => l.length >= c(a) && l.length <= c(r));
11316
11320
  return t((a, r) => ({
11317
11321
  $validator: n(a, r),
11318
11322
  // $message not required when using i18n
@@ -11347,7 +11351,7 @@ function ig() {
11347
11351
  between: gm(),
11348
11352
  email: ym(),
11349
11353
  numeric: Tm(),
11350
- slug: Pm(),
11354
+ slug: Vm(),
11351
11355
  url: Em(),
11352
11356
  stringArrayItemLength: Im()
11353
11357
  };
@@ -11388,10 +11392,10 @@ function lg(t, n, e = void 0, a = void 0, r = !1, o = void 0) {
11388
11392
  }
11389
11393
  const sg = () => ({
11390
11394
  commonAliases: () => ({
11391
- ABtnPrimary: Pn,
11392
- ABtnSecondary: Pn,
11393
- ABtnTertiary: Pn,
11394
- ABtnIcon: Pn,
11395
+ ABtnPrimary: Vn,
11396
+ ABtnSecondary: Vn,
11397
+ ABtnTertiary: Vn,
11398
+ ABtnIcon: Vn,
11395
11399
  AChipNoLink: Ro
11396
11400
  }),
11397
11401
  commonDefaults: () => ({
@@ -11498,10 +11502,10 @@ const sg = () => ({
11498
11502
  })
11499
11503
  });
11500
11504
  function ug(t, n, e, a = "id") {
11501
- const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), l = (...P) => {
11505
+ const r = J(/* @__PURE__ */ new Map()), o = J(/* @__PURE__ */ new Set()), l = (...V) => {
11502
11506
  const F = J(/* @__PURE__ */ new Set());
11503
- for (let R = 0; R < P.length; R++) {
11504
- const U = P[R];
11507
+ for (let R = 0; R < V.length; R++) {
11508
+ const U = V[R];
11505
11509
  if (!(ye(U) || S(U))) {
11506
11510
  if (Ee(U)) {
11507
11511
  for (let ae = 0; ae < U.length; ae++) {
@@ -11516,21 +11520,21 @@ function ug(t, n, e, a = "id") {
11516
11520
  F.value.forEach((R) => {
11517
11521
  r.value.set(R, { ...n(R), _loaded: !1 }), o.value.add(R);
11518
11522
  });
11519
- }, f = (P) => {
11520
- P[a] && r.value.set(P[a], { ...t(P), _loaded: !0 });
11521
- }, u = (P) => {
11522
- P[a] && r.value.set(P[a], { ...P, _loaded: !0 });
11523
- }, p = (P) => {
11524
- for (let F = 0; F < P.length; F += 1)
11525
- r.value.set(P[F][a], { ...t(P[F]), _loaded: !0 });
11526
- }, m = (P) => {
11527
- for (let F = 0; F < P.length; F += 1)
11528
- o.value.delete(P[F]);
11523
+ }, f = (V) => {
11524
+ V[a] && r.value.set(V[a], { ...t(V), _loaded: !0 });
11525
+ }, u = (V) => {
11526
+ V[a] && r.value.set(V[a], { ...V, _loaded: !0 });
11527
+ }, p = (V) => {
11528
+ for (let F = 0; F < V.length; F += 1)
11529
+ r.value.set(V[F][a], { ...t(V[F]), _loaded: !0 });
11530
+ }, m = (V) => {
11531
+ for (let F = 0; F < V.length; F += 1)
11532
+ o.value.delete(V[F]);
11529
11533
  };
11530
11534
  async function d() {
11531
11535
  if (o.value.size > 0) {
11532
- const P = Array.from(o.value), F = await e(P);
11533
- m(P), p(F);
11536
+ const V = Array.from(o.value), F = await e(V);
11537
+ m(V), p(F);
11534
11538
  }
11535
11539
  }
11536
11540
  const v = Ao(
@@ -11549,15 +11553,15 @@ function ug(t, n, e, a = "id") {
11549
11553
  add: l,
11550
11554
  addManual: f,
11551
11555
  addManualMinimal: u,
11552
- has: (P) => P ? r.value.has(P) : !1,
11553
- get: (P) => {
11554
- if (P)
11555
- return r.value.get(P);
11556
+ has: (V) => V ? r.value.has(V) : !1,
11557
+ get: (V) => {
11558
+ if (V)
11559
+ return r.value.get(V);
11556
11560
  },
11557
- isLoaded: (P) => {
11558
- if (!P)
11561
+ isLoaded: (V) => {
11562
+ if (!V)
11559
11563
  return !1;
11560
- const F = r.value.get(P);
11564
+ const F = r.value.get(V);
11561
11565
  return F ? F._loaded : !1;
11562
11566
  }
11563
11567
  };
@@ -11631,7 +11635,7 @@ export {
11631
11635
  rl as AFilterSubmitButton,
11632
11636
  mh as AFilterValueObjectOptionsSelect,
11633
11637
  Xp as AFilterWrapper,
11634
- Pp as AFormBooleanToggle,
11638
+ Vp as AFormBooleanToggle,
11635
11639
  ih as AFormDatetimePicker,
11636
11640
  uh as AFormRemoteAutocomplete,
11637
11641
  Eh as AFormRemoteAutocompleteWithCached,
@@ -11643,7 +11647,7 @@ export {
11643
11647
  no as AIconGroup,
11644
11648
  Bh as AJobDetailCommon,
11645
11649
  Ll as AJobStatusChip,
11646
- Ph as ALanguageSelect,
11650
+ Vh as ALanguageSelect,
11647
11651
  Np as ALogData,
11648
11652
  yh as ALogLevelChip,
11649
11653
  Nh as ALoginView,
@@ -11652,8 +11656,8 @@ export {
11652
11656
  eh as APermissionGrantEditor,
11653
11657
  th as APermissionValueChip,
11654
11658
  tt as ARow,
11655
- Vh as ASystemBar,
11656
- Vp as ASystemEntityScope,
11659
+ Ph as ASystemBar,
11660
+ Pp as ASystemEntityScope,
11657
11661
  Th as ATableCopyIdButton,
11658
11662
  Sh as ATableDetailButton,
11659
11663
  $h as ATableEditButton,
@@ -11666,7 +11670,7 @@ export {
11666
11670
  gt as AnzuApiForbiddenOperationError,
11667
11671
  ht as AnzuApiResponseCodeError,
11668
11672
  pt as AnzuApiValidationError,
11669
- Ve as AnzuFatalError,
11673
+ Pe as AnzuFatalError,
11670
11674
  oh as AnzuSystemsCommonAdmin,
11671
11675
  Jr as AvailableLanguagesSymbol,
11672
11676
  mr as COMMON_CONFIG,
@@ -11676,10 +11680,10 @@ export {
11676
11680
  Ln as Grant,
11677
11681
  Rr as GrantOrigin,
11678
11682
  Lp as HTTP_STATUS_BAD_REQUEST,
11679
- Vi as HTTP_STATUS_CREATED,
11683
+ Pi as HTTP_STATUS_CREATED,
11680
11684
  Ii as HTTP_STATUS_FORBIDDEN,
11681
- Vr as HTTP_STATUS_NO_CONTENT,
11682
- Pi as HTTP_STATUS_OK,
11685
+ Pr as HTTP_STATUS_NO_CONTENT,
11686
+ Vi as HTTP_STATUS_OK,
11683
11687
  zp as HTTP_STATUS_UNAUTHORIZED,
11684
11688
  Ir as HTTP_STATUS_UNPROCESSABLE_ENTITY,
11685
11689
  Qh as JOB_RESOURCE_USER_DATA_DELETE,
@@ -11724,7 +11728,7 @@ export {
11724
11728
  zi as isAnzuApiForbiddenOperationError,
11725
11729
  Nr as isAnzuApiResponseCodeError,
11726
11730
  Er as isAnzuApiValidationError,
11727
- Pr as isAnzuFatalError,
11731
+ Vr as isAnzuFatalError,
11728
11732
  Ee as isArray,
11729
11733
  rr as isBoolean,
11730
11734
  ul as isCreatedByAware,