@assemblyvoting/ui-library 3.3.4 → 3.3.5-beta.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as W, h as Z4, getCurrentInstance as O3, effectScope as x$, inject as k1, onMounted as z1, onUnmounted as is, shallowRef as ns, ref as l1, computed as I, onBeforeMount as k$, watch as n1, Fragment as K, isRef as N$, createVNode as T, Text as S$, pushScopeId as Z1, popScopeId as Y1, nextTick as ss, openBlock as m, createBlock as Z, createElementBlock as h, normalizeClass as j, renderSlot as g1, normalizeProps as w$, guardReactiveProps as T$, withScopeId as I$, resolveComponent as P, normalizeStyle as F1, withKeys as U8, createElementVNode as o, createCommentVNode as E, mergeProps as W8, withCtx as i1, createApp as E$, toDisplayString as g, createTextVNode as o1, resolveDirective as h2, withDirectives as j1, reactive as ls, provide as rs, renderList as f1, Transition as Y2, unref as D, useCssVars as D$, vShow as E4, withModifiers as m2, createSlots as P$, vModelText as os } from "vue";
1
+ import { defineComponent as W, h as Z4, getCurrentInstance as O3, effectScope as x$, inject as k1, onMounted as z1, onUnmounted as is, shallowRef as ns, ref as s1, computed as E, onBeforeMount as k$, watch as i1, Fragment as K, isRef as N$, createVNode as T, Text as S$, pushScopeId as Z1, popScopeId as Y1, nextTick as ss, openBlock as m, createBlock as Z, createElementBlock as h, normalizeClass as j, renderSlot as g1, normalizeProps as w$, guardReactiveProps as T$, withScopeId as I$, resolveComponent as P, normalizeStyle as B1, withKeys as U8, createElementVNode as o, createCommentVNode as I, mergeProps as W8, withCtx as n1, createApp as E$, toDisplayString as g, createTextVNode as o1, resolveDirective as h2, withDirectives as j1, reactive as ls, provide as rs, renderList as f1, Transition as Y2, unref as D, useCssVars as D$, vShow as E4, withModifiers as m2, createSlots as P$, vModelText as os } from "vue";
2
2
  /*!
3
3
  * shared v9.13.1
4
4
  * (c) 2024 kazuya kawaguchi
@@ -19,7 +19,7 @@ const O$ = /\{([0-9a-zA-Z]+)\}/g;
19
19
  function G8(e, ...c) {
20
20
  return c.length === 1 && v1(c[0]) && (c = c[0]), (!c || !c.hasOwnProperty) && (c = {}), e.replace(O$, (a, t) => c.hasOwnProperty(t) ? c[t] : "");
21
21
  }
22
- const z2 = (e, c = !1) => c ? Symbol.for(e) : Symbol(e), B$ = (e, c, a) => R$({ l: e, k: c, s: a }), R$ = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), S1 = (e) => typeof e == "number" && isFinite(e), F$ = (e) => us(e) === "[object Date]", I2 = (e) => us(e) === "[object RegExp]", Y4 = (e) => t1(e) && Object.keys(e).length === 0, B1 = Object.assign;
22
+ const z2 = (e, c = !1) => c ? Symbol.for(e) : Symbol(e), B$ = (e, c, a) => R$({ l: e, k: c, s: a }), R$ = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), S1 = (e) => typeof e == "number" && isFinite(e), F$ = (e) => us(e) === "[object Date]", I2 = (e) => us(e) === "[object RegExp]", Y4 = (e) => t1(e) && Object.keys(e).length === 0, R1 = Object.assign;
23
23
  let _i;
24
24
  const H2 = () => _i || (_i = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
25
25
  function yi(e) {
@@ -29,7 +29,7 @@ const j$ = Object.prototype.hasOwnProperty;
29
29
  function D4(e, c) {
30
30
  return j$.call(e, c);
31
31
  }
32
- const C1 = Array.isArray, M1 = (e) => typeof e == "function", $ = (e) => typeof e == "string", s1 = (e) => typeof e == "boolean", v1 = (e) => e !== null && typeof e == "object", q$ = (e) => v1(e) && M1(e.then) && M1(e.catch), fs = Object.prototype.toString, us = (e) => fs.call(e), t1 = (e) => {
32
+ const C1 = Array.isArray, M1 = (e) => typeof e == "function", $ = (e) => typeof e == "string", l1 = (e) => typeof e == "boolean", v1 = (e) => e !== null && typeof e == "object", q$ = (e) => v1(e) && M1(e.then) && M1(e.catch), fs = Object.prototype.toString, us = (e) => fs.call(e), t1 = (e) => {
33
33
  if (!v1(e))
34
34
  return !1;
35
35
  const c = Object.getPrototypeOf(e);
@@ -454,7 +454,7 @@ function rU(e, c = {}) {
454
454
  B += H;
455
455
  return z.currentChar() === x2 && v(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), B;
456
456
  }
457
- function R1(z) {
457
+ function F1(z) {
458
458
  A(z);
459
459
  let H = "";
460
460
  return z.currentChar() === "-" ? (z.next(), H += `-${E1(z)}`) : H += E1(z), z.currentChar() === x2 && v(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), H;
@@ -557,7 +557,7 @@ function rU(e, c = {}) {
557
557
  if (L1 = M(z, H))
558
558
  return B = d(H, 5, _2(z)), A(z), B;
559
559
  if (H1 = x(z, H))
560
- return B = d(H, 6, R1(z)), A(z), B;
560
+ return B = d(H, 6, F1(z)), A(z), B;
561
561
  if (V1 = k(z, H))
562
562
  return B = d(H, 7, t3(z)), A(z), B;
563
563
  if (!L1 && !H1 && !V1)
@@ -1415,7 +1415,7 @@ function FU(e = {}) {
1415
1415
  type: V,
1416
1416
  interpolate: p,
1417
1417
  normalize: d,
1418
- values: B1({}, s, r)
1418
+ values: R1({}, s, r)
1419
1419
  };
1420
1420
  return A;
1421
1421
  }
@@ -1539,7 +1539,7 @@ function Vs(e, c, a) {
1539
1539
  }
1540
1540
  function Pi(e, c, a) {
1541
1541
  let t = !0;
1542
- for (let i = 0; i < c.length && s1(t); i++) {
1542
+ for (let i = 0; i < c.length && l1(t); i++) {
1543
1543
  const n = c[i];
1544
1544
  $(n) && (t = ZU(e, c[i], a));
1545
1545
  }
@@ -1593,7 +1593,7 @@ const Ri = (e) => {
1593
1593
  }, tW = () => bs;
1594
1594
  let Fi = 0;
1595
1595
  function iW(e = {}) {
1596
- const c = M1(e.onWarn) ? e.onWarn : w1, a = $(e.version) ? e.version : QU, t = $(e.locale) || M1(e.locale) ? e.locale : v3, i = M1(t) ? v3 : t, n = C1(e.fallbackLocale) || t1(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, s = t1(e.messages) ? e.messages : { [i]: {} }, l = t1(e.datetimeFormats) ? e.datetimeFormats : { [i]: {} }, r = t1(e.numberFormats) ? e.numberFormats : { [i]: {} }, f = B1({}, e.modifiers || {}, KU()), u = e.pluralRules || {}, v = M1(e.missing) ? e.missing : null, d = s1(e.missingWarn) || I2(e.missingWarn) ? e.missingWarn : !0, p = s1(e.fallbackWarn) || I2(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, b = !!e.unresolving, A = M1(e.postTranslation) ? e.postTranslation : null, _ = t1(e.processor) ? e.processor : null, C = s1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, M = !!e.escapeParameter, x = M1(e.messageCompiler) ? e.messageCompiler : Ms;
1596
+ const c = M1(e.onWarn) ? e.onWarn : w1, a = $(e.version) ? e.version : QU, t = $(e.locale) || M1(e.locale) ? e.locale : v3, i = M1(t) ? v3 : t, n = C1(e.fallbackLocale) || t1(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, s = t1(e.messages) ? e.messages : { [i]: {} }, l = t1(e.datetimeFormats) ? e.datetimeFormats : { [i]: {} }, r = t1(e.numberFormats) ? e.numberFormats : { [i]: {} }, f = R1({}, e.modifiers || {}, KU()), u = e.pluralRules || {}, v = M1(e.missing) ? e.missing : null, d = l1(e.missingWarn) || I2(e.missingWarn) ? e.missingWarn : !0, p = l1(e.fallbackWarn) || I2(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, b = !!e.unresolving, A = M1(e.postTranslation) ? e.postTranslation : null, _ = t1(e.processor) ? e.processor : null, C = l1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, M = !!e.escapeParameter, x = M1(e.messageCompiler) ? e.messageCompiler : Ms;
1597
1597
  process.env.NODE_ENV !== "production" && M1(e.messageCompiler) && ms(K2(U1.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1598
1598
  const k = M1(e.messageResolver) ? e.messageResolver : gs || wU, L = M1(e.localeFallbacker) ? e.localeFallbacker : Hs || JU, S = v1(e.fallbackContext) ? e.fallbackContext : void 0, N = e, y = v1(N.__datetimeFormatters) ? N.__datetimeFormatters : /* @__PURE__ */ new Map(), R = v1(N.__numberFormatters) ? N.__numberFormatters : /* @__PURE__ */ new Map(), X = v1(N.__meta) ? N.__meta : {};
1599
1599
  Fi++;
