@teammodlr/ui-kit 2.0.18 → 2.0.19

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/lib/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, computed as m, openBlock as b, createElementBlock as $, normalizeClass as g, createElementVNode as k, renderSlot as N, inject as de, ref as y, toRef as x, onMounted as pe, onBeforeUnmount as It, createBlock as ae, resolveDynamicComponent as _a, mergeProps as ze, withCtx as se, createCommentVNode as G, reactive as Te, provide as ke, watch as F, nextTick as De, normalizeStyle as Y, withModifiers as Be, readonly as tn, onUnmounted as an, defineExpose as Qe, toDisplayString as U, toHandlers as yt, watchEffect as ht, unref as Ba, getCurrentScope as rn, onScopeDispose as nn, resolveComponent as le, Fragment as Z, renderList as me, createTextVNode as be, Teleport as Ve, createVNode as ee, Transition as ct, withDirectives as jt, vModelCheckbox as on, vModelRadio as sn, vShow as ln, withKeys as Ge } from "vue";
1
+ import { defineComponent as z, computed as m, openBlock as b, createElementBlock as $, normalizeClass as g, createElementVNode as k, renderSlot as N, inject as de, ref as y, toRef as x, onMounted as pe, onBeforeUnmount as It, createBlock as te, resolveDynamicComponent as jt, mergeProps as Be, withCtx as re, createCommentVNode as G, reactive as Te, provide as ke, watch as F, nextTick as Le, normalizeStyle as Y, withModifiers as Ae, readonly as tn, onUnmounted as an, defineExpose as Qe, toDisplayString as U, toHandlers as yt, watchEffect as ht, unref as Ba, getCurrentScope as rn, onScopeDispose as nn, resolveComponent as le, Fragment as Z, renderList as me, createTextVNode as be, Teleport as Ve, createVNode as ee, Transition as ct, withDirectives as Rt, vModelCheckbox as on, vModelRadio as sn, vShow as ln, withKeys as Ge } from "vue";
2
2
  var un = "apht5f3", dn = { primary: "apht5fc", dark: "apht5fd", default: "apht5fe", tertiary: "apht5ff", success: "apht5fg", warning: "apht5fh", error: "apht5fi" }, cn = "apht5f4", fn = { primary: "apht5f5", dark: "apht5f6", default: "apht5f7", tertiary: "apht5f8", success: "apht5f9", warning: "apht5fa", error: "apht5fb" };
