@point-hub/papp 0.0.136 → 0.0.137

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 Fa from "vue";
2
- import { defineComponent as $, ref as E, provide as Be, createElementBlock as P, openBlock as w, renderSlot as Q, inject as Se, watch as te, resolveComponent as K, createVNode as H, createElementVNode as O, withCtx as F, toDisplayString as q, normalizeClass as z, normalizeStyle as et, createTextVNode as $e, createCommentVNode as V, createBlock as X, Fragment as fe, renderList as Ie, computed as T, unref as N, shallowRef as Rn, triggerRef as Va, onScopeDispose as Fo, onUnmounted as De, nextTick as ke, watchEffect as Ee, onMounted as re, cloneVNode as Vo, h as ue, toRaw as Le, reactive as vr, getCurrentInstance as No, Teleport as Vl, Transition as jo, getCurrentScope as Nl, toRef as jl, readonly as Wl, customRef as Hl, toValue as ut, useCssVars as ql, useSlots as Wo, toRefs as Ho, withKeys as zl, withDirectives as Ye, vShow as Ul, onBeforeUnmount as mr, isRef as gt, resolveDynamicComponent as dr, mergeProps as Yl, normalizeProps as Xl, guardReactiveProps as Ql, useModel as de, isReactive as Na, isVNode as Gl, createApp as ja, createSlots as Kl, mergeModels as we, vModelCheckbox as qo, resolveDirective as zo, vModelText as Yt, vModelDynamic as Jl } from "vue";
2
+ import { defineComponent as $, ref as E, provide as Be, createElementBlock as P, openBlock as w, renderSlot as Q, inject as Se, watch as ne, resolveComponent as K, createVNode as H, createElementVNode as O, withCtx as F, toDisplayString as q, normalizeClass as z, normalizeStyle as et, createTextVNode as $e, createCommentVNode as V, createBlock as X, Fragment as fe, renderList as Ie, computed as T, unref as N, shallowRef as Rn, triggerRef as Va, onScopeDispose as Fo, onUnmounted as De, nextTick as ke, watchEffect as Ee, onMounted as te, cloneVNode as Vo, h as ue, toRaw as Le, reactive as vr, getCurrentInstance as No, Teleport as Vl, Transition as jo, getCurrentScope as Nl, toRef as jl, readonly as Wl, customRef as Hl, toValue as ut, useCssVars as ql, useSlots as Wo, toRefs as Ho, withKeys as zl, withDirectives as Ye, vShow as Ul, onBeforeUnmount as mr, isRef as gt, resolveDynamicComponent as dr, mergeProps as Yl, normalizeProps as Xl, guardReactiveProps as Ql, useModel as de, isReactive as Na, isVNode as Gl, createApp as ja, createSlots as Kl, mergeModels as we, vModelCheckbox as qo, resolveDirective as zo, vModelText as Yt, vModelDynamic as Jl } from "vue";
3
3
  import { useRoute as Uo } from "vue-router";
4
4
  import { defineStore as hr } from "pinia";
