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

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
@@ -355,7 +355,7 @@ function lU(e, c = {}) {
355
355
  const M = V.currentPeek() === "|";
356
356
  return V.resetPeek(), M;
357
357
  }
358
- function Q(V) {
358
+ function Z(V) {
359
359
  const M = C(V), P = V.currentPeek() === "%" && V.peek() === "{";
360
360
  return V.resetPeek(), {
361
361
  isModulo: P,
@@ -384,7 +384,7 @@ function lU(e, c = {}) {
384
384
  function U(V) {
385
385
  return e1(V, l1);
386
386
  }
387
- function Z(V) {
387
+ function Y(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, Z);
397
+ return e1(V, Y);
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 } = Q(V);
624
+ const { isModulo: _1, hasSpace: M1 } = Z(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(), Q = L.currentType === 1 ? L.lastEndLoc : z.currentPosition();
780
- return l(k, F, Q), k;
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;
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(), Q = 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(), Z = 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: Q
1622
+ __meta: Z
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, Q), 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, Z), 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), Q = fW(e, w, F), O = t ? t(Q, r) : Q;
1799
+ const x = dW(e, g, z, o), F = FU(x), Z = fW(e, w, F), O = t ? t(Z, r) : Z;
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 Q() {
2451
+ function Z() {
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), Z = /* @__PURE__ */ E(() => p.value);
2470
+ }), l1 = E(() => u.value), U = /* @__PURE__ */ E(() => v.value), Y = /* @__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
- Q();
2487
+ Z();
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);
@@ -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 = 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) => {
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) => {
2721
2721
  x.__v_emitter = S;
2722
2722
  }, h1[F3] = () => {
2723
2723
  x.__v_emitter = void 0;
@@ -3684,7 +3684,7 @@ 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), Q = E(() => u.value);
3687
+ }), x = E(() => n.value ? n.value.messages.value : o.value), F = E(() => m.value), Z = E(() => u.value);
3688
3688
  function O() {
3689
3689
  return n.value ? n.value.getPostTranslationHandler() : _;
3690
3690
  }
@@ -3697,20 +3697,20 @@ function sG(e, c, a, t = {}) {
3697
3697
  function U(j) {
3698
3698
  n.value && n.value.setMissingHandler(j);
3699
3699
  }
3700
- function Z(j) {
3700
+ function Y(j) {
3701
3701
  return y(), j();
3702
3702
  }
3703
3703
  function m1(...j) {
3704
- return n.value ? Z(() => Reflect.apply(n.value.t, null, [...j])) : Z(() => "");
3704
+ return n.value ? Y(() => Reflect.apply(n.value.t, null, [...j])) : Y(() => "");
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 ? Z(() => Reflect.apply(n.value.d, null, [...j])) : Z(() => "");
3710
+ return n.value ? Y(() => Reflect.apply(n.value.d, null, [...j])) : Y(() => "");
3711
3711
  }
3712
3712
  function O1(...j) {
3713
- return n.value ? Z(() => Reflect.apply(n.value.n, null, [...j])) : Z(() => "");
3713
+ return n.value ? Y(() => Reflect.apply(n.value.n, null, [...j])) : Y(() => "");
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: Q,
3756
+ numberFormats: Z,
3757
3757
  get inheritLocale() {
3758
3758
  return n.value ? n.value.inheritLocale : s;
3759
3759
  },
@@ -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), Q = G2(u[g], x), O = F, e1 = k - C[H] - Q, l1 = k / 2 - C[H] / 2 + w, U = x8(O, l1, e1), Z = !r.arrow && s2(i) != null && l1 !== U && n.reference[H] / 2 - (l1 < O ? F : Q) - C[H] / 2 < 0, m1 = Z ? 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), 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;
18641
18641
  return {
18642
18642
  [p]: v[p] + m1,
18643
18643
  data: {
18644
18644
  [p]: U,
18645
18645
  centerOffset: l1 - U - m1,
18646
- ...Z && {
18646
+ ...Y && {
18647
18647
  alignmentOffset: m1
18648
18648
  }
18649
18649
  },
18650
- reset: Z
18650
+ reset: Y
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 Q = s2(F.placement);
18701
- return [F.placement, Q && m ? (
18700
+ const Z = s2(F.placement);
18701
+ return [F.placement, Z && 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, Q) => F[1] - Q[1]), x = ((i = k.filter((F) => F[2].slice(
18708
+ }).sort((F, Z) => F[1] - Z[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((Q) => Q <= 0))[0]) == null ? void 0 : i[0]) || k[0][0];
18713
+ ).every((Z) => Z <= 0))[0]) == null ? void 0 : i[0]) || k[0][0];
18714
18714
  return x !== l ? {
18715
18715
  data: {
18716
18716
  index: _ + 1,
@@ -18770,12 +18770,12 @@ 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, Z) => U.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : F.placement;
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
18774
  if (!l1)
18775
18775
  switch (p) {
18776
18776
  case "bestFit": {
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];
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
18779
  U && (l1 = U);
18780
18780
  break;
18781
18781
  }
@@ -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), 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));
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));
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 Y = {};
20948
+ var Q = {};
20949
20949
  Object.keys(c$).forEach(function(e) {
20950
- Object.defineProperty(Y, e, {
20950
+ Object.defineProperty(Q, e, {
20951
20951
  enumerable: !0,
20952
20952
  set: function(a) {
20953
20953
  h3[e] = a, P3.forEach(function(t) {
20954
- return t(Y);
20954
+ return t(Q);
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(Y, "familyPrefix", {
20962
+ Object.defineProperty(Q, "familyPrefix", {
20963
20963
  enumerable: !0,
20964
20964
  set: function(c) {
20965
20965
  h3.cssPrefix = c, P3.forEach(function(a) {
20966
- return a(Y);
20966
+ return a(Q);
20967
20967
  });
20968
20968
  },
20969
20969
  get: function() {
20970
20970
  return h3.cssPrefix;
20971
20971
  }
20972
20972
  });
20973
- D2.FontAwesomeConfig = Y;
20973
+ D2.FontAwesomeConfig = Q;
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 = Y.cssPrefix, t = Y.replacementClass, i = sZ;
21807
+ var e = Yq, c = Qq, a = Q.cssPrefix, t = Q.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
- Y.autoAddCss && !Dn && (cZ(t$()), Dn = !0);
21816
+ Q.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 || Y.autoFetchSvg, t = d8(dZ, function(i, n) {
21942
+ var a = "far" in o3 || Q.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(Y.styleDefault, {
21956
- family: Y.familyDefault
21955
+ l$ = t.names, r$ = t.unicodes, hi = e8(Q.styleDefault, {
21956
+ family: Q.familyDefault
21957
21957
  });
21958
21958
  };
21959
21959
  eZ(function(e) {
21960
21960
  hi = e8(e.styleDefault, {
21961
- family: Y.familyDefault
21961
+ family: Q.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(Y.cssPrefix, "-").concat(b1)), T1(c, N1, "".concat(Y.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(Q.cssPrefix, "-").concat(b1)), T1(c, N1, "".concat(Q.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(Y.cssPrefix, m);
22013
+ var u = zZ(Q.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 !== Y.replacementClass && m !== n[b1] && m !== n[N1] && o.rest.push(m), !i && o.prefix && o.iconName) {
22016
+ })) : u ? o.iconName = u : m !== Q.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 && !Y.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 && !Q.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 || Y.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 || Q.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
- Y.autoReplaceSvg = !1, Y.observeMutations = !1, c3("noAuto");
22106
+ Q.autoReplaceSvg = !1, Q.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
- Y.autoReplaceSvg === !1 && (Y.autoReplaceSvg = !0), Y.observeMutations = !0, oZ(function() {
22114
+ Q.autoReplaceSvg === !1 && (Q.autoReplaceSvg = !0), Q.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(Y.cssPrefix, "-")) > -1 || c.match(UJ))) {
22136
+ if (typeof c == "string" && (c.indexOf("".concat(Q.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: Y,
22155
+ config: Q,
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 || Y.autoFetchSvg) && L2 && Y.autoReplaceSvg && Q1.dom.i2svg({
22163
+ (Object.keys(n2.styles).length > 0 || Q.autoFetchSvg) && L2 && Q.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(Y.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(Q.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 = [Y.replacementClass, n ? "".concat(Y.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 = [Q.replacementClass, n ? "".concat(Q.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(Y.cssPrefix, "-").concat(J2.GROUP)
22316
+ class: "".concat(Q.cssPrefix, "-").concat(J2.GROUP)
22317
22317
  },
22318
22318
  children: [{
22319
22319
  tag: "path",
22320
22320
  attributes: {
22321
- class: "".concat(Y.cssPrefix, "-").concat(J2.SECONDARY),
22321
+ class: "".concat(Q.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(Y.cssPrefix, "-").concat(J2.PRIMARY),
22328
+ class: "".concat(Q.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 && !Y.showMissingIcons && e && console.error('Icon with name "'.concat(e, '" and prefix "').concat(c, '" is missing.'));
22352
+ !Kq && !Q.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" && Y.styleDefault !== null && (c = P2()), new Promise(function(t, i) {
22356
+ return c === "fa" && Q.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: Y.showMissingIcons && e ? b2("missingIconAbstract") || {} : {}
22366
+ icon: Q.showMissingIcons && e ? b2("missingIconAbstract") || {} : {}
22367
22367
  }));
22368
22368
  });
22369
22369
  }
22370
22370
  var jn = function() {
22371
- }, R8 = Y.measurePerformance && C4 && C4.mark && C4.measure ? C4 : {
22371
+ }, R8 = Q.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(Y.replacementClass);
22394
+ return e && e.classList && e.classList.contains && e.classList.contains(Q.replacementClass);
22395
22395
  }
22396
22396
  function EZ() {
22397
- if (Y.autoReplaceSvg === !0)
22397
+ if (Q.autoReplaceSvg === !0)
22398
22398
  return I4.replace;
22399
- var e = I4[Y.autoReplaceSvg];
22399
+ var e = I4[Q.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 && Y.keepOriginalSource) {
22433
+ }), a.getAttribute(e3) === null && Q.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(Y.replacementClass))
22441
+ if (~vi(a).indexOf(Q.replacementClass))
22442
22442
  return I4.replace(c);
22443
- var i = new RegExp("".concat(Y.cssPrefix, "-.*"));
22443
+ var i = new RegExp("".concat(Q.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 === Y.replacementClass || r.match(i) ? l.toSvg.push(r) : l.toNode.push(r), l;
22446
+ return r === Q.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
- Y.mutateApproach === jJ && (t = D2.requestAnimationFrame || $n), t(function() {
22469
+ Q.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 && Y.observeMutations) {
22484
+ if (In && Q.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]) && (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))
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))
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 && Y.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 && Q.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 Y.autoA11y && (a ? c["aria-labelledby"] = "".concat(Y.replacementClass, "-title-").concat(t || Q3()) : (c["aria-hidden"] = "true", c.focusable = "false")), c;
22524
+ return Q.autoA11y && (a ? c["aria-labelledby"] = "".concat(Q.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 = Y.autoReplaceSvg === "nest" ? Wn(e, {
22573
+ var c = Q.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 = Y.autoFetchSvg ? O2 : di.map(function(m) {
22593
+ }, n = Q.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
- }), Y.autoA11y && (v ? g["aria-labelledby"] = "".concat(Y.replacementClass, "-title-").concat(H || Q3()) : (g["aria-hidden"] = "true", g.focusable = "false")), Mi({
22654
+ }), Q.autoA11y && (v ? g["aria-labelledby"] = "".concat(Q.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(Y.cssPrefix, "-layers")].concat(p4(n)).join(" ")
22759
+ class: ["".concat(Q.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(Y.cssPrefix, "-layers-counter")].concat(p4(l))
22785
+ classes: ["".concat(Q.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(Y.cssPrefix, "-layers-text")].concat(p4(o))
22811
+ classes: ["".concat(Q.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 Y.autoA11y && !i && (s.attributes["aria-hidden"] = "true"), Promise.resolve([a, Rn({
22825
+ return Q.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
- Y.searchPseudoElements && Yn(i);
22913
+ Q.searchPseudoElements && Yn(i);
22914
22914
  };
22915
22915
  }
22916
22916
  }, Qn = !1, tY = {
@@ -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] = i.customOpenMethod;
24483
- s.value.onclick = async (x) => {
24484
- x.preventDefault();
24485
- const F = await A({
24482
+ const [A, y, k, w, x] = i.customOpenMethod;
24483
+ s.value.onclick = async (F) => {
24484
+ F.preventDefault();
24485
+ const Z = await A({
24486
24486
  multiple: !1,
24487
24487
  directory: !1,
24488
24488
  filters: [
@@ -24492,12 +24492,10 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24492
24492
  }
24493
24493
  ]
24494
24494
  });
24495
- if (F !== null) {
24496
- const Q = await y(), O = await k(Q, F), e1 = await w(O);
24497
- console.log(e1);
24498
- const l1 = new Blob(e1);
24495
+ if (Z !== null) {
24496
+ const O = await y(), e1 = await k(O, Z), l1 = await w(e1);
24499
24497
  console.log(l1);
24500
- const U = new File([l1], "trustee.trustee-key");
24498
+ const U = x(l1);
24501
24499
  console.log(U);
24502
24500
  }
24503
24501
  };
@@ -24522,11 +24520,11 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24522
24520
  if (C.value.includes(
24523
24521
  `.${x.toLowerCase()}`
24524
24522
  )) {
24525
- const Q = new File([w], w.name, {
24523
+ const Z = new File([w], w.name, {
24526
24524
  type: w.type,
24527
24525
  lastModified: w.lastModified
24528
24526
  });
24529
- k.items.add(Q);
24527
+ k.items.add(Z);
24530
24528
  } else
24531
24529
  r("fileFormatNotAccepted", w.name);
24532
24530
  }
@@ -24697,7 +24695,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24697
24695
  };
24698
24696
  }
24699
24697
  });
24700
- const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-3e298f5b"]]), 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-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({
24701
24699
  __name: "AVRadio",
24702
24700
  props: {
24703
24701
  id: {
@@ -26662,7 +26660,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26662
26660
  () => r.option.children && r.option.children.length > 0
26663
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(() => {
26664
26662
  const O = Array.from(Array(L.value).keys());
26665
- O.forEach((Z) => O[Z] = Z + 1);
26663
+ O.forEach((Y) => O[Y] = Y + 1);
26666
26664
  const e1 = O.indexOf(Math.ceil(L.value / 2)) + 1, l1 = O.slice(0, e1), U = O.slice(e1);
26667
26665
  return U.length ? [l1, U] : [l1];
26668
26666
  }), w = E(() => r.partialResults ? r.partialResults[r.option.reference] : null), x = (O, e1 = 1) => {
@@ -26677,7 +26675,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26677
26675
  (l1) => r.selections.map((U) => U.reference).includes(l1.reference)
26678
26676
  ).length;
26679
26677
  return O.reduce((l1, U) => l1 + F(U.children), e1);
26680
- }, Q = (O) => {
26678
+ }, Z = (O) => {
26681
26679
  s.value = !1, O === r.option.reference && (o("accordion-open"), is(() => {
26682
26680
  s.value = !0, l.value.scrollIntoView({ behavior: "smooth", block: "center" });
26683
26681
  }));
@@ -26686,10 +26684,10 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26686
26684
  () => n.value.get("highlight-option"),
26687
26685
  (O) => {
26688
26686
  const [e1] = O ?? [];
26689
- Q(e1);
26687
+ Z(e1);
26690
26688
  }
26691
26689
  ), (O, e1) => {
26692
- const l1 = D("AVIcon"), U = D("AVOptionCheckbox"), Z = D("AVOption", !0), m1 = D("AVCollapser");
26690
+ const l1 = D("AVIcon"), U = D("AVOptionCheckbox"), Y = D("AVOption", !0), m1 = D("AVCollapser");
26693
26691
  return d(), h("div", {
26694
26692
  class: $({
26695
26693
  "AVOption--background": !0,
@@ -26828,7 +26826,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26828
26826
  ]),
26829
26827
  pane: s1(({ toggleCollapse: P1 }) => [
26830
26828
  z.value ? (d(), h("div", r21, [
26831
- (d(!0), h(a1, null, g1(e.option.children, (q1) => (d(), K(Z, {
26829
+ (d(!0), h(a1, null, g1(e.option.children, (q1) => (d(), K(Y, {
26832
26830
  key: q1.reference,
26833
26831
  option: q1,
26834
26832
  selections: e.selections,
@@ -27753,20 +27751,20 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27753
27751
  return (F = n.contest.customRulesets) != null && F.includes("belgian_ballot_rules") && x.push(new $31(n.contest)), x;
27754
27752
  }), C = E(() => {
27755
27753
  let x = [];
27756
- H.value.forEach((Q) => {
27757
- x.push(...Q.validate(n.selectionPile));
27754
+ H.value.forEach((Z) => {
27755
+ x.push(...Z.validate(n.selectionPile));
27758
27756
  });
27759
27757
  const F = [
27760
27758
  ...v.value.validate(n.selectionPile, n.includeLazyErrors),
27761
27759
  ...x
27762
27760
  ];
27763
- if (g.value && F.some((Q) => Q.message === "cross_party_voting")) {
27764
- let Q;
27765
- F.some((O) => O.message === "exclusive") && (Q = F.findIndex(
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(
27766
27764
  (O) => O.message === "exclusive"
27767
- ), F.splice(Q, 1)), F.some((O) => O.message === "blank") && (Q = F.findIndex(
27765
+ ), F.splice(Z, 1)), F.some((O) => O.message === "blank") && (Z = F.findIndex(
27768
27766
  (O) => O.message === "cross_party_voting"
27769
- ), F.splice(Q, 1));
27767
+ ), F.splice(Z, 1));
27770
27768
  }
27771
27769
  return s("update:errors", F), F;
27772
27770
  }), b = E(() => C.value.length === 0), _ = E(() => {
@@ -27781,8 +27779,8 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27781
27779
  (x) => x.exclusive
27782
27780
  )), L = E(() => n.contest);
27783
27781
  r1(L, (x, F) => {
27784
- var Q;
27785
- F && x && x.reference !== F.reference && ((Q = document.getElementById("content")) == null || Q.focus(), F.searchForm && (m.value.value = ""));
27782
+ var Z;
27783
+ F && x && x.reference !== F.reference && ((Z = document.getElementById("content")) == null || Z.focus(), F.searchForm && (m.value.value = ""));
27786
27784
  });
27787
27785
  const A = () => {
27788
27786
  s("update:selectionPile", {
@@ -27790,10 +27788,10 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27790
27788
  explicitBlank: !n.selectionPile.explicitBlank
27791
27789
  });
27792
27790
  }, y = ({ reference: x, amount: F }) => {
27793
- const Q = u.value.filter(
27791
+ const Z = u.value.filter(
27794
27792
  (e1) => e1.reference === x
27795
27793
  ).length;
27796
- F === Q && (F = F - 1);
27794
+ F === Z && (F = F - 1);
27797
27795
  const O = u.value.filter(
27798
27796
  (e1) => e1.reference !== x
27799
27797
  );
@@ -27803,9 +27801,9 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27803
27801
  ...n.selectionPile,
27804
27802
  optionSelections: O
27805
27803
  });
27806
- }, k = (x) => s("view-candidate", x), w = (x, F) => x.flatMap((Q) => (F && (Q.parentContent = F), Q.children ? [Q, ...w(Q.children, Q)] : [Q]));
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]));
27807
27805
  return (x, F) => {
27808
- const Q = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"), l1 = D("AVBlankOption"), U = D("AVSubmissionHelper");
27806
+ const Z = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"), l1 = D("AVBlankOption"), U = D("AVSubmissionHelper");
27809
27807
  return d(), h("div", {
27810
27808
  class: $({
27811
27809
  AVBallot: !0,
@@ -27820,7 +27818,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27820
27818
  class: "AVBallot--question",
27821
27819
  "aria-live": "polite"
27822
27820
  }, N(_.value), 9, G31)) : I("", !0),
27823
- e.contest.searchForm && !e.disabled && !e.observerMode ? (d(), K(Q, {
27821
+ e.contest.searchForm && !e.disabled && !e.observerMode ? (d(), K(Z, {
27824
27822
  key: 1,
27825
27823
  ref_key: "search",
27826
27824
  ref: m,
@@ -27833,15 +27831,15 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27833
27831
  class: $({
27834
27832
  "AVBallot--options": !0,
27835
27833
  "AVBallot--options-with-list": e.contest.options.some(
27836
- (Z) => Z.children
27834
+ (Y) => Y.children
27837
27835
  )
27838
27836
  }),
27839
27837
  "aria-label": B(t)("js.components.AVBallot.aria_labels.ballot_options")
27840
27838
  }, [
27841
- (d(!0), h(a1, null, g1(e.contest.options, (Z) => (d(), h(a1, {
27842
- key: Z.reference
27839
+ (d(!0), h(a1, null, g1(e.contest.options, (Y) => (d(), h(a1, {
27840
+ key: Y.reference
27843
27841
  }, [
27844
- Z.writeIn ? (d(), K(O, {
27842
+ Y.writeIn ? (d(), K(O, {
27845
27843
  key: 0,
27846
27844
  "candidate-value": o.value,
27847
27845
  "onUpdate:candidateValue": F[0] || (F[0] = (m1) => o.value = m1),
@@ -27855,9 +27853,9 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27855
27853
  }, null, 8, ["candidate-value", "party-value", "checked-value", "disabled", "observerMode"])) : (d(), K(e1, {
27856
27854
  key: 1,
27857
27855
  selections: u.value,
27858
- option: Z,
27856
+ option: Y,
27859
27857
  invalid: !b.value,
27860
- "exclusive-error": !g.value && Z.exclusive && C.value.some((m1) => m1.message.includes("exclusive")),
27858
+ "exclusive-error": !g.value && Y.exclusive && C.value.some((m1) => m1.message.includes("exclusive")),
27861
27859
  contest: e.contest,
27862
27860
  disabled: e.disabled,
27863
27861
  observerMode: e.observerMode,
@@ -27870,7 +27868,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27870
27868
  e.contest.markingType.blankSubmission === "active_choice" ? (d(), K(l1, {
27871
27869
  key: 0,
27872
27870
  checked: e.selectionPile.explicitBlank,
27873
- error: !g.value && C.value.some((Z) => Z.message.includes("blank")),
27871
+ error: !g.value && C.value.some((Y) => Y.message.includes("blank")),
27874
27872
  disabled: e.disabled,
27875
27873
  invalid: !b.value,
27876
27874
  observerMode: e.observerMode,
@@ -28198,7 +28196,7 @@ const V41 = {
28198
28196
  ), m = i1([]), u = E(() => n.contestSelection.piles), v = E(
28199
28197
  () => {
28200
28198
  var U;
28201
- return (U = u.value) == null ? void 0 : U.reduce((Z, m1) => Z - m1.multiplier, n.weight);
28199
+ return (U = u.value) == null ? void 0 : U.reduce((Y, m1) => Y - m1.multiplier, n.weight);
28202
28200
  }
28203
28201
  ), p = E(
28204
28202
  () => new C$(n.contest)
@@ -28212,13 +28210,13 @@ const V41 = {
28212
28210
  )), b = E(
28213
28211
  () => {
28214
28212
  var U;
28215
- return (U = u.value) == null ? void 0 : U.reduce((Z, m1) => Z + m1.multiplier, 0);
28213
+ return (U = u.value) == null ? void 0 : U.reduce((Y, m1) => Y + m1.multiplier, 0);
28216
28214
  }
28217
28215
  ), _ = E(() => {
28218
28216
  var U;
28219
28217
  return (U = r.value) == null ? void 0 : U.multiplier;
28220
28218
  }), g = E(
28221
- () => u.value.filter((U, Z) => Z !== l.value).reduce((U, Z) => U - Z.multiplier, n.weight)
28219
+ () => u.value.filter((U, Y) => Y !== l.value).reduce((U, Y) => U - Y.multiplier, n.weight)
28222
28220
  ), z = E(
28223
28221
  () => n.contest.markingType.maxPiles !== 1 && n.weight > 1
28224
28222
  ), L = E(() => l.value !== null), A = (U) => p.value.isComplete(U), y = (U) => p.value.validate(U, n.includeLazyErrors).length > 0, k = () => {
@@ -28245,7 +28243,7 @@ const V41 = {
28245
28243
  }, l.value = null, o.value = "ballot";
28246
28244
  }, F = (U) => {
28247
28245
  u.value.splice(U, 1);
28248
- }, Q = (U) => {
28246
+ }, Z = (U) => {
28249
28247
  r.value = { ...u.value[U] }, l.value = U, o.value = "ballot";
28250
28248
  }, O = (U) => {
28251
28249
  m.value = U;
@@ -28259,7 +28257,7 @@ const V41 = {
28259
28257
  s("update:activePile", U);
28260
28258
  }), r1(o, (U) => s("update:activeState", U)), A1(() => {
28261
28259
  n.locale && p1(n.locale), s("update:activePile", r.value), s("update:activeState", o.value), s("update:complete", C.value), z.value || k();
28262
- }), (U, Z) => {
28260
+ }), (U, Y) => {
28263
28261
  var I1;
28264
28262
  const m1 = D("AVSplitWizardHeader"), P1 = D("AVBallot"), q1 = D("AVPileSummary"), O1 = D("AVSplitWeightHelper"), J1 = D("AVIcon");
28265
28263
  return d(), h(a1, null, [
@@ -28295,14 +28293,14 @@ const V41 = {
28295
28293
  "show-submission-helper": e.showSubmissionHelper,
28296
28294
  "image-option": e.imageOption,
28297
28295
  "onUpdate:selectionPile": w,
28298
- "onUpdate:errors": Z[0] || (Z[0] = (F1) => O(F1))
28296
+ "onUpdate:errors": Y[0] || (Y[0] = (F1) => O(F1))
28299
28297
  }, null, 8, ["selection-pile", "partial-results", "contest", "weight", "includeLazyErrors", "show-submission-helper", "image-option"]),
28300
28298
  f("div", H41, [
28301
28299
  f("div", g41, [
28302
28300
  u.value.length > 0 ? (d(), h("button", {
28303
28301
  key: "back",
28304
28302
  class: "AVSplitHelper--btn-secondary",
28305
- onClick: Z[1] || (Z[1] = (F1) => o.value = "overview")
28303
+ onClick: Y[1] || (Y[1] = (F1) => o.value = "overview")
28306
28304
  }, N(B(t)("js.components.AVSplitHelper.ballot.back_button")), 1)) : I("", !0)
28307
28305
  ]),
28308
28306
  f("div", C41, [
@@ -28310,7 +28308,7 @@ const V41 = {
28310
28308
  key: "assign",
28311
28309
  class: "AVSplitHelper--btn-primary",
28312
28310
  disabled: !A(r.value) || y(r.value),
28313
- onClick: Z[2] || (Z[2] = (F1) => o.value = "assign")
28311
+ onClick: Y[2] || (Y[2] = (F1) => o.value = "assign")
28314
28312
  }, N(B(t)("js.components.AVSplitHelper.ballot.confirm_button")), 9, b41)
28315
28313
  ])
28316
28314
  ])
@@ -28326,7 +28324,7 @@ const V41 = {
28326
28324
  "is-editing": L.value,
28327
28325
  "total-piles": e.contestSelection.piles.length,
28328
28326
  "image-option": e.imageOption,
28329
- onEditCurrentSelection: Z[3] || (Z[3] = (F1) => o.value = "ballot")
28327
+ onEditCurrentSelection: Y[3] || (Y[3] = (F1) => o.value = "ballot")
28330
28328
  }, null, 8, ["selection-pile", "contest", "pile-index", "active-state", "is-editing", "total-piles", "image-option"]),
28331
28329
  f("label", {
28332
28330
  for: `${e.contest.reference}-ballot-selector`,
@@ -28336,7 +28334,7 @@ const V41 = {
28336
28334
  ) : B(t)("js.components.AVSplitHelper.assign.ballots_to_assign")), 9, x41),
28337
28335
  G1(f("input", {
28338
28336
  id: `${e.contest.reference}-ballot-selector`,
28339
- "onUpdate:modelValue": Z[4] || (Z[4] = (F1) => r.value.multiplier = F1),
28337
+ "onUpdate:modelValue": Y[4] || (Y[4] = (F1) => r.value.multiplier = F1),
28340
28338
  class: "AVSplitHelper--assign-input",
28341
28339
  type: "number",
28342
28340
  max: g.value
@@ -28354,7 +28352,7 @@ const V41 = {
28354
28352
  f("button", {
28355
28353
  key: "ballot",
28356
28354
  class: "AVSplitHelper--btn-secondary",
28357
- onClick: Z[5] || (Z[5] = (F1) => o.value = "ballot")
28355
+ onClick: Y[5] || (Y[5] = (F1) => o.value = "ballot")
28358
28356
  }, N(B(t)("js.components.AVSplitHelper.assign.back_button")), 1)
28359
28357
  ]),
28360
28358
  f("div", S41, [
@@ -28362,7 +28360,7 @@ const V41 = {
28362
28360
  key: "confirm",
28363
28361
  class: "AVSplitHelper--btn-primary",
28364
28362
  disabled: ((z2 = r.value) == null ? void 0 : z2.multiplier) < 1 || ((A2 = r.value) == null ? void 0 : A2.multiplier) > g.value,
28365
- onClick: Z[6] || (Z[6] = (F1) => k())
28363
+ onClick: Y[6] || (Y[6] = (F1) => k())
28366
28364
  }, N(B(t)("js.components.AVSplitHelper.assign.confirm_button")), 9, w41)
28367
28365
  ])
28368
28366
  ])
@@ -28390,7 +28388,7 @@ const V41 = {
28390
28388
  ])),
28391
28389
  (d(!0), h(a1, null, g1(u.value, (F1, o2) => (d(), h("article", {
28392
28390
  key: `preview-${o2}`,
28393
- onClick: (t3) => Q(o2)
28391
+ onClick: (t3) => Z(o2)
28394
28392
  }, [
28395
28393
  T(q1, {
28396
28394
  "selection-pile": F1,
@@ -28419,7 +28417,7 @@ const V41 = {
28419
28417
  "image-option": e.imageOption,
28420
28418
  "show-submission-helper": e.showSubmissionHelper,
28421
28419
  "onUpdate:selectionPile": w,
28422
- "onUpdate:errors": Z[7] || (Z[7] = (a2) => O(a2)),
28420
+ "onUpdate:errors": Y[7] || (Y[7] = (a2) => O(a2)),
28423
28421
  onViewCandidate: e1
28424
28422
  }, null, 8, ["selection-pile", "partial-results", "includeLazyErrors", "contest", "weight", "image-option", "show-submission-helper"]))
28425
28423
  ], 64);