@avenirs-esr/avenirs-dsav 0.1.120 → 0.1.121

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.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, useCssVars as oe, computed as g, createElementBlock as b, openBlock as d, normalizeStyle as Ae, normalizeClass as Q, unref as r, createElementVNode as C, toDisplayString as W, createPropsRestProxy as Ba, createBlock as S, resolveDynamicComponent as he, mergeProps as _, withCtx as K, createCommentVNode as w, createVNode as V, Fragment as $, renderList as le, useSlots as me, createTextVNode as Le, renderSlot as U, ref as z, normalizeProps as Pa, withDirectives as Et, vShow as $t, TransitionGroup as Wa, onMounted as ve, watch as se, onUnmounted as ge, Comment as Ua, cloneVNode as Va, toRefs as _t, withModifiers as de, inject as lt, toRef as ea, provide as Nt, nextTick as rt, getCurrentScope as Ha, onScopeDispose as Ra, getCurrentInstance as Tt, hasInjectionContext as Dt, isRef as Lt, toValue as ie, shallowRef as Ee, reactive as bt, watchEffect as Za, onBeforeUnmount as ta, Teleport as aa, withKeys as ue, mergeModels as ye, useModel as we, vModelCheckbox as Ya, useAttrs as Xa, createSlots as Je, useTemplateRef as qa, resolveComponent as wt } from "vue";
1
+ import { defineComponent as p, useCssVars as oe, computed as g, createElementBlock as b, openBlock as d, normalizeStyle as Ae, normalizeClass as Q, unref as r, createElementVNode as C, toDisplayString as W, createPropsRestProxy as Ba, createBlock as S, resolveDynamicComponent as he, mergeProps as _, withCtx as K, createCommentVNode as w, createVNode as V, Fragment as $, renderList as ie, useSlots as me, createTextVNode as Le, renderSlot as U, ref as z, normalizeProps as Pa, withDirectives as Et, vShow as $t, TransitionGroup as Wa, onMounted as ve, watch as se, onUnmounted as ge, Comment as Ua, cloneVNode as Va, toRefs as _t, withModifiers as de, inject as it, toRef as ea, provide as Nt, nextTick as rt, getCurrentScope as Ha, onScopeDispose as Ra, getCurrentInstance as Tt, hasInjectionContext as Dt, isRef as Lt, toValue as le, shallowRef as Ee, reactive as bt, watchEffect as Za, onBeforeUnmount as ta, Teleport as aa, withKeys as ue, mergeModels as ye, useModel as we, vModelCheckbox as Ya, useAttrs as Xa, createSlots as Je, useTemplateRef as qa, resolveComponent as wt } from "vue";
2
2
  import { r as na } from "./injection-key.es.js";
