@anzusystems/common-admin 1.40.0-alpha22 → 1.40.0-alpha23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- var Rm = Object.defineProperty;
2
- var Nm = (i, t, e) => t in i ? Rm(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var wr = (i, t, e) => (Nm(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { defineComponent as Q, computed as D, openBlock as Y, createBlock as O, withCtx as h, createTextVNode as N, toDisplayString as I, createElementBlock as R, createVNode as m, normalizeClass as qe, createCommentVNode as j, renderSlot as Ve, createElementVNode as U, resolveComponent as Je, withModifiers as ie, withDirectives as Qi, vShow as ea, isProxy as Nu, toRaw as Ht, isRef as La, unref as V, Fragment as _e, normalizeStyle as Wt, shallowRef as Rt, watch as De, ref as T, reactive as ta, onBeforeUnmount as za, inject as Qe, createSlots as Xi, provide as rr, renderList as pt, onMounted as Tt, TransitionGroup as Lu, isVNode as Lm, toRefs as As, h as zm, nextTick as qi, readonly as Ba, withKeys as Xa, mergeProps as Pi, createStaticVNode as zu, resolveDynamicComponent as wn, setBlockTracking as Yd, toRef as _n, Teleport as Um, onUnmounted as Uu, normalizeProps as jm, guardReactiveProps as Hm, getCurrentInstance as Wm } from "vue";
5
- import { useI18n as re, createI18n as Gm } from "vue-i18n";
1
+ var Nm = Object.defineProperty;
2
+ var Lm = (i, t, e) => t in i ? Nm(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var wr = (i, t, e) => (Lm(i, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { defineComponent as Q, computed as D, openBlock as Y, createBlock as O, withCtx as h, createTextVNode as N, toDisplayString as I, createElementBlock as R, createVNode as m, normalizeClass as qe, createCommentVNode as j, renderSlot as Ve, createElementVNode as U, resolveComponent as Je, withModifiers as ie, withDirectives as Qi, vShow as ea, isProxy as Lu, toRaw as Ht, isRef as La, unref as V, Fragment as _e, normalizeStyle as Wt, shallowRef as Rt, watch as De, ref as T, reactive as ta, onBeforeUnmount as za, inject as Qe, createSlots as Xi, provide as rr, renderList as pt, onMounted as Tt, TransitionGroup as zu, isVNode as zm, toRefs as As, h as Um, nextTick as qi, readonly as Ba, withKeys as Xa, mergeProps as Pi, createStaticVNode as Uu, resolveDynamicComponent as wn, setBlockTracking as Yd, toRef as _n, Teleport as jm, onUnmounted as ju, normalizeProps as Hm, guardReactiveProps as Wm, getCurrentInstance as Gm } from "vue";
5
+ import { useI18n as re, createI18n as Jm } from "vue-i18n";
6
6
  import { VChip as Yi } from "vuetify/lib/components/VChip/index.mjs";
7
7
  import { VRow as Ye, VCol as fe, VSpacer as kt } from "vuetify/lib/components/VGrid/index.mjs";
8
8
  import { VAlert as Ls } from "vuetify/lib/components/VAlert/index.mjs";
@@ -10,39 +10,39 @@ import { VIcon as ce } from "vuetify/lib/components/VIcon/index.mjs";
10
10
  import { VCard as ut, VCardText as fr, VCardActions as ia } from "vuetify/lib/components/VCard/index.mjs";
11
11
  import { VAvatar as tl } from "vuetify/lib/components/VAvatar/index.mjs";
12
12
  import { VProgressCircular as dt } from "vuetify/lib/components/VProgressCircular/index.mjs";
13
- import { useEventBus as oi, useFetch as Jm, useStorage as ju, watchDebounced as Kl, useClipboard as Hu, useIntervalFn as Zm, tryOnMounted as Qm, tryOnScopeDispose as ep, unrefElement as tp, defaultDocument as ip, toValue as Xd, useDropZone as ap, useWebSocket as sp, useDebounceFn as rp } from "@vueuse/core";
13
+ import { useEventBus as oi, useFetch as Zm, useStorage as Hu, watchDebounced as Kl, useClipboard as Wu, useIntervalFn as Qm, tryOnMounted as ep, tryOnScopeDispose as tp, unrefElement as ip, defaultDocument as ap, toValue as Xd, useDropZone as sp, useWebSocket as rp, useDebounceFn as np } from "@vueuse/core";
14
14
  import { VTextField as bs } from "vuetify/lib/components/VTextField/index.mjs";
15
- import { VTextarea as Wu } from "vuetify/lib/components/VTextarea/index.mjs";
15
+ import { VTextarea as Gu } from "vuetify/lib/components/VTextarea/index.mjs";
16
16
  import { VBtn as ne } from "vuetify/lib/components/VBtn/index.mjs";
17
17
  import { VBtnToggle as kn } from "vuetify/lib/components/VBtnToggle/index.mjs";
18
- import { VList as aa, VListItem as Yt, VListItemTitle as ya, VListItemSubtitle as np } from "vuetify/lib/components/VList/index.mjs";
18
+ import { VList as aa, VListItem as Yt, VListItemTitle as ya, VListItemSubtitle as op } from "vuetify/lib/components/VList/index.mjs";
19
19
  import { VMenu as yi } from "vuetify/lib/components/VMenu/index.mjs";
20
20
  import { VTooltip as Ie } from "vuetify/lib/components/VTooltip/index.mjs";
21
- import { VToolbar as Aa, VToolbarTitle as Gu } from "vuetify/lib/components/VToolbar/index.mjs";
21
+ import { VToolbar as Aa, VToolbarTitle as Ju } from "vuetify/lib/components/VToolbar/index.mjs";
22
22
  import { useRouter as El } from "vue-router";
23
23
  import In from "axios";
24
24
  import { VDialog as Gt } from "vuetify/lib/components/VDialog/index.mjs";
25
- import { VExpandTransition as Ju } from "vuetify/lib/components/transitions/index.mjs";
26
- import Ai, { useVuelidate as op } from "@vuelidate/core";
27
- import { createI18nMessage as mi, between as lp, email as dp, maxLength as up, maxValue as cp, minLength as fp, minValue as mp, numeric as pp, required as hp, requiredIf as Vp, helpers as Zu, url as gp } from "@vuelidate/validators";
25
+ import { VExpandTransition as Zu } from "vuetify/lib/components/transitions/index.mjs";
26
+ import Ai, { useVuelidate as lp } from "@vuelidate/core";
27
+ import { createI18nMessage as mi, between as dp, email as up, maxLength as cp, maxValue as fp, minLength as mp, minValue as pp, numeric as hp, required as Vp, requiredIf as gp, helpers as Qu, url as vp } from "@vuelidate/validators";
28
28
  import { VCheckboxBtn as Dn } from "vuetify/lib/components/VCheckbox/index.mjs";
29
29
  import { VAutocomplete as mr } from "vuetify/lib/components/VAutocomplete/index.mjs";
30
30
  import { VSwitch as Tl } from "vuetify/lib/components/VSwitch/index.mjs";
31
- import { VLabel as vp } from "vuetify/lib/components/VLabel/index.mjs";
32
- import { VSelect as Qu } from "vuetify/lib/components/VSelect/index.mjs";
31
+ import { VLabel as Fp } from "vuetify/lib/components/VLabel/index.mjs";
32
+ import { VSelect as ec } from "vuetify/lib/components/VSelect/index.mjs";
33
33
  import { VDivider as fn } from "vuetify/lib/components/VDivider/index.mjs";
34
- import { VAppBar as Fp } from "vuetify/lib/components/VAppBar/index.mjs";
35
- import { VColorPicker as qp } from "vuetify/lib/components/VColorPicker/index.mjs";
36
- import { VTable as Yp } from "vuetify/lib/components/VTable/index.mjs";
34
+ import { VAppBar as qp } from "vuetify/lib/components/VAppBar/index.mjs";
35
+ import { VColorPicker as Yp } from "vuetify/lib/components/VColorPicker/index.mjs";
36
+ import { VTable as Xp } from "vuetify/lib/components/VTable/index.mjs";
37
37
  import { defineStore as pr, storeToRefs as Nt } from "pinia";
38
38
  import { VForm as Sn } from "vuetify/lib/components/VForm/index.mjs";
39
- import { Intersect as ec } from "vuetify/lib/directives/index.mjs";
40
- import { VCombobox as Xp } from "vuetify/lib/components/VCombobox/index.mjs";
39
+ import { Intersect as tc } from "vuetify/lib/directives/index.mjs";
40
+ import { VCombobox as yp } from "vuetify/lib/components/VCombobox/index.mjs";
41
41
  import { VImg as mn } from "vuetify/lib/components/VImg/index.mjs";
42
42
  import { VExpansionPanels as Ml, VExpansionPanel as qs, VExpansionPanelText as Ys } from "vuetify/lib/components/VExpansionPanel/index.mjs";
43
43
  import { VTabs as Bl, VTab as nr } from "vuetify/lib/components/VTabs/index.mjs";
44
- import { VBtn as _r, VChip as yp } from "vuetify/components";
45
- const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
44
+ import { VBtn as _r, VChip as Ap } from "vuetify/components";
45
+ const bp = { key: 1 }, Cp = /* @__PURE__ */ Q({
46
46
  __name: "ABooleanValue",
47
47
  props: {
48
48
  value: { type: [Number, String, Boolean] },
@@ -61,9 +61,9 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
61
61
  N(I(s.value), 1)
62
62
  ]),
63
63
  _: 1
64
- }, 8, ["color"])) : (Y(), R("span", Ap, I(s.value), 1));
64
+ }, 8, ["color"])) : (Y(), R("span", bp, I(s.value), 1));
65
65
  }
66
- }), Cp = { class: "text-high-emphasis" }, Kt = /* @__PURE__ */ Q({
66
+ }), xp = { class: "text-high-emphasis" }, Kt = /* @__PURE__ */ Q({
67
67
  __name: "ARow",
68
68
  props: {
69
69
  title: { default: "" },
@@ -81,7 +81,7 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
81
81
  class: qe(t.titleClass)
82
82
  }, I(t.title), 3)) : j("", !0),
83
83
  Ve(t.$slots, "default", {}, () => [
84
- U("span", Cp, I(t.value), 1)
84
+ U("span", xp, I(t.value), 1)
85
85
  ])
86
86
  ]),
87
87
  _: 3
@@ -90,7 +90,7 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
90
90
  _: 3
91
91
  }, 8, ["data-cy"]));
92
92
  }
93
- }), xp = ["textContent"], ED = /* @__PURE__ */ Q({
93
+ }), wp = ["textContent"], ED = /* @__PURE__ */ Q({
94
94
  __name: "AAlerts",
95
95
  props: {
96
96
  max: { default: 5 },
@@ -126,7 +126,7 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
126
126
  class: "white-space-pre",
127
127
  "data-cy": "page-title",
128
128
  textContent: I(s.item.text)
129
- }, null, 8, xp)
129
+ }, null, 8, wp)
130
130
  ]),
131
131
  _: 2
132
132
  }, 1032, ["type"])
@@ -135,13 +135,13 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
135
135
  }, 8, ["max", "group", "position", "width", "class"]);
136
136
  };
137
137
  }
138
- }), wp = { class: "a-card-loader" }, _p = /* @__PURE__ */ Q({
138
+ }), _p = { class: "a-card-loader" }, kp = /* @__PURE__ */ Q({
139
139
  __name: "ACardLoader",
140
140
  props: {
141
141
  loading: { type: Boolean, default: void 0 }
142
142
  },
143
143
  setup(i) {
144
- return (t, e) => Qi((Y(), R("div", wp, null, 512)), [
144
+ return (t, e) => Qi((Y(), R("div", _p, null, 512)), [
145
145
  [ea, t.loading]
146
146
  ]);
147
147
  }
@@ -159,19 +159,19 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
159
159
  loading: e.value
160
160
  }, {
161
161
  default: h(() => [
162
- m(_p, { loading: a.loading }, null, 8, ["loading"]),
162
+ m(kp, { loading: a.loading }, null, 8, ["loading"]),
163
163
  Ve(a.$slots, "default")
164
164
  ]),
165
165
  _: 3
166
166
  }, 8, ["title", "loading"]));
167
167
  }
168
- }), P = (i) => typeof i > "u", Ae = (i) => !P(i), ue = (i) => i === null, Kn = (i) => typeof i == "number", ri = (i) => typeof i == "string", At = (i) => Array.isArray(i), kp = (i) => typeof i == "function", il = (i) => typeof i == "boolean", Ip = (i) => ri(i) && /^[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(i), Dp = (i) => {
168
+ }), P = (i) => typeof i > "u", Ae = (i) => !P(i), ue = (i) => i === null, Kn = (i) => typeof i == "number", ri = (i) => typeof i == "string", At = (i) => Array.isArray(i), Ip = (i) => typeof i == "function", il = (i) => typeof i == "boolean", Dp = (i) => ri(i) && /^[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(i), Sp = (i) => {
169
169
  const t = parseFloat(i);
170
170
  return !isNaN(i) && (t | 0) === t;
171
- }, En = (i) => typeof i == "object" && !At(i) && !ue(i), Tn = (i) => En(i) ? Object.keys(i).length === 0 : !1, Sp = (i) => At(i) && i.length === 0, yd = (i) => ue(i) || P(i) || i === "" || i === 0 || Sp(i) || Tn(i), Te = (i) => {
171
+ }, En = (i) => typeof i == "object" && !At(i) && !ue(i), Tn = (i) => En(i) ? Object.keys(i).length === 0 : !1, Kp = (i) => At(i) && i.length === 0, yd = (i) => ue(i) || P(i) || i === "" || i === 0 || Kp(i) || Tn(i), Te = (i) => {
172
172
  if (typeof structuredClone == "function")
173
173
  try {
174
- return Nu(i) ? structuredClone(Ht(i)) : La(i) ? structuredClone(V(i)) : structuredClone(i);
174
+ return Lu(i) ? structuredClone(Ht(i)) : La(i) ? structuredClone(V(i)) : structuredClone(i);
175
175
  } catch {
176
176
  return JSON.parse(JSON.stringify(i));
177
177
  }
@@ -198,7 +198,7 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
198
198
  start: i.slice(0, e),
199
199
  end: i.slice(e + t.length)
200
200
  };
201
- }, MD = (i) => i.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), Kp = (i) => i.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), BD = (i, t = 80) => i.length > t ? i.substring(1, t) + "..." : i, Ep = (i, t) => {
201
+ }, MD = (i) => i.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), Ep = (i) => i.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), BD = (i, t = 80) => i.length > t ? i.substring(1, t) + "..." : i, Tp = (i, t) => {
202
202
  if (i.indexOf(":") === -1)
203
203
  return i;
204
204
  const e = [];
@@ -219,7 +219,7 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
219
219
  const n = /^:([a-zA-Z0-9_-]+).*/, l = s.match(n);
220
220
  ue(l) || !l[1] || P(t[l[1]]) || (e[r] = t[l[1]] + "");
221
221
  }), e.join("/");
222
- }, $D = (i) => i.replace(".", "-"), PD = (i) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(i), Ri = Symbol.for("anzu:SystemScope"), Ni = Symbol.for("anzu:SubjectScope"), Mn = Symbol.for("anzu:CurrentUser"), tc = Symbol.for("anzu:CustomAclResolver"), ic = Symbol.for("anzu:AvailableLanguages"), ac = Symbol.for("anzu:DefaultLanguage"), Tp = /* @__PURE__ */ U("div", null, null, -1), al = /* @__PURE__ */ Q({
222
+ }, $D = (i) => i.replace(".", "-"), PD = (i) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(i), Ri = Symbol.for("anzu:SystemScope"), Ni = Symbol.for("anzu:SubjectScope"), Mn = Symbol.for("anzu:CurrentUser"), ic = Symbol.for("anzu:CustomAclResolver"), ac = Symbol.for("anzu:AvailableLanguages"), sc = Symbol.for("anzu:DefaultLanguage"), Mp = /* @__PURE__ */ U("div", null, null, -1), al = /* @__PURE__ */ Q({
223
223
  __name: "AAnzuUserAvatar",
224
224
  props: {
225
225
  user: { default: void 0 },
@@ -252,10 +252,10 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
252
252
  ]),
253
253
  _: 1
254
254
  }, 8, ["color", "class", "size"]),
255
- Tp
255
+ Mp
256
256
  ], 64));
257
257
  }
