@assemblyvoting/ui-library 3.1.27-beta.20 → 3.1.27-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, h as J4, getCurrentInstance as O3, effectScope as _$, inject as D1, onMounted as A1, onUnmounted as x$, shallowRef as ts, ref as i1, computed as E, onBeforeMount as N$, watch as r1, Fragment as a1, isRef as y$, createVNode as T, Text as k$, pushScopeId as e2, popScopeId as c2, nextTick as is, openBlock as d, createBlock as K, createElementBlock as h, normalizeClass as $, renderSlot as H1, normalizeProps as S$, guardReactiveProps as w$, withScopeId as T$, resolveComponent as D, normalizeStyle as W1, withKeys as $8, createElementVNode as f, createCommentVNode as I, mergeProps as U8, withCtx as s1, createApp as I$, toDisplayString as N, createTextVNode as z1, resolveDirective as B2, withDirectives as G1, reactive as ns, provide as ss, renderList as g1, Transition as Y2, unref as B, useCssVars as E$, vShow as E4, withModifiers as m2, createSlots as D$, vModelText as ls } from "vue";
1
+ import { defineComponent as G, h as J4, getCurrentInstance as O3, effectScope as _$, inject as D1, onMounted as A1, onUnmounted as x$, shallowRef as ts, ref as i1, computed as E, onBeforeMount as N$, watch as l1, Fragment as a1, isRef as y$, createVNode as T, Text as k$, pushScopeId as e2, popScopeId as c2, nextTick as is, openBlock as d, createBlock as K, createElementBlock as h, normalizeClass as $, renderSlot as H1, normalizeProps as S$, guardReactiveProps as w$, withScopeId as T$, resolveComponent as D, normalizeStyle as W1, withKeys as $8, createElementVNode as f, createCommentVNode as I, mergeProps as U8, withCtx as s1, createApp as I$, toDisplayString as N, createTextVNode as z1, resolveDirective as B2, withDirectives as G1, reactive as ns, provide as ss, renderList as g1, Transition as Y2, unref as B, useCssVars as E$, vShow as E4, withModifiers as m2, createSlots as D$, vModelText as ls } from "vue";
2
2
  /*!
3
3
  * shared v9.13.1
4
4
  * (c) 2024 kazuya kawaguchi
@@ -355,7 +355,7 @@ function lU(e, c = {}) {
355
355
  const M = V.currentPeek() === "|";
356
356
  return V.resetPeek(), M;
357
357
  }
358
- function Z(V) {
358
+ function Q(V) {
359
359
  const M = C(V), P = V.currentPeek() === "%" && V.peek() === "{";
360
360
  return V.resetPeek(), {
361
361
  isModulo: P,
@@ -373,7 +373,7 @@ function lU(e, c = {}) {
373
373
  const P = V.currentChar();
374
374
  return P === x2 ? x2 : M(P) ? (V.next(), P) : null;
375
375
  }
376
- function l1(V) {
376
+ function r1(V) {
377
377
  const M = V.charCodeAt(0);
378
378
  return M >= 97 && M <= 122 || // a-z
379
379
  M >= 65 && M <= 90 || // A-Z
@@ -382,9 +382,9 @@ function lU(e, c = {}) {
382
382
  M === 36;
383
383
  }
384
384
  function U(V) {
385
- return e1(V, l1);
385
+ return e1(V, r1);
386
386
  }
387
- function Y(V) {
387
+ function Z(V) {
388
388
  const M = V.charCodeAt(0);
389
389
  return M >= 97 && M <= 122 || // a-z
390
390
  M >= 65 && M <= 90 || // A-Z
@@ -394,7 +394,7 @@ function lU(e, c = {}) {
394
394
  M === 45;
395
395
  }
396
396
  function m1(V) {
397
- return e1(V, Y);
397
+ return e1(V, Z);
398
398
  }
399
399
  function P1(V) {
400
400
  const M = V.charCodeAt(0);
@@ -621,7 +621,7 @@ function lU(e, c = {}) {
621
621
  default: {
622
622
  if (F(V))
623
623
  return P = v(M, 1, d1(V)), M.braceNest = 0, M.inLinked = !1, P;
624
- const { isModulo: _1, hasSpace: M1 } = Z(V);
624
+ const { isModulo: _1, hasSpace: M1 } = Q(V);
625
625
  if (_1)
626
626
  return M1 ? v(M, 0, z2(V)) : v(M, 4, a2(V));
627
627
  if (O(V))
@@ -776,8 +776,8 @@ function uU(e = {}) {
776
776
  }
777
777
  }
778
778
  } while (L.currentType !== 14 && L.currentType !== 1);
779
- const F = L.currentType === 1 ? L.lastOffset : z.currentOffset(), Z = L.currentType === 1 ? L.lastEndLoc : z.currentPosition();
780
- return l(k, F, Z), k;
779
+ const F = L.currentType === 1 ? L.lastOffset : z.currentOffset(), Q = L.currentType === 1 ? L.lastEndLoc : z.currentPosition();
780
+ return l(k, F, Q), k;
781
781
  }
782
782
  function b(z, L, A, y) {
783
783
  const k = z.context();
@@ -1595,7 +1595,7 @@ let Fi = 0;
1595
1595
  function tW(e = {}) {
1596
1596
  const c = V1(e.onWarn) ? e.onWarn : S1, a = q(e.version) ? e.version : YU, t = q(e.locale) || V1(e.locale) ? e.locale : v3, i = V1(t) ? v3 : t, n = C1(e.fallbackLocale) || t1(e.fallbackLocale) || q(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]: {} }, o = B1({}, e.modifiers || {}, QU()), m = e.pluralRules || {}, u = V1(e.missing) ? e.missing : null, v = n1(e.missingWarn) || T2(e.missingWarn) ? e.missingWarn : !0, p = n1(e.fallbackWarn) || T2(e.fallbackWarn) ? e.fallbackWarn : !0, H = !!e.fallbackFormat, C = !!e.unresolving, b = V1(e.postTranslation) ? e.postTranslation : null, _ = t1(e.processor) ? e.processor : null, g = n1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, z = !!e.escapeParameter, L = V1(e.messageCompiler) ? e.messageCompiler : zs;
1597
1597
  process.env.NODE_ENV !== "production" && V1(e.messageCompiler) && fs(K2(j1.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1598
- const A = V1(e.messageResolver) ? e.messageResolver : Vs || SU, y = V1(e.localeFallbacker) ? e.localeFallbacker : Ms || GU, k = u1(e.fallbackContext) ? e.fallbackContext : void 0, w = e, x = u1(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), F = u1(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), Z = u1(w.__meta) ? w.__meta : {};
1598
+ const A = V1(e.messageResolver) ? e.messageResolver : Vs || SU, y = V1(e.localeFallbacker) ? e.localeFallbacker : Ms || GU, k = u1(e.fallbackContext) ? e.fallbackContext : void 0, w = e, x = u1(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), F = u1(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), Q = u1(w.__meta) ? w.__meta : {};
1599
1599
  Fi++;
1600
1600
  const O = {
1601
1601
  version: a,
@@ -1619,9 +1619,9 @@ function tW(e = {}) {
1619
1619
  localeFallbacker: y,
1620
1620
  fallbackContext: k,
1621
1621
  onWarn: c,
1622
- __meta: Z
1622
+ __meta: Q
1623
1623
  };
1624
- return O.datetimeFormats = l, O.numberFormats = r, O.__datetimeFormatters = x, O.__numberFormatters = F, process.env.NODE_ENV !== "production" && (O.__v_emitter = w.__v_emitter != null ? w.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && jU(O, a, Z), O;
1624
+ return O.datetimeFormats = l, O.numberFormats = r, O.__datetimeFormatters = x, O.__numberFormatters = F, process.env.NODE_ENV !== "production" && (O.__v_emitter = w.__v_emitter != null ? w.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && jU(O, a, Q), O;
1625
1625
  }
1626
1626
  function X4(e, c) {
1627
1627
  return e instanceof RegExp ? e.test(c) : e;
@@ -1796,7 +1796,7 @@ function qi(e, ...c) {
1796
1796
  }, w = K1(L) ? L : ys(e, r, g, L, A, k);
1797
1797
  if (y)
1798
1798
  return L;
1799
- const x = dW(e, g, z, o), F = FU(x), Z = fW(e, w, F), O = t ? t(Z, r) : Z;
1799
+ const x = dW(e, g, z, o), F = FU(x), Q = fW(e, w, F), O = t ? t(Q, r) : Q;
1800
1800
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1801
1801
  const e1 = {
1802
1802
  timestamp: Date.now(),
@@ -2448,7 +2448,7 @@ function Q8(e = {}, c) {
2448
2448
  const R = tW(S);
2449
2449
  return i && Bi(R), R;
2450
2450
  })(), k3(x, o.value, m.value);
2451
- function Z() {
2451
+ function Q() {
2452
2452
  return [
2453
2453
  o.value,
2454
2454
  m.value,
@@ -2467,7 +2467,7 @@ function Q8(e = {}, c) {
2467
2467
  set: (S) => {
2468
2468
  m.value = S, x.fallbackLocale = m.value, k3(x, o.value, S);
2469
2469
  }
2470
- }), l1 = E(() => u.value), U = /* @__PURE__ */ E(() => v.value), Y = /* @__PURE__ */ E(() => p.value);
2470
+ }), r1 = E(() => u.value), U = /* @__PURE__ */ E(() => v.value), Z = /* @__PURE__ */ E(() => p.value);
2471
2471
  function m1() {
2472
2472
  return V1(L) ? L : null;
2473
2473
  }
@@ -2484,7 +2484,7 @@ function Q8(e = {}, c) {
2484
2484
  return S !== "translate" || !R.resolvedMessage;
2485
2485
  }