3
3
  const Fa = ["title"], Ka = /* @__PURE__ */ p({
4
4
  __name: "AvBadge",
@@ -12,16 +12,16 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
12
12
  ellipsis: { type: Boolean, default: !1 }
13
13
  },
14
14
  setup(e) {
15
- oe((i) => ({
16
- v9916578e: i.color,
17
- v5013efaa: i.backgroundColor,
18
- v418db2ed: i.borderColor
15
+ oe((l) => ({
16
+ v9916578e: l.color,
17
+ v5013efaa: l.backgroundColor,
18
+ v418db2ed: l.borderColor
19
19
  }));
20
20
  const t = g(() => {
21
- var i, l;
22
- return (i = e.icon) != null && i.startsWith("data:") ? null : (l = e.icon) == null ? void 0 : l.replace(":", "-");
21
+ var l, i;
22
+ return (l = e.icon) != null && l.startsWith("data:") ? null : (i = e.icon) == null ? void 0 : i.replace(":", "-");
23
23
  }), a = g(() => `--icon-${t.value}`), n = g(() => t.value ? { "--icon-path": `var(${a.value})` } : e.icon ? { "--icon-path": `url(${e.icon})` } : {});
24
- return (i, l) => (d(), b("p", {
24
+ return (l, i) => (d(), b("p", {
25
25
  class: Q(["av-badge av-row av-align-center av-py-none av-m-none", {
26
26
  "av-badge--sm av-px-xxs": e.small,
27
27
  "av-px-xs": !e.small,
@@ -42,8 +42,8 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
42
42
  }
43
43
  }), P = (e, t) => {
44
44
  const a = e.__vccOpts || e;
45
- for (const [n, i] of t)
46
- a[n] = i;
45
+ for (const [n, l] of t)
46
+ a[n] = l;
47
47
  return a;
48
48
  }, BA = /* @__PURE__ */ P(Ka, [["__scopeId", "data-v-bc1cb35e"]]), Ga = ["title"], Ja = /* @__PURE__ */ p({
49
49
  __name: "AvIcon",
@@ -57,12 +57,12 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
57
57
  color: { default: "currentColor" }
58
58
  },
59
59
  setup(e) {
60
- oe((i) => ({
60
+ oe((l) => ({
61
61
  v741cd552: r(t),
62
- v5dce2641: i.color
62
+ v5dce2641: l.color
63
63
  }));
64
64
  const t = g(() => `${e.size}rem`), a = g(() => e.name.replace(":", "-")), n = g(() => `--icon-${a.value}`);
65
- return (i, l) => (d(), b("div", {
65
+ return (l, i) => (d(), b("div", {
66
66
  class: Q(["av-icon", {
67
67
  "av-icon--spin": e.animation === "spin",
68
68
  "av-icon--wrench": e.animation === "wrench",
@@ -256,16 +256,16 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
256
256
  const t = Ba(e, ["label", "tagName", "icon", "disabled", "small", "iconOnly"]), a = g(() => e.disabled && e.tagName === "p" || t.selectable ? "button" : e.tagName), n = g(() => ({
257
257
  "--icon-path": `url(${be.MDI_CHECK_CIRCLE_OUTLINE})`
258
258
  }));
259
- return (i, l) => (d(), S(he(r(a)), _({
259
+ return (l, i) => (d(), S(he(r(a)), _({
260
260
  "aria-pressed": t.selectable ? t.selected : void 0,
261
261
  class: ["av-tag av-row av-gap-xxs av-align-center", {
262
262
  "av-tag--sm av-py-xxxs av-px-xs": e.small,
263
263
  "av-py-xxs av-px-sm": !e.small
264
264
  }],
265
265
  disabled: e.disabled
266
- }, { ...i.$attrs }, {
266
+ }, { ...l.$attrs }, {
267
267
  style: r(n),
268
- onClick: l[0] || (l[0] = (o) => !e.disabled && t.selectable && i.$emit("select", [t.value, t.selected ?? !1]))
268
+ onClick: i[0] || (i[0] = (o) => !e.disabled && t.selectable && l.$emit("select", [t.value, t.selected ?? !1]))
269
269
  }), {
270
270
  default: K(() => [
271
271
  e.icon ? (d(), S(ne, {
@@ -294,12 +294,12 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
294
294
  inline: { type: Boolean, default: !1 }
295
295
  },
296
296
  setup(e) {
297
- oe((i) => ({
298
- v1b7e4a75: i.gap,
299
- v575e7695: i.textColor
297
+ oe((l) => ({
298
+ v1b7e4a75: l.gap,
299
+ v575e7695: l.textColor
300
300
  }));
301
301
  const t = g(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), a = g(() => e.inline ? void 0 : "ellipsis-container"), n = g(() => e.inline ? void 0 : "ellipsis");
302
- return (i, l) => (d(), b("div", {
302
+ return (l, i) => (d(), b("div", {
303
303
  class: Q(["icon-text--container av-row av-align-center", [r(a)]])
304
304
  }, [
305
305
  V(ne, {
@@ -352,14 +352,14 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
352
352
  typographyClass: "caption-regular"
353
353
  };
354
354
  }
355
- }), n = g(() => e.message ? Array.isArray(e.message) ? e.message : [e.message] : []), i = g(() => e.type === "error" || e.type === "warning" ? "alert" : "status");
356
- return (l, o) => {
355
+ }), n = g(() => e.message ? Array.isArray(e.message) ? e.message : [e.message] : []), l = g(() => e.type === "error" || e.type === "warning" ? "alert" : "status");
356
+ return (i, o) => {
357
357
  const s = tn;
358
358
  return d(), b("div", {
359
359
  class: "av-message av-col av-gap-xs",
360
- role: r(i)
360
+ role: r(l)
361
361
  }, [
362
- (d(!0), b($, null, le(r(n), (c, A) => (d(), S(s, _({
362
+ (d(!0), b($, null, ie(r(n), (c, A) => (d(), S(s, _({
363
363
  id: `${r(t)}-${A}`,
364
364
  key: `${r(t)}-${A}`,
365
365
  class: `av-message--${e.type}`
@@ -388,8 +388,8 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
388
388
  },
389
389
  setup(e) {
390
390
  const t = me(), a = g(() => e.errorMessage || e.successMessage);
391
- return (n, i) => {
392
- const l = Qe;
391
+ return (n, l) => {
392
+ const i = Qe;
393
393
  return d(), b("fieldset", {
394
394
  class: Q(["av-fieldset av-col av-pl-xs", {
395
395
  "av-fieldset--error": e.errorMessage,
@@ -422,7 +422,7 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
422
422
  }, [
423
423
  U(n.$slots, "default", {}, void 0, !0)
424
424
  ], 2),
425
- V(l, {
425
+ V(i, {
426
426
  type: e.errorMessage ? "error" : "success",
427
427
  message: r(a)
428
428
  }, null, 8, ["type", "message"])
@@ -430,7 +430,7 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
430
430
  ], 2);
431
431
  };
432
432
  }
433
- }), ia = /* @__PURE__ */ P(sn, [["__scopeId", "data-v-950baa09"]]), cn = /* @__PURE__ */ p({
433
+ }), la = /* @__PURE__ */ P(sn, [["__scopeId", "data-v-950baa09"]]), cn = /* @__PURE__ */ p({
434
434
  __name: "AvFieldsetElement",
435
435
  props: {
436
436
  disabled: { type: Boolean, default: !1 }
@@ -444,7 +444,7 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
444
444
  U(t.$slots, "default", {}, void 0, !0)
445
445
  ], 2));
446
446
  }
447
- }), la = /* @__PURE__ */ P(cn, [["__scopeId", "data-v-06db26e9"]]);
447
+ }), ia = /* @__PURE__ */ P(cn, [["__scopeId", "data-v-06db26e9"]]);
448
448
  function An(e, t = "var(--dark-background-primary1)") {
449
449
  return e.replace(/###(.+?)###/gs, `<h1 style="display:flex;flex-direction:row;justify-content:start;font-size:var(--font-size-n6);line-height:var(--line-height-n5);color:${t}">$1</h1>`).replace(/@@([\s\S]+?)@@/g, "<div>$1</div>").replace(/^\s*--\s+(.*)$/gm, '<li class="indented-list">$1</li>').replace(/(\r\n|\n|\r|\\n|\\r)/g, '<div class="line-break"></div>').replace(/__(.+?)__/g, '<span class="text-underline">$1</span>').replace(/\*\*(.+?)\*\*/g, `<strong style="color: ${t}">$1</strong>`);
450
450
  }
@@ -470,12 +470,12 @@ const dn = { class: "b2-bold" }, fn = { class: "b2-regular" }, vn = ["innerHTML"
470
470
  return { name: H.INFORMATION_BOX, color: "var(--dark-background-info)" };
471
471
  }
472
472
  });
473
- return (n, i) => {
474
- const l = ne;
473
+ return (n, l) => {
474
+ const i = ne;
475
475
  return d(), b("div", {
476
476
  class: Q(["av-notice av-row av-align-center av-gap-sm av-p-sm", `av-notice--${e.type}`])
477
477
  }, [
478
- V(l, _(r(a), { size: 1.5 }), null, 16),
478
+ V(i, _(r(a), { size: 1.5 }), null, 16),
479
479
  C("span", dn, [
480
480
  Le(W(e.title) + " ", 1),
481
481
  C("span", fn, [
@@ -515,13 +515,13 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
515
515
  (f = a.value) == null || f.focus();
516
516
  }
517
517
  t({ focus: n });
518
- const i = { name: H.LOADING, animation: "spin" }, l = g(() => e.iconScale && !Number.isNaN(e.iconScale) ? e.iconScale : e.small ? 1 : 1.5), o = g(() => {
518
+ const l = { name: H.LOADING, animation: "spin" }, i = g(() => e.iconScale && !Number.isNaN(e.iconScale) ? e.iconScale : e.small ? 1 : 1.5), o = g(() => {
519
519
  if (e.isLoading)
520
- return { ...i, size: l.value };
520
+ return { ...l, size: i.value };
521
521
  if (typeof e.icon == "string" && e.icon.trim())
522
- return { name: e.icon, size: l.value };
522
+ return { name: e.icon, size: i.value };
523
523
  if (e.icon && typeof e.icon != "string")
524
- return { ...e.icon, size: l.value };
524
+ return { ...e.icon, size: i.value };
525
525
  }), s = g(() => e.noSentenceCase ? e.label : un(e.label)), c = g(() => e.disabled || e.isLoading), A = g(() => `av-button--variant-${e.variant.toLowerCase()}`), u = g(() => `av-button--theme-${e.theme.toLowerCase()}`);
526
526
  return (f, I) => {
527
527
  const m = ne;
@@ -577,7 +577,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
577
577
  oe((A) => ({
578
578
  v0b2ce2f9: A.borderColor
579
579
  }));
580
- const t = me(), a = z(e.collapsed), n = z(!1), i = g(() => `av-card-${crypto.randomUUID()}`), l = z(null);
580
+ const t = me(), a = z(e.collapsed), n = z(!1), l = g(() => `av-card-${crypto.randomUUID()}`), i = z(null);
581
581
  function o(A) {
582
582
  const u = ["A", "BUTTON", "INPUT", "SELECT", "TEXTAREA"], f = ["button", "link", "checkbox", "radio", "textbox", "tab", "menuitem"];
583
583
  if (u.includes(A.tagName))
@@ -588,7 +588,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
588
588
  function s(A) {
589
589
  var I;
590
590
  const u = A.target;
591
- if (l.value && (u === l.value.$el || l.value.$el.contains(u)))
591
+ if (i.value && (u === i.value.$el || i.value.$el.contains(u)))
592
592
  return;
593
593
  let f = u;
594
594
  for (; f && f !== A.currentTarget; ) {
@@ -596,13 +596,13 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
596
596
  return;
597
597
  f = f.parentElement;
598
598
  }
599
- e.collapsible && (a.value = !a.value, (I = l.value) == null || I.$el.focus());
599
+ e.collapsible && (a.value = !a.value, (I = i.value) == null || I.$el.focus());
600
600
  }
601
601
  function c(A) {
602
602
  if (!e.collapsible)
603
603
  return;
604
604
  const u = A.target;
605
- if (l.value && (u === l.value.$el || l.value.$el.contains(u))) {
605
+ if (i.value && (u === i.value.$el || i.value.$el.contains(u))) {
606
606
  n.value = !1;
607
607
  return;
608
608
  }
@@ -639,8 +639,8 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
639
639
  e.collapsible ? (d(), S(f, {
640
640
  key: 0,
641
641
  ref_key: "buttonRef",
642
- ref: l,
643
- "aria-controls": `${r(i)}-content`,
642
+ ref: i,
643
+ "aria-controls": `${r(l)}-content`,
644
644
  "aria-expanded": !r(a),
645
645
  icon: r(a) ? r(H).CHEVRON_DOWN : r(H).CHEVRON_LEFT,
646
646
  "icon-only": "",
@@ -650,7 +650,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
650
650
  ], 6)) : w("", !0),
651
651
  e.titleOnly ? w("", !0) : Et((d(), b("div", {
652
652
  key: 1,
653
- id: `${r(i)}-content`,
653
+ id: `${r(l)}-content`,
654
654
  "aria-hidden": e.collapsible && r(a),
655
655
  class: Q(["av-card__content-collapsible av-col av-justify-between av-h-full av-gap-sm", { "av-pt-sm": !!t.title }])
656
656
  }, [
@@ -684,7 +684,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
684
684
  },
685
685
  emits: ["close"],
686
686
  setup(e, { emit: t }) {
687
- const a = t, n = g(() => e.id ?? `alert-${crypto.randomUUID()}`), i = () => a("close"), l = g(
687
+ const a = t, n = g(() => e.id ?? `alert-${crypto.randomUUID()}`), l = () => a("close"), i = g(
688
688
  () => [
689
689
  `av-alert--${e.type}`,
690
690
  {
@@ -708,7 +708,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
708
708
  return (c, A) => e.closed ? w("", !0) : (d(), b("div", {
709
709
  key: 0,
710
710
  id: r(n),
711
- class: Q(["av-alert", r(l)]),
711
+ class: Q(["av-alert", r(i)]),
712
712
  role: r(s)
713
713
  }, [
714
714
  C("div", Nn, [
@@ -727,7 +727,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
727
727
  icon: r(H).CLOSE_CIRCLE_OUTLINE,
728
728
  label: e.closeButtonLabel,
729
729
  small: e.small,
730
- onClick: i
730
+ onClick: l
731
731
  }, null, 8, ["icon", "label", "small"])) : w("", !0)
732
732
  ])
733
733
  ], 10, En));
@@ -755,7 +755,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
755
755
  return { "--icon-path": `url(${be.MDI_MESSAGE_BADGE})` };
756
756
  }
757
757
  }
758
- return (n, i) => (d(), b("div", Sn, [
758
+ return (n, l) => (d(), b("div", Sn, [
759
759
  V(Wa, {
760
760
  mode: "out-in",
761
761
  name: "list",
@@ -763,12 +763,12 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
763
763
  class: "toasters av-col av-align-center"
764
764
  }, {
765
765
  default: K(() => [
766
- (d(!0), b($, null, le(e.messages, (l) => (d(), S(xn, _({
767
- key: l.id,
768
- class: ["av-toaster", t(l.type)]
769
- }, { ref_for: !0 }, l, {
770
- style: a(l.type),
771
- onClose: (o) => e.onRemoveMessage(l.id)
766
+ (d(!0), b($, null, ie(e.messages, (i) => (d(), S(xn, _({
767
+ key: i.id,
768
+ class: ["av-toaster", t(i.type)]
769
+ }, { ref_for: !0 }, i, {
770
+ style: a(i.type),
771
+ onClose: (o) => e.onRemoveMessage(i.id)
772
772
  }), null, 16, ["class", "style", "onClose"]))), 128))
773
773
  ]),
774
774
  _: 1
@@ -789,7 +789,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
789
789
  }, tt = function e(t, a) {
790
790
  var n;
791
791
  a === void 0 && (a = !0);
792
- var i = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), l = i === "" || i === "true", o = l || a && t && e(t.parentNode);
792
+ var l = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), i = l === "" || l === "true", o = i || a && t && e(t.parentNode);
793
793
  return o;
794
794
  }, kn = function(t) {
795
795
  var a, n = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
@@ -797,34 +797,34 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
797
797
  }, sa = function(t, a, n) {
798
798
  if (tt(t))
799
799
  return [];
800
- var i = Array.prototype.slice.apply(t.querySelectorAll(_e));
801
- return a && Oe.call(t, _e) && i.unshift(t), i = i.filter(n), i;
800
+ var l = Array.prototype.slice.apply(t.querySelectorAll(_e));
801
+ return a && Oe.call(t, _e) && l.unshift(t), l = l.filter(n), l;
802
802
  }, ca = function e(t, a, n) {
803
- for (var i = [], l = Array.from(t); l.length; ) {
804
- var o = l.shift();
803
+ for (var l = [], i = Array.from(t); i.length; ) {
804
+ var o = i.shift();
805
805
  if (!tt(o, !1))
806
806
  if (o.tagName === "SLOT") {
807
807
  var s = o.assignedElements(), c = s.length ? s : o.children, A = e(c, !0, n);
808
- n.flatten ? i.push.apply(i, A) : i.push({
808
+ n.flatten ? l.push.apply(l, A) : l.push({
809
809
  scopeParent: o,
810
810
  candidates: A
811
811
  });
812
812
  } else {
813
813
  var u = Oe.call(o, _e);
814
- u && n.filter(o) && (a || !t.includes(o)) && i.push(o);
814
+ u && n.filter(o) && (a || !t.includes(o)) && l.push(o);
815
815
  var f = o.shadowRoot || // check for an undisclosed shadow
816
816
  typeof n.getShadowRoot == "function" && n.getShadowRoot(o), I = !tt(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
817
817
  if (f && I) {
818
818
  var m = e(f === !0 ? o.children : f.children, !0, n);
819
- n.flatten ? i.push.apply(i, m) : i.push({
819
+ n.flatten ? l.push.apply(l, m) : l.push({
820
820
  scopeParent: o,
821
821
  candidates: m
822
822
  });
823
823
  } else
824
- l.unshift.apply(l, o.children);
824
+ i.unshift.apply(i, o.children);
825
825
  }
826
826
  }
827
- return i;
827
+ return l;
828
828
  }, Aa = function(t) {
829
829
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
830
830
  }, De = function(t) {
@@ -854,46 +854,46 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
854
854
  return !0;
855
855
  var a = t.form || et(t), n = function(s) {
856
856
  return a.querySelectorAll('input[type="radio"][name="' + s + '"]');
857
- }, i;
857
+ }, l;
858
858
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
859
- i = n(window.CSS.escape(t.name));
859
+ l = n(window.CSS.escape(t.name));
860
860
  else
861
861
  try {
862
- i = n(t.name);
862
+ l = n(t.name);
863
863
  } catch (o) {
864
864
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
865
865
  }
866
- var l = Pn(i, t.form);
867
- return !l || l === t;
866
+ var i = Pn(l, t.form);
867
+ return !i || i === t;
868
868
  }, Un = function(t) {
869
869
  return ua(t) && t.type === "radio";
870
870
  }, Vn = function(t) {
871
871
  return Un(t) && !Wn(t);
872
872
  }, Hn = function(t) {
873
- var a, n = t && et(t), i = (a = n) === null || a === void 0 ? void 0 : a.host, l = !1;
873
+ var a, n = t && et(t), l = (a = n) === null || a === void 0 ? void 0 : a.host, i = !1;
874
874
  if (n && n !== t) {
875
875
  var o, s, c;
876
- for (l = !!((o = i) !== null && o !== void 0 && (s = o.ownerDocument) !== null && s !== void 0 && s.contains(i) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !l && i; ) {
876
+ for (i = !!((o = l) !== null && o !== void 0 && (s = o.ownerDocument) !== null && s !== void 0 && s.contains(l) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !i && l; ) {
877
877
  var A, u, f;
878
- n = et(i), i = (A = n) === null || A === void 0 ? void 0 : A.host, l = !!((u = i) !== null && u !== void 0 && (f = u.ownerDocument) !== null && f !== void 0 && f.contains(i));
878
+ n = et(l), l = (A = n) === null || A === void 0 ? void 0 : A.host, i = !!((u = l) !== null && u !== void 0 && (f = u.ownerDocument) !== null && f !== void 0 && f.contains(l));
879
879
  }
880
880
  }
881
- return l;
881
+ return i;
882
882
  }, pt = function(t) {
883
- var a = t.getBoundingClientRect(), n = a.width, i = a.height;
884
- return n === 0 && i === 0;
883
+ var a = t.getBoundingClientRect(), n = a.width, l = a.height;
884
+ return n === 0 && l === 0;
885
885
  }, Rn = function(t, a) {
886
- var n = a.displayCheck, i = a.getShadowRoot;
886
+ var n = a.displayCheck, l = a.getShadowRoot;
887
887
  if (getComputedStyle(t).visibility === "hidden")
888
888
  return !0;
889
- var l = Oe.call(t, "details>summary:first-of-type"), o = l ? t.parentElement : t;
889
+ var i = Oe.call(t, "details>summary:first-of-type"), o = i ? t.parentElement : t;
890
890
  if (Oe.call(o, "details:not([open]) *"))
891
891
  return !0;
892
892
  if (!n || n === "full" || n === "legacy-full") {
893
- if (typeof i == "function") {
893
+ if (typeof l == "function") {
894
894
  for (var s = t; t; ) {
895
895
  var c = t.parentElement, A = et(t);
896
- if (c && !c.shadowRoot && i(c) === !0)
896
+ if (c && !c.shadowRoot && l(c) === !0)
897
897
  return pt(t);
898
898
  t.assignedSlot ? t = t.assignedSlot : !c && A !== t.ownerDocument ? t = A.host : t = c;
899
899
  }
@@ -911,9 +911,9 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
911
911
  for (var a = t.parentElement; a; ) {
912
912
  if (a.tagName === "FIELDSET" && a.disabled) {
913
913
  for (var n = 0; n < a.children.length; n++) {
914
- var i = a.children.item(n);
915
- if (i.tagName === "LEGEND")
916
- return Oe.call(a, "fieldset[disabled] *") ? !0 : !i.contains(t);
914
+ var l = a.children.item(n);
915
+ if (l.tagName === "LEGEND")
916
+ return Oe.call(a, "fieldset[disabled] *") ? !0 : !l.contains(t);
917
917
  }
918
918
  return !0;
919
919
  }
@@ -933,17 +933,17 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
933
933
  return !!(isNaN(a) || a >= 0);
934
934
  }, Xn = function e(t) {
935
935
  var a = [], n = [];
936
- return t.forEach(function(i, l) {
937
- var o = !!i.scopeParent, s = o ? i.scopeParent : i, c = Qn(s, o), A = o ? e(i.candidates) : s;
936
+ return t.forEach(function(l, i) {
937
+ var o = !!l.scopeParent, s = o ? l.scopeParent : l, c = Qn(s, o), A = o ? e(l.candidates) : s;
938
938
  c === 0 ? o ? a.push.apply(a, A) : a.push(s) : n.push({
939
- documentOrder: l,
939
+ documentOrder: i,
940
940
  tabIndex: c,
941
- item: i,
941
+ item: l,
942
942
  isScope: o,
943
943
  content: A
944
944
  });
945
- }), n.sort(jn).reduce(function(i, l) {
946
- return l.isScope ? i.push.apply(i, l.content) : i.push(l.content), i;
945
+ }), n.sort(jn).reduce(function(l, i) {
946
+ return i.isScope ? l.push.apply(l, i.content) : l.push(i.content), l;
947
947
  }, []).concat(a);
948
948
  }, qn = function(t, a) {
949
949
  a = a || {};
@@ -984,7 +984,7 @@ function Gn(e) {
984
984
  if (Array.isArray(e)) return yt(e);
985
985
  }
986
986
  function Jn(e, t, a) {
987
- return (t = ai(t)) in e ? Object.defineProperty(e, t, {
987
+ return (t = al(t)) in e ? Object.defineProperty(e, t, {
988
988
  value: a,
989
989
  enumerable: !0,
990
990
  configurable: !0,
@@ -1002,8 +1002,8 @@ function kt(e, t) {
1002
1002
  var a = Object.keys(e);
1003
1003
  if (Object.getOwnPropertySymbols) {
1004
1004
  var n = Object.getOwnPropertySymbols(e);
1005
- t && (n = n.filter(function(i) {
1006
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
1005
+ t && (n = n.filter(function(l) {
1006
+ return Object.getOwnPropertyDescriptor(e, l).enumerable;
1007
1007
  })), a.push.apply(a, n);
1008
1008
  }
1009
1009
  return a;
@@ -1019,10 +1019,10 @@ function Qt(e) {
1019
1019
  }
1020
1020
  return e;
1021
1021
  }
1022
- function ei(e) {
1023
- return Gn(e) || $n(e) || ni(e) || _n();
1022
+ function el(e) {
1023
+ return Gn(e) || $n(e) || nl(e) || _n();
1024
1024
  }
1025
- function ti(e, t) {
1025
+ function tl(e, t) {
1026
1026
  if (typeof e != "object" || !e) return e;
1027
1027
  var a = e[Symbol.toPrimitive];
1028
1028
  if (a !== void 0) {
@@ -1032,11 +1032,11 @@ function ti(e, t) {
1032
1032
  }
1033
1033
  return (t === "string" ? String : Number)(e);
1034
1034
  }
1035
- function ai(e) {
1036
- var t = ti(e, "string");
1035
+ function al(e) {
1036
+ var t = tl(e, "string");
1037
1037
  return typeof t == "symbol" ? t : t + "";
1038
1038
  }
1039
- function ni(e, t) {
1039
+ function nl(e, t) {
1040
1040
  if (e) {
1041
1041
  if (typeof e == "string") return yt(e, t);
1042
1042
  var a = {}.toString.call(e).slice(8, -1);
@@ -1049,38 +1049,38 @@ var jt = {
1049
1049
  var n = t[t.length - 1];
1050
1050
  n !== a && n._setPausedState(!0);
1051
1051
  }
1052
- var i = t.indexOf(a);
1053
- i === -1 || t.splice(i, 1), t.push(a);
1052
+ var l = t.indexOf(a);
1053
+ l === -1 || t.splice(l, 1), t.push(a);
1054
1054
  },
1055
1055
  deactivateTrap: function(t, a) {
1056
1056
  var n = t.indexOf(a);
1057
1057
  n !== -1 && t.splice(n, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
1058
1058
  }
1059
- }, ii = function(t) {
1059
+ }, ll = function(t) {
1060
1060
  return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
1061
- }, li = function(t) {
1061
+ }, il = function(t) {
1062
1062
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
1063
1063
  }, Re = function(t) {
1064
1064
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
1065
- }, ri = function(t) {
1065
+ }, rl = function(t) {
1066
1066
  return Re(t) && !t.shiftKey;
1067
- }, oi = function(t) {
1067
+ }, ol = function(t) {
1068
1068
  return Re(t) && t.shiftKey;
1069
1069
  }, zt = function(t) {
1070
1070
  return setTimeout(t, 0);
1071
1071
  }, Be = function(t) {
1072
- for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++)
1073
- n[i - 1] = arguments[i];
1072
+ for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), l = 1; l < a; l++)
1073
+ n[l - 1] = arguments[l];
1074
1074
  return typeof t == "function" ? t.apply(void 0, n) : t;
1075
1075
  }, Ke = function(t) {
1076
1076
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
1077
- }, si = [], da = function(t, a) {
1078
- var n = (a == null ? void 0 : a.document) || document, i = (a == null ? void 0 : a.trapStack) || si, l = Qt({
1077
+ }, sl = [], da = function(t, a) {
1078
+ var n = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) || sl, i = Qt({
1079
1079
  returnFocusOnDeactivate: !0,
1080
1080
  escapeDeactivates: !0,
1081
1081
  delayInitialFocus: !0,
1082
- isKeyForward: ri,
1083
- isKeyBackward: oi
1082
+ isKeyForward: rl,
1083
+ isKeyBackward: ol
1084
1084
  }, a), o = {
1085
1085
  // containers given to createFocusTrap()
1086
1086
  // @type {Array<HTMLElement>}
@@ -1119,7 +1119,7 @@ var jt = {
1119
1119
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
1120
1120
  recentNavEvent: void 0
1121
1121
  }, s, c = function(y, N, x) {
1122
- return y && y[N] !== void 0 ? y[N] : l[x || N];
1122
+ return y && y[N] !== void 0 ? y[N] : i[x || N];
1123
1123
  }, A = function(y, N) {
1124
1124
  var x = typeof (N == null ? void 0 : N.composedPath) == "function" ? N.composedPath() : void 0;
1125
1125
  return o.containerGroups.findIndex(function(X) {
@@ -1133,8 +1133,8 @@ var jt = {
1133
1133
  });
1134
1134
  });
1135
1135
  }, u = function(y) {
1136
- var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, x = N.hasFallback, X = x === void 0 ? !1 : x, q = N.params, J = q === void 0 ? [] : q, Y = l[y];
1137
- if (typeof Y == "function" && (Y = Y.apply(void 0, ei(J))), Y === !0 && (Y = void 0), !Y) {
1136
+ var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, x = N.hasFallback, X = x === void 0 ? !1 : x, q = N.params, J = q === void 0 ? [] : q, Y = i[y];
1137
+ if (typeof Y == "function" && (Y = Y.apply(void 0, el(J))), Y === !0 && (Y = void 0), !Y) {
1138
1138
  if (Y === void 0 || Y === !1)
1139
1139
  return Y;
1140
1140
  throw new Error("`".concat(y, "` was specified but was not a node, or did not return a node"));
@@ -1156,7 +1156,7 @@ var jt = {
1156
1156
  });
1157
1157
  if (y === !1)
1158
1158
  return !1;
1159
- if (y === void 0 || y && !ft(y, l.tabbableOptions))
1159
+ if (y === void 0 || y && !ft(y, i.tabbableOptions))
1160
1160
  if (A(n.activeElement) >= 0)
1161
1161
  y = n.activeElement;
1162
1162
  else {
@@ -1169,7 +1169,7 @@ var jt = {
1169
1169
  return y;
1170
1170
  }, I = function() {
1171
1171
  if (o.containerGroups = o.containers.map(function(y) {
1172
- var N = qn(y, l.tabbableOptions), x = Fn(y, l.tabbableOptions), X = N.length > 0 ? N[0] : void 0, q = N.length > 0 ? N[N.length - 1] : void 0, J = x.find(function(ae) {
1172
+ var N = qn(y, i.tabbableOptions), x = Fn(y, i.tabbableOptions), X = N.length > 0 ? N[0] : void 0, q = N.length > 0 ? N[N.length - 1] : void 0, J = x.find(function(ae) {
1173
1173
  return xe(ae);
1174
1174
  }), Y = x.slice().reverse().find(function(ae) {
1175
1175
  return xe(ae);
@@ -1233,8 +1233,8 @@ var jt = {
1233
1233
  return;
1234
1234
  }
1235
1235
  y.focus({
1236
- preventScroll: !!l.preventScroll
1237
- }), o.mostRecentlyFocusedNode = y, ii(y) && y.select();
1236
+ preventScroll: !!i.preventScroll
1237
+ }), o.mostRecentlyFocusedNode = y, ll(y) && y.select();
1238
1238
  }
1239
1239
  }, h = function(y) {
1240
1240
  var N = u("setReturnFocus", {
@@ -1254,7 +1254,7 @@ var jt = {
1254
1254
  var dt = ut.firstTabbableNode;
1255
1255
  return N === dt;
1256
1256
  });
1257
- if (ae < 0 && (ee.container === N || ft(N, l.tabbableOptions) && !xe(N, l.tabbableOptions) && !ee.nextTabbableNode(N, !1)) && (ae = Y), ae >= 0) {
1257
+ if (ae < 0 && (ee.container === N || ft(N, i.tabbableOptions) && !xe(N, i.tabbableOptions) && !ee.nextTabbableNode(N, !1)) && (ae = Y), ae >= 0) {
1258
1258
  var Ne = ae === 0 ? o.tabbableGroups.length - 1 : ae - 1, je = o.tabbableGroups[Ne];
1259
1259
  J = De(N) >= 0 ? je.lastTabbableNode : je.lastDomTabbableNode;
1260
1260
  } else Re(x) || (J = ee.nextTabbableNode(N, !1));
@@ -1263,7 +1263,7 @@ var jt = {
1263
1263
  var dt = ut.lastTabbableNode;
1264
1264
  return N === dt;
1265
1265
  });
1266
- if (Ce < 0 && (ee.container === N || ft(N, l.tabbableOptions) && !xe(N, l.tabbableOptions) && !ee.nextTabbableNode(N)) && (Ce = Y), Ce >= 0) {
1266
+ if (Ce < 0 && (ee.container === N || ft(N, i.tabbableOptions) && !xe(N, i.tabbableOptions) && !ee.nextTabbableNode(N)) && (Ce = Y), Ce >= 0) {
1267
1267
  var ze = Ce === o.tabbableGroups.length - 1 ? 0 : Ce + 1, St = o.tabbableGroups[ze];
1268
1268
  J = De(N) >= 0 ? St.firstTabbableNode : St.firstDomTabbableNode;
1269
1269
  } else Re(x) || (J = ee.nextTabbableNode(N));
@@ -1274,7 +1274,7 @@ var jt = {
1274
1274
  }, E = function(y) {
1275
1275
  var N = Ke(y);
1276
1276
  if (!(A(N, y) >= 0)) {
1277
- if (Be(l.clickOutsideDeactivates, y)) {
1277
+ if (Be(i.clickOutsideDeactivates, y)) {
1278
1278
  s.deactivate({
1279
1279
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
1280
1280
  // which will result in the outside click setting focus to the node
@@ -1282,11 +1282,11 @@ var jt = {
1282
1282
  // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
1283
1283
  // on activation (or the configured `setReturnFocus` node), whether the
1284
1284
  // outside click was on a focusable node or not
1285
- returnFocus: l.returnFocusOnDeactivate
1285
+ returnFocus: i.returnFocusOnDeactivate
1286
1286
  });
1287
1287
  return;
1288
1288
  }
1289
- Be(l.allowOutsideClick, y) || y.preventDefault();
1289
+ Be(i.allowOutsideClick, y) || y.preventDefault();
1290
1290
  }
1291
1291
  }, D = function(y) {
1292
1292
  var N = Ke(y), x = A(N, y) >= 0;
@@ -1302,7 +1302,7 @@ var jt = {
1302
1302
  var ee = Y.findIndex(function(ae) {
1303
1303
  return ae === o.mostRecentlyFocusedNode;
1304
1304
  });
1305
- ee >= 0 && (l.isKeyForward(o.recentNavEvent) ? ee + 1 < Y.length && (X = Y[ee + 1], q = !1) : ee - 1 >= 0 && (X = Y[ee - 1], q = !1));
1305
+ ee >= 0 && (i.isKeyForward(o.recentNavEvent) ? ee + 1 < Y.length && (X = Y[ee + 1], q = !1) : ee - 1 >= 0 && (X = Y[ee - 1], q = !1));
1306
1306
  }
1307
1307
  } else
1308
1308
  o.containerGroups.some(function(ae) {
@@ -1316,7 +1316,7 @@ var jt = {
1316
1316
  // move FROM the MRU node, not event-related node (which will be the node that is
1317
1317
  // outside the trap causing the focus escape we're trying to fix)
1318
1318
  target: o.mostRecentlyFocusedNode,
1319
- isBackward: l.isKeyBackward(o.recentNavEvent)
1319
+ isBackward: i.isKeyBackward(o.recentNavEvent)
1320
1320
  })), v(X || o.mostRecentlyFocusedNode || f());
1321
1321
  }
1322
1322
  o.recentNavEvent = void 0;
@@ -1329,15 +1329,15 @@ var jt = {
1329
1329
  });
1330
1330
  x && (Re(y) && y.preventDefault(), v(x));
1331
1331
  }, L = function(y) {
1332
- (l.isKeyForward(y) || l.isKeyBackward(y)) && M(y, l.isKeyBackward(y));
1332
+ (i.isKeyForward(y) || i.isKeyBackward(y)) && M(y, i.isKeyBackward(y));
1333
1333
  }, B = function(y) {
1334
- li(y) && Be(l.escapeDeactivates, y) !== !1 && (y.preventDefault(), s.deactivate());
1334
+ il(y) && Be(i.escapeDeactivates, y) !== !1 && (y.preventDefault(), s.deactivate());
1335
1335
  }, Z = function(y) {
1336
1336
  var N = Ke(y);
1337
- A(N, y) >= 0 || Be(l.clickOutsideDeactivates, y) || Be(l.allowOutsideClick, y) || (y.preventDefault(), y.stopImmediatePropagation());
1337
+ A(N, y) >= 0 || Be(i.clickOutsideDeactivates, y) || Be(i.allowOutsideClick, y) || (y.preventDefault(), y.stopImmediatePropagation());
1338
1338
  }, F = function() {
1339
1339
  if (o.active)
1340
- return jt.activateTrap(i, s), o.delayInitialFocusTimer = l.delayInitialFocus ? zt(function() {
1340
+ return jt.activateTrap(l, s), o.delayInitialFocusTimer = i.delayInitialFocus ? zt(function() {
1341
1341
  v(f());
1342
1342
  }) : v(f()), n.addEventListener("focusin", D, !0), n.addEventListener("mousedown", E, {
1343
1343
  capture: !0,
@@ -1392,11 +1392,11 @@ var jt = {
1392
1392
  if (!o.active)
1393
1393
  return this;
1394
1394
  var N = Qt({
1395
- onDeactivate: l.onDeactivate,
1396
- onPostDeactivate: l.onPostDeactivate,
1397
- checkCanReturnFocus: l.checkCanReturnFocus
1395
+ onDeactivate: i.onDeactivate,
1396
+ onPostDeactivate: i.onPostDeactivate,
1397
+ checkCanReturnFocus: i.checkCanReturnFocus
1398
1398
  }, y);
1399
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, te(), o.active = !1, o.paused = !1, O(), jt.deactivateTrap(i, s);
1399
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, te(), o.active = !1, o.paused = !1, O(), jt.deactivateTrap(l, s);
1400
1400
  var x = c(N, "onDeactivate"), X = c(N, "onPostDeactivate"), q = c(N, "checkCanReturnFocus"), J = c(N, "returnFocus", "returnFocusOnDeactivate");
1401
1401
  x == null || x();
1402
1402
  var Y = function() {
@@ -1410,7 +1410,7 @@ var jt = {
1410
1410
  return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, y)) : this;
1411
1411
  },
1412
1412
  unpause: function(y) {
1413
- return o.active ? (o.manuallyPaused = !1, i[i.length - 1] !== this ? this : this._setPausedState(!1, y)) : this;
1413
+ return o.active ? (o.manuallyPaused = !1, l[l.length - 1] !== this ? this : this._setPausedState(!1, y)) : this;
1414
1414
  },
1415
1415
  updateContainerElements: function(y) {
1416
1416
  var N = [].concat(y).filter(Boolean);
@@ -1445,7 +1445,7 @@ var jt = {
1445
1445
  * (c) 2025 Eduardo San Martin Morote
1446
1446
  * @license MIT
1447
1447
  */
1448
- const ci = {
1448
+ const cl = {
1449
1449
  escapeDeactivates: {
1450
1450
  type: Boolean,
1451
1451
  default: !0
@@ -1479,7 +1479,7 @@ const ci = {
1479
1479
  type: Boolean,
1480
1480
  default: !0
1481
1481
  }
1482
- }, ci),
1482
+ }, cl),
1483
1483
  emits: [
1484
1484
  "update:active",
1485
1485
  "activate",
@@ -1492,12 +1492,12 @@ const ci = {
1492
1492
  },
1493
1493
  setup(e, { slots: t, emit: a }) {
1494
1494
  let n;
1495
- const i = z(null), l = g(() => {
1496
- const s = i.value;
1495
+ const l = z(null), i = g(() => {
1496
+ const s = l.value;
1497
1497
  return s && (s instanceof HTMLElement ? s : s.$el);
1498
1498
  });
1499
1499
  function o() {
1500
- return n || (n = da(l.value, {
1500
+ return n || (n = da(i.value, {
1501
1501
  escapeDeactivates: e.escapeDeactivates,
1502
1502
  allowOutsideClick: e.allowOutsideClick,
1503
1503
  returnFocusOnDeactivate: e.returnFocusOnDeactivate,
@@ -1519,7 +1519,7 @@ const ci = {
1519
1519
  }
1520
1520
  return ve(() => {
1521
1521
  se(() => e.active, (s) => {
1522
- s && l.value ? o().activate() : n && (n.deactivate(), (!l.value || l.value.nodeType === Node.COMMENT_NODE) && (n = null));
1522
+ s && i.value ? o().activate() : n && (n.deactivate(), (!i.value || i.value.nodeType === Node.COMMENT_NODE) && (n = null));
1523
1523
  }, { immediate: !0, flush: "post" });
1524
1524
  }), ge(() => {
1525
1525
  n && n.deactivate(), n = null;
@@ -1534,12 +1534,12 @@ const ci = {
1534
1534
  if (!t.default)
1535
1535
  return null;
1536
1536
  const s = t.default().filter((A) => A.type !== Ua);
1537
- return !s || !s.length || s.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), s) : Va(s[0], { ref: i });
1537
+ return !s || !s.length || s.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), s) : Va(s[0], { ref: l });
1538
1538
  }
1539
1539
  };
1540
1540
  }
1541
1541
  });
1542
- function Ai({ scrollableSelector: e }) {
1542
+ function Al({ scrollableSelector: e }) {
1543
1543
  const t = z(0);
1544
1544
  function a(o, s) {
1545
1545
  const A = o.target.closest(e);
@@ -1553,22 +1553,22 @@ function Ai({ scrollableSelector: e }) {
1553
1553
  function n(o) {
1554
1554
  a(o, o.deltaY);
1555
1555
  }
1556
- function i(o) {
1556
+ function l(o) {
1557
1557
  t.value = o.touches[0].clientY;
1558
1558
  }
1559
- function l(o) {
1559
+ function i(o) {
1560
1560
  a(o, t.value - o.touches[0].clientY);
1561
1561
  }
1562
1562
  return {
1563
1563
  onWheel: n,
1564
- onTouchStart: i,
1565
- onTouchMove: l
1564
+ onTouchStart: l,
1565
+ onTouchMove: i
1566
1566
  };
1567
1567
  }
1568
- const ui = { key: 0 }, di = ["aria-label"], fi = { class: "av-drawer__content-wrapper av-col" }, vi = { class: "av-drawer__content" }, mi = {
1568
+ const ul = { key: 0 }, dl = ["aria-label"], fl = { class: "av-drawer__content-wrapper av-col" }, vl = { class: "av-drawer__content" }, ml = {
1569
1569
  key: 0,
1570
1570
  class: "footer-container av-p-md"
1571
- }, gi = /* @__PURE__ */ p({
1571
+ }, gl = /* @__PURE__ */ p({
1572
1572
  __name: "AvDrawer",
1573
1573
  props: {
1574
1574
  show: { type: Boolean },
@@ -1584,8 +1584,8 @@ const ui = { key: 0 }, di = ["aria-label"], fi = { class: "av-drawer__content-wr
1584
1584
  c0ad7c42: r(o),
1585
1585
  v4b32a42c: r(s)
1586
1586
  }));
1587
- const a = e, n = t, i = me(), { position: l, width: o, padding: s, show: c } = _t(a), { onWheel: A, onTouchMove: u, onTouchStart: f } = Ai({ scrollableSelector: ".av-drawer__content" }), I = z(null);
1588
- return (m, v) => r(c) ? (d(), b("div", ui, [
1587
+ const a = e, n = t, l = me(), { position: i, width: o, padding: s, show: c } = _t(a), { onWheel: A, onTouchMove: u, onTouchStart: f } = Al({ scrollableSelector: ".av-drawer__content" }), I = z(null);
1588
+ return (m, v) => r(c) ? (d(), b("div", ul, [
1589
1589
  e.backdrop ? (d(), b("div", {
1590
1590
  key: 0,
1591
1591
  class: "av-drawer-backdrop",
@@ -1602,7 +1602,7 @@ const ui = { key: 0 }, di = ["aria-label"], fi = { class: "av-drawer__content-wr
1602
1602
  C("div", {
1603
1603
  ref_key: "drawerRef",
1604
1604
  ref: I,
1605
- class: Q(["av-drawer av-col", `av-drawer--${r(l)}`]),
1605
+ class: Q(["av-drawer av-col", `av-drawer--${r(i)}`]),
1606
1606
  role: "dialog",
1607
1607
  "aria-modal": "true",
1608
1608
  "aria-label": e.ariaLabel,
@@ -1614,21 +1614,21 @@ const ui = { key: 0 }, di = ["aria-label"], fi = { class: "av-drawer__content-wr
1614
1614
  onTouchmove: v[4] || (v[4] = //@ts-ignore
1615
1615
  (...h) => r(u) && r(u)(...h))
1616
1616
  }, [
1617
- C("div", fi, [
1618
- C("div", vi, [
1617
+ C("div", fl, [
1618
+ C("div", vl, [
1619
1619
  U(m.$slots, "default", {}, void 0, !0)
1620
1620
  ]),
1621
- i.footer ? (d(), b("div", mi, [
1621
+ l.footer ? (d(), b("div", ml, [
1622
1622
  U(m.$slots, "footer", {}, void 0, !0)
1623
1623
  ])) : w("", !0)
1624
1624
  ])
1625
- ], 42, di)
1625
+ ], 42, dl)
1626
1626
  ]),
1627
1627
  _: 3
1628
1628
  })
1629
1629
  ])) : w("", !0);
1630
1630
  }
1631
- }), Ii = /* @__PURE__ */ P(gi, [["__scopeId", "data-v-f421bf22"]]);
1631
+ }), Il = /* @__PURE__ */ P(gl, [["__scopeId", "data-v-f421bf22"]]);
1632
1632
  function ot() {
1633
1633
  const e = z(), t = z(!1), a = z(!1), n = () => {
1634
1634
  if (!e.value)
@@ -1655,7 +1655,7 @@ function ot() {
1655
1655
  }
1656
1656
  };
1657
1657
  }
1658
- const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-controls"], yi = { class: "title-container av-row av-gap-sm" }, Ci = { class: "n6" }, Mi = ["id", "aria-labelledby"], Ei = { class: "accordion-content-container av-pt-sm" }, Ni = /* @__PURE__ */ p({
1658
+ const bl = { class: "av-accordion" }, hl = ["id", "aria-expanded", "aria-controls"], yl = { class: "title-container av-row av-gap-sm" }, Cl = { class: "n6" }, Ml = ["id", "aria-labelledby"], El = { class: "accordion-content-container av-pt-sm" }, Nl = /* @__PURE__ */ p({
1659
1659
  __name: "AvAccordion",
1660
1660
  props: {
1661
1661
  id: {},
@@ -1668,9 +1668,9 @@ const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-control
1668
1668
  collapse: t,
1669
1669
  collapsing: a,
1670
1670
  cssExpanded: n,
1671
- doExpand: i,
1672
- onTransitionEnd: l
1673
- } = ot(), o = g(() => e.id ?? `accordion-${crypto.randomUUID()}`), s = g(() => `${o.value}-panel`), c = z(), A = z(null), u = lt(na), { isActive: f, expand: I, onKeydown: m, setTriggerRef: v } = (u == null ? void 0 : u(ea(() => e.title))) ?? {
1671
+ doExpand: l,
1672
+ onTransitionEnd: i
1673
+ } = ot(), o = g(() => e.id ?? `accordion-${crypto.randomUUID()}`), s = g(() => `${o.value}-panel`), c = z(), A = z(null), u = it(na), { isActive: f, expand: I, onKeydown: m, setTriggerRef: v } = (u == null ? void 0 : u(ea(() => e.title))) ?? {
1674
1674
  isActive: c,
1675
1675
  expand: () => c.value = !c.value,
1676
1676
  onKeydown: void 0,
@@ -1679,12 +1679,12 @@ const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-control
1679
1679
  "--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
1680
1680
  }));
1681
1681
  return ve(() => {
1682
- v == null || v(A.value), f.value && i(!0);
1682
+ v == null || v(A.value), f.value && l(!0);
1683
1683
  }), se(f, (T, E) => {
1684
- T !== E && i(T);
1684
+ T !== E && l(T);
1685
1685
  }), (T, E) => {
1686
1686
  const D = ne;
1687
- return d(), b("section", bi, [
1687
+ return d(), b("section", bl, [
1688
1688
  (d(), S(he(e.headingLevel), { class: "av-accordion__header" }, {
1689
1689
  default: K(() => [
1690
1690
  C("button", {
@@ -1701,16 +1701,16 @@ const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-control
1701
1701
  onKeydown: E[1] || (E[1] = //@ts-ignore
1702
1702
  (...M) => r(m) && r(m)(...M))
1703
1703
  }, [
1704
- C("div", yi, [
1704
+ C("div", yl, [
1705
1705
  e.icon ? (d(), S(D, {
1706
1706
  key: 0,
1707
1707
  size: 2,
1708
1708
  name: e.icon,
1709
1709
  color: "var(--icon)"
1710
1710
  }, null, 8, ["name"])) : w("", !0),
1711
- C("span", Ci, W(e.title), 1)
1711
+ C("span", Cl, W(e.title), 1)
1712
1712
  ])
1713
- ], 44, hi)
1713
+ ], 44, hl)
1714
1714
  ]),
1715
1715
  _: 1
1716
1716
  })),
@@ -1725,16 +1725,16 @@ const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-control
1725
1725
  // Need to use a separate data to add/remove the class after a RAF
1726
1726
  "av-collapsing": r(a)
1727
1727
  }]),
1728
- onTransitionend: E[2] || (E[2] = (M) => r(l)(r(f), !1))
1728
+ onTransitionend: E[2] || (E[2] = (M) => r(i)(r(f), !1))
1729
1729
  }, [
1730
- C("div", Ei, [
1730
+ C("div", El, [
1731
1731
  U(T.$slots, "default", {}, void 0, !0)
1732
1732
  ])
1733
- ], 42, Mi)
1733
+ ], 42, Ml)
1734
1734
  ]);
1735
1735
  };
1736
1736
  }
1737
- }), RA = /* @__PURE__ */ P(Ni, [["__scopeId", "data-v-6b17a367"]]), Ti = {
1737
+ }), RA = /* @__PURE__ */ P(Nl, [["__scopeId", "data-v-6b17a367"]]), Tl = {
1738
1738
  class: "av-accordions-group",
1739
1739
  role: "group",
1740
1740
  "aria-label": "Accordion group"
@@ -1745,12 +1745,12 @@ const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-control
1745
1745
  },
1746
1746
  emits: ["update:activeAccordion"],
1747
1747
  setup(e, { emit: t }) {
1748
- const a = t, n = z(e.activeAccordion ?? -1), i = g({
1748
+ const a = t, n = z(e.activeAccordion ?? -1), l = g({
1749
1749
  get: () => n.value,
1750
1750
  set(f) {
1751
1751
  n.value = f, a("update:activeAccordion", f);
1752
1752
  }
1753
- }), l = z(/* @__PURE__ */ new Map()), o = z(0), s = z([]);
1753
+ }), i = z(/* @__PURE__ */ new Map()), o = z(0), s = z([]);
1754
1754
  function c(f, I) {
1755
1755
  s.value[I] = f;
1756
1756
  }
@@ -1767,17 +1767,17 @@ const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-control
1767
1767
  }
1768
1768
  return Nt(na, (f) => {
1769
1769
  const I = o.value++;
1770
- l.value.set(I, f.value);
1771
- const m = g(() => I === i.value);
1770
+ i.value.set(I, f.value);
1771
+ const m = g(() => I === l.value);
1772
1772
  se(f, () => {
1773
- l.value.set(I, f.value);
1773
+ i.value.set(I, f.value);
1774
1774
  });
1775
1775
  function v() {
1776
- if (i.value === I) {
1777
- i.value = -1;
1776
+ if (l.value === I) {
1777
+ l.value = -1;
1778
1778
  return;
1779
1779
  }
1780
- i.value = I;
1780
+ l.value = I;
1781
1781
  }
1782
1782
  function h(E) {
1783
1783
  switch (E.key) {
@@ -1799,15 +1799,15 @@ const bi = { class: "av-accordion" }, hi = ["id", "aria-expanded", "aria-control
1799
1799
  E && c(E, I);
1800
1800
  }
1801
1801
  return ge(() => {
1802
- l.value.delete(I);
1802
+ i.value.delete(I);
1803
1803
  }), { isActive: m, expand: v, onKeydown: h, setTriggerRef: T };
1804
- }), (f, I) => (d(), b("div", Ti, [
1804
+ }), (f, I) => (d(), b("div", Tl, [
1805
1805
  U(f.$slots, "default")
1806
1806
  ]));
1807
1807
  }
1808
1808
  });
1809
- function Di(e, t) {
1810
- const a = z(!1), n = z({ top: 0, left: 0 }), i = async () => {
1809
+ function Dl(e, t) {
1810
+ const a = z(!1), n = z({ top: 0, left: 0 }), l = async () => {
1811
1811
  if (a.value = !a.value, a.value && e.value) {
1812
1812
  await rt();
1813
1813
  const s = e.value.getBoundingClientRect(), c = s.bottom + window.scrollY + 4;
@@ -1818,10 +1818,10 @@ function Di(e, t) {
1818
1818
  }
1819
1819
  n.value = { top: c / 16, left: A / 16 };
1820
1820
  }
1821
- }, l = () => {
1821
+ }, i = () => {
1822
1822
  a.value = !1;
1823
1823
  }, o = (s) => {
1824
- e.value && !e.value.contains(s.target) && l();
1824
+ e.value && !e.value.contains(s.target) && i();
1825
1825
  };
1826
1826
  return ve(() => {
1827
1827
  document.addEventListener("click", o);
@@ -1830,69 +1830,69 @@ function Di(e, t) {
1830
1830
  }), {
1831
1831
  showPopover: a,
1832
1832
  popoverPosition: n,
1833
- togglePopover: i,
1834
- closePopover: l
1833
+ togglePopover: l,
1834
+ closePopover: i
1835
1835
  };
1836
1836
  }
1837
1837
  function va(e) {
1838
1838
  return Ha() ? (Ra(e), !0) : !1;
1839
1839
  }
1840
- const vt = /* @__PURE__ */ new WeakMap(), Li = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
1840
+ const vt = /* @__PURE__ */ new WeakMap(), Ll = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
1841
1841
  var t;
1842
1842
  const a = e[0], n = (t = Tt()) == null ? void 0 : t.proxy;
1843
1843
  if (n == null && !Dt())
1844
1844
  throw new Error("injectLocal must be called in setup");
1845
- return n && vt.has(n) && a in vt.get(n) ? vt.get(n)[a] : lt(...e);
1846
- }, wi = typeof window < "u" && typeof document < "u";
1845
+ return n && vt.has(n) && a in vt.get(n) ? vt.get(n)[a] : it(...e);
1846
+ }, wl = typeof window < "u" && typeof document < "u";
1847
1847
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
1848
- const Oi = (e) => e != null, xi = Object.prototype.toString, Si = (e) => xi.call(e) === "[object Object]", ke = () => {
1848
+ const Ol = (e) => e != null, xl = Object.prototype.toString, Sl = (e) => xl.call(e) === "[object Object]", ke = () => {
1849
1849
  };
1850
1850
  function ma(e, t) {
1851
1851
  function a(...n) {
1852
- return new Promise((i, l) => {
1853
- Promise.resolve(e(() => t.apply(this, n), { fn: t, thisArg: this, args: n })).then(i).catch(l);
1852
+ return new Promise((l, i) => {
1853
+ Promise.resolve(e(() => t.apply(this, n), { fn: t, thisArg: this, args: n })).then(l).catch(i);
1854
1854
  });
1855
1855
  }
1856
1856
  return a;
1857
1857
  }
1858
- function pi(e, t = {}) {
1859
- let a, n, i = ke;
1860
- const l = (c) => {
1861
- clearTimeout(c), i(), i = ke;
1858
+ function pl(e, t = {}) {
1859
+ let a, n, l = ke;
1860
+ const i = (c) => {
1861
+ clearTimeout(c), l(), l = ke;
1862
1862
  };
1863
1863
  let o;
1864
1864
  return (c) => {
1865
- const A = ie(e), u = ie(t.maxWait);
1866
- return a && l(a), A <= 0 || u !== void 0 && u <= 0 ? (n && (l(n), n = void 0), Promise.resolve(c())) : new Promise((f, I) => {
1867
- i = t.rejectOnCancel ? I : f, o = c, u && !n && (n = setTimeout(() => {
1868
- a && l(a), n = void 0, f(o());
1865
+ const A = le(e), u = le(t.maxWait);
1866
+ return a && i(a), A <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = void 0), Promise.resolve(c())) : new Promise((f, I) => {
1867
+ l = t.rejectOnCancel ? I : f, o = c, u && !n && (n = setTimeout(() => {
1868
+ a && i(a), n = void 0, f(o());
1869
1869
  }, u)), a = setTimeout(() => {
1870
- n && l(n), n = void 0, f(c());
1870
+ n && i(n), n = void 0, f(c());
1871
1871
  }, A);
1872
1872
  });
1873
1873
  };
1874
1874
  }
1875
- function ki(...e) {
1876
- let t = 0, a, n = !0, i = ke, l, o, s, c, A;
1875
+ function kl(...e) {
1876
+ let t = 0, a, n = !0, l = ke, i, o, s, c, A;
1877
1877
  !Lt(e[0]) && typeof e[0] == "object" ? { delay: o, trailing: s = !0, leading: c = !0, rejectOnCancel: A = !1 } = e[0] : [o, s = !0, c = !0, A = !1] = e;
1878
1878
  const u = () => {
1879
- a && (clearTimeout(a), a = void 0, i(), i = ke);
1879
+ a && (clearTimeout(a), a = void 0, l(), l = ke);
1880
1880
  };
1881
1881
  return (I) => {
1882
- const m = ie(o), v = Date.now() - t, h = () => l = I();
1883
- return u(), m <= 0 ? (t = Date.now(), h()) : (v > m && (c || !n) ? (t = Date.now(), h()) : s && (l = new Promise((T, E) => {
1884
- i = A ? E : T, a = setTimeout(() => {
1882
+ const m = le(o), v = Date.now() - t, h = () => i = I();
1883
+ return u(), m <= 0 ? (t = Date.now(), h()) : (v > m && (c || !n) ? (t = Date.now(), h()) : s && (i = new Promise((T, E) => {
1884
+ l = A ? E : T, a = setTimeout(() => {
1885
1885
  t = Date.now(), n = !0, T(h()), u();
1886
1886
  }, Math.max(0, m - v));
1887
- })), !c && !a && (a = setTimeout(() => n = !0, m)), n = !1, l);
1887
+ })), !c && !a && (a = setTimeout(() => n = !0, m)), n = !1, i);
1888
1888
  };
1889
1889
  }
1890
- function Qi(e, t) {
1890
+ function Ql(e, t) {
1891
1891
  var a;
1892
1892
  if (typeof e == "number")
1893
1893
  return e + t;
1894
- const n = ((a = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : a[0]) || "", i = e.slice(n.length), l = Number.parseFloat(n) + t;
1895
- return Number.isNaN(l) ? e : l + i;
1894
+ const n = ((a = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : a[0]) || "", l = e.slice(n.length), i = Number.parseFloat(n) + t;
1895
+ return Number.isNaN(i) ? e : i + l;
1896
1896
  }
1897
1897
  function Ze(e) {
1898
1898
  return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
@@ -1900,27 +1900,27 @@ function Ze(e) {
1900
1900
  function $e(e) {
1901
1901
  return Array.isArray(e) ? e : [e];
1902
1902
  }
1903
- function ji(e) {
1903
+ function jl(e) {
1904
1904
  return Tt();
1905
1905
  }
1906
1906
  // @__NO_SIDE_EFFECTS__
1907
- function zi(e, t = 200, a = {}) {
1907
+ function zl(e, t = 200, a = {}) {
1908
1908
  return ma(
1909
- pi(t, a),
1909
+ pl(t, a),
1910
1910
  e
1911
1911
  );
1912
1912
  }
1913
1913
  // @__NO_SIDE_EFFECTS__
1914
- function Bi(e, t = 200, a = !1, n = !0, i = !1) {
1914
+ function Bl(e, t = 200, a = !1, n = !0, l = !1) {
1915
1915
  return ma(
1916
- ki(t, a, n, i),
1916
+ kl(t, a, n, l),
1917
1917
  e
1918
1918
  );
1919
1919
  }
1920
1920
  function ga(e, t = !0, a) {
1921
- ji() ? ve(e, a) : t ? e() : rt(e);
1921
+ jl() ? ve(e, a) : t ? e() : rt(e);
1922
1922
  }
1923
- function Pi(e, t, a) {
1923
+ function Pl(e, t, a) {
1924
1924
  return se(
1925
1925
  e,
1926
1926
  t,
@@ -1930,33 +1930,33 @@ function Pi(e, t, a) {
1930
1930
  }
1931
1931
  );
1932
1932
  }
1933
- const Fe = wi ? window : void 0;
1933
+ const Fe = wl ? window : void 0;
1934
1934
  function Ot(e) {
1935
1935
  var t;
1936
- const a = ie(e);
1936
+ const a = le(e);
1937
1937
  return (t = a == null ? void 0 : a.$el) != null ? t : a;
1938
1938
  }
1939
1939
  function Ct(...e) {
1940
1940
  const t = [], a = () => {
1941
1941
  t.forEach((s) => s()), t.length = 0;
1942
- }, n = (s, c, A, u) => (s.addEventListener(c, A, u), () => s.removeEventListener(c, A, u)), i = g(() => {
1943
- const s = $e(ie(e[0])).filter((c) => c != null);
1942
+ }, n = (s, c, A, u) => (s.addEventListener(c, A, u), () => s.removeEventListener(c, A, u)), l = g(() => {
1943
+ const s = $e(le(e[0])).filter((c) => c != null);
1944
1944
  return s.every((c) => typeof c != "string") ? s : void 0;
1945
- }), l = Pi(
1945
+ }), i = Pl(
1946
1946
  () => {
1947
1947
  var s, c;
1948
1948
  return [
1949
- (c = (s = i.value) == null ? void 0 : s.map((A) => Ot(A))) != null ? c : [Fe].filter((A) => A != null),
1950
- $e(ie(i.value ? e[1] : e[0])),
1951
- $e(r(i.value ? e[2] : e[1])),
1949
+ (c = (s = l.value) == null ? void 0 : s.map((A) => Ot(A))) != null ? c : [Fe].filter((A) => A != null),
1950
+ $e(le(l.value ? e[1] : e[0])),
1951
+ $e(r(l.value ? e[2] : e[1])),
1952
1952
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
1953
- ie(i.value ? e[3] : e[2])
1953
+ le(l.value ? e[3] : e[2])
1954
1954
  ];
1955
1955
  },
1956
1956
  ([s, c, A, u]) => {
1957
1957
  if (a(), !(s != null && s.length) || !(c != null && c.length) || !(A != null && A.length))
1958
1958
  return;
1959
- const f = Si(u) ? { ...u } : u;
1959
+ const f = Sl(u) ? { ...u } : u;
1960
1960
  t.push(
1961
1961
  ...s.flatMap(
1962
1962
  (I) => c.flatMap(
@@ -1967,12 +1967,12 @@ function Ct(...e) {
1967
1967
  },
1968
1968
  { flush: "post" }
1969
1969
  ), o = () => {
1970
- l(), a();
1970
+ i(), a();
1971
1971
  };
1972
1972
  return va(a), o;
1973
1973
  }
1974
1974
  // @__NO_SIDE_EFFECTS__
1975
- function Wi() {
1975
+ function Wl() {
1976
1976
  const e = Ee(!1), t = Tt();
1977
1977
  return t && ve(() => {
1978
1978
  e.value = !0;
@@ -1980,24 +1980,24 @@ function Wi() {
1980
1980
  }
1981
1981
  // @__NO_SIDE_EFFECTS__
1982
1982
  function Ia(e) {
1983
- const t = /* @__PURE__ */ Wi();
1983
+ const t = /* @__PURE__ */ Wl();
1984
1984
  return g(() => (t.value, !!e()));
1985
1985
  }
1986
- function Ui(e, t, a = {}) {
1987
- const { window: n = Fe, ...i } = a;
1988
- let l;
1986
+ function Ul(e, t, a = {}) {
1987
+ const { window: n = Fe, ...l } = a;
1988
+ let i;
1989
1989
  const o = /* @__PURE__ */ Ia(() => n && "MutationObserver" in n), s = () => {
1990
- l && (l.disconnect(), l = void 0);
1990
+ i && (i.disconnect(), i = void 0);
1991
1991
  }, c = g(() => {
1992
- const I = ie(e), m = $e(I).map(Ot).filter(Oi);
1992
+ const I = le(e), m = $e(I).map(Ot).filter(Ol);
1993
1993
  return new Set(m);
1994
1994
  }), A = se(
1995
1995
  c,
1996
1996
  (I) => {
1997
- s(), o.value && I.size && (l = new MutationObserver(t), I.forEach((m) => l.observe(m, i)));
1997
+ s(), o.value && I.size && (i = new MutationObserver(t), I.forEach((m) => i.observe(m, l)));
1998
1998
  },
1999
1999
  { immediate: !0, flush: "post" }
2000
- ), u = () => l == null ? void 0 : l.takeRecords(), f = () => {
2000
+ ), u = () => i == null ? void 0 : i.takeRecords(), f = () => {
2001
2001
  A(), s();
2002
2002
  };
2003
2003
  return va(f), {
@@ -2006,20 +2006,20 @@ function Ui(e, t, a = {}) {
2006
2006
  takeRecords: u
2007
2007
  };
2008
2008
  }
2009
- const Vi = Symbol("vueuse-ssr-width");
2009
+ const Vl = Symbol("vueuse-ssr-width");
2010
2010
  // @__NO_SIDE_EFFECTS__
2011
2011
  function ba() {
2012
- const e = Dt() ? /* @__PURE__ */ Li(Vi, null) : null;
2012
+ const e = Dt() ? /* @__PURE__ */ Ll(Vl, null) : null;
2013
2013
  return typeof e == "number" ? e : void 0;
2014
2014
  }
2015
2015
  function Pe(e, t = {}) {
2016
- const { window: a = Fe, ssrWidth: n = /* @__PURE__ */ ba() } = t, i = /* @__PURE__ */ Ia(() => a && "matchMedia" in a && typeof a.matchMedia == "function"), l = Ee(typeof n == "number"), o = Ee(), s = Ee(!1), c = (A) => {
2016
+ const { window: a = Fe, ssrWidth: n = /* @__PURE__ */ ba() } = t, l = /* @__PURE__ */ Ia(() => a && "matchMedia" in a && typeof a.matchMedia == "function"), i = Ee(typeof n == "number"), o = Ee(), s = Ee(!1), c = (A) => {
2017
2017
  s.value = A.matches;
2018
2018
  };
2019
2019
  return Za(() => {
2020
- if (l.value) {
2021
- l.value = !i.value;
2022
- const A = ie(e).split(",");
2020
+ if (i.value) {
2021
+ i.value = !l.value;
2022
+ const A = le(e).split(",");
2023
2023
  s.value = A.some((u) => {
2024
2024
  const f = u.includes("not all"), I = u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), m = u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
2025
2025
  let v = !!(I || m);
@@ -2027,22 +2027,22 @@ function Pe(e, t = {}) {
2027
2027
  });
2028
2028
  return;
2029
2029
  }
2030
- i.value && (o.value = a.matchMedia(ie(e)), s.value = o.value.matches);
2030
+ l.value && (o.value = a.matchMedia(le(e)), s.value = o.value.matches);
2031
2031
  }), Ct(o, "change", c, { passive: !0 }), g(() => s.value);
2032
2032
  }
2033
2033
  // @__NO_SIDE_EFFECTS__
2034
- function Hi(e, t = {}) {
2034
+ function Hl(e, t = {}) {
2035
2035
  function a(m, v) {
2036
- let h = ie(e[ie(m)]);
2037
- return v != null && (h = Qi(h, v)), typeof h == "number" && (h = `${h}px`), h;
2036
+ let h = le(e[le(m)]);
2037
+ return v != null && (h = Ql(h, v)), typeof h == "number" && (h = `${h}px`), h;
2038
2038
  }
2039
- const { window: n = Fe, strategy: i = "min-width", ssrWidth: l = /* @__PURE__ */ ba() } = t, o = typeof l == "number", s = o ? Ee(!1) : { value: !0 };
2039
+ const { window: n = Fe, strategy: l = "min-width", ssrWidth: i = /* @__PURE__ */ ba() } = t, o = typeof i == "number", s = o ? Ee(!1) : { value: !0 };
2040
2040
  o && ga(() => s.value = !!n);
2041
2041
  function c(m, v) {
2042
- return !s.value && o ? m === "min" ? l >= Ze(v) : l <= Ze(v) : n ? n.matchMedia(`(${m}-width: ${v})`).matches : !1;
2042
+ return !s.value && o ? m === "min" ? i >= Ze(v) : i <= Ze(v) : n ? n.matchMedia(`(${m}-width: ${v})`).matches : !1;
2043
2043
  }
2044
2044
  const A = (m) => Pe(() => `(min-width: ${a(m)})`, t), u = (m) => Pe(() => `(max-width: ${a(m)})`, t), f = Object.keys(e).reduce((m, v) => (Object.defineProperty(m, v, {
2045
- get: () => i === "min-width" ? A(v) : u(v),
2045
+ get: () => l === "min-width" ? A(v) : u(v),
2046
2046
  enumerable: !0,
2047
2047
  configurable: !0
2048
2048
  }), m), {});
@@ -2080,17 +2080,17 @@ function Hi(e, t = {}) {
2080
2080
  current: I,
2081
2081
  active() {
2082
2082
  const m = I();
2083
- return g(() => m.value.length === 0 ? "" : m.value.at(i === "min-width" ? -1 : 0));
2083
+ return g(() => m.value.length === 0 ? "" : m.value.at(l === "min-width" ? -1 : 0));
2084
2084
  }
2085
2085
  });
2086
2086
  }
2087
2087
  const Bt = 1;
2088
- function Ri(e, t = {}) {
2088
+ function Rl(e, t = {}) {
2089
2089
  const {
2090
2090
  throttle: a = 0,
2091
2091
  idle: n = 200,
2092
- onStop: i = ke,
2093
- onScroll: l = ke,
2092
+ onStop: l = ke,
2093
+ onScroll: i = ke,
2094
2094
  offset: o = {
2095
2095
  left: 0,
2096
2096
  right: 0,
@@ -2130,13 +2130,13 @@ function Ri(e, t = {}) {
2130
2130
  var O, j, y, N;
2131
2131
  if (!u)
2132
2132
  return;
2133
- const x = ie(e);
2133
+ const x = le(e);
2134
2134
  if (!x)
2135
2135
  return;
2136
2136
  (y = x instanceof Document ? u.document.body : x) == null || y.scrollTo({
2137
- top: (O = ie(R)) != null ? O : T.value,
2138
- left: (j = ie(k)) != null ? j : h.value,
2139
- behavior: ie(A)
2137
+ top: (O = le(R)) != null ? O : T.value,
2138
+ left: (j = le(k)) != null ? j : h.value,
2139
+ behavior: le(A)
2140
2140
  });
2141
2141
  const X = ((N = x == null ? void 0 : x.document) == null ? void 0 : N.documentElement) || (x == null ? void 0 : x.documentElement) || x;
2142
2142
  h != null && (m.value = X.scrollLeft), T != null && (v.value = X.scrollTop);
@@ -2152,8 +2152,8 @@ function Ri(e, t = {}) {
2152
2152
  top: !1,
2153
2153
  bottom: !1
2154
2154
  }), B = (k) => {
2155
- D.value && (D.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, i(k));
2156
- }, Z = /* @__PURE__ */ zi(B, a + n), F = (k) => {
2155
+ D.value && (D.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, l(k));
2156
+ }, Z = /* @__PURE__ */ zl(B, a + n), F = (k) => {
2157
2157
  var R;
2158
2158
  if (!u)
2159
2159
  return;
@@ -2170,26 +2170,26 @@ function Ri(e, t = {}) {
2170
2170
  if (!u)
2171
2171
  return;
2172
2172
  const O = (R = k.target.documentElement) != null ? R : k.target;
2173
- F(O), D.value = !0, Z(k), l(k);
2173
+ F(O), D.value = !0, Z(k), i(k);
2174
2174
  };
2175
2175
  return Ct(
2176
2176
  e,
2177
2177
  "scroll",
2178
- a ? /* @__PURE__ */ Bi(te, a, !0, !1) : te,
2178
+ a ? /* @__PURE__ */ Bl(te, a, !0, !1) : te,
2179
2179
  c
2180
2180
  ), ga(() => {
2181
2181
  try {
2182
- const k = ie(e);
2182
+ const k = le(e);
2183
2183
  if (!k)
2184
2184
  return;
2185
2185
  F(k);
2186
2186
  } catch (k) {
2187
2187
  f(k);
2188
2188
  }
2189
- }), I != null && I.mutation && e != null && e !== u && e !== document && Ui(
2189
+ }), I != null && I.mutation && e != null && e !== u && e !== document && Ul(
2190
2190
  e,
2191
2191
  () => {
2192
- const k = ie(e);
2192
+ const k = le(e);
2193
2193
  k && F(k);
2194
2194
  },
2195
2195
  {
@@ -2209,12 +2209,12 @@ function Ri(e, t = {}) {
2209
2209
  arrivedState: M,
2210
2210
  directions: L,
2211
2211
  measure() {
2212
- const k = ie(e);
2212
+ const k = le(e);
2213
2213
  u && k && F(k);
2214
2214
  }
2215
2215
  };
2216
2216
  }
2217
- const Zi = {
2217
+ const Zl = {
2218
2218
  sm: 576,
2219
2219
  /* 36rem */
2220
2220
  md: 768,
@@ -2225,7 +2225,7 @@ const Zi = {
2225
2225
  /* 90rem */
2226
2226
  };
2227
2227
  function st() {
2228
- const e = /* @__PURE__ */ Hi(Zi), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), i = e.smaller("xl"), l = e.greater("md"), o = e.greater("lg"), s = a, c = g(() => l.value && n.value), A = o, u = e.active();
2228
+ const e = /* @__PURE__ */ Hl(Zl), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), l = e.smaller("xl"), i = e.greater("md"), o = e.greater("lg"), s = a, c = g(() => i.value && n.value), A = o, u = e.active();
2229
2229
  return {
2230
2230
  isMobile: s,
2231
2231
  isTablet: c,
@@ -2233,13 +2233,13 @@ function st() {
2233
2233
  isBelowSm: t,
2234
2234
  isBelowMd: a,
2235
2235
  isBelowLg: n,
2236
- isBelowXl: i,
2237
- isAboveMd: l,
2236
+ isBelowXl: l,
2237
+ isAboveMd: i,
2238
2238
  isAboveLg: o,
2239
2239
  currentBreakpoint: u
2240
2240
  };
2241
2241
  }
2242
- function Yi(e, t) {
2242
+ function Yl(e, t) {
2243
2243
  let a = null;
2244
2244
  function n() {
2245
2245
  !e.value || !e.value.querySelector(
@@ -2251,12 +2251,12 @@ function Yi(e, t) {
2251
2251
  clickOutsideDeactivates: !0
2252
2252
  }), a.activate());
2253
2253
  }
2254
- function i() {
2254
+ function l() {
2255
2255
  a == null || a.deactivate(), a = null;
2256
2256
  }
2257
2257
  return {
2258
2258
  initializeFocusTrap: n,
2259
- cleanupFocusTrap: i
2259
+ cleanupFocusTrap: l
2260
2260
  };
2261
2261
  }
2262
2262
  function YA(e) {
@@ -2266,7 +2266,7 @@ function YA(e) {
2266
2266
  document.documentElement.style.setProperty("--global-background-color", "var(--default-global-background-color)");
2267
2267
  });
2268
2268
  }
2269
- const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2269
+ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
2270
2270
  __name: "AvPopover",
2271
2271
  props: {
2272
2272
  width: {},
@@ -2277,7 +2277,7 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2277
2277
  v553324d8: f.width,
2278
2278
  d4f07f42: f.padding
2279
2279
  }));
2280
- const a = z(null), n = z(null), { showPopover: i, popoverPosition: l, togglePopover: o, closePopover: s } = Di(a, n), { initializeFocusTrap: c, cleanupFocusTrap: A } = Yi(n, s);
2280
+ const a = z(null), n = z(null), { showPopover: l, popoverPosition: i, togglePopover: o, closePopover: s } = Dl(a, n), { initializeFocusTrap: c, cleanupFocusTrap: A } = Yl(n, s);
2281
2281
  function u(f) {
2282
2282
  if (!f) {
2283
2283
  a.value = null;
@@ -2290,11 +2290,11 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2290
2290
  const I = f.$el;
2291
2291
  I instanceof HTMLElement ? a.value = I : a.value = null;
2292
2292
  }
2293
- return t({ setTriggerRef: u, triggerRef: a }), se(i, async (f) => {
2293
+ return t({ setTriggerRef: u, triggerRef: a }), se(l, async (f) => {
2294
2294
  f ? (await rt(), c()) : A();
2295
2295
  }), ta(() => {
2296
2296
  A();
2297
- }), (f, I) => (d(), b("div", Xi, [
2297
+ }), (f, I) => (d(), b("div", Xl, [
2298
2298
  C("div", {
2299
2299
  ref: u,
2300
2300
  class: "av-popover-trigger-wrapper"
@@ -2302,13 +2302,13 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2302
2302
  U(f.$slots, "trigger", { toggle: r(o) }, void 0, !0)
2303
2303
  ]),
2304
2304
  (d(), S(aa, { to: "body" }, [
2305
- r(i) ? (d(), b("div", {
2305
+ r(l) ? (d(), b("div", {
2306
2306
  key: 0,
2307
2307
  ref_key: "popoverRef",
2308
2308
  ref: n,
2309
2309
  tabindex: "-1",
2310
2310
  class: "av-popover",
2311
- style: Ae(`top: ${r(l).top}rem; left: ${r(l).left}rem;`),
2311
+ style: Ae(`top: ${r(i).top}rem; left: ${r(i).left}rem;`),
2312
2312
  onKeydown: I[0] || (I[0] = ue(de(
2313
2313
  //@ts-ignore
2314
2314
  (...m) => r(s) && r(s)(...m),
@@ -2320,7 +2320,7 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2320
2320
  ]))
2321
2321
  ]));
2322
2322
  }
2323
- }), Fi = /* @__PURE__ */ P(qi, [["__scopeId", "data-v-6d959292"]]), Ki = { class: "av-dropdown" }, Gi = /* @__PURE__ */ p({
2323
+ }), Fl = /* @__PURE__ */ P(ql, [["__scopeId", "data-v-6d959292"]]), Kl = { class: "av-dropdown" }, Gl = /* @__PURE__ */ p({
2324
2324
  __name: "AvDropdown",
2325
2325
  props: {
2326
2326
  items: {},
@@ -2339,10 +2339,10 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2339
2339
  emits: ["itemSelected"],
2340
2340
  setup(e, { emit: t }) {
2341
2341
  const a = t;
2342
- function n(i, l) {
2343
- a("itemSelected", i), l();
2342
+ function n(l, i) {
2343
+ a("itemSelected", l), i();
2344
2344
  }
2345
- return (i, l) => (d(), S(Fi, {
2345
+ return (l, i) => (d(), S(Fl, {
2346
2346
  width: e.width,
2347
2347
  padding: e.padding
2348
2348
  }, {
@@ -2359,8 +2359,8 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2359
2359
  }, null, 8, ["icon", "label", "aria-label", "variant", "small", "no-sentence-case", "icon-only", "onClick"])
2360
2360
  ]),
2361
2361
  popover: K(({ close: o }) => [
2362
- C("div", Ki, [
2363
- (d(!0), b($, null, le(e.items, (s) => (d(), S(re, {
2362
+ C("div", Kl, [
2363
+ (d(!0), b($, null, ie(e.items, (s) => (d(), S(re, {
2364
2364
  key: s.name,
2365
2365
  class: "av-dropdown__menu-item",
2366
2366
  icon: s.icon,
@@ -2377,7 +2377,7 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2377
2377
  _: 1
2378
2378
  }, 8, ["width", "padding"]));
2379
2379
  }
2380
- }), Ji = /* @__PURE__ */ P(Gi, [["__scopeId", "data-v-2b8aea7a"]]), $i = {
2380
+ }), Jl = /* @__PURE__ */ P(Gl, [["__scopeId", "data-v-2b8aea7a"]]), $l = {
2381
2381
  role: "navigation",
2382
2382
  class: "av-translate av-nav"
2383
2383
  }, Pt = /* @__PURE__ */ p({
@@ -2390,11 +2390,11 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2390
2390
  },
2391
2391
  emits: ["select"],
2392
2392
  setup(e, { emit: t }) {
2393
- const a = t, { isBelowLg: n } = st(), i = g(() => e.id ?? `language-selector-${crypto.randomUUID()}`), l = g(
2393
+ const a = t, { isBelowLg: n } = st(), l = g(() => e.id ?? `language-selector-${crypto.randomUUID()}`), i = g(
2394
2394
  () => e.languages.find(({ codeIso: A }) => A === e.currentLanguage)
2395
2395
  ), o = g(() => {
2396
2396
  var f, I;
2397
- const A = ((f = l.value) == null ? void 0 : f.codeIso.toUpperCase()) ?? "", u = `${A} - ${(I = l.value) == null ? void 0 : I.label}`;
2397
+ const A = ((f = i.value) == null ? void 0 : f.codeIso.toUpperCase()) ?? "", u = `${A} - ${(I = i.value) == null ? void 0 : I.label}`;
2398
2398
  return n.value ? u : A;
2399
2399
  }), s = g(() => e.languages.map((A) => ({
2400
2400
  name: A.codeIso,
@@ -2407,10 +2407,10 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2407
2407
  u && a("select", u);
2408
2408
  }
2409
2409
  return (A, u) => {
2410
- const f = Ji;
2411
- return d(), b("nav", $i, [
2410
+ const f = Jl;
2411
+ return d(), b("nav", $l, [
2412
2412
  V(f, {
2413
- id: r(i),
2413
+ id: r(l),
2414
2414
  items: r(s),
2415
2415
  title: e.title,
2416
2416
  "trigger-aria-label": r(o),
@@ -2424,7 +2424,7 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2424
2424
  ]);
2425
2425
  };
2426
2426
  }
2427
- }), _i = ["title", "aria-label"], el = { class: "av-rich-button__line av-row av-align-center av-w-full" }, tl = { class: "av-rich-button__left av-row av-align-center av-w-full av-gap-sm av-pr-sm" }, al = /* @__PURE__ */ p({
2427
+ }), _l = ["title", "aria-label"], ei = { class: "av-rich-button__line av-row av-align-center av-w-full" }, ti = { class: "av-rich-button__left av-row av-align-center av-w-full av-gap-sm av-pr-sm" }, ai = /* @__PURE__ */ p({
2428
2428
  __name: "AvRichButton",
2429
2429
  props: {
2430
2430
  label: {},
@@ -2444,8 +2444,8 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2444
2444
  class: "av-rich-button av-row av-w-full av-align-center av-justify-between",
2445
2445
  onClick: a[0] || (a[0] = (n) => t.$emit("click", n))
2446
2446
  }, [
2447
- C("div", el, [
2448
- C("div", tl, [
2447
+ C("div", ei, [
2448
+ C("div", ti, [
2449
2449
  e.iconLeft ? (d(), S(ne, {
2450
2450
  key: 0,
2451
2451
  name: e.iconLeft,
@@ -2461,12 +2461,12 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2461
2461
  size: 1.5
2462
2462
  }, null, 8, ["name"])) : w("", !0)
2463
2463
  ])
2464
- ], 8, _i));
2464
+ ], 8, _l));
2465
2465
  }
2466
- }), XA = /* @__PURE__ */ P(al, [["__scopeId", "data-v-ff4425d7"]]), nl = ["id", "name", "value", "checked", "required", "data-testid", "data-test", "tabindex", "aria-describedby"], il = ["for"], ll = { class: "label-container av-row av-gap-xs av-align-center" }, rl = {
2466
+ }), XA = /* @__PURE__ */ P(ai, [["__scopeId", "data-v-ff4425d7"]]), ni = ["id", "name", "value", "checked", "required", "data-testid", "data-test", "tabindex", "aria-describedby"], li = ["for"], ii = { class: "label-container av-row av-gap-xs av-align-center" }, ri = {
2467
2467
  key: 0,
2468
2468
  class: "av-hint-text"
2469
- }, ol = /* @__PURE__ */ p({
2469
+ }, oi = /* @__PURE__ */ p({
2470
2470
  inheritAttrs: !1,
2471
2471
  __name: "AvCheckbox",
2472
2472
  props: /* @__PURE__ */ ye({
@@ -2488,9 +2488,9 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2488
2488
  }),
2489
2489
  emits: ["update:modelValue"],
2490
2490
  setup(e) {
2491
- const t = g(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = g(() => e.errorMessage || e.validMessage), n = g(() => a.value ? `message-${t.value}` : void 0), i = we(e, "modelValue"), l = g(() => i.value.includes(e.value)), o = g(() => l.value ? H.CHECKBOX_MARKED : H.CHECKBOX_BLANK_OUTLINE), s = g(() => l.value ? "var(--dark-background-primary1)" : "var(--icon)"), c = g(() => e.small ? 1 : 1.5), A = g(() => e.small ? l.value ? "caption-bold" : "caption-regular" : l.value ? "b2-bold" : "b2-regular");
2491
+ const t = g(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = g(() => e.errorMessage || e.validMessage), n = g(() => a.value ? `message-${t.value}` : void 0), l = we(e, "modelValue"), i = g(() => l.value.includes(e.value)), o = g(() => i.value ? H.CHECKBOX_MARKED : H.CHECKBOX_BLANK_OUTLINE), s = g(() => i.value ? "var(--dark-background-primary1)" : "var(--icon)"), c = g(() => e.small ? 1 : 1.5), A = g(() => e.small ? i.value ? "caption-bold" : "caption-regular" : i.value ? "b2-bold" : "b2-regular");
2492
2492
  return (u, f) => {
2493
- const I = ne, m = Qe, v = la;
2493
+ const I = ne, m = Qe, v = ia;
2494
2494
  return d(), S(v, {
2495
2495
  inline: e.inline,
2496
2496
  disabled: e.disabled
@@ -2498,26 +2498,26 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2498
2498
  default: K(() => [
2499
2499
  Et(C("input", _({
2500
2500
  id: r(t),
2501
- "onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
2501
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => l.value = h),
2502
2502
  name: e.name,
2503
2503
  class: "av-sr-only",
2504
2504
  type: "checkbox",
2505
2505
  value: e.value,
2506
- checked: r(l),
2506
+ checked: r(i),
2507
2507
  required: e.required
2508
2508
  }, u.$attrs, {
2509
2509
  "data-testid": `input-checkbox-${r(t)}`,
2510
2510
  "data-test": `input-checkbox-${r(t)}`,
2511
2511
  tabindex: e.disabled ? -1 : void 0,
2512
2512
  "aria-describedby": r(n)
2513
- }), null, 16, nl), [
2514
- [Ya, i.value]
2513
+ }), null, 16, ni), [
2514
+ [Ya, l.value]
2515
2515
  ]),
2516
2516
  C("label", {
2517
2517
  for: r(t),
2518
2518
  class: "av-label av-pb-none"
2519
2519
  }, [
2520
- C("div", ll, [
2520
+ C("div", ii, [
2521
2521
  V(I, {
2522
2522
  class: "option-checkbox",
2523
2523
  name: r(o),
@@ -2543,8 +2543,8 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2543
2543
  class: Q(["required", r(A)])
2544
2544
  }, " *", 2)) : w("", !0)
2545
2545
  ]),
2546
- e.hint ? (d(), b("span", rl, W(e.hint), 1)) : w("", !0)
2547
- ], 8, il),
2546
+ e.hint ? (d(), b("span", ri, W(e.hint), 1)) : w("", !0)
2547
+ ], 8, li),
2548
2548
  V(m, {
2549
2549
  "message-id": r(n),
2550
2550
  type: e.errorMessage ? "error" : "success",
@@ -2555,7 +2555,7 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2555
2555
  }, 8, ["inline", "disabled"]);
2556
2556
  };
2557
2557
  }
2558
- }), sl = /* @__PURE__ */ P(ol, [["__scopeId", "data-v-8150e911"]]), cl = /* @__PURE__ */ p({
2558
+ }), si = /* @__PURE__ */ P(oi, [["__scopeId", "data-v-8150e911"]]), ci = /* @__PURE__ */ p({
2559
2559
  __name: "AvCheckboxesGroup",
2560
2560
  props: {
2561
2561
  id: {},
@@ -2569,8 +2569,8 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2569
2569
  setup(e) {
2570
2570
  const t = g(() => e.id ?? `checkboxes-group-${crypto.randomUUID()}`);
2571
2571
  return (a, n) => {
2572
- const i = ia;
2573
- return d(), S(i, {
2572
+ const l = la;
2573
+ return d(), S(l, {
2574
2574
  id: r(t),
2575
2575
  legend: e.legend,
2576
2576
  "legend-id": e.legendId,
@@ -2594,7 +2594,7 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2594
2594
  }, 8, ["id", "legend", "legend-id", "hint", "error-message", "success-message", "inline"]);
2595
2595
  };
2596
2596
  }
2597
- }), Al = /* @__PURE__ */ p({
2597
+ }), Ai = /* @__PURE__ */ p({
2598
2598
  __name: "AvFileUploadAlert",
2599
2599
  props: {
2600
2600
  error: { default: void 0 },
@@ -2609,13 +2609,13 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2609
2609
  }, null, 8, ["type", "message"]);
2610
2610
  };
2611
2611
  }
2612
- }), ul = { class: "file-upload-content" }, dl = { class: "left-content-container" }, fl = { class: "content-container" }, vl = { key: 0 }, ml = { class: "b2-bold" }, gl = {
2612
+ }), ui = { class: "file-upload-content" }, di = { class: "left-content-container" }, fi = { class: "content-container" }, vi = { key: 0 }, mi = { class: "b2-bold" }, gi = {
2613
2613
  key: 1,
2614
2614
  class: "title-container"
2615
- }, Il = { class: "b2-regular" }, bl = { class: "caption-light" }, hl = {
2615
+ }, Ii = { class: "b2-regular" }, bi = { class: "caption-light" }, hi = {
2616
2616
  key: 0,
2617
2617
  class: "right-icon-container"
2618
- }, yl = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], Cl = { class: "caption-light" }, Ml = /* @__PURE__ */ p({
2618
+ }, yi = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], Ci = { class: "caption-light" }, Mi = /* @__PURE__ */ p({
2619
2619
  inheritAttrs: !1,
2620
2620
  __name: "AvFileUpload",
2621
2621
  props: {
@@ -2640,23 +2640,23 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2640
2640
  oe((v) => ({
2641
2641
  v8df8b300: v.maxWidth
2642
2642
  }));
2643
- const a = t, n = g(() => e.id ?? `file-upload-${crypto.randomUUID()}`), i = g(() => Array.isArray(e.accept) ? e.accept.join(",") : e.accept), l = z(!1);
2643
+ const a = t, n = g(() => e.id ?? `file-upload-${crypto.randomUUID()}`), l = g(() => Array.isArray(e.accept) ? e.accept.join(",") : e.accept), i = z(!1);
2644
2644
  function o(v) {
2645
- const h = i.value;
2645
+ const h = l.value;
2646
2646
  return h ? h.split(",").map((E) => E.trim().toLowerCase()).some((E) => E.startsWith(".") ? v.name.toLowerCase().endsWith(E) : E.includes("/") ? v.type === E || v.type.startsWith(`${E.split("/")[0]}/`) : !1) : !0;
2647
2647
  }
2648
2648
  async function s(v) {
2649
2649
  var T, E;
2650
- if (v.preventDefault(), l.value = !1, e.disabled || !((E = (T = v.dataTransfer) == null ? void 0 : T.files) != null && E.length))
2650
+ if (v.preventDefault(), i.value = !1, e.disabled || !((E = (T = v.dataTransfer) == null ? void 0 : T.files) != null && E.length))
2651
2651
  return;
2652
2652
  const h = Array.from(v.dataTransfer.files).filter(o);
2653
2653
  await rt(), h.length ? (a("change", h), a("update:modelValue", h[0] ?? "")) : a("onDropAcceptTypeError");
2654
2654
  }
2655
2655
  function c(v) {
2656
- v.preventDefault(), e.disabled || (l.value = !0);
2656
+ v.preventDefault(), e.disabled || (i.value = !0);
2657
2657
  }
2658
2658
  function A() {
2659
- l.value = !1;
2659
+ i.value = !1;
2660
2660
  }
2661
2661
  function u(v) {
2662
2662
  const h = v.target.files;
@@ -2670,7 +2670,7 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2670
2670
  "av-upload-group--error": e.error,
2671
2671
  "av-upload-group--valid": e.validMessage,
2672
2672
  "av-upload-group--disabled": e.disabled,
2673
- "drag-over": l.value
2673
+ "drag-over": i.value
2674
2674
  }
2675
2675
  ],
2676
2676
  "aria-label": e.ariaLabel,
@@ -2690,8 +2690,8 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2690
2690
  C("div", {
2691
2691
  class: Q(r(f) ? "" : "file-upload-container")
2692
2692
  }, [
2693
- C("div", ul, [
2694
- C("div", dl, [
2693
+ C("div", ui, [
2694
+ C("div", di, [
2695
2695
  U(v.$slots, "left", {}, () => [
2696
2696
  V(ne, {
2697
2697
  size: 2.5,
@@ -2700,19 +2700,19 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2700
2700
  }, null, 8, ["name"])
2701
2701
  ], !0)
2702
2702
  ]),
2703
- C("div", fl, [
2704
- r(f) ? (d(), b("div", vl, [
2705
- C("span", ml, W(e.fileName || e.modelValue.name), 1)
2706
- ])) : (d(), b("div", gl, [
2707
- C("span", Il, W(e.title), 1),
2708
- C("span", bl, W(e.description), 1)
2703
+ C("div", fi, [
2704
+ r(f) ? (d(), b("div", vi, [
2705
+ C("span", mi, W(e.fileName || e.modelValue.name), 1)
2706
+ ])) : (d(), b("div", gi, [
2707
+ C("span", Ii, W(e.title), 1),
2708
+ C("span", bi, W(e.description), 1)
2709
2709
  ])),
2710
- V(Al, {
2710
+ V(Ai, {
2711
2711
  "valid-message": e.validMessage,
2712
2712
  error: e.error
2713
2713
  }, null, 8, ["valid-message", "error"])
2714
2714
  ]),
2715
- e.disabled ? w("", !0) : (d(), b("div", hl, [
2715
+ e.disabled ? w("", !0) : (d(), b("div", hi, [
2716
2716
  r(f) ? (d(), S(re, {
2717
2717
  key: 0,
2718
2718
  label: e.deleteButtonLabel,
@@ -2734,45 +2734,45 @@ const Xi = { class: "av-popover-wrapper" }, qi = /* @__PURE__ */ p({
2734
2734
  }, v.$attrs, {
2735
2735
  disabled: e.disabled,
2736
2736
  "aria-disabled": e.disabled,
2737
- accept: r(i),
2737
+ accept: r(l),
2738
2738
  onChange: h[1] || (h[1] = (T) => u(T))
2739
- }), null, 16, yl))
2739
+ }), null, 16, yi))
2740
2740
  ])
2741
2741
  ], 2)
2742
2742
  ]),
2743
2743
  _: 3
2744
2744
  }, 16, ["class"])),
2745
- C("span", Cl, [
2745
+ C("span", Ci, [
2746
2746
  U(v.$slots, "hint", {}, void 0, !0)
2747
2747
  ])
2748
2748
  ], 64));
2749
2749
  }
2750
- }), qA = /* @__PURE__ */ P(Ml, [["__scopeId", "data-v-b3d7bf33"]]), ha = 6048e5, El = 864e5, ya = 6e4, Ca = 36e5, Wt = Symbol.for("constructDateFrom");
2750
+ }), qA = /* @__PURE__ */ P(Mi, [["__scopeId", "data-v-b3d7bf33"]]), ha = 6048e5, Ei = 864e5, ya = 6e4, Ca = 36e5, Wt = Symbol.for("constructDateFrom");
2751
2751
  function fe(e, t) {
2752
2752
  return typeof e == "function" ? e(t) : e && typeof e == "object" && Wt in e ? e[Wt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
2753
2753
  }
2754
2754
  function ce(e, t) {
2755
2755
  return fe(t || e, e);
2756
2756
  }
2757
- let Nl = {};
2757
+ let Ni = {};
2758
2758
  function ct() {
2759
- return Nl;
2759
+ return Ni;
2760
2760
  }
2761
2761
  function Xe(e, t) {
2762
2762
  var s, c, A, u;
2763
- const a = ct(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? a.weekStartsOn ?? ((u = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : u.weekStartsOn) ?? 0, i = ce(e, t == null ? void 0 : t.in), l = i.getDay(), o = (l < n ? 7 : 0) + l - n;
2764
- return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
2763
+ const a = ct(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? a.weekStartsOn ?? ((u = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : u.weekStartsOn) ?? 0, l = ce(e, t == null ? void 0 : t.in), i = l.getDay(), o = (i < n ? 7 : 0) + i - n;
2764
+ return l.setDate(l.getDate() - o), l.setHours(0, 0, 0, 0), l;
2765
2765
  }
2766
2766
  function nt(e, t) {
2767
2767
  return Xe(e, { ...t, weekStartsOn: 1 });
2768
2768
  }
2769
2769
  function Ma(e, t) {
2770
- const a = ce(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = fe(a, 0);
2771
- i.setFullYear(n + 1, 0, 4), i.setHours(0, 0, 0, 0);
2772
- const l = nt(i), o = fe(a, 0);
2770
+ const a = ce(e, t == null ? void 0 : t.in), n = a.getFullYear(), l = fe(a, 0);
2771
+ l.setFullYear(n + 1, 0, 4), l.setHours(0, 0, 0, 0);
2772
+ const i = nt(l), o = fe(a, 0);
2773
2773
  o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0);
2774
2774
  const s = nt(o);
2775
- return a.getTime() >= l.getTime() ? n + 1 : a.getTime() >= s.getTime() ? n : n - 1;
2775
+ return a.getTime() >= i.getTime() ? n + 1 : a.getTime() >= s.getTime() ? n : n - 1;
2776
2776
  }
2777
2777
  function Ut(e) {
2778
2778
  const t = ce(e), a = new Date(
@@ -2788,7 +2788,7 @@ function Ut(e) {
2788
2788
  );
2789
2789
  return a.setUTCFullYear(t.getFullYear()), +e - +a;
2790
2790
  }
2791
- function Tl(e, ...t) {
2791
+ function Ti(e, ...t) {
2792
2792
  const a = fe.bind(
2793
2793
  null,
2794
2794
  t.find((n) => typeof n == "object")
@@ -2799,45 +2799,45 @@ function Vt(e, t) {
2799
2799
  const a = ce(e, t == null ? void 0 : t.in);
2800
2800
  return a.setHours(0, 0, 0, 0), a;
2801
2801
  }
2802
- function Dl(e, t, a) {
2803
- const [n, i] = Tl(
2802
+ function Di(e, t, a) {
2803
+ const [n, l] = Ti(
2804
2804
  a == null ? void 0 : a.in,
2805
2805
  e,
2806
2806
  t
2807
- ), l = Vt(n), o = Vt(i), s = +l - Ut(l), c = +o - Ut(o);
2808
- return Math.round((s - c) / El);
2807
+ ), i = Vt(n), o = Vt(l), s = +i - Ut(i), c = +o - Ut(o);
2808
+ return Math.round((s - c) / Ei);
2809
2809
  }
2810
- function Ll(e, t) {
2810
+ function Li(e, t) {
2811
2811
  const a = Ma(e, t), n = fe(e, 0);
2812
2812
  return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), nt(n);
2813
2813
  }
2814
- function wl(e, t) {
2814
+ function wi(e, t) {
2815
2815
  let a, n = t == null ? void 0 : t.in;
2816
- return e.forEach((i) => {
2817
- !n && typeof i == "object" && (n = fe.bind(null, i));
2818
- const l = ce(i, n);
2819
- (!a || a < l || isNaN(+l)) && (a = l);
2816
+ return e.forEach((l) => {
2817
+ !n && typeof l == "object" && (n = fe.bind(null, l));
2818
+ const i = ce(l, n);
2819
+ (!a || a < i || isNaN(+i)) && (a = i);
2820
2820
  }), fe(n, a || NaN);
2821
2821
  }
2822
- function Ol(e, t) {
2822
+ function Oi(e, t) {
2823
2823
  let a, n = t == null ? void 0 : t.in;
2824
- return e.forEach((i) => {
2825
- !n && typeof i == "object" && (n = fe.bind(null, i));
2826
- const l = ce(i, n);
2827
- (!a || a > l || isNaN(+l)) && (a = l);
2824
+ return e.forEach((l) => {
2825
+ !n && typeof l == "object" && (n = fe.bind(null, l));
2826
+ const i = ce(l, n);
2827
+ (!a || a > i || isNaN(+i)) && (a = i);
2828
2828
  }), fe(n, a || NaN);
2829
2829
  }
2830
- function xl(e) {
2830
+ function xi(e) {
2831
2831
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
2832
2832
  }
2833
2833
  function At(e) {
2834
- return !(!xl(e) && typeof e != "number" || isNaN(+ce(e)));
2834
+ return !(!xi(e) && typeof e != "number" || isNaN(+ce(e)));
2835
2835
  }
2836
- function Sl(e, t) {
2836
+ function Si(e, t) {
2837
2837
  const a = ce(e, t == null ? void 0 : t.in);
2838
2838
  return a.setFullYear(a.getFullYear(), 0, 1), a.setHours(0, 0, 0, 0), a;
2839
2839
  }
2840
- const pl = {
2840
+ const pi = {
2841
2841
  lessThanXSeconds: {
2842
2842
  one: "less than a second",
2843
2843
  other: "less than {{count}} seconds"
@@ -2899,10 +2899,10 @@ const pl = {
2899
2899
  one: "almost 1 year",
2900
2900
  other: "almost {{count}} years"
2901
2901
  }
2902
- }, kl = (e, t, a) => {
2902
+ }, ki = (e, t, a) => {
2903
2903
  let n;
2904
- const i = pl[e];
2905
- return typeof i == "string" ? n = i : t === 1 ? n = i.one : n = i.other.replace("{{count}}", t.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + n : n + " ago" : n;
2904
+ const l = pi[e];
2905
+ return typeof l == "string" ? n = l : t === 1 ? n = l.one : n = l.other.replace("{{count}}", t.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + n : n + " ago" : n;
2906
2906
  };
2907
2907
  function mt(e) {
2908
2908
  return (t = {}) => {
@@ -2910,66 +2910,66 @@ function mt(e) {
2910
2910
  return e.formats[a] || e.formats[e.defaultWidth];
2911
2911
  };
2912
2912
  }
2913
- const Ql = {
2913
+ const Qi = {
2914
2914
  full: "EEEE, MMMM do, y",
2915
2915
  long: "MMMM do, y",
2916
2916
  medium: "MMM d, y",
2917
2917
  short: "MM/dd/yyyy"
2918
- }, jl = {
2918
+ }, ji = {
2919
2919
  full: "h:mm:ss a zzzz",
2920
2920
  long: "h:mm:ss a z",
2921
2921
  medium: "h:mm:ss a",
2922
2922
  short: "h:mm a"
2923
- }, zl = {
2923
+ }, zi = {
2924
2924
  full: "{{date}} 'at' {{time}}",
2925
2925
  long: "{{date}} 'at' {{time}}",
2926
2926
  medium: "{{date}}, {{time}}",
2927
2927
  short: "{{date}}, {{time}}"
2928
- }, Bl = {
2928
+ }, Bi = {
2929
2929
  date: mt({
2930
- formats: Ql,
2930
+ formats: Qi,
2931
2931
  defaultWidth: "full"
2932
2932
  }),
2933
2933
  time: mt({
2934
- formats: jl,
2934
+ formats: ji,
2935
2935
  defaultWidth: "full"
2936
2936
  }),
2937
2937
  dateTime: mt({
2938
- formats: zl,
2938
+ formats: zi,
2939
2939
  defaultWidth: "full"
2940
2940
  })
2941
- }, Pl = {
2941
+ }, Pi = {
2942
2942
  lastWeek: "'last' eeee 'at' p",
2943
2943
  yesterday: "'yesterday at' p",
2944
2944
  today: "'today at' p",
2945
2945
  tomorrow: "'tomorrow at' p",
2946
2946
  nextWeek: "eeee 'at' p",
2947
2947
  other: "P"
2948
- }, Wl = (e, t, a, n) => Pl[e];
2948
+ }, Wi = (e, t, a, n) => Pi[e];
2949
2949
  function We(e) {
2950
2950
  return (t, a) => {
2951
2951
  const n = a != null && a.context ? String(a.context) : "standalone";
2952
- let i;
2952
+ let l;
2953
2953
  if (n === "formatting" && e.formattingValues) {
2954
2954
  const o = e.defaultFormattingWidth || e.defaultWidth, s = a != null && a.width ? String(a.width) : o;
2955
- i = e.formattingValues[s] || e.formattingValues[o];
2955
+ l = e.formattingValues[s] || e.formattingValues[o];
2956
2956
  } else {
2957
2957
  const o = e.defaultWidth, s = a != null && a.width ? String(a.width) : e.defaultWidth;
2958
- i = e.values[s] || e.values[o];
2958
+ l = e.values[s] || e.values[o];
2959
2959
  }
2960
- const l = e.argumentCallback ? e.argumentCallback(t) : t;
2961
- return i[l];
2960
+ const i = e.argumentCallback ? e.argumentCallback(t) : t;
2961
+ return l[i];
2962
2962
  };
2963
2963
  }
2964
- const Ul = {
2964
+ const Ui = {
2965
2965
  narrow: ["B", "A"],
2966
2966
  abbreviated: ["BC", "AD"],
2967
2967
  wide: ["Before Christ", "Anno Domini"]
2968
- }, Vl = {
2968
+ }, Vi = {
2969
2969
  narrow: ["1", "2", "3", "4"],
2970
2970
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
2971
2971
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
2972
- }, Hl = {
2972
+ }, Hi = {
2973
2973
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
2974
2974
  abbreviated: [
2975
2975
  "Jan",
@@ -2999,7 +2999,7 @@ const Ul = {
2999
2999
  "November",
3000
3000
  "December"
3001
3001
  ]
3002
- }, Rl = {
3002
+ }, Ri = {
3003
3003
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
3004
3004
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
3005
3005
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -3012,7 +3012,7 @@ const Ul = {
3012
3012
  "Friday",
3013
3013
  "Saturday"
3014
3014
  ]
3015
- }, Zl = {
3015
+ }, Zi = {
3016
3016
  narrow: {
3017
3017
  am: "a",
3018
3018
  pm: "p",
@@ -3043,7 +3043,7 @@ const Ul = {
3043
3043
  evening: "evening",
3044
3044
  night: "night"
3045
3045
  }
3046
- }, Yl = {
3046
+ }, Yi = {
3047
3047
  narrow: {
3048
3048
  am: "a",
3049
3049
  pm: "p",
@@ -3074,7 +3074,7 @@ const Ul = {
3074
3074
  evening: "in the evening",
3075
3075
  night: "at night"
3076
3076
  }
3077
- }, Xl = (e, t) => {
3077
+ }, Xi = (e, t) => {
3078
3078
  const a = Number(e), n = a % 100;
3079
3079
  if (n > 20 || n < 10)
3080
3080
  switch (n % 10) {
@@ -3086,40 +3086,40 @@ const Ul = {
3086
3086
  return a + "rd";
3087
3087
  }
3088
3088
  return a + "th";
3089
- }, ql = {
3090
- ordinalNumber: Xl,
3089
+ }, qi = {
3090
+ ordinalNumber: Xi,
3091
3091
  era: We({
3092
- values: Ul,
3092
+ values: Ui,
3093
3093
  defaultWidth: "wide"
3094
3094
  }),
3095
3095
  quarter: We({
3096
- values: Vl,
3096
+ values: Vi,
3097
3097
  defaultWidth: "wide",
3098
3098
  argumentCallback: (e) => e - 1
3099
3099
  }),
3100
3100
  month: We({
3101
- values: Hl,
3101
+ values: Hi,
3102
3102
  defaultWidth: "wide"
3103
3103
  }),
3104
3104
  day: We({
3105
- values: Rl,
3105
+ values: Ri,
3106
3106
  defaultWidth: "wide"
3107
3107
  }),
3108
3108
  dayPeriod: We({
3109
- values: Zl,
3109
+ values: Zi,
3110
3110
  defaultWidth: "wide",
3111
- formattingValues: Yl,
3111
+ formattingValues: Yi,
3112
3112
  defaultFormattingWidth: "wide"
3113
3113
  })
3114
3114
  };
3115
3115
  function Ue(e) {
3116
3116
  return (t, a = {}) => {
3117
- const n = a.width, i = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], l = t.match(i);
3118
- if (!l)
3117
+ const n = a.width, l = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], i = t.match(l);
3118
+ if (!i)
3119
3119
  return null;
3120
- const o = l[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Kl(s, (f) => f.test(o)) : (
3120
+ const o = i[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Ki(s, (f) => f.test(o)) : (
3121
3121
  // [TODO] -- I challenge you to fix the type
3122
- Fl(s, (f) => f.test(o))
3122
+ Fi(s, (f) => f.test(o))
3123
3123
  );
3124
3124
  let A;
3125
3125
  A = e.valueCallback ? e.valueCallback(c) : c, A = a.valueCallback ? (
@@ -3130,29 +3130,29 @@ function Ue(e) {
3130
3130
  return { value: A, rest: u };
3131
3131
  };
3132
3132
  }
3133
- function Fl(e, t) {
3133
+ function Fi(e, t) {
3134
3134
  for (const a in e)
3135
3135
  if (Object.prototype.hasOwnProperty.call(e, a) && t(e[a]))
3136
3136
  return a;
3137
3137
  }
3138
- function Kl(e, t) {
3138
+ function Ki(e, t) {
3139
3139
  for (let a = 0; a < e.length; a++)
3140
3140
  if (t(e[a]))
3141
3141
  return a;
3142
3142
  }
3143
- function Gl(e) {
3143
+ function Gi(e) {
3144
3144
  return (t, a = {}) => {
3145
3145
  const n = t.match(e.matchPattern);
3146
3146
  if (!n) return null;
3147
- const i = n[0], l = t.match(e.parsePattern);
3148
- if (!l) return null;
3149
- let o = e.valueCallback ? e.valueCallback(l[0]) : l[0];
3147
+ const l = n[0], i = t.match(e.parsePattern);
3148
+ if (!i) return null;
3149
+ let o = e.valueCallback ? e.valueCallback(i[0]) : i[0];
3150
3150
  o = a.valueCallback ? a.valueCallback(o) : o;
3151
- const s = t.slice(i.length);
3151
+ const s = t.slice(l.length);
3152
3152
  return { value: o, rest: s };
3153
3153
  };
3154
3154
  }
3155
- const Jl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, _l = {
3155
+ const Ji = /^(\d+)(th|st|nd|rd)?/i, $i = /\d+/i, _i = {
3156
3156
  narrow: /^(b|a)/i,
3157
3157
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
3158
3158
  wide: /^(before christ|before common era|anno domini|common era)/i
@@ -3168,7 +3168,7 @@ const Jl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, _l = {
3168
3168
  narrow: /^[jfmasond]/i,
3169
3169
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
3170
3170
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
3171
- }, ir = {
3171
+ }, lr = {
3172
3172
  narrow: [
3173
3173
  /^j/i,
3174
3174
  /^f/i,
@@ -3197,7 +3197,7 @@ const Jl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, _l = {
3197
3197
  /^n/i,
3198
3198
  /^d/i
3199
3199
  ]
3200
- }, lr = {
3200
+ }, ir = {
3201
3201
  narrow: /^[smtwf]/i,
3202
3202
  short: /^(su|mo|tu|we|th|fr|sa)/i,
3203
3203
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
@@ -3220,13 +3220,13 @@ const Jl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, _l = {
3220
3220
  night: /night/i
3221
3221
  }
3222
3222
  }, cr = {
3223
- ordinalNumber: Gl({
3224
- matchPattern: Jl,
3225
- parsePattern: $l,
3223
+ ordinalNumber: Gi({
3224
+ matchPattern: Ji,
3225
+ parsePattern: $i,
3226
3226
  valueCallback: (e) => parseInt(e, 10)
3227
3227
  }),
3228
3228
  era: Ue({
3229
- matchPatterns: _l,
3229
+ matchPatterns: _i,
3230
3230
  defaultMatchWidth: "wide",
3231
3231
  parsePatterns: er,
3232
3232
  defaultParseWidth: "any"
@@ -3241,11 +3241,11 @@ const Jl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, _l = {
3241
3241
  month: Ue({
3242
3242
  matchPatterns: nr,
3243
3243
  defaultMatchWidth: "wide",
3244
- parsePatterns: ir,
3244
+ parsePatterns: lr,
3245
3245
  defaultParseWidth: "any"
3246
3246
  }),
3247
3247
  day: Ue({
3248
- matchPatterns: lr,
3248
+ matchPatterns: ir,
3249
3249
  defaultMatchWidth: "wide",
3250
3250
  parsePatterns: rr,
3251
3251
  defaultParseWidth: "any"
@@ -3258,10 +3258,10 @@ const Jl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, _l = {
3258
3258
  })
3259
3259
  }, Ar = {
3260
3260
  code: "en-US",
3261
- formatDistance: kl,
3262
- formatLong: Bl,
3263
- formatRelative: Wl,
3264
- localize: ql,
3261
+ formatDistance: ki,
3262
+ formatLong: Bi,
3263
+ formatRelative: Wi,
3264
+ localize: qi,
3265
3265
  match: cr,
3266
3266
  options: {
3267
3267
  weekStartsOn: 0,
@@ -3270,25 +3270,25 @@ const Jl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, _l = {
3270
3270
  };
3271
3271
  function ur(e, t) {
3272
3272
  const a = ce(e, t == null ? void 0 : t.in);
3273
- return Dl(a, Sl(a)) + 1;
3273
+ return Di(a, Si(a)) + 1;
3274
3274
  }
3275
3275
  function dr(e, t) {
3276
- const a = ce(e, t == null ? void 0 : t.in), n = +nt(a) - +Ll(a);
3276
+ const a = ce(e, t == null ? void 0 : t.in), n = +nt(a) - +Li(a);
3277
3277
  return Math.round(n / ha) + 1;
3278
3278
  }
3279
3279
  function Ea(e, t) {
3280
3280
  var u, f, I, m;
3281
- const a = ce(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = ct(), l = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((m = (I = i.locale) == null ? void 0 : I.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, o = fe((t == null ? void 0 : t.in) || e, 0);
3282
- o.setFullYear(n + 1, 0, l), o.setHours(0, 0, 0, 0);
3281
+ const a = ce(e, t == null ? void 0 : t.in), n = a.getFullYear(), l = ct(), i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((m = (I = l.locale) == null ? void 0 : I.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, o = fe((t == null ? void 0 : t.in) || e, 0);
3282
+ o.setFullYear(n + 1, 0, i), o.setHours(0, 0, 0, 0);
3283
3283
  const s = Xe(o, t), c = fe((t == null ? void 0 : t.in) || e, 0);
3284
- c.setFullYear(n, 0, l), c.setHours(0, 0, 0, 0);
3284
+ c.setFullYear(n, 0, i), c.setHours(0, 0, 0, 0);
3285
3285
  const A = Xe(c, t);
3286
3286
  return +a >= +s ? n + 1 : +a >= +A ? n : n - 1;
3287
3287
  }
3288
3288
  function fr(e, t) {
3289
3289
  var s, c, A, u;
3290
- const a = ct(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((u = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, i = Ea(e, t), l = fe((t == null ? void 0 : t.in) || e, 0);
3291
- return l.setFullYear(i, 0, n), l.setHours(0, 0, 0, 0), Xe(l, t);
3290
+ const a = ct(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((u = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, l = Ea(e, t), i = fe((t == null ? void 0 : t.in) || e, 0);
3291
+ return i.setFullYear(l, 0, n), i.setHours(0, 0, 0, 0), Xe(i, t);
3292
3292
  }
3293
3293
  function vr(e, t) {
3294
3294
  const a = ce(e, t == null ? void 0 : t.in), n = +Xe(a, t) - +fr(a, t);
@@ -3347,10 +3347,10 @@ const Me = {
3347
3347
  },
3348
3348
  // Fraction of second
3349
3349
  S(e, t) {
3350
- const a = t.length, n = e.getMilliseconds(), i = Math.trunc(
3350
+ const a = t.length, n = e.getMilliseconds(), l = Math.trunc(
3351
3351
  n * Math.pow(10, a - 3)
3352
3352
  );
3353
- return G(i, t.length);
3353
+ return G(l, t.length);
3354
3354
  }
3355
3355
  }, Se = {
3356
3356
  midnight: "midnight",
@@ -3381,19 +3381,19 @@ const Me = {
3381
3381
  // Year
3382
3382
  y: function(e, t, a) {
3383
3383
  if (t === "yo") {
3384
- const n = e.getFullYear(), i = n > 0 ? n : 1 - n;
3385
- return a.ordinalNumber(i, { unit: "year" });
3384
+ const n = e.getFullYear(), l = n > 0 ? n : 1 - n;
3385
+ return a.ordinalNumber(l, { unit: "year" });
3386
3386
  }
3387
3387
  return Me.y(e, t);
3388
3388
  },
3389
3389
  // Local week-numbering year
3390
3390
  Y: function(e, t, a, n) {
3391
- const i = Ea(e, n), l = i > 0 ? i : 1 - i;
3391
+ const l = Ea(e, n), i = l > 0 ? l : 1 - l;
3392
3392
  if (t === "YY") {
3393
- const o = l % 100;
3393
+ const o = i % 100;
3394
3394
  return G(o, 2);
3395
3395
  }
3396
- return t === "Yo" ? a.ordinalNumber(l, { unit: "year" }) : G(l, t.length);
3396
+ return t === "Yo" ? a.ordinalNumber(i, { unit: "year" }) : G(i, t.length);
3397
3397
  },
3398
3398
  // ISO week-numbering year
3399
3399
  R: function(e, t) {
@@ -3542,8 +3542,8 @@ const Me = {
3542
3542
  },
3543
3543
  // Local week of year
3544
3544
  w: function(e, t, a, n) {
3545
- const i = vr(e, n);
3546
- return t === "wo" ? a.ordinalNumber(i, { unit: "week" }) : G(i, t.length);
3545
+ const l = vr(e, n);
3546
+ return t === "wo" ? a.ordinalNumber(l, { unit: "week" }) : G(l, t.length);
3547
3547
  },
3548
3548
  // ISO week of year
3549
3549
  I: function(e, t, a) {
@@ -3594,38 +3594,38 @@ const Me = {
3594
3594
  },
3595
3595
  // Local day of week
3596
3596
  e: function(e, t, a, n) {
3597
- const i = e.getDay(), l = (i - n.weekStartsOn + 8) % 7 || 7;
3597
+ const l = e.getDay(), i = (l - n.weekStartsOn + 8) % 7 || 7;
3598
3598
  switch (t) {
3599
3599
  // Numerical value (Nth day of week with current locale or weekStartsOn)
3600
3600
  case "e":
3601
- return String(l);
3601
+ return String(i);
3602
3602
  // Padded numerical value
3603
3603
  case "ee":
3604
- return G(l, 2);
3604
+ return G(i, 2);
3605
3605
  // 1st, 2nd, ..., 7th
3606
3606
  case "eo":
3607
- return a.ordinalNumber(l, { unit: "day" });
3607
+ return a.ordinalNumber(i, { unit: "day" });
3608
3608
  case "eee":
3609
- return a.day(i, {
3609
+ return a.day(l, {
3610
3610
  width: "abbreviated",
3611
3611
  context: "formatting"
3612
3612
  });
3613
3613
  // T
3614
3614
  case "eeeee":
3615
- return a.day(i, {
3615
+ return a.day(l, {
3616
3616
  width: "narrow",
3617
3617
  context: "formatting"
3618
3618
  });
3619
3619
  // Tu
3620
3620
  case "eeeeee":
3621
- return a.day(i, {
3621
+ return a.day(l, {
3622
3622
  width: "short",
3623
3623
  context: "formatting"
3624
3624
  });
3625
3625
  // Tuesday
3626
3626
  case "eeee":
3627
3627
  default:
3628
- return a.day(i, {
3628
+ return a.day(l, {
3629
3629
  width: "wide",
3630
3630
  context: "formatting"
3631
3631
  });
@@ -3633,38 +3633,38 @@ const Me = {
3633
3633
  },
3634
3634
  // Stand-alone local day of week
3635
3635
  c: function(e, t, a, n) {
3636
- const i = e.getDay(), l = (i - n.weekStartsOn + 8) % 7 || 7;
3636
+ const l = e.getDay(), i = (l - n.weekStartsOn + 8) % 7 || 7;
3637
3637
  switch (t) {
3638
3638
  // Numerical value (same as in `e`)
3639
3639
  case "c":
3640
- return String(l);
3640
+ return String(i);
3641
3641
  // Padded numerical value
3642
3642
  case "cc":
3643
- return G(l, t.length);
3643
+ return G(i, t.length);
3644
3644
  // 1st, 2nd, ..., 7th
3645
3645
  case "co":
3646
- return a.ordinalNumber(l, { unit: "day" });
3646
+ return a.ordinalNumber(i, { unit: "day" });
3647
3647
  case "ccc":
3648
- return a.day(i, {
3648
+ return a.day(l, {
3649
3649
  width: "abbreviated",
3650
3650
  context: "standalone"
3651
3651
  });
3652
3652
  // T
3653
3653
  case "ccccc":
3654
- return a.day(i, {
3654
+ return a.day(l, {
3655
3655
  width: "narrow",
3656
3656
  context: "standalone"
3657
3657
  });
3658
3658
  // Tu
3659
3659
  case "cccccc":
3660
- return a.day(i, {
3660
+ return a.day(l, {
3661
3661
  width: "short",
3662
3662
  context: "standalone"
3663
3663
  });
3664
3664
  // Tuesday
3665
3665
  case "cccc":
3666
3666
  default:
3667
- return a.day(i, {
3667
+ return a.day(l, {
3668
3668
  width: "wide",
3669
3669
  context: "standalone"
3670
3670
  });
@@ -3672,17 +3672,17 @@ const Me = {
3672
3672
  },
3673
3673
  // ISO day of week
3674
3674
  i: function(e, t, a) {
3675
- const n = e.getDay(), i = n === 0 ? 7 : n;
3675
+ const n = e.getDay(), l = n === 0 ? 7 : n;
3676
3676
  switch (t) {
3677
3677
  // 2
3678
3678
  case "i":
3679
- return String(i);
3679
+ return String(l);
3680
3680
  // 02
3681
3681
  case "ii":
3682
- return G(i, t.length);
3682
+ return G(l, t.length);
3683
3683
  // 2nd
3684
3684
  case "io":
3685
- return a.ordinalNumber(i, { unit: "day" });
3685
+ return a.ordinalNumber(l, { unit: "day" });
3686
3686
  // Tue
3687
3687
  case "iii":
3688
3688
  return a.day(n, {
@@ -3712,27 +3712,27 @@ const Me = {
3712
3712
  },
3713
3713
  // AM or PM
3714
3714
  a: function(e, t, a) {
3715
- const i = e.getHours() / 12 >= 1 ? "pm" : "am";
3715
+ const l = e.getHours() / 12 >= 1 ? "pm" : "am";
3716
3716
  switch (t) {
3717
3717
  case "a":
3718
3718
  case "aa":
3719
- return a.dayPeriod(i, {
3719
+ return a.dayPeriod(l, {
3720
3720
  width: "abbreviated",
3721
3721
  context: "formatting"
3722
3722
  });
3723
3723
  case "aaa":
3724
- return a.dayPeriod(i, {
3724
+ return a.dayPeriod(l, {
3725
3725
  width: "abbreviated",
3726
3726
  context: "formatting"
3727
3727
  }).toLowerCase();
3728
3728
  case "aaaaa":
3729
- return a.dayPeriod(i, {
3729
+ return a.dayPeriod(l, {
3730
3730
  width: "narrow",
3731
3731
  context: "formatting"
3732
3732
  });
3733
3733
  case "aaaa":
3734
3734
  default:
3735
- return a.dayPeriod(i, {
3735
+ return a.dayPeriod(l, {
3736
3736
  width: "wide",
3737
3737
  context: "formatting"
3738
3738
  });
@@ -3741,27 +3741,27 @@ const Me = {
3741
3741
  // AM, PM, midnight, noon
3742
3742
  b: function(e, t, a) {
3743
3743
  const n = e.getHours();
3744
- let i;
3745
- switch (n === 12 ? i = Se.noon : n === 0 ? i = Se.midnight : i = n / 12 >= 1 ? "pm" : "am", t) {
3744
+ let l;
3745
+ switch (n === 12 ? l = Se.noon : n === 0 ? l = Se.midnight : l = n / 12 >= 1 ? "pm" : "am", t) {
3746
3746
  case "b":
3747
3747
  case "bb":
3748
- return a.dayPeriod(i, {
3748
+ return a.dayPeriod(l, {
3749
3749
  width: "abbreviated",
3750
3750
  context: "formatting"
3751
3751
  });
3752
3752
  case "bbb":
3753
- return a.dayPeriod(i, {
3753
+ return a.dayPeriod(l, {
3754
3754
  width: "abbreviated",
3755
3755
  context: "formatting"
3756
3756
  }).toLowerCase();
3757
3757
  case "bbbbb":
3758
- return a.dayPeriod(i, {
3758
+ return a.dayPeriod(l, {
3759
3759
  width: "narrow",
3760
3760
  context: "formatting"
3761
3761
  });
3762
3762
  case "bbbb":
3763
3763
  default:
3764
- return a.dayPeriod(i, {
3764
+ return a.dayPeriod(l, {
3765
3765
  width: "wide",
3766
3766
  context: "formatting"
3767
3767
  });
@@ -3770,23 +3770,23 @@ const Me = {
3770
3770
  // in the morning, in the afternoon, in the evening, at night
3771
3771
  B: function(e, t, a) {
3772
3772
  const n = e.getHours();
3773
- let i;
3774
- switch (n >= 17 ? i = Se.evening : n >= 12 ? i = Se.afternoon : n >= 4 ? i = Se.morning : i = Se.night, t) {
3773
+ let l;
3774
+ switch (n >= 17 ? l = Se.evening : n >= 12 ? l = Se.afternoon : n >= 4 ? l = Se.morning : l = Se.night, t) {
3775
3775
  case "B":
3776
3776
  case "BB":
3777
3777
  case "BBB":
3778
- return a.dayPeriod(i, {
3778
+ return a.dayPeriod(l, {
3779
3779
  width: "abbreviated",
3780
3780
  context: "formatting"
3781
3781
  });
3782
3782
  case "BBBBB":
3783
- return a.dayPeriod(i, {
3783
+ return a.dayPeriod(l, {
3784
3784
  width: "narrow",
3785
3785
  context: "formatting"
3786
3786
  });
3787
3787
  case "BBBB":
3788
3788
  default:
3789
- return a.dayPeriod(i, {
3789
+ return a.dayPeriod(l, {
3790
3790
  width: "wide",
3791
3791
  context: "formatting"
3792
3792
  });
@@ -3915,15 +3915,15 @@ const Me = {
3915
3915
  }
3916
3916
  };
3917
3917
  function Rt(e, t = "") {
3918
- const a = e > 0 ? "-" : "+", n = Math.abs(e), i = Math.trunc(n / 60), l = n % 60;
3919
- return l === 0 ? a + String(i) : a + String(i) + t + G(l, 2);
3918
+ const a = e > 0 ? "-" : "+", n = Math.abs(e), l = Math.trunc(n / 60), i = n % 60;
3919
+ return i === 0 ? a + String(l) : a + String(l) + t + G(i, 2);
3920
3920
  }
3921
3921
  function Zt(e, t) {
3922
3922
  return e % 60 === 0 ? (e > 0 ? "-" : "+") + G(Math.abs(e) / 60, 2) : Te(e, t);
3923
3923
  }
3924
3924
  function Te(e, t = "") {
3925
- const a = e > 0 ? "-" : "+", n = Math.abs(e), i = G(Math.trunc(n / 60), 2), l = G(n % 60, 2);
3926
- return a + i + t + l;
3925
+ const a = e > 0 ? "-" : "+", n = Math.abs(e), l = G(Math.trunc(n / 60), 2), i = G(n % 60, 2);
3926
+ return a + l + t + i;
3927
3927
  }
3928
3928
  const Yt = (e, t) => {
3929
3929
  switch (e) {
@@ -3950,26 +3950,26 @@ const Yt = (e, t) => {
3950
3950
  return t.time({ width: "full" });
3951
3951
  }
3952
3952
  }, mr = (e, t) => {
3953
- const a = e.match(/(P+)(p+)?/) || [], n = a[1], i = a[2];
3954
- if (!i)
3953
+ const a = e.match(/(P+)(p+)?/) || [], n = a[1], l = a[2];
3954
+ if (!l)
3955
3955
  return Yt(e, t);
3956
- let l;
3956
+ let i;
3957
3957
  switch (n) {
3958
3958
  case "P":
3959
- l = t.dateTime({ width: "short" });
3959
+ i = t.dateTime({ width: "short" });
3960
3960
  break;
3961
3961
  case "PP":
3962
- l = t.dateTime({ width: "medium" });
3962
+ i = t.dateTime({ width: "medium" });
3963
3963
  break;
3964
3964
  case "PPP":
3965
- l = t.dateTime({ width: "long" });
3965
+ i = t.dateTime({ width: "long" });
3966
3966
  break;
3967
3967
  case "PPPP":
3968
3968
  default:
3969
- l = t.dateTime({ width: "full" });
3969
+ i = t.dateTime({ width: "full" });
3970
3970
  break;
3971
3971
  }
3972
- return l.replace("{{date}}", Yt(n, t)).replace("{{time}}", Na(i, t));
3972
+ return i.replace("{{date}}", Yt(n, t)).replace("{{time}}", Na(l, t));
3973
3973
  }, gr = {
3974
3974
  p: Na,
3975
3975
  P: mr
@@ -3991,14 +3991,14 @@ function Er(e, t, a) {
3991
3991
  const Nr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Tr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Dr = /^'([^]*?)'?$/, Lr = /''/g, wr = /[a-zA-Z]/;
3992
3992
  function Ie(e, t, a) {
3993
3993
  var u, f, I, m;
3994
- const n = ct(), i = n.locale ?? Ar, l = n.firstWeekContainsDate ?? ((f = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((m = (I = n.locale) == null ? void 0 : I.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = ce(e, a == null ? void 0 : a.in);
3994
+ const n = ct(), l = n.locale ?? Ar, i = n.firstWeekContainsDate ?? ((f = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((m = (I = n.locale) == null ? void 0 : I.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = ce(e, a == null ? void 0 : a.in);
3995
3995
  if (!At(s))
3996
3996
  throw new RangeError("Invalid time value");
3997
3997
  let c = t.match(Tr).map((v) => {
3998
3998
  const h = v[0];
3999
3999
  if (h === "p" || h === "P") {
4000
4000
  const T = gr[h];
4001
- return T(v, i.formatLong);
4001
+ return T(v, l.formatLong);
4002
4002
  }
4003
4003
  return v;
4004
4004
  }).join("").match(Nr).map((v) => {
@@ -4015,18 +4015,18 @@ function Ie(e, t, a) {
4015
4015
  );
4016
4016
  return { isToken: !1, value: v };
4017
4017
  });
4018
- i.localize.preprocessor && (c = i.localize.preprocessor(s, c));
4018
+ l.localize.preprocessor && (c = l.localize.preprocessor(s, c));
4019
4019
  const A = {
4020
- firstWeekContainsDate: l,
4020
+ firstWeekContainsDate: i,
4021
4021
  weekStartsOn: o,
4022
- locale: i
4022
+ locale: l
4023
4023
  };
4024
4024
  return c.map((v) => {
4025
4025
  if (!v.isToken) return v.value;
4026
4026
  const h = v.value;
4027
4027
  (Cr(h) || yr(h)) && Mr(h, t, String(e));
4028
4028
  const T = Ht[h[0]];
4029
- return T(s, h, i.localize, A);
4029
+ return T(s, h, l.localize, A);
4030
4030
  }).join("");
4031
4031
  }
4032
4032
  function Or(e) {
@@ -4034,19 +4034,19 @@ function Or(e) {
4034
4034
  return t ? t[1].replace(Lr, "'") : e;
4035
4035
  }
4036
4036
  function Ta(e, t) {
4037
- const a = () => fe(t == null ? void 0 : t.in, NaN), i = kr(e);
4038
- let l;
4039
- if (i.date) {
4040
- const A = Qr(i.date, 2);
4041
- l = jr(A.restDateString, A.year);
4037
+ const a = () => fe(t == null ? void 0 : t.in, NaN), l = kr(e);
4038
+ let i;
4039
+ if (l.date) {
4040
+ const A = Qr(l.date, 2);
4041
+ i = jr(A.restDateString, A.year);
4042
4042
  }
4043
- if (!l || isNaN(+l)) return a();
4044
- const o = +l;
4043
+ if (!i || isNaN(+i)) return a();
4044
+ const o = +i;
4045
4045
  let s = 0, c;
4046
- if (i.time && (s = zr(i.time), isNaN(s)))
4046
+ if (l.time && (s = zr(l.time), isNaN(s)))
4047
4047
  return a();
4048
- if (i.timezone) {
4049
- if (c = Br(i.timezone), isNaN(c)) return a();
4048
+ if (l.timezone) {
4049
+ if (c = Br(l.timezone), isNaN(c)) return a();
4050
4050
  } else {
4051
4051
  const A = new Date(o + s), u = ce(0, t == null ? void 0 : t.in);
4052
4052
  return u.setFullYear(
@@ -4076,8 +4076,8 @@ function kr(e) {
4076
4076
  t.date.length,
4077
4077
  e.length
4078
4078
  ))), n) {
4079
- const i = Ge.timezone.exec(n);
4080
- i ? (t.time = n.replace(i[1], ""), t.timezone = i[1]) : t.time = n;
4079
+ const l = Ge.timezone.exec(n);
4080
+ l ? (t.time = n.replace(l[1], ""), t.timezone = l[1]) : t.time = n;
4081
4081
  }
4082
4082
  return t;
4083
4083
  }
@@ -4086,9 +4086,9 @@ function Qr(e, t) {
4086
4086
  "^(?:(\\d{4}|[+-]\\d{" + (4 + t) + "})|(\\d{2}|[+-]\\d{" + (2 + t) + "})$)"
4087
4087
  ), n = e.match(a);
4088
4088
  if (!n) return { year: NaN, restDateString: "" };
4089
- const i = n[1] ? parseInt(n[1]) : null, l = n[2] ? parseInt(n[2]) : null;
4089
+ const l = n[1] ? parseInt(n[1]) : null, i = n[2] ? parseInt(n[2]) : null;
4090
4090
  return {
4091
- year: l === null ? i : l * 100,
4091
+ year: i === null ? l : i * 100,
4092
4092
  restDateString: e.slice((n[1] || n[2]).length)
4093
4093
  };
4094
4094
  }
@@ -4096,12 +4096,12 @@ function jr(e, t) {
4096
4096
  if (t === null) return /* @__PURE__ */ new Date(NaN);
4097
4097
  const a = e.match(xr);
4098
4098
  if (!a) return /* @__PURE__ */ new Date(NaN);
4099
- const n = !!a[4], i = Ve(a[1]), l = Ve(a[2]) - 1, o = Ve(a[3]), s = Ve(a[4]), c = Ve(a[5]) - 1;
4099
+ const n = !!a[4], l = Ve(a[1]), i = Ve(a[2]) - 1, o = Ve(a[3]), s = Ve(a[4]), c = Ve(a[5]) - 1;
4100
4100
  if (n)
4101
4101
  return Hr(t, s, c) ? Pr(t, s, c) : /* @__PURE__ */ new Date(NaN);
4102
4102
  {
4103
4103
  const A = /* @__PURE__ */ new Date(0);
4104
- return !Ur(t, l, o) || !Vr(t, i) ? /* @__PURE__ */ new Date(NaN) : (A.setUTCFullYear(t, l, Math.max(i, o)), A);
4104
+ return !Ur(t, i, o) || !Vr(t, l) ? /* @__PURE__ */ new Date(NaN) : (A.setUTCFullYear(t, i, Math.max(l, o)), A);
4105
4105
  }
4106
4106
  }
4107
4107
  function Ve(e) {
@@ -4110,8 +4110,8 @@ function Ve(e) {
4110
4110
  function zr(e) {
4111
4111
  const t = e.match(Sr);
4112
4112
  if (!t) return NaN;
4113
- const a = gt(t[1]), n = gt(t[2]), i = gt(t[3]);
4114
- return Rr(a, n, i) ? a * Ca + n * ya + i * 1e3 : NaN;
4113
+ const a = gt(t[1]), n = gt(t[2]), l = gt(t[3]);
4114
+ return Rr(a, n, l) ? a * Ca + n * ya + l * 1e3 : NaN;
4115
4115
  }
4116
4116
  function gt(e) {
4117
4117
  return e && parseFloat(e.replace(",", ".")) || 0;
@@ -4120,14 +4120,14 @@ function Br(e) {
4120
4120
  if (e === "Z") return 0;
4121
4121
  const t = e.match(pr);
4122
4122
  if (!t) return 0;
4123
- const a = t[1] === "+" ? -1 : 1, n = parseInt(t[2]), i = t[3] && parseInt(t[3]) || 0;
4124
- return Zr(n, i) ? a * (n * Ca + i * ya) : NaN;
4123
+ const a = t[1] === "+" ? -1 : 1, n = parseInt(t[2]), l = t[3] && parseInt(t[3]) || 0;
4124
+ return Zr(n, l) ? a * (n * Ca + l * ya) : NaN;
4125
4125
  }
4126
4126
  function Pr(e, t, a) {
4127
4127
  const n = /* @__PURE__ */ new Date(0);
4128
4128
  n.setUTCFullYear(e, 0, 4);
4129
- const i = n.getUTCDay() || 7, l = (t - 1) * 7 + a + 1 - i;
4130
- return n.setUTCDate(n.getUTCDate() + l), n;
4129
+ const l = n.getUTCDay() || 7, i = (t - 1) * 7 + a + 1 - l;
4130
+ return n.setUTCDate(n.getUTCDate() + i), n;
4131
4131
  }
4132
4132
  const Wr = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
4133
4133
  function Da(e) {
@@ -4177,8 +4177,8 @@ function qr(e, t, a) {
4177
4177
  if (a)
4178
4178
  try {
4179
4179
  if (e === "week") {
4180
- const i = Ie(n, a), l = Ie(new Date(n.getTime() + 8640 * 60 * 1e3), a);
4181
- return `${i} - ${l}`;
4180
+ const l = Ie(n, a), i = Ie(new Date(n.getTime() + 8640 * 60 * 1e3), a);
4181
+ return `${l} - ${i}`;
4182
4182
  }
4183
4183
  return Ie(n, a);
4184
4184
  } catch {
@@ -4194,8 +4194,8 @@ function qr(e, t, a) {
4194
4194
  case "time":
4195
4195
  return Ie(n, "p");
4196
4196
  case "week": {
4197
- const i = Ie(n, "dd/MM/yyyy"), l = Ie(new Date(n.getTime() + 8640 * 60 * 1e3), "dd/MM/yyyy");
4198
- return `${i} - ${l}`;
4197
+ const l = Ie(n, "dd/MM/yyyy"), i = Ie(new Date(n.getTime() + 8640 * 60 * 1e3), "dd/MM/yyyy");
4198
+ return `${l} - ${i}`;
4199
4199
  }
4200
4200
  }
4201
4201
  }
@@ -4280,7 +4280,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4280
4280
  v06bb4d18: r(v),
4281
4281
  v84123d6e: D.textareaMinHeight
4282
4282
  }));
4283
- const n = a, i = Xa(), l = g(() => e.id ?? `input-${crypto.randomUUID()}`), o = g(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), s = g(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), c = g(() => !!e.errorMessage), A = z(null), u = () => {
4283
+ const n = a, l = Xa(), i = g(() => e.id ?? `input-${crypto.randomUUID()}`), o = g(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), s = g(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), c = g(() => !!e.errorMessage), A = z(null), u = () => {
4284
4284
  var D;
4285
4285
  return (D = A.value) == null ? void 0 : D.focus();
4286
4286
  };
@@ -4296,7 +4296,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4296
4296
  "av-input__input--error": c.value,
4297
4297
  "av-input__input--valid": e.isValid
4298
4298
  })), T = g(() => ({
4299
- ...i,
4299
+ ...l,
4300
4300
  disabled: e.disabled,
4301
4301
  maxlength: e.maxlength,
4302
4302
  minlength: e.minlength,
@@ -4327,7 +4327,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4327
4327
  ])) : w("", !0),
4328
4328
  C("label", {
4329
4329
  class: Q(r(m)),
4330
- for: r(l)
4330
+ for: r(i)
4331
4331
  }, [
4332
4332
  C("span", {
4333
4333
  class: Q(e.labelClass)
@@ -4340,7 +4340,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4340
4340
  ], 2)
4341
4341
  ], 10, _r),
4342
4342
  (d(), S(he(r(I)), _(r(T), {
4343
- id: r(l),
4343
+ id: r(i),
4344
4344
  ref_key: "__input",
4345
4345
  ref: A,
4346
4346
  class: {
@@ -4384,11 +4384,12 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4384
4384
  ], 2);
4385
4385
  };
4386
4386
  }
4387
- }), qe = /* @__PURE__ */ P(no, [["__scopeId", "data-v-004301ff"]]), io = ["for"], lo = /* @__PURE__ */ p({
4387
+ }), qe = /* @__PURE__ */ P(no, [["__scopeId", "data-v-004301ff"]]), lo = ["for"], io = /* @__PURE__ */ p({
4388
4388
  __name: "AvPeriodInput",
4389
4389
  props: {
4390
4390
  id: {},
4391
4391
  label: {},
4392
+ labelClass: { default: "b2-light" },
4392
4393
  startModelValue: { default: "" },
4393
4394
  endModelValue: { default: "" },
4394
4395
  startLabel: {},
@@ -4404,7 +4405,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4404
4405
  },
4405
4406
  emits: ["update:startModelValue", "update:endModelValue", "change"],
4406
4407
  setup(e, { emit: t }) {
4407
- const a = t, n = g(() => e.id ?? `period-input-${crypto.randomUUID()}`), i = g(() => `${n.value}__start`), l = g(() => `${n.value}__end`), o = g(() => e.stacked ? { height: e.separatorSpacing } : { width: e.separatorSpacing });
4408
+ const a = t, n = g(() => e.id ?? `period-input-${crypto.randomUUID()}`), l = g(() => `${n.value}__start`), i = g(() => `${n.value}__end`), o = g(() => e.stacked ? { height: e.separatorSpacing } : { width: e.separatorSpacing });
4408
4409
  function s(D) {
4409
4410
  if (!D)
4410
4411
  return;
@@ -4412,10 +4413,10 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4412
4413
  return At(M) ? M : void 0;
4413
4414
  }
4414
4415
  function c(D, M) {
4415
- return D && M ? wl([D, M]) : D ?? M;
4416
+ return D && M ? wi([D, M]) : D ?? M;
4416
4417
  }
4417
4418
  function A(D, M) {
4418
- return D && M ? Ol([D, M]) : D ?? M;
4419
+ return D && M ? Oi([D, M]) : D ?? M;
4419
4420
  }
4420
4421
  const u = g(() => s(e.startModelValue)), f = g(() => s(e.endModelValue)), I = g(() => e.startMinDate), m = g(() => A(e.startMaxDate, f.value)), v = g(() => c(e.endMinDate, u.value)), h = g(() => e.endMaxDate);
4421
4422
  function T(D) {
@@ -4427,12 +4428,13 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4427
4428
  a("update:endModelValue", M), a("change", { start: e.startModelValue, end: M });
4428
4429
  }
4429
4430
  return (D, M) => (d(), b("div", {
4430
- class: Q(["av-period-input av-col av-gap-sm", { "av-period-input--stacked": e.stacked }])
4431
+ class: Q(["av-period-input av-col av-gap-xxs", { "av-period-input--stacked": e.stacked }])
4431
4432
  }, [
4432
4433
  C("label", {
4433
- class: "av-period-input__label",
4434
- for: r(i)
4435
- }, W(e.label), 9, io),
4434
+ class: Q(e.labelClass),
4435
+ for: r(l),
4436
+ "data-testid": "common-label"
4437
+ }, W(e.label), 11, lo),
4436
4438
  C("div", {
4437
4439
  class: Q(["av-period-input__row", {
4438
4440
  "av-row av-align-end": !e.stacked,
@@ -4440,7 +4442,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4440
4442
  }])
4441
4443
  }, [
4442
4444
  V(qe, {
4443
- id: r(i),
4445
+ id: r(l),
4444
4446
  type: "date",
4445
4447
  "model-value": e.startModelValue,
4446
4448
  label: e.startLabel,
@@ -4459,7 +4461,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4459
4461
  style: Ae(r(o))
4460
4462
  }, null, 4),
4461
4463
  V(qe, {
4462
- id: r(l),
4464
+ id: r(i),
4463
4465
  type: "date",
4464
4466
  "model-value": e.endModelValue,
4465
4467
  label: e.endLabel,
@@ -4475,7 +4477,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4475
4477
  ], 2)
4476
4478
  ], 2));
4477
4479
  }
4478
- }), FA = /* @__PURE__ */ P(lo, [["__scopeId", "data-v-2eeee759"]]), ro = {
4480
+ }), FA = /* @__PURE__ */ P(io, [["__scopeId", "data-v-37655fcc"]]), ro = {
4479
4481
  class: "av-search-bar",
4480
4482
  role: "search"
4481
4483
  }, oo = /* @__PURE__ */ p({
@@ -4490,7 +4492,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4490
4492
  emits: ["update:modelValue", "search"],
4491
4493
  setup(e, { emit: t }) {
4492
4494
  const a = t, n = g(() => e.id ?? `search-bar-${crypto.randomUUID()}`);
4493
- return (i, l) => {
4495
+ return (l, i) => {
4494
4496
  const o = qe, s = re;
4495
4497
  return d(), b("div", ro, [
4496
4498
  C("div", null, [
@@ -4504,8 +4506,8 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4504
4506
  disabled: e.disabled,
4505
4507
  "aria-disabled": e.disabled,
4506
4508
  "label-visible": !1,
4507
- "onUpdate:modelValue": l[0] || (l[0] = (c) => a("update:modelValue", (c == null ? void 0 : c.toString()) ?? "")),
4508
- onKeydown: l[1] || (l[1] = ue((c) => a("search", e.modelValue), ["enter"]))
4509
+ "onUpdate:modelValue": i[0] || (i[0] = (c) => a("update:modelValue", (c == null ? void 0 : c.toString()) ?? "")),
4510
+ onKeydown: i[1] || (i[1] = ue((c) => a("search", e.modelValue), ["enter"]))
4509
4511
  }, null, 8, ["id", "placeholder", "model-value", "label", "disabled", "aria-disabled"])
4510
4512
  ]),
4511
4513
  V(s, {
@@ -4516,7 +4518,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4516
4518
  icon: r(H).MAGNIFY,
4517
4519
  disabled: e.disabled,
4518
4520
  "aria-disabled": e.disabled,
4519
- onClick: l[2] || (l[2] = (c) => a("search", e.modelValue))
4521
+ onClick: i[2] || (i[2] = (c) => a("search", e.modelValue))
4520
4522
  }, null, 8, ["label", "icon", "disabled", "aria-disabled"])
4521
4523
  ]);
4522
4524
  };
@@ -4537,21 +4539,21 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4537
4539
  role: { default: "list" }
4538
4540
  },
4539
4541
  setup(e) {
4540
- oe((i) => ({
4541
- befe11a4: i.backgroundColor,
4542
- v6be6fbb6: i.borderRadius,
4543
- v2530b52c: i.padding,
4544
- fcd2c920: i.borderColor
4542
+ oe((l) => ({
4543
+ befe11a4: l.backgroundColor,
4544
+ v6be6fbb6: l.borderRadius,
4545
+ v2530b52c: l.padding,
4546
+ fcd2c920: l.borderColor
4545
4547
  }));
4546
4548
  const t = g(() => `av-list--${e.size}`), a = g(() => e.bordered ? "av-list--bordered" : ""), n = g(() => e.divided ? "av-list--divided" : "");
4547
- return (i, l) => (d(), b("div", {
4549
+ return (l, i) => (d(), b("div", {
4548
4550
  class: Q(["av-list av-col av-gap-xxxs", [r(t), r(a), r(n)]]),
4549
4551
  role: e.role,
4550
4552
  "aria-label": e.ariaLabel,
4551
4553
  "aria-labelledby": e.ariaLabelledby,
4552
4554
  "aria-describedby": e.ariaDescribedby
4553
4555
  }, [
4554
- U(i.$slots, "default", {}, void 0, !0)
4556
+ U(l.$slots, "default", {}, void 0, !0)
4555
4557
  ], 10, so));
4556
4558
  }
4557
4559
  }), La = /* @__PURE__ */ P(co, [["__scopeId", "data-v-2d433bb3"]]), Ao = ["role"], uo = {
@@ -4594,14 +4596,14 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4594
4596
  v6245e036: I.descriptionColor,
4595
4597
  v5b7a7de8: I.hoverBackgroundColor
4596
4598
  }));
4597
- const t = me(), a = g(() => e.href || e.target || e.rel ? "a" : e.onClick ? "button" : "div"), n = g(() => a.value === "a"), i = g(() => a.value === "button"), l = g(() => n.value || i.value), o = g(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0), s = g(() => l.value ? "av-list-item--clickable" : ""), c = g(() => e.disabled && i.value ? "av-list-item--disabled" : ""), A = g(() => e.selected ? "av-list-item--selected" : "");
4599
+ const t = me(), a = g(() => e.href || e.target || e.rel ? "a" : e.onClick ? "button" : "div"), n = g(() => a.value === "a"), l = g(() => a.value === "button"), i = g(() => n.value || l.value), o = g(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0), s = g(() => i.value ? "av-list-item--clickable" : ""), c = g(() => e.disabled && l.value ? "av-list-item--disabled" : ""), A = g(() => e.selected ? "av-list-item--selected" : "");
4598
4600
  function u(I) {
4599
4601
  var m;
4600
- !l.value || e.disabled || (m = e.onClick) == null || m.call(e, I);
4602
+ !i.value || e.disabled || (m = e.onClick) == null || m.call(e, I);
4601
4603
  }
4602
4604
  function f(I) {
4603
4605
  var m;
4604
- if (!(!l.value || e.disabled) && (I.key === "Enter" || I.key === " ")) {
4606
+ if (!(!i.value || e.disabled) && (I.key === "Enter" || I.key === " ")) {
4605
4607
  I.preventDefault();
4606
4608
  const v = new MouseEvent("click", {
4607
4609
  bubbles: !0,
@@ -4612,12 +4614,12 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4612
4614
  }
4613
4615
  return (I, m) => (d(), b("div", { role: e.role }, [
4614
4616
  (d(), S(he(r(a)), {
4615
- "aria-label": r(l) ? r(o) : void 0,
4617
+ "aria-label": r(i) ? r(o) : void 0,
4616
4618
  "aria-describedby": e.ariaDescribedby,
4617
- "aria-disabled": e.disabled && r(i) ? "true" : void 0,
4618
- tabindex: r(l) && !e.disabled ? 0 : void 0,
4619
+ "aria-disabled": e.disabled && r(l) ? "true" : void 0,
4620
+ tabindex: r(i) && !e.disabled ? 0 : void 0,
4619
4621
  class: Q(["av-list-item av-row av-align-center av-gap-xs av-w-full", [r(s), r(c), r(A)]]),
4620
- disabled: e.disabled && r(i) ? !0 : void 0,
4622
+ disabled: e.disabled && r(l) ? !0 : void 0,
4621
4623
  href: r(n) ? e.href : void 0,
4622
4624
  target: r(n) ? e.target : void 0,
4623
4625
  rel: r(n) ? e.rel : void 0,
@@ -4662,15 +4664,15 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4662
4664
  const t = e, {
4663
4665
  label: a,
4664
4666
  labelColor: n,
4665
- labelTypographyClass: i,
4666
- selected: l,
4667
+ labelTypographyClass: l,
4668
+ selected: i,
4667
4669
  multiple: o,
4668
4670
  handleSelectChange: s
4669
4671
  } = t, c = g(() => gn(t.options));
4670
4672
  function A(h) {
4671
4673
  return h ? Array.isArray(h) ? h : [h] : [];
4672
4674
  }
4673
- const u = z(A(l));
4675
+ const u = z(A(i));
4674
4676
  function f(h) {
4675
4677
  return u.value.some((T) => T.value === h.value);
4676
4678
  }
@@ -4690,9 +4692,9 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
4690
4692
  }, { immediate: !0 }), (h, T) => (d(), b("div", bo, [
4691
4693
  r(a) ? (d(), b("span", {
4692
4694
  key: 0,
4693
- class: Q(["av-select-label av-row av-align-center", [r(i)]])
4695
+ class: Q(["av-select-label av-row av-align-center", [r(l)]])
4694
4696
  }, W(r(a)), 3)) : w("", !0),
4695
- (d(!0), b($, null, le(r(c), (E) => (d(), b("div", {
4697
+ (d(!0), b($, null, ie(r(c), (E) => (d(), b("div", {
4696
4698
  key: E.value,
4697
4699
  class: "tag-wrapper"
4698
4700
  }, [
@@ -4733,7 +4735,7 @@ const KA = [
4733
4735
  label: e.pageSizeSelected.toString(),
4734
4736
  value: e.pageSizeSelected.toString()
4735
4737
  }));
4736
- return (n, i) => (d(), b("div", Co, [
4738
+ return (n, l) => (d(), b("div", Co, [
4737
4739
  V(yo, {
4738
4740
  options: r(t),
4739
4741
  selected: r(a),
@@ -4769,8 +4771,8 @@ const KA = [
4769
4771
  emits: ["update:modelValue"],
4770
4772
  setup(e, { emit: t }) {
4771
4773
  const a = t, n = z(`av-radio-button-${crypto.randomUUID()}`);
4772
- return (i, l) => {
4773
- const o = la;
4774
+ return (l, i) => {
4775
+ const o = ia;
4774
4776
  return d(), S(o, {
4775
4777
  inline: e.inline,
4776
4778
  disabled: e.disabled
@@ -4788,14 +4790,14 @@ const KA = [
4788
4790
  value: e.value,
4789
4791
  checked: e.modelValue === e.value,
4790
4792
  disabled: e.disabled
4791
- }, i.$attrs, {
4792
- onClick: l[0] || (l[0] = (s) => a("update:modelValue", e.value))
4793
+ }, l.$attrs, {
4794
+ onClick: i[0] || (i[0] = (s) => a("update:modelValue", e.value))
4793
4795
  }), null, 16, Eo),
4794
4796
  C("label", {
4795
4797
  for: r(n),
4796
4798
  class: "av-label"
4797
4799
  }, [
4798
- U(i.$slots, "default", {}, void 0, !0)
4800
+ U(l.$slots, "default", {}, void 0, !0)
4799
4801
  ], 8, No)
4800
4802
  ], 2)
4801
4803
  ]),
@@ -4820,11 +4822,11 @@ const KA = [
4820
4822
  },
4821
4823
  emits: ["update:modelValue"],
4822
4824
  setup(e, { expose: t, emit: a }) {
4823
- const n = a, i = g(() => e.id ?? `radio-button-set-${crypto.randomUUID()}`), l = g(() => e.errorMessage || e.validMessage);
4825
+ const n = a, l = g(() => e.id ?? `radio-button-set-${crypto.randomUUID()}`), i = g(() => e.errorMessage || e.validMessage);
4824
4826
  function o(m) {
4825
4827
  m !== e.modelValue && n("update:modelValue", m);
4826
4828
  }
4827
- const s = g(() => l.value ? `messages-${i.value}` : void 0), c = me();
4829
+ const s = g(() => i.value ? `messages-${l.value}` : void 0), c = me();
4828
4830
  function A(m) {
4829
4831
  return m != null && typeof m == "object" && "type" in m && m.type === Mo;
4830
4832
  }
@@ -4840,14 +4842,14 @@ const KA = [
4840
4842
  }), se(I, (m) => {
4841
4843
  m && n("update:modelValue", m);
4842
4844
  }), t({ selected: I }), (m, v) => {
4843
- const h = ia;
4845
+ const h = la;
4844
4846
  return d(), S(h, {
4845
- id: r(i),
4847
+ id: r(l),
4846
4848
  legend: e.legend,
4847
4849
  hint: e.hint,
4848
4850
  required: e.required,
4849
4851
  disabled: e.disabled,
4850
- "aria-labelledby": r(i),
4852
+ "aria-labelledby": r(l),
4851
4853
  "aria-describedby": r(s),
4852
4854
  role: e.errorMessage || e.validMessage ? "group" : void 0,
4853
4855
  "error-message": e.errorMessage,
@@ -4855,7 +4857,7 @@ const KA = [
4855
4857
  inline: e.inline
4856
4858
  }, {
4857
4859
  default: K(() => [
4858
- (d(!0), b($, null, le(r(f), (T, E) => {
4860
+ (d(!0), b($, null, ie(r(f), (T, E) => {
4859
4861
  var D, M;
4860
4862
  return d(), S(Do, {
4861
4863
  key: E,
@@ -4888,12 +4890,12 @@ const KA = [
4888
4890
  var pe = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(pe || {});
4889
4891
  const xa = Symbol("AvAutocompleteContext");
4890
4892
  function xt() {
4891
- const e = lt(xa);
4893
+ const e = it(xa);
4892
4894
  if (!e)
4893
4895
  throw new Error("useAutocompleteContext must be used within AvAutocomplete component");
4894
4896
  return e;
4895
4897
  }
4896
- var Lo = typeof global == "object" && global && global.Object === Object && global, wo = typeof self == "object" && self && self.Object === Object && self, Sa = Lo || wo || Function("return this")(), it = Sa.Symbol, pa = Object.prototype, Oo = pa.hasOwnProperty, xo = pa.toString, He = it ? it.toStringTag : void 0;
4898
+ var Lo = typeof global == "object" && global && global.Object === Object && global, wo = typeof self == "object" && self && self.Object === Object && self, Sa = Lo || wo || Function("return this")(), lt = Sa.Symbol, pa = Object.prototype, Oo = pa.hasOwnProperty, xo = pa.toString, He = lt ? lt.toStringTag : void 0;
4897
4899
  function So(e) {
4898
4900
  var t = Oo.call(e, He), a = e[He];
4899
4901
  try {
@@ -4901,14 +4903,14 @@ function So(e) {
4901
4903
  var n = !0;
4902
4904
  } catch {
4903
4905
  }
4904
- var i = xo.call(e);
4905
- return n && (t ? e[He] = a : delete e[He]), i;
4906
+ var l = xo.call(e);
4907
+ return n && (t ? e[He] = a : delete e[He]), l;
4906
4908
  }
4907
4909
  var po = Object.prototype, ko = po.toString;
4908
4910
  function Qo(e) {
4909
4911
  return ko.call(e);
4910
4912
  }
4911
- var jo = "[object Null]", zo = "[object Undefined]", Ft = it ? it.toStringTag : void 0;
4913
+ var jo = "[object Null]", zo = "[object Undefined]", Ft = lt ? lt.toStringTag : void 0;
4912
4914
  function Bo(e) {
4913
4915
  return e == null ? e === void 0 ? zo : jo : Ft && Ft in Object(e) ? So(e) : Qo(e);
4914
4916
  }
@@ -4953,24 +4955,24 @@ var It = function() {
4953
4955
  return Sa.Date.now();
4954
4956
  }, Ko = "Expected a function", Go = Math.max, Jo = Math.min;
4955
4957
  function ka(e, t, a) {
4956
- var n, i, l, o, s, c, A = 0, u = !1, f = !1, I = !0;
4958
+ var n, l, i, o, s, c, A = 0, u = !1, f = !1, I = !0;
4957
4959
  if (typeof e != "function")
4958
4960
  throw new TypeError(Ko);
4959
- t = Gt(t) || 0, Mt(a) && (u = !!a.leading, f = "maxWait" in a, l = f ? Go(Gt(a.maxWait) || 0, t) : l, I = "trailing" in a ? !!a.trailing : I);
4961
+ t = Gt(t) || 0, Mt(a) && (u = !!a.leading, f = "maxWait" in a, i = f ? Go(Gt(a.maxWait) || 0, t) : i, I = "trailing" in a ? !!a.trailing : I);
4960
4962
  function m(Z) {
4961
- var F = n, te = i;
4962
- return n = i = void 0, A = Z, o = e.apply(te, F), o;
4963
+ var F = n, te = l;
4964
+ return n = l = void 0, A = Z, o = e.apply(te, F), o;
4963
4965
  }
4964
4966
  function v(Z) {
4965
4967
  return A = Z, s = setTimeout(E, t), u ? m(Z) : o;
4966
4968
  }
4967
4969
  function h(Z) {
4968
4970
  var F = Z - c, te = Z - A, k = t - F;
4969
- return f ? Jo(k, l - te) : k;
4971
+ return f ? Jo(k, i - te) : k;
4970
4972
  }
4971
4973
  function T(Z) {
4972
4974
  var F = Z - c, te = Z - A;
4973
- return c === void 0 || F >= t || F < 0 || f && te >= l;
4975
+ return c === void 0 || F >= t || F < 0 || f && te >= i;
4974
4976
  }
4975
4977
  function E() {
4976
4978
  var Z = It();
@@ -4979,17 +4981,17 @@ function ka(e, t, a) {
4979
4981
  s = setTimeout(E, h(Z));
4980
4982
  }
4981
4983
  function D(Z) {
4982
- return s = void 0, I && n ? m(Z) : (n = i = void 0, o);
4984
+ return s = void 0, I && n ? m(Z) : (n = l = void 0, o);
4983
4985
  }
4984
4986
  function M() {
4985
- s !== void 0 && clearTimeout(s), A = 0, n = c = i = s = void 0;
4987
+ s !== void 0 && clearTimeout(s), A = 0, n = c = l = s = void 0;
4986
4988
  }
4987
4989
  function L() {
4988
4990
  return s === void 0 ? o : D(It());
4989
4991
  }
4990
4992
  function B() {
4991
4993
  var Z = It(), F = T(Z);
4992
- if (n = arguments, i = this, c = Z, F) {
4994
+ if (n = arguments, l = this, c = Z, F) {
4993
4995
  if (s === void 0)
4994
4996
  return v(c);
4995
4997
  if (f)
@@ -5012,8 +5014,8 @@ const $o = {
5012
5014
  __name: "AvAutocompleteDropdown",
5013
5015
  emits: ["loadMore"],
5014
5016
  setup(e, { expose: t, emit: a }) {
5015
- const n = a, i = me(), {
5016
- selectedItems: l,
5017
+ const n = a, l = me(), {
5018
+ selectedItems: i,
5017
5019
  searchQuery: o,
5018
5020
  isOpen: s,
5019
5021
  props: c,
@@ -5033,23 +5035,23 @@ const $o = {
5033
5035
  return c.filterOptions ? L = c.filterOptions(c.options, M) : L = c.options.filter((B) => u(B).toLowerCase().includes(M)), c.maxResults ? L.slice(0, c.maxResults) : L;
5034
5036
  }), v = g(() => c.loading ? pe.LOADING : s.value && c.options && c.options.length > 0 && m.value.length > 0 ? pe.HAS_OPTIONS : pe.NO_OPTIONS);
5035
5037
  function h(M) {
5036
- return l.value.some(
5038
+ return i.value.some(
5037
5039
  (L) => A(L) === A(M)
5038
5040
  );
5039
5041
  }
5040
5042
  function T(M) {
5041
5043
  if (!c.multiSelect) {
5042
- l.value = [M], s.value = !1, o.value = "";
5044
+ i.value = [M], s.value = !1, o.value = "";
5043
5045
  return;
5044
5046
  }
5045
- const L = l.value, B = A(M);
5047
+ const L = i.value, B = A(M);
5046
5048
  L.some(
5047
5049
  (F) => A(F) === B
5048
- ) ? l.value = L.filter(
5050
+ ) ? i.value = L.filter(
5049
5051
  (F) => A(F) !== B
5050
- ) : l.value = [...L, M];
5052
+ ) : i.value = [...L, M];
5051
5053
  }
5052
- const { arrivedState: E } = Ri(I, {
5054
+ const { arrivedState: E } = Rl(I, {
5053
5055
  throttle: 100
5054
5056
  }), D = ka(() => {
5055
5057
  n("loadMore");
@@ -5075,7 +5077,7 @@ const $o = {
5075
5077
  }, null, 8, ["name"]),
5076
5078
  L[0] || (L[0] = C("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
5077
5079
  ])) : r(v) === r(pe).NO_OPTIONS ? (d(), b("div", _o, [
5078
- i.empty ? U(M.$slots, "empty", { key: 0 }, void 0, !0) : (d(), b("div", es, " No results found "))
5080
+ l.empty ? U(M.$slots, "empty", { key: 0 }, void 0, !0) : (d(), b("div", es, " No results found "))
5079
5081
  ])) : (d(), S(La, _({
5080
5082
  key: 2,
5081
5083
  ref_key: "listRef",
@@ -5084,10 +5086,10 @@ const $o = {
5084
5086
  class: ["av-autocomplete-dropdown__options", r(c).scrollbarClass]
5085
5087
  }), {
5086
5088
  default: K(() => [
5087
- (d(!0), b($, null, le(r(m), (B) => (d(), b($, {
5089
+ (d(!0), b($, null, ie(r(m), (B) => (d(), b($, {
5088
5090
  key: r(A)(B)
5089
5091
  }, [
5090
- i.item ? U(M.$slots, "item", {
5092
+ l.item ? U(M.$slots, "item", {
5091
5093
  key: 0,
5092
5094
  option: B,
5093
5095
  isSelected: h(B),
@@ -5107,22 +5109,22 @@ const $o = {
5107
5109
  }, 16, ["class"]))
5108
5110
  ], 6)) : w("", !0);
5109
5111
  }
5110
- }), as = /* @__PURE__ */ P(ts, [["__scopeId", "data-v-c0c74316"]]), ns = { class: "av-autocomplete-input" }, is = {
5112
+ }), as = /* @__PURE__ */ P(ts, [["__scopeId", "data-v-c0c74316"]]), ns = { class: "av-autocomplete-input" }, ls = {
5111
5113
  key: 0,
5112
5114
  class: "av-autocomplete-input__suffix"
5113
- }, ls = /* @__PURE__ */ p({
5115
+ }, is = /* @__PURE__ */ p({
5114
5116
  __name: "AvAutocompleteInput",
5115
5117
  emits: ["search", "clear"],
5116
5118
  setup(e, { expose: t, emit: a }) {
5117
- const n = a, i = me(), {
5118
- selectedItems: l,
5119
+ const n = a, l = me(), {
5120
+ selectedItems: i,
5119
5121
  searchQuery: o,
5120
5122
  isOpen: s,
5121
5123
  props: c,
5122
5124
  inputId: A,
5123
5125
  handleBlur: u,
5124
5126
  getDisplayLabel: f
5125
- } = xt(), I = z(), m = g(() => !c.multiSelect && l.value.length > 0 ? f(l.value[0]) : c.multiSelect && l.value.length > 0 ? c.showSelectedSection ? `${l.value.length} element(s) selected` : l.value.map(f).join(", ") : o.value), v = g(() => {
5127
+ } = xt(), I = z(), m = g(() => !c.multiSelect && i.value.length > 0 ? f(i.value[0]) : c.multiSelect && i.value.length > 0 ? c.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(f).join(", ") : o.value), v = g(() => {
5126
5128
  var M;
5127
5129
  return ((M = c.inputOptions) == null ? void 0 : M.placeholder) || "Search...";
5128
5130
  }), h = ka((M) => {
@@ -5135,7 +5137,7 @@ const $o = {
5135
5137
  s.value = !0;
5136
5138
  }
5137
5139
  function D() {
5138
- l.value = [], o.value = "", n("clear");
5140
+ i.value = [], o.value = "", n("clear");
5139
5141
  }
5140
5142
  return ge(() => {
5141
5143
  h.cancel();
@@ -5155,15 +5157,15 @@ const $o = {
5155
5157
  onBlur: r(u),
5156
5158
  onClick: E
5157
5159
  }), Je({ _: 2 }, [
5158
- i.requiredTip ? {
5160
+ l.requiredTip ? {
5159
5161
  name: "requiredTip",
5160
5162
  fn: K(() => [
5161
- (d(), S(he(i.requiredTip)))
5163
+ (d(), S(he(l.requiredTip)))
5162
5164
  ]),
5163
5165
  key: "0"
5164
5166
  } : void 0
5165
5167
  ]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
5166
- r(l).length > 0 ? (d(), b("div", is, [
5168
+ r(i).length > 0 ? (d(), b("div", ls, [
5167
5169
  V(re, {
5168
5170
  label: "Clear selected items",
5169
5171
  icon: r(H).CLOSE_CIRCLE_OUTLINE,
@@ -5176,7 +5178,7 @@ const $o = {
5176
5178
  ])) : w("", !0)
5177
5179
  ]));
5178
5180
  }
5179
- }), rs = /* @__PURE__ */ P(ls, [["__scopeId", "data-v-318a09bc"]]), os = {
5181
+ }), rs = /* @__PURE__ */ P(is, [["__scopeId", "data-v-318a09bc"]]), os = {
5180
5182
  key: 0,
5181
5183
  class: "av-autocomplete-selected-tags"
5182
5184
  }, ss = /* @__PURE__ */ p({
@@ -5185,18 +5187,18 @@ const $o = {
5185
5187
  const t = me(), {
5186
5188
  selectedItems: a,
5187
5189
  props: n,
5188
- getOptionId: i,
5189
- getDisplayLabel: l
5190
+ getOptionId: l,
5191
+ getDisplayLabel: i
5190
5192
  } = xt();
5191
5193
  function o(s) {
5192
- const c = a.value, A = i(s);
5194
+ const c = a.value, A = l(s);
5193
5195
  a.value = c.filter(
5194
- (u) => i(u) !== A
5196
+ (u) => l(u) !== A
5195
5197
  );
5196
5198
  }
5197
5199
  return (s, c) => r(n).multiSelect && r(a).length > 0 && r(n).showSelectedSection ? (d(), b("div", os, [
5198
- (d(!0), b($, null, le(r(a), (A) => (d(), b("div", {
5199
- key: r(i)(A),
5200
+ (d(!0), b($, null, ie(r(a), (A) => (d(), b("div", {
5201
+ key: r(l)(A),
5200
5202
  class: "av-autocomplete-selected-tags__item"
5201
5203
  }, [
5202
5204
  t.selectedItem ? U(s.$slots, "selectedItem", {
@@ -5205,7 +5207,7 @@ const $o = {
5205
5207
  remove: () => o(A)
5206
5208
  }, void 0, !0) : (d(), S(re, {
5207
5209
  key: 1,
5208
- label: r(l)(A),
5210
+ label: r(i)(A),
5209
5211
  icon: r(H).CLOSE_CIRCLE_OUTLINE,
5210
5212
  "icon-right": "",
5211
5213
  size: "sm",
@@ -5248,7 +5250,7 @@ const $o = {
5248
5250
  }),
5249
5251
  emits: /* @__PURE__ */ ye(["search", "loadMore", "clear"], ["update:modelValue"]),
5250
5252
  setup(e, { emit: t }) {
5251
- const a = e, n = t, i = me(), l = we(e, "modelValue"), o = z(!1), s = z(""), c = z(), A = z(), u = z(), f = g(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
5253
+ const a = e, n = t, l = me(), i = we(e, "modelValue"), o = z(!1), s = z(""), c = z(), A = z(), u = z(), f = g(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
5252
5254
  function I(D) {
5253
5255
  s.value = D, n("search", D);
5254
5256
  }
@@ -5265,7 +5267,7 @@ const $o = {
5265
5267
  return a.getOptionLabel ? a.getOptionLabel(D) : D.label;
5266
5268
  }
5267
5269
  Nt(xa, {
5268
- selectedItems: l,
5270
+ selectedItems: i,
5269
5271
  searchQuery: s,
5270
5272
  isOpen: o,
5271
5273
  props: a,
@@ -5295,10 +5297,10 @@ const $o = {
5295
5297
  onSearch: I,
5296
5298
  onClear: M[0] || (M[0] = (L) => n("clear"))
5297
5299
  }, Je({ _: 2 }, [
5298
- i.requiredTip ? {
5300
+ l.requiredTip ? {
5299
5301
  name: "requiredTip",
5300
5302
  fn: K(() => [
5301
- (d(), S(he(i.requiredTip)))
5303
+ (d(), S(he(l.requiredTip)))
5302
5304
  ]),
5303
5305
  key: "0"
5304
5306
  } : void 0
@@ -5308,7 +5310,7 @@ const $o = {
5308
5310
  ref: u,
5309
5311
  onLoadMore: M[1] || (M[1] = (L) => n("loadMore"))
5310
5312
  }, Je({ _: 2 }, [
5311
- i.item ? {
5313
+ l.item ? {
5312
5314
  name: "item",
5313
5315
  fn: K(({ option: L, isSelected: B, toggle: Z }) => [
5314
5316
  U(D.$slots, "item", {
@@ -5319,7 +5321,7 @@ const $o = {
5319
5321
  ]),
5320
5322
  key: "0"
5321
5323
  } : void 0,
5322
- i.empty ? {
5324
+ l.empty ? {
5323
5325
  name: "empty",
5324
5326
  fn: K(() => [
5325
5327
  U(D.$slots, "empty", {}, void 0, !0)
@@ -5329,7 +5331,7 @@ const $o = {
5329
5331
  ]), 1536)
5330
5332
  ], 512),
5331
5333
  V(cs, null, Je({ _: 2 }, [
5332
- i.selectedItem ? {
5334
+ l.selectedItem ? {
5333
5335
  name: "selectedItem",
5334
5336
  fn: K(({ option: L, remove: B }) => [
5335
5337
  U(D.$slots, "selectedItem", {
@@ -5369,7 +5371,7 @@ const $o = {
5369
5371
  function n(R, O) {
5370
5372
  return `${O}-${R.value}`;
5371
5373
  }
5372
- const i = z(null), l = z(!1), o = we(e, "modelValue"), s = z(0), c = [], {
5374
+ const l = z(null), i = z(!1), o = we(e, "modelValue"), s = z(0), c = [], {
5373
5375
  collapse: A,
5374
5376
  collapsing: u,
5375
5377
  cssExpanded: f,
@@ -5385,7 +5387,7 @@ const $o = {
5385
5387
  function T(R) {
5386
5388
  var j, y;
5387
5389
  const O = R.target;
5388
- !((j = i.value) != null && j.$el.contains(O)) && !((y = A.value) != null && y.contains(O)) && a("close");
5390
+ !((j = l.value) != null && j.$el.contains(O)) && !((y = A.value) != null && y.contains(O)) && a("close");
5389
5391
  }
5390
5392
  function E() {
5391
5393
  for (; c.length; ) {
@@ -5427,12 +5429,12 @@ const $o = {
5427
5429
  }
5428
5430
  function te(R) {
5429
5431
  const O = m(), j = document.activeElement;
5430
- Array.from(O).indexOf(j) + 1 === O.length && i.value && !R.shiftKey && a("close");
5432
+ Array.from(O).indexOf(j) + 1 === O.length && l.value && !R.shiftKey && a("close");
5431
5433
  }
5432
5434
  function k(R) {
5433
5435
  var j;
5434
5436
  const O = document.activeElement;
5435
- R.shiftKey && O === ((j = i.value) == null ? void 0 : j.$el) && a("close");
5437
+ R.shiftKey && O === ((j = l.value) == null ? void 0 : j.$el) && a("close");
5436
5438
  }
5437
5439
  return ge(() => {
5438
5440
  E();
@@ -5447,7 +5449,7 @@ const $o = {
5447
5449
  "--width-host": `${r(s)}px`
5448
5450
  }),
5449
5451
  class: Q(["av-multiselect__collapse av-collapse av-p-xs av-ml-xxs", { "av-collapse--expanded": r(f), "av-collapsing": r(u) }]),
5450
- onTransitionend: O[2] || (O[2] = (N) => r(I)(r(l)))
5452
+ onTransitionend: O[2] || (O[2] = (N) => r(I)(r(i)))
5451
5453
  }, [
5452
5454
  C("p", {
5453
5455
  id: `${e.id}-text-hint`,
@@ -5483,14 +5485,14 @@ const $o = {
5483
5485
  ]
5484
5486
  }, null, 8, ["modelValue", "aria-describedby", "aria-controls", "prefix-icon"])
5485
5487
  ])) : w("", !0),
5486
- V(cl, {
5488
+ V(ci, {
5487
5489
  id: `${e.id}-checkboxes`,
5488
5490
  class: "av-multiselect__collapse__fieldset",
5489
5491
  legend: e.legend,
5490
5492
  "legend-id": `${e.id}-checkboxes-legend`
5491
5493
  }, {
5492
5494
  default: K(() => [
5493
- (d(!0), b($, null, le(r(D), (N) => (d(), S(sl, {
5495
+ (d(!0), b($, null, ie(r(D), (N) => (d(), S(si, {
5494
5496
  id: `${n(N, e.id)}-checkbox`,
5495
5497
  key: `${n(N, e.id)}-fieldset`,
5496
5498
  modelValue: o.value,
@@ -5550,7 +5552,7 @@ const $o = {
5550
5552
  v2d665760: O.width,
5551
5553
  v65959acd: O.height
5552
5554
  }));
5553
- const a = t, n = g(() => e.id ?? `multi-select-${crypto.randomUUID()}`), i = z(null), l = z(!1), o = g(() => e.errorMessage || e.successMessage), s = g(() => e.errorMessage ? "error" : "success"), {
5555
+ const a = t, n = g(() => e.id ?? `multi-select-${crypto.randomUUID()}`), l = z(null), i = z(!1), o = g(() => e.errorMessage || e.successMessage), s = g(() => e.errorMessage ? "error" : "success"), {
5554
5556
  collapse: c,
5555
5557
  collapsing: A,
5556
5558
  cssExpanded: u,
@@ -5576,15 +5578,15 @@ const $o = {
5576
5578
  function D(O) {
5577
5579
  var y, N;
5578
5580
  const j = O.target;
5579
- !((y = i.value) != null && y.$el.contains(j)) && !((N = c.value) != null && N.contains(j)) && L();
5581
+ !((y = l.value) != null && y.$el.contains(j)) && !((N = c.value) != null && N.contains(j)) && L();
5580
5582
  }
5581
5583
  function M() {
5582
- l.value = !0, T.value = !0, document.addEventListener("click", D), document.addEventListener("keydown", E), setTimeout(() => {
5584
+ i.value = !0, T.value = !0, document.addEventListener("click", D), document.addEventListener("keydown", E), setTimeout(() => {
5583
5585
  f(!0);
5584
5586
  }, 100);
5585
5587
  }
5586
5588
  function L() {
5587
- l.value = !1, f(!1), setTimeout(() => {
5589
+ i.value = !1, f(!1), setTimeout(() => {
5588
5590
  T.value = !1;
5589
5591
  }, 300), Z();
5590
5592
  }
@@ -5597,7 +5599,7 @@ const $o = {
5597
5599
  function F(O) {
5598
5600
  var y;
5599
5601
  const j = document.activeElement;
5600
- O.shiftKey && j === ((y = i.value) == null ? void 0 : y.$el) && L();
5602
+ O.shiftKey && j === ((y = l.value) == null ? void 0 : y.$el) && L();
5601
5603
  }
5602
5604
  function te(O) {
5603
5605
  var y;
@@ -5634,19 +5636,19 @@ const $o = {
5634
5636
  V(y, _({
5635
5637
  id: r(n),
5636
5638
  ref_key: "host",
5637
- ref: i,
5639
+ ref: l,
5638
5640
  type: "button",
5639
5641
  variant: "OUTLINED"
5640
5642
  }, O.$attrs, {
5641
5643
  label: r(h),
5642
5644
  class: ["av-multiselect", {
5643
- "av-multiselect--is-open": r(l),
5645
+ "av-multiselect--is-open": r(i),
5644
5646
  "av-multiselect--dense": e.dense,
5645
5647
  "av-multiselect--unselected": e.modelValue.length === 0,
5646
5648
  "av-multiselect--selected": e.modelValue.length > 0
5647
5649
  }],
5648
5650
  disabled: e.disabled,
5649
- "aria-expanded": r(l),
5651
+ "aria-expanded": r(i),
5650
5652
  "aria-controls": `${r(n)}-collapse`,
5651
5653
  small: e.dense,
5652
5654
  style: r(R),
@@ -5701,13 +5703,13 @@ const $o = {
5701
5703
  },
5702
5704
  emits: ["update:modelValue"],
5703
5705
  setup(e, { emit: t }) {
5704
- const a = t, n = g(() => e.id ?? `select-${crypto.randomUUID()}`), i = g(() => {
5706
+ const a = t, n = g(() => e.id ?? `select-${crypto.randomUUID()}`), l = g(() => {
5705
5707
  var A;
5706
5708
  if (!e.modelValue)
5707
5709
  return e.placeholder;
5708
5710
  const c = (A = e.options) == null ? void 0 : A.find((u) => String(u.value) === String(e.modelValue));
5709
5711
  return c ? c.text : e.placeholder;
5710
- }), l = g(() => ({
5712
+ }), i = g(() => ({
5711
5713
  "--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
5712
5714
  })), o = g(() => e.errorMessage || e.successMessage), s = g(() => e.errorMessage ? "error" : "success");
5713
5715
  return (c, A) => {
@@ -5738,9 +5740,9 @@ const $o = {
5738
5740
  "aria-disabled": e.disabled,
5739
5741
  required: e.required,
5740
5742
  "aria-required": e.required,
5741
- title: r(i)
5743
+ title: r(l)
5742
5744
  }, c.$attrs, {
5743
- style: r(l),
5745
+ style: r(i),
5744
5746
  onChange: A[0] || (A[0] = (f) => {
5745
5747
  var I;
5746
5748
  return a("update:modelValue", (I = f.target) == null ? void 0 : I.value);
@@ -5752,7 +5754,7 @@ const $o = {
5752
5754
  value: "",
5753
5755
  hidden: ""
5754
5756
  }, W(e.placeholder), 9, xs),
5755
- (d(!0), b($, null, le(e.options, (f, I) => (d(), b("option", {
5757
+ (d(!0), b($, null, ie(e.options, (f, I) => (d(), b("option", {
5756
5758
  key: I,
5757
5759
  selected: e.modelValue === f.value,
5758
5760
  value: f.value,
@@ -5812,7 +5814,7 @@ const $o = {
5812
5814
  },
5813
5815
  emits: ["click", "next", "previous", "first", "last"],
5814
5816
  setup(e, { emit: t }) {
5815
- const a = t, n = z(null), i = qa("button"), l = g(() => e.isSelected ? "s2-bold" : "s2-regular"), o = {
5817
+ const a = t, n = z(null), l = qa("button"), i = g(() => e.isSelected ? "s2-bold" : "s2-regular"), o = {
5816
5818
  ArrowRight: "next",
5817
5819
  ArrowLeft: "previous",
5818
5820
  Home: "first",
@@ -5838,7 +5840,7 @@ const $o = {
5838
5840
  }
5839
5841
  return se(() => e.isSelected, () => {
5840
5842
  var c;
5841
- e.isSelected && ((c = i.value) == null || c.focus());
5843
+ e.isSelected && ((c = l.value) == null || c.focus());
5842
5844
  }), (c, A) => {
5843
5845
  const u = ne;
5844
5846
  return d(), b("li", {
@@ -5865,7 +5867,7 @@ const $o = {
5865
5867
  size: 2
5866
5868
  }, null, 8, ["name"])) : w("", !0),
5867
5869
  C("span", {
5868
- class: Q(r(l))
5870
+ class: Q(r(i))
5869
5871
  }, W(e.title), 3)
5870
5872
  ], 16, zs)
5871
5873
  ], 2);
@@ -5874,16 +5876,16 @@ const $o = {
5874
5876
  }), Ps = /* @__PURE__ */ P(Bs, [["__scopeId", "data-v-19c21903"]]);
5875
5877
  function Ws(e, t, a) {
5876
5878
  const n = z({ "--tabs-height": "100px" });
5877
- function i() {
5879
+ function l() {
5878
5880
  if (a.value < 0 || !e.value || !e.value.offsetHeight)
5879
5881
  return;
5880
- const l = e.value.offsetHeight, o = t.value[a.value];
5882
+ const i = e.value.offsetHeight, o = t.value[a.value];
5881
5883
  if (!o || !o.offsetHeight)
5882
5884
  return;
5883
5885
  const s = o.offsetHeight;
5884
- n.value["--tabs-height"] = `${l + s}px`;
5886
+ n.value["--tabs-height"] = `${i + s}px`;
5885
5887
  }
5886
- return { tabsStyle: n, updateTabsStyle: i };
5888
+ return { tabsStyle: n, updateTabsStyle: l };
5887
5889
  }
5888
5890
  const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
5889
5891
  __name: "AvTabs",
@@ -5899,11 +5901,11 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
5899
5901
  const t = me(), a = g(() => {
5900
5902
  var T;
5901
5903
  return ((T = t.default) == null ? void 0 : T.call(t)) || [];
5902
- }), n = we(e, "modelValue"), i = z(null), l = z(null), o = bt({}), { tabsStyle: s, updateTabsStyle: c } = Ws(
5903
- l,
5904
+ }), n = we(e, "modelValue"), l = z(null), i = z(null), o = bt({}), { tabsStyle: s, updateTabsStyle: c } = Ws(
5905
+ i,
5904
5906
  g(() => {
5905
5907
  var T;
5906
- return Array.from(((T = i.value) == null ? void 0 : T.querySelectorAll(".av-tab-content")) || []);
5908
+ return Array.from(((T = l.value) == null ? void 0 : T.querySelectorAll(".av-tab-content")) || []);
5907
5909
  }),
5908
5910
  n
5909
5911
  );
@@ -5934,19 +5936,19 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
5934
5936
  var T;
5935
5937
  window.ResizeObserver && (h.value = new window.ResizeObserver(() => {
5936
5938
  c();
5937
- })), (T = i.value) == null || T.querySelectorAll(".av-tab-content").forEach((E) => {
5939
+ })), (T = l.value) == null || T.querySelectorAll(".av-tab-content").forEach((E) => {
5938
5940
  var D;
5939
5941
  E && ((D = h.value) == null || D.observe(E));
5940
5942
  });
5941
5943
  }), ge(() => {
5942
5944
  var T, E;
5943
- (T = i.value) == null || T.querySelectorAll(".av-tab-content").forEach((D) => {
5945
+ (T = l.value) == null || T.querySelectorAll(".av-tab-content").forEach((D) => {
5944
5946
  var M;
5945
5947
  D && ((M = h.value) == null || M.unobserve(D));
5946
5948
  }), (E = h.value) == null || E.disconnect();
5947
5949
  }), (T, E) => (d(), b("div", {
5948
5950
  ref_key: "$el",
5949
- ref: i,
5951
+ ref: l,
5950
5952
  class: Q(["av-tabs", {
5951
5953
  "av-tabs--compact": e.compact
5952
5954
  }]),
@@ -5954,7 +5956,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
5954
5956
  }, [
5955
5957
  C("ul", {
5956
5958
  ref_key: "tablist",
5957
- ref: l,
5959
+ ref: i,
5958
5960
  class: Q(["av-tabs__list av-row av-px-xs av-py-none av-align-center av-gap-sm", {
5959
5961
  "av-tabs__list--compact": e.compact,
5960
5962
  "av-w-full": !e.compact
@@ -5962,7 +5964,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
5962
5964
  role: "tablist",
5963
5965
  "aria-label": e.ariaLabel ?? "Liste d’onglets"
5964
5966
  }, [
5965
- (d(!0), b($, null, le(r(a), (D, M) => {
5967
+ (d(!0), b($, null, ie(r(a), (D, M) => {
5966
5968
  var L, B;
5967
5969
  return d(), S(Ps, {
5968
5970
  key: M,
@@ -5980,7 +5982,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
5980
5982
  }, null, 8, ["tab-id", "panel-id", "title", "icon", "compact", "is-selected", "onClick"]);
5981
5983
  }), 128))
5982
5984
  ], 10, Us),
5983
- (d(!0), b($, null, le(r(a), (D, M) => (d(), S(js, {
5985
+ (d(!0), b($, null, ie(r(a), (D, M) => (d(), S(js, {
5984
5986
  key: M,
5985
5987
  "panel-id": `${A(M)}-panel`,
5986
5988
  "tab-id": A(M),
@@ -6016,7 +6018,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
6016
6018
  emits: ["update:modelValue"],
6017
6019
  setup(e) {
6018
6020
  const t = g(() => e.id ?? `toggle-${crypto.randomUUID()}`), a = g(() => `${t.value}-label`);
6019
- return (n, i) => (d(), b($, null, [
6021
+ return (n, l) => (d(), b($, null, [
6020
6022
  C("label", {
6021
6023
  id: r(a),
6022
6024
  for: r(t),
@@ -6050,7 +6052,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
6050
6052
  "data-testid": r(t),
6051
6053
  "aria-describedby": r(a),
6052
6054
  name: e.name,
6053
- onInput: i[0] || (i[0] = (l) => n.$emit("update:modelValue", l.target.checked))
6055
+ onInput: l[0] || (l[0] = (i) => n.$emit("update:modelValue", i.target.checked))
6054
6056
  }, null, 40, Gs)
6055
6057
  ], 64));
6056
6058
  }
@@ -6071,7 +6073,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
6071
6073
  emits: ["cancel", "confirm"],
6072
6074
  setup(e, { emit: t }) {
6073
6075
  const a = t;
6074
- return (n, i) => (d(), b("div", $s, [
6076
+ return (n, l) => (d(), b("div", $s, [
6075
6077
  e.cancelLabel ? (d(), S(r(re), {
6076
6078
  key: 0,
6077
6079
  icon: e.cancelIcon,
@@ -6082,7 +6084,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
6082
6084
  disabled: e.cancelDisabled,
6083
6085
  "icon-only": e.iconOnly,
6084
6086
  small: "",
6085
- onClick: i[0] || (i[0] = (l) => a("cancel"))
6087
+ onClick: l[0] || (l[0] = (i) => a("cancel"))
6086
6088
  }, null, 8, ["icon", "label", "title", "is-loading", "disabled", "icon-only"])) : w("", !0),
6087
6089
  e.confirmLabel ? (d(), S(r(re), {
6088
6090
  key: 1,
@@ -6096,7 +6098,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
6096
6098
  form: e.form,
6097
6099
  small: "",
6098
6100
  "icon-only": e.iconOnly,
6099
- onClick: i[1] || (i[1] = (l) => a("confirm"))
6101
+ onClick: l[1] || (l[1] = (i) => a("confirm"))
6100
6102
  }, null, 8, ["icon", "label", "title", "is-loading", "disabled", "type", "form", "icon-only"])) : w("", !0)
6101
6103
  ]));
6102
6104
  }
@@ -6109,18 +6111,18 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
6109
6111
  emits: ["linkClick"],
6110
6112
  setup(e, { emit: t }) {
6111
6113
  const a = t;
6112
- return (n, i) => (d(), b("nav", {
6114
+ return (n, l) => (d(), b("nav", {
6113
6115
  role: "navigation",
6114
6116
  "aria-label": e.navAriaLabel
6115
6117
  }, [
6116
6118
  C("ul", ec, [
6117
- (d(!0), b($, null, le(e.links, (l, o) => (d(), b("li", { key: o }, [
6119
+ (d(!0), b($, null, ie(e.links, (i, o) => (d(), b("li", { key: o }, [
6118
6120
  V(re, {
6119
- icon: l.icon,
6120
- label: l.label ?? "",
6121
+ icon: i.icon,
6122
+ label: i.label ?? "",
6121
6123
  onClick: (s) => {
6122
6124
  var c;
6123
- a("linkClick", s), (c = l.onClick) == null || c.call(l, s);
6125
+ a("linkClick", s), (c = i.onClick) == null || c.call(i, s);
6124
6126
  }
6125
6127
  }, null, 8, ["icon", "label", "onClick"])
6126
6128
  ]))), 128))
@@ -6164,7 +6166,7 @@ function nc(e, t) {
6164
6166
  ], -1)
6165
6167
  ])]);
6166
6168
  }
6167
- const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6169
+ const lc = /* @__PURE__ */ P(tc, [["render", nc]]), ic = {
6168
6170
  role: "banner",
6169
6171
  class: "av-header"
6170
6172
  }, rc = { class: "av-header__body" }, oc = { class: "av-container" }, sc = { class: "av-header__body-row" }, cc = { class: "av-header__brand" }, Ac = { class: "av-header__brand-top" }, uc = { class: "av-header__logo av-enlarge-link" }, dc = {
@@ -6205,7 +6207,7 @@ const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6205
6207
  },
6206
6208
  emits: ["update:modelValue", "search", "languageSelect"],
6207
6209
  setup(e, { emit: t }) {
6208
- const a = t, n = me(), { isBelowLg: i } = st(), l = ea(() => e.languageSelector), o = z(!1), s = z(!1), c = z(!1);
6210
+ const a = t, n = me(), { isBelowLg: l } = st(), i = ea(() => e.languageSelector), o = z(!1), s = z(!1), c = z(!1);
6209
6211
  function A() {
6210
6212
  var T;
6211
6213
  c.value = !1, o.value = !1, s.value = !1, (T = document.getElementById("button-menu")) == null || T.focus();
@@ -6230,8 +6232,8 @@ const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6230
6232
  const m = A, v = g(() => [e.homeLabel, e.serviceTitle].filter((T) => T).join(" - ")), h = g(() => !!n.mainnav);
6231
6233
  return Nt(ja, () => A), (T, E) => {
6232
6234
  var Z, F, te;
6233
- const D = wt("RouterLink"), M = re, L = Qa, B = Ii;
6234
- return d(), b("header", lc, [
6235
+ const D = wt("RouterLink"), M = re, L = Qa, B = Il;
6236
+ return d(), b("header", ic, [
6235
6237
  C("div", rc, [
6236
6238
  C("div", oc, [
6237
6239
  C("div", sc, [
@@ -6243,7 +6245,7 @@ const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6243
6245
  title: r(v)
6244
6246
  }, {
6245
6247
  default: K(() => [
6246
- V(ic, { "data-testid": "header-logo" })
6248
+ V(lc, { "data-testid": "header-logo" })
6247
6249
  ]),
6248
6250
  _: 1
6249
6251
  }, 8, ["to", "title"])
@@ -6290,7 +6292,7 @@ const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6290
6292
  "nav-aria-label": e.quickLinksAriaLabel
6291
6293
  }, null, 8, ["links", "nav-aria-label"])) : w("", !0),
6292
6294
  U(T.$slots, "after-quick-links", {}, void 0, !0),
6293
- r(l) ? (d(), S(Pt, _({ key: 1 }, r(l), {
6295
+ r(i) ? (d(), S(Pt, _({ key: 1 }, r(i), {
6294
6296
  onSelect: E[2] || (E[2] = (k) => a("languageSelect", k))
6295
6297
  }), null, 16)) : w("", !0)
6296
6298
  ]),
@@ -6315,7 +6317,7 @@ const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6315
6317
  U(T.$slots, "mainnav", { hidemodal: A }, void 0, !0)
6316
6318
  ])) : w("", !0)
6317
6319
  ]),
6318
- r(i) && (e.showSearch || r(h) || e.quickLinks && e.quickLinks.length || r(l)) ? (d(), S(B, {
6320
+ r(l) && (e.showSearch || r(h) || e.quickLinks && e.quickLinks.length || r(i)) ? (d(), S(B, {
6319
6321
  key: 0,
6320
6322
  id: "header-navigation",
6321
6323
  show: r(c),
@@ -6336,7 +6338,7 @@ const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6336
6338
  ]),
6337
6339
  C("div", Cc, [
6338
6340
  C("div", Mc, [
6339
- r(l) ? (d(), S(Pt, _({ key: 0 }, r(l), {
6341
+ r(i) ? (d(), S(Pt, _({ key: 0 }, r(i), {
6340
6342
  onSelect: E[5] || (E[5] = (k) => a("languageSelect", k))
6341
6343
  }), null, 16)) : w("", !0),
6342
6344
  U(T.$slots, "before-quick-links", {}, void 0, !0),
@@ -6369,7 +6371,7 @@ const ic = /* @__PURE__ */ P(tc, [["render", nc]]), lc = {
6369
6371
  ]);
6370
6372
  };
6371
6373
  }
6372
- }), iu = /* @__PURE__ */ P(Nc, [["__scopeId", "data-v-aabccc88"]]), Tc = {
6374
+ }), lu = /* @__PURE__ */ P(Nc, [["__scopeId", "data-v-aabccc88"]]), Tc = {
6373
6375
  xmlns: "http://www.w3.org/2000/svg",
6374
6376
  viewBox: "0 0 106.703 44.429"
6375
6377
  };
@@ -6410,7 +6412,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6410
6412
  }), null, 16)
6411
6413
  ]));
6412
6414
  }
6413
- }), lu = /* @__PURE__ */ P(Oc, [["__scopeId", "data-v-c54db433"]]), xc = ["aria-label"], Sc = ["id"], pc = { class: "av-breadcrumb__list" }, kc = ["aria-current"], Qc = /* @__PURE__ */ p({
6415
+ }), iu = /* @__PURE__ */ P(Oc, [["__scopeId", "data-v-c54db433"]]), xc = ["aria-label"], Sc = ["id"], pc = { class: "av-breadcrumb__list" }, kc = ["aria-current"], Qc = /* @__PURE__ */ p({
6414
6416
  __name: "AvBreadcrumb",
6415
6417
  props: {
6416
6418
  id: {},
@@ -6423,16 +6425,16 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6423
6425
  collapse: t,
6424
6426
  collapsing: a,
6425
6427
  cssExpanded: n,
6426
- doExpand: i
6427
- } = ot(), { isAboveMd: l } = st(), o = g(() => e.id ?? `breadcrumb-${crypto.randomUUID()}`), s = g(() => ({
6428
+ doExpand: l
6429
+ } = ot(), { isAboveMd: i } = st(), o = g(() => e.id ?? `breadcrumb-${crypto.randomUUID()}`), s = g(() => ({
6428
6430
  "--icon-path": `url(${be.MDI_KEYBOARD_ARROW_RIGHT})`
6429
- })), c = z(l.value);
6431
+ })), c = z(i.value);
6430
6432
  return se(c, (A, u) => {
6431
- A !== u && i(A);
6432
- }), se(l, (A) => {
6433
+ A !== u && l(A);
6434
+ }), se(i, (A) => {
6433
6435
  c.value = A;
6434
6436
  }), ve(() => {
6435
- i(c.value);
6437
+ l(c.value);
6436
6438
  }), (A, u) => {
6437
6439
  const f = re, I = wt("RouterLink");
6438
6440
  return e.links && e.links.length ? (d(), b("nav", {
@@ -6461,7 +6463,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6461
6463
  }])
6462
6464
  }, [
6463
6465
  C("ol", pc, [
6464
- (d(!0), b($, null, le(e.links, (m, v) => (d(), b("li", {
6466
+ (d(!0), b($, null, ie(e.links, (m, v) => (d(), b("li", {
6465
6467
  key: v,
6466
6468
  class: "av-breadcrumb__item",
6467
6469
  style: Ae(r(s))
@@ -6532,7 +6534,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6532
6534
  },
6533
6535
  emits: ["toggleId"],
6534
6536
  setup(e) {
6535
- const { isBelowLg: t } = st(), a = g(() => e.id ?? `menu-link-${crypto.randomUUID()}`), n = g(() => typeof e.to == "string" && e.to.startsWith("http")), i = Dt() ? lt(ja) : void 0, l = (i == null ? void 0 : i()) ?? (() => {
6537
+ const { isBelowLg: t } = st(), a = g(() => e.id ?? `menu-link-${crypto.randomUUID()}`), n = g(() => typeof e.to == "string" && e.to.startsWith("http")), l = Dt() ? it(ja) : void 0, i = (l == null ? void 0 : l()) ?? (() => {
6536
6538
  });
6537
6539
  return (o, s) => {
6538
6540
  const c = ne, A = wt("RouterLink");
@@ -6556,7 +6558,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6556
6558
  to: e.to,
6557
6559
  onClick: s[1] || (s[1] = (u) => {
6558
6560
  var f;
6559
- r(l)(), o.$emit("toggleId", r(a)), (f = e.onClick) == null || f.call(e, u);
6561
+ r(i)(), o.$emit("toggleId", r(a)), (f = e.onClick) == null || f.call(e, u);
6560
6562
  })
6561
6563
  }, {
6562
6564
  default: K(() => [
@@ -6586,15 +6588,15 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6586
6588
  collapse: t,
6587
6589
  collapsing: a,
6588
6590
  cssExpanded: n,
6589
- doExpand: i,
6590
- onTransitionEnd: l
6591
+ doExpand: l,
6592
+ onTransitionEnd: i
6591
6593
  } = ot(), o = g(() => e.id ?? `menu-${crypto.randomUUID()}`), s = g(() => o.value === e.expandedId), c = g(() => ({
6592
6594
  "--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
6593
6595
  }));
6594
6596
  return se(s, (A, u) => {
6595
- A !== u && i(A);
6597
+ A !== u && l(A);
6596
6598
  }), ve(() => {
6597
- s.value && i(!0);
6599
+ s.value && l(!0);
6598
6600
  }), (A, u) => (d(), b($, null, [
6599
6601
  C("button", {
6600
6602
  class: "av-nav__btn",
@@ -6612,10 +6614,10 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6612
6614
  ref: t,
6613
6615
  class: Q(["av-collapse av-menu", { "av-collapse--expanded": r(n), "av-collapsing": r(a) }]),
6614
6616
  "data-testid": "navigation-menu",
6615
- onTransitionend: u[2] || (u[2] = (f) => r(l)(r(s)))
6617
+ onTransitionend: u[2] || (u[2] = (f) => r(i)(r(s)))
6616
6618
  }, [
6617
6619
  C("ul", qc, [
6618
- (d(!0), b($, null, le(e.links, (f, I) => (d(), S(Uc, { key: I }, {
6620
+ (d(!0), b($, null, ie(e.links, (f, I) => (d(), S(Uc, { key: I }, {
6619
6621
  default: K(() => [
6620
6622
  V(za, _({ ref_for: !0 }, f, {
6621
6623
  onToggleId: u[1] || (u[1] = (m) => A.$emit("toggleId", e.expandedId))
@@ -6646,25 +6648,25 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6646
6648
  }
6647
6649
  a.value = s;
6648
6650
  }
6649
- function i(s) {
6651
+ function l(s) {
6650
6652
  if (s !== document.getElementById(t.value)) {
6651
6653
  if (!(s != null && s.parentNode)) {
6652
6654
  n(a.value);
6653
6655
  return;
6654
6656
  }
6655
- i(s.parentNode);
6657
+ l(s.parentNode);
6656
6658
  }
6657
6659
  }
6658
- function l(s) {
6659
- i(s.target);
6660
+ function i(s) {
6661
+ l(s.target);
6660
6662
  }
6661
6663
  function o(s) {
6662
6664
  s.key === "Escape" && n(a.value);
6663
6665
  }
6664
6666
  return ve(() => {
6665
- document.addEventListener("click", l), document.addEventListener("keydown", o);
6667
+ document.addEventListener("click", i), document.addEventListener("keydown", o);
6666
6668
  }), ge(() => {
6667
- document.removeEventListener("click", l), document.removeEventListener("keydown", o);
6669
+ document.removeEventListener("click", i), document.removeEventListener("keydown", o);
6668
6670
  }), (s, c) => (d(), b("div", Gc, [
6669
6671
  C("nav", {
6670
6672
  id: r(t),
@@ -6673,7 +6675,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6673
6675
  "aria-label": e.label
6674
6676
  }, [
6675
6677
  C("ul", $c, [
6676
- (d(!0), b($, null, le(e.navItems, (A, u) => (d(), S(Bc, { key: u }, {
6678
+ (d(!0), b($, null, ie(e.navItems, (A, u) => (d(), S(Bc, { key: u }, {
6677
6679
  default: K(() => [
6678
6680
  A.to && A.text ? (d(), S(za, _({
6679
6681
  key: 0,
@@ -6695,7 +6697,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6695
6697
  ], 8, Jc)
6696
6698
  ]));
6697
6699
  }
6698
- }), _c = ["aria-label"], eA = { class: "av-pagination__list av-row av-row-wrap av-align-center av-gap-sm" }, tA = { key: 0 }, aA = { class: "b2-regular" }, nA = ["href", "title", "aria-disabled"], iA = { class: "av-sr-only" }, lA = ["href", "title", "aria-disabled"], rA = {
6700
+ }), _c = ["aria-label"], eA = { class: "av-pagination__list av-row av-row-wrap av-align-center av-gap-sm" }, tA = { key: 0 }, aA = { class: "b2-regular" }, nA = ["href", "title", "aria-disabled"], lA = { class: "av-sr-only" }, iA = ["href", "title", "aria-disabled"], rA = {
6699
6701
  key: 0,
6700
6702
  class: "caption-regular av-hidden av-unhidden-md"
6701
6703
  }, oA = ["href", "title", "aria-current", "onClick"], sA = { key: 0 }, cA = { key: 1 }, AA = ["href", "title", "disabled", "aria-disabled"], uA = {
@@ -6717,7 +6719,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6717
6719
  },
6718
6720
  emits: ["update:current-page"],
6719
6721
  setup(e, { emit: t }) {
6720
- const a = t, n = g(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), i = g(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), l = g(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, i.value + 1) : e.pages), o = g(() => e.pages.length > 0), s = (v) => a("update:current-page", v), c = (v) => s(v), A = () => c(0), u = () => c(Math.max(0, e.currentPage - 1)), f = () => c(Math.min(e.pages.length - 1, e.currentPage + 1)), I = () => c(e.pages.length - 1), m = (v) => e.pages.indexOf(v) === e.currentPage;
6722
+ const a = t, n = g(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), l = g(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), i = g(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, l.value + 1) : e.pages), o = g(() => e.pages.length > 0), s = (v) => a("update:current-page", v), c = (v) => s(v), A = () => c(0), u = () => c(Math.max(0, e.currentPage - 1)), f = () => c(Math.min(e.pages.length - 1, e.currentPage + 1)), I = () => c(e.pages.length - 1), m = (v) => e.pages.indexOf(v) === e.currentPage;
6721
6723
  return (v, h) => {
6722
6724
  var T, E, D, M;
6723
6725
  return r(o) ? (d(), b("nav", {
@@ -6743,7 +6745,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6743
6745
  name: r(H).PAGE_FIRST,
6744
6746
  size: 1.5
6745
6747
  }, null, 8, ["name"]),
6746
- C("span", iA, W(e.firstPageLabel), 1)
6748
+ C("span", lA, W(e.firstPageLabel), 1)
6747
6749
  ], 8, nA))
6748
6750
  ]),
6749
6751
  C("li", null, [
@@ -6759,9 +6761,9 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6759
6761
  size: 1.5
6760
6762
  }, null, 8, ["name"]),
6761
6763
  e.compact ? w("", !0) : (d(), b("span", rA, W(e.prevPageLabel), 1))
6762
- ], 8, lA)
6764
+ ], 8, iA)
6763
6765
  ]),
6764
- e.compact ? w("", !0) : (d(!0), b($, { key: 1 }, le(r(l), (L, B) => (d(), b("li", { key: B }, [
6766
+ e.compact ? w("", !0) : (d(!0), b($, { key: 1 }, ie(r(i), (L, B) => (d(), b("li", { key: B }, [
6765
6767
  C("a", {
6766
6768
  href: L == null ? void 0 : L.href,
6767
6769
  class: "av-pagination__link",
@@ -6769,9 +6771,9 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
6769
6771
  "aria-current": m(L) ? "page" : void 0,
6770
6772
  onClick: de((Z) => c(e.pages.indexOf(L)), ["prevent"])
6771
6773
  }, [
6772
- r(l).indexOf(L) === 0 && r(n) > 0 ? (d(), b("span", sA, "...")) : w("", !0),
6774
+ r(i).indexOf(L) === 0 && r(n) > 0 ? (d(), b("span", sA, "...")) : w("", !0),
6773
6775
  Le(" " + W(L.label) + " ", 1),
6774
- r(l).indexOf(L) === r(l).length - 1 && r(i) < e.pages.length - 1 ? (d(), b("span", cA, "...")) : w("", !0)
6776
+ r(i).indexOf(L) === r(i).length - 1 && r(l) < e.pages.length - 1 ? (d(), b("span", cA, "...")) : w("", !0)
6775
6777
  ], 8, oA)
6776
6778
  ]))), 128)),
6777
6779
  C("li", null, [
@@ -6844,27 +6846,27 @@ const mA = ["id", "aria-label"], gA = {
6844
6846
  v4d5b7c17: r(c),
6845
6847
  v4a813d87: u.padding
6846
6848
  }));
6847
- const t = e, a = we(e, "collapsed"), { width: n, collapsedWidth: i } = _t(t), l = g(() => t.id ?? crypto.randomUUID()), o = g(() => `${l.value} navigation`), s = g({
6849
+ const t = e, a = we(e, "collapsed"), { width: n, collapsedWidth: l } = _t(t), i = g(() => t.id ?? crypto.randomUUID()), o = g(() => `${i.value} navigation`), s = g({
6848
6850
  get: () => t.collapsible ? a.value : !1,
6849
6851
  set: (u) => {
6850
6852
  t.collapsible && (a.value = u);
6851
6853
  }
6852
- }), c = g(() => t.collapsible && s.value ? i.value : n.value);
6854
+ }), c = g(() => t.collapsible && s.value ? l.value : n.value);
6853
6855
  function A() {
6854
6856
  t.collapsible && (s.value = !s.value);
6855
6857
  }
6856
6858
  return (u, f) => (d(), b("nav", {
6857
- id: r(l),
6859
+ id: r(i),
6858
6860
  class: Q(["av-side-menu", { "av-side-menu--collapsed": r(s) }]),
6859
6861
  "aria-label": r(o)
6860
6862
  }, [
6861
6863
  t.collapsible ? (d(), b("div", gA, [
6862
6864
  V(re, {
6863
6865
  "aria-expanded": !r(s),
6864
- "aria-controls": r(l),
6866
+ "aria-controls": r(i),
6865
6867
  icon: r(s) ? r(H).CHEVRON_DOUBLE_RIGHT : r(H).CHEVRON_DOUBLE_LEFT,
6866
6868
  class: "av-side-menu__collapse-button",
6867
- label: r(s) ? `${r(l)}-expand-button` : `${r(l)}-collapse-button`,
6869
+ label: r(s) ? `${r(i)}-expand-button` : `${r(i)}-collapse-button`,
6868
6870
  "icon-only": "",
6869
6871
  onClick: A
6870
6872
  }, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
@@ -6893,12 +6895,12 @@ const mA = ["id", "aria-label"], gA = {
6893
6895
  emits: /* @__PURE__ */ ye(["update:selectedItem", "update:isSideMenuCollapsed"], ["update:selectedItem", "update:isSideMenuCollapsed"]),
6894
6896
  setup(e) {
6895
6897
  const t = we(e, "selectedItem"), a = we(e, "isSideMenuCollapsed");
6896
- function n(i) {
6897
- t.value = i;
6898
+ function n(l) {
6899
+ t.value = l;
6898
6900
  }
6899
- return (i, l) => (d(), S(hA, {
6901
+ return (l, i) => (d(), S(hA, {
6900
6902
  collapsed: a.value,
6901
- "onUpdate:collapsed": l[0] || (l[0] = (o) => a.value = o),
6903
+ "onUpdate:collapsed": i[0] || (i[0] = (o) => a.value = o),
6902
6904
  "collapsed-width": e.collapsedWidth,
6903
6905
  color: e.selectedItemColor
6904
6906
  }, {
@@ -6908,7 +6910,7 @@ const mA = ["id", "aria-label"], gA = {
6908
6910
  role: "menu"
6909
6911
  }, {
6910
6912
  default: K(() => [
6911
- (d(!0), b($, null, le(e.items, (o) => (d(), S(r(wa), {
6913
+ (d(!0), b($, null, ie(e.items, (o) => (d(), S(r(wa), {
6912
6914
  key: o.id,
6913
6915
  title: a.value ? void 0 : o.label,
6914
6916
  icon: o.icon,
@@ -6946,30 +6948,30 @@ const mA = ["id", "aria-label"], gA = {
6946
6948
  }, [...a[0] || (a[0] = [
6947
6949
  C("span", { class: "b1-regular" }, "1", -1)
6948
6950
  ])], 8, EA),
6949
- (d(!0), b($, null, le(e.steps.slice(1, e.steps.length), (n, i) => (d(), b("div", {
6950
- key: i,
6951
+ (d(!0), b($, null, ie(e.steps.slice(1, e.steps.length), (n, l) => (d(), b("div", {
6952
+ key: l,
6951
6953
  class: "steps-container av-row av-align-center"
6952
6954
  }, [
6953
6955
  C("div", {
6954
- class: Q(["separator", { "separator--active": i + 1 <= e.currentStep }])
6956
+ class: Q(["separator", { "separator--active": l + 1 <= e.currentStep }])
6955
6957
  }, null, 2),
6956
6958
  C("div", {
6957
- class: Q(["step av-col av-align-center av-justify-center", { "step--active": i + 1 <= e.currentStep }]),
6958
- "aria-current": i + 1 === e.currentStep ? "step" : void 0
6959
+ class: Q(["step av-col av-align-center av-justify-center", { "step--active": l + 1 <= e.currentStep }]),
6960
+ "aria-current": l + 1 === e.currentStep ? "step" : void 0
6959
6961
  }, [
6960
- C("span", TA, W(i + 2), 1)
6962
+ C("span", TA, W(l + 2), 1)
6961
6963
  ], 10, NA)
6962
6964
  ]))), 128))
6963
6965
  ]),
6964
6966
  C("div", DA, [
6965
- (d(!0), b($, null, le(e.steps, (n, i) => (d(), b("div", {
6966
- key: i,
6967
+ (d(!0), b($, null, ie(e.steps, (n, l) => (d(), b("div", {
6968
+ key: l,
6967
6969
  class: "label-container av-col av-align-center av-justify-center"
6968
6970
  }, [
6969
6971
  C("span", {
6970
6972
  class: Q(["label av-col av-align-center", {
6971
- "b1-bold": i <= e.currentStep,
6972
- "b1-light": i > e.currentStep
6973
+ "b1-bold": l <= e.currentStep,
6974
+ "b1-light": l > e.currentStep
6973
6975
  }])
6974
6976
  }, W(n), 3)
6975
6977
  ]))), 128))
@@ -6995,7 +6997,7 @@ const mA = ["id", "aria-label"], gA = {
6995
6997
  },
6996
6998
  emits: ["close", "confirm"],
6997
6999
  setup(e, { emit: t }) {
6998
- const a = t, n = me(), i = g(() => e.id ?? `modal-${crypto.randomUUID()}`), l = g(() => e.isAlert ? "alertdialog" : "dialog"), o = z(null), s = z();
7000
+ const a = t, n = me(), l = g(() => e.id ?? `modal-${crypto.randomUUID()}`), i = g(() => e.isAlert ? "alertdialog" : "dialog"), o = z(null), s = z();
6999
7001
  se(() => e.opened, (A) => {
7000
7002
  var u, f, I;
7001
7003
  A ? ((u = s.value) == null || u.showModal(), (f = o.value) == null || f.focus()) : (I = s.value) == null || I.close(), c(A);
@@ -7013,12 +7015,12 @@ const mA = ["id", "aria-label"], gA = {
7013
7015
  e.opened ? (d(), S(r(fa), { key: 0 }, {
7014
7016
  default: K(() => [
7015
7017
  C("dialog", {
7016
- id: r(i),
7018
+ id: r(l),
7017
7019
  ref_key: "modal",
7018
7020
  ref: s,
7019
7021
  "aria-modal": "true",
7020
- "aria-labelledby": r(i),
7021
- role: r(l),
7022
+ "aria-labelledby": r(l),
7023
+ role: r(i),
7022
7024
  class: Q(["av-modal", { "av-modal--opened": e.opened }]),
7023
7025
  open: e.opened,
7024
7026
  onKeydown: u[2] || (u[2] = ue((I) => a("close"), ["esc"]))
@@ -7059,7 +7061,7 @@ const mA = ["id", "aria-label"], gA = {
7059
7061
  }
7060
7062
  }), du = /* @__PURE__ */ P(QA, [["__scopeId", "data-v-82e0cdaa"]]);
7061
7063
  export {
7062
- Zi as AV_BREAKPOINTS,
7064
+ Zl as AV_BREAKPOINTS,
7063
7065
  RA as AvAccordion,
7064
7066
  ZA as AvAccordionsGroup,
7065
7067
  xn as AvAlert,
@@ -7069,14 +7071,14 @@ export {
7069
7071
  re as AvButton,
7070
7072
  Qa as AvCancelConfirmButtons,
7071
7073
  VA as AvCard,
7072
- sl as AvCheckbox,
7073
- cl as AvCheckboxesGroup,
7074
- Ii as AvDrawer,
7075
- Ji as AvDropdown,
7076
- ia as AvFieldset,
7077
- la as AvFieldsetElement,
7074
+ si as AvCheckbox,
7075
+ ci as AvCheckboxesGroup,
7076
+ Il as AvDrawer,
7077
+ Jl as AvDropdown,
7078
+ la as AvFieldset,
7079
+ ia as AvFieldsetElement,
7078
7080
  qA as AvFileUpload,
7079
- iu as AvHeader,
7081
+ lu as AvHeader,
7080
7082
  Jt as AvHeaderMenuLinks,
7081
7083
  ne as AvIcon,
7082
7084
  tn as AvIconText,
@@ -7084,7 +7086,7 @@ export {
7084
7086
  Pt as AvLanguageSelector,
7085
7087
  La as AvList,
7086
7088
  wa as AvListItem,
7087
- ic as AvLogo,
7089
+ lc as AvLogo,
7088
7090
  du as AvModal,
7089
7091
  _A as AvMultiselect,
7090
7092
  ou as AvNavigation,
@@ -7092,7 +7094,7 @@ export {
7092
7094
  GA as AvPageSizePicker,
7093
7095
  su as AvPagination,
7094
7096
  FA as AvPeriodInput,
7095
- Fi as AvPopover,
7097
+ Fl as AvPopover,
7096
7098
  Mo as AvRadioButton,
7097
7099
  JA as AvRadioButtonSet,
7098
7100
  XA as AvRichButton,
@@ -7108,7 +7110,7 @@ export {
7108
7110
  HA as AvToaster,
7109
7111
  nu as AvToggle,
7110
7112
  pe as DropdownState,
7111
- lu as EsupLogo,
7113
+ iu as EsupLogo,
7112
7114
  be as ICONS_DATA_URL,
7113
7115
  H as MDI_ICONS,
7114
7116
  Oa as PageSizes,
@@ -7122,6 +7124,6 @@ export {
7122
7124
  un as toSentenceCase,
7123
7125
  st as useAvBreakpoints,
7124
7126
  ot as useCollapsable,
7125
- Yi as useFocusTrap,
7127
+ Yl as useFocusTrap,
7126
7128
  YA as useGlobalBackgroundColor
7127
7129
  };