@@ -1744,7 +1744,7 @@ const rW = /* @__NO_SIDE_EFFECTS__ */ (e, c) => {
1744
1744
  throw f2(D1.NOT_SUPPORT_NON_STRING_MESSAGE);
1745
1745
  process.env.NODE_ENV !== "production" && (c.onWarn = xs);
1746
1746
  {
1747
- const a = s1(c.warnHtmlMessage) ? c.warnHtmlMessage : !0;
1747
+ const a = l1(c.warnHtmlMessage) ? c.warnHtmlMessage : !0;
1748
1748
  process.env.NODE_ENV !== "production" && _s(e, a);
1749
1749
  const i = (c.onCacheKey || ys)(e), n = r3[i];
1750
1750
  if (n)
@@ -1755,7 +1755,7 @@ const rW = /* @__NO_SIDE_EFFECTS__ */ (e, c) => {
1755
1755
  };
1756
1756
  function oW(e, c) {
1757
1757
  if (process.env.NODE_ENV !== "production" && (c.onWarn = xs), __INTLIFY_JIT_COMPILATION__ && !__INTLIFY_DROP_MESSAGE_COMPILER__ && $(e)) {
1758
- const a = s1(c.warnHtmlMessage) ? c.warnHtmlMessage : !0;
1758
+ const a = l1(c.warnHtmlMessage) ? c.warnHtmlMessage : !0;
1759
1759
  process.env.NODE_ENV !== "production" && _s(e, a);
1760
1760
  const i = (c.onCacheKey || ys)(e), n = r3[i];
1761
1761
  if (n)
@@ -1779,7 +1779,7 @@ function oW(e, c) {
1779
1779
  }
1780
1780
  const qi = () => "", e2 = (e) => M1(e);
1781
1781
  function $i(e, ...c) {
1782
- const { fallbackFormat: a, postTranslation: t, unresolving: i, messageCompiler: n, fallbackLocale: s, messages: l } = e, [r, f] = V8(...c), u = s1(f.missingWarn) ? f.missingWarn : e.missingWarn, v = s1(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, d = s1(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, p = !!f.resolvedMessage, V = $(f.default) || s1(f.default) ? s1(f.default) ? n ? r : () => r : f.default : a ? n ? r : () => r : "", b = a || V !== "", A = Y8(e, f);
1782
+ const { fallbackFormat: a, postTranslation: t, unresolving: i, messageCompiler: n, fallbackLocale: s, messages: l } = e, [r, f] = V8(...c), u = l1(f.missingWarn) ? f.missingWarn : e.missingWarn, v = l1(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, d = l1(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, p = !!f.resolvedMessage, V = $(f.default) || l1(f.default) ? l1(f.default) ? n ? r : () => r : f.default : a ? n ? r : () => r : "", b = a || V !== "", A = Y8(e, f);
1783
1783
  d && fW(f);
1784
1784
  let [_, C, M] = p ? [
1785
1785
  r,
@@ -1805,7 +1805,7 @@ function $i(e, ...c) {
1805
1805
  format: $(x) ? x : e2(x) ? x.source : "",
1806
1806
  message: O
1807
1807
  };
1808
- a1.meta = B1({}, e.__meta, /* @__PURE__ */ aW() || {}), $U(a1);
1808
+ a1.meta = R1({}, e.__meta, /* @__PURE__ */ aW() || {}), $U(a1);
1809
1809
  }
1810
1810
  return O;
1811
1811
  }
@@ -1905,7 +1905,7 @@ function V8(...e) {
1905
1905
  if (!$(c) && !S1(c) && !e2(c) && !E2(c))
1906
1906
  throw f2(D1.INVALID_ARGUMENT);
1907
1907
  const n = S1(c) ? String(c) : (e2(c), c);
1908
- return S1(a) ? i.plural = a : $(a) ? i.default = a : t1(a) && !Y4(a) ? i.named = a : C1(a) && (i.list = a), S1(t) ? i.plural = t : $(t) ? i.default = t : t1(t) && B1(i, t), [n, i];
1908
+ return S1(a) ? i.plural = a : $(a) ? i.default = a : t1(a) && !Y4(a) ? i.named = a : C1(a) && (i.list = a), S1(t) ? i.plural = t : $(t) ? i.default = t : t1(t) && R1(i, t), [n, i];
1909
1909
  }
1910
1910
  function mW(e, c, a, t, i, n) {
1911
1911
  return {
@@ -1966,7 +1966,7 @@ function Wi(e, ...c) {
1966
1966
  const { datetimeFormats: a, unresolving: t, fallbackLocale: i, onWarn: n, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
1967
1967
  if (process.env.NODE_ENV !== "production" && !ws.dateTimeFormat)
1968
1968
  return n(K2(U1.CANNOT_FORMAT_DATE)), O4;
1969
- const [r, f, u, v] = M8(...c), d = s1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = s1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
1969
+ const [r, f, u, v] = M8(...c), d = l1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = l1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
1970
1970
  e,
1971
1971
  // eslint-disable-line @typescript-eslint/no-explicit-any
1972
1972
  i,
@@ -1999,7 +1999,7 @@ function Wi(e, ...c) {
1999
1999
  let S = `${C}__${r}`;
2000
2000
  Y4(v) || (S = `${S}__${JSON.stringify(v)}`);
2001
2001
  let N = l.get(S);
2002
- return N || (N = new Intl.DateTimeFormat(C, B1({}, M, v)), l.set(S, N)), V ? N.formatToParts(f) : N.format(f);
2002
+ return N || (N = new Intl.DateTimeFormat(C, R1({}, M, v)), l.set(S, N)), V ? N.formatToParts(f) : N.format(f);
2003
2003
  }
2004
2004
  const Ts = [
2005
2005
  "localeMatcher",
@@ -2060,7 +2060,7 @@ function Ji(e, ...c) {
2060
2060
  const { numberFormats: a, unresolving: t, fallbackLocale: i, onWarn: n, localeFallbacker: s } = e, { __numberFormatters: l } = e;
2061
2061
  if (process.env.NODE_ENV !== "production" && !ws.numberFormat)
2062
2062
  return n(K2(U1.CANNOT_FORMAT_NUMBER)), O4;
2063
- const [r, f, u, v] = g8(...c), d = s1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = s1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
2063
+ const [r, f, u, v] = g8(...c), d = l1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = l1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
2064
2064
  e,
2065
2065
  // eslint-disable-line @typescript-eslint/no-explicit-any
2066
2066
  i,
@@ -2093,7 +2093,7 @@ function Ji(e, ...c) {
2093
2093
  let S = `${C}__${r}`;
2094
2094
  Y4(v) || (S = `${S}__${JSON.stringify(v)}`);
2095
2095
  let N = l.get(S);
2096
- return N || (N = new Intl.NumberFormat(C, B1({}, M, v)), l.set(S, N)), V ? N.formatToParts(f) : N.format(f);
2096
+ return N || (N = new Intl.NumberFormat(C, R1({}, M, v)), l.set(S, N)), V ? N.formatToParts(f) : N.format(f);
2097
2097
  }
2098
2098
  const Is = [
2099
2099
  "localeMatcher",
@@ -2410,9 +2410,9 @@ const xW = /* @__NO_SIDE_EFFECTS__ */ () => {
2410
2410
  return e && (c = Rs(e)[Qi]) ? { [Qi]: c } : null;
2411
2411
  };
2412
2412
  function K8(e = {}, c) {
2413
- const { __root: a, __injectWithOption: t } = e, i = a === void 0, n = e.flatJson, s = r2 ? l1 : ns, l = !!e.translateExistCompatible;
2413
+ const { __root: a, __injectWithOption: t } = e, i = a === void 0, n = e.flatJson, s = r2 ? s1 : ns, l = !!e.translateExistCompatible;
2414
2414
  process.env.NODE_ENV !== "production" && l && ms(J1(_1.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));
2415
- let r = s1(e.inheritLocale) ? e.inheritLocale : !0;
2415
+ let r = l1(e.inheritLocale) ? e.inheritLocale : !0;
2416
2416
  const f = s(
2417
2417
  // prettier-ignore
2418
2418
  a && r ? a.locale.value : $(e.locale) ? e.locale : v3
@@ -2420,7 +2420,7 @@ function K8(e = {}, c) {
2420
2420
  // prettier-ignore
2421
2421
  a && r ? a.fallbackLocale.value : $(e.fallbackLocale) || C1(e.fallbackLocale) || t1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : f.value
2422
2422
  ), v = s(c6(f.value, e)), d = s(t1(e.datetimeFormats) ? e.datetimeFormats : { [f.value]: {} }), p = s(t1(e.numberFormats) ? e.numberFormats : { [f.value]: {} });
2423
- let V = a ? a.missingWarn : s1(e.missingWarn) || I2(e.missingWarn) ? e.missingWarn : !0, b = a ? a.fallbackWarn : s1(e.fallbackWarn) || I2(e.fallbackWarn) ? e.fallbackWarn : !0, A = a ? a.fallbackRoot : s1(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, C = M1(e.missing) ? e.missing : null, M = M1(e.missing) ? en(e.missing) : null, x = M1(e.postTranslation) ? e.postTranslation : null, k = a ? a.warnHtmlMessage : s1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, L = !!e.escapeParameter;
2423
+ let V = a ? a.missingWarn : l1(e.missingWarn) || I2(e.missingWarn) ? e.missingWarn : !0, b = a ? a.fallbackWarn : l1(e.fallbackWarn) || I2(e.fallbackWarn) ? e.fallbackWarn : !0, A = a ? a.fallbackRoot : l1(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, C = M1(e.missing) ? e.missing : null, M = M1(e.missing) ? en(e.missing) : null, x = M1(e.postTranslation) ? e.postTranslation : null, k = a ? a.warnHtmlMessage : l1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, L = !!e.escapeParameter;
2424
2424
  const S = a ? a.modifiers : t1(e.modifiers) ? e.modifiers : {};
2425
2425
  let N = e.pluralRules || a && a.pluralRules, y;
2426
2426
  y = (() => {
@@ -2457,17 +2457,17 @@ function K8(e = {}, c) {
2457
2457
  p.value
2458
2458
  ];
2459
2459
  }
2460
- const O = I({
2460
+ const O = E({
2461
2461
  get: () => f.value,
2462
2462
  set: (w) => {
2463
2463
  f.value = w, y.locale = f.value;
2464
2464
  }
2465
- }), a1 = I({
2465
+ }), a1 = E({
2466
2466
  get: () => u.value,
2467
2467
  set: (w) => {
2468
2468
  u.value = w, y.fallbackLocale = u.value, N3(y, f.value, w);
2469
2469
  }
2470
- }), u1 = I(() => v.value), U = /* @__PURE__ */ I(() => d.value), Q = /* @__PURE__ */ I(() => p.value);
2470
+ }), u1 = E(() => v.value), U = /* @__PURE__ */ E(() => d.value), Q = /* @__PURE__ */ E(() => p.value);
2471
2471
  function y1() {
2472
2472
  return M1(x) ? x : null;
2473
2473
  }
@@ -2520,16 +2520,16 @@ function K8(e = {}, c) {
2520
2520
  const [F, h1, N1] = w;
2521
2521
  if (N1 && !v1(N1))
2522
2522
  throw T1(d1.INVALID_ARGUMENT);
2523
- return a2(F, h1, B1({ resolvedMessage: !0 }, N1 || {}));
2523
+ return a2(F, h1, R1({ resolvedMessage: !0 }, N1 || {}));
2524
2524
  }
2525
2525
  function _2(...w) {
2526
2526
  return E1((F) => Reflect.apply(Wi, null, [F, ...w]), () => M8(...w), "datetime format", (F) => Reflect.apply(F.d, F, [...w]), () => O4, (F) => $(F));
2527
2527
  }
2528
- function R1(...w) {
2528
+ function F1(...w) {
2529
2529
  return E1((F) => Reflect.apply(Ji, null, [F, ...w]), () => g8(...w), "number format", (F) => Reflect.apply(F.n, F, [...w]), () => O4, (F) => $(F));
2530
2530
  }
2531
2531
  function o2(w) {
2532
- return w.map((F) => $(F) || S1(F) || s1(F) ? Yi(String(F)) : F);
2532
+ return w.map((F) => $(F) || S1(F) || l1(F) ? Yi(String(F)) : F);
2533
2533
  }
2534
2534
  const A3 = {
2535
2535
  normalize: o2,
@@ -2587,7 +2587,7 @@ function K8(e = {}, c) {
2587
2587
  return !1;
2588
2588
  const h1 = $(F) ? F : f.value, N1 = F2(h1), y2 = y.messageResolver(N1, w);
2589
2589
  return l ? y2 != null : E2(y2) || e2(y2) || $(y2);
2590
- }, () => [w], "translate exists", (h1) => Reflect.apply(h1.te, h1, [w, F]), yW, (h1) => s1(h1));
2590
+ }, () => [w], "translate exists", (h1) => Reflect.apply(h1.te, h1, [w, F]), yW, (h1) => l1(h1));
2591
2591
  }
2592
2592
  function p1(w) {
2593
2593
  let F = null;
@@ -2632,7 +2632,7 @@ function K8(e = {}, c) {
2632
2632
  d.value[w] = F, y.datetimeFormats = d.value, Gi(y, w, F);
2633
2633
  }
2634
2634
  function B(w, F) {
2635
- d.value[w] = B1(d.value[w] || {}, F), y.datetimeFormats = d.value, Gi(y, w, F);
2635
+ d.value[w] = R1(d.value[w] || {}, F), y.datetimeFormats = d.value, Gi(y, w, F);
2636
2636
  }
2637
2637
  function e1(w) {
2638
2638
  return p.value[w] || {};
@@ -2641,11 +2641,11 @@ function K8(e = {}, c) {
2641
2641
  p.value[w] = F, y.numberFormats = p.value, Zi(y, w, F);
2642
2642
  }
2643
2643
  function H1(w, F) {
2644
- p.value[w] = B1(p.value[w] || {}, F), y.numberFormats = p.value, Zi(y, w, F);
2644
+ p.value[w] = R1(p.value[w] || {}, F), y.numberFormats = p.value, Zi(y, w, F);
2645
2645
  }
2646
- Xi++, a && r2 && (n1(a.locale, (w) => {
2646
+ Xi++, a && r2 && (i1(a.locale, (w) => {
2647
2647
  r && (f.value = w, y.locale = w, N3(y, f.value, u.value));
2648
- }), n1(a.fallbackLocale, (w) => {
2648
+ }), i1(a.fallbackLocale, (w) => {
2649
2649
  r && (u.value = w, y.fallbackLocale = w, N3(y, f.value, u.value));
2650
2650
  }));
2651
2651
  const V1 = {
@@ -2717,21 +2717,21 @@ function K8(e = {}, c) {
2717
2717
  setMissingHandler: O1,
2718
2718
  [Os]: y3
2719
2719
  };
2720
- return V1.datetimeFormats = U, V1.numberFormats = Q, V1.rt = V2, V1.te = q, V1.tm = x3, V1.d = _2, V1.n = R1, V1.getDateTimeFormat = z, V1.setDateTimeFormat = H, V1.mergeDateTimeFormat = B, V1.getNumberFormat = e1, V1.setNumberFormat = L1, V1.mergeNumberFormat = H1, V1[Bs] = t, V1[C8] = i3, V1[b8] = _3, V1[A8] = L3, process.env.NODE_ENV !== "production" && (V1[X2] = (w) => {
2720
+ return V1.datetimeFormats = U, V1.numberFormats = Q, V1.rt = V2, V1.te = q, V1.tm = x3, V1.d = _2, V1.n = F1, V1.getDateTimeFormat = z, V1.setDateTimeFormat = H, V1.mergeDateTimeFormat = B, V1.getNumberFormat = e1, V1.setNumberFormat = L1, V1.mergeNumberFormat = H1, V1[Bs] = t, V1[C8] = i3, V1[b8] = _3, V1[A8] = L3, process.env.NODE_ENV !== "production" && (V1[X2] = (w) => {
2721
2721
  y.__v_emitter = w;
2722
2722
  }, V1[R3] = () => {
2723
2723
  y.__v_emitter = void 0;
2724
2724
  }), V1;
2725
2725
  }
2726
2726
  function kW(e) {
2727
- const c = $(e.locale) ? e.locale : v3, a = $(e.fallbackLocale) || C1(e.fallbackLocale) || t1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, t = M1(e.missing) ? e.missing : void 0, i = s1(e.silentTranslationWarn) || I2(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, n = s1(e.silentFallbackWarn) || I2(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = s1(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, r = t1(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, u = M1(e.postTranslation) ? e.postTranslation : void 0, v = $(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, p = s1(e.sync) ? e.sync : !0;
2727
+ const c = $(e.locale) ? e.locale : v3, a = $(e.fallbackLocale) || C1(e.fallbackLocale) || t1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, t = M1(e.missing) ? e.missing : void 0, i = l1(e.silentTranslationWarn) || I2(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, n = l1(e.silentFallbackWarn) || I2(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = l1(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, r = t1(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, u = M1(e.postTranslation) ? e.postTranslation : void 0, v = $(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, p = l1(e.sync) ? e.sync : !0;
2728
2728
  process.env.NODE_ENV !== "production" && e.formatter && w1(J1(_1.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && w1(J1(_1.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
2729
2729
  let V = e.messages;
2730
2730
  if (t1(e.sharedMessages)) {
2731
2731
  const L = e.sharedMessages;
2732
2732
  V = Object.keys(L).reduce((N, y) => {
2733
2733
  const R = N[y] || (N[y] = {});
2734
- return B1(R, L[y]), N;
2734
+ return R1(R, L[y]), N;
2735
2735
  }, V || {});
2736
2736
  }
2737
2737
  const { __i18n: b, __root: A, __injectWithOption: _ } = e, C = e.datetimeFormats, M = e.numberFormats, x = e.flatJson, k = e.translateExistCompatible;
@@ -2815,17 +2815,17 @@ function _8(e = {}, c) {
2815
2815
  },
2816
2816
  // silentTranslationWarn
2817
2817
  get silentTranslationWarn() {
2818
- return s1(a.missingWarn) ? !a.missingWarn : a.missingWarn;
2818
+ return l1(a.missingWarn) ? !a.missingWarn : a.missingWarn;
2819
2819
  },
2820
2820
  set silentTranslationWarn(n) {
2821
- a.missingWarn = s1(n) ? !n : n;
2821
+ a.missingWarn = l1(n) ? !n : n;
2822
2822
  },
2823
2823
  // silentFallbackWarn
2824
2824
  get silentFallbackWarn() {
2825
- return s1(a.fallbackWarn) ? !a.fallbackWarn : a.fallbackWarn;
2825
+ return l1(a.fallbackWarn) ? !a.fallbackWarn : a.fallbackWarn;
2826
2826
  },
2827
2827
  set silentFallbackWarn(n) {
2828
- a.fallbackWarn = s1(n) ? !n : n;
2828
+ a.fallbackWarn = l1(n) ? !n : n;
2829
2829
  },
2830
2830
  // modifiers
2831
2831
  get modifiers() {
@@ -3009,7 +3009,7 @@ function js(e) {
3009
3009
  const SW = /* @__PURE__ */ W({
3010
3010
  /* eslint-disable */
3011
3011
  name: "i18n-t",
3012
- props: B1({
3012
+ props: R1({
3013
3013
  keypath: {
3014
3014
  type: String,
3015
3015
  required: !0
@@ -3030,7 +3030,7 @@ const SW = /* @__PURE__ */ W({
3030
3030
  return () => {
3031
3031
  const n = Object.keys(a).filter((v) => v !== "_"), s = {};
3032
3032
  e.locale && (s.locale = e.locale), e.plural !== void 0 && (s.plural = $(e.plural) ? +e.plural : e.plural);
3033
- const l = NW(c, n), r = i[C8](e.keypath, l, s), f = B1({}, t), u = $(e.tag) || v1(e.tag) ? e.tag : js();
3033
+ const l = NW(c, n), r = i[C8](e.keypath, l, s), f = R1({}, t), u = $(e.tag) || v1(e.tag) ? e.tag : js();
3034
3034
  return Z4(u, f, r);
3035
3035
  };
3036
3036
  }
@@ -3043,21 +3043,21 @@ function qs(e, c, a, t) {
3043
3043
  return () => {
3044
3044
  const s = { part: !0 };
3045
3045
  let l = {};
3046
- e.locale && (s.locale = e.locale), $(e.format) ? s.key = e.format : v1(e.format) && ($(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((d, p) => a.includes(p) ? B1({}, d, { [p]: e.format[p] }) : d, {}));
3046
+ e.locale && (s.locale = e.locale), $(e.format) ? s.key = e.format : v1(e.format) && ($(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((d, p) => a.includes(p) ? R1({}, d, { [p]: e.format[p] }) : d, {}));
3047
3047
  const r = t(e.value, s, l);
3048
3048
  let f = [s.key];
3049
3049
  C1(r) ? f = r.map((d, p) => {
3050
3050
  const V = i[d.type], b = V ? V({ [d.type]: d.value, index: p, parts: r }) : [d.value];
3051
3051
  return wW(b) && (b[0].key = `${d.type}-${p}`), b;
3052
3052
  }) : $(r) && (f = [r]);
3053
- const u = B1({}, n), v = $(e.tag) || v1(e.tag) ? e.tag : js();
3053
+ const u = R1({}, n), v = $(e.tag) || v1(e.tag) ? e.tag : js();
3054
3054
  return Z4(v, u, f);
3055
3055
  };
3056
3056
  }
3057
3057
  const TW = /* @__PURE__ */ W({
3058
3058
  /* eslint-disable */
3059
3059
  name: "i18n-n",
3060
- props: B1({
3060
+ props: R1({
3061
3061
  value: {
3062
3062
  type: Number,
3063
3063
  required: !0
@@ -3081,7 +3081,7 @@ const TW = /* @__PURE__ */ W({
3081
3081
  }), cn = TW, IW = /* @__PURE__ */ W({
3082
3082
  /* eslint-disable */
3083
3083
  name: "i18n-d",
3084
- props: B1({
3084
+ props: R1({
3085
3085
  value: {
3086
3086
  type: [Number, Date],
3087
3087
  required: !0
@@ -3128,7 +3128,7 @@ function DW(e) {
3128
3128
  return {
3129
3129
  created: (s, l) => {
3130
3130
  const [r, f] = c(l);
3131
- r2 && e.global === f && (s.__i18nWatcher = n1(f.locale, () => {
3131
+ r2 && e.global === f && (s.__i18nWatcher = i1(f.locale, () => {
3132
3132
  l.instance && l.instance.$forceUpdate();
3133
3133
  })), s.__composer = f, s.textContent = r;
3134
3134
  },
@@ -3164,7 +3164,7 @@ function nn(e) {
3164
3164
  return $(a) && (s.locale = a), S1(i) && (s.plural = i), S1(n) && (s.plural = n), [c, l, s];
3165
3165
  }
3166
3166
  function PW(e, c, ...a) {
3167
- const t = t1(a[0]) ? a[0] : {}, i = !!t.useI18nComponentName, n = s1(t.globalInstall) ? t.globalInstall : !0;
3167
+ const t = t1(a[0]) ? a[0] : {}, i = !!t.useI18nComponentName, n = l1(t.globalInstall) ? t.globalInstall : !0;
3168
3168
  process.env.NODE_ENV !== "production" && n && i && w1(J1(_1.COMPONENT_NAME_LEGACY_COMPATIBLE, {
3169
3169
  name: r8.name
3170
3170
  })), n && ([i ? "i18n" : r8.name, "I18nT"].forEach((s) => e.component(s, r8)), [cn.name, "I18nN"].forEach((s) => e.component(s, cn)), [an.name, "I18nD"].forEach((s) => e.component(s, an))), e.directive("t", DW(c));
@@ -3441,7 +3441,7 @@ function YW(e, c) {
3441
3441
  const a = Ws(e.nodeId, c);
3442
3442
  if (a) {
3443
3443
  const [t] = e.path;
3444
- t === "locale" && $(e.state.value) ? a.locale.value = e.state.value : t === "fallbackLocale" && ($(e.state.value) || C1(e.state.value) || v1(e.state.value)) ? a.fallbackLocale.value = e.state.value : t === "inheritLocale" && s1(e.state.value) && (a.inheritLocale = e.state.value);
3444
+ t === "locale" && $(e.state.value) ? a.locale.value = e.state.value : t === "fallbackLocale" && ($(e.state.value) || C1(e.state.value) || v1(e.state.value)) ? a.fallbackLocale.value = e.state.value : t === "inheritLocale" && l1(e.state.value) && (a.inheritLocale = e.state.value);
3445
3445
  }
3446
3446
  }
3447
3447
  function QW(e, c, a) {
@@ -3504,7 +3504,7 @@ function ln(e, c) {
3504
3504
  }
3505
3505
  const KW = /* @__PURE__ */ z2("global-vue-i18n");
3506
3506
  function XW(e = {}, c) {
3507
- const a = __VUE_I18N_LEGACY_API__ && s1(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__, t = s1(e.globalInjection) ? e.globalInjection : !0, i = __VUE_I18N_LEGACY_API__ && a ? !!e.allowComposition : !0, n = /* @__PURE__ */ new Map(), [s, l] = eG(e, a), r = /* @__PURE__ */ z2(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3507
+ const a = __VUE_I18N_LEGACY_API__ && l1(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__, t = l1(e.globalInjection) ? e.globalInjection : !0, i = __VUE_I18N_LEGACY_API__ && a ? !!e.allowComposition : !0, n = /* @__PURE__ */ new Map(), [s, l] = eG(e, a), r = /* @__PURE__ */ z2(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3508
3508
  process.env.NODE_ENV !== "production" && a && i && w1(J1(_1.NOTICE_DROP_ALLOW_COMPOSITION));
3509
3509
  function f(d) {
3510
3510
  return n.get(d) || null;
@@ -3590,7 +3590,7 @@ function c0(e = {}) {
3590
3590
  const s = a;
3591
3591
  let l = s.__getInstance(c);
3592
3592
  if (l == null) {
3593
- const r = B1({}, e);
3593
+ const r = R1({}, e);
3594
3594
  "__i18n" in i && (r.__i18n = i.__i18n), t && (r.__root = t), l = K8(r), s.__composerExtend && (l[L8] = s.__composerExtend(l)), sG(s, c, l), s.__setInstance(c, l);
3595
3595
  }
3596
3596
  return l;
@@ -3658,13 +3658,13 @@ function lG(e, c, a, t = {}) {
3658
3658
  const i = c === "local", n = ns(null);
3659
3659
  if (i && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
3660
3660
  throw T1(d1.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
3661
- const s = s1(t.inheritLocale) ? t.inheritLocale : !$(t.locale), l = l1(
3661
+ const s = l1(t.inheritLocale) ? t.inheritLocale : !$(t.locale), l = s1(
3662
3662
  // prettier-ignore
3663
3663
  !i || s ? a.locale.value : $(t.locale) ? t.locale : v3
3664
- ), r = l1(
3664
+ ), r = s1(
3665
3665
  // prettier-ignore
3666
3666
  !i || s ? a.fallbackLocale.value : $(t.fallbackLocale) || C1(t.fallbackLocale) || t1(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : l.value
3667
- ), f = l1(c6(l.value, t)), u = l1(t1(t.datetimeFormats) ? t.datetimeFormats : { [l.value]: {} }), v = l1(t1(t.numberFormats) ? t.numberFormats : { [l.value]: {} }), d = i ? a.missingWarn : s1(t.missingWarn) || I2(t.missingWarn) ? t.missingWarn : !0, p = i ? a.fallbackWarn : s1(t.fallbackWarn) || I2(t.fallbackWarn) ? t.fallbackWarn : !0, V = i ? a.fallbackRoot : s1(t.fallbackRoot) ? t.fallbackRoot : !0, b = !!t.fallbackFormat, A = M1(t.missing) ? t.missing : null, _ = M1(t.postTranslation) ? t.postTranslation : null, C = i ? a.warnHtmlMessage : s1(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, M = !!t.escapeParameter, x = i ? a.modifiers : t1(t.modifiers) ? t.modifiers : {}, k = t.pluralRules || i && a.pluralRules;
3667
+ ), f = s1(c6(l.value, t)), u = s1(t1(t.datetimeFormats) ? t.datetimeFormats : { [l.value]: {} }), v = s1(t1(t.numberFormats) ? t.numberFormats : { [l.value]: {} }), d = i ? a.missingWarn : l1(t.missingWarn) || I2(t.missingWarn) ? t.missingWarn : !0, p = i ? a.fallbackWarn : l1(t.fallbackWarn) || I2(t.fallbackWarn) ? t.fallbackWarn : !0, V = i ? a.fallbackRoot : l1(t.fallbackRoot) ? t.fallbackRoot : !0, b = !!t.fallbackFormat, A = M1(t.missing) ? t.missing : null, _ = M1(t.postTranslation) ? t.postTranslation : null, C = i ? a.warnHtmlMessage : l1(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, M = !!t.escapeParameter, x = i ? a.modifiers : t1(t.modifiers) ? t.modifiers : {}, k = t.pluralRules || i && a.pluralRules;
3668
3668
  function L() {
3669
3669
  return [
3670
3670
  l.value,
@@ -3674,17 +3674,17 @@ function lG(e, c, a, t = {}) {
3674
3674
  v.value
3675
3675
  ];
3676
3676
  }
3677
- const S = I({
3677
+ const S = E({
3678
3678
  get: () => n.value ? n.value.locale.value : l.value,
3679
3679
  set: (q) => {
3680
3680
  n.value && (n.value.locale.value = q), l.value = q;
3681
3681
  }
3682
- }), N = I({
3682
+ }), N = E({
3683
3683
  get: () => n.value ? n.value.fallbackLocale.value : r.value,
3684
3684
  set: (q) => {
3685
3685
  n.value && (n.value.fallbackLocale.value = q), r.value = q;
3686
3686
  }
3687
- }), y = I(() => n.value ? n.value.messages.value : f.value), R = I(() => u.value), X = I(() => v.value);
3687
+ }), y = E(() => n.value ? n.value.messages.value : f.value), R = E(() => u.value), X = E(() => v.value);
3688
3688
  function O() {
3689
3689
  return n.value ? n.value.getPostTranslationHandler() : _;
3690
3690
  }
@@ -3727,7 +3727,7 @@ function lG(e, c, a, t = {}) {
3727
3727
  function _2(q, p1) {
3728
3728
  n.value && n.value.mergeLocaleMessage(q, p1);
3729
3729
  }
3730
- function R1(q) {
3730
+ function F1(q) {
3731
3731
  return n.value ? n.value.getDateTimeFormat(q) : {};
3732
3732
  }
3733
3733
  function o2(q, p1) {
@@ -3821,7 +3821,7 @@ function lG(e, c, a, t = {}) {
3821
3821
  getLocaleMessage: a2,
3822
3822
  setLocaleMessage: V2,
3823
3823
  mergeLocaleMessage: _2,
3824
- getDateTimeFormat: R1,
3824
+ getDateTimeFormat: F1,
3825
3825
  setDateTimeFormat: o2,
3826
3826
  mergeDateTimeFormat: t3,
3827
3827
  getNumberFormat: A3,
@@ -21212,7 +21212,7 @@ function zJ(e, c, a, t, i, n) {
21212
21212
  "v-popper__popper--no-positioning": !e.result
21213
21213
  }
21214
21214
  ]]),
21215
- style: F1(e.result ? {
21215
+ style: B1(e.result ? {
21216
21216
  position: e.result.strategy,
21217
21217
  transform: `translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`
21218
21218
  } : void 0),
@@ -21227,7 +21227,7 @@ function zJ(e, c, a, t, i, n) {
21227
21227
  }),
21228
21228
  o("div", {
21229
21229
  class: "v-popper__wrapper",
21230
- style: F1(e.result ? {
21230
+ style: B1(e.result ? {
21231
21231
  transformOrigin: e.result.transformOrigin
21232
21232
  } : void 0)
21233
21233
  }, [
@@ -21239,13 +21239,13 @@ function zJ(e, c, a, t, i, n) {
21239
21239
  e.handleResize ? (m(), Z(s, {
21240
21240
  key: 0,
21241
21241
  onNotify: c[1] || (c[1] = (l) => e.$emit("resize", l))
21242
- })) : E("", !0)
21243
- ], 64)) : E("", !0)
21242
+ })) : I("", !0)
21243
+ ], 64)) : I("", !0)
21244
21244
  ], 512),
21245
21245
  o("div", {
21246
21246
  ref: "arrow",
21247
21247
  class: "v-popper__arrow-container",
21248
- style: F1(e.result ? {
21248
+ style: B1(e.result ? {
21249
21249
  left: e.toPx(e.result.arrow.x),
21250
21250
  top: e.toPx(e.result.arrow.y)
21251
21251
  } : void 0)
@@ -21487,7 +21487,7 @@ function MJ(e, c, a, t, i, n) {
21487
21487
  onAutoHide: c[7] || (c[7] = () => e.$emit("auto-hide")),
21488
21488
  onResize: c[8] || (c[8] = () => e.$emit("resize"))
21489
21489
  }), {
21490
- default: i1(({
21490
+ default: n1(({
21491
21491
  popperId: r,
21492
21492
  isShown: f,
21493
21493
  shouldMountContent: u,
@@ -21519,7 +21519,7 @@ function MJ(e, c, a, t, i, n) {
21519
21519
  onHide: V,
21520
21520
  onResize: A
21521
21521
  }, {
21522
- default: i1(() => [
21522
+ default: n1(() => [
21523
21523
  g1(e.$slots, "popper", {
21524
21524
  shown: f,
21525
21525
  hide: V
@@ -21633,7 +21633,7 @@ function _J(e, c, a, t, i, n) {
21633
21633
  onApplyShow: e.onShow,
21634
21634
  onApplyHide: e.onHide
21635
21635
  }), {
21636
- default: i1(({
21636
+ default: n1(({
21637
21637
  popperId: r,
21638
21638
  isShown: f,
21639
21639
  shouldMountContent: u,
@@ -21662,7 +21662,7 @@ function _J(e, c, a, t, i, n) {
21662
21662
  onHide: p,
21663
21663
  onResize: b
21664
21664
  }, {
21665
- default: i1(() => [
21665
+ default: n1(() => [
21666
21666
  e.html ? (m(), h("div", {
21667
21667
  key: 0,
21668
21668
  innerHTML: e.finalContent
@@ -21694,7 +21694,7 @@ let m8, W3, kJ = 0;
21694
21694
  function NJ() {
21695
21695
  if (m8)
21696
21696
  return;
21697
- W3 = l1([]), m8 = E$({
21697
+ W3 = s1([]), m8 = E$({
21698
21698
  name: "VTooltipDirectiveApp",
21699
21699
  setup() {
21700
21700
  return {
@@ -21717,7 +21717,7 @@ function NJ() {
21717
21717
  }
21718
21718
  function SJ(e, c, a) {
21719
21719
  NJ();
21720
- const t = l1(jq(e, c, a)), i = l1(!1), n = {
21720
+ const t = s1(jq(e, c, a)), i = s1(!1), n = {
21721
21721
  id: kJ++,
21722
21722
  options: t,
21723
21723
  shown: i
@@ -24362,15 +24362,15 @@ const pY = W({
24362
24362
  ).join("");
24363
24363
  return p.charAt(0).toLowerCase() + p.slice(1);
24364
24364
  }
24365
- const n = I(
24365
+ const n = E(
24366
24366
  () => i(c(e.icon).iconName)
24367
- ), s = I(() => a[n.value]), l = I(
24367
+ ), s = E(() => a[n.value]), l = E(
24368
24368
  () => vY(s.value, {
24369
24369
  symbol: !1,
24370
24370
  title: s.value
24371
24371
  })
24372
24372
  );
24373
- n1(
24373
+ i1(
24374
24374
  l,
24375
24375
  (f) => {
24376
24376
  if (!f)
@@ -24378,7 +24378,7 @@ const pY = W({
24378
24378
  },
24379
24379
  { immediate: !0 }
24380
24380
  );
24381
- const r = I(
24381
+ const r = E(
24382
24382
  () => l.value ? t(l.value.abstract[0]) : null
24383
24383
  );
24384
24384
  return () => r.value;
@@ -24440,7 +24440,7 @@ const pY = W({
24440
24440
  icon: `fa-solid fa-${e.icon}`,
24441
24441
  class: "AVButton--icon-left",
24442
24442
  "data-test": "btn-icon"
24443
- }, null, 8, ["icon"])) : E("", !0),
24443
+ }, null, 8, ["icon"])) : I("", !0),
24444
24444
  g1(i.$slots, "default", {}, () => [
24445
24445
  o1(g(e.label), 1)
24446
24446
  ], !0),
@@ -24449,7 +24449,7 @@ const pY = W({
24449
24449
  icon: `fa-solid fa-${e.icon}`,
24450
24450
  class: "AVButton--icon-right",
24451
24451
  "data-test": "btn-icon"
24452
- }, null, 8, ["icon"])) : E("", !0)
24452
+ }, null, 8, ["icon"])) : I("", !0)
24453
24453
  ], 10, hY);
24454
24454
  };
24455
24455
  }
@@ -24591,7 +24591,7 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
24591
24591
  setup(e, { emit: c }) {
24592
24592
  const a = e, t = c, i = (s) => {
24593
24593
  t("update:modelValue", s.target.value);
24594
- }, n = I(() => ({
24594
+ }, n = E(() => ({
24595
24595
  AVTextInput: !0,
24596
24596
  error: !!a.error,
24597
24597
  icon: !!a.icon,
@@ -24614,9 +24614,9 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
24614
24614
  class: "AVTextInput--tooltip-icon"
24615
24615
  }, null, 512)), [
24616
24616
  [f, e.tooltipText]
24617
- ]) : E("", !0)
24617
+ ]) : I("", !0)
24618
24618
  ])
24619
- ], 8, bY)) : E("", !0),
24619
+ ], 8, bY)) : I("", !0),
24620
24620
  o("div", AY, [
24621
24621
  o("div", LY, [
24622
24622
  e.icon ? (m(), Z(r, {
@@ -24624,7 +24624,7 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
24624
24624
  icon: `fa-solid fa-${e.icon}`,
24625
24625
  class: "AVTextInput--input-icon",
24626
24626
  "data-test": "input-icon"
24627
- }, null, 8, ["icon"])) : E("", !0)
24627
+ }, null, 8, ["icon"])) : I("", !0)
24628
24628
  ]),
24629
24629
  o("input", {
24630
24630
  id: e.id,
@@ -24643,9 +24643,9 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
24643
24643
  class: "AVTextInput--error-icon",
24644
24644
  "data-test": "input-error-icon"
24645
24645
  })
24646
- ])) : E("", !0)
24646
+ ])) : I("", !0)
24647
24647
  ]),
24648
- e.error && e.errorMessage ? (m(), h("p", xY, g(e.errorMessage), 1)) : E("", !0)
24648
+ e.error && e.errorMessage ? (m(), h("p", xY, g(e.errorMessage), 1)) : I("", !0)
24649
24649
  ]);
24650
24650
  };
24651
24651
  }
@@ -24711,7 +24711,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
24711
24711
  },
24712
24712
  emits: ["update:modelValue"],
24713
24713
  setup(e, { emit: c }) {
24714
- const a = e, t = c, i = l1(null), n = (v) => {
24714
+ const a = e, t = c, i = s1(null), n = (v) => {
24715
24715
  t("update:modelValue", parseInt(v.target.value));
24716
24716
  }, s = (v) => {
24717
24717
  v.target.value === "" && t("update:modelValue", 0);
@@ -24743,9 +24743,9 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
24743
24743
  class: "AVNumberInput--tooltip-icon"
24744
24744
  }, null, 512)), [
24745
24745
  [V, e.tooltipText]
24746
- ]) : E("", !0)
24746
+ ]) : I("", !0)
24747
24747
  ])
24748
- ], 8, wY)) : E("", !0),
24748
+ ], 8, wY)) : I("", !0),
24749
24749
  o("div", {
24750
24750
  class: "AVNumberInput--input-field",
24751
24751
  onMouseenter: l,
@@ -24757,7 +24757,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
24757
24757
  icon: `fa-solid fa-${e.icon}`,
24758
24758
  class: "AVNumberInput--input-icon",
24759
24759
  "data-test": "input-icon"
24760
- }, null, 8, ["icon"])) : E("", !0)
24760
+ }, null, 8, ["icon"])) : I("", !0)
24761
24761
  ]),
24762
24762
  o("input", {
24763
24763
  value: e.modelValue,
@@ -24769,7 +24769,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
24769
24769
  "no-icon": !e.icon,
24770
24770
  disabled: e.disabled
24771
24771
  }]),
24772
- style: F1(`margin-right: -${e.error ? "3.75" : "1.4"}rem`),
24772
+ style: B1(`margin-right: -${e.error ? "3.75" : "1.4"}rem`),
24773
24773
  id: e.id,
24774
24774
  disabled: e.disabled,
24775
24775
  ref: "numberInput",
@@ -24815,9 +24815,9 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
24815
24815
  class: "AVNumberInput--error-icon",
24816
24816
  "data-test": "input-error-icon"
24817
24817
  })
24818
- ])) : E("", !0)
24818
+ ])) : I("", !0)
24819
24819
  ], 32),
24820
- e.error && e.errorMessage ? (m(), h("p", DY, g(e.errorMessage), 1)) : E("", !0)
24820
+ e.error && e.errorMessage ? (m(), h("p", DY, g(e.errorMessage), 1)) : I("", !0)
24821
24821
  ]);
24822
24822
  };
24823
24823
  }
@@ -24868,7 +24868,7 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
24868
24868
  },
24869
24869
  emits: ["update:modelValue"],
24870
24870
  setup(e, { emit: c }) {
24871
- const a = c, t = l1(!1), i = () => {
24871
+ const a = c, t = s1(!1), i = () => {
24872
24872
  t.value = !t.value;
24873
24873
  }, n = (s) => {
24874
24874
  a("update:modelValue", s.target.value);
@@ -24890,12 +24890,12 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
24890
24890
  class: "AVPasswordInput--tooltip-icon"
24891
24891
  }, null, 512)), [
24892
24892
  [f, e.tooltipText]
24893
- ]) : E("", !0)
24893
+ ]) : I("", !0)
24894
24894
  ])
24895
- ], 8, RY)) : E("", !0),
24895
+ ], 8, RY)) : I("", !0),
24896
24896
  o("div", FY, [
24897
24897
  o("div", jY, [
24898
- e.disableIcon ? E("", !0) : (m(), Z(r, {
24898
+ e.disableIcon ? I("", !0) : (m(), Z(r, {
24899
24899
  key: 0,
24900
24900
  icon: "fa-solid fa-key",
24901
24901
  class: "AVPasswordInput--input-icon",
@@ -24927,7 +24927,7 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
24927
24927
  ])
24928
24928
  ])
24929
24929
  ]),
24930
- e.error && e.errorMessage ? (m(), h("p", UY, g(e.errorMessage), 1)) : E("", !0)
24930
+ e.error && e.errorMessage ? (m(), h("p", UY, g(e.errorMessage), 1)) : I("", !0)
24931
24931
  ]);
24932
24932
  };
24933
24933
  }
@@ -25002,9 +25002,9 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
25002
25002
  class: "AVDatetimeInput--tooltip-icon"
25003
25003
  }, null, 512)), [
25004
25004
  [l, e.tooltipText]
25005
- ]) : E("", !0)
25005
+ ]) : I("", !0)
25006
25006
  ])
25007
- ], 8, ZY)) : E("", !0),
25007
+ ], 8, ZY)) : I("", !0),
25008
25008
  o("div", YY, [
25009
25009
  o("div", QY, [
25010
25010
  e.icon ? (m(), Z(s, {
@@ -25012,7 +25012,7 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
25012
25012
  icon: `fa-solid fa-${e.icon}`,
25013
25013
  class: "AVDatetimeInput--input-icon",
25014
25014
  "data-test": "input-icon"
25015
- }, null, 8, ["icon"])) : E("", !0)
25015
+ }, null, 8, ["icon"])) : I("", !0)
25016
25016
  ]),
25017
25017
  o("input", {
25018
25018
  value: e.modelValue,
@@ -25023,7 +25023,7 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
25023
25023
  "no-icon": !e.icon,
25024
25024
  disabled: e.disabled
25025
25025
  }]),
25026
- style: F1(`margin-right: -${e.error ? "3.75" : "1.4"}rem`),
25026
+ style: B1(`margin-right: -${e.error ? "3.75" : "1.4"}rem`),
25027
25027
  id: e.id,
25028
25028
  disabled: e.disabled,
25029
25029
  ref: "datetimeInput",
@@ -25032,7 +25032,7 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
25032
25032
  max: e.max
25033
25033
  }, null, 46, KY)
25034
25034
  ]),
25035
- e.error && e.errorMessage ? (m(), h("p", XY, g(e.errorMessage), 1)) : E("", !0)
25035
+ e.error && e.errorMessage ? (m(), h("p", XY, g(e.errorMessage), 1)) : I("", !0)
25036
25036
  ]);
25037
25037
  };
25038
25038
  }
@@ -25110,20 +25110,20 @@ const cQ = /* @__PURE__ */ G(eQ, [["__scopeId", "data-v-d438432a"]]), aQ = { cla
25110
25110
  class: "AVTextArea--tooltip-icon"
25111
25111
  }, null, 512)), [
25112
25112
  [l, e.tooltipText]
25113
- ]) : E("", !0)
25113
+ ]) : I("", !0)
25114
25114
  ])
25115
- ], 8, tQ)) : E("", !0),
25115
+ ], 8, tQ)) : I("", !0),
25116
25116
  o("div", iQ, [
25117
25117
  o("div", {
25118
25118
  class: "AVTextArea--icon-container",
25119
- style: F1(`height: ${1.5625 * e.rows + 1}rem;`)
25119
+ style: B1(`height: ${1.5625 * e.rows + 1}rem;`)
25120
25120
  }, [
25121
25121
  e.icon ? (m(), Z(s, {
25122
25122
  key: 0,
25123
25123
  icon: `fa-solid fa-${e.icon}`,
25124
25124
  class: "AVTextArea--input-icon",
25125
25125
  "data-test": "input-icon"
25126
- }, null, 8, ["icon"])) : E("", !0)
25126
+ }, null, 8, ["icon"])) : I("", !0)
25127
25127
  ], 4),
25128
25128
  o("textarea", {
25129
25129
  value: e.modelValue,
@@ -25146,9 +25146,9 @@ const cQ = /* @__PURE__ */ G(eQ, [["__scopeId", "data-v-d438432a"]]), aQ = { cla
25146
25146
  class: "AVTextArea--error-icon",
25147
25147
  "data-test": "input-error-icon"
25148
25148
  })
25149
- ])) : E("", !0)
25149
+ ])) : I("", !0)
25150
25150
  ]),
25151
- e.error && e.errorMessage ? (m(), h("p", lQ, g(e.errorMessage), 1)) : E("", !0)
25151
+ e.error && e.errorMessage ? (m(), h("p", lQ, g(e.errorMessage), 1)) : I("", !0)
25152
25152
  ]);
25153
25153
  };
25154
25154
  }
@@ -25290,10 +25290,10 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
25290
25290
  active: !1,
25291
25291
  customWidth: null,
25292
25292
  id: null
25293
- }), n = I(() => a.options.map((f) => typeof f == "string" ? {
25293
+ }), n = E(() => a.options.map((f) => typeof f == "string" ? {
25294
25294
  label: f,
25295
25295
  value: f
25296
- } : f)), s = I(() => n.value.find(
25296
+ } : f)), s = E(() => n.value.find(
25297
25297
  (f) => f.value === a.modelValue
25298
25298
  ));
