@assemblyvoting/ui-library 3.3.6-beta.3 → 3.3.6-beta.5
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as W, h as Z4, getCurrentInstance as O3, effectScope as x$, inject as k1, onMounted as z1, onUnmounted as is, shallowRef as ns, ref as n1, computed as E, onBeforeMount as k$, watch as s1, Fragment as K, isRef as N$, createVNode as T, Text as S$, pushScopeId as Z1, popScopeId as Y1, nextTick as ss, openBlock as
|
1
|
+
import { defineComponent as W, h as Z4, getCurrentInstance as O3, effectScope as x$, inject as k1, onMounted as z1, onUnmounted as is, shallowRef as ns, ref as n1, computed as E, onBeforeMount as k$, watch as s1, Fragment as K, isRef as N$, createVNode as T, Text as S$, pushScopeId as Z1, popScopeId as Y1, nextTick as ss, openBlock as d, createBlock as Z, createElementBlock as h, normalizeClass as j, renderSlot as g1, normalizeProps as w$, guardReactiveProps as T$, withScopeId as I$, resolveComponent as P, normalizeStyle as B1, withKeys as U8, createElementVNode as o, createCommentVNode as I, mergeProps as W8, withCtx as i1, createApp as E$, toDisplayString as g, createTextVNode as o1, resolveDirective as h2, withDirectives as j1, reactive as ls, provide as rs, renderList as f1, Transition as Y2, unref as D, useCssVars as D$, vShow as E4, withModifiers as m2, createSlots as P$, vModelText as os } from "vue";
|
2
2
|
/*!
|
3
3
|
* shared v9.13.1
|
4
4
|
* (c) 2024 kazuya kawaguchi
|
@@ -196,7 +196,7 @@ const eU = /<\/?[\w\s="/.':;#-\/]+>/, cU = (e) => eU.test(e), M2 = " ", aU = "\r
|
|
196
196
|
function nU(e) {
|
197
197
|
const c = e;
|
198
198
|
let a = 0, t = 1, i = 1, n = 0;
|
199
|
-
const s = (S) => c[S] === aU && c[S + 1] === $1, l = (S) => c[S] === $1, r = (S) => c[S] === iU, f = (S) => c[S] === tU, u = (S) => s(S) || l(S) || r(S) || f(S), v = () => a,
|
199
|
+
const s = (S) => c[S] === aU && c[S + 1] === $1, l = (S) => c[S] === $1, r = (S) => c[S] === iU, f = (S) => c[S] === tU, u = (S) => s(S) || l(S) || r(S) || f(S), v = () => a, m = () => t, p = () => i, V = () => n, b = (S) => s(S) || r(S) || f(S) ? $1 : c[S], A = () => b(a), _ = () => b(a + n);
|
200
200
|
function C() {
|
201
201
|
return n = 0, u(a) && (t++, i = 0), s(a) && a++, a++, i++, c[a];
|
202
202
|
}
|
@@ -217,7 +217,7 @@ function nU(e) {
|
|
217
217
|
}
|
218
218
|
return {
|
219
219
|
index: v,
|
220
|
-
line:
|
220
|
+
line: m,
|
221
221
|
column: p,
|
222
222
|
peekOffset: V,
|
223
223
|
charAt: b,
|
@@ -255,12 +255,12 @@ function rU(e, c = {}) {
|
|
255
255
|
u(V1);
|
256
256
|
}
|
257
257
|
}
|
258
|
-
function
|
258
|
+
function m(z, H, B) {
|
259
259
|
z.endLoc = n(), z.currentType = H;
|
260
260
|
const e1 = { type: H };
|
261
261
|
return a && (e1.loc = P4(z.startLoc, z.endLoc)), B != null && (e1.value = B), e1;
|
262
262
|
}
|
263
|
-
const p = (z) =>
|
263
|
+
const p = (z) => m(
|
264
264
|
z,
|
265
265
|
14
|
266
266
|
/* TokenTypes.EOF */
|
@@ -533,14 +533,14 @@ function rU(e, c = {}) {
|
|
533
533
|
let B = null;
|
534
534
|
switch (z.currentChar()) {
|
535
535
|
case "{":
|
536
|
-
return H.braceNest >= 1 && v(c1.NOT_ALLOW_NEST_PLACEHOLDER, n(), 0), z.next(), B =
|
536
|
+
return H.braceNest >= 1 && v(c1.NOT_ALLOW_NEST_PLACEHOLDER, n(), 0), z.next(), B = m(
|
537
537
|
H,
|
538
538
|
2,
|
539
539
|
"{"
|
540
540
|
/* TokenChars.BraceLeft */
|
541
541
|
), A(z), H.braceNest++, B;
|
542
542
|
case "}":
|
543
|
-
return H.braceNest > 0 && H.currentType === 2 && v(c1.EMPTY_PLACEHOLDER, n(), 0), z.next(), B =
|
543
|
+
return H.braceNest > 0 && H.currentType === 2 && v(c1.EMPTY_PLACEHOLDER, n(), 0), z.next(), B = m(
|
544
544
|
H,
|
545
545
|
3,
|
546
546
|
"}"
|
@@ -551,17 +551,17 @@ function rU(e, c = {}) {
|
|
551
551
|
default: {
|
552
552
|
let L1 = !0, H1 = !0, V1 = !0;
|
553
553
|
if (R(z))
|
554
|
-
return H.braceNest > 0 && v(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), B =
|
554
|
+
return H.braceNest > 0 && v(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), B = m(H, 1, p1(z)), H.braceNest = 0, H.inLinked = !1, B;
|
555
555
|
if (H.braceNest > 0 && (H.currentType === 5 || H.currentType === 6 || H.currentType === 7))
|
556
556
|
return v(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), H.braceNest = 0, k3(z, H);
|
557
557
|
if (L1 = M(z, H))
|
558
|
-
return B =
|
558
|
+
return B = m(H, 5, _2(z)), A(z), B;
|
559
559
|
if (H1 = x(z, H))
|
560
|
-
return B =
|
560
|
+
return B = m(H, 6, F1(z)), A(z), B;
|
561
561
|
if (V1 = k(z, H))
|
562
|
-
return B =
|
562
|
+
return B = m(H, 7, t3(z)), A(z), B;
|
563
563
|
if (!L1 && !H1 && !V1)
|
564
|
-
return B =
|
564
|
+
return B = m(H, 13, _3(z)), v(c1.INVALID_TOKEN_IN_PLACEHOLDER, n(), 0, B.value), A(z), B;
|
565
565
|
break;
|
566
566
|
}
|
567
567
|
}
|
@@ -573,28 +573,28 @@ function rU(e, c = {}) {
|
|
573
573
|
const L1 = z.currentChar();
|
574
574
|
switch ((B === 8 || B === 9 || B === 12 || B === 10) && (L1 === $1 || L1 === M2) && v(c1.INVALID_LINKED_FORMAT, n(), 0), L1) {
|
575
575
|
case "@":
|
576
|
-
return z.next(), e1 =
|
576
|
+
return z.next(), e1 = m(
|
577
577
|
H,
|
578
578
|
8,
|
579
579
|
"@"
|
580
580
|
/* TokenChars.LinkedAlias */
|
581
581
|
), H.inLinked = !0, e1;
|
582
582
|
case ".":
|
583
|
-
return A(z), z.next(),
|
583
|
+
return A(z), z.next(), m(
|
584
584
|
H,
|
585
585
|
9,
|
586
586
|
"."
|
587
587
|
/* TokenChars.LinkedDot */
|
588
588
|
);
|
589
589
|
case ":":
|
590
|
-
return A(z), z.next(),
|
590
|
+
return A(z), z.next(), m(
|
591
591
|
H,
|
592
592
|
10,
|
593
593
|
":"
|
594
594
|
/* TokenChars.LinkedDelimiter */
|
595
595
|
);
|
596
596
|
default:
|
597
|
-
return R(z) ? (e1 =
|
597
|
+
return R(z) ? (e1 = m(H, 1, p1(z)), H.braceNest = 0, H.inLinked = !1, e1) : L(z, H) || N(z, H) ? (A(z), F2(z, H)) : S(z, H) ? (A(z), m(H, 12, y3(z))) : y(z, H) ? (A(z), L1 === "{" ? x3(z, H) || e1 : m(H, 11, q(z))) : (B === 8 && v(c1.INVALID_LINKED_FORMAT, n(), 0), H.braceNest = 0, H.inLinked = !1, k3(z, H));
|
598
598
|
}
|
599
599
|
}
|
600
600
|
function k3(z, H) {
|
@@ -610,7 +610,7 @@ function rU(e, c = {}) {
|
|
610
610
|
case "{":
|
611
611
|
return x3(z, H) || p(H);
|
612
612
|
case "}":
|
613
|
-
return v(c1.UNBALANCED_CLOSING_BRACE, n(), 0), z.next(),
|
613
|
+
return v(c1.UNBALANCED_CLOSING_BRACE, n(), 0), z.next(), m(
|
614
614
|
H,
|
615
615
|
3,
|
616
616
|
"}"
|
@@ -620,12 +620,12 @@ function rU(e, c = {}) {
|
|
620
620
|
return F2(z, H) || p(H);
|
621
621
|
default: {
|
622
622
|
if (R(z))
|
623
|
-
return B =
|
623
|
+
return B = m(H, 1, p1(z)), H.braceNest = 0, H.inLinked = !1, B;
|
624
624
|
const { isModulo: L1, hasSpace: H1 } = X(z);
|
625
625
|
if (L1)
|
626
|
-
return H1 ?
|
626
|
+
return H1 ? m(H, 0, V2(z)) : m(H, 4, a2(z));
|
627
627
|
if (O(z))
|
628
|
-
return
|
628
|
+
return m(H, 0, V2(z));
|
629
629
|
break;
|
630
630
|
}
|
631
631
|
}
|
@@ -633,7 +633,7 @@ function rU(e, c = {}) {
|
|
633
633
|
}
|
634
634
|
function n8() {
|
635
635
|
const { currentType: z, offset: H, startLoc: B, endLoc: e1 } = r;
|
636
|
-
return r.lastType = z, r.lastOffset = H, r.lastStartLoc = B, r.lastEndLoc = e1, r.offset = i(), r.startLoc = n(), t.currentChar() === x2 ?
|
636
|
+
return r.lastType = z, r.lastOffset = H, r.lastStartLoc = B, r.lastEndLoc = e1, r.offset = i(), r.startLoc = n(), t.currentChar() === x2 ? m(
|
637
637
|
r,
|
638
638
|
14
|
639
639
|
/* TokenTypes.EOF */
|
@@ -701,7 +701,7 @@ function mU(e = {}) {
|
|
701
701
|
const k = M.context(), { lastOffset: L, lastStartLoc: S } = k, N = s(9, L, S);
|
702
702
|
return N.value = x.replace(fU, uU), M.nextToken(), l(N, M.currentOffset(), M.currentPosition()), N;
|
703
703
|
}
|
704
|
-
function
|
704
|
+
function m(M) {
|
705
705
|
const x = M.nextToken(), k = M.context(), { lastOffset: L, lastStartLoc: S } = k, N = s(8, L, S);
|
706
706
|
return x.type !== 12 ? (i(M, c1.UNEXPECTED_EMPTY_LINKED_MODIFIER, k.lastStartLoc, 0), N.value = "", l(N, L, S), {
|
707
707
|
nextConsumeToken: x,
|
@@ -718,7 +718,7 @@ function mU(e = {}) {
|
|
718
718
|
const x = M.context(), k = s(6, x.offset, x.startLoc);
|
719
719
|
let L = M.nextToken();
|
720
720
|
if (L.type === 9) {
|
721
|
-
const S =
|
721
|
+
const S = m(M);
|
722
722
|
k.modifier = S.node, L = S.nextConsumeToken || M.nextToken();
|
723
723
|
}
|
724
724
|
switch (L.type !== 10 && i(M, c1.UNEXPECTED_LEXICAL_ANALYSIS, x.lastStartLoc, 0, t2(L)), L = M.nextToken(), L.type === 2 && (L = M.nextToken()), L.type) {
|
@@ -971,7 +971,7 @@ function VU(e, c) {
|
|
971
971
|
const _ = ++l.indentLevel;
|
972
972
|
A && u(_);
|
973
973
|
}
|
974
|
-
function
|
974
|
+
function m(A = !0) {
|
975
975
|
const _ = --l.indentLevel;
|
976
976
|
A && u(_);
|
977
977
|
}
|
@@ -982,7 +982,7 @@ function VU(e, c) {
|
|
982
982
|
context: r,
|
983
983
|
push: f,
|
984
984
|
indent: v,
|
985
|
-
deindent:
|
985
|
+
deindent: m,
|
986
986
|
newline: p,
|
987
987
|
helper: (A) => `_${A}`,
|
988
988
|
needIndent: () => l.needIndent
|
@@ -1305,38 +1305,38 @@ function NU(e) {
|
|
1305
1305
|
function SU(e) {
|
1306
1306
|
const c = [];
|
1307
1307
|
let a = -1, t = 0, i = 0, n, s, l, r, f, u, v;
|
1308
|
-
const
|
1309
|
-
|
1308
|
+
const m = [];
|
1309
|
+
m[
|
1310
1310
|
0
|
1311
1311
|
/* Actions.APPEND */
|
1312
1312
|
] = () => {
|
1313
1313
|
s === void 0 ? s = l : s += l;
|
1314
|
-
},
|
1314
|
+
}, m[
|
1315
1315
|
1
|
1316
1316
|
/* Actions.PUSH */
|
1317
1317
|
] = () => {
|
1318
1318
|
s !== void 0 && (c.push(s), s = void 0);
|
1319
|
-
},
|
1319
|
+
}, m[
|
1320
1320
|
2
|
1321
1321
|
/* Actions.INC_SUB_PATH_DEPTH */
|
1322
1322
|
] = () => {
|
1323
|
-
|
1323
|
+
m[
|
1324
1324
|
0
|
1325
1325
|
/* Actions.APPEND */
|
1326
1326
|
](), i++;
|
1327
|
-
},
|
1327
|
+
}, m[
|
1328
1328
|
3
|
1329
1329
|
/* Actions.PUSH_SUB_PATH */
|
1330
1330
|
] = () => {
|
1331
1331
|
if (i > 0)
|
1332
|
-
i--, t = 4,
|
1332
|
+
i--, t = 4, m[
|
1333
1333
|
0
|
1334
1334
|
/* Actions.APPEND */
|
1335
1335
|
]();
|
1336
1336
|
else {
|
1337
1337
|
if (i = 0, s === void 0 || (s = NU(s), s === !1))
|
1338
1338
|
return !1;
|
1339
|
-
|
1339
|
+
m[
|
1340
1340
|
1
|
1341
1341
|
/* Actions.PUSH */
|
1342
1342
|
]();
|
@@ -1345,14 +1345,14 @@ function SU(e) {
|
|
1345
1345
|
function p() {
|
1346
1346
|
const V = e[a + 1];
|
1347
1347
|
if (t === 5 && V === "'" || t === 6 && V === '"')
|
1348
|
-
return a++, l = "\\" + V,
|
1348
|
+
return a++, l = "\\" + V, m[
|
1349
1349
|
0
|
1350
1350
|
/* Actions.APPEND */
|
1351
1351
|
](), !0;
|
1352
1352
|
}
|
1353
1353
|
for (; t !== null; )
|
1354
1354
|
if (a++, n = e[a], !(n === "\\" && p())) {
|
1355
|
-
if (r = kU(n), v = R2[t], f = v[r] || v.l || 8, f === 8 || (t = f[0], f[1] !== void 0 && (u =
|
1355
|
+
if (r = kU(n), v = R2[t], f = v[r] || v.l || 8, f === 8 || (t = f[0], f[1] !== void 0 && (u = m[f[1]], u && (l = n, u() === !1))))
|
1356
1356
|
return;
|
1357
1357
|
if (t === 7)
|
1358
1358
|
return c;
|
@@ -1397,7 +1397,7 @@ function FU(e = {}) {
|
|
1397
1397
|
const C = M1(e.messages) ? e.messages(_) : v1(e.messages) ? e.messages[_] : !1;
|
1398
1398
|
return C || (e.parent ? e.parent.message(_) : EU);
|
1399
1399
|
}
|
1400
|
-
const v = (_) => e.modifiers ? e.modifiers[_] : IU,
|
1400
|
+
const v = (_) => e.modifiers ? e.modifiers[_] : IU, m = t1(e.processor) && M1(e.processor.normalize) ? e.processor.normalize : PU, p = t1(e.processor) && M1(e.processor.interpolate) ? e.processor.interpolate : OU, V = t1(e.processor) && $(e.processor.type) ? e.processor.type : DU, A = {
|
1401
1401
|
list: l,
|
1402
1402
|
named: f,
|
1403
1403
|
plural: n,
|
@@ -1414,7 +1414,7 @@ function FU(e = {}) {
|
|
1414
1414
|
message: u,
|
1415
1415
|
type: V,
|
1416
1416
|
interpolate: p,
|
1417
|
-
normalize:
|
1417
|
+
normalize: m,
|
1418
1418
|
values: R1({}, s, r)
|
1419
1419
|
};
|
1420
1420
|
return A;
|
@@ -1593,7 +1593,7 @@ const Ri = (e) => {
|
|
1593
1593
|
}, tW = () => bs;
|
1594
1594
|
let Fi = 0;
|
1595
1595
|
function iW(e = {}) {
|
1596
|
-
const c = M1(e.onWarn) ? e.onWarn : w1, a = $(e.version) ? e.version : QU, t = $(e.locale) || M1(e.locale) ? e.locale : v3, i = M1(t) ? v3 : t, n = C1(e.fallbackLocale) || t1(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, s = t1(e.messages) ? e.messages : { [i]: {} }, l = t1(e.datetimeFormats) ? e.datetimeFormats : { [i]: {} }, r = t1(e.numberFormats) ? e.numberFormats : { [i]: {} }, f = R1({}, e.modifiers || {}, KU()), u = e.pluralRules || {}, v = M1(e.missing) ? e.missing : null,
|
1596
|
+
const c = M1(e.onWarn) ? e.onWarn : w1, a = $(e.version) ? e.version : QU, t = $(e.locale) || M1(e.locale) ? e.locale : v3, i = M1(t) ? v3 : t, n = C1(e.fallbackLocale) || t1(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, s = t1(e.messages) ? e.messages : { [i]: {} }, l = t1(e.datetimeFormats) ? e.datetimeFormats : { [i]: {} }, r = t1(e.numberFormats) ? e.numberFormats : { [i]: {} }, f = R1({}, e.modifiers || {}, KU()), u = e.pluralRules || {}, v = M1(e.missing) ? e.missing : null, m = l1(e.missingWarn) || I2(e.missingWarn) ? e.missingWarn : !0, p = l1(e.fallbackWarn) || I2(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, b = !!e.unresolving, A = M1(e.postTranslation) ? e.postTranslation : null, _ = t1(e.processor) ? e.processor : null, C = l1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, M = !!e.escapeParameter, x = M1(e.messageCompiler) ? e.messageCompiler : Ms;
|
1597
1597
|
process.env.NODE_ENV !== "production" && M1(e.messageCompiler) && ms(K2(U1.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
1598
1598
|
const k = M1(e.messageResolver) ? e.messageResolver : gs || wU, L = M1(e.localeFallbacker) ? e.localeFallbacker : Hs || JU, S = v1(e.fallbackContext) ? e.fallbackContext : void 0, N = e, y = v1(N.__datetimeFormatters) ? N.__datetimeFormatters : /* @__PURE__ */ new Map(), R = v1(N.__numberFormatters) ? N.__numberFormatters : /* @__PURE__ */ new Map(), X = v1(N.__meta) ? N.__meta : {};
|
1599
1599
|
Fi++;
|
@@ -1606,7 +1606,7 @@ function iW(e = {}) {
|
|
1606
1606
|
modifiers: f,
|
1607
1607
|
pluralRules: u,
|
1608
1608
|
missing: v,
|
1609
|
-
missingWarn:
|
1609
|
+
missingWarn: m,
|
1610
1610
|
fallbackWarn: p,
|
1611
1611
|
fallbackFormat: V,
|
1612
1612
|
unresolving: b,
|
@@ -1779,8 +1779,8 @@ function oW(e, c) {
|
|
1779
1779
|
}
|
1780
1780
|
const qi = () => "", e2 = (e) => M1(e);
|
1781
1781
|
function $i(e, ...c) {
|
1782
|
-
const { fallbackFormat: a, postTranslation: t, unresolving: i, messageCompiler: n, fallbackLocale: s, messages: l } = e, [r, f] = V8(...c), u = l1(f.missingWarn) ? f.missingWarn : e.missingWarn, v = l1(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn,
|
1783
|
-
|
1782
|
+
const { fallbackFormat: a, postTranslation: t, unresolving: i, messageCompiler: n, fallbackLocale: s, messages: l } = e, [r, f] = V8(...c), u = l1(f.missingWarn) ? f.missingWarn : e.missingWarn, v = l1(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, m = l1(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, p = !!f.resolvedMessage, V = $(f.default) || l1(f.default) ? l1(f.default) ? n ? r : () => r : f.default : a ? n ? r : () => r : "", b = a || V !== "", A = Y8(e, f);
|
1783
|
+
m && fW(f);
|
1784
1784
|
let [_, C, M] = p ? [
|
1785
1785
|
r,
|
1786
1786
|
A,
|
@@ -1816,13 +1816,13 @@ function fW(e) {
|
|
1816
1816
|
}
|
1817
1817
|
function Ns(e, c, a, t, i, n) {
|
1818
1818
|
const { messages: s, onWarn: l, messageResolver: r, localeFallbacker: f } = e, u = f(e, t, a);
|
1819
|
-
let v = {},
|
1819
|
+
let v = {}, m, p = null, V = a, b = null;
|
1820
1820
|
const A = "translate";
|
1821
1821
|
for (let _ = 0; _ < u.length; _++) {
|
1822
|
-
if (
|
1822
|
+
if (m = b = u[_], process.env.NODE_ENV !== "production" && a !== m && !Ls(a, m) && e6(i, c) && l(K2(U1.FALLBACK_TO_TRANSLATE, {
|
1823
1823
|
key: c,
|
1824
|
-
target:
|
1825
|
-
})), process.env.NODE_ENV !== "production" && a !==
|
1824
|
+
target: m
|
1825
|
+
})), process.env.NODE_ENV !== "production" && a !== m) {
|
1826
1826
|
const k = e.__v_emitter;
|
1827
1827
|
k && k.emit("fallback", {
|
1828
1828
|
type: A,
|
@@ -1832,7 +1832,7 @@ function Ns(e, c, a, t, i, n) {
|
|
1832
1832
|
groupId: `${A}:${c}`
|
1833
1833
|
});
|
1834
1834
|
}
|
1835
|
-
v = s[
|
1835
|
+
v = s[m] || {};
|
1836
1836
|
let C = null, M, x;
|
1837
1837
|
if (process.env.NODE_ENV !== "production" && r2 && (C = window.performance.now(), M = "intlify-message-resolve-start", x = "intlify-message-resolve-end", K1 && K1(M)), (p = r(v, c)) === null && (p = v[c]), process.env.NODE_ENV !== "production" && r2) {
|
1838
1838
|
const k = window.performance.now(), L = e.__v_emitter;
|
@@ -1846,12 +1846,12 @@ function Ns(e, c, a, t, i, n) {
|
|
1846
1846
|
}
|
1847
1847
|
if ($(p) || E2(p) || e2(p))
|
1848
1848
|
break;
|
1849
|
-
if (!nW(
|
1849
|
+
if (!nW(m, u)) {
|
1850
1850
|
const k = Q8(
|
1851
1851
|
e,
|
1852
1852
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
1853
1853
|
c,
|
1854
|
-
|
1854
|
+
m,
|
1855
1855
|
n,
|
1856
1856
|
A
|
1857
1857
|
);
|
@@ -1859,27 +1859,27 @@ function Ns(e, c, a, t, i, n) {
|
|
1859
1859
|
}
|
1860
1860
|
V = b;
|
1861
1861
|
}
|
1862
|
-
return [p,
|
1862
|
+
return [p, m, v];
|
1863
1863
|
}
|
1864
1864
|
function Ss(e, c, a, t, i, n) {
|
1865
1865
|
const { messageCompiler: s, warnHtmlMessage: l } = e;
|
1866
1866
|
if (e2(t)) {
|
1867
|
-
const
|
1868
|
-
return
|
1867
|
+
const m = t;
|
1868
|
+
return m.locale = m.locale || a, m.key = m.key || c, m;
|
1869
1869
|
}
|
1870
1870
|
if (s == null) {
|
1871
|
-
const
|
1872
|
-
return
|
1871
|
+
const m = () => t;
|
1872
|
+
return m.locale = a, m.key = c, m;
|
1873
1873
|
}
|
1874
1874
|
let r = null, f, u;
|
1875
1875
|
process.env.NODE_ENV !== "production" && r2 && (r = window.performance.now(), f = "intlify-message-compilation-start", u = "intlify-message-compilation-end", K1 && K1(f));
|
1876
1876
|
const v = s(t, mW(e, a, i, t, l, n));
|
1877
1877
|
if (process.env.NODE_ENV !== "production" && r2) {
|
1878
|
-
const
|
1878
|
+
const m = window.performance.now(), p = e.__v_emitter;
|
1879
1879
|
p && r && p.emit("message-compilation", {
|
1880
1880
|
type: "message-compilation",
|
1881
1881
|
message: t,
|
1882
|
-
time:
|
1882
|
+
time: m - r,
|
1883
1883
|
groupId: `translate:${c}`
|
1884
1884
|
}), f && u && K1 && Q2 && (K1(u), Q2("intlify message compilation", f, u));
|
1885
1885
|
}
|
@@ -1936,7 +1936,7 @@ function dW(e) {
|
|
1936
1936
|
return e.loc.source;
|
1937
1937
|
}
|
1938
1938
|
function vW(e, c, a, t) {
|
1939
|
-
const { modifiers: i, pluralRules: n, messageResolver: s, fallbackLocale: l, fallbackWarn: r, missingWarn: f, fallbackContext: u } = e,
|
1939
|
+
const { modifiers: i, pluralRules: n, messageResolver: s, fallbackLocale: l, fallbackWarn: r, missingWarn: f, fallbackContext: u } = e, m = {
|
1940
1940
|
locale: c,
|
1941
1941
|
modifiers: i,
|
1942
1942
|
pluralRules: n,
|
@@ -1956,7 +1956,7 @@ function vW(e, c, a, t) {
|
|
1956
1956
|
return e2(V) ? V : qi;
|
1957
1957
|
}
|
1958
1958
|
};
|
1959
|
-
return e.processor && (
|
1959
|
+
return e.processor && (m.processor = e.processor), t.list && (m.list = t.list), t.named && (m.named = t.named), S1(t.plural) && (m.pluralIndex = t.plural), m;
|
1960
1960
|
}
|
1961
1961
|
const Ui = typeof Intl < "u", ws = {
|
1962
1962
|
dateTimeFormat: Ui && typeof Intl.DateTimeFormat < "u",
|
@@ -1966,7 +1966,7 @@ function Wi(e, ...c) {
|
|
1966
1966
|
const { datetimeFormats: a, unresolving: t, fallbackLocale: i, onWarn: n, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
|
1967
1967
|
if (process.env.NODE_ENV !== "production" && !ws.dateTimeFormat)
|
1968
1968
|
return n(K2(U1.CANNOT_FORMAT_DATE)), O4;
|
1969
|
-
const [r, f, u, v] = M8(...c),
|
1969
|
+
const [r, f, u, v] = M8(...c), m = l1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = l1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
|
1970
1970
|
e,
|
1971
1971
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
1972
1972
|
i,
|
@@ -1992,7 +1992,7 @@ function Wi(e, ...c) {
|
|
1992
1992
|
}
|
1993
1993
|
if (_ = a[C] || {}, M = _[r], t1(M))
|
1994
1994
|
break;
|
1995
|
-
Q8(e, r, C,
|
1995
|
+
Q8(e, r, C, m, L), x = k;
|
1996
1996
|
}
|
1997
1997
|
if (!t1(M) || !$(C))
|
1998
1998
|
return t ? X4 : r;
|
@@ -2060,7 +2060,7 @@ function Ji(e, ...c) {
|
|
2060
2060
|
const { numberFormats: a, unresolving: t, fallbackLocale: i, onWarn: n, localeFallbacker: s } = e, { __numberFormatters: l } = e;
|
2061
2061
|
if (process.env.NODE_ENV !== "production" && !ws.numberFormat)
|
2062
2062
|
return n(K2(U1.CANNOT_FORMAT_NUMBER)), O4;
|
2063
|
-
const [r, f, u, v] = g8(...c),
|
2063
|
+
const [r, f, u, v] = g8(...c), m = l1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = l1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
|
2064
2064
|
e,
|
2065
2065
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
2066
2066
|
i,
|
@@ -2086,7 +2086,7 @@ function Ji(e, ...c) {
|
|
2086
2086
|
}
|
2087
2087
|
if (_ = a[C] || {}, M = _[r], t1(M))
|
2088
2088
|
break;
|
2089
|
-
Q8(e, r, C,
|
2089
|
+
Q8(e, r, C, m, L), x = k;
|
2090
2090
|
}
|
2091
2091
|
if (!t1(M) || !$(C))
|
2092
2092
|
return t ? X4 : r;
|
@@ -2419,7 +2419,7 @@ function K8(e = {}, c) {
|
|
2419
2419
|
), u = s(
|
2420
2420
|
// prettier-ignore
|
2421
2421
|
a && r ? a.fallbackLocale.value : $(e.fallbackLocale) || C1(e.fallbackLocale) || t1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : f.value
|
2422
|
-
), v = s(c6(f.value, e)),
|
2422
|
+
), v = s(c6(f.value, e)), m = s(t1(e.datetimeFormats) ? e.datetimeFormats : { [f.value]: {} }), p = s(t1(e.numberFormats) ? e.numberFormats : { [f.value]: {} });
|
2423
2423
|
let V = a ? a.missingWarn : l1(e.missingWarn) || I2(e.missingWarn) ? e.missingWarn : !0, b = a ? a.fallbackWarn : l1(e.fallbackWarn) || I2(e.fallbackWarn) ? e.fallbackWarn : !0, A = a ? a.fallbackRoot : l1(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, C = M1(e.missing) ? e.missing : null, M = M1(e.missing) ? en(e.missing) : null, x = M1(e.postTranslation) ? e.postTranslation : null, k = a ? a.warnHtmlMessage : l1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, L = !!e.escapeParameter;
|
2424
2424
|
const S = a ? a.modifiers : t1(e.modifiers) ? e.modifiers : {};
|
2425
2425
|
let N = e.pluralRules || a && a.pluralRules, y;
|
@@ -2444,7 +2444,7 @@ function K8(e = {}, c) {
|
|
2444
2444
|
messageCompiler: e.messageCompiler,
|
2445
2445
|
__meta: { framework: "vue" }
|
2446
2446
|
};
|
2447
|
-
w.datetimeFormats =
|
2447
|
+
w.datetimeFormats = m.value, w.numberFormats = p.value, w.__datetimeFormatters = t1(y) ? y.__datetimeFormatters : void 0, w.__numberFormatters = t1(y) ? y.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (w.__v_emitter = t1(y) ? y.__v_emitter : void 0);
|
2448
2448
|
const F = iW(w);
|
2449
2449
|
return i && Ri(F), F;
|
2450
2450
|
})(), N3(y, f.value, u.value);
|
@@ -2453,7 +2453,7 @@ function K8(e = {}, c) {
|
|
2453
2453
|
f.value,
|
2454
2454
|
u.value,
|
2455
2455
|
v.value,
|
2456
|
-
|
2456
|
+
m.value,
|
2457
2457
|
p.value
|
2458
2458
|
];
|
2459
2459
|
}
|
@@ -2467,7 +2467,7 @@ function K8(e = {}, c) {
|
|
2467
2467
|
set: (w) => {
|
2468
2468
|
u.value = w, y.fallbackLocale = u.value, N3(y, f.value, w);
|
2469
2469
|
}
|
2470
|
-
}), u1 = E(() => v.value), U = /* @__PURE__ */ E(() =>
|
2470
|
+
}), u1 = E(() => v.value), U = /* @__PURE__ */ E(() => m.value), Q = /* @__PURE__ */ E(() => p.value);
|
2471
2471
|
function y1() {
|
2472
2472
|
return M1(x) ? x : null;
|
2473
2473
|
}
|
@@ -2626,13 +2626,13 @@ function K8(e = {}, c) {
|
|
2626
2626
|
F = h1[w], S4(F, v.value[w]), y.messages = v.value;
|
2627
2627
|
}
|
2628
2628
|
function z(w) {
|
2629
|
-
return
|
2629
|
+
return m.value[w] || {};
|
2630
2630
|
}
|
2631
2631
|
function H(w, F) {
|
2632
|
-
|
2632
|
+
m.value[w] = F, y.datetimeFormats = m.value, Gi(y, w, F);
|
2633
2633
|
}
|
2634
2634
|
function B(w, F) {
|
2635
|
-
|
2635
|
+
m.value[w] = R1(m.value[w] || {}, F), y.datetimeFormats = m.value, Gi(y, w, F);
|
2636
2636
|
}
|
2637
2637
|
function e1(w) {
|
2638
2638
|
return p.value[w] || {};
|
@@ -2724,7 +2724,7 @@ function K8(e = {}, c) {
|
|
2724
2724
|
}), V1;
|
2725
2725
|
}
|
2726
2726
|
function kW(e) {
|
2727
|
-
const c = $(e.locale) ? e.locale : v3, a = $(e.fallbackLocale) || C1(e.fallbackLocale) || t1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, t = M1(e.missing) ? e.missing : void 0, i = l1(e.silentTranslationWarn) || I2(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, n = l1(e.silentFallbackWarn) || I2(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = l1(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, r = t1(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, u = M1(e.postTranslation) ? e.postTranslation : void 0, v = $(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0,
|
2727
|
+
const c = $(e.locale) ? e.locale : v3, a = $(e.fallbackLocale) || C1(e.fallbackLocale) || t1(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, t = M1(e.missing) ? e.missing : void 0, i = l1(e.silentTranslationWarn) || I2(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, n = l1(e.silentFallbackWarn) || I2(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = l1(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, r = t1(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, u = M1(e.postTranslation) ? e.postTranslation : void 0, v = $(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, m = !!e.escapeParameterHtml, p = l1(e.sync) ? e.sync : !0;
|
2728
2728
|
process.env.NODE_ENV !== "production" && e.formatter && w1(J1(_1.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && w1(J1(_1.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
|
2729
2729
|
let V = e.messages;
|
2730
2730
|
if (t1(e.sharedMessages)) {
|
@@ -2751,7 +2751,7 @@ function kW(e) {
|
|
2751
2751
|
pluralRules: f,
|
2752
2752
|
postTranslation: u,
|
2753
2753
|
warnHtmlMessage: v,
|
2754
|
-
escapeParameter:
|
2754
|
+
escapeParameter: m,
|
2755
2755
|
messageResolver: e.messageResolver,
|
2756
2756
|
inheritLocale: p,
|
2757
2757
|
translateExistCompatible: k,
|
@@ -2885,9 +2885,9 @@ function _8(e = {}, c) {
|
|
2885
2885
|
let u = null, v = null;
|
2886
2886
|
if (!$(s))
|
2887
2887
|
throw T1(d1.INVALID_ARGUMENT);
|
2888
|
-
const
|
2888
|
+
const m = s;
|
2889
2889
|
return $(l) ? f.locale = l : C1(l) ? u = l : t1(l) && (v = l), C1(r) ? u = r : t1(r) && (v = r), Reflect.apply(a.t, a, [
|
2890
|
-
|
2890
|
+
m,
|
2891
2891
|
u || v || {},
|
2892
2892
|
f
|
2893
2893
|
]);
|
@@ -2901,9 +2901,9 @@ function _8(e = {}, c) {
|
|
2901
2901
|
let u = null, v = null;
|
2902
2902
|
if (!$(s))
|
2903
2903
|
throw T1(d1.INVALID_ARGUMENT);
|
2904
|
-
const
|
2904
|
+
const m = s;
|
2905
2905
|
return $(l) ? f.locale = l : S1(l) ? f.plural = l : C1(l) ? u = l : t1(l) && (v = l), $(r) ? f.locale = r : C1(r) ? u = r : t1(r) && (v = r), Reflect.apply(a.t, a, [
|
2906
|
-
|
2906
|
+
m,
|
2907
2907
|
u || v || {},
|
2908
2908
|
f
|
2909
2909
|
]);
|
@@ -3043,12 +3043,12 @@ function qs(e, c, a, t) {
|
|
3043
3043
|
return () => {
|
3044
3044
|
const s = { part: !0 };
|
3045
3045
|
let l = {};
|
3046
|
-
e.locale && (s.locale = e.locale), $(e.format) ? s.key = e.format : v1(e.format) && ($(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((
|
3046
|
+
e.locale && (s.locale = e.locale), $(e.format) ? s.key = e.format : v1(e.format) && ($(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((m, p) => a.includes(p) ? R1({}, m, { [p]: e.format[p] }) : m, {}));
|
3047
3047
|
const r = t(e.value, s, l);
|
3048
3048
|
let f = [s.key];
|
3049
|
-
C1(r) ? f = r.map((
|
3050
|
-
const V = i[
|
3051
|
-
return wW(b) && (b[0].key = `${
|
3049
|
+
C1(r) ? f = r.map((m, p) => {
|
3050
|
+
const V = i[m.type], b = V ? V({ [m.type]: m.value, index: p, parts: r }) : [m.value];
|
3051
|
+
return wW(b) && (b[0].key = `${m.type}-${p}`), b;
|
3052
3052
|
}) : $(r) && (f = [r]);
|
3053
3053
|
const u = R1({}, n), v = $(e.tag) || v1(e.tag) ? e.tag : js();
|
3054
3054
|
return Z4(v, u, f);
|
@@ -3506,17 +3506,17 @@ const KW = /* @__PURE__ */ z2("global-vue-i18n");
|
|
3506
3506
|
function XW(e = {}, c) {
|
3507
3507
|
const a = __VUE_I18N_LEGACY_API__ && l1(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__, t = l1(e.globalInjection) ? e.globalInjection : !0, i = __VUE_I18N_LEGACY_API__ && a ? !!e.allowComposition : !0, n = /* @__PURE__ */ new Map(), [s, l] = eG(e, a), r = /* @__PURE__ */ z2(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
3508
3508
|
process.env.NODE_ENV !== "production" && a && i && w1(J1(_1.NOTICE_DROP_ALLOW_COMPOSITION));
|
3509
|
-
function f(
|
3510
|
-
return n.get(
|
3509
|
+
function f(m) {
|
3510
|
+
return n.get(m) || null;
|
3511
3511
|
}
|
3512
|
-
function u(
|
3513
|
-
n.set(
|
3512
|
+
function u(m, p) {
|
3513
|
+
n.set(m, p);
|
3514
3514
|
}
|
3515
|
-
function v(
|
3516
|
-
n.delete(
|
3515
|
+
function v(m) {
|
3516
|
+
n.delete(m);
|
3517
3517
|
}
|
3518
3518
|
{
|
3519
|
-
const
|
3519
|
+
const m = {
|
3520
3520
|
// mode
|
3521
3521
|
get mode() {
|
3522
3522
|
return __VUE_I18N_LEGACY_API__ && a ? "legacy" : "composition";
|
@@ -3527,17 +3527,17 @@ function XW(e = {}, c) {
|
|
3527
3527
|
},
|
3528
3528
|
// install plugin
|
3529
3529
|
async install(p, ...V) {
|
3530
|
-
if (process.env.NODE_ENV !== "production" && (p.__VUE_I18N__ =
|
3530
|
+
if (process.env.NODE_ENV !== "production" && (p.__VUE_I18N__ = m), p.__VUE_I18N_SYMBOL__ = r, p.provide(p.__VUE_I18N_SYMBOL__, m), t1(V[0])) {
|
3531
3531
|
const _ = V[0];
|
3532
|
-
|
3532
|
+
m.__composerExtend = _.__composerExtend, m.__vueI18nExtend = _.__vueI18nExtend;
|
3533
3533
|
}
|
3534
3534
|
let b = null;
|
3535
|
-
!a && t && (b = oG(p,
|
3535
|
+
!a && t && (b = oG(p, m.global)), __VUE_I18N_FULL_INSTALL__ && PW(p, m, ...V), __VUE_I18N_LEGACY_API__ && a && p.mixin(QW(l, l.__composer, m));
|
3536
3536
|
const A = p.unmount;
|
3537
3537
|
if (p.unmount = () => {
|
3538
|
-
b && b(),
|
3538
|
+
b && b(), m.dispose(), A();
|
3539
3539
|
}, process.env.NODE_ENV !== "production") {
|
3540
|
-
if (!await RW(p,
|
3540
|
+
if (!await RW(p, m))
|
3541
3541
|
throw T1(d1.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
3542
3542
|
const C = J8();
|
3543
3543
|
if (a) {
|
@@ -3566,7 +3566,7 @@ function XW(e = {}, c) {
|
|
3566
3566
|
// @internal
|
3567
3567
|
__deleteInstance: v
|
3568
3568
|
};
|
3569
|
-
return
|
3569
|
+
return m;
|
3570
3570
|
}
|
3571
3571
|
}
|
3572
3572
|
function c0(e = {}) {
|
@@ -3664,7 +3664,7 @@ function lG(e, c, a, t = {}) {
|
|
3664
3664
|
), r = n1(
|
3665
3665
|
// prettier-ignore
|
3666
3666
|
!i || s ? a.fallbackLocale.value : $(t.fallbackLocale) || C1(t.fallbackLocale) || t1(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : l.value
|
3667
|
-
), f = n1(c6(l.value, t)), u = n1(t1(t.datetimeFormats) ? t.datetimeFormats : { [l.value]: {} }), v = n1(t1(t.numberFormats) ? t.numberFormats : { [l.value]: {} }),
|
3667
|
+
), f = n1(c6(l.value, t)), u = n1(t1(t.datetimeFormats) ? t.datetimeFormats : { [l.value]: {} }), v = n1(t1(t.numberFormats) ? t.numberFormats : { [l.value]: {} }), m = i ? a.missingWarn : l1(t.missingWarn) || I2(t.missingWarn) ? t.missingWarn : !0, p = i ? a.fallbackWarn : l1(t.fallbackWarn) || I2(t.fallbackWarn) ? t.fallbackWarn : !0, V = i ? a.fallbackRoot : l1(t.fallbackRoot) ? t.fallbackRoot : !0, b = !!t.fallbackFormat, A = M1(t.missing) ? t.missing : null, _ = M1(t.postTranslation) ? t.postTranslation : null, C = i ? a.warnHtmlMessage : l1(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, M = !!t.escapeParameter, x = i ? a.modifiers : t1(t.modifiers) ? t.modifiers : {}, k = t.pluralRules || i && a.pluralRules;
|
3668
3668
|
function L() {
|
3669
3669
|
return [
|
3670
3670
|
l.value,
|
@@ -3773,7 +3773,7 @@ function lG(e, c, a, t = {}) {
|
|
3773
3773
|
return n.value ? n.value.isGlobal : !1;
|
3774
3774
|
},
|
3775
3775
|
get missingWarn() {
|
3776
|
-
return n.value ? n.value.missingWarn :
|
3776
|
+
return n.value ? n.value.missingWarn : m;
|
3777
3777
|
},
|
3778
3778
|
set missingWarn(q) {
|
3779
3779
|
n.value && (n.value.missingWarn = q);
|
@@ -3835,7 +3835,7 @@ function lG(e, c, a, t = {}) {
|
|
3835
3835
|
q.mergeDateTimeFormat(p1, u.value[p1]);
|
3836
3836
|
}), Object.keys(v.value).forEach((p1) => {
|
3837
3837
|
q.mergeNumberFormat(p1, v.value[p1]);
|
3838
|
-
}), q.escapeParameter = M, q.fallbackFormat = b, q.fallbackRoot = V, q.fallbackWarn = p, q.missingWarn =
|
3838
|
+
}), q.escapeParameter = M, q.fallbackFormat = b, q.fallbackRoot = V, q.fallbackWarn = p, q.missingWarn = m, q.warnHtmlMessage = C;
|
3839
3839
|
}
|
3840
3840
|
return k$(() => {
|
3841
3841
|
if (e.proxy == null || e.proxy.$i18n == null)
|
@@ -19582,7 +19582,7 @@ function mn(e, c, a) {
|
|
19582
19582
|
reference: t,
|
19583
19583
|
floating: i
|
19584
19584
|
} = e;
|
19585
|
-
const n = v4(c), s = li(c), l = si(s), r = p2(c), f = n === "y", u = t.x + t.width / 2 - i.width / 2, v = t.y + t.height / 2 - i.height / 2,
|
19585
|
+
const n = v4(c), s = li(c), l = si(s), r = p2(c), f = n === "y", u = t.x + t.width / 2 - i.width / 2, v = t.y + t.height / 2 - i.height / 2, m = t[l] / 2 - i[l] / 2;
|
19586
19586
|
let p;
|
19587
19587
|
switch (r) {
|
19588
19588
|
case "top":
|
@@ -19617,10 +19617,10 @@ function mn(e, c, a) {
|
|
19617
19617
|
}
|
19618
19618
|
switch (s2(c)) {
|
19619
19619
|
case "start":
|
19620
|
-
p[s] -=
|
19620
|
+
p[s] -= m * (a && f ? -1 : 1);
|
19621
19621
|
break;
|
19622
19622
|
case "end":
|
19623
|
-
p[s] +=
|
19623
|
+
p[s] += m * (a && f ? -1 : 1);
|
19624
19624
|
break;
|
19625
19625
|
}
|
19626
19626
|
return p;
|
@@ -19639,7 +19639,7 @@ const jG = async (e, c, a) => {
|
|
19639
19639
|
}), {
|
19640
19640
|
x: u,
|
19641
19641
|
y: v
|
19642
|
-
} = mn(f, t, r),
|
19642
|
+
} = mn(f, t, r), m = t, p = {}, V = 0;
|
19643
19643
|
for (let b = 0; b < l.length; b++) {
|
19644
19644
|
const {
|
19645
19645
|
name: A,
|
@@ -19653,7 +19653,7 @@ const jG = async (e, c, a) => {
|
|
19653
19653
|
x: u,
|
19654
19654
|
y: v,
|
19655
19655
|
initialPlacement: t,
|
19656
|
-
placement:
|
19656
|
+
placement: m,
|
19657
19657
|
strategy: i,
|
19658
19658
|
middlewareData: p,
|
19659
19659
|
rects: f,
|
@@ -19669,19 +19669,19 @@ const jG = async (e, c, a) => {
|
|
19669
19669
|
...p[A],
|
19670
19670
|
...x
|
19671
19671
|
}
|
19672
|
-
}, k && V <= 50 && (V++, typeof k == "object" && (k.placement && (
|
19672
|
+
}, k && V <= 50 && (V++, typeof k == "object" && (k.placement && (m = k.placement), k.rects && (f = k.rects === !0 ? await s.getElementRects({
|
19673
19673
|
reference: e,
|
19674
19674
|
floating: c,
|
19675
19675
|
strategy: i
|
19676
19676
|
}) : k.rects), {
|
19677
19677
|
x: u,
|
19678
19678
|
y: v
|
19679
|
-
} = mn(f,
|
19679
|
+
} = mn(f, m, r)), b = -1);
|
19680
19680
|
}
|
19681
19681
|
return {
|
19682
19682
|
x: u,
|
19683
19683
|
y: v,
|
19684
|
-
placement:
|
19684
|
+
placement: m,
|
19685
19685
|
strategy: i,
|
19686
19686
|
middlewareData: p
|
19687
19687
|
};
|
@@ -19700,9 +19700,9 @@ async function Z6(e, c) {
|
|
19700
19700
|
boundary: f = "clippingAncestors",
|
19701
19701
|
rootBoundary: u = "viewport",
|
19702
19702
|
elementContext: v = "floating",
|
19703
|
-
altBoundary:
|
19703
|
+
altBoundary: m = !1,
|
19704
19704
|
padding: p = 0
|
19705
|
-
} = a3(c, e), V = Aq(p), A = l[
|
19705
|
+
} = a3(c, e), V = Aq(p), A = l[m ? v === "floating" ? "reference" : "floating" : v], _ = w3(await n.getClippingRect({
|
19706
19706
|
element: (a = await (n.isElement == null ? void 0 : n.isElement(A))) == null || a ? A : A.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(l.floating)),
|
19707
19707
|
boundary: f,
|
19708
19708
|
rootBoundary: u,
|
@@ -19749,15 +19749,15 @@ const qG = (e) => ({
|
|
19749
19749
|
} = a3(e, c) || {};
|
19750
19750
|
if (f == null)
|
19751
19751
|
return {};
|
19752
|
-
const v = Aq(u),
|
19752
|
+
const v = Aq(u), m = {
|
19753
19753
|
x: a,
|
19754
19754
|
y: t
|
19755
|
-
}, p = li(i), V = si(p), b = await s.getDimensions(f), A = p === "y", _ = A ? "top" : "left", C = A ? "bottom" : "right", M = A ? "clientHeight" : "clientWidth", x = n.reference[V] + n.reference[p] -
|
19755
|
+
}, p = li(i), V = si(p), b = await s.getDimensions(f), A = p === "y", _ = A ? "top" : "left", C = A ? "bottom" : "right", M = A ? "clientHeight" : "clientWidth", x = n.reference[V] + n.reference[p] - m[p] - n.floating[V], k = m[p] - n.reference[p], L = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(f));
|
19756
19756
|
let S = L ? L[M] : 0;
|
19757
19757
|
(!S || !await (s.isElement == null ? void 0 : s.isElement(L))) && (S = l.floating[M] || n.floating[V]);
|
19758
19758
|
const N = x / 2 - k / 2, y = S / 2 - b[V] / 2 - 1, R = G2(v[_], y), X = G2(v[C], y), O = R, a1 = S - b[V] - X, u1 = S / 2 - b[V] / 2 + N, U = x8(O, u1, a1), Q = !r.arrow && s2(i) != null && u1 !== U && n.reference[V] / 2 - (u1 < O ? R : X) - b[V] / 2 < 0, y1 = Q ? u1 < O ? u1 - O : u1 - a1 : 0;
|
19759
19759
|
return {
|
19760
|
-
[p]:
|
19760
|
+
[p]: m[p] + y1,
|
19761
19761
|
data: {
|
19762
19762
|
[p]: U,
|
19763
19763
|
centerOffset: u1 - U - y1,
|
@@ -19787,10 +19787,10 @@ const UG = function(e) {
|
|
19787
19787
|
} = c, {
|
19788
19788
|
crossAxis: u = !1,
|
19789
19789
|
alignment: v,
|
19790
|
-
allowedPlacements:
|
19790
|
+
allowedPlacements: m = un,
|
19791
19791
|
autoAlignment: p = !0,
|
19792
19792
|
...V
|
19793
|
-
} = a3(e, c), b = v !== void 0 ||
|
19793
|
+
} = a3(e, c), b = v !== void 0 || m === un ? $G(v || null, p, m) : m, A = await Z6(c, V), _ = ((a = s.autoPlacement) == null ? void 0 : a.index) || 0, C = b[_];
|
19794
19794
|
if (C == null)
|
19795
19795
|
return {};
|
19796
19796
|
const M = bq(C, n, await (r.isRTL == null ? void 0 : r.isRTL(f.floating)));
|
@@ -19856,7 +19856,7 @@ const UG = function(e) {
|
|
19856
19856
|
} = c, {
|
19857
19857
|
mainAxis: u = !0,
|
19858
19858
|
crossAxis: v = !0,
|
19859
|
-
fallbackPlacements:
|
19859
|
+
fallbackPlacements: m,
|
19860
19860
|
fallbackStrategy: p = "bestFit",
|
19861
19861
|
fallbackAxisSideDirection: V = "none",
|
19862
19862
|
flipAlignment: b = !0,
|
@@ -19864,8 +19864,8 @@ const UG = function(e) {
|
|
19864
19864
|
} = a3(e, c);
|
19865
19865
|
if ((a = n.arrow) != null && a.alignmentOffset)
|
19866
19866
|
return {};
|
19867
|
-
const _ = p2(i), C = p2(l) === l, M = await (r.isRTL == null ? void 0 : r.isRTL(f.floating)), x =
|
19868
|
-
!
|
19867
|
+
const _ = p2(i), C = p2(l) === l, M = await (r.isRTL == null ? void 0 : r.isRTL(f.floating)), x = m || (C || !b ? [R4(l)] : OG(l));
|
19868
|
+
!m && V !== "none" && x.push(...RG(l, b, V, M));
|
19869
19869
|
const k = [l, ...x], L = await Z6(c, A), S = [];
|
19870
19870
|
let N = ((t = n.flip) == null ? void 0 : t.overflows) || [];
|
19871
19871
|
if (u && S.push(L[_]), v) {
|
@@ -19919,7 +19919,7 @@ async function GG(e, c) {
|
|
19919
19919
|
elements: i
|
19920
19920
|
} = e, n = await (t.isRTL == null ? void 0 : t.isRTL(i.floating)), s = p2(a), l = s2(a), r = v4(a) === "y", f = ["left", "top"].includes(s) ? -1 : 1, u = n && r ? -1 : 1, v = a3(c, e);
|
19921
19921
|
let {
|
19922
|
-
mainAxis:
|
19922
|
+
mainAxis: m,
|
19923
19923
|
crossAxis: p,
|
19924
19924
|
alignmentAxis: V
|
19925
19925
|
} = typeof v == "number" ? {
|
@@ -19934,9 +19934,9 @@ async function GG(e, c) {
|
|
19934
19934
|
};
|
19935
19935
|
return l && typeof V == "number" && (p = l === "end" ? V * -1 : V), r ? {
|
19936
19936
|
x: p * u,
|
19937
|
-
y:
|
19937
|
+
y: m * f
|
19938
19938
|
} : {
|
19939
|
-
x:
|
19939
|
+
x: m * f,
|
19940
19940
|
y: p * u
|
19941
19941
|
};
|
19942
19942
|
}
|
@@ -19990,10 +19990,10 @@ const JG = function(e) {
|
|
19990
19990
|
} = a3(e, c), f = {
|
19991
19991
|
x: a,
|
19992
19992
|
y: t
|
19993
|
-
}, u = await Z6(c, r), v = v4(p2(i)),
|
19994
|
-
let p = f[
|
19993
|
+
}, u = await Z6(c, r), v = v4(p2(i)), m = Cq(v);
|
19994
|
+
let p = f[m], V = f[v];
|
19995
19995
|
if (n) {
|
19996
|
-
const A =
|
19996
|
+
const A = m === "y" ? "top" : "left", _ = m === "y" ? "bottom" : "right", C = p + u[A], M = p - u[_];
|
19997
19997
|
p = x8(C, p, M);
|
19998
19998
|
}
|
19999
19999
|
if (s) {
|
@@ -20002,7 +20002,7 @@ const JG = function(e) {
|
|
20002
20002
|
}
|
20003
20003
|
const b = l.fn({
|
20004
20004
|
...c,
|
20005
|
-
[
|
20005
|
+
[m]: p,
|
20006
20006
|
[v]: V
|
20007
20007
|
});
|
20008
20008
|
return {
|
@@ -20029,16 +20029,16 @@ const JG = function(e) {
|
|
20029
20029
|
},
|
20030
20030
|
...l
|
20031
20031
|
} = a3(e, c), r = await Z6(c, l), f = p2(a), u = s2(a), v = v4(a) === "y", {
|
20032
|
-
width:
|
20032
|
+
width: m,
|
20033
20033
|
height: p
|
20034
20034
|
} = t.floating;
|
20035
20035
|
let V, b;
|
20036
20036
|
f === "top" || f === "bottom" ? (V = f, b = u === (await (i.isRTL == null ? void 0 : i.isRTL(n.floating)) ? "start" : "end") ? "left" : "right") : (b = f, V = u === "end" ? "top" : "bottom");
|
20037
|
-
const A = p - r.top - r.bottom, _ =
|
20037
|
+
const A = p - r.top - r.bottom, _ = m - r.left - r.right, C = G2(p - r[V], A), M = G2(m - r[b], _), x = !c.middlewareData.shift;
|
20038
20038
|
let k = C, L = M;
|
20039
20039
|
if (v ? L = u || x ? G2(M, _) : _ : k = u || x ? G2(C, A) : A, x && !u) {
|
20040
20040
|
const N = W2(r.left, 0), y = W2(r.right, 0), R = W2(r.top, 0), X = W2(r.bottom, 0);
|
20041
|
-
v ? L =
|
20041
|
+
v ? L = m - 2 * (N !== 0 || y !== 0 ? N + y : W2(r.left, r.right)) : k = p - 2 * (R !== 0 || X !== 0 ? R + X : W2(r.top, r.bottom));
|
20042
20042
|
}
|
20043
20043
|
await s({
|
20044
20044
|
...c,
|
@@ -20046,7 +20046,7 @@ const JG = function(e) {
|
|
20046
20046
|
availableHeight: k
|
20047
20047
|
});
|
20048
20048
|
const S = await i.getDimensions(n.floating);
|
20049
|
-
return
|
20049
|
+
return m !== S.width || p !== S.height ? {
|
20050
20050
|
reset: {
|
20051
20051
|
rects: !0
|
20052
20052
|
}
|
@@ -20129,16 +20129,16 @@ function q3(e, c, a, t) {
|
|
20129
20129
|
let r = Nq;
|
20130
20130
|
c && (t ? w2(t) && (r = u3(t)) : r = u3(e));
|
20131
20131
|
const f = l ? c2(l) : window, u = !xq() && a;
|
20132
|
-
let v = (s.left + (u && ((i = f.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / r.x,
|
20132
|
+
let v = (s.left + (u && ((i = f.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / r.x, m = (s.top + (u && ((n = f.visualViewport) == null ? void 0 : n.offsetTop) || 0)) / r.y, p = s.width / r.x, V = s.height / r.y;
|
20133
20133
|
if (l) {
|
20134
20134
|
const b = c2(l), A = t && w2(t) ? c2(t) : t;
|
20135
20135
|
let _ = b.frameElement;
|
20136
20136
|
for (; _ && t && A !== b; ) {
|
20137
20137
|
const C = u3(_), M = _.getBoundingClientRect(), x = getComputedStyle(_);
|
20138
|
-
M.x += (_.clientLeft + parseFloat(x.paddingLeft)) * C.x, M.y += (_.clientTop + parseFloat(x.paddingTop)) * C.y, v *= C.x,
|
20138
|
+
M.x += (_.clientLeft + parseFloat(x.paddingLeft)) * C.x, M.y += (_.clientTop + parseFloat(x.paddingTop)) * C.y, v *= C.x, m *= C.y, p *= C.x, V *= C.y, v += M.x, m += M.y, _ = c2(_).frameElement;
|
20139
20139
|
}
|
20140
20140
|
}
|
20141
|
-
return { width: p, height: V, top:
|
20141
|
+
return { width: p, height: V, top: m, right: v + p, bottom: m + V, left: v, x: v, y: m };
|
20142
20142
|
}
|
20143
20143
|
function T2(e) {
|
20144
20144
|
return ((yq(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
@@ -20171,8 +20171,8 @@ function pn(e, c, a) {
|
|
20171
20171
|
let r = s.clientWidth, f = s.clientHeight, u = 0, v = 0;
|
20172
20172
|
if (l) {
|
20173
20173
|
r = l.width, f = l.height;
|
20174
|
-
const
|
20175
|
-
(
|
20174
|
+
const m = xq();
|
20175
|
+
(m || !m && i === "fixed") && (u = l.offsetLeft, v = l.offsetTop);
|
20176
20176
|
}
|
20177
20177
|
return { width: r, height: f, x: u, y: v };
|
20178
20178
|
}(e, a)) : w2(c) ? w3(function(t, i) {
|
@@ -20221,14 +20221,14 @@ const XG = { getClippingRect: function(e) {
|
|
20221
20221
|
const v = u.get(f);
|
20222
20222
|
if (v)
|
20223
20223
|
return v;
|
20224
|
-
let
|
20224
|
+
let m = j4(f).filter((A) => w2(A) && D2(A) !== "body"), p = null;
|
20225
20225
|
const V = d2(f).position === "fixed";
|
20226
20226
|
let b = V ? $3(f) : f;
|
20227
20227
|
for (; w2(b) && !ri(b); ) {
|
20228
20228
|
const A = d2(b), _ = k8(b);
|
20229
|
-
(V ? _ || p : _ || A.position !== "static" || !p || !["absolute", "fixed"].includes(p.position)) ? p = A :
|
20229
|
+
(V ? _ || p : _ || A.position !== "static" || !p || !["absolute", "fixed"].includes(p.position)) ? p = A : m = m.filter((C) => C !== b), b = $3(b);
|
20230
20230
|
}
|
20231
|
-
return u.set(f,
|
20231
|
+
return u.set(f, m), m;
|
20232
20232
|
}(c, this._c) : [].concat(a), s = [...n, t], l = s[0], r = s.reduce((f, u) => {
|
20233
20233
|
const v = pn(c, u, i);
|
20234
20234
|
return f.top = T3(v.top, f.top), f.right = dn(v.right, f.right), f.bottom = dn(v.bottom, f.bottom), f.left = T3(v.left, f.left), f;
|
@@ -21067,7 +21067,7 @@ const iJ = {
|
|
21067
21067
|
return a;
|
21068
21068
|
};
|
21069
21069
|
function nJ(e, c, a, t, i, n) {
|
21070
|
-
return
|
21070
|
+
return d(), h("div", {
|
21071
21071
|
ref: "reference",
|
21072
21072
|
class: j(["v-popper", {
|
21073
21073
|
"v-popper--shown": e.slotData.isShown
|
@@ -21147,7 +21147,7 @@ const oJ = {
|
|
21147
21147
|
tabindex: "-1"
|
21148
21148
|
};
|
21149
21149
|
Y1();
|
21150
|
-
const fJ = /* @__PURE__ */ rJ((e, c, a, t, i, n) => (
|
21150
|
+
const fJ = /* @__PURE__ */ rJ((e, c, a, t, i, n) => (d(), Z("div", oJ)));
|
21151
21151
|
X6.render = fJ;
|
21152
21152
|
X6.__scopeId = "data-v-b329ee4c";
|
21153
21153
|
X6.__file = "src/components/ResizeObserver.vue";
|
@@ -21194,7 +21194,7 @@ const Oq = (e = "theme") => ({
|
|
21194
21194
|
];
|
21195
21195
|
function zJ(e, c, a, t, i, n) {
|
21196
21196
|
const s = P("ResizeObserver");
|
21197
|
-
return
|
21197
|
+
return d(), h("div", {
|
21198
21198
|
id: e.popperId,
|
21199
21199
|
ref: "popover",
|
21200
21200
|
class: j(["v-popper__popper", [
|
@@ -21232,11 +21232,11 @@ function zJ(e, c, a, t, i, n) {
|
|
21232
21232
|
} : void 0)
|
21233
21233
|
}, [
|
21234
21234
|
o("div", dJ, [
|
21235
|
-
e.mounted ? (
|
21235
|
+
e.mounted ? (d(), h(K, { key: 0 }, [
|
21236
21236
|
o("div", null, [
|
21237
21237
|
g1(e.$slots, "default")
|
21238
21238
|
]),
|
21239
|
-
e.handleResize ? (
|
21239
|
+
e.handleResize ? (d(), Z(s, {
|
21240
21240
|
key: 0,
|
21241
21241
|
onNotify: c[1] || (c[1] = (l) => e.$emit("resize", l))
|
21242
21242
|
})) : I("", !0)
|
@@ -21470,7 +21470,7 @@ const VJ = W({
|
|
21470
21470
|
});
|
21471
21471
|
function MJ(e, c, a, t, i, n) {
|
21472
21472
|
const s = P("PopperContent"), l = P("Popper");
|
21473
|
-
return
|
21473
|
+
return d(), Z(l, W8({ ref: "popper" }, e.$props, {
|
21474
21474
|
theme: e.finalTheme,
|
21475
21475
|
"target-nodes": e.getTargetNodes,
|
21476
21476
|
"popper-node": () => e.$refs.popperContent.$el,
|
@@ -21492,7 +21492,7 @@ function MJ(e, c, a, t, i, n) {
|
|
21492
21492
|
isShown: f,
|
21493
21493
|
shouldMountContent: u,
|
21494
21494
|
skipTransition: v,
|
21495
|
-
autoHide:
|
21495
|
+
autoHide: m,
|
21496
21496
|
show: p,
|
21497
21497
|
hide: V,
|
21498
21498
|
handleResize: b,
|
@@ -21512,7 +21512,7 @@ function MJ(e, c, a, t, i, n) {
|
|
21512
21512
|
shown: f,
|
21513
21513
|
mounted: u,
|
21514
21514
|
"skip-transition": v,
|
21515
|
-
"auto-hide":
|
21515
|
+
"auto-hide": m,
|
21516
21516
|
"handle-resize": b,
|
21517
21517
|
classes: _,
|
21518
21518
|
result: C,
|
@@ -21626,7 +21626,7 @@ const oi = /* @__PURE__ */ K6(VJ, [["render", MJ]]), gJ = {
|
|
21626
21626
|
}), AJ = ["innerHTML"], LJ = ["textContent"];
|
21627
21627
|
function _J(e, c, a, t, i, n) {
|
21628
21628
|
const s = P("PopperContent"), l = P("Popper");
|
21629
|
-
return
|
21629
|
+
return d(), Z(l, W8({ ref: "popper" }, e.$attrs, {
|
21630
21630
|
theme: e.theme,
|
21631
21631
|
"target-nodes": e.targetNodes,
|
21632
21632
|
"popper-node": () => e.$refs.popperContent.$el,
|
@@ -21638,7 +21638,7 @@ function _J(e, c, a, t, i, n) {
|
|
21638
21638
|
isShown: f,
|
21639
21639
|
shouldMountContent: u,
|
21640
21640
|
skipTransition: v,
|
21641
|
-
autoHide:
|
21641
|
+
autoHide: m,
|
21642
21642
|
hide: p,
|
21643
21643
|
handleResize: V,
|
21644
21644
|
onResize: b,
|
@@ -21655,7 +21655,7 @@ function _J(e, c, a, t, i, n) {
|
|
21655
21655
|
shown: f,
|
21656
21656
|
mounted: u,
|
21657
21657
|
"skip-transition": v,
|
21658
|
-
"auto-hide":
|
21658
|
+
"auto-hide": m,
|
21659
21659
|
"handle-resize": V,
|
21660
21660
|
classes: A,
|
21661
21661
|
result: _,
|
@@ -21663,10 +21663,10 @@ function _J(e, c, a, t, i, n) {
|
|
21663
21663
|
onResize: b
|
21664
21664
|
}, {
|
21665
21665
|
default: i1(() => [
|
21666
|
-
e.html ? (
|
21666
|
+
e.html ? (d(), h("div", {
|
21667
21667
|
key: 0,
|
21668
21668
|
innerHTML: e.finalContent
|
21669
|
-
}, null, 8, AJ)) : (
|
21669
|
+
}, null, 8, AJ)) : (d(), h("div", {
|
21670
21670
|
key: 1,
|
21671
21671
|
textContent: g(e.finalContent)
|
21672
21672
|
}, null, 8, LJ))
|
@@ -23132,8 +23132,8 @@ function a8(e) {
|
|
23132
23132
|
if (o3[u] ? (u = VZ[l].includes(u) ? JJ[l][u] : u, s = u, f.prefix = u) : MZ[l].indexOf(u) > -1 ? (s = u, f.prefix = c8(u, {
|
23133
23133
|
family: l
|
23134
23134
|
})) : v ? f.iconName = v : u !== Y.replacementClass && u !== n[b1] && u !== n[x1] && f.rest.push(u), !i && f.prefix && f.iconName) {
|
23135
|
-
var
|
23136
|
-
|
23135
|
+
var m = s === "fa" ? d$(f.iconName) : {}, p = Z2(f.prefix, f.iconName);
|
23136
|
+
m.prefix && (s = null), f.iconName = m.iconName || p || f.iconName, f.prefix = m.prefix || f.prefix, f.prefix === "far" && !o3.far && o3.fas && !Y.autoFetchSvg && (f.prefix = "fas");
|
23137
23137
|
}
|
23138
23138
|
return f;
|
23139
23139
|
}, Mi());
|
@@ -23334,7 +23334,7 @@ function wZ(e) {
|
|
23334
23334
|
}];
|
23335
23335
|
}
|
23336
23336
|
function gi(e) {
|
23337
|
-
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, f = e.maskId, u = e.titleId, v = e.extra,
|
23337
|
+
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, f = e.maskId, u = e.titleId, v = e.extra, m = e.watchable, p = m === void 0 ? !1 : m, V = t.found ? t : a, b = V.width, A = V.height, _ = i === "fak", C = [Y.replacementClass, n ? "".concat(Y.cssPrefix, "-").concat(n) : ""].filter(function(y) {
|
23338
23338
|
return v.classes.indexOf(y) === -1;
|
23339
23339
|
}).filter(function(y) {
|
23340
23340
|
return y !== "" || !!y;
|
@@ -23392,18 +23392,18 @@ function jn(e) {
|
|
23392
23392
|
}), u["-webkit-transform"] = u.transform);
|
23393
23393
|
var v = e8(u);
|
23394
23394
|
v.length > 0 && (f.style = v);
|
23395
|
-
var
|
23396
|
-
return
|
23395
|
+
var m = [];
|
23396
|
+
return m.push({
|
23397
23397
|
tag: "span",
|
23398
23398
|
attributes: f,
|
23399
23399
|
children: [c]
|
23400
|
-
}), n &&
|
23400
|
+
}), n && m.push({
|
23401
23401
|
tag: "span",
|
23402
23402
|
attributes: {
|
23403
23403
|
class: "sr-only"
|
23404
23404
|
},
|
23405
23405
|
children: [n]
|
23406
|
-
}),
|
23406
|
+
}), m;
|
23407
23407
|
}
|
23408
23408
|
function TZ(e) {
|
23409
23409
|
var c = e.content, a = e.title, t = e.extra, i = J(J(J({}, t.attributes), a ? {
|
@@ -23607,7 +23607,7 @@ function Wn(e) {
|
|
23607
23607
|
b3(f).forEach(function(v) {
|
23608
23608
|
if (v.type === "childList" && v.addedNodes.length > 0 && !$n(v.addedNodes[0]) && (Y.searchPseudoElements && s(v.target), a(v.target)), v.type === "attributes" && v.target.parentNode && Y.searchPseudoElements && s(v.target.parentNode), v.type === "attributes" && $n(v.target) && ~XJ.indexOf(v.attributeName))
|
23609
23609
|
if (v.attributeName === "class" && PZ(v.target)) {
|
23610
|
-
var
|
23610
|
+
var m = a8(pi(v.target)), p = m.prefix, V = m.iconName;
|
23611
23611
|
v.target.setAttribute(mi, p || u), V && v.target.setAttribute(di, V);
|
23612
23612
|
} else
|
23613
23613
|
OZ(v.target) && i(v.target);
|
@@ -23728,20 +23728,20 @@ function Jn(e) {
|
|
23728
23728
|
return Promise.resolve();
|
23729
23729
|
var r = Hi.begin("onTree"), f = l.reduce(function(u, v) {
|
23730
23730
|
try {
|
23731
|
-
var
|
23732
|
-
|
23731
|
+
var m = M$(v);
|
23732
|
+
m && u.push(m);
|
23733
23733
|
} catch (p) {
|
23734
23734
|
e$ || p.name === "MissingIcon" && console.error(p);
|
23735
23735
|
}
|
23736
23736
|
return u;
|
23737
23737
|
}, []);
|
23738
23738
|
return new Promise(function(u, v) {
|
23739
|
-
Promise.all(f).then(function(
|
23740
|
-
z$(
|
23739
|
+
Promise.all(f).then(function(m) {
|
23740
|
+
z$(m, function() {
|
23741
23741
|
t("active"), t("complete"), i("pending"), typeof c == "function" && c(), r(), u();
|
23742
23742
|
});
|
23743
|
-
}).catch(function(
|
23744
|
-
r(), v(
|
23743
|
+
}).catch(function(m) {
|
23744
|
+
r(), v(m);
|
23745
23745
|
});
|
23746
23746
|
});
|
23747
23747
|
}
|
@@ -23760,7 +23760,7 @@ function YZ(e) {
|
|
23760
23760
|
};
|
23761
23761
|
}
|
23762
23762
|
var QZ = function(c) {
|
23763
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.transform, i = t === void 0 ? u2 : t, n = a.symbol, s = n === void 0 ? !1 : n, l = a.mask, r = l === void 0 ? null : l, f = a.maskId, u = f === void 0 ? null : f, v = a.title,
|
23763
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.transform, i = t === void 0 ? u2 : t, n = a.symbol, s = n === void 0 ? !1 : n, l = a.mask, r = l === void 0 ? null : l, f = a.maskId, u = f === void 0 ? null : f, v = a.title, m = v === void 0 ? null : v, p = a.titleId, V = p === void 0 ? null : p, b = a.classes, A = b === void 0 ? [] : b, _ = a.attributes, C = _ === void 0 ? {} : _, M = a.styles, x = M === void 0 ? {} : M;
|
23764
23764
|
if (c) {
|
23765
23765
|
var k = c.prefix, L = c.iconName, S = c.icon;
|
23766
23766
|
return t8(J({
|
@@ -23769,7 +23769,7 @@ var QZ = function(c) {
|
|
23769
23769
|
return c3("beforeDOMElementCreation", {
|
23770
23770
|
iconDefinition: c,
|
23771
23771
|
params: a
|
23772
|
-
}), Y.autoA11y && (
|
23772
|
+
}), Y.autoA11y && (m ? C["aria-labelledby"] = "".concat(Y.replacementClass, "-title-").concat(V || Q3()) : (C["aria-hidden"] = "true", C.focusable = "false")), gi({
|
23773
23773
|
icons: {
|
23774
23774
|
main: R8(S),
|
23775
23775
|
mask: r ? R8(r.icon) : {
|
@@ -23783,7 +23783,7 @@ var QZ = function(c) {
|
|
23783
23783
|
iconName: L,
|
23784
23784
|
transform: J(J({}, u2), i),
|
23785
23785
|
symbol: s,
|
23786
|
-
title:
|
23786
|
+
title: m,
|
23787
23787
|
maskId: u,
|
23788
23788
|
titleId: V,
|
23789
23789
|
extra: {
|
@@ -23813,7 +23813,7 @@ var QZ = function(c) {
|
|
23813
23813
|
} : n;
|
23814
23814
|
return Jn(i, s);
|
23815
23815
|
}, c.generateSvgReplacementMutation = function(a, t) {
|
23816
|
-
var i = t.iconName, n = t.title, s = t.titleId, l = t.prefix, r = t.transform, f = t.symbol, u = t.mask, v = t.maskId,
|
23816
|
+
var i = t.iconName, n = t.title, s = t.titleId, l = t.prefix, r = t.transform, f = t.symbol, u = t.mask, v = t.maskId, m = t.extra;
|
23817
23817
|
return new Promise(function(p, V) {
|
23818
23818
|
Promise.all([F8(i, l), u.iconName ? F8(u.iconName, u.prefix) : Promise.resolve({
|
23819
23819
|
found: !1,
|
@@ -23834,7 +23834,7 @@ var QZ = function(c) {
|
|
23834
23834
|
maskId: v,
|
23835
23835
|
title: n,
|
23836
23836
|
titleId: s,
|
23837
|
-
extra:
|
23837
|
+
extra: m,
|
23838
23838
|
watchable: !0
|
23839
23839
|
})]);
|
23840
23840
|
}).catch(V);
|
@@ -23911,7 +23911,7 @@ var QZ = function(c) {
|
|
23911
23911
|
mixout: function() {
|
23912
23912
|
return {
|
23913
23913
|
text: function(a) {
|
23914
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = t.transform, n = i === void 0 ? u2 : i, s = t.title, l = s === void 0 ? null : s, r = t.classes, f = r === void 0 ? [] : r, u = t.attributes, v = u === void 0 ? {} : u,
|
23914
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = t.transform, n = i === void 0 ? u2 : i, s = t.title, l = s === void 0 ? null : s, r = t.classes, f = r === void 0 ? [] : r, u = t.attributes, v = u === void 0 ? {} : u, m = t.styles, p = m === void 0 ? {} : m;
|
23915
23915
|
return t8({
|
23916
23916
|
type: "text",
|
23917
23917
|
content: a
|
@@ -23970,7 +23970,7 @@ function Yn(e, c) {
|
|
23970
23970
|
if (s && !r)
|
23971
23971
|
return e.removeChild(s), t();
|
23972
23972
|
if (r && u !== "none" && u !== "") {
|
23973
|
-
var v = l.getPropertyValue("content"),
|
23973
|
+
var v = l.getPropertyValue("content"), m = ~["Sharp"].indexOf(r[2]) ? x1 : b1, p = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(r[2]) ? J3[m][r[2].toLowerCase()] : QJ[m][f], V = tY(v), b = V.value, A = V.isSecondary, _ = r[0].startsWith("FontAwesome"), C = Vi(p, b), M = C;
|
23974
23974
|
if (_) {
|
23975
23975
|
var x = bZ(b);
|
23976
23976
|
x.iconName && x.prefix && (C = x.iconName, p = x.prefix);
|
@@ -24123,12 +24123,12 @@ var sY = {
|
|
24123
24123
|
transform: "translate(".concat(n / 2, " 256)")
|
24124
24124
|
}, r = "translate(".concat(i.x * 32, ", ").concat(i.y * 32, ") "), f = "scale(".concat(i.size / 16 * (i.flipX ? -1 : 1), ", ").concat(i.size / 16 * (i.flipY ? -1 : 1), ") "), u = "rotate(".concat(i.rotate, " 0 0)"), v = {
|
24125
24125
|
transform: "".concat(r, " ").concat(f, " ").concat(u)
|
24126
|
-
},
|
24126
|
+
}, m = {
|
24127
24127
|
transform: "translate(".concat(s / 2 * -1, " -256)")
|
24128
24128
|
}, p = {
|
24129
24129
|
outer: l,
|
24130
24130
|
inner: v,
|
24131
|
-
path:
|
24131
|
+
path: m
|
24132
24132
|
};
|
24133
24133
|
return {
|
24134
24134
|
tag: "g",
|
@@ -24171,7 +24171,7 @@ var fY = {
|
|
24171
24171
|
},
|
24172
24172
|
provides: function(c) {
|
24173
24173
|
c.generateAbstractMask = function(a) {
|
24174
|
-
var t = a.children, i = a.attributes, n = a.main, s = a.mask, l = a.maskId, r = a.transform, f = n.width, u = n.icon, v = s.width,
|
24174
|
+
var t = a.children, i = a.attributes, n = a.main, s = a.mask, l = a.maskId, r = a.transform, f = n.width, u = n.icon, v = s.width, m = s.icon, p = rZ({
|
24175
24175
|
transform: r,
|
24176
24176
|
containerWidth: v,
|
24177
24177
|
iconWidth: f
|
@@ -24208,7 +24208,7 @@ var fY = {
|
|
24208
24208
|
attributes: {
|
24209
24209
|
id: M
|
24210
24210
|
},
|
24211
|
-
children: oY(
|
24211
|
+
children: oY(m)
|
24212
24212
|
}, x]
|
24213
24213
|
};
|
24214
24214
|
return t.push(k, {
|
@@ -24338,7 +24338,7 @@ const pY = W({
|
|
24338
24338
|
);
|
24339
24339
|
if (f.prefix)
|
24340
24340
|
return;
|
24341
|
-
const
|
24341
|
+
const m = Object.keys(f.attributes || {}).reduce(
|
24342
24342
|
(V, b) => {
|
24343
24343
|
const A = f.attributes[b];
|
24344
24344
|
return V.attrs[b] = A, V;
|
@@ -24350,7 +24350,7 @@ const pY = W({
|
|
24350
24350
|
return Z4(
|
24351
24351
|
f.tag,
|
24352
24352
|
{
|
24353
|
-
...
|
24353
|
+
...m.attrs,
|
24354
24354
|
...p
|
24355
24355
|
},
|
24356
24356
|
v
|
@@ -24428,14 +24428,14 @@ const pY = W({
|
|
24428
24428
|
};
|
24429
24429
|
return (i, n) => {
|
24430
24430
|
const s = P("AVIcon");
|
24431
|
-
return
|
24431
|
+
return d(), h("button", {
|
24432
24432
|
type: "button",
|
24433
24433
|
class: j(`AVButton AVButton--${e.size} AVButton--${e.type} ${e.fullWidth ? "AVButton--full" : ""}`),
|
24434
24434
|
"data-test": "btn",
|
24435
24435
|
onClick: t,
|
24436
24436
|
disabled: e.disabled
|
24437
24437
|
}, [
|
24438
|
-
e.iconLeft ? (
|
24438
|
+
e.iconLeft ? (d(), Z(s, {
|
24439
24439
|
key: 0,
|
24440
24440
|
icon: `fa-solid fa-${e.icon}`,
|
24441
24441
|
class: "AVButton--icon-left",
|
@@ -24444,7 +24444,7 @@ const pY = W({
|
|
24444
24444
|
g1(i.$slots, "default", {}, () => [
|
24445
24445
|
o1(g(e.label), 1)
|
24446
24446
|
], !0),
|
24447
|
-
e.iconRight ? (
|
24447
|
+
e.iconRight ? (d(), Z(s, {
|
24448
24448
|
key: 1,
|
24449
24449
|
icon: `fa-solid fa-${e.icon}`,
|
24450
24450
|
class: "AVButton--icon-right",
|
@@ -24476,7 +24476,7 @@ const G = (e, c) => {
|
|
24476
24476
|
setup(e) {
|
24477
24477
|
return (c, a) => {
|
24478
24478
|
const t = P("AVIcon");
|
24479
|
-
return
|
24479
|
+
return d(), Z(t, {
|
24480
24480
|
icon: "fa-solid fa-spinner",
|
24481
24481
|
class: j(`AVSpinner AVSpinner--${e.size} AVSpinner--${e.color}`)
|
24482
24482
|
}, null, 8, ["class"]);
|
@@ -24508,7 +24508,7 @@ const gY = /* @__PURE__ */ G(MY, [["__scopeId", "data-v-70d9cfd4"]]), HY = /* @_
|
|
24508
24508
|
setup(e) {
|
24509
24509
|
return (c, a) => {
|
24510
24510
|
const t = P("AVIcon");
|
24511
|
-
return e.type === "icon" ? (
|
24511
|
+
return e.type === "icon" ? (d(), Z(t, {
|
24512
24512
|
key: 0,
|
24513
24513
|
icon: `fa-solid fa-${e.value || "bolt"}`,
|
24514
24514
|
class: j(["AVBullet--icon", {
|
@@ -24516,7 +24516,7 @@ const gY = /* @__PURE__ */ G(MY, [["__scopeId", "data-v-70d9cfd4"]]), HY = /* @_
|
|
24516
24516
|
"AVBullet--hover": e.hover
|
24517
24517
|
}]),
|
24518
24518
|
"data-test": "icon-bullet"
|
24519
|
-
}, null, 8, ["icon", "class"])) : e.type === "number" ? (
|
24519
|
+
}, null, 8, ["icon", "class"])) : e.type === "number" ? (d(), h("div", {
|
24520
24520
|
key: 1,
|
24521
24521
|
class: j(["AVBullet--container AVBullet--outer-circle", {
|
24522
24522
|
"AVBullet--active": e.active,
|
@@ -24530,7 +24530,7 @@ const gY = /* @__PURE__ */ G(MY, [["__scopeId", "data-v-70d9cfd4"]]), HY = /* @_
|
|
24530
24530
|
"AVBullet--hover": e.hover
|
24531
24531
|
}])
|
24532
24532
|
}, g(e.value || "0"), 3)
|
24533
|
-
], 2)) : (
|
24533
|
+
], 2)) : (d(), Z(t, {
|
24534
24534
|
key: 2,
|
24535
24535
|
icon: "fa-solid fa-circle",
|
24536
24536
|
class: j(["AVBullet--icon", {
|
@@ -24599,8 +24599,8 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
|
|
24599
24599
|
}));
|
24600
24600
|
return (s, l) => {
|
24601
24601
|
const r = P("AVIcon"), f = h2("tooltip");
|
24602
|
-
return
|
24603
|
-
e.inputLabel ? (
|
24602
|
+
return d(), h("div", CY, [
|
24603
|
+
e.inputLabel ? (d(), h("label", {
|
24604
24604
|
key: 0,
|
24605
24605
|
for: e.id,
|
24606
24606
|
class: "AVTextInput--label",
|
@@ -24608,7 +24608,7 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
|
|
24608
24608
|
}, [
|
24609
24609
|
o("span", null, [
|
24610
24610
|
o1(g(e.inputLabel) + " ", 1),
|
24611
|
-
e.tooltipText ? j1((
|
24611
|
+
e.tooltipText ? j1((d(), Z(r, {
|
24612
24612
|
key: 0,
|
24613
24613
|
icon: "circle-question",
|
24614
24614
|
class: "AVTextInput--tooltip-icon"
|
@@ -24619,7 +24619,7 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
|
|
24619
24619
|
], 8, bY)) : I("", !0),
|
24620
24620
|
o("div", AY, [
|
24621
24621
|
o("div", LY, [
|
24622
|
-
e.icon ? (
|
24622
|
+
e.icon ? (d(), Z(r, {
|
24623
24623
|
key: 0,
|
24624
24624
|
icon: `fa-solid fa-${e.icon}`,
|
24625
24625
|
class: "AVTextInput--input-icon",
|
@@ -24637,7 +24637,7 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
|
|
24637
24637
|
onInput: i,
|
24638
24638
|
"data-1p-ignore": ""
|
24639
24639
|
}, null, 42, _Y),
|
24640
|
-
e.error ? (
|
24640
|
+
e.error ? (d(), h("div", yY, [
|
24641
24641
|
T(r, {
|
24642
24642
|
icon: "fa-solid fa-circle-exclamation",
|
24643
24643
|
class: "AVTextInput--error-icon",
|
@@ -24645,7 +24645,7 @@ const $8 = /* @__PURE__ */ G(HY, [["__scopeId", "data-v-5b7d0fcb"]]), CY = { cla
|
|
24645
24645
|
})
|
24646
24646
|
])) : I("", !0)
|
24647
24647
|
]),
|
24648
|
-
e.error && e.errorMessage ? (
|
24648
|
+
e.error && e.errorMessage ? (d(), h("p", xY, g(e.errorMessage), 1)) : I("", !0)
|
24649
24649
|
]);
|
24650
24650
|
};
|
24651
24651
|
}
|
@@ -24726,10 +24726,10 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
|
|
24726
24726
|
const v = a.modelValue - a.step;
|
24727
24727
|
(a.min === null || v >= a.min) && t("update:modelValue", v);
|
24728
24728
|
};
|
24729
|
-
return (v,
|
24729
|
+
return (v, m) => {
|
24730
24730
|
const p = P("AVIcon"), V = h2("tooltip");
|
24731
|
-
return
|
24732
|
-
e.inputLabel ? (
|
24731
|
+
return d(), h("div", SY, [
|
24732
|
+
e.inputLabel ? (d(), h("label", {
|
24733
24733
|
key: 0,
|
24734
24734
|
for: e.id,
|
24735
24735
|
class: "AVNumberInput--label",
|
@@ -24737,7 +24737,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
|
|
24737
24737
|
}, [
|
24738
24738
|
o("span", null, [
|
24739
24739
|
o1(g(e.inputLabel) + " ", 1),
|
24740
|
-
e.tooltipText ? j1((
|
24740
|
+
e.tooltipText ? j1((d(), Z(p, {
|
24741
24741
|
key: 0,
|
24742
24742
|
icon: "circle-question",
|
24743
24743
|
class: "AVNumberInput--tooltip-icon"
|
@@ -24752,7 +24752,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
|
|
24752
24752
|
onMouseleave: r
|
24753
24753
|
}, [
|
24754
24754
|
o("div", TY, [
|
24755
|
-
e.icon ? (
|
24755
|
+
e.icon ? (d(), Z(p, {
|
24756
24756
|
key: 0,
|
24757
24757
|
icon: `fa-solid fa-${e.icon}`,
|
24758
24758
|
class: "AVNumberInput--input-icon",
|
@@ -24809,7 +24809,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
|
|
24809
24809
|
})
|
24810
24810
|
])
|
24811
24811
|
], 2),
|
24812
|
-
e.error ? (
|
24812
|
+
e.error ? (d(), h("div", EY, [
|
24813
24813
|
T(p, {
|
24814
24814
|
icon: "fa-solid fa-circle-exclamation",
|
24815
24815
|
class: "AVNumberInput--error-icon",
|
@@ -24817,7 +24817,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
|
|
24817
24817
|
})
|
24818
24818
|
])) : I("", !0)
|
24819
24819
|
], 32),
|
24820
|
-
e.error && e.errorMessage ? (
|
24820
|
+
e.error && e.errorMessage ? (d(), h("p", DY, g(e.errorMessage), 1)) : I("", !0)
|
24821
24821
|
]);
|
24822
24822
|
};
|
24823
24823
|
}
|
@@ -24875,8 +24875,8 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
|
|
24875
24875
|
};
|
24876
24876
|
return (s, l) => {
|
24877
24877
|
const r = P("AVIcon"), f = h2("tooltip");
|
24878
|
-
return
|
24879
|
-
e.inputLabel ? (
|
24878
|
+
return d(), h("div", BY, [
|
24879
|
+
e.inputLabel ? (d(), h("label", {
|
24880
24880
|
key: 0,
|
24881
24881
|
for: e.id,
|
24882
24882
|
class: "AVPasswordInput--label",
|
@@ -24884,7 +24884,7 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
|
|
24884
24884
|
}, [
|
24885
24885
|
o("span", null, [
|
24886
24886
|
o1(g(e.inputLabel) + " ", 1),
|
24887
|
-
e.tooltipText ? j1((
|
24887
|
+
e.tooltipText ? j1((d(), Z(r, {
|
24888
24888
|
key: 0,
|
24889
24889
|
icon: "circle-question",
|
24890
24890
|
class: "AVPasswordInput--tooltip-icon"
|
@@ -24895,7 +24895,7 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
|
|
24895
24895
|
], 8, RY)) : I("", !0),
|
24896
24896
|
o("div", FY, [
|
24897
24897
|
o("div", jY, [
|
24898
|
-
e.disableIcon ? I("", !0) : (
|
24898
|
+
e.disableIcon ? I("", !0) : (d(), Z(r, {
|
24899
24899
|
key: 0,
|
24900
24900
|
icon: "fa-solid fa-key",
|
24901
24901
|
class: "AVPasswordInput--input-icon",
|
@@ -24927,7 +24927,7 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
|
|
24927
24927
|
])
|
24928
24928
|
])
|
24929
24929
|
]),
|
24930
|
-
e.error && e.errorMessage ? (
|
24930
|
+
e.error && e.errorMessage ? (d(), h("p", UY, g(e.errorMessage), 1)) : I("", !0)
|
24931
24931
|
]);
|
24932
24932
|
};
|
24933
24933
|
}
|
@@ -24987,8 +24987,8 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
|
|
24987
24987
|
};
|
24988
24988
|
return (i, n) => {
|
24989
24989
|
const s = P("AVIcon"), l = h2("tooltip");
|
24990
|
-
return
|
24991
|
-
e.inputLabel ? (
|
24990
|
+
return d(), h("div", JY, [
|
24991
|
+
e.inputLabel ? (d(), h("label", {
|
24992
24992
|
key: 0,
|
24993
24993
|
for: e.id,
|
24994
24994
|
class: "AVDatetimeInput--label",
|
@@ -24996,7 +24996,7 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
|
|
24996
24996
|
}, [
|
24997
24997
|
o("span", null, [
|
24998
24998
|
o1(g(e.inputLabel) + " ", 1),
|
24999
|
-
e.tooltipText ? j1((
|
24999
|
+
e.tooltipText ? j1((d(), Z(s, {
|
25000
25000
|
key: 0,
|
25001
25001
|
icon: "circle-question",
|
25002
25002
|
class: "AVDatetimeInput--tooltip-icon"
|
@@ -25007,7 +25007,7 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
|
|
25007
25007
|
], 8, ZY)) : I("", !0),
|
25008
25008
|
o("div", YY, [
|
25009
25009
|
o("div", QY, [
|
25010
|
-
e.icon ? (
|
25010
|
+
e.icon ? (d(), Z(s, {
|
25011
25011
|
key: 0,
|
25012
25012
|
icon: `fa-solid fa-${e.icon}`,
|
25013
25013
|
class: "AVDatetimeInput--input-icon",
|
@@ -25032,7 +25032,7 @@ const GY = /* @__PURE__ */ G(WY, [["__scopeId", "data-v-b1c76306"]]), JY = { cla
|
|
25032
25032
|
max: e.max
|
25033
25033
|
}, null, 46, KY)
|
25034
25034
|
]),
|
25035
|
-
e.error && e.errorMessage ? (
|
25035
|
+
e.error && e.errorMessage ? (d(), h("p", XY, g(e.errorMessage), 1)) : I("", !0)
|
25036
25036
|
]);
|
25037
25037
|
};
|
25038
25038
|
}
|
@@ -25095,8 +25095,8 @@ const cQ = /* @__PURE__ */ G(eQ, [["__scopeId", "data-v-d438432a"]]), aQ = { cla
|
|
25095
25095
|
};
|
25096
25096
|
return (i, n) => {
|
25097
25097
|
const s = P("AVIcon"), l = h2("tooltip");
|
25098
|
-
return
|
25099
|
-
e.inputLabel ? (
|
25098
|
+
return d(), h("div", aQ, [
|
25099
|
+
e.inputLabel ? (d(), h("label", {
|
25100
25100
|
key: 0,
|
25101
25101
|
for: e.id,
|
25102
25102
|
class: "AVTextArea--label",
|
@@ -25104,7 +25104,7 @@ const cQ = /* @__PURE__ */ G(eQ, [["__scopeId", "data-v-d438432a"]]), aQ = { cla
|
|
25104
25104
|
}, [
|
25105
25105
|
o("span", null, [
|
25106
25106
|
o1(g(e.inputLabel) + " ", 1),
|
25107
|
-
e.tooltipText ? j1((
|
25107
|
+
e.tooltipText ? j1((d(), Z(s, {
|
25108
25108
|
key: 0,
|
25109
25109
|
icon: "circle-question",
|
25110
25110
|
class: "AVTextArea--tooltip-icon"
|
@@ -25118,7 +25118,7 @@ const cQ = /* @__PURE__ */ G(eQ, [["__scopeId", "data-v-d438432a"]]), aQ = { cla
|
|
25118
25118
|
class: "AVTextArea--icon-container",
|
25119
25119
|
style: B1(`height: ${1.5625 * e.rows + 1}rem;`)
|
25120
25120
|
}, [
|
25121
|
-
e.icon ? (
|
25121
|
+
e.icon ? (d(), Z(s, {
|
25122
25122
|
key: 0,
|
25123
25123
|
icon: `fa-solid fa-${e.icon}`,
|
25124
25124
|
class: "AVTextArea--input-icon",
|
@@ -25140,7 +25140,7 @@ const cQ = /* @__PURE__ */ G(eQ, [["__scopeId", "data-v-d438432a"]]), aQ = { cla
|
|
25140
25140
|
name: e.id,
|
25141
25141
|
rows: e.rows
|
25142
25142
|
}, null, 42, nQ),
|
25143
|
-
e.error ? (
|
25143
|
+
e.error ? (d(), h("div", sQ, [
|
25144
25144
|
T(s, {
|
25145
25145
|
icon: "fa-solid fa-circle-exclamation",
|
25146
25146
|
class: "AVTextArea--error-icon",
|
@@ -25148,7 +25148,7 @@ const cQ = /* @__PURE__ */ G(eQ, [["__scopeId", "data-v-d438432a"]]), aQ = { cla
|
|
25148
25148
|
})
|
25149
25149
|
])) : I("", !0)
|
25150
25150
|
]),
|
25151
|
-
e.error && e.errorMessage ? (
|
25151
|
+
e.error && e.errorMessage ? (d(), h("p", lQ, g(e.errorMessage), 1)) : I("", !0)
|
25152
25152
|
]);
|
25153
25153
|
};
|
25154
25154
|
}
|
@@ -25171,7 +25171,7 @@ const oQ = /* @__PURE__ */ G(rQ, [["__scopeId", "data-v-c9875ea2"]]), fQ = /* @_
|
|
25171
25171
|
AVLabel
|
25172
25172
|
AVLabel--${e.type}
|
25173
25173
|
`;
|
25174
|
-
return (t, i) => (
|
25174
|
+
return (t, i) => (d(), h("span", {
|
25175
25175
|
class: j(a)
|
25176
25176
|
}, g(e.value), 1));
|
25177
25177
|
}
|
@@ -25192,7 +25192,7 @@ const uQ = /* @__PURE__ */ G(fQ, [["__scopeId", "data-v-ee7ab830"]]), mQ = /* @_
|
|
25192
25192
|
}
|
25193
25193
|
},
|
25194
25194
|
setup(e) {
|
25195
|
-
return (c, a) => (
|
25195
|
+
return (c, a) => (d(), h("div", {
|
25196
25196
|
class: j(`AVCard--${e.variant}`)
|
25197
25197
|
}, [
|
25198
25198
|
g1(c.$slots, "default", {}, void 0, !0)
|
@@ -25215,7 +25215,7 @@ const dQ = /* @__PURE__ */ G(mQ, [["__scopeId", "data-v-79187531"]]), vQ = /* @_
|
|
25215
25215
|
};
|
25216
25216
|
return (i, n) => {
|
25217
25217
|
const s = P("AVIcon");
|
25218
|
-
return
|
25218
|
+
return d(), h("button", {
|
25219
25219
|
type: "button",
|
25220
25220
|
class: "AVRoundButton",
|
25221
25221
|
"data-test": "round-btn",
|
@@ -25307,9 +25307,9 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
|
|
25307
25307
|
a.disabled || (i.active = !i.active);
|
25308
25308
|
};
|
25309
25309
|
return (f, u) => {
|
25310
|
-
const v = P("AVIcon"),
|
25311
|
-
return
|
25312
|
-
e.inputLabel ? (
|
25310
|
+
const v = P("AVIcon"), m = P("AVDropdownItem"), p = P("AVDropdownContent"), V = h2("tooltip");
|
25311
|
+
return d(), h("div", hQ, [
|
25312
|
+
e.inputLabel ? (d(), h("label", {
|
25313
25313
|
key: 0,
|
25314
25314
|
for: e.id,
|
25315
25315
|
class: "AVDropdown--label",
|
@@ -25317,7 +25317,7 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
|
|
25317
25317
|
}, [
|
25318
25318
|
o("span", null, [
|
25319
25319
|
o1(g(e.inputLabel) + " ", 1),
|
25320
|
-
e.tooltipText ? j1((
|
25320
|
+
e.tooltipText ? j1((d(), Z(v, {
|
25321
25321
|
key: 0,
|
25322
25322
|
icon: "circle-question",
|
25323
25323
|
class: "AVDropdown--tooltip-icon"
|
@@ -25344,14 +25344,14 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
|
|
25344
25344
|
type: "button",
|
25345
25345
|
"aria-label": e.inputLabel
|
25346
25346
|
}, [
|
25347
|
-
e.icon ? (
|
25347
|
+
e.icon ? (d(), h("span", MQ, [
|
25348
25348
|
T(v, {
|
25349
25349
|
icon: `fa-solid fa-${e.icon}`,
|
25350
25350
|
class: "AVDropdown--input-icon",
|
25351
25351
|
"data-test": "input-icon"
|
25352
25352
|
}, null, 8, ["icon"])
|
25353
25353
|
])) : I("", !0),
|
25354
|
-
s.value === void 0 ? (
|
25354
|
+
s.value === void 0 ? (d(), h("span", gQ, g(e.placeholder), 1)) : (d(), h("span", {
|
25355
25355
|
key: 2,
|
25356
25356
|
class: "AVDropdown--selected-option",
|
25357
25357
|
textContent: g(s.value.label)
|
@@ -25366,7 +25366,7 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
|
|
25366
25366
|
], 10, VQ),
|
25367
25367
|
T(p, null, {
|
25368
25368
|
default: i1(() => [
|
25369
|
-
(
|
25369
|
+
(d(!0), h(K, null, f1(n.value, (b) => (d(), Z(m, {
|
25370
25370
|
key: b,
|
25371
25371
|
optionLabel: b.label,
|
25372
25372
|
onOnSelected: (A) => l(b.value),
|
@@ -25376,7 +25376,7 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
|
|
25376
25376
|
_: 1
|
25377
25377
|
})
|
25378
25378
|
]),
|
25379
|
-
e.error && e.errorMessage ? (
|
25379
|
+
e.error && e.errorMessage ? (d(), h("p", bQ, g(e.errorMessage), 1)) : I("", !0)
|
25380
25380
|
]);
|
25381
25381
|
};
|
25382
25382
|
}
|
@@ -25385,9 +25385,9 @@ const LQ = /* @__PURE__ */ G(AQ, [["__scopeId", "data-v-09756cc6"]]), _Q = ["ari
|
|
25385
25385
|
__name: "AVDropdownContent",
|
25386
25386
|
setup(e) {
|
25387
25387
|
const c = k1("sharedState"), a = E(() => c.active), t = E(() => c.id);
|
25388
|
-
return (i, n) => (
|
25388
|
+
return (i, n) => (d(), Z(Y2, { name: "dropdown-content" }, {
|
25389
25389
|
default: i1(() => [
|
25390
|
-
a.value ? (
|
25390
|
+
a.value ? (d(), h("div", {
|
25391
25391
|
key: 0,
|
25392
25392
|
class: "AVDropdownContent",
|
25393
25393
|
"aria-labelledby": t.value
|
@@ -25412,7 +25412,7 @@ const xQ = /* @__PURE__ */ G(yQ, [["__scopeId", "data-v-e2058f66"]]), kQ = /* @_
|
|
25412
25412
|
const a = c, t = () => {
|
25413
25413
|
a("onSelected");
|
25414
25414
|
};
|
25415
|
-
return (i, n) => (
|
25415
|
+
return (i, n) => (d(), h("a", {
|
25416
25416
|
class: "AVDropdownItem",
|
25417
25417
|
onClick: t
|
25418
25418
|
}, g(e.optionLabel), 1));
|
@@ -25485,14 +25485,14 @@ const NQ = /* @__PURE__ */ G(kQ, [["__scopeId", "data-v-2ca0bff3"]]), SQ = {
|
|
25485
25485
|
};
|
25486
25486
|
return (l, r) => {
|
25487
25487
|
const f = P("AVIcon");
|
25488
|
-
return
|
25488
|
+
return d(), h("div", {
|
25489
25489
|
class: j(`AVAlert AVAlert--${e.type}`),
|
25490
25490
|
style: B1(e.customWidth && `width: ${e.customWidth}px`),
|
25491
25491
|
"data-test": "alert"
|
25492
25492
|
}, [
|
25493
|
-
e.disableHeader ? I("", !0) : (
|
25493
|
+
e.disableHeader ? I("", !0) : (d(), h("div", SQ, [
|
25494
25494
|
o("div", wQ, [
|
25495
|
-
e.disableIcon ? I("", !0) : (
|
25495
|
+
e.disableIcon ? I("", !0) : (d(), h("div", TQ, [
|
25496
25496
|
T(f, {
|
25497
25497
|
icon: `fa-solid fa-${e.icon !== "" ? e.icon : s[e.type]}`,
|
25498
25498
|
"data-test": "alert-icon"
|
@@ -25500,7 +25500,7 @@ const NQ = /* @__PURE__ */ G(kQ, [["__scopeId", "data-v-2ca0bff3"]]), SQ = {
|
|
25500
25500
|
])),
|
25501
25501
|
o("span", IQ, g(e.title !== "" ? e.title : n[e.type]), 1)
|
25502
25502
|
]),
|
25503
|
-
e.disableDismiss ? I("", !0) : (
|
25503
|
+
e.disableDismiss ? I("", !0) : (d(), h("button", {
|
25504
25504
|
key: 0,
|
25505
25505
|
class: "AVAlert--icon-container",
|
25506
25506
|
onClick: i
|
@@ -25639,7 +25639,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25639
25639
|
L.preventDefault(), !i.disabled && (n.value = !0);
|
25640
25640
|
}, v = () => {
|
25641
25641
|
n.value = !1;
|
25642
|
-
},
|
25642
|
+
}, m = (L) => {
|
25643
25643
|
const S = Array.from(L), N = new DataTransfer();
|
25644
25644
|
for (let y of S) {
|
25645
25645
|
const R = y.name.split(".").pop();
|
@@ -25671,7 +25671,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25671
25671
|
}
|
25672
25672
|
}, _ = (L) => L.split("/").pop(), C = (L) => {
|
25673
25673
|
if (L.preventDefault(), !i.disabled) {
|
25674
|
-
if (s.value.files =
|
25674
|
+
if (s.value.files = m(Array.from(L.dataTransfer.files)), !s.value.files.length) {
|
25675
25675
|
n.value = !1;
|
25676
25676
|
return;
|
25677
25677
|
}
|
@@ -25689,8 +25689,8 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25689
25689
|
};
|
25690
25690
|
return (L, S) => {
|
25691
25691
|
const N = P("AVIcon"), y = h2("tooltip");
|
25692
|
-
return
|
25693
|
-
e.disableLabel ? I("", !0) : (
|
25692
|
+
return d(), h("div", PQ, [
|
25693
|
+
e.disableLabel ? I("", !0) : (d(), h("label", {
|
25694
25694
|
key: 0,
|
25695
25695
|
for: e.id,
|
25696
25696
|
class: "AVFileInput--label",
|
@@ -25698,7 +25698,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25698
25698
|
}, [
|
25699
25699
|
o("span", null, [
|
25700
25700
|
o1(g(e.inputLabel) + " ", 1),
|
25701
|
-
e.tooltipText ? j1((
|
25701
|
+
e.tooltipText ? j1((d(), Z(N, {
|
25702
25702
|
key: 0,
|
25703
25703
|
icon: "circle-question",
|
25704
25704
|
class: "AVFileInput--tooltip-icon"
|
@@ -25737,9 +25737,9 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25737
25737
|
})
|
25738
25738
|
]),
|
25739
25739
|
o("div", jQ, [
|
25740
|
-
n.value ? (
|
25740
|
+
n.value ? (d(), h("div", qQ, [
|
25741
25741
|
o("div", $Q, g(D(t)("js.components.AVFileInput.release")), 1)
|
25742
|
-
])) : (
|
25742
|
+
])) : (d(), h("div", UQ, [
|
25743
25743
|
o("div", WQ, g(D(t)("js.components.AVFileInput.primary")), 1),
|
25744
25744
|
o("div", GQ, [
|
25745
25745
|
o1(g(D(t)("js.components.AVFileInput.secondary.start")) + " ", 1),
|
@@ -25749,23 +25749,23 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25749
25749
|
]))
|
25750
25750
|
])
|
25751
25751
|
], 42, BQ),
|
25752
|
-
e.disableAcceptedFormats ? I("", !0) : (
|
25752
|
+
e.disableAcceptedFormats ? I("", !0) : (d(), h("p", JQ, [
|
25753
25753
|
o1(g(D(t)("js.components.AVFileInput.acceptedFormats")) + " ", 1),
|
25754
25754
|
o("em", ZQ, g(V.value), 1)
|
25755
25755
|
])),
|
25756
|
-
l.value.length ? (
|
25756
|
+
l.value.length ? (d(), h("div", YQ, [
|
25757
25757
|
o("p", QQ, g(D(t)("js.components.AVFileInput.uploading")), 1),
|
25758
|
-
(
|
25758
|
+
(d(!0), h(K, null, f1(l.value, (R) => (d(), h("div", {
|
25759
25759
|
key: R.name,
|
25760
25760
|
class: j(["AVFileInput--preview-card", { error: e.error }])
|
25761
25761
|
}, [
|
25762
25762
|
o("div", KQ, [
|
25763
25763
|
o("div", XQ, [
|
25764
|
-
e.showPreview ? (
|
25764
|
+
e.showPreview ? (d(), h("img", {
|
25765
25765
|
key: 0,
|
25766
25766
|
class: "AVFileInput--preview-img",
|
25767
25767
|
src: x(R)
|
25768
|
-
}, null, 8, eK)) : (
|
25768
|
+
}, null, 8, eK)) : (d(), Z(N, {
|
25769
25769
|
key: 1,
|
25770
25770
|
icon: "fa-solid fa-file",
|
25771
25771
|
class: "AVTextInput--preview-icon",
|
@@ -25777,7 +25777,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25777
25777
|
o("em", null, g(A(R.size)), 1)
|
25778
25778
|
])
|
25779
25779
|
]),
|
25780
|
-
e.disabled ? I("", !0) : (
|
25780
|
+
e.disabled ? I("", !0) : (d(), h("button", {
|
25781
25781
|
key: 0,
|
25782
25782
|
class: "AVTextInput--delete-btn",
|
25783
25783
|
type: "button",
|
@@ -25792,17 +25792,17 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25792
25792
|
], 8, aK))
|
25793
25793
|
], 2))), 128))
|
25794
25794
|
])) : I("", !0),
|
25795
|
-
e.currentValue.length ? (
|
25795
|
+
e.currentValue.length ? (d(), h("div", tK, [
|
25796
25796
|
o("p", iK, g(D(t)("js.components.AVFileInput.current")), 1),
|
25797
|
-
(
|
25797
|
+
(d(!0), h(K, null, f1(e.currentValue, (R) => (d(), h("div", {
|
25798
25798
|
key: `image-${R}`
|
25799
25799
|
}, [
|
25800
|
-
e.showPreview ? (
|
25800
|
+
e.showPreview ? (d(), h("img", {
|
25801
25801
|
key: 0,
|
25802
25802
|
class: "AVFileInput--current-img",
|
25803
25803
|
src: R,
|
25804
25804
|
alt: D(t)("js.components.AVFileInput.alt_preview")
|
25805
|
-
}, null, 8, nK)) : (
|
25805
|
+
}, null, 8, nK)) : (d(), h("div", sK, [
|
25806
25806
|
o("div", lK, [
|
25807
25807
|
o("div", rK, [
|
25808
25808
|
T(N, {
|
@@ -25828,7 +25828,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
25828
25828
|
]))
|
25829
25829
|
]))), 128))
|
25830
25830
|
])) : I("", !0),
|
25831
|
-
e.error && e.errorMessage ? (
|
25831
|
+
e.error && e.errorMessage ? (d(), h("p", uK, g(e.errorMessage), 1)) : I("", !0)
|
25832
25832
|
]);
|
25833
25833
|
};
|
25834
25834
|
}
|
@@ -25869,7 +25869,7 @@ const dK = /* @__PURE__ */ G(mK, [["__scopeId", "data-v-d0e51bd2"]]), vK = (e) =
|
|
25869
25869
|
() => {
|
25870
25870
|
i.value = a.checked;
|
25871
25871
|
}
|
25872
|
-
), (l, r) => (
|
25872
|
+
), (l, r) => (d(), h("label", {
|
25873
25873
|
for: e.id,
|
25874
25874
|
class: j(["AVRadio", { disabled: e.disabled }])
|
25875
25875
|
}, [
|
@@ -25946,7 +25946,7 @@ const MK = /* @__PURE__ */ G(VK, [["__scopeId", "data-v-065c2914"]]), gK = ["hre
|
|
25946
25946
|
setup(e) {
|
25947
25947
|
return (c, a) => {
|
25948
25948
|
const t = P("AVIcon");
|
25949
|
-
return
|
25949
|
+
return d(), h("a", {
|
25950
25950
|
href: e.href,
|
25951
25951
|
referrerpolicy: e.referrerpolicy,
|
25952
25952
|
rel: e.rel,
|
@@ -25954,7 +25954,7 @@ const MK = /* @__PURE__ */ G(VK, [["__scopeId", "data-v-065c2914"]]), gK = ["hre
|
|
25954
25954
|
class: j(`AVLink AVLink--${e.variant}`)
|
25955
25955
|
}, [
|
25956
25956
|
o("span", null, g(e.label), 1),
|
25957
|
-
e.disableIcon ? I("", !0) : (
|
25957
|
+
e.disableIcon ? I("", !0) : (d(), Z(t, {
|
25958
25958
|
key: 0,
|
25959
25959
|
icon: "fa-solid fa-arrow-up-right-from-square",
|
25960
25960
|
class: "AVLink--icon",
|
@@ -26012,7 +26012,7 @@ const CK = /* @__PURE__ */ G(HK, [["__scopeId", "data-v-999075bc"]]), bK = ["hre
|
|
26012
26012
|
};
|
26013
26013
|
return (l, r) => {
|
26014
26014
|
const f = P("AVIcon");
|
26015
|
-
return i.value === "link" ? (
|
26015
|
+
return i.value === "link" ? (d(), h("a", {
|
26016
26016
|
key: 0,
|
26017
26017
|
href: n.value,
|
26018
26018
|
class: j(["AVNavbarItem", {
|
@@ -26022,13 +26022,13 @@ const CK = /* @__PURE__ */ G(HK, [["__scopeId", "data-v-999075bc"]]), bK = ["hre
|
|
26022
26022
|
target: e.target,
|
26023
26023
|
style: B1(`width: ${e.customWidth}px`)
|
26024
26024
|
}, [
|
26025
|
-
e.disableIcon ? I("", !0) : (
|
26025
|
+
e.disableIcon ? I("", !0) : (d(), Z(f, {
|
26026
26026
|
key: 0,
|
26027
26027
|
icon: `fa-solid fa-${e.icon}`,
|
26028
26028
|
class: "AVNavbarItem--icon"
|
26029
26029
|
}, null, 8, ["icon"])),
|
26030
26030
|
o("span", AK, g(e.label), 1)
|
26031
|
-
], 14, bK)) : (
|
26031
|
+
], 14, bK)) : (d(), h("button", {
|
26032
26032
|
key: 1,
|
26033
26033
|
class: j(["AVNavbarItem", {
|
26034
26034
|
"AVNavbarItem--active": e.active,
|
@@ -26038,7 +26038,7 @@ const CK = /* @__PURE__ */ G(HK, [["__scopeId", "data-v-999075bc"]]), bK = ["hre
|
|
26038
26038
|
disabled: e.disabled,
|
26039
26039
|
onClick: s
|
26040
26040
|
}, [
|
26041
|
-
e.disableIcon ? I("", !0) : (
|
26041
|
+
e.disableIcon ? I("", !0) : (d(), Z(f, {
|
26042
26042
|
key: 0,
|
26043
26043
|
icon: `fa-solid fa-${e.icon}`,
|
26044
26044
|
class: "AVNavbarItem--icon"
|
@@ -26106,7 +26106,7 @@ const xK = /* @__PURE__ */ G(yK, [["__scopeId", "data-v-00ff3c9d"]]), kK = ["hre
|
|
26106
26106
|
}, u = () => {
|
26107
26107
|
t("onClick", a.reference);
|
26108
26108
|
};
|
26109
|
-
return (v,
|
26109
|
+
return (v, m) => n.value === "link" ? (d(), h("a", {
|
26110
26110
|
key: 0,
|
26111
26111
|
href: s.value,
|
26112
26112
|
class: j(["AVSidebarItem", {
|
@@ -26127,7 +26127,7 @@ const xK = /* @__PURE__ */ G(yK, [["__scopeId", "data-v-00ff3c9d"]]), kK = ["hre
|
|
26127
26127
|
"aria-hidden": "true"
|
26128
26128
|
}, null, 8, ["type", "active", "value", "hover"]),
|
26129
26129
|
o("span", NK, g(e.label), 1)
|
26130
|
-
], 42, kK)) : (
|
26130
|
+
], 42, kK)) : (d(), h("button", {
|
26131
26131
|
key: 1,
|
26132
26132
|
class: j(["AVSidebarItem", {
|
26133
26133
|
"AVSidebarItem--active": e.active,
|
@@ -26202,9 +26202,9 @@ const IK = /* @__PURE__ */ G(TK, [["__scopeId", "data-v-3e891e66"]]), EK = { cla
|
|
26202
26202
|
setup(e) {
|
26203
26203
|
return (c, a) => {
|
26204
26204
|
const t = P("AVIcon"), i = h2("tooltip");
|
26205
|
-
return j1((
|
26206
|
-
e.text ? (
|
26207
|
-
e.icon ? (
|
26205
|
+
return j1((d(), h("span", EK, [
|
26206
|
+
e.text ? (d(), h("span", DK, g(e.text), 1)) : g1(c.$slots, "text", { key: 1 }, void 0, !0),
|
26207
|
+
e.icon ? (d(), Z(t, {
|
26208
26208
|
key: 2,
|
26209
26209
|
icon: e.icon,
|
26210
26210
|
class: "AVTooltip--icon",
|
@@ -26254,7 +26254,7 @@ const OK = /* @__PURE__ */ G(PK, [["__scopeId", "data-v-3d675f68"]]), BK = { cla
|
|
26254
26254
|
};
|
26255
26255
|
return rs("sharedState", a), (i, n) => {
|
26256
26256
|
const s = P("AVIcon"), l = P("AVMenuDropdownItem"), r = P("AVMenuDropdownContent");
|
26257
|
-
return
|
26257
|
+
return d(), h("div", BK, [
|
26258
26258
|
o("button", {
|
26259
26259
|
class: "AVMenuDropdown--button",
|
26260
26260
|
onClick: t,
|
@@ -26265,12 +26265,12 @@ const OK = /* @__PURE__ */ G(PK, [["__scopeId", "data-v-3d675f68"]]), BK = { cla
|
|
26265
26265
|
type: "button",
|
26266
26266
|
"aria-label": e.ariaLabel
|
26267
26267
|
}, [
|
26268
|
-
a.active ? (
|
26268
|
+
a.active ? (d(), Z(s, {
|
26269
26269
|
key: 1,
|
26270
26270
|
icon: "fa-solid fa-xmark",
|
26271
26271
|
class: "AVMenuDropdown--icon",
|
26272
26272
|
"data-test": "main-icon"
|
26273
|
-
})) : (
|
26273
|
+
})) : (d(), Z(s, {
|
26274
26274
|
key: 0,
|
26275
26275
|
icon: `fa-solid fa-${e.icon}`,
|
26276
26276
|
class: "AVMenuDropdown--icon",
|
@@ -26279,7 +26279,7 @@ const OK = /* @__PURE__ */ G(PK, [["__scopeId", "data-v-3d675f68"]]), BK = { cla
|
|
26279
26279
|
], 8, RK),
|
26280
26280
|
T(r, null, {
|
26281
26281
|
default: i1(() => [
|
26282
|
-
(
|
26282
|
+
(d(!0), h(K, null, f1(e.options, (f, u) => (d(), Z(l, {
|
26283
26283
|
key: u,
|
26284
26284
|
optionLabel: f.label,
|
26285
26285
|
href: f.href,
|
@@ -26298,9 +26298,9 @@ const jK = /* @__PURE__ */ G(FK, [["__scopeId", "data-v-6c23aaa1"]]), qK = ["ari
|
|
26298
26298
|
__name: "AVMenuDropdownContent",
|
26299
26299
|
setup(e) {
|
26300
26300
|
const c = k1("sharedState"), a = E(() => c.active), t = E(() => c.id);
|
26301
|
-
return (i, n) => (
|
26301
|
+
return (i, n) => (d(), Z(Y2, { name: "dropdown-content" }, {
|
26302
26302
|
default: i1(() => [
|
26303
|
-
a.value ? (
|
26303
|
+
a.value ? (d(), h("div", {
|
26304
26304
|
key: 0,
|
26305
26305
|
class: "AVMenuDropdownContent",
|
26306
26306
|
"aria-labelledby": t.value
|
@@ -26335,11 +26335,11 @@ const UK = /* @__PURE__ */ G($K, [["__scopeId", "data-v-e8fb623b"]]), WK = ["hre
|
|
26335
26335
|
setup(e) {
|
26336
26336
|
return (c, a) => {
|
26337
26337
|
const t = P("AVIcon");
|
26338
|
-
return
|
26338
|
+
return d(), h("a", {
|
26339
26339
|
class: j(["AVMenuDropdownItem", { "AVMenuDropdownItem--destructive": e.destructive }]),
|
26340
26340
|
href: e.href
|
26341
26341
|
}, [
|
26342
|
-
e.icon ? (
|
26342
|
+
e.icon ? (d(), Z(t, {
|
26343
26343
|
key: 0,
|
26344
26344
|
class: "AVMenuDropdownItem--icon",
|
26345
26345
|
icon: `fa-solid fa-${e.icon}`,
|
@@ -26415,7 +26415,7 @@ const JK = /* @__PURE__ */ G(GK, [["__scopeId", "data-v-8513fa9b"]]), ZK = ["dis
|
|
26415
26415
|
}
|
26416
26416
|
return (r, f) => {
|
26417
26417
|
const u = P("AVIcon"), v = P("AVSpinner");
|
26418
|
-
return
|
26418
|
+
return d(), h("button", {
|
26419
26419
|
disabled: s.value,
|
26420
26420
|
onClick: l,
|
26421
26421
|
class: j(["AVAsyncButton", {
|
@@ -26425,7 +26425,7 @@ const JK = /* @__PURE__ */ G(GK, [["__scopeId", "data-v-8513fa9b"]]), ZK = ["dis
|
|
26425
26425
|
"AVAsyncButton--disabled": !i.value && s.value
|
26426
26426
|
}])
|
26427
26427
|
}, [
|
26428
|
-
i.value ? (
|
26428
|
+
i.value ? (d(), h(K, { key: 1 }, [
|
26429
26429
|
g1(r.$slots, "waitingIcon", {}, () => [
|
26430
26430
|
T(v, {
|
26431
26431
|
style: { color: "inherit", height: "1em", width: "1em" },
|
@@ -26437,7 +26437,7 @@ const JK = /* @__PURE__ */ G(GK, [["__scopeId", "data-v-8513fa9b"]]), ZK = ["dis
|
|
26437
26437
|
o1("Working...")
|
26438
26438
|
], !0)
|
26439
26439
|
], 64)) : g1(r.$slots, "default", { key: 0 }, () => [
|
26440
|
-
n.value ? (
|
26440
|
+
n.value ? (d(), Z(u, {
|
26441
26441
|
key: 0,
|
26442
26442
|
icon: n.value,
|
26443
26443
|
class: "AVAsyncButton--icon",
|
@@ -26473,23 +26473,23 @@ const KK = /* @__PURE__ */ G(QK, [["__scopeId", "data-v-7439a7ec"]]), XK = { cla
|
|
26473
26473
|
z1(() => s());
|
26474
26474
|
const s = () => {
|
26475
26475
|
t.value = [], a.options.map(
|
26476
|
-
(
|
26476
|
+
(m) => t.value.push({ value: m, selected: !1 })
|
26477
26477
|
), a.selected ? l(a.selected) : t.value[0].selected = !0, a.disabled && r();
|
26478
|
-
}, l = (
|
26478
|
+
}, l = (m) => {
|
26479
26479
|
t.value.map((p) => {
|
26480
|
-
p.value ===
|
26480
|
+
p.value === m ? (p.selected = !0, i.value = p.value) : p.selected = !1;
|
26481
26481
|
});
|
26482
26482
|
}, r = () => {
|
26483
|
-
if (t.value.map((
|
26484
|
-
t.value.map((
|
26483
|
+
if (t.value.map((m) => m.disabled = !1), a.disabled)
|
26484
|
+
t.value.map((m) => {
|
26485
26485
|
a.disabled.map(
|
26486
|
-
(p) => p ===
|
26486
|
+
(p) => p === m.value ? m.disabled = !0 : m
|
26487
26487
|
);
|
26488
26488
|
});
|
26489
26489
|
else
|
26490
26490
|
return;
|
26491
|
-
}, f = c, u = (
|
26492
|
-
l(
|
26491
|
+
}, f = c, u = (m) => {
|
26492
|
+
l(m), v();
|
26493
26493
|
}, v = () => {
|
26494
26494
|
f("update", i.value, t.value);
|
26495
26495
|
};
|
@@ -26504,8 +26504,8 @@ const KK = /* @__PURE__ */ G(QK, [["__scopeId", "data-v-7439a7ec"]]), XK = { cla
|
|
26504
26504
|
), s1(
|
26505
26505
|
() => a.disabled,
|
26506
26506
|
() => r()
|
26507
|
-
), (
|
26508
|
-
(
|
26507
|
+
), (m, p) => (d(), h("div", XK, [
|
26508
|
+
(d(!0), h(K, null, f1(t.value, (V) => (d(), h("button", {
|
26509
26509
|
key: V.value,
|
26510
26510
|
class: j(`AVTabSwitcher--button ${n.value} ${V.selected ? "AVTabSwitcher--button-active" : ""} ${V.disabled ? "disabled" : ""}`),
|
26511
26511
|
disabled: V.disabled,
|
@@ -26542,7 +26542,7 @@ const aX = /* @__PURE__ */ G(cX, [["__scopeId", "data-v-3c4a2127"]]), tX = { cla
|
|
26542
26542
|
const c = e, a = E(() => c.currentBallots >= c.minimumBallots), t = E(() => c.minimumBallots - c.currentBallots);
|
26543
26543
|
return (i, n) => {
|
26544
26544
|
const s = P("AVIcon"), l = P("AVSpinner");
|
26545
|
-
return
|
26545
|
+
return d(), h("div", tX, [
|
26546
26546
|
o("div", iX, [
|
26547
26547
|
T(s, {
|
26548
26548
|
icon: `fa-solid fa-${a.value ? "file-circle-check" : "file-circle-minus"}`,
|
@@ -26554,12 +26554,12 @@ const aX = /* @__PURE__ */ G(cX, [["__scopeId", "data-v-3c4a2127"]]), tX = { cla
|
|
26554
26554
|
}, g(e.ballotStyleName), 3)
|
26555
26555
|
]),
|
26556
26556
|
o("div", nX, [
|
26557
|
-
a.value ? (
|
26557
|
+
a.value ? (d(), Z(s, {
|
26558
26558
|
key: 0,
|
26559
26559
|
icon: "fa-solid fa-circle-check",
|
26560
26560
|
class: "AVBallotSummary--icon AVBallotSummary--icon-ready",
|
26561
26561
|
"data-test": "ballot-status-icon"
|
26562
|
-
})) : (
|
26562
|
+
})) : (d(), Z(l, {
|
26563
26563
|
key: 1,
|
26564
26564
|
color: "neutral",
|
26565
26565
|
"data-test": "ballot-spinner"
|
@@ -26611,7 +26611,7 @@ const lX = /* @__PURE__ */ G(sX, [["__scopeId", "data-v-2d7c011c"]]), rX = {
|
|
26611
26611
|
}, n = c, s = E(() => 100 - t.value / a.timeout * 100), l = E(
|
26612
26612
|
() => Math.floor((a.timeout - t.value) / 60)
|
26613
26613
|
), r = E(() => (a.timeout - t.value) % 60), f = E(() => l.value % 60), u = E(() => r.value < 10 ? `${f.value}:0${r.value}` : `${f.value}:${r.value}`);
|
26614
|
-
return (v,
|
26614
|
+
return (v, m) => (d(), h(K, null, [
|
26615
26615
|
o("div", {
|
26616
26616
|
class: "AVTimedCard",
|
26617
26617
|
style: B1(`width: ${e.customWidth}px`)
|
@@ -26663,7 +26663,7 @@ const uX = /* @__PURE__ */ G(fX, [["__scopeId", "data-v-7d0d595b"]]), mX = (e) =
|
|
26663
26663
|
},
|
26664
26664
|
setup(e) {
|
26665
26665
|
const c = e, a = (t) => t === c.active;
|
26666
|
-
return (t, i) => (
|
26666
|
+
return (t, i) => (d(), h("div", dX, [
|
26667
26667
|
o("span", {
|
26668
26668
|
class: j(["AVBasicSteps--step", {
|
26669
26669
|
"AVBasicSteps--step-active": a(e.steps[0])
|
@@ -26677,8 +26677,8 @@ const uX = /* @__PURE__ */ G(fX, [["__scopeId", "data-v-7d0d595b"]]), mX = (e) =
|
|
26677
26677
|
}]),
|
26678
26678
|
"data-test": "step"
|
26679
26679
|
}, g(e.steps[1]), 3),
|
26680
|
-
e.steps.length === 3 ? (
|
26681
|
-
e.steps.length === 3 ? (
|
26680
|
+
e.steps.length === 3 ? (d(), h("span", pX)) : I("", !0),
|
26681
|
+
e.steps.length === 3 ? (d(), h("span", {
|
26682
26682
|
key: 1,
|
26683
26683
|
class: j(["AVBasicSteps--step", {
|
26684
26684
|
"AVBasicSteps--step-active": a(e.steps[2])
|
@@ -26735,18 +26735,18 @@ const zX = /* @__PURE__ */ G(hX, [["__scopeId", "data-v-dbd25d5c"]]), VX = { cla
|
|
26735
26735
|
const n = E(() => `${100 / c.steps.length}%`);
|
26736
26736
|
return (s, l) => {
|
26737
26737
|
const r = P("AVIcon");
|
26738
|
-
return
|
26739
|
-
(
|
26738
|
+
return d(), h("div", VX, [
|
26739
|
+
(d(!0), h(K, null, f1(a.value, (f, u) => (d(), h("div", {
|
26740
26740
|
key: u,
|
26741
26741
|
class: j(`${a.value.length !== u + 1 ? "AVSteps--step" : "AVSteps--step-last"} ${f.active ? "AVSteps--step-active" : ""}`),
|
26742
26742
|
"data-test": "step"
|
26743
26743
|
}, [
|
26744
|
-
f.done ? (
|
26744
|
+
f.done ? (d(), h("div", MX, [
|
26745
26745
|
T(r, {
|
26746
26746
|
icon: "fa-solid fa-check",
|
26747
26747
|
class: "AVSteps--step-icon"
|
26748
26748
|
})
|
26749
|
-
])) : (
|
26749
|
+
])) : (d(), h("div", {
|
26750
26750
|
key: 1,
|
26751
26751
|
class: j(["AVSteps--step--number-container", {
|
26752
26752
|
"AVSteps--step-circle": a.value.length !== u + 1,
|
@@ -26813,12 +26813,12 @@ const HX = /* @__PURE__ */ G(gX, [["__scopeId", "data-v-89e22cbe"]]), g$ = (e) =
|
|
26813
26813
|
c.locale && r1(c.locale);
|
26814
26814
|
},
|
26815
26815
|
{ deep: !0 }
|
26816
|
-
), (n, s) => j1((
|
26816
|
+
), (n, s) => j1((d(), h("div", {
|
26817
26817
|
class: "AVOptionSelect",
|
26818
26818
|
"aria-label": a.value,
|
26819
26819
|
"data-test": "option-select"
|
26820
26820
|
}, [
|
26821
|
-
e.rank ? (
|
26821
|
+
e.rank ? (d(), h("span", bX, g(e.rank), 1)) : (d(), h("svg", AX, yX))
|
26822
26822
|
], 8, CX)), [
|
26823
26823
|
[E4, e.checked]
|
26824
26824
|
]);
|
@@ -26885,8 +26885,8 @@ const kX = /* @__PURE__ */ G(xX, [["__scopeId", "data-v-a31774ee"]]), NX = { cla
|
|
26885
26885
|
} : {});
|
26886
26886
|
return (r, f) => {
|
26887
26887
|
const u = P("AVOptionSelect");
|
26888
|
-
return
|
26889
|
-
e.exclusiveError && e.checked ? (
|
26888
|
+
return d(), h("div", NX, [
|
26889
|
+
e.exclusiveError && e.checked ? (d(), h("div", SX, [
|
26890
26890
|
o("div", wX, g(D(t)("js.components.AVOptionCheckbox.exclusive_option")), 1)
|
26891
26891
|
])) : I("", !0),
|
26892
26892
|
o("button", W8({
|
@@ -26905,7 +26905,7 @@ const kX = /* @__PURE__ */ G(xX, [["__scopeId", "data-v-a31774ee"]]), NX = { cla
|
|
26905
26905
|
onKeydown: U8(m2(s, ["prevent"]), ["space", "enter"]),
|
26906
26906
|
"data-test": "option-checkbox"
|
26907
26907
|
}), [
|
26908
|
-
e.checked ? (
|
26908
|
+
e.checked ? (d(), Z(u, {
|
26909
26909
|
key: 0,
|
26910
26910
|
id: `option_${e.optionReference}_tick`,
|
26911
26911
|
rank: e.rank,
|
@@ -26944,7 +26944,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
|
|
26944
26944
|
n.style.height = "0";
|
26945
26945
|
});
|
26946
26946
|
};
|
26947
|
-
return (n, s) => (
|
26947
|
+
return (n, s) => (d(), Z(Y2, {
|
26948
26948
|
name: "slide-fade",
|
26949
26949
|
onEnter: a,
|
26950
26950
|
onLeave: i,
|
@@ -26987,7 +26987,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
|
|
26987
26987
|
};
|
26988
26988
|
return (r, f) => {
|
26989
26989
|
const u = P("AVTransitionSlide");
|
26990
|
-
return e.collapsable ? (
|
26990
|
+
return e.collapsable ? (d(), h(K, { key: 0 }, [
|
26991
26991
|
o("div", {
|
26992
26992
|
role: "button",
|
26993
26993
|
"aria-controls": e.paneId,
|
@@ -27022,7 +27022,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
|
|
27022
27022
|
]),
|
27023
27023
|
_: 3
|
27024
27024
|
}, 8, ["skip-transition"])
|
27025
|
-
], 64)) : (
|
27025
|
+
], 64)) : (d(), h(K, { key: 1 }, [
|
27026
27026
|
g1(r.$slots, "toggle", {
|
27027
27027
|
isOpen: !0,
|
27028
27028
|
collapsable: !1
|
@@ -27071,7 +27071,7 @@ const RX = /* @__PURE__ */ G(BX, [["__scopeId", "data-v-f5102fd7"]]), FX = { "da
|
|
27071
27071
|
}), i = (n) => window.open(n, "_blank").focus();
|
27072
27072
|
return (n, s) => {
|
27073
27073
|
const l = P("AVIcon");
|
27074
|
-
return
|
27074
|
+
return d(), h("button", {
|
27075
27075
|
class: j(["AVLinkVisualizer AVLinkVisualizer--themed-btn", { "AVLinkVisualizer--large": e.large }]),
|
27076
27076
|
"data-test": "button",
|
27077
27077
|
onClick: s[0] || (s[0] = (r) => i(e.link.attributes.url))
|
@@ -27158,7 +27158,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27158
27158
|
}, f = () => {
|
27159
27159
|
var v;
|
27160
27160
|
console.log("CALLED"), c.linkMode || (i.value = ((v = t.value.find(
|
27161
|
-
(
|
27161
|
+
(m) => Number(m.dataset.index) === Number(c.stepNumber)
|
27162
27162
|
)) == null ? void 0 : v.clientHeight) ?? 0);
|
27163
27163
|
}, u = () => {
|
27164
27164
|
if (!c.linkMode && !c.stepNumber)
|
@@ -27166,10 +27166,10 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27166
27166
|
};
|
27167
27167
|
return z1(() => {
|
27168
27168
|
u(), r(), f(), window.addEventListener("resize", f);
|
27169
|
-
}), is(() => window.removeEventListener("resize", f)), (v,
|
27169
|
+
}), is(() => window.removeEventListener("resize", f)), (v, m) => {
|
27170
27170
|
const p = P("AVIcon");
|
27171
|
-
return
|
27172
|
-
e.hasPrevStep ? (
|
27171
|
+
return d(), h("div", $X, [
|
27172
|
+
e.hasPrevStep ? (d(), h("div", {
|
27173
27173
|
key: 0,
|
27174
27174
|
class: "AVVerticalStep--line",
|
27175
27175
|
style: B1(s.value),
|
@@ -27187,23 +27187,23 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27187
27187
|
class: j(`AVVerticalStep--step AVVerticalStep--step-${e.status}`),
|
27188
27188
|
"data-test": "step-circle"
|
27189
27189
|
}, [
|
27190
|
-
e.summary ? (
|
27190
|
+
e.summary ? (d(), h("div", WX, [
|
27191
27191
|
o("div", GX, [
|
27192
27192
|
T(p, { icon: "grip-vertical" })
|
27193
27193
|
]),
|
27194
27194
|
o("div", JX, [
|
27195
27195
|
T(p, { icon: "arrow-left" })
|
27196
27196
|
])
|
27197
|
-
])) : e.linkMode && e.status === "active" ? (
|
27197
|
+
])) : e.linkMode && e.status === "active" ? (d(), h("div", ZX, [
|
27198
27198
|
o("span", YX, g(a.value), 1)
|
27199
|
-
])) : e.linkMode && e.status !== "active" ? (
|
27199
|
+
])) : e.linkMode && e.status !== "active" ? (d(), h("div", QX, [
|
27200
27200
|
o("div", KX, [
|
27201
27201
|
o("span", XX, g(a.value), 1)
|
27202
27202
|
]),
|
27203
27203
|
o("div", e11, [
|
27204
27204
|
T(p, { icon: "arrow-right" })
|
27205
27205
|
])
|
27206
|
-
])) : (
|
27206
|
+
])) : (d(), h("div", c11, [
|
27207
27207
|
T(p, {
|
27208
27208
|
icon: e.status === "done" ? "check" : `${e.stepNumber}`,
|
27209
27209
|
class: "AVVerticalStep--icon",
|
@@ -27212,11 +27212,17 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27212
27212
|
]))
|
27213
27213
|
], 2),
|
27214
27214
|
T(Y2, {
|
27215
|
-
onAfterEnter:
|
27216
|
-
|
27215
|
+
onAfterEnter: m[0] || (m[0] = (V) => {
|
27216
|
+
console.log("after-enter"), f();
|
27217
|
+
}),
|
27218
|
+
onBeforeEnter: m[1] || (m[1] = (V) => console.log("before-enter")),
|
27219
|
+
onAfterLeave: m[2] || (m[2] = (V) => {
|
27220
|
+
console.log("after-leave"), f();
|
27221
|
+
}),
|
27222
|
+
onBeforeLeave: m[3] || (m[3] = (V) => console.log("before-leave"))
|
27217
27223
|
}, {
|
27218
27224
|
default: i1(() => [
|
27219
|
-
e.collapsed ? I("", !0) : (
|
27225
|
+
e.collapsed ? I("", !0) : (d(), h("div", {
|
27220
27226
|
key: 0,
|
27221
27227
|
class: j(["AVVerticalStep--text", {
|
27222
27228
|
"AVVerticalStep--text-link-active": e.linkMode && e.status === "active"
|
@@ -27226,7 +27232,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27226
27232
|
class: j(`AVVerticalStep--title AVVerticalStep--text-${e.status}`),
|
27227
27233
|
"data-test": "step-title"
|
27228
27234
|
}, g(e.title), 3),
|
27229
|
-
e.subtitle ? (
|
27235
|
+
e.subtitle ? (d(), h("span", {
|
27230
27236
|
key: 0,
|
27231
27237
|
class: j(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),
|
27232
27238
|
"data-test": "step-subtitle"
|
@@ -27236,7 +27242,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27236
27242
|
_: 1
|
27237
27243
|
})
|
27238
27244
|
], 10, UX),
|
27239
|
-
e.hasNextStep ? (
|
27245
|
+
e.hasNextStep ? (d(), h("div", {
|
27240
27246
|
key: 1,
|
27241
27247
|
class: "AVVerticalStep--line",
|
27242
27248
|
style: B1(l.value),
|
@@ -27246,7 +27252,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27246
27252
|
};
|
27247
27253
|
}
|
27248
27254
|
});
|
27249
|
-
const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-
|
27255
|
+
const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-f61cf1ab"]]), bi = (e) => (Z1("data-v-90e59491"), e = e(), Y1(), e), i11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), n11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), s11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), l11 = [
|
27250
27256
|
i11,
|
27251
27257
|
n11,
|
27252
27258
|
s11
|
@@ -27261,7 +27267,7 @@ const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-0504e8ba"]]), bi = (e)
|
|
27261
27267
|
emits: ["update:isOpened"],
|
27262
27268
|
setup(e, { emit: c }) {
|
27263
27269
|
const a = c;
|
27264
|
-
return (t, i) => (
|
27270
|
+
return (t, i) => (d(), h("button", {
|
27265
27271
|
class: j(["AVAnimatedMenuButton", {
|
27266
27272
|
"AVAnimatedMenuButton--opened": e.isOpened
|
27267
27273
|
}]),
|
@@ -27289,8 +27295,8 @@ const o11 = /* @__PURE__ */ G(r11, [["__scopeId", "data-v-90e59491"]]), f11 = {
|
|
27289
27295
|
}
|
27290
27296
|
},
|
27291
27297
|
setup(e) {
|
27292
|
-
return (c, a) => (
|
27293
|
-
e.hidePercentage ? I("", !0) : (
|
27298
|
+
return (c, a) => (d(), h("div", f11, [
|
27299
|
+
e.hidePercentage ? I("", !0) : (d(), h("div", {
|
27294
27300
|
key: 0,
|
27295
27301
|
class: j(["AVProgressBar--percentage", {
|
27296
27302
|
"AVProgressBar--success": e.value === 100
|
@@ -27316,7 +27322,7 @@ var v11 = {}, p11 = function(e) {
|
|
27316
27322
|
z11
|
27317
27323
|
];
|
27318
27324
|
function M11(e, c) {
|
27319
|
-
return
|
27325
|
+
return d(), h("div", h11, V11);
|
27320
27326
|
}
|
27321
27327
|
const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d66c0"]]), H11 = { class: "AVRadioGroup--input-set" }, C11 = ["for"], b11 = {
|
27322
27328
|
key: 1,
|
@@ -27400,9 +27406,9 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
27400
27406
|
l();
|
27401
27407
|
}
|
27402
27408
|
), (u, v) => {
|
27403
|
-
const
|
27404
|
-
return
|
27405
|
-
e.disableLabel ? I("", !0) : (
|
27409
|
+
const m = P("AVRadio");
|
27410
|
+
return d(), h("div", H11, [
|
27411
|
+
e.disableLabel ? I("", !0) : (d(), h("label", {
|
27406
27412
|
key: 0,
|
27407
27413
|
for: e.id,
|
27408
27414
|
class: "AVRadioGroup--label",
|
@@ -27412,7 +27418,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
27412
27418
|
class: j(`AVRadioGroup--${e.orientation}`),
|
27413
27419
|
"data-test": "input-group"
|
27414
27420
|
}, [
|
27415
|
-
(
|
27421
|
+
(d(!0), h(K, null, f1(n.value, (p, V) => (d(), Z(m, {
|
27416
27422
|
class: "AVRadioGroup--child",
|
27417
27423
|
id: `radio-${e.id}-${V}`,
|
27418
27424
|
key: V,
|
@@ -27422,7 +27428,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
27422
27428
|
onUpdate: (b) => r(p.value)
|
27423
27429
|
}, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
|
27424
27430
|
], 2),
|
27425
|
-
e.error && e.errorMessage ? (
|
27431
|
+
e.error && e.errorMessage ? (d(), h("p", b11, g(e.errorMessage), 1)) : I("", !0)
|
27426
27432
|
]);
|
27427
27433
|
};
|
27428
27434
|
}
|
@@ -27437,7 +27443,7 @@ const L11 = /* @__PURE__ */ G(A11, [["__scopeId", "data-v-74ff59b8"]]), _11 = /*
|
|
27437
27443
|
}
|
27438
27444
|
},
|
27439
27445
|
setup(e) {
|
27440
|
-
return (c, a) => (
|
27446
|
+
return (c, a) => (d(), h("div", {
|
27441
27447
|
class: j(`AVNavigationItemList AVNavigationItemList--${e.type}`)
|
27442
27448
|
}, [
|
27443
27449
|
g1(c.$slots, "default", {}, void 0, !0)
|
@@ -27463,15 +27469,15 @@ const y11 = /* @__PURE__ */ G(_11, [["__scopeId", "data-v-9fd5c53d"]]), x11 = {
|
|
27463
27469
|
setup(e) {
|
27464
27470
|
return (c, a) => {
|
27465
27471
|
const t = P("AVIcon");
|
27466
|
-
return
|
27472
|
+
return d(), h("div", x11, [
|
27467
27473
|
o("a", { href: e.buttonHref }, [
|
27468
|
-
e.disableButton ? I("", !0) : (
|
27474
|
+
e.disableButton ? I("", !0) : (d(), Z(t, {
|
27469
27475
|
key: 0,
|
27470
27476
|
icon: "fa-solid fa-circle-chevron-left",
|
27471
27477
|
class: "AVBreadcrumb--icon"
|
27472
27478
|
}))
|
27473
27479
|
], 8, k11),
|
27474
|
-
(
|
27480
|
+
(d(!0), h(K, null, f1(e.items, (i, n) => (d(), h("span", {
|
27475
27481
|
key: n,
|
27476
27482
|
class: "AVBreadcrumb--group",
|
27477
27483
|
"data-test": "item-group"
|
@@ -27557,7 +27563,7 @@ const w11 = /* @__PURE__ */ G(S11, [["__scopeId", "data-v-479a161a"]]), T11 = ["
|
|
27557
27563
|
}, t = E(() => a[c.status]);
|
27558
27564
|
return (i, n) => {
|
27559
27565
|
const s = P("AVLabel"), l = P("AVIcon"), r = P("AVCard");
|
27560
|
-
return
|
27566
|
+
return d(), h("a", {
|
27561
27567
|
href: e.href,
|
27562
27568
|
class: "AVElectionCard",
|
27563
27569
|
"data-test": "link"
|
@@ -27656,7 +27662,7 @@ const Y11 = /* @__PURE__ */ G(Z11, [["__scopeId", "data-v-dd72671e"]]), Q11 = ["
|
|
27656
27662
|
setup(e) {
|
27657
27663
|
return (c, a) => {
|
27658
27664
|
const t = P("AVIcon"), i = P("AVCard");
|
27659
|
-
return
|
27665
|
+
return d(), h("a", {
|
27660
27666
|
href: e.href,
|
27661
27667
|
class: "AVBallotStyleCard",
|
27662
27668
|
role: "button",
|
@@ -27665,7 +27671,7 @@ const Y11 = /* @__PURE__ */ G(Z11, [["__scopeId", "data-v-dd72671e"]]), Q11 = ["
|
|
27665
27671
|
T(i, { variant: "rounded" }, {
|
27666
27672
|
default: i1(() => [
|
27667
27673
|
o("div", K11, [
|
27668
|
-
e.reviewed ? (
|
27674
|
+
e.reviewed ? (d(), h("div", X11, [
|
27669
27675
|
T(t, { icon: "fa-solid fa-check" })
|
27670
27676
|
])) : I("", !0),
|
27671
27677
|
o("div", e21, [
|
@@ -27740,8 +27746,8 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27740
27746
|
var V, b;
|
27741
27747
|
const u = Array.from(Array((V = c.option) == null ? void 0 : V.crosses).keys());
|
27742
27748
|
u.forEach((A) => u[A] = A + 1);
|
27743
|
-
const v = u.indexOf(Math.ceil(((b = c.option) == null ? void 0 : b.crosses) / 2)) + 1,
|
27744
|
-
return p.length ? [
|
27749
|
+
const v = u.indexOf(Math.ceil(((b = c.option) == null ? void 0 : b.crosses) / 2)) + 1, m = u.slice(0, v), p = u.slice(v);
|
27750
|
+
return p.length ? [m, p] : [m];
|
27745
27751
|
}), s = E(
|
27746
27752
|
() => c.option.image.includes("square") ? c.option.image : `${c.option.image}/${c.imageOption}`
|
27747
27753
|
), l = k1("i18n"), { t: r } = l.global, f = E(
|
@@ -27757,15 +27763,15 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27757
27763
|
{ deep: !0 }
|
27758
27764
|
), (u, v) => {
|
27759
27765
|
var p, V;
|
27760
|
-
const
|
27761
|
-
return
|
27766
|
+
const m = P("AVOptionCheckbox");
|
27767
|
+
return d(), h("div", {
|
27762
27768
|
class: "AVSummaryOption",
|
27763
27769
|
"aria-label": D(r)("js.components.AVSummaryOption.aria_label.option"),
|
27764
27770
|
"data-test": "summary-option"
|
27765
27771
|
}, [
|
27766
|
-
t.value ? (
|
27772
|
+
t.value ? (d(), h("div", l21, [
|
27767
27773
|
o("ul", r21, [
|
27768
|
-
(
|
27774
|
+
(d(!0), h(K, null, f1(t.value, (b, A) => (d(), h("li", {
|
27769
27775
|
key: b + A,
|
27770
27776
|
class: "AVSummaryOption--breadcrumb-item",
|
27771
27777
|
"data-test": "breadcrumb-item"
|
@@ -27778,7 +27784,7 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27778
27784
|
"AVSummaryOption--header-multiple": a.value
|
27779
27785
|
})
|
27780
27786
|
}, [
|
27781
|
-
(p = e.option) != null && p.image ? (
|
27787
|
+
(p = e.option) != null && p.image ? (d(), h("img", {
|
27782
27788
|
key: 0,
|
27783
27789
|
src: s.value,
|
27784
27790
|
class: "AVSummaryOption--img",
|
@@ -27788,8 +27794,8 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27788
27794
|
o("div", f21, [
|
27789
27795
|
o("div", u21, g(i.value), 1)
|
27790
27796
|
]),
|
27791
|
-
a.value ? I("", !0) : (
|
27792
|
-
T(
|
27797
|
+
a.value ? I("", !0) : (d(), h("div", m21, [
|
27798
|
+
T(m, {
|
27793
27799
|
checked: !0,
|
27794
27800
|
rank: (V = e.option) == null ? void 0 : V.rank,
|
27795
27801
|
disabled: !0,
|
@@ -27797,14 +27803,14 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27797
27803
|
}, null, 8, ["rank"])
|
27798
27804
|
]))
|
27799
27805
|
], 2),
|
27800
|
-
a.value ? (
|
27801
|
-
(
|
27806
|
+
a.value ? (d(), h("div", d21, [
|
27807
|
+
(d(!0), h(K, null, f1(n.value, (b) => (d(), h("div", {
|
27802
27808
|
key: b.toString(),
|
27803
27809
|
class: "AVSummaryOption--group"
|
27804
27810
|
}, [
|
27805
|
-
(
|
27811
|
+
(d(!0), h(K, null, f1(b, (A) => {
|
27806
27812
|
var _;
|
27807
|
-
return
|
27813
|
+
return d(), Z(m, {
|
27808
27814
|
key: A,
|
27809
27815
|
checked: !0,
|
27810
27816
|
rank: (_ = e.option) == null ? void 0 : _.rank,
|
@@ -27916,7 +27922,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
27916
27922
|
var O;
|
27917
27923
|
return ((O = n.option.description) == null ? void 0 : O[X.value]) ?? "";
|
27918
27924
|
}
|
27919
|
-
),
|
27925
|
+
), m = E(() => {
|
27920
27926
|
var O;
|
27921
27927
|
return ((O = n.option.url) == null ? void 0 : O[X.value]) ?? "";
|
27922
27928
|
}), p = E(
|
@@ -27928,8 +27934,8 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
27928
27934
|
() => n.option.image.includes("square") ? n.option.image : `${n.option.image}/${n.imageOption}`
|
27929
27935
|
), b = E(() => {
|
27930
27936
|
let O = [];
|
27931
|
-
return
|
27932
|
-
url:
|
27937
|
+
return m.value && O.push({
|
27938
|
+
url: m.value,
|
27933
27939
|
text: R("js.components.AVOption.info_link_text_html")
|
27934
27940
|
}), p.value && O.push({
|
27935
27941
|
url: p.value,
|
@@ -27979,7 +27985,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
27979
27985
|
{ deep: !0 }
|
27980
27986
|
), (O, a1) => {
|
27981
27987
|
const u1 = P("AVIcon"), U = P("AVOptionCheckbox"), Q = P("AVOption", !0), y1 = P("AVCollapser");
|
27982
|
-
return
|
27988
|
+
return d(), h("div", {
|
27983
27989
|
class: j({
|
27984
27990
|
"AVOption--background": !0,
|
27985
27991
|
"AVOption--disabled": e.disabled
|
@@ -28021,7 +28027,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28021
28027
|
}, [
|
28022
28028
|
o("div", z21, [
|
28023
28029
|
o("header", V21, [
|
28024
|
-
e.option.image ? (
|
28030
|
+
e.option.image ? (d(), h("img", {
|
28025
28031
|
key: 0,
|
28026
28032
|
src: V.value,
|
28027
28033
|
alt: D(R)("js.components.AVOption.aria_labels.option_image"),
|
@@ -28033,18 +28039,18 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28033
28039
|
textContent: g(u.value)
|
28034
28040
|
}, null, 8, g21)
|
28035
28041
|
]),
|
28036
|
-
v.value || b.value.length || A.value || e.option.candidateId ? (
|
28037
|
-
v.value ? (
|
28042
|
+
v.value || b.value.length || A.value || e.option.candidateId ? (d(), h("div", H21, [
|
28043
|
+
v.value ? (d(), h("div", C21, [
|
28038
28044
|
o("p", { innerHTML: v.value }, null, 8, b21)
|
28039
28045
|
])) : I("", !0),
|
28040
|
-
b.value.length > 0 || e.option.candidateId ? (
|
28041
|
-
e.option.candidateId ? (
|
28046
|
+
b.value.length > 0 || e.option.candidateId ? (d(), h("div", A21, [
|
28047
|
+
e.option.candidateId ? (d(), h("button", {
|
28042
28048
|
key: 0,
|
28043
28049
|
class: "AVOption--link",
|
28044
28050
|
onClick: a1[0] || (a1[0] = (O1) => s("view-candidate", e.option.candidateId)),
|
28045
28051
|
"data-test": "option-candidacy"
|
28046
28052
|
}, g(D(R)("js.components.AVOption.view_candidate")), 1)) : I("", !0),
|
28047
|
-
(
|
28053
|
+
(d(!0), h(K, null, f1(b.value, (O1) => (d(), h("a", {
|
28048
28054
|
key: O1.toString(),
|
28049
28055
|
href: O1.url,
|
28050
28056
|
class: "AVOption--link",
|
@@ -28052,7 +28058,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28052
28058
|
"data-test": "option-link"
|
28053
28059
|
}, g(O1.text), 9, L21))), 128))
|
28054
28060
|
])) : I("", !0),
|
28055
|
-
W1 && A.value ? (
|
28061
|
+
W1 && A.value ? (d(), h("div", _21, [
|
28056
28062
|
o("div", {
|
28057
28063
|
id: `option_${e.option.reference}_dropdown`,
|
28058
28064
|
class: "AVOption--expander-container",
|
@@ -28068,7 +28074,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28068
28074
|
innerHTML: P1 ? D(R)("js.components.AVOption.collapse_text") : D(R)("js.components.AVOption.expand_text")
|
28069
28075
|
}, null, 8, x21)
|
28070
28076
|
], 8, y21),
|
28071
|
-
C.value && !P1 ? (
|
28077
|
+
C.value && !P1 ? (d(), h("span", {
|
28072
28078
|
key: 0,
|
28073
28079
|
class: j(["AVOption--suboption-badge", {
|
28074
28080
|
"AVOption--suboption-badge-danger": e.invalid,
|
@@ -28083,7 +28089,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28083
28089
|
])) : I("", !0)
|
28084
28090
|
])) : I("", !0)
|
28085
28091
|
]),
|
28086
|
-
_.value >= 1 ? (
|
28092
|
+
_.value >= 1 ? (d(), h("div", {
|
28087
28093
|
key: 0,
|
28088
28094
|
class: j({
|
28089
28095
|
"AVOption--multivote-aside": _.value <= 5,
|
@@ -28093,11 +28099,11 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28093
28099
|
style: B1(`background-color: ${_.value === 1 ? "#FFFFFF" : "#f7f7f7"}`),
|
28094
28100
|
"data-test": "option-multivote"
|
28095
28101
|
}, [
|
28096
|
-
(
|
28102
|
+
(d(!0), h(K, null, f1(x.value, (O1) => (d(), h("div", {
|
28097
28103
|
key: O1.toString(),
|
28098
28104
|
class: "AVOption--group"
|
28099
28105
|
}, [
|
28100
|
-
(
|
28106
|
+
(d(!0), h(K, null, f1(O1, (Q1) => (d(), Z(U, {
|
28101
28107
|
key: Q1,
|
28102
28108
|
checked: f.value >= Q1,
|
28103
28109
|
rank: r.value ? e.selections.map((E1) => E1.reference).indexOf(e.option.reference) + 1 : null,
|
@@ -28110,13 +28116,13 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28110
28116
|
}, null, 8, ["checked", "rank", "exclusive-error", "invalid", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
|
28111
28117
|
]))), 128))
|
28112
28118
|
], 6)) : I("", !0),
|
28113
|
-
k.value && (e.observerMode || e.disabled) ? (
|
28119
|
+
k.value && (e.observerMode || e.disabled) ? (d(), h("div", k21, [
|
28114
28120
|
T(u1, {
|
28115
28121
|
icon: "user",
|
28116
28122
|
class: "AVOption--realtime-results-icon"
|
28117
28123
|
}),
|
28118
28124
|
o("span", null, g(l.value ? `${k.value.results.count === 1 ? D(R)("js.components.AVOption.vote_count_singular") : D(R)("js.components.AVOption.vote_count_plural")} ${k.value.results.count}` : `${k.value.results.count} ${k.value.results.count === 1 ? D(R)("js.components.AVOption.vote_count_singular") : D(R)("js.components.AVOption.vote_count_plural")}`), 1),
|
28119
|
-
k.value.showPercentage ? (
|
28125
|
+
k.value.showPercentage ? (d(), h(K, { key: 0 }, [
|
28120
28126
|
N21,
|
28121
28127
|
o("span", null, g(`${k.value.results.percentage}%`), 1)
|
28122
28128
|
], 64)) : I("", !0)
|
@@ -28125,8 +28131,8 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28125
28131
|
], 14, h21)
|
28126
28132
|
]),
|
28127
28133
|
pane: i1(({ toggleCollapse: P1 }) => [
|
28128
|
-
A.value ? (
|
28129
|
-
(
|
28134
|
+
A.value ? (d(), h("div", T21, [
|
28135
|
+
(d(!0), h(K, null, f1(e.option.children, (W1) => (d(), Z(Q, {
|
28130
28136
|
key: W1.reference,
|
28131
28137
|
option: W1,
|
28132
28138
|
selections: e.selections,
|
@@ -28153,7 +28159,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28153
28159
|
class: "AVOption--realtime-results-icon"
|
28154
28160
|
}),
|
28155
28161
|
o("span", null, g(l.value ? `${k.value.results.count === 1 ? D(R)("js.components.AVOption.vote_count_singular") : D(R)("js.components.AVOption.vote_count_plural")} ${k.value.results.count}` : `${k.value.results.count} ${k.value.results.count === 1 ? D(R)("js.components.AVOption.vote_count_singular") : D(R)("js.components.AVOption.vote_count_plural")}`), 1),
|
28156
|
-
k.value.showPercentage ? (
|
28162
|
+
k.value.showPercentage ? (d(), h(K, { key: 0 }, [
|
28157
28163
|
w21,
|
28158
28164
|
o("span", null, g(`${k.value.results.percentage}%`), 1)
|
28159
28165
|
], 64)) : I("", !0)
|
@@ -28231,7 +28237,7 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
|
|
28231
28237
|
);
|
28232
28238
|
return (n, s) => {
|
28233
28239
|
const l = P("AVOptionCheckbox"), r = P("AVIcon");
|
28234
|
-
return
|
28240
|
+
return d(), h("div", {
|
28235
28241
|
class: j({
|
28236
28242
|
"AVBlankOption--disabled": e.disabled
|
28237
28243
|
}),
|
@@ -28260,26 +28266,26 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
|
|
28260
28266
|
"data-test": "blank-checkbox"
|
28261
28267
|
}, null, 8, ["checked", "exclusive-error", "invalid", "disabled"])
|
28262
28268
|
]),
|
28263
|
-
e.partialResults && (e.observerMode || e.disabled) ? (
|
28269
|
+
e.partialResults && (e.observerMode || e.disabled) ? (d(), h("div", R21, [
|
28264
28270
|
T(r, {
|
28265
28271
|
icon: "user",
|
28266
28272
|
class: "AVBlankOption--realtime-results-icon"
|
28267
28273
|
}),
|
28268
28274
|
o("span", null, g(i.value ? `${e.partialResults.results.count === 1 ? D(a)("js.components.AVBlankOption.vote_count_singular") : D(a)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? D(a)("js.components.AVBlankOption.vote_count_singular") : D(a)("js.components.AVBlankOption.vote_count_plural")}`), 1),
|
28269
|
-
e.partialResults.showPercentage ? (
|
28275
|
+
e.partialResults.showPercentage ? (d(), h(K, { key: 0 }, [
|
28270
28276
|
F21,
|
28271
28277
|
o("span", null, g(`${e.partialResults.results.percentage}%`), 1)
|
28272
28278
|
], 64)) : I("", !0)
|
28273
28279
|
])) : I("", !0)
|
28274
28280
|
])
|
28275
28281
|
], 14, D21),
|
28276
|
-
!e.disabled && e.partialResults && !e.observerMode ? (
|
28282
|
+
!e.disabled && e.partialResults && !e.observerMode ? (d(), h("div", j21, [
|
28277
28283
|
T(r, {
|
28278
28284
|
icon: "user",
|
28279
28285
|
class: "AVBlankOption--realtime-results-icon"
|
28280
28286
|
}),
|
28281
28287
|
o("span", null, g(i.value ? `${e.partialResults.results.count === 1 ? D(a)("js.components.AVBlankOption.vote_count_singular") : D(a)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? D(a)("js.components.AVBlankOption.vote_count_singular") : D(a)("js.components.AVBlankOption.vote_count_plural")}`), 1),
|
28282
|
-
e.partialResults.showPercentage ? (
|
28288
|
+
e.partialResults.showPercentage ? (d(), h(K, { key: 0 }, [
|
28283
28289
|
q21,
|
28284
28290
|
o("span", null, g(`${e.partialResults.results.percentage}%`), 1)
|
28285
28291
|
], 64)) : I("", !0)
|
@@ -28349,7 +28355,7 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
|
|
28349
28355
|
};
|
28350
28356
|
return (f, u) => {
|
28351
28357
|
const v = P("AVOptionCheckbox");
|
28352
|
-
return
|
28358
|
+
return d(), h("div", {
|
28353
28359
|
class: j({
|
28354
28360
|
AVWriteInOption: !0,
|
28355
28361
|
"AVWriteInOption--disabled": e.disabled
|
@@ -28364,14 +28370,14 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
|
|
28364
28370
|
class: "AVWriteInOption--form-control",
|
28365
28371
|
"aria-label": D(t)("js.components.AVWriteInOption.aria_labels.party"),
|
28366
28372
|
disabled: e.disabled,
|
28367
|
-
onInput: u[0] || (u[0] = (
|
28373
|
+
onInput: u[0] || (u[0] = (m) => l(m.target.value))
|
28368
28374
|
}, [
|
28369
28375
|
o("option", K21, g(D(t)("js.components.AVWriteInOption.choose_party")), 1),
|
28370
|
-
(
|
28371
|
-
key:
|
28372
|
-
value:
|
28373
|
-
selected:
|
28374
|
-
}, g(
|
28376
|
+
(d(!0), h(K, null, f1(e.parties, (m) => (d(), h("option", {
|
28377
|
+
key: m.letter,
|
28378
|
+
value: m.letter,
|
28379
|
+
selected: m.letter === e.partyValue
|
28380
|
+
}, g(m.letter) + " - " + g(m.name), 9, X21))), 128))
|
28375
28381
|
], 40, Q21),
|
28376
28382
|
o("input", {
|
28377
28383
|
value: e.candidateValue,
|
@@ -28379,7 +28385,7 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
|
|
28379
28385
|
placeholder: D(t)("js.components.AVWriteInOption.placeholder"),
|
28380
28386
|
"aria-label": D(t)("js.components.AVWriteInOption.aria_labels.candidate"),
|
28381
28387
|
disabled: e.disabled,
|
28382
|
-
onInput: u[1] || (u[1] = (
|
28388
|
+
onInput: u[1] || (u[1] = (m) => s(m.target.value))
|
28383
28389
|
}, null, 40, e31)
|
28384
28390
|
])
|
28385
28391
|
]),
|
@@ -28440,12 +28446,12 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28440
28446
|
c.locale && r1(c.locale);
|
28441
28447
|
},
|
28442
28448
|
{ deep: !0 }
|
28443
|
-
), (s, l) => (
|
28449
|
+
), (s, l) => (d(), h("div", i31, [
|
28444
28450
|
o("div", {
|
28445
28451
|
class: j(["AVSubmissionHelper--container", { "AVSubmissionHelper--danger": e.errors.length > 0 }]),
|
28446
28452
|
"data-test": "submission-helper"
|
28447
28453
|
}, [
|
28448
|
-
e.weight ? (
|
28454
|
+
e.weight ? (d(), h("div", {
|
28449
28455
|
key: 0,
|
28450
28456
|
class: j({
|
28451
28457
|
"AVSubmissionHelper--weight": !0,
|
@@ -28453,8 +28459,8 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28453
28459
|
}),
|
28454
28460
|
"data-test": "submission-helper-weight"
|
28455
28461
|
}, g(D(i)("js.components.AVSubmissionHelper.your_vote_weight", { weight: e.weight })), 3)) : I("", !0),
|
28456
|
-
e.errors.length > 0 ? (
|
28457
|
-
(
|
28462
|
+
e.errors.length > 0 ? (d(), h("div", n31, [
|
28463
|
+
(d(!0), h(K, null, f1(a.value, (r) => (d(), h("div", {
|
28458
28464
|
key: r,
|
28459
28465
|
role: "alert",
|
28460
28466
|
textContent: g(r),
|
@@ -28462,18 +28468,18 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28462
28468
|
}, null, 8, s31))), 128)),
|
28463
28469
|
l31
|
28464
28470
|
])) : I("", !0),
|
28465
|
-
e.maxMarks > 1 ? (
|
28471
|
+
e.maxMarks > 1 ? (d(), h("div", r31, [
|
28466
28472
|
o("div", o31, [
|
28467
|
-
e.minMarks === e.maxMarks ? (
|
28473
|
+
e.minMarks === e.maxMarks ? (d(), h("div", f31, g(`${D(i)("js.components.AVSubmissionHelper.select_exactly", {
|
28468
28474
|
min_marks: e.minMarks
|
28469
|
-
})}`), 1)) : (
|
28475
|
+
})}`), 1)) : (d(), h("div", u31, g(`${e.hasExclusiveOptions ? D(i)(
|
28470
28476
|
"js.components.AVSubmissionHelper.select_multiple_with_exclusives",
|
28471
28477
|
{ min_marks: e.minMarks, max_marks: e.maxMarks }
|
28472
28478
|
) : D(i)("js.components.AVSubmissionHelper.select_multiple", {
|
28473
28479
|
min_marks: e.minMarks,
|
28474
28480
|
max_marks: e.maxMarks
|
28475
28481
|
})}`), 1)),
|
28476
|
-
e.chosenCount > 0 ? (
|
28482
|
+
e.chosenCount > 0 ? (d(), h("div", {
|
28477
28483
|
key: 2,
|
28478
28484
|
innerHTML: D(i)("js.components.AVSubmissionHelper.selected", {
|
28479
28485
|
selected: e.chosenCount
|
@@ -28482,7 +28488,7 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28482
28488
|
"data-test": "submission-helper-count"
|
28483
28489
|
}, null, 8, m31)) : I("", !0)
|
28484
28490
|
])
|
28485
|
-
])) : (
|
28491
|
+
])) : (d(), h("div", d31, [
|
28486
28492
|
o("div", null, g(D(i)("js.components.AVSubmissionHelper.select_single")), 1)
|
28487
28493
|
]))
|
28488
28494
|
], 2)
|
@@ -28526,11 +28532,11 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28526
28532
|
const { eventBusEmit: c } = H$(), a = e, t = n1(""), i = E(() => t.value.trim() === "" ? [] : h31(
|
28527
28533
|
a.options,
|
28528
28534
|
t.value,
|
28529
|
-
(
|
28530
|
-
)), n = (
|
28535
|
+
(m) => m.title[v.value]
|
28536
|
+
)), n = (m) => s(m, []).reverse(), s = (m, p) => m.parentContent ? (p.push(m.parentContent), s(m.parentContent, p)) : p, l = () => {
|
28531
28537
|
t.value = "";
|
28532
|
-
}, r = (
|
28533
|
-
c("highlight-option",
|
28538
|
+
}, r = (m) => {
|
28539
|
+
c("highlight-option", m.reference), l();
|
28534
28540
|
}, f = k1("i18n"), { t: u } = f.global, v = E(
|
28535
28541
|
() => f.global.locale.value || f.global.locale
|
28536
28542
|
);
|
@@ -28542,7 +28548,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28542
28548
|
a.locale && r1(a.locale);
|
28543
28549
|
},
|
28544
28550
|
{ deep: !0 }
|
28545
|
-
), (
|
28551
|
+
), (m, p) => (d(), h("form", {
|
28546
28552
|
role: "search",
|
28547
28553
|
class: "AVSearchBallot",
|
28548
28554
|
"aria-label": D(u)("js.components.AVSearchBallot.aria_labels.ballot_options"),
|
@@ -28570,13 +28576,13 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28570
28576
|
])
|
28571
28577
|
]),
|
28572
28578
|
o("div", C31, [
|
28573
|
-
(
|
28579
|
+
(d(!0), h(K, null, f1(i.value, (V) => (d(), h("div", {
|
28574
28580
|
key: V,
|
28575
28581
|
"aria-label": V.title[v.value]
|
28576
28582
|
}, [
|
28577
|
-
n(V).length > 0 ? (
|
28583
|
+
n(V).length > 0 ? (d(), h("div", A31, [
|
28578
28584
|
o("ul", L31, [
|
28579
|
-
(
|
28585
|
+
(d(!0), h(K, null, f1(n(V), (b) => (d(), h("li", {
|
28580
28586
|
key: b.reference,
|
28581
28587
|
class: "AVSeachOptionBallot--breadcrumb-item"
|
28582
28588
|
}, g(b.title[v.value]), 1))), 128))
|
@@ -28596,7 +28602,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28596
28602
|
}, null, 8, y31)
|
28597
28603
|
], 8, _31)
|
28598
28604
|
], 8, b31))), 128)),
|
28599
|
-
t.value && i.value.length === 0 ? (
|
28605
|
+
t.value && i.value.length === 0 ? (d(), h("div", {
|
28600
28606
|
key: 0,
|
28601
28607
|
class: "AVSearchBallot--alert",
|
28602
28608
|
textContent: g(D(u)("js.components.AVSearchBallot.no_results"))
|
@@ -28644,7 +28650,7 @@ const N31 = /* @__PURE__ */ G(k31, [["__scopeId", "data-v-0b2b5c97"]]), S31 = {
|
|
28644
28650
|
t.locale && r1(t.locale);
|
28645
28651
|
},
|
28646
28652
|
{ deep: !0 }
|
28647
|
-
), (i, n) => (
|
28653
|
+
), (i, n) => (d(), h("div", S31, [
|
28648
28654
|
o("div", w31, [
|
28649
28655
|
o("span", null, [
|
28650
28656
|
o1(g(D(a)("js.components.AVSplitWeightHelper.total")) + " ", 1),
|
@@ -28721,11 +28727,11 @@ const D31 = /* @__PURE__ */ G(E31, [["__scopeId", "data-v-3a80cb22"]]), P31 = {
|
|
28721
28727
|
{ deep: !0 }
|
28722
28728
|
), (i, n) => {
|
28723
28729
|
const s = P("AVTooltip");
|
28724
|
-
return
|
28725
|
-
e.activeState === "ballot" ? (
|
28730
|
+
return d(), h("header", P31, [
|
28731
|
+
e.activeState === "ballot" ? (d(), h("p", O31, g(e.isEditing ? `${D(a)("js.components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex + 1}` : `${D(a)("js.components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length + 1}`), 1)) : e.activeState === "assign" ? (d(), h("p", B31, g(e.isEditing ? `${D(a)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}` : `${D(a)(
|
28726
28732
|
"js.components.AVSplitWizardHeader.assign.header_edit_mode"
|
28727
|
-
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (
|
28728
|
-
e.activeState === "ballot" ? (
|
28733
|
+
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (d(), h("p", R31, g(D(a)("js.components.AVSplitWizardHeader.overview.header")), 1)),
|
28734
|
+
e.activeState === "ballot" ? (d(), Z(s, {
|
28729
28735
|
key: 3,
|
28730
28736
|
content: `${D(a)(
|
28731
28737
|
"js.components.AVSplitWizardHeader.ballot.can_assign_description_pre"
|
@@ -28762,7 +28768,7 @@ const j31 = /* @__PURE__ */ G(F31, [["__scopeId", "data-v-13834427"]]), q31 = (e
|
|
28762
28768
|
setup(e) {
|
28763
28769
|
return (c, a) => {
|
28764
28770
|
const t = P("AVCard");
|
28765
|
-
return
|
28771
|
+
return d(), Z(t, { variant: "rounded-electa" }, {
|
28766
28772
|
default: i1(() => [
|
28767
28773
|
o("h3", $31, g(e.contestTitle), 1),
|
28768
28774
|
o("p", U31, g(e.votingRoundTitle), 1),
|
@@ -28835,7 +28841,7 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
|
|
28835
28841
|
{ deep: !0 }
|
28836
28842
|
), (s, l) => {
|
28837
28843
|
const r = h2("tooltip");
|
28838
|
-
return
|
28844
|
+
return d(), h("div", {
|
28839
28845
|
class: j(["AVResultOption", {
|
28840
28846
|
"AVResultOption--bg-default": !e.tied && !e.elected,
|
28841
28847
|
"AVResultOption--bg-elected": e.elected,
|
@@ -28843,9 +28849,9 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
|
|
28843
28849
|
}]),
|
28844
28850
|
"data-test": "result-option"
|
28845
28851
|
}, [
|
28846
|
-
j1((
|
28852
|
+
j1((d(), h("div", Z31, [
|
28847
28853
|
o("div", Y31, [
|
28848
|
-
e.optionImage ? (
|
28854
|
+
e.optionImage ? (d(), h("img", {
|
28849
28855
|
key: 0,
|
28850
28856
|
src: e.optionImage,
|
28851
28857
|
class: "AVResultOption--image",
|
@@ -28855,7 +28861,7 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
|
|
28855
28861
|
]),
|
28856
28862
|
o("div", X31, [
|
28857
28863
|
o("div", e41, g(t.value), 1),
|
28858
|
-
e.hidePercentage ? I("", !0) : (
|
28864
|
+
e.hidePercentage ? I("", !0) : (d(), h("div", c41, g(a.value) + "% ", 1))
|
28859
28865
|
])
|
28860
28866
|
])), [
|
28861
28867
|
[r, e.optionTitle[n.value]]
|
@@ -28891,17 +28897,17 @@ const t41 = /* @__PURE__ */ G(a41, [["__scopeId", "data-v-35bf20c6"]]), i41 = "d
|
|
28891
28897
|
setup(e) {
|
28892
28898
|
return (c, a) => {
|
28893
28899
|
const t = P("AVSteps");
|
28894
|
-
return
|
28900
|
+
return d(), h("footer", {
|
28895
28901
|
class: j(["AVFooter", { "AVFooter--stacked": e.enableSteps }])
|
28896
28902
|
}, [
|
28897
|
-
e.enableSteps ? (
|
28903
|
+
e.enableSteps ? (d(), Z(t, {
|
28898
28904
|
key: 0,
|
28899
28905
|
steps: e.steps,
|
28900
28906
|
done: e.done,
|
28901
28907
|
active: e.active,
|
28902
28908
|
class: "AVFooter--child"
|
28903
28909
|
}, null, 8, ["steps", "done", "active"])) : I("", !0),
|
28904
|
-
e.disableBanner ? I("", !0) : (
|
28910
|
+
e.disableBanner ? I("", !0) : (d(), h("div", {
|
28905
28911
|
key: 1,
|
28906
28912
|
class: j(["AVFooter--base AVFooter--child", { "AVFooter--child-stacked": e.enableSteps }])
|
28907
28913
|
}, [
|
@@ -28919,14 +28925,14 @@ const t41 = /* @__PURE__ */ G(a41, [["__scopeId", "data-v-35bf20c6"]]), i41 = "d
|
|
28919
28925
|
const o41 = /* @__PURE__ */ G(r41, [["__scopeId", "data-v-1a82d440"]]);
|
28920
28926
|
var f41 = {}, u41 = { class: "AVSidebar" };
|
28921
28927
|
function m41(e, c) {
|
28922
|
-
return
|
28928
|
+
return d(), h("nav", u41, [
|
28923
28929
|
g1(e.$slots, "default", {}, void 0, !0)
|
28924
28930
|
]);
|
28925
28931
|
}
|
28926
28932
|
const d41 = /* @__PURE__ */ G(f41, [["render", m41], ["__scopeId", "data-v-65e0965f"]]);
|
28927
28933
|
var v41 = {}, p41 = { class: "AVNavbar" };
|
28928
28934
|
function h41(e, c) {
|
28929
|
-
return
|
28935
|
+
return d(), h("nav", p41, [
|
28930
28936
|
g1(e.$slots, "default", {}, void 0, !0)
|
28931
28937
|
]);
|
28932
28938
|
}
|
@@ -28939,7 +28945,7 @@ var V41 = {}, M41 = { class: "AVContent" }, g41 = {
|
|
28939
28945
|
"data-test": "container"
|
28940
28946
|
};
|
28941
28947
|
function C41(e, c) {
|
28942
|
-
return
|
28948
|
+
return d(), h("main", M41, [
|
28943
28949
|
o("div", g41, [
|
28944
28950
|
g1(e.$slots, "sidebar", {}, void 0, !0)
|
28945
28951
|
]),
|
@@ -28972,7 +28978,7 @@ const b41 = /* @__PURE__ */ G(V41, [["render", C41], ["__scopeId", "data-v-1923e
|
|
28972
28978
|
() => {
|
28973
28979
|
t.modalActive && (document.body.style.overflowY = "hidden"), t.modalActive || (document.body.style.overflowY = "scroll");
|
28974
28980
|
}
|
28975
|
-
), (i, n) => (
|
28981
|
+
), (i, n) => (d(), Z(Y2, { name: "modal-animation" }, {
|
28976
28982
|
default: i1(() => [
|
28977
28983
|
j1(o("div", {
|
28978
28984
|
class: "AVModal",
|
@@ -29197,7 +29203,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29197
29203
|
var y;
|
29198
29204
|
let N = [];
|
29199
29205
|
return (y = a.contest.customRulesets) != null && y.includes("belgian_ballot_rules") && N.push(new N41(a.contest)), N;
|
29200
|
-
}),
|
29206
|
+
}), m = E(() => {
|
29201
29207
|
let N = [];
|
29202
29208
|
v.value.forEach((R) => {
|
29203
29209
|
N.push(...R.validate(a.selectionPile));
|
@@ -29215,7 +29221,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29215
29221
|
), y.splice(R, 1));
|
29216
29222
|
}
|
29217
29223
|
return t("update:errors", y), y;
|
29218
|
-
}), p = E(() =>
|
29224
|
+
}), p = E(() => m.value.length === 0), V = E(() => {
|
29219
29225
|
var N;
|
29220
29226
|
return (N = a.contest.question) == null ? void 0 : N[S.value];
|
29221
29227
|
}), b = E(
|
@@ -29262,7 +29268,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29262
29268
|
{ deep: !0 }
|
29263
29269
|
), (N, y) => {
|
29264
29270
|
const R = P("AVSearchBallot"), X = P("AVWriteInOption"), O = P("AVOption"), a1 = P("AVBlankOption"), u1 = P("AVSubmissionHelper");
|
29265
|
-
return
|
29271
|
+
return d(), h("div", {
|
29266
29272
|
class: j({
|
29267
29273
|
AVBallot: !0,
|
29268
29274
|
"AVBallot--error": !p.value
|
@@ -29271,14 +29277,14 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29271
29277
|
"aria-describedby": `ballot_${e.contest.reference}`,
|
29272
29278
|
"data-test": "ballot"
|
29273
29279
|
}, [
|
29274
|
-
V.value ? (
|
29280
|
+
V.value ? (d(), h("h5", {
|
29275
29281
|
key: 0,
|
29276
29282
|
id: `ballot_${e.contest.reference}_question`,
|
29277
29283
|
class: "AVBallot--question",
|
29278
29284
|
"aria-live": "polite",
|
29279
29285
|
"data-test": "ballot-question"
|
29280
29286
|
}, g(V.value), 9, T41)) : I("", !0),
|
29281
|
-
e.contest.searchForm && !e.disabled && !e.observerMode ? (
|
29287
|
+
e.contest.searchForm && !e.disabled && !e.observerMode ? (d(), Z(R, {
|
29282
29288
|
key: 1,
|
29283
29289
|
ref_key: "search",
|
29284
29290
|
ref: l,
|
@@ -29296,10 +29302,10 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29296
29302
|
}),
|
29297
29303
|
"aria-label": D(L)("js.components.AVBallot.aria_labels.ballot_options")
|
29298
29304
|
}, [
|
29299
|
-
(
|
29305
|
+
(d(!0), h(K, null, f1(e.contest.options, (U) => (d(), h(K, {
|
29300
29306
|
key: U.reference
|
29301
29307
|
}, [
|
29302
|
-
U.writeIn ? (
|
29308
|
+
U.writeIn ? (d(), Z(X, {
|
29303
29309
|
key: 0,
|
29304
29310
|
"candidate-value": s.value,
|
29305
29311
|
"onUpdate:candidateValue": y[0] || (y[0] = (Q) => s.value = Q),
|
@@ -29310,12 +29316,12 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29310
29316
|
parties: [],
|
29311
29317
|
disabled: e.disabled,
|
29312
29318
|
observerMode: e.observerMode
|
29313
|
-
}, null, 8, ["candidate-value", "party-value", "checked-value", "disabled", "observerMode"])) : (
|
29319
|
+
}, null, 8, ["candidate-value", "party-value", "checked-value", "disabled", "observerMode"])) : (d(), Z(O, {
|
29314
29320
|
key: 1,
|
29315
29321
|
selections: r.value,
|
29316
29322
|
option: U,
|
29317
29323
|
invalid: !p.value,
|
29318
|
-
"exclusive-error": !b.value && U.exclusive &&
|
29324
|
+
"exclusive-error": !b.value && U.exclusive && m.value.some((Q) => Q.message.includes("exclusive")),
|
29319
29325
|
contest: e.contest,
|
29320
29326
|
disabled: e.disabled,
|
29321
29327
|
observerMode: e.observerMode,
|
@@ -29325,10 +29331,10 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29325
29331
|
onViewCandidate: x
|
29326
29332
|
}, null, 8, ["selections", "option", "invalid", "exclusive-error", "contest", "disabled", "observerMode", "partial-results", "image-option"]))
|
29327
29333
|
], 64))), 128)),
|
29328
|
-
e.contest.markingType.blankSubmission === "active_choice" ? (
|
29334
|
+
e.contest.markingType.blankSubmission === "active_choice" ? (d(), Z(a1, {
|
29329
29335
|
key: 0,
|
29330
29336
|
checked: e.selectionPile.explicitBlank,
|
29331
|
-
error: !b.value &&
|
29337
|
+
error: !b.value && m.value.some((U) => U.message.includes("blank")),
|
29332
29338
|
disabled: e.disabled,
|
29333
29339
|
invalid: !p.value,
|
29334
29340
|
observerMode: e.observerMode,
|
@@ -29337,11 +29343,11 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29337
29343
|
onToggleBlank: C
|
29338
29344
|
}, null, 8, ["checked", "error", "disabled", "invalid", "observerMode", "accentColor", "partial-results"])) : I("", !0)
|
29339
29345
|
], 10, E41),
|
29340
|
-
e.showSubmissionHelper && !e.disabled && !e.observerMode ? (
|
29346
|
+
e.showSubmissionHelper && !e.disabled && !e.observerMode ? (d(), Z(u1, {
|
29341
29347
|
key: 2,
|
29342
29348
|
id: `ballot_${e.contest.reference}`,
|
29343
29349
|
"chosen-count": r.value.length,
|
29344
|
-
errors:
|
29350
|
+
errors: m.value,
|
29345
29351
|
weight: u.value,
|
29346
29352
|
"min-marks": e.contest.markingType.minMarks,
|
29347
29353
|
"max-marks": e.contest.markingType.maxMarks,
|
@@ -29449,7 +29455,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29449
29455
|
});
|
29450
29456
|
}
|
29451
29457
|
}), V;
|
29452
|
-
}), v = k1("i18n"), { t:
|
29458
|
+
}), v = k1("i18n"), { t: m } = v.global, p = E(
|
29453
29459
|
() => v.global.locale.value || v.global.locale
|
29454
29460
|
);
|
29455
29461
|
return z1(() => {
|
@@ -29462,48 +29468,48 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29462
29468
|
{ deep: !0 }
|
29463
29469
|
), (V, b) => {
|
29464
29470
|
const A = P("AVSummaryOption"), _ = P("AVIcon");
|
29465
|
-
return e.activeState === "summary" ? (
|
29466
|
-
e.contest.markingType.maxPiles !== 1 ? (
|
29467
|
-
o("span", null, g(D(
|
29468
|
-
o("span", F41, g(e.selectionPile.multiplier) + " " + g(D(
|
29469
|
-
])) : (
|
29470
|
-
o("span", null, g(D(
|
29471
|
+
return e.activeState === "summary" ? (d(), h("div", B41, [
|
29472
|
+
e.contest.markingType.maxPiles !== 1 ? (d(), h("header", R41, [
|
29473
|
+
o("span", null, g(D(m)("js.components.AVPileSummary.selection")) + " " + g(e.pileIndex + 1) + " / " + g(e.totalPiles), 1),
|
29474
|
+
o("span", F41, g(e.selectionPile.multiplier) + " " + g(D(m)("js.components.AVPileSummary.ballots")), 1)
|
29475
|
+
])) : (d(), h("header", j41, [
|
29476
|
+
o("span", null, g(D(m)("js.components.AVPileSummary.selection")), 1)
|
29471
29477
|
])),
|
29472
29478
|
o("div", q41, [
|
29473
|
-
(
|
29479
|
+
(d(!0), h(K, null, f1(u.value.options, (C, M) => (d(), Z(A, {
|
29474
29480
|
key: M,
|
29475
29481
|
option: C,
|
29476
29482
|
"multiple-votes-allowed": e.contest.markingType.votesAllowedPerOption > 1,
|
29477
29483
|
parents: f(C.parent, C.parent ? [C.parent] : []),
|
29478
29484
|
"image-option": e.imageOption
|
29479
29485
|
}, null, 8, ["option", "multiple-votes-allowed", "parents", "image-option"]))), 128)),
|
29480
|
-
n.value ? (
|
29486
|
+
n.value ? (d(), Z(A, {
|
29481
29487
|
key: 0,
|
29482
29488
|
blank: n.value
|
29483
29489
|
}, null, 8, ["blank"])) : I("", !0)
|
29484
29490
|
])
|
29485
|
-
])) : (
|
29491
|
+
])) : (d(), h("div", $41, [
|
29486
29492
|
o("div", U41, [
|
29487
29493
|
o("div", {
|
29488
29494
|
class: "AVPileSummary--assign-header",
|
29489
|
-
"aria-label": D(
|
29495
|
+
"aria-label": D(m)("js.components.AVPileSummary.aria_labels.edit_selection"),
|
29490
29496
|
role: "button",
|
29491
29497
|
"data-test": "pile-summary-edit",
|
29492
29498
|
onClick: b[0] || (b[0] = (C) => a("editCurrentSelection"))
|
29493
29499
|
}, [
|
29494
29500
|
o("div", G41, [
|
29495
29501
|
T(_, { icon: "pen-to-square" }),
|
29496
|
-
o("span", null, g(D(
|
29502
|
+
o("span", null, g(D(m)("js.components.AVPileSummary.ballot_selection")) + " " + g(e.pileIndex + 1), 1)
|
29497
29503
|
]),
|
29498
|
-
e.activeState === "overview" || e.isEditing ? (
|
29504
|
+
e.activeState === "overview" || e.isEditing ? (d(), h("span", J41, g(D(m)("js.components.AVPileSummary.assigned")) + " " + g(e.selectionPile.multiplier), 1)) : I("", !0)
|
29499
29505
|
], 8, W41),
|
29500
29506
|
o("div", Z41, [
|
29501
|
-
n.value ? (
|
29502
|
-
(
|
29507
|
+
n.value ? (d(), h("p", Y41, g(D(m)("js.components.AVPileSummary.blank")), 1)) : I("", !0),
|
29508
|
+
(d(!0), h(K, null, f1(s.value, (C, M) => (d(), h("p", {
|
29503
29509
|
key: M,
|
29504
29510
|
class: "AVPileSummary--assign-text"
|
29505
29511
|
}, g(C.rank ? `${C.rank}: ` : "") + " " + g(C.title[p.value]), 1))), 128)),
|
29506
|
-
(
|
29512
|
+
(d(!0), h(K, null, f1(u.value.writeIns, (C, M) => (d(), h("p", {
|
29507
29513
|
key: M,
|
29508
29514
|
class: "AVPileSummary--assign-text"
|
29509
29515
|
}, [
|
@@ -29511,7 +29517,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29511
29517
|
Q41,
|
29512
29518
|
o("span", null, g(C.candidateName), 1)
|
29513
29519
|
]))), 128)),
|
29514
|
-
l.value > 0 ? (
|
29520
|
+
l.value > 0 ? (d(), h("p", {
|
29515
29521
|
key: 1,
|
29516
29522
|
role: "button",
|
29517
29523
|
class: "AVPileSummary--show-more-button",
|
@@ -29519,14 +29525,14 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29519
29525
|
onClick: b[1] || (b[1] = m2((C) => i.value = !0, ["stop", "prevent"]))
|
29520
29526
|
}, [
|
29521
29527
|
o("u", null, [
|
29522
|
-
o("em", null, g(`${D(
|
29528
|
+
o("em", null, g(`${D(m)(
|
29523
29529
|
"js.components.AVPileSummary.and_n_more_pre"
|
29524
|
-
)} ${l.value} ${D(
|
29530
|
+
)} ${l.value} ${D(m)(
|
29525
29531
|
"js.components.AVPileSummary.and_n_more_pos"
|
29526
29532
|
)}`), 1)
|
29527
29533
|
])
|
29528
29534
|
])) : I("", !0),
|
29529
|
-
i.value ? (
|
29535
|
+
i.value ? (d(), h("p", {
|
29530
29536
|
key: 2,
|
29531
29537
|
role: "button",
|
29532
29538
|
class: "AVPileSummary--show-more-button",
|
@@ -29534,16 +29540,16 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29534
29540
|
onClick: b[2] || (b[2] = m2((C) => i.value = !1, ["stop", "prevent"]))
|
29535
29541
|
}, [
|
29536
29542
|
o("u", null, [
|
29537
|
-
o("em", null, g(D(
|
29543
|
+
o("em", null, g(D(m)("js.components.AVPileSummary.show_less")), 1)
|
29538
29544
|
])
|
29539
29545
|
])) : I("", !0)
|
29540
29546
|
])
|
29541
29547
|
]),
|
29542
|
-
e.activeState === "overview" ? (
|
29548
|
+
e.activeState === "overview" ? (d(), h("div", {
|
29543
29549
|
key: 0,
|
29544
29550
|
class: "AVPileSummary--assign-delete-button",
|
29545
29551
|
role: "button",
|
29546
|
-
"aria-label": D(
|
29552
|
+
"aria-label": D(m)("js.components.AVPileSummary.aria_labels.delete_selection"),
|
29547
29553
|
"data-test": "pile-summary-delete",
|
29548
29554
|
onClick: b[3] || (b[3] = m2((C) => a("deleteSelection"), ["stop", "prevent"]))
|
29549
29555
|
}, [
|
@@ -29665,7 +29671,7 @@ const i61 = {
|
|
29665
29671
|
contest: a.contest,
|
29666
29672
|
voterWeight: a.weight
|
29667
29673
|
})
|
29668
|
-
),
|
29674
|
+
), m = E(() => f.value === 0 && l.value.length == 0 && r.value.every(
|
29669
29675
|
(U) => u.value.isComplete(U)
|
29670
29676
|
)), p = E(
|
29671
29677
|
() => {
|
@@ -29708,7 +29714,7 @@ const i61 = {
|
|
29708
29714
|
}, y = (U) => {
|
29709
29715
|
l.value = U;
|
29710
29716
|
}, R = (U) => t("view-candidate", U);
|
29711
|
-
s1(
|
29717
|
+
s1(m, (U) => t("update:complete", U)), s1(V, () => {
|
29712
29718
|
n.value && (n.value.multiplier = Math.max(
|
29713
29719
|
0,
|
29714
29720
|
Math.min(V.value, b.value)
|
@@ -29716,7 +29722,7 @@ const i61 = {
|
|
29716
29722
|
}), s1(n, (U) => {
|
29717
29723
|
t("update:activePile", U);
|
29718
29724
|
}), s1(s, (U) => t("update:activeState", U)), z1(() => {
|
29719
|
-
a.locale && r1(a.locale), t("update:activePile", n.value), t("update:activeState", s.value), t("update:complete",
|
29725
|
+
a.locale && r1(a.locale), t("update:activePile", n.value), t("update:activeState", s.value), t("update:complete", m.value), A.value || x();
|
29720
29726
|
});
|
29721
29727
|
const X = k1("i18n"), { t: O } = X.global, a1 = E(
|
29722
29728
|
() => X.global.locale.value || X.global.locale
|
@@ -29732,15 +29738,15 @@ const i61 = {
|
|
29732
29738
|
), (U, Q) => {
|
29733
29739
|
var E1;
|
29734
29740
|
const y1 = P("AVSplitWizardHeader"), P1 = P("AVBallot"), W1 = P("AVPileSummary"), O1 = P("AVSplitWeightHelper"), Q1 = P("AVIcon");
|
29735
|
-
return
|
29741
|
+
return d(), h(K, null, [
|
29736
29742
|
o("h3", i61, g(e.contest.title[a1.value]), 1),
|
29737
29743
|
o("div", {
|
29738
29744
|
class: "AVSplitHelper--description",
|
29739
29745
|
"data-test": "split-helper-contest-description",
|
29740
29746
|
innerHTML: (E1 = e.contest.description) == null ? void 0 : E1[a1.value]
|
29741
29747
|
}, null, 8, n61),
|
29742
|
-
A.value ? (
|
29743
|
-
["ballot", "assign", "overview"].includes(s.value) ? (
|
29748
|
+
A.value ? (d(), h(K, { key: 0 }, [
|
29749
|
+
["ballot", "assign", "overview"].includes(s.value) ? (d(), Z(y1, {
|
29744
29750
|
key: 0,
|
29745
29751
|
"active-selection-pile-index": i.value,
|
29746
29752
|
"active-state": s.value,
|
@@ -29755,7 +29761,7 @@ const i61 = {
|
|
29755
29761
|
default: i1(() => {
|
29756
29762
|
var a2, V2, _2;
|
29757
29763
|
return [
|
29758
|
-
n.value && s.value === "ballot" ? (
|
29764
|
+
n.value && s.value === "ballot" ? (d(), h("div", { key: i.value }, [
|
29759
29765
|
T(P1, {
|
29760
29766
|
class: "AVSplitHelper--ballot",
|
29761
29767
|
"selection-pile": n.value,
|
@@ -29770,7 +29776,7 @@ const i61 = {
|
|
29770
29776
|
}, null, 8, ["selection-pile", "partial-results", "contest", "weight", "includeLazyErrors", "show-submission-helper", "image-option"]),
|
29771
29777
|
o("div", s61, [
|
29772
29778
|
o("div", l61, [
|
29773
|
-
r.value.length > 0 ? (
|
29779
|
+
r.value.length > 0 ? (d(), h("button", {
|
29774
29780
|
key: "back",
|
29775
29781
|
class: "AVSplitHelper--btn-secondary",
|
29776
29782
|
onClick: Q[1] || (Q[1] = (F1) => s.value = "overview")
|
@@ -29786,7 +29792,7 @@ const i61 = {
|
|
29786
29792
|
}, g(D(O)("js.components.AVSplitHelper.ballot.confirm_button")), 9, o61)
|
29787
29793
|
])
|
29788
29794
|
])
|
29789
|
-
])) : s.value === "assign" ? (
|
29795
|
+
])) : s.value === "assign" ? (d(), h("div", f61, [
|
29790
29796
|
o("div", u61, [
|
29791
29797
|
o("h4", m61, g(D(O)("js.components.AVSplitHelper.assign.split_question")), 1),
|
29792
29798
|
T(W1, {
|
@@ -29842,14 +29848,14 @@ const i61 = {
|
|
29842
29848
|
}, g(D(O)("js.components.AVSplitHelper.assign.confirm_button")), 9, V61)
|
29843
29849
|
])
|
29844
29850
|
])
|
29845
|
-
])) : s.value === "overview" ? (
|
29846
|
-
f.value === 0 && v.value.isComplete(e.contestSelection) ? (
|
29851
|
+
])) : s.value === "overview" ? (d(), h("div", M61, [
|
29852
|
+
f.value === 0 && v.value.isComplete(e.contestSelection) ? (d(), h("div", g61, [
|
29847
29853
|
T(Q1, {
|
29848
29854
|
icon: "circle-check",
|
29849
29855
|
class: "AVSplitHelper--overview-success-icon"
|
29850
29856
|
}),
|
29851
29857
|
o1(" " + g(D(O)("js.components.AVSplitHelper.overview.all_ballots_assigned")), 1)
|
29852
|
-
])) : (
|
29858
|
+
])) : (d(), h("div", H61, [
|
29853
29859
|
o("p", C61, [
|
29854
29860
|
o("strong", null, g(f.value), 1),
|
29855
29861
|
o1(" " + g(D(O)("js.components.AVSplitHelper.overview.ballots_left")), 1)
|
@@ -29865,7 +29871,7 @@ const i61 = {
|
|
29865
29871
|
o1(" " + g(D(O)("js.components.AVSplitHelper.overview.new_ballot_selection")), 1)
|
29866
29872
|
], 8, b61)
|
29867
29873
|
])),
|
29868
|
-
(
|
29874
|
+
(d(!0), h(K, null, f1(r.value, (F1, o2) => (d(), h("article", {
|
29869
29875
|
key: `preview-${o2}`,
|
29870
29876
|
onClick: (t3) => N(o2)
|
29871
29877
|
}, [
|
@@ -29885,7 +29891,7 @@ const i61 = {
|
|
29885
29891
|
}),
|
29886
29892
|
_: 1
|
29887
29893
|
})
|
29888
|
-
], 64)) : (
|
29894
|
+
], 64)) : (d(), Z(P1, {
|
29889
29895
|
key: 1,
|
29890
29896
|
class: "AVSplitHelper--no-split",
|
29891
29897
|
"selection-pile": n.value,
|
@@ -29966,12 +29972,12 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
29966
29972
|
const c = E(
|
29967
29973
|
() => {
|
29968
29974
|
var p, V, b, A, _, C;
|
29969
|
-
return (V = (p = l.candidate.title) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[
|
29975
|
+
return (V = (p = l.candidate.title) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[m.value] : (C = (_ = l.candidate.title) == null ? void 0 : _[0]) == null ? void 0 : C.form_content;
|
29970
29976
|
}
|
29971
29977
|
), a = E(
|
29972
29978
|
() => {
|
29973
29979
|
var p, V, b, A, _, C;
|
29974
|
-
return (V = (p = l.candidate.subtitle) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[
|
29980
|
+
return (V = (p = l.candidate.subtitle) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[m.value] : (C = (_ = l.candidate.subtitle) == null ? void 0 : _[0]) == null ? void 0 : C.form_content;
|
29975
29981
|
}
|
29976
29982
|
), t = E(() => {
|
29977
29983
|
var A;
|
@@ -29981,9 +29987,9 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
29981
29987
|
return l.currentCandidateGroup ? l.candidate.groups.forEach((_) => {
|
29982
29988
|
_.id === l.currentCandidateGroup ? p.push(_) : V.push(_);
|
29983
29989
|
}) : (V = [...l.candidate.groups], p = V.splice(0, 1)), V.forEach((_, C) => {
|
29984
|
-
C === 0 || l.candidate.groups.length === 1 ? b = _.title[
|
29990
|
+
C === 0 || l.candidate.groups.length === 1 ? b = _.title[m.value] : C === V.length - 1 ? b += ` & ${_.title[m.value]}` : b += `, ${_.title[m.value]}`;
|
29985
29991
|
}), {
|
29986
|
-
title: (A = p[0]) == null ? void 0 : A.title[
|
29992
|
+
title: (A = p[0]) == null ? void 0 : A.title[m.value],
|
29987
29993
|
surplus: V.length || null,
|
29988
29994
|
remaining: b
|
29989
29995
|
};
|
@@ -29993,12 +29999,12 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
29993
29999
|
)
|
29994
30000
|
), n = E(
|
29995
30001
|
() => l.summary ? !!l.candidate.summary.length : !!l.candidate.generic.length
|
29996
|
-
), s = (p) => p.item_type === "check_box" ? !0 : p.form_content ? p.item_type === "link_list" ? !!p.form_content.length : p.localised ? !!p.form_content[
|
30002
|
+
), s = (p) => p.item_type === "check_box" ? !0 : p.form_content ? p.item_type === "link_list" ? !!p.form_content.length : p.localised ? !!p.form_content[m.value] : !!p.form_content : !1, l = e, r = E(
|
29997
30003
|
() => {
|
29998
30004
|
var p;
|
29999
30005
|
return ((p = l.candidate.generic.find((V) => V.item_type === "image")) == null ? void 0 : p.form_content) || y61;
|
30000
30006
|
}
|
30001
|
-
), f = k1("i18n"), { t: u, d: v } = f.global,
|
30007
|
+
), f = k1("i18n"), { t: u, d: v } = f.global, m = E(
|
30002
30008
|
() => f.global.locale.value || f.global.locale
|
30003
30009
|
);
|
30004
30010
|
return z1(() => {
|
@@ -30011,7 +30017,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30011
30017
|
{ deep: !0 }
|
30012
30018
|
), (p, V) => {
|
30013
30019
|
const b = P("AVTooltip"), A = P("AVIcon"), _ = P("AVLinkVisualizer");
|
30014
|
-
return
|
30020
|
+
return d(), h("section", {
|
30015
30021
|
class: j(["AVResourceSection", {
|
30016
30022
|
"AVResourceSection--themed": e.summary
|
30017
30023
|
}])
|
@@ -30020,7 +30026,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30020
30026
|
class: j(["AVResourceSection--container", { "AVResourceSection--card": e.card }]),
|
30021
30027
|
"data-test": "resource-section"
|
30022
30028
|
}, [
|
30023
|
-
e.summary && r.value ? (
|
30029
|
+
e.summary && r.value ? (d(), h("div", x61, [
|
30024
30030
|
o("img", {
|
30025
30031
|
src: r.value,
|
30026
30032
|
alt: D(u)("js.components.AVResourceSection.alt_candidate"),
|
@@ -30034,11 +30040,11 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30034
30040
|
)
|
30035
30041
|
}, [
|
30036
30042
|
o("div", N61, [
|
30037
|
-
e.summary && c.value ? (
|
30038
|
-
e.summary && a.value ? (
|
30039
|
-
e.summary && e.candidate.groups && !e.card ? (
|
30043
|
+
e.summary && c.value ? (d(), h("h4", S61, g(c.value), 1)) : I("", !0),
|
30044
|
+
e.summary && a.value ? (d(), h("h5", w61, g(a.value), 1)) : I("", !0),
|
30045
|
+
e.summary && e.candidate.groups && !e.card ? (d(), h("div", T61, [
|
30040
30046
|
o("h4", I61, g(t.value.title), 1),
|
30041
|
-
t.value.surplus ? (
|
30047
|
+
t.value.surplus ? (d(), Z(b, {
|
30042
30048
|
key: 0,
|
30043
30049
|
text: D(u)("js.components.AVResourceSection.and_more", {
|
30044
30050
|
amount: t.value.surplus
|
@@ -30048,25 +30054,25 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30048
30054
|
class: "AVResourceFields--tooltip"
|
30049
30055
|
}, null, 8, ["text", "content"])) : I("", !0)
|
30050
30056
|
])) : I("", !0),
|
30051
|
-
e.card ? I("", !0) : (
|
30057
|
+
e.card ? I("", !0) : (d(!0), h(K, { key: 3 }, f1(i.value, (C) => (d(), h(K, {
|
30052
30058
|
key: `attribute_${C.attribute_name}`
|
30053
30059
|
}, [
|
30054
|
-
n.value && s(C) ? (
|
30060
|
+
n.value && s(C) ? (d(), h("div", {
|
30055
30061
|
key: 0,
|
30056
30062
|
class: j(
|
30057
30063
|
e.summary ? "AVResourceFields--container-summary" : "AVResourceFields--container-generic"
|
30058
30064
|
),
|
30059
30065
|
"data-test": "resource-content"
|
30060
30066
|
}, [
|
30061
|
-
e.summary ? I("", !0) : (
|
30067
|
+
e.summary ? I("", !0) : (d(), h("h4", {
|
30062
30068
|
key: 0,
|
30063
30069
|
class: j({
|
30064
30070
|
"AVResourceFields--divisor": C.item_type === "check_box"
|
30065
30071
|
}),
|
30066
30072
|
"data-test": "resource-title"
|
30067
30073
|
}, [
|
30068
|
-
o1(g(C.label[
|
30069
|
-
C.item_type === "check_box" ? (
|
30074
|
+
o1(g(C.label[m.value]) + " ", 1),
|
30075
|
+
C.item_type === "check_box" ? (d(), Z(A, {
|
30070
30076
|
key: 0,
|
30071
30077
|
icon: C.form_content ? "square-check" : "square-xmark",
|
30072
30078
|
class: j(
|
@@ -30076,16 +30082,16 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30076
30082
|
"data-test": "resource-checkbox-icon"
|
30077
30083
|
}, null, 8, ["icon", "class", "aria-label"])) : I("", !0)
|
30078
30084
|
], 2)),
|
30079
|
-
!e.summary && C.item_type !== "check_box" ? (
|
30080
|
-
C.item_type === "link_list" && s(C) ? (
|
30081
|
-
e.summary ? (
|
30082
|
-
(
|
30085
|
+
!e.summary && C.item_type !== "check_box" ? (d(), h("hr", E61)) : I("", !0),
|
30086
|
+
C.item_type === "link_list" && s(C) ? (d(), h("div", D61, [
|
30087
|
+
e.summary ? (d(), h("span", P61, g(`${C.label[m.value]}:`), 1)) : I("", !0),
|
30088
|
+
(d(!0), h(K, null, f1(C.form_content, (M) => (d(), Z(_, {
|
30083
30089
|
key: M.attributes.name,
|
30084
30090
|
link: M,
|
30085
30091
|
large: !e.summary
|
30086
30092
|
}, null, 8, ["link", "large"]))), 128))
|
30087
|
-
])) : C.item_type === "check_box" && e.summary ? (
|
30088
|
-
o("span", null, g(`${C.label[
|
30093
|
+
])) : C.item_type === "check_box" && e.summary ? (d(), h("div", O61, [
|
30094
|
+
o("span", null, g(`${C.label[m.value]}`), 1),
|
30089
30095
|
T(A, {
|
30090
30096
|
icon: C.form_content ? "square-check" : "square-xmark",
|
30091
30097
|
class: j(
|
@@ -30093,28 +30099,28 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30093
30099
|
),
|
30094
30100
|
"aria-label": C.form_content ? D(u)("js.components.AVResourceSection.true") : D(u)("js.components.AVResourceSection.false")
|
30095
30101
|
}, null, 8, ["icon", "class", "aria-label"])
|
30096
|
-
])) : C.item_type === "select" && s(C) ? (
|
30097
|
-
e.summary ? (
|
30098
|
-
o1(" " + g(C.form_content[
|
30099
|
-
])) : C.item_type === "video" && s(C) ? (
|
30102
|
+
])) : C.item_type === "select" && s(C) ? (d(), h("div", B61, [
|
30103
|
+
e.summary ? (d(), h("span", R61, g(`${C.label[m.value]}:`), 1)) : I("", !0),
|
30104
|
+
o1(" " + g(C.form_content[m.value]), 1)
|
30105
|
+
])) : C.item_type === "video" && s(C) ? (d(), h("div", F61, [
|
30100
30106
|
o("iframe", {
|
30101
30107
|
style: { width: "100%", height: "100%", "min-height": "400px" },
|
30102
30108
|
src: C.form_content.toString()
|
30103
30109
|
}, null, 8, j61)
|
30104
|
-
])) : C.item_type === "rich_text_area" && !e.summary && s(C) ? (
|
30110
|
+
])) : C.item_type === "rich_text_area" && !e.summary && s(C) ? (d(), h("div", {
|
30105
30111
|
key: 6,
|
30106
30112
|
class: "AVResourceFields--rich-text",
|
30107
|
-
innerHTML: C.localised ? C.form_content[
|
30113
|
+
innerHTML: C.localised ? C.form_content[m.value] : C.form_content,
|
30108
30114
|
"data-test": "resource-rich-text"
|
30109
|
-
}, null, 8, q61)) : C.item_type !== "rich_text_area" && C.item_type !== "check_box" ? (
|
30110
|
-
e.summary ? (
|
30111
|
-
C.item_type === "date" || C.item_type === "date_time" ? (
|
30115
|
+
}, null, 8, q61)) : C.item_type !== "rich_text_area" && C.item_type !== "check_box" ? (d(), h("p", $61, [
|
30116
|
+
e.summary ? (d(), h("span", U61, g(`${C.label[m.value]}: `), 1)) : I("", !0),
|
30117
|
+
C.item_type === "date" || C.item_type === "date_time" ? (d(), h(K, { key: 1 }, [
|
30112
30118
|
o1(g(D(v)(
|
30113
30119
|
C.form_content,
|
30114
30120
|
C.item_type === "date" ? null : "long"
|
30115
30121
|
)), 1)
|
30116
|
-
], 64)) : (
|
30117
|
-
o1(g(C.localised ? C.form_content[
|
30122
|
+
], 64)) : (d(), h(K, { key: 2 }, [
|
30123
|
+
o1(g(C.localised ? C.form_content[m.value] : C.form_content), 1)
|
30118
30124
|
], 64))
|
30119
30125
|
])) : I("", !0)
|
30120
30126
|
], 2)) : I("", !0)
|
@@ -30207,7 +30213,7 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
|
|
30207
30213
|
{ deep: !0 }
|
30208
30214
|
), (l, r) => {
|
30209
30215
|
const f = P("AVProgressBar"), u = P("AVIcon"), v = P("AVWaitingDots");
|
30210
|
-
return
|
30216
|
+
return d(), h("div", J61, [
|
30211
30217
|
T(f, {
|
30212
30218
|
value: e.progress,
|
30213
30219
|
"data-test": "progress"
|
@@ -30231,7 +30237,7 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
|
|
30231
30237
|
"data-test": "status-icon"
|
30232
30238
|
}, null, 8, ["icon", "class"]),
|
30233
30239
|
o1(" " + g(n.value) + " ", 1),
|
30234
|
-
e.status !== "finished" ? (
|
30240
|
+
e.status !== "finished" ? (d(), Z(v, { key: 0 })) : I("", !0)
|
30235
30241
|
])
|
30236
30242
|
]),
|
30237
30243
|
o("div", c81, [
|
@@ -30270,9 +30276,9 @@ const o81 = /* @__PURE__ */ G(r81, [["__scopeId", "data-v-ad18a2ae"]]), f81 = {
|
|
30270
30276
|
setup(e) {
|
30271
30277
|
return (c, a) => {
|
30272
30278
|
const t = P("AVResultOption");
|
30273
|
-
return
|
30279
|
+
return d(), h("div", f81, [
|
30274
30280
|
o("div", u81, [
|
30275
|
-
(
|
30281
|
+
(d(!0), h(K, null, f1(e.sortedResult, (i) => (d(), Z(t, {
|
30276
30282
|
key: `result_for_${i.reference}`,
|
30277
30283
|
optionTitle: i.title,
|
30278
30284
|
optionImage: i.image,
|
@@ -30318,14 +30324,14 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
|
|
30318
30324
|
c.locale && r1(c.locale);
|
30319
30325
|
},
|
30320
30326
|
{ deep: !0 }
|
30321
|
-
), (r, f) => (
|
30327
|
+
), (r, f) => (d(), h(K, null, [
|
30322
30328
|
o("div", v81, [
|
30323
30329
|
o("table", p81, [
|
30324
30330
|
o("thead", h81, [
|
30325
30331
|
o("tr", null, [
|
30326
30332
|
o("th", null, g(D(s)("js.components.AVRankedSummary.header.position")), 1),
|
30327
30333
|
o("th", null, g(D(s)("js.components.AVRankedSummary.header.candidate")), 1),
|
30328
|
-
(
|
30334
|
+
(d(!0), h(K, null, f1(a.value, (u) => (d(), h("th", {
|
30329
30335
|
key: `header_for_round_${u}`,
|
30330
30336
|
class: "AVRankedSummary--text"
|
30331
30337
|
}, g(D(s)("js.components.AVRankedSummary.header.round_n", {
|
@@ -30334,7 +30340,7 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
|
|
30334
30340
|
])
|
30335
30341
|
]),
|
30336
30342
|
o("tbody", null, [
|
30337
|
-
(
|
30343
|
+
(d(!0), h(K, null, f1(r.result, (u, v) => (d(), h("tr", {
|
30338
30344
|
key: `option_${u.reference}`,
|
30339
30345
|
class: j({
|
30340
30346
|
"AVRankedSummary--elected": u.elected,
|
@@ -30343,24 +30349,24 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
|
|
30343
30349
|
}, [
|
30344
30350
|
o("td", null, g(u.elected && v + 1 || ""), 1),
|
30345
30351
|
o("td", null, g(u.title[l.value]), 1),
|
30346
|
-
(
|
30352
|
+
(d(!0), h(K, null, f1(u.rounds, (m, p) => (d(), h("td", {
|
30347
30353
|
key: `round_nr_${p}`,
|
30348
30354
|
class: j(["AVRankedSummary--text", {
|
30349
30355
|
"AVRankedSummary--text-bold": p + 1 === a.value
|
30350
30356
|
}])
|
30351
|
-
}, g(
|
30357
|
+
}, g(m.count), 3))), 128))
|
30352
30358
|
], 2))), 128))
|
30353
30359
|
])
|
30354
30360
|
])
|
30355
30361
|
]),
|
30356
30362
|
o("div", z81, [
|
30357
30363
|
o("p", null, g(D(s)("js.components.AVRankedSummary.summary.seats")) + ": " + g(r.seats), 1),
|
30358
|
-
r.distributionNumber > 0 ? (
|
30359
|
-
t.value.length > 0 ? (
|
30364
|
+
r.distributionNumber > 0 ? (d(), h("p", V81, g(D(s)("js.components.AVRankedSummary.summary.distribution")) + ": " + g(r.distributionNumber), 1)) : I("", !0),
|
30365
|
+
t.value.length > 0 ? (d(), h("p", M81, [
|
30360
30366
|
o1(g(D(s)("js.components.AVRankedSummary.summary.elected")) + ": ", 1),
|
30361
30367
|
o("span", null, g(t.value.join(", ")), 1)
|
30362
30368
|
])) : I("", !0),
|
30363
|
-
i.value.length > 0 ? (
|
30369
|
+
i.value.length > 0 ? (d(), h("p", g81, [
|
30364
30370
|
o1(g(D(s)("js.components.AVRankedSummary.summary.tied")) + ": ", 1),
|
30365
30371
|
o("span", null, g(i.value.join(", ")), 1)
|
30366
30372
|
])) : I("", !0)
|
@@ -30438,7 +30444,7 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
|
|
30438
30444
|
{ deep: !0 }
|
30439
30445
|
), (r, f) => {
|
30440
30446
|
const u = P("AVIcon"), v = h2("tooltip");
|
30441
|
-
return
|
30447
|
+
return d(), h("div", b81, [
|
30442
30448
|
o("h5", A81, g(D(s)("js.components.AVInstantRunoffSummary.seat_n", { n: e.seatNumber })), 1),
|
30443
30449
|
o("div", L81, [
|
30444
30450
|
o("div", _81, [
|
@@ -30446,7 +30452,7 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
|
|
30446
30452
|
o("thead", x81, [
|
30447
30453
|
o("tr", null, [
|
30448
30454
|
o("th", null, g(D(s)("js.components.AVInstantRunoffSummary.header.candidate")), 1),
|
30449
|
-
(
|
30455
|
+
(d(!0), h(K, null, f1(e.rounds, (m, p) => j1((d(), h("th", {
|
30450
30456
|
key: `instant_runoff_seat_${e.seatNumber}_round_${p}`,
|
30451
30457
|
class: "AVInstantRunoffSummary--text AVInstantRunoffSummary--help"
|
30452
30458
|
}, [
|
@@ -30463,44 +30469,44 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
|
|
30463
30469
|
])
|
30464
30470
|
]),
|
30465
30471
|
o("tbody", null, [
|
30466
|
-
(
|
30467
|
-
|
30468
|
-
o("td", null, g(
|
30469
|
-
(
|
30472
|
+
(d(!0), h(K, null, f1(e.sortedResult, (m, p) => (d(), h("tr", { key: p }, [
|
30473
|
+
m.title ? (d(), h(K, { key: 0 }, [
|
30474
|
+
o("td", null, g(m.title[l.value]), 1),
|
30475
|
+
(d(!0), h(K, null, f1(e.rounds.length, (V) => (d(), h("td", {
|
30470
30476
|
key: `instant_runoff_seat_${e.seatNumber}_number_${V}`,
|
30471
30477
|
class: j(["AVInstantRunoffSummary--text", {
|
30472
30478
|
"AVInstantRunoffSummary--elected": i(
|
30473
|
-
|
30479
|
+
m.reference,
|
30474
30480
|
V - 1
|
30475
30481
|
),
|
30476
30482
|
"AVInstantRunoffSummary--eliminated": t(
|
30477
|
-
|
30483
|
+
m.reference,
|
30478
30484
|
V - 1
|
30479
30485
|
)
|
30480
30486
|
}])
|
30481
|
-
}, g(a(
|
30487
|
+
}, g(a(m.reference, V - 1)), 3))), 128))
|
30482
30488
|
], 64)) : I("", !0)
|
30483
30489
|
]))), 128)),
|
30484
30490
|
o("tr", null, [
|
30485
30491
|
o("td", null, g(D(s)(
|
30486
30492
|
"js.components.AVInstantRunoffSummary.summary.transfered_votes"
|
30487
30493
|
)), 1),
|
30488
|
-
(
|
30489
|
-
key: `instant_runoff_seat_${e.seatNumber}_transferred_${
|
30494
|
+
(d(!0), h(K, null, f1(e.rounds.length, (m) => (d(), h("td", {
|
30495
|
+
key: `instant_runoff_seat_${e.seatNumber}_transferred_${m}`,
|
30490
30496
|
class: "AVInstantRunoffSummary--text"
|
30491
|
-
}, g(e.rounds[
|
30497
|
+
}, g(e.rounds[m - 1].transferred), 1))), 128))
|
30492
30498
|
]),
|
30493
30499
|
o("tr", null, [
|
30494
30500
|
o("td", null, g(D(s)("js.components.AVInstantRunoffSummary.summary.exhausted")), 1),
|
30495
|
-
(
|
30496
|
-
key: `instant_runoff_seat_${e.seatNumber}_exhausted_${
|
30501
|
+
(d(!0), h(K, null, f1(e.rounds.length, (m) => (d(), h("td", {
|
30502
|
+
key: `instant_runoff_seat_${e.seatNumber}_exhausted_${m}`,
|
30497
30503
|
class: "AVInstantRunoffSummary--text AVInstantRunoffSummary--cell-text"
|
30498
|
-
}, g(e.rounds[
|
30504
|
+
}, g(e.rounds[m - 1].exhausted), 1))), 128))
|
30499
30505
|
])
|
30500
30506
|
])
|
30501
30507
|
])
|
30502
30508
|
]),
|
30503
|
-
e.votesNotIncluded ? (
|
30509
|
+
e.votesNotIncluded ? (d(), h("p", k81, [
|
30504
30510
|
o("strong", null, g(D(s)("js.components.AVInstantRunoffSummary.summary.not_included_count")), 1),
|
30505
30511
|
o1(" " + g(e.votesNotIncluded), 1)
|
30506
30512
|
])) : I("", !0),
|
@@ -30556,8 +30562,8 @@ var E81 = {}, D81 = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), P81 = { c
|
|
30556
30562
|
/* @__PURE__ */ o("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
|
30557
30563
|
], -1);
|
30558
30564
|
function F81(e, c) {
|
30559
|
-
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"),
|
30560
|
-
return
|
30565
|
+
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), m = P("AVFooter");
|
30566
|
+
return d(), h(K, null, [
|
30561
30567
|
T(n, null, {
|
30562
30568
|
default: i1(function() {
|
30563
30569
|
return [
|
@@ -30682,7 +30688,7 @@ function F81(e, c) {
|
|
30682
30688
|
}),
|
30683
30689
|
_: 1
|
30684
30690
|
}),
|
30685
|
-
T(
|
30691
|
+
T(m)
|
30686
30692
|
], 64);
|
30687
30693
|
}
|
30688
30694
|
const j81 = /* @__PURE__ */ G(E81, [["render", F81]]);
|
@@ -30752,8 +30758,8 @@ var q81 = {}, $81 = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), U81 = { c
|
|
30752
30758
|
/* @__PURE__ */ o("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
|
30753
30759
|
], -1);
|
30754
30760
|
function Y81(e, c) {
|
30755
|
-
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"),
|
30756
|
-
return
|
30761
|
+
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), m = P("AVFooter");
|
30762
|
+
return d(), h(K, null, [
|
30757
30763
|
T(n, null, {
|
30758
30764
|
default: i1(function() {
|
30759
30765
|
return [
|
@@ -30879,7 +30885,7 @@ function Y81(e, c) {
|
|
30879
30885
|
}),
|
30880
30886
|
_: 1
|
30881
30887
|
}),
|
30882
|
-
T(
|
30888
|
+
T(m)
|
30883
30889
|
], 64);
|
30884
30890
|
}
|
30885
30891
|
const Q81 = /* @__PURE__ */ G(q81, [["render", Y81]]);
|
@@ -30890,7 +30896,7 @@ var K81 = {}, X81 = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), e01 = { c
|
|
30890
30896
|
], -1);
|
30891
30897
|
function a01(e, c) {
|
30892
30898
|
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVContent"), l = P("AVFooter");
|
30893
|
-
return
|
30899
|
+
return d(), h(K, null, [
|
30894
30900
|
T(n, null, {
|
30895
30901
|
default: i1(function() {
|
30896
30902
|
return [
|
@@ -31022,8 +31028,8 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31022
31028
|
}
|
31023
31029
|
];
|
31024
31030
|
return (a, t) => {
|
31025
|
-
const i = P("AVNavbarItem"), n = P("AVNavigationItemList"), s = P("AVMenuDropdown"), l = P("AVNavbar"), r = P("AVIcon"), f = P("AVCard"), u = P("AVElectionCard"), v = P("AVContent"),
|
31026
|
-
return
|
31031
|
+
const i = P("AVNavbarItem"), n = P("AVNavigationItemList"), s = P("AVMenuDropdown"), l = P("AVNavbar"), r = P("AVIcon"), f = P("AVCard"), u = P("AVElectionCard"), v = P("AVContent"), m = P("AVFooter");
|
31032
|
+
return d(), h(K, null, [
|
31027
31033
|
T(l, null, {
|
31028
31034
|
default: i1(() => [
|
31029
31035
|
i01,
|
@@ -31085,7 +31091,7 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31085
31091
|
_: 1
|
31086
31092
|
})
|
31087
31093
|
]),
|
31088
|
-
c.length === 0 ? (
|
31094
|
+
c.length === 0 ? (d(), h("div", o01, [
|
31089
31095
|
T(r, {
|
31090
31096
|
icon: "fa-solid fa-folder-open",
|
31091
31097
|
class: "no-elections-icon"
|
@@ -31093,7 +31099,7 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31093
31099
|
f01,
|
31094
31100
|
u01
|
31095
31101
|
])) : I("", !0),
|
31096
|
-
(
|
31102
|
+
(d(), h(K, null, f1(c, (p) => T(u, {
|
31097
31103
|
key: p.id,
|
31098
31104
|
id: p.id,
|
31099
31105
|
name: p.name,
|
@@ -31112,7 +31118,7 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31112
31118
|
]),
|
31113
31119
|
_: 1
|
31114
31120
|
}),
|
31115
|
-
T(
|
31121
|
+
T(m)
|
31116
31122
|
], 64);
|
31117
31123
|
};
|
31118
31124
|
}
|