@anzusystems/common-admin 1.31.2 → 1.33.0

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,7 +1,7 @@
1
1
  var Do = Object.defineProperty;
2
2
  var ko = (t, r, e) => r in t ? Do(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
3
  var Vi = (t, r, e) => (ko(t, typeof r != "symbol" ? r + "" : r, e), e);
4
- import { defineComponent as U, computed as w, openBlock as v, createBlock as $, withCtx as g, createTextVNode as j, toDisplayString as D, createElementBlock as R, createVNode as p, normalizeClass as Xe, createCommentVNode as re, renderSlot as Ve, createElementVNode as z, resolveComponent as Je, withModifiers as Z, withDirectives as ei, vShow as ti, isProxy as So, toRaw as ki, isRef as Li, unref as x, inject as Ie, createSlots as Ir, provide as Ds, watch as Se, Fragment as De, renderList as ut, ref as L, onMounted as wr, normalizeStyle as Ut, resolveDynamicComponent as ri, TransitionGroup as Un, toRefs as Ri, h as Mo, nextTick as qr, readonly as fr, withKeys as ji, reactive as Gn, shallowRef as cn, mergeProps as Rs, createStaticVNode as Wn, setBlockTracking as Vn, onBeforeUnmount as js, toRef as Hi } from "vue";
4
+ import { defineComponent as U, computed as w, openBlock as v, createBlock as $, withCtx as g, createTextVNode as j, toDisplayString as D, createElementBlock as R, createVNode as p, normalizeClass as Xe, createCommentVNode as re, renderSlot as Ve, createElementVNode as z, resolveComponent as Je, withModifiers as Z, withDirectives as ei, vShow as ti, isProxy as So, toRaw as ki, isRef as Li, unref as x, inject as Ie, createSlots as Ir, provide as ks, watch as Se, Fragment as De, renderList as ut, ref as L, onMounted as wr, normalizeStyle as Ut, resolveDynamicComponent as ri, TransitionGroup as Un, toRefs as Ri, h as Mo, nextTick as qr, readonly as fr, withKeys as ji, reactive as Gn, shallowRef as cn, mergeProps as Hi, createStaticVNode as Wn, setBlockTracking as Vn, onBeforeUnmount as js, toRef as Ui } from "vue";
5
5
  import { useI18n as ne, createI18n as To } from "vue-i18n";
6
6
  import { VChip as Zt } from "vuetify/lib/components/VChip/index.mjs";
7
7
  import { VRow as Wt, VCol as yt, VSpacer as Et } from "vuetify/lib/components/VGrid/index.mjs";
@@ -11,11 +11,11 @@ import { VCard as rt, VCardText as Jn, VCardActions as ii } from "vuetify/lib/co
11
11
  import { VTextField as si } from "vuetify/lib/components/VTextField/index.mjs";
12
12
  import { VTextarea as $o } from "vuetify/lib/components/VTextarea/index.mjs";
13
13
  import { VBtn as oe } from "vuetify/lib/components/VBtn/index.mjs";
14
- import { VBtnToggle as Ui } from "vuetify/lib/components/VBtnToggle/index.mjs";
14
+ import { VBtnToggle as Gi } from "vuetify/lib/components/VBtnToggle/index.mjs";
15
15
  import { VList as Qt, VListItem as et, VListItemTitle as Wr, VListItemSubtitle as Po } from "vuetify/lib/components/VList/index.mjs";
16
16
  import { VMenu as It } from "vuetify/lib/components/VMenu/index.mjs";
17
17
  import { VTooltip as Ce } from "vuetify/lib/components/VTooltip/index.mjs";
18
- import { VToolbar as Gi, VToolbarTitle as Zn } from "vuetify/lib/components/VToolbar/index.mjs";
18
+ import { VToolbar as Wi, VToolbarTitle as Zn } from "vuetify/lib/components/VToolbar/index.mjs";
19
19
  import { useRouter as Hs } from "vue-router";
20
20
  import Us from "axios";
21
21
  import { VDialog as Xr } from "vuetify/lib/components/VDialog/index.mjs";
@@ -28,9 +28,9 @@ import { VAutocomplete as ni } from "vuetify/lib/components/VAutocomplete/index.
28
28
  import { VSwitch as sd } from "vuetify/lib/components/VSwitch/index.mjs";
29
29
  import { VLabel as nd } from "vuetify/lib/components/VLabel/index.mjs";
30
30
  import { VSelect as ad } from "vuetify/lib/components/VSelect/index.mjs";
31
- import { VProgressCircular as os } from "vuetify/lib/components/VProgressCircular/index.mjs";
31
+ import { VProgressCircular as ds } from "vuetify/lib/components/VProgressCircular/index.mjs";
32
32
  import { VDivider as sa } from "vuetify/lib/components/VDivider/index.mjs";
33
- import { VAvatar as ks } from "vuetify/lib/components/VAvatar/index.mjs";
33
+ import { VAvatar as Ss } from "vuetify/lib/components/VAvatar/index.mjs";
34
34
  import { VAppBar as od } from "vuetify/lib/components/VAppBar/index.mjs";
35
35
  import { VColorPicker as dd } from "vuetify/lib/components/VColorPicker/index.mjs";
36
36
  import { VTable as ld } from "vuetify/lib/components/VTable/index.mjs";
@@ -165,7 +165,7 @@ const hA = /* @__PURE__ */ U({
165
165
  }), M = (t) => typeof t > "u", Jr = (t) => !M(t), ce = (t) => t === null, Ws = (t) => typeof t == "number", Mt = (t) => typeof t == "string", tt = (t) => Array.isArray(t), Xd = (t) => typeof t == "function", Fn = (t) => typeof t == "boolean", pd = (t) => Mt(t) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(t), gd = (t) => {
166
166
  const r = parseFloat(t);
167
167
  return !isNaN(t) && (r | 0) === r;
168
- }, Wi = (t) => typeof t == "object" && !tt(t) && !ce(t), oa = (t) => Wi(t) ? Object.keys(t).length === 0 : !1, Ad = (t) => tt(t) && t.length === 0, qn = (t) => ce(t) || M(t) || t === "" || t === 0 || Ad(t) || oa(t), xe = (t) => {
168
+ }, Ji = (t) => typeof t == "object" && !tt(t) && !ce(t), oa = (t) => Ji(t) ? Object.keys(t).length === 0 : !1, Ad = (t) => tt(t) && t.length === 0, qn = (t) => ce(t) || M(t) || t === "" || t === 0 || Ad(t) || oa(t), xe = (t) => {
169
169
  if (typeof structuredClone == "function")
170
170
  try {
171
171
  return So(t) ? structuredClone(ki(t)) : Li(t) ? structuredClone(x(t)) : structuredClone(t);
@@ -216,7 +216,7 @@ const hA = /* @__PURE__ */ U({
216
216
  const o = /^:([a-zA-Z0-9_-]+).*/, d = s.match(o);
217
217
  ce(d) || !d[1] || M(r[d[1]]) || (e[n] = r[d[1]] + "");
218
218
  }), e.join("/");
219
- }, CA = (t) => t.replace(".", "-"), KA = (t) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(t), wt = Symbol.for("anzu:SystemScope"), _t = Symbol.for("anzu:SubjectScope"), da = Symbol.for("anzu:DamClient"), Ji = Symbol.for("anzu:CurrentUser"), la = Symbol.for("anzu:CustomAclResolver"), ua = Symbol.for("anzu:AvailableLanguages"), ca = Symbol.for("anzu:DefaultLanguage"), Va = Symbol.for("anzu:DefaultLicenceId"), xd = Symbol.for("anzu:ImageOptions"), bd = {
219
+ }, CA = (t) => t.replace(".", "-"), KA = (t) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(t), wt = Symbol.for("anzu:SystemScope"), _t = Symbol.for("anzu:SubjectScope"), da = Symbol.for("anzu:DamClient"), Zi = Symbol.for("anzu:CurrentUser"), la = Symbol.for("anzu:CustomAclResolver"), ua = Symbol.for("anzu:AvailableLanguages"), ca = Symbol.for("anzu:DefaultLanguage"), Va = Symbol.for("anzu:DefaultLicenceId"), xd = Symbol.for("anzu:ImageOptions"), bd = {
220
220
  key: 0,
221
221
  class: "required"
222
222
  }, IA = /* @__PURE__ */ U({
@@ -353,7 +353,7 @@ const hA = /* @__PURE__ */ U({
353
353
  },
354
354
  setup(t) {
355
355
  const r = t;
356
- return Ds(wt, r.system), Ds(_t, r.subject), (e, i) => Ve(e.$slots, "default");
356
+ return ks(wt, r.system), ks(_t, r.subject), (e, i) => Ve(e.$slots, "default");
357
357
  }
358
358
  }), Cd = { class: "anzu-data-footer" }, Kd = {
359
359
  key: 0,
@@ -394,7 +394,7 @@ const hA = /* @__PURE__ */ U({
394
394
  return (P, k) => (v(), R("div", Cd, [
395
395
  P.hideRecordsPerPage ? re("", !0) : (v(), R("div", Kd, [
396
396
  j(D(x(n)("common.system.datatable.itemsPerPage")) + ": ", 1),
397
- p(Ui, {
397
+ p(Gi, {
398
398
  modelValue: s.value.rowsPerPage,
399
399
  "onUpdate:modelValue": k[0] || (k[0] = (B) => s.value.rowsPerPage = B),
400
400
  class: "ml-2",
@@ -649,7 +649,7 @@ const DA = /* @__PURE__ */ U({
649
649
  const e = r, i = () => {
650
650
  e("onCancel");
651
651
  };
652
- return (s, n) => (v(), $(Gi, {
652
+ return (s, n) => (v(), $(Wi, {
653
653
  density: "compact",
654
654
  color: "transparent"
655
655
  }, {
@@ -728,14 +728,14 @@ function Ed(t) {
728
728
  });
729
729
  } };
730
730
  }
731
- const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", mn = [
731
+ const Mi = Ed(), ls = "[-+]?[0-9]*.?[0-9]+", mn = [
732
732
  {
733
733
  name: "px",
734
- regexp: new RegExp(`^${ds}px$`)
734
+ regexp: new RegExp(`^${ls}px$`)
735
735
  },
736
736
  {
737
737
  name: "%",
738
- regexp: new RegExp(`^${ds}%$`)
738
+ regexp: new RegExp(`^${ls}%$`)
739
739
  },
740
740
  /**
741
741
  * Fallback option
@@ -743,7 +743,7 @@ const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", mn = [
743
743
  */
744
744
  {
745
745
  name: "px",
746
- regexp: new RegExp(`^${ds}$`)
746
+ regexp: new RegExp(`^${ls}$`)
747
747
  }
748
748
  ], $d = (t) => {
749
749
  if (t === "auto")
@@ -781,7 +781,7 @@ const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", mn = [
781
781
  return t.forEach((i) => {
782
782
  Yn.y.has(i) && (e = i), Yn.x.has(i) && (r = i);
783
783
  }), { x: r, y: e };
784
- }, ls = {
784
+ }, us = {
785
785
  position: ["top", "right"],
786
786
  cssAnimation: "vn-fade",
787
787
  velocityAnimation: {
@@ -844,11 +844,11 @@ const Mi = Ed(), ds = "[-+]?[0-9]*.?[0-9]+", mn = [
844
844
  group: { default: "" },
845
845
  width: { default: 300 },
846
846
  reverse: { type: Boolean, default: !1 },
847
- position: { default: ls.position },
847
+ position: { default: us.position },
848
848
  classes: { default: "vue-notification" },
849
849
  animationType: { default: "css" },
850
- animation: { default: ls.velocityAnimation },
851
- animationName: { default: ls.cssAnimation },
850
+ animation: { default: us.velocityAnimation },
851
+ animationName: { default: us.cssAnimation },
852
852
  speed: { default: 300 },
853
853
  duration: { default: 3e3 },
854
854
  delay: { default: 0 },
@@ -1757,13 +1757,13 @@ var Aa = { exports: {} };
1757
1757
  var Yl = Aa.exports;
1758
1758
  const Xl = /* @__PURE__ */ pa(Yl);
1759
1759
  we.extend(Xl);
1760
- const mr = ".000000Z", Ti = "YYYY-MM-DDTHH:mm:ss", Zi = "1970-01-01T00:00:00.000000Z", Qi = "2100-01-01T00:00:00.000000Z", pl = () => we().utc().toDate(), BA = (t) => we(t).toDate(), OA = () => Si(we().utc().unix()), Yr = (t = !0, r = !1) => t && !r ? we().utc().format("YYYY-MM-DDTHH:mm:ss") + mr : t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00") + mr : !t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : we().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", NA = (t = 0) => t === 0 ? we().startOf("day").utc().format(Ti) + mr : we().add(t, "days").startOf("day").utc().format(Ti) + mr, zA = (t = 0) => t === 0 ? we().endOf("day").utc().format(Ti) + mr : we().add(t, "days").endOf("day").utc().format(Ti) + mr, LA = (t = 0, r = null) => (r === null && (r = /* @__PURE__ */ new Date()), t === 0 ? r : t > 0 ? we(r).add(t, "minutes").toDate() : t < 0 ? we(r).subtract(Math.abs(t), "minutes").toDate() : r), gl = (t) => we(t).utc().format("YYYY-MM-DDTHH:mm:ss") + mr, RA = () => we().utc().format("YYYY"), Ss = (t, r = "") => t === Qi || t === Zi || t === "" || ce(t) || M(t) ? r : we(t).format("DD.MM.YYYY HH:mm"), jA = (t, r = "") => {
1761
- if (t === Qi || t === Zi || t === "" || ce(t) || M(t))
1760
+ const mr = ".000000Z", Ti = "YYYY-MM-DDTHH:mm:ss", Qi = "1970-01-01T00:00:00.000000Z", es = "2100-01-01T00:00:00.000000Z", pl = () => we().utc().toDate(), BA = (t) => we(t).toDate(), OA = () => Si(we().utc().unix()), Yr = (t = !0, r = !1) => t && !r ? we().utc().format("YYYY-MM-DDTHH:mm:ss") + mr : t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00") + mr : !t && r ? we().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : we().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", NA = (t = 0) => t === 0 ? we().startOf("day").utc().format(Ti) + mr : we().add(t, "days").startOf("day").utc().format(Ti) + mr, zA = (t = 0) => t === 0 ? we().endOf("day").utc().format(Ti) + mr : we().add(t, "days").endOf("day").utc().format(Ti) + mr, LA = (t = 0, r = null) => (r === null && (r = /* @__PURE__ */ new Date()), t === 0 ? r : t > 0 ? we(r).add(t, "minutes").toDate() : t < 0 ? we(r).subtract(Math.abs(t), "minutes").toDate() : r), gl = (t) => we(t).utc().format("YYYY-MM-DDTHH:mm:ss") + mr, RA = () => we().utc().format("YYYY"), Ms = (t, r = "") => t === es || t === Qi || t === "" || ce(t) || M(t) ? r : we(t).format("DD.MM.YYYY HH:mm"), jA = (t, r = "") => {
1761
+ if (t === es || t === Qi || t === "" || ce(t) || M(t))
1762
1762
  return r;
1763
1763
  let e = !0, i = !0;
1764
1764
  const s = we(t), n = we();
1765
1765
  return n.format("YYYY") === s.format("YYYY") && (e = !1), n.format("YYYY-MM-DD") === s.format("YYYY-MM-DD") && (i = !1), !e && !i ? we(s).format("H:mm") : e ? we(s).format("D.M.YYYY H:mm") : we(s).format("D.M. H:mm");
1766
- }, HA = (t, r = "") => t === Qi || t === Zi || t === "" || ce(t) || M(t) ? r : we(t).format("DD.MM.YYYY"), UA = (t, r = "") => t === Qi || t === Zi || t === "" || ce(t) || M(t) ? r : we(t).format("HH:mm"), GA = (t, r, e = "ms") => {
1766
+ }, HA = (t, r = "") => t === es || t === Qi || t === "" || ce(t) || M(t) ? r : we(t).format("DD.MM.YYYY"), UA = (t, r = "") => t === es || t === Qi || t === "" || ce(t) || M(t) ? r : we(t).format("HH:mm"), GA = (t, r, e = "ms") => {
1767
1767
  const i = we(t), s = we(r);
1768
1768
  return i.diff(s, e);
1769
1769
  }, Al = { class: "d-flex align-center" }, hl = {
@@ -1780,7 +1780,7 @@ const mr = ".000000Z", Ti = "YYYY-MM-DDTHH:mm:ss", Zi = "1970-01-01T00:00:00.000
1780
1780
  hideModifiedAt: { type: Boolean, default: !1 }
1781
1781
  },
1782
1782
  setup(t) {
1783
- const r = t, e = w(() => Ss(r.data.createdAt)), i = w(() => Ss(r.data.modifiedAt)), { t: s } = ne();
1783
+ const r = t, e = w(() => Ms(r.data.createdAt)), i = w(() => Ms(r.data.modifiedAt)), { t: s } = ne();
1784
1784
  return (n, o) => (v(), R(De, null, [
1785
1785
  p(bt, {
1786
1786
  title: x(s)("common.model.tracking.created")
@@ -1951,7 +1951,7 @@ const ha = /* @__PURE__ */ U({
1951
1951
  x(d) ? {
1952
1952
  name: "append-inner",
1953
1953
  fn: g(() => [
1954
- p(Ui, {
1954
+ p(Gi, {
1955
1955
  modelValue: X.value,
1956
1956
  "onUpdate:modelValue": B[0] || (B[0] = (O) => X.value = O),
1957
1957
  divided: "",
@@ -2227,7 +2227,7 @@ const eh = /* @__PURE__ */ U({
2227
2227
  i("change", o);
2228
2228
  }
2229
2229
  }), { getGrantOption: n } = va();
2230
- return (o, d) => (v(), $(Ui, {
2230
+ return (o, d) => (v(), $(Gi, {
2231
2231
  modelValue: s.value,
2232
2232
  "onUpdate:modelValue": d[0] || (d[0] = (a) => s.value = a),
2233
2233
  divided: "",
@@ -2349,9 +2349,9 @@ function ih(t, r, e = ".") {
2349
2349
  }
2350
2350
  return n(t), t;
2351
2351
  }
2352
- const kl = (t) => Wi(t) && Object.hasOwn(t, "owners"), Sl = (t) => Object.hasOwn(t, "createdBy"), Ca = "ROLE_ADMIN";
2352
+ const kl = (t) => Ji(t) && Object.hasOwn(t, "owners"), Sl = (t) => Object.hasOwn(t, "createdBy"), Ca = "ROLE_ADMIN";
2353
2353
  function Ml(t) {
2354
- const r = M(t) || M(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (r ? Ie(Ji, void 0) : void 0), i = (t == null ? void 0 : t.customAclProvider) ?? (r ? Ie(la, void 0) : void 0), s = (a, l) => {
2354
+ const r = M(t) || M(t.disableInject), e = (t == null ? void 0 : t.currentUser) ?? (r ? Ie(Zi, void 0) : void 0), i = (t == null ? void 0 : t.customAclProvider) ?? (r ? Ie(la, void 0) : void 0), s = (a, l) => {
2355
2355
  if (M(e))
2356
2356
  throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
2357
2357
  if (Jr(i) && Jr(i.can))
@@ -2402,7 +2402,7 @@ const Tl = /* @__PURE__ */ U({
2402
2402
  subject: { default: void 0 }
2403
2403
  },
2404
2404
  setup(t) {
2405
- const r = t, e = Ie(Ji), { can: i } = Ml(), s = L(i(r.permission, r.subject));
2405
+ const r = t, e = Ie(Zi), { can: i } = Ml(), s = L(i(r.permission, r.subject));
2406
2406
  return Se(e, () => {
2407
2407
  s.value = i(r.permission, r.subject);
2408
2408
  }), (n, o) => s.value ? Ve(n.$slots, "default", { key: 0 }) : re("", !0);
@@ -2414,11 +2414,11 @@ const Tl = /* @__PURE__ */ U({
2414
2414
  edgeDateValue: { default: "n/a" }
2415
2415
  },
2416
2416
  setup(t) {
2417
- const r = t, e = w(() => Ss(r.dateTime, r.edgeDateValue));
2417
+ const r = t, e = w(() => Ms(r.dateTime, r.edgeDateValue));
2418
2418
  return (i, s) => D(e.value);
2419
2419
  }
2420
2420
  });
2421
- var us = [
2421
+ var cs = [
2422
2422
  "onChange",
2423
2423
  "onClose",
2424
2424
  "onDayCreate",
@@ -2577,7 +2577,7 @@ function pn(t, r) {
2577
2577
  }, r);
2578
2578
  };
2579
2579
  }
2580
- var cs = function(t) {
2580
+ var Vs = function(t) {
2581
2581
  return t instanceof Array ? t : [t];
2582
2582
  };
2583
2583
  function Ge(t, r, e) {
@@ -2617,11 +2617,11 @@ function nt(t) {
2617
2617
  return t.target;
2618
2618
  }
2619
2619
  }
2620
- var Vs = function() {
2620
+ var fs = function() {
2621
2621
  }, Ei = function(t, r, e) {
2622
2622
  return e.months[r ? "shorthand" : "longhand"][t];
2623
2623
  }, El = {
2624
- D: Vs,
2624
+ D: fs,
2625
2625
  F: function(t, r, e) {
2626
2626
  t.setMonth(e.months.longhand.indexOf(r));
2627
2627
  },
@@ -2668,7 +2668,7 @@ var Vs = function() {
2668
2668
  j: function(t, r) {
2669
2669
  t.setDate(parseFloat(r));
2670
2670
  },
2671
- l: Vs,
2671
+ l: fs,
2672
2672
  m: function(t, r) {
2673
2673
  t.setMonth(parseFloat(r) - 1);
2674
2674
  },
@@ -2681,7 +2681,7 @@ var Vs = function() {
2681
2681
  u: function(t, r) {
2682
2682
  return new Date(parseFloat(r));
2683
2683
  },
2684
- w: Vs,
2684
+ w: fs,
2685
2685
  y: function(t, r) {
2686
2686
  t.setFullYear(2e3 + parseFloat(r));
2687
2687
  }
@@ -2787,7 +2787,7 @@ var Vs = function() {
2787
2787
  return Or[c] && X[f - 1] !== "\\" ? Or[c](d, u, e) : c !== "\\" ? c : "";
2788
2788
  }).join("");
2789
2789
  };
2790
- }, Ms = function(t) {
2790
+ }, Ts = function(t) {
2791
2791
  var r = t.config, e = r === void 0 ? br : r, i = t.l10n, s = i === void 0 ? Qr : i;
2792
2792
  return function(n, o, d, a) {
2793
2793
  if (!(n !== 0 && !n)) {
@@ -2836,7 +2836,7 @@ function at(t, r, e) {
2836
2836
  }
2837
2837
  var $l = function(t, r, e) {
2838
2838
  return t > Math.min(r, e) && t < Math.max(r, e);
2839
- }, fs = function(t, r, e) {
2839
+ }, Fs = function(t, r, e) {
2840
2840
  return t * 3600 + r * 60 + e;
2841
2841
  }, Pl = function(t) {
2842
2842
  var r = Math.floor(t / 3600), e = (t - r * 3600) / 60;
@@ -2844,7 +2844,7 @@ var $l = function(t, r, e) {
2844
2844
  }, Bl = {
2845
2845
  DAY: 864e5
2846
2846
  };
2847
- function Fs(t) {
2847
+ function qs(t) {
2848
2848
  var r = t.defaultHour, e = t.defaultMinute, i = t.defaultSeconds;
2849
2849
  if (t.minDate !== void 0) {
2850
2850
  var s = t.minDate.getHours(), n = t.minDate.getMinutes(), o = t.minDate.getSeconds();
@@ -2893,7 +2893,7 @@ function Nl(t, r) {
2893
2893
  config: He(He({}, br), Pe.defaultConfig),
2894
2894
  l10n: Qr
2895
2895
  };
2896
- e.parseDate = Ms({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = F, e._setHoursFromDate = f, e._positionCalendar = li, e.changeMonth = ie, e.changeYear = ct, e.clear = me, e.close = _e, e.onMouseOver = At, e._createElement = be, e.createDay = O, e.destroy = $e, e.isEnabled = it, e.jumpToDate = E, e.updateValue = kt, e.open = uo, e.redraw = an, e.set = Fo, e.setDate = qo, e.toggle = po;
2896
+ e.parseDate = Ts({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = F, e._setHoursFromDate = f, e._positionCalendar = li, e.changeMonth = ie, e.changeYear = ct, e.clear = me, e.close = _e, e.onMouseOver = At, e._createElement = be, e.createDay = O, e.destroy = $e, e.isEnabled = it, e.jumpToDate = E, e.updateValue = kt, e.open = uo, e.redraw = an, e.set = Fo, e.setDate = qo, e.toggle = po;
2897
2897
  function i() {
2898
2898
  e.utils = {
2899
2899
  getDaysInMonth: function(V, q) {
@@ -2924,7 +2924,7 @@ function Nl(t, r) {
2924
2924
  }
2925
2925
  function a(V) {
2926
2926
  if (e.selectedDates.length === 0) {
2927
- var q = e.config.minDate === void 0 || at(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), K = Fs(e.config);
2927
+ var q = e.config.minDate === void 0 || at(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), K = qs(e.config);
2928
2928
  q.setHours(K.hours, K.minutes, K.seconds, q.getMilliseconds()), e.selectedDates = [q], e.latestSelectedDateObj = q;
2929
2929
  }
2930
2930
  V !== void 0 && V.type !== "blur" && ho(V);
@@ -2949,7 +2949,7 @@ function Nl(t, r) {
2949
2949
  e.amPM !== void 0 && (V = l(V, e.amPM.textContent));
2950
2950
  var T = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && at(e.latestSelectedDateObj, e.config.minDate, !0) === 0, W = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && at(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
2951
2951
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
2952
- var te = fs(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), pe = fs(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), de = fs(V, q, K);
2952
+ var te = Fs(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), pe = Fs(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), de = Fs(V, q, K);
2953
2953
  if (de > pe && de < te) {
2954
2954
  var ge = Pl(te);
2955
2955
  V = ge[0], q = ge[1], K = ge[2];
@@ -3034,7 +3034,7 @@ function Nl(t, r) {
3034
3034
  ~q.className.indexOf("arrow") && k(V, q.classList.contains("arrowUp") ? 1 : -1);
3035
3035
  }
3036
3036
  function k(V, q, K) {
3037
- var T = V && nt(V), W = K || T && T.parentNode && T.parentNode.firstChild, te = is("increment");
3037
+ var T = V && nt(V), W = K || T && T.parentNode && T.parentNode.firstChild, te = ss("increment");
3038
3038
  te.delta = q, W && W.dispatchEvent(te);
3039
3039
  }
3040
3040
  function B() {
@@ -3056,7 +3056,7 @@ function Nl(t, r) {
3056
3056
  }
3057
3057
  function O(V, q, K, T) {
3058
3058
  var W = it(q, !0), te = be("span", V, q.getDate().toString());
3059
- return te.dateObj = q, te.$i = T, te.setAttribute("aria-label", e.formatDate(q, e.config.ariaDateFormat)), V.indexOf("hidden") === -1 && at(q, e.now) === 0 && (e.todayDateElem = te, te.classList.add("today"), te.setAttribute("aria-current", "date")), W ? (te.tabIndex = -1, ss(q) && (te.classList.add("selected"), e.selectedDateElem = te, e.config.mode === "range" && (Ge(te, "startRange", e.selectedDates[0] && at(q, e.selectedDates[0], !0) === 0), Ge(te, "endRange", e.selectedDates[1] && at(q, e.selectedDates[1], !0) === 0), V === "nextMonthDay" && te.classList.add("inRange")))) : te.classList.add("flatpickr-disabled"), e.config.mode === "range" && go(q) && !ss(q) && te.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && V !== "prevMonthDay" && T % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(q) + "</span>"), Me("onDayCreate", te), te;
3059
+ return te.dateObj = q, te.$i = T, te.setAttribute("aria-label", e.formatDate(q, e.config.ariaDateFormat)), V.indexOf("hidden") === -1 && at(q, e.now) === 0 && (e.todayDateElem = te, te.classList.add("today"), te.setAttribute("aria-current", "date")), W ? (te.tabIndex = -1, ns(q) && (te.classList.add("selected"), e.selectedDateElem = te, e.config.mode === "range" && (Ge(te, "startRange", e.selectedDates[0] && at(q, e.selectedDates[0], !0) === 0), Ge(te, "endRange", e.selectedDates[1] && at(q, e.selectedDates[1], !0) === 0), V === "nextMonthDay" && te.classList.add("inRange")))) : te.classList.add("flatpickr-disabled"), e.config.mode === "range" && go(q) && !ns(q) && te.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && V !== "prevMonthDay" && T % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(q) + "</span>"), Me("onDayCreate", te), te;
3060
3060
  }
3061
3061
  function ee(V) {
3062
3062
  V.focus(), e.config.mode === "range" && At(V);
@@ -3157,7 +3157,7 @@ function Nl(t, r) {
3157
3157
  }
3158
3158
  function C() {
3159
3159
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
3160
- var V = Fs(e.config);
3160
+ var V = qs(e.config);
3161
3161
  e.timeContainer = be("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
3162
3162
  var q = be("span", "flatpickr-time-separator", ":"), K = qi("flatpickr-hour", {
3163
3163
  "aria-label": e.l10n.hourAriaLabel
@@ -3210,7 +3210,7 @@ function Nl(t, r) {
3210
3210
  }
3211
3211
  function me(V, q) {
3212
3212
  if (V === void 0 && (V = !0), q === void 0 && (q = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, q === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
3213
- var K = Fs(e.config), T = K.hours, W = K.minutes, te = K.seconds;
3213
+ var K = qs(e.config), T = K.hours, W = K.minutes, te = K.seconds;
3214
3214
  X(T, W, te);
3215
3215
  }
3216
3216
  e.redraw(), V && Me("onChange");
@@ -3315,7 +3315,7 @@ function Nl(t, r) {
3315
3315
  return e.daysContainer !== void 0 ? V.className.indexOf("hidden") === -1 && V.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(V) : !1;
3316
3316
  }
3317
3317
  function Re(V) {
3318
- var q = V.target === e._input, K = e._input.value.trimEnd() !== ns();
3318
+ var q = V.target === e._input, K = e._input.value.trimEnd() !== as();
3319
3319
  q && K && !(V.relatedTarget && Ne(V.relatedTarget)) && e.setDate(e._input.value, !0, V.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
3320
3320
  }
3321
3321
  function Yt(V) {
@@ -3328,10 +3328,10 @@ function Nl(t, r) {
3328
3328
  var pe = !!e.timeContainer && e.timeContainer.contains(q);
3329
3329
  switch (V.keyCode) {
3330
3330
  case 13:
3331
- pe ? (V.preventDefault(), a(), rs()) : on(V);
3331
+ pe ? (V.preventDefault(), a(), is()) : on(V);
3332
3332
  break;
3333
3333
  case 27:
3334
- V.preventDefault(), rs();
3334
+ V.preventDefault(), is();
3335
3335
  break;
3336
3336
  case 8:
3337
3337
  case 46:
@@ -3504,15 +3504,15 @@ function Nl(t, r) {
3504
3504
  }), q.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, K, q);
3505
3505
  for (var de = 0; de < V.length; de++)
3506
3506
  e.config[V[de]] = e.config[V[de]] === !0 || e.config[V[de]] === "true";
3507
- us.filter(function(qe) {
3507
+ cs.filter(function(qe) {
3508
3508
  return e.config[qe] !== void 0;
3509
3509
  }).forEach(function(qe) {
3510
- e.config[qe] = cs(e.config[qe] || []).map(o);
3510
+ e.config[qe] = Vs(e.config[qe] || []).map(o);
3511
3511
  }), e.isMobile = !e.config.disableMobile && !e.config.inline && e.config.mode === "single" && !e.config.disable.length && !e.config.enable && !e.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
3512
3512
  for (var de = 0; de < e.config.plugins.length; de++) {
3513
3513
  var ge = e.config.plugins[de](e) || {};
3514
3514
  for (var ae in ge)
3515
- us.indexOf(ae) > -1 ? e.config[ae] = cs(ge[ae]).map(o).concat(e.config[ae]) : typeof q[ae] > "u" && (e.config[ae] = ge[ae]);
3515
+ cs.indexOf(ae) > -1 ? e.config[ae] = Vs(ge[ae]).map(o).concat(e.config[ae]) : typeof q[ae] > "u" && (e.config[ae] = ge[ae]);
3516
3516
  }
3517
3517
  q.altInputClass || (e.config.altInputClass = sn().className + " " + e.config.altInputClass), Me("onParseConfig");
3518
3518
  }
@@ -3522,7 +3522,7 @@ function Nl(t, r) {
3522
3522
  function nn() {
3523
3523
  typeof e.config.locale != "object" && typeof Pe.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = He(He({}, Pe.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Pe.l10ns[e.config.locale] : void 0), Vr.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", Vr.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", Vr.M = "(" + e.l10n.months.shorthand.join("|") + ")", Vr.F = "(" + e.l10n.months.longhand.join("|") + ")", Vr.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
3524
3524
  var V = He(He({}, r), JSON.parse(JSON.stringify(t.dataset || {})));
3525
- V.time_24hr === void 0 && Pe.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Ia(e), e.parseDate = Ms({ config: e.config, l10n: e.l10n });
3525
+ V.time_24hr === void 0 && Pe.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Ia(e), e.parseDate = Ts({ config: e.config, l10n: e.l10n });
3526
3526
  }
3527
3527
  function li(V) {
3528
3528
  if (typeof e.config.position == "function")
@@ -3542,11 +3542,11 @@ function Nl(t, r) {
3542
3542
  else if (!vo)
3543
3543
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = Tr + "px";
3544
3544
  else {
3545
- var as = Vo();
3546
- if (as === void 0)
3545
+ var os = Vo();
3546
+ if (os === void 0)
3547
3547
  return;
3548
- var xo = window.document.body.offsetWidth, bo = Math.max(0, xo / 2 - T / 2), yo = ".flatpickr-calendar.centerMost:before", Co = ".flatpickr-calendar.centerMost:after", Ko = as.cssRules.length, Io = "{left:" + de.left + "px;right:auto;}";
3549
- Ge(e.calendarContainer, "rightMost", !1), Ge(e.calendarContainer, "centerMost", !0), as.insertRule(yo + "," + Co + Io, Ko), e.calendarContainer.style.left = bo + "px", e.calendarContainer.style.right = "auto";
3548
+ var xo = window.document.body.offsetWidth, bo = Math.max(0, xo / 2 - T / 2), yo = ".flatpickr-calendar.centerMost:before", Co = ".flatpickr-calendar.centerMost:after", Ko = os.cssRules.length, Io = "{left:" + de.left + "px;right:auto;}";
3549
+ Ge(e.calendarContainer, "rightMost", !1), Ge(e.calendarContainer, "centerMost", !0), os.insertRule(yo + "," + Co + Io, Ko), e.calendarContainer.style.left = bo + "px", e.calendarContainer.style.right = "auto";
3550
3550
  }
3551
3551
  }
3552
3552
  }
@@ -3573,7 +3573,7 @@ function Nl(t, r) {
3573
3573
  function an() {
3574
3574
  e.config.noCalendar || e.isMobile || (A(), ci(), N());
3575
3575
  }
3576
- function rs() {
3576
+ function is() {
3577
3577
  e._input.focus(), window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== void 0 ? setTimeout(e.close, 0) : e.close();
3578
3578
  }
3579
3579
  function on(V) {
@@ -3586,7 +3586,7 @@ function Nl(t, r) {
3586
3586
  if (e.selectedDateElem = T, e.config.mode === "single")
3587
3587
  e.selectedDates = [W];
3588
3588
  else if (e.config.mode === "multiple") {
3589
- var pe = ss(W);
3589
+ var pe = ns(W);
3590
3590
  pe ? e.selectedDates.splice(parseInt(pe), 1) : e.selectedDates.push(W);
3591
3591
  } else
3592
3592
  e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = W, e.selectedDates.push(W), at(W, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(qe, Ke) {
@@ -3598,7 +3598,7 @@ function Nl(t, r) {
3598
3598
  }
3599
3599
  if (ci(), N(), kt(), !te && e.config.mode !== "range" && e.config.showMonths === 1 ? ee(T) : 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) {
3600
3600
  var ge = e.config.mode === "single" && !e.config.enableTime, ae = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
3601
- (ge || ae) && rs();
3601
+ (ge || ae) && is();
3602
3602
  }
3603
3603
  S();
3604
3604
  }
@@ -3625,7 +3625,7 @@ function Nl(t, r) {
3625
3625
  } else
3626
3626
  e.config[V] = q, ui[V] !== void 0 ? ui[V].forEach(function(T) {
3627
3627
  return T();
3628
- }) : us.indexOf(V) > -1 && (e.config[V] = cs(q));
3628
+ }) : cs.indexOf(V) > -1 && (e.config[V] = Vs(q));
3629
3629
  e.redraw(), kt(!0);
3630
3630
  }
3631
3631
  function dn(V, q) {
@@ -3713,14 +3713,14 @@ function Nl(t, r) {
3713
3713
  if (K !== void 0 && K.length > 0)
3714
3714
  for (var T = 0; K[T] && T < K.length; T++)
3715
3715
  K[T](e.selectedDates, e.input.value, e, q);
3716
- V === "onChange" && (e.input.dispatchEvent(is("change")), e.input.dispatchEvent(is("input")));
3716
+ V === "onChange" && (e.input.dispatchEvent(ss("change")), e.input.dispatchEvent(ss("input")));
3717
3717
  }
3718
3718
  }
3719
- function is(V) {
3719
+ function ss(V) {
3720
3720
  var q = document.createEvent("Event");
3721
3721
  return q.initEvent(V, !0, !0), q;
3722
3722
  }
3723
- function ss(V) {
3723
+ function ns(V) {
3724
3724
  for (var q = 0; q < e.selectedDates.length; q++) {
3725
3725
  var K = e.selectedDates[q];
3726
3726
  if (K instanceof Date && at(K, V) === 0)
@@ -3737,7 +3737,7 @@ function Nl(t, r) {
3737
3737
  K.setMonth(e.currentMonth + q), e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? e.monthElements[q].textContent = Ei(K.getMonth(), e.config.shorthandCurrentMonth, e.l10n) + " " : e.monthsDropdownContainer.value = K.getMonth().toString(), V.value = K.getFullYear().toString();
3738
3738
  }), 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()));
3739
3739
  }
3740
- function ns(V) {
3740
+ function as(V) {
3741
3741
  var q = V || (e.config.altInput ? e.config.altFormat : e.config.dateFormat);
3742
3742
  return e.selectedDates.map(function(K) {
3743
3743
  return e.formatDate(K, q);
@@ -3746,7 +3746,7 @@ function Nl(t, r) {
3746
3746
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
3747
3747
  }
3748
3748
  function kt(V) {
3749
- V === void 0 && (V = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = ns(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = ns(e.config.altFormat)), V !== !1 && Me("onValueUpdate");
3749
+ V === void 0 && (V = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = as(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = as(e.config.altFormat)), V !== !1 && Me("onValueUpdate");
3750
3750
  }
3751
3751
  function Ao(V) {
3752
3752
  var q = nt(V), K = e.prevMonthNav.contains(q), T = e.nextMonthNav.contains(q);
@@ -3798,7 +3798,7 @@ Pe.localize = function(t) {
3798
3798
  Pe.setDefaults = function(t) {
3799
3799
  Pe.defaultConfig = He(He({}, Pe.defaultConfig), t);
3800
3800
  };
3801
- Pe.parseDate = Ms({});
3801
+ Pe.parseDate = Ts({});
3802
3802
  Pe.formatDate = Ia({});
3803
3803
  Pe.compareDates = at;
3804
3804
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(t) {
@@ -3829,7 +3829,7 @@ function An(t) {
3829
3829
  function hn(t) {
3830
3830
  return t instanceof Array ? t : [t];
3831
3831
  }
3832
- function qs(t) {
3832
+ function ms(t) {
3833
3833
  return t && t.length ? t : null;
3834
3834
  }
3835
3835
  const vn = [...wa, ...zl], Ll = ["locale", "showMonths"], Rl = U({
@@ -3908,7 +3908,7 @@ const vn = [...wa, ...zl], Ll = ["locale", "showMonths"], Rl = U({
3908
3908
  onInput(t) {
3909
3909
  const r = t.target;
3910
3910
  qr().then(() => {
3911
- this.$emit("update:modelValue", qs(r.value));
3911
+ this.$emit("update:modelValue", ms(r.value));
3912
3912
  });
3913
3913
  },
3914
3914
  fpInput() {
@@ -3918,7 +3918,7 @@ const vn = [...wa, ...zl], Ll = ["locale", "showMonths"], Rl = U({
3918
3918
  * Blur event is required by many validation libraries
3919
3919
  */
3920
3920
  onBlur(t) {
3921
- this.$emit("blur", qs(t.target.value));
3921
+ this.$emit("blur", ms(t.target.value));
3922
3922
  },
3923
3923
  /**
3924
3924
  * Flatpickr does not emit input event in some cases
@@ -3955,14 +3955,14 @@ const vn = [...wa, ...zl], Ll = ["locale", "showMonths"], Rl = U({
3955
3955
  */
3956
3956
  modelValue(t) {
3957
3957
  var r;
3958
- !this.$el || t === qs(this.$el.value) || (r = this.fp) === null || r === void 0 || r.setDate(t, !0);
3958
+ !this.$el || t === ms(this.$el.value) || (r = this.fp) === null || r === void 0 || r.setDate(t, !0);
3959
3959
  }
3960
3960
  },
3961
3961
  beforeUnmount() {
3962
3962
  this.fp && (this.fpInput().removeEventListener("blur", this.onBlur), this.fp.destroy(), this.fp = null);
3963
3963
  }
3964
3964
  });
3965
- var Ts = { exports: {} };
3965
+ var Es = { exports: {} };
3966
3966
  (function(t, r) {
3967
3967
  (function(e, i) {
3968
3968
  i(r);
@@ -4023,8 +4023,8 @@ var Ts = { exports: {} };
4023
4023
  var n = i.l10ns;
4024
4024
  e.Slovak = s, e.default = n, Object.defineProperty(e, "__esModule", { value: !0 });
4025
4025
  });
4026
- })(Ts, Ts.exports);
4027
- var jl = Ts.exports, Es = { exports: {} };
4026
+ })(Es, Es.exports);
4027
+ var jl = Es.exports, $s = { exports: {} };
4028
4028
  (function(t, r) {
4029
4029
  (function(e, i) {
4030
4030
  i(r);
@@ -4090,8 +4090,8 @@ var jl = Ts.exports, Es = { exports: {} };
4090
4090
  var n = i.l10ns;
4091
4091
  e.Czech = s, e.default = n, Object.defineProperty(e, "__esModule", { value: !0 });
4092
4092
  });
4093
- })(Es, Es.exports);
4094
- var Hl = Es.exports, $s = { exports: {} };
4093
+ })($s, $s.exports);
4094
+ var Hl = $s.exports, Ps = { exports: {} };
4095
4095
  (function(t, r) {
4096
4096
  (function(e, i) {
4097
4097
  i(r);
@@ -4169,8 +4169,8 @@ var Hl = Es.exports, $s = { exports: {} };
4169
4169
  };
4170
4170
  e.default = i, e.english = i, Object.defineProperty(e, "__esModule", { value: !0 });
4171
4171
  });
4172
- })($s, $s.exports);
4173
- var Ul = $s.exports;
4172
+ })(Ps, Ps.exports);
4173
+ var Ul = Ps.exports;
4174
4174
  const { t: Gl } = ve.global;
4175
4175
  function _a() {
4176
4176
  return mt({ t: Gl })(Uo, {
@@ -4360,7 +4360,7 @@ const Jl = {
4360
4360
  },
4361
4361
  { immediate: !0 }
4362
4362
  ), wr(() => {
4363
- import("./shortcut-buttons-flatpickr-36b20db7.js").then((_) => _.s).then((_) => {
4363
+ import("./shortcut-buttons-flatpickr-5fe3a9b5.js").then((_) => _.s).then((_) => {
4364
4364
  s.value = _.default, n.value = !0;
4365
4365
  });
4366
4366
  }), (_, H) => (v(), $(si, {
@@ -5091,7 +5091,7 @@ const su = { key: 0 }, nu = {
5091
5091
  ]),
5092
5092
  _: 1
5093
5093
  }),
5094
- p(Ui, {
5094
+ p(Gi, {
5095
5095
  modelValue: s.value,
5096
5096
  "onUpdate:modelValue": a[0] || (a[0] = (l) => s.value = l)
5097
5097
  }, {
@@ -5124,7 +5124,7 @@ const su = { key: 0 }, nu = {
5124
5124
  ]));
5125
5125
  }
5126
5126
  });
5127
- const Fh = /* @__PURE__ */ ir(ou, [["__scopeId", "data-v-0bca0344"]]), ms = /* @__PURE__ */ U({
5127
+ const Fh = /* @__PURE__ */ ir(ou, [["__scopeId", "data-v-0bca0344"]]), Ys = /* @__PURE__ */ U({
5128
5128
  __name: "AFilterBooleanSelect",
5129
5129
  props: {
5130
5130
  modelValue: {},
@@ -5256,7 +5256,7 @@ const lu = /* @__PURE__ */ U({
5256
5256
  j(" - ")
5257
5257
  ]) : l.textOnly ? (v(), R("div", cu, [
5258
5258
  j(D(d.value) + " ", 1),
5259
- !s.value && l.title.length === 0 ? (v(), $(os, {
5259
+ !s.value && l.title.length === 0 ? (v(), $(ds, {
5260
5260
  key: 0,
5261
5261
  size: 12,
5262
5262
  width: 2,
@@ -5270,7 +5270,7 @@ const lu = /* @__PURE__ */ U({
5270
5270
  }, {
5271
5271
  default: g(() => [
5272
5272
  j(D(d.value) + " ", 1),
5273
- !s.value && l.title.length === 0 ? (v(), $(os, {
5273
+ !s.value && l.title.length === 0 ? (v(), $(ds, {
5274
5274
  key: 0,
5275
5275
  size: 12,
5276
5276
  width: 2,
@@ -5288,7 +5288,7 @@ const lu = /* @__PURE__ */ U({
5288
5288
  }, {
5289
5289
  default: g(() => [
5290
5290
  j(D(d.value) + " ", 1),
5291
- !s.value && l.title.length === 0 ? (v(), $(os, {
5291
+ !s.value && l.title.length === 0 ? (v(), $(ds, {
5292
5292
  key: 0,
5293
5293
  size: 12,
5294
5294
  width: 2,
@@ -6176,12 +6176,12 @@ const Xh = /* @__PURE__ */ U({
6176
6176
  }
6177
6177
  });
6178
6178
  var Nr = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t.Auto = "auto", t))(Nr || {}), pu = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(pu || {});
6179
- const Ps = Qn(
6179
+ const Bs = Qn(
6180
6180
  "theme",
6181
6181
  "light"
6182
6182
  /* Light */
6183
6183
  ), Ta = "(prefers-color-scheme: dark)", $i = L(
6184
- Object.values(Nr).some((t) => t === Ps.value) ? Ps.value : "light"
6184
+ Object.values(Nr).some((t) => t === Bs.value) ? Bs.value : "light"
6185
6185
  /* Light */
6186
6186
  ), zr = L(
6187
6187
  "light"
@@ -6200,8 +6200,8 @@ const Ps = Qn(
6200
6200
  }
6201
6201
  };
6202
6202
  Lr();
6203
- const Ys = (t) => {
6204
- $i.value = t, Ps.value = t;
6203
+ const Xs = (t) => {
6204
+ $i.value = t, Bs.value = t;
6205
6205
  };
6206
6206
  window.matchMedia(Ta).addEventListener("change", (t) => {
6207
6207
  Ea.value = t.matches, Lr();
@@ -6209,17 +6209,17 @@ window.matchMedia(Ta).addEventListener("change", (t) => {
6209
6209
  const gu = w(() => zr.value === "light" ? "white" : "#1A1A1A");
6210
6210
  function Au() {
6211
6211
  const t = () => {
6212
- Ys(
6212
+ Xs(
6213
6213
  "auto"
6214
6214
  /* Auto */
6215
6215
  ), Lr();
6216
6216
  }, r = () => {
6217
- Ys(
6217
+ Xs(
6218
6218
  "dark"
6219
6219
  /* Dark */
6220
6220
  ), Lr();
6221
6221
  }, e = () => {
6222
- Ys(
6222
+ Xs(
6223
6223
  "light"
6224
6224
  /* Light */
6225
6225
  ), Lr();
@@ -6256,7 +6256,7 @@ const hu = { key: 0 }, vu = { key: 1 }, xu = { key: 2 }, wh = /* @__PURE__ */ U(
6256
6256
  "close-on-content-click": ""
6257
6257
  }, {
6258
6258
  activator: g(({ props: l }) => [
6259
- p(oe, Rs({
6259
+ p(oe, Hi({
6260
6260
  class: "pl-1",
6261
6261
  rounded: "pill"
6262
6262
  }, l, {
@@ -6399,7 +6399,7 @@ const Bu = /* @__PURE__ */ ir(Mu, [["render", Pu]]), Ou = { class: "flag" }, bn
6399
6399
  __name: "ALanguageSelect",
6400
6400
  emits: ["afterChange"],
6401
6401
  setup(t, { emit: r }) {
6402
- const e = r, i = Ie(Ji), s = Ie(ua), n = Ie(ca), { setLanguage: o } = Wl(s, n), { currentLanguageCode: d } = Da(), a = (c) => {
6402
+ const e = r, i = Ie(Zi), s = Ie(ua), n = Ie(ca), { setLanguage: o } = Wl(s, n), { currentLanguageCode: d } = Da(), a = (c) => {
6403
6403
  o(c) && e("afterChange", c);
6404
6404
  }, l = w(() => {
6405
6405
  const c = Ci.find((f) => f.code === d.value);
@@ -6412,7 +6412,7 @@ const Bu = /* @__PURE__ */ ir(Mu, [["render", Pu]]), Ou = { class: "flag" }, bn
6412
6412
  ));
6413
6413
  return (c, f) => (v(), $(It, null, {
6414
6414
  activator: g(({ props: X }) => [
6415
- p(oe, Rs({
6415
+ p(oe, Hi({
6416
6416
  class: "pl-1",
6417
6417
  rounded: "pill"
6418
6418
  }, X, {
@@ -6420,7 +6420,7 @@ const Bu = /* @__PURE__ */ ir(Mu, [["render", Pu]]), Ou = { class: "flag" }, bn
6420
6420
  "data-cy": "settings-language"
6421
6421
  }), {
6422
6422
  default: g(() => [
6423
- p(ks, {
6423
+ p(Ss, {
6424
6424
  class: "mr-1",
6425
6425
  size: "30"
6426
6426
  }, {
@@ -6451,7 +6451,7 @@ const Bu = /* @__PURE__ */ ir(Mu, [["render", Pu]]), Ou = { class: "flag" }, bn
6451
6451
  default: g(() => [
6452
6452
  p(Wr, null, {
6453
6453
  default: g(() => [
6454
- p(ks, {
6454
+ p(Ss, {
6455
6455
  class: "mr-1",
6456
6456
  size: "30"
6457
6457
  }, {
@@ -6573,7 +6573,7 @@ const Ru = { class: "text-center w-100 text-caption pb-1" }, Dh = /* @__PURE__ *
6573
6573
  return n.length > 0 ? n : r.user.email.slice(0, 2);
6574
6574
  });
6575
6575
  return (n, o) => (v(), R(De, null, [
6576
- p(ks, {
6576
+ p(Ss, {
6577
6577
  color: e.value,
6578
6578
  class: Xe(["text-uppercase", n.containerClass]),
6579
6579
  size: n.size
@@ -6766,7 +6766,7 @@ const Gu = /* @__PURE__ */ z("br", null, null, -1), Sh = /* @__PURE__ */ U({
6766
6766
  default: g(() => [
6767
6767
  e.value ? (v(), $(rt, { key: 0 }, {
6768
6768
  default: g(() => [
6769
- p(Gi, {
6769
+ p(Wi, {
6770
6770
  density: "compact",
6771
6771
  color: "transparent"
6772
6772
  }, {
@@ -6972,7 +6972,7 @@ const Gu = /* @__PURE__ */ z("br", null, null, -1), Sh = /* @__PURE__ */ U({
6972
6972
  props: b,
6973
6973
  item: C
6974
6974
  }, () => [
6975
- p(Zt, Rs(b, {
6975
+ p(Zt, Hi(b, {
6976
6976
  text: C.title
6977
6977
  }), null, 16, ["text"])
6978
6978
  ])
@@ -7452,7 +7452,7 @@ const pc = (t) => {
7452
7452
  clearSelected: P,
7453
7453
  reset: N
7454
7454
  };
7455
- }), Er = Xc(), ar = Sr(), Xs = L(!1);
7455
+ }), Er = Xc(), ar = Sr(), ps = L(!1);
7456
7456
  function Mr() {
7457
7457
  const t = Ie(da, void 0);
7458
7458
  if (M(t))
@@ -7480,14 +7480,14 @@ function Mr() {
7480
7480
  }, f = async () => {
7481
7481
  e.reset(), Er.type.default = [e.assetType], d(Er, ar, l);
7482
7482
  }, X = () => {
7483
- Xs.value = !0;
7483
+ ps.value = !0;
7484
7484
  }, h = () => {
7485
- Xs.value = !1;
7485
+ ps.value = !1;
7486
7486
  }, F = (S, G, E, P, k) => {
7487
7487
  e.clearSelected(), e.setAssetType(G), e.setLicenceId(S), e.setSingleMode(E), e.setMinCount(P), e.setMaxCount(k);
7488
7488
  };
7489
7489
  return {
7490
- filterIsTouched: Xs,
7490
+ filterIsTouched: ps,
7491
7491
  filter: Er,
7492
7492
  selectedCount: i,
7493
7493
  selectedAssets: s,
@@ -7637,7 +7637,7 @@ const xc = (t, r = 2) => {
7637
7637
  },
7638
7638
  emits: ["itemClick"],
7639
7639
  setup(t, { emit: r }) {
7640
- const e = t, i = r, { t: s } = ne(), n = Hi(e, "item"), { asset: o, tableImageProperties: d, assetType: a, assetStatus: l } = Pa(n), u = () => {
7640
+ const e = t, i = r, { t: s } = ne(), n = Ui(e, "item"), { asset: o, tableImageProperties: d, assetType: a, assetStatus: l } = Pa(n), u = () => {
7641
7641
  i("itemClick", { assetId: o.value.id, index: e.index });
7642
7642
  };
7643
7643
  return (c, f) => {
@@ -7751,7 +7751,7 @@ const Ec = { class: "d-flex flex-column w-100 px-1 align-center" }, $c = { class
7751
7751
  __name: "AssetSelectListBar",
7752
7752
  setup(t) {
7753
7753
  const { t: r } = ne(), { setGridView: e } = Zs(), { toggleSidebar: i } = Oa();
7754
- return (s, n) => (v(), $(Gi, {
7754
+ return (s, n) => (v(), $(Wi, {
7755
7755
  density: "compact",
7756
7756
  color: "transparent",
7757
7757
  height: 46,
@@ -7872,7 +7872,7 @@ const Ec = { class: "d-flex flex-column w-100 px-1 align-center" }, $c = { class
7872
7872
  setup(t, { emit: r }) {
7873
7873
  const e = t, i = r, { t: s } = ne(), n = () => {
7874
7874
  i("itemClick", { assetId: d.value.id, index: e.index });
7875
- }, o = Hi(e, "item"), { asset: d, assetType: a, assetStatus: l, imageProperties: u } = Pa(o);
7875
+ }, o = Ui(e, "item"), { asset: d, assetType: a, assetStatus: l, imageProperties: u } = Pa(o);
7876
7876
  return (c, f) => (v(), R("div", {
7877
7877
  class: Xe(["asset-list-tiles__item", { "asset-list-tiles__item--selected": o.value.selected }]),
7878
7878
  onClick: Z(n, ["stop", "exact"])
@@ -7959,7 +7959,7 @@ const Qc = /* @__PURE__ */ U({
7959
7959
  default: g(() => [
7960
7960
  p(yt, { cols: 12 }, {
7961
7961
  default: g(() => [
7962
- p(ms, {
7962
+ p(Ys, {
7963
7963
  modelValue: x(r).described,
7964
7964
  "onUpdate:modelValue": [
7965
7965
  a[1] || (a[1] = (l) => x(r).described = l),
@@ -7976,7 +7976,7 @@ const Qc = /* @__PURE__ */ U({
7976
7976
  default: g(() => [
7977
7977
  p(yt, { cols: 12 }, {
7978
7978
  default: g(() => [
7979
- p(ms, {
7979
+ p(Ys, {
7980
7980
  modelValue: x(r).visible,
7981
7981
  "onUpdate:modelValue": [
7982
7982
  a[2] || (a[2] = (l) => x(r).visible = l),
@@ -7993,7 +7993,7 @@ const Qc = /* @__PURE__ */ U({
7993
7993
  default: g(() => [
7994
7994
  p(yt, null, {
7995
7995
  default: g(() => [
7996
- p(ms, {
7996
+ p(Ys, {
7997
7997
  modelValue: x(r).generatedBySystem,
7998
7998
  "onUpdate:modelValue": [
7999
7999
  a[3] || (a[3] = (l) => x(r).generatedBySystem = l),
@@ -8499,7 +8499,7 @@ function YV(t, r) {
8499
8499
  r.hasOwnProperty(e) && (t[e] = r[e]);
8500
8500
  return t;
8501
8501
  }
8502
- function ps(t, r) {
8502
+ function gs(t, r) {
8503
8503
  return Math.round(t.top) === Math.round(r.top) && Math.round(t.left) === Math.round(r.left) && Math.round(t.height) === Math.round(r.height) && Math.round(t.width) === Math.round(r.width);
8504
8504
  }
8505
8505
  var jr;
@@ -8563,8 +8563,8 @@ function pV() {
8563
8563
  var n = !1, o = 0;
8564
8564
  t.forEach(function(d) {
8565
8565
  var a = 0, l = d.target, u = l.fromRect, c = Oe(l), f = l.prevFromRect, X = l.prevToRect, h = d.rect, F = Cr(l, !0);
8566
- F && (c.top -= F.f, c.left -= F.e), l.toRect = c, l.thisAnimationDuration && ps(f, c) && !ps(u, c) && // Make sure animatingRect is on line between toRect & fromRect
8567
- (h.top - c.top) / (h.left - c.left) === (u.top - c.top) / (u.left - c.left) && (a = AV(h, f, X, s.options)), ps(c, u) || (l.prevFromRect = u, l.prevToRect = c, a || (a = s.options.animation), s.animate(l, h, c, a)), a && (n = !0, o = Math.max(o, a), clearTimeout(l.animationResetTimer), l.animationResetTimer = setTimeout(function() {
8566
+ F && (c.top -= F.f, c.left -= F.e), l.toRect = c, l.thisAnimationDuration && gs(f, c) && !gs(u, c) && // Make sure animatingRect is on line between toRect & fromRect
8567
+ (h.top - c.top) / (h.left - c.left) === (u.top - c.top) / (u.left - c.left) && (a = AV(h, f, X, s.options)), gs(c, u) || (l.prevFromRect = u, l.prevToRect = c, a || (a = s.options.animation), s.animate(l, h, c, a)), a && (n = !0, o = Math.max(o, a), clearTimeout(l.animationResetTimer), l.animationResetTimer = setTimeout(function() {
8568
8568
  l.animationTime = 0, l.prevFromRect = null, l.fromRect = null, l.prevToRect = null, l.thisAnimationDuration = null;
8569
8569
  }, a), l.thisAnimationDuration = a);
8570
8570
  }), clearTimeout(r), n ? r = setTimeout(function() {
@@ -8588,12 +8588,12 @@ function gV(t) {
8588
8588
  function AV(t, r, e, i) {
8589
8589
  return Math.sqrt(Math.pow(r.top - t.top, 2) + Math.pow(r.left - t.left, 2)) / Math.sqrt(Math.pow(r.top - e.top, 2) + Math.pow(r.left - e.left, 2)) * i.animation;
8590
8590
  }
8591
- var Ar = [], gs = {
8591
+ var Ar = [], As = {
8592
8592
  initializeByDefault: !0
8593
8593
  }, di = {
8594
8594
  mount: function(r) {
8595
- for (var e in gs)
8596
- gs.hasOwnProperty(e) && !(e in r) && (r[e] = gs[e]);
8595
+ for (var e in As)
8596
+ As.hasOwnProperty(e) && !(e in r) && (r[e] = As[e]);
8597
8597
  Ar.forEach(function(i) {
8598
8598
  if (i.pluginName === r.pluginName)
8599
8599
  throw "Sortable: Cannot mount plugin ".concat(r.pluginName, " more than once");
@@ -8702,8 +8702,8 @@ function We(t) {
8702
8702
  newDraggableIndex: Ht
8703
8703
  }, t));
8704
8704
  }
8705
- var J, Ee, Ye, ke, cr, Ii, Te, Gt, xr, dt, Hr, Ht, pi, Le, vr = !1, Bi = !1, Oi = [], or, pt, As, hs, Mn, Tn, $r, hr, Ur, Gr = !1, gi = !1, wi, je, vs = [], Bs = !1, Ni = [], es = typeof document < "u", Ai = Na, En = oi || Rt ? "cssFloat" : "float", xV = es && !za && !Na && "draggable" in document.createElement("div"), Ga = function() {
8706
- if (es) {
8705
+ var J, Ee, Ye, ke, cr, Ii, Te, Gt, xr, dt, Hr, Ht, pi, Le, vr = !1, Bi = !1, Oi = [], or, pt, hs, vs, Mn, Tn, $r, hr, Ur, Gr = !1, gi = !1, wi, je, xs = [], Os = !1, Ni = [], ts = typeof document < "u", Ai = Na, En = oi || Rt ? "cssFloat" : "float", xV = ts && !za && !Na && "draggable" in document.createElement("div"), Ga = function() {
8706
+ if (ts) {
8707
8707
  if (Rt)
8708
8708
  return !1;
8709
8709
  var t = document.createElement("x");
@@ -8758,7 +8758,7 @@ var J, Ee, Ye, ke, cr, Ii, Te, Gt, xr, dt, Hr, Ht, pi, Le, vr = !1, Bi = !1, Oi
8758
8758
  }, Qa = function() {
8759
8759
  !Ga && Ye && fe(Ye, "display", "");
8760
8760
  };
8761
- es && !za && document.addEventListener("click", function(t) {
8761
+ ts && !za && document.addEventListener("click", function(t) {
8762
8762
  if (Bi)
8763
8763
  return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Bi = !1, !1;
8764
8764
  }, !0);
@@ -8901,7 +8901,7 @@ Fe.prototype = /** @lends Sortable.prototype */
8901
8901
  originalEvent: r
8902
8902
  }), ot(J, o.chosenClass, !0);
8903
8903
  }, o.ignore.split(",").forEach(function(u) {
8904
- Ra(J, u.trim(), xs);
8904
+ Ra(J, u.trim(), bs);
8905
8905
  }), ye(d, "dragover", dr), ye(d, "mousemove", dr), ye(d, "touchmove", dr), ye(d, "mouseup", s._onDrop), ye(d, "touchend", s._onDrop), ye(d, "touchcancel", s._onDrop), _n && this.nativeDraggable && (this.options.touchStartThreshold = 4, J.draggable = !0), Ze("delayStart", this, {
8906
8906
  evt: r
8907
8907
  }), o.delay && (!o.delayOnTouchOnly || e) && (!this.nativeDraggable || !(oi || Rt))) {
@@ -8919,7 +8919,7 @@ Fe.prototype = /** @lends Sortable.prototype */
8919
8919
  Math.max(Math.abs(e.clientX - this._lastX), Math.abs(e.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
8920
8920
  },
8921
8921
  _disableDelayedDrag: function() {
8922
- J && xs(J), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
8922
+ J && bs(J), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
8923
8923
  },
8924
8924
  _disableDelayedDragEvents: function() {
8925
8925
  var r = this.el.ownerDocument;
@@ -8972,14 +8972,14 @@ Fe.prototype = /** @lends Sortable.prototype */
8972
8972
  },
8973
8973
  _onTouchMove: function(r) {
8974
8974
  if (or) {
8975
- var e = this.options, i = e.fallbackTolerance, s = e.fallbackOffset, n = r.touches ? r.touches[0] : r, o = Ye && Cr(Ye, !0), d = Ye && o && o.a, a = Ye && o && o.d, l = Ai && je && Sn(je), u = (n.clientX - or.clientX + s.x) / (d || 1) + (l ? l[0] - vs[0] : 0) / (d || 1), c = (n.clientY - or.clientY + s.y) / (a || 1) + (l ? l[1] - vs[1] : 0) / (a || 1);
8975
+ var e = this.options, i = e.fallbackTolerance, s = e.fallbackOffset, n = r.touches ? r.touches[0] : r, o = Ye && Cr(Ye, !0), d = Ye && o && o.a, a = Ye && o && o.d, l = Ai && je && Sn(je), u = (n.clientX - or.clientX + s.x) / (d || 1) + (l ? l[0] - xs[0] : 0) / (d || 1), c = (n.clientY - or.clientY + s.y) / (a || 1) + (l ? l[1] - xs[1] : 0) / (a || 1);
8976
8976
  if (!Fe.active && !vr) {
8977
8977
  if (i && Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) < i)
8978
8978
  return;
8979
8979
  this._onDragStart(r, !0);
8980
8980
  }
8981
8981
  if (Ye) {
8982
- o ? (o.e += u - (As || 0), o.f += c - (hs || 0)) : o = {
8982
+ o ? (o.e += u - (hs || 0), o.f += c - (vs || 0)) : o = {
8983
8983
  a: 1,
8984
8984
  b: 0,
8985
8985
  c: 0,
@@ -8988,7 +8988,7 @@ Fe.prototype = /** @lends Sortable.prototype */
8988
8988
  f: c
8989
8989
  };
8990
8990
  var f = "matrix(".concat(o.a, ",").concat(o.b, ",").concat(o.c, ",").concat(o.d, ",").concat(o.e, ",").concat(o.f, ")");
8991
- fe(Ye, "webkitTransform", f), fe(Ye, "mozTransform", f), fe(Ye, "msTransform", f), fe(Ye, "transform", f), As = u, hs = c, pt = n;
8991
+ fe(Ye, "webkitTransform", f), fe(Ye, "mozTransform", f), fe(Ye, "msTransform", f), fe(Ye, "transform", f), hs = u, vs = c, pt = n;
8992
8992
  }
8993
8993
  r.cancelable && r.preventDefault();
8994
8994
  }
@@ -8999,7 +8999,7 @@ Fe.prototype = /** @lends Sortable.prototype */
8999
8999
  if (Ai) {
9000
9000
  for (je = r; fe(je, "position") === "static" && fe(je, "transform") === "none" && je !== document; )
9001
9001
  je = je.parentNode;
9002
- je !== document.body && je !== document.documentElement ? (je === document && (je = Ct()), e.top += je.scrollTop, e.left += je.scrollLeft) : je = Ct(), vs = Sn(je);
9002
+ je !== document.body && je !== document.documentElement ? (je === document && (je = Ct()), e.top += je.scrollTop, e.left += je.scrollLeft) : je = Ct(), xs = Sn(je);
9003
9003
  }
9004
9004
  Ye = J.cloneNode(!0), ot(Ye, i.ghostClass, !1), ot(Ye, i.fallbackClass, !0), ot(Ye, i.dragClass, !0), fe(Ye, "transition", ""), fe(Ye, "transform", ""), fe(Ye, "box-sizing", "border-box"), fe(Ye, "margin", 0), fe(Ye, "top", e.top), fe(Ye, "left", e.left), fe(Ye, "width", e.width), fe(Ye, "height", e.height), fe(Ye, "opacity", "0.8"), fe(Ye, "position", Ai ? "absolute" : "fixed"), fe(Ye, "zIndex", "100000"), fe(Ye, "pointerEvents", "none"), Fe.ghost = Ye, r.appendChild(Ye), fe(Ye, "transform-origin", Mn / parseInt(Ye.style.width) * 100 + "% " + Tn / parseInt(Ye.style.height) * 100 + "%");
9005
9005
  }
@@ -9022,7 +9022,7 @@ Fe.prototype = /** @lends Sortable.prototype */
9022
9022
  // Returns true - if no further action is needed (either inserted or another condition)
9023
9023
  _onDragOver: function(r) {
9024
9024
  var e = this.el, i = r.target, s, n, o, d = this.options, a = d.group, l = Fe.active, u = pi === a, c = d.sort, f = Le || l, X, h = this, F = !1;
9025
- if (Bs)
9025
+ if (Os)
9026
9026
  return;
9027
9027
  function S(y, _) {
9028
9028
  Ze(y, h, Kt({
@@ -9101,7 +9101,7 @@ Fe.prototype = /** @lends Sortable.prototype */
9101
9101
  b = O === 1;
9102
9102
  var C = hi(ke, e, J, s, i, n, r, b);
9103
9103
  if (C !== !1)
9104
- return (C === 1 || C === -1) && (b = C === 1), Bs = !0, setTimeout(IV, 30), G(), b && !Y ? e.appendChild(J) : i.parentNode.insertBefore(J, b ? Y : i), I && Ha(I, 0, N - I.scrollTop), Ee = J.parentNode, ee !== void 0 && !gi && (wi = Math.abs(ee - Oe(i)[Q])), P(), E(!0);
9104
+ return (C === 1 || C === -1) && (b = C === 1), Os = !0, setTimeout(IV, 30), G(), b && !Y ? e.appendChild(J) : i.parentNode.insertBefore(J, b ? Y : i), I && Ha(I, 0, N - I.scrollTop), Ee = J.parentNode, ee !== void 0 && !gi && (wi = Math.abs(ee - Oe(i)[Q])), P(), E(!0);
9105
9105
  }
9106
9106
  if (e.contains(J))
9107
9107
  return E(!1);
@@ -9124,7 +9124,7 @@ Fe.prototype = /** @lends Sortable.prototype */
9124
9124
  this._nulling();
9125
9125
  return;
9126
9126
  }
9127
- vr = !1, gi = !1, Gr = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Os(this.cloneId), Os(this._dragStartId), this.nativeDraggable && (he(document, "drop", this), he(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Rr && fe(document.body, "user-select", ""), fe(J, "transform", ""), r && ($r && (r.cancelable && r.preventDefault(), !i.dropBubble && r.stopPropagation()), Ye && Ye.parentNode && Ye.parentNode.removeChild(Ye), (ke === Ee || Le && Le.lastPutMode !== "clone") && Te && Te.parentNode && Te.parentNode.removeChild(Te), J && (this.nativeDraggable && he(J, "dragend", this), xs(J), J.style["will-change"] = "", $r && !vr && ot(J, Le ? Le.options.ghostClass : this.options.ghostClass, !1), ot(J, this.options.chosenClass, !1), We({
9127
+ vr = !1, gi = !1, Gr = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ns(this.cloneId), Ns(this._dragStartId), this.nativeDraggable && (he(document, "drop", this), he(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Rr && fe(document.body, "user-select", ""), fe(J, "transform", ""), r && ($r && (r.cancelable && r.preventDefault(), !i.dropBubble && r.stopPropagation()), Ye && Ye.parentNode && Ye.parentNode.removeChild(Ye), (ke === Ee || Le && Le.lastPutMode !== "clone") && Te && Te.parentNode && Te.parentNode.removeChild(Te), J && (this.nativeDraggable && he(J, "dragend", this), bs(J), J.style["will-change"] = "", $r && !vr && ot(J, Le ? Le.options.ghostClass : this.options.ghostClass, !1), ot(J, this.options.chosenClass, !1), We({
9128
9128
  sortable: this,
9129
9129
  name: "unchoose",
9130
9130
  toEl: Ee,
@@ -9173,7 +9173,7 @@ Fe.prototype = /** @lends Sortable.prototype */
9173
9173
  _nulling: function() {
9174
9174
  Ze("nulling", this), ke = J = Ee = Ye = cr = Te = Ii = Gt = or = pt = $r = dt = Ht = xr = Hr = hr = Ur = Le = pi = Fe.dragged = Fe.ghost = Fe.clone = Fe.active = null, Ni.forEach(function(r) {
9175
9175
  r.checked = !0;
9176
- }), Ni.length = As = hs = 0;
9176
+ }), Ni.length = hs = vs = 0;
9177
9177
  },
9178
9178
  handleEvent: function(r) {
9179
9179
  switch (r.type) {
@@ -9280,11 +9280,11 @@ function hi(t, r, e, i, s, n, o, d) {
9280
9280
  cancelable: !0
9281
9281
  }) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = r, a.from = t, a.dragged = e, a.draggedRect = i, a.related = s || r, a.relatedRect = n || Oe(r), a.willInsertAfter = d, a.originalEvent = o, t.dispatchEvent(a), u && (c = u.call(l, a, o)), c;
9282
9282
  }
9283
- function xs(t) {
9283
+ function bs(t) {
9284
9284
  t.draggable = !1;
9285
9285
  }
9286
9286
  function IV() {
9287
- Bs = !1;
9287
+ Os = !1;
9288
9288
  }
9289
9289
  function wV(t, r, e) {
9290
9290
  var i = Oe(Kr(e.el, 0, e.options, !0)), s = 10;
@@ -9325,10 +9325,10 @@ function MV(t) {
9325
9325
  function _i(t) {
9326
9326
  return setTimeout(t, 0);
9327
9327
  }
9328
- function Os(t) {
9328
+ function Ns(t) {
9329
9329
  return clearTimeout(t);
9330
9330
  }
9331
- es && ye(document, "touchmove", function(t) {
9331
+ ts && ye(document, "touchmove", function(t) {
9332
9332
  (Fe.active || vr) && t.cancelable && t.preventDefault();
9333
9333
  });
9334
9334
  Fe.utils = {
@@ -9346,7 +9346,7 @@ Fe.utils = {
9346
9346
  clone: Ua,
9347
9347
  index: qt,
9348
9348
  nextTick: _i,
9349
- cancelNextTick: Os,
9349
+ cancelNextTick: Ns,
9350
9350
  detectDirection: Wa,
9351
9351
  getChild: Kr
9352
9352
  };
@@ -9366,7 +9366,7 @@ Fe.create = function(t, r) {
9366
9366
  return new Fe(t, r);
9367
9367
  };
9368
9368
  Fe.version = FV;
9369
- var Be = [], Pr, Ns, zs = !1, bs, ys, zi, Br;
9369
+ var Be = [], Pr, zs, Ls = !1, ys, Cs, zi, Br;
9370
9370
  function TV() {
9371
9371
  function t() {
9372
9372
  this.defaults = {
@@ -9392,7 +9392,7 @@ function TV() {
9392
9392
  this.sortable.nativeDraggable ? he(document, "dragover", this._handleAutoScroll) : (he(document, "pointermove", this._handleFallbackAutoScroll), he(document, "touchmove", this._handleFallbackAutoScroll), he(document, "mousemove", this._handleFallbackAutoScroll)), $n(), Di(), XV();
9393
9393
  },
9394
9394
  nulling: function() {
9395
- zi = Ns = Pr = zs = Br = bs = ys = null, Be.length = 0;
9395
+ zi = zs = Pr = Ls = Br = ys = Cs = null, Be.length = 0;
9396
9396
  },
9397
9397
  _handleFallbackAutoScroll: function(e) {
9398
9398
  this._handleAutoScroll(e, !0);
@@ -9400,18 +9400,18 @@ function TV() {
9400
9400
  _handleAutoScroll: function(e, i) {
9401
9401
  var s = this, n = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, d = document.elementFromPoint(n, o);
9402
9402
  if (zi = e, i || this.options.forceAutoScrollFallback || oi || Rt || Rr) {
9403
- Cs(e, this.options, d, i);
9403
+ Ks(e, this.options, d, i);
9404
9404
  var a = Jt(d, !0);
9405
- zs && (!Br || n !== bs || o !== ys) && (Br && $n(), Br = setInterval(function() {
9405
+ Ls && (!Br || n !== ys || o !== Cs) && (Br && $n(), Br = setInterval(function() {
9406
9406
  var l = Jt(document.elementFromPoint(n, o), !0);
9407
- l !== a && (a = l, Di()), Cs(e, s.options, l, i);
9408
- }, 10), bs = n, ys = o);
9407
+ l !== a && (a = l, Di()), Ks(e, s.options, l, i);
9408
+ }, 10), ys = n, Cs = o);
9409
9409
  } else {
9410
9410
  if (!this.options.bubbleScroll || Jt(d, !0) === Ct()) {
9411
9411
  Di();
9412
9412
  return;
9413
9413
  }
9414
- Cs(e, this.options, Jt(d, !1), !1);
9414
+ Ks(e, this.options, Jt(d, !1), !1);
9415
9415
  }
9416
9416
  }
9417
9417
  }, $t(t, {
@@ -9427,10 +9427,10 @@ function Di() {
9427
9427
  function $n() {
9428
9428
  clearInterval(Br);
9429
9429
  }
9430
- var Cs = ja(function(t, r, e, i) {
9430
+ var Ks = ja(function(t, r, e, i) {
9431
9431
  if (r.scroll) {
9432
9432
  var s = (t.touches ? t.touches[0] : t).clientX, n = (t.touches ? t.touches[0] : t).clientY, o = r.scrollSensitivity, d = r.scrollSpeed, a = Ct(), l = !1, u;
9433
- Ns !== e && (Ns = e, Di(), Pr = r.scroll, u = r.scrollFn, Pr === !0 && (Pr = Jt(e, !0)));
9433
+ zs !== e && (zs = e, Di(), Pr = r.scroll, u = r.scrollFn, Pr === !0 && (Pr = Jt(e, !0)));
9434
9434
  var c = 0, f = Pr;
9435
9435
  do {
9436
9436
  var X = f, h = Oe(X), F = h.top, S = h.bottom, G = h.left, E = h.right, P = h.width, k = h.height, B = void 0, O = void 0, ee = X.scrollWidth, le = X.scrollHeight, se = fe(X), Q = X.scrollLeft, I = X.scrollTop;
@@ -9447,7 +9447,7 @@ var Cs = ja(function(t, r, e, i) {
9447
9447
  layer: c
9448
9448
  }), 24))), c++;
9449
9449
  } while (r.bubbleScroll && f !== a && (f = Jt(f, !1)));
9450
- zs = l;
9450
+ Ls = l;
9451
9451
  }
9452
9452
  }, 30), eo = function(r) {
9453
9453
  var e = r.originalEvent, i = r.putSortable, s = r.dragEl, n = r.activeSortable, o = r.dispatchSortableEvent, d = r.hideGhostForTarget, a = r.unhideGhostForTarget;
@@ -9533,21 +9533,21 @@ for (let t = 0; t < 256; ++t)
9533
9533
  function io(t, r = 0) {
9534
9534
  return ze[t[r + 0]] + ze[t[r + 1]] + ze[t[r + 2]] + ze[t[r + 3]] + "-" + ze[t[r + 4]] + ze[t[r + 5]] + "-" + ze[t[r + 6]] + ze[t[r + 7]] + "-" + ze[t[r + 8]] + ze[t[r + 9]] + "-" + ze[t[r + 10]] + ze[t[r + 11]] + ze[t[r + 12]] + ze[t[r + 13]] + ze[t[r + 14]] + ze[t[r + 15]];
9535
9535
  }
9536
- let Pn, Ks, Is = 0, ws = 0;
9536
+ let Pn, Is, ws = 0, _s = 0;
9537
9537
  function PV(t, r, e) {
9538
9538
  let i = r && e || 0;
9539
9539
  const s = r || new Array(16);
9540
9540
  t = t || {};
9541
- let n = t.node || Pn, o = t.clockseq !== void 0 ? t.clockseq : Ks;
9541
+ let n = t.node || Pn, o = t.clockseq !== void 0 ? t.clockseq : Is;
9542
9542
  if (n == null || o == null) {
9543
9543
  const f = t.random || (t.rng || ro)();
9544
- n == null && (n = Pn = [f[0] | 1, f[1], f[2], f[3], f[4], f[5]]), o == null && (o = Ks = (f[6] << 8 | f[7]) & 16383);
9544
+ n == null && (n = Pn = [f[0] | 1, f[1], f[2], f[3], f[4], f[5]]), o == null && (o = Is = (f[6] << 8 | f[7]) & 16383);
9545
9545
  }
9546
- let d = t.msecs !== void 0 ? t.msecs : Date.now(), a = t.nsecs !== void 0 ? t.nsecs : ws + 1;
9547
- const l = d - Is + (a - ws) / 1e4;
9548
- if (l < 0 && t.clockseq === void 0 && (o = o + 1 & 16383), (l < 0 || d > Is) && t.nsecs === void 0 && (a = 0), a >= 1e4)
9546
+ let d = t.msecs !== void 0 ? t.msecs : Date.now(), a = t.nsecs !== void 0 ? t.nsecs : _s + 1;
9547
+ const l = d - ws + (a - _s) / 1e4;
9548
+ if (l < 0 && t.clockseq === void 0 && (o = o + 1 & 16383), (l < 0 || d > ws) && t.nsecs === void 0 && (a = 0), a >= 1e4)
9549
9549
  throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
9550
- Is = d, ws = a, Ks = o, d += 122192928e5;
9550
+ ws = d, _s = a, Is = o, d += 122192928e5;
9551
9551
  const u = ((d & 268435455) * 1e4 + a) % 4294967296;
9552
9552
  s[i++] = u >>> 24 & 255, s[i++] = u >>> 16 & 255, s[i++] = u >>> 8 & 255, s[i++] = u & 255;
9553
9553
  const c = d / 4294967296 * 1e4 & 268435455;
@@ -9572,7 +9572,7 @@ function OV(t, r, e) {
9572
9572
  }
9573
9573
  return io(i);
9574
9574
  }
9575
- const so = () => PV(), Nh = () => OV(), _s = "a-sortable-widget__handle", NV = "a-sortable-widget__ghost", zV = "a-sortable-widget__drag", LV = "a-sortable-widget__chosen", On = "a-sortable-widget__group";
9575
+ const so = () => PV(), Nh = () => OV(), Ds = "a-sortable-widget__handle", NV = "a-sortable-widget__ghost", zV = "a-sortable-widget__drag", LV = "a-sortable-widget__chosen", On = "a-sortable-widget__group";
9576
9576
  function RV(t, r, e, i) {
9577
9577
  const s = L(!1), n = L(null), o = L(null), d = L(so()), a = L(null), l = L(0), u = L(e.dirty);
9578
9578
  function c(A, m) {
@@ -9688,7 +9688,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
9688
9688
  },
9689
9689
  emits: ["update:modelValue", "update:dirty", "onEnd", "onAddAfter", "onAddLast", "onEdit", "onDelete"],
9690
9690
  setup(t, { expose: r, emit: e }) {
9691
- const i = t, s = e, n = Hi(() => i.modelValue), { t: o } = ne(), d = (Y) => {
9691
+ const i = t, s = e, n = Ui(() => i.modelValue), { t: o } = ne(), d = (Y) => {
9692
9692
  s("onAddAfter", Y);
9693
9693
  }, a = (Y) => {
9694
9694
  G.value = Y, E.value = !0;
@@ -9705,7 +9705,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
9705
9705
  return;
9706
9706
  const Y = ee.value.querySelector("." + On);
9707
9707
  Y && (O.value = to(Y, [], {
9708
- handle: "." + _s,
9708
+ handle: "." + Ds,
9709
9709
  ghostClass: NV,
9710
9710
  dragClass: zV,
9711
9711
  chosenClass: LV,
@@ -9775,8 +9775,8 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
9775
9775
  }, [
9776
9776
  p(ue, {
9777
9777
  class: Xe({
9778
- [x(_s)]: !0,
9779
- [x(_s) + "--disabled"]: Y.disableDraggable
9778
+ [x(Ds)]: !0,
9779
+ [x(Ds) + "--disabled"]: Y.disableDraggable
9780
9780
  }),
9781
9781
  icon: "mdi-drag"
9782
9782
  }, null, 8, ["class"]),
@@ -9925,7 +9925,7 @@ const no = "a-sortable-", jV = ["id"], HV = { class: "a-sortable-widget__content
9925
9925
  };
9926
9926
  }
9927
9927
  });
9928
- const Ls = "a-sortable-nested-widget__handle", GV = "a-sortable-nested-widget__ghost", WV = "a-sortable-nested-widget__drag", JV = "a-sortable-nested-widget__chosen", Nn = "a-sortable-nested-widget__group", zn = Symbol.for("anzu:SortableLevel");
9928
+ const Rs = "a-sortable-nested-widget__handle", GV = "a-sortable-nested-widget__ghost", WV = "a-sortable-nested-widget__drag", JV = "a-sortable-nested-widget__chosen", Nn = "a-sortable-nested-widget__group", zn = Symbol.for("anzu:SortableLevel");
9929
9929
  function ZV(t, r, e) {
9930
9930
  const { showWarningT: i } = Dr(), s = L([]), n = L(0), o = L(!1), d = L(null), a = L(!1), l = L(null), u = L(so()), c = (I = void 0) => {
9931
9931
  n.value++, M(I) || e("update:modelValue", I), qr(() => {
@@ -10179,7 +10179,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
10179
10179
  }
10180
10180
  i("onAddChild", xe(e.item));
10181
10181
  }, a = Ie(zn, 1);
10182
- Ds(zn, a + 1);
10182
+ ks(zn, a + 1);
10183
10183
  const l = w(() => e.showAddChildButton && !M(e.item.children) && e.item.children.length === 0 && a < e.maxDepth), { t: u } = ne();
10184
10184
  return (c, f) => {
10185
10185
  const X = Je("ASortableNestedItem", !0);
@@ -10191,8 +10191,8 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
10191
10191
  z("div", tf, [
10192
10192
  p(ue, {
10193
10193
  class: Xe({
10194
- [x(Ls)]: !0,
10195
- [x(Ls) + "--disabled"]: c.disableDraggable
10194
+ [x(Rs)]: !0,
10195
+ [x(Rs) + "--disabled"]: c.disableDraggable
10196
10196
  }),
10197
10197
  icon: "mdi-drag"
10198
10198
  }, null, 8, ["class"]),
@@ -10337,7 +10337,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
10337
10337
  },
10338
10338
  emits: ["update:modelValue", "onEnd", "onAddAfter", "onAddChild", "onAddLast", "onEdit", "onDelete"],
10339
10339
  setup(t, { expose: r, emit: e }) {
10340
- const i = t, s = e, n = Hi(() => i.modelValue), o = (m) => {
10340
+ const i = t, s = e, n = Ui(() => i.modelValue), o = (m) => {
10341
10341
  s("onAddAfter", m);
10342
10342
  }, d = (m) => {
10343
10343
  s("onAddChild", m);
@@ -10363,7 +10363,7 @@ const QV = ["data-id"], ef = { class: "a-sortable-nested-widget__nested" }, tf =
10363
10363
  pull: !0,
10364
10364
  put: !0
10365
10365
  },
10366
- handle: "." + Ls,
10366
+ handle: "." + Rs,
10367
10367
  ghostClass: GV,
10368
10368
  dragClass: WV,
10369
10369
  chosenClass: JV,
@@ -10578,12 +10578,12 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
10578
10578
  Ve(O.$slots, "activator", {
10579
10579
  props: { onClick: Z(() => X(), ["stop"]) }
10580
10580
  }),
10581
- p(Xr, {
10581
+ p(Xr, Hi(O.$attrs, {
10582
10582
  "model-value": o.value,
10583
10583
  fullscreen: "",
10584
10584
  class: "subject-select",
10585
10585
  "onUpdate:modelValue": ee[1] || (ee[1] = (Q) => s("update:modelValue", Q))
10586
- }, {
10586
+ }), {
10587
10587
  default: g(() => [
10588
10588
  o.value ? (v(), $(rt, {
10589
10589
  key: 0,
@@ -10601,7 +10601,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
10601
10601
  ]),
10602
10602
  _: 3
10603
10603
  }),
10604
- p(Gi, {
10604
+ p(Wi, {
10605
10605
  density: "compact",
10606
10606
  color: "transparent",
10607
10607
  height: 46,
@@ -10757,7 +10757,7 @@ const df = { class: "d-flex flex-column w-100 px-1 align-center" }, lf = { class
10757
10757
  })) : re("", !0)
10758
10758
  ]),
10759
10759
  _: 3
10760
- }, 8, ["model-value"])
10760
+ }, 16, ["model-value"])
10761
10761
  ], 64);
10762
10762
  };
10763
10763
  }
@@ -10964,7 +10964,7 @@ const sr = (t) => il.includes(t), nr = (t, r, e = "") => oa(r) ? t : vd(e === ""
10964
10964
  }), bf = (t, r, e = {}, i, s, n = {}) => new Promise((o, d) => {
10965
10965
  t().delete(nr(r, e), n).then((a) => sr(a.status) ? a.data ? o(a.data) : a.status === Bt ? o(null) : d(new Ue()) : d(new zt(a.status))).catch((a) => er(a) ? d(new Ot(a)) : tr(a) ? d(new Nt(a, i, s, a)) : rr(a) ? d(new Lt(a, a)) : d(new Ue(a)));
10966
10966
  });
10967
- function ts() {
10967
+ function rs() {
10968
10968
  const t = L([]), r = (u) => {
10969
10969
  d("limit", u);
10970
10970
  }, e = (u, c) => {
@@ -11005,15 +11005,15 @@ function ts() {
11005
11005
  };
11006
11006
  }
11007
11007
  const yf = (t, r) => {
11008
- const { querySetLimit: e, querySetOffset: i, querySetOrder: s, queryBuild: n, queryAddFilter: o, queryAdd: d } = ts(), a = t.length;
11008
+ const { querySetLimit: e, querySetOffset: i, querySetOrder: s, queryBuild: n, queryAddFilter: o, queryAdd: d } = rs(), a = t.length;
11009
11009
  return e(a), i(1, a), s("id", !1), r ? d("id", t.join(",")) : o("in", "id", t.join(",")), n();
11010
11010
  }, ev = (t, r, e, i = {}, s, n, o = {}, d = !1) => new Promise((a, l) => {
11011
11011
  t().get(nr(e, i) + yf(r, d), o).then((u) => {
11012
11012
  var c;
11013
11013
  return sr(u.status) ? (c = u.data) != null && c.data ? a(u.data.data) : u.status === Bt ? a(null) : l(new Ue()) : l(new zt(u.status));
11014
11014
  }).catch((u) => er(u) ? l(new Ot(u)) : tr(u) ? l(new Nt(u, s, n, u)) : rr(u) ? l(new Lt(u, u)) : l(new Ue(u)));
11015
- }), ao = (t) => Wi(t) && Object.hasOwn(t, "totalCount"), oo = (t) => Wi(t) && Object.hasOwn(t, "hasNextPage"), Cf = (t, r) => {
11016
- const { querySetLimit: e, querySetOffset: i, querySetOrder: s, queryBuild: n, querySetFilters: o } = ts();
11015
+ }), ao = (t) => Ji(t) && Object.hasOwn(t, "totalCount"), oo = (t) => Ji(t) && Object.hasOwn(t, "hasNextPage"), Cf = (t, r) => {
11016
+ const { querySetLimit: e, querySetOffset: i, querySetOrder: s, queryBuild: n, querySetFilters: o } = rs();
11017
11017
  return e(t.rowsPerPage), i(t.page, t.rowsPerPage), s(t.sortBy, t.descending), o(r), n();
11018
11018
  }, lo = (t, r, e = {}, i, s, n, o, d = {}) => new Promise((a, l) => {
11019
11019
  const u = M(s._elastic) ? "" : "/search";
@@ -11030,10 +11030,10 @@ const yf = (t, r) => {
11030
11030
  return c.status === Bt ? a([]) : l(new Ue());
11031
11031
  }).catch((c) => er(c) ? l(new Ot(c)) : tr(c) ? l(new Nt(c, n, o, c)) : rr(c) ? l(new Lt(c, c)) : l(new Ue(c)));
11032
11032
  }), Ln = (t, r = void 0) => {
11033
- const { querySetLimit: e, querySetOffset: i, querySetOrder: s, queryBuild: n, querySetFilters: o } = ts();
11033
+ const { querySetLimit: e, querySetOffset: i, querySetOrder: s, queryBuild: n, querySetFilters: o } = rs();
11034
11034
  return e(t.rowsPerPage), i(t.page, t.rowsPerPage), s(t.sortBy, t.descending), Jr(r) && o(r), n();
11035
11035
  }, Kf = (t, r, e, i, s = void 0) => {
11036
- const { querySetLimit: n, querySetOffset: o, querySetOrder: d, queryBuild: a, querySetFilters: l } = ts();
11036
+ const { querySetLimit: n, querySetOffset: o, querySetOrder: d, queryBuild: a, querySetFilters: l } = rs();
11037
11037
  return n(t), o(r, t), d(e, i), Jr(s) && l(s), a();
11038
11038
  }, tv = async (t, r, e = {}, i = "id", s = !0, n = void 0, o = 100, d, a, l = !1, u = {}) => {
11039
11039
  const c = Jr(n == null ? void 0 : n._elastic) || l ? "/search" : "", f = Sr(i);
@@ -11121,7 +11121,7 @@ function av(t = []) {
11121
11121
  const ov = {
11122
11122
  install(t, r) {
11123
11123
  var e, i;
11124
- t.provide(Ji, r.currentUser), t.provide(da, (e = r.coreDam) == null ? void 0 : e.client), t.provide(la, r.customAclResolver), t.provide(ua, r.languages.available), t.provide(ca, r.languages.default), t.provide(Va, (i = r.coreDam) == null ? void 0 : i.defaultLicenceId), t.provide(xd, r.image), t.component("Acl", Tl), t.use(Qd, { componentName: "Notifications" });
11124
+ t.provide(Zi, r.currentUser), t.provide(da, (e = r.coreDam) == null ? void 0 : e.client), t.provide(la, r.customAclResolver), t.provide(ua, r.languages.available), t.provide(ca, r.languages.default), t.provide(Va, (i = r.coreDam) == null ? void 0 : i.defaultLicenceId), t.provide(xd, r.image), t.component("Acl", Tl), t.use(Qd, { componentName: "Notifications" });
11125
11125
  }
11126
11126
  }, dv = (t, r) => {
11127
11127
  const e = t.indexOf(r);
@@ -12783,7 +12783,7 @@ function Xv(t, r, e, i = "id") {
12783
12783
  };
12784
12784
  }
12785
12785
  async function pv() {
12786
- (await import("./webfontloader-edfc6dcf.js").then((r) => r.w)).load({
12786
+ (await import("./webfontloader-2e740fa7.js").then((r) => r.w)).load({
12787
12787
  google: {
12788
12788
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
12789
12789
  }
@@ -12899,7 +12899,7 @@ export {
12899
12899
  xe as aQ,
12900
12900
  qn as aR,
12901
12901
  oa as aS,
12902
- Wi as aT,
12902
+ Ji as aT,
12903
12903
  Ad as aU,
12904
12904
  tt as aV,
12905
12905
  Xd as aW,
@@ -12965,7 +12965,7 @@ export {
12965
12965
  tv as bR,
12966
12966
  If as bS,
12967
12967
  rv as bT,
12968
- ts as bU,
12968
+ rs as bU,
12969
12969
  sv as bV,
12970
12970
  av as bW,
12971
12971
  du as bX,
@@ -12980,14 +12980,14 @@ export {
12980
12980
  KA as bf,
12981
12981
  vd as bg,
12982
12982
  yA as bh,
12983
- Zi as bi,
12984
- Qi as bj,
12983
+ Qi as bi,
12984
+ es as bj,
12985
12985
  OA as bk,
12986
12986
  zA as bl,
12987
12987
  NA as bm,
12988
12988
  Yr as bn,
12989
12989
  jA as bo,
12990
- Ss as bp,
12990
+ Ms as bp,
12991
12991
  LA as bq,
12992
12992
  gl as br,
12993
12993
  pl as bs,
@@ -13050,9 +13050,9 @@ export {
13050
13050
  ZA as t,
13051
13051
  fh as u,
13052
13052
  Vh as v,
13053
- ms as w,
13053
+ Ys as w,
13054
13054
  ah as x,
13055
13055
  Zr as y,
13056
13056
  kd as z
13057
13057
  };
13058
- //# sourceMappingURL=lib-d8cedaf2.js.map
13058
+ //# sourceMappingURL=lib-a91f3b28.js.map