25299
25299
  z1(() => {
@@ -25323,9 +25323,9 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
25323
25323
  class: "AVDropdown--tooltip-icon"
25324
25324
  }, null, 512)), [
25325
25325
  [V, e.tooltipText]
25326
- ]) : E("", !0)
25326
+ ]) : I("", !0)
25327
25327
  ])
25328
- ], 8, zQ)) : E("", !0),
25328
+ ], 8, zQ)) : I("", !0),
25329
25329
  o("div", {
25330
25330
  onClick: r,
25331
25331
  class: "AVDropdown"
@@ -25350,7 +25350,7 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
25350
25350
  class: "AVDropdown--input-icon",
25351
25351
  "data-test": "input-icon"
25352
25352
  }, null, 8, ["icon"])
25353
- ])) : E("", !0),
25353
+ ])) : I("", !0),
25354
25354
  s.value === void 0 ? (m(), h("span", gQ, g(e.placeholder), 1)) : (m(), h("span", {
25355
25355
  key: 2,
25356
25356
  class: "AVDropdown--selected-option",
@@ -25365,7 +25365,7 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
25365
25365
  ])
25366
25366
  ], 10, VQ),
25367
25367
  T(p, null, {
25368
- default: i1(() => [
25368
+ default: n1(() => [
25369
25369
  (m(!0), h(K, null, f1(n.value, (b) => (m(), Z(d, {
25370
25370
  key: b,
25371
25371
  optionLabel: b.label,
@@ -25376,7 +25376,7 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
25376
25376
  _: 1
25377
25377
  })
25378
25378
  ]),
25379
- e.error && e.errorMessage ? (m(), h("p", bQ, g(e.errorMessage), 1)) : E("", !0)
25379
+ e.error && e.errorMessage ? (m(), h("p", bQ, g(e.errorMessage), 1)) : I("", !0)
25380
25380
  ]);
25381
25381
  };
25382
25382
  }
@@ -25384,16 +25384,16 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
25384
25384
  const LQ = /* @__PURE__ */ G(AQ, [["__scopeId", "data-v-09756cc6"]]), _Q = ["aria-labelledby"], yQ = /* @__PURE__ */ W({
25385
25385
  __name: "AVDropdownContent",
25386
25386
  setup(e) {
25387
- const c = k1("sharedState"), a = I(() => c.active), t = I(() => c.id);
25387
+ const c = k1("sharedState"), a = E(() => c.active), t = E(() => c.id);
25388
25388
  return (i, n) => (m(), Z(Y2, { name: "dropdown-content" }, {
25389
- default: i1(() => [
25389
+ default: n1(() => [
25390
25390
  a.value ? (m(), h("div", {
25391
25391
  key: 0,
25392
25392
  class: "AVDropdownContent",
25393
25393
  "aria-labelledby": t.value
25394
25394
  }, [
25395
25395
  g1(i.$slots, "default", {}, void 0, !0)
25396
- ], 8, _Q)) : E("", !0)
25396
+ ], 8, _Q)) : I("", !0)
25397
25397
  ]),
25398
25398
  _: 3
25399
25399
  }));
@@ -25487,12 +25487,12 @@ const NQ = /* @__PURE__ */ G(kQ, [["__scopeId", "data-v-2ca0bff3"]]), SQ = {
25487
25487
  const f = P("AVIcon");
25488
25488
  return m(), h("div", {
25489
25489
  class: j(`AVAlert AVAlert--${e.type}`),
25490
- style: F1(e.customWidth && `width: ${e.customWidth}px`),
25490
+ style: B1(e.customWidth && `width: ${e.customWidth}px`),
25491
25491
  "data-test": "alert"
25492
25492
  }, [
25493
- e.disableHeader ? E("", !0) : (m(), h("div", SQ, [
25493
+ e.disableHeader ? I("", !0) : (m(), h("div", SQ, [
25494
25494
  o("div", wQ, [
25495
- e.disableIcon ? E("", !0) : (m(), h("div", TQ, [
25495
+ e.disableIcon ? I("", !0) : (m(), h("div", TQ, [
25496
25496
  T(f, {
25497
25497
  icon: `fa-solid fa-${e.icon !== "" ? e.icon : s[e.type]}`,
25498
25498
  "data-test": "alert-icon"
@@ -25500,7 +25500,7 @@ const NQ = /* @__PURE__ */ G(kQ, [["__scopeId", "data-v-2ca0bff3"]]), SQ = {
25500
25500
  ])),
25501
25501
  o("span", IQ, g(e.title !== "" ? e.title : n[e.type]), 1)
25502
25502
  ]),
25503
- e.disableDismiss ? E("", !0) : (m(), h("button", {
25503
+ e.disableDismiss ? I("", !0) : (m(), h("button", {
25504
25504
  key: 0,
25505
25505
  class: "AVAlert--icon-container",
25506
25506
  onClick: i
@@ -25600,7 +25600,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25600
25600
  },
25601
25601
  emits: ["update", "fileFormatNotAccepted", "download"],
25602
25602
  setup(e, { emit: c }) {
25603
- const a = k1("i18n"), { t } = a.global, i = e, n = l1(!1), s = l1(null), l = l1([]);
25603
+ const a = k1("i18n"), { t } = a.global, i = e, n = s1(!1), s = s1(null), l = s1([]);
25604
25604
  z1(() => {
25605
25605
  if (i.locale && r1(i.locale), i.value && (l.value = i.value), i.customOpenMethod !== null) {
25606
25606
  const [L, S] = i.customOpenMethod;
@@ -25626,7 +25626,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25626
25626
  }
25627
25627
  };
25628
25628
  }
25629
- }), n1(
25629
+ }), i1(
25630
25630
  () => i.locale,
25631
25631
  () => {
25632
25632
  i.locale && r1(i.locale);
@@ -25655,7 +25655,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25655
25655
  r("fileFormatNotAccepted", y.name);
25656
25656
  }
25657
25657
  return N.files;
25658
- }, p = I(() => i.accept.split(",")), V = I(() => i.accept.split(",").join(", ")), b = I(
25658
+ }, p = E(() => i.accept.split(",")), V = E(() => i.accept.split(",").join(", ")), b = E(
25659
25659
  () => p.value.map((L) => L.toLocaleLowerCase())
25660
25660
  ), A = (L) => {
25661
25661
  const S = Math.round(L / 1024), N = Math.round(S / 1024), y = Math.round(N / 1024);
@@ -25690,7 +25690,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25690
25690
  return (L, S) => {
25691
25691
  const N = P("AVIcon"), y = h2("tooltip");
25692
25692
  return m(), h("div", PQ, [
25693
- e.disableLabel ? E("", !0) : (m(), h("label", {
25693
+ e.disableLabel ? I("", !0) : (m(), h("label", {
25694
25694
  key: 0,
25695
25695
  for: e.id,
25696
25696
  class: "AVFileInput--label",
@@ -25704,7 +25704,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25704
25704
  class: "AVFileInput--tooltip-icon"
25705
25705
  }, null, 512)), [
25706
25706
  [y, e.tooltipText]
25707
- ]) : E("", !0)
25707
+ ]) : I("", !0)
25708
25708
  ])
25709
25709
  ], 8, OQ)),
25710
25710
  o("label", {
@@ -25749,7 +25749,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25749
25749
  ]))
25750
25750
  ])
25751
25751
  ], 42, BQ),
25752
- e.disableAcceptedFormats ? E("", !0) : (m(), h("p", JQ, [
25752
+ e.disableAcceptedFormats ? I("", !0) : (m(), h("p", JQ, [
25753
25753
  o1(g(D(t)("js.components.AVFileInput.acceptedFormats")) + " ", 1),
25754
25754
  o("em", ZQ, g(V.value), 1)
25755
25755
  ])),
@@ -25777,7 +25777,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25777
25777
  o("em", null, g(A(R.size)), 1)
25778
25778
  ])
25779
25779
  ]),
25780
- e.disabled ? E("", !0) : (m(), h("button", {
25780
+ e.disabled ? I("", !0) : (m(), h("button", {
25781
25781
  key: 0,
25782
25782
  class: "AVTextInput--delete-btn",
25783
25783
  type: "button",
@@ -25791,7 +25791,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25791
25791
  })
25792
25792
  ], 8, aK))
25793
25793
  ], 2))), 128))
25794
- ])) : E("", !0),
25794
+ ])) : I("", !0),
25795
25795
  e.currentValue.length ? (m(), h("div", tK, [
25796
25796
  o("p", iK, g(D(t)("js.components.AVFileInput.current")), 1),
25797
25797
  (m(!0), h(K, null, f1(e.currentValue, (R) => (m(), h("div", {
@@ -25827,8 +25827,8 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
25827
25827
  ], 8, fK)
25828
25828
  ]))
25829
25829
  ]))), 128))
25830
- ])) : E("", !0),
25831
- e.error && e.errorMessage ? (m(), h("p", uK, g(e.errorMessage), 1)) : E("", !0)
25830
+ ])) : I("", !0),
25831
+ e.error && e.errorMessage ? (m(), h("p", uK, g(e.errorMessage), 1)) : I("", !0)
25832
25832
  ]);