3
3
  const pn = z({
4
4
  name: "MBadge",
@@ -45,7 +45,7 @@ function vn(e, t, a, r, n, o) {
45
45
  }
46
46
  const mn = /* @__PURE__ */ V(pn, [["render", vn]]);
47
47
  var bn = "_1s6j4ps7", gn = "_1s6j4ps18", yn = "_1s6j4psz _1s6j4psy", hn = "_1s6j4ps10 _1s6j4psy", wn = "_1s6j4ps13", $n = "_1s6j4ps15 _1s6j4ps14", Sn = "_1s6j4ps16", kn = { primary: "_1s6j4psm", dark: "_1s6j4psn", default: "_1s6j4pso", tertiary: "_1s6j4psp", success: "_1s6j4psq", warning: "_1s6j4psr", error: "_1s6j4pss" }, Cn = "_1s6j4ps19", Tn = "_1s6j4ps17", On = { primary: "_1s6j4psf", dark: "_1s6j4psg", default: "_1s6j4psh", tertiary: "_1s6j4psi", success: "_1s6j4psj", warning: "_1s6j4psk", error: "_1s6j4psl" }, Mn = { xs: "_1s6j4pst", sm: "_1s6j4psu", md: "_1s6j4psv", lg: "_1s6j4psw", xl: "_1s6j4psx" }, En = { primary: "_1s6j4ps8", dark: "_1s6j4ps9", default: "_1s6j4psa", tertiary: "_1s6j4psb", success: "_1s6j4psc", warning: "_1s6j4psd", error: "_1s6j4pse" }, _n = "_1s6j4ps11", Bn = "_1s6j4ps12";
48
- const Aa = Symbol("BUTTON_GROUP_STATE"), Rt = Symbol("FORM_STATE"), An = z({
48
+ const Aa = Symbol("BUTTON_GROUP_STATE"), Pt = Symbol("FORM_STATE"), An = z({
49
49
  name: "MButton",
50
50
  props: {
51
51
  type: {
@@ -103,7 +103,7 @@ const Aa = Symbol("BUTTON_GROUP_STATE"), Rt = Symbol("FORM_STATE"), An = z({
103
103
  }
104
104
  },
105
105
  setup(e, { slots: t }) {
106
- const a = de(Aa, null), r = de(Rt, null), n = de("dropdown", null), o = y("md"), s = y(!1), i = y(0), l = x(e, "loading"), u = m(() => n == null ? void 0 : n.isOpen.value), d = m(() => a == null ? void 0 : a.size), c = m(() => d.value || e.size), p = m(() => !!t["icon-left"]), f = m(() => !!t["icon-right"]), h = m(() => [
106
+ const a = de(Aa, null), r = de(Pt, null), n = de("dropdown", null), o = y("md"), s = y(!1), i = y(0), l = x(e, "loading"), u = m(() => n == null ? void 0 : n.isOpen.value), d = m(() => a == null ? void 0 : a.size), c = m(() => d.value || e.size), p = m(() => !!t["icon-left"]), f = m(() => !!t["icon-right"]), h = m(() => [
107
107
  bn,
108
108
  [Mn[c.value]],
109
109
  En[e.variant],
@@ -152,7 +152,7 @@ const Aa = Symbol("BUTTON_GROUP_STATE"), Rt = Symbol("FORM_STATE"), An = z({
152
152
  }
153
153
  });
154
154
  function In(e, t, a, r, n, o) {
155
- return b(), ae(_a(e.computedTag), ze({
155
+ return b(), te(jt(e.computedTag), Be({
156
156
  to: e.to,
157
157
  href: e.href,
158
158
  type: e.type,
@@ -160,7 +160,7 @@ function In(e, t, a, r, n, o) {
160
160
  disabled: e.disabled,
161
161
  onClick: e.handleClick
162
162
  }, e.$attrs), {
163
- default: se(() => [
163
+ default: re(() => [
164
164
  k("div", {
165
165
  class: g(e.computedBorderClasses)
166
166
  }, null, 2),
@@ -213,7 +213,7 @@ function Pn(e, t, a, r, n, o) {
213
213
  ], 2);
214
214
  }
215
215
  const Dn = /* @__PURE__ */ V(Rn, [["render", Pn]]);
216
- function Qt(e) {
216
+ function ea(e) {
217
217
  var t = e.match(/^var\((.*)\)$/);
218
218
  return t ? t[1] : e;
219
219
  }
@@ -240,12 +240,12 @@ function Ra(e, t) {
240
240
  var r = e;
241
241
  ja(t, (s, i) => {
242
242
  var l = Ln(r, i);
243
- a[Qt(l)] = String(s);
243
+ a[ea(l)] = String(s);
244
244
  });
245
245
  } else {
246
246
  var n = e;
247
247
  for (var o in n)
248
- a[Qt(o)] = n[o];
248
+ a[ea(o)] = n[o];
249
249
  }
250
250
  return Object.defineProperty(a, "toString", {
251
251
  value: function() {
@@ -305,10 +305,10 @@ const Vn = z({
305
305
  disabled: x(e, "disabled"),
306
306
  loading: x(e, "loading")
307
307
  });
308
- ke(Rt, r), pe(() => {
308
+ ke(Pt, r), pe(() => {
309
309
  e.autoFocus && a && a.length > 0 && a[0].focus();
310
310
  }), F(() => e.errors, (l) => {
311
- l && De(() => {
311
+ l && Le(() => {
312
312
  if (Array.isArray(l))
313
313
  l.forEach((u) => {
314
314
  const d = a.find((c) => c.name === u.field);
@@ -346,7 +346,7 @@ function Fn(e, t, a, r, n, o) {
346
346
  class: g([
347
347
  e.computedClasses
348
348
  ]),
349
- onSubmit: t[0] || (t[0] = Be((...s) => e.submit && e.submit(...s), ["prevent"]))
349
+ onSubmit: t[0] || (t[0] = Ae((...s) => e.submit && e.submit(...s), ["prevent"]))
350
350
  }, [
351
351
  N(e.$slots, "default", { loading: e.loading })
352
352
  ], 38);
@@ -376,10 +376,10 @@ function Pa(e) {
376
376
  }
377
377
  };
378
378
  }
379
- const re = (e, { focus: t, emit: a, withListeners: r = !0 }) => {
379
+ const ne = (e, { focus: t, emit: a, withListeners: r = !0 }) => {
380
380
  const n = y(!0), o = y(e.error), { id: s } = Pa("input"), i = e.name ? e.name : s.value, l = y(i);
381
381
  F(() => e.error, (h) => o.value = h), F(() => e.name, (h) => i.value = h);
382
- const u = de(Rt, null), d = () => {
382
+ const u = de(Pt, null), d = () => {
383
383
  o.value = "", n.value = !0, a("update:modelValue", "");
384
384
  }, c = (h) => {
385
385
  o.value = h;
@@ -435,8 +435,8 @@ const re = (e, { focus: t, emit: a, withListeners: r = !0 }) => {
435
435
  formLoading: (u == null ? void 0 : u.loading.value) || !1
436
436
  };
437
437
  };
438
- re.emits = (e = !0) => e ? ["update:modelValue", "blur", "focus", "input", "change"] : ["update:modelValue"];
439
- re.props = () => ({
438
+ ne.emits = (e = !0) => e ? ["update:modelValue", "blur", "focus", "input", "change"] : ["update:modelValue"];
439
+ ne.props = () => ({
440
440
  modelValue: [String, Number, Boolean, Object, Array],
441
441
  name: String,
442
442
  readonly: Boolean,
@@ -481,7 +481,7 @@ const Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
481
481
  }, Symbol.toStringTag, { value: "Module" })), Jn = z({
482
482
  name: "MInput",
483
483
  props: {
484
- ...re.props(),
484
+ ...ne.props(),
485
485
  ...$e.props(),
486
486
  label: {
487
487
  type: String
@@ -524,7 +524,7 @@ const Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
524
524
  default: ""
525
525
  }
526
526
  },
527
- emits: re.emits(),
527
+ emits: ne.emits(),
528
528
  setup(e, { slots: t, emit: a }) {
529
529
  const r = y(null), { focus: n, blur: o } = $e(r), {
530
530
  id: s,
@@ -536,7 +536,7 @@ const Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
536
536
  formError: p,
537
537
  formDisabled: f,
538
538
  formLoading: h
539
- } = re(e, { focus: n, emit: a }), S = y(!1), M = x(e, "name"), O = m(() => !!t["icon-left"]), A = m(() => !!t["icon-right"]), I = m(() => f || e.disabled), _ = m(() => h || e.loading), R = m(() => {
539
+ } = ne(e, { focus: n, emit: a }), S = y(!1), M = x(e, "name"), O = m(() => !!t["icon-left"]), A = m(() => !!t["icon-right"]), I = m(() => f || e.disabled), _ = m(() => h || e.loading), R = m(() => {
540
540
  const P = e.type;
541
541
  return P === "password" ? S.value ? "text" : "password" : P;
542
542
  }), T = m(() => e.loading || e.readonly), v = m(() => [
@@ -612,7 +612,7 @@ function to(e, t, a, r, n, o) {
612
612
  }, [
613
613
  N(e.$slots, "icon-left")
614
614
  ], 2)) : G("", !0),
615
- k("input", ze({
615
+ k("input", Be({
616
616
  ref: "element",
617
617
  id: e.id,
618
618
  type: e.inputType,
@@ -638,7 +638,7 @@ function to(e, t, a, r, n, o) {
638
638
  }, U(e.inputError), 3)) : G("", !0)
639
639
  ], 2);
640
640
  }
641
- const Pt = /* @__PURE__ */ V(Jn, [["render", to]]);
641
+ const Dt = /* @__PURE__ */ V(Jn, [["render", to]]);
642
642
  var Ha = "n5k6jk7", ao = "n5k6jk8", ro = { height: "var(--n5k6jk0)", radius: "var(--n5k6jk1)", paddingX: "var(--n5k6jk2)", paddingY: "var(--n5k6jk3)", borderColor: "var(--n5k6jk4)", backgroundColor: "var(--n5k6jk5)", color: "var(--n5k6jk6)" };
643
643
  const no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
644
644
  __proto__: null,
@@ -703,7 +703,7 @@ function uo(e, t, a, r, n, o) {
703
703
  ]),
704
704
  e.closeable ? (b(), $("button", {
705
705
  key: 0,
706
- onClick: t[0] || (t[0] = Be((...s) => e.close && e.close(...s), ["stop"])),
706
+ onClick: t[0] || (t[0] = Ae((...s) => e.close && e.close(...s), ["stop"])),
707
707
  class: g(e.style.close),
708
708
  tabindex: "0"
709
709
  }, [
@@ -712,7 +712,7 @@ function uo(e, t, a, r, n, o) {
712
712
  ], 2);
713
713
  }
714
714
  const qa = /* @__PURE__ */ V(oo, [["render", uo]]);
715
- var ie = "top", ge = "bottom", ye = "right", ue = "left", wt = "auto", et = [ie, ge, ye, ue], Fe = "start", Ze = "end", co = "clippingParents", Ga = "viewport", Ue = "popper", fo = "reference", ea = /* @__PURE__ */ et.reduce(function(e, t) {
715
+ var ie = "top", ge = "bottom", ye = "right", ue = "left", wt = "auto", et = [ie, ge, ye, ue], Fe = "start", Ze = "end", co = "clippingParents", Ga = "viewport", Ue = "popper", fo = "reference", ta = /* @__PURE__ */ et.reduce(function(e, t) {
716
716
  return e.concat([t + "-" + Fe, t + "-" + Ze]);
717
717
  }, []), Ua = /* @__PURE__ */ [].concat(et, [wt]).reduce(function(e, t) {
718
718
  return e.concat([t, t + "-" + Fe, t + "-" + Ze]);
@@ -729,7 +729,7 @@ function fe(e) {
729
729
  }
730
730
  return e;
731
731
  }
732
- function Le(e) {
732
+ function Ne(e) {
733
733
  var t = fe(e).Element;
734
734
  return e instanceof t || e instanceof Element;
735
735
  }
@@ -737,7 +737,7 @@ function ce(e) {
737
737
  var t = fe(e).HTMLElement;
738
738
  return e instanceof t || e instanceof HTMLElement;
739
739
  }
740
- function Dt(e) {
740
+ function Lt(e) {
741
741
  if (typeof ShadowRoot > "u")
742
742
  return !1;
743
743
  var t = fe(e).ShadowRoot;
@@ -788,7 +788,7 @@ const Co = {
788
788
  function we(e) {
789
789
  return e.split("-")[0];
790
790
  }
791
- var Pe = Math.max, ft = Math.min, We = Math.round;
791
+ var De = Math.max, ft = Math.min, We = Math.round;
792
792
  function Mt() {
793
793
  var e = navigator.userAgentData;
794
794
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -802,7 +802,7 @@ function He(e, t, a) {
802
802
  t === void 0 && (t = !1), a === void 0 && (a = !1);
803
803
  var r = e.getBoundingClientRect(), n = 1, o = 1;
804
804
  t && ce(e) && (n = e.offsetWidth > 0 && We(r.width) / e.offsetWidth || 1, o = e.offsetHeight > 0 && We(r.height) / e.offsetHeight || 1);
805
- var s = Le(e) ? fe(e) : window, i = s.visualViewport, l = !Ka() && a, u = (r.left + (l && i ? i.offsetLeft : 0)) / n, d = (r.top + (l && i ? i.offsetTop : 0)) / o, c = r.width / n, p = r.height / o;
805
+ var s = Ne(e) ? fe(e) : window, i = s.visualViewport, l = !Ka() && a, u = (r.left + (l && i ? i.offsetLeft : 0)) / n, d = (r.top + (l && i ? i.offsetTop : 0)) / o, c = r.width / n, p = r.height / o;
806
806
  return {
807
807
  width: c,
808
808
  height: p,
@@ -814,7 +814,7 @@ function He(e, t, a) {
814
814
  y: d
815
815
  };
816
816
  }
817
- function Lt(e) {
817
+ function Nt(e) {
818
818
  var t = He(e), a = e.offsetWidth, r = e.offsetHeight;
819
819
  return Math.abs(t.width - a) <= 1 && (a = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
820
820
  x: e.offsetLeft,
@@ -827,7 +827,7 @@ function Xa(e, t) {
827
827
  var a = t.getRootNode && t.getRootNode();
828
828
  if (e.contains(t))
829
829
  return !0;
830
- if (a && Dt(a)) {
830
+ if (a && Lt(a)) {
831
831
  var r = t;
832
832
  do {
833
833
  if (r && e.isSameNode(r))
@@ -843,8 +843,8 @@ function Se(e) {
843
843
  function To(e) {
844
844
  return ["table", "td", "th"].indexOf(Ce(e)) >= 0;
845
845
  }
846
- function Ae(e) {
847
- return ((Le(e) ? e.ownerDocument : (
846
+ function Ie(e) {
847
+ return ((Ne(e) ? e.ownerDocument : (
848
848
  // $FlowFixMe[prop-missing]
849
849
  e.document
850
850
  )) || window.document).documentElement;
@@ -856,12 +856,12 @@ function $t(e) {
856
856
  // $FlowFixMe[prop-missing]
857
857
  e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
858
858
  e.parentNode || // DOM Element detected
859
- (Dt(e) ? e.host : null) || // ShadowRoot detected
859
+ (Lt(e) ? e.host : null) || // ShadowRoot detected
860
860
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
861
- Ae(e)
861
+ Ie(e)
862
862
  );
863
863
  }
864
- function ta(e) {
864
+ function aa(e) {
865
865
  return !ce(e) || // https://github.com/popperjs/popper-core/issues/837
866
866
  Se(e).position === "fixed" ? null : e.offsetParent;
867
867
  }
@@ -873,7 +873,7 @@ function Oo(e) {
873
873
  return null;
874
874
  }
875
875
  var n = $t(e);
876
- for (Dt(n) && (n = n.host); ce(n) && ["html", "body"].indexOf(Ce(n)) < 0; ) {
876
+ for (Lt(n) && (n = n.host); ce(n) && ["html", "body"].indexOf(Ce(n)) < 0; ) {
877
877
  var o = Se(n);
878
878
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || t && o.willChange === "filter" || t && o.filter && o.filter !== "none")
879
879
  return n;
@@ -882,15 +882,15 @@ function Oo(e) {
882
882
  return null;
883
883
  }
884
884
  function tt(e) {
885
- for (var t = fe(e), a = ta(e); a && To(a) && Se(a).position === "static"; )
886
- a = ta(a);
885
+ for (var t = fe(e), a = aa(e); a && To(a) && Se(a).position === "static"; )
886
+ a = aa(a);
887
887
  return a && (Ce(a) === "html" || Ce(a) === "body" && Se(a).position === "static") ? t : a || Oo(e) || t;
888
888
  }
889
- function Nt(e) {
889
+ function zt(e) {
890
890
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
891
891
  }
892
892
  function Xe(e, t, a) {
893
- return Pe(e, ft(t, a));
893
+ return De(e, ft(t, a));
894
894
  }
895
895
  function Mo(e, t, a) {
896
896
  var r = Xe(e, t, a);
@@ -918,9 +918,9 @@ var Eo = function(t, a) {
918
918
  })) : t, xa(typeof t != "number" ? t : Za(t, et));
919
919
  };
920
920
  function _o(e) {
921
- var t, a = e.state, r = e.name, n = e.options, o = a.elements.arrow, s = a.modifiersData.popperOffsets, i = we(a.placement), l = Nt(i), u = [ue, ye].indexOf(i) >= 0, d = u ? "height" : "width";
921
+ var t, a = e.state, r = e.name, n = e.options, o = a.elements.arrow, s = a.modifiersData.popperOffsets, i = we(a.placement), l = zt(i), u = [ue, ye].indexOf(i) >= 0, d = u ? "height" : "width";
922
922
  if (!(!o || !s)) {
923
- var c = Eo(n.padding, a), p = Lt(o), f = l === "y" ? ie : ue, h = l === "y" ? ge : ye, S = a.rects.reference[d] + a.rects.reference[l] - s[l] - a.rects.popper[d], M = s[l] - a.rects.reference[l], O = tt(o), A = O ? l === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, I = S / 2 - M / 2, _ = c[f], R = A - p[d] - c[h], T = A / 2 - p[d] / 2 + I, v = Xe(_, T, R), w = l;
923
+ var c = Eo(n.padding, a), p = Nt(o), f = l === "y" ? ie : ue, h = l === "y" ? ge : ye, S = a.rects.reference[d] + a.rects.reference[l] - s[l] - a.rects.popper[d], M = s[l] - a.rects.reference[l], O = tt(o), A = O ? l === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, I = S / 2 - M / 2, _ = c[f], R = A - p[d] - c[h], T = A / 2 - p[d] / 2 + I, v = Xe(_, T, R), w = l;
924
924
  a.modifiersData[r] = (t = {}, t[w] = v, t.centerOffset = v - T, t);
925
925
  }
926
926
  }
@@ -959,7 +959,7 @@ function jo(e, t) {
959
959
  y: We(r * n) / n || 0
960
960
  };
961
961
  }
962
- function aa(e) {
962
+ function ra(e) {
963
963
  var t, a = e.popper, r = e.popperRect, n = e.placement, o = e.variation, s = e.offsets, i = e.position, l = e.gpuAcceleration, u = e.adaptive, d = e.roundOffsets, c = e.isFixed, p = s.x, f = p === void 0 ? 0 : p, h = s.y, S = h === void 0 ? 0 : h, M = typeof d == "function" ? d({
964
964
  x: f,
965
965
  y: S
@@ -971,7 +971,7 @@ function aa(e) {
971
971
  var O = s.hasOwnProperty("x"), A = s.hasOwnProperty("y"), I = ue, _ = ie, R = window;
972
972
  if (u) {
973
973
  var T = tt(a), v = "clientHeight", w = "clientWidth";
974
- if (T === fe(a) && (T = Ae(a), Se(T).position !== "static" && i === "absolute" && (v = "scrollHeight", w = "scrollWidth")), T = T, n === ie || (n === ue || n === ye) && o === Ze) {
974
+ if (T === fe(a) && (T = Ie(a), Se(T).position !== "static" && i === "absolute" && (v = "scrollHeight", w = "scrollWidth")), T = T, n === ie || (n === ue || n === ye) && o === Ze) {
975
975
  _ = ge;
976
976
  var C = c && T === R && R.visualViewport ? R.visualViewport.height : (
977
977
  // $FlowFixMe[prop-missing]
@@ -1023,12 +1023,12 @@ function Ro(e) {
1023
1023
  gpuAcceleration: n,
1024
1024
  isFixed: t.options.strategy === "fixed"
1025
1025
  };
1026
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, aa(Object.assign({}, d, {
1026
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, ra(Object.assign({}, d, {
1027
1027
  offsets: t.modifiersData.popperOffsets,
1028
1028
  position: t.options.strategy,
1029
1029
  adaptive: s,
1030
1030
  roundOffsets: l
1031
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, aa(Object.assign({}, d, {
1031
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, ra(Object.assign({}, d, {
1032
1032
  offsets: t.modifiersData.arrow,
1033
1033
  position: "absolute",
1034
1034
  adaptive: !1,
@@ -1081,23 +1081,23 @@ var zo = {
1081
1081
  start: "end",
1082
1082
  end: "start"
1083
1083
  };
1084
- function ra(e) {
1084
+ function na(e) {
1085
1085
  return e.replace(/start|end/g, function(t) {
1086
1086
  return zo[t];
1087
1087
  });
1088
1088
  }
1089
- function zt(e) {
1089
+ function Vt(e) {
1090
1090
  var t = fe(e), a = t.pageXOffset, r = t.pageYOffset;
1091
1091
  return {
1092
1092
  scrollLeft: a,
1093
1093
  scrollTop: r
1094
1094
  };
1095
1095
  }
1096
- function Vt(e) {
1097
- return He(Ae(e)).left + zt(e).scrollLeft;
1096
+ function Ft(e) {
1097
+ return He(Ie(e)).left + Vt(e).scrollLeft;
1098
1098
  }
1099
1099
  function Vo(e, t) {
1100
- var a = fe(e), r = Ae(e), n = a.visualViewport, o = r.clientWidth, s = r.clientHeight, i = 0, l = 0;
1100
+ var a = fe(e), r = Ie(e), n = a.visualViewport, o = r.clientWidth, s = r.clientHeight, i = 0, l = 0;
1101
1101
  if (n) {
1102
1102
  o = n.width, s = n.height;
1103
1103
  var u = Ka();
@@ -1106,30 +1106,30 @@ function Vo(e, t) {
1106
1106
  return {
1107
1107
  width: o,
1108
1108
  height: s,
1109
- x: i + Vt(e),
1109
+ x: i + Ft(e),
1110
1110
  y: l
1111
1111
  };
1112
1112
  }
1113
1113
  function Fo(e) {
1114
- var t, a = Ae(e), r = zt(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, o = Pe(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), s = Pe(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), i = -r.scrollLeft + Vt(e), l = -r.scrollTop;
1115
- return Se(n || a).direction === "rtl" && (i += Pe(a.clientWidth, n ? n.clientWidth : 0) - o), {
1114
+ var t, a = Ie(e), r = Vt(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, o = De(a.scrollWidth, a.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), s = De(a.scrollHeight, a.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), i = -r.scrollLeft + Ft(e), l = -r.scrollTop;
1115
+ return Se(n || a).direction === "rtl" && (i += De(a.clientWidth, n ? n.clientWidth : 0) - o), {
1116
1116
  width: o,
1117
1117
  height: s,
1118
1118
  x: i,
1119
1119
  y: l
1120
1120
  };
1121
1121
  }
1122
- function Ft(e) {
1122
+ function Wt(e) {
1123
1123
  var t = Se(e), a = t.overflow, r = t.overflowX, n = t.overflowY;
1124
1124
  return /auto|scroll|overlay|hidden/.test(a + n + r);
1125
1125
  }
1126
1126
  function Ja(e) {
1127
- return ["html", "body", "#document"].indexOf(Ce(e)) >= 0 ? e.ownerDocument.body : ce(e) && Ft(e) ? e : Ja($t(e));
1127
+ return ["html", "body", "#document"].indexOf(Ce(e)) >= 0 ? e.ownerDocument.body : ce(e) && Wt(e) ? e : Ja($t(e));
1128
1128
  }
1129
1129
  function Ye(e, t) {
1130
1130
  var a;
1131
1131
  t === void 0 && (t = []);
1132
- var r = Ja(e), n = r === ((a = e.ownerDocument) == null ? void 0 : a.body), o = fe(r), s = n ? [o].concat(o.visualViewport || [], Ft(r) ? r : []) : r, i = t.concat(s);
1132
+ var r = Ja(e), n = r === ((a = e.ownerDocument) == null ? void 0 : a.body), o = fe(r), s = n ? [o].concat(o.visualViewport || [], Wt(r) ? r : []) : r, i = t.concat(s);
1133
1133
  return n ? i : (
1134
1134
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
1135
1135
  i.concat(Ye($t(s)))
@@ -1147,20 +1147,20 @@ function Wo(e, t) {
1147
1147
  var a = He(e, !1, t === "fixed");
1148
1148
  return a.top = a.top + e.clientTop, a.left = a.left + e.clientLeft, a.bottom = a.top + e.clientHeight, a.right = a.left + e.clientWidth, a.width = e.clientWidth, a.height = e.clientHeight, a.x = a.left, a.y = a.top, a;
1149
1149
  }
1150
- function na(e, t, a) {
1151
- return t === Ga ? Et(Vo(e, a)) : Le(t) ? Wo(t, a) : Et(Fo(Ae(e)));
1150
+ function oa(e, t, a) {
1151
+ return t === Ga ? Et(Vo(e, a)) : Ne(t) ? Wo(t, a) : Et(Fo(Ie(e)));
1152
1152
  }
1153
1153
  function Ho(e) {
1154
1154
  var t = Ye($t(e)), a = ["absolute", "fixed"].indexOf(Se(e).position) >= 0, r = a && ce(e) ? tt(e) : e;
1155
- return Le(r) ? t.filter(function(n) {
1156
- return Le(n) && Xa(n, r) && Ce(n) !== "body";
1155
+ return Ne(r) ? t.filter(function(n) {
1156
+ return Ne(n) && Xa(n, r) && Ce(n) !== "body";
1157
1157
  }) : [];
1158
1158
  }
1159
1159
  function qo(e, t, a, r) {
1160
1160
  var n = t === "clippingParents" ? Ho(e) : [].concat(t), o = [].concat(n, [a]), s = o[0], i = o.reduce(function(l, u) {
1161
- var d = na(e, u, r);
1162
- return l.top = Pe(d.top, l.top), l.right = ft(d.right, l.right), l.bottom = ft(d.bottom, l.bottom), l.left = Pe(d.left, l.left), l;
1163
- }, na(e, s, r));
1161
+ var d = oa(e, u, r);
1162
+ return l.top = De(d.top, l.top), l.right = ft(d.right, l.right), l.bottom = ft(d.bottom, l.bottom), l.left = De(d.left, l.left), l;
1163
+ }, oa(e, s, r));
1164
1164
  return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
1165
1165
  }
1166
1166
  function Qa(e) {
@@ -1196,7 +1196,7 @@ function Qa(e) {
1196
1196
  y: t.y
1197
1197
  };
1198
1198
  }
1199
- var u = n ? Nt(n) : null;
1199
+ var u = n ? zt(n) : null;
1200
1200
  if (u != null) {
1201
1201
  var d = u === "y" ? "height" : "width";
1202
1202
  switch (o) {
@@ -1212,7 +1212,7 @@ function Qa(e) {
1212
1212
  }
1213
1213
  function Je(e, t) {
1214
1214
  t === void 0 && (t = {});
1215
- var a = t, r = a.placement, n = r === void 0 ? e.placement : r, o = a.strategy, s = o === void 0 ? e.strategy : o, i = a.boundary, l = i === void 0 ? co : i, u = a.rootBoundary, d = u === void 0 ? Ga : u, c = a.elementContext, p = c === void 0 ? Ue : c, f = a.altBoundary, h = f === void 0 ? !1 : f, S = a.padding, M = S === void 0 ? 0 : S, O = xa(typeof M != "number" ? M : Za(M, et)), A = p === Ue ? fo : Ue, I = e.rects.popper, _ = e.elements[h ? A : p], R = qo(Le(_) ? _ : _.contextElement || Ae(e.elements.popper), l, d, s), T = He(e.elements.reference), v = Qa({
1215
+ var a = t, r = a.placement, n = r === void 0 ? e.placement : r, o = a.strategy, s = o === void 0 ? e.strategy : o, i = a.boundary, l = i === void 0 ? co : i, u = a.rootBoundary, d = u === void 0 ? Ga : u, c = a.elementContext, p = c === void 0 ? Ue : c, f = a.altBoundary, h = f === void 0 ? !1 : f, S = a.padding, M = S === void 0 ? 0 : S, O = xa(typeof M != "number" ? M : Za(M, et)), A = p === Ue ? fo : Ue, I = e.rects.popper, _ = e.elements[h ? A : p], R = qo(Ne(_) ? _ : _.contextElement || Ie(e.elements.popper), l, d, s), T = He(e.elements.reference), v = Qa({
1216
1216
  reference: T,
1217
1217
  element: I,
1218
1218
  strategy: "absolute",
@@ -1226,15 +1226,15 @@ function Je(e, t) {
1226
1226
  if (p === Ue && j) {
1227
1227
  var P = j[n];
1228
1228
  Object.keys(E).forEach(function(W) {
1229
- var K = [ye, ge].indexOf(W) >= 0 ? 1 : -1, ne = [ie, ge].indexOf(W) >= 0 ? "y" : "x";
1230
- E[W] += P[ne] * K;
1229
+ var K = [ye, ge].indexOf(W) >= 0 ? 1 : -1, oe = [ie, ge].indexOf(W) >= 0 ? "y" : "x";
1230
+ E[W] += P[oe] * K;
1231
1231
  });
1232
1232
  }
1233
1233
  return E;
1234
1234
  }
1235
1235
  function Go(e, t) {
1236
1236
  t === void 0 && (t = {});
1237
- var a = t, r = a.placement, n = a.boundary, o = a.rootBoundary, s = a.padding, i = a.flipVariations, l = a.allowedAutoPlacements, u = l === void 0 ? Ua : l, d = qe(r), c = d ? i ? ea : ea.filter(function(h) {
1237
+ var a = t, r = a.placement, n = a.boundary, o = a.rootBoundary, s = a.padding, i = a.flipVariations, l = a.allowedAutoPlacements, u = l === void 0 ? Ua : l, d = qe(r), c = d ? i ? ta : ta.filter(function(h) {
1238
1238
  return qe(h) === d;
1239
1239
  }) : et, p = c.filter(function(h) {
1240
1240
  return u.indexOf(h) >= 0;
@@ -1256,7 +1256,7 @@ function Uo(e) {
1256
1256
  if (we(e) === wt)
1257
1257
  return [];
1258
1258
  var t = dt(e);
1259
- return [ra(e), t, ra(t)];
1259
+ return [na(e), t, na(t)];
1260
1260
  }
1261
1261
  function Ko(e) {
1262
1262
  var t = e.state, a = e.options, r = e.name;
@@ -1271,25 +1271,25 @@ function Ko(e) {
1271
1271
  allowedAutoPlacements: S
1272
1272
  }) : H);
1273
1273
  }, []), R = t.rects.reference, T = t.rects.popper, v = /* @__PURE__ */ new Map(), w = !0, C = _[0], E = 0; E < _.length; E++) {
1274
- var j = _[E], P = we(j), W = qe(j) === Fe, K = [ie, ge].indexOf(P) >= 0, ne = K ? "width" : "height", L = Je(t, {
1274
+ var j = _[E], P = we(j), W = qe(j) === Fe, K = [ie, ge].indexOf(P) >= 0, oe = K ? "width" : "height", L = Je(t, {
1275
1275
  placement: j,
1276
1276
  boundary: d,
1277
1277
  rootBoundary: c,
1278
1278
  altBoundary: p,
1279
1279
  padding: u
1280
1280
  }), J = K ? W ? ye : ue : W ? ge : ie;
1281
- R[ne] > T[ne] && (J = dt(J));
1282
- var ve = dt(J), te = [];
1283
- if (o && te.push(L[P] <= 0), i && te.push(L[J] <= 0, L[ve] <= 0), te.every(function(Oe) {
1281
+ R[oe] > T[oe] && (J = dt(J));
1282
+ var ve = dt(J), ae = [];
1283
+ if (o && ae.push(L[P] <= 0), i && ae.push(L[J] <= 0, L[ve] <= 0), ae.every(function(Oe) {
1284
1284
  return Oe;
1285
1285
  })) {
1286
1286
  C = j, w = !1;
1287
1287
  break;
1288
1288
  }
1289
- v.set(j, te);
1289
+ v.set(j, ae);
1290
1290
  }
1291
1291
  if (w)
1292
- for (var oe = h ? 3 : 1, Ie = function(H) {
1292
+ for (var se = h ? 3 : 1, je = function(H) {
1293
1293
  var Q = _.find(function(B) {
1294
1294
  var D = v.get(B);
1295
1295
  if (D)
@@ -1299,8 +1299,8 @@ function Ko(e) {
1299
1299
  });
1300
1300
  if (Q)
1301
1301
  return C = Q, "break";
1302
- }, he = oe; he > 0; he--) {
1303
- var Me = Ie(he);
1302
+ }, he = se; he > 0; he--) {
1303
+ var Me = je(he);
1304
1304
  if (Me === "break")
1305
1305
  break;
1306
1306
  }
@@ -1317,7 +1317,7 @@ const Xo = {
1317
1317
  _skip: !1
1318
1318
  }
1319
1319
  };
1320
- function oa(e, t, a) {
1320
+ function sa(e, t, a) {
1321
1321
  return a === void 0 && (a = {
1322
1322
  x: 0,
1323
1323
  y: 0
@@ -1328,7 +1328,7 @@ function oa(e, t, a) {
1328
1328
  left: e.left - t.width - a.x
1329
1329
  };
1330
1330
  }
1331
- function sa(e) {
1331
+ function la(e) {
1332
1332
  return [ie, ye, ge, ue].some(function(t) {
1333
1333
  return e[t] >= 0;
1334
1334
  });
@@ -1338,7 +1338,7 @@ function Yo(e) {
1338
1338
  elementContext: "reference"
1339
1339
  }), i = Je(t, {
1340
1340
  altBoundary: !0
1341
- }), l = oa(s, r), u = oa(i, n, o), d = sa(l), c = sa(u);
1341
+ }), l = sa(s, r), u = sa(i, n, o), d = la(l), c = la(u);
1342
1342
  t.modifiersData[a] = {
1343
1343
  referenceClippingOffsets: l,
1344
1344
  popperEscapeOffsets: u,
@@ -1406,7 +1406,7 @@ function rs(e) {
1406
1406
  rootBoundary: u,
1407
1407
  padding: c,
1408
1408
  altBoundary: d
1409
- }), O = we(t.placement), A = qe(t.placement), I = !A, _ = Nt(O), R = as(_), T = t.modifiersData.popperOffsets, v = t.rects.reference, w = t.rects.popper, C = typeof S == "function" ? S(Object.assign({}, t.rects, {
1409
+ }), O = we(t.placement), A = qe(t.placement), I = !A, _ = zt(O), R = as(_), T = t.modifiersData.popperOffsets, v = t.rects.reference, w = t.rects.popper, C = typeof S == "function" ? S(Object.assign({}, t.rects, {
1410
1410
  placement: t.placement
1411
1411
  })) : S, E = typeof C == "number" ? {
1412
1412
  mainAxis: C,
@@ -1420,15 +1420,15 @@ function rs(e) {
1420
1420
  };
1421
1421
  if (T) {
1422
1422
  if (o) {
1423
- var W, K = _ === "y" ? ie : ue, ne = _ === "y" ? ge : ye, L = _ === "y" ? "height" : "width", J = T[_], ve = J + M[K], te = J - M[ne], oe = f ? -w[L] / 2 : 0, Ie = A === Fe ? v[L] : w[L], he = A === Fe ? -w[L] : -v[L], Me = t.elements.arrow, Oe = f && Me ? Lt(Me) : {
1423
+ var W, K = _ === "y" ? ie : ue, oe = _ === "y" ? ge : ye, L = _ === "y" ? "height" : "width", J = T[_], ve = J + M[K], ae = J - M[oe], se = f ? -w[L] / 2 : 0, je = A === Fe ? v[L] : w[L], he = A === Fe ? -w[L] : -v[L], Me = t.elements.arrow, Oe = f && Me ? Nt(Me) : {
1424
1424
  width: 0,
1425
1425
  height: 0
1426
- }, H = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ya(), Q = H[K], B = H[ne], D = Xe(0, v[L], Oe[L]), q = I ? v[L] / 2 - oe - D - Q - E.mainAxis : Ie - D - Q - E.mainAxis, Yr = I ? -v[L] / 2 + oe + D + B + E.mainAxis : he + D + B + E.mainAxis, kt = t.elements.arrow && tt(t.elements.arrow), xr = kt ? _ === "y" ? kt.clientTop || 0 : kt.clientLeft || 0 : 0, qt = (W = j == null ? void 0 : j[_]) != null ? W : 0, Zr = J + q - qt - xr, Jr = J + Yr - qt, Gt = Xe(f ? ft(ve, Zr) : ve, J, f ? Pe(te, Jr) : te);
1427
- T[_] = Gt, P[_] = Gt - J;
1426
+ }, H = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ya(), Q = H[K], B = H[oe], D = Xe(0, v[L], Oe[L]), q = I ? v[L] / 2 - se - D - Q - E.mainAxis : je - D - Q - E.mainAxis, Yr = I ? -v[L] / 2 + se + D + B + E.mainAxis : he + D + B + E.mainAxis, kt = t.elements.arrow && tt(t.elements.arrow), xr = kt ? _ === "y" ? kt.clientTop || 0 : kt.clientLeft || 0 : 0, Gt = (W = j == null ? void 0 : j[_]) != null ? W : 0, Zr = J + q - Gt - xr, Jr = J + Yr - Gt, Ut = Xe(f ? ft(ve, Zr) : ve, J, f ? De(ae, Jr) : ae);
1427
+ T[_] = Ut, P[_] = Ut - J;
1428
1428
  }
1429
1429
  if (i) {
1430
- var Ut, Qr = _ === "x" ? ie : ue, en = _ === "x" ? ge : ye, je = T[R], rt = R === "y" ? "height" : "width", Kt = je + M[Qr], Xt = je - M[en], Ct = [ie, ue].indexOf(O) !== -1, Yt = (Ut = j == null ? void 0 : j[R]) != null ? Ut : 0, xt = Ct ? Kt : je - v[rt] - w[rt] - Yt + E.altAxis, Zt = Ct ? je + v[rt] + w[rt] - Yt - E.altAxis : Xt, Jt = f && Ct ? Mo(xt, je, Zt) : Xe(f ? xt : Kt, je, f ? Zt : Xt);
1431
- T[R] = Jt, P[R] = Jt - je;
1430
+ var Kt, Qr = _ === "x" ? ie : ue, en = _ === "x" ? ge : ye, Re = T[R], rt = R === "y" ? "height" : "width", Xt = Re + M[Qr], Yt = Re - M[en], Ct = [ie, ue].indexOf(O) !== -1, xt = (Kt = j == null ? void 0 : j[R]) != null ? Kt : 0, Zt = Ct ? Xt : Re - v[rt] - w[rt] - xt + E.altAxis, Jt = Ct ? Re + v[rt] + w[rt] - xt - E.altAxis : Yt, Qt = f && Ct ? Mo(Zt, Re, Jt) : Xe(f ? Zt : Xt, Re, f ? Jt : Yt);
1431
+ T[R] = Qt, P[R] = Qt - Re;
1432
1432
  }
1433
1433
  t.modifiersData[r] = P;
1434
1434
  }
@@ -1447,7 +1447,7 @@ function os(e) {
1447
1447
  };
1448
1448
  }
1449
1449
  function ss(e) {
1450
- return e === fe(e) || !ce(e) ? zt(e) : os(e);
1450
+ return e === fe(e) || !ce(e) ? Vt(e) : os(e);
1451
1451
  }
1452
1452
  function ls(e) {
1453
1453
  var t = e.getBoundingClientRect(), a = We(t.width) / e.offsetWidth || 1, r = We(t.height) / e.offsetHeight || 1;
@@ -1455,7 +1455,7 @@ function ls(e) {
1455
1455
  }
1456
1456
  function is(e, t, a) {
1457
1457
  a === void 0 && (a = !1);
1458
- var r = ce(t), n = ce(t) && ls(t), o = Ae(t), s = He(e, n, a), i = {
1458
+ var r = ce(t), n = ce(t) && ls(t), o = Ie(t), s = He(e, n, a), i = {
1459
1459
  scrollLeft: 0,
1460
1460
  scrollTop: 0
1461
1461
  }, l = {
@@ -1463,7 +1463,7 @@ function is(e, t, a) {
1463
1463
  y: 0
1464
1464
  };
1465
1465
  return (r || !r && !a) && ((Ce(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
1466
- Ft(o)) && (i = ss(t)), ce(t) ? (l = He(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : o && (l.x = Vt(o))), {
1466
+ Wt(o)) && (i = ss(t)), ce(t) ? (l = He(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : o && (l.x = Ft(o))), {
1467
1467
  x: s.left + i.scrollLeft - l.x,
1468
1468
  y: s.top + i.scrollTop - l.y,
1469
1469
  width: s.width,
@@ -1514,39 +1514,39 @@ function Ee(e) {
1514
1514
  return n.replace(/%s/, o);
1515
1515
  }, e);
1516
1516
  }
1517
- var Re = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', fs = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', la = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
1517
+ var Pe = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', fs = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', ia = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
1518
1518
  function ps(e) {
1519
1519
  e.forEach(function(t) {
1520
- [].concat(Object.keys(t), la).filter(function(a, r, n) {
1520
+ [].concat(Object.keys(t), ia).filter(function(a, r, n) {
1521
1521
  return n.indexOf(a) === r;
1522
1522
  }).forEach(function(a) {
1523
1523
  switch (a) {
1524
1524
  case "name":
1525
- typeof t.name != "string" && console.error(Ee(Re, String(t.name), '"name"', '"string"', '"' + String(t.name) + '"'));
1525
+ typeof t.name != "string" && console.error(Ee(Pe, String(t.name), '"name"', '"string"', '"' + String(t.name) + '"'));
1526
1526
  break;
1527
1527
  case "enabled":
1528
- typeof t.enabled != "boolean" && console.error(Ee(Re, t.name, '"enabled"', '"boolean"', '"' + String(t.enabled) + '"'));
1528
+ typeof t.enabled != "boolean" && console.error(Ee(Pe, t.name, '"enabled"', '"boolean"', '"' + String(t.enabled) + '"'));
1529
1529
  break;
1530
1530
  case "phase":
1531
- Ot.indexOf(t.phase) < 0 && console.error(Ee(Re, t.name, '"phase"', "either " + Ot.join(", "), '"' + String(t.phase) + '"'));
1531
+ Ot.indexOf(t.phase) < 0 && console.error(Ee(Pe, t.name, '"phase"', "either " + Ot.join(", "), '"' + String(t.phase) + '"'));
1532
1532
  break;
1533
1533
  case "fn":
1534
- typeof t.fn != "function" && console.error(Ee(Re, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'));
1534
+ typeof t.fn != "function" && console.error(Ee(Pe, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'));
1535
1535
  break;
1536
1536
  case "effect":
1537
- t.effect != null && typeof t.effect != "function" && console.error(Ee(Re, t.name, '"effect"', '"function"', '"' + String(t.fn) + '"'));
1537
+ t.effect != null && typeof t.effect != "function" && console.error(Ee(Pe, t.name, '"effect"', '"function"', '"' + String(t.fn) + '"'));
1538
1538
  break;
1539
1539
  case "requires":
1540
- t.requires != null && !Array.isArray(t.requires) && console.error(Ee(Re, t.name, '"requires"', '"array"', '"' + String(t.requires) + '"'));
1540
+ t.requires != null && !Array.isArray(t.requires) && console.error(Ee(Pe, t.name, '"requires"', '"array"', '"' + String(t.requires) + '"'));
1541
1541
  break;
1542
1542
  case "requiresIfExists":
1543
- Array.isArray(t.requiresIfExists) || console.error(Ee(Re, t.name, '"requiresIfExists"', '"array"', '"' + String(t.requiresIfExists) + '"'));
1543
+ Array.isArray(t.requiresIfExists) || console.error(Ee(Pe, t.name, '"requiresIfExists"', '"array"', '"' + String(t.requiresIfExists) + '"'));
1544
1544
  break;
1545
1545
  case "options":
1546
1546
  case "data":
1547
1547
  break;
1548
1548
  default:
1549
- console.error('PopperJS: an invalid property has been provided to the "' + t.name + '" modifier, valid properties are ' + la.map(function(r) {
1549
+ console.error('PopperJS: an invalid property has been provided to the "' + t.name + '" modifier, valid properties are ' + ia.map(function(r) {
1550
1550
  return '"' + r + '"';
1551
1551
  }).join(", ") + '; but "' + a + '" was provided.');
1552
1552
  }
@@ -1578,12 +1578,12 @@ function ms(e) {
1578
1578
  return t[a];
1579
1579
  });
1580
1580
  }
1581
- var ia = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", bs = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", ua = {
1581
+ var ua = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", bs = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", da = {
1582
1582
  placement: "bottom",
1583
1583
  modifiers: [],
1584
1584
  strategy: "absolute"
1585
1585
  };
1586
- function da() {
1586
+ function ca() {
1587
1587
  for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
1588
1588
  t[a] = arguments[a];
1589
1589
  return !t.some(function(r) {
@@ -1592,13 +1592,13 @@ function da() {
1592
1592
  }
1593
1593
  function gs(e) {
1594
1594
  e === void 0 && (e = {});
1595
- var t = e, a = t.defaultModifiers, r = a === void 0 ? [] : a, n = t.defaultOptions, o = n === void 0 ? ua : n;
1595
+ var t = e, a = t.defaultModifiers, r = a === void 0 ? [] : a, n = t.defaultOptions, o = n === void 0 ? da : n;
1596
1596
  return function(i, l, u) {
1597
1597
  u === void 0 && (u = o);
1598
1598
  var d = {
1599
1599
  placement: "bottom",
1600
1600
  orderedModifiers: [],
1601
- options: Object.assign({}, ua, o),
1601
+ options: Object.assign({}, da, o),
1602
1602
  modifiersData: {},
1603
1603
  elements: {
1604
1604
  reference: i,
@@ -1611,7 +1611,7 @@ function gs(e) {
1611
1611
  setOptions: function(O) {
1612
1612
  var A = typeof O == "function" ? O(d.options) : O;
1613
1613
  S(), d.options = Object.assign({}, o, d.options, A), d.scrollParents = {
1614
- reference: Le(i) ? Ye(i) : i.contextElement ? Ye(i.contextElement) : [],
1614
+ reference: Ne(i) ? Ye(i) : i.contextElement ? Ye(i.contextElement) : [],
1615
1615
  popper: Ye(l)
1616
1616
  };
1617
1617
  var I = ds(ms([].concat(r, d.options.modifiers)));
@@ -1644,13 +1644,13 @@ function gs(e) {
1644
1644
  forceUpdate: function() {
1645
1645
  if (!p) {
1646
1646
  var O = d.elements, A = O.reference, I = O.popper;
1647
- if (!da(A, I)) {
1648
- process.env.NODE_ENV !== "production" && console.error(ia);
1647
+ if (!ca(A, I)) {
1648
+ process.env.NODE_ENV !== "production" && console.error(ua);
1649
1649
  return;
1650
1650
  }
1651
1651
  d.rects = {
1652
1652
  reference: is(A, tt(I), d.options.strategy === "fixed"),
1653
- popper: Lt(I)
1653
+ popper: Nt(I)
1654
1654
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(j) {
1655
1655
  return d.modifiersData[j.name] = Object.assign({}, j.data);
1656
1656
  });
@@ -1684,8 +1684,8 @@ function gs(e) {
1684
1684
  S(), p = !0;
1685
1685
  }
1686
1686
  };
1687
- if (!da(i, l))
1688
- return process.env.NODE_ENV !== "production" && console.error(ia), f;
1687
+ if (!ca(i, l))
1688
+ return process.env.NODE_ENV !== "production" && console.error(ua), f;
1689
1689
  f.setOptions(u).then(function(M) {
1690
1690
  !p && u.onFirstUpdate && u.onFirstUpdate(M);
1691
1691
  });
@@ -1776,10 +1776,10 @@ function St(e) {
1776
1776
  a && F(a, (O) => {
1777
1777
  h(O), p();
1778
1778
  }), pe(() => {
1779
- De(f);
1779
+ Le(f);
1780
1780
  }), It(M);
1781
1781
  function p() {
1782
- De(() => {
1782
+ Le(() => {
1783
1783
  u && u.forceUpdate(), r.value && (d.value = r.value.clientWidth);
1784
1784
  });
1785
1785
  }
@@ -1815,9 +1815,9 @@ function $s(e) {
1815
1815
  return t === "bottom" || t !== "top" && a === "start" ? "center top" : "center bottom";
1816
1816
  }
1817
1817
  }
1818
- var ca;
1818
+ var fa;
1819
1819
  const er = typeof window < "u", Ss = (e) => typeof e == "number", ks = (e) => typeof e == "string", tr = () => {
1820
- }, Cs = er && ((ca = window == null ? void 0 : window.navigator) == null ? void 0 : ca.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1820
+ }, Cs = er && ((fa = window == null ? void 0 : window.navigator) == null ? void 0 : fa.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1821
1821
  function ar(e) {
1822
1822
  return typeof e == "function" ? e() : Ba(e);
1823
1823
  }
@@ -1844,12 +1844,12 @@ function X(...e) {
1844
1844
  };
1845
1845
  return rr(u), u;
1846
1846
  }
1847
- let fa = !1;
1848
- function Wt(e, t, a = {}) {
1847
+ let pa = !1;
1848
+ function Ht(e, t, a = {}) {
1849
1849
  const { window: r = at, ignore: n = [], capture: o = !0, detectIframe: s = !1 } = a;
1850
1850
  if (!r)
1851
1851
  return;
1852
- Cs && !fa && (fa = !0, Array.from(r.document.body.children).forEach((p) => p.addEventListener("click", tr)));
1852
+ Cs && !pa && (pa = !0, Array.from(r.document.body.children).forEach((p) => p.addEventListener("click", tr)));
1853
1853
  let i = !0;
1854
1854
  const l = (p) => n.some((f) => {
1855
1855
  if (typeof f == "string")
@@ -1891,8 +1891,8 @@ function Os(e) {
1891
1891
  const t = Ts();
1892
1892
  return m(() => (t.value, !!e()));
1893
1893
  }
1894
- const pa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, va = "__vueuse_ssr_handlers__";
1895
- pa[va] = pa[va] || {};
1894
+ const va = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ma = "__vueuse_ssr_handlers__";
1895
+ va[ma] = va[ma] || {};
1896
1896
  function Ms(e = {}) {
1897
1897
  const { initialValue: t = "" } = e, a = Os(() => typeof window < "u" && "EyeDropper" in window), r = y(t);
1898
1898
  async function n(o) {
@@ -2010,9 +2010,9 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2010
2010
  wrapper: ir
2011
2011
  }, Symbol.toStringTag, { value: "Module" })), Us = z({
2012
2012
  name: "MSelect",
2013
- emits: re.emits(),
2013
+ emits: ne.emits(),
2014
2014
  props: {
2015
- ...re.props(),
2015
+ ...ne.props(),
2016
2016
  ...$e.props(),
2017
2017
  label: {
2018
2018
  type: String
@@ -2070,7 +2070,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2070
2070
  }
2071
2071
  },
2072
2072
  components: {
2073
- MInput: Pt,
2073
+ MInput: Dt,
2074
2074
  MTag: qa
2075
2075
  },
2076
2076
  setup(e, { emit: t }) {
@@ -2081,7 +2081,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2081
2081
  formError: _,
2082
2082
  formDisabled: R,
2083
2083
  formLoading: T
2084
- } = re(e, { focus: S, emit: t, withListeners: !1 }), { popper: v } = St({
2084
+ } = ne(e, { focus: S, emit: t, withListeners: !1 }), { popper: v } = St({
2085
2085
  placement: c,
2086
2086
  transfer: p,
2087
2087
  reference: a,
@@ -2106,7 +2106,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2106
2106
  value: D,
2107
2107
  label: B[e.optionLabel],
2108
2108
  active: q,
2109
- onClick: () => ne(D)
2109
+ onClick: () => oe(D)
2110
2110
  };
2111
2111
  }).filter((B) => e.multiple && Array.isArray(E.value) ? !E.value.includes(B.value) : !0) : e.options.map((B) => {
2112
2112
  if (B[e.optionValue] === void 0)
@@ -2118,7 +2118,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2118
2118
  value: D,
2119
2119
  label: B[e.optionLabel],
2120
2120
  active: q,
2121
- onClick: () => ne(D)
2121
+ onClick: () => oe(D)
2122
2122
  };
2123
2123
  }).filter((B) => e.multiple && Array.isArray(E.value) ? !E.value.includes(B.value) : !0));
2124
2124
  function W() {
@@ -2133,7 +2133,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2133
2133
  q < 0 && (q = P.value.length - 1), i.value = q;
2134
2134
  }
2135
2135
  }
2136
- function ne(B) {
2136
+ function oe(B) {
2137
2137
  if (P.value.find((q) => q.value === B))
2138
2138
  if (e.multiple)
2139
2139
  if (Array.isArray(E.value)) {
@@ -2174,7 +2174,7 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2174
2174
  l.value = !0;
2175
2175
  return;
2176
2176
  }
2177
- typeof i.value < "u" && (ne(P.value[i.value].value), e.multiple || (l.value = !1));
2177
+ typeof i.value < "u" && (oe(P.value[i.value].value), e.multiple || (l.value = !1));
2178
2178
  break;
2179
2179
  case "Escape":
2180
2180
  if (B.preventDefault(), B.stopPropagation(), !l.value)
@@ -2186,12 +2186,12 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2186
2186
  function ve(B) {
2187
2187
  console.log(B);
2188
2188
  }
2189
- const te = m(() => `m-transition__${e.transitionName}`), oe = m(() => [
2189
+ const ae = m(() => `m-transition__${e.transitionName}`), se = m(() => [
2190
2190
  "m-select__container",
2191
2191
  {
2192
2192
  "m-form__input": A
2193
2193
  }
2194
- ]), Ie = m(() => [
2194
+ ]), je = m(() => [
2195
2195
  ir,
2196
2196
  {
2197
2197
  [_t]: u.value
@@ -2212,14 +2212,14 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2212
2212
  const D = e.options.find((q) => q[e.optionValue] === B);
2213
2213
  return D ? D[e.optionLabel] : null;
2214
2214
  }
2215
- X(s, "keydown", J), X(o, "keydown", J), Wt(a, () => {
2215
+ X(s, "keydown", J), X(o, "keydown", J), Ht(a, () => {
2216
2216
  l.value = !1;
2217
2217
  }, { ignore: [o, v] }), ht(() => {
2218
2218
  a.value && l.value && (f.value = a.value.offsetWidth);
2219
2219
  }), F(i, (B) => {
2220
2220
  h.value && typeof B < "u" && n.value && n.value[B].scrollIntoView({ block: "nearest", inline: "nearest" });
2221
2221
  }), F(l, (B) => {
2222
- De(() => {
2222
+ Le(() => {
2223
2223
  if (B && n.value) {
2224
2224
  const D = P.value.findIndex((q) => q.value === E.value);
2225
2225
  D !== -1 && (n.value[D].scrollIntoView({ block: "center", inline: "nearest" }), i.value = D);
@@ -2248,15 +2248,15 @@ const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2248
2248
  computedOptions: P,
2249
2249
  selectedIndex: i,
2250
2250
  search: d,
2251
- containerComputedClasses: oe,
2251
+ containerComputedClasses: se,
2252
2252
  selectComputedClasses: he,
2253
- computedWrapperClasses: Ie,
2253
+ computedWrapperClasses: je,
2254
2254
  computedConsistentWidth: j,
2255
2255
  getSelectedLabel: Me,
2256
2256
  openSelect: W,
2257
2257
  removeSelected: L,
2258
2258
  inputError: Oe,
2259
- transitionName: te,
2259
+ transitionName: ae,
2260
2260
  inputListeners: I,
2261
2261
  style: Gs,
2262
2262
  focused: u
@@ -2279,7 +2279,7 @@ function Js(e, t, a, r, n, o) {
2279
2279
  key: 1,
2280
2280
  class: g(e.style.description)
2281
2281
  }, U(e.description), 3)) : G("", !0),
2282
- k("div", ze({ class: e.computedWrapperClasses }, yt(e.inputListeners, !0), {
2282
+ k("div", Be({ class: e.computedWrapperClasses }, yt(e.inputListeners, !0), {
2283
2283
  id: e.id,
2284
2284
  ref: "container",
2285
2285
  "aria-disabled": e.disabled ? "true" : "false",
@@ -2290,13 +2290,13 @@ function Js(e, t, a, r, n, o) {
2290
2290
  k("div", {
2291
2291
  class: g(e.selectComputedClasses)
2292
2292
  }, [
2293
- e.multiple && Array.isArray(e.selected) && e.selected.length > 0 ? (b(!0), $(Z, { key: 0 }, me(e.selected, (l) => (b(), ae(s, {
2293
+ e.multiple && Array.isArray(e.selected) && e.selected.length > 0 ? (b(!0), $(Z, { key: 0 }, me(e.selected, (l) => (b(), te(s, {
2294
2294
  key: l,
2295
2295
  closeable: !0,
2296
2296
  onClose: (u) => e.removeSelected(l),
2297
2297
  size: e.size
2298
2298
  }, {
2299
- default: se(() => [
2299
+ default: re(() => [
2300
2300
  be(U(e.getSelectedLabel(l)), 1)
2301
2301
  ]),
2302
2302
  _: 2
@@ -2307,9 +2307,9 @@ function Js(e, t, a, r, n, o) {
2307
2307
  class: g(e.style.placeholder)
2308
2308
  }, U(e.placeholder), 3))
2309
2309
  ], 2),
2310
- (b(), ae(Ve, { to: "body" }, [
2310
+ (b(), te(Ve, { to: "body" }, [
2311
2311
  ee(ct, { name: e.transitionName }, {
2312
- default: se(() => [
2312
+ default: re(() => [
2313
2313
  e.isOpen ? (b(), $("div", {
2314
2314
  key: 0,
2315
2315
  class: g(e.style.menu),
@@ -2373,9 +2373,9 @@ const ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2373
2373
  vars: nl
2374
2374
  }, Symbol.toStringTag, { value: "Module" })), sl = z({
2375
2375
  name: "Checkbox",
2376
- emits: re.emits(),
2376
+ emits: ne.emits(),
2377
2377
  props: {
2378
- ...re.props(),
2378
+ ...ne.props(),
2379
2379
  ...$e.props(),
2380
2380
  label: {
2381
2381
  type: String
@@ -2408,7 +2408,7 @@ const ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2408
2408
  formDisabled: p,
2409
2409
  formLoading: f,
2410
2410
  inputListeners: h
2411
- } = re(e, { focus: n, emit: a }), S = m(() => p || e.disabled || e.loading), M = x(e, "name"), O = y(!1), A = m(() => !!t.default), I = m(() => [
2411
+ } = ne(e, { focus: n, emit: a }), S = m(() => p || e.disabled || e.loading), M = x(e, "name"), O = y(!1), A = m(() => !!t.default), I = m(() => [
2412
2412
  ur,
2413
2413
  [pr[e.size]],
2414
2414
  {
@@ -2467,9 +2467,9 @@ const ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2467
2467
  function pl(e, t, a, r, n, o) {
2468
2468
  return b(), $("label", {
2469
2469
  class: g(e.style.base),
2470
- onClick: t[1] || (t[1] = Be((...s) => e.toggle && e.toggle(...s), ["prevent"]))
2470
+ onClick: t[1] || (t[1] = Ae((...s) => e.toggle && e.toggle(...s), ["prevent"]))
2471
2471
  }, [
2472
- jt(k("input", ze({
2472
+ Rt(k("input", Be({
2473
2473
  "onUpdate:modelValue": t[0] || (t[0] = (s) => e.checked = s),
2474
2474
  type: "checkbox",
2475
2475
  "aria-checked": e.checked ? "true" : "false",
@@ -2532,9 +2532,9 @@ const $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2532
2532
  vars: wl
2533
2533
  }, Symbol.toStringTag, { value: "Module" })), Sl = z({
2534
2534
  name: "Radio",
2535
- emits: re.emits(),
2535
+ emits: ne.emits(),
2536
2536
  props: {
2537
- ...re.props(),
2537
+ ...ne.props(),
2538
2538
  ...$e.props(),
2539
2539
  label: {
2540
2540
  type: String
@@ -2563,7 +2563,7 @@ const $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2563
2563
  formDisabled: p,
2564
2564
  formLoading: f,
2565
2565
  inputListeners: h
2566
- } = re(e, { focus: n, emit: a }), S = m(() => p || f || e.disabled || e.loading), M = x(e, "name"), O = y(!1), A = m(() => !!t.default), I = m(() => [
2566
+ } = ne(e, { focus: n, emit: a }), S = m(() => p || f || e.disabled || e.loading), M = x(e, "name"), O = y(!1), A = m(() => !!t.default), I = m(() => [
2567
2567
  vr,
2568
2568
  [gr[e.size]],
2569
2569
  {
@@ -2607,9 +2607,9 @@ const $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2607
2607
  function Tl(e, t, a, r, n, o) {
2608
2608
  return b(), $("label", {
2609
2609
  class: g(e.style.base),
2610
- onClick: t[1] || (t[1] = Be((...s) => e.toggle && e.toggle(...s), ["prevent"]))
2610
+ onClick: t[1] || (t[1] = Ae((...s) => e.toggle && e.toggle(...s), ["prevent"]))
2611
2611
  }, [
2612
- jt(k("input", ze({
2612
+ Rt(k("input", Be({
2613
2613
  "onUpdate:modelValue": t[0] || (t[0] = (s) => e.checked = s),
2614
2614
  type: "radio",
2615
2615
  "aria-checked": e.checked ? "true" : "false",
@@ -2636,11 +2636,11 @@ function Tl(e, t, a, r, n, o) {
2636
2636
  ], 2);
2637
2637
  }
2638
2638
  const Ol = /* @__PURE__ */ V(Sl, [["render", Tl]]);
2639
- var Ml = "_17j4o87", El = "_17j4o8f", _l = "_17j4o8g", Bl = { xs: "_17j4o8a", sm: "_17j4o8b", md: "_17j4o8c", lg: "_17j4o8d", xl: "_17j4o8e" }, ma = { active: "_17j4o88", default: "_17j4o89" };
2639
+ var Ml = "_17j4o87", El = "_17j4o8f", _l = "_17j4o8g", Bl = { xs: "_17j4o8a", sm: "_17j4o8b", md: "_17j4o8c", lg: "_17j4o8d", xl: "_17j4o8e" }, ba = { active: "_17j4o88", default: "_17j4o89" };
2640
2640
  const yr = Symbol("RADIO_BUTTON_GROUP_STATE"), Al = z({
2641
2641
  name: "MRadioButton",
2642
2642
  props: {
2643
- ...re.props(),
2643
+ ...ne.props(),
2644
2644
  ...$e.props(),
2645
2645
  id: {
2646
2646
  type: [String, Number],
@@ -2671,14 +2671,14 @@ const yr = Symbol("RADIO_BUTTON_GROUP_STATE"), Al = z({
2671
2671
  emits: ["update:modelValue"],
2672
2672
  setup(e, { emit: t }) {
2673
2673
  const a = y(null), r = de(yr, null), n = m(() => r == null ? void 0 : r.modelValue), o = m(() => (r == null ? void 0 : r.size) || e.size), s = m(() => r == null ? void 0 : r.name), { focus: i, blur: l } = $e(a);
2674
- re(e, { focus: i, emit: t });
2674
+ ne(e, { focus: i, emit: t });
2675
2675
  const u = m(() => n.value === e.id), d = m(() => [
2676
2676
  Ml,
2677
2677
  [Bl[o.value]],
2678
2678
  {
2679
2679
  [El]: e.icon,
2680
- [ma.default]: !u.value,
2681
- [ma.active]: u.value
2680
+ [ba.default]: !u.value,
2681
+ [ba.active]: u.value
2682
2682
  }
2683
2683
  ]), c = m(() => [
2684
2684
  _l
@@ -2706,7 +2706,7 @@ const yr = Symbol("RADIO_BUTTON_GROUP_STATE"), Al = z({
2706
2706
  }
2707
2707
  }), Il = ["disabled", "aria-selected", "aria-disabled"], jl = ["name", "value", "disabled"];
2708
2708
  function Rl(e, t, a, r, n, o) {
2709
- return b(), $("label", ze({
2709
+ return b(), $("label", Be({
2710
2710
  class: e.computedClasses,
2711
2711
  disabled: e.disabled,
2712
2712
  onClick: t[0] || (t[0] = (...s) => e.handleClick && e.handleClick(...s))
@@ -3130,7 +3130,7 @@ function ci(e, t, a, r, n, o) {
3130
3130
  class: g(e.classes),
3131
3131
  ref: "avatar"
3132
3132
  }, [
3133
- (e.src || e.srcSet) && e.imageExists ? (b(), ae(s, {
3133
+ (e.src || e.srcSet) && e.imageExists ? (b(), te(s, {
3134
3134
  key: 0,
3135
3135
  class: g(e.imageClass),
3136
3136
  src: e.src,
@@ -3208,7 +3208,7 @@ function yi(e, t, a, r, n, o) {
3208
3208
  ], 2))), 128)),
3209
3209
  e.options && e.options.length > e.max ? (b(), $("li", gi, [
3210
3210
  ee(s, null, {
3211
- default: se(() => [
3211
+ default: re(() => [
3212
3212
  be(" +" + U(e.remaining), 1)
3213
3213
  ]),
3214
3214
  _: 1
@@ -3217,7 +3217,7 @@ function yi(e, t, a, r, n, o) {
3217
3217
  ], 2);
3218
3218
  }
3219
3219
  const hi = /* @__PURE__ */ V(bi, [["render", yi]]);
3220
- var wi = "vvn4y44", $i = "vvn4y45", ba = { height: "var(--vvn4y40)", width: "var(--vvn4y41)", marginBottom: "var(--vvn4y42)", radius: "var(--vvn4y43)" };
3220
+ var wi = "vvn4y44", $i = "vvn4y45", ga = { height: "var(--vvn4y40)", width: "var(--vvn4y41)", marginBottom: "var(--vvn4y42)", radius: "var(--vvn4y43)" };
3221
3221
  const Si = z({
3222
3222
  name: "MSkeleton",
3223
3223
  props: {
@@ -3240,7 +3240,7 @@ const Si = z({
3240
3240
  }
3241
3241
  ]), a = m(() => {
3242
3242
  let r = {};
3243
- return e.width && (r[ba.width] = e.width), e.height && (r[ba.height] = e.height), Ra(r);
3243
+ return e.width && (r[ga.width] = e.width), e.height && (r[ga.height] = e.height), Ra(r);
3244
3244
  });
3245
3245
  return {
3246
3246
  computedClasses: t,
@@ -3292,12 +3292,12 @@ const Ci = /* @__PURE__ */ V(Si, [["render", ki]]), Ti = z({
3292
3292
  }
3293
3293
  });
3294
3294
  function Oi(e, t, a, r, n, o) {
3295
- return b(), ae(_a(e.tag), {
3295
+ return b(), te(jt(e.tag), {
3296
3296
  to: e.to,
3297
3297
  class: g(e.computedClasses),
3298
3298
  disabled: e.disabled
3299
3299
  }, {
3300
- default: se(() => [
3300
+ default: re(() => [
3301
3301
  N(e.$slots, "default")
3302
3302
  ]),
3303
3303
  _: 3
@@ -3314,15 +3314,15 @@ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3314
3314
  tooltip: Or,
3315
3315
  vars: Ai,
3316
3316
  wrapper: Ii
3317
- }, Symbol.toStringTag, { value: "Module" })), ga = y(0), Ri = 1e3, Pi = Symbol("ZINDEX"), Ht = (e) => {
3317
+ }, Symbol.toStringTag, { value: "Module" })), ya = y(0), Ri = 1e3, Pi = Symbol("ZINDEX"), qt = (e) => {
3318
3318
  const t = e || de(Pi, void 0), a = m(() => {
3319
3319
  const o = Ba(t);
3320
3320
  return Ss(o) ? o : Ri;
3321
- }), r = m(() => a.value + ga.value);
3321
+ }), r = m(() => a.value + ya.value);
3322
3322
  return {
3323
3323
  initial: a,
3324
3324
  current: r,
3325
- nextZIndex: () => (ga.value++, r.value)
3325
+ nextZIndex: () => (ya.value++, r.value)
3326
3326
  };
3327
3327
  }, Di = z({
3328
3328
  name: "MTooltip",
@@ -3353,7 +3353,7 @@ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3353
3353
  }
3354
3354
  },
3355
3355
  setup(e) {
3356
- const { nextZIndex: t } = Ht(), a = x(e, "placement"), r = x(e, "transfer"), n = y(null), o = y(null), s = y(!1), i = y(e.zIndex ?? t()), l = m(() => {
3356
+ const { nextZIndex: t } = qt(), a = x(e, "placement"), r = x(e, "transfer"), n = y(null), o = y(null), s = y(!1), i = y(e.zIndex ?? t()), l = m(() => {
3357
3357
  switch (a.value) {
3358
3358
  case "top":
3359
3359
  return [8, 0];
@@ -3391,7 +3391,7 @@ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3391
3391
  }
3392
3392
  }), Li = { ref: "reference" };
3393
3393
  function Ni(e, t, a, r, n, o) {
3394
- return b(), $("span", ze(e.$attrs, {
3394
+ return b(), $("span", Be(e.$attrs, {
3395
3395
  style: { display: "inline-flex" },
3396
3396
  onMouseenter: t[0] || (t[0] = () => {
3397
3397
  e.isOpen = !0;
@@ -3404,7 +3404,7 @@ function Ni(e, t, a, r, n, o) {
3404
3404
  k("span", Li, [
3405
3405
  N(e.$slots, "default")
3406
3406
  ], 512),
3407
- (b(), ae(Ve, { to: e.transferTo }, [
3407
+ (b(), te(Ve, { to: e.transferTo }, [
3408
3408
  e.isOpen ? (b(), $("div", {
3409
3409
  key: 0,
3410
3410
  role: "tooltip",
@@ -3541,7 +3541,7 @@ function Xi(e, t, a, r, n, o) {
3541
3541
  type: "button",
3542
3542
  ref: "tabRef",
3543
3543
  class: g(e.computedTabClasses),
3544
- onClick: t[0] || (t[0] = Be((...s) => e.handleClick && e.handleClick(...s), ["prevent"])),
3544
+ onClick: t[0] || (t[0] = Ae((...s) => e.handleClick && e.handleClick(...s), ["prevent"])),
3545
3545
  disabled: e.disabled
3546
3546
  }, [
3547
3547
  N(e.$slots, "tab", {
@@ -3550,7 +3550,7 @@ function Xi(e, t, a, r, n, o) {
3550
3550
  }, () => [
3551
3551
  be(U(e.computedLabel), 1)
3552
3552
  ]),
3553
- e.selected && e.teleportTo ? (b(), ae(Ve, {
3553
+ e.selected && e.teleportTo ? (b(), te(Ve, {
3554
3554
  key: 0,
3555
3555
  to: e.teleportTo
3556
3556
  }, [
@@ -3689,13 +3689,13 @@ function fu(e, t, a, r, n, o) {
3689
3689
  class: g(e.tableComputedClasses)
3690
3690
  }, [
3691
3691
  ee(i, null, {
3692
- default: se(() => [
3693
- (b(!0), $(Z, null, me(e.headers, (c, p) => (b(), ae(s, {
3692
+ default: re(() => [
3693
+ (b(!0), $(Z, null, me(e.headers, (c, p) => (b(), te(s, {
3694
3694
  key: p,
3695
3695
  width: c.width,
3696
3696
  style: Y({ textAlign: c.align })
3697
3697
  }, {
3698
- default: se(() => [
3698
+ default: re(() => [
3699
3699
  be(U(c.name), 1)
3700
3700
  ]),
3701
3701
  _: 2
@@ -3704,15 +3704,15 @@ function fu(e, t, a, r, n, o) {
3704
3704
  _: 1
3705
3705
  }),
3706
3706
  ee(d, null, {
3707
- default: se(() => [
3708
- e.items.length > 0 ? (b(!0), $(Z, { key: 0 }, me(e.items, (c, p) => (b(), ae(u, { key: p }, {
3709
- default: se(() => [
3710
- (b(!0), $(Z, null, me(e.headers, (f, h) => (b(), ae(l, {
3707
+ default: re(() => [
3708
+ e.items.length > 0 ? (b(!0), $(Z, { key: 0 }, me(e.items, (c, p) => (b(), te(u, { key: p }, {
3709
+ default: re(() => [
3710
+ (b(!0), $(Z, null, me(e.headers, (f, h) => (b(), te(l, {
3711
3711
  key: h,
3712
3712
  style: Y({ textAlign: f.align }),
3713
- onClick: Be((S) => e.$emit("onClick", c), ["self"])
3713
+ onClick: Ae((S) => e.$emit("onClick", c), ["self"])
3714
3714
  }, {
3715
- default: se(() => [
3715
+ default: re(() => [
3716
3716
  N(e.$slots, f.key, { item: c }, () => [
3717
3717
  be(U(
3718
3718
  //@ts-ignore
@@ -3748,7 +3748,7 @@ const $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3748
3748
  pagination: yu,
3749
3749
  svg: hu,
3750
3750
  vars: wu
3751
- }, Symbol.toStringTag, { value: "Module" })), ot = 7, st = 1, ya = 5, Su = z({
3751
+ }, Symbol.toStringTag, { value: "Module" })), ot = 7, st = 1, ha = 5, Su = z({
3752
3752
  name: "Pagination",
3753
3753
  props: {
3754
3754
  page: {
@@ -3786,7 +3786,7 @@ const $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3786
3786
  let { page: c } = e;
3787
3787
  if (r.value)
3788
3788
  return [l(1, { current: !1 })];
3789
- let p = st * 2 + 1, f = (ot - p - 2) / 2, h, S, M = Math.max(c - ya, 1), O = Math.min(c + ya, o.value);
3789
+ let p = st * 2 + 1, f = (ot - p - 2) / 2, h, S, M = Math.max(c - ha, 1), O = Math.min(c + ha, o.value);
3790
3790
  switch (!0) {
3791
3791
  case o.value <= ot:
3792
3792
  return i(1, o.value);
@@ -3964,7 +3964,7 @@ function jr(e, t) {
3964
3964
  return F(e, (n) => {
3965
3965
  r(n);
3966
3966
  }), pe(() => {
3967
- De(() => {
3967
+ Le(() => {
3968
3968
  r(e.value);
3969
3969
  });
3970
3970
  }), a;
@@ -4070,12 +4070,12 @@ const Lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4070
4070
  }), F(o, (v) => {
4071
4071
  v && f(), t("update:open", v);
4072
4072
  }), pe(() => {
4073
- De(() => {
4073
+ Le(() => {
4074
4074
  M(e.placement);
4075
4075
  });
4076
4076
  }), X("resize", () => {
4077
4077
  f();
4078
- }), Wt(l, (v) => {
4078
+ }), Ht(l, (v) => {
4079
4079
  let w = v.target, C = 0;
4080
4080
  for (; w; ) {
4081
4081
  if (w.classList.contains("m-dropdown-menu"))
@@ -4137,13 +4137,13 @@ function Nu(e, t, a, r, n, o) {
4137
4137
  N(e.$slots, "default")
4138
4138
  ], 2),
4139
4139
  ee(s, null, {
4140
- default: se(() => [
4141
- (b(), ae(Ve, {
4140
+ default: re(() => [
4141
+ (b(), te(Ve, {
4142
4142
  disabled: e.isNested,
4143
4143
  to: "body"
4144
4144
  }, [
4145
4145
  ee(ct, { name: e.transitionName }, {
4146
- default: se(() => [
4146
+ default: re(() => [
4147
4147
  e.isOpen ? (b(), $("div", {
4148
4148
  key: 0,
4149
4149
  ref: "popper",
@@ -4202,6 +4202,10 @@ const Wu = /* @__PURE__ */ V(Vu, [["render", Fu]]), Hu = z({
4202
4202
  description: {
4203
4203
  type: String,
4204
4204
  default: null
4205
+ },
4206
+ href: {
4207
+ type: String,
4208
+ default: null
4205
4209
  }
4206
4210
  },
4207
4211
  emits: [],
@@ -4212,43 +4216,48 @@ const Wu = /* @__PURE__ */ V(Vu, [["render", Fu]]), Hu = z({
4212
4216
  }
4213
4217
  const d = m(() => [
4214
4218
  Pr
4215
- ]);
4219
+ ]), c = m(() => e.href ? "a" : "li");
4216
4220
  return {
4217
4221
  wrapper: o,
4218
4222
  hasIconLeft: r,
4219
4223
  hasIconRight: n,
4220
4224
  handleSelect: u,
4221
4225
  computedWrapperClasses: d,
4222
- style: Lr
4226
+ style: Lr,
4227
+ computedType: c
4223
4228
  };
4224
4229
  }
4225
4230
  });
4226
4231
  function qu(e, t, a, r, n, o) {
4227
- return b(), $("li", {
4232
+ return b(), te(jt(e.computedType), Be({
4233
+ href: e.href,
4228
4234
  ref: "wrapper",
4229
- class: g(e.computedWrapperClasses),
4235
+ class: e.computedWrapperClasses,
4230
4236
  role: "menuitem",
4231
4237
  tabindex: "0",
4232
- onClick: t[0] || (t[0] = (...s) => e.handleSelect && e.handleSelect(...s))
4233
- }, [
4234
- e.hasIconLeft ? (b(), $("div", {
4235
- key: 0,
4236
- class: g(e.style.menuItemIcon)
4237
- }, [
4238
- N(e.$slots, "icon-left")
4239
- ], 2)) : G("", !0),
4240
- k("div", {
4241
- class: g(e.style.menuItemText)
4242
- }, [
4243
- N(e.$slots, "default")
4244
- ], 2),
4245
- e.hasIconRight ? (b(), $("div", {
4246
- key: 1,
4247
- class: g(e.style.menuItemIcon)
4248
- }, [
4249
- N(e.$slots, "icon-right")
4250
- ], 2)) : G("", !0)
4251
- ], 2);
4238
+ onClick: e.handleSelect
4239
+ }, e.$attrs), {
4240
+ default: re(() => [
4241
+ e.hasIconLeft ? (b(), $("div", {
4242
+ key: 0,
4243
+ class: g(e.style.menuItemIcon)
4244
+ }, [
4245
+ N(e.$slots, "icon-left")
4246
+ ], 2)) : G("", !0),
4247
+ k("div", {
4248
+ class: g(e.style.menuItemText)
4249
+ }, [
4250
+ N(e.$slots, "default")
4251
+ ], 2),
4252
+ e.hasIconRight ? (b(), $("div", {
4253
+ key: 1,
4254
+ class: g(e.style.menuItemIcon)
4255
+ }, [
4256
+ N(e.$slots, "icon-right")
4257
+ ], 2)) : G("", !0)
4258
+ ]),
4259
+ _: 3
4260
+ }, 16, ["href", "class", "onClick"]);
4252
4261
  }
4253
4262
  const Gu = /* @__PURE__ */ V(Hu, [["render", qu]]), Uu = z({
4254
4263
  name: "DropdownSeperator",
@@ -4270,7 +4279,7 @@ const Xu = /* @__PURE__ */ V(Uu, [["render", Ku]]);
4270
4279
  * tabbable 6.1.1
4271
4280
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4272
4281
  */
4273
- var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], pt = /* @__PURE__ */ Nr.join(","), zr = typeof Element > "u", Ne = zr ? function() {
4282
+ var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], pt = /* @__PURE__ */ Nr.join(","), zr = typeof Element > "u", ze = zr ? function() {
4274
4283
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, vt = !zr && Element.prototype.getRootNode ? function(e) {
4275
4284
  var t;
4276
4285
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
@@ -4288,7 +4297,7 @@ var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4288
4297
  if (mt(t))
4289
4298
  return [];
4290
4299
  var n = Array.prototype.slice.apply(t.querySelectorAll(pt));
4291
- return a && Ne.call(t, pt) && n.unshift(t), n = n.filter(r), n;
4300
+ return a && ze.call(t, pt) && n.unshift(t), n = n.filter(r), n;
4292
4301
  }, Fr = function e(t, a, r) {
4293
4302
  for (var n = [], o = Array.from(t); o.length; ) {
4294
4303
  var s = o.shift();
@@ -4300,7 +4309,7 @@ var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4300
4309
  candidates: u
4301
4310
  });
4302
4311
  } else {
4303
- var d = Ne.call(s, pt);
4312
+ var d = ze.call(s, pt);
4304
4313
  d && r.filter(s) && (a || !t.includes(s)) && n.push(s);
4305
4314
  var c = s.shadowRoot || // check for an undisclosed shadow
4306
4315
  typeof r.getShadowRoot == "function" && r.getShadowRoot(s), p = !mt(c, !1) && (!r.shadowRootFilter || r.shadowRootFilter(s));
@@ -4362,22 +4371,22 @@ var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4362
4371
  }
4363
4372
  }
4364
4373
  return o;
4365
- }, ha = function(t) {
4374
+ }, wa = function(t) {
4366
4375
  var a = t.getBoundingClientRect(), r = a.width, n = a.height;
4367
4376
  return r === 0 && n === 0;
4368
4377
  }, nd = function(t, a) {
4369
4378
  var r = a.displayCheck, n = a.getShadowRoot;
4370
4379
  if (getComputedStyle(t).visibility === "hidden")
4371
4380
  return !0;
4372
- var o = Ne.call(t, "details>summary:first-of-type"), s = o ? t.parentElement : t;
4373
- if (Ne.call(s, "details:not([open]) *"))
4381
+ var o = ze.call(t, "details>summary:first-of-type"), s = o ? t.parentElement : t;
4382
+ if (ze.call(s, "details:not([open]) *"))
4374
4383
  return !0;
4375
4384
  if (!r || r === "full" || r === "legacy-full") {
4376
4385
  if (typeof n == "function") {
4377
4386
  for (var i = t; t; ) {
4378
4387
  var l = t.parentElement, u = vt(t);
4379
4388
  if (l && !l.shadowRoot && n(l) === !0)
4380
- return ha(t);
4389
+ return wa(t);
4381
4390
  t.assignedSlot ? t = t.assignedSlot : !l && u !== t.ownerDocument ? t = u.host : t = l;
4382
4391
  }
4383
4392
  t = i;
@@ -4387,7 +4396,7 @@ var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4387
4396
  if (r !== "legacy-full")
4388
4397
  return !0;
4389
4398
  } else if (r === "non-zero-area")
4390
- return ha(t);
4399
+ return wa(t);
4391
4400
  return !1;
4392
4401
  }, od = function(t) {
4393
4402
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
@@ -4396,7 +4405,7 @@ var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4396
4405
  for (var r = 0; r < a.children.length; r++) {
4397
4406
  var n = a.children.item(r);
4398
4407
  if (n.tagName === "LEGEND")
4399
- return Ne.call(a, "fieldset[disabled] *") ? !0 : !n.contains(t);
4408
+ return ze.call(a, "fieldset[disabled] *") ? !0 : !n.contains(t);
4400
4409
  }
4401
4410
  return !0;
4402
4411
  }
@@ -4448,17 +4457,17 @@ var Nr = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4448
4457
  }, lt = function(t, a) {
4449
4458
  if (a = a || {}, !t)
4450
4459
  throw new Error("No node provided");
4451
- return Ne.call(t, pt) === !1 ? !1 : At(a, t);
4452
- }, dd = /* @__PURE__ */ Nr.concat("iframe").join(","), wa = function(t, a) {
4460
+ return ze.call(t, pt) === !1 ? !1 : At(a, t);
4461
+ }, dd = /* @__PURE__ */ Nr.concat("iframe").join(","), $a = function(t, a) {
4453
4462
  if (a = a || {}, !t)
4454
4463
  throw new Error("No node provided");
4455
- return Ne.call(t, dd) === !1 ? !1 : bt(a, t);
4464
+ return ze.call(t, dd) === !1 ? !1 : bt(a, t);
4456
4465
  };
4457
4466
  /*!
4458
4467
  * focus-trap 7.4.0
4459
4468
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
4460
4469
  */
4461
- function $a(e, t) {
4470
+ function Sa(e, t) {
4462
4471
  var a = Object.keys(e);
4463
4472
  if (Object.getOwnPropertySymbols) {
4464
4473
  var r = Object.getOwnPropertySymbols(e);
@@ -4468,12 +4477,12 @@ function $a(e, t) {
4468
4477
  }
4469
4478
  return a;
4470
4479
  }
4471
- function Sa(e) {
4480
+ function ka(e) {
4472
4481
  for (var t = 1; t < arguments.length; t++) {
4473
4482
  var a = arguments[t] != null ? arguments[t] : {};
4474
- t % 2 ? $a(Object(a), !0).forEach(function(r) {
4483
+ t % 2 ? Sa(Object(a), !0).forEach(function(r) {
4475
4484
  cd(e, r, a[r]);
4476
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : $a(Object(a)).forEach(function(r) {
4485
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Sa(Object(a)).forEach(function(r) {
4477
4486
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(a, r));
4478
4487
  });
4479
4488
  }
@@ -4503,7 +4512,7 @@ function pd(e) {
4503
4512
  var t = fd(e, "string");
4504
4513
  return typeof t == "symbol" ? t : String(t);
4505
4514
  }
4506
- var ka = {
4515
+ var Ca = {
4507
4516
  activateTrap: function(t, a) {
4508
4517
  if (t.length > 0) {
4509
4518
  var r = t[t.length - 1];
@@ -4526,9 +4535,9 @@ var ka = {
4526
4535
  return xe(t) && !t.shiftKey;
4527
4536
  }, gd = function(t) {
4528
4537
  return xe(t) && t.shiftKey;
4529
- }, Ca = function(t) {
4538
+ }, Ta = function(t) {
4530
4539
  return setTimeout(t, 0);
4531
- }, Ta = function(t, a) {
4540
+ }, Oa = function(t, a) {
4532
4541
  var r = -1;
4533
4542
  return t.every(function(n, o) {
4534
4543
  return a(n) ? (r = o, !1) : !0;
@@ -4540,7 +4549,7 @@ var ka = {
4540
4549
  }, it = function(t) {
4541
4550
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
4542
4551
  }, yd = [], hd = function(t, a) {
4543
- var r = (a == null ? void 0 : a.document) || document, n = (a == null ? void 0 : a.trapStack) || yd, o = Sa({
4552
+ var r = (a == null ? void 0 : a.document) || document, n = (a == null ? void 0 : a.trapStack) || yd, o = ka({
4544
4553
  returnFocusOnDeactivate: !0,
4545
4554
  escapeDeactivates: !0,
4546
4555
  delayInitialFocus: !0,
@@ -4695,21 +4704,21 @@ var ka = {
4695
4704
  if (j < 0)
4696
4705
  w ? E = s.tabbableGroups[s.tabbableGroups.length - 1].lastTabbableNode : E = s.tabbableGroups[0].firstTabbableNode;
4697
4706
  else if (w) {
4698
- var W = Ta(s.tabbableGroups, function(te) {
4699
- var oe = te.firstTabbableNode;
4700
- return C === oe;
4707
+ var W = Oa(s.tabbableGroups, function(ae) {
4708
+ var se = ae.firstTabbableNode;
4709
+ return C === se;
4701
4710
  });
4702
- if (W < 0 && (P.container === C || wa(C, o.tabbableOptions) && !lt(C, o.tabbableOptions) && !P.nextTabbableNode(C, !1)) && (W = j), W >= 0) {
4703
- var K = W === 0 ? s.tabbableGroups.length - 1 : W - 1, ne = s.tabbableGroups[K];
4704
- E = ne.lastTabbableNode;
4711
+ if (W < 0 && (P.container === C || $a(C, o.tabbableOptions) && !lt(C, o.tabbableOptions) && !P.nextTabbableNode(C, !1)) && (W = j), W >= 0) {
4712
+ var K = W === 0 ? s.tabbableGroups.length - 1 : W - 1, oe = s.tabbableGroups[K];
4713
+ E = oe.lastTabbableNode;
4705
4714
  } else
4706
4715
  xe(v) || (E = P.nextTabbableNode(C, !1));
4707
4716
  } else {
4708
- var L = Ta(s.tabbableGroups, function(te) {
4709
- var oe = te.lastTabbableNode;
4710
- return C === oe;
4717
+ var L = Oa(s.tabbableGroups, function(ae) {
4718
+ var se = ae.lastTabbableNode;
4719
+ return C === se;
4711
4720
  });
4712
- if (L < 0 && (P.container === C || wa(C, o.tabbableOptions) && !lt(C, o.tabbableOptions) && !P.nextTabbableNode(C)) && (L = j), L >= 0) {
4721
+ if (L < 0 && (P.container === C || $a(C, o.tabbableOptions) && !lt(C, o.tabbableOptions) && !P.nextTabbableNode(C)) && (L = j), L >= 0) {
4713
4722
  var J = L === s.tabbableGroups.length - 1 ? 0 : L + 1, ve = s.tabbableGroups[J];
4714
4723
  E = ve.firstTabbableNode;
4715
4724
  } else
@@ -4729,7 +4738,7 @@ var ka = {
4729
4738
  u(w) >= 0 || Ke(o.clickOutsideDeactivates, v) || Ke(o.allowOutsideClick, v) || (v.preventDefault(), v.stopImmediatePropagation());
4730
4739
  }, _ = function() {
4731
4740
  if (s.active)
4732
- return ka.activateTrap(n, i), s.delayInitialFocusTimer = o.delayInitialFocus ? Ca(function() {
4741
+ return Ca.activateTrap(n, i), s.delayInitialFocusTimer = o.delayInitialFocus ? Ta(function() {
4733
4742
  f(c());
4734
4743
  }) : f(c()), r.addEventListener("focusin", M, !0), r.addEventListener("mousedown", S, {
4735
4744
  capture: !0,
@@ -4768,16 +4777,16 @@ var ka = {
4768
4777
  deactivate: function(v) {
4769
4778
  if (!s.active)
4770
4779
  return this;
4771
- var w = Sa({
4780
+ var w = ka({
4772
4781
  onDeactivate: o.onDeactivate,
4773
4782
  onPostDeactivate: o.onPostDeactivate,
4774
4783
  checkCanReturnFocus: o.checkCanReturnFocus
4775
4784
  }, v);
4776
- clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, R(), s.active = !1, s.paused = !1, ka.deactivateTrap(n, i);
4785
+ clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, R(), s.active = !1, s.paused = !1, Ca.deactivateTrap(n, i);
4777
4786
  var C = l(w, "onDeactivate"), E = l(w, "onPostDeactivate"), j = l(w, "checkCanReturnFocus"), P = l(w, "returnFocus", "returnFocusOnDeactivate");
4778
4787
  C == null || C();
4779
4788
  var W = function() {
4780
- Ca(function() {
4789
+ Ta(function() {
4781
4790
  P && f(h(s.nodeFocusedBeforeActivation)), E == null || E();
4782
4791
  });
4783
4792
  };
@@ -4802,12 +4811,12 @@ var ka = {
4802
4811
  }), s.active && p(), this;
4803
4812
  }
4804
4813
  }, i.updateContainerElements(t), i;
4805
- }, wd = Object.defineProperty, $d = Object.defineProperties, Sd = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Oa = (e, t, a) => t in e ? wd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, kd = (e, t) => {
4814
+ }, wd = Object.defineProperty, $d = Object.defineProperties, Sd = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Ma = (e, t, a) => t in e ? wd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, kd = (e, t) => {
4806
4815
  for (var a in t || (t = {}))
4807
- qr.call(t, a) && Oa(e, a, t[a]);
4816
+ qr.call(t, a) && Ma(e, a, t[a]);
4808
4817
  if (gt)
4809
4818
  for (var a of gt(t))
4810
- Gr.call(t, a) && Oa(e, a, t[a]);
4819
+ Gr.call(t, a) && Ma(e, a, t[a]);
4811
4820
  return e;
4812
4821
  }, Cd = (e, t) => $d(e, Sd(t)), Td = (e, t) => {
4813
4822
  var a = {};
@@ -4887,7 +4896,7 @@ const Vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4887
4896
  },
4888
4897
  emits: ["open"],
4889
4898
  setup(e, { emit: t }) {
4890
- const { nextZIndex: a } = Ht(), r = y(!1), n = y(), o = y(e.zIndex ?? a()), { hasFocus: s, activate: i, deactivate: l } = Od(n, {
4899
+ const { nextZIndex: a } = qt(), r = y(!1), n = y(), o = y(e.zIndex ?? a()), { hasFocus: s, activate: i, deactivate: l } = Od(n, {
4891
4900
  immediate: !0,
4892
4901
  escapeDeactivates: !1,
4893
4902
  allowOutsideClick: !0
@@ -4902,7 +4911,7 @@ const Vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4902
4911
  r.value = !0;
4903
4912
  };
4904
4913
  return F(() => r.value, (f) => {
4905
- f ? (o.value = e.zIndex ? o.value++ : a(), t("open"), De(() => {
4914
+ f ? (o.value = e.zIndex ? o.value++ : a(), t("open"), Le(() => {
4906
4915
  i();
4907
4916
  })) : l();
4908
4917
  }), {
@@ -4918,15 +4927,15 @@ const Vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4918
4927
  }
4919
4928
  });
4920
4929
  function Wd(e, t, a, r, n, o) {
4921
- return b(), ae(Ve, { to: "body" }, [
4930
+ return b(), te(Ve, { to: "body" }, [
4922
4931
  ee(ct, {
4923
4932
  name: "fade-out",
4924
4933
  mode: "out-in",
4925
4934
  "enter-active-class": e.style.fadeBackgroundEnter,
4926
4935
  "leave-active-class": e.style.fadeBackgroundLeave
4927
4936
  }, {
4928
- default: se(() => [
4929
- jt(k("div", {
4937
+ default: re(() => [
4938
+ Rt(k("div", {
4930
4939
  class: g(e.style.background),
4931
4940
  style: Y({ zIndex: e.zIndex }),
4932
4941
  onClick: t[2] || (t[2] = (...s) => e.closeOutside && e.closeOutside(...s))
@@ -4938,11 +4947,11 @@ function Wd(e, t, a, r, n, o) {
4938
4947
  "leave-active-class": e.style.fadeLeave,
4939
4948
  "enter-from-class": e.style.fadeEnterFrom
4940
4949
  }, {
4941
- default: se(() => [
4950
+ default: re(() => [
4942
4951
  e.isOpen ? (b(), $("div", {
4943
4952
  key: 0,
4944
4953
  class: g(e.containerClasses),
4945
- onClick: t[1] || (t[1] = Be(() => {
4954
+ onClick: t[1] || (t[1] = Ae(() => {
4946
4955
  }, ["stop"])),
4947
4956
  ref: "target"
4948
4957
  }, [
@@ -5007,7 +5016,7 @@ const ec = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5007
5016
  b: i,
5008
5017
  a: l
5009
5018
  };
5010
- }, Ma = (e, t, a) => {
5019
+ }, Ea = (e, t, a) => {
5011
5020
  var r = Math.max(e, t, a), n = Math.min(e, t, a), o = r - n, s = r, i = 0;
5012
5021
  r !== 0 && (i = o / r);
5013
5022
  var l = 0;
@@ -5132,11 +5141,11 @@ const Xr = /* @__PURE__ */ V(dc, [["render", cc]]), fc = z({
5132
5141
  emits: ["update:modelValue"],
5133
5142
  components: {
5134
5143
  MSlider: Xr,
5135
- MInput: Pt,
5144
+ MInput: Dt,
5136
5145
  MButton: Ia
5137
5146
  },
5138
5147
  setup(e, { emit: t }) {
5139
- const { isSupported: a, open: r, sRGBHex: n } = Ms(), { nextZIndex: o } = Ht(), s = y(!1), i = y(!1), l = y(""), u = y(""), d = y(""), c = y(""), p = y(""), f = y(), h = y(), S = y(), M = x(e, "transfer"), O = x(e, "placement"), A = y(), I = y(0), _ = y(100), R = y(!1), T = Te({
5148
+ const { isSupported: a, open: r, sRGBHex: n } = Ms(), { nextZIndex: o } = qt(), s = y(!1), i = y(!1), l = y(""), u = y(""), d = y(""), c = y(""), p = y(""), f = y(), h = y(), S = y(), M = x(e, "transfer"), O = x(e, "placement"), A = y(), I = y(0), _ = y(100), R = y(!1), T = Te({
5140
5149
  x: 0,
5141
5150
  y: 0
5142
5151
  }), v = y(e.zIndex ?? o()), { elementX: w, elementY: C } = nr(f), { pressed: E } = or(), { popper: j, transferTo: P, updatePopper: W } = St({
@@ -5146,18 +5155,18 @@ const Xr = /* @__PURE__ */ V(dc, [["render", cc]]), fc = z({
5146
5155
  wrapper: h,
5147
5156
  isDrop: !1,
5148
5157
  offset: [-2, 2]
5149
- }), K = m(() => 1 - T.y), ne = m(() => T.x), L = m(() => rc(I.value * 3.6, K.value, ne.value, _.value / 100)), J = m(() => nc(I.value * 3.6, _.value / 100)), ve = () => {
5158
+ }), K = m(() => 1 - T.y), oe = m(() => T.x), L = m(() => rc(I.value * 3.6, K.value, oe.value, _.value / 100)), J = m(() => nc(I.value * 3.6, _.value / 100)), ve = () => {
5150
5159
  l.value = tc(L.value.r, L.value.g, L.value.b, L.value.a), u.value = L.value.r.toString(), d.value = L.value.g.toString(), c.value = L.value.b.toString(), p.value = L.value.a.toFixed(2).toString(), t("update:modelValue", l.value);
5151
5160
  };
5152
5161
  F(() => L.value, () => {
5153
5162
  ve();
5154
5163
  });
5155
- const te = (H, Q) => {
5164
+ const ae = (H, Q) => {
5156
5165
  T.x = H.s, T.y = 1 - H.v, I.value = 1 / 360 * H.h * 100, _.value = Q * 100, ve();
5157
- }, oe = () => {
5166
+ }, se = () => {
5158
5167
  var H = ac(l.value, L.value.r, L.value.g, L.value.b, L.value.a);
5159
- te(Ma(H.r, H.g, H.b), H.a);
5160
- }, Ie = () => {
5168
+ ae(Ea(H.r, H.g, H.b), H.a);
5169
+ }, je = () => {
5161
5170
  var H = parseInt(u.value);
5162
5171
  (isNaN(H) || H > 255 || H < 0) && (H = L.value.r);
5163
5172
  var Q = parseInt(d.value);
@@ -5165,14 +5174,14 @@ const Xr = /* @__PURE__ */ V(dc, [["render", cc]]), fc = z({
5165
5174
  var B = parseInt(c.value);
5166
5175
  (isNaN(B) || B > 255 || B < 0) && (B = L.value.b);
5167
5176
  var D = parseFloat(p.value);
5168
- (isNaN(D) || D > 1 || D < 0) && (D = L.value.a), te(Ma(H, Q, B), D);
5177
+ (isNaN(D) || D > 1 || D < 0) && (D = L.value.a), ae(Ea(H, Q, B), D);
5169
5178
  };
5170
5179
  F(() => E.value, () => {
5171
5180
  E.value || (R.value = !1);
5172
5181
  }), F(() => [w.value, C.value], () => {
5173
5182
  R.value && he();
5174
5183
  }), F(() => e.modelValue, () => {
5175
- l.value = e.modelValue, oe(), console.log("hi");
5184
+ l.value = e.modelValue, se(), console.log("hi");
5176
5185
  });
5177
5186
  const he = () => {
5178
5187
  var H, Q, B, D;
@@ -5181,19 +5190,19 @@ const Xr = /* @__PURE__ */ V(dc, [["render", cc]]), fc = z({
5181
5190
  R.value = !0, he();
5182
5191
  };
5183
5192
  return pe(() => {
5184
- l.value = e.modelValue, oe();
5185
- }), Wt(j, (H) => {
5193
+ l.value = e.modelValue, se();
5194
+ }), Ht(j, (H) => {
5186
5195
  s.value = !1;
5187
5196
  }), F(() => n.value, () => {
5188
- l.value = n.value, oe();
5197
+ l.value = n.value, se();
5189
5198
  }), {
5190
5199
  isOpen: s,
5191
5200
  popper: j,
5192
5201
  transferTo: P,
5193
5202
  wrapper: h,
5194
5203
  referenceRef: S,
5195
- updateFromRGB: Ie,
5196
- updateFromHex: oe,
5204
+ updateFromRGB: je,
5205
+ updateFromHex: se,
5197
5206
  setInputs: ve,
5198
5207
  rgbOrHex: i,
5199
5208
  hexInputElement: A,
@@ -5270,7 +5279,7 @@ function $c(e, t, a, r, n, o) {
5270
5279
  style: Y({ backgroundColor: `rgba(${e.finalColor.r}, ${e.finalColor.g}, ${e.finalColor.b}, ${e.finalColor.a})` })
5271
5280
  }, null, 6)
5272
5281
  ], 2),
5273
- (b(), ae(Ve, { to: "body" }, [
5282
+ (b(), te(Ve, { to: "body" }, [
5274
5283
  e.isOpen ? (b(), $("div", {
5275
5284
  key: 0,
5276
5285
  class: g(e.style.container),
@@ -5370,7 +5379,7 @@ function $c(e, t, a, r, n, o) {
5370
5379
  name: "a",
5371
5380
  placeholder: "A"
5372
5381
  }, null, 8, ["onKeyup", "onBlur", "modelValue"])
5373
- ], 64)) : (b(), ae(i, {
5382
+ ], 64)) : (b(), te(i, {
5374
5383
  key: 1,
5375
5384
  onKeyup: Ge(e.updateFromHex, ["enter"]),
5376
5385
  onBlur: e.updateFromHex,
@@ -5383,9 +5392,9 @@ function $c(e, t, a, r, n, o) {
5383
5392
  }, null, 8, ["onKeyup", "onBlur", "modelValue"])),
5384
5393
  ee(l, {
5385
5394
  icon: "",
5386
- onClick: t[11] || (t[11] = Be((u) => e.rgbOrHex = !e.rgbOrHex, ["prevent"]))
5395
+ onClick: t[11] || (t[11] = Ae((u) => e.rgbOrHex = !e.rgbOrHex, ["prevent"]))
5387
5396
  }, {
5388
- default: se(() => [
5397
+ default: re(() => [
5389
5398
  (b(), $("svg", yc, wc))
5390
5399
  ]),
5391
5400
  _: 1
@@ -5610,14 +5619,14 @@ function Xc(e, t, a, r, n, o) {
5610
5619
  const s = le("MMessage");
5611
5620
  return b(), $(Z, null, [
5612
5621
  N(e.$slots, "default"),
5613
- e.messageList.length ? (b(), ae(Ve, {
5622
+ e.messageList.length ? (b(), te(Ve, {
5614
5623
  key: 0,
5615
5624
  to: e.teleportTo ?? "body"
5616
5625
  }, [
5617
5626
  k("div", {
5618
5627
  class: g(e.classes)
5619
5628
  }, [
5620
- (b(!0), $(Z, null, me(e.messageList, (i) => (b(), ae(s, {
5629
+ (b(!0), $(Z, null, me(e.messageList, (i) => (b(), te(s, {
5621
5630
  key: i.key,
5622
5631
  internalKey: i.key,
5623
5632
  variant: i.type,
@@ -5765,7 +5774,7 @@ function lf(e, t, a, r, n, o) {
5765
5774
  ], 2)
5766
5775
  ], 2);
5767
5776
  }
5768
- const uf = /* @__PURE__ */ V(nf, [["render", lf]]), Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5777
+ const uf = /* @__PURE__ */ V(nf, [["render", lf]]), _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5769
5778
  __proto__: null,
5770
5779
  MAvatar: Cr,
5771
5780
  MAvatarGroup: hi,
@@ -5783,7 +5792,7 @@ const uf = /* @__PURE__ */ V(nf, [["render", lf]]), Ea = /* @__PURE__ */ Object.
5783
5792
  MDropdownWrapper: Ir,
5784
5793
  MForm: Wn,
5785
5794
  MImage: Sr,
5786
- MInput: Pt,
5795
+ MInput: Dt,
5787
5796
  MLink: Mi,
5788
5797
  MMessageProvider: Yc,
5789
5798
  MModal: Hd,
@@ -5842,8 +5851,8 @@ const Tf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5842
5851
  });
5843
5852
  }
5844
5853
  }), Of = Sf({
5845
- components: Object.keys(Ea).map(
5846
- (e) => Ea[e]
5854
+ components: Object.keys(_a).map(
5855
+ (e) => _a[e]
5847
5856
  )
5848
5857
  });
5849
5858
  export {
@@ -5863,7 +5872,7 @@ export {
5863
5872
  Ir as MDropdownWrapper,
5864
5873
  Wn as MForm,
5865
5874
  Sr as MImage,
5866
- Pt as MInput,
5875
+ Dt as MInput,
5867
5876
  Mi as MLink,
5868
5877
  Yc as MMessageProvider,
5869
5878
  Hd as MModal,