@thekestongroup/ui 0.1.1 → 0.1.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/keston-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as Xo from "vue";
2
- import { defineComponent as I, computed as E, openBlock as q, createElementBlock as ue, normalizeClass as Fe, renderSlot as R, inject as Lr, provide as Vr, shallowRef as Pt, shallowReadonly as vt, customRef as ls, toValue as Q, getCurrentScope as zr, onScopeDispose as wo, watch as G, onBeforeUnmount as _o, effectScope as Hr, getCurrentInstance as yt, isRef as hn, reactive as Ft, unref as l, toRefs as Se, ref as k, nextTick as ce, onMounted as re, Fragment as We, toHandlerKey as us, camelize as Wr, watchEffect as Re, onUpdated as ds, triggerRef as cs, toRef as Kr, onUnmounted as $e, h as Bt, Comment as fs, mergeProps as K, cloneVNode as ps, createBlock as O, withCtx as _, normalizeStyle as Xt, createVNode as V, withDirectives as wn, vShow as ro, withModifiers as Ke, createCommentVNode as he, Teleport as xo, normalizeProps as be, guardReactiveProps as De, markRaw as vs, renderList as Jt, watchPostEffect as jr, withMemo as ms, mergeDefaults as Ur, useAttrs as Gr, resolveDynamicComponent as En, withKeys as Yr, createElementVNode as He, createTextVNode as Ce, toDisplayString as Me, shallowReactive as gs, useSlots as ys, toHandlers as hs, useModel as Co, mergeModels as So, vModelText as bs } from "vue";
2
+ import { defineComponent as I, computed as E, openBlock as q, createElementBlock as ue, normalizeClass as Fe, renderSlot as R, inject as Lr, provide as Vr, shallowRef as Pt, shallowReadonly as vt, customRef as ls, toValue as Q, getCurrentScope as zr, onScopeDispose as xo, watch as G, onBeforeUnmount as Co, effectScope as Hr, getCurrentInstance as yt, isRef as hn, reactive as Ft, unref as l, toRefs as Se, ref as k, nextTick as ce, onMounted as re, Fragment as We, toHandlerKey as us, camelize as Wr, watchEffect as Re, onUpdated as ds, triggerRef as cs, toRef as Kr, onUnmounted as $e, h as Bt, Comment as fs, mergeProps as K, cloneVNode as ps, createBlock as O, withCtx as _, normalizeStyle as Xt, createVNode as V, withDirectives as wn, vShow as so, withModifiers as Ke, createCommentVNode as he, Teleport as So, normalizeProps as be, guardReactiveProps as De, markRaw as vs, renderList as Jt, watchPostEffect as jr, withMemo as ms, mergeDefaults as Ur, useAttrs as Gr, resolveDynamicComponent as En, withKeys as Yr, createElementVNode as He, createTextVNode as Ce, toDisplayString as Me, shallowReactive as gs, useSlots as ys, toHandlers as hs, useModel as An, mergeModels as On, vModelText as bs } from "vue";
3
3
  function Xr(e) {
4
4
  var n, t, o = "";
5
5
  if (typeof e == "string" || typeof e == "number") o += e;
@@ -144,7 +144,7 @@ const _s = (e, n) => {
144
144
  a in t ? t[a] = s : r(a, s);
145
145
  }
146
146
  };