25833
25833
  };
25834
25834
  }
@@ -25855,7 +25855,7 @@ const dK = /* @__PURE__ */ G(mK, [["__scopeId", "data-v-d0e51bd2"]]), vK = (e) =
25855
25855
  },
25856
25856
  emits: ["update"],
25857
25857
  setup(e, { emit: c }) {
25858
- const a = e, t = c, i = l1(!1);
25858
+ const a = e, t = c, i = s1(!1);
25859
25859
  z1(() => {
25860
25860
  a.checked && (i.value = a.checked);
25861
25861
  });
@@ -25864,7 +25864,7 @@ const dK = /* @__PURE__ */ G(mK, [["__scopeId", "data-v-d0e51bd2"]]), vK = (e) =
25864
25864
  }, s = () => {
25865
25865
  t("update", a.value, i.value);
25866
25866
  };
25867
- return n1(
25867
+ return i1(
25868
25868
  () => a.checked,
25869
25869
  () => {
25870
25870
  i.value = a.checked;
@@ -25954,7 +25954,7 @@ const MK = /* @__PURE__ */ G(VK, [["__scopeId", "data-v-065c2914"]]), gK = ["hre
25954
25954
  class: j(`AVLink AVLink--${e.variant}`)
25955
25955
  }, [
25956
25956
  o("span", null, g(e.label), 1),
25957
- e.disableIcon ? E("", !0) : (m(), Z(t, {
25957
+ e.disableIcon ? I("", !0) : (m(), Z(t, {
25958
25958
  key: 0,
25959
25959
  icon: "fa-solid fa-arrow-up-right-from-square",
25960
25960
  class: "AVLink--icon",
@@ -26007,7 +26007,7 @@ const CK = /* @__PURE__ */ G(HK, [["__scopeId", "data-v-999075bc"]]), bK = ["hre
26007
26007
  },
26008
26008
  emits: ["onClick"],
26009
26009
  setup(e, { emit: c }) {
26010
- const a = e, t = c, i = I(() => a.href ? "link" : "button"), n = I(() => a.disabled ? null : a.href), s = () => {
26010
+ const a = e, t = c, i = E(() => a.href ? "link" : "button"), n = E(() => a.disabled ? null : a.href), s = () => {
26011
26011
  t("onClick", a.reference);
26012
26012
  };
26013
26013
  return (l, r) => {
@@ -26020,9 +26020,9 @@ const CK = /* @__PURE__ */ G(HK, [["__scopeId", "data-v-999075bc"]]), bK = ["hre
26020
26020
  disabled: e.disabled
26021
26021
  }]),
26022
26022
  target: e.target,
26023
- style: F1(`width: ${e.customWidth}px`)
26023
+ style: B1(`width: ${e.customWidth}px`)
26024
26024
  }, [
26025
- e.disableIcon ? E("", !0) : (m(), Z(f, {
26025
+ e.disableIcon ? I("", !0) : (m(), Z(f, {
26026
26026
  key: 0,
26027
26027
  icon: `fa-solid fa-${e.icon}`,
26028
26028
  class: "AVNavbarItem--icon"
@@ -26034,11 +26034,11 @@ const CK = /* @__PURE__ */ G(HK, [["__scopeId", "data-v-999075bc"]]), bK = ["hre
26034
26034
  "AVNavbarItem--active": e.active,
26035
26035
  disabled: e.disabled
26036
26036
  }]),
26037
- style: F1(`width: ${e.customWidth}px`),
26037
+ style: B1(`width: ${e.customWidth}px`),
26038
26038
  disabled: e.disabled,
26039
26039
  onClick: s
26040
26040
  }, [
26041
- e.disableIcon ? E("", !0) : (m(), Z(f, {
26041
+ e.disableIcon ? I("", !0) : (m(), Z(f, {
26042
26042
  key: 0,
26043
26043
  icon: `fa-solid fa-${e.icon}`,
26044
26044
  class: "AVNavbarItem--icon"
@@ -26099,7 +26099,7 @@ const xK = /* @__PURE__ */ G(yK, [["__scopeId", "data-v-00ff3c9d"]]), kK = ["hre
26099
26099
  },
26100
26100
  emits: ["onClick"],
26101
26101
  setup(e, { emit: c }) {
26102
- const a = e, t = c, i = l1(!1), n = I(() => a.href ? "link" : "button"), s = I(() => a.disabled ? null : a.href), l = I(() => a.type === "step" ? "number" : "icon"), r = I(
26102
+ const a = e, t = c, i = s1(!1), n = E(() => a.href ? "link" : "button"), s = E(() => a.disabled ? null : a.href), l = E(() => a.type === "step" ? "number" : "icon"), r = E(
26103
26103
  () => a.type === "step" ? a.stepIndex : a.icon
26104
26104
  ), f = () => {
26105
26105
  a.disabled || (i.value = !i.value);
@@ -26209,7 +26209,7 @@ const IK = /* @__PURE__ */ G(TK, [["__scopeId", "data-v-3e891e66"]]), EK = { cla
26209
26209
  icon: e.icon,
26210
26210
  class: "AVTooltip--icon",
26211
26211
  "aria-hidden": "true"
26212
- }, null, 8, ["icon"])) : E("", !0)
26212
+ }, null, 8, ["icon"])) : I("", !0)
26213
26213
  ])), [
26214
26214
  [i, {
26215
26215
  content: e.content,
@@ -26278,7 +26278,7 @@ const OK = /* @__PURE__ */ G(PK, [["__scopeId", "data-v-3d675f68"]]), BK = { cla
26278
26278
  }, null, 8, ["icon"]))
26279
26279
  ], 8, RK),
26280
26280
  T(r, null, {
26281
- default: i1(() => [
26281
+ default: n1(() => [
26282
26282
  (m(!0), h(K, null, f1(e.options, (f, u) => (m(), Z(l, {
26283
26283
  key: u,
26284
26284
  optionLabel: f.label,
@@ -26297,16 +26297,16 @@ const OK = /* @__PURE__ */ G(PK, [["__scopeId", "data-v-3d675f68"]]), BK = { cla
26297
26297
  const jK = /* @__PURE__ */ G(FK, [["__scopeId", "data-v-6c23aaa1"]]), qK = ["aria-labelledby"], $K = /* @__PURE__ */ W({
26298
26298
  __name: "AVMenuDropdownContent",
26299
26299
  setup(e) {
26300
- const c = k1("sharedState"), a = I(() => c.active), t = I(() => c.id);
26300
+ const c = k1("sharedState"), a = E(() => c.active), t = E(() => c.id);
26301
26301
  return (i, n) => (m(), Z(Y2, { name: "dropdown-content" }, {
26302
- default: i1(() => [
26302
+ default: n1(() => [
26303
26303
  a.value ? (m(), h("div", {
26304
26304
  key: 0,
26305
26305
  class: "AVMenuDropdownContent",
26306
26306
  "aria-labelledby": t.value
26307
26307
  }, [
26308
26308
  g1(i.$slots, "default", {}, void 0, !0)
26309
- ], 8, qK)) : E("", !0)
26309
+ ], 8, qK)) : I("", !0)
26310
26310
  ]),
26311
26311
  _: 3
26312
26312
  }));
@@ -26344,7 +26344,7 @@ const UK = /* @__PURE__ */ G($K, [["__scopeId", "data-v-e8fb623b"]]), WK = ["hre
26344
26344
  class: "AVMenuDropdownItem--icon",
26345
26345
  icon: `fa-solid fa-${e.icon}`,
26346
26346
  "data-test": "option-icon"
26347
- }, null, 8, ["icon"])) : E("", !0),
26347
+ }, null, 8, ["icon"])) : I("", !0),
26348
26348
  o1(" " + g(e.optionLabel), 1)
26349
26349
  ], 10, WK);
26350
26350
  };
@@ -26390,9 +26390,9 @@ const JK = /* @__PURE__ */ G(GK, [["__scopeId", "data-v-8513fa9b"]]), ZK = ["dis
26390
26390
  },
26391
26391
  emits: ["update:waiting"],
26392
26392
  setup(e, { emit: c }) {
26393
- const a = c, t = e, i = l1(!1);
26394
- n1(i, (r) => a("update:waiting", r));
26395
- const n = I(() => {
26393
+ const a = c, t = e, i = s1(!1);
26394
+ i1(i, (r) => a("update:waiting", r));
26395
+ const n = E(() => {
26396
26396
  if (!i.value)
26397
26397
  switch (t.variant) {
26398
26398
  case "default":
@@ -26404,7 +26404,7 @@ const JK = /* @__PURE__ */ G(GK, [["__scopeId", "data-v-8513fa9b"]]), ZK = ["dis
26404
26404
  default:
26405
26405
  return null;
26406
26406
  }
26407
- }), s = I(() => t.disabled || i.value);
26407
+ }), s = E(() => t.disabled || i.value);
26408
26408
  async function l(r) {
26409
26409
  i.value = !0;
26410
26410
  try {
@@ -26442,7 +26442,7 @@ const JK = /* @__PURE__ */ G(GK, [["__scopeId", "data-v-8513fa9b"]]), ZK = ["dis
26442
26442
  icon: n.value,
26443
26443
  class: "AVAsyncButton--icon",
26444
26444
  "data-test": "btn-icon"
26445
- }, null, 8, ["icon"])) : E("", !0),
26445
+ }, null, 8, ["icon"])) : I("", !0),
26446
26446
  o("span", YK, g(e.label), 1)
26447
26447
  ], !0)
26448
26448
  ], 10, ZK);
@@ -26469,7 +26469,7 @@ const KK = /* @__PURE__ */ G(QK, [["__scopeId", "data-v-7439a7ec"]]), XK = { cla
26469
26469
  },
26470
26470
  emits: ["update"],
26471
26471
  setup(e, { emit: c }) {
26472
- const a = e, t = l1([]), i = l1(""), n = I(() => a.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
26472
+ const a = e, t = s1([]), i = s1(""), n = E(() => a.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
26473
26473
  z1(() => s());
26474
26474
  const s = () => {
26475
26475
  t.value = [], a.options.map(
@@ -26493,15 +26493,15 @@ const KK = /* @__PURE__ */ G(QK, [["__scopeId", "data-v-7439a7ec"]]), XK = { cla
26493
26493
  }, v = () => {
26494
26494
  f("update", i.value, t.value);
26495
26495
  };
26496
- return n1(
26496
+ return i1(
26497
26497
  () => a.options,
26498
26498
  () => s()
26499
- ), n1(
26499
+ ), i1(
26500
26500
  () => a.selected,
26501
26501
  () => {
26502
26502
  i.value = a.selected, l(a.selected);
26503
26503
  }
26504
- ), n1(
26504
+ ), i1(
26505
26505
  () => a.disabled,
26506
26506
  () => r()
26507
26507
  ), (d, p) => (m(), h("div", XK, [
@@ -26539,7 +26539,7 @@ const aX = /* @__PURE__ */ G(cX, [["__scopeId", "data-v-3c4a2127"]]), tX = { cla
26539
26539
  }
26540
26540
  },
26541
26541
  setup(e) {
26542
- const c = e, a = I(() => c.currentBallots >= c.minimumBallots), t = I(() => c.minimumBallots - c.currentBallots);
26542
+ const c = e, a = E(() => c.currentBallots >= c.minimumBallots), t = E(() => c.minimumBallots - c.currentBallots);
26543
26543
  return (i, n) => {
26544
26544
  const s = P("AVIcon"), l = P("AVSpinner");
26545
26545
  return m(), h("div", tX, [
@@ -26604,17 +26604,17 @@ const lX = /* @__PURE__ */ G(sX, [["__scopeId", "data-v-2d7c011c"]]), rX = {
26604
26604
  z1(() => {
26605
26605
  i();
26606
26606
  });
26607
- const t = l1(0), i = () => {
26607
+ const t = s1(0), i = () => {
26608
26608
  const v = setInterval(() => {
26609
26609
  t.value = t.value + 1, t.value >= a.timeout && (clearInterval(v), n("expired", !0, a.timeout));
26610
26610
  }, 1e3);
26611
- }, n = c, s = I(() => 100 - t.value / a.timeout * 100), l = I(
26611
+ }, n = c, s = E(() => 100 - t.value / a.timeout * 100), l = E(
26612
26612
  () => Math.floor((a.timeout - t.value) / 60)
26613
- ), r = I(() => (a.timeout - t.value) % 60), f = I(() => l.value % 60), u = I(() => r.value < 10 ? `${f.value}:0${r.value}` : `${f.value}:${r.value}`);
26613
+ ), r = E(() => (a.timeout - t.value) % 60), f = E(() => l.value % 60), u = E(() => r.value < 10 ? `${f.value}:0${r.value}` : `${f.value}:${r.value}`);
26614
26614
  return (v, d) => (m(), h(K, null, [
26615
26615
  o("div", {
26616
26616
  class: "AVTimedCard",
26617
- style: F1(`width: ${e.customWidth}px`)
26617
+ style: B1(`width: ${e.customWidth}px`)
26618
26618
  }, [
26619
26619
  o("div", rX, [
26620
26620
  g1(v.$slots, "default", {}, void 0, !0)
@@ -26624,7 +26624,7 @@ const lX = /* @__PURE__ */ G(sX, [["__scopeId", "data-v-2d7c011c"]]), rX = {
26624
26624
  class: j(["AVTimedCard--progress-bar", {
26625
26625
  "AVTimedCard--progress-bar-warning": e.timeout - t.value <= e.customWarningTime
26626
26626
  }]),
26627
- style: F1(`width: ${s.value}%`),
26627
+ style: B1(`width: ${s.value}%`),
26628
26628
  "data-test": "progress-bar"
26629
26629
  }, null, 6)
26630
26630
  ])
@@ -26677,14 +26677,14 @@ const uX = /* @__PURE__ */ G(fX, [["__scopeId", "data-v-7d0d595b"]]), mX = (e) =
26677
26677
  }]),
26678
26678
  "data-test": "step"
26679
26679
  }, g(e.steps[1]), 3),
26680
- e.steps.length === 3 ? (m(), h("span", pX)) : E("", !0),
26680
+ e.steps.length === 3 ? (m(), h("span", pX)) : I("", !0),
26681
26681
  e.steps.length === 3 ? (m(), h("span", {
26682
26682
  key: 1,
26683
26683
  class: j(["AVBasicSteps--step", {
26684
26684
  "AVBasicSteps--step-active": a(e.steps[2])
26685
26685
  }]),
26686
26686
  "data-test": "step"
26687
- }, g(e.steps[2]), 3)) : E("", !0)
26687
+ }, g(e.steps[2]), 3)) : I("", !0)
26688
26688
  ]));
26689
26689
  }
26690
26690
  });
@@ -26711,7 +26711,7 @@ const zX = /* @__PURE__ */ G(hX, [["__scopeId", "data-v-dbd25d5c"]]), VX = { cla
26711
26711
  D$((s) => ({
26712
26712
  "3e5060db": n.value
26713
26713
  }));
26714
- const c = e, a = l1([]), t = () => {
26714
+ const c = e, a = s1([]), t = () => {
26715
26715
  a.value = [], c.steps.map((s) => {
26716
26716
  a.value.push({
26717
26717
  value: s,
@@ -26722,17 +26722,17 @@ const zX = /* @__PURE__ */ G(hX, [["__scopeId", "data-v-dbd25d5c"]]), VX = { cla
26722
26722
  }, i = (s) => c.done ? c.done.includes(s) : !1;
26723
26723
  z1(() => {
26724
26724
  t();
26725
- }), n1(
26725
+ }), i1(
26726
26726
  () => c.steps,
26727
26727
  () => t()
26728
- ), n1(
26728
+ ), i1(
26729
26729
  () => c.active,
26730
26730
  () => t()
26731
- ), n1(
26731
+ ), i1(
26732
26732
  () => c.done,
26733
26733
  () => t()
26734
26734
  );
26735
- const n = I(() => `${100 / c.steps.length}%`);
26735
+ const n = E(() => `${100 / c.steps.length}%`);
26736
26736
  return (s, l) => {
26737
26737
  const r = P("AVIcon");
26738
26738
  return m(), h("div", VX, [
@@ -26802,12 +26802,12 @@ const HX = /* @__PURE__ */ G(gX, [["__scopeId", "data-v-89e22cbe"]]), g$ = (e) =
26802
26802
  }
26803
26803
  },
26804
26804
  setup(e) {
26805
- const c = e, a = I(() => c.rank ? document.getElementsByTagName("html")[0].dir === "rtl" ? `${c.rank} ${t.global.messages.value ? t.global.messages.value[i.value].js.components.AVOptionSelect.aria_label : t.global.messages[i.value].js.components.AVOptionSelect.aria_label}` : `${t.global.messages.value ? t.global.messages.value[i.value].js.components.AVOptionSelect.aria_label : t.global.messages[i.value].js.components.AVOptionSelect.aria_label} ${c.rank}` : ""), t = k1("i18n"), i = I(
26805
+ const c = e, a = E(() => c.rank ? document.getElementsByTagName("html")[0].dir === "rtl" ? `${c.rank} ${t.global.messages.value ? t.global.messages.value[i.value].js.components.AVOptionSelect.aria_label : t.global.messages[i.value].js.components.AVOptionSelect.aria_label}` : `${t.global.messages.value ? t.global.messages.value[i.value].js.components.AVOptionSelect.aria_label : t.global.messages[i.value].js.components.AVOptionSelect.aria_label} ${c.rank}` : ""), t = k1("i18n"), i = E(
26806
26806
  () => t.global.locale.value || t.global.locale
26807
26807
  );
26808
26808
  return z1(() => {
26809
26809
  c.locale && r1(c.locale);
26810
- }), n1(
26810
+ }), i1(
26811
26811
  () => c.locale,
26812
26812
  () => {
26813
26813
  c.locale && r1(c.locale);
@@ -26869,14 +26869,14 @@ const kX = /* @__PURE__ */ G(xX, [["__scopeId", "data-v-a31774ee"]]), NX = { cla
26869
26869
  const a = k1("i18n"), { t } = a.global, i = e, n = c;
26870
26870
  z1(() => {
26871
26871
  i.locale && r1(i.locale);
26872
- }), n1(
26872
+ }), i1(
26873
26873
  () => i.locale,
26874
26874
  () => {
26875
26875
  i.locale && r1(i.locale);
26876
26876
  },
26877
26877
  { deep: !0 }
26878
26878
  );
26879
- const s = () => n("toggled"), l = I(() => i.optionReference ? {
26879
+ const s = () => n("toggled"), l = E(() => i.optionReference ? {
26880
26880
  id: `option_${i.optionReference}_checkbox_${i.checkBoxIndex}`,
26881
26881
  role: "checkbox",
26882
26882
  "aria-labelledby": `option_${i.optionReference}_title option_${i.optionReference}_tick option_${i.optionReference}_subtitle`,
@@ -26888,7 +26888,7 @@ const kX = /* @__PURE__ */ G(xX, [["__scopeId", "data-v-a31774ee"]]), NX = { cla
26888
26888
  return m(), h("div", NX, [
26889
26889
  e.exclusiveError && e.checked ? (m(), h("div", SX, [
26890
26890
  o("div", wX, g(D(t)("js.components.AVOptionCheckbox.exclusive_option")), 1)
26891
- ])) : E("", !0),
26891
+ ])) : I("", !0),
26892
26892
  o("button", W8({
26893
26893
  class: {
26894
26894
  AVOptionCheckbox: !0,
@@ -26911,7 +26911,7 @@ const kX = /* @__PURE__ */ G(xX, [["__scopeId", "data-v-a31774ee"]]), NX = { cla
26911
26911
  rank: e.rank,
26912
26912
  checked: e.checked,
26913
26913
  "data-test": "select"
26914
- }, null, 8, ["id", "rank", "checked"])) : E("", !0)
26914
+ }, null, 8, ["id", "rank", "checked"])) : I("", !0)
26915
26915
  ], 16, TX)
26916
26916
  ]);
26917
26917
  };
@@ -26950,7 +26950,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
26950
26950
  onLeave: i,
26951
26951
  onAfterEnter: t
26952
26952
  }, {
26953
- default: i1(() => [
26953
+ default: n1(() => [
26954
26954
  g1(n.$slots, "default")
26955
26955
  ]),
26956
26956
  _: 3
@@ -26974,7 +26974,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
26974
26974
  },
26975
26975
  emits: ["accordionOpen"],
26976
26976
  setup(e, { emit: c }) {
26977
- const a = e, t = c, i = l1(!1), n = l1(!0), s = I(() => ({
26977
+ const a = e, t = c, i = s1(!1), n = s1(!0), s = E(() => ({
26978
26978
  collapsable: a.collapsable,
26979
26979
  startCollapsed: a.startCollapsed
26980
26980
  }));
@@ -27007,7 +27007,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
27007
27007
  T(u, {
27008
27008
  "skip-transition": !n.value
27009
27009
  }, {
27010
- default: i1(() => [
27010
+ default: n1(() => [
27011
27011
  j1(o("div", {
27012
27012
  id: e.paneId,
27013
27013
  "aria-hidden": !i.value || null
@@ -27063,7 +27063,7 @@ const RX = /* @__PURE__ */ G(BX, [["__scopeId", "data-v-f5102fd7"]]), FX = { "da
27063
27063
  /^(http(s)?:\/\/)?([A-Za-z]+\.)?((?:youtube(-nocookie)?\.com|youtu.be))\//gm
27064
27064
  ),
27065
27065
  tiktok: new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?tiktok\.com\//gm)
27066
- }, t = I(() => {
27066
+ }, t = E(() => {
27067
27067
  let n = "link";
27068
27068
  return Object.keys(a).map((s) => {
27069
27069
  a[s].test(c.link.attributes.url) && (n = s);
@@ -27128,6 +27128,10 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
27128
27128
  type: Boolean,
27129
27129
  default: !1
27130
27130
  },
27131
+ hasPrevStep: {
27132
+ type: Boolean,
27133
+ default: !1
27134
+ },
27131
27135
  linkMode: {
27132
27136
  type: Boolean,
27133
27137
  default: !1
@@ -27138,35 +27142,44 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
27138
27142
  }
27139
27143
  },
27140
27144
  setup(e) {
27141
- const c = e, a = I(() => {
27145
+ const c = e, a = E(() => {
27142
27146
  const v = c.title.split(" ");
27143
27147
  return v.length < 2 ? `${v[0][0].toUpperCase()}${v[0][1].toUpperCase()}` : `${v[0][0].toUpperCase()}${v[1][0].toUpperCase()}`;
27144
- }), t = l1([]), i = I(
27145
- () => t.value.find(
27146
- (v) => Number(v.dataset.index) === Number(c.stepNumber)
27147
- ).clientHeight
27148
- ), n = I(
27149
- () => {
27150
- var v;
27151
- return (v = t.value.find(
27152
- (d) => Number(d.dataset.index) === Number(c.stepNumber + 1)
27153
- )) == null ? void 0 : v.clientHeight;
27154
- }
27155
- ), s = I(() => Math.ceil(i.value / 2)), l = I(() => Math.ceil(n.value / 2)), r = I(() => !c.hasNextStep || !n.value ? "" : `
27156
- height: ${s.value + l.value}px;
27157
- margin-top: -${s.value - 4}px;
27158
- margin-bottom: -${l.value - 4}px;
27159
- `), f = () => {
27160
- c.hasNextStep && (t.value = Array.from(document.querySelectorAll("#verticalStepItem")));
27148
+ }), t = s1([]), i = s1(0), n = E(
27149
+ () => Math.ceil((i.value - 32) / 2)
27150
+ ), s = E(() => c.hasPrevStep ? `
27151
+ height: ${n.value + 4}px;
27152
+ margin-bottom: -${n.value - 4}px;
27153
+ ` : ""), l = E(() => c.hasNextStep ? `
27154
+ height: ${n.value + 4}px;
27155
+ margin-top: -${n.value - 4}px;
27156
+ ` : ""), r = () => {
27157
+ (c.hasNextStep || c.hasPrevStep) && (t.value = Array.from(document.querySelectorAll("#verticalStepItem")));
27158
+ }, f = () => {
27159
+ var v;
27160
+ c.linkMode || (i.value = ((v = t.value.find(
27161
+ (d) => Number(d.dataset.index) === Number(c.stepNumber)
27162
+ )) == null ? void 0 : v.clientHeight) ?? 0);
27161
27163
  }, u = () => {
27162
27164
  if (!c.linkMode && !c.stepNumber)
27163
27165
  throw new Error("stepNumber prop is required when linkMode is disabled");
27164
27166
  };
27165
27167
  return z1(() => {
27166
- f(), u(), window.addEventListener("resize", f);
27167
- }), is(() => window.removeEventListener("resize", f)), (v, d) => {
27168
+ u(), r(), f(), window.addEventListener("resize", f);
27169
+ }), is(() => window.removeEventListener("resize", f)), i1(
27170
+ () => c.collapsed,
27171
+ () => {
27172
+ setTimeout(() => f(), 250);
27173
+ }
27174
+ ), (v, d) => {
27168
27175
  const p = P("AVIcon");
27169
27176
  return m(), h("div", $X, [
27177
+ e.hasPrevStep ? (m(), h("div", {
27178
+ key: 0,
27179
+ class: "AVVerticalStep--line",
27180
+ style: B1(s.value),
27181
+ "data-test": "step-line-pre"
27182
+ }, null, 4)) : I("", !0),
27170
27183
  o("div", {
27171
27184
  class: j(["AVVerticalStep--container", {
27172
27185
  "AVVerticalStep--link-container": e.linkMode,
@@ -27204,8 +27217,8 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
27204
27217
  ]))
27205
27218
  ], 2),
27206
27219
  T(Y2, null, {
27207
- default: i1(() => [
27208
- e.collapsed ? E("", !0) : (m(), h("div", {
27220
+ default: n1(() => [
27221
+ e.collapsed ? I("", !0) : (m(), h("div", {
27209
27222
  key: 0,
27210
27223
  class: j(["AVVerticalStep--text", {
27211
27224
  "AVVerticalStep--text-link-active": e.linkMode && e.status === "active"
@@ -27219,23 +27232,23 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
27219
27232
  key: 0,
27220
27233
  class: j(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),
27221
27234
  "data-test": "step-subtitle"
27222
- }, g(e.subtitle), 3)) : E("", !0)
27235
+ }, g(e.subtitle), 3)) : I("", !0)
27223
27236
  ], 2))
27224
27237
  ]),
27225
27238
  _: 1
27226
27239
  })
27227
27240
  ], 10, UX),
27228
27241
  e.hasNextStep ? (m(), h("div", {
27229
- key: 0,
27230
- class: j(`AVVerticalStep--line AVVerticalStep--line-${e.status}`),
27231
- style: F1(r.value),
27232
- "data-test": "step-line"
27233
- }, null, 6)) : E("", !0)
27242
+ key: 1,
27243
+ class: "AVVerticalStep--line",
27244
+ style: B1(l.value),
27245
+ "data-test": "step-line-post"
27246
+ }, null, 4)) : I("", !0)
27234
27247
  ]);
27235
27248
  };
27236
27249
  }
27237
27250
  });
27238
- const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-34ba54e6"]]), bi = (e) => (Z1("data-v-90e59491"), e = e(), Y1(), e), i11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), n11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), s11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), l11 = [
27251
+ const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-aa19c2c4"]]), bi = (e) => (Z1("data-v-90e59491"), e = e(), Y1(), e), i11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), n11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), s11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), l11 = [
27239
27252
  i11,
27240
27253
  n11,
27241
27254
  s11
@@ -27279,7 +27292,7 @@ const o11 = /* @__PURE__ */ G(r11, [["__scopeId", "data-v-90e59491"]]), f11 = {
27279
27292
  },
27280
27293
  setup(e) {
27281
27294
  return (c, a) => (m(), h("div", f11, [
27282
- e.hidePercentage ? E("", !0) : (m(), h("div", {
27295
+ e.hidePercentage ? I("", !0) : (m(), h("div", {
27283
27296
  key: 0,
27284
27297
  class: j(["AVProgressBar--percentage", {
27285
27298
  "AVProgressBar--success": e.value === 100
@@ -27290,7 +27303,7 @@ const o11 = /* @__PURE__ */ G(r11, [["__scopeId", "data-v-90e59491"]]), f11 = {
27290
27303
  class: j(["AVProgressBar--filling", {
27291
27304
  "AVProgressBar--success": e.value === 100
27292
27305
  }]),
27293
- style: F1(`width: ${e.value}%;`)
27306
+ style: B1(`width: ${e.value}%;`)
27294
27307
  }, null, 6)
27295
27308
  ])
27296
27309
  ]));
@@ -27354,7 +27367,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
27354
27367
  },
27355
27368
  emits: ["update"],
27356
27369
  setup(e, { emit: c }) {
27357
- const a = e, t = c, i = l1(""), n = l1([]), s = (u) => {
27370
+ const a = e, t = c, i = s1(""), n = s1([]), s = (u) => {
27358
27371
  n.value.map((v) => {
27359
27372
  v.value === u ? (v.checked = !0, i.value = v.value) : v.checked = !1;
27360
27373
  });
@@ -27378,12 +27391,12 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
27378
27391
  }, f = () => {
27379
27392
  t("update", i.value, n.value);
27380
27393
  };
27381
- return n1(
27394
+ return i1(
27382
27395
  () => a.initialValue,
27383
27396
  () => {
27384
27397
  i.value = a.initialValue, s(a.initialValue);
27385
27398
  }
27386
- ), n1(
27399
+ ), i1(
27387
27400
  () => a.disabled,
27388
27401
  () => {
27389
27402
  l();
@@ -27391,7 +27404,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
27391
27404
  ), (u, v) => {
27392
27405
  const d = P("AVRadio");
27393
27406
  return m(), h("div", H11, [
27394
- e.disableLabel ? E("", !0) : (m(), h("label", {
27407
+ e.disableLabel ? I("", !0) : (m(), h("label", {
27395
27408
  key: 0,
27396
27409
  for: e.id,
27397
27410
  class: "AVRadioGroup--label",
@@ -27411,7 +27424,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
27411
27424
  onUpdate: (b) => r(p.value)
27412
27425
  }, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
27413
27426
  ], 2),
27414
- e.error && e.errorMessage ? (m(), h("p", b11, g(e.errorMessage), 1)) : E("", !0)
27427
+ e.error && e.errorMessage ? (m(), h("p", b11, g(e.errorMessage), 1)) : I("", !0)
27415
27428
  ]);
27416
27429
  };
27417
27430
  }
@@ -27454,7 +27467,7 @@ const y11 = /* @__PURE__ */ G(_11, [["__scopeId", "data-v-9fd5c53d"]]), x11 = {
27454
27467
  const t = P("AVIcon");
27455
27468
  return m(), h("div", x11, [
27456
27469
  o("a", { href: e.buttonHref }, [
27457
- e.disableButton ? E("", !0) : (m(), Z(t, {
27470
+ e.disableButton ? I("", !0) : (m(), Z(t, {
27458
27471
  key: 0,
27459
27472
  icon: "fa-solid fa-circle-chevron-left",
27460
27473
  class: "AVBreadcrumb--icon"
@@ -27543,7 +27556,7 @@ const w11 = /* @__PURE__ */ G(S11, [["__scopeId", "data-v-479a161a"]]), T11 = ["
27543
27556
  open: "success",
27544
27557
  closed: "danger",
27545
27558
  archived: "default"
27546
- }, t = I(() => a[c.status]);
27559
+ }, t = E(() => a[c.status]);
27547
27560
  return (i, n) => {
27548
27561
  const s = P("AVLabel"), l = P("AVIcon"), r = P("AVCard");
27549
27562
  return m(), h("a", {
@@ -27555,7 +27568,7 @@ const w11 = /* @__PURE__ */ G(S11, [["__scopeId", "data-v-479a161a"]]), T11 = ["
27555
27568
  variant: "rounded",
27556
27569
  role: "button"
27557
27570
  }, {
27558
- default: i1(() => [
27571
+ default: n1(() => [
27559
27572
  o("div", I11, [
27560
27573
  o("span", E11, g(e.id), 1),
27561
27574
  o("div", D11, [
@@ -27652,11 +27665,11 @@ const Y11 = /* @__PURE__ */ G(Z11, [["__scopeId", "data-v-dd72671e"]]), Q11 = ["
27652
27665
  "data-test": "link"
27653
27666
  }, [
27654
27667
  T(i, { variant: "rounded" }, {
27655
- default: i1(() => [
27668
+ default: n1(() => [
27656
27669
  o("div", K11, [
27657
27670
  e.reviewed ? (m(), h("div", X11, [
27658
27671
  T(t, { icon: "fa-solid fa-check" })
27659
- ])) : E("", !0),
27672
+ ])) : I("", !0),
27660
27673
  o("div", e21, [
27661
27674
  o("div", c21, g(e.name), 1),
27662
27675
  o("div", a21, g(`${e.contestQty} ${e.contestLabel}`), 1)
@@ -27717,28 +27730,28 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
27717
27730
  }
27718
27731
  },
27719
27732
  setup(e) {
27720
- const c = e, a = I(
27733
+ const c = e, a = E(
27721
27734
  () => {
27722
27735
  var u, v;
27723
27736
  return ((u = c.option) == null ? void 0 : u.crosses) && ((v = c.option) == null ? void 0 : v.crosses) > 1 && c.multipleVotesAllowed && !c.blank;
27724
27737
  }
27725
- ), t = I(() => c.parents.length < 1 ? null : c.parents.map((u) => u.title[f.value]).reverse()), i = I(() => {
27738
+ ), t = E(() => c.parents.length < 1 ? null : c.parents.map((u) => u.title[f.value]).reverse()), i = E(() => {
27726
27739
  var u;
27727
27740
  return c.blank ? r("js.components.AVSummaryOption.blank") : (u = c.option) == null ? void 0 : u.title[f.value];
27728
- }), n = I(() => {
27741
+ }), n = E(() => {
27729
27742
  var V, b;
27730
27743
  const u = Array.from(Array((V = c.option) == null ? void 0 : V.crosses).keys());
27731
27744
  u.forEach((A) => u[A] = A + 1);
27732
27745
  const v = u.indexOf(Math.ceil(((b = c.option) == null ? void 0 : b.crosses) / 2)) + 1, d = u.slice(0, v), p = u.slice(v);
27733
27746
  return p.length ? [d, p] : [d];
27734
- }), s = I(
27747
+ }), s = E(
27735
27748
  () => c.option.image.includes("square") ? c.option.image : `${c.option.image}/${c.imageOption}`
27736
- ), l = k1("i18n"), { t: r } = l.global, f = I(
27749
+ ), l = k1("i18n"), { t: r } = l.global, f = E(
27737
27750
  () => l.global.locale.value || l.global.locale
27738
27751
  );
27739
27752
  return z1(() => {
27740
27753
  c.locale && r1(c.locale);
27741
- }), n1(
27754
+ }), i1(
27742
27755
  () => c.locale,
27743
27756
  () => {
27744
27757
  c.locale && r1(c.locale);
@@ -27760,7 +27773,7 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
27760
27773
  "data-test": "breadcrumb-item"
27761
27774
  }, g(b), 1))), 128))
27762
27775
  ])
27763
- ])) : E("", !0),
27776
+ ])) : I("", !0),
27764
27777
  o("div", {
27765
27778
  class: j({
27766
27779
  "AVSummaryOption--header": !0,
@@ -27773,11 +27786,11 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
27773
27786
  class: "AVSummaryOption--img",
27774
27787
  alt: D(r)("js.components.AVSummaryOption.aria_label.option_image"),
27775
27788
  "data-test": "summary-option-image"
27776
- }, null, 8, o21)) : E("", !0),
27789
+ }, null, 8, o21)) : I("", !0),
27777
27790
  o("div", f21, [
27778
27791
  o("div", u21, g(i.value), 1)
27779
27792
  ]),
27780
- a.value ? E("", !0) : (m(), h("div", m21, [
27793
+ a.value ? I("", !0) : (m(), h("div", m21, [
27781
27794
  T(d, {
27782
27795
  checked: !0,
27783
27796
  rank: (V = e.option) == null ? void 0 : V.rank,
@@ -27802,12 +27815,12 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
27802
27815
  }, null, 8, ["rank"]);
27803
27816
  }), 128))
27804
27817
  ]))), 128))
27805
- ])) : E("", !0)
27818
+ ])) : I("", !0)
27806
27819
  ], 8, s21);
27807
27820
  };
27808
27821
  }
27809
27822
  });
27810
- const as = l1(/* @__PURE__ */ new Map());
27823
+ const as = s1(/* @__PURE__ */ new Map());
27811
27824
  function H$() {
27812
27825
  function e(c, ...a) {
27813
27826
  as.value.set(c, a);
@@ -27892,30 +27905,30 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
27892
27905
  },
27893
27906
  emits: ["accordion-open", "checked", "view-candidate"],
27894
27907
  setup(e, { emit: c }) {
27895
- const { eventBus: a } = H$(), t = l1(!1), i = l1(null), n = e, s = c, l = I(
27908
+ const { eventBus: a } = H$(), t = s1(!1), i = s1(null), n = e, s = c, l = E(
27896
27909
  () => document.getElementsByTagName("html")[0].dir === "rtl"
27897
- ), r = I(
27910
+ ), r = E(
27898
27911
  () => n.contest.markingType.voteVariation === "ranked"
27899
- ), f = I(
27912
+ ), f = E(
27900
27913
  () => n.selections.filter(
27901
27914
  (O) => O.reference === n.option.reference
27902
27915
  ).length
27903
- ), u = I(() => n.option.title[X.value] ?? ""), v = I(
27916
+ ), u = E(() => n.option.title[X.value] ?? ""), v = E(
27904
27917
  () => {
27905
27918
  var O;
27906
27919
  return ((O = n.option.description) == null ? void 0 : O[X.value]) ?? "";
27907
27920
  }
27908
- ), d = I(() => {
27921
+ ), d = E(() => {
27909
27922
  var O;
27910
27923
  return ((O = n.option.url) == null ? void 0 : O[X.value]) ?? "";
27911
- }), p = I(
27924
+ }), p = E(
27912
27925
  () => {
27913
27926
  var O;
27914
27927
  return ((O = n.option.videoUrl) == null ? void 0 : O[X.value]) ?? "";
27915
27928
  }
27916
- ), V = I(
27929
+ ), V = E(
27917
27930
  () => n.option.image.includes("square") ? n.option.image : `${n.option.image}/${n.imageOption}`
27918
- ), b = I(() => {
27931
+ ), b = E(() => {
27919
27932
  let O = [];
27920
27933
  return d.value && O.push({
27921
27934
  url: d.value,
@@ -27924,14 +27937,14 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
27924
27937
  url: p.value,
27925
27938
  text: R("js.components.AVOption.video_link_text_html")
27926
27939
  }), O;
27927
- }), A = I(
27940
+ }), A = E(
27928
27941
  () => n.option.children && n.option.children.length > 0
27929
- ), _ = I(() => n.option.selectable !== void 0 && !n.option.selectable ? 0 : M.value ? 1 : n.option.voteLimit || n.contest.markingType.votesAllowedPerOption || 1), C = I(() => n.selections.length > 0 ? S(n.option.children) : 0), M = I(() => n.option.exclusive), x = I(() => {
27942
+ ), _ = E(() => n.option.selectable !== void 0 && !n.option.selectable ? 0 : M.value ? 1 : n.option.voteLimit || n.contest.markingType.votesAllowedPerOption || 1), C = E(() => n.selections.length > 0 ? S(n.option.children) : 0), M = E(() => n.option.exclusive), x = E(() => {
27930
27943
  const O = Array.from(Array(_.value).keys());
27931
27944
  O.forEach((Q) => O[Q] = Q + 1);
27932
27945
  const a1 = O.indexOf(Math.ceil(_.value / 2)) + 1, u1 = O.slice(0, a1), U = O.slice(a1);
27933
27946
  return U.length ? [u1, U] : [u1];
27934
- }), k = I(() => n.partialResults ? n.partialResults[n.option.reference] : null), L = (O, a1 = 1) => {
27947
+ }), k = E(() => n.partialResults ? n.partialResults[n.option.reference] : null), L = (O, a1 = 1) => {
27935
27948
  s("checked", {
27936
27949
  reference: O,
27937
27950
  amount: a1
@@ -27948,19 +27961,19 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
27948
27961
  t.value = !0, i.value.scrollIntoView && i.value.scrollIntoView({ behavior: "smooth", block: "center" });
27949
27962
  }));
27950
27963
  };
27951
- n1(
27964
+ i1(
27952
27965
  () => a.value.get("highlight-option"),
27953
27966
  (O) => {
27954
27967
  const [a1] = O ?? [];
27955
27968
  N(a1);
27956
27969
  }
27957
27970
  );
27958
- const y = k1("i18n"), { t: R } = y.global, X = I(
27971
+ const y = k1("i18n"), { t: R } = y.global, X = E(
27959
27972
  () => y.global.locale.value || y.global.locale
27960
27973
  );
27961
27974
  return z1(() => {
27962
27975
  n.locale && r1(n.locale);
27963
- }), n1(
27976
+ }), i1(
27964
27977
  () => n.locale,
27965
27978
  () => {
27966
27979
  n.locale && r1(n.locale);
@@ -27986,7 +27999,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
27986
27999
  "start-collapsed": e.contest.collapseDefault && !e.observerMode,
27987
28000
  onAccordionOpen: a1[2] || (a1[2] = (P1) => s("accordion-open"))
27988
28001
  }, P$({
27989
- toggle: i1(({ isOpen: P1, collapsable: W1 }) => [
28002
+ toggle: n1(({ isOpen: P1, collapsable: W1 }) => [
27990
28003
  o("section", {
27991
28004
  ref_key: "el",
27992
28005
  ref: i,
@@ -27995,7 +28008,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
27995
28008
  "AVOption--highlight": t.value,
27996
28009
  "AVOption--accent": e.option.accentColor
27997
28010
  }),
27998
- style: F1(
28011
+ style: B1(
27999
28012
  e.option.accentColor ? `border-left-color: ${e.option.accentColor}` : ""
28000
28013
  ),
28001
28014
  "aria-label": D(R)("js.components.AVOption.aria_labels.option"),
@@ -28016,7 +28029,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28016
28029
  alt: D(R)("js.components.AVOption.aria_labels.option_image"),
28017
28030
  class: "AVOption-image",
28018
28031
  "data-test": "option-image"
28019
- }, null, 8, M21)) : E("", !0),
28032
+ }, null, 8, M21)) : I("", !0),
28020
28033
  o("h5", {
28021
28034
  class: "AVOption--title",
28022
28035
  textContent: g(u.value)
@@ -28025,14 +28038,14 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28025
28038
  v.value || b.value.length || A.value || e.option.candidateId ? (m(), h("div", H21, [
28026
28039
  v.value ? (m(), h("div", C21, [
28027
28040
  o("p", { innerHTML: v.value }, null, 8, b21)
28028
- ])) : E("", !0),
28041
+ ])) : I("", !0),
28029
28042
  b.value.length > 0 || e.option.candidateId ? (m(), h("div", A21, [
28030
28043
  e.option.candidateId ? (m(), h("button", {
28031
28044
  key: 0,
28032
28045
  class: "AVOption--link",
28033
28046
  onClick: a1[0] || (a1[0] = (O1) => s("view-candidate", e.option.candidateId)),
28034
28047
  "data-test": "option-candidacy"
28035
- }, g(D(R)("js.components.AVOption.view_candidate")), 1)) : E("", !0),
28048
+ }, g(D(R)("js.components.AVOption.view_candidate")), 1)) : I("", !0),
28036
28049
  (m(!0), h(K, null, f1(b.value, (O1) => (m(), h("a", {
28037
28050
  key: O1.toString(),
28038
28051
  href: O1.url,
@@ -28040,7 +28053,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28040
28053
  target: "_blank",
28041
28054
  "data-test": "option-link"
28042
28055
  }, g(O1.text), 9, L21))), 128))
28043
- ])) : E("", !0),
28056
+ ])) : I("", !0),
28044
28057
  W1 && A.value ? (m(), h("div", _21, [
28045
28058
  o("div", {
28046
28059
  id: `option_${e.option.reference}_dropdown`,
@@ -28068,9 +28081,9 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28068
28081
  "js.components.AVOption.sub_options_select"
28069
28082
  )} ${C.value}` : `${C.value} ${D(R)(
28070
28083
  "js.components.AVOption.sub_options_select"
28071
- )}`), 3)) : E("", !0)
28072
- ])) : E("", !0)
28073
- ])) : E("", !0)
28084
+ )}`), 3)) : I("", !0)
28085
+ ])) : I("", !0)
28086
+ ])) : I("", !0)
28074
28087
  ]),
28075
28088
  _.value >= 1 ? (m(), h("div", {
28076
28089
  key: 0,
@@ -28079,7 +28092,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28079
28092
  "AVOption--multivote-footer": _.value > 5,
28080
28093
  "AVOption--singlevote": _.value === 1
28081
28094
  }),
28082
- style: F1(`background-color: ${_.value === 1 ? "#FFFFFF" : "#f7f7f7"}`),
28095
+ style: B1(`background-color: ${_.value === 1 ? "#FFFFFF" : "#f7f7f7"}`),
28083
28096
  "data-test": "option-multivote"
28084
28097
  }, [
28085
28098
  (m(!0), h(K, null, f1(x.value, (O1) => (m(), h("div", {
@@ -28098,7 +28111,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28098
28111
  onToggled: (E1) => L(e.option.reference, Q1)
28099
28112
  }, null, 8, ["checked", "rank", "exclusive-error", "invalid", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
28100
28113
  ]))), 128))
28101
- ], 6)) : E("", !0),
28114
+ ], 6)) : I("", !0),
28102
28115
  k.value && (e.observerMode || e.disabled) ? (m(), h("div", k21, [
28103
28116
  T(u1, {
28104
28117
  icon: "user",
@@ -28108,12 +28121,12 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28108
28121
  k.value.showPercentage ? (m(), h(K, { key: 0 }, [
28109
28122
  N21,
28110
28123
  o("span", null, g(`${k.value.results.percentage}%`), 1)
28111
- ], 64)) : E("", !0)
28112
- ])) : E("", !0)
28124
+ ], 64)) : I("", !0)
28125
+ ])) : I("", !0)
28113
28126
  ], 2)
28114
28127
  ], 14, h21)
28115
28128
  ]),
28116
- pane: i1(({ toggleCollapse: P1 }) => [
28129
+ pane: n1(({ toggleCollapse: P1 }) => [
28117
28130
  A.value ? (m(), h("div", T21, [
28118
28131
  (m(!0), h(K, null, f1(e.option.children, (W1) => (m(), Z(Q, {
28119
28132
  key: W1.reference,
@@ -28129,13 +28142,13 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28129
28142
  onChecked: a1[1] || (a1[1] = (O1) => s("checked", O1)),
28130
28143
  onAccordionOpen: () => P1(!0, !1)
28131
28144
  }, null, 8, ["option", "selections", "contest", "invalid", "disabled", "observer-mode", "partial-results", "exclusive-error", "image-option", "onAccordionOpen"]))), 128))
28132
- ])) : E("", !0)
28145
+ ])) : I("", !0)
28133
28146
  ]),
28134
28147
  _: 2
28135
28148
  }, [
28136
28149
  !e.disabled && k.value && !e.observerMode ? {
28137
28150
  name: "results",
28138
- fn: i1(() => [
28151
+ fn: n1(() => [
28139
28152
  o("div", S21, [
28140
28153
  T(u1, {
28141
28154
  icon: "user",
@@ -28145,7 +28158,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
28145
28158
  k.value.showPercentage ? (m(), h(K, { key: 0 }, [
28146
28159
  w21,
28147
28160
  o("span", null, g(`${k.value.results.percentage}%`), 1)
28148
- ], 64)) : E("", !0)
28161
+ ], 64)) : I("", !0)
28149
28162
  ])
28150
28163
  ]),
28151
28164
  key: "0"
@@ -28208,14 +28221,14 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
28208
28221
  const c = k1("i18n"), { t: a } = c.global, t = e;
28209
28222
  z1(() => {
28210
28223
  t.locale && r1(t.locale);
28211
- }), n1(
28224
+ }), i1(
28212
28225
  () => t.locale,
28213
28226
  () => {
28214
28227
  t.locale && r1(t.locale);
28215
28228
  },
28216
28229
  { deep: !0 }
28217
28230
  );
28218
- const i = I(
28231
+ const i = E(
28219
28232
  () => document.getElementsByTagName("html")[0].dir === "rtl"
28220
28233
  );
28221
28234
  return (n, s) => {
@@ -28231,7 +28244,7 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
28231
28244
  AVBlankOption: !0,
28232
28245
  "AVBlankOption--accent": e.accentColor
28233
28246
  }),
28234
- style: F1(e.accentColor ? `border-left-color: ${e.accentColor}` : ""),
28247
+ style: B1(e.accentColor ? `border-left-color: ${e.accentColor}` : ""),
28235
28248
  "aria-label": D(a)("js.components.AVBlankOption.aria_labels.option"),
28236
28249
  "data-test": "option-container"
28237
28250
  }, [
@@ -28258,8 +28271,8 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
28258
28271
  e.partialResults.showPercentage ? (m(), h(K, { key: 0 }, [
28259
28272
  F21,
28260
28273
  o("span", null, g(`${e.partialResults.results.percentage}%`), 1)
28261
- ], 64)) : E("", !0)
28262
- ])) : E("", !0)
28274
+ ], 64)) : I("", !0)
28275
+ ])) : I("", !0)
28263
28276
  ])
28264
28277
  ], 14, D21),
28265
28278
  !e.disabled && e.partialResults && !e.observerMode ? (m(), h("div", j21, [
@@ -28271,8 +28284,8 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
28271
28284
  e.partialResults.showPercentage ? (m(), h(K, { key: 0 }, [
28272
28285
  q21,
28273
28286
  o("span", null, g(`${e.partialResults.results.percentage}%`), 1)
28274
- ], 64)) : E("", !0)
28275
- ])) : E("", !0)
28287
+ ], 64)) : I("", !0)
28288
+ ])) : I("", !0)
28276
28289
  ], 2);
28277
28290
  };
28278
28291
  }
@@ -28321,7 +28334,7 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
28321
28334
  const a = k1("i18n"), { t } = a.global, i = e, n = c;
28322
28335
  z1(() => {
28323
28336
  i.locale && r1(i.locale);
28324
- }), n1(
28337
+ }), i1(
28325
28338
  () => i.locale,
28326
28339
  () => {
28327
28340
  i.locale && r1(i.locale);
@@ -28416,14 +28429,14 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
28416
28429
  }
28417
28430
  },
28418
28431
  setup(e) {
28419
- const c = e, a = I(() => c.errors.map((s) => s.keys ? (Object.keys(s.keys).forEach((l) => {
28432
+ const c = e, a = E(() => c.errors.map((s) => s.keys ? (Object.keys(s.keys).forEach((l) => {
28420
28433
  typeof s.keys[l] == "object" && (s.keys[l] = s.keys[l][n.value]);
28421
- }), i(`js.components.AVSubmissionHelper.errors.${s.message}`, s.keys)) : i(`js.components.AVSubmissionHelper.errors.${s.message}`))), t = k1("i18n"), { t: i } = t.global, n = I(
28434
+ }), i(`js.components.AVSubmissionHelper.errors.${s.message}`, s.keys)) : i(`js.components.AVSubmissionHelper.errors.${s.message}`))), t = k1("i18n"), { t: i } = t.global, n = E(
28422
28435
  () => t.global.locale.value || t.global.locale
28423
28436
  );
28424
28437
  return z1(() => {
28425
28438
  c.locale && r1(c.locale);
28426
- }), n1(
28439
+ }), i1(
28427
28440
  () => c.locale,
28428
28441
  () => {
28429
28442
  c.locale && r1(c.locale);
@@ -28441,7 +28454,7 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
28441
28454
  "AVSubmissionHelper--weight-danger": e.errors.length > 0
28442
28455
  }),
28443
28456
  "data-test": "submission-helper-weight"
28444
- }, g(D(i)("js.components.AVSubmissionHelper.your_vote_weight", { weight: e.weight })), 3)) : E("", !0),
28457
+ }, g(D(i)("js.components.AVSubmissionHelper.your_vote_weight", { weight: e.weight })), 3)) : I("", !0),
28445
28458
  e.errors.length > 0 ? (m(), h("div", n31, [
28446
28459
  (m(!0), h(K, null, f1(a.value, (r) => (m(), h("div", {
28447
28460
  key: r,
@@ -28450,7 +28463,7 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
28450
28463
  "data-test": "submission-helper-error"
28451
28464
  }, null, 8, s31))), 128)),
28452
28465
  l31
28453
- ])) : E("", !0),
28466
+ ])) : I("", !0),
28454
28467
  e.maxMarks > 1 ? (m(), h("div", r31, [
28455
28468
  o("div", o31, [
28456
28469
  e.minMarks === e.maxMarks ? (m(), h("div", f31, g(`${D(i)("js.components.AVSubmissionHelper.select_exactly", {
@@ -28469,7 +28482,7 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
28469
28482
  }),
28470
28483
  class: "AVSubmissionHelper--count",
28471
28484
  "data-test": "submission-helper-count"
28472
- }, null, 8, m31)) : E("", !0)
28485
+ }, null, 8, m31)) : I("", !0)
28473
28486
  ])
28474
28487
  ])) : (m(), h("div", d31, [
28475
28488
  o("div", null, g(D(i)("js.components.AVSubmissionHelper.select_single")), 1)
@@ -28512,7 +28525,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
28512
28525
  }
28513
28526
  },
28514
28527
  setup(e) {
28515
- const { eventBusEmit: c } = H$(), a = e, t = l1(""), i = I(() => t.value.trim() === "" ? [] : h31(
28528
+ const { eventBusEmit: c } = H$(), a = e, t = s1(""), i = E(() => t.value.trim() === "" ? [] : h31(
28516
28529
  a.options,
28517
28530
  t.value,
28518
28531
  (d) => d.title[v.value]
@@ -28520,12 +28533,12 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
28520
28533
  t.value = "";
28521
28534
  }, r = (d) => {
28522
28535
  c("highlight-option", d.reference), l();
28523
- }, f = k1("i18n"), { t: u } = f.global, v = I(
28536
+ }, f = k1("i18n"), { t: u } = f.global, v = E(
28524
28537
  () => f.global.locale.value || f.global.locale
28525
28538
  );
28526
28539
  return z1(() => {
28527
28540
  a.locale && r1(a.locale);
28528
- }), n1(
28541
+ }), i1(
28529
28542
  () => a.locale,
28530
28543
  () => {
28531
28544
  a.locale && r1(a.locale);
@@ -28570,7 +28583,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
28570
28583
  class: "AVSeachOptionBallot--breadcrumb-item"
28571
28584
  }, g(b.title[v.value]), 1))), 128))
28572
28585
  ])
28573
- ])) : E("", !0),
28586
+ ])) : I("", !0),
28574
28587
  o("div", {
28575
28588
  id: `search_result_${V.reference}`,
28576
28589
  class: "AVSearchBallot--option",
@@ -28589,7 +28602,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
28589
28602
  key: 0,
28590
28603
  class: "AVSearchBallot--alert",
28591
28604
  textContent: g(D(u)("js.components.AVSearchBallot.no_results"))
28592
- }, null, 8, x31)) : E("", !0)
28605
+ }, null, 8, x31)) : I("", !0)
28593
28606
  ])
28594
28607
  ], 40, z31));
28595
28608
  }
@@ -28627,7 +28640,7 @@ const N31 = /* @__PURE__ */ G(k31, [["__scopeId", "data-v-0b2b5c97"]]), S31 = {
28627
28640
  const c = k1("i18n"), { t: a } = c.global, t = e;
28628
28641
  return z1(() => {
28629
28642
  t.locale && r1(t.locale);
28630
- }), n1(
28643
+ }), i1(
28631
28644
  () => t.locale,
28632
28645
  () => {
28633
28646
  t.locale && r1(t.locale);
@@ -28702,7 +28715,7 @@ const D31 = /* @__PURE__ */ G(E31, [["__scopeId", "data-v-3a80cb22"]]), P31 = {
28702
28715
  const c = k1("i18n"), { t: a } = c.global, t = e;
28703
28716
  return z1(() => {
28704
28717
  t.locale && r1(t.locale);
28705
- }), n1(
28718
+ }), i1(
28706
28719
  () => t.locale,
28707
28720
  () => {
28708
28721
  t.locale && r1(t.locale);
@@ -28731,7 +28744,7 @@ const D31 = /* @__PURE__ */ G(E31, [["__scopeId", "data-v-3a80cb22"]]), P31 = {
28731
28744
  id: "split-helper-tooltip",
28732
28745
  position: "top",
28733
28746
  "data-test": "split-wizard-tooltip"
28734
- }, null, 8, ["content", "text"])) : E("", !0)
28747
+ }, null, 8, ["content", "text"])) : I("", !0)
28735
28748
  ]);
28736
28749
  };
28737
28750
  }
@@ -28752,7 +28765,7 @@ const j31 = /* @__PURE__ */ G(F31, [["__scopeId", "data-v-13834427"]]), q31 = (e
28752
28765
  return (c, a) => {
28753
28766
  const t = P("AVCard");
28754
28767
  return m(), Z(t, { variant: "rounded-electa" }, {
28755
- default: i1(() => [
28768
+ default: n1(() => [
28756
28769
  o("h3", $31, g(e.contestTitle), 1),
28757
28770
  o("p", U31, g(e.votingRoundTitle), 1),
28758
28771
  W31,
@@ -28809,14 +28822,14 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
28809
28822
  }
28810
28823
  },
28811
28824
  setup(e) {
28812
- const c = e, a = I(
28825
+ const c = e, a = E(
28813
28826
  () => c.total > 0 ? Math.round(c.votes / c.total * 1e4) / 100 : 0
28814
- ), t = I(() => Math.round(c.votes * 100) / 100), i = k1("i18n"), n = I(
28827
+ ), t = E(() => Math.round(c.votes * 100) / 100), i = k1("i18n"), n = E(
28815
28828
  () => i.global.locale.value || i.global.locale
28816
28829
  );
28817
28830
  return z1(() => {
28818
28831
  c.locale && r1(c.locale);
28819
- }), n1(
28832
+ }), i1(
28820
28833
  () => c.locale,
28821
28834
  () => {
28822
28835
  c.locale && r1(c.locale);
@@ -28839,12 +28852,12 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
28839
28852
  src: e.optionImage,
28840
28853
  class: "AVResultOption--image",
28841
28854
  "data-test": "result-image"
28842
- }, null, 8, Q31)) : E("", !0),
28855
+ }, null, 8, Q31)) : I("", !0),
28843
28856
  o("header", K31, g(e.optionTitle[n.value]), 1)
28844
28857
  ]),
28845
28858
  o("div", X31, [
28846
28859
  o("div", e41, g(t.value), 1),
28847
- e.hidePercentage ? E("", !0) : (m(), h("div", c41, g(a.value) + "% ", 1))
28860
+ e.hidePercentage ? I("", !0) : (m(), h("div", c41, g(a.value) + "% ", 1))
28848
28861
  ])
28849
28862
  ])), [
28850
28863
  [r, e.optionTitle[n.value]]
@@ -28889,8 +28902,8 @@ const t41 = /* @__PURE__ */ G(a41, [["__scopeId", "data-v-35bf20c6"]]), i41 = "d
28889
28902
  done: e.done,
28890
28903
  active: e.active,
28891
28904
  class: "AVFooter--child"
28892
- }, null, 8, ["steps", "done", "active"])) : E("", !0),
28893
- e.disableBanner ? E("", !0) : (m(), h("div", {
28905
+ }, null, 8, ["steps", "done", "active"])) : I("", !0),
28906
+ e.disableBanner ? I("", !0) : (m(), h("div", {
28894
28907
  key: 1,
28895
28908
  class: j(["AVFooter--base AVFooter--child", { "AVFooter--child-stacked": e.enableSteps }])
28896
28909
  }, [
@@ -28956,13 +28969,13 @@ const b41 = /* @__PURE__ */ G(V41, [["render", C41], ["__scopeId", "data-v-1923e
28956
28969
  emits: ["clickOutside"],
28957
28970
  setup(e, { emit: c }) {
28958
28971
  const a = c, t = e;
28959
- return n1(
28972
+ return i1(
28960
28973
  () => t.modalActive,
28961
28974
  () => {
28962
28975
  t.modalActive && (document.body.style.overflowY = "hidden"), t.modalActive || (document.body.style.overflowY = "scroll");
28963
28976
  }
28964
28977
  ), (i, n) => (m(), Z(Y2, { name: "modal-animation" }, {
28965
- default: i1(() => [
28978
+ default: n1(() => [
28966
28979
  j1(o("div", {
28967
28980
  class: "AVModal",
28968
28981
  role: "dialog",
@@ -28972,7 +28985,7 @@ const b41 = /* @__PURE__ */ G(V41, [["render", C41], ["__scopeId", "data-v-1923e
28972
28985
  onClick: n[1] || (n[1] = m2((s) => a("clickOutside"), ["stop"]))
28973
28986
  }, [
28974
28987
  T(Y2, { name: "modal-animation-inner" }, {
28975
- default: i1(() => [
28988
+ default: n1(() => [
28976
28989
  j1(o("div", {
28977
28990
  class: j(["AVModal--inner", { "AVModal--padding": !e.removePadding }]),
28978
28991
  onClick: n[0] || (n[0] = m2(() => {
@@ -29180,13 +29193,13 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
29180
29193
  "view-candidate"
29181
29194
  ],
29182
29195
  setup(e, { emit: c }) {
29183
- const a = e, t = c, i = l1(!1), n = l1(""), s = l1(""), l = l1(null), r = I(() => a.selectionPile.optionSelections), f = I(() => new A$(a.contest)), u = I(
29196
+ const a = e, t = c, i = s1(!1), n = s1(""), s = s1(""), l = s1(null), r = E(() => a.selectionPile.optionSelections), f = E(() => new A$(a.contest)), u = E(
29184
29197
  () => a.contest.disregardVoterWeight ? null : a.weight
29185
- ), v = I(() => {
29198
+ ), v = E(() => {
29186
29199
  var y;
29187
29200
  let N = [];
29188
29201
  return (y = a.contest.customRulesets) != null && y.includes("belgian_ballot_rules") && N.push(new N41(a.contest)), N;
29189
- }), d = I(() => {
29202
+ }), d = E(() => {
29190
29203
  let N = [];
29191
29204
  v.value.forEach((R) => {
29192
29205
  N.push(...R.validate(a.selectionPile));
@@ -29204,18 +29217,18 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
29204
29217
  ), y.splice(R, 1));
29205
29218
  }
29206
29219
  return t("update:errors", y), y;
29207
- }), p = I(() => d.value.length === 0), V = I(() => {
29220
+ }), p = E(() => d.value.length === 0), V = E(() => {
29208
29221
  var N;
29209
29222
  return (N = a.contest.question) == null ? void 0 : N[S.value];
29210
- }), b = I(
29223
+ }), b = E(
29211
29224
  () => {
29212
29225
  var N;
29213
29226
  return (N = a.contest.customRulesets) == null ? void 0 : N.includes("belgian_ballot_rules");
29214
29227
  }
29215
- ), A = I(() => G4(a.contest.options).some(
29228
+ ), A = E(() => G4(a.contest.options).some(
29216
29229
  (N) => N.exclusive
29217
- )), _ = I(() => a.contest);
29218
- n1(_, (N, y) => {
29230
+ )), _ = E(() => a.contest);
29231
+ i1(_, (N, y) => {
29219
29232
  var R;
29220
29233
  y && N && N.reference !== y.reference && ((R = document.getElementById("content")) == null || R.focus(), y.searchForm && (l.value.value = ""));
29221
29234
  });
@@ -29238,12 +29251,12 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
29238
29251
  ...a.selectionPile,
29239
29252
  optionSelections: X
29240
29253
  });
29241
- }, x = (N) => t("view-candidate", N), k = k1("i18n"), { t: L } = k.global, S = I(
29254
+ }, x = (N) => t("view-candidate", N), k = k1("i18n"), { t: L } = k.global, S = E(
29242
29255
  () => k.global.locale.value || k.global.locale
29243
29256
  );
29244
29257
  return z1(() => {
29245
29258
  a.locale && r1(a.locale);
29246
- }), n1(
29259
+ }), i1(
29247
29260
  () => a.locale,
29248
29261
  () => {
29249
29262
  a.locale && r1(a.locale);
@@ -29266,14 +29279,14 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
29266
29279
  class: "AVBallot--question",
29267
29280
  "aria-live": "polite",
29268
29281
  "data-test": "ballot-question"
29269
- }, g(V.value), 9, T41)) : E("", !0),
29282
+ }, g(V.value), 9, T41)) : I("", !0),
29270
29283
  e.contest.searchForm && !e.disabled && !e.observerMode ? (m(), Z(R, {
29271
29284
  key: 1,
29272
29285
  ref_key: "search",
29273
29286
  ref: l,
29274
29287
  options: D(G4)(e.contest.options),
29275
29288
  "options-container-id": "ballot_options"
29276
- }, null, 8, ["options"])) : E("", !0),
29289
+ }, null, 8, ["options"])) : I("", !0),
29277
29290
  I41,
29278
29291
  o("div", {
29279
29292
  id: "ballot_options",
@@ -29324,7 +29337,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
29324
29337
  accentColor: e.contest.blankOptionColor,
29325
29338
  "partial-results": e.partialResults ? e.partialResults.blank : null,
29326
29339
  onToggleBlank: C
29327
- }, null, 8, ["checked", "error", "disabled", "invalid", "observerMode", "accentColor", "partial-results"])) : E("", !0)
29340
+ }, null, 8, ["checked", "error", "disabled", "invalid", "observerMode", "accentColor", "partial-results"])) : I("", !0)
29328
29341
  ], 10, E41),
29329
29342
  e.showSubmissionHelper && !e.disabled && !e.observerMode ? (m(), Z(u1, {
29330
29343
  key: 2,
@@ -29337,7 +29350,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
29337
29350
  "has-exclusive-options": A.value,
29338
29351
  class: "AVBallot--helper",
29339
29352
  "data-test": "ballot-submission-helper"
29340
- }, null, 8, ["id", "chosen-count", "errors", "weight", "min-marks", "max-marks", "has-exclusive-options"])) : E("", !0)
29353
+ }, null, 8, ["id", "chosen-count", "errors", "weight", "min-marks", "max-marks", "has-exclusive-options"])) : I("", !0)
29341
29354
  ], 10, w41);
29342
29355
  };
29343
29356
  }
@@ -29406,7 +29419,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
29406
29419
  },
29407
29420
  emits: ["editCurrentSelection", "deleteSelection"],
29408
29421
  setup(e, { emit: c }) {
29409
- const a = c, t = e, i = l1(!1), n = I(() => t.selectionPile.optionSelections.length === 0), s = I(() => !t.maximumOptionsShown || i.value ? u.value.options : u.value.options.slice(0, t.maximumOptionsShown)), l = I(() => u.value.options.length - s.value.length), r = I(() => G4(t.contest.options).filter((A) => A.selectable)), f = (V, b) => V && V.parentContent ? (b.push(V.parentContent), f(V.parentContent, b)) : b, u = I(() => {
29422
+ const a = c, t = e, i = s1(!1), n = E(() => t.selectionPile.optionSelections.length === 0), s = E(() => !t.maximumOptionsShown || i.value ? u.value.options : u.value.options.slice(0, t.maximumOptionsShown)), l = E(() => u.value.options.length - s.value.length), r = E(() => G4(t.contest.options).filter((A) => A.selectable)), f = (V, b) => V && V.parentContent ? (b.push(V.parentContent), f(V.parentContent, b)) : b, u = E(() => {
29410
29423
  const V = {
29411
29424
  options: [],
29412
29425
  writeIns: []
@@ -29438,12 +29451,12 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
29438
29451
  });
29439
29452
  }
29440
29453
  }), V;
29441
- }), v = k1("i18n"), { t: d } = v.global, p = I(
29454
+ }), v = k1("i18n"), { t: d } = v.global, p = E(
29442
29455
  () => v.global.locale.value || v.global.locale
29443
29456
  );
29444
29457
  return z1(() => {
29445
29458
  t.locale && r1(t.locale);
29446
- }), n1(
29459
+ }), i1(
29447
29460
  () => t.locale,
29448
29461
  () => {
29449
29462
  t.locale && r1(t.locale);
@@ -29469,7 +29482,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
29469
29482
  n.value ? (m(), Z(A, {
29470
29483
  key: 0,
29471
29484
  blank: n.value
29472
- }, null, 8, ["blank"])) : E("", !0)
29485
+ }, null, 8, ["blank"])) : I("", !0)
29473
29486
  ])
29474
29487
  ])) : (m(), h("div", $41, [
29475
29488
  o("div", U41, [
@@ -29484,10 +29497,10 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
29484
29497
  T(_, { icon: "pen-to-square" }),
29485
29498
  o("span", null, g(D(d)("js.components.AVPileSummary.ballot_selection")) + " " + g(e.pileIndex + 1), 1)
29486
29499
  ]),
29487
- e.activeState === "overview" || e.isEditing ? (m(), h("span", J41, g(D(d)("js.components.AVPileSummary.assigned")) + " " + g(e.selectionPile.multiplier), 1)) : E("", !0)
29500
+ e.activeState === "overview" || e.isEditing ? (m(), h("span", J41, g(D(d)("js.components.AVPileSummary.assigned")) + " " + g(e.selectionPile.multiplier), 1)) : I("", !0)
29488
29501
  ], 8, W41),
29489
29502
  o("div", Z41, [
29490
- n.value ? (m(), h("p", Y41, g(D(d)("js.components.AVPileSummary.blank")), 1)) : E("", !0),
29503
+ n.value ? (m(), h("p", Y41, g(D(d)("js.components.AVPileSummary.blank")), 1)) : I("", !0),
29491
29504
  (m(!0), h(K, null, f1(s.value, (C, M) => (m(), h("p", {
29492
29505
  key: M,
29493
29506
  class: "AVPileSummary--assign-text"
@@ -29514,7 +29527,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
29514
29527
  "js.components.AVPileSummary.and_n_more_pos"
29515
29528
  )}`), 1)
29516
29529
  ])
29517
- ])) : E("", !0),
29530
+ ])) : I("", !0),
29518
29531
  i.value ? (m(), h("p", {
29519
29532
  key: 2,
29520
29533
  role: "button",
@@ -29525,7 +29538,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
29525
29538
  o("u", null, [
29526
29539
  o("em", null, g(D(d)("js.components.AVPileSummary.show_less")), 1)
29527
29540
  ])
29528
- ])) : E("", !0)
29541
+ ])) : I("", !0)
29529
29542
  ])
