@synopackageland/ui 0.19.7 → 0.19.9

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.
@@ -9,7 +9,7 @@ const Me = {}, _o = [], gn = () => {
9
9
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), oa = (e) => e.startsWith("onUpdate:"), ht = Object.assign, kl = (e, t) => {
10
10
  const n = e.indexOf(t);
11
11
  n > -1 && e.splice(n, 1);
12
- }, vv = Object.prototype.hasOwnProperty, Ve = (e, t) => vv.call(e, t), we = Array.isArray, Qn = (e) => Zr(e) === "[object Map]", Ti = (e) => Zr(e) === "[object Set]", Du = (e) => Zr(e) === "[object Date]", ke = (e) => typeof e == "function", Ge = (e) => typeof e == "string", Ut = (e) => typeof e == "symbol", je = (e) => e !== null && typeof e == "object", df = (e) => (je(e) || ke(e)) && ke(e.then) && ke(e.catch), ff = Object.prototype.toString, Zr = (e) => ff.call(e), gv = (e) => Zr(e).slice(8, -1), pf = (e) => Zr(e) === "[object Object]", ra = (e) => Ge(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Cr = /* @__PURE__ */ xl(
12
+ }, vv = Object.prototype.hasOwnProperty, Ve = (e, t) => vv.call(e, t), we = Array.isArray, Qn = (e) => Zr(e) === "[object Map]", Ti = (e) => Zr(e) === "[object Set]", Nu = (e) => Zr(e) === "[object Date]", ke = (e) => typeof e == "function", Ge = (e) => typeof e == "string", Ut = (e) => typeof e == "symbol", je = (e) => e !== null && typeof e == "object", df = (e) => (je(e) || ke(e)) && ke(e.then) && ke(e.catch), ff = Object.prototype.toString, Zr = (e) => ff.call(e), gv = (e) => Zr(e).slice(8, -1), pf = (e) => Zr(e) === "[object Object]", ra = (e) => Ge(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Cr = /* @__PURE__ */ xl(
13
13
  // the leading comma is intentional so empty string "" is also included
14
14
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
15
15
  ), ia = (e) => {
@@ -130,7 +130,7 @@ function Fu(e, t, n, o) {
130
130
  }
131
131
  function la(e, t, n) {
132
132
  if (e === t) return !0;
133
- let o = Du(e), r = Du(t);
133
+ let o = Nu(e), r = Nu(t);
134
134
  return o || r ? o && r ? e.getTime() === t.getTime() : !1 : (o = Ut(e), r = Ut(t), o || r ? e === t : (o = we(e), r = we(t), o || r ? o && r ? Fu(e, t, n, Pv) : !1 : (o = je(e), r = je(t), o || r ? !o || !r ? !1 : Fu(e, t, n, Av) : String(e) === String(t))));
135
135
  }
136
136
  const vf = (e) => !!(e && e.__v_isRef === !0), Q = (e) => Ge(e) ? e : e == null ? "" : we(e) || je(e) && (e.toString === ff || !ke(e.toString)) ? vf(e) ? Q(e.value) : JSON.stringify(e, gf, 2) : String(e), gf = (e, t) => vf(t) ? gf(e, t.value) : Qn(t) ? {
@@ -364,7 +364,7 @@ function Cs(e) {
364
364
  return !!e._dirty;
365
365
  }
366
366
  function Cf(e) {
367
- if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Nr) || (e.globalVersion = Nr, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Cs(e))))
367
+ if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Dr) || (e.globalVersion = Dr, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Cs(e))))
368
368
  return;
369
369
  e.flags |= 2;
370
370
  const t = e.dep, n = Ke, o = en;
@@ -394,7 +394,7 @@ function Ev(e) {
394
394
  }
395
395
  let en = !0;
396
396
  const Pf = [];
397
- function Dn() {
397
+ function Nn() {
398
398
  Pf.push(en), en = !1;
399
399
  }
400
400
  function Mn() {
@@ -413,7 +413,7 @@ function qu(e) {
413
413
  }
414
414
  }
415
415
  }