5
5
  const Zl = { class: "accordion-container" }, es = /* @__PURE__ */ $({
@@ -28,7 +28,7 @@ const Zl = { class: "accordion-container" }, es = /* @__PURE__ */ $({
28
28
  },
29
29
  setup(e) {
30
30
  const t = Se("alwaysOpen"), n = Se("activeItemId"), r = E(), a = E(0), o = E(!1);
31
- te(n, () => {
31
+ ne(n, () => {
32
32
  i(), a.value === 0 && (o.value = !1);
33
33
  });
34
34
  const i = () => {
@@ -892,7 +892,7 @@ function Us({
892
892
  }
893
893
  function Ys(e) {
894
894
  const t = new zs(N(e)), n = Rn(t), r = t._didMount();
895
- return te(
895
+ return ne(
896
896
  () => N(e).getScrollElement(),
897
897
  (a) => {
898
898
  a && t._willUpdate();
@@ -900,7 +900,7 @@ function Ys(e) {
900
900
  {
901
901
  immediate: !0
902
902
  }
903
- ), te(
903
+ ), ne(
904
904
  () => N(e),
905
905
  (a) => {
906
906
  t.setOptions({
@@ -1166,7 +1166,7 @@ function Xa(e, t) {
1166
1166
  }
1167
1167
  function ca(e, t) {
1168
1168
  let n = E(Xa(e.value.type, e.value.as));
1169
- return re(() => {
1169
+ return te(() => {
1170
1170
  n.value = Xa(e.value.type, e.value.as);
1171
1171
  }), Ee(() => {
1172
1172
  var r;
@@ -1381,7 +1381,7 @@ let di = Symbol("VirtualContext"), gu = $({ name: "VirtualProvider", setup(e, {
1381
1381
  var l;
1382
1382
  return (l = n.virtual.value) == null ? void 0 : l.options;
1383
1383
  }), i = E(0);
1384
- return te([o], () => {
1384
+ return ne([o], () => {
1385
1385
  i.value += 1;
1386
1386
  }), Be(di, n.virtual.value ? a : null), () => [ue("div", { style: { position: "relative", width: "100%", height: `${a.value.getTotalSize()}px` }, ref: (l) => {
1387
1387
  if (l) {
@@ -1406,7 +1406,7 @@ let di = Symbol("VirtualContext"), gu = $({ name: "VirtualProvider", setup(e, {
1406
1406
  }
1407
1407
  let S = T(() => {
1408
1408
  });
1409
- te([S], ([B], [I]) => {
1409
+ ne([S], ([B], [I]) => {
1410
1410
  if (x.virtual.value && B && I && f.value !== null) {
1411
1411
  let _ = B.indexOf(I[f.value]);
1412
1412
  _ !== -1 ? f.value = _ : f.value = null;
@@ -1454,8 +1454,8 @@ let di = Symbol("VirtualContext"), gu = $({ name: "VirtualProvider", setup(e, {
1454
1454
  f.value = B === be.Specific ? I : Hr({ focus: B }, { resolveItems: () => x.virtual.value.options, resolveActiveIndex: () => {
1455
1455
  var Y, G;
1456
1456
  return (G = (Y = x.activeOptionIndex.value) != null ? Y : x.virtual.value.options.findIndex((ae) => {
1457
- var ne;
1458
- return !((ne = x.virtual.value) != null && ne.disabled(ae));
1457
+ var re;
1458
+ return !((re = x.virtual.value) != null && re.disabled(ae));
1459
1459
  })) != null ? G : null;
1460
1460
  }, resolveDisabled: (Y) => x.virtual.value.disabled(Y), resolveId() {
1461
1461
  throw new Error("Function not implemented.");
@@ -1516,8 +1516,8 @@ let di = Symbol("VirtualContext"), gu = $({ name: "VirtualProvider", setup(e, {
1516
1516
  var B;
1517
1517
  return (B = R(i)) == null ? void 0 : B.closest("form");
1518
1518
  });
1519
- return re(() => {
1520
- te([M], () => {
1519
+ return te(() => {
1520
+ ne([M], () => {
1521
1521
  if (!M.value || e.defaultValue === void 0) return;
1522
1522
  function B() {
1523
1523
  x.change(e.defaultValue);
@@ -1530,7 +1530,7 @@ let di = Symbol("VirtualContext"), gu = $({ name: "VirtualProvider", setup(e, {
1530
1530
  }), () => {
1531
1531
  var B, I, _;
1532
1532
  let { name: L, disabled: U, form: Y, ...G } = e, ae = { open: a.value === 0, disabled: U, activeIndex: x.activeOptionIndex.value, activeOption: x.activeOptionIndex.value === null ? null : x.virtual.value ? x.virtual.value.options[(B = x.activeOptionIndex.value) != null ? B : 0] : (_ = (I = x.options.value[x.activeOptionIndex.value]) == null ? void 0 : I.dataRef.value) != null ? _ : null, value: C.value };
1533
- return ue(fe, [...L != null && C.value != null ? va({ [L]: C.value }).map(([ne, ce]) => ue(Qt, ai({ features: Xt.Hidden, key: ne, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: Y, disabled: U, name: ne, value: ce }))) : [], pe({ theirProps: { ...n, ...Gt(G, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: ae, slots: t, attrs: n, name: "Combobox" })]);
1533
+ return ue(fe, [...L != null && C.value != null ? va({ [L]: C.value }).map(([re, ce]) => ue(Qt, ai({ features: Xt.Hidden, key: re, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: Y, disabled: U, name: re, value: ce }))) : [], pe({ theirProps: { ...n, ...Gt(G, ["by", "defaultValue", "immediate", "modelValue", "multiple", "nullable", "onUpdate:modelValue", "virtual"]) }, ourProps: {}, slot: ae, slots: t, attrs: n, name: "Combobox" })]);
1534
1534
  };
1535
1535
  } });
1536
1536
  $({ name: "ComboboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: n }) {
@@ -1600,8 +1600,8 @@ let yu = $({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1600
1600
  let A = l.value.value;
1601
1601
  return R(l.inputRef) ? typeof e.displayValue < "u" && A !== void 0 ? (k = e.displayValue(A)) != null ? k : "" : typeof A == "string" ? A : "" : "";
1602
1602
  });
1603
- re(() => {
1604
- te([f, l.comboboxState, s], ([k, A], [S, x]) => {
1603
+ te(() => {
1604
+ ne([f, l.comboboxState, s], ([k, A], [S, x]) => {
1605
1605
  if (d.value) return;
1606
1606
  let M = R(l.inputRef);
1607
1607
  M && ((x === 0 && A === 1 || k !== S) && (M.value = k), requestAnimationFrame(() => {
@@ -1610,7 +1610,7 @@ let yu = $({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1610
1610
  let { selectionStart: I, selectionEnd: _ } = M;
1611
1611
  Math.abs((_ ?? 0) - (I ?? 0)) === 0 && I === 0 && M.setSelectionRange(M.value.length, M.value.length);
1612
1612
  }));
1613
- }, { immediate: !0 }), te([l.comboboxState], ([k], [A]) => {
1613
+ }, { immediate: !0 }), ne([l.comboboxState], ([k], [A]) => {
1614
1614
  if (k === 0 && A === 1) {
1615
1615
  if (d.value) return;
1616
1616
  let S = R(l.inputRef);
@@ -1722,7 +1722,7 @@ let yu = $({ name: "ComboboxButton", props: { as: { type: [Object, String], defa
1722
1722
  var y;
1723
1723
  return a.virtual.value ? a.activeOptionIndex.value === a.calculateIndex(e.value) : a.activeOptionIndex.value === null ? !1 : ((y = a.options.value[a.activeOptionIndex.value]) == null ? void 0 : y.id) === o;
1724
1724
  }), d = T(() => a.isSelected(e.value)), u = Se(di, null), f = T(() => ({ disabled: e.disabled, value: e.value, domRef: i, order: T(() => e.order) }));
1725
- re(() => a.registerOption(o, f)), De(() => a.unregisterOption(o, s.value)), Ee(() => {
1725
+ te(() => a.registerOption(o, f)), De(() => a.unregisterOption(o, s.value)), Ee(() => {
1726
1726
  let y = R(i);
1727
1727
  y && u?.value.measureElement(y);
1728
1728
  }), Ee(() => {
@@ -1789,7 +1789,7 @@ let gn = Object.assign($({ name: "FocusTrap", props: { as: { type: [Object, Stri
1789
1789
  let a = E(null);
1790
1790
  r({ el: a, $el: a });
1791
1791
  let o = T(() => je(a)), i = E(!1);
1792
- re(() => i.value = !0), De(() => i.value = !1), Ou({ ownerDocument: o }, T(() => i.value && !!(e.features & 16)));
1792
+ te(() => i.value = !0), De(() => i.value = !1), Ou({ ownerDocument: o }, T(() => i.value && !!(e.features & 16)));
1793
1793
  let l = Cu({ ownerDocument: o, container: a, initialFocus: T(() => e.initialFocus) }, T(() => i.value && !!(e.features & 2)));
1794
1794
  Eu({ ownerDocument: o, container: a, containers: e.containers, previousActiveElement: l }, T(() => i.value && !!(e.features & 8)));
1795
1795
  let s = ku();
@@ -1823,7 +1823,7 @@ let gn = Object.assign($({ name: "FocusTrap", props: { as: { type: [Object, Stri
1823
1823
  } }), { features: pi });
1824
1824
  function Su(e) {
1825
1825
  let t = E(yt.slice());
1826
- return te([e], ([n], [r]) => {
1826
+ return ne([e], ([n], [r]) => {
1827
1827
  r === !0 && n === !1 ? gr(() => {
1828
1828
  t.value.splice(0);
1829
1829
  }) : r === !1 && n === !0 && (t.value = yt.slice());
@@ -1834,7 +1834,7 @@ function Su(e) {
1834
1834
  }
1835
1835
  function Ou({ ownerDocument: e }, t) {
1836
1836
  let n = Su(t);
1837
- re(() => {
1837
+ te(() => {
1838
1838
  Ee(() => {
1839
1839
  var r, a;
1840
1840
  t.value || ((r = e.value) == null ? void 0 : r.activeElement) === ((a = e.value) == null ? void 0 : a.body) && Et(n());
@@ -1845,8 +1845,8 @@ function Ou({ ownerDocument: e }, t) {
1845
1845
  }
1846
1846
  function Cu({ ownerDocument: e, container: t, initialFocus: n }, r) {
1847
1847
  let a = E(null), o = E(!1);
1848
- return re(() => o.value = !0), De(() => o.value = !1), re(() => {
1849
- te([t, n, r], (i, l) => {
1848
+ return te(() => o.value = !0), De(() => o.value = !1), te(() => {
1849
+ ne([t, n, r], (i, l) => {
1850
1850
  if (i.every((d, u) => l?.[u] === d) || !r.value) return;
1851
1851
  let s = R(t);
1852
1852
  s && gr(() => {
@@ -1992,7 +1992,7 @@ function $u(e, t, n) {
1992
1992
  let o = e.value ? r.value.get(e.value) : void 0;
1993
1993
  return o ? o.count > 0 : !1;
1994
1994
  });
1995
- return te([e, t], ([o, i], [l], s) => {
1995
+ return ne([e, t], ([o, i], [l], s) => {
1996
1996
  if (!o || !i) return;
1997
1997
  Ht.dispatch("PUSH", o, n);
1998
1998
  let d = !1;
@@ -2056,8 +2056,8 @@ function Fu({ type: e, enabled: t, element: n, onUpdate: r }) {
2056
2056
  function o(...i) {
2057
2057
  r?.(...i), a(...i);
2058
2058
  }
2059
- re(() => {
2060
- te(t, (i, l) => {
2059
+ te(() => {
2060
+ ne(t, (i, l) => {
2061
2061
  i ? o(0, e, n) : l === !0 && o(1, e, n);
2062
2062
  }, { immediate: !0, flush: "sync" });
2063
2063
  }), De(() => {
@@ -2083,7 +2083,7 @@ function ma({ slot: e = E({}), name: t = "Description", props: n = {} } = {}) {
2083
2083
  $({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: n }) {
2084
2084
  var r;
2085
2085
  let a = (r = e.id) != null ? r : `headlessui-description-${Te()}`, o = Vu();
2086
- return re(() => De(o.register(a))), () => {
2086
+ return te(() => De(o.register(a))), () => {
2087
2087
  let { name: i = "Description", slot: l = E({}), props: s = {} } = o, { ...d } = e, u = { ...Object.entries(s).reduce((f, [c, h]) => Object.assign(f, { [c]: N(h) }), {}), id: a };
2088
2088
  return pe({ ourProps: u, theirProps: d, slot: l.value, attrs: t, slots: n, name: i });
2089
2089
  };
@@ -2112,13 +2112,13 @@ let bi = $({ name: "Portal", props: { as: { type: [Object, String], default: "di
2112
2112
  let r = E(null), a = T(() => je(r)), o = Lu(), i = Se(yi, null), l = E(o === !0 || i == null ? Nu(r.value) : i.resolveTarget());
2113
2113
  l.value && Ka(l.value, (c) => c + 1);
2114
2114
  let s = E(!1);
2115
- re(() => {
2115
+ te(() => {
2116
2116
  s.value = !0;
2117
2117
  }), Ee(() => {
2118
2118
  o || i != null && (l.value = i.resolveTarget());
2119
2119
  });
2120
2120
  let d = Se(Yr, null), u = !1, f = No();
2121
- return te(r, () => {
2121
+ return ne(r, () => {
2122
2122
  if (u || !d) return;
2123
2123
  let c = R(r);
2124
2124
  c && (De(d.register(c), f), u = !0);
@@ -2171,7 +2171,7 @@ function Fn(e) {
2171
2171
  let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", zu = $({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: Kn }, initialFocus: { type: Object, default: null }, id: { type: String, default: null }, role: { type: String, default: "dialog" } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: r, expose: a }) {
2172
2172
  var o, i;
2173
2173
  let l = (o = e.id) != null ? o : `headlessui-dialog-${Te()}`, s = E(!1);
2174
- re(() => {
2174
+ te(() => {
2175
2175
  s.value = !0;
2176
2176
  });
2177
2177
  let d = !1, u = T(() => e.role === "dialog" || e.role === "alertdialog" ? e.role : (d || (d = !0, console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), f = E(0), c = _n(), h = T(() => e.open === Kn && c !== null ? (c.value & Oe.Open) === Oe.Open : e.open), g = E(null), v = T(() => je(g));
@@ -2198,10 +2198,10 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", zu = $({ name: "Dialog", inheri
2198
2198
  t("close", !1);
2199
2199
  } };
2200
2200
  Be(Xr, ae);
2201
- let ne = T(() => !(!b.value || y.value));
2201
+ let re = T(() => !(!b.value || y.value));
2202
2202
  da(A, (ee, ie) => {
2203
2203
  ee.preventDefault(), ae.close(), ke(() => ie?.focus());
2204
- }, ne);
2204
+ }, re);
2205
2205
  let ce = T(() => !(y.value || m.value !== 0));
2206
2206
  ci((i = v.value) == null ? void 0 : i.defaultView, "keydown", (ee) => {
2207
2207
  ce.value && (ee.defaultPrevented || ee.key === Z.Escape && (ee.preventDefault(), ee.stopPropagation(), ae.close()));
@@ -2240,7 +2240,7 @@ $({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
2240
2240
  $({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
2241
2241
  var a;
2242
2242
  let o = (a = e.id) != null ? a : `headlessui-dialog-backdrop-${Te()}`, i = Fn("DialogBackdrop"), l = E(null);
2243
- return r({ el: l, $el: l }), re(() => {
2243
+ return r({ el: l, $el: l }), te(() => {
2244
2244
  if (i.panelRef.value === null) throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
2245
2245
  }), () => {
2246
2246
  let { ...s } = e, d = { id: o, ref: l, "aria-hidden": !0 };
@@ -2262,7 +2262,7 @@ let Uu = $({ name: "DialogPanel", props: { as: { type: [Object, String], default
2262
2262
  $({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: n }) {
2263
2263
  var r;
2264
2264
  let a = (r = e.id) != null ? r : `headlessui-dialog-title-${Te()}`, o = Fn("DialogTitle");
2265
- return re(() => {
2265
+ return te(() => {
2266
2266
  o.setTitleId(a), De(() => o.setTitleId(null));
2267
2267
  }), () => {
2268
2268
  let { ...i } = e;
@@ -2463,7 +2463,7 @@ let Ju = $({ name: "Menu", props: { as: { type: [Object, String], default: "temp
2463
2463
  let s = T(() => i.activeItemIndex.value !== null ? i.items.value[i.activeItemIndex.value].id === o : !1), d = Xu(l), u = T(() => ({ disabled: e.disabled, get textValue() {
2464
2464
  return d();
2465
2465
  }, domRef: l }));
2466
- re(() => i.registerItem(o, u)), De(() => i.unregisterItem(o)), Ee(() => {
2466
+ te(() => i.registerItem(o, u)), De(() => i.unregisterItem(o)), Ee(() => {
2467
2467
  i.menuState.value === 0 && s.value && i.activationTrigger.value !== 0 && ke(() => {
2468
2468
  var b, y;
2469
2469
  return (y = (b = R(l)) == null ? void 0 : b.scrollIntoView) == null ? void 0 : y.call(b, { block: "nearest" });
@@ -2513,7 +2513,7 @@ function ki({ slot: e = {}, name: t = "Label", props: n = {} } = {}) {
2513
2513
  $({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 }, id: { type: String, default: null } }, setup(e, { slots: t, attrs: n }) {
2514
2514
  var r;
2515
2515
  let a = (r = e.id) != null ? r : `headlessui-label-${Te()}`, o = xi();
2516
- return re(() => De(o.register(a))), () => {
2516
+ return te(() => De(o.register(a))), () => {
2517
2517
  let { name: i = "Label", slot: l = {}, props: s = {} } = o, { passive: d, ...u } = e, f = { ...Object.entries(s).reduce((c, [h, g]) => Object.assign(c, { [h]: N(g) }), {}), id: a };
2518
2518
  return d && (delete f.onClick, delete f.htmlFor, delete u.onClick), pe({ ourProps: f, theirProps: u, slot: l, attrs: n, slots: t, name: i });
2519
2519
  };
@@ -2599,8 +2599,8 @@ let rd = $({ name: "RadioGroup", emits: { "update:modelValue": (e) => !0 }, prop
2599
2599
  var m;
2600
2600
  return (m = R(l)) == null ? void 0 : m.closest("form");
2601
2601
  });
2602
- return re(() => {
2603
- te([v], () => {
2602
+ return te(() => {
2603
+ ne([v], () => {
2604
2604
  if (!v.value || e.defaultValue === void 0) return;
2605
2605
  function m() {
2606
2606
  h.change(e.defaultValue);
@@ -2621,7 +2621,7 @@ let od = $({ name: "RadioGroupOption", props: { as: { type: [Object, String], de
2621
2621
  let o = (a = e.id) != null ? a : `headlessui-radiogroup-option-${Te()}`, i = Oi("RadioGroupOption"), l = ki({ name: "RadioGroupLabel" }), s = ma({ name: "RadioGroupDescription" }), d = E(null), u = T(() => ({ value: e.value, disabled: e.disabled })), f = E(1);
2622
2622
  r({ el: d, $el: d });
2623
2623
  let c = T(() => R(d));
2624
- re(() => i.registerOption({ id: o, element: c, propsRef: u })), De(() => i.unregisterOption(o));
2624
+ te(() => i.registerOption({ id: o, element: c, propsRef: u })), De(() => i.unregisterOption(o));
2625
2625
  let h = T(() => {
2626
2626
  var p;
2627
2627
  return ((p = i.firstOption.value) == null ? void 0 : p.id) === o;
@@ -2713,12 +2713,12 @@ let ha = Symbol("TabsSSRContext"), ud = $({ name: "TabGroup", emits: { change: (
2713
2713
  } };
2714
2714
  Be(Ci, f);
2715
2715
  let c = E({ tabs: [], panels: [] }), h = E(!1);
2716
- re(() => {
2716
+ te(() => {
2717
2717
  h.value = !0;
2718
2718
  }), Be(ha, T(() => h.value ? null : c.value));
2719
2719
  let g = T(() => e.selectedIndex);
2720
- return re(() => {
2721
- te([g], () => {
2720
+ return te(() => {
2721
+ ne([g], () => {
2722
2722
  var v;
2723
2723
  return u((v = e.selectedIndex) != null ? v : e.defaultIndex);
2724
2724
  }, { immediate: !0 });
@@ -2745,7 +2745,7 @@ let ha = Symbol("TabsSSRContext"), ud = $({ name: "TabGroup", emits: { change: (
2745
2745
  } }), cd = $({ name: "Tab", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: n, expose: r }) {
2746
2746
  var a;
2747
2747
  let o = (a = e.id) != null ? a : `headlessui-tabs-tab-${Te()}`, i = Vn("Tab"), l = E(null);
2748
- r({ el: l, $el: l }), re(() => i.registerTab(l)), De(() => i.unregisterTab(l));
2748
+ r({ el: l, $el: l }), te(() => i.registerTab(l)), De(() => i.unregisterTab(l));
2749
2749
  let s = Se(ha), d = T(() => {
2750
2750
  if (s.value) {
2751
2751
  let y = s.value.tabs.indexOf(o);
@@ -2810,7 +2810,7 @@ let ha = Symbol("TabsSSRContext"), ud = $({ name: "TabGroup", emits: { change: (
2810
2810
  } }), pd = $({ name: "TabPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: null }, tabIndex: { type: Number, default: 0 } }, setup(e, { attrs: t, slots: n, expose: r }) {
2811
2811
  var a;
2812
2812
  let o = (a = e.id) != null ? a : `headlessui-tabs-panel-${Te()}`, i = Vn("TabPanel"), l = E(null);
2813
- r({ el: l, $el: l }), re(() => i.registerPanel(l)), De(() => i.unregisterPanel(l));
2813
+ r({ el: l, $el: l }), te(() => i.registerPanel(l)), De(() => i.unregisterPanel(l));
2814
2814
  let s = Se(ha), d = T(() => {
2815
2815
  if (s.value) {
2816
2816
  let c = s.value.panels.indexOf(o);
@@ -2880,7 +2880,7 @@ function yr(e) {
2880
2880
  }
2881
2881
  function Ei(e) {
2882
2882
  let t = E([]), n = E(!1);
2883
- re(() => n.value = !0), De(() => n.value = !1);
2883
+ te(() => n.value = !0), De(() => n.value = !1);
2884
2884
  function r(o, i = Ct.Hidden) {
2885
2885
  let l = t.value.findIndex(({ id: s }) => s === o);
2886
2886
  l !== -1 && (Ce(i, { [Ct.Unmount]() {
@@ -2915,7 +2915,7 @@ let Ti = Xe.RenderStrategy, Gr = $({ props: { as: { type: [Object, String], defa
2915
2915
  let { show: c, appear: h } = bd(), { register: g, unregister: v } = yd(), m = E(c.value ? "visible" : "hidden"), b = { value: !0 }, y = Te(), C = { value: !1 }, p = Ei(() => {
2916
2916
  !C.value && m.value !== "hidden" && (m.value = "hidden", v(y), d());
2917
2917
  });
2918
- re(() => {
2918
+ te(() => {
2919
2919
  let L = g(y);
2920
2920
  De(L);
2921
2921
  }), Ee(() => {
@@ -2928,7 +2928,7 @@ let Ti = Xe.RenderStrategy, Gr = $({ props: { as: { type: [Object, String], defa
2928
2928
  }
2929
2929
  });
2930
2930
  let k = Ft(e.enter), A = Ft(e.enterFrom), S = Ft(e.enterTo), x = Ft(e.entered), M = Ft(e.leave), B = Ft(e.leaveFrom), I = Ft(e.leaveTo);
2931
- re(() => {
2931
+ te(() => {
2932
2932
  Ee(() => {
2933
2933
  if (m.value === "visible") {
2934
2934
  let L = R(u);
@@ -2944,12 +2944,12 @@ let Ti = Xe.RenderStrategy, Gr = $({ props: { as: { type: [Object, String], defa
2944
2944
  C.value = !1, G === Qr.Finished && (yr(p) || (m.value = "hidden", v(y), d()));
2945
2945
  })));
2946
2946
  }
2947
- return re(() => {
2948
- te([c], (L, U, Y) => {
2947
+ return te(() => {
2948
+ ne([c], (L, U, Y) => {
2949
2949
  _(Y), b.value = !1;
2950
2950
  }, { immediate: !0 });
2951
2951
  }), Be(ba, p), pa(T(() => Ce(m.value, { visible: Oe.Open, hidden: Oe.Closed }) | o.value)), () => {
2952
- let { appear: L, show: U, enter: Y, enterFrom: G, enterTo: ae, entered: ne, leave: ce, leaveFrom: ve, leaveTo: ee, ...ie } = e, Ae = { ref: u }, me = { ...ie, ...h.value && c.value && Ln.isServer ? { class: z([n.class, ie.class, ...k, ...A]) } : {} };
2952
+ let { appear: L, show: U, enter: Y, enterFrom: G, enterTo: ae, entered: re, leave: ce, leaveFrom: ve, leaveTo: ee, ...ie } = e, Ae = { ref: u }, me = { ...ie, ...h.value && c.value && Ln.isServer ? { class: z([n.class, ie.class, ...k, ...A]) } : {} };
2953
2953
  return pe({ theirProps: me, ourProps: Ae, slot: {}, slots: r, attrs: n, features: Ti, visible: m.value === "visible", name: "TransitionChild" });
2954
2954
  };
2955
2955
  } }), Ad = Gr, ya = $({ 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 }) {
@@ -2960,7 +2960,7 @@ let Ti = Xe.RenderStrategy, Gr = $({ props: { as: { type: [Object, String], defa
2960
2960
  let i = E(o.value ? "visible" : "hidden"), l = Ei(() => {
2961
2961
  i.value = "hidden";
2962
2962
  }), s = E(!0), d = { show: o, appear: T(() => e.appear || !s.value) };
2963
- return re(() => {
2963
+ return te(() => {
2964
2964
  Ee(() => {
2965
2965
  s.value = !1, o.value ? i.value = "visible" : yr(l) || (i.value = "hidden");
2966
2966
  });
@@ -3114,9 +3114,9 @@ const wd = { class: "dropdown-trigger-button" }, xd = /* @__PURE__ */ $({
3114
3114
  const r = e, a = E(r.isOpen), o = n, i = () => {
3115
3115
  a.value = !1;
3116
3116
  };
3117
- return te(a, (l) => {
3117
+ return ne(a, (l) => {
3118
3118
  l === !1 && o("onClose");
3119
- }), te(r, () => {
3119
+ }), ne(r, () => {
3120
3120
  a.value = r.isOpen;
3121
3121
  }), t({ isOpen: a }), (l, s) => {
3122
3122
  const d = K("base-icon"), u = K("base-button");
@@ -3346,7 +3346,7 @@ function Pr(e) {
3346
3346
  return Array.isArray(e) ? e : [e];
3347
3347
  }
3348
3348
  function Qd(e, t, n) {
3349
- return te(
3349
+ return ne(
3350
3350
  e,
3351
3351
  t,
3352
3352
  {
@@ -3499,7 +3499,7 @@ const Ir = /* @__PURE__ */ new WeakMap();
3499
3499
  function Jd(e, t = !1) {
3500
3500
  const n = Rn(t);
3501
3501
  let r = null, a = "";
3502
- te(Xd(e), (l) => {
3502
+ ne(Xd(e), (l) => {
3503
3503
  const s = Dr(ut(l));
3504
3504
  if (s) {
3505
3505
  const d = s;
@@ -3542,7 +3542,7 @@ function Zd() {
3542
3542
  return;
3543
3543
  e = !0;
3544
3544
  const a = Jd(n, r.value);
3545
- te(t, (o) => a.value = o);
3545
+ ne(t, (o) => a.value = o);
3546
3546
  };
3547
3547
  }
3548
3548
  Zd();
@@ -3567,9 +3567,9 @@ function Jr(e, t, n) {
3567
3567
  Jr.debounce = Jr;
3568
3568
  var Mr = Jr;
3569
3569
  function ec(e, t, n) {
3570
- gt(e) ? te(e, (r, a) => {
3570
+ gt(e) ? ne(e, (r, a) => {
3571
3571
  a?.removeEventListener(t, n), r?.addEventListener(t, n);
3572
- }) : re(() => {
3572
+ }) : te(() => {
3573
3573
  e.addEventListener(t, n);
3574
3574
  }), mr(() => {
3575
3575
  var r;
@@ -3586,12 +3586,12 @@ function tc(e, t) {
3586
3586
  function nc(e, t, n) {
3587
3587
  let r = null;
3588
3588
  const a = E(!1);
3589
- re(() => {
3589
+ te(() => {
3590
3590
  (e.content !== void 0 || n.value) && (a.value = !0), r = new MutationObserver(o), r.observe(t.value, {
3591
3591
  childList: !0,
3592
3592
  subtree: !0
3593
3593
  });
3594
- }), mr(() => r.disconnect()), te(n, (i) => {
3594
+ }), mr(() => r.disconnect()), ne(n, (i) => {
3595
3595
  i ? a.value = !0 : a.value = !1;
3596
3596
  });
3597
3597
  const o = () => {
@@ -4231,10 +4231,10 @@ function zc(e) {
4231
4231
  };
4232
4232
  if (A) {
4233
4233
  if (o || l) {
4234
- var I = p === "y" ? qe : ze, _ = p === "y" ? tt : nt, L = p === "y" ? "height" : "width", U = A[p], Y = A[p] + m[I], G = A[p] - m[_], ae = h ? -x[L] / 2 : 0, ne = y === ln ? S[L] : x[L], ce = y === ln ? -x[L] : -S[L], ve = t.elements.arrow, ee = h && ve ? ka(ve) : {
4234
+ var I = p === "y" ? qe : ze, _ = p === "y" ? tt : nt, L = p === "y" ? "height" : "width", U = A[p], Y = A[p] + m[I], G = A[p] - m[_], ae = h ? -x[L] / 2 : 0, re = y === ln ? S[L] : x[L], ce = y === ln ? -x[L] : -S[L], ve = t.elements.arrow, ee = h && ve ? ka(ve) : {
4235
4235
  width: 0,
4236
4236
  height: 0
4237
- }, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ni(), Ae = ie[I], me = ie[_], ye = lr(0, S[L], ee[L]), Pe = C ? S[L] / 2 - ae - ye - Ae - M : ne - ye - Ae - M, ot = C ? -S[L] / 2 + ae + ye + me + M : ce + ye + me + 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 = A[p] + Pe - Je - it, Mt = A[p] + ot - Je;
4237
+ }, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ni(), Ae = ie[I], me = ie[_], ye = lr(0, S[L], ee[L]), Pe = C ? S[L] / 2 - ae - ye - Ae - M : re - ye - Ae - M, ot = C ? -S[L] / 2 + ae + ye + me + M : ce + ye + me + 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 = A[p] + Pe - Je - it, Mt = A[p] + ot - Je;
4238
4238
  if (o) {
4239
4239
  var wt = lr(h ? Bn(Y, mt) : Y, U, h ? Tt(G, Mt) : G);
4240
4240
  A[p] = wt, B[p] = wt - U;
@@ -4320,8 +4320,8 @@ function Kc(e) {
4320
4320
  padding: d
4321
4321
  }), ae = U ? L ? nt : ze : L ? tt : qe;
4322
4322
  k[Y] > A[Y] && (ae = sr(ae));
4323
- var ne = sr(ae), ce = [];
4324
- if (o && ce.push(G[_] <= 0), l && ce.push(G[ae] <= 0, G[ne] <= 0), ce.every(function(me) {
4323
+ var re = sr(ae), ce = [];
4324
+ if (o && ce.push(G[_] <= 0), l && ce.push(G[ae] <= 0, G[re] <= 0), ce.every(function(me) {
4325
4325
  return me;
4326
4326
  })) {
4327
4327
  M = I, x = !1;
@@ -4434,7 +4434,7 @@ function lf({
4434
4434
  }, h = () => {
4435
4435
  s.isOpen || (s.isOpen = !0, t("open:popper"));
4436
4436
  };
4437
- te([() => s.isOpen, o], async ([v]) => {
4437
+ ne([() => s.isOpen, o], async ([v]) => {
4438
4438
  v ? (await g(), u()) : f();
4439
4439
  });
4440
4440
  const g = async () => {
@@ -4659,14 +4659,14 @@ var qi = {
4659
4659
  emit: t
4660
4660
  }) {
4661
4661
  const n = e;
4662
- ql((ne) => ({
4662
+ ql((re) => ({
4663
4663
  c81fc0a4: e.zIndex
4664
4664
  }));
4665
4665
  const r = Wo(), a = E(null), o = E(null), i = E(null), l = E(!1);
4666
- re(() => {
4667
- const ne = r.default();
4668
- if (ne && ne.length > 1)
4669
- return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${ne.length} child nodes.`);
4666
+ te(() => {
4667
+ const re = r.default();
4668
+ if (re && re.length > 1)
4669
+ return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${re.length} child nodes.`);
4670
4670
  });
4671
4671
  const {
4672
4672
  arrowPadding: s,
@@ -4703,17 +4703,17 @@ var qi = {
4703
4703
  }, ae = () => {
4704
4704
  p.value ? G() : Y();
4705
4705
  };
4706
- return te([S, c], ([ne, ce]) => {
4707
- p.value && (!ne || ce) && A();
4708
- }), te(p, (ne) => {
4709
- ne ? l.value = !0 : Mr.debounce(() => {
4706
+ return ne([S, c], ([re, ce]) => {
4707
+ p.value && (!re || ce) && A();
4708
+ }), ne(p, (re) => {
4709
+ re ? l.value = !0 : Mr.debounce(() => {
4710
4710
  l.value = !1;
4711
4711
  }, 200);
4712
4712
  }), Ee(() => {
4713
4713
  x.value && (C.value ? L() : U());
4714
4714
  }), Ee(() => {
4715
4715
  I.value && tc(a, G);
4716
- }), (ne, ce) => (w(), P("div", {
4716
+ }), (re, ce) => (w(), P("div", {
4717
4717
  class: "inline-block",
4718
4718
  style: et(N(_)),
4719
4719
  onMouseleave: ce[2] || (ce[2] = (ve) => e.hover && G()),
@@ -4728,7 +4728,7 @@ var qi = {
4728
4728
  onClick: ae,
4729
4729
  onFocus: Y,
4730
4730
  onKeyup: zl(G, ["esc"])
4731
- }, [Q(ne.$slots, "default")], 40, ff), H(jo, {
4731
+ }, [Q(re.$slots, "default")], 40, ff), H(jo, {
4732
4732
  name: "fade"
4733
4733
  }, {
4734
4734
  default: F(() => [Ye(O("div", {
@@ -4737,7 +4737,7 @@ var qi = {
4737
4737
  ref: (ve, ee) => {
4738
4738
  ee.popperNode = ve, o.value = ve;
4739
4739
  }
4740
- }, [Q(ne.$slots, "content", {
4740
+ }, [Q(re.$slots, "content", {
4741
4741
  close: N(A),
4742
4742
  isOpen: l.value
4743
4743
  }, () => [$e(q(N(u)), 1)]), e.arrow ? (w(), X(cf, {
@@ -5717,8 +5717,8 @@ function Kp(e) {
5717
5717
  padding: d
5718
5718
  }), ae = U ? L ? Ge : Ve : L ? Qe : Fe;
5719
5719
  k[Y] > A[Y] && (ae = ur(ae));
5720
- var ne = ur(ae), ce = [];
5721
- if (o && ce.push(G[_] <= 0), l && ce.push(G[ae] <= 0, G[ne] <= 0), ce.every(function(me) {
5720
+ var re = ur(ae), ce = [];
5721
+ if (o && ce.push(G[_] <= 0), l && ce.push(G[ae] <= 0, G[re] <= 0), ce.every(function(me) {
5722
5722
  return me;
5723
5723
  })) {
5724
5724
  M = I, x = !1;
@@ -5856,10 +5856,10 @@ function lv(e) {
5856
5856
  };
5857
5857
  if (A) {
5858
5858
  if (o) {
5859
- var L, U = p === "y" ? Fe : Ve, Y = p === "y" ? Qe : Ge, G = p === "y" ? "height" : "width", ae = A[p], ne = ae + m[U], ce = ae - m[Y], ve = h ? -x[G] / 2 : 0, ee = y === un ? S[G] : x[G], ie = y === un ? -x[G] : -S[G], Ae = t.elements.arrow, me = h && Ae ? Pa(Ae) : {
5859
+ var L, U = p === "y" ? Fe : Ve, Y = p === "y" ? Qe : Ge, G = p === "y" ? "height" : "width", ae = A[p], re = ae + m[U], ce = ae - m[Y], ve = h ? -x[G] / 2 : 0, ee = y === un ? S[G] : x[G], ie = y === un ? -x[G] : -S[G], Ae = t.elements.arrow, me = h && Ae ? Pa(Ae) : {
5860
5860
  width: 0,
5861
5861
  height: 0
5862
- }, ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : tl(), Pe = ye[U], ot = ye[Y], Re = Cn(0, S[G], me[G]), it = C ? S[G] / 2 - ve - Re - Pe - B.mainAxis : ee - Re - Pe - B.mainAxis, Je = C ? -S[G] / 2 + ve + Re + ot + B.mainAxis : ie + Re + ot + B.mainAxis, mt = t.elements.arrow && Hn(t.elements.arrow), Mt = mt ? p === "y" ? mt.clientTop || 0 : mt.clientLeft || 0 : 0, wt = (L = I?.[p]) != null ? L : 0, Jt = ae + it - wt - Mt, Zt = ae + Je - wt, lt = Cn(h ? cr(ne, Jt) : ne, ae, h ? zt(ce, Zt) : ce);
5862
+ }, ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : tl(), Pe = ye[U], ot = ye[Y], Re = Cn(0, S[G], me[G]), it = C ? S[G] / 2 - ve - Re - Pe - B.mainAxis : ee - Re - Pe - B.mainAxis, Je = C ? -S[G] / 2 + ve + Re + ot + B.mainAxis : ie + Re + ot + B.mainAxis, mt = t.elements.arrow && Hn(t.elements.arrow), Mt = mt ? p === "y" ? mt.clientTop || 0 : mt.clientLeft || 0 : 0, wt = (L = I?.[p]) != null ? L : 0, Jt = ae + it - wt - Mt, Zt = ae + Je - wt, lt = Cn(h ? cr(re, Jt) : re, ae, h ? zt(ce, Zt) : ce);
5863
5863
  A[p] = lt, _[p] = lt - ae;
5864
5864
  }
5865
5865
  if (l) {
@@ -6403,7 +6403,7 @@ function Nv(e, t) {
6403
6403
  var x = y.map(function(D) {
6404
6404
  return D.fn(p);
6405
6405
  }), M = e.hasAttribute("aria-expanded");
6406
- return mt(), ve(), ae(), ne("onCreate", [p]), n.showOnCreate && mn(), A.addEventListener("mouseenter", function() {
6406
+ return mt(), ve(), ae(), re("onCreate", [p]), n.showOnCreate && mn(), A.addEventListener("mouseenter", function() {
6407
6407
  p.props.interactive && p.state.isVisible && p.clearDelayTimeouts();
6408
6408
  }), A.addEventListener("mouseleave", function() {
6409
6409
  p.props.interactive && p.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", g);
@@ -6435,7 +6435,7 @@ function Nv(e, t) {
6435
6435
  function ae(D) {
6436
6436
  D === void 0 && (D = !1), A.style.pointerEvents = p.props.interactive && !D ? "" : "none", A.style.zIndex = "" + p.props.zIndex;
6437
6437
  }
6438
- function ne(D, j, J) {
6438
+ function re(D, j, J) {
6439
6439
  if (J === void 0 && (J = !0), x.forEach(function(se) {
6440
6440
  se[D] && se[D].apply(se, j);
6441
6441
  }), J) {
@@ -6481,7 +6481,7 @@ function Nv(e, t) {
6481
6481
  if (st.isTouch || p.state.isVisible && p.props.trigger.indexOf("click") >= 0)
6482
6482
  return;
6483
6483
  } else
6484
- ne("onClickOutside", [p, D]);
6484
+ re("onClickOutside", [p, D]);
6485
6485
  p.props.hideOnClick === !0 && (p.clearDelayTimeouts(), p.hide(), l = !0, setTimeout(function() {
6486
6486
  l = !1;
6487
6487
  }), p.state.isMounted || Pe());
@@ -6664,14 +6664,14 @@ function Nv(e, t) {
6664
6664
  return vn(A.querySelectorAll("[data-tippy-root]"));
6665
6665
  }
6666
6666
  function mn(D) {
6667
- p.clearDelayTimeouts(), D && ne("onTrigger", [p, D]), ye();
6667
+ p.clearDelayTimeouts(), D && re("onTrigger", [p, D]), ye();
6668
6668
  var j = G(!0), J = B(), he = J[0], se = J[1];
6669
6669
  st.isTouch && he === "hold" && se && (j = se), j ? r = setTimeout(function() {
6670
6670
  p.show();
6671
6671
  }, j) : p.show();
6672
6672
  }
6673
6673
  function Lt(D) {
6674
- if (p.clearDelayTimeouts(), ne("onUntrigger", [p, D]), !p.state.isVisible) {
6674
+ if (p.clearDelayTimeouts(), re("onUntrigger", [p, D]), !p.state.isVisible) {
6675
6675
  Pe();
6676
6676
  return;
6677
6677
  }
@@ -6695,7 +6695,7 @@ function Nv(e, t) {
6695
6695
  }
6696
6696
  function Un(D) {
6697
6697
  if (!p.state.isDestroyed) {
6698
- ne("onBeforeUpdate", [p, D]), Mt();
6698
+ re("onBeforeUpdate", [p, D]), Mt();
6699
6699
  var j = p.props, J = Co(e, Object.assign({}, j, ko(D), {
6700
6700
  ignoreAttributes: !0
6701
6701
  }));
@@ -6703,7 +6703,7 @@ function Nv(e, t) {
6703
6703
  he.removeAttribute("aria-expanded");
6704
6704
  }) : J.triggerTarget && e.removeAttribute("aria-expanded"), ve(), ae(), S && S(j, J), p.popperInstance && ($t(), kt().forEach(function(he) {
6705
6705
  requestAnimationFrame(he._tippy.popperInstance.forceUpdate);
6706
- })), ne("onAfterUpdate", [p, D]);
6706
+ })), re("onAfterUpdate", [p, D]);
6707
6707
  }
6708
6708
  }
6709
6709
  function Yn(D) {
@@ -6713,7 +6713,7 @@ function Nv(e, t) {
6713
6713
  }
6714
6714
  function Ml() {
6715
6715
  var D = p.state.isVisible, j = p.state.isDestroyed, J = !p.state.isEnabled, he = st.isTouch && !p.props.touch, se = Lr(p.props.duration, 0, Ze.duration);
6716
- if (!(D || j || J || he) && !L().hasAttribute("disabled") && (ne("onShow", [p], !1), p.props.onShow(p) !== !1)) {
6716
+ if (!(D || j || J || he) && !L().hasAttribute("disabled") && (re("onShow", [p], !1), p.props.onShow(p) !== !1)) {
6717
6717
  if (p.state.isVisible = !0, _() && (A.style.visibility = "visible"), ae(), ye(), p.state.isMounted || (A.style.transition = "none"), _()) {
6718
6718
  var _e = Y(), We = _e.box, en = _e.content;
6719
6719
  _r([We, en], 0);
@@ -6725,8 +6725,8 @@ function Nv(e, t) {
6725
6725
  var Sr = Y(), Xn = Sr.box, tn = Sr.content;
6726
6726
  _r([Xn, tn], se), Mn([Xn, tn], "visible");
6727
6727
  }
6728
- ce(), ve(), xo(Vr, p), (_t = p.popperInstance) == null || _t.forceUpdate(), ne("onMount", [p]), p.props.animation && _() && Re(se, function() {
6729
- p.state.isShown = !0, ne("onShown", [p]);
6728
+ ce(), ve(), xo(Vr, p), (_t = p.popperInstance) == null || _t.forceUpdate(), re("onMount", [p]), p.props.animation && _() && Re(se, function() {
6729
+ p.state.isShown = !0, re("onShown", [p]);
6730
6730
  });
6731
6731
  }
6732
6732
  }, ht();
@@ -6734,7 +6734,7 @@ function Nv(e, t) {
6734
6734
  }
6735
6735
  function $l() {
6736
6736
  var D = !p.state.isVisible, j = p.state.isDestroyed, J = !p.state.isEnabled, he = Lr(p.props.duration, 1, Ze.duration);
6737
- if (!(D || j || J) && (ne("onHide", [p], !1), p.props.onHide(p) !== !1)) {
6737
+ if (!(D || j || J) && (re("onHide", [p], !1), p.props.onHide(p) !== !1)) {
6738
6738
  if (p.state.isVisible = !1, p.state.isShown = !1, d = !1, i = !1, _() && (A.style.visibility = "hidden"), ee(), Pe(), ae(!0), _()) {
6739
6739
  var se = Y(), _e = se.box, We = se.content;
6740
6740
  p.props.animation && (_r([_e, We], he), Mn([_e, We], "hidden"));
@@ -6750,10 +6750,10 @@ function Nv(e, t) {
6750
6750
  D._tippy.unmount();
6751
6751
  }), A.parentNode && A.parentNode.removeChild(A), Vr = Vr.filter(function(D) {
6752
6752
  return D !== p;
6753
- }), p.state.isMounted = !1, ne("onHidden", [p]));
6753
+ }), p.state.isMounted = !1, re("onHidden", [p]));
6754
6754
  }
6755
6755
  function _l() {
6756
- p.state.isDestroyed || (p.clearDelayTimeouts(), p.unmount(), Mt(), delete e._tippy, p.state.isDestroyed = !0, ne("onDestroy", [p]));
6756
+ p.state.isDestroyed || (p.clearDelayTimeouts(), p.unmount(), Mt(), delete e._tippy, p.state.isDestroyed = !0, re("onDestroy", [p]));
6757
6757
  }
6758
6758
  }
6759
6759
  function W(e, t) {
@@ -7258,13 +7258,13 @@ function bl(e, t = {}, n = { mount: !0, appName: "Tippy" }) {
7258
7258
  mount: k,
7259
7259
  state: o
7260
7260
  };
7261
- return n.mount && (r ? r.isMounted ? k() : re(k) : k()), r && De(() => {
7261
+ return n.mount && (r ? r.isMounted ? k() : te(k) : k()), r && De(() => {
7262
7262
  v();
7263
- }), gt(t) || Na(t) ? te(t, f, { immediate: !1 }) : gt(t.content) && te(t.content, c, { immediate: !1 }), A;
7263
+ }), gt(t) || Na(t) ? ne(t, f, { immediate: !1 }) : gt(t.content) && ne(t.content, c, { immediate: !1 }), A;
7264
7264
  }
7265
7265
  function Zv(e, t) {
7266
7266
  const n = E();
7267
- return re(() => {
7267
+ return te(() => {
7268
7268
  const a = (Array.isArray(e) ? e.map((o) => o.value) : typeof e == "function" ? e() : e.value).map((o) => o instanceof Element ? o._tippy : o).filter(Boolean);
7269
7269
  n.value = Wv(a, t ? { allowHTML: !0, ...t } : { allowHTML: !0 });
7270
7270
  }), {
@@ -7357,13 +7357,13 @@ const yl = $({
7357
7357
  } : (typeof e.to == "string" || e.to instanceof String) && (d = () => document.querySelector(e.to)));
7358
7358
  const u = bl(d, s());
7359
7359
  let f = t.content;
7360
- !f && e.to === "parent" && (f = t.default), re(() => {
7360
+ !f && e.to === "parent" && (f = t.default), te(() => {
7361
7361
  l.value = !0, ke(() => {
7362
7362
  f && u.setContent(() => i.value);
7363
7363
  });
7364
- }), te(u.state, () => {
7364
+ }), ne(u.state, () => {
7365
7365
  n("state", N(u.state));
7366
- }, { immediate: !0, deep: !0 }), te(() => e, () => {
7366
+ }, { immediate: !0, deep: !0 }), ne(() => e, () => {
7367
7367
  u.setProps(s()), f && u.setContent(() => i.value);
7368
7368
  }, { deep: !0 });
7369
7369
  let c = vr({
@@ -7519,7 +7519,7 @@ const lm = /* @__PURE__ */ $({
7519
7519
  const t = E(!1), n = E(), r = () => {
7520
7520
  t.value = !t.value;
7521
7521
  }, a = e;
7522
- return te(
7522
+ return ne(
7523
7523
  a,
7524
7524
  () => {
7525
7525
  t.value = a.isOpen;
@@ -7669,7 +7669,7 @@ const lm = /* @__PURE__ */ $({
7669
7669
  emits: ["update:modelValue", "update:true-value", "update:false-value", "update:errors"],
7670
7670
  setup(e, { expose: t }) {
7671
7671
  const n = e, r = de(e, "modelValue"), a = de(e, "true-value"), o = de(e, "false-value");
7672
- te(
7672
+ ne(
7673
7673
  () => r.value,
7674
7674
  () => {
7675
7675
  s.value?.length && (s.value = []);
@@ -7772,7 +7772,7 @@ const lm = /* @__PURE__ */ $({
7772
7772
  emits: ["update:modelValue", "update:isLoading", "update:selected", "update:search", "update:options", "update:errors", "update:selected-label", "update:selected-value"],
7773
7773
  setup(e) {
7774
7774
  const t = e, n = de(e, "modelValue"), r = de(e, "isLoading"), a = de(e, "selected"), o = de(e, "search"), i = de(e, "options"), l = de(e, "errors"), s = de(e, "selected-label"), d = de(e, "selected-value"), u = E(!1), f = E(), c = E();
7775
- te(
7775
+ ne(
7776
7776
  () => c.value?.isOpen,
7777
7777
  () => {
7778
7778
  c.value.isOpen && ke(() => {
@@ -7787,7 +7787,7 @@ const lm = /* @__PURE__ */ $({
7787
7787
  }, v = () => {
7788
7788
  n.value = "", a.value = void 0, s.value = "", d.value = "", o.value = "", b();
7789
7789
  };
7790
- te(
7790
+ ne(
7791
7791
  a,
7792
7792
  () => {
7793
7793
  n.value = a.value?.label ?? "", s.value = a.value?.label ?? "", d.value = a.value?.value ?? "", l.value?.length && (l.value = []);
@@ -9213,7 +9213,7 @@ const Kh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Jh
9213
9213
  }), l = E(), s = () => {
9214
9214
  r.disabled || (l.value.focus(), l.value.showPicker());
9215
9215
  }, d = E();
9216
- te(i, (f) => {
9216
+ ne(i, (f) => {
9217
9217
  const c = f?.split("-");
9218
9218
  if (!c || c.length !== 3 || Number(c[0]) < 1e3) {
9219
9219
  r.required && (o.value = ["Invalid date format."]), d.value = "", a("update:modelValue", "");
@@ -9221,11 +9221,13 @@ const Kh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Jh
9221
9221
  }
9222
9222
  const h = /* @__PURE__ */ new Date();
9223
9223
  h.setDate(Number(c[2])), h.setMonth(Number(c[1])), h.setFullYear(Number(c[0])), d.value = `${c[0]}-${c[1]}-${c[2]}`;
9224
- }), te(d, (f) => {
9224
+ }), ne(d, (f) => {
9225
9225
  f ? i.value = Xh(new Date(f), "yyyy-MM-dd") : a("update:modelValue", ""), l.value.blur();
9226
9226
  });
9227
9227
  const u = E();
9228
- return t({
9228
+ return te(() => {
9229
+ r.autofocus && u.value?.focus();
9230
+ }), t({
9229
9231
  inputRef: u,
9230
9232
  dateRef: l
9231
9233
  }), (f, c) => {
@@ -9293,7 +9295,7 @@ const Kh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Jh
9293
9295
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
9294
9296
  };
9295
9297
  }
9296
- }), Zh = /* @__PURE__ */ oe(Jh, [["__scopeId", "data-v-9f84e977"]]), eg = ["multiple", "accept", "autofocus", "required", "readonly", "disabled", "data-testid"], tg = ["multiple", "accept", "required", "disabled", "data-testid"], ng = /* @__PURE__ */ $({
9298
+ }), Zh = /* @__PURE__ */ oe(Jh, [["__scopeId", "data-v-d83e8038"]]), eg = ["multiple", "accept", "autofocus", "required", "readonly", "disabled", "data-testid"], tg = ["multiple", "accept", "required", "disabled", "data-testid"], ng = /* @__PURE__ */ $({
9297
9299
  __name: "base-file-upload",
9298
9300
  props: /* @__PURE__ */ we({
9299
9301
  id: {},
@@ -9403,8 +9405,8 @@ const Kh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Jh
9403
9405
  },
9404
9406
  get: () => r.modelValue
9405
9407
  }), i = E(), l = E(), s = E(), d = E(0), u = E(0), f = de(e, "errors");
9406
- re(() => {
9407
- c(), setTimeout(() => {
9408
+ te(() => {
9409
+ r.autofocus && i.value?.focus(), c(), setTimeout(() => {
9408
9410
  c();
9409
9411
  }, 1e3);
9410
9412
  });
@@ -9474,7 +9476,7 @@ const Kh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Jh
9474
9476
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
9475
9477
  };
9476
9478
  }
9477
- }), ig = /* @__PURE__ */ oe(og, [["__scopeId", "data-v-581a0b93"]]), lg = ["required", "readonly", "disabled", "autofocus", "placeholder", "data-testid"], sg = /* @__PURE__ */ $({
9479
+ }), ig = /* @__PURE__ */ oe(og, [["__scopeId", "data-v-a4e467a3"]]), lg = ["required", "readonly", "disabled", "autofocus", "placeholder", "data-testid"], sg = /* @__PURE__ */ $({
9478
9480
  __name: "base-input-mask",
9479
9481
  props: /* @__PURE__ */ we({
9480
9482
  modelValue: { type: [String, Number, Boolean, null] },
@@ -9506,7 +9508,9 @@ const Kh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Jh
9506
9508
  },
9507
9509
  get: () => r.modelValue
9508
9510
  }), i = E(), l = de(e, "errors");
9509
- return t({
9511
+ return te(() => {
9512
+ r.autofocus && i.value?.focus();
9513
+ }), t({
9510
9514
  inputRef: i
9511
9515
  }), (s, d) => {
9512
9516
  const u = K("base-form"), f = zo("input-mask");
@@ -9550,7 +9554,7 @@ const Kh = ["autofocus", "required", "readonly", "disabled", "data-testid"], Jh
9550
9554
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
9551
9555
  };
9552
9556
  }
9553
- }), ug = /* @__PURE__ */ oe(sg, [["__scopeId", "data-v-09f6f397"]]);
9557
+ }), ug = /* @__PURE__ */ oe(sg, [["__scopeId", "data-v-adccc041"]]);
9554
9558
  var an = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, qt = function(e, t, n, r, a, o, i, l, s, d) {
9555
9559
  var u = this;
9556
9560
  u.numeralDecimalMark = e || ".", u.numeralIntegerScale = t > 0 ? t : 0, u.numeralDecimalScale = n >= 0 ? n : 2, u.numeralThousandsGroupStyle = r || qt.groupStyle.thousand, u.numeralPositiveOnly = !!a, u.stripLeadingZeroes = o !== !1, u.prefix = i || i === "" ? i : "", u.signBeforePrefix = !!l, u.tailPrefix = !!s, u.delimiter = d || d === "" ? d : ",", u.delimiterRE = d ? new RegExp("\\" + d, "g") : "";
@@ -10195,13 +10199,13 @@ const yg = ["placeholder", "autofocus", "required", "readonly", "disabled", "dat
10195
10199
  const r = e, a = E(), o = E(), i = () => {
10196
10200
  o.value.select();
10197
10201
  }, l = E(), s = E(), d = E(0), u = E(0);
10198
- re(() => {
10202
+ te(() => {
10199
10203
  a.value = new Tl(o.value, {
10200
10204
  numeral: !0,
10201
10205
  numeralThousandsGroupStyle: "thousand",
10202
10206
  numeralDecimalScale: r.decimalLength,
10203
10207
  onValueChanged: v
10204
- }), f(), setTimeout(() => {
10208
+ }), r.autofocus && o.value?.focus(), f(), setTimeout(() => {
10205
10209
  f();
10206
10210
  }, 1e3);
10207
10211
  });
@@ -10274,7 +10278,7 @@ const yg = ["placeholder", "autofocus", "required", "readonly", "disabled", "dat
10274
10278
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
10275
10279
  };
10276
10280
  }
10277
- }), wg = /* @__PURE__ */ oe(Ag, [["__scopeId", "data-v-88dee6b6"]]);
10281
+ }), wg = /* @__PURE__ */ oe(Ag, [["__scopeId", "data-v-e58b3c75"]]);
10278
10282
  function xg(e) {
10279
10283
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
10280
10284
  }
@@ -10393,7 +10397,9 @@ const Og = /* @__PURE__ */ xg(Sg), Cg = { class: "relative w-full" }, Eg = ["id"
10393
10397
  l.value = s.value?.scrollHeight ?? 0;
10394
10398
  });
10395
10399
  }
10396
- te(i, d), re(d);
10400
+ ne(i, d), te(() => {
10401
+ r.autofocus && s.value?.focus(), d();
10402
+ });
10397
10403
  const u = E({ top: 0, left: 0 }), f = E(!1), c = E(0), h = E(null), g = E(-1), v = E(""), m = T(() => h.value ? (r.options[h.value] || []).filter(
10398
10404
  (A) => A.label.toLowerCase().includes(v.value.toLowerCase())
10399
10405
  ) : []);
@@ -10424,7 +10430,7 @@ const Og = /* @__PURE__ */ xg(Sg), Cg = { class: "relative w-full" }, Eg = ["id"
10424
10430
  function k() {
10425
10431
  f.value = !1, g.value = -1, v.value = "", h.value = null, c.value = 0;
10426
10432
  }
10427
- return te(i, () => {
10433
+ return ne(i, () => {
10428
10434
  const A = [];
10429
10435
  for (const S of r.triggers) {
10430
10436
  const x = new RegExp(`\\${S}(\\w+)`, "g"), M = Array.from(i.value.matchAll(x)).map((I) => I[1]?.toLowerCase()), B = r.options[S] || [];
@@ -10492,7 +10498,7 @@ const Og = /* @__PURE__ */ xg(Sg), Cg = { class: "relative w-full" }, Eg = ["id"
10492
10498
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
10493
10499
  };
10494
10500
  }
10495
- }), Ig = /* @__PURE__ */ oe(Dg, [["__scopeId", "data-v-e8a48e66"]]), Mg = { class: "cursor-pointer" }, $g = { class: "flex items-center justify-between gap-1" }, Rg = {
10501
+ }), Ig = /* @__PURE__ */ oe(Dg, [["__scopeId", "data-v-66bbbe73"]]), Mg = { class: "cursor-pointer" }, $g = { class: "flex items-center justify-between gap-1" }, Rg = {
10496
10502
  key: 0,
10497
10503
  class: "flex items-center shrink-0 text-white"
10498
10504
  }, Lg = {
@@ -10687,7 +10693,9 @@ const Og = /* @__PURE__ */ xg(Sg), Cg = { class: "relative w-full" }, Eg = ["id"
10687
10693
  }, f = E(null), c = () => {
10688
10694
  f.value && f.value.el.click();
10689
10695
  }, h = E();
10690
- return te(
10696
+ return te(() => {
10697
+ a.autofocus && h.value?.focus();
10698
+ }), ne(
10691
10699
  () => o.value,
10692
10700
  () => {
10693
10701
  n.value = o.value?.label ?? "", r.value = o.value?.value ?? "", s.value?.length && (s.value = []);
@@ -10802,7 +10810,7 @@ const Og = /* @__PURE__ */ xg(Sg), Cg = { class: "relative w-full" }, Eg = ["id"
10802
10810
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
10803
10811
  };
10804
10812
  }
10805
- }), Qg = /* @__PURE__ */ oe(Xg, [["__scopeId", "data-v-5b220f53"]]), Gg = ["disabled", "data-testid"], Kg = /* @__PURE__ */ $({
10813
+ }), Qg = /* @__PURE__ */ oe(Xg, [["__scopeId", "data-v-63b3a5b1"]]), Gg = ["disabled", "data-testid"], Kg = /* @__PURE__ */ $({
10806
10814
  __name: "base-switch",
10807
10815
  props: /* @__PURE__ */ we({
10808
10816
  modelValue: { type: Boolean },
@@ -10904,10 +10912,10 @@ const Og = /* @__PURE__ */ xg(Sg), Cg = { class: "relative w-full" }, Eg = ["id"
10904
10912
  },
10905
10913
  get: () => r.modelValue
10906
10914
  }), l = E(0), s = E();
10907
- te(i, () => {
10908
- d();
10909
- }), re(() => {
10915
+ ne(i, () => {
10910
10916
  d();
10917
+ }), te(() => {
10918
+ r.autofocus && s.value?.focus(), d();
10911
10919
  });
10912
10920
  const d = () => {
10913
10921
  l.value = 0, ke(() => {
@@ -10957,7 +10965,7 @@ const Og = /* @__PURE__ */ xg(Sg), Cg = { class: "relative w-full" }, Eg = ["id"
10957
10965
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
10958
10966
  };
10959
10967
  }
10960
- }), eb = /* @__PURE__ */ oe(Zg, [["__scopeId", "data-v-bf883e3c"]]), tb = { class: "flex justify-between px-4" }, nb = { class: "self-end" }, rb = /* @__PURE__ */ $({
10968
+ }), eb = /* @__PURE__ */ oe(Zg, [["__scopeId", "data-v-72c6c0e3"]]), tb = { class: "flex justify-between px-4" }, nb = { class: "self-end" }, rb = /* @__PURE__ */ $({
10961
10969
  __name: "app-footer",
10962
10970
  props: {
10963
10971
  version: {},
@@ -10989,11 +10997,11 @@ const ub = /* @__PURE__ */ oe(ab, [["render", sb], ["__scopeId", "data-v-918420e
10989
10997
  setup(e) {
10990
10998
  const t = E(0), n = E(`is loading ${t.value} %`), r = E();
10991
10999
  let a;
10992
- re(() => {
11000
+ te(() => {
10993
11001
  o(), a = setInterval(() => {
10994
11002
  t.value += 20, n.value = `is loading ${t.value} %`;
10995
11003
  }, 50);
10996
- }), te(t, (l) => {
11004
+ }), ne(t, (l) => {
10997
11005
  l >= 100 && (clearInterval(a), n.value = "loading complete", i(), r.value.style.display = "none");
10998
11006
  });
10999
11007
  const o = () => {
@@ -11042,12 +11050,12 @@ const ub = /* @__PURE__ */ oe(ab, [["render", sb], ["__scopeId", "data-v-918420e
11042
11050
  for (const c of f.submenu)
11043
11051
  a.path.includes(c.path) && (i.value = f.name);
11044
11052
  };
11045
- te(
11053
+ ne(
11046
11054
  () => a.path,
11047
11055
  () => {
11048
11056
  s(), d();
11049
11057
  }
11050
- ), re(() => {
11058
+ ), te(() => {
11051
11059
  d();
11052
11060
  });
11053
11061
  const u = (f) => f.substring(0, 8) === "https://" ? "external" : "internal";
@@ -11716,7 +11724,7 @@ function Ty() {
11716
11724
  }
11717
11725
  function Py() {
11718
11726
  const e = Il();
11719
- re(async () => {
11727
+ te(async () => {
11720
11728
  e.onResizeWindow(), await ke(() => {
11721
11729
  window.addEventListener("resize", e.onResizeWindow);
11722
11730
  });
@@ -11744,9 +11752,9 @@ const or = typeof window < "u", La = hr("sidebar", {
11744
11752
  });
11745
11753
  function By() {
11746
11754
  const e = La(), t = Uo(), { isMobile: n } = by();
11747
- re(() => {
11755
+ te(() => {
11748
11756
  r();
11749
- }), te(
11757
+ }), ne(
11750
11758
  t,
11751
11759
  async () => {
11752
11760
  n() && e.closeSidebar();