29530
29543
  ]),
29531
29544
  e.activeState === "overview" ? (m(), h("div", {
@@ -29537,7 +29550,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
29537
29550
  onClick: b[3] || (b[3] = m2((C) => a("deleteSelection"), ["stop", "prevent"]))
29538
29551
  }, [
29539
29552
  T(_, { icon: "trash-can" })
29540
- ], 8, K41)) : E("", !0)
29553
+ ], 8, K41)) : I("", !0)
29541
29554
  ]));
29542
29555
  };
29543
29556
  }
@@ -29634,41 +29647,41 @@ const i61 = {
29634
29647
  ],
29635
29648
  setup(e, { emit: c }) {
29636
29649
  var u1;
29637
- const a = e, t = c, i = l1(null), n = l1(
29650
+ const a = e, t = c, i = s1(null), n = s1(
29638
29651
  a.contestSelection.piles[0] || {
29639
29652
  multiplier: a.weight,
29640
29653
  optionSelections: [],
29641
29654
  explicitBlank: !1
29642
29655
  }
29643
- ), s = l1(
29656
+ ), s = s1(
29644
29657
  ((u1 = a.contestSelection.piles) == null ? void 0 : u1.length) === 0 || a.contest.markingType.maxPiles === 1 ? "ballot" : "overview"
29645
- ), l = l1([]), r = I(() => a.contestSelection.piles), f = I(
29658
+ ), l = s1([]), r = E(() => a.contestSelection.piles), f = E(
29646
29659
  () => {
29647
29660
  var U;
29648
29661
  return (U = r.value) == null ? void 0 : U.reduce((Q, y1) => Q - y1.multiplier, a.weight);
29649
29662
  }
29650
- ), u = I(
29663
+ ), u = E(
29651
29664
  () => new A$(a.contest)
29652
- ), v = I(
29665
+ ), v = E(
29653
29666
  () => new t61({
29654
29667
  contest: a.contest,
29655
29668
  voterWeight: a.weight
29656
29669
  })
29657
- ), d = I(() => f.value === 0 && l.value.length == 0 && r.value.every(
29670
+ ), d = E(() => f.value === 0 && l.value.length == 0 && r.value.every(
29658
29671
  (U) => u.value.isComplete(U)
29659
- )), p = I(
29672
+ )), p = E(
29660
29673
  () => {
29661
29674
  var U;
29662
29675
  return (U = r.value) == null ? void 0 : U.reduce((Q, y1) => Q + y1.multiplier, 0);
29663
29676
  }
29664
- ), V = I(() => {
29677
+ ), V = E(() => {
29665
29678
  var U;
29666
29679
  return (U = n.value) == null ? void 0 : U.multiplier;
29667
- }), b = I(
29680
+ }), b = E(
29668
29681
  () => r.value.filter((U, Q) => Q !== i.value).reduce((U, Q) => U - Q.multiplier, a.weight)
29669
- ), A = I(
29682
+ ), A = E(
29670
29683
  () => a.contest.markingType.maxPiles !== 1 && a.weight > 1
29671
- ), _ = I(() => i.value !== null), C = (U) => u.value.isComplete(U), M = (U) => u.value.validate(U, a.includeLazyErrors).length > 0, x = () => {
29684
+ ), _ = E(() => i.value !== null), C = (U) => u.value.isComplete(U), M = (U) => u.value.validate(U, a.includeLazyErrors).length > 0, x = () => {
29672
29685
  if (A.value) {
29673
29686
  const U = [...r.value];
29674
29687
  i.value === null ? U.push({ ...n.value }) : U.splice(i.value, 1, {
@@ -29697,22 +29710,22 @@ const i61 = {
29697
29710
  }, y = (U) => {
29698
29711
  l.value = U;
29699
29712
  }, R = (U) => t("view-candidate", U);
29700
- n1(d, (U) => t("update:complete", U)), n1(V, () => {
29713
+ i1(d, (U) => t("update:complete", U)), i1(V, () => {
29701
29714
  n.value && (n.value.multiplier = Math.max(
29702
29715
  0,
29703
29716
  Math.min(V.value, b.value)
29704
29717
  ));
29705
- }), n1(n, (U) => {
29718
+ }), i1(n, (U) => {
29706
29719
  t("update:activePile", U);
29707
- }), n1(s, (U) => t("update:activeState", U)), z1(() => {
29720
+ }), i1(s, (U) => t("update:activeState", U)), z1(() => {
29708
29721
  a.locale && r1(a.locale), t("update:activePile", n.value), t("update:activeState", s.value), t("update:complete", d.value), A.value || x();
29709
29722
  });
29710
- const X = k1("i18n"), { t: O } = X.global, a1 = I(
29723
+ const X = k1("i18n"), { t: O } = X.global, a1 = E(
29711
29724
  () => X.global.locale.value || X.global.locale
29712
29725
  );
29713
29726
  return z1(() => {
29714
29727
  a.locale && r1(a.locale);
29715
- }), n1(
29728
+ }), i1(
29716
29729
  () => a.locale,
29717
29730
  () => {
29718
29731
  a.locale && r1(a.locale);
@@ -29736,12 +29749,12 @@ const i61 = {
29736
29749
  "selection-piles": r.value,
29737
29750
  "total-weight": p.value + f.value,
29738
29751
  "is-editing": _.value
29739
- }, null, 8, ["active-selection-pile-index", "active-state", "selection-piles", "total-weight", "is-editing"])) : E("", !0),
29752
+ }, null, 8, ["active-selection-pile-index", "active-state", "selection-piles", "total-weight", "is-editing"])) : I("", !0),
29740
29753
  T(Y2, {
29741
29754
  name: "fade",
29742
29755
  mode: "out-in"
29743
29756
  }, {
29744
- default: i1(() => {
29757
+ default: n1(() => {
29745
29758
  var a2, V2, _2;
29746
29759
  return [
29747
29760
  n.value && s.value === "ballot" ? (m(), h("div", { key: i.value }, [
@@ -29755,15 +29768,15 @@ const i61 = {
29755
29768
  "show-submission-helper": e.showSubmissionHelper,
29756
29769
  "image-option": e.imageOption,
29757
29770
  "onUpdate:selectionPile": k,
29758
- "onUpdate:errors": Q[0] || (Q[0] = (R1) => y(R1))
29771
+ "onUpdate:errors": Q[0] || (Q[0] = (F1) => y(F1))
29759
29772
  }, null, 8, ["selection-pile", "partial-results", "contest", "weight", "includeLazyErrors", "show-submission-helper", "image-option"]),
29760
29773
  o("div", s61, [
29761
29774
  o("div", l61, [
29762
29775
  r.value.length > 0 ? (m(), h("button", {
29763
29776
  key: "back",
29764
29777
  class: "AVSplitHelper--btn-secondary",
29765
- onClick: Q[1] || (Q[1] = (R1) => s.value = "overview")
29766
- }, g(D(O)("js.components.AVSplitHelper.ballot.back_button")), 1)) : E("", !0)
29778
+ onClick: Q[1] || (Q[1] = (F1) => s.value = "overview")
29779
+ }, g(D(O)("js.components.AVSplitHelper.ballot.back_button")), 1)) : I("", !0)
29767
29780
  ]),
29768
29781
  o("div", r61, [
29769
29782
  o("button", {
@@ -29771,7 +29784,7 @@ const i61 = {
29771
29784
  class: "AVSplitHelper--btn-primary",
29772
29785
  disabled: !C(n.value) || M(n.value),
29773
29786
  "data-test": "split-helper-confirm",
29774
- onClick: Q[2] || (Q[2] = (R1) => s.value = "assign")
29787
+ onClick: Q[2] || (Q[2] = (F1) => s.value = "assign")
29775
29788
  }, g(D(O)("js.components.AVSplitHelper.ballot.confirm_button")), 9, o61)
29776
29789
  ])
29777
29790
  ])
@@ -29787,7 +29800,7 @@ const i61 = {
29787
29800
  "is-editing": _.value,
29788
29801
  "total-piles": e.contestSelection.piles.length,
29789
29802
  "image-option": e.imageOption,
29790
- onEditCurrentSelection: Q[3] || (Q[3] = (R1) => s.value = "ballot")
29803
+ onEditCurrentSelection: Q[3] || (Q[3] = (F1) => s.value = "ballot")
29791
29804
  }, null, 8, ["selection-pile", "contest", "pile-index", "active-state", "is-editing", "total-piles", "image-option"]),
29792
29805
  o("label", {
29793
29806
  for: `${e.contest.reference}-ballot-selector`,
@@ -29798,7 +29811,7 @@ const i61 = {
29798
29811
  ) : D(O)("js.components.AVSplitHelper.assign.ballots_to_assign")), 9, d61),
29799
29812
  j1(o("input", {
29800
29813
  id: `${e.contest.reference}-ballot-selector`,
29801
- "onUpdate:modelValue": Q[4] || (Q[4] = (R1) => n.value.multiplier = R1),
29814
+ "onUpdate:modelValue": Q[4] || (Q[4] = (F1) => n.value.multiplier = F1),
29802
29815
  class: "AVSplitHelper--assign-input",
29803
29816
  type: "number",
29804
29817
  max: b.value,
@@ -29818,7 +29831,7 @@ const i61 = {
29818
29831
  key: "ballot",
29819
29832
  class: "AVSplitHelper--btn-secondary",
29820
29833
  "data-test": "split-helper-assign-back",
29821
- onClick: Q[5] || (Q[5] = (R1) => s.value = "ballot")
29834
+ onClick: Q[5] || (Q[5] = (F1) => s.value = "ballot")
29822
29835
  }, g(D(O)("js.components.AVSplitHelper.assign.back_button")), 1)
29823
29836
  ]),
29824
29837
  o("div", z61, [
@@ -29827,7 +29840,7 @@ const i61 = {
29827
29840
  class: "AVSplitHelper--btn-primary",
29828
29841
  disabled: ((V2 = n.value) == null ? void 0 : V2.multiplier) < 1 || ((_2 = n.value) == null ? void 0 : _2.multiplier) > b.value,
29829
29842
  "data-test": "split-helper-assign-confirm",
29830
- onClick: Q[6] || (Q[6] = (R1) => x())
29843
+ onClick: Q[6] || (Q[6] = (F1) => x())
29831
29844
  }, g(D(O)("js.components.AVSplitHelper.assign.confirm_button")), 9, V61)
29832
29845
  ])
29833
29846
  ])
@@ -29854,12 +29867,12 @@ const i61 = {
29854
29867
  o1(" " + g(D(O)("js.components.AVSplitHelper.overview.new_ballot_selection")), 1)
29855
29868
  ], 8, b61)
29856
29869
  ])),
29857
- (m(!0), h(K, null, f1(r.value, (R1, o2) => (m(), h("article", {
29870
+ (m(!0), h(K, null, f1(r.value, (F1, o2) => (m(), h("article", {
29858
29871
  key: `preview-${o2}`,
29859
29872
  onClick: (t3) => N(o2)
29860
29873
  }, [
29861
29874
  T(W1, {
29862
- "selection-pile": R1,
29875
+ "selection-pile": F1,
29863
29876
  contest: e.contest,
29864
29877
  "maximum-options-shown": 3,
29865
29878
  "active-state": s.value,
@@ -29869,7 +29882,7 @@ const i61 = {
29869
29882
  onDeleteSelection: (t3) => S(o2)
29870
29883
  }, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "image-option", "onDeleteSelection"])
29871
29884
  ], 8, A61))), 128))
29872
- ])) : E("", !0)
29885
+ ])) : I("", !0)
29873
29886
  ];
29874
29887
  }),
29875
29888
  _: 1
@@ -29952,17 +29965,17 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
29952
29965
  }