416
- let Nr = 0;
416
+ let Dr = 0;
417
417
  class $v {
418
418
  constructor(t, n) {
419
419
  this.sub = t, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
@@ -437,7 +437,7 @@ class ca {
437
437
  return n;
438
438
  }
439
439
  trigger(t) {
440
- this.version++, Nr++, this.notify(t);
440
+ this.version++, Dr++, this.notify(t);
441
441
  }
442
442
  notify(t) {
443
443
  Al();
@@ -465,7 +465,7 @@ const Ii = /* @__PURE__ */ new WeakMap(), xo = /* @__PURE__ */ Symbol(
465
465
  ""
466
466
  ), Ps = /* @__PURE__ */ Symbol(
467
467
  ""
468
- ), Dr = /* @__PURE__ */ Symbol(
468
+ ), Nr = /* @__PURE__ */ Symbol(
469
469
  ""
470
470
  );
471
471
  function At(e, t, n) {
@@ -479,7 +479,7 @@ function At(e, t, n) {
479
479
  function En(e, t, n, o, r, i) {
480
480
  const a = Ii.get(e);
481
481
  if (!a) {
482
- Nr++;
482
+ Dr++;
483
483
  return;
484
484
  }
485
485
  const s = (l) => {
@@ -492,10 +492,10 @@ function En(e, t, n, o, r, i) {
492
492
  if (l && n === "length") {
493
493
  const u = Number(o);
494
494
  a.forEach((d, p) => {
495
- (p === "length" || p === Dr || !Ut(p) && p >= u) && s(d);
495
+ (p === "length" || p === Nr || !Ut(p) && p >= u) && s(d);
496
496
  });
497
497
  } else
498
- switch ((n !== void 0 || a.has(void 0)) && s(a.get(n)), c && s(a.get(Dr)), t) {
498
+ switch ((n !== void 0 || a.has(void 0)) && s(a.get(n)), c && s(a.get(Nr)), t) {
499
499
  case "add":
500
500
  l ? c && s(a.get("length")) : (s(a.get(xo)), Qn(e) && s(a.get(Ps)));
501
501
  break;
@@ -513,12 +513,12 @@ function Ov(e, t) {
513
513
  const n = Ii.get(e);
514
514
  return n && n.get(t);
515
515
  }
516
- function Do(e) {
516
+ function No(e) {
517
517
  const t = /* @__PURE__ */ qe(e);
518
- return t === e || (At(t, "iterate", Dr), /* @__PURE__ */ jt(e)) ? t : /* @__PURE__ */ yn(e) ? /* @__PURE__ */ eo(e) ? t.map((n) => to(Kt(n))) : t.map(to) : t.map(Kt);
518
+ return t === e || (At(t, "iterate", Nr), /* @__PURE__ */ jt(e)) ? t : /* @__PURE__ */ yn(e) ? /* @__PURE__ */ eo(e) ? t.map((n) => to(Kt(n))) : t.map(to) : t.map(Kt);
519
519
  }
520
520
  function da(e) {
521
- return At(e = /* @__PURE__ */ qe(e), "iterate", Dr), e;
521
+ return At(e = /* @__PURE__ */ qe(e), "iterate", Nr), e;
522
522
  }
523
523
  function hn(e, t) {
524
524
  return /* @__PURE__ */ yn(e) ? to(/* @__PURE__ */ eo(e) ? Kt(t) : t) : Kt(t);
@@ -529,8 +529,8 @@ const Tv = {
529
529
  return Ha(this, Symbol.iterator, (e) => hn(this, e));
530
530
  },
531
531
  concat(...e) {
532
- return Do(this).concat(
533
- ...e.map((t) => we(t) ? Do(t) : t)
532
+ return No(this).concat(
533
+ ...e.map((t) => we(t) ? No(t) : t)
534
534
  );
535
535
  },
536
536
  entries() {
@@ -586,7 +586,7 @@ const Tv = {
586
586
  return Ga(this, "indexOf", e);
587
587
  },
588
588
  join(e) {
589
- return Do(this).join(e);
589
+ return No(this).join(e);
590
590
  },
591
591
  // keys() iterator only reads `length`, no optimization required
592
592
  lastIndexOf(...e) {
@@ -618,13 +618,13 @@ const Tv = {
618
618
  return mr(this, "splice", e);
619
619
  },
620
620
  toReversed() {
621
- return Do(this).toReversed();
621
+ return No(this).toReversed();
622
622
  },
623
623
  toSorted(e) {
624
- return Do(this).toSorted(e);
624
+ return No(this).toSorted(e);
625
625
  },
626
626
  toSpliced(...e) {
627
- return Do(this).toSpliced(...e);
627
+ return No(this).toSpliced(...e);
628
628
  },
629
629
  unshift(...e) {
630
630
  return mr(this, "unshift", e);
@@ -669,19 +669,19 @@ function Lu(e, t, n, o) {
669
669
  }
670
670
  function Ga(e, t, n) {
671
671
  const o = /* @__PURE__ */ qe(e);
672
- At(o, "iterate", Dr);
672
+ At(o, "iterate", Nr);
673
673
  const r = o[t](...n);
674
674
  return (r === -1 || r === !1) && /* @__PURE__ */ ha(n[0]) ? (n[0] = /* @__PURE__ */ qe(n[0]), o[t](...n)) : r;
675
675
  }
676
676
  function mr(e, t, n = []) {
677
- Dn(), Al();
677
+ Nn(), Al();
678
678
  const o = (/* @__PURE__ */ qe(e))[t].apply(e, n);
679
679
  return El(), Mn(), o;
680
680
  }
681
681
  const Rv = /* @__PURE__ */ xl("__proto__,__v_isRef,__isVue"), Ef = new Set(
682
682
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ut)
683
683
  );
684
- function Nv(e) {
684
+ function Dv(e) {
685
685
  Ut(e) || (e = String(e));
686
686
  const t = /* @__PURE__ */ qe(this);
687
687
  return At(t, "has", e), t.hasOwnProperty(e);
@@ -700,7 +700,7 @@ class $f {
700
700
  if (n === "__v_isShallow")
701
701
  return i;
702
702
  if (n === "__v_raw")
703
- return o === (r ? i ? Df : Nf : i ? Rf : If).get(t) || // receiver is not the reactive proxy, but has the same prototype
703
+ return o === (r ? i ? Nf : Df : i ? Rf : If).get(t) || // receiver is not the reactive proxy, but has the same prototype
704
704
  // this means the receiver is a user proxy of the reactive proxy
705
705
  Object.getPrototypeOf(t) === Object.getPrototypeOf(o) ? t : void 0;
706
706
  const a = we(t);
@@ -709,7 +709,7 @@ class $f {
709
709
  if (a && (l = Tv[n]))
710
710
  return l;
711
711
  if (n === "hasOwnProperty")
712
- return Nv;
712
+ return Dv;
713
713
  }
714
714
  const s = Reflect.get(
715
715
  t,
@@ -777,7 +777,7 @@ class Tf extends $f {
777
777
  return !0;
778
778
  }
779
779
  }
780
- const Dv = /* @__PURE__ */ new Of(), Mv = /* @__PURE__ */ new Tf(), zv = /* @__PURE__ */ new Of(!0), Fv = /* @__PURE__ */ new Tf(!0), As = (e) => e, ti = (e) => Reflect.getPrototypeOf(e);
780
+ const Nv = /* @__PURE__ */ new Of(), Mv = /* @__PURE__ */ new Tf(), zv = /* @__PURE__ */ new Of(!0), Fv = /* @__PURE__ */ new Tf(!0), As = (e) => e, ti = (e) => Reflect.getPrototypeOf(e);
781
781
  function qv(e, t, n) {
782
782
  return function(...o) {
783
783
  const r = this.__v_raw, i = /* @__PURE__ */ qe(r), a = Qn(i), s = e === "entries" || e === Symbol.iterator && a, l = e === "keys" && a, c = r[e](...o), u = n ? As : t ? to : Kt;
@@ -893,7 +893,7 @@ const Bv = {
893
893
  get: /* @__PURE__ */ fa(!0, !1)
894
894
  }, Uv = {
895
895
  get: /* @__PURE__ */ fa(!0, !0)
896
- }, If = /* @__PURE__ */ new WeakMap(), Rf = /* @__PURE__ */ new WeakMap(), Nf = /* @__PURE__ */ new WeakMap(), Df = /* @__PURE__ */ new WeakMap();
896
+ }, If = /* @__PURE__ */ new WeakMap(), Rf = /* @__PURE__ */ new WeakMap(), Df = /* @__PURE__ */ new WeakMap(), Nf = /* @__PURE__ */ new WeakMap();
897
897
  function Wv(e) {
898
898
  switch (e) {
899
899
  case "Object":
@@ -913,7 +913,7 @@ function nn(e) {
913
913
  return /* @__PURE__ */ yn(e) ? e : pa(
914
914
  e,
915
915
  !1,
916
- Dv,
916
+ Nv,
917
917
  Bv,
918
918
  If
919
919
  );
@@ -935,7 +935,7 @@ function Es(e) {
935
935
  !0,
936
936
  Mv,
937
937
  jv,
938
- Nf
938
+ Df
939
939
  );
940
940
  }
941
941
  // @__NO_SIDE_EFFECTS__
@@ -945,7 +945,7 @@ function yo(e) {
945
945
  !0,
946
946
  Fv,
947
947
  Uv,
948
- Df
948
+ Nf
949
949
  );
950
950
  }
951
951
  function pa(e, t, n, o, r) {
@@ -1102,7 +1102,7 @@ function Lf(e, t, n) {
1102
1102
  }
1103
1103
  class Qv {
1104
1104
  constructor(t, n, o) {
1105
- this.fn = t, this.setter = n, this._value = void 0, this.dep = new ca(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Nr - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = o;
1105
+ this.fn = t, this.setter = n, this._value = void 0, this.dep = new ca(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Dr - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = o;
1106
1106
  }
1107
1107
  /**
1108
1108
  * @internal
@@ -1145,7 +1145,7 @@ function ng(e, t, n = Me) {
1145
1145
  return l ? l(w, 2) : w();
1146
1146
  })) : ke(e) ? t ? d = l ? () => l(e, 2) : e : d = () => {
1147
1147
  if (p) {
1148
- Dn();
1148
+ Nn();
1149
1149
  try {
1150
1150
  p();
1151
1151
  } finally {
@@ -1267,7 +1267,7 @@ function ma(e, t, n, o = !0) {
1267
1267
  s = s.parent;
1268
1268
  }
1269
1269
  if (i) {
1270
- Dn(), Hr(i, null, 10, [
1270
+ Nn(), Hr(i, null, 10, [
1271
1271
  e,
1272
1272
  l,
1273
1273
  c
@@ -1287,9 +1287,9 @@ let pn = -1;
1287
1287
  const Uo = [];
1288
1288
  let Xn = null, qo = 0;
1289
1289
  const Bf = /* @__PURE__ */ Promise.resolve();
1290
- let Ni = null;
1290
+ let Di = null;
1291
1291
  function ze(e) {
1292
- const t = Ni || Bf;
1292
+ const t = Di || Bf;
1293
1293
  return e ? t.then(this ? e.bind(this) : e) : t;
1294
1294
  }
1295
1295
  function rg(e) {
@@ -1308,7 +1308,7 @@ function Tl(e) {
1308
1308
  }
1309
1309
  }
1310
1310
  function Vf() {
1311
- Ni || (Ni = Bf.then(Uf));
1311
+ Di || (Di = Bf.then(Uf));
1312
1312
  }
1313
1313
  function ig(e) {
1314
1314
  if (!we(e))
@@ -1361,11 +1361,11 @@ function Uf(e) {
1361
1361
  const t = It[pn];
1362
1362
  t && (t.flags &= -2);
1363
1363
  }
1364
- pn = -1, It.length = 0, jf(), Ni = null, (It.length || Uo.length) && Uf();
1364
+ pn = -1, It.length = 0, jf(), Di = null, (It.length || Uo.length) && Uf();
1365
1365
  }
1366
1366
  }
1367
1367
  let wt = null, Wf = null;
1368
- function Di(e) {
1368
+ function Ni(e) {
1369
1369
  const t = wt;
1370
1370
  return wt = e, Wf = e && e.type.__scopeId || null, t;
1371
1371
  }
@@ -1374,13 +1374,13 @@ function T(e, t = wt, n) {
1374
1374
  return e;
1375
1375
  const o = (...r) => {
1376
1376
  o._d && Fi(-1);
1377
- const i = Di(t), a = In.length;
1377
+ const i = Ni(t), a = In.length;
1378
1378
  let s;
1379
1379
  try {
1380
1380
  s = e(...r);
1381
1381
  } finally {
1382
1382
  for (let l = In.length; l > a; l--) ql();
1383
- Di(i), o._d && Fi(1);
1383
+ Ni(i), o._d && Fi(1);
1384
1384
  }
1385
1385
  return s;
1386
1386
  };
@@ -1412,7 +1412,7 @@ function ho(e, t, n, o) {
1412
1412
  const s = r[a];
1413
1413
  i && (s.oldValue = i[a].value);
1414
1414
  let l = s.dir[o];
1415
- l && (Dn(), on(l, n, 8, [
1415
+ l && (Nn(), on(l, n, 8, [
1416
1416
  e.el,
1417
1417
  s,
1418
1418
  e,
@@ -1514,11 +1514,11 @@ const Hn = /* @__PURE__ */ new WeakMap(), Hf = /* @__PURE__ */ Symbol("_vte"), v
1514
1514
  o: { insert: h, querySelector: m, createText: v, createComment: g, parentNode: b }
1515
1515
  } = c, _ = wo(t.props);
1516
1516
  let { dynamicChildren: A } = t;
1517
- const w = (P, O, N) => {
1517
+ const w = (P, O, D) => {
1518
1518
  P.shapeFlag & 16 && u(
1519
1519
  P.children,
1520
1520
  O,
1521
- N,
1521
+ D,
1522
1522
  r,
1523
1523
  i,
1524
1524
  a,
@@ -1526,14 +1526,14 @@ const Hn = /* @__PURE__ */ new WeakMap(), Hf = /* @__PURE__ */ Symbol("_vte"), v
1526
1526
  l
1527
1527
  );
1528
1528
  }, S = (P = t) => {
1529
- const O = wo(P.props), N = P.target = $s(P.props, m), I = Os(N, P, v, h);
1530
- N && (a !== "svg" && Vu(N) ? a = "svg" : a !== "mathml" && ju(N) && (a = "mathml"), r && r.isCE && (r.ce._teleportTargets || (r.ce._teleportTargets = /* @__PURE__ */ new Set())).add(N), O || (w(P, N, I), wr(P, !1)));
1529
+ const O = wo(P.props), D = P.target = $s(P.props, m), I = Os(D, P, v, h);
1530
+ D && (a !== "svg" && Vu(D) ? a = "svg" : a !== "mathml" && ju(D) && (a = "mathml"), r && r.isCE && (r.ce._teleportTargets || (r.ce._teleportTargets = /* @__PURE__ */ new Set())).add(D), O || (w(P, D, I), wr(P, !1)));
1531
1531
  }, k = (P) => {
1532
1532
  const O = () => {
1533
1533
  if (Hn.get(P) === O) {
1534
1534
  if (Hn.delete(P), wo(P.props)) {
1535
- const N = b(P.el) || n;
1536
- w(P, N, P.anchor), wr(P, !0);
1535
+ const D = b(P.el) || n;
1536
+ w(P, D, P.anchor), wr(P, !0);
1537
1537
  }
1538
1538
  S(P);
1539
1539
  }
@@ -1555,8 +1555,8 @@ const Hn = /* @__PURE__ */ new WeakMap(), Hf = /* @__PURE__ */ Symbol("_vte"), v
1555
1555
  return;
1556
1556
  }
1557
1557
  t.targetStart = e.targetStart;
1558
- const N = t.target = e.target, I = t.targetAnchor = e.targetAnchor, L = wo(e.props), B = L ? n : N, G = L ? P : I;
1559
- if (a === "svg" || Vu(N) ? a = "svg" : (a === "mathml" || ju(N)) && (a = "mathml"), A ? (p(
1558
+ const D = t.target = e.target, I = t.targetAnchor = e.targetAnchor, L = wo(e.props), B = L ? n : D, G = L ? P : I;
1559
+ if (a === "svg" || Vu(D) ? a = "svg" : (a === "mathml" || ju(D)) && (a = "mathml"), A ? (p(
1560
1560
  e.dynamicChildren,
1561
1561
  A,
1562
1562
  B,
@@ -1593,7 +1593,7 @@ const Hn = /* @__PURE__ */ new WeakMap(), Hf = /* @__PURE__ */ Symbol("_vte"), v
1593
1593
  ));
1594
1594
  } else L && ri(
1595
1595
  t,
1596
- N,
1596
+ D,
1597
1597
  I,
1598
1598
  c,
1599
1599
  1
@@ -1720,7 +1720,7 @@ function pg(e) {
1720
1720
  return t;
1721
1721
  }
1722
1722
  function Gf(e) {
1723
- if (!Nl(e))
1723
+ if (!Dl(e))
1724
1724
  return va(e.type) && e.children ? pg(e.children) : e;
1725
1725
  if (e.component)
1726
1726
  return e.component.subTree;
@@ -1836,7 +1836,7 @@ function Wu(e) {
1836
1836
  }
1837
1837
  sa().requestIdleCallback;
1838
1838
  sa().cancelIdleCallback;
1839
- const Wo = (e) => !!e.type.__asyncLoader, Nl = (e) => e.type.__isKeepAlive;
1839
+ const Wo = (e) => !!e.type.__asyncLoader, Dl = (e) => e.type.__isKeepAlive;
1840
1840
  function hg(e, t) {
1841
1841
  Yf(e, "a", t);
1842
1842
  }
@@ -1856,7 +1856,7 @@ function Yf(e, t, n = Et) {
1856
1856
  if (ga(t, o, n), n) {
1857
1857
  let r = n.parent;
1858
1858
  for (; r && r.parent; )
1859
- Nl(r.parent.vnode) && vg(o, t, n, r), r = r.parent;
1859
+ Dl(r.parent.vnode) && vg(o, t, n, r), r = r.parent;
1860
1860
  }
1861
1861
  }
1862
1862
  function vg(e, t, n, o) {
@@ -1874,7 +1874,7 @@ function vg(e, t, n, o) {
1874
1874
  function ga(e, t, n = Et, o = !1) {
1875
1875
  if (n) {
1876
1876
  const r = n[e] || (n[e] = []), i = t.__weh || (t.__weh = (...a) => {
1877
- Dn();
1877
+ Nn();
1878
1878
  const s = Yr(n), l = on(t, n, e, a);
1879
1879
  return s(), Mn(), l;
1880
1880
  });
@@ -1885,7 +1885,7 @@ const Vn = (e) => (t, n = Et) => {
1885
1885
  (!Lr || e === "sp") && ga(e, (...o) => t(...o), n);
1886
1886
  }, gg = Vn("bm"), Qe = Vn("m"), Xf = Vn(
1887
1887
  "bu"
1888
- ), Dl = Vn("u"), xt = Vn(
1888
+ ), Nl = Vn("u"), xt = Vn(
1889
1889
  "bum"
1890
1890
  ), sn = Vn("um"), yg = Vn(
1891
1891
  "sp"
@@ -1964,7 +1964,7 @@ function tt(e, t, n, o) {
1964
1964
  function R(e, t, n, o, r, i) {
1965
1965
  if (n == null && (n = {}), wt.ce || wt.parent && Wo(wt.parent) && wt.parent.ce) {
1966
1966
  const c = i != null && n.key == null ? ht({}, n, { key: i }) : n, u = Object.keys(c).length > 0;
1967
- return t !== "default" && (c.name = t), y(), D(
1967
+ return t !== "default" && (c.name = t), y(), N(
1968
1968
  xe,
1969
1969
  null,
1970
1970
  [j("slot", c, o && o())],
@@ -1980,7 +1980,7 @@ function R(e, t, n, o, r, i) {
1980
1980
  const c = a && rp(a(n)), u = n.key || i || // slot content array of a dynamic conditional slot may have a branch
1981
1981
  // key attached in the `createSlots` helper, respect that
1982
1982
  c && c.key;
1983
- l = D(
1983
+ l = N(
1984
1984
  xe,
1985
1985
  {
1986
1986
  key: (u && !Ut(u) ? u : `_${t}`) + // #7256 force differentiate fallback content from actual content
@@ -2145,7 +2145,7 @@ function xg(e) {
2145
2145
  renderTracked: k,
2146
2146
  renderTriggered: P,
2147
2147
  errorCaptured: O,
2148
- serverPrefetch: N,
2148
+ serverPrefetch: D,
2149
2149
  // public API
2150
2150
  expose: I,
2151
2151
  inheritAttrs: L,
@@ -2173,7 +2173,7 @@ function xg(e) {
2173
2173
  enumerable: !0,
2174
2174
  configurable: !0,
2175
2175
  get: () => Ce.value,
2176
- set: (De) => Ce.value = De
2176
+ set: (Ne) => Ce.value = Ne
2177
2177
  });
2178
2178
  }
2179
2179
  if (s)
@@ -2189,7 +2189,7 @@ function xg(e) {
2189
2189
  function oe(ae, ve) {
2190
2190
  we(ve) ? ve.forEach((Re) => ae(Re.bind(n))) : ve && ae(ve.bind(n));
2191
2191
  }
2192
- if (oe(gg, d), oe(Qe, p), oe(Xf, h), oe(Dl, m), oe(hg, v), oe(mg, g), oe(Qf, O), oe(wg, k), oe(bg, P), oe(xt, _), oe(sn, w), oe(yg, N), we(I))
2192
+ if (oe(gg, d), oe(Qe, p), oe(Xf, h), oe(Nl, m), oe(hg, v), oe(mg, g), oe(Qf, O), oe(wg, k), oe(bg, P), oe(xt, _), oe(sn, w), oe(yg, D), we(I))
2193
2193
  if (I.length) {
2194
2194
  const ae = e.exposed || (e.exposed = {});
2195
2195
  I.forEach((ve) => {
@@ -2200,7 +2200,7 @@ function xg(e) {
2200
2200
  });
2201
2201
  });
2202
2202
  } else e.exposed || (e.exposed = {});
2203
- S && e.render === gn && (e.render = S), L != null && (e.inheritAttrs = L), B && (e.components = B), G && (e.directives = G), N && Jf(e);
2203
+ S && e.render === gn && (e.render = S), L != null && (e.inheritAttrs = L), B && (e.components = B), G && (e.directives = G), D && Jf(e);
2204
2204
  }
2205
2205
  function kg(e, t, n = gn) {
2206
2206
  we(e) && (e = Rs(e));
@@ -2521,7 +2521,7 @@ function Yu(e) {
2521
2521
  setupState: h,
2522
2522
  ctx: m,
2523
2523
  inheritAttrs: v
2524
- } = e, g = Di(e);
2524
+ } = e, g = Ni(e);
2525
2525
  let b, _;
2526
2526
  try {
2527
2527
  if (n.shapeFlag & 4) {
@@ -2555,7 +2555,7 @@ function Yu(e) {
2555
2555
  let A = b;
2556
2556
  if (_ && v !== !1) {
2557
2557
  const w = Object.keys(_), { shapeFlag: S } = A;
2558
- w.length && S & 7 && (i && w.some(oa) && (_ = Ng(
2558
+ w.length && S & 7 && (i && w.some(oa) && (_ = Dg(
2559
2559
  _,
2560
2560
  i
2561
2561
  )), A = Co(A, _, !1, !0));
@@ -2564,20 +2564,20 @@ function Yu(e) {
2564
2564
  const w = va(A.type) && Gf(A) || A;
2565
2565
  Rl(w, n.transition);
2566
2566
  }
2567
- return b = A, Di(g), b;
2567
+ return b = A, Ni(g), b;
2568
2568
  }
2569
2569
  const Rg = (e) => {
2570
2570
  let t;
2571
2571
  for (const n in e)
2572
2572
  (n === "class" || n === "style" || na(n)) && ((t || (t = {}))[n] = e[n]);
2573
2573
  return t;
2574
- }, Ng = (e, t) => {
2574
+ }, Dg = (e, t) => {
2575
2575
  const n = {};
2576
2576
  for (const o in e)
2577
2577
  (!oa(o) || !(o.slice(9) in t)) && (n[o] = e[o]);
2578
2578
  return n;
2579
2579
  };
2580
- function Dg(e, t, n) {
2580
+ function Ng(e, t, n) {
2581
2581
  const { props: o, children: r, component: i } = e, { props: a, children: s, patchFlag: l } = t, c = i.emitsOptions;
2582
2582
  if (t.dirs || t.transition)
2583
2583
  return !0;
@@ -2656,7 +2656,7 @@ function Fg(e, t, n, o) {
2656
2656
  h !== i[p] && (i[p] = h, c = !0);
2657
2657
  else {
2658
2658
  const m = yt(p);
2659
- r[m] = Ns(
2659
+ r[m] = Ds(
2660
2660
  l,
2661
2661
  s,
2662
2662
  m,
@@ -2678,7 +2678,7 @@ function Fg(e, t, n, o) {
2678
2678
  // and converted to camelCase (#955)
2679
2679
  ((u = Bn(d)) === d || !Ve(t, u))) && (l ? n && // for camelCase
2680
2680
  (n[d] !== void 0 || // for kebab-case
2681
- n[u] !== void 0) && (r[d] = Ns(
2681
+ n[u] !== void 0) && (r[d] = Ds(
2682
2682
  l,
2683
2683
  s,
2684
2684
  d,
@@ -2707,7 +2707,7 @@ function vp(e, t, n, o) {
2707
2707
  const l = /* @__PURE__ */ qe(n), c = s || Me;
2708
2708
  for (let u = 0; u < i.length; u++) {
2709
2709
  const d = i[u];
2710
- n[d] = Ns(
2710
+ n[d] = Ds(
2711
2711
  r,
2712
2712
  l,
2713
2713
  d,
@@ -2719,7 +2719,7 @@ function vp(e, t, n, o) {
2719
2719
  }
2720
2720
  return a;
2721
2721
  }
2722
- function Ns(e, t, n, o, r, i) {
2722
+ function Ds(e, t, n, o, r, i) {
2723
2723
  const a = e[n];
2724
2724
  if (a != null) {
2725
2725
  const s = Ve(a, "default");
@@ -2865,7 +2865,7 @@ function Ug(e, t) {
2865
2865
  } = e, v = (x, $, q, X = null, Z = null, K = null, re = void 0, ie = null, te = !!$.dynamicChildren) => {
2866
2866
  if (x === $)
2867
2867
  return;
2868
- x && !vr(x, $) && (X = rt(x), De(x, Z, K, !0), x = null), $.patchFlag === -2 && (te = !1, $.dynamicChildren = null), $.dynamicChildren && x && x.dynamicChildren && x.dynamicChildren.hasOnce && ($.dynamicChildren === _o && ($.dynamicChildren = []), $.dynamicChildren.hasOnce = !0);
2868
+ x && !vr(x, $) && (X = rt(x), Ne(x, Z, K, !0), x = null), $.patchFlag === -2 && (te = !1, $.dynamicChildren = null), $.dynamicChildren && x && x.dynamicChildren && x.dynamicChildren.hasOnce && ($.dynamicChildren === _o && ($.dynamicChildren = []), $.dynamicChildren.hasOnce = !0);
2869
2869
  const { type: H, ref: ye, shapeFlag: ue } = $;
2870
2870
  switch (H) {
2871
2871
  case Jr:
@@ -2976,7 +2976,7 @@ function Ug(e, t) {
2976
2976
  else {
2977
2977
  const H = x.el && x.el._isVueCE ? x.el : null;
2978
2978
  try {
2979
- H && H._beginPatch(), N(
2979
+ H && H._beginPatch(), D(
2980
2980
  x,
2981
2981
  $,
2982
2982
  Z,
@@ -3048,7 +3048,7 @@ function Ug(e, t) {
3048
3048
  ie
3049
3049
  );
3050
3050
  }
3051
- }, N = (x, $, q, X, Z, K, re) => {
3051
+ }, D = (x, $, q, X, Z, K, re) => {
3052
3052
  const ie = $.el = x.el;
3053
3053
  let { patchFlag: te, dynamicChildren: H, dirs: ye } = $;
3054
3054
  te |= x.patchFlag & 16;
@@ -3204,7 +3204,7 @@ function Ug(e, t) {
3204
3204
  X,
3205
3205
  Z
3206
3206
  );
3207
- if (Nl(x) && (ie.ctx.renderer = Oe), Xg(ie, !1, re), ie.asyncDep) {
3207
+ if (Dl(x) && (ie.ctx.renderer = Oe), Xg(ie, !1, re), ie.asyncDep) {
3208
3208
  if (Z && Z.registerDep(ie, oe, re), !x.el) {
3209
3209
  const te = ie.subTree = j(Zt);
3210
3210
  b(null, te, $, q), x.placeholder = te.el;
@@ -3221,7 +3221,7 @@ function Ug(e, t) {
3221
3221
  );
3222
3222
  }, W = (x, $, q) => {
3223
3223
  const X = $.component = x.component;
3224
- if (Dg(x, $, q))
3224
+ if (Ng(x, $, q))
3225
3225
  if (X.asyncDep && !X.asyncResolved) {
3226
3226
  $.el = x.el, ae(X, $, q);
3227
3227
  return;
@@ -3299,7 +3299,7 @@ function Ug(e, t) {
3299
3299
  }, ae = (x, $, q) => {
3300
3300
  $.component = x;
3301
3301
  const X = x.vnode.props;
3302
- x.vnode = $, x.next = null, Fg(x, $.props, X, q), Vg(x, $.children, q), Dn(), Bu(x), Mn();
3302
+ x.vnode = $, x.next = null, Fg(x, $.props, X, q), Vg(x, $.children, q), Nn(), Bu(x), Mn();
3303
3303
  }, ve = (x, $, q, X, Z, K, re, ie, te = !1) => {
3304
3304
  const H = x && x.children, ye = x ? x.shapeFlag : 0, ue = $.children, { patchFlag: ge, shapeFlag: Se } = $;
3305
3305
  if (ge > 0) {
@@ -3445,7 +3445,7 @@ function Ug(e, t) {
3445
3445
  }
3446
3446
  } else if (H > ge)
3447
3447
  for (; H <= ue; )
3448
- De(x[H], Z, K, !0), H++;
3448
+ Ne(x[H], Z, K, !0), H++;
3449
3449
  else {
3450
3450
  const Se = H, Te = H, Y = /* @__PURE__ */ new Map();
3451
3451
  for (H = Te; H <= ge; H++) {
@@ -3460,7 +3460,7 @@ function Ug(e, t) {
3460
3460
  for (H = Se; H <= ue; H++) {
3461
3461
  const Bt = x[H];
3462
3462
  if (Ee >= Fe) {
3463
- De(Bt, Z, K, !0);
3463
+ Ne(Bt, Z, K, !0);
3464
3464
  continue;
3465
3465
  }
3466
3466
  let cn;
@@ -3472,7 +3472,7 @@ function Ug(e, t) {
3472
3472
  cn = fe;
3473
3473
  break;
3474
3474
  }
3475
- cn === void 0 ? De(Bt, Z, K, !0) : (hr[cn - Te] = H + 1, cn >= un ? un = cn : ln = !0, v(
3475
+ cn === void 0 ? Ne(Bt, Z, K, !0) : (hr[cn - Te] = H + 1, cn >= un ? un = cn : ln = !0, v(
3476
3476
  Bt,
3477
3477
  $[cn],
3478
3478
  q,
@@ -3486,7 +3486,7 @@ function Ug(e, t) {
3486
3486
  }
3487
3487
  const Iu = ln ? Kg(hr) : _o;
3488
3488
  for (fe = Iu.length - 1, H = Fe - 1; H >= 0; H--) {
3489
- const Bt = Te + H, cn = $[Bt], Ru = $[Bt + 1], Nu = Bt + 1 < ye ? (
3489
+ const Bt = Te + H, cn = $[Bt], Ru = $[Bt + 1], Du = Bt + 1 < ye ? (
3490
3490
  // #13559, #14173 fallback to el placeholder for unresolved async component
3491
3491
  Ru.el || Sp(Ru)
3492
3492
  ) : X;
@@ -3494,13 +3494,13 @@ function Ug(e, t) {
3494
3494
  null,
3495
3495
  cn,
3496
3496
  q,
3497
- Nu,
3497
+ Du,
3498
3498
  Z,
3499
3499
  K,
3500
3500
  re,
3501
3501
  ie,
3502
3502
  te
3503
- ) : ln && (fe < 0 || H !== Iu[fe] ? Ce(cn, q, Nu, 2) : fe--);
3503
+ ) : ln && (fe < 0 || H !== Iu[fe] ? Ce(cn, q, Du, 2) : fe--);
3504
3504
  }
3505
3505
  }
3506
3506
  }, Ce = (x, $, q, X, Z = null) => {
@@ -3547,7 +3547,7 @@ function Ug(e, t) {
3547
3547
  }
3548
3548
  else
3549
3549
  o(K, $, q);
3550
- }, De = (x, $, q, X = !1, Z = !1) => {
3550
+ }, Ne = (x, $, q, X = !1, Z = !1) => {
3551
3551
  const {
3552
3552
  type: K,
3553
3553
  props: re,
@@ -3560,14 +3560,14 @@ function Ug(e, t) {
3560
3560
  cacheIndex: Se,
3561
3561
  memo: Te
3562
3562
  } = x;
3563
- if ((ue === -2 || H && H.hasOnce) && (Z = !1), ie != null && (Dn(), $r(ie, null, q, x, !0), Mn()), Se != null && (!x.ctx || x.ctx === $) && ($.renderCache[Se] = void 0), ye & 256) {
3563
+ if ((ue === -2 || H && H.hasOnce) && (Z = !1), ie != null && (Nn(), $r(ie, null, q, x, !0), Mn()), Se != null && (!x.ctx || x.ctx === $) && ($.renderCache[Se] = void 0), ye & 256) {
3564
3564
  $.ctx.deactivate(x);
3565
3565
  return;
3566
3566
  }
3567
3567
  const Y = ye & 1 && ge, fe = !Wo(x);
3568
3568
  let Ee;
3569
3569
  if (fe && (Ee = re && re.onVnodeBeforeUnmount) && dn(Ee, $, x), ye & 6)
3570
- Dt(x.component, q, X);
3570
+ Nt(x.component, q, X);
3571
3571
  else {
3572
3572
  if (ye & 128) {
3573
3573
  x.suspense.unmount(q, X);
@@ -3620,14 +3620,14 @@ function Ug(e, t) {
3620
3620
  for (; x !== $; )
3621
3621
  q = p(x), r(x), x = q;
3622
3622
  r($);
3623
- }, Dt = (x, $, q) => {
3623
+ }, Nt = (x, $, q) => {
3624
3624
  const { bum: X, scope: Z, job: K, subTree: re, um: ie, m: te, a: H } = x;
3625
- ec(te), ec(H), X && xi(X), Z.stop(), K ? (K.flags |= 8, De(re, x, $, q)) : x.vnode.el && re && (re.transition = x.vnode.transition, De(re, x, $, q)), ie && Tt(ie, $), Tt(() => {
3625
+ ec(te), ec(H), X && xi(X), Z.stop(), K ? (K.flags |= 8, Ne(re, x, $, q)) : x.vnode.el && re && (re.transition = x.vnode.transition, Ne(re, x, $, q)), ie && Tt(ie, $), Tt(() => {
3626
3626
  x.isUnmounted = !0;
3627
3627
  }, $);
3628
3628
  }, Ct = (x, $, q, X = !1, Z = !1, K = 0) => {
3629
3629
  for (let re = K; re < x.length; re++)
3630
- De(x[re], $, q, X, Z);
3630
+ Ne(x[re], $, q, X, Z);
3631
3631
  }, rt = (x) => {
3632
3632
  if (x.shapeFlag & 6)
3633
3633
  return rt(x.component.subTree);
@@ -3639,7 +3639,7 @@ function Ug(e, t) {
3639
3639
  let me = !1;
3640
3640
  const se = (x, $, q) => {
3641
3641
  let X;
3642
- x == null ? $._vnode && (De($._vnode, null, null, !0), X = $._vnode.component) : v(
3642
+ x == null ? $._vnode && (Ne($._vnode, null, null, !0), X = $._vnode.component) : v(
3643
3643
  $._vnode || null,
3644
3644
  x,
3645
3645
  $,
@@ -3650,7 +3650,7 @@ function Ug(e, t) {
3650
3650
  ), $._vnode = x, me || (me = !0, Bu(X), jf(), me = !1);
3651
3651
  }, Oe = {
3652
3652
  p: v,
3653
- um: De,
3653
+ um: Ne,
3654
3654
  m: Ce,
3655
3655
  r: Ye,
3656
3656
  mt: J,
@@ -3752,7 +3752,7 @@ function E(e, t, n, o, r, i) {
3752
3752
  )
3753
3753
  );
3754
3754
  }
3755
- function D(e, t, n, o, r) {
3755
+ function N(e, t, n, o, r) {
3756
3756
  return kp(
3757
3757
  j(
3758
3758
  e,
@@ -3901,7 +3901,7 @@ function $e(e = " ", t = 0) {
3901
3901
  return j(Jr, null, e, t);
3902
3902
  }
3903
3903
  function F(e = "", t = !1) {
3904
- return t ? (y(), D(Zt, null, e)) : j(Zt, null, e);
3904
+ return t ? (y(), N(Zt, null, e)) : j(Zt, null, e);
3905
3905
  }
3906
3906
  function mn(e) {
3907
3907
  return e == null || typeof e == "boolean" ? j(Zt) : we(e) ? j(
@@ -4088,7 +4088,7 @@ function Qg(e, t) {
4088
4088
  e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Sg);
4089
4089
  const { setup: o } = n;
4090
4090
  if (o) {
4091
- Dn();
4091
+ Nn();
4092
4092
  const r = e.setupContext = o.length > 1 ? Ep(e) : null, i = Yr(e), a = Hr(
4093
4093
  o,
4094
4094
  e,
@@ -4124,7 +4124,7 @@ function Ap(e, t, n) {
4124
4124
  e.render || (e.render = o.render || gn);
4125
4125
  {
4126
4126
  const r = Yr(e);
4127
- Dn();
4127
+ Nn();
4128
4128
  try {
4129
4129
  xg(e);
4130
4130
  } finally {
@@ -4194,16 +4194,16 @@ function ry(e, t) {
4194
4194
  return Jo > 0 && Rt && Rt.push(e), !0;
4195
4195
  }
4196
4196
  const iy = "3.5.43";
4197
- let Ds;
4197
+ let Ns;
4198
4198
  const oc = typeof window < "u" && window.trustedTypes;
4199
4199
  if (oc)
4200
4200
  try {
4201
- Ds = /* @__PURE__ */ oc.createPolicy("vue", {
4201
+ Ns = /* @__PURE__ */ oc.createPolicy("vue", {
4202
4202
  createHTML: (e) => e
4203
4203
  });
4204
4204
  } catch {
4205
4205
  }
4206
- const $p = Ds ? (e) => Ds.createHTML(e) : (e) => e, ay = "http://www.w3.org/2000/svg", sy = "http://www.w3.org/1998/Math/MathML", Pn = typeof document < "u" ? document : null, rc = Pn && /* @__PURE__ */ Pn.createElement("template"), ly = {
4206
+ const $p = Ns ? (e) => Ns.createHTML(e) : (e) => e, ay = "http://www.w3.org/2000/svg", sy = "http://www.w3.org/1998/Math/MathML", Pn = typeof document < "u" ? document : null, rc = Pn && /* @__PURE__ */ Pn.createElement("template"), ly = {
4207
4207
  insert: (e, t, n) => {
4208
4208
  t.insertBefore(e, n || null);
4209
4209
  },
@@ -4561,18 +4561,18 @@ let pc;
4561
4561
  function Ry() {
4562
4562
  return pc || (pc = jg(Iy));
4563
4563
  }
4564
- const Ny = ((...e) => {
4564
+ const Dy = ((...e) => {
4565
4565
  const t = Ry().createApp(...e), { mount: n } = t;
4566
4566
  return t.mount = (o) => {
4567
4567
  const r = My(o);
4568
4568
  if (!r) return;
4569
4569
  const i = t._component;
4570
4570
  !ke(i) && !i.render && !i.template && (i.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
4571
- const a = n(r, !1, Dy(r));
4571
+ const a = n(r, !1, Ny(r));
4572
4572
  return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), a;
4573
4573
  }, t;
4574
4574
  });
4575
- function Dy(e) {
4575
+ function Ny(e) {
4576
4576
  if (e instanceof SVGElement)
4577
4577
  return "svg";
4578
4578
  if (typeof MathMLElement == "function" && e instanceof MathMLElement)
@@ -4689,7 +4689,7 @@ function Vy(e) {
4689
4689
  function jy(e) {
4690
4690
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
4691
4691
  }
4692
- const Np = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
4692
+ const Dp = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
4693
4693
  };
4694
4694
  function Vi(e) {
4695
4695
  return typeof e == "object" && e !== null && !Array.isArray(e);
@@ -4713,7 +4713,7 @@ function Yo(e) {
4713
4713
  const n = t.prototype;
4714
4714
  return !(Vi(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
4715
4715
  }
4716
- function Dp(e) {
4716
+ function Np(e) {
4717
4717
  return Yo(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
4718
4718
  }
4719
4719
  const Wy = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
@@ -4955,7 +4955,7 @@ const ab = {
4955
4955
  Gn = !0;
4956
4956
  }
4957
4957
  };
4958
- function Ne(e, t, n) {
4958
+ function De(e, t, n) {
4959
4959
  const o = Object.getPrototypeOf(e._zod);
4960
4960
  if (t in o && os !== e._zod) {
4961
4961
  os = void 0;
@@ -5166,7 +5166,7 @@ const Ul = (e) => {
5166
5166
  throw new ko();
5167
5167
  if (s.issues.length) {
5168
5168
  const l = new (i?.Err ?? e)(s.issues.map((c) => no(c, a, bn())));
5169
- throw Np(l, i?.callee ?? t), l;
5169
+ throw Dp(l, i?.callee ?? t), l;
5170
5170
  }
5171
5171
  return s.value;
5172
5172
  };
@@ -5177,7 +5177,7 @@ const Ul = (e) => {
5177
5177
  let s = n._zod.run({ value: o, issues: [] }, a);
5178
5178
  if (s instanceof Promise && (s = await s), s.issues.length) {
5179
5179
  const l = new (i?.Err ?? e)(s.issues.map((c) => no(c, a, bn())));
5180
- throw Np(l, i?.callee ?? t), l;
5180
+ throw Dp(l, i?.callee ?? t), l;
5181
5181
  }
5182
5182
  return s.value;
5183
5183
  };
@@ -5249,7 +5249,7 @@ const xb = async (e, t, n) => {
5249
5249
  }, $b = (e) => (t, n, o) => Kl(e)(t, n, o), Ob = (e) => async (t, n, o) => {
5250
5250
  const r = o ? { ...o, direction: "backward" } : { direction: "backward" };
5251
5251
  return Zl(e)(t, n, r);
5252
- }, Tb = (e) => async (t, n, o) => Zl(e)(t, n, o), Ib = /^[cC][0-9a-z]{6,}$/, Rb = /^[0-9a-z]+$/, Nb = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/, Db = /^[0-9a-vA-V]{20}$/, Mb = /^[A-Za-z0-9]{27}$/, zb = /^[a-zA-Z0-9_-]{21}$/;
5252
+ }, Tb = (e) => async (t, n, o) => Zl(e)(t, n, o), Ib = /^[cC][0-9a-z]{6,}$/, Rb = /^[0-9a-z]+$/, Db = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/, Nb = /^[0-9a-vA-V]{20}$/, Mb = /^[A-Za-z0-9]{27}$/, zb = /^[a-zA-Z0-9_-]{21}$/;
5253
5253
  function Fb(e) {
5254
5254
  return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`);
5255
5255
  }
@@ -5778,14 +5778,14 @@ const Tw = /* @__PURE__ */ V("$ZodURL", (e, t) => {
5778
5778
  if (t.length !== void 0 && (!Number.isInteger(t.length) || t.length < 1))
5779
5779
  throw new Error(`Invalid nanoid length: ${t.length}`);
5780
5780
  t.pattern ?? (t.pattern = t.length === void 0 ? zb : Fb(t.length)), et.init(e, t);
5781
- }), Nw = /* @__PURE__ */ V("$ZodCUID", (e, t) => {
5781
+ }), Dw = /* @__PURE__ */ V("$ZodCUID", (e, t) => {
5782
5782
  t.pattern ?? (t.pattern = Ib), et.init(e, t);
5783
- }), Dw = /* @__PURE__ */ V("$ZodCUID2", (e, t) => {
5783
+ }), Nw = /* @__PURE__ */ V("$ZodCUID2", (e, t) => {
5784
5784
  t.pattern ?? (t.pattern = Rb), et.init(e, t);
5785
5785
  }), Mw = /* @__PURE__ */ V("$ZodULID", (e, t) => {
5786
- t.pattern ?? (t.pattern = Nb), et.init(e, t);
5787
- }), zw = /* @__PURE__ */ V("$ZodXID", (e, t) => {
5788
5786
  t.pattern ?? (t.pattern = Db), et.init(e, t);
5787
+ }), zw = /* @__PURE__ */ V("$ZodXID", (e, t) => {
5788
+ t.pattern ?? (t.pattern = Nb), et.init(e, t);
5789
5789
  }), Fw = /* @__PURE__ */ V("$ZodKSUID", (e, t) => {
5790
5790
  t.pattern ?? (t.pattern = Mb), et.init(e, t);
5791
5791
  }), qw = /* @__PURE__ */ V("$ZodISODateTime", (e, t) => {
@@ -6068,7 +6068,7 @@ const u_ = /* @__PURE__ */ V("$ZodObject", (e, t) => {
6068
6068
  c.raw = o, Object.defineProperty(t, "shape", { get: c });
6069
6069
  }
6070
6070
  const r = Ll(() => eh(t));
6071
- Ne(e, "propValues", (c) => {
6071
+ De(e, "propValues", (c) => {
6072
6072
  const u = c.def.shape, d = {};
6073
6073
  for (const p in u) {
6074
6074
  const h = u[p]._zod;
@@ -6134,7 +6134,7 @@ const u_ = /* @__PURE__ */ V("$ZodObject", (e, t) => {
6134
6134
  for (const S of m.allKeys) {
6135
6135
  if (S === "__proto__")
6136
6136
  continue;
6137
- const k = A[S], P = typeof S == "symbol" ? `syms[${v.indexOf(S)}]` : Vy(S), O = `${P} in input`, N = h[S], I = N?._zod?.optin, L = I !== void 0, B = N?._zod?.optout === "optional";
6137
+ const k = A[S], P = typeof S == "symbol" ? `syms[${v.indexOf(S)}]` : Vy(S), O = `${P} in input`, D = h[S], I = D?._zod?.optin, L = I !== void 0, B = D?._zod?.optout === "optional";
6138
6138
  if (g.write(`const ${k} = ${b(P)};`), L && B) {
6139
6139
  const G = I === "optional" ? `${k}_present` : `${k}.value !== undefined || ${k}_present`;
6140
6140
  g.write(`
@@ -6208,10 +6208,10 @@ function kc(e, t, n, o) {
6208
6208
  }), t);
6209
6209
  }
6210
6210
  const d_ = /* @__PURE__ */ V("$ZodUnion", (e, t) => {
6211
- Ze.init(e, t), Ne(e, "optin", (o) => o.def.options.some((r) => r._zod.optin === "defaulted") ? "defaulted" : o.def.options.some((r) => r._zod.optin !== void 0) ? "optional" : void 0), Ne(e, "optout", (o) => o.def.options.some((r) => r._zod.optout === "optional") ? "optional" : void 0), Ne(e, "values", (o) => {
6211
+ Ze.init(e, t), De(e, "optin", (o) => o.def.options.some((r) => r._zod.optin === "defaulted") ? "defaulted" : o.def.options.some((r) => r._zod.optin !== void 0) ? "optional" : void 0), De(e, "optout", (o) => o.def.options.some((r) => r._zod.optout === "optional") ? "optional" : void 0), De(e, "values", (o) => {
6212
6212
  if (o.def.options.every((r) => r._zod.values))
6213
6213
  return new Set(o.def.options.flatMap((r) => Array.from(r._zod.values)));
6214
- }), Ne(e, "pattern", (o) => {
6214
+ }), De(e, "pattern", (o) => {
6215
6215
  if (o.def.options.every((r) => r._zod.pattern)) {
6216
6216
  const r = o.def.options.map((i) => i._zod.pattern);
6217
6217
  return new RegExp(`^(${r.map((i) => Bl(i.source)).join("|")})$`);
@@ -6422,7 +6422,7 @@ const p_ = /* @__PURE__ */ V("$ZodRecord", (e, t) => {
6422
6422
  }), h_ = /* @__PURE__ */ V("$ZodEnum", (e, t) => {
6423
6423
  Ze.init(e, t);
6424
6424
  const n = Ms(t.entries), o = new Set(n);
6425
- e._zod.values = o, Ne(e, "pattern", (r) => {
6425
+ e._zod.values = o, De(e, "pattern", (r) => {
6426
6426
  const i = Ms(r.def.entries).filter((a) => Wy.has(typeof a));
6427
6427
  return new RegExp(i.length ? `^(${i.map((a) => Xo(a.toString())).join("|")})$` : "^[^\\s\\S]$");
6428
6428
  }), e._zod.parse = (r, i) => {
@@ -6437,7 +6437,7 @@ const p_ = /* @__PURE__ */ V("$ZodRecord", (e, t) => {
6437
6437
  }), m_ = /* @__PURE__ */ V("$ZodLiteral", (e, t) => {
6438
6438
  Ze.init(e, t);
6439
6439
  const n = new Set(t.values);
6440
- e._zod.values = n, Ne(e, "pattern", (o) => {
6440
+ e._zod.values = n, De(e, "pattern", (o) => {
6441
6441
  const r = o.def.values;
6442
6442
  return new RegExp(r.length ? `^(${r.map((i) => typeof i == "string" ? Xo(i) : i ? Xo(i.toString()) : String(i)).join("|")})$` : "^[^\\s\\S]$");
6443
6443
  }), e._zod.parse = (o, r) => {
@@ -6465,10 +6465,10 @@ function Pc(e, t) {
6465
6465
  return e.value = t.issues.length ? void 0 : t.value, e;
6466
6466
  }
6467
6467
  const nh = /* @__PURE__ */ V("$ZodOptional", (e, t) => {
6468
- Ze.init(e, t), Ne(e, "optin", (n) => n.def.innerType._zod.optin === "defaulted" ? "defaulted" : "optional"), e._zod.optout = "optional", Ne(e, "values", (n) => {
6468
+ Ze.init(e, t), De(e, "optin", (n) => n.def.innerType._zod.optin === "defaulted" ? "defaulted" : "optional"), e._zod.optout = "optional", De(e, "values", (n) => {
6469
6469
  const o = n.def.innerType._zod.values;
6470
6470
  return o ? /* @__PURE__ */ new Set([...o, void 0]) : void 0;
6471
- }), Ne(e, "pattern", (n) => {
6471
+ }), De(e, "pattern", (n) => {
6472
6472
  const o = n.def.innerType._zod.pattern;
6473
6473
  return o ? new RegExp(`^(${Bl(o.source)})?$`) : void 0;
6474
6474
  }), e._zod.parse = (n, o) => {
@@ -6481,14 +6481,14 @@ const nh = /* @__PURE__ */ V("$ZodOptional", (e, t) => {
6481
6481
  return t.innerType._zod.run(n, o);
6482
6482
  };
6483
6483
  }), g_ = /* @__PURE__ */ V("$ZodExactOptional", (e, t) => {
6484
- nh.init(e, t), Ne(e, "values", (n) => n.def.innerType._zod.values), Ne(e, "pattern", (n) => n.def.innerType._zod.pattern), e._zod.parse = (n, o) => t.innerType._zod.run(n, o);
6484
+ nh.init(e, t), De(e, "values", (n) => n.def.innerType._zod.values), De(e, "pattern", (n) => n.def.innerType._zod.pattern), e._zod.parse = (n, o) => t.innerType._zod.run(n, o);
6485
6485
  }), y_ = /* @__PURE__ */ V("$ZodNullable", (e, t) => {
6486
- Ze.init(e, t), Ne(e, "optin", (n) => n.def.innerType._zod.optin), Ne(e, "optout", (n) => n.def.innerType._zod.optout), Ne(e, "pattern", (n) => {
6486
+ Ze.init(e, t), De(e, "optin", (n) => n.def.innerType._zod.optin), De(e, "optout", (n) => n.def.innerType._zod.optout), De(e, "pattern", (n) => {
6487
6487
  const o = n.def.innerType._zod.pattern;
6488
6488
  return o ? new RegExp(`^(${Bl(o.source)}|null)$`) : void 0;
6489
- }), Ne(e, "values", (n) => n.def.innerType._zod.values ? /* @__PURE__ */ new Set([...n.def.innerType._zod.values, null]) : void 0), e._zod.parse = (n, o) => n.value === null ? n : t.innerType._zod.run(n, o);
6489
+ }), De(e, "values", (n) => n.def.innerType._zod.values ? /* @__PURE__ */ new Set([...n.def.innerType._zod.values, null]) : void 0), e._zod.parse = (n, o) => n.value === null ? n : t.innerType._zod.run(n, o);
6490
6490
  }), b_ = /* @__PURE__ */ V("$ZodDefault", (e, t) => {
6491
- Ze.init(e, t), e._zod.optin = "defaulted", Ne(e, "values", (n) => n.def.innerType._zod.values), e._zod.parse = (n, o) => {
6491
+ Ze.init(e, t), e._zod.optin = "defaulted", De(e, "values", (n) => n.def.innerType._zod.values), e._zod.parse = (n, o) => {
6492
6492
  if (o.direction === "backward")
6493
6493
  return t.innerType._zod.run(n, o);
6494
6494
  if (n.value === void 0)
@@ -6501,9 +6501,9 @@ function Ac(e, t) {
6501
6501
  return e.value === void 0 && (e.value = t.defaultValue), e;
6502
6502
  }
6503
6503
  const w_ = /* @__PURE__ */ V("$ZodPrefault", (e, t) => {
6504
- Ze.init(e, t), e._zod.optin = "defaulted", Ne(e, "values", (n) => n.def.innerType._zod.values), e._zod.parse = (n, o) => (o.direction === "backward" || n.value === void 0 && (n.value = t.defaultValue), t.innerType._zod.run(n, o));
6504
+ Ze.init(e, t), e._zod.optin = "defaulted", De(e, "values", (n) => n.def.innerType._zod.values), e._zod.parse = (n, o) => (o.direction === "backward" || n.value === void 0 && (n.value = t.defaultValue), t.innerType._zod.run(n, o));
6505
6505
  }), __ = /* @__PURE__ */ V("$ZodNonOptional", (e, t) => {
6506
- Ze.init(e, t), Ne(e, "values", (n) => {
6506
+ Ze.init(e, t), De(e, "values", (n) => {
6507
6507
  const o = n.def.innerType._zod.values;
6508
6508
  return o ? new Set([...o].filter((r) => r !== void 0)) : void 0;
6509
6509
  }), e._zod.parse = (n, o) => {
@@ -6530,14 +6530,14 @@ function $c(e, t, n, o) {
6530
6530
  }), e) : (e.value = t.value, t.memo && (e.memo = !0), e);
6531
6531
  }
6532
6532
  const S_ = /* @__PURE__ */ V("$ZodCatch", (e, t) => {
6533
- Ze.init(e, t), Ne(e, "optin", (n) => n.def.innerType._zod.optin === "defaulted" ? "defaulted" : "optional"), Ne(e, "optout", (n) => n.def.innerType._zod.optout), Ne(e, "values", (n) => n.def.innerType._zod.values), e._zod.parse = (n, o) => {
6533
+ Ze.init(e, t), De(e, "optin", (n) => n.def.innerType._zod.optin === "defaulted" ? "defaulted" : "optional"), De(e, "optout", (n) => n.def.innerType._zod.optout), De(e, "values", (n) => n.def.innerType._zod.values), e._zod.parse = (n, o) => {
6534
6534
  if (o.direction === "backward")
6535
6535
  return t.innerType._zod.run(n, o);
6536
6536
  const r = t.innerType._zod.run({ value: n.value, issues: [] }, o);
6537
6537
  return r instanceof Promise ? r.then((i) => $c(n, i, t, o)) : $c(n, r, t, o);
6538
6538
  };
6539
6539
  }), x_ = /* @__PURE__ */ V("$ZodPipe", (e, t) => {
6540
- Ze.init(e, t), Ne(e, "values", (n) => n.def.in._zod.values), Ne(e, "optin", (n) => n.def.in._zod.optin), Ne(e, "optout", (n) => n.def.out._zod.optout), Ne(e, "propValues", (n) => n.def.in._zod.propValues), e._zod.parse = (n, o) => {
6540
+ Ze.init(e, t), De(e, "values", (n) => n.def.in._zod.values), De(e, "optin", (n) => n.def.in._zod.optin), De(e, "optout", (n) => n.def.out._zod.optout), De(e, "propValues", (n) => n.def.in._zod.propValues), e._zod.parse = (n, o) => {
6541
6541
  if (o.direction === "backward") {
6542
6542
  const i = t.out._zod.run(n, o);
6543
6543
  return i instanceof Promise ? i.then((a) => li(a, t.in, o)) : li(i, t.in, o);
@@ -6550,7 +6550,7 @@ function li(e, t, n) {
6550
6550
  return e.issues.some((o) => o.code !== "unrecognized_keys") ? (e.aborted = !0, e) : t._zod.run({ value: e.value, issues: e.issues }, n);
6551
6551
  }
6552
6552
  const k_ = /* @__PURE__ */ V("$ZodReadonly", (e, t) => {
6553
- Ze.init(e, t), Ne(e, "propValues", (n) => n.def.innerType._zod.propValues), Ne(e, "values", (n) => n.def.innerType._zod.values), Ne(e, "optin", (n) => n.def.innerType?._zod?.optin), Ne(e, "optout", (n) => n.def.innerType?._zod?.optout), e._zod.parse = (n, o) => {
6553
+ Ze.init(e, t), De(e, "propValues", (n) => n.def.innerType._zod.propValues), De(e, "values", (n) => n.def.innerType._zod.values), De(e, "optin", (n) => n.def.innerType?._zod?.optin), De(e, "optout", (n) => n.def.innerType?._zod?.optout), e._zod.parse = (n, o) => {
6554
6554
  if (o.direction === "backward")
6555
6555
  return t.innerType._zod.run(n, o);
6556
6556
  const r = t.innerType._zod.run(n, o);
@@ -6564,7 +6564,7 @@ const C_ = /* @__PURE__ */ V("$ZodLazy", (e, t) => {
6564
6564
  Ze.init(e, t), Ly(e._zod, "innerType", () => {
6565
6565
  const n = t;
6566
6566
  return n._cachedInner || (n._cachedInner = t.getter()), n._cachedInner;
6567
- }), Ne(e, "pattern", (n) => n.innerType?._zod?.pattern), Ne(e, "propValues", (n) => n.innerType?._zod?.propValues), Ne(e, "optin", (n) => n.innerType?._zod?.optin ?? void 0), Ne(e, "optout", (n) => n.innerType?._zod?.optout ?? void 0), e._zod.parse = (n, o) => e._zod.innerType._zod.run(n, o);
6567
+ }), De(e, "pattern", (n) => n.innerType?._zod?.pattern), De(e, "propValues", (n) => n.innerType?._zod?.propValues), De(e, "optin", (n) => n.innerType?._zod?.optin ?? void 0), De(e, "optout", (n) => n.innerType?._zod?.optout ?? void 0), e._zod.parse = (n, o) => e._zod.innerType._zod.run(n, o);
6568
6568
  }), P_ = /* @__PURE__ */ V("$ZodCustom", (e, t) => {
6569
6569
  qt.init(e, t), Ze.init(e, t), e._zod.parse = (n, o) => n, e._zod.check = (n) => {
6570
6570
  const o = n.value, r = t.fn(o);
@@ -6871,13 +6871,13 @@ const R_ = () => {
6871
6871
  }
6872
6872
  };
6873
6873
  };
6874
- function N_() {
6874
+ function D_() {
6875
6875
  return {
6876
6876
  localeError: R_()
6877
6877
  };
6878
6878
  }
6879
6879
  var Rc;
6880
- class D_ {
6880
+ class N_ {
6881
6881
  constructor() {
6882
6882
  this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
6883
6883
  }
@@ -6907,7 +6907,7 @@ class D_ {
6907
6907
  }
6908
6908
  }
6909
6909
  function M_() {
6910
- return new D_();
6910
+ return new N_();
6911
6911
  }
6912
6912
  (Rc = globalThis).__zod_globalRegistry ?? (Rc.__zod_globalRegistry = M_());
6913
6913
  const kr = globalThis.__zod_globalRegistry;
@@ -7229,7 +7229,7 @@ function v0(e, t) {
7229
7229
  });
7230
7230
  }
7231
7231
  // @__NO_SIDE_EFFECTS__
7232
- function Nc(e, t) {
7232
+ function Dc(e, t) {
7233
7233
  return new Up({
7234
7234
  check: "less_than",
7235
7235
  ...he(t),
@@ -7247,7 +7247,7 @@ function ss(e, t) {
7247
7247
  });
7248
7248
  }
7249
7249
  // @__NO_SIDE_EFFECTS__
7250
- function Dc(e, t) {
7250
+ function Nc(e, t) {
7251
7251
  return new Wp({
7252
7252
  check: "greater_than",
7253
7253
  ...he(t),
@@ -7799,7 +7799,7 @@ const R0 = (e, t = {}) => (n) => {
7799
7799
  vh(t, n.format);
7800
7800
  const [o, r] = e[n.format];
7801
7801
  Qo(t, "minimum", o), er(t, "maximum", r);
7802
- }, N0 = {
7802
+ }, D0 = {
7803
7803
  greater_than: (e, t) => Qo(e, t.inclusive ? "minimum" : "exclusiveMinimum", t.value),
7804
7804
  less_than: (e, t) => er(e, t.inclusive ? "maximum" : "exclusiveMaximum", t.value),
7805
7805
  multiple_of: (e, t) => ph(e, t.value),
@@ -7819,14 +7819,14 @@ const R0 = (e, t = {}) => (n) => {
7819
7819
  function Xt(e) {
7820
7820
  const t = {}, n = e._zod.def, o = e._zod.traits.has("$ZodCheck") ? [e, ...n.checks ?? []] : n.checks ?? [];
7821
7821
  for (const i of o)
7822
- N0[i._zod.def.check]?.(t, i._zod.def);
7822
+ D0[i._zod.def.check]?.(t, i._zod.def);
7823
7823
  const r = e._zod.bag;
7824
7824
  r.minimum !== void 0 && Qo(t, "minimum", r.minimum), r.exclusiveMinimum !== void 0 && Qo(t, "exclusiveMinimum", r.exclusiveMinimum), r.maximum !== void 0 && er(t, "maximum", r.maximum), r.exclusiveMaximum !== void 0 && er(t, "exclusiveMaximum", r.exclusiveMaximum), r.multipleOf !== void 0 && ph(t, r.multipleOf), r.format !== void 0 && (t.format ?? (t.format = r.format), r.format.includes("int") && (t.isInt = !0)), r.mime && mh(t, r.mime);
7825
7825
  for (const i of r.patterns ?? [])
7826
7826
  hh(t, i);
7827
7827
  return t;
7828
7828
  }
7829
- const D0 = {
7829
+ const N0 = {
7830
7830
  guid: "uuid",
7831
7831
  url: "uri",
7832
7832
  datetime: "date-time",
@@ -7840,7 +7840,7 @@ const D0 = {
7840
7840
  const r = n;
7841
7841
  r.type = "string";
7842
7842
  const { minimum: i, maximum: a, format: s, patterns: l, contentEncoding: c, laxFormat: u } = Xt(e);
7843
- if (typeof i == "number" && (r.minLength = i), typeof a == "number" && (r.maxLength = a), s && (r.format = D0[s] ?? s, r.format === "" && delete r.format, (s === "time" || u) && delete r.format), c && (r.contentEncoding = c), l && l.size > 0) {
7843
+ if (typeof i == "number" && (r.minLength = i), typeof a == "number" && (r.maxLength = a), s && (r.format = N0[s] ?? s, r.format === "" && delete r.format, (s === "time" || u) && delete r.format), c && (r.contentEncoding = c), l && l.size > 0) {
7844
7844
  const d = [...l].map(gh);
7845
7845
  d.length === 1 ? r.pattern = d[0].source : d.length > 1 && (r.allOf = [
7846
7846
  ...d.map((p) => ({
@@ -8119,7 +8119,7 @@ const lS = (e, t) => {
8119
8119
  Parent: Error
8120
8120
  }), uS = /* @__PURE__ */ Ul(Ht), cS = /* @__PURE__ */ Wl(Ht), dS = /* @__PURE__ */ Kl(Ht), fS = /* @__PURE__ */ Zl(Ht), pS = /* @__PURE__ */ kb(Ht), hS = /* @__PURE__ */ Cb(Ht), mS = /* @__PURE__ */ Pb(Ht), vS = /* @__PURE__ */ Ab(Ht), gS = /* @__PURE__ */ Eb(Ht), yS = /* @__PURE__ */ $b(Ht), bS = /* @__PURE__ */ Ob(Ht), wS = /* @__PURE__ */ Tb(Ht);
8121
8121
  function _S() {
8122
- rn.localeError || bn(N_());
8122
+ rn.localeError || bn(D_());
8123
8123
  }
8124
8124
  function Ca() {
8125
8125
  rn.memoizer || bn({ memoizer: T_() });
@@ -8385,7 +8385,7 @@ const He = /* @__PURE__ */ V("ZodType", (e, t) => (_S(), Ze.init(e, t), e.def =
8385
8385
  return this.check(/* @__PURE__ */ H_(RS, e));
8386
8386
  },
8387
8387
  ulid(e) {
8388
- return this.check(/* @__PURE__ */ G_(NS, e));
8388
+ return this.check(/* @__PURE__ */ G_(DS, e));
8389
8389
  },
8390
8390
  base64(e) {
8391
8391
  return this.check(/* @__PURE__ */ n0(BS, e));
@@ -8394,7 +8394,7 @@ const He = /* @__PURE__ */ V("ZodType", (e, t) => (_S(), Ze.init(e, t), e.def =
8394
8394
  return this.check(/* @__PURE__ */ o0(VS, e));
8395
8395
  },
8396
8396
  xid(e) {
8397
- return this.check(/* @__PURE__ */ J_(DS, e));
8397
+ return this.check(/* @__PURE__ */ J_(NS, e));
8398
8398
  },
8399
8399
  ksuid(e) {
8400
8400
  return this.check(/* @__PURE__ */ Y_(MS, e));
@@ -8453,12 +8453,12 @@ const nt = /* @__PURE__ */ V("ZodStringFormat", (e, t) => {
8453
8453
  }), TS = /* @__PURE__ */ V("ZodNanoID", (e, t) => {
8454
8454
  Rw.init(e, t), nt.init(e, t);
8455
8455
  }), IS = /* @__PURE__ */ V("ZodCUID", (e, t) => {
8456
- Nw.init(e, t), nt.init(e, t);
8457
- }), RS = /* @__PURE__ */ V("ZodCUID2", (e, t) => {
8458
8456
  Dw.init(e, t), nt.init(e, t);
8459
- }), NS = /* @__PURE__ */ V("ZodULID", (e, t) => {
8457
+ }), RS = /* @__PURE__ */ V("ZodCUID2", (e, t) => {
8458
+ Nw.init(e, t), nt.init(e, t);
8459
+ }), DS = /* @__PURE__ */ V("ZodULID", (e, t) => {
8460
8460
  Mw.init(e, t), nt.init(e, t);
8461
- }), DS = /* @__PURE__ */ V("ZodXID", (e, t) => {
8461
+ }), NS = /* @__PURE__ */ V("ZodXID", (e, t) => {
8462
8462
  zw.init(e, t), nt.init(e, t);
8463
8463
  }), MS = /* @__PURE__ */ V("ZodKSUID", (e, t) => {
8464
8464
  Fw.init(e, t), nt.init(e, t);
@@ -8499,7 +8499,7 @@ const nt = /* @__PURE__ */ V("ZodStringFormat", (e, t) => {
8499
8499
  format: (e) => Xt(e).format ?? null
8500
8500
  }, {
8501
8501
  gt(e, t) {
8502
- return this.check(/* @__PURE__ */ Dc(e, t));
8502
+ return this.check(/* @__PURE__ */ Nc(e, t));
8503
8503
  },
8504
8504
  gte(e, t) {
8505
8505
  return this.check(/* @__PURE__ */ ls(e, t));
@@ -8508,7 +8508,7 @@ const nt = /* @__PURE__ */ V("ZodStringFormat", (e, t) => {
8508
8508
  return this.check(/* @__PURE__ */ ls(e, t));
8509
8509
  },
8510
8510
  lt(e, t) {
8511
- return this.check(/* @__PURE__ */ Nc(e, t));
8511
+ return this.check(/* @__PURE__ */ Dc(e, t));
8512
8512
  },
8513
8513
  lte(e, t) {
8514
8514
  return this.check(/* @__PURE__ */ ss(e, t));
@@ -8523,13 +8523,13 @@ const nt = /* @__PURE__ */ V("ZodStringFormat", (e, t) => {
8523
8523
  return this.check(Wc(e));
8524
8524
  },
8525
8525
  positive(e) {
8526
- return this.check(/* @__PURE__ */ Dc(0, e));
8526
+ return this.check(/* @__PURE__ */ Nc(0, e));
8527
8527
  },
8528
8528
  nonnegative(e) {
8529
8529
  return this.check(/* @__PURE__ */ ls(0, e));
8530
8530
  },
8531
8531
  negative(e) {
8532
- return this.check(/* @__PURE__ */ Nc(0, e));
8532
+ return this.check(/* @__PURE__ */ Dc(0, e));
8533
8533
  },
8534
8534
  nonpositive(e) {
8535
8535
  return this.check(/* @__PURE__ */ ss(0, e));
@@ -8816,7 +8816,7 @@ function ux(e, t) {
8816
8816
  type: "default",
8817
8817
  innerType: e,
8818
8818
  get defaultValue() {
8819
- return typeof t == "function" ? t() : Dp(t);
8819
+ return typeof t == "function" ? t() : Np(t);
8820
8820
  }
8821
8821
  });
8822
8822
  }
@@ -8828,7 +8828,7 @@ function dx(e, t) {
8828
8828
  type: "prefault",
8829
8829
  innerType: e,
8830
8830
  get defaultValue() {
8831
- return typeof t == "function" ? t() : Dp(t);
8831
+ return typeof t == "function" ? t() : Np(t);
8832
8832
  }
8833
8833
  });
8834
8834
  }
@@ -9105,13 +9105,13 @@ function ed(e, t) {
9105
9105
  function Rx(e) {
9106
9106
  return typeof e == "object" && e !== null && !Array.isArray(e) && "$and" in e;
9107
9107
  }
9108
- function Nx(e) {
9108
+ function Dx(e) {
9109
9109
  return typeof e == "object" && e !== null && !Array.isArray(e) && "$or" in e;
9110
9110
  }
9111
9111
  function tr(e, t) {
9112
- return e === void 0 ? !0 : typeof e == "boolean" ? e : Array.isArray(e) ? e.every((n) => ed(n, t)) : Rx(e) ? e.$and.every((n) => tr(n, t)) : Nx(e) ? e.$or.some((n) => tr(n, t)) : ed(e, t);
9112
+ return e === void 0 ? !0 : typeof e == "boolean" ? e : Array.isArray(e) ? e.every((n) => ed(n, t)) : Rx(e) ? e.$and.every((n) => tr(n, t)) : Dx(e) ? e.$or.some((n) => tr(n, t)) : ed(e, t);
9113
9113
  }
9114
- function Dx(e) {
9114
+ function Nx(e) {
9115
9115
  const t = /* @__PURE__ */ new Map();
9116
9116
  for (const n of e)
9117
9117
  t.set(n.name, n);
@@ -9245,9 +9245,9 @@ function jx(e, t) {
9245
9245
  function Ux(e, t) {
9246
9246
  return Oh(e) ? eu(e.$item, t) : Th(e) ? t.repeatIndex : So(e, t);
9247
9247
  }
9248
- var Nh = /* @__PURE__ */ new Set();
9248
+ var Dh = /* @__PURE__ */ new Set();
9249
9249
  function Wx(e) {
9250
- for (const t of Nh) {
9250
+ for (const t of Dh) {
9251
9251
  const n = t.onDispatch;
9252
9252
  if (n)
9253
9253
  try {
@@ -9257,7 +9257,7 @@ function Wx(e) {
9257
9257
  }
9258
9258
  }
9259
9259
  function Kx(e) {
9260
- for (const t of Nh) {
9260
+ for (const t of Dh) {
9261
9261
  const n = t.onSettle;
9262
9262
  if (n)
9263
9263
  try {
@@ -9858,21 +9858,21 @@ Note: state patches appear right after the elements that use them, so the UI fil
9858
9858
  if (O) {
9859
9859
  a.push(`AVAILABLE COMPONENTS (${e.componentNames.length}):`), a.push("");
9860
9860
  for (const [be, Ce] of Object.entries(O)) {
9861
- const De = Ce.props ? Yt(Ce.props) : "{}", Ye = Ce.slots ?? [], ot = Ye.filter((Oe) => Oe !== "default"), Dt = Ye.includes("default"), Ct = h ? [
9862
- Dt ? "accepts children" : "",
9861
+ const Ne = Ce.props ? Yt(Ce.props) : "{}", Ye = Ce.slots ?? [], ot = Ye.filter((Oe) => Oe !== "default"), Nt = Ye.includes("default"), Ct = h ? [
9862
+ Nt ? "accepts children" : "",
9863
9863
  ot.length > 0 ? `slots: ${ot.join(", ")}` : ""
9864
9864
  ].filter(Boolean).join("; ") : Ye.length > 0 ? "accepts children" : "", rt = Ct ? ` [${Ct}]` : "", me = Ce.events && Ce.events.length > 0 ? ` [events: ${Ce.events.join(", ")}]` : "", se = Ce.description ? ` - ${Ce.description}` : "";
9865
- a.push(`- ${be}: ${De}${se}${rt}${me}`);
9865
+ a.push(`- ${be}: ${Ne}${se}${rt}${me}`);
9866
9866
  }
9867
9867
  a.push("");
9868
9868
  }
9869
- const N = e.data.actions, I = e.schema.builtInActions ?? [], L = N && e.actionNames.length > 0, B = I.length > 0;
9869
+ const D = e.data.actions, I = e.schema.builtInActions ?? [], L = D && e.actionNames.length > 0, B = I.length > 0;
9870
9870
  if (L || B) {
9871
9871
  a.push("AVAILABLE ACTIONS:"), a.push("");
9872
9872
  for (const be of I)
9873
9873
  a.push(`- ${be.name}: ${be.description} [built-in]`);
9874
9874
  if (L)
9875
- for (const [be, Ce] of Object.entries(N))
9875
+ for (const [be, Ce] of Object.entries(D))
9876
9876
  a.push(`- ${be}${Ce.description ? `: ${Ce.description}` : ""}`);
9877
9877
  a.push("");
9878
9878
  }
@@ -10020,9 +10020,9 @@ Note: state patches appear right after the elements that use them, so the UI fil
10020
10020
  `);
10021
10021
  }
10022
10022
  function sd(e) {
10023
- return e.example && Object.keys(e.example).length > 0 ? e.example : e.props ? Dh(e.props) : {};
10023
+ return e.example && Object.keys(e.example).length > 0 ? e.example : e.props ? Nh(e.props) : {};
10024
10024
  }
10025
- function Dh(e) {
10025
+ function Nh(e) {
10026
10026
  if (!e || !e._def) return {};
10027
10027
  const t = e._def, n = Ao(e);
10028
10028
  if (n !== "ZodObject" && n !== "object") return {};
@@ -10075,7 +10075,7 @@ function Hs(e) {
10075
10075
  return [];
10076
10076
  case "ZodObject":
10077
10077
  case "object":
10078
- return Dh(e);
10078
+ return Nh(e);
10079
10079
  case "ZodUnion":
10080
10080
  case "union": {
10081
10081
  const o = t.options;
@@ -10633,8 +10633,8 @@ var qh = /* @__PURE__ */ Symbol("json-render:actions"), Ok = /* @__PURE__ */ z({
10633
10633
  if (S) {
10634
10634
  const P = Gs(k, n), O = n(S) ?? [];
10635
10635
  o(S, [...O, P]);
10636
- const N = m.params.clearStatePath;
10637
- N && o(N, "");
10636
+ const D = m.params.clearStatePath;
10637
+ D && o(D, "");
10638
10638
  }
10639
10639
  return;
10640
10640
  }
@@ -10644,7 +10644,7 @@ var qh = /* @__PURE__ */ Symbol("json-render:actions"), Ok = /* @__PURE__ */ z({
10644
10644
  const P = n(S) ?? [];
10645
10645
  o(
10646
10646
  S,
10647
- P.filter((O, N) => N !== k)
10647
+ P.filter((O, D) => D !== k)
10648
10648
  );
10649
10649
  }
10650
10650
  return;
@@ -10658,8 +10658,8 @@ var qh = /* @__PURE__ */ Symbol("json-render:actions"), Ok = /* @__PURE__ */ z({
10658
10658
  return;
10659
10659
  }
10660
10660
  const k = S(), P = {};
10661
- for (const [N, I] of Object.entries(i.fieldStates))
10662
- I.result && !I.result.valid && (P[N] = I.result.errors);
10661
+ for (const [D, I] of Object.entries(i.fieldStates))
10662
+ I.result && !I.result.valid && (P[D] = I.result.errors);
10663
10663
  const O = m.params?.statePath || "/formValidation";
10664
10664
  o(O, { valid: k, errors: P });
10665
10665
  return;
@@ -10929,13 +10929,13 @@ var jh = /* @__PURE__ */ new WeakMap(), Uh = {}, Wh = /* @__PURE__ */ Symbol("js
10929
10929
  return Ue(Wh, n), () => t.default?.();
10930
10930
  }
10931
10931
  });
10932
- function Nk() {
10932
+ function Dk() {
10933
10933
  return Be(
10934
10934
  Wh,
10935
10935
  C(() => Uh)
10936
10936
  );
10937
10937
  }
10938
- var Kh = /* @__PURE__ */ Symbol("json-render:directives"), Dk = /* @__PURE__ */ z({
10938
+ var Kh = /* @__PURE__ */ Symbol("json-render:directives"), Nk = /* @__PURE__ */ z({
10939
10939
  name: "DirectivesProvider",
10940
10940
  props: {
10941
10941
  directives: {
@@ -10945,7 +10945,7 @@ var Kh = /* @__PURE__ */ Symbol("json-render:directives"), Dk = /* @__PURE__ */
10945
10945
  },
10946
10946
  setup(e, { slots: t }) {
10947
10947
  const n = C(
10948
- () => e.directives ? Dx(e.directives) : void 0
10948
+ () => e.directives ? Nx(e.directives) : void 0
10949
10949
  );
10950
10950
  return Ue(Kh, n), () => t.default?.();
10951
10951
  }
@@ -11024,7 +11024,7 @@ var tu = /* @__PURE__ */ z({
11024
11024
  }
11025
11025
  },
11026
11026
  setup(e) {
11027
- const t = Fk(), n = Vh(), { ctx: o } = Ck(), { execute: r } = Lh(), { getSnapshot: i, state: a } = ar(), s = Nk(), l = Mk(), c = C(() => {
11027
+ const t = Fk(), n = Vh(), { ctx: o } = Ck(), { execute: r } = Lh(), { getSnapshot: i, state: a } = ar(), s = Dk(), l = Mk(), c = C(() => {
11028
11028
  const h = n ? {
11029
11029
  ...o.value,
11030
11030
  repeatItem: n.item,
@@ -11150,7 +11150,7 @@ var tu = /* @__PURE__ */ z({
11150
11150
  loading: e.loading
11151
11151
  },
11152
11152
  { default: () => k, ...P }
11153
- ), N = t.value && e.elementKey ? ce(
11153
+ ), D = t.value && e.elementKey ? ce(
11154
11154
  "span",
11155
11155
  { "data-jr-key": e.elementKey, style: "display:contents" },
11156
11156
  [O]
@@ -11158,7 +11158,7 @@ var tu = /* @__PURE__ */ z({
11158
11158
  return ce(
11159
11159
  zk,
11160
11160
  { elementType: _.type },
11161
- { default: () => N }
11161
+ { default: () => D }
11162
11162
  );
11163
11163
  };
11164
11164
  }
@@ -11339,7 +11339,7 @@ var tu = /* @__PURE__ */ z({
11339
11339
  { functions: e.functions },
11340
11340
  {
11341
11341
  default: () => ce(
11342
- Dk,
11342
+ Nk,
11343
11343
  { directives: e.directives },
11344
11344
  {
11345
11345
  default: () => [
@@ -11682,7 +11682,11 @@ const Kk = {
11682
11682
  "Add tag": "Add tag",
11683
11683
  "Create “{name}”": "Create “{name}”",
11684
11684
  "Show details": "Show details",
11685
- "Hide details": "Hide details"
11685
+ "Hide details": "Hide details",
11686
+ "Discard changes?": "Discard changes?",
11687
+ "What you entered will be lost": "What you entered will be lost",
11688
+ "Keep editing": "Keep editing",
11689
+ Discard: "Discard"
11686
11690
  }, Zk = {
11687
11691
  en: Kk,
11688
11692
  "zh-TW": {
@@ -11920,7 +11924,11 @@ const Kk = {
11920
11924
  "Add tag": "新增標籤",
11921
11925
  "Create “{name}”": "建立「{name}」",
11922
11926
  "Show details": "顯示詳細資料",
11923
- "Hide details": "隱藏詳細資料"
11927
+ "Hide details": "隱藏詳細資料",
11928
+ "Discard changes?": "要捨棄變更嗎?",
11929
+ "What you entered will be lost": "您輸入的內容將會遺失",
11930
+ "Keep editing": "繼續編輯",
11931
+ Discard: "捨棄"
11924
11932
  },
11925
11933
  "zh-CN": {
11926
11934
  "{count} failed": "{count} 个失败",
@@ -12157,7 +12165,11 @@ const Kk = {
12157
12165
  "Add tag": "添加标签",
12158
12166
  "Create “{name}”": "创建“{name}”",
12159
12167
  "Show details": "显示详细信息",
12160
- "Hide details": "隐藏详细信息"
12168
+ "Hide details": "隐藏详细信息",
12169
+ "Discard changes?": "要放弃更改吗?",
12170
+ "What you entered will be lost": "您输入的内容将会丢失",
12171
+ "Keep editing": "继续编辑",
12172
+ Discard: "放弃"
12161
12173
  },
12162
12174
  ja: {
12163
12175
  "{count} failed": "{count} 件失敗",
@@ -12394,7 +12406,11 @@ const Kk = {
12394
12406
  "Add tag": "タグを追加",
12395
12407
  "Create “{name}”": "「{name}」を作成",
12396
12408
  "Show details": "詳細を表示",
12397
- "Hide details": "詳細を隠す"
12409
+ "Hide details": "詳細を隠す",
12410
+ "Discard changes?": "変更を破棄しますか?",
12411
+ "What you entered will be lost": "入力した内容は失われます",
12412
+ "Keep editing": "編集を続ける",
12413
+ Discard: "破棄"
12398
12414
  },
12399
12415
  ko: {
12400
12416
  "{count} failed": "{count}개 실패",
@@ -12631,7 +12647,11 @@ const Kk = {
12631
12647
  "Add tag": "태그 추가",
12632
12648
  "Create “{name}”": "“{name}” 만들기",
12633
12649
  "Show details": "세부 정보 표시",
12634
- "Hide details": "세부 정보 숨기기"
12650
+ "Hide details": "세부 정보 숨기기",
12651
+ "Discard changes?": "변경 사항을 버릴까요?",
12652
+ "What you entered will be lost": "입력한 내용이 사라집니다",
12653
+ "Keep editing": "계속 편집",
12654
+ Discard: "버리기"
12635
12655
  },
12636
12656
  de: {
12637
12657
  "{count} failed": "{count} fehlgeschlagen",
@@ -12868,7 +12888,11 @@ const Kk = {
12868
12888
  "Add tag": "Tag hinzufügen",
12869
12889
  "Create “{name}”": "„{name}“ erstellen",
12870
12890
  "Show details": "Details anzeigen",
12871
- "Hide details": "Details ausblenden"
12891
+ "Hide details": "Details ausblenden",
12892
+ "Discard changes?": "Änderungen verwerfen?",
12893
+ "What you entered will be lost": "Ihre Eingaben gehen verloren",
12894
+ "Keep editing": "Weiter bearbeiten",
12895
+ Discard: "Verwerfen"
12872
12896
  },
12873
12897
  fr: {
12874
12898
  "{count} failed": "{count} en échec",
@@ -13105,7 +13129,11 @@ const Kk = {
13105
13129
  "Add tag": "Ajouter une étiquette",
13106
13130
  "Create “{name}”": "Créer « {name} »",
13107
13131
  "Show details": "Afficher les détails",
13108
- "Hide details": "Masquer les détails"
13132
+ "Hide details": "Masquer les détails",
13133
+ "Discard changes?": "Abandonner les modifications ?",
13134
+ "What you entered will be lost": "Ce que vous avez saisi sera perdu",
13135
+ "Keep editing": "Continuer la modification",
13136
+ Discard: "Abandonner"
13109
13137
  },
13110
13138
  es: {
13111
13139
  "{count} failed": "{count} con error",
@@ -13342,7 +13370,11 @@ const Kk = {
13342
13370
  "Add tag": "Añadir etiqueta",
13343
13371
  "Create “{name}”": "Crear «{name}»",
13344
13372
  "Show details": "Mostrar detalles",
13345
- "Hide details": "Ocultar detalles"
13373
+ "Hide details": "Ocultar detalles",
13374
+ "Discard changes?": "¿Descartar los cambios?",
13375
+ "What you entered will be lost": "Lo que ha introducido se perderá",
13376
+ "Keep editing": "Seguir editando",
13377
+ Discard: "Descartar"
13346
13378
  },
13347
13379
  it: {
13348
13380
  "{count} failed": "{count} non riusciti",
@@ -13579,7 +13611,11 @@ const Kk = {
13579
13611
  "Add tag": "Aggiungi tag",
13580
13612
  "Create “{name}”": "Crea «{name}»",
13581
13613
  "Show details": "Mostra dettagli",
13582
- "Hide details": "Nascondi dettagli"
13614
+ "Hide details": "Nascondi dettagli",
13615
+ "Discard changes?": "Annullare le modifiche?",
13616
+ "What you entered will be lost": "Quanto inserito andrà perso",
13617
+ "Keep editing": "Continua a modificare",
13618
+ Discard: "Annulla modifiche"
13583
13619
  }
13584
13620
  };
13585
13621
  function Gh(e, t, n = {}) {
@@ -13691,7 +13727,7 @@ const eC = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
13691
13727
  const g = s.value, b = g ? [...g.childNodes].filter((k) => k.nodeType === Node.ELEMENT_NODE || k.textContent?.trim()) : [], _ = !!g?.textContent?.trim(), A = !!g && !_ && !!g.querySelector(":scope > svg"), w = _ && b.length > 1 && b[0].nodeType === Node.ELEMENT_NODE, S = _ && b.length > 1 && b[b.length - 1].nodeType === Node.ELEMENT_NODE;
13692
13728
  A !== c.value && (c.value = A), w !== u.value && (u.value = w), S !== d.value && (d.value = S);
13693
13729
  }
13694
- Qe(p), Dl(p);
13730
+ Qe(p), Nl(p);
13695
13731
  const h = C(() => t.variant === "primary" || t.variant === "danger"), m = Xk(() => t.kind), v = C(
13696
13732
  () => Tn(
13697
13733
  "relative inline-flex max-w-full min-w-0 select-none items-center justify-center gap-2 whitespace-nowrap border text-[length:var(--ui-font-size)] font-normal outline-none transition-[background-color,border-color,color,box-shadow,opacity] duration-[var(--ui-motion-fast)] active:duration-0 ease-[var(--ui-motion-ease)] disabled:pointer-events-none focus-visible:shadow-[var(--ui-shadow-focus)]",
@@ -13875,7 +13911,7 @@ const hC = ({
13875
13911
  class: S = ""
13876
13912
  } = pC(), k = hi(r) || hi(i) || r === !0 || i === !0 || A === !0, P = hi(a) || hi(s) || a === !0 || s === !0 || w === !0;
13877
13913
  delete m.class;
13878
- const O = v.default?.(), [, N, I = []] = uC(o, {
13914
+ const O = v.default?.(), [, D, I = []] = uC(o, {
13879
13915
  color: h ?? b,
13880
13916
  width: d ?? u ?? g,
13881
13917
  height: p ?? u ?? g,
@@ -13886,7 +13922,7 @@ const hC = ({
13886
13922
  hasA11yProp: O != null && O.length > 0 || cC(m),
13887
13923
  attributes: m
13888
13924
  });
13889
- return ce("svg", N, [
13925
+ return ce("svg", D, [
13890
13926
  ...I.map(([L, B]) => ce(L, B)),
13891
13927
  ...O ?? []
13892
13928
  ]);
@@ -14021,8 +14057,8 @@ const RC = {
14021
14057
  name: "minus",
14022
14058
  size: 24,
14023
14059
  node: [["path", { d: "M5 12h14", key: "1ays0h" }]]
14024
- }, NC = kt(RC);
14025
- const DC = {
14060
+ }, DC = kt(RC);
14061
+ const NC = {
14026
14062
  name: "panel-left-close",
14027
14063
  size: 24,
14028
14064
  node: [
@@ -14031,7 +14067,7 @@ const DC = {
14031
14067
  ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
14032
14068
  ],
14033
14069
  aliases: ["sidebar-close"]
14034
- }, MC = kt(DC);
14070
+ }, MC = kt(NC);
14035
14071
  const zC = {
14036
14072
  name: "panel-left-open",
14037
14073
  size: 24,
@@ -14134,11 +14170,11 @@ const jC = {
14134
14170
  class: "absolute right-1 flex size-6 items-center justify-center rounded-[var(--ui-radius-sm)] border-0 bg-transparent p-0 text-[var(--ui-text-secondary)] outline-none hover:text-[var(--ui-text)] focus-visible:shadow-[0_0_0_2px_var(--ui-focus-ring)] disabled:opacity-40 [@media(pointer:coarse)]:after:absolute [@media(pointer:coarse)]:after:-inset-1.5",
14135
14171
  onClick: b[1] || (b[1] = (_) => l.value = !l.value)
14136
14172
  }, [
14137
- l.value ? (y(), D(f(CC), {
14173
+ l.value ? (y(), N(f(CC), {
14138
14174
  key: 0,
14139
14175
  class: "size-4",
14140
14176
  "aria-hidden": "true"
14141
- })) : (y(), D(f(AC), {
14177
+ })) : (y(), N(f(AC), {
14142
14178
  key: 1,
14143
14179
  class: "size-4",
14144
14180
  "aria-hidden": "true"
@@ -14550,7 +14586,7 @@ function p1(e, t, n = {}) {
14550
14586
  };
14551
14587
  }
14552
14588
  // @__NO_SIDE_EFFECTS__
14553
- function Nt(e, t, n, o = {}) {
14589
+ function Dt(e, t, n, o = {}) {
14554
14590
  var r, i;
14555
14591
  const { clone: a = !1, passive: s = !1, eventName: l, deep: c = !1, defaultValue: u, shouldEmit: d } = o, p = Ft(), h = n || p?.emit || (p == null || (r = p.$emit) === null || r === void 0 ? void 0 : r.bind(p)) || (p == null || (i = p.proxy) === null || i === void 0 || (i = i.$emit) === null || i === void 0 ? void 0 : i.bind(p?.proxy));
14556
14592
  let m = l;
@@ -15031,7 +15067,7 @@ function Qr(e) {
15031
15067
  }
15032
15068
  function _e() {
15033
15069
  const e = Ft(), t = /* @__PURE__ */ M(), n = C(() => o());
15034
- Dl(() => {
15070
+ Nl(() => {
15035
15071
  n.value !== o() && Zv(t);
15036
15072
  });
15037
15073
  function o() {
@@ -15273,7 +15309,7 @@ var I1 = function(e) {
15273
15309
  }).filter(function(n) {
15274
15310
  return !!n;
15275
15311
  });
15276
- }, N1 = function(e, t, n, o) {
15312
+ }, D1 = function(e, t, n, o) {
15277
15313
  var r = R1(t, Array.isArray(e) ? e : [e]);
15278
15314
  gi[n] || (gi[n] = /* @__PURE__ */ new WeakMap());
15279
15315
  var i = gi[n], a = [], s = /* @__PURE__ */ new Set(), l = new Set(r), c = function(d) {
@@ -15299,10 +15335,10 @@ var I1 = function(e) {
15299
15335
  Fo.set(d, p), i.set(d, h), p || (vi.has(d) || d.removeAttribute(o), vi.delete(d)), h || d.removeAttribute(n);
15300
15336
  }), gs--, gs || (Fo = /* @__PURE__ */ new WeakMap(), Fo = /* @__PURE__ */ new WeakMap(), vi = /* @__PURE__ */ new WeakMap(), gi = {});
15301
15337
  };
15302
- }, D1 = function(e, t, n) {
15338
+ }, N1 = function(e, t, n) {
15303
15339
  n === void 0 && (n = "data-aria-hidden");
15304
15340
  var o = Array.from(Array.isArray(e) ? e : [e]), r = I1(e);
15305
- return r ? (o.push.apply(o, Array.from(r.querySelectorAll("[aria-live], script"))), N1(o, r, n, "aria-hidden")) : function() {
15341
+ return r ? (o.push.apply(o, Array.from(r.querySelectorAll("[aria-live], script"))), D1(o, r, n, "aria-hidden")) : function() {
15306
15342
  return null;
15307
15343
  };
15308
15344
  };
@@ -15315,7 +15351,7 @@ function su(e) {
15315
15351
  o = !!n?.closest("[popover]:not(:popover-open)");
15316
15352
  } catch {
15317
15353
  }
15318
- n && !o ? t = D1(n) : t && t();
15354
+ n && !o ? t = N1(n) : t && t();
15319
15355
  }), sn(() => {
15320
15356
  t && t();
15321
15357
  });
@@ -15557,7 +15593,7 @@ var j1 = /* @__PURE__ */ z({
15557
15593
  },
15558
15594
  emits: ["update:open"],
15559
15595
  setup(e, { emit: t }) {
15560
- const n = e, r = /* @__PURE__ */ Nt(n, "open", t, {
15596
+ const n = e, r = /* @__PURE__ */ Dt(n, "open", t, {
15561
15597
  defaultValue: n.defaultOpen,
15562
15598
  passive: n.open === void 0
15563
15599
  }), i = /* @__PURE__ */ M(), a = /* @__PURE__ */ M(), { modal: s, unmountOnHide: l } = /* @__PURE__ */ St(n);
@@ -15601,7 +15637,7 @@ var j1 = /* @__PURE__ */ z({
15601
15637
  const t = e;
15602
15638
  _e();
15603
15639
  const n = kn();
15604
- return (o, r) => (y(), D(f(Ae), le(t, {
15640
+ return (o, r) => (y(), N(f(Ae), le(t, {
15605
15641
  type: o.as === "button" ? "button" : void 0,
15606
15642
  onClick: r[0] || (r[0] = (i) => f(n).onOpenChange(!1))
15607
15643
  }), {
@@ -15731,7 +15767,7 @@ var Y1 = /* @__PURE__ */ z({
15731
15767
  m(() => {
15732
15768
  i.value && (l.value.delete(i.value), st.layersWithOutsidePointerEventsDisabled.delete(i.value));
15733
15769
  });
15734
- }), (m, v) => (y(), D(f(Ae), {
15770
+ }), (m, v) => (y(), N(f(Ae), {
15735
15771
  ref: f(r),
15736
15772
  "as-child": m.asChild,
15737
15773
  as: m.as,
@@ -15921,7 +15957,7 @@ var rP = /* @__PURE__ */ z({
15921
15957
  g && b ? !p.shiftKey && m === b ? (p.preventDefault(), n.loop && Yn(g, { select: !0 })) : p.shiftKey && m === g && (p.preventDefault(), n.loop && Yn(b, { select: !0 })) : m === v && p.preventDefault();
15922
15958
  }
15923
15959
  }
15924
- return (p, h) => (y(), D(f(Ae), {
15960
+ return (p, h) => (y(), N(f(Ae), {
15925
15961
  ref_key: "currentRef",
15926
15962
  ref: r,
15927
15963
  tabindex: "-1",
@@ -16023,7 +16059,7 @@ var fP = /* @__PURE__ */ z({
16023
16059
  const n = e, o = t, r = kn(), i = Gt(), { forwardRef: a, currentElement: s } = _e();
16024
16060
  return r.titleId ||= Wt(void 0, "reka-dialog-title"), r.descriptionId ||= Wt(void 0, "reka-dialog-description"), Qe(() => {
16025
16061
  r.contentElement = s, lt() !== document.body && (!i || i.canFocus()) && (r.triggerElement.value = lt());
16026
- }), (l, c) => (y(), D(f(uu), {
16062
+ }), (l, c) => (y(), N(f(uu), {
16027
16063
  "as-child": "",
16028
16064
  loop: "",
16029
16065
  trapped: n.trapFocus,
@@ -16110,7 +16146,7 @@ var fP = /* @__PURE__ */ z({
16110
16146
  });
16111
16147
  return de(() => n.present, (d, p) => {
16112
16148
  !d && p && (i ? i.restoreFocus(r.triggerElement.value) : r.triggerElement.value?.focus());
16113
- }), (d, p) => (y(), D(vm, le({
16149
+ }), (d, p) => (y(), N(vm, le({
16114
16150
  ...u.value,
16115
16151
  ...f(a)
16116
16152
  }, {
@@ -16182,7 +16218,7 @@ var fP = /* @__PURE__ */ z({
16182
16218
  });
16183
16219
  return de(() => n.present, (c, u) => {
16184
16220
  !c && u && (a.value || i.triggerElement.value?.focus(), a.value = !1, s.value = !1);
16185
- }), (c, u) => (y(), D(vm, le({
16221
+ }), (c, u) => (y(), N(vm, le({
16186
16222
  ...l.value,
16187
16223
  ...f(r)
16188
16224
  }, {
@@ -16233,11 +16269,11 @@ var fP = /* @__PURE__ */ z({
16233
16269
  ],
16234
16270
  setup(e, { emit: t }) {
16235
16271
  const n = e, o = t, r = kn(), i = To(o), { forwardRef: a } = _e(), s = C(() => n.forceMount || !r.unmountOnHide.value);
16236
- return (l, c) => (y(), D(f(Wn), {
16272
+ return (l, c) => (y(), N(f(Wn), {
16237
16273
  present: f(r).open.value,
16238
16274
  "force-mount": s.value
16239
16275
  }, {
16240
- default: T(({ present: u }) => [f(r).modal.value ? Go((y(), D(hP, le({
16276
+ default: T(({ present: u }) => [f(r).modal.value ? Go((y(), N(hP, le({
16241
16277
  key: 0,
16242
16278
  ref: f(a),
16243
16279
  present: s.value ? u : !0
@@ -16248,7 +16284,7 @@ var fP = /* @__PURE__ */ z({
16248
16284
  }), {
16249
16285
  default: T(() => [R(l.$slots, "default")]),
16250
16286
  _: 2
16251
- }, 1040, ["present"])), [[Br, l.forceMount || f(r).unmountOnHide.value || u]]) : Go((y(), D(vP, le({
16287
+ }, 1040, ["present"])), [[Br, l.forceMount || f(r).unmountOnHide.value || u]]) : Go((y(), N(vP, le({
16252
16288
  key: 1,
16253
16289
  ref: f(a),
16254
16290
  present: s.value ? u : !0
@@ -16280,7 +16316,7 @@ var fP = /* @__PURE__ */ z({
16280
16316
  const t = e;
16281
16317
  _e();
16282
16318
  const n = kn();
16283
- return (o, r) => (y(), D(f(Ae), le(t, { id: f(n).descriptionId }), {
16319
+ return (o, r) => (y(), N(f(Ae), le(t, { id: f(n).descriptionId }), {
16284
16320
  default: T(() => [R(o.$slots, "default")]),
16285
16321
  _: 3
16286
16322
  }, 16, ["id"]));
@@ -16304,7 +16340,7 @@ var fP = /* @__PURE__ */ z({
16304
16340
  },
16305
16341
  setup(e) {
16306
16342
  const t = e, n = kn(), o = au(t.present);
16307
- return de(() => t.present, (r) => o.value = r), _e(), (r, i) => (y(), D(f(Ae), {
16343
+ return de(() => t.present, (r) => o.value = r), _e(), (r, i) => (y(), N(f(Ae), {
16308
16344
  as: r.as,
16309
16345
  "as-child": r.asChild,
16310
16346
  "data-state": f(n).open.value ? "open" : "closed",
@@ -16342,7 +16378,7 @@ var fP = /* @__PURE__ */ z({
16342
16378
  },
16343
16379
  setup(e) {
16344
16380
  const t = e, n = kn(), { forwardRef: o } = _e(), r = C(() => t.forceMount || !n.unmountOnHide.value);
16345
- return (i, a) => f(n)?.modal.value ? (y(), D(f(Wn), {
16381
+ return (i, a) => f(n)?.modal.value ? (y(), N(f(Wn), {
16346
16382
  key: 0,
16347
16383
  present: f(n).open.value,
16348
16384
  "force-mount": r.value
@@ -16385,7 +16421,7 @@ var fP = /* @__PURE__ */ z({
16385
16421
  },
16386
16422
  setup(e) {
16387
16423
  const t = e, n = cr({}), o = C(() => t.to ?? n.teleportTo?.value ?? "body"), r = /* @__PURE__ */ im();
16388
- return (i, a) => f(r) || i.forceMount ? (y(), D(Il, {
16424
+ return (i, a) => f(r) || i.forceMount ? (y(), N(Il, {
16389
16425
  key: 0,
16390
16426
  to: o.value,
16391
16427
  disabled: i.disabled,
@@ -16418,7 +16454,7 @@ var fP = /* @__PURE__ */ z({
16418
16454
  },
16419
16455
  setup(e) {
16420
16456
  const t = e;
16421
- return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
16457
+ return (n, o) => (y(), N(f(Ra), ct(mt(t)), {
16422
16458
  default: T(() => [R(n.$slots, "default")]),
16423
16459
  _: 3
16424
16460
  }, 16));
@@ -16438,7 +16474,7 @@ var fP = /* @__PURE__ */ z({
16438
16474
  },
16439
16475
  setup(e) {
16440
16476
  const t = e, n = kn();
16441
- return _e(), (o, r) => (y(), D(f(Ae), le(t, { id: f(n).titleId }), {
16477
+ return _e(), (o, r) => (y(), N(f(Ae), le(t, { id: f(n).titleId }), {
16442
16478
  default: T(() => [R(o.$slots, "default")]),
16443
16479
  _: 3
16444
16480
  }, 16, ["id"]));
@@ -16460,7 +16496,7 @@ var fP = /* @__PURE__ */ z({
16460
16496
  const t = e, n = kn(), { forwardRef: o, currentElement: r } = _e();
16461
16497
  return n.contentId ||= Wt(void 0, "reka-dialog-content"), Qe(() => {
16462
16498
  n.triggerElement.value = r.value;
16463
- }), (i, a) => (y(), D(f(Ae), le(t, {
16499
+ }), (i, a) => (y(), N(f(Ae), le(t, {
16464
16500
  ref: f(o),
16465
16501
  type: i.as === "button" ? "button" : void 0,
16466
16502
  "aria-haspopup": "dialog",
@@ -16558,7 +16594,7 @@ var IP = /* @__PURE__ */ z({
16558
16594
  }
16559
16595
  },
16560
16596
  setup(e) {
16561
- return (t, n) => (y(), D(f(Ae), {
16597
+ return (t, n) => (y(), N(f(Ae), {
16562
16598
  as: t.as,
16563
16599
  "as-child": t.asChild,
16564
16600
  "aria-hidden": t.feature === "focusable" || t.feature === "fully-hidden" ? "true" : void 0,
@@ -16630,7 +16666,7 @@ var IP = /* @__PURE__ */ z({
16630
16666
  const d = new Event("input", { bubbles: !0 }), p = new Event("change", { bubbles: !0 });
16631
16667
  u.call(s, i), s.dispatchEvent(d), s.dispatchEvent(p);
16632
16668
  }
16633
- }), (i, a) => (y(), D(fu, le({
16669
+ }), (i, a) => (y(), N(fu, le({
16634
16670
  ref_key: "primitiveElement",
16635
16671
  ref: n
16636
16672
  }, {
@@ -16638,7 +16674,7 @@ var IP = /* @__PURE__ */ z({
16638
16674
  ...i.$attrs
16639
16675
  }, { as: "input" }), null, 16));
16640
16676
  }
16641
- }), $d = RP, NP = /* @__PURE__ */ z({
16677
+ }), $d = RP, DP = /* @__PURE__ */ z({
16642
16678
  inheritAttrs: !1,
16643
16679
  __name: "VisuallyHiddenInput",
16644
16680
  props: {
@@ -16683,13 +16719,13 @@ var IP = /* @__PURE__ */ z({
16683
16719
  name: `${t.name}[${r}]`,
16684
16720
  value: i
16685
16721
  })) : []);
16686
- return (r, i) => (y(), E(xe, null, [F(" We render single input if it's required "), n.value ? (y(), D($d, le({ key: r.name }, {
16722
+ return (r, i) => (y(), E(xe, null, [F(" We render single input if it's required "), n.value ? (y(), N($d, le({ key: r.name }, {
16687
16723
  ...t,
16688
16724
  ...r.$attrs
16689
16725
  }, {
16690
16726
  name: r.name,
16691
16727
  value: r.value
16692
- }), null, 16, ["name", "value"])) : (y(!0), E(xe, { key: 1 }, tt(o.value, (a) => (y(), D($d, le({ key: a.name }, { ref_for: !0 }, {
16728
+ }), null, 16, ["name", "value"])) : (y(!0), E(xe, { key: 1 }, tt(o.value, (a) => (y(), N($d, le({ key: a.name }, { ref_for: !0 }, {
16693
16729
  ...t,
16694
16730
  ...r.$attrs
16695
16731
  }, {
@@ -16697,8 +16733,8 @@ var IP = /* @__PURE__ */ z({
16697
16733
  value: a.value
16698
16734
  }), null, 16, ["name", "value"]))), 128))], 2112));
16699
16735
  }
16700
- }), Na = NP;
16701
- const DP = "rovingFocusGroup.onEntryFocus", MP = {
16736
+ }), Da = DP;
16737
+ const NP = "rovingFocusGroup.onEntryFocus", MP = {
16702
16738
  bubbles: !1,
16703
16739
  cancelable: !0
16704
16740
  }, zP = {
@@ -16738,7 +16774,7 @@ var VP = /* @__PURE__ */ z({
16738
16774
  onAnchorChange: (n) => t.value = n
16739
16775
  }), (n, o) => R(n.$slots, "default");
16740
16776
  }
16741
- }), Da = VP, jP = /* @__PURE__ */ z({
16777
+ }), Na = VP, jP = /* @__PURE__ */ z({
16742
16778
  __name: "PopperAnchor",
16743
16779
  props: {
16744
16780
  reference: {
@@ -16758,7 +16794,7 @@ var VP = /* @__PURE__ */ z({
16758
16794
  const t = e, { forwardRef: n, currentElement: o } = _e(), r = ym();
16759
16795
  return Kf(() => {
16760
16796
  r.onAnchorChange(t.reference ?? o.value);
16761
- }), (i, a) => (y(), D(f(Ae), {
16797
+ }), (i, a) => (y(), N(f(Ae), {
16762
16798
  ref: f(n),
16763
16799
  as: i.as,
16764
16800
  "as-child": i.asChild
@@ -16797,7 +16833,7 @@ function ol(e) {
16797
16833
  const [t, n = "center"] = e.split("-");
16798
16834
  return [t, n];
16799
16835
  }
16800
- const KP = ["top", "right", "bottom", "left"], io = Math.min, Rn = Math.max, Yi = Math.round, bi = Math.floor, Nn = (e) => ({
16836
+ const KP = ["top", "right", "bottom", "left"], io = Math.min, Rn = Math.max, Yi = Math.round, bi = Math.floor, Dn = (e) => ({
16801
16837
  x: e,
16802
16838
  y: e
16803
16839
  }), ZP = {
@@ -17072,7 +17108,7 @@ const nA = 50, oA = async (e, t, n) => {
17072
17108
  }, h = vu(r), m = mu(h), v = await a.getDimensions(c), g = h === "y", b = g ? "top" : "left", _ = g ? "bottom" : "right", A = g ? "clientHeight" : "clientWidth", w = i.reference[m] + i.reference[h] - p[h] - i.floating[m], S = p[h] - i.reference[h], k = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
17073
17109
  let P = k ? k[A] : 0;
17074
17110
  (!P || !await (a.isElement == null ? void 0 : a.isElement(k))) && (P = s.floating[A] || i.floating[m]);
17075
- const O = w / 2 - S / 2, N = P / 2 - v[m] / 2 - 1, I = io(d[b], N), L = io(d[_], N), B = P - v[m] - L, G = P / 2 - v[m] / 2 + O, J = bm(I, G, B), W = !l.arrow && fr(r) != null && G !== J && i.reference[m] / 2 - (G < I ? I : L) - v[m] / 2 < 0, oe = W ? G < I ? G - I : G - B : 0;
17111
+ const O = w / 2 - S / 2, D = P / 2 - v[m] / 2 - 1, I = io(d[b], D), L = io(d[_], D), B = P - v[m] - L, G = P / 2 - v[m] / 2 + O, J = bm(I, G, B), W = !l.arrow && fr(r) != null && G !== J && i.reference[m] / 2 - (G < I ? I : L) - v[m] / 2 < 0, oe = W ? G < I ? G - I : G - B : 0;
17076
17112
  return {
17077
17113
  [h]: p[h] + oe,
17078
17114
  data: {
@@ -17111,16 +17147,16 @@ const nA = 50, oA = async (e, t, n) => {
17111
17147
  return {};
17112
17148
  const b = ao(r), _ = vn(s), A = ao(s) === s, w = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), S = p || (A || !v ? [Xi(s)] : GP(s)), k = m !== "none";
17113
17149
  !p && k && S.push(...QP(s, v, m, w));
17114
- const P = [s, ...S], O = await l.detectOverflow(t, g), N = [];
17150
+ const P = [s, ...S], O = await l.detectOverflow(t, g), D = [];
17115
17151
  let I = ((o = i.flip) == null ? void 0 : o.overflows) || [];
17116
- if (u && N.push(O[b]), d) {
17152
+ if (u && D.push(O[b]), d) {
17117
17153
  const J = HP(r, a, w);
17118
- N.push(O[J[0]], O[J[1]]);
17154
+ D.push(O[J[0]], O[J[1]]);
17119
17155
  }
17120
17156
  if (I = [...I, {
17121
17157
  placement: r,
17122
- overflows: N
17123
- }], !N.every((J) => J <= 0)) {
17158
+ overflows: D
17159
+ }], !D.every((J) => J <= 0)) {
17124
17160
  var L, B;
17125
17161
  const J = (((L = i.flip) == null ? void 0 : L.index) || 0) + 1, W = P[J];
17126
17162
  if (W && (!(d === "alignment" ? _ !== vn(W) : !1) || // We leave the current main axis only if every placement on that axis
@@ -17175,7 +17211,7 @@ function Rd(e, t) {
17175
17211
  left: e.left - t.width
17176
17212
  };
17177
17213
  }
17178
- function Nd(e) {
17214
+ function Dd(e) {
17179
17215
  return KP.some((t) => e[t] >= 0);
17180
17216
  }
17181
17217
  const aA = function(e) {
@@ -17199,7 +17235,7 @@ const aA = function(e) {
17199
17235
  return {
17200
17236
  data: {
17201
17237
  referenceHiddenOffsets: s,
17202
- referenceHidden: Nd(s)
17238
+ referenceHidden: Dd(s)
17203
17239
  }
17204
17240
  };
17205
17241
  }
@@ -17211,7 +17247,7 @@ const aA = function(e) {
17211
17247
  return {
17212
17248
  data: {
17213
17249
  escapedOffsets: s,
17214
- escaped: Nd(s)
17250
+ escaped: Dd(s)
17215
17251
  }
17216
17252
  };
17217
17253
  }
@@ -17422,7 +17458,7 @@ function _n(e) {
17422
17458
  function fo(e) {
17423
17459
  return Ma() ? e instanceof HTMLElement || e instanceof Mt(e).HTMLElement : !1;
17424
17460
  }
17425
- function Dd(e) {
17461
+ function Nd(e) {
17426
17462
  return !Ma() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Mt(e).ShadowRoot;
17427
17463
  }
17428
17464
  function za(e) {
@@ -17491,10 +17527,10 @@ function Eo(e) {
17491
17527
  // Step into the shadow DOM of the parent of a slotted node.
17492
17528
  e.assignedSlot || // DOM Element detected.
17493
17529
  e.parentNode || // ShadowRoot detected.
17494
- Dd(e) && e.host || // Fallback.
17530
+ Nd(e) && e.host || // Fallback.
17495
17531
  Kn(e)
17496
17532
  );
17497
- return Dd(t) ? t.host : t;
17533
+ return Nd(t) ? t.host : t;
17498
17534
  }
17499
17535
  function Sm(e) {
17500
17536
  const t = Eo(e);
@@ -17529,7 +17565,7 @@ function wu(e) {
17529
17565
  function Ho(e) {
17530
17566
  const t = wu(e);
17531
17567
  if (!fo(t))
17532
- return Nn(1);
17568
+ return Dn(1);
17533
17569
  const n = t.getBoundingClientRect(), {
17534
17570
  width: o,
17535
17571
  height: r,
@@ -17541,7 +17577,7 @@ function Ho(e) {
17541
17577
  y: s
17542
17578
  };
17543
17579
  }
17544
- const vA = /* @__PURE__ */ Nn(0);
17580
+ const vA = /* @__PURE__ */ Dn(0);
17545
17581
  function km(e) {
17546
17582
  const t = Mt(e);
17547
17583
  return !bu() || !t.visualViewport ? vA : {
@@ -17555,9 +17591,9 @@ function gA(e, t, n) {
17555
17591
  function $o(e, t, n, o) {
17556
17592
  t === void 0 && (t = !1), n === void 0 && (n = !1);
17557
17593
  const r = e.getBoundingClientRect(), i = wu(e);
17558
- let a = Nn(1);
17594
+ let a = Dn(1);
17559
17595
  t && (o ? _n(o) && (a = Ho(o)) : a = Ho(e));
17560
- const s = gA(i, n, o) ? km(i) : Nn(0);
17596
+ const s = gA(i, n, o) ? km(i) : Dn(0);
17561
17597
  let l = (r.left + s.x) / a.x, c = (r.top + s.y) / a.y, u = r.width / a.x, d = r.height / a.y;
17562
17598
  if (i && o) {
17563
17599
  const p = Mt(i), h = _n(o) ? Mt(o) : o;
@@ -17598,13 +17634,13 @@ function yA(e) {
17598
17634
  let l = {
17599
17635
  scrollLeft: 0,
17600
17636
  scrollTop: 0
17601
- }, c = Nn(1);
17602
- const u = Nn(0), d = fo(o);
17637
+ }, c = Dn(1);
17638
+ const u = Dn(0), d = fo(o);
17603
17639
  if ((d || !i) && ((Ro(o) !== "body" || za(a)) && (l = qa(o)), d)) {
17604
17640
  const h = $o(o);
17605
17641
  c = Ho(o), u.x = h.x + o.clientLeft, u.y = h.y + o.clientTop;
17606
17642
  }
17607
- const p = a && !d && !i ? Cm(a, l) : Nn(0);
17643
+ const p = a && !d && !i ? Cm(a, l) : Dn(0);
17608
17644
  return {
17609
17645
  width: n.width * c.x,
17610
17646
  height: n.height * c.y,
@@ -17723,13 +17759,13 @@ function AA(e, t, n) {
17723
17759
  scrollLeft: 0,
17724
17760
  scrollTop: 0
17725
17761
  };
17726
- const l = Nn(0);
17762
+ const l = Dn(0);
17727
17763
  if ((o || !i) && ((Ro(t) !== "body" || za(r)) && (s = qa(t)), o)) {
17728
17764
  const p = $o(t, !0, i, t);
17729
17765
  l.x = p.x + t.clientLeft, l.y = p.y + t.clientTop;
17730
17766
  }
17731
17767
  !o && r && (l.x = La(r));
17732
- const c = r && !o && !i ? Cm(r, s) : Nn(0), u = a.left + s.scrollLeft - l.x - c.x, d = a.top + s.scrollTop - l.y - c.y;
17768
+ const c = r && !o && !i ? Cm(r, s) : Dn(0), u = a.left + s.scrollLeft - l.x - c.x, d = a.top + s.scrollTop - l.y - c.y;
17733
17769
  return {
17734
17770
  x: u,
17735
17771
  y: d,
@@ -17818,8 +17854,8 @@ function TA(e, t, n) {
17818
17854
  threshold: Rn(0, io(1, d)) || 1
17819
17855
  };
17820
17856
  let P = !0;
17821
- function O(N) {
17822
- const I = N[0].intersectionRatio;
17857
+ function O(D) {
17858
+ const I = D[0].intersectionRatio;
17823
17859
  if (!Am(p, e.getBoundingClientRect()))
17824
17860
  return s();
17825
17861
  if (I !== d) {
@@ -17881,7 +17917,7 @@ function IA(e, t, n, o) {
17881
17917
  }), d?.(), (b = h) == null || b.disconnect(), h = null, l && cancelAnimationFrame(m);
17882
17918
  };
17883
17919
  }
17884
- const RA = lA, NA = uA, Fd = iA, DA = dA, MA = aA, zA = rA, FA = cA, qA = (e, t, n) => {
17920
+ const RA = lA, DA = uA, Fd = iA, NA = dA, MA = aA, zA = rA, FA = cA, qA = (e, t, n) => {
17885
17921
  const o = /* @__PURE__ */ new Map(), r = n ?? {}, i = {
17886
17922
  ...OA,
17887
17923
  ...r.platform,
@@ -17947,17 +17983,17 @@ function VA(e, t, n) {
17947
17983
  };
17948
17984
  if (!u.value)
17949
17985
  return P;
17950
- const O = qd(u.value, d.value), N = qd(u.value, p.value);
17986
+ const O = qd(u.value, d.value), D = qd(u.value, p.value);
17951
17987
  return l.value ? {
17952
17988
  ...P,
17953
- transform: "translate(" + O + "px, " + N + "px)",
17989
+ transform: "translate(" + O + "px, " + D + "px)",
17954
17990
  ...Em(u.value) >= 1.5 && {
17955
17991
  willChange: "transform"
17956
17992
  }
17957
17993
  } : {
17958
17994
  position: h.value,
17959
17995
  left: O + "px",
17960
- top: N + "px"
17996
+ top: D + "px"
17961
17997
  };
17962
17998
  });
17963
17999
  let _;
@@ -18023,7 +18059,7 @@ const jA = ["dir"], $m = {
18023
18059
  positionStrategy: "fixed",
18024
18060
  updatePositionStrategy: "optimized",
18025
18061
  prioritizePosition: !1
18026
- }, [NM, UA] = /* @__PURE__ */ Je("PopperContent");
18062
+ }, [DM, UA] = /* @__PURE__ */ Je("PopperContent");
18027
18063
  var WA = /* @__PURE__ */ z({
18028
18064
  inheritAttrs: !1,
18029
18065
  __name: "PopperContent",
@@ -18141,7 +18177,7 @@ var WA = /* @__PURE__ */ z({
18141
18177
  ...g.value,
18142
18178
  ...b.value
18143
18179
  }),
18144
- n.avoidCollisions && NA({
18180
+ n.avoidCollisions && DA({
18145
18181
  mainAxis: !0,
18146
18182
  crossAxis: !!n.prioritizePosition,
18147
18183
  limiter: n.sticky === "partial" ? FA() : void 0,
@@ -18151,7 +18187,7 @@ var WA = /* @__PURE__ */ z({
18151
18187
  ...g.value,
18152
18188
  ...b.value
18153
18189
  }),
18154
- DA({
18190
+ NA({
18155
18191
  ...g.value,
18156
18192
  apply: ({ elements: J, rects: W, availableWidth: oe, availableHeight: ae }) => {
18157
18193
  const { width: ve, height: Re } = W.reference, be = J.floating.style;
@@ -18179,7 +18215,7 @@ var WA = /* @__PURE__ */ z({
18179
18215
  animationFrame: n.updatePositionStrategy === "always"
18180
18216
  }),
18181
18217
  middleware: _
18182
- }), O = C(() => ol(S.value)[0]), N = C(() => ol(S.value)[1]);
18218
+ }), O = C(() => ol(S.value)[0]), D = C(() => ol(S.value)[1]);
18183
18219
  Kf(() => {
18184
18220
  k.value && r("placed");
18185
18221
  });
@@ -18217,18 +18253,18 @@ var WA = /* @__PURE__ */ z({
18217
18253
  n.asChild,
18218
18254
  n.as,
18219
18255
  O.value,
18220
- N.value,
18256
+ D.value,
18221
18257
  f(k),
18222
18258
  ...Object.values(J.$attrs),
18223
18259
  ...n.memoDependencies
18224
- ], () => (y(), D(f(Ae), le({
18260
+ ], () => (y(), N(f(Ae), le({
18225
18261
  key: 0,
18226
18262
  ref: f(a)
18227
18263
  }, J.$attrs, {
18228
18264
  "as-child": n.asChild,
18229
18265
  as: n.as,
18230
18266
  "data-side": O.value,
18231
- "data-align": N.value,
18267
+ "data-align": D.value,
18232
18268
  style: { animation: f(k) ? void 0 : "none" }
18233
18269
  }), {
18234
18270
  default: T(() => [R(J.$slots, "default")]),
@@ -18239,14 +18275,14 @@ var WA = /* @__PURE__ */ z({
18239
18275
  "data-side",
18240
18276
  "data-align",
18241
18277
  "style"
18242
- ])), W, 0) : (y(), D(f(Ae), le({
18278
+ ])), W, 0) : (y(), N(f(Ae), le({
18243
18279
  key: 1,
18244
18280
  ref: f(a)
18245
18281
  }, J.$attrs, {
18246
18282
  "as-child": n.asChild,
18247
18283
  as: n.as,
18248
18284
  "data-side": O.value,
18249
- "data-align": N.value,
18285
+ "data-align": D.value,
18250
18286
  dir: f(l),
18251
18287
  style: { animation: f(k) ? void 0 : "none" }
18252
18288
  }), {
@@ -18308,16 +18344,16 @@ var GA = /* @__PURE__ */ z({
18308
18344
  },
18309
18345
  emits: ["entryFocus", "update:currentTabStopId"],
18310
18346
  setup(e, { expose: t, emit: n }) {
18311
- const o = e, r = n, { loop: i, orientation: a, dir: s } = /* @__PURE__ */ St(o), l = dr(s), c = /* @__PURE__ */ Nt(o, "currentTabStopId", r, {
18347
+ const o = e, r = n, { loop: i, orientation: a, dir: s } = /* @__PURE__ */ St(o), l = dr(s), c = /* @__PURE__ */ Dt(o, "currentTabStopId", r, {
18312
18348
  defaultValue: o.defaultCurrentTabStopId,
18313
18349
  passive: o.currentTabStopId === void 0
18314
18350
  }), u = /* @__PURE__ */ M(!1), d = /* @__PURE__ */ M(!1), p = /* @__PURE__ */ M(0), { getItems: h, CollectionSlot: m } = co({ isProvider: !0 });
18315
18351
  function v(b) {
18316
18352
  const _ = !d.value;
18317
18353
  if (b.currentTarget && b.target === b.currentTarget && _ && !u.value) {
18318
- const A = new CustomEvent(DP, MP);
18354
+ const A = new CustomEvent(NP, MP);
18319
18355
  if (b.currentTarget.dispatchEvent(A), r("entryFocus", A), !A.defaultPrevented) {
18320
- const w = h().map((N) => N.ref).filter((N) => N.dataset.disabled !== ""), S = w.find((N) => N.getAttribute("data-active") === ""), k = w.find((N) => N.getAttribute("data-highlighted") === ""), P = w.find((N) => N.id === c.value), O = [
18356
+ const w = h().map((D) => D.ref).filter((D) => D.dataset.disabled !== ""), S = w.find((D) => D.getAttribute("data-active") === ""), k = w.find((D) => D.getAttribute("data-highlighted") === ""), P = w.find((D) => D.id === c.value), O = [
18321
18357
  S,
18322
18358
  k,
18323
18359
  P,
@@ -18350,7 +18386,7 @@ var GA = /* @__PURE__ */ z({
18350
18386
  onFocusableItemRemove: () => {
18351
18387
  p.value--;
18352
18388
  }
18353
- }), (b, _) => (y(), D(f(m), null, {
18389
+ }), (b, _) => (y(), N(f(m), null, {
18354
18390
  default: T(() => [j(f(Ae), {
18355
18391
  tabindex: u.value || p.value === 0 ? -1 : 0,
18356
18392
  "data-orientation": f(a),
@@ -18434,7 +18470,7 @@ var GA = /* @__PURE__ */ z({
18434
18470
  ze(() => gm(d));
18435
18471
  }
18436
18472
  }
18437
- return (c, u) => (y(), D(f(s), null, {
18473
+ return (c, u) => (y(), N(f(s), null, {
18438
18474
  default: T(() => [j(f(Ae), {
18439
18475
  tabindex: i.value ? 0 : -1,
18440
18476
  "data-orientation": f(n).orientation.value,
@@ -18526,7 +18562,7 @@ var eE = /* @__PURE__ */ z({
18526
18562
  },
18527
18563
  emits: ["update:modelValue"],
18528
18564
  setup(e, { emit: t }) {
18529
- const n = e, o = t, { forwardRef: r, currentElement: i } = _e(), a = YA(null), s = /* @__PURE__ */ Nt(n, "modelValue", o, {
18565
+ const n = e, o = t, { forwardRef: r, currentElement: i } = _e(), a = YA(null), s = /* @__PURE__ */ Dt(n, "modelValue", o, {
18530
18566
  defaultValue: n.defaultValue ?? n.falseValue,
18531
18567
  passive: n.modelValue === void 0
18532
18568
  }), l = C(() => a?.disabled.value || n.disabled), c = C(() => nr(s.value, n.trueValue)), u = C(() => or(a?.modelValue.value) ? s.value === "indeterminate" ? "indeterminate" : c.value : yd(a.modelValue.value, n.value));
@@ -18549,7 +18585,7 @@ var eE = /* @__PURE__ */ z({
18549
18585
  return QA({
18550
18586
  disabled: l,
18551
18587
  state: u
18552
- }), (g, b) => (y(), E(xe, null, [(y(), D(ut(f(a)?.rovingFocus.value ? f(Tm) : f(Ae)), le({
18588
+ }), (g, b) => (y(), E(xe, null, [(y(), N(ut(f(a)?.rovingFocus.value ? f(Tm) : f(Ae)), le({
18553
18589
  ...g.$attrs,
18554
18590
  ...f(h)
18555
18591
  }, {
@@ -18588,7 +18624,7 @@ var eE = /* @__PURE__ */ z({
18588
18624
  "disabled",
18589
18625
  "focusable",
18590
18626
  "onKeydown"
18591
- ])), f(p) && g.name && !f(a) ? (y(), D(f(Na), le({
18627
+ ])), f(p) && g.name && !f(a) ? (y(), N(f(Da), le({
18592
18628
  key: 0,
18593
18629
  type: "checkbox",
18594
18630
  checked: !!u.value,
@@ -18623,7 +18659,7 @@ var eE = /* @__PURE__ */ z({
18623
18659
  },
18624
18660
  setup(e) {
18625
18661
  const { forwardRef: t } = _e(), n = XA();
18626
- return (o, r) => (y(), D(f(Wn), { present: o.forceMount || f(Su)(f(n).state.value) || f(n).state.value === !0 }, {
18662
+ return (o, r) => (y(), N(f(Wn), { present: o.forceMount || f(Su)(f(n).state.value) || f(n).state.value === !0 }, {
18627
18663
  default: T(() => [j(f(Ae), le({
18628
18664
  ref: f(t),
18629
18665
  "data-state": f(Im)(f(n).state.value),
@@ -18661,7 +18697,7 @@ var eE = /* @__PURE__ */ z({
18661
18697
  },
18662
18698
  setup(e) {
18663
18699
  const t = e;
18664
- return (n, o) => (y(), D(f(pu), ct(mt(t)), {
18700
+ return (n, o) => (y(), N(f(pu), ct(mt(t)), {
18665
18701
  default: T(() => [R(n.$slots, "default")]),
18666
18702
  _: 3
18667
18703
  }, 16));
@@ -18683,7 +18719,7 @@ function iE() {
18683
18719
  });
18684
18720
  }), e;
18685
18721
  }
18686
- const aE = /* @__PURE__ */ nm(iE), [No, Nm] = /* @__PURE__ */ Je(["MenuRoot", "MenuSub"], "MenuContext"), [ei, sE] = /* @__PURE__ */ Je("MenuRoot");
18722
+ const aE = /* @__PURE__ */ nm(iE), [Do, Dm] = /* @__PURE__ */ Je(["MenuRoot", "MenuSub"], "MenuContext"), [ei, sE] = /* @__PURE__ */ Je("MenuRoot");
18687
18723
  var lE = /* @__PURE__ */ z({
18688
18724
  __name: "MenuRoot",
18689
18725
  props: {
@@ -18704,8 +18740,8 @@ var lE = /* @__PURE__ */ z({
18704
18740
  },
18705
18741
  emits: ["update:open"],
18706
18742
  setup(e, { emit: t }) {
18707
- const n = e, o = t, { modal: r, dir: i } = /* @__PURE__ */ St(n), a = dr(i), s = /* @__PURE__ */ Nt(n, "open", o), l = /* @__PURE__ */ M(), c = aE();
18708
- return Nm({
18743
+ const n = e, o = t, { modal: r, dir: i } = /* @__PURE__ */ St(n), a = dr(i), s = /* @__PURE__ */ Dt(n, "open", o), l = /* @__PURE__ */ M(), c = aE();
18744
+ return Dm({
18709
18745
  open: s,
18710
18746
  onOpenChange: (u) => {
18711
18747
  s.value = u;
@@ -18721,7 +18757,7 @@ var lE = /* @__PURE__ */ z({
18721
18757
  isUsingKeyboardRef: c,
18722
18758
  dir: a,
18723
18759
  modal: r
18724
- }), (u, d) => (y(), D(f(Da), null, {
18760
+ }), (u, d) => (y(), N(f(Na), null, {
18725
18761
  default: T(() => [R(u.$slots, "default")]),
18726
18762
  _: 3
18727
18763
  }));
@@ -18843,7 +18879,7 @@ var dE = /* @__PURE__ */ z({
18843
18879
  "dismiss"
18844
18880
  ],
18845
18881
  setup(e, { emit: t }) {
18846
- const n = e, o = t, r = No(), i = ei(), { trapFocus: a, disableOutsidePointerEvents: s, loop: l } = /* @__PURE__ */ St(n);
18882
+ const n = e, o = t, r = Do(), i = ei(), { trapFocus: a, disableOutsidePointerEvents: s, loop: l } = /* @__PURE__ */ St(n);
18847
18883
  dm(), au(s.value);
18848
18884
  const c = /* @__PURE__ */ M(""), u = /* @__PURE__ */ M(0), d = /* @__PURE__ */ M(0), p = /* @__PURE__ */ M(null), h = /* @__PURE__ */ M("right"), m = /* @__PURE__ */ M(0), v = /* @__PURE__ */ M(null), g = /* @__PURE__ */ M(), { forwardRef: b, currentElement: _ } = _e(), { handleTypeaheadSearch: A } = lu(), w = /* @__PURE__ */ M();
18849
18885
  function S(W) {
@@ -18870,7 +18906,7 @@ var dE = /* @__PURE__ */ z({
18870
18906
  }), sn(() => {
18871
18907
  window.clearTimeout(u.value);
18872
18908
  });
18873
- function N(W) {
18909
+ function D(W) {
18874
18910
  return h.value === p.value?.side && dP(W, p.value?.area);
18875
18911
  }
18876
18912
  async function I(W) {
@@ -18887,10 +18923,10 @@ var dE = /* @__PURE__ */ z({
18887
18923
  });
18888
18924
  if (Ce) return Ce?.focus();
18889
18925
  if (W.code === "Space") return;
18890
- const De = g.value?.getItems() ?? [];
18891
- if (ae && (W.key === "Tab" && i.modal.value && W.preventDefault(), !Re && be && !ve && A(W.key, De)), W.target !== _.value || !sP.includes(W.key)) return;
18926
+ const Ne = g.value?.getItems() ?? [];
18927
+ if (ae && (W.key === "Tab" && i.modal.value && W.preventDefault(), !Re && be && !ve && A(W.key, Ne)), W.target !== _.value || !sP.includes(W.key)) return;
18892
18928
  W.preventDefault();
18893
- const Ye = [...De.map((ot) => ot.ref)];
18929
+ const Ye = [...Ne.map((ot) => ot.ref)];
18894
18930
  mm.includes(W.key) && Ye.reverse(), nl(Ye);
18895
18931
  }
18896
18932
  function B(W) {
@@ -18908,9 +18944,9 @@ var dE = /* @__PURE__ */ z({
18908
18944
  rr(W) && P.value && P.value.focus();
18909
18945
  }
18910
18946
  return cE({
18911
- onItemEnter: (W) => !!N(W),
18912
- onItemLeave: (W) => N(W) ? !0 : (["INPUT", "TEXTAREA"].includes(lt()?.tagName || "") || _.value?.focus(), v.value = null, !1),
18913
- onTriggerLeave: (W) => !!N(W),
18947
+ onItemEnter: (W) => !!D(W),
18948
+ onItemLeave: (W) => D(W) ? !0 : (["INPUT", "TEXTAREA"].includes(lt()?.tagName || "") || _.value?.focus(), v.value = null, !1),
18949
+ onTriggerLeave: (W) => !!D(W),
18914
18950
  searchRef: c,
18915
18951
  highlightedElement: w,
18916
18952
  onKeydownNavigation: S,
@@ -18924,7 +18960,7 @@ var dE = /* @__PURE__ */ z({
18924
18960
  onPointerGraceIntentChange: (W) => {
18925
18961
  p.value = W;
18926
18962
  }
18927
- }), (W, oe) => (y(), D(f(uu), {
18963
+ }), (W, oe) => (y(), N(f(uu), {
18928
18964
  "as-child": "",
18929
18965
  trapped: f(a),
18930
18966
  onMountAutoFocus: I,
@@ -19049,7 +19085,7 @@ var dE = /* @__PURE__ */ z({
19049
19085
  if (await ze(), u.defaultPrevented || !rr(u) || n.highlightedElement.value !== r.value) return;
19050
19086
  !n.onItemLeave(u) && n.highlightedElement.value === r.value && (n.highlightedElement.value = void 0);
19051
19087
  }
19052
- return (u, d) => (y(), D(f(i), { value: { textValue: u.textValue } }, {
19088
+ return (u, d) => (y(), N(f(i), { value: { textValue: u.textValue } }, {
19053
19089
  default: T(() => [j(f(Ae), le({
19054
19090
  ref: f(o),
19055
19091
  role: "menuitem",
@@ -19082,7 +19118,7 @@ var dE = /* @__PURE__ */ z({
19082
19118
  _: 3
19083
19119
  }, 8, ["value"]));
19084
19120
  }
19085
- }), Dm = fE, pE = /* @__PURE__ */ z({
19121
+ }), Nm = fE, pE = /* @__PURE__ */ z({
19086
19122
  __name: "MenuItem",
19087
19123
  props: {
19088
19124
  disabled: {
@@ -19115,7 +19151,7 @@ var dE = /* @__PURE__ */ z({
19115
19151
  o("select", d), await ze(), d.defaultPrevented ? l.value = !1 : a.onClose();
19116
19152
  }
19117
19153
  }
19118
- return (u, d) => (y(), D(Dm, le(n, {
19154
+ return (u, d) => (y(), N(Nm, le(n, {
19119
19155
  ref: f(r),
19120
19156
  onClick: c,
19121
19157
  onPointerdown: d[0] || (d[0] = () => {
@@ -19154,7 +19190,7 @@ var mE = /* @__PURE__ */ z({
19154
19190
  },
19155
19191
  setup(e) {
19156
19192
  const t = hE({ modelValue: /* @__PURE__ */ M(!1) });
19157
- return (n, o) => (y(), D(f(Wn), { present: n.forceMount || f(Ji)(f(t).modelValue.value) || f(t).modelValue.value === !0 }, {
19193
+ return (n, o) => (y(), N(f(Wn), { present: n.forceMount || f(Ji)(f(t).modelValue.value) || f(t).modelValue.value === !0 }, {
19158
19194
  default: T(() => [j(f(Ae), {
19159
19195
  as: n.as,
19160
19196
  "as-child": n.asChild,
@@ -19197,8 +19233,8 @@ var mE = /* @__PURE__ */ z({
19197
19233
  },
19198
19234
  emits: ["select", "update:modelValue"],
19199
19235
  setup(e, { emit: t }) {
19200
- const n = e, o = t, r = ou(n, ["modelValue"]), i = Io(r), a = /* @__PURE__ */ Nt(n, "modelValue", o);
19201
- return Mm({ modelValue: a }), (s, l) => (y(), D(ku, le({ role: "menuitemcheckbox" }, f(i), {
19236
+ const n = e, o = t, r = ou(n, ["modelValue"]), i = Io(r), a = /* @__PURE__ */ Dt(n, "modelValue", o);
19237
+ return Mm({ modelValue: a }), (s, l) => (y(), N(ku, le({ role: "menuitemcheckbox" }, f(i), {
19202
19238
  "aria-checked": f(Ji)(f(a)) ? "mixed" : f(a),
19203
19239
  "data-state": f(du)(f(a)),
19204
19240
  onSelect: l[0] || (l[0] = async (c) => {
@@ -19311,8 +19347,8 @@ var mE = /* @__PURE__ */ z({
19311
19347
  "closeAutoFocus"
19312
19348
  ],
19313
19349
  setup(e, { emit: t }) {
19314
- const n = e, o = t, r = Un(n, o), i = No(), { forwardRef: a, currentElement: s } = _e();
19315
- return su(s), (l, c) => (y(), D(xu, le(f(r), {
19350
+ const n = e, o = t, r = Un(n, o), i = Do(), { forwardRef: a, currentElement: s } = _e();
19351
+ return su(s), (l, c) => (y(), N(xu, le(f(r), {
19316
19352
  ref: f(a),
19317
19353
  "trap-focus": f(i).open.value,
19318
19354
  "disable-outside-pointer-events": f(i).open.value,
@@ -19426,8 +19462,8 @@ var mE = /* @__PURE__ */ z({
19426
19462
  "closeAutoFocus"
19427
19463
  ],
19428
19464
  setup(e, { emit: t }) {
19429
- const r = Un(e, t), i = No();
19430
- return (a, s) => (y(), D(xu, le(f(r), {
19465
+ const r = Un(e, t), i = Do();
19466
+ return (a, s) => (y(), N(xu, le(f(r), {
19431
19467
  "trap-focus": !1,
19432
19468
  "disable-outside-pointer-events": !1,
19433
19469
  "disable-outside-scroll": !1,
@@ -19543,15 +19579,15 @@ var mE = /* @__PURE__ */ z({
19543
19579
  "closeAutoFocus"
19544
19580
  ],
19545
19581
  setup(e, { emit: t }) {
19546
- const r = Un(e, t), i = No(), a = ei();
19547
- return (s, l) => (y(), D(f(Wn), { present: s.forceMount || f(i).open.value }, {
19548
- default: T(() => [f(a).modal.value ? (y(), D(wE, ct(le({ key: 0 }, {
19582
+ const r = Un(e, t), i = Do(), a = ei();
19583
+ return (s, l) => (y(), N(f(Wn), { present: s.forceMount || f(i).open.value }, {
19584
+ default: T(() => [f(a).modal.value ? (y(), N(wE, ct(le({ key: 0 }, {
19549
19585
  ...s.$attrs,
19550
19586
  ...f(r)
19551
19587
  })), {
19552
19588
  default: T(() => [R(s.$slots, "default")]),
19553
19589
  _: 3
19554
- }, 16)) : (y(), D(SE, ct(le({ key: 1 }, {
19590
+ }, 16)) : (y(), N(SE, ct(le({ key: 1 }, {
19555
19591
  ...s.$attrs,
19556
19592
  ...f(r)
19557
19593
  })), {
@@ -19562,7 +19598,7 @@ var mE = /* @__PURE__ */ z({
19562
19598
  }, 8, ["present"]));
19563
19599
  }
19564
19600
  }), kE = xE;
19565
- const [DM, CE] = /* @__PURE__ */ Je("MenuGroup");
19601
+ const [NM, CE] = /* @__PURE__ */ Je("MenuGroup");
19566
19602
  var PE = /* @__PURE__ */ z({
19567
19603
  __name: "MenuGroup",
19568
19604
  props: {
@@ -19577,7 +19613,7 @@ var PE = /* @__PURE__ */ z({
19577
19613
  },
19578
19614
  setup(e) {
19579
19615
  const t = e, n = Wt(void 0, "reka-menu-group");
19580
- return CE({ id: n }), (o, r) => (y(), D(f(Ae), le({ role: "group" }, t, { "aria-labelledby": f(n) }), {
19616
+ return CE({ id: n }), (o, r) => (y(), N(f(Ae), le({ role: "group" }, t, { "aria-labelledby": f(n) }), {
19581
19617
  default: T(() => [R(o.$slots, "default")]),
19582
19618
  _: 3
19583
19619
  }, 16, ["aria-labelledby"]));
@@ -19604,7 +19640,7 @@ var PE = /* @__PURE__ */ z({
19604
19640
  },
19605
19641
  setup(e) {
19606
19642
  const t = e;
19607
- return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
19643
+ return (n, o) => (y(), N(f(Ra), ct(mt(t)), {
19608
19644
  default: T(() => [R(n.$slots, "default")]),
19609
19645
  _: 3
19610
19646
  }, 16));
@@ -19630,18 +19666,18 @@ var IE = /* @__PURE__ */ z({
19630
19666
  },
19631
19667
  emits: ["update:modelValue"],
19632
19668
  setup(e, { emit: t }) {
19633
- const n = e, o = t, r = ou(n, ["modelValue"]), i = Io(r), a = /* @__PURE__ */ Nt(n, "modelValue", o);
19669
+ const n = e, o = t, r = ou(n, ["modelValue"]), i = Io(r), a = /* @__PURE__ */ Dt(n, "modelValue", o);
19634
19670
  return TE({
19635
19671
  modelValue: a,
19636
19672
  onValueChange: (s) => {
19637
19673
  a.value = s;
19638
19674
  }
19639
- }), (s, l) => (y(), D(AE, ct(mt(f(i))), {
19675
+ }), (s, l) => (y(), N(AE, ct(mt(f(i))), {
19640
19676
  default: T(() => [R(s.$slots, "default", { modelValue: f(a) })]),
19641
19677
  _: 3
19642
19678
  }, 16));
19643
19679
  }
19644
- }), RE = IE, NE = /* @__PURE__ */ z({
19680
+ }), RE = IE, DE = /* @__PURE__ */ z({
19645
19681
  __name: "MenuRadioItem",
19646
19682
  props: {
19647
19683
  value: {
@@ -19668,7 +19704,7 @@ var IE = /* @__PURE__ */ z({
19668
19704
  emits: ["select"],
19669
19705
  setup(e, { emit: t }) {
19670
19706
  const n = e, o = t, r = ou(n, ["value"]), i = Io(r), { value: a } = /* @__PURE__ */ St(n), s = OE(), l = C(() => s.modelValue.value === a?.value);
19671
- return Mm({ modelValue: l }), (c, u) => (y(), D(ku, le({ role: "menuitemradio" }, f(i), {
19707
+ return Mm({ modelValue: l }), (c, u) => (y(), N(ku, le({ role: "menuitemradio" }, f(i), {
19672
19708
  "aria-checked": l.value,
19673
19709
  "data-state": f(du)(l.value),
19674
19710
  onSelect: u[0] || (u[0] = async (d) => {
@@ -19679,7 +19715,7 @@ var IE = /* @__PURE__ */ z({
19679
19715
  _: 3
19680
19716
  }, 16, ["aria-checked", "data-state"]));
19681
19717
  }
19682
- }), DE = NE, ME = /* @__PURE__ */ z({
19718
+ }), NE = DE, ME = /* @__PURE__ */ z({
19683
19719
  __name: "MenuSeparator",
19684
19720
  props: {
19685
19721
  asChild: {
@@ -19693,7 +19729,7 @@ var IE = /* @__PURE__ */ z({
19693
19729
  },
19694
19730
  setup(e) {
19695
19731
  const t = e;
19696
- return (n, o) => (y(), D(f(Ae), le(t, {
19732
+ return (n, o) => (y(), N(f(Ae), le(t, {
19697
19733
  role: "separator",
19698
19734
  "aria-orientation": "horizontal"
19699
19735
  }), {
@@ -19712,13 +19748,13 @@ var qE = /* @__PURE__ */ z({
19712
19748
  } },
19713
19749
  emits: ["update:open"],
19714
19750
  setup(e, { emit: t }) {
19715
- const n = e, r = /* @__PURE__ */ Nt(n, "open", t, {
19751
+ const n = e, r = /* @__PURE__ */ Dt(n, "open", t, {
19716
19752
  defaultValue: !1,
19717
19753
  passive: n.open === void 0
19718
- }), i = No(), a = /* @__PURE__ */ M(), s = /* @__PURE__ */ M();
19754
+ }), i = Do(), a = /* @__PURE__ */ M(), s = /* @__PURE__ */ M();
19719
19755
  return zt((l) => {
19720
19756
  i?.open.value === !1 && (r.value = !1), l(() => r.value = !1);
19721
- }), Nm({
19757
+ }), Dm({
19722
19758
  open: r,
19723
19759
  onOpenChange: (l) => {
19724
19760
  r.value = l;
@@ -19734,7 +19770,7 @@ var qE = /* @__PURE__ */ z({
19734
19770
  onTriggerChange: (l) => {
19735
19771
  a.value = l;
19736
19772
  }
19737
- }), (l, c) => (y(), D(f(Da), null, {
19773
+ }), (l, c) => (y(), N(f(Na), null, {
19738
19774
  default: T(() => [R(l.$slots, "default")]),
19739
19775
  _: 3
19740
19776
  }));
@@ -19838,8 +19874,8 @@ var qE = /* @__PURE__ */ z({
19838
19874
  "closeAutoFocus"
19839
19875
  ],
19840
19876
  setup(e, { emit: t }) {
19841
- const r = Un(e, t), i = No(), a = ei(), s = zm(), l = Ba(), { forwardRef: c, currentElement: u } = _e();
19842
- return s.contentId ||= Wt(void 0, "reka-menu-sub-content"), (d, p) => (y(), D(f(Wn), { present: d.forceMount || f(i).open.value }, {
19877
+ const r = Un(e, t), i = Do(), a = ei(), s = zm(), l = Ba(), { forwardRef: c, currentElement: u } = _e();
19878
+ return s.contentId ||= Wt(void 0, "reka-menu-sub-content"), (d, p) => (y(), N(f(Wn), { present: d.forceMount || f(i).open.value }, {
19843
19879
  default: T(() => [j(xu, le(f(r), {
19844
19880
  id: f(s).contentId,
19845
19881
  ref: f(c),
@@ -19898,7 +19934,7 @@ var qE = /* @__PURE__ */ z({
19898
19934
  }
19899
19935
  },
19900
19936
  setup(e) {
19901
- const t = e, n = No(), o = ei(), r = zm(), i = Ba();
19937
+ const t = e, n = Do(), o = ei(), r = zm(), i = Ba();
19902
19938
  de(n.open, (d) => {
19903
19939
  d ? i.activeSubmenuContext.value = {
19904
19940
  onOpenChange: n.onOpenChange,
@@ -19958,8 +19994,8 @@ var qE = /* @__PURE__ */ z({
19958
19994
  const p = i.searchRef.value !== "";
19959
19995
  t.disabled || p && d.key === " " || lP[o.dir.value].includes(d.key) && (n.onOpenChange(!0), await ze(), n.content.value?.focus(), d.preventDefault());
19960
19996
  }
19961
- return (d, p) => (y(), D(Rm, { "as-child": "" }, {
19962
- default: T(() => [j(Dm, le(t, {
19997
+ return (d, p) => (y(), N(Rm, { "as-child": "" }, {
19998
+ default: T(() => [j(Nm, le(t, {
19963
19999
  id: f(r).triggerId,
19964
20000
  ref: (h) => {
19965
20001
  h && f(r)?.onTriggerChange(h?.$el);
@@ -20013,7 +20049,7 @@ var qE = /* @__PURE__ */ z({
20013
20049
  emits: ["select", "update:modelValue"],
20014
20050
  setup(e, { emit: t }) {
20015
20051
  const n = e, r = To(t);
20016
- return _e(), (i, a) => (y(), D(f(yE), ct(mt({
20052
+ return _e(), (i, a) => (y(), N(f(yE), ct(mt({
20017
20053
  ...n,
20018
20054
  ...f(r)
20019
20055
  })), {
@@ -20049,7 +20085,7 @@ var HE = /* @__PURE__ */ z({
20049
20085
  setup(e, { emit: t }) {
20050
20086
  const n = e, o = t;
20051
20087
  _e();
20052
- const r = /* @__PURE__ */ Nt(n, "open", o, {
20088
+ const r = /* @__PURE__ */ Dt(n, "open", o, {
20053
20089
  defaultValue: n.defaultOpen,
20054
20090
  passive: n.open === void 0
20055
20091
  }), i = /* @__PURE__ */ M(), { modal: a, dir: s } = /* @__PURE__ */ St(n), l = dr(s);
@@ -20066,7 +20102,7 @@ var HE = /* @__PURE__ */ z({
20066
20102
  contentId: "",
20067
20103
  modal: a,
20068
20104
  dir: l
20069
- }), (c, u) => (y(), D(f(uE), {
20105
+ }), (c, u) => (y(), N(f(uE), {
20070
20106
  open: f(r),
20071
20107
  "onUpdate:open": u[0] || (u[0] = (d) => /* @__PURE__ */ Xe(r) ? r.value = d : null),
20072
20108
  dir: f(l),
@@ -20192,7 +20228,7 @@ var HE = /* @__PURE__ */ z({
20192
20228
  a ? a.restoreFocus(i.triggerElement.value) : i.triggerElement.value?.focus();
20193
20229
  }, 0), s.value = !1, c.preventDefault());
20194
20230
  }
20195
- return i.contentId ||= Wt(void 0, "reka-dropdown-menu-content"), (c, u) => (y(), D(f(kE), le(f(r), {
20231
+ return i.contentId ||= Wt(void 0, "reka-dropdown-menu-content"), (c, u) => (y(), N(f(kE), le(f(r), {
20196
20232
  id: f(i).contentId,
20197
20233
  "aria-labelledby": f(i)?.triggerId,
20198
20234
  style: {
@@ -20236,7 +20272,7 @@ var HE = /* @__PURE__ */ z({
20236
20272
  emits: ["select"],
20237
20273
  setup(e, { emit: t }) {
20238
20274
  const n = e, r = To(t);
20239
- return _e(), (i, a) => (y(), D(f(ku), ct(mt({
20275
+ return _e(), (i, a) => (y(), N(f(ku), ct(mt({
20240
20276
  ...n,
20241
20277
  ...f(r)
20242
20278
  })), {
@@ -20262,7 +20298,7 @@ var HE = /* @__PURE__ */ z({
20262
20298
  },
20263
20299
  setup(e) {
20264
20300
  const t = e;
20265
- return _e(), (n, o) => (y(), D(f(vE), ct(mt(t)), {
20301
+ return _e(), (n, o) => (y(), N(f(vE), ct(mt(t)), {
20266
20302
  default: T(() => [R(n.$slots, "default")]),
20267
20303
  _: 3
20268
20304
  }, 16));
@@ -20289,7 +20325,7 @@ var HE = /* @__PURE__ */ z({
20289
20325
  },
20290
20326
  setup(e) {
20291
20327
  const t = e;
20292
- return (n, o) => (y(), D(f($E), ct(mt(t)), {
20328
+ return (n, o) => (y(), N(f($E), ct(mt(t)), {
20293
20329
  default: T(() => [R(n.$slots, "default")]),
20294
20330
  _: 3
20295
20331
  }, 16));
@@ -20313,7 +20349,7 @@ var HE = /* @__PURE__ */ z({
20313
20349
  emits: ["update:modelValue"],
20314
20350
  setup(e, { emit: t }) {
20315
20351
  const n = e, r = To(t);
20316
- return _e(), (i, a) => (y(), D(f(RE), ct(mt({
20352
+ return _e(), (i, a) => (y(), N(f(RE), ct(mt({
20317
20353
  ...n,
20318
20354
  ...f(r)
20319
20355
  })), {
@@ -20348,7 +20384,7 @@ var HE = /* @__PURE__ */ z({
20348
20384
  emits: ["select"],
20349
20385
  setup(e, { emit: t }) {
20350
20386
  const r = Un(e, t);
20351
- return _e(), (i, a) => (y(), D(f(DE), ct(mt(f(r))), {
20387
+ return _e(), (i, a) => (y(), N(f(NE), ct(mt(f(r))), {
20352
20388
  default: T(() => [R(i.$slots, "default")]),
20353
20389
  _: 3
20354
20390
  }, 16));
@@ -20367,7 +20403,7 @@ var HE = /* @__PURE__ */ z({
20367
20403
  },
20368
20404
  setup(e) {
20369
20405
  const t = e;
20370
- return _e(), (n, o) => (y(), D(f(zE), ct(mt(t)), {
20406
+ return _e(), (n, o) => (y(), N(f(zE), ct(mt(t)), {
20371
20407
  default: T(() => [R(n.$slots, "default")]),
20372
20408
  _: 3
20373
20409
  }, 16));
@@ -20387,11 +20423,11 @@ var HE = /* @__PURE__ */ z({
20387
20423
  },
20388
20424
  emits: ["update:open"],
20389
20425
  setup(e, { emit: t }) {
20390
- const n = e, r = /* @__PURE__ */ Nt(n, "open", t, {
20426
+ const n = e, r = /* @__PURE__ */ Dt(n, "open", t, {
20391
20427
  passive: n.open === void 0,
20392
20428
  defaultValue: n.defaultOpen ?? !1
20393
20429
  });
20394
- return _e(), (i, a) => (y(), D(f(LE), {
20430
+ return _e(), (i, a) => (y(), N(f(LE), {
20395
20431
  open: f(r),
20396
20432
  "onUpdate:open": a[0] || (a[0] = (s) => /* @__PURE__ */ Xe(r) ? r.value = s : null)
20397
20433
  }, {
@@ -20498,7 +20534,7 @@ var HE = /* @__PURE__ */ z({
20498
20534
  ],
20499
20535
  setup(e, { emit: t }) {
20500
20536
  const r = Un(e, t);
20501
- return _e(), (i, a) => (y(), D(f(VE), le(f(r), { style: {
20537
+ return _e(), (i, a) => (y(), N(f(VE), le(f(r), { style: {
20502
20538
  "--reka-dropdown-menu-content-transform-origin": "var(--reka-popper-transform-origin)",
20503
20539
  "--reka-dropdown-menu-content-available-width": "var(--reka-popper-available-width)",
20504
20540
  "--reka-dropdown-menu-content-available-height": "var(--reka-popper-available-height)",
@@ -20531,7 +20567,7 @@ var HE = /* @__PURE__ */ z({
20531
20567
  },
20532
20568
  setup(e) {
20533
20569
  const t = e;
20534
- return _e(), (n, o) => (y(), D(f(UE), ct(mt(t)), {
20570
+ return _e(), (n, o) => (y(), N(f(UE), ct(mt(t)), {
20535
20571
  default: T(() => [R(n.$slots, "default")]),
20536
20572
  _: 3
20537
20573
  }, 16));
@@ -20557,7 +20593,7 @@ var HE = /* @__PURE__ */ z({
20557
20593
  const t = e, n = Fm(), { forwardRef: o, currentElement: r } = _e();
20558
20594
  return Qe(() => {
20559
20595
  n.triggerElement = r;
20560
- }), n.triggerId ||= Wt(void 0, "reka-dropdown-menu-trigger"), (i, a) => (y(), D(f(Rm), { "as-child": "" }, {
20596
+ }), n.triggerId ||= Wt(void 0, "reka-dropdown-menu-trigger"), (i, a) => (y(), N(f(Rm), { "as-child": "" }, {
20561
20597
  default: T(() => [j(f(Ae), {
20562
20598
  id: f(n).triggerId,
20563
20599
  ref: f(o),
@@ -20651,7 +20687,7 @@ var y$ = /* @__PURE__ */ z({
20651
20687
  },
20652
20688
  emits: ["update:checked", "select"],
20653
20689
  setup(e, { emit: t }) {
20654
- const n = e, o = t, r = /* @__PURE__ */ Nt(n, "checked", o, { passive: n.checked === void 0 }), { value: i } = /* @__PURE__ */ St(n), { forwardRef: a, currentElement: s } = _e(), l = Qr(s), c = Ta(), u = C(() => n.id && s.value ? document.querySelector(`[for="${n.id}"]`)?.innerText : void 0);
20690
+ const n = e, o = t, r = /* @__PURE__ */ Dt(n, "checked", o, { passive: n.checked === void 0 }), { value: i } = /* @__PURE__ */ St(n), { forwardRef: a, currentElement: s } = _e(), l = Qr(s), c = Ta(), u = C(() => n.id && s.value ? document.querySelector(`[for="${n.id}"]`)?.innerText : void 0);
20655
20691
  function d(p) {
20656
20692
  n.disabled || g$(p, n.value, (h) => {
20657
20693
  o("select", h), !h?.defaultPrevented && (r.value = !0, l.value && h.stopPropagation());
@@ -20691,7 +20727,7 @@ var y$ = /* @__PURE__ */ z({
20691
20727
  "value",
20692
20728
  "required",
20693
20729
  "name"
20694
- ]), f(l) && p.name ? (y(), D(f(Na), le({
20730
+ ]), f(l) && p.name ? (y(), N(f(Da), le({
20695
20731
  key: 0,
20696
20732
  type: "radio",
20697
20733
  tabindex: "-1",
@@ -20760,7 +20796,7 @@ var S$ = /* @__PURE__ */ z({
20760
20796
  },
20761
20797
  emits: ["update:modelValue"],
20762
20798
  setup(e, { emit: t }) {
20763
- const n = e, o = t, { forwardRef: r, currentElement: i } = _e(), a = /* @__PURE__ */ Nt(n, "modelValue", o, {
20799
+ const n = e, o = t, { forwardRef: r, currentElement: i } = _e(), a = /* @__PURE__ */ Dt(n, "modelValue", o, {
20764
20800
  defaultValue: n.defaultValue,
20765
20801
  passive: n.modelValue === void 0
20766
20802
  }), { disabled: s, loop: l, orientation: c, name: u, required: d, dir: p } = /* @__PURE__ */ St(n), h = dr(p), m = Qr(i);
@@ -20774,7 +20810,7 @@ var S$ = /* @__PURE__ */ z({
20774
20810
  orientation: c,
20775
20811
  name: u?.value,
20776
20812
  required: d
20777
- }), (v, g) => (y(), D(f(Om), {
20813
+ }), (v, g) => (y(), N(f(Om), {
20778
20814
  "as-child": "",
20779
20815
  orientation: f(c),
20780
20816
  dir: f(h),
@@ -20790,7 +20826,7 @@ var S$ = /* @__PURE__ */ z({
20790
20826
  "aria-required": f(d),
20791
20827
  dir: f(h)
20792
20828
  }, {
20793
- default: T(() => [R(v.$slots, "default", { modelValue: f(a) }), f(m) && f(u) ? (y(), D(f(Na), {
20829
+ default: T(() => [R(v.$slots, "default", { modelValue: f(a) }), f(m) && f(u) ? (y(), N(f(Da), {
20794
20830
  key: 0,
20795
20831
  required: f(d),
20796
20832
  disabled: f(s),
@@ -20879,7 +20915,7 @@ var P$ = /* @__PURE__ */ z({
20879
20915
  }, 0);
20880
20916
  }
20881
20917
  const h = Ta();
20882
- return (m, v) => (y(), D(f(Tm), {
20918
+ return (m, v) => (y(), N(f(Tm), {
20883
20919
  checked: c.value,
20884
20920
  disabled: s.value,
20885
20921
  "as-child": "",
@@ -20939,7 +20975,7 @@ var P$ = /* @__PURE__ */ z({
20939
20975
  },
20940
20976
  setup(e) {
20941
20977
  const { forwardRef: t } = _e(), n = k$();
20942
- return (o, r) => (y(), D(f(Wn), { present: o.forceMount || f(n).checked.value }, {
20978
+ return (o, r) => (y(), N(f(Wn), { present: o.forceMount || f(n).checked.value }, {
20943
20979
  default: T(() => [j(f(Ae), le({
20944
20980
  ref: f(t),
20945
20981
  "data-state": f(n).checked.value ? "checked" : "unchecked",
@@ -20975,7 +21011,7 @@ function I$(e) {
20975
21011
  return e == null || e === "" || Array.isArray(e) && e.length === 0;
20976
21012
  }
20977
21013
  const R$ = ["value"], [po, Lm] = /* @__PURE__ */ Je("SelectRoot");
20978
- var N$ = /* @__PURE__ */ z({
21014
+ var D$ = /* @__PURE__ */ z({
20979
21015
  inheritAttrs: !1,
20980
21016
  __name: "SelectRoot",
20981
21017
  props: {
@@ -21033,11 +21069,11 @@ var N$ = /* @__PURE__ */ z({
21033
21069
  },
21034
21070
  emits: ["update:modelValue", "update:open"],
21035
21071
  setup(e, { emit: t }) {
21036
- const n = e, o = t, { required: r, disabled: i, multiple: a, dir: s } = /* @__PURE__ */ St(n), l = /* @__PURE__ */ Nt(n, "modelValue", o, {
21072
+ const n = e, o = t, { required: r, disabled: i, multiple: a, dir: s } = /* @__PURE__ */ St(n), l = /* @__PURE__ */ Dt(n, "modelValue", o, {
21037
21073
  defaultValue: n.defaultValue ?? (a.value ? [] : void 0),
21038
21074
  passive: n.modelValue === void 0,
21039
21075
  deep: !0
21040
- }), c = /* @__PURE__ */ Nt(n, "open", o, {
21076
+ }), c = /* @__PURE__ */ Dt(n, "open", o, {
21041
21077
  defaultValue: n.defaultOpen,
21042
21078
  passive: n.open === void 0
21043
21079
  }), u = /* @__PURE__ */ M(), d = /* @__PURE__ */ M(), p = /* @__PURE__ */ M({
@@ -21087,11 +21123,11 @@ var N$ = /* @__PURE__ */ z({
21087
21123
  const S = A(w.value);
21088
21124
  S && g.value.delete(S);
21089
21125
  }
21090
- }), (w, S) => (y(), D(f(Da), null, {
21126
+ }), (w, S) => (y(), N(f(Na), null, {
21091
21127
  default: T(() => [R(w.$slots, "default", {
21092
21128
  modelValue: f(l),
21093
21129
  open: f(c)
21094
- }), f(v) && w.name ? (y(), D(z$, {
21130
+ }), f(v) && w.name ? (y(), N(z$, {
21095
21131
  key: b.value,
21096
21132
  "aria-hidden": "true",
21097
21133
  tabindex: "-1",
@@ -21118,7 +21154,7 @@ var N$ = /* @__PURE__ */ z({
21118
21154
  _: 3
21119
21155
  }));
21120
21156
  }
21121
- }), D$ = N$, M$ = /* @__PURE__ */ z({
21157
+ }), N$ = D$, M$ = /* @__PURE__ */ z({
21122
21158
  __name: "BubbleSelect",
21123
21159
  props: {
21124
21160
  autocomplete: {
@@ -21170,7 +21206,7 @@ var N$ = /* @__PURE__ */ z({
21170
21206
  function r(i) {
21171
21207
  o.onValueChange(i.target.value);
21172
21208
  }
21173
- return (i, a) => (y(), D(f(fu), { "as-child": "" }, {
21209
+ return (i, a) => (y(), N(f(fu), { "as-child": "" }, {
21174
21210
  default: T(() => [ne("select", le({
21175
21211
  ref_key: "selectElement",
21176
21212
  ref: n
@@ -21274,7 +21310,7 @@ var N$ = /* @__PURE__ */ z({
21274
21310
  },
21275
21311
  setup(e) {
21276
21312
  const n = Io(e);
21277
- return (o, r) => (y(), D(f(_u), le(f(n), { style: {
21313
+ return (o, r) => (y(), N(f(_u), le(f(n), { style: {
21278
21314
  boxSizing: "border-box",
21279
21315
  "--reka-select-content-transform-origin": "var(--reka-popper-transform-origin)",
21280
21316
  "--reka-select-content-available-width": "var(--reka-popper-available-width)",
@@ -21427,19 +21463,19 @@ var B$ = /* @__PURE__ */ z({
21427
21463
  x: 0,
21428
21464
  y: 0
21429
21465
  };
21430
- const N = (L) => {
21466
+ const D = (L) => {
21431
21467
  O = {
21432
21468
  x: Math.abs(Math.round(L.pageX) - (A.value?.x ?? 0)),
21433
21469
  y: Math.abs(Math.round(L.pageY) - (A.value?.y ?? 0))
21434
21470
  };
21435
21471
  }, I = (L) => {
21436
- L.pointerType !== "touch" && (O.x <= 10 && O.y <= 10 ? L.preventDefault() : l.value?.contains(L.target) || _(!1), document.removeEventListener("pointermove", N), A.value = null);
21472
+ L.pointerType !== "touch" && (O.x <= 10 && O.y <= 10 ? L.preventDefault() : l.value?.contains(L.target) || _(!1), document.removeEventListener("pointermove", D), A.value = null);
21437
21473
  };
21438
- A.value !== null && (document.addEventListener("pointermove", N), document.addEventListener("pointerup", I, {
21474
+ A.value !== null && (document.addEventListener("pointermove", D), document.addEventListener("pointerup", I, {
21439
21475
  capture: !0,
21440
21476
  once: !0
21441
21477
  })), P(() => {
21442
- document.removeEventListener("pointermove", N), document.removeEventListener("pointerup", I, { capture: !0 });
21478
+ document.removeEventListener("pointermove", D), document.removeEventListener("pointerup", I, { capture: !0 });
21443
21479
  });
21444
21480
  });
21445
21481
  function w(P) {
@@ -21469,8 +21505,8 @@ var B$ = /* @__PURE__ */ z({
21469
21505
  onViewportChange: (P) => {
21470
21506
  d.value = P;
21471
21507
  },
21472
- itemRefCallback: (P, O, N) => {
21473
- const I = !v.value && !N, L = Kr(r.modelValue.value, O, r.by);
21508
+ itemRefCallback: (P, O, D) => {
21509
+ const I = !v.value && !D, L = Kr(r.modelValue.value, O, r.by);
21474
21510
  if (r.multiple.value) {
21475
21511
  if (g.value) return;
21476
21512
  (L || I) && (p.value = P, L && (g.value = !0));
@@ -21482,21 +21518,21 @@ var B$ = /* @__PURE__ */ z({
21482
21518
  onItemLeave: () => {
21483
21519
  l.value?.focus();
21484
21520
  },
21485
- itemTextRefCallback: (P, O, N) => {
21486
- const I = !v.value && !N;
21521
+ itemTextRefCallback: (P, O, D) => {
21522
+ const I = !v.value && !D;
21487
21523
  (Kr(r.modelValue.value, O, r.by) || I) && (h.value = P);
21488
21524
  },
21489
21525
  focusSelectedItem: b,
21490
21526
  position: n.position,
21491
21527
  isPositioned: m,
21492
21528
  searchRef: c
21493
- }), (P, O) => (y(), D(f(a), null, {
21529
+ }), (P, O) => (y(), N(f(a), null, {
21494
21530
  default: T(() => [j(f(uu), {
21495
21531
  "as-child": "",
21496
21532
  onMountAutoFocus: O[6] || (O[6] = pt(() => {
21497
21533
  }, ["prevent"])),
21498
- onUnmountAutoFocus: O[7] || (O[7] = (N) => {
21499
- o("closeAutoFocus", N), !N.defaultPrevented && (i ? i.restoreFocus(f(r).triggerElement.value) : f(r).triggerElement.value?.focus({ preventScroll: !0 }), N.preventDefault());
21534
+ onUnmountAutoFocus: O[7] || (O[7] = (D) => {
21535
+ o("closeAutoFocus", D), !D.defaultPrevented && (i ? i.restoreFocus(f(r).triggerElement.value) : f(r).triggerElement.value?.focus({ preventScroll: !0 }), D.preventDefault());
21500
21536
  })
21501
21537
  }, {
21502
21538
  default: T(() => [j(f(Ia), {
@@ -21504,18 +21540,18 @@ var B$ = /* @__PURE__ */ z({
21504
21540
  "disable-outside-pointer-events": P.disableOutsidePointerEvents,
21505
21541
  onFocusOutside: O[2] || (O[2] = pt(() => {
21506
21542
  }, ["prevent"])),
21507
- onDismiss: O[3] || (O[3] = (N) => f(r).onOpenChange(!1)),
21508
- onEscapeKeyDown: O[4] || (O[4] = (N) => o("escapeKeyDown", N)),
21509
- onPointerDownOutside: O[5] || (O[5] = (N) => o("pointerDownOutside", N))
21543
+ onDismiss: O[3] || (O[3] = (D) => f(r).onOpenChange(!1)),
21544
+ onEscapeKeyDown: O[4] || (O[4] = (D) => o("escapeKeyDown", D)),
21545
+ onPointerDownOutside: O[5] || (O[5] = (D) => o("pointerDownOutside", D))
21510
21546
  }, {
21511
- default: T(() => [(y(), D(ut(P.position === "popper" ? q$ : K$), le({
21547
+ default: T(() => [(y(), N(ut(P.position === "popper" ? q$ : K$), le({
21512
21548
  ...P.$attrs,
21513
21549
  ...f(k)
21514
21550
  }, {
21515
21551
  id: f(r).contentId,
21516
- ref: (N) => {
21517
- if (!N) return;
21518
- const I = f(wn)(N);
21552
+ ref: (D) => {
21553
+ if (!D) return;
21554
+ const I = f(wn)(D);
21519
21555
  I?.hasAttribute("data-reka-popper-content-wrapper") ? l.value = I.firstElementChild : l.value = I;
21520
21556
  },
21521
21557
  role: "listbox",
@@ -21528,7 +21564,7 @@ var B$ = /* @__PURE__ */ z({
21528
21564
  },
21529
21565
  onContextmenu: O[0] || (O[0] = pt(() => {
21530
21566
  }, ["prevent"])),
21531
- onPlaced: O[1] || (O[1] = (N) => m.value = !0),
21567
+ onPlaced: O[1] || (O[1] = (D) => m.value = !0),
21532
21568
  onKeydown: w
21533
21569
  }), {
21534
21570
  default: T(() => [R(P.$slots, "default")]),
@@ -21574,16 +21610,16 @@ var W$ = /* @__PURE__ */ z({
21574
21610
  const rt = w.right - k.right, me = window.innerWidth - S.right - rt, se = window.innerWidth - A.right - me, Oe = A.width + se, Pt = Math.max(Oe, w.width), x = window.innerWidth - Jt, $ = gd(me, Jt, Math.max(Jt, x - Pt));
21575
21611
  c.value.style.minWidth = `${Oe}px`, c.value.style.right = `${$}px`;
21576
21612
  }
21577
- const P = r().map((rt) => rt.ref), O = window.innerHeight - Jt * 2, N = p.value.scrollHeight, I = window.getComputedStyle(d.value), L = Number.parseInt(I.borderTopWidth, 10), B = Number.parseInt(I.paddingTop, 10), G = Number.parseInt(I.borderBottomWidth, 10), J = Number.parseInt(I.paddingBottom, 10), W = L + B + N + J + G, oe = Math.min(h.value.offsetHeight * 5, W), ae = window.getComputedStyle(p.value), ve = Number.parseInt(ae.paddingTop, 10), Re = Number.parseInt(ae.paddingBottom, 10), be = A.top + A.height / 2 - Jt, Ce = O - be, De = h.value.offsetHeight / 2, Ye = h.value.offsetTop + De, ot = L + B + Ye, Dt = W - ot;
21613
+ const P = r().map((rt) => rt.ref), O = window.innerHeight - Jt * 2, D = p.value.scrollHeight, I = window.getComputedStyle(d.value), L = Number.parseInt(I.borderTopWidth, 10), B = Number.parseInt(I.paddingTop, 10), G = Number.parseInt(I.borderBottomWidth, 10), J = Number.parseInt(I.paddingBottom, 10), W = L + B + D + J + G, oe = Math.min(h.value.offsetHeight * 5, W), ae = window.getComputedStyle(p.value), ve = Number.parseInt(ae.paddingTop, 10), Re = Number.parseInt(ae.paddingBottom, 10), be = A.top + A.height / 2 - Jt, Ce = O - be, Ne = h.value.offsetHeight / 2, Ye = h.value.offsetTop + Ne, ot = L + B + Ye, Nt = W - ot;
21578
21614
  if (ot <= be) {
21579
21615
  const rt = h.value === P.at(-1);
21580
21616
  c.value.style.bottom = "0px";
21581
- const me = d.value.clientHeight - p.value.offsetTop - p.value.offsetHeight, se = Math.max(Ce, De + (rt ? Re : 0) + me + G), Oe = ot + se;
21617
+ const me = d.value.clientHeight - p.value.offsetTop - p.value.offsetHeight, se = Math.max(Ce, Ne + (rt ? Re : 0) + me + G), Oe = ot + se;
21582
21618
  c.value.style.height = `${Oe}px`;
21583
21619
  } else {
21584
21620
  const rt = h.value === P[0];
21585
21621
  c.value.style.top = "0px";
21586
- const se = Math.max(be, L + p.value.offsetTop + (rt ? ve : 0) + De) + Dt;
21622
+ const se = Math.max(be, L + p.value.offsetTop + (rt ? ve : 0) + Ne) + Nt;
21587
21623
  c.value.style.height = `${se}px`, p.value.scrollTop = ot - be + p.value.offsetTop;
21588
21624
  }
21589
21625
  c.value.style.margin = `${Jt}px 0`, c.value.style.minHeight = `${oe}px`, c.value.style.maxHeight = `${O}px`, o("placed"), requestAnimationFrame(() => s.value = !0);
@@ -21765,7 +21801,7 @@ var J$ = /* @__PURE__ */ z({
21765
21801
  d(), u = setTimeout(() => {
21766
21802
  c.value = l.value, u = void 0;
21767
21803
  }), m(d);
21768
- }), sn(d), (p, h) => l.value || c.value || s.value?.present ? (y(), D(f(Wn), {
21804
+ }), sn(d), (p, h) => l.value || c.value || s.value?.present ? (y(), N(f(Wn), {
21769
21805
  key: 0,
21770
21806
  ref_key: "presenceRef",
21771
21807
  ref: s,
@@ -21779,7 +21815,7 @@ var J$ = /* @__PURE__ */ z({
21779
21815
  _: 3
21780
21816
  }, 16)]),
21781
21817
  _: 3
21782
- }, 8, ["present"])) : a.value ? (y(), E("div", G$, [(y(), D(Il, { to: a.value }, [j(H$, { context: f(i) }, {
21818
+ }, 8, ["present"])) : a.value ? (y(), E("div", G$, [(y(), N(Il, { to: a.value }, [j(H$, { context: f(i) }, {
21783
21819
  default: T(() => [R(p.$slots, "default")]),
21784
21820
  _: 3
21785
21821
  }, 8, ["context"])], 8, ["to"]))])) : F("v-if", !0);
@@ -21800,7 +21836,7 @@ var eO = /* @__PURE__ */ z({
21800
21836
  },
21801
21837
  setup(e) {
21802
21838
  const t = e, n = Wt(void 0, "reka-select-group");
21803
- return Q$({ id: n }), (o, r) => (y(), D(f(Ae), le({ role: "group" }, t, { "aria-labelledby": f(n) }), {
21839
+ return Q$({ id: n }), (o, r) => (y(), N(f(Ae), le({ role: "group" }, t, { "aria-labelledby": f(n) }), {
21804
21840
  default: T(() => [R(o.$slots, "default")]),
21805
21841
  _: 3
21806
21842
  }, 16, ["aria-labelledby"]));
@@ -21819,7 +21855,7 @@ var eO = /* @__PURE__ */ z({
21819
21855
  }
21820
21856
  },
21821
21857
  setup(e) {
21822
- return (t, n) => (y(), D(f(Ae), {
21858
+ return (t, n) => (y(), N(f(Ae), {
21823
21859
  "aria-hidden": "true",
21824
21860
  as: t.as,
21825
21861
  "as-child": t.asChild
@@ -21888,7 +21924,7 @@ var iO = /* @__PURE__ */ z({
21888
21924
  onItemTextChange: (w) => {
21889
21925
  p.value = ((p.value || w?.textContent) ?? "").trim();
21890
21926
  }
21891
- }), (w, S) => (y(), D(f(c), { value: { textValue: p.value } }, {
21927
+ }), (w, S) => (y(), N(f(c), { value: { textValue: p.value } }, {
21892
21928
  default: T(() => [j(f(Ae), {
21893
21929
  ref: f(s),
21894
21930
  role: "option",
@@ -21944,7 +21980,7 @@ var iO = /* @__PURE__ */ z({
21944
21980
  },
21945
21981
  setup(e) {
21946
21982
  const t = e, n = Vm();
21947
- return (o, r) => f(n).isSelected.value ? (y(), D(f(Ae), le({
21983
+ return (o, r) => f(n).isSelected.value ? (y(), N(f(Ae), le({
21948
21984
  key: 0,
21949
21985
  "aria-hidden": "true"
21950
21986
  }, t), {
@@ -21976,7 +22012,7 @@ var iO = /* @__PURE__ */ z({
21976
22012
  a.value && (r.onItemTextChange(a.value), o.itemTextRefCallback(a.value, r.value, r.disabled.value), n.onOptionAdd(s.value));
21977
22013
  }), sn(() => {
21978
22014
  n.onOptionRemove(s.value);
21979
- }), (l, c) => (y(), D(f(Ae), le({
22015
+ }), (l, c) => (y(), N(f(Ae), le({
21980
22016
  id: f(r).textId,
21981
22017
  ref: f(i)
21982
22018
  }, {
@@ -22006,7 +22042,7 @@ var iO = /* @__PURE__ */ z({
22006
22042
  },
22007
22043
  setup(e) {
22008
22044
  const t = e, n = X$({ id: "" });
22009
- return (o, r) => (y(), D(f(Ae), le(t, { id: f(n).id }), {
22045
+ return (o, r) => (y(), N(f(Ae), le(t, { id: f(n).id }), {
22010
22046
  default: T(() => [R(o.$slots, "default")]),
22011
22047
  _: 3
22012
22048
  }, 16, ["id"]));
@@ -22033,7 +22069,7 @@ var iO = /* @__PURE__ */ z({
22033
22069
  },
22034
22070
  setup(e) {
22035
22071
  const t = e;
22036
- return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
22072
+ return (n, o) => (y(), N(f(Ra), ct(mt(t)), {
22037
22073
  default: T(() => [R(n.$slots, "default")]),
22038
22074
  _: 3
22039
22075
  }, 16));
@@ -22089,7 +22125,7 @@ var iO = /* @__PURE__ */ z({
22089
22125
  function g(b) {
22090
22126
  h || b.currentTarget?.focus(), h = !1;
22091
22127
  }
22092
- return (b, _) => (y(), D(f(pu), {
22128
+ return (b, _) => (y(), N(f(pu), {
22093
22129
  "as-child": "",
22094
22130
  reference: b.reference
22095
22131
  }, {
@@ -22165,7 +22201,7 @@ var iO = /* @__PURE__ */ z({
22165
22201
  const l = Array.from(r.optionsSet.value), c = (u) => l.find((d) => Kr(u, d.value, r.by));
22166
22202
  return Array.isArray(r.modelValue.value) ? s = r.modelValue.value.map((u) => c(u)?.textContent ?? "") : s = [c(r.modelValue.value)?.textContent ?? ""], s.filter(Boolean);
22167
22203
  }), a = C(() => i.value.length ? i.value.join(", ") : t.placeholder);
22168
- return (s, l) => (y(), D(f(Ae), {
22204
+ return (s, l) => (y(), N(f(Ae), {
22169
22205
  ref: f(n),
22170
22206
  as: s.as,
22171
22207
  "as-child": s.asChild,
@@ -22303,7 +22339,7 @@ var xO = /* @__PURE__ */ z({
22303
22339
  },
22304
22340
  emits: ["update:modelValue"],
22305
22341
  setup(e, { emit: t }) {
22306
- const n = e, o = t, { disabled: r } = /* @__PURE__ */ St(n), i = /* @__PURE__ */ Nt(n, "modelValue", o, {
22342
+ const n = e, o = t, { disabled: r } = /* @__PURE__ */ St(n), i = /* @__PURE__ */ Dt(n, "modelValue", o, {
22307
22343
  defaultValue: n.defaultValue ?? n.falseValue,
22308
22344
  passive: n.modelValue === void 0
22309
22345
  }), a = C(() => i.value === n.trueValue);
@@ -22354,7 +22390,7 @@ var xO = /* @__PURE__ */ z({
22354
22390
  "as",
22355
22391
  "disabled",
22356
22392
  "onKeydown"
22357
- ]), f(u) && h.name ? (y(), D(f(Na), le({
22393
+ ]), f(u) && h.name ? (y(), N(f(Da), le({
22358
22394
  key: 0,
22359
22395
  type: "checkbox",
22360
22396
  name: h.name,
@@ -22385,7 +22421,7 @@ var xO = /* @__PURE__ */ z({
22385
22421
  },
22386
22422
  setup(e) {
22387
22423
  const t = _O();
22388
- return _e(), (n, o) => (y(), D(f(Ae), {
22424
+ return _e(), (n, o) => (y(), N(f(Ae), {
22389
22425
  "data-state": f(t).checked.value ? "checked" : "unchecked",
22390
22426
  "data-disabled": f(t).disabled.value ? "" : void 0,
22391
22427
  "as-child": n.asChild,
@@ -22507,7 +22543,7 @@ var OO = /* @__PURE__ */ z({
22507
22543
  setup(e, { emit: t }) {
22508
22544
  const n = e, o = Gt(), r = t;
22509
22545
  _e();
22510
- const i = ja(), a = C(() => n.disableHoverableContent ?? i.disableHoverableContent.value), s = C(() => n.disableClosingTrigger ?? i.disableClosingTrigger.value), l = C(() => n.disabled ?? i.disabled.value), c = C(() => n.delayDuration ?? i.delayDuration.value), u = C(() => n.ignoreNonKeyboardFocus ?? i.ignoreNonKeyboardFocus.value), d = /* @__PURE__ */ Nt(n, "open", r, {
22546
+ const i = ja(), a = C(() => n.disableHoverableContent ?? i.disableHoverableContent.value), s = C(() => n.disableClosingTrigger ?? i.disableClosingTrigger.value), l = C(() => n.disabled ?? i.disabled.value), c = C(() => n.delayDuration ?? i.delayDuration.value), u = C(() => n.ignoreNonKeyboardFocus ?? i.ignoreNonKeyboardFocus.value), d = /* @__PURE__ */ Dt(n, "open", r, {
22511
22547
  defaultValue: n.defaultOpen,
22512
22548
  passive: n.open === void 0
22513
22549
  });
@@ -22546,7 +22582,7 @@ var OO = /* @__PURE__ */ z({
22546
22582
  disableClosingTrigger: s,
22547
22583
  disabled: l,
22548
22584
  ignoreNonKeyboardFocus: u
22549
- }), (w, S) => (y(), D(f(Da), null, {
22585
+ }), (w, S) => (y(), N(f(Na), null, {
22550
22586
  default: T(() => [R(w.$slots, "default", { open: f(d) })]),
22551
22587
  _: 3
22552
22588
  }));
@@ -22638,7 +22674,7 @@ var OO = /* @__PURE__ */ z({
22638
22674
  qn(window, "scroll", (d) => {
22639
22675
  d.target?.contains(i.trigger.value) && i.onClose();
22640
22676
  }, { capture: !0 }), qn(o?.eventTarget ?? document, jm, i.onClose);
22641
- }), (d, p) => (y(), D(f(Ia), {
22677
+ }), (d, p) => (y(), N(f(Ia), {
22642
22678
  "as-child": "",
22643
22679
  "disable-outside-pointer-events": !1,
22644
22680
  onEscapeKeyDown: p[0] || (p[0] = (h) => r("escapeKeyDown", h)),
@@ -22750,12 +22786,12 @@ var OO = /* @__PURE__ */ z({
22750
22786
  const m = h.closest("[data-grace-area-trigger]");
22751
22787
  return !!m && m !== i.value;
22752
22788
  }) && a();
22753
- }), (u, d) => (y(), D(Um, le({ ref: f(o) }, f(n)), {
22789
+ }), (u, d) => (y(), N(Um, le({ ref: f(o) }, f(n)), {
22754
22790
  default: T(() => [R(u.$slots, "default")]),
22755
22791
  _: 3
22756
22792
  }, 16));
22757
22793
  }
22758
- }), RO = IO, NO = /* @__PURE__ */ z({
22794
+ }), RO = IO, DO = /* @__PURE__ */ z({
22759
22795
  __name: "TooltipContent",
22760
22796
  props: {
22761
22797
  forceMount: {
@@ -22826,15 +22862,15 @@ var OO = /* @__PURE__ */ z({
22826
22862
  emits: ["escapeKeyDown", "pointerDownOutside"],
22827
22863
  setup(e, { emit: t }) {
22828
22864
  const n = e, o = t, r = Ua(), i = Un(n, o), { forwardRef: a } = _e();
22829
- return (s, l) => (y(), D(f(Wn), { present: s.forceMount || f(r).open.value }, {
22830
- default: T(() => [(y(), D(ut(f(r).disableHoverableContent.value ? Um : RO), le({ ref: f(a) }, f(i)), {
22865
+ return (s, l) => (y(), N(f(Wn), { present: s.forceMount || f(r).open.value }, {
22866
+ default: T(() => [(y(), N(ut(f(r).disableHoverableContent.value ? Um : RO), le({ ref: f(a) }, f(i)), {
22831
22867
  default: T(() => [R(s.$slots, "default")]),
22832
22868
  _: 3
22833
22869
  }, 16))]),
22834
22870
  _: 3
22835
22871
  }, 8, ["present"]));
22836
22872
  }
22837
- }), Au = NO, DO = /* @__PURE__ */ z({
22873
+ }), Au = DO, NO = /* @__PURE__ */ z({
22838
22874
  __name: "TooltipPortal",
22839
22875
  props: {
22840
22876
  to: {
@@ -22856,12 +22892,12 @@ var OO = /* @__PURE__ */ z({
22856
22892
  },
22857
22893
  setup(e) {
22858
22894
  const t = e;
22859
- return (n, o) => (y(), D(f(Ra), ct(mt(t)), {
22895
+ return (n, o) => (y(), N(f(Ra), ct(mt(t)), {
22860
22896
  default: T(() => [R(n.$slots, "default")]),
22861
22897
  _: 3
22862
22898
  }, 16));
22863
22899
  }
22864
- }), Eu = DO, MO = /* @__PURE__ */ z({
22900
+ }), Eu = NO, MO = /* @__PURE__ */ z({
22865
22901
  __name: "TooltipTrigger",
22866
22902
  props: {
22867
22903
  reference: {
@@ -22915,7 +22951,7 @@ var OO = /* @__PURE__ */ z({
22915
22951
  function v() {
22916
22952
  n.disableClosingTrigger.value || n.onClose();
22917
22953
  }
22918
- return (g, b) => (y(), D(f(pu), {
22954
+ return (g, b) => (y(), N(f(pu), {
22919
22955
  "as-child": "",
22920
22956
  reference: g.reference ?? f(i)
22921
22957
  }, {
@@ -22980,12 +23016,12 @@ const zO = ["for"], FO = {
22980
23016
  default: T(() => [
22981
23017
  j(f(oE), { class: "flex items-center justify-center" }, {
22982
23018
  default: T(() => [
22983
- n.indeterminate ? (y(), D(f(NC), {
23019
+ n.indeterminate ? (y(), N(f(DC), {
22984
23020
  key: 0,
22985
23021
  "data-ui-checkbox-dash": "",
22986
23022
  class: "size-[calc(var(--ui-choice-box-size)*0.75)] stroke-[2.5]",
22987
23023
  "aria-hidden": "true"
22988
- })) : (y(), D(f(jo), {
23024
+ })) : (y(), N(f(jo), {
22989
23025
  key: 1,
22990
23026
  class: "size-[calc(var(--ui-choice-box-size)*0.75)] stroke-[2.5]",
22991
23027
  "aria-hidden": "true"
@@ -23077,7 +23113,7 @@ const zO = ["for"], FO = {
23077
23113
  emits: ["update:modelValue"],
23078
23114
  setup(e, { emit: t }) {
23079
23115
  const n = e, o = Oo(() => n.disabled), r = t, { controlAttrs: i, wrapperAttrs: a, changed: s } = sr({ value: () => n.modelValue, disabled: () => o.value });
23080
- return (l, c) => (y(), D(f(x$), le({
23116
+ return (l, c) => (y(), N(f(x$), le({
23081
23117
  required: f(i)()["aria-required"] === !0
23082
23118
  }, { ...f(a)(), ...f(i)() }, {
23083
23119
  "model-value": n.modelValue,
@@ -23113,7 +23149,7 @@ const zO = ["for"], FO = {
23113
23149
  }, 8, ["value", "disabled"]),
23114
23150
  ne("span", UO, [
23115
23151
  n.variant === "card" && u.icon ? (y(), E("span", WO, [
23116
- (y(), D(ut(u.icon), { class: "size-[18px]" }))
23152
+ (y(), N(ut(u.icon), { class: "size-[18px]" }))
23117
23153
  ])) : F("", !0),
23118
23154
  ne("span", {
23119
23155
  class: ee(["block leading-[var(--ui-line-height)]", n.variant === "card" ? "font-semibold" : ""])
@@ -23227,20 +23263,20 @@ const YO = { key: 0 }, XO = { key: 1 }, QO = { key: 2 }, eT = {
23227
23263
  function b() {
23228
23264
  const O = u.value?.$el;
23229
23265
  return O ? Array.from(O.querySelectorAll('[role="option"]')).filter(
23230
- (N) => N.getAttribute("aria-disabled") !== "true"
23266
+ (D) => D.getAttribute("aria-disabled") !== "true"
23231
23267
  ) : [];
23232
23268
  }
23233
23269
  function _(O) {
23234
23270
  if (O.key === "Escape" || O.key === "Tab" || (O.stopPropagation(), O.key !== "ArrowDown" && O.key !== "ArrowUp" && O.key !== "Enter")) return;
23235
- const N = b();
23236
- if (N.length) {
23271
+ const D = b();
23272
+ if (D.length) {
23237
23273
  if (O.preventDefault(), O.key === "Enter") {
23238
23274
  p.value = !0;
23239
- const [I] = N;
23275
+ const [I] = D;
23240
23276
  I.focus(), I.dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0, cancelable: !0 }));
23241
23277
  return;
23242
23278
  }
23243
- p.value = !0, N.at(O.key === "ArrowDown" ? 0 : -1)?.focus();
23279
+ p.value = !0, D.at(O.key === "ArrowDown" ? 0 : -1)?.focus();
23244
23280
  }
23245
23281
  }
23246
23282
  function A(O) {
@@ -23250,17 +23286,17 @@ const YO = { key: 0 }, XO = { key: 1 }, QO = { key: 2 }, eT = {
23250
23286
  p.value = !1, O || (a.value = "");
23251
23287
  });
23252
23288
  const w = Ou(() => c.value?.$el, () => s.value), { controlAttrs: S, wrapperAttrs: k, changed: P } = sr({ value: () => r.modelValue, disabled: () => o.value });
23253
- return (O, N) => (y(), E("div", le(f(k)(), {
23289
+ return (O, D) => (y(), E("div", le(f(k)(), {
23254
23290
  class: "w-full min-w-[min(100%,8rem)]",
23255
23291
  "data-syno-pkg-land-ui": ""
23256
23292
  }), [
23257
- j(f(D$), {
23293
+ j(f(N$), {
23258
23294
  required: f(S)()["aria-required"] === !0,
23259
23295
  open: s.value,
23260
- "onUpdate:open": N[2] || (N[2] = (I) => s.value = I),
23296
+ "onUpdate:open": D[2] || (D[2] = (I) => s.value = I),
23261
23297
  "model-value": f(r).modelValue,
23262
23298
  disabled: f(o),
23263
- "onUpdate:modelValue": N[3] || (N[3] = (I) => {
23299
+ "onUpdate:modelValue": D[3] || (D[3] = (I) => {
23264
23300
  f(P)(I), i("update:modelValue", String(I ?? ""));
23265
23301
  })
23266
23302
  }, {
@@ -23302,14 +23338,14 @@ const YO = { key: 0 }, XO = { key: 1 }, QO = { key: 2 }, eT = {
23302
23338
  class: "z-[1450] max-h-[min(var(--reka-select-content-available-height),20rem)] min-w-[var(--reka-select-trigger-width)] max-w-[var(--reka-select-content-available-width)] overflow-hidden rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-surface-raised)] p-1 shadow-[var(--ui-shadow-menu)]",
23303
23339
  "data-syno-pkg-land-ui": "",
23304
23340
  onFocusin: A,
23305
- onPointerdown: N[1] || (N[1] = (I) => p.value = !0)
23341
+ onPointerdown: D[1] || (D[1] = (I) => p.value = !0)
23306
23342
  }, {
23307
23343
  default: T(() => [
23308
23344
  d.value ? (y(), E("div", eT, [
23309
23345
  Go(ne("input", {
23310
23346
  ref_key: "searchInput",
23311
23347
  ref: l,
23312
- "onUpdate:modelValue": N[0] || (N[0] = (I) => a.value = I),
23348
+ "onUpdate:modelValue": D[0] || (D[0] = (I) => a.value = I),
23313
23349
  type: "text",
23314
23350
  placeholder: f(r).searchPlaceholder,
23315
23351
  "aria-label": f(r).searchPlaceholder,
@@ -23320,17 +23356,17 @@ const YO = { key: 0 }, XO = { key: 1 }, QO = { key: 2 }, eT = {
23320
23356
  [Ey, a.value]
23321
23357
  ])
23322
23358
  ])) : F("", !0),
23323
- f(m) ? (y(), E("div", nT, Q(f(r).loadingText), 1)) : (y(), D(f(wO), {
23359
+ f(m) ? (y(), E("div", nT, Q(f(r).loadingText), 1)) : (y(), N(f(wO), {
23324
23360
  key: 2,
23325
23361
  ref_key: "viewport",
23326
23362
  ref: u
23327
23363
  }, {
23328
23364
  default: T(() => [
23329
- (y(!0), E(xe, null, tt(f(h), (I) => (y(), D(f(tO), {
23365
+ (y(!0), E(xe, null, tt(f(h), (I) => (y(), N(f(tO), {
23330
23366
  key: I.key
23331
23367
  }, {
23332
23368
  default: T(() => [
23333
- I.label ? (y(), D(f(fO), {
23369
+ I.label ? (y(), N(f(fO), {
23334
23370
  key: 0,
23335
23371
  class: "px-2.5 py-1 text-[length:var(--ui-font-size-sm)] font-semibold text-[var(--ui-text-muted)]"
23336
23372
  }, {
@@ -23339,7 +23375,7 @@ const YO = { key: 0 }, XO = { key: 1 }, QO = { key: 2 }, eT = {
23339
23375
  ]),
23340
23376
  _: 2
23341
23377
  }, 1024)) : F("", !0),
23342
- (y(!0), E(xe, null, tt(I.options, (L) => (y(), D(f(aO), {
23378
+ (y(!0), E(xe, null, tt(I.options, (L) => (y(), N(f(aO), {
23343
23379
  key: L.value,
23344
23380
  value: L.value,
23345
23381
  "text-value": L.label,
@@ -23525,7 +23561,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23525
23561
  }, [
23526
23562
  R(w.$slots, "default")
23527
23563
  ], 512)) : F("", !0),
23528
- r.value ? (y(), D(f(Cu), {
23564
+ r.value ? (y(), N(f(Cu), {
23529
23565
  key: 1,
23530
23566
  "delay-duration": 0
23531
23567
  }, {
@@ -23791,14 +23827,14 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23791
23827
  ]))), 128))
23792
23828
  ])) : (y(), E("div", IT, [
23793
23829
  ne("span", RT, Q(f(t)("Loading…")), 1),
23794
- (y(!0), E(xe, null, tt(e.lines, (r) => (y(), D(Zn, {
23830
+ (y(!0), E(xe, null, tt(e.lines, (r) => (y(), N(Zn, {
23795
23831
  key: r,
23796
23832
  "data-ui-skeleton-line": "",
23797
23833
  width: r === e.lines && e.lines > 1 ? "60%" : "100%"
23798
23834
  }, null, 8, ["width"]))), 128))
23799
23835
  ]));
23800
23836
  }
23801
- }), NT = ["data-variant"], Qm = /* @__PURE__ */ z({
23837
+ }), DT = ["data-variant"], Qm = /* @__PURE__ */ z({
23802
23838
  __name: "Surface",
23803
23839
  props: {
23804
23840
  variant: { default: "default" },
@@ -23821,7 +23857,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23821
23857
  "data-syno-pkg-land-ui": ""
23822
23858
  }, [
23823
23859
  R(i.$slots, "default")
23824
- ], 10, NT));
23860
+ ], 10, DT));
23825
23861
  }
23826
23862
  }), ev = /* @__PURE__ */ z({
23827
23863
  inheritAttrs: !1,
@@ -23842,7 +23878,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23842
23878
  function i(a) {
23843
23879
  !t.openOnTap || t.disabled || a.pointerType !== "touch" && a.pointerType !== "pen" || (n.value = !o);
23844
23880
  }
23845
- return (a, s) => (y(), D(f(Cu), { "delay-duration": e.delay }, {
23881
+ return (a, s) => (y(), N(f(Cu), { "delay-duration": e.delay }, {
23846
23882
  default: T(() => [
23847
23883
  j(f(Pu), {
23848
23884
  disabled: e.disabled,
@@ -23887,7 +23923,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23887
23923
  _: 3
23888
23924
  }, 8, ["delay-duration"]));
23889
23925
  }
23890
- }), DT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, MT = {
23926
+ }), NT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, MT = {
23891
23927
  key: 0,
23892
23928
  "data-menu-description": "",
23893
23929
  class: "block text-[12px] leading-4 text-[var(--ui-text-secondary)]"
@@ -23952,10 +23988,10 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23952
23988
  return y(!0), E(xe, null, tt(a.value, (u) => (y(), E(xe, {
23953
23989
  key: u.key
23954
23990
  }, [
23955
- u.kind === "separator" ? (y(), D(f(s$), {
23991
+ u.kind === "separator" ? (y(), N(f(s$), {
23956
23992
  key: 0,
23957
23993
  class: "my-1 h-[var(--ui-hairline)] bg-[var(--ui-border-subtle)]"
23958
- })) : u.kind === "submenu" ? (y(), D(f(u$), { key: 1 }, {
23994
+ })) : u.kind === "submenu" ? (y(), N(f(u$), { key: 1 }, {
23959
23995
  default: T(() => [
23960
23996
  j(f(p$), {
23961
23997
  disabled: u.item.disabled,
@@ -23970,17 +24006,17 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23970
24006
  key: 0,
23971
24007
  class: ee(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
23972
24008
  }, [
23973
- u.item.checked ? (y(), D(f(jo), {
24009
+ u.item.checked ? (y(), N(f(jo), {
23974
24010
  key: 0,
23975
24011
  class: "size-3.5",
23976
24012
  "aria-hidden": "true"
23977
- })) : u.item.icon ? (y(), D(ut(u.item.icon), {
24013
+ })) : u.item.icon ? (y(), N(ut(u.item.icon), {
23978
24014
  key: 1,
23979
24015
  class: "size-4",
23980
24016
  "aria-hidden": "true"
23981
24017
  })) : F("", !0)
23982
24018
  ], 2)) : F("", !0),
23983
- ne("span", DT, [
24019
+ ne("span", NT, [
23984
24020
  $e(Q(u.item.label), 1),
23985
24021
  u.item.description ? (y(), E("span", MT, Q(u.item.description), 1)) : F("", !0)
23986
24022
  ]),
@@ -24022,7 +24058,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24022
24058
  }, 1024)
24023
24059
  ]),
24024
24060
  _: 2
24025
- }, 1024)) : u.kind === "checkbox" ? (y(), D(f(KE), {
24061
+ }, 1024)) : u.kind === "checkbox" ? (y(), N(f(KE), {
24026
24062
  key: 2,
24027
24063
  "model-value": e.checkedKeys.includes(u.item.key),
24028
24064
  disabled: u.item.disabled,
@@ -24053,12 +24089,12 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24053
24089
  u.item.shortcut ? (y(), E("span", VT, Q(u.item.shortcut), 1)) : F("", !0)
24054
24090
  ]),
24055
24091
  _: 2
24056
- }, 1032, ["model-value", "disabled", "class", "onUpdate:modelValue", "onSelect"])) : u.kind === "radio" ? (y(), D(f(o$), {
24092
+ }, 1032, ["model-value", "disabled", "class", "onUpdate:modelValue", "onSelect"])) : u.kind === "radio" ? (y(), N(f(o$), {
24057
24093
  key: 3,
24058
24094
  "model-value": e.radioValues[u.group]
24059
24095
  }, {
24060
24096
  default: T(() => [
24061
- (y(!0), E(xe, null, tt(u.items, (d) => (y(), D(f(i$), {
24097
+ (y(!0), E(xe, null, tt(u.items, (d) => (y(), N(f(i$), {
24062
24098
  key: d.key,
24063
24099
  value: d.value,
24064
24100
  disabled: d.disabled,
@@ -24072,7 +24108,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24072
24108
  ne("span", jT, [
24073
24109
  j(f(Ld), null, {
24074
24110
  default: T(() => [
24075
- e.radioIndicator === "check" ? (y(), D(f(jo), {
24111
+ e.radioIndicator === "check" ? (y(), N(f(jo), {
24076
24112
  key: 0,
24077
24113
  class: "size-3.5",
24078
24114
  "aria-hidden": "true"
@@ -24091,7 +24127,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24091
24127
  }, 1032, ["value", "disabled", "class", "onSelect"]))), 128))
24092
24128
  ]),
24093
24129
  _: 2
24094
- }, 1032, ["model-value"])) : (y(), D(f(QE), {
24130
+ }, 1032, ["model-value"])) : (y(), N(f(QE), {
24095
24131
  key: 4,
24096
24132
  disabled: u.item.disabled,
24097
24133
  class: ee([
@@ -24105,11 +24141,11 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24105
24141
  key: 0,
24106
24142
  class: ee(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
24107
24143
  }, [
24108
- u.item.checked ? (y(), D(f(jo), {
24144
+ u.item.checked ? (y(), N(f(jo), {
24109
24145
  key: 0,
24110
24146
  class: "size-3.5",
24111
24147
  "aria-hidden": "true"
24112
- })) : u.item.icon ? (y(), D(ut(u.item.icon), {
24148
+ })) : u.item.icon ? (y(), N(ut(u.item.icon), {
24113
24149
  key: 1,
24114
24150
  class: "size-4",
24115
24151
  "aria-hidden": "true"
@@ -24120,7 +24156,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24120
24156
  u.item.description ? (y(), E("span", GT, Q(u.item.description), 1)) : F("", !0)
24121
24157
  ]),
24122
24158
  u.item.shortcut ? (y(), E("span", JT, Q(u.item.shortcut), 1)) : F("", !0),
24123
- u.item.submenu ? (y(), D(f(Ys), {
24159
+ u.item.submenu ? (y(), N(f(Ys), {
24124
24160
  key: 2,
24125
24161
  class: "size-3.5 shrink-0 text-[var(--ui-text-muted)]",
24126
24162
  "aria-hidden": "true"
@@ -24163,7 +24199,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24163
24199
  const b = { ...d.value, [g]: m };
24164
24200
  i.value = b, g === "" && o("update:radioValue", m), o("update:radioValues", b), o("radioSelect", m, v, g);
24165
24201
  }
24166
- return (m, v) => (y(), D(f(GE), {
24202
+ return (m, v) => (y(), N(f(GE), {
24167
24203
  open: s.value,
24168
24204
  "onUpdate:open": v[1] || (v[1] = (g) => s.value = g)
24169
24205
  }, {
@@ -24179,7 +24215,7 @@ const Gm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
24179
24215
  }, 16),
24180
24216
  j(f(qm), null, {
24181
24217
  default: T(() => [
24182
- n.items.length > 0 ? (y(), D(f(YE), le({
24218
+ n.items.length > 0 ? (y(), N(f(YE), le({
24183
24219
  key: 0,
24184
24220
  "data-ui-popup": ""
24185
24221
  }, m.$attrs, {
@@ -24272,38 +24308,38 @@ function lI(e, t, n) {
24272
24308
  const p = c.ownerDocument.defaultView, h = c.ownerDocument.createElement("div");
24273
24309
  h.setAttribute("data-ui-app", ""), h.setAttribute("data-syno-pkg-land-ui", ""), h.setAttribute("data-ui-modal-scope", "app"), h.setAttribute(oI, ""), Object.assign(h.style, { position: "fixed", inset: "0", pointerEvents: "none" });
24274
24310
  const m = () => {
24275
- for (const N of jd) {
24276
- const I = c.getAttribute(N);
24277
- I === null ? h.removeAttribute(N) : h.setAttribute(N, I);
24311
+ for (const D of jd) {
24312
+ const I = c.getAttribute(D);
24313
+ I === null ? h.removeAttribute(D) : h.setAttribute(D, I);
24278
24314
  }
24279
- for (const N of Ud(h.style)) h.style.removeProperty(N);
24280
- for (const N of Ud(c.style)) h.style.setProperty(N, c.style.getPropertyValue(N));
24315
+ for (const D of Ud(h.style)) h.style.removeProperty(D);
24316
+ for (const D of Ud(c.style)) h.style.setProperty(D, c.style.getPropertyValue(D));
24281
24317
  };
24282
24318
  m();
24283
24319
  const v = new MutationObserver(m);
24284
24320
  v.observe(c, { attributes: !0, attributeFilter: [...jd, "style"] });
24285
24321
  const g = aI(c), b = () => {
24286
- const N = !!g && sI(c, g);
24287
- g && (h.style.zIndex = p.getComputedStyle(g).zIndex, h.style.visibility = N ? "hidden" : "");
24322
+ const D = !!g && sI(c, g);
24323
+ g && (h.style.zIndex = p.getComputedStyle(g).zIndex, h.style.visibility = D ? "hidden" : "");
24288
24324
  const { left: I, top: L, width: B, height: G } = c.getBoundingClientRect();
24289
- if (r.value = N ? null : { left: I, top: L, width: B, height: G }, !N) {
24325
+ if (r.value = D ? null : { left: I, top: L, width: B, height: G }, !D) {
24290
24326
  h.style.setProperty("--ui-floating-owner-width", `${B}px`);
24291
24327
  const J = Math.max(0, Math.min(L + G, p.innerHeight) - Math.max(L, _()));
24292
24328
  h.style.setProperty("--ui-floating-owner-height", `${J}px`);
24293
24329
  }
24294
24330
  }, _ = () => {
24295
- const N = c.ownerDocument.getElementById("sds-taskbar")?.getBoundingClientRect();
24296
- return N && N.height > 0 && N.top <= 0 ? Math.max(N.bottom, 0) : 0;
24331
+ const D = c.ownerDocument.getElementById("sds-taskbar")?.getBoundingClientRect();
24332
+ return D && D.height > 0 && D.top <= 0 ? Math.max(D.bottom, 0) : 0;
24297
24333
  }, A = () => {
24298
24334
  i.value = QT({ width: p.innerWidth, height: p.innerHeight }, _()), h.style.setProperty("--ui-floating-max-height", `${i.value.height}px`), a.value = nI({ width: p.innerWidth, coarse: !!p.matchMedia?.("(pointer: coarse)").matches }), a.value ? h.removeAttribute("data-ui-presentation") : h.setAttribute("data-ui-presentation", "mobile"), b();
24299
24335
  }, w = typeof ResizeObserver > "u" ? null : new ResizeObserver(A);
24300
24336
  w?.observe(c), s = A;
24301
24337
  const S = new MutationObserver(b);
24302
24338
  let k = null;
24303
- const P = (N) => {
24304
- k = N.target;
24305
- }, O = (N) => {
24306
- if (c.contains(N.target)) return;
24339
+ const P = (D) => {
24340
+ k = D.target;
24341
+ }, O = (D) => {
24342
+ if (c.contains(D.target)) return;
24307
24343
  const I = [...h.querySelectorAll("[data-ui-dialog]")].at(-1);
24308
24344
  if (!I) return;
24309
24345
  (k?.isConnected && I.contains(k) ? k : I).focus({ preventScroll: !0 });
@@ -24397,11 +24433,11 @@ const hI = /* @__PURE__ */ z({
24397
24433
  },
24398
24434
  setup(e) {
24399
24435
  const t = cr(null);
24400
- return (n, o) => (y(), D(Il, {
24436
+ return (n, o) => (y(), N(Il, {
24401
24437
  to: e.host ?? "body",
24402
24438
  disabled: !e.host
24403
24439
  }, [
24404
- e.host ? (y(), D(f(sm), {
24440
+ e.host ? (y(), N(f(sm), {
24405
24441
  key: 0,
24406
24442
  "teleport-to": e.host,
24407
24443
  dir: f(t)?.dir?.value,
@@ -24473,18 +24509,18 @@ const hI = /* @__PURE__ */ z({
24473
24509
  height: o.height && `min(${o.height}, 100%)`,
24474
24510
  minHeight: o.minHeight && `min(${o.minHeight}, 100%)`,
24475
24511
  maxHeight: o.maxHeight && `min(${o.maxHeight}, 100%)`
24476
- })), k = C(() => o.fullscreen === !0 ? bI : o.fullscreen === "mobile" ? wI : void 0), P = so(), O = () => pI(P.default), N = C(() => !!(o.title || o.description) || o.showClose || !!P.header), I = /* @__PURE__ */ M(o.defaultOpen), L = C({
24512
+ })), k = C(() => o.fullscreen === !0 ? bI : o.fullscreen === "mobile" ? wI : void 0), P = so(), O = () => pI(P.default), D = C(() => !!(o.title || o.description) || o.showClose || !!P.header), I = /* @__PURE__ */ M(o.defaultOpen), L = C({
24477
24513
  get: () => o.open ?? I.value,
24478
24514
  set: (B) => {
24479
24515
  o.open === void 0 && (I.value = B), r("update:open", B);
24480
24516
  }
24481
24517
  });
24482
- return (B, G) => (y(), D(f(U1), {
24518
+ return (B, G) => (y(), N(f(U1), {
24483
24519
  open: L.value,
24484
24520
  "onUpdate:open": G[6] || (G[6] = (J) => L.value = J)
24485
24521
  }, {
24486
24522
  default: T(() => [
24487
- B.$slots.trigger ? (y(), D(f(TP), le({ key: 0 }, B.$attrs.id ? { "aria-controls": L.value ? B.$attrs.id : void 0 } : {}, { "as-child": "" }), {
24523
+ B.$slots.trigger ? (y(), N(f(TP), le({ key: 0 }, B.$attrs.id ? { "aria-controls": L.value ? B.$attrs.id : void 0 } : {}, { "as-child": "" }), {
24488
24524
  default: T(() => [
24489
24525
  R(B.$slots, "trigger")
24490
24526
  ]),
@@ -24509,14 +24545,14 @@ const hI = /* @__PURE__ */ z({
24509
24545
  // Auto side margins centre it: a -50% shift would leave a content-sized panel half the width.
24510
24546
  f(p) ? void 0 : "inset-x-0 mx-auto top-1/2 -translate-y-1/2",
24511
24547
  // DSM rounds a modal window 3px and only a message box 8px.
24512
- N.value ? "rounded-[var(--ui-radius-window)]" : "rounded-[var(--ui-radius-dialog)]",
24548
+ D.value ? "rounded-[var(--ui-radius-window)]" : "rounded-[var(--ui-radius-dialog)]",
24513
24549
  k.value
24514
24550
  ]],
24515
24551
  style: S.value,
24516
24552
  "data-ui-dialog-sizing": _.value ? "fixed" : "content",
24517
24553
  "data-ui-dialog-size": g.value,
24518
24554
  "data-ui-dialog-floor": w.value,
24519
- "data-ui-dialog-layout": N.value ? "window" : "message",
24555
+ "data-ui-dialog-layout": D.value ? "window" : "message",
24520
24556
  "data-ui-dialog-fullscreen": f(o).fullscreen === !0 ? "" : f(o).fullscreen || void 0,
24521
24557
  "data-syno-pkg-land-ui": "",
24522
24558
  onEscapeKeyDown: G[2] || (G[2] = (J) => r("escapeKeyDown", J)),
@@ -24526,7 +24562,7 @@ const hI = /* @__PURE__ */ z({
24526
24562
  onCloseAutoFocus: G[5] || (G[5] = (J) => r("closeAutoFocus", J))
24527
24563
  }), {
24528
24564
  default: T(() => [
24529
- N.value ? (y(), E("header", {
24565
+ D.value ? (y(), E("header", {
24530
24566
  key: 0,
24531
24567
  ref: "handle",
24532
24568
  class: ee(["flex min-h-10 shrink-0 items-start justify-between gap-4 pr-3", [f(o).headerDivider ? "border-b border-[var(--ui-border-subtle)] py-2.5 pl-5" : "pt-3.5 pb-0 pl-6", f(h) && "cursor-move touch-none select-none"]]),
@@ -24538,7 +24574,7 @@ const hI = /* @__PURE__ */ z({
24538
24574
  ne("div", {
24539
24575
  class: ee(["min-w-0", B.$slots.header && "flex-1"])
24540
24576
  }, [
24541
- f(o).title ? (y(), D(f($P), le({
24577
+ f(o).title ? (y(), N(f($P), le({
24542
24578
  key: 0,
24543
24579
  class: [B.$slots.header && "sr-only", "text-[length:var(--ui-font-size)] leading-5 font-bold text-[var(--ui-text)] [overflow-wrap:anywhere] outline-none focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]"]
24544
24580
  }, f(h) ? { tabindex: 0, "aria-keyshortcuts": "ArrowUp ArrowDown ArrowLeft ArrowRight", "data-ui-keyboard-focus": "" } : {}, {
@@ -24550,7 +24586,7 @@ const hI = /* @__PURE__ */ z({
24550
24586
  ]),
24551
24587
  _: 1
24552
24588
  }, 16, ["class", "onKeydown"])) : F("", !0),
24553
- f(o).description ? (y(), D(f(wP), {
24589
+ f(o).description ? (y(), N(f(wP), {
24554
24590
  key: 1,
24555
24591
  class: "mt-0.5 whitespace-pre-line text-[12px] text-[var(--ui-text-secondary)]"
24556
24592
  }, {
@@ -24561,7 +24597,7 @@ const hI = /* @__PURE__ */ z({
24561
24597
  })) : F("", !0),
24562
24598
  R(B.$slots, "header")
24563
24599
  ], 2),
24564
- f(o).showClose ? (y(), D(f(K1), {
24600
+ f(o).showClose ? (y(), N(f(K1), {
24565
24601
  key: 0,
24566
24602
  "data-dialog-close": "",
24567
24603
  class: "-my-1 flex size-7 shrink-0 items-center justify-center rounded-[var(--ui-radius-sm)] text-[var(--ui-text-muted)] outline-none hover:bg-[var(--ui-surface-hover)] hover:text-[var(--ui-text)] focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]",
@@ -24579,14 +24615,14 @@ const hI = /* @__PURE__ */ z({
24579
24615
  O() ? (y(), E("div", {
24580
24616
  key: 1,
24581
24617
  "data-ui-dialog-body": "",
24582
- class: ee(["min-h-0 flex-1", f(o).flush ? "flex flex-col overflow-hidden" : ["overflow-auto", N.value ? "px-5 py-4" : "px-[30px] pt-6"]]),
24618
+ class: ee(["min-h-0 flex-1", f(o).flush ? "flex flex-col overflow-hidden" : ["overflow-auto", D.value ? "px-5 py-4" : "px-[30px] pt-6"]]),
24583
24619
  "data-ui-dialog-flush": f(o).flush ? "" : void 0
24584
24620
  }, [
24585
24621
  R(B.$slots, "default")
24586
24622
  ], 10, gI)) : F("", !0),
24587
24623
  B.$slots.footer ? (y(), E("footer", {
24588
24624
  key: 2,
24589
- class: ee(["flex shrink-0 flex-wrap items-center justify-end gap-2", N.value ? ["min-h-12 px-5 py-2.5", O() && "border-t border-[var(--ui-border-subtle)]"] : "px-[30px] pt-7 pb-5"])
24625
+ class: ee(["flex shrink-0 flex-wrap items-center justify-end gap-2", D.value ? ["min-h-12 px-5 py-2.5", O() && "border-t border-[var(--ui-border-subtle)]"] : "px-[30px] pt-7 pb-5"])
24590
24626
  }, [
24591
24627
  j(mI, { kind: "action" }, {
24592
24628
  default: T(() => [
@@ -24721,11 +24757,11 @@ const TI = ["disabled", "aria-label", "value", "placeholder"], II = ["disabled",
24721
24757
  class: "relative block min-w-0",
24722
24758
  "data-syno-pkg-land-ui": ""
24723
24759
  }), [
24724
- f(r).variant === "filter" ? (y(), D(f($C), {
24760
+ f(r).variant === "filter" ? (y(), N(f($C), {
24725
24761
  key: 0,
24726
24762
  class: "pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-[var(--ui-text)]",
24727
24763
  "aria-hidden": "true"
24728
- })) : (y(), D(f(LC), {
24764
+ })) : (y(), N(f(LC), {
24729
24765
  key: 1,
24730
24766
  class: "pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-[var(--ui-text-muted)]",
24731
24767
  "aria-hidden": "true"
@@ -24773,12 +24809,12 @@ function pr(e) {
24773
24809
  n?.disconnect(), o && cancelAnimationFrame(o);
24774
24810
  }), t;
24775
24811
  }
24776
- const NI = { xs: "96px", sm: "160px", md: "320px", lg: "480px" }, dl = "md";
24812
+ const DI = { xs: "96px", sm: "160px", md: "320px", lg: "480px" }, dl = "md";
24777
24813
  function rv(e) {
24778
24814
  const t = e ?? dl;
24779
- return t === "full" ? void 0 : NI[t] ?? t;
24815
+ return t === "full" ? void 0 : DI[t] ?? t;
24780
24816
  }
24781
- const DI = ["data-direction"], MI = {
24817
+ const NI = ["data-direction"], MI = {
24782
24818
  key: 0,
24783
24819
  class: "ml-0.5 text-[var(--ui-danger)]"
24784
24820
  }, zI = { class: "min-w-0" }, FI = {
@@ -24825,7 +24861,7 @@ const DI = ["data-direction"], MI = {
24825
24861
  ], 4),
24826
24862
  e.description ? (y(), E("p", FI, Q(e.description), 1)) : F("", !0)
24827
24863
  ])
24828
- ], 14, DI));
24864
+ ], 14, NI));
24829
24865
  }
24830
24866
  }), LI = ["data-open", "data-moving", "inert"], BI = { class: "ui-collapse-inner" }, Tu = /* @__PURE__ */ z({
24831
24867
  __name: "MotionCollapse",
@@ -24968,7 +25004,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
24968
25004
  $e(Q(e.description), 1)
24969
25005
  ])
24970
25006
  ])) : F("", !0),
24971
- e.loading ? (y(), D(Xm, { key: 1 })) : R(u.$slots, "default", {}, void 0, void 0, 2),
25007
+ e.loading ? (y(), N(Xm, { key: 1 })) : R(u.$slots, "default", {}, void 0, void 0, 2),
24972
25008
  u.$slots.footer && !e.loading ? (y(), E("div", XI, [
24973
25009
  R(u.$slots, "footer")
24974
25010
  ])) : F("", !0)
@@ -25010,7 +25046,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25010
25046
  function O() {
25011
25047
  clearTimeout(w), clearTimeout(S), clearTimeout(k);
25012
25048
  }
25013
- function N() {
25049
+ function D() {
25014
25050
  P = !0, s.value?.focus(), setTimeout(() => {
25015
25051
  P = !1;
25016
25052
  }, 0);
@@ -25073,7 +25109,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25073
25109
  }, 100), se = s.value?.ownerDocument ?? document;
25074
25110
  se.addEventListener("pointerup", me, { once: !0, capture: !0 }), se.addEventListener("pointercancel", me, { once: !0, capture: !0 });
25075
25111
  }
25076
- function De(me) {
25112
+ function Ne(me) {
25077
25113
  s.value?.contains(me.target) && me.preventDefault();
25078
25114
  }
25079
25115
  function Ye() {
@@ -25084,7 +25120,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25084
25120
  me.querySelectorAll("button,[href],input,select,textarea,[tabindex]")
25085
25121
  ).filter((se) => se.tabIndex >= 0 && !se.matches(":disabled") && !se.closest("[inert]"));
25086
25122
  }
25087
- function Dt() {
25123
+ function Nt() {
25088
25124
  const me = s.value?.ownerDocument;
25089
25125
  if (!me || !s.value) return;
25090
25126
  const se = ot(me.body).filter((Pt) => !l.value?.contains(Pt)), Oe = se.indexOf(s.value);
@@ -25097,14 +25133,14 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25097
25133
  }
25098
25134
  function rt(me) {
25099
25135
  if (me.key === "Escape") {
25100
- me.stopPropagation(), L(), N();
25136
+ me.stopPropagation(), L(), D();
25101
25137
  return;
25102
25138
  }
25103
25139
  if (me.key !== "Tab" || !l.value) return;
25104
25140
  const se = ot(l.value), Oe = se[0], Pt = se[se.length - 1], x = l.value.ownerDocument.activeElement;
25105
- se.length && (me.shiftKey && x === Oe ? (me.preventDefault(), L(), N()) : !me.shiftKey && x === Pt && (me.preventDefault(), L(), Dt()));
25141
+ se.length && (me.shiftKey && x === Oe ? (me.preventDefault(), L(), D()) : !me.shiftKey && x === Pt && (me.preventDefault(), L(), Nt()));
25106
25142
  }
25107
- return xt(O), (me, se) => (y(), D(f(Cu), {
25143
+ return xt(O), (me, se) => (y(), N(f(Cu), {
25108
25144
  "delay-duration": e.showDelay,
25109
25145
  "disable-hoverable-content": ""
25110
25146
  }, {
@@ -25141,7 +25177,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25141
25177
  onKeydown: Ct
25142
25178
  }), [
25143
25179
  R(me.$slots, "custom", {}, () => [
25144
- (y(), D(ut(e.icon === "info" ? f(tm) : f(xC)), {
25180
+ (y(), N(ut(e.icon === "info" ? f(tm) : f(xC)), {
25145
25181
  class: ee(e.size === "small" ? "size-3.5" : "size-4"),
25146
25182
  "aria-hidden": "true"
25147
25183
  }, null, 8, ["class"]))
@@ -25159,7 +25195,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25159
25195
  "collision-boundary": f(A),
25160
25196
  "collision-padding": 8,
25161
25197
  "aria-label": f(r).ariaLabel,
25162
- onPointerDownOutside: De
25198
+ onPointerDownOutside: Ne
25163
25199
  }, {
25164
25200
  default: T(() => [
25165
25201
  ne("div", {
@@ -25258,7 +25294,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25258
25294
  "data-variant": "hint",
25259
25295
  "data-syno-pkg-land-ui": ""
25260
25296
  }, [
25261
- b.$slots.details ? (y(), D(tR, {
25297
+ b.$slots.details ? (y(), N(tR, {
25262
25298
  key: 0,
25263
25299
  wrap: "",
25264
25300
  "show-delay": 0,
@@ -25270,7 +25306,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25270
25306
  class: "ui-callout-hint-line"
25271
25307
  }, {
25272
25308
  custom: T(() => [
25273
- (y(), D(ut(a.value), {
25309
+ (y(), N(ut(a.value), {
25274
25310
  class: "ui-callout-icon",
25275
25311
  "aria-hidden": "true"
25276
25312
  })),
@@ -25297,7 +25333,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25297
25333
  }, [
25298
25334
  R(b.$slots, "details")
25299
25335
  ], 8, iR)) : (y(), E(xe, { key: 2 }, [
25300
- (y(), D(ut(a.value), {
25336
+ (y(), N(ut(a.value), {
25301
25337
  class: "ui-callout-icon",
25302
25338
  "aria-hidden": "true"
25303
25339
  })),
@@ -25322,7 +25358,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25322
25358
  hidden: h.value || void 0,
25323
25359
  "data-syno-pkg-land-ui": ""
25324
25360
  }, [
25325
- (y(), D(ut(a.value), {
25361
+ (y(), N(ut(a.value), {
25326
25362
  class: "ui-callout-icon",
25327
25363
  "aria-hidden": "true"
25328
25364
  })),
@@ -25352,7 +25388,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25352
25388
  "aria-hidden": "true"
25353
25389
  }, null, 8, ["class"])
25354
25390
  ], 8, pR)) : F("", !0),
25355
- b.$slots.details ? (y(), D(Tu, {
25391
+ b.$slots.details ? (y(), N(Tu, {
25356
25392
  key: 4,
25357
25393
  open: i.value,
25358
25394
  class: "basis-full"
@@ -25410,7 +25446,7 @@ const VI = ["data-collapsible", "aria-busy"], jI = {
25410
25446
  setup(e) {
25411
25447
  return (t, n) => (y(), E("div", yR, [
25412
25448
  e.icon ? (y(), E("div", bR, [
25413
- (y(), D(ut(e.icon), {
25449
+ (y(), N(ut(e.icon), {
25414
25450
  class: "size-6",
25415
25451
  "aria-hidden": "true"
25416
25452
  }))
@@ -25489,7 +25525,7 @@ function Jd(e) {
25489
25525
  function Yd(e, t) {
25490
25526
  return Math.max(t, Math.round(e));
25491
25527
  }
25492
- const dv = (e) => `syno-pkg-land-ui:data-grid:${e}`, Xd = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), NR = (e) => !!e && typeof e == "object" && !Array.isArray(e) && Object.values(e).every((t) => typeof t == "number" && t > 0), DR = (e) => e === null || !!e && typeof e == "object" && typeof e.key == "string" && ["asc", "desc"].includes(e.direction);
25528
+ const dv = (e) => `syno-pkg-land-ui:data-grid:${e}`, Xd = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), DR = (e) => !!e && typeof e == "object" && !Array.isArray(e) && Object.values(e).every((t) => typeof t == "number" && t > 0), NR = (e) => e === null || !!e && typeof e == "object" && typeof e.key == "string" && ["asc", "desc"].includes(e.direction);
25493
25529
  function Qd(e) {
25494
25530
  let t;
25495
25531
  try {
@@ -25499,7 +25535,7 @@ function Qd(e) {
25499
25535
  }
25500
25536
  if (!t || typeof t != "object") return {};
25501
25537
  const n = {};
25502
- return Xd(t.columnOrder) && (n.columnOrder = t.columnOrder), Xd(t.hiddenColumns) && (n.hiddenColumns = t.hiddenColumns), NR(t.columnWidths) && (n.columnWidths = t.columnWidths), "sort" in t && DR(t.sort) && (n.sort = t.sort), typeof t.pageSize == "number" && Number.isInteger(t.pageSize) && t.pageSize > 0 && (n.pageSize = t.pageSize), n;
25538
+ return Xd(t.columnOrder) && (n.columnOrder = t.columnOrder), Xd(t.hiddenColumns) && (n.hiddenColumns = t.hiddenColumns), DR(t.columnWidths) && (n.columnWidths = t.columnWidths), "sort" in t && NR(t.sort) && (n.sort = t.sort), typeof t.pageSize == "number" && Number.isInteger(t.pageSize) && t.pageSize > 0 && (n.pageSize = t.pageSize), n;
25503
25539
  }
25504
25540
  function MR(e, t) {
25505
25541
  try {
@@ -25546,7 +25582,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25546
25582
  "data-table-filler": "",
25547
25583
  "aria-hidden": "true",
25548
25584
  class: "border-b border-[var(--ui-border)] p-0"
25549
- }, YR = { key: 0 }, XR = ["colspan"], QR = ["data-ui-row-new"], eN = ["data-column-type"], tN = {
25585
+ }, YR = { key: 0 }, XR = ["colspan"], QR = ["data-ui-row-new"], eD = ["data-column-type"], tD = {
25550
25586
  key: 0,
25551
25587
  "data-table-filler": "",
25552
25588
  "aria-hidden": "true",
@@ -25610,7 +25646,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25610
25646
  function O(I, L) {
25611
25647
  return String(I[r.rowKey] ?? L);
25612
25648
  }
25613
- const N = PI(() => r.rows.flatMap((I) => I[r.rowKey] == null ? [] : [String(I[r.rowKey])]));
25649
+ const D = PI(() => r.rows.flatMap((I) => I[r.rowKey] == null ? [] : [String(I[r.rowKey])]));
25614
25650
  return Ue(Aa, null), (I, L) => (y(), E("div", {
25615
25651
  ref_key: "root",
25616
25652
  ref: i,
@@ -25623,7 +25659,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25623
25659
  P.value && !f(r).rows.length ? (y(), E("p", qR, Q(f(r).emptyText), 1)) : P.value ? (y(), E("div", LR, [
25624
25660
  (y(!0), E(xe, null, tt(f(r).rows, (B, G) => (y(), E("article", {
25625
25661
  key: O(B, G),
25626
- "data-ui-row-new": f(N).has(O(B, G)) ? "" : void 0,
25662
+ "data-ui-row-new": f(D).has(O(B, G)) ? "" : void 0,
25627
25663
  class: "min-w-0 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-surface)] px-3 py-2.5",
25628
25664
  role: "listitem"
25629
25665
  }, [
@@ -25645,7 +25681,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25645
25681
  ]))), 128))
25646
25682
  ])
25647
25683
  ], 8, BR))), 128))
25648
- ])) : (y(), D($R, {
25684
+ ])) : (y(), N($R, {
25649
25685
  key: 2,
25650
25686
  class: ee(f(r).fill && "min-h-0 flex-1"),
25651
25687
  "viewport-class": f(r).fill ? "h-full overflow-auto border-y border-[var(--ui-border)]" : "overflow-auto border-y border-[var(--ui-border)]"
@@ -25699,7 +25735,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25699
25735
  }, Q(f(r).emptyText), 9, XR)
25700
25736
  ])) : (y(!0), E(xe, { key: 1 }, tt(f(r).rows, (B, G) => (y(), E("tr", {
25701
25737
  key: O(B, G),
25702
- "data-ui-row-new": f(N).has(O(B, G)) ? "" : void 0,
25738
+ "data-ui-row-new": f(D).has(O(B, G)) ? "" : void 0,
25703
25739
  class: "border-b border-[var(--ui-border-subtle)] last:border-b-0 hover:bg-[var(--ui-surface-hover)]"
25704
25740
  }, [
25705
25741
  (y(!0), E(xe, null, tt(f(r).columns, (J) => (y(), E("td", {
@@ -25733,8 +25769,8 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25733
25769
  }, () => [
25734
25770
  $e(Q(B[J.key]), 1)
25735
25771
  ], void 0, 1)
25736
- ], 10, eN))), 128)),
25737
- d.value ? (y(), E("td", tN)) : F("", !0)
25772
+ ], 10, eD))), 128)),
25773
+ d.value ? (y(), E("td", tD)) : F("", !0)
25738
25774
  ], 8, QR))), 128))
25739
25775
  ])
25740
25776
  ], 6)
@@ -25743,7 +25779,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25743
25779
  }, 8, ["class", "viewport-class"]))
25744
25780
  ], 10, FR));
25745
25781
  }
25746
- }), nN = ["data-layout", "data-wrap"], oN = ["data-ui-tooltip-hint", "disabled"], rN = /* @__PURE__ */ z({
25782
+ }), nD = ["data-layout", "data-wrap"], oD = ["data-ui-tooltip-hint", "disabled"], rD = /* @__PURE__ */ z({
25747
25783
  __name: "CellText",
25748
25784
  props: {
25749
25785
  text: {},
@@ -25765,7 +25801,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25765
25801
  "data-wrap": e.wrap ? "" : void 0,
25766
25802
  "data-syno-pkg-land-ui": ""
25767
25803
  }, [
25768
- e.icon ? (y(), D(ut(e.icon), {
25804
+ e.icon ? (y(), N(ut(e.icon), {
25769
25805
  key: 0,
25770
25806
  class: ee(["size-4 shrink-0 text-[var(--ui-text-secondary)]", e.wrap && "mt-0.5"]),
25771
25807
  "aria-hidden": "true"
@@ -25789,7 +25825,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25789
25825
  R(i.$slots, "default", {}, () => [
25790
25826
  $e(Q(e.text), 1)
25791
25827
  ])
25792
- ], 10, oN)) : (y(), E("span", {
25828
+ ], 10, oD)) : (y(), E("span", {
25793
25829
  key: 1,
25794
25830
  "data-ui-cell-primary": "",
25795
25831
  class: ee([r.value, "min-w-0 leading-5 text-[var(--ui-text)]"])
@@ -25812,28 +25848,28 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25812
25848
  ])
25813
25849
  ], 2)) : F("", !0)
25814
25850
  ], 2),
25815
- n ? (y(), D(Jm, {
25851
+ n ? (y(), N(Jm, {
25816
25852
  key: 1,
25817
25853
  target: o.value
25818
25854
  }, null, 8, ["target"])) : F("", !0)
25819
- ], 10, nN));
25855
+ ], 10, nD));
25820
25856
  }
25821
- }), iN = {
25857
+ }), iD = {
25822
25858
  "data-ui-cell-status": "",
25823
25859
  class: "flex min-w-0 items-center gap-[var(--ui-space-2)] leading-4 text-[var(--ui-text)]"
25824
- }, aN = {
25860
+ }, aD = {
25825
25861
  "data-ui-cell-status-label": "",
25826
25862
  tabindex: "0",
25827
25863
  class: "-mx-0.5 min-w-0 truncate rounded-[var(--ui-radius-sm)] px-0.5 outline-none focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)]"
25828
- }, sN = {
25864
+ }, sD = {
25829
25865
  key: 1,
25830
25866
  "data-ui-cell-status-label": "",
25831
25867
  class: "min-w-0 truncate"
25832
- }, lN = {
25868
+ }, lD = {
25833
25869
  key: 1,
25834
25870
  "data-ui-cell-secondary": "",
25835
25871
  class: "min-w-0 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)] tabular-nums [overflow-wrap:anywhere]"
25836
- }, uN = /* @__PURE__ */ z({
25872
+ }, uD = /* @__PURE__ */ z({
25837
25873
  __name: "CellStatus",
25838
25874
  props: {
25839
25875
  label: {},
@@ -25852,104 +25888,104 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25852
25888
  class: ee(["flex min-w-0 flex-col gap-0.5", r.value && !(e.detail || i.$slots.detail) && "relative"]),
25853
25889
  "data-syno-pkg-land-ui": ""
25854
25890
  }, [
25855
- ne("span", iN, [
25891
+ ne("span", iD, [
25856
25892
  j(yT, { tone: e.tone }, null, 8, ["tone"]),
25857
- e.description ? (y(), D(ev, {
25893
+ e.description ? (y(), N(ev, {
25858
25894
  key: 0,
25859
25895
  content: e.description
25860
25896
  }, {
25861
25897
  default: T(() => [
25862
- ne("span", aN, Q(e.label), 1)
25898
+ ne("span", aD, Q(e.label), 1)
25863
25899
  ]),
25864
25900
  _: 1
25865
- }, 8, ["content"])) : (y(), E("span", sN, Q(e.label), 1))
25901
+ }, 8, ["content"])) : (y(), E("span", sD, Q(e.label), 1))
25866
25902
  ]),
25867
- r.value ? (y(), D(Ym, {
25903
+ r.value ? (y(), N(Ym, {
25868
25904
  key: 0,
25869
25905
  value: e.progress,
25870
25906
  "aria-label": e.label,
25871
25907
  size: "sm",
25872
25908
  class: ee(["max-w-40", !(e.detail || i.$slots.detail) && "absolute inset-x-0 top-full mt-0.5"])
25873
25909
  }, null, 8, ["value", "aria-label", "class"])) : F("", !0),
25874
- e.detail || i.$slots.detail ? (y(), E("span", lN, [
25910
+ e.detail || i.$slots.detail ? (y(), E("span", lD, [
25875
25911
  R(i.$slots, "detail", {}, () => [
25876
25912
  $e(Q(e.detail), 1)
25877
25913
  ])
25878
25914
  ])) : F("", !0),
25879
- n ? (y(), D(Jm, {
25915
+ n ? (y(), N(Jm, {
25880
25916
  key: 2,
25881
25917
  target: o.value
25882
25918
  }, null, 8, ["target"])) : F("", !0)
25883
25919
  ], 2));
25884
25920
  }
25885
- }), cN = {
25921
+ }), cD = {
25886
25922
  role: "listitem",
25887
25923
  class: "ui-list-item flex flex-wrap items-start gap-x-[var(--ui-space-4)] gap-y-[var(--ui-space-2)] py-[var(--ui-space-3)]",
25888
25924
  "data-syno-pkg-land-ui": ""
25889
- }, dN = { class: "flex min-w-60 flex-1 items-start gap-[var(--ui-space-3)]" }, fN = {
25925
+ }, dD = { class: "flex min-w-60 flex-1 items-start gap-[var(--ui-space-3)]" }, fD = {
25890
25926
  key: 0,
25891
25927
  "data-ui-list-item-leading": "",
25892
25928
  class: "flex shrink-0 items-center"
25893
- }, pN = { class: "min-w-0 flex-1" }, hN = { class: "flex flex-wrap items-center gap-x-[var(--ui-space-2)] gap-y-1" }, mN = {
25929
+ }, pD = { class: "min-w-0 flex-1" }, hD = { class: "flex flex-wrap items-center gap-x-[var(--ui-space-2)] gap-y-1" }, mD = {
25894
25930
  "data-ui-list-item-title": "",
25895
25931
  class: "font-semibold leading-5 text-[var(--ui-text)]"
25896
- }, vN = {
25932
+ }, vD = {
25897
25933
  key: 0,
25898
25934
  "data-ui-list-item-meta": "",
25899
25935
  class: "flex flex-wrap items-center gap-[var(--ui-space-1)]"
25900
- }, gN = {
25936
+ }, gD = {
25901
25937
  key: 0,
25902
25938
  "data-ui-list-item-description": "",
25903
25939
  class: "mt-1 leading-5 text-[var(--ui-text-secondary)]"
25904
- }, yN = {
25940
+ }, yD = {
25905
25941
  key: 1,
25906
25942
  class: "mt-1 leading-5"
25907
- }, bN = {
25943
+ }, bD = {
25908
25944
  key: 0,
25909
25945
  "data-ui-list-item-actions": "",
25910
25946
  class: "flex shrink-0 flex-wrap items-center gap-[var(--ui-space-2)]"
25911
- }, wN = /* @__PURE__ */ z({
25947
+ }, wD = /* @__PURE__ */ z({
25912
25948
  __name: "ListItem",
25913
25949
  props: {
25914
25950
  title: {},
25915
25951
  description: {}
25916
25952
  },
25917
25953
  setup(e) {
25918
- return (t, n) => (y(), E("div", cN, [
25919
- ne("div", dN, [
25920
- t.$slots.leading ? (y(), E("div", fN, [
25954
+ return (t, n) => (y(), E("div", cD, [
25955
+ ne("div", dD, [
25956
+ t.$slots.leading ? (y(), E("div", fD, [
25921
25957
  R(t.$slots, "leading")
25922
25958
  ])) : F("", !0),
25923
- ne("div", pN, [
25924
- ne("div", hN, [
25925
- ne("span", mN, [
25959
+ ne("div", pD, [
25960
+ ne("div", hD, [
25961
+ ne("span", mD, [
25926
25962
  R(t.$slots, "title", {}, () => [
25927
25963
  $e(Q(e.title), 1)
25928
25964
  ])
25929
25965
  ]),
25930
- t.$slots.meta ? (y(), E("span", vN, [
25966
+ t.$slots.meta ? (y(), E("span", vD, [
25931
25967
  R(t.$slots, "meta")
25932
25968
  ])) : F("", !0)
25933
25969
  ]),
25934
- e.description || t.$slots.description ? (y(), E("div", gN, [
25970
+ e.description || t.$slots.description ? (y(), E("div", gD, [
25935
25971
  R(t.$slots, "description", {}, () => [
25936
25972
  $e(Q(e.description), 1)
25937
25973
  ])
25938
25974
  ])) : F("", !0),
25939
- t.$slots.default ? (y(), E("div", yN, [
25975
+ t.$slots.default ? (y(), E("div", yD, [
25940
25976
  R(t.$slots, "default")
25941
25977
  ])) : F("", !0)
25942
25978
  ])
25943
25979
  ]),
25944
- t.$slots.actions ? (y(), E("div", bN, [
25980
+ t.$slots.actions ? (y(), E("div", bD, [
25945
25981
  R(t.$slots, "actions")
25946
25982
  ])) : F("", !0)
25947
25983
  ]));
25948
25984
  }
25949
- }), _N = ["id"], SN = {
25985
+ }), _D = ["id"], SD = {
25950
25986
  key: 1,
25951
25987
  class: "ml-auto flex shrink-0 items-center gap-1.5"
25952
- }, xN = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], kN = ["id", "role", "aria-labelledby"], CN = /* @__PURE__ */ z({
25988
+ }, xD = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], kD = ["id", "role", "aria-labelledby"], CD = /* @__PURE__ */ z({
25953
25989
  __name: "Card",
25954
25990
  props: {
25955
25991
  title: {},
@@ -25979,7 +26015,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25979
26015
  p.value ? "px-4 py-3" : "px-[var(--ui-card-padding,20px)] py-[calc(var(--ui-card-padding,20px)*0.8)]"
25980
26016
  )
25981
26017
  );
25982
- return (g, b) => (y(), D(Qm, {
26018
+ return (g, b) => (y(), N(Qm, {
25983
26019
  padding: "none",
25984
26020
  class: "flex flex-col overflow-hidden",
25985
26021
  "data-layout": e.layoutType,
@@ -25998,8 +26034,8 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
25998
26034
  R(g.$slots, "title", {}, () => [
25999
26035
  $e(Q(e.title), 1)
26000
26036
  ])
26001
- ], 8, _N)) : F("", !0),
26002
- g.$slots["header-actions"] || e.expandable ? (y(), E("div", SN, [
26037
+ ], 8, _D)) : F("", !0),
26038
+ g.$slots["header-actions"] || e.expandable ? (y(), E("div", SD, [
26003
26039
  R(g.$slots, "header-actions"),
26004
26040
  e.expandable ? (y(), E("button", {
26005
26041
  key: 0,
@@ -26017,7 +26053,7 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
26017
26053
  class: ee(f(Tn)("size-4 transition-transform duration-[var(--ui-motion-fast)]", !f(c) && "-rotate-90")),
26018
26054
  "aria-hidden": "true"
26019
26055
  }, null, 8, ["class"])
26020
- ], 8, xN)) : F("", !0)
26056
+ ], 8, xD)) : F("", !0)
26021
26057
  ])) : F("", !0)
26022
26058
  ], 2)) : F("", !0),
26023
26059
  j(Tu, {
@@ -26031,10 +26067,10 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
26031
26067
  role: e.expandable ? "region" : void 0,
26032
26068
  "aria-labelledby": e.expandable && d.value ? f(s) : void 0
26033
26069
  }, [
26034
- e.loading ? (y(), D(Xm, { key: 0 })) : R(g.$slots, "body", {}, () => [
26070
+ e.loading ? (y(), N(Xm, { key: 0 })) : R(g.$slots, "body", {}, () => [
26035
26071
  R(g.$slots, "default")
26036
26072
  ], void 0, 1)
26037
- ], 10, kN)
26073
+ ], 10, kD)
26038
26074
  ]),
26039
26075
  _: 3
26040
26076
  }, 8, ["open"]),
@@ -26048,16 +26084,16 @@ const FR = ["data-ui-data-view", "data-fill"], qR = {
26048
26084
  _: 3
26049
26085
  }, 8, ["data-layout", "aria-busy"]));
26050
26086
  }
26051
- }), PN = /^#([\da-f]{3}|[\da-f]{6})$/i, AN = /^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)(?:\s*[,/]\s*([\d.]+)(%?))?\s*\)$/i;
26087
+ }), PD = /^#([\da-f]{3}|[\da-f]{6})$/i, AD = /^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)(?:\s*[,/]\s*([\d.]+)(%?))?\s*\)$/i;
26052
26088
  function hl(e) {
26053
26089
  const t = e.trim();
26054
26090
  if (t === "transparent") return [0, 0, 0, 0];
26055
- const n = PN.exec(t)?.[1];
26091
+ const n = PD.exec(t)?.[1];
26056
26092
  if (n) {
26057
26093
  const r = n.length === 3 ? [...n].map((i) => i + i).join("") : n;
26058
26094
  return [0, 2, 4].map((i) => parseInt(r.slice(i, i + 2), 16)).concat(1);
26059
26095
  }
26060
- const o = AN.exec(t);
26096
+ const o = AD.exec(t);
26061
26097
  if (o) {
26062
26098
  const r = o[4] === void 0 ? 1 : Number(o[4]) / (o[5] ? 100 : 1);
26063
26099
  return [Number(o[1]), Number(o[2]), Number(o[3]), r];
@@ -26074,43 +26110,43 @@ function ml(e, t) {
26074
26110
  function Ss([e, t, n, o], r) {
26075
26111
  return [e * (1 - r), t * (1 - r), n * (1 - r), o];
26076
26112
  }
26077
- function EN([e, t, n, o], r) {
26113
+ function ED([e, t, n, o], r) {
26078
26114
  return [e + (255 - e) * r, t + (255 - t) * r, n + (255 - n) * r, o];
26079
26115
  }
26080
- function $N([e, t, n]) {
26116
+ function $D([e, t, n]) {
26081
26117
  const o = (r) => {
26082
26118
  const i = r / 255;
26083
26119
  return i <= 0.04045 ? i / 12.92 : ((i + 0.055) / 1.055) ** 2.4;
26084
26120
  };
26085
26121
  return 0.2126 * o(e) + 0.7152 * o(t) + 0.0722 * o(n);
26086
26122
  }
26087
- function ON(e, t) {
26088
- const n = ml(t, [255, 255, 255, 1]), [o, r] = [ml(e, n), n].map($N).sort((i, a) => a - i);
26123
+ function OD(e, t) {
26124
+ const n = ml(t, [255, 255, 255, 1]), [o, r] = [ml(e, n), n].map($D).sort((i, a) => a - i);
26089
26125
  return (o + 0.05) / (r + 0.05);
26090
26126
  }
26091
- const xs = [255, 255, 255, 1], TN = "#1b1f1c", IN = [0.02, 0.04, 0.1, 0.15, 0.2, 0.3, 0.5, 0.7], RN = [0.04, 0.08, 0.16, 0.22, 0.28, 0.36, 0.5, 0.7], NN = 0.075, DN = 0.22, MN = 0.55, vl = (e) => hl($i(e));
26127
+ const xs = [255, 255, 255, 1], TD = "#1b1f1c", ID = [0.02, 0.04, 0.1, 0.15, 0.2, 0.3, 0.5, 0.7], RD = [0.04, 0.08, 0.16, 0.22, 0.28, 0.36, 0.5, 0.7], DD = 0.075, ND = 0.22, MD = 0.55, vl = (e) => hl($i(e));
26092
26128
  function tf(e, t, n, o, r) {
26093
26129
  for (let i = n; i < 1; i += 0.01) {
26094
26130
  const a = vl(t(e, i));
26095
- if (ON(...r(a)) >= o) return a;
26131
+ if (OD(...r(a)) >= o) return a;
26096
26132
  }
26097
26133
  return t(e, 1);
26098
26134
  }
26099
- function zN(e, { dark: t = !1 } = {}) {
26135
+ function zD(e, { dark: t = !1 } = {}) {
26100
26136
  const n = hl(e);
26101
26137
  if (n[3] !== 1) throw new Error(`An accent must be opaque: "${e}"`);
26102
- const o = tf(n, Ss, 0, 4.5, (u) => [xs, u]), r = t ? hl(TN) : xs, i = (t ? RN : IN).map((u) => [o[0], o[1], o[2], u]), a = i.map((u) => vl(ml(u, r))), s = (u, d) => tf(o, t ? EN : Ss, d, u, (p) => [p, a[2]]), l = t ? [s(4.5, 0), s(7, 0)] : [s(4.5, DN), s(7, MN)];
26103
- return { steps: [...a, o, vl(Ss(o, NN)), ...l].map($i), alpha: i.map($i), contrast: $i(xs) };
26138
+ const o = tf(n, Ss, 0, 4.5, (u) => [xs, u]), r = t ? hl(TD) : xs, i = (t ? RD : ID).map((u) => [o[0], o[1], o[2], u]), a = i.map((u) => vl(ml(u, r))), s = (u, d) => tf(o, t ? ED : Ss, d, u, (p) => [p, a[2]]), l = t ? [s(4.5, 0), s(7, 0)] : [s(4.5, ND), s(7, MD)];
26139
+ return { steps: [...a, o, vl(Ss(o, DD)), ...l].map($i), alpha: i.map($i), contrast: $i(xs) };
26104
26140
  }
26105
- function FN(e, t = {}) {
26106
- const { steps: n, alpha: o, contrast: r } = zN(e, t);
26141
+ function FD(e, t = {}) {
26142
+ const { steps: n, alpha: o, contrast: r } = zD(e, t);
26107
26143
  return Object.fromEntries([
26108
26144
  ...n.map((i, a) => [`--ui-accent-${a + 1}`, i]),
26109
26145
  ...o.map((i, a) => [`--ui-accent-a${a + 1}`, i]),
26110
26146
  ["--ui-accent-contrast", r]
26111
26147
  ]);
26112
26148
  }
26113
- const qN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], LN = /* @__PURE__ */ z({
26149
+ const qD = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], LD = /* @__PURE__ */ z({
26114
26150
  __name: "AppRoot",
26115
26151
  props: {
26116
26152
  modalScope: { default: "app" },
@@ -26134,7 +26170,7 @@ const qN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26134
26170
  h && p?.region(h.element), Ue(nv, h);
26135
26171
  const m = { position: "relative", isolation: "isolate", overflow: "hidden" }, v = C(() => ({
26136
26172
  ...d === "app" ? m : {},
26137
- ...n.accent ? FN(n.accent, { dark: n.colorScheme === "dark" }) : {}
26173
+ ...n.accent ? FD(n.accent, { dark: n.colorScheme === "dark" }) : {}
26138
26174
  }));
26139
26175
  return de(() => n.modalScope, (g) => {
26140
26176
  if (g !== d) throw new Error("AppRoot modal-scope is fixed for the mounted root; remount to change it");
@@ -26173,9 +26209,9 @@ const qN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26173
26209
  ]),
26174
26210
  _: 3
26175
26211
  }, 8, ["teleport-to"])
26176
- ], 12, qN));
26212
+ ], 12, qD));
26177
26213
  }
26178
- }), BN = ["src"], ks = /* @__PURE__ */ z({
26214
+ }), BD = ["src"], ks = /* @__PURE__ */ z({
26179
26215
  __name: "AppBrand",
26180
26216
  props: {
26181
26217
  name: {},
@@ -26186,7 +26222,7 @@ const qN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26186
26222
  emits: ["activate"],
26187
26223
  setup(e, { emit: t }) {
26188
26224
  const n = t, o = xn(), r = (i, { slots: a }) => a.default?.();
26189
- return (i, a) => (y(), D(ut(e.interactive ? "button" : r), ct(mt(e.interactive ? {
26225
+ return (i, a) => (y(), N(ut(e.interactive ? "button" : r), ct(mt(e.interactive ? {
26190
26226
  type: "button",
26191
26227
  "data-ui-brand-action": "",
26192
26228
  "aria-label": f(o)("Go to home"),
@@ -26200,7 +26236,7 @@ const qN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26200
26236
  alt: "",
26201
26237
  width: "28",
26202
26238
  height: "28"
26203
- }, null, 8, BN)) : F("", !0),
26239
+ }, null, 8, BD)) : F("", !0),
26204
26240
  e.name ? (y(), E("span", {
26205
26241
  key: 1,
26206
26242
  "data-ui-brand-name": "",
@@ -26211,7 +26247,7 @@ const qN = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
26211
26247
  }, 16));
26212
26248
  }
26213
26249
  }), gl = (e) => Math.round(Math.min(pl, Math.max(fl, e)));
26214
- function VN(e) {
26250
+ function VD(e) {
26215
26251
  try {
26216
26252
  const t = JSON.parse(localStorage.getItem(e) ?? "null");
26217
26253
  return t && typeof t == "object" ? t : {};
@@ -26219,8 +26255,8 @@ function VN(e) {
26219
26255
  return {};
26220
26256
  }
26221
26257
  }
26222
- function jN(e) {
26223
- const t = e ? `${e}:app-sidebar` : void 0, n = t ? VN(t) : {}, o = /* @__PURE__ */ M(typeof n.width == "number" && Number.isFinite(n.width) ? gl(n.width) : CR), r = /* @__PURE__ */ M(n.collapsed === !0);
26258
+ function jD(e) {
26259
+ const t = e ? `${e}:app-sidebar` : void 0, n = t ? VD(t) : {}, o = /* @__PURE__ */ M(typeof n.width == "number" && Number.isFinite(n.width) ? gl(n.width) : CR), r = /* @__PURE__ */ M(n.collapsed === !0);
26224
26260
  return t && de([o, r], () => {
26225
26261
  try {
26226
26262
  localStorage.setItem(t, JSON.stringify({ width: o.value, collapsed: r.value }));
@@ -26228,25 +26264,25 @@ function jN(e) {
26228
26264
  }
26229
26265
  }), { width: o, collapsed: r };
26230
26266
  }
26231
- const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height", "data-ui-mobile-open", "data-ui-motion-ready", "data-ui-sidebar-collapsed", "data-ui-sidebar-resizing"], WN = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], KN = {
26267
+ const UD = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height", "data-ui-mobile-open", "data-ui-motion-ready", "data-ui-sidebar-collapsed", "data-ui-sidebar-resizing"], WD = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], KD = {
26232
26268
  key: 0,
26233
26269
  "data-ui-mobile-sidebar-header": ""
26234
- }, ZN = {
26270
+ }, ZD = {
26235
26271
  key: 0,
26236
26272
  "data-ui-sidebar-brand": ""
26237
- }, HN = { key: 1 }, GN = ["aria-label"], JN = {
26273
+ }, HD = { key: 1 }, GD = ["aria-label"], JD = {
26238
26274
  key: 1,
26239
26275
  "data-ui-sidebar-brand": ""
26240
- }, YN = { "data-ui-sidebar-body": "" }, XN = {
26276
+ }, YD = { "data-ui-sidebar-body": "" }, XD = {
26241
26277
  key: 2,
26242
26278
  "data-ui-sidebar-footer": ""
26243
- }, QN = ["aria-label", "title", "aria-expanded", "aria-controls"], eD = ["aria-label", "aria-controls", "aria-valuemin", "aria-valuemax", "aria-valuenow"], tD = ["inert"], nD = {
26279
+ }, QD = ["aria-label", "title", "aria-expanded", "aria-controls"], eN = ["aria-label", "aria-controls", "aria-valuemin", "aria-valuemax", "aria-valuenow"], tN = ["inert"], nN = {
26244
26280
  key: 0,
26245
26281
  "data-ui-mobile-navigation": ""
26246
- }, oD = ["aria-label", "aria-expanded", "aria-controls"], rD = {
26282
+ }, oN = ["aria-label", "aria-expanded", "aria-controls"], rN = {
26247
26283
  key: 1,
26248
26284
  "data-ui-sidebar-brand": ""
26249
- }, iD = { key: 2 }, nf = 16, aD = /* @__PURE__ */ z({
26285
+ }, iN = { key: 2 }, nf = 16, aN = /* @__PURE__ */ z({
26250
26286
  __name: "AppLayout",
26251
26287
  props: {
26252
26288
  sidebarWidth: { default: void 0 },
@@ -26280,13 +26316,13 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26280
26316
  });
26281
26317
  const A = C(() => m.value === "web"), w = C(() => n.navigation === "top" && !v.value);
26282
26318
  Ue(uv, w);
26283
- const S = jN(n.sidebarStorageKey), k = C(() => A.value && !w.value && S.collapsed.value);
26319
+ const S = jD(n.sidebarStorageKey), k = C(() => A.value && !w.value && S.collapsed.value);
26284
26320
  Ue(lv, k);
26285
26321
  const P = We("main"), O = /* @__PURE__ */ M(0);
26286
26322
  Ue(cv, () => {
26287
26323
  O.value++;
26288
26324
  }), EI(P, () => O.value);
26289
- const N = C(() => A.value && !w.value && !k.value && n.sidebarWidth === void 0), I = C(() => k.value ? "var(--ui-web-sidebar-collapsed-width, 64px)" : n.sidebarWidth !== void 0 ? n.sidebarWidth : A.value ? `${S.width.value}px` : "var(--ui-sidebar-width)"), L = /* @__PURE__ */ M({});
26325
+ const D = C(() => A.value && !w.value && !k.value && n.sidebarWidth === void 0), I = C(() => k.value ? "var(--ui-web-sidebar-collapsed-width, 64px)" : n.sidebarWidth !== void 0 ? n.sidebarWidth : A.value ? `${S.width.value}px` : "var(--ui-sidebar-width)"), L = /* @__PURE__ */ M({});
26290
26326
  Qe(() => {
26291
26327
  L.value = {
26292
26328
  name: document.title.trim() || void 0,
@@ -26314,7 +26350,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26314
26350
  function Ce() {
26315
26351
  ve.value = !1, document.removeEventListener("pointermove", be), document.removeEventListener("pointerup", Ce), document.removeEventListener("pointercancel", Ce);
26316
26352
  }
26317
- function De(se) {
26353
+ function Ne(se) {
26318
26354
  se.button === 0 && (se.preventDefault(), Re = { x: se.clientX, width: S.width.value }, ve.value = !0, document.addEventListener("pointermove", be), document.addEventListener("pointerup", Ce), document.addEventListener("pointercancel", Ce));
26319
26355
  }
26320
26356
  xt(Ce);
@@ -26327,17 +26363,17 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26327
26363
  function ot() {
26328
26364
  p = document.activeElement instanceof HTMLElement && document.activeElement !== document.body ? document.activeElement : null, g.value = !0, ze(() => u.value?.querySelector("[data-ui-close-navigation]")?.focus());
26329
26365
  }
26330
- const Dt = /* @__PURE__ */ M(0), Ct = C(() => v.value && !!s.tabbar && Dt.value > 0);
26366
+ const Nt = /* @__PURE__ */ M(0), Ct = C(() => v.value && !!s.tabbar && Nt.value > 0);
26331
26367
  Ue(PR, {
26332
26368
  available: C(() => !!s.sidebar),
26333
26369
  open: C(() => g.value),
26334
26370
  id: b,
26335
26371
  show: ot,
26336
26372
  claim() {
26337
- Dt.value++;
26373
+ Nt.value++;
26338
26374
  let se = !1;
26339
26375
  return () => {
26340
- se || (se = !0, Dt.value--);
26376
+ se || (se = !0, Nt.value--);
26341
26377
  };
26342
26378
  }
26343
26379
  }), de(v, (se) => {
@@ -26397,8 +26433,8 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26397
26433
  inert: v.value && !g.value,
26398
26434
  onClick: rt
26399
26435
  }, [
26400
- v.value ? (y(), E("div", KN, [
26401
- G.value ? (y(), E("div", ZN, [
26436
+ v.value ? (y(), E("div", KD, [
26437
+ G.value ? (y(), E("div", ZD, [
26402
26438
  R(se.$slots, "brand", {}, () => [
26403
26439
  j(ks, {
26404
26440
  interactive: i(),
@@ -26407,7 +26443,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26407
26443
  icon: B.value.icon
26408
26444
  }, null, 8, ["interactive", "name", "icon"])
26409
26445
  ])
26410
- ])) : (y(), E("span", HN, Q(f(l)("Application navigation")), 1)),
26446
+ ])) : (y(), E("span", HD, Q(f(l)("Application navigation")), 1)),
26411
26447
  ne("button", {
26412
26448
  "data-ui-close-navigation": "",
26413
26449
  type: "button",
@@ -26418,9 +26454,9 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26418
26454
  size: 20,
26419
26455
  "aria-hidden": "true"
26420
26456
  })
26421
- ], 8, GN)
26457
+ ], 8, GD)
26422
26458
  ])) : F("", !0),
26423
- J.value ? (y(), E("div", JN, [
26459
+ J.value ? (y(), E("div", JD, [
26424
26460
  R(se.$slots, "brand", {}, () => [
26425
26461
  j(ks, {
26426
26462
  interactive: i(),
@@ -26431,10 +26467,10 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26431
26467
  }, null, 8, ["interactive", "name", "icon", "collapsed"])
26432
26468
  ])
26433
26469
  ])) : F("", !0),
26434
- ne("div", YN, [
26470
+ ne("div", YD, [
26435
26471
  R(se.$slots, "sidebar")
26436
26472
  ]),
26437
- W.value ? (y(), E("div", XN, [
26473
+ W.value ? (y(), E("div", XD, [
26438
26474
  R(se.$slots, "sidebar-footer"),
26439
26475
  A.value && !w.value ? (y(), E("button", {
26440
26476
  key: 0,
@@ -26446,13 +26482,13 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26446
26482
  "aria-controls": f(b),
26447
26483
  onClick: oe
26448
26484
  }, [
26449
- (y(), D(ut(k.value ? f(FC) : f(MC)), {
26485
+ (y(), N(ut(k.value ? f(FC) : f(MC)), {
26450
26486
  size: 18,
26451
26487
  "aria-hidden": "true"
26452
26488
  }))
26453
- ], 8, QN)) : F("", !0)
26489
+ ], 8, QD)) : F("", !0)
26454
26490
  ])) : F("", !0),
26455
- N.value ? (y(), E("div", {
26491
+ D.value ? (y(), E("div", {
26456
26492
  key: 3,
26457
26493
  "data-ui-sidebar-resize": "",
26458
26494
  role: "separator",
@@ -26464,15 +26500,15 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26464
26500
  "aria-valuemax": f(pl),
26465
26501
  "aria-valuenow": f(S).width.value,
26466
26502
  onKeydown: ae,
26467
- onPointerdown: De
26468
- }, null, 40, eD)) : F("", !0)
26469
- ], 8, WN)) : F("", !0),
26503
+ onPointerdown: Ne
26504
+ }, null, 40, eN)) : F("", !0)
26505
+ ], 8, WD)) : F("", !0),
26470
26506
  ne("div", {
26471
26507
  "data-ui-layout-main": "",
26472
26508
  class: "flex min-h-0 min-w-0 flex-col bg-[var(--ui-surface)]",
26473
26509
  inert: v.value && g.value
26474
26510
  }, [
26475
- v.value && se.$slots.sidebar && !(Ct.value && !G.value) ? (y(), E("div", nD, [
26511
+ v.value && se.$slots.sidebar && !(Ct.value && !G.value) ? (y(), E("div", nN, [
26476
26512
  Ct.value ? F("", !0) : (y(), E("button", {
26477
26513
  key: 0,
26478
26514
  ref_key: "menuTrigger",
@@ -26488,8 +26524,8 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26488
26524
  size: 20,
26489
26525
  "aria-hidden": "true"
26490
26526
  })
26491
- ], 8, oD)),
26492
- G.value ? (y(), E("div", rD, [
26527
+ ], 8, oN)),
26528
+ G.value ? (y(), E("div", rN, [
26493
26529
  R(se.$slots, "brand", {}, () => [
26494
26530
  j(ks, {
26495
26531
  interactive: i(),
@@ -26498,7 +26534,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26498
26534
  icon: B.value.icon
26499
26535
  }, null, 8, ["interactive", "name", "icon"])
26500
26536
  ])
26501
- ])) : (y(), E("span", iD, Q(f(l)("Application navigation")), 1))
26537
+ ])) : (y(), E("span", iN, Q(f(l)("Application navigation")), 1))
26502
26538
  ])) : F("", !0),
26503
26539
  R(se.$slots, "toolbar"),
26504
26540
  ne("main", {
@@ -26511,10 +26547,10 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26511
26547
  ], 2),
26512
26548
  R(se.$slots, "footer"),
26513
26549
  v.value ? R(se.$slots, "tabbar", {}, void 0, void 0, 1) : F("", !0)
26514
- ], 8, tD)
26515
- ], 46, UN));
26550
+ ], 8, tN)
26551
+ ], 46, UD));
26516
26552
  }
26517
- }), sD = /* @__PURE__ */ z({
26553
+ }), sN = /* @__PURE__ */ z({
26518
26554
  __name: "ResponsiveView",
26519
26555
  props: {
26520
26556
  mode: { default: "auto" }
@@ -26526,14 +26562,14 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26526
26562
  });
26527
26563
  return (i, a) => R(i.$slots, r.value);
26528
26564
  }
26529
- }), lD = /* @__PURE__ */ z({
26565
+ }), lN = /* @__PURE__ */ z({
26530
26566
  __name: "AppSidebarTip",
26531
26567
  props: {
26532
26568
  label: {},
26533
26569
  enabled: { type: Boolean }
26534
26570
  },
26535
26571
  setup(e) {
26536
- return (t, n) => e.enabled ? (y(), D(ev, {
26572
+ return (t, n) => e.enabled ? (y(), N(ev, {
26537
26573
  key: 0,
26538
26574
  content: e.label,
26539
26575
  side: "right"
@@ -26544,20 +26580,20 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26544
26580
  _: 3
26545
26581
  }, 8, ["content"])) : R(t.$slots, "default", {}, void 0, void 0, 1);
26546
26582
  }
26547
- }), uD = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], cD = {
26583
+ }), uN = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], cN = {
26548
26584
  key: 1,
26549
26585
  "data-nav-badge": "",
26550
26586
  class: "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]"
26551
- }, dD = ["disabled", "aria-current", "onClick"], fD = {
26587
+ }, dN = ["disabled", "aria-current", "onClick"], fN = {
26552
26588
  key: 0,
26553
26589
  "data-nav-chevron-spacer": "",
26554
26590
  class: "size-3.5 shrink-0",
26555
26591
  "aria-hidden": "true"
26556
- }, pD = {
26592
+ }, pN = {
26557
26593
  key: 2,
26558
26594
  "data-nav-badge": "",
26559
26595
  class: "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]"
26560
- }, hD = ["aria-label"], of = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", mD = /* @__PURE__ */ z({
26596
+ }, hN = ["aria-label"], of = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", mN = /* @__PURE__ */ z({
26561
26597
  name: "AppSidebarItems",
26562
26598
  __name: "AppSidebarItems",
26563
26599
  props: {
@@ -26579,7 +26615,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26579
26615
  return y(!0), E(xe, null, tt(e.items, (m) => (y(), E(xe, {
26580
26616
  key: m.key
26581
26617
  }, [
26582
- a(m) ? F("", !0) : (y(), D(lD, {
26618
+ a(m) ? F("", !0) : (y(), N(lN, {
26583
26619
  key: 0,
26584
26620
  label: m.label,
26585
26621
  enabled: !!n.collapsed
@@ -26606,7 +26642,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26606
26642
  class: ee(["size-3.5 shrink-0 text-[var(--ui-text-muted)] transition-transform", r(m) && "rotate-90"]),
26607
26643
  "aria-hidden": "true"
26608
26644
  }, null, 8, ["class"]),
26609
- m.icon ? (y(), D(ut(m.icon), {
26645
+ m.icon ? (y(), N(ut(m.icon), {
26610
26646
  key: 0,
26611
26647
  class: "size-[var(--ui-icon-size,22px)] shrink-0",
26612
26648
  "aria-hidden": "true"
@@ -26615,8 +26651,8 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26615
26651
  "data-nav-label": "",
26616
26652
  class: ee(n.collapsed ? "sr-only" : of)
26617
26653
  }, Q(m.label), 3),
26618
- m.badge !== void 0 ? (y(), E("span", cD, Q(m.badge), 1)) : F("", !0)
26619
- ], 14, uD)) : (y(), E("button", {
26654
+ m.badge !== void 0 ? (y(), E("span", cN, Q(m.badge), 1)) : F("", !0)
26655
+ ], 14, uN)) : (y(), E("button", {
26620
26656
  key: 1,
26621
26657
  type: "button",
26622
26658
  "data-nav-item": "",
@@ -26627,8 +26663,8 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26627
26663
  style: Le(i(n.depth)),
26628
26664
  onClick: (v) => o("select", m)
26629
26665
  }, [
26630
- c.value ? (y(), E("span", fD)) : F("", !0),
26631
- m.icon ? (y(), D(ut(m.icon), {
26666
+ c.value ? (y(), E("span", fN)) : F("", !0),
26667
+ m.icon ? (y(), N(ut(m.icon), {
26632
26668
  key: 1,
26633
26669
  class: "size-[var(--ui-icon-size,22px)] shrink-0",
26634
26670
  "aria-hidden": "true"
@@ -26637,8 +26673,8 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26637
26673
  "data-nav-label": "",
26638
26674
  class: ee(n.collapsed ? "sr-only" : of)
26639
26675
  }, Q(m.label), 3),
26640
- m.badge !== void 0 ? (y(), E("span", pD, Q(m.badge), 1)) : F("", !0)
26641
- ], 14, dD))
26676
+ m.badge !== void 0 ? (y(), E("span", pN, Q(m.badge), 1)) : F("", !0)
26677
+ ], 14, dN))
26642
26678
  ]),
26643
26679
  _: 2
26644
26680
  }, 1032, ["label", "enabled"])),
@@ -26658,11 +26694,11 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26658
26694
  onSelect: p[0] || (p[0] = (v) => o("select", v)),
26659
26695
  onToggle: p[1] || (p[1] = (v) => o("toggle", v))
26660
26696
  }, null, 8, ["items", "model-value", "expanded-keys", "depth", "searching", "collapsed"])
26661
- ], 8, hD)) : F("", !0)
26697
+ ], 8, hN)) : F("", !0)
26662
26698
  ], 64))), 128);
26663
26699
  };
26664
26700
  }
26665
- }), vD = ["data-ui-top-nav-more", "data-ui-selected", "data-nav-toggle", "data-nav-item", "data-nav-contains-current", "disabled", "aria-current"], gD = { "data-nav-label": "" }, yD = ["disabled", "aria-current", "onClick"], bD = { "data-nav-label": "" }, rf = "size-[var(--ui-icon-size,18px)] shrink-0", af = "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]", sf = /* @__PURE__ */ z({
26701
+ }), vN = ["data-ui-top-nav-more", "data-ui-selected", "data-nav-toggle", "data-nav-item", "data-nav-contains-current", "disabled", "aria-current"], gN = { "data-nav-label": "" }, yN = ["disabled", "aria-current", "onClick"], bN = { "data-nav-label": "" }, rf = "size-[var(--ui-icon-size,18px)] shrink-0", af = "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[length:var(--ui-font-size-sm)] font-semibold leading-none text-[var(--ui-primary-foreground)]", sf = /* @__PURE__ */ z({
26666
26702
  __name: "AppTopNavItems",
26667
26703
  props: {
26668
26704
  items: {},
@@ -26700,7 +26736,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26700
26736
  return (c, u) => (y(!0), E(xe, null, tt(n.items, (d) => (y(), E(xe, {
26701
26737
  key: d.key
26702
26738
  }, [
26703
- d.children?.length || n.overflow ? (y(), D(XT, {
26739
+ d.children?.length || n.overflow ? (y(), N(XT, {
26704
26740
  key: 0,
26705
26741
  items: i(d),
26706
26742
  "data-ui-top-nav-overflow-menu": n.overflow ? "" : void 0,
@@ -26720,12 +26756,12 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26720
26756
  "aria-current": !n.overflow && d.selectable && n.modelValue === d.key ? "page" : void 0,
26721
26757
  class: ee(l(!n.overflow && n.modelValue === d.key || r(d, n.modelValue)))
26722
26758
  }, [
26723
- d.icon ? (y(), D(ut(d.icon), {
26759
+ d.icon ? (y(), N(ut(d.icon), {
26724
26760
  key: 0,
26725
26761
  class: ee(rf),
26726
26762
  "aria-hidden": "true"
26727
26763
  })) : F("", !0),
26728
- ne("span", gD, Q(d.label), 1),
26764
+ ne("span", gN, Q(d.label), 1),
26729
26765
  d.badge !== void 0 ? (y(), E("span", {
26730
26766
  key: 1,
26731
26767
  "data-nav-badge": "",
@@ -26736,7 +26772,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26736
26772
  class: "size-3.5 shrink-0 text-[var(--ui-text-muted)]",
26737
26773
  "aria-hidden": "true"
26738
26774
  })
26739
- ], 10, vD)
26775
+ ], 10, vN)
26740
26776
  ]),
26741
26777
  _: 2
26742
26778
  }, 1032, ["items", "data-ui-top-nav-overflow-menu", "onSelect"])) : (y(), E("button", {
@@ -26749,21 +26785,21 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26749
26785
  class: ee(l(n.modelValue === d.key)),
26750
26786
  onClick: (p) => o("select", d)
26751
26787
  }, [
26752
- d.icon ? (y(), D(ut(d.icon), {
26788
+ d.icon ? (y(), N(ut(d.icon), {
26753
26789
  key: 0,
26754
26790
  class: ee(rf),
26755
26791
  "aria-hidden": "true"
26756
26792
  })) : F("", !0),
26757
- ne("span", bD, Q(d.label), 1),
26793
+ ne("span", bN, Q(d.label), 1),
26758
26794
  d.badge !== void 0 ? (y(), E("span", {
26759
26795
  key: 1,
26760
26796
  "data-nav-badge": "",
26761
26797
  class: ee(af)
26762
26798
  }, Q(d.badge), 1)) : F("", !0)
26763
- ], 10, yD))
26799
+ ], 10, yN))
26764
26800
  ], 64))), 128));
26765
26801
  }
26766
- }), wD = ["aria-label"], _D = ["aria-label", "aria-hidden", "inert"], SD = ["data-ui-overflowed", "aria-hidden", "inert"], xD = ["aria-hidden", "inert"], kD = /* @__PURE__ */ z({
26802
+ }), wN = ["aria-label"], _N = ["aria-label", "aria-hidden", "inert"], SN = ["data-ui-overflowed", "aria-hidden", "inert"], xN = ["aria-hidden", "inert"], kN = /* @__PURE__ */ z({
26767
26803
  __name: "AppTopNav",
26768
26804
  props: {
26769
26805
  groups: {},
@@ -26805,9 +26841,9 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26805
26841
  }
26806
26842
  }
26807
26843
  if (l.value === P) return;
26808
- const O = document.activeElement, N = O instanceof Element && [..._.querySelectorAll("[data-ui-top-nav-item]")].some((L, B) => B >= P && L.contains(O)), I = a.value.contains(O);
26844
+ const O = document.activeElement, D = O instanceof Element && [..._.querySelectorAll("[data-ui-top-nav-item]")].some((L, B) => B >= P && L.contains(O)), I = a.value.contains(O);
26809
26845
  l.value = P, ze(() => {
26810
- N ? a.value?.querySelector("button")?.focus() : I && !u.value.length && _.querySelector("[data-ui-top-nav-item] button")?.focus();
26846
+ D ? a.value?.querySelector("button")?.focus() : I && !u.value.length && _.querySelector("[data-ui-top-nav-item] button")?.focus();
26811
26847
  });
26812
26848
  }
26813
26849
  async function b() {
@@ -26842,14 +26878,14 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26842
26878
  "aria-hidden": O >= l.value || void 0,
26843
26879
  inert: O >= l.value
26844
26880
  }, [
26845
- (y(), D(sf, {
26881
+ (y(), N(sf, {
26846
26882
  key: String(O >= l.value),
26847
26883
  items: [P],
26848
26884
  "model-value": n.modelValue,
26849
- onSelect: A[0] || (A[0] = (N) => o("select", N))
26885
+ onSelect: A[0] || (A[0] = (D) => o("select", D))
26850
26886
  }, null, 8, ["items", "model-value"]))
26851
- ], 12, SD))), 128))
26852
- ], 14, _D))), 128)),
26887
+ ], 12, SN))), 128))
26888
+ ], 14, _N))), 128)),
26853
26889
  ne("div", {
26854
26890
  ref_key: "more",
26855
26891
  ref: a,
@@ -26859,21 +26895,21 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26859
26895
  "aria-hidden": !u.value.length || void 0,
26860
26896
  inert: !u.value.length
26861
26897
  }, [
26862
- (y(), D(sf, {
26898
+ (y(), N(sf, {
26863
26899
  key: String(!!u.value.length),
26864
26900
  items: [d.value],
26865
26901
  "model-value": n.modelValue,
26866
26902
  overflow: "",
26867
26903
  onSelect: A[1] || (A[1] = (w) => o("select", w))
26868
26904
  }, null, 8, ["items", "model-value"]))
26869
- ], 12, xD)
26870
- ], 8, wD));
26905
+ ], 12, xN)
26906
+ ], 8, wN));
26871
26907
  }
26872
- }), CD = ["aria-label", "data-ui-sidebar-collapsed"], PD = ["aria-expanded", "onClick"], AD = {
26908
+ }), CN = ["aria-label", "data-ui-sidebar-collapsed"], PN = ["aria-expanded", "onClick"], AN = {
26873
26909
  key: 1,
26874
26910
  "data-nav-group-label": "",
26875
26911
  class: "flex h-6 items-center px-[11px] text-[12px] font-bold text-[var(--ui-text-secondary)]"
26876
- }, ED = /* @__PURE__ */ z({
26912
+ }, EN = /* @__PURE__ */ z({
26877
26913
  __name: "AppSidebar",
26878
26914
  props: {
26879
26915
  modelValue: {},
@@ -26911,8 +26947,8 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26911
26947
  function g(S, k = o.groups.flatMap((O) => O.items), P = []) {
26912
26948
  for (const O of k) {
26913
26949
  if (O.key === S) return P;
26914
- const N = O.children ? g(S, O.children, [...P, O.key]) : void 0;
26915
- if (N) return N;
26950
+ const D = O.children ? g(S, O.children, [...P, O.key]) : void 0;
26951
+ if (D) return D;
26916
26952
  }
26917
26953
  return [];
26918
26954
  }
@@ -26936,7 +26972,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26936
26972
  function w(S) {
26937
26973
  S.disabled || (r("update:modelValue", S.key), r("select", S), b(S.key));
26938
26974
  }
26939
- return (S, k) => f(a) ? (y(), D(kD, {
26975
+ return (S, k) => f(a) ? (y(), N(kN, {
26940
26976
  key: 0,
26941
26977
  groups: f(o).groups,
26942
26978
  "model-value": f(o).modelValue,
@@ -26949,7 +26985,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26949
26985
  "data-ui-sidebar-collapsed": f(i) ? "true" : void 0,
26950
26986
  "data-syno-pkg-land-ui": ""
26951
26987
  }, [
26952
- f(o).searchable && !f(i) ? (y(), D(RI, {
26988
+ f(o).searchable && !f(i) ? (y(), N(RI, {
26953
26989
  key: 0,
26954
26990
  modelValue: s.value,
26955
26991
  "onUpdate:modelValue": k[0] || (k[0] = (P) => s.value = P),
@@ -26957,7 +26993,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26957
26993
  placeholder: f(o).searchPlaceholder,
26958
26994
  "clear-label": f(o).clearSearchLabel
26959
26995
  }, null, 8, ["modelValue", "placeholder", "clear-label"])) : F("", !0),
26960
- (y(!0), E(xe, null, tt(u.value, ({ group: P, id: O, items: N }, I) => (y(), E("section", {
26996
+ (y(!0), E(xe, null, tt(u.value, ({ group: P, id: O, items: D }, I) => (y(), E("section", {
26961
26997
  key: O,
26962
26998
  class: ee(I > 0 && "mt-2 border-t border-[var(--ui-border-subtle)] pt-2")
26963
26999
  }, [
@@ -26976,10 +27012,10 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26976
27012
  "aria-hidden": "true"
26977
27013
  }, null, 8, ["class"]),
26978
27014
  $e(" " + Q(P.label), 1)
26979
- ], 8, PD)) : P.label && !f(i) ? (y(), E("div", AD, Q(P.label), 1)) : F("", !0),
26980
- h(O) ? (y(), D(mD, {
27015
+ ], 8, PN)) : P.label && !f(i) ? (y(), E("div", AN, Q(P.label), 1)) : F("", !0),
27016
+ h(O) ? (y(), N(mN, {
26981
27017
  key: 2,
26982
- items: N,
27018
+ items: D,
26983
27019
  "model-value": f(o).modelValue,
26984
27020
  "expanded-keys": v.value,
26985
27021
  depth: 0,
@@ -26989,15 +27025,15 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26989
27025
  onToggle: A
26990
27026
  }, null, 8, ["items", "model-value", "expanded-keys", "searching", "collapsed"])) : F("", !0)
26991
27027
  ], 2))), 128))
26992
- ], 8, CD));
27028
+ ], 8, CN));
26993
27029
  }
26994
- }), $D = {
27030
+ }), $N = {
26995
27031
  key: 0,
26996
27032
  class: "flex shrink-0 items-center gap-1.5"
26997
- }, OD = { class: "min-w-0 flex-1" }, TD = {
27033
+ }, ON = { class: "min-w-0 flex-1" }, TN = {
26998
27034
  key: 1,
26999
27035
  class: "ml-auto flex shrink-0 items-center gap-2"
27000
- }, ID = /* @__PURE__ */ z({
27036
+ }, IN = /* @__PURE__ */ z({
27001
27037
  __name: "AppToolbar",
27002
27038
  props: {
27003
27039
  height: { default: "var(--ui-toolbar-height)" }
@@ -27009,29 +27045,29 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27009
27045
  style: Le({ minHeight: e.height }),
27010
27046
  "data-syno-pkg-land-ui": ""
27011
27047
  }, [
27012
- t.$slots.leading ? (y(), E("div", $D, [
27048
+ t.$slots.leading ? (y(), E("div", $N, [
27013
27049
  R(t.$slots, "leading")
27014
27050
  ])) : F("", !0),
27015
- ne("div", OD, [
27051
+ ne("div", ON, [
27016
27052
  R(t.$slots, "default")
27017
27053
  ]),
27018
- t.$slots.actions ? (y(), E("div", TD, [
27054
+ t.$slots.actions ? (y(), E("div", TN, [
27019
27055
  R(t.$slots, "actions")
27020
27056
  ])) : F("", !0)
27021
27057
  ], 4));
27022
27058
  }
27023
- }), RD = { class: "min-w-0 flex-auto" }, ND = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, DD = ["title"], MD = {
27059
+ }), RN = { class: "min-w-0 flex-auto" }, DN = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, NN = ["title"], MN = {
27024
27060
  key: 0,
27025
27061
  "data-ui-page-header-meta": "",
27026
27062
  class: "flex shrink-0 items-center gap-2 whitespace-nowrap"
27027
- }, zD = {
27063
+ }, zN = {
27028
27064
  key: 0,
27029
27065
  class: "mt-1 max-w-3xl [contain:inline-size] text-[13px] leading-5 text-[var(--ui-text-secondary)]"
27030
- }, FD = {
27066
+ }, FN = {
27031
27067
  key: 0,
27032
27068
  "data-ui-page-header-actions": "",
27033
27069
  class: "ml-auto flex max-w-full shrink-0 flex-wrap items-center justify-end gap-2 [&>*]:w-auto [&>*]:shrink-0"
27034
- }, qD = /* @__PURE__ */ z({
27070
+ }, qN = /* @__PURE__ */ z({
27035
27071
  __name: "PageHeader",
27036
27072
  props: {
27037
27073
  title: {},
@@ -27044,24 +27080,24 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27044
27080
  class: ee([e.sticky && "sticky top-0 z-[2] bg-[var(--ui-page-header-bg,var(--ui-surface))]", "flex flex-wrap items-start gap-x-[var(--ui-space-6)] gap-y-[var(--ui-space-2)] px-[var(--ui-page-padding-x)] pt-[var(--ui-page-padding-y)] pb-[var(--ui-space-3)]"]),
27045
27081
  "data-syno-pkg-land-ui": ""
27046
27082
  }, [
27047
- ne("div", RD, [
27048
- ne("div", ND, [
27083
+ ne("div", RN, [
27084
+ ne("div", DN, [
27049
27085
  ne("h1", {
27050
27086
  class: "m-0 min-w-0 truncate text-[length:var(--ui-font-size-title)] [font-weight:var(--ui-heading-weight,600)] tracking-[-0.01em] text-[var(--ui-text)]",
27051
27087
  title: e.title
27052
- }, Q(e.title), 9, DD),
27053
- t.$slots.meta ? (y(), E("div", MD, [
27088
+ }, Q(e.title), 9, NN),
27089
+ t.$slots.meta ? (y(), E("div", MN, [
27054
27090
  R(t.$slots, "meta")
27055
27091
  ])) : F("", !0)
27056
27092
  ]),
27057
- e.description ? (y(), E("p", zD, Q(e.description), 1)) : F("", !0)
27093
+ e.description ? (y(), E("p", zN, Q(e.description), 1)) : F("", !0)
27058
27094
  ]),
27059
- t.$slots.actions ? (y(), E("div", FD, [
27095
+ t.$slots.actions ? (y(), E("div", FN, [
27060
27096
  R(t.$slots, "actions")
27061
27097
  ])) : F("", !0)
27062
27098
  ], 2));
27063
27099
  }
27064
- }), LD = ["data-width", "data-height", "data-page-surface"], BD = /* @__PURE__ */ z({
27100
+ }), LN = ["data-width", "data-height", "data-page-surface"], BN = /* @__PURE__ */ z({
27065
27101
  __name: "PageContent",
27066
27102
  props: {
27067
27103
  width: { default: "fill" },
@@ -27091,13 +27127,13 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27091
27127
  }, [
27092
27128
  R(r.$slots, "default")
27093
27129
  ], 6)
27094
- ], 14, LD));
27130
+ ], 14, LN));
27095
27131
  }
27096
- }), VD = ["aria-label", "data-overflow-start", "data-overflow-end"], jD = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], UD = {
27132
+ }), VN = ["aria-label", "data-overflow-start", "data-overflow-end"], jN = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], UN = {
27097
27133
  key: 0,
27098
27134
  class: "ui-section-tabs-actions",
27099
27135
  "data-ui-section-tabs-actions": ""
27100
- }, WD = ["data-state", "data-ui-swapped"], KD = ["data-ui-swapped"], ZD = /* @__PURE__ */ z({
27136
+ }, WN = ["data-state", "data-ui-swapped"], KN = ["data-ui-swapped"], ZN = /* @__PURE__ */ z({
27101
27137
  inheritAttrs: !1,
27102
27138
  __name: "SectionTabs",
27103
27139
  props: {
@@ -27119,9 +27155,9 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27119
27155
  const m = d[h.key], v = Array.from(a.value?.querySelectorAll("[data-ui-tab-value]:not(:disabled)") ?? []), g = v.indexOf(h.target);
27120
27156
  !m || g < 0 || (h.preventDefault(), v[m(g, v.length)]?.focus());
27121
27157
  }
27122
- return (h, m) => (y(), D(ut(r.fill ? "div" : n), ct(mt(r.fill ? { class: "ui-section-tabs-fill", "data-ui-section-tabs-fill": "", "data-syno-pkg-land-ui": "" } : {})), {
27158
+ return (h, m) => (y(), N(ut(r.fill ? "div" : n), ct(mt(r.fill ? { class: "ui-section-tabs-fill", "data-ui-section-tabs-fill": "", "data-syno-pkg-land-ui": "" } : {})), {
27123
27159
  default: T(() => [
27124
- (y(), D(ut(h.$slots.actions ? "div" : n), ct(mt(h.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
27160
+ (y(), N(ut(h.$slots.actions ? "div" : n), ct(mt(h.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
27125
27161
  default: T(() => [
27126
27162
  ne("nav", le({
27127
27163
  ref_key: "bar",
@@ -27143,14 +27179,14 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27143
27179
  r.modelValue === v.value ? "text-[var(--ui-primary)]" : "text-[var(--ui-text)] enabled:hover:bg-[var(--ui-surface-hover)] enabled:hover:text-[var(--ui-text)]"
27144
27180
  ]),
27145
27181
  onClick: (g) => i("update:modelValue", v.value)
27146
- }, Q(v.label), 11, jD))), 128)),
27182
+ }, Q(v.label), 11, jN))), 128)),
27147
27183
  ne("span", {
27148
27184
  class: "ui-tab-indicator",
27149
27185
  style: Le(f(s)),
27150
27186
  "aria-hidden": "true"
27151
27187
  }, null, 4)
27152
- ], 16, VD),
27153
- h.$slots.actions ? (y(), E("div", UD, [
27188
+ ], 16, VN),
27189
+ h.$slots.actions ? (y(), E("div", UN, [
27154
27190
  R(h.$slots, "actions")
27155
27191
  ])) : F("", !0)
27156
27192
  ]),
@@ -27167,7 +27203,7 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27167
27203
  "data-syno-pkg-land-ui": ""
27168
27204
  }, [
27169
27205
  R(h.$slots, `panel-${v.value}`)
27170
- ], 8, WD)), [
27206
+ ], 8, WN)), [
27171
27207
  [Br, r.modelValue === v.value]
27172
27208
  ]) : F("", !0)
27173
27209
  ], 64))), 128)) : h.$slots[`panel-${r.modelValue}`] ? (y(), E("div", {
@@ -27177,12 +27213,12 @@ const UN = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
27177
27213
  "data-syno-pkg-land-ui": ""
27178
27214
  }, [
27179
27215
  R(h.$slots, `panel-${r.modelValue}`)
27180
- ], 8, KD)) : F("", !0)
27216
+ ], 8, KN)) : F("", !0)
27181
27217
  ]),
27182
27218
  _: 3
27183
27219
  }, 16));
27184
27220
  }
27185
- }), HD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), GD = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
27221
+ }), HN = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), GN = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
27186
27222
  function ea(e) {
27187
27223
  if (typeof e != "object" || e === null || Array.isArray(e)) return !1;
27188
27224
  const t = Object.getPrototypeOf(e);
@@ -27194,18 +27230,18 @@ function ta(e, t) {
27194
27230
  function yl(e, t, n) {
27195
27231
  e[t] = n;
27196
27232
  }
27197
- function JD(e) {
27233
+ function JN(e) {
27198
27234
  return Reflect.ownKeys(e).filter((t) => ta(e, t) !== void 0);
27199
27235
  }
27200
27236
  function bl(e, t) {
27201
27237
  const n = { ...e };
27202
- for (const o of JD(t)) {
27238
+ for (const o of JN(t)) {
27203
27239
  const r = ta(t, o), i = ta(n, o);
27204
27240
  ea(i) && ea(r) ? yl(n, o, bl(i, r)) : yl(n, o, r);
27205
27241
  }
27206
27242
  return n;
27207
27243
  }
27208
- function YD(e) {
27244
+ function YN(e) {
27209
27245
  const t = {};
27210
27246
  for (const n of Reflect.ownKeys(e)) {
27211
27247
  const o = ta(e, n);
@@ -27214,15 +27250,15 @@ function YD(e) {
27214
27250
  return t;
27215
27251
  }
27216
27252
  function fv(e, t, n = {}) {
27217
- const o = Be(GD, null), r = Be(HD, null);
27253
+ const o = Be(GN, null), r = Be(HN, null);
27218
27254
  return C(() => {
27219
27255
  const i = [n, r?.value?.[e], o?.value?.[e]];
27220
27256
  let a = {};
27221
27257
  for (const s of i) s && (a = bl(a, s));
27222
- return bl(a, YD(t));
27258
+ return bl(a, YN(t));
27223
27259
  });
27224
27260
  }
27225
- const XD = ["data-layout-direction"], QD = /* @__PURE__ */ z({
27261
+ const XN = ["data-layout-direction"], QN = /* @__PURE__ */ z({
27226
27262
  __name: "Form",
27227
27263
  props: {
27228
27264
  rules: {},
@@ -27274,11 +27310,11 @@ const XD = ["data-layout-direction"], QD = /* @__PURE__ */ z({
27274
27310
  async function g(k = null, P = {}) {
27275
27311
  const O = await Promise.all(
27276
27312
  [...h].map(async (I) => ({ error: await I.validate(k) ?? void 0, field: I }))
27277
- ), N = O.every((I) => !I.error);
27278
- return !N && P.autoScroll !== !1 && O.find((I) => I.error)?.field.ensureVisible(), r("validated", { valid: N, errResults: O }), N;
27313
+ ), D = O.every((I) => !I.error);
27314
+ return !D && P.autoScroll !== !1 && O.find((I) => I.error)?.field.ensureVisible(), r("validated", { valid: D, errResults: O }), D;
27279
27315
  }
27280
27316
  async function b(k) {
27281
- const P = h.find((N) => N.prop === k);
27317
+ const P = h.find((D) => D.prop === k);
27282
27318
  if (!P) return !0;
27283
27319
  const O = await P.validate(null);
27284
27320
  return r("validated", { valid: !O, errResults: [{ error: O ?? void 0, field: P }] }), !O;
@@ -27305,7 +27341,7 @@ const XD = ["data-layout-direction"], QD = /* @__PURE__ */ z({
27305
27341
  onSubmit: pt(S, ["prevent"])
27306
27342
  }, [
27307
27343
  R(k.$slots, "default")
27308
- ], 44, XD));
27344
+ ], 44, XN));
27309
27345
  }
27310
27346
  }), eM = "blur", tM = {
27311
27347
  string: "Value must be a string",
@@ -27492,13 +27528,13 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27492
27528
  function O() {
27493
27529
  w.value = _.value;
27494
27530
  }
27495
- const N = /* @__PURE__ */ M(""), I = /* @__PURE__ */ M(""), L = /* @__PURE__ */ M(""), B = /* @__PURE__ */ M(""), G = /* @__PURE__ */ M(!1), J = /* @__PURE__ */ M(!1), W = C(() => r.disabled === !0 || G.value || c?.disabled === !0), oe = C(() => B.value || s.value.validateStatus || N.value), ae = C(() => oe.value === "error"), ve = C(() => L.value || I.value || s.value.help), Re = C(() => L.value ? L.value : ae.value && !s.value.hideValidateMessage && I.value || s.value.help), be = pr(d), Ce = C(() => {
27531
+ const D = /* @__PURE__ */ M(""), I = /* @__PURE__ */ M(""), L = /* @__PURE__ */ M(""), B = /* @__PURE__ */ M(""), G = /* @__PURE__ */ M(!1), J = /* @__PURE__ */ M(!1), W = C(() => r.disabled === !0 || G.value || c?.disabled === !0), oe = C(() => B.value || s.value.validateStatus || D.value), ae = C(() => oe.value === "error"), ve = C(() => L.value || I.value || s.value.help), Re = C(() => L.value ? L.value : ae.value && !s.value.hideValidateMessage && I.value || s.value.help), be = pr(d), Ce = C(() => {
27496
27532
  const Y = s.value.direction ?? l?.direction ?? "auto";
27497
27533
  return Y === "auto" ? be.value > 0 && be.value < nu ? "vertical" : "horizontal" : Y;
27498
- }), De = C(() => {
27534
+ }), Ne = C(() => {
27499
27535
  const Y = s.value.validateMessageDisplayMode ?? "form";
27500
27536
  return Y === "form" ? l?.validateMessageDisplayMode ?? "popup" : Y;
27501
- }), Ye = C(() => s.value.label !== !1 && (!!s.value.label || !!u.label)), ot = C(() => !!s.value.description || !!u.description), Dt = C(() => {
27537
+ }), Ye = C(() => s.value.label !== !1 && (!!s.value.label || !!u.label)), ot = C(() => !!s.value.description || !!u.description), Nt = C(() => {
27502
27538
  const Y = [];
27503
27539
  return ot.value && Y.push(h.description), Re.value && Y.push(h.message), Y.length ? Y.join(" ") : void 0;
27504
27540
  }), Ct = C(() => {
@@ -27516,7 +27552,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27516
27552
  return { width: c ? `max(0px, calc(${Y} - ${c.indent}))` : Y };
27517
27553
  }), se = C(() => {
27518
27554
  const Y = ae.value ? "text-[var(--ui-danger)]" : oe.value === "warning" ? "text-[var(--ui-warning)]" : oe.value === "success" ? "text-[var(--ui-success)]" : "text-[var(--ui-text-secondary)]";
27519
- return De.value === "text" ? Tn("mt-1 text-[12px] leading-4", Y) : Tn(
27555
+ return Ne.value === "text" ? Tn("mt-1 text-[12px] leading-4", Y) : Tn(
27520
27556
  "absolute left-0 top-full z-[1100] mt-1 max-w-[min(100%,20rem)] rounded-[var(--ui-radius-md)] px-2.5 py-1.5 text-[12px] leading-4 shadow-[var(--ui-shadow-menu)]",
27521
27557
  ae.value ? "bg-[var(--ui-danger-hover)] text-[var(--ui-danger-foreground)]" : "bg-[var(--ui-tooltip-bg)] text-[var(--ui-tooltip-fg)]",
27522
27558
  "transition-opacity duration-[var(--ui-motion-fast)]",
@@ -27533,13 +27569,13 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27533
27569
  const fe = Pt();
27534
27570
  if (!fe.length) return null;
27535
27571
  const Ee = ++x;
27536
- N.value = "validating", i("validating");
27572
+ D.value = "validating", i("validating");
27537
27573
  const Fe = await uM(_.value, fe, {
27538
27574
  trigger: Y,
27539
27575
  defaultTrigger: s.value.defaultValidateTrigger,
27540
27576
  text: o
27541
27577
  });
27542
- return Ee !== x || (I.value = Fe ?? "", N.value = Fe ? "error" : "success", Fe && De.value === "popup" && (J.value = !0), i("validated", { message: Fe ?? "", status: N.value })), Fe;
27578
+ return Ee !== x || (I.value = Fe ?? "", D.value = Fe ? "error" : "success", Fe && Ne.value === "popup" && (J.value = !0), i("validated", { message: Fe ?? "", status: D.value })), Fe;
27543
27579
  }
27544
27580
  async function q(Y = null) {
27545
27581
  return !await $(Y);
@@ -27557,7 +27593,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27557
27593
  J.value = !1;
27558
27594
  }
27559
27595
  function ie(Y, fe = "error") {
27560
- L.value = Y, B.value = fe, De.value === "popup" && (J.value = !0);
27596
+ L.value = Y, B.value = fe, Ne.value === "popup" && (J.value = !0);
27561
27597
  }
27562
27598
  function te() {
27563
27599
  L.value = "", B.value = "", J.value = !1;
@@ -27566,7 +27602,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27566
27602
  G.value = Y;
27567
27603
  }
27568
27604
  function ye() {
27569
- x++, N.value = "", I.value = "", L.value = "", B.value = "", J.value = !1, r.initialValue !== void 0 && (g.value ? i("update:modelValue", r.initialValue) : b.value = r.initialValue);
27605
+ x++, D.value = "", I.value = "", L.value = "", B.value = "", J.value = !1, r.initialValue !== void 0 && (g.value ? i("update:modelValue", r.initialValue) : b.value = r.initialValue);
27570
27606
  }
27571
27607
  function ue() {
27572
27608
  const Y = d.value;
@@ -27597,7 +27633,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27597
27633
  },
27598
27634
  descriptionId: C(() => ot.value ? h.description : void 0),
27599
27635
  messageId: C(() => Re.value ? h.message : void 0),
27600
- describedBy: Dt,
27636
+ describedBy: Nt,
27601
27637
  required: C(() => s.value.requiredMark === !0),
27602
27638
  disabled: W,
27603
27639
  invalid: ae,
@@ -27612,7 +27648,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27612
27648
  onChange: Z,
27613
27649
  controlProps: C(() => ({
27614
27650
  id: m.value,
27615
- "aria-describedby": Dt.value,
27651
+ "aria-describedby": Nt.value,
27616
27652
  "aria-invalid": ae.value || void 0,
27617
27653
  "aria-required": s.value.requiredMark || void 0,
27618
27654
  onBlur: X,
@@ -27650,10 +27686,10 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27650
27686
  class: ee(f(Tn)("min-w-0", ae.value && !f(s).hideValidateStatusCls && "has-error")),
27651
27687
  "data-status": oe.value || void 0,
27652
27688
  "data-syno-pkg-land-ui": "",
27653
- onMouseenter: fe[1] || (fe[1] = (Ee) => De.value === "popup" && K()),
27654
- onMouseleave: fe[2] || (fe[2] = (Ee) => De.value === "popup" && re()),
27655
- onFocusin: fe[3] || (fe[3] = (Ee) => De.value === "popup" && K()),
27656
- onFocusout: fe[4] || (fe[4] = (Ee) => De.value === "popup" && re())
27689
+ onMouseenter: fe[1] || (fe[1] = (Ee) => Ne.value === "popup" && K()),
27690
+ onMouseleave: fe[2] || (fe[2] = (Ee) => Ne.value === "popup" && re()),
27691
+ onFocusin: fe[3] || (fe[3] = (Ee) => Ne.value === "popup" && K()),
27692
+ onFocusout: fe[4] || (fe[4] = (Ee) => Ne.value === "popup" && re())
27657
27693
  }, [
27658
27694
  Ye.value ? (y(), E("div", {
27659
27695
  key: 0,
@@ -27664,7 +27700,7 @@ const cM = ["data-direction", "data-inset", "data-status"], dM = ["id", "for"],
27664
27700
  Ce.value === "horizontal" ? "pt-1 text-left" : void 0,
27665
27701
  f(s).disableLabel || W.value ? "opacity-40" : void 0
27666
27702
  ]),
27667
- onClick: fe[0] || (fe[0] = (Ee) => De.value === "popup" && ae.value && K())
27703
+ onClick: fe[0] || (fe[0] = (Ee) => Ne.value === "popup" && ae.value && K())
27668
27704
  }, [
27669
27705
  ne("label", {
27670
27706
  id: h.label,
@@ -28096,21 +28132,21 @@ function CM(e) {
28096
28132
  return e.map((t) => ({ ...t, items: t.items.map(hv) }));
28097
28133
  }
28098
28134
  const PM = {
28099
- AppRoot: ({ props: e, slots: t }) => ce(LN, { modalScope: e.modalScope }, t),
28100
- AppShell: ({ props: e, slots: t }) => ce(aD, {
28135
+ AppRoot: ({ props: e, slots: t }) => ce(LD, { modalScope: e.modalScope }, t),
28136
+ AppShell: ({ props: e, slots: t }) => ce(aN, {
28101
28137
  sidebarWidth: e.sidebarWidth,
28102
28138
  minHeight: e.minHeight,
28103
28139
  responsive: e.responsive,
28104
28140
  wideLayout: e.wideLayout,
28105
28141
  navigation: e.navigation
28106
28142
  }, t),
28107
- ResponsiveView: ({ props: e, slots: t }) => ce(sD, { mode: e.mode }, t),
28108
- Page: ({ props: e, slots: t }) => ce(BD, { width: e.width ?? "fill", surface: e.surface }, t),
28109
- PageHeader: ({ props: e, slots: t }) => ce(qD, e, t),
28110
- Toolbar: ({ props: e, slots: t }) => ce(ID, e, t),
28143
+ ResponsiveView: ({ props: e, slots: t }) => ce(sN, { mode: e.mode }, t),
28144
+ Page: ({ props: e, slots: t }) => ce(BN, { width: e.width ?? "fill", surface: e.surface }, t),
28145
+ PageHeader: ({ props: e, slots: t }) => ce(qN, e, t),
28146
+ Toolbar: ({ props: e, slots: t }) => ce(IN, e, t),
28111
28147
  SidebarNav: ({ props: e, bindings: t, emit: n }) => {
28112
28148
  const [o, r] = fn(e.value, t?.value);
28113
- return ce(ED, {
28149
+ return ce(EN, {
28114
28150
  modelValue: o,
28115
28151
  groups: CM(e.groups),
28116
28152
  searchable: e.searchable,
@@ -28123,7 +28159,7 @@ const PM = {
28123
28159
  },
28124
28160
  Tabs: ({ props: e, bindings: t, emit: n }) => {
28125
28161
  const [o, r] = fn(e.value, t?.value);
28126
- return ce(ZD, {
28162
+ return ce(ZN, {
28127
28163
  modelValue: o ?? "",
28128
28164
  items: e.items,
28129
28165
  ariaLabel: e.ariaLabel,
@@ -28223,7 +28259,7 @@ const PM = {
28223
28259
  }
28224
28260
  });
28225
28261
  },
28226
- Form: ({ props: e, slots: t, emit: n }) => ce(QD, {
28262
+ Form: ({ props: e, slots: t, emit: n }) => ce(QN, {
28227
28263
  direction: e.direction,
28228
28264
  fieldWidth: e.fieldWidth,
28229
28265
  onSubmit: () => n("submit")
@@ -28257,7 +28293,7 @@ const PM = {
28257
28293
  Surface: ({ props: e, slots: t }) => ce(Qm, e, t),
28258
28294
  Card: ({ props: e, bindings: t, slots: n, emit: o }) => {
28259
28295
  const [r, i] = fn(e.expanded, t?.expanded);
28260
- return ce(CN, {
28296
+ return ce(CD, {
28261
28297
  title: e.title,
28262
28298
  layoutType: e.layoutType,
28263
28299
  expandable: e.expandable,
@@ -28304,9 +28340,9 @@ const PM = {
28304
28340
  t.toolbar ? ce("div", { class: "mb-3 flex flex-wrap items-center gap-2" }, t.toolbar()) : null,
28305
28341
  ce(ef, e)
28306
28342
  ]),
28307
- CellText: ({ props: e, emit: t }) => ce(rN, { ...e, onOpen: () => t("open") }),
28308
- CellStatus: ({ props: e }) => ce(uN, e),
28309
- ListItem: ({ props: e, slots: t }) => ce(wN, e, t),
28343
+ CellText: ({ props: e, emit: t }) => ce(rD, { ...e, onOpen: () => t("open") }),
28344
+ CellStatus: ({ props: e }) => ce(uD, e),
28345
+ ListItem: ({ props: e, slots: t }) => ce(wD, e, t),
28310
28346
  InputGroup: ({ slots: e }) => ce(GC, null, e),
28311
28347
  Loading: ({ props: e }) => ce(xT, { text: e.text })
28312
28348
  }, { registry: uf } = jk(wM, {
@@ -28327,7 +28363,7 @@ const PM = {
28327
28363
  fallback: {}
28328
28364
  },
28329
28365
  setup(e) {
28330
- return (t, n) => (y(), D(f(Vk), {
28366
+ return (t, n) => (y(), N(f(Vk), {
28331
28367
  registry: f(uf),
28332
28368
  store: e.store,
28333
28369
  "initial-state": e.state ?? e.spec?.state ?? {},
@@ -28392,7 +28428,7 @@ async function RM() {
28392
28428
  const e = await (await fetch("/config.json")).json();
28393
28429
  Hx();
28394
28430
  const t = document.getElementById("app"), n = ({ key: o }) => TM(e.messages ?? {}, String(o));
28395
- return Ny({
28431
+ return Dy({
28396
28432
  render: () => ce(AM, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
28397
28433
  }).mount(t), await ze(), await document.fonts.ready, await IM(), { issues: () => OM(t, innerWidth) };
28398
28434
  }