@assemblyvoting/ui-library 3.1.27-beta.6 → 3.1.27-beta.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -332,7 +332,7 @@ function lU(e, c = {}) {
332
332
  const X = _(V.currentPeek());
333
333
  return V.resetPeek(), X;
334
334
  }
335
- function w(V, M) {
335
+ function S(V, M) {
336
336
  const { currentType: P } = M;
337
337
  if (!(P === 8 || P === 12))
338
338
  return !1;
@@ -364,8 +364,8 @@ function lU(e, c = {}) {
364
364
  }
365
365
  function O(V, M = !0) {
366
366
  const P = (_1 = !1, M1 = "", h1 = !1) => {
367
- const S = V.currentPeek();
368
- return S === "{" ? M1 === "%" ? !1 : _1 : S === "@" || !S ? M1 === "%" ? !0 : _1 : S === "%" ? (V.peek(), P(_1, "%", !0)) : S === "|" ? M1 === "%" || h1 ? !0 : !(M1 === V2 || M1 === R1) : S === V2 ? (V.peek(), P(!0, V2, h1)) : S === R1 ? (V.peek(), P(!0, R1, h1)) : !0;
367
+ const w = V.currentPeek();
368
+ return w === "{" ? M1 === "%" ? !1 : _1 : w === "@" || !w ? M1 === "%" ? !0 : _1 : w === "%" ? (V.peek(), P(_1, "%", !0)) : w === "|" ? M1 === "%" || h1 ? !0 : !(M1 === V2 || M1 === R1) : w === V2 ? (V.peek(), P(!0, V2, h1)) : w === R1 ? (V.peek(), P(!0, R1, h1)) : !0;
369
369
  }, X = P();
370
370
  return M && V.resetPeek(), X;
371
371
  }
@@ -594,7 +594,7 @@ function lU(e, c = {}) {
594
594
  /* TokenChars.LinkedDelimiter */
595
595
  );
596
596
  default:
597
- return R(V) ? (X = v(M, 1, d1(V)), M.braceNest = 0, M.inLinked = !1, X) : y(V, M) || w(V, M) ? (b(V), R2(V, M)) : k(V, M) ? (b(V), v(M, 12, x3(V))) : N(V, M) ? (b(V), _1 === "{" ? N3(V, M) || X : v(M, 11, j(V))) : (P === 8 && u(c1.INVALID_LINKED_FORMAT, n(), 0), M.braceNest = 0, M.inLinked = !1, y3(V, M));
597
+ return R(V) ? (X = v(M, 1, d1(V)), M.braceNest = 0, M.inLinked = !1, X) : y(V, M) || S(V, M) ? (b(V), R2(V, M)) : k(V, M) ? (b(V), v(M, 12, x3(V))) : N(V, M) ? (b(V), _1 === "{" ? N3(V, M) || X : v(M, 11, j(V))) : (P === 8 && u(c1.INVALID_LINKED_FORMAT, n(), 0), M.braceNest = 0, M.inLinked = !1, y3(V, M));
598
598
  }
599
599
  }