29953
29966
  },
29954
29967
  setup(e) {
29955
- const c = I(
29968
+ const c = E(
29956
29969
  () => {
29957
29970
  var p, V, b, A, _, C;
29958
29971
  return (V = (p = l.candidate.title) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[d.value] : (C = (_ = l.candidate.title) == null ? void 0 : _[0]) == null ? void 0 : C.form_content;
29959
29972
  }
29960
- ), a = I(
29973
+ ), a = E(
29961
29974
  () => {
29962
29975
  var p, V, b, A, _, C;
29963
29976
  return (V = (p = l.candidate.subtitle) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[d.value] : (C = (_ = l.candidate.subtitle) == null ? void 0 : _[0]) == null ? void 0 : C.form_content;
29964
29977
  }
29965
- ), t = I(() => {
29978
+ ), t = E(() => {
29966
29979
  var A;
29967
29980
  if (!l.candidate.groups)
29968
29981
  return null;
@@ -29976,23 +29989,23 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
29976
29989
  surplus: V.length || null,
29977
29990
  remaining: b
29978
29991
  };
29979
- }), i = I(
29992
+ }), i = E(
29980
29993
  () => l.summary ? l.candidate.summary : l.candidate.generic.filter(
29981
29994
  (p) => p.item_type !== "image"
29982
29995
  )
29983
- ), n = I(
29996
+ ), n = E(
29984
29997
  () => l.summary ? !!l.candidate.summary.length : !!l.candidate.generic.length
29985
- ), s = (p) => p.item_type === "check_box" ? !0 : p.form_content ? p.item_type === "link_list" ? !!p.form_content.length : p.localised ? !!p.form_content[d.value] : !!p.form_content : !1, l = e, r = I(
29998
+ ), s = (p) => p.item_type === "check_box" ? !0 : p.form_content ? p.item_type === "link_list" ? !!p.form_content.length : p.localised ? !!p.form_content[d.value] : !!p.form_content : !1, l = e, r = E(
29986
29999
  () => {
29987
30000
  var p;
29988
30001
  return ((p = l.candidate.generic.find((V) => V.item_type === "image")) == null ? void 0 : p.form_content) || y61;
29989
30002
  }
29990
- ), f = k1("i18n"), { t: u, d: v } = f.global, d = I(
30003
+ ), f = k1("i18n"), { t: u, d: v } = f.global, d = E(
29991
30004
  () => f.global.locale.value || f.global.locale
29992
30005
  );
29993
30006
  return z1(() => {
29994
30007
  l.locale && r1(l.locale);
29995
- }), n1(
30008
+ }), i1(
29996
30009
  () => l.locale,
29997
30010
  () => {
29998
30011
  l.locale && r1(l.locale);
@@ -30016,15 +30029,15 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
30016
30029
  class: "AVResourceSection--image",
30017
30030
  "data-test": "resource-image"
30018
30031
  }, null, 8, k61)
30019
- ])) : E("", !0),
30032
+ ])) : I("", !0),
30020
30033
  o("div", {
30021
30034
  class: j(
30022
30035
  e.summary ? "AVResourceSection--fields-container" : "AVResourceSection--generic-container"
30023
30036
  )
30024
30037
  }, [
30025
30038
  o("div", N61, [
30026
- e.summary && c.value ? (m(), h("h4", S61, g(c.value), 1)) : E("", !0),
30027
- e.summary && a.value ? (m(), h("h5", w61, g(a.value), 1)) : E("", !0),
30039
+ e.summary && c.value ? (m(), h("h4", S61, g(c.value), 1)) : I("", !0),
30040
+ e.summary && a.value ? (m(), h("h5", w61, g(a.value), 1)) : I("", !0),
30028
30041
  e.summary && e.candidate.groups && !e.card ? (m(), h("div", T61, [
30029
30042
  o("h4", I61, g(t.value.title), 1),
30030
30043
  t.value.surplus ? (m(), Z(b, {
@@ -30035,9 +30048,9 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
30035
30048
  content: t.value.remaining,
30036
30049
  position: "top",
30037
30050
  class: "AVResourceFields--tooltip"
30038
- }, null, 8, ["text", "content"])) : E("", !0)
30039
- ])) : E("", !0),
30040
- e.card ? E("", !0) : (m(!0), h(K, { key: 3 }, f1(i.value, (C) => (m(), h(K, {
30051
+ }, null, 8, ["text", "content"])) : I("", !0)
30052
+ ])) : I("", !0),
30053
+ e.card ? I("", !0) : (m(!0), h(K, { key: 3 }, f1(i.value, (C) => (m(), h(K, {
30041
30054
  key: `attribute_${C.attribute_name}`
30042
30055
  }, [
30043
30056
  n.value && s(C) ? (m(), h("div", {
@@ -30047,7 +30060,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
30047
30060
  ),
30048
30061
  "data-test": "resource-content"
30049
30062
  }, [
30050
- e.summary ? E("", !0) : (m(), h("h4", {
30063
+ e.summary ? I("", !0) : (m(), h("h4", {
30051
30064
  key: 0,
30052
30065
  class: j({
30053
30066
  "AVResourceFields--divisor": C.item_type === "check_box"
@@ -30063,11 +30076,11 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
30063
30076
  ),
30064
30077
  "aria-label": C.form_content ? D(u)("js.components.AVResourceSection.true") : D(u)("js.components.AVResourceSection.false"),
30065
30078
  "data-test": "resource-checkbox-icon"
30066
- }, null, 8, ["icon", "class", "aria-label"])) : E("", !0)
30079
+ }, null, 8, ["icon", "class", "aria-label"])) : I("", !0)
30067
30080
  ], 2)),
30068
- !e.summary && C.item_type !== "check_box" ? (m(), h("hr", E61)) : E("", !0),
30081
+ !e.summary && C.item_type !== "check_box" ? (m(), h("hr", E61)) : I("", !0),
30069
30082
  C.item_type === "link_list" && s(C) ? (m(), h("div", D61, [
30070
- e.summary ? (m(), h("span", P61, g(`${C.label[d.value]}:`), 1)) : E("", !0),
30083
+ e.summary ? (m(), h("span", P61, g(`${C.label[d.value]}:`), 1)) : I("", !0),
30071
30084
  (m(!0), h(K, null, f1(C.form_content, (M) => (m(), Z(_, {
30072
30085
  key: M.attributes.name,
30073
30086
  link: M,
@@ -30083,7 +30096,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
30083
30096
  "aria-label": C.form_content ? D(u)("js.components.AVResourceSection.true") : D(u)("js.components.AVResourceSection.false")
30084
30097
  }, null, 8, ["icon", "class", "aria-label"])
30085
30098
  ])) : C.item_type === "select" && s(C) ? (m(), h("div", B61, [
30086
- e.summary ? (m(), h("span", R61, g(`${C.label[d.value]}:`), 1)) : E("", !0),
30099
+ e.summary ? (m(), h("span", R61, g(`${C.label[d.value]}:`), 1)) : I("", !0),
30087
30100
  o1(" " + g(C.form_content[d.value]), 1)
30088
30101
  ])) : C.item_type === "video" && s(C) ? (m(), h("div", F61, [
30089
30102
  o("iframe", {
@@ -30096,7 +30109,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
30096
30109
  innerHTML: C.localised ? C.form_content[d.value] : C.form_content,
30097
30110
  "data-test": "resource-rich-text"
30098
30111
  }, null, 8, q61)) : C.item_type !== "rich_text_area" && C.item_type !== "check_box" ? (m(), h("p", $61, [
30099
- e.summary ? (m(), h("span", U61, g(`${C.label[d.value]}: `), 1)) : E("", !0),
30112
+ e.summary ? (m(), h("span", U61, g(`${C.label[d.value]}: `), 1)) : I("", !0),
30100
30113
  C.item_type === "date" || C.item_type === "date_time" ? (m(), h(K, { key: 1 }, [
30101
30114
  o1(g(D(v)(
30102
30115
  C.form_content,
@@ -30105,8 +30118,8 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
30105
30118
  ], 64)) : (m(), h(K, { key: 2 }, [
30106
30119
  o1(g(C.localised ? C.form_content[d.value] : C.form_content), 1)
30107
30120
  ], 64))
30108
- ])) : E("", !0)
30109
- ], 2)) : E("", !0)
30121
+ ])) : I("", !0)
30122
+ ], 2)) : I("", !0)
30110
30123
  ], 64))), 128))
30111
30124
  ])
30112
30125
  ], 2)
