@point-hub/papp 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as La from "vue";
2
- import { defineComponent as R, ref as E, provide as De, openBlock as w, createElementBlock as B, renderSlot as G, inject as ke, watch as ne, resolveComponent as Q, createVNode as W, withCtx as _, createElementVNode as O, toDisplayString as q, normalizeClass as z, normalizeStyle as Ye, createTextVNode as Pe, createCommentVNode as N, createBlock as Y, computed as T, Fragment as ce, renderList as Me, unref as V, shallowRef as Rn, triggerRef as Fa, onScopeDispose as Ro, onUnmounted as Ie, nextTick as xe, watchEffect as Ee, onMounted as te, cloneVNode as Lo, h as ue, toRaw as Le, reactive as fr, getCurrentInstance as Fo, Teleport as Ml, Transition as _o, toRef as $l, readonly as Rl, customRef as Ll, getCurrentScope as Fl, toValue as ut, useCssVars as _l, useSlots as Vo, toRefs as No, withKeys as Vl, withDirectives as et, vShow as Nl, onBeforeUnmount as pr, isRef as gt, useModel as Se, resolveDynamicComponent as sr, mergeProps as jl, normalizeProps as Wl, guardReactiveProps as Hl, mergeModels as be, isReactive as _a, isVNode as ql, createApp as Va, createSlots as zl, vModelCheckbox as jo, resolveDirective as Wo, vModelText as rn, vModelDynamic as Ul } from "vue";
2
+ import { defineComponent as R, ref as E, provide as De, openBlock as w, createElementBlock as B, renderSlot as G, inject as ke, watch as re, resolveComponent as Q, createVNode as W, withCtx as _, createElementVNode as O, toDisplayString as q, normalizeClass as z, normalizeStyle as Ye, createTextVNode as Pe, createCommentVNode as N, createBlock as Y, computed as T, Fragment as ce, renderList as Me, unref as V, shallowRef as Rn, triggerRef as Fa, onScopeDispose as Ro, onUnmounted as Ie, nextTick as Se, watchEffect as Ee, onMounted as te, cloneVNode as Lo, h as ue, toRaw as Le, reactive as fr, getCurrentInstance as Fo, Teleport as Ml, Transition as _o, toRef as $l, readonly as Rl, customRef as Ll, getCurrentScope as Fl, toValue as ut, useCssVars as _l, useSlots as Vo, toRefs as No, withKeys as Vl, withDirectives as et, vShow as Nl, onBeforeUnmount as pr, isRef as gt, useModel as xe, resolveDynamicComponent as sr, mergeProps as jl, normalizeProps as Wl, guardReactiveProps as Hl, mergeModels as be, isReactive as _a, isVNode as ql, createApp as Va, createSlots as zl, vModelCheckbox as jo, resolveDirective as Wo, vModelText as rn, vModelDynamic as Ul } from "vue";
3
3
  import { useRoute as Ho } from "vue-router";
4
4
  import { defineStore as vr } from "pinia";
