@assemblyvoting/ui-library 3.3.6-beta.5 → 3.3.6-beta.7
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 m, createBlock as Z, createElementBlock as h, normalizeClass as j, renderSlot as g1, normalizeProps as w$, guardReactiveProps as T$, withScopeId as I$, resolveComponent as P, normalizeStyle as B1, withKeys as U8, createElementVNode as o, createCommentVNode as I, mergeProps as W8, withCtx as 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, d = () => 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: d,
|
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 d(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) => d(
|
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 = d(
|
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 = d(
|
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 = d(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 = d(H, 5, _2(z)), A(z), B;
|
559
559
|
if (H1 = x(z, H))
|
560
|
-
return B =
|
560
|
+
return B = d(H, 6, F1(z)), A(z), B;
|
561
561
|
if (V1 = k(z, H))
|
562
|
-
return B =
|
562
|
+
return B = d(H, 7, t3(z)), A(z), B;
|
563
563
|
if (!L1 && !H1 && !V1)
|
564
|
-
return B =
|
564
|
+
return B = d(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 = d(
|
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(), d(
|
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(), d(
|
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 = d(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), d(H, 12, y3(z))) : y(z, H) ? (A(z), L1 === "{" ? x3(z, H) || e1 : d(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(), d(
|
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 = d(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 ? d(H, 0, V2(z)) : d(H, 4, a2(z));
|
627
627
|
if (O(z))
|
628
|
-
return
|
628
|
+
return d(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 ? d(
|
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 d(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 = d(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 d(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: d,
|
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 d = [];
|
1309
|
+
d[
|
1310
1310
|
0
|
1311
1311
|
/* Actions.APPEND */
|
1312
1312
|
] = () => {
|
1313
1313
|
s === void 0 ? s = l : s += l;
|
1314
|
-
},
|
1314
|
+
}, d[
|
1315
1315
|
1
|
1316
1316
|
/* Actions.PUSH */
|
1317
1317
|
] = () => {
|
1318
1318
|
s !== void 0 && (c.push(s), s = void 0);
|
1319
|
-
},
|
1319
|
+
}, d[
|
1320
1320
|
2
|
1321
1321
|
/* Actions.INC_SUB_PATH_DEPTH */
|
1322
1322
|
] = () => {
|
1323
|
-
|
1323
|
+
d[
|
1324
1324
|
0
|
1325
1325
|
/* Actions.APPEND */
|
1326
1326
|
](), i++;
|
1327
|
-
},
|
1327
|
+
}, d[
|
1328
1328
|
3
|
1329
1329
|
/* Actions.PUSH_SUB_PATH */
|
1330
1330
|
] = () => {
|
1331
1331
|
if (i > 0)
|
1332
|
-
i--, t = 4,
|
1332
|
+
i--, t = 4, d[
|
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
|
+
d[
|
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, d[
|
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 = d[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, d = 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: d,
|
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, d = l1(e.missingWarn) || I2(e.missingWarn) ? e.missingWarn : !0, p = l1(e.fallbackWarn) || I2(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, b = !!e.unresolving, A = M1(e.postTranslation) ? e.postTranslation : null, _ = t1(e.processor) ? e.processor : null, C = l1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, M = !!e.escapeParameter, x = M1(e.messageCompiler) ? e.messageCompiler : Ms;
|
1597
1597
|
process.env.NODE_ENV !== "production" && M1(e.messageCompiler) && ms(K2(U1.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
1598
1598
|
const k = M1(e.messageResolver) ? e.messageResolver : gs || wU, L = M1(e.localeFallbacker) ? e.localeFallbacker : Hs || JU, S = v1(e.fallbackContext) ? e.fallbackContext : void 0, N = e, y = v1(N.__datetimeFormatters) ? N.__datetimeFormatters : /* @__PURE__ */ new Map(), R = v1(N.__numberFormatters) ? N.__numberFormatters : /* @__PURE__ */ new Map(), X = v1(N.__meta) ? N.__meta : {};
|
1599
1599
|
Fi++;
|
@@ -1606,7 +1606,7 @@ function iW(e = {}) {
|
|
1606
1606
|
modifiers: f,
|
1607
1607
|
pluralRules: u,
|
1608
1608
|
missing: v,
|
1609
|
-
missingWarn:
|
1609
|
+
missingWarn: d,
|
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, d = l1(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, p = !!f.resolvedMessage, V = $(f.default) || l1(f.default) ? l1(f.default) ? n ? r : () => r : f.default : a ? n ? r : () => r : "", b = a || V !== "", A = Y8(e, f);
|
1783
|
+
d && 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 = {}, d, p = null, V = a, b = null;
|
1820
1820
|
const A = "translate";
|
1821
1821
|
for (let _ = 0; _ < u.length; _++) {
|
1822
|
-
if (
|
1822
|
+
if (d = b = u[_], process.env.NODE_ENV !== "production" && a !== d && !Ls(a, d) && e6(i, c) && l(K2(U1.FALLBACK_TO_TRANSLATE, {
|
1823
1823
|
key: c,
|
1824
|
-
target:
|
1825
|
-
})), process.env.NODE_ENV !== "production" && a !==
|
1824
|
+
target: d
|
1825
|
+
})), process.env.NODE_ENV !== "production" && a !== d) {
|
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[d] || {};
|
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(d, u)) {
|
1850
1850
|
const k = Q8(
|
1851
1851
|
e,
|
1852
1852
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
1853
1853
|
c,
|
1854
|
-
|
1854
|
+
d,
|
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, d, 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 d = t;
|
1868
|
+
return d.locale = d.locale || a, d.key = d.key || c, d;
|
1869
1869
|
}
|
1870
1870
|
if (s == null) {
|
1871
|
-
const
|
1872
|
-
return
|
1871
|
+
const d = () => t;
|
1872
|
+
return d.locale = a, d.key = c, d;
|
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 d = 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: d - 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, d = {
|
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 && (d.processor = e.processor), t.list && (d.list = t.list), t.named && (d.named = t.named), S1(t.plural) && (d.pluralIndex = t.plural), d;
|
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), d = l1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = l1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
|
1970
1970
|
e,
|
1971
1971
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
1972
1972
|
i,
|
@@ -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, d, 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), d = l1(u.missingWarn) ? u.missingWarn : e.missingWarn, p = l1(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, V = !!u.part, b = Y8(e, u), A = s(
|
2064
2064
|
e,
|
2065
2065
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
2066
2066
|
i,
|
@@ -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, d, 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)), d = 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 = d.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
|
+
d.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(() => d.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 d.value[w] || {};
|
2630
2630
|
}
|
2631
2631
|
function H(w, F) {
|
2632
|
-
|
2632
|
+
d.value[w] = F, y.datetimeFormats = d.value, Gi(y, w, F);
|
2633
2633
|
}
|
2634
2634
|
function B(w, F) {
|
2635
|
-
|
2635
|
+
d.value[w] = R1(d.value[w] || {}, F), y.datetimeFormats = d.value, Gi(y, w, F);
|
2636
2636
|
}
|
2637
2637
|
function e1(w) {
|
2638
2638
|
return p.value[w] || {};
|
@@ -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, d = !!e.escapeParameterHtml, p = l1(e.sync) ? e.sync : !0;
|
2728
2728
|
process.env.NODE_ENV !== "production" && e.formatter && w1(J1(_1.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && e.preserveDirectiveContent && w1(J1(_1.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
|
2729
2729
|
let V = e.messages;
|
2730
2730
|
if (t1(e.sharedMessages)) {
|
@@ -2751,7 +2751,7 @@ function kW(e) {
|
|
2751
2751
|
pluralRules: f,
|
2752
2752
|
postTranslation: u,
|
2753
2753
|
warnHtmlMessage: v,
|
2754
|
-
escapeParameter:
|
2754
|
+
escapeParameter: d,
|
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 d = 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
|
+
d,
|
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 d = 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
|
+
d,
|
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((d, p) => a.includes(p) ? R1({}, d, { [p]: e.format[p] }) : d, {}));
|
3047
3047
|
const r = t(e.value, s, l);
|
3048
3048
|
let f = [s.key];
|
3049
|
-
C1(r) ? f = r.map((
|
3050
|
-
const V = i[
|
3051
|
-
return wW(b) && (b[0].key = `${
|
3049
|
+
C1(r) ? f = r.map((d, p) => {
|
3050
|
+
const V = i[d.type], b = V ? V({ [d.type]: d.value, index: p, parts: r }) : [d.value];
|
3051
|
+
return wW(b) && (b[0].key = `${d.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(d) {
|
3510
|
+
return n.get(d) || null;
|
3511
3511
|
}
|
3512
|
-
function u(
|
3513
|
-
n.set(
|
3512
|
+
function u(d, p) {
|
3513
|
+
n.set(d, p);
|
3514
3514
|
}
|
3515
|
-
function v(
|
3516
|
-
n.delete(
|
3515
|
+
function v(d) {
|
3516
|
+
n.delete(d);
|
3517
3517
|
}
|
3518
3518
|
{
|
3519
|
-
const
|
3519
|
+
const d = {
|
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__ = d), p.__VUE_I18N_SYMBOL__ = r, p.provide(p.__VUE_I18N_SYMBOL__, d), t1(V[0])) {
|
3531
3531
|
const _ = V[0];
|
3532
|
-
|
3532
|
+
d.__composerExtend = _.__composerExtend, d.__vueI18nExtend = _.__vueI18nExtend;
|
3533
3533
|
}
|
3534
3534
|
let b = null;
|
3535
|
-
!a && t && (b = oG(p,
|
3535
|
+
!a && t && (b = oG(p, d.global)), __VUE_I18N_FULL_INSTALL__ && PW(p, d, ...V), __VUE_I18N_LEGACY_API__ && a && p.mixin(QW(l, l.__composer, d));
|
3536
3536
|
const A = p.unmount;
|
3537
3537
|
if (p.unmount = () => {
|
3538
|
-
b && b(),
|
3538
|
+
b && b(), d.dispose(), A();
|
3539
3539
|
}, process.env.NODE_ENV !== "production") {
|
3540
|
-
if (!await RW(p,
|
3540
|
+
if (!await RW(p, d))
|
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 d;
|
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]: {} }), d = i ? a.missingWarn : l1(t.missingWarn) || I2(t.missingWarn) ? t.missingWarn : !0, p = i ? a.fallbackWarn : l1(t.fallbackWarn) || I2(t.fallbackWarn) ? t.fallbackWarn : !0, V = i ? a.fallbackRoot : l1(t.fallbackRoot) ? t.fallbackRoot : !0, b = !!t.fallbackFormat, A = M1(t.missing) ? t.missing : null, _ = M1(t.postTranslation) ? t.postTranslation : null, C = i ? a.warnHtmlMessage : l1(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, M = !!t.escapeParameter, x = i ? a.modifiers : t1(t.modifiers) ? t.modifiers : {}, k = t.pluralRules || i && a.pluralRules;
|
3668
3668
|
function L() {
|
3669
3669
|
return [
|
3670
3670
|
l.value,
|
@@ -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 : d;
|
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 = d, 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, d = 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] -= d * (a && f ? -1 : 1);
|
19621
19621
|
break;
|
19622
19622
|
case "end":
|
19623
|
-
p[s] +=
|
19623
|
+
p[s] += d * (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), d = 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: d,
|
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 && (d = 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, d, r)), b = -1);
|
19680
19680
|
}
|
19681
19681
|
return {
|
19682
19682
|
x: u,
|
19683
19683
|
y: v,
|
19684
|
-
placement:
|
19684
|
+
placement: d,
|
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: d = !1,
|
19704
19704
|
padding: p = 0
|
19705
|
-
} = a3(c, e), V = Aq(p), A = l[
|
19705
|
+
} = a3(c, e), V = Aq(p), A = l[d ? 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), d = {
|
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] - d[p] - n.floating[V], k = d[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]: d[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: d = 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 || d === un ? $G(v || null, p, d) : d, 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: d,
|
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 = d || (C || !b ? [R4(l)] : OG(l));
|
19868
|
+
!d && 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: d,
|
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: d * f
|
19938
19938
|
} : {
|
19939
|
-
x:
|
19939
|
+
x: d * 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)), d = Cq(v);
|
19994
|
+
let p = f[d], V = f[v];
|
19995
19995
|
if (n) {
|
19996
|
-
const A =
|
19996
|
+
const A = d === "y" ? "top" : "left", _ = d === "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
|
+
[d]: 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: d,
|
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, _ = d - r.left - r.right, C = G2(p - r[V], A), M = G2(d - 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 = d - 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 d !== 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, d = (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, d *= C.y, p *= C.x, V *= C.y, v += M.x, d += M.y, _ = c2(_).frameElement;
|
20139
20139
|
}
|
20140
20140
|
}
|
20141
|
-
return { width: p, height: V, top:
|
20141
|
+
return { width: p, height: V, top: d, right: v + p, bottom: d + V, left: v, x: v, y: d };
|
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 d = xq();
|
20175
|
+
(d || !d && 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 d = 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 : d = d.filter((C) => C !== b), b = $3(b);
|
20230
20230
|
}
|
20231
|
-
return u.set(f,
|
20231
|
+
return u.set(f, d), d;
|
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 m(), 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) => (m(), 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 m(), 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 ? (m(), h(K, { key: 0 }, [
|
21236
21236
|
o("div", null, [
|
21237
21237
|
g1(e.$slots, "default")
|
21238
21238
|
]),
|
21239
|
-
e.handleResize ? (
|
21239
|
+
e.handleResize ? (m(), 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 m(), 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: d,
|
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": d,
|
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 m(), 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: d,
|
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": d,
|
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 ? (m(), h("div", {
|
21667
21667
|
key: 0,
|
21668
21668
|
innerHTML: e.finalContent
|
21669
|
-
}, null, 8, AJ)) : (
|
21669
|
+
}, null, 8, AJ)) : (m(), 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 d = s === "fa" ? d$(f.iconName) : {}, p = Z2(f.prefix, f.iconName);
|
23136
|
+
d.prefix && (s = null), f.iconName = d.iconName || p || f.iconName, f.prefix = d.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, d = e.watchable, p = d === void 0 ? !1 : d, 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 d = [];
|
23396
|
+
return d.push({
|
23397
23397
|
tag: "span",
|
23398
23398
|
attributes: f,
|
23399
23399
|
children: [c]
|
23400
|
-
}), n &&
|
23400
|
+
}), n && d.push({
|
23401
23401
|
tag: "span",
|
23402
23402
|
attributes: {
|
23403
23403
|
class: "sr-only"
|
23404
23404
|
},
|
23405
23405
|
children: [n]
|
23406
|
-
}),
|
23406
|
+
}), d;
|
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 d = a8(pi(v.target)), p = d.prefix, V = d.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 d = M$(v);
|
23732
|
+
d && u.push(d);
|
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(d) {
|
23740
|
+
z$(d, 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(d) {
|
23744
|
+
r(), v(d);
|
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, d = 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 && (d ? 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: d,
|
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, d = 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: d,
|
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, d = t.styles, p = d === void 0 ? {} : d;
|
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"), d = ~["Sharp"].indexOf(r[2]) ? x1 : b1, p = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(r[2]) ? J3[d][r[2].toLowerCase()] : QJ[d][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
|
+
}, d = {
|
24127
24127
|
transform: "translate(".concat(s / 2 * -1, " -256)")
|
24128
24128
|
}, p = {
|
24129
24129
|
outer: l,
|
24130
24130
|
inner: v,
|
24131
|
-
path:
|
24131
|
+
path: d
|
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, d = 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(d)
|
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 d = 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
|
+
...d.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 m(), 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 ? (m(), 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 ? (m(), 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 m(), 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" ? (m(), 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" ? (m(), 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)) : (m(), 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 m(), h("div", CY, [
|
24603
|
+
e.inputLabel ? (m(), 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((m(), 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 ? (m(), 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 ? (m(), 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 ? (m(), 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, d) => {
|
24730
24730
|
const p = P("AVIcon"), V = h2("tooltip");
|
24731
|
-
return
|
24732
|
-
e.inputLabel ? (
|
24731
|
+
return m(), h("div", SY, [
|
24732
|
+
e.inputLabel ? (m(), 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((m(), 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 ? (m(), 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 ? (m(), 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 ? (m(), 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 m(), h("div", BY, [
|
24879
|
+
e.inputLabel ? (m(), 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((m(), 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) : (m(), Z(r, {
|
24899
24899
|
key: 0,
|
24900
24900
|
icon: "fa-solid fa-key",
|
24901
24901
|
class: "AVPasswordInput--input-icon",
|
@@ -24927,7 +24927,7 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
|
|
24927
24927
|
])
|
24928
24928
|
])
|
24929
24929
|
]),
|
24930
|
-
e.error && e.errorMessage ? (
|
24930
|
+
e.error && e.errorMessage ? (m(), 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 m(), h("div", JY, [
|
24991
|
+
e.inputLabel ? (m(), 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((m(), 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 ? (m(), 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 ? (m(), 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 m(), h("div", aQ, [
|
25099
|
+
e.inputLabel ? (m(), 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((m(), 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 ? (m(), 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 ? (m(), 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 ? (m(), 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) => (m(), 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) => (m(), 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 m(), 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"), d = P("AVDropdownItem"), p = P("AVDropdownContent"), V = h2("tooltip");
|
25311
|
+
return m(), h("div", hQ, [
|
25312
|
+
e.inputLabel ? (m(), 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((m(), 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 ? (m(), 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 ? (m(), h("span", gQ, g(e.placeholder), 1)) : (m(), 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
|
+
(m(!0), h(K, null, f1(n.value, (b) => (m(), Z(d, {
|
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 ? (m(), 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) => (m(), Z(Y2, { name: "dropdown-content" }, {
|
25389
25389
|
default: i1(() => [
|
25390
|
-
a.value ? (
|
25390
|
+
a.value ? (m(), 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) => (m(), 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 m(), 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) : (m(), h("div", SQ, [
|
25494
25494
|
o("div", wQ, [
|
25495
|
-
e.disableIcon ? I("", !0) : (
|
25495
|
+
e.disableIcon ? I("", !0) : (m(), h("div", TQ, [
|
25496
25496
|
T(f, {
|
25497
25497
|
icon: `fa-solid fa-${e.icon !== "" ? e.icon : s[e.type]}`,
|
25498
25498
|
"data-test": "alert-icon"
|
@@ -25500,7 +25500,7 @@ const NQ = /* @__PURE__ */ G(kQ, [["__scopeId", "data-v-2ca0bff3"]]), SQ = {
|
|
25500
25500
|
])),
|
25501
25501
|
o("span", IQ, g(e.title !== "" ? e.title : n[e.type]), 1)
|
25502
25502
|
]),
|
25503
|
-
e.disableDismiss ? I("", !0) : (
|
25503
|
+
e.disableDismiss ? I("", !0) : (m(), 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
|
+
}, d = (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 = d(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 m(), h("div", PQ, [
|
25693
|
+
e.disableLabel ? I("", !0) : (m(), 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((m(), 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 ? (m(), h("div", qQ, [
|
25741
25741
|
o("div", $Q, g(D(t)("js.components.AVFileInput.release")), 1)
|
25742
|
-
])) : (
|
25742
|
+
])) : (m(), 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) : (m(), h("p", JQ, [
|
25753
25753
|
o1(g(D(t)("js.components.AVFileInput.acceptedFormats")) + " ", 1),
|
25754
25754
|
o("em", ZQ, g(V.value), 1)
|
25755
25755
|
])),
|
25756
|
-
l.value.length ? (
|
25756
|
+
l.value.length ? (m(), h("div", YQ, [
|
25757
25757
|
o("p", QQ, g(D(t)("js.components.AVFileInput.uploading")), 1),
|
25758
|
-
(
|
25758
|
+
(m(!0), h(K, null, f1(l.value, (R) => (m(), 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 ? (m(), 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)) : (m(), 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) : (m(), 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 ? (m(), h("div", tK, [
|
25796
25796
|
o("p", iK, g(D(t)("js.components.AVFileInput.current")), 1),
|
25797
|
-
(
|
25797
|
+
(m(!0), h(K, null, f1(e.currentValue, (R) => (m(), h("div", {
|
25798
25798
|
key: `image-${R}`
|
25799
25799
|
}, [
|
25800
|
-
e.showPreview ? (
|
25800
|
+
e.showPreview ? (m(), 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)) : (m(), 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 ? (m(), 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) => (m(), 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 m(), 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) : (m(), 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" ? (m(), 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) : (m(), 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)) : (m(), 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) : (m(), 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, d) => n.value === "link" ? (m(), 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)) : (m(), 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((m(), h("span", EK, [
|
26206
|
+
e.text ? (m(), h("span", DK, g(e.text), 1)) : g1(c.$slots, "text", { key: 1 }, void 0, !0),
|
26207
|
+
e.icon ? (m(), 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 m(), 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 ? (m(), 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
|
+
})) : (m(), 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
|
+
(m(!0), h(K, null, f1(e.options, (f, u) => (m(), 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) => (m(), Z(Y2, { name: "dropdown-content" }, {
|
26302
26302
|
default: i1(() => [
|
26303
|
-
a.value ? (
|
26303
|
+
a.value ? (m(), 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 m(), h("a", {
|
26339
26339
|
class: j(["AVMenuDropdownItem", { "AVMenuDropdownItem--destructive": e.destructive }]),
|
26340
26340
|
href: e.href
|
26341
26341
|
}, [
|
26342
|
-
e.icon ? (
|
26342
|
+
e.icon ? (m(), 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 m(), 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 ? (m(), 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 ? (m(), 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
|
+
(d) => t.value.push({ value: d, selected: !1 })
|
26477
26477
|
), a.selected ? l(a.selected) : t.value[0].selected = !0, a.disabled && r();
|
26478
|
-
}, l = (
|
26478
|
+
}, l = (d) => {
|
26479
26479
|
t.value.map((p) => {
|
26480
|
-
p.value ===
|
26480
|
+
p.value === d ? (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((d) => d.disabled = !1), a.disabled)
|
26484
|
+
t.value.map((d) => {
|
26485
26485
|
a.disabled.map(
|
26486
|
-
(p) => p ===
|
26486
|
+
(p) => p === d.value ? d.disabled = !0 : d
|
26487
26487
|
);
|
26488
26488
|
});
|
26489
26489
|
else
|
26490
26490
|
return;
|
26491
|
-
}, f = c, u = (
|
26492
|
-
l(
|
26491
|
+
}, f = c, u = (d) => {
|
26492
|
+
l(d), 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
|
+
), (d, p) => (m(), h("div", XK, [
|
26508
|
+
(m(!0), h(K, null, f1(t.value, (V) => (m(), 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 m(), 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 ? (m(), 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
|
+
})) : (m(), 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, d) => (m(), 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) => (m(), 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 ? (m(), h("span", pX)) : I("", !0),
|
26681
|
+
e.steps.length === 3 ? (m(), h("span", {
|
26682
26682
|
key: 1,
|
26683
26683
|
class: j(["AVBasicSteps--step", {
|
26684
26684
|
"AVBasicSteps--step-active": a(e.steps[2])
|
@@ -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 m(), h("div", VX, [
|
26739
|
+
(m(!0), h(K, null, f1(a.value, (f, u) => (m(), 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 ? (m(), h("div", MX, [
|
26745
26745
|
T(r, {
|
26746
26746
|
icon: "fa-solid fa-check",
|
26747
26747
|
class: "AVSteps--step-icon"
|
26748
26748
|
})
|
26749
|
-
])) : (
|
26749
|
+
])) : (m(), 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((m(), 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 ? (m(), h("span", bX, g(e.rank), 1)) : (m(), 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 m(), h("div", NX, [
|
26889
|
+
e.exclusiveError && e.checked ? (m(), 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 ? (m(), 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) => (m(), 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 ? (m(), 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)) : (m(), 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 m(), 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))
|
@@ -27143,9 +27143,9 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27143
27143
|
},
|
27144
27144
|
setup(e) {
|
27145
27145
|
const c = e, a = E(() => {
|
27146
|
-
const
|
27147
|
-
return
|
27148
|
-
}), t = n1(
|
27146
|
+
const u = c.title.split(" ");
|
27147
|
+
return u.length < 2 ? `${u[0][0].toUpperCase()}${u[0][1].toUpperCase()}` : `${u[0][0].toUpperCase()}${u[1][0].toUpperCase()}`;
|
27148
|
+
}), t = n1(null), i = n1(0), n = E(
|
27149
27149
|
() => Math.ceil((i.value - 32) / 2)
|
27150
27150
|
), s = E(() => c.hasPrevStep ? `
|
27151
27151
|
height: ${n.value + 4}px;
|
@@ -27154,22 +27154,17 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27154
27154
|
height: ${n.value + 4}px;
|
27155
27155
|
margin-top: -${n.value - 4}px;
|
27156
27156
|
` : ""), r = () => {
|
27157
|
-
|
27157
|
+
c.linkMode || (console.log("updated"), i.value = t.value.clientHeight);
|
27158
27158
|
}, f = () => {
|
27159
|
-
var v;
|
27160
|
-
console.log("CALLED"), c.linkMode || (i.value = ((v = t.value.find(
|
27161
|
-
(m) => Number(m.dataset.index) === Number(c.stepNumber)
|
27162
|
-
)) == null ? void 0 : v.clientHeight) ?? 0);
|
27163
|
-
}, u = () => {
|
27164
27159
|
if (!c.linkMode && !c.stepNumber)
|
27165
27160
|
throw new Error("stepNumber prop is required when linkMode is disabled");
|
27166
27161
|
};
|
27167
27162
|
return z1(() => {
|
27168
|
-
|
27169
|
-
}), is(() => window.removeEventListener("resize",
|
27170
|
-
const
|
27171
|
-
return
|
27172
|
-
e.hasPrevStep ? (
|
27163
|
+
console.log("MOUNTED"), f(), r(), window.addEventListener("resize", r);
|
27164
|
+
}), is(() => window.removeEventListener("resize", r)), (u, v) => {
|
27165
|
+
const d = P("AVIcon");
|
27166
|
+
return m(), h("div", $X, [
|
27167
|
+
e.hasPrevStep ? (m(), h("div", {
|
27173
27168
|
key: 0,
|
27174
27169
|
class: "AVVerticalStep--line",
|
27175
27170
|
style: B1(s.value),
|
@@ -27181,30 +27176,32 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27181
27176
|
"AVVerticalStep--link-active": e.linkMode && e.status === "active"
|
27182
27177
|
}]),
|
27183
27178
|
id: "verticalStepItem",
|
27179
|
+
ref_key: "verticalStepItem",
|
27180
|
+
ref: t,
|
27184
27181
|
"data-index": e.stepNumber
|
27185
27182
|
}, [
|
27186
27183
|
o("div", {
|
27187
27184
|
class: j(`AVVerticalStep--step AVVerticalStep--step-${e.status}`),
|
27188
27185
|
"data-test": "step-circle"
|
27189
27186
|
}, [
|
27190
|
-
e.summary ? (
|
27187
|
+
e.summary ? (m(), h("div", WX, [
|
27191
27188
|
o("div", GX, [
|
27192
|
-
T(
|
27189
|
+
T(d, { icon: "grip-vertical" })
|
27193
27190
|
]),
|
27194
27191
|
o("div", JX, [
|
27195
|
-
T(
|
27192
|
+
T(d, { icon: "arrow-left" })
|
27196
27193
|
])
|
27197
|
-
])) : e.linkMode && e.status === "active" ? (
|
27194
|
+
])) : e.linkMode && e.status === "active" ? (m(), h("div", ZX, [
|
27198
27195
|
o("span", YX, g(a.value), 1)
|
27199
|
-
])) : e.linkMode && e.status !== "active" ? (
|
27196
|
+
])) : e.linkMode && e.status !== "active" ? (m(), h("div", QX, [
|
27200
27197
|
o("div", KX, [
|
27201
27198
|
o("span", XX, g(a.value), 1)
|
27202
27199
|
]),
|
27203
27200
|
o("div", e11, [
|
27204
|
-
T(
|
27201
|
+
T(d, { icon: "arrow-right" })
|
27205
27202
|
])
|
27206
|
-
])) : (
|
27207
|
-
T(
|
27203
|
+
])) : (m(), h("div", c11, [
|
27204
|
+
T(d, {
|
27208
27205
|
icon: e.status === "done" ? "check" : `${e.stepNumber}`,
|
27209
27206
|
class: "AVVerticalStep--icon",
|
27210
27207
|
"data-test": "step-icon"
|
@@ -27212,17 +27209,17 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27212
27209
|
]))
|
27213
27210
|
], 2),
|
27214
27211
|
T(Y2, {
|
27215
|
-
|
27216
|
-
|
27212
|
+
onBeforeEnter: v[0] || (v[0] = (p) => console.log("before-enter", i.value)),
|
27213
|
+
onAfterEnter: v[1] || (v[1] = (p) => {
|
27214
|
+
r(), console.log("after-enter", i.value);
|
27217
27215
|
}),
|
27218
|
-
|
27219
|
-
onAfterLeave:
|
27220
|
-
console.log("after-leave"),
|
27221
|
-
})
|
27222
|
-
onBeforeLeave: m[3] || (m[3] = (V) => console.log("before-leave"))
|
27216
|
+
onBeforeLeave: v[2] || (v[2] = (p) => console.log("before-leave", i.value)),
|
27217
|
+
onAfterLeave: v[3] || (v[3] = (p) => {
|
27218
|
+
console.log("after-leave", i.value), r();
|
27219
|
+
})
|
27223
27220
|
}, {
|
27224
27221
|
default: i1(() => [
|
27225
|
-
e.collapsed ? I("", !0) : (
|
27222
|
+
e.collapsed ? I("", !0) : (m(), h("div", {
|
27226
27223
|
key: 0,
|
27227
27224
|
class: j(["AVVerticalStep--text", {
|
27228
27225
|
"AVVerticalStep--text-link-active": e.linkMode && e.status === "active"
|
@@ -27232,7 +27229,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27232
27229
|
class: j(`AVVerticalStep--title AVVerticalStep--text-${e.status}`),
|
27233
27230
|
"data-test": "step-title"
|
27234
27231
|
}, g(e.title), 3),
|
27235
|
-
e.subtitle ? (
|
27232
|
+
e.subtitle ? (m(), h("span", {
|
27236
27233
|
key: 0,
|
27237
27234
|
class: j(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),
|
27238
27235
|
"data-test": "step-subtitle"
|
@@ -27242,7 +27239,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27242
27239
|
_: 1
|
27243
27240
|
})
|
27244
27241
|
], 10, UX),
|
27245
|
-
e.hasNextStep ? (
|
27242
|
+
e.hasNextStep ? (m(), h("div", {
|
27246
27243
|
key: 1,
|
27247
27244
|
class: "AVVerticalStep--line",
|
27248
27245
|
style: B1(l.value),
|
@@ -27252,7 +27249,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
27252
27249
|
};
|
27253
27250
|
}
|
27254
27251
|
});
|
27255
|
-
const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-
|
27252
|
+
const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-7e0537da"]]), 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 = [
|
27256
27253
|
i11,
|
27257
27254
|
n11,
|
27258
27255
|
s11
|
@@ -27267,7 +27264,7 @@ const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-f61cf1ab"]]), bi = (e)
|
|
27267
27264
|
emits: ["update:isOpened"],
|
27268
27265
|
setup(e, { emit: c }) {
|
27269
27266
|
const a = c;
|
27270
|
-
return (t, i) => (
|
27267
|
+
return (t, i) => (m(), h("button", {
|
27271
27268
|
class: j(["AVAnimatedMenuButton", {
|
27272
27269
|
"AVAnimatedMenuButton--opened": e.isOpened
|
27273
27270
|
}]),
|
@@ -27295,8 +27292,8 @@ const o11 = /* @__PURE__ */ G(r11, [["__scopeId", "data-v-90e59491"]]), f11 = {
|
|
27295
27292
|
}
|
27296
27293
|
},
|
27297
27294
|
setup(e) {
|
27298
|
-
return (c, a) => (
|
27299
|
-
e.hidePercentage ? I("", !0) : (
|
27295
|
+
return (c, a) => (m(), h("div", f11, [
|
27296
|
+
e.hidePercentage ? I("", !0) : (m(), h("div", {
|
27300
27297
|
key: 0,
|
27301
27298
|
class: j(["AVProgressBar--percentage", {
|
27302
27299
|
"AVProgressBar--success": e.value === 100
|
@@ -27322,7 +27319,7 @@ var v11 = {}, p11 = function(e) {
|
|
27322
27319
|
z11
|
27323
27320
|
];
|
27324
27321
|
function M11(e, c) {
|
27325
|
-
return
|
27322
|
+
return m(), h("div", h11, V11);
|
27326
27323
|
}
|
27327
27324
|
const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d66c0"]]), H11 = { class: "AVRadioGroup--input-set" }, C11 = ["for"], b11 = {
|
27328
27325
|
key: 1,
|
@@ -27406,9 +27403,9 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
27406
27403
|
l();
|
27407
27404
|
}
|
27408
27405
|
), (u, v) => {
|
27409
|
-
const
|
27410
|
-
return
|
27411
|
-
e.disableLabel ? I("", !0) : (
|
27406
|
+
const d = P("AVRadio");
|
27407
|
+
return m(), h("div", H11, [
|
27408
|
+
e.disableLabel ? I("", !0) : (m(), h("label", {
|
27412
27409
|
key: 0,
|
27413
27410
|
for: e.id,
|
27414
27411
|
class: "AVRadioGroup--label",
|
@@ -27418,7 +27415,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
27418
27415
|
class: j(`AVRadioGroup--${e.orientation}`),
|
27419
27416
|
"data-test": "input-group"
|
27420
27417
|
}, [
|
27421
|
-
(
|
27418
|
+
(m(!0), h(K, null, f1(n.value, (p, V) => (m(), Z(d, {
|
27422
27419
|
class: "AVRadioGroup--child",
|
27423
27420
|
id: `radio-${e.id}-${V}`,
|
27424
27421
|
key: V,
|
@@ -27428,7 +27425,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
27428
27425
|
onUpdate: (b) => r(p.value)
|
27429
27426
|
}, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
|
27430
27427
|
], 2),
|
27431
|
-
e.error && e.errorMessage ? (
|
27428
|
+
e.error && e.errorMessage ? (m(), h("p", b11, g(e.errorMessage), 1)) : I("", !0)
|
27432
27429
|
]);
|
27433
27430
|
};
|
27434
27431
|
}
|
@@ -27443,7 +27440,7 @@ const L11 = /* @__PURE__ */ G(A11, [["__scopeId", "data-v-74ff59b8"]]), _11 = /*
|
|
27443
27440
|
}
|
27444
27441
|
},
|
27445
27442
|
setup(e) {
|
27446
|
-
return (c, a) => (
|
27443
|
+
return (c, a) => (m(), h("div", {
|
27447
27444
|
class: j(`AVNavigationItemList AVNavigationItemList--${e.type}`)
|
27448
27445
|
}, [
|
27449
27446
|
g1(c.$slots, "default", {}, void 0, !0)
|
@@ -27469,15 +27466,15 @@ const y11 = /* @__PURE__ */ G(_11, [["__scopeId", "data-v-9fd5c53d"]]), x11 = {
|
|
27469
27466
|
setup(e) {
|
27470
27467
|
return (c, a) => {
|
27471
27468
|
const t = P("AVIcon");
|
27472
|
-
return
|
27469
|
+
return m(), h("div", x11, [
|
27473
27470
|
o("a", { href: e.buttonHref }, [
|
27474
|
-
e.disableButton ? I("", !0) : (
|
27471
|
+
e.disableButton ? I("", !0) : (m(), Z(t, {
|
27475
27472
|
key: 0,
|
27476
27473
|
icon: "fa-solid fa-circle-chevron-left",
|
27477
27474
|
class: "AVBreadcrumb--icon"
|
27478
27475
|
}))
|
27479
27476
|
], 8, k11),
|
27480
|
-
(
|
27477
|
+
(m(!0), h(K, null, f1(e.items, (i, n) => (m(), h("span", {
|
27481
27478
|
key: n,
|
27482
27479
|
class: "AVBreadcrumb--group",
|
27483
27480
|
"data-test": "item-group"
|
@@ -27563,7 +27560,7 @@ const w11 = /* @__PURE__ */ G(S11, [["__scopeId", "data-v-479a161a"]]), T11 = ["
|
|
27563
27560
|
}, t = E(() => a[c.status]);
|
27564
27561
|
return (i, n) => {
|
27565
27562
|
const s = P("AVLabel"), l = P("AVIcon"), r = P("AVCard");
|
27566
|
-
return
|
27563
|
+
return m(), h("a", {
|
27567
27564
|
href: e.href,
|
27568
27565
|
class: "AVElectionCard",
|
27569
27566
|
"data-test": "link"
|
@@ -27662,7 +27659,7 @@ const Y11 = /* @__PURE__ */ G(Z11, [["__scopeId", "data-v-dd72671e"]]), Q11 = ["
|
|
27662
27659
|
setup(e) {
|
27663
27660
|
return (c, a) => {
|
27664
27661
|
const t = P("AVIcon"), i = P("AVCard");
|
27665
|
-
return
|
27662
|
+
return m(), h("a", {
|
27666
27663
|
href: e.href,
|
27667
27664
|
class: "AVBallotStyleCard",
|
27668
27665
|
role: "button",
|
@@ -27671,7 +27668,7 @@ const Y11 = /* @__PURE__ */ G(Z11, [["__scopeId", "data-v-dd72671e"]]), Q11 = ["
|
|
27671
27668
|
T(i, { variant: "rounded" }, {
|
27672
27669
|
default: i1(() => [
|
27673
27670
|
o("div", K11, [
|
27674
|
-
e.reviewed ? (
|
27671
|
+
e.reviewed ? (m(), h("div", X11, [
|
27675
27672
|
T(t, { icon: "fa-solid fa-check" })
|
27676
27673
|
])) : I("", !0),
|
27677
27674
|
o("div", e21, [
|
@@ -27746,8 +27743,8 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27746
27743
|
var V, b;
|
27747
27744
|
const u = Array.from(Array((V = c.option) == null ? void 0 : V.crosses).keys());
|
27748
27745
|
u.forEach((A) => u[A] = A + 1);
|
27749
|
-
const v = u.indexOf(Math.ceil(((b = c.option) == null ? void 0 : b.crosses) / 2)) + 1,
|
27750
|
-
return p.length ? [
|
27746
|
+
const v = u.indexOf(Math.ceil(((b = c.option) == null ? void 0 : b.crosses) / 2)) + 1, d = u.slice(0, v), p = u.slice(v);
|
27747
|
+
return p.length ? [d, p] : [d];
|
27751
27748
|
}), s = E(
|
27752
27749
|
() => c.option.image.includes("square") ? c.option.image : `${c.option.image}/${c.imageOption}`
|
27753
27750
|
), l = k1("i18n"), { t: r } = l.global, f = E(
|
@@ -27763,15 +27760,15 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27763
27760
|
{ deep: !0 }
|
27764
27761
|
), (u, v) => {
|
27765
27762
|
var p, V;
|
27766
|
-
const
|
27767
|
-
return
|
27763
|
+
const d = P("AVOptionCheckbox");
|
27764
|
+
return m(), h("div", {
|
27768
27765
|
class: "AVSummaryOption",
|
27769
27766
|
"aria-label": D(r)("js.components.AVSummaryOption.aria_label.option"),
|
27770
27767
|
"data-test": "summary-option"
|
27771
27768
|
}, [
|
27772
|
-
t.value ? (
|
27769
|
+
t.value ? (m(), h("div", l21, [
|
27773
27770
|
o("ul", r21, [
|
27774
|
-
(
|
27771
|
+
(m(!0), h(K, null, f1(t.value, (b, A) => (m(), h("li", {
|
27775
27772
|
key: b + A,
|
27776
27773
|
class: "AVSummaryOption--breadcrumb-item",
|
27777
27774
|
"data-test": "breadcrumb-item"
|
@@ -27784,7 +27781,7 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27784
27781
|
"AVSummaryOption--header-multiple": a.value
|
27785
27782
|
})
|
27786
27783
|
}, [
|
27787
|
-
(p = e.option) != null && p.image ? (
|
27784
|
+
(p = e.option) != null && p.image ? (m(), h("img", {
|
27788
27785
|
key: 0,
|
27789
27786
|
src: s.value,
|
27790
27787
|
class: "AVSummaryOption--img",
|
@@ -27794,8 +27791,8 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27794
27791
|
o("div", f21, [
|
27795
27792
|
o("div", u21, g(i.value), 1)
|
27796
27793
|
]),
|
27797
|
-
a.value ? I("", !0) : (
|
27798
|
-
T(
|
27794
|
+
a.value ? I("", !0) : (m(), h("div", m21, [
|
27795
|
+
T(d, {
|
27799
27796
|
checked: !0,
|
27800
27797
|
rank: (V = e.option) == null ? void 0 : V.rank,
|
27801
27798
|
disabled: !0,
|
@@ -27803,14 +27800,14 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
27803
27800
|
}, null, 8, ["rank"])
|
27804
27801
|
]))
|
27805
27802
|
], 2),
|
27806
|
-
a.value ? (
|
27807
|
-
(
|
27803
|
+
a.value ? (m(), h("div", d21, [
|
27804
|
+
(m(!0), h(K, null, f1(n.value, (b) => (m(), h("div", {
|
27808
27805
|
key: b.toString(),
|
27809
27806
|
class: "AVSummaryOption--group"
|
27810
27807
|
}, [
|
27811
|
-
(
|
27808
|
+
(m(!0), h(K, null, f1(b, (A) => {
|
27812
27809
|
var _;
|
27813
|
-
return
|
27810
|
+
return m(), Z(d, {
|
27814
27811
|
key: A,
|
27815
27812
|
checked: !0,
|
27816
27813
|
rank: (_ = e.option) == null ? void 0 : _.rank,
|
@@ -27922,7 +27919,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
27922
27919
|
var O;
|
27923
27920
|
return ((O = n.option.description) == null ? void 0 : O[X.value]) ?? "";
|
27924
27921
|
}
|
27925
|
-
),
|
27922
|
+
), d = E(() => {
|
27926
27923
|
var O;
|
27927
27924
|
return ((O = n.option.url) == null ? void 0 : O[X.value]) ?? "";
|
27928
27925
|
}), p = E(
|
@@ -27934,8 +27931,8 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
27934
27931
|
() => n.option.image.includes("square") ? n.option.image : `${n.option.image}/${n.imageOption}`
|
27935
27932
|
), b = E(() => {
|
27936
27933
|
let O = [];
|
27937
|
-
return
|
27938
|
-
url:
|
27934
|
+
return d.value && O.push({
|
27935
|
+
url: d.value,
|
27939
27936
|
text: R("js.components.AVOption.info_link_text_html")
|
27940
27937
|
}), p.value && O.push({
|
27941
27938
|
url: p.value,
|
@@ -27985,7 +27982,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
27985
27982
|
{ deep: !0 }
|
27986
27983
|
), (O, a1) => {
|
27987
27984
|
const u1 = P("AVIcon"), U = P("AVOptionCheckbox"), Q = P("AVOption", !0), y1 = P("AVCollapser");
|
27988
|
-
return
|
27985
|
+
return m(), h("div", {
|
27989
27986
|
class: j({
|
27990
27987
|
"AVOption--background": !0,
|
27991
27988
|
"AVOption--disabled": e.disabled
|
@@ -28027,7 +28024,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28027
28024
|
}, [
|
28028
28025
|
o("div", z21, [
|
28029
28026
|
o("header", V21, [
|
28030
|
-
e.option.image ? (
|
28027
|
+
e.option.image ? (m(), h("img", {
|
28031
28028
|
key: 0,
|
28032
28029
|
src: V.value,
|
28033
28030
|
alt: D(R)("js.components.AVOption.aria_labels.option_image"),
|
@@ -28039,18 +28036,18 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28039
28036
|
textContent: g(u.value)
|
28040
28037
|
}, null, 8, g21)
|
28041
28038
|
]),
|
28042
|
-
v.value || b.value.length || A.value || e.option.candidateId ? (
|
28043
|
-
v.value ? (
|
28039
|
+
v.value || b.value.length || A.value || e.option.candidateId ? (m(), h("div", H21, [
|
28040
|
+
v.value ? (m(), h("div", C21, [
|
28044
28041
|
o("p", { innerHTML: v.value }, null, 8, b21)
|
28045
28042
|
])) : I("", !0),
|
28046
|
-
b.value.length > 0 || e.option.candidateId ? (
|
28047
|
-
e.option.candidateId ? (
|
28043
|
+
b.value.length > 0 || e.option.candidateId ? (m(), h("div", A21, [
|
28044
|
+
e.option.candidateId ? (m(), h("button", {
|
28048
28045
|
key: 0,
|
28049
28046
|
class: "AVOption--link",
|
28050
28047
|
onClick: a1[0] || (a1[0] = (O1) => s("view-candidate", e.option.candidateId)),
|
28051
28048
|
"data-test": "option-candidacy"
|
28052
28049
|
}, g(D(R)("js.components.AVOption.view_candidate")), 1)) : I("", !0),
|
28053
|
-
(
|
28050
|
+
(m(!0), h(K, null, f1(b.value, (O1) => (m(), h("a", {
|
28054
28051
|
key: O1.toString(),
|
28055
28052
|
href: O1.url,
|
28056
28053
|
class: "AVOption--link",
|
@@ -28058,7 +28055,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28058
28055
|
"data-test": "option-link"
|
28059
28056
|
}, g(O1.text), 9, L21))), 128))
|
28060
28057
|
])) : I("", !0),
|
28061
|
-
W1 && A.value ? (
|
28058
|
+
W1 && A.value ? (m(), h("div", _21, [
|
28062
28059
|
o("div", {
|
28063
28060
|
id: `option_${e.option.reference}_dropdown`,
|
28064
28061
|
class: "AVOption--expander-container",
|
@@ -28074,7 +28071,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28074
28071
|
innerHTML: P1 ? D(R)("js.components.AVOption.collapse_text") : D(R)("js.components.AVOption.expand_text")
|
28075
28072
|
}, null, 8, x21)
|
28076
28073
|
], 8, y21),
|
28077
|
-
C.value && !P1 ? (
|
28074
|
+
C.value && !P1 ? (m(), h("span", {
|
28078
28075
|
key: 0,
|
28079
28076
|
class: j(["AVOption--suboption-badge", {
|
28080
28077
|
"AVOption--suboption-badge-danger": e.invalid,
|
@@ -28089,7 +28086,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28089
28086
|
])) : I("", !0)
|
28090
28087
|
])) : I("", !0)
|
28091
28088
|
]),
|
28092
|
-
_.value >= 1 ? (
|
28089
|
+
_.value >= 1 ? (m(), h("div", {
|
28093
28090
|
key: 0,
|
28094
28091
|
class: j({
|
28095
28092
|
"AVOption--multivote-aside": _.value <= 5,
|
@@ -28099,11 +28096,11 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28099
28096
|
style: B1(`background-color: ${_.value === 1 ? "#FFFFFF" : "#f7f7f7"}`),
|
28100
28097
|
"data-test": "option-multivote"
|
28101
28098
|
}, [
|
28102
|
-
(
|
28099
|
+
(m(!0), h(K, null, f1(x.value, (O1) => (m(), h("div", {
|
28103
28100
|
key: O1.toString(),
|
28104
28101
|
class: "AVOption--group"
|
28105
28102
|
}, [
|
28106
|
-
(
|
28103
|
+
(m(!0), h(K, null, f1(O1, (Q1) => (m(), Z(U, {
|
28107
28104
|
key: Q1,
|
28108
28105
|
checked: f.value >= Q1,
|
28109
28106
|
rank: r.value ? e.selections.map((E1) => E1.reference).indexOf(e.option.reference) + 1 : null,
|
@@ -28116,13 +28113,13 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28116
28113
|
}, null, 8, ["checked", "rank", "exclusive-error", "invalid", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
|
28117
28114
|
]))), 128))
|
28118
28115
|
], 6)) : I("", !0),
|
28119
|
-
k.value && (e.observerMode || e.disabled) ? (
|
28116
|
+
k.value && (e.observerMode || e.disabled) ? (m(), h("div", k21, [
|
28120
28117
|
T(u1, {
|
28121
28118
|
icon: "user",
|
28122
28119
|
class: "AVOption--realtime-results-icon"
|
28123
28120
|
}),
|
28124
28121
|
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),
|
28125
|
-
k.value.showPercentage ? (
|
28122
|
+
k.value.showPercentage ? (m(), h(K, { key: 0 }, [
|
28126
28123
|
N21,
|
28127
28124
|
o("span", null, g(`${k.value.results.percentage}%`), 1)
|
28128
28125
|
], 64)) : I("", !0)
|
@@ -28131,8 +28128,8 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28131
28128
|
], 14, h21)
|
28132
28129
|
]),
|
28133
28130
|
pane: i1(({ toggleCollapse: P1 }) => [
|
28134
|
-
A.value ? (
|
28135
|
-
(
|
28131
|
+
A.value ? (m(), h("div", T21, [
|
28132
|
+
(m(!0), h(K, null, f1(e.option.children, (W1) => (m(), Z(Q, {
|
28136
28133
|
key: W1.reference,
|
28137
28134
|
option: W1,
|
28138
28135
|
selections: e.selections,
|
@@ -28159,7 +28156,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
28159
28156
|
class: "AVOption--realtime-results-icon"
|
28160
28157
|
}),
|
28161
28158
|
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),
|
28162
|
-
k.value.showPercentage ? (
|
28159
|
+
k.value.showPercentage ? (m(), h(K, { key: 0 }, [
|
28163
28160
|
w21,
|
28164
28161
|
o("span", null, g(`${k.value.results.percentage}%`), 1)
|
28165
28162
|
], 64)) : I("", !0)
|
@@ -28237,7 +28234,7 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
|
|
28237
28234
|
);
|
28238
28235
|
return (n, s) => {
|
28239
28236
|
const l = P("AVOptionCheckbox"), r = P("AVIcon");
|
28240
|
-
return
|
28237
|
+
return m(), h("div", {
|
28241
28238
|
class: j({
|
28242
28239
|
"AVBlankOption--disabled": e.disabled
|
28243
28240
|
}),
|
@@ -28266,26 +28263,26 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
|
|
28266
28263
|
"data-test": "blank-checkbox"
|
28267
28264
|
}, null, 8, ["checked", "exclusive-error", "invalid", "disabled"])
|
28268
28265
|
]),
|
28269
|
-
e.partialResults && (e.observerMode || e.disabled) ? (
|
28266
|
+
e.partialResults && (e.observerMode || e.disabled) ? (m(), h("div", R21, [
|
28270
28267
|
T(r, {
|
28271
28268
|
icon: "user",
|
28272
28269
|
class: "AVBlankOption--realtime-results-icon"
|
28273
28270
|
}),
|
28274
28271
|
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),
|
28275
|
-
e.partialResults.showPercentage ? (
|
28272
|
+
e.partialResults.showPercentage ? (m(), h(K, { key: 0 }, [
|
28276
28273
|
F21,
|
28277
28274
|
o("span", null, g(`${e.partialResults.results.percentage}%`), 1)
|
28278
28275
|
], 64)) : I("", !0)
|
28279
28276
|
])) : I("", !0)
|
28280
28277
|
])
|
28281
28278
|
], 14, D21),
|
28282
|
-
!e.disabled && e.partialResults && !e.observerMode ? (
|
28279
|
+
!e.disabled && e.partialResults && !e.observerMode ? (m(), h("div", j21, [
|
28283
28280
|
T(r, {
|
28284
28281
|
icon: "user",
|
28285
28282
|
class: "AVBlankOption--realtime-results-icon"
|
28286
28283
|
}),
|
28287
28284
|
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),
|
28288
|
-
e.partialResults.showPercentage ? (
|
28285
|
+
e.partialResults.showPercentage ? (m(), h(K, { key: 0 }, [
|
28289
28286
|
q21,
|
28290
28287
|
o("span", null, g(`${e.partialResults.results.percentage}%`), 1)
|
28291
28288
|
], 64)) : I("", !0)
|
@@ -28355,7 +28352,7 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
|
|
28355
28352
|
};
|
28356
28353
|
return (f, u) => {
|
28357
28354
|
const v = P("AVOptionCheckbox");
|
28358
|
-
return
|
28355
|
+
return m(), h("div", {
|
28359
28356
|
class: j({
|
28360
28357
|
AVWriteInOption: !0,
|
28361
28358
|
"AVWriteInOption--disabled": e.disabled
|
@@ -28370,14 +28367,14 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
|
|
28370
28367
|
class: "AVWriteInOption--form-control",
|
28371
28368
|
"aria-label": D(t)("js.components.AVWriteInOption.aria_labels.party"),
|
28372
28369
|
disabled: e.disabled,
|
28373
|
-
onInput: u[0] || (u[0] = (
|
28370
|
+
onInput: u[0] || (u[0] = (d) => l(d.target.value))
|
28374
28371
|
}, [
|
28375
28372
|
o("option", K21, g(D(t)("js.components.AVWriteInOption.choose_party")), 1),
|
28376
|
-
(
|
28377
|
-
key:
|
28378
|
-
value:
|
28379
|
-
selected:
|
28380
|
-
}, g(
|
28373
|
+
(m(!0), h(K, null, f1(e.parties, (d) => (m(), h("option", {
|
28374
|
+
key: d.letter,
|
28375
|
+
value: d.letter,
|
28376
|
+
selected: d.letter === e.partyValue
|
28377
|
+
}, g(d.letter) + " - " + g(d.name), 9, X21))), 128))
|
28381
28378
|
], 40, Q21),
|
28382
28379
|
o("input", {
|
28383
28380
|
value: e.candidateValue,
|
@@ -28385,7 +28382,7 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
|
|
28385
28382
|
placeholder: D(t)("js.components.AVWriteInOption.placeholder"),
|
28386
28383
|
"aria-label": D(t)("js.components.AVWriteInOption.aria_labels.candidate"),
|
28387
28384
|
disabled: e.disabled,
|
28388
|
-
onInput: u[1] || (u[1] = (
|
28385
|
+
onInput: u[1] || (u[1] = (d) => s(d.target.value))
|
28389
28386
|
}, null, 40, e31)
|
28390
28387
|
])
|
28391
28388
|
]),
|
@@ -28446,12 +28443,12 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28446
28443
|
c.locale && r1(c.locale);
|
28447
28444
|
},
|
28448
28445
|
{ deep: !0 }
|
28449
|
-
), (s, l) => (
|
28446
|
+
), (s, l) => (m(), h("div", i31, [
|
28450
28447
|
o("div", {
|
28451
28448
|
class: j(["AVSubmissionHelper--container", { "AVSubmissionHelper--danger": e.errors.length > 0 }]),
|
28452
28449
|
"data-test": "submission-helper"
|
28453
28450
|
}, [
|
28454
|
-
e.weight ? (
|
28451
|
+
e.weight ? (m(), h("div", {
|
28455
28452
|
key: 0,
|
28456
28453
|
class: j({
|
28457
28454
|
"AVSubmissionHelper--weight": !0,
|
@@ -28459,8 +28456,8 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28459
28456
|
}),
|
28460
28457
|
"data-test": "submission-helper-weight"
|
28461
28458
|
}, g(D(i)("js.components.AVSubmissionHelper.your_vote_weight", { weight: e.weight })), 3)) : I("", !0),
|
28462
|
-
e.errors.length > 0 ? (
|
28463
|
-
(
|
28459
|
+
e.errors.length > 0 ? (m(), h("div", n31, [
|
28460
|
+
(m(!0), h(K, null, f1(a.value, (r) => (m(), h("div", {
|
28464
28461
|
key: r,
|
28465
28462
|
role: "alert",
|
28466
28463
|
textContent: g(r),
|
@@ -28468,18 +28465,18 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28468
28465
|
}, null, 8, s31))), 128)),
|
28469
28466
|
l31
|
28470
28467
|
])) : I("", !0),
|
28471
|
-
e.maxMarks > 1 ? (
|
28468
|
+
e.maxMarks > 1 ? (m(), h("div", r31, [
|
28472
28469
|
o("div", o31, [
|
28473
|
-
e.minMarks === e.maxMarks ? (
|
28470
|
+
e.minMarks === e.maxMarks ? (m(), h("div", f31, g(`${D(i)("js.components.AVSubmissionHelper.select_exactly", {
|
28474
28471
|
min_marks: e.minMarks
|
28475
|
-
})}`), 1)) : (
|
28472
|
+
})}`), 1)) : (m(), h("div", u31, g(`${e.hasExclusiveOptions ? D(i)(
|
28476
28473
|
"js.components.AVSubmissionHelper.select_multiple_with_exclusives",
|
28477
28474
|
{ min_marks: e.minMarks, max_marks: e.maxMarks }
|
28478
28475
|
) : D(i)("js.components.AVSubmissionHelper.select_multiple", {
|
28479
28476
|
min_marks: e.minMarks,
|
28480
28477
|
max_marks: e.maxMarks
|
28481
28478
|
})}`), 1)),
|
28482
|
-
e.chosenCount > 0 ? (
|
28479
|
+
e.chosenCount > 0 ? (m(), h("div", {
|
28483
28480
|
key: 2,
|
28484
28481
|
innerHTML: D(i)("js.components.AVSubmissionHelper.selected", {
|
28485
28482
|
selected: e.chosenCount
|
@@ -28488,7 +28485,7 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
28488
28485
|
"data-test": "submission-helper-count"
|
28489
28486
|
}, null, 8, m31)) : I("", !0)
|
28490
28487
|
])
|
28491
|
-
])) : (
|
28488
|
+
])) : (m(), h("div", d31, [
|
28492
28489
|
o("div", null, g(D(i)("js.components.AVSubmissionHelper.select_single")), 1)
|
28493
28490
|
]))
|
28494
28491
|
], 2)
|
@@ -28532,11 +28529,11 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28532
28529
|
const { eventBusEmit: c } = H$(), a = e, t = n1(""), i = E(() => t.value.trim() === "" ? [] : h31(
|
28533
28530
|
a.options,
|
28534
28531
|
t.value,
|
28535
|
-
(
|
28536
|
-
)), n = (
|
28532
|
+
(d) => d.title[v.value]
|
28533
|
+
)), n = (d) => s(d, []).reverse(), s = (d, p) => d.parentContent ? (p.push(d.parentContent), s(d.parentContent, p)) : p, l = () => {
|
28537
28534
|
t.value = "";
|
28538
|
-
}, r = (
|
28539
|
-
c("highlight-option",
|
28535
|
+
}, r = (d) => {
|
28536
|
+
c("highlight-option", d.reference), l();
|
28540
28537
|
}, f = k1("i18n"), { t: u } = f.global, v = E(
|
28541
28538
|
() => f.global.locale.value || f.global.locale
|
28542
28539
|
);
|
@@ -28548,7 +28545,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28548
28545
|
a.locale && r1(a.locale);
|
28549
28546
|
},
|
28550
28547
|
{ deep: !0 }
|
28551
|
-
), (
|
28548
|
+
), (d, p) => (m(), h("form", {
|
28552
28549
|
role: "search",
|
28553
28550
|
class: "AVSearchBallot",
|
28554
28551
|
"aria-label": D(u)("js.components.AVSearchBallot.aria_labels.ballot_options"),
|
@@ -28576,13 +28573,13 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28576
28573
|
])
|
28577
28574
|
]),
|
28578
28575
|
o("div", C31, [
|
28579
|
-
(
|
28576
|
+
(m(!0), h(K, null, f1(i.value, (V) => (m(), h("div", {
|
28580
28577
|
key: V,
|
28581
28578
|
"aria-label": V.title[v.value]
|
28582
28579
|
}, [
|
28583
|
-
n(V).length > 0 ? (
|
28580
|
+
n(V).length > 0 ? (m(), h("div", A31, [
|
28584
28581
|
o("ul", L31, [
|
28585
|
-
(
|
28582
|
+
(m(!0), h(K, null, f1(n(V), (b) => (m(), h("li", {
|
28586
28583
|
key: b.reference,
|
28587
28584
|
class: "AVSeachOptionBallot--breadcrumb-item"
|
28588
28585
|
}, g(b.title[v.value]), 1))), 128))
|
@@ -28602,7 +28599,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
28602
28599
|
}, null, 8, y31)
|
28603
28600
|
], 8, _31)
|
28604
28601
|
], 8, b31))), 128)),
|
28605
|
-
t.value && i.value.length === 0 ? (
|
28602
|
+
t.value && i.value.length === 0 ? (m(), h("div", {
|
28606
28603
|
key: 0,
|
28607
28604
|
class: "AVSearchBallot--alert",
|
28608
28605
|
textContent: g(D(u)("js.components.AVSearchBallot.no_results"))
|
@@ -28650,7 +28647,7 @@ const N31 = /* @__PURE__ */ G(k31, [["__scopeId", "data-v-0b2b5c97"]]), S31 = {
|
|
28650
28647
|
t.locale && r1(t.locale);
|
28651
28648
|
},
|
28652
28649
|
{ deep: !0 }
|
28653
|
-
), (i, n) => (
|
28650
|
+
), (i, n) => (m(), h("div", S31, [
|
28654
28651
|
o("div", w31, [
|
28655
28652
|
o("span", null, [
|
28656
28653
|
o1(g(D(a)("js.components.AVSplitWeightHelper.total")) + " ", 1),
|
@@ -28727,11 +28724,11 @@ const D31 = /* @__PURE__ */ G(E31, [["__scopeId", "data-v-3a80cb22"]]), P31 = {
|
|
28727
28724
|
{ deep: !0 }
|
28728
28725
|
), (i, n) => {
|
28729
28726
|
const s = P("AVTooltip");
|
28730
|
-
return
|
28731
|
-
e.activeState === "ballot" ? (
|
28727
|
+
return m(), h("header", P31, [
|
28728
|
+
e.activeState === "ballot" ? (m(), 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" ? (m(), h("p", B31, g(e.isEditing ? `${D(a)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}` : `${D(a)(
|
28732
28729
|
"js.components.AVSplitWizardHeader.assign.header_edit_mode"
|
28733
|
-
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (
|
28734
|
-
e.activeState === "ballot" ? (
|
28730
|
+
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (m(), h("p", R31, g(D(a)("js.components.AVSplitWizardHeader.overview.header")), 1)),
|
28731
|
+
e.activeState === "ballot" ? (m(), Z(s, {
|
28735
28732
|
key: 3,
|
28736
28733
|
content: `${D(a)(
|
28737
28734
|
"js.components.AVSplitWizardHeader.ballot.can_assign_description_pre"
|
@@ -28768,7 +28765,7 @@ const j31 = /* @__PURE__ */ G(F31, [["__scopeId", "data-v-13834427"]]), q31 = (e
|
|
28768
28765
|
setup(e) {
|
28769
28766
|
return (c, a) => {
|
28770
28767
|
const t = P("AVCard");
|
28771
|
-
return
|
28768
|
+
return m(), Z(t, { variant: "rounded-electa" }, {
|
28772
28769
|
default: i1(() => [
|
28773
28770
|
o("h3", $31, g(e.contestTitle), 1),
|
28774
28771
|
o("p", U31, g(e.votingRoundTitle), 1),
|
@@ -28841,7 +28838,7 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
|
|
28841
28838
|
{ deep: !0 }
|
28842
28839
|
), (s, l) => {
|
28843
28840
|
const r = h2("tooltip");
|
28844
|
-
return
|
28841
|
+
return m(), h("div", {
|
28845
28842
|
class: j(["AVResultOption", {
|
28846
28843
|
"AVResultOption--bg-default": !e.tied && !e.elected,
|
28847
28844
|
"AVResultOption--bg-elected": e.elected,
|
@@ -28849,9 +28846,9 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
|
|
28849
28846
|
}]),
|
28850
28847
|
"data-test": "result-option"
|
28851
28848
|
}, [
|
28852
|
-
j1((
|
28849
|
+
j1((m(), h("div", Z31, [
|
28853
28850
|
o("div", Y31, [
|
28854
|
-
e.optionImage ? (
|
28851
|
+
e.optionImage ? (m(), h("img", {
|
28855
28852
|
key: 0,
|
28856
28853
|
src: e.optionImage,
|
28857
28854
|
class: "AVResultOption--image",
|
@@ -28861,7 +28858,7 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
|
|
28861
28858
|
]),
|
28862
28859
|
o("div", X31, [
|
28863
28860
|
o("div", e41, g(t.value), 1),
|
28864
|
-
e.hidePercentage ? I("", !0) : (
|
28861
|
+
e.hidePercentage ? I("", !0) : (m(), h("div", c41, g(a.value) + "% ", 1))
|
28865
28862
|
])
|
28866
28863
|
])), [
|
28867
28864
|
[r, e.optionTitle[n.value]]
|
@@ -28897,17 +28894,17 @@ const t41 = /* @__PURE__ */ G(a41, [["__scopeId", "data-v-35bf20c6"]]), i41 = "d
|
|
28897
28894
|
setup(e) {
|
28898
28895
|
return (c, a) => {
|
28899
28896
|
const t = P("AVSteps");
|
28900
|
-
return
|
28897
|
+
return m(), h("footer", {
|
28901
28898
|
class: j(["AVFooter", { "AVFooter--stacked": e.enableSteps }])
|
28902
28899
|
}, [
|
28903
|
-
e.enableSteps ? (
|
28900
|
+
e.enableSteps ? (m(), Z(t, {
|
28904
28901
|
key: 0,
|
28905
28902
|
steps: e.steps,
|
28906
28903
|
done: e.done,
|
28907
28904
|
active: e.active,
|
28908
28905
|
class: "AVFooter--child"
|
28909
28906
|
}, null, 8, ["steps", "done", "active"])) : I("", !0),
|
28910
|
-
e.disableBanner ? I("", !0) : (
|
28907
|
+
e.disableBanner ? I("", !0) : (m(), h("div", {
|
28911
28908
|
key: 1,
|
28912
28909
|
class: j(["AVFooter--base AVFooter--child", { "AVFooter--child-stacked": e.enableSteps }])
|
28913
28910
|
}, [
|
@@ -28925,14 +28922,14 @@ const t41 = /* @__PURE__ */ G(a41, [["__scopeId", "data-v-35bf20c6"]]), i41 = "d
|
|
28925
28922
|
const o41 = /* @__PURE__ */ G(r41, [["__scopeId", "data-v-1a82d440"]]);
|
28926
28923
|
var f41 = {}, u41 = { class: "AVSidebar" };
|
28927
28924
|
function m41(e, c) {
|
28928
|
-
return
|
28925
|
+
return m(), h("nav", u41, [
|
28929
28926
|
g1(e.$slots, "default", {}, void 0, !0)
|
28930
28927
|
]);
|
28931
28928
|
}
|
28932
28929
|
const d41 = /* @__PURE__ */ G(f41, [["render", m41], ["__scopeId", "data-v-65e0965f"]]);
|
28933
28930
|
var v41 = {}, p41 = { class: "AVNavbar" };
|
28934
28931
|
function h41(e, c) {
|
28935
|
-
return
|
28932
|
+
return m(), h("nav", p41, [
|
28936
28933
|
g1(e.$slots, "default", {}, void 0, !0)
|
28937
28934
|
]);
|
28938
28935
|
}
|
@@ -28945,7 +28942,7 @@ var V41 = {}, M41 = { class: "AVContent" }, g41 = {
|
|
28945
28942
|
"data-test": "container"
|
28946
28943
|
};
|
28947
28944
|
function C41(e, c) {
|
28948
|
-
return
|
28945
|
+
return m(), h("main", M41, [
|
28949
28946
|
o("div", g41, [
|
28950
28947
|
g1(e.$slots, "sidebar", {}, void 0, !0)
|
28951
28948
|
]),
|
@@ -28978,7 +28975,7 @@ const b41 = /* @__PURE__ */ G(V41, [["render", C41], ["__scopeId", "data-v-1923e
|
|
28978
28975
|
() => {
|
28979
28976
|
t.modalActive && (document.body.style.overflowY = "hidden"), t.modalActive || (document.body.style.overflowY = "scroll");
|
28980
28977
|
}
|
28981
|
-
), (i, n) => (
|
28978
|
+
), (i, n) => (m(), Z(Y2, { name: "modal-animation" }, {
|
28982
28979
|
default: i1(() => [
|
28983
28980
|
j1(o("div", {
|
28984
28981
|
class: "AVModal",
|
@@ -29203,7 +29200,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29203
29200
|
var y;
|
29204
29201
|
let N = [];
|
29205
29202
|
return (y = a.contest.customRulesets) != null && y.includes("belgian_ballot_rules") && N.push(new N41(a.contest)), N;
|
29206
|
-
}),
|
29203
|
+
}), d = E(() => {
|
29207
29204
|
let N = [];
|
29208
29205
|
v.value.forEach((R) => {
|
29209
29206
|
N.push(...R.validate(a.selectionPile));
|
@@ -29221,7 +29218,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29221
29218
|
), y.splice(R, 1));
|
29222
29219
|
}
|
29223
29220
|
return t("update:errors", y), y;
|
29224
|
-
}), p = E(() =>
|
29221
|
+
}), p = E(() => d.value.length === 0), V = E(() => {
|
29225
29222
|
var N;
|
29226
29223
|
return (N = a.contest.question) == null ? void 0 : N[S.value];
|
29227
29224
|
}), b = E(
|
@@ -29268,7 +29265,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29268
29265
|
{ deep: !0 }
|
29269
29266
|
), (N, y) => {
|
29270
29267
|
const R = P("AVSearchBallot"), X = P("AVWriteInOption"), O = P("AVOption"), a1 = P("AVBlankOption"), u1 = P("AVSubmissionHelper");
|
29271
|
-
return
|
29268
|
+
return m(), h("div", {
|
29272
29269
|
class: j({
|
29273
29270
|
AVBallot: !0,
|
29274
29271
|
"AVBallot--error": !p.value
|
@@ -29277,14 +29274,14 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29277
29274
|
"aria-describedby": `ballot_${e.contest.reference}`,
|
29278
29275
|
"data-test": "ballot"
|
29279
29276
|
}, [
|
29280
|
-
V.value ? (
|
29277
|
+
V.value ? (m(), h("h5", {
|
29281
29278
|
key: 0,
|
29282
29279
|
id: `ballot_${e.contest.reference}_question`,
|
29283
29280
|
class: "AVBallot--question",
|
29284
29281
|
"aria-live": "polite",
|
29285
29282
|
"data-test": "ballot-question"
|
29286
29283
|
}, g(V.value), 9, T41)) : I("", !0),
|
29287
|
-
e.contest.searchForm && !e.disabled && !e.observerMode ? (
|
29284
|
+
e.contest.searchForm && !e.disabled && !e.observerMode ? (m(), Z(R, {
|
29288
29285
|
key: 1,
|
29289
29286
|
ref_key: "search",
|
29290
29287
|
ref: l,
|
@@ -29302,10 +29299,10 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29302
29299
|
}),
|
29303
29300
|
"aria-label": D(L)("js.components.AVBallot.aria_labels.ballot_options")
|
29304
29301
|
}, [
|
29305
|
-
(
|
29302
|
+
(m(!0), h(K, null, f1(e.contest.options, (U) => (m(), h(K, {
|
29306
29303
|
key: U.reference
|
29307
29304
|
}, [
|
29308
|
-
U.writeIn ? (
|
29305
|
+
U.writeIn ? (m(), Z(X, {
|
29309
29306
|
key: 0,
|
29310
29307
|
"candidate-value": s.value,
|
29311
29308
|
"onUpdate:candidateValue": y[0] || (y[0] = (Q) => s.value = Q),
|
@@ -29316,12 +29313,12 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29316
29313
|
parties: [],
|
29317
29314
|
disabled: e.disabled,
|
29318
29315
|
observerMode: e.observerMode
|
29319
|
-
}, null, 8, ["candidate-value", "party-value", "checked-value", "disabled", "observerMode"])) : (
|
29316
|
+
}, null, 8, ["candidate-value", "party-value", "checked-value", "disabled", "observerMode"])) : (m(), Z(O, {
|
29320
29317
|
key: 1,
|
29321
29318
|
selections: r.value,
|
29322
29319
|
option: U,
|
29323
29320
|
invalid: !p.value,
|
29324
|
-
"exclusive-error": !b.value && U.exclusive &&
|
29321
|
+
"exclusive-error": !b.value && U.exclusive && d.value.some((Q) => Q.message.includes("exclusive")),
|
29325
29322
|
contest: e.contest,
|
29326
29323
|
disabled: e.disabled,
|
29327
29324
|
observerMode: e.observerMode,
|
@@ -29331,10 +29328,10 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29331
29328
|
onViewCandidate: x
|
29332
29329
|
}, null, 8, ["selections", "option", "invalid", "exclusive-error", "contest", "disabled", "observerMode", "partial-results", "image-option"]))
|
29333
29330
|
], 64))), 128)),
|
29334
|
-
e.contest.markingType.blankSubmission === "active_choice" ? (
|
29331
|
+
e.contest.markingType.blankSubmission === "active_choice" ? (m(), Z(a1, {
|
29335
29332
|
key: 0,
|
29336
29333
|
checked: e.selectionPile.explicitBlank,
|
29337
|
-
error: !b.value &&
|
29334
|
+
error: !b.value && d.value.some((U) => U.message.includes("blank")),
|
29338
29335
|
disabled: e.disabled,
|
29339
29336
|
invalid: !p.value,
|
29340
29337
|
observerMode: e.observerMode,
|
@@ -29343,11 +29340,11 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
29343
29340
|
onToggleBlank: C
|
29344
29341
|
}, null, 8, ["checked", "error", "disabled", "invalid", "observerMode", "accentColor", "partial-results"])) : I("", !0)
|
29345
29342
|
], 10, E41),
|
29346
|
-
e.showSubmissionHelper && !e.disabled && !e.observerMode ? (
|
29343
|
+
e.showSubmissionHelper && !e.disabled && !e.observerMode ? (m(), Z(u1, {
|
29347
29344
|
key: 2,
|
29348
29345
|
id: `ballot_${e.contest.reference}`,
|
29349
29346
|
"chosen-count": r.value.length,
|
29350
|
-
errors:
|
29347
|
+
errors: d.value,
|
29351
29348
|
weight: u.value,
|
29352
29349
|
"min-marks": e.contest.markingType.minMarks,
|
29353
29350
|
"max-marks": e.contest.markingType.maxMarks,
|
@@ -29455,7 +29452,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29455
29452
|
});
|
29456
29453
|
}
|
29457
29454
|
}), V;
|
29458
|
-
}), v = k1("i18n"), { t:
|
29455
|
+
}), v = k1("i18n"), { t: d } = v.global, p = E(
|
29459
29456
|
() => v.global.locale.value || v.global.locale
|
29460
29457
|
);
|
29461
29458
|
return z1(() => {
|
@@ -29468,48 +29465,48 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29468
29465
|
{ deep: !0 }
|
29469
29466
|
), (V, b) => {
|
29470
29467
|
const A = P("AVSummaryOption"), _ = P("AVIcon");
|
29471
|
-
return e.activeState === "summary" ? (
|
29472
|
-
e.contest.markingType.maxPiles !== 1 ? (
|
29473
|
-
o("span", null, g(D(
|
29474
|
-
o("span", F41, g(e.selectionPile.multiplier) + " " + g(D(
|
29475
|
-
])) : (
|
29476
|
-
o("span", null, g(D(
|
29468
|
+
return e.activeState === "summary" ? (m(), h("div", B41, [
|
29469
|
+
e.contest.markingType.maxPiles !== 1 ? (m(), h("header", R41, [
|
29470
|
+
o("span", null, g(D(d)("js.components.AVPileSummary.selection")) + " " + g(e.pileIndex + 1) + " / " + g(e.totalPiles), 1),
|
29471
|
+
o("span", F41, g(e.selectionPile.multiplier) + " " + g(D(d)("js.components.AVPileSummary.ballots")), 1)
|
29472
|
+
])) : (m(), h("header", j41, [
|
29473
|
+
o("span", null, g(D(d)("js.components.AVPileSummary.selection")), 1)
|
29477
29474
|
])),
|
29478
29475
|
o("div", q41, [
|
29479
|
-
(
|
29476
|
+
(m(!0), h(K, null, f1(u.value.options, (C, M) => (m(), Z(A, {
|
29480
29477
|
key: M,
|
29481
29478
|
option: C,
|
29482
29479
|
"multiple-votes-allowed": e.contest.markingType.votesAllowedPerOption > 1,
|
29483
29480
|
parents: f(C.parent, C.parent ? [C.parent] : []),
|
29484
29481
|
"image-option": e.imageOption
|
29485
29482
|
}, null, 8, ["option", "multiple-votes-allowed", "parents", "image-option"]))), 128)),
|
29486
|
-
n.value ? (
|
29483
|
+
n.value ? (m(), Z(A, {
|
29487
29484
|
key: 0,
|
29488
29485
|
blank: n.value
|
29489
29486
|
}, null, 8, ["blank"])) : I("", !0)
|
29490
29487
|
])
|
29491
|
-
])) : (
|
29488
|
+
])) : (m(), h("div", $41, [
|
29492
29489
|
o("div", U41, [
|
29493
29490
|
o("div", {
|
29494
29491
|
class: "AVPileSummary--assign-header",
|
29495
|
-
"aria-label": D(
|
29492
|
+
"aria-label": D(d)("js.components.AVPileSummary.aria_labels.edit_selection"),
|
29496
29493
|
role: "button",
|
29497
29494
|
"data-test": "pile-summary-edit",
|
29498
29495
|
onClick: b[0] || (b[0] = (C) => a("editCurrentSelection"))
|
29499
29496
|
}, [
|
29500
29497
|
o("div", G41, [
|
29501
29498
|
T(_, { icon: "pen-to-square" }),
|
29502
|
-
o("span", null, g(D(
|
29499
|
+
o("span", null, g(D(d)("js.components.AVPileSummary.ballot_selection")) + " " + g(e.pileIndex + 1), 1)
|
29503
29500
|
]),
|
29504
|
-
e.activeState === "overview" || e.isEditing ? (
|
29501
|
+
e.activeState === "overview" || e.isEditing ? (m(), h("span", J41, g(D(d)("js.components.AVPileSummary.assigned")) + " " + g(e.selectionPile.multiplier), 1)) : I("", !0)
|
29505
29502
|
], 8, W41),
|
29506
29503
|
o("div", Z41, [
|
29507
|
-
n.value ? (
|
29508
|
-
(
|
29504
|
+
n.value ? (m(), h("p", Y41, g(D(d)("js.components.AVPileSummary.blank")), 1)) : I("", !0),
|
29505
|
+
(m(!0), h(K, null, f1(s.value, (C, M) => (m(), h("p", {
|
29509
29506
|
key: M,
|
29510
29507
|
class: "AVPileSummary--assign-text"
|
29511
29508
|
}, g(C.rank ? `${C.rank}: ` : "") + " " + g(C.title[p.value]), 1))), 128)),
|
29512
|
-
(
|
29509
|
+
(m(!0), h(K, null, f1(u.value.writeIns, (C, M) => (m(), h("p", {
|
29513
29510
|
key: M,
|
29514
29511
|
class: "AVPileSummary--assign-text"
|
29515
29512
|
}, [
|
@@ -29517,7 +29514,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29517
29514
|
Q41,
|
29518
29515
|
o("span", null, g(C.candidateName), 1)
|
29519
29516
|
]))), 128)),
|
29520
|
-
l.value > 0 ? (
|
29517
|
+
l.value > 0 ? (m(), h("p", {
|
29521
29518
|
key: 1,
|
29522
29519
|
role: "button",
|
29523
29520
|
class: "AVPileSummary--show-more-button",
|
@@ -29525,14 +29522,14 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29525
29522
|
onClick: b[1] || (b[1] = m2((C) => i.value = !0, ["stop", "prevent"]))
|
29526
29523
|
}, [
|
29527
29524
|
o("u", null, [
|
29528
|
-
o("em", null, g(`${D(
|
29525
|
+
o("em", null, g(`${D(d)(
|
29529
29526
|
"js.components.AVPileSummary.and_n_more_pre"
|
29530
|
-
)} ${l.value} ${D(
|
29527
|
+
)} ${l.value} ${D(d)(
|
29531
29528
|
"js.components.AVPileSummary.and_n_more_pos"
|
29532
29529
|
)}`), 1)
|
29533
29530
|
])
|
29534
29531
|
])) : I("", !0),
|
29535
|
-
i.value ? (
|
29532
|
+
i.value ? (m(), h("p", {
|
29536
29533
|
key: 2,
|
29537
29534
|
role: "button",
|
29538
29535
|
class: "AVPileSummary--show-more-button",
|
@@ -29540,16 +29537,16 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
29540
29537
|
onClick: b[2] || (b[2] = m2((C) => i.value = !1, ["stop", "prevent"]))
|
29541
29538
|
}, [
|
29542
29539
|
o("u", null, [
|
29543
|
-
o("em", null, g(D(
|
29540
|
+
o("em", null, g(D(d)("js.components.AVPileSummary.show_less")), 1)
|
29544
29541
|
])
|
29545
29542
|
])) : I("", !0)
|
29546
29543
|
])
|
29547
29544
|
]),
|
29548
|
-
e.activeState === "overview" ? (
|
29545
|
+
e.activeState === "overview" ? (m(), h("div", {
|
29549
29546
|
key: 0,
|
29550
29547
|
class: "AVPileSummary--assign-delete-button",
|
29551
29548
|
role: "button",
|
29552
|
-
"aria-label": D(
|
29549
|
+
"aria-label": D(d)("js.components.AVPileSummary.aria_labels.delete_selection"),
|
29553
29550
|
"data-test": "pile-summary-delete",
|
29554
29551
|
onClick: b[3] || (b[3] = m2((C) => a("deleteSelection"), ["stop", "prevent"]))
|
29555
29552
|
}, [
|
@@ -29671,7 +29668,7 @@ const i61 = {
|
|
29671
29668
|
contest: a.contest,
|
29672
29669
|
voterWeight: a.weight
|
29673
29670
|
})
|
29674
|
-
),
|
29671
|
+
), d = E(() => f.value === 0 && l.value.length == 0 && r.value.every(
|
29675
29672
|
(U) => u.value.isComplete(U)
|
29676
29673
|
)), p = E(
|
29677
29674
|
() => {
|
@@ -29714,7 +29711,7 @@ const i61 = {
|
|
29714
29711
|
}, y = (U) => {
|
29715
29712
|
l.value = U;
|
29716
29713
|
}, R = (U) => t("view-candidate", U);
|
29717
|
-
s1(
|
29714
|
+
s1(d, (U) => t("update:complete", U)), s1(V, () => {
|
29718
29715
|
n.value && (n.value.multiplier = Math.max(
|
29719
29716
|
0,
|
29720
29717
|
Math.min(V.value, b.value)
|
@@ -29722,7 +29719,7 @@ const i61 = {
|
|
29722
29719
|
}), s1(n, (U) => {
|
29723
29720
|
t("update:activePile", U);
|
29724
29721
|
}), s1(s, (U) => t("update:activeState", U)), z1(() => {
|
29725
|
-
a.locale && r1(a.locale), t("update:activePile", n.value), t("update:activeState", s.value), t("update:complete",
|
29722
|
+
a.locale && r1(a.locale), t("update:activePile", n.value), t("update:activeState", s.value), t("update:complete", d.value), A.value || x();
|
29726
29723
|
});
|
29727
29724
|
const X = k1("i18n"), { t: O } = X.global, a1 = E(
|
29728
29725
|
() => X.global.locale.value || X.global.locale
|
@@ -29738,15 +29735,15 @@ const i61 = {
|
|
29738
29735
|
), (U, Q) => {
|
29739
29736
|
var E1;
|
29740
29737
|
const y1 = P("AVSplitWizardHeader"), P1 = P("AVBallot"), W1 = P("AVPileSummary"), O1 = P("AVSplitWeightHelper"), Q1 = P("AVIcon");
|
29741
|
-
return
|
29738
|
+
return m(), h(K, null, [
|
29742
29739
|
o("h3", i61, g(e.contest.title[a1.value]), 1),
|
29743
29740
|
o("div", {
|
29744
29741
|
class: "AVSplitHelper--description",
|
29745
29742
|
"data-test": "split-helper-contest-description",
|
29746
29743
|
innerHTML: (E1 = e.contest.description) == null ? void 0 : E1[a1.value]
|
29747
29744
|
}, null, 8, n61),
|
29748
|
-
A.value ? (
|
29749
|
-
["ballot", "assign", "overview"].includes(s.value) ? (
|
29745
|
+
A.value ? (m(), h(K, { key: 0 }, [
|
29746
|
+
["ballot", "assign", "overview"].includes(s.value) ? (m(), Z(y1, {
|
29750
29747
|
key: 0,
|
29751
29748
|
"active-selection-pile-index": i.value,
|
29752
29749
|
"active-state": s.value,
|
@@ -29761,7 +29758,7 @@ const i61 = {
|
|
29761
29758
|
default: i1(() => {
|
29762
29759
|
var a2, V2, _2;
|
29763
29760
|
return [
|
29764
|
-
n.value && s.value === "ballot" ? (
|
29761
|
+
n.value && s.value === "ballot" ? (m(), h("div", { key: i.value }, [
|
29765
29762
|
T(P1, {
|
29766
29763
|
class: "AVSplitHelper--ballot",
|
29767
29764
|
"selection-pile": n.value,
|
@@ -29776,7 +29773,7 @@ const i61 = {
|
|
29776
29773
|
}, null, 8, ["selection-pile", "partial-results", "contest", "weight", "includeLazyErrors", "show-submission-helper", "image-option"]),
|
29777
29774
|
o("div", s61, [
|
29778
29775
|
o("div", l61, [
|
29779
|
-
r.value.length > 0 ? (
|
29776
|
+
r.value.length > 0 ? (m(), h("button", {
|
29780
29777
|
key: "back",
|
29781
29778
|
class: "AVSplitHelper--btn-secondary",
|
29782
29779
|
onClick: Q[1] || (Q[1] = (F1) => s.value = "overview")
|
@@ -29792,7 +29789,7 @@ const i61 = {
|
|
29792
29789
|
}, g(D(O)("js.components.AVSplitHelper.ballot.confirm_button")), 9, o61)
|
29793
29790
|
])
|
29794
29791
|
])
|
29795
|
-
])) : s.value === "assign" ? (
|
29792
|
+
])) : s.value === "assign" ? (m(), h("div", f61, [
|
29796
29793
|
o("div", u61, [
|
29797
29794
|
o("h4", m61, g(D(O)("js.components.AVSplitHelper.assign.split_question")), 1),
|
29798
29795
|
T(W1, {
|
@@ -29848,14 +29845,14 @@ const i61 = {
|
|
29848
29845
|
}, g(D(O)("js.components.AVSplitHelper.assign.confirm_button")), 9, V61)
|
29849
29846
|
])
|
29850
29847
|
])
|
29851
|
-
])) : s.value === "overview" ? (
|
29852
|
-
f.value === 0 && v.value.isComplete(e.contestSelection) ? (
|
29848
|
+
])) : s.value === "overview" ? (m(), h("div", M61, [
|
29849
|
+
f.value === 0 && v.value.isComplete(e.contestSelection) ? (m(), h("div", g61, [
|
29853
29850
|
T(Q1, {
|
29854
29851
|
icon: "circle-check",
|
29855
29852
|
class: "AVSplitHelper--overview-success-icon"
|
29856
29853
|
}),
|
29857
29854
|
o1(" " + g(D(O)("js.components.AVSplitHelper.overview.all_ballots_assigned")), 1)
|
29858
|
-
])) : (
|
29855
|
+
])) : (m(), h("div", H61, [
|
29859
29856
|
o("p", C61, [
|
29860
29857
|
o("strong", null, g(f.value), 1),
|
29861
29858
|
o1(" " + g(D(O)("js.components.AVSplitHelper.overview.ballots_left")), 1)
|
@@ -29871,7 +29868,7 @@ const i61 = {
|
|
29871
29868
|
o1(" " + g(D(O)("js.components.AVSplitHelper.overview.new_ballot_selection")), 1)
|
29872
29869
|
], 8, b61)
|
29873
29870
|
])),
|
29874
|
-
(
|
29871
|
+
(m(!0), h(K, null, f1(r.value, (F1, o2) => (m(), h("article", {
|
29875
29872
|
key: `preview-${o2}`,
|
29876
29873
|
onClick: (t3) => N(o2)
|
29877
29874
|
}, [
|
@@ -29891,7 +29888,7 @@ const i61 = {
|
|
29891
29888
|
}),
|
29892
29889
|
_: 1
|
29893
29890
|
})
|
29894
|
-
], 64)) : (
|
29891
|
+
], 64)) : (m(), Z(P1, {
|
29895
29892
|
key: 1,
|
29896
29893
|
class: "AVSplitHelper--no-split",
|
29897
29894
|
"selection-pile": n.value,
|
@@ -29972,12 +29969,12 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
29972
29969
|
const c = E(
|
29973
29970
|
() => {
|
29974
29971
|
var p, V, b, A, _, C;
|
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)[
|
29972
|
+
return (V = (p = l.candidate.title) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[d.value] : (C = (_ = l.candidate.title) == null ? void 0 : _[0]) == null ? void 0 : C.form_content;
|
29976
29973
|
}
|
29977
29974
|
), a = E(
|
29978
29975
|
() => {
|
29979
29976
|
var p, V, b, A, _, C;
|
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)[
|
29977
|
+
return (V = (p = l.candidate.subtitle) == null ? void 0 : p[0]) != null && V.localised ? ((A = (b = l.candidate.title) == null ? void 0 : b[0]) == null ? void 0 : A.form_content)[d.value] : (C = (_ = l.candidate.subtitle) == null ? void 0 : _[0]) == null ? void 0 : C.form_content;
|
29981
29978
|
}
|
29982
29979
|
), t = E(() => {
|
29983
29980
|
var A;
|
@@ -29987,9 +29984,9 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
29987
29984
|
return l.currentCandidateGroup ? l.candidate.groups.forEach((_) => {
|
29988
29985
|
_.id === l.currentCandidateGroup ? p.push(_) : V.push(_);
|
29989
29986
|
}) : (V = [...l.candidate.groups], p = V.splice(0, 1)), V.forEach((_, C) => {
|
29990
|
-
C === 0 || l.candidate.groups.length === 1 ? b = _.title[
|
29987
|
+
C === 0 || l.candidate.groups.length === 1 ? b = _.title[d.value] : C === V.length - 1 ? b += ` & ${_.title[d.value]}` : b += `, ${_.title[d.value]}`;
|
29991
29988
|
}), {
|
29992
|
-
title: (A = p[0]) == null ? void 0 : A.title[
|
29989
|
+
title: (A = p[0]) == null ? void 0 : A.title[d.value],
|
29993
29990
|
surplus: V.length || null,
|
29994
29991
|
remaining: b
|
29995
29992
|
};
|
@@ -29999,12 +29996,12 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
29999
29996
|
)
|
30000
29997
|
), n = E(
|
30001
29998
|
() => l.summary ? !!l.candidate.summary.length : !!l.candidate.generic.length
|
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[
|
29999
|
+
), s = (p) => p.item_type === "check_box" ? !0 : p.form_content ? p.item_type === "link_list" ? !!p.form_content.length : p.localised ? !!p.form_content[d.value] : !!p.form_content : !1, l = e, r = E(
|
30003
30000
|
() => {
|
30004
30001
|
var p;
|
30005
30002
|
return ((p = l.candidate.generic.find((V) => V.item_type === "image")) == null ? void 0 : p.form_content) || y61;
|
30006
30003
|
}
|
30007
|
-
), f = k1("i18n"), { t: u, d: v } = f.global,
|
30004
|
+
), f = k1("i18n"), { t: u, d: v } = f.global, d = E(
|
30008
30005
|
() => f.global.locale.value || f.global.locale
|
30009
30006
|
);
|
30010
30007
|
return z1(() => {
|
@@ -30017,7 +30014,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30017
30014
|
{ deep: !0 }
|
30018
30015
|
), (p, V) => {
|
30019
30016
|
const b = P("AVTooltip"), A = P("AVIcon"), _ = P("AVLinkVisualizer");
|
30020
|
-
return
|
30017
|
+
return m(), h("section", {
|
30021
30018
|
class: j(["AVResourceSection", {
|
30022
30019
|
"AVResourceSection--themed": e.summary
|
30023
30020
|
}])
|
@@ -30026,7 +30023,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30026
30023
|
class: j(["AVResourceSection--container", { "AVResourceSection--card": e.card }]),
|
30027
30024
|
"data-test": "resource-section"
|
30028
30025
|
}, [
|
30029
|
-
e.summary && r.value ? (
|
30026
|
+
e.summary && r.value ? (m(), h("div", x61, [
|
30030
30027
|
o("img", {
|
30031
30028
|
src: r.value,
|
30032
30029
|
alt: D(u)("js.components.AVResourceSection.alt_candidate"),
|
@@ -30040,11 +30037,11 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30040
30037
|
)
|
30041
30038
|
}, [
|
30042
30039
|
o("div", N61, [
|
30043
|
-
e.summary && c.value ? (
|
30044
|
-
e.summary && a.value ? (
|
30045
|
-
e.summary && e.candidate.groups && !e.card ? (
|
30040
|
+
e.summary && c.value ? (m(), h("h4", S61, g(c.value), 1)) : I("", !0),
|
30041
|
+
e.summary && a.value ? (m(), h("h5", w61, g(a.value), 1)) : I("", !0),
|
30042
|
+
e.summary && e.candidate.groups && !e.card ? (m(), h("div", T61, [
|
30046
30043
|
o("h4", I61, g(t.value.title), 1),
|
30047
|
-
t.value.surplus ? (
|
30044
|
+
t.value.surplus ? (m(), Z(b, {
|
30048
30045
|
key: 0,
|
30049
30046
|
text: D(u)("js.components.AVResourceSection.and_more", {
|
30050
30047
|
amount: t.value.surplus
|
@@ -30054,25 +30051,25 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30054
30051
|
class: "AVResourceFields--tooltip"
|
30055
30052
|
}, null, 8, ["text", "content"])) : I("", !0)
|
30056
30053
|
])) : I("", !0),
|
30057
|
-
e.card ? I("", !0) : (
|
30054
|
+
e.card ? I("", !0) : (m(!0), h(K, { key: 3 }, f1(i.value, (C) => (m(), h(K, {
|
30058
30055
|
key: `attribute_${C.attribute_name}`
|
30059
30056
|
}, [
|
30060
|
-
n.value && s(C) ? (
|
30057
|
+
n.value && s(C) ? (m(), h("div", {
|
30061
30058
|
key: 0,
|
30062
30059
|
class: j(
|
30063
30060
|
e.summary ? "AVResourceFields--container-summary" : "AVResourceFields--container-generic"
|
30064
30061
|
),
|
30065
30062
|
"data-test": "resource-content"
|
30066
30063
|
}, [
|
30067
|
-
e.summary ? I("", !0) : (
|
30064
|
+
e.summary ? I("", !0) : (m(), h("h4", {
|
30068
30065
|
key: 0,
|
30069
30066
|
class: j({
|
30070
30067
|
"AVResourceFields--divisor": C.item_type === "check_box"
|
30071
30068
|
}),
|
30072
30069
|
"data-test": "resource-title"
|
30073
30070
|
}, [
|
30074
|
-
o1(g(C.label[
|
30075
|
-
C.item_type === "check_box" ? (
|
30071
|
+
o1(g(C.label[d.value]) + " ", 1),
|
30072
|
+
C.item_type === "check_box" ? (m(), Z(A, {
|
30076
30073
|
key: 0,
|
30077
30074
|
icon: C.form_content ? "square-check" : "square-xmark",
|
30078
30075
|
class: j(
|
@@ -30082,16 +30079,16 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30082
30079
|
"data-test": "resource-checkbox-icon"
|
30083
30080
|
}, null, 8, ["icon", "class", "aria-label"])) : I("", !0)
|
30084
30081
|
], 2)),
|
30085
|
-
!e.summary && C.item_type !== "check_box" ? (
|
30086
|
-
C.item_type === "link_list" && s(C) ? (
|
30087
|
-
e.summary ? (
|
30088
|
-
(
|
30082
|
+
!e.summary && C.item_type !== "check_box" ? (m(), h("hr", E61)) : I("", !0),
|
30083
|
+
C.item_type === "link_list" && s(C) ? (m(), h("div", D61, [
|
30084
|
+
e.summary ? (m(), h("span", P61, g(`${C.label[d.value]}:`), 1)) : I("", !0),
|
30085
|
+
(m(!0), h(K, null, f1(C.form_content, (M) => (m(), Z(_, {
|
30089
30086
|
key: M.attributes.name,
|
30090
30087
|
link: M,
|
30091
30088
|
large: !e.summary
|
30092
30089
|
}, null, 8, ["link", "large"]))), 128))
|
30093
|
-
])) : C.item_type === "check_box" && e.summary ? (
|
30094
|
-
o("span", null, g(`${C.label[
|
30090
|
+
])) : C.item_type === "check_box" && e.summary ? (m(), h("div", O61, [
|
30091
|
+
o("span", null, g(`${C.label[d.value]}`), 1),
|
30095
30092
|
T(A, {
|
30096
30093
|
icon: C.form_content ? "square-check" : "square-xmark",
|
30097
30094
|
class: j(
|
@@ -30099,28 +30096,28 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
30099
30096
|
),
|
30100
30097
|
"aria-label": C.form_content ? D(u)("js.components.AVResourceSection.true") : D(u)("js.components.AVResourceSection.false")
|
30101
30098
|
}, null, 8, ["icon", "class", "aria-label"])
|
30102
|
-
])) : C.item_type === "select" && s(C) ? (
|
30103
|
-
e.summary ? (
|
30104
|
-
o1(" " + g(C.form_content[
|
30105
|
-
])) : C.item_type === "video" && s(C) ? (
|
30099
|
+
])) : C.item_type === "select" && s(C) ? (m(), h("div", B61, [
|
30100
|
+
e.summary ? (m(), h("span", R61, g(`${C.label[d.value]}:`), 1)) : I("", !0),
|
30101
|
+
o1(" " + g(C.form_content[d.value]), 1)
|
30102
|
+
])) : C.item_type === "video" && s(C) ? (m(), h("div", F61, [
|
30106
30103
|
o("iframe", {
|
30107
30104
|
style: { width: "100%", height: "100%", "min-height": "400px" },
|
30108
30105
|
src: C.form_content.toString()
|
30109
30106
|
}, null, 8, j61)
|
30110
|
-
])) : C.item_type === "rich_text_area" && !e.summary && s(C) ? (
|
30107
|
+
])) : C.item_type === "rich_text_area" && !e.summary && s(C) ? (m(), h("div", {
|
30111
30108
|
key: 6,
|
30112
30109
|
class: "AVResourceFields--rich-text",
|
30113
|
-
innerHTML: C.localised ? C.form_content[
|
30110
|
+
innerHTML: C.localised ? C.form_content[d.value] : C.form_content,
|
30114
30111
|
"data-test": "resource-rich-text"
|
30115
|
-
}, null, 8, q61)) : C.item_type !== "rich_text_area" && C.item_type !== "check_box" ? (
|
30116
|
-
e.summary ? (
|
30117
|
-
C.item_type === "date" || C.item_type === "date_time" ? (
|
30112
|
+
}, null, 8, q61)) : C.item_type !== "rich_text_area" && C.item_type !== "check_box" ? (m(), h("p", $61, [
|
30113
|
+
e.summary ? (m(), h("span", U61, g(`${C.label[d.value]}: `), 1)) : I("", !0),
|
30114
|
+
C.item_type === "date" || C.item_type === "date_time" ? (m(), h(K, { key: 1 }, [
|
30118
30115
|
o1(g(D(v)(
|
30119
30116
|
C.form_content,
|
30120
30117
|
C.item_type === "date" ? null : "long"
|
30121
30118
|
)), 1)
|
30122
|
-
], 64)) : (
|
30123
|
-
o1(g(C.localised ? C.form_content[
|
30119
|
+
], 64)) : (m(), h(K, { key: 2 }, [
|
30120
|
+
o1(g(C.localised ? C.form_content[d.value] : C.form_content), 1)
|
30124
30121
|
], 64))
|
30125
30122
|
])) : I("", !0)
|
30126
30123
|
], 2)) : I("", !0)
|
@@ -30213,7 +30210,7 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
|
|
30213
30210
|
{ deep: !0 }
|
30214
30211
|
), (l, r) => {
|
30215
30212
|
const f = P("AVProgressBar"), u = P("AVIcon"), v = P("AVWaitingDots");
|
30216
|
-
return
|
30213
|
+
return m(), h("div", J61, [
|
30217
30214
|
T(f, {
|
30218
30215
|
value: e.progress,
|
30219
30216
|
"data-test": "progress"
|
@@ -30237,7 +30234,7 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
|
|
30237
30234
|
"data-test": "status-icon"
|
30238
30235
|
}, null, 8, ["icon", "class"]),
|
30239
30236
|
o1(" " + g(n.value) + " ", 1),
|
30240
|
-
e.status !== "finished" ? (
|
30237
|
+
e.status !== "finished" ? (m(), Z(v, { key: 0 })) : I("", !0)
|
30241
30238
|
])
|
30242
30239
|
]),
|
30243
30240
|
o("div", c81, [
|
@@ -30276,9 +30273,9 @@ const o81 = /* @__PURE__ */ G(r81, [["__scopeId", "data-v-ad18a2ae"]]), f81 = {
|
|
30276
30273
|
setup(e) {
|
30277
30274
|
return (c, a) => {
|
30278
30275
|
const t = P("AVResultOption");
|
30279
|
-
return
|
30276
|
+
return m(), h("div", f81, [
|
30280
30277
|
o("div", u81, [
|
30281
|
-
(
|
30278
|
+
(m(!0), h(K, null, f1(e.sortedResult, (i) => (m(), Z(t, {
|
30282
30279
|
key: `result_for_${i.reference}`,
|
30283
30280
|
optionTitle: i.title,
|
30284
30281
|
optionImage: i.image,
|
@@ -30324,14 +30321,14 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
|
|
30324
30321
|
c.locale && r1(c.locale);
|
30325
30322
|
},
|
30326
30323
|
{ deep: !0 }
|
30327
|
-
), (r, f) => (
|
30324
|
+
), (r, f) => (m(), h(K, null, [
|
30328
30325
|
o("div", v81, [
|
30329
30326
|
o("table", p81, [
|
30330
30327
|
o("thead", h81, [
|
30331
30328
|
o("tr", null, [
|
30332
30329
|
o("th", null, g(D(s)("js.components.AVRankedSummary.header.position")), 1),
|
30333
30330
|
o("th", null, g(D(s)("js.components.AVRankedSummary.header.candidate")), 1),
|
30334
|
-
(
|
30331
|
+
(m(!0), h(K, null, f1(a.value, (u) => (m(), h("th", {
|
30335
30332
|
key: `header_for_round_${u}`,
|
30336
30333
|
class: "AVRankedSummary--text"
|
30337
30334
|
}, g(D(s)("js.components.AVRankedSummary.header.round_n", {
|
@@ -30340,7 +30337,7 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
|
|
30340
30337
|
])
|
30341
30338
|
]),
|
30342
30339
|
o("tbody", null, [
|
30343
|
-
(
|
30340
|
+
(m(!0), h(K, null, f1(r.result, (u, v) => (m(), h("tr", {
|
30344
30341
|
key: `option_${u.reference}`,
|
30345
30342
|
class: j({
|
30346
30343
|
"AVRankedSummary--elected": u.elected,
|
@@ -30349,24 +30346,24 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
|
|
30349
30346
|
}, [
|
30350
30347
|
o("td", null, g(u.elected && v + 1 || ""), 1),
|
30351
30348
|
o("td", null, g(u.title[l.value]), 1),
|
30352
|
-
(
|
30349
|
+
(m(!0), h(K, null, f1(u.rounds, (d, p) => (m(), h("td", {
|
30353
30350
|
key: `round_nr_${p}`,
|
30354
30351
|
class: j(["AVRankedSummary--text", {
|
30355
30352
|
"AVRankedSummary--text-bold": p + 1 === a.value
|
30356
30353
|
}])
|
30357
|
-
}, g(
|
30354
|
+
}, g(d.count), 3))), 128))
|
30358
30355
|
], 2))), 128))
|
30359
30356
|
])
|
30360
30357
|
])
|
30361
30358
|
]),
|
30362
30359
|
o("div", z81, [
|
30363
30360
|
o("p", null, g(D(s)("js.components.AVRankedSummary.summary.seats")) + ": " + g(r.seats), 1),
|
30364
|
-
r.distributionNumber > 0 ? (
|
30365
|
-
t.value.length > 0 ? (
|
30361
|
+
r.distributionNumber > 0 ? (m(), h("p", V81, g(D(s)("js.components.AVRankedSummary.summary.distribution")) + ": " + g(r.distributionNumber), 1)) : I("", !0),
|
30362
|
+
t.value.length > 0 ? (m(), h("p", M81, [
|
30366
30363
|
o1(g(D(s)("js.components.AVRankedSummary.summary.elected")) + ": ", 1),
|
30367
30364
|
o("span", null, g(t.value.join(", ")), 1)
|
30368
30365
|
])) : I("", !0),
|
30369
|
-
i.value.length > 0 ? (
|
30366
|
+
i.value.length > 0 ? (m(), h("p", g81, [
|
30370
30367
|
o1(g(D(s)("js.components.AVRankedSummary.summary.tied")) + ": ", 1),
|
30371
30368
|
o("span", null, g(i.value.join(", ")), 1)
|
30372
30369
|
])) : I("", !0)
|
@@ -30444,7 +30441,7 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
|
|
30444
30441
|
{ deep: !0 }
|
30445
30442
|
), (r, f) => {
|
30446
30443
|
const u = P("AVIcon"), v = h2("tooltip");
|
30447
|
-
return
|
30444
|
+
return m(), h("div", b81, [
|
30448
30445
|
o("h5", A81, g(D(s)("js.components.AVInstantRunoffSummary.seat_n", { n: e.seatNumber })), 1),
|
30449
30446
|
o("div", L81, [
|
30450
30447
|
o("div", _81, [
|
@@ -30452,7 +30449,7 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
|
|
30452
30449
|
o("thead", x81, [
|
30453
30450
|
o("tr", null, [
|
30454
30451
|
o("th", null, g(D(s)("js.components.AVInstantRunoffSummary.header.candidate")), 1),
|
30455
|
-
(
|
30452
|
+
(m(!0), h(K, null, f1(e.rounds, (d, p) => j1((m(), h("th", {
|
30456
30453
|
key: `instant_runoff_seat_${e.seatNumber}_round_${p}`,
|
30457
30454
|
class: "AVInstantRunoffSummary--text AVInstantRunoffSummary--help"
|
30458
30455
|
}, [
|
@@ -30469,44 +30466,44 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
|
|
30469
30466
|
])
|
30470
30467
|
]),
|
30471
30468
|
o("tbody", null, [
|
30472
|
-
(
|
30473
|
-
|
30474
|
-
o("td", null, g(
|
30475
|
-
(
|
30469
|
+
(m(!0), h(K, null, f1(e.sortedResult, (d, p) => (m(), h("tr", { key: p }, [
|
30470
|
+
d.title ? (m(), h(K, { key: 0 }, [
|
30471
|
+
o("td", null, g(d.title[l.value]), 1),
|
30472
|
+
(m(!0), h(K, null, f1(e.rounds.length, (V) => (m(), h("td", {
|
30476
30473
|
key: `instant_runoff_seat_${e.seatNumber}_number_${V}`,
|
30477
30474
|
class: j(["AVInstantRunoffSummary--text", {
|
30478
30475
|
"AVInstantRunoffSummary--elected": i(
|
30479
|
-
|
30476
|
+
d.reference,
|
30480
30477
|
V - 1
|
30481
30478
|
),
|
30482
30479
|
"AVInstantRunoffSummary--eliminated": t(
|
30483
|
-
|
30480
|
+
d.reference,
|
30484
30481
|
V - 1
|
30485
30482
|
)
|
30486
30483
|
}])
|
30487
|
-
}, g(a(
|
30484
|
+
}, g(a(d.reference, V - 1)), 3))), 128))
|
30488
30485
|
], 64)) : I("", !0)
|
30489
30486
|
]))), 128)),
|
30490
30487
|
o("tr", null, [
|
30491
30488
|
o("td", null, g(D(s)(
|
30492
30489
|
"js.components.AVInstantRunoffSummary.summary.transfered_votes"
|
30493
30490
|
)), 1),
|
30494
|
-
(
|
30495
|
-
key: `instant_runoff_seat_${e.seatNumber}_transferred_${
|
30491
|
+
(m(!0), h(K, null, f1(e.rounds.length, (d) => (m(), h("td", {
|
30492
|
+
key: `instant_runoff_seat_${e.seatNumber}_transferred_${d}`,
|
30496
30493
|
class: "AVInstantRunoffSummary--text"
|
30497
|
-
}, g(e.rounds[
|
30494
|
+
}, g(e.rounds[d - 1].transferred), 1))), 128))
|
30498
30495
|
]),
|
30499
30496
|
o("tr", null, [
|
30500
30497
|
o("td", null, g(D(s)("js.components.AVInstantRunoffSummary.summary.exhausted")), 1),
|
30501
|
-
(
|
30502
|
-
key: `instant_runoff_seat_${e.seatNumber}_exhausted_${
|
30498
|
+
(m(!0), h(K, null, f1(e.rounds.length, (d) => (m(), h("td", {
|
30499
|
+
key: `instant_runoff_seat_${e.seatNumber}_exhausted_${d}`,
|
30503
30500
|
class: "AVInstantRunoffSummary--text AVInstantRunoffSummary--cell-text"
|
30504
|
-
}, g(e.rounds[
|
30501
|
+
}, g(e.rounds[d - 1].exhausted), 1))), 128))
|
30505
30502
|
])
|
30506
30503
|
])
|
30507
30504
|
])
|
30508
30505
|
]),
|
30509
|
-
e.votesNotIncluded ? (
|
30506
|
+
e.votesNotIncluded ? (m(), h("p", k81, [
|
30510
30507
|
o("strong", null, g(D(s)("js.components.AVInstantRunoffSummary.summary.not_included_count")), 1),
|
30511
30508
|
o1(" " + g(e.votesNotIncluded), 1)
|
30512
30509
|
])) : I("", !0),
|
@@ -30562,8 +30559,8 @@ var E81 = {}, D81 = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), P81 = { c
|
|
30562
30559
|
/* @__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. ")
|
30563
30560
|
], -1);
|
30564
30561
|
function F81(e, c) {
|
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"),
|
30566
|
-
return
|
30562
|
+
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), d = P("AVFooter");
|
30563
|
+
return m(), h(K, null, [
|
30567
30564
|
T(n, null, {
|
30568
30565
|
default: i1(function() {
|
30569
30566
|
return [
|
@@ -30688,7 +30685,7 @@ function F81(e, c) {
|
|
30688
30685
|
}),
|
30689
30686
|
_: 1
|
30690
30687
|
}),
|
30691
|
-
T(
|
30688
|
+
T(d)
|
30692
30689
|
], 64);
|
30693
30690
|
}
|
30694
30691
|
const j81 = /* @__PURE__ */ G(E81, [["render", F81]]);
|
@@ -30758,8 +30755,8 @@ var q81 = {}, $81 = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), U81 = { c
|
|
30758
30755
|
/* @__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. ")
|
30759
30756
|
], -1);
|
30760
30757
|
function Y81(e, c) {
|
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"),
|
30762
|
-
return
|
30758
|
+
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), d = P("AVFooter");
|
30759
|
+
return m(), h(K, null, [
|
30763
30760
|
T(n, null, {
|
30764
30761
|
default: i1(function() {
|
30765
30762
|
return [
|
@@ -30885,7 +30882,7 @@ function Y81(e, c) {
|
|
30885
30882
|
}),
|
30886
30883
|
_: 1
|
30887
30884
|
}),
|
30888
|
-
T(
|
30885
|
+
T(d)
|
30889
30886
|
], 64);
|
30890
30887
|
}
|
30891
30888
|
const Q81 = /* @__PURE__ */ G(q81, [["render", Y81]]);
|
@@ -30896,7 +30893,7 @@ var K81 = {}, X81 = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), e01 = { c
|
|
30896
30893
|
], -1);
|
30897
30894
|
function a01(e, c) {
|
30898
30895
|
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVContent"), l = P("AVFooter");
|
30899
|
-
return
|
30896
|
+
return m(), h(K, null, [
|
30900
30897
|
T(n, null, {
|
30901
30898
|
default: i1(function() {
|
30902
30899
|
return [
|
@@ -31028,8 +31025,8 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31028
31025
|
}
|
31029
31026
|
];
|
31030
31027
|
return (a, t) => {
|
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"),
|
31032
|
-
return
|
31028
|
+
const i = P("AVNavbarItem"), n = P("AVNavigationItemList"), s = P("AVMenuDropdown"), l = P("AVNavbar"), r = P("AVIcon"), f = P("AVCard"), u = P("AVElectionCard"), v = P("AVContent"), d = P("AVFooter");
|
31029
|
+
return m(), h(K, null, [
|
31033
31030
|
T(l, null, {
|
31034
31031
|
default: i1(() => [
|
31035
31032
|
i01,
|
@@ -31091,7 +31088,7 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31091
31088
|
_: 1
|
31092
31089
|
})
|
31093
31090
|
]),
|
31094
|
-
c.length === 0 ? (
|
31091
|
+
c.length === 0 ? (m(), h("div", o01, [
|
31095
31092
|
T(r, {
|
31096
31093
|
icon: "fa-solid fa-folder-open",
|
31097
31094
|
class: "no-elections-icon"
|
@@ -31099,7 +31096,7 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31099
31096
|
f01,
|
31100
31097
|
u01
|
31101
31098
|
])) : I("", !0),
|
31102
|
-
(
|
31099
|
+
(m(), h(K, null, f1(c, (p) => T(u, {
|
31103
31100
|
key: p.id,
|
31104
31101
|
id: p.id,
|
31105
31102
|
name: p.name,
|
@@ -31118,7 +31115,7 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
31118
31115
|
]),
|
31119
31116
|
_: 1
|
31120
31117
|
}),
|
31121
|
-
T(
|
31118
|
+
T(d)
|
31122
31119
|
], 64);
|
31123
31120
|
};
|
31124
31121
|
}
|