258
- }), Mp = { class: "d-inline-flex" }, Bp = { key: 0 }, Ua = /* @__PURE__ */ Q({
258
+ }), Bp = { class: "d-inline-flex" }, Op = { key: 0 }, Ua = /* @__PURE__ */ Q({
259
259
  __name: "AnzutapLockedByUser",
260
260
  props: {
261
261
  id: {},
@@ -272,8 +272,8 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
272
272
  a.value || P(n) || !n._loaded || (e.value = n, a.value = !0);
273
273
  },
274
274
  { immediate: !0 }
275
- ), (n, l) => (Y(), R("div", Mp, [
276
- V(ue)(n.id) || V(P)(n.id) ? (Y(), R("span", Bp)) : a.value ? (Y(), O(al, {
275
+ ), (n, l) => (Y(), R("div", Bp, [
276
+ V(ue)(n.id) || V(P)(n.id) ? (Y(), R("span", Op)) : a.value ? (Y(), O(al, {
277
277
  key: 1,
278
278
  user: e.value ?? void 0,
279
279
  "container-class": "",
@@ -287,30 +287,27 @@ const Ap = { key: 1 }, bp = /* @__PURE__ */ Q({
287
287
  }))
288
288
  ]));
289
289
  }
290
- }), Op = Symbol("anzu:collabRoomDataChanged"), $p = Symbol("anzu:collabReconnect"), Pp = Symbol("anzu:collabStarting"), Rp = Symbol(
290
+ }), $p = Symbol("anzu:collabRoomDataChanged"), Pp = Symbol("anzu:collabReconnect"), Rp = Symbol("anzu:collabStarting"), Np = Symbol(
291
291
  "anzu:collabGatheringBufferData"
292
- ), Np = Symbol(
293
- "anzu:collabApprovedJoinRequest"
294
292
  ), Lp = Symbol(
293
+ "anzu:collabApprovedJoinRequest"
294
+ ), zp = Symbol(
295
295
  "anzu:collabRejectedJoinRequest"
296
- ), zp = Symbol("anzu:collabJoinRequest"), Up = Symbol("anzu:collabApprovedRequestToTakeModeration"), jp = Symbol("anzu:collabRejectedRequestToTakeModeration"), Hp = Symbol(
296
+ ), Up = Symbol("anzu:collabJoinRequest"), jp = Symbol("anzu:collabApprovedRequestToTakeModeration"), Hp = Symbol("anzu:collabRejectedRequestToTakeModeration"), Wp = Symbol(
297
297
  "anzu:collabRequestToTakeModeration"
298
- ), Wp = Symbol(
298
+ ), Gp = Symbol(
299
299
  "anzu:collabKickedFromRoom"
300
300
  );
301
301
  function Ol() {
302
- return oi(Op);
303
- }
304
- function sc() {
305
302
  return oi($p);
306
303
  }
307
304
  function rc() {
308
- return oi(
309
- Pp
310
- );
305
+ return oi(Pp);
311
306
  }
312
307
  function nc() {
313
- return oi(Rp);
308
+ return oi(
309
+ Rp
310
+ );
314
311
  }
315
312
  function oc() {
316
313
  return oi(Np);
@@ -333,6 +330,9 @@ function fc() {
333
330
  function mc() {
334
331
  return oi(Wp);
335
332
  }
333
+ function pc() {
334
+ return oi(Gp);
335
+ }
336
336
  const ss = {
337
337
  Acquire: "acquire",
338
338
  Release: "release"
@@ -342,9 +342,9 @@ const ss = {
342
342
  }, kr = (i, t) => ({
343
343
  type: i,
344
344
  status: t
345
- }), Gp = Symbol("anzu:collabFieldLockStatus");
346
- function Jp() {
347
- return oi(Gp);
345
+ }), Jp = Symbol("anzu:collabFieldLockStatus");
346
+ function Zp() {
347
+ return oi(Jp);
348
348
  }
349
349
  const fs = {
350
350
  Inactive: "inactive",
@@ -357,15 +357,15 @@ const fs = {
357
357
  function bd(i) {
358
358
  return i.status === sl.Ok;
359
359
  }
360
- const pc = {
360
+ const hc = {
361
361
  Ok: "ok",
362
362
  Failed: "failed"
363
363
  };
364
364
  function Cd(i) {
365
- return i.status === pc.Ok;
365
+ return i.status === hc.Ok;
366
366
  }
367
367
  function xd(i) {
368
- return i.status === pc.Failed;
368
+ return i.status === hc.Failed;
369
369
  }
370
370
  const RD = {
371
371
  Free: "free",
@@ -379,7 +379,7 @@ const RD = {
379
379
  AlreadyRequested: "alreadyRequested",
380
380
  Failed: "failed"
381
381
  }, en = T(void 0);
382
- function Zp(i) {
382
+ function Qp(i) {
383
383
  en.value = i;
384
384
  }
385
385
  function Cs() {
@@ -390,31 +390,35 @@ function Cs() {
390
390
  socketUrl: en.value.socketUrl
391
391
  };
392
392
  }
393
- const { enabled: Qp } = Cs(), hc = T(!0), eh = D(() => Qp && !hc.value), th = T(), ih = ta(/* @__PURE__ */ new Map()), ah = ta(/* @__PURE__ */ new Map()), fo = ta(/* @__PURE__ */ new Map());
393
+ const { enabled: eh } = Cs(), Vc = T(!0), th = D(() => eh && !Vc.value), ih = T(), ah = ta(/* @__PURE__ */ new Map()), sh = ta(/* @__PURE__ */ new Map()), fo = ta(/* @__PURE__ */ new Map());
394
394
  function Bn() {
395
395
  return {
396
- collabReconnecting: eh,
397
- collabConnected: hc,
398
- collabSocket: th,
399
- collabRoomInfoState: ih,
400
- collabFieldLocksState: ah,
396
+ collabReconnecting: th,
397
+ collabConnected: Vc,
398
+ collabSocket: ih,
399
+ collabRoomInfoState: ah,
400
+ collabFieldLocksState: sh,
401
401
  collabFieldDataBufferState: fo,
402
402
  gatherBufferData: (t) => {
403
- nc().emit({ room: t });
403
+ oc().emit({ room: t });
404
404
  let a = {};
405
405
  const s = fo.get(t);
406
406
  return s && (a = Ht(Object.fromEntries(s.entries())), fo.delete(t)), a;
407
407
  }
408
408
  };
409
409
  }
410
- const sh = T(null);
410
+ const wd = T(null);
411
411
  function rh() {
412
+ function i(t) {
413
+ wd.value = t;
414
+ }
412
415
  return {
413
- currentUserId: sh
416
+ setCollabUserCurrentId: i,
417
+ currentUserId: wd
414
418
  };
415
419
  }
416
420
  function ja(i, t) {
417
- const { enabled: e } = Cs(), { currentUserId: a } = rh(), { collabSocket: s, collabFieldLocksState: r, collabFieldDataBufferState: n, collabRoomInfoState: l } = Bn(), o = Ol(), d = T(), u = T(), c = Jp(), f = T(), F = T(), p = nc(), g = T(), q = T(), x = ($, z) => {
421
+ const { enabled: e } = Cs(), { currentUserId: a } = rh(), { collabSocket: s, collabFieldLocksState: r, collabFieldDataBufferState: n, collabRoomInfoState: l } = Bn(), o = Ol(), d = T(), u = T(), c = Zp(), f = T(), F = T(), p = oc(), g = T(), q = T(), x = ($, z) => {
418
422
  $.room !== i || $.field !== t || P(z) || P(u.value) || u.value(z);
419
423
  }, v = ($, z) => {
420
424
  $.room !== i || $.field !== t || P(z) || P(F.value) || F.value(z);
@@ -699,7 +703,7 @@ const nh = {
699
703
  var v, b;
700
704
  return Ae(e.required) ? e.required : !!((v = e.v) != null && v.required && ((b = e.v) == null ? void 0 : b.required.$params.type) === "required");
701
705
  }), x = D(() => Ae(e.disabled) ? e.disabled : !!l.value);
702
- return (v, b) => (Y(), O(Wu, {
706
+ return (v, b) => (Y(), O(Gu, {
703
707
  ref_key: "textareaRef",
704
708
  ref: s,
705
709
  "prepend-icon": v.prependIcon,
@@ -1048,7 +1052,7 @@ const nh = {
1048
1052
  color: "transparent"
1049
1053
  }, {
1050
1054
  default: h(() => [
1051
- m(Gu, { class: "flex-fill" }, {
1055
+ m(Ju, { class: "flex-fill" }, {
1052
1056
  default: h(() => [
1053
1057
  Ve(s.$slots, "default")
1054
1058
  ]),
@@ -1094,7 +1098,7 @@ const nh = {
1094
1098
  console.error("vite-plugin-css-injected-by-js", e);
1095
1099
  }
1096
1100
  })();
1097
- const Vc = /* @__PURE__ */ new Map();
1101
+ const gc = /* @__PURE__ */ new Map();
1098
1102
  class gh {
1099
1103
  constructor(t, e, a) {
1100
1104
  this.remaining = e, this.callback = t, this.notifyItem = a, this.resume();
@@ -1122,7 +1126,7 @@ function vh(i) {
1122
1126
  });
1123
1127
  } };
1124
1128
  }
1125
- const pn = vh(), mo = "[-+]?[0-9]*.?[0-9]+", wd = [
1129
+ const pn = vh(), mo = "[-+]?[0-9]*.?[0-9]+", _d = [
1126
1130
  {
1127
1131
  name: "px",
1128
1132
  regexp: new RegExp(`^${mo}px$`)
@@ -1145,8 +1149,8 @@ const pn = vh(), mo = "[-+]?[0-9]*.?[0-9]+", wd = [
1145
1149
  type: i,
1146
1150
  value: 0
1147
1151
  };
1148
- for (let t = 0; t < wd.length; t++) {
1149
- const e = wd[t];
1152
+ for (let t = 0; t < _d.length; t++) {
1153
+ const e = _d[t];
1150
1154
  if (e.regexp.test(i))
1151
1155
  return {
1152
1156
  type: e.name,
@@ -1166,14 +1170,14 @@ const pn = vh(), mo = "[-+]?[0-9]*.?[0-9]+", wd = [
1166
1170
  default:
1167
1171
  return { type: "", value: i };
1168
1172
  }
1169
- }, _d = {
1173
+ }, kd = {
1170
1174
  x: /* @__PURE__ */ new Set(["left", "center", "right"]),
1171
1175
  y: /* @__PURE__ */ new Set(["top", "bottom"])
1172
1176
  }, Yh = /* @__PURE__ */ ((i) => () => i++)(0), Xh = (i) => typeof i != "string" ? [] : i.split(/\s+/gi).filter(Boolean), yh = (i) => {
1173
1177
  typeof i == "string" && (i = Xh(i));
1174
1178
  let t = null, e = null;
1175
1179
  return i.forEach((a) => {
1176
- _d.y.has(a) && (e = a), _d.x.has(a) && (t = a);
1180
+ kd.y.has(a) && (e = a), kd.x.has(a) && (t = a);
1177
1181
  }), { x: t, y: e };
1178
1182
  }, po = {
1179
1183
  position: ["top", "right"],
@@ -1215,7 +1219,7 @@ const pn = vh(), mo = "[-+]?[0-9]*.?[0-9]+", wd = [
1215
1219
  }, r = () => {
1216
1220
  e("afterLeave");
1217
1221
  };
1218
- return () => m(Lu, {
1222
+ return () => m(zu, {
1219
1223
  tag: "div",
1220
1224
  css: !1,
1221
1225
  name: i.name,
@@ -1240,7 +1244,7 @@ const pn = vh(), mo = "[-+]?[0-9]*.?[0-9]+", wd = [
1240
1244
  },
1241
1245
  setup: (i, {
1242
1246
  slots: t
1243
- }) => () => m(Lu, {
1247
+ }) => () => m(zu, {
1244
1248
  tag: "div",
1245
1249
  name: i.name
1246
1250
  }, {
@@ -1251,7 +1255,7 @@ const pn = vh(), mo = "[-+]?[0-9]*.?[0-9]+", wd = [
1251
1255
  })
1252
1256
  });
1253
1257
  function Ch(i) {
1254
- return typeof i == "function" || Object.prototype.toString.call(i) === "[object Object]" && !Lm(i);
1258
+ return typeof i == "function" || Object.prototype.toString.call(i) === "[object Object]" && !zm(i);
1255
1259
  }
1256
1260
  const Ir = {
1257
1261
  IDLE: 0,
@@ -1348,7 +1352,7 @@ const Ir = {
1348
1352
  slots: e,
1349
1353
  expose: a
1350
1354
  }) => {
1351
- const s = T([]), r = T(null), n = Vc.get("velocity"), l = D(() => i.animationType === "velocity"), o = D(() => l.value ? Ah : bh), d = D(() => s.value.filter(($) => $.state !== Ir.DESTROYED)), u = D(() => qh(i.width)), c = D(() => {
1355
+ const s = T([]), r = T(null), n = gc.get("velocity"), l = D(() => i.animationType === "velocity"), o = D(() => l.value ? Ah : bh), d = D(() => s.value.filter(($) => $.state !== Ir.DESTROYED)), u = D(() => qh(i.width)), c = D(() => {
1352
1356
  const {
1353
1357
  x: $,
1354
1358
  y: z
@@ -1476,30 +1480,30 @@ di.close = (i) => {
1476
1480
  };
1477
1481
  const wh = "Notifications";
1478
1482
  function _h(i, t = {}) {
1479
- Object.entries(t).forEach((a) => Vc.set(...a));
1483
+ Object.entries(t).forEach((a) => gc.set(...a));
1480
1484
  const e = t.name || "notify";
1481
1485
  i.config.globalProperties["$" + e] = di, i.component(t.componentName || wh, xh);
1482
1486
  }
1483
1487
  const kh = {
1484
1488
  install: _h
1485
- }, kd = ["en", "sk"], $e = Gm({
1489
+ }, Id = ["en", "sk"], $e = Jm({
1486
1490
  globalInjection: !1,
1487
1491
  legacy: !1,
1488
- locale: kd[0],
1492
+ locale: Id[0],
1489
1493
  fallbackLocale: !1,
1490
1494
  missing: (i, t) => {
1491
- kd.includes(i) && console.warn(`Missing ${i} translation: ${t}`);
1495
+ Id.includes(i) && console.warn(`Missing ${i} translation: ${t}`);
1492
1496
  }
1493
- }), gc = (i) => i instanceof It;
1497
+ }), vc = (i) => i instanceof It;
1494
1498
  class It extends Error {
1495
1499
  constructor(t, e = "") {
1496
1500
  super(e), this.name = "AnzuFatalError", this.cause = t, this.message = e;
1497
1501
  }
1498
1502
  }
1499
- const Ha = 200, $l = 201, ra = 204, UD = 400, jD = 401, Ih = 403, vc = 422, Dh = [Ha, $l, ra], na = (i) => {
1503
+ const Ha = 200, $l = 201, ra = 204, UD = 400, jD = 401, Ih = 403, Fc = 422, Dh = [Ha, $l, ra], na = (i) => {
1500
1504
  var t;
1501
1505
  return In.isAxiosError(i) && ((t = i.response) == null ? void 0 : t.status) === Ih;
1502
- }, Fc = (i) => i instanceof zi;
1506
+ }, qc = (i) => i instanceof zi;
1503
1507
  class zi extends Error {
1504
1508
  constructor(t, e = "") {
1505
1509
  super(e), this.name = "AnzuApiForbiddenError", this.cause = t, this.message = e;
@@ -1507,8 +1511,8 @@ class zi extends Error {
1507
1511
  }
1508
1512
  const Sh = "validation_failed", Ui = (i) => {
1509
1513
  var t, e, a;
1510
- return In.isAxiosError(i) && ((t = i.response) == null ? void 0 : t.status) === vc && ((e = i.response.data) == null ? void 0 : e.error) === Sh && ((a = i.response.data) == null ? void 0 : a.fields);
1511
- }, qc = (i) => i instanceof ji;
1514
+ return In.isAxiosError(i) && ((t = i.response) == null ? void 0 : t.status) === Fc && ((e = i.response.data) == null ? void 0 : e.error) === Sh && ((a = i.response.data) == null ? void 0 : a.fields);
1515
+ }, Yc = (i) => i instanceof ji;
1512
1516
  function Kh(i, t, e) {
1513
1517
  var r;
1514
1518
  const a = (r = i.response) == null ? void 0 : r.data, s = [];
@@ -1526,7 +1530,7 @@ class ji extends Error {
1526
1530
  this.name = "AnzuApiValidationError", this.cause = r, this.message = n, this.fields = Kh(e, a, s);
1527
1531
  }
1528
1532
  }
1529
- const Yc = (i) => i instanceof oa;
1533
+ const Xc = (i) => i instanceof oa;
1530
1534
  class oa extends Error {
1531
1535
  constructor(e, a, s) {
1532
1536
  super(s);
@@ -1536,7 +1540,7 @@ class oa extends Error {
1536
1540
  }
1537
1541
  const Eh = "forbidden_operation_error", la = (i) => {
1538
1542
  var t, e, a;
1539
- return In.isAxiosError(i) && ((t = i.response) == null ? void 0 : t.status) === vc && ((e = i.response.data) == null ? void 0 : e.error) === Eh && ((a = i.response.data) == null ? void 0 : a.detail);
1543
+ return In.isAxiosError(i) && ((t = i.response) == null ? void 0 : t.status) === Fc && ((e = i.response.data) == null ? void 0 : e.error) === Eh && ((a = i.response.data) == null ? void 0 : a.detail);
1540
1544
  }, Th = (i) => i instanceof Hi;
1541
1545
  function Mh(i) {
1542
1546
  var e;
@@ -1549,7 +1553,7 @@ class Hi extends Error {
1549
1553
  this.name = "AnzuApiForbiddenOperationError", this.cause = a, this.message = s, this.detail = Mh(e);
1550
1554
  }
1551
1555
  }
1552
- const Vi = 3, Xc = `
1556
+ const Vi = 3, yc = `
1553
1557
  `;
1554
1558
  function ot() {
1555
1559
  const i = (g, q = Vi) => {
@@ -1625,7 +1629,7 @@ function ot() {
1625
1629
  }
1626
1630
  di({
1627
1631
  group: "alerts",
1628
- text: X.join(Xc),
1632
+ text: X.join(yc),
1629
1633
  duration: q * 1e3,
1630
1634
  type: "error"
1631
1635
  });
@@ -1670,7 +1674,7 @@ function ot() {
1670
1674
  showApiForbiddenOperationError: c,
1671
1675
  showUnknownError: f,
1672
1676
  showForbiddenError: F,
1673
- showErrorsDefault: (g) => Fc(g) ? (F(), !0) : qc(g) ? (u(g.fields), !0) : Th(g) ? (c(g.detail), !0) : gc(g) || Yc(g) ? (f(), !0) : !1
1677
+ showErrorsDefault: (g) => qc(g) ? (F(), !0) : Yc(g) ? (u(g.fields), !0) : Th(g) ? (c(g.detail), !0) : vc(g) || Xc(g) ? (f(), !0) : !1
1674
1678
  };
1675
1679
  }
1676
1680
  const HD = /* @__PURE__ */ Q({
@@ -1797,7 +1801,7 @@ const HD = /* @__PURE__ */ Q({
1797
1801
  return Tt(async () => {
1798
1802
  if (t.configUrl && t.configUrl.length > 0)
1799
1803
  try {
1800
- const { data: s } = await Jm(t.configUrl).get().json();
1804
+ const { data: s } = await Zm(t.configUrl).get().json();
1801
1805
  a.value = s.value;
1802
1806
  } catch {
1803
1807
  }
@@ -1862,7 +1866,7 @@ var xs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1862
1866
  function Pl(i) {
1863
1867
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
1864
1868
  }
1865
- var yc = { exports: {} };
1869
+ var Ac = { exports: {} };
1866
1870
  (function(i, t) {
1867
1871
  (function(e, a) {
1868
1872
  i.exports = a();
@@ -2151,10 +2155,10 @@ var yc = { exports: {} };
2151
2155
  return ae(1e3 * _);
2152
2156
  }, ae.en = C[k], ae.Ls = C, ae.p = {}, ae;
2153
2157
  });
2154
- })(yc);
2155
- var Lh = yc.exports;
2158
+ })(Ac);
2159
+ var Lh = Ac.exports;
2156
2160
  const it = /* @__PURE__ */ Pl(Lh);
2157
- var Ac = { exports: {} };
2161
+ var bc = { exports: {} };
2158
2162
  (function(i, t) {
2159
2163
  (function(e, a) {
2160
2164
  i.exports = a();
@@ -2234,8 +2238,8 @@ var Ac = { exports: {} };
2234
2238
  };
2235
2239
  };
2236
2240
  });
2237
- })(Ac);
2238
- var zh = Ac.exports;
2241
+ })(bc);
2242
+ var zh = bc.exports;
2239
2243
  const Uh = /* @__PURE__ */ Pl(zh);
2240
2244
  it.extend(Uh);
2241
2245
  const Pa = ".000000Z", hn = "YYYY-MM-DDTHH:mm:ss", On = "1970-01-01T00:00:00.000000Z", $n = "2100-01-01T00:00:00.000000Z", jh = () => it().utc().toDate(), JD = (i) => it(i).toDate(), ZD = () => Xs(it().utc().unix()), ni = (i = !0, t = !1) => i && !t ? it().utc().format("YYYY-MM-DDTHH:mm:ss") + Pa : i && t ? it().utc().format("YYYY-MM-DDTHH:mm:00") + Pa : !i && t ? it().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : it().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", QD = (i = 0) => i === 0 ? it().startOf("day").utc().format(hn) + Pa : it().add(i, "days").startOf("day").utc().format(hn) + Pa, eS = (i = 0) => i === 0 ? it().endOf("day").utc().format(hn) + Pa : it().add(i, "days").endOf("day").utc().format(hn) + Pa, tS = (i = 0, t = null) => (t === null && (t = /* @__PURE__ */ new Date()), i === 0 ? t : i > 0 ? it(t).add(i, "minutes").toDate() : i < 0 ? it(t).subtract(Math.abs(i), "minutes").toDate() : t), Hh = (i) => it(i).utc().format("YYYY-MM-DDTHH:mm:ss") + Pa, iS = () => it().utc().format("YYYY"), Ra = (i, t = "") => i === $n || i === On || i === "" || ue(i) || P(i) ? t : it(i).format("DD.MM.YYYY HH:mm"), aS = (i, t = "") => {
@@ -2327,7 +2331,7 @@ function ws() {
2327
2331
  }
2328
2332
  };
2329
2333
  }
2330
- const bc = /* @__PURE__ */ Q({
2334
+ const Cc = /* @__PURE__ */ Q({
2331
2335
  __name: "AFilterString",
2332
2336
  props: {
2333
2337
  modelValue: {},
@@ -2394,9 +2398,9 @@ const bc = /* @__PURE__ */ Q({
2394
2398
  const k = q(X);
2395
2399
  P(k) || (k.model = X), p.value = k, f(p);
2396
2400
  }, q = (X) => {
2397
- if (Dp(X) && d(a))
2401
+ if (Sp(X) && d(a))
2398
2402
  return a.value;
2399
- if (Ip(X) && d(r))
2403
+ if (Dp(X) && d(r))
2400
2404
  return r.value;
2401
2405
  if (ri(X) && X.length > 0) {
2402
2406
  if (d(n) && X.startsWith("http"))
@@ -2632,7 +2636,7 @@ const bc = /* @__PURE__ */ Q({
2632
2636
  m(fe, { class: "" }, {
2633
2637
  default: h(() => [
2634
2638
  Ve(n.$slots, "default"),
2635
- n.enableAdvanced ? (Y(), O(Ju, { key: 0 }, {
2639
+ n.enableAdvanced ? (Y(), O(Zu, { key: 0 }, {
2636
2640
  default: h(() => [
2637
2641
  Qi(U("div", null, [
2638
2642
  Ve(n.$slots, "advanced")
@@ -2668,7 +2672,7 @@ var tn = /* @__PURE__ */ ((i) => (i[i.Deny = 0] = "Deny", i[i.AllowOwner = 1] =
2668
2672
  i.Default = 0
2669
2673
  /* Deny */
2670
2674
  ] = "Default", i))(tn || {});
2671
- function Cc() {
2675
+ function xc() {
2672
2676
  const { t: i } = re(), t = T([
2673
2677
  {
2674
2678
  value: 0,
@@ -2706,7 +2710,7 @@ const cS = /* @__PURE__ */ Q({
2706
2710
  set(n) {
2707
2711
  a("change", n);
2708
2712
  }
2709
- }), { getGrantOption: r } = Cc();
2713
+ }), { getGrantOption: r } = xc();
2710
2714
  return (n, l) => (Y(), O(kn, {
2711
2715
  modelValue: s.value,
2712
2716
  "onUpdate:modelValue": l[0] || (l[0] = (o) => s.value = o),
@@ -2737,7 +2741,7 @@ const cS = /* @__PURE__ */ Q({
2737
2741
  }, 8, ["modelValue"]));
2738
2742
  }
2739
2743
  });
2740
- var xc = /* @__PURE__ */ ((i) => (i.Role = "role", i.Group = "group", i.User = "user", i.DefaultGrant = "default", i.Default = "default", i))(xc || {});
2744
+ var wc = /* @__PURE__ */ ((i) => (i.Role = "role", i.Group = "group", i.User = "user", i.DefaultGrant = "default", i.Default = "default", i))(wc || {});
2741
2745
  function aV() {
2742
2746
  const { t: i } = re(), t = T([
2743
2747
  {
@@ -2772,7 +2776,7 @@ const sV = {
2772
2776
  grantOrigin: {}
2773
2777
  },
2774
2778
  setup(i) {
2775
- const t = i, { getGrantOption: e } = Cc(), a = D(() => e(t.grant)), { getGrantOriginOption: s } = aV(), r = D(() => s(t.grantOrigin));
2779
+ const t = i, { getGrantOption: e } = xc(), a = D(() => e(t.grant)), { getGrantOriginOption: s } = aV(), r = D(() => s(t.grantOrigin));
2776
2780
  return (n, l) => a.value ? (Y(), O(Yi, {
2777
2781
  key: 0,
2778
2782
  color: a.value.color,
@@ -2783,20 +2787,20 @@ const sV = {
2783
2787
  var o;
2784
2788
  return [
2785
2789
  N(I(a.value.title) + " ", 1),
2786
- n.grantOrigin !== V(xc).DefaultGrant ? (Y(), R("span", sV, "(" + I((o = r.value) == null ? void 0 : o.title) + ")", 1)) : j("", !0)
2790
+ n.grantOrigin !== V(wc).DefaultGrant ? (Y(), R("span", sV, "(" + I((o = r.value) == null ? void 0 : o.title) + ")", 1)) : j("", !0)
2787
2791
  ];
2788
2792
  }),
2789
2793
  _: 1
2790
2794
  }, 8, ["color"])) : j("", !0);
2791
2795
  }
2792
- }), wc = (i) => {
2796
+ }), _c = (i) => {
2793
2797
  const t = Object.getOwnPropertyNames(i);
2794
2798
  for (const e of t) {
2795
2799
  const a = i[e];
2796
- a && typeof a == "object" && wc(a);
2800
+ a && typeof a == "object" && _c(a);
2797
2801
  }
2798
2802
  return Object.freeze(i);
2799
- }, mS = (i) => Object.keys(i).map((t) => i[t]), _c = (i, t, e = ".") => {
2803
+ }, mS = (i) => Object.keys(i).map((t) => i[t]), kc = (i, t, e = ".") => {
2800
2804
  const a = t.split(e);
2801
2805
  let s = i;
2802
2806
  for (; a.length; ) {
@@ -2831,7 +2835,7 @@ function pS(i, t, e = ".") {
2831
2835
  }
2832
2836
  const nV = (i) => En(i) && Object.hasOwn(i, "owners"), oV = (i) => Object.hasOwn(i, "createdBy"), Nl = "ROLE_ADMIN";
2833
2837
  function lV(i) {
2834
- const t = P(i) || P(i.disableInject), e = (i == null ? void 0 : i.currentUser) ?? (t ? Qe(Mn, void 0) : void 0), a = (i == null ? void 0 : i.customAclProvider) ?? (t ? Qe(tc, void 0) : void 0), s = (o, d) => {
2838
+ const t = P(i) || P(i.disableInject), e = (i == null ? void 0 : i.currentUser) ?? (t ? Qe(Mn, void 0) : void 0), a = (i == null ? void 0 : i.customAclProvider) ?? (t ? Qe(ic, void 0) : void 0), s = (o, d) => {
2835
2839
  if (P(e))
2836
2840
  throw new Error("Composable useAcl can be used as a global state without providing current user as a parameter.");
2837
2841
  if (Ae(a) && Ae(a.can))
@@ -2840,7 +2844,7 @@ function lV(i) {
2840
2844
  return !1;
2841
2845
  if (e.value.roles.includes(Nl))
2842
2846
  return !0;
2843
- const u = _c(e.value, "resolvedPermissions." + o);
2847
+ const u = kc(e.value, "resolvedPermissions." + o);
2844
2848
  if (P(u))
2845
2849
  return !1;
2846
2850
  switch (u) {
@@ -3048,7 +3052,7 @@ var ho = [
3048
3052
  }, ui = function(i) {
3049
3053
  return i === !0 ? 1 : 0;
3050
3054
  };
3051
- function Id(i, t) {
3055
+ function Dd(i, t) {
3052
3056
  var e;
3053
3057
  return function() {
3054
3058
  var a = this, s = arguments;
@@ -3073,11 +3077,11 @@ function Dr(i) {
3073
3077
  for (; i.firstChild; )
3074
3078
  i.removeChild(i.firstChild);
3075
3079
  }
3076
- function kc(i, t) {
3080
+ function Ic(i, t) {
3077
3081
  if (t(i))
3078
3082
  return i;
3079
3083
  if (i.parentNode)
3080
- return kc(i.parentNode, t);
3084
+ return Ic(i.parentNode, t);
3081
3085
  }
3082
3086
  function Sr(i, t) {
3083
3087
  var e = je("div", "numInputWrapper"), a = je("input", "numInput " + i), s = je("span", "arrowUp"), r = je("span", "arrowDown");
@@ -3259,7 +3263,7 @@ var go = function() {
3259
3263
  y: function(i) {
3260
3264
  return String(i.getFullYear()).substring(2);
3261
3265
  }
3262
- }, Ic = function(i) {
3266
+ }, Dc = function(i) {
3263
3267
  var t = i.config, e = t === void 0 ? ms : t, a = i.l10n, s = a === void 0 ? lr : a, r = i.isMobile, n = r === void 0 ? !1 : r;
3264
3268
  return function(l, o, d) {
3265
3269
  var u = d || s;
@@ -3360,7 +3364,7 @@ var St = function() {
3360
3364
  }
3361
3365
  return i;
3362
3366
  }, St.apply(this, arguments);
3363
- }, Dd = function() {
3367
+ }, Sd = function() {
3364
3368
  for (var i = 0, t = 0, e = arguments.length; t < e; t++)
3365
3369
  i += arguments[t].length;
3366
3370
  for (var a = Array(i), s = 0, t = 0; t < e; t++)
@@ -3407,7 +3411,7 @@ function hV(i, t) {
3407
3411
  var S = e.config.minDate === void 0 || ti(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), W = Fo(e.config);
3408
3412
  S.setHours(W.hours, W.minutes, W.seconds, S.getMilliseconds()), e.selectedDates = [S], e.latestSelectedDateObj = S;
3409
3413
  }
3410
- w !== void 0 && w.type !== "blur" && Dm(w);
3414
+ w !== void 0 && w.type !== "blur" && Sm(w);
3411
3415
  var ee = e._input.value;
3412
3416
  c(), Wi(), e._input.value !== ee && e._debouncedChange();
3413
3417
  }
@@ -3485,10 +3489,10 @@ function hV(i, t) {
3485
3489
  pe();
3486
3490
  return;
3487
3491
  }
3488
- var w = Id(Fe, 50);
3489
- if (e._debouncedChange = Id(q, pV), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && g(e.daysContainer, "mouseover", function(W) {
3492
+ var w = Dd(Fe, 50);
3493
+ if (e._debouncedChange = Dd(q, pV), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && g(e.daysContainer, "mouseover", function(W) {
3490
3494
  e.config.mode === "range" && bt(ei(W));
3491
- }), g(e._input, "keydown", Vt), e.calendarContainer !== void 0 && g(e.calendarContainer, "keydown", Vt), !e.config.inline && !e.config.static && g(window, "resize", w), window.ontouchstart !== void 0 ? g(window.document, "touchstart", xe) : g(window.document, "mousedown", xe), g(window.document, "focus", xe, { capture: !0 }), e.config.clickOpens === !0 && (g(e._input, "focus", e.open), g(e._input, "click", e.open)), e.daysContainer !== void 0 && (g(e.monthNav, "click", Im), g(e.monthNav, ["keyup", "increment"], p), g(e.daysContainer, "click", Ja)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
3495
+ }), g(e._input, "keydown", Vt), e.calendarContainer !== void 0 && g(e.calendarContainer, "keydown", Vt), !e.config.inline && !e.config.static && g(window, "resize", w), window.ontouchstart !== void 0 ? g(window.document, "touchstart", xe) : g(window.document, "mousedown", xe), g(window.document, "focus", xe, { capture: !0 }), e.config.clickOpens === !0 && (g(e._input, "focus", e.open), g(e._input, "click", e.open)), e.daysContainer !== void 0 && (g(e.monthNav, "click", Dm), g(e.monthNav, ["keyup", "increment"], p), g(e.daysContainer, "click", Ja)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
3492
3496
  var S = function(W) {
3493
3497
  return ei(W).select();
3494
3498
  };
@@ -3663,8 +3667,8 @@ function hV(i, t) {
3663
3667
  }
3664
3668
  function G() {
3665
3669
  if (e.weekdayContainer) {
3666
- var w = e.l10n.firstDayOfWeek, S = Dd(e.l10n.weekdays.shorthand);
3667
- w > 0 && w < S.length && (S = Dd(S.splice(w, S.length), S.splice(0, w)));
3670
+ var w = e.l10n.firstDayOfWeek, S = Sd(e.l10n.weekdays.shorthand);
3671
+ w > 0 && w < S.length && (S = Sd(S.splice(w, S.length), S.splice(0, w)));
3668
3672
  for (var W = e.config.showMonths; W--; )
3669
3673
  e.weekdayContainer.children[W].innerHTML = `
3670
3674
  <span class='flatpickr-weekday'>
@@ -4002,31 +4006,31 @@ function hV(i, t) {
4002
4006
  function gt() {
4003
4007
  typeof e.config.locale != "object" && typeof mt.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = St(St({}, mt.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? mt.l10ns[e.config.locale] : void 0), Ma.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", Ma.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", Ma.M = "(" + e.l10n.months.shorthand.join("|") + ")", Ma.F = "(" + e.l10n.months.longhand.join("|") + ")", Ma.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
4004
4008
  var w = St(St({}, t), JSON.parse(JSON.stringify(i.dataset || {})));
4005
- w.time_24hr === void 0 && mt.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Ic(e), e.parseDate = nl({ config: e.config, l10n: e.l10n });
4009
+ w.time_24hr === void 0 && mt.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Dc(e), e.parseDate = nl({ config: e.config, l10n: e.l10n });
4006
4010
  }
4007
4011
  function We(w) {
4008
4012
  if (typeof e.config.position == "function")
4009
4013
  return void e.config.position(e, w);
4010
4014
  if (e.calendarContainer !== void 0) {
4011
4015
  Me("onPreCalendarPosition");
4012
- var S = w || e._positionElement, W = Array.prototype.reduce.call(e.calendarContainer.children, function($m, Pm) {
4013
- return $m + Pm.offsetHeight;
4016
+ var S = w || e._positionElement, W = Array.prototype.reduce.call(e.calendarContainer.children, function(Pm, Rm) {
4017
+ return Pm + Rm.offsetHeight;
4014
4018
  }, 0), ee = e.calendarContainer.offsetWidth, le = e.config.position.split(" "), he = le[0], Ke = le.length > 1 ? le[1] : null, ve = S.getBoundingClientRect(), Be = window.innerHeight - ve.bottom, ge = he === "above" || he !== "below" && Be < W && ve.top > W, we = window.pageYOffset + ve.top + (ge ? -W - 2 : S.offsetHeight + 2);
4015
4019
  if (Ot(e.calendarContainer, "arrowTop", !ge), Ot(e.calendarContainer, "arrowBottom", ge), !e.config.inline) {
4016
4020
  var Ze = window.pageXOffset + ve.left, _i = !1, Qt = !1;
4017
4021
  Ke === "center" ? (Ze -= (ee - ve.width) / 2, _i = !0) : Ke === "right" && (Ze -= ee - ve.width, Qt = !0), Ot(e.calendarContainer, "arrowLeft", !_i && !Qt), Ot(e.calendarContainer, "arrowCenter", _i), Ot(e.calendarContainer, "arrowRight", Qt);
4018
- var Es = window.document.body.offsetWidth - (window.pageXOffset + ve.right), Za = Ze + ee > window.document.body.offsetWidth, Sm = Es + ee > window.document.body.offsetWidth;
4022
+ var Es = window.document.body.offsetWidth - (window.pageXOffset + ve.right), Za = Ze + ee > window.document.body.offsetWidth, Km = Es + ee > window.document.body.offsetWidth;
4019
4023
  if (Ot(e.calendarContainer, "rightMost", Za), !e.config.static)
4020
4024
  if (e.calendarContainer.style.top = we + "px", !Za)
4021
4025
  e.calendarContainer.style.left = Ze + "px", e.calendarContainer.style.right = "auto";
4022
- else if (!Sm)
4026
+ else if (!Km)
4023
4027
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = Es + "px";
4024
4028
  else {
4025
4029
  var lo = Ct();
4026
4030
  if (lo === void 0)
4027
4031
  return;
4028
- var Km = window.document.body.offsetWidth, Em = Math.max(0, Km / 2 - ee / 2), Tm = ".flatpickr-calendar.centerMost:before", Mm = ".flatpickr-calendar.centerMost:after", Bm = lo.cssRules.length, Om = "{left:" + ve.left + "px;right:auto;}";
4029
- Ot(e.calendarContainer, "rightMost", !1), Ot(e.calendarContainer, "centerMost", !0), lo.insertRule(Tm + "," + Mm + Om, Bm), e.calendarContainer.style.left = Em + "px", e.calendarContainer.style.right = "auto";
4032
+ var Em = window.document.body.offsetWidth, Tm = Math.max(0, Em / 2 - ee / 2), Mm = ".flatpickr-calendar.centerMost:before", Bm = ".flatpickr-calendar.centerMost:after", Om = lo.cssRules.length, $m = "{left:" + ve.left + "px;right:auto;}";
4033
+ Ot(e.calendarContainer, "rightMost", !1), Ot(e.calendarContainer, "centerMost", !0), lo.insertRule(Mm + "," + Bm + $m, Om), e.calendarContainer.style.left = Tm + "px", e.calendarContainer.style.right = "auto";
4030
4034
  }
4031
4035
  }
4032
4036
  }
@@ -4060,7 +4064,7 @@ function hV(i, t) {
4060
4064
  w.preventDefault(), w.stopPropagation();
4061
4065
  var S = function(we) {
4062
4066
  return we.classList && we.classList.contains("flatpickr-day") && !we.classList.contains("flatpickr-disabled") && !we.classList.contains("notAllowed");
4063
- }, W = kc(ei(w), S);
4067
+ }, W = Ic(ei(w), S);
4064
4068
  if (W !== void 0) {
4065
4069
  var ee = W, le = e.latestSelectedDateObj = new Date(ee.dateObj.getTime()), he = (le.getMonth() < e.currentMonth || le.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
4066
4070
  if (e.selectedDateElem = ee, e.config.mode === "single")
@@ -4228,11 +4232,11 @@ function hV(i, t) {
4228
4232
  function Wi(w) {
4229
4233
  w === void 0 && (w = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = oo(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = oo(e.config.altFormat)), w !== !1 && Me("onValueUpdate");
4230
4234
  }
4231
- function Im(w) {
4235
+ function Dm(w) {
4232
4236
  var S = ei(w), W = e.prevMonthNav.contains(S), ee = e.nextMonthNav.contains(S);
4233
4237
  W || ee ? te(W ? -1 : 1) : e.yearElements.indexOf(S) >= 0 ? S.select() : S.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : S.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
4234
4238
  }
4235
- function Dm(w) {
4239
+ function Sm(w) {
4236
4240
  w.preventDefault();
4237
4241
  var S = w.type === "keydown", W = ei(w), ee = W;
4238
4242
  e.amPM !== void 0 && W === e.amPM && (e.amPM.textContent = e.l10n.amPM[ui(e.amPM.textContent === e.l10n.amPM[0])]);
@@ -4279,7 +4283,7 @@ mt.setDefaults = function(i) {
4279
4283
  mt.defaultConfig = St(St({}, mt.defaultConfig), i);
4280
4284
  };
4281
4285
  mt.parseDate = nl({});
4282
- mt.formatDate = Ic({});
4286
+ mt.formatDate = Dc({});
4283
4287
  mt.compareDates = ti;
4284
4288
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(i) {
4285
4289
  return ps(this, i);
@@ -4288,7 +4292,7 @@ Date.prototype.fp_incr = function(i) {
4288
4292
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof i == "string" ? parseInt(i, 10) : i));
4289
4293
  };
4290
4294
  typeof window < "u" && (window.flatpickr = mt);
4291
- const Dc = [
4295
+ const Sc = [
4292
4296
  "onChange",
4293
4297
  "onClose",
4294
4298
  "onDestroy",
@@ -4303,22 +4307,22 @@ const Dc = [
4303
4307
  "onPreCalendarPosition",
4304
4308
  "onKeyDown"
4305
4309
  ];
4306
- function Sd(i) {
4310
+ function Kd(i) {
4307
4311
  return i.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
4308
4312
  }
4309
- function Kd(i) {
4313
+ function Ed(i) {
4310
4314
  return i instanceof Array ? i : [i];
4311
4315
  }
4312
4316
  function qo(i) {
4313
4317
  return i && i.length ? i : null;
4314
4318
  }
4315
- const Ed = [...Dc, ...VV], gV = ["locale", "showMonths"], vV = Q({
4319
+ const Td = [...Sc, ...VV], gV = ["locale", "showMonths"], vV = Q({
4316
4320
  name: "FlatPickr",
4317
4321
  compatConfig: {
4318
4322
  MODE: 3
4319
4323
  },
4320
4324
  render() {
4321
- return zm("input", {
4325
+ return Um("input", {
4322
4326
  type: "text",
4323
4327
  "data-input": !0,
4324
4328
  disabled: this.disabled,
@@ -4328,7 +4332,7 @@ const Ed = [...Dc, ...VV], gV = ["locale", "showMonths"], vV = Q({
4328
4332
  emits: [
4329
4333
  "blur",
4330
4334
  "update:modelValue",
4331
- ...Ed.map(Sd)
4335
+ ...Td.map(Kd)
4332
4336
  ],
4333
4337
  props: {
4334
4338
  modelValue: {
@@ -4345,7 +4349,7 @@ const Ed = [...Dc, ...VV], gV = ["locale", "showMonths"], vV = Q({
4345
4349
  },
4346
4350
  events: {
4347
4351
  type: Array,
4348
- default: () => Dc
4352
+ default: () => Sc
4349
4353
  },
4350
4354
  disabled: {
4351
4355
  type: Boolean,
@@ -4368,12 +4372,12 @@ const Ed = [...Dc, ...VV], gV = ["locale", "showMonths"], vV = Q({
4368
4372
  let i = Object.assign({}, this.config);
4369
4373
  this.events.forEach((e) => {
4370
4374
  let a = mt.defaultConfig[e] || [], s = (...r) => {
4371
- this.$emit(Sd(e), ...r);
4375
+ this.$emit(Kd(e), ...r);
4372
4376
  };
4373
- i[e] = Kd(i[e] || []).concat(a, s);
4377
+ i[e] = Ed(i[e] || []).concat(a, s);
4374
4378
  });
4375
4379
  const t = this.onClose.bind(this);
4376
- return i.onClose = Kd(i.onClose || []).concat(t), i.defaultDate = this.modelValue || i.defaultDate, i;
4380
+ return i.onClose = Ed(i.onClose || []).concat(t), i.defaultDate = this.modelValue || i.defaultDate, i;
4377
4381
  },
4378
4382
  /**
4379
4383
  * Get the HTML node where flatpickr to be attached
@@ -4423,7 +4427,7 @@ const Ed = [...Dc, ...VV], gV = ["locale", "showMonths"], vV = Q({
4423
4427
  if (!this.fp)
4424
4428
  return;
4425
4429
  let t = Object.assign({}, i);
4426
- Ed.forEach((e) => {
4430
+ Td.forEach((e) => {
4427
4431
  delete t[e];
4428
4432
  }), this.fp.set(t), gV.forEach((e) => {
4429
4433
  typeof t[e] < "u" && this.fp.set(e, t[e]);
@@ -4669,7 +4673,7 @@ const an = [
4669
4673
  title: "Translation ID",
4670
4674
  adminOnly: !0
4671
4675
  }
4672
- ], ki = ju("language", "default");
4676
+ ], ki = Hu("language", "default");
4673
4677
  function XV(i, t) {
4674
4678
  ki.value === "default" && (ki.value = t);
4675
4679
  function e(r, n) {
@@ -4692,80 +4696,80 @@ function XV(i, t) {
4692
4696
  allLanguages: an
4693
4697
  };
4694
4698
  }
4695
- function Sc() {
4699
+ function Kc() {
4696
4700
  return {
4697
4701
  currentLanguageCode: Ba(ki)
4698
4702
  };
4699
4703
  }
4700
4704
  const { t: yV } = $e.global;
4701
4705
  function AV() {
4702
- return mi({ t: yV })(lp, {
4706
+ return mi({ t: yV })(dp, {
4703
4707
  withArguments: !0,
4704
4708
  messagePath: () => "error.jsValidation.between"
4705
4709
  });
4706
4710
  }
4707
4711
  const { t: bV } = $e.global;
4708
4712
  function CV() {
4709
- return mi({ t: bV })(dp, {
4713
+ return mi({ t: bV })(up, {
4710
4714
  messagePath: () => "error.jsValidation.email"
4711
4715
  });
4712
4716
  }
4713
4717
  const { t: xV } = $e.global;
4714
4718
  function wV() {
4715
- return mi({ t: xV })(up, {
4719
+ return mi({ t: xV })(cp, {
4716
4720
  withArguments: !0,
4717
4721
  messagePath: () => "error.jsValidation.maxLength"
4718
4722
  });
4719
4723
  }
4720
4724
  const { t: _V } = $e.global;
4721
4725
  function kV() {
4722
- return mi({ t: _V })(cp, {
4726
+ return mi({ t: _V })(fp, {
4723
4727
  withArguments: !0,
4724
4728
  messagePath: () => "error.jsValidation.maxValue"
4725
4729
  });
4726
4730
  }
4727
4731
  const { t: IV } = $e.global;
4728
4732
  function DV() {
4729
- return mi({ t: IV })(fp, {
4733
+ return mi({ t: IV })(mp, {
4730
4734
  withArguments: !0,
4731
4735
  messagePath: () => "error.jsValidation.minLength"
4732
4736
  });
4733
4737
  }
4734
4738
  const { t: SV } = $e.global;
4735
4739
  function KV() {
4736
- return mi({ t: SV })(mp, {
4740
+ return mi({ t: SV })(pp, {
4737
4741
  withArguments: !0,
4738
4742
  messagePath: () => "error.jsValidation.minValue"
4739
4743
  });
4740
4744
  }
4741
4745
  const { t: EV } = $e.global;
4742
4746
  function TV() {
4743
- return mi({ t: EV })(pp, {
4747
+ return mi({ t: EV })(hp, {
4744
4748
  messagePath: () => "error.jsValidation.numeric"
4745
4749
  });
4746
4750
  }
4747
4751
  const { t: MV } = $e.global;
4748
4752
  function BV() {
4749
- return mi({ t: MV })(hp, {
4753
+ return mi({ t: MV })(Vp, {
4750
4754
  messagePath: () => "error.jsValidation.required"
4751
4755
  });
4752
4756
  }
4753
4757
  const { t: OV } = $e.global;
4754
4758
  function $V() {
4755
- return mi({ t: OV })(Vp, {
4759
+ return mi({ t: OV })(gp, {
4756
4760
  withArguments: !0,
4757
4761
  messagePath: () => "error.jsValidation.required"
4758
4762
  });
4759
4763
  }
4760
4764
  const { t: PV } = $e.global;
4761
4765
  function RV() {
4762
- return mi({ t: PV })(Zu.regex(/^[a-z\-0-9/]+$/), {
4766
+ return mi({ t: PV })(Qu.regex(/^[a-z\-0-9/]+$/), {
4763
4767
  messagePath: () => "error.jsValidation.slug"
4764
4768
  });
4765
4769
  }
4766
4770
  const { t: NV } = $e.global;
4767
4771
  function LV() {
4768
- const i = mi({ t: NV }), t = (a, s) => (r) => !Zu.req(r) || r.every((n) => n.length >= V(a) && n.length <= V(s));
4772
+ const i = mi({ t: NV }), t = (a, s) => (r) => !Qu.req(r) || r.every((n) => n.length >= V(a) && n.length <= V(s));
4769
4773
  return i((a, s) => ({
4770
4774
  $validator: t(a, s),
4771
4775
  // $message not required when using i18n
@@ -4785,7 +4789,7 @@ function LV() {
4785
4789
  }
4786
4790
  const { t: zV } = $e.global;
4787
4791
  function UV() {
4788
- return mi({ t: zV })(gp, {
4792
+ return mi({ t: zV })(vp, {
4789
4793
  messagePath: () => "error.jsValidation.url"
4790
4794
  });
4791
4795
  }
@@ -4883,7 +4887,7 @@ const jV = { class: "ml-1" }, HV = {
4883
4887
  sk: FV.Slovak,
4884
4888
  en: YV.english,
4885
4889
  cs: qV.Czech
4886
- }, { currentLanguageCode: B } = Sc(), _ = D(() => {
4890
+ }, { currentLanguageCode: B } = Kc(), _ = D(() => {
4887
4891
  var te;
4888
4892
  const H = (te = o.value) == null ? void 0 : te.$el.querySelector(".v-input__control");
4889
4893
  return {
@@ -4943,7 +4947,7 @@ const jV = { class: "ml-1" }, HV = {
4943
4947
  },
4944
4948
  { immediate: !0 }
4945
4949
  ), Tt(() => {
4946
- import("./shortcut-buttons-flatpickr-xE22_Lfk.js").then((H) => H.s).then((H) => {
4950
+ import("./shortcut-buttons-flatpickr-WgtRj_fI.js").then((H) => H.s).then((H) => {
4947
4951
  s.value = H.default, r.value = !0;
4948
4952
  });
4949
4953
  }), (H, te) => (Y(), O(bs, {
@@ -5191,7 +5195,7 @@ const jV = { class: "ml-1" }, HV = {
5191
5195
  s.value = ni();
5192
5196
  return;
5193
5197
  }
5194
- if (kp(e.defaultActivationValue)) {
5198
+ if (Ip(e.defaultActivationValue)) {
5195
5199
  s.value = e.defaultActivationValue();
5196
5200
  return;
5197
5201
  }
@@ -5219,7 +5223,7 @@ const jV = { class: "ml-1" }, HV = {
5219
5223
  ])
5220
5224
  ])
5221
5225
  ]),
5222
- m(Ju, null, {
5226
+ m(Zu, null, {
5223
5227
  default: h(() => [
5224
5228
  Qi(U("div", null, [
5225
5229
  m(Ll, {
@@ -5942,7 +5946,7 @@ const ZV = {
5942
5946
  }
5943
5947
  }), { t: r } = re(), n = D(() => e.modelValue.titleT ? r(e.modelValue.titleT) : void 0);
5944
5948
  return (l, o) => (Y(), R("div", ng, [
5945
- m(vp, { class: "pr-1" }, {
5949
+ m(Fp, { class: "pr-1" }, {
5946
5950
  default: h(() => [
5947
5951
  U("span", null, I(n.value), 1)
5948
5952
  ]),
@@ -6001,7 +6005,7 @@ const ZV = {
6001
6005
  { value: 1, title: r("common.model.boolean.true") },
6002
6006
  { value: 0, title: r("common.model.boolean.false") }
6003
6007
  ]);
6004
- return (o, d) => (Y(), O(Qu, {
6008
+ return (o, d) => (Y(), O(ec, {
6005
6009
  modelValue: s.value,
6006
6010
  "onUpdate:modelValue": d[0] || (d[0] = (u) => s.value = u),
6007
6011
  "data-cy": o.dataCy,
@@ -6010,7 +6014,7 @@ const ZV = {
6010
6014
  }, null, 8, ["modelValue", "data-cy", "label", "items"]));
6011
6015
  }
6012
6016
  });
6013
- var Kc = /* @__PURE__ */ ((i) => (i.Waiting = "waiting", i.Processing = "processing", i.AwaitingBatchProcess = "awaiting_batch_process", i.Done = "done", i.Error = "error", i.Default = "waiting", i))(Kc || {});
6017
+ var Ec = /* @__PURE__ */ ((i) => (i.Waiting = "waiting", i.Processing = "processing", i.AwaitingBatchProcess = "awaiting_batch_process", i.Done = "done", i.Error = "error", i.Default = "waiting", i))(Ec || {});
6014
6018
  function lg() {
6015
6019
  const { t: i } = re(), t = T([
6016
6020
  {
@@ -6078,7 +6082,7 @@ const dg = /* @__PURE__ */ Q({
6078
6082
  LINK_EXTERNAL: "mdi-open-in-new"
6079
6083
  }
6080
6084
  }
6081
- }, Td = wc(ug), cg = { key: 1 }, CS = /* @__PURE__ */ Q({
6085
+ }, Md = _c(ug), cg = { key: 1 }, CS = /* @__PURE__ */ Q({
6082
6086
  __name: "ACachedChip",
6083
6087
  props: {
6084
6088
  id: { default: null },
@@ -6096,7 +6100,7 @@ const dg = /* @__PURE__ */ Q({
6096
6100
  wrapText: { type: Boolean, default: !1 }
6097
6101
  },
6098
6102
  setup(i) {
6099
- const t = i, e = El(), a = Rt(void 0), s = Rt(!1), r = D(() => t.getCachedFn(t.id)), n = D(() => t.wrapText ? t.containerClass + " a-chip--wrap" : t.containerClass), l = D(() => t.title.length > 0 ? t.title : a.value ? _c(a.value, t.displayTextPath) : t.fallbackIdText ? t.id : ""), o = () => {
6103
+ const t = i, e = El(), a = Rt(void 0), s = Rt(!1), r = D(() => t.getCachedFn(t.id)), n = D(() => t.wrapText ? t.containerClass + " a-chip--wrap" : t.containerClass), l = D(() => t.title.length > 0 ? t.title : a.value ? kc(a.value, t.displayTextPath) : t.fallbackIdText ? t.id : ""), o = () => {
6100
6104
  e.push({ name: t.route, params: { id: t.id } });
6101
6105
  };
6102
6106
  return De(
@@ -6138,7 +6142,7 @@ const dg = /* @__PURE__ */ Q({
6138
6142
  }, 8, ["size", "label"])) : (Y(), O(Yi, {
6139
6143
  key: 3,
6140
6144
  size: d.size,
6141
- "append-icon": d.openInNew ? V(Td).CHIP.ICON.LINK_EXTERNAL : V(Td).CHIP.ICON.LINK,
6145
+ "append-icon": d.openInNew ? V(Md).CHIP.ICON.LINK_EXTERNAL : V(Md).CHIP.ICON.LINK,
6142
6146
  label: d.forceRounded ? void 0 : !0,
6143
6147
  onClick: ie(o, ["stop"])
6144
6148
  }, {
@@ -6225,7 +6229,7 @@ const xS = /* @__PURE__ */ Q({
6225
6229
  _: 1
6226
6230
  }, 8, ["color"])) : j("", !0);
6227
6231
  }
6228
- }), Ec = (i) => "" + i, pg = ["data-cy"], gn = /* @__PURE__ */ Q({
6232
+ }), Tc = (i) => "" + i, pg = ["data-cy"], gn = /* @__PURE__ */ Q({
6229
6233
  __name: "ACopyText",
6230
6234
  props: {
6231
6235
  value: {},
@@ -6233,8 +6237,8 @@ const xS = /* @__PURE__ */ Q({
6233
6237
  dataCy: { default: "copy-text" }
6234
6238
  },
6235
6239
  setup(i) {
6236
- const t = i, { copy: e, isSupported: a } = Hu(), { showSuccess: s } = ot(), { t: r } = re(), n = (l) => {
6237
- bi(l), a && (Kn(t.value) ? e(Ec(t.value)).then(() => {
6240
+ const t = i, { copy: e, isSupported: a } = Wu(), { showSuccess: s } = ot(), { t: r } = re(), n = (l) => {
6241
+ bi(l), a && (Kn(t.value) ? e(Tc(t.value)).then(() => {
6238
6242
  s(r(t.notifyT));
6239
6243
  }) : ri(t.value) && t.value.length && e(t.value).then(() => {
6240
6244
  s(r(t.notifyT));
@@ -6269,7 +6273,7 @@ const xS = /* @__PURE__ */ Q({
6269
6273
  }, Vg = {
6270
6274
  key: 1,
6271
6275
  class: "anzu-icon-group"
6272
- }, gg = { class: "anzu-icon-group__secondary-text" }, Tc = /* @__PURE__ */ Q({
6276
+ }, gg = { class: "anzu-icon-group__secondary-text" }, Mc = /* @__PURE__ */ Q({
6273
6277
  __name: "AIconGroup",
6274
6278
  props: {
6275
6279
  mainIcon: {},
@@ -6703,7 +6707,7 @@ const xS = /* @__PURE__ */ Q({
6703
6707
  onClick: ie(a, ["stop"])
6704
6708
  }, {
6705
6709
  default: h(() => [
6706
- m(Tc, {
6710
+ m(Mc, {
6707
6711
  "main-icon": "mdi-content-save",
6708
6712
  "secondary-icon": "mdi-close"
6709
6713
  }),
@@ -6802,8 +6806,8 @@ const xS = /* @__PURE__ */ Q({
6802
6806
  size: { default: "x-small" }
6803
6807
  },
6804
6808
  setup(i) {
6805
- const t = i, { t: e } = re(), { copy: a, isSupported: s } = Hu(), { showSuccess: r } = ot(), n = (l) => {
6806
- bi(l), Kn(t.id) && t.id > 0 ? a(Ec(t.id)).then(() => {
6809
+ const t = i, { t: e } = re(), { copy: a, isSupported: s } = Wu(), { showSuccess: r } = ot(), n = (l) => {
6810
+ bi(l), Kn(t.id) && t.id > 0 ? a(Tc(t.id)).then(() => {
6807
6811
  r(e(t.notifyT));
6808
6812
  }) : ri(t.id) && t.id.length && a(t.id).then(() => {
6809
6813
  r(e(t.notifyT));
@@ -6819,7 +6823,7 @@ const xS = /* @__PURE__ */ Q({
6819
6823
  onClick: ie(n, ["stop"])
6820
6824
  }, {
6821
6825
  default: h(() => [
6822
- m(Tc, {
6826
+ m(Mc, {
6823
6827
  "secondary-text": V(e)(l.iconT),
6824
6828
  "main-icon": "mdi-content-copy",
6825
6829
  size: "small"
@@ -7030,20 +7034,20 @@ const xS = /* @__PURE__ */ Q({
7030
7034
  }
7031
7035
  });
7032
7036
  var Gs = /* @__PURE__ */ ((i) => (i.Light = "light", i.Dark = "dark", i.Auto = "auto", i))(Gs || {}), Xg = /* @__PURE__ */ ((i) => (i.Light = "light", i.Dark = "dark", i))(Xg || {});
7033
- const ul = ju(
7037
+ const ul = Hu(
7034
7038
  "theme",
7035
7039
  "light"
7036
7040
  /* Light */
7037
- ), Mc = "(prefers-color-scheme: dark)", vn = T(
7041
+ ), Bc = "(prefers-color-scheme: dark)", vn = T(
7038
7042
  Object.values(Gs).some((i) => i === ul.value) ? ul.value : "light"
7039
7043
  /* Light */
7040
7044
  ), Js = T(
7041
7045
  "light"
7042
7046
  /* Light */
7043
- ), Bc = T(window.matchMedia && window.matchMedia(Mc).matches), Zs = () => {
7047
+ ), Oc = T(window.matchMedia && window.matchMedia(Bc).matches), Zs = () => {
7044
7048
  switch (vn.value) {
7045
7049
  case "auto":
7046
- Js.value = Bc.value ? "dark" : "light";
7050
+ Js.value = Oc.value ? "dark" : "light";
7047
7051
  break;
7048
7052
  case "light":
7049
7053
  Js.value = "light";
@@ -7057,8 +7061,8 @@ Zs();
7057
7061
  const Xo = (i) => {
7058
7062
  vn.value = i, ul.value = i;
7059
7063
  };
7060
- window.matchMedia(Mc).addEventListener("change", (i) => {
7061
- Bc.value = i.matches, Zs();
7064
+ window.matchMedia(Bc).addEventListener("change", (i) => {
7065
+ Oc.value = i.matches, Zs();
7062
7066
  });
7063
7067
  const yg = D(() => Js.value === "light" ? "white" : "#1A1A1A");
7064
7068
  function hr() {
@@ -7198,7 +7202,7 @@ const Ag = { key: 0 }, bg = { key: 1 }, Cg = { key: 2 }, MS = /* @__PURE__ */ Q(
7198
7202
  }), xg = {
7199
7203
  xmlns: "http://www.w3.org/2000/svg",
7200
7204
  viewBox: "0 0 900 600"
7201
- }, wg = /* @__PURE__ */ zu('<path fill="#ee1c25" d="M0 0h900v600H0z"></path><path fill="#0b4ea2" d="M0 0h900v400H0z"></path><path fill="#fff" d="M0 0h900v200H0z"></path><path d="M393.479 141H146.358l-.847 8.059c-.184 1.752-4.511 43.971-4.511 136.69 0 43.563 14.726 82 43.77 114.23 20.349 22.585 46.923 41.6 81.242 58.129l3.9 1.881 3.906-1.881c34.32-16.53 60.9-35.544 81.246-58.129 29.044-32.234 43.771-70.667 43.771-114.23 0-92.718-4.328-134.938-4.512-136.69l-.844-8.059z" fill="#fff"></path><path d="M269.917 450C220.577 426.234 150 379.062 150 285.749S154.461 150 154.461 150h230.915s4.463 42.437 4.463 135.749S319.261 426.234 269.917 450z" fill="#ee1c25"></path><path d="M280.484 261.284c13.36.216 39.425.739 62.635-7.027 0 0-.613 8.306-.613 17.98s.613 17.982.613 17.982c-21.289-7.125-47.58-7.273-62.635-7.082v51.539h-21.1v-51.539c-15.055-.191-41.345-.043-62.635 7.082 0 0 .613-8.305.613-17.982s-.613-17.98-.613-17.98c23.21 7.766 49.275 7.243 62.635 7.027v-32.368c-12.177-.108-29.723.473-49.563 7.113 0 0 .613-8.305.613-17.982s-.613-17.981-.613-17.981c19.81 6.628 37.336 7.219 49.509 7.114-.626-20.5-6.6-46.332-6.6-46.332s12.289.959 17.2.959 17.2-.959 17.2-.959-5.969 25.835-6.6 46.33c12.174.106 29.7-.485 49.509-7.114 0 0-.613 8.305-.613 17.981s.613 17.982.613 17.982c-19.839-6.639-37.386-7.221-49.563-7.113v32.37z" fill="#fff"></path><path d="M269.9 329.094c-24.852 0-38.163 34.469-38.163 34.469a30.466 30.466 0 0 0-27.661-16.344c-13.719 0-23.829 12.2-30.256 23.5 24.959 39.7 64.78 64.207 96.079 79.281 31.305-15.075 71.152-39.571 96.112-79.281-6.427-11.3-16.537-23.5-30.256-23.5a30.539 30.539 0 0 0-27.693 16.344s-13.308-34.469-38.162-34.469z" fill="#0b4ea2"></path>', 7), _g = [
7205
+ }, wg = /* @__PURE__ */ Uu('<path fill="#ee1c25" d="M0 0h900v600H0z"></path><path fill="#0b4ea2" d="M0 0h900v400H0z"></path><path fill="#fff" d="M0 0h900v200H0z"></path><path d="M393.479 141H146.358l-.847 8.059c-.184 1.752-4.511 43.971-4.511 136.69 0 43.563 14.726 82 43.77 114.23 20.349 22.585 46.923 41.6 81.242 58.129l3.9 1.881 3.906-1.881c34.32-16.53 60.9-35.544 81.246-58.129 29.044-32.234 43.771-70.667 43.771-114.23 0-92.718-4.328-134.938-4.512-136.69l-.844-8.059z" fill="#fff"></path><path d="M269.917 450C220.577 426.234 150 379.062 150 285.749S154.461 150 154.461 150h230.915s4.463 42.437 4.463 135.749S319.261 426.234 269.917 450z" fill="#ee1c25"></path><path d="M280.484 261.284c13.36.216 39.425.739 62.635-7.027 0 0-.613 8.306-.613 17.98s.613 17.982.613 17.982c-21.289-7.125-47.58-7.273-62.635-7.082v51.539h-21.1v-51.539c-15.055-.191-41.345-.043-62.635 7.082 0 0 .613-8.305.613-17.982s-.613-17.98-.613-17.98c23.21 7.766 49.275 7.243 62.635 7.027v-32.368c-12.177-.108-29.723.473-49.563 7.113 0 0 .613-8.305.613-17.982s-.613-17.981-.613-17.981c19.81 6.628 37.336 7.219 49.509 7.114-.626-20.5-6.6-46.332-6.6-46.332s12.289.959 17.2.959 17.2-.959 17.2-.959-5.969 25.835-6.6 46.33c12.174.106 29.7-.485 49.509-7.114 0 0-.613 8.305-.613 17.981s.613 17.982.613 17.982c-19.839-6.639-37.386-7.221-49.563-7.113v32.37z" fill="#fff"></path><path d="M269.9 329.094c-24.852 0-38.163 34.469-38.163 34.469a30.466 30.466 0 0 0-27.661-16.344c-13.719 0-23.829 12.2-30.256 23.5 24.959 39.7 64.78 64.207 96.079 79.281 31.305-15.075 71.152-39.571 96.112-79.281-6.427-11.3-16.537-23.5-30.256-23.5a30.539 30.539 0 0 0-27.693 16.344s-13.308-34.469-38.162-34.469z" fill="#0b4ea2"></path>', 7), _g = [
7202
7206
  wg
7203
7207
  ], kg = /* @__PURE__ */ Q({
7204
7208
  __name: "FlagSk",
@@ -7209,7 +7213,7 @@ const Ag = { key: 0 }, bg = { key: 1 }, Cg = { key: 2 }, MS = /* @__PURE__ */ Q(
7209
7213
  xmlns: "http://www.w3.org/2000/svg",
7210
7214
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
7211
7215
  viewBox: "0 0 7410 3900"
7212
- }, Sg = /* @__PURE__ */ zu('<path fill="#b22234" d="M0 0h7410v3900H0z"></path><path d="M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0" stroke="#fff" stroke-width="300"></path><path fill="#3c3b6e" d="M0 0h2964v2100H0z"></path><g fill="#fff"><g id="d"><g id="c"><g id="e"><g id="b"><path id="a" d="M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z"></path><use xlink:href="#a" y="420"></use><use xlink:href="#a" y="840"></use><use xlink:href="#a" y="1260"></use></g><use xlink:href="#a" y="1680"></use></g><use xlink:href="#b" x="247" y="210"></use></g><use xlink:href="#c" x="494"></use></g><use xlink:href="#d" x="988"></use><use xlink:href="#c" x="1976"></use><use xlink:href="#e" x="2470"></use></g>', 4), Kg = [
7216
+ }, Sg = /* @__PURE__ */ Uu('<path fill="#b22234" d="M0 0h7410v3900H0z"></path><path d="M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0" stroke="#fff" stroke-width="300"></path><path fill="#3c3b6e" d="M0 0h2964v2100H0z"></path><g fill="#fff"><g id="d"><g id="c"><g id="e"><g id="b"><path id="a" d="M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z"></path><use xlink:href="#a" y="420"></use><use xlink:href="#a" y="840"></use><use xlink:href="#a" y="1260"></use></g><use xlink:href="#a" y="1680"></use></g><use xlink:href="#b" x="247" y="210"></use></g><use xlink:href="#c" x="494"></use></g><use xlink:href="#d" x="988"></use><use xlink:href="#c" x="1976"></use><use xlink:href="#e" x="2470"></use></g>', 4), Kg = [
7213
7217
  Sg
7214
7218
  ];
7215
7219
  function Eg(i, t) {
@@ -7228,7 +7232,7 @@ const Tg = /* @__PURE__ */ ba(Ig, [["render", Eg]]), Mg = {}, Bg = {
7228
7232
  function Pg(i, t) {
7229
7233
  return Y(), R("svg", Bg, $g);
7230
7234
  }
7231
- const Rg = /* @__PURE__ */ ba(Mg, [["render", Pg]]), Ng = { class: "flag" }, Md = /* @__PURE__ */ Q({
7235
+ const Rg = /* @__PURE__ */ ba(Mg, [["render", Pg]]), Ng = { class: "flag" }, Bd = /* @__PURE__ */ Q({
7232
7236
  __name: "FlagCountry",
7233
7237
  props: {
7234
7238
  code: { default: "xx" },
@@ -7253,7 +7257,7 @@ const Rg = /* @__PURE__ */ ba(Mg, [["render", Pg]]), Ng = { class: "flag" }, Md
7253
7257
  __name: "ALanguageSelect",
7254
7258
  emits: ["afterChange"],
7255
7259
  setup(i, { emit: t }) {
7256
- const e = t, a = Qe(Mn), s = Qe(ic), r = Qe(ac), { setLanguage: n } = XV(s, r), { currentLanguageCode: l } = Sc(), o = (c) => {
7260
+ const e = t, a = Qe(Mn), s = Qe(ac), r = Qe(sc), { setLanguage: n } = XV(s, r), { currentLanguageCode: l } = Kc(), o = (c) => {
7257
7261
  n(c) && e("afterChange", c);
7258
7262
  }, d = D(() => {
7259
7263
  const c = an.find((f) => f.code === l.value);
@@ -7281,7 +7285,7 @@ const Rg = /* @__PURE__ */ ba(Mg, [["render", Pg]]), Ng = { class: "flag" }, Md
7281
7285
  default: h(() => {
7282
7286
  var p;
7283
7287
  return [
7284
- m(Md, {
7288
+ m(Bd, {
7285
7289
  code: (p = d.value) == null ? void 0 : p.code
7286
7290
  }, null, 8, ["code"])
7287
7291
  ];
@@ -7310,7 +7314,7 @@ const Rg = /* @__PURE__ */ ba(Mg, [["render", Pg]]), Ng = { class: "flag" }, Md
7310
7314
  size: "30"
7311
7315
  }, {
7312
7316
  default: h(() => [
7313
- m(Md, {
7317
+ m(Bd, {
7314
7318
  code: F.code
7315
7319
  }, null, 8, ["code"])
7316
7320
  ]),
@@ -7386,12 +7390,12 @@ const Ug = { class: "text-center w-100 text-caption pb-1" }, OS = /* @__PURE__ *
7386
7390
  }
7387
7391
  console.log("There was an error in new version fetch", n);
7388
7392
  }
7389
- }, s = D(() => zg), { pause: r } = Zm(() => {
7393
+ }, s = D(() => zg), { pause: r } = Qm(() => {
7390
7394
  a();
7391
7395
  }, t.checkInterval);
7392
7396
  return za(() => {
7393
7397
  r();
7394
- }), (n, l) => e.value ? (Y(), O(Fp, {
7398
+ }), (n, l) => e.value ? (Y(), O(qp, {
7395
7399
  key: 0,
7396
7400
  height: "24",
7397
7401
  color: "orange accent-3",
@@ -7467,7 +7471,7 @@ const Ug = { class: "text-center w-100 text-caption pb-1" }, OS = /* @__PURE__ *
7467
7471
  default: h(() => [
7468
7472
  m(ut, null, {
7469
7473
  default: h(() => [
7470
- m(qp, {
7474
+ m(Yp, {
7471
7475
  "model-value": o.value,
7472
7476
  swatches: s,
7473
7477
  class: "a-color-picker--hide-controls",
@@ -7544,7 +7548,7 @@ const Ug = { class: "text-center w-100 text-caption pb-1" }, OS = /* @__PURE__ *
7544
7548
  ]),
7545
7549
  _: 1
7546
7550
  }),
7547
- m(np, null, {
7551
+ m(op, null, {
7548
7552
  default: h(() => [
7549
7553
  N(I(a.currentUser.email), 1),
7550
7554
  Wg,
@@ -7587,7 +7591,7 @@ const Ug = { class: "text-center w-100 text-caption pb-1" }, OS = /* @__PURE__ *
7587
7591
  color: "transparent"
7588
7592
  }, {
7589
7593
  default: h(() => [
7590
- m(Gu, { class: "flex-fill" }, {
7594
+ m(Ju, { class: "flex-fill" }, {
7591
7595
  default: h(() => [
7592
7596
  N(I(V(t)("common.system.currentUser.logout")), 1)
7593
7597
  ]),
@@ -7663,7 +7667,7 @@ const Ug = { class: "text-center w-100 text-caption pb-1" }, OS = /* @__PURE__ *
7663
7667
  }), Gg = {
7664
7668
  key: 0,
7665
7669
  class: "required"
7666
- }, Oc = /* @__PURE__ */ Q({
7670
+ }, $c = /* @__PURE__ */ Q({
7667
7671
  __name: "AFormRemoteAutocompleteWithCached",
7668
7672
  props: {
7669
7673
  modelValue: {},
@@ -8270,7 +8274,7 @@ function yt(i = "default") {
8270
8274
  damClient: Si.value.configs[i].damClient
8271
8275
  };
8272
8276
  }
8273
- function $c() {
8277
+ function Pc() {
8274
8278
  if (P(Si.value) || P(Si.value.configs))
8275
8279
  throw new Error("Composable can't be used without properly configured common admin.");
8276
8280
  return {
@@ -8279,7 +8283,7 @@ function $c() {
8279
8283
  notification: Si.value.notification
8280
8284
  };
8281
8285
  }
8282
- const Ca = (i, t, e = "") => Tn(t) ? i : Ep(e === "" ? i : e, t), xa = (i) => Dh.includes(i), pi = (i, t, e = {}, a, s, r = {}) => new Promise((n, l) => {
8286
+ const Ca = (i, t, e = "") => Tn(t) ? i : Tp(e === "" ? i : e, t), xa = (i) => Dh.includes(i), pi = (i, t, e = {}, a, s, r = {}) => new Promise((n, l) => {
8283
8287
  i().get(Ca(t, e), r).then((o) => xa(o.status) ? o.data ? n(o.data) : o.status === ra ? n(null) : l(new It()) : l(new oa(o.status))).catch((o) => na(o) ? l(new zi(o)) : Ui(o) ? l(new ji(o, a, s, o)) : la(o) ? l(new Hi(o, o)) : l(new It(o)));
8284
8288
  });
8285
8289
  function Rn() {
@@ -8322,7 +8326,7 @@ function Rn() {
8322
8326
  queryBuild: () => "?" + i.value.join("&")
8323
8327
  };
8324
8328
  }
8325
- const Pc = (i) => En(i) && Object.hasOwn(i, "totalCount"), Rc = (i) => En(i) && Object.hasOwn(i, "hasNextPage"), gv = (i, t) => {
8329
+ const Rc = (i) => En(i) && Object.hasOwn(i, "totalCount"), Nc = (i) => En(i) && Object.hasOwn(i, "hasNextPage"), gv = (i, t) => {
8326
8330
  const { querySetLimit: e, querySetOffset: a, querySetOrder: s, queryBuild: r, querySetFilters: n } = Rn();
8327
8331
  return e(i.rowsPerPage), a(i.page, i.rowsPerPage), s(i.sortBy, i.descending), n(t), r();
8328
8332
  }, Vr = (i, t, e = {}, a, s, r, n, l = {}) => new Promise((o, d) => {
@@ -8335,29 +8339,29 @@ const Pc = (i) => En(i) && Object.hasOwn(i, "totalCount"), Rc = (i) => En(i) &&
8335
8339
  return d(new oa(c.status));
8336
8340
  if (c.data) {
8337
8341
  const f = c.data;
8338
- return Rc(f) ? a.hasNextPage = c.data.hasNextPage : Pc(f) && (a.totalCount = f.totalCount), a.currentViewCount = c.data.data.length, o(c.data.data);
8342
+ return Nc(f) ? a.hasNextPage = c.data.hasNextPage : Rc(f) && (a.totalCount = f.totalCount), a.currentViewCount = c.data.data.length, o(c.data.data);
8339
8343
  }
8340
8344
  return c.status === ra ? o([]) : d(new It());
8341
8345
  }).catch((c) => na(c) ? d(new zi(c)) : Ui(c) ? d(new ji(c, r, n, c)) : la(c) ? d(new Hi(c, c)) : d(new It(c)));
8342
8346
  });
8343
- var vv = /* @__PURE__ */ ((i) => (i.None = "none", i.AtLeastOne = "at_least_one", i.OneFromType = "one_from_type", i.WaitForAll = "wait_for_all", i.Default = "none", i))(vv || {}), Fv = /* @__PURE__ */ ((i) => (i.Youtube = "youtubeDistribution", i.Jw = "jwDistribution", i.Custom = "customDistribution", i))(Fv || {}), qv = /* @__PURE__ */ ((i) => (i.Waiting = "waiting", i.Distributing = "distributing", i.RemoteProcessing = "remote_processing", i.Distributed = "distributed", i.Failed = "failed", i.Default = "waiting", i))(qv || {}), Nc = /* @__PURE__ */ ((i) => (i.JsonCredentials = "json_credentials", i.OAuth2 = "oauth2", i.Default = "json_credentials", i))(Nc || {});
8344
- const Lc = "/adm/v1/configuration", Yv = "/pub", Xv = Yv + "/v1/configuration", zl = "settings", yv = (i) => pi(i, Xv, {}, ht, zl), Av = (i) => pi(i, Lc, {}, ht, zl), bv = (i, t) => pi(t, Lc + "/ext-system/" + i, {}, ht, zl), zc = "/adm/v1/asset-custom-form", Uc = "assetCustomForm", Er = (i, t, e) => pi(
8347
+ var vv = /* @__PURE__ */ ((i) => (i.None = "none", i.AtLeastOne = "at_least_one", i.OneFromType = "one_from_type", i.WaitForAll = "wait_for_all", i.Default = "none", i))(vv || {}), Fv = /* @__PURE__ */ ((i) => (i.Youtube = "youtubeDistribution", i.Jw = "jwDistribution", i.Custom = "customDistribution", i))(Fv || {}), qv = /* @__PURE__ */ ((i) => (i.Waiting = "waiting", i.Distributing = "distributing", i.RemoteProcessing = "remote_processing", i.Distributed = "distributed", i.Failed = "failed", i.Default = "waiting", i))(qv || {}), Lc = /* @__PURE__ */ ((i) => (i.JsonCredentials = "json_credentials", i.OAuth2 = "oauth2", i.Default = "json_credentials", i))(Lc || {});
8348
+ const zc = "/adm/v1/configuration", Yv = "/pub", Xv = Yv + "/v1/configuration", zl = "settings", yv = (i) => pi(i, Xv, {}, ht, zl), Av = (i) => pi(i, zc, {}, ht, zl), bv = (i, t) => pi(t, zc + "/ext-system/" + i, {}, ht, zl), Uc = "/adm/v1/asset-custom-form", jc = "assetCustomForm", Er = (i, t, e) => pi(
8345
8349
  i,
8346
- zc + "/ext-system/:extSystem/type/:assetType/element?order[position]=asc&limit=100",
8350
+ Uc + "/ext-system/:extSystem/type/:assetType/element?order[position]=asc&limit=100",
8347
8351
  { extSystem: t, assetType: e },
8348
8352
  ht,
8349
- Uc
8353
+ jc
8350
8354
  ), Cv = (i, t) => pi(
8351
8355
  i,
8352
- zc + "/distribution-service/:distributionService/element?order[position]=asc&limit=100",
8356
+ Uc + "/distribution-service/:distributionService/element?order[position]=asc&limit=100",
8353
8357
  { distributionService: t },
8354
8358
  ht,
8355
- Uc
8359
+ jc
8356
8360
  ), wa = ta({
8357
8361
  damPubConfig: !1,
8358
8362
  damPrvConfig: !1
8359
- }), Bd = Rt({
8360
- userAuthType: Nc.JsonCredentials
8363
+ }), Od = Rt({
8364
+ userAuthType: Lc.JsonCredentials
8361
8365
  }), Ts = Rt({
8362
8366
  colorSet: {},
8363
8367
  assetExternalProviders: {},
@@ -8401,7 +8405,7 @@ function Jt(i = void 0) {
8401
8405
  }
8402
8406
  function a(g) {
8403
8407
  try {
8404
- Bd.value.userAuthType = g.userAuthType, wa.damPubConfig = !0;
8408
+ Od.value.userAuthType = g.userAuthType, wa.damPubConfig = !0;
8405
8409
  } catch {
8406
8410
  throw new Error("Unable to load dam pub config. Incorrect fields in json.");
8407
8411
  }
@@ -8522,7 +8526,7 @@ function Jt(i = void 0) {
8522
8526
  }
8523
8527
  return {
8524
8528
  initialized: wa,
8525
- damPubConfig: Bd,
8529
+ damPubConfig: Od,
8526
8530
  damPrvConfig: Ts,
8527
8531
  damConfigExtSystem: yo,
8528
8532
  damConfigAssetCustomFormElements: Ao,
@@ -8538,7 +8542,7 @@ function Jt(i = void 0) {
8538
8542
  getDamConfigAssetCustomFormElements: F
8539
8543
  };
8540
8544
  }
8541
- const _s = "/adm/v1/asset", Co = 10, Nn = "asset", ht = "coreDam", xo = 25, Od = (i, t, e, a) => Vr(
8545
+ const _s = "/adm/v1/asset", Co = 10, Nn = "asset", ht = "coreDam", xo = 25, $d = (i, t, e, a) => Vr(
8542
8546
  i,
8543
8547
  _s + "/licence/:licenceId",
8544
8548
  { licenceId: t },
@@ -8645,7 +8649,7 @@ function ks(i = "default") {
8645
8649
  _a.page = 1;
8646
8650
  try {
8647
8651
  e.showLoader(), e.setList(
8648
- await Od(t, e.selectedLicenceId, _a, Ms)
8652
+ await $d(t, e.selectedLicenceId, _a, Ms)
8649
8653
  );
8650
8654
  } catch (q) {
8651
8655
  o(q);
@@ -8656,7 +8660,7 @@ function ks(i = "default") {
8656
8660
  _a.page = _a.page + 1;
8657
8661
  try {
8658
8662
  e.showLoader(), e.appendList(
8659
- await Od(t, e.selectedLicenceId, _a, Ms)
8663
+ await $d(t, e.selectedLicenceId, _a, Ms)
8660
8664
  );
8661
8665
  } catch (q) {
8662
8666
  o(q);
@@ -8692,8 +8696,8 @@ function ks(i = "default") {
8692
8696
  initStoreContext: g
8693
8697
  };
8694
8698
  }
8695
- const $d = 200, Tr = "#ccc";
8696
- function jc(i) {
8699
+ const Pd = 200, Tr = "#ccc";
8700
+ function Hc(i) {
8697
8701
  const t = D(() => i.value.asset), e = D(() => t.value.attributes.assetType), a = D(() => t.value.attributes.assetStatus), s = D(() => t.value.mainFile && t.value.mainFile.links && t.value.mainFile.links.image_list ? {
8698
8702
  url: t.value.mainFile.links.image_list.url,
8699
8703
  width: t.value.mainFile.links.image_list.width,
@@ -8702,7 +8706,7 @@ function jc(i) {
8702
8706
  } : {
8703
8707
  url: void 0,
8704
8708
  width: void 0,
8705
- height: $d,
8709
+ height: Pd,
8706
8710
  bgColor: Tr
8707
8711
  }), r = D(() => t.value.mainFile && t.value.mainFile.links && t.value.mainFile.links.image_table ? {
8708
8712
  url: t.value.mainFile.links.image_table.url,
@@ -8712,7 +8716,7 @@ function jc(i) {
8712
8716
  } : {
8713
8717
  url: void 0,
8714
8718
  width: void 0,
8715
- height: $d,
8719
+ height: Pd,
8716
8720
  bgColor: Tr
8717
8721
  });
8718
8722
  return {
@@ -8729,7 +8733,7 @@ const Oa = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
8729
8733
  }, Mv = {
8730
8734
  key: 0,
8731
8735
  class: "asset-image__icon-wrapper"
8732
- }, Hc = /* @__PURE__ */ Q({
8736
+ }, Wc = /* @__PURE__ */ Q({
8733
8737
  __name: "AssetImagePreview",
8734
8738
  props: {
8735
8739
  src: { default: void 0 },
@@ -8816,7 +8820,7 @@ const Oa = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
8816
8820
  return "0 Bytes";
8817
8821
  const e = 1024, a = t < 0 ? 0 : t, s = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], r = Math.floor(Math.log(i) / Math.log(e));
8818
8822
  return parseFloat((i / Math.pow(e, r)).toFixed(a)) + " " + s[r];
8819
- }, Pd = 72, Bv = 128, Ov = /* @__PURE__ */ Q({
8823
+ }, Rd = 72, Bv = 128, Ov = /* @__PURE__ */ Q({
8820
8824
  __name: "AssetSelectTableRowItem",
8821
8825
  props: {
8822
8826
  index: {},
@@ -8825,7 +8829,7 @@ const Oa = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
8825
8829
  },
8826
8830
  emits: ["itemClick"],
8827
8831
  setup(i, { emit: t }) {
8828
- const e = i, a = t, { t: s } = re(), r = _n(e, "item"), { asset: n, tableImageProperties: l, assetType: o, assetStatus: d } = jc(r), u = () => {
8832
+ const e = i, a = t, { t: s } = re(), r = _n(e, "item"), { asset: n, tableImageProperties: l, assetType: o, assetStatus: d } = Hc(r), u = () => {
8829
8833
  a("itemClick", { assetId: n.value.id, index: e.index });
8830
8834
  };
8831
8835
  return (c, f) => {
@@ -8846,15 +8850,15 @@ const Oa = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
8846
8850
  }))
8847
8851
  ]),
8848
8852
  U("td", null, [
8849
- m(Hc, {
8853
+ m(Wc, {
8850
8854
  "asset-type": V(o),
8851
8855
  "asset-status": V(d),
8852
8856
  src: V(l).url,
8853
8857
  "background-color": V(l).bgColor,
8854
8858
  width: Bv,
8855
- height: Pd,
8859
+ height: Rd,
8856
8860
  "icon-size": 20,
8857
- "fallback-height": Pd
8861
+ "fallback-height": Rd
8858
8862
  }, null, 8, ["asset-type", "asset-status", "src", "background-color"])
8859
8863
  ]),
8860
8864
  U("td", null, I(V(n).texts.displayTitle || V(s)("commonCoreDam.asset.list.noTitle")), 1),
@@ -8875,7 +8879,7 @@ const Oa = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
8875
8879
  __name: "AssetSelectListTable",
8876
8880
  setup(i) {
8877
8881
  const { t } = re(), { onItemClick: e, assetListItems: a, loader: s } = ks();
8878
- return (r, n) => (Y(), O(Yp, {
8882
+ return (r, n) => (Y(), O(Xp, {
8879
8883
  class: "a-datatable a-datatable--dialog-sticky-fix",
8880
8884
  "fixed-header": ""
8881
8885
  }, {
@@ -8907,21 +8911,21 @@ const Oa = "data:image/jpeg;base64,/9j/4QZGRXhpZgAATU0AKgAAAAgADAEAAAMAAAABCgAAA
8907
8911
  }
8908
8912
  });
8909
8913
  var $a = /* @__PURE__ */ ((i) => (i.Masonry = "masonry", i.Thumbnail = "thumbnail", i.Table = "table", i.Default = "masonry", i))($a || {});
8910
- const Rd = T(
8914
+ const Nd = T(
8911
8915
  "masonry"
8912
8916
  /* Default */
8913
8917
  );
8914
8918
  function jl() {
8915
8919
  const i = (t) => {
8916
- Rd.value = t;
8920
+ Nd.value = t;
8917
8921
  };
8918
8922
  return {
8919
- gridView: Ba(Rd),
8923
+ gridView: Ba(Nd),
8920
8924
  setGridView: i
8921
8925
  };
8922
8926
  }
8923
8927
  const Mr = T(!1);
8924
- function Wc() {
8928
+ function Gc() {
8925
8929
  const i = () => {
8926
8930
  Mr.value ? e() : t();
8927
8931
  }, t = () => {
@@ -8938,7 +8942,7 @@ function Wc() {
8938
8942
  const Wv = { class: "d-flex flex-column w-100 px-1 align-center" }, Gv = { class: "d-flex justify-space-between w-100 align-center" }, Jv = { class: "d-flex align-center" }, Zv = { class: "d-flex align-center" }, Qv = /* @__PURE__ */ Q({
8939
8943
  __name: "AssetSelectListBar",
8940
8944
  setup(i) {
8941
- const { t } = re(), { setGridView: e } = jl(), { toggleSidebar: a } = Wc();
8945
+ const { t } = re(), { setGridView: e } = jl(), { toggleSidebar: a } = Gc();
8942
8946
  return (s, r) => (Y(), O(Aa, {
8943
8947
  density: "compact",
8944
8948
  color: "transparent",
@@ -9060,7 +9064,7 @@ const Wv = { class: "d-flex flex-column w-100 px-1 align-center" }, Gv = { class
9060
9064
  setup(i, { emit: t }) {
9061
9065
  const e = i, a = t, { t: s } = re(), r = () => {
9062
9066
  a("itemClick", { assetId: l.value.id, index: e.index });
9063
- }, n = _n(e, "item"), { asset: l, assetType: o, assetStatus: d, imageProperties: u } = jc(n);
9067
+ }, n = _n(e, "item"), { asset: l, assetType: o, assetStatus: d, imageProperties: u } = Hc(n);
9064
9068
  return (c, f) => (Y(), R("div", {
9065
9069
  class: qe(["asset-list-tiles__item asset-list-tiles__item--pointer", { "asset-list-tiles__item--selected": n.value.selected }]),
9066
9070
  onClick: ie(r, ["stop", "exact"])
@@ -9075,7 +9079,7 @@ const Wv = { class: "d-flex flex-column w-100 px-1 align-center" }, Gv = { class
9075
9079
  size: "x-small"
9076
9080
  })
9077
9081
  ])) : j("", !0),
9078
- m(Hc, {
9082
+ m(Wc, {
9079
9083
  "asset-type": V(o),
9080
9084
  "asset-status": V(d),
9081
9085
  src: V(u).url,
@@ -9128,7 +9132,7 @@ const Wv = { class: "d-flex flex-column w-100 px-1 align-center" }, Gv = { class
9128
9132
  default: h(() => [
9129
9133
  m(fe, { cols: 12 }, {
9130
9134
  default: h(() => [
9131
- m(bc, {
9135
+ m(Cc, {
9132
9136
  modelValue: V(t).text,
9133
9137
  "onUpdate:modelValue": [
9134
9138
  o[0] || (o[0] = (d) => V(t).text = d),
@@ -9207,7 +9211,7 @@ const Wv = { class: "d-flex flex-column w-100 px-1 align-center" }, Gv = { class
9207
9211
  default: h(() => [
9208
9212
  m(fe, { cols: 12 }, {
9209
9213
  default: h(() => [
9210
- m(bc, {
9214
+ m(Cc, {
9211
9215
  modelValue: V(t).text,
9212
9216
  "onUpdate:modelValue": [
9213
9217
  o[0] || (o[0] = (d) => V(t).text = d),
@@ -9255,7 +9259,7 @@ const Wv = { class: "d-flex flex-column w-100 px-1 align-center" }, Gv = { class
9255
9259
  default: h(() => [
9256
9260
  m(fe, { cols: 12 }, {
9257
9261
  default: h(() => [
9258
- m(Qu, {
9262
+ m(ec, {
9259
9263
  modelValue: V(l),
9260
9264
  "onUpdate:modelValue": F[0] || (F[0] = (p) => La(l) ? l.value = p : null),
9261
9265
  label: V(t)("common.assetSelect.filter.licence"),
@@ -9312,24 +9316,24 @@ const Wv = { class: "d-flex flex-column w-100 px-1 align-center" }, Gv = { class
9312
9316
  ])
9313
9317
  ]));
9314
9318
  }
9315
- }), VF = "/adm/v1/user/current", gF = (i) => pi(i, VF, {}, "coreDam", "user"), cl = T(void 0), Gc = T(!1);
9319
+ }), VF = "/adm/v1/user/current", gF = (i) => pi(i, VF, {}, "coreDam", "user"), cl = T(void 0), Jc = T(!1);
9316
9320
  function jS(i) {
9317
9321
  return new Promise((t, e) => {
9318
9322
  gF(i).then((a) => {
9319
- cl.value = a, a.roles.includes(Nl) && (Gc.value = !0), t(cl);
9323
+ cl.value = a, a.roles.includes(Nl) && (Jc.value = !0), t(cl);
9320
9324
  }).catch((a) => {
9321
9325
  e(a);
9322
9326
  });
9323
9327
  });
9324
9328
  }
9325
- function Jc() {
9329
+ function Zc() {
9326
9330
  return {
9327
9331
  damCurrentUser: cl,
9328
- damCurrentUserIsSuperAdmin: Gc
9332
+ damCurrentUserIsSuperAdmin: Jc
9329
9333
  };
9330
9334
  }
9331
9335
  function vF(i) {
9332
- const { damCurrentUser: t, damCurrentUserIsSuperAdmin: e } = Jc();
9336
+ const { damCurrentUser: t, damCurrentUserIsSuperAdmin: e } = Zc();
9333
9337
  if (e.value)
9334
9338
  return Te(i);
9335
9339
  const a = t.value;
@@ -9344,14 +9348,14 @@ function vF(i) {
9344
9348
  r.includes(l.licence) && n.push(l);
9345
9349
  }), n;
9346
9350
  }
9347
- function Zc(i) {
9348
- const { damCurrentUser: t, damCurrentUserIsSuperAdmin: e } = Jc();
9351
+ function Qc(i) {
9352
+ const { damCurrentUser: t, damCurrentUserIsSuperAdmin: e } = Zc();
9349
9353
  if (e.value)
9350
9354
  return !0;
9351
9355
  const a = t.value;
9352
9356
  return P(a) ? [] : !!(a.adminToExtSystems.map((n) => n.id).includes(i.extSystem) || a.assetLicences.map((n) => n.id).includes(i.licence));
9353
9357
  }
9354
- const FF = { class: "subject-select__sidebar system-border-r" }, qF = { class: "subject-select__content" }, YF = { class: "d-flex w-100 align-center justify-center pa-4" }, XF = { class: "subject-select__actions system-border-t" }, yF = { key: 0 }, AF = { key: 1 }, Qc = /* @__PURE__ */ Q({
9358
+ const FF = { class: "subject-select__sidebar system-border-r" }, qF = { class: "subject-select__content" }, YF = { class: "d-flex w-100 align-center justify-center pa-4" }, XF = { class: "subject-select__actions system-border-t" }, yF = { key: 0 }, AF = { key: 1 }, ef = /* @__PURE__ */ Q({
9355
9359
  __name: "AAssetSelect",
9356
9360
  props: {
9357
9361
  modelValue: { type: Boolean, default: void 0 },
@@ -9372,7 +9376,7 @@ const FF = { class: "subject-select__sidebar system-border-r" }, qF = { class: "
9372
9376
  set(J) {
9373
9377
  n.value = J, s("update:modelValue", J);
9374
9378
  }
9375
- }), { selectedCount: o, loader: d, pagination: u, fetchNextPage: c, resetAssetList: f, getSelectedData: F, initStoreContext: p } = ks(), { openSidebar: g, sidebarLeft: q } = Wc(), { showErrorT: x } = ot(), v = () => {
9379
+ }), { selectedCount: o, loader: d, pagination: u, fetchNextPage: c, resetAssetList: f, getSelectedData: F, initStoreContext: p } = ks(), { openSidebar: g, sidebarLeft: q } = Gc(), { showErrorT: x } = ot(), v = () => {
9376
9380
  let J = a.selectConfig;
9377
9381
  if (a.skipCurrentUserCheck || (J = vF(a.selectConfig)), J.length === 0) {
9378
9382
  x("common.assetSelect.error.unallowedLicence");
@@ -9463,7 +9467,7 @@ const FF = { class: "subject-select__sidebar system-border-r" }, qF = { class: "
9463
9467
  _: 3
9464
9468
  }, 8, ["loading", "onClick"])), [
9465
9469
  [ea, V(u).hasNextPage || V(d)],
9466
- [ec, k]
9470
+ [tc, k]
9467
9471
  ])
9468
9472
  ])
9469
9473
  ])
@@ -9503,7 +9507,7 @@ const FF = { class: "subject-select__sidebar system-border-r" }, qF = { class: "
9503
9507
  * @author owenm <owen23355@gmail.com>
9504
9508
  * @license MIT
9505
9509
  */
9506
- function Nd(i, t) {
9510
+ function Ld(i, t) {
9507
9511
  var e = Object.keys(i);
9508
9512
  if (Object.getOwnPropertySymbols) {
9509
9513
  var a = Object.getOwnPropertySymbols(i);
@@ -9516,9 +9520,9 @@ function Nd(i, t) {
9516
9520
  function Bi(i) {
9517
9521
  for (var t = 1; t < arguments.length; t++) {
9518
9522
  var e = arguments[t] != null ? arguments[t] : {};
9519
- t % 2 ? Nd(Object(e), !0).forEach(function(a) {
9523
+ t % 2 ? Ld(Object(e), !0).forEach(function(a) {
9520
9524
  bF(i, a, e[a]);
9521
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(e)) : Nd(Object(e)).forEach(function(a) {
9525
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(e)) : Ld(Object(e)).forEach(function(a) {
9522
9526
  Object.defineProperty(i, a, Object.getOwnPropertyDescriptor(e, a));
9523
9527
  });
9524
9528
  }
@@ -9574,15 +9578,15 @@ function Gi(i) {
9574
9578
  if (typeof window < "u" && window.navigator)
9575
9579
  return !!/* @__PURE__ */ navigator.userAgent.match(i);
9576
9580
  }
9577
- var da = Gi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), gr = Gi(/Edge/i), Ld = Gi(/firefox/i), Qs = Gi(/safari/i) && !Gi(/chrome/i) && !Gi(/android/i), ef = Gi(/iP(ad|od|hone)/i), tf = Gi(/chrome/i) && Gi(/android/i), af = {
9581
+ var da = Gi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), gr = Gi(/Edge/i), zd = Gi(/firefox/i), Qs = Gi(/safari/i) && !Gi(/chrome/i) && !Gi(/android/i), tf = Gi(/iP(ad|od|hone)/i), af = Gi(/chrome/i) && Gi(/android/i), sf = {
9578
9582
  capture: !1,
9579
9583
  passive: !1
9580
9584
  };
9581
9585
  function He(i, t, e) {
9582
- i.addEventListener(t, e, !da && af);
9586
+ i.addEventListener(t, e, !da && sf);
9583
9587
  }
9584
9588
  function ze(i, t, e) {
9585
- i.removeEventListener(t, e, !da && af);
9589
+ i.removeEventListener(t, e, !da && sf);
9586
9590
  }
9587
9591
  function qn(i, t) {
9588
9592
  if (t) {
@@ -9615,14 +9619,14 @@ function Ii(i, t, e, a) {
9615
9619
  }
9616
9620
  return null;
9617
9621
  }
9618
- var zd = /\s+/g;
9622
+ var Ud = /\s+/g;
9619
9623
  function ii(i, t, e) {
9620
9624
  if (i && t)
9621
9625
  if (i.classList)
9622
9626
  i.classList[e ? "add" : "remove"](t);
9623
9627
  else {
9624
- var a = (" " + i.className + " ").replace(zd, " ").replace(" " + t + " ", " ");
9625
- i.className = (a + (e ? " " + t : "")).replace(zd, " ");
9628
+ var a = (" " + i.className + " ").replace(Ud, " ").replace(" " + t + " ", " ");
9629
+ i.className = (a + (e ? " " + t : "")).replace(Ud, " ");
9626
9630
  }
9627
9631
  }
9628
9632
  function ye(i, t, e) {
@@ -9645,7 +9649,7 @@ function hs(i, t) {
9645
9649
  var s = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
9646
9650
  return s && new s(e);
9647
9651
  }
9648
- function sf(i, t, e) {
9652
+ function rf(i, t, e) {
9649
9653
  if (i) {
9650
9654
  var a = i.getElementsByTagName(t), s = 0, r = a.length;
9651
9655
  if (e)
@@ -9684,11 +9688,11 @@ function Ft(i, t, e, a, s) {
9684
9688
  };
9685
9689
  }
9686
9690
  }
9687
- function rf(i) {
9691
+ function nf(i) {
9688
9692
  var t = Ft(i), e = parseInt(ye(i, "padding-left")), a = parseInt(ye(i, "padding-top")), s = parseInt(ye(i, "padding-right")), r = parseInt(ye(i, "padding-bottom"));
9689
9693
  return t.top += a + parseInt(ye(i, "border-top-width")), t.left += e + parseInt(ye(i, "border-left-width")), t.width = i.clientWidth - e - s, t.height = i.clientHeight - a - r, t.bottom = t.top + t.height, t.right = t.left + t.width, t;
9690
9694
  }
9691
- function Ud(i, t, e) {
9695
+ function jd(i, t, e) {
9692
9696
  for (var a = Fa(i, !0), s = Ft(i)[t]; a; ) {
9693
9697
  var r = Ft(a)[e], n = void 0;
9694
9698
  if (e === "top" || e === "left" ? n = s >= r : n = s <= r, !n)
@@ -9723,7 +9727,7 @@ function ci(i, t) {
9723
9727
  i.nodeName.toUpperCase() !== "TEMPLATE" && i !== Ce.clone && (!t || qn(i, t)) && e++;
9724
9728
  return e;
9725
9729
  }
9726
- function jd(i) {
9730
+ function Hd(i) {
9727
9731
  var t = 0, e = 0, a = Ki();
9728
9732
  if (i)
9729
9733
  do {
@@ -9769,7 +9773,7 @@ function _o(i, t) {
9769
9773
  return Math.round(i.top) === Math.round(t.top) && Math.round(i.left) === Math.round(t.left) && Math.round(i.height) === Math.round(t.height) && Math.round(i.width) === Math.round(t.width);
9770
9774
  }
9771
9775
  var er;
9772
- function nf(i, t) {
9776
+ function of(i, t) {
9773
9777
  return function() {
9774
9778
  if (!er) {
9775
9779
  var e = arguments, a = this;
@@ -9782,10 +9786,10 @@ function nf(i, t) {
9782
9786
  function DF() {
9783
9787
  clearTimeout(er), er = void 0;
9784
9788
  }
9785
- function of(i, t, e) {
9789
+ function lf(i, t, e) {
9786
9790
  i.scrollLeft += t, i.scrollTop += e;
9787
9791
  }
9788
- function lf(i) {
9792
+ function df(i) {
9789
9793
  var t = window.Polymer, e = window.jQuery || window.Zepto;
9790
9794
  return t && t.dom ? t.dom(i).cloneNode(!0) : e ? e(i).clone(!0)[0] : i.cloneNode(!0);
9791
9795
  }
@@ -9939,8 +9943,8 @@ var MF = ["evt"], Lt = function(t, e) {
9939
9943
  oldDraggableIndex: tr,
9940
9944
  newIndex: ai,
9941
9945
  newDraggableIndex: ha,
9942
- hideGhostForTarget: ff,
9943
- unhideGhostForTarget: mf,
9946
+ hideGhostForTarget: mf,
9947
+ unhideGhostForTarget: pf,
9944
9948
  cloneNowHidden: function() {
9945
9949
  Va = !0;
9946
9950
  },
@@ -9968,14 +9972,14 @@ function $t(i) {
9968
9972
  newDraggableIndex: ha
9969
9973
  }, i));
9970
9974
  }
9971
- var de, ct, Se, st, Ta, rn, lt, Va, os, ai, tr, ha, Br, _t, is = !1, Yn = !1, Xn = [], ka, gi, Io, Do, Hd, Wd, zs, es, ir, ar = !1, Or = !1, nn, Dt, So = [], fl = !1, yn = [], zn = typeof document < "u", $r = ef, Gd = gr || da ? "cssFloat" : "float", BF = zn && !tf && !ef && "draggable" in document.createElement("div"), df = function() {
9975
+ var de, ct, Se, st, Ta, rn, lt, Va, os, ai, tr, ha, Br, _t, is = !1, Yn = !1, Xn = [], ka, gi, Io, Do, Wd, Gd, zs, es, ir, ar = !1, Or = !1, nn, Dt, So = [], fl = !1, yn = [], zn = typeof document < "u", $r = tf, Jd = gr || da ? "cssFloat" : "float", BF = zn && !af && !tf && "draggable" in document.createElement("div"), uf = function() {
9972
9976
  if (zn) {
9973
9977
  if (da)
9974
9978
  return !1;
9975
9979
  var i = document.createElement("x");
9976
9980
  return i.style.cssText = "pointer-events:auto", i.style.pointerEvents === "auto";
9977
9981
  }
9978
- }(), uf = function(t, e) {
9982
+ }(), cf = function(t, e) {
9979
9983
  var a = ye(t), s = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), r = ys(t, 0, e), n = ys(t, 1, e), l = r && ye(r), o = n && ye(n), d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Ft(r).width, u = o && parseInt(o.marginLeft) + parseInt(o.marginRight) + Ft(n).width;
9980
9984
  if (a.display === "flex")
9981
9985
  return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
@@ -9985,7 +9989,7 @@ var de, ct, Se, st, Ta, rn, lt, Va, os, ai, tr, ha, Br, _t, is = !1, Yn = !1, Xn
9985
9989
  var c = l.float === "left" ? "left" : "right";
9986
9990
  return n && (o.clear === "both" || o.clear === c) ? "vertical" : "horizontal";
9987
9991
  }
9988
- return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || d >= s && a[Gd] === "none" || n && a[Gd] === "none" && d + u > s) ? "vertical" : "horizontal";
9992
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || d >= s && a[Jd] === "none" || n && a[Jd] === "none" && d + u > s) ? "vertical" : "horizontal";
9989
9993
  }, OF = function(t, e, a) {
9990
9994
  var s = a ? t.left : t.top, r = a ? t.right : t.bottom, n = a ? t.width : t.height, l = a ? e.left : e.top, o = a ? e.right : e.bottom, d = a ? e.width : e.height;
9991
9995
  return s === l || r === o || s + n / 2 === l + d / 2;
@@ -9999,7 +10003,7 @@ var de, ct, Se, st, Ta, rn, lt, Va, os, ai, tr, ha, Br, _t, is = !1, Yn = !1, Xn
9999
10003
  return a = s;
10000
10004
  }
10001
10005
  }), a;
10002
- }, cf = function(t) {
10006
+ }, ff = function(t) {
10003
10007
  function e(r, n) {
10004
10008
  return function(l, o, d, u) {
10005
10009
  var c = l.options.group.name && o.options.group.name && l.options.group.name === o.options.group.name;
@@ -10019,12 +10023,12 @@ var de, ct, Se, st, Ta, rn, lt, Va, os, ai, tr, ha, Br, _t, is = !1, Yn = !1, Xn
10019
10023
  (!s || sn(s) != "object") && (s = {
10020
10024
  name: s
10021
10025
  }), a.name = s.name, a.checkPull = e(s.pull, !0), a.checkPut = e(s.put), a.revertClone = s.revertClone, t.group = a;
10022
- }, ff = function() {
10023
- !df && Se && ye(Se, "display", "none");
10024
10026
  }, mf = function() {
10025
- !df && Se && ye(Se, "display", "");
10027
+ !uf && Se && ye(Se, "display", "none");
10028
+ }, pf = function() {
10029
+ !uf && Se && ye(Se, "display", "");
10026
10030
  };
10027
- zn && !tf && document.addEventListener("click", function(i) {
10031
+ zn && !af && document.addEventListener("click", function(i) {
10028
10032
  if (Yn)
10029
10033
  return i.preventDefault(), i.stopPropagation && i.stopPropagation(), i.stopImmediatePropagation && i.stopImmediatePropagation(), Yn = !1, !1;
10030
10034
  }, !0);
@@ -10061,7 +10065,7 @@ function Ce(i, t) {
10061
10065
  // will be set to same as swapThreshold if default
10062
10066
  removeCloneOnHide: !0,
10063
10067
  direction: function() {
10064
- return uf(i, this.options);
10068
+ return cf(i, this.options);
10065
10069
  },
10066
10070
  ghostClass: "sortable-ghost",
10067
10071
  chosenClass: "sortable-chosen",
@@ -10094,7 +10098,7 @@ function Ce(i, t) {
10094
10098
  vr.initializePlugins(this, i, e);
10095
10099
  for (var a in e)
10096
10100
  !(a in t) && (t[a] = e[a]);
10097
- cf(t);
10101
+ ff(t);
10098
10102
  for (var s in this)
10099
10103
  s.charAt(0) === "_" && typeof this[s] == "function" && (this[s] = this[s].bind(this));
10100
10104
  this.nativeDraggable = t.forceFallback ? !1 : BF, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? He(i, "pointerdown", this._onTapStart) : (He(i, "mousedown", this._onTapStart), He(i, "touchstart", this._onTapStart)), this.nativeDraggable && (He(i, "dragover", this), He(i, "dragenter", this)), Xn.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Ji(this, SF());
@@ -10154,21 +10158,21 @@ Ce.prototype = /** @lends Sortable.prototype */
10154
10158
  target: de,
10155
10159
  clientX: (e || t).clientX,
10156
10160
  clientY: (e || t).clientY
10157
- }, Hd = ka.clientX - d.left, Wd = ka.clientY - d.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, de.style["will-change"] = "all", o = function() {
10161
+ }, Wd = ka.clientX - d.left, Gd = ka.clientY - d.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, de.style["will-change"] = "all", o = function() {
10158
10162
  if (Lt("delayEnded", s, {
10159
10163
  evt: t
10160
10164
  }), Ce.eventCanceled) {
10161
10165
  s._onDrop();
10162
10166
  return;
10163
10167
  }
10164
- s._disableDelayedDragEvents(), !Ld && s.nativeDraggable && (de.draggable = !0), s._triggerDragStart(t, e), $t({
10168
+ s._disableDelayedDragEvents(), !zd && s.nativeDraggable && (de.draggable = !0), s._triggerDragStart(t, e), $t({
10165
10169
  sortable: s,
10166
10170
  name: "choose",
10167
10171
  originalEvent: t
10168
10172
  }), ii(de, n.chosenClass, !0);
10169
10173
  }, n.ignore.split(",").forEach(function(u) {
10170
- sf(de, u.trim(), Ko);
10171
- }), He(l, "dragover", Ia), He(l, "mousemove", Ia), He(l, "touchmove", Ia), He(l, "mouseup", s._onDrop), He(l, "touchend", s._onDrop), He(l, "touchcancel", s._onDrop), Ld && this.nativeDraggable && (this.options.touchStartThreshold = 4, de.draggable = !0), Lt("delayStart", this, {
10174
+ rf(de, u.trim(), Ko);
10175
+ }), He(l, "dragover", Ia), He(l, "mousemove", Ia), He(l, "touchmove", Ia), He(l, "mouseup", s._onDrop), He(l, "touchend", s._onDrop), He(l, "touchcancel", s._onDrop), zd && this.nativeDraggable && (this.options.touchStartThreshold = 4, de.draggable = !0), Lt("delayStart", this, {
10172
10176
  evt: t
10173
10177
  }), n.delay && (!n.delayOnTouchOnly || e) && (!this.nativeDraggable || !(gr || da))) {
10174
10178
  if (Ce.eventCanceled) {
@@ -10216,7 +10220,7 @@ Ce.prototype = /** @lends Sortable.prototype */
10216
10220
  },
10217
10221
  _emulateDragOver: function() {
10218
10222
  if (gi) {
10219
- this._lastX = gi.clientX, this._lastY = gi.clientY, ff();
10223
+ this._lastX = gi.clientX, this._lastY = gi.clientY, mf();
10220
10224
  for (var t = document.elementFromPoint(gi.clientX, gi.clientY), e = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(gi.clientX, gi.clientY), t !== e); )
10221
10225
  e = t;
10222
10226
  if (de.parentNode[si]._isOutsideThisEl(t), e)
@@ -10233,12 +10237,12 @@ Ce.prototype = /** @lends Sortable.prototype */
10233
10237
  }
10234
10238
  t = e;
10235
10239
  } while (e = e.parentNode);
10236
- mf();
10240
+ pf();
10237
10241
  }
10238
10242
  },
10239
10243
  _onTouchMove: function(t) {
10240
10244
  if (ka) {
10241
- var e = this.options, a = e.fallbackTolerance, s = e.fallbackOffset, r = t.touches ? t.touches[0] : t, n = Se && hs(Se, !0), l = Se && n && n.a, o = Se && n && n.d, d = $r && Dt && jd(Dt), u = (r.clientX - ka.clientX + s.x) / (l || 1) + (d ? d[0] - So[0] : 0) / (l || 1), c = (r.clientY - ka.clientY + s.y) / (o || 1) + (d ? d[1] - So[1] : 0) / (o || 1);
10245
+ var e = this.options, a = e.fallbackTolerance, s = e.fallbackOffset, r = t.touches ? t.touches[0] : t, n = Se && hs(Se, !0), l = Se && n && n.a, o = Se && n && n.d, d = $r && Dt && Hd(Dt), u = (r.clientX - ka.clientX + s.x) / (l || 1) + (d ? d[0] - So[0] : 0) / (l || 1), c = (r.clientY - ka.clientY + s.y) / (o || 1) + (d ? d[1] - So[1] : 0) / (o || 1);
10242
10246
  if (!Ce.active && !is) {
10243
10247
  if (a && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < a)
10244
10248
  return;
@@ -10265,9 +10269,9 @@ Ce.prototype = /** @lends Sortable.prototype */
10265
10269
  if ($r) {
10266
10270
  for (Dt = t; ye(Dt, "position") === "static" && ye(Dt, "transform") === "none" && Dt !== document; )
10267
10271
  Dt = Dt.parentNode;
10268
- Dt !== document.body && Dt !== document.documentElement ? (Dt === document && (Dt = Ki()), e.top += Dt.scrollTop, e.left += Dt.scrollLeft) : Dt = Ki(), So = jd(Dt);
10272
+ Dt !== document.body && Dt !== document.documentElement ? (Dt === document && (Dt = Ki()), e.top += Dt.scrollTop, e.left += Dt.scrollLeft) : Dt = Ki(), So = Hd(Dt);
10269
10273
  }
10270
- Se = de.cloneNode(!0), ii(Se, a.ghostClass, !1), ii(Se, a.fallbackClass, !0), ii(Se, a.dragClass, !0), ye(Se, "transition", ""), ye(Se, "transform", ""), ye(Se, "box-sizing", "border-box"), ye(Se, "margin", 0), ye(Se, "top", e.top), ye(Se, "left", e.left), ye(Se, "width", e.width), ye(Se, "height", e.height), ye(Se, "opacity", "0.8"), ye(Se, "position", $r ? "absolute" : "fixed"), ye(Se, "zIndex", "100000"), ye(Se, "pointerEvents", "none"), Ce.ghost = Se, t.appendChild(Se), ye(Se, "transform-origin", Hd / parseInt(Se.style.width) * 100 + "% " + Wd / parseInt(Se.style.height) * 100 + "%");
10274
+ Se = de.cloneNode(!0), ii(Se, a.ghostClass, !1), ii(Se, a.fallbackClass, !0), ii(Se, a.dragClass, !0), ye(Se, "transition", ""), ye(Se, "transform", ""), ye(Se, "box-sizing", "border-box"), ye(Se, "margin", 0), ye(Se, "top", e.top), ye(Se, "left", e.left), ye(Se, "width", e.width), ye(Se, "height", e.height), ye(Se, "opacity", "0.8"), ye(Se, "position", $r ? "absolute" : "fixed"), ye(Se, "zIndex", "100000"), ye(Se, "pointerEvents", "none"), Ce.ghost = Se, t.appendChild(Se), ye(Se, "transform-origin", Wd / parseInt(Se.style.width) * 100 + "% " + Gd / parseInt(Se.style.height) * 100 + "%");
10271
10275
  }
10272
10276
  },
10273
10277
  _onDragStart: function(t, e) {
@@ -10278,7 +10282,7 @@ Ce.prototype = /** @lends Sortable.prototype */
10278
10282
  this._onDrop();
10279
10283
  return;
10280
10284
  }
10281
- Lt("setupClone", this), Ce.eventCanceled || (lt = lf(de), lt.removeAttribute("id"), lt.draggable = !1, lt.style["will-change"] = "", this._hideClone(), ii(lt, this.options.chosenClass, !1), Ce.clone = lt), a.cloneId = on(function() {
10285
+ Lt("setupClone", this), Ce.eventCanceled || (lt = df(de), lt.removeAttribute("id"), lt.draggable = !1, lt.style["will-change"] = "", this._hideClone(), ii(lt, this.options.chosenClass, !1), Ce.clone = lt), a.cloneId = on(function() {
10282
10286
  Lt("clone", a), !Ce.eventCanceled && (a.options.removeCloneOnHide || st.insertBefore(lt, de), a._hideClone(), $t({
10283
10287
  sortable: a,
10284
10288
  name: "clone"
@@ -10351,7 +10355,7 @@ Ce.prototype = /** @lends Sortable.prototype */
10351
10355
  return x(), e.insertBefore(de, k), ct = e, b(), v(!0);
10352
10356
  } else if (a.parentNode === e) {
10353
10357
  r = Ft(a);
10354
- var C = 0, E, L = de.parentNode !== e, J = !OF(de.animated && de.toRect || s, a.animated && a.toRect || r, F), ae = F ? "top" : "left", $ = Ud(a, "top", "top") || Ud(de, "top", "top"), z = $ ? $.scrollTop : void 0;
10358
+ var C = 0, E, L = de.parentNode !== e, J = !OF(de.animated && de.toRect || s, a.animated && a.toRect || r, F), ae = F ? "top" : "left", $ = jd(a, "top", "top") || jd(de, "top", "top"), z = $ ? $.scrollTop : void 0;
10355
10359
  es !== a && (E = r[ae], ar = !1, Or = !J && l.invertSwap || L), C = UF(t, a, r, F, J ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Or, es === a);
10356
10360
  var B;
10357
10361
  if (C !== 0) {
@@ -10367,7 +10371,7 @@ Ce.prototype = /** @lends Sortable.prototype */
10367
10371
  A = C === 1;
10368
10372
  var K = Pr(st, e, de, s, a, r, t, A);
10369
10373
  if (K !== !1)
10370
- return (K === 1 || K === -1) && (A = K === 1), fl = !0, setTimeout(NF, 30), x(), A && !y ? e.appendChild(de) : a.parentNode.insertBefore(de, A ? y : a), $ && of($, 0, z - $.scrollTop), ct = de.parentNode, E !== void 0 && !Or && (nn = Math.abs(E - Ft(a)[ae])), b(), v(!0);
10374
+ return (K === 1 || K === -1) && (A = K === 1), fl = !0, setTimeout(NF, 30), x(), A && !y ? e.appendChild(de) : a.parentNode.insertBefore(de, A ? y : a), $ && lf($, 0, z - $.scrollTop), ct = de.parentNode, E !== void 0 && !Or && (nn = Math.abs(E - Ft(a)[ae])), b(), v(!0);
10371
10375
  }
10372
10376
  if (e.contains(de))
10373
10377
  return v(!1);
@@ -10505,7 +10509,7 @@ Ce.prototype = /** @lends Sortable.prototype */
10505
10509
  if (e === void 0)
10506
10510
  return a[t];
10507
10511
  var s = vr.modifyOption(this, t, e);
10508
- typeof s < "u" ? a[t] = s : a[t] = e, t === "group" && cf(a);
10512
+ typeof s < "u" ? a[t] = s : a[t] = e, t === "group" && ff(a);
10509
10513
  },
10510
10514
  /**
10511
10515
  * Destroy
@@ -10553,11 +10557,11 @@ function NF() {
10553
10557
  fl = !1;
10554
10558
  }
10555
10559
  function LF(i, t, e) {
10556
- var a = Ft(ys(e.el, 0, e.options, !0)), s = rf(e.el), r = 10;
10560
+ var a = Ft(ys(e.el, 0, e.options, !0)), s = nf(e.el), r = 10;
10557
10561
  return t ? i.clientX < s.left - r || i.clientY < a.top && i.clientX < a.right : i.clientY < s.top - r || i.clientY < a.bottom && i.clientX < a.left;
10558
10562
  }
10559
10563
  function zF(i, t, e) {
10560
- var a = Ft(Hl(e.el, e.options.draggable)), s = rf(e.el), r = 10;
10564
+ var a = Ft(Hl(e.el, e.options.draggable)), s = nf(e.el), r = 10;
10561
10565
  return t ? i.clientX > s.right + r || i.clientY > a.bottom && i.clientX > a.left : i.clientY > s.bottom + r || i.clientX > a.right && i.clientY > a.top;
10562
10566
  }
10563
10567
  function UF(i, t, e, a, s, r, n, l) {
@@ -10601,19 +10605,19 @@ Ce.utils = {
10601
10605
  on: He,
10602
10606
  off: ze,
10603
10607
  css: ye,
10604
- find: sf,
10608
+ find: rf,
10605
10609
  is: function(t, e) {
10606
10610
  return !!Ii(t, e, t, !1);
10607
10611
  },
10608
10612
  extend: IF,
10609
- throttle: nf,
10613
+ throttle: of,
10610
10614
  closest: Ii,
10611
10615
  toggleClass: ii,
10612
- clone: lf,
10616
+ clone: df,
10613
10617
  index: ci,
10614
10618
  nextTick: on,
10615
10619
  cancelNextTick: ml,
10616
- detectDirection: uf,
10620
+ detectDirection: cf,
10617
10621
  getChild: ys
10618
10622
  };
10619
10623
  Ce.get = function(i) {
@@ -10655,7 +10659,7 @@ function GF() {
10655
10659
  !this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
10656
10660
  },
10657
10661
  drop: function() {
10658
- this.sortable.nativeDraggable ? ze(document, "dragover", this._handleAutoScroll) : (ze(document, "pointermove", this._handleFallbackAutoScroll), ze(document, "touchmove", this._handleFallbackAutoScroll), ze(document, "mousemove", this._handleFallbackAutoScroll)), Jd(), ln(), DF();
10662
+ this.sortable.nativeDraggable ? ze(document, "dragover", this._handleAutoScroll) : (ze(document, "pointermove", this._handleFallbackAutoScroll), ze(document, "touchmove", this._handleFallbackAutoScroll), ze(document, "mousemove", this._handleFallbackAutoScroll)), Zd(), ln(), DF();
10659
10663
  },
10660
10664
  nulling: function() {
10661
10665
  An = pl = Us = hl = js = Eo = To = null, vt.length = 0;
@@ -10668,7 +10672,7 @@ function GF() {
10668
10672
  if (An = e, a || this.options.forceAutoScrollFallback || gr || da || Qs) {
10669
10673
  Mo(e, this.options, l, a);
10670
10674
  var o = Fa(l, !0);
10671
- hl && (!js || r !== Eo || n !== To) && (js && Jd(), js = setInterval(function() {
10675
+ hl && (!js || r !== Eo || n !== To) && (js && Zd(), js = setInterval(function() {
10672
10676
  var d = Fa(document.elementFromPoint(r, n), !0);
10673
10677
  d !== o && (o = d, ln()), Mo(e, s.options, d, a);
10674
10678
  }, 10), Eo = r, To = n);
@@ -10690,10 +10694,10 @@ function ln() {
10690
10694
  clearInterval(i.pid);
10691
10695
  }), vt = [];
10692
10696
  }
10693
- function Jd() {
10697
+ function Zd() {
10694
10698
  clearInterval(js);
10695
10699
  }
10696
- var Mo = nf(function(i, t, e, a) {
10700
+ var Mo = of(function(i, t, e, a) {
10697
10701
  if (t.scroll) {
10698
10702
  var s = (i.touches ? i.touches[0] : i).clientX, r = (i.touches ? i.touches[0] : i).clientY, n = t.scrollSensitivity, l = t.scrollSpeed, o = Ki(), d = !1, u;
10699
10703
  pl !== e && (pl = e, ln(), Us = t.scroll, u = t.scrollFn, Us === !0 && (Us = Fa(e, !0)));
@@ -10708,14 +10712,14 @@ var Mo = nf(function(i, t, e, a) {
10708
10712
  (vt[c].vx != z || vt[c].vy != B || vt[c].el !== F) && (vt[c].el = F, vt[c].vx = z, vt[c].vy = B, clearInterval(vt[c].pid), (z != 0 || B != 0) && (d = !0, vt[c].pid = setInterval((function() {
10709
10713
  a && this.layer === 0 && Ce.active._onTouchMove(An);
10710
10714
  var y = vt[this.layer].vy ? vt[this.layer].vy * l : 0, A = vt[this.layer].vx ? vt[this.layer].vx * l : 0;
10711
- typeof u == "function" && u.call(Ce.dragged.parentNode[si], A, y, i, An, vt[this.layer].el) !== "continue" || of(vt[this.layer].el, A, y);
10715
+ typeof u == "function" && u.call(Ce.dragged.parentNode[si], A, y, i, An, vt[this.layer].el) !== "continue" || lf(vt[this.layer].el, A, y);
10712
10716
  }).bind({
10713
10717
  layer: c
10714
10718
  }), 24))), c++;
10715
10719
  } while (t.bubbleScroll && f !== o && (f = Fa(f, !1)));
10716
10720
  hl = d;
10717
10721
  }
10718
- }, 30), pf = function(t) {
10722
+ }, 30), hf = function(t) {
10719
10723
  var e = t.originalEvent, a = t.putSortable, s = t.dragEl, r = t.activeSortable, n = t.dispatchSortableEvent, l = t.hideGhostForTarget, o = t.unhideGhostForTarget;
10720
10724
  if (e) {
10721
10725
  var d = a || r;
@@ -10741,7 +10745,7 @@ Wl.prototype = {
10741
10745
  var s = ys(this.sortable.el, this.startIndex, this.options);
10742
10746
  s ? this.sortable.el.insertBefore(e, s) : this.sortable.el.appendChild(e), this.sortable.animateAll(), a && a.animateAll();
10743
10747
  },
10744
- drop: pf
10748
+ drop: hf
10745
10749
  };
10746
10750
  Ji(Wl, {
10747
10751
  pluginName: "revertOnSpill"
@@ -10753,7 +10757,7 @@ Gl.prototype = {
10753
10757
  var e = t.dragEl, a = t.putSortable, s = a || this.sortable;
10754
10758
  s.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), s.animateAll();
10755
10759
  },
10756
- drop: pf
10760
+ drop: hf
10757
10761
  };
10758
10762
  Ji(Gl, {
10759
10763
  pluginName: "removeOnSpill"
@@ -10762,12 +10766,12 @@ Ce.mount(new GF());
10762
10766
  Ce.mount(Gl, Wl);
10763
10767
  function Jl(i, t, e = {}) {
10764
10768
  let a;
10765
- const { document: s = ip, ...r } = e, n = {
10769
+ const { document: s = ap, ...r } = e, n = {
10766
10770
  onUpdate: (u) => {
10767
10771
  JF(t, u.oldIndex, u.newIndex);
10768
10772
  }
10769
10773
  }, l = () => {
10770
- const u = typeof i == "string" ? s == null ? void 0 : s.querySelector(i) : tp(i);
10774
+ const u = typeof i == "string" ? s == null ? void 0 : s.querySelector(i) : ip(i);
10771
10775
  !u || a !== void 0 || (a = new Ce(u, { ...n, ...r }));
10772
10776
  }, o = () => {
10773
10777
  a == null || a.destroy(), a = void 0;
@@ -10777,7 +10781,7 @@ function Jl(i, t, e = {}) {
10777
10781
  else
10778
10782
  return a == null ? void 0 : a.option(u);
10779
10783
  };
10780
- return Qm(l), ep(o), { stop: o, start: l, option: d };
10784
+ return ep(l), tp(o), { stop: o, start: l, option: d };
10781
10785
  }
10782
10786
  function JF(i, t, e) {
10783
10787
  const a = La(i), s = a ? [...Xd(i)] : Xd(i);
@@ -10790,7 +10794,7 @@ function JF(i, t, e) {
10790
10794
  }
10791
10795
  let Rr;
10792
10796
  const ZF = new Uint8Array(16);
10793
- function hf() {
10797
+ function Vf() {
10794
10798
  if (!Rr && (Rr = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Rr))
10795
10799
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
10796
10800
  return Rr(ZF);
@@ -10798,18 +10802,18 @@ function hf() {
10798
10802
  const wt = [];
10799
10803
  for (let i = 0; i < 256; ++i)
10800
10804
  wt.push((i + 256).toString(16).slice(1));
10801
- function Vf(i, t = 0) {
10805
+ function gf(i, t = 0) {
10802
10806
  return wt[i[t + 0]] + wt[i[t + 1]] + wt[i[t + 2]] + wt[i[t + 3]] + "-" + wt[i[t + 4]] + wt[i[t + 5]] + "-" + wt[i[t + 6]] + wt[i[t + 7]] + "-" + wt[i[t + 8]] + wt[i[t + 9]] + "-" + wt[i[t + 10]] + wt[i[t + 11]] + wt[i[t + 12]] + wt[i[t + 13]] + wt[i[t + 14]] + wt[i[t + 15]];
10803
10807
  }
10804
- let Zd, Bo, Oo = 0, $o = 0;
10808
+ let Qd, Bo, Oo = 0, $o = 0;
10805
10809
  function QF(i, t, e) {
10806
10810
  let a = t && e || 0;
10807
10811
  const s = t || new Array(16);
10808
10812
  i = i || {};
10809
- let r = i.node || Zd, n = i.clockseq !== void 0 ? i.clockseq : Bo;
10813
+ let r = i.node || Qd, n = i.clockseq !== void 0 ? i.clockseq : Bo;
10810
10814
  if (r == null || n == null) {
10811
- const f = i.random || (i.rng || hf)();
10812
- r == null && (r = Zd = [f[0] | 1, f[1], f[2], f[3], f[4], f[5]]), n == null && (n = Bo = (f[6] << 8 | f[7]) & 16383);
10815
+ const f = i.random || (i.rng || Vf)();
10816
+ r == null && (r = Qd = [f[0] | 1, f[1], f[2], f[3], f[4], f[5]]), n == null && (n = Bo = (f[6] << 8 | f[7]) & 16383);
10813
10817
  }
10814
10818
  let l = i.msecs !== void 0 ? i.msecs : Date.now(), o = i.nsecs !== void 0 ? i.nsecs : $o + 1;
10815
10819
  const d = l - Oo + (o - $o) / 1e4;
@@ -10822,25 +10826,25 @@ function QF(i, t, e) {
10822
10826
  s[a++] = c >>> 8 & 255, s[a++] = c & 255, s[a++] = c >>> 24 & 15 | 16, s[a++] = c >>> 16 & 255, s[a++] = n >>> 8 | 128, s[a++] = n & 255;
10823
10827
  for (let f = 0; f < 6; ++f)
10824
10828
  s[a + f] = r[f];
10825
- return t || Vf(s);
10829
+ return t || gf(s);
10826
10830
  }
10827
- const e7 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Qd = {
10831
+ const e7 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), eu = {
10828
10832
  randomUUID: e7
10829
10833
  };
10830
10834
  function t7(i, t, e) {
10831
- if (Qd.randomUUID && !t && !i)
10832
- return Qd.randomUUID();
10835
+ if (eu.randomUUID && !t && !i)
10836
+ return eu.randomUUID();
10833
10837
  i = i || {};
10834
- const a = i.random || (i.rng || hf)();
10838
+ const a = i.random || (i.rng || Vf)();
10835
10839
  if (a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, t) {
10836
10840
  e = e || 0;
10837
10841
  for (let s = 0; s < 16; ++s)
10838
10842
  t[e + s] = a[s];
10839
10843
  return t;
10840
10844
  }
10841
- return Vf(a);
10845
+ return gf(a);
10842
10846
  }
10843
- const ga = () => QF(), HS = () => t7(), Vs = "a-sortable-widget__handle", gf = "a-sortable-widget__ghost", vf = "a-sortable-widget__drag", Ff = "a-sortable-widget__chosen", bn = "a-sortable-widget__group";
10847
+ const ga = () => QF(), HS = () => t7(), Vs = "a-sortable-widget__handle", vf = "a-sortable-widget__ghost", Ff = "a-sortable-widget__drag", qf = "a-sortable-widget__chosen", bn = "a-sortable-widget__group";
10844
10848
  function i7(i, t, e, a) {
10845
10849
  const s = T(!1), r = T(null), n = T(null), l = T(ga()), o = T(null), d = T(0), u = T(e.dirty);
10846
10850
  function c(B, _) {
@@ -10974,9 +10978,9 @@ const Zl = "a-sortable-", a7 = ["id"], s7 = { class: "a-sortable-widget__content
10974
10978
  const y = E.value.querySelector("." + bn);
10975
10979
  y && (C.value = Jl(y, [], {
10976
10980
  handle: "." + Vs,
10977
- ghostClass: gf,
10978
- dragClass: vf,
10979
- chosenClass: Ff,
10981
+ ghostClass: vf,
10982
+ dragClass: Ff,
10983
+ chosenClass: qf,
10980
10984
  onEnd: async (A) => {
10981
10985
  if (a.disableDefaultSort || P(A.oldIndex) || P(A.newIndex))
10982
10986
  return;
@@ -11192,7 +11196,7 @@ const Zl = "a-sortable-", a7 = ["id"], s7 = { class: "a-sortable-widget__content
11192
11196
  ]);
11193
11197
  };
11194
11198
  }
11195
- }), Vl = "a-sortable-nested-widget__handle", n7 = "a-sortable-nested-widget__ghost", o7 = "a-sortable-nested-widget__drag", l7 = "a-sortable-nested-widget__chosen", eu = "a-sortable-nested-widget__group", tu = Symbol.for("anzu:SortableLevel");
11199
+ }), Vl = "a-sortable-nested-widget__handle", n7 = "a-sortable-nested-widget__ghost", o7 = "a-sortable-nested-widget__drag", l7 = "a-sortable-nested-widget__chosen", tu = "a-sortable-nested-widget__group", iu = Symbol.for("anzu:SortableLevel");
11196
11200
  function d7(i, t, e) {
11197
11201
  const { showWarningT: a } = ot(), s = T([]), r = T(0), n = T(!1), l = T(null), o = T(!1), d = T(null), u = T(ga()), c = ($ = void 0) => {
11198
11202
  r.value++, P($) || e("update:modelValue", $), qi(() => {
@@ -11445,8 +11449,8 @@ const u7 = ["data-id"], c7 = { class: "a-sortable-nested-widget__nested" }, f7 =
11445
11449
  return;
11446
11450
  }
11447
11451
  a("onAddChild", Te(e.item));
11448
- }, o = Qe(tu, 1);
11449
- rr(tu, o + 1);
11452
+ }, o = Qe(iu, 1);
11453
+ rr(iu, o + 1);
11450
11454
  const d = D(() => e.showAddChildButton && !P(e.item.children) && e.item.children.length === 0 && o < e.maxDepth), { t: u } = re();
11451
11455
  return (c, f) => {
11452
11456
  const F = Je("ASortableNestedItem", !0);
@@ -11621,7 +11625,7 @@ const u7 = ["data-id"], c7 = { class: "a-sortable-nested-widget__nested" }, f7 =
11621
11625
  }, { t: c } = re(), f = D(() => P(a.widgetIdentifierId) ? Zl + x.value : a.widgetIdentifierId), F = D(() => a.rootClassName + " " + (g.value ? a.rootClassName + "--dragging" : "")), p = () => {
11622
11626
  if (a.disableDraggable || !q.value)
11623
11627
  return;
11624
- const _ = Array.from(q.value.querySelectorAll("." + eu));
11628
+ const _ = Array.from(q.value.querySelectorAll("." + tu));
11625
11629
  B.value = [];
11626
11630
  for (let y = 0; y < _.length; y++)
11627
11631
  B.value[y] = Jl(_[y], [], {
@@ -11703,7 +11707,7 @@ const u7 = ["data-id"], c7 = { class: "a-sortable-nested-widget__nested" }, f7 =
11703
11707
  }, [
11704
11708
  (Y(), R("div", {
11705
11709
  key: V(X),
11706
- class: qe(V(eu))
11710
+ class: qe(V(tu))
11707
11711
  }, [
11708
11712
  (Y(!0), R(_e, null, pt(_.modelValue.children, (M) => (Y(), O(V7, {
11709
11713
  key: M.data.id,
@@ -11985,7 +11989,7 @@ const u7 = ["data-id"], c7 = { class: "a-sortable-nested-widget__nested" }, f7 =
11985
11989
  }, 8, ["loading"])), [
11986
11990
  [ea, X.value || C.loading],
11987
11991
  [
11988
- ec,
11992
+ tc,
11989
11993
  k,
11990
11994
  void 0,
11991
11995
  { quiet: !0 }
@@ -12087,7 +12091,7 @@ const D7 = {
12087
12091
  const e = i, a = t, s = (v) => e.config.attributes.type === Pt.Integer ? parseInt(v) : v, r = (v) => {
12088
12092
  a("update:modelValue", { property: e.config.property, value: s(v) });
12089
12093
  }, n = D(() => {
12090
- const v = Nu(e.modelValue) ? Ht(e.modelValue) : e.modelValue;
12094
+ const v = Lu(e.modelValue) ? Ht(e.modelValue) : e.modelValue;
12091
12095
  return e.config.attributes.type === Pt.StringArray && Tn(v) ? [] : v;
12092
12096
  }), { maxLength: l, minLength: o, requiredIf: d, minValue: u, maxValue: c, stringArrayItemLength: f } = Wa(), F = D(() => {
12093
12097
  const v = {
@@ -12122,13 +12126,13 @@ const D7 = {
12122
12126
  break;
12123
12127
  }
12124
12128
  return v;
12125
- }), p = op(F, { modelValueComputed: n }, { $scope: e.validationScope }), g = D(() => p.value.$errors.length ? [p.value.$errors.map((v) => v.$message).join(" ")] : []), q = T(void 0);
12129
+ }), p = lp(F, { modelValueComputed: n }, { $scope: e.validationScope }), g = D(() => p.value.$errors.length ? [p.value.$errors.map((v) => v.$message).join(" ")] : []), q = T(void 0);
12126
12130
  q.value = e.config.attributes.maxValue ?? void 0;
12127
12131
  const x = () => {
12128
12132
  a("blur", e.modelValue), p.value.$touch();
12129
12133
  };
12130
12134
  return (v, b) => (Y(), R(_e, null, [
12131
- v.config.attributes.type === V(Pt).String ? (Y(), O(Wu, {
12135
+ v.config.attributes.type === V(Pt).String ? (Y(), O(Gu, {
12132
12136
  key: 0,
12133
12137
  "model-value": v.modelValue,
12134
12138
  "auto-grow": "",
@@ -12160,7 +12164,7 @@ const D7 = {
12160
12164
  v.config.attributes.required ? (Y(), R("span", S7)) : j("", !0)
12161
12165
  ]),
12162
12166
  _: 1
12163
- }, 8, ["model-value", "label", "error-messages", "data-cy"])) : v.config.attributes.type === V(Pt).StringArray ? (Y(), O(Xp, {
12167
+ }, 8, ["model-value", "label", "error-messages", "data-cy"])) : v.config.attributes.type === V(Pt).StringArray ? (Y(), O(yp, {
12164
12168
  key: 2,
12165
12169
  "model-value": n.value,
12166
12170
  label: v.config.name,
@@ -12329,7 +12333,7 @@ const ls = (i) => {
12329
12333
  return "";
12330
12334
  }
12331
12335
  };
12332
- function qf(i, t) {
12336
+ function Yf(i, t) {
12333
12337
  const e = D(() => P(i) ? [] : i.split(",")), a = D(() => P(t) ? [] : Object.keys(t)), s = (l, o = !1) => {
12334
12338
  const d = [], u = l.filter((c) => {
12335
12339
  const f = r(c, e.value) && n(c, a.value, t);
@@ -12400,11 +12404,11 @@ const $7 = {
12400
12404
  },
12401
12405
  emits: ["onDrop", "onClick"],
12402
12406
  setup(i, { emit: t }) {
12403
- const e = i, a = t, s = T(), { checkFormatsAndSizes: r } = qf(e.accept, e.maxSizes);
12407
+ const e = i, a = t, s = T(), { checkFormatsAndSizes: r } = Yf(e.accept, e.maxSizes);
12404
12408
  function n(u) {
12405
12409
  e.disabled || ue(u) || u.length === 0 || a("onDrop", r(u));
12406
12410
  }
12407
- const { isOverDropZone: l } = ap(s, n), { isDraggingFile: o } = O7(), { t: d } = re();
12411
+ const { isOverDropZone: l } = sp(s, n), { isDraggingFile: o } = O7(), { t: d } = re();
12408
12412
  return (u, c) => (Y(), R("div", {
12409
12413
  ref_key: "dropZoneRef",
12410
12414
  ref: s,
@@ -12436,12 +12440,12 @@ function jn(i = "default") {
12436
12440
  imageHeight: pa.value.configs[i].height
12437
12441
  };
12438
12442
  }
12439
- function Yf(i) {
12443
+ function Xf(i) {
12440
12444
  return {
12441
12445
  widgetImageToDamImageUrl: (e, a = i.imageWidth, s = i.imageHeight, r = !0) => i.previewDomain + "/image/w" + a + "-h" + s + (e.dam.regionPosition > 0 ? "-c" + e.dam.regionPosition : "") + "/" + e.dam.damId + ".jpg" + (r ? "?random=" + Date.now() : "")
12442
12446
  };
12443
12447
  }
12444
- function Xf(i = void 0, t) {
12448
+ function yf(i = void 0, t) {
12445
12449
  const e = (r) => {
12446
12450
  const n = {};
12447
12451
  for (let l = 0; l < t[r].mimeTypes.length; l++)
@@ -12605,14 +12609,14 @@ const dr = "/adm/v1/image", H7 = 420, W7 = (i, t) => new Promise((e, a) => {
12605
12609
  }
12606
12610
  J7(i, t, e).then((n) => {
12607
12611
  t.status = Ge.Processing, a && (t.notificationFallbackTimer = setTimeout(function() {
12608
- Af(i, t);
12609
- }, yf(t))), s(n);
12612
+ bf(i, t);
12613
+ }, Af(t))), s(n);
12610
12614
  }).catch((n) => r(n));
12611
12615
  });
12612
- function yf(i) {
12616
+ function Af(i) {
12613
12617
  return Q7 * 1e3 * i.notificationFallbackTry * i.notificationFallbackTry;
12614
12618
  }
12615
- async function Af(i, t) {
12619
+ async function bf(i, t) {
12616
12620
  if (clearTimeout(t.notificationFallbackTimer), t.status === Ge.Uploaded || t.notificationFallbackTry > eq || !t.assetId)
12617
12621
  return;
12618
12622
  const e = await va(i, t.assetId);
@@ -12630,10 +12634,10 @@ async function Af(i, t) {
12630
12634
  }
12631
12635
  }
12632
12636
  t.notificationFallbackTry++, t.notificationFallbackTimer = setTimeout(function() {
12633
- Af(i, t);
12634
- }, yf(t));
12637
+ bf(i, t);
12638
+ }, Af(t));
12635
12639
  }
12636
- var bf = { exports: {} };
12640
+ var Cf = { exports: {} };
12637
12641
  (function(i, t) {
12638
12642
  (function(a, s) {
12639
12643
  i.exports = s();
@@ -13151,12 +13155,12 @@ var bf = { exports: {} };
13151
13155
  ])
13152
13156
  );
13153
13157
  });
13154
- })(bf);
13155
- var sq = bf.exports;
13158
+ })(Cf);
13159
+ var sq = Cf.exports;
13156
13160
  const rq = /* @__PURE__ */ Pl(sq), zo = 4, nq = 1e3, oq = 1e3, lq = 3, dq = async (i, t = null) => {
13157
13161
  throw t;
13158
13162
  }, uq = async (i, t) => {
13159
- const { damClient: e } = yt(), { uploadStatusFallback: a } = $c();
13163
+ const { damClient: e } = yt(), { uploadStatusFallback: a } = Pc();
13160
13164
  return await aq(e, i, t, a);
13161
13165
  }, cq = (i) => {
13162
13166
  const { t } = $e.global || $e;
@@ -13177,8 +13181,8 @@ const rq = /* @__PURE__ */ Pl(sq), zo = 4, nq = 1e3, oq = 1e3, lq = 3, dq = asyn
13177
13181
  default:
13178
13182
  a.push(t("common.damImage.uploadErrors.systemError") + ": " + s + " - " + r.join(","));
13179
13183
  }
13180
- return a.length > 0 ? a.join(Xc) : t("common.damImage.uploadErrors.unknownError");
13181
- }, iu = async (i, t, e) => new Promise((a, s) => {
13184
+ return a.length > 0 ? a.join(yc) : t("common.damImage.uploadErrors.unknownError");
13185
+ }, au = async (i, t, e) => new Promise((a, s) => {
13182
13186
  const r = e.slice(i, i + t), n = new FileReader();
13183
13187
  n.onload = function(l) {
13184
13188
  var o;
@@ -13221,7 +13225,7 @@ function mq(i, t = void 0) {
13221
13225
  });
13222
13226
  }), g = async (b) => {
13223
13227
  u(i.progress.speed);
13224
- let X = await iu(b, c.value, i.file), k = new File([X.data], i.file.name);
13228
+ let X = await au(b, c.value, i.file), k = new File([X.data], i.file.name);
13225
13229
  i.currentChunkIndex = b;
13226
13230
  const C = In.CancelToken;
13227
13231
  i.latestChunkCancelToken = C.source();
@@ -13233,7 +13237,7 @@ function mq(i, t = void 0) {
13233
13237
  } catch (J) {
13234
13238
  if (Ui(J))
13235
13239
  return L = zo, i.error.message = cq(J), Promise.reject(J);
13236
- u(i.progress.speed) && (X = await iu(b, c.value, i.file), k = new File([X.data], i.file.name)), await fq(E), L === zo - 1 ? E = 1 : E *= lq;
13240
+ u(i.progress.speed) && (X = await au(b, c.value, i.file), k = new File([X.data], i.file.name)), await fq(E), L === zo - 1 ? E = 1 : E *= lq;
13237
13241
  }
13238
13242
  } while (L < zo);
13239
13243
  return Promise.reject("Unable to upload chunk, max tries exceeded");
@@ -13277,10 +13281,10 @@ function mq(i, t = void 0) {
13277
13281
  }
13278
13282
  };
13279
13283
  }
13280
- const au = (i) => {
13284
+ const su = (i) => {
13281
13285
  i.cancel("axios request cancelled");
13282
13286
  }, pq = Symbol("anzu:damNotificationsEventBusKey");
13283
- function Cf() {
13287
+ function xf() {
13284
13288
  return oi(pq);
13285
13289
  }
13286
13290
  const Nr = {
@@ -13297,9 +13301,9 @@ const Nr = {
13297
13301
  DistributionFailed: "distribution_failed",
13298
13302
  DistributionAuthorized: "distribution_authorized",
13299
13303
  UserUpdated: "user_updated"
13300
- }, { t: hq } = $e.global || $e, su = T(!1);
13304
+ }, { t: hq } = $e.global || $e, ru = T(!1);
13301
13305
  function aK() {
13302
- const { notification: i } = $c(), t = i.enabled && i.webSocketUrl.length > 0, { open: e, ws: a } = sp(i.webSocketUrl, {
13306
+ const { notification: i } = Pc(), t = i.enabled && i.webSocketUrl.length > 0, { open: e, ws: a } = rp(i.webSocketUrl, {
13303
13307
  immediate: !1,
13304
13308
  autoReconnect: {
13305
13309
  retries: 10,
@@ -13311,9 +13315,9 @@ function aK() {
13311
13315
  });
13312
13316
  return {
13313
13317
  openConnection: () => {
13314
- if (console.log("openConnection", t), su.value = !0, !t)
13318
+ if (console.log("openConnection", t), ru.value = !0, !t)
13315
13319
  return;
13316
- const r = Cf();
13320
+ const r = xf();
13317
13321
  e(), a.value && (a.value.onopen = function(n) {
13318
13322
  console.log("ws dam notification-server open", n);
13319
13323
  }, a.value.onerror = function(n) {
@@ -13326,11 +13330,11 @@ function aK() {
13326
13330
  console.log(l.eventName, o), r.emit({ name: l.eventName, data: o });
13327
13331
  });
13328
13332
  },
13329
- damNotificationsInitialized: su
13333
+ damNotificationsInitialized: ru
13330
13334
  };
13331
13335
  }
13332
13336
  function Vq() {
13333
- const i = Cf();
13337
+ const i = xf();
13334
13338
  return {
13335
13339
  addDamNotificationListener: (e) => i.on(e)
13336
13340
  };
@@ -13351,7 +13355,7 @@ function Uo() {
13351
13355
  }
13352
13356
  };
13353
13357
  }
13354
- function xf(i, t, e, a = "id") {
13358
+ function wf(i, t, e, a = "id") {
13355
13359
  const s = T(/* @__PURE__ */ new Map()), r = T(/* @__PURE__ */ new Set()), n = (...v) => {
13356
13360
  const b = /* @__PURE__ */ new Set();
13357
13361
  for (let X = 0; X < v.length; X++) {
@@ -13388,7 +13392,7 @@ function xf(i, t, e, a = "id") {
13388
13392
  }
13389
13393
  return [];
13390
13394
  }
13391
- const f = rp(
13395
+ const f = np(
13392
13396
  async () => await c(),
13393
13397
  1500,
13394
13398
  { maxWait: 5e3 }
@@ -13424,16 +13428,16 @@ const gq = (i, t) => {
13424
13428
  }).catch((u) => na(u) ? d(new zi(u)) : Ui(u) ? d(new ji(u, s, r, u)) : la(u) ? d(new Hi(u, u)) : d(new It(u)));
13425
13429
  }), Hn = (i, t = {}, e, a = {}, s, r, n = {}) => new Promise((l, o) => {
13426
13430
  i().post(Ca(e, a), JSON.stringify(t), n).then((d) => xa(d.status) ? d.data ? l(d.data) : d.status === ra ? l(null) : o(new It()) : o(new oa(d.status))).catch((d) => na(d) ? o(new zi(d)) : Ui(d) ? o(new ji(d, s, r, d)) : la(d) ? o(new Hi(d, d)) : o(new It(d)));
13427
- }), wf = "/adm/v1/keyword", _f = wf + "/ext-system/:extSystemId", Is = "keyword", kf = (i, t, e) => ed(
13431
+ }), _f = "/adm/v1/keyword", kf = _f + "/ext-system/:extSystemId", Is = "keyword", If = (i, t, e) => ed(
13428
13432
  i,
13429
13433
  e,
13430
- _f + "/search",
13434
+ kf + "/search",
13431
13435
  { extSystemId: t },
13432
13436
  ht,
13433
13437
  Is,
13434
13438
  {},
13435
13439
  !0
13436
- ), ru = (i, t, e, a) => Vr(i, _f, { extSystemId: t }, e, a, ht, Is), vq = (i, t) => Hn(i, t, wf, {}, ht, Is), Fq = T(0);
13440
+ ), nu = (i, t, e, a) => Vr(i, kf, { extSystemId: t }, e, a, ht, Is), vq = (i, t) => Hn(i, t, _f, {}, ht, Is), Fq = T(0);
13437
13441
  function Wn() {
13438
13442
  return {
13439
13443
  cachedExtSystemId: Fq
@@ -13442,9 +13446,9 @@ function Wn() {
13442
13446
  const qq = (i) => ({
13443
13447
  id: i.id,
13444
13448
  name: i.name
13445
- }), Yq = (i) => ({ id: i, name: "" }), { cache: Xq, toFetch: yq, fetch: Aq, add: bq, addManual: Cq, addManualMinimal: xq, has: wq, get: _q, isLoaded: kq } = xf(qq, Yq, (i) => {
13449
+ }), Yq = (i) => ({ id: i, name: "" }), { cache: Xq, toFetch: yq, fetch: Aq, add: bq, addManual: Cq, addManualMinimal: xq, has: wq, get: _q, isLoaded: kq } = wf(qq, Yq, (i) => {
13446
13450
  const { cachedExtSystemId: t } = Wn(), { damClient: e } = yt();
13447
- return kf(e, t.value, i);
13451
+ return If(e, t.value, i);
13448
13452
  }), Gn = () => ({
13449
13453
  addManualToCachedKeywords: Cq,
13450
13454
  addManualMinimalToCachedKeywords: xq,
@@ -13455,10 +13459,10 @@ const qq = (i) => ({
13455
13459
  hasCachedKeyword: wq,
13456
13460
  getCachedKeyword: _q,
13457
13461
  isLoadedCachedKeyword: kq
13458
- }), If = "/adm/v1/author", Df = If + "/ext-system/:extSystemId", Jn = "author", Ds = (i, t, e) => ed(
13462
+ }), Df = "/adm/v1/author", Sf = Df + "/ext-system/:extSystemId", Jn = "author", Ds = (i, t, e) => ed(
13459
13463
  i,
13460
13464
  e,
13461
- Df + "/search",
13465
+ Sf + "/search",
13462
13466
  {
13463
13467
  extSystemId: t
13464
13468
  },
@@ -13466,9 +13470,9 @@ const qq = (i) => ({
13466
13470
  Jn,
13467
13471
  {},
13468
13472
  !0
13469
- ), nu = (i, t, e, a) => Vr(
13473
+ ), ou = (i, t, e, a) => Vr(
13470
13474
  i,
13471
- Df,
13475
+ Sf,
13472
13476
  {
13473
13477
  extSystemId: t
13474
13478
  },
@@ -13476,28 +13480,28 @@ const qq = (i) => ({
13476
13480
  a,
13477
13481
  ht,
13478
13482
  Jn
13479
- ), Iq = (i, t) => Hn(i, t, If, {}, ht, Jn), Dq = (i) => ({
13483
+ ), Iq = (i, t) => Hn(i, t, Df, {}, ht, Jn), Dq = (i) => ({
13480
13484
  id: i.id,
13481
13485
  name: i.name,
13482
13486
  identifier: i.identifier
13483
- }), Sq = (i) => ({ id: i, name: "", identifier: "" }), { cache: Kq, toFetch: Eq, fetch: Sf, add: Kf, addManual: Tq, addManualMinimal: Ef, has: Mq, get: Bq, isLoaded: Oq } = xf(Dq, Sq, (i) => {
13487
+ }), Sq = (i) => ({ id: i, name: "", identifier: "" }), { cache: Kq, toFetch: Eq, fetch: Kf, add: Ef, addManual: Tq, addManualMinimal: Tf, has: Mq, get: Bq, isLoaded: Oq } = wf(Dq, Sq, (i) => {
13484
13488
  const { cachedExtSystemId: t } = Wn(), { damClient: e } = yt();
13485
13489
  return Ds(e, t.value, i);
13486
13490
  }), qr = () => ({
13487
13491
  addManualToCachedAuthors: Tq,
13488
- addManualMinimalToCachedAuthors: Ef,
13489
- addToCachedAuthors: Kf,
13490
- fetchCachedAuthors: Sf,
13492
+ addManualMinimalToCachedAuthors: Tf,
13493
+ addToCachedAuthors: Ef,
13494
+ fetchCachedAuthors: Kf,
13491
13495
  toFetchCachedAuthors: Eq,
13492
13496
  cachedAuthors: Kq,
13493
13497
  hasCachedAuthor: Mq,
13494
13498
  getCachedAuthor: Bq,
13495
13499
  isLoadedCachedAuthor: Oq
13496
- }), Tf = () => ({
13497
- fetch: Sf,
13498
- add: Kf,
13499
- addManualMinimal: Ef
13500
- }), ou = 2, $q = 10485760, hi = pr("commonUploadQueuesStore", () => {
13500
+ }), Mf = () => ({
13501
+ fetch: Kf,
13502
+ add: Ef,
13503
+ addManualMinimal: Tf
13504
+ }), lu = 2, $q = 10485760, hi = pr("commonUploadQueuesStore", () => {
13501
13505
  const { addToCachedKeywords: i, fetchCachedKeywords: t } = Gn(), { addToCachedAuthors: e, fetchCachedAuthors: a } = qr(), s = T(/* @__PURE__ */ new Map()), { createDefault: r } = z7(), { damClient: n } = yt(), { addDamNotificationListener: l } = Vq();
13502
13506
  l((A) => {
13503
13507
  switch (A.name) {
@@ -13564,8 +13568,8 @@ const qq = (i) => ({
13564
13568
  }
13565
13569
  function g(A) {
13566
13570
  const K = p(A, Ge.Waiting);
13567
- if (!(K.length === 0 || p(A, Ge.Uploading).length === ou))
13568
- for (let G = 0; G < ou; G++)
13571
+ if (!(K.length === 0 || p(A, Ge.Uploading).length === lu))
13572
+ for (let G = 0; G < lu; G++)
13569
13573
  K[G] && q(K[G], A);
13570
13574
  }
13571
13575
  async function q(A, K) {
@@ -13641,7 +13645,7 @@ const qq = (i) => ({
13641
13645
  }
13642
13646
  async function E(A, K, M) {
13643
13647
  const G = s.value.get(A);
13644
- !G || G.items.length === 0 || (K.status = Ge.Stop, K.latestChunkCancelToken && au(K.latestChunkCancelToken), C(A, M), g(A));
13648
+ !G || G.items.length === 0 || (K.status = Ge.Stop, K.latestChunkCancelToken && su(K.latestChunkCancelToken), C(A, M), g(A));
13645
13649
  }
13646
13650
  async function L(A) {
13647
13651
  const { updateNewNames: K, getAuthorConflicts: M } = Uo();
@@ -13671,7 +13675,7 @@ const qq = (i) => ({
13671
13675
  K.items.forEach((G) => {
13672
13676
  G.status = Ge.Stop;
13673
13677
  }), M.length > 0 && M.forEach((G) => {
13674
- G.latestChunkCancelToken && au(G.latestChunkCancelToken);
13678
+ G.latestChunkCancelToken && su(G.latestChunkCancelToken);
13675
13679
  }), _(A), z(A);
13676
13680
  }
13677
13681
  function z(A) {
@@ -13734,7 +13738,7 @@ const qq = (i) => ({
13734
13738
  l.value !== !0 && (l.value = !0, (p = r.value) == null || p.click(), setTimeout(() => {
13735
13739
  l.value = !1;
13736
13740
  }, Rq));
13737
- }, { checkFormatsAndSizes: d } = qf(a.accept, a.maxSizes), u = (p) => {
13741
+ }, { checkFormatsAndSizes: d } = Yf(a.accept, a.maxSizes), u = (p) => {
13738
13742
  if (!a.multiple && p.length > 0) {
13739
13743
  const q = d([p[0]]);
13740
13744
  s("filesInput", q);
@@ -13789,11 +13793,11 @@ const qq = (i) => ({
13789
13793
  }
13790
13794
  }), Zn = Symbol.for(
13791
13795
  "anzu:ImageWidgetExtSystemConfigs"
13792
- ), Mf = (i, t = {}, e, a = {}, s, r, n = {}) => new Promise((l, o) => {
13796
+ ), Bf = (i, t = {}, e, a = {}, s, r, n = {}) => new Promise((l, o) => {
13793
13797
  i().put(Ca(e, a), JSON.stringify(t), n).then((d) => xa(d.status) ? d.data ? l(d.data) : d.status === ra ? l(null) : o(new It()) : o(new oa(d.status))).catch((d) => na(d) ? o(new zi(d)) : Ui(d) ? o(new ji(d, s, r, d)) : la(d) ? o(new Hi(d, d)) : o(new It(d)));
13794
- }), Bf = (i, t, e = {}, a, s, r = {}) => new Promise((n, l) => {
13798
+ }), Of = (i, t, e = {}, a, s, r = {}) => new Promise((n, l) => {
13795
13799
  i().delete(Ca(t, e), r).then((o) => xa(o.status) ? o.data ? n(o.data) : o.status === ra ? n(null) : l(new It()) : l(new oa(o.status))).catch((o) => na(o) ? l(new zi(o)) : Ui(o) ? l(new ji(o, a, s, o)) : la(o) ? l(new Hi(o, o)) : l(new It(o)));
13796
- }), Ss = "/adm/v1/image", Yr = "image", Xr = "cms", jo = 20, Of = (i, t) => ed(i, t, Ss, {}, Xr, Yr), $f = (i, t) => pi(i, Ss + "/:id", { id: t }, Xr, Yr), Nq = (i, t) => Hn(i, t, Ss, {}, Xr, Yr), Lq = (i, t, e) => Mf(i, e, Ss + "/:id", { id: t }, Xr, Yr), Pf = (i, t) => Bf(i, Ss + "/:id", { id: t }, Xr, Yr), zq = (i, t) => new Promise((e, a) => {
13800
+ }), Ss = "/adm/v1/image", Yr = "image", Xr = "cms", jo = 20, $f = (i, t) => ed(i, t, Ss, {}, Xr, Yr), Pf = (i, t) => pi(i, Ss + "/:id", { id: t }, Xr, Yr), Nq = (i, t) => Hn(i, t, Ss, {}, Xr, Yr), Lq = (i, t, e) => Bf(i, e, Ss + "/:id", { id: t }, Xr, Yr), Rf = (i, t) => Of(i, Ss + "/:id", { id: t }, Xr, Yr), zq = (i, t) => new Promise((e, a) => {
13797
13801
  Uq(i, t).then((s) => {
13798
13802
  if (t.length === 0)
13799
13803
  return e([]);
@@ -13833,7 +13837,7 @@ const jq = {
13833
13837
  showSource: { type: Boolean, default: !1 }
13834
13838
  },
13835
13839
  setup(i) {
13836
- const t = i, { showErrorsDefault: e } = ot(), a = jn(t.configName), { imageClient: s } = a, { widgetImageToDamImageUrl: r } = Yf(a), n = T(null), { image: l, modelValue: o } = As(t), d = T(""), { t: u } = re();
13840
+ const t = i, { showErrorsDefault: e } = ot(), a = jn(t.configName), { imageClient: s } = a, { widgetImageToDamImageUrl: r } = Xf(a), n = T(null), { image: l, modelValue: o } = As(t), d = T(""), { t: u } = re();
13837
13841
  return De(
13838
13842
  [l, o],
13839
13843
  async ([c, f]) => {
@@ -13843,7 +13847,7 @@ const jq = {
13843
13847
  }
13844
13848
  if (f) {
13845
13849
  try {
13846
- n.value = await $f(s, f);
13850
+ n.value = await Pf(s, f);
13847
13851
  } catch (F) {
13848
13852
  e(F);
13849
13853
  }
@@ -13941,7 +13945,7 @@ const jq = {
13941
13945
  reset: o
13942
13946
  };
13943
13947
  }), Zi = Symbol.for("anzu:common:asset-metadata-validation-scope"), id = Symbol.for("anzu:common:image-validation-scope"), eY = Symbol.for("anzu:common:keyword-create-validation-scope"), tY = Symbol.for("anzu:common:author-create-validation-scope"), { required: iY, maxLength: aY } = Wa();
13944
- function Rf(i, t = void 0) {
13948
+ function Nf(i, t = void 0) {
13945
13949
  const e = D(() => ({
13946
13950
  image: {
13947
13951
  texts: {
@@ -13972,7 +13976,7 @@ const sY = { key: 0 }, rY = { class: "d-flex align-center justify-center" }, nY
13972
13976
  },
13973
13977
  emits: ["editAsset", "onConfirm", "onClose"],
13974
13978
  setup(i, { expose: t, emit: e }) {
13975
- const a = e, { t: s } = re(), r = yr(), { imageDetail: n } = Nt(r), { v$: l } = Rf(n, id), { showValidationError: o } = ot(), d = () => {
13979
+ const a = e, { t: s } = re(), r = yr(), { imageDetail: n } = Nt(r), { v$: l } = Nf(n, id), { showValidationError: o } = ot(), d = () => {
13976
13980
  if (l.value.$touch(), l.value.$invalid) {
13977
13981
  o();
13978
13982
  return;
@@ -14179,7 +14183,7 @@ const Ci = pr("commonAssetDetailStore", () => {
14179
14183
  setAsset: l,
14180
14184
  reset: o
14181
14185
  };
14182
- }), uY = { class: "d-flex flex-column w-100 h-100" }, cY = /* @__PURE__ */ U("div", { class: "text-subtitle-2 d-flex" }, null, -1), fY = { class: "d-flex w-100 h-100 justify-center align-center" }, Nf = /* @__PURE__ */ Q({
14186
+ }), uY = { class: "d-flex flex-column w-100 h-100" }, cY = /* @__PURE__ */ U("div", { class: "text-subtitle-2 d-flex" }, null, -1), fY = { class: "d-flex w-100 h-100 justify-center align-center" }, Lf = /* @__PURE__ */ Q({
14183
14187
  __name: "AssetDetailDialogLoader",
14184
14188
  emits: ["closeDialog"],
14185
14189
  setup(i, { emit: t }) {
@@ -14227,11 +14231,11 @@ const Ci = pr("commonAssetDetailStore", () => {
14227
14231
  _: 1
14228
14232
  }));
14229
14233
  }
14230
- }), lu = 60, du = 3600, uu = 86400;
14234
+ }), du = 60, uu = 3600, cu = 86400;
14231
14235
  function mY() {
14232
14236
  const { t: i } = re(), t = (s, r) => {
14233
14237
  const n = r ? "common.time.short." : "common.time.long.";
14234
- return s > uu ? i(n + "remainingDays", { value: Math.floor(s / uu) }) : s > du ? i(n + "remainingHours", { value: Math.floor(s / du) }) : s > lu ? i(n + "remainingMinutes", { value: Math.floor(s / lu) }) : i(n + "remainingSeconds", { value: s });
14238
+ return s > cu ? i(n + "remainingDays", { value: Math.floor(s / cu) }) : s > uu ? i(n + "remainingHours", { value: Math.floor(s / uu) }) : s > du ? i(n + "remainingMinutes", { value: Math.floor(s / du) }) : i(n + "remainingSeconds", { value: s });
14235
14239
  };
14236
14240
  return {
14237
14241
  remainingTimeShort: (s) => t(s, !0),
@@ -14269,7 +14273,7 @@ const pY = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
14269
14273
  height: 4320,
14270
14274
  svgSrc: VY
14271
14275
  }
14272
- ], XY = FY, yY = YY, AY = qY, cu = 600, bY = ["src", "title"], Ho = /* @__PURE__ */ Q({
14276
+ ], XY = FY, yY = YY, AY = qY, fu = 600, bY = ["src", "title"], Ho = /* @__PURE__ */ Q({
14273
14277
  __name: "AssetImageMetaIcons",
14274
14278
  props: {
14275
14279
  assetType: {},
@@ -14279,7 +14283,7 @@ const pY = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
14279
14283
  setup(i) {
14280
14284
  const t = i, { t: e } = re(), a = (n, l) => {
14281
14285
  if (!(t.assetFileProperties.width === 0 || t.assetFileProperties.height === 0)) {
14282
- if (t.assetFileProperties.width < cu || t.assetFileProperties.height < cu) {
14286
+ if (t.assetFileProperties.width < fu || t.assetFileProperties.height < fu) {
14283
14287
  n.push(AY), l.push(e("common.damImage.asset.metaIcons.low"));
14284
14288
  return;
14285
14289
  }
@@ -14674,7 +14678,7 @@ const sd = /* @__PURE__ */ Q({
14674
14678
  ], 64));
14675
14679
  }
14676
14680
  }), Lr = "teleport-target-", Wo = T(/* @__PURE__ */ new Set());
14677
- function Lf(i) {
14681
+ function zf(i) {
14678
14682
  const t = () => {
14679
14683
  Wo.value.add(Lr + i);
14680
14684
  }, e = () => {
@@ -14693,8 +14697,8 @@ const GY = { class: "w-100 text-right" }, rd = /* @__PURE__ */ Q({
14693
14697
  queueKey: {}
14694
14698
  },
14695
14699
  setup(i) {
14696
- const t = i, { canTeleport: e, divClassName: a } = Lf(t.queueKey);
14697
- return (s, r) => V(e) ? (Y(), O(Um, {
14700
+ const t = i, { canTeleport: e, divClassName: a } = zf(t.queueKey);
14701
+ return (s, r) => V(e) ? (Y(), O(jm, {
14698
14702
  key: 0,
14699
14703
  to: "." + V(a)
14700
14704
  }, [
@@ -14760,7 +14764,7 @@ const GY = { class: "w-100 text-right" }, rd = /* @__PURE__ */ Q({
14760
14764
  })
14761
14765
  ], 4));
14762
14766
  }
14763
- }), zf = /* @__PURE__ */ Q({
14767
+ }), Uf = /* @__PURE__ */ Q({
14764
14768
  __name: "AssetMetadataImageAttributes",
14765
14769
  props: {
14766
14770
  file: {}
@@ -14848,7 +14852,7 @@ const GY = { class: "w-100 text-right" }, rd = /* @__PURE__ */ Q({
14848
14852
  }),
14849
14853
  m(fe, { cols: "9" }, {
14850
14854
  default: h(() => [
14851
- m(bp, {
14855
+ m(Cp, {
14852
14856
  value: e.file.imageAttributes.animated
14853
14857
  }, null, 8, ["value"])
14854
14858
  ]),
@@ -14859,7 +14863,7 @@ const GY = { class: "w-100 text-right" }, rd = /* @__PURE__ */ Q({
14859
14863
  })
14860
14864
  ], 64));
14861
14865
  }
14862
- }), ZY = { key: 1 }, fu = /* @__PURE__ */ Q({
14866
+ }), ZY = { key: 1 }, mu = /* @__PURE__ */ Q({
14863
14867
  __name: "AuthorRemoteAutocompleteCachedAuthorChip",
14864
14868
  props: {
14865
14869
  id: {},
@@ -14974,22 +14978,22 @@ const GY = { class: "w-100 text-right" }, rd = /* @__PURE__ */ Q({
14974
14978
  }), n = (c) => c.map((f) => r(f)), l = (c) => c.map((f) => s(f));
14975
14979
  return {
14976
14980
  mapToValueObject: r,
14977
- fetchItems: async (c, f) => n(await nu(t, i, c, f)),
14981
+ fetchItems: async (c, f) => n(await ou(t, i, c, f)),
14978
14982
  fetchItemsByIds: async (c) => n(await Ds(t, i, c)),
14979
- fetchItemsMinimal: async (c, f) => l(await nu(t, i, c, f))
14983
+ fetchItemsMinimal: async (c, f) => l(await ou(t, i, c, f))
14980
14984
  };
14981
- }, mu = Rl(ht, "author");
14985
+ }, pu = Rl(ht, "author");
14982
14986
  function tX() {
14983
14987
  return ta({
14984
14988
  _elastic: {
14985
- ...mu({ exclude: !0 })
14989
+ ...pu({ exclude: !0 })
14986
14990
  },
14987
14991
  text: {
14988
- ...mu({ name: "text" })
14992
+ ...pu({ name: "text" })
14989
14993
  }
14990
14994
  });
14991
14995
  }
14992
- var Uf = /* @__PURE__ */ ((i) => (i.None = "none", i.Internal = "internal", i.External = "external", i.Agency = "agency", i.Default = "none", i))(Uf || {});
14996
+ var jf = /* @__PURE__ */ ((i) => (i.None = "none", i.Internal = "internal", i.External = "external", i.Agency = "agency", i.Default = "none", i))(jf || {});
14993
14997
  function iX() {
14994
14998
  const { t: i } = re(), t = T([
14995
14999
  {
@@ -15014,16 +15018,16 @@ function iX() {
15014
15018
  getAuthorTypeOption: (a) => t.value.find((s) => s.value === a)
15015
15019
  };
15016
15020
  }
15017
- const { required: aX, minLength: pu } = Wa();
15021
+ const { required: aX, minLength: hu } = Wa();
15018
15022
  function sX(i, t = void 0) {
15019
15023
  const e = D(() => ({
15020
15024
  author: {
15021
15025
  name: {
15022
15026
  required: aX,
15023
- minLength: pu(3)
15027
+ minLength: hu(3)
15024
15028
  },
15025
15029
  identifier: {
15026
- minLength: pu(3)
15030
+ minLength: hu(3)
15027
15031
  }
15028
15032
  }
15029
15033
  }));
@@ -15041,7 +15045,7 @@ function rX() {
15041
15045
  flags: {
15042
15046
  reviewed: e ?? !1
15043
15047
  },
15044
- type: Uf.Default,
15048
+ type: jf.Default,
15045
15049
  createdAt: ni(),
15046
15050
  modifiedAt: ni(),
15047
15051
  createdBy: 0,
@@ -15280,10 +15284,10 @@ const nX = /* @__PURE__ */ Q({
15280
15284
  return Tt(() => {
15281
15285
  }), (v, b) => (Y(), R(_e, null, [
15282
15286
  U("div", oX, [
15283
- m(Oc, {
15287
+ m($c, {
15284
15288
  modelValue: s.value,
15285
15289
  "onUpdate:modelValue": b[1] || (b[1] = (X) => s.value = X),
15286
- "use-cached": V(Tf),
15290
+ "use-cached": V(Mf),
15287
15291
  v: V(d),
15288
15292
  required: n.value,
15289
15293
  label: v.label,
@@ -15304,7 +15308,7 @@ const nX = /* @__PURE__ */ Q({
15304
15308
  }, ["prevent"]))
15305
15309
  }), Xi({
15306
15310
  title: h(() => [
15307
- (Y(), O(fu, {
15311
+ (Y(), O(mu, {
15308
15312
  id: k.value,
15309
15313
  key: k.value,
15310
15314
  "queue-id": v.queueId,
@@ -15327,7 +15331,7 @@ const nX = /* @__PURE__ */ Q({
15327
15331
  ]), 1040)
15328
15332
  ]),
15329
15333
  chip: h(({ item: X }) => [
15330
- (Y(), O(fu, {
15334
+ (Y(), O(mu, {
15331
15335
  id: X.value,
15332
15336
  key: X.value,
15333
15337
  "queue-id": v.queueId,
@@ -15377,9 +15381,9 @@ const nX = /* @__PURE__ */ Q({
15377
15381
  }), n = (c) => c.map((f) => s(f)), l = (c) => c.map((f) => r(f));
15378
15382
  return {
15379
15383
  mapToValueObject: s,
15380
- fetchItems: async (c, f) => n(await ru(t, i, c, f)),
15381
- fetchItemsByIds: async (c) => n(await kf(t, i, c)),
15382
- fetchItemsMinimal: async (c, f) => l(await ru(t, i, c, f))
15384
+ fetchItems: async (c, f) => n(await nu(t, i, c, f)),
15385
+ fetchItemsByIds: async (c) => n(await If(t, i, c)),
15386
+ fetchItemsMinimal: async (c, f) => l(await nu(t, i, c, f))
15383
15387
  };
15384
15388
  }, ds = Rl(ht, Is);
15385
15389
  ta({
@@ -15406,7 +15410,7 @@ function cX() {
15406
15410
  }
15407
15411
  });
15408
15412
  }
15409
- const fX = { key: 1 }, hu = /* @__PURE__ */ Q({
15413
+ const fX = { key: 1 }, Vu = /* @__PURE__ */ Q({
15410
15414
  __name: "KeywordRemoteAutocompleteCachedKeywordChip",
15411
15415
  props: {
15412
15416
  id: {},
@@ -15692,10 +15696,10 @@ const gX = /* @__PURE__ */ Q({
15692
15696
  s.value = q.id;
15693
15697
  }, g = (q) => At(s.value) ? s.value.includes(q) : s.value ? s.value === q : !1;
15694
15698
  return (q, x) => (Y(), R("div", vX, [
15695
- m(Oc, {
15699
+ m($c, {
15696
15700
  modelValue: s.value,
15697
15701
  "onUpdate:modelValue": x[1] || (x[1] = (v) => s.value = v),
15698
- "use-cached": V(Tf),
15702
+ "use-cached": V(Mf),
15699
15703
  v: V(o),
15700
15704
  required: r.value,
15701
15705
  label: q.label,
@@ -15716,7 +15720,7 @@ const gX = /* @__PURE__ */ Q({
15716
15720
  }, ["prevent"]))
15717
15721
  }), Xi({
15718
15722
  title: h(() => [
15719
- (Y(), O(hu, {
15723
+ (Y(), O(Vu, {
15720
15724
  id: b.value,
15721
15725
  key: b.value,
15722
15726
  "queue-id": q.queueId,
@@ -15739,7 +15743,7 @@ const gX = /* @__PURE__ */ Q({
15739
15743
  ]), 1040)
15740
15744
  ]),
15741
15745
  chip: h(({ item: v }) => [
15742
- (Y(), O(hu, {
15746
+ (Y(), O(Vu, {
15743
15747
  id: v.value,
15744
15748
  key: v.value,
15745
15749
  "queue-id": q.queueId,
@@ -16031,7 +16035,7 @@ const gX = /* @__PURE__ */ Q({
16031
16035
  ]),
16032
16036
  _: 1
16033
16037
  }),
16034
- d.value && V(Fr)(u.value) ? (Y(), O(zf, {
16038
+ d.value && V(Fr)(u.value) ? (Y(), O(Uf, {
16035
16039
  key: 0,
16036
16040
  file: u.value
16037
16041
  }, null, 8, ["file"])) : j("", !0)
@@ -16098,7 +16102,7 @@ const gX = /* @__PURE__ */ Q({
16098
16102
  ], 64);
16099
16103
  };
16100
16104
  }
16101
- }), jf = pr("damImageRoiStore", {
16105
+ }), Hf = pr("damImageRoiStore", {
16102
16106
  state: () => ({
16103
16107
  imageFile: null,
16104
16108
  loader: !1,
@@ -16184,20 +16188,20 @@ const gX = /* @__PURE__ */ Q({
16184
16188
  ]);
16185
16189
  };
16186
16190
  }
16187
- }), Hf = "/adm/v1/roi", CX = "/adm/v1/image/:id/roi", dd = "asset", xX = (i, t) => pi(i, Hf + "/:id", { id: t }, "coreDam", dd), wX = (i, t, e) => Mf(i, e, Hf + "/:id", { id: t }, "coreDam", dd), _X = (i, t, e, a) => Vr(i, CX, { id: t }, e, a, "coreDam", dd), kX = { class: "px-3" }, IX = { class: "v-expansion-panel-title px-0" }, DX = { class: "text-caption" }, SX = {
16191
+ }), Wf = "/adm/v1/roi", CX = "/adm/v1/image/:id/roi", dd = "asset", xX = (i, t) => pi(i, Wf + "/:id", { id: t }, "coreDam", dd), wX = (i, t, e) => Bf(i, e, Wf + "/:id", { id: t }, "coreDam", dd), _X = (i, t, e, a) => Vr(i, CX, { id: t }, e, a, "coreDam", dd), kX = { class: "px-3" }, IX = { class: "v-expansion-panel-title px-0" }, DX = { class: "text-caption" }, SX = {
16188
16192
  key: 1,
16189
16193
  class: "w-100 h-100 d-flex align-center justify-center"
16190
16194
  }, KX = {
16191
16195
  key: 2,
16192
16196
  class: "crop-preview pa-2"
16193
- }, EX = { class: "text-subtitle-2" }, TX = ["src", "width", "height"], Wf = /* @__PURE__ */ Q({
16197
+ }, EX = { class: "text-subtitle-2" }, TX = ["src", "width", "height"], Gf = /* @__PURE__ */ Q({
16194
16198
  __name: "AssetDetailSidebarROI",
16195
16199
  props: {
16196
16200
  isActive: { type: Boolean },
16197
16201
  queueKey: {}
16198
16202
  },
16199
16203
  setup(i) {
16200
- const { t } = re(), e = jf(), a = Ci(), s = Ga(), { damClient: r } = yt(), n = async () => {
16204
+ const { t } = re(), e = Hf(), a = Ci(), s = Ga(), { damClient: r } = yt(), n = async () => {
16201
16205
  if (e.imageFile) {
16202
16206
  e.showLoader();
16203
16207
  const o = await _X(r, e.imageFile.id, s, {});
@@ -16268,13 +16272,13 @@ const gX = /* @__PURE__ */ Q({
16268
16272
  ], 64);
16269
16273
  };
16270
16274
  }
16271
- }), Gf = /* @__PURE__ */ Q({
16275
+ }), Jf = /* @__PURE__ */ Q({
16272
16276
  __name: "AssetDetailSidebarActionsTeleportTarget",
16273
16277
  props: {
16274
16278
  queueKey: {}
16275
16279
  },
16276
16280
  setup(i) {
16277
- const t = i, { mounted: e, unMounted: a, divClassName: s } = Lf(t.queueKey);
16281
+ const t = i, { mounted: e, unMounted: a, divClassName: s } = zf(t.queueKey);
16278
16282
  return Tt(async () => {
16279
16283
  await qi(), e();
16280
16284
  }), za(() => {
@@ -16353,14 +16357,14 @@ const gX = /* @__PURE__ */ Q({
16353
16357
  }, null, 8, ["queue-key", "ext-system", "is-active", "asset-type"])
16354
16358
  ])) : j("", !0),
16355
16359
  s.isImage && V(a) === V(Et).ROI ? (Y(), R("div", PX, [
16356
- m(Wf, {
16360
+ m(Gf, {
16357
16361
  "is-active": V(a) === V(Et).ROI,
16358
16362
  "queue-key": s.queueKey
16359
16363
  }, null, 8, ["is-active", "queue-key"])
16360
16364
  ])) : j("", !0)
16361
16365
  ]),
16362
16366
  U("div", RX, [
16363
- m(Gf, { "queue-key": s.queueKey }, null, 8, ["queue-key"])
16367
+ m(Jf, { "queue-key": s.queueKey }, null, 8, ["queue-key"])
16364
16368
  ])
16365
16369
  ])
16366
16370
  ]));
@@ -16398,7 +16402,7 @@ const gX = /* @__PURE__ */ Q({
16398
16402
  *
16399
16403
  * Date: 2023-09-17T03:44:19.860Z
16400
16404
  */
16401
- function Vu(i, t) {
16405
+ function gu(i, t) {
16402
16406
  var e = Object.keys(i);
16403
16407
  if (Object.getOwnPropertySymbols) {
16404
16408
  var a = Object.getOwnPropertySymbols(i);
@@ -16408,12 +16412,12 @@ function Vu(i, t) {
16408
16412
  }
16409
16413
  return e;
16410
16414
  }
16411
- function Jf(i) {
16415
+ function Zf(i) {
16412
16416
  for (var t = 1; t < arguments.length; t++) {
16413
16417
  var e = arguments[t] != null ? arguments[t] : {};
16414
- t % 2 ? Vu(Object(e), !0).forEach(function(a) {
16418
+ t % 2 ? gu(Object(e), !0).forEach(function(a) {
16415
16419
  HX(i, a, e[a]);
16416
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(e)) : Vu(Object(e)).forEach(function(a) {
16420
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(e)) : gu(Object(e)).forEach(function(a) {
16417
16421
  Object.defineProperty(i, a, Object.getOwnPropertyDescriptor(e, a));
16418
16422
  });
16419
16423
  }
@@ -16431,26 +16435,26 @@ function UX(i, t) {
16431
16435
  if (!(i instanceof t))
16432
16436
  throw new TypeError("Cannot call a class as a function");
16433
16437
  }
16434
- function gu(i, t) {
16438
+ function vu(i, t) {
16435
16439
  for (var e = 0; e < t.length; e++) {
16436
16440
  var a = t[e];
16437
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(i, Qf(a.key), a);
16441
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(i, em(a.key), a);
16438
16442
  }
16439
16443
  }
16440
16444
  function jX(i, t, e) {
16441
- return t && gu(i.prototype, t), e && gu(i, e), Object.defineProperty(i, "prototype", {
16445
+ return t && vu(i.prototype, t), e && vu(i, e), Object.defineProperty(i, "prototype", {
16442
16446
  writable: !1
16443
16447
  }), i;
16444
16448
  }
16445
16449
  function HX(i, t, e) {
16446
- return t = Qf(t), t in i ? Object.defineProperty(i, t, {
16450
+ return t = em(t), t in i ? Object.defineProperty(i, t, {
16447
16451
  value: e,
16448
16452
  enumerable: !0,
16449
16453
  configurable: !0,
16450
16454
  writable: !0
16451
16455
  }) : i[t] = e, i;
16452
16456
  }
16453
- function Zf(i) {
16457
+ function Qf(i) {
16454
16458
  return WX(i) || GX(i) || JX(i) || ZX();
16455
16459
  }
16456
16460
  function WX(i) {
@@ -16494,11 +16498,11 @@ function QX(i, t) {
16494
16498
  }
16495
16499
  return (t === "string" ? String : Number)(i);
16496
16500
  }
16497
- function Qf(i) {
16501
+ function em(i) {
16498
16502
  var t = QX(i, "string");
16499
16503
  return typeof t == "symbol" ? t : String(t);
16500
16504
  }
16501
- var to = typeof window < "u" && typeof window.document < "u", Oi = to ? window : {}, ud = to && Oi.document.documentElement ? "ontouchstart" in Oi.document.documentElement : !1, cd = to ? "PointerEvent" in Oi : !1, rt = "cropper", fd = "all", em = "crop", tm = "move", im = "zoom", Da = "e", Sa = "w", ts = "s", ma = "n", Os = "ne", $s = "nw", Ps = "se", Rs = "sw", ql = "".concat(rt, "-crop"), vu = "".concat(rt, "-disabled"), jt = "".concat(rt, "-hidden"), Fu = "".concat(rt, "-hide"), ey = "".concat(rt, "-invisible"), xn = "".concat(rt, "-modal"), Yl = "".concat(rt, "-move"), ur = "".concat(rt, "Action"), Ur = "".concat(rt, "Preview"), md = "crop", am = "move", sm = "none", Xl = "crop", yl = "cropend", Al = "cropmove", bl = "cropstart", qu = "dblclick", ty = ud ? "touchstart" : "mousedown", iy = ud ? "touchmove" : "mousemove", ay = ud ? "touchend touchcancel" : "mouseup", Yu = cd ? "pointerdown" : ty, Xu = cd ? "pointermove" : iy, yu = cd ? "pointerup pointercancel" : ay, Au = "ready", bu = "resize", Cu = "wheel", Cl = "zoom", xu = "image/jpeg", sy = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, ry = /^data:/, ny = /^data:image\/jpeg;base64,/, oy = /^img|canvas$/i, rm = 200, nm = 100, wu = {
16505
+ var to = typeof window < "u" && typeof window.document < "u", Oi = to ? window : {}, ud = to && Oi.document.documentElement ? "ontouchstart" in Oi.document.documentElement : !1, cd = to ? "PointerEvent" in Oi : !1, rt = "cropper", fd = "all", tm = "crop", im = "move", am = "zoom", Da = "e", Sa = "w", ts = "s", ma = "n", Os = "ne", $s = "nw", Ps = "se", Rs = "sw", ql = "".concat(rt, "-crop"), Fu = "".concat(rt, "-disabled"), jt = "".concat(rt, "-hidden"), qu = "".concat(rt, "-hide"), ey = "".concat(rt, "-invisible"), xn = "".concat(rt, "-modal"), Yl = "".concat(rt, "-move"), ur = "".concat(rt, "Action"), Ur = "".concat(rt, "Preview"), md = "crop", sm = "move", rm = "none", Xl = "crop", yl = "cropend", Al = "cropmove", bl = "cropstart", Yu = "dblclick", ty = ud ? "touchstart" : "mousedown", iy = ud ? "touchmove" : "mousemove", ay = ud ? "touchend touchcancel" : "mouseup", Xu = cd ? "pointerdown" : ty, yu = cd ? "pointermove" : iy, Au = cd ? "pointerup pointercancel" : ay, bu = "ready", Cu = "resize", xu = "wheel", Cl = "zoom", wu = "image/jpeg", sy = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/, ry = /^data:/, ny = /^data:image\/jpeg;base64,/, oy = /^img|canvas$/i, nm = 200, om = 100, _u = {
16502
16506
  // Define the view mode of the cropper
16503
16507
  viewMode: 0,
16504
16508
  // 0, 1, 2, 3
@@ -16560,8 +16564,8 @@ var to = typeof window < "u" && typeof window.document < "u", Oi = to ? window :
16560
16564
  minCanvasHeight: 0,
16561
16565
  minCropBoxWidth: 0,
16562
16566
  minCropBoxHeight: 0,
16563
- minContainerWidth: rm,
16564
- minContainerHeight: nm,
16567
+ minContainerWidth: nm,
16568
+ minContainerHeight: om,
16565
16569
  // Shortcuts of events
16566
16570
  ready: null,
16567
16571
  cropstart: null,
@@ -16573,7 +16577,7 @@ var to = typeof window < "u" && typeof window.document < "u", Oi = to ? window :
16573
16577
  function Re(i) {
16574
16578
  return typeof i == "number" && !dy(i);
16575
16579
  }
16576
- var _u = function(t) {
16580
+ var ku = function(t) {
16577
16581
  return t > 0 && t < 1 / 0;
16578
16582
  };
16579
16583
  function Go(i) {
@@ -16597,11 +16601,11 @@ function zt(i) {
16597
16601
  return typeof i == "function";
16598
16602
  }
16599
16603
  var cy = Array.prototype.slice;
16600
- function om(i) {
16604
+ function lm(i) {
16601
16605
  return Array.from ? Array.from(i) : cy.call(i);
16602
16606
  }
16603
16607
  function qt(i, t) {
16604
- return i && zt(t) && (Array.isArray(i) || Re(i.length) ? om(i).forEach(function(e, a) {
16608
+ return i && zt(t) && (Array.isArray(i) || Re(i.length) ? lm(i).forEach(function(e, a) {
16605
16609
  t.call(i, e, a, i);
16606
16610
  }) : Na(i) && Object.keys(i).forEach(function(e) {
16607
16611
  t.call(i, i[e], e, i);
@@ -16698,7 +16702,7 @@ function Vy(i, t) {
16698
16702
  else
16699
16703
  i.removeAttribute("data-".concat(pd(t)));
16700
16704
  }
16701
- var lm = /\s\s*/, dm = function() {
16705
+ var dm = /\s\s*/, um = function() {
16702
16706
  var i = !1;
16703
16707
  if (to) {
16704
16708
  var t = !1, e = function() {
@@ -16721,8 +16725,8 @@ var lm = /\s\s*/, dm = function() {
16721
16725
  }();
16722
16726
  function vi(i, t, e) {
16723
16727
  var a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = e;
16724
- t.trim().split(lm).forEach(function(r) {
16725
- if (!dm) {
16728
+ t.trim().split(dm).forEach(function(r) {
16729
+ if (!um) {
16726
16730
  var n = i.listeners;
16727
16731
  n && n[r] && n[r][e] && (s = n[r][e], delete n[r][e], Object.keys(n[r]).length === 0 && delete n[r], Object.keys(n).length === 0 && delete i.listeners);
16728
16732
  }
@@ -16731,8 +16735,8 @@ function vi(i, t, e) {
16731
16735
  }
16732
16736
  function li(i, t, e) {
16733
16737
  var a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = e;
16734
- t.trim().split(lm).forEach(function(r) {
16735
- if (a.once && !dm) {
16738
+ t.trim().split(dm).forEach(function(r) {
16739
+ if (a.once && !um) {
16736
16740
  var n = i.listeners, l = n === void 0 ? {} : n;
16737
16741
  s = function() {
16738
16742
  delete l[r][e], i.removeEventListener(r, s, a);
@@ -16752,7 +16756,7 @@ function Fs(i, t, e) {
16752
16756
  cancelable: !0
16753
16757
  }) : (a = document.createEvent("CustomEvent"), a.initCustomEvent(t, !0, !0, e)), i.dispatchEvent(a);
16754
16758
  }
16755
- function um(i) {
16759
+ function cm(i) {
16756
16760
  var t = i.getBoundingClientRect();
16757
16761
  return {
16758
16762
  left: t.left + (window.pageXOffset - document.documentElement.clientLeft),
@@ -16760,11 +16764,11 @@ function um(i) {
16760
16764
  };
16761
16765
  }
16762
16766
  var Jo = Oi.location, gy = /^(\w+:)\/\/([^:/?#]*):?(\d*)/i;
16763
- function ku(i) {
16767
+ function Iu(i) {
16764
16768
  var t = i.match(gy);
16765
16769
  return t !== null && (t[1] !== Jo.protocol || t[2] !== Jo.hostname || t[3] !== Jo.port);
16766
16770
  }
16767
- function Iu(i) {
16771
+ function Du(i) {
16768
16772
  var t = "timestamp=".concat((/* @__PURE__ */ new Date()).getTime());
16769
16773
  return i + (i.indexOf("?") === -1 ? "?" : "&") + t;
16770
16774
  }
@@ -16779,7 +16783,7 @@ function sr(i) {
16779
16783
  };
16780
16784
  }
16781
16785
  function vy(i) {
16782
- var t = Jf({}, i), e = 0;
16786
+ var t = Zf({}, i), e = 0;
16783
16787
  return qt(i, function(a, s) {
16784
16788
  delete t[s], qt(t, function(r) {
16785
16789
  var n = Math.abs(a.startX - r.startX), l = Math.abs(a.startY - r.startY), o = Math.abs(a.endX - r.endX), d = Math.abs(a.endY - r.endY), u = Math.sqrt(n * n + l * l), c = Math.sqrt(o * o + d * d), f = (c - u) / u;
@@ -16792,7 +16796,7 @@ function jr(i, t) {
16792
16796
  endX: e,
16793
16797
  endY: a
16794
16798
  };
16795
- return t ? s : Jf({
16799
+ return t ? s : Zf({
16796
16800
  startX: e,
16797
16801
  startY: a
16798
16802
  }, s);
@@ -16808,7 +16812,7 @@ function Fy(i) {
16808
16812
  };
16809
16813
  }
16810
16814
  function Ya(i) {
16811
- var t = i.aspectRatio, e = i.height, a = i.width, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "contain", r = _u(a), n = _u(e);
16815
+ var t = i.aspectRatio, e = i.height, a = i.width, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "contain", r = ku(a), n = ku(e);
16812
16816
  if (r && n) {
16813
16817
  var l = e * t;
16814
16818
  s === "contain" && l > a || s === "cover" && l < a ? e = a / t : a = e * t;
@@ -16853,16 +16857,16 @@ function Yy(i, t, e, a) {
16853
16857
  width: $,
16854
16858
  height: B
16855
16859
  }, "cover"), Z = Math.min(H.width, Math.max(te.width, r)), se = Math.min(H.height, Math.max(te.height, n)), oe = [-Z / 2, -se / 2, Z, se];
16856
- return _.width = vs(M), _.height = vs(G), y.fillStyle = x, y.fillRect(0, 0, M, G), y.save(), y.translate(M / 2, G / 2), y.rotate(o * Math.PI / 180), y.scale(u, f), y.imageSmoothingEnabled = b, y.imageSmoothingQuality = k, y.drawImage.apply(y, [i].concat(Zf(oe.map(function(Ee) {
16860
+ return _.width = vs(M), _.height = vs(G), y.fillStyle = x, y.fillRect(0, 0, M, G), y.save(), y.translate(M / 2, G / 2), y.rotate(o * Math.PI / 180), y.scale(u, f), y.imageSmoothingEnabled = b, y.imageSmoothingQuality = k, y.drawImage.apply(y, [i].concat(Qf(oe.map(function(Ee) {
16857
16861
  return Math.floor(vs(Ee));
16858
16862
  })))), y.restore(), _;
16859
16863
  }
16860
- var cm = String.fromCharCode;
16864
+ var fm = String.fromCharCode;
16861
16865
  function Xy(i, t, e) {
16862
16866
  var a = "";
16863
16867
  e += t;
16864
16868
  for (var s = t; s < e; s += 1)
16865
- a += cm(i.getUint8(s));
16869
+ a += fm(i.getUint8(s));
16866
16870
  return a;
16867
16871
  }
16868
16872
  var yy = /^data:.*,/;
@@ -16874,7 +16878,7 @@ function Ay(i) {
16874
16878
  }
16875
16879
  function by(i, t) {
16876
16880
  for (var e = [], a = 8192, s = new Uint8Array(i); s.length > 0; )
16877
- e.push(cm.apply(null, om(s.subarray(0, a)))), s = s.subarray(a);
16881
+ e.push(fm.apply(null, lm(s.subarray(0, a)))), s = s.subarray(a);
16878
16882
  return "data:".concat(t, ";base64,").concat(btoa(e.join("")));
16879
16883
  }
16880
16884
  function Cy(i) {
@@ -16951,8 +16955,8 @@ var wy = {
16951
16955
  var t = this.element, e = this.options, a = this.container, s = this.cropper, r = Number(e.minContainerWidth), n = Number(e.minContainerHeight);
16952
16956
  xt(s, jt), Ei(t, jt);
16953
16957
  var l = {
16954
- width: Math.max(a.offsetWidth, r >= 0 ? r : rm),
16955
- height: Math.max(a.offsetHeight, n >= 0 ? n : nm)
16958
+ width: Math.max(a.offsetWidth, r >= 0 ? r : nm),
16959
+ height: Math.max(a.offsetHeight, n >= 0 ? n : om)
16956
16960
  };
16957
16961
  this.containerData = l, qa(s, {
16958
16962
  width: l.width,
@@ -17041,7 +17045,7 @@ var wy = {
17041
17045
  },
17042
17046
  renderCropBox: function() {
17043
17047
  var t = this.options, e = this.containerData, a = this.cropBoxData;
17044
- (a.width > a.maxWidth || a.width < a.minWidth) && (a.left = a.oldLeft), (a.height > a.maxHeight || a.height < a.minHeight) && (a.top = a.oldTop), a.width = Math.min(Math.max(a.width, a.minWidth), a.maxWidth), a.height = Math.min(Math.max(a.height, a.minHeight), a.maxHeight), this.limitCropBox(!1, !0), a.left = Math.min(Math.max(a.left, a.minLeft), a.maxLeft), a.top = Math.min(Math.max(a.top, a.minTop), a.maxTop), a.oldLeft = a.left, a.oldTop = a.top, t.movable && t.cropBoxMovable && cr(this.face, ur, a.width >= e.width && a.height >= e.height ? tm : fd), qa(this.cropBox, nt({
17048
+ (a.width > a.maxWidth || a.width < a.minWidth) && (a.left = a.oldLeft), (a.height > a.maxHeight || a.height < a.minHeight) && (a.top = a.oldTop), a.width = Math.min(Math.max(a.width, a.minWidth), a.maxWidth), a.height = Math.min(Math.max(a.height, a.minHeight), a.maxHeight), this.limitCropBox(!1, !0), a.left = Math.min(Math.max(a.left, a.minLeft), a.maxLeft), a.top = Math.min(Math.max(a.top, a.minTop), a.maxTop), a.oldLeft = a.left, a.oldTop = a.top, t.movable && t.cropBoxMovable && cr(this.face, ur, a.width >= e.width && a.height >= e.height ? im : fd), qa(this.cropBox, nt({
17045
17049
  width: a.width,
17046
17050
  height: a.height
17047
17051
  }, sr({
@@ -17101,17 +17105,17 @@ var wy = {
17101
17105
  }, ky = {
17102
17106
  bind: function() {
17103
17107
  var t = this.element, e = this.options, a = this.cropper;
17104
- zt(e.cropstart) && li(t, bl, e.cropstart), zt(e.cropmove) && li(t, Al, e.cropmove), zt(e.cropend) && li(t, yl, e.cropend), zt(e.crop) && li(t, Xl, e.crop), zt(e.zoom) && li(t, Cl, e.zoom), li(a, Yu, this.onCropStart = this.cropStart.bind(this)), e.zoomable && e.zoomOnWheel && li(a, Cu, this.onWheel = this.wheel.bind(this), {
17108
+ zt(e.cropstart) && li(t, bl, e.cropstart), zt(e.cropmove) && li(t, Al, e.cropmove), zt(e.cropend) && li(t, yl, e.cropend), zt(e.crop) && li(t, Xl, e.crop), zt(e.zoom) && li(t, Cl, e.zoom), li(a, Xu, this.onCropStart = this.cropStart.bind(this)), e.zoomable && e.zoomOnWheel && li(a, xu, this.onWheel = this.wheel.bind(this), {
17105
17109
  passive: !1,
17106
17110
  capture: !0
17107
- }), e.toggleDragModeOnDblclick && li(a, qu, this.onDblclick = this.dblclick.bind(this)), li(t.ownerDocument, Xu, this.onCropMove = this.cropMove.bind(this)), li(t.ownerDocument, yu, this.onCropEnd = this.cropEnd.bind(this)), e.responsive && li(window, bu, this.onResize = this.resize.bind(this));
17111
+ }), e.toggleDragModeOnDblclick && li(a, Yu, this.onDblclick = this.dblclick.bind(this)), li(t.ownerDocument, yu, this.onCropMove = this.cropMove.bind(this)), li(t.ownerDocument, Au, this.onCropEnd = this.cropEnd.bind(this)), e.responsive && li(window, Cu, this.onResize = this.resize.bind(this));
17108
17112
  },
17109
17113
  unbind: function() {
17110
17114
  var t = this.element, e = this.options, a = this.cropper;
17111
- zt(e.cropstart) && vi(t, bl, e.cropstart), zt(e.cropmove) && vi(t, Al, e.cropmove), zt(e.cropend) && vi(t, yl, e.cropend), zt(e.crop) && vi(t, Xl, e.crop), zt(e.zoom) && vi(t, Cl, e.zoom), vi(a, Yu, this.onCropStart), e.zoomable && e.zoomOnWheel && vi(a, Cu, this.onWheel, {
17115
+ zt(e.cropstart) && vi(t, bl, e.cropstart), zt(e.cropmove) && vi(t, Al, e.cropmove), zt(e.cropend) && vi(t, yl, e.cropend), zt(e.crop) && vi(t, Xl, e.crop), zt(e.zoom) && vi(t, Cl, e.zoom), vi(a, Xu, this.onCropStart), e.zoomable && e.zoomOnWheel && vi(a, xu, this.onWheel, {
17112
17116
  passive: !1,
17113
17117
  capture: !0
17114
- }), e.toggleDragModeOnDblclick && vi(a, qu, this.onDblclick), vi(t.ownerDocument, Xu, this.onCropMove), vi(t.ownerDocument, yu, this.onCropEnd), e.responsive && vi(window, bu, this.onResize);
17118
+ }), e.toggleDragModeOnDblclick && vi(a, Yu, this.onDblclick), vi(t.ownerDocument, yu, this.onCropMove), vi(t.ownerDocument, Au, this.onCropEnd), e.responsive && vi(window, Cu, this.onResize);
17115
17119
  }
17116
17120
  }, Iy = {
17117
17121
  resize: function() {
@@ -17128,7 +17132,7 @@ var wy = {
17128
17132
  }
17129
17133
  },
17130
17134
  dblclick: function() {
17131
- this.disabled || this.options.dragMode === sm || this.setDragMode(py(this.dragBox, ql) ? am : md);
17135
+ this.disabled || this.options.dragMode === rm || this.setDragMode(py(this.dragBox, ql) ? sm : md);
17132
17136
  },
17133
17137
  wheel: function(t) {
17134
17138
  var e = this, a = Number(this.options.wheelZoomRatio) || 0.1, s = 1;
@@ -17143,10 +17147,10 @@ var wy = {
17143
17147
  var s = this.options, r = this.pointers, n;
17144
17148
  t.changedTouches ? qt(t.changedTouches, function(l) {
17145
17149
  r[l.identifier] = jr(l);
17146
- }) : r[t.pointerId || 0] = jr(t), Object.keys(r).length > 1 && s.zoomable && s.zoomOnTouch ? n = im : n = xl(t.target, ur), sy.test(n) && Fs(this.element, bl, {
17150
+ }) : r[t.pointerId || 0] = jr(t), Object.keys(r).length > 1 && s.zoomable && s.zoomOnTouch ? n = am : n = xl(t.target, ur), sy.test(n) && Fs(this.element, bl, {
17147
17151
  originalEvent: t,
17148
17152
  action: n
17149
- }) !== !1 && (t.preventDefault(), this.action = n, this.cropping = !1, n === em && (this.cropping = !0, xt(this.dragBox, xn)));
17153
+ }) !== !1 && (t.preventDefault(), this.action = n, this.cropping = !1, n === tm && (this.cropping = !0, xt(this.dragBox, xn)));
17150
17154
  }
17151
17155
  },
17152
17156
  cropMove: function(t) {
@@ -17271,18 +17275,18 @@ var wy = {
17271
17275
  E(ts), E(Da), C.x >= 0 ? F < x ? c += C.x : C.y >= 0 && p >= v && (b = !1) : c += C.x, C.y >= 0 ? p < v && (f += C.y) : f += C.y;
17272
17276
  c < 0 && f < 0 ? (l = $s, f = -f, c = -c, u -= f, d -= c) : c < 0 ? (l = Rs, c = -c, d -= c) : f < 0 && (l = Os, f = -f, u -= f);
17273
17277
  break;
17274
- case tm:
17278
+ case im:
17275
17279
  this.move(C.x, C.y), b = !1;
17276
17280
  break;
17277
- case im:
17281
+ case am:
17278
17282
  this.zoom(vy(n), t), b = !1;
17279
17283
  break;
17280
- case em:
17284
+ case tm:
17281
17285
  if (!C.x || !C.y) {
17282
17286
  b = !1;
17283
17287
  break;
17284
17288
  }
17285
- X = um(this.cropper), d = k.startX - X.left, u = k.startY - X.top, c = r.minWidth, f = r.minHeight, C.x > 0 ? l = C.y > 0 ? Ps : Os : C.x < 0 && (d -= c, l = C.y > 0 ? Rs : $s), C.y < 0 && (u -= f), this.cropped || (Ei(this.cropBox, jt), this.cropped = !0, this.limited && this.limitCropBox(!0, !0));
17289
+ X = cm(this.cropper), d = k.startX - X.left, u = k.startY - X.top, c = r.minWidth, f = r.minHeight, C.x > 0 ? l = C.y > 0 ? Ps : Os : C.x < 0 && (d -= c, l = C.y > 0 ? Rs : $s), C.y < 0 && (u -= f), this.cropped || (Ei(this.cropBox, jt), this.cropped = !0, this.limited && this.limitCropBox(!0, !0));
17286
17290
  break;
17287
17291
  }
17288
17292
  b && (r.width = c, r.height = f, r.left = d, r.top = u, this.action = l, this.renderCropBox()), qt(n, function(L) {
@@ -17321,11 +17325,11 @@ var wy = {
17321
17325
  },
17322
17326
  // Enable (unfreeze) the cropper
17323
17327
  enable: function() {
17324
- return this.ready && this.disabled && (this.disabled = !1, Ei(this.cropper, vu)), this;
17328
+ return this.ready && this.disabled && (this.disabled = !1, Ei(this.cropper, Fu)), this;
17325
17329
  },
17326
17330
  // Disable (freeze) the cropper
17327
17331
  disable: function() {
17328
- return this.ready && !this.disabled && (this.disabled = !0, xt(this.cropper, vu)), this;
17332
+ return this.ready && !this.disabled && (this.disabled = !0, xt(this.cropper, Fu)), this;
17329
17333
  },
17330
17334
  /**
17331
17335
  * Destroy the cropper and remove the instance from the image
@@ -17383,7 +17387,7 @@ var wy = {
17383
17387
  }) === !1)
17384
17388
  return this;
17385
17389
  if (a) {
17386
- var f = this.pointers, F = um(this.cropper), p = f && Object.keys(f).length ? Fy(f) : {
17390
+ var f = this.pointers, F = cm(this.cropper), p = f && Object.keys(f).length ? Fy(f) : {
17387
17391
  pageX: a.pageX,
17388
17392
  pageY: a.pageY
17389
17393
  };
@@ -17577,7 +17581,7 @@ var wy = {
17577
17581
  var A = p / l;
17578
17582
  y.push($ * A, z * A, B * A, _ * A);
17579
17583
  }
17580
- return x.drawImage.apply(x, [a].concat(Zf(y.map(function(K) {
17584
+ return x.drawImage.apply(x, [a].concat(Qf(y.map(function(K) {
17581
17585
  return Math.floor(vs(K));
17582
17586
  })))), q;
17583
17587
  },
@@ -17598,17 +17602,17 @@ var wy = {
17598
17602
  setDragMode: function(t) {
17599
17603
  var e = this.options, a = this.dragBox, s = this.face;
17600
17604
  if (this.ready && !this.disabled) {
17601
- var r = t === md, n = e.movable && t === am;
17602
- t = r || n ? t : sm, e.dragMode = t, cr(a, ur, t), cs(a, ql, r), cs(a, Yl, n), e.cropBoxMovable || (cr(s, ur, t), cs(s, ql, r), cs(s, Yl, n));
17605
+ var r = t === md, n = e.movable && t === sm;
17606
+ t = r || n ? t : rm, e.dragMode = t, cr(a, ur, t), cs(a, ql, r), cs(a, Yl, n), e.cropBoxMovable || (cr(s, ur, t), cs(s, ql, r), cs(s, Yl, n));
17603
17607
  }
17604
17608
  return this;
17605
17609
  }
17606
- }, Ky = Oi.Cropper, fm = /* @__PURE__ */ function() {
17610
+ }, Ky = Oi.Cropper, mm = /* @__PURE__ */ function() {
17607
17611
  function i(t) {
17608
17612
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
17609
17613
  if (UX(this, i), !t || !oy.test(t.tagName))
17610
17614
  throw new Error("The first argument is required and must be an <img> or <canvas> element.");
17611
- this.element = t, this.options = nt({}, wu, us(e) && e), this.cropped = !1, this.disabled = !1, this.pointers = {}, this.ready = !1, this.reloading = !1, this.replaced = !1, this.sized = !1, this.sizing = !1, this.init();
17615
+ this.element = t, this.options = nt({}, _u, us(e) && e), this.cropped = !1, this.disabled = !1, this.pointers = {}, this.ready = !1, this.reloading = !1, this.replaced = !1, this.sized = !1, this.sizing = !1, this.init();
17612
17616
  }
17613
17617
  return jX(i, [{
17614
17618
  key: "init",
@@ -17641,12 +17645,12 @@ var wy = {
17641
17645
  }
17642
17646
  var n = new XMLHttpRequest(), l = this.clone.bind(this);
17643
17647
  this.reloading = !0, this.xhr = n, n.onabort = l, n.onerror = l, n.ontimeout = l, n.onprogress = function() {
17644
- n.getResponseHeader("content-type") !== xu && n.abort();
17648
+ n.getResponseHeader("content-type") !== wu && n.abort();
17645
17649
  }, n.onload = function() {
17646
17650
  a.read(n.response);
17647
17651
  }, n.onloadend = function() {
17648
17652
  a.reloading = !1, a.xhr = null;
17649
- }, r.checkCrossOrigin && ku(e) && s.crossOrigin && (e = Iu(e)), n.open("GET", e, !0), n.responseType = "arraybuffer", n.withCredentials = s.crossOrigin === "use-credentials", n.send();
17653
+ }, r.checkCrossOrigin && Iu(e) && s.crossOrigin && (e = Du(e)), n.open("GET", e, !0), n.responseType = "arraybuffer", n.withCredentials = s.crossOrigin === "use-credentials", n.send();
17650
17654
  }
17651
17655
  }
17652
17656
  }, {
@@ -17654,7 +17658,7 @@ var wy = {
17654
17658
  value: function(e) {
17655
17659
  var a = this.options, s = this.imageData, r = Cy(e), n = 0, l = 1, o = 1;
17656
17660
  if (r > 1) {
17657
- this.url = by(e, xu);
17661
+ this.url = by(e, wu);
17658
17662
  var d = xy(r);
17659
17663
  n = d.rotate, l = d.scaleX, o = d.scaleY;
17660
17664
  }
@@ -17664,9 +17668,9 @@ var wy = {
17664
17668
  key: "clone",
17665
17669
  value: function() {
17666
17670
  var e = this.element, a = this.url, s = e.crossOrigin, r = a;
17667
- this.options.checkCrossOrigin && ku(a) && (s || (s = "anonymous"), r = Iu(a)), this.crossOrigin = s, this.crossOriginUrl = r;
17671
+ this.options.checkCrossOrigin && Iu(a) && (s || (s = "anonymous"), r = Du(a)), this.crossOrigin = s, this.crossOriginUrl = r;
17668
17672
  var n = document.createElement("img");
17669
- s && (n.crossOrigin = s), n.src = r || a, n.alt = e.alt || "The image to crop", this.image = n, n.onload = this.start.bind(this), n.onerror = this.stop.bind(this), xt(n, Fu), e.parentNode.insertBefore(n, e.nextSibling);
17673
+ s && (n.crossOrigin = s), n.src = r || a, n.alt = e.alt || "The image to crop", this.image = n, n.onload = this.start.bind(this), n.onerror = this.stop.bind(this), xt(n, qu), e.parentNode.insertBefore(n, e.nextSibling);
17670
17674
  }
17671
17675
  }, {
17672
17676
  key: "start",
@@ -17702,9 +17706,9 @@ var wy = {
17702
17706
  var e = this.element, a = this.options, s = this.image, r = e.parentNode, n = document.createElement("div");
17703
17707
  n.innerHTML = ly;
17704
17708
  var l = n.querySelector(".".concat(rt, "-container")), o = l.querySelector(".".concat(rt, "-canvas")), d = l.querySelector(".".concat(rt, "-drag-box")), u = l.querySelector(".".concat(rt, "-crop-box")), c = u.querySelector(".".concat(rt, "-face"));
17705
- this.container = r, this.cropper = l, this.canvas = o, this.dragBox = d, this.cropBox = u, this.viewBox = l.querySelector(".".concat(rt, "-view-box")), this.face = c, o.appendChild(s), xt(e, jt), r.insertBefore(l, e.nextSibling), Ei(s, Fu), this.initPreview(), this.bind(), a.initialAspectRatio = Math.max(0, a.initialAspectRatio) || NaN, a.aspectRatio = Math.max(0, a.aspectRatio) || NaN, a.viewMode = Math.max(0, Math.min(3, Math.round(a.viewMode))) || 0, xt(u, jt), a.guides || xt(u.getElementsByClassName("".concat(rt, "-dashed")), jt), a.center || xt(u.getElementsByClassName("".concat(rt, "-center")), jt), a.background && xt(l, "".concat(rt, "-bg")), a.highlight || xt(c, ey), a.cropBoxMovable && (xt(c, Yl), cr(c, ur, fd)), a.cropBoxResizable || (xt(u.getElementsByClassName("".concat(rt, "-line")), jt), xt(u.getElementsByClassName("".concat(rt, "-point")), jt)), this.render(), this.ready = !0, this.setDragMode(a.dragMode), a.autoCrop && this.crop(), this.setData(a.data), zt(a.ready) && li(e, Au, a.ready, {
17709
+ this.container = r, this.cropper = l, this.canvas = o, this.dragBox = d, this.cropBox = u, this.viewBox = l.querySelector(".".concat(rt, "-view-box")), this.face = c, o.appendChild(s), xt(e, jt), r.insertBefore(l, e.nextSibling), Ei(s, qu), this.initPreview(), this.bind(), a.initialAspectRatio = Math.max(0, a.initialAspectRatio) || NaN, a.aspectRatio = Math.max(0, a.aspectRatio) || NaN, a.viewMode = Math.max(0, Math.min(3, Math.round(a.viewMode))) || 0, xt(u, jt), a.guides || xt(u.getElementsByClassName("".concat(rt, "-dashed")), jt), a.center || xt(u.getElementsByClassName("".concat(rt, "-center")), jt), a.background && xt(l, "".concat(rt, "-bg")), a.highlight || xt(c, ey), a.cropBoxMovable && (xt(c, Yl), cr(c, ur, fd)), a.cropBoxResizable || (xt(u.getElementsByClassName("".concat(rt, "-line")), jt), xt(u.getElementsByClassName("".concat(rt, "-point")), jt)), this.render(), this.ready = !0, this.setDragMode(a.dragMode), a.autoCrop && this.crop(), this.setData(a.data), zt(a.ready) && li(e, bu, a.ready, {
17706
17710
  once: !0
17707
- }), Fs(e, Au);
17711
+ }), Fs(e, bu);
17708
17712
  }
17709
17713
  }
17710
17714
  }, {
@@ -17737,11 +17741,11 @@ var wy = {
17737
17741
  }, {
17738
17742
  key: "setDefaults",
17739
17743
  value: function(e) {
17740
- nt(wu, us(e) && e);
17744
+ nt(_u, us(e) && e);
17741
17745
  }
17742
17746
  }]), i;
17743
17747
  }();
17744
- nt(fm.prototype, wy, _y, ky, Iy, Dy, Sy);
17748
+ nt(mm.prototype, wy, _y, ky, Iy, Dy, Sy);
17745
17749
  const Ey = { class: "d-flex flex-column" }, Ty = {
17746
17750
  key: 0,
17747
17751
  class: "d-flex w-100 align-center justify-center"
@@ -17824,11 +17828,11 @@ const Ey = { class: "d-flex flex-column" }, Ty = {
17824
17828
  for (const b in q)
17825
17829
  Object.prototype.hasOwnProperty.call(x, b) && x[b] !== void 0 && (v[b] = x[b]);
17826
17830
  qi(() => {
17827
- ue(s.value) || (console.log(s.value), a.value = new fm(s.value, v), setTimeout(() => {
17831
+ ue(s.value) || (console.log(s.value), a.value = new mm(s.value, v), setTimeout(() => {
17828
17832
  r.value = !1;
17829
17833
  }, 1e3));
17830
17834
  });
17831
- }), Uu(() => {
17835
+ }), ju(() => {
17832
17836
  o();
17833
17837
  }), (f, F) => (Y(), R("div", Ey, [
17834
17838
  r.value ? (Y(), R("div", Ty, [
@@ -17847,10 +17851,10 @@ const Ey = { class: "d-flex flex-column" }, Ty = {
17847
17851
  ], 4)
17848
17852
  ]));
17849
17853
  }
17850
- }), Oy = 16 / 9, mm = /* @__PURE__ */ Q({
17854
+ }), Oy = 16 / 9, pm = /* @__PURE__ */ Q({
17851
17855
  __name: "AssetImageRoiSelect",
17852
17856
  setup(i) {
17853
- const { showRecordWas: t, showErrorsDefault: e } = ot(), a = { overflow: "hidden", maxHeight: "calc(100vh - 160px)" }, s = jf(), { damClient: r } = yt(), n = T(null), l = D(() => {
17857
+ const { showRecordWas: t, showErrorsDefault: e } = ot(), a = { overflow: "hidden", maxHeight: "calc(100vh - 160px)" }, s = Hf(), { damClient: r } = yt(), n = T(null), l = D(() => {
17854
17858
  var g;
17855
17859
  return s.imageFile && ((g = s.imageFile.links) != null && g.image_detail) ? s.imageFile.links.image_detail.url : "";
17856
17860
  }), o = () => {
@@ -17891,7 +17895,7 @@ const Ey = { class: "d-flex flex-column" }, Ty = {
17891
17895
  }, F = () => {
17892
17896
  c();
17893
17897
  }, p = D(() => !!(s.imageFile && l.value.length > 0 && !s.loader));
17894
- return Uu(() => {
17898
+ return ju(() => {
17895
17899
  n.value && (n.value.destroy(), n.value = null);
17896
17900
  }), (g, q) => p.value ? (Y(), O(By, {
17897
17901
  key: V(s).timestampCropper,
@@ -17915,7 +17919,7 @@ const Ey = { class: "d-flex flex-column" }, Ty = {
17915
17919
  }, zy = {
17916
17920
  key: 1,
17917
17921
  class: "w-100 h-100 pa-2 d-flex align-center justify-center"
17918
- }, Uy = { class: "h-100 d-flex dam-image-detail__sidebar system-border-l" }, pm = /* @__PURE__ */ Q({
17922
+ }, Uy = { class: "h-100 d-flex dam-image-detail__sidebar system-border-l" }, hm = /* @__PURE__ */ Q({
17919
17923
  __name: "AssetDetailDialog",
17920
17924
  props: {
17921
17925
  queueKey: {},
@@ -17952,7 +17956,7 @@ const Ey = { class: "d-flex flex-column" }, Ty = {
17952
17956
  fullscreen: ""
17953
17957
  }, {
17954
17958
  default: h(() => [
17955
- V(l) ? (Y(), O(Nf, {
17959
+ V(l) ? (Y(), O(Lf, {
17956
17960
  key: 0,
17957
17961
  onCloseDialog: o
17958
17962
  })) : V(s) ? (Y(), O(ut, {
@@ -18026,7 +18030,7 @@ const Ey = { class: "d-flex flex-column" }, Ty = {
18026
18030
  U("div", Ry, [
18027
18031
  U("div", Ny, [
18028
18032
  V(n) === V(Et).ROI ? (Y(), R("div", Ly, [
18029
- m(mm)
18033
+ m(pm)
18030
18034
  ])) : (Y(), R("div", zy, [
18031
18035
  m(ad, {
18032
18036
  "asset-type": f.value,
@@ -18335,7 +18339,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18335
18339
  ]),
18336
18340
  _: 1
18337
18341
  }),
18338
- f.value && V(Fr)(F.value) ? (Y(), O(zf, {
18342
+ f.value && V(Fr)(F.value) ? (Y(), O(Uf, {
18339
18343
  key: 0,
18340
18344
  file: F.value
18341
18345
  }, null, 8, ["file"])) : j("", !0)
@@ -18484,19 +18488,19 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18484
18488
  }, null, 8, ["queue-key", "ext-system", "is-active", "asset-type"])
18485
18489
  ])) : j("", !0),
18486
18490
  n.isImage && V(r) === V(Et).ROI ? (Y(), R("div", tA, [
18487
- m(Wf, {
18491
+ m(Gf, {
18488
18492
  "queue-key": n.queueKey,
18489
18493
  "is-active": V(r) === V(Et).ROI
18490
18494
  }, null, 8, ["queue-key", "is-active"])
18491
18495
  ])) : j("", !0)
18492
18496
  ]),
18493
18497
  U("div", iA, [
18494
- m(Gf, { "queue-key": n.queueKey }, null, 8, ["queue-key"])
18498
+ m(Jf, { "queue-key": n.queueKey }, null, 8, ["queue-key"])
18495
18499
  ])
18496
18500
  ])
18497
18501
  ]));
18498
18502
  }
18499
- }), hm = /* @__PURE__ */ Q({
18503
+ }), Vm = /* @__PURE__ */ Q({
18500
18504
  __name: "UploadQueueButtonStop",
18501
18505
  props: {
18502
18506
  isUploading: { type: Boolean },
@@ -18746,7 +18750,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18746
18750
  fullscreen: ""
18747
18751
  }, {
18748
18752
  default: h(() => [
18749
- V(u) || !q.value ? (Y(), O(Nf, {
18753
+ V(u) || !q.value ? (Y(), O(Lf, {
18750
18754
  key: 0,
18751
18755
  onCloseDialog: H
18752
18756
  })) : q.value ? (Y(), O(ut, {
@@ -18791,7 +18795,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18791
18795
  ]),
18792
18796
  _: 1
18793
18797
  }, 8, ["active", "variant", "color"]),
18794
- m(hm, {
18798
+ m(Vm, {
18795
18799
  "data-cy": "button-close",
18796
18800
  "button-size": 36,
18797
18801
  "is-uploading": se.value,
@@ -18804,7 +18808,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18804
18808
  U("div", lA, [
18805
18809
  U("div", dA, [
18806
18810
  V(d) === V(Et).ROI && f.value ? (Y(), R("div", uA, [
18807
- m(mm)
18811
+ m(pm)
18808
18812
  ])) : (Y(), R("div", cA, [
18809
18813
  U("div", fA, [
18810
18814
  q.value ? (Y(), O(ad, {
@@ -18877,7 +18881,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18877
18881
  _: 1
18878
18882
  }));
18879
18883
  }
18880
- }), YA = "/adm/v1/asset-licence", Vm = (i, t) => pi(i, YA + "/:id", { id: t }, "coreDam", "assetLicence"), XA = { class: "a-image-widget" }, yA = { class: "a-image-widget__options" }, AA = {
18884
+ }), YA = "/adm/v1/asset-licence", gm = (i, t) => pi(i, YA + "/:id", { id: t }, "coreDam", "assetLicence"), XA = { class: "a-image-widget" }, yA = { class: "a-image-widget__options" }, AA = {
18881
18885
  key: 0,
18882
18886
  class: "font-weight-bold text-subtitle-2"
18883
18887
  }, bA = {
@@ -18910,7 +18914,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18910
18914
  ), n = (be = r == null ? void 0 : r.value) == null ? void 0 : be.get(a.uploadConfig.extSystem);
18911
18915
  if (P(r) || P(n))
18912
18916
  throw new Error("Fatal error, parent component doesn't provide necessary config ext system config.");
18913
- const { t: l } = re(), { showErrorsDefault: o } = ot(), d = jn(a.configName), { imageClient: u } = d, { widgetImageToDamImageUrl: c } = Yf(d), f = hi(), F = yr(), { uploadQueueDialog: p } = io(), g = T(null), q = T(!1), x = T(!1), v = T(!1), b = T(!1), X = T(!1), k = D(() => ue(a.modelValue)), C = T(""), E = D(() => f.getQueue(a.queueKey)), L = D(() => !0), J = D(() => !ue(g.value)), ae = () => {
18917
+ const { t: l } = re(), { showErrorsDefault: o } = ot(), d = jn(a.configName), { imageClient: u } = d, { widgetImageToDamImageUrl: c } = Xf(d), f = hi(), F = yr(), { uploadQueueDialog: p } = io(), g = T(null), q = T(!1), x = T(!1), v = T(!1), b = T(!1), X = T(!1), k = D(() => ue(a.modelValue)), C = T(""), E = D(() => f.getQueue(a.queueKey)), L = D(() => !0), J = D(() => !ue(g.value)), ae = () => {
18914
18918
  F.setImageDetail(Ht(g.value)), v.value = !0;
18915
18919
  }, $ = () => {
18916
18920
  x.value = !0;
@@ -18918,14 +18922,14 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18918
18922
  z.value = a.uploadConfig.extSystem, f.addByFiles(a.queueKey, a.uploadConfig.extSystem, a.uploadConfig.licence, me), p.value = a.queueKey;
18919
18923
  }, _ = (me) => {
18920
18924
  z.value = a.uploadConfig.extSystem, f.addByFiles(a.queueKey, a.uploadConfig.extSystem, a.uploadConfig.licence, me), p.value = a.queueKey;
18921
- }, { uploadSizes: y, uploadAccept: A } = Xf(Xe.Image, n), K = async (me, ke, tt = !1) => {
18925
+ }, { uploadSizes: y, uploadAccept: A } = yf(Xe.Image, n), K = async (me, ke, tt = !1) => {
18922
18926
  if (C.value = Oa, me && ue(g.value) || me && tt) {
18923
18927
  g.value = Te(me), g.value && (C.value = c(Ht(g.value)), a.expandMetadata && F.setImageDetail(Ht(g.value)));
18924
18928
  return;
18925
18929
  }
18926
18930
  if (ke) {
18927
18931
  try {
18928
- g.value = await $f(u, ke);
18932
+ g.value = await Pf(u, ke);
18929
18933
  } catch (gt) {
18930
18934
  o(gt);
18931
18935
  }
@@ -18977,7 +18981,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
18977
18981
  }, H = Ci(), { loading: te, dialog: Z } = Nt(H), { damClient: se } = yt(), oe = async (me) => {
18978
18982
  te.value = !0, Z.value = a.queueKey;
18979
18983
  try {
18980
- const ke = await Ul(se, me), tt = await Vm(se, ke.licence);
18984
+ const ke = await Ul(se, me), tt = await gm(se, ke.licence);
18981
18985
  tt.extSystem && (z.value = tt.extSystem), H.setAsset(ke);
18982
18986
  } catch (ke) {
18983
18987
  o(ke);
@@ -19002,7 +19006,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
19002
19006
  if (!ue(a.modelValue)) {
19003
19007
  if (a.callDeleteApiOnRemove) {
19004
19008
  try {
19005
- await Pf(u, a.modelValue), M();
19009
+ await Rf(u, a.modelValue), M();
19006
19010
  } catch (me) {
19007
19011
  o(me);
19008
19012
  }
@@ -19064,7 +19068,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
19064
19068
  onFilesInput: _
19065
19069
  }, {
19066
19070
  activator: h(({ props: We }) => [
19067
- m(ne, jm(Hm(We)), {
19071
+ m(ne, Hm(Wm(We)), {
19068
19072
  default: h(() => [
19069
19073
  N(I(V(l)("common.damImage.image.button.upload")), 1)
19070
19074
  ]),
@@ -19220,7 +19224,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
19220
19224
  onOnClose: Ee
19221
19225
  }, null, 8, ["modelValue", "expand", "saving", "loading"])
19222
19226
  ]),
19223
- m(Qc, {
19227
+ m(ef, {
19224
19228
  modelValue: x.value,
19225
19229
  "onUpdate:modelValue": ke[2] || (ke[2] = (We) => x.value = We),
19226
19230
  "select-config": me.selectConfig,
@@ -19230,7 +19234,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
19230
19234
  "return-type": "asset",
19231
19235
  onOnConfirm: G
19232
19236
  }, null, 8, ["modelValue", "select-config", "asset-type"]),
19233
- V(Z) === me.queueKey ? (Y(), O(pm, {
19237
+ V(Z) === me.queueKey ? (Y(), O(hm, {
19234
19238
  key: 0,
19235
19239
  "queue-key": me.queueKey,
19236
19240
  "ext-system": V(z)
@@ -19284,7 +19288,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
19284
19288
  getDamConfigAssetCustomFormElements: F
19285
19289
  } = Jt(n);
19286
19290
  Tt(async () => {
19287
- if (!Zc(a.uploadConfig)) {
19291
+ if (!Qc(a.uploadConfig)) {
19288
19292
  r.value = "uploadNotAllowed";
19289
19293
  return;
19290
19294
  }
@@ -19329,7 +19333,7 @@ const Hy = { key: 0 }, Wy = /* @__PURE__ */ Q({
19329
19333
  },
19330
19334
  emits: ["editAsset", "removeItem"],
19331
19335
  setup(i, { emit: t }) {
19332
- const e = i, a = t, s = yr(), { t: r } = re(), n = D(() => s.images[e.index]), { v$: l } = Rf(n, id), o = () => {
19336
+ const e = i, a = t, s = yr(), { t: r } = re(), n = D(() => s.images[e.index]), { v$: l } = Nf(n, id), o = () => {
19333
19337
  ue(n.value) || P(n.value) || a("editAsset", n.value.dam.damId);
19334
19338
  }, d = () => {
19335
19339
  a("removeItem", e.index);
@@ -20427,7 +20431,7 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20427
20431
  ]),
20428
20432
  _: 1
20429
20433
  }, 8, ["active", "variant", "color", "onClick"]),
20430
- m(hm, {
20434
+ m(Vm, {
20431
20435
  "data-cy": "button-close",
20432
20436
  "button-size": 36,
20433
20437
  "is-uploading": F.value,
@@ -20492,10 +20496,10 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20492
20496
  ), l = (bt = n == null ? void 0 : n.value) == null ? void 0 : bt.get(a.uploadConfig.extSystem);
20493
20497
  if (P(n) || P(l))
20494
20498
  throw new Error("Fatal error, parent component doesn't provide necessary config ext system config.");
20495
- const o = jn(a.configName), { imageClient: d } = o, { showErrorsDefault: u, showValidationError: c } = ot(), f = T(null), { uploadSizes: F, uploadAccept: p } = Xf(Xe.Image, l), { t: g } = re(), q = T(!1), x = yr(), { images: v, maxPosition: b } = Nt(x), X = async () => {
20499
+ const o = jn(a.configName), { imageClient: d } = o, { showErrorsDefault: u, showValidationError: c } = ot(), f = T(null), { uploadSizes: F, uploadAccept: p } = yf(Xe.Image, l), { t: g } = re(), q = T(!1), x = yr(), { images: v, maxPosition: b } = Nt(x), X = async () => {
20496
20500
  try {
20497
20501
  q.value = !0;
20498
- const Fe = await Of(d, a.modelValue);
20502
+ const Fe = await $f(d, a.modelValue);
20499
20503
  x.setImages(
20500
20504
  Fe.map((be) => (x.updateMaxPositionIfGreater(be.position), {
20501
20505
  key: ga(),
@@ -20563,7 +20567,7 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20563
20567
  }, B = Ci(), { loading: _, dialog: y } = Nt(B), { damClient: A } = yt(), K = async (Fe) => {
20564
20568
  _.value = !0, y.value = a.queueKey;
20565
20569
  try {
20566
- const be = await Ul(A, Fe), me = await Vm(A, be.licence);
20570
+ const be = await Ul(A, Fe), me = await gm(A, be.licence);
20567
20571
  me.extSystem && (E.value = me.extSystem), B.setAsset(be);
20568
20572
  } catch (be) {
20569
20573
  u(be);
@@ -20601,7 +20605,7 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20601
20605
  }
20602
20606
  if (a.callDeleteApiOnRemove) {
20603
20607
  try {
20604
- await Pf(d, be.id), x.removeImageByIndex(Fe);
20608
+ await Rf(d, be.id), x.removeImageByIndex(Fe);
20605
20609
  } catch (me) {
20606
20610
  u(me);
20607
20611
  }
@@ -20629,9 +20633,9 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20629
20633
  const Fe = se.value.querySelector("." + bn);
20630
20634
  Fe && (Ee.value = Jl(Fe, [], {
20631
20635
  handle: "." + Vs,
20632
- ghostClass: gf,
20633
- dragClass: vf,
20634
- chosenClass: Ff,
20636
+ ghostClass: vf,
20637
+ dragClass: Ff,
20638
+ chosenClass: qf,
20635
20639
  onEnd: async (be) => {
20636
20640
  P(be.oldIndex) || P(be.newIndex) || et(be.oldIndex, be.newIndex);
20637
20641
  }
@@ -20677,7 +20681,7 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20677
20681
  _: 1
20678
20682
  })
20679
20683
  ]),
20680
- m(Qc, {
20684
+ m(ef, {
20681
20685
  modelValue: r.value,
20682
20686
  "onUpdate:modelValue": be[0] || (be[0] = (tt) => r.value = tt),
20683
20687
  "select-config": Fe.selectConfig,
@@ -20723,7 +20727,7 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20723
20727
  multiple: "",
20724
20728
  onOnApply: M
20725
20729
  }, null, 8, ["queue-key", "ext-system", "licence-id", "file-input-key", "accept", "max-sizes"])) : j("", !0),
20726
- V(y) === Fe.queueKey ? (Y(), O(pm, {
20730
+ V(y) === Fe.queueKey ? (Y(), O(hm, {
20727
20731
  key: 2,
20728
20732
  "queue-key": Fe.queueKey,
20729
20733
  "ext-system": V(E)
@@ -20763,7 +20767,7 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20763
20767
  getDamConfigAssetCustomFormElements: F
20764
20768
  } = Jt(n);
20765
20769
  Tt(async () => {
20766
- if (!Zc(a.uploadConfig)) {
20770
+ if (!Qc(a.uploadConfig)) {
20767
20771
  r.value = "uploadNotAllowed";
20768
20772
  return;
20769
20773
  }
@@ -20820,7 +20824,7 @@ const sb = { class: "sidebar-info d-flex w-100 h-100 flex-column" }, rb = { clas
20820
20824
  }
20821
20825
  if (d && d.length > 0)
20822
20826
  try {
20823
- s.value = await Of(l, d);
20827
+ s.value = await $f(l, d);
20824
20828
  } catch (u) {
20825
20829
  r(u);
20826
20830
  }
@@ -21021,7 +21025,7 @@ function fK() {
21021
21025
  const mK = (i, t, e = "", a = {}, s = null, r, n, l = {}) => new Promise((o, d) => {
21022
21026
  const u = { method: t };
21023
21027
  e !== "" && (u.url = Ca(e, a)), ue(s) || (u.data = JSON.stringify(s)), i().request({ ...l, ...u }).then((c) => xa(c.status) ? c.data ? o(c.data) : c.status === ra ? o(null) : d(new It()) : d(new oa(c.status))).catch((c) => na(c) ? d(new zi(c)) : Ui(c) ? d(new ji(c, r, n, c)) : la(c) ? d(new Hi(c, c)) : d(new It(c)));
21024
- }), Du = (i, t = void 0) => {
21028
+ }), Su = (i, t = void 0) => {
21025
21029
  const { querySetLimit: e, querySetOffset: a, querySetOrder: s, queryBuild: r, querySetFilters: n } = Rn();
21026
21030
  return e(i.rowsPerPage), a(i.page, i.rowsPerPage), s(i.sortBy, i.descending), Ae(t) && n(t), r();
21027
21031
  }, Ob = (i, t, e, a, s = void 0) => {
@@ -21032,19 +21036,19 @@ const mK = (i, t, e = "", a = {}, s = null, r, n, l = {}) => new Promise((o, d)
21032
21036
  f.rowsPerPage = n, f.sortBy = a, f.descending = s;
21033
21037
  const F = Ca(t, e) + c, p = [];
21034
21038
  try {
21035
- const g = await i().get(F + Du(f, r), u);
21039
+ const g = await i().get(F + Su(f, r), u);
21036
21040
  if (!xa(g.status))
21037
21041
  return Promise.reject(new oa(g.status));
21038
21042
  if (g.data) {
21039
21043
  const q = g.data;
21040
- if (p.push(...q.data), Rc(q)) {
21044
+ if (p.push(...q.data), Nc(q)) {
21041
21045
  if (f.hasNextPage = g.data.hasNextPage, f.hasNextPage)
21042
21046
  for (; f.hasNextPage; ) {
21043
21047
  f.page++;
21044
- const v = (await i().get(F + Du(f, r), u)).data;
21048
+ const v = (await i().get(F + Su(f, r), u)).data;
21045
21049
  p.push(...v.data), f.hasNextPage = v.hasNextPage;
21046
21050
  }
21047
- } else if (Pc(q)) {
21051
+ } else if (Rc(q)) {
21048
21052
  if (f.totalCount = q.totalCount, f.totalCount <= f.rowsPerPage)
21049
21053
  return Promise.resolve(p);
21050
21054
  const x = [], v = Math.ceil(f.totalCount / f.rowsPerPage);
@@ -21074,10 +21078,10 @@ const mK = (i, t, e = "", a = {}, s = null, r, n, l = {}) => new Promise((o, d)
21074
21078
  };
21075
21079
  function hK() {
21076
21080
  return {
21077
- isAnzuFatalError: gc,
21078
- isAnzuApiForbiddenError: Fc,
21079
- isAnzuApiValidationError: qc,
21080
- isAnzuApiResponseCodeError: Yc
21081
+ isAnzuFatalError: vc,
21082
+ isAnzuApiForbiddenError: qc,
21083
+ isAnzuApiValidationError: Yc,
21084
+ isAnzuApiResponseCodeError: Xc
21081
21085
  };
21082
21086
  }
21083
21087
  const Hr = "/adm/v1/job", Wr = "job";
@@ -21086,10 +21090,10 @@ function VK(i, t) {
21086
21090
  fetchJobList: (n, l) => Vr(i, Hr, {}, n, l, t, Wr),
21087
21091
  fetchJob: (n) => pi(i, Hr + "/:id", { id: n }, t, Wr),
21088
21092
  createJob: (n) => {
21089
- const l = Kp(n._resourceName).slice(4).replace("-kind-", "-kind/");
21093
+ const l = Ep(n._resourceName).slice(4).replace("-kind-", "-kind/");
21090
21094
  return Hn(i, n, Hr + "/:type", { type: l }, t, Wr);
21091
21095
  },
21092
- deleteJob: (n) => Bf(i, Hr + "/:id", { id: n }, t, Wr)
21096
+ deleteJob: (n) => Of(i, Hr + "/:id", { id: n }, t, Wr)
21093
21097
  };
21094
21098
  }
21095
21099
  const gK = "jobUserDataDelete";
@@ -21108,7 +21112,7 @@ function vK(i = []) {
21108
21112
  }
21109
21113
  const FK = {
21110
21114
  install(i, t) {
21111
- i.provide(Mn, t.currentUser), i.provide(tc, t.customAclResolver), i.provide(ic, t.languages.available), i.provide(ac, t.languages.default), i.component("Acl", dV), i.use(kh, { componentName: "Notifications" }), N7(t.image), Vv(t.coreDam), Zp(t.collab);
21115
+ i.provide(Mn, t.currentUser), i.provide(ic, t.customAclResolver), i.provide(ac, t.languages.available), i.provide(sc, t.languages.default), i.component("Acl", dV), i.use(kh, { componentName: "Notifications" }), N7(t.image), Vv(t.coreDam), Qp(t.collab);
21112
21116
  }
21113
21117
  }, qK = (i, t) => {
21114
21118
  const e = i.indexOf(t);
@@ -23000,7 +23004,7 @@ const FK = {
23000
23004
  ABtnSecondary: _r,
23001
23005
  ABtnTertiary: _r,
23002
23006
  ABtnIcon: _r,
23003
- AChipNoLink: yp
23007
+ AChipNoLink: Ap
23004
23008
  }),
23005
23009
  commonDefaults: () => ({
23006
23010
  global: {},
@@ -23107,7 +23111,7 @@ const FK = {
23107
23111
  })
23108
23112
  });
23109
23113
  async function _K() {
23110
- (await import("./webfontloader-aWm0D-h0.js").then((t) => t.w)).load({
23114
+ (await import("./webfontloader-VRe0rcMT.js").then((t) => t.w)).load({
23111
23115
  google: {
23112
23116
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
23113
23117
  }
@@ -23117,7 +23121,7 @@ async function _K() {
23117
23121
  function kK() {
23118
23122
  const i = (e, a) => ({
23119
23123
  id: 0,
23120
- status: Kc.Default,
23124
+ status: Ec.Default,
23121
23125
  result: "",
23122
23126
  batchProcessedIterationCount: 0,
23123
23127
  finishedAt: null,
@@ -23164,29 +23168,29 @@ const dn = /* @__PURE__ */ Object.create(null);
23164
23168
  Object.keys($i).forEach((i) => {
23165
23169
  dn[$i[i]] = i;
23166
23170
  });
23167
- const wl = { type: "error", data: "parser error" }, gm = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", vm = typeof ArrayBuffer == "function", Fm = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i && i.buffer instanceof ArrayBuffer, hd = ({ type: i, data: t }, e, a) => gm && t instanceof Blob ? e ? a(t) : Su(t, a) : vm && (t instanceof ArrayBuffer || Fm(t)) ? e ? a(t) : Su(new Blob([t]), a) : a($i[i] + (t || "")), Su = (i, t) => {
23171
+ const wl = { type: "error", data: "parser error" }, vm = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", Fm = typeof ArrayBuffer == "function", qm = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i && i.buffer instanceof ArrayBuffer, hd = ({ type: i, data: t }, e, a) => vm && t instanceof Blob ? e ? a(t) : Ku(t, a) : Fm && (t instanceof ArrayBuffer || qm(t)) ? e ? a(t) : Ku(new Blob([t]), a) : a($i[i] + (t || "")), Ku = (i, t) => {
23168
23172
  const e = new FileReader();
23169
23173
  return e.onload = function() {
23170
23174
  const a = e.result.split(",")[1];
23171
23175
  t("b" + (a || ""));
23172
23176
  }, e.readAsDataURL(i);
23173
23177
  };
23174
- function Ku(i) {
23178
+ function Eu(i) {
23175
23179
  return i instanceof Uint8Array ? i : i instanceof ArrayBuffer ? new Uint8Array(i) : new Uint8Array(i.buffer, i.byteOffset, i.byteLength);
23176
23180
  }
23177
23181
  let Qo;
23178
23182
  function tI(i, t) {
23179
- if (gm && i.data instanceof Blob)
23180
- return i.data.arrayBuffer().then(Ku).then(t);
23181
- if (vm && (i.data instanceof ArrayBuffer || Fm(i.data)))
23182
- return t(Ku(i.data));
23183
+ if (vm && i.data instanceof Blob)
23184
+ return i.data.arrayBuffer().then(Eu).then(t);
23185
+ if (Fm && (i.data instanceof ArrayBuffer || qm(i.data)))
23186
+ return t(Eu(i.data));
23183
23187
  hd(i, !1, (e) => {
23184
23188
  Qo || (Qo = new TextEncoder()), t(Qo.encode(e));
23185
23189
  });
23186
23190
  }
23187
- const Eu = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Hs = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
23188
- for (let i = 0; i < Eu.length; i++)
23189
- Hs[Eu.charCodeAt(i)] = i;
23191
+ const Tu = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Hs = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
23192
+ for (let i = 0; i < Tu.length; i++)
23193
+ Hs[Tu.charCodeAt(i)] = i;
23190
23194
  const iI = (i) => {
23191
23195
  let t = i.length * 0.75, e = i.length, a, s = 0, r, n, l, o;
23192
23196
  i[i.length - 1] === "=" && (t--, i[i.length - 2] === "=" && t--);
@@ -23198,7 +23202,7 @@ const iI = (i) => {
23198
23202
  if (typeof i != "string")
23199
23203
  return {
23200
23204
  type: "message",
23201
- data: qm(i, t)
23205
+ data: Ym(i, t)
23202
23206
  };
23203
23207
  const e = i.charAt(0);
23204
23208
  return e === "b" ? {
@@ -23213,10 +23217,10 @@ const iI = (i) => {
23213
23217
  }, sI = (i, t) => {
23214
23218
  if (aI) {
23215
23219
  const e = iI(i);
23216
- return qm(e, t);
23220
+ return Ym(e, t);
23217
23221
  } else
23218
23222
  return { base64: !0, data: i };
23219
- }, qm = (i, t) => {
23223
+ }, Ym = (i, t) => {
23220
23224
  switch (t) {
23221
23225
  case "blob":
23222
23226
  return i instanceof Blob ? i : new Blob([i]);
@@ -23224,16 +23228,16 @@ const iI = (i) => {
23224
23228
  default:
23225
23229
  return i instanceof ArrayBuffer ? i : i.buffer;
23226
23230
  }
23227
- }, Ym = "", rI = (i, t) => {
23231
+ }, Xm = "", rI = (i, t) => {
23228
23232
  const e = i.length, a = new Array(e);
23229
23233
  let s = 0;
23230
23234
  i.forEach((r, n) => {
23231
23235
  hd(r, !1, (l) => {
23232
- a[n] = l, ++s === e && t(a.join(Ym));
23236
+ a[n] = l, ++s === e && t(a.join(Xm));
23233
23237
  });
23234
23238
  });
23235
23239
  }, nI = (i, t) => {
23236
- const e = i.split(Ym), a = [];
23240
+ const e = i.split(Xm), a = [];
23237
23241
  for (let s = 0; s < e.length; s++) {
23238
23242
  const r = Vd(e[s], t);
23239
23243
  if (a.push(r), r.type === "error")
@@ -23316,7 +23320,7 @@ function lI(i, t) {
23316
23320
  }
23317
23321
  });
23318
23322
  }
23319
- const Xm = 4;
23323
+ const ym = 4;
23320
23324
  function Xt(i) {
23321
23325
  if (i)
23322
23326
  return dI(i);
@@ -23369,7 +23373,7 @@ Xt.prototype.hasListeners = function(i) {
23369
23373
  return !!this.listeners(i).length;
23370
23374
  };
23371
23375
  const fi = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")();
23372
- function ym(i, ...t) {
23376
+ function Am(i, ...t) {
23373
23377
  return t.reduce((e, a) => (i.hasOwnProperty(a) && (e[a] = i[a]), e), {});
23374
23378
  }
23375
23379
  const uI = fi.setTimeout, cI = fi.clearTimeout;
@@ -23503,28 +23507,28 @@ class gd extends Xt {
23503
23507
  return e.length ? "?" + e : "";
23504
23508
  }
23505
23509
  }
23506
- const Am = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), _l = 64, vI = {};
23507
- let Tu = 0, Zr = 0, Mu;
23508
- function Bu(i) {
23510
+ const bm = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), _l = 64, vI = {};
23511
+ let Mu = 0, Zr = 0, Bu;
23512
+ function Ou(i) {
23509
23513
  let t = "";
23510
23514
  do
23511
- t = Am[i % _l] + t, i = Math.floor(i / _l);
23515
+ t = bm[i % _l] + t, i = Math.floor(i / _l);
23512
23516
  while (i > 0);
23513
23517
  return t;
23514
23518
  }
23515
- function bm() {
23516
- const i = Bu(+/* @__PURE__ */ new Date());
23517
- return i !== Mu ? (Tu = 0, Mu = i) : i + "." + Bu(Tu++);
23519
+ function Cm() {
23520
+ const i = Ou(+/* @__PURE__ */ new Date());
23521
+ return i !== Bu ? (Mu = 0, Bu = i) : i + "." + Ou(Mu++);
23518
23522
  }
23519
23523
  for (; Zr < _l; Zr++)
23520
- vI[Am[Zr]] = Zr;
23521
- let Cm = !1;
23524
+ vI[bm[Zr]] = Zr;
23525
+ let xm = !1;
23522
23526
  try {
23523
- Cm = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
23527
+ xm = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
23524
23528
  } catch {
23525
23529
  }
23526
- const FI = Cm;
23527
- function xm(i) {
23530
+ const FI = xm;
23531
+ function wm(i) {
23528
23532
  const t = i.xdomain;
23529
23533
  try {
23530
23534
  if (typeof XMLHttpRequest < "u" && (!t || FI))
@@ -23540,7 +23544,7 @@ function xm(i) {
23540
23544
  function qI() {
23541
23545
  }
23542
23546
  const YI = function() {
23543
- return new xm({
23547
+ return new wm({
23544
23548
  xdomain: !1
23545
23549
  }).responseType != null;
23546
23550
  }();
@@ -23645,7 +23649,7 @@ class XI extends gd {
23645
23649
  */
23646
23650
  uri() {
23647
23651
  const t = this.opts.secure ? "https" : "http", e = this.query || {};
23648
- return this.opts.timestampRequests !== !1 && (e[this.opts.timestampParam] = bm()), !this.supportsBinary && !e.sid && (e.b64 = 1), this.createUri(t, e);
23652
+ return this.opts.timestampRequests !== !1 && (e[this.opts.timestampParam] = Cm()), !this.supportsBinary && !e.sid && (e.b64 = 1), this.createUri(t, e);
23649
23653
  }
23650
23654
  /**
23651
23655
  * Creates a request.
@@ -23701,9 +23705,9 @@ class Ti extends Xt {
23701
23705
  */
23702
23706
  create() {
23703
23707
  var t;
23704
- const e = ym(this.opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
23708
+ const e = Am(this.opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
23705
23709
  e.xdomain = !!this.opts.xd;
23706
- const a = this.xhr = new xm(e);
23710
+ const a = this.xhr = new wm(e);
23707
23711
  try {
23708
23712
  a.open(this.method, this.uri, !0);
23709
23713
  try {
@@ -23782,17 +23786,17 @@ Ti.requestsCount = 0;
23782
23786
  Ti.requests = {};
23783
23787
  if (typeof document < "u") {
23784
23788
  if (typeof attachEvent == "function")
23785
- attachEvent("onunload", Ou);
23789
+ attachEvent("onunload", $u);
23786
23790
  else if (typeof addEventListener == "function") {
23787
23791
  const i = "onpagehide" in fi ? "pagehide" : "unload";
23788
- addEventListener(i, Ou, !1);
23792
+ addEventListener(i, $u, !1);
23789
23793
  }
23790
23794
  }
23791
- function Ou() {
23795
+ function $u() {
23792
23796
  for (let i in Ti.requests)
23793
23797
  Ti.requests.hasOwnProperty(i) && Ti.requests[i].abort();
23794
23798
  }
23795
- const vd = typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, e) => e(t, 0), Qr = fi.WebSocket || fi.MozWebSocket, $u = !0, yI = "arraybuffer", Pu = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
23799
+ const vd = typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, e) => e(t, 0), Qr = fi.WebSocket || fi.MozWebSocket, Pu = !0, yI = "arraybuffer", Ru = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
23796
23800
  class AI extends gd {
23797
23801
  /**
23798
23802
  * WebSocket transport constructor.
@@ -23809,10 +23813,10 @@ class AI extends gd {
23809
23813
  doOpen() {
23810
23814
  if (!this.check())
23811
23815
  return;
23812
- const t = this.uri(), e = this.opts.protocols, a = Pu ? {} : ym(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
23816
+ const t = this.uri(), e = this.opts.protocols, a = Ru ? {} : Am(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
23813
23817
  this.opts.extraHeaders && (a.headers = this.opts.extraHeaders);
23814
23818
  try {
23815
- this.ws = $u && !Pu ? e ? new Qr(t, e) : new Qr(t) : new Qr(t, e, a);
23819
+ this.ws = Pu && !Ru ? e ? new Qr(t, e) : new Qr(t) : new Qr(t, e, a);
23816
23820
  } catch (s) {
23817
23821
  return this.emitReserved("error", s);
23818
23822
  }
@@ -23838,7 +23842,7 @@ class AI extends gd {
23838
23842
  hd(a, this.supportsBinary, (r) => {
23839
23843
  const n = {};
23840
23844
  try {
23841
- $u && this.ws.send(r);
23845
+ Pu && this.ws.send(r);
23842
23846
  } catch {
23843
23847
  }
23844
23848
  s && vd(() => {
@@ -23857,7 +23861,7 @@ class AI extends gd {
23857
23861
  */
23858
23862
  uri() {
23859
23863
  const t = this.opts.secure ? "wss" : "ws", e = this.query || {};
23860
- return this.opts.timestampRequests && (e[this.opts.timestampParam] = bm()), this.supportsBinary || (e.b64 = 1), this.createUri(t, e);
23864
+ return this.opts.timestampRequests && (e[this.opts.timestampParam] = Cm()), this.supportsBinary || (e.b64 = 1), this.createUri(t, e);
23861
23865
  }
23862
23866
  /**
23863
23867
  * Feature detection for WebSocket.
@@ -23950,7 +23954,7 @@ function kI(i, t) {
23950
23954
  s && (e[s] = r);
23951
23955
  }), e;
23952
23956
  }
23953
- let wm = class as extends Xt {
23957
+ let _m = class as extends Xt {
23954
23958
  /**
23955
23959
  * Socket constructor.
23956
23960
  *
@@ -23993,7 +23997,7 @@ let wm = class as extends Xt {
23993
23997
  */
23994
23998
  createTransport(t) {
23995
23999
  const e = Object.assign({}, this.opts.query);
23996
- e.EIO = Xm, e.transport = t, this.id && (e.sid = this.id);
24000
+ e.EIO = ym, e.transport = t, this.id && (e.sid = this.id);
23997
24001
  const a = Object.assign({}, this.opts, {
23998
24002
  query: e,
23999
24003
  socket: this,
@@ -24255,14 +24259,14 @@ let wm = class as extends Xt {
24255
24259
  return e;
24256
24260
  }
24257
24261
  };
24258
- wm.protocol = Xm;
24262
+ _m.protocol = ym;
24259
24263
  function II(i, t = "", e) {
24260
24264
  let a = i;
24261
24265
  e = e || typeof location < "u" && location, i == null && (i = e.protocol + "//" + e.host), typeof i == "string" && (i.charAt(0) === "/" && (i.charAt(1) === "/" ? i = e.protocol + i : i = e.host + i), /^(https?|wss?):\/\//.test(i) || (typeof e < "u" ? i = e.protocol + "//" + i : i = "https://" + i), a = kl(i)), a.port || (/^(http|ws)$/.test(a.protocol) ? a.port = "80" : /^(http|ws)s$/.test(a.protocol) && (a.port = "443")), a.path = a.path || "/";
24262
24266
  const r = a.host.indexOf(":") !== -1 ? "[" + a.host + "]" : a.host;
24263
24267
  return a.id = a.protocol + "://" + r + ":" + a.port + t, a.href = a.protocol + "://" + r + (e && e.port === a.port ? "" : ":" + a.port), a;
24264
24268
  }
24265
- const DI = typeof ArrayBuffer == "function", SI = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i.buffer instanceof ArrayBuffer, _m = Object.prototype.toString, KI = typeof Blob == "function" || typeof Blob < "u" && _m.call(Blob) === "[object BlobConstructor]", EI = typeof File == "function" || typeof File < "u" && _m.call(File) === "[object FileConstructor]";
24269
+ const DI = typeof ArrayBuffer == "function", SI = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i.buffer instanceof ArrayBuffer, km = Object.prototype.toString, KI = typeof Blob == "function" || typeof Blob < "u" && km.call(Blob) === "[object BlobConstructor]", EI = typeof File == "function" || typeof File < "u" && km.call(File) === "[object FileConstructor]";
24266
24270
  function Fd(i) {
24267
24271
  return DI && (i instanceof ArrayBuffer || SI(i)) || KI && i instanceof Blob || EI && i instanceof File;
24268
24272
  }
@@ -24378,7 +24382,7 @@ class $I {
24378
24382
  return s.unshift(a), s;
24379
24383
  }
24380
24384
  }
24381
- function Ru(i) {
24385
+ function Nu(i) {
24382
24386
  return Object.prototype.toString.call(i) === "[object Object]";
24383
24387
  }
24384
24388
  class qd extends Xt {
@@ -24473,11 +24477,11 @@ class qd extends Xt {
24473
24477
  static isPayloadValid(t, e) {
24474
24478
  switch (t) {
24475
24479
  case Ne.CONNECT:
24476
- return Ru(e);
24480
+ return Nu(e);
24477
24481
  case Ne.DISCONNECT:
24478
24482
  return e === void 0;
24479
24483
  case Ne.CONNECT_ERROR:
24480
- return typeof e == "string" || Ru(e);
24484
+ return typeof e == "string" || Nu(e);
24481
24485
  case Ne.EVENT:
24482
24486
  case Ne.BINARY_EVENT:
24483
24487
  return Array.isArray(e) && (typeof e[0] == "number" || typeof e[0] == "string" && BI.indexOf(e[0]) === -1);
@@ -24542,7 +24546,7 @@ const NI = Object.freeze({
24542
24546
  newListener: 1,
24543
24547
  removeListener: 1
24544
24548
  });
24545
- class km extends Xt {
24549
+ class Im extends Xt {
24546
24550
  /**
24547
24551
  * `Socket` constructor.
24548
24552
  */
@@ -25193,7 +25197,7 @@ class Sl extends Xt {
25193
25197
  open(t) {
25194
25198
  if (~this._readyState.indexOf("open"))
25195
25199
  return this;
25196
- this.engine = new wm(this.uri, this.opts);
25200
+ this.engine = new _m(this.uri, this.opts);
25197
25201
  const e = this.engine, a = this;
25198
25202
  this._readyState = "opening", this.skipReconnect = !1;
25199
25203
  const s = Fi(e, "open", function() {
@@ -25276,7 +25280,7 @@ class Sl extends Xt {
25276
25280
  */
25277
25281
  socket(t, e) {
25278
25282
  let a = this.nsps[t];
25279
- return a ? this._autoConnect && !a.active && a.connect() : (a = new km(this, t, e), this.nsps[t] = a), a;
25283
+ return a ? this._autoConnect && !a.active && a.connect() : (a = new Im(this, t, e), this.nsps[t] = a), a;
25280
25284
  }
25281
25285
  /**
25282
25286
  * Called upon a socket close.
@@ -25377,7 +25381,7 @@ function cn(i, t) {
25377
25381
  }
25378
25382
  Object.assign(cn, {
25379
25383
  Manager: Sl,
25380
- Socket: km,
25384
+ Socket: Im,
25381
25385
  io: cn,
25382
25386
  connect: cn
25383
25387
  });
@@ -25386,7 +25390,7 @@ function DK() {
25386
25390
  return {
25387
25391
  initCollab: () => {
25388
25392
  var b, X, k, C, E, L, J, ae, $;
25389
- const d = Ol(), u = sc(), c = rc(), f = dc(), F = oc(), p = lc(), g = fc(), q = uc(), x = cc(), v = mc();
25393
+ const d = Ol(), u = rc(), c = nc(), f = uc(), F = lc(), p = dc(), g = mc(), q = cc(), x = fc(), v = pc();
25390
25394
  r.value || !i || (r.value = cn(t, {
25391
25395
  transports: ["websocket"],
25392
25396
  path: "/ws",
@@ -25447,7 +25451,7 @@ function DK() {
25447
25451
  }
25448
25452
  const LI = T(/* @__PURE__ */ new Set());
25449
25453
  function SK(i, t = void 0, e = void 0) {
25450
- const { collabSocket: a, collabRoomInfoState: s, collabFieldDataBufferState: r, collabFieldLocksState: n } = Bn(), l = sc(), o = T(), d = T(), u = dc(), c = T(), f = T(), F = oc(), p = T(), g = T(), q = lc(), x = T(), v = T(), b = fc(), X = T(), k = T(), C = uc(), E = T(), L = T(), J = cc(), ae = T(), $ = T(), z = mc(), B = T(), _ = T(), y = rc(), A = T(), K = T(), M = () => {
25454
+ const { collabSocket: a, collabRoomInfoState: s, collabFieldDataBufferState: r, collabFieldLocksState: n } = Bn(), l = rc(), o = T(), d = T(), u = uc(), c = T(), f = T(), F = lc(), p = T(), g = T(), q = dc(), x = T(), v = T(), b = mc(), X = T(), k = T(), C = cc(), E = T(), L = T(), J = fc(), ae = T(), $ = T(), z = pc(), B = T(), _ = T(), y = nc(), A = T(), K = T(), M = () => {
25451
25455
  Ae(d.value) && d.value();
25452
25456
  }, G = (pe) => {
25453
25457
  pe.room === i && Ae(f.value) && f.value(pe.userId, pe.timestamp);
@@ -25490,7 +25494,7 @@ function SK(i, t = void 0, e = void 0) {
25490
25494
  }, me = (pe) => {
25491
25495
  K.value = pe, A.value = y.on(xe);
25492
25496
  };
25493
- Wm() && za(() => {
25497
+ Gm() && za(() => {
25494
25498
  Ae(c.value) && c.value(), Ae(p.value) && p.value(), Ae(x.value) && x.value(), Ae(X.value) && X.value(), Ae(E.value) && E.value(), Ae(ae.value) && ae.value(), Ae(B.value) && B.value(), Ae(A.value) && A.value();
25495
25499
  });
25496
25500
  const { enabled: ke } = Cs(), tt = () => {
@@ -25621,233 +25625,233 @@ function EK(i) {
25621
25625
  };
25622
25626
  }
25623
25627
  export {
25624
- qg as $,
25628
+ lS as $,
25625
25629
  bS as A,
25626
- ph as B,
25627
- ND as C,
25628
- LD as D,
25629
- Li as E,
25630
- HD as F,
25631
- zD as G,
25632
- dg as H,
25633
- CS as I,
25634
- WD as J,
25635
- GD as K,
25636
- oS as L,
25637
- dV as M,
25638
- gn as N,
25639
- Tc as O,
25640
- wS as P,
25641
- _S as Q,
25642
- kS as R,
25643
- Fg as S,
25644
- IS as T,
25645
- DS as U,
25646
- SS as V,
25647
- eV as W,
25648
- iV as X,
25649
- tV as Y,
25650
- lS as Z,
25630
+ Ll as B,
25631
+ ph as C,
25632
+ ND as D,
25633
+ LD as E,
25634
+ Li as F,
25635
+ HD as G,
25636
+ zD as H,
25637
+ dg as I,
25638
+ CS as J,
25639
+ WD as K,
25640
+ GD as L,
25641
+ oS as M,
25642
+ dV as N,
25643
+ gn as O,
25644
+ Mc as P,
25645
+ wS as Q,
25646
+ _S as R,
25647
+ kS as S,
25648
+ Fg as T,
25649
+ IS as U,
25650
+ DS as V,
25651
+ SS as W,
25652
+ eV as X,
25653
+ iV as Y,
25654
+ tV as Z,
25651
25655
  TD as _,
25652
- _p as a,
25653
- fg as a$,
25654
- KS as a0,
25655
- ES as a1,
25656
- TS as a2,
25657
- MS as a3,
25658
- BS as a4,
25659
- OS as a5,
25660
- xS as a6,
25661
- al as a7,
25662
- $S as a8,
25663
- PS as a9,
25664
- hr as aA,
25665
- xf as aB,
25666
- Xg as aC,
25667
- Sc as aD,
25668
- XV as aE,
25669
- IK as aF,
25670
- oK as aG,
25671
- lK as aH,
25672
- I7 as aI,
25673
- QS as aJ,
25674
- Jt as aK,
25675
- z7 as aL,
25676
- j7 as aM,
25677
- Xf as aN,
25678
- Uo as aO,
25679
- aK as aP,
25680
- Vq as aQ,
25681
- O7 as aR,
25682
- mX as aS,
25683
- rX as aT,
25684
- iX as aU,
25685
- Jc as aV,
25686
- jS as aW,
25687
- tn as aX,
25688
- Cc as aY,
25656
+ kp as a,
25657
+ aV as a$,
25658
+ qg as a0,
25659
+ KS as a1,
25660
+ ES as a2,
25661
+ TS as a3,
25662
+ MS as a4,
25663
+ BS as a5,
25664
+ OS as a6,
25665
+ xS as a7,
25666
+ al as a8,
25667
+ $S as a9,
25668
+ Bb as aA,
25669
+ hr as aB,
25670
+ wf as aC,
25671
+ Xg as aD,
25672
+ Kc as aE,
25673
+ XV as aF,
25674
+ IK as aG,
25675
+ oK as aH,
25676
+ lK as aI,
25677
+ I7 as aJ,
25678
+ QS as aK,
25679
+ Jt as aL,
25680
+ z7 as aM,
25681
+ j7 as aN,
25682
+ yf as aO,
25683
+ Uo as aP,
25684
+ aK as aQ,
25685
+ Vq as aR,
25686
+ O7 as aS,
25687
+ mX as aT,
25688
+ rX as aU,
25689
+ iX as aV,
25690
+ Zc as aW,
25691
+ jS as aX,
25692
+ tn as aY,
25689
25693
  xc as aZ,
25690
- aV as a_,
25691
- Oc as aa,
25692
- US as ab,
25693
- WS as ac,
25694
- GS as ad,
25695
- JS as ae,
25696
- B7 as af,
25697
- gl as ag,
25698
- sK as ah,
25699
- td as ai,
25700
- rK as aj,
25701
- nK as ak,
25702
- By as al,
25703
- Ua as am,
25704
- Qc as an,
25705
- RS as ao,
25706
- NS as ap,
25707
- LS as aq,
25708
- zS as ar,
25709
- Ga as as,
25710
- vS as at,
25711
- ws as au,
25712
- Rl as av,
25713
- mY as aw,
25714
- ot as ax,
25715
- hK as ay,
25716
- Bb as az,
25694
+ wc as a_,
25695
+ PS as aa,
25696
+ $c as ab,
25697
+ US as ac,
25698
+ WS as ad,
25699
+ GS as ae,
25700
+ JS as af,
25701
+ B7 as ag,
25702
+ gl as ah,
25703
+ sK as ai,
25704
+ td as aj,
25705
+ rK as ak,
25706
+ nK as al,
25707
+ By as am,
25708
+ Ua as an,
25709
+ ef as ao,
25710
+ RS as ap,
25711
+ NS as aq,
25712
+ LS as ar,
25713
+ zS as as,
25714
+ Ga as at,
25715
+ vS as au,
25716
+ ws as av,
25717
+ Rl as aw,
25718
+ mY as ax,
25719
+ ot as ay,
25720
+ hK as az,
25717
25721
  Kt as b,
25718
- ni as b$,
25719
- mg as b0,
25720
- nV as b1,
25721
- oV as b2,
25722
- gK as b3,
25723
- Kc as b4,
25724
- kK as b5,
25725
- Di as b6,
25726
- gs as b7,
25727
- L7 as b8,
25728
- Fr as b9,
25729
- Ip as bA,
25730
- ue as bB,
25731
- P as bC,
25732
- Ae as bD,
25733
- Dp as bE,
25734
- ri as bF,
25735
- Kn as bG,
25736
- mS as bH,
25737
- _c as bI,
25738
- rV as bJ,
25739
- pS as bK,
25740
- wc as bL,
25741
- Xs as bM,
25742
- Ad as bN,
25743
- MD as bO,
25744
- sa as bP,
25745
- BD as bQ,
25746
- Kp as bR,
25747
- $D as bS,
25748
- PD as bT,
25749
- Ep as bU,
25750
- OD as bV,
25751
- On as bW,
25752
- $n as bX,
25753
- ZD as bY,
25754
- eS as bZ,
25755
- QD as b_,
25756
- eK as ba,
25757
- tK as bb,
25758
- iK as bc,
25759
- Ge as bd,
25760
- Ql as be,
25761
- Pt as bf,
25762
- ZS as bg,
25763
- Xe as bh,
25764
- at as bi,
25765
- vv as bj,
25766
- Fv as bk,
25767
- qv as bl,
25768
- Nc as bm,
25769
- Nr as bn,
25770
- Uf as bo,
25771
- uK as bp,
25772
- cK as bq,
25773
- fK as br,
25774
- Te as bs,
25775
- yd as bt,
25776
- Tn as bu,
25777
- En as bv,
25778
- Sp as bw,
25779
- At as bx,
25780
- kp as by,
25781
- il as bz,
25722
+ QD as b$,
25723
+ fg as b0,
25724
+ mg as b1,
25725
+ nV as b2,
25726
+ oV as b3,
25727
+ gK as b4,
25728
+ Ec as b5,
25729
+ kK as b6,
25730
+ Di as b7,
25731
+ gs as b8,
25732
+ L7 as b9,
25733
+ il as bA,
25734
+ Dp as bB,
25735
+ ue as bC,
25736
+ P as bD,
25737
+ Ae as bE,
25738
+ Sp as bF,
25739
+ ri as bG,
25740
+ Kn as bH,
25741
+ mS as bI,
25742
+ kc as bJ,
25743
+ rV as bK,
25744
+ pS as bL,
25745
+ _c as bM,
25746
+ Xs as bN,
25747
+ Ad as bO,
25748
+ MD as bP,
25749
+ sa as bQ,
25750
+ BD as bR,
25751
+ Ep as bS,
25752
+ $D as bT,
25753
+ PD as bU,
25754
+ Tp as bV,
25755
+ OD as bW,
25756
+ On as bX,
25757
+ $n as bY,
25758
+ ZD as bZ,
25759
+ eS as b_,
25760
+ Fr as ba,
25761
+ eK as bb,
25762
+ tK as bc,
25763
+ iK as bd,
25764
+ Ge as be,
25765
+ Ql as bf,
25766
+ Pt as bg,
25767
+ ZS as bh,
25768
+ Xe as bi,
25769
+ at as bj,
25770
+ vv as bk,
25771
+ Fv as bl,
25772
+ qv as bm,
25773
+ Lc as bn,
25774
+ Nr as bo,
25775
+ jf as bp,
25776
+ uK as bq,
25777
+ cK as br,
25778
+ fK as bs,
25779
+ Te as bt,
25780
+ yd as bu,
25781
+ Tn as bv,
25782
+ En as bw,
25783
+ Kp as bx,
25784
+ At as by,
25785
+ Ip as bz,
25782
25786
  vg as c,
25783
- KK as c$,
25784
- aS as c0,
25785
- Ra as c1,
25786
- tS as c2,
25787
- Hh as c3,
25788
- jh as c4,
25789
- JD as c5,
25790
- iS as c6,
25791
- sS as c7,
25792
- rS as c8,
25793
- nS as c9,
25794
- lV as cA,
25795
- LX as cB,
25796
- zX as cC,
25797
- bK as cD,
25798
- CK as cE,
25799
- xK as cF,
25800
- Ri as cG,
25801
- Ni as cH,
25802
- ic as cI,
25787
+ SK as c$,
25788
+ ni as c0,
25789
+ aS as c1,
25790
+ Ra as c2,
25791
+ tS as c3,
25792
+ Hh as c4,
25793
+ jh as c5,
25794
+ JD as c6,
25795
+ iS as c7,
25796
+ sS as c8,
25797
+ rS as c9,
25798
+ lg as cA,
25799
+ lV as cB,
25800
+ LX as cC,
25801
+ zX as cD,
25802
+ bK as cE,
25803
+ CK as cF,
25804
+ xK as cG,
25805
+ Ri as cH,
25806
+ Ni as cI,
25803
25807
  ac as cJ,
25804
- Ha as cK,
25805
- $l as cL,
25806
- ra as cM,
25807
- UD as cN,
25808
- jD as cO,
25809
- Ih as cP,
25810
- vc as cQ,
25811
- Nl as cR,
25812
- Xc as cS,
25813
- Td as cT,
25814
- Wa as cU,
25815
- DK as cV,
25816
- Cs as cW,
25817
- rh as cX,
25818
- Bn as cY,
25819
- ja as cZ,
25820
- SK as c_,
25821
- Ln as ca,
25822
- xa as cb,
25823
- Ec as cc,
25824
- dK as cd,
25825
- qK as ce,
25826
- YK as cf,
25827
- XK as cg,
25828
- $b as ch,
25829
- yK as ci,
25830
- Pb as cj,
25831
- AK as ck,
25832
- bi as cl,
25833
- ga as cm,
25834
- HS as cn,
25835
- mK as co,
25836
- Hn as cp,
25837
- Bf as cq,
25838
- ed as cr,
25839
- Vr as cs,
25840
- pK as ct,
25841
- pi as cu,
25842
- Mf as cv,
25843
- Rn as cw,
25844
- VK as cx,
25845
- vK as cy,
25846
- lg as cz,
25808
+ sc as cK,
25809
+ Ha as cL,
25810
+ $l as cM,
25811
+ ra as cN,
25812
+ UD as cO,
25813
+ jD as cP,
25814
+ Ih as cQ,
25815
+ Fc as cR,
25816
+ Nl as cS,
25817
+ yc as cT,
25818
+ Md as cU,
25819
+ Wa as cV,
25820
+ DK as cW,
25821
+ Cs as cX,
25822
+ rh as cY,
25823
+ Bn as cZ,
25824
+ ja as c_,
25825
+ nS as ca,
25826
+ Ln as cb,
25827
+ xa as cc,
25828
+ Tc as cd,
25829
+ dK as ce,
25830
+ qK as cf,
25831
+ YK as cg,
25832
+ XK as ch,
25833
+ $b as ci,
25834
+ yK as cj,
25835
+ Pb as ck,
25836
+ AK as cl,
25837
+ bi as cm,
25838
+ ga as cn,
25839
+ HS as co,
25840
+ mK as cp,
25841
+ Hn as cq,
25842
+ Of as cr,
25843
+ ed as cs,
25844
+ Vr as ct,
25845
+ pK as cu,
25846
+ pi as cv,
25847
+ Bf as cw,
25848
+ Rn as cx,
25849
+ VK as cy,
25850
+ vK as cz,
25847
25851
  ED as d,
25848
- EK as d0,
25849
- Ol as d1,
25850
- sc as d2,
25852
+ KK as d0,
25853
+ EK as d1,
25854
+ Ol as d2,
25851
25855
  rc as d3,
25852
25856
  nc as d4,
25853
25857
  oc as d5,
@@ -25855,43 +25859,46 @@ export {
25855
25859
  dc as d7,
25856
25860
  uc as d8,
25857
25861
  cc as d9,
25858
- ji as dA,
25859
- gc as dB,
25860
- It as dC,
25861
- FK as dD,
25862
- wK as dE,
25863
- _K as dF,
25864
- U7 as dG,
25865
- ls as dH,
25866
- gF as dI,
25867
- cl as dJ,
25868
- Gc as dK,
25862
+ Hi as dA,
25863
+ Yc as dB,
25864
+ Ui as dC,
25865
+ ji as dD,
25866
+ vc as dE,
25867
+ It as dF,
25868
+ FK as dG,
25869
+ wK as dH,
25870
+ _K as dI,
25871
+ U7 as dJ,
25872
+ ls as dK,
25873
+ gF as dL,
25874
+ cl as dM,
25875
+ Jc as dN,
25869
25876
  fc as da,
25870
25877
  mc as db,
25871
- ss as dc,
25872
- rs as dd,
25873
- kr as de,
25874
- Jp as df,
25875
- fs as dg,
25876
- sl as dh,
25877
- pc as di,
25878
- Cd as dj,
25879
- xd as dk,
25880
- RD as dl,
25881
- uo as dm,
25882
- co as dn,
25883
- $e as dp,
25884
- Fc as dq,
25885
- na as dr,
25886
- zi as ds,
25887
- Yc as dt,
25888
- oa as du,
25889
- Th as dv,
25890
- la as dw,
25891
- Hi as dx,
25892
- qc as dy,
25893
- Ui as dz,
25894
- bp as e,
25878
+ pc as dc,
25879
+ ss as dd,
25880
+ rs as de,
25881
+ kr as df,
25882
+ Zp as dg,
25883
+ fs as dh,
25884
+ sl as di,
25885
+ hc as dj,
25886
+ Cd as dk,
25887
+ xd as dl,
25888
+ RD as dm,
25889
+ uo as dn,
25890
+ co as dp,
25891
+ zI as dq,
25892
+ UI as dr,
25893
+ $e as ds,
25894
+ qc as dt,
25895
+ na as du,
25896
+ zi as dv,
25897
+ Xc as dw,
25898
+ oa as dx,
25899
+ Th as dy,
25900
+ la as dz,
25901
+ Cp as e,
25895
25902
  cS as f,
25896
25903
  Pl as g,
25897
25904
  fS as h,
@@ -25906,7 +25913,7 @@ export {
25906
25913
  YS as q,
25907
25914
  rg as r,
25908
25915
  uS as s,
25909
- bc as t,
25916
+ Cc as t,
25910
25917
  dS as u,
25911
25918
  AS as v,
25912
25919
  yS as w,
@@ -25914,4 +25921,4 @@ export {
25914
25921
  gS as y,
25915
25922
  or as z
25916
25923
  };
25917
- //# sourceMappingURL=lib-oAhTBmxM.js.map
25924
+ //# sourceMappingURL=lib-O27Tp2eD.js.map