@assemblyvoting/ui-library 2.1.18-alpha.19 → 2.1.18-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as Y, h as z1, getCurrentInstance as k3, effectScope as tI, inject as E2, onMounted as Q2, onUnmounted as ns, shallowRef as nI, ref as J, computed as
|
1
|
+
import { defineComponent as Y, h as z1, getCurrentInstance as k3, effectScope as tI, inject as E2, onMounted as Q2, onUnmounted as ns, shallowRef as nI, ref as J, computed as E, onBeforeMount as sI, watch as b2, Fragment as s2, isRef as iI, createVNode as I, Text as rI, unref as F, getCurrentScope as lI, onScopeDispose as oI, Transition as x1, withDirectives as S1, vShow as r3, openBlock as p, createElementBlock as H, createBlock as X, resolveDynamicComponent as L9, withCtx as t2, renderSlot as C2, resolveComponent as D, normalizeClass as G, createCommentVNode as O, createTextVNode as x2, toDisplayString as x, createElementVNode as u, normalizeStyle as r1, reactive as ss, provide as is, renderList as L2, pushScopeId as D1, popScopeId as O1, useCssVars as fI, mergeProps as uI, withModifiers as A1, withKeys as rs, createSlots as mI, nextTick as dI, vModelText as ls, watchEffect as _9 } from "vue";
|
2
2
|
/*!
|
3
3
|
* shared v9.7.0
|
4
4
|
* (c) 2023 kazuya kawaguchi
|
@@ -181,7 +181,7 @@ const xI = /<\/?[\w\s="/.':;#-\/]+>/, SI = (e) => xI.test(e), V1 = " ", kI = "\r
|
|
181
181
|
function II(e) {
|
182
182
|
const c = e;
|
183
183
|
let a = 0, t = 1, n = 1, s = 0;
|
184
|
-
const i = (C) => c[C] === kI && c[C + 1] === B2, r = (C) => c[C] === B2, l = (C) => c[C] === TI, o = (C) => c[C] === wI, f = (C) => i(C) || r(C) || l(C) || o(C), d = () => a, m = () => t, h = () => n, b = () => s,
|
184
|
+
const i = (C) => c[C] === kI && c[C + 1] === B2, r = (C) => c[C] === B2, l = (C) => c[C] === TI, o = (C) => c[C] === wI, f = (C) => i(C) || r(C) || l(C) || o(C), d = () => a, m = () => t, h = () => n, b = () => s, S = (C) => i(C) || l(C) || o(C) ? B2 : c[C], A = () => S(a), V = () => S(a + s);
|
185
185
|
function g() {
|
186
186
|
return s = 0, f(a) && (t++, n = 0), i(a) && a++, a++, n++, c[a];
|
187
187
|
}
|
@@ -205,8 +205,8 @@ function II(e) {
|
|
205
205
|
line: m,
|
206
206
|
column: h,
|
207
207
|
peekOffset: b,
|
208
|
-
charAt:
|
209
|
-
currentChar:
|
208
|
+
charAt: S,
|
209
|
+
currentChar: A,
|
210
210
|
currentPeek: V,
|
211
211
|
next: g,
|
212
212
|
peek: y,
|
@@ -253,14 +253,14 @@ function OI(e, c = {}) {
|
|
253
253
|
function b(z, v) {
|
254
254
|
return z.currentChar() === v ? (z.next(), v) : (d(Z.EXPECTED_TOKEN, s(), 0, v), "");
|
255
255
|
}
|
256
|
-
function
|
256
|
+
function S(z) {
|
257
257
|
let v = "";
|
258
258
|
for (; z.currentPeek() === V1 || z.currentPeek() === B2; )
|
259
259
|
v += z.currentPeek(), z.peek();
|
260
260
|
return v;
|
261
261
|
}
|
262
|
-
function
|
263
|
-
const v =
|
262
|
+
function A(z) {
|
263
|
+
const v = S(z);
|
264
264
|
return z.skipToPeek(), v;
|
265
265
|
}
|
266
266
|
function V(z) {
|
@@ -281,7 +281,7 @@ function OI(e, c = {}) {
|
|
281
281
|
const { currentType: N } = v;
|
282
282
|
if (N !== 2)
|
283
283
|
return !1;
|
284
|
-
|
284
|
+
S(z);
|
285
285
|
const $ = V(z.currentPeek());
|
286
286
|
return z.resetPeek(), $;
|
287
287
|
}
|
@@ -289,7 +289,7 @@ function OI(e, c = {}) {
|
|
289
289
|
const { currentType: N } = v;
|
290
290
|
if (N !== 2)
|
291
291
|
return !1;
|
292
|
-
|
292
|
+
S(z);
|
293
293
|
const $ = z.currentPeek() === "-" ? z.peek() : z.currentPeek(), K = g($);
|
294
294
|
return z.resetPeek(), K;
|
295
295
|
}
|
@@ -297,7 +297,7 @@ function OI(e, c = {}) {
|
|
297
297
|
const { currentType: N } = v;
|
298
298
|
if (N !== 2)
|
299
299
|
return !1;
|
300
|
-
|
300
|
+
S(z);
|
301
301
|
const $ = z.currentPeek() === k9;
|
302
302
|
return z.resetPeek(), $;
|
303
303
|
}
|
@@ -305,7 +305,7 @@ function OI(e, c = {}) {
|
|
305
305
|
const { currentType: N } = v;
|
306
306
|
if (N !== 8)
|
307
307
|
return !1;
|
308
|
-
|
308
|
+
S(z);
|
309
309
|
const $ = z.currentPeek() === ".";
|
310
310
|
return z.resetPeek(), $;
|
311
311
|
}
|
@@ -313,7 +313,7 @@ function OI(e, c = {}) {
|
|
313
313
|
const { currentType: N } = v;
|
314
314
|
if (N !== 9)
|
315
315
|
return !1;
|
316
|
-
|
316
|
+
S(z);
|
317
317
|
const $ = V(z.currentPeek());
|
318
318
|
return z.resetPeek(), $;
|
319
319
|
}
|
@@ -321,7 +321,7 @@ function OI(e, c = {}) {
|
|
321
321
|
const { currentType: N } = v;
|
322
322
|
if (!(N === 8 || N === 12))
|
323
323
|
return !1;
|
324
|
-
|
324
|
+
S(z);
|
325
325
|
const $ = z.currentPeek() === ":";
|
326
326
|
return z.resetPeek(), $;
|
327
327
|
}
|
@@ -336,12 +336,12 @@ function OI(e, c = {}) {
|
|
336
336
|
return z.resetPeek(), K;
|
337
337
|
}
|
338
338
|
function P(z) {
|
339
|
-
|
339
|
+
S(z);
|
340
340
|
const v = z.currentPeek() === "|";
|
341
341
|
return z.resetPeek(), v;
|
342
342
|
}
|
343
343
|
function R(z) {
|
344
|
-
const v =
|
344
|
+
const v = S(z), N = z.currentPeek() === "%" && z.peek() === "{";
|
345
345
|
return z.resetPeek(), {
|
346
346
|
isModulo: N,
|
347
347
|
hasSpace: v.length > 0
|
@@ -389,7 +389,7 @@ function OI(e, c = {}) {
|
|
389
389
|
return N;
|
390
390
|
}
|
391
391
|
function D2(z) {
|
392
|
-
|
392
|
+
A(z);
|
393
393
|
const v = z.currentChar();
|
394
394
|
return v !== "%" && d(Z.EXPECTED_TOKEN, s(), 0, v), z.next(), "%";
|
395
395
|
}
|
@@ -418,19 +418,19 @@ function OI(e, c = {}) {
|
|
418
418
|
return v;
|
419
419
|
}
|
420
420
|
function H2(z) {
|
421
|
-
|
421
|
+
A(z);
|
422
422
|
let v = "", N = "";
|
423
423
|
for (; v = f2(z); )
|
424
424
|
N += v;
|
425
425
|
return z.currentChar() === _1 && d(Z.UNTERMINATED_CLOSING_BRACE, s(), 0), N;
|
426
426
|
}
|
427
427
|
function u2(z) {
|
428
|
-
|
428
|
+
A(z);
|
429
429
|
let v = "";
|
430
430
|
return z.currentChar() === "-" ? (z.next(), v += `-${d2(z)}`) : v += d2(z), z.currentChar() === _1 && d(Z.UNTERMINATED_CLOSING_BRACE, s(), 0), v;
|
431
431
|
}
|
432
432
|
function N2(z) {
|
433
|
-
|
433
|
+
A(z), b(z, "'");
|
434
434
|
let v = "", N = "";
|
435
435
|
const $ = (l2) => l2 !== k9 && l2 !== B2;
|
436
436
|
for (; v = U(z, $); )
|
@@ -466,7 +466,7 @@ function OI(e, c = {}) {
|
|
466
466
|
return `\\${v}${$}`;
|
467
467
|
}
|
468
468
|
function R2(z) {
|
469
|
-
|
469
|
+
A(z);
|
470
470
|
let v = "", N = "";
|
471
471
|
const $ = (K) => K !== "{" && K !== "}" && K !== V1 && K !== B2;
|
472
472
|
for (; v = U(z, $); )
|
@@ -487,13 +487,13 @@ function OI(e, c = {}) {
|
|
487
487
|
return v(!1, "");
|
488
488
|
}
|
489
489
|
function P2(z) {
|
490
|
-
|
490
|
+
A(z);
|
491
491
|
const v = b(
|
492
492
|
z,
|
493
493
|
"|"
|
494
494
|
/* TokenChars.Pipe */
|
495
495
|
);
|
496
|
-
return
|
496
|
+
return A(z), v;
|
497
497
|
}
|
498
498
|
function t1(z, v) {
|
499
499
|
let N = null;
|
@@ -504,14 +504,14 @@ function OI(e, c = {}) {
|
|
504
504
|
2,
|
505
505
|
"{"
|
506
506
|
/* TokenChars.BraceLeft */
|
507
|
-
),
|
507
|
+
), A(z), v.braceNest++, N;
|
508
508
|
case "}":
|
509
509
|
return v.braceNest > 0 && v.currentType === 2 && d(Z.EMPTY_PLACEHOLDER, s(), 0), z.next(), N = m(
|
510
510
|
v,
|
511
511
|
3,
|
512
512
|
"}"
|
513
513
|
/* TokenChars.BraceRight */
|
514
|
-
), v.braceNest--, v.braceNest > 0 &&
|
514
|
+
), v.braceNest--, v.braceNest > 0 && A(z), v.inLinked && v.braceNest === 0 && (v.inLinked = !1), N;
|
515
515
|
case "@":
|
516
516
|
return v.braceNest > 0 && d(Z.UNTERMINATED_CLOSING_BRACE, s(), 0), N = f1(z, v) || h(v), v.braceNest = 0, N;
|
517
517
|
default:
|
@@ -521,13 +521,13 @@ function OI(e, c = {}) {
|
|
521
521
|
if (v.braceNest > 0 && (v.currentType === 5 || v.currentType === 6 || v.currentType === 7))
|
522
522
|
return d(Z.UNTERMINATED_CLOSING_BRACE, s(), 0), v.braceNest = 0, n1(z, v);
|
523
523
|
if (K = y(z, v))
|
524
|
-
return N = m(v, 5, H2(z)),
|
524
|
+
return N = m(v, 5, H2(z)), A(z), N;
|
525
525
|
if (l2 = M(z, v))
|
526
|
-
return N = m(v, 6, u2(z)),
|
526
|
+
return N = m(v, 6, u2(z)), A(z), N;
|
527
527
|
if (K2 = _(z, v))
|
528
|
-
return N = m(v, 7, N2(z)),
|
528
|
+
return N = m(v, 7, N2(z)), A(z), N;
|
529
529
|
if (!K && !l2 && !K2)
|
530
|
-
return N = m(v, 13, R2(z)), d(Z.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, N.value),
|
530
|
+
return N = m(v, 13, R2(z)), d(Z.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, N.value), A(z), N;
|
531
531
|
break;
|
532
532
|
}
|
533
533
|
return N;
|
@@ -545,21 +545,21 @@ function OI(e, c = {}) {
|
|
545
545
|
/* TokenChars.LinkedAlias */
|
546
546
|
), v.inLinked = !0, $;
|
547
547
|
case ".":
|
548
|
-
return
|
548
|
+
return A(z), z.next(), m(
|
549
549
|
v,
|
550
550
|
9,
|
551
551
|
"."
|
552
552
|
/* TokenChars.LinkedDot */
|
553
553
|
);
|
554
554
|
case ":":
|
555
|
-
return
|
555
|
+
return A(z), z.next(), m(
|
556
556
|
v,
|
557
557
|
10,
|
558
558
|
":"
|
559
559
|
/* TokenChars.LinkedDelimiter */
|
560
560
|
);
|
561
561
|
default:
|
562
|
-
return P(z) ? ($ = m(v, 1, P2(z)), v.braceNest = 0, v.inLinked = !1, $) : L(z, v) || k(z, v) ? (
|
562
|
+
return P(z) ? ($ = m(v, 1, P2(z)), v.braceNest = 0, v.inLinked = !1, $) : L(z, v) || k(z, v) ? (A(z), f1(z, v)) : C(z, v) ? (A(z), m(v, 12, l1(z))) : w(z, v) ? (A(z), K === "{" ? t1(z, v) || $ : m(v, 11, o1(z))) : (N === 8 && d(Z.INVALID_LINKED_FORMAT, s(), 0), v.braceNest = 0, v.inLinked = !1, n1(z, v));
|
563
563
|
}
|
564
564
|
}
|
565
565
|
function n1(z, v) {
|
@@ -742,15 +742,15 @@ function RI(e = {}) {
|
|
742
742
|
} while (_.currentType !== 14);
|
743
743
|
return L && t(V, Z.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), s(C, V.currentOffset(), V.currentPosition()), C;
|
744
744
|
}
|
745
|
-
function
|
745
|
+
function S(V) {
|
746
746
|
const g = V.context(), { offset: y, startLoc: M } = g, _ = h(V);
|
747
747
|
return g.currentType === 14 ? _ : b(V, y, M, _);
|
748
748
|
}
|
749
|
-
function
|
749
|
+
function A(V) {
|
750
750
|
const g = OI(V, us({}, e)), y = g.context(), M = n(0, y.offset, y.startLoc);
|
751
|
-
return c && M.loc && (M.loc.source = V), M.body =
|
751
|
+
return c && M.loc && (M.loc.source = V), M.body = S(g), e.onCacheKey && (M.cacheKey = e.onCacheKey(V)), y.currentType !== 14 && t(g, Z.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, V[y.offset] || ""), s(M, g.currentOffset(), g.currentPosition()), M;
|
752
752
|
}
|
753
|
-
return { parse:
|
753
|
+
return { parse: A };
|
754
754
|
}
|
755
755
|
function u1(e) {
|
756
756
|
if (e.type === 14)
|
@@ -904,20 +904,20 @@ function GI(e, c) {
|
|
904
904
|
};
|
905
905
|
i && e.loc && (r.source = e.loc.source);
|
906
906
|
const l = () => r;
|
907
|
-
function o(
|
908
|
-
r.code +=
|
907
|
+
function o(A, V) {
|
908
|
+
r.code += A;
|
909
909
|
}
|
910
|
-
function f(
|
910
|
+
function f(A, V = !0) {
|
911
911
|
const g = V ? n : "";
|
912
|
-
o(s ? g + " ".repeat(
|
912
|
+
o(s ? g + " ".repeat(A) : g);
|
913
913
|
}
|
914
|
-
function d(
|
914
|
+
function d(A = !0) {
|
915
915
|
const V = ++r.indentLevel;
|
916
|
-
|
916
|
+
A && f(V);
|
917
917
|
}
|
918
|
-
function m(
|
918
|
+
function m(A = !0) {
|
919
919
|
const V = --r.indentLevel;
|
920
|
-
|
920
|
+
A && f(V);
|
921
921
|
}
|
922
922
|
function h() {
|
923
923
|
f(r.indentLevel);
|
@@ -928,7 +928,7 @@ function GI(e, c) {
|
|
928
928
|
indent: d,
|
929
929
|
deindent: m,
|
930
930
|
newline: h,
|
931
|
-
helper: (
|
931
|
+
helper: (A) => `_${A}`,
|
932
932
|
needIndent: () => r.needIndent
|
933
933
|
};
|
934
934
|
}
|
@@ -1341,7 +1341,7 @@ function hE(e = {}) {
|
|
1341
1341
|
const g = p2(e.messages) ? e.messages(V) : o2(e.messages) ? e.messages[V] : !1;
|
1342
1342
|
return g || (e.parent ? e.parent.message(V) : fE);
|
1343
1343
|
}
|
1344
|
-
const d = (V) => e.modifiers ? e.modifiers[V] : oE, m = e2(e.processor) && p2(e.processor.normalize) ? e.processor.normalize : mE, h = e2(e.processor) && p2(e.processor.interpolate) ? e.processor.interpolate : dE, b = e2(e.processor) && j(e.processor.type) ? e.processor.type : uE,
|
1344
|
+
const d = (V) => e.modifiers ? e.modifiers[V] : oE, m = e2(e.processor) && p2(e.processor.normalize) ? e.processor.normalize : mE, h = e2(e.processor) && p2(e.processor.interpolate) ? e.processor.interpolate : dE, b = e2(e.processor) && j(e.processor.type) ? e.processor.type : uE, A = {
|
1345
1345
|
list: r,
|
1346
1346
|
named: o,
|
1347
1347
|
plural: s,
|
@@ -1349,7 +1349,7 @@ function hE(e = {}) {
|
|
1349
1349
|
const [y, M] = g;
|
1350
1350
|
let _ = "text", L = "";
|
1351
1351
|
g.length === 1 ? o2(y) ? (L = y.modifier || L, _ = y.type || _) : j(y) && (L = y || L) : g.length === 2 && (j(y) && (L = y || L), j(M) && (_ = M || _));
|
1352
|
-
const C = f(V)(
|
1352
|
+
const C = f(V)(A), k = (
|
1353
1353
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
1354
1354
|
_ === "vnode" && v2(C) && L ? C[0] : C
|
1355
1355
|
);
|
@@ -1361,7 +1361,7 @@ function hE(e = {}) {
|
|
1361
1361
|
normalize: m,
|
1362
1362
|
values: I2({}, i, l)
|
1363
1363
|
};
|
1364
|
-
return
|
1364
|
+
return A;
|
1365
1365
|
}
|
1366
1366
|
let T3 = null;
|
1367
1367
|
function VE(e) {
|
@@ -1486,7 +1486,7 @@ const F9 = (e) => {
|
|
1486
1486
|
}, kE = () => zs;
|
1487
1487
|
let R9 = 0;
|
1488
1488
|
function wE(e = {}) {
|
1489
|
-
const c = p2(e.onWarn) ? e.onWarn : w2, a = j(e.version) ? e.version : _E, t = j(e.locale) || p2(e.locale) ? e.locale : o3, n = p2(t) ? o3 : t, s = v2(e.fallbackLocale) || e2(e.fallbackLocale) || j(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, i = e2(e.messages) ? e.messages : { [n]: {} }, r = e2(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, l = e2(e.numberFormats) ? e.numberFormats : { [n]: {} }, o = I2({}, e.modifiers || {}, yE()), f = e.pluralRules || {}, d = p2(e.missing) ? e.missing : null, m = a2(e.missingWarn) || k1(e.missingWarn) ? e.missingWarn : !0, h = a2(e.fallbackWarn) || k1(e.fallbackWarn) ? e.fallbackWarn : !0, b = !!e.fallbackFormat,
|
1489
|
+
const c = p2(e.onWarn) ? e.onWarn : w2, a = j(e.version) ? e.version : _E, t = j(e.locale) || p2(e.locale) ? e.locale : o3, n = p2(t) ? o3 : t, s = v2(e.fallbackLocale) || e2(e.fallbackLocale) || j(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, i = e2(e.messages) ? e.messages : { [n]: {} }, r = e2(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, l = e2(e.numberFormats) ? e.numberFormats : { [n]: {} }, o = I2({}, e.modifiers || {}, yE()), f = e.pluralRules || {}, d = p2(e.missing) ? e.missing : null, m = a2(e.missingWarn) || k1(e.missingWarn) ? e.missingWarn : !0, h = a2(e.fallbackWarn) || k1(e.fallbackWarn) ? e.fallbackWarn : !0, b = !!e.fallbackFormat, S = !!e.unresolving, A = p2(e.postTranslation) ? e.postTranslation : null, V = e2(e.processor) ? e.processor : null, g = a2(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, M = p2(e.messageCompiler) ? e.messageCompiler : vs;
|
1490
1490
|
process.env.NODE_ENV !== "production" && p2(e.messageCompiler) && CI(Y1(F2.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
1491
1491
|
const _ = p2(e.messageResolver) ? e.messageResolver : ps || rE, L = p2(e.localeFallbacker) ? e.localeFallbacker : hs || CE, C = o2(e.fallbackContext) ? e.fallbackContext : void 0, k = e, w = o2(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), P = o2(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), R = o2(k.__meta) ? k.__meta : {};
|
1492
1492
|
R9++;
|
@@ -1502,8 +1502,8 @@ function wE(e = {}) {
|
|
1502
1502
|
missingWarn: m,
|
1503
1503
|
fallbackWarn: h,
|
1504
1504
|
fallbackFormat: b,
|
1505
|
-
unresolving:
|
1506
|
-
postTranslation:
|
1505
|
+
unresolving: S,
|
1506
|
+
postTranslation: A,
|
1507
1507
|
processor: V,
|
1508
1508
|
warnHtmlMessage: g,
|
1509
1509
|
escapeParameter: y,
|
@@ -1663,14 +1663,14 @@ function OE(e, c) {
|
|
1663
1663
|
}
|
1664
1664
|
const $9 = () => "", Z2 = (e) => p2(e);
|
1665
1665
|
function U9(e, ...c) {
|
1666
|
-
const { fallbackFormat: a, postTranslation: t, unresolving: n, messageCompiler: s, fallbackLocale: i, messages: r } = e, [l, o] = X6(...c), f = a2(o.missingWarn) ? o.missingWarn : e.missingWarn, d = a2(o.fallbackWarn) ? o.fallbackWarn : e.fallbackWarn, m = a2(o.escapeParameter) ? o.escapeParameter : e.escapeParameter, h = !!o.resolvedMessage, b = j(o.default) || a2(o.default) ? a2(o.default) ? s ? l : () => l : o.default : a ? s ? l : () => l : "",
|
1666
|
+
const { fallbackFormat: a, postTranslation: t, unresolving: n, messageCompiler: s, fallbackLocale: i, messages: r } = e, [l, o] = X6(...c), f = a2(o.missingWarn) ? o.missingWarn : e.missingWarn, d = a2(o.fallbackWarn) ? o.fallbackWarn : e.fallbackWarn, m = a2(o.escapeParameter) ? o.escapeParameter : e.escapeParameter, h = !!o.resolvedMessage, b = j(o.default) || a2(o.default) ? a2(o.default) ? s ? l : () => l : o.default : a ? s ? l : () => l : "", S = a || b !== "", A = L0(e, o);
|
1667
1667
|
m && PE(o);
|
1668
1668
|
let [V, g, y] = h ? [
|
1669
1669
|
l,
|
1670
|
-
|
1671
|
-
r[
|
1672
|
-
] : Ls(e, l,
|
1673
|
-
if (!h && !(j(M) || w1(M) || Z2(M)) &&
|
1670
|
+
A,
|
1671
|
+
r[A] || {}
|
1672
|
+
] : Ls(e, l, A, i, d, f), M = V, _ = l;
|
1673
|
+
if (!h && !(j(M) || w1(M) || Z2(M)) && S && (M = b, _ = M), !h && (!(j(M) || w1(M) || Z2(M)) || !j(g)))
|
1674
1674
|
return n ? P4 : l;
|
1675
1675
|
if (process.env.NODE_ENV !== "production" && j(M) && e.messageCompiler == null)
|
1676
1676
|
return w2(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`), l;
|
@@ -1700,20 +1700,20 @@ function PE(e) {
|
|
1700
1700
|
}
|
1701
1701
|
function Ls(e, c, a, t, n, s) {
|
1702
1702
|
const { messages: i, onWarn: r, messageResolver: l, localeFallbacker: o } = e, f = o(e, t, a);
|
1703
|
-
let d = {}, m, h = null, b = a,
|
1704
|
-
const
|
1703
|
+
let d = {}, m, h = null, b = a, S = null;
|
1704
|
+
const A = "translate";
|
1705
1705
|
for (let V = 0; V < f.length; V++) {
|
1706
|
-
if (m =
|
1706
|
+
if (m = S = f[V], process.env.NODE_ENV !== "production" && a !== m && B4(n, c) && r(Y1(F2.FALLBACK_TO_TRANSLATE, {
|
1707
1707
|
key: c,
|
1708
1708
|
target: m
|
1709
1709
|
})), process.env.NODE_ENV !== "production" && a !== m) {
|
1710
1710
|
const L = e.__v_emitter;
|
1711
1711
|
L && L.emit("fallback", {
|
1712
|
-
type:
|
1712
|
+
type: A,
|
1713
1713
|
key: c,
|
1714
1714
|
from: b,
|
1715
|
-
to:
|
1716
|
-
groupId: `${
|
1715
|
+
to: S,
|
1716
|
+
groupId: `${A}:${c}`
|
1717
1717
|
});
|
1718
1718
|
}
|
1719
1719
|
d = i[m] || {};
|
@@ -1725,7 +1725,7 @@ function Ls(e, c, a, t, n, s) {
|
|
1725
1725
|
key: c,
|
1726
1726
|
message: h,
|
1727
1727
|
time: L - g,
|
1728
|
-
groupId: `${
|
1728
|
+
groupId: `${A}:${c}`
|
1729
1729
|
}), y && M && G2 && G1 && (G2(M), G1("intlify message resolve", y, M));
|
1730
1730
|
}
|
1731
1731
|
if (j(h) || w1(h) || Z2(h))
|
@@ -1736,9 +1736,9 @@ function Ls(e, c, a, t, n, s) {
|
|
1736
1736
|
c,
|
1737
1737
|
m,
|
1738
1738
|
s,
|
1739
|
-
|
1739
|
+
A
|
1740
1740
|
);
|
1741
|
-
_ !== c && (h = _), b =
|
1741
|
+
_ !== c && (h = _), b = S;
|
1742
1742
|
}
|
1743
1743
|
return [h, m, d];
|
1744
1744
|
}
|
@@ -1824,15 +1824,15 @@ function jE(e, c, a, t) {
|
|
1824
1824
|
messages: (h) => {
|
1825
1825
|
let b = i(a, h);
|
1826
1826
|
if (b == null && f) {
|
1827
|
-
const [, ,
|
1828
|
-
b = i(
|
1827
|
+
const [, , S] = Ls(f, h, c, r, l, o);
|
1828
|
+
b = i(S, h);
|
1829
1829
|
}
|
1830
1830
|
if (j(b) || w1(b)) {
|
1831
|
-
let
|
1831
|
+
let S = !1;
|
1832
1832
|
const V = _s(e, h, c, b, h, () => {
|
1833
|
-
|
1833
|
+
S = !0;
|
1834
1834
|
});
|
1835
|
-
return
|
1835
|
+
return S ? $9 : V;
|
1836
1836
|
} else
|
1837
1837
|
return Z2(b) ? b : $9;
|
1838
1838
|
}
|
@@ -1847,21 +1847,21 @@ function W9(e, ...c) {
|
|
1847
1847
|
const { datetimeFormats: a, unresolving: t, fallbackLocale: n, onWarn: s, localeFallbacker: i } = e, { __datetimeFormatters: r } = e;
|
1848
1848
|
if (process.env.NODE_ENV !== "production" && !ys.dateTimeFormat)
|
1849
1849
|
return s(Y1(F2.CANNOT_FORMAT_DATE)), x4;
|
1850
|
-
const [l, o, f, d] = K6(...c), m = a2(f.missingWarn) ? f.missingWarn : e.missingWarn, h = a2(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, b = !!f.part,
|
1850
|
+
const [l, o, f, d] = K6(...c), m = a2(f.missingWarn) ? f.missingWarn : e.missingWarn, h = a2(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, b = !!f.part, S = L0(e, f), A = i(
|
1851
1851
|
e,
|
1852
1852
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
1853
1853
|
n,
|
1854
|
-
|
1854
|
+
S
|
1855
1855
|
);
|
1856
1856
|
if (!j(l) || l === "")
|
1857
|
-
return new Intl.DateTimeFormat(
|
1858
|
-
let V = {}, g, y = null, M =
|
1857
|
+
return new Intl.DateTimeFormat(S, d).format(o);
|
1858
|
+
let V = {}, g, y = null, M = S, _ = null;
|
1859
1859
|
const L = "datetime format";
|
1860
|
-
for (let w = 0; w <
|
1861
|
-
if (g = _ =
|
1860
|
+
for (let w = 0; w < A.length; w++) {
|
1861
|
+
if (g = _ = A[w], process.env.NODE_ENV !== "production" && S !== g && B4(h, l) && s(Y1(F2.FALLBACK_TO_DATE_FORMAT, {
|
1862
1862
|
key: l,
|
1863
1863
|
target: g
|
1864
|
-
})), process.env.NODE_ENV !== "production" &&
|
1864
|
+
})), process.env.NODE_ENV !== "production" && S !== g) {
|
1865
1865
|
const P = e.__v_emitter;
|
1866
1866
|
P && P.emit("fallback", {
|
1867
1867
|
type: L,
|
@@ -1941,21 +1941,21 @@ function Y9(e, ...c) {
|
|
1941
1941
|
const { numberFormats: a, unresolving: t, fallbackLocale: n, onWarn: s, localeFallbacker: i } = e, { __numberFormatters: r } = e;
|
1942
1942
|
if (process.env.NODE_ENV !== "production" && !ys.numberFormat)
|
1943
1943
|
return s(Y1(F2.CANNOT_FORMAT_NUMBER)), x4;
|
1944
|
-
const [l, o, f, d] = Z6(...c), m = a2(f.missingWarn) ? f.missingWarn : e.missingWarn, h = a2(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, b = !!f.part,
|
1944
|
+
const [l, o, f, d] = Z6(...c), m = a2(f.missingWarn) ? f.missingWarn : e.missingWarn, h = a2(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, b = !!f.part, S = L0(e, f), A = i(
|
1945
1945
|
e,
|
1946
1946
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
1947
1947
|
n,
|
1948
|
-
|
1948
|
+
S
|
1949
1949
|
);
|
1950
1950
|
if (!j(l) || l === "")
|
1951
|
-
return new Intl.NumberFormat(
|
1952
|
-
let V = {}, g, y = null, M =
|
1951
|
+
return new Intl.NumberFormat(S, d).format(o);
|
1952
|
+
let V = {}, g, y = null, M = S, _ = null;
|
1953
1953
|
const L = "number format";
|
1954
|
-
for (let w = 0; w <
|
1955
|
-
if (g = _ =
|
1954
|
+
for (let w = 0; w < A.length; w++) {
|
1955
|
+
if (g = _ = A[w], process.env.NODE_ENV !== "production" && S !== g && B4(h, l) && s(Y1(F2.FALLBACK_TO_NUMBER_FORMAT, {
|
1956
1956
|
key: l,
|
1957
1957
|
target: g
|
1958
|
-
})), process.env.NODE_ENV !== "production" &&
|
1958
|
+
})), process.env.NODE_ENV !== "production" && S !== g) {
|
1959
1959
|
const P = e.__v_emitter;
|
1960
1960
|
P && P.emit("fallback", {
|
1961
1961
|
type: L,
|
@@ -2275,7 +2275,7 @@ function y0(e = {}, c) {
|
|
2275
2275
|
// prettier-ignore
|
2276
2276
|
a && i ? a.fallbackLocale.value : j(e.fallbackLocale) || v2(e.fallbackLocale) || e2(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r.value
|
2277
2277
|
), o = J(F4(r.value, e)), f = J(e2(e.datetimeFormats) ? e.datetimeFormats : { [r.value]: {} }), d = J(e2(e.numberFormats) ? e.numberFormats : { [r.value]: {} });
|
2278
|
-
let m = a ? a.missingWarn : a2(e.missingWarn) || k1(e.missingWarn) ? e.missingWarn : !0, h = a ? a.fallbackWarn : a2(e.fallbackWarn) || k1(e.fallbackWarn) ? e.fallbackWarn : !0, b = a ? a.fallbackRoot : a2(e.fallbackRoot) ? e.fallbackRoot : !0,
|
2278
|
+
let m = a ? a.missingWarn : a2(e.missingWarn) || k1(e.missingWarn) ? e.missingWarn : !0, h = a ? a.fallbackWarn : a2(e.fallbackWarn) || k1(e.fallbackWarn) ? e.fallbackWarn : !0, b = a ? a.fallbackRoot : a2(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, A = p2(e.missing) ? e.missing : null, V = p2(e.missing) ? en(e.missing) : null, g = p2(e.postTranslation) ? e.postTranslation : null, y = a ? a.warnHtmlMessage : a2(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, M = !!e.escapeParameter;
|
2279
2279
|
const _ = a ? a.modifiers : e2(e.modifiers) ? e.modifiers : {};
|
2280
2280
|
let L = e.pluralRules || a && a.pluralRules, C;
|
2281
2281
|
C = (() => {
|
@@ -2290,7 +2290,7 @@ function y0(e = {}, c) {
|
|
2290
2290
|
missing: V === null ? void 0 : V,
|
2291
2291
|
missingWarn: m,
|
2292
2292
|
fallbackWarn: h,
|
2293
|
-
fallbackFormat:
|
2293
|
+
fallbackFormat: S,
|
2294
2294
|
unresolving: !0,
|
2295
2295
|
postTranslation: g === null ? void 0 : g,
|
2296
2296
|
warnHtmlMessage: y,
|
@@ -2312,17 +2312,17 @@ function y0(e = {}, c) {
|
|
2312
2312
|
d.value
|
2313
2313
|
];
|
2314
2314
|
}
|
2315
|
-
const P =
|
2315
|
+
const P = E({
|
2316
2316
|
get: () => r.value,
|
2317
2317
|
set: (T) => {
|
2318
2318
|
r.value = T, C.locale = r.value;
|
2319
2319
|
}
|
2320
|
-
}), R =
|
2320
|
+
}), R = E({
|
2321
2321
|
get: () => l.value,
|
2322
2322
|
set: (T) => {
|
2323
2323
|
l.value = T, C.fallbackLocale = l.value, C3(C, r.value, T);
|
2324
2324
|
}
|
2325
|
-
}), c2 =
|
2325
|
+
}), c2 = E(() => o.value), U = /* @__PURE__ */ E(() => f.value), f2 = /* @__PURE__ */ E(() => d.value);
|
2326
2326
|
function m2() {
|
2327
2327
|
return p2(g) ? g : null;
|
2328
2328
|
}
|
@@ -2330,10 +2330,10 @@ function y0(e = {}, c) {
|
|
2330
2330
|
g = T, C.postTranslation = T;
|
2331
2331
|
}
|
2332
2332
|
function d2() {
|
2333
|
-
return
|
2333
|
+
return A;
|
2334
2334
|
}
|
2335
2335
|
function D2(T) {
|
2336
|
-
T !== null && (V = en(T)),
|
2336
|
+
T !== null && (V = en(T)), A = T, C.missing = V;
|
2337
2337
|
}
|
2338
2338
|
function z2(T, B) {
|
2339
2339
|
return T !== "translate" || !B.resolvedMessage;
|
@@ -2544,10 +2544,10 @@ function y0(e = {}, c) {
|
|
2544
2544
|
b = T;
|
2545
2545
|
},
|
2546
2546
|
get fallbackFormat() {
|
2547
|
-
return
|
2547
|
+
return S;
|
2548
2548
|
},
|
2549
2549
|
set fallbackFormat(T) {
|
2550
|
-
|
2550
|
+
S = T, C.fallbackFormat = S;
|
2551
2551
|
},
|
2552
2552
|
get warnHtmlMessage() {
|
2553
2553
|
return y;
|
@@ -2588,7 +2588,7 @@ function tD(e) {
|
|
2588
2588
|
return I2(w, _[k]), C;
|
2589
2589
|
}, b || {});
|
2590
2590
|
}
|
2591
|
-
const { __i18n:
|
2591
|
+
const { __i18n: S, __root: A, __injectWithOption: V } = e, g = e.datetimeFormats, y = e.numberFormats, M = e.flatJson;
|
2592
2592
|
return {
|
2593
2593
|
locale: c,
|
2594
2594
|
fallbackLocale: a,
|
@@ -2608,8 +2608,8 @@ function tD(e) {
|
|
2608
2608
|
escapeParameter: m,
|
2609
2609
|
messageResolver: e.messageResolver,
|
2610
2610
|
inheritLocale: h,
|
2611
|
-
__i18n:
|
2612
|
-
__root:
|
2611
|
+
__i18n: S,
|
2612
|
+
__root: A,
|
2613
2613
|
__injectWithOption: V
|
2614
2614
|
};
|
2615
2615
|
}
|
@@ -2900,8 +2900,8 @@ function Os(e, c, a, t) {
|
|
2900
2900
|
const l = t(e.value, i, r);
|
2901
2901
|
let o = [i.key];
|
2902
2902
|
v2(l) ? o = l.map((m, h) => {
|
2903
|
-
const b = n[m.type],
|
2904
|
-
return iD(
|
2903
|
+
const b = n[m.type], S = b ? b({ [m.type]: m.value, index: h, parts: l }) : [m.value];
|
2904
|
+
return iD(S) && (S[0].key = `${m.type}-${h}`), S;
|
2905
2905
|
}) : j(l) && (o = [l]);
|
2906
2906
|
const f = I2({}, s), d = j(e.tag) || o2(e.tag) ? e.tag : Ds();
|
2907
2907
|
return z1(d, f, o);
|
@@ -3384,11 +3384,11 @@ function ND(e = {}, c) {
|
|
3384
3384
|
const V = b[0];
|
3385
3385
|
m.__composerExtend = V.__composerExtend, m.__vueI18nExtend = V.__vueI18nExtend;
|
3386
3386
|
}
|
3387
|
-
let
|
3388
|
-
!a && t && (
|
3389
|
-
const
|
3387
|
+
let S = null;
|
3388
|
+
!a && t && (S = OD(h, m.global)), __VUE_I18N_FULL_INSTALL__ && uD(h, m, ...b), __VUE_I18N_LEGACY_API__ && a && h.mixin(_D(r, r.__composer, m));
|
3389
|
+
const A = h.unmount;
|
3390
3390
|
if (h.unmount = () => {
|
3391
|
-
|
3391
|
+
S && S(), m.dispose(), A();
|
3392
3392
|
}, process.env.NODE_ENV !== "production") {
|
3393
3393
|
if (!await vD(h, m))
|
3394
3394
|
throw S2(r2.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
@@ -3517,7 +3517,7 @@ function ED(e, c, a, t = {}) {
|
|
3517
3517
|
), l = J(
|
3518
3518
|
// prettier-ignore
|
3519
3519
|
!n || i ? a.fallbackLocale.value : j(t.fallbackLocale) || v2(t.fallbackLocale) || e2(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : r.value
|
3520
|
-
), o = J(F4(r.value, t)), f = J(e2(t.datetimeFormats) ? t.datetimeFormats : { [r.value]: {} }), d = J(e2(t.numberFormats) ? t.numberFormats : { [r.value]: {} }), m = n ? a.missingWarn : a2(t.missingWarn) || k1(t.missingWarn) ? t.missingWarn : !0, h = n ? a.fallbackWarn : a2(t.fallbackWarn) || k1(t.fallbackWarn) ? t.fallbackWarn : !0, b = n ? a.fallbackRoot : a2(t.fallbackRoot) ? t.fallbackRoot : !0,
|
3520
|
+
), o = J(F4(r.value, t)), f = J(e2(t.datetimeFormats) ? t.datetimeFormats : { [r.value]: {} }), d = J(e2(t.numberFormats) ? t.numberFormats : { [r.value]: {} }), m = n ? a.missingWarn : a2(t.missingWarn) || k1(t.missingWarn) ? t.missingWarn : !0, h = n ? a.fallbackWarn : a2(t.fallbackWarn) || k1(t.fallbackWarn) ? t.fallbackWarn : !0, b = n ? a.fallbackRoot : a2(t.fallbackRoot) ? t.fallbackRoot : !0, S = !!t.fallbackFormat, A = p2(t.missing) ? t.missing : null, V = p2(t.postTranslation) ? t.postTranslation : null, g = n ? a.warnHtmlMessage : a2(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, y = !!t.escapeParameter, M = n ? a.modifiers : e2(t.modifiers) ? t.modifiers : {}, _ = t.pluralRules || n && a.pluralRules;
|
3521
3521
|
function L() {
|
3522
3522
|
return [
|
3523
3523
|
r.value,
|
@@ -3527,17 +3527,17 @@ function ED(e, c, a, t = {}) {
|
|
3527
3527
|
d.value
|
3528
3528
|
];
|
3529
3529
|
}
|
3530
|
-
const C =
|
3530
|
+
const C = E({
|
3531
3531
|
get: () => s.value ? s.value.locale.value : r.value,
|
3532
3532
|
set: (v) => {
|
3533
3533
|
s.value && (s.value.locale.value = v), r.value = v;
|
3534
3534
|
}
|
3535
|
-
}), k =
|
3535
|
+
}), k = E({
|
3536
3536
|
get: () => s.value ? s.value.fallbackLocale.value : l.value,
|
3537
3537
|
set: (v) => {
|
3538
3538
|
s.value && (s.value.fallbackLocale.value = v), l.value = v;
|
3539
3539
|
}
|
3540
|
-
}), w =
|
3540
|
+
}), w = E(() => s.value ? s.value.messages.value : o.value), P = E(() => f.value), R = E(() => d.value);
|
3541
3541
|
function c2() {
|
3542
3542
|
return s.value ? s.value.getPostTranslationHandler() : V;
|
3543
3543
|
}
|
@@ -3545,7 +3545,7 @@ function ED(e, c, a, t = {}) {
|
|
3545
3545
|
s.value && s.value.setPostTranslationHandler(v);
|
3546
3546
|
}
|
3547
3547
|
function f2() {
|
3548
|
-
return s.value ? s.value.getMissingHandler() :
|
3548
|
+
return s.value ? s.value.getMissingHandler() : A;
|
3549
3549
|
}
|
3550
3550
|
function m2(v) {
|
3551
3551
|
s.value && s.value.setMissingHandler(v);
|
@@ -3644,7 +3644,7 @@ function ED(e, c, a, t = {}) {
|
|
3644
3644
|
s.value && (s.value.fallbackRoot = v);
|
3645
3645
|
},
|
3646
3646
|
get fallbackFormat() {
|
3647
|
-
return s.value ? s.value.fallbackFormat :
|
3647
|
+
return s.value ? s.value.fallbackFormat : S;
|
3648
3648
|
},
|
3649
3649
|
set fallbackFormat(v) {
|
3650
3650
|
s.value && (s.value.fallbackFormat = v);
|
@@ -3688,7 +3688,7 @@ function ED(e, c, a, t = {}) {
|
|
3688
3688
|
v.mergeDateTimeFormat(N, f.value[N]);
|
3689
3689
|
}), Object.keys(d.value).forEach((N) => {
|
3690
3690
|
v.mergeNumberFormat(N, d.value[N]);
|
3691
|
-
}), v.escapeParameter = y, v.fallbackFormat =
|
3691
|
+
}), v.escapeParameter = y, v.fallbackFormat = S, v.fallbackRoot = b, v.fallbackWarn = h, v.missingWarn = m, v.warnHtmlMessage = g;
|
3692
3692
|
}
|
3693
3693
|
return sI(() => {
|
3694
3694
|
if (e.proxy == null || e.proxy.$i18n == null)
|
@@ -5589,7 +5589,7 @@ var zO = function(c, a) {
|
|
5589
5589
|
function HO(e) {
|
5590
5590
|
var c, a = e.state, t = e.name, n = e.options, s = a.elements.arrow, i = a.modifiersData.popperOffsets, r = d1(a.placement), l = T0(r), o = [U2, a1].indexOf(r) >= 0, f = o ? "height" : "width";
|
5591
5591
|
if (!(!s || !i)) {
|
5592
|
-
var d = zO(n.padding, a), m = w0(s), h = l === "y" ? $2 : U2, b = l === "y" ? c1 : a1,
|
5592
|
+
var d = zO(n.padding, a), m = w0(s), h = l === "y" ? $2 : U2, b = l === "y" ? c1 : a1, S = a.rects.reference[f] + a.rects.reference[l] - i[l] - a.rects.popper[f], A = i[l] - a.rects.reference[l], V = q3(s), g = V ? l === "y" ? V.clientHeight || 0 : V.clientWidth || 0 : 0, y = S / 2 - A / 2, M = d[h], _ = g - m[f] - d[b], L = g / 2 - m[f] / 2 + y, C = N3(M, L, _), k = l;
|
5593
5593
|
a.modifiersData[t] = (c = {}, c[k] = C, c.centerOffset = C - L, c);
|
5594
5594
|
}
|
5595
5595
|
}
|
@@ -5623,14 +5623,14 @@ function bO(e, c) {
|
|
5623
5623
|
};
|
5624
5624
|
}
|
5625
5625
|
function mn(e) {
|
5626
|
-
var c, a = e.popper, t = e.popperRect, n = e.placement, s = e.variation, i = e.offsets, r = e.position, l = e.gpuAcceleration, o = e.adaptive, f = e.roundOffsets, d = e.isFixed, m = i.x, h = m === void 0 ? 0 : m, b = i.y,
|
5626
|
+
var c, a = e.popper, t = e.popperRect, n = e.placement, s = e.variation, i = e.offsets, r = e.position, l = e.gpuAcceleration, o = e.adaptive, f = e.roundOffsets, d = e.isFixed, m = i.x, h = m === void 0 ? 0 : m, b = i.y, S = b === void 0 ? 0 : b, A = typeof f == "function" ? f({
|
5627
5627
|
x: h,
|
5628
|
-
y:
|
5628
|
+
y: S
|
5629
5629
|
}) : {
|
5630
5630
|
x: h,
|
5631
|
-
y:
|
5631
|
+
y: S
|
5632
5632
|
};
|
5633
|
-
h =
|
5633
|
+
h = A.x, S = A.y;
|
5634
5634
|
var V = i.hasOwnProperty("x"), g = i.hasOwnProperty("y"), y = U2, M = $2, _ = window;
|
5635
5635
|
if (o) {
|
5636
5636
|
var L = q3(a), C = "clientHeight", k = "clientWidth";
|
@@ -5640,7 +5640,7 @@ function mn(e) {
|
|
5640
5640
|
// $FlowFixMe[prop-missing]
|
5641
5641
|
L[C]
|
5642
5642
|
);
|
5643
|
-
|
5643
|
+
S -= w - t.height, S *= l ? 1 : -1;
|
5644
5644
|
}
|
5645
5645
|
if (n === U2 || (n === $2 || n === c1) && s === O3) {
|
5646
5646
|
y = a1;
|
@@ -5655,16 +5655,16 @@ function mn(e) {
|
|
5655
5655
|
position: r
|
5656
5656
|
}, o && CO), c2 = f === !0 ? bO({
|
5657
5657
|
x: h,
|
5658
|
-
y:
|
5658
|
+
y: S
|
5659
5659
|
}, Y2(a)) : {
|
5660
5660
|
x: h,
|
5661
|
-
y:
|
5661
|
+
y: S
|
5662
5662
|
};
|
5663
|
-
if (h = c2.x,
|
5663
|
+
if (h = c2.x, S = c2.y, l) {
|
5664
5664
|
var U;
|
5665
|
-
return Object.assign({}, R, (U = {}, U[M] = g ? "0" : "", U[y] = V ? "0" : "", U.transform = (_.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " +
|
5665
|
+
return Object.assign({}, R, (U = {}, U[M] = g ? "0" : "", U[y] = V ? "0" : "", U.transform = (_.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + S + "px)" : "translate3d(" + h + "px, " + S + "px, 0)", U));
|
5666
5666
|
}
|
5667
|
-
return Object.assign({}, R, (c = {}, c[M] = g ?
|
5667
|
+
return Object.assign({}, R, (c = {}, c[M] = g ? S + "px" : "", c[y] = V ? h + "px" : "", c.transform = "", c));
|
5668
5668
|
}
|
5669
5669
|
function LO(e) {
|
5670
5670
|
var c = e.state, a = e.options, t = a.gpuAcceleration, n = t === void 0 ? !0 : t, s = a.adaptive, i = s === void 0 ? !0 : s, r = a.roundOffsets, l = r === void 0 ? !0 : r, o = {
|
@@ -5864,7 +5864,7 @@ function Qs(e) {
|
|
5864
5864
|
}
|
5865
5865
|
function P3(e, c) {
|
5866
5866
|
c === void 0 && (c = {});
|
5867
|
-
var a = c, t = a.placement, n = t === void 0 ? e.placement : t, s = a.strategy, i = s === void 0 ? e.strategy : s, r = a.boundary, l = r === void 0 ? eO : r, o = a.rootBoundary, f = o === void 0 ? Rs : o, d = a.elementContext, m = d === void 0 ? b3 : d, h = a.altBoundary, b = h === void 0 ? !1 : h,
|
5867
|
+
var a = c, t = a.placement, n = t === void 0 ? e.placement : t, s = a.strategy, i = s === void 0 ? e.strategy : s, r = a.boundary, l = r === void 0 ? eO : r, o = a.rootBoundary, f = o === void 0 ? Rs : o, d = a.elementContext, m = d === void 0 ? b3 : d, h = a.altBoundary, b = h === void 0 ? !1 : h, S = a.padding, A = S === void 0 ? 0 : S, V = Ws(typeof A != "number" ? A : Gs(A, U3)), g = m === b3 ? cO : b3, y = e.rects.popper, M = e.elements[b ? g : m], _ = IO(X1(M) ? M : M.contextElement || B1(e.elements.popper), l, f, i), L = m3(e.elements.reference), C = Qs({
|
5868
5868
|
reference: L,
|
5869
5869
|
element: y,
|
5870
5870
|
strategy: "absolute",
|
@@ -5892,16 +5892,16 @@ function EO(e, c) {
|
|
5892
5892
|
return o.indexOf(b) >= 0;
|
5893
5893
|
});
|
5894
5894
|
m.length === 0 && (m = d);
|
5895
|
-
var h = m.reduce(function(b,
|
5896
|
-
return b[
|
5897
|
-
placement:
|
5895
|
+
var h = m.reduce(function(b, S) {
|
5896
|
+
return b[S] = P3(e, {
|
5897
|
+
placement: S,
|
5898
5898
|
boundary: n,
|
5899
5899
|
rootBoundary: s,
|
5900
5900
|
padding: i
|
5901
|
-
})[d1(
|
5901
|
+
})[d1(S)], b;
|
5902
5902
|
}, {});
|
5903
|
-
return Object.keys(h).sort(function(b,
|
5904
|
-
return h[b] - h[
|
5903
|
+
return Object.keys(h).sort(function(b, S) {
|
5904
|
+
return h[b] - h[S];
|
5905
5905
|
});
|
5906
5906
|
}
|
5907
5907
|
function DO(e) {
|
@@ -5913,14 +5913,14 @@ function DO(e) {
|
|
5913
5913
|
function OO(e) {
|
5914
5914
|
var c = e.state, a = e.options, t = e.name;
|
5915
5915
|
if (!c.modifiersData[t]._skip) {
|
5916
|
-
for (var n = a.mainAxis, s = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, o = a.padding, f = a.boundary, d = a.rootBoundary, m = a.altBoundary, h = a.flipVariations, b = h === void 0 ? !0 : h,
|
5916
|
+
for (var n = a.mainAxis, s = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, o = a.padding, f = a.boundary, d = a.rootBoundary, m = a.altBoundary, h = a.flipVariations, b = h === void 0 ? !0 : h, S = a.allowedAutoPlacements, A = c.options.placement, V = d1(A), g = V === A, y = l || (g || !b ? [y4(A)] : DO(A)), M = [A].concat(y).reduce(function(q2, R2) {
|
5917
5917
|
return q2.concat(d1(R2) === S0 ? EO(c, {
|
5918
5918
|
placement: R2,
|
5919
5919
|
boundary: f,
|
5920
5920
|
rootBoundary: d,
|
5921
5921
|
padding: o,
|
5922
5922
|
flipVariations: b,
|
5923
|
-
allowedAutoPlacements:
|
5923
|
+
allowedAutoPlacements: S
|
5924
5924
|
}) : R2);
|
5925
5925
|
}, []), _ = c.rects.reference, L = c.rects.popper, C = /* @__PURE__ */ new Map(), k = !0, w = M[0], P = 0; P < M.length; P++) {
|
5926
5926
|
var R = M[P], c2 = d1(R), U = d3(R) === f3, f2 = [$2, c1].indexOf(c2) >= 0, m2 = f2 ? "width" : "height", n2 = P3(c, {
|
@@ -6053,14 +6053,14 @@ function WO(e) {
|
|
6053
6053
|
return e === "x" ? "y" : "x";
|
6054
6054
|
}
|
6055
6055
|
function GO(e) {
|
6056
|
-
var c = e.state, a = e.options, t = e.name, n = a.mainAxis, s = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, o = a.rootBoundary, f = a.altBoundary, d = a.padding, m = a.tether, h = m === void 0 ? !0 : m, b = a.tetherOffset,
|
6056
|
+
var c = e.state, a = e.options, t = e.name, n = a.mainAxis, s = n === void 0 ? !0 : n, i = a.altAxis, r = i === void 0 ? !1 : i, l = a.boundary, o = a.rootBoundary, f = a.altBoundary, d = a.padding, m = a.tether, h = m === void 0 ? !0 : m, b = a.tetherOffset, S = b === void 0 ? 0 : b, A = P3(c, {
|
6057
6057
|
boundary: l,
|
6058
6058
|
rootBoundary: o,
|
6059
6059
|
padding: d,
|
6060
6060
|
altBoundary: f
|
6061
|
-
}), V = d1(c.placement), g = d3(c.placement), y = !g, M = T0(V), _ = WO(M), L = c.modifiersData.popperOffsets, C = c.rects.reference, k = c.rects.popper, w = typeof
|
6061
|
+
}), V = d1(c.placement), g = d3(c.placement), y = !g, M = T0(V), _ = WO(M), L = c.modifiersData.popperOffsets, C = c.rects.reference, k = c.rects.popper, w = typeof S == "function" ? S(Object.assign({}, c.rects, {
|
6062
6062
|
placement: c.placement
|
6063
|
-
})) :
|
6063
|
+
})) : S, P = typeof w == "number" ? {
|
6064
6064
|
mainAxis: w,
|
6065
6065
|
altAxis: w
|
6066
6066
|
} : Object.assign({
|
@@ -6072,14 +6072,14 @@ function GO(e) {
|
|
6072
6072
|
};
|
6073
6073
|
if (L) {
|
6074
6074
|
if (s) {
|
6075
|
-
var U, f2 = M === "y" ? $2 : U2, m2 = M === "y" ? c1 : a1, n2 = M === "y" ? "height" : "width", d2 = L[M], D2 = d2 +
|
6075
|
+
var U, f2 = M === "y" ? $2 : U2, m2 = M === "y" ? c1 : a1, n2 = M === "y" ? "height" : "width", d2 = L[M], D2 = d2 + A[f2], z2 = d2 - A[m2], H2 = h ? -k[n2] / 2 : 0, u2 = g === f3 ? C[n2] : k[n2], N2 = g === f3 ? -k[n2] : -C[n2], O2 = c.elements.arrow, q2 = h && O2 ? w0(O2) : {
|
6076
6076
|
width: 0,
|
6077
6077
|
height: 0
|
6078
6078
|
}, R2 = c.modifiersData["arrow#persistent"] ? c.modifiersData["arrow#persistent"].padding : qs(), l1 = R2[f2], o1 = R2[m2], P2 = N3(0, C[n2], q2[n2]), t1 = y ? C[n2] / 2 - H2 - P2 - l1 - P.mainAxis : u2 - P2 - l1 - P.mainAxis, f1 = y ? -C[n2] / 2 + H2 + P2 + o1 + P.mainAxis : N2 + P2 + o1 + P.mainAxis, n1 = c.elements.arrow && q3(c.elements.arrow), F1 = n1 ? M === "y" ? n1.clientTop || 0 : n1.clientLeft || 0 : 0, z = (U = R == null ? void 0 : R[M]) != null ? U : 0, v = d2 + t1 - z - F1, N = d2 + f1 - z, $ = N3(h ? S4(D2, v) : D2, d2, h ? W1(z2, N) : z2);
|
6079
6079
|
L[M] = $, c2[M] = $ - d2;
|
6080
6080
|
}
|
6081
6081
|
if (r) {
|
6082
|
-
var K, l2 = M === "x" ? $2 : U2, K2 = M === "x" ? c1 : a1, T2 = L[_], J1 = _ === "y" ? "height" : "width", u4 = T2 +
|
6082
|
+
var K, l2 = M === "x" ? $2 : U2, K2 = M === "x" ? c1 : a1, T2 = L[_], J1 = _ === "y" ? "height" : "width", u4 = T2 + A[l2], m4 = T2 - A[K2], M2 = [$2, U2].indexOf(V) !== -1, T = (K = R == null ? void 0 : R[_]) != null ? K : 0, B = M2 ? u4 : T2 - C[J1] - k[J1] - T + P.altAxis, i2 = M2 ? T2 + C[J1] + k[J1] - T - P.altAxis : m4, g2 = h && M2 ? VO(B, T2, i2) : N3(h ? B : u4, T2, h ? i2 : m4);
|
6083
6083
|
L[_] = g2, c2[_] = g2 - T2;
|
6084
6084
|
}
|
6085
6085
|
c.modifiersData[t] = c2;
|
@@ -6203,7 +6203,7 @@ function tP(e) {
|
|
6203
6203
|
state: f,
|
6204
6204
|
setOptions: function(V) {
|
6205
6205
|
var g = typeof V == "function" ? V(f.options) : V;
|
6206
|
-
|
6206
|
+
S(), f.options = Object.assign({}, s, f.options, g), f.scrollParents = {
|
6207
6207
|
reference: X1(r) ? A3(r) : r.contextElement ? A3(r.contextElement) : [],
|
6208
6208
|
popper: A3(l)
|
6209
6209
|
};
|
@@ -6246,22 +6246,22 @@ function tP(e) {
|
|
6246
6246
|
// Async and optimistically optimized update – it will not be executed if
|
6247
6247
|
// not necessary (debounced to run at most once-per-tick)
|
6248
6248
|
update: cP(function() {
|
6249
|
-
return new Promise(function(
|
6250
|
-
h.forceUpdate(),
|
6249
|
+
return new Promise(function(A) {
|
6250
|
+
h.forceUpdate(), A(f);
|
6251
6251
|
});
|
6252
6252
|
}),
|
6253
6253
|
destroy: function() {
|
6254
|
-
|
6254
|
+
S(), m = !0;
|
6255
6255
|
}
|
6256
6256
|
};
|
6257
6257
|
if (!zn(r, l))
|
6258
6258
|
return h;
|
6259
|
-
h.setOptions(o).then(function(
|
6260
|
-
!m && o.onFirstUpdate && o.onFirstUpdate(
|
6259
|
+
h.setOptions(o).then(function(A) {
|
6260
|
+
!m && o.onFirstUpdate && o.onFirstUpdate(A);
|
6261
6261
|
});
|
6262
6262
|
function b() {
|
6263
|
-
f.orderedModifiers.forEach(function(
|
6264
|
-
var V =
|
6263
|
+
f.orderedModifiers.forEach(function(A) {
|
6264
|
+
var V = A.name, g = A.options, y = g === void 0 ? {} : g, M = A.effect;
|
6265
6265
|
if (typeof M == "function") {
|
6266
6266
|
var _ = M({
|
6267
6267
|
state: f,
|
@@ -6274,9 +6274,9 @@ function tP(e) {
|
|
6274
6274
|
}
|
6275
6275
|
});
|
6276
6276
|
}
|
6277
|
-
function
|
6278
|
-
d.forEach(function(
|
6279
|
-
return
|
6277
|
+
function S() {
|
6278
|
+
d.forEach(function(A) {
|
6279
|
+
return A();
|
6280
6280
|
}), d = [];
|
6281
6281
|
}
|
6282
6282
|
return h;
|
@@ -6483,7 +6483,7 @@ const Nn = {
|
|
6483
6483
|
}
|
6484
6484
|
},
|
6485
6485
|
...e
|
6486
|
-
}, t = J(void 0), n = J(void 0), s = J(void 0), i = J(!1), r = J(!1), l = J(!1), o = J(a.placement || "top"), f =
|
6486
|
+
}, t = J(void 0), n = J(void 0), s = J(void 0), i = J(!1), r = J(!1), l = J(!1), o = J(a.placement || "top"), f = E(() => {
|
6487
6487
|
let { modifiers: k } = Nn;
|
6488
6488
|
return a.modifiers && (k = [...k, ...a.modifiers]), {
|
6489
6489
|
...Nn,
|
@@ -6511,9 +6511,9 @@ const Nn = {
|
|
6511
6511
|
return;
|
6512
6512
|
}
|
6513
6513
|
h();
|
6514
|
-
},
|
6514
|
+
}, S = (k = "", w = "") => {
|
6515
6515
|
a.hover !== !1 && (w === "trigger" ? r.value = k === "open" : l.value = k === "open", b(k));
|
6516
|
-
},
|
6516
|
+
}, A = function(k, w) {
|
6517
6517
|
const { slots: P } = w;
|
6518
6518
|
return z1(
|
6519
6519
|
"div",
|
@@ -6521,14 +6521,14 @@ const Nn = {
|
|
6521
6521
|
class: "trigger-element",
|
6522
6522
|
ref: t,
|
6523
6523
|
ariaDescribedby: "tooltip",
|
6524
|
-
onMouseenter: () =>
|
6525
|
-
onMouseleave: () =>
|
6526
|
-
onFocus: () =>
|
6524
|
+
onMouseenter: () => S("open", "trigger"),
|
6525
|
+
onMouseleave: () => S("close", "trigger"),
|
6526
|
+
onFocus: () => S("open"),
|
6527
6527
|
onClick: () => b()
|
6528
6528
|
},
|
6529
6529
|
P.default ? P.default() : ""
|
6530
6530
|
);
|
6531
|
-
}, V =
|
6531
|
+
}, V = E(() => {
|
6532
6532
|
const { animation: k } = a;
|
6533
6533
|
if (k === "none")
|
6534
6534
|
return {
|
@@ -6540,7 +6540,7 @@ const Nn = {
|
|
6540
6540
|
outer: "fade",
|
6541
6541
|
inner: w
|
6542
6542
|
};
|
6543
|
-
}), g =
|
6543
|
+
}), g = E(() => {
|
6544
6544
|
const { animationDuration: k } = a;
|
6545
6545
|
if (!Array.isArray(k)) {
|
6546
6546
|
const R = k || 300;
|
@@ -6554,13 +6554,13 @@ const Nn = {
|
|
6554
6554
|
enter: `${w / 1e3}s`,
|
6555
6555
|
leave: `${P / 1e3}s`
|
6556
6556
|
};
|
6557
|
-
}), y =
|
6557
|
+
}), y = E(() => {
|
6558
6558
|
const k = Object.keys(An).find((w) => o.value.startsWith(w));
|
6559
6559
|
return k === void 0 ? "translate(0, 0)" : An[k];
|
6560
|
-
}), M =
|
6560
|
+
}), M = E(() => {
|
6561
6561
|
const k = Object.keys(xn).find((w) => o.value.startsWith(w));
|
6562
6562
|
return k === void 0 ? "center center" : xn[k];
|
6563
|
-
}), _ =
|
6563
|
+
}), _ = E(() => {
|
6564
6564
|
if (s.value === void 0)
|
6565
6565
|
return "";
|
6566
6566
|
const k = {
|
@@ -6586,10 +6586,10 @@ const Nn = {
|
|
6586
6586
|
ref: n,
|
6587
6587
|
style: _.value,
|
6588
6588
|
onMouseleave: () => {
|
6589
|
-
a.hover === !1 || a.interactive === !1 ||
|
6589
|
+
a.hover === !1 || a.interactive === !1 || S("close", "tooltip");
|
6590
6590
|
},
|
6591
6591
|
onMouseenter: () => {
|
6592
|
-
a.hover === !1 || a.interactive === !1 ||
|
6592
|
+
a.hover === !1 || a.interactive === !1 || S("open", "tooltip");
|
6593
6593
|
}
|
6594
6594
|
},
|
6595
6595
|
[
|
@@ -6665,10 +6665,10 @@ const Nn = {
|
|
6665
6665
|
}
|
6666
6666
|
a.onOpened !== void 0 && a.onOpened(), (w = s.value) == null || w.update();
|
6667
6667
|
}), {
|
6668
|
-
triggerElement:
|
6668
|
+
triggerElement: A,
|
6669
6669
|
tooltipElement: C,
|
6670
6670
|
popperInstance: s,
|
6671
|
-
isOpened:
|
6671
|
+
isOpened: E(() => i.value)
|
6672
6672
|
};
|
6673
6673
|
}, MP = { class: "popper-container" }, gP = /* @__PURE__ */ Y({
|
6674
6674
|
__name: "VuePopper",
|
@@ -6797,7 +6797,7 @@ const Nn = {
|
|
6797
6797
|
});
|
6798
6798
|
return c({
|
6799
6799
|
popper: n,
|
6800
|
-
isOpened:
|
6800
|
+
isOpened: E(() => r.value)
|
6801
6801
|
}), (l, o) => (p(), H("div", MP, [
|
6802
6802
|
(p(), X(L9(F(s)), null, {
|
6803
6803
|
default: t2(() => [
|
@@ -17816,7 +17816,7 @@ function gB(e) {
|
|
17816
17816
|
}];
|
17817
17817
|
}
|
17818
17818
|
function H9(e) {
|
17819
|
-
var c = e.icons, a = c.main, t = c.mask, n = e.prefix, s = e.iconName, i = e.transform, r = e.symbol, l = e.title, o = e.maskId, f = e.titleId, d = e.extra, m = e.watchable, h = m === void 0 ? !1 : m, b = t.found ? t : a,
|
17819
|
+
var c = e.icons, a = c.main, t = c.mask, n = e.prefix, s = e.iconName, i = e.transform, r = e.symbol, l = e.title, o = e.maskId, f = e.titleId, d = e.extra, m = e.watchable, h = m === void 0 ? !1 : m, b = t.found ? t : a, S = b.width, A = b.height, V = n === "fak", g = [W.replacementClass, s ? "".concat(W.cssPrefix, "-").concat(s) : ""].filter(function(w) {
|
17820
17820
|
return d.classes.indexOf(w) === -1;
|
17821
17821
|
}).filter(function(w) {
|
17822
17822
|
return w !== "" || !!w;
|
@@ -17828,10 +17828,10 @@ function H9(e) {
|
|
17828
17828
|
class: g,
|
17829
17829
|
role: d.attributes.role || "img",
|
17830
17830
|
xmlns: "http://www.w3.org/2000/svg",
|
17831
|
-
viewBox: "0 0 ".concat(
|
17831
|
+
viewBox: "0 0 ".concat(S, " ").concat(A)
|
17832
17832
|
})
|
17833
17833
|
}, M = V && !~d.classes.indexOf("fa-fw") ? {
|
17834
|
-
width: "".concat(
|
17834
|
+
width: "".concat(S / A * 16 * 0.0625, "em")
|
17835
17835
|
} : {};
|
17836
17836
|
h && (y.attributes[K1] = ""), l && (y.children.push({
|
17837
17837
|
tag: "title",
|
@@ -18242,7 +18242,7 @@ function BB(e) {
|
|
18242
18242
|
};
|
18243
18243
|
}
|
18244
18244
|
var FB = function(c) {
|
18245
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.transform, n = t === void 0 ? m1 : t, s = a.symbol, i = s === void 0 ? !1 : s, r = a.mask, l = r === void 0 ? null : r, o = a.maskId, f = o === void 0 ? null : o, d = a.title, m = d === void 0 ? null : d, h = a.titleId, b = h === void 0 ? null : h,
|
18245
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = a.transform, n = t === void 0 ? m1 : t, s = a.symbol, i = s === void 0 ? !1 : s, r = a.mask, l = r === void 0 ? null : r, o = a.maskId, f = o === void 0 ? null : o, d = a.title, m = d === void 0 ? null : d, h = a.titleId, b = h === void 0 ? null : h, S = a.classes, A = S === void 0 ? [] : S, V = a.attributes, g = V === void 0 ? {} : V, y = a.styles, M = y === void 0 ? {} : y;
|
18246
18246
|
if (c) {
|
18247
18247
|
var _ = c.prefix, L = c.iconName, C = c.icon;
|
18248
18248
|
return O6(q({
|
@@ -18271,7 +18271,7 @@ var FB = function(c) {
|
|
18271
18271
|
extra: {
|
18272
18272
|
attributes: g,
|
18273
18273
|
styles: M,
|
18274
|
-
classes:
|
18274
|
+
classes: A
|
18275
18275
|
}
|
18276
18276
|
});
|
18277
18277
|
});
|
@@ -18302,8 +18302,8 @@ var FB = function(c) {
|
|
18302
18302
|
width: 512,
|
18303
18303
|
height: 512,
|
18304
18304
|
icon: {}
|
18305
|
-
})]).then(function(
|
18306
|
-
var
|
18305
|
+
})]).then(function(S) {
|
18306
|
+
var A = o9(S, 2), V = A[0], g = A[1];
|
18307
18307
|
h([a, H9({
|
18308
18308
|
icons: {
|
18309
18309
|
main: V,
|
@@ -18452,12 +18452,12 @@ function Xn(e, c) {
|
|
18452
18452
|
if (i && !l)
|
18453
18453
|
return e.removeChild(i), t();
|
18454
18454
|
if (l && f !== "none" && f !== "") {
|
18455
|
-
var d = r.getPropertyValue("content"), m = ~["Sharp"].indexOf(l[2]) ? y2 : h2, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? F3[m][l[2].toLowerCase()] : FP[m][o], b = WB(d),
|
18455
|
+
var d = r.getPropertyValue("content"), m = ~["Sharp"].indexOf(l[2]) ? y2 : h2, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? F3[m][l[2].toLowerCase()] : FP[m][o], b = WB(d), S = b.value, A = b.isSecondary, V = l[0].startsWith("FontAwesome"), g = V9(h, S), y = g;
|
18456
18456
|
if (V) {
|
18457
|
-
var M = mB(
|
18457
|
+
var M = mB(S);
|
18458
18458
|
M.iconName && M.prefix && (g = M.iconName, h = M.prefix);
|
18459
18459
|
}
|
18460
|
-
if (g && !
|
18460
|
+
if (g && !A && (!i || i.getAttribute(u9) !== h || i.getAttribute(m9) !== y)) {
|
18461
18461
|
e.setAttribute(a, y), i && e.removeChild(i);
|
18462
18462
|
var _ = DB(), L = _.extra;
|
18463
18463
|
L.attributes[f0] = c, h0(g, h).then(function(C) {
|
@@ -18662,19 +18662,19 @@ var JB = {
|
|
18662
18662
|
attributes: q(q({}, G6), {}, {
|
18663
18663
|
fill: "white"
|
18664
18664
|
})
|
18665
|
-
},
|
18665
|
+
}, S = f.children ? {
|
18666
18666
|
children: f.children.map(es)
|
18667
|
-
} : {},
|
18667
|
+
} : {}, A = {
|
18668
18668
|
tag: "g",
|
18669
18669
|
attributes: q({}, h.inner),
|
18670
18670
|
children: [es(q({
|
18671
18671
|
tag: f.tag,
|
18672
18672
|
attributes: q(q({}, f.attributes), h.path)
|
18673
|
-
},
|
18673
|
+
}, S))]
|
18674
18674
|
}, V = {
|
18675
18675
|
tag: "g",
|
18676
18676
|
attributes: q({}, h.outer),
|
18677
|
-
children: [
|
18677
|
+
children: [A]
|
18678
18678
|
}, g = "mask-".concat(r || $3()), y = "clip-".concat(r || $3()), M = {
|
18679
18679
|
tag: "mask",
|
18680
18680
|
attributes: q(q({}, G6), {}, {
|
@@ -18819,8 +18819,8 @@ const nF = Y({
|
|
18819
18819
|
return;
|
18820
18820
|
const d = Object.keys(l.attributes || {}).reduce(
|
18821
18821
|
(h, b) => {
|
18822
|
-
const
|
18823
|
-
return h.attrs[b] =
|
18822
|
+
const S = l.attributes[b];
|
18823
|
+
return h.attrs[b] = S, h;
|
18824
18824
|
},
|
18825
18825
|
{
|
18826
18826
|
attrs: {}
|
@@ -18841,9 +18841,9 @@ const nF = Y({
|
|
18841
18841
|
).join("");
|
18842
18842
|
return m.charAt(0).toLowerCase() + m.slice(1);
|
18843
18843
|
}
|
18844
|
-
const n =
|
18844
|
+
const n = E(
|
18845
18845
|
() => t(c(e.icon).iconName)
|
18846
|
-
), s =
|
18846
|
+
), s = E(() => LP[n.value]), i = E(
|
18847
18847
|
() => tF(s.value, {
|
18848
18848
|
symbol: !1,
|
18849
18849
|
title: s.value
|
@@ -18857,7 +18857,7 @@ const nF = Y({
|
|
18857
18857
|
},
|
18858
18858
|
{ immediate: !0 }
|
18859
18859
|
);
|
18860
|
-
const r =
|
18860
|
+
const r = E(
|
18861
18861
|
() => i.value ? a(i.value.abstract[0]) : null
|
18862
18862
|
);
|
18863
18863
|
return () => r.value;
|
@@ -18906,7 +18906,7 @@ const nF = Y({
|
|
18906
18906
|
c("onClick");
|
18907
18907
|
};
|
18908
18908
|
return (t, n) => {
|
18909
|
-
const s =
|
18909
|
+
const s = D("AVIcon");
|
18910
18910
|
return p(), H("button", {
|
18911
18911
|
type: "button",
|
18912
18912
|
class: G(`AVButton AVButton--${e.size} AVButton--${e.type} ${e.fullWidth && "AVButton--full"}`),
|
@@ -18919,7 +18919,7 @@ const nF = Y({
|
|
18919
18919
|
icon: `fa-solid fa-${e.icon}`,
|
18920
18920
|
class: "AVButton--icon-left",
|
18921
18921
|
"data-test": "btn-icon"
|
18922
|
-
}, null, 8, ["icon"])) :
|
18922
|
+
}, null, 8, ["icon"])) : O("", !0),
|
18923
18923
|
C2(t.$slots, "default", {}, () => [
|
18924
18924
|
x2(x(e.label), 1)
|
18925
18925
|
], !0),
|
@@ -18928,7 +18928,7 @@ const nF = Y({
|
|
18928
18928
|
icon: `fa-solid fa-${e.icon}`,
|
18929
18929
|
class: "AVButton--icon-right",
|
18930
18930
|
"data-test": "btn-icon"
|
18931
|
-
}, null, 8, ["icon"])) :
|
18931
|
+
}, null, 8, ["icon"])) : O("", !0)
|
18932
18932
|
], 10, sF);
|
18933
18933
|
};
|
18934
18934
|
}
|
@@ -18954,7 +18954,7 @@ const Q = (e, c) => {
|
|
18954
18954
|
},
|
18955
18955
|
setup(e) {
|
18956
18956
|
return (c, a) => {
|
18957
|
-
const t =
|
18957
|
+
const t = D("AVIcon");
|
18958
18958
|
return p(), X(t, {
|
18959
18959
|
icon: "fa-solid fa-spinner",
|
18960
18960
|
class: G(`AVSpinner AVSpinner--${e.size} AVSpinner--${e.color}`)
|
@@ -18986,7 +18986,7 @@ const oF = /* @__PURE__ */ Q(lF, [["__scopeId", "data-v-70d9cfd4"]]), fF = /* @_
|
|
18986
18986
|
},
|
18987
18987
|
setup(e) {
|
18988
18988
|
return (c, a) => {
|
18989
|
-
const t =
|
18989
|
+
const t = D("AVIcon");
|
18990
18990
|
return e.type === "icon" ? (p(), X(t, {
|
18991
18991
|
key: 0,
|
18992
18992
|
icon: `fa-solid fa-${e.value || "bolt"}`,
|
@@ -19058,14 +19058,14 @@ const H0 = /* @__PURE__ */ Q(fF, [["__scopeId", "data-v-83458350"]]), uF = { cla
|
|
19058
19058
|
setup(e, { emit: c }) {
|
19059
19059
|
const a = e, t = (s) => {
|
19060
19060
|
c("update:modelValue", s.target.value);
|
19061
|
-
}, n =
|
19061
|
+
}, n = E(() => ({
|
19062
19062
|
AVTextInput: !0,
|
19063
19063
|
error: !!a.error,
|
19064
19064
|
icon: !!a.icon,
|
19065
19065
|
disabled: a.disabled
|
19066
19066
|
}));
|
19067
19067
|
return (s, i) => {
|
19068
|
-
const r =
|
19068
|
+
const r = D("AVTooltip"), l = D("AVIcon");
|
19069
19069
|
return p(), H("div", uF, [
|
19070
19070
|
e.inputLabel ? (p(), H("label", {
|
19071
19071
|
key: 0,
|
@@ -19079,8 +19079,8 @@ const H0 = /* @__PURE__ */ Q(fF, [["__scopeId", "data-v-83458350"]]), uF = { cla
|
|
19079
19079
|
id: `${e.id}-info-tooltip`,
|
19080
19080
|
position: "right",
|
19081
19081
|
content: e.tooltipText
|
19082
|
-
}, null, 8, ["id", "content"])) :
|
19083
|
-
], 8, mF)) :
|
19082
|
+
}, null, 8, ["id", "content"])) : O("", !0)
|
19083
|
+
], 8, mF)) : O("", !0),
|
19084
19084
|
u("div", dF, [
|
19085
19085
|
u("div", vF, [
|
19086
19086
|
e.icon ? (p(), X(l, {
|
@@ -19088,7 +19088,7 @@ const H0 = /* @__PURE__ */ Q(fF, [["__scopeId", "data-v-83458350"]]), uF = { cla
|
|
19088
19088
|
icon: `fa-solid fa-${e.icon}`,
|
19089
19089
|
class: "AVTextInput--input-icon",
|
19090
19090
|
"data-test": "input-icon"
|
19091
|
-
}, null, 8, ["icon"])) :
|
19091
|
+
}, null, 8, ["icon"])) : O("", !0)
|
19092
19092
|
]),
|
19093
19093
|
u("input", {
|
19094
19094
|
id: e.id,
|
@@ -19105,9 +19105,9 @@ const H0 = /* @__PURE__ */ Q(fF, [["__scopeId", "data-v-83458350"]]), uF = { cla
|
|
19105
19105
|
class: "AVTextInput--error-icon",
|
19106
19106
|
"data-test": "input-error-icon"
|
19107
19107
|
})
|
19108
|
-
])) :
|
19108
|
+
])) : O("", !0)
|
19109
19109
|
]),
|
19110
|
-
e.error && e.errorMessage ? (p(), H("p", VF, x(e.errorMessage), 1)) :
|
19110
|
+
e.error && e.errorMessage ? (p(), H("p", VF, x(e.errorMessage), 1)) : O("", !0)
|
19111
19111
|
]);
|
19112
19112
|
};
|
19113
19113
|
}
|
@@ -19189,7 +19189,7 @@ const HF = /* @__PURE__ */ Q(zF, [["__scopeId", "data-v-9ab10a3b"]]), MF = { cla
|
|
19189
19189
|
(a.min === null || f >= a.min) && c("update:modelValue", f);
|
19190
19190
|
};
|
19191
19191
|
return (f, d) => {
|
19192
|
-
const m =
|
19192
|
+
const m = D("AVTooltip"), h = D("AVIcon");
|
19193
19193
|
return p(), H("div", MF, [
|
19194
19194
|
e.inputLabel ? (p(), H("label", {
|
19195
19195
|
key: 0,
|
@@ -19203,8 +19203,8 @@ const HF = /* @__PURE__ */ Q(zF, [["__scopeId", "data-v-9ab10a3b"]]), MF = { cla
|
|
19203
19203
|
id: `${e.id}-info-tooltip`,
|
19204
19204
|
position: "right",
|
19205
19205
|
content: e.tooltipText
|
19206
|
-
}, null, 8, ["id", "content"])) :
|
19207
|
-
], 8, gF)) :
|
19206
|
+
}, null, 8, ["id", "content"])) : O("", !0)
|
19207
|
+
], 8, gF)) : O("", !0),
|
19208
19208
|
u("div", {
|
19209
19209
|
class: "AVNumberInput--input-field",
|
19210
19210
|
onMouseenter: i,
|
@@ -19216,7 +19216,7 @@ const HF = /* @__PURE__ */ Q(zF, [["__scopeId", "data-v-9ab10a3b"]]), MF = { cla
|
|
19216
19216
|
icon: `fa-solid fa-${e.icon}`,
|
19217
19217
|
class: "AVNumberInput--input-icon",
|
19218
19218
|
"data-test": "input-icon"
|
19219
|
-
}, null, 8, ["icon"])) :
|
19219
|
+
}, null, 8, ["icon"])) : O("", !0)
|
19220
19220
|
]),
|
19221
19221
|
u("input", {
|
19222
19222
|
value: e.modelValue,
|
@@ -19266,9 +19266,9 @@ const HF = /* @__PURE__ */ Q(zF, [["__scopeId", "data-v-9ab10a3b"]]), MF = { cla
|
|
19266
19266
|
class: "AVNumberInput--error-icon",
|
19267
19267
|
"data-test": "input-error-icon"
|
19268
19268
|
})
|
19269
|
-
])) :
|
19269
|
+
])) : O("", !0)
|
19270
19270
|
], 32),
|
19271
|
-
e.error && e.errorMessage ? (p(), H("p", _F, x(e.errorMessage), 1)) :
|
19271
|
+
e.error && e.errorMessage ? (p(), H("p", _F, x(e.errorMessage), 1)) : O("", !0)
|
19272
19272
|
]);
|
19273
19273
|
};
|
19274
19274
|
}
|
@@ -19325,7 +19325,7 @@ const NF = /* @__PURE__ */ Q(yF, [["__scopeId", "data-v-cd10cd1f"]]), AF = { cla
|
|
19325
19325
|
c("update:modelValue", s.target.value);
|
19326
19326
|
};
|
19327
19327
|
return (s, i) => {
|
19328
|
-
const r =
|
19328
|
+
const r = D("AVTooltip"), l = D("AVIcon");
|
19329
19329
|
return p(), H("div", AF, [
|
19330
19330
|
e.inputLabel ? (p(), H("label", {
|
19331
19331
|
key: 0,
|
@@ -19339,11 +19339,11 @@ const NF = /* @__PURE__ */ Q(yF, [["__scopeId", "data-v-cd10cd1f"]]), AF = { cla
|
|
19339
19339
|
id: `${e.id}-info-tooltip`,
|
19340
19340
|
position: "right",
|
19341
19341
|
content: e.tooltipText
|
19342
|
-
}, null, 8, ["id", "content"])) :
|
19343
|
-
], 8, xF)) :
|
19342
|
+
}, null, 8, ["id", "content"])) : O("", !0)
|
19343
|
+
], 8, xF)) : O("", !0),
|
19344
19344
|
u("div", SF, [
|
19345
19345
|
u("div", kF, [
|
19346
|
-
e.disableIcon ?
|
19346
|
+
e.disableIcon ? O("", !0) : (p(), X(l, {
|
19347
19347
|
key: 0,
|
19348
19348
|
icon: "fa-solid fa-key",
|
19349
19349
|
class: "AVPaswordInput--input-icon",
|
@@ -19373,7 +19373,7 @@ const NF = /* @__PURE__ */ Q(yF, [["__scopeId", "data-v-cd10cd1f"]]), AF = { cla
|
|
19373
19373
|
])
|
19374
19374
|
], 2)
|
19375
19375
|
]),
|
19376
|
-
e.error && e.errorMessage ? (p(), H("p", TF, x(e.errorMessage), 1)) :
|
19376
|
+
e.error && e.errorMessage ? (p(), H("p", TF, x(e.errorMessage), 1)) : O("", !0)
|
19377
19377
|
]);
|
19378
19378
|
};
|
19379
19379
|
}
|
@@ -19432,7 +19432,7 @@ const EF = /* @__PURE__ */ Q(IF, [["__scopeId", "data-v-d3a76ffa"]]), DF = { cla
|
|
19432
19432
|
c("update:modelValue", t.target.value);
|
19433
19433
|
};
|
19434
19434
|
return (t, n) => {
|
19435
|
-
const s =
|
19435
|
+
const s = D("AVTooltip"), i = D("AVIcon");
|
19436
19436
|
return p(), H("div", DF, [
|
19437
19437
|
e.inputLabel ? (p(), H("label", {
|
19438
19438
|
key: 0,
|
@@ -19446,8 +19446,8 @@ const EF = /* @__PURE__ */ Q(IF, [["__scopeId", "data-v-d3a76ffa"]]), DF = { cla
|
|
19446
19446
|
id: `${e.id}-info-tooltip`,
|
19447
19447
|
position: "right",
|
19448
19448
|
content: e.tooltipText
|
19449
|
-
}, null, 8, ["id", "content"])) :
|
19450
|
-
], 8, OF)) :
|
19449
|
+
}, null, 8, ["id", "content"])) : O("", !0)
|
19450
|
+
], 8, OF)) : O("", !0),
|
19451
19451
|
u("div", PF, [
|
19452
19452
|
u("div", BF, [
|
19453
19453
|
e.icon ? (p(), X(i, {
|
@@ -19455,7 +19455,7 @@ const EF = /* @__PURE__ */ Q(IF, [["__scopeId", "data-v-d3a76ffa"]]), DF = { cla
|
|
19455
19455
|
icon: `fa-solid fa-${e.icon}`,
|
19456
19456
|
class: "AVDatetimeInput--input-icon",
|
19457
19457
|
"data-test": "input-icon"
|
19458
|
-
}, null, 8, ["icon"])) :
|
19458
|
+
}, null, 8, ["icon"])) : O("", !0)
|
19459
19459
|
]),
|
19460
19460
|
u("input", {
|
19461
19461
|
value: e.modelValue,
|
@@ -19471,7 +19471,7 @@ const EF = /* @__PURE__ */ Q(IF, [["__scopeId", "data-v-d3a76ffa"]]), DF = { cla
|
|
19471
19471
|
max: e.max
|
19472
19472
|
}, null, 46, FF)
|
19473
19473
|
]),
|
19474
|
-
e.error && e.errorMessage ? (p(), H("p", RF, x(e.errorMessage), 1)) :
|
19474
|
+
e.error && e.errorMessage ? (p(), H("p", RF, x(e.errorMessage), 1)) : O("", !0)
|
19475
19475
|
]);
|
19476
19476
|
};
|
19477
19477
|
}
|
@@ -19533,7 +19533,7 @@ const $F = /* @__PURE__ */ Q(jF, [["__scopeId", "data-v-2fe9b4c5"]]), UF = { cla
|
|
19533
19533
|
c("update:modelValue", t.target.value);
|
19534
19534
|
};
|
19535
19535
|
return (t, n) => {
|
19536
|
-
const s =
|
19536
|
+
const s = D("AVTooltip"), i = D("AVIcon");
|
19537
19537
|
return p(), H("div", UF, [
|
19538
19538
|
e.inputLabel ? (p(), H("label", {
|
19539
19539
|
key: 0,
|
@@ -19547,8 +19547,8 @@ const $F = /* @__PURE__ */ Q(jF, [["__scopeId", "data-v-2fe9b4c5"]]), UF = { cla
|
|
19547
19547
|
id: `${e.id}-info-tooltip`,
|
19548
19548
|
position: "right",
|
19549
19549
|
content: e.tooltipText
|
19550
|
-
}, null, 8, ["id", "content"])) :
|
19551
|
-
], 8, qF)) :
|
19550
|
+
}, null, 8, ["id", "content"])) : O("", !0)
|
19551
|
+
], 8, qF)) : O("", !0),
|
19552
19552
|
u("div", WF, [
|
19553
19553
|
u("div", {
|
19554
19554
|
class: "AVTextArea--icon-container",
|
@@ -19559,7 +19559,7 @@ const $F = /* @__PURE__ */ Q(jF, [["__scopeId", "data-v-2fe9b4c5"]]), UF = { cla
|
|
19559
19559
|
icon: `fa-solid fa-${e.icon}`,
|
19560
19560
|
class: "AVTextArea--input-icon",
|
19561
19561
|
"data-test": "input-icon"
|
19562
|
-
}, null, 8, ["icon"])) :
|
19562
|
+
}, null, 8, ["icon"])) : O("", !0)
|
19563
19563
|
], 4),
|
19564
19564
|
u("textarea", {
|
19565
19565
|
value: e.modelValue,
|
@@ -19578,9 +19578,9 @@ const $F = /* @__PURE__ */ Q(jF, [["__scopeId", "data-v-2fe9b4c5"]]), UF = { cla
|
|
19578
19578
|
class: "AVTextArea--error-icon",
|
19579
19579
|
"data-test": "input-error-icon"
|
19580
19580
|
})
|
19581
|
-
])) :
|
19581
|
+
])) : O("", !0)
|
19582
19582
|
]),
|
19583
|
-
e.error && e.errorMessage ? (p(), H("p", QF, x(e.errorMessage), 1)) :
|
19583
|
+
e.error && e.errorMessage ? (p(), H("p", QF, x(e.errorMessage), 1)) : O("", !0)
|
19584
19584
|
]);
|
19585
19585
|
};
|
19586
19586
|
}
|
@@ -19640,7 +19640,7 @@ const cR = /* @__PURE__ */ Q(eR, [["__scopeId", "data-v-fc292113"]]), aR = /* @_
|
|
19640
19640
|
c("onClick");
|
19641
19641
|
};
|
19642
19642
|
return (t, n) => {
|
19643
|
-
const s =
|
19643
|
+
const s = D("AVIcon");
|
19644
19644
|
return p(), H("button", {
|
19645
19645
|
type: "button",
|
19646
19646
|
class: G("AVRoundButton"),
|
@@ -19716,10 +19716,10 @@ const tR = /* @__PURE__ */ Q(aR, [["__scopeId", "data-v-ff11beb8"]]), nR = { cla
|
|
19716
19716
|
active: !1,
|
19717
19717
|
customWidth: null,
|
19718
19718
|
id: null
|
19719
|
-
}), n =
|
19719
|
+
}), n = E(() => a.options.map((l) => typeof l == "string" ? {
|
19720
19720
|
label: l,
|
19721
19721
|
value: l
|
19722
|
-
} : l)), s =
|
19722
|
+
} : l)), s = E(() => n.value.find(
|
19723
19723
|
(l) => l.value === a.modelValue
|
19724
19724
|
));
|
19725
19725
|
Q2(() => {
|
@@ -19733,7 +19733,7 @@ const tR = /* @__PURE__ */ Q(aR, [["__scopeId", "data-v-ff11beb8"]]), nR = { cla
|
|
19733
19733
|
a.disabled || (t.active = !t.active);
|
19734
19734
|
};
|
19735
19735
|
return (l, o) => {
|
19736
|
-
const f =
|
19736
|
+
const f = D("AVTooltip"), d = D("AVIcon"), m = D("AVDropdownItem"), h = D("AVDropdownContent");
|
19737
19737
|
return p(), H("div", nR, [
|
19738
19738
|
e.inputLabel ? (p(), H("label", {
|
19739
19739
|
key: 0,
|
@@ -19747,8 +19747,8 @@ const tR = /* @__PURE__ */ Q(aR, [["__scopeId", "data-v-ff11beb8"]]), nR = { cla
|
|
19747
19747
|
id: `${e.id}-info-tooltip`,
|
19748
19748
|
position: "right",
|
19749
19749
|
content: e.tooltipText
|
19750
|
-
}, null, 8, ["id", "content"])) :
|
19751
|
-
], 8, sR)) :
|
19750
|
+
}, null, 8, ["id", "content"])) : O("", !0)
|
19751
|
+
], 8, sR)) : O("", !0),
|
19752
19752
|
u("div", {
|
19753
19753
|
onClick: r,
|
19754
19754
|
class: "AVDropdown"
|
@@ -19769,7 +19769,7 @@ const tR = /* @__PURE__ */ Q(aR, [["__scopeId", "data-v-ff11beb8"]]), nR = { cla
|
|
19769
19769
|
class: "AVDropdown--input-icon",
|
19770
19770
|
"data-test": "input-icon"
|
19771
19771
|
}, null, 8, ["icon"])
|
19772
|
-
])) :
|
19772
|
+
])) : O("", !0),
|
19773
19773
|
s.value === void 0 ? (p(), H("span", lR, x(e.placeholder), 1)) : (p(), H("span", {
|
19774
19774
|
key: 2,
|
19775
19775
|
class: "AVDropdown--selected-option",
|
@@ -19788,14 +19788,14 @@ const tR = /* @__PURE__ */ Q(aR, [["__scopeId", "data-v-ff11beb8"]]), nR = { cla
|
|
19788
19788
|
(p(!0), H(s2, null, L2(n.value, (b) => (p(), X(m, {
|
19789
19789
|
key: b,
|
19790
19790
|
optionLabel: b.label,
|
19791
|
-
onOnSelected: (
|
19791
|
+
onOnSelected: (S) => i(b.value),
|
19792
19792
|
"data-test": "option"
|
19793
19793
|
}, null, 8, ["optionLabel", "onOnSelected"]))), 128))
|
19794
19794
|
]),
|
19795
19795
|
_: 1
|
19796
19796
|
})
|
19797
19797
|
]),
|
19798
|
-
e.error && e.errorMessage ? (p(), H("p", uR, x(e.errorMessage), 1)) :
|
19798
|
+
e.error && e.errorMessage ? (p(), H("p", uR, x(e.errorMessage), 1)) : O("", !0)
|
19799
19799
|
]);
|
19800
19800
|
};
|
19801
19801
|
}
|
@@ -19803,7 +19803,7 @@ const tR = /* @__PURE__ */ Q(aR, [["__scopeId", "data-v-ff11beb8"]]), nR = { cla
|
|
19803
19803
|
const dR = /* @__PURE__ */ Q(mR, [["__scopeId", "data-v-3005f857"]]), vR = ["aria-labelledby"], pR = /* @__PURE__ */ Y({
|
19804
19804
|
__name: "AVDropdownContent",
|
19805
19805
|
setup(e) {
|
19806
|
-
const c = E2("sharedState"), a =
|
19806
|
+
const c = E2("sharedState"), a = E(() => c.active), t = E(() => c.id);
|
19807
19807
|
return (n, s) => (p(), X(x1, { name: "dropdown-content" }, {
|
19808
19808
|
default: t2(() => [
|
19809
19809
|
a.value ? (p(), H("div", {
|
@@ -19812,7 +19812,7 @@ const dR = /* @__PURE__ */ Q(mR, [["__scopeId", "data-v-3005f857"]]), vR = ["ari
|
|
19812
19812
|
"aria-labelledby": t.value
|
19813
19813
|
}, [
|
19814
19814
|
C2(n.$slots, "default", {}, void 0, !0)
|
19815
|
-
], 8, vR)) :
|
19815
|
+
], 8, vR)) : O("", !0)
|
19816
19816
|
]),
|
19817
19817
|
_: 3
|
19818
19818
|
}));
|
@@ -19903,15 +19903,15 @@ const zR = /* @__PURE__ */ Q(VR, [["__scopeId", "data-v-2ca0bff3"]]), HR = {
|
|
19903
19903
|
warning: "circle-exclamation"
|
19904
19904
|
};
|
19905
19905
|
return (i, r) => {
|
19906
|
-
const l =
|
19906
|
+
const l = D("AVIcon");
|
19907
19907
|
return p(), H("div", {
|
19908
19908
|
class: G(`AVAlert AVAlert--${e.type}`),
|
19909
19909
|
style: r1(e.customWidth && `width: ${e.customWidth}px`),
|
19910
19910
|
"data-test": "alert"
|
19911
19911
|
}, [
|
19912
|
-
e.disableHeader ?
|
19912
|
+
e.disableHeader ? O("", !0) : (p(), H("div", HR, [
|
19913
19913
|
u("div", MR, [
|
19914
|
-
e.disableIcon ?
|
19914
|
+
e.disableIcon ? O("", !0) : (p(), H("div", gR, [
|
19915
19915
|
I(l, {
|
19916
19916
|
icon: `fa-solid fa-${e.icon !== "" ? e.icon : s[e.type]}`,
|
19917
19917
|
"data-test": "alert-icon"
|
@@ -19919,7 +19919,7 @@ const zR = /* @__PURE__ */ Q(VR, [["__scopeId", "data-v-2ca0bff3"]]), HR = {
|
|
19919
19919
|
])),
|
19920
19920
|
u("span", CR, x(e.title !== "" ? e.title : n[e.type]), 1)
|
19921
19921
|
]),
|
19922
|
-
e.disableDismiss ?
|
19922
|
+
e.disableDismiss ? O("", !0) : (p(), H("button", {
|
19923
19923
|
key: 0,
|
19924
19924
|
class: "AVAlert--icon-container",
|
19925
19925
|
onClick: t
|
@@ -20035,9 +20035,9 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20035
20035
|
c("fileFormatNotAccepted", C.name);
|
20036
20036
|
}
|
20037
20037
|
return L.files;
|
20038
|
-
}, m =
|
20038
|
+
}, m = E(() => a.accept.split(",")), h = E(() => a.accept.split(",").join(", ")), b = E(
|
20039
20039
|
() => m.value.map((M) => M.toLocaleLowerCase())
|
20040
|
-
),
|
20040
|
+
), S = (M) => M.split("/").pop(), A = (M) => {
|
20041
20041
|
M.preventDefault(), !a.disabled && (i.value.files = d(M.dataTransfer.files), r.value = a.multiple ? [...i.value.files] : [i.value.files[0]], c("update", r.value), s.value = !1);
|
20042
20042
|
}, V = (M) => {
|
20043
20043
|
r.value.splice(M, 1), c("update", r.value);
|
@@ -20050,9 +20050,9 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20050
20050
|
c("download", M);
|
20051
20051
|
};
|
20052
20052
|
return (M, _) => {
|
20053
|
-
const L =
|
20053
|
+
const L = D("AVTooltip"), C = D("AVIcon");
|
20054
20054
|
return p(), H("div", _R, [
|
20055
|
-
e.disableLabel ?
|
20055
|
+
e.disableLabel ? O("", !0) : (p(), H("label", {
|
20056
20056
|
key: 0,
|
20057
20057
|
for: e.id,
|
20058
20058
|
class: "AVFileInput--label",
|
@@ -20064,13 +20064,13 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20064
20064
|
id: `${e.id}-info-tooltip`,
|
20065
20065
|
position: "right",
|
20066
20066
|
content: e.tooltipText
|
20067
|
-
}, null, 8, ["id", "content"])) :
|
20067
|
+
}, null, 8, ["id", "content"])) : O("", !0)
|
20068
20068
|
], 8, yR)),
|
20069
20069
|
u("div", {
|
20070
20070
|
class: G(`AVFileInput--dropzone-container ${e.error && "error"} ${e.disabled && "disabled"}`),
|
20071
20071
|
onDragover: o,
|
20072
20072
|
onDragleave: f,
|
20073
|
-
onDrop:
|
20073
|
+
onDrop: A
|
20074
20074
|
}, [
|
20075
20075
|
u("input", {
|
20076
20076
|
type: "file",
|
@@ -20107,7 +20107,7 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20107
20107
|
]))
|
20108
20108
|
], 8, xR)
|
20109
20109
|
], 34),
|
20110
|
-
e.disableAcceptedFormats ?
|
20110
|
+
e.disableAcceptedFormats ? O("", !0) : (p(), H("p", ER, [
|
20111
20111
|
x2(x(F(n)("components.AVFileInput.acceptedFormats")) + " ", 1),
|
20112
20112
|
u("em", DR, x(h.value), 1)
|
20113
20113
|
])),
|
@@ -20135,7 +20135,7 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20135
20135
|
u("em", null, x(Math.round(k.size / 1e3) + "kb"), 1)
|
20136
20136
|
])
|
20137
20137
|
]),
|
20138
|
-
e.disabled ?
|
20138
|
+
e.disabled ? O("", !0) : (p(), H("button", {
|
20139
20139
|
key: 0,
|
20140
20140
|
class: "AVTextInput--delete-btn",
|
20141
20141
|
type: "button",
|
@@ -20149,7 +20149,7 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20149
20149
|
})
|
20150
20150
|
], 8, $R))
|
20151
20151
|
], 2))), 128))
|
20152
|
-
])) :
|
20152
|
+
])) : O("", !0),
|
20153
20153
|
e.currentValue ? (p(), H("div", UR, [
|
20154
20154
|
u("p", qR, x(F(n)("components.AVFileInput.current")), 1),
|
20155
20155
|
(p(!0), H(s2, null, L2(e.currentValue, (k) => (p(), H("div", {
|
@@ -20169,7 +20169,7 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20169
20169
|
"data-test": "file-preview-icon"
|
20170
20170
|
})
|
20171
20171
|
]),
|
20172
|
-
u("p", XR, x(
|
20172
|
+
u("p", XR, x(S(k)), 1)
|
20173
20173
|
]),
|
20174
20174
|
u("button", {
|
20175
20175
|
class: "AVTextInput--delete-btn",
|
@@ -20185,8 +20185,8 @@ const LR = /* @__PURE__ */ Q(bR, [["__scopeId", "data-v-0cc3f6d1"]]), _R = { cla
|
|
20185
20185
|
], 8, KR)
|
20186
20186
|
]))
|
20187
20187
|
]))), 128))
|
20188
|
-
])) :
|
20189
|
-
e.error && e.errorMessage ? (p(), H("p", ZR, x(e.errorMessage), 1)) :
|
20188
|
+
])) : O("", !0),
|
20189
|
+
e.error && e.errorMessage ? (p(), H("p", ZR, x(e.errorMessage), 1)) : O("", !0)
|
20190
20190
|
]);
|
20191
20191
|
};
|
20192
20192
|
}
|
@@ -20303,7 +20303,7 @@ const ij = /* @__PURE__ */ Q(sj, [["__scopeId", "data-v-d8e45fa7"]]), rj = ["hre
|
|
20303
20303
|
},
|
20304
20304
|
setup(e) {
|
20305
20305
|
return (c, a) => {
|
20306
|
-
const t =
|
20306
|
+
const t = D("AVIcon");
|
20307
20307
|
return p(), H("a", {
|
20308
20308
|
href: e.href,
|
20309
20309
|
referrerpolicy: e.referrerpolicy,
|
@@ -20312,7 +20312,7 @@ const ij = /* @__PURE__ */ Q(sj, [["__scopeId", "data-v-d8e45fa7"]]), rj = ["hre
|
|
20312
20312
|
class: G(`AVLink AVLink--${e.variant}`)
|
20313
20313
|
}, [
|
20314
20314
|
u("span", null, x(e.label), 1),
|
20315
|
-
e.disableIcon ?
|
20315
|
+
e.disableIcon ? O("", !0) : (p(), X(t, {
|
20316
20316
|
key: 0,
|
20317
20317
|
icon: "fa-solid fa-arrow-up-right-from-square",
|
20318
20318
|
class: "AVLink--icon",
|
@@ -20365,11 +20365,11 @@ const oj = /* @__PURE__ */ Q(lj, [["__scopeId", "data-v-999075bc"]]), fj = ["hre
|
|
20365
20365
|
},
|
20366
20366
|
emits: ["onClick"],
|
20367
20367
|
setup(e, { emit: c }) {
|
20368
|
-
const a = e, t =
|
20368
|
+
const a = e, t = E(() => a.href ? "link" : "button"), n = E(() => a.disabled ? null : a.href), s = () => {
|
20369
20369
|
c("onClick", a.reference);
|
20370
20370
|
};
|
20371
20371
|
return (i, r) => {
|
20372
|
-
const l =
|
20372
|
+
const l = D("AVIcon");
|
20373
20373
|
return t.value === "link" ? (p(), H("a", {
|
20374
20374
|
key: 0,
|
20375
20375
|
href: n.value,
|
@@ -20377,7 +20377,7 @@ const oj = /* @__PURE__ */ Q(lj, [["__scopeId", "data-v-999075bc"]]), fj = ["hre
|
|
20377
20377
|
target: e.target,
|
20378
20378
|
style: r1(`width: ${e.customWidth}px`)
|
20379
20379
|
}, [
|
20380
|
-
e.disableIcon ?
|
20380
|
+
e.disableIcon ? O("", !0) : (p(), X(l, {
|
20381
20381
|
key: 0,
|
20382
20382
|
icon: `fa-solid fa-${e.icon}`,
|
20383
20383
|
class: "AVNavbarItem--icon"
|
@@ -20390,7 +20390,7 @@ const oj = /* @__PURE__ */ Q(lj, [["__scopeId", "data-v-999075bc"]]), fj = ["hre
|
|
20390
20390
|
disabled: e.disabled,
|
20391
20391
|
onClick: s
|
20392
20392
|
}, [
|
20393
|
-
e.disableIcon ?
|
20393
|
+
e.disableIcon ? O("", !0) : (p(), X(l, {
|
20394
20394
|
key: 0,
|
20395
20395
|
icon: `fa-solid fa-${e.icon}`,
|
20396
20396
|
class: "AVNavbarItem--icon"
|
@@ -20451,7 +20451,7 @@ const pj = /* @__PURE__ */ Q(vj, [["__scopeId", "data-v-d205c709"]]), hj = ["hre
|
|
20451
20451
|
},
|
20452
20452
|
emits: ["onClick"],
|
20453
20453
|
setup(e, { emit: c }) {
|
20454
|
-
const a = e, t = J(!1), n =
|
20454
|
+
const a = e, t = J(!1), n = E(() => a.href ? "link" : "button"), s = E(() => a.disabled ? null : a.href), i = E(() => a.type === "step" ? "number" : "icon"), r = E(
|
20455
20455
|
() => a.type === "step" ? a.stepIndex : a.icon
|
20456
20456
|
), l = () => {
|
20457
20457
|
a.disabled || (t.value = !t.value);
|
@@ -20526,7 +20526,7 @@ const gj = /* @__PURE__ */ Q(Mj, [["__scopeId", "data-v-835677d9"]]), Cj = { cla
|
|
20526
20526
|
},
|
20527
20527
|
setup(e) {
|
20528
20528
|
return (c, a) => {
|
20529
|
-
const t =
|
20529
|
+
const t = D("AVIcon"), n = D("popper-tooltip");
|
20530
20530
|
return p(), X(n, {
|
20531
20531
|
hover: "",
|
20532
20532
|
placement: e.position,
|
@@ -20535,13 +20535,13 @@ const gj = /* @__PURE__ */ Q(Mj, [["__scopeId", "data-v-835677d9"]]), Cj = { cla
|
|
20535
20535
|
}, {
|
20536
20536
|
default: t2(() => [
|
20537
20537
|
u("div", Cj, [
|
20538
|
-
e.text ? (p(), H("span", bj, x(e.text), 1)) :
|
20538
|
+
e.text ? (p(), H("span", bj, x(e.text), 1)) : O("", !0),
|
20539
20539
|
e.icon ? (p(), X(t, {
|
20540
20540
|
key: 1,
|
20541
20541
|
icon: e.icon,
|
20542
20542
|
class: "AVTooltip--icon",
|
20543
20543
|
"aria-hidden": "true"
|
20544
|
-
}, null, 8, ["icon"])) :
|
20544
|
+
}, null, 8, ["icon"])) : O("", !0)
|
20545
20545
|
])
|
20546
20546
|
]),
|
20547
20547
|
content: t2(() => [
|
@@ -20584,7 +20584,7 @@ const yj = /* @__PURE__ */ Q(_j, [["__scopeId", "data-v-f09132ab"]]), Nj = { cla
|
|
20584
20584
|
a.active = !a.active;
|
20585
20585
|
};
|
20586
20586
|
return is("sharedState", a), (n, s) => {
|
20587
|
-
const i =
|
20587
|
+
const i = D("AVIcon"), r = D("AVMenuDropdownItem"), l = D("AVMenuDropdownContent");
|
20588
20588
|
return p(), H("div", Nj, [
|
20589
20589
|
u("button", {
|
20590
20590
|
class: "AVMenuDropdown--button",
|
@@ -20628,7 +20628,7 @@ const yj = /* @__PURE__ */ Q(_j, [["__scopeId", "data-v-f09132ab"]]), Nj = { cla
|
|
20628
20628
|
const Sj = /* @__PURE__ */ Q(xj, [["__scopeId", "data-v-9cd08151"]]), kj = ["aria-labelledby"], wj = /* @__PURE__ */ Y({
|
20629
20629
|
__name: "AVMenuDropdownContent",
|
20630
20630
|
setup(e) {
|
20631
|
-
const c = E2("sharedState"), a =
|
20631
|
+
const c = E2("sharedState"), a = E(() => c.active), t = E(() => c.id);
|
20632
20632
|
return (n, s) => (p(), X(x1, { name: "dropdown-content" }, {
|
20633
20633
|
default: t2(() => [
|
20634
20634
|
a.value ? (p(), H("div", {
|
@@ -20637,7 +20637,7 @@ const Sj = /* @__PURE__ */ Q(xj, [["__scopeId", "data-v-9cd08151"]]), kj = ["ari
|
|
20637
20637
|
"aria-labelledby": t.value
|
20638
20638
|
}, [
|
20639
20639
|
C2(n.$slots, "default", {}, void 0, !0)
|
20640
|
-
], 8, kj)) :
|
20640
|
+
], 8, kj)) : O("", !0)
|
20641
20641
|
]),
|
20642
20642
|
_: 3
|
20643
20643
|
}));
|
@@ -20665,7 +20665,7 @@ const Tj = /* @__PURE__ */ Q(wj, [["__scopeId", "data-v-e8fb623b"]]), Ij = ["hre
|
|
20665
20665
|
},
|
20666
20666
|
setup(e) {
|
20667
20667
|
return (c, a) => {
|
20668
|
-
const t =
|
20668
|
+
const t = D("AVIcon");
|
20669
20669
|
return p(), H("a", {
|
20670
20670
|
class: G(`AVMenuDropdownItem ${e.destructive && "AVMenuDropdownItem--destructive"}`),
|
20671
20671
|
href: e.href
|
@@ -20675,7 +20675,7 @@ const Tj = /* @__PURE__ */ Q(wj, [["__scopeId", "data-v-e8fb623b"]]), Ij = ["hre
|
|
20675
20675
|
class: "AVMenuDropdownItem--icon",
|
20676
20676
|
icon: `fa-solid fa-${e.icon}`,
|
20677
20677
|
"data-test": "option-icon"
|
20678
|
-
}, null, 8, ["icon"])) :
|
20678
|
+
}, null, 8, ["icon"])) : O("", !0),
|
20679
20679
|
x2(" " + x(e.optionLabel), 1)
|
20680
20680
|
], 10, Ij);
|
20681
20681
|
};
|
@@ -20723,7 +20723,7 @@ const Dj = /* @__PURE__ */ Q(Ej, [["__scopeId", "data-v-f770cea1"]]), Oj = ["dis
|
|
20723
20723
|
setup(e, { emit: c }) {
|
20724
20724
|
const a = e, t = J(!1);
|
20725
20725
|
b2(t, (r) => c("update:waiting", r));
|
20726
|
-
const n =
|
20726
|
+
const n = E(() => {
|
20727
20727
|
if (!t.value)
|
20728
20728
|
switch (a.variant) {
|
20729
20729
|
case "default":
|
@@ -20735,7 +20735,7 @@ const Dj = /* @__PURE__ */ Q(Ej, [["__scopeId", "data-v-f770cea1"]]), Oj = ["dis
|
|
20735
20735
|
default:
|
20736
20736
|
return a.defaultIcon;
|
20737
20737
|
}
|
20738
|
-
}), s =
|
20738
|
+
}), s = E(() => a.disabled || t.value);
|
20739
20739
|
async function i(r) {
|
20740
20740
|
t.value = !0;
|
20741
20741
|
try {
|
@@ -20745,7 +20745,7 @@ const Dj = /* @__PURE__ */ Q(Ej, [["__scopeId", "data-v-f770cea1"]]), Oj = ["dis
|
|
20745
20745
|
}
|
20746
20746
|
}
|
20747
20747
|
return (r, l) => {
|
20748
|
-
const o =
|
20748
|
+
const o = D("AVIcon"), f = D("AVSpinner");
|
20749
20749
|
return p(), H("button", {
|
20750
20750
|
disabled: s.value,
|
20751
20751
|
onClick: i,
|
@@ -20799,7 +20799,7 @@ const Bj = /* @__PURE__ */ Q(Pj, [["__scopeId", "data-v-11042fa9"]]), Fj = { cla
|
|
20799
20799
|
},
|
20800
20800
|
emits: ["update"],
|
20801
20801
|
setup(e, { emit: c }) {
|
20802
|
-
const a = e, t = J([]), n = J(""), s =
|
20802
|
+
const a = e, t = J([]), n = J(""), s = E(() => a.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
|
20803
20803
|
Q2(() => i());
|
20804
20804
|
const i = () => {
|
20805
20805
|
t.value = [], a.options.map(
|
@@ -20869,9 +20869,9 @@ const $j = /* @__PURE__ */ Q(jj, [["__scopeId", "data-v-413f60c7"]]), Uj = { cla
|
|
20869
20869
|
}
|
20870
20870
|
},
|
20871
20871
|
setup(e) {
|
20872
|
-
const c = e, a =
|
20872
|
+
const c = e, a = E(() => c.currentBallots >= c.minimumBallots), t = E(() => c.minimumBallots - c.currentBallots);
|
20873
20873
|
return (n, s) => {
|
20874
|
-
const i =
|
20874
|
+
const i = D("AVIcon"), r = D("AVSpinner");
|
20875
20875
|
return p(), H("div", Uj, [
|
20876
20876
|
u("div", qj, [
|
20877
20877
|
I(i, {
|
@@ -20938,9 +20938,9 @@ const Yj = /* @__PURE__ */ Q(Gj, [["__scopeId", "data-v-607d90fc"]]), Qj = {
|
|
20938
20938
|
const f = setInterval(() => {
|
20939
20939
|
t.value = t.value + 1, t.value >= a.timeout && (clearInterval(f), c("expired", !0, a.timeout));
|
20940
20940
|
}, 1e3);
|
20941
|
-
}, s =
|
20941
|
+
}, s = E(() => 100 - t.value / a.timeout * 100), i = E(
|
20942
20942
|
() => Math.floor((a.timeout - t.value) / 60)
|
20943
|
-
), r =
|
20943
|
+
), r = E(() => (a.timeout - t.value) % 60), l = E(() => i.value % 60), o = E(() => r.value < 10 ? `${l.value}:0${r.value}` : `${l.value}:${r.value}`);
|
20944
20944
|
return (f, d) => (p(), H(s2, null, [
|
20945
20945
|
u("div", {
|
20946
20946
|
class: "AVTimedCard",
|
@@ -20999,12 +20999,12 @@ const Zj = /* @__PURE__ */ Q(Kj, [["__scopeId", "data-v-583fff65"]]), Jj = (e) =
|
|
20999
20999
|
class: G(`AVBasicSteps--step ${a(e.steps[1]) && "AVBasicSteps--step-active"}`),
|
21000
21000
|
"data-test": "step"
|
21001
21001
|
}, x(e.steps[1]), 3),
|
21002
|
-
e.steps.length === 3 ? (p(), H("span", a$)) :
|
21002
|
+
e.steps.length === 3 ? (p(), H("span", a$)) : O("", !0),
|
21003
21003
|
e.steps.length === 3 ? (p(), H("span", {
|
21004
21004
|
key: 1,
|
21005
21005
|
class: G(`AVBasicSteps--step ${a(e.steps[2]) && "AVBasicSteps--step-active"}`),
|
21006
21006
|
"data-test": "step"
|
21007
|
-
}, x(e.steps[2]), 3)) :
|
21007
|
+
}, x(e.steps[2]), 3)) : O("", !0)
|
21008
21008
|
]));
|
21009
21009
|
}
|
21010
21010
|
});
|
@@ -21053,9 +21053,9 @@ const n$ = /* @__PURE__ */ Q(t$, [["__scopeId", "data-v-9a6218e9"]]), s$ = { cla
|
|
21053
21053
|
() => c.done,
|
21054
21054
|
() => t()
|
21055
21055
|
);
|
21056
|
-
const s =
|
21056
|
+
const s = E(() => `${100 / c.steps.length}%`);
|
21057
21057
|
return (i, r) => {
|
21058
|
-
const l =
|
21058
|
+
const l = D("AVIcon");
|
21059
21059
|
return p(), H("div", s$, [
|
21060
21060
|
(p(!0), H(s2, null, L2(a.value, (o, f) => (p(), H("div", {
|
21061
21061
|
key: f,
|
@@ -21079,7 +21079,7 @@ const n$ = /* @__PURE__ */ Q(t$, [["__scopeId", "data-v-9a6218e9"]]), s$ = { cla
|
|
21079
21079
|
};
|
21080
21080
|
}
|
21081
21081
|
});
|
21082
|
-
const l$ = /* @__PURE__ */ Q(r$, [["__scopeId", "data-v-a4539298"]]), ZT = (e) => (D1("data-v-
|
21082
|
+
const l$ = /* @__PURE__ */ Q(r$, [["__scopeId", "data-v-a4539298"]]), ZT = (e) => (D1("data-v-e2357b7a"), e = e(), O1(), e), o$ = ["aria-label"], f$ = {
|
21083
21083
|
key: 0,
|
21084
21084
|
"aria-hidden": "true"
|
21085
21085
|
}, u$ = {
|
@@ -21114,10 +21114,10 @@ const l$ = /* @__PURE__ */ Q(r$, [["__scopeId", "data-v-a4539298"]]), ZT = (e) =
|
|
21114
21114
|
}
|
21115
21115
|
},
|
21116
21116
|
setup(e) {
|
21117
|
-
const c = e, a = E2("i18n"), t =
|
21118
|
-
return (
|
21117
|
+
const c = e, a = E2("i18n"), t = E(() => a.global.locale), n = E(() => c.rank ? document.getElementsByTagName("html")[0].dir === "rtl" ? `${c.rank} ${a.global.messages[t.value].components.AVOptionSelect.value.aria_label}` : `${a.global.messages[t.value].components.AVOptionSelect.value.aria_label} ${c.rank}` : "");
|
21118
|
+
return (s, i) => S1((p(), H("div", {
|
21119
21119
|
class: "AVOptionSelect",
|
21120
|
-
"aria-label":
|
21120
|
+
"aria-label": n.value
|
21121
21121
|
}, [
|
21122
21122
|
e.rank ? (p(), H("span", f$, x(e.rank), 1)) : (p(), H("svg", u$, v$))
|
21123
21123
|
], 8, o$)), [
|
@@ -21125,7 +21125,7 @@ const l$ = /* @__PURE__ */ Q(r$, [["__scopeId", "data-v-a4539298"]]), ZT = (e) =
|
|
21125
21125
|
]);
|
21126
21126
|
}
|
21127
21127
|
});
|
21128
|
-
const h$ = /* @__PURE__ */ Q(p$, [["__scopeId", "data-v-
|
21128
|
+
const h$ = /* @__PURE__ */ Q(p$, [["__scopeId", "data-v-e2357b7a"]]), V$ = { class: "AVOptionCheckbox--container" }, z$ = {
|
21129
21129
|
key: 0,
|
21130
21130
|
class: "AVOptionCheckbox--exclusive-container"
|
21131
21131
|
}, H$ = { class: "AVOptionCheckbox--exclusive" }, M$ = ["aria-checked", "tabindex", "aria-disabled", "disabled", "onClick", "onKeydown"], g$ = /* @__PURE__ */ Y({
|
@@ -21158,7 +21158,7 @@ const h$ = /* @__PURE__ */ Q(p$, [["__scopeId", "data-v-3c29698d"]]), V$ = { cla
|
|
21158
21158
|
},
|
21159
21159
|
emits: ["toggled"],
|
21160
21160
|
setup(e, { emit: c }) {
|
21161
|
-
const a = e, t = E2("i18n"), { t: n } = t.global, s =
|
21161
|
+
const a = e, t = E2("i18n"), { t: n } = t.global, s = E(() => t.global.locale), i = () => c("toggled"), r = E(() => a.optionReference ? {
|
21162
21162
|
id: `option_${a.optionReference}_checkbox_${a.checkBoxIndex}`,
|
21163
21163
|
role: "checkbox",
|
21164
21164
|
"aria-labelledby": `option_${a.optionReference}_title option_${a.optionReference}_tick option_${a.optionReference}_subtitle`,
|
@@ -21166,11 +21166,11 @@ const h$ = /* @__PURE__ */ Q(p$, [["__scopeId", "data-v-3c29698d"]]), V$ = { cla
|
|
21166
21166
|
tabindex: 0
|
21167
21167
|
} : {});
|
21168
21168
|
return (l, o) => {
|
21169
|
-
const f =
|
21169
|
+
const f = D("AVOptionSelect");
|
21170
21170
|
return p(), H("div", V$, [
|
21171
21171
|
e.exclusiveError && e.checked ? (p(), H("div", z$, [
|
21172
21172
|
u("div", H$, x(F(n)("components.AVOptionCheckbox.exclusive_option")), 1)
|
21173
|
-
])) :
|
21173
|
+
])) : O("", !0),
|
21174
21174
|
u("button", uI({
|
21175
21175
|
class: {
|
21176
21176
|
AVOptionCheckbox: !0,
|
@@ -21192,7 +21192,7 @@ const h$ = /* @__PURE__ */ Q(p$, [["__scopeId", "data-v-3c29698d"]]), V$ = { cla
|
|
21192
21192
|
rank: e.rank,
|
21193
21193
|
checked: e.checked,
|
21194
21194
|
locale: s.value
|
21195
|
-
}, null, 8, ["id", "rank", "checked", "locale"])) :
|
21195
|
+
}, null, 8, ["id", "rank", "checked", "locale"])) : O("", !0)
|
21196
21196
|
], 16, M$)
|
21197
21197
|
]);
|
21198
21198
|
};
|
@@ -21255,7 +21255,7 @@ const C$ = /* @__PURE__ */ Q(g$, [["__scopeId", "data-v-edf78705"]]), b$ = /* @_
|
|
21255
21255
|
},
|
21256
21256
|
emits: ["accordionOpen"],
|
21257
21257
|
setup(e, { emit: c }) {
|
21258
|
-
const a = e, t = J(!1), n = J(!0), s =
|
21258
|
+
const a = e, t = J(!1), n = J(!0), s = E(() => ({
|
21259
21259
|
collapsable: a.collapsable,
|
21260
21260
|
startCollapsed: a.startCollapsed
|
21261
21261
|
}));
|
@@ -21267,7 +21267,7 @@ const C$ = /* @__PURE__ */ Q(g$, [["__scopeId", "data-v-edf78705"]]), b$ = /* @_
|
|
21267
21267
|
a.collapsable && (n.value = l, r === null ? t.value = !t.value : t.value = !!r, t.value && c("accordionOpen"));
|
21268
21268
|
};
|
21269
21269
|
return (r, l) => {
|
21270
|
-
const o =
|
21270
|
+
const o = D("AVTransitionSlide");
|
21271
21271
|
return e.collapsable ? (p(), H(s2, { key: 0 }, [
|
21272
21272
|
u("div", {
|
21273
21273
|
role: "button",
|
@@ -21398,9 +21398,9 @@ const N$ = /* @__PURE__ */ Q(y$, [["__scopeId", "data-v-4e9b2c30"]]), A$ = { cla
|
|
21398
21398
|
i();
|
21399
21399
|
}
|
21400
21400
|
), (o, f) => {
|
21401
|
-
const d =
|
21401
|
+
const d = D("AVRadio");
|
21402
21402
|
return p(), H("div", A$, [
|
21403
|
-
e.disableLabel ?
|
21403
|
+
e.disableLabel ? O("", !0) : (p(), H("label", {
|
21404
21404
|
key: 0,
|
21405
21405
|
for: e.id,
|
21406
21406
|
class: "AVRadioGroup--label",
|
@@ -21420,7 +21420,7 @@ const N$ = /* @__PURE__ */ Q(y$, [["__scopeId", "data-v-4e9b2c30"]]), A$ = { cla
|
|
21420
21420
|
onUpdate: (b) => r(m.value)
|
21421
21421
|
}, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
|
21422
21422
|
], 2),
|
21423
|
-
e.error && e.errorMessage ? (p(), H("p", S$, x(e.errorMessage), 1)) :
|
21423
|
+
e.error && e.errorMessage ? (p(), H("p", S$, x(e.errorMessage), 1)) : O("", !0)
|
21424
21424
|
]);
|
21425
21425
|
};
|
21426
21426
|
}
|
@@ -21460,10 +21460,10 @@ const I$ = /* @__PURE__ */ Q(T$, [["__scopeId", "data-v-9fd5c53d"]]), E$ = { cla
|
|
21460
21460
|
},
|
21461
21461
|
setup(e) {
|
21462
21462
|
return (c, a) => {
|
21463
|
-
const t =
|
21463
|
+
const t = D("AVIcon");
|
21464
21464
|
return p(), H("div", E$, [
|
21465
21465
|
u("a", { href: e.buttonHref }, [
|
21466
|
-
e.disableButton ?
|
21466
|
+
e.disableButton ? O("", !0) : (p(), X(t, {
|
21467
21467
|
key: 0,
|
21468
21468
|
icon: "fa-solid fa-circle-chevron-left",
|
21469
21469
|
class: "AVBreadcrumb--icon"
|
@@ -21552,9 +21552,9 @@ const B$ = /* @__PURE__ */ Q(P$, [["__scopeId", "data-v-71e09fe3"]]), F$ = ["hre
|
|
21552
21552
|
open: "success",
|
21553
21553
|
closed: "danger",
|
21554
21554
|
archived: "default"
|
21555
|
-
}, t =
|
21555
|
+
}, t = E(() => a[c.status]);
|
21556
21556
|
return (n, s) => {
|
21557
|
-
const i =
|
21557
|
+
const i = D("AVLabel"), r = D("AVIcon"), l = D("AVCard");
|
21558
21558
|
return p(), H("a", {
|
21559
21559
|
href: e.href,
|
21560
21560
|
class: "AVElectionCard",
|
@@ -21653,7 +21653,7 @@ const tU = /* @__PURE__ */ Q(aU, [["__scopeId", "data-v-dd72671e"]]), nU = ["hre
|
|
21653
21653
|
},
|
21654
21654
|
setup(e) {
|
21655
21655
|
return (c, a) => {
|
21656
|
-
const t =
|
21656
|
+
const t = D("AVIcon"), n = D("AVCard");
|
21657
21657
|
return p(), H("a", {
|
21658
21658
|
href: e.href,
|
21659
21659
|
class: "AVBallotStyleCard",
|
@@ -21665,7 +21665,7 @@ const tU = /* @__PURE__ */ Q(aU, [["__scopeId", "data-v-dd72671e"]]), nU = ["hre
|
|
21665
21665
|
u("div", sU, [
|
21666
21666
|
e.reviewed ? (p(), H("div", iU, [
|
21667
21667
|
I(t, { icon: "fa-solid fa-check" })
|
21668
|
-
])) :
|
21668
|
+
])) : O("", !0),
|
21669
21669
|
u("div", rU, [
|
21670
21670
|
u("div", lU, x(e.name), 1),
|
21671
21671
|
u("div", oU, x(`${e.contestQty} ${e.contestLabel}`), 1)
|
@@ -21708,24 +21708,24 @@ const mU = /* @__PURE__ */ Q(uU, [["__scopeId", "data-v-c682a2cf"]]), dU = ["ari
|
|
21708
21708
|
}
|
21709
21709
|
},
|
21710
21710
|
setup(e) {
|
21711
|
-
const c = e, a = E2("i18n"), { t } = a.global, n =
|
21711
|
+
const c = e, a = E2("i18n"), { t } = a.global, n = E(() => a.global.locale), s = E(
|
21712
21712
|
() => {
|
21713
|
-
var
|
21714
|
-
return ((
|
21713
|
+
var l, o;
|
21714
|
+
return ((l = c.option) == null ? void 0 : l.crosses) && ((o = c.option) == null ? void 0 : o.crosses) > 1 && c.multipleVotesAllowed && !c.blank;
|
21715
21715
|
}
|
21716
|
-
),
|
21717
|
-
var
|
21718
|
-
return c.blank ? a.global.messages.components.AVSummaryOption.value.blank : (
|
21719
|
-
}),
|
21720
|
-
var
|
21721
|
-
const
|
21722
|
-
|
21723
|
-
const
|
21724
|
-
return
|
21716
|
+
), i = E(() => {
|
21717
|
+
var l;
|
21718
|
+
return c.blank ? a.global.messages[n.value].components.AVSummaryOption.value.blank : (l = c.option) == null ? void 0 : l.title;
|
21719
|
+
}), r = E(() => {
|
21720
|
+
var m, h;
|
21721
|
+
const l = Array.from(Array((m = c.option) == null ? void 0 : m.crosses).keys());
|
21722
|
+
l.forEach((b) => l[b] = b + 1);
|
21723
|
+
const o = l.indexOf(Math.ceil(((h = c.option) == null ? void 0 : h.crosses) / 2)) + 1, f = l.slice(0, o), d = l.slice(o);
|
21724
|
+
return d.length ? [f, d] : [f];
|
21725
21725
|
});
|
21726
|
-
return (
|
21727
|
-
var
|
21728
|
-
const
|
21726
|
+
return (l, o) => {
|
21727
|
+
var d, m, h;
|
21728
|
+
const f = D("AVOptionCheckbox");
|
21729
21729
|
return p(), H("div", {
|
21730
21730
|
class: "AVSummaryOption",
|
21731
21731
|
"aria-label": F(t)("components.AVSummaryOption.option")
|
@@ -21733,42 +21733,42 @@ const mU = /* @__PURE__ */ Q(uU, [["__scopeId", "data-v-c682a2cf"]]), dU = ["ari
|
|
21733
21733
|
u("div", {
|
21734
21734
|
class: G({
|
21735
21735
|
"AVSummaryOption--header": !0,
|
21736
|
-
"AVSummaryOption--header-multiple":
|
21736
|
+
"AVSummaryOption--header-multiple": s.value
|
21737
21737
|
})
|
21738
21738
|
}, [
|
21739
|
-
(
|
21739
|
+
(d = e.option) != null && d.image ? (p(), H("img", {
|
21740
21740
|
key: 0,
|
21741
|
-
src: (
|
21741
|
+
src: (m = e.option) == null ? void 0 : m.image,
|
21742
21742
|
class: "AVSummaryOption--img",
|
21743
21743
|
alt: F(t)("components.AVSummaryOption.option_image")
|
21744
|
-
}, null, 8, vU)) :
|
21744
|
+
}, null, 8, vU)) : O("", !0),
|
21745
21745
|
u("div", pU, [
|
21746
|
-
u("div", hU, x(
|
21746
|
+
u("div", hU, x(i.value), 1)
|
21747
21747
|
]),
|
21748
|
-
|
21749
|
-
I(
|
21748
|
+
s.value ? O("", !0) : (p(), H("div", VU, [
|
21749
|
+
I(f, {
|
21750
21750
|
checked: !0,
|
21751
|
-
rank: (
|
21751
|
+
rank: (h = e.option) == null ? void 0 : h.rank,
|
21752
21752
|
disabled: !0
|
21753
21753
|
}, null, 8, ["rank"])
|
21754
21754
|
]))
|
21755
21755
|
], 2),
|
21756
|
-
|
21757
|
-
(p(!0), H(s2, null, L2(
|
21758
|
-
key:
|
21756
|
+
s.value ? (p(), H("div", zU, [
|
21757
|
+
(p(!0), H(s2, null, L2(r.value, (b) => (p(), H("div", {
|
21758
|
+
key: b.toString(),
|
21759
21759
|
class: "AVSummaryOption--group"
|
21760
21760
|
}, [
|
21761
|
-
(p(!0), H(s2, null, L2(
|
21761
|
+
(p(!0), H(s2, null, L2(b, (S) => {
|
21762
21762
|
var A;
|
21763
|
-
return p(), X(
|
21764
|
-
key:
|
21763
|
+
return p(), X(f, {
|
21764
|
+
key: S,
|
21765
21765
|
checked: !0,
|
21766
21766
|
rank: (A = e.option) == null ? void 0 : A.rank,
|
21767
21767
|
disabled: !0
|
21768
21768
|
}, null, 8, ["rank"]);
|
21769
21769
|
}), 128))
|
21770
21770
|
]))), 128))
|
21771
|
-
])) :
|
21771
|
+
])) : O("", !0)
|
21772
21772
|
], 8, dU);
|
21773
21773
|
};
|
21774
21774
|
}
|
@@ -21832,44 +21832,44 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
21832
21832
|
},
|
21833
21833
|
emits: ["accordion-open", "checked"],
|
21834
21834
|
setup(e, { emit: c }) {
|
21835
|
-
const a = e, t = E2("i18n"), { t: n } = t.global, s =
|
21835
|
+
const a = e, t = E2("i18n"), { t: n } = t.global, s = E(() => t.global.locale), { eventBus: i } = JT(), r = J(!1), l = J(null), o = E(
|
21836
21836
|
() => document.getElementsByTagName("html")[0].dir === "rtl"
|
21837
|
-
), f =
|
21837
|
+
), f = E(
|
21838
21838
|
() => a.contest.markingType.voteVariation === "ranked"
|
21839
|
-
), d =
|
21839
|
+
), d = E(
|
21840
21840
|
() => a.selections.filter(
|
21841
21841
|
(U) => U.reference === a.option.reference
|
21842
21842
|
).length
|
21843
|
-
), m =
|
21843
|
+
), m = E(() => a.option.title[s.value] ?? ""), h = E(
|
21844
21844
|
() => {
|
21845
21845
|
var U;
|
21846
21846
|
return ((U = a.option.description) == null ? void 0 : U[s.value]) ?? "";
|
21847
21847
|
}
|
21848
|
-
), b =
|
21848
|
+
), b = E(() => {
|
21849
21849
|
var U;
|
21850
21850
|
return ((U = a.option.url) == null ? void 0 : U[s.value]) ?? "";
|
21851
|
-
}),
|
21851
|
+
}), S = E(() => {
|
21852
21852
|
var U;
|
21853
21853
|
return ((U = a.option.videoUrl) == null ? void 0 : U[s.value]) ?? "";
|
21854
|
-
}),
|
21854
|
+
}), A = E(() => a.option.image), g = J(function() {
|
21855
21855
|
return a.option.randomizeChildren ? a.option.children.slice().sort(() => Math.random() - 0.5) : a.option.children;
|
21856
|
-
}()), y =
|
21856
|
+
}()), y = E(() => {
|
21857
21857
|
let U = [];
|
21858
21858
|
return b.value && U.push({
|
21859
21859
|
url: b.value,
|
21860
21860
|
text: n("components.AVOption.value.info_link_text_html")
|
21861
|
-
}),
|
21862
|
-
url:
|
21861
|
+
}), S.value && U.push({
|
21862
|
+
url: S.value,
|
21863
21863
|
text: n("components.AVOption.value.video_link_text_html")
|
21864
21864
|
}), U;
|
21865
|
-
}), M =
|
21865
|
+
}), M = E(
|
21866
21866
|
() => a.option.children && a.option.children.length > 0
|
21867
|
-
), _ =
|
21867
|
+
), _ = E(() => a.option.selectable !== void 0 && !a.option.selectable ? 0 : C.value ? 1 : a.option.voteLimit || a.contest.markingType.votesAllowedPerOption || 1), L = E(() => a.selections.length > 0 ? R(a.option.children) : 0), C = E(() => a.option.exclusive), k = E(() => {
|
21868
21868
|
const U = Array.from(Array(_.value).keys());
|
21869
21869
|
U.forEach((d2) => U[d2] = d2 + 1);
|
21870
21870
|
const f2 = U.indexOf(Math.ceil(_.value / 2)) + 1, m2 = U.slice(0, f2), n2 = U.slice(f2);
|
21871
21871
|
return n2.length ? [m2, n2] : [m2];
|
21872
|
-
}), w =
|
21872
|
+
}), w = E(() => a.partialResults ? a.partialResults[a.option.reference] : null), P = (U, f2 = 1) => {
|
21873
21873
|
c("checked", {
|
21874
21874
|
reference: U,
|
21875
21875
|
amount: f2
|
@@ -21893,7 +21893,7 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
21893
21893
|
c2(f2);
|
21894
21894
|
}
|
21895
21895
|
), (U, f2) => {
|
21896
|
-
const m2 =
|
21896
|
+
const m2 = D("AVIcon"), n2 = D("AVOptionCheckbox"), d2 = D("AVOption", !0), D2 = D("AVCollapser");
|
21897
21897
|
return p(), H("div", {
|
21898
21898
|
class: G({
|
21899
21899
|
"AVOption--background": !0,
|
@@ -21933,12 +21933,12 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
21933
21933
|
}, [
|
21934
21934
|
u("div", CU, [
|
21935
21935
|
u("header", bU, [
|
21936
|
-
|
21936
|
+
A.value ? (p(), H("img", {
|
21937
21937
|
key: 0,
|
21938
|
-
src:
|
21938
|
+
src: A.value,
|
21939
21939
|
alt: F(n)("components.AVOption.aria_labels.option_image"),
|
21940
21940
|
class: "AVOption-image"
|
21941
|
-
}, null, 8, LU)) :
|
21941
|
+
}, null, 8, LU)) : O("", !0),
|
21942
21942
|
u("h5", {
|
21943
21943
|
class: "AVOption--title",
|
21944
21944
|
textContent: x(m.value)
|
@@ -21947,7 +21947,7 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
21947
21947
|
h.value || y.value.length || M.value ? (p(), H("div", yU, [
|
21948
21948
|
h.value ? (p(), H("div", NU, [
|
21949
21949
|
u("p", { innerHTML: h.value }, null, 8, AU)
|
21950
|
-
])) :
|
21950
|
+
])) : O("", !0),
|
21951
21951
|
y.value.length > 0 ? (p(), H("div", xU, [
|
21952
21952
|
(p(!0), H(s2, null, L2(y.value, (u2) => (p(), H("a", {
|
21953
21953
|
key: u2.toString(),
|
@@ -21956,7 +21956,7 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
21956
21956
|
target: "_blank",
|
21957
21957
|
innerHTML: u2.text
|
21958
21958
|
}, null, 8, SU))), 128))
|
21959
|
-
])) :
|
21959
|
+
])) : O("", !0),
|
21960
21960
|
H2 && M.value ? (p(), H("div", kU, [
|
21961
21961
|
u("div", {
|
21962
21962
|
id: `option_${e.option.reference}_dropdown`,
|
@@ -21982,9 +21982,9 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
21982
21982
|
"components.AVOption.sub_options_select"
|
21983
21983
|
)} ${L.value}` : `${L.value} ${F(n)(
|
21984
21984
|
"components.AVOption.sub_options_select"
|
21985
|
-
)}`), 3)) :
|
21986
|
-
])) :
|
21987
|
-
])) :
|
21985
|
+
)}`), 3)) : O("", !0)
|
21986
|
+
])) : O("", !0)
|
21987
|
+
])) : O("", !0)
|
21988
21988
|
]),
|
21989
21989
|
_.value >= 1 ? (p(), H("div", {
|
21990
21990
|
key: 0,
|
@@ -22009,16 +22009,16 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
22009
22009
|
onToggled: (O2) => P(e.option.reference, N2)
|
22010
22010
|
}, null, 8, ["checked", "rank", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
|
22011
22011
|
]))), 128))
|
22012
|
-
], 6)) :
|
22012
|
+
], 6)) : O("", !0),
|
22013
22013
|
w.value && e.observerMode ? (p(), H("div", IU, [
|
22014
22014
|
I(m2, {
|
22015
22015
|
icon: "user",
|
22016
22016
|
class: "AVOption--realtime-results-icon"
|
22017
22017
|
}),
|
22018
|
-
isNaN(w.value.results.count) ?
|
22019
|
-
!isNaN(w.value.results.count) && !isNaN(w.value.results.percentage) ? (p(), H("span", DU, "-")) :
|
22020
|
-
isNaN(w.value.results.percentage) ?
|
22021
|
-
])) :
|
22018
|
+
isNaN(w.value.results.count) ? O("", !0) : (p(), H("span", EU, x(o.value ? `${w.value.results.count === 1 ? F(n)("components.AVOption.vote_count_singular") : F(n)("components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? F(n)("components.AVOption.vote_count_singular") : F(n)("components.AVOption.vote_count_plural")}`), 1)),
|
22019
|
+
!isNaN(w.value.results.count) && !isNaN(w.value.results.percentage) ? (p(), H("span", DU, "-")) : O("", !0),
|
22020
|
+
isNaN(w.value.results.percentage) ? O("", !0) : (p(), H("span", OU, x(`${w.value.results.percentage}%`), 1))
|
22021
|
+
])) : O("", !0)
|
22022
22022
|
], 2)
|
22023
22023
|
], 14, gU)
|
22024
22024
|
]),
|
@@ -22036,7 +22036,7 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
22036
22036
|
onChecked: f2[0] || (f2[0] = (u2) => c("checked", u2)),
|
22037
22037
|
onAccordionOpen: () => z2(!0, !1)
|
22038
22038
|
}, null, 8, ["option", "selections", "contest", "invalid", "disabled", "locale", "partial-results", "onAccordionOpen"]))), 128))
|
22039
|
-
])) :
|
22039
|
+
])) : O("", !0)
|
22040
22040
|
]),
|
22041
22041
|
_: 2
|
22042
22042
|
}, [
|
@@ -22048,9 +22048,9 @@ const MU = ["id", "href", "aria-labelledby"], gU = ["aria-label"], CU = { class:
|
|
22048
22048
|
icon: "user",
|
22049
22049
|
class: "AVOption--realtime-results-icon"
|
22050
22050
|
}),
|
22051
|
-
isNaN(w.value.results.count) ?
|
22052
|
-
!isNaN(w.value.results.count) && !isNaN(w.value.results.percentage) ? (p(), H("span", FU, "-")) :
|
22053
|
-
isNaN(w.value.results.percentage) ?
|
22051
|
+
isNaN(w.value.results.count) ? O("", !0) : (p(), H("span", BU, x(o.value ? `${w.value.results.count === 1 ? F(n)("components.AVOption.vote_count_singular") : F(n)("components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? F(n)("components.AVOption.vote_count_singular") : F(n)("components.AVOption.vote_count_plural")}`), 1)),
|
22052
|
+
!isNaN(w.value.results.count) && !isNaN(w.value.results.percentage) ? (p(), H("span", FU, "-")) : O("", !0),
|
22053
|
+
isNaN(w.value.results.percentage) ? O("", !0) : (p(), H("span", RU, x(`${w.value.results.percentage}%`), 1))
|
22054
22054
|
])
|
22055
22055
|
]),
|
22056
22056
|
key: "0"
|
@@ -22099,11 +22099,11 @@ const UU = /* @__PURE__ */ Q($U, [["__scopeId", "data-v-fca1b597"]]), qU = ["ari
|
|
22099
22099
|
},
|
22100
22100
|
emits: ["toggleBlank"],
|
22101
22101
|
setup(e) {
|
22102
|
-
const c = E2("i18n"), { t: a } = c.global, t =
|
22102
|
+
const c = E2("i18n"), { t: a } = c.global, t = E(
|
22103
22103
|
() => document.getElementsByTagName("html")[0].dir === "rtl"
|
22104
22104
|
);
|
22105
22105
|
return (n, s) => {
|
22106
|
-
const i =
|
22106
|
+
const i = D("AVOptionCheckbox"), r = D("AVIcon");
|
22107
22107
|
return p(), H("div", {
|
22108
22108
|
class: G({
|
22109
22109
|
"AVBlankOption--disabled": e.disabled
|
@@ -22134,10 +22134,10 @@ const UU = /* @__PURE__ */ Q($U, [["__scopeId", "data-v-fca1b597"]]), qU = ["ari
|
|
22134
22134
|
icon: "user",
|
22135
22135
|
class: "AVBlankOption--realtime-results-icon"
|
22136
22136
|
}),
|
22137
|
-
isNaN(e.partialResults.results.count) ?
|
22138
|
-
!isNaN(e.partialResults.results.count) && !isNaN(e.partialResults.results.percentage) ? (p(), H("span", KU, "-")) :
|
22139
|
-
isNaN(e.partialResults.results.percentage) ?
|
22140
|
-
])) :
|
22137
|
+
isNaN(e.partialResults.results.count) ? O("", !0) : (p(), H("span", XU, x(t.value ? `${e.partialResults.results.count === 1 ? F(a)("components.AVBlankOption.vote_count_singular") : F(a)("components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? F(a)("components.AVBlankOption.vote_count_singular") : F(a)("components.AVBlankOption.vote_count_plural")}`), 1)),
|
22138
|
+
!isNaN(e.partialResults.results.count) && !isNaN(e.partialResults.results.percentage) ? (p(), H("span", KU, "-")) : O("", !0),
|
22139
|
+
isNaN(e.partialResults.results.percentage) ? O("", !0) : (p(), H("span", ZU, x(`${e.partialResults.results.percentage}%`), 1))
|
22140
|
+
])) : O("", !0)
|
22141
22141
|
])
|
22142
22142
|
], 14, qU),
|
22143
22143
|
e.partialResults && !e.observerMode ? (p(), H("div", JU, [
|
@@ -22145,10 +22145,10 @@ const UU = /* @__PURE__ */ Q($U, [["__scopeId", "data-v-fca1b597"]]), qU = ["ari
|
|
22145
22145
|
icon: "user",
|
22146
22146
|
class: "AVBlankOption--realtime-results-icon"
|
22147
22147
|
}),
|
22148
|
-
isNaN(e.partialResults.results.count) ?
|
22149
|
-
!isNaN(e.partialResults.results.count) && !isNaN(e.partialResults.results.percentage) ? (p(), H("span", cq, "-")) :
|
22150
|
-
isNaN(e.partialResults.results.percentage) ?
|
22151
|
-
])) :
|
22148
|
+
isNaN(e.partialResults.results.count) ? O("", !0) : (p(), H("span", eq, x(t.value ? `${e.partialResults.results.count === 1 ? F(a)("components.AVBlankOption.vote_count_singular") : F(a)("components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? F(a)("components.AVBlankOption.vote_count_singular") : F(a)("components.AVBlankOption.vote_count_plural")}`), 1)),
|
22149
|
+
!isNaN(e.partialResults.results.count) && !isNaN(e.partialResults.results.percentage) ? (p(), H("span", cq, "-")) : O("", !0),
|
22150
|
+
isNaN(e.partialResults.results.percentage) ? O("", !0) : (p(), H("span", aq, x(`${e.partialResults.results.percentage}%`), 1))
|
22151
|
+
])) : O("", !0)
|
22152
22152
|
], 2);
|
22153
22153
|
};
|
22154
22154
|
}
|
@@ -22199,7 +22199,7 @@ const nq = /* @__PURE__ */ Q(tq, [["__scopeId", "data-v-818fa9e5"]]), sq = ["ari
|
|
22199
22199
|
l !== a.checkedValue && c("update:checkedValue", l);
|
22200
22200
|
};
|
22201
22201
|
return (l, o) => {
|
22202
|
-
const f =
|
22202
|
+
const f = D("AVOptionCheckbox");
|
22203
22203
|
return p(), H("div", {
|
22204
22204
|
class: G({
|
22205
22205
|
AVWriteInOption: !0,
|
@@ -22245,7 +22245,7 @@ const nq = /* @__PURE__ */ Q(tq, [["__scopeId", "data-v-818fa9e5"]]), sq = ["ari
|
|
22245
22245
|
};
|
22246
22246
|
}
|
22247
22247
|
});
|
22248
|
-
const pq = /* @__PURE__ */ Q(vq, [["__scopeId", "data-v-ebf9745a"]]), hq = (e) => (D1("data-v-
|
22248
|
+
const pq = /* @__PURE__ */ Q(vq, [["__scopeId", "data-v-ebf9745a"]]), hq = (e) => (D1("data-v-2a54b71c"), e = e(), O1(), e), Vq = { class: "AVSubmissionHelper" }, zq = { key: 0 }, Hq = ["textContent"], Mq = /* @__PURE__ */ hq(() => /* @__PURE__ */ u("hr", { class: "AVSubmissionHelper--separator" }, null, -1)), gq = { key: 1 }, Cq = { class: "AVSubmissionHelper--help" }, bq = { key: 0 }, Lq = { key: 1 }, _q = {
|
22249
22249
|
key: 2,
|
22250
22250
|
class: "AVSubmissionHelper--count"
|
22251
22251
|
}, yq = { key: 2 }, Nq = /* @__PURE__ */ Y({
|
@@ -22269,21 +22269,21 @@ const pq = /* @__PURE__ */ Q(vq, [["__scopeId", "data-v-ebf9745a"]]), hq = (e) =
|
|
22269
22269
|
}
|
22270
22270
|
},
|
22271
22271
|
setup(e) {
|
22272
|
-
const c = e, a = E2("i18n"), { t } = a.global, n =
|
22273
|
-
(
|
22272
|
+
const c = e, a = E2("i18n"), { t } = a.global, n = E(() => a.global.locale), s = E(() => c.errors.map(
|
22273
|
+
(i) => a.global.messages[n.value].components.AVSubmissionHelper.value.errors[i]
|
22274
22274
|
));
|
22275
|
-
return (
|
22275
|
+
return (i, r) => (p(), H("div", Vq, [
|
22276
22276
|
u("div", {
|
22277
22277
|
class: G(["AVSubmissionHelper--container", { "AVSubmissionHelper--danger": e.errors.length > 0 }])
|
22278
22278
|
}, [
|
22279
22279
|
e.errors.length > 0 ? (p(), H("div", zq, [
|
22280
|
-
(p(!0), H(s2, null, L2(
|
22281
|
-
key:
|
22280
|
+
(p(!0), H(s2, null, L2(s.value, (l) => (p(), H("div", {
|
22281
|
+
key: l,
|
22282
22282
|
role: "alert",
|
22283
|
-
textContent: x(
|
22283
|
+
textContent: x(l)
|
22284
22284
|
}, null, 8, Hq))), 128)),
|
22285
22285
|
Mq
|
22286
|
-
])) :
|
22286
|
+
])) : O("", !0),
|
22287
22287
|
e.maxMarks > 1 ? (p(), H("div", gq, [
|
22288
22288
|
u("div", Cq, [
|
22289
22289
|
e.minMarks === e.maxMarks ? (p(), H("div", bq, x(`${F(t)(
|
@@ -22300,7 +22300,7 @@ const pq = /* @__PURE__ */ Q(vq, [["__scopeId", "data-v-ebf9745a"]]), hq = (e) =
|
|
22300
22300
|
e.chosenCount > 0 ? (p(), H("div", _q, [
|
22301
22301
|
x2(x(F(t)("components.AVSubmissionHelper.selected")) + " ", 1),
|
22302
22302
|
u("b", null, x(e.chosenCount), 1)
|
22303
|
-
])) :
|
22303
|
+
])) : O("", !0)
|
22304
22304
|
])
|
22305
22305
|
])) : (p(), H("div", yq, [
|
22306
22306
|
u("div", null, x(F(t)("components.AVSubmissionHelper.select_single")), 1)
|
@@ -22309,7 +22309,7 @@ const pq = /* @__PURE__ */ Q(vq, [["__scopeId", "data-v-ebf9745a"]]), hq = (e) =
|
|
22309
22309
|
]));
|
22310
22310
|
}
|
22311
22311
|
});
|
22312
|
-
const Aq = /* @__PURE__ */ Q(Nq, [["__scopeId", "data-v-
|
22312
|
+
const Aq = /* @__PURE__ */ Q(Nq, [["__scopeId", "data-v-2a54b71c"]]);
|
22313
22313
|
function xq(e, c, a) {
|
22314
22314
|
if (typeof a != "function")
|
22315
22315
|
throw new Error("search_by must be a function that returns a string");
|
@@ -22339,7 +22339,7 @@ const Sq = ["aria-label"], kq = { class: "AVSearchBallot--form-group" }, wq = ["
|
|
22339
22339
|
}
|
22340
22340
|
},
|
22341
22341
|
setup(e) {
|
22342
|
-
const c = e, a = E2("i18n"), { t } = a.global, n =
|
22342
|
+
const c = e, a = E2("i18n"), { t } = a.global, n = E(() => a.global.locale), { eventBusEmit: s } = JT(), i = J(""), r = E(() => i.value.trim() === "" ? [] : xq(
|
22343
22343
|
c.options,
|
22344
22344
|
i.value,
|
22345
22345
|
(f) => f.title[n.value]
|
@@ -22395,7 +22395,7 @@ const Sq = ["aria-label"], kq = { class: "AVSearchBallot--form-group" }, wq = ["
|
|
22395
22395
|
key: 0,
|
22396
22396
|
class: "AVSearchBallot--alert",
|
22397
22397
|
textContent: x(F(t)("components.AVSearchBallot.no_results"))
|
22398
|
-
}, null, 8, Bq)) :
|
22398
|
+
}, null, 8, Bq)) : O("", !0)
|
22399
22399
|
])
|
22400
22400
|
], 40, Sq));
|
22401
22401
|
}
|
@@ -22479,10 +22479,10 @@ const Gq = /* @__PURE__ */ Q(Wq, [["__scopeId", "data-v-0813bb26"]]), Yq = { cla
|
|
22479
22479
|
setup(e) {
|
22480
22480
|
const c = E2("i18n"), { t: a } = c.global;
|
22481
22481
|
return (t, n) => {
|
22482
|
-
const s =
|
22482
|
+
const s = D("AVTooltip");
|
22483
22483
|
return p(), H("header", Yq, [
|
22484
22484
|
e.activeState === "ballot" ? (p(), H("p", Qq, x(e.isEditing ? `${F(a)("components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex + 1}` : `${F(a)("components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length + 1}`), 1)) : e.activeState === "assign" ? (p(), H("p", Xq, x(e.isEditing ? `${F(a)("components.AVSplitWizardHeader.assign.header")} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}` : `${F(a)("components.AVSplitWizardHeader.assign.header_edit_mode")} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (p(), H("p", Kq, x(F(a)("components.AVSplitWizardHeader.overview.header")), 1)),
|
22485
|
-
(e.activeState,
|
22485
|
+
(e.activeState, O("", !0))
|
22486
22486
|
]);
|
22487
22487
|
};
|
22488
22488
|
}
|
@@ -22513,7 +22513,7 @@ const Jq = /* @__PURE__ */ Q(Zq, [["__scopeId", "data-v-c75f687e"]]), eW = "data
|
|
22513
22513
|
},
|
22514
22514
|
setup(e) {
|
22515
22515
|
return (c, a) => {
|
22516
|
-
const t =
|
22516
|
+
const t = D("AVSteps");
|
22517
22517
|
return p(), H("footer", {
|
22518
22518
|
class: G(`AVFooter ${e.enableSteps && "AVFooter--stacked"}`)
|
22519
22519
|
}, [
|
@@ -22523,8 +22523,8 @@ const Jq = /* @__PURE__ */ Q(Zq, [["__scopeId", "data-v-c75f687e"]]), eW = "data
|
|
22523
22523
|
done: e.done,
|
22524
22524
|
active: e.active,
|
22525
22525
|
class: "AVFooter--child"
|
22526
|
-
}, null, 8, ["steps", "done", "active"])) :
|
22527
|
-
e.disableBanner ?
|
22526
|
+
}, null, 8, ["steps", "done", "active"])) : O("", !0),
|
22527
|
+
e.disableBanner ? O("", !0) : (p(), H("div", {
|
22528
22528
|
key: 1,
|
22529
22529
|
class: G(`AVFooter--base AVFooter--child ${e.enableSteps && "AVFooter--child-stacked"}`)
|
22530
22530
|
}, [
|
@@ -22714,12 +22714,12 @@ const yW = (e) => (D1("data-v-bcaa99b5"), e = e(), O1(), e), NW = ["aria-label",
|
|
22714
22714
|
},
|
22715
22715
|
emits: ["update:selectionPile"],
|
22716
22716
|
setup(e, { emit: c }) {
|
22717
|
-
const a = e, t = E2("i18n"), { t: n } = t.global, s =
|
22717
|
+
const a = e, t = E2("i18n"), { t: n } = t.global, s = E(() => t.global.locale), i = J(!1), r = J(""), l = J(""), o = J(null), f = E(() => a.selectionPile.optionSelections), d = E(() => new eI(a.contest)), m = E(() => d.value.validate(a.selectionPile)), h = E(() => m.value.length === 0), b = E(() => {
|
22718
22718
|
var _;
|
22719
22719
|
return (_ = a.contest.question) == null ? void 0 : _[s.value];
|
22720
|
-
}),
|
22720
|
+
}), A = J(function() {
|
22721
22721
|
return a.contest.randomizeOptions ? a.contest.options.slice().sort(() => Math.random() - 0.5) : a.contest.options;
|
22722
|
-
}()), V =
|
22722
|
+
}()), V = E(() => a.contest);
|
22723
22723
|
b2(V, (_, L) => {
|
22724
22724
|
var C;
|
22725
22725
|
L && _ && _.reference !== L.reference && ((C = document.getElementById("content")) == null || C.focus(), L.searchForm && (o.value.value = ""));
|
@@ -22745,7 +22745,7 @@ const yW = (e) => (D1("data-v-bcaa99b5"), e = e(), O1(), e), NW = ["aria-label",
|
|
22745
22745
|
});
|
22746
22746
|
}, M = (_) => _.flatMap((L) => L.children ? [L, ...M(L.children)] : [L]);
|
22747
22747
|
return (_, L) => {
|
22748
|
-
const C =
|
22748
|
+
const C = D("AVSearchBallot"), k = D("AVWriteInOption"), w = D("AVOption"), P = D("AVBlankOption"), R = D("AVSubmissionHelper");
|
22749
22749
|
return p(), H("div", {
|
22750
22750
|
class: G({
|
22751
22751
|
AVBallot: !0,
|
@@ -22759,26 +22759,26 @@ const yW = (e) => (D1("data-v-bcaa99b5"), e = e(), O1(), e), NW = ["aria-label",
|
|
22759
22759
|
id: `ballot_${e.contest.reference}_question`,
|
22760
22760
|
class: "AVBallot--question",
|
22761
22761
|
"aria-live": "polite"
|
22762
|
-
}, x(b.value), 9, AW)) :
|
22762
|
+
}, x(b.value), 9, AW)) : O("", !0),
|
22763
22763
|
e.contest.searchForm && !e.disabled && !e.observerMode ? (p(), X(C, {
|
22764
22764
|
key: 1,
|
22765
22765
|
ref_key: "search",
|
22766
22766
|
ref: o,
|
22767
|
-
options: M(
|
22767
|
+
options: M(A.value),
|
22768
22768
|
"options-container-id": "ballot_options"
|
22769
|
-
}, null, 8, ["options"])) :
|
22769
|
+
}, null, 8, ["options"])) : O("", !0),
|
22770
22770
|
xW,
|
22771
22771
|
u("div", {
|
22772
22772
|
id: "ballot_options",
|
22773
22773
|
class: G({
|
22774
22774
|
"AVBallot--options": !0,
|
22775
|
-
"AVBallot--options-with-list":
|
22775
|
+
"AVBallot--options-with-list": A.value.some(
|
22776
22776
|
(c2) => c2.children
|
22777
22777
|
)
|
22778
22778
|
}),
|
22779
22779
|
"aria-label": F(n)("components.AVBallot.aria_labels.ballot_options")
|
22780
22780
|
}, [
|
22781
|
-
(p(!0), H(s2, null, L2(
|
22781
|
+
(p(!0), H(s2, null, L2(A.value, (c2) => (p(), H(s2, {
|
22782
22782
|
key: c2.reference
|
22783
22783
|
}, [
|
22784
22784
|
c2.writeIn ? (p(), X(k, {
|
@@ -22813,7 +22813,7 @@ const yW = (e) => (D1("data-v-bcaa99b5"), e = e(), O1(), e), NW = ["aria-label",
|
|
22813
22813
|
accentColor: e.contest.blankOptionColor,
|
22814
22814
|
"partial-results": e.partialResults ? e.partialResults.blank : null,
|
22815
22815
|
onToggleBlank: g
|
22816
|
-
}, null, 8, ["checked", "error", "disabled", "observerMode", "accentColor", "partial-results"])) :
|
22816
|
+
}, null, 8, ["checked", "error", "disabled", "observerMode", "accentColor", "partial-results"])) : O("", !0)
|
22817
22817
|
], 10, SW),
|
22818
22818
|
e.showSubmissionHelper && !e.disabled && !e.observerMode ? (p(), X(R, {
|
22819
22819
|
key: 2,
|
@@ -22823,7 +22823,7 @@ const yW = (e) => (D1("data-v-bcaa99b5"), e = e(), O1(), e), NW = ["aria-label",
|
|
22823
22823
|
class: "AVBallot--helper",
|
22824
22824
|
"min-marks": e.contest.markingType.minMarks,
|
22825
22825
|
"max-marks": e.contest.markingType.maxMarks
|
22826
|
-
}, null, 8, ["id", "chosen-count", "errors", "min-marks", "max-marks"])) :
|
22826
|
+
}, null, 8, ["id", "chosen-count", "errors", "min-marks", "max-marks"])) : O("", !0)
|
22827
22827
|
], 10, NW);
|
22828
22828
|
};
|
22829
22829
|
}
|
@@ -22877,12 +22877,12 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22877
22877
|
},
|
22878
22878
|
emits: ["editCurrentSelection", "deleteSelection"],
|
22879
22879
|
setup(e, { emit: c }) {
|
22880
|
-
const a = e, t = E2("i18n"), { t: n } = t.global, s =
|
22880
|
+
const a = e, t = E2("i18n"), { t: n } = t.global, s = E(() => t.global.locale), i = J(!1), r = J([]), l = E(() => a.selectionPile.optionSelections.length === 0), o = E(() => !a.maximumOptionsShown || i.value ? a.selectionPile.optionSelections : a.selectionPile.optionSelections.slice(
|
22881
22881
|
0,
|
22882
22882
|
a.maximumOptionsShown
|
22883
|
-
)), f =
|
22883
|
+
)), f = E(() => a.selectionPile.optionSelections.length - o.value.length), d = (h) => {
|
22884
22884
|
h.selectable && r.value.push(h), h.children && h.children.map((b) => d(b));
|
22885
|
-
}, m =
|
22885
|
+
}, m = E(() => {
|
22886
22886
|
const h = {
|
22887
22887
|
options: [],
|
22888
22888
|
writeIns: []
|
@@ -22897,17 +22897,17 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22897
22897
|
candidateName: b.text
|
22898
22898
|
});
|
22899
22899
|
else {
|
22900
|
-
const
|
22900
|
+
const S = h.options.find(
|
22901
22901
|
(V) => V.handle === b.reference
|
22902
22902
|
);
|
22903
22903
|
a.contest.options.map((V) => d(V));
|
22904
|
-
const
|
22904
|
+
const A = r.value.find(
|
22905
22905
|
(V) => V.reference === b.reference
|
22906
22906
|
);
|
22907
|
-
|
22908
|
-
title:
|
22907
|
+
S ? S.crosses += 1 : h.options.push({
|
22908
|
+
title: A.title[s.value],
|
22909
22909
|
handle: b.reference,
|
22910
|
-
image:
|
22910
|
+
image: A.image,
|
22911
22911
|
crosses: 1,
|
22912
22912
|
rank: a.contest.markingType.voteVariation === "ranked" ? h.options.length + 1 : null
|
22913
22913
|
});
|
@@ -22916,7 +22916,7 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22916
22916
|
}), h;
|
22917
22917
|
});
|
22918
22918
|
return (h, b) => {
|
22919
|
-
const
|
22919
|
+
const S = D("AVSummaryOption"), A = D("AVIcon");
|
22920
22920
|
return e.activeState === "summary" ? (p(), H("div", IW, [
|
22921
22921
|
e.contest.markingType.maxPiles !== 1 ? (p(), H("header", EW, [
|
22922
22922
|
u("span", null, x(F(n)("components.AVPileSummary.selection")) + " " + x(e.pileIndex + 1) + " / " + x(e.totalPiles), 1),
|
@@ -22925,15 +22925,15 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22925
22925
|
u("span", null, x(F(n)("components.AVPileSummary.selection")), 1)
|
22926
22926
|
])),
|
22927
22927
|
u("div", PW, [
|
22928
|
-
(p(!0), H(s2, null, L2(m.value.options, (V, g) => (p(), X(
|
22928
|
+
(p(!0), H(s2, null, L2(m.value.options, (V, g) => (p(), X(S, {
|
22929
22929
|
key: g,
|
22930
22930
|
option: V,
|
22931
22931
|
"multiple-votes-allowed": e.contest.markingType.votesAllowedPerOption > 1
|
22932
22932
|
}, null, 8, ["option", "multiple-votes-allowed"]))), 128)),
|
22933
|
-
l.value ? (p(), X(
|
22933
|
+
l.value ? (p(), X(S, {
|
22934
22934
|
key: 0,
|
22935
22935
|
blank: l.value
|
22936
|
-
}, null, 8, ["blank"])) :
|
22936
|
+
}, null, 8, ["blank"])) : O("", !0)
|
22937
22937
|
])
|
22938
22938
|
])) : (p(), H("div", BW, [
|
22939
22939
|
u("div", FW, [
|
@@ -22944,13 +22944,13 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22944
22944
|
onClick: b[0] || (b[0] = (V) => c("editCurrentSelection"))
|
22945
22945
|
}, [
|
22946
22946
|
u("div", jW, [
|
22947
|
-
I(
|
22947
|
+
I(A, { icon: "pen-to-square" }),
|
22948
22948
|
u("span", null, x(F(n)("components.AVPileSummary.ballot_selection")) + " " + x(e.pileIndex + 1), 1)
|
22949
22949
|
]),
|
22950
|
-
e.activeState === "overview" || e.isEditing ? (p(), H("span", $W, x(F(n)("components.AVPileSummary.assigned")) + " " + x(e.selectionPile.multiplier), 1)) :
|
22950
|
+
e.activeState === "overview" || e.isEditing ? (p(), H("span", $W, x(F(n)("components.AVPileSummary.assigned")) + " " + x(e.selectionPile.multiplier), 1)) : O("", !0)
|
22951
22951
|
], 8, RW),
|
22952
22952
|
u("div", UW, [
|
22953
|
-
l.value ? (p(), H("p", qW, x(F(n)("components.AVPileSummary.blank")), 1)) :
|
22953
|
+
l.value ? (p(), H("p", qW, x(F(n)("components.AVPileSummary.blank")), 1)) : O("", !0),
|
22954
22954
|
(p(!0), H(s2, null, L2(m.value.options, (V, g) => (p(), H("p", {
|
22955
22955
|
key: g,
|
22956
22956
|
class: "AVPileSummary--assign-text"
|
@@ -22976,7 +22976,7 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22976
22976
|
"components.AVPileSummary.and_n_more_pos"
|
22977
22977
|
)}`), 1)
|
22978
22978
|
])
|
22979
|
-
])) :
|
22979
|
+
])) : O("", !0),
|
22980
22980
|
i.value ? (p(), H("p", {
|
22981
22981
|
key: 2,
|
22982
22982
|
role: "button",
|
@@ -22986,7 +22986,7 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22986
22986
|
u("u", null, [
|
22987
22987
|
u("em", null, x(F(n)("components.AVPileSummary.show_less")), 1)
|
22988
22988
|
])
|
22989
|
-
])) :
|
22989
|
+
])) : O("", !0)
|
22990
22990
|
])
|
22991
22991
|
]),
|
22992
22992
|
e.activeState === "overview" ? (p(), H("div", {
|
@@ -22996,8 +22996,8 @@ const wW = /* @__PURE__ */ Q(kW, [["__scopeId", "data-v-bcaa99b5"]]), TW = (e) =
|
|
22996
22996
|
"aria-label": F(n)("components.AVPileSummary.aria_labels.delete_selection"),
|
22997
22997
|
onClick: b[3] || (b[3] = A1((V) => c("deleteSelection"), ["stop", "prevent"]))
|
22998
22998
|
}, [
|
22999
|
-
I(
|
23000
|
-
], 8, GW)) :
|
22999
|
+
I(A, { icon: "trash-can" })
|
23000
|
+
], 8, GW)) : O("", !0)
|
23001
23001
|
]));
|
23002
23002
|
};
|
23003
23003
|
}
|
@@ -23073,7 +23073,7 @@ const JW = {
|
|
23073
23073
|
"update:activePile"
|
23074
23074
|
],
|
23075
23075
|
setup(e, { emit: c }) {
|
23076
|
-
const a = e, t = E2("i18n"), { t: n } = t.global, s =
|
23076
|
+
const a = e, t = E2("i18n"), { t: n } = t.global, s = E(() => t.global.locale), i = J(null), r = J({
|
23077
23077
|
multiplier: 1,
|
23078
23078
|
optionSelections: [],
|
23079
23079
|
explicitBlank: !1
|
@@ -23093,33 +23093,33 @@ const JW = {
|
|
23093
23093
|
return l.value = ((P = a.contestSelection.piles) == null ? void 0 : P.length) === 0 || a.contest.markingType.maxPiles === 1 ? "ballot" : "overview";
|
23094
23094
|
}
|
23095
23095
|
);
|
23096
|
-
const o =
|
23096
|
+
const o = E(() => a.contestSelection.piles), f = E(
|
23097
23097
|
() => {
|
23098
23098
|
var P;
|
23099
23099
|
return (P = o.value) == null ? void 0 : P.reduce((R, c2) => R - c2.multiplier, a.weight);
|
23100
23100
|
}
|
23101
|
-
), d =
|
23101
|
+
), d = E(
|
23102
23102
|
() => new eI(a.contest)
|
23103
|
-
), m =
|
23103
|
+
), m = E(
|
23104
23104
|
() => new ZW({
|
23105
23105
|
contest: a.contest,
|
23106
23106
|
voterWeight: a.weight
|
23107
23107
|
})
|
23108
|
-
), h =
|
23108
|
+
), h = E(() => f.value === 0 && o.value.every(
|
23109
23109
|
(P) => d.value.isComplete(P)
|
23110
|
-
)), b =
|
23110
|
+
)), b = E(
|
23111
23111
|
() => {
|
23112
23112
|
var P;
|
23113
23113
|
return (P = o.value) == null ? void 0 : P.reduce((R, c2) => R + c2.multiplier, 0);
|
23114
23114
|
}
|
23115
|
-
),
|
23115
|
+
), S = E(() => {
|
23116
23116
|
var P;
|
23117
23117
|
return (P = r.value) == null ? void 0 : P.multiplier;
|
23118
|
-
}),
|
23118
|
+
}), A = E(
|
23119
23119
|
() => o.value.filter((P, R) => R !== i.value).reduce((P, R) => P - R.multiplier, a.weight)
|
23120
|
-
), V =
|
23120
|
+
), V = E(
|
23121
23121
|
() => a.contest.markingType.maxPiles !== 1 && a.weight > 1
|
23122
|
-
), g =
|
23122
|
+
), g = E(() => i.value !== null), y = (P) => d.value.isComplete(P), M = (P) => d.value.validate(P).length > 0, _ = () => {
|
23123
23123
|
if (V.value) {
|
23124
23124
|
const P = [...o.value];
|
23125
23125
|
i.value === null ? P.push({ ...r.value }) : P.splice(i.value, 1, {
|
@@ -23138,7 +23138,7 @@ const JW = {
|
|
23138
23138
|
}, C = () => {
|
23139
23139
|
r.value = {
|
23140
23140
|
optionSelections: [],
|
23141
|
-
multiplier:
|
23141
|
+
multiplier: A.value,
|
23142
23142
|
explicitBlank: !1
|
23143
23143
|
}, i.value = null, l.value = "ballot";
|
23144
23144
|
}, k = (P) => {
|
@@ -23149,10 +23149,10 @@ const JW = {
|
|
23149
23149
|
return b2(
|
23150
23150
|
h,
|
23151
23151
|
(P, R) => c("update:complete", R)
|
23152
|
-
), b2(
|
23152
|
+
), b2(S, () => {
|
23153
23153
|
r.value && (r.value.multiplier = Math.max(
|
23154
23154
|
0,
|
23155
|
-
Math.min(
|
23155
|
+
Math.min(S.value, A.value)
|
23156
23156
|
));
|
23157
23157
|
}), b2(r, (P, R) => c("update:activePile", R)), b2(
|
23158
23158
|
l,
|
@@ -23161,7 +23161,7 @@ const JW = {
|
|
23161
23161
|
c("update:activePile", r.value), c("update:activeState", l.value), V.value || _();
|
23162
23162
|
}), (P, R) => {
|
23163
23163
|
var d2;
|
23164
|
-
const c2 =
|
23164
|
+
const c2 = D("AVSplitWizardHeader"), U = D("AVBallot"), f2 = D("AVPileSummary"), m2 = D("AVSplitWeightHelper"), n2 = D("AVIcon");
|
23165
23165
|
return p(), H(s2, null, [
|
23166
23166
|
u("h3", JW, x(e.contest.title[s.value]), 1),
|
23167
23167
|
u("div", {
|
@@ -23176,7 +23176,7 @@ const JW = {
|
|
23176
23176
|
"selection-piles": o.value,
|
23177
23177
|
"total-weight": b.value + f.value,
|
23178
23178
|
"is-editing": g.value
|
23179
|
-
}, null, 8, ["active-selection-pile-index", "active-state", "selection-piles", "total-weight", "is-editing"])) :
|
23179
|
+
}, null, 8, ["active-selection-pile-index", "active-state", "selection-piles", "total-weight", "is-editing"])) : O("", !0),
|
23180
23180
|
I(x1, {
|
23181
23181
|
name: "fade",
|
23182
23182
|
mode: "out-in"
|
@@ -23199,7 +23199,7 @@ const JW = {
|
|
23199
23199
|
key: "back",
|
23200
23200
|
class: "AVSplitHelper--btn-secondary",
|
23201
23201
|
onClick: R[0] || (R[0] = (u2) => l.value = "overview")
|
23202
|
-
}, x(F(n)("components.AVSplitHelper.ballot.back_button")), 1)) :
|
23202
|
+
}, x(F(n)("components.AVSplitHelper.ballot.back_button")), 1)) : O("", !0)
|
23203
23203
|
]),
|
23204
23204
|
u("div", tG, [
|
23205
23205
|
u("button", {
|
@@ -23234,7 +23234,7 @@ const JW = {
|
|
23234
23234
|
"onUpdate:modelValue": R[3] || (R[3] = (u2) => r.value.multiplier = u2),
|
23235
23235
|
class: "AVSplitHelper--assign-input",
|
23236
23236
|
type: "number",
|
23237
|
-
max:
|
23237
|
+
max: A.value
|
23238
23238
|
}, null, 8, oG), [
|
23239
23239
|
[ls, r.value.multiplier]
|
23240
23240
|
])
|
@@ -23256,7 +23256,7 @@ const JW = {
|
|
23256
23256
|
u("button", {
|
23257
23257
|
key: "confirm",
|
23258
23258
|
class: "AVSplitHelper--btn-primary",
|
23259
|
-
disabled: ((z2 = r.value) == null ? void 0 : z2.multiplier) < 1 || ((H2 = r.value) == null ? void 0 : H2.multiplier) >
|
23259
|
+
disabled: ((z2 = r.value) == null ? void 0 : z2.multiplier) < 1 || ((H2 = r.value) == null ? void 0 : H2.multiplier) > A.value,
|
23260
23260
|
onClick: R[5] || (R[5] = (u2) => _())
|
23261
23261
|
}, x(F(n)("components.AVSplitHelper.assign.confirm_button")), 9, dG)
|
23262
23262
|
])
|
@@ -23297,7 +23297,7 @@ const JW = {
|
|
23297
23297
|
onDeleteSelection: (O2) => k(N2)
|
23298
23298
|
}, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "onDeleteSelection"])
|
23299
23299
|
], 8, HG))), 128))
|
23300
|
-
])) :
|
23300
|
+
])) : O("", !0)
|
23301
23301
|
];
|
23302
23302
|
}),
|
23303
23303
|
_: 1
|
@@ -23350,7 +23350,7 @@ var CG = {}, bG = /* @__PURE__ */ u("a", { href: "#" }, "LOGO", -1), LG = { clas
|
|
23350
23350
|
/* @__PURE__ */ u("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. ")
|
23351
23351
|
], -1);
|
23352
23352
|
function AG(e, c) {
|
23353
|
-
var a =
|
23353
|
+
var a = D("AVNavbarItem"), t = D("AVNavigationItemList"), n = D("AVMenuDropdown"), s = D("AVNavbar"), i = D("AVLabel"), r = D("AVTabSwitcher"), l = D("AVSidebarItem"), o = D("AVButton"), f = D("AVSidebar"), d = D("AVContent"), m = D("AVFooter");
|
23354
23354
|
return p(), H(s2, null, [
|
23355
23355
|
I(s, null, {
|
23356
23356
|
default: t2(function() {
|
@@ -23546,7 +23546,7 @@ var SG = {}, kG = /* @__PURE__ */ u("a", { href: "#" }, "LOGO", -1), wG = { clas
|
|
23546
23546
|
/* @__PURE__ */ u("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. ")
|
23547
23547
|
], -1);
|
23548
23548
|
function OG(e, c) {
|
23549
|
-
var a =
|
23549
|
+
var a = D("AVNavbarItem"), t = D("AVNavigationItemList"), n = D("AVMenuDropdown"), s = D("AVNavbar"), i = D("AVLabel"), r = D("AVTabSwitcher"), l = D("AVSidebarItem"), o = D("AVButton"), f = D("AVSidebar"), d = D("AVContent"), m = D("AVFooter");
|
23550
23550
|
return p(), H(s2, null, [
|
23551
23551
|
I(s, null, {
|
23552
23552
|
default: t2(function() {
|
@@ -23683,7 +23683,7 @@ var BG = {}, FG = /* @__PURE__ */ u("a", { href: "#" }, "LOGO", -1), RG = { clas
|
|
23683
23683
|
/* @__PURE__ */ u("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. ")
|
23684
23684
|
], -1);
|
23685
23685
|
function $G(e, c) {
|
23686
|
-
var a =
|
23686
|
+
var a = D("AVNavbarItem"), t = D("AVNavigationItemList"), n = D("AVMenuDropdown"), s = D("AVNavbar"), i = D("AVContent"), r = D("AVFooter");
|
23687
23687
|
return p(), H(s2, null, [
|
23688
23688
|
I(s, null, {
|
23689
23689
|
default: t2(function() {
|
@@ -23816,7 +23816,7 @@ const UG = /* @__PURE__ */ Q(BG, [["render", $G]]), P6 = (e) => (D1("data-v-20fc
|
|
23816
23816
|
}
|
23817
23817
|
];
|
23818
23818
|
return (a, t) => {
|
23819
|
-
const n =
|
23819
|
+
const n = D("AVNavbarItem"), s = D("AVNavigationItemList"), i = D("AVMenuDropdown"), r = D("AVNavbar"), l = D("AVIcon"), o = D("AVCard"), f = D("AVElectionCard"), d = D("AVContent"), m = D("AVFooter");
|
23820
23820
|
return p(), H(s2, null, [
|
23821
23821
|
I(r, null, {
|
23822
23822
|
default: t2(() => [
|
@@ -23886,7 +23886,7 @@ const UG = /* @__PURE__ */ Q(BG, [["render", $G]]), P6 = (e) => (D1("data-v-20fc
|
|
23886
23886
|
}),
|
23887
23887
|
KG,
|
23888
23888
|
ZG
|
23889
|
-
])) :
|
23889
|
+
])) : O("", !0),
|
23890
23890
|
(p(), H(s2, null, L2(c, (h) => I(f, {
|
23891
23891
|
key: h.id,
|
23892
23892
|
id: h.id,
|