2486
2486
  const I1 = (S, R, v1, y1, _2, V4) => {
2487
- Z();
2487
+ Q();
2488
2488
  let n3;
2489
2489
  try {
2490
2490
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (x.fallbackContext = a ? aW() : void 0), n3 = S(x);
@@ -2643,9 +2643,9 @@ function Q8(e = {}, c) {
2643
2643
  function M1(S, R) {
2644
2644
  p.value[S] = B1(p.value[S] || {}, R), x.numberFormats = p.value, Ji(x, S, R);
2645
2645
  }
2646
- Ki++, a && r2 && (r1(a.locale, (S) => {
2646
+ Ki++, a && r2 && (l1(a.locale, (S) => {
2647
2647
  r && (o.value = S, x.locale = S, k3(x, o.value, m.value));
2648
- }), r1(a.fallbackLocale, (S) => {
2648
+ }), l1(a.fallbackLocale, (S) => {
2649
2649
  r && (m.value = S, x.fallbackLocale = S, k3(x, o.value, m.value));
2650
2650
  }));
2651
2651
  const h1 = {
@@ -2661,7 +2661,7 @@ function Q8(e = {}, c) {
2661
2661
  get availableLocales() {
2662
2662
  return Object.keys(u.value).sort();
2663
2663
  },
2664
- messages: l1,
2664
+ messages: r1,
2665
2665
  get modifiers() {
2666
2666
  return k;
2667
2667
  },
@@ -2717,7 +2717,7 @@ function Q8(e = {}, c) {
2717
2717
  setMissingHandler: O1,
2718
2718
  [Ds]: x3
2719
2719
  };
2720
- return h1.datetimeFormats = U, h1.numberFormats = Y, h1.rt = z2, h1.te = j, h1.tm = N3, h1.d = A2, h1.n = F1, h1.getDateTimeFormat = V, h1.setDateTimeFormat = M, h1.mergeDateTimeFormat = P, h1.getNumberFormat = X, h1.setNumberFormat = _1, h1.mergeNumberFormat = M1, h1[Ps] = t, h1[g8] = i3, h1[C8] = _3, h1[b8] = A3, process.env.NODE_ENV !== "production" && (h1[X2] = (S) => {
2720
+ return h1.datetimeFormats = U, h1.numberFormats = Z, h1.rt = z2, h1.te = j, h1.tm = N3, h1.d = A2, h1.n = F1, h1.getDateTimeFormat = V, h1.setDateTimeFormat = M, h1.mergeDateTimeFormat = P, h1.getNumberFormat = X, h1.setNumberFormat = _1, h1.mergeNumberFormat = M1, h1[Ps] = t, h1[g8] = i3, h1[C8] = _3, h1[b8] = A3, process.env.NODE_ENV !== "production" && (h1[X2] = (S) => {
2721
2721
  x.__v_emitter = S;
2722
2722
  }, h1[F3] = () => {
2723
2723
  x.__v_emitter = void 0;
@@ -3128,7 +3128,7 @@ function EW(e) {
3128
3128
  return {
3129
3129
  created: (s, l) => {
3130
3130
  const [r, o] = c(l);
3131
- r2 && e.global === o && (s.__i18nWatcher = r1(o.locale, () => {
3131
+ r2 && e.global === o && (s.__i18nWatcher = l1(o.locale, () => {
3132
3132
  l.instance && l.instance.$forceUpdate();
3133
3133
  })), s.__composer = o, s.textContent = r;
3134
3134
  },
@@ -3684,33 +3684,33 @@ function sG(e, c, a, t = {}) {
3684
3684
  set: (j) => {
3685
3685
  n.value && (n.value.fallbackLocale.value = j), r.value = j;
3686
3686
  }
3687
- }), x = E(() => n.value ? n.value.messages.value : o.value), F = E(() => m.value), Z = E(() => u.value);
3687
+ }), x = E(() => n.value ? n.value.messages.value : o.value), F = E(() => m.value), Q = E(() => u.value);
3688
3688
  function O() {
3689
3689
  return n.value ? n.value.getPostTranslationHandler() : _;
3690
3690
  }
3691
3691
  function e1(j) {
3692
3692
  n.value && n.value.setPostTranslationHandler(j);
3693
3693
  }
3694
- function l1() {
3694
+ function r1() {
3695
3695
  return n.value ? n.value.getMissingHandler() : b;
3696
3696
  }
3697
3697
  function U(j) {
3698
3698
  n.value && n.value.setMissingHandler(j);
3699
3699
  }
3700
- function Y(j) {
3700
+ function Z(j) {
3701
3701
  return y(), j();
3702
3702
  }
3703
3703
  function m1(...j) {
3704
- return n.value ? Y(() => Reflect.apply(n.value.t, null, [...j])) : Y(() => "");
3704
+ return n.value ? Z(() => Reflect.apply(n.value.t, null, [...j])) : Z(() => "");
3705
3705
  }
3706
3706
  function P1(...j) {
3707
3707
  return n.value ? Reflect.apply(n.value.rt, null, [...j]) : "";
3708
3708
  }
3709
3709
  function q1(...j) {
3710
- return n.value ? Y(() => Reflect.apply(n.value.d, null, [...j])) : Y(() => "");
3710
+ return n.value ? Z(() => Reflect.apply(n.value.d, null, [...j])) : Z(() => "");
3711
3711
  }
3712
3712
  function O1(...j) {
3713
- return n.value ? Y(() => Reflect.apply(n.value.n, null, [...j])) : Y(() => "");
3713
+ return n.value ? Z(() => Reflect.apply(n.value.n, null, [...j])) : Z(() => "");
3714
3714
  }
3715
3715
  function J1(j) {
3716
3716
  return n.value ? n.value.tm(j) : {};
@@ -3753,7 +3753,7 @@ function sG(e, c, a, t = {}) {
3753
3753
  fallbackLocale: w,
3754
3754
  messages: x,
3755
3755
  datetimeFormats: F,
3756
- numberFormats: Z,
3756
+ numberFormats: Q,
3757
3757
  get inheritLocale() {
3758
3758
  return n.value ? n.value.inheritLocale : s;
3759
3759
  },
@@ -3811,7 +3811,7 @@ function sG(e, c, a, t = {}) {
3811
3811
  t: m1,
3812
3812
  getPostTranslationHandler: O,
3813
3813
  setPostTranslationHandler: e1,
3814
- getMissingHandler: l1,
3814
+ getMissingHandler: r1,
3815
3815
  setMissingHandler: U,
3816
3816
  rt: P1,
3817
3817
  d: q1,
@@ -18637,17 +18637,17 @@ const BG = (e) => ({
18637
18637
  }, p = si(i), H = ni(p), C = await s.getDimensions(o), b = p === "y", _ = b ? "top" : "left", g = b ? "bottom" : "right", z = b ? "clientHeight" : "clientWidth", L = n.reference[H] + n.reference[p] - v[p] - n.floating[H], A = v[p] - n.reference[p], y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(o));
18638
18638
  let k = y ? y[z] : 0;
18639
18639
  (!k || !await (s.isElement == null ? void 0 : s.isElement(y))) && (k = l.floating[z] || n.floating[H]);
18640
- const w = L / 2 - A / 2, x = k / 2 - C[H] / 2 - 1, F = G2(u[_], x), Z = G2(u[g], x), O = F, e1 = k - C[H] - Z, l1 = k / 2 - C[H] / 2 + w, U = x8(O, l1, e1), Y = !r.arrow && s2(i) != null && l1 !== U && n.reference[H] / 2 - (l1 < O ? F : Z) - C[H] / 2 < 0, m1 = Y ? l1 < O ? l1 - O : l1 - e1 : 0;
18640
+ const w = L / 2 - A / 2, x = k / 2 - C[H] / 2 - 1, F = G2(u[_], x), Q = G2(u[g], x), O = F, e1 = k - C[H] - Q, r1 = k / 2 - C[H] / 2 + w, U = x8(O, r1, e1), Z = !r.arrow && s2(i) != null && r1 !== U && n.reference[H] / 2 - (r1 < O ? F : Q) - C[H] / 2 < 0, m1 = Z ? r1 < O ? r1 - O : r1 - e1 : 0;
18641
18641
  return {
18642
18642
  [p]: v[p] + m1,
18643
18643
  data: {
18644
18644
  [p]: U,
18645
- centerOffset: l1 - U - m1,
18646
- ...Y && {
18645
+ centerOffset: r1 - U - m1,
18646
+ ...Z && {
18647
18647
  alignmentOffset: m1
18648
18648
  }
18649
18649
  },
18650
- reset: Y
18650
+ reset: Z
18651
18651
  };
18652
18652
  }
18653
18653
  });
@@ -18697,20 +18697,20 @@ const RG = function(e) {
18697
18697
  }
18698
18698
  };
18699
18699
  const k = A.map((F) => {
18700
- const Z = s2(F.placement);
18701
- return [F.placement, Z && m ? (
18700
+ const Q = s2(F.placement);
18701
+ return [F.placement, Q && m ? (
18702
18702
  // Check along the mainAxis and main crossAxis side.
18703
18703
  F.overflows.slice(0, 2).reduce((O, e1) => O + e1, 0)
18704
18704
  ) : (
18705
18705
  // Check only the mainAxis.
18706
18706
  F.overflows[0]
18707
18707
  ), F.overflows];
18708
- }).sort((F, Z) => F[1] - Z[1]), x = ((i = k.filter((F) => F[2].slice(
18708
+ }).sort((F, Q) => F[1] - Q[1]), x = ((i = k.filter((F) => F[2].slice(
18709
18709
  0,
18710
18710
  // Aligned placements should not check their opposite crossAxis
18711
18711
  // side.
18712
18712
  s2(F[0]) ? 2 : 3
18713
- ).every((Z) => Z <= 0))[0]) == null ? void 0 : i[0]) || k[0][0];
18713
+ ).every((Q) => Q <= 0))[0]) == null ? void 0 : i[0]) || k[0][0];
18714
18714
  return x !== l ? {
18715
18715
  data: {
18716
18716
  index: _ + 1,
@@ -18770,23 +18770,23 @@ const RG = function(e) {
18770
18770
  placement: e1
18771
18771
  }
18772
18772
  };
18773
- let l1 = (F = w.filter((U) => U.overflows[0] <= 0).sort((U, Y) => U.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : F.placement;
18774
- if (!l1)
18773
+ let r1 = (F = w.filter((U) => U.overflows[0] <= 0).sort((U, Z) => U.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : F.placement;
18774
+ if (!r1)
18775
18775
  switch (p) {
18776
18776
  case "bestFit": {
18777
- var Z;
18778
- const U = (Z = w.map((Y) => [Y.placement, Y.overflows.filter((m1) => m1 > 0).reduce((m1, P1) => m1 + P1, 0)]).sort((Y, m1) => Y[1] - m1[1])[0]) == null ? void 0 : Z[0];
18779
- U && (l1 = U);
18777
+ var Q;
18778
+ const U = (Q = w.map((Z) => [Z.placement, Z.overflows.filter((m1) => m1 > 0).reduce((m1, P1) => m1 + P1, 0)]).sort((Z, m1) => Z[1] - m1[1])[0]) == null ? void 0 : Q[0];
18779
+ U && (r1 = U);
18780
18780
  break;
18781
18781
  }
18782
18782
  case "initialPlacement":
18783
- l1 = l;
18783
+ r1 = l;
18784
18784
  break;
18785
18785
  }
18786
- if (i !== l1)
18786
+ if (i !== r1)
18787
18787
  return {
18788
18788
  reset: {
18789
- placement: l1
18789
+ placement: r1
18790
18790
  }
18791
18791
  };
18792
18792
  }
@@ -18919,8 +18919,8 @@ const $G = function(e) {
18919
18919
  const b = p - r.top - r.bottom, _ = v - r.left - r.right, g = G2(p - r[H], b), z = G2(v - r[C], _), L = !c.middlewareData.shift;
18920
18920
  let A = g, y = z;
18921
18921
  if (u ? y = m || L ? G2(z, _) : _ : A = m || L ? G2(g, b) : b, L && !m) {
18922
- const w = W2(r.left, 0), x = W2(r.right, 0), F = W2(r.top, 0), Z = W2(r.bottom, 0);
18923
- u ? y = v - 2 * (w !== 0 || x !== 0 ? w + x : W2(r.left, r.right)) : A = p - 2 * (F !== 0 || Z !== 0 ? F + Z : W2(r.top, r.bottom));
18922
+ const w = W2(r.left, 0), x = W2(r.right, 0), F = W2(r.top, 0), Q = W2(r.bottom, 0);
18923
+ u ? y = v - 2 * (w !== 0 || x !== 0 ? w + x : W2(r.left, r.right)) : A = p - 2 * (F !== 0 || Q !== 0 ? F + Q : W2(r.top, r.bottom));
18924
18924
  }
18925
18925
  await s({
18926
18926
  ...c,
@@ -20945,13 +20945,13 @@ var c$ = {
20945
20945
  D3.familyPrefix && (D3.cssPrefix = D3.familyPrefix);
20946
20946
  var h3 = W(W({}, c$), D3);
20947
20947
  h3.autoReplaceSvg || (h3.observeMutations = !1);
20948
- var Q = {};
20948
+ var Y = {};
20949
20949
  Object.keys(c$).forEach(function(e) {
20950
- Object.defineProperty(Q, e, {
20950
+ Object.defineProperty(Y, e, {
20951
20951
  enumerable: !0,
20952
20952
  set: function(a) {
20953
20953
  h3[e] = a, P3.forEach(function(t) {
20954
- return t(Q);
20954
+ return t(Y);
20955
20955
  });
20956
20956
  },
20957
20957
  get: function() {
@@ -20959,18 +20959,18 @@ Object.keys(c$).forEach(function(e) {
20959
20959
  }
20960
20960
  });
20961
20961
  });
20962
- Object.defineProperty(Q, "familyPrefix", {
20962
+ Object.defineProperty(Y, "familyPrefix", {
20963
20963
  enumerable: !0,
20964
20964
  set: function(c) {
20965
20965
  h3.cssPrefix = c, P3.forEach(function(a) {
20966
- return a(Q);
20966
+ return a(Y);
20967
20967
  });
20968
20968
  },
20969
20969
  get: function() {
20970
20970
  return h3.cssPrefix;
20971
20971
  }
20972
20972
  });
20973
- D2.FontAwesomeConfig = Q;
20973
+ D2.FontAwesomeConfig = Y;
20974
20974
  var P3 = [];
20975
20975
  function eZ(e) {
20976
20976
  return P3.push(e), function() {
@@ -21804,7 +21804,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
21804
21804
  color: var(--fa-inverse, #fff);
21805
21805
  }`;
21806
21806
  function t$() {
21807
- var e = Yq, c = Qq, a = Q.cssPrefix, t = Q.replacementClass, i = sZ;
21807
+ var e = Yq, c = Qq, a = Y.cssPrefix, t = Y.replacementClass, i = sZ;
21808
21808
  if (a !== e || t !== c) {
21809
21809
  var n = new RegExp("\\.".concat(e, "\\-"), "g"), s = new RegExp("\\--".concat(e, "\\-"), "g"), l = new RegExp("\\.".concat(c), "g");
21810
21810
  i = i.replace(n, ".".concat(a, "-")).replace(s, "--".concat(a, "-")).replace(l, ".".concat(t));
@@ -21813,7 +21813,7 @@ function t$() {
21813
21813
  }
21814
21814
  var Dn = !1;
21815
21815
  function m8() {
21816
- Q.autoAddCss && !Dn && (cZ(t$()), Dn = !0);
21816
+ Y.autoAddCss && !Dn && (cZ(t$()), Dn = !0);
21817
21817
  }
21818
21818
  var lZ = {
21819
21819
  mixout: function() {
@@ -21939,7 +21939,7 @@ var f$ = function() {
21939
21939
  i[r] = s;
21940
21940
  }), i;
21941
21941
  });
21942
- var a = "far" in o3 || Q.autoFetchSvg, t = d8(dZ, function(i, n) {
21942
+ var a = "far" in o3 || Y.autoFetchSvg, t = d8(dZ, function(i, n) {
21943
21943
  var s = n[0], l = n[1], r = n[2];
21944
21944
  return l === "far" && !a && (l = "fas"), typeof s == "string" && (i.names[s] = {
21945
21945
  prefix: l,
@@ -21952,13 +21952,13 @@ var f$ = function() {
21952
21952
  names: {},
21953
21953
  unicodes: {}
21954
21954
  });
21955
- l$ = t.names, r$ = t.unicodes, hi = e8(Q.styleDefault, {
21956
- family: Q.familyDefault
21955
+ l$ = t.names, r$ = t.unicodes, hi = e8(Y.styleDefault, {
21956
+ family: Y.familyDefault
21957
21957
  });
21958
21958
  };
21959
21959
  eZ(function(e) {
21960
21960
  hi = e8(e.styleDefault, {
21961
- family: Q.familyDefault
21961
+ family: Y.familyDefault
21962
21962
  });
21963
21963
  });
21964
21964
  f$();
@@ -22003,23 +22003,23 @@ function e8(e) {
22003
22003
  }
22004
22004
  var Bn = (k4 = {}, T1(k4, b1, Object.keys(Z3[b1])), T1(k4, N1, Object.keys(Z3[N1])), k4);
22005
22005
  function c8(e) {
22006
- var c, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.skipLookups, i = t === void 0 ? !1 : t, n = (c = {}, T1(c, b1, "".concat(Q.cssPrefix, "-").concat(b1)), T1(c, N1, "".concat(Q.cssPrefix, "-").concat(N1)), c), s = null, l = b1;
22006
+ var c, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.skipLookups, i = t === void 0 ? !1 : t, n = (c = {}, T1(c, b1, "".concat(Y.cssPrefix, "-").concat(b1)), T1(c, N1, "".concat(Y.cssPrefix, "-").concat(N1)), c), s = null, l = b1;
22007
22007
  (e.includes(n[b1]) || e.some(function(o) {
22008
22008
  return Bn[b1].includes(o);
22009
22009
  })) && (l = b1), (e.includes(n[N1]) || e.some(function(o) {
22010
22010
  return Bn[N1].includes(o);
22011
22011
  })) && (l = N1);
22012
22012
  var r = e.reduce(function(o, m) {
22013
- var u = zZ(Q.cssPrefix, m);
22013
+ var u = zZ(Y.cssPrefix, m);
22014
22014
  if (o3[m] ? (m = vZ[l].includes(m) ? $J[l][m] : m, s = m, o.prefix = m) : pZ[l].indexOf(m) > -1 ? (s = m, o.prefix = e8(m, {
22015
22015
  family: l
22016
- })) : u ? o.iconName = u : m !== Q.replacementClass && m !== n[b1] && m !== n[N1] && o.rest.push(m), !i && o.prefix && o.iconName) {
22016
+ })) : u ? o.iconName = u : m !== Y.replacementClass && m !== n[b1] && m !== n[N1] && o.rest.push(m), !i && o.prefix && o.iconName) {
22017
22017
  var v = s === "fa" ? u$(o.iconName) : {}, p = Z2(o.prefix, o.iconName);
22018
- v.prefix && (s = null), o.iconName = v.iconName || p || o.iconName, o.prefix = v.prefix || o.prefix, o.prefix === "far" && !o3.far && o3.fas && !Q.autoFetchSvg && (o.prefix = "fas");
22018
+ v.prefix && (s = null), o.iconName = v.iconName || p || o.iconName, o.prefix = v.prefix || o.prefix, o.prefix === "far" && !o3.far && o3.fas && !Y.autoFetchSvg && (o.prefix = "fas");
22019
22019
  }
22020
22020
  return o;
22021
22021
  }, Vi());
22022
- return (e.includes("fa-brands") || e.includes("fab")) && (r.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (r.prefix = "fad"), !r.prefix && l === N1 && (o3.fass || Q.autoFetchSvg) && (r.prefix = "fass", r.iconName = Z2(r.prefix, r.iconName) || r.iconName), (r.prefix === "fa" || s === "fa") && (r.prefix = P2() || "fas"), r;
22022
+ return (e.includes("fa-brands") || e.includes("fab")) && (r.prefix = "fab"), (e.includes("fa-duotone") || e.includes("fad")) && (r.prefix = "fad"), !r.prefix && l === N1 && (o3.fass || Y.autoFetchSvg) && (r.prefix = "fass", r.iconName = Z2(r.prefix, r.iconName) || r.iconName), (r.prefix === "fa" || s === "fa") && (r.prefix = P2() || "fas"), r;
22023
22023
  }
22024
22024
  var HZ = /* @__PURE__ */ function() {
22025
22025
  function e() {
@@ -22103,7 +22103,7 @@ function O8(e) {
22103
22103
  return c = Z2(a, c) || c, Pn(m$.definitions, a, c) || Pn(n2.styles, a, c);
22104
22104
  }
22105
22105
  var m$ = new HZ(), bZ = function() {
22106
- Q.autoReplaceSvg = !1, Q.observeMutations = !1, c3("noAuto");
22106
+ Y.autoReplaceSvg = !1, Y.observeMutations = !1, c3("noAuto");
22107
22107
  }, LZ = {
22108
22108
  i2svg: function() {
22109
22109
  var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -22111,7 +22111,7 @@ var m$ = new HZ(), bZ = function() {
22111
22111
  },
22112
22112
  watch: function() {
22113
22113
  var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = c.autoReplaceSvgRoot;
22114
- Q.autoReplaceSvg === !1 && (Q.autoReplaceSvg = !0), Q.observeMutations = !0, oZ(function() {
22114
+ Y.autoReplaceSvg === !1 && (Y.autoReplaceSvg = !0), Y.observeMutations = !0, oZ(function() {
22115
22115
  _Z({
22116
22116
  autoReplaceSvgRoot: a
22117
22117
  }), c3("watch", c);
@@ -22133,7 +22133,7 @@ var m$ = new HZ(), bZ = function() {
22133
22133
  iconName: Z2(t, a) || a
22134
22134
  };
22135
22135
  }
22136
- if (typeof c == "string" && (c.indexOf("".concat(Q.cssPrefix, "-")) > -1 || c.match(UJ))) {
22136
+ if (typeof c == "string" && (c.indexOf("".concat(Y.cssPrefix, "-")) > -1 || c.match(UJ))) {
22137
22137
  var i = c8(c.split(" "), {
22138
22138
  skipLookups: !0
22139
22139
  });
@@ -22152,7 +22152,7 @@ var m$ = new HZ(), bZ = function() {
22152
22152
  }
22153
22153
  }, Q1 = {
22154
22154
  noAuto: bZ,
22155
- config: Q,
22155
+ config: Y,
22156
22156
  dom: LZ,
22157
22157
  parse: AZ,
22158
22158
  library: m$,
@@ -22160,7 +22160,7 @@ var m$ = new HZ(), bZ = function() {
22160
22160
  toHtml: z4
22161
22161
  }, _Z = function() {
22162
22162
  var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = c.autoReplaceSvgRoot, t = a === void 0 ? L1 : a;
22163
- (Object.keys(n2.styles).length > 0 || Q.autoFetchSvg) && L2 && Q.autoReplaceSvg && Q1.dom.i2svg({
22163
+ (Object.keys(n2.styles).length > 0 || Y.autoFetchSvg) && L2 && Y.autoReplaceSvg && Q1.dom.i2svg({
22164
22164
  node: t
22165
22165
  });
22166
22166
  };
@@ -22200,7 +22200,7 @@ function xZ(e) {
22200
22200
  }];
22201
22201
  }
22202
22202
  function NZ(e) {
22203
- var c = e.prefix, a = e.iconName, t = e.children, i = e.attributes, n = e.symbol, s = n === !0 ? "".concat(c, "-").concat(Q.cssPrefix, "-").concat(a) : n;
22203
+ var c = e.prefix, a = e.iconName, t = e.children, i = e.attributes, n = e.symbol, s = n === !0 ? "".concat(c, "-").concat(Y.cssPrefix, "-").concat(a) : n;
22204
22204
  return [{
22205
22205
  tag: "svg",
22206
22206
  attributes: {
@@ -22216,7 +22216,7 @@ function NZ(e) {
22216
22216
  }];
22217
22217
  }
22218
22218
  function Mi(e) {
22219
- var c = e.icons, a = c.main, t = c.mask, i = e.prefix, n = e.iconName, s = e.transform, l = e.symbol, r = e.title, o = e.maskId, m = e.titleId, u = e.extra, v = e.watchable, p = v === void 0 ? !1 : v, H = t.found ? t : a, C = H.width, b = H.height, _ = i === "fak", g = [Q.replacementClass, n ? "".concat(Q.cssPrefix, "-").concat(n) : ""].filter(function(x) {
22219
+ var c = e.icons, a = c.main, t = c.mask, i = e.prefix, n = e.iconName, s = e.transform, l = e.symbol, r = e.title, o = e.maskId, m = e.titleId, u = e.extra, v = e.watchable, p = v === void 0 ? !1 : v, H = t.found ? t : a, C = H.width, b = H.height, _ = i === "fak", g = [Y.replacementClass, n ? "".concat(Y.cssPrefix, "-").concat(n) : ""].filter(function(x) {
22220
22220
  return u.classes.indexOf(x) === -1;
22221
22221
  }).filter(function(x) {
22222
22222
  return x !== "" || !!x;
@@ -22313,19 +22313,19 @@ function B8(e) {
22313
22313
  return Array.isArray(n) ? s = {
22314
22314
  tag: "g",
22315
22315
  attributes: {
22316
- class: "".concat(Q.cssPrefix, "-").concat(J2.GROUP)
22316
+ class: "".concat(Y.cssPrefix, "-").concat(J2.GROUP)
22317
22317
  },
22318
22318
  children: [{
22319
22319
  tag: "path",
22320
22320
  attributes: {
22321
- class: "".concat(Q.cssPrefix, "-").concat(J2.SECONDARY),
22321
+ class: "".concat(Y.cssPrefix, "-").concat(J2.SECONDARY),
22322
22322
  fill: "currentColor",
22323
22323
  d: n[0]
22324
22324
  }
22325
22325
  }, {
22326
22326
  tag: "path",
22327
22327
  attributes: {
22328
- class: "".concat(Q.cssPrefix, "-").concat(J2.PRIMARY),
22328
+ class: "".concat(Y.cssPrefix, "-").concat(J2.PRIMARY),
22329
22329
  fill: "currentColor",
22330
22330
  d: n[1]
22331
22331
  }
@@ -22349,11 +22349,11 @@ var kZ = {
22349
22349
  height: 512
22350
22350
  };
22351
22351
  function SZ(e, c) {
22352
- !Kq && !Q.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(c, '" is missing.'));
22352
+ !Kq && !Y.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(c, '" is missing.'));
22353
22353
  }
22354
22354
  function F8(e, c) {
22355
22355
  var a = c;
22356
- return c === "fa" && Q.styleDefault !== null && (c = P2()), new Promise(function(t, i) {
22356
+ return c === "fa" && Y.styleDefault !== null && (c = P2()), new Promise(function(t, i) {
22357
22357
  if (b2("missingIconAbstract"), a === "fa") {
22358
22358
  var n = u$(e) || {};
22359
22359
  e = n.iconName || e, c = n.prefix || c;
@@ -22363,12 +22363,12 @@ function F8(e, c) {
22363
22363
  return t(B8(s));
22364
22364
  }
22365
22365
  SZ(e, c), t(W(W({}, kZ), {}, {
22366
- icon: Q.showMissingIcons && e ? b2("missingIconAbstract") || {} : {}
22366
+ icon: Y.showMissingIcons && e ? b2("missingIconAbstract") || {} : {}
22367
22367
  }));
22368
22368
  });
22369
22369
  }
22370
22370
  var jn = function() {
22371
- }, R8 = Q.measurePerformance && C4 && C4.mark && C4.measure ? C4 : {
22371
+ }, R8 = Y.measurePerformance && C4 && C4.mark && C4.measure ? C4 : {
22372
22372
  mark: jn,
22373
22373
  measure: jn
22374
22374
  }, S3 = 'FA "6.4.2"', wZ = function(c) {
@@ -22391,12 +22391,12 @@ function TZ(e) {
22391
22391
  return c && a;
22392
22392
  }
22393
22393
  function IZ(e) {
22394
- return e && e.classList && e.classList.contains && e.classList.contains(Q.replacementClass);
22394
+ return e && e.classList && e.classList.contains && e.classList.contains(Y.replacementClass);
22395
22395
  }
22396
22396
  function EZ() {
22397
- if (Q.autoReplaceSvg === !0)
22397
+ if (Y.autoReplaceSvg === !0)
22398
22398
  return I4.replace;
22399
- var e = I4[Q.autoReplaceSvg];
22399
+ var e = I4[Y.autoReplaceSvg];
22400
22400
  return e || I4.replace;
22401
22401
  }
22402
22402
  function DZ(e) {
@@ -22430,7 +22430,7 @@ var I4 = {
22430
22430
  if (a.parentNode)
22431
22431
  if (c[1].forEach(function(i) {
22432
22432
  a.parentNode.insertBefore(v$(i), a);
22433
- }), a.getAttribute(e3) === null && Q.keepOriginalSource) {
22433
+ }), a.getAttribute(e3) === null && Y.keepOriginalSource) {
22434
22434
  var t = L1.createComment(OZ(a));
22435
22435
  a.parentNode.replaceChild(t, a);
22436
22436
  } else
@@ -22438,12 +22438,12 @@ var I4 = {
22438
22438
  },
22439
22439
  nest: function(c) {
22440
22440
  var a = c[0], t = c[1];
22441
- if (~vi(a).indexOf(Q.replacementClass))
22441
+ if (~vi(a).indexOf(Y.replacementClass))
22442
22442
  return I4.replace(c);
22443
- var i = new RegExp("".concat(Q.cssPrefix, "-.*"));
22443
+ var i = new RegExp("".concat(Y.cssPrefix, "-.*"));
22444
22444
  if (delete t[0].attributes.id, t[0].attributes.class) {
22445
22445
  var n = t[0].attributes.class.split(" ").reduce(function(l, r) {
22446
- return r === Q.replacementClass || r.match(i) ? l.toSvg.push(r) : l.toNode.push(r), l;
22446
+ return r === Y.replacementClass || r.match(i) ? l.toSvg.push(r) : l.toNode.push(r), l;
22447
22447
  }, {
22448
22448
  toNode: [],
22449
22449
  toSvg: []
@@ -22466,7 +22466,7 @@ function p$(e, c) {
22466
22466
  a();
22467
22467
  else {
22468
22468
  var t = $n;
22469
- Q.mutateApproach === jJ && (t = D2.requestAnimationFrame || $n), t(function() {
22469
+ Y.mutateApproach === jJ && (t = D2.requestAnimationFrame || $n), t(function() {
22470
22470
  var i = EZ(), n = Hi.begin("mutate");
22471
22471
  e.map(i), n(), a();
22472
22472
  });
@@ -22481,13 +22481,13 @@ function j8() {
22481
22481
  }
22482
22482
  var W4 = null;
22483
22483
  function Un(e) {
22484
- if (In && Q.observeMutations) {
22484
+ if (In && Y.observeMutations) {
22485
22485
  var c = e.treeCallback, a = c === void 0 ? T4 : c, t = e.nodeCallback, i = t === void 0 ? T4 : t, n = e.pseudoElementsCallback, s = n === void 0 ? T4 : n, l = e.observeMutationsRoot, r = l === void 0 ? L1 : l;
22486
22486
  W4 = new In(function(o) {
22487
22487
  if (!gi) {
22488
22488
  var m = P2();
22489
22489
  b3(o).forEach(function(u) {
22490
- if (u.type === "childList" && u.addedNodes.length > 0 && !qn(u.addedNodes[0]) && (Q.searchPseudoElements && s(u.target), a(u.target)), u.type === "attributes" && u.target.parentNode && Q.searchPseudoElements && s(u.target.parentNode), u.type === "attributes" && qn(u.target) && ~ZJ.indexOf(u.attributeName))
22490
+ if (u.type === "childList" && u.addedNodes.length > 0 && !qn(u.addedNodes[0]) && (Y.searchPseudoElements && s(u.target), a(u.target)), u.type === "attributes" && u.target.parentNode && Y.searchPseudoElements && s(u.target.parentNode), u.type === "attributes" && qn(u.target) && ~ZJ.indexOf(u.attributeName))
22491
22491
  if (u.attributeName === "class" && TZ(u.target)) {
22492
22492
  var v = c8(vi(u.target)), p = v.prefix, H = v.iconName;
22493
22493
  u.target.setAttribute(ui, p || m), H && u.target.setAttribute(mi, H);
@@ -22515,13 +22515,13 @@ function FZ(e) {
22515
22515
  }
22516
22516
  function RZ(e) {
22517
22517
  var c = e.getAttribute("data-prefix"), a = e.getAttribute("data-icon"), t = e.innerText !== void 0 ? e.innerText.trim() : "", i = c8(vi(e));
22518
- return i.prefix || (i.prefix = P2()), c && a && (i.prefix = c, i.iconName = a), i.iconName && i.prefix || (i.prefix && t.length > 0 && (i.iconName = VZ(i.prefix, e.innerText) || zi(i.prefix, E8(e.innerText))), !i.iconName && Q.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (i.iconName = e.firstChild.data)), i;
22518
+ return i.prefix || (i.prefix = P2()), c && a && (i.prefix = c, i.iconName = a), i.iconName && i.prefix || (i.prefix && t.length > 0 && (i.iconName = VZ(i.prefix, e.innerText) || zi(i.prefix, E8(e.innerText))), !i.iconName && Y.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (i.iconName = e.firstChild.data)), i;
22519
22519
  }
22520
22520
  function jZ(e) {
22521
22521
  var c = b3(e.attributes).reduce(function(i, n) {
22522
22522
  return i.name !== "class" && i.name !== "style" && (i[n.name] = n.value), i;
22523
22523
  }, {}), a = e.getAttribute("title"), t = e.getAttribute("data-fa-title-id");
22524
- return Q.autoA11y && (a ? c["aria-labelledby"] = "".concat(Q.replacementClass, "-title-").concat(t || Q3()) : (c["aria-hidden"] = "true", c.focusable = "false")), c;
22524
+ return Y.autoA11y && (a ? c["aria-labelledby"] = "".concat(Y.replacementClass, "-title-").concat(t || Q3()) : (c["aria-hidden"] = "true", c.focusable = "false")), c;
22525
22525
  }
22526
22526
  function qZ() {
22527
22527
  return {
@@ -22570,7 +22570,7 @@ function Wn(e) {
22570
22570
  }
22571
22571
  var $Z = n2.styles;
22572
22572
  function z$(e) {
22573
- var c = Q.autoReplaceSvg === "nest" ? Wn(e, {
22573
+ var c = Y.autoReplaceSvg === "nest" ? Wn(e, {
22574
22574
  styleParser: !1
22575
22575
  }) : Wn(e);
22576
22576
  return ~c.extra.classes.indexOf(Xq) ? b2("generateLayersText", e, c) : b2("generateSvgReplacementMutation", e, c);
@@ -22590,7 +22590,7 @@ function Gn(e) {
22590
22590
  return a.add("".concat(En, "-").concat(u));
22591
22591
  }, i = function(u) {
22592
22592
  return a.remove("".concat(En, "-").concat(u));
22593
- }, n = Q.autoFetchSvg ? O2 : di.map(function(m) {
22593
+ }, n = Y.autoFetchSvg ? O2 : di.map(function(m) {
22594
22594
  return "fa-".concat(m);
22595
22595
  }).concat(Object.keys($Z));
22596
22596
  n.includes("fa") || n.push("fa");
@@ -22651,7 +22651,7 @@ var GZ = function(c) {
22651
22651
  return c3("beforeDOMElementCreation", {
22652
22652
  iconDefinition: c,
22653
22653
  params: a
22654
- }), Q.autoA11y && (v ? g["aria-labelledby"] = "".concat(Q.replacementClass, "-title-").concat(H || Q3()) : (g["aria-hidden"] = "true", g.focusable = "false")), Mi({
22654
+ }), Y.autoA11y && (v ? g["aria-labelledby"] = "".concat(Y.replacementClass, "-title-").concat(H || Q3()) : (g["aria-hidden"] = "true", g.focusable = "false")), Mi({
22655
22655
  icons: {
22656
22656
  main: B8(k),
22657
22657
  mask: r ? B8(r.icon) : {
@@ -22756,7 +22756,7 @@ var GZ = function(c) {
22756
22756
  }), [{
22757
22757
  tag: "span",
22758
22758
  attributes: {
22759
- class: ["".concat(Q.cssPrefix, "-layers")].concat(p4(n)).join(" ")
22759
+ class: ["".concat(Y.cssPrefix, "-layers")].concat(p4(n)).join(" ")
22760
22760
  },
22761
22761
  children: s
22762
22762
  }];
@@ -22782,7 +22782,7 @@ var GZ = function(c) {
22782
22782
  extra: {
22783
22783
  attributes: o,
22784
22784
  styles: u,
22785
- classes: ["".concat(Q.cssPrefix, "-layers-counter")].concat(p4(l))
22785
+ classes: ["".concat(Y.cssPrefix, "-layers-counter")].concat(p4(l))
22786
22786
  }
22787
22787
  });
22788
22788
  });
@@ -22808,7 +22808,7 @@ var GZ = function(c) {
22808
22808
  extra: {
22809
22809
  attributes: u,
22810
22810
  styles: p,
22811
- classes: ["".concat(Q.cssPrefix, "-layers-text")].concat(p4(o))
22811
+ classes: ["".concat(Y.cssPrefix, "-layers-text")].concat(p4(o))
22812
22812
  }
22813
22813
  });
22814
22814
  });
@@ -22822,7 +22822,7 @@ var GZ = function(c) {
22822
22822
  var o = parseInt(getComputedStyle(a).fontSize, 10), m = a.getBoundingClientRect();
22823
22823
  l = m.width / o, r = m.height / o;
22824
22824
  }
22825
- return Q.autoA11y && !i && (s.attributes["aria-hidden"] = "true"), Promise.resolve([a, Rn({
22825
+ return Y.autoA11y && !i && (s.attributes["aria-hidden"] = "true"), Promise.resolve([a, Rn({
22826
22826
  content: a.innerHTML,
22827
22827
  width: l,
22828
22828
  height: r,
@@ -22910,7 +22910,7 @@ var aY = {
22910
22910
  provides: function(c) {
22911
22911
  c.pseudoElements2svg = function(a) {
22912
22912
  var t = a.node, i = t === void 0 ? L1 : t;
22913
- Q.searchPseudoElements && Yn(i);
22913
+ Y.searchPseudoElements && Yn(i);
22914
22914
  };
22915
22915
  }
22916
22916
  }, Qn = !1, tY = {
@@ -23252,7 +23252,7 @@ const uY = G({
23252
23252
  title: s.value
23253
23253
  })
23254
23254
  );
23255
- r1(
23255
+ l1(
23256
23256
  l,
23257
23257
  (o) => {
23258
23258
  if (!o)
@@ -24469,7 +24469,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24469
24469
  default: !1
24470
24470
  },
24471
24471
  customOpenMethod: {
24472
- // Rustee app requires to use its proper api dialog method
24472
+ // The Rustee app requires to use its proper api dialog method so it can access files on any device
24473
24473
  type: Array,
24474
24474
  default: null
24475
24475
  }
@@ -24479,10 +24479,10 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24479
24479
  const a = D1("i18n"), { t } = a.global, i = e, n = i1(!1), s = i1(null), l = i1([]);
24480
24480
  A1(() => {
24481
24481
  if (i.locale && p1(i.locale), i.value && (l.value = i.value), i.customOpenMethod !== null) {
24482
- const [A, y, k, w, x] = i.customOpenMethod;
24483
- s.value.onclick = async (F) => {
24484
- F.preventDefault();
24485
- const Z = await A({
24482
+ const [A, y] = i.customOpenMethod;
24483
+ s.value.onclick = async (k) => {
24484
+ k.preventDefault();
24485
+ const w = await A({
24486
24486
  multiple: !1,
24487
24487
  directory: !1,
24488
24488
  filters: [
@@ -24492,15 +24492,15 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24492
24492
  }
24493
24493
  ]
24494
24494
  });
24495
- if (Z !== null) {
24496
- const O = await y(), e1 = await k(O, Z), l1 = await w(e1);
24497
- console.log(l1);
24498
- const U = x(l1);
24499
- console.log(U);
24495
+ if (w !== null) {
24496
+ const x = await y("read_local_file_content", {
24497
+ filePath: w
24498
+ }), F = new File(JSON.parse(x), "trustee.trustee-key");
24499
+ console.log(F), l.value.push(F), console.log(l);
24500
24500
  }
24501
24501
  };
24502
24502
  }
24503
- }), r1(
24503
+ }), l1(
24504
24504
  () => i.locale,
24505
24505
  () => {
24506
24506
  i.locale && p1(i.locale);
@@ -24520,11 +24520,11 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24520
24520
  if (C.value.includes(
24521
24521
  `.${x.toLowerCase()}`
24522
24522
  )) {
24523
- const Z = new File([w], w.name, {
24523
+ const Q = new File([w], w.name, {
24524
24524
  type: w.type,
24525
24525
  lastModified: w.lastModified
24526
24526
  });
24527
- k.items.add(Z);
24527
+ k.items.add(Q);
24528
24528
  } else
24529
24529
  r("fileFormatNotAccepted", w.name);
24530
24530
  }
@@ -24695,7 +24695,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24695
24695
  };
24696
24696
  }
24697
24697
  });
24698
- const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-c46eaa69"]]), fK = (e) => (e2("data-v-065c2914"), e = e(), c2(), e), uK = ["for"], mK = ["id", "checked", "disabled"], dK = /* @__PURE__ */ fK(() => /* @__PURE__ */ f("span", { class: "AVRadio--mark" }, null, -1)), vK = /* @__PURE__ */ G({
24698
+ const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-ddb4f5e5"]]), fK = (e) => (e2("data-v-065c2914"), e = e(), c2(), e), uK = ["for"], mK = ["id", "checked", "disabled"], dK = /* @__PURE__ */ fK(() => /* @__PURE__ */ f("span", { class: "AVRadio--mark" }, null, -1)), vK = /* @__PURE__ */ G({
24699
24699
  __name: "AVRadio",
24700
24700
  props: {
24701
24701
  id: {
@@ -24726,7 +24726,7 @@ const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-c46eaa69"]]), fK = (e) =
24726
24726
  }, s = () => {
24727
24727
  t("update", a.value, i.value);
24728
24728
  };
24729
- return r1(
24729
+ return l1(
24730
24730
  () => a.checked,
24731
24731
  () => {
24732
24732
  i.value = a.checked;
@@ -25253,7 +25253,7 @@ const $K = /* @__PURE__ */ J(qK, [["__scopeId", "data-v-8513fa9b"]]), UK = ["dis
25253
25253
  emits: ["update:waiting"],
25254
25254
  setup(e, { emit: c }) {
25255
25255
  const a = c, t = e, i = i1(!1);
25256
- r1(i, (r) => a("update:waiting", r));
25256
+ l1(i, (r) => a("update:waiting", r));
25257
25257
  const n = E(() => {
25258
25258
  if (!i.value)
25259
25259
  switch (t.variant) {
@@ -25355,15 +25355,15 @@ const JK = /* @__PURE__ */ J(GK, [["__scopeId", "data-v-7439a7ec"]]), ZK = { cla
25355
25355
  }, u = () => {
25356
25356
  o("update", i.value, t.value);
25357
25357
  };
25358
- return r1(
25358
+ return l1(
25359
25359
  () => a.options,
25360
25360
  () => s()
25361
- ), r1(
25361
+ ), l1(
25362
25362
  () => a.selected,
25363
25363
  () => {
25364
25364
  i.value = a.selected, l(a.selected);
25365
25365
  }
25366
- ), r1(
25366
+ ), l1(
25367
25367
  () => a.disabled,
25368
25368
  () => r()
25369
25369
  ), (v, p) => (d(), h("div", ZK, [
@@ -25584,13 +25584,13 @@ const dX = /* @__PURE__ */ J(mX, [["__scopeId", "data-v-dbd25d5c"]]), vX = { cla
25584
25584
  }, i = (s) => c.done ? c.done.includes(s) : !1;
25585
25585
  A1(() => {
25586
25586
  t();
25587
- }), r1(
25587
+ }), l1(
25588
25588
  () => c.steps,
25589
25589
  () => t()
25590
- ), r1(
25590
+ ), l1(
25591
25591
  () => c.active,
25592
25592
  () => t()
25593
- ), r1(
25593
+ ), l1(
25594
25594
  () => c.done,
25595
25595
  () => t()
25596
25596
  );
@@ -25667,7 +25667,7 @@ const zX = /* @__PURE__ */ J(hX, [["__scopeId", "data-v-89e22cbe"]]), V$ = (e) =
25667
25667
  ), t = e;
25668
25668
  A1(() => {
25669
25669
  t.locale && p1(t.locale);
25670
- }), r1(
25670
+ }), l1(
25671
25671
  () => t.locale,
25672
25672
  () => {
25673
25673
  t.locale && p1(t.locale);
@@ -25729,7 +25729,7 @@ const AX = /* @__PURE__ */ J(LX, [["__scopeId", "data-v-59ee2583"]]), _X = { cla
25729
25729
  const a = D1("i18n"), { t } = a.global, i = e, n = c;
25730
25730
  A1(() => {
25731
25731
  i.locale && p1(i.locale);
25732
- }), r1(
25732
+ }), l1(
25733
25733
  () => i.locale,
25734
25734
  () => {
25735
25735
  i.locale && p1(i.locale);
@@ -26115,12 +26115,12 @@ const ZX = /* @__PURE__ */ J(JX, [["__scopeId", "data-v-90e59491"]]), YX = { cla
26115
26115
  }, o = () => {
26116
26116
  t("update", i.value, n.value);
26117
26117
  };
26118
- return r1(
26118
+ return l1(
26119
26119
  () => a.initialValue,
26120
26120
  () => {
26121
26121
  i.value = a.initialValue, s(a.initialValue);
26122
26122
  }
26123
- ), r1(
26123
+ ), l1(
26124
26124
  () => a.disabled,
26125
26125
  () => {
26126
26126
  l();
@@ -26456,7 +26456,7 @@ const I11 = /* @__PURE__ */ J(T11, [["__scopeId", "data-v-c682a2cf"]]), E11 = ["
26456
26456
  ), i = i1([]), n = e;
26457
26457
  A1(() => {
26458
26458
  n.parents && n.parents.map((u) => i.value.push(u)), n.locale && p1(n.locale);
26459
- }), r1(
26459
+ }), l1(
26460
26460
  () => n.locale,
26461
26461
  () => {
26462
26462
  n.locale && p1(n.locale);
@@ -26617,7 +26617,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26617
26617
  ), { eventBus: n } = M$(), s = i1(!1), l = i1(null), r = e, o = c;
26618
26618
  A1(() => {
26619
26619
  r.locale && p1(r.locale);
26620
- }), r1(
26620
+ }), l1(
26621
26621
  () => r.locale,
26622
26622
  () => {
26623
26623
  r.locale && p1(r.locale);
@@ -26660,9 +26660,9 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26660
26660
  () => r.option.children && r.option.children.length > 0
26661
26661
  ), L = E(() => r.option.selectable !== void 0 && !r.option.selectable ? 0 : y.value ? 1 : r.option.voteLimit || r.contest.markingType.votesAllowedPerOption || 1), A = E(() => r.selections.length > 0 ? F(r.option.children) : 0), y = E(() => r.option.exclusive), k = E(() => {
26662
26662
  const O = Array.from(Array(L.value).keys());
26663
- O.forEach((Y) => O[Y] = Y + 1);
26664
- const e1 = O.indexOf(Math.ceil(L.value / 2)) + 1, l1 = O.slice(0, e1), U = O.slice(e1);
26665
- return U.length ? [l1, U] : [l1];
26663
+ O.forEach((Z) => O[Z] = Z + 1);
26664
+ const e1 = O.indexOf(Math.ceil(L.value / 2)) + 1, r1 = O.slice(0, e1), U = O.slice(e1);
26665
+ return U.length ? [r1, U] : [r1];
26666
26666
  }), w = E(() => r.partialResults ? r.partialResults[r.option.reference] : null), x = (O, e1 = 1) => {
26667
26667
  o("checked", {
26668
26668
  reference: O,
@@ -26672,22 +26672,22 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26672
26672
  if (!O)
26673
26673
  return 0;
26674
26674
  let e1 = O.filter(
26675
- (l1) => r.selections.map((U) => U.reference).includes(l1.reference)
26675
+ (r1) => r.selections.map((U) => U.reference).includes(r1.reference)
26676
26676
  ).length;
26677
- return O.reduce((l1, U) => l1 + F(U.children), e1);
26678
- }, Z = (O) => {
26677
+ return O.reduce((r1, U) => r1 + F(U.children), e1);
26678
+ }, Q = (O) => {
26679
26679
  s.value = !1, O === r.option.reference && (o("accordion-open"), is(() => {
26680
26680
  s.value = !0, l.value.scrollIntoView({ behavior: "smooth", block: "center" });
26681
26681
  }));
26682
26682
  };
26683
- return r1(
26683
+ return l1(
26684
26684
  () => n.value.get("highlight-option"),
26685
26685
  (O) => {
26686
26686
  const [e1] = O ?? [];
26687
- Z(e1);
26687
+ Q(e1);
26688
26688
  }
26689
26689
  ), (O, e1) => {
26690
- const l1 = D("AVIcon"), U = D("AVOptionCheckbox"), Y = D("AVOption", !0), m1 = D("AVCollapser");
26690
+ const r1 = D("AVIcon"), U = D("AVOptionCheckbox"), Z = D("AVOption", !0), m1 = D("AVCollapser");
26691
26691
  return d(), h("div", {
26692
26692
  class: $({
26693
26693
  "AVOption--background": !0,
@@ -26761,7 +26761,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26761
26761
  class: "AVOption--expander-container",
26762
26762
  "aria-hidden": "true"
26763
26763
  }, [
26764
- T(l1, {
26764
+ T(r1, {
26765
26765
  icon: P1 ? "chevron-down" : m.value ? "chevron-left" : "chevron-right",
26766
26766
  class: "AVOption--expander-icon"
26767
26767
  }, null, 8, ["icon"]),
@@ -26811,7 +26811,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26811
26811
  ]))), 128))
26812
26812
  ], 6)) : I("", !0),
26813
26813
  w.value && (e.observerMode || e.disabled) ? (d(), h("div", i21, [
26814
- T(l1, {
26814
+ T(r1, {
26815
26815
  icon: "user",
26816
26816
  class: "AVOption--realtime-results-icon"
26817
26817
  }),
@@ -26826,7 +26826,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26826
26826
  ]),
26827
26827
  pane: s1(({ toggleCollapse: P1 }) => [
26828
26828
  z.value ? (d(), h("div", r21, [
26829
- (d(!0), h(a1, null, g1(e.option.children, (q1) => (d(), K(Y, {
26829
+ (d(!0), h(a1, null, g1(e.option.children, (q1) => (d(), K(Z, {
26830
26830
  key: q1.reference,
26831
26831
  option: q1,
26832
26832
  selections: e.selections,
@@ -26848,7 +26848,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26848
26848
  name: "results",
26849
26849
  fn: s1(() => [
26850
26850
  f("div", s21, [
26851
- T(l1, {
26851
+ T(r1, {
26852
26852
  icon: "user",
26853
26853
  class: "AVOption--realtime-results-icon"
26854
26854
  }),
@@ -26916,7 +26916,7 @@ const f21 = /* @__PURE__ */ J(o21, [["__scopeId", "data-v-785ef04b"]]), g$ = (e)
26916
26916
  const c = D1("i18n"), { t: a } = c.global, t = e;
26917
26917
  A1(() => {
26918
26918
  t.locale && p1(t.locale);
26919
- }), r1(
26919
+ }), l1(
26920
26920
  () => t.locale,
26921
26921
  () => {
26922
26922
  t.locale && p1(t.locale);
@@ -27026,7 +27026,7 @@ const H21 = /* @__PURE__ */ J(M21, [["__scopeId", "data-v-ee117d09"]]), g21 = ["
27026
27026
  const a = D1("i18n"), { t } = a.global, i = e, n = c;
27027
27027
  A1(() => {
27028
27028
  i.locale && p1(i.locale);
27029
- }), r1(
27029
+ }), l1(
27030
27030
  () => i.locale,
27031
27031
  () => {
27032
27032
  i.locale && p1(i.locale);
@@ -27126,7 +27126,7 @@ const S21 = /* @__PURE__ */ J(k21, [["__scopeId", "data-v-f2bba574"]]), w21 = (e
27126
27126
  ), i = e;
27127
27127
  A1(() => {
27128
27128
  i.locale && p1(i.locale);
27129
- }), r1(
27129
+ }), l1(
27130
27130
  () => i.locale,
27131
27131
  () => {
27132
27132
  i.locale && p1(i.locale);
@@ -27219,7 +27219,7 @@ const W21 = ["aria-label"], G21 = { class: "AVSearchBallot--form-group" }, J21 =
27219
27219
  ), { eventBusEmit: i } = M$(), n = e;
27220
27220
  A1(() => {
27221
27221
  n.locale && p1(n.locale);
27222
- }), r1(
27222
+ }), l1(
27223
27223
  () => n.locale,
27224
27224
  () => {
27225
27225
  n.locale && p1(n.locale);
@@ -27319,7 +27319,7 @@ const n31 = /* @__PURE__ */ J(i31, [["__scopeId", "data-v-727c3aa7"]]), s31 = {
27319
27319
  const c = D1("i18n"), { t: a } = c.global, t = e;
27320
27320
  return A1(() => {
27321
27321
  t.locale && p1(t.locale);
27322
- }), r1(
27322
+ }), l1(
27323
27323
  () => t.locale,
27324
27324
  () => {
27325
27325
  t.locale && p1(t.locale);
@@ -27391,7 +27391,7 @@ const u31 = /* @__PURE__ */ J(f31, [["__scopeId", "data-v-f145cdd2"]]), m31 = {
27391
27391
  const c = D1("i18n"), { t: a } = c.global, t = e;
27392
27392
  return A1(() => {
27393
27393
  t.locale && p1(t.locale);
27394
- }), r1(
27394
+ }), l1(
27395
27395
  () => t.locale,
27396
27396
  () => {
27397
27397
  t.locale && p1(t.locale);
@@ -27511,7 +27511,7 @@ const P31 = /* @__PURE__ */ J(w31, [["render", D31], ["__scopeId", "data-v-1923e
27511
27511
  emits: ["clickOutside"],
27512
27512
  setup(e, { emit: c }) {
27513
27513
  const a = c, t = e;
27514
- return r1(
27514
+ return l1(
27515
27515
  () => t.modalActive,
27516
27516
  () => {
27517
27517
  t.modalActive && (document.body.style.overflowY = "hidden"), t.modalActive || (document.body.style.overflowY = "scroll");
@@ -27736,7 +27736,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27736
27736
  ), n = e, s = c;
27737
27737
  A1(() => {
27738
27738
  n.locale && p1(n.locale);
27739
- }), r1(
27739
+ }), l1(
27740
27740
  () => n.locale,
27741
27741
  () => {
27742
27742
  n.locale && p1(n.locale);
@@ -27751,20 +27751,20 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27751
27751
  return (F = n.contest.customRulesets) != null && F.includes("belgian_ballot_rules") && x.push(new $31(n.contest)), x;
27752
27752
  }), C = E(() => {
27753
27753
  let x = [];
27754
- H.value.forEach((Z) => {
27755
- x.push(...Z.validate(n.selectionPile));
27754
+ H.value.forEach((Q) => {
27755
+ x.push(...Q.validate(n.selectionPile));
27756
27756
  });
27757
27757
  const F = [
27758
27758
  ...v.value.validate(n.selectionPile, n.includeLazyErrors),
27759
27759
  ...x
27760
27760
  ];
27761
- if (g.value && F.some((Z) => Z.message === "cross_party_voting")) {
27762
- let Z;
27763
- F.some((O) => O.message === "exclusive") && (Z = F.findIndex(
27761
+ if (g.value && F.some((Q) => Q.message === "cross_party_voting")) {
27762
+ let Q;
27763
+ F.some((O) => O.message === "exclusive") && (Q = F.findIndex(
27764
27764
  (O) => O.message === "exclusive"
27765
- ), F.splice(Z, 1)), F.some((O) => O.message === "blank") && (Z = F.findIndex(
27765
+ ), F.splice(Q, 1)), F.some((O) => O.message === "blank") && (Q = F.findIndex(
27766
27766
  (O) => O.message === "cross_party_voting"
27767
- ), F.splice(Z, 1));
27767
+ ), F.splice(Q, 1));
27768
27768
  }
27769
27769
  return s("update:errors", F), F;
27770
27770
  }), b = E(() => C.value.length === 0), _ = E(() => {
@@ -27778,9 +27778,9 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27778
27778
  ), z = E(() => w(n.contest.options).some(
27779
27779
  (x) => x.exclusive
27780
27780
  )), L = E(() => n.contest);
27781
- r1(L, (x, F) => {
27782
- var Z;
27783
- F && x && x.reference !== F.reference && ((Z = document.getElementById("content")) == null || Z.focus(), F.searchForm && (m.value.value = ""));
27781
+ l1(L, (x, F) => {
27782
+ var Q;
27783
+ F && x && x.reference !== F.reference && ((Q = document.getElementById("content")) == null || Q.focus(), F.searchForm && (m.value.value = ""));
27784
27784
  });
27785
27785
  const A = () => {
27786
27786
  s("update:selectionPile", {
@@ -27788,10 +27788,10 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27788
27788
  explicitBlank: !n.selectionPile.explicitBlank
27789
27789
  });
27790
27790
  }, y = ({ reference: x, amount: F }) => {
27791
- const Z = u.value.filter(
27791
+ const Q = u.value.filter(
27792
27792
  (e1) => e1.reference === x
27793
27793
  ).length;
27794
- F === Z && (F = F - 1);
27794
+ F === Q && (F = F - 1);
27795
27795
  const O = u.value.filter(
27796
27796
  (e1) => e1.reference !== x
27797
27797
  );
@@ -27801,9 +27801,9 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27801
27801
  ...n.selectionPile,
27802
27802
  optionSelections: O
27803
27803
  });
27804
- }, k = (x) => s("view-candidate", x), w = (x, F) => x.flatMap((Z) => (F && (Z.parentContent = F), Z.children ? [Z, ...w(Z.children, Z)] : [Z]));
27804
+ }, k = (x) => s("view-candidate", x), w = (x, F) => x.flatMap((Q) => (F && (Q.parentContent = F), Q.children ? [Q, ...w(Q.children, Q)] : [Q]));
27805
27805
  return (x, F) => {
27806
- const Z = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"), l1 = D("AVBlankOption"), U = D("AVSubmissionHelper");
27806
+ const Q = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"), r1 = D("AVBlankOption"), U = D("AVSubmissionHelper");
27807
27807
  return d(), h("div", {
27808
27808
  class: $({
27809
27809
  AVBallot: !0,
@@ -27818,7 +27818,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27818
27818
  class: "AVBallot--question",
27819
27819
  "aria-live": "polite"
27820
27820
  }, N(_.value), 9, G31)) : I("", !0),
27821
- e.contest.searchForm && !e.disabled && !e.observerMode ? (d(), K(Z, {
27821
+ e.contest.searchForm && !e.disabled && !e.observerMode ? (d(), K(Q, {
27822
27822
  key: 1,
27823
27823
  ref_key: "search",
27824
27824
  ref: m,
@@ -27831,15 +27831,15 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27831
27831
  class: $({
27832
27832
  "AVBallot--options": !0,
27833
27833
  "AVBallot--options-with-list": e.contest.options.some(
27834
- (Y) => Y.children
27834
+ (Z) => Z.children
27835
27835
  )
27836
27836
  }),
27837
27837
  "aria-label": B(t)("js.components.AVBallot.aria_labels.ballot_options")
27838
27838
  }, [
27839
- (d(!0), h(a1, null, g1(e.contest.options, (Y) => (d(), h(a1, {
27840
- key: Y.reference
27839
+ (d(!0), h(a1, null, g1(e.contest.options, (Z) => (d(), h(a1, {
27840
+ key: Z.reference
27841
27841
  }, [
27842
- Y.writeIn ? (d(), K(O, {
27842
+ Z.writeIn ? (d(), K(O, {
27843
27843
  key: 0,
27844
27844
  "candidate-value": o.value,
27845
27845
  "onUpdate:candidateValue": F[0] || (F[0] = (m1) => o.value = m1),
@@ -27853,9 +27853,9 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27853
27853
  }, null, 8, ["candidate-value", "party-value", "checked-value", "disabled", "observerMode"])) : (d(), K(e1, {
27854
27854
  key: 1,
27855
27855
  selections: u.value,
27856
- option: Y,
27856
+ option: Z,
27857
27857
  invalid: !b.value,
27858
- "exclusive-error": !g.value && Y.exclusive && C.value.some((m1) => m1.message.includes("exclusive")),
27858
+ "exclusive-error": !g.value && Z.exclusive && C.value.some((m1) => m1.message.includes("exclusive")),
27859
27859
  contest: e.contest,
27860
27860
  disabled: e.disabled,
27861
27861
  observerMode: e.observerMode,
@@ -27865,10 +27865,10 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27865
27865
  onViewCandidate: k
27866
27866
  }, null, 8, ["selections", "option", "invalid", "exclusive-error", "contest", "disabled", "observerMode", "partial-results", "image-option"]))
27867
27867
  ], 64))), 128)),
27868
- e.contest.markingType.blankSubmission === "active_choice" ? (d(), K(l1, {
27868
+ e.contest.markingType.blankSubmission === "active_choice" ? (d(), K(r1, {
27869
27869
  key: 0,
27870
27870
  checked: e.selectionPile.explicitBlank,
27871
- error: !g.value && C.value.some((Y) => Y.message.includes("blank")),
27871
+ error: !g.value && C.value.some((Z) => Z.message.includes("blank")),
27872
27872
  disabled: e.disabled,
27873
27873
  invalid: !b.value,
27874
27874
  observerMode: e.observerMode,
@@ -27954,7 +27954,7 @@ const Q31 = /* @__PURE__ */ J(Y31, [["__scopeId", "data-v-21030ff1"]]), K31 = (e
27954
27954
  ), n = c, s = e;
27955
27955
  A1(() => {
27956
27956
  s.locale && p1(s.locale);
27957
- }), r1(
27957
+ }), l1(
27958
27958
  () => s.locale,
27959
27959
  () => {
27960
27960
  s.locale && p1(s.locale);
@@ -28174,11 +28174,11 @@ const V41 = {
28174
28174
  "view-candidate"
28175
28175
  ],
28176
28176
  setup(e, { emit: c }) {
28177
- var l1;
28177
+ var r1;
28178
28178
  const a = D1("i18n"), { t } = a.global, i = E(
28179
28179
  () => a.global.locale.value || a.global.locale
28180
28180
  ), n = e, s = c;
28181
- r1(
28181
+ l1(
28182
28182
  () => n.locale,
28183
28183
  () => {
28184
28184
  n.locale && p1(n.locale);
@@ -28192,11 +28192,11 @@ const V41 = {
28192
28192
  explicitBlank: !1
28193
28193
  }
28194
28194
  ), o = i1(
28195
- ((l1 = n.contestSelection.piles) == null ? void 0 : l1.length) === 0 || n.contest.markingType.maxPiles === 1 ? "ballot" : "overview"
28195
+ ((r1 = n.contestSelection.piles) == null ? void 0 : r1.length) === 0 || n.contest.markingType.maxPiles === 1 ? "ballot" : "overview"
28196
28196
  ), m = i1([]), u = E(() => n.contestSelection.piles), v = E(
28197
28197
  () => {
28198
28198
  var U;
28199
- return (U = u.value) == null ? void 0 : U.reduce((Y, m1) => Y - m1.multiplier, n.weight);
28199
+ return (U = u.value) == null ? void 0 : U.reduce((Z, m1) => Z - m1.multiplier, n.weight);
28200
28200
  }
28201
28201
  ), p = E(
28202
28202
  () => new C$(n.contest)
@@ -28210,13 +28210,13 @@ const V41 = {
28210
28210
  )), b = E(
28211
28211
  () => {
28212
28212
  var U;
28213
- return (U = u.value) == null ? void 0 : U.reduce((Y, m1) => Y + m1.multiplier, 0);
28213
+ return (U = u.value) == null ? void 0 : U.reduce((Z, m1) => Z + m1.multiplier, 0);
28214
28214
  }
28215
28215
  ), _ = E(() => {
28216
28216
  var U;
28217
28217
  return (U = r.value) == null ? void 0 : U.multiplier;
28218
28218
  }), g = E(
28219
- () => u.value.filter((U, Y) => Y !== l.value).reduce((U, Y) => U - Y.multiplier, n.weight)
28219
+ () => u.value.filter((U, Z) => Z !== l.value).reduce((U, Z) => U - Z.multiplier, n.weight)
28220
28220
  ), z = E(
28221
28221
  () => n.contest.markingType.maxPiles !== 1 && n.weight > 1
28222
28222
  ), L = E(() => l.value !== null), A = (U) => p.value.isComplete(U), y = (U) => p.value.validate(U, n.includeLazyErrors).length > 0, k = () => {
@@ -28243,21 +28243,21 @@ const V41 = {
28243
28243
  }, l.value = null, o.value = "ballot";
28244
28244
  }, F = (U) => {
28245
28245
  u.value.splice(U, 1);
28246
- }, Z = (U) => {
28246
+ }, Q = (U) => {
28247
28247
  r.value = { ...u.value[U] }, l.value = U, o.value = "ballot";
28248
28248
  }, O = (U) => {
28249
28249
  m.value = U;
28250
28250
  }, e1 = (U) => s("view-candidate", U);
28251
- return r1(C, (U) => s("update:complete", U)), r1(_, () => {
28251
+ return l1(C, (U) => s("update:complete", U)), l1(_, () => {
28252
28252
  r.value && (r.value.multiplier = Math.max(
28253
28253
  0,
28254
28254
  Math.min(_.value, g.value)
28255
28255
  ));
28256
- }), r1(r, (U) => {
28256
+ }), l1(r, (U) => {
28257
28257
  s("update:activePile", U);
28258
- }), r1(o, (U) => s("update:activeState", U)), A1(() => {
28258
+ }), l1(o, (U) => s("update:activeState", U)), A1(() => {
28259
28259
  n.locale && p1(n.locale), s("update:activePile", r.value), s("update:activeState", o.value), s("update:complete", C.value), z.value || k();
28260
- }), (U, Y) => {
28260
+ }), (U, Z) => {
28261
28261
  var I1;
28262
28262
  const m1 = D("AVSplitWizardHeader"), P1 = D("AVBallot"), q1 = D("AVPileSummary"), O1 = D("AVSplitWeightHelper"), J1 = D("AVIcon");
28263
28263
  return d(), h(a1, null, [
@@ -28293,14 +28293,14 @@ const V41 = {
28293
28293
  "show-submission-helper": e.showSubmissionHelper,
28294
28294
  "image-option": e.imageOption,
28295
28295
  "onUpdate:selectionPile": w,
28296
- "onUpdate:errors": Y[0] || (Y[0] = (F1) => O(F1))
28296
+ "onUpdate:errors": Z[0] || (Z[0] = (F1) => O(F1))
28297
28297
  }, null, 8, ["selection-pile", "partial-results", "contest", "weight", "includeLazyErrors", "show-submission-helper", "image-option"]),
28298
28298
  f("div", H41, [
28299
28299
  f("div", g41, [
28300
28300
  u.value.length > 0 ? (d(), h("button", {
28301
28301
  key: "back",
28302
28302
  class: "AVSplitHelper--btn-secondary",
28303
- onClick: Y[1] || (Y[1] = (F1) => o.value = "overview")
28303
+ onClick: Z[1] || (Z[1] = (F1) => o.value = "overview")
28304
28304
  }, N(B(t)("js.components.AVSplitHelper.ballot.back_button")), 1)) : I("", !0)
28305
28305
  ]),
28306
28306
  f("div", C41, [
@@ -28308,7 +28308,7 @@ const V41 = {
28308
28308
  key: "assign",
28309
28309
  class: "AVSplitHelper--btn-primary",
28310
28310
  disabled: !A(r.value) || y(r.value),
28311
- onClick: Y[2] || (Y[2] = (F1) => o.value = "assign")
28311
+ onClick: Z[2] || (Z[2] = (F1) => o.value = "assign")
28312
28312
  }, N(B(t)("js.components.AVSplitHelper.ballot.confirm_button")), 9, b41)
28313
28313
  ])
28314
28314
  ])
@@ -28324,7 +28324,7 @@ const V41 = {
28324
28324
  "is-editing": L.value,
28325
28325
  "total-piles": e.contestSelection.piles.length,
28326
28326
  "image-option": e.imageOption,
28327
- onEditCurrentSelection: Y[3] || (Y[3] = (F1) => o.value = "ballot")
28327
+ onEditCurrentSelection: Z[3] || (Z[3] = (F1) => o.value = "ballot")
28328
28328
  }, null, 8, ["selection-pile", "contest", "pile-index", "active-state", "is-editing", "total-piles", "image-option"]),
28329
28329
  f("label", {
28330
28330
  for: `${e.contest.reference}-ballot-selector`,
@@ -28334,7 +28334,7 @@ const V41 = {
28334
28334
  ) : B(t)("js.components.AVSplitHelper.assign.ballots_to_assign")), 9, x41),
28335
28335
  G1(f("input", {
28336
28336
  id: `${e.contest.reference}-ballot-selector`,
28337
- "onUpdate:modelValue": Y[4] || (Y[4] = (F1) => r.value.multiplier = F1),
28337
+ "onUpdate:modelValue": Z[4] || (Z[4] = (F1) => r.value.multiplier = F1),
28338
28338
  class: "AVSplitHelper--assign-input",
28339
28339
  type: "number",
28340
28340
  max: g.value
@@ -28352,7 +28352,7 @@ const V41 = {
28352
28352
  f("button", {
28353
28353
  key: "ballot",
28354
28354
  class: "AVSplitHelper--btn-secondary",
28355
- onClick: Y[5] || (Y[5] = (F1) => o.value = "ballot")
28355
+ onClick: Z[5] || (Z[5] = (F1) => o.value = "ballot")
28356
28356
  }, N(B(t)("js.components.AVSplitHelper.assign.back_button")), 1)
28357
28357
  ]),
28358
28358
  f("div", S41, [
@@ -28360,7 +28360,7 @@ const V41 = {
28360
28360
  key: "confirm",
28361
28361
  class: "AVSplitHelper--btn-primary",
28362
28362
  disabled: ((z2 = r.value) == null ? void 0 : z2.multiplier) < 1 || ((A2 = r.value) == null ? void 0 : A2.multiplier) > g.value,
28363
- onClick: Y[6] || (Y[6] = (F1) => k())
28363
+ onClick: Z[6] || (Z[6] = (F1) => k())
28364
28364
  }, N(B(t)("js.components.AVSplitHelper.assign.confirm_button")), 9, w41)
28365
28365
  ])
28366
28366
  ])
@@ -28388,7 +28388,7 @@ const V41 = {
28388
28388
  ])),
28389
28389
  (d(!0), h(a1, null, g1(u.value, (F1, o2) => (d(), h("article", {
28390
28390
  key: `preview-${o2}`,
28391
- onClick: (t3) => Z(o2)
28391
+ onClick: (t3) => Q(o2)
28392
28392
  }, [
28393
28393
  T(q1, {
28394
28394
  "selection-pile": F1,
@@ -28417,7 +28417,7 @@ const V41 = {
28417
28417
  "image-option": e.imageOption,
28418
28418
  "show-submission-helper": e.showSubmissionHelper,
28419
28419
  "onUpdate:selectionPile": w,
28420
- "onUpdate:errors": Y[7] || (Y[7] = (a2) => O(a2)),
28420
+ "onUpdate:errors": Z[7] || (Z[7] = (a2) => O(a2)),
28421
28421
  onViewCandidate: e1
28422
28422
  }, null, 8, ["selection-pile", "partial-results", "includeLazyErrors", "contest", "weight", "image-option", "show-submission-helper"]))
28423
28423
  ], 64);
@@ -28510,7 +28510,7 @@ const F41 = /* @__PURE__ */ J(B41, [["__scopeId", "data-v-1c359a5f"]]), R41 = "d
28510
28510
  );
28511
28511
  return A1(() => {
28512
28512
  u.locale && p1(u.locale);
28513
- }), r1(
28513
+ }), l1(
28514
28514
  () => u.locale,
28515
28515
  () => {
28516
28516
  u.locale && p1(u.locale);