600
600
  function y3(V, M) {
@@ -662,9 +662,9 @@ function fU(e, c, a) {
662
662
  function uU(e = {}) {
663
663
  const c = e.location !== !1, { onError: a, onWarn: t } = e;
664
664
  function i(z, L, A, y, ...k) {
665
- const w = z.currentPosition();
666
- if (w.offset += y, w.column += y, a) {
667
- const N = c ? P4(A, w) : null, R = z3(L, N, {
665
+ const S = z.currentPosition();
666
+ if (S.offset += y, S.column += y, a) {
667
+ const N = c ? P4(A, S) : null, R = z3(L, N, {
668
668
  domain: rU,
669
669
  args: k
670
670
  });
@@ -672,9 +672,9 @@ function uU(e = {}) {
672
672
  }
673
673
  }
674
674
  function n(z, L, A, y, ...k) {
675
- const w = z.currentPosition();
676
- if (w.offset += y, w.column += y, t) {
677
- const N = c ? P4(A, w) : null;
675
+ const S = z.currentPosition();
676
+ if (S.offset += y, S.column += y, t) {
677
+ const N = c ? P4(A, S) : null;
678
678
  t(Y$(L, N, k));
679
679
  }
680
680
  }
@@ -690,24 +690,24 @@ function uU(e = {}) {
690
690
  return y.value = L, l(y, z.currentOffset(), z.currentPosition()), y;
691
691
  }
692
692
  function o(z, L) {
693
- const A = z.context(), { lastOffset: y, lastStartLoc: k } = A, w = s(5, y, k);
694
- return w.index = parseInt(L, 10), z.nextToken(), l(w, z.currentOffset(), z.currentPosition()), w;
693
+ const A = z.context(), { lastOffset: y, lastStartLoc: k } = A, S = s(5, y, k);
694
+ return S.index = parseInt(L, 10), z.nextToken(), l(S, z.currentOffset(), z.currentPosition()), S;
695
695
  }
696
696
  function m(z, L, A) {
697
- const y = z.context(), { lastOffset: k, lastStartLoc: w } = y, N = s(4, k, w);
697
+ const y = z.context(), { lastOffset: k, lastStartLoc: S } = y, N = s(4, k, S);
698
698
  return N.key = L, A === !0 && (N.modulo = !0), z.nextToken(), l(N, z.currentOffset(), z.currentPosition()), N;
699
699
  }
700
700
  function u(z, L) {
701
- const A = z.context(), { lastOffset: y, lastStartLoc: k } = A, w = s(9, y, k);
702
- return w.value = L.replace(oU, fU), z.nextToken(), l(w, z.currentOffset(), z.currentPosition()), w;
701
+ const A = z.context(), { lastOffset: y, lastStartLoc: k } = A, S = s(9, y, k);
702
+ return S.value = L.replace(oU, fU), z.nextToken(), l(S, z.currentOffset(), z.currentPosition()), S;
703
703
  }
704
704
  function v(z) {
705
- const L = z.nextToken(), A = z.context(), { lastOffset: y, lastStartLoc: k } = A, w = s(8, y, k);
706
- return L.type !== 12 ? (i(z, c1.UNEXPECTED_EMPTY_LINKED_MODIFIER, A.lastStartLoc, 0), w.value = "", l(w, y, k), {
705
+ const L = z.nextToken(), A = z.context(), { lastOffset: y, lastStartLoc: k } = A, S = s(8, y, k);
706
+ return L.type !== 12 ? (i(z, c1.UNEXPECTED_EMPTY_LINKED_MODIFIER, A.lastStartLoc, 0), S.value = "", l(S, y, k), {
707
707
  nextConsumeToken: L,
708
- node: w
709
- }) : (L.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, t2(L)), w.value = L.value || "", l(w, z.currentOffset(), z.currentPosition()), {
710
- node: w
708
+ node: S
709
+ }) : (L.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, t2(L)), S.value = L.value || "", l(S, z.currentOffset(), z.currentPosition()), {
710
+ node: S
711
711
  });
712
712
  }
713
713
  function p(z, L) {
@@ -736,8 +736,8 @@ function uU(e = {}) {
736
736
  break;
737
737
  default: {
738
738
  i(z, c1.UNEXPECTED_EMPTY_LINKED_KEY, L.lastStartLoc, 0);
739
- const k = z.context(), w = s(7, k.offset, k.startLoc);
740
- return w.value = "", l(w, k.offset, k.startLoc), A.key = w, l(A, k.offset, k.startLoc), {
739
+ const k = z.context(), S = s(7, k.offset, k.startLoc);
740
+ return S.value = "", l(S, k.offset, k.startLoc), A.key = S, l(A, k.offset, k.startLoc), {
741
741
  nextConsumeToken: y,
742
742
  node: A
743
743
  };
@@ -750,10 +750,10 @@ function uU(e = {}) {
750
750
  function C(z) {
751
751
  const L = z.context(), A = L.currentType === 1 ? z.currentOffset() : L.offset, y = L.currentType === 1 ? L.endLoc : L.startLoc, k = s(2, A, y);
752
752
  k.items = [];
753
- let w = null, N = null;
753
+ let S = null, N = null;
754
754
  do {
755
- const O = w || z.nextToken();
756
- switch (w = null, O.type) {
755
+ const O = S || z.nextToken();
756
+ switch (S = null, O.type) {
757
757
  case 0:
758
758
  O.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, t2(O)), k.items.push(r(z, O.value || ""));
759
759
  break;
@@ -771,7 +771,7 @@ function uU(e = {}) {
771
771
  break;
772
772
  case 8: {
773
773
  const e1 = H(z);
774
- k.items.push(e1.node), w = e1.nextConsumeToken || null;
774
+ k.items.push(e1.node), S = e1.nextConsumeToken || null;
775
775
  break;
776
776
  }
777
777
  }
@@ -781,14 +781,14 @@ function uU(e = {}) {
781
781
  }
782
782
  function b(z, L, A, y) {
783
783
  const k = z.context();
784
- let w = y.items.length === 0;
784
+ let S = y.items.length === 0;
785
785
  const N = s(1, L, A);
786
786
  N.cases = [], N.cases.push(y);
787
787
  do {
788
788
  const R = C(z);
789
- w || (w = R.items.length === 0), N.cases.push(R);
789
+ S || (S = R.items.length === 0), N.cases.push(R);
790
790
  } while (k.currentType !== 14);
791
- return w && i(z, c1.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), l(N, z.currentOffset(), z.currentPosition()), N;
791
+ return S && i(z, c1.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), l(N, z.currentOffset(), z.currentPosition()), N;
792
792
  }
793
793
  function _(z) {
794
794
  const L = z.context(), { offset: A, startLoc: y } = L, k = C(z);
@@ -1405,11 +1405,11 @@ function FU(e = {}) {
1405
1405
  const [z, L] = g;
1406
1406
  let A = "text", y = "";
1407
1407
  g.length === 1 ? u1(z) ? (y = z.modifier || y, A = z.type || A) : q(z) && (y = z || y) : g.length === 2 && (q(z) && (y = z || y), q(L) && (A = L || A));
1408
- const k = m(_)(b), w = (
1408
+ const k = m(_)(b), S = (
1409
1409
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1410
1410
  A === "vnode" && C1(k) && y ? k[0] : k
1411
1411
  );
1412
- return y ? u(y)(w, A) : w;
1412
+ return y ? u(y)(S, A) : S;
1413
1413
  },
1414
1414
  message: m,
1415
1415
  type: H,
@@ -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, N = u1(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), R = 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, S = e, N = u1(S.__datetimeFormatters) ? S.__datetimeFormatters : /* @__PURE__ */ new Map(), R = u1(S.__numberFormatters) ? S.__numberFormatters : /* @__PURE__ */ new Map(), Q = u1(S.__meta) ? S.__meta : {};
1599
1599
  Fi++;
1600
1600
  const O = {
1601
1601
  version: a,
@@ -1621,7 +1621,7 @@ function tW(e = {}) {
1621
1621
  onWarn: c,
1622
1622
  __meta: Q
1623
1623
  };
1624
- return O.datetimeFormats = l, O.numberFormats = r, O.__datetimeFormatters = N, O.__numberFormatters = R, 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 = N, O.__numberFormatters = R, process.env.NODE_ENV !== "production" && (O.__v_emitter = S.__v_emitter != null ? S.__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;
@@ -1793,10 +1793,10 @@ function qi(e, ...c) {
1793
1793
  let y = !1;
1794
1794
  const k = () => {
1795
1795
  y = !0;
1796
- }, w = K1(L) ? L : ys(e, r, g, L, A, k);
1796
+ }, S = K1(L) ? L : ys(e, r, g, L, A, k);
1797
1797
  if (y)
1798
1798
  return L;
1799
- const N = dW(e, g, z, o), R = FU(N), Q = fW(e, w, R), O = t ? t(Q, r) : Q;
1799
+ const N = dW(e, g, z, o), R = FU(N), Q = fW(e, S, R), 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(),
@@ -1998,8 +1998,8 @@ function Ui(e, ...c) {
1998
1998
  return t ? K4 : r;
1999
1999
  let k = `${g}__${r}`;
2000
2000
  Z4(u) || (k = `${k}__${JSON.stringify(u)}`);
2001
- let w = l.get(k);
2002
- return w || (w = new Intl.DateTimeFormat(g, B1({}, z, u)), l.set(k, w)), H ? w.formatToParts(o) : w.format(o);
2001
+ let S = l.get(k);
2002
+ return S || (S = new Intl.DateTimeFormat(g, B1({}, z, u)), l.set(k, S)), H ? S.formatToParts(o) : S.format(o);
2003
2003
  }
2004
2004
  const Ss = [
2005
2005
  "localeMatcher",
@@ -2092,8 +2092,8 @@ function Gi(e, ...c) {
2092
2092
  return t ? K4 : r;
2093
2093
  let k = `${g}__${r}`;
2094
2094
  Z4(u) || (k = `${k}__${JSON.stringify(u)}`);
2095
- let w = l.get(k);
2096
- return w || (w = new Intl.NumberFormat(g, B1({}, z, u)), l.set(k, w)), H ? w.formatToParts(o) : w.format(o);
2095
+ let S = l.get(k);
2096
+ return S || (S = new Intl.NumberFormat(g, B1({}, z, u)), l.set(k, S)), H ? S.formatToParts(o) : S.format(o);
2097
2097
  }
2098
2098
  const ws = [
2099
2099
  "localeMatcher",
@@ -2422,16 +2422,16 @@ function Q8(e = {}, c) {
2422
2422
  ), u = s(e6(o.value, e)), v = s(t1(e.datetimeFormats) ? e.datetimeFormats : { [o.value]: {} }), p = s(t1(e.numberFormats) ? e.numberFormats : { [o.value]: {} });
2423
2423
  let H = a ? a.missingWarn : n1(e.missingWarn) || T2(e.missingWarn) ? e.missingWarn : !0, C = a ? a.fallbackWarn : n1(e.fallbackWarn) || T2(e.fallbackWarn) ? e.fallbackWarn : !0, b = a ? a.fallbackRoot : n1(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, g = V1(e.missing) ? e.missing : null, z = V1(e.missing) ? Xi(e.missing) : null, L = V1(e.postTranslation) ? e.postTranslation : null, A = a ? a.warnHtmlMessage : n1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
2424
2424
  const k = a ? a.modifiers : t1(e.modifiers) ? e.modifiers : {};
2425
- let w = e.pluralRules || a && a.pluralRules, N;
2425
+ let S = e.pluralRules || a && a.pluralRules, N;
2426
2426
  N = (() => {
2427
2427
  i && Bi(null);
2428
- const S = {
2428
+ const w = {
2429
2429
  version: CW,
2430
2430
  locale: o.value,
2431
2431
  fallbackLocale: m.value,
2432
2432
  messages: u.value,
2433
2433
  modifiers: k,
2434
- pluralRules: w,
2434
+ pluralRules: S,
2435
2435
  missing: z === null ? void 0 : z,
2436
2436
  missingWarn: H,
2437
2437
  fallbackWarn: C,
@@ -2444,8 +2444,8 @@ function Q8(e = {}, c) {
2444
2444
  messageCompiler: e.messageCompiler,
2445
2445
  __meta: { framework: "vue" }
2446
2446
  };
2447
- S.datetimeFormats = v.value, S.numberFormats = p.value, S.__datetimeFormatters = t1(N) ? N.__datetimeFormatters : void 0, S.__numberFormatters = t1(N) ? N.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (S.__v_emitter = t1(N) ? N.__v_emitter : void 0);
2448
- const F = tW(S);
2447
+ w.datetimeFormats = v.value, w.numberFormats = p.value, w.__datetimeFormatters = t1(N) ? N.__datetimeFormatters : void 0, w.__numberFormatters = t1(N) ? N.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (w.__v_emitter = t1(N) ? N.__v_emitter : void 0);
2448
+ const F = tW(w);
2449
2449
  return i && Bi(F), F;
2450
2450
  })(), k3(N, o.value, m.value);
2451
2451
  function Q() {
@@ -2459,35 +2459,35 @@ function Q8(e = {}, c) {
2459
2459
  }
2460
2460
  const O = E({
2461
2461
  get: () => o.value,
2462
- set: (S) => {
2463
- o.value = S, N.locale = o.value;
2462
+ set: (w) => {
2463
+ o.value = w, N.locale = o.value;
2464
2464
  }
2465
2465
  }), e1 = E({
2466
2466
  get: () => m.value,
2467
- set: (S) => {
2468
- m.value = S, N.fallbackLocale = m.value, k3(N, o.value, S);
2467
+ set: (w) => {
2468
+ m.value = w, N.fallbackLocale = m.value, k3(N, o.value, w);
2469
2469
  }
2470
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
  }
2474
- function P1(S) {
2475
- L = S, N.postTranslation = S;
2474
+ function P1(w) {
2475
+ L = w, N.postTranslation = w;
2476
2476
  }
2477
2477
  function q1() {
2478
2478
  return g;
2479
2479
  }
2480
- function O1(S) {
2481
- S !== null && (z = Xi(S)), g = S, N.missing = z;
2480
+ function O1(w) {
2481
+ w !== null && (z = Xi(w)), g = w, N.missing = z;
2482
2482
  }
2483
- function J1(S, F) {
2484
- return S !== "translate" || !F.resolvedMessage;
2483
+ function J1(w, F) {
2484
+ return w !== "translate" || !F.resolvedMessage;
2485
2485
  }
2486
- const I1 = (S, F, v1, y1, _2, V4) => {
2486
+ const I1 = (w, F, v1, y1, _2, V4) => {
2487
2487
  Q();
2488
2488
  let n3;
2489
2489
  try {
2490
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (N.fallbackContext = a ? aW() : void 0), n3 = S(N);
2490
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (N.fallbackContext = a ? aW() : void 0), n3 = w(N);
2491
2491
  } finally {
2492
2492
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (N.fallbackContext = void 0);
2493
2493
  }
@@ -2513,87 +2513,87 @@ function Q8(e = {}, c) {
2513
2513
  throw w1(f1.UNEXPECTED_RETURN_TYPE);
2514
2514
  }
2515
2515
  };
2516
- function a2(...S) {
2517
- return I1((F) => Reflect.apply(qi, null, [F, ...S]), () => z8(...S), "translate", (F) => Reflect.apply(F.t, F, [...S]), (F) => F, (F) => q(F));
2516
+ function a2(...w) {
2517
+ return I1((F) => Reflect.apply(qi, null, [F, ...w]), () => z8(...w), "translate", (F) => Reflect.apply(F.t, F, [...w]), (F) => F, (F) => q(F));
2518
2518
  }
2519
- function z2(...S) {
2520
- const [F, v1, y1] = S;
2519
+ function z2(...w) {
2520
+ const [F, v1, y1] = w;
2521
2521
  if (y1 && !u1(y1))
2522
2522
  throw w1(f1.INVALID_ARGUMENT);
2523
2523
  return a2(F, v1, B1({ resolvedMessage: !0 }, y1 || {}));
2524
2524
  }
2525
- function A2(...S) {
2526
- return I1((F) => Reflect.apply(Ui, null, [F, ...S]), () => V8(...S), "datetime format", (F) => Reflect.apply(F.d, F, [...S]), () => O4, (F) => q(F));
2525
+ function A2(...w) {
2526
+ return I1((F) => Reflect.apply(Ui, null, [F, ...w]), () => V8(...w), "datetime format", (F) => Reflect.apply(F.d, F, [...w]), () => O4, (F) => q(F));
2527
2527
  }
2528
- function F1(...S) {
2529
- return I1((F) => Reflect.apply(Gi, null, [F, ...S]), () => M8(...S), "number format", (F) => Reflect.apply(F.n, F, [...S]), () => O4, (F) => q(F));
2528
+ function F1(...w) {
2529
+ return I1((F) => Reflect.apply(Gi, null, [F, ...w]), () => M8(...w), "number format", (F) => Reflect.apply(F.n, F, [...w]), () => O4, (F) => q(F));
2530
2530
  }
2531
- function o2(S) {
2532
- return S.map((F) => q(F) || k1(F) || n1(F) ? Zi(String(F)) : F);
2531
+ function o2(w) {
2532
+ return w.map((F) => q(F) || k1(F) || n1(F) ? Zi(String(F)) : F);
2533
2533
  }
2534
2534
  const L3 = {
2535
2535
  normalize: o2,
2536
- interpolate: (S) => S,
2536
+ interpolate: (w) => w,
2537
2537
  type: "vnode"
2538
2538
  };
2539
- function i3(...S) {
2539
+ function i3(...w) {
2540
2540
  return I1(
2541
2541
  (F) => {
2542
2542
  let v1;
2543
2543
  const y1 = F;
2544
2544
  try {
2545
- y1.processor = L3, v1 = Reflect.apply(qi, null, [y1, ...S]);
2545
+ y1.processor = L3, v1 = Reflect.apply(qi, null, [y1, ...w]);
2546
2546
  } finally {
2547
2547
  y1.processor = null;
2548
2548
  }
2549
2549
  return v1;
2550
2550
  },
2551
- () => z8(...S),
2551
+ () => z8(...w),
2552
2552
  "translate",
2553
2553
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2554
- (F) => F[g8](...S),
2554
+ (F) => F[g8](...w),
2555
2555
  (F) => [Zi(F)],
2556
2556
  (F) => C1(F)
2557
2557
  );
2558
2558
  }
2559
- function A3(...S) {
2559
+ function A3(...w) {
2560
2560
  return I1(
2561
- (F) => Reflect.apply(Gi, null, [F, ...S]),
2562
- () => M8(...S),
2561
+ (F) => Reflect.apply(Gi, null, [F, ...w]),
2562
+ () => M8(...w),
2563
2563
  "number format",
2564
2564
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2565
- (F) => F[b8](...S),
2565
+ (F) => F[b8](...w),
2566
2566
  Qi,
2567
2567
  (F) => q(F) || C1(F)
2568
2568
  );
2569
2569
  }
2570
- function _3(...S) {
2570
+ function _3(...w) {
2571
2571
  return I1(
2572
- (F) => Reflect.apply(Ui, null, [F, ...S]),
2573
- () => V8(...S),
2572
+ (F) => Reflect.apply(Ui, null, [F, ...w]),
2573
+ () => V8(...w),
2574
2574
  "datetime format",
2575
2575
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2576
- (F) => F[C8](...S),
2576
+ (F) => F[C8](...w),
2577
2577
  Qi,
2578
2578
  (F) => q(F) || C1(F)
2579
2579
  );
2580
2580
  }
2581
- function x3(S) {
2582
- w = S, N.pluralRules = w;
2581
+ function x3(w) {
2582
+ S = w, N.pluralRules = S;
2583
2583
  }
2584
- function j(S, F) {
2584
+ function j(w, F) {
2585
2585
  return I1(() => {
2586
- if (!S)
2586
+ if (!w)
2587
2587
  return !1;
2588
- const v1 = q(F) ? F : o.value, y1 = R2(v1), _2 = N.messageResolver(y1, S);
2588
+ const v1 = q(F) ? F : o.value, y1 = R2(v1), _2 = N.messageResolver(y1, w);
2589
2589
  return l ? _2 != null : I2(_2) || K1(_2) || q(_2);
2590
- }, () => [S], "translate exists", (v1) => Reflect.apply(v1.te, v1, [S, F]), _W, (v1) => n1(v1));
2590
+ }, () => [w], "translate exists", (v1) => Reflect.apply(v1.te, v1, [w, F]), _W, (v1) => n1(v1));
2591
2591
  }
2592
- function d1(S) {
2592
+ function d1(w) {
2593
2593
  let F = null;
2594
2594
  const v1 = hs(N, m.value, o.value);
2595
2595
  for (let y1 = 0; y1 < v1.length; y1++) {
2596
- const _2 = u.value[v1[y1]] || {}, V4 = N.messageResolver(_2, S);
2596
+ const _2 = u.value[v1[y1]] || {}, V4 = N.messageResolver(_2, w);
2597
2597
  if (V4 != null) {
2598
2598
  F = V4;
2599
2599
  break;
@@ -2601,52 +2601,52 @@ function Q8(e = {}, c) {
2601
2601
  }
2602
2602
  return F;
2603
2603
  }
2604
- function N3(S) {
2605
- const F = d1(S);
2606
- return F ?? (a ? a.tm(S) || {} : {});
2604
+ function N3(w) {
2605
+ const F = d1(w);
2606
+ return F ?? (a ? a.tm(w) || {} : {});
2607
2607
  }
2608
- function R2(S) {
2609
- return u.value[S] || {};
2608
+ function R2(w) {
2609
+ return u.value[w] || {};
2610
2610
  }
2611
- function y3(S, F) {
2611
+ function y3(w, F) {
2612
2612
  if (n) {
2613
- const v1 = { [S]: F };
2613
+ const v1 = { [w]: F };
2614
2614
  for (const y1 in v1)
2615
2615
  D4(v1, y1) && R3(v1[y1]);
2616
- F = v1[S];
2616
+ F = v1[w];
2617
2617
  }
2618
- u.value[S] = F, N.messages = u.value;
2618
+ u.value[w] = F, N.messages = u.value;
2619
2619
  }
2620
- function i8(S, F) {
2621
- u.value[S] = u.value[S] || {};
2622
- const v1 = { [S]: F };
2620
+ function i8(w, F) {
2621
+ u.value[w] = u.value[w] || {};
2622
+ const v1 = { [w]: F };
2623
2623
  if (n)
2624
2624
  for (const y1 in v1)
2625
2625
  D4(v1, y1) && R3(v1[y1]);
2626
- F = v1[S], S4(F, u.value[S]), N.messages = u.value;
2626
+ F = v1[w], S4(F, u.value[w]), N.messages = u.value;
2627
2627
  }
2628
- function V(S) {
2629
- return v.value[S] || {};
2628
+ function V(w) {
2629
+ return v.value[w] || {};
2630
2630
  }
2631
- function M(S, F) {
2632
- v.value[S] = F, N.datetimeFormats = v.value, Wi(N, S, F);
2631
+ function M(w, F) {
2632
+ v.value[w] = F, N.datetimeFormats = v.value, Wi(N, w, F);
2633
2633
  }
2634
- function P(S, F) {
2635
- v.value[S] = B1(v.value[S] || {}, F), N.datetimeFormats = v.value, Wi(N, S, F);
2634
+ function P(w, F) {
2635
+ v.value[w] = B1(v.value[w] || {}, F), N.datetimeFormats = v.value, Wi(N, w, F);
2636
2636
  }
2637
- function X(S) {
2638
- return p.value[S] || {};
2637
+ function X(w) {
2638
+ return p.value[w] || {};
2639
2639
  }
2640
- function _1(S, F) {
2641
- p.value[S] = F, N.numberFormats = p.value, Ji(N, S, F);
2640
+ function _1(w, F) {
2641
+ p.value[w] = F, N.numberFormats = p.value, Ji(N, w, F);
2642
2642
  }
2643
- function M1(S, F) {
2644
- p.value[S] = B1(p.value[S] || {}, F), N.numberFormats = p.value, Ji(N, S, F);
2643
+ function M1(w, F) {
2644
+ p.value[w] = B1(p.value[w] || {}, F), N.numberFormats = p.value, Ji(N, w, F);
2645
2645
  }
2646
- Ki++, a && r2 && (l1(a.locale, (S) => {
2647
- r && (o.value = S, N.locale = S, k3(N, o.value, m.value));
2648
- }), l1(a.fallbackLocale, (S) => {
2649
- r && (m.value = S, N.fallbackLocale = S, k3(N, o.value, m.value));
2646
+ Ki++, a && r2 && (l1(a.locale, (w) => {
2647
+ r && (o.value = w, N.locale = w, k3(N, o.value, m.value));
2648
+ }), l1(a.fallbackLocale, (w) => {
2649
+ r && (m.value = w, N.fallbackLocale = w, k3(N, o.value, m.value));
2650
2650
  }));
2651
2651
  const h1 = {
2652
2652
  id: Ki,
@@ -2655,8 +2655,8 @@ function Q8(e = {}, c) {
2655
2655
  get inheritLocale() {
2656
2656
  return r;
2657
2657
  },
2658
- set inheritLocale(S) {
2659
- r = S, S && a && (o.value = a.locale.value, m.value = a.fallbackLocale.value, k3(N, o.value, m.value));
2658
+ set inheritLocale(w) {
2659
+ r = w, w && a && (o.value = a.locale.value, m.value = a.fallbackLocale.value, k3(N, o.value, m.value));
2660
2660
  },
2661
2661
  get availableLocales() {
2662
2662
  return Object.keys(u.value).sort();
@@ -2666,7 +2666,7 @@ function Q8(e = {}, c) {
2666
2666
  return k;
2667
2667
  },
2668
2668
  get pluralRules() {
2669
- return w || {};
2669
+ return S || {};
2670
2670
  },
2671
2671
  get isGlobal() {
2672
2672
  return i;
@@ -2674,38 +2674,38 @@ function Q8(e = {}, c) {
2674
2674
  get missingWarn() {
2675
2675
  return H;
2676
2676
  },
2677
- set missingWarn(S) {
2678
- H = S, N.missingWarn = H;
2677
+ set missingWarn(w) {
2678
+ H = w, N.missingWarn = H;
2679
2679
  },
2680
2680
  get fallbackWarn() {
2681
2681
  return C;
2682
2682
  },
2683
- set fallbackWarn(S) {
2684
- C = S, N.fallbackWarn = C;
2683
+ set fallbackWarn(w) {
2684
+ C = w, N.fallbackWarn = C;
2685
2685
  },
2686
2686
  get fallbackRoot() {
2687
2687
  return b;
2688
2688
  },
2689
- set fallbackRoot(S) {
2690
- b = S;
2689
+ set fallbackRoot(w) {
2690
+ b = w;
2691
2691
  },
2692
2692
  get fallbackFormat() {
2693
2693
  return _;
2694
2694
  },
2695
- set fallbackFormat(S) {
2696
- _ = S, N.fallbackFormat = _;
2695
+ set fallbackFormat(w) {
2696
+ _ = w, N.fallbackFormat = _;
2697
2697
  },
2698
2698
  get warnHtmlMessage() {
2699
2699
  return A;
2700
2700
  },
2701
- set warnHtmlMessage(S) {
2702
- A = S, N.warnHtmlMessage = S;
2701
+ set warnHtmlMessage(w) {
2702
+ A = w, N.warnHtmlMessage = w;
2703
2703
  },
2704
2704
  get escapeParameter() {
2705
2705
  return y;
2706
2706
  },
2707
- set escapeParameter(S) {
2708
- y = S, N.escapeParameter = S;
2707
+ set escapeParameter(w) {
2708
+ y = w, N.escapeParameter = w;
2709
2709
  },
2710
2710
  t: a2,
2711
2711
  getLocaleMessage: R2,
@@ -2717,8 +2717,8 @@ 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) => {
2721
- N.__v_emitter = 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] = (w) => {
2721
+ N.__v_emitter = w;
2722
2722
  }, h1[F3] = () => {
2723
2723
  N.__v_emitter = void 0;
2724
2724
  }), h1;
@@ -2729,9 +2729,9 @@ function NW(e) {
2729
2729
  let H = e.messages;
2730
2730
  if (t1(e.sharedMessages)) {
2731
2731
  const y = e.sharedMessages;
2732
- H = Object.keys(y).reduce((w, N) => {
2733
- const R = w[N] || (w[N] = {});
2734
- return B1(R, y[N]), w;
2732
+ H = Object.keys(y).reduce((S, N) => {
2733
+ const R = S[N] || (S[N] = {});
2734
+ return B1(R, y[N]), S;
2735
2735
  }, H || {});
2736
2736
  }
2737
2737
  const { __i18n: C, __root: b, __injectWithOption: _ } = e, g = e.datetimeFormats, z = e.numberFormats, L = e.flatJson, A = e.translateExistCompatible;
@@ -3679,7 +3679,7 @@ function sG(e, c, a, t = {}) {
3679
3679
  set: (j) => {
3680
3680
  n.value && (n.value.locale.value = j), l.value = j;
3681
3681
  }
3682
- }), w = E({
3682
+ }), S = E({
3683
3683
  get: () => n.value ? n.value.fallbackLocale.value : r.value,
3684
3684
  set: (j) => {
3685
3685
  n.value && (n.value.fallbackLocale.value = j), r.value = j;
@@ -3750,7 +3750,7 @@ function sG(e, c, a, t = {}) {
3750
3750
  return n.value ? n.value.id : -1;
3751
3751
  },
3752
3752
  locale: k,
3753
- fallbackLocale: w,
3753
+ fallbackLocale: S,
3754
3754
  messages: N,
3755
3755
  datetimeFormats: R,
3756
3756
  numberFormats: Q,
@@ -18637,7 +18637,7 @@ 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, N = k / 2 - C[H] / 2 - 1, R = G2(u[_], N), Q = G2(u[g], N), O = R, 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 ? R : Q) - C[H] / 2 < 0, m1 = Z ? r1 < O ? r1 - O : r1 - e1 : 0;
18640
+ const S = L / 2 - A / 2, N = k / 2 - C[H] / 2 - 1, R = G2(u[_], N), Q = G2(u[g], N), O = R, e1 = k - C[H] - Q, r1 = k / 2 - C[H] / 2 + S, U = x8(O, r1, e1), Z = !r.arrow && s2(i) != null && r1 !== U && n.reference[H] / 2 - (r1 < O ? R : 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: {
@@ -18749,12 +18749,12 @@ const RG = function(e) {
18749
18749
  const _ = p2(i), g = p2(l) === l, z = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), L = v || (g || !C ? [F4(l)] : IG(l));
18750
18750
  !v && H !== "none" && L.push(...DG(l, C, H, z));
18751
18751
  const A = [l, ...L], y = await J6(c, b), k = [];
18752
- let w = ((t = n.flip) == null ? void 0 : t.overflows) || [];
18752
+ let S = ((t = n.flip) == null ? void 0 : t.overflows) || [];
18753
18753
  if (m && k.push(y[_]), u) {
18754
18754
  const O = gq(i, s, z);
18755
18755
  k.push(y[O[0]], y[O[1]]);
18756
18756
  }
18757
- if (w = [...w, {
18757
+ if (S = [...S, {
18758
18758
  placement: i,
18759
18759
  overflows: k
18760
18760
  }], !k.every((O) => O <= 0)) {
@@ -18764,18 +18764,18 @@ const RG = function(e) {
18764
18764
  return {
18765
18765
  data: {
18766
18766
  index: O,
18767
- overflows: w
18767
+ overflows: S
18768
18768
  },
18769
18769
  reset: {
18770
18770
  placement: e1
18771
18771
  }
18772
18772
  };
18773
- let r1 = (R = w.filter((U) => U.overflows[0] <= 0).sort((U, Z) => U.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : R.placement;
18773
+ let r1 = (R = S.filter((U) => U.overflows[0] <= 0).sort((U, Z) => U.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : R.placement;
18774
18774
  if (!r1)
18775
18775
  switch (p) {
18776
18776
  case "bestFit": {
18777
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];
18778
+ const U = (Q = S.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
18779
  U && (r1 = 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), N = W2(r.right, 0), R = W2(r.top, 0), Q = W2(r.bottom, 0);
18923
- u ? y = v - 2 * (w !== 0 || N !== 0 ? w + N : W2(r.left, r.right)) : A = p - 2 * (R !== 0 || Q !== 0 ? R + Q : W2(r.top, r.bottom));
18922
+ const S = W2(r.left, 0), N = W2(r.right, 0), R = W2(r.top, 0), Q = W2(r.bottom, 0);
18923
+ u ? y = v - 2 * (S !== 0 || N !== 0 ? S + N : W2(r.left, r.right)) : A = p - 2 * (R !== 0 || Q !== 0 ? R + Q : W2(r.top, r.bottom));
18924
18924
  }
18925
18925
  await s({
18926
18926
  ...c,
@@ -22255,8 +22255,8 @@ function Mi(e) {
22255
22255
  } : b2("generateAbstractIcon", A) || {
22256
22256
  children: [],
22257
22257
  attributes: {}
22258
- }, k = y.children, w = y.attributes;
22259
- return A.children = k, A.attributes = w, l ? NZ(A) : xZ(A);
22258
+ }, k = y.children, S = y.attributes;
22259
+ return A.children = k, A.attributes = S, l ? NZ(A) : xZ(A);
22260
22260
  }
22261
22261
  function Rn(e) {
22262
22262
  var c = e.content, a = e.width, t = e.height, i = e.transform, n = e.title, s = e.extra, l = e.watchable, r = l === void 0 ? !1 : l, o = W(W(W({}, s.attributes), n ? {
@@ -22861,7 +22861,7 @@ function Zn(e, c) {
22861
22861
  e.setAttribute(a, z), s && e.removeChild(s);
22862
22862
  var A = qZ(), y = A.extra;
22863
22863
  y.attributes[I8] = c, F8(g, p).then(function(k) {
22864
- var w = Mi(W(W({}, A), {}, {
22864
+ var S = Mi(W(W({}, A), {}, {
22865
22865
  icons: {
22866
22866
  main: k,
22867
22867
  mask: Vi()
@@ -22871,7 +22871,7 @@ function Zn(e, c) {
22871
22871
  extra: y,
22872
22872
  watchable: !0
22873
22873
  })), N = L1.createElementNS("http://www.w3.org/2000/svg", "svg");
22874
- c === "::before" ? e.insertBefore(N, e.firstChild) : e.appendChild(N), N.outerHTML = w.map(function(R) {
22874
+ c === "::before" ? e.insertBefore(N, e.firstChild) : e.appendChild(N), N.outerHTML = S.map(function(R) {
22875
22875
  return z4(R);
22876
22876
  }).join(`
22877
22877
  `), e.removeAttribute(a), t();
@@ -24479,10 +24479,24 @@ 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) {
24482
- const A = document.querySelector(`#${i.id}`);
24483
- A.onclick = async (y) => {
24484
- y.preventDefault(), console.log("click", y), console.log(i.customOpenMethod);
24485
- const k = await i.customOpenMethod({
24482
+ const A = document.querySelector(`#${i.id}`), y = document.querySelector(
24483
+ `[for="${i.id}"]`
24484
+ );
24485
+ A.onclick = async (k) => {
24486
+ k.preventDefault(), console.log("click", k), console.log(i.customOpenMethod);
24487
+ const S = await i.customOpenMethod({
24488
+ multiple: !1,
24489
+ filters: [
24490
+ {
24491
+ name: "Trustee key",
24492
+ extensions: ["trustee-key"]
24493
+ }
24494
+ ]
24495
+ });
24496
+ l.value.push(...S), console.log(S), console.log(l.value);
24497
+ }, y.onclick = async (k) => {
24498
+ k.preventDefault(), console.log("click", k), console.log(i.customOpenMethod);
24499
+ const S = await i.customOpenMethod({
24486
24500
  multiple: !1,
24487
24501
  filters: [
24488
24502
  {
@@ -24491,7 +24505,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24491
24505
  }
24492
24506
  ]
24493
24507
  });
24494
- l.value.push(...k), console.log(k), console.log(l.value);
24508
+ l.value.push(...S), console.log(S), console.log(l.value);
24495
24509
  };
24496
24510
  }
24497
24511
  }), l1(
@@ -24509,18 +24523,18 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24509
24523
  n.value = !1;
24510
24524
  }, v = (A) => {
24511
24525
  const y = Array.from(A), k = new DataTransfer();
24512
- for (let w of y) {
24513
- const N = w.name.split(".").pop();
24526
+ for (let S of y) {
24527
+ const N = S.name.split(".").pop();
24514
24528
  if (C.value.includes(
24515
24529
  `.${N.toLowerCase()}`
24516
24530
  )) {
24517
- const Q = new File([w], w.name, {
24518
- type: w.type,
24519
- lastModified: w.lastModified
24531
+ const Q = new File([S], S.name, {
24532
+ type: S.type,
24533
+ lastModified: S.lastModified
24520
24534
  });
24521
24535
  k.items.add(Q);
24522
24536
  } else
24523
- r("fileFormatNotAccepted", w.name);
24537
+ r("fileFormatNotAccepted", S.name);
24524
24538
  }
24525
24539
  return k.files;
24526
24540
  }, p = E(() => i.accept.split(",")), H = E(() => i.accept.split(",").join(", ")), C = E(
@@ -24544,7 +24558,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24544
24558
  r("download", A);
24545
24559
  };
24546
24560
  return (A, y) => {
24547
- const k = D("AVIcon"), w = B2("tooltip");
24561
+ const k = D("AVIcon"), S = B2("tooltip");
24548
24562
  return d(), h("div", TQ, [
24549
24563
  e.disableLabel ? I("", !0) : (d(), h("label", {
24550
24564
  key: 0,
@@ -24559,7 +24573,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24559
24573
  icon: "circle-question",
24560
24574
  class: "AVFileInput--tooltip-icon"
24561
24575
  }, null, 512)), [
24562
- [w, e.tooltipText]
24576
+ [S, e.tooltipText]
24563
24577
  ]) : I("", !0)
24564
24578
  ])
24565
24579
  ], 8, IQ)),
@@ -24689,7 +24703,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
24689
24703
  };
24690
24704
  }
24691
24705
  });
24692
- const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-7cf07532"]]), 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({
24706
+ const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-f094e09e"]]), 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({
24693
24707
  __name: "AVRadio",
24694
24708
  props: {
24695
24709
  id: {
@@ -26657,7 +26671,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26657
26671
  O.forEach((Z) => O[Z] = Z + 1);
26658
26672
  const e1 = O.indexOf(Math.ceil(L.value / 2)) + 1, r1 = O.slice(0, e1), U = O.slice(e1);
26659
26673
  return U.length ? [r1, U] : [r1];
26660
- }), w = E(() => r.partialResults ? r.partialResults[r.option.reference] : null), N = (O, e1 = 1) => {
26674
+ }), S = E(() => r.partialResults ? r.partialResults[r.option.reference] : null), N = (O, e1 = 1) => {
26661
26675
  o("checked", {
26662
26676
  reference: O,
26663
26677
  amount: e1
@@ -26804,15 +26818,15 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26804
26818
  }, null, 8, ["checked", "rank", "exclusive-error", "invalid", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
26805
26819
  ]))), 128))
26806
26820
  ], 6)) : I("", !0),
26807
- w.value && (e.observerMode || e.disabled) ? (d(), h("div", i21, [
26821
+ S.value && (e.observerMode || e.disabled) ? (d(), h("div", i21, [
26808
26822
  T(r1, {
26809
26823
  icon: "user",
26810
26824
  class: "AVOption--realtime-results-icon"
26811
26825
  }),
26812
- f("span", null, x(m.value ? `${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")}`), 1),
26813
- w.value.showPercentage ? (d(), h(a1, { key: 0 }, [
26826
+ f("span", null, x(m.value ? `${S.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")} ${S.value.results.count}` : `${S.value.results.count} ${S.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")}`), 1),
26827
+ S.value.showPercentage ? (d(), h(a1, { key: 0 }, [
26814
26828
  n21,
26815
- f("span", null, x(`${w.value.results.percentage}%`), 1)
26829
+ f("span", null, x(`${S.value.results.percentage}%`), 1)
26816
26830
  ], 64)) : I("", !0)
26817
26831
  ])) : I("", !0)
26818
26832
  ], 2)
@@ -26838,7 +26852,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26838
26852
  ]),
26839
26853
  _: 2
26840
26854
  }, [
26841
- !e.disabled && w.value && !e.observerMode ? {
26855
+ !e.disabled && S.value && !e.observerMode ? {
26842
26856
  name: "results",
26843
26857
  fn: s1(() => [
26844
26858
  f("div", s21, [
@@ -26846,10 +26860,10 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
26846
26860
  icon: "user",
26847
26861
  class: "AVOption--realtime-results-icon"
26848
26862
  }),
26849
- f("span", null, x(m.value ? `${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")}`), 1),
26850
- w.value.showPercentage ? (d(), h(a1, { key: 0 }, [
26863
+ f("span", null, x(m.value ? `${S.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")} ${S.value.results.count}` : `${S.value.results.count} ${S.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")}`), 1),
26864
+ S.value.showPercentage ? (d(), h(a1, { key: 0 }, [
26851
26865
  l21,
26852
- f("span", null, x(`${w.value.results.percentage}%`), 1)
26866
+ f("span", null, x(`${S.value.results.percentage}%`), 1)
26853
26867
  ], 64)) : I("", !0)
26854
26868
  ])
26855
26869
  ]),
@@ -27769,7 +27783,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27769
27783
  var N;
27770
27784
  return (N = n.contest.customRulesets) == null ? void 0 : N.includes("belgian_ballot_rules");
27771
27785
  }
27772
- ), z = E(() => w(n.contest.options).some(
27786
+ ), z = E(() => S(n.contest.options).some(
27773
27787
  (N) => N.exclusive
27774
27788
  )), L = E(() => n.contest);
27775
27789
  l1(L, (N, R) => {
@@ -27795,7 +27809,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27795
27809
  ...n.selectionPile,
27796
27810
  optionSelections: O
27797
27811
  });
27798
- }, k = (N) => s("view-candidate", N), w = (N, R) => N.flatMap((Q) => (R && (Q.parentContent = R), Q.children ? [Q, ...w(Q.children, Q)] : [Q]));
27812
+ }, k = (N) => s("view-candidate", N), S = (N, R) => N.flatMap((Q) => (R && (Q.parentContent = R), Q.children ? [Q, ...S(Q.children, Q)] : [Q]));
27799
27813
  return (N, R) => {
27800
27814
  const Q = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"), r1 = D("AVBlankOption"), U = D("AVSubmissionHelper");
27801
27815
  return d(), h("div", {
@@ -27816,7 +27830,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
27816
27830
  key: 1,
27817
27831
  ref_key: "search",
27818
27832
  ref: m,
27819
- options: w(e.contest.options),
27833
+ options: S(e.contest.options),
27820
27834
  "options-container-id": "ballot_options"
27821
27835
  }, null, 8, ["options"])) : I("", !0),
27822
27836
  J31,
@@ -28227,7 +28241,7 @@ const V41 = {
28227
28241
  ...n.contestSelection,
28228
28242
  piles: [r.value]
28229
28243
  });
28230
- }, w = (U) => {
28244
+ }, S = (U) => {
28231
28245
  r.value = U, z.value || k();
28232
28246
  }, N = () => {
28233
28247
  r.value = {
@@ -28286,7 +28300,7 @@ const V41 = {
28286
28300
  includeLazyErrors: e.includeLazyErrors,
28287
28301
  "show-submission-helper": e.showSubmissionHelper,
28288
28302
  "image-option": e.imageOption,
28289
- "onUpdate:selectionPile": w,
28303
+ "onUpdate:selectionPile": S,
28290
28304
  "onUpdate:errors": Z[0] || (Z[0] = (F1) => O(F1))
28291
28305
  }, null, 8, ["selection-pile", "partial-results", "contest", "weight", "includeLazyErrors", "show-submission-helper", "image-option"]),
28292
28306
  f("div", H41, [
@@ -28410,7 +28424,7 @@ const V41 = {
28410
28424
  weight: e.weight,
28411
28425
  "image-option": e.imageOption,
28412
28426
  "show-submission-helper": e.showSubmissionHelper,
28413
- "onUpdate:selectionPile": w,
28427
+ "onUpdate:selectionPile": S,
28414
28428
  "onUpdate:errors": Z[7] || (Z[7] = (a2) => O(a2)),
28415
28429
  onViewCandidate: e1
28416
28430
  }, null, 8, ["selection-pile", "partial-results", "includeLazyErrors", "contest", "weight", "image-option", "show-submission-helper"]))