147
- }, ao = "!", Zo = ":", Bs = [], Qo = (e, n, t, o, r) => ({
147
+ }, io = "!", Zo = ":", Bs = [], Qo = (e, n, t, o, r) => ({
148
148
  modifiers: e,
149
149
  hasImportantModifier: n,
150
150
  baseClassName: t,
@@ -175,12 +175,12 @@ const _s = (e, n) => {
175
175
  }
176
176
  const f = a.length === 0 ? r : r.slice(u);
177
177
  let p = f, v = !1;
178
- f.endsWith(ao) ? (p = f.slice(0, -1), v = !0) : (
178
+ f.endsWith(io) ? (p = f.slice(0, -1), v = !0) : (
179
179
  /**
180
180
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
181
181
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
182
182
  */
183
- f.startsWith(ao) && (p = f.slice(1), v = !0)
183
+ f.startsWith(io) && (p = f.slice(1), v = !0)
184
184
  );
185
185
  const m = d && d > u ? d - u : void 0;
186
186
  return Qo(a, v, p, m);
@@ -262,7 +262,7 @@ const _s = (e, n) => {
262
262
  }
263
263
  g = !1;
264
264
  }
265
- const S = v.length === 0 ? "" : v.length === 1 ? v[0] : a(v).join(":"), x = m ? S + ao : S, T = x + b;
265
+ const S = v.length === 0 ? "" : v.length === 1 ? v[0] : a(v).join(":"), x = m ? S + io : S, T = x + b;
266
266
  if (i.indexOf(T) > -1)
267
267
  continue;
268
268
  i.push(T);
@@ -302,7 +302,7 @@ const _s = (e, n) => {
302
302
  }, Hs = [], ye = (e) => {
303
303
  const n = (t) => t[e] || Hs;
304
304
  return n.isThemeGetter = !0, n.themeKey = e, n;
305
- }, ta = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, na = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ws = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ks = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, js = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Us = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Gs = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ys = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, pt = (e) => Ws.test(e), Z = (e) => !!e && !Number.isNaN(Number(e)), Xe = (e) => !!e && Number.isInteger(Number(e)), Hn = (e) => e.endsWith("%") && Z(e.slice(0, -1)), at = (e) => Ks.test(e), oa = () => !0, Xs = (e) => (
305
+ }, ta = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, na = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ws = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ks = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, js = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Us = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Gs = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ys = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, pt = (e) => Ws.test(e), Z = (e) => !!e && !Number.isNaN(Number(e)), Xe = (e) => !!e && Number.isInteger(Number(e)), Kn = (e) => e.endsWith("%") && Z(e.slice(0, -1)), at = (e) => Ks.test(e), oa = () => !0, Xs = (e) => (
306
306
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
307
307
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
308
308
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
@@ -340,7 +340,7 @@ const _s = (e, n) => {
340
340
  repeat: ["", "x", "y", "space", "round"]
341
341
  }], Ae = () => ["auto", "cover", "contain", si, ti, {
342
342
  size: [W, H]
343
- }], qe = () => [Hn, Wt, _t], se = () => [
343
+ }], qe = () => [Kn, Wt, _t], se = () => [
344
344
  // Deprecated since Tailwind CSS v4.0.0
345
345
  "",
346
346
  "none",
@@ -348,7 +348,7 @@ const _s = (e, n) => {
348
348
  d,
349
349
  W,
350
350
  H
351
- ], ge = () => ["", Z, Wt, _t], _e = () => ["solid", "dashed", "dotted", "double"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], oe = () => [Z, Hn, nr, tr], Ie = () => [
351
+ ], ge = () => ["", Z, Wt, _t], _e = () => ["solid", "dashed", "dotted", "double"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], oe = () => [Z, Kn, nr, tr], Ie = () => [
352
352
  // Deprecated since Tailwind CSS v4.0.0
353
353
  "",
354
354
  "none",
@@ -1180,7 +1180,7 @@ const _s = (e, n) => {
1180
1180
  * @see https://tailwindcss.com/docs/font-stretch
1181
1181
  */
1182
1182
  "font-stretch": [{
1183
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Hn, H]
1183
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Kn, H]
1184
1184
  }],
1185
1185
  /**
1186
1186
  * Font Family
@@ -3053,7 +3053,7 @@ const pi = " _-,;:!?.'\"()[]{}@*/\\&#%`^+<=>|~$0123456789abcdefghijklmnopqrstuvw
3053
3053
  for (let n = 65; n <= 90; n++) e[n] = e[n + 32];
3054
3054
  return e;
3055
3055
  })();
3056
- function Wn(e, n) {
3056
+ function jn(e, n) {
3057
3057
  if (e === n) return 0;
3058
3058
  const t = Math.min(e.length, n.length);
3059
3059
  let o = 0;
@@ -3071,7 +3071,7 @@ const vi = /* @__PURE__ */ (function() {
3071
3071
  #e = /* @__PURE__ */ new Map();
3072
3072
  compare(t, o) {
3073
3073
  const r = typeof t, a = typeof o;
3074
- return r === "string" && a === "string" ? Wn(t, o) : r === "number" && a === "number" ? t - o : Wn(this.serialize(t, !0), this.serialize(o, !0));
3074
+ return r === "string" && a === "string" ? jn(t, o) : r === "number" && a === "number" ? t - o : jn(this.serialize(t, !0), this.serialize(o, !0));
3075
3075
  }
3076
3076
  serialize(t, o) {
3077
3077
  if (t === null) return "null";
@@ -3096,7 +3096,7 @@ const vi = /* @__PURE__ */ (function() {
3096
3096
  const u = t.toJSON();
3097
3097
  return a + (u !== null && typeof u == "object" ? this.$object(u) : `(${this.serialize(u)})`);
3098
3098
  }
3099
- const s = Object.keys(t).sort(Wn);
3099
+ const s = Object.keys(t).sort(jn);
3100
3100
  let i = `${a}{`;
3101
3101
  for (let u = 0; u < s.length; u++) {
3102
3102
  const d = s[u];
@@ -3211,11 +3211,11 @@ function Ao(e) {
3211
3211
  function Rt(e) {
3212
3212
  return e == null;
3213
3213
  }
3214
- function Kn(e, n) {
3214
+ function Un(e, n) {
3215
3215
  return Rt(e) ? !1 : Array.isArray(e) ? e.some((t) => jt(t, n)) : jt(e, n);
3216
3216
  }
3217
3217
  function At(e, n) {
3218
- return zr() ? (wo(e, n), !0) : !1;
3218
+ return zr() ? (xo(e, n), !0) : !1;
3219
3219
  }
3220
3220
  // @__NO_SIDE_EFFECTS__
3221
3221
  function mi() {
@@ -3249,7 +3249,7 @@ function _i() {
3249
3249
  var e, n, t;
3250
3250
  return Te && !!(!((e = window) === null || e === void 0 || (e = e.navigator) === null || e === void 0) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((n = window) === null || n === void 0 || (n = n.navigator) === null || n === void 0 ? void 0 : n.maxTouchPoints) > 2 && /iPad|Macintosh/.test((t = window) === null || t === void 0 ? void 0 : t.navigator.userAgent));
3251
3251
  }
3252
- function jn(e) {
3252
+ function Gn(e) {
3253
3253
  return Array.isArray(e) ? e : [e];
3254
3254
  }
3255
3255
  function xi(e) {
@@ -3315,7 +3315,7 @@ function pa(e, n = 1e4) {
3315
3315
  });
3316
3316
  }
3317
3317
  function qi(e, n) {
3318
- xi() && _o(e, n);
3318
+ xi() && Co(e, n);
3319
3319
  }
3320
3320
  function Oo(e, n, t = {}) {
3321
3321
  const { immediate: o = !0, immediateCallback: r = !1 } = t, a = Pt(!1);
@@ -3358,15 +3358,15 @@ function Le(e) {
3358
3358
  }
3359
3359
  function de(...e) {
3360
3360
  const n = (o, r, a, s) => (o.addEventListener(r, a, s), () => o.removeEventListener(r, a, s)), t = E(() => {
3361
- const o = jn(Q(e[0])).filter((r) => r != null);
3361
+ const o = Gn(Q(e[0])).filter((r) => r != null);
3362
3362
  return o.every((r) => typeof r != "string") ? o : void 0;
3363
3363
  });
3364
3364
  return Ei(() => {
3365
3365
  var o, r;
3366
3366
  return [
3367
3367
  (o = (r = t.value) === null || r === void 0 ? void 0 : r.map((a) => Le(a))) !== null && o !== void 0 ? o : [Zt].filter((a) => a != null),
3368
- jn(Q(t.value ? e[1] : e[0])),
3369
- jn(l(t.value ? e[2] : e[1])),
3368
+ Gn(Q(t.value ? e[1] : e[0])),
3369
+ Gn(l(t.value ? e[2] : e[1])),
3370
3370
  Q(t.value ? e[3] : e[2])
3371
3371
  ];
3372
3372
  }, ([o, r, a, s], i, u) => {
@@ -3532,21 +3532,21 @@ function ya(e, n) {
3532
3532
  const t = xn.get(e);
3533
3533
  t?.owners.delete(n) && t.owners.size === 0 && (xn.delete(e), e.body.style.pointerEvents = t.original);
3534
3534
  }
3535
- function Un(e) {
3535
+ function Yn(e) {
3536
3536
  if (e === null || typeof e != "object")
3537
3537
  return !1;
3538
3538
  const n = Object.getPrototypeOf(e);
3539
3539
  return n !== null && n !== Object.prototype && Object.getPrototypeOf(n) !== null || Symbol.iterator in e ? !1 : Symbol.toStringTag in e ? Object.prototype.toString.call(e) === "[object Module]" : !0;
3540
3540
  }
3541
- function so(e, n, t = ".", o) {
3542
- if (!Un(n))
3543
- return so(e, {}, t, o);
3541
+ function lo(e, n, t = ".", o) {
3542
+ if (!Yn(n))
3543
+ return lo(e, {}, t, o);
3544
3544
  const r = { ...n };
3545
3545
  for (const a of Object.keys(e)) {
3546
3546
  if (a === "__proto__" || a === "constructor")
3547
3547
  continue;
3548
3548
  const s = e[a];
3549
- s != null && (o && o(r, a, s, t) || (Array.isArray(s) && Array.isArray(r[a]) ? r[a] = [...s, ...r[a]] : Un(s) && Un(r[a]) ? r[a] = so(
3549
+ s != null && (o && o(r, a, s, t) || (Array.isArray(s) && Array.isArray(r[a]) ? r[a] = [...s, ...r[a]] : Yn(s) && Yn(r[a]) ? r[a] = lo(
3550
3550
  s,
3551
3551
  r[a],
3552
3552
  (t ? `${t}.` : "") + a.toString(),
@@ -3558,7 +3558,7 @@ function so(e, n, t = ".", o) {
3558
3558
  function Ii(e) {
3559
3559
  return (...n) => (
3560
3560
  // eslint-disable-next-line unicorn/no-array-reduce
3561
- n.reduce((t, o) => so(t, o, "", e), {})
3561
+ n.reduce((t, o) => lo(t, o, "", e), {})
3562
3562
  );
3563
3563
  }
3564
3564
  const ha = Ii(), ir = /* @__PURE__ */ Symbol("useBodyScrollLock"), Bi = /* @__PURE__ */ ca(() => {
@@ -3628,13 +3628,13 @@ function $t(e) {
3628
3628
  o[us(Wr(r))] = (...a) => e(r, ...a);
3629
3629
  }), o;
3630
3630
  }
3631
- let Gn = 0;
3631
+ let Xn = 0;
3632
3632
  function Io() {
3633
3633
  Re((e) => {
3634
3634
  if (!Te) return;
3635
3635
  const n = document.querySelectorAll("[data-reka-focus-guard]");
3636
- document.body.insertAdjacentElement("afterbegin", n[0] ?? lr()), document.body.insertAdjacentElement("beforeend", n[1] ?? lr()), Gn++, e(() => {
3637
- Gn === 1 && document.querySelectorAll("[data-reka-focus-guard]").forEach((t) => t.remove()), Gn--;
3636
+ document.body.insertAdjacentElement("afterbegin", n[0] ?? lr()), document.body.insertAdjacentElement("beforeend", n[1] ?? lr()), Xn++, e(() => {
3637
+ Xn === 1 && document.querySelectorAll("[data-reka-focus-guard]").forEach((t) => t.remove()), Xn--;
3638
3638
  });
3639
3639
  });
3640
3640
  }
@@ -3878,7 +3878,7 @@ var Wi = function(e) {
3878
3878
  return null;
3879
3879
  var n = Array.isArray(e) ? e[0] : e;
3880
3880
  return n.ownerDocument.body;
3881
- }, It = /* @__PURE__ */ new WeakMap(), pn = /* @__PURE__ */ new WeakMap(), vn = {}, Yn = 0, _a = function(e) {
3881
+ }, It = /* @__PURE__ */ new WeakMap(), pn = /* @__PURE__ */ new WeakMap(), vn = {}, Jn = 0, _a = function(e) {
3882
3882
  return e && (e.host || _a(e.parentNode));
3883
3883
  }, Ki = function(e, n) {
3884
3884
  return n.map(function(t) {
@@ -3909,11 +3909,11 @@ var Wi = function(e) {
3909
3909
  }
3910
3910
  });
3911
3911
  };
3912
- return c(n), i.clear(), Yn++, function() {
3912
+ return c(n), i.clear(), Jn++, function() {
3913
3913
  s.forEach(function(f) {
3914
3914
  var p = It.get(f) - 1, v = a.get(f) - 1;
3915
3915
  It.set(f, p), a.set(f, v), p || (pn.has(f) || f.removeAttribute(o), pn.delete(f)), v || f.removeAttribute(t);
3916
- }), Yn--, Yn || (It = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), pn = /* @__PURE__ */ new WeakMap(), vn = {});
3916
+ }), Jn--, Jn || (It = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), pn = /* @__PURE__ */ new WeakMap(), vn = {});
3917
3917
  };
3918
3918
  }, Ui = function(e, n, t) {
3919
3919
  t === void 0 && (t = "data-aria-hidden");
@@ -4099,7 +4099,7 @@ var Ue = /* @__PURE__ */ I({
4099
4099
  } }) : null;
4100
4100
  }
4101
4101
  });
4102
- const io = /* @__PURE__ */ I({
4102
+ const uo = /* @__PURE__ */ I({
4103
4103
  name: "PrimitiveSlot",
4104
4104
  inheritAttrs: !1,
4105
4105
  setup(e, { attrs: n, slots: t }) {
@@ -4135,10 +4135,10 @@ const io = /* @__PURE__ */ I({
4135
4135
  },
4136
4136
  setup(e, { attrs: n, slots: t }) {
4137
4137
  const o = e.asChild ? "template" : e.as;
4138
- return typeof o == "string" && Qi.includes(o) ? () => Bt(o, n) : o !== "template" ? () => Bt(e.as, n, { default: t.default }) : () => Bt(io, n, { default: t.default });
4138
+ return typeof o == "string" && Qi.includes(o) ? () => Bt(o, n) : o !== "template" ? () => Bt(e.as, n, { default: t.default }) : () => Bt(uo, n, { default: t.default });
4139
4139
  }
4140
4140
  });
4141
- function lo() {
4141
+ function co() {
4142
4142
  const e = k(), n = E(() => ["#text", "#comment"].includes(e.value?.$el.nodeName) ? e.value?.$el.nextElementSibling : Le(e));
4143
4143
  return {
4144
4144
  primitiveElement: e,
@@ -4418,7 +4418,7 @@ function ur(e, n) {
4418
4418
  const t = [...e], o = t.indexOf(n);
4419
4419
  return o !== -1 && t.splice(o, 1), t;
4420
4420
  }
4421
- const Xn = "focusScope.autoFocusOnMount", Jn = "focusScope.autoFocusOnUnmount", dr = {
4421
+ const Zn = "focusScope.autoFocusOnMount", Qn = "focusScope.autoFocusOnUnmount", dr = {
4422
4422
  bubbles: !1,
4423
4423
  cancelable: !0
4424
4424
  };
@@ -4543,8 +4543,8 @@ var bl = /* @__PURE__ */ I({
4543
4543
  });
4544
4544
  });
4545
4545
  function d(f, p) {
4546
- const v = new CustomEvent(Xn, dr), m = (y) => o("mountAutoFocus", y);
4547
- f.addEventListener(Xn, m), f.dispatchEvent(v), f.removeEventListener(Xn, m), v.defaultPrevented || (bn(Ro(f), { select: !0 }), le() === p && Ze(f));
4546
+ const v = new CustomEvent(Zn, dr), m = (y) => o("mountAutoFocus", y);
4547
+ f.addEventListener(Zn, m), f.dispatchEvent(v), f.removeEventListener(Zn, m), v.defaultPrevented || (bn(Ro(f), { select: !0 }), le() === p && Ze(f));
4548
4548
  }
4549
4549
  Re(async (f) => {
4550
4550
  const p = a.value;
@@ -4552,11 +4552,11 @@ var bl = /* @__PURE__ */ I({
4552
4552
  t.present !== !1 && i.add(u);
4553
4553
  const v = le();
4554
4554
  !p.contains(v) && t.present !== !1 && d(p, v), f(() => {
4555
- const y = new CustomEvent(Jn, dr), w = (g) => {
4555
+ const y = new CustomEvent(Qn, dr), w = (g) => {
4556
4556
  o("unmountAutoFocus", g);
4557
4557
  };
4558
- p.addEventListener(Jn, w), p.dispatchEvent(y), p.setAttribute("data-focus-scope-unmounting", ""), setTimeout(() => {
4559
- y.defaultPrevented || Ze(v ?? document.body, { select: !0 }), p.removeEventListener(Jn, w), i.remove(u), p.removeAttribute("data-focus-scope-unmounting");
4558
+ p.addEventListener(Qn, w), p.dispatchEvent(y), p.setAttribute("data-focus-scope-unmounting", ""), setTimeout(() => {
4559
+ y.defaultPrevented || Ze(v ?? document.body, { select: !0 }), p.removeEventListener(Qn, w), i.remove(u), p.removeAttribute("data-focus-scope-unmounting");
4560
4560
  }, 0);
4561
4561
  });
4562
4562
  }), G(() => t.present, async (f, p) => {
@@ -4593,7 +4593,7 @@ var bl = /* @__PURE__ */ I({
4593
4593
  }, 8, ["as-child", "as"]));
4594
4594
  }
4595
4595
  }), rn = bl;
4596
- const wl = "menu.itemSelect", uo = ["Enter", " "], _l = [
4596
+ const wl = "menu.itemSelect", fo = ["Enter", " "], _l = [
4597
4597
  "ArrowDown",
4598
4598
  "PageUp",
4599
4599
  "Home"
@@ -4602,7 +4602,7 @@ const wl = "menu.itemSelect", uo = ["Enter", " "], _l = [
4602
4602
  "PageDown",
4603
4603
  "End"
4604
4604
  ], xl = [..._l, ...Sa];
4605
- [...uo], [...uo];
4605
+ [...fo], [...fo];
4606
4606
  function qa(e) {
4607
4607
  return e ? "open" : "closed";
4608
4608
  }
@@ -4610,7 +4610,7 @@ function Cl(e) {
4610
4610
  const { onEntryFocus: n, onEntryFocusOnce: t, ...o } = e;
4611
4611
  return o;
4612
4612
  }
4613
- function co(e) {
4613
+ function po(e) {
4614
4614
  const n = le();
4615
4615
  for (const t of e)
4616
4616
  if (t === n || (t.focus(), le() !== n)) return;
@@ -4920,7 +4920,7 @@ var Ol = /* @__PURE__ */ I({
4920
4920
  }), {
4921
4921
  default: _(() => [R(u.$slots, "default")]),
4922
4922
  _: 3
4923
- }, 16, ["present"])), [[ro, e.forceMount || l(r).unmountOnHide.value || c]]) : wn((q(), O(Il, K({
4923
+ }, 16, ["present"])), [[so, e.forceMount || l(r).unmountOnHide.value || c]]) : wn((q(), O(Il, K({
4924
4924
  key: 1,
4925
4925
  ref: l(s),
4926
4926
  present: i.value ? c : !0
@@ -4931,7 +4931,7 @@ var Ol = /* @__PURE__ */ I({
4931
4931
  }), {
4932
4932
  default: _(() => [R(u.$slots, "default")]),
4933
4933
  _: 3
4934
- }, 16, ["present"])), [[ro, e.forceMount || l(r).unmountOnHide.value || c]])]),
4934
+ }, 16, ["present"])), [[so, e.forceMount || l(r).unmountOnHide.value || c]])]),
4935
4935
  _: 3
4936
4936
  }, 8, ["present", "force-mount"]));
4937
4937
  }
@@ -5031,7 +5031,7 @@ var Ol = /* @__PURE__ */ I({
5031
5031
  "as",
5032
5032
  "as-child",
5033
5033
  "present"
5034
- ]), [[ro, e.forceMount || l(t).unmountOnHide.value || i]])]),
5034
+ ]), [[so, e.forceMount || l(t).unmountOnHide.value || i]])]),
5035
5035
  _: 3
5036
5036
  }, 8, ["present", "force-mount"])) : he("v-if", !0);
5037
5037
  }
@@ -5057,7 +5057,7 @@ var Ol = /* @__PURE__ */ I({
5057
5057
  },
5058
5058
  setup(e) {
5059
5059
  const n = e, t = Qt({}), o = E(() => n.to ?? t.teleportTo?.value ?? "body"), r = /* @__PURE__ */ va();
5060
- return (a, s) => l(r) || e.forceMount ? (q(), O(xo, {
5060
+ return (a, s) => l(r) || e.forceMount ? (q(), O(So, {
5061
5061
  key: 0,
5062
5062
  to: o.value,
5063
5063
  disabled: e.disabled,
@@ -5176,10 +5176,10 @@ function Ge(e = {}) {
5176
5176
  name: "CollectionSlot",
5177
5177
  inheritAttrs: !1,
5178
5178
  setup(f, { slots: p, attrs: v }) {
5179
- const { primitiveElement: m, currentElement: y } = lo();
5179
+ const { primitiveElement: m, currentElement: y } = co();
5180
5180
  return G(y, () => {
5181
5181
  r.collectionRef.value = y.value;
5182
- }), () => Bt(io, {
5182
+ }), () => Bt(uo, {
5183
5183
  ref: m,
5184
5184
  ...v
5185
5185
  }, p);
@@ -5189,7 +5189,7 @@ function Ge(e = {}) {
5189
5189
  inheritAttrs: !1,
5190
5190
  props: { value: { validator: () => !0 } },
5191
5191
  setup(f, { slots: p, attrs: v }) {
5192
- const { primitiveElement: m, currentElement: y } = lo();
5192
+ const { primitiveElement: m, currentElement: y } = co();
5193
5193
  return Re((w) => {
5194
5194
  if (y.value) {
5195
5195
  const g = vs(y.value);
@@ -5198,7 +5198,7 @@ function Ge(e = {}) {
5198
5198
  value: f.value
5199
5199
  }), w(() => r.itemMap.value.delete(g));
5200
5200
  }
5201
- }), () => Bt(io, {
5201
+ }), () => Bt(uo, {
5202
5202
  ...v,
5203
5203
  [pr]: "",
5204
5204
  ref: m
@@ -5297,7 +5297,7 @@ var Gl = /* @__PURE__ */ I({
5297
5297
  }
5298
5298
  },
5299
5299
  setup(e) {
5300
- const n = e, { primitiveElement: t, currentElement: o } = lo(), r = E(() => n.checked ?? n.value);
5300
+ const n = e, { primitiveElement: t, currentElement: o } = co(), r = E(() => n.checked ?? n.value);
5301
5301
  return G(r, (a, s) => {
5302
5302
  if (!o.value) return;
5303
5303
  const i = o.value, u = window.HTMLInputElement.prototype, c = Object.getOwnPropertyDescriptor(u, "value").set;
@@ -5413,7 +5413,7 @@ var au = /* @__PURE__ */ I({
5413
5413
  onAnchorChange: (t) => n.value = t
5414
5414
  }), (t, o) => R(t.$slots, "default");
5415
5415
  }
5416
- }), An = au, su = /* @__PURE__ */ I({
5416
+ }), Tn = au, su = /* @__PURE__ */ I({
5417
5417
  __name: "PopperAnchor",
5418
5418
  props: {
5419
5419
  reference: {
@@ -5442,7 +5442,7 @@ var au = /* @__PURE__ */ I({
5442
5442
  _: 3
5443
5443
  }, 8, ["as", "as-child"]));
5444
5444
  }
5445
- }), On = su;
5445
+ }), Dn = su;
5446
5446
  const iu = {
5447
5447
  key: 0,
5448
5448
  d: "M0 0L6 6L12 0"
@@ -5503,7 +5503,7 @@ function fu(e) {
5503
5503
  name: "transformOrigin",
5504
5504
  options: e,
5505
5505
  fn(n) {
5506
- const { placement: t, rects: o, middlewareData: r } = n, s = r.arrow?.centerOffset !== 0, i = s ? 0 : e.arrowWidth, u = s ? 0 : e.arrowHeight, [d, c] = fo(t), f = {
5506
+ const { placement: t, rects: o, middlewareData: r } = n, s = r.arrow?.centerOffset !== 0, i = s ? 0 : e.arrowWidth, u = s ? 0 : e.arrowHeight, [d, c] = vo(t), f = {
5507
5507
  start: e.dir === "rtl" ? "100%" : "0%",
5508
5508
  center: "50%",
5509
5509
  end: e.dir === "rtl" ? "0%" : "100%"
@@ -5520,7 +5520,7 @@ function fu(e) {
5520
5520
  }
5521
5521
  };
5522
5522
  }
5523
- function fo(e) {
5523
+ function vo(e) {
5524
5524
  const [n, t = "center"] = e.split("-");
5525
5525
  return [n, t];
5526
5526
  }
@@ -5566,9 +5566,9 @@ function mu(e, n, t) {
5566
5566
  }
5567
5567
  function gu(e) {
5568
5568
  const n = qn(e);
5569
- return [po(e), n, po(n)];
5569
+ return [mo(e), n, mo(n)];
5570
5570
  }
5571
- function po(e) {
5571
+ function mo(e) {
5572
5572
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
5573
5573
  }
5574
5574
  const mr = ["left", "right"], gr = ["right", "left"], yu = ["top", "bottom"], hu = ["bottom", "top"];
@@ -5587,7 +5587,7 @@ function bu(e, n, t) {
5587
5587
  function wu(e, n, t, o) {
5588
5588
  const r = Vt(e);
5589
5589
  let a = bu(gt(e), t === "start", o);
5590
- return r && (a = a.map((s) => s + "-" + r), n && (a = a.concat(a.map(po)))), a;
5590
+ return r && (a = a.map((s) => s + "-" + r), n && (a = a.concat(a.map(mo)))), a;
5591
5591
  }
5592
5592
  function qn(e) {
5593
5593
  const n = gt(e);
@@ -6126,7 +6126,7 @@ const Ou = function(e) {
6126
6126
  }
6127
6127
  };
6128
6128
  };
6129
- function Tn() {
6129
+ function kn() {
6130
6130
  return typeof window < "u";
6131
6131
  }
6132
6132
  function Tt(e) {
@@ -6141,18 +6141,18 @@ function dt(e) {
6141
6141
  return (n = (No(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
6142
6142
  }
6143
6143
  function No(e) {
6144
- return Tn() ? e instanceof Node || e instanceof Oe(e).Node : !1;
6144
+ return kn() ? e instanceof Node || e instanceof Oe(e).Node : !1;
6145
6145
  }
6146
6146
  function et(e) {
6147
- return Tn() ? e instanceof Element || e instanceof Oe(e).Element : !1;
6147
+ return kn() ? e instanceof Element || e instanceof Oe(e).Element : !1;
6148
6148
  }
6149
6149
  function bt(e) {
6150
- return Tn() ? e instanceof HTMLElement || e instanceof Oe(e).HTMLElement : !1;
6150
+ return kn() ? e instanceof HTMLElement || e instanceof Oe(e).HTMLElement : !1;
6151
6151
  }
6152
6152
  function wr(e) {
6153
- return !Tn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Oe(e).ShadowRoot;
6153
+ return !kn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Oe(e).ShadowRoot;
6154
6154
  }
6155
- function Dn(e) {
6155
+ function In(e) {
6156
6156
  const {
6157
6157
  overflow: n,
6158
6158
  overflowX: t,
@@ -6164,7 +6164,7 @@ function Dn(e) {
6164
6164
  function Iu(e) {
6165
6165
  return /^(table|td|th)$/.test(Tt(e));
6166
6166
  }
6167
- function kn(e) {
6167
+ function Bn(e) {
6168
6168
  try {
6169
6169
  if (e.matches(":popover-open"))
6170
6170
  return !0;
@@ -6177,7 +6177,7 @@ function kn(e) {
6177
6177
  }
6178
6178
  }
6179
6179
  const Bu = /transform|translate|scale|rotate|perspective|filter/, Ru = /paint|layout|strict|content/, xt = (e) => !!e && e !== "none";
6180
- let Zn;
6180
+ let eo;
6181
6181
  function Lo(e) {
6182
6182
  const n = et(e) ? tt(e) : e;
6183
6183
  return xt(n.transform) || xt(n.translate) || xt(n.scale) || xt(n.rotate) || xt(n.perspective) || !Vo() && (xt(n.backdropFilter) || xt(n.filter)) || Bu.test(n.willChange || "") || Ru.test(n.contain || "");
@@ -6187,14 +6187,14 @@ function Mu(e) {
6187
6187
  for (; bt(n) && !Ut(n); ) {
6188
6188
  if (Lo(n))
6189
6189
  return n;
6190
- if (kn(n))
6190
+ if (Bn(n))
6191
6191
  return null;
6192
6192
  n = St(n);
6193
6193
  }
6194
6194
  return null;
6195
6195
  }
6196
6196
  function Vo() {
6197
- return Zn == null && (Zn = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Zn;
6197
+ return eo == null && (eo = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), eo;
6198
6198
  }
6199
6199
  function Ut(e) {
6200
6200
  return /^(html|body|#document)$/.test(Tt(e));
@@ -6202,7 +6202,7 @@ function Ut(e) {
6202
6202
  function tt(e) {
6203
6203
  return Oe(e).getComputedStyle(e);
6204
6204
  }
6205
- function In(e) {
6205
+ function Rn(e) {
6206
6206
  return et(e) ? {
6207
6207
  scrollLeft: e.scrollLeft,
6208
6208
  scrollTop: e.scrollTop
@@ -6225,19 +6225,19 @@ function St(e) {
6225
6225
  }
6226
6226
  function ka(e) {
6227
6227
  const n = St(e);
6228
- return Ut(n) ? (e.ownerDocument || e).body : bt(n) && Dn(n) ? n : ka(n);
6228
+ return Ut(n) ? (e.ownerDocument || e).body : bt(n) && In(n) ? n : ka(n);
6229
6229
  }
6230
6230
  function Gt(e, n, t) {
6231
6231
  var o;
6232
6232
  n === void 0 && (n = []), t === void 0 && (t = !0);
6233
6233
  const r = ka(e), a = r === ((o = e.ownerDocument) == null ? void 0 : o.body), s = Oe(r);
6234
6234
  if (a) {
6235
- const i = vo(s);
6236
- return n.concat(s, s.visualViewport || [], Dn(r) ? r : [], i && t ? Gt(i) : []);
6235
+ const i = go(s);
6236
+ return n.concat(s, s.visualViewport || [], In(r) ? r : [], i && t ? Gt(i) : []);
6237
6237
  } else
6238
6238
  return n.concat(r, Gt(r, [], t));
6239
6239
  }
6240
- function vo(e) {
6240
+ function go(e) {
6241
6241
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
6242
6242
  }
6243
6243
  function Ia(e) {
@@ -6288,10 +6288,10 @@ function qt(e, n, t, o) {
6288
6288
  let u = (r.left + i.x) / s.x, d = (r.top + i.y) / s.y, c = r.width / s.x, f = r.height / s.y;
6289
6289
  if (a && o) {
6290
6290
  const p = Oe(a), v = et(o) ? Oe(o) : o;
6291
- let m = p, y = vo(m);
6291
+ let m = p, y = go(m);
6292
6292
  for (; y && v !== m; ) {
6293
6293
  const w = Mt(y), g = y.getBoundingClientRect(), b = tt(y), S = g.left + (y.clientLeft + parseFloat(b.paddingLeft)) * w.x, x = g.top + (y.clientTop + parseFloat(b.paddingTop)) * w.y;
6294
- u *= w.x, d *= w.y, c *= w.x, f *= w.y, u += S, d += x, m = Oe(y), y = vo(m);
6294
+ u *= w.x, d *= w.y, c *= w.x, f *= w.y, u += S, d += x, m = Oe(y), y = go(m);
6295
6295
  }
6296
6296
  }
6297
6297
  return Pn({
@@ -6301,12 +6301,12 @@ function qt(e, n, t, o) {
6301
6301
  y: d
6302
6302
  });
6303
6303
  }
6304
- function Bn(e, n) {
6305
- const t = In(e).scrollLeft;
6304
+ function Mn(e, n) {
6305
+ const t = Rn(e).scrollLeft;
6306
6306
  return n ? n.left + t : qt(dt(e)).left + t;
6307
6307
  }
6308
6308
  function Ra(e, n) {
6309
- const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Bn(e, t), r = t.top + n.scrollTop;
6309
+ const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Mn(e, t), r = t.top + n.scrollTop;
6310
6310
  return {
6311
6311
  x: o,
6312
6312
  y: r
@@ -6319,7 +6319,7 @@ function Nu(e) {
6319
6319
  offsetParent: o,
6320
6320
  strategy: r
6321
6321
  } = e;
6322
- const a = r === "fixed", s = dt(o), i = n ? kn(n.floating) : !1;
6322
+ const a = r === "fixed", s = dt(o), i = n ? Bn(n.floating) : !1;
6323
6323
  if (o === s || i && a)
6324
6324
  return t;
6325
6325
  let u = {
@@ -6327,7 +6327,7 @@ function Nu(e) {
6327
6327
  scrollTop: 0
6328
6328
  }, d = it(1);
6329
6329
  const c = it(0), f = bt(o);
6330
- if ((f || !a) && ((Tt(o) !== "body" || Dn(s)) && (u = In(o)), f)) {
6330
+ if ((f || !a) && ((Tt(o) !== "body" || In(s)) && (u = Rn(o)), f)) {
6331
6331
  const v = qt(o);
6332
6332
  d = Mt(o), c.x = v.x + o.clientLeft, c.y = v.y + o.clientTop;
6333
6333
  }
@@ -6343,8 +6343,8 @@ function Lu(e) {
6343
6343
  return e.getClientRects ? Array.from(e.getClientRects()) : [];
6344
6344
  }
6345
6345
  function Vu(e) {
6346
- const n = In(e), t = e.ownerDocument.body, o = st(e.scrollWidth, e.clientWidth, t.scrollWidth, t.clientWidth), r = st(e.scrollHeight, e.clientHeight, t.scrollHeight, t.clientHeight);
6347
- let a = -n.scrollLeft + Bn(e);
6346
+ const n = Rn(e), t = e.ownerDocument.body, o = st(e.scrollWidth, e.clientWidth, t.scrollWidth, t.clientWidth), r = st(e.scrollHeight, e.clientHeight, t.scrollHeight, t.clientHeight);
6347
+ let a = -n.scrollLeft + Mn(e);
6348
6348
  const s = -n.scrollTop;
6349
6349
  return tt(t).direction === "rtl" && (a += st(e.clientWidth, t.clientWidth) - o), {
6350
6350
  width: o,
@@ -6362,7 +6362,7 @@ function Hu(e, n, t) {
6362
6362
  const p = !Vo() || n === "fixed";
6363
6363
  o ? p || (d = -s.offsetLeft, c = -s.offsetTop) : (i = s.width, u = s.height, p && (d = s.offsetLeft, c = s.offsetTop));
6364
6364
  }
6365
- if (Bn(a) <= 0) {
6365
+ if (Mn(a) <= 0) {
6366
6366
  const p = a.ownerDocument, v = p.body, m = getComputedStyle(v), y = p.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, w = Math.abs(a.clientWidth - v.clientWidth - y), g = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? w / 2 : w;
6367
6367
  g <= zu && (i -= g);
6368
6368
  }
@@ -6421,7 +6421,7 @@ function ju(e) {
6421
6421
  rootBoundary: o,
6422
6422
  strategy: r
6423
6423
  } = e;
6424
- const s = [...t === "clippingAncestors" ? kn(n) ? [] : Ku(n, this._c) : [].concat(t), o], i = _r(n, s[0], r);
6424
+ const s = [...t === "clippingAncestors" ? Bn(n) ? [] : Ku(n, this._c) : [].concat(t), o], i = _r(n, s[0], r);
6425
6425
  let u = i.top, d = i.right, c = i.bottom, f = i.left;
6426
6426
  for (let p = 1; p < s.length; p++) {
6427
6427
  const v = _r(n, s[p], r);
@@ -6451,11 +6451,11 @@ function Gu(e, n, t) {
6451
6451
  scrollTop: 0
6452
6452
  };
6453
6453
  const u = it(0);
6454
- if ((o || !a) && ((Tt(n) !== "body" || Dn(r)) && (i = In(n)), o)) {
6454
+ if ((o || !a) && ((Tt(n) !== "body" || In(r)) && (i = Rn(n)), o)) {
6455
6455
  const p = qt(n, !0, a, n);
6456
6456
  u.x = p.x + n.clientLeft, u.y = p.y + n.clientTop;
6457
6457
  }
6458
- !o && r && (u.x = Bn(r));
6458
+ !o && r && (u.x = Mn(r));
6459
6459
  const d = r && !o && !a ? Ra(r, i) : it(0), c = s.left + i.scrollLeft - u.x - d.x, f = s.top + i.scrollTop - u.y - d.y;
6460
6460
  return {
6461
6461
  x: c,
@@ -6464,7 +6464,7 @@ function Gu(e, n, t) {
6464
6464
  height: s.height
6465
6465
  };
6466
6466
  }
6467
- function Qn(e) {
6467
+ function to(e) {
6468
6468
  return tt(e).position === "static";
6469
6469
  }
6470
6470
  function xr(e, n) {
@@ -6477,21 +6477,21 @@ function xr(e, n) {
6477
6477
  }
6478
6478
  function Ma(e, n) {
6479
6479
  const t = Oe(e);
6480
- if (kn(e))
6480
+ if (Bn(e))
6481
6481
  return t;
6482
6482
  if (!bt(e)) {
6483
6483
  let r = St(e);
6484
6484
  for (; r && !Ut(r); ) {
6485
- if (et(r) && !Qn(r))
6485
+ if (et(r) && !to(r))
6486
6486
  return r;
6487
6487
  r = St(r);
6488
6488
  }
6489
6489
  return t;
6490
6490
  }
6491
6491
  let o = xr(e, n);
6492
- for (; o && Iu(o) && Qn(o); )
6492
+ for (; o && Iu(o) && to(o); )
6493
6493
  o = xr(o, n);
6494
- return o && Ut(o) && Qn(o) && !Lo(o) ? t : o || Mu(e) || t;
6494
+ return o && Ut(o) && to(o) && !Lo(o) ? t : o || Mu(e) || t;
6495
6495
  }
6496
6496
  const Yu = async function(e) {
6497
6497
  const n = this.getOffsetParent || Ma, t = this.getDimensions, o = await t(e.floating);
@@ -6622,7 +6622,7 @@ const ed = Ou, td = Tu, Cr = Pu, nd = ku, od = Eu, rd = qu, ad = Du, sd = (e, n,
6622
6622
  function id(e) {
6623
6623
  return e != null && typeof e == "object" && "$el" in e;
6624
6624
  }
6625
- function mo(e) {
6625
+ function yo(e) {
6626
6626
  if (id(e)) {
6627
6627
  const n = e.$el;
6628
6628
  return No(n) && Tt(n) === "#comment" ? null : n;
@@ -6634,7 +6634,7 @@ function ld(e) {
6634
6634
  name: "arrow",
6635
6635
  options: e,
6636
6636
  fn(n) {
6637
- const t = mo(Q(e.element));
6637
+ const t = yo(Q(e.element));
6638
6638
  return t == null ? {} : rd({
6639
6639
  element: t,
6640
6640
  padding: e.padding
@@ -6663,7 +6663,7 @@ function ud(e, n, t) {
6663
6663
  }), u = E(() => {
6664
6664
  var P;
6665
6665
  return (P = Q(t.transform)) != null ? P : !0;
6666
- }), d = E(() => mo(e.value)), c = E(() => mo(n.value)), f = k(0), p = k(0), v = k(i.value), m = k(s.value), y = Pt({}), w = k(!1), g = E(() => {
6666
+ }), d = E(() => yo(e.value)), c = E(() => yo(n.value)), f = k(0), p = k(0), v = k(i.value), m = k(s.value), y = Pt({}), w = k(!1), g = E(() => {
6667
6667
  const P = {
6668
6668
  position: v.value,
6669
6669
  left: "0",
@@ -6719,7 +6719,7 @@ function ud(e, n, t) {
6719
6719
  flush: "sync"
6720
6720
  }), G(r, B, {
6721
6721
  flush: "sync"
6722
- }), zr() && wo(x), {
6722
+ }), zr() && xo(x), {
6723
6723
  x: vt(f),
6724
6724
  y: vt(p),
6725
6725
  strategy: vt(v),
@@ -6903,7 +6903,7 @@ var pd = /* @__PURE__ */ I({
6903
6903
  animationFrame: t.updatePositionStrategy === "always"
6904
6904
  }),
6905
6905
  middleware: g
6906
- }), P = E(() => fo(x.value)[0]), C = E(() => fo(x.value)[1]);
6906
+ }), P = E(() => vo(x.value)[0]), C = E(() => vo(x.value)[1]);
6907
6907
  jr(() => {
6908
6908
  T.value && o("placed");
6909
6909
  });
@@ -6985,7 +6985,7 @@ var pd = /* @__PURE__ */ I({
6985
6985
  "style"
6986
6986
  ]))], 12, dd));
6987
6987
  }
6988
- }), Rn = pd;
6988
+ }), Fn = pd;
6989
6989
  const vd = {
6990
6990
  top: "bottom",
6991
6991
  right: "left",
@@ -7346,8 +7346,8 @@ var Pd = /* @__PURE__ */ I({
7346
7346
  const A = s?.max.value;
7347
7347
  if (Rt(A)) return !1;
7348
7348
  const $ = s.modelValue.value ?? [];
7349
- return !Kn($, t.value) && $.length >= A;
7350
- }), c = E(() => !!(s?.disabled.value || t.disabled || i?.disabled.value)), f = E(() => c.value || d.value), p = E(() => !!i && !s), v = E(() => t.id ?? (p.value ? i?.fieldId.value : void 0)), m = E(() => t.name ?? i?.name.value), y = E(() => i ? t.required || i.required.value : t.required), w = E(() => jt(u.value, t.trueValue)), g = E(() => Rt(s?.modelValue.value) ? u.value === "indeterminate" ? "indeterminate" : w.value : Kn(s.modelValue.value, t.value));
7349
+ return !Un($, t.value) && $.length >= A;
7350
+ }), c = E(() => !!(s?.disabled.value || t.disabled || i?.disabled.value)), f = E(() => c.value || d.value), p = E(() => !!i && !s), v = E(() => t.id ?? (p.value ? i?.fieldId.value : void 0)), m = E(() => t.name ?? i?.name.value), y = E(() => i ? t.required || i.required.value : t.required), w = E(() => jt(u.value, t.trueValue)), g = E(() => Rt(s?.modelValue.value) ? u.value === "indeterminate" ? "indeterminate" : w.value : Un(s.modelValue.value, t.value));
7351
7351
  function b() {
7352
7352
  if (f.value) return;
7353
7353
  const A = g.value !== !0;
@@ -7355,7 +7355,7 @@ var Pd = /* @__PURE__ */ I({
7355
7355
  u.value === "indeterminate" ? u.value = t.trueValue : u.value = w.value ? t.falseValue : t.trueValue;
7356
7356
  else {
7357
7357
  const $ = [...s.modelValue.value || []];
7358
- if (Kn($, t.value)) {
7358
+ if (Un($, t.value)) {
7359
7359
  const F = $.findIndex((Y) => jt(Y, t.value));
7360
7360
  $.splice(F, 1);
7361
7361
  } else $.push(t.value);
@@ -7396,7 +7396,7 @@ var Pd = /* @__PURE__ */ I({
7396
7396
  required: () => t.required,
7397
7397
  isFilled: (A) => A === !0
7398
7398
  }));
7399
- }), _o(() => h?.()), qd({
7399
+ }), Co(() => h?.()), qd({
7400
7400
  disabled: c,
7401
7401
  state: g
7402
7402
  }), (A, $) => (q(), ue(We, null, [(q(), O(En(l(s)?.rovingFocus.value ? l(xd) : l(X)), K({
@@ -7517,7 +7517,7 @@ var Pd = /* @__PURE__ */ I({
7517
7517
  },
7518
7518
  setup(e) {
7519
7519
  const n = e;
7520
- return (t, o) => (q(), O(l(On), be(De(n)), {
7520
+ return (t, o) => (q(), O(l(Dn), be(De(n)), {
7521
7521
  default: _(() => [R(t.$slots, "default")]),
7522
7522
  _: 3
7523
7523
  }, 16));
@@ -7539,7 +7539,7 @@ function kd() {
7539
7539
  });
7540
7540
  }), e;
7541
7541
  }
7542
- const Id = /* @__PURE__ */ ca(kd), [Mn, Bd] = /* @__PURE__ */ ae(["MenuRoot", "MenuSub"], "MenuContext"), [Ko, Rd] = /* @__PURE__ */ ae("MenuRoot");
7542
+ const Id = /* @__PURE__ */ ca(kd), [$n, Bd] = /* @__PURE__ */ ae(["MenuRoot", "MenuSub"], "MenuContext"), [Ko, Rd] = /* @__PURE__ */ ae("MenuRoot");
7543
7543
  var Md = /* @__PURE__ */ I({
7544
7544
  __name: "MenuRoot",
7545
7545
  props: {
@@ -7577,7 +7577,7 @@ var Md = /* @__PURE__ */ I({
7577
7577
  isUsingKeyboardRef: d,
7578
7578
  dir: s,
7579
7579
  modal: r
7580
- }), (c, f) => (q(), O(l(An), null, {
7580
+ }), (c, f) => (q(), O(l(Tn), null, {
7581
7581
  default: _(() => [R(c.$slots, "default")]),
7582
7582
  _: 3
7583
7583
  }));
@@ -7699,7 +7699,7 @@ var Nd = /* @__PURE__ */ I({
7699
7699
  "dismiss"
7700
7700
  ],
7701
7701
  setup(e, { emit: n }) {
7702
- const t = e, o = n, r = Mn(), a = Ko(), { trapFocus: s, disableOutsidePointerEvents: i, loop: u } = Se(t);
7702
+ const t = e, o = n, r = $n(), a = Ko(), { trapFocus: s, disableOutsidePointerEvents: i, loop: u } = Se(t);
7703
7703
  Io(), en(i.value);
7704
7704
  const d = k(""), c = k(0), f = k(0), p = k(null), v = k("right"), m = k(0), y = k(null), w = k(), { forwardRef: g, currentElement: b } = j(), { handleTypeaheadSearch: S } = Bo(), x = k();
7705
7705
  function T(M) {
@@ -7747,7 +7747,7 @@ var Nd = /* @__PURE__ */ I({
7747
7747
  if (U && (M.key === "Tab" && a.modal.value && M.preventDefault(), !te && z && !ee && S(M.key, we)), M.target !== b.value || !xl.includes(M.key)) return;
7748
7748
  M.preventDefault();
7749
7749
  const Ae = [...we.map((qe) => qe.ref)];
7750
- Sa.includes(M.key) && Ae.reverse(), co(Ae);
7750
+ Sa.includes(M.key) && Ae.reverse(), po(Ae);
7751
7751
  }
7752
7752
  function $(M) {
7753
7753
  M?.currentTarget?.contains?.(M.target) || (window.clearTimeout(c.value), d.value = "");
@@ -7808,7 +7808,7 @@ var Nd = /* @__PURE__ */ I({
7808
7808
  o("entryFocus", U), l(a).isUsingKeyboardRef.value || U.preventDefault();
7809
7809
  })
7810
7810
  }, {
7811
- default: _(() => [V(l(Rn), {
7811
+ default: _(() => [V(l(Fn), {
7812
7812
  ref: l(g),
7813
7813
  role: "menu",
7814
7814
  as: e.as,
@@ -7982,7 +7982,7 @@ var Nd = /* @__PURE__ */ I({
7982
7982
  }),
7983
7983
  onKeydown: f[2] || (f[2] = async (p) => {
7984
7984
  const v = l(i).searchRef.value !== "";
7985
- e.disabled || v && p.key === " " || l(uo).includes(p.key) && (p.currentTarget?.click(), p.preventDefault());
7985
+ e.disabled || v && p.key === " " || l(fo).includes(p.key) && (p.currentTarget?.click(), p.preventDefault());
7986
7986
  })
7987
7987
  }), {
7988
7988
  default: _(() => [R(c.$slots, "default")]),
@@ -8091,7 +8091,7 @@ var Nd = /* @__PURE__ */ I({
8091
8091
  "closeAutoFocus"
8092
8092
  ],
8093
8093
  setup(e, { emit: n }) {
8094
- const t = e, o = n, r = ut(t, o), a = Mn(), { forwardRef: s, currentElement: i } = j();
8094
+ const t = e, o = n, r = ut(t, o), a = $n(), { forwardRef: s, currentElement: i } = j();
8095
8095
  return on(i), (u, d) => (q(), O(Ha, K(l(r), {
8096
8096
  ref: l(s),
8097
8097
  "trap-focus": l(a).open.value,
@@ -8206,7 +8206,7 @@ var Nd = /* @__PURE__ */ I({
8206
8206
  "closeAutoFocus"
8207
8207
  ],
8208
8208
  setup(e, { emit: n }) {
8209
- const r = ut(e, n), a = Mn();
8209
+ const r = ut(e, n), a = $n();
8210
8210
  return (s, i) => (q(), O(Ha, K(l(r), {
8211
8211
  "trap-focus": !1,
8212
8212
  "disable-outside-pointer-events": !1,
@@ -8323,7 +8323,7 @@ var Nd = /* @__PURE__ */ I({
8323
8323
  "closeAutoFocus"
8324
8324
  ],
8325
8325
  setup(e, { emit: n }) {
8326
- const r = ut(e, n), a = Mn(), s = Ko();
8326
+ const r = ut(e, n), a = $n(), s = Ko();
8327
8327
  return (i, u) => (q(), O(l(Ue), { present: e.forceMount || l(a).open.value }, {
8328
8328
  default: _(() => [l(s).modal.value ? (q(), O(Kd, be(K({ key: 0 }, {
8329
8329
  ...i.$attrs,
@@ -8430,7 +8430,7 @@ var tc = /* @__PURE__ */ I({
8430
8430
  },
8431
8431
  triggerElement: s,
8432
8432
  hasCustomAnchor: i
8433
- }), (u, d) => (q(), O(l(An), null, {
8433
+ }), (u, d) => (q(), O(l(Tn), null, {
8434
8434
  default: _(() => [R(u.$slots, "default", {
8435
8435
  open: l(a),
8436
8436
  close: () => a.value = !1
@@ -8598,7 +8598,7 @@ var tc = /* @__PURE__ */ I({
8598
8598
  onFocusOutside: u[3] || (u[3] = (d) => o("focusOutside", d)),
8599
8599
  onDismiss: u[4] || (u[4] = (d) => l(s).onOpenChange(!1))
8600
8600
  }, {
8601
- default: _(() => [V(l(Rn), K(l(r), {
8601
+ default: _(() => [V(l(Fn), K(l(r), {
8602
8602
  id: l(s).contentId,
8603
8603
  ref: l(a),
8604
8604
  "data-state": l(s).open.value ? "open" : "closed",
@@ -9038,7 +9038,7 @@ var tc = /* @__PURE__ */ I({
9038
9038
  const n = e, t = an(), { forwardRef: o, currentElement: r } = j();
9039
9039
  return t.triggerId ||= Ee(void 0, "reka-popover-trigger"), t.contentId ||= Ee(void 0, "reka-popover-content"), re(() => {
9040
9040
  t.triggerElement.value = r.value;
9041
- }), (a, s) => (q(), O(En(l(t).hasCustomAnchor.value ? l(X) : l(On)), { "as-child": "" }, {
9041
+ }), (a, s) => (q(), O(En(l(t).hasCustomAnchor.value ? l(X) : l(Dn)), { "as-child": "" }, {
9042
9042
  default: _(() => [V(l(X), {
9043
9043
  id: l(t).triggerId,
9044
9044
  ref: l(o),
@@ -9105,8 +9105,8 @@ function Ct(e, n, t) {
9105
9105
  return 0;
9106
9106
  }
9107
9107
  }
9108
- const qr = 0.2, hc = 4, eo = 80, Pr = 360, to = 0.1, Er = 1;
9109
- function no(e, n, t) {
9108
+ const qr = 0.2, hc = 4, no = 80, Pr = 360, oo = 0.1, Er = 1;
9109
+ function ro(e, n, t) {
9110
9110
  return Math.max(n, Math.min(t, e));
9111
9111
  }
9112
9112
  function bc(e) {
@@ -9118,9 +9118,9 @@ function bc(e) {
9118
9118
  if (!Number.isFinite(d) || d <= 0) return null;
9119
9119
  const c = n === "left" || n === "up" ? -a : a;
9120
9120
  if (!Number.isFinite(c) || c <= qr) return null;
9121
- const f = no(c, qr, hc), p = no(d / f, eo, Pr);
9121
+ const f = ro(c, qr, hc), p = ro(d / f, no, Pr);
9122
9122
  if (!Number.isFinite(p)) return null;
9123
- const v = (p - eo) / (Pr - eo), m = no(to + v * (Er - to), to, Er);
9123
+ const v = (p - no) / (Pr - no), m = ro(oo + v * (Er - oo), oo, Er);
9124
9124
  return !Number.isFinite(m) || m <= 0 ? null : m;
9125
9125
  }
9126
9126
  const wc = /matrix(?:3d)?\(([^)]+)\)/;
@@ -9427,10 +9427,10 @@ const Dr = 40, kc = 10, Ic = 1, kr = 6, Bc = 2, Rc = 16, Mc = 80, Ir = 'button,a
9427
9427
  function Fc(e) {
9428
9428
  return e.tagName === "INPUT" && e.type === "range";
9429
9429
  }
9430
- function go(e, n) {
9430
+ function ho(e, n) {
9431
9431
  if (!e || e === document.body) return null;
9432
9432
  const t = window.getComputedStyle(e), o = n === "vertical" ? t.overflowY : t.overflowX;
9433
- return (o === "auto" || o === "scroll") && (n === "vertical" ? e.scrollHeight > e.clientHeight : e.scrollWidth > e.clientWidth) ? e : go(e.parentElement, n);
9433
+ return (o === "auto" || o === "scroll") && (n === "vertical" ? e.scrollHeight > e.clientHeight : e.scrollWidth > e.clientWidth) ? e : ho(e.parentElement, n);
9434
9434
  }
9435
9435
  function $c(e, n, t, o) {
9436
9436
  const r = Math.abs(n), a = Math.abs(t);
@@ -9531,8 +9531,8 @@ function Nc(e) {
9531
9531
  const pe = J.x - P.x, Be = J.y - P.y;
9532
9532
  if (A) {
9533
9533
  A = !1;
9534
- const rt = Math.abs(pe), Vn = Math.abs(Be);
9535
- v.value && m.value ? Ae = rt > Vn ? "horizontal" : "vertical" : v.value ? Ae = "vertical" : Ae = "horizontal";
9534
+ const rt = Math.abs(pe), Hn = Math.abs(Be);
9535
+ v.value && m.value ? Ae = rt > Hn ? "horizontal" : "vertical" : v.value ? Ae = "vertical" : Ae = "horizontal";
9536
9536
  }
9537
9537
  const ve = Ae === "vertical" ? 0 : pe, ie = Ae === "horizontal" ? 0 : Be, Ne = Q(t).find((rt) => Ct(rt, ve, ie) > 0);
9538
9538
  if ($ && F) {
@@ -9556,8 +9556,8 @@ function Nc(e) {
9556
9556
  }, ne);
9557
9557
  const un = n.value, Ht = ft ?? Q(t)[0];
9558
9558
  if (un && Ht) {
9559
- const rt = Ht === "up" || Ht === "down" ? te.height || un.offsetHeight : te.width || un.offsetWidth, Vn = ge(un, Ht), zn = Math.min(1, Math.max(0, Ct(Ht, ve, ie) / (rt + Vn)));
9560
- zn !== z && (z = zn, u?.(zn, {
9559
+ const rt = Ht === "up" || Ht === "down" ? te.height || un.offsetHeight : te.width || un.offsetWidth, Hn = ge(un, Ht), Wn = Math.min(1, Math.max(0, Ct(Ht, ve, ie) / (rt + Hn)));
9560
+ Wn !== z && (z = Wn, u?.(Wn, {
9561
9561
  deltaX: ot.x,
9562
9562
  deltaY: ot.y,
9563
9563
  direction: ft
@@ -9633,12 +9633,12 @@ function Nc(e) {
9633
9633
  const ne = n.value;
9634
9634
  if (!ne) return;
9635
9635
  if (L = null, U = !1, ee = !1, !e.ignoreScrollableAncestors) {
9636
- const Be = v.value ? "vertical" : "horizontal", ve = go(J, Be);
9636
+ const Be = v.value ? "vertical" : "horizontal", ve = ho(J, Be);
9637
9637
  ve && (Y = !0, M = ve);
9638
9638
  }
9639
9639
  if (S.value) {
9640
9640
  const Be = S.value === "vertical" ? "horizontal" : "vertical";
9641
- L = go(J, Be);
9641
+ L = ho(J, Be);
9642
9642
  }
9643
9643
  const pe = N.touches[0];
9644
9644
  pe && Ye(ne, {
@@ -10561,9 +10561,9 @@ const vf = [
10561
10561
  "ArrowDown"
10562
10562
  ], mf = [" ", "Enter"], ze = 10;
10563
10563
  function Yt(e, n, t) {
10564
- return e === void 0 ? !1 : Array.isArray(e) ? e.some((o) => yo(o, n, t)) : yo(e, n, t);
10564
+ return e === void 0 ? !1 : Array.isArray(e) ? e.some((o) => bo(o, n, t)) : bo(e, n, t);
10565
10565
  }
10566
- function yo(e, n, t) {
10566
+ function bo(e, n, t) {
10567
10567
  return e === void 0 || n === void 0 ? !1 : typeof e == "string" ? e === n : typeof t == "function" ? t(e, n) : typeof t == "string" ? e?.[t] === n?.[t] : jt(e, n);
10568
10568
  }
10569
10569
  function gf(e) {
@@ -10646,7 +10646,7 @@ var hf = /* @__PURE__ */ I({
10646
10646
  function x(B) {
10647
10647
  let P;
10648
10648
  if (r.value) {
10649
- const C = Array.isArray(c.value) ? [...c.value] : [], D = C.findIndex((h) => yo(h, B, t.by));
10649
+ const C = Array.isArray(c.value) ? [...c.value] : [], D = C.findIndex((h) => bo(h, B, t.by));
10650
10650
  D === -1 ? C.push(B) : C.splice(D, 1), P = [...C];
10651
10651
  } else P = B;
10652
10652
  c.value = P, s?.handleControlInput({ value: P });
@@ -10686,7 +10686,7 @@ var hf = /* @__PURE__ */ I({
10686
10686
  const P = T(B.value);
10687
10687
  P && b.value.delete(P);
10688
10688
  }
10689
- }), (B, P) => (q(), O(l(An), null, {
10689
+ }), (B, P) => (q(), O(l(Tn), null, {
10690
10690
  default: _(() => [R(B.$slots, "default", {
10691
10691
  modelValue: l(c),
10692
10692
  open: l(f)
@@ -10873,7 +10873,7 @@ var hf = /* @__PURE__ */ I({
10873
10873
  },
10874
10874
  setup(e) {
10875
10875
  const t = nn(e);
10876
- return (o, r) => (q(), O(l(Rn), K(l(t), { style: {
10876
+ return (o, r) => (q(), O(l(Fn), K(l(t), { style: {
10877
10877
  boxSizing: "border-box",
10878
10878
  "--reka-select-content-transform-origin": "var(--reka-popper-transform-origin)",
10879
10879
  "--reka-select-content-available-width": "var(--reka-popper-available-width)",
@@ -10893,7 +10893,7 @@ const Sf = {
10893
10893
  },
10894
10894
  itemRefCallback: () => {
10895
10895
  }
10896
- }, [Fn, Ua] = /* @__PURE__ */ ae("SelectContent");
10896
+ }, [Nn, Ua] = /* @__PURE__ */ ae("SelectContent");
10897
10897
  var qf = /* @__PURE__ */ I({
10898
10898
  __name: "SelectContentImpl",
10899
10899
  props: {
@@ -11018,7 +11018,7 @@ var qf = /* @__PURE__ */ I({
11018
11018
  on(i);
11019
11019
  const { search: u, handleTypeaheadSearch: d } = Bo(), c = k(), f = k(), p = k(), v = k(!1), m = k(!1), y = k(!1);
11020
11020
  function w() {
11021
- f.value && i.value && co([f.value, i.value]);
11021
+ f.value && i.value && po([f.value, i.value]);
11022
11022
  }
11023
11023
  G(v, () => {
11024
11024
  w();
@@ -11062,7 +11062,7 @@ var qf = /* @__PURE__ */ I({
11062
11062
  const A = P.target, $ = h.indexOf(A);
11063
11063
  h = t.loop ? xa(h, $ + 1) : h.slice($ + 1);
11064
11064
  }
11065
- setTimeout(() => co(h)), P.preventDefault();
11065
+ setTimeout(() => po(h)), P.preventDefault();
11066
11066
  }
11067
11067
  }
11068
11068
  const x = fa(t, "loop"), T = E(() => t.position === "popper" ? x : {}), B = nn(T.value);
@@ -11166,7 +11166,7 @@ var Of = /* @__PURE__ */ I({
11166
11166
  },
11167
11167
  emits: ["placed"],
11168
11168
  setup(e, { emit: n }) {
11169
- const t = e, o = n, { getItems: r } = Ge(), a = wt(), s = Fn(), i = k(!1), u = k(!0), d = k(), { forwardRef: c, currentElement: f } = j(), { viewport: p, selectedItem: v, selectedItemText: m, focusSelectedItem: y } = s;
11169
+ const t = e, o = n, { getItems: r } = Ge(), a = wt(), s = Nn(), i = k(!1), u = k(!0), d = k(), { forwardRef: c, currentElement: f } = j(), { viewport: p, selectedItem: v, selectedItemText: m, focusSelectedItem: y } = s;
11170
11170
  function w() {
11171
11171
  if (a.triggerElement.value && a.valueElement.value && d.value && f.value && p?.value && v?.value && m?.value) {
11172
11172
  const S = a.triggerElement.value.getBoundingClientRect(), x = f.value.getBoundingClientRect(), T = a.valueElement.value.getBoundingClientRect(), B = m.value.getBoundingClientRect();
@@ -11386,7 +11386,7 @@ var Bf = /* @__PURE__ */ I({
11386
11386
  _: 3
11387
11387
  }, 16)]),
11388
11388
  _: 3
11389
- }, 8, ["present"])) : s.value ? (q(), ue("div", If, [(q(), O(xo, { to: s.value }, [V(kf, { context: l(a) }, {
11389
+ }, 8, ["present"])) : s.value ? (q(), ue("div", If, [(q(), O(So, { to: s.value }, [V(kf, { context: l(a) }, {
11390
11390
  default: _(() => [R(p.$slots, "default")]),
11391
11391
  _: 3
11392
11392
  }, 8, ["context"])], 8, ["to"]))])) : he("v-if", !0);
@@ -11442,7 +11442,7 @@ var Nf = /* @__PURE__ */ I({
11442
11442
  },
11443
11443
  emits: ["select"],
11444
11444
  setup(e, { emit: n }) {
11445
- const t = e, o = n, { disabled: r } = Se(t), a = wt(), s = Fn(), { forwardRef: i, currentElement: u } = j(), { CollectionItem: d } = Ge(), c = E(() => Yt(a.modelValue?.value, t.value, a.by)), f = k(!1), p = k(t.textValue ?? ""), v = Ee(void 0, "reka-select-item-text"), m = "select.select";
11445
+ const t = e, o = n, { disabled: r } = Se(t), a = wt(), s = Nn(), { forwardRef: i, currentElement: u } = j(), { CollectionItem: d } = Ge(), c = E(() => Yt(a.modelValue?.value, t.value, a.by)), f = k(!1), p = k(t.textValue ?? ""), v = Ee(void 0, "reka-select-item-text"), m = "select.select";
11446
11446
  async function y(x) {
11447
11447
  if (x.defaultPrevented) return;
11448
11448
  const T = {
@@ -11567,7 +11567,7 @@ var Nf = /* @__PURE__ */ I({
11567
11567
  }
11568
11568
  },
11569
11569
  setup(e) {
11570
- const n = e, t = wt(), o = Fn(), r = Ga(), { forwardRef: a, currentElement: s } = j(), i = E(() => ({
11570
+ const n = e, t = wt(), o = Nn(), r = Ga(), { forwardRef: a, currentElement: s } = j(), i = E(() => ({
11571
11571
  value: r.value,
11572
11572
  disabled: r.disabled.value,
11573
11573
  textContent: s.value?.textContent ?? r.value?.toString() ?? ""
@@ -11668,7 +11668,7 @@ var Nf = /* @__PURE__ */ I({
11668
11668
  getValue: () => t.modelValue.value,
11669
11669
  required: () => !!t.required?.value
11670
11670
  });
11671
- }), _o(() => p?.());
11671
+ }), Co(() => p?.());
11672
11672
  const { getItems: v } = Ge(), { search: m, handleTypeaheadSearch: y, resetTypeahead: w } = Bo();
11673
11673
  function g() {
11674
11674
  a.value || (t.onOpenChange(!0), w());
@@ -11707,7 +11707,7 @@ var Nf = /* @__PURE__ */ I({
11707
11707
  const A = m.value !== "";
11708
11708
  !(h.ctrlKey || h.altKey || h.metaKey) && h.key.length === 1 && y(h.key, v()), !(A && h.key === " ") && vf.includes(h.key) && (g(), h.preventDefault());
11709
11709
  }
11710
- return (h, A) => (q(), O(l(On), {
11710
+ return (h, A) => (q(), O(l(Dn), {
11711
11711
  "as-child": "",
11712
11712
  reference: e.reference
11713
11713
  }, {
@@ -11815,7 +11815,7 @@ var Nf = /* @__PURE__ */ I({
11815
11815
  }
11816
11816
  },
11817
11817
  setup(e) {
11818
- const n = e, { nonce: t } = Se(n), o = gd(t), r = Fn(), a = r.position === "item-aligned" ? Ef() : void 0, { forwardRef: s, currentElement: i } = j();
11818
+ const n = e, { nonce: t } = Se(n), o = gd(t), r = Nn(), a = r.position === "item-aligned" ? Ef() : void 0, { forwardRef: s, currentElement: i } = j();
11819
11819
  re(() => {
11820
11820
  r?.onViewportChange(i.value);
11821
11821
  });
@@ -11932,9 +11932,9 @@ var Nf = /* @__PURE__ */ I({
11932
11932
  }
11933
11933
  }), np = tp;
11934
11934
  const Ya = /* @__PURE__ */ Symbol("ToastManagerSubscribe");
11935
- let oo = 0;
11935
+ let ao = 0;
11936
11936
  function Xa() {
11937
- return oo = (oo + 1) % Number.MAX_SAFE_INTEGER, `reka-toast-${oo}`;
11937
+ return ao = (ao + 1) % Number.MAX_SAFE_INTEGER, `reka-toast-${ao}`;
11938
11938
  }
11939
11939
  function Fr(e, n) {
11940
11940
  const t = typeof e == "function" ? e(n) : e;
@@ -12219,7 +12219,7 @@ var ip = /* @__PURE__ */ I({
12219
12219
  a = requestAnimationFrame(() => {
12220
12220
  o.value = !0;
12221
12221
  });
12222
- }), wo(() => {
12222
+ }), xo(() => {
12223
12223
  cancelAnimationFrame(r), cancelAnimationFrame(a);
12224
12224
  })), (s, i) => l(t) || o.value ? (q(), O(l(Ot), {
12225
12225
  key: 0,
@@ -12230,7 +12230,7 @@ var ip = /* @__PURE__ */ I({
12230
12230
  })) : he("v-if", !0);
12231
12231
  }
12232
12232
  }), dp = up;
12233
- const [cp] = /* @__PURE__ */ ae("ToastPositioner"), fp = "toast.swipeStart", pp = "toast.swipeMove", vp = "toast.swipeCancel", mp = "toast.swipeEnd", ho = "toast.viewportPause", bo = "toast.viewportResume";
12233
+ const [cp] = /* @__PURE__ */ ae("ToastPositioner"), fp = "toast.swipeStart", pp = "toast.swipeMove", vp = "toast.swipeCancel", mp = "toast.swipeEnd", wo = "toast.viewportPause", _o = "toast.viewportResume";
12234
12234
  function yn(e, n, t) {
12235
12235
  const o = t.originalEvent.currentTarget, r = new CustomEvent(e, {
12236
12236
  bubbles: !1,
@@ -12255,7 +12255,7 @@ function Qa(e) {
12255
12255
  }
12256
12256
  }), n;
12257
12257
  }
12258
- const [$n, gp] = /* @__PURE__ */ ae("ToastRoot");
12258
+ const [Ln, gp] = /* @__PURE__ */ ae("ToastRoot");
12259
12259
  var yp = /* @__PURE__ */ I({
12260
12260
  inheritAttrs: !1,
12261
12261
  __name: "ToastRootImpl",
@@ -12342,8 +12342,8 @@ var yp = /* @__PURE__ */ I({
12342
12342
  const F = Date.now() - f.value;
12343
12343
  p.value = p.value - F, window.clearTimeout(v.value), y.pause(), o("pause");
12344
12344
  };
12345
- h.addEventListener(ho, $), h.addEventListener(bo, A), D(() => {
12346
- h.removeEventListener(ho, $), h.removeEventListener(bo, A);
12345
+ h.addEventListener(wo, $), h.addEventListener(_o, A), D(() => {
12346
+ h.removeEventListener(wo, $), h.removeEventListener(_o, A);
12347
12347
  });
12348
12348
  }
12349
12349
  });
@@ -12379,7 +12379,7 @@ var yp = /* @__PURE__ */ I({
12379
12379
  and commas instead of the toast title and description.
12380
12380
  `), (q(!0), ue(We, null, Jt(S.value, (A, $) => (q(), ue(We, { key: $ }, [Ce(Me(A), 1)], 64))), 128))]),
12381
12381
  _: 1
12382
- }, 8, ["aria-live"])) : he("v-if", !0), l(i).viewport.value || l(b) ? (q(), O(xo, {
12382
+ }, 8, ["aria-live"])) : he("v-if", !0), l(i).viewport.value || l(b) ? (q(), O(So, {
12383
12383
  key: 1,
12384
12384
  to: l(i).viewport.value ?? "body",
12385
12385
  disabled: !!l(b)
@@ -12476,7 +12476,7 @@ var yp = /* @__PURE__ */ I({
12476
12476
  }
12477
12477
  },
12478
12478
  setup(e) {
12479
- const n = e, t = $n(), { forwardRef: o } = j(), r = ys(), a = E(() => t.toast.value?.actionProps), s = E(() => !!r.default || !t.toast.value || !!a.value), i = E(() => n.altText ?? a.value?.altText);
12479
+ const n = e, t = Ln(), { forwardRef: o } = j(), r = ys(), a = E(() => t.toast.value?.actionProps), s = E(() => !!r.default || !t.toast.value || !!a.value), i = E(() => n.altText ?? a.value?.altText);
12480
12480
  if (s.value && !i.value) throw new Error("Missing prop `altText` expected on `ToastAction`");
12481
12481
  function u(d) {
12482
12482
  a.value?.onClick?.(d), (a.value?.closeOnClick ?? n.closeOnClick) && t.onClose(d);
@@ -12517,7 +12517,7 @@ var yp = /* @__PURE__ */ I({
12517
12517
  }
12518
12518
  },
12519
12519
  setup(e) {
12520
- const n = e, t = $n(), { forwardRef: o } = j();
12520
+ const n = e, t = Ln(), { forwardRef: o } = j();
12521
12521
  return (r, a) => (q(), O(Za, { "as-child": "" }, {
12522
12522
  default: _(() => [V(l(X), K(n, {
12523
12523
  ref: l(o),
@@ -12545,7 +12545,7 @@ var yp = /* @__PURE__ */ I({
12545
12545
  setup(e) {
12546
12546
  const n = e;
12547
12547
  j();
12548
- const t = $n(null);
12548
+ const t = Ln(null);
12549
12549
  return (o, r) => o.$slots.default || !l(t)?.toast.value || l(t).toast.value.description ? (q(), O(l(X), be(K({ key: 0 }, n)), {
12550
12550
  default: _(() => [R(o.$slots, "default", {}, () => [Ce(Me(l(t)?.toast.value?.description), 1)])]),
12551
12551
  _: 3
@@ -12682,7 +12682,7 @@ var yp = /* @__PURE__ */ I({
12682
12682
  setup(e) {
12683
12683
  const n = e;
12684
12684
  j();
12685
- const t = $n(null);
12685
+ const t = Ln(null);
12686
12686
  return (o, r) => o.$slots.default || !l(t)?.toast.value || l(t).toast.value.title ? (q(), O(l(X), be(K({ key: 0 }, n)), {
12687
12687
  default: _(() => [R(o.$slots, "default", {}, () => [Ce(Me(l(t)?.toast.value?.title), 1)])]),
12688
12688
  _: 3
@@ -12746,12 +12746,12 @@ var yp = /* @__PURE__ */ I({
12746
12746
  if (d.value && b) {
12747
12747
  const S = () => {
12748
12748
  if (!u.isClosePausedRef.value) {
12749
- const h = new CustomEvent(ho);
12749
+ const h = new CustomEvent(wo);
12750
12750
  b.dispatchEvent(h), u.isClosePausedRef.value = !0;
12751
12751
  }
12752
12752
  }, x = () => {
12753
12753
  if (u.isClosePausedRef.value) {
12754
- const h = new CustomEvent(bo);
12754
+ const h = new CustomEvent(_o);
12755
12755
  b.dispatchEvent(h), u.isClosePausedRef.value = !1;
12756
12756
  }
12757
12757
  }, T = (h) => {
@@ -12878,7 +12878,7 @@ var Ip = /* @__PURE__ */ I({
12878
12878
  }, 16));
12879
12879
  }
12880
12880
  }), Bp = Ip;
12881
- const [Nn, Rp] = /* @__PURE__ */ ae("TooltipProvider");
12881
+ const [Vn, Rp] = /* @__PURE__ */ ae("TooltipProvider");
12882
12882
  var Mp = /* @__PURE__ */ I({
12883
12883
  inheritAttrs: !1,
12884
12884
  __name: "TooltipProvider",
@@ -12940,7 +12940,7 @@ var Mp = /* @__PURE__ */ I({
12940
12940
  }), (v, m) => R(v.$slots, "default");
12941
12941
  }
12942
12942
  }), Fp = Mp;
12943
- const es = "tooltip.open", [Ln, $p] = /* @__PURE__ */ ae("TooltipRoot");
12943
+ const es = "tooltip.open", [zn, $p] = /* @__PURE__ */ ae("TooltipRoot");
12944
12944
  var Np = /* @__PURE__ */ I({
12945
12945
  __name: "TooltipRoot",
12946
12946
  props: {
@@ -12984,7 +12984,7 @@ var Np = /* @__PURE__ */ I({
12984
12984
  setup(e, { emit: n }) {
12985
12985
  const t = e, o = n;
12986
12986
  j();
12987
- const r = Nn(), a = E(() => t.disableHoverableContent ?? r.disableHoverableContent.value), s = E(() => t.disableClosingTrigger ?? r.disableClosingTrigger.value), i = E(() => t.disabled ?? r.disabled.value), u = E(() => t.delayDuration ?? r.delayDuration.value), d = E(() => t.ignoreNonKeyboardFocus ?? r.ignoreNonKeyboardFocus.value), c = /* @__PURE__ */ je(t, "open", o, {
12987
+ const r = Vn(), a = E(() => t.disableHoverableContent ?? r.disableHoverableContent.value), s = E(() => t.disableClosingTrigger ?? r.disableClosingTrigger.value), i = E(() => t.disabled ?? r.disabled.value), u = E(() => t.delayDuration ?? r.delayDuration.value), d = E(() => t.ignoreNonKeyboardFocus ?? r.ignoreNonKeyboardFocus.value), c = /* @__PURE__ */ je(t, "open", o, {
12988
12988
  defaultValue: t.defaultOpen,
12989
12989
  passive: t.open === void 0
12990
12990
  });
@@ -13023,7 +13023,7 @@ var Np = /* @__PURE__ */ I({
13023
13023
  disableClosingTrigger: s,
13024
13024
  disabled: i,
13025
13025
  ignoreNonKeyboardFocus: d
13026
- }), (S, x) => (q(), O(l(An), null, {
13026
+ }), (S, x) => (q(), O(l(Tn), null, {
13027
13027
  default: _(() => [R(S.$slots, "default", { open: l(c) })]),
13028
13028
  _: 3
13029
13029
  }));
@@ -13097,7 +13097,7 @@ var Np = /* @__PURE__ */ I({
13097
13097
  },
13098
13098
  emits: ["escapeKeyDown", "pointerDownOutside"],
13099
13099
  setup(e, { emit: n }) {
13100
- const t = e, o = n, r = Ln(), a = Nn(), { forwardRef: s, currentElement: i } = j(), u = E(() => t.ariaLabel || i.value?.textContent), d = E(() => {
13100
+ const t = e, o = n, r = zn(), a = Vn(), { forwardRef: s, currentElement: i } = j(), u = E(() => t.ariaLabel || i.value?.textContent), d = E(() => {
13101
13101
  const { ariaLabel: c, ...f } = t;
13102
13102
  return ha(f, a.content.value ?? {}, {
13103
13103
  side: "top",
@@ -13126,7 +13126,7 @@ var Np = /* @__PURE__ */ I({
13126
13126
  }, ["prevent"])),
13127
13127
  onDismiss: f[3] || (f[3] = (p) => l(r).onClose())
13128
13128
  }, {
13129
- default: _(() => [V(l(Rn), K({
13129
+ default: _(() => [V(l(Fn), K({
13130
13130
  ref: l(s),
13131
13131
  "data-state": l(r).stateAttribute.value
13132
13132
  }, {
@@ -13216,7 +13216,7 @@ var Np = /* @__PURE__ */ I({
13216
13216
  }
13217
13217
  },
13218
13218
  setup(e) {
13219
- const t = nn(e), { forwardRef: o, currentElement: r } = j(), { trigger: a, onClose: s } = Ln(), i = Nn(), { isPointerInTransit: u, onPointerExit: d } = Fi(a, r);
13219
+ const t = nn(e), { forwardRef: o, currentElement: r } = j(), { trigger: a, onClose: s } = zn(), i = Vn(), { isPointerInTransit: u, onPointerExit: d } = Fi(a, r);
13220
13220
  return i.isPointerInTransitRef = u, d(() => {
13221
13221
  s();
13222
13222
  }), de(r, "pointermove", (c) => {
@@ -13302,7 +13302,7 @@ var Np = /* @__PURE__ */ I({
13302
13302
  },
13303
13303
  emits: ["escapeKeyDown", "pointerDownOutside"],
13304
13304
  setup(e, { emit: n }) {
13305
- const t = e, o = n, r = Ln(), a = ut(t, o), { forwardRef: s } = j();
13305
+ const t = e, o = n, r = zn(), a = ut(t, o), { forwardRef: s } = j();
13306
13306
  return (i, u) => (q(), O(l(Ue), { present: e.forceMount || l(r).open.value }, {
13307
13307
  default: _(() => [(q(), O(En(l(r).disableHoverableContent.value ? ts : Hp), K({ ref: l(s) }, l(a)), {
13308
13308
  default: _(() => [R(i.$slots, "default")]),
@@ -13356,7 +13356,7 @@ var Np = /* @__PURE__ */ I({
13356
13356
  }
13357
13357
  },
13358
13358
  setup(e) {
13359
- const n = e, t = Ln(), o = Nn();
13359
+ const n = e, t = zn(), o = Vn();
13360
13360
  t.contentId ||= Ee(void 0, "reka-tooltip-content");
13361
13361
  const { forwardRef: r, currentElement: a } = j(), s = k(!1), i = k(!1), u = E(() => t.disabled.value ? {} : {
13362
13362
  click: y,
@@ -13392,7 +13392,7 @@ var Np = /* @__PURE__ */ I({
13392
13392
  function y() {
13393
13393
  t.disableClosingTrigger.value || t.onClose();
13394
13394
  }
13395
- return (w, g) => (q(), O(l(On), {
13395
+ return (w, g) => (q(), O(l(Dn), {
13396
13396
  "as-child": "",
13397
13397
  reference: e.reference ?? l(a)
13398
13398
  }, {
@@ -13418,7 +13418,7 @@ var Np = /* @__PURE__ */ I({
13418
13418
  }), Yp = Gp;
13419
13419
  const ov = /* @__PURE__ */ I({
13420
13420
  __name: "Checkbox",
13421
- props: /* @__PURE__ */ So({
13421
+ props: /* @__PURE__ */ On({
13422
13422
  id: {},
13423
13423
  disabled: { type: Boolean, default: !1 },
13424
13424
  class: {}
@@ -13428,7 +13428,7 @@ const ov = /* @__PURE__ */ I({
13428
13428
  }),
13429
13429
  emits: ["update:modelValue"],
13430
13430
  setup(e) {
13431
- const n = Co(e, "modelValue"), t = e;
13431
+ const n = An(e, "modelValue"), t = e;
13432
13432
  return (o, r) => (q(), O(l(Ed), {
13433
13433
  id: t.id,
13434
13434
  modelValue: n.value,
@@ -13567,40 +13567,48 @@ const ov = /* @__PURE__ */ I({
13567
13567
  }
13568
13568
  }), Jp = { class: "mt-4" }, av = /* @__PURE__ */ I({
13569
13569
  __name: "Drawer",
13570
- props: {
13570
+ props: /* @__PURE__ */ On({
13571
13571
  title: { default: "" },
13572
13572
  description: { default: "" },
13573
13573
  side: { default: "right" },
13574
13574
  class: {}
13575
- },
13575
+ }, {
13576
+ open: { type: Boolean, default: !1 },
13577
+ openModifiers: {}
13578
+ }),
13579
+ emits: ["update:open"],
13576
13580
  setup(e) {
13577
- const n = e, t = E(() => {
13578
- switch (n.side) {
13581
+ const n = An(e, "open"), t = e, o = E(() => {
13582
+ switch (t.side) {
13579
13583
  case "top":
13580
13584
  return "up";
13581
13585
  case "bottom":
13582
13586
  return "down";
13583
13587
  default:
13584
- return n.side;
13588
+ return t.side;
13585
13589
  }
13586
- }), o = E(() => {
13587
- const r = "kui-drawer-content kui-drawer-";
13588
- switch (n.side) {
13590
+ }), r = E(() => {
13591
+ const a = "kui-drawer-content kui-drawer-";
13592
+ switch (t.side) {
13589
13593
  case "top":
13590
- return xe(r + "top fixed inset-x-0 top-0 z-50 w-full max-h-[85vh] rounded-b-2xl border-b border-neutral-200 bg-white p-6 shadow-lg", n.class);
13594
+ return xe(a + "top fixed inset-x-0 top-0 z-50 w-full max-h-[85vh] rounded-b-2xl border-b border-neutral-200 bg-white p-6 shadow-lg", t.class);
13591
13595
  case "bottom":
13592
- return xe(r + "bottom fixed inset-x-0 bottom-0 z-50 w-full max-h-[85vh] rounded-t-2xl border-t border-neutral-200 bg-white p-6 shadow-lg", n.class);
13596
+ return xe(a + "bottom fixed inset-x-0 bottom-0 z-50 w-full max-h-[85vh] rounded-t-2xl border-t border-neutral-200 bg-white p-6 shadow-lg", t.class);
13593
13597
  case "left":
13594
- return xe(r + "left fixed inset-y-0 left-0 z-50 h-full w-full max-w-sm border-r border-neutral-200 bg-white p-6 shadow-lg", n.class);
13598
+ return xe(a + "left fixed inset-y-0 left-0 z-50 h-full w-full max-w-sm border-r border-neutral-200 bg-white p-6 shadow-lg", t.class);
13595
13599
  default:
13596
- return xe(r + "right fixed inset-y-0 right-0 z-50 h-full w-full max-w-sm border-l border-neutral-200 bg-white p-6 shadow-lg", n.class);
13600
+ return xe(a + "right fixed inset-y-0 right-0 z-50 h-full w-full max-w-sm border-l border-neutral-200 bg-white p-6 shadow-lg", t.class);
13597
13601
  }
13598
13602
  });
13599
- return (r, a) => (q(), O(l(qc), { "swipe-direction": t.value }, {
13603
+ return (a, s) => (q(), O(l(qc), {
13604
+ "swipe-direction": o.value,
13605
+ open: n.value,
13606
+ "onUpdate:open": s[0] || (s[0] = (i) => n.value = i)
13607
+ }, {
13600
13608
  default: _(() => [
13601
13609
  V(l(Qc), { "as-child": "" }, {
13602
13610
  default: _(() => [
13603
- R(r.$slots, "trigger")
13611
+ R(a.$slots, "trigger")
13604
13612
  ]),
13605
13613
  _: 3
13606
13614
  }),
@@ -13608,21 +13616,21 @@ const ov = /* @__PURE__ */ I({
13608
13616
  default: _(() => [
13609
13617
  V(l(Gc), { class: "kui-drawer-overlay fixed inset-0 z-50 bg-black/50" }),
13610
13618
  V(l(zc), {
13611
- class: Fe(o.value)
13619
+ class: Fe(r.value)
13612
13620
  }, {
13613
13621
  default: _(() => [
13614
- n.title ? (q(), O(l(Mr), {
13622
+ t.title ? (q(), O(l(Mr), {
13615
13623
  key: 0,
13616
13624
  class: "text-lg font-semibold text-neutral-900"
13617
13625
  }, {
13618
13626
  default: _(() => [
13619
- Ce(Me(n.title), 1)
13627
+ Ce(Me(t.title), 1)
13620
13628
  ]),
13621
13629
  _: 1
13622
13630
  })) : (q(), O(l(Mr), { key: 1 }, {
13623
13631
  default: _(() => [
13624
13632
  V(l(Ot), null, {
13625
- default: _(() => [...a[0] || (a[0] = [
13633
+ default: _(() => [...s[1] || (s[1] = [
13626
13634
  Ce("Drawer", -1)
13627
13635
  ])]),
13628
13636
  _: 1
@@ -13630,17 +13638,17 @@ const ov = /* @__PURE__ */ I({
13630
13638
  ]),
13631
13639
  _: 1
13632
13640
  })),
13633
- n.description ? (q(), O(l(Wc), {
13641
+ t.description ? (q(), O(l(Wc), {
13634
13642
  key: 2,
13635
13643
  class: "mt-1 text-sm text-neutral-500"
13636
13644
  }, {
13637
13645
  default: _(() => [
13638
- Ce(Me(n.description), 1)
13646
+ Ce(Me(t.description), 1)
13639
13647
  ]),
13640
13648
  _: 1
13641
13649
  })) : he("", !0),
13642
13650
  He("div", Jp, [
13643
- R(r.$slots, "default")
13651
+ R(a.$slots, "default")
13644
13652
  ]),
13645
13653
  V(l(Ec), {
13646
13654
  "aria-label": "Close",
@@ -13659,7 +13667,7 @@ const ov = /* @__PURE__ */ I({
13659
13667
  })
13660
13668
  ]),
13661
13669
  _: 3
13662
- }, 8, ["swipe-direction"]));
13670
+ }, 8, ["swipe-direction", "open"]));
13663
13671
  }
13664
13672
  }), sv = /* @__PURE__ */ I({
13665
13673
  __name: "DropdownMenu",
@@ -13703,7 +13711,7 @@ const ov = /* @__PURE__ */ I({
13703
13711
  }
13704
13712
  }), iv = /* @__PURE__ */ I({
13705
13713
  __name: "Input",
13706
- props: /* @__PURE__ */ So({
13714
+ props: /* @__PURE__ */ On({
13707
13715
  class: {}
13708
13716
  }, {
13709
13717
  modelValue: { default: "" },
@@ -13711,7 +13719,7 @@ const ov = /* @__PURE__ */ I({
13711
13719
  }),
13712
13720
  emits: ["update:modelValue"],
13713
13721
  setup(e) {
13714
- const n = Co(e, "modelValue"), t = e;
13722
+ const n = An(e, "modelValue"), t = e;
13715
13723
  return (o, r) => wn((q(), ue("input", {
13716
13724
  "onUpdate:modelValue": r[0] || (r[0] = (a) => n.value = a),
13717
13725
  class: Fe(
@@ -13817,7 +13825,7 @@ const ov = /* @__PURE__ */ I({
13817
13825
  }
13818
13826
  }), fv = /* @__PURE__ */ I({
13819
13827
  __name: "Select",
13820
- props: /* @__PURE__ */ So({
13828
+ props: /* @__PURE__ */ On({
13821
13829
  items: { default: () => [] },
13822
13830
  placeholder: { default: "Select an option" },
13823
13831
  disabled: { type: Boolean, default: !1 },
@@ -13830,7 +13838,7 @@ const ov = /* @__PURE__ */ I({
13830
13838
  }),
13831
13839
  emits: ["update:modelValue"],
13832
13840
  setup(e) {
13833
- const n = e, t = Co(e, "modelValue");
13841
+ const n = e, t = An(e, "modelValue");
13834
13842
  return (o, r) => (q(), O(l(bf), {
13835
13843
  modelValue: t.value,
13836
13844
  "onUpdate:modelValue": r[0] || (r[0] = (a) => t.value = a),