@@ -30166,11 +30179,11 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
30166
30179
  }
30167
30180
  },
30168
30181
  setup(e) {
30169
- const c = k1("i18n"), { t: a } = c.global, t = e, i = I(
30182
+ const c = k1("i18n"), { t: a } = c.global, t = e, i = E(
30170
30183
  () => a(`js.components.AVCalculateResultContent.roles.${t.role}`)
30171
- ), n = I(
30184
+ ), n = E(
30172
30185
  () => a(`js.components.AVCalculateResultContent.status.${t.status}`)
30173
- ), s = I(() => {
30186
+ ), s = E(() => {
30174
30187
  switch (t.status) {
30175
30188
  case "initial":
30176
30189
  return "hourglass-half";
@@ -30188,7 +30201,7 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
30188
30201
  });
30189
30202
  return z1(() => {
30190
30203
  t.locale && r1(t.locale);
30191
- }), n1(
30204
+ }), i1(
30192
30205
  () => t.locale,
30193
30206
  () => {
30194
30207
  t.locale && r1(t.locale);
@@ -30220,7 +30233,7 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
30220
30233
  "data-test": "status-icon"
30221
30234
  }, null, 8, ["icon", "class"]),
30222
30235
  o1(" " + g(n.value) + " ", 1),
30223
- e.status !== "finished" ? (m(), Z(v, { key: 0 })) : E("", !0)
30236
+ e.status !== "finished" ? (m(), Z(v, { key: 0 })) : I("", !0)
30224
30237
  ])
30225
30238
  ]),
