@anzusystems/common-admin 1.47.0-beta.dev-1775683200 → 1.47.0-beta.dev-1775683400

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.
@@ -2,8 +2,8 @@ import { defineComponent as H, computed as k, openBlock as v, createBlock as C,
2
2
  import { useI18n as se } from "vue-i18n";
3
3
  import { useI18n as vT } from "vue-i18n";
4
4
  import { VChip as $t } from "vuetify/components/VChip";
5
- import { _ as na, u as Ra, i as De, a as oi, C as ea, b as ta, S as Ua, c as Na, d as _, s as fs, e as ya, f as St, g as Se, h as ne, j as ca, k as Hu, l as Mt, m as Ze, n as xs, o as Oe, p as et, q as $l, r as So, t as Wu, v as Gu, w as Bl, x as sa, y as xr, z as ei, A as Oa, B as Ju, D as Zu, E as Lt, F as zo, G as Pl, H as Zt, I as Qu, J as Ki, K as ec, L as Gr, M as _l, N as Ll, O as zl, P as Rl, Q as Ul, R as Nl, T as Ol, U as jl, V as Hl, W as Ct, X as bo, Y as xo, Z as $n, $ as Bn, a0 as tc, a1 as Wl, a2 as Di, a3 as Gl, a4 as Jl, a5 as Cr, a6 as ac, a7 as kr, a8 as ja, a9 as Ha, aa as Ss, ab as Ks, ac as Vs, ad as Ds, ae as Ts, af as Es, ag as Ya, ah as Wa, ai as Ga, aj as ri, ak as Ti, al as Ei, am as Mi, an as $i, ao as Bi, ap as Zl, aq as Ql, ar as Ro, as as Jr, at as Ir, au as sc, av as ed, aw as td, ax as ic, ay as Ka, az as Da, aA as Zr, aB as oc, aC as rc, aD as wr, aE as nr, aF as nc, aG as ad, aH as sd, aI as id, aJ as lc, aK as Ms, aL as od, aM as dc, aN as Sr, aO as uc, aP as Pn, aQ as Xs, aR as cc, aS as rd, aT as nd, aU as ld, aV as Kr, aW as _n, aX as mc, aY as fc, aZ as Vc, a_ as Dr, a$ as vc, b0 as gc, b1 as Fc, b2 as pc, b3 as hc, b4 as qc, b5 as yc, b6 as Yc, b7 as dd, b8 as Xc, b9 as Ln, ba as so, bb as zn, bc as Rn, bd as Qr } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-_07nGoQb.mjs";
6
- import { be as FT, bf as pT, bg as hT, bh as qT, bi as yT, bj as YT, bk as XT, bl as AT, bm as bT, bn as xT, bo as CT, bp as kT, bq as IT, br as wT, bs as ST, bt as KT, bu as DT, bv as TT, bw as ET, bx as MT, by as $T, bz as BT, bA as PT, bB as _T, bC as LT, bD as zT, bE as RT, bF as UT, bG as NT, bH as OT, bI as jT, bJ as HT, bK as WT, bL as GT, bM as JT, bN as ZT, bO as QT, bP as e3, bQ as t3, bR as a3, bS as s3, bT as i3, bU as o3 } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-_07nGoQb.mjs";
5
+ import { _ as na, u as Ra, i as De, a as oi, C as ea, b as ta, S as Ua, c as Na, d as _, s as fs, e as ya, f as St, g as Se, h as ne, j as ca, k as Hu, l as Mt, m as Ze, n as xs, o as Oe, p as et, q as $l, r as So, t as Wu, v as Gu, w as Bl, x as sa, y as xr, z as ei, A as Oa, B as Ju, D as Zu, E as Lt, F as zo, G as Pl, H as Zt, I as Qu, J as Ki, K as ec, L as Gr, M as _l, N as Ll, O as zl, P as Rl, Q as Ul, R as Nl, T as Ol, U as jl, V as Hl, W as Ct, X as bo, Y as xo, Z as $n, $ as Bn, a0 as tc, a1 as Wl, a2 as Di, a3 as Gl, a4 as Jl, a5 as Cr, a6 as ac, a7 as kr, a8 as ja, a9 as Ha, aa as Ss, ab as Ks, ac as Vs, ad as Ds, ae as Ts, af as Es, ag as Ya, ah as Wa, ai as Ga, aj as ri, ak as Ti, al as Ei, am as Mi, an as $i, ao as Bi, ap as Zl, aq as Ql, ar as Ro, as as Jr, at as Ir, au as sc, av as ed, aw as td, ax as ic, ay as Ka, az as Da, aA as Zr, aB as oc, aC as rc, aD as wr, aE as nr, aF as nc, aG as ad, aH as sd, aI as id, aJ as lc, aK as Ms, aL as od, aM as dc, aN as Sr, aO as uc, aP as Pn, aQ as Xs, aR as cc, aS as rd, aT as nd, aU as ld, aV as Kr, aW as _n, aX as mc, aY as fc, aZ as Vc, a_ as Dr, a$ as vc, b0 as gc, b1 as Fc, b2 as pc, b3 as hc, b4 as qc, b5 as yc, b6 as Yc, b7 as dd, b8 as Xc, b9 as Ln, ba as so, bb as zn, bc as Rn, bd as Qr } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs";
6
+ import { be as FT, bf as pT, bg as hT, bh as qT, bi as yT, bj as YT, bk as XT, bl as AT, bm as bT, bn as xT, bo as CT, bp as kT, bq as IT, br as wT, bs as ST, bt as KT, bu as DT, bv as TT, bw as ET, bx as MT, by as $T, bz as BT, bA as PT, bB as _T, bC as LT, bD as zT, bE as RT, bF as UT, bG as NT, bH as OT, bI as jT, bJ as HT, bK as WT, bL as GT, bM as JT, bN as ZT, bO as QT, bP as e3, bQ as t3, bR as a3, bS as s3, bT as i3, bU as o3 } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs";
7
7
  import { VAlert as hi } from "vuetify/components/VAlert";
8
8
  import { VIcon as ae } from "vuetify/components/VIcon";
9
9
  import { VProgressCircular as Le } from "vuetify/components/VProgressCircular";
@@ -1714,7 +1714,7 @@ const bm = /* @__PURE__ */ H({
1714
1714
  }), B.value.forEach((Ce) => {
1715
1715
  Q.set(Ce.value, { value: Ce.value, title: Ce.title, subtitle: Ce.subtitle });
1716
1716
  }), Array.from(Q, ([Ce, qe]) => ({ value: Ce, title: qe.title, subtitle: qe.subtitle }));
1717
- }), I = T(!1), z = k(() => I.value ? !0 : t.loading), L = async (Q, Ce) => {
1717
+ }), I = T(!1), L = k(() => I.value ? !0 : t.loading), z = async (Q, Ce) => {
1718
1718
  I.value = !0;
1719
1719
  const qe = w.value[t.filterByField];
1720
1720
  if (_(qe))
@@ -1754,7 +1754,7 @@ const bm = /* @__PURE__ */ H({
1754
1754
  _i(
1755
1755
  h,
1756
1756
  (Q, Ce) => {
1757
- Q !== Ce && (n.value++, L(Q, n.value), s("searchChangeDebounced", Q));
1757
+ Q !== Ce && (n.value++, z(Q, n.value), s("searchChangeDebounced", Q));
1758
1758
  },
1759
1759
  { debounce: 300 }
1760
1760
  ), Xe(h, (Q, Ce) => {
@@ -1817,7 +1817,7 @@ const bm = /* @__PURE__ */ H({
1817
1817
  "error-messages": b.value,
1818
1818
  chips: e.chips || e.multiple,
1819
1819
  "hide-details": e.hideDetails,
1820
- loading: z.value,
1820
+ loading: L.value,
1821
1821
  disabled: x.value,
1822
1822
  "return-object": "",
1823
1823
  autocomplete: "off",
@@ -2154,25 +2154,25 @@ const bm = /* @__PURE__ */ H({
2154
2154
  r.value = !0;
2155
2155
  }, g = k(() => t.modelValue.titleT ? c(t.modelValue.titleT) : void 0), h = k(() => t.modelValue.multiple !== !1), F = Ki(t.filterSortBy), p = T([]), q = T([]), w = k(() => {
2156
2156
  const I = /* @__PURE__ */ new Map();
2157
- return q.value.forEach((z) => {
2158
- I.set(z.value, { value: z.value, title: z.title, subtitle: z.subtitle });
2159
- }), p.value.forEach((z) => {
2160
- I.set(z.value, { value: z.value, title: z.title, subtitle: z.subtitle });
2161
- }), Array.from(I, ([z, L]) => ({ value: z, title: L.title, subtitle: L.subtitle }));
2162
- }), X = T(!1), K = async (I, z) => {
2157
+ return q.value.forEach((L) => {
2158
+ I.set(L.value, { value: L.value, title: L.title, subtitle: L.subtitle });
2159
+ }), p.value.forEach((L) => {
2160
+ I.set(L.value, { value: L.value, title: L.title, subtitle: L.subtitle });
2161
+ }), Array.from(I, ([L, z]) => ({ value: L, title: z.title, subtitle: z.subtitle }));
2162
+ }), X = T(!1), K = async (I, L) => {
2163
2163
  X.value = !0;
2164
- const L = f.value[t.filterByField];
2165
- L.model = I;
2164
+ const z = f.value[t.filterByField];
2165
+ z.model = I;
2166
2166
  const W = await t.fetchItems(F, f.value);
2167
- z === l.value && (p.value = W), X.value = !1;
2167
+ L === l.value && (p.value = W), X.value = !1;
2168
2168
  }, Y = (I) => {
2169
- const z = w.value.filter(
2170
- (L) => I.includes(L.value)
2169
+ const L = w.value.filter(
2170
+ (z) => I.includes(z.value)
2171
2171
  );
2172
- return [].concat(z);
2172
+ return [].concat(L);
2173
2173
  }, b = async (I) => {
2174
- let z = 1, L = [];
2175
- return et(I) ? (z = I.length, L = Y(I)) : L = Y([I]), q.value = L, L.length === z;
2174
+ let L = 1, z = [];
2175
+ return et(I) ? (L = I.length, z = Y(I)) : z = Y([I]), q.value = z, z.length === L;
2176
2176
  }, y = T(!1), D = () => {
2177
2177
  clearTimeout(n.value), n.value = void 0;
2178
2178
  }, x = async () => {
@@ -2196,8 +2196,8 @@ const bm = /* @__PURE__ */ H({
2196
2196
  }, O = k(() => _(t.placeholder) ? t.modelValue.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : t.modelValue.variant === "eq" ? c("common.model.filterPlaceholder.eq") : t.modelValue.variant === "contains" || t.modelValue.variant === "search" ? c("common.model.filterPlaceholder.contains") : "" : t.placeholder);
2197
2197
  return Xe(
2198
2198
  o,
2199
- async (I, z) => {
2200
- if (I === z) return;
2199
+ async (I, L) => {
2200
+ if (I === L) return;
2201
2201
  if (ne(I) || _(I) || et(I) && I.length === 0) {
2202
2202
  if (q.value = [], t.disableInitFetch || y.value === !0) return;
2203
2203
  n.value = setTimeout(() => {
@@ -2216,13 +2216,13 @@ const bm = /* @__PURE__ */ H({
2216
2216
  { immediate: !0 }
2217
2217
  ), _i(
2218
2218
  i,
2219
- (I, z) => {
2220
- l.value++, I !== z && (l.value++, K(I, l.value));
2219
+ (I, L) => {
2220
+ l.value++, I !== L && (l.value++, K(I, l.value));
2221
2221
  },
2222
2222
  { debounce: 300 }
2223
- ), (I, z) => (v(), C($s, {
2223
+ ), (I, L) => (v(), C($s, {
2224
2224
  modelValue: o.value,
2225
- "onUpdate:modelValue": z[0] || (z[0] = (L) => o.value = L),
2225
+ "onUpdate:modelValue": L[0] || (L[0] = (z) => o.value = z),
2226
2226
  items: w.value,
2227
2227
  "no-filter": "",
2228
2228
  placeholder: O.value,
@@ -2236,8 +2236,8 @@ const bm = /* @__PURE__ */ H({
2236
2236
  onFocus: $,
2237
2237
  "onClick:clear": U
2238
2238
  }, {
2239
- item: m(({ props: L, internalItem: W }) => [
2240
- u(je, Qe(L, {
2239
+ item: m(({ props: z, internalItem: W }) => [
2240
+ u(je, Qe(z, {
2241
2241
  title: W.raw.title,
2242
2242
  subtitle: W.raw.subtitle
2243
2243
  }), null, 16, ["title", "subtitle"])
@@ -2274,26 +2274,26 @@ const bm = /* @__PURE__ */ H({
2274
2274
  }), i = T(""), r = T(!1), n = T(void 0), l = T(0), { t: c } = se(), { innerFilter: f } = Is(t), V = () => {
2275
2275
  r.value = !0;
2276
2276
  }, g = k(() => t.modelValue.titleT ? c(t.modelValue.titleT) : void 0), h = k(() => t.modelValue.multiple !== !1), F = Ki(t.filterSortBy), p = T([]), q = T([]), w = k(() => {
2277
- const I = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map();
2278
- return q.value.forEach((L) => {
2279
- L.raw ? (I.set(L.raw[t.itemValue], L.raw[t.itemTitle]), z.set(L.raw[t.itemValue], Se(L.raw))) : (I.set(L[t.itemValue], L[t.itemTitle]), z.set(L[t.itemValue], Se(L)));
2280
- }), p.value.forEach((L) => {
2281
- L.raw ? (I.set(L.raw[t.itemValue], L.raw[t.itemTitle]), z.set(L.raw[t.itemValue], Se(L.raw))) : (I.set(L[t.itemValue], L[t.itemTitle]), z.set(L[t.itemValue], Se(L)));
2282
- }), Array.from(I, ([L, W]) => ({ value: L, title: W, raw: z.get(L) }));
2283
- }), X = T(!1), K = async (I, z) => {
2277
+ const I = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map();
2278
+ return q.value.forEach((z) => {
2279
+ z.raw ? (I.set(z.raw[t.itemValue], z.raw[t.itemTitle]), L.set(z.raw[t.itemValue], Se(z.raw))) : (I.set(z[t.itemValue], z[t.itemTitle]), L.set(z[t.itemValue], Se(z)));
2280
+ }), p.value.forEach((z) => {
2281
+ z.raw ? (I.set(z.raw[t.itemValue], z.raw[t.itemTitle]), L.set(z.raw[t.itemValue], Se(z.raw))) : (I.set(z[t.itemValue], z[t.itemTitle]), L.set(z[t.itemValue], Se(z)));
2282
+ }), Array.from(I, ([z, W]) => ({ value: z, title: W, raw: L.get(z) }));
2283
+ }), X = T(!1), K = async (I, L) => {
2284
2284
  X.value = !0;
2285
- const L = f.value[t.filterByField];
2286
- L.model = I;
2285
+ const z = f.value[t.filterByField];
2286
+ z.model = I;
2287
2287
  const W = await t.fetchItemsMinimal(F, f.value);
2288
- z === l.value && (p.value = W), X.value = !1;
2288
+ L === l.value && (p.value = W), X.value = !1;
2289
2289
  }, Y = (I) => {
2290
- const z = w.value.filter(
2291
- (L) => I.includes(L.value)
2290
+ const L = w.value.filter(
2291
+ (z) => I.includes(z.value)
2292
2292
  );
2293
- return [].concat(z);
2293
+ return [].concat(L);
2294
2294
  }, b = async (I) => {
2295
- let z = 1, L = [];
2296
- return et(I) ? (z = I.length, L = Y(I)) : L = Y([I]), q.value = L, L.length === z;
2295
+ let L = 1, z = [];
2296
+ return et(I) ? (L = I.length, z = Y(I)) : z = Y([I]), q.value = z, z.length === L;
2297
2297
  }, y = T(!1), D = () => {
2298
2298
  clearTimeout(n.value), n.value = void 0;
2299
2299
  }, x = async () => {
@@ -2317,8 +2317,8 @@ const bm = /* @__PURE__ */ H({
2317
2317
  }, O = k(() => _(t.placeholder) ? t.modelValue.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : t.modelValue.variant === "eq" ? c("common.model.filterPlaceholder.eq") : t.modelValue.variant === "contains" || t.modelValue.variant === "search" ? c("common.model.filterPlaceholder.contains") : "" : t.placeholder);
2318
2318
  return Xe(
2319
2319
  o,
2320
- async (I, z) => {
2321
- if (I === z) return;
2320
+ async (I, L) => {
2321
+ if (I === L) return;
2322
2322
  if (ne(I) || _(I) || et(I) && I.length === 0) {
2323
2323
  if (q.value = [], t.disableInitFetch || y.value === !0) return;
2324
2324
  n.value = setTimeout(() => {
@@ -2339,13 +2339,13 @@ const bm = /* @__PURE__ */ H({
2339
2339
  { immediate: !0 }
2340
2340
  ), _i(
2341
2341
  i,
2342
- (I, z) => {
2343
- l.value++, I !== z && (l.value++, K(I, l.value));
2342
+ (I, L) => {
2343
+ l.value++, I !== L && (l.value++, K(I, l.value));
2344
2344
  },
2345
2345
  { debounce: 300 }
2346
- ), (I, z) => (v(), C($s, {
2346
+ ), (I, L) => (v(), C($s, {
2347
2347
  modelValue: o.value,
2348
- "onUpdate:modelValue": z[0] || (z[0] = (L) => o.value = L),
2348
+ "onUpdate:modelValue": L[0] || (L[0] = (z) => o.value = z),
2349
2349
  items: w.value,
2350
2350
  "no-filter": "",
2351
2351
  placeholder: O.value,
@@ -2359,23 +2359,23 @@ const bm = /* @__PURE__ */ H({
2359
2359
  onFocus: $,
2360
2360
  "onClick:clear": U
2361
2361
  }, {
2362
- item: m(({ props: L, internalItem: W }) => [
2362
+ item: m(({ props: z, internalItem: W }) => [
2363
2363
  le(I.$slots, "item", {
2364
2364
  item: W,
2365
- props: L
2365
+ props: z
2366
2366
  }, () => [
2367
- u(je, Qe(L, {
2367
+ u(je, Qe(z, {
2368
2368
  title: W.raw.title,
2369
2369
  subtitle: W.raw.subtitle
2370
2370
  }), null, 16, ["title", "subtitle"])
2371
2371
  ])
2372
2372
  ]),
2373
- chip: m(({ props: L, item: W }) => [
2373
+ chip: m(({ props: z, internalItem: W }) => [
2374
2374
  le(I.$slots, "chip", {
2375
- props: L,
2375
+ props: z,
2376
2376
  item: W
2377
2377
  }, () => [
2378
- u($t, Qe(L, {
2378
+ u($t, Qe(z, {
2379
2379
  text: W.title
2380
2380
  }), null, 16, ["text"])
2381
2381
  ])
@@ -2865,7 +2865,7 @@ const CK = /* @__PURE__ */ H({
2865
2865
  }
2866
2866
  }), Qm = T(/* @__PURE__ */ new Set());
2867
2867
  function ef(e, a = !1, t = void 0, s = void 0, o = !1) {
2868
- const { collabSocket: i, collabRoomInfoState: r, collabFieldDataBufferState: n, collabFieldLocksState: l } = Gr(), c = _l(), f = T(), V = T(), g = Ll(), h = T(), F = T(), p = zl(), q = T(), w = T(), X = Rl(), K = T(), Y = T(), b = Ul(), y = T(), D = T(), x = Nl(), $ = T(), N = T(), B = Ol(), U = T(), O = T(), I = jl(), z = T(), L = T(), W = Hl(), R = T(), J = T(), j = () => {
2868
+ const { collabSocket: i, collabRoomInfoState: r, collabFieldDataBufferState: n, collabFieldLocksState: l } = Gr(), c = _l(), f = T(), V = T(), g = Ll(), h = T(), F = T(), p = zl(), q = T(), w = T(), X = Rl(), K = T(), Y = T(), b = Ul(), y = T(), D = T(), x = Nl(), $ = T(), N = T(), B = Ol(), U = T(), O = T(), I = jl(), L = T(), z = T(), W = Hl(), R = T(), J = T(), j = () => {
2869
2869
  De(V.value) && V.value();
2870
2870
  }, G = (fe) => {
2871
2871
  fe.room === e && De(F.value) && F.value(fe.userId, fe.timestamp);
@@ -2880,7 +2880,7 @@ function ef(e, a = !1, t = void 0, s = void 0, o = !1) {
2880
2880
  }, oe = (fe) => {
2881
2881
  fe.room === e && De(O.value) && O.value();
2882
2882
  }, Re = (fe) => {
2883
- fe.room === e && De(L.value) && L.value();
2883
+ fe.room === e && De(z.value) && z.value();
2884
2884
  }, Q = (fe) => {
2885
2885
  fe.room === e && De(J.value) && J.value(fe.startedCallback);
2886
2886
  }, Ce = (fe) => {
@@ -2904,7 +2904,7 @@ function ef(e, a = !1, t = void 0, s = void 0, o = !1) {
2904
2904
  }, Vt = (fe) => {
2905
2905
  V.value = fe, f.value = c.on(j);
2906
2906
  }, ot = (fe) => {
2907
- L.value = fe, z.value = I.on(
2907
+ z.value = fe, L.value = I.on(
2908
2908
  Re
2909
2909
  );
2910
2910
  }, Fe = (fe) => {
@@ -2913,7 +2913,7 @@ function ef(e, a = !1, t = void 0, s = void 0, o = !1) {
2913
2913
  );
2914
2914
  };
2915
2915
  fd(() => {
2916
- o || (De(h.value) && h.value(), De(q.value) && q.value(), De(K.value) && K.value(), De(y.value) && y.value(), De($.value) && $.value(), De(U.value) && U.value(), De(z.value) && z.value(), De(R.value) && R.value());
2916
+ o || (De(h.value) && h.value(), De(q.value) && q.value(), De(K.value) && K.value(), De(y.value) && y.value(), De($.value) && $.value(), De(U.value) && U.value(), De(L.value) && L.value(), De(R.value) && R.value());
2917
2917
  });
2918
2918
  const { collabOptions: we } = Ra(), Ke = () => {
2919
2919
  !we.value.enabled || _(i.value) || i.value.emit("subscribeCollabRoomInfo", e, (fe) => {
@@ -3048,7 +3048,7 @@ function ef(e, a = !1, t = void 0, s = void 0, o = !1) {
3048
3048
  unsubscribeRequestToTakeModerationListener: y,
3049
3049
  unsubscribeApprovedRequestToTakeModerationListener: $,
3050
3050
  unsubscribeRejectedRequestToTakeModerationListener: U,
3051
- unsubscribeKickedFromRoomListener: z,
3051
+ unsubscribeKickedFromRoomListener: L,
3052
3052
  unsubscribeCollabStartingListener: R
3053
3053
  };
3054
3054
  }
@@ -3084,29 +3084,29 @@ const tf = { class: "ml-3" }, af = { class: "ml-1" }, kK = /* @__PURE__ */ H({
3084
3084
  transferModeration: K,
3085
3085
  alertedOccupiedRooms: Y
3086
3086
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3087
- } = ef(t.collabRoom), { t: b } = se(), { showErrorT: y, showSuccessT: D } = Ze(), { currentUserId: x } = tc(), $ = T([]), N = T([]), B = k(() => o.value.users.filter((Ke) => Ke !== x.value)), U = T(!1), O = T(!1), I = T(null), z = T(null), L = T(!1);
3087
+ } = ef(t.collabRoom), { t: b } = se(), { showErrorT: y, showSuccessT: D } = Ze(), { currentUserId: x } = tc(), $ = T([]), N = T([]), B = k(() => o.value.users.filter((Ke) => Ke !== x.value)), U = T(!1), O = T(!1), I = T(null), L = T(null), z = T(!1);
3088
3088
  i(async (Ke, Te) => {
3089
3089
  De(t.addToCachedUsers) && t.addToCachedUsers(Ke), De(t.fetchCachedUsers) && t.fetchCachedUsers(), N.value.includes(Ke) || N.value.push(Ke), $.value.push({ userId: Ke, timestamp: Te });
3090
3090
  }), c(() => {
3091
- D("common.collab.alert.approvedJoinRequest"), L.value = !1, z.value = !0, Y.value.delete(t.collabRoom);
3091
+ D("common.collab.alert.approvedJoinRequest"), z.value = !1, L.value = !0, Y.value.delete(t.collabRoom);
3092
3092
  }), f(() => {
3093
- y("common.collab.alert.rejectedJoinRequest"), L.value = !1, z.value = !1, Y.value.delete(t.collabRoom);
3093
+ y("common.collab.alert.rejectedJoinRequest"), z.value = !1, L.value = !1, Y.value.delete(t.collabRoom);
3094
3094
  }), F(async (Ke, Te) => {
3095
3095
  De(t.addToCachedUsers) && t.addToCachedUsers(Ke), De(t.fetchCachedUsers) && t.fetchCachedUsers(), I.value = { userId: Ke, timestamp: Te }, O.value = !0;
3096
3096
  }), p(() => {
3097
- D("common.collab.alert.approvedToTakeModeration"), L.value = !1;
3097
+ D("common.collab.alert.approvedToTakeModeration"), z.value = !1;
3098
3098
  }), q(() => {
3099
- y("common.collab.alert.rejectedToTakeModeration"), L.value = !1;
3099
+ y("common.collab.alert.rejectedToTakeModeration"), z.value = !1;
3100
3100
  });
3101
3101
  const W = () => {
3102
- L.value = !1;
3103
- }, R = k(() => z.value === null && o.value.users.length && !o.value.users.includes(x.value ?? 0) && !L.value), J = k(() => t.isEdit && o.value.status === Ct.Active && o.value.moderator !== x.value), j = k(() => U.value && o.value.status === Ct.Active), G = k(() => t.isEdit && o.value.status === Ct.Active), de = k(() => t.isEdit && o.value.moderator === x.value && o.value.status === Ct.Active), ee = k(() => !t.isEdit && Y.value.has(t.collabRoom) && z.value === null), ce = k(() => o.value.users.filter((Ke) => Ke !== o.value.moderator)), me = (Ke) => {
3102
+ z.value = !1;
3103
+ }, R = k(() => L.value === null && o.value.users.length && !o.value.users.includes(x.value ?? 0) && !z.value), J = k(() => t.isEdit && o.value.status === Ct.Active && o.value.moderator !== x.value), j = k(() => U.value && o.value.status === Ct.Active), G = k(() => t.isEdit && o.value.status === Ct.Active), de = k(() => t.isEdit && o.value.moderator === x.value && o.value.status === Ct.Active), ee = k(() => !t.isEdit && Y.value.has(t.collabRoom) && L.value === null), ce = k(() => o.value.users.filter((Ke) => Ke !== o.value.moderator)), me = (Ke) => {
3104
3104
  $.value = $.value.filter(
3105
3105
  (Te) => Te.userId !== Ke
3106
3106
  ), N.value = N.value.filter((Te) => Te !== Ke);
3107
3107
  }, oe = async () => {
3108
3108
  try {
3109
- await r(), L.value = !0;
3109
+ await r(), z.value = !0;
3110
3110
  } catch (Ke) {
3111
3111
  return Ke === xo.AlreadyRequested ? void y("common.collab.alert.alreadyRequestedToJoin") : void y("common.collab.alert.failedRequestedToJoin");
3112
3112
  }
@@ -3114,7 +3114,7 @@ const tf = { class: "ml-3" }, af = { class: "ml-1" }, kK = /* @__PURE__ */ H({
3114
3114
  U.value = !0;
3115
3115
  }, Q = async () => {
3116
3116
  try {
3117
- await V(), L.value = !0;
3117
+ await V(), z.value = !0;
3118
3118
  } catch (Ke) {
3119
3119
  return Ke === bo.AlreadyRequested ? void y("common.collab.alert.alreadyRequestedToTakeModeration") : void y("common.collab.alert.failedRequestToTakeModeration");
3120
3120
  }
@@ -3181,7 +3181,7 @@ const tf = { class: "ml-3" }, af = { class: "ml-1" }, kK = /* @__PURE__ */ H({
3181
3181
  ]),
3182
3182
  _: 1
3183
3183
  })) : E("", !0),
3184
- L.value ? (v(), C(te, {
3184
+ z.value ? (v(), C(te, {
3185
3185
  key: 3,
3186
3186
  size: "small",
3187
3187
  variant: "text"
@@ -3538,7 +3538,7 @@ const tf = { class: "ml-3" }, af = { class: "ml-1" }, kK = /* @__PURE__ */ H({
3538
3538
  ]),
3539
3539
  _: 1
3540
3540
  })) : E("", !0),
3541
- L.value ? (v(), C(te, {
3541
+ z.value ? (v(), C(te, {
3542
3542
  key: 1,
3543
3543
  variant: "text"
3544
3544
  }, {
@@ -5187,7 +5187,7 @@ const wf = { class: "text-center w-100 text-body-small pb-1" }, LK = /* @__PURE_
5187
5187
  "append-item": m(() => [
5188
5188
  le(B.$slots, "append-item")
5189
5189
  ]),
5190
- chip: m(({ props: O, item: I }) => [
5190
+ chip: m(({ props: O, internalItem: I }) => [
5191
5191
  le(B.$slots, "chip", {
5192
5192
  props: O,
5193
5193
  item: I
@@ -6386,8 +6386,8 @@ const ss = {
6386
6386
  };
6387
6387
  }
6388
6388
  }
6389
- const I = k(() => z.value >= c.value), z = k(() => r.value.size);
6390
- function L(R) {
6389
+ const I = k(() => L.value >= c.value), L = k(() => r.value.size);
6390
+ function z(R) {
6391
6391
  e.value = [], a.value = !1, D(), R && (o.value = xi, i.value = null, n.value = !1, l.value = 0, c.value = 0, f.value = null);
6392
6392
  }
6393
6393
  const W = k(() => {
@@ -6404,7 +6404,7 @@ const ss = {
6404
6404
  singleMode: n,
6405
6405
  minCount: l,
6406
6406
  maxCount: c,
6407
- selectedCount: z,
6407
+ selectedCount: L,
6408
6408
  selectedAssets: r,
6409
6409
  loader: a,
6410
6410
  assetListItems: e,
@@ -6421,7 +6421,7 @@ const ss = {
6421
6421
  appendList: K,
6422
6422
  toggleSelectedByIndex: Y,
6423
6423
  clearSelected: D,
6424
- reset: L,
6424
+ reset: z,
6425
6425
  selectedSelectConfig: W
6426
6426
  };
6427
6427
  }), { t: no } = Di.global, kV = {
@@ -6795,50 +6795,50 @@ function li() {
6795
6795
  }
6796
6796
  const { pagination: ps } = Jr(Ir), gr = T(!1);
6797
6797
  function Ls(e = "default", a) {
6798
- const { damClient: t, endPointAsset: s, showFileInfoEnabled: o } = Me(e), i = Ea(), { selectedCount: r, selectedAssets: n, assetListItems: l, loader: c } = dt(i), f = Bt(), { openSidebarRight: V } = li(), { mdAndDown: g } = Ta(), { showErrorsDefault: h } = Ze(), { filterData: F, filterConfig: p } = Jo(), q = (z, L) => {
6799
- if (L === !0) {
6798
+ const { damClient: t, endPointAsset: s, showFileInfoEnabled: o } = Me(e), i = Ea(), { selectedCount: r, selectedAssets: n, assetListItems: l, loader: c } = dt(i), f = Bt(), { openSidebarRight: V } = li(), { mdAndDown: g } = Ta(), { showErrorsDefault: h } = Ze(), { filterData: F, filterConfig: p } = Jo(), q = (L, z) => {
6799
+ if (z === !0) {
6800
6800
  F.type = [ie.Audio], F.inPodcast = !0;
6801
6801
  return;
6802
6802
  }
6803
- F.type = [z], F.inPodcast = null;
6803
+ F.type = [L], F.inPodcast = null;
6804
6804
  }, w = Vd(async () => {
6805
6805
  await X();
6806
6806
  }), X = async () => {
6807
6807
  if (i.selectedLicenceId <= 0) return;
6808
6808
  q(i.assetType, i.inPodcast);
6809
- const { executeFetch: z } = Wn(
6809
+ const { executeFetch: L } = Wn(
6810
6810
  t,
6811
6811
  s,
6812
6812
  i.selectedLicenceId
6813
6813
  );
6814
6814
  try {
6815
- i.showLoader(), i.setList(await z(ps, F, p));
6816
- } catch (L) {
6817
- h(L);
6815
+ i.showLoader(), i.setList(await L(ps, F, p));
6816
+ } catch (z) {
6817
+ h(z);
6818
6818
  } finally {
6819
6819
  i.hideLoader();
6820
6820
  }
6821
6821
  }, K = async () => {
6822
6822
  if (i.loader) return;
6823
6823
  ps.value.page = ps.value.page + 1, q(i.assetType, i.inPodcast);
6824
- const { executeFetch: z } = Wn(
6824
+ const { executeFetch: L } = Wn(
6825
6825
  t,
6826
6826
  s,
6827
6827
  i.selectedLicenceId
6828
6828
  );
6829
6829
  try {
6830
- i.showLoader(), i.appendList(await z(ps, F, p));
6831
- } catch (L) {
6832
- h(L);
6830
+ i.showLoader(), i.appendList(await L(ps, F, p));
6831
+ } catch (z) {
6832
+ h(z);
6833
6833
  } finally {
6834
6834
  i.hideLoader();
6835
6835
  }
6836
- }, { addToCachedAuthors: Y, fetchCachedAuthors: b } = ni(), { addToCachedKeywords: y, fetchCachedKeywords: D } = ji(), { addToCachedUsers: x, fetchCachedUsers: $ } = jd(), N = async (z, L) => {
6836
+ }, { addToCachedAuthors: Y, fetchCachedAuthors: b } = ni(), { addToCachedKeywords: y, fetchCachedKeywords: D } = ji(), { addToCachedUsers: x, fetchCachedUsers: $ } = jd(), N = async (L, z) => {
6837
6837
  const { cachedExtSystemId: W } = xa();
6838
- g.value || V(), i.toggleSelectedByIndex(z.index), i.setActiveByIndex(z.index), gr.value = !0;
6838
+ g.value || V(), i.toggleSelectedByIndex(L.index), i.setActiveByIndex(L.index), gr.value = !0;
6839
6839
  try {
6840
- const R = await Ht(t, s, z.assetId);
6841
- W.value = L, Y(R.authors), y(R.keywords), o && x(R.modifiedBy, R.createdBy), b(), D(), o && $(), _(a) || a(R), f.setAsset(R);
6840
+ const R = await Ht(t, s, L.assetId);
6841
+ W.value = z, Y(R.authors), y(R.keywords), o && x(R.modifiedBy, R.createdBy), b(), D(), o && $(), _(a) || a(R), f.setAsset(R);
6842
6842
  } catch (R) {
6843
6843
  h(R);
6844
6844
  } finally {
@@ -6848,8 +6848,8 @@ function Ls(e = "default", a) {
6848
6848
  B(F, p), q(i.assetType, i.inPodcast), ps.value.page = 1, await w();
6849
6849
  }, O = async () => {
6850
6850
  B(F, p), ps.value.page = 1, i.reset(!0), f.reset();
6851
- }, I = (z, L, W, R, J, j) => {
6852
- i.clearSelected(), i.setAssetType(L), i.setSelectConfig(z), i.setSingleMode(R), i.setMinCount(J), i.setMaxCount(j), i.inPodcast = W;
6851
+ }, I = (L, z, W, R, J, j) => {
6852
+ i.clearSelected(), i.setAssetType(z), i.setSelectConfig(L), i.setSingleMode(R), i.setMinCount(J), i.setMaxCount(j), i.inPodcast = W;
6853
6853
  };
6854
6854
  return {
6855
6855
  damClient: t,
@@ -7134,7 +7134,7 @@ function wv() {
7134
7134
  this.$d.weeks && (N += 7 * this.$d.weeks);
7135
7135
  var B = K(N, "D"), U = K(this.$d.hours, "H"), O = K(this.$d.minutes, "M"), I = this.$d.seconds || 0;
7136
7136
  this.$d.milliseconds && (I += this.$d.milliseconds / 1e3, I = Math.round(1e3 * I) / 1e3);
7137
- var z = K(I, "S"), L = x.negative || $.negative || B.negative || U.negative || O.negative || z.negative, W = U.format || O.format || z.format ? "T" : "", R = (L ? "-" : "") + "P" + x.format + $.format + B.format + W + U.format + O.format + z.format;
7137
+ var L = K(I, "S"), z = x.negative || $.negative || B.negative || U.negative || O.negative || L.negative, W = U.format || O.format || L.format ? "T" : "", R = (z ? "-" : "") + "P" + x.format + $.format + B.format + W + U.format + O.format + L.format;
7138
7138
  return R === "P" || R === "-P" ? "P0D" : R;
7139
7139
  }, D.toJSON = function() {
7140
7140
  return this.toISOString();
@@ -8893,24 +8893,24 @@ const qn = /* @__PURE__ */ H({
8893
8893
  }
8894
8894
  i.value = !0, l[t.filterByField] = I, r.value.clear();
8895
8895
  try {
8896
- (await t.fetchItemsMinimal(K, l, n)).forEach((L) => {
8897
- r.value.set(L[t.itemValue], L);
8896
+ (await t.fetchItemsMinimal(K, l, n)).forEach((z) => {
8897
+ r.value.set(z[t.itemValue], z);
8898
8898
  });
8899
- } catch (z) {
8900
- $(z);
8899
+ } catch (L) {
8900
+ $(L);
8901
8901
  } finally {
8902
8902
  i.value = !1;
8903
8903
  }
8904
8904
  }, B = k(() => {
8905
- const I = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map();
8906
- return et(F.value) ? F.value.forEach((L) => {
8907
- I.set(L, "");
8908
- }) : F.value && I.set(F.value, ""), r.value.forEach((L) => {
8909
- I.set(L[t.itemValue], L[t.itemTitle]), z.set(L[t.itemValue], Se(L));
8910
- }), Array.from(I, ([L, W]) => ({ value: L, title: W, raw: z.get(L) }));
8911
- }), U = (I) => new Promise((z) => (r.value.forEach((L, W) => {
8912
- I.has(W) && g(Se(L));
8913
- }), z(!0))), O = () => {
8905
+ const I = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map();
8906
+ return et(F.value) ? F.value.forEach((z) => {
8907
+ I.set(z, "");
8908
+ }) : F.value && I.set(F.value, ""), r.value.forEach((z) => {
8909
+ I.set(z[t.itemValue], z[t.itemTitle]), L.set(z[t.itemValue], Se(z));
8910
+ }), Array.from(I, ([z, W]) => ({ value: z, title: W, raw: L.get(z) }));
8911
+ }), U = (I) => new Promise((L) => (r.value.forEach((z, W) => {
8912
+ I.has(W) && g(Se(z));
8913
+ }), L(!0))), O = () => {
8914
8914
  if (o.value = "", N(""), t.multiple) {
8915
8915
  F.value = [];
8916
8916
  return;
@@ -8919,27 +8919,27 @@ const qn = /* @__PURE__ */ H({
8919
8919
  };
8920
8920
  return _i(
8921
8921
  o,
8922
- (I, z) => {
8923
- const L = I;
8924
- L !== z && (N(L), s("searchChangeDebounced", L));
8922
+ (I, L) => {
8923
+ const z = I;
8924
+ z !== L && (N(z), s("searchChangeDebounced", z));
8925
8925
  },
8926
8926
  { debounce: 300 }
8927
- ), Xe(o, (I, z) => {
8928
- I !== z && s("searchChange", I);
8927
+ ), Xe(o, (I, L) => {
8928
+ I !== L && s("searchChange", I);
8929
8929
  }), Xe(
8930
8930
  F,
8931
8931
  async (I) => {
8932
8932
  if (ne(I) || _(I) || et(I) && I.length === 0)
8933
8933
  return;
8934
- const z = et(I) ? I : [I], L = new Set(z);
8935
- await U(L), L.size > 0 && (V(Array.from(L)), f());
8934
+ const L = et(I) ? I : [I], z = new Set(L);
8935
+ await U(z), z.size > 0 && (V(Array.from(z)), f());
8936
8936
  },
8937
8937
  { immediate: !0 }
8938
- ), (I, z) => (v(), C($s, {
8938
+ ), (I, L) => (v(), C($s, {
8939
8939
  modelValue: F.value,
8940
- "onUpdate:modelValue": z[0] || (z[0] = (L) => F.value = L),
8940
+ "onUpdate:modelValue": L[0] || (L[0] = (z) => F.value = z),
8941
8941
  search: o.value,
8942
- "onUpdate:search": z[1] || (z[1] = (L) => o.value = L),
8942
+ "onUpdate:search": L[1] || (L[1] = (z) => o.value = z),
8943
8943
  chips: "",
8944
8944
  items: B.value,
8945
8945
  "no-filter": "",
@@ -8964,22 +8964,22 @@ const qn = /* @__PURE__ */ H({
8964
8964
  "append-item": m(() => [
8965
8965
  le(I.$slots, "append-item")
8966
8966
  ]),
8967
- chip: m(({ props: L, item: W }) => [
8967
+ chip: m(({ props: z, internalItem: W }) => [
8968
8968
  le(I.$slots, "chip", {
8969
- props: L,
8969
+ props: z,
8970
8970
  item: W
8971
8971
  }, () => [
8972
- u($t, Qe(L, {
8972
+ u($t, Qe(z, {
8973
8973
  text: W.title
8974
8974
  }), null, 16, ["text"])
8975
8975
  ])
8976
8976
  ]),
8977
- item: m(({ props: L, internalItem: W }) => [
8977
+ item: m(({ props: z, internalItem: W }) => [
8978
8978
  le(I.$slots, "item", {
8979
- props: L,
8979
+ props: z,
8980
8980
  item: W
8981
8981
  }, () => [
8982
- u(je, { props: L }, null, 8, ["props"])
8982
+ u(je, { props: z }, null, 8, ["props"])
8983
8983
  ])
8984
8984
  ]),
8985
8985
  _: 2
@@ -9154,7 +9154,7 @@ function _g(e = 30) {
9154
9154
  };
9155
9155
  }
9156
9156
  let hr = null;
9157
- const fo = () => (hr || (hr = import("./index-CumXcrHc.mjs").then((e) => e).catch(() => null)), hr);
9157
+ const fo = () => (hr || (hr = import("./index-so4LUFja.mjs").then((e) => e).catch(() => null)), hr);
9158
9158
  function lu() {
9159
9159
  return {
9160
9160
  logError: (o, i) => {
@@ -10376,7 +10376,7 @@ const nl = (e) => {
10376
10376
  const G = o.value.get(j);
10377
10377
  return G ? G.processedCount : 0;
10378
10378
  }
10379
- function z(j) {
10379
+ function L(j) {
10380
10380
  const G = o.value.get(j);
10381
10381
  if (!G || G.items.length === 0) return;
10382
10382
  const de = q(j, Ne.Uploading);
@@ -10384,9 +10384,9 @@ const nl = (e) => {
10384
10384
  ee.status = Ne.Stop;
10385
10385
  }), de.length > 0 && de.forEach((ee) => {
10386
10386
  ee.latestChunkCancelToken && nl(ee.latestChunkCancelToken);
10387
- }), R(j), L(j);
10387
+ }), R(j), z(j);
10388
10388
  }
10389
- function L(j) {
10389
+ function z(j) {
10390
10390
  F(j);
10391
10391
  const G = o.value.get(j);
10392
10392
  G && G.fileInputKey++;
@@ -10425,10 +10425,10 @@ const nl = (e) => {
10425
10425
  stopItemUpload: B,
10426
10426
  getQueueTotalCount: O,
10427
10427
  getQueueProcessedCount: I,
10428
- stopUpload: z,
10428
+ stopUpload: L,
10429
10429
  getQueueItemsTypes: J,
10430
10430
  updateFromDetail: U,
10431
- forceReloadFileInput: L
10431
+ forceReloadFileInput: z
10432
10432
  };
10433
10433
  }), cF = { key: 1 }, vo = /* @__PURE__ */ H({
10434
10434
  __name: "AuthorRemoteAutocompleteCachedAuthorChip",
@@ -10913,19 +10913,19 @@ const pF = /* @__PURE__ */ H({
10913
10913
  ns($, [","])
10914
10914
  ]
10915
10915
  }, {
10916
- item: m(({ props: I, internalItem: z }) => [
10917
- u(je, Qe(I, {
10916
+ item: m(({ props: I, item: L }) => [
10917
+ L ? (v(), C(je, Qe({ key: 0 }, I, {
10918
10918
  onClick: U[0] || (U[0] = Z(() => {
10919
10919
  }, ["prevent"]))
10920
10920
  }), ma({
10921
10921
  title: m(() => [
10922
10922
  (v(), C(vo, {
10923
- id: z.value,
10924
- key: z.value,
10923
+ id: L.value,
10924
+ key: L.value,
10925
10925
  "queue-id": e.queueId,
10926
- title: z.title,
10926
+ title: L.title,
10927
10927
  "text-only": "",
10928
- "force-reviewed": z.raw?.raw?.reviewed
10928
+ "force-reviewed": L.raw?.raw?.reviewed
10929
10929
  }, null, 8, ["id", "queue-id", "title", "force-reviewed"]))
10930
10930
  ]),
10931
10931
  _: 2
@@ -10934,22 +10934,22 @@ const pF = /* @__PURE__ */ H({
10934
10934
  name: "prepend",
10935
10935
  fn: m(() => [
10936
10936
  u(Li, {
10937
- "model-value": b(z.value),
10937
+ "model-value": b(L.value),
10938
10938
  ripple: !1
10939
10939
  }, null, 8, ["model-value"])
10940
10940
  ]),
10941
10941
  key: "0"
10942
10942
  } : void 0
10943
- ]), 1040)
10943
+ ]), 1040)) : E("", !0)
10944
10944
  ]),
10945
10945
  chip: m(({ item: I }) => [
10946
- (v(), C(vo, {
10946
+ I ? (v(), C(vo, {
10947
10947
  id: I.value,
10948
10948
  key: I.value,
10949
10949
  "queue-id": e.queueId,
10950
10950
  title: I.title,
10951
10951
  "force-rounded": ""
10952
- }, null, 8, ["id", "queue-id", "title"]))
10952
+ }, null, 8, ["id", "queue-id", "title"])) : E("", !0)
10953
10953
  ]),
10954
10954
  "append-item": m(() => [
10955
10955
  N.value ? (v(), C(je, {
@@ -10994,14 +10994,14 @@ const pF = /* @__PURE__ */ H({
10994
10994
  id: I,
10995
10995
  key: I,
10996
10996
  class: "mr-1 mt-1",
10997
- onAddAuthor: (z) => q(I)
10997
+ onAddAuthor: (L) => q(I)
10998
10998
  }, null, 8, ["id", "onAddAuthor"]))), 128))
10999
10999
  ])
11000
11000
  ])) : E("", !0)
11001
11001
  ], 64);
11002
11002
  };
11003
11003
  }
11004
- }), ms = /* @__PURE__ */ na(YF, [["__scopeId", "data-v-4560a990"]]), XF = { key: 1 }, go = /* @__PURE__ */ H({
11004
+ }), ms = /* @__PURE__ */ na(YF, [["__scopeId", "data-v-d17e6c56"]]), XF = { key: 1 }, go = /* @__PURE__ */ H({
11005
11005
  __name: "KeywordRemoteAutocompleteCachedKeywordChip",
11006
11006
  props: {
11007
11007
  id: {},
@@ -11113,13 +11113,13 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11113
11113
  }
11114
11114
  o.value = I.id, i.value = "";
11115
11115
  }, y = (I) => et(o.value) ? o.value.includes(I) : o.value ? o.value === I : !1, { showErrorsDefault: D } = Ze(), { createDefault: x } = AF(), $ = async (I) => {
11116
- const z = x(t.extSystem, !0);
11117
- if (z.name = N(I), !(z.name.length < 2))
11116
+ const L = x(t.extSystem, !0);
11117
+ if (L.name = N(I), !(L.name.length < 2))
11118
11118
  try {
11119
- const L = await jV(g, z);
11120
- b(L);
11121
- } catch (L) {
11122
- D(L);
11119
+ const z = await jV(g, L);
11120
+ b(z);
11121
+ } catch (z) {
11122
+ D(z);
11123
11123
  }
11124
11124
  }, N = (I) => I.endsWith(",") ? I.slice(0, -1) : I, B = () => {
11125
11125
  const I = N(i.value);
@@ -11130,8 +11130,8 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11130
11130
  }, O = k(() => r.value || i.value.length < 2 || i.value.length > 255 ? !1 : n.value.size === 0 ? !0 : ![...n.value.values()].some(
11131
11131
  (I) => I.name?.toLowerCase() === i.value.toLowerCase()
11132
11132
  ));
11133
- return (I, z) => {
11134
- const L = Pe("ABtnSecondary");
11133
+ return (I, L) => {
11134
+ const z = Pe("ABtnSecondary");
11135
11135
  return v(), S("div", bF, [
11136
11136
  e.disabled && e.multiple ? (v(), C(Oe, {
11137
11137
  key: 0,
@@ -11163,13 +11163,13 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11163
11163
  }, 8, ["title"])) : (v(), C(ru, {
11164
11164
  key: 2,
11165
11165
  modelValue: o.value,
11166
- "onUpdate:modelValue": z[1] || (z[1] = (W) => o.value = W),
11166
+ "onUpdate:modelValue": L[1] || (L[1] = (W) => o.value = W),
11167
11167
  search: i.value,
11168
- "onUpdate:search": z[2] || (z[2] = (W) => i.value = W),
11168
+ "onUpdate:search": L[2] || (L[2] = (W) => i.value = W),
11169
11169
  "loading-local": r.value,
11170
- "onUpdate:loadingLocal": z[3] || (z[3] = (W) => r.value = W),
11170
+ "onUpdate:loadingLocal": L[3] || (L[3] = (W) => r.value = W),
11171
11171
  "fetched-items-minimal": n.value,
11172
- "onUpdate:fetchedItemsMinimal": z[4] || (z[4] = (W) => n.value = W),
11172
+ "onUpdate:fetchedItemsMinimal": L[4] || (L[4] = (W) => n.value = W),
11173
11173
  "use-cached": d(av),
11174
11174
  v: d(V),
11175
11175
  required: l.value,
@@ -11190,9 +11190,9 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11190
11190
  ns(U, [","])
11191
11191
  ]
11192
11192
  }, {
11193
- item: m(({ props: W, internalItem: R }) => [
11194
- u(je, Qe(W, {
11195
- onClick: z[0] || (z[0] = Z(() => {
11193
+ item: m(({ props: W, item: R }) => [
11194
+ R ? (v(), C(je, Qe({ key: 0 }, W, {
11195
+ onClick: L[0] || (L[0] = Z(() => {
11196
11196
  }, ["prevent"]))
11197
11197
  }), ma({
11198
11198
  title: m(() => [
@@ -11216,16 +11216,16 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11216
11216
  ]),
11217
11217
  key: "0"
11218
11218
  } : void 0
11219
- ]), 1040)
11219
+ ]), 1040)) : E("", !0)
11220
11220
  ]),
11221
11221
  chip: m(({ item: W }) => [
11222
- (v(), C(go, {
11222
+ W ? (v(), C(go, {
11223
11223
  id: W.value,
11224
11224
  key: W.value,
11225
11225
  "queue-id": e.queueId,
11226
11226
  title: W.title,
11227
11227
  "force-rounded": ""
11228
- }, null, 8, ["id", "queue-id", "title"]))
11228
+ }, null, 8, ["id", "queue-id", "title"])) : E("", !0)
11229
11229
  ]),
11230
11230
  "append-item": m(() => [
11231
11231
  O.value ? (v(), C(je, {
@@ -11233,7 +11233,7 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11233
11233
  class: "a-keywords-append-item"
11234
11234
  }, {
11235
11235
  default: m(() => [
11236
- u(L, {
11236
+ u(z, {
11237
11237
  size: "small",
11238
11238
  text: X.value,
11239
11239
  "prepend-icon": "mdi-plus-circle",
@@ -11248,7 +11248,7 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11248
11248
  ]);
11249
11249
  };
11250
11250
  }
11251
- }), er = /* @__PURE__ */ na(xF, [["__scopeId", "data-v-fde4c942"]]), Yn = (e, a) => {
11251
+ }), er = /* @__PURE__ */ na(xF, [["__scopeId", "data-v-7f0f7dd7"]]), Yn = (e, a) => {
11252
11252
  const { getDamConfigExtSystem: t } = nt(), s = t(a);
11253
11253
  if (_(s))
11254
11254
  throw new Error("useDamKeywordAssetTypeConfig: Ext system must be initialised.");
@@ -11705,7 +11705,7 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11705
11705
  fetchAssetListDebounced: K,
11706
11706
  reset: Y
11707
11707
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
11708
- } = Ls("default", s.onDetailLoadedCallback), { loadDamConfigAssetCustomFormElements: b, getDamConfigAssetCustomFormElements: y } = nt(V), { getOrLoadDamConfigExtSystemByLicences: D } = nt(V), x = Bt(), { asset: $ } = dt(x), N = Ea(), { selectedLicenceId: B } = dt(N), U = Et([]), { mdAndUp: O } = Ta(), { openSidebarLeft: I, closeSidebarRight: z, sidebarLeft: L, sidebarRight: W } = li(), { showErrorT: R } = Ze(), J = () => {
11708
+ } = Ls("default", s.onDetailLoadedCallback), { loadDamConfigAssetCustomFormElements: b, getDamConfigAssetCustomFormElements: y } = nt(V), { getOrLoadDamConfigExtSystemByLicences: D } = nt(V), x = Bt(), { asset: $ } = dt(x), N = Ea(), { selectedLicenceId: B } = dt(N), U = Et([]), { mdAndUp: O } = Ta(), { openSidebarLeft: I, closeSidebarRight: L, sidebarLeft: z, sidebarRight: W } = li(), { showErrorT: R } = Ze(), J = () => {
11709
11709
  if (!n.value) return;
11710
11710
  let Ve = Se(U.value);
11711
11711
  if (s.skipCurrentUserCheck || (Ve = Fn(U.value)), Ve.length === 0) {
@@ -11719,7 +11719,7 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11719
11719
  s.minCount === 1 && s.minCount === s.maxCount,
11720
11720
  s.minCount,
11721
11721
  s.maxCount
11722
- ), O.value && I(), O.value || z(), i.value = !0;
11722
+ ), O.value && I(), O.value || L(), i.value = !0;
11723
11723
  };
11724
11724
  Xe(
11725
11725
  i,
@@ -11814,7 +11814,7 @@ const bF = { class: "d-flex" }, xF = /* @__PURE__ */ H({
11814
11814
  }, null, 8, ["sort"]),
11815
11815
  P("div", {
11816
11816
  class: Ye(["subject-select__main", {
11817
- "subject-select__main--sidebar-active": d(L),
11817
+ "subject-select__main--sidebar-active": d(z),
11818
11818
  "subject-select__main--sidebar-right-active": d(W)
11819
11819
  }])
11820
11820
  }, [
@@ -13193,7 +13193,7 @@ function Vh(e) {
13193
13193
  };
13194
13194
  }
13195
13195
  function vh(e, a, t, s) {
13196
- var o = a.aspectRatio, i = a.naturalWidth, r = a.naturalHeight, n = a.rotate, l = n === void 0 ? 0 : n, c = a.scaleX, f = c === void 0 ? 1 : c, V = a.scaleY, g = V === void 0 ? 1 : V, h = t.aspectRatio, F = t.naturalWidth, p = t.naturalHeight, q = s.fillColor, w = q === void 0 ? "transparent" : q, X = s.imageSmoothingEnabled, K = X === void 0 ? !0 : X, Y = s.imageSmoothingQuality, b = Y === void 0 ? "low" : Y, y = s.maxWidth, D = y === void 0 ? 1 / 0 : y, x = s.maxHeight, $ = x === void 0 ? 1 / 0 : x, N = s.minWidth, B = N === void 0 ? 0 : N, U = s.minHeight, O = U === void 0 ? 0 : U, I = document.createElement("canvas"), z = I.getContext("2d"), L = rs({
13196
+ var o = a.aspectRatio, i = a.naturalWidth, r = a.naturalHeight, n = a.rotate, l = n === void 0 ? 0 : n, c = a.scaleX, f = c === void 0 ? 1 : c, V = a.scaleY, g = V === void 0 ? 1 : V, h = t.aspectRatio, F = t.naturalWidth, p = t.naturalHeight, q = s.fillColor, w = q === void 0 ? "transparent" : q, X = s.imageSmoothingEnabled, K = X === void 0 ? !0 : X, Y = s.imageSmoothingQuality, b = Y === void 0 ? "low" : Y, y = s.maxWidth, D = y === void 0 ? 1 / 0 : y, x = s.maxHeight, $ = x === void 0 ? 1 / 0 : x, N = s.minWidth, B = N === void 0 ? 0 : N, U = s.minHeight, O = U === void 0 ? 0 : U, I = document.createElement("canvas"), L = I.getContext("2d"), z = rs({
13197
13197
  aspectRatio: h,
13198
13198
  width: D,
13199
13199
  height: $
@@ -13201,7 +13201,7 @@ function vh(e, a, t, s) {
13201
13201
  aspectRatio: h,
13202
13202
  width: B,
13203
13203
  height: O
13204
- }, "cover"), R = Math.min(L.width, Math.max(W.width, F)), J = Math.min(L.height, Math.max(W.height, p)), j = rs({
13204
+ }, "cover"), R = Math.min(z.width, Math.max(W.width, F)), J = Math.min(z.height, Math.max(W.height, p)), j = rs({
13205
13205
  aspectRatio: o,
13206
13206
  width: D,
13207
13207
  height: $
@@ -13210,9 +13210,9 @@ function vh(e, a, t, s) {
13210
13210
  width: B,
13211
13211
  height: O
13212
13212
  }, "cover"), de = Math.min(j.width, Math.max(G.width, i)), ee = Math.min(j.height, Math.max(G.height, r)), ce = [-de / 2, -ee / 2, de, ee];
13213
- return I.width = Zs(R), I.height = Zs(J), z.fillStyle = w, z.fillRect(0, 0, R, J), z.save(), z.translate(R / 2, J / 2), z.rotate(l * Math.PI / 180), z.scale(f, g), z.imageSmoothingEnabled = K, z.imageSmoothingQuality = b, z.drawImage.apply(z, [e].concat(hu(ce.map(function(me) {
13213
+ return I.width = Zs(R), I.height = Zs(J), L.fillStyle = w, L.fillRect(0, 0, R, J), L.save(), L.translate(R / 2, J / 2), L.rotate(l * Math.PI / 180), L.scale(f, g), L.imageSmoothingEnabled = K, L.imageSmoothingQuality = b, L.drawImage.apply(L, [e].concat(hu(ce.map(function(me) {
13214
13214
  return Math.floor(Zs(me));
13215
- })))), z.restore(), I;
13215
+ })))), L.restore(), I;
13216
13216
  }
13217
13217
  var Su = String.fromCharCode;
13218
13218
  function gh(e, a, t) {
@@ -13940,12 +13940,12 @@ var Yh = {
13940
13940
  w.imageSmoothingEnabled = K, Y && (w.imageSmoothingQuality = Y);
13941
13941
  var b = s.width, y = s.height, D = i, x = r, $, N, B, U, O, I;
13942
13942
  D <= -n || D > b ? (D = 0, $ = 0, B = 0, O = 0) : D <= 0 ? (B = -D, D = 0, $ = Math.min(b, n + D), O = $) : D <= b && (B = 0, $ = Math.min(n, b - D), O = $), $ <= 0 || x <= -l || x > y ? (x = 0, N = 0, U = 0, I = 0) : x <= 0 ? (U = -x, x = 0, N = Math.min(y, l + x), I = N) : x <= y && (U = 0, N = Math.min(l, y - x), I = N);
13943
- var z = [D, x, $, N];
13943
+ var L = [D, x, $, N];
13944
13944
  if (O > 0 && I > 0) {
13945
- var L = F / n;
13946
- z.push(B * L, U * L, O * L, I * L);
13945
+ var z = F / n;
13946
+ L.push(B * z, U * z, O * z, I * z);
13947
13947
  }
13948
- return w.drawImage.apply(w, [s].concat(hu(z.map(function(W) {
13948
+ return w.drawImage.apply(w, [s].concat(hu(L.map(function(W) {
13949
13949
  return Math.floor(Zs(W));
13950
13950
  })))), q;
13951
13951
  },
@@ -14681,7 +14681,7 @@ const Rh = { class: "dam-upload-queue__item" }, Uh = { class: "dam-upload-queue_
14681
14681
  variant: "icon",
14682
14682
  "button-class": "",
14683
14683
  "dialog-message-t": "common.damImage.queueItem.removeFromQueue",
14684
- onDeleteRecord: I[0] || (I[0] = (z) => s("removeItem", e.index))
14684
+ onDeleteRecord: I[0] || (I[0] = (L) => s("removeItem", e.index))
14685
14685
  })) : E("", !0)
14686
14686
  ])
14687
14687
  ])
@@ -14728,7 +14728,7 @@ const Rh = { class: "dam-upload-queue__item" }, Uh = { class: "dam-upload-queue_
14728
14728
  e.item ? (v(), C(qn, {
14729
14729
  key: 0,
14730
14730
  modelValue: o.value,
14731
- "onUpdate:modelValue": I[4] || (I[4] = (z) => o.value = z),
14731
+ "onUpdate:modelValue": I[4] || (I[4] = (L) => o.value = L),
14732
14732
  "ext-system": e.extSystem,
14733
14733
  "asset-type": q.value
14734
14734
  }, {
@@ -14748,7 +14748,7 @@ const Rh = { class: "dam-upload-queue__item" }, Uh = { class: "dam-upload-queue_
14748
14748
  default: m(() => [
14749
14749
  u(er, {
14750
14750
  modelValue: i.value,
14751
- "onUpdate:modelValue": I[1] || (I[1] = (z) => i.value = z),
14751
+ "onUpdate:modelValue": I[1] || (I[1] = (L) => i.value = L),
14752
14752
  "queue-id": e.queueKey,
14753
14753
  "ext-system": e.extSystem,
14754
14754
  label: d(l)("common.damImage.asset.model.keywords"),
@@ -14782,7 +14782,7 @@ const Rh = { class: "dam-upload-queue__item" }, Uh = { class: "dam-upload-queue_
14782
14782
  default: m(() => [
14783
14783
  u(ms, {
14784
14784
  modelValue: r.value,
14785
- "onUpdate:modelValue": I[2] || (I[2] = (z) => r.value = z),
14785
+ "onUpdate:modelValue": I[2] || (I[2] = (L) => r.value = L),
14786
14786
  "queue-id": e.queueKey,
14787
14787
  label: d(l)("common.damImage.asset.model.authors"),
14788
14788
  "author-conflicts": e.item.authorConflicts,
@@ -14812,7 +14812,7 @@ const Rh = { class: "dam-upload-queue__item" }, Uh = { class: "dam-upload-queue_
14812
14812
  default: m(() => [
14813
14813
  u(wa, {
14814
14814
  modelValue: n.value,
14815
- "onUpdate:modelValue": I[3] || (I[3] = (z) => n.value = z),
14815
+ "onUpdate:modelValue": I[3] || (I[3] = (L) => n.value = L),
14816
14816
  label: d(l)("common.damImage.asset.model.mainFileSingleUse")
14817
14817
  }, null, 8, ["modelValue", "label"])
14818
14818
  ]),
@@ -15623,13 +15623,13 @@ const Zi = Ps("commonImageStore", () => {
15623
15623
  N.value = !1;
15624
15624
  }
15625
15625
  }
15626
- }, I = Bt(), { loading: z, dialog: L, updateUploadStore: W } = dt(I), R = async (J) => {
15626
+ }, I = Bt(), { loading: L, dialog: z, updateUploadStore: W } = dt(I), R = async (J) => {
15627
15627
  try {
15628
- I.setAsset(null), z.value = !0, L.value = t.queueKey, W.value = !0, I.setAsset(await Ht(y, D, J));
15628
+ I.setAsset(null), L.value = !0, z.value = t.queueKey, W.value = !0, I.setAsset(await Ht(y, D, J));
15629
15629
  } catch (j) {
15630
15630
  b(j);
15631
15631
  } finally {
15632
- z.value = !1;
15632
+ L.value = !1;
15633
15633
  }
15634
15634
  };
15635
15635
  return (J, j) => {
@@ -15861,9 +15861,9 @@ const Zi = Ps("commonImageStore", () => {
15861
15861
  const { resetFilter: O, submitFilter: I } = id(B, U, {
15862
15862
  populateUrlParams: !1,
15863
15863
  storeFiltersLocalStorage: !1
15864
- }), z = () => {
15864
+ }), L = () => {
15865
15865
  I(r, f), $.value && x();
15866
- }, L = () => {
15866
+ }, z = () => {
15867
15867
  O(r, g), $.value && x();
15868
15868
  }, W = () => {
15869
15869
  let Fe = Se(a.selectConfigs);
@@ -15934,7 +15934,7 @@ const Zi = Ps("commonImageStore", () => {
15934
15934
  },
15935
15935
  { immediate: !0 }
15936
15936
  ), Xe(b, (Fe, we) => {
15937
- Fe !== we && L();
15937
+ Fe !== we && z();
15938
15938
  }), W(), ws(() => {
15939
15939
  V();
15940
15940
  }), (Fe, we) => {
@@ -15970,8 +15970,8 @@ const Zi = Ps("commonImageStore", () => {
15970
15970
  P("div", kq, [
15971
15971
  le(Fe.$slots, "filter", {}, () => [
15972
15972
  u(cc, {
15973
- onSubmit: z,
15974
- onReset: L
15973
+ onSubmit: L,
15974
+ onReset: z
15975
15975
  }, {
15976
15976
  search: m(() => [
15977
15977
  u(wr, { name: "text" })
@@ -16215,19 +16215,19 @@ function Uq(e, a, t) {
16215
16215
  }), o.value = []);
16216
16216
  }, p = (B, U) => {
16217
16217
  B.meta.dirty = !0, U.meta.dirty = !0;
16218
- }, q = (B, U, O, I, z = []) => {
16219
- const L = U > O ? O : U;
16220
- let W = L + 1;
16221
- for (let R = L; R < B.length; R++)
16222
- B[R].data.position !== W && (B[R].data.position = W, p(B[R], I), z.push({
16218
+ }, q = (B, U, O, I, L = []) => {
16219
+ const z = U > O ? O : U;
16220
+ let W = z + 1;
16221
+ for (let R = z; R < B.length; R++)
16222
+ B[R].data.position !== W && (B[R].data.position = W, p(B[R], I), L.push({
16223
16223
  id: B[R].data.id,
16224
16224
  position: B[R].data.position
16225
16225
  })), W++;
16226
- }, w = (B, U, O, I, z, L = []) => {
16226
+ }, w = (B, U, O, I, L, z = []) => {
16227
16227
  if (B.length > 0) {
16228
16228
  let W = O + 1;
16229
16229
  for (let R = O; R < B.length; R++)
16230
- B[R].data.position !== W && (B[R].data.position = W, p(B[R], z), L.push({
16230
+ B[R].data.position !== W && (B[R].data.position = W, p(B[R], L), z.push({
16231
16231
  id: B[R].data.id,
16232
16232
  position: B[R].data.position
16233
16233
  })), W++;
@@ -16235,28 +16235,28 @@ function Uq(e, a, t) {
16235
16235
  if (U.length > 0) {
16236
16236
  let W = I + 1;
16237
16237
  for (let R = I; R < U.length; R++)
16238
- U[R].data.position !== W && (U[R].data.position = W, p(U[R], z), L.push({
16238
+ U[R].data.position !== W && (U[R].data.position = W, p(U[R], L), z.push({
16239
16239
  id: U[R].data.id,
16240
16240
  position: U[R].data.position
16241
16241
  })), W++;
16242
16242
  }
16243
16243
  }, X = (B, U, O = 0) => {
16244
16244
  if (B === null) return O;
16245
- const I = U.find((z) => z.data.id === B);
16245
+ const I = U.find((L) => L.data.id === B);
16246
16246
  return I ? (O++, X(I.data.parent, U, O)) : O;
16247
16247
  }, K = (B, U = 0) => {
16248
16248
  let O = U;
16249
16249
  if (B && B.length) {
16250
16250
  U++;
16251
16251
  for (const I of B) {
16252
- const z = K(I.children, U);
16253
- O = Math.max(O, z);
16252
+ const L = K(I.children, U);
16253
+ O = Math.max(O, L);
16254
16254
  }
16255
16255
  }
16256
16256
  return O;
16257
16257
  }, Y = (B, U, O = 1) => {
16258
- const I = X(B.data.parent, U), z = K(B.children, O);
16259
- return I + z;
16258
+ const I = X(B.data.parent, U), L = K(B.children, O);
16259
+ return I + L;
16260
16260
  }, b = (B, U, O = null) => {
16261
16261
  for (const I of U) {
16262
16262
  if (I.data.id === B)
@@ -16265,9 +16265,9 @@ function Uq(e, a, t) {
16265
16265
  parentItem: O
16266
16266
  };
16267
16267
  if (I.children) {
16268
- const z = b(B, I.children, I);
16269
- if (z.itemFound !== null)
16270
- return z;
16268
+ const L = b(B, I.children, I);
16269
+ if (L.itemFound !== null)
16270
+ return L;
16271
16271
  }
16272
16272
  }
16273
16273
  return {
@@ -16286,10 +16286,10 @@ function Uq(e, a, t) {
16286
16286
  refresh: g,
16287
16287
  onRemoveDialogConfirm: h,
16288
16288
  destroy: F,
16289
- moveArrayElement: (B, U, O, I, z) => {
16290
- const L = Se(e.value), { itemFound: W, parentItem: R } = b(
16289
+ moveArrayElement: (B, U, O, I, L) => {
16290
+ const z = Se(e.value), { itemFound: W, parentItem: R } = b(
16291
16291
  B,
16292
- L.children
16292
+ z.children
16293
16293
  );
16294
16294
  if (!W)
16295
16295
  return console.error("ASortableNested error."), [];
@@ -16298,10 +16298,10 @@ function Uq(e, a, t) {
16298
16298
  if (ne(R) && O === I)
16299
16299
  return [];
16300
16300
  if (ne(R)) {
16301
- const G = L.children.indexOf(W);
16301
+ const G = z.children.indexOf(W);
16302
16302
  if (G !== -1) {
16303
- const de = L.children.splice(G, 1)[0];
16304
- return L.children.splice(O, 0, de), q(L.children, G, O, L, J), V(L), [];
16303
+ const de = z.children.splice(G, 1)[0];
16304
+ return z.children.splice(O, 0, de), q(z.children, G, O, z, J), V(z), [];
16305
16305
  }
16306
16306
  return console.error("ASortableNested error."), [];
16307
16307
  }
@@ -16310,20 +16310,20 @@ function Uq(e, a, t) {
16310
16310
  if (G !== -1) {
16311
16311
  W.data.parent = null;
16312
16312
  const de = R.children.splice(G, 1)[0];
16313
- return L.children.splice(O, 0, de), w(
16314
- L.children,
16313
+ return z.children.splice(O, 0, de), w(
16314
+ z.children,
16315
16315
  R.children,
16316
16316
  O,
16317
16317
  G,
16318
- L,
16318
+ z,
16319
16319
  J
16320
- ), V(L), [];
16320
+ ), V(z), [];
16321
16321
  }
16322
16322
  return console.error("ASortableNested error."), [];
16323
16323
  }
16324
16324
  return console.error("ASortableNested error."), [];
16325
16325
  }
16326
- const { itemFound: j } = b(U, L.children);
16326
+ const { itemFound: j } = b(U, z.children);
16327
16327
  if (!j || !j.children)
16328
16328
  return V(), [];
16329
16329
  if (!ne(R) && R.data.id === j.data.id && O === I)
@@ -16332,7 +16332,7 @@ function Uq(e, a, t) {
16332
16332
  const G = R.children.indexOf(W);
16333
16333
  if (G !== -1) {
16334
16334
  const de = R.children.splice(G, 1)[0];
16335
- j.children.splice(O, 0, de), q(j.children, G, O, L, J);
16335
+ j.children.splice(O, 0, de), q(j.children, G, O, z, J);
16336
16336
  }
16337
16337
  } else if (R && R.children && j.data.id !== R.data.id) {
16338
16338
  const G = R.children.indexOf(W);
@@ -16344,29 +16344,29 @@ function Uq(e, a, t) {
16344
16344
  R.children,
16345
16345
  O,
16346
16346
  G,
16347
- L,
16347
+ z,
16348
16348
  J
16349
16349
  );
16350
16350
  }
16351
16351
  } else {
16352
- const G = L.children.indexOf(W);
16352
+ const G = z.children.indexOf(W);
16353
16353
  if (G !== -1) {
16354
16354
  W.data.parent = j.data.id;
16355
- const de = L.children.splice(G, 1)[0];
16355
+ const de = z.children.splice(G, 1)[0];
16356
16356
  j.children.splice(O, 0, de), w(
16357
16357
  j.children,
16358
- L.children,
16358
+ z.children,
16359
16359
  O,
16360
16360
  G,
16361
- L,
16361
+ z,
16362
16362
  J
16363
16363
  );
16364
16364
  }
16365
16365
  }
16366
- return Y(j, L.children) > z ? (s("common.sortable.error.maxDeepExceed"), V(), []) : (V(L), J);
16366
+ return Y(j, z.children) > L ? (s("common.sortable.error.maxDeepExceed"), V(), []) : (V(z), J);
16367
16367
  },
16368
16368
  addAfterId: (B, U, O) => {
16369
- const I = Se(e.value), z = {
16369
+ const I = Se(e.value), L = {
16370
16370
  data: Se(U),
16371
16371
  children: O ? [] : void 0,
16372
16372
  meta: {
@@ -16374,56 +16374,56 @@ function Uq(e, a, t) {
16374
16374
  }
16375
16375
  };
16376
16376
  if (ne(B))
16377
- return I.children.push(z), V(I), [];
16378
- const { itemFound: L, parentItem: W } = b(
16377
+ return I.children.push(L), V(I), [];
16378
+ const { itemFound: z, parentItem: W } = b(
16379
16379
  B,
16380
16380
  I.children
16381
16381
  );
16382
- if (!L)
16382
+ if (!z)
16383
16383
  return s("common.sortable.error.unableToAdd"), [];
16384
- z.data.position = L.data.position + 1, z.data.parent = L.data.parent;
16384
+ L.data.position = z.data.position + 1, L.data.parent = z.data.parent;
16385
16385
  const R = [];
16386
16386
  if (!ne(W) && W.children) {
16387
- const J = W.children.indexOf(L) + 1;
16388
- J !== -1 && (W.children.splice(J, 0, z), q(W.children, J, J, I, R));
16387
+ const J = W.children.indexOf(z) + 1;
16388
+ J !== -1 && (W.children.splice(J, 0, L), q(W.children, J, J, I, R));
16389
16389
  } else {
16390
- const J = I.children.indexOf(L) + 1;
16391
- J !== -1 && (I.children.splice(J, 0, z), q(I.children, J, J, I, R));
16390
+ const J = I.children.indexOf(z) + 1;
16391
+ J !== -1 && (I.children.splice(J, 0, L), q(I.children, J, J, I, R));
16392
16392
  }
16393
16393
  return V(I), R;
16394
16394
  },
16395
16395
  addChildToId: (B, U, O) => {
16396
- const I = Se(e.value), { itemFound: z } = b(B, I.children);
16397
- if (!z) {
16396
+ const I = Se(e.value), { itemFound: L } = b(B, I.children);
16397
+ if (!L) {
16398
16398
  s("common.sortable.error.unableToAdd");
16399
16399
  return;
16400
16400
  }
16401
- const L = {
16401
+ const z = {
16402
16402
  data: Se(U),
16403
16403
  children: O ? [] : void 0,
16404
16404
  meta: {
16405
16405
  dirty: !1
16406
16406
  }
16407
16407
  };
16408
- L.data.id = U.id, L.data.position = z.children && z.children.length > 0 ? z.children.length + 1 : 1, L.data.parent = z.data.id, !_(z.children) && z.children.length === 0 && (z.children.push(L), V(I));
16408
+ z.data.id = U.id, z.data.position = L.children && L.children.length > 0 ? L.children.length + 1 : 1, z.data.parent = L.data.id, !_(L.children) && L.children.length === 0 && (L.children.push(z), V(I));
16409
16409
  },
16410
16410
  removeById: (B) => {
16411
16411
  const U = Se(e.value), { itemFound: O, parentItem: I } = b(B, U.children);
16412
16412
  if (!O)
16413
16413
  return [];
16414
- const z = [];
16414
+ const L = [];
16415
16415
  if (I && I.children) {
16416
- const L = I.children.indexOf(O);
16417
- L !== -1 && (I.children.splice(L, 1), q(I.children, L, L, U, z));
16416
+ const z = I.children.indexOf(O);
16417
+ z !== -1 && (I.children.splice(z, 1), q(I.children, z, z, U, L));
16418
16418
  } else {
16419
- const L = U.children.indexOf(O);
16420
- L !== -1 && (U.children.splice(L, 1), q(U.children, L, L, U, z));
16419
+ const z = U.children.indexOf(O);
16420
+ z !== -1 && (U.children.splice(z, 1), q(U.children, z, z, U, L));
16421
16421
  }
16422
- return V(U), z;
16422
+ return V(U), L;
16423
16423
  },
16424
- updateData: (B, U, O = null, I = null, z = null, L = void 0) => {
16424
+ updateData: (B, U, O = null, I = null, L = null, z = void 0) => {
16425
16425
  const W = Se(e.value), { itemFound: R } = b(B, W.children);
16426
- R && (R.data = Se(U), ne(O) || (R.children = O), ne(I) || (R.data.position = I), ne(z) || (R.meta.dirty = z), !ne(z) && z === !0 && (W.meta.dirty = !0), _(L) || (R.data.parent = L), V(W));
16426
+ R && (R.data = Se(U), ne(O) || (R.children = O), ne(I) || (R.data.position = I), ne(L) || (R.meta.dirty = L), !ne(L) && L === !0 && (W.meta.dirty = !0), _(z) || (R.data.parent = z), V(W));
16427
16427
  }
16428
16428
  };
16429
16429
  }
@@ -16643,8 +16643,8 @@ const Nq = ["data-id"], Oq = { class: "a-sortable-nested-widget__nested" }, jq =
16643
16643
  q.value.querySelectorAll("." + Kl)
16644
16644
  );
16645
16645
  O.value = [];
16646
- for (let z = 0; z < I.length; z++)
16647
- O.value[z] = nd(I[z], [], {
16646
+ for (let L = 0; L < I.length; L++)
16647
+ O.value[L] = nd(I[L], [], {
16648
16648
  group: {
16649
16649
  name: "nested",
16650
16650
  pull: !0,
@@ -16663,16 +16663,16 @@ const Nq = ["data-id"], Oq = { class: "a-sortable-nested-widget__nested" }, jq =
16663
16663
  onStart: () => {
16664
16664
  p.value = !0;
16665
16665
  },
16666
- onEnd: (L) => {
16666
+ onEnd: (z) => {
16667
16667
  p.value = !1, ds(() => {
16668
- const W = ei(L.item.getAttribute("data-id") ?? "0");
16668
+ const W = ei(z.item.getAttribute("data-id") ?? "0");
16669
16669
  if (W < 1) return;
16670
- const R = L.newIndex;
16670
+ const R = z.newIndex;
16671
16671
  if (_(R)) return;
16672
- const J = L.oldIndex;
16672
+ const J = z.oldIndex;
16673
16673
  if (_(J)) return;
16674
16674
  let j = null;
16675
- const G = L.item.parentElement;
16675
+ const G = z.item.parentElement;
16676
16676
  ne(G) || (j = ei(G.getAttribute("data-id") ?? "0"), j === 0 && (j = null));
16677
16677
  const de = b(W, j, R, J, s.maxDepth);
16678
16678
  o("onEnd", de);
@@ -16711,8 +16711,8 @@ const Nq = ["data-id"], Oq = { class: "a-sortable-nested-widget__nested" }, jq =
16711
16711
  addChildToId: D,
16712
16712
  removeById: x,
16713
16713
  updateData: $
16714
- }), (I, z) => {
16715
- const L = Pe("ABtnTertiary"), W = Pe("ABtnPrimary");
16714
+ }), (I, L) => {
16715
+ const z = Pe("ABtnTertiary"), W = Pe("ABtnPrimary");
16716
16716
  return v(), S("div", null, [
16717
16717
  P("div", {
16718
16718
  id: g.value,
@@ -16759,14 +16759,14 @@ const Nq = ["data-id"], Oq = { class: "a-sortable-nested-widget__nested" }, jq =
16759
16759
  })) : E("", !0),
16760
16760
  u(Xt, {
16761
16761
  modelValue: d(X),
16762
- "onUpdate:modelValue": z[2] || (z[2] = (R) => La(X) ? X.value = R : null),
16762
+ "onUpdate:modelValue": L[2] || (L[2] = (R) => La(X) ? X.value = R : null),
16763
16763
  width: 500
16764
16764
  }, {
16765
16765
  default: m(() => [
16766
16766
  d(X) ? (v(), C(it, { key: 0 }, {
16767
16767
  default: m(() => [
16768
16768
  u(Mt, {
16769
- onOnCancel: z[0] || (z[0] = (R) => X.value = !1)
16769
+ onOnCancel: L[0] || (L[0] = (R) => X.value = !1)
16770
16770
  }, {
16771
16771
  default: m(() => [
16772
16772
  M(A(d(V)("common.system.modal.confirmDelete")), 1)
@@ -16776,8 +16776,8 @@ const Nq = ["data-id"], Oq = { class: "a-sortable-nested-widget__nested" }, jq =
16776
16776
  u(Nt, null, {
16777
16777
  default: m(() => [
16778
16778
  u(yt),
16779
- u(L, {
16780
- onClick: z[1] || (z[1] = Z((R) => X.value = !1, ["stop"]))
16779
+ u(z, {
16780
+ onClick: L[1] || (L[1] = Z((R) => X.value = !1, ["stop"]))
16781
16781
  }, {
16782
16782
  default: m(() => [
16783
16783
  M(A(d(V)("common.button.cancel")), 1)
@@ -18195,7 +18195,7 @@ const q7 = {
18195
18195
  },
18196
18196
  emits: ["onApply"],
18197
18197
  setup(e, { emit: a }) {
18198
- const t = e, s = a, { showErrorsDefault: o, showRecordWas: i } = Ze(), { t: r } = se(), { toolbarColor: n } = Ri(), l = Bt(), { activeTab: c, loading: f, asset: V } = dt(l), g = T(!1), h = zt(), { uploadQueueDialog: F } = di(), p = k(() => h.getQueueItems(t.queueKey)), q = k(() => p.value[0] ?? null), w = k(() => !q.value || !q.value.assetId ? null : z.value && V.value ? V.value : {
18198
+ const t = e, s = a, { showErrorsDefault: o, showRecordWas: i } = Ze(), { t: r } = se(), { toolbarColor: n } = Ri(), l = Bt(), { activeTab: c, loading: f, asset: V } = dt(l), g = T(!1), h = zt(), { uploadQueueDialog: F } = di(), p = k(() => h.getQueueItems(t.queueKey)), q = k(() => p.value[0] ?? null), w = k(() => !q.value || !q.value.assetId ? null : L.value && V.value ? V.value : {
18199
18199
  id: q.value.assetId,
18200
18200
  texts: {
18201
18201
  displayTitle: ""
@@ -18251,7 +18251,7 @@ const q7 = {
18251
18251
  }), B = k(() => w.value?.mainFile || void 0), U = [
18252
18252
  Ne.Processing,
18253
18253
  Ne.Loading
18254
- ], O = k(() => !ne(q.value) && U.includes(q.value.status)), I = k(() => !ne(q.value) && q.value.status === Ne.Waiting), z = k(() => !ne(q.value) && q.value.status === Ne.Uploaded), L = k(() => !t.disableDoneAnimation && z.value), W = k(() => !ne(q.value) && q.value.status === Ne.Uploading), R = k(() => q.value?.progress.progressPercent), {
18254
+ ], O = k(() => !ne(q.value) && U.includes(q.value.status)), I = k(() => !ne(q.value) && q.value.status === Ne.Waiting), L = k(() => !ne(q.value) && q.value.status === Ne.Uploaded), z = k(() => !t.disableDoneAnimation && L.value), W = k(() => !ne(q.value) && q.value.status === Ne.Uploading), R = k(() => q.value?.progress.progressPercent), {
18255
18255
  damClient: J,
18256
18256
  endPointAsset: j,
18257
18257
  customUploadMetadataToImageMap: G,
@@ -18310,7 +18310,7 @@ const q7 = {
18310
18310
  }
18311
18311
  };
18312
18312
  return Xe(
18313
- z,
18313
+ L,
18314
18314
  async (qe) => {
18315
18315
  if (!(!qe || !q.value?.assetId))
18316
18316
  try {
@@ -18411,7 +18411,7 @@ const q7 = {
18411
18411
  "show-uploading": W.value,
18412
18412
  "show-processing": O.value,
18413
18413
  "show-waiting": I.value,
18414
- "show-done": L.value,
18414
+ "show-done": z.value,
18415
18415
  "uploading-progress": R.value,
18416
18416
  "remaining-time": q.value.progress.remainingTime,
18417
18417
  "use-component": "",
@@ -18642,7 +18642,7 @@ const q7 = {
18642
18642
  throw new Error(
18643
18643
  "Fatal error, parent component doesn't provide necessary config ext system config."
18644
18644
  );
18645
- const { t: p } = se(), { showErrorsDefault: q, showError: w, showErrorT: X } = Ze(), K = zs(s.configName), { imageClient: Y, imageApi: b } = K, { widgetImageToDamImageUrl: y } = to(K), D = zt(), x = hn(), { detail: $ } = dt(x), { uploadQueueDialog: N } = di(), B = T(null), U = T(!1), O = T(!1), I = T(!1), z = T(!1), L = T(!1), W = T(!1), R = k(() => ne(i.value)), J = T(""), j = k(() => D.getQueue(s.queueKey)), G = k(() => !ne(B.value)), de = () => {
18645
+ const { t: p } = se(), { showErrorsDefault: q, showError: w, showErrorT: X } = Ze(), K = zs(s.configName), { imageClient: Y, imageApi: b } = K, { widgetImageToDamImageUrl: y } = to(K), D = zt(), x = hn(), { detail: $ } = dt(x), { uploadQueueDialog: N } = di(), B = T(null), U = T(!1), O = T(!1), I = T(!1), L = T(!1), z = T(!1), W = T(!1), R = k(() => ne(i.value)), J = T(""), j = k(() => D.getQueue(s.queueKey)), G = k(() => !ne(B.value)), de = () => {
18646
18646
  x.setDetail(Ft(B.value)), I.value = !0;
18647
18647
  }, ee = () => {
18648
18648
  O.value = !0;
@@ -18712,7 +18712,7 @@ const q7 = {
18712
18712
  }, Ve = () => {
18713
18713
  J.value = Gt, B.value = null, i.value = null, l.value(null);
18714
18714
  }, $e = Ea(), { getDamConfigExtSystem: Vt } = nt(), ot = async (ye) => {
18715
- L.value = !0, x.setDetail(null), r.value = !1;
18715
+ z.value = !0, x.setDetail(null), r.value = !1;
18716
18716
  let ke = "", ze = "";
18717
18717
  if (ye.type === "asset") {
18718
18718
  if (!ye.value[0] || !ye.value[0].mainFile) return;
@@ -18725,7 +18725,7 @@ const q7 = {
18725
18725
  } catch (st) {
18726
18726
  q(st);
18727
18727
  } finally {
18728
- L.value = !1;
18728
+ z.value = !1;
18729
18729
  }
18730
18730
  return;
18731
18731
  }
@@ -18762,7 +18762,7 @@ const q7 = {
18762
18762
  },
18763
18763
  position: 1
18764
18764
  };
18765
- ne(i.value) || (va.id = i.value), x.setDetail(va), L.value = !1, s.expandMetadata && Ma();
18765
+ ne(i.value) || (va.id = i.value), x.setDetail(va), z.value = !1, s.expandMetadata && Ma();
18766
18766
  }
18767
18767
  }, Fe = Bt(), { loading: we, dialog: Ke, asset: Te } = dt(Fe), Va = Me(s.configName), {
18768
18768
  damClient: Kt,
@@ -18787,7 +18787,7 @@ const q7 = {
18787
18787
  x.setDetail(null), I.value = !1;
18788
18788
  }, vt = async () => {
18789
18789
  if (Qt($.value)) {
18790
- z.value = !0;
18790
+ L.value = !0;
18791
18791
  try {
18792
18792
  if (r.value && Te.value && Te.value.authors.length > 0) {
18793
18793
  const ke = await Xa(
@@ -18807,7 +18807,7 @@ const q7 = {
18807
18807
  } catch (ye) {
18808
18808
  q(ye);
18809
18809
  } finally {
18810
- z.value = !1;
18810
+ L.value = !1;
18811
18811
  }
18812
18812
  }
18813
18813
  }, la = async () => {
@@ -19078,8 +19078,8 @@ const q7 = {
19078
19078
  "source-label": d(ue),
19079
19079
  "edit-asset-label": d(pe),
19080
19080
  expand: e.expandMetadata,
19081
- saving: z.value,
19082
- loading: L.value,
19081
+ saving: L.value,
19082
+ loading: z.value,
19083
19083
  type: d(ie).Image,
19084
19084
  onEditAsset: ut,
19085
19085
  onOnConfirm: vt,
@@ -19255,7 +19255,7 @@ const q7 = {
19255
19255
  detailLoading: K,
19256
19256
  reset: Y
19257
19257
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
19258
- } = Ls("default", s.onDetailLoadedCallback), { loadDamConfigAssetCustomFormElements: b, getDamConfigAssetCustomFormElements: y } = nt(V), { getOrLoadDamConfigExtSystemByLicences: D } = nt(V), x = Bt(), { asset: $ } = dt(x), N = Ea(), { selectedLicenceId: B, assetType: U } = dt(N), O = Et([]), { openSidebarLeft: I, sidebarLeft: z, sidebarRight: L } = li(), { showErrorT: W } = Ze(), R = () => {
19258
+ } = Ls("default", s.onDetailLoadedCallback), { loadDamConfigAssetCustomFormElements: b, getDamConfigAssetCustomFormElements: y } = nt(V), { getOrLoadDamConfigExtSystemByLicences: D } = nt(V), x = Bt(), { asset: $ } = dt(x), N = Ea(), { selectedLicenceId: B, assetType: U } = dt(N), O = Et([]), { openSidebarLeft: I, sidebarLeft: L, sidebarRight: z } = li(), { showErrorT: W } = Ze(), R = () => {
19259
19259
  if (!n.value) return;
19260
19260
  let Ve = Se(O.value);
19261
19261
  if (s.skipCurrentUserCheck || (Ve = Fn(O.value)), Ve.length === 0) {
@@ -19370,8 +19370,8 @@ const q7 = {
19370
19370
  }, null, 8, ["sort", "preselect-asset-type", "preselect-in-podcast"]),
19371
19371
  P("div", {
19372
19372
  class: Ye(["subject-select__main", {
19373
- "subject-select__main--sidebar-active": d(z),
19374
- "subject-select__main--sidebar-right-active": d(L)
19373
+ "subject-select__main--sidebar-active": d(L),
19374
+ "subject-select__main--sidebar-right-active": d(z)
19375
19375
  }])
19376
19376
  }, [
19377
19377
  P("div", Dy, [
@@ -19528,7 +19528,7 @@ const q7 = {
19528
19528
  throw new Error(
19529
19529
  "Fatal error, parent component doesn't provide necessary config ext system config."
19530
19530
  );
19531
- const { t: p } = se(), { showErrorsDefault: q, showError: w, showErrorT: X } = Ze(), K = zs(s.configName), { imageClient: Y, imageApi: b } = K, { widgetImageToDamImageUrl: y, damImageIdToDamImageUrl: D } = to(K), x = zt(), { uploadQueueDialog: $ } = di(), N = T(!1), B = T(null), U = T(!1), O = T(!1), I = T(!1), z = T(!1), L = T(!1), W = T(!1), R = k(() => !ne(i.value) || !ne(r.value)), J = T(""), j = k(() => x.getQueue(s.queueKey)), G = k(() => !ne(B.value)), de = () => {
19531
+ const { t: p } = se(), { showErrorsDefault: q, showError: w, showErrorT: X } = Ze(), K = zs(s.configName), { imageClient: Y, imageApi: b } = K, { widgetImageToDamImageUrl: y, damImageIdToDamImageUrl: D } = to(K), x = zt(), { uploadQueueDialog: $ } = di(), N = T(!1), B = T(null), U = T(!1), O = T(!1), I = T(!1), L = T(!1), z = T(!1), W = T(!1), R = k(() => !ne(i.value) || !ne(r.value)), J = T(""), j = k(() => x.getQueue(s.queueKey)), G = k(() => !ne(B.value)), de = () => {
19532
19532
  ot.setDetail(Ft(B.value)), I.value = !0;
19533
19533
  }, ee = () => {
19534
19534
  O.value = !0;
@@ -19625,7 +19625,7 @@ const q7 = {
19625
19625
  );
19626
19626
  const Vt = Ea(), ot = hn(), { detail: Fe } = dt(ot), { getDamConfigExtSystem: we } = nt(), Ke = async (ve) => {
19627
19627
  if (ve.type !== "asset" || !ve.value[0]) return;
19628
- L.value = !0, ot.setDetail(null), N.value = !1;
19628
+ z.value = !0, ot.setDetail(null), N.value = !1;
19629
19629
  let Ie = "", We = "";
19630
19630
  const mt = ve.value[0];
19631
19631
  if (!mt.mainFile) return;
@@ -19692,7 +19692,7 @@ const q7 = {
19692
19692
  } catch (da) {
19693
19693
  q(da);
19694
19694
  } finally {
19695
- L.value = !1;
19695
+ z.value = !1;
19696
19696
  }
19697
19697
  return;
19698
19698
  }
@@ -19727,7 +19727,7 @@ const q7 = {
19727
19727
  };
19728
19728
  ne(i.value) || (ga.id = i.value), ot.setDetail(ga);
19729
19729
  }
19730
- L.value = !1, s.expandMetadata && kt();
19730
+ z.value = !1, s.expandMetadata && kt();
19731
19731
  }
19732
19732
  }, Te = Bt(), { loading: Va, dialog: Kt, asset: qt } = dt(Te), {
19733
19733
  damClient: bt,
@@ -19751,18 +19751,18 @@ const q7 = {
19751
19751
  ot.setDetail(null), I.value = !1;
19752
19752
  }, la = async () => {
19753
19753
  if (is(Fe.value)) {
19754
- z.value = !0;
19754
+ L.value = !0;
19755
19755
  try {
19756
19756
  I.value = !1, r.value = Fe.value, i.value = null, ot.setDetail(null), Ve(r.value), o("afterMetadataSaveSuccess"), l.value(r.value.id);
19757
19757
  } catch (ve) {
19758
19758
  q(ve);
19759
19759
  } finally {
19760
- z.value = !1;
19760
+ L.value = !1;
19761
19761
  }
19762
19762
  }
19763
19763
  }, Ma = async () => {
19764
19764
  if (Qt(Fe.value)) {
19765
- z.value = !0;
19765
+ L.value = !0;
19766
19766
  try {
19767
19767
  if (N.value && qt.value && qt.value.authors.length > 0) {
19768
19768
  const Ie = await Xa(
@@ -19782,7 +19782,7 @@ const q7 = {
19782
19782
  } catch (ve) {
19783
19783
  q(ve);
19784
19784
  } finally {
19785
- z.value = !1;
19785
+ L.value = !1;
19786
19786
  }
19787
19787
  }
19788
19788
  }, $a = async () => {
@@ -20058,8 +20058,8 @@ const q7 = {
20058
20058
  "source-label": d(Ee),
20059
20059
  "edit-asset-label": d(_e),
20060
20060
  expand: e.expandMetadata,
20061
- saving: z.value,
20062
- loading: L.value,
20061
+ saving: L.value,
20062
+ loading: z.value,
20063
20063
  onEditAsset: Be,
20064
20064
  onOnConfirm: $a,
20065
20065
  onOnClose: vt
@@ -20889,7 +20889,7 @@ const q7 = {
20889
20889
  assetId: ut.id
20890
20890
  };
20891
20891
  });
20892
- }, z = async (ue) => {
20892
+ }, L = async (ue) => {
20893
20893
  if (ue.type !== "asset" || ue.value.length === 0) return;
20894
20894
  if (!_(ue.copyToLicence)) {
20895
20895
  try {
@@ -20906,7 +20906,7 @@ const q7 = {
20906
20906
  }
20907
20907
  const pe = await I(ue.value.filter((Ee) => !ne(Ee.mainFile)));
20908
20908
  X.addImages(pe);
20909
- }, L = Bt(), { loading: W, dialog: R } = dt(L), {
20909
+ }, z = Bt(), { loading: W, dialog: R } = dt(z), {
20910
20910
  damClient: J,
20911
20911
  endPointAsset: j,
20912
20912
  showSourceEnabled: G,
@@ -20918,7 +20918,7 @@ const q7 = {
20918
20918
  W.value = !0, R.value = s.queueKey;
20919
20919
  try {
20920
20920
  const pe = await Ni(J, j, ue), Ee = await Ae(pe.licence);
20921
- Ee && (x.value = Ee), L.setAsset(pe);
20921
+ Ee && (x.value = Ee), z.setAsset(pe);
20922
20922
  } catch (pe) {
20923
20923
  f(pe);
20924
20924
  } finally {
@@ -21065,7 +21065,7 @@ const q7 = {
21065
21065
  "skip-current-user-check": e.skipCurrentUserCheck,
21066
21066
  "config-name": e.configName,
21067
21067
  "return-type": "asset",
21068
- onOnConfirm: z
21068
+ onOnConfirm: L
21069
21069
  }, ma({ _: 2 }, [
21070
21070
  ue.$slots["asset-select-sidebar-prepend"] ? {
21071
21071
  name: "sidebar-prepend",
@@ -21628,7 +21628,7 @@ const RY = { class: "w-100" }, UY = { class: "d-flex" }, NY = { class: "d-flex"
21628
21628
  await B(), O();
21629
21629
  } catch {
21630
21630
  }
21631
- }, z = async (W, R, J = !1) => {
21631
+ }, L = async (W, R, J = !1) => {
21632
21632
  if (r.value = "", W && ne(n.value) || W && J) {
21633
21633
  n.value = Se(W), n.value && (o.value = n.value.dam.damId, r.value = X(Ft(n.value)), i.value.description = n.value.texts.description, i.value.source = n.value.texts.source, I());
21634
21634
  return;
@@ -21643,11 +21643,11 @@ const RY = { class: "w-100" }, UY = { class: "d-flex" }, NY = { class: "d-flex"
21643
21643
  return;
21644
21644
  }
21645
21645
  n.value = null, i.value.description = "", i.value.source = "";
21646
- }, L = k(() => !(l.value && c.value));
21646
+ }, z = k(() => !(l.value && c.value));
21647
21647
  return Xe(
21648
21648
  [() => t.image, s],
21649
21649
  async ([W, R]) => {
21650
- await z(W, R);
21650
+ await L(W, R);
21651
21651
  },
21652
21652
  { immediate: !0 }
21653
21653
  ), a({
@@ -21675,7 +21675,7 @@ const RY = { class: "w-100" }, UY = { class: "d-flex" }, NY = { class: "d-flex"
21675
21675
  "onUpdate:modelValue": R[1] || (R[1] = (J) => i.value.description = J),
21676
21676
  label: d(b)("common.damImage.image.model.texts.description"),
21677
21677
  v: d(N).meta.description,
21678
- disabled: L.value
21678
+ disabled: z.value
21679
21679
  }, null, 8, ["modelValue", "label", "v", "disabled"])
21680
21680
  ]),
21681
21681
  _: 1
@@ -21687,7 +21687,7 @@ const RY = { class: "w-100" }, UY = { class: "d-flex" }, NY = { class: "d-flex"
21687
21687
  "onUpdate:modelValue": R[2] || (R[2] = (J) => i.value.source = J),
21688
21688
  label: d(p),
21689
21689
  v: d(N).meta.source,
21690
- disabled: L.value
21690
+ disabled: z.value
21691
21691
  }, null, 8, ["modelValue", "label", "v", "disabled"])
21692
21692
  ]),
21693
21693
  _: 1
@@ -22865,7 +22865,7 @@ function ND(e) {
22865
22865
  return e;
22866
22866
  }
22867
22867
  async function OD() {
22868
- (await import("./webfontloader-vTXSwNiv.mjs").then((a) => a.w)).load({
22868
+ (await import("./webfontloader-CtCXi-3v.mjs").then((a) => a.w)).load({
22869
22869
  google: {
22870
22870
  families: ["Roboto:100,300,400,500,700,900&display=swap"]
22871
22871
  }