@assemblyvoting/ui-library 1.3.34 → 1.3.36

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 { unref as Z2, getCurrentScope as nk, onScopeDispose as rk, watch as e2, ref as F, computed as g, onMounted as v2, onUnmounted as lk, h as j2, Transition as N2, withDirectives as S2, vShow as X2, defineComponent as P, openBlock as u, createElementBlock as d, createBlock as q, resolveDynamicComponent as Oa, withCtx as $, renderSlot as K, resolveComponent as M, normalizeClass as j, createCommentVNode as x, createTextVNode as c2, toDisplayString as V, createElementVNode as o, createVNode as z, normalizeStyle as H2, reactive as T9, provide as D9, Fragment as R, renderList as X, inject as I9, pushScopeId as T2, popScopeId as D2, useCssVars as ok, mergeProps as fk, withModifiers as A2, withKeys as B9, getCurrentInstance as uk, nextTick as mk, vModelText as P9 } from "vue";
1
+ import { unref as Z2, getCurrentScope as nk, onScopeDispose as rk, watch as c2, ref as F, computed as g, onMounted as v2, onUnmounted as lk, h as j2, Transition as N2, withDirectives as S2, vShow as X2, defineComponent as P, openBlock as u, createElementBlock as d, createBlock as q, resolveDynamicComponent as Oa, withCtx as $, renderSlot as K, resolveComponent as M, normalizeClass as j, createCommentVNode as x, createTextVNode as e2, toDisplayString as V, createElementVNode as o, createVNode as z, normalizeStyle as H2, reactive as T9, provide as D9, Fragment as R, renderList as X, inject as I9, pushScopeId as T2, popScopeId as D2, useCssVars as ok, mergeProps as fk, withModifiers as A2, withKeys as B9, getCurrentInstance as uk, nextTick as mk, vModelText as P9 } from "vue";
2
2
  var n2 = "top", m2 = "bottom", d2 = "right", r2 = "left", B4 = "auto", x1 = [n2, m2, d2, r2], J2 = "start", z1 = "end", dk = "clippingParents", O9 = "viewport", u1 = "popper", vk = "reference", ja = /* @__PURE__ */ x1.reduce(function(c, a) {
3
3
  return c.concat([a + "-" + J2, a + "-" + z1]);
4
4
  }, []), j9 = /* @__PURE__ */ [].concat(x1, [B4]).reduce(function(c, a) {
@@ -35,8 +35,8 @@ function xk(c) {
35
35
  Object.keys(a.elements).forEach(function(e) {
36
36
  var i = a.styles[e] || {}, t = a.attributes[e] || {}, s = a.elements[e];
37
37
  !u2(s) || !z2(s) || (Object.assign(s.style, i), Object.keys(t).forEach(function(n) {
38
- var l = t[n];
39
- l === !1 ? s.removeAttribute(n) : s.setAttribute(n, l === !0 ? "" : l);
38
+ var r = t[n];
39
+ r === !1 ? s.removeAttribute(n) : s.setAttribute(n, r === !0 ? "" : r);
40
40
  }));
41
41
  });
42
42
  }
@@ -55,11 +55,11 @@ function yk(c) {
55
55
  };
56
56
  return Object.assign(a.elements.popper.style, e.popper), a.styles = e, a.elements.arrow && Object.assign(a.elements.arrow.style, e.arrow), function() {
57
57
  Object.keys(a.elements).forEach(function(i) {
58
- var t = a.elements[i], s = a.attributes[i] || {}, n = Object.keys(a.styles.hasOwnProperty(i) ? a.styles[i] : e[i]), l = n.reduce(function(r, m) {
59
- return r[m] = "", r;
58
+ var t = a.elements[i], s = a.attributes[i] || {}, n = Object.keys(a.styles.hasOwnProperty(i) ? a.styles[i] : e[i]), r = n.reduce(function(l, m) {
59
+ return l[m] = "", l;
60
60
  }, {});
61
- !u2(t) || !z2(t) || (Object.assign(t.style, l), Object.keys(s).forEach(function(r) {
62
- t.removeAttribute(r);
61
+ !u2(t) || !z2(t) || (Object.assign(t.style, r), Object.keys(s).forEach(function(l) {
62
+ t.removeAttribute(l);
63
63
  }));
64
64
  });
65
65
  };
@@ -89,7 +89,7 @@ function c1(c, a, e) {
89
89
  a === void 0 && (a = !1), e === void 0 && (e = !1);
90
90
  var i = c.getBoundingClientRect(), t = 1, s = 1;
91
91
  a && u2(c) && (t = c.offsetWidth > 0 && K2(i.width) / c.offsetWidth || 1, s = c.offsetHeight > 0 && K2(i.height) / c.offsetHeight || 1);
92
- var n = $2(c) ? l2(c) : window, l = n.visualViewport, r = !E9() && e, m = (i.left + (r && l ? l.offsetLeft : 0)) / t, f = (i.top + (r && l ? l.offsetTop : 0)) / s, v = i.width / t, p = i.height / s;
92
+ var n = $2(c) ? l2(c) : window, r = n.visualViewport, l = !E9() && e, m = (i.left + (l && r ? r.offsetLeft : 0)) / t, f = (i.top + (l && r ? r.offsetTop : 0)) / s, v = i.width / t, p = i.height / s;
93
93
  return {
94
94
  width: v,
95
95
  height: p,
@@ -205,9 +205,9 @@ var kk = function(a, e) {
205
205
  })) : a, $9(typeof a != "number" ? a : R9(a, x1));
206
206
  };
207
207
  function _k(c) {
208
- var a, e = c.state, i = c.name, t = c.options, s = e.elements.arrow, n = e.modifiersData.popperOffsets, l = V2(e.placement), r = j4(l), m = [r2, d2].indexOf(l) >= 0, f = m ? "height" : "width";
208
+ var a, e = c.state, i = c.name, t = c.options, s = e.elements.arrow, n = e.modifiersData.popperOffsets, r = V2(e.placement), l = j4(r), m = [r2, d2].indexOf(r) >= 0, f = m ? "height" : "width";
209
209
  if (!(!s || !n)) {
210
- var v = kk(t.padding, e), p = O4(s), h = r === "y" ? n2 : r2, L = r === "y" ? m2 : d2, b = e.rects.reference[f] + e.rects.reference[r] - n[r] - e.rects.popper[f], k = n[r] - e.rects.reference[r], B = y1(s), _ = B ? r === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0, C = b / 2 - k / 2, N = v[h], D = _ - p[f] - v[L], S = _ / 2 - p[f] / 2 + C, E = v1(N, S, D), H = r;
210
+ var v = kk(t.padding, e), p = O4(s), h = l === "y" ? n2 : r2, L = l === "y" ? m2 : d2, b = e.rects.reference[f] + e.rects.reference[l] - n[l] - e.rects.popper[f], k = n[l] - e.rects.reference[l], B = y1(s), _ = B ? l === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0, C = b / 2 - k / 2, N = v[h], D = _ - p[f] - v[L], S = _ / 2 - p[f] / 2 + C, E = v1(N, S, D), H = l;
211
211
  e.modifiersData[i] = (a = {}, a[H] = E, a.centerOffset = E - S, a);
212
212
  }
213
213
  }
@@ -241,7 +241,7 @@ function Bk(c, a) {
241
241
  };
242
242
  }
243
243
  function qa(c) {
244
- var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets, l = c.position, r = c.gpuAcceleration, m = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, h = p === void 0 ? 0 : p, L = n.y, b = L === void 0 ? 0 : L, k = typeof f == "function" ? f({
244
+ var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets, r = c.position, l = c.gpuAcceleration, m = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, h = p === void 0 ? 0 : p, L = n.y, b = L === void 0 ? 0 : L, k = typeof f == "function" ? f({
245
245
  x: h,
246
246
  y: b
247
247
  }) : {
@@ -252,13 +252,13 @@ function qa(c) {
252
252
  var B = n.hasOwnProperty("x"), _ = n.hasOwnProperty("y"), C = r2, N = n2, D = window;
253
253
  if (m) {
254
254
  var S = y1(e), E = "clientHeight", H = "clientWidth";
255
- if (S === l2(e) && (S = I2(e), M2(S).position !== "static" && l === "absolute" && (E = "scrollHeight", H = "scrollWidth")), S = S, t === n2 || (t === r2 || t === d2) && s === z1) {
255
+ if (S === l2(e) && (S = I2(e), M2(S).position !== "static" && r === "absolute" && (E = "scrollHeight", H = "scrollWidth")), S = S, t === n2 || (t === r2 || t === d2) && s === z1) {
256
256
  N = m2;
257
257
  var y = v && S === D && D.visualViewport ? D.visualViewport.height : (
258
258
  // $FlowFixMe[prop-missing]
259
259
  S[E]
260
260
  );
261
- b -= y - i.height, b *= r ? 1 : -1;
261
+ b -= y - i.height, b *= l ? 1 : -1;
262
262
  }
263
263
  if (t === r2 || (t === n2 || t === m2) && s === z1) {
264
264
  C = d2;
@@ -266,11 +266,11 @@ function qa(c) {
266
266
  // $FlowFixMe[prop-missing]
267
267
  S[H]
268
268
  );
269
- h -= A - i.width, h *= r ? 1 : -1;
269
+ h -= A - i.width, h *= l ? 1 : -1;
270
270
  }
271
271
  }
272
272
  var O = Object.assign({
273
- position: l
273
+ position: r
274
274
  }, m && Ik), Q = f === !0 ? Bk({
275
275
  x: h,
276
276
  y: b
@@ -278,14 +278,14 @@ function qa(c) {
278
278
  x: h,
279
279
  y: b
280
280
  };
281
- if (h = Q.x, b = Q.y, r) {
281
+ if (h = Q.x, b = Q.y, l) {
282
282
  var U;
283
283
  return Object.assign({}, O, (U = {}, U[N] = _ ? "0" : "", U[C] = B ? "0" : "", U.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", U));
284
284
  }
285
285
  return Object.assign({}, O, (a = {}, a[N] = _ ? b + "px" : "", a[C] = B ? h + "px" : "", a.transform = "", a));
286
286
  }
287
287
  function Pk(c) {
288
- var a = c.state, e = c.options, i = e.gpuAcceleration, t = i === void 0 ? !0 : i, s = e.adaptive, n = s === void 0 ? !0 : s, l = e.roundOffsets, r = l === void 0 ? !0 : l, m = {
288
+ var a = c.state, e = c.options, i = e.gpuAcceleration, t = i === void 0 ? !0 : i, s = e.adaptive, n = s === void 0 ? !0 : s, r = e.roundOffsets, l = r === void 0 ? !0 : r, m = {
289
289
  placement: V2(a.placement),
290
290
  variation: e1(a.placement),
291
291
  popper: a.elements.popper,
@@ -297,12 +297,12 @@ function Pk(c) {
297
297
  offsets: a.modifiersData.popperOffsets,
298
298
  position: a.options.strategy,
299
299
  adaptive: n,
300
- roundOffsets: r
300
+ roundOffsets: l
301
301
  })))), a.modifiersData.arrow != null && (a.styles.arrow = Object.assign({}, a.styles.arrow, qa(Object.assign({}, m, {
302
302
  offsets: a.modifiersData.arrow,
303
303
  position: "absolute",
304
304
  adaptive: !1,
305
- roundOffsets: r
305
+ roundOffsets: l
306
306
  })))), a.attributes.popper = Object.assign({}, a.attributes.popper, {
307
307
  "data-popper-placement": a.placement
308
308
  });
@@ -318,13 +318,13 @@ var Q1 = {
318
318
  passive: !0
319
319
  };
320
320
  function jk(c) {
321
- var a = c.state, e = c.instance, i = c.options, t = i.scroll, s = t === void 0 ? !0 : t, n = i.resize, l = n === void 0 ? !0 : n, r = l2(a.elements.popper), m = [].concat(a.scrollParents.reference, a.scrollParents.popper);
321
+ var a = c.state, e = c.instance, i = c.options, t = i.scroll, s = t === void 0 ? !0 : t, n = i.resize, r = n === void 0 ? !0 : n, l = l2(a.elements.popper), m = [].concat(a.scrollParents.reference, a.scrollParents.popper);
322
322
  return s && m.forEach(function(f) {
323
323
  f.addEventListener("scroll", e.update, Q1);
324
- }), l && r.addEventListener("resize", e.update, Q1), function() {
324
+ }), r && l.addEventListener("resize", e.update, Q1), function() {
325
325
  s && m.forEach(function(f) {
326
326
  f.removeEventListener("scroll", e.update, Q1);
327
- }), l && r.removeEventListener("resize", e.update, Q1);
327
+ }), r && l.removeEventListener("resize", e.update, Q1);
328
328
  };
329
329
  }
330
330
  const Ek = {
@@ -367,26 +367,26 @@ function q4(c) {
367
367
  return c1(I2(c)).left + E4(c).scrollLeft;
368
368
  }
369
369
  function $k(c, a) {
370
- var e = l2(c), i = I2(c), t = e.visualViewport, s = i.clientWidth, n = i.clientHeight, l = 0, r = 0;
370
+ var e = l2(c), i = I2(c), t = e.visualViewport, s = i.clientWidth, n = i.clientHeight, r = 0, l = 0;
371
371
  if (t) {
372
372
  s = t.width, n = t.height;
373
373
  var m = E9();
374
- (m || !m && a === "fixed") && (l = t.offsetLeft, r = t.offsetTop);
374
+ (m || !m && a === "fixed") && (r = t.offsetLeft, l = t.offsetTop);
375
375
  }
376
376
  return {
377
377
  width: s,
378
378
  height: n,
379
- x: l + q4(c),
380
- y: r
379
+ x: r + q4(c),
380
+ y: l
381
381
  };
382
382
  }
383
383
  function Rk(c) {
384
- var a, e = I2(c), i = E4(c), t = (a = c.ownerDocument) == null ? void 0 : a.body, s = F2(e.scrollWidth, e.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), n = F2(e.scrollHeight, e.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0), l = -i.scrollLeft + q4(c), r = -i.scrollTop;
385
- return M2(t || e).direction === "rtl" && (l += F2(e.clientWidth, t ? t.clientWidth : 0) - s), {
384
+ var a, e = I2(c), i = E4(c), t = (a = c.ownerDocument) == null ? void 0 : a.body, s = F2(e.scrollWidth, e.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), n = F2(e.scrollHeight, e.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0), r = -i.scrollLeft + q4(c), l = -i.scrollTop;
385
+ return M2(t || e).direction === "rtl" && (r += F2(e.clientWidth, t ? t.clientWidth : 0) - s), {
386
386
  width: s,
387
387
  height: n,
388
- x: l,
389
- y: r
388
+ x: r,
389
+ y: l
390
390
  };
391
391
  }
392
392
  function F4(c) {
@@ -399,10 +399,10 @@ function U9(c) {
399
399
  function p1(c, a) {
400
400
  var e;
401
401
  a === void 0 && (a = []);
402
- var i = U9(c), t = i === ((e = c.ownerDocument) == null ? void 0 : e.body), s = l2(i), n = t ? [s].concat(s.visualViewport || [], F4(i) ? i : []) : i, l = a.concat(n);
403
- return t ? l : (
402
+ var i = U9(c), t = i === ((e = c.ownerDocument) == null ? void 0 : e.body), s = l2(i), n = t ? [s].concat(s.visualViewport || [], F4(i) ? i : []) : i, r = a.concat(n);
403
+ return t ? r : (
404
404
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
405
- l.concat(p1(p3(n)))
405
+ r.concat(p1(p3(n)))
406
406
  );
407
407
  }
408
408
  function L4(c) {
@@ -427,41 +427,41 @@ function Wk(c) {
427
427
  }) : [];
428
428
  }
429
429
  function Gk(c, a, e, i) {
430
- var t = a === "clippingParents" ? Wk(c) : [].concat(a), s = [].concat(t, [e]), n = s[0], l = s.reduce(function(r, m) {
430
+ var t = a === "clippingParents" ? Wk(c) : [].concat(a), s = [].concat(t, [e]), n = s[0], r = s.reduce(function(l, m) {
431
431
  var f = $a(c, m, i);
432
- return r.top = F2(f.top, r.top), r.right = l3(f.right, r.right), r.bottom = l3(f.bottom, r.bottom), r.left = F2(f.left, r.left), r;
432
+ return l.top = F2(f.top, l.top), l.right = l3(f.right, l.right), l.bottom = l3(f.bottom, l.bottom), l.left = F2(f.left, l.left), l;
433
433
  }, $a(c, n, i));
434
- return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
434
+ return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
435
435
  }
436
436
  function W9(c) {
437
- var a = c.reference, e = c.element, i = c.placement, t = i ? V2(i) : null, s = i ? e1(i) : null, n = a.x + a.width / 2 - e.width / 2, l = a.y + a.height / 2 - e.height / 2, r;
437
+ var a = c.reference, e = c.element, i = c.placement, t = i ? V2(i) : null, s = i ? e1(i) : null, n = a.x + a.width / 2 - e.width / 2, r = a.y + a.height / 2 - e.height / 2, l;
438
438
  switch (t) {
439
439
  case n2:
440
- r = {
440
+ l = {
441
441
  x: n,
442
442
  y: a.y - e.height
443
443
  };
444
444
  break;
445
445
  case m2:
446
- r = {
446
+ l = {
447
447
  x: n,
448
448
  y: a.y + a.height
449
449
  };
450
450
  break;
451
451
  case d2:
452
- r = {
452
+ l = {
453
453
  x: a.x + a.width,
454
- y: l
454
+ y: r
455
455
  };
456
456
  break;
457
457
  case r2:
458
- r = {
458
+ l = {
459
459
  x: a.x - e.width,
460
- y: l
460
+ y: r
461
461
  };
462
462
  break;
463
463
  default:
464
- r = {
464
+ l = {
465
465
  x: a.x,
466
466
  y: a.y
467
467
  };
@@ -471,18 +471,18 @@ function W9(c) {
471
471
  var f = m === "y" ? "height" : "width";
472
472
  switch (s) {
473
473
  case J2:
474
- r[m] = r[m] - (a[f] / 2 - e[f] / 2);
474
+ l[m] = l[m] - (a[f] / 2 - e[f] / 2);
475
475
  break;
476
476
  case z1:
477
- r[m] = r[m] + (a[f] / 2 - e[f] / 2);
477
+ l[m] = l[m] + (a[f] / 2 - e[f] / 2);
478
478
  break;
479
479
  }
480
480
  }
481
- return r;
481
+ return l;
482
482
  }
483
483
  function H1(c, a) {
484
484
  a === void 0 && (a = {});
485
- var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s, l = e.boundary, r = l === void 0 ? dk : l, m = e.rootBoundary, f = m === void 0 ? O9 : m, v = e.elementContext, p = v === void 0 ? u1 : v, h = e.altBoundary, L = h === void 0 ? !1 : h, b = e.padding, k = b === void 0 ? 0 : b, B = $9(typeof k != "number" ? k : R9(k, x1)), _ = p === u1 ? vk : u1, C = c.rects.popper, N = c.elements[L ? _ : p], D = Gk($2(N) ? N : N.contextElement || I2(c.elements.popper), r, f, n), S = c1(c.elements.reference), E = W9({
485
+ var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s, r = e.boundary, l = r === void 0 ? dk : r, m = e.rootBoundary, f = m === void 0 ? O9 : m, v = e.elementContext, p = v === void 0 ? u1 : v, h = e.altBoundary, L = h === void 0 ? !1 : h, b = e.padding, k = b === void 0 ? 0 : b, B = $9(typeof k != "number" ? k : R9(k, x1)), _ = p === u1 ? vk : u1, C = c.rects.popper, N = c.elements[L ? _ : p], D = Gk($2(N) ? N : N.contextElement || I2(c.elements.popper), l, f, n), S = c1(c.elements.reference), E = W9({
486
486
  reference: S,
487
487
  element: C,
488
488
  strategy: "absolute",
@@ -504,7 +504,7 @@ function H1(c, a) {
504
504
  }
505
505
  function Yk(c, a) {
506
506
  a === void 0 && (a = {});
507
- var e = a, i = e.placement, t = e.boundary, s = e.rootBoundary, n = e.padding, l = e.flipVariations, r = e.allowedAutoPlacements, m = r === void 0 ? j9 : r, f = e1(i), v = f ? l ? ja : ja.filter(function(L) {
507
+ var e = a, i = e.placement, t = e.boundary, s = e.rootBoundary, n = e.padding, r = e.flipVariations, l = e.allowedAutoPlacements, m = l === void 0 ? j9 : l, f = e1(i), v = f ? r ? ja : ja.filter(function(L) {
508
508
  return e1(L) === f;
509
509
  }) : x1, p = v.filter(function(L) {
510
510
  return m.indexOf(L) >= 0;
@@ -531,7 +531,7 @@ function Qk(c) {
531
531
  function Zk(c) {
532
532
  var a = c.state, e = c.options, i = c.name;
533
533
  if (!a.modifiersData[i]._skip) {
534
- for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, l = n === void 0 ? !0 : n, r = e.fallbackPlacements, m = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, h = e.flipVariations, L = h === void 0 ? !0 : h, b = e.allowedAutoPlacements, k = a.options.placement, B = V2(k), _ = B === k, C = r || (_ || !L ? [s3(k)] : Qk(k)), N = [k].concat(C).reduce(function(W2, x2) {
534
+ for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !0 : n, l = e.fallbackPlacements, m = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, h = e.flipVariations, L = h === void 0 ? !0 : h, b = e.allowedAutoPlacements, k = a.options.placement, B = V2(k), _ = B === k, C = l || (_ || !L ? [s3(k)] : Qk(k)), N = [k].concat(C).reduce(function(W2, x2) {
535
535
  return W2.concat(V2(x2) === B4 ? Yk(a, {
536
536
  placement: x2,
537
537
  boundary: f,
@@ -550,7 +550,7 @@ function Zk(c) {
550
550
  }), W = t2 ? U ? d2 : r2 : U ? m2 : n2;
551
551
  D[f2] > S[f2] && (W = s3(W));
552
552
  var i2 = s3(W), s2 = [];
553
- if (s && s2.push(Z[Q] <= 0), l && s2.push(Z[W] <= 0, Z[i2] <= 0), s2.every(function(W2) {
553
+ if (s && s2.push(Z[Q] <= 0), r && s2.push(Z[W] <= 0, Z[i2] <= 0), s2.every(function(W2) {
554
554
  return W2;
555
555
  })) {
556
556
  y = O, H = !1;
@@ -606,11 +606,11 @@ function Ua(c) {
606
606
  function Jk(c) {
607
607
  var a = c.state, e = c.name, i = a.rects.reference, t = a.rects.popper, s = a.modifiersData.preventOverflow, n = H1(a, {
608
608
  elementContext: "reference"
609
- }), l = H1(a, {
609
+ }), r = H1(a, {
610
610
  altBoundary: !0
611
- }), r = Ra(n, i), m = Ra(l, t, s), f = Ua(r), v = Ua(m);
611
+ }), l = Ra(n, i), m = Ra(r, t, s), f = Ua(l), v = Ua(m);
612
612
  a.modifiersData[e] = {
613
- referenceClippingOffsets: r,
613
+ referenceClippingOffsets: l,
614
614
  popperEscapeOffsets: m,
615
615
  isReferenceHidden: f,
616
616
  hasPopperEscaped: v
@@ -629,20 +629,20 @@ const Kk = {
629
629
  function c_(c, a, e) {
630
630
  var i = V2(c), t = [r2, n2].indexOf(i) >= 0 ? -1 : 1, s = typeof e == "function" ? e(Object.assign({}, a, {
631
631
  placement: c
632
- })) : e, n = s[0], l = s[1];
633
- return n = n || 0, l = (l || 0) * t, [r2, d2].indexOf(i) >= 0 ? {
634
- x: l,
632
+ })) : e, n = s[0], r = s[1];
633
+ return n = n || 0, r = (r || 0) * t, [r2, d2].indexOf(i) >= 0 ? {
634
+ x: r,
635
635
  y: n
636
636
  } : {
637
637
  x: n,
638
- y: l
638
+ y: r
639
639
  };
640
640
  }
641
641
  function e_(c) {
642
642
  var a = c.state, e = c.options, i = c.name, t = e.offset, s = t === void 0 ? [0, 0] : t, n = j9.reduce(function(f, v) {
643
643
  return f[v] = c_(v, a.rects, s), f;
644
- }, {}), l = n[a.placement], r = l.x, m = l.y;
645
- a.modifiersData.popperOffsets != null && (a.modifiersData.popperOffsets.x += r, a.modifiersData.popperOffsets.y += m), a.modifiersData[i] = n;
644
+ }, {}), r = n[a.placement], l = r.x, m = r.y;
645
+ a.modifiersData.popperOffsets != null && (a.modifiersData.popperOffsets.x += l, a.modifiersData.popperOffsets.y += m), a.modifiersData[i] = n;
646
646
  }
647
647
  const a_ = {
648
648
  name: "offset",
@@ -671,8 +671,8 @@ function s_(c) {
671
671
  return c === "x" ? "y" : "x";
672
672
  }
673
673
  function n_(c) {
674
- var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, l = n === void 0 ? !1 : n, r = e.boundary, m = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, h = p === void 0 ? !0 : p, L = e.tetherOffset, b = L === void 0 ? 0 : L, k = H1(a, {
675
- boundary: r,
674
+ var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !1 : n, l = e.boundary, m = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, h = p === void 0 ? !0 : p, L = e.tetherOffset, b = L === void 0 ? 0 : L, k = H1(a, {
675
+ boundary: l,
676
676
  rootBoundary: m,
677
677
  padding: v,
678
678
  altBoundary: f
@@ -696,7 +696,7 @@ function n_(c) {
696
696
  }, x2 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : F9(), f1 = x2[t2], G1 = x2[f2], P2 = v1(0, E[Z], W2[Z]), v4 = C ? E[Z] / 2 - B2 - P2 - f1 - A.mainAxis : d4 - P2 - f1 - A.mainAxis, ck = C ? -E[Z] / 2 + B2 + P2 + G1 + A.mainAxis : o1 + P2 + G1 + A.mainAxis, p4 = a.elements.arrow && y1(a.elements.arrow), ek = p4 ? N === "y" ? p4.clientTop || 0 : p4.clientLeft || 0 : 0, Sa = (U = O == null ? void 0 : O[N]) != null ? U : 0, ak = W + v4 - Sa - ek, ik = W + ck - Sa, wa = v1(h ? l3(i2, ak) : i2, W, h ? F2(s2, ik) : s2);
697
697
  S[N] = wa, Q[N] = wa - W;
698
698
  }
699
- if (l) {
699
+ if (r) {
700
700
  var ka, tk = N === "x" ? n2 : r2, sk = N === "x" ? m2 : d2, O2 = S[D], Y1 = D === "y" ? "height" : "width", _a = O2 + k[tk], Ta = O2 - k[sk], h4 = [n2, r2].indexOf(B) !== -1, Da = (ka = O == null ? void 0 : O[D]) != null ? ka : 0, Ia = h4 ? _a : O2 - E[Y1] - H[Y1] - Da + A.altAxis, Ba = h4 ? O2 + E[Y1] + H[Y1] - Da - A.altAxis : Ta, Pa = h && h4 ? wk(Ia, O2, Ba) : v1(h ? Ia : _a, O2, h ? Ba : Ta);
701
701
  S[D] = Pa, Q[D] = Pa - O2;
702
702
  }
@@ -725,17 +725,17 @@ function f_(c) {
725
725
  }
726
726
  function u_(c, a, e) {
727
727
  e === void 0 && (e = !1);
728
- var i = u2(a), t = u2(a) && f_(a), s = I2(a), n = c1(c, t, e), l = {
728
+ var i = u2(a), t = u2(a) && f_(a), s = I2(a), n = c1(c, t, e), r = {
729
729
  scrollLeft: 0,
730
730
  scrollTop: 0
731
- }, r = {
731
+ }, l = {
732
732
  x: 0,
733
733
  y: 0
734
734
  };
735
735
  return (i || !i && !e) && ((z2(a) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
736
- F4(s)) && (l = o_(a)), u2(a) ? (r = c1(a, !0), r.x += a.clientLeft, r.y += a.clientTop) : s && (r.x = q4(s))), {
737
- x: n.left + l.scrollLeft - r.x,
738
- y: n.top + l.scrollTop - r.y,
736
+ F4(s)) && (r = o_(a)), u2(a) ? (l = c1(a, !0), l.x += a.clientLeft, l.y += a.clientTop) : s && (l.x = q4(s))), {
737
+ x: n.left + r.scrollLeft - l.x,
738
+ y: n.top + r.scrollTop - l.y,
739
739
  width: n.width,
740
740
  height: n.height
741
741
  };
@@ -748,10 +748,10 @@ function m_(c) {
748
748
  function t(s) {
749
749
  e.add(s.name);
750
750
  var n = [].concat(s.requires || [], s.requiresIfExists || []);
751
- n.forEach(function(l) {
752
- if (!e.has(l)) {
753
- var r = a.get(l);
754
- r && t(r);
751
+ n.forEach(function(r) {
752
+ if (!e.has(r)) {
753
+ var l = a.get(r);
754
+ l && t(l);
755
755
  }
756
756
  }), i.push(s);
757
757
  }
@@ -804,7 +804,7 @@ function Ga() {
804
804
  function h_(c) {
805
805
  c === void 0 && (c = {});
806
806
  var a = c, e = a.defaultModifiers, i = e === void 0 ? [] : e, t = a.defaultOptions, s = t === void 0 ? Wa : t;
807
- return function(l, r, m) {
807
+ return function(r, l, m) {
808
808
  m === void 0 && (m = s);
809
809
  var f = {
810
810
  placement: "bottom",
@@ -812,8 +812,8 @@ function h_(c) {
812
812
  options: Object.assign({}, Wa, s),
813
813
  modifiersData: {},
814
814
  elements: {
815
- reference: l,
816
- popper: r
815
+ reference: r,
816
+ popper: l
817
817
  },
818
818
  attributes: {},
819
819
  styles: {}
@@ -822,8 +822,8 @@ function h_(c) {
822
822
  setOptions: function(B) {
823
823
  var _ = typeof B == "function" ? B(f.options) : B;
824
824
  b(), f.options = Object.assign({}, s, f.options, _), f.scrollParents = {
825
- reference: $2(l) ? p1(l) : l.contextElement ? p1(l.contextElement) : [],
826
- popper: p1(r)
825
+ reference: $2(r) ? p1(r) : r.contextElement ? p1(r.contextElement) : [],
826
+ popper: p1(l)
827
827
  };
828
828
  var C = d_(p_([].concat(i, f.options.modifiers)));
829
829
  return f.orderedModifiers = C.filter(function(N) {
@@ -872,7 +872,7 @@ function h_(c) {
872
872
  b(), p = !0;
873
873
  }
874
874
  };
875
- if (!Ga(l, r))
875
+ if (!Ga(r, l))
876
876
  return h;
877
877
  h.setOptions(m).then(function(k) {
878
878
  !p && m.onFirstUpdate && m.onFirstUpdate(k);
@@ -918,17 +918,17 @@ function g_(c, a) {
918
918
  }
919
919
  function C_(c, a = {}) {
920
920
  let e, i, t = o3;
921
- const s = (l) => {
922
- clearTimeout(l), t(), t = o3;
921
+ const s = (r) => {
922
+ clearTimeout(r), t(), t = o3;
923
923
  };
924
- return (l) => {
925
- const r = f3(c), m = f3(a.maxWait);
926
- return e && s(e), r <= 0 || m !== void 0 && m <= 0 ? (i && (s(i), i = null), Promise.resolve(l())) : new Promise((f, v) => {
924
+ return (r) => {
925
+ const l = f3(c), m = f3(a.maxWait);
926
+ return e && s(e), l <= 0 || m !== void 0 && m <= 0 ? (i && (s(i), i = null), Promise.resolve(r())) : new Promise((f, v) => {
927
927
  t = a.rejectOnCancel ? v : f, m && !i && (i = setTimeout(() => {
928
- e && s(e), i = null, f(l());
928
+ e && s(e), i = null, f(r());
929
929
  }, m)), e = setTimeout(() => {
930
- i && s(i), i = null, f(l());
931
- }, r);
930
+ i && s(i), i = null, f(r());
931
+ }, l);
932
932
  });
933
933
  };
934
934
  }
@@ -954,10 +954,10 @@ function V4(...c) {
954
954
  Array.isArray(e) || (e = [e]), Array.isArray(i) || (i = [i]);
955
955
  const s = [], n = () => {
956
956
  s.forEach((f) => f()), s.length = 0;
957
- }, l = (f, v, p, h) => (f.addEventListener(v, p, h), () => f.removeEventListener(v, p, h)), r = e2(() => [m1(a), f3(t)], ([f, v]) => {
958
- n(), f && s.push(...e.flatMap((p) => i.map((h) => l(f, p, h, v))));
957
+ }, r = (f, v, p, h) => (f.addEventListener(v, p, h), () => f.removeEventListener(v, p, h)), l = c2(() => [m1(a), f3(t)], ([f, v]) => {
958
+ n(), f && s.push(...e.flatMap((p) => i.map((h) => r(f, p, h, v))));
959
959
  }, { immediate: !0, flush: "post" }), m = () => {
960
- r(), n();
960
+ l(), n();
961
961
  };
962
962
  return b_(m), m;
963
963
  }
@@ -967,8 +967,8 @@ function x_(c, a, e = {}) {
967
967
  if (!i)
968
968
  return;
969
969
  M_ && !Za && (Za = !0, Array.from(i.document.body.children).forEach((p) => p.addEventListener("click", o3)));
970
- let l = !0;
971
- const r = (p) => t.some((h) => {
970
+ let r = !0;
971
+ const l = (p) => t.some((h) => {
972
972
  if (typeof h == "string")
973
973
  return Array.from(i.document.querySelectorAll(h)).some((L) => L === p.target || p.composedPath().includes(L));
974
974
  {
@@ -979,8 +979,8 @@ function x_(c, a, e = {}) {
979
979
  V4(i, "click", (p) => {
980
980
  const h = m1(c);
981
981
  if (!(!h || h === p.target || p.composedPath().includes(h))) {
982
- if (p.detail === 0 && (l = !r(p)), !l) {
983
- l = !0;
982
+ if (p.detail === 0 && (r = !l(p)), !r) {
983
+ r = !0;
984
984
  return;
985
985
  }
986
986
  a(p);
@@ -988,7 +988,7 @@ function x_(c, a, e = {}) {
988
988
  }, { passive: !0, capture: s }),
989
989
  V4(i, "pointerdown", (p) => {
990
990
  const h = m1(c);
991
- h && (l = !p.composedPath().includes(h) && !r(p));
991
+ h && (r = !p.composedPath().includes(h) && !l(p));
992
992
  }, { passive: !0 }),
993
993
  n && V4(i, "blur", (p) => {
994
994
  var h;
@@ -1101,7 +1101,7 @@ const a9 = {
1101
1101
  }
1102
1102
  },
1103
1103
  ...c
1104
- }, i = F(void 0), t = F(void 0), s = F(void 0), n = F(!1), l = F(!1), r = F(!1), m = F(e.placement || "top"), f = g(() => {
1104
+ }, i = F(void 0), t = F(void 0), s = F(void 0), n = F(!1), r = F(!1), l = F(!1), m = F(e.placement || "top"), f = g(() => {
1105
1105
  let { modifiers: H } = a9;
1106
1106
  return e.modifiers && (H = [...H, ...e.modifiers]), {
1107
1107
  ...a9,
@@ -1121,7 +1121,7 @@ const a9 = {
1121
1121
  n.value = !1;
1122
1122
  return;
1123
1123
  }
1124
- l.value === !1 && r.value === !1 && (n.value = !1);
1124
+ r.value === !1 && l.value === !1 && (n.value = !1);
1125
1125
  }, v()), L = (H = "") => {
1126
1126
  let y = H;
1127
1127
  if (H === "" && (y = n.value ? "close" : "open"), y === "open") {
@@ -1130,7 +1130,7 @@ const a9 = {
1130
1130
  }
1131
1131
  h();
1132
1132
  }, b = (H = "", y = "") => {
1133
- e.hover !== !1 && (y === "trigger" ? l.value = H === "open" : r.value = H === "open", L(H));
1133
+ e.hover !== !1 && (y === "trigger" ? r.value = H === "open" : l.value = H === "open", L(H));
1134
1134
  }, k = function(H, y) {
1135
1135
  const { slots: A } = y;
1136
1136
  return j2(
@@ -1275,7 +1275,7 @@ const a9 = {
1275
1275
  }), lk(() => {
1276
1276
  var H;
1277
1277
  (H = s.value) == null || H.destroy(), s.value = void 0;
1278
- }), e2(n, (H) => {
1278
+ }), c2(n, (H) => {
1279
1279
  var y;
1280
1280
  if (H === !1) {
1281
1281
  e.onClosed !== void 0 && e.onClosed();
@@ -1391,7 +1391,7 @@ const a9 = {
1391
1391
  setup(c, { expose: a, emit: e }) {
1392
1392
  const i = c;
1393
1393
  Object.keys(i.popperOptions).length > 0 && console.warn("@kalimahapps/vue-popper: popperOptions is deprecated. Use the individual props instead.");
1394
- const { popperInstance: t, triggerElement: s, tooltipElement: n, isOpened: l } = __({
1394
+ const { popperInstance: t, triggerElement: s, tooltipElement: n, isOpened: r } = __({
1395
1395
  hover: i.hover,
1396
1396
  disableClickOutside: i.disableClickOutside,
1397
1397
  openDelay: i.openDelay,
@@ -1403,8 +1403,8 @@ const a9 = {
1403
1403
  placement: i.placement,
1404
1404
  interactive: i.interactive,
1405
1405
  animationDuration: i.animationDuration,
1406
- onTransition: (r, m) => {
1407
- e("transition", r, m);
1406
+ onTransition: (l, m) => {
1407
+ e("transition", l, m);
1408
1408
  },
1409
1409
  onOpened: () => {
1410
1410
  e("opened");
@@ -1415,17 +1415,17 @@ const a9 = {
1415
1415
  });
1416
1416
  return a({
1417
1417
  popper: t,
1418
- isOpened: g(() => l.value)
1419
- }), (r, m) => (u(), d("div", T_, [
1418
+ isOpened: g(() => r.value)
1419
+ }), (l, m) => (u(), d("div", T_, [
1420
1420
  (u(), q(Oa(Z2(s)), null, {
1421
1421
  default: $(() => [
1422
- K(r.$slots, "default")
1422
+ K(l.$slots, "default")
1423
1423
  ]),
1424
1424
  _: 3
1425
1425
  })),
1426
1426
  (u(), q(Oa(Z2(n)), null, {
1427
1427
  default: $(() => [
1428
- K(r.$slots, "content")
1428
+ K(l.$slots, "content")
1429
1429
  ]),
1430
1430
  _: 3
1431
1431
  }))
@@ -10980,18 +10980,18 @@ function F_(c) {
10980
10980
  function $_(c, a) {
10981
10981
  var e = c == null ? null : typeof Symbol < "u" && c[Symbol.iterator] || c["@@iterator"];
10982
10982
  if (e != null) {
10983
- var i = [], t = !0, s = !1, n, l;
10983
+ var i = [], t = !0, s = !1, n, r;
10984
10984
  try {
10985
10985
  for (e = e.call(c); !(t = (n = e.next()).done) && (i.push(n.value), !(a && i.length === a)); t = !0)
10986
10986
  ;
10987
- } catch (r) {
10988
- s = !0, l = r;
10987
+ } catch (l) {
10988
+ s = !0, r = l;
10989
10989
  } finally {
10990
10990
  try {
10991
10991
  !t && e.return != null && e.return();
10992
10992
  } finally {
10993
10993
  if (s)
10994
- throw l;
10994
+ throw r;
10995
10995
  }
10996
10996
  }
10997
10997
  return i;
@@ -11249,20 +11249,20 @@ function ga(c) {
11249
11249
  function fT(c) {
11250
11250
  var a = c.transform, e = c.containerWidth, i = c.iconWidth, t = {
11251
11251
  transform: "translate(".concat(e / 2, " 256)")
11252
- }, s = "translate(".concat(a.x * 32, ", ").concat(a.y * 32, ") "), n = "scale(".concat(a.size / 16 * (a.flipX ? -1 : 1), ", ").concat(a.size / 16 * (a.flipY ? -1 : 1), ") "), l = "rotate(".concat(a.rotate, " 0 0)"), r = {
11253
- transform: "".concat(s, " ").concat(n, " ").concat(l)
11252
+ }, s = "translate(".concat(a.x * 32, ", ").concat(a.y * 32, ") "), n = "scale(".concat(a.size / 16 * (a.flipX ? -1 : 1), ", ").concat(a.size / 16 * (a.flipY ? -1 : 1), ") "), r = "rotate(".concat(a.rotate, " 0 0)"), l = {
11253
+ transform: "".concat(s, " ").concat(n, " ").concat(r)
11254
11254
  }, m = {
11255
11255
  transform: "translate(".concat(i / 2 * -1, " -256)")
11256
11256
  };
11257
11257
  return {
11258
11258
  outer: t,
11259
- inner: r,
11259
+ inner: l,
11260
11260
  path: m
11261
11261
  };
11262
11262
  }
11263
11263
  function uT(c) {
11264
- var a = c.transform, e = c.width, i = e === void 0 ? x4 : e, t = c.height, s = t === void 0 ? x4 : t, n = c.startCentered, l = n === void 0 ? !1 : n, r = "";
11265
- return l && Aw ? r += "translate(".concat(a.x / y2 - i / 2, "em, ").concat(a.y / y2 - s / 2, "em) ") : l ? r += "translate(calc(-50% + ".concat(a.x / y2, "em), calc(-50% + ").concat(a.y / y2, "em)) ") : r += "translate(".concat(a.x / y2, "em, ").concat(a.y / y2, "em) "), r += "scale(".concat(a.size / y2 * (a.flipX ? -1 : 1), ", ").concat(a.size / y2 * (a.flipY ? -1 : 1), ") "), r += "rotate(".concat(a.rotate, "deg) "), r;
11264
+ var a = c.transform, e = c.width, i = e === void 0 ? x4 : e, t = c.height, s = t === void 0 ? x4 : t, n = c.startCentered, r = n === void 0 ? !1 : n, l = "";
11265
+ return r && Aw ? l += "translate(".concat(a.x / y2 - i / 2, "em, ").concat(a.y / y2 - s / 2, "em) ") : r ? l += "translate(calc(-50% + ".concat(a.x / y2, "em), calc(-50% + ").concat(a.y / y2, "em)) ") : l += "translate(".concat(a.x / y2, "em, ").concat(a.y / y2, "em) "), l += "scale(".concat(a.size / y2 * (a.flipX ? -1 : 1), ", ").concat(a.size / y2 * (a.flipY ? -1 : 1), ") "), l += "rotate(".concat(a.rotate, "deg) "), l;
11266
11266
  }
11267
11267
  var mT = `:root, :host {
11268
11268
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
@@ -12024,8 +12024,8 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
12024
12024
  function Iw() {
12025
12025
  var c = Nw, a = Sw, e = T.cssPrefix, i = T.replacementClass, t = mT;
12026
12026
  if (e !== c || i !== a) {
12027
- var s = new RegExp("\\.".concat(c, "\\-"), "g"), n = new RegExp("\\--".concat(c, "\\-"), "g"), l = new RegExp("\\.".concat(a), "g");
12028
- t = t.replace(s, ".".concat(e, "-")).replace(n, "--".concat(e, "-")).replace(l, ".".concat(i));
12027
+ var s = new RegExp("\\.".concat(c, "\\-"), "g"), n = new RegExp("\\--".concat(c, "\\-"), "g"), r = new RegExp("\\.".concat(a), "g");
12028
+ t = t.replace(s, ".".concat(e, "-")).replace(n, "--".concat(e, "-")).replace(r, ".".concat(i));
12029
12029
  }
12030
12030
  return t;
12031
12031
  }
@@ -12083,9 +12083,9 @@ var hT = function(a, e) {
12083
12083
  return a.call(e, i, t, s, n);
12084
12084
  };
12085
12085
  }, H4 = function(a, e, i, t) {
12086
- var s = Object.keys(a), n = s.length, l = t !== void 0 ? hT(e, t) : e, r, m, f;
12087
- for (i === void 0 ? (r = 1, f = a[s[0]]) : (r = 0, f = i); r < n; r++)
12088
- m = s[r], f = l(f, a[m], m, a);
12086
+ var s = Object.keys(a), n = s.length, r = t !== void 0 ? hT(e, t) : e, l, m, f;
12087
+ for (i === void 0 ? (l = 1, f = a[s[0]]) : (l = 0, f = i); l < n; l++)
12088
+ m = s[l], f = r(f, a[m], m, a);
12089
12089
  return f;
12090
12090
  };
12091
12091
  function VT(c) {
@@ -12127,44 +12127,44 @@ function LT(c, a) {
12127
12127
  }
12128
12128
  var Fw = function() {
12129
12129
  var a = function(s) {
12130
- return H4(G2, function(n, l, r) {
12131
- return n[r] = H4(l, s, {}), n;
12130
+ return H4(G2, function(n, r, l) {
12131
+ return n[l] = H4(r, s, {}), n;
12132
12132
  }, {});
12133
12133
  };
12134
12134
  Pw = a(function(t, s, n) {
12135
12135
  if (s[3] && (t[s[3]] = n), s[2]) {
12136
- var l = s[2].filter(function(r) {
12137
- return typeof r == "number";
12136
+ var r = s[2].filter(function(l) {
12137
+ return typeof l == "number";
12138
12138
  });
12139
- l.forEach(function(r) {
12140
- t[r.toString(16)] = n;
12139
+ r.forEach(function(l) {
12140
+ t[l.toString(16)] = n;
12141
12141
  });
12142
12142
  }
12143
12143
  return t;
12144
12144
  }), Ow = a(function(t, s, n) {
12145
12145
  if (t[n] = n, s[2]) {
12146
- var l = s[2].filter(function(r) {
12147
- return typeof r == "string";
12146
+ var r = s[2].filter(function(l) {
12147
+ return typeof l == "string";
12148
12148
  });
12149
- l.forEach(function(r) {
12150
- t[r] = n;
12149
+ r.forEach(function(l) {
12150
+ t[l] = n;
12151
12151
  });
12152
12152
  }
12153
12153
  return t;
12154
12154
  }), qw = a(function(t, s, n) {
12155
- var l = s[2];
12156
- return t[n] = n, l.forEach(function(r) {
12157
- t[r] = n;
12155
+ var r = s[2];
12156
+ return t[n] = n, r.forEach(function(l) {
12157
+ t[l] = n;
12158
12158
  }), t;
12159
12159
  });
12160
12160
  var e = "far" in G2 || T.autoFetchSvg, i = H4(HT, function(t, s) {
12161
- var n = s[0], l = s[1], r = s[2];
12162
- return l === "far" && !e && (l = "fas"), typeof n == "string" && (t.names[n] = {
12163
- prefix: l,
12164
- iconName: r
12161
+ var n = s[0], r = s[1], l = s[2];
12162
+ return r === "far" && !e && (r = "fas"), typeof n == "string" && (t.names[n] = {
12163
+ prefix: r,
12164
+ iconName: l
12165
12165
  }), typeof n == "number" && (t.unicodes[n.toString(16)] = {
12166
- prefix: l,
12167
- iconName: r
12166
+ prefix: r,
12167
+ iconName: l
12168
12168
  }), t;
12169
12169
  }, {
12170
12170
  names: {},
@@ -12221,23 +12221,23 @@ function o4(c) {
12221
12221
  }
12222
12222
  var p9 = (t3 = {}, a2(t3, G, Object.keys(C1[G])), a2(t3, J, Object.keys(C1[J])), t3);
12223
12223
  function f4(c) {
12224
- var a, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.skipLookups, t = i === void 0 ? !1 : i, s = (a = {}, a2(a, G, "".concat(T.cssPrefix, "-").concat(G)), a2(a, J, "".concat(T.cssPrefix, "-").concat(J)), a), n = null, l = G;
12224
+ var a, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.skipLookups, t = i === void 0 ? !1 : i, s = (a = {}, a2(a, G, "".concat(T.cssPrefix, "-").concat(G)), a2(a, J, "".concat(T.cssPrefix, "-").concat(J)), a), n = null, r = G;
12225
12225
  (c.includes(s[G]) || c.some(function(m) {
12226
12226
  return p9[G].includes(m);
12227
- })) && (l = G), (c.includes(s[J]) || c.some(function(m) {
12227
+ })) && (r = G), (c.includes(s[J]) || c.some(function(m) {
12228
12228
  return p9[J].includes(m);
12229
- })) && (l = J);
12230
- var r = c.reduce(function(m, f) {
12229
+ })) && (r = J);
12230
+ var l = c.reduce(function(m, f) {
12231
12231
  var v = LT(T.cssPrefix, f);
12232
- if (G2[f] ? (f = MT[l].includes(f) ? Z_[l][f] : f, n = f, m.prefix = f) : gT[l].indexOf(f) > -1 ? (n = f, m.prefix = o4(f, {
12233
- family: l
12232
+ if (G2[f] ? (f = MT[r].includes(f) ? Z_[r][f] : f, n = f, m.prefix = f) : gT[r].indexOf(f) > -1 ? (n = f, m.prefix = o4(f, {
12233
+ family: r
12234
12234
  })) : v ? m.iconName = v : f !== T.replacementClass && f !== s[G] && f !== s[J] && m.rest.push(f), !t && m.prefix && m.iconName) {
12235
12235
  var p = n === "fa" ? $w(m.iconName) : {}, h = q2(m.prefix, m.iconName);
12236
12236
  p.prefix && (n = null), m.iconName = p.iconName || h || m.iconName, m.prefix = p.prefix || m.prefix, m.prefix === "far" && !G2.far && G2.fas && !T.autoFetchSvg && (m.prefix = "fas");
12237
12237
  }
12238
12238
  return m;
12239
12239
  }, ba());
12240
- return (c.includes("fa-brands") || c.includes("fab")) && (r.prefix = "fab"), (c.includes("fa-duotone") || c.includes("fad")) && (r.prefix = "fad"), !r.prefix && l === J && (G2.fass || T.autoFetchSvg) && (r.prefix = "fass", r.iconName = q2(r.prefix, r.iconName) || r.iconName), (r.prefix === "fa" || n === "fa") && (r.prefix = k2() || "fas"), r;
12240
+ return (c.includes("fa-brands") || c.includes("fab")) && (l.prefix = "fab"), (c.includes("fa-duotone") || c.includes("fad")) && (l.prefix = "fad"), !l.prefix && r === J && (G2.fass || T.autoFetchSvg) && (l.prefix = "fass", l.iconName = q2(l.prefix, l.iconName) || l.iconName), (l.prefix === "fa" || n === "fa") && (l.prefix = k2() || "fas"), l;
12241
12241
  }
12242
12242
  var yT = /* @__PURE__ */ function() {
12243
12243
  function c() {
@@ -12249,10 +12249,10 @@ var yT = /* @__PURE__ */ function() {
12249
12249
  for (var e = this, i = arguments.length, t = new Array(i), s = 0; s < i; s++)
12250
12250
  t[s] = arguments[s];
12251
12251
  var n = t.reduce(this._pullDefinitions, {});
12252
- Object.keys(n).forEach(function(l) {
12253
- e.definitions[l] = w(w({}, e.definitions[l] || {}), n[l]), N4(l, n[l]);
12254
- var r = C1[G][l];
12255
- r && N4(r, n[l]), Fw();
12252
+ Object.keys(n).forEach(function(r) {
12253
+ e.definitions[r] = w(w({}, e.definitions[r] || {}), n[r]), N4(r, n[r]);
12254
+ var l = C1[G][r];
12255
+ l && N4(l, n[r]), Fw();
12256
12256
  });
12257
12257
  }
12258
12258
  }, {
@@ -12267,10 +12267,10 @@ var yT = /* @__PURE__ */ function() {
12267
12267
  0: i
12268
12268
  } : i;
12269
12269
  return Object.keys(t).map(function(s) {
12270
- var n = t[s], l = n.prefix, r = n.iconName, m = n.icon, f = m[2];
12271
- e[l] || (e[l] = {}), f.length > 0 && f.forEach(function(v) {
12272
- typeof v == "string" && (e[l][v] = m);
12273
- }), e[l][r] = m;
12270
+ var n = t[s], r = n.prefix, l = n.iconName, m = n.icon, f = m[2];
12271
+ e[r] || (e[r] = {}), f.length > 0 && f.forEach(function(v) {
12272
+ typeof v == "string" && (e[r][v] = m);
12273
+ }), e[r][l] = m;
12274
12274
  }), e;
12275
12275
  }
12276
12276
  }]), c;
@@ -12282,8 +12282,8 @@ function NT(c, a) {
12282
12282
  }), h9.forEach(function(i) {
12283
12283
  var t = i.mixout ? i.mixout() : {};
12284
12284
  if (Object.keys(t).forEach(function(n) {
12285
- typeof t[n] == "function" && (e[n] = t[n]), u3(t[n]) === "object" && Object.keys(t[n]).forEach(function(l) {
12286
- e[n] || (e[n] = {}), e[n][l] = t[n][l];
12285
+ typeof t[n] == "function" && (e[n] = t[n]), u3(t[n]) === "object" && Object.keys(t[n]).forEach(function(r) {
12286
+ e[n] || (e[n] = {}), e[n][r] = t[n][r];
12287
12287
  });
12288
12288
  }), i.hooks) {
12289
12289
  var s = i.hooks();
@@ -12403,8 +12403,8 @@ function u4(c, a) {
12403
12403
  function TT(c) {
12404
12404
  var a = c.children, e = c.main, i = c.mask, t = c.attributes, s = c.styles, n = c.transform;
12405
12405
  if (ga(n) && e.found && !i.found) {
12406
- var l = e.width, r = e.height, m = {
12407
- x: l / r / 2,
12406
+ var r = e.width, l = e.height, m = {
12407
+ x: r / l / 2,
12408
12408
  y: 0.5
12409
12409
  };
12410
12410
  t.style = l4(w(w({}, s), {}, {
@@ -12434,7 +12434,7 @@ function DT(c) {
12434
12434
  }];
12435
12435
  }
12436
12436
  function xa(c) {
12437
- var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform, l = c.symbol, r = c.title, m = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, h = p === void 0 ? !1 : p, L = i.found ? i : e, b = L.width, k = L.height, B = t === "fak", _ = [T.replacementClass, s ? "".concat(T.cssPrefix, "-").concat(s) : ""].filter(function(y) {
12437
+ var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform, r = c.symbol, l = c.title, m = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, h = p === void 0 ? !1 : p, L = i.found ? i : e, b = L.width, k = L.height, B = t === "fak", _ = [T.replacementClass, s ? "".concat(T.cssPrefix, "-").concat(s) : ""].filter(function(y) {
12438
12438
  return v.classes.indexOf(y) === -1;
12439
12439
  }).filter(function(y) {
12440
12440
  return y !== "" || !!y;
@@ -12451,12 +12451,12 @@ function xa(c) {
12451
12451
  }, N = B && !~v.classes.indexOf("fa-fw") ? {
12452
12452
  width: "".concat(b / k * 16 * 0.0625, "em")
12453
12453
  } : {};
12454
- h && (C.attributes[R2] = ""), r && (C.children.push({
12454
+ h && (C.attributes[R2] = ""), l && (C.children.push({
12455
12455
  tag: "title",
12456
12456
  attributes: {
12457
12457
  id: C.attributes["aria-labelledby"] || "title-".concat(f || b1())
12458
12458
  },
12459
- children: [r]
12459
+ children: [l]
12460
12460
  }), delete C.attributes.title);
12461
12461
  var D = w(w({}, C), {}, {
12462
12462
  prefix: t,
@@ -12465,7 +12465,7 @@ function xa(c) {
12465
12465
  mask: i,
12466
12466
  maskId: m,
12467
12467
  transform: n,
12468
- symbol: l,
12468
+ symbol: r,
12469
12469
  styles: w(w({}, N), v.styles)
12470
12470
  }), S = i.found && e.found ? L2("generateAbstractMask", D) || {
12471
12471
  children: [],
@@ -12474,15 +12474,15 @@ function xa(c) {
12474
12474
  children: [],
12475
12475
  attributes: {}
12476
12476
  }, E = S.children, H = S.attributes;
12477
- return D.children = E, D.attributes = H, l ? DT(D) : TT(D);
12477
+ return D.children = E, D.attributes = H, r ? DT(D) : TT(D);
12478
12478
  }
12479
12479
  function V9(c) {
12480
- var a = c.content, e = c.width, i = c.height, t = c.transform, s = c.title, n = c.extra, l = c.watchable, r = l === void 0 ? !1 : l, m = w(w(w({}, n.attributes), s ? {
12480
+ var a = c.content, e = c.width, i = c.height, t = c.transform, s = c.title, n = c.extra, r = c.watchable, l = r === void 0 ? !1 : r, m = w(w(w({}, n.attributes), s ? {
12481
12481
  title: s
12482
12482
  } : {}), {}, {
12483
12483
  class: n.classes.join(" ")
12484
12484
  });
12485
- r && (m[R2] = "");
12485
+ l && (m[R2] = "");
12486
12486
  var f = w({}, n.styles);
12487
12487
  ga(t) && (f.transform = uT({
12488
12488
  transform: t,
@@ -12660,16 +12660,16 @@ var r3 = {
12660
12660
  return r3.replace(a);
12661
12661
  var t = new RegExp("".concat(T.cssPrefix, "-.*"));
12662
12662
  if (delete i[0].attributes.id, i[0].attributes.class) {
12663
- var s = i[0].attributes.class.split(" ").reduce(function(l, r) {
12664
- return r === T.replacementClass || r.match(t) ? l.toSvg.push(r) : l.toNode.push(r), l;
12663
+ var s = i[0].attributes.class.split(" ").reduce(function(r, l) {
12664
+ return l === T.replacementClass || l.match(t) ? r.toSvg.push(l) : r.toNode.push(l), r;
12665
12665
  }, {
12666
12666
  toNode: [],
12667
12667
  toSvg: []
12668
12668
  });
12669
12669
  i[0].attributes.class = s.toSvg.join(" "), s.toNode.length === 0 ? e.removeAttribute("class") : e.setAttribute("class", s.toNode.join(" "));
12670
12670
  }
12671
- var n = i.map(function(l) {
12672
- return U1(l);
12671
+ var n = i.map(function(r) {
12672
+ return U1(r);
12673
12673
  }).join(`
12674
12674
  `);
12675
12675
  e.setAttribute(R2, ""), e.innerHTML = n;
@@ -12700,7 +12700,7 @@ function D4() {
12700
12700
  var d3 = null;
12701
12701
  function g9(c) {
12702
12702
  if (f9 && T.observeMutations) {
12703
- var a = c.treeCallback, e = a === void 0 ? n3 : a, i = c.nodeCallback, t = i === void 0 ? n3 : i, s = c.pseudoElementsCallback, n = s === void 0 ? n3 : s, l = c.observeMutationsRoot, r = l === void 0 ? Y : l;
12703
+ var a = c.treeCallback, e = a === void 0 ? n3 : a, i = c.nodeCallback, t = i === void 0 ? n3 : i, s = c.pseudoElementsCallback, n = s === void 0 ? n3 : s, r = c.observeMutationsRoot, l = r === void 0 ? Y : r;
12704
12704
  d3 = new f9(function(m) {
12705
12705
  if (!Aa) {
12706
12706
  var f = k2();
@@ -12713,7 +12713,7 @@ function g9(c) {
12713
12713
  ET(v.target) && t(v.target);
12714
12714
  });
12715
12715
  }
12716
- }), b2 && d3.observe(r, {
12716
+ }), b2 && d3.observe(l, {
12717
12717
  childList: !0,
12718
12718
  attributes: !0,
12719
12719
  characterData: !0,
@@ -12727,8 +12727,8 @@ function UT() {
12727
12727
  function WT(c) {
12728
12728
  var a = c.getAttribute("style"), e = [];
12729
12729
  return a && (e = a.split(";").reduce(function(i, t) {
12730
- var s = t.split(":"), n = s[0], l = s.slice(1);
12731
- return n && l.length > 0 && (i[n] = l.join(":").trim()), i;
12730
+ var s = t.split(":"), n = s[0], r = s.slice(1);
12731
+ return n && r.length > 0 && (i[n] = r.join(":").trim()), i;
12732
12732
  }, {})), e;
12733
12733
  }
12734
12734
  function GT(c) {
@@ -12765,7 +12765,7 @@ function QT() {
12765
12765
  function C9(c) {
12766
12766
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
12767
12767
  styleParser: !0
12768
- }, e = GT(c), i = e.iconName, t = e.prefix, s = e.rest, n = YT(c), l = S4("parseNodeAttributes", {}, c), r = a.styleParser ? WT(c) : [];
12768
+ }, e = GT(c), i = e.iconName, t = e.prefix, s = e.rest, n = YT(c), r = S4("parseNodeAttributes", {}, c), l = a.styleParser ? WT(c) : [];
12769
12769
  return w({
12770
12770
  iconName: i,
12771
12771
  title: c.getAttribute("title"),
@@ -12781,10 +12781,10 @@ function C9(c) {
12781
12781
  symbol: !1,
12782
12782
  extra: {
12783
12783
  classes: s,
12784
- styles: r,
12784
+ styles: l,
12785
12785
  attributes: n
12786
12786
  }
12787
- }, l);
12787
+ }, r);
12788
12788
  }
12789
12789
  var ZT = p2.styles;
12790
12790
  function Qw(c) {
@@ -12817,16 +12817,16 @@ function L9(c) {
12817
12817
  })).join(", ");
12818
12818
  if (n.length === 0)
12819
12819
  return Promise.resolve();
12820
- var l = [];
12820
+ var r = [];
12821
12821
  try {
12822
- l = l1(c.querySelectorAll(n));
12822
+ r = l1(c.querySelectorAll(n));
12823
12823
  } catch {
12824
12824
  }
12825
- if (l.length > 0)
12825
+ if (r.length > 0)
12826
12826
  i("pending"), t("complete");
12827
12827
  else
12828
12828
  return Promise.resolve();
12829
- var r = ya.begin("onTree"), m = l.reduce(function(f, v) {
12829
+ var l = ya.begin("onTree"), m = r.reduce(function(f, v) {
12830
12830
  try {
12831
12831
  var p = Qw(v);
12832
12832
  p && f.push(p);
@@ -12838,10 +12838,10 @@ function L9(c) {
12838
12838
  return new Promise(function(f, v) {
12839
12839
  Promise.all(m).then(function(p) {
12840
12840
  Gw(p, function() {
12841
- i("active"), i("complete"), t("pending"), typeof a == "function" && a(), r(), f();
12841
+ i("active"), i("complete"), t("pending"), typeof a == "function" && a(), l(), f();
12842
12842
  });
12843
12843
  }).catch(function(p) {
12844
- r(), v(p);
12844
+ l(), v(p);
12845
12845
  });
12846
12846
  });
12847
12847
  }
@@ -12860,7 +12860,7 @@ function JT(c) {
12860
12860
  };
12861
12861
  }
12862
12862
  var KT = function(a) {
12863
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s, l = e.mask, r = l === void 0 ? null : l, m = e.maskId, f = m === void 0 ? null : m, v = e.title, p = v === void 0 ? null : v, h = e.titleId, L = h === void 0 ? null : h, b = e.classes, k = b === void 0 ? [] : b, B = e.attributes, _ = B === void 0 ? {} : B, C = e.styles, N = C === void 0 ? {} : C;
12863
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s, r = e.mask, l = r === void 0 ? null : r, m = e.maskId, f = m === void 0 ? null : m, v = e.title, p = v === void 0 ? null : v, h = e.titleId, L = h === void 0 ? null : h, b = e.classes, k = b === void 0 ? [] : b, B = e.attributes, _ = B === void 0 ? {} : B, C = e.styles, N = C === void 0 ? {} : C;
12864
12864
  if (a) {
12865
12865
  var D = a.prefix, S = a.iconName, E = a.icon;
12866
12866
  return u4(w({
@@ -12872,7 +12872,7 @@ var KT = function(a) {
12872
12872
  }), T.autoA11y && (p ? _["aria-labelledby"] = "".concat(T.replacementClass, "-title-").concat(L || b1()) : (_["aria-hidden"] = "true", _.focusable = "false")), xa({
12873
12873
  icons: {
12874
12874
  main: k4(E),
12875
- mask: r ? k4(r.icon) : {
12875
+ mask: l ? k4(l.icon) : {
12876
12876
  found: !1,
12877
12877
  width: null,
12878
12878
  height: null,
@@ -12913,9 +12913,9 @@ var KT = function(a) {
12913
12913
  } : s;
12914
12914
  return L9(t, n);
12915
12915
  }, a.generateSvgReplacementMutation = function(e, i) {
12916
- var t = i.iconName, s = i.title, n = i.titleId, l = i.prefix, r = i.transform, m = i.symbol, f = i.mask, v = i.maskId, p = i.extra;
12916
+ var t = i.iconName, s = i.title, n = i.titleId, r = i.prefix, l = i.transform, m = i.symbol, f = i.mask, v = i.maskId, p = i.extra;
12917
12917
  return new Promise(function(h, L) {
12918
- Promise.all([_4(t, l), f.iconName ? _4(f.iconName, f.prefix) : Promise.resolve({
12918
+ Promise.all([_4(t, r), f.iconName ? _4(f.iconName, f.prefix) : Promise.resolve({
12919
12919
  found: !1,
12920
12920
  width: 512,
12921
12921
  height: 512,
@@ -12927,9 +12927,9 @@ var KT = function(a) {
12927
12927
  main: B,
12928
12928
  mask: _
12929
12929
  },
12930
- prefix: l,
12930
+ prefix: r,
12931
12931
  iconName: t,
12932
- transform: r,
12932
+ transform: l,
12933
12933
  symbol: m,
12934
12934
  maskId: v,
12935
12935
  title: s,
@@ -12940,8 +12940,8 @@ var KT = function(a) {
12940
12940
  }).catch(L);
12941
12941
  });
12942
12942
  }, a.generateAbstractIcon = function(e) {
12943
- var i = e.children, t = e.attributes, s = e.main, n = e.transform, l = e.styles, r = l4(l);
12944
- r.length > 0 && (t.style = r);
12943
+ var i = e.children, t = e.attributes, s = e.main, n = e.transform, r = e.styles, l = l4(r);
12944
+ l.length > 0 && (t.style = l);
12945
12945
  var m;
12946
12946
  return ga(n) && (m = L2("generateAbstractTransformGrouping", {
12947
12947
  main: s,
@@ -12967,10 +12967,10 @@ var KT = function(a) {
12967
12967
  params: i
12968
12968
  });
12969
12969
  var n = [];
12970
- return e(function(l) {
12971
- Array.isArray(l) ? l.map(function(r) {
12972
- n = n.concat(r.abstract);
12973
- }) : n = n.concat(l.abstract);
12970
+ return e(function(r) {
12971
+ Array.isArray(r) ? r.map(function(l) {
12972
+ n = n.concat(l.abstract);
12973
+ }) : n = n.concat(r.abstract);
12974
12974
  }), [{
12975
12975
  tag: "span",
12976
12976
  attributes: {
@@ -12986,7 +12986,7 @@ var KT = function(a) {
12986
12986
  mixout: function() {
12987
12987
  return {
12988
12988
  counter: function(e) {
12989
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.title, s = t === void 0 ? null : t, n = i.classes, l = n === void 0 ? [] : n, r = i.attributes, m = r === void 0 ? {} : r, f = i.styles, v = f === void 0 ? {} : f;
12989
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.title, s = t === void 0 ? null : t, n = i.classes, r = n === void 0 ? [] : n, l = i.attributes, m = l === void 0 ? {} : l, f = i.styles, v = f === void 0 ? {} : f;
12990
12990
  return u4({
12991
12991
  type: "counter",
12992
12992
  content: e
@@ -13000,7 +13000,7 @@ var KT = function(a) {
13000
13000
  extra: {
13001
13001
  attributes: m,
13002
13002
  styles: v,
13003
- classes: ["".concat(T.cssPrefix, "-layers-counter")].concat($1(l))
13003
+ classes: ["".concat(T.cssPrefix, "-layers-counter")].concat($1(r))
13004
13004
  }
13005
13005
  });
13006
13006
  });
@@ -13011,7 +13011,7 @@ var KT = function(a) {
13011
13011
  mixout: function() {
13012
13012
  return {
13013
13013
  text: function(e) {
13014
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.transform, s = t === void 0 ? h2 : t, n = i.title, l = n === void 0 ? null : n, r = i.classes, m = r === void 0 ? [] : r, f = i.attributes, v = f === void 0 ? {} : f, p = i.styles, h = p === void 0 ? {} : p;
13014
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = i.transform, s = t === void 0 ? h2 : t, n = i.title, r = n === void 0 ? null : n, l = i.classes, m = l === void 0 ? [] : l, f = i.attributes, v = f === void 0 ? {} : f, p = i.styles, h = p === void 0 ? {} : p;
13015
13015
  return u4({
13016
13016
  type: "text",
13017
13017
  content: e
@@ -13022,7 +13022,7 @@ var KT = function(a) {
13022
13022
  }), V9({
13023
13023
  content: e,
13024
13024
  transform: w(w({}, h2), s),
13025
- title: l,
13025
+ title: r,
13026
13026
  extra: {
13027
13027
  attributes: v,
13028
13028
  styles: h,
@@ -13035,15 +13035,15 @@ var KT = function(a) {
13035
13035
  },
13036
13036
  provides: function(a) {
13037
13037
  a.generateLayersText = function(e, i) {
13038
- var t = i.title, s = i.transform, n = i.extra, l = null, r = null;
13038
+ var t = i.title, s = i.transform, n = i.extra, r = null, l = null;
13039
13039
  if (Aw) {
13040
13040
  var m = parseInt(getComputedStyle(e).fontSize, 10), f = e.getBoundingClientRect();
13041
- l = f.width / m, r = f.height / m;
13041
+ r = f.width / m, l = f.height / m;
13042
13042
  }
13043
13043
  return T.autoA11y && !t && (n.attributes["aria-hidden"] = "true"), Promise.resolve([e, V9({
13044
13044
  content: e.innerHTML,
13045
- width: l,
13046
- height: r,
13045
+ width: r,
13046
+ height: l,
13047
13047
  transform: s,
13048
13048
  title: t,
13049
13049
  extra: n,
@@ -13066,11 +13066,11 @@ function x9(c, a) {
13066
13066
  return i();
13067
13067
  var s = l1(c.children), n = s.filter(function(E) {
13068
13068
  return E.getAttribute(y4) === a;
13069
- })[0], l = w2.getComputedStyle(c, a), r = l.getPropertyValue("font-family").match(J_), m = l.getPropertyValue("font-weight"), f = l.getPropertyValue("content");
13070
- if (n && !r)
13069
+ })[0], r = w2.getComputedStyle(c, a), l = r.getPropertyValue("font-family").match(J_), m = r.getPropertyValue("font-weight"), f = r.getPropertyValue("content");
13070
+ if (n && !l)
13071
13071
  return c.removeChild(n), i();
13072
- if (r && f !== "none" && f !== "") {
13073
- var v = l.getPropertyValue("content"), p = ~["Sharp"].indexOf(r[2]) ? J : G, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(r[2]) ? g1[p][r[2].toLowerCase()] : K_[p][m], L = sD(v), b = L.value, k = L.isSecondary, B = r[0].startsWith("FontAwesome"), _ = La(h, b), C = _;
13072
+ if (l && f !== "none" && f !== "") {
13073
+ var v = r.getPropertyValue("content"), p = ~["Sharp"].indexOf(l[2]) ? J : G, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? g1[p][l[2].toLowerCase()] : K_[p][m], L = sD(v), b = L.value, k = L.isSecondary, B = l[0].startsWith("FontAwesome"), _ = La(h, b), C = _;
13074
13074
  if (B) {
13075
13075
  var N = xT(b);
13076
13076
  N.iconName && N.prefix && (_ = N.iconName, h = N.prefix);
@@ -13167,34 +13167,34 @@ var lD = {
13167
13167
  rotate: 0
13168
13168
  };
13169
13169
  return a.toLowerCase().split(" ").reduce(function(i, t) {
13170
- var s = t.toLowerCase().split("-"), n = s[0], l = s.slice(1).join("-");
13171
- if (n && l === "h")
13170
+ var s = t.toLowerCase().split("-"), n = s[0], r = s.slice(1).join("-");
13171
+ if (n && r === "h")
13172
13172
  return i.flipX = !0, i;
13173
- if (n && l === "v")
13173
+ if (n && r === "v")
13174
13174
  return i.flipY = !0, i;
13175
- if (l = parseFloat(l), isNaN(l))
13175
+ if (r = parseFloat(r), isNaN(r))
13176
13176
  return i;
13177
13177
  switch (n) {
13178
13178
  case "grow":
13179
- i.size = i.size + l;
13179
+ i.size = i.size + r;
13180
13180
  break;
13181
13181
  case "shrink":
13182
- i.size = i.size - l;
13182
+ i.size = i.size - r;
13183
13183
  break;
13184
13184
  case "left":
13185
- i.x = i.x - l;
13185
+ i.x = i.x - r;
13186
13186
  break;
13187
13187
  case "right":
13188
- i.x = i.x + l;
13188
+ i.x = i.x + r;
13189
13189
  break;
13190
13190
  case "up":
13191
- i.y = i.y - l;
13191
+ i.y = i.y - r;
13192
13192
  break;
13193
13193
  case "down":
13194
- i.y = i.y + l;
13194
+ i.y = i.y + r;
13195
13195
  break;
13196
13196
  case "rotate":
13197
- i.rotate = i.rotate + l;
13197
+ i.rotate = i.rotate + r;
13198
13198
  break;
13199
13199
  }
13200
13200
  return i;
@@ -13219,14 +13219,14 @@ var lD = {
13219
13219
  },
13220
13220
  provides: function(a) {
13221
13221
  a.generateAbstractTransformGrouping = function(e) {
13222
- var i = e.main, t = e.transform, s = e.containerWidth, n = e.iconWidth, l = {
13222
+ var i = e.main, t = e.transform, s = e.containerWidth, n = e.iconWidth, r = {
13223
13223
  transform: "translate(".concat(s / 2, " 256)")
13224
- }, r = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), m = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), f = "rotate(".concat(t.rotate, " 0 0)"), v = {
13225
- transform: "".concat(r, " ").concat(m, " ").concat(f)
13224
+ }, l = "translate(".concat(t.x * 32, ", ").concat(t.y * 32, ") "), m = "scale(".concat(t.size / 16 * (t.flipX ? -1 : 1), ", ").concat(t.size / 16 * (t.flipY ? -1 : 1), ") "), f = "rotate(".concat(t.rotate, " 0 0)"), v = {
13225
+ transform: "".concat(l, " ").concat(m, " ").concat(f)
13226
13226
  }, p = {
13227
13227
  transform: "translate(".concat(n / 2 * -1, " -256)")
13228
13228
  }, h = {
13229
- outer: l,
13229
+ outer: r,
13230
13230
  inner: v,
13231
13231
  path: p
13232
13232
  };
@@ -13271,8 +13271,8 @@ var mD = {
13271
13271
  },
13272
13272
  provides: function(a) {
13273
13273
  a.generateAbstractMask = function(e) {
13274
- var i = e.children, t = e.attributes, s = e.main, n = e.mask, l = e.maskId, r = e.transform, m = s.width, f = s.icon, v = n.width, p = n.icon, h = fT({
13275
- transform: r,
13274
+ var i = e.children, t = e.attributes, s = e.main, n = e.mask, r = e.maskId, l = e.transform, m = s.width, f = s.icon, v = n.width, p = n.icon, h = fT({
13275
+ transform: l,
13276
13276
  containerWidth: v,
13277
13277
  iconWidth: m
13278
13278
  }), L = {
@@ -13293,7 +13293,7 @@ var mD = {
13293
13293
  tag: "g",
13294
13294
  attributes: w({}, h.outer),
13295
13295
  children: [k]
13296
- }, _ = "mask-".concat(l || b1()), C = "clip-".concat(l || b1()), N = {
13296
+ }, _ = "mask-".concat(r || b1()), C = "clip-".concat(r || b1()), N = {
13297
13297
  tag: "mask",
13298
13298
  attributes: w(w({}, g4), {}, {
13299
13299
  id: _,
@@ -13343,7 +13343,7 @@ var mD = {
13343
13343
  });
13344
13344
  var n = w(w({}, s), {}, {
13345
13345
  attributeName: "opacity"
13346
- }), l = {
13346
+ }), r = {
13347
13347
  tag: "circle",
13348
13348
  attributes: w(w({}, t), {}, {
13349
13349
  cx: "256",
@@ -13352,7 +13352,7 @@ var mD = {
13352
13352
  }),
13353
13353
  children: []
13354
13354
  };
13355
- return e || l.children.push({
13355
+ return e || r.children.push({
13356
13356
  tag: "animate",
13357
13357
  attributes: w(w({}, s), {}, {
13358
13358
  attributeName: "r",
@@ -13363,7 +13363,7 @@ var mD = {
13363
13363
  attributes: w(w({}, n), {}, {
13364
13364
  values: "1;0;1;1;0;1;"
13365
13365
  })
13366
- }), i.push(l), i.push({
13366
+ }), i.push(r), i.push({
13367
13367
  tag: "path",
13368
13368
  attributes: w(w({}, t), {}, {
13369
13369
  opacity: "1",
@@ -13429,15 +13429,15 @@ const VD = P({
13429
13429
  }
13430
13430
  },
13431
13431
  setup(c) {
13432
- const a = (r) => w9.icon ? w9.icon(r) : null, e = (r, m = {}) => {
13433
- const f = (r.children || []).map(
13432
+ const a = (l) => w9.icon ? w9.icon(l) : null, e = (l, m = {}) => {
13433
+ const f = (l.children || []).map(
13434
13434
  (h) => e(h)
13435
13435
  );
13436
- if (r.prefix)
13436
+ if (l.prefix)
13437
13437
  return;
13438
- const v = Object.keys(r.attributes || {}).reduce(
13438
+ const v = Object.keys(l.attributes || {}).reduce(
13439
13439
  (h, L) => {
13440
- const b = r.attributes[L];
13440
+ const b = l.attributes[L];
13441
13441
  return h.attrs[L] = b, h;
13442
13442
  },
13443
13443
  {
@@ -13445,7 +13445,7 @@ const VD = P({
13445
13445
  }
13446
13446
  ), { ...p } = m;
13447
13447
  return j2(
13448
- r.tag,
13448
+ l.tag,
13449
13449
  {
13450
13450
  ...v.attrs,
13451
13451
  ...p
@@ -13453,8 +13453,8 @@ const VD = P({
13453
13453
  f
13454
13454
  );
13455
13455
  };
13456
- function i(r) {
13457
- let p = `fa-${r}`.split("-").map(
13456
+ function i(l) {
13457
+ let p = `fa-${l}`.split("-").map(
13458
13458
  (L) => L.charAt(0).toUpperCase() + L.slice(1).toLowerCase()
13459
13459
  ).join("");
13460
13460
  return p.charAt(0).toLowerCase() + p.slice(1);
@@ -13467,18 +13467,18 @@ const VD = P({
13467
13467
  title: s.value
13468
13468
  })
13469
13469
  );
13470
- e2(
13470
+ c2(
13471
13471
  n,
13472
- (r) => {
13473
- if (!r)
13472
+ (l) => {
13473
+ if (!l)
13474
13474
  return console.log("Could not find one or more icon(s)", s);
13475
13475
  },
13476
13476
  { immediate: !0 }
13477
13477
  );
13478
- const l = g(
13478
+ const r = g(
13479
13479
  () => n.value ? e(n.value.abstract[0]) : null
13480
13480
  );
13481
- return () => l.value;
13481
+ return () => r.value;
13482
13482
  }
13483
13483
  }), zD = ["disabled"], HD = /* @__PURE__ */ P({
13484
13484
  __name: "AVButton",
@@ -13539,7 +13539,7 @@ const VD = P({
13539
13539
  "data-test": "btn-icon"
13540
13540
  }, null, 8, ["icon"])) : x("", !0),
13541
13541
  K(i.$slots, "default", {}, () => [
13542
- c2(V(c.label), 1)
13542
+ e2(V(c.label), 1)
13543
13543
  ], !0),
13544
13544
  c.iconRight ? (u(), q(s, {
13545
13545
  key: 1,
@@ -13683,7 +13683,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
13683
13683
  disabled: e.disabled
13684
13684
  }));
13685
13685
  return (s, n) => {
13686
- const l = M("AVTooltip"), r = M("AVIcon");
13686
+ const r = M("AVTooltip"), l = M("AVIcon");
13687
13687
  return u(), d("div", bD, [
13688
13688
  c.inputLabel ? (u(), d("label", {
13689
13689
  key: 0,
@@ -13692,7 +13692,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
13692
13692
  "data-test": "input-label"
13693
13693
  }, [
13694
13694
  o("span", null, V(c.inputLabel), 1),
13695
- c.tooltipText ? (u(), q(l, {
13695
+ c.tooltipText ? (u(), q(r, {
13696
13696
  key: 0,
13697
13697
  id: `${c.id}-info-tooltip`,
13698
13698
  position: "right",
@@ -13701,7 +13701,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
13701
13701
  ], 8, xD)) : x("", !0),
13702
13702
  o("div", yD, [
13703
13703
  o("div", AD, [
13704
- c.icon ? (u(), q(r, {
13704
+ c.icon ? (u(), q(l, {
13705
13705
  key: 0,
13706
13706
  icon: `fa-solid fa-${c.icon}`,
13707
13707
  class: "AVTextInput--input-icon",
@@ -13718,7 +13718,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
13718
13718
  onInput: i
13719
13719
  }, null, 42, ND),
13720
13720
  c.error ? (u(), d("div", SD, [
13721
- z(r, {
13721
+ z(l, {
13722
13722
  icon: "fa-solid fa-circle-exclamation",
13723
13723
  class: "AVTextInput--error-icon",
13724
13724
  "data-test": "input-error-icon"
@@ -13797,9 +13797,9 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
13797
13797
  f.target.value === "" && a("update:modelValue", 0);
13798
13798
  }, n = () => {
13799
13799
  i.value.classList.remove("hidden"), i.value.classList.add("AVNumberInput--shown");
13800
- }, l = () => {
13801
- e.error || (i.value.classList.remove("AVNumberInput--shown"), i.value.classList.add("hidden"));
13802
13800
  }, r = () => {
13801
+ e.error || (i.value.classList.remove("AVNumberInput--shown"), i.value.classList.add("hidden"));
13802
+ }, l = () => {
13803
13803
  const f = e.modelValue + e.step;
13804
13804
  (e.max === null || f <= e.max) && a("update:modelValue", f);
13805
13805
  }, m = () => {
@@ -13826,7 +13826,7 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
13826
13826
  o("div", {
13827
13827
  class: "AVNumberInput--input-field",
13828
13828
  onMouseenter: n,
13829
- onMouseleave: l
13829
+ onMouseleave: r
13830
13830
  }, [
13831
13831
  o("div", ID, [
13832
13832
  c.icon ? (u(), q(h, {
@@ -13858,7 +13858,7 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
13858
13858
  "data-test": "input-controllers"
13859
13859
  }, [
13860
13860
  o("button", {
13861
- onClick: r,
13861
+ onClick: l,
13862
13862
  class: "AVNumberInput--button",
13863
13863
  "data-test": "input-controller-plus"
13864
13864
  }, [
@@ -13943,7 +13943,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
13943
13943
  a("update:modelValue", s.target.value);
13944
13944
  };
13945
13945
  return (s, n) => {
13946
- const l = M("AVTooltip"), r = M("AVIcon");
13946
+ const r = M("AVTooltip"), l = M("AVIcon");
13947
13947
  return u(), d("div", qD, [
13948
13948
  c.inputLabel ? (u(), d("label", {
13949
13949
  key: 0,
@@ -13952,7 +13952,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
13952
13952
  "data-test": "input-label"
13953
13953
  }, [
13954
13954
  o("span", null, V(c.inputLabel), 1),
13955
- c.tooltipText ? (u(), q(l, {
13955
+ c.tooltipText ? (u(), q(r, {
13956
13956
  key: 0,
13957
13957
  id: `${c.id}-info-tooltip`,
13958
13958
  position: "right",
@@ -13961,7 +13961,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
13961
13961
  ], 8, FD)) : x("", !0),
13962
13962
  o("div", $D, [
13963
13963
  o("div", RD, [
13964
- c.disableIcon ? x("", !0) : (u(), q(r, {
13964
+ c.disableIcon ? x("", !0) : (u(), q(l, {
13965
13965
  key: 0,
13966
13966
  icon: "fa-solid fa-key",
13967
13967
  class: "AVPaswordInput--input-icon",
@@ -13983,7 +13983,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
13983
13983
  class: j(`AVPaswordInput--icon-container ${c.disabled && "hidden"}`)
13984
13984
  }, [
13985
13985
  o("button", { onClick: i }, [
13986
- z(r, {
13986
+ z(l, {
13987
13987
  icon: `fa-solid fa-${e.value ? "eye-slash" : "eye"}`,
13988
13988
  class: "AVPaswordInput--input-icon",
13989
13989
  "data-test": "show-pass-icon"
@@ -14334,23 +14334,23 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
14334
14334
  active: !1,
14335
14335
  customWidth: null,
14336
14336
  id: null
14337
- }), t = g(() => e.options.map((r) => typeof r == "string" ? {
14338
- label: r,
14339
- value: r
14340
- } : r)), s = g(() => t.value.find(
14341
- (r) => r.value === e.modelValue
14337
+ }), t = g(() => e.options.map((l) => typeof l == "string" ? {
14338
+ label: l,
14339
+ value: l
14340
+ } : l)), s = g(() => t.value.find(
14341
+ (l) => l.value === e.modelValue
14342
14342
  ));
14343
14343
  v2(() => {
14344
14344
  i.id = e.id;
14345
14345
  });
14346
- const n = (r) => {
14347
- a("update:modelValue", r);
14346
+ const n = (l) => {
14347
+ a("update:modelValue", l);
14348
14348
  };
14349
14349
  D9("sharedState", i);
14350
- const l = () => {
14350
+ const r = () => {
14351
14351
  e.disabled || (i.active = !i.active);
14352
14352
  };
14353
- return (r, m) => {
14353
+ return (l, m) => {
14354
14354
  const f = M("AVTooltip"), v = M("AVIcon"), p = M("AVDropdownItem"), h = M("AVDropdownContent");
14355
14355
  return u(), d("div", VI, [
14356
14356
  c.inputLabel ? (u(), d("label", {
@@ -14368,7 +14368,7 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
14368
14368
  }, null, 8, ["id", "content"])) : x("", !0)
14369
14369
  ], 8, zI)) : x("", !0),
14370
14370
  o("div", {
14371
- onClick: l,
14371
+ onClick: r,
14372
14372
  class: "AVDropdown"
14373
14373
  }, [
14374
14374
  o("button", {
@@ -14520,8 +14520,8 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
14520
14520
  danger: "circle-xmark",
14521
14521
  warning: "circle-exclamation"
14522
14522
  };
14523
- return (n, l) => {
14524
- const r = M("AVIcon");
14523
+ return (n, r) => {
14524
+ const l = M("AVIcon");
14525
14525
  return u(), d("div", {
14526
14526
  class: j(`AVAlert AVAlert--${c.type}`),
14527
14527
  style: H2(c.customWidth && `width: ${c.customWidth}px`),
@@ -14530,7 +14530,7 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
14530
14530
  c.disableHeader ? x("", !0) : (u(), d("div", _I, [
14531
14531
  o("div", TI, [
14532
14532
  c.disableIcon ? x("", !0) : (u(), d("div", DI, [
14533
- z(r, {
14533
+ z(l, {
14534
14534
  icon: `fa-solid fa-${c.icon !== "" ? c.icon : s[c.type]}`,
14535
14535
  "data-test": "alert-icon"
14536
14536
  }, null, 8, ["icon"])
@@ -14542,7 +14542,7 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
14542
14542
  class: "AVAlert--icon-container",
14543
14543
  onClick: i
14544
14544
  }, [
14545
- z(r, {
14545
+ z(l, {
14546
14546
  icon: "fa-solid fa-xmark",
14547
14547
  class: "AVAlert--icon-dismiss",
14548
14548
  "data-test": "alert-icon-dismiss"
@@ -14675,9 +14675,9 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14675
14675
  v2(() => {
14676
14676
  e.value && (s.value = e.value);
14677
14677
  });
14678
- const l = () => {
14678
+ const r = () => {
14679
14679
  s.value = [...t.value.files], a("update", s.value);
14680
- }, r = (C) => {
14680
+ }, l = (C) => {
14681
14681
  C.preventDefault(), !e.disabled && (i.value = !0);
14682
14682
  }, m = () => {
14683
14683
  i.value = !1;
@@ -14730,7 +14730,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14730
14730
  ], 8, EI)),
14731
14731
  o("div", {
14732
14732
  class: j(`AVFileInput--dropzone-container ${c.error && "error"} ${c.disabled && "disabled"}`),
14733
- onDragover: r,
14733
+ onDragover: l,
14734
14734
  onDragleave: m,
14735
14735
  onDrop: b
14736
14736
  }, [
@@ -14740,7 +14740,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14740
14740
  name: c.id,
14741
14741
  id: c.id,
14742
14742
  class: "AVFileInput-hidden-input",
14743
- onChange: l,
14743
+ onChange: r,
14744
14744
  ref_key: "fileInput",
14745
14745
  ref: t,
14746
14746
  accept: c.accept,
@@ -14762,15 +14762,15 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14762
14762
  ])) : (u(), d("div", WI, [
14763
14763
  o("div", GI, V(n.value.primary), 1),
14764
14764
  o("div", YI, [
14765
- c2(V(n.value.secondary.start) + " ", 1),
14765
+ e2(V(n.value.secondary.start) + " ", 1),
14766
14766
  o("strong", null, V(n.value.secondary.strong), 1),
14767
- c2(" " + V(n.value.secondary.end), 1)
14767
+ e2(" " + V(n.value.secondary.end), 1)
14768
14768
  ])
14769
14769
  ]))
14770
14770
  ], 8, $I)
14771
14771
  ], 34),
14772
14772
  c.disableAcceptedFormats ? x("", !0) : (u(), d("p", QI, [
14773
- c2(V(n.value.acceptedFormats) + " ", 1),
14773
+ e2(V(n.value.acceptedFormats) + " ", 1),
14774
14774
  o("em", ZI, V(p.value), 1)
14775
14775
  ])),
14776
14776
  s.value.length ? (u(), d("div", XI, [
@@ -14793,7 +14793,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
14793
14793
  }))
14794
14794
  ]),
14795
14795
  o("p", aB, [
14796
- c2(V(E.name) + " ", 1),
14796
+ e2(V(E.name) + " ", 1),
14797
14797
  o("em", null, V(Math.round(E.size / 1e3) + "kb"), 1)
14798
14798
  ])
14799
14799
  ]),
@@ -14884,12 +14884,12 @@ const vB = /* @__PURE__ */ I(dB, [["__scopeId", "data-v-3122c494"]]), pB = (c) =
14884
14884
  }, s = () => {
14885
14885
  a("update", e.value, i.value);
14886
14886
  };
14887
- return e2(
14887
+ return c2(
14888
14888
  () => e.checked,
14889
14889
  () => {
14890
14890
  i.value = e.checked;
14891
14891
  }
14892
- ), (n, l) => (u(), d("label", {
14892
+ ), (n, r) => (u(), d("label", {
14893
14893
  for: c.id,
14894
14894
  class: j(`AVRadio ${c.disabled && "disabled"}`)
14895
14895
  }, [
@@ -14901,7 +14901,7 @@ const vB = /* @__PURE__ */ I(dB, [["__scopeId", "data-v-3122c494"]]), pB = (c) =
14901
14901
  disabled: c.disabled
14902
14902
  }, null, 40, VB),
14903
14903
  zB,
14904
- c2(" " + V(c.value), 1)
14904
+ e2(" " + V(c.value), 1)
14905
14905
  ], 10, hB));
14906
14906
  }
14907
14907
  });
@@ -15030,8 +15030,8 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
15030
15030
  const e = c, i = g(() => e.href ? "link" : "button"), t = g(() => e.disabled ? null : e.href), s = () => {
15031
15031
  a("onClick", e.reference);
15032
15032
  };
15033
- return (n, l) => {
15034
- const r = M("AVIcon");
15033
+ return (n, r) => {
15034
+ const l = M("AVIcon");
15035
15035
  return i.value === "link" ? (u(), d("a", {
15036
15036
  key: 0,
15037
15037
  href: t.value,
@@ -15039,7 +15039,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
15039
15039
  target: c.target,
15040
15040
  style: H2(`width: ${c.customWidth}px`)
15041
15041
  }, [
15042
- c.disableIcon ? x("", !0) : (u(), q(r, {
15042
+ c.disableIcon ? x("", !0) : (u(), q(l, {
15043
15043
  key: 0,
15044
15044
  icon: `fa-solid fa-${c.icon}`,
15045
15045
  class: "AVNavbarItem--icon"
@@ -15052,7 +15052,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
15052
15052
  disabled: c.disabled,
15053
15053
  onClick: s
15054
15054
  }, [
15055
- c.disableIcon ? x("", !0) : (u(), q(r, {
15055
+ c.disableIcon ? x("", !0) : (u(), q(l, {
15056
15056
  key: 0,
15057
15057
  icon: `fa-solid fa-${c.icon}`,
15058
15058
  class: "AVNavbarItem--icon"
@@ -15113,9 +15113,9 @@ const SB = /* @__PURE__ */ I(NB, [["__scopeId", "data-v-d205c709"]]), wB = ["hre
15113
15113
  },
15114
15114
  emits: ["onClick"],
15115
15115
  setup(c, { emit: a }) {
15116
- const e = c, i = F(!1), t = g(() => e.href ? "link" : "button"), s = g(() => e.disabled ? null : e.href), n = g(() => e.type === "step" ? "number" : "icon"), l = g(
15116
+ const e = c, i = F(!1), t = g(() => e.href ? "link" : "button"), s = g(() => e.disabled ? null : e.href), n = g(() => e.type === "step" ? "number" : "icon"), r = g(
15117
15117
  () => e.type === "step" ? e.stepIndex : e.icon
15118
- ), r = () => {
15118
+ ), l = () => {
15119
15119
  e.disabled || (i.value = !i.value);
15120
15120
  }, m = () => {
15121
15121
  a("onClick", e.reference);
@@ -15125,15 +15125,15 @@ const SB = /* @__PURE__ */ I(NB, [["__scopeId", "data-v-d205c709"]]), wB = ["hre
15125
15125
  href: s.value,
15126
15126
  class: j(`AVSidebarItem ${c.active ? "AVSidebarItem--active" : ""} ${c.disabled && "disabled"}`),
15127
15127
  target: c.target,
15128
- onMouseenter: r,
15129
- onMouseleave: r,
15128
+ onMouseenter: l,
15129
+ onMouseleave: l,
15130
15130
  "aria-label": c.label,
15131
15131
  role: "button"
15132
15132
  }, [
15133
15133
  z(Z2(I4), {
15134
15134
  type: n.value,
15135
15135
  active: c.active,
15136
- value: l.value,
15136
+ value: r.value,
15137
15137
  hover: i.value,
15138
15138
  "aria-hidden": "true"
15139
15139
  }, null, 8, ["type", "active", "value", "hover"]),
@@ -15143,14 +15143,14 @@ const SB = /* @__PURE__ */ I(NB, [["__scopeId", "data-v-d205c709"]]), wB = ["hre
15143
15143
  class: j(`AVSidebarItem ${c.active ? "AVSidebarItem--active" : ""} ${c.disabled && "disabled"}`),
15144
15144
  disabled: c.disabled,
15145
15145
  onClick: m,
15146
- onMouseenter: r,
15147
- onMouseleave: r,
15146
+ onMouseenter: l,
15147
+ onMouseleave: l,
15148
15148
  "aria-label": c.label
15149
15149
  }, [
15150
15150
  z(Z2(I4), {
15151
15151
  type: n.value,
15152
15152
  active: c.active,
15153
- value: l.value,
15153
+ value: r.value,
15154
15154
  hover: i.value,
15155
15155
  "aria-hidden": "true"
15156
15156
  }, null, 8, ["type", "active", "value", "hover"]),
@@ -15246,7 +15246,7 @@ const EB = /* @__PURE__ */ I(jB, [["__scopeId", "data-v-9eefb906"]]), qB = { cla
15246
15246
  e.active = !e.active;
15247
15247
  };
15248
15248
  return D9("sharedState", e), (t, s) => {
15249
- const n = M("AVIcon"), l = M("AVMenuDropdownItem"), r = M("AVMenuDropdownContent");
15249
+ const n = M("AVIcon"), r = M("AVMenuDropdownItem"), l = M("AVMenuDropdownContent");
15250
15250
  return u(), d("div", qB, [
15251
15251
  o("button", {
15252
15252
  class: "AVMenuDropdown--button",
@@ -15270,9 +15270,9 @@ const EB = /* @__PURE__ */ I(jB, [["__scopeId", "data-v-9eefb906"]]), qB = { cla
15270
15270
  "data-test": "main-icon"
15271
15271
  }, null, 8, ["icon"]))
15272
15272
  ], 8, FB),
15273
- z(r, null, {
15273
+ z(l, null, {
15274
15274
  default: $(() => [
15275
- (u(!0), d(R, null, X(c.options, (m, f) => (u(), q(l, {
15275
+ (u(!0), d(R, null, X(c.options, (m, f) => (u(), q(r, {
15276
15276
  key: f,
15277
15277
  optionLabel: m.label,
15278
15278
  href: m.href,
@@ -15338,7 +15338,7 @@ const GB = /* @__PURE__ */ I(WB, [["__scopeId", "data-v-e8fb623b"]]), YB = ["hre
15338
15338
  icon: `fa-solid fa-${c.icon}`,
15339
15339
  "data-test": "option-icon"
15340
15340
  }, null, 8, ["icon"])) : x("", !0),
15341
- c2(" " + V(c.optionLabel), 1)
15341
+ e2(" " + V(c.optionLabel), 1)
15342
15342
  ], 10, YB);
15343
15343
  };
15344
15344
  }
@@ -15384,7 +15384,7 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
15384
15384
  emits: ["update:waiting"],
15385
15385
  setup(c, { emit: a }) {
15386
15386
  const e = c, i = F(!1);
15387
- e2(i, (l) => a("update:waiting", l));
15387
+ c2(i, (r) => a("update:waiting", r));
15388
15388
  const t = g(() => {
15389
15389
  if (!i.value)
15390
15390
  switch (e.variant) {
@@ -15398,15 +15398,15 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
15398
15398
  return e.defaultIcon;
15399
15399
  }
15400
15400
  }), s = g(() => e.disabled || i.value);
15401
- async function n(l) {
15401
+ async function n(r) {
15402
15402
  i.value = !0;
15403
15403
  try {
15404
- await Promise.resolve(e.onClick(l));
15404
+ await Promise.resolve(e.onClick(r));
15405
15405
  } finally {
15406
15406
  i.value = !1;
15407
15407
  }
15408
15408
  }
15409
- return (l, r) => {
15409
+ return (r, l) => {
15410
15410
  const m = M("AVIcon"), f = M("AVSpinner");
15411
15411
  return u(), d("button", {
15412
15412
  disabled: s.value,
@@ -15419,17 +15419,17 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
15419
15419
  }])
15420
15420
  }, [
15421
15421
  i.value ? (u(), d(R, { key: 1 }, [
15422
- K(l.$slots, "waitingIcon", {}, () => [
15422
+ K(r.$slots, "waitingIcon", {}, () => [
15423
15423
  z(f, {
15424
15424
  style: { color: "inherit", height: "1em", width: "1em" },
15425
15425
  class: "AVAsyncButton--icon",
15426
15426
  "data-test": "btn-spinner"
15427
15427
  })
15428
15428
  ], !0),
15429
- K(l.$slots, "waitingLabel", {}, () => [
15430
- c2("Working...")
15429
+ K(r.$slots, "waitingLabel", {}, () => [
15430
+ e2("Working...")
15431
15431
  ], !0)
15432
- ], 64)) : K(l.$slots, "default", { key: 0 }, () => [
15432
+ ], 64)) : K(r.$slots, "default", { key: 0 }, () => [
15433
15433
  z(m, {
15434
15434
  icon: t.value,
15435
15435
  class: "AVAsyncButton--icon",
@@ -15466,12 +15466,12 @@ const KB = /* @__PURE__ */ I(JB, [["__scopeId", "data-v-11042fa9"]]), cP = { cla
15466
15466
  const n = () => {
15467
15467
  i.value = [], e.options.map(
15468
15468
  (v) => i.value.push({ value: v, selected: !1 })
15469
- ), e.selected ? l(e.selected) : i.value[0].selected = !0, e.disabled && r();
15470
- }, l = (v) => {
15469
+ ), e.selected ? r(e.selected) : i.value[0].selected = !0, e.disabled && l();
15470
+ }, r = (v) => {
15471
15471
  i.value.map((p) => {
15472
15472
  p.value === v ? (p.selected = !0, t.value = p.value) : p.selected = !1;
15473
15473
  });
15474
- }, r = () => {
15474
+ }, l = () => {
15475
15475
  if (i.value.map((v) => v.disabled = !1), e.disabled)
15476
15476
  i.value.map((v) => {
15477
15477
  e.disabled.map(
@@ -15481,21 +15481,21 @@ const KB = /* @__PURE__ */ I(JB, [["__scopeId", "data-v-11042fa9"]]), cP = { cla
15481
15481
  else
15482
15482
  return;
15483
15483
  }, m = (v) => {
15484
- l(v), f();
15484
+ r(v), f();
15485
15485
  }, f = () => {
15486
15486
  a("update", t.value, i.value);
15487
15487
  };
15488
- return e2(
15488
+ return c2(
15489
15489
  () => e.options,
15490
15490
  () => n()
15491
- ), e2(
15491
+ ), c2(
15492
15492
  () => e.selected,
15493
15493
  () => {
15494
- t.value = e.selected, l(e.selected);
15494
+ t.value = e.selected, r(e.selected);
15495
15495
  }
15496
- ), e2(
15496
+ ), c2(
15497
15497
  () => e.disabled,
15498
- () => r()
15498
+ () => l()
15499
15499
  ), (v, p) => (u(), d("div", cP, [
15500
15500
  (u(!0), d(R, null, X(i.value, (h) => (u(), d("button", {
15501
15501
  key: h.value,
@@ -15533,7 +15533,7 @@ const iP = /* @__PURE__ */ I(aP, [["__scopeId", "data-v-413f60c7"]]), tP = { cla
15533
15533
  setup(c) {
15534
15534
  const a = c, e = g(() => a.currentBallots >= a.minimumBallots), i = g(() => a.minimumBallots - a.currentBallots);
15535
15535
  return (t, s) => {
15536
- const n = M("AVIcon"), l = M("AVSpinner");
15536
+ const n = M("AVIcon"), r = M("AVSpinner");
15537
15537
  return u(), d("div", tP, [
15538
15538
  o("div", sP, [
15539
15539
  z(n, {
@@ -15551,7 +15551,7 @@ const iP = /* @__PURE__ */ I(aP, [["__scopeId", "data-v-413f60c7"]]), tP = { cla
15551
15551
  icon: "fa-solid fa-circle-check",
15552
15552
  class: "AVBallotSummary--icon AVBallotSummary--icon-ready",
15553
15553
  "data-test": "ballot-status-icon"
15554
- })) : (u(), q(l, {
15554
+ })) : (u(), q(r, {
15555
15555
  key: 1,
15556
15556
  color: "neutral",
15557
15557
  "data-test": "ballot-spinner"
@@ -15602,7 +15602,7 @@ const lP = /* @__PURE__ */ I(rP, [["__scopeId", "data-v-607d90fc"]]), oP = {
15602
15602
  }, 1e3);
15603
15603
  }, s = g(() => 100 - i.value / e.timeout * 100), n = g(
15604
15604
  () => Math.floor((e.timeout - i.value) / 60)
15605
- ), l = g(() => (e.timeout - i.value) % 60), r = g(() => n.value % 60), m = g(() => l.value < 10 ? `${r.value}:0${l.value}` : `${r.value}:${l.value}`);
15605
+ ), r = g(() => (e.timeout - i.value) % 60), l = g(() => n.value % 60), m = g(() => r.value < 10 ? `${l.value}:0${r.value}` : `${l.value}:${r.value}`);
15606
15606
  return (f, v) => (u(), d(R, null, [
15607
15607
  o("div", {
15608
15608
  class: "AVTimedCard",
@@ -15623,7 +15623,7 @@ const lP = /* @__PURE__ */ I(rP, [["__scopeId", "data-v-607d90fc"]]), oP = {
15623
15623
  class: j(`AVTimedCard--help-text ${c.timeout - i.value <= c.customWarningTime && "AVTimedCard--help-text-warning"}`),
15624
15624
  "data-test": "help-text"
15625
15625
  }, [
15626
- c2(V(c.expirationMessage), 1),
15626
+ e2(V(c.expirationMessage), 1),
15627
15627
  o("strong", null, V(m.value), 1)
15628
15628
  ], 2)
15629
15629
  ], 64));
@@ -15705,19 +15705,19 @@ const zP = /* @__PURE__ */ I(VP, [["__scopeId", "data-v-9a6218e9"]]), HP = { cla
15705
15705
  }, t = (n) => a.done ? a.done.includes(n) : !1;
15706
15706
  v2(() => {
15707
15707
  i();
15708
- }), e2(
15708
+ }), c2(
15709
15709
  () => a.steps,
15710
15710
  () => i()
15711
- ), e2(
15711
+ ), c2(
15712
15712
  () => a.active,
15713
15713
  () => i()
15714
- ), e2(
15714
+ ), c2(
15715
15715
  () => a.done,
15716
15716
  () => i()
15717
15717
  );
15718
15718
  const s = g(() => `${100 / a.steps.length}%`);
15719
- return (n, l) => {
15720
- const r = M("AVIcon");
15719
+ return (n, r) => {
15720
+ const l = M("AVIcon");
15721
15721
  return u(), d("div", HP, [
15722
15722
  (u(!0), d(R, null, X(e.value, (m, f) => (u(), d("div", {
15723
15723
  key: f,
@@ -15725,7 +15725,7 @@ const zP = /* @__PURE__ */ I(VP, [["__scopeId", "data-v-9a6218e9"]]), HP = { cla
15725
15725
  "data-test": "step"
15726
15726
  }, [
15727
15727
  m.done ? (u(), d("div", MP, [
15728
- z(r, {
15728
+ z(l, {
15729
15729
  icon: "fa-solid fa-check",
15730
15730
  class: "AVSteps--step-icon"
15731
15731
  })
@@ -15859,8 +15859,8 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
15859
15859
  "aria-describedby": `option_${e.optionReference}_description option_${e.optionReference}_handle`,
15860
15860
  tabindex: 0
15861
15861
  } : {});
15862
- return (n, l) => {
15863
- const r = M("AVOptionSelect");
15862
+ return (n, r) => {
15863
+ const l = M("AVOptionSelect");
15864
15864
  return u(), d("div", TP, [
15865
15865
  c.exclusiveError && c.checked ? (u(), d("div", DP, [
15866
15866
  o("div", IP, V(t.value.exclusive_option), 1)
@@ -15879,7 +15879,7 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
15879
15879
  onClick: A2(i, ["stop"]),
15880
15880
  onKeydown: B9(A2(i, ["prevent"]), ["space", "enter"])
15881
15881
  }), [
15882
- c.checked ? (u(), q(r, {
15882
+ c.checked ? (u(), q(l, {
15883
15883
  key: 0,
15884
15884
  id: `option_${c.optionReference}_tick`,
15885
15885
  rank: c.rank,
@@ -15949,28 +15949,28 @@ const OP = /* @__PURE__ */ I(PP, [["__scopeId", "data-v-919d7a25"]]), jP = /* @_
15949
15949
  emits: ["accordionOpen"],
15950
15950
  setup(c, { emit: a }) {
15951
15951
  const e = c, i = F(!1), t = F(!0);
15952
- function s(n = !1, l = !0) {
15953
- e.collapsable && (t.value = l, n === null ? i.value = !i.value : i.value = !!n, i.value && a("accordionOpen"));
15952
+ function s(n = !1, r = !0) {
15953
+ e.collapsable && (t.value = r, n === null ? i.value = !i.value : i.value = !!n, i.value && a("accordionOpen"));
15954
15954
  }
15955
15955
  return v2(() => {
15956
15956
  i.value = e.collapsable && !e.startCollapsed;
15957
- }), (n, l) => {
15958
- const r = M("AVTransitionSlide");
15957
+ }), (n, r) => {
15958
+ const l = M("AVTransitionSlide");
15959
15959
  return c.collapsable ? (u(), d(R, { key: 0 }, [
15960
15960
  o("div", {
15961
15961
  "aria-controls": c.paneId,
15962
15962
  tabindex: "0",
15963
15963
  "aria-expanded": i.value,
15964
15964
  class: "AVCollapser",
15965
- onClick: l[0] || (l[0] = (m) => s()),
15966
- onKeypress: l[1] || (l[1] = B9(A2((m) => s(), ["prevent"]), ["space", "enter"]))
15965
+ onClick: r[0] || (r[0] = (m) => s()),
15966
+ onKeypress: r[1] || (r[1] = B9(A2((m) => s(), ["prevent"]), ["space", "enter"]))
15967
15967
  }, [
15968
15968
  K(n.$slots, "toggle", {
15969
15969
  isOpen: i.value,
15970
15970
  collapsable: c.collapsable
15971
15971
  }, void 0, !0)
15972
15972
  ], 40, EP),
15973
- z(r, {
15973
+ z(l, {
15974
15974
  "skip-transition": !t.value
15975
15975
  }, {
15976
15976
  default: $(() => [
@@ -16067,17 +16067,17 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
16067
16067
  (m) => t.value.push({ value: m, checked: !1 })
16068
16068
  ), e.initialValue && s(e.initialValue), e.disabled && n();
16069
16069
  });
16070
- const l = (m) => {
16071
- s(m), r();
16072
- }, r = () => {
16070
+ const r = (m) => {
16071
+ s(m), l();
16072
+ }, l = () => {
16073
16073
  a("update", i.value, t.value);
16074
16074
  };
16075
- return e2(
16075
+ return c2(
16076
16076
  () => e.initialValue,
16077
16077
  () => {
16078
16078
  i.value = e.initialValue, s(e.initialValue);
16079
16079
  }
16080
- ), e2(
16080
+ ), c2(
16081
16081
  () => e.disabled,
16082
16082
  () => {
16083
16083
  n();
@@ -16102,7 +16102,7 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
16102
16102
  value: p.value,
16103
16103
  checked: p.checked,
16104
16104
  disabled: p.disabled,
16105
- onUpdate: (L) => l(p.value)
16105
+ onUpdate: (L) => r(p.value)
16106
16106
  }, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
16107
16107
  ], 2),
16108
16108
  c.error && c.errorMessage ? (u(), d("p", WP, V(c.errorMessage), 1)) : x("", !0)
@@ -16239,13 +16239,13 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
16239
16239
  archived: "default"
16240
16240
  }, i = g(() => e[a.status]);
16241
16241
  return (t, s) => {
16242
- const n = M("AVLabel"), l = M("AVIcon"), r = M("AVCard");
16242
+ const n = M("AVLabel"), r = M("AVIcon"), l = M("AVCard");
16243
16243
  return u(), d("a", {
16244
16244
  href: c.href,
16245
16245
  class: "AVElectionCard",
16246
16246
  "data-test": "link"
16247
16247
  }, [
16248
- z(r, {
16248
+ z(l, {
16249
16249
  variant: "rounded",
16250
16250
  role: "button"
16251
16251
  }, {
@@ -16262,35 +16262,35 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
16262
16262
  o("div", rO, [
16263
16263
  o("div", lO, [
16264
16264
  o("div", oO, [
16265
- z(l, { icon: "fa-solid fa-location-pin" })
16265
+ z(r, { icon: "fa-solid fa-location-pin" })
16266
16266
  ]),
16267
16267
  o("span", fO, [
16268
- c2(V(c.countyNameLabel), 1),
16268
+ e2(V(c.countyNameLabel), 1),
16269
16269
  o("strong", null, V(c.countyName), 1)
16270
16270
  ])
16271
16271
  ]),
16272
16272
  o("div", uO, [
16273
16273
  o("div", mO, [
16274
- z(l, { icon: "fa-solid fa-file-circle-plus" })
16274
+ z(r, { icon: "fa-solid fa-file-circle-plus" })
16275
16275
  ]),
16276
16276
  o("span", dO, [
16277
- c2(V(c.createdAtLabel), 1),
16277
+ e2(V(c.createdAtLabel), 1),
16278
16278
  o("strong", null, V(c.createdAt), 1)
16279
16279
  ])
16280
16280
  ]),
16281
16281
  o("div", vO, [
16282
16282
  o("div", pO, [
16283
- z(l, { icon: "fa-solid fa-pen-to-square" })
16283
+ z(r, { icon: "fa-solid fa-pen-to-square" })
16284
16284
  ]),
16285
16285
  o("span", hO, [
16286
- c2(V(c.lastUpdatedLabel), 1),
16286
+ e2(V(c.lastUpdatedLabel), 1),
16287
16287
  o("strong", null, V(c.lastUpdated), 1)
16288
16288
  ])
16289
16289
  ])
16290
16290
  ])
16291
16291
  ]),
16292
16292
  o("div", VO, [
16293
- z(l, {
16293
+ z(r, {
16294
16294
  icon: "fa-solid fa-circle-chevron-right",
16295
16295
  class: "AVElectionCard--CTA-icon"
16296
16296
  })
@@ -16477,8 +16477,8 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
16477
16477
  setup(c) {
16478
16478
  const a = c, e = g(() => SO[a.locale]), i = g(
16479
16479
  () => {
16480
- var n, l;
16481
- return ((n = a.option) == null ? void 0 : n.crosses) && ((l = a.option) == null ? void 0 : l.crosses) > 1 && a.multipleVotesAllowed && !a.blank;
16480
+ var n, r;
16481
+ return ((n = a.option) == null ? void 0 : n.crosses) && ((r = a.option) == null ? void 0 : r.crosses) > 1 && a.multipleVotesAllowed && !a.blank;
16482
16482
  }
16483
16483
  ), t = g(() => {
16484
16484
  var n;
@@ -16487,12 +16487,12 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
16487
16487
  var f, v;
16488
16488
  const n = Array.from(Array((f = a.option) == null ? void 0 : f.crosses).keys());
16489
16489
  n.forEach((p) => n[p] = p + 1);
16490
- const l = n.indexOf(Math.ceil(((v = a.option) == null ? void 0 : v.crosses) / 2)) + 1, r = n.slice(0, l), m = n.slice(l);
16491
- return m.length ? [r, m] : [r];
16490
+ const r = n.indexOf(Math.ceil(((v = a.option) == null ? void 0 : v.crosses) / 2)) + 1, l = n.slice(0, r), m = n.slice(r);
16491
+ return m.length ? [l, m] : [l];
16492
16492
  });
16493
- return (n, l) => {
16493
+ return (n, r) => {
16494
16494
  var m, f, v;
16495
- const r = M("AVOptionCheckbox");
16495
+ const l = M("AVOptionCheckbox");
16496
16496
  return u(), d("div", {
16497
16497
  class: "AVSummaryOption",
16498
16498
  "aria-label": e.value.option
@@ -16513,7 +16513,7 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
16513
16513
  o("div", TO, V(t.value), 1)
16514
16514
  ]),
16515
16515
  i.value ? x("", !0) : (u(), d("div", DO, [
16516
- z(r, {
16516
+ z(l, {
16517
16517
  checked: !0,
16518
16518
  rank: (v = c.option) == null ? void 0 : v.rank,
16519
16519
  disabled: !0
@@ -16527,7 +16527,7 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
16527
16527
  }, [
16528
16528
  (u(!0), d(R, null, X(p, (h) => {
16529
16529
  var L;
16530
- return u(), q(r, {
16530
+ return u(), q(l, {
16531
16531
  key: h,
16532
16532
  checked: !0,
16533
16533
  rank: (L = c.option) == null ? void 0 : L.rank,
@@ -16710,7 +16710,7 @@ const PO = {
16710
16710
  },
16711
16711
  emits: ["accordion-open", "checked"],
16712
16712
  setup(c, { emit: a }) {
16713
- const e = c, { eventBus: i } = Xw(), t = F(!1), s = F(null), n = F(null), { emit: l } = uk(), r = g(() => PO[e.locale]), m = g(
16713
+ const e = c, { eventBus: i } = Xw(), t = F(!1), s = F(null), n = F(null), { emit: r } = uk(), l = g(() => PO[e.locale]), m = g(
16714
16714
  () => document.getElementsByTagName("html")[0].dir === "rtl"
16715
16715
  ), f = g(
16716
16716
  () => e.contest.markingType.voteVariation === "ranked"
@@ -16733,10 +16733,10 @@ const PO = {
16733
16733
  let A = [];
16734
16734
  return L.value && A.push({
16735
16735
  url: L.value,
16736
- text: r.value.info_link_text_html
16736
+ text: l.value.info_link_text_html
16737
16737
  }), b.value && A.push({
16738
16738
  url: b.value,
16739
- text: r.value.video_link_text_html
16739
+ text: l.value.video_link_text_html
16740
16740
  }), A;
16741
16741
  }), _ = g(
16742
16742
  () => e.option.children && e.option.children.length > 0
@@ -16758,11 +16758,11 @@ const PO = {
16758
16758
  ).length;
16759
16759
  return A.reduce((Q, U) => Q + H(U.children), O);
16760
16760
  }, y = (A) => {
16761
- t.value = !1, A === e.option.code && (l("accordion-open"), mk(() => {
16761
+ t.value = !1, A === e.option.code && (r("accordion-open"), mk(() => {
16762
16762
  t.value = !0, n.value.scrollIntoView({ behavior: "smooth", block: "center" });
16763
16763
  }));
16764
16764
  };
16765
- return e2(
16765
+ return c2(
16766
16766
  () => i.value.get("highlight-option"),
16767
16767
  (A) => {
16768
16768
  const [O] = A ?? [];
@@ -16791,7 +16791,7 @@ const PO = {
16791
16791
  ref_key: "el",
16792
16792
  ref: s,
16793
16793
  class: j(["AVOption", { "AVOption--highlight": t.value }]),
16794
- "aria-label": r.value.aria_labels.option
16794
+ "aria-label": l.value.aria_labels.option
16795
16795
  }, [
16796
16796
  o("div", {
16797
16797
  class: j(["AVOption--container", {
@@ -16804,7 +16804,7 @@ const PO = {
16804
16804
  k.value ? (u(), d("img", {
16805
16805
  key: 0,
16806
16806
  src: k.value,
16807
- alt: r.value.aria_labels.option_image,
16807
+ alt: l.value.aria_labels.option_image,
16808
16808
  class: "AVOption-image"
16809
16809
  }, null, 8, FO)) : x("", !0),
16810
16810
  o("h5", {
@@ -16837,7 +16837,7 @@ const PO = {
16837
16837
  }, null, 8, ["icon"]),
16838
16838
  o("span", {
16839
16839
  class: "AVOption--expander-help-text",
16840
- innerHTML: Z ? r.value.collapse_text : r.value.expand_text
16840
+ innerHTML: Z ? l.value.collapse_text : l.value.expand_text
16841
16841
  }, null, 8, XO)
16842
16842
  ], 8, ZO),
16843
16843
  N.value && !Z ? (u(), d("span", {
@@ -16846,7 +16846,7 @@ const PO = {
16846
16846
  "AVOption--suboption-badge-danger": c.invalid,
16847
16847
  "AVOption--suboption-badge-normal": !c.invalid
16848
16848
  }])
16849
- }, V(m.value ? `${r.value.sub_options_select} ${N.value}` : `${N.value} ${r.value.sub_options_select}`), 3)) : x("", !0)
16849
+ }, V(m.value ? `${l.value.sub_options_select} ${N.value}` : `${N.value} ${l.value.sub_options_select}`), 3)) : x("", !0)
16850
16850
  ])) : x("", !0)
16851
16851
  ])) : x("", !0)
16852
16852
  ]),
@@ -17152,15 +17152,15 @@ const rj = /* @__PURE__ */ I(nj, [["__scopeId", "data-v-37a87144"]]), lj = {
17152
17152
  "update:checkedValue"
17153
17153
  ],
17154
17154
  setup(c, { emit: a }) {
17155
- const e = c, i = g(() => lj[e.locale]), t = (l) => {
17156
- a("update:candidateValue", l), n();
17157
- }, s = (l) => {
17158
- a("update:partyValue", l), n();
17155
+ const e = c, i = g(() => lj[e.locale]), t = (r) => {
17156
+ a("update:candidateValue", r), n();
17157
+ }, s = (r) => {
17158
+ a("update:partyValue", r), n();
17159
17159
  }, n = () => {
17160
- const l = e.partyValue !== "" || e.candidateValue !== "";
17161
- l !== e.checkedValue && a("update:checkedValue", l);
17160
+ const r = e.partyValue !== "" || e.candidateValue !== "";
17161
+ r !== e.checkedValue && a("update:checkedValue", r);
17162
17162
  };
17163
- return (l, r) => {
17163
+ return (r, l) => {
17164
17164
  const m = M("AVOptionCheckbox");
17165
17165
  return u(), d("div", {
17166
17166
  class: "AVWriteInOption",
@@ -17173,7 +17173,7 @@ const rj = /* @__PURE__ */ I(nj, [["__scopeId", "data-v-37a87144"]]), lj = {
17173
17173
  o("select", {
17174
17174
  class: "AVWriteInOption--form-control",
17175
17175
  "aria-label": i.value.aria_labels.party,
17176
- onInput: r[0] || (r[0] = (f) => s(f.target.value))
17176
+ onInput: l[0] || (l[0] = (f) => s(f.target.value))
17177
17177
  }, [
17178
17178
  o("option", pj, V(i.value.choose_party), 1),
17179
17179
  (u(!0), d(R, null, X(c.parties, (f) => (u(), d("option", {
@@ -17187,7 +17187,7 @@ const rj = /* @__PURE__ */ I(nj, [["__scopeId", "data-v-37a87144"]]), lj = {
17187
17187
  class: "AVWriteInOption--form-control",
17188
17188
  placeholder: i.value.placeholder,
17189
17189
  "aria-label": i.value.aria_labels.candidate,
17190
- onInput: r[1] || (r[1] = (f) => t(f.target.value))
17190
+ onInput: l[1] || (l[1] = (f) => t(f.target.value))
17191
17191
  }, null, 40, Vj)
17192
17192
  ])
17193
17193
  ]),
@@ -17470,7 +17470,7 @@ const Hj = /* @__PURE__ */ I(zj, [["__scopeId", "data-v-083c32ae"]]), Mj = {
17470
17470
  o("div", Aj, [
17471
17471
  c.minMarks === c.maxMarks ? (u(), d("div", Nj, V(`${e.value.select_exactly.before} ${c.minMarks} ${e.value.select_exactly.after}`), 1)) : (u(), d("div", Sj, V(`${e.value.select_multiple.before} ${c.minMarks} ${e.value.select_multiple.mid} ${c.maxMarks} ${e.value.select_exactly.after}`), 1)),
17472
17472
  c.chosenCount > 0 ? (u(), d("div", wj, [
17473
- c2(V(e.value.selected) + " ", 1),
17473
+ e2(V(e.value.selected) + " ", 1),
17474
17474
  o("b", null, V(c.chosenCount), 1)
17475
17475
  ])) : x("", !0)
17476
17476
  ])
@@ -17489,7 +17489,7 @@ function Dj(c, a, e) {
17489
17489
  return c.filter((t) => {
17490
17490
  const s = e(t).toLowerCase().trim().split(/\s+/);
17491
17491
  return i.every(
17492
- (n) => s.some((l) => l.includes(n))
17492
+ (n) => s.some((r) => r.includes(n))
17493
17493
  );
17494
17494
  });
17495
17495
  }
@@ -17628,14 +17628,14 @@ const Ij = {
17628
17628
  this
17629
17629
  );
17630
17630
  }
17631
- }), l = g(() => i.value.trim() === "" ? [] : Dj(
17631
+ }), r = g(() => i.value.trim() === "" ? [] : Dj(
17632
17632
  a.options,
17633
17633
  i.value,
17634
17634
  (f) => f.title[a.locale]
17635
- )), r = () => {
17635
+ )), l = () => {
17636
17636
  i.value = "", t.value && clearTimeout(t.value);
17637
17637
  }, m = (f) => {
17638
- e("highlight-option", f.code), r();
17638
+ e("highlight-option", f.code), l();
17639
17639
  };
17640
17640
  return (f, v) => (u(), d("form", {
17641
17641
  role: "search",
@@ -17663,7 +17663,7 @@ const Ij = {
17663
17663
  ])
17664
17664
  ]),
17665
17665
  o("div", qj, [
17666
- (u(!0), d(R, null, X(l.value, (p) => (u(), d("div", {
17666
+ (u(!0), d(R, null, X(r.value, (p) => (u(), d("div", {
17667
17667
  key: p,
17668
17668
  "aria-label": p.title[c.locale]
17669
17669
  }, [
@@ -17680,7 +17680,7 @@ const Ij = {
17680
17680
  }, null, 8, Rj)
17681
17681
  ], 8, $j)
17682
17682
  ], 8, Fj))), 128)),
17683
- i.value && l.value.length === 0 ? (u(), d("div", {
17683
+ i.value && r.value.length === 0 ? (u(), d("div", {
17684
17684
  key: 0,
17685
17685
  class: "AVSearchBallot--alert",
17686
17686
  textContent: V(s.value.no_results)
@@ -17770,19 +17770,19 @@ const Gj = /* @__PURE__ */ I(Wj, [["__scopeId", "data-v-3516a383"]]), Yj = {
17770
17770
  return (i, t) => (u(), d("div", Qj, [
17771
17771
  o("div", Zj, [
17772
17772
  o("span", null, [
17773
- c2(V(e.value.total) + " ", 1),
17773
+ e2(V(e.value.total) + " ", 1),
17774
17774
  o("strong", null, V(c.assignedWeight + c.unusedWeight), 1)
17775
17775
  ])
17776
17776
  ]),
17777
17777
  o("div", Xj, [
17778
17778
  o("span", null, [
17779
- c2(V(e.value.assigned) + " ", 1),
17779
+ e2(V(e.value.assigned) + " ", 1),
17780
17780
  o("strong", null, V(c.assignedWeight), 1)
17781
17781
  ])
17782
17782
  ]),
17783
17783
  o("div", Jj, [
17784
17784
  o("span", null, [
17785
- c2(V(e.value.unused) + " ", 1),
17785
+ e2(V(e.value.unused) + " ", 1),
17786
17786
  o("strong", null, V(c.unusedWeight), 1)
17787
17787
  ])
17788
17788
  ])
@@ -18135,7 +18135,7 @@ const AE = /* @__PURE__ */ I(CE, [["render", yE], ["__scopeId", "data-v-1923eca8
18135
18135
  },
18136
18136
  setup(c) {
18137
18137
  const a = c;
18138
- return e2(
18138
+ return c2(
18139
18139
  () => a.modalActive,
18140
18140
  () => {
18141
18141
  a.modalActive && (document.body.style.overflowY = "hidden"), a.modalActive || (document.body.style.overflowY = "scroll");
@@ -18320,11 +18320,11 @@ const DE = {
18320
18320
  },
18321
18321
  emits: ["update:selectionPile"],
18322
18322
  setup(c, { emit: a }) {
18323
- const e = c, i = F(!1), t = F(""), s = F(""), n = F(null), l = g(() => e.selectionPile.optionSelections), r = g(() => new Jw(e.contest)), m = g(() => r.value.validate(e.selectionPile)), f = g(() => m.value.length === 0), v = g(() => {
18323
+ const e = c, i = F(!1), t = F(""), s = F(""), n = F(null), r = g(() => e.selectionPile.optionSelections), l = g(() => new Jw(e.contest)), m = g(() => l.value.validate(e.selectionPile)), f = g(() => m.value.length === 0), v = g(() => {
18324
18324
  var _;
18325
18325
  return (_ = e.contest.question) == null ? void 0 : _[e.locale];
18326
18326
  }), p = g(() => e.contest.options), h = g(() => e.contest), L = g(() => DE[e.locale]);
18327
- e2(h, (_, C) => {
18327
+ c2(h, (_, C) => {
18328
18328
  var N;
18329
18329
  C && _ && _.reference !== C.reference && ((N = document.getElementById("content")) == null || N.focus(), C.searchForm && (n.value.value = ""));
18330
18330
  });
@@ -18334,11 +18334,11 @@ const DE = {
18334
18334
  explicitBlank: !e.selectionPile.explicitBlank
18335
18335
  });
18336
18336
  }, k = ({ reference: _, amount: C }) => {
18337
- const N = l.value.filter(
18337
+ const N = r.value.filter(
18338
18338
  (S) => S.reference === _
18339
18339
  ).length;
18340
18340
  C === N && (C = C - 1);
18341
- const D = l.value.filter(
18341
+ const D = r.value.filter(
18342
18342
  (S) => S.reference !== _
18343
18343
  );
18344
18344
  for (let S = 0; S < C; S++)
@@ -18398,7 +18398,7 @@ const DE = {
18398
18398
  locale: e.locale
18399
18399
  }, null, 8, ["candidate-value", "party-value", "checked-value", "parties", "locale"])) : (u(), q(S, {
18400
18400
  key: 1,
18401
- selections: l.value,
18401
+ selections: r.value,
18402
18402
  option: y,
18403
18403
  invalid: !f.value,
18404
18404
  contest: c.contest,
@@ -18416,7 +18416,7 @@ const DE = {
18416
18416
  ], 10, jE),
18417
18417
  z(H, {
18418
18418
  id: `ballot_${c.contest.reference}`,
18419
- "chosen-count": l.value.length,
18419
+ "chosen-count": r.value.length,
18420
18420
  errors: m.value,
18421
18421
  class: "AVBallot--helper",
18422
18422
  "min-marks": c.contest.markingType.minMarks,
@@ -18642,17 +18642,17 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18642
18642
  },
18643
18643
  emits: ["editCurrentSelection", "deleteSelection"],
18644
18644
  setup(c, { emit: a }) {
18645
- const e = c, i = F(!1), t = F([]), s = g(() => FE[e.locale]), n = g(() => e.selectionPile.optionSelections.length === 0), l = g(() => !e.maximumOptionsShown || i.value ? e.selectionPile.optionSelections : e.selectionPile.optionSelections.slice(
18645
+ const e = c, i = F(!1), t = F([]), s = g(() => FE[e.locale]), n = g(() => e.selectionPile.optionSelections.length === 0), r = g(() => !e.maximumOptionsShown || i.value ? e.selectionPile.optionSelections : e.selectionPile.optionSelections.slice(
18646
18646
  0,
18647
18647
  e.maximumOptionsShown
18648
- )), r = g(() => e.selectionPile.optionSelections.length - l.value.length), m = (v) => {
18648
+ )), l = g(() => e.selectionPile.optionSelections.length - r.value.length), m = (v) => {
18649
18649
  v.selectable && t.value.push(v), v.children && v.children.map((p) => m(p));
18650
18650
  }, f = g(() => {
18651
18651
  const v = {
18652
18652
  options: [],
18653
18653
  writeIns: []
18654
18654
  };
18655
- return l.value.forEach((p) => {
18655
+ return r.value.forEach((p) => {
18656
18656
  if (p.text)
18657
18657
  v.writeIns.push({
18658
18658
  partyLetter: "?",
@@ -18733,14 +18733,14 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
18733
18733
  eq,
18734
18734
  o("span", null, V(b.candidateName), 1)
18735
18735
  ]))), 128)),
18736
- r.value > 0 ? (u(), d("p", {
18736
+ l.value > 0 ? (u(), d("p", {
18737
18737
  key: 1,
18738
18738
  role: "button",
18739
18739
  class: "AVPileSummary--show-more-button",
18740
18740
  onClick: p[1] || (p[1] = A2((b) => i.value = !0, ["stop", "prevent"]))
18741
18741
  }, [
18742
18742
  o("u", null, [
18743
- o("em", null, V(`${s.value.and_n_more_pre} ${r.value} ${s.value.and_n_more_pos}`), 1)
18743
+ o("em", null, V(`${s.value.and_n_more_pre} ${l.value} ${s.value.and_n_more_pos}`), 1)
18744
18744
  ])
18745
18745
  ])) : x("", !0),
18746
18746
  i.value ? (u(), d("p", {
@@ -19044,69 +19044,71 @@ const lq = {
19044
19044
  "setContestSelection"
19045
19045
  ],
19046
19046
  setup(c, { emit: a }) {
19047
- const e = c, i = F(null), t = g(
19047
+ const e = c, i = F(null), t = F(null), s = g(() => lq[e.locale]), n = g(() => e.ballotActiveState), r = g(() => e.contestSelection.piles), l = g(
19048
+ () => r.value.reduce((H, y) => H - y.multiplier, e.weight)
19049
+ ), m = g(
19048
19050
  () => {
19049
19051
  var H;
19050
- return m.value + ((H = r.value[i.value]) == null ? void 0 : H.multiplier) || 0;
19052
+ return l.value + ((H = r.value[i.value]) == null ? void 0 : H.multiplier) || 0;
19051
19053
  }
19052
- ), s = F({
19053
- optionSelections: [],
19054
- multiplier: t.value,
19055
- explicitBlank: !1
19056
- }), n = g(() => lq[e.locale]), l = g(() => e.ballotActiveState), r = g(() => e.contestSelection.piles), m = g(
19057
- () => r.value.reduce((H, y) => H - y.multiplier, e.weight)
19058
19054
  ), f = g(
19059
19055
  () => new Jw(e.contest)
19060
19056
  ), v = () => new rq({
19061
19057
  contest: e.contest,
19062
19058
  voterWeight: e.weight
19063
19059
  }), p = g(
19064
- () => m.value === 0 && r.value.every(
19060
+ () => l.value === 0 && r.value.every(
19065
19061
  (H) => f.value.isComplete(H)
19066
19062
  )
19067
19063
  ), h = g(
19068
19064
  () => r.value.reduce((H, y) => H + y.multiplier, 0)
19069
19065
  ), L = g(() => {
19070
19066
  var H;
19071
- return (H = s.value) == null ? void 0 : H.multiplier;
19067
+ return (H = t.value) == null ? void 0 : H.multiplier;
19072
19068
  }), b = g(
19073
19069
  () => e.splitableContests[e.contest.reference]
19074
19070
  ), k = g(() => i.value !== null), B = (H) => f.value.isComplete(H), _ = (H) => f.value.validate(H).length > 0, C = (H) => {
19075
- s.value = H, b.value || N();
19071
+ t.value = H, b.value || N();
19076
19072
  }, N = () => {
19077
19073
  if (b.value) {
19078
19074
  const H = [...r.value];
19079
- s.value && (i.value === null ? H.push({ ...s.value }) : H.splice(i.value, 1, { ...s.value })), a("setContestSelection", {
19075
+ t.value && (i.value === null ? H.push({ ...t.value }) : H.splice(i.value, 1, { ...t.value })), a("setContestSelection", {
19080
19076
  ...e.contestSelection,
19081
19077
  piles: H
19082
19078
  }), i.value = null, a("setBallotActiveState", "overview");
19083
19079
  } else
19084
- s.value.multiplier = e.weight, a("setContestSelection", {
19080
+ t.value.multiplier = e.weight, a("setContestSelection", {
19085
19081
  ...e.contestSelection,
19086
- piles: [s.value]
19082
+ piles: [t.value]
19087
19083
  });
19088
19084
  }, D = () => {
19089
- s.value = {
19085
+ t.value = {
19090
19086
  optionSelections: [],
19091
- multiplier: t.value,
19087
+ multiplier: m.value,
19092
19088
  explicitBlank: !1
19093
19089
  }, i.value = null, a("setBallotActiveState", "ballot");
19094
19090
  }, S = (H) => {
19095
19091
  r.value.splice(H, 1);
19096
19092
  }, E = (H) => {
19097
- s.value = { ...r.value[H] }, i.value = H, a("setBallotActiveState", "ballot");
19093
+ t.value = { ...r.value[H] }, i.value = H, a("setBallotActiveState", "ballot");
19098
19094
  };
19099
- return e2(p, (H) => {
19100
- console.log("READY"), a("update:complete", H);
19101
- }), e2(l, (H) => {
19102
- console.log("ACTIVE"), a("setBallotActiveState", H);
19103
- }), e2(L, () => {
19104
- console.log("WEIGHT"), s.value && (s.value.multiplier = Math.max(
19095
+ return c2(p, (H) => a("update:complete", H)), c2(n, (H) => a("setBallotActiveState", H)), c2(L, () => {
19096
+ t.value && (t.value.multiplier = Math.max(
19105
19097
  0,
19106
- Math.min(L.value, t.value)
19098
+ Math.min(L.value, m.value)
19107
19099
  ));
19100
+ }), c2(m, () => {
19101
+ t.value = {
19102
+ optionSelections: [],
19103
+ multiplier: m.value,
19104
+ explicitBlank: !1
19105
+ }, console.log("watch", t.value);
19108
19106
  }), v2(() => {
19109
- console.log(s.value), b.value || N();
19107
+ t.value = {
19108
+ optionSelections: [],
19109
+ multiplier: m.value,
19110
+ explicitBlank: !1
19111
+ }, console.log("mount", t.value), b.value || N();
19110
19112
  }), (H, y) => {
19111
19113
  var f2;
19112
19114
  const A = M("AVSplitWizardHeader"), O = M("AVBallot"), Q = M("AVPileSummary"), U = M("AVSplitWeightHelper"), t2 = M("AVIcon");
@@ -19117,12 +19119,12 @@ const lq = {
19117
19119
  innerHTML: (f2 = c.contest.description) == null ? void 0 : f2[e.locale]
19118
19120
  }, null, 8, fq),
19119
19121
  b.value ? (u(), d("div", uq, [
19120
- ["ballot", "assign", "overview"].includes(l.value) ? (u(), q(A, {
19122
+ ["ballot", "assign", "overview"].includes(n.value) ? (u(), q(A, {
19121
19123
  key: 0,
19122
19124
  "active-ballot-index": i.value,
19123
- "active-state": l.value,
19125
+ "active-state": n.value,
19124
19126
  "selection-piles": r.value,
19125
- "total-weight": h.value + m.value,
19127
+ "total-weight": h.value + l.value,
19126
19128
  "is-editing": k.value,
19127
19129
  locale: e.locale
19128
19130
  }, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) : x("", !0),
@@ -19133,10 +19135,10 @@ const lq = {
19133
19135
  default: $(() => {
19134
19136
  var Z;
19135
19137
  return [
19136
- s.value && l.value === "ballot" ? (u(), d("div", { key: i.value }, [
19138
+ t.value && n.value === "ballot" ? (u(), d("div", { key: i.value }, [
19137
19139
  z(O, {
19138
19140
  class: "AVSplitHelper--ballot",
19139
- "selection-pile": s.value,
19141
+ "selection-pile": t.value,
19140
19142
  contest: c.contest,
19141
19143
  locale: e.locale,
19142
19144
  "onUpdate:selectionPile": C
@@ -19147,26 +19149,26 @@ const lq = {
19147
19149
  key: "back",
19148
19150
  class: "AVSplitHelper--btn-secondary",
19149
19151
  onClick: y[0] || (y[0] = (W) => a("setBallotActiveState", "overview"))
19150
- }, V(n.value.ballot.back_button), 1)) : x("", !0)
19152
+ }, V(s.value.ballot.back_button), 1)) : x("", !0)
19151
19153
  ]),
19152
19154
  o("div", vq, [
19153
19155
  o("button", {
19154
19156
  key: "assign",
19155
19157
  class: "AVSplitHelper--btn-primary",
19156
- disabled: !B(s.value) || _(s.value),
19158
+ disabled: !B(t.value) || _(t.value),
19157
19159
  onClick: y[1] || (y[1] = (W) => a("setBallotActiveState", "assign"))
19158
- }, V(n.value.ballot.confirm_button), 9, pq)
19160
+ }, V(s.value.ballot.confirm_button), 9, pq)
19159
19161
  ])
19160
19162
  ])
19161
- ])) : l.value === "assign" ? (u(), d("div", hq, [
19163
+ ])) : n.value === "assign" ? (u(), d("div", hq, [
19162
19164
  o("div", Vq, [
19163
- o("h4", zq, V(n.value.assign.split_question), 1),
19165
+ o("h4", zq, V(s.value.assign.split_question), 1),
19164
19166
  z(Q, {
19165
- "selection-pile": s.value,
19167
+ "selection-pile": t.value,
19166
19168
  contest: c.contest,
19167
19169
  "maximum-options-shown": 3,
19168
19170
  "pile-index": k.value ? i.value : r.value.length,
19169
- "active-state": l.value,
19171
+ "active-state": n.value,
19170
19172
  "is-editing": k.value,
19171
19173
  "total-piles": c.contestSelection.piles.length,
19172
19174
  "splitable-contests": c.splitableContests,
@@ -19176,20 +19178,20 @@ const lq = {
19176
19178
  o("label", {
19177
19179
  for: `${c.contest.reference}-ballot-selector`,
19178
19180
  class: "AVSplitHelper--assign-label"
19179
- }, V(k.value ? n.value.assign.ballots_to_assign_edit_mode : n.value.assign.ballots_to_assign), 9, Hq),
19181
+ }, V(k.value ? s.value.assign.ballots_to_assign_edit_mode : s.value.assign.ballots_to_assign), 9, Hq),
19180
19182
  S2(o("input", {
19181
19183
  id: `${c.contest.reference}-ballot-selector`,
19182
- "onUpdate:modelValue": y[3] || (y[3] = (W) => s.value.multiplier = W),
19184
+ "onUpdate:modelValue": y[3] || (y[3] = (W) => t.value.multiplier = W),
19183
19185
  class: "AVSplitHelper--assign-input",
19184
19186
  type: "number",
19185
- max: t.value
19187
+ max: m.value
19186
19188
  }, null, 8, Mq), [
19187
- [P9, s.value.multiplier]
19189
+ [P9, t.value.multiplier]
19188
19190
  ])
19189
19191
  ]),
19190
19192
  z(U, {
19191
19193
  "assigned-weight": h.value,
19192
- "unused-weight": m.value,
19194
+ "unused-weight": l.value,
19193
19195
  "active-assigned": (Z = r.value[i.value]) == null ? void 0 : Z.multiplier,
19194
19196
  locale: e.locale
19195
19197
  }, null, 8, ["assigned-weight", "unused-weight", "active-assigned", "locale"]),
@@ -19199,37 +19201,37 @@ const lq = {
19199
19201
  key: "ballot",
19200
19202
  class: "AVSplitHelper--btn-secondary",
19201
19203
  onClick: y[4] || (y[4] = (W) => a("setBallotActiveState", "ballot"))
19202
- }, V(n.value.assign.back_button), 1)
19204
+ }, V(s.value.assign.back_button), 1)
19203
19205
  ]),
19204
19206
  o("div", Lq, [
19205
19207
  o("button", {
19206
19208
  key: "confirm",
19207
19209
  class: "AVSplitHelper--btn-primary",
19208
- disabled: s.value.multiplier < 1 || s.value.multiplier > t.value,
19210
+ disabled: t.value.multiplier < 1 || t.value.multiplier > m.value,
19209
19211
  onClick: y[5] || (y[5] = (W) => N())
19210
- }, V(n.value.assign.confirm_button), 9, bq)
19212
+ }, V(s.value.assign.confirm_button), 9, bq)
19211
19213
  ])
19212
19214
  ])
19213
- ])) : l.value === "overview" ? (u(), d("div", xq, [
19214
- m.value === 0 && v.isComplete(c.contestSelection) ? (u(), d("div", yq, [
19215
+ ])) : n.value === "overview" ? (u(), d("div", xq, [
19216
+ l.value === 0 && v.isComplete(c.contestSelection) ? (u(), d("div", yq, [
19215
19217
  z(t2, {
19216
19218
  icon: "circle-check",
19217
19219
  class: "AVSplitHelper--overview-success-icon"
19218
19220
  }),
19219
- c2(" " + V(n.value.overview.all_ballots_assigned), 1)
19221
+ e2(" " + V(s.value.overview.all_ballots_assigned), 1)
19220
19222
  ])) : (u(), d("div", Aq, [
19221
19223
  o("p", Nq, [
19222
- o("strong", null, V(m.value), 1),
19223
- c2(" " + V(n.value.overview.ballots_left), 1)
19224
+ o("strong", null, V(l.value), 1),
19225
+ e2(" " + V(s.value.overview.ballots_left), 1)
19224
19226
  ]),
19225
19227
  o("button", {
19226
19228
  key: "newSelection",
19227
19229
  class: "AVSplitHelper--overview-new-ballot-btn",
19228
- disabled: m.value === 0,
19230
+ disabled: l.value === 0,
19229
19231
  onClick: D
19230
19232
  }, [
19231
19233
  z(t2, { icon: "file-circle-plus" }),
19232
- c2(" " + V(n.value.overview.new_ballot_selection), 1)
19234
+ e2(" " + V(s.value.overview.new_ballot_selection), 1)
19233
19235
  ], 8, Sq)
19234
19236
  ])),
19235
19237
  (u(!0), d(R, null, X(r.value, (W, i2) => (u(), d("article", {
@@ -19240,7 +19242,7 @@ const lq = {
19240
19242
  "selection-pile": W,
19241
19243
  contest: c.contest,
19242
19244
  "maximum-options-shown": 3,
19243
- "active-state": l.value,
19245
+ "active-state": n.value,
19244
19246
  "pile-index": i2,
19245
19247
  "total-piles": c.contestSelection.piles.length,
19246
19248
  "splitable-contests": c.splitableContests,
@@ -19256,7 +19258,7 @@ const lq = {
19256
19258
  ])) : (u(), d("div", kq, [
19257
19259
  z(O, {
19258
19260
  class: "AVSplitHelper--no-split",
19259
- "selection-pile": s.value,
19261
+ "selection-pile": t.value,
19260
19262
  contest: c.contest,
19261
19263
  locale: e.locale,
19262
19264
  "onUpdate:selectionPile": C
@@ -19266,7 +19268,7 @@ const lq = {
19266
19268
  };
19267
19269
  }
19268
19270
  });
19269
- const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-5cecefd3"]]);
19271
+ const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-88420d3b"]]);
19270
19272
  var Dq = {}, Iq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Bq = { class: "flex items-center" }, Pq = { class: "flex flex-col items-center justify-center p-3 w-full" }, Oq = /* @__PURE__ */ o("h2", { class: "mb-4" }, "Election Name", -1), jq = /* @__PURE__ */ o("div", null, [
19271
19273
  /* @__PURE__ */ o("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. "),
19272
19274
  /* @__PURE__ */ o("br"),
@@ -19301,7 +19303,7 @@ var Dq = {}, Iq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Bq = { clas
19301
19303
  /* @__PURE__ */ o("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
19302
19304
  ], -1);
19303
19305
  function Eq(c, a) {
19304
- var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"), l = M("AVTabSwitcher"), r = M("AVSidebarItem"), m = M("AVButton"), f = M("AVSidebar"), v = M("AVContent"), p = M("AVFooter");
19306
+ var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"), r = M("AVTabSwitcher"), l = M("AVSidebarItem"), m = M("AVButton"), f = M("AVSidebar"), v = M("AVContent"), p = M("AVFooter");
19305
19307
  return u(), d(R, null, [
19306
19308
  z(s, null, {
19307
19309
  default: $(function() {
@@ -19357,50 +19359,50 @@ function Eq(c, a) {
19357
19359
  type: "info"
19358
19360
  })
19359
19361
  ]),
19360
- z(l, { options: ["Pre-election", "election"] }),
19362
+ z(r, { options: ["Pre-election", "election"] }),
19361
19363
  z(i, { type: "sidebar" }, {
19362
19364
  default: $(function() {
19363
19365
  return [
19364
- z(r, {
19366
+ z(l, {
19365
19367
  label: "Election Overview",
19366
19368
  icon: "grip",
19367
19369
  active: ""
19368
19370
  }),
19369
- z(r, {
19371
+ z(l, {
19370
19372
  label: "Election details",
19371
19373
  type: "step",
19372
19374
  stepIndex: "1"
19373
19375
  }),
19374
- z(r, {
19376
+ z(l, {
19375
19377
  label: "Digital Absentee Voting Requirements",
19376
19378
  type: "step",
19377
19379
  stepIndex: "2"
19378
19380
  }),
19379
- z(r, {
19381
+ z(l, {
19380
19382
  label: "Voting App Set Up",
19381
19383
  type: "step",
19382
19384
  stepIndex: "3"
19383
19385
  }),
19384
- z(r, {
19386
+ z(l, {
19385
19387
  label: "Ballot Data",
19386
19388
  type: "step",
19387
19389
  stepIndex: "4"
19388
19390
  }),
19389
- z(r, {
19391
+ z(l, {
19390
19392
  label: "Ballot Styles",
19391
19393
  type: "step",
19392
19394
  stepIndex: "5"
19393
19395
  }),
19394
- z(r, {
19396
+ z(l, {
19395
19397
  label: "Configure Ballot Extraction",
19396
19398
  type: "step",
19397
19399
  stepIndex: "6"
19398
19400
  }),
19399
- z(r, {
19401
+ z(l, {
19400
19402
  label: "Start Ballot Box Set Up",
19401
19403
  icon: "download"
19402
19404
  }),
19403
- z(r, {
19405
+ z(l, {
19404
19406
  label: "Finish Ballot Box Set Up",
19405
19407
  icon: "handshake-simple",
19406
19408
  disabled: ""
@@ -19497,7 +19499,7 @@ var Fq = {}, $q = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Rq = { clas
19497
19499
  /* @__PURE__ */ o("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
19498
19500
  ], -1);
19499
19501
  function Qq(c, a) {
19500
- var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"), l = M("AVTabSwitcher"), r = M("AVSidebarItem"), m = M("AVButton"), f = M("AVSidebar"), v = M("AVContent"), p = M("AVFooter");
19502
+ var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVLabel"), r = M("AVTabSwitcher"), l = M("AVSidebarItem"), m = M("AVButton"), f = M("AVSidebar"), v = M("AVContent"), p = M("AVFooter");
19501
19503
  return u(), d(R, null, [
19502
19504
  z(s, null, {
19503
19505
  default: $(function() {
@@ -19553,50 +19555,50 @@ function Qq(c, a) {
19553
19555
  type: "info"
19554
19556
  })
19555
19557
  ]),
19556
- z(l, { options: ["Pre-election", "election"] }),
19558
+ z(r, { options: ["Pre-election", "election"] }),
19557
19559
  z(i, { type: "sidebar" }, {
19558
19560
  default: $(function() {
19559
19561
  return [
19560
- z(r, {
19562
+ z(l, {
19561
19563
  label: "Election Overview",
19562
19564
  icon: "grip",
19563
19565
  active: ""
19564
19566
  }),
19565
- z(r, {
19567
+ z(l, {
19566
19568
  label: "Election details",
19567
19569
  type: "step",
19568
19570
  stepIndex: "1"
19569
19571
  }),
19570
- z(r, {
19572
+ z(l, {
19571
19573
  label: "Digital Absentee Voting Requirements",
19572
19574
  type: "step",
19573
19575
  stepIndex: "2"
19574
19576
  }),
19575
- z(r, {
19577
+ z(l, {
19576
19578
  label: "Voting App Set Up",
19577
19579
  type: "step",
19578
19580
  stepIndex: "3"
19579
19581
  }),
19580
- z(r, {
19582
+ z(l, {
19581
19583
  label: "Ballot Data",
19582
19584
  type: "step",
19583
19585
  stepIndex: "4"
19584
19586
  }),
19585
- z(r, {
19587
+ z(l, {
19586
19588
  label: "Ballot Styles",
19587
19589
  type: "step",
19588
19590
  stepIndex: "5"
19589
19591
  }),
19590
- z(r, {
19592
+ z(l, {
19591
19593
  label: "Configure Ballot Extraction",
19592
19594
  type: "step",
19593
19595
  stepIndex: "6"
19594
19596
  }),
19595
- z(r, {
19597
+ z(l, {
19596
19598
  label: "Start Ballot Box Set Up",
19597
19599
  icon: "download"
19598
19600
  }),
19599
- z(r, {
19601
+ z(l, {
19600
19602
  label: "Finish Ballot Box Set Up",
19601
19603
  icon: "handshake-simple",
19602
19604
  disabled: ""
@@ -19634,7 +19636,7 @@ var Xq = {}, Jq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Kq = { clas
19634
19636
  /* @__PURE__ */ o("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. ")
19635
19637
  ], -1);
19636
19638
  function eF(c, a) {
19637
- var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVContent"), l = M("AVFooter");
19639
+ var e = M("AVNavbarItem"), i = M("AVNavigationItemList"), t = M("AVMenuDropdown"), s = M("AVNavbar"), n = M("AVContent"), r = M("AVFooter");
19638
19640
  return u(), d(R, null, [
19639
19641
  z(s, null, {
19640
19642
  default: $(function() {
@@ -19685,7 +19687,7 @@ function eF(c, a) {
19685
19687
  }),
19686
19688
  _: 1
19687
19689
  }),
19688
- z(l, {
19690
+ z(r, {
19689
19691
  enableSteps: "",
19690
19692
  steps: [
19691
19693
  "Check my ballot",
@@ -19767,9 +19769,9 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
19767
19769
  }
19768
19770
  ];
19769
19771
  return (e, i) => {
19770
- const t = M("AVNavbarItem"), s = M("AVNavigationItemList"), n = M("AVMenuDropdown"), l = M("AVNavbar"), r = M("AVIcon"), m = M("AVCard"), f = M("AVElectionCard"), v = M("AVContent"), p = M("AVFooter");
19772
+ const t = M("AVNavbarItem"), s = M("AVNavigationItemList"), n = M("AVMenuDropdown"), r = M("AVNavbar"), l = M("AVIcon"), m = M("AVCard"), f = M("AVElectionCard"), v = M("AVContent"), p = M("AVFooter");
19771
19773
  return u(), d(R, null, [
19772
- z(l, null, {
19774
+ z(r, null, {
19773
19775
  default: $(() => [
19774
19776
  iF,
19775
19777
  o("div", tF, [
@@ -19821,7 +19823,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
19821
19823
  default: $(() => [
19822
19824
  nF,
19823
19825
  o("div", rF, [
19824
- z(r, {
19826
+ z(l, {
19825
19827
  icon: "fa-solid fa-circle-plus",
19826
19828
  class: "new-election-icon"
19827
19829
  })
@@ -19831,7 +19833,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
19831
19833
  })
19832
19834
  ]),
19833
19835
  a.length === 0 ? (u(), d("div", lF, [
19834
- z(r, {
19836
+ z(l, {
19835
19837
  icon: "fa-solid fa-folder-open",
19836
19838
  class: "no-elections-icon"
19837
19839
  }),