30226
30239
  o("div", c81, [
@@ -30293,15 +30306,15 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
30293
30306
  locale: {}
30294
30307
  },
30295
30308
  setup(e) {
30296
- const c = e, a = I(() => {
30309
+ const c = e, a = E(() => {
30297
30310
  var r, f;
30298
30311
  return ((f = (r = c.result[0]) == null ? void 0 : r.rounds) == null ? void 0 : f.length) ?? 0;
30299
- }), t = I(() => c.result.filter((r) => r.elected).map((r) => r.title[l.value] ?? Object.values(r.title)[0])), i = I(() => c.result.filter((r) => r.tied).map((r) => r.title[l.value] ?? Object.values(r.title)[0])), n = k1("i18n"), { t: s } = n.global, l = I(
30312
+ }), t = E(() => c.result.filter((r) => r.elected).map((r) => r.title[l.value] ?? Object.values(r.title)[0])), i = E(() => c.result.filter((r) => r.tied).map((r) => r.title[l.value] ?? Object.values(r.title)[0])), n = k1("i18n"), { t: s } = n.global, l = E(
30300
30313
  () => n.global.locale.value || n.global.locale
30301
30314
  );
30302
30315
  return z1(() => {
30303
30316
  c.locale && r1(c.locale);
30304
- }), n1(
30317
+ }), i1(
30305
30318
  () => c.locale,
30306
30319
  () => {
30307
30320
  c.locale && r1(c.locale);
@@ -30344,15 +30357,15 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
30344
30357
  ]),
30345
30358
  o("div", z81, [
30346
30359
  o("p", null, g(D(s)("js.components.AVRankedSummary.summary.seats")) + ": " + g(r.seats), 1),
30347
- r.distributionNumber > 0 ? (m(), h("p", V81, g(D(s)("js.components.AVRankedSummary.summary.distribution")) + ": " + g(r.distributionNumber), 1)) : E("", !0),
30360
+ r.distributionNumber > 0 ? (m(), h("p", V81, g(D(s)("js.components.AVRankedSummary.summary.distribution")) + ": " + g(r.distributionNumber), 1)) : I("", !0),
30348
30361
  t.value.length > 0 ? (m(), h("p", M81, [
30349
30362
  o1(g(D(s)("js.components.AVRankedSummary.summary.elected")) + ": ", 1),
30350
30363
  o("span", null, g(t.value.join(", ")), 1)
30351
- ])) : E("", !0),
30364
+ ])) : I("", !0),
30352
30365
  i.value.length > 0 ? (m(), h("p", g81, [
30353
30366
  o1(g(D(s)("js.components.AVRankedSummary.summary.tied")) + ": ", 1),
30354
30367
  o("span", null, g(i.value.join(", ")), 1)
30355
- ])) : E("", !0)
30368
+ ])) : I("", !0)
30356
30369
  ])
30357
30370
  ], 64));
30358
30371
  }
@@ -30414,12 +30427,12 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
30414
30427
  }
30415
30428
  },
30416
30429
  setup(e) {
30417
- const c = e, a = (r, f) => c.rounds[f].counts[r] || 0, t = (r, f) => c.rounds[f].eliminated === r && "AVInstantRunoffSummary--eliminated", i = (r, f) => c.rounds[f].elected === r && "AVInstantRunoffSummary--elected", n = k1("i18n"), { t: s } = n.global, l = I(
30430
+ const c = e, a = (r, f) => c.rounds[f].counts[r] || 0, t = (r, f) => c.rounds[f].eliminated === r && "AVInstantRunoffSummary--eliminated", i = (r, f) => c.rounds[f].elected === r && "AVInstantRunoffSummary--elected", n = k1("i18n"), { t: s } = n.global, l = E(
30418
30431
  () => n.global.locale.value || n.global.locale
30419
30432
  );
30420
30433
  return z1(() => {
30421
30434
  c.locale && r1(c.locale);
30422
- }), n1(
30435
+ }), i1(
30423
30436
  () => c.locale,
30424
30437
  () => {
30425
30438
  c.locale && r1(c.locale);
@@ -30468,7 +30481,7 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
30468
30481
  )
30469
30482
  }])
30470
30483
  }, g(a(d.reference, V - 1)), 3))), 128))
30471
- ], 64)) : E("", !0)
30484
+ ], 64)) : I("", !0)
30472
30485
  ]))), 128)),
30473
30486
  o("tr", null, [
30474
30487
  o("td", null, g(D(s)(
@@ -30492,7 +30505,7 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
30492
30505
  e.votesNotIncluded ? (m(), h("p", k81, [
30493
30506
  o("strong", null, g(D(s)("js.components.AVInstantRunoffSummary.summary.not_included_count")), 1),
30494
30507
  o1(" " + g(e.votesNotIncluded), 1)
30495
- ])) : E("", !0),
30508
+ ])) : I("", !0),
30496
30509
  o("p", N81, [
30497
30510
  o("strong", null, g(D(s)("js.components.AVInstantRunoffSummary.summary.abstain")), 1),
30498
30511
  o1(" " + g(e.blankVotes), 1)
@@ -30548,12 +30561,12 @@ function F81(e, c) {
30548
30561
  var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), d = P("AVFooter");
30549
30562
  return m(), h(K, null, [
30550
30563
  T(n, null, {
30551
- default: i1(function() {
30564
+ default: n1(function() {
30552
30565
  return [
30553
30566
  D81,
30554
30567
  o("div", P81, [
30555
30568
  T(t, { type: "navbar" }, {
30556
- default: i1(function() {
30569
+ default: n1(function() {
30557
30570
  return [
30558
30571
  T(a, {
30559
30572
  label: "Dashboard",
@@ -30589,10 +30602,10 @@ function F81(e, c) {
30589
30602
  _: 1
30590
30603
  }),
30591
30604
  T(v, null, {
30592
- sidebar: i1(function() {
30605
+ sidebar: n1(function() {
30593
30606
  return [
30594
30607
  T(u, null, {
30595
- default: i1(function() {
30608
+ default: n1(function() {
30596
30609
  return [
30597
30610
  o("div", O81, [
30598
30611
  B81,
@@ -30603,7 +30616,7 @@ function F81(e, c) {
30603
30616
  ]),
30604
30617
  T(l, { options: ["Pre-election", "election"] }),
30605
30618
  T(t, { type: "sidebar" }, {
30606
- default: i1(function() {
30619
+ default: n1(function() {
30607
30620
  return [
30608
30621
  T(r, {
30609
30622
  label: "Election Overview",
@@ -30664,7 +30677,7 @@ function F81(e, c) {
30664
30677
  })
30665
30678
  ];
30666
30679
  }),
30667
- content: i1(function() {
30680
+ content: n1(function() {
30668
30681
  return [
30669
30682
  R81
30670
30683
  ];
@@ -30744,12 +30757,12 @@ function Y81(e, c) {
30744
30757
  var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), d = P("AVFooter");
30745
30758
  return m(), h(K, null, [
30746
30759
  T(n, null, {
30747
- default: i1(function() {
30760
+ default: n1(function() {
30748
30761
  return [
30749
30762
  $81,
30750
30763
  o("div", U81, [
30751
30764
  T(t, { type: "navbar" }, {
30752
- default: i1(function() {
30765
+ default: n1(function() {
30753
30766
  return [
30754
30767
  T(a, {
30755
30768
  label: "Dashboard",
@@ -30785,10 +30798,10 @@ function Y81(e, c) {
30785
30798
  _: 1
30786
30799
  }),
30787
30800
  T(v, null, {
30788
- sidebar: i1(function() {
30801
+ sidebar: n1(function() {
30789
30802
  return [
30790
30803
  T(u, null, {
30791
- default: i1(function() {
30804
+ default: n1(function() {
30792
30805
  return [
30793
30806
  o("div", W81, [
30794
30807
  G81,
@@ -30799,7 +30812,7 @@ function Y81(e, c) {
30799
30812
  ]),
30800
30813
  T(l, { options: ["Pre-election", "election"] }),
30801
30814
  T(t, { type: "sidebar" }, {
30802
- default: i1(function() {
30815
+ default: n1(function() {
30803
30816
  return [
30804
30817
  T(r, {
30805
30818
  label: "Election Overview",
@@ -30860,7 +30873,7 @@ function Y81(e, c) {
30860
30873
  })
30861
30874
  ];
30862
30875
  }),
30863
- content: i1(function() {
30876
+ content: n1(function() {
30864
30877
  return [
30865
30878
  J81,
30866
30879
  Z81
@@ -30881,12 +30894,12 @@ function a01(e, c) {
30881
30894
  var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVContent"), l = P("AVFooter");
30882
30895
  return m(), h(K, null, [
30883
30896
  T(n, null, {
30884
- default: i1(function() {
30897
+ default: n1(function() {
30885
30898
  return [
30886
30899
  X81,
30887
30900
  o("div", e01, [
30888
30901
  T(t, { type: "navbar" }, {
30889
- default: i1(function() {
30902
+ default: n1(function() {
30890
30903
  return [
30891
30904
  T(a, {
30892
30905
  label: "Dashboard",
@@ -30922,7 +30935,7 @@ function a01(e, c) {
30922
30935
  _: 1
30923
30936
  }),
30924
30937
  T(s, null, {
30925
- content: i1(function() {
30938
+ content: n1(function() {
30926
30939
  return [
30927
30940
  c01
30928
30941
  ];
@@ -31014,11 +31027,11 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
31014
31027
  const i = P("AVNavbarItem"), n = P("AVNavigationItemList"), s = P("AVMenuDropdown"), l = P("AVNavbar"), r = P("AVIcon"), f = P("AVCard"), u = P("AVElectionCard"), v = P("AVContent"), d = P("AVFooter");
31015
31028
  return m(), h(K, null, [
31016
31029
  T(l, null, {
31017
- default: i1(() => [
31030
+ default: n1(() => [
31018
31031
  i01,
31019
31032
  o("div", n01, [
31020
31033
  T(n, { type: "navbar" }, {
31021
- default: i1(() => [
31034
+ default: n1(() => [
31022
31035
  T(i, {
31023
31036
  label: "Dashboard",
31024
31037
  icon: "check-to-slot",
@@ -31051,18 +31064,18 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
31051
31064
  _: 1
31052
31065
  }),
31053
31066
  T(v, null, {
31054
- content: i1(() => [
31067
+ content: n1(() => [
31055
31068
  T(f, {
31056
31069
  variant: "jumbotron",
31057
31070
  class: "dashboard-container"
31058
31071
  }, {
31059
- default: i1(() => [
31072
+ default: n1(() => [
31060
31073
  o("a", s01, [
31061
31074
  T(f, {
31062
31075
  variant: "rounded",
31063
31076
  role: "button"
31064
31077
  }, {
31065
- default: i1(() => [
31078
+ default: n1(() => [
31066
31079
  l01,
31067
31080
  o("div", r01, [
31068
31081
  T(r, {
@@ -31081,7 +31094,7 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
31081
31094
  }),
31082
31095
  f01,
31083
31096
  u01
31084
- ])) : E("", !0),
31097
+ ])) : I("", !0),
31085
31098
  (m(), h(K, null, f1(c, (p) => T(u, {
31086
31099
  key: p.id,
31087
31100
  id: p.id,