5
5
  const Yl = { class: "accordion-container" }, Xl = /* @__PURE__ */ R({
@@ -28,7 +28,7 @@ const Yl = { class: "accordion-container" }, Xl = /* @__PURE__ */ R({
28
28
  },
29
29
  setup(e) {
30
30
  const t = ke("alwaysOpen"), n = ke("activeItemId"), r = E(), a = E(0), o = E(!1);
31
- ne(n, () => {
31
+ re(n, () => {
32
32
  i(), a.value === 0 && (o.value = !1);
33
33
  });
34
34
  const i = () => {
@@ -942,7 +942,7 @@ function Ns({
942
942
  }
943
943
  function js(e) {
944
944
  const t = new Vs(V(e)), n = Rn(t), r = t._didMount();
945
- return ne(
945
+ return re(
946
946
  () => V(e).getScrollElement(),
947
947
  (a) => {
948
948
  a && t._willUpdate();
@@ -950,7 +950,7 @@ function js(e) {
950
950
  {
951
951
  immediate: !0
952
952
  }
953
- ), ne(
953
+ ), re(
954
954
  () => V(e),
955
955
  (a) => {
956
956
  t.setOptions({
@@ -1108,7 +1108,7 @@ function la(e, t = 0) {
1108
1108
  }
1109
1109
  function Xo(e) {
1110
1110
  let t = je(e);
1111
- xe(() => {
1111
+ Se(() => {
1112
1112
  t && !la(t.activeElement, 0) && Et(e);
1113
1113
  });
1114
1114
  }
@@ -1431,7 +1431,7 @@ let li = /* @__PURE__ */ Symbol("VirtualContext"), cu = R({ name: "VirtualProvid
1431
1431
  var l;
1432
1432
  return (l = n.virtual.value) == null ? void 0 : l.options;
1433
1433
  }), i = E(0);
1434
- return ne([o], () => {
1434
+ return re([o], () => {
1435
1435
  i.value += 1;
1436
1436
  }), De(li, n.virtual.value ? a : null), () => [ue("div", { style: { position: "relative", width: "100%", height: `${a.value.getTotalSize()}px` }, ref: (l) => {
1437
1437
  if (l) {
@@ -1456,7 +1456,7 @@ let li = /* @__PURE__ */ Symbol("VirtualContext"), cu = R({ name: "VirtualProvid
1456
1456
  }
1457
1457
  let S = T(() => {
1458
1458
  });
1459
- ne([S], ([P], [I]) => {
1459
+ re([S], ([P], [I]) => {
1460
1460
  if (A.virtual.value && P && I && f.value !== null) {
1461
1461
  let L = P.indexOf(I[f.value]);
1462
1462
  L !== -1 ? f.value = L : f.value = null;
@@ -1504,8 +1504,8 @@ let li = /* @__PURE__ */ Symbol("VirtualContext"), cu = R({ name: "VirtualProvid
1504
1504
  f.value = P === ge.Specific ? I : Wr({ focus: P }, { resolveItems: () => A.virtual.value.options, resolveActiveIndex: () => {
1505
1505
  var X, K;
1506
1506
  return (K = (X = A.activeOptionIndex.value) != null ? X : A.virtual.value.options.findIndex((ae) => {
1507
- var re;
1508
- return !((re = A.virtual.value) != null && re.disabled(ae));
1507
+ var ne;
1508
+ return !((ne = A.virtual.value) != null && ne.disabled(ae));
1509
1509
  })) != null ? K : null;
1510
1510
  }, resolveDisabled: (X) => A.virtual.value.disabled(X), resolveId() {
1511
1511
  throw new Error("Function not implemented.");
@@ -1567,7 +1567,7 @@ let li = /* @__PURE__ */ Symbol("VirtualContext"), cu = R({ name: "VirtualProvid
1567
1567
  return (P = F(i)) == null ? void 0 : P.closest("form");
1568
1568
  });
1569
1569
  return te(() => {
1570
- ne([M], () => {
1570
+ re([M], () => {
1571
1571
  if (!M.value || e.defaultValue === void 0) return;
1572
1572
  function P() {
1573
1573
  A.change(e.defaultValue);
@@ -1580,7 +1580,7 @@ let li = /* @__PURE__ */ Symbol("VirtualContext"), cu = R({ name: "VirtualProvid
1580
1580
  }), () => {
1581
1581
  var P, I, L;
1582
1582
  let { name: $, disabled: U, form: X, ...K } = e, ae = { open: a.value === 0, disabled: U, activeIndex: A.activeOptionIndex.value, activeOption: A.activeOptionIndex.value === null ? null : A.virtual.value ? A.virtual.value.options[(P = A.activeOptionIndex.value) != null ? P : 0] : (L = (I = A.options.value[A.activeOptionIndex.value]) == null ? void 0 : I.dataRef.value) != null ? L : null, value: C.value };
1583
- return ue(ce, [...$ != null && C.value != null ? fa({ [$]: C.value }).map(([re, de]) => ue(Yt, ti({ features: Ut.Hidden, key: re, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: X, disabled: U, name: re, value: de }))) : [], fe({ theirProps: { ...n, ...Xt(K, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: ae, slots: t, attrs: n, name: "Combobox" })]);
1583
+ return ue(ce, [...$ != null && C.value != null ? fa({ [$]: C.value }).map(([ne, de]) => ue(Yt, ti({ features: Ut.Hidden, key: ne, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: X, disabled: U, name: ne, value: de }))) : [], fe({ theirProps: { ...n, ...Xt(K, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: ae, slots: t, attrs: n, name: "Combobox" })]);
1584
1584
  };
1585
1585
  } });
1586
1586
  R({ name: "ComboboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: n }) {
@@ -1600,7 +1600,7 @@ let pu = R({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1600
1600
  let o = (a = e.id) != null ? a : `headlessui-combobox-button-${Te()}`, i = Qt("ComboboxButton");
1601
1601
  r({ el: i.buttonRef, $el: i.buttonRef });
1602
1602
  function l(u) {
1603
- i.disabled.value || (i.comboboxState.value === 0 ? i.closeCombobox() : (u.preventDefault(), i.openCombobox()), xe(() => {
1603
+ i.disabled.value || (i.comboboxState.value === 0 ? i.closeCombobox() : (u.preventDefault(), i.openCombobox()), Se(() => {
1604
1604
  var f;
1605
1605
  return (f = F(i.inputRef)) == null ? void 0 : f.focus({ preventScroll: !0 });
1606
1606
  }));
@@ -1608,22 +1608,22 @@ let pu = R({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1608
1608
  function s(u) {
1609
1609
  switch (u.key) {
1610
1610
  case Z.ArrowDown:
1611
- u.preventDefault(), u.stopPropagation(), i.comboboxState.value === 1 && i.openCombobox(), xe(() => {
1611
+ u.preventDefault(), u.stopPropagation(), i.comboboxState.value === 1 && i.openCombobox(), Se(() => {
1612
1612
  var f;
1613
1613
  return (f = i.inputRef.value) == null ? void 0 : f.focus({ preventScroll: !0 });
1614
1614
  });
1615
1615
  return;
1616
1616
  case Z.ArrowUp:
1617
- u.preventDefault(), u.stopPropagation(), i.comboboxState.value === 1 && (i.openCombobox(), xe(() => {
1617
+ u.preventDefault(), u.stopPropagation(), i.comboboxState.value === 1 && (i.openCombobox(), Se(() => {
1618
1618
  i.value.value || i.goToOption(ge.Last);
1619
- })), xe(() => {
1619
+ })), Se(() => {
1620
1620
  var f;
1621
1621
  return (f = i.inputRef.value) == null ? void 0 : f.focus({ preventScroll: !0 });
1622
1622
  });
1623
1623
  return;
1624
1624
  case Z.Escape:
1625
1625
  if (i.comboboxState.value !== 0) return;
1626
- u.preventDefault(), i.optionsRef.value && !i.optionsPropsRef.value.static && u.stopPropagation(), i.closeCombobox(), xe(() => {
1626
+ u.preventDefault(), i.optionsRef.value && !i.optionsPropsRef.value.static && u.stopPropagation(), i.closeCombobox(), Se(() => {
1627
1627
  var f;
1628
1628
  return (f = i.inputRef.value) == null ? void 0 : f.focus({ preventScroll: !0 });
1629
1629
  });
@@ -1651,7 +1651,7 @@ let pu = R({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1651
1651
  return F(l.inputRef) ? typeof e.displayValue < "u" && k !== void 0 ? (x = e.displayValue(k)) != null ? x : "" : typeof k == "string" ? k : "" : "";
1652
1652
  });
1653
1653
  te(() => {
1654
- ne([f, l.comboboxState, s], ([x, k], [S, A]) => {
1654
+ re([f, l.comboboxState, s], ([x, k], [S, A]) => {
1655
1655
  if (d.value) return;
1656
1656
  let M = F(l.inputRef);
1657
1657
  M && ((A === 0 && k === 1 || x !== S) && (M.value = x), requestAnimationFrame(() => {
@@ -1660,7 +1660,7 @@ let pu = R({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1660
1660
  let { selectionStart: I, selectionEnd: L } = M;
1661
1661
  Math.abs((L ?? 0) - (I ?? 0)) === 0 && I === 0 && M.setSelectionRange(M.value.length, M.value.length);
1662
1662
  }));
1663
- }, { immediate: !0 }), ne([l.comboboxState], ([x], [k]) => {
1663
+ }, { immediate: !0 }), re([l.comboboxState], ([x], [k]) => {
1664
1664
  if (x === 0 && k === 1) {
1665
1665
  if (d.value) return;
1666
1666
  let S = F(l.inputRef);
@@ -1696,7 +1696,7 @@ let pu = R({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1696
1696
  return d.value = !1, x.preventDefault(), x.stopPropagation(), Ce(l.comboboxState.value, { 0: () => l.goToOption(ge.Next), 1: () => l.openCombobox() });
1697
1697
  case Z.ArrowUp:
1698
1698
  return d.value = !1, x.preventDefault(), x.stopPropagation(), Ce(l.comboboxState.value, { 0: () => l.goToOption(ge.Previous), 1: () => {
1699
- l.openCombobox(), xe(() => {
1699
+ l.openCombobox(), Se(() => {
1700
1700
  l.value.value || l.goToOption(ge.Last);
1701
1701
  });
1702
1702
  } });
@@ -1776,7 +1776,7 @@ let pu = R({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1776
1776
  let b = F(i);
1777
1777
  b && u?.value.measureElement(b);
1778
1778
  }), Ee(() => {
1779
- a.comboboxState.value === 0 && s.value && (a.virtual.value || a.activationTrigger.value !== 0 && xe(() => {
1779
+ a.comboboxState.value === 0 && s.value && (a.virtual.value || a.activationTrigger.value !== 0 && Se(() => {
1780
1780
  var b, C;
1781
1781
  return (C = (b = F(i)) == null ? void 0 : b.scrollIntoView) == null ? void 0 : C.call(b, { block: "nearest" });
1782
1782
  }));
@@ -1873,7 +1873,7 @@ let hn = Object.assign(R({ name: "FocusTrap", props: { as: { type: [Object, Stri
1873
1873
  } }), { features: di });
1874
1874
  function bu(e) {
1875
1875
  let t = E(yt.slice());
1876
- return ne([e], ([n], [r]) => {
1876
+ return re([e], ([n], [r]) => {
1877
1877
  r === !0 && n === !1 ? mr(() => {
1878
1878
  t.value.splice(0);
1879
1879
  }) : r === !1 && n === !0 && (t.value = yt.slice());
@@ -1896,7 +1896,7 @@ function yu({ ownerDocument: e }, t) {
1896
1896
  function Au({ ownerDocument: e, container: t, initialFocus: n }, r) {
1897
1897
  let a = E(null), o = E(!1);
1898
1898
  return te(() => o.value = !0), Ie(() => o.value = !1), te(() => {
1899
- ne([t, n, r], (i, l) => {
1899
+ re([t, n, r], (i, l) => {
1900
1900
  if (i.every((d, u) => l?.[u] === d) || !r.value) return;
1901
1901
  let s = F(t);
1902
1902
  s && mr(() => {
@@ -2042,7 +2042,7 @@ function Tu(e, t, n) {
2042
2042
  let o = e.value ? r.value.get(e.value) : void 0;
2043
2043
  return o ? o.count > 0 : !1;
2044
2044
  });
2045
- return ne([e, t], ([o, i], [l], s) => {
2045
+ return re([e, t], ([o, i], [l], s) => {
2046
2046
  if (!o || !i) return;
2047
2047
  Wt.dispatch("PUSH", o, n);
2048
2048
  let d = !1;
@@ -2107,7 +2107,7 @@ function Iu({ type: e, enabled: t, element: n, onUpdate: r }) {
2107
2107
  r?.(...i), a(...i);
2108
2108
  }
2109
2109
  te(() => {
2110
- ne(t, (i, l) => {
2110
+ re(t, (i, l) => {
2111
2111
  i ? o(0, e, n) : l === !0 && o(1, e, n);
2112
2112
  }, { immediate: !0, flush: "sync" });
2113
2113
  }), Ie(() => {
@@ -2168,7 +2168,7 @@ let mi = R({ name: "Portal", props: { as: { type: [Object, String], default: "di
2168
2168
  o || i != null && (l.value = i.resolveTarget());
2169
2169
  });
2170
2170
  let d = ke(Ur, null), u = !1, f = Fo();
2171
- return ne(r, () => {
2171
+ return re(r, () => {
2172
2172
  if (u || !d) return;
2173
2173
  let c = F(r);
2174
2174
  c && (Ie(d.register(c), f), u = !0);
@@ -2248,10 +2248,10 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Vu = R({ name: "Dialog", inheri
2248
2248
  t("close", !1);
2249
2249
  } };
2250
2250
  De(Yr, ae);
2251
- let re = T(() => !(!y.value || b.value));
2251
+ let ne = T(() => !(!y.value || b.value));
2252
2252
  sa(k, (ee, ie) => {
2253
- ee.preventDefault(), ae.close(), xe(() => ie?.focus());
2254
- }, re);
2253
+ ee.preventDefault(), ae.close(), Se(() => ie?.focus());
2254
+ }, ne);
2255
2255
  let de = T(() => !(b.value || m.value !== 0));
2256
2256
  si((i = v.value) == null ? void 0 : i.defaultView, "keydown", (ee) => {
2257
2257
  de.value && (ee.defaultPrevented || ee.key === Z.Escape && (ee.preventDefault(), ee.stopPropagation(), ae.close()));
@@ -2414,13 +2414,13 @@ let Uu = R({ name: "Menu", props: { as: { type: [Object, String], default: "temp
2414
2414
  case Z.Space:
2415
2415
  case Z.Enter:
2416
2416
  case Z.ArrowDown:
2417
- f.preventDefault(), f.stopPropagation(), i.openMenu(), xe(() => {
2417
+ f.preventDefault(), f.stopPropagation(), i.openMenu(), Se(() => {
2418
2418
  var c;
2419
2419
  (c = F(i.itemsRef)) == null || c.focus({ preventScroll: !0 }), i.goToItem(ge.First);
2420
2420
  });
2421
2421
  break;
2422
2422
  case Z.ArrowUp:
2423
- f.preventDefault(), f.stopPropagation(), i.openMenu(), xe(() => {
2423
+ f.preventDefault(), f.stopPropagation(), i.openMenu(), Se(() => {
2424
2424
  var c;
2425
2425
  (c = F(i.itemsRef)) == null || c.focus({ preventScroll: !0 }), i.goToItem(ge.Last);
2426
2426
  });
@@ -2431,7 +2431,7 @@ let Uu = R({ name: "Menu", props: { as: { type: [Object, String], default: "temp
2431
2431
  f.key === Z.Space && f.preventDefault();
2432
2432
  }
2433
2433
  function d(f) {
2434
- e.disabled || (i.menuState.value === 0 ? (i.closeMenu(), xe(() => {
2434
+ e.disabled || (i.menuState.value === 0 ? (i.closeMenu(), Se(() => {
2435
2435
  var c;
2436
2436
  return (c = F(i.buttonRef)) == null ? void 0 : c.focus({ preventScroll: !0 });
2437
2437
  })) : (f.preventDefault(), i.openMenu(), zu(() => {
@@ -2476,13 +2476,13 @@ let Uu = R({ name: "Menu", props: { as: { type: [Object, String], default: "temp
2476
2476
  case Z.PageDown:
2477
2477
  return c.preventDefault(), c.stopPropagation(), i.goToItem(ge.Last);
2478
2478
  case Z.Escape:
2479
- c.preventDefault(), c.stopPropagation(), i.closeMenu(), xe(() => {
2479
+ c.preventDefault(), c.stopPropagation(), i.closeMenu(), Se(() => {
2480
2480
  var g;
2481
2481
  return (g = F(i.buttonRef)) == null ? void 0 : g.focus({ preventScroll: !0 });
2482
2482
  });
2483
2483
  break;
2484
2484
  case Z.Tab:
2485
- c.preventDefault(), c.stopPropagation(), i.closeMenu(), xe(() => eu(F(i.buttonRef), c.shiftKey ? we.Previous : we.Next));
2485
+ c.preventDefault(), c.stopPropagation(), i.closeMenu(), Se(() => eu(F(i.buttonRef), c.shiftKey ? we.Previous : we.Next));
2486
2486
  break;
2487
2487
  default:
2488
2488
  c.key.length === 1 && (i.search(c.key), l.value = setTimeout(() => i.clearSearch(), 350));
@@ -2506,7 +2506,7 @@ let Uu = R({ name: "Menu", props: { as: { type: [Object, String], default: "temp
2506
2506
  return d();
2507
2507
  }, domRef: l }));
2508
2508
  te(() => i.registerItem(o, u)), Ie(() => i.unregisterItem(o)), Ee(() => {
2509
- i.menuState.value === 0 && s.value && i.activationTrigger.value !== 0 && xe(() => {
2509
+ i.menuState.value === 0 && s.value && i.activationTrigger.value !== 0 && Se(() => {
2510
2510
  var y, b;
2511
2511
  return (b = (y = F(l)) == null ? void 0 : y.scrollIntoView) == null ? void 0 : b.call(y, { block: "nearest" });
2512
2512
  });
@@ -2642,7 +2642,7 @@ let Ku = R({ name: "RadioGroup", emits: { "update:modelValue": (e) => !0 }, prop
2642
2642
  return (m = F(l)) == null ? void 0 : m.closest("form");
2643
2643
  });
2644
2644
  return te(() => {
2645
- ne([v], () => {
2645
+ re([v], () => {
2646
2646
  if (!v.value || e.defaultValue === void 0) return;
2647
2647
  function m() {
2648
2648
  h.change(e.defaultValue);
@@ -2760,7 +2760,7 @@ let va = /* @__PURE__ */ Symbol("TabsSSRContext"), rd = R({ name: "TabGroup", em
2760
2760
  }), De(va, T(() => h.value ? null : c.value));
2761
2761
  let g = T(() => e.selectedIndex);
2762
2762
  return te(() => {
2763
- ne([g], () => {
2763
+ re([g], () => {
2764
2764
  var v;
2765
2765
  return u((v = e.selectedIndex) != null ? v : e.defaultIndex);
2766
2766
  }, { immediate: !0 });
@@ -2987,11 +2987,11 @@ let Oi = Xe.RenderStrategy, Qr = R({ props: { as: { type: [Object, String], defa
2987
2987
  })));
2988
2988
  }
2989
2989
  return te(() => {
2990
- ne([c], ($, U, X) => {
2990
+ re([c], ($, U, X) => {
2991
2991
  L(X), y.value = !1;
2992
2992
  }, { immediate: !0 });
2993
2993
  }), De(ha, p), ca(T(() => Ce(m.value, { visible: Oe.Open, hidden: Oe.Closed }) | o.value)), () => {
2994
- let { appear: $, show: U, enter: X, enterFrom: K, enterTo: ae, entered: re, leave: de, leaveFrom: pe, leaveTo: ee, ...ie } = e, Ae = { ref: u }, ve = { ...ie, ...h.value && c.value && Ln.isServer ? { class: z([n.class, ie.class, ...x, ...k]) } : {} };
2994
+ let { appear: $, show: U, enter: X, enterFrom: K, enterTo: ae, entered: ne, leave: de, leaveFrom: pe, leaveTo: ee, ...ie } = e, Ae = { ref: u }, ve = { ...ie, ...h.value && c.value && Ln.isServer ? { class: z([n.class, ie.class, ...x, ...k]) } : {} };
2995
2995
  return fe({ theirProps: ve, ourProps: Ae, slot: {}, slots: r, attrs: n, features: Oi, visible: m.value === "visible", name: "TransitionChild" });
2996
2996
  };
2997
2997
  } }), vd = Qr, ga = R({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: n, slots: r }) {
@@ -3155,9 +3155,9 @@ const md = { class: "dropdown-trigger-button" }, hd = /* @__PURE__ */ R({
3155
3155
  const r = e, a = E(r.isOpen), o = n, i = () => {
3156
3156
  a.value = !1;
3157
3157
  };
3158
- return ne(a, (l) => {
3158
+ return re(a, (l) => {
3159
3159
  l === !1 && o("onClose");
3160
- }), ne(r, () => {
3160
+ }), re(r, () => {
3161
3161
  a.value = r.isOpen;
3162
3162
  }), t({ isOpen: a }), (l, s) => {
3163
3163
  const d = Q("base-icon"), u = Q("base-button");
@@ -3381,7 +3381,7 @@ function Ei(e) {
3381
3381
  return V(e) != null;
3382
3382
  }
3383
3383
  function Hd(e, t, n) {
3384
- return ne(e, t, {
3384
+ return re(e, t, {
3385
3385
  ...n,
3386
3386
  immediate: !0
3387
3387
  });
@@ -3485,7 +3485,7 @@ const Pr = /* @__PURE__ */ new WeakMap();
3485
3485
  function qd(e, t = !1) {
3486
3486
  const n = Rn(t);
3487
3487
  let r = "";
3488
- ne(Wd(e), (i) => {
3488
+ re(Wd(e), (i) => {
3489
3489
  const l = Br(ut(i));
3490
3490
  if (l) {
3491
3491
  const s = l;
@@ -3532,7 +3532,7 @@ function Ud() {
3532
3532
  if (t.value = r.value, e) return;
3533
3533
  e = !0;
3534
3534
  const a = qd(n, r.value);
3535
- ne(t, (o) => a.value = o);
3535
+ re(t, (o) => a.value = o);
3536
3536
  };
3537
3537
  }
3538
3538
  Ud();
@@ -3557,7 +3557,7 @@ function Gr(e, t, n) {
3557
3557
  Gr.debounce = Gr;
3558
3558
  var Ir = Gr;
3559
3559
  function Yd(e, t, n) {
3560
- gt(e) ? ne(e, (r, a) => {
3560
+ gt(e) ? re(e, (r, a) => {
3561
3561
  a?.removeEventListener(t, n), r?.addEventListener(t, n);
3562
3562
  }) : te(() => {
3563
3563
  e.addEventListener(t, n);
@@ -3581,7 +3581,7 @@ function Qd(e, t, n) {
3581
3581
  childList: !0,
3582
3582
  subtree: !0
3583
3583
  });
3584
- }), pr(() => r.disconnect()), ne(n, (i) => {
3584
+ }), pr(() => r.disconnect()), re(n, (i) => {
3585
3585
  i ? a.value = !0 : a.value = !1;
3586
3586
  });
3587
3587
  const o = () => {
@@ -4221,10 +4221,10 @@ function _c(e) {
4221
4221
  };
4222
4222
  if (k) {
4223
4223
  if (o || l) {
4224
- var I = p === "y" ? qe : ze, L = p === "y" ? tt : nt, $ = p === "y" ? "height" : "width", U = k[p], X = k[p] + m[I], K = k[p] - m[L], ae = h ? -A[$] / 2 : 0, re = b === on ? S[$] : A[$], de = b === on ? -A[$] : -S[$], pe = t.elements.arrow, ee = h && pe ? wa(pe) : {
4224
+ var I = p === "y" ? qe : ze, L = p === "y" ? tt : nt, $ = p === "y" ? "height" : "width", U = k[p], X = k[p] + m[I], K = k[p] - m[L], ae = h ? -A[$] / 2 : 0, ne = b === on ? S[$] : A[$], de = b === on ? -A[$] : -S[$], pe = t.elements.arrow, ee = h && pe ? wa(pe) : {
4225
4225
  width: 0,
4226
4226
  height: 0
4227
- }, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ri(), Ae = ie[I], ve = ie[L], ye = or(0, S[$], ee[$]), Be = C ? S[$] / 2 - ae - ye - Ae - M : re - ye - Ae - M, ot = C ? -S[$] / 2 + ae + ye + ve + M : de + ye + ve + M, Re = t.elements.arrow && Nn(t.elements.arrow), it = Re ? p === "y" ? Re.clientTop || 0 : Re.clientLeft || 0 : 0, Je = t.modifiersData.offset ? t.modifiersData.offset[t.placement][p] : 0, mt = k[p] + Be - Je - it, Mt = k[p] + ot - Je;
4227
+ }, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ri(), Ae = ie[I], ve = ie[L], ye = or(0, S[$], ee[$]), Be = C ? S[$] / 2 - ae - ye - Ae - M : ne - ye - Ae - M, ot = C ? -S[$] / 2 + ae + ye + ve + M : de + ye + ve + M, Re = t.elements.arrow && Nn(t.elements.arrow), it = Re ? p === "y" ? Re.clientTop || 0 : Re.clientLeft || 0 : 0, Je = t.modifiersData.offset ? t.modifiersData.offset[t.placement][p] : 0, mt = k[p] + Be - Je - it, Mt = k[p] + ot - Je;
4228
4228
  if (o) {
4229
4229
  var wt = or(h ? Pn(X, mt) : X, U, h ? Tt(K, Mt) : K);
4230
4230
  k[p] = wt, P[p] = wt - U;
@@ -4310,8 +4310,8 @@ function qc(e) {
4310
4310
  padding: d
4311
4311
  }), ae = U ? $ ? nt : ze : $ ? tt : qe;
4312
4312
  x[X] > k[X] && (ae = ir(ae));
4313
- var re = ir(ae), de = [];
4314
- if (o && de.push(K[L] <= 0), l && de.push(K[ae] <= 0, K[re] <= 0), de.every(function(ve) {
4313
+ var ne = ir(ae), de = [];
4314
+ if (o && de.push(K[L] <= 0), l && de.push(K[ae] <= 0, K[ne] <= 0), de.every(function(ve) {
4315
4315
  return ve;
4316
4316
  })) {
4317
4317
  M = I, A = !1;
@@ -4424,11 +4424,11 @@ function Zc({
4424
4424
  }, h = () => {
4425
4425
  s.isOpen || (s.isOpen = !0, t("open:popper"));
4426
4426
  };
4427
- ne([() => s.isOpen, o], async ([v]) => {
4427
+ re([() => s.isOpen, o], async ([v]) => {
4428
4428
  v ? (await g(), u()) : f();
4429
4429
  });
4430
4430
  const g = async () => {
4431
- await xe(), s.popperInstance = Lc(l.value, i.value, {
4431
+ await Se(), s.popperInstance = Lc(l.value, i.value, {
4432
4432
  placement: o.value,
4433
4433
  modifiers: [Vc, zc, {
4434
4434
  name: "flip",
@@ -4649,14 +4649,14 @@ var Vi = {
4649
4649
  emit: t
4650
4650
  }) {
4651
4651
  const n = e;
4652
- _l((re) => ({
4652
+ _l((ne) => ({
4653
4653
  c81fc0a4: e.zIndex
4654
4654
  }));
4655
4655
  const r = Vo(), a = E(null), o = E(null), i = E(null), l = E(!1);
4656
4656
  te(() => {
4657
- const re = r.default();
4658
- if (re && re.length > 1)
4659
- return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${re.length} child nodes.`);
4657
+ const ne = r.default();
4658
+ if (ne && ne.length > 1)
4659
+ return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${ne.length} child nodes.`);
4660
4660
  });
4661
4661
  const {
4662
4662
  arrowPadding: s,
@@ -4693,17 +4693,17 @@ var Vi = {
4693
4693
  }, ae = () => {
4694
4694
  p.value ? K() : X();
4695
4695
  };
4696
- return ne([S, c], ([re, de]) => {
4697
- p.value && (!re || de) && k();
4698
- }), ne(p, (re) => {
4699
- re ? l.value = !0 : Ir.debounce(() => {
4696
+ return re([S, c], ([ne, de]) => {
4697
+ p.value && (!ne || de) && k();
4698
+ }), re(p, (ne) => {
4699
+ ne ? l.value = !0 : Ir.debounce(() => {
4700
4700
  l.value = !1;
4701
4701
  }, 200);
4702
4702
  }), Ee(() => {
4703
4703
  A.value && (C.value ? $() : U());
4704
4704
  }), Ee(() => {
4705
4705
  I.value && Xd(a, K);
4706
- }), (re, de) => (w(), B("div", {
4706
+ }), (ne, de) => (w(), B("div", {
4707
4707
  class: "inline-block",
4708
4708
  style: Ye(V(L)),
4709
4709
  onMouseleave: de[2] || (de[2] = (pe) => e.hover && K()),
@@ -4718,7 +4718,7 @@ var Vi = {
4718
4718
  onClick: ae,
4719
4719
  onFocus: X,
4720
4720
  onKeyup: Vl(K, ["esc"])
4721
- }, [G(re.$slots, "default")], 40, af), W(_o, {
4721
+ }, [G(ne.$slots, "default")], 40, af), W(_o, {
4722
4722
  name: "fade"
4723
4723
  }, {
4724
4724
  default: _(() => [et(O("div", {
@@ -4727,7 +4727,7 @@ var Vi = {
4727
4727
  ref: (pe, ee) => {
4728
4728
  ee.popperNode = pe, o.value = pe;
4729
4729
  }
4730
- }, [G(re.$slots, "content", {
4730
+ }, [G(ne.$slots, "content", {
4731
4731
  close: V(k),
4732
4732
  isOpen: l.value
4733
4733
  }, () => [Pe(q(V(u)), 1)]), e.arrow ? (w(), Y(rf, {
@@ -4793,7 +4793,7 @@ const Ni = /* @__PURE__ */ R({
4793
4793
  {
4794
4794
  ignore: [r]
4795
4795
  }
4796
- ], o = Se(e, "is-open"), i = (l) => {
4796
+ ], o = xe(e, "is-open"), i = (l) => {
4797
4797
  if (Ei(l)) {
4798
4798
  o.value = l;
4799
4799
  return;
@@ -4874,7 +4874,7 @@ const Ni = /* @__PURE__ */ R({
4874
4874
  },
4875
4875
  emits: ["update:sitemap"],
4876
4876
  setup(e) {
4877
- const t = Se(e, "sitemap");
4877
+ const t = xe(e, "sitemap");
4878
4878
  return (n, r) => (w(), B("div", df, [
4879
4879
  t.value.title ? (w(), B("h1", cf, q(t.value.title), 1)) : N("", !0),
4880
4880
  t.value.subtitle ? (w(), B("h2", ff, q(t.value.subtitle), 1)) : N("", !0),
@@ -5706,8 +5706,8 @@ function qp(e) {
5706
5706
  padding: d
5707
5707
  }), ae = U ? $ ? Ge : Ve : $ ? Qe : _e;
5708
5708
  x[X] > k[X] && (ae = lr(ae));
5709
- var re = lr(ae), de = [];
5710
- if (o && de.push(K[L] <= 0), l && de.push(K[ae] <= 0, K[re] <= 0), de.every(function(ve) {
5709
+ var ne = lr(ae), de = [];
5710
+ if (o && de.push(K[L] <= 0), l && de.push(K[ae] <= 0, K[ne] <= 0), de.every(function(ve) {
5711
5711
  return ve;
5712
5712
  })) {
5713
5713
  M = I, A = !1;
@@ -5845,10 +5845,10 @@ function ev(e) {
5845
5845
  };
5846
5846
  if (k) {
5847
5847
  if (o) {
5848
- var $, U = p === "y" ? _e : Ve, X = p === "y" ? Qe : Ge, K = p === "y" ? "height" : "width", ae = k[p], re = ae + m[U], de = ae - m[X], pe = h ? -A[K] / 2 : 0, ee = b === sn ? S[K] : A[K], ie = b === sn ? -A[K] : -S[K], Ae = t.elements.arrow, ve = h && Ae ? Ea(Ae) : {
5848
+ var $, U = p === "y" ? _e : Ve, X = p === "y" ? Qe : Ge, K = p === "y" ? "height" : "width", ae = k[p], ne = ae + m[U], de = ae - m[X], pe = h ? -A[K] / 2 : 0, ee = b === sn ? S[K] : A[K], ie = b === sn ? -A[K] : -S[K], Ae = t.elements.arrow, ve = h && Ae ? Ea(Ae) : {
5849
5849
  width: 0,
5850
5850
  height: 0
5851
- }, ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Gi(), Be = ye[U], ot = ye[X], Re = Cn(0, S[K], ve[K]), it = C ? S[K] / 2 - pe - Re - Be - P.mainAxis : ee - Re - Be - P.mainAxis, Je = C ? -S[K] / 2 + pe + Re + ot + P.mainAxis : ie + Re + ot + P.mainAxis, mt = t.elements.arrow && Hn(t.elements.arrow), Mt = mt ? p === "y" ? mt.clientTop || 0 : mt.clientLeft || 0 : 0, wt = ($ = I?.[p]) != null ? $ : 0, Gt = ae + it - wt - Mt, Kt = ae + Je - wt, lt = Cn(h ? ur(re, Gt) : re, ae, h ? qt(de, Kt) : de);
5851
+ }, ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Gi(), Be = ye[U], ot = ye[X], Re = Cn(0, S[K], ve[K]), it = C ? S[K] / 2 - pe - Re - Be - P.mainAxis : ee - Re - Be - P.mainAxis, Je = C ? -S[K] / 2 + pe + Re + ot + P.mainAxis : ie + Re + ot + P.mainAxis, mt = t.elements.arrow && Hn(t.elements.arrow), Mt = mt ? p === "y" ? mt.clientTop || 0 : mt.clientLeft || 0 : 0, wt = ($ = I?.[p]) != null ? $ : 0, Gt = ae + it - wt - Mt, Kt = ae + Je - wt, lt = Cn(h ? ur(ne, Gt) : ne, ae, h ? qt(de, Kt) : de);
5852
5852
  k[p] = lt, L[p] = lt - ae;
5853
5853
  }
5854
5854
  if (l) {
@@ -6392,7 +6392,7 @@ function Mv(e, t) {
6392
6392
  var A = b.map(function(D) {
6393
6393
  return D.fn(p);
6394
6394
  }), M = e.hasAttribute("aria-expanded");
6395
- return mt(), pe(), ae(), re("onCreate", [p]), n.showOnCreate && vn(), k.addEventListener("mouseenter", function() {
6395
+ return mt(), pe(), ae(), ne("onCreate", [p]), n.showOnCreate && vn(), k.addEventListener("mouseenter", function() {
6396
6396
  p.props.interactive && p.state.isVisible && p.clearDelayTimeouts();
6397
6397
  }), k.addEventListener("mouseleave", function() {
6398
6398
  p.props.interactive && p.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", g);
@@ -6424,7 +6424,7 @@ function Mv(e, t) {
6424
6424
  function ae(D) {
6425
6425
  D === void 0 && (D = !1), k.style.pointerEvents = p.props.interactive && !D ? "" : "none", k.style.zIndex = "" + p.props.zIndex;
6426
6426
  }
6427
- function re(D, j, J) {
6427
+ function ne(D, j, J) {
6428
6428
  if (J === void 0 && (J = !0), A.forEach(function(se) {
6429
6429
  se[D] && se[D].apply(se, j);
6430
6430
  }), J) {
@@ -6470,7 +6470,7 @@ function Mv(e, t) {
6470
6470
  if (st.isTouch || p.state.isVisible && p.props.trigger.indexOf("click") >= 0)
6471
6471
  return;
6472
6472
  } else
6473
- re("onClickOutside", [p, D]);
6473
+ ne("onClickOutside", [p, D]);
6474
6474
  p.props.hideOnClick === !0 && (p.clearDelayTimeouts(), p.hide(), l = !0, setTimeout(function() {
6475
6475
  l = !1;
6476
6476
  }), p.state.isMounted || Be());
@@ -6653,14 +6653,14 @@ function Mv(e, t) {
6653
6653
  return pn(k.querySelectorAll("[data-tippy-root]"));
6654
6654
  }
6655
6655
  function vn(D) {
6656
- p.clearDelayTimeouts(), D && re("onTrigger", [p, D]), ye();
6656
+ p.clearDelayTimeouts(), D && ne("onTrigger", [p, D]), ye();
6657
6657
  var j = K(!0), J = P(), me = J[0], se = J[1];
6658
6658
  st.isTouch && me === "hold" && se && (j = se), j ? r = setTimeout(function() {
6659
6659
  p.show();
6660
6660
  }, j) : p.show();
6661
6661
  }
6662
6662
  function Lt(D) {
6663
- if (p.clearDelayTimeouts(), re("onUntrigger", [p, D]), !p.state.isVisible) {
6663
+ if (p.clearDelayTimeouts(), ne("onUntrigger", [p, D]), !p.state.isVisible) {
6664
6664
  Be();
6665
6665
  return;
6666
6666
  }
@@ -6684,7 +6684,7 @@ function Mv(e, t) {
6684
6684
  }
6685
6685
  function Un(D) {
6686
6686
  if (!p.state.isDestroyed) {
6687
- re("onBeforeUpdate", [p, D]), Mt();
6687
+ ne("onBeforeUpdate", [p, D]), Mt();
6688
6688
  var j = p.props, J = So(e, Object.assign({}, j, Ao(D), {
6689
6689
  ignoreAttributes: !0
6690
6690
  }));
@@ -6692,7 +6692,7 @@ function Mv(e, t) {
6692
6692
  me.removeAttribute("aria-expanded");
6693
6693
  }) : J.triggerTarget && e.removeAttribute("aria-expanded"), pe(), ae(), S && S(j, J), p.popperInstance && ($t(), St().forEach(function(me) {
6694
6694
  requestAnimationFrame(me._tippy.popperInstance.forceUpdate);
6695
- })), re("onAfterUpdate", [p, D]);
6695
+ })), ne("onAfterUpdate", [p, D]);
6696
6696
  }
6697
6697
  }
6698
6698
  function Yn(D) {
@@ -6702,7 +6702,7 @@ function Mv(e, t) {
6702
6702
  }
6703
6703
  function El() {
6704
6704
  var D = p.state.isVisible, j = p.state.isDestroyed, J = !p.state.isEnabled, me = st.isTouch && !p.props.touch, se = Rr(p.props.duration, 0, Ze.duration);
6705
- if (!(D || j || J || me) && !$().hasAttribute("disabled") && (re("onShow", [p], !1), p.props.onShow(p) !== !1)) {
6705
+ if (!(D || j || J || me) && !$().hasAttribute("disabled") && (ne("onShow", [p], !1), p.props.onShow(p) !== !1)) {
6706
6706
  if (p.state.isVisible = !0, L() && (k.style.visibility = "visible"), ae(), ye(), p.state.isMounted || (k.style.transition = "none"), L()) {
6707
6707
  var Fe = X(), We = Fe.box, Jt = Fe.content;
6708
6708
  Lr([We, Jt], 0);
@@ -6714,8 +6714,8 @@ function Mv(e, t) {
6714
6714
  var xr = X(), Xn = xr.box, Zt = xr.content;
6715
6715
  Lr([Xn, Zt], se), Mn([Xn, Zt], "visible");
6716
6716
  }
6717
- de(), pe(), yo(_r, p), (Ft = p.popperInstance) == null || Ft.forceUpdate(), re("onMount", [p]), p.props.animation && L() && Re(se, function() {
6718
- p.state.isShown = !0, re("onShown", [p]);
6717
+ de(), pe(), yo(_r, p), (Ft = p.popperInstance) == null || Ft.forceUpdate(), ne("onMount", [p]), p.props.animation && L() && Re(se, function() {
6718
+ p.state.isShown = !0, ne("onShown", [p]);
6719
6719
  });
6720
6720
  }
6721
6721
  }, ht();
@@ -6723,7 +6723,7 @@ function Mv(e, t) {
6723
6723
  }
6724
6724
  function Tl() {
6725
6725
  var D = !p.state.isVisible, j = p.state.isDestroyed, J = !p.state.isEnabled, me = Rr(p.props.duration, 1, Ze.duration);
6726
- if (!(D || j || J) && (re("onHide", [p], !1), p.props.onHide(p) !== !1)) {
6726
+ if (!(D || j || J) && (ne("onHide", [p], !1), p.props.onHide(p) !== !1)) {
6727
6727
  if (p.state.isVisible = !1, p.state.isShown = !1, d = !1, i = !1, L() && (k.style.visibility = "hidden"), ee(), Be(), ae(!0), L()) {
6728
6728
  var se = X(), Fe = se.box, We = se.content;
6729
6729
  p.props.animation && (Lr([Fe, We], me), Mn([Fe, We], "hidden"));
@@ -6739,10 +6739,10 @@ function Mv(e, t) {
6739
6739
  D._tippy.unmount();
6740
6740
  }), k.parentNode && k.parentNode.removeChild(k), _r = _r.filter(function(D) {
6741
6741
  return D !== p;
6742
- }), p.state.isMounted = !1, re("onHidden", [p]));
6742
+ }), p.state.isMounted = !1, ne("onHidden", [p]));
6743
6743
  }
6744
6744
  function Dl() {
6745
- p.state.isDestroyed || (p.clearDelayTimeouts(), p.unmount(), Mt(), delete e._tippy, p.state.isDestroyed = !0, re("onDestroy", [p]));
6745
+ p.state.isDestroyed || (p.clearDelayTimeouts(), p.unmount(), Mt(), delete e._tippy, p.state.isDestroyed = !0, ne("onDestroy", [p]));
6746
6746
  }
6747
6747
  }
6748
6748
  function H(e, t) {
@@ -7249,7 +7249,7 @@ function pl(e, t = {}, n = { mount: !0, appName: "Tippy" }) {
7249
7249
  };
7250
7250
  return n.mount && (r ? r.isMounted ? x() : te(x) : x()), r && Ie(() => {
7251
7251
  v();
7252
- }), gt(t) || _a(t) ? ne(t, f, { immediate: !1 }) : gt(t.content) && ne(t.content, c, { immediate: !1 }), k;
7252
+ }), gt(t) || _a(t) ? re(t, f, { immediate: !1 }) : gt(t.content) && re(t.content, c, { immediate: !1 }), k;
7253
7253
  }
7254
7254
  function Uv(e, t) {
7255
7255
  const n = E();
@@ -7347,12 +7347,12 @@ const vl = R({
7347
7347
  const u = pl(d, s());
7348
7348
  let f = t.content;
7349
7349
  !f && e.to === "parent" && (f = t.default), te(() => {
7350
- l.value = !0, xe(() => {
7350
+ l.value = !0, Se(() => {
7351
7351
  f && u.setContent(() => i.value);
7352
7352
  });
7353
- }), ne(u.state, () => {
7353
+ }), re(u.state, () => {
7354
7354
  n("state", V(u.state));
7355
- }, { immediate: !0, deep: !0 }), ne(() => e, () => {
7355
+ }, { immediate: !0, deep: !0 }), re(() => e, () => {
7356
7356
  u.setProps(s()), f && u.setContent(() => i.value);
7357
7357
  }, { deep: !0 });
7358
7358
  let c = fr({
@@ -7508,7 +7508,7 @@ const em = /* @__PURE__ */ R({
7508
7508
  const t = E(!1), n = E(), r = () => {
7509
7509
  t.value = !t.value;
7510
7510
  }, a = e;
7511
- return ne(
7511
+ return re(
7512
7512
  a,
7513
7513
  () => {
7514
7514
  t.value = a.isOpen;
@@ -7546,7 +7546,7 @@ const em = /* @__PURE__ */ R({
7546
7546
  ]);
7547
7547
  };
7548
7548
  }
7549
- }), am = ["for"], om = { class: "space-x-1" }, im = { key: 0 }, lm = {
7549
+ }), am = ["for"], om = { class: "flex flex-wrap gap-1" }, im = { key: 0 }, lm = {
7550
7550
  key: 1,
7551
7551
  class: "text-xs font-bold text-slate-400"
7552
7552
  }, sm = {
@@ -7631,7 +7631,7 @@ const em = /* @__PURE__ */ R({
7631
7631
  ], 2);
7632
7632
  };
7633
7633
  }
7634
- }), hm = /* @__PURE__ */ oe(mm, [["__scopeId", "data-v-8beb64d6"]]), gm = { class: "flex gap-2 items-center" }, bm = ["id", "data-testid", "readonly", "disabled", "value", "required", "true-value", "false-value"], ym = ["for"], Am = { key: 0 }, wm = /* @__PURE__ */ R({
7634
+ }), hm = /* @__PURE__ */ oe(mm, [["__scopeId", "data-v-95708b9e"]]), gm = { class: "flex gap-2 items-center" }, bm = ["id", "data-testid", "readonly", "disabled", "value", "required", "true-value", "false-value"], ym = ["for"], Am = { key: 0 }, wm = /* @__PURE__ */ R({
7635
7635
  __name: "base-checkbox",
7636
7636
  props: /* @__PURE__ */ be({
7637
7637
  id: {},
@@ -7655,15 +7655,15 @@ const em = /* @__PURE__ */ R({
7655
7655
  }),
7656
7656
  emits: ["update:modelValue", "update:errors"],
7657
7657
  setup(e, { expose: t }) {
7658
- const n = e, r = Se(e, "modelValue");
7659
- ne(
7658
+ const n = e, r = xe(e, "modelValue");
7659
+ re(
7660
7660
  () => r.value,
7661
7661
  () => {
7662
7662
  i.value?.length && (i.value = []);
7663
7663
  },
7664
7664
  { deep: !0 }
7665
7665
  );
7666
- const a = n.id ?? qi(), o = E(), i = Se(e, "errors");
7666
+ const a = n.id ?? qi(), o = E(), i = xe(e, "errors");
7667
7667
  return t({
7668
7668
  inputRef: o
7669
7669
  }), (l, s) => {
@@ -7751,7 +7751,7 @@ const em = /* @__PURE__ */ R({
7751
7751
  }),
7752
7752
  emits: /* @__PURE__ */ be(["select"], ["update:modelValue", "update:search", "update:errors"]),
7753
7753
  setup(e, { emit: t }) {
7754
- const n = e, r = t, a = Se(e, "modelValue"), o = Se(e, "search"), i = Se(e, "errors"), l = E(!1), s = E(null), d = E(null), u = T(() => {
7754
+ const n = e, r = t, a = xe(e, "modelValue"), o = xe(e, "search"), i = xe(e, "errors"), l = E(!1), s = E(null), d = E(null), u = T(() => {
7755
7755
  if (a.value)
7756
7756
  return n.options?.find((y) => y.value === a.value) ?? n.resolveOption?.(a.value);
7757
7757
  }), f = T(() => u.value?.label ?? ""), c = T(() => {
@@ -7761,12 +7761,6 @@ const em = /* @__PURE__ */ R({
7761
7761
  (b) => b.label.toLowerCase().replace(/\s+/g, "").includes(y)
7762
7762
  );
7763
7763
  });
7764
- ne(
7765
- () => d.value?.isOpen,
7766
- (y) => {
7767
- y && xe(() => s.value?.focus());
7768
- }
7769
- );
7770
7764
  function h() {
7771
7765
  n.readonly || n.disabled || (l.value = !0);
7772
7766
  }
@@ -7840,7 +7834,7 @@ const em = /* @__PURE__ */ R({
7840
7834
  e.isLoading ? (w(), B("div", Cm, " Loading data… ")) : c.value.length === 0 ? (w(), B("div", Em, " Nothing found. ")) : N("", !0),
7841
7835
  (w(!0), B(ce, null, Me(c.value, (S) => (w(), B("div", {
7842
7836
  key: S.value,
7843
- class: z(["p-2 border-b cursor-pointer hover:bg-blue-100", { "bg-blue-200": S.value === a.value }]),
7837
+ class: z(["p-2 border-b border-b-slate-300 dark:border-b-slate-700 cursor-pointer hover:bg-blue-100 dark:hover:bg-slate-800", { "bg-blue-200 dark:bg-slate-800": S.value === a.value }]),
7844
7838
  onClick: (A) => v(S)
7845
7839
  }, [
7846
7840
  G(y.$slots, "default", { option: S }, () => [
@@ -9127,7 +9121,7 @@ const _h = ["autofocus", "required", "readonly", "disabled", "data-testid"], Vh
9127
9121
  }),
9128
9122
  emits: /* @__PURE__ */ be(["isoValue", "update:modelValue"], ["update:errors"]),
9129
9123
  setup(e, { expose: t, emit: n }) {
9130
- const r = e, a = n, o = Se(e, "errors"), i = T({
9124
+ const r = e, a = n, o = xe(e, "errors"), i = T({
9131
9125
  set: (f) => {
9132
9126
  if (!r.disabled) {
9133
9127
  o.value = [];
@@ -9144,7 +9138,7 @@ const _h = ["autofocus", "required", "readonly", "disabled", "data-testid"], Vh
9144
9138
  }), l = E(), s = () => {
9145
9139
  !r.disabled && !r.readonly && (l.value.focus(), l.value.showPicker());
9146
9140
  }, d = E();
9147
- ne(i, (f) => {
9141
+ re(i, (f) => {
9148
9142
  const c = f?.split("-");
9149
9143
  if (!c || c.length !== 3 || Number(c[0]) < 1e3) {
9150
9144
  r.required && (o.value = ["Invalid date format."]), d.value = "", a("update:modelValue", "");
@@ -9152,7 +9146,7 @@ const _h = ["autofocus", "required", "readonly", "disabled", "data-testid"], Vh
9152
9146
  }
9153
9147
  const h = /* @__PURE__ */ new Date();
9154
9148
  h.setDate(Number(c[2])), h.setMonth(Number(c[1])), h.setFullYear(Number(c[0])), d.value = `${c[0]}-${c[1]}-${c[2]}`;
9155
- }), ne(d, (f) => {
9149
+ }), re(d, (f) => {
9156
9150
  f ? i.value = Rh(new Date(f), "yyyy-MM-dd") : a("update:modelValue", ""), l.value.blur();
9157
9151
  });
9158
9152
  const u = E();
@@ -9253,7 +9247,7 @@ const _h = ["autofocus", "required", "readonly", "disabled", "data-testid"], Vh
9253
9247
  setup(e, { expose: t, emit: n }) {
9254
9248
  const r = e, a = n, o = (d) => {
9255
9249
  a("change", d), s.value?.length && (s.value = []);
9256
- }, i = E(), l = E(), s = Se(e, "errors");
9250
+ }, i = E(), l = E(), s = xe(e, "errors");
9257
9251
  return t({
9258
9252
  fileRef: i,
9259
9253
  inputRef: l
@@ -9338,7 +9332,7 @@ const _h = ["autofocus", "required", "readonly", "disabled", "data-testid"], Vh
9338
9332
  a("update:modelValue", h), r.resetErrorsOnUpdate === !0 && f.value?.length && (f.value = []);
9339
9333
  },
9340
9334
  get: () => r.modelValue
9341
- }), i = E(), l = E(), s = E(), d = E(0), u = E(0), f = Se(e, "errors");
9335
+ }), i = E(), l = E(), s = E(), d = E(0), u = E(0), f = xe(e, "errors");
9342
9336
  te(() => {
9343
9337
  r.autofocus && i.value?.focus(), c(), setTimeout(() => {
9344
9338
  c();
@@ -9443,7 +9437,7 @@ const _h = ["autofocus", "required", "readonly", "disabled", "data-testid"], Vh
9443
9437
  a("update:modelValue", s), l.value?.length && (l.value = []);
9444
9438
  },
9445
9439
  get: () => r.modelValue
9446
- }), i = E(), l = Se(e, "errors");
9440
+ }), i = E(), l = xe(e, "errors");
9447
9441
  return te(() => {
9448
9442
  r.autofocus && i.value?.focus();
9449
9443
  }), t({
@@ -10136,7 +10130,7 @@ const ig = ["placeholder", "required", "readonly", "disabled", "data-testid"], l
10136
10130
  }),
10137
10131
  emits: /* @__PURE__ */ be(["update:modelValue"], ["update:modelValue", "update:errors"]),
10138
10132
  setup(e, { expose: t, emit: n }) {
10139
- const r = e, a = E(null), o = E(null), i = Se(e, "modelValue"), l = Se(e, "errors"), s = n, d = (b) => r.min !== void 0 && b < r.min ? r.min : r.max !== void 0 && b > r.max ? r.max : b, u = () => {
10133
+ const r = e, a = E(null), o = E(null), i = xe(e, "modelValue"), l = xe(e, "errors"), s = n, d = (b) => r.min !== void 0 && b < r.min ? r.min : r.max !== void 0 && b > r.max ? r.max : b, u = () => {
10140
10134
  a.value?.select();
10141
10135
  };
10142
10136
  te(() => {
@@ -10167,7 +10161,7 @@ const ig = ["placeholder", "required", "readonly", "disabled", "data-testid"], l
10167
10161
  const x = d(p);
10168
10162
  x !== p && o.value.setRawValue(String(x)), s("update:modelValue", x);
10169
10163
  };
10170
- ne(
10164
+ re(
10171
10165
  () => i.value,
10172
10166
  (b) => {
10173
10167
  o.value && (b == null ? o.value.setRawValue("") : o.value.setRawValue(String(b)));
@@ -10345,7 +10339,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10345
10339
  }),
10346
10340
  emits: /* @__PURE__ */ be(["update:modelValue", "update:mentions", "search", "showSuggestions"], ["update:errors"]),
10347
10341
  setup(e, { expose: t, emit: n }) {
10348
- const r = e, a = Se(e, "errors"), o = n;
10342
+ const r = e, a = xe(e, "errors"), o = n;
10349
10343
  let i = null;
10350
10344
  const l = (A) => {
10351
10345
  i && clearTimeout(i), i = setTimeout(() => {
@@ -10358,15 +10352,15 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10358
10352
  }
10359
10353
  }), d = E(0), u = E();
10360
10354
  function f() {
10361
- d.value = 0, xe(() => {
10355
+ d.value = 0, Se(() => {
10362
10356
  d.value = u.value?.scrollHeight ?? 0;
10363
10357
  });
10364
10358
  }
10365
- ne(s, f), te(() => {
10359
+ re(s, f), te(() => {
10366
10360
  r.autofocus && u.value?.focus(), f();
10367
10361
  });
10368
10362
  const c = E({ top: 0, left: 0 }), h = E(!1), g = E(0), v = E(null), m = E(-1), y = E("");
10369
- ne(() => h.value, (A) => {
10363
+ re(() => h.value, (A) => {
10370
10364
  o("showSuggestions", A);
10371
10365
  });
10372
10366
  const b = T(() => v.value ? (r.options[v.value] || []).filter(
@@ -10385,7 +10379,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10385
10379
  $ ? (v.value = $[1], m.value = P - $[2].length - 1, y.value = $[2], l({
10386
10380
  trigger: v.value,
10387
10381
  query: y.value
10388
- }), h.value = !0, xe(C)) : S();
10382
+ }), h.value = !0, Se(C)) : S();
10389
10383
  }
10390
10384
  function x(A) {
10391
10385
  if (!(!h.value || !b.value.length)) {
@@ -10399,7 +10393,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10399
10393
  function k(A) {
10400
10394
  if (!v.value || m.value < 0) return;
10401
10395
  const M = s.value.slice(0, m.value), P = s.value.slice(m.value + y.value.length + 1);
10402
- s.value = `${M}${v.value}${A.label} ${P}`, S(), xe(() => {
10396
+ s.value = `${M}${v.value}${A.label} ${P}`, S(), Se(() => {
10403
10397
  u.value?.focus();
10404
10398
  const I = M.length + A.label.length + 2;
10405
10399
  u.value?.setSelectionRange(I, I);
@@ -10408,7 +10402,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10408
10402
  function S() {
10409
10403
  i && (clearTimeout(i), i = null), h.value = !1, m.value = -1, y.value = "", v.value = null, g.value = 0;
10410
10404
  }
10411
- return ne(s, () => {
10405
+ return re(s, () => {
10412
10406
  const A = [];
10413
10407
  for (const M of r.triggers) {
10414
10408
  const P = new RegExp(`\\${M}(\\w+)`, "g"), I = Array.from(s.value.matchAll(P)).map(($) => $[1]?.toLowerCase()), L = r.options[M] || [];
@@ -10511,7 +10505,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10511
10505
  }),
10512
10506
  emits: /* @__PURE__ */ be(["update:modelValue"], ["update:errors"]),
10513
10507
  setup(e, { emit: t }) {
10514
- const n = e, r = Se(e, "errors"), a = t, o = T({
10508
+ const n = e, r = xe(e, "errors"), a = t, o = T({
10515
10509
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10516
10510
  set: (i) => {
10517
10511
  a("update:modelValue", i), r.value?.length && (r.value = []);
@@ -10598,7 +10592,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10598
10592
  }),
10599
10593
  emits: /* @__PURE__ */ be(["update:modelValue"], ["update:errors"]),
10600
10594
  setup(e, { emit: t }) {
10601
- const n = e, r = Se(e, "errors"), a = t, o = T({
10595
+ const n = e, r = xe(e, "errors"), a = t, o = T({
10602
10596
  set: (i) => {
10603
10597
  a("update:modelValue", i), r.value?.length && (r.value = []);
10604
10598
  },
@@ -10667,7 +10661,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10667
10661
  }),
10668
10662
  emits: /* @__PURE__ */ be(["select"], ["update:modelValue", "update:search", "update:errors"]),
10669
10663
  setup(e, { expose: t, emit: n }) {
10670
- const r = e, a = n, o = Se(e, "modelValue"), i = Se(e, "search"), l = Se(e, "errors"), s = E(null), d = T(() => o.value ? r.options.find((v) => v.value === o.value) ?? r.resolveOption?.(o.value) ?? null : null);
10664
+ const r = e, a = n, o = xe(e, "modelValue"), i = xe(e, "search"), l = xe(e, "errors"), s = E(null), d = T(() => o.value ? r.options.find((v) => v.value === o.value) ?? r.resolveOption?.(o.value) ?? null : null);
10671
10665
  function u(v) {
10672
10666
  return typeof v == "object" && v !== null && "label" in v ? v.label : "";
10673
10667
  }
@@ -10799,7 +10793,7 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10799
10793
  }),
10800
10794
  emits: /* @__PURE__ */ be(["update:modelValue"], ["update:errors"]),
10801
10795
  setup(e, { emit: t }) {
10802
- const n = e, r = t, a = Se(e, "errors"), o = T({
10796
+ const n = e, r = t, a = xe(e, "errors"), o = T({
10803
10797
  set: (i) => {
10804
10798
  r("update:modelValue", i), a.value?.length && (a.value = []);
10805
10799
  },
@@ -10872,19 +10866,19 @@ const fg = /* @__PURE__ */ ug(cg), pg = { class: "relative w-full" }, vg = ["id"
10872
10866
  }),
10873
10867
  emits: /* @__PURE__ */ be(["update:modelValue"], ["update:errors"]),
10874
10868
  setup(e, { expose: t, emit: n }) {
10875
- const r = e, a = Se(e, "errors"), o = n, i = T({
10869
+ const r = e, a = xe(e, "errors"), o = n, i = T({
10876
10870
  set: (u) => {
10877
10871
  o("update:modelValue", u), a.value?.length && (a.value = []), d();
10878
10872
  },
10879
10873
  get: () => r.modelValue
10880
10874
  }), l = E(0), s = E();
10881
- ne(i, () => {
10875
+ re(i, () => {
10882
10876
  d();
10883
10877
  }), te(() => {
10884
10878
  r.autofocus && s.value?.focus(), d();
10885
10879
  });
10886
10880
  const d = () => {
10887
- l.value = 0, xe(() => {
10881
+ l.value = 0, Se(() => {
10888
10882
  l.value = s.value?.scrollHeight;
10889
10883
  });
10890
10884
  };
@@ -10967,7 +10961,7 @@ const Gg = /* @__PURE__ */ oe(zg, [["render", Qg], ["__scopeId", "data-v-918420e
10967
10961
  o(), a = setInterval(() => {
10968
10962
  t.value += 20, n.value = `is loading ${t.value} %`;
10969
10963
  }, 50);
10970
- }), ne(t, (l) => {
10964
+ }), re(t, (l) => {
10971
10965
  l >= 100 && (clearInterval(a), n.value = "loading complete", i(), r.value.style.display = "none");
10972
10966
  });
10973
10967
  const o = () => {
@@ -11016,7 +11010,7 @@ const Gg = /* @__PURE__ */ oe(zg, [["render", Qg], ["__scopeId", "data-v-918420e
11016
11010
  for (const c of f.submenu)
11017
11011
  a.path.includes(c.path) && (i.value = f.name);
11018
11012
  };
11019
- ne(
11013
+ re(
11020
11014
  () => a.path,
11021
11015
  () => {
11022
11016
  s(), d();
@@ -11251,7 +11245,7 @@ const Gg = /* @__PURE__ */ oe(zg, [["render", Qg], ["__scopeId", "data-v-918420e
11251
11245
  }),
11252
11246
  emits: ["update:is-open"],
11253
11247
  setup(e, { expose: t }) {
11254
- const n = e, r = Se(e, "is-open"), a = (o) => {
11248
+ const n = e, r = xe(e, "is-open"), a = (o) => {
11255
11249
  if (Ei(o)) {
11256
11250
  r.value = o;
11257
11251
  return;
@@ -11325,7 +11319,7 @@ const Gg = /* @__PURE__ */ oe(zg, [["render", Qg], ["__scopeId", "data-v-918420e
11325
11319
  }),
11326
11320
  emits: ["update:is-dark-mode"],
11327
11321
  setup(e) {
11328
- const t = e, n = Se(e, "is-dark-mode");
11322
+ const t = e, n = xe(e, "is-dark-mode");
11329
11323
  return (r, a) => {
11330
11324
  const o = Q("base-icon"), i = Q("base-button");
11331
11325
  return w(), Y(i, {
@@ -11609,7 +11603,7 @@ const Gg = /* @__PURE__ */ oe(zg, [["render", Qg], ["__scopeId", "data-v-918420e
11609
11603
  }),
11610
11604
  emits: ["update:is-sidebar-open"],
11611
11605
  setup(e) {
11612
- const t = e, n = Se(e, "is-sidebar-open");
11606
+ const t = e, n = xe(e, "is-sidebar-open");
11613
11607
  return (r, a) => (w(), B("a", {
11614
11608
  href: "javascript:void(0)",
11615
11609
  onClick: a[0] || (a[0] = (o) => t.onToggleSidebar())
@@ -11737,11 +11731,11 @@ function by() {
11737
11731
  function yy() {
11738
11732
  const e = Cl();
11739
11733
  te(async () => {
11740
- e.onResizeWindow(), await xe(() => {
11734
+ e.onResizeWindow(), await Se(() => {
11741
11735
  window.addEventListener("resize", e.onResizeWindow);
11742
11736
  });
11743
11737
  }), pr(async () => {
11744
- await xe(() => {
11738
+ await Se(() => {
11745
11739
  window.removeEventListener("resize", e.onResizeWindow);
11746
11740
  });
11747
11741
  });
@@ -11766,7 +11760,7 @@ function Ay() {
11766
11760
  const e = $a(), t = Ho(), { isMobile: n } = iy();
11767
11761
  te(() => {
11768
11762
  r();
11769
- }), ne(
11763
+ }), re(
11770
11764
  t,
11771
11765
  async () => {
11772
11766
  n() && e.closeSidebar();