@synopackageland/ui 0.17.14 → 0.17.15

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.
@@ -60,13 +60,13 @@ function iv(e) {
60
60
  }
61
61
  }), t;
62
62
  }
63
- function Q(e) {
63
+ function Y(e) {
64
64
  let t = "";
65
65
  if (Ze(e))
66
66
  t = e;
67
67
  else if (ye(e))
68
68
  for (let n = 0; n < e.length; n++) {
69
- const o = Q(e[n]);
69
+ const o = Y(e[n]);
70
70
  o && (t += o + " ");
71
71
  }
72
72
  else if (Be(e))
@@ -77,7 +77,7 @@ function Q(e) {
77
77
  function st(e) {
78
78
  if (!e) return null;
79
79
  let { class: t, style: n } = e;
80
- return t && !Ze(t) && (e.class = Q(t)), n && (e.style = Ve(n)), e;
80
+ return t && !Ze(t) && (e.class = Y(t)), n && (e.style = Ve(n)), e;
81
81
  }
82
82
  const av = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", sv = /* @__PURE__ */ wl(av);
83
83
  function Gd(e) {
@@ -468,7 +468,7 @@ const Ti = /* @__PURE__ */ new WeakMap(), _o = /* @__PURE__ */ Symbol(
468
468
  ), Dr = /* @__PURE__ */ Symbol(
469
469
  ""
470
470
  );
471
- function _t(e, t, n) {
471
+ function St(e, t, n) {
472
472
  if (Xt && je) {
473
473
  let o = Ti.get(e);
474
474
  o || Ti.set(e, o = /* @__PURE__ */ new Map());
@@ -515,10 +515,10 @@ function fv(e, t) {
515
515
  }
516
516
  function Mo(e) {
517
517
  const t = /* @__PURE__ */ Me(e);
518
- return t === e || (_t(t, "iterate", Dr), /* @__PURE__ */ Lt(e)) ? t : /* @__PURE__ */ gn(e) ? /* @__PURE__ */ Yn(e) ? t.map((n) => Xn(Ut(n))) : t.map(Xn) : t.map(Ut);
518
+ return t === e || (St(t, "iterate", Dr), /* @__PURE__ */ Lt(e)) ? t : /* @__PURE__ */ gn(e) ? /* @__PURE__ */ Yn(e) ? t.map((n) => Xn(Ut(n))) : t.map(Xn) : t.map(Ut);
519
519
  }
520
520
  function ca(e) {
521
- return _t(e = /* @__PURE__ */ Me(e), "iterate", Dr), e;
521
+ return St(e = /* @__PURE__ */ Me(e), "iterate", Dr), e;
522
522
  }
523
523
  function fn(e, t) {
524
524
  return /* @__PURE__ */ gn(e) ? Xn(/* @__PURE__ */ Yn(e) ? Ut(t) : t) : Ut(t);
@@ -669,7 +669,7 @@ function $u(e, t, n, o) {
669
669
  }
670
670
  function Za(e, t, n) {
671
671
  const o = /* @__PURE__ */ Me(e);
672
- _t(o, "iterate", Dr);
672
+ St(o, "iterate", Dr);
673
673
  const r = o[t](...n);
674
674
  return (r === -1 || r === !1) && /* @__PURE__ */ pa(n[0]) ? (n[0] = /* @__PURE__ */ Me(n[0]), o[t](...n)) : r;
675
675
  }
@@ -684,7 +684,7 @@ const mv = /* @__PURE__ */ wl("__proto__,__v_isRef,__isVue"), uf = new Set(
684
684
  function vv(e) {
685
685
  Bt(e) || (e = String(e));
686
686
  const t = /* @__PURE__ */ Me(this);
687
- return _t(t, "has", e), t.hasOwnProperty(e);
687
+ return St(t, "has", e), t.hasOwnProperty(e);
688
688
  }
689
689
  class cf {
690
690
  constructor(t = !1, n = !1) {
@@ -719,7 +719,7 @@ class cf {
719
719
  // its class methods
720
720
  /* @__PURE__ */ Ge(t) ? t : o
721
721
  );
722
- if ((Bt(n) ? uf.has(n) : mv(n)) || (r || _t(t, "get", n), i))
722
+ if ((Bt(n) ? uf.has(n) : mv(n)) || (r || St(t, "get", n), i))
723
723
  return s;
724
724
  if (/* @__PURE__ */ Ge(s)) {
725
725
  const l = a && oa(n) ? s : s.value;
@@ -756,10 +756,10 @@ class df extends cf {
756
756
  }
757
757
  has(t, n) {
758
758
  const o = Reflect.has(t, n);
759
- return (!Bt(n) || !uf.has(n)) && _t(t, "has", n), o;
759
+ return (!Bt(n) || !uf.has(n)) && St(t, "has", n), o;
760
760
  }
761
761
  ownKeys(t) {
762
- return _t(
762
+ return St(
763
763
  t,
764
764
  "iterate",
765
765
  ye(t) ? "length" : _o
@@ -781,7 +781,7 @@ const gv = /* @__PURE__ */ new df(), yv = /* @__PURE__ */ new ff(), bv = /* @__P
781
781
  function _v(e, t, n) {
782
782
  return function(...o) {
783
783
  const r = this.__v_raw, i = /* @__PURE__ */ Me(r), a = Jn(i), s = e === "entries" || e === Symbol.iterator && a, l = e === "keys" && a, c = r[e](...o), u = n ? Cs : t ? Xn : Ut;
784
- return !t && _t(
784
+ return !t && St(
785
785
  i,
786
786
  "iterate",
787
787
  l ? ks : _o
@@ -810,7 +810,7 @@ function Sv(e, t) {
810
810
  const n = {
811
811
  get(r) {
812
812
  const i = this.__v_raw, a = /* @__PURE__ */ Me(i), s = /* @__PURE__ */ Me(r);
813
- e || (ht(r, s) && _t(a, "get", r), _t(a, "get", s));
813
+ e || (ht(r, s) && St(a, "get", r), St(a, "get", s));
814
814
  const { has: l } = ei(a), c = t ? Cs : e ? Xn : Ut;
815
815
  if (l.call(a, r))
816
816
  return c(i.get(r));
@@ -820,15 +820,15 @@ function Sv(e, t) {
820
820
  },
821
821
  get size() {
822
822
  const r = this.__v_raw;
823
- return !e && _t(/* @__PURE__ */ Me(r), "iterate", _o), r.size;
823
+ return !e && St(/* @__PURE__ */ Me(r), "iterate", _o), r.size;
824
824
  },
825
825
  has(r) {
826
826
  const i = this.__v_raw, a = /* @__PURE__ */ Me(i), s = /* @__PURE__ */ Me(r);
827
- return e || (ht(r, s) && _t(a, "has", r), _t(a, "has", s)), r === s ? i.has(r) : i.has(r) || i.has(s);
827
+ return e || (ht(r, s) && St(a, "has", r), St(a, "has", s)), r === s ? i.has(r) : i.has(r) || i.has(s);
828
828
  },
829
829
  forEach(r, i) {
830
830
  const a = this, s = a.__v_raw, l = /* @__PURE__ */ Me(s), c = t ? Cs : e ? Xn : Ut;
831
- return !e && _t(l, "iterate", _o), s.forEach((u, d) => r.call(i, c(u), c(d), a));
831
+ return !e && St(l, "iterate", _o), s.forEach((u, d) => r.call(i, c(u), c(d), a));
832
832
  }
833
833
  };
834
834
  return ct(
@@ -1421,10 +1421,10 @@ function fo(e, t, n, o) {
1421
1421
  }
1422
1422
  }
1423
1423
  function Ke(e, t) {
1424
- if (St) {
1425
- let n = St.provides;
1426
- const o = St.parent && St.parent.provides;
1427
- o === n && (n = St.provides = Object.create(o)), n[e] = t;
1424
+ if (xt) {
1425
+ let n = xt.provides;
1426
+ const o = xt.parent && xt.parent.provides;
1427
+ o === n && (n = xt.provides = Object.create(o)), n[e] = t;
1428
1428
  }
1429
1429
  }
1430
1430
  function Le(e, t, n = !1) {
@@ -1471,7 +1471,7 @@ function Hr(e, t, n = Ie) {
1471
1471
  return h.stop = mn, h.resume = mn, h.pause = mn, h;
1472
1472
  }
1473
1473
  }
1474
- const u = St;
1474
+ const u = xt;
1475
1475
  s.call = (h, m, v) => en(h, u, m, v);
1476
1476
  let d = !1;
1477
1477
  i === "post" ? s.scheduler = (h) => {
@@ -1555,11 +1555,11 @@ const Wn = /* @__PURE__ */ new WeakMap(), Of = /* @__PURE__ */ Symbol("_vte"), m
1555
1555
  return;
1556
1556
  }
1557
1557
  t.targetStart = e.targetStart;
1558
- const D = t.target = e.target, z = t.targetAnchor = e.targetAnchor, B = yo(e.props), Y = B ? n : D, se = B ? A : z;
1558
+ const D = t.target = e.target, z = t.targetAnchor = e.targetAnchor, B = yo(e.props), X = B ? n : D, se = B ? A : z;
1559
1559
  if (a === "svg" || Iu(D) ? a = "svg" : (a === "mathml" || Ru(D)) && (a = "mathml"), P ? (f(
1560
1560
  e.dynamicChildren,
1561
1561
  P,
1562
- Y,
1562
+ X,
1563
1563
  r,
1564
1564
  i,
1565
1565
  a,
@@ -1567,7 +1567,7 @@ const Wn = /* @__PURE__ */ new WeakMap(), Of = /* @__PURE__ */ Symbol("_vte"), m
1567
1567
  ), Ml(e, t, !0)) : l || d(
1568
1568
  e,
1569
1569
  t,
1570
- Y,
1570
+ X,
1571
1571
  se,
1572
1572
  r,
1573
1573
  i,
@@ -1843,7 +1843,7 @@ function Jv(e, t) {
1843
1843
  function Yv(e, t) {
1844
1844
  If(e, "da", t);
1845
1845
  }
1846
- function If(e, t, n = St) {
1846
+ function If(e, t, n = xt) {
1847
1847
  const o = e.__wdc || (e.__wdc = () => {
1848
1848
  let r = n;
1849
1849
  for (; r; ) {
@@ -1871,7 +1871,7 @@ function Xv(e, t, n, o) {
1871
1871
  _l(o[t], r);
1872
1872
  }, n);
1873
1873
  }
1874
- function va(e, t, n = St, o = !1) {
1874
+ function va(e, t, n = xt, o = !1) {
1875
1875
  if (n) {
1876
1876
  const r = n[e] || (n[e] = []), i = t.__weh || (t.__weh = (...a) => {
1877
1877
  Rn();
@@ -1881,7 +1881,7 @@ function va(e, t, n = St, o = !1) {
1881
1881
  return o ? r.unshift(i) : r.push(i), i;
1882
1882
  }
1883
1883
  }
1884
- const Ln = (e) => (t, n = St) => {
1884
+ const Ln = (e) => (t, n = xt) => {
1885
1885
  (!Lr || e === "sp") && va(e, (...o) => t(...o), n);
1886
1886
  }, Qv = Ln("bm"), Je = Ln("m"), Rf = Ln(
1887
1887
  "bu"
@@ -1890,7 +1890,7 @@ const Ln = (e) => (t, n = St) => {
1890
1890
  ), on = Ln("um"), eg = Ln(
1891
1891
  "sp"
1892
1892
  ), tg = Ln("rtg"), ng = Ln("rtc");
1893
- function Nf(e, t = St) {
1893
+ function Nf(e, t = xt) {
1894
1894
  va("ec", e, t);
1895
1895
  }
1896
1896
  const Df = "components";
@@ -1898,11 +1898,11 @@ function Mf(e, t) {
1898
1898
  return Ff(Df, e, !0, t) || e;
1899
1899
  }
1900
1900
  const zf = /* @__PURE__ */ Symbol.for("v-ndc");
1901
- function kt(e) {
1901
+ function _t(e) {
1902
1902
  return Ze(e) ? Ff(Df, e, !1) || e : e || zf;
1903
1903
  }
1904
1904
  function Ff(e, t, n = !0, o = !1) {
1905
- const r = yt || St;
1905
+ const r = yt || xt;
1906
1906
  if (r) {
1907
1907
  const i = r.type;
1908
1908
  {
@@ -2061,7 +2061,7 @@ const Os = (e) => e ? sp(e) ? ya(e) : Os(e.parent) : null, $r = (
2061
2061
  const c = $r[t];
2062
2062
  let u, d;
2063
2063
  if (c)
2064
- return t === "$attrs" && _t(e.attrs, "get", ""), c(e);
2064
+ return t === "$attrs" && St(e.attrs, "get", ""), c(e);
2065
2065
  if (
2066
2066
  // css module (injected by vue-loader)
2067
2067
  (u = s.__cssModules) && (u = u[t])
@@ -2150,7 +2150,7 @@ function ig(e) {
2150
2150
  expose: z,
2151
2151
  inheritAttrs: B,
2152
2152
  // assets
2153
- components: Y,
2153
+ components: X,
2154
2154
  directives: se,
2155
2155
  filters: fe
2156
2156
  } = t;
@@ -2200,7 +2200,7 @@ function ig(e) {
2200
2200
  });
2201
2201
  });
2202
2202
  } else e.exposed || (e.exposed = {});
2203
- x && e.render === mn && (e.render = x), B != null && (e.inheritAttrs = B), Y && (e.components = Y), se && (e.directives = se), D && Tf(e);
2203
+ x && e.render === mn && (e.render = x), B != null && (e.inheritAttrs = B), X && (e.components = X), se && (e.directives = se), D && Tf(e);
2204
2204
  }
2205
2205
  function ag(e, t, n = mn) {
2206
2206
  ye(e) && (e = Ts(e));
@@ -2862,7 +2862,7 @@ function Pg(e, t) {
2862
2862
  nextSibling: f,
2863
2863
  setScopeId: h = mn,
2864
2864
  insertStaticContent: m
2865
- } = e, v = (S, E, F, G = null, U = null, j = null, X = void 0, ee = null, J = !!E.dynamicChildren) => {
2865
+ } = e, v = (S, E, F, G = null, U = null, j = null, Q = void 0, ee = null, J = !!E.dynamicChildren) => {
2866
2866
  if (S === E)
2867
2867
  return;
2868
2868
  S && !vr(S, E) && (G = pe(S), Re(S, U, j, !0), S = null), E.patchFlag === -2 && (J = !1, E.dynamicChildren = null), E.dynamicChildren && S && S.dynamicChildren && S.dynamicChildren.hasOnce && (E.dynamicChildren === bo && (E.dynamicChildren = []), E.dynamicChildren.hasOnce = !0);
@@ -2875,17 +2875,17 @@ function Pg(e, t) {
2875
2875
  w(S, E, F, G);
2876
2876
  break;
2877
2877
  case Ya:
2878
- S == null && _(E, F, G, X);
2878
+ S == null && _(E, F, G, Q);
2879
2879
  break;
2880
2880
  case Se:
2881
- Y(
2881
+ X(
2882
2882
  S,
2883
2883
  E,
2884
2884
  F,
2885
2885
  G,
2886
2886
  U,
2887
2887
  j,
2888
- X,
2888
+ Q,
2889
2889
  ee,
2890
2890
  J
2891
2891
  );
@@ -2898,7 +2898,7 @@ function Pg(e, t) {
2898
2898
  G,
2899
2899
  U,
2900
2900
  j,
2901
- X,
2901
+ Q,
2902
2902
  ee,
2903
2903
  J
2904
2904
  ) : ie & 6 ? se(
@@ -2908,7 +2908,7 @@ function Pg(e, t) {
2908
2908
  G,
2909
2909
  U,
2910
2910
  j,
2911
- X,
2911
+ Q,
2912
2912
  ee,
2913
2913
  J
2914
2914
  ) : (ie & 64 || ie & 128) && W.process(
@@ -2918,7 +2918,7 @@ function Pg(e, t) {
2918
2918
  G,
2919
2919
  U,
2920
2920
  j,
2921
- X,
2921
+ Q,
2922
2922
  ee,
2923
2923
  J,
2924
2924
  et
@@ -2961,15 +2961,15 @@ function Pg(e, t) {
2961
2961
  for (; S && S !== E; )
2962
2962
  F = f(S), r(S), S = F;
2963
2963
  r(E);
2964
- }, x = (S, E, F, G, U, j, X, ee, J) => {
2965
- if (E.type === "svg" ? X = "svg" : E.type === "math" && (X = "mathml"), S == null)
2964
+ }, x = (S, E, F, G, U, j, Q, ee, J) => {
2965
+ if (E.type === "svg" ? Q = "svg" : E.type === "math" && (Q = "mathml"), S == null)
2966
2966
  k(
2967
2967
  E,
2968
2968
  F,
2969
2969
  G,
2970
2970
  U,
2971
2971
  j,
2972
- X,
2972
+ Q,
2973
2973
  ee,
2974
2974
  J
2975
2975
  );
@@ -2981,7 +2981,7 @@ function Pg(e, t) {
2981
2981
  E,
2982
2982
  U,
2983
2983
  j,
2984
- X,
2984
+ Q,
2985
2985
  ee,
2986
2986
  J
2987
2987
  );
@@ -2989,7 +2989,7 @@ function Pg(e, t) {
2989
2989
  W && W._endPatch();
2990
2990
  }
2991
2991
  }
2992
- }, k = (S, E, F, G, U, j, X, ee) => {
2992
+ }, k = (S, E, F, G, U, j, Q, ee) => {
2993
2993
  let J, W;
2994
2994
  const { props: ge, shapeFlag: ie, transition: me, dirs: we } = S;
2995
2995
  if (J = S.el = a(
@@ -3004,9 +3004,9 @@ function Pg(e, t) {
3004
3004
  G,
3005
3005
  U,
3006
3006
  Ja(S, j),
3007
- X,
3007
+ Q,
3008
3008
  ee
3009
- ), we && fo(S, null, G, "created"), A(J, S, S.scopeId, X, G), ge) {
3009
+ ), we && fo(S, null, G, "created"), A(J, S, S.scopeId, Q, G), ge) {
3010
3010
  for (const H in ge)
3011
3011
  H !== "value" && !Cr(H) && i(J, H, null, ge[H], j, G);
3012
3012
  "value" in ge && i(J, "value", null, ge.value, j), (W = ge.onVnodeBeforeMount) && un(W, G, S);
@@ -3023,17 +3023,17 @@ function Pg(e, t) {
3023
3023
  if (U) {
3024
3024
  let j = U.subTree;
3025
3025
  if (E === j || rp(j.type) && (j.ssContent === E || j.ssFallback === E)) {
3026
- const X = U.vnode;
3026
+ const Q = U.vnode;
3027
3027
  A(
3028
3028
  S,
3029
- X,
3030
- X.scopeId,
3031
- X.slotScopeIds,
3029
+ Q,
3030
+ Q.scopeId,
3031
+ Q.slotScopeIds,
3032
3032
  U.parent
3033
3033
  );
3034
3034
  }
3035
3035
  }
3036
- }, T = (S, E, F, G, U, j, X, ee, J = 0) => {
3036
+ }, T = (S, E, F, G, U, j, Q, ee, J = 0) => {
3037
3037
  for (let W = J; W < S.length; W++) {
3038
3038
  const ge = S[W] = ee ? Cn(S[W]) : pn(S[W]);
3039
3039
  v(
@@ -3044,11 +3044,11 @@ function Pg(e, t) {
3044
3044
  G,
3045
3045
  U,
3046
3046
  j,
3047
- X,
3047
+ Q,
3048
3048
  ee
3049
3049
  );
3050
3050
  }
3051
- }, D = (S, E, F, G, U, j, X) => {
3051
+ }, D = (S, E, F, G, U, j, Q) => {
3052
3052
  const ee = E.el = S.el;
3053
3053
  let { patchFlag: J, dynamicChildren: W, dirs: ge } = E;
3054
3054
  J |= S.patchFlag & 16;
@@ -3056,7 +3056,7 @@ function Pg(e, t) {
3056
3056
  let we;
3057
3057
  if (F && po(F, !1), (we = me.onVnodeBeforeUpdate) && un(we, F, E, S), ge && fo(E, S, F, "beforeUpdate"), F && po(F, !0), // #6385 the old vnode may be a user-wrapped non-isomorphic block
3058
3058
  // Force full diff when block metadata is unstable.
3059
- W && (!S.dynamicChildren || S.dynamicChildren.length !== W.length) && (J = 0, X = !1, W = null), (ie.innerHTML && me.innerHTML == null || ie.textContent && me.textContent == null) && u(ee, ""), W ? z(
3059
+ W && (!S.dynamicChildren || S.dynamicChildren.length !== W.length) && (J = 0, Q = !1, W = null), (ie.innerHTML && me.innerHTML == null || ie.textContent && me.textContent == null) && u(ee, ""), W ? z(
3060
3060
  S.dynamicChildren,
3061
3061
  W,
3062
3062
  ee,
@@ -3064,7 +3064,7 @@ function Pg(e, t) {
3064
3064
  G,
3065
3065
  Ja(E, U),
3066
3066
  j
3067
- ) : X || ve(
3067
+ ) : Q || ve(
3068
3068
  S,
3069
3069
  E,
3070
3070
  ee,
@@ -3085,11 +3085,11 @@ function Pg(e, t) {
3085
3085
  }
3086
3086
  }
3087
3087
  J & 1 && S.children !== E.children && u(ee, E.children);
3088
- } else !X && W == null && B(ee, ie, me, F, U);
3088
+ } else !Q && W == null && B(ee, ie, me, F, U);
3089
3089
  ((we = me.onVnodeUpdated) || ge) && Et(() => {
3090
3090
  we && un(we, F, E, S), ge && fo(E, S, F, "updated");
3091
3091
  }, G);
3092
- }, z = (S, E, F, G, U, j, X) => {
3092
+ }, z = (S, E, F, G, U, j, Q) => {
3093
3093
  for (let ee = 0; ee < E.length; ee++) {
3094
3094
  const J = S[ee], W = E[ee], ge = (
3095
3095
  // oldVNode may be an errored async setup() component inside Suspense
@@ -3113,7 +3113,7 @@ function Pg(e, t) {
3113
3113
  G,
3114
3114
  U,
3115
3115
  j,
3116
- X,
3116
+ Q,
3117
3117
  !0
3118
3118
  );
3119
3119
  }
@@ -3131,12 +3131,12 @@ function Pg(e, t) {
3131
3131
  );
3132
3132
  for (const j in F) {
3133
3133
  if (Cr(j)) continue;
3134
- const X = F[j], ee = E[j];
3135
- X !== ee && j !== "value" && i(S, j, ee, X, U, G);
3134
+ const Q = F[j], ee = E[j];
3135
+ Q !== ee && j !== "value" && i(S, j, ee, Q, U, G);
3136
3136
  }
3137
3137
  "value" in F && i(S, "value", E.value, F.value, U);
3138
3138
  }
3139
- }, Y = (S, E, F, G, U, j, X, ee, J) => {
3139
+ }, X = (S, E, F, G, U, j, Q, ee, J) => {
3140
3140
  const W = E.el = S ? S.el : s(""), ge = E.anchor = S ? S.anchor : s("");
3141
3141
  let { patchFlag: ie, dynamicChildren: me, slotScopeIds: we } = E;
3142
3142
  we && (ee = ee ? ee.concat(we) : we), S == null ? (o(W, F, G), o(ge, F, G), T(
@@ -3149,7 +3149,7 @@ function Pg(e, t) {
3149
3149
  ge,
3150
3150
  U,
3151
3151
  j,
3152
- X,
3152
+ Q,
3153
3153
  ee,
3154
3154
  J
3155
3155
  )) : ie > 0 && ie & 64 && me && // #2715 the previous fragment could've been a BAILed one as a result
@@ -3160,7 +3160,7 @@ function Pg(e, t) {
3160
3160
  F,
3161
3161
  U,
3162
3162
  j,
3163
- X,
3163
+ Q,
3164
3164
  ee
3165
3165
  ), // #2080 if the stable fragment has a key, it's a <template v-for> that may
3166
3166
  // get moved around. Make sure all root level vnodes inherit el.
@@ -3178,16 +3178,16 @@ function Pg(e, t) {
3178
3178
  ge,
3179
3179
  U,
3180
3180
  j,
3181
- X,
3181
+ Q,
3182
3182
  ee,
3183
3183
  J
3184
3184
  );
3185
- }, se = (S, E, F, G, U, j, X, ee, J) => {
3185
+ }, se = (S, E, F, G, U, j, Q, ee, J) => {
3186
3186
  E.slotScopeIds = ee, S == null ? E.shapeFlag & 512 ? U.ctx.activate(
3187
3187
  E,
3188
3188
  F,
3189
3189
  G,
3190
- X,
3190
+ Q,
3191
3191
  J
3192
3192
  ) : fe(
3193
3193
  E,
@@ -3195,17 +3195,17 @@ function Pg(e, t) {
3195
3195
  G,
3196
3196
  U,
3197
3197
  j,
3198
- X,
3198
+ Q,
3199
3199
  J
3200
3200
  ) : Z(S, E, J);
3201
- }, fe = (S, E, F, G, U, j, X) => {
3201
+ }, fe = (S, E, F, G, U, j, Q) => {
3202
3202
  const ee = S.component = Rg(
3203
3203
  S,
3204
3204
  G,
3205
3205
  U
3206
3206
  );
3207
- if (Tl(S) && (ee.ctx.renderer = et), Ng(ee, !1, X), ee.asyncDep) {
3208
- if (U && U.registerDep(ee, re, X), !S.el) {
3207
+ if (Tl(S) && (ee.ctx.renderer = et), Ng(ee, !1, Q), ee.asyncDep) {
3208
+ if (U && U.registerDep(ee, re, Q), !S.el) {
3209
3209
  const J = ee.subTree = K(Wt);
3210
3210
  w(null, J, E, F), S.placeholder = J.el;
3211
3211
  }
@@ -3217,7 +3217,7 @@ function Pg(e, t) {
3217
3217
  F,
3218
3218
  U,
3219
3219
  j,
3220
- X
3220
+ Q
3221
3221
  );
3222
3222
  }, Z = (S, E, F) => {
3223
3223
  const G = E.component = S.component;
@@ -3229,14 +3229,14 @@ function Pg(e, t) {
3229
3229
  G.next = E, G.update();
3230
3230
  else
3231
3231
  E.el = S.el, G.vnode = E;
3232
- }, re = (S, E, F, G, U, j, X) => {
3232
+ }, re = (S, E, F, G, U, j, Q) => {
3233
3233
  const ee = () => {
3234
3234
  if (S.isMounted) {
3235
3235
  let { next: ie, bu: me, u: we, parent: Ae, vnode: H } = S;
3236
3236
  {
3237
3237
  const sn = np(S);
3238
3238
  if (sn) {
3239
- ie && (ie.el = H.el, le(S, ie, X)), sn.asyncDep.then(() => {
3239
+ ie && (ie.el = H.el, le(S, ie, Q)), sn.asyncDep.then(() => {
3240
3240
  Et(() => {
3241
3241
  S.isUnmounted || W();
3242
3242
  }, U);
@@ -3245,7 +3245,7 @@ function Pg(e, t) {
3245
3245
  }
3246
3246
  }
3247
3247
  let ue = ie, Ee;
3248
- po(S, !1), ie ? (ie.el = H.el, le(S, ie, X)) : ie = H, me && Si(me), (Ee = ie.props && ie.props.onVnodeBeforeUpdate) && un(Ee, Ae, ie, H), po(S, !0);
3248
+ po(S, !1), ie ? (ie.el = H.el, le(S, ie, Q)) : ie = H, me && Si(me), (Ee = ie.props && ie.props.onVnodeBeforeUpdate) && un(Ee, Ae, ie, H), po(S, !0);
3249
3249
  const De = Bu(S), an = S.subTree;
3250
3250
  S.subTree = De, v(
3251
3251
  an,
@@ -3300,7 +3300,7 @@ function Pg(e, t) {
3300
3300
  E.component = S;
3301
3301
  const G = S.vnode.props;
3302
3302
  S.vnode = E, S.next = null, wg(S, E.props, G, F), kg(S, E.children, F), Rn(), Tu(S), Nn();
3303
- }, ve = (S, E, F, G, U, j, X, ee, J = !1) => {
3303
+ }, ve = (S, E, F, G, U, j, Q, ee, J = !1) => {
3304
3304
  const W = S && S.children, ge = S ? S.shapeFlag : 0, ie = E.children, { patchFlag: me, shapeFlag: we } = E;
3305
3305
  if (me > 0) {
3306
3306
  if (me & 128) {
@@ -3311,7 +3311,7 @@ function Pg(e, t) {
3311
3311
  G,
3312
3312
  U,
3313
3313
  j,
3314
- X,
3314
+ Q,
3315
3315
  ee,
3316
3316
  J
3317
3317
  );
@@ -3324,7 +3324,7 @@ function Pg(e, t) {
3324
3324
  G,
3325
3325
  U,
3326
3326
  j,
3327
- X,
3327
+ Q,
3328
3328
  ee,
3329
3329
  J
3330
3330
  );
@@ -3338,7 +3338,7 @@ function Pg(e, t) {
3338
3338
  G,
3339
3339
  U,
3340
3340
  j,
3341
- X,
3341
+ Q,
3342
3342
  ee,
3343
3343
  J
3344
3344
  ) : zt(W, U, j, !0) : (ge & 8 && u(F, ""), we & 16 && T(
@@ -3347,11 +3347,11 @@ function Pg(e, t) {
3347
3347
  G,
3348
3348
  U,
3349
3349
  j,
3350
- X,
3350
+ Q,
3351
3351
  ee,
3352
3352
  J
3353
3353
  ));
3354
- }, $e = (S, E, F, G, U, j, X, ee, J) => {
3354
+ }, $e = (S, E, F, G, U, j, Q, ee, J) => {
3355
3355
  S = S || bo, E = E || bo;
3356
3356
  const W = S.length, ge = E.length, ie = Math.min(W, ge);
3357
3357
  let me;
@@ -3364,7 +3364,7 @@ function Pg(e, t) {
3364
3364
  null,
3365
3365
  U,
3366
3366
  j,
3367
- X,
3367
+ Q,
3368
3368
  ee,
3369
3369
  J
3370
3370
  );
@@ -3382,12 +3382,12 @@ function Pg(e, t) {
3382
3382
  G,
3383
3383
  U,
3384
3384
  j,
3385
- X,
3385
+ Q,
3386
3386
  ee,
3387
3387
  J,
3388
3388
  ie
3389
3389
  );
3390
- }, xe = (S, E, F, G, U, j, X, ee, J) => {
3390
+ }, xe = (S, E, F, G, U, j, Q, ee, J) => {
3391
3391
  let W = 0;
3392
3392
  const ge = E.length;
3393
3393
  let ie = S.length - 1, me = ge - 1;
@@ -3401,7 +3401,7 @@ function Pg(e, t) {
3401
3401
  null,
3402
3402
  U,
3403
3403
  j,
3404
- X,
3404
+ Q,
3405
3405
  ee,
3406
3406
  J
3407
3407
  );
@@ -3419,7 +3419,7 @@ function Pg(e, t) {
3419
3419
  null,
3420
3420
  U,
3421
3421
  j,
3422
- X,
3422
+ Q,
3423
3423
  ee,
3424
3424
  J
3425
3425
  );
@@ -3438,7 +3438,7 @@ function Pg(e, t) {
3438
3438
  Ae,
3439
3439
  U,
3440
3440
  j,
3441
- X,
3441
+ Q,
3442
3442
  ee,
3443
3443
  J
3444
3444
  ), W++;
@@ -3479,7 +3479,7 @@ function Pg(e, t) {
3479
3479
  null,
3480
3480
  U,
3481
3481
  j,
3482
- X,
3482
+ Q,
3483
3483
  ee,
3484
3484
  J
3485
3485
  ), Ee++);
@@ -3497,14 +3497,14 @@ function Pg(e, t) {
3497
3497
  ku,
3498
3498
  U,
3499
3499
  j,
3500
- X,
3500
+ Q,
3501
3501
  ee,
3502
3502
  J
3503
3503
  ) : an && (ue < 0 || W !== Su[ue] ? ke(ln, F, ku, 2) : ue--);
3504
3504
  }
3505
3505
  }
3506
3506
  }, ke = (S, E, F, G, U = null) => {
3507
- const { el: j, type: X, transition: ee, children: J, shapeFlag: W } = S;
3507
+ const { el: j, type: Q, transition: ee, children: J, shapeFlag: W } = S;
3508
3508
  if (W & 6) {
3509
3509
  ke(S.component.subTree, E, F, G);
3510
3510
  return;
@@ -3514,17 +3514,17 @@ function Pg(e, t) {
3514
3514
  return;
3515
3515
  }
3516
3516
  if (W & 64) {
3517
- X.move(S, E, F, et);
3517
+ Q.move(S, E, F, et);
3518
3518
  return;
3519
3519
  }
3520
- if (X === Se) {
3520
+ if (Q === Se) {
3521
3521
  o(j, E, F);
3522
3522
  for (let ie = 0; ie < J.length; ie++)
3523
3523
  ke(J[ie], E, F, G);
3524
3524
  o(S.anchor, E, F);
3525
3525
  return;
3526
3526
  }
3527
- if (X === Ya) {
3527
+ if (Q === Ya) {
3528
3528
  P(S, E, F);
3529
3529
  return;
3530
3530
  }
@@ -3550,7 +3550,7 @@ function Pg(e, t) {
3550
3550
  }, Re = (S, E, F, G = !1, U = !1) => {
3551
3551
  const {
3552
3552
  type: j,
3553
- props: X,
3553
+ props: Q,
3554
3554
  ref: ee,
3555
3555
  children: J,
3556
3556
  dynamicChildren: W,
@@ -3566,7 +3566,7 @@ function Pg(e, t) {
3566
3566
  }
3567
3567
  const H = ge & 1 && me, ue = !Ko(S);
3568
3568
  let Ee;
3569
- if (ue && (Ee = X && X.onVnodeBeforeUnmount) && un(Ee, E, S), ge & 6)
3569
+ if (ue && (Ee = Q && Q.onVnodeBeforeUnmount) && un(Ee, E, S), ge & 6)
3570
3570
  rn(S.component, F, G);
3571
3571
  else {
3572
3572
  if (ge & 128) {
@@ -3594,7 +3594,7 @@ function Pg(e, t) {
3594
3594
  ) : (j === Se && ie & 384 || !U && ge & 16) && zt(J, E, F), G && ft(S);
3595
3595
  }
3596
3596
  const De = Ae != null && we == null;
3597
- (ue && (Ee = X && X.onVnodeUnmounted) || H || De) && Et(() => {
3597
+ (ue && (Ee = Q && Q.onVnodeUnmounted) || H || De) && Et(() => {
3598
3598
  Ee && un(Ee, E, S), H && fo(S, null, E, "unmounted"), De && (S.el = null);
3599
3599
  }, F);
3600
3600
  }, ft = (S) => {
@@ -3611,7 +3611,7 @@ function Pg(e, t) {
3611
3611
  r(F), U && !U.persisted && U.afterLeave && U.afterLeave();
3612
3612
  };
3613
3613
  if (S.shapeFlag & 1 && U && !U.persisted) {
3614
- const { leave: X, delayLeave: ee } = U, J = () => X(F, j);
3614
+ const { leave: Q, delayLeave: ee } = U, J = () => Q(F, j);
3615
3615
  ee ? ee(S.el, j, J) : J();
3616
3616
  } else
3617
3617
  j();
@@ -3621,13 +3621,13 @@ function Pg(e, t) {
3621
3621
  F = f(S), r(S), S = F;
3622
3622
  r(E);
3623
3623
  }, rn = (S, E, F) => {
3624
- const { bum: G, scope: U, job: j, subTree: X, um: ee, m: J, a: W } = S;
3625
- Uu(J), Uu(W), G && Si(G), U.stop(), j ? (j.flags |= 8, Re(X, S, E, F)) : S.vnode.el && X && (X.transition = S.vnode.transition, Re(X, S, E, F)), ee && Et(ee, E), Et(() => {
3624
+ const { bum: G, scope: U, job: j, subTree: Q, um: ee, m: J, a: W } = S;
3625
+ Uu(J), Uu(W), G && Si(G), U.stop(), j ? (j.flags |= 8, Re(Q, S, E, F)) : S.vnode.el && Q && (Q.transition = S.vnode.transition, Re(Q, S, E, F)), ee && Et(ee, E), Et(() => {
3626
3626
  S.isUnmounted = !0;
3627
3627
  }, E);
3628
3628
  }, zt = (S, E, F, G = !1, U = !1, j = 0) => {
3629
- for (let X = j; X < S.length; X++)
3630
- Re(S[X], E, F, G, U);
3629
+ for (let Q = j; Q < S.length; Q++)
3630
+ Re(S[Q], E, F, G, U);
3631
3631
  }, pe = (S) => {
3632
3632
  if (S.shapeFlag & 6)
3633
3633
  return pe(S.component.subTree);
@@ -3829,7 +3829,7 @@ function $g(e, t = null, n = null, o = 0, r = null, i = !1) {
3829
3829
  if (Fg(e) && (e = e.__vccOpts), t) {
3830
3830
  t = dt(t);
3831
3831
  let { class: s, style: l } = t;
3832
- s && !Ze(s) && (t.class = Q(s)), Be(l) && (/* @__PURE__ */ pa(l) && !ye(l) && (l = ct({}, l)), t.style = Ve(l));
3832
+ s && !Ze(s) && (t.class = Y(s)), Be(l) && (/* @__PURE__ */ pa(l) && !ye(l) && (l = ct({}, l)), t.style = Ve(l));
3833
3833
  }
3834
3834
  const a = Ze(e) ? 1 : rp(e) ? 128 : ma(e) ? 64 : Be(e) ? 4 : _e(e) ? 2 : 0;
3835
3835
  return ne(
@@ -3947,7 +3947,7 @@ function oe(...e) {
3947
3947
  const o = e[n];
3948
3948
  for (const r in o)
3949
3949
  if (r === "class")
3950
- t.class !== o.class && (t.class = Q([t.class, o.class]));
3950
+ t.class !== o.class && (t.class = Y([t.class, o.class]));
3951
3951
  else if (r === "style")
3952
3952
  t.style = Ve([t.style, o.style]);
3953
3953
  else if (ta(r)) {
@@ -4046,8 +4046,8 @@ function Rg(e, t, n) {
4046
4046
  };
4047
4047
  return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = pg.bind(null, i), e.ce && e.ce(i), i;
4048
4048
  }
4049
- let St = null;
4050
- const Nt = () => St || yt;
4049
+ let xt = null;
4050
+ const Nt = () => xt || yt;
4051
4051
  let qi, qr;
4052
4052
  {
4053
4053
  const e = aa(), t = (n, o) => {
@@ -4058,19 +4058,19 @@ let qi, qr;
4058
4058
  };
4059
4059
  qi = t(
4060
4060
  "__VUE_INSTANCE_SETTERS__",
4061
- (n) => St = n
4061
+ (n) => xt = n
4062
4062
  ), qr = t(
4063
4063
  "__VUE_SSR_SETTERS__",
4064
4064
  (n) => Lr = n
4065
4065
  );
4066
4066
  }
4067
4067
  const Jr = (e) => {
4068
- const t = St;
4068
+ const t = xt;
4069
4069
  return qi(e), e.scope.on(), () => {
4070
4070
  e.scope.off(), qi(t);
4071
4071
  };
4072
4072
  }, Wu = () => {
4073
- St && St.scope.off(), qi(null);
4073
+ xt && xt.scope.off(), qi(null);
4074
4074
  };
4075
4075
  function sp(e) {
4076
4076
  return e.vnode.shapeFlag & 4;
@@ -4134,7 +4134,7 @@ function lp(e, t, n) {
4134
4134
  }
4135
4135
  const Mg = {
4136
4136
  get(e, t) {
4137
- return _t(e, "get", ""), e[t];
4137
+ return St(e, "get", ""), e[t];
4138
4138
  }
4139
4139
  };
4140
4140
  function up(e) {
@@ -4527,7 +4527,7 @@ const cy = {
4527
4527
  middle: (e) => "button" in e && e.button !== 1,
4528
4528
  right: (e) => "button" in e && e.button !== 2,
4529
4529
  exact: (e, t) => dy.some((n) => e[`${n}Key`] && !t.includes(n))
4530
- }, xt = (e, t) => {
4530
+ }, kt = (e, t) => {
4531
4531
  if (!e) return e;
4532
4532
  const n = e._withMods || (e._withMods = {}), o = t.join(".");
4533
4533
  return n[o] || (n[o] = ((r, ...i) => {
@@ -6134,8 +6134,8 @@ const Ww = /* @__PURE__ */ q("$ZodObject", (e, t) => {
6134
6134
  for (const x of m.allKeys) {
6135
6135
  if (x === "__proto__")
6136
6136
  continue;
6137
- const k = P[x], A = typeof x == "symbol" ? `syms[${v.indexOf(x)}]` : ky(x), T = `${A} in input`, D = h[x], z = D?._zod?.optin, B = z !== void 0, Y = D?._zod?.optout === "optional";
6138
- if (g.write(`const ${k} = ${w(A)};`), B && Y) {
6137
+ const k = P[x], A = typeof x == "symbol" ? `syms[${v.indexOf(x)}]` : ky(x), T = `${A} in input`, D = h[x], z = D?._zod?.optin, B = z !== void 0, X = D?._zod?.optout === "optional";
6138
+ if (g.write(`const ${k} = ${w(A)};`), B && X) {
6139
6139
  const se = z === "optional" ? `${k}_present` : `${k}.value !== undefined || ${k}_present`;
6140
6140
  g.write(`
6141
6141
  const ${k}_present = ${T};
@@ -9866,8 +9866,8 @@ Note: state patches appear right after the elements that use them, so the UI fil
9866
9866
  }
9867
9867
  a.push("");
9868
9868
  }
9869
- const D = e.data.actions, z = e.schema.builtInActions ?? [], B = D && e.actionNames.length > 0, Y = z.length > 0;
9870
- if (B || Y) {
9869
+ const D = e.data.actions, z = e.schema.builtInActions ?? [], B = D && e.actionNames.length > 0, X = z.length > 0;
9870
+ if (B || X) {
9871
9871
  a.push("AVAILABLE ACTIONS:"), a.push("");
9872
9872
  for (const xe of z)
9873
9873
  a.push(`- ${xe.name}: ${xe.description} [built-in]`);
@@ -9981,7 +9981,7 @@ Note: state patches appear right after the elements that use them, so the UI fil
9981
9981
  "IMPORTANT: When using checks, the component must also have a { $bindState } or { $bindItem } on its value/checked prop for two-way binding."
9982
9982
  ), a.push(
9983
9983
  "Always include validation checks on form inputs for a good user experience (e.g. required, email, minLength)."
9984
- ), a.push("")), (B || Y) && (a.push("STATE WATCHERS:"), a.push(
9984
+ ), a.push("")), (B || X) && (a.push("STATE WATCHERS:"), a.push(
9985
9985
  "Elements can have an optional `watch` field to react to state changes and trigger actions. The `watch` field is a top-level field on the element (sibling of type/props/children), NOT inside props."
9986
9986
  ), a.push(
9987
9987
  "Maps state paths (JSON Pointers) to action bindings. When the value at a watched path changes, the bound actions fire automatically."
@@ -11109,27 +11109,27 @@ var Ql = /* @__PURE__ */ N({
11109
11109
  `[json-render] Unknown slot "${B}" on component "${_.type}". Available slots: ${b.slots.join(", ")}`
11110
11110
  );
11111
11111
  }
11112
- const x = (z, B) => z.map((Y) => {
11113
- const se = e.spec.elements[Y];
11112
+ const x = (z, B) => z.map((X) => {
11113
+ const se = e.spec.elements[X];
11114
11114
  if (!se) {
11115
11115
  if (!e.loading) {
11116
11116
  const fe = B ? `in slot "${B}" of "${_.type}"` : `as child of "${_.type}"`;
11117
11117
  console.warn(
11118
- `[json-render] Missing element "${Y}" referenced ${fe}. This element will not render.`
11118
+ `[json-render] Missing element "${X}" referenced ${fe}. This element will not render.`
11119
11119
  );
11120
11120
  }
11121
11121
  return null;
11122
11122
  }
11123
11123
  return ae(Ql, {
11124
- key: Y,
11124
+ key: X,
11125
11125
  element: se,
11126
- elementKey: Y,
11126
+ elementKey: X,
11127
11127
  spec: e.spec,
11128
11128
  registry: e.registry,
11129
11129
  loading: e.loading,
11130
11130
  fallback: e.fallback
11131
11131
  });
11132
- }).filter((Y) => Y !== null), k = _.repeat ? ae(_k, {
11132
+ }).filter((X) => X !== null), k = _.repeat ? ae(_k, {
11133
11133
  element: _,
11134
11134
  spec: e.spec,
11135
11135
  registry: e.registry,
@@ -13516,7 +13516,7 @@ const Tk = ["aria-label"], Oh = /* @__PURE__ */ N({
13516
13516
  "--ui-spin-stroke": n.inline ? Math.max(2, 32 / Math.max(1, n.size)) : Math.max(2, 36 / Math.max(1, n.size))
13517
13517
  }));
13518
13518
  return (r, i) => (y(), O("span", {
13519
- class: Q(["ui-spin", { "ui-spin-inline": p(n).inline }]),
13519
+ class: Y(["ui-spin", { "ui-spin-inline": p(n).inline }]),
13520
13520
  role: "status",
13521
13521
  "aria-label": p(n).label,
13522
13522
  style: Ve(o.value),
@@ -13613,7 +13613,7 @@ const zk = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
13613
13613
  ref_key: "buttonEl",
13614
13614
  ref: l,
13615
13615
  type: e.type,
13616
- class: Q(h.value),
13616
+ class: Y(h.value),
13617
13617
  disabled: p(n) || i.value,
13618
13618
  "data-disabled": p(n) || void 0,
13619
13619
  "data-loading": i.value || void 0,
@@ -13630,7 +13630,7 @@ const zk = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "d
13630
13630
  ne("span", {
13631
13631
  ref_key: "labelEl",
13632
13632
  ref: s,
13633
- class: Q(["min-w-0 truncate [&>svg]:inline-block [&>svg]:shrink-0 [&>svg]:align-middle", !c.value && "[&>svg:first-child]:mr-2 [&>svg:not(:first-child)]:ml-2"]),
13633
+ class: Y(["min-w-0 truncate [&>svg]:inline-block [&>svg]:shrink-0 [&>svg]:align-middle", !c.value && "[&>svg:first-child]:mr-2 [&>svg:not(:first-child)]:ml-2"]),
13634
13634
  "data-icon-only": c.value || void 0
13635
13635
  }, [
13636
13636
  I(m.$slots, "default")
@@ -13787,7 +13787,7 @@ const Yk = ({
13787
13787
  attributes: m
13788
13788
  });
13789
13789
  return ae("svg", D, [
13790
- ...z.map(([B, Y]) => ae(B, Y)),
13790
+ ...z.map(([B, X]) => ae(B, X)),
13791
13791
  ...T ?? []
13792
13792
  ]);
13793
13793
  };
@@ -14000,7 +14000,7 @@ const CC = {
14000
14000
  "data-syno-pkg-land-ui": ""
14001
14001
  }), [
14002
14002
  ne("span", {
14003
- class: Q(["relative inline-flex min-w-0 items-center", n.type === "number" ? "shrink-0" : "flex-1"])
14003
+ class: Y(["relative inline-flex min-w-0 items-center", n.type === "number" ? "shrink-0" : "flex-1"])
14004
14004
  }, [
14005
14005
  ne("input", oe(p(f)(), {
14006
14006
  value: e.modelValue,
@@ -14038,7 +14038,7 @@ const CC = {
14038
14038
  s.value ? (y(), O("span", {
14039
14039
  key: 0,
14040
14040
  "data-ui-input-unit": "",
14041
- class: Q(["shrink-0 whitespace-nowrap text-[13px] leading-5", p(o) ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text)]"])
14041
+ class: Y(["shrink-0 whitespace-nowrap text-[13px] leading-5", p(o) ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text)]"])
14042
14042
  }, [
14043
14043
  I(g.$slots, "unit", {}, () => [
14044
14044
  Ne(te(e.unit), 1)
@@ -16199,7 +16199,7 @@ var HP = /* @__PURE__ */ N({
16199
16199
  "as-child": r.asChild,
16200
16200
  "data-state": p(n).open.value ? "open" : "closed",
16201
16201
  style: { "pointer-events": "auto" },
16202
- onPointerdown: i[0] || (i[0] = xt(() => {
16202
+ onPointerdown: i[0] || (i[0] = kt(() => {
16203
16203
  }, [
16204
16204
  "left",
16205
16205
  "self",
@@ -16962,7 +16962,7 @@ const F1 = 50, q1 = async (e, t, n) => {
16962
16962
  }, h = pu(r), m = fu(h), v = await a.getDimensions(c), g = h === "y", w = g ? "top" : "left", _ = g ? "bottom" : "right", P = g ? "clientHeight" : "clientWidth", b = i.reference[m] + i.reference[h] - f[h] - i.floating[m], x = f[h] - i.reference[h], k = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
16963
16963
  let A = k ? k[P] : 0;
16964
16964
  (!A || !await (a.isElement == null ? void 0 : a.isElement(k))) && (A = s.floating[P] || i.floating[m]);
16965
- const T = b / 2 - x / 2, D = A / 2 - v[m] / 2 - 1, z = oo(d[w], D), B = oo(d[_], D), Y = A - v[m] - B, se = A / 2 - v[m] / 2 + T, fe = Yh(z, se, Y), Z = !l.arrow && fr(r) != null && se !== fe && i.reference[m] / 2 - (se < z ? z : B) - v[m] / 2 < 0, re = Z ? se < z ? se - z : se - Y : 0;
16965
+ const T = b / 2 - x / 2, D = A / 2 - v[m] / 2 - 1, z = oo(d[w], D), B = oo(d[_], D), X = A - v[m] - B, se = A / 2 - v[m] / 2 + T, fe = Yh(z, se, X), Z = !l.arrow && fr(r) != null && se !== fe && i.reference[m] / 2 - (se < z ? z : B) - v[m] / 2 < 0, re = Z ? se < z ? se - z : se - X : 0;
16966
16966
  return {
16967
16967
  [h]: f[h] + re,
16968
16968
  data: {
@@ -17011,7 +17011,7 @@ const F1 = 50, q1 = async (e, t, n) => {
17011
17011
  placement: r,
17012
17012
  overflows: D
17013
17013
  }], !D.every((fe) => fe <= 0)) {
17014
- var B, Y;
17014
+ var B, X;
17015
17015
  const fe = (((B = i.flip) == null ? void 0 : B.index) || 0) + 1, Z = A[fe];
17016
17016
  if (Z && (!(d === "alignment" ? _ !== hn(Z) : !1) || // We leave the current main axis only if every placement on that axis
17017
17017
  // overflows the main axis.
@@ -17025,7 +17025,7 @@ const F1 = 50, q1 = async (e, t, n) => {
17025
17025
  placement: Z
17026
17026
  }
17027
17027
  };
17028
- let re = (Y = z.filter((le) => le.overflows[0] <= 0).sort((le, ve) => le.overflows[1] - ve.overflows[1])[0]) == null ? void 0 : Y.placement;
17028
+ let re = (X = z.filter((le) => le.overflows[0] <= 0).sort((le, ve) => le.overflows[1] - ve.overflows[1])[0]) == null ? void 0 : X.placement;
17029
17029
  if (!re)
17030
17030
  switch (h) {
17031
17031
  case "bestFit": {
@@ -17913,7 +17913,7 @@ const CA = ["dir"], sm = {
17913
17913
  positionStrategy: "fixed",
17914
17914
  updatePositionStrategy: "optimized",
17915
17915
  prioritizePosition: !1
17916
- }, [ID, PA] = /* @__PURE__ */ He("PopperContent");
17916
+ }, [RD, PA] = /* @__PURE__ */ He("PopperContent");
17917
17917
  var AA = /* @__PURE__ */ N({
17918
17918
  inheritAttrs: !1,
17919
17919
  __name: "PopperContent",
@@ -18080,11 +18080,11 @@ var AA = /* @__PURE__ */ N({
18080
18080
  Rt(() => {
18081
18081
  s.value && (B.value = window.getComputedStyle(s.value).zIndex);
18082
18082
  });
18083
- const Y = C(() => A.value.arrow?.x ?? 0), se = C(() => A.value.arrow?.y ?? 0);
18083
+ const X = C(() => A.value.arrow?.x ?? 0), se = C(() => A.value.arrow?.y ?? 0);
18084
18084
  return PA({
18085
18085
  placedSide: T,
18086
18086
  onArrowChange: (fe) => u.value = fe,
18087
- arrowX: Y,
18087
+ arrowX: X,
18088
18088
  arrowY: se,
18089
18089
  shouldHideArrow: z
18090
18090
  }), (fe, Z) => (y(), O("div", {
@@ -18439,7 +18439,7 @@ var MA = /* @__PURE__ */ N({
18439
18439
  return DA({
18440
18440
  disabled: l,
18441
18441
  state: u
18442
- }), (g, w) => (y(), O(Se, null, [(y(), R(kt(p(a)?.rovingFocus.value ? p(um) : p(Pe)), oe({
18442
+ }), (g, w) => (y(), O(Se, null, [(y(), R(_t(p(a)?.rovingFocus.value ? p(um) : p(Pe)), oe({
18443
18443
  ...g.$attrs,
18444
18444
  ...p(h)
18445
18445
  }, {
@@ -18456,7 +18456,7 @@ var MA = /* @__PURE__ */ N({
18456
18456
  "data-disabled": l.value ? "" : void 0,
18457
18457
  disabled: l.value,
18458
18458
  focusable: p(a)?.rovingFocus.value ? !l.value : void 0,
18459
- onKeydown: ba(xt(() => {
18459
+ onKeydown: ba(kt(() => {
18460
18460
  }, ["prevent"]), ["enter"]),
18461
18461
  onClick: d
18462
18462
  }), {
@@ -18783,7 +18783,7 @@ var ZA = /* @__PURE__ */ N({
18783
18783
  const ft = [...Re.map((pt) => pt.ref)];
18784
18784
  Zh.includes(Z.key) && ft.reverse(), Qs(ft);
18785
18785
  }
18786
- function Y(Z) {
18786
+ function X(Z) {
18787
18787
  Z?.currentTarget?.contains?.(Z.target) || (window.clearTimeout(u.value), c.value = "");
18788
18788
  }
18789
18789
  function se(Z) {
@@ -18866,7 +18866,7 @@ var ZA = /* @__PURE__ */ N({
18866
18866
  "hide-when-detached": Z.hideWhenDetached,
18867
18867
  reference: Z.reference,
18868
18868
  onKeydown: B,
18869
- onBlur: Y,
18869
+ onBlur: X,
18870
18870
  onPointermove: se,
18871
18871
  onPointerenter: fe
18872
18872
  }, {
@@ -19208,7 +19208,7 @@ var YA = /* @__PURE__ */ N({
19208
19208
  "disable-outside-pointer-events": p(i).open.value,
19209
19209
  "disable-outside-scroll": !0,
19210
19210
  onDismiss: c[0] || (c[0] = (u) => p(i).onOpenChange(!1)),
19211
- onFocusOutside: c[1] || (c[1] = xt((u) => o("focusOutside", u), ["prevent"]))
19211
+ onFocusOutside: c[1] || (c[1] = kt((u) => o("focusOutside", u), ["prevent"]))
19212
19212
  }), {
19213
19213
  default: $(() => [I(l.$slots, "default")]),
19214
19214
  _: 3
@@ -19452,7 +19452,7 @@ var YA = /* @__PURE__ */ N({
19452
19452
  }, 8, ["present"]));
19453
19453
  }
19454
19454
  }), aE = iE;
19455
- const [RD, sE] = /* @__PURE__ */ He("MenuGroup");
19455
+ const [ND, sE] = /* @__PURE__ */ He("MenuGroup");
19456
19456
  var lE = /* @__PURE__ */ N({
19457
19457
  __name: "MenuGroup",
19458
19458
  props: {
@@ -19739,10 +19739,10 @@ var _E = /* @__PURE__ */ N({
19739
19739
  "disable-outside-pointer-events": !1,
19740
19740
  "disable-outside-scroll": !1,
19741
19741
  "trap-focus": !1,
19742
- onOpenAutoFocus: f[0] || (f[0] = xt((h) => {
19742
+ onOpenAutoFocus: f[0] || (f[0] = kt((h) => {
19743
19743
  p(a).isUsingKeyboardRef.value && p(u)?.focus();
19744
19744
  }, ["prevent"])),
19745
- onCloseAutoFocus: f[1] || (f[1] = xt(() => {
19745
+ onCloseAutoFocus: f[1] || (f[1] = kt(() => {
19746
19746
  }, ["prevent"])),
19747
19747
  onFocusOutside: f[2] || (f[2] = (h) => {
19748
19748
  if (h.defaultPrevented) return;
@@ -20565,7 +20565,7 @@ var eO = /* @__PURE__ */ N({
20565
20565
  }, {
20566
20566
  ...p(c),
20567
20567
  ...f.$attrs
20568
- }, { onClick: xt(d, ["stop"]) }), {
20568
+ }, { onClick: kt(d, ["stop"]) }), {
20569
20569
  default: $(() => [I(f.$slots, "default", { checked: p(r) })]),
20570
20570
  _: 3
20571
20571
  }, 16, [
@@ -20787,7 +20787,7 @@ var lO = /* @__PURE__ */ N({
20787
20787
  disabled: s.value,
20788
20788
  "onUpdate:checked": v[0] || (v[0] = (g) => p(a).changeModelValue(m.value)),
20789
20789
  onSelect: v[1] || (v[1] = (g) => o("select", g)),
20790
- onKeydown: v[2] || (v[2] = ba(xt(() => {
20790
+ onKeydown: v[2] || (v[2] = ba(kt(() => {
20791
20791
  }, ["prevent"]), ["enter"])),
20792
20792
  onFocus: f
20793
20793
  }), {
@@ -21346,8 +21346,8 @@ var xO = /* @__PURE__ */ N({
21346
21346
  ].includes(A.key)) {
21347
21347
  let z = [...s().map((B) => B.ref)];
21348
21348
  if (["ArrowUp", "End"].includes(A.key) && (z = z.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(A.key)) {
21349
- const B = A.target, Y = z.indexOf(B);
21350
- z = z.slice(Y + 1);
21349
+ const B = A.target, X = z.indexOf(B);
21350
+ z = z.slice(X + 1);
21351
21351
  }
21352
21352
  setTimeout(() => Qs(z)), A.preventDefault();
21353
21353
  }
@@ -21383,7 +21383,7 @@ var xO = /* @__PURE__ */ N({
21383
21383
  }), (A, T) => (y(), R(p(a), null, {
21384
21384
  default: $(() => [K(p(au), {
21385
21385
  "as-child": "",
21386
- onMountAutoFocus: T[6] || (T[6] = xt(() => {
21386
+ onMountAutoFocus: T[6] || (T[6] = kt(() => {
21387
21387
  }, ["prevent"])),
21388
21388
  onUnmountAutoFocus: T[7] || (T[7] = (D) => {
21389
21389
  o("closeAutoFocus", D), !D.defaultPrevented && (i ? i.restoreFocus(p(r).triggerElement.value) : p(r).triggerElement.value?.focus({ preventScroll: !0 }), D.preventDefault());
@@ -21392,13 +21392,13 @@ var xO = /* @__PURE__ */ N({
21392
21392
  default: $(() => [K(p($a), {
21393
21393
  "as-child": "",
21394
21394
  "disable-outside-pointer-events": A.disableOutsidePointerEvents,
21395
- onFocusOutside: T[2] || (T[2] = xt(() => {
21395
+ onFocusOutside: T[2] || (T[2] = kt(() => {
21396
21396
  }, ["prevent"])),
21397
21397
  onDismiss: T[3] || (T[3] = (D) => p(r).onOpenChange(!1)),
21398
21398
  onEscapeKeyDown: T[4] || (T[4] = (D) => o("escapeKeyDown", D)),
21399
21399
  onPointerDownOutside: T[5] || (T[5] = (D) => o("pointerDownOutside", D))
21400
21400
  }, {
21401
- default: $(() => [(y(), R(kt(A.position === "popper" ? _O : EO), oe({
21401
+ default: $(() => [(y(), R(_t(A.position === "popper" ? _O : EO), oe({
21402
21402
  ...A.$attrs,
21403
21403
  ...p(k)
21404
21404
  }, {
@@ -21416,7 +21416,7 @@ var xO = /* @__PURE__ */ N({
21416
21416
  flexDirection: "column",
21417
21417
  outline: "none"
21418
21418
  },
21419
- onContextmenu: T[0] || (T[0] = xt(() => {
21419
+ onContextmenu: T[0] || (T[0] = kt(() => {
21420
21420
  }, ["prevent"])),
21421
21421
  onPlaced: T[1] || (T[1] = (D) => m.value = !0),
21422
21422
  onKeydown: b
@@ -21464,7 +21464,7 @@ var AO = /* @__PURE__ */ N({
21464
21464
  const pe = b.right - k.right, Fe = window.innerWidth - x.right - pe, rt = window.innerWidth - P.right - Fe, et = P.width + rt, Do = Math.max(et, b.width), S = window.innerWidth - Ht, E = id(Fe, Ht, Math.max(Ht, S - Do));
21465
21465
  c.value.style.minWidth = `${et}px`, c.value.style.right = `${E}px`;
21466
21466
  }
21467
- const A = r().map((pe) => pe.ref), T = window.innerHeight - Ht * 2, D = f.value.scrollHeight, z = window.getComputedStyle(d.value), B = Number.parseInt(z.borderTopWidth, 10), Y = Number.parseInt(z.paddingTop, 10), se = Number.parseInt(z.borderBottomWidth, 10), fe = Number.parseInt(z.paddingBottom, 10), Z = B + Y + D + fe + se, re = Math.min(h.value.offsetHeight * 5, Z), le = window.getComputedStyle(f.value), ve = Number.parseInt(le.paddingTop, 10), $e = Number.parseInt(le.paddingBottom, 10), xe = P.top + P.height / 2 - Ht, ke = T - xe, Re = h.value.offsetHeight / 2, ft = h.value.offsetTop + Re, pt = B + Y + ft, rn = Z - pt;
21467
+ const A = r().map((pe) => pe.ref), T = window.innerHeight - Ht * 2, D = f.value.scrollHeight, z = window.getComputedStyle(d.value), B = Number.parseInt(z.borderTopWidth, 10), X = Number.parseInt(z.paddingTop, 10), se = Number.parseInt(z.borderBottomWidth, 10), fe = Number.parseInt(z.paddingBottom, 10), Z = B + X + D + fe + se, re = Math.min(h.value.offsetHeight * 5, Z), le = window.getComputedStyle(f.value), ve = Number.parseInt(le.paddingTop, 10), $e = Number.parseInt(le.paddingBottom, 10), xe = P.top + P.height / 2 - Ht, ke = T - xe, Re = h.value.offsetHeight / 2, ft = h.value.offsetTop + Re, pt = B + X + ft, rn = Z - pt;
21468
21468
  if (pt <= xe) {
21469
21469
  const pe = h.value === A.at(-1);
21470
21470
  c.value.style.bottom = "0px";
@@ -21797,7 +21797,7 @@ var BO = /* @__PURE__ */ N({
21797
21797
  onPointerdown: x[2] || (x[2] = (k) => {
21798
21798
  k.currentTarget.focus({ preventScroll: !0 });
21799
21799
  }),
21800
- onTouchend: x[3] || (x[3] = xt(() => {
21800
+ onTouchend: x[3] || (x[3] = kt(() => {
21801
21801
  }, ["prevent", "stop"])),
21802
21802
  onPointermove: w,
21803
21803
  onPointerleave: _,
@@ -22001,7 +22001,7 @@ var BO = /* @__PURE__ */ N({
22001
22001
  onClick: g,
22002
22002
  onPointerdown: m,
22003
22003
  onMousedown: v,
22004
- onPointerup: _[0] || (_[0] = xt((P) => {
22004
+ onPointerup: _[0] || (_[0] = kt((P) => {
22005
22005
  P.pointerType === "touch" && d(P);
22006
22006
  }, ["prevent"])),
22007
22007
  onKeydown: _[1] || (_[1] = (P) => {
@@ -22224,7 +22224,7 @@ var i$ = /* @__PURE__ */ N({
22224
22224
  ...h.$attrs
22225
22225
  }, {
22226
22226
  onClick: s,
22227
- onKeydown: ba(xt(s, ["prevent"]), ["enter"])
22227
+ onKeydown: ba(kt(s, ["prevent"]), ["enter"])
22228
22228
  }), {
22229
22229
  default: $(() => [I(h.$slots, "default", {
22230
22230
  modelValue: p(i),
@@ -22535,7 +22535,7 @@ var f$ = /* @__PURE__ */ N({
22535
22535
  onPointerDownOutside: f[1] || (f[1] = (h) => {
22536
22536
  p(i).disableClosingTrigger.value && p(i).trigger.value?.contains(h.target) && h.preventDefault(), r("pointerDownOutside", h);
22537
22537
  }),
22538
- onFocusOutside: f[2] || (f[2] = xt(() => {
22538
+ onFocusOutside: f[2] || (f[2] = kt(() => {
22539
22539
  }, ["prevent"])),
22540
22540
  onDismiss: f[3] || (f[3] = (h) => p(i).onClose())
22541
22541
  }, {
@@ -22717,7 +22717,7 @@ var f$ = /* @__PURE__ */ N({
22717
22717
  setup(e, { emit: t }) {
22718
22718
  const n = e, o = t, r = Va(), i = Vn(n, o), { forwardRef: a } = be();
22719
22719
  return (s, l) => (y(), R(p(jn), { present: s.forceMount || p(r).open.value }, {
22720
- default: $(() => [(y(), R(kt(p(r).disableHoverableContent.value ? km : m$), oe({ ref: p(a) }, p(i)), {
22720
+ default: $(() => [(y(), R(_t(p(r).disableHoverableContent.value ? km : m$), oe({ ref: p(a) }, p(i)), {
22721
22721
  default: $(() => [I(s.$slots, "default")]),
22722
22722
  _: 3
22723
22723
  }, 16))]),
@@ -22889,13 +22889,13 @@ const b$ = ["for"], w$ = {
22889
22889
  u.value ? (y(), O("label", {
22890
22890
  key: 0,
22891
22891
  for: c.value,
22892
- class: Q(["ui-checkbox-text min-w-0 break-words font-normal [overflow-wrap:anywhere]", p(o) ? "cursor-default text-[var(--ui-text-disabled)]" : "cursor-pointer"])
22892
+ class: Y(["ui-checkbox-text min-w-0 break-words font-normal [overflow-wrap:anywhere]", p(o) ? "cursor-default text-[var(--ui-text-disabled)]" : "cursor-pointer"])
22893
22893
  }, [
22894
22894
  n.label ? (y(), O("span", w$, te(n.label), 1)) : L("", !0),
22895
22895
  n.description ? (y(), O("span", {
22896
22896
  key: 1,
22897
22897
  "data-ui-checkbox-description": "",
22898
- class: Q(["mt-0.5 block text-[12px] leading-4", p(o) ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text-secondary)]"])
22898
+ class: Y(["mt-0.5 block text-[12px] leading-4", p(o) ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text-secondary)]"])
22899
22899
  }, te(n.description), 3)) : L("", !0)
22900
22900
  ], 10, b$)) : L("", !0)
22901
22901
  ], 16));
@@ -22940,7 +22940,7 @@ const b$ = ["for"], w$ = {
22940
22940
  n.description || l.$slots.description ? (y(), O("span", {
22941
22941
  key: 1,
22942
22942
  "data-ui-switch-description": "",
22943
- class: Q(["mt-0.5 block text-[12px] leading-4", p(o) ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text-secondary)]"])
22943
+ class: Y(["mt-0.5 block text-[12px] leading-4", p(o) ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text-secondary)]"])
22944
22944
  }, [
22945
22945
  I(l.$slots, "description", {}, () => [
22946
22946
  Ne(te(n.description), 1)
@@ -22949,14 +22949,20 @@ const b$ = ["for"], w$ = {
22949
22949
  ])) : L("", !0)
22950
22950
  ], 16));
22951
22951
  }
22952
- }), C$ = { class: "min-w-0 break-words" }, P$ = { class: "block leading-[var(--ui-line-height)]" }, A$ = /* @__PURE__ */ N({
22952
+ }), C$ = ["data-ui-choice-card", "data-state", "data-disabled"], P$ = { class: "min-w-0 flex-1 break-words" }, A$ = {
22953
+ key: 0,
22954
+ class: "ui-choice-card-icon mb-[var(--ui-space-2)] flex size-8 items-center justify-center rounded-[var(--ui-radius-md)]",
22955
+ "data-ui-choice-card-icon": "",
22956
+ "aria-hidden": "true"
22957
+ }, E$ = /* @__PURE__ */ N({
22953
22958
  inheritAttrs: !1,
22954
22959
  __name: "RadioGroup",
22955
22960
  props: {
22956
22961
  modelValue: {},
22957
22962
  options: {},
22958
22963
  orientation: { default: "vertical" },
22959
- disabled: { type: Boolean, default: !1 }
22964
+ disabled: { type: Boolean, default: !1 },
22965
+ variant: { default: "default" }
22960
22966
  },
22961
22967
  emits: ["update:modelValue"],
22962
22968
  setup(e, { emit: t }) {
@@ -22967,7 +22973,8 @@ const b$ = ["for"], w$ = {
22967
22973
  "model-value": n.modelValue,
22968
22974
  disabled: p(o),
22969
22975
  orientation: n.orientation,
22970
- class: n.orientation === "horizontal" ? "flex flex-wrap gap-x-[var(--ui-choice-inline-gap)] gap-y-2.5" : "grid gap-[var(--ui-choice-stack-gap)]",
22976
+ class: n.variant === "card" ? n.orientation === "horizontal" ? "grid grid-cols-[repeat(auto-fit,minmax(min(100%,180px),1fr))] gap-[var(--ui-space-3)]" : "grid gap-[var(--ui-space-2)]" : n.orientation === "horizontal" ? "flex flex-wrap gap-x-[var(--ui-choice-inline-gap)] gap-y-2.5" : "grid gap-[var(--ui-choice-stack-gap)]",
22977
+ "data-variant": n.variant,
22971
22978
  "data-syno-pkg-land-ui": "",
22972
22979
  "onUpdate:modelValue": c[0] || (c[0] = (u) => {
22973
22980
  p(s)(u), r("update:modelValue", String(u ?? ""));
@@ -22976,7 +22983,13 @@ const b$ = ["for"], w$ = {
22976
22983
  default: $(() => [
22977
22984
  (y(!0), O(Se, null, nt(n.options, (u) => (y(), O("label", {
22978
22985
  key: u.value,
22979
- class: Q(["flex min-w-0 items-start gap-[var(--ui-choice-box-gap)] text-[13px] [@media(pointer:coarse)]:min-h-8 [@media(pointer:coarse)]:items-center text-[var(--ui-text)]", p(o) || u.disabled ? "cursor-default text-[var(--ui-text-disabled)]" : "cursor-pointer"])
22986
+ class: Y(["flex min-w-0 items-start gap-[var(--ui-choice-box-gap)] text-[13px] text-[var(--ui-text)]", [
22987
+ p(o) || u.disabled ? "cursor-default text-[var(--ui-text-disabled)]" : "cursor-pointer",
22988
+ n.variant === "card" ? "ui-choice-card relative rounded-[var(--ui-radius-lg)] border p-[var(--ui-space-3)] transition-[border-color,background-color,box-shadow] duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)]" : "[@media(pointer:coarse)]:min-h-8 [@media(pointer:coarse)]:items-center"
22989
+ ]]),
22990
+ "data-ui-choice-card": n.variant === "card" ? "" : void 0,
22991
+ "data-state": n.variant === "card" ? n.modelValue === u.value ? "checked" : "unchecked" : void 0,
22992
+ "data-disabled": n.variant === "card" && (p(o) || u.disabled) ? "" : void 0
22980
22993
  }, [
22981
22994
  K(p(uO), {
22982
22995
  value: u.value,
@@ -22988,32 +23001,37 @@ const b$ = ["for"], w$ = {
22988
23001
  ]),
22989
23002
  _: 1
22990
23003
  }, 8, ["value", "disabled"]),
22991
- ne("span", C$, [
22992
- ne("span", P$, te(u.label), 1),
23004
+ ne("span", P$, [
23005
+ n.variant === "card" && u.icon ? (y(), O("span", A$, [
23006
+ (y(), R(_t(u.icon), { class: "size-[18px]" }))
23007
+ ])) : L("", !0),
23008
+ ne("span", {
23009
+ class: Y(["block leading-[var(--ui-line-height)]", n.variant === "card" ? "font-semibold" : ""])
23010
+ }, te(u.label), 3),
22993
23011
  u.description ? (y(), O("span", {
22994
- key: 0,
22995
- class: Q(["mt-0.5 block text-[12px] leading-4", p(o) || u.disabled ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text-secondary)]"])
23012
+ key: 1,
23013
+ class: Y(["mt-0.5 block text-[12px] leading-4", p(o) || u.disabled ? "text-[var(--ui-text-disabled)]" : "text-[var(--ui-text-secondary)]"])
22996
23014
  }, te(u.description), 3)) : L("", !0)
22997
23015
  ])
22998
- ], 2))), 128))
23016
+ ], 10, C$))), 128))
22999
23017
  ]),
23000
23018
  _: 1
23001
- }, 16, ["required", "model-value", "disabled", "orientation", "class"]));
23019
+ }, 16, ["required", "model-value", "disabled", "orientation", "class", "data-variant"]));
23002
23020
  }
23003
23021
  });
23004
- function E$(e) {
23022
+ function O$(e) {
23005
23023
  return typeof e == "object" && e !== null && Array.isArray(e.options);
23006
23024
  }
23007
- function O$(e) {
23025
+ function $$(e) {
23008
23026
  return typeof e == "object" && e !== null && !Array.isArray(e);
23009
23027
  }
23010
23028
  function il(e) {
23011
- return e ? Array.isArray(e) ? e.length === 0 ? [] : E$(e[0]) ? e.map((t, n) => ({
23029
+ return e ? Array.isArray(e) ? e.length === 0 ? [] : O$(e[0]) ? e.map((t, n) => ({
23012
23030
  key: t.label ?? `group-${n}`,
23013
23031
  label: t.label,
23014
23032
  indent: t.indent !== !1,
23015
23033
  options: t.options
23016
- })) : [{ key: "options", label: void 0, indent: !0, options: e }] : O$(e) ? Object.entries(e).map(([t, n]) => ({
23034
+ })) : [{ key: "options", label: void 0, indent: !0, options: e }] : $$(e) ? Object.entries(e).map(([t, n]) => ({
23017
23035
  key: t,
23018
23036
  label: n.label,
23019
23037
  indent: n.indent !== !1,
@@ -23023,7 +23041,7 @@ function il(e) {
23023
23041
  function Od(e) {
23024
23042
  return e.flatMap((t) => t.options);
23025
23043
  }
23026
- function $$(e, t, n) {
23044
+ function T$(e, t, n) {
23027
23045
  const o = t.trim();
23028
23046
  if (!o) return e;
23029
23047
  const r = n ? o : o.toLowerCase();
@@ -23032,10 +23050,10 @@ function $$(e, t, n) {
23032
23050
  options: i.options.filter((a) => (n ? a.label : a.label.toLowerCase()).includes(r))
23033
23051
  })).filter((i) => i.options.length > 0);
23034
23052
  }
23035
- function T$(e) {
23053
+ function I$(e) {
23036
23054
  const t = C(() => il(e.options())), n = /* @__PURE__ */ M(null), o = /* @__PURE__ */ M(!1);
23037
23055
  let r = 0;
23038
- const i = C(() => typeof e.search() == "function"), a = C(() => e.query.value.trim()), s = C(() => a.value.length >= Math.max(1, e.minSearchChar())), l = C(() => i.value ? s.value ? n.value ?? [] : t.value : e.search() === !0 && s.value ? $$(t.value, a.value, e.caseSensitive()) : t.value);
23056
+ const i = C(() => typeof e.search() == "function"), a = C(() => e.query.value.trim()), s = C(() => a.value.length >= Math.max(1, e.minSearchChar())), l = C(() => i.value ? s.value ? n.value ?? [] : t.value : e.search() === !0 && s.value ? T$(t.value, a.value, e.caseSensitive()) : t.value);
23039
23057
  return de([a, i], async () => {
23040
23058
  const c = e.search();
23041
23059
  if (typeof c != "function" || !s.value) {
@@ -23056,18 +23074,18 @@ function T$(e) {
23056
23074
  }
23057
23075
  }), { baseGroups: t, groups: l, searching: o };
23058
23076
  }
23059
- const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23077
+ const R$ = { key: 0 }, N$ = { key: 1 }, D$ = { key: 2 }, M$ = {
23060
23078
  key: 0,
23061
23079
  class: "mb-1 border-b border-[var(--ui-border-subtle)] pb-1"
23062
- }, M$ = ["placeholder", "aria-label"], z$ = {
23080
+ }, z$ = ["placeholder", "aria-label"], F$ = {
23063
23081
  key: 1,
23064
23082
  class: "px-2.5 py-2 text-[13px] text-[var(--ui-text-muted)]",
23065
23083
  "aria-live": "polite"
23066
- }, F$ = { class: "min-w-0 truncate" }, q$ = {
23084
+ }, q$ = { class: "min-w-0 truncate" }, L$ = {
23067
23085
  key: 0,
23068
23086
  class: "px-2.5 py-2 text-[13px] text-[var(--ui-text-muted)]",
23069
23087
  "aria-live": "polite"
23070
- }, L$ = /* @__PURE__ */ N({
23088
+ }, B$ = /* @__PURE__ */ N({
23071
23089
  inheritAttrs: !1,
23072
23090
  __name: "Select",
23073
23091
  props: {
@@ -23084,7 +23102,7 @@ const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23084
23102
  },
23085
23103
  emits: ["update:modelValue"],
23086
23104
  setup(e, { emit: t }) {
23087
- const n = e, o = $o(() => r.disabled), r = so(n, { placeholder: "Select…", searchPlaceholder: "Search…", notFoundText: "No results", loadingText: "Loading…" }), i = t, a = /* @__PURE__ */ M(""), s = /* @__PURE__ */ M(!1), l = Xe("searchInput"), c = Xe("trigger"), u = Xe("viewport"), d = C(() => r.search !== !1), f = /* @__PURE__ */ M(!1), { groups: h, searching: m } = T$({
23105
+ const n = e, o = $o(() => r.disabled), r = so(n, { placeholder: "Select…", searchPlaceholder: "Search…", notFoundText: "No results", loadingText: "Loading…" }), i = t, a = /* @__PURE__ */ M(""), s = /* @__PURE__ */ M(!1), l = Xe("searchInput"), c = Xe("trigger"), u = Xe("viewport"), d = C(() => r.search !== !1), f = /* @__PURE__ */ M(!1), { groups: h, searching: m } = I$({
23088
23106
  options: () => r.options,
23089
23107
  search: () => r.search,
23090
23108
  query: a,
@@ -23147,7 +23165,7 @@ const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23147
23165
  placeholder: p(r).placeholder
23148
23166
  }, {
23149
23167
  default: $(({ selectedLabel: z }) => [
23150
- z.length ? (y(), O("span", I$, te(z.join(", ")), 1)) : g.value ? (y(), O("span", R$, te(g.value), 1)) : (y(), O("span", N$, te(p(r).placeholder), 1))
23168
+ z.length ? (y(), O("span", R$, te(z.join(", ")), 1)) : g.value ? (y(), O("span", N$, te(g.value), 1)) : (y(), O("span", D$, te(p(r).placeholder), 1))
23151
23169
  ]),
23152
23170
  _: 1
23153
23171
  }, 8, ["placeholder"]),
@@ -23176,7 +23194,7 @@ const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23176
23194
  onPointerdown: D[1] || (D[1] = (z) => f.value = !0)
23177
23195
  }, {
23178
23196
  default: $(() => [
23179
- d.value ? (y(), O("div", D$, [
23197
+ d.value ? (y(), O("div", M$, [
23180
23198
  Qn(ne("input", {
23181
23199
  ref_key: "searchInput",
23182
23200
  ref: l,
@@ -23187,11 +23205,11 @@ const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23187
23205
  class: "h-7 w-full rounded-[var(--ui-radius-control)] border border-[var(--ui-border)] bg-[var(--ui-surface)] px-2 text-[13px] text-[var(--ui-text)] outline-none props.placeholder:text-[var(--ui-text-muted)] focus:border-[var(--ui-primary)]",
23188
23206
  "data-syno-pkg-land-ui-select-search": "",
23189
23207
  onKeydown: _
23190
- }, null, 40, M$), [
23208
+ }, null, 40, z$), [
23191
23209
  [cy, a.value]
23192
23210
  ])
23193
23211
  ])) : L("", !0),
23194
- p(m) ? (y(), O("div", z$, te(p(r).loadingText), 1)) : (y(), R(p(n$), {
23212
+ p(m) ? (y(), O("div", F$, te(p(r).loadingText), 1)) : (y(), R(p(n$), {
23195
23213
  key: 2,
23196
23214
  ref_key: "viewport",
23197
23215
  ref: u
@@ -23215,10 +23233,10 @@ const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23215
23233
  value: B.value,
23216
23234
  "text-value": B.label,
23217
23235
  disabled: B.disabled,
23218
- class: Q(["relative flex h-8 select-none items-center rounded-[var(--ui-radius-sm)] py-1 pr-8 text-[13px] text-[var(--ui-text)] outline-none data-[highlighted]:bg-[var(--ui-neutral-soft)] data-[state=checked]:bg-[var(--ui-surface-selected)] data-[disabled]:opacity-40", z.label && z.indent ? "pl-5" : "pl-2.5"])
23236
+ class: Y(["relative flex h-8 select-none items-center rounded-[var(--ui-radius-sm)] py-1 pr-8 text-[13px] text-[var(--ui-text)] outline-none data-[highlighted]:bg-[var(--ui-neutral-soft)] data-[state=checked]:bg-[var(--ui-surface-selected)] data-[disabled]:opacity-40", z.label && z.indent ? "pl-5" : "pl-2.5"])
23219
23237
  }, {
23220
23238
  default: $(() => [
23221
- ne("span", F$, [
23239
+ ne("span", q$, [
23222
23240
  K(p(KO), null, {
23223
23241
  default: $(() => [
23224
23242
  Ne(te(B.label), 1)
@@ -23241,7 +23259,7 @@ const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23241
23259
  ]),
23242
23260
  _: 2
23243
23261
  }, 1024))), 128)),
23244
- p(h).length ? L("", !0) : (y(), O("div", q$, te(p(r).notFoundText), 1))
23262
+ p(h).length ? L("", !0) : (y(), O("div", L$, te(p(r).notFoundText), 1))
23245
23263
  ]),
23246
23264
  _: 1
23247
23265
  }, 512))
@@ -23256,24 +23274,24 @@ const I$ = { key: 0 }, R$ = { key: 1 }, N$ = { key: 2 }, D$ = {
23256
23274
  }, 8, ["required", "open", "model-value", "disabled"])
23257
23275
  ], 16));
23258
23276
  }
23259
- }), B$ = "data-ui-tooltip-text", V$ = "data-ui-tooltip-hint", j$ = "data-ui-tooltip-off", U$ = "data-ui-tooltip-trigger", Om = "data-ui-tooltip-scope";
23260
- function W$(e) {
23277
+ }), V$ = "data-ui-tooltip-text", j$ = "data-ui-tooltip-hint", U$ = "data-ui-tooltip-off", W$ = "data-ui-tooltip-trigger", Om = "data-ui-tooltip-scope";
23278
+ function K$(e) {
23261
23279
  return e.classList.contains("truncate") || e.classList.contains("text-ellipsis") || getComputedStyle(e).textOverflow === "ellipsis";
23262
23280
  }
23263
- function K$(e) {
23281
+ function Z$(e) {
23264
23282
  return e.scrollWidth > e.clientWidth + 1;
23265
23283
  }
23266
23284
  function $m(e, t) {
23267
23285
  for (let n = e; n; n = n.parentElement) {
23268
- if (n.hasAttribute("title") || n.hasAttribute(j$) || n.hasAttribute(U$)) return !0;
23286
+ if (n.hasAttribute("title") || n.hasAttribute(U$) || n.hasAttribute(W$)) return !0;
23269
23287
  if (n === t) return !1;
23270
23288
  }
23271
23289
  return !1;
23272
23290
  }
23273
23291
  function al(e, t) {
23274
- const n = e.getAttribute(V$) || void 0, o = W$(e) && K$(e);
23292
+ const n = e.getAttribute(j$) || void 0, o = K$(e) && Z$(e);
23275
23293
  if (!o && !n || $m(e, t)) return null;
23276
- const r = e.getAttribute(B$) ?? (e.textContent ?? "").replace(/\s+/g, " ").trim();
23294
+ const r = e.getAttribute(V$) ?? (e.textContent ?? "").replace(/\s+/g, " ").trim();
23277
23295
  return { element: e, scope: t, cut: o, text: r, hint: n };
23278
23296
  }
23279
23297
  function $d(e, t) {
@@ -23294,7 +23312,7 @@ function $d(e, t) {
23294
23312
  }
23295
23313
  return null;
23296
23314
  }
23297
- function Z$(e, t) {
23315
+ function H$(e, t) {
23298
23316
  if (!(e instanceof HTMLElement) || !t.contains(e)) return null;
23299
23317
  const n = e.closest(`td, th, [${Om}]`), o = n && t.contains(n) ? n : t;
23300
23318
  for (const r of [e, ...e.querySelectorAll("*")]) {
@@ -23305,13 +23323,13 @@ function Z$(e, t) {
23305
23323
  return null;
23306
23324
  }
23307
23325
  const Tm = /* @__PURE__ */ Symbol("overflow-tooltip-region");
23308
- function H$() {
23326
+ function G$() {
23309
23327
  Ke(Tm, !0);
23310
23328
  }
23311
23329
  function Im() {
23312
23330
  return Le(Tm, !1);
23313
23331
  }
23314
- const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip-bg)] px-2.5 py-1.5 text-[12px] leading-4 text-[var(--ui-tooltip-fg)] whitespace-pre-line shadow-[var(--ui-shadow-menu)] [overflow-wrap:anywhere] animate-[ui-fade-in_var(--ui-motion-fast)_var(--ui-motion-ease)]", G$ = 300, Nm = /* @__PURE__ */ N({
23332
+ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip-bg)] px-2.5 py-1.5 text-[12px] leading-4 text-[var(--ui-tooltip-fg)] whitespace-pre-line shadow-[var(--ui-shadow-menu)] [overflow-wrap:anywhere] animate-[ui-fade-in_var(--ui-motion-fast)_var(--ui-motion-ease)]", J$ = 300, Nm = /* @__PURE__ */ N({
23315
23333
  __name: "OverflowTooltip",
23316
23334
  props: {
23317
23335
  target: { default: void 0 },
@@ -23323,7 +23341,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23323
23341
  },
23324
23342
  setup(e) {
23325
23343
  const t = e;
23326
- H$();
23344
+ G$();
23327
23345
  const n = Xe("wrapper"), o = C(() => t.target ?? n.value ?? null), r = /* @__PURE__ */ vn(null), i = /* @__PURE__ */ M(""), a = /* @__PURE__ */ M(!1);
23328
23346
  let s, l = 0;
23329
23347
  function c(b) {
@@ -23344,7 +23362,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23344
23362
  const A = () => {
23345
23363
  r.value === b.element && b.element.isConnected && (a.value = !0);
23346
23364
  };
23347
- x <= 0 || Date.now() - l < G$ ? A() : s = setTimeout(A, x);
23365
+ x <= 0 || Date.now() - l < J$ ? A() : s = setTimeout(A, x);
23348
23366
  }
23349
23367
  function f(b) {
23350
23368
  if (b.pointerType === "touch" || b.buttons) return;
@@ -23370,7 +23388,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23370
23388
  }
23371
23389
  function w(b) {
23372
23390
  const x = o.value, k = b.target;
23373
- x && g(k) && d(Z$(k, x), 0);
23391
+ x && g(k) && d(H$(k, x), 0);
23374
23392
  }
23375
23393
  function _() {
23376
23394
  r.value && u();
@@ -23421,7 +23439,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23421
23439
  align: e.align,
23422
23440
  "side-offset": 4,
23423
23441
  "collision-padding": 8,
23424
- class: Q(p(Rm)),
23442
+ class: Y(p(Rm)),
23425
23443
  "data-ui-tooltip": "",
23426
23444
  "data-ui-overflow-tooltip": "",
23427
23445
  "data-syno-pkg-land-ui": ""
@@ -23442,19 +23460,19 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23442
23460
  })) : L("", !0)
23443
23461
  ], 64));
23444
23462
  }
23445
- }), J$ = {
23463
+ }), Y$ = {
23446
23464
  key: 0,
23447
23465
  "data-ui-badge-dot": "",
23448
23466
  class: "size-1.5 shrink-0 rounded-full bg-current",
23449
23467
  "aria-hidden": "true"
23450
- }, Y$ = /* @__PURE__ */ N({
23468
+ }, X$ = /* @__PURE__ */ N({
23451
23469
  __name: "Badge",
23452
23470
  props: {
23453
23471
  tone: { default: "neutral" }
23454
23472
  },
23455
23473
  setup(e) {
23456
23474
  return (t, n) => (y(), O("span", {
23457
- class: Q([
23475
+ class: Y([
23458
23476
  "inline-flex min-h-5 items-center gap-1.5 rounded-full px-2 py-0.5 text-[12px] font-normal leading-4 tabular-nums",
23459
23477
  e.tone === "neutral" && "bg-[var(--ui-neutral-soft)] text-[var(--ui-neutral-text)]",
23460
23478
  e.tone === "info" && "bg-[var(--ui-info-soft)] text-[var(--ui-info-text)]",
@@ -23464,11 +23482,11 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23464
23482
  ]),
23465
23483
  "data-syno-pkg-land-ui": ""
23466
23484
  }, [
23467
- e.tone !== "neutral" ? (y(), O("span", J$)) : L("", !0),
23485
+ e.tone !== "neutral" ? (y(), O("span", Y$)) : L("", !0),
23468
23486
  I(t.$slots, "default")
23469
23487
  ], 2));
23470
23488
  }
23471
- }), X$ = ["data-tone", "data-pulse", "role", "aria-label", "aria-hidden"], Q$ = /* @__PURE__ */ N({
23489
+ }), Q$ = ["data-tone", "data-pulse", "role", "aria-label", "aria-hidden"], eT = /* @__PURE__ */ N({
23472
23490
  __name: "StatusDot",
23473
23491
  props: {
23474
23492
  tone: { default: "neutral" },
@@ -23484,9 +23502,9 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23484
23502
  "aria-label": e.label || void 0,
23485
23503
  "aria-hidden": e.label ? void 0 : "true",
23486
23504
  "data-syno-pkg-land-ui": ""
23487
- }, null, 8, X$));
23505
+ }, null, 8, Q$));
23488
23506
  }
23489
- }), eT = ["aria-label"], tT = { key: 0 }, nT = /* @__PURE__ */ N({
23507
+ }), tT = ["aria-label"], nT = { key: 0 }, oT = /* @__PURE__ */ N({
23490
23508
  __name: "LoadingIndicator",
23491
23509
  props: {
23492
23510
  text: { default: "" },
@@ -23504,29 +23522,29 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23504
23522
  label: e.text || p(n).label,
23505
23523
  size: 24
23506
23524
  }, null, 8, ["label"]),
23507
- e.text ? (y(), O("span", tT, te(e.text), 1)) : L("", !0)
23508
- ], 8, eT));
23525
+ e.text ? (y(), O("span", nT, te(e.text), 1)) : L("", !0)
23526
+ ], 8, tT));
23509
23527
  }
23510
- }), oT = {
23528
+ }), rT = {
23511
23529
  class: "flex h-full min-h-12 w-full items-center justify-center",
23512
23530
  "data-syno-pkg-land-ui": ""
23513
- }, rT = /* @__PURE__ */ N({
23531
+ }, iT = /* @__PURE__ */ N({
23514
23532
  __name: "LoadingArea",
23515
23533
  props: {
23516
23534
  text: { default: "" }
23517
23535
  },
23518
23536
  setup(e) {
23519
- return (t, n) => (y(), O("div", oT, [
23520
- K(nT, { text: e.text }, null, 8, ["text"])
23537
+ return (t, n) => (y(), O("div", rT, [
23538
+ K(oT, { text: e.text }, null, 8, ["text"])
23521
23539
  ]));
23522
23540
  }
23523
- }), iT = {
23541
+ }), aT = {
23524
23542
  key: 0,
23525
23543
  class: "mb-1.5 flex justify-between gap-3 text-[12px] text-[var(--ui-text-secondary)]"
23526
- }, aT = {
23544
+ }, sT = {
23527
23545
  "data-ui-progress-value": "",
23528
23546
  class: "tabular-nums"
23529
- }, sT = ["aria-valuenow", "aria-valuemax", "aria-label", "data-tone"], Dm = /* @__PURE__ */ N({
23547
+ }, lT = ["aria-valuenow", "aria-valuemax", "aria-label", "data-tone"], Dm = /* @__PURE__ */ N({
23530
23548
  inheritAttrs: !1,
23531
23549
  __name: "Progress",
23532
23550
  props: {
@@ -23545,13 +23563,13 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23545
23563
  danger: "bg-[var(--ui-danger)]"
23546
23564
  }, i = C(() => o.max <= 0 ? 0 : Math.min(100, Math.max(0, o.value / o.max * 100)));
23547
23565
  return (a, s) => (y(), O("div", {
23548
- class: Q(p(t).class),
23566
+ class: Y(p(t).class),
23549
23567
  style: Ve(p(t).style),
23550
23568
  "data-syno-pkg-land-ui": ""
23551
23569
  }, [
23552
- e.label || e.valueLabel ? (y(), O("div", iT, [
23570
+ e.label || e.valueLabel ? (y(), O("div", aT, [
23553
23571
  ne("span", null, te(e.label), 1),
23554
- ne("span", aT, te(e.valueLabel ?? `${Math.round(i.value)}%`), 1)
23572
+ ne("span", sT, te(e.valueLabel ?? `${Math.round(i.value)}%`), 1)
23555
23573
  ])) : L("", !0),
23556
23574
  ne("div", oe({
23557
23575
  class: ["overflow-hidden rounded-full bg-[var(--ui-border-subtle)]", e.size === "sm" ? "h-1" : "h-1.5"],
@@ -23563,13 +23581,13 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23563
23581
  "data-tone": e.tone
23564
23582
  }, n()), [
23565
23583
  ne("div", {
23566
- class: Q(["h-full rounded-full transition-[width] duration-[var(--ui-motion-normal)]", r[e.tone]]),
23584
+ class: Y(["h-full rounded-full transition-[width] duration-[var(--ui-motion-normal)]", r[e.tone]]),
23567
23585
  style: Ve({ width: `${i.value}%` })
23568
23586
  }, null, 6)
23569
- ], 16, sT)
23587
+ ], 16, lT)
23570
23588
  ], 6));
23571
23589
  }
23572
- }), lT = /* @__PURE__ */ N({
23590
+ }), uT = /* @__PURE__ */ N({
23573
23591
  __name: "Skeleton",
23574
23592
  props: {
23575
23593
  width: { default: "100%" },
@@ -23583,27 +23601,27 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23583
23601
  "aria-hidden": "true"
23584
23602
  }, null, 4));
23585
23603
  }
23586
- }), uT = {
23604
+ }), cT = {
23587
23605
  role: "status",
23588
23606
  "aria-busy": "true",
23589
23607
  class: "flex flex-col gap-2.5 py-1"
23590
- }, cT = { class: "sr-only" }, Mm = /* @__PURE__ */ N({
23608
+ }, dT = { class: "sr-only" }, Mm = /* @__PURE__ */ N({
23591
23609
  __name: "SectionSkeleton",
23592
23610
  props: {
23593
23611
  lines: { default: 3 }
23594
23612
  },
23595
23613
  setup(e) {
23596
23614
  const t = Bn();
23597
- return (n, o) => (y(), O("div", uT, [
23598
- ne("span", cT, te(p(t)("Loading…")), 1),
23599
- (y(!0), O(Se, null, nt(e.lines, (r) => (y(), R(lT, {
23615
+ return (n, o) => (y(), O("div", cT, [
23616
+ ne("span", dT, te(p(t)("Loading…")), 1),
23617
+ (y(!0), O(Se, null, nt(e.lines, (r) => (y(), R(uT, {
23600
23618
  key: r,
23601
23619
  "data-ui-skeleton-line": "",
23602
23620
  width: r === e.lines && e.lines > 1 ? "60%" : "100%"
23603
23621
  }, null, 8, ["width"]))), 128))
23604
23622
  ]));
23605
23623
  }
23606
- }), dT = ["data-variant"], zm = /* @__PURE__ */ N({
23624
+ }), fT = ["data-variant"], zm = /* @__PURE__ */ N({
23607
23625
  __name: "Surface",
23608
23626
  props: {
23609
23627
  variant: { default: "default" },
@@ -23614,7 +23632,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23614
23632
  setup(e) {
23615
23633
  const t = e, n = { none: "", sm: "p-3", md: "p-4", lg: "p-6" }, o = C(() => t.variant === "inset"), r = C(() => t.padding ? n[t.padding] : o.value ? "px-4 py-3" : n.md);
23616
23634
  return (i, a) => (y(), O("section", {
23617
- class: Q([
23635
+ class: Y([
23618
23636
  "rounded-[var(--ui-radius-md)]",
23619
23637
  o.value ? "bg-[var(--ui-surface-inset)]" : "bg-[var(--ui-surface)]",
23620
23638
  e.border && !o.value && "border border-[var(--ui-border-subtle)]",
@@ -23626,7 +23644,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23626
23644
  "data-syno-pkg-land-ui": ""
23627
23645
  }, [
23628
23646
  I(i.$slots, "default")
23629
- ], 10, dT));
23647
+ ], 10, fT));
23630
23648
  }
23631
23649
  }), Fm = /* @__PURE__ */ N({
23632
23650
  inheritAttrs: !1,
@@ -23673,7 +23691,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23673
23691
  K(p(Cm), {
23674
23692
  side: e.side,
23675
23693
  "side-offset": 4,
23676
- class: Q(p(Rm)),
23694
+ class: Y(p(Rm)),
23677
23695
  "data-ui-tooltip": "",
23678
23696
  "data-syno-pkg-land-ui": ""
23679
23697
  }, {
@@ -23692,28 +23710,28 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23692
23710
  _: 3
23693
23711
  }, 8, ["delay-duration"]));
23694
23712
  }
23695
- }), fT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, pT = {
23713
+ }), pT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, hT = {
23696
23714
  key: 1,
23697
23715
  class: "shrink-0 text-[12px] text-[var(--ui-text-muted)]"
23698
- }, hT = { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, mT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, vT = {
23716
+ }, mT = { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, vT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, gT = {
23699
23717
  key: 0,
23700
23718
  "data-menu-hint": "",
23701
23719
  class: "shrink-0 text-[12px] text-[var(--ui-text-muted)]"
23702
- }, gT = {
23720
+ }, yT = {
23703
23721
  key: 1,
23704
23722
  class: "shrink-0 text-[12px] text-[var(--ui-text-muted)]"
23705
- }, yT = { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, bT = {
23723
+ }, bT = { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, wT = {
23706
23724
  key: 1,
23707
23725
  "data-radio-dot": "",
23708
23726
  class: "block size-1.5 rounded-full bg-current",
23709
23727
  "aria-hidden": "true"
23710
- }, wT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, _T = {
23728
+ }, _T = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, ST = {
23711
23729
  key: 0,
23712
23730
  class: "shrink-0 text-[12px] text-[var(--ui-text-muted)]"
23713
- }, ST = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, xT = {
23731
+ }, xT = { class: "min-w-0 flex-1 [overflow-wrap:anywhere]" }, kT = {
23714
23732
  key: 1,
23715
23733
  class: "shrink-0 text-[12px] text-[var(--ui-text-muted)]"
23716
- }, bi = "flex min-h-7 select-none items-center gap-2 rounded-[var(--ui-radius-sm)] px-2.5 py-1 text-left [@media(pointer:coarse)]:min-h-9 text-[length:var(--ui-font-size)] outline-none data-[highlighted]:bg-[var(--ui-primary-soft)] data-[disabled]:opacity-40", kT = /* @__PURE__ */ N({
23734
+ }, bi = "flex min-h-7 select-none items-center gap-2 rounded-[var(--ui-radius-sm)] px-2.5 py-1 text-left [@media(pointer:coarse)]:min-h-9 text-[length:var(--ui-font-size)] outline-none data-[highlighted]:bg-[var(--ui-primary-soft)] data-[disabled]:opacity-40", CT = /* @__PURE__ */ N({
23717
23735
  name: "DropdownMenuItems",
23718
23736
  __name: "DropdownMenuItems",
23719
23737
  props: {
@@ -23748,7 +23766,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23748
23766
  default: $(() => [
23749
23767
  K(p(GE), {
23750
23768
  disabled: u.item.disabled,
23751
- class: Q([
23769
+ class: Y([
23752
23770
  bi,
23753
23771
  "data-[state=open]:bg-[var(--ui-primary-soft)]",
23754
23772
  u.item.danger ? "text-[var(--ui-danger)]" : "text-[var(--ui-text)]"
@@ -23757,20 +23775,20 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23757
23775
  default: $(() => [
23758
23776
  i.value ? (y(), O("span", {
23759
23777
  key: 0,
23760
- class: Q(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
23778
+ class: Y(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
23761
23779
  }, [
23762
23780
  u.item.checked ? (y(), R(p(Uo), {
23763
23781
  key: 0,
23764
23782
  class: "size-3.5",
23765
23783
  "aria-hidden": "true"
23766
- })) : u.item.icon ? (y(), R(kt(u.item.icon), {
23784
+ })) : u.item.icon ? (y(), R(_t(u.item.icon), {
23767
23785
  key: 1,
23768
23786
  class: "size-4",
23769
23787
  "aria-hidden": "true"
23770
23788
  })) : L("", !0)
23771
23789
  ], 2)) : L("", !0),
23772
- ne("span", fT, te(u.item.label), 1),
23773
- u.item.shortcut ? (y(), O("span", pT, te(u.item.shortcut), 1)) : L("", !0),
23790
+ ne("span", pT, te(u.item.label), 1),
23791
+ u.item.shortcut ? (y(), O("span", hT, te(u.item.shortcut), 1)) : L("", !0),
23774
23792
  K(p(Hs), {
23775
23793
  class: "size-3.5 shrink-0 text-[var(--ui-text-muted)]",
23776
23794
  "aria-hidden": "true"
@@ -23811,15 +23829,15 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23811
23829
  key: 2,
23812
23830
  "model-value": e.checkedKeys.includes(u.item.key),
23813
23831
  disabled: u.item.disabled,
23814
- class: Q([
23832
+ class: Y([
23815
23833
  bi,
23816
23834
  u.item.danger ? "text-[var(--ui-danger)]" : "text-[var(--ui-text)]"
23817
23835
  ]),
23818
23836
  "onUpdate:modelValue": (d) => o("toggle", u.item.key, !!d),
23819
- onSelect: xt((d) => o("select", u.item.key), ["prevent"])
23837
+ onSelect: kt((d) => o("select", u.item.key), ["prevent"])
23820
23838
  }, {
23821
23839
  default: $(() => [
23822
- ne("span", hT, [
23840
+ ne("span", mT, [
23823
23841
  K(p(Ed), null, {
23824
23842
  default: $(() => [
23825
23843
  K(p(Uo), {
@@ -23830,9 +23848,9 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23830
23848
  _: 1
23831
23849
  })
23832
23850
  ]),
23833
- ne("span", mT, te(u.item.label), 1),
23834
- u.item.hint ? (y(), O("span", vT, te(u.item.hint), 1)) : L("", !0),
23835
- u.item.shortcut ? (y(), O("span", gT, te(u.item.shortcut), 1)) : L("", !0)
23851
+ ne("span", vT, te(u.item.label), 1),
23852
+ u.item.hint ? (y(), O("span", gT, te(u.item.hint), 1)) : L("", !0),
23853
+ u.item.shortcut ? (y(), O("span", yT, te(u.item.shortcut), 1)) : L("", !0)
23836
23854
  ]),
23837
23855
  _: 2
23838
23856
  }, 1032, ["model-value", "disabled", "class", "onUpdate:modelValue", "onSelect"])) : u.kind === "radio" ? (y(), R(p(qE), {
@@ -23844,27 +23862,27 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23844
23862
  key: d.key,
23845
23863
  value: d.value,
23846
23864
  disabled: d.disabled,
23847
- class: Q([
23865
+ class: Y([
23848
23866
  bi,
23849
23867
  d.danger ? "text-[var(--ui-danger)]" : "text-[var(--ui-text)]"
23850
23868
  ]),
23851
23869
  onSelect: (f) => o("radio", d.value, d.key, u.group)
23852
23870
  }, {
23853
23871
  default: $(() => [
23854
- ne("span", yT, [
23872
+ ne("span", bT, [
23855
23873
  K(p(Ed), null, {
23856
23874
  default: $(() => [
23857
23875
  e.radioIndicator === "check" ? (y(), R(p(Uo), {
23858
23876
  key: 0,
23859
23877
  class: "size-3.5",
23860
23878
  "aria-hidden": "true"
23861
- })) : (y(), O("span", bT))
23879
+ })) : (y(), O("span", wT))
23862
23880
  ]),
23863
23881
  _: 1
23864
23882
  })
23865
23883
  ]),
23866
- ne("span", wT, te(d.label), 1),
23867
- d.shortcut ? (y(), O("span", _T, te(d.shortcut), 1)) : L("", !0)
23884
+ ne("span", _T, te(d.label), 1),
23885
+ d.shortcut ? (y(), O("span", ST, te(d.shortcut), 1)) : L("", !0)
23868
23886
  ]),
23869
23887
  _: 2
23870
23888
  }, 1032, ["value", "disabled", "class", "onSelect"]))), 128))
@@ -23873,7 +23891,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23873
23891
  }, 1032, ["model-value"])) : (y(), R(p(DE), {
23874
23892
  key: 4,
23875
23893
  disabled: u.item.disabled,
23876
- class: Q([
23894
+ class: Y([
23877
23895
  bi,
23878
23896
  u.item.danger ? "text-[var(--ui-danger)]" : "text-[var(--ui-text)]"
23879
23897
  ]),
@@ -23882,20 +23900,20 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23882
23900
  default: $(() => [
23883
23901
  i.value ? (y(), O("span", {
23884
23902
  key: 0,
23885
- class: Q(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
23903
+ class: Y(["flex size-4 shrink-0 items-center justify-center", u.item.checked ? "text-[var(--ui-primary)]" : u.item.danger ? "" : "text-[var(--ui-text-secondary)]"])
23886
23904
  }, [
23887
23905
  u.item.checked ? (y(), R(p(Uo), {
23888
23906
  key: 0,
23889
23907
  class: "size-3.5",
23890
23908
  "aria-hidden": "true"
23891
- })) : u.item.icon ? (y(), R(kt(u.item.icon), {
23909
+ })) : u.item.icon ? (y(), R(_t(u.item.icon), {
23892
23910
  key: 1,
23893
23911
  class: "size-4",
23894
23912
  "aria-hidden": "true"
23895
23913
  })) : L("", !0)
23896
23914
  ], 2)) : L("", !0),
23897
- ne("span", ST, te(u.item.label), 1),
23898
- u.item.shortcut ? (y(), O("span", xT, te(u.item.shortcut), 1)) : L("", !0),
23915
+ ne("span", xT, te(u.item.label), 1),
23916
+ u.item.shortcut ? (y(), O("span", kT, te(u.item.shortcut), 1)) : L("", !0),
23899
23917
  u.item.submenu ? (y(), R(p(Hs), {
23900
23918
  key: 2,
23901
23919
  class: "size-3.5 shrink-0 text-[var(--ui-text-muted)]",
@@ -23907,7 +23925,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23907
23925
  ], 64))), 128);
23908
23926
  };
23909
23927
  }
23910
- }), CT = /* @__PURE__ */ N({
23928
+ }), PT = /* @__PURE__ */ N({
23911
23929
  inheritAttrs: !1,
23912
23930
  __name: "DropdownMenu",
23913
23931
  props: {
@@ -23958,7 +23976,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23958
23976
  "data-syno-pkg-land-ui": ""
23959
23977
  }), {
23960
23978
  default: $(() => [
23961
- K(kT, {
23979
+ K(CT, {
23962
23980
  items: n.items,
23963
23981
  "checked-keys": c.value,
23964
23982
  "radio-values": u.value,
@@ -23979,7 +23997,7 @@ const Rm = "z-[1450] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip
23979
23997
  }, 8, ["open"]));
23980
23998
  }
23981
23999
  }), wi = 12;
23982
- function PT(e, t) {
24000
+ function AT(e, t) {
23983
24001
  return {
23984
24002
  left: wi,
23985
24003
  top: t + wi,
@@ -23987,41 +24005,41 @@ function PT(e, t) {
23987
24005
  height: Math.max(e.height - t - 2 * wi, 0)
23988
24006
  };
23989
24007
  }
23990
- const AT = 600;
24008
+ const ET = 600;
23991
24009
  function qm(e, t, n) {
23992
24010
  return {
23993
24011
  x: Math.min(Math.max(e.x, n.left), n.left + Math.max(n.width - t.width, 0)),
23994
24012
  y: Math.min(Math.max(e.y, n.top), n.top + Math.max(n.height - t.height, 0))
23995
24013
  };
23996
24014
  }
23997
- function ET(e, t, n) {
24015
+ function OT(e, t, n) {
23998
24016
  return qm({
23999
24017
  x: e.left + (e.width - t.width) / 2,
24000
24018
  y: e.top + (e.height - t.height) / 2
24001
24019
  }, t, n);
24002
24020
  }
24003
- function OT(e) {
24004
- return e.width >= AT && !e.coarse;
24021
+ function $T(e) {
24022
+ return e.width >= ET && !e.coarse;
24005
24023
  }
24006
- const Lm = "@synopkgland/floating-host", $T = "data-ui-floating", Td = ["lang", "dir", "data-ui-theme", "data-ui-density", "data-ui-accent", "data-ui-color-scheme"], TT = "--ui-accent-";
24024
+ const Lm = "@synopkgland/floating-host", TT = "data-ui-floating", Td = ["lang", "dir", "data-ui-theme", "data-ui-density", "data-ui-accent", "data-ui-color-scheme"], IT = "--ui-accent-";
24007
24025
  function Id(e) {
24008
24026
  const t = [];
24009
24027
  for (let n = 0; n < e.length; n++) {
24010
24028
  const o = e.item(n);
24011
- o.startsWith(TT) && t.push(o);
24029
+ o.startsWith(IT) && t.push(o);
24012
24030
  }
24013
24031
  return t;
24014
24032
  }
24015
- function IT() {
24033
+ function RT() {
24016
24034
  return Le(Lm, null);
24017
24035
  }
24018
- function RT(e) {
24036
+ function NT(e) {
24019
24037
  const t = e.ownerDocument.defaultView;
24020
24038
  for (let n = e.parentElement; n && n !== e.ownerDocument.body; n = n.parentElement)
24021
24039
  if (!["auto", ""].includes(t.getComputedStyle(n).zIndex)) return n;
24022
24040
  return null;
24023
24041
  }
24024
- function NT(e, t) {
24042
+ function DT(e, t) {
24025
24043
  const n = e.ownerDocument.defaultView;
24026
24044
  for (let r = e; r; r = r === t ? null : r.parentElement) {
24027
24045
  const i = n.getComputedStyle(r);
@@ -24030,14 +24048,14 @@ function NT(e, t) {
24030
24048
  const o = e.getBoundingClientRect();
24031
24049
  return o.width > 0 && (o.right <= 0 || o.bottom <= 0 || o.left >= n.innerWidth || o.top >= n.innerHeight);
24032
24050
  }
24033
- function DT(e, t, n) {
24051
+ function MT(e, t, n) {
24034
24052
  if (!t) return null;
24035
24053
  const o = /* @__PURE__ */ vn(null), r = /* @__PURE__ */ vn(null), i = /* @__PURE__ */ vn({ left: 0, top: 0, width: 0, height: 0 }), a = /* @__PURE__ */ M(!1);
24036
24054
  let s;
24037
24055
  return de(e, (c, u, d) => {
24038
24056
  if (!c) return;
24039
24057
  const f = c.ownerDocument.defaultView, h = c.ownerDocument.createElement("div");
24040
- h.setAttribute("data-ui-app", ""), h.setAttribute("data-syno-pkg-land-ui", ""), h.setAttribute("data-ui-modal-scope", "app"), h.setAttribute($T, ""), Object.assign(h.style, { position: "fixed", inset: "0", pointerEvents: "none" });
24058
+ h.setAttribute("data-ui-app", ""), h.setAttribute("data-syno-pkg-land-ui", ""), h.setAttribute("data-ui-modal-scope", "app"), h.setAttribute(TT, ""), Object.assign(h.style, { position: "fixed", inset: "0", pointerEvents: "none" });
24041
24059
  const m = () => {
24042
24060
  for (const D of Td) {
24043
24061
  const z = c.getAttribute(D);
@@ -24049,12 +24067,12 @@ function DT(e, t, n) {
24049
24067
  m();
24050
24068
  const v = new MutationObserver(m);
24051
24069
  v.observe(c, { attributes: !0, attributeFilter: [...Td, "style"] });
24052
- const g = RT(c), w = () => {
24053
- const D = !!g && NT(c, g);
24070
+ const g = NT(c), w = () => {
24071
+ const D = !!g && DT(c, g);
24054
24072
  g && (h.style.zIndex = f.getComputedStyle(g).zIndex, h.style.visibility = D ? "hidden" : "");
24055
- const { left: z, top: B, width: Y, height: se } = c.getBoundingClientRect();
24056
- if (r.value = D ? null : { left: z, top: B, width: Y, height: se }, !D) {
24057
- h.style.setProperty("--ui-floating-owner-width", `${Y}px`);
24073
+ const { left: z, top: B, width: X, height: se } = c.getBoundingClientRect();
24074
+ if (r.value = D ? null : { left: z, top: B, width: X, height: se }, !D) {
24075
+ h.style.setProperty("--ui-floating-owner-width", `${X}px`);
24058
24076
  const fe = Math.max(0, Math.min(B + se, f.innerHeight) - Math.max(B, _()));
24059
24077
  h.style.setProperty("--ui-floating-owner-height", `${fe}px`);
24060
24078
  }
@@ -24062,7 +24080,7 @@ function DT(e, t, n) {
24062
24080
  const D = c.ownerDocument.getElementById("sds-taskbar")?.getBoundingClientRect();
24063
24081
  return D && D.height > 0 && D.top <= 0 ? Math.max(D.bottom, 0) : 0;
24064
24082
  }, P = () => {
24065
- i.value = PT({ width: f.innerWidth, height: f.innerHeight }, _()), h.style.setProperty("--ui-floating-max-height", `${i.value.height}px`), a.value = OT({ width: f.innerWidth, coarse: !!f.matchMedia?.("(pointer: coarse)").matches }), a.value ? h.removeAttribute("data-ui-presentation") : h.setAttribute("data-ui-presentation", "mobile"), w();
24083
+ i.value = AT({ width: f.innerWidth, height: f.innerHeight }, _()), h.style.setProperty("--ui-floating-max-height", `${i.value.height}px`), a.value = $T({ width: f.innerWidth, coarse: !!f.matchMedia?.("(pointer: coarse)").matches }), a.value ? h.removeAttribute("data-ui-presentation") : h.setAttribute("data-ui-presentation", "mobile"), w();
24066
24084
  }, b = typeof ResizeObserver > "u" ? null : new ResizeObserver(P);
24067
24085
  b?.observe(c), s = P;
24068
24086
  const x = new MutationObserver(w);
@@ -24080,13 +24098,13 @@ function DT(e, t, n) {
24080
24098
  });
24081
24099
  }, { flush: "post" }), { element: o, owner: r, locate: () => (s?.(), r.value), area: i, draggable: a };
24082
24100
  }
24083
- const MT = 10, zT = 50, FT = {
24101
+ const zT = 10, FT = 50, qT = {
24084
24102
  ArrowLeft: { x: -1, y: 0 },
24085
24103
  ArrowRight: { x: 1, y: 0 },
24086
24104
  ArrowUp: { x: 0, y: -1 },
24087
24105
  ArrowDown: { x: 0, y: 1 }
24088
24106
  };
24089
- function qT(e, t) {
24107
+ function LT(e, t) {
24090
24108
  const n = /* @__PURE__ */ vn(null), o = C(() => !!t?.draggable.value), r = () => e.value?.parentElement ?? null;
24091
24109
  function i(d) {
24092
24110
  const f = r()?.getBoundingClientRect();
@@ -24100,7 +24118,7 @@ function qT(e, t) {
24100
24118
  let d = t.owner.value;
24101
24119
  const f = (h) => {
24102
24120
  const m = h.getBoundingClientRect(), v = t.locate();
24103
- v && (d = v), n.value = ET(v ?? t.area.value, m, t.area.value);
24121
+ v && (d = v), n.value = OT(v ?? t.area.value, m, t.area.value);
24104
24122
  };
24105
24123
  de([e, o], ([h, m]) => {
24106
24124
  if (!h || !m) {
@@ -24134,10 +24152,10 @@ function qT(e, t) {
24134
24152
  m.addEventListener("pointermove", v), m.addEventListener("pointerup", g), m.addEventListener("pointercancel", g);
24135
24153
  }
24136
24154
  function u(d) {
24137
- const f = FT[d.key];
24155
+ const f = qT[d.key];
24138
24156
  if (!o.value || !f || d.altKey || d.ctrlKey || d.metaKey) return;
24139
24157
  d.preventDefault();
24140
- const h = d.shiftKey ? zT : MT;
24158
+ const h = d.shiftKey ? FT : zT;
24141
24159
  s = !0, a(f.x * h, f.y * h);
24142
24160
  }
24143
24161
  return la(() => l?.()), { position: n, draggable: o, onPointerdown: c, onKeydown: u };
@@ -24154,10 +24172,10 @@ function Rd(e) {
24154
24172
  function Bm(e) {
24155
24173
  return e.type === Wt ? !1 : e.type === Gr ? String(e.children ?? "").trim() !== "" : e.type === Se ? Array.isArray(e.children) && e.children.some(Bm) : !0;
24156
24174
  }
24157
- function LT(e) {
24175
+ function BT(e) {
24158
24176
  return !!e && e().some(Bm);
24159
24177
  }
24160
- const BT = /* @__PURE__ */ N({
24178
+ const VT = /* @__PURE__ */ N({
24161
24179
  __name: "FloatingLayer",
24162
24180
  props: {
24163
24181
  host: {}
@@ -24184,7 +24202,7 @@ const BT = /* @__PURE__ */ N({
24184
24202
  }, 8, ["teleport-to", "dir", "locale", "scroll-body", "nonce", "use-id"])) : I(n.$slots, "default", {}, void 0, void 0, 1)
24185
24203
  ], 8, ["to", "disabled"]));
24186
24204
  }
24187
- }), VT = /* @__PURE__ */ N({
24205
+ }), jT = /* @__PURE__ */ N({
24188
24206
  __name: "ButtonKindScope",
24189
24207
  props: {
24190
24208
  kind: {}
@@ -24192,7 +24210,7 @@ const BT = /* @__PURE__ */ N({
24192
24210
  setup(e) {
24193
24211
  return Nk(e.kind), (n, o) => I(n.$slots, "default");
24194
24212
  }
24195
- }), jT = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], UT = { class: "min-w-0" }, WT = ["data-ui-dialog-flush"], KT = 'a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"])', ZT = /* @__PURE__ */ N({
24213
+ }), UT = ["data-ui-dialog-header-divider", "data-ui-drag-handle"], WT = { class: "min-w-0" }, KT = ["data-ui-dialog-flush"], ZT = 'a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"])', HT = /* @__PURE__ */ N({
24196
24214
  inheritAttrs: !1,
24197
24215
  __name: "Dialog",
24198
24216
  props: {
@@ -24217,18 +24235,18 @@ const BT = /* @__PURE__ */ N({
24217
24235
  const o = so(e, { closeLabel: "Close" }), r = t, i = (B) => typeof B.checkVisibility != "function" || B.checkVisibility({ visibilityProperty: !0 }), a = Xe("content");
24218
24236
  function s(B) {
24219
24237
  if (r("openAutoFocus", B), B.defaultPrevented) return;
24220
- let Y = B.target ?? a.value?.$el;
24221
- for (; Y && !(Y instanceof HTMLElement && Y.hasAttribute("data-ui-dialog")); ) Y = Y.nextSibling;
24222
- const se = Y instanceof HTMLElement ? Y : null;
24238
+ let X = B.target ?? a.value?.$el;
24239
+ for (; X && !(X instanceof HTMLElement && X.hasAttribute("data-ui-dialog")); ) X = X.nextSibling;
24240
+ const se = X instanceof HTMLElement ? X : null;
24223
24241
  if (!se) return;
24224
24242
  B.preventDefault();
24225
- const fe = Array.from(se.querySelectorAll(KT)).find((Z) => !Z.matches("[data-dialog-close], [data-ui-keyboard-focus], :disabled") && i(Z));
24243
+ const fe = Array.from(se.querySelectorAll(ZT)).find((Z) => !Z.matches("[data-dialog-close], [data-ui-keyboard-focus], :disabled") && i(Z));
24226
24244
  fe && Rd(fe), (!fe || document.activeElement !== fe) && (se.tabIndex = -1, Rd(se));
24227
24245
  }
24228
- function l(B, Y) {
24229
- r(B === "pointerDownOutside" ? "pointerDownOutside" : "interactOutside", Y), o.closeOnOutside || Y.preventDefault();
24246
+ function l(B, X) {
24247
+ r(B === "pointerDownOutside" ? "pointerDownOutside" : "interactOutside", X), o.closeOnOutside || X.preventDefault();
24230
24248
  }
24231
- const c = { dim: "bg-[var(--ui-overlay)] backdrop-blur-[1px]", light: "bg-[var(--ui-overlay-light)]", none: "bg-transparent" }, u = IT(), d = C(() => u?.element.value ?? null), { position: f, draggable: h, onPointerdown: m, onKeydown: v } = qT(Xe("handle"), u), g = C(() => o.width ? void 0 : o.size), w = C(() => o.width ?? (g.value && `var(--ui-dialog-width-${g.value})`)), _ = C(() => !!w.value), P = Uk(), b = C(() => _.value ? void 0 : P.value), x = C(() => ({
24249
+ const c = { dim: "bg-[var(--ui-overlay)] backdrop-blur-[1px]", light: "bg-[var(--ui-overlay-light)]", none: "bg-transparent" }, u = RT(), d = C(() => u?.element.value ?? null), { position: f, draggable: h, onPointerdown: m, onKeydown: v } = LT(Xe("handle"), u), g = C(() => o.width ? void 0 : o.size), w = C(() => o.width ?? (g.value && `var(--ui-dialog-width-${g.value})`)), _ = C(() => !!w.value), P = Uk(), b = C(() => _.value ? void 0 : P.value), x = C(() => ({
24232
24250
  left: f.value && `${f.value.x}px`,
24233
24251
  top: f.value && `${f.value.y}px`,
24234
24252
  maxWidth: w.value,
@@ -24237,15 +24255,15 @@ const BT = /* @__PURE__ */ N({
24237
24255
  "--ui-dialog-floor": b.value && `var(--ui-dialog-width-${b.value})`,
24238
24256
  height: o.height && `min(${o.height}, 100%)`,
24239
24257
  minHeight: o.minHeight && `min(${o.minHeight}, 100%)`
24240
- })), k = Oo(), A = () => LT(k.default), T = C(() => !!(o.title || o.description) || o.showClose), D = /* @__PURE__ */ M(o.defaultOpen), z = C({
24258
+ })), k = Oo(), A = () => BT(k.default), T = C(() => !!(o.title || o.description) || o.showClose), D = /* @__PURE__ */ M(o.defaultOpen), z = C({
24241
24259
  get: () => o.open ?? D.value,
24242
24260
  set: (B) => {
24243
24261
  o.open === void 0 && (D.value = B), r("update:open", B);
24244
24262
  }
24245
24263
  });
24246
- return (B, Y) => (y(), R(p(PP), {
24264
+ return (B, X) => (y(), R(p(PP), {
24247
24265
  open: z.value,
24248
- "onUpdate:open": Y[6] || (Y[6] = (se) => z.value = se)
24266
+ "onUpdate:open": X[6] || (X[6] = (se) => z.value = se)
24249
24267
  }, {
24250
24268
  default: $(() => [
24251
24269
  B.$slots.trigger ? (y(), R(p(p1), oe({ key: 0 }, B.$attrs.id ? { "aria-controls": z.value ? B.$attrs.id : void 0 } : {}, { "as-child": "" }), {
@@ -24258,10 +24276,10 @@ const BT = /* @__PURE__ */ N({
24258
24276
  default: $(() => [
24259
24277
  K(p(a1), {
24260
24278
  "data-ui-overlay": "",
24261
- class: Q(["fixed inset-0 z-[1200]", c[p(o).scrim]]),
24279
+ class: Y(["fixed inset-0 z-[1200]", c[p(o).scrim]]),
24262
24280
  "data-ui-scrim": p(o).scrim
24263
24281
  }, null, 8, ["class", "data-ui-scrim"]),
24264
- K(BT, { host: d.value }, {
24282
+ K(VT, { host: d.value }, {
24265
24283
  default: $(() => [
24266
24284
  K(p(e1), oe({
24267
24285
  ref_key: "content",
@@ -24281,29 +24299,29 @@ const BT = /* @__PURE__ */ N({
24281
24299
  "data-ui-dialog-floor": b.value,
24282
24300
  "data-ui-dialog-layout": T.value ? "window" : "message",
24283
24301
  "data-syno-pkg-land-ui": "",
24284
- onEscapeKeyDown: Y[2] || (Y[2] = (se) => r("escapeKeyDown", se)),
24285
- onPointerDownOutside: Y[3] || (Y[3] = (se) => l("pointerDownOutside", se)),
24286
- onInteractOutside: Y[4] || (Y[4] = (se) => l("interactOutside", se)),
24302
+ onEscapeKeyDown: X[2] || (X[2] = (se) => r("escapeKeyDown", se)),
24303
+ onPointerDownOutside: X[3] || (X[3] = (se) => l("pointerDownOutside", se)),
24304
+ onInteractOutside: X[4] || (X[4] = (se) => l("interactOutside", se)),
24287
24305
  onOpenAutoFocus: s,
24288
- onCloseAutoFocus: Y[5] || (Y[5] = (se) => r("closeAutoFocus", se))
24306
+ onCloseAutoFocus: X[5] || (X[5] = (se) => r("closeAutoFocus", se))
24289
24307
  }), {
24290
24308
  default: $(() => [
24291
24309
  T.value ? (y(), O("header", {
24292
24310
  key: 0,
24293
24311
  ref: "handle",
24294
- class: Q(["flex min-h-10 shrink-0 items-start justify-between gap-4 pr-3", [p(o).headerDivider ? "border-b border-[var(--ui-border-subtle)] py-2.5 pl-5" : "pt-3.5 pb-0 pl-6", p(h) && "cursor-move touch-none select-none"]]),
24312
+ class: Y(["flex min-h-10 shrink-0 items-start justify-between gap-4 pr-3", [p(o).headerDivider ? "border-b border-[var(--ui-border-subtle)] py-2.5 pl-5" : "pt-3.5 pb-0 pl-6", p(h) && "cursor-move touch-none select-none"]]),
24295
24313
  "data-ui-dialog-header-divider": p(o).headerDivider ? void 0 : "none",
24296
24314
  "data-ui-drag-handle": p(h) ? "" : void 0,
24297
- onPointerdown: Y[1] || (Y[1] = //@ts-ignore
24315
+ onPointerdown: X[1] || (X[1] = //@ts-ignore
24298
24316
  (...se) => p(m) && p(m)(...se))
24299
24317
  }, [
24300
- ne("div", UT, [
24318
+ ne("div", WT, [
24301
24319
  p(o).title ? (y(), R(p(d1), oe({
24302
24320
  key: 0,
24303
24321
  class: "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)]"
24304
24322
  }, p(h) ? { tabindex: 0, "aria-keyshortcuts": "ArrowUp ArrowDown ArrowLeft ArrowRight", "data-ui-keyboard-focus": "" } : {}, {
24305
24323
  onKeydown: p(v),
24306
- onMousedown: Y[0] || (Y[0] = (se) => p(h) && se.preventDefault())
24324
+ onMousedown: X[0] || (X[0] = (se) => p(h) && se.preventDefault())
24307
24325
  }), {
24308
24326
  default: $(() => [
24309
24327
  Ne(te(p(o).title), 1)
@@ -24334,20 +24352,20 @@ const BT = /* @__PURE__ */ N({
24334
24352
  ]),
24335
24353
  _: 1
24336
24354
  }, 8, ["aria-label"])) : L("", !0)
24337
- ], 42, jT)) : L("", !0),
24355
+ ], 42, UT)) : L("", !0),
24338
24356
  A() ? (y(), O("div", {
24339
24357
  key: 1,
24340
24358
  "data-ui-dialog-body": "",
24341
- class: Q(["min-h-0 flex-1", p(o).flush ? "flex flex-col overflow-hidden" : ["overflow-auto", T.value ? "px-5 py-4" : "px-[30px] pt-6"]]),
24359
+ class: Y(["min-h-0 flex-1", p(o).flush ? "flex flex-col overflow-hidden" : ["overflow-auto", T.value ? "px-5 py-4" : "px-[30px] pt-6"]]),
24342
24360
  "data-ui-dialog-flush": p(o).flush ? "" : void 0
24343
24361
  }, [
24344
24362
  I(B.$slots, "default")
24345
- ], 10, WT)) : L("", !0),
24363
+ ], 10, KT)) : L("", !0),
24346
24364
  B.$slots.footer ? (y(), O("footer", {
24347
24365
  key: 2,
24348
- class: Q(["flex shrink-0 flex-wrap items-center justify-end gap-2", T.value ? ["min-h-12 px-5 py-2.5", A() && "border-t border-[var(--ui-border-subtle)]"] : "px-[30px] pt-7 pb-5"])
24366
+ class: Y(["flex shrink-0 flex-wrap items-center justify-end gap-2", T.value ? ["min-h-12 px-5 py-2.5", A() && "border-t border-[var(--ui-border-subtle)]"] : "px-[30px] pt-7 pb-5"])
24349
24367
  }, [
24350
- K(VT, { kind: "action" }, {
24368
+ K(jT, { kind: "action" }, {
24351
24369
  default: $(() => [
24352
24370
  I(B.$slots, "footer")
24353
24371
  ]),
@@ -24368,7 +24386,7 @@ const BT = /* @__PURE__ */ N({
24368
24386
  }, 8, ["open"]));
24369
24387
  }
24370
24388
  });
24371
- function HT(e, t, n, o = 0) {
24389
+ function GT(e, t, n, o = 0) {
24372
24390
  const r = /* @__PURE__ */ M({ width: "0px", transform: "translateX(0px)", opacity: 0 });
24373
24391
  return de([e, () => t().map((i) => [i.value, i.label]), n], ([i, a, s], l, c) => {
24374
24392
  if (!i) return;
@@ -24390,7 +24408,7 @@ function HT(e, t, n, o = 0) {
24390
24408
  }, { immediate: !0, flush: "post" }), r;
24391
24409
  }
24392
24410
  const _i = 24;
24393
- function GT(e, t) {
24411
+ function JT(e, t) {
24394
24412
  const n = /* @__PURE__ */ M(!1), o = /* @__PURE__ */ M(!1);
24395
24413
  function r() {
24396
24414
  const l = e.value;
@@ -24418,11 +24436,11 @@ function GT(e, t) {
24418
24436
  e.value?.removeEventListener("scroll", r), e.value?.removeEventListener("wheel", a), s?.disconnect();
24419
24437
  }), { overflowStart: n, overflowEnd: o };
24420
24438
  }
24421
- const JT = /* @__PURE__ */ Qt(/* @__PURE__ */ new Map());
24422
- function YT(e) {
24423
- return JT.get(e);
24439
+ const YT = /* @__PURE__ */ Qt(/* @__PURE__ */ new Map());
24440
+ function XT(e) {
24441
+ return YT.get(e);
24424
24442
  }
24425
- const XT = ["disabled", "aria-label", "value", "placeholder"], QT = ["disabled", "aria-label"], eI = /* @__PURE__ */ N({
24443
+ const QT = ["disabled", "aria-label", "value", "placeholder"], eI = ["disabled", "aria-label"], tI = /* @__PURE__ */ N({
24426
24444
  inheritAttrs: !1,
24427
24445
  __name: "SearchField",
24428
24446
  props: {
@@ -24458,7 +24476,7 @@ const XT = ["disabled", "aria-label", "value", "placeholder"], QT = ["disabled",
24458
24476
  onInput: d[0] || (d[0] = (f) => {
24459
24477
  p(l)(f.target.value), i("update:modelValue", f.target.value);
24460
24478
  })
24461
- }), null, 16, XT),
24479
+ }), null, 16, QT),
24462
24480
  p(r).modelValue ? (y(), O("button", {
24463
24481
  key: 2,
24464
24482
  disabled: p(o),
@@ -24473,7 +24491,7 @@ const XT = ["disabled", "aria-label", "value", "placeholder"], QT = ["disabled",
24473
24491
  class: "size-3.5",
24474
24492
  "aria-hidden": "true"
24475
24493
  })
24476
- ], 8, QT)) : L("", !0)
24494
+ ], 8, eI)) : L("", !0)
24477
24495
  ], 16));
24478
24496
  }
24479
24497
  });
@@ -24491,18 +24509,18 @@ function pr(e) {
24491
24509
  n?.disconnect(), o && cancelAnimationFrame(o);
24492
24510
  }), t;
24493
24511
  }
24494
- const tI = { xs: "96px", sm: "160px", md: "320px", lg: "480px" }, ll = "md";
24512
+ const nI = { xs: "96px", sm: "160px", md: "320px", lg: "480px" }, ll = "md";
24495
24513
  function Vm(e) {
24496
24514
  const t = e ?? ll;
24497
- return t === "full" ? void 0 : tI[t] ?? t;
24515
+ return t === "full" ? void 0 : nI[t] ?? t;
24498
24516
  }
24499
- const nI = ["data-direction"], oI = {
24517
+ const oI = ["data-direction"], rI = {
24500
24518
  key: 0,
24501
24519
  class: "ml-0.5 text-[var(--ui-danger)]"
24502
- }, rI = { class: "min-w-0" }, iI = {
24520
+ }, iI = { class: "min-w-0" }, aI = {
24503
24521
  key: 0,
24504
24522
  class: "mt-1 text-[12px] leading-4 text-[var(--ui-text-secondary)]"
24505
- }, aI = /* @__PURE__ */ N({
24523
+ }, sI = /* @__PURE__ */ N({
24506
24524
  __name: "SettingsRow",
24507
24525
  props: {
24508
24526
  label: {},
@@ -24521,7 +24539,7 @@ const nI = ["data-direction"], oI = {
24521
24539
  ref: r,
24522
24540
  "data-direction": a.value ? "vertical" : "horizontal",
24523
24541
  style: Ve(s.value),
24524
- class: Q([
24542
+ class: Y([
24525
24543
  "grid min-h-10 gap-y-1 py-1.5",
24526
24544
  n.value === "start" ? "items-start" : "items-center"
24527
24545
  ]),
@@ -24529,21 +24547,21 @@ const nI = ["data-direction"], oI = {
24529
24547
  }, [
24530
24548
  ne("div", {
24531
24549
  "data-settings-label": "",
24532
- class: Q(["min-w-0 break-words [word-break:keep-all] text-left text-[13px] text-[var(--ui-text)]", n.value === "start" && "pt-1"])
24550
+ class: Y(["min-w-0 break-words [word-break:keep-all] text-left text-[13px] text-[var(--ui-text)]", n.value === "start" && "pt-1"])
24533
24551
  }, [
24534
24552
  Ne(te(e.label), 1),
24535
- e.required ? (y(), O("span", oI, "*")) : L("", !0)
24553
+ e.required ? (y(), O("span", rI, "*")) : L("", !0)
24536
24554
  ], 2),
24537
- ne("div", rI, [
24555
+ ne("div", iI, [
24538
24556
  ne("div", {
24539
24557
  "data-field-control": "",
24540
24558
  style: Ve(o.value)
24541
24559
  }, [
24542
24560
  I(l.$slots, "default")
24543
24561
  ], 4),
24544
- e.description ? (y(), O("p", iI, te(e.description), 1)) : L("", !0)
24562
+ e.description ? (y(), O("p", aI, te(e.description), 1)) : L("", !0)
24545
24563
  ])
24546
- ], 14, nI));
24564
+ ], 14, oI));
24547
24565
  }
24548
24566
  });
24549
24567
  function jm(e, t, n) {
@@ -24556,26 +24574,26 @@ function jm(e, t, n) {
24556
24574
  }
24557
24575
  return { value: i, isControlled: r, set: a, toggle: () => a(!i.value) };
24558
24576
  }
24559
- const sI = ["data-collapsible", "aria-busy"], lI = {
24577
+ const lI = ["data-collapsible", "aria-busy"], uI = {
24560
24578
  key: 0,
24561
24579
  class: "ui-settings-section-header flex h-9 items-center gap-2 border-0 border-b border-solid border-[var(--ui-border)] text-[14px]"
24562
- }, uI = ["aria-expanded", "aria-controls"], cI = { class: "min-w-0 truncate" }, dI = {
24580
+ }, cI = ["aria-expanded", "aria-controls"], dI = { class: "min-w-0 truncate" }, fI = {
24563
24581
  key: 0,
24564
24582
  class: "flex shrink-0 items-center gap-1.5"
24565
- }, fI = {
24583
+ }, pI = {
24566
24584
  key: 1,
24567
24585
  class: "ui-settings-section-header flex h-9 items-center gap-2 border-0 border-b border-solid border-[var(--ui-border)] text-[14px] font-semibold text-[var(--ui-text)]"
24568
- }, pI = { class: "min-w-0 flex-1 truncate" }, hI = {
24586
+ }, hI = { class: "min-w-0 flex-1 truncate" }, mI = {
24569
24587
  key: 0,
24570
24588
  class: "flex shrink-0 items-center gap-1.5"
24571
- }, mI = ["id"], vI = {
24589
+ }, vI = ["id"], gI = {
24572
24590
  key: 0,
24573
24591
  class: "m-0 mb-4 max-w-[72ch] text-[13px] leading-5 text-[var(--ui-text-secondary)]"
24574
- }, gI = {
24592
+ }, yI = {
24575
24593
  key: 3,
24576
24594
  "data-ui-settings-footer": "",
24577
24595
  class: "mt-4 flex flex-wrap items-center gap-2"
24578
- }, yI = /* @__PURE__ */ N({
24596
+ }, bI = /* @__PURE__ */ N({
24579
24597
  __name: "SettingsSection",
24580
24598
  props: {
24581
24599
  title: {},
@@ -24598,7 +24616,7 @@ const sI = ["data-collapsible", "aria-busy"], lI = {
24598
24616
  "data-syno-pkg-land-ui": "",
24599
24617
  "aria-busy": e.loading || void 0
24600
24618
  }, [
24601
- e.collapsible ? (y(), O("div", lI, [
24619
+ e.collapsible ? (y(), O("div", uI, [
24602
24620
  ne("button", {
24603
24621
  type: "button",
24604
24622
  class: "group m-0 flex h-full min-w-0 flex-1 border-0 bg-transparent p-0 items-center gap-2 text-left text-[length:inherit] font-semibold text-[var(--ui-text)] outline-none enabled:hover:bg-[var(--ui-surface-hover)] focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)]",
@@ -24608,63 +24626,63 @@ const sI = ["data-collapsible", "aria-busy"], lI = {
24608
24626
  (...f) => p(a) && p(a)(...f))
24609
24627
  }, [
24610
24628
  K(p(lr), {
24611
- class: Q(["size-4 shrink-0 transition-transform", !p(i) && "-rotate-90"]),
24629
+ class: Y(["size-4 shrink-0 transition-transform", !p(i) && "-rotate-90"]),
24612
24630
  "aria-hidden": "true"
24613
24631
  }, null, 8, ["class"]),
24614
- ne("span", cI, [
24632
+ ne("span", dI, [
24615
24633
  I(u.$slots, "title", {}, () => [
24616
24634
  Ne(te(e.title), 1)
24617
24635
  ])
24618
24636
  ])
24619
- ], 8, uI),
24620
- u.$slots.actions ? (y(), O("span", dI, [
24637
+ ], 8, cI),
24638
+ u.$slots.actions ? (y(), O("span", fI, [
24621
24639
  I(u.$slots, "actions")
24622
24640
  ])) : L("", !0)
24623
- ])) : c.value ? (y(), O("div", fI, [
24624
- ne("span", pI, [
24641
+ ])) : c.value ? (y(), O("div", pI, [
24642
+ ne("span", hI, [
24625
24643
  I(u.$slots, "title", {}, () => [
24626
24644
  Ne(te(e.title), 1)
24627
24645
  ])
24628
24646
  ]),
24629
- u.$slots.actions ? (y(), O("span", hI, [
24647
+ u.$slots.actions ? (y(), O("span", mI, [
24630
24648
  I(u.$slots, "actions")
24631
24649
  ])) : L("", !0)
24632
24650
  ])) : L("", !0),
24633
24651
  Qn(ne("div", {
24634
24652
  id: p(r),
24635
- class: Q(["ui-settings-section-body", c.value && "pt-3"])
24653
+ class: Y(["ui-settings-section-body", c.value && "pt-3"])
24636
24654
  }, [
24637
- e.description || u.$slots.description ? (y(), O("p", vI, [
24655
+ e.description || u.$slots.description ? (y(), O("p", gI, [
24638
24656
  I(u.$slots, "description", {}, () => [
24639
24657
  Ne(te(e.description), 1)
24640
24658
  ])
24641
24659
  ])) : L("", !0),
24642
24660
  e.loading ? (y(), R(Mm, { key: 1 })) : I(u.$slots, "default", {}, void 0, void 0, 2),
24643
- u.$slots.footer && !e.loading ? (y(), O("div", gI, [
24661
+ u.$slots.footer && !e.loading ? (y(), O("div", yI, [
24644
24662
  I(u.$slots, "footer")
24645
24663
  ])) : L("", !0)
24646
- ], 10, mI), [
24664
+ ], 10, vI), [
24647
24665
  [ko, s.value]
24648
24666
  ])
24649
- ], 8, sI));
24667
+ ], 8, lI));
24650
24668
  }
24651
- }), bI = ["data-tone", "data-variant", "data-fill", "data-dismissible", "hidden"], wI = { class: "ui-callout-main" }, _I = {
24669
+ }), wI = ["data-tone", "data-variant", "data-fill", "data-dismissible", "hidden"], _I = { class: "ui-callout-main" }, SI = {
24652
24670
  key: 0,
24653
24671
  "data-ui-callout-title": "",
24654
24672
  class: "ui-callout-title"
24655
- }, SI = {
24673
+ }, xI = {
24656
24674
  key: 1,
24657
24675
  "data-ui-callout-body": "",
24658
24676
  class: "ui-callout-body"
24659
- }, xI = {
24677
+ }, kI = {
24660
24678
  key: 2,
24661
24679
  "data-ui-callout-code": "",
24662
24680
  class: "font-[family-name:var(--ui-font-mono)] text-[12px] text-[var(--ui-text-secondary)]"
24663
- }, kI = ["aria-expanded", "aria-controls"], CI = ["id"], PI = {
24681
+ }, CI = ["aria-expanded", "aria-controls"], PI = ["id"], AI = {
24664
24682
  key: 0,
24665
24683
  "data-ui-callout-actions": "",
24666
24684
  class: "ui-callout-actions"
24667
- }, AI = ["aria-label"], EI = /* @__PURE__ */ N({
24685
+ }, EI = ["aria-label"], OI = /* @__PURE__ */ N({
24668
24686
  __name: "Callout",
24669
24687
  props: /* @__PURE__ */ zu({
24670
24688
  tone: { default: "info" },
@@ -24705,21 +24723,21 @@ const sI = ["data-collapsible", "aria-busy"], lI = {
24705
24723
  hidden: f.value || void 0,
24706
24724
  "data-syno-pkg-land-ui": ""
24707
24725
  }, [
24708
- (y(), R(kt(a.value), {
24726
+ (y(), R(_t(a.value), {
24709
24727
  class: "ui-callout-icon",
24710
24728
  "aria-hidden": "true"
24711
24729
  })),
24712
- ne("div", wI, [
24730
+ ne("div", _I, [
24713
24731
  ne("div", {
24714
24732
  ref_key: "content",
24715
24733
  ref: l,
24716
24734
  class: "ui-callout-content [overflow-wrap:anywhere]"
24717
24735
  }, [
24718
- e.title ? (y(), O("div", _I, te(e.title), 1)) : L("", !0),
24719
- g.$slots.default ? (y(), O("div", SI, [
24736
+ e.title ? (y(), O("div", SI, te(e.title), 1)) : L("", !0),
24737
+ g.$slots.default ? (y(), O("div", xI, [
24720
24738
  I(g.$slots, "default")
24721
24739
  ])) : L("", !0),
24722
- e.code ? (y(), O("code", xI, te(e.code), 1)) : L("", !0),
24740
+ e.code ? (y(), O("code", kI, te(e.code), 1)) : L("", !0),
24723
24741
  g.$slots.details ? (y(), O("button", {
24724
24742
  key: 3,
24725
24743
  type: "button",
@@ -24731,10 +24749,10 @@ const sI = ["data-collapsible", "aria-busy"], lI = {
24731
24749
  }, [
24732
24750
  Ne(te(i.value ? p(o).lessLabel : p(o).moreLabel) + " ", 1),
24733
24751
  K(p(lr), {
24734
- class: Q(["size-3.5 transition-transform duration-[var(--ui-motion-fast)]", i.value && "rotate-180"]),
24752
+ class: Y(["size-3.5 transition-transform duration-[var(--ui-motion-fast)]", i.value && "rotate-180"]),
24735
24753
  "aria-hidden": "true"
24736
24754
  }, null, 8, ["class"])
24737
- ], 8, kI)) : L("", !0),
24755
+ ], 8, CI)) : L("", !0),
24738
24756
  g.$slots.details ? Qn((y(), O("div", {
24739
24757
  key: 4,
24740
24758
  id: p(s),
@@ -24742,11 +24760,11 @@ const sI = ["data-collapsible", "aria-busy"], lI = {
24742
24760
  class: "ui-callout-details"
24743
24761
  }, [
24744
24762
  I(g.$slots, "details")
24745
- ], 8, CI)), [
24763
+ ], 8, PI)), [
24746
24764
  [ko, i.value]
24747
24765
  ]) : L("", !0)
24748
24766
  ], 512),
24749
- g.$slots.actions ? (y(), O("div", PI, [
24767
+ g.$slots.actions ? (y(), O("div", AI, [
24750
24768
  I(g.$slots, "actions")
24751
24769
  ])) : L("", !0)
24752
24770
  ]),
@@ -24762,22 +24780,22 @@ const sI = ["data-collapsible", "aria-busy"], lI = {
24762
24780
  class: "size-3.5",
24763
24781
  "aria-hidden": "true"
24764
24782
  })
24765
- ], 8, AI)) : L("", !0)
24766
- ], 8, bI));
24783
+ ], 8, EI)) : L("", !0)
24784
+ ], 8, wI));
24767
24785
  }
24768
- }), OI = {
24786
+ }), $I = {
24769
24787
  class: "flex min-h-28 flex-1 flex-col items-center justify-center px-6 py-5 text-center",
24770
24788
  "data-syno-pkg-land-ui": ""
24771
- }, $I = {
24789
+ }, TI = {
24772
24790
  key: 0,
24773
24791
  class: "mb-3 flex size-12 items-center justify-center rounded-full bg-[var(--ui-surface-subtle)] text-[var(--ui-text-muted)]"
24774
- }, TI = { class: "m-0 text-[14px] font-semibold text-[var(--ui-text)]" }, II = {
24792
+ }, II = { class: "m-0 text-[14px] font-semibold text-[var(--ui-text)]" }, RI = {
24775
24793
  key: 1,
24776
24794
  class: "mt-1 max-w-md text-[13px] leading-5 text-[var(--ui-text-secondary)]"
24777
- }, RI = {
24795
+ }, NI = {
24778
24796
  key: 2,
24779
24797
  class: "mt-4 flex items-center gap-2"
24780
- }, NI = /* @__PURE__ */ N({
24798
+ }, DI = /* @__PURE__ */ N({
24781
24799
  __name: "EmptyState",
24782
24800
  props: {
24783
24801
  title: {},
@@ -24785,26 +24803,26 @@ const sI = ["data-collapsible", "aria-busy"], lI = {
24785
24803
  icon: {}
24786
24804
  },
24787
24805
  setup(e) {
24788
- return (t, n) => (y(), O("div", OI, [
24789
- e.icon ? (y(), O("div", $I, [
24790
- (y(), R(kt(e.icon), {
24806
+ return (t, n) => (y(), O("div", $I, [
24807
+ e.icon ? (y(), O("div", TI, [
24808
+ (y(), R(_t(e.icon), {
24791
24809
  class: "size-6",
24792
24810
  "aria-hidden": "true"
24793
24811
  }))
24794
24812
  ])) : L("", !0),
24795
- ne("h3", TI, te(e.title), 1),
24796
- e.description ? (y(), O("p", II, te(e.description), 1)) : L("", !0),
24797
- t.$slots.actions ? (y(), O("div", RI, [
24813
+ ne("h3", II, te(e.title), 1),
24814
+ e.description ? (y(), O("p", RI, te(e.description), 1)) : L("", !0),
24815
+ t.$slots.actions ? (y(), O("div", NI, [
24798
24816
  I(t.$slots, "actions")
24799
24817
  ])) : L("", !0)
24800
24818
  ]));
24801
24819
  }
24802
- }), Um = 640, DI = 1200;
24820
+ }), Um = 640, MI = 1200;
24803
24821
  function Wm(e, t = "web") {
24804
- return e <= 0 ? "window" : e <= Um ? "mobile" : e >= DI && t === "web" ? "web" : "window";
24822
+ return e <= 0 ? "window" : e <= Um ? "mobile" : e >= MI && t === "web" ? "web" : "window";
24805
24823
  }
24806
- const ja = /* @__PURE__ */ Symbol("syno-app-presentation"), MI = 248, ul = 200, cl = 360, Km = /* @__PURE__ */ Symbol("syno-app-sidebar-collapsed"), Zm = /* @__PURE__ */ Symbol("syno-app-top-navigation"), zI = /* @__PURE__ */ Symbol("syno-app-navigation-drawer");
24807
- function FI(e, t = () => "x") {
24824
+ const ja = /* @__PURE__ */ Symbol("syno-app-presentation"), zI = 248, ul = 200, cl = 360, Km = /* @__PURE__ */ Symbol("syno-app-sidebar-collapsed"), Zm = /* @__PURE__ */ Symbol("syno-app-top-navigation"), FI = /* @__PURE__ */ Symbol("syno-app-navigation-drawer");
24825
+ function qI(e, t = () => "x") {
24808
24826
  const n = /* @__PURE__ */ M(!1), o = /* @__PURE__ */ M(!1), r = /* @__PURE__ */ M(!1), i = /* @__PURE__ */ M(!1);
24809
24827
  let a;
24810
24828
  const s = () => {
@@ -24822,7 +24840,7 @@ function FI(e, t = () => "x") {
24822
24840
  e.value?.removeEventListener("scroll", s), a?.disconnect();
24823
24841
  }), { start: n, end: o, top: r, bottom: i };
24824
24842
  }
24825
- const qI = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-top", "data-edge-bottom"], LI = /* @__PURE__ */ N({
24843
+ const LI = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-top", "data-edge-bottom"], BI = /* @__PURE__ */ N({
24826
24844
  __name: "ScrollEdges",
24827
24845
  props: {
24828
24846
  viewportClass: { default: void 0 },
@@ -24830,7 +24848,7 @@ const qI = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-
24830
24848
  axis: { default: "x" }
24831
24849
  },
24832
24850
  setup(e, { expose: t }) {
24833
- const n = e, o = Xe("viewport"), { start: r, end: i, top: a, bottom: s } = FI(o, () => n.axis);
24851
+ const n = e, o = Xe("viewport"), { start: r, end: i, top: a, bottom: s } = qI(o, () => n.axis);
24834
24852
  return t({ viewport: o }), (l, c) => (y(), O("div", {
24835
24853
  "data-ui-scroll-edges": "",
24836
24854
  "data-axis": n.axis === "x" ? void 0 : n.axis,
@@ -24843,30 +24861,30 @@ const qI = ["data-axis", "data-overflow-start", "data-overflow-end", "data-edge-
24843
24861
  ref_key: "viewport",
24844
24862
  ref: o,
24845
24863
  "data-ui-scroll-edges-viewport": "",
24846
- class: Q(e.viewportClass),
24864
+ class: Y(e.viewportClass),
24847
24865
  style: Ve(e.viewportStyle)
24848
24866
  }, [
24849
24867
  I(l.$slots, "default")
24850
24868
  ], 6)
24851
- ], 8, qI));
24869
+ ], 8, LI));
24852
24870
  }
24853
24871
  });
24854
24872
  function Nd(e) {
24855
24873
  return e.align === "right" ? "text-right" : e.align === "center" ? "text-center" : "text-left";
24856
24874
  }
24857
- function BI(e) {
24875
+ function VI(e) {
24858
24876
  return e.type === "number" || e.type === "date" || e.align === "right";
24859
24877
  }
24860
- const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-view", "data-fill"], UI = {
24878
+ const jI = "-ml-1 flex items-center justify-start gap-1", UI = ["data-ui-data-view", "data-fill"], WI = {
24861
24879
  key: 0,
24862
24880
  "data-ui-mobile-cards": "",
24863
24881
  class: "px-3 py-10 text-center text-[var(--ui-text-secondary)]"
24864
- }, WI = {
24882
+ }, KI = {
24865
24883
  key: 1,
24866
24884
  "data-ui-mobile-cards": "",
24867
24885
  class: "grid gap-3",
24868
24886
  role: "list"
24869
- }, KI = { class: "m-0 grid gap-2" }, ZI = { class: "flex min-h-[var(--ui-control-md)] items-center break-words text-[12px] leading-5 text-[var(--ui-text-secondary)]" }, HI = { class: "m-0 flex min-h-[var(--ui-control-md)] min-w-0 flex-wrap items-center gap-1 break-words text-[13px] leading-5 text-[var(--ui-text)]" }, GI = { key: 0 }, JI = { class: "sticky top-0 z-[1] bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, YI = ["data-column-type"], XI = { key: 0 }, QI = ["colspan"], eR = ["data-column-type"], Dd = /* @__PURE__ */ N({
24887
+ }, ZI = { class: "m-0 grid gap-2" }, HI = { class: "flex min-h-[var(--ui-control-md)] items-center break-words text-[12px] leading-5 text-[var(--ui-text-secondary)]" }, GI = { class: "m-0 flex min-h-[var(--ui-control-md)] min-w-0 flex-wrap items-center gap-1 break-words text-[13px] leading-5 text-[var(--ui-text)]" }, JI = { key: 0 }, YI = { class: "sticky top-0 z-[1] bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, XI = ["data-column-type"], QI = { key: 0 }, eR = ["colspan"], tR = ["data-column-type"], Dd = /* @__PURE__ */ N({
24870
24888
  __name: "DataTable",
24871
24889
  props: {
24872
24890
  columns: {},
@@ -24891,22 +24909,22 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
24891
24909
  "data-ui-data-table": "",
24892
24910
  "data-ui-data-view": s.value ? "cards" : "table",
24893
24911
  "data-fill": p(n).fill || void 0,
24894
- class: Q(["min-w-0", p(n).fill && "flex min-h-0 flex-1 flex-col"]),
24912
+ class: Y(["min-w-0", p(n).fill && "flex min-h-0 flex-1 flex-col"]),
24895
24913
  "data-syno-pkg-land-ui": ""
24896
24914
  }, [
24897
- s.value && !p(n).rows.length ? (y(), O("p", UI, te(p(n).emptyText), 1)) : s.value ? (y(), O("div", WI, [
24915
+ s.value && !p(n).rows.length ? (y(), O("p", WI, te(p(n).emptyText), 1)) : s.value ? (y(), O("div", KI, [
24898
24916
  (y(!0), O(Se, null, nt(p(n).rows, (d, f) => (y(), O("article", {
24899
24917
  key: l(d, f),
24900
24918
  class: "min-w-0 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-surface)] px-3 py-2.5",
24901
24919
  role: "listitem"
24902
24920
  }, [
24903
- ne("dl", KI, [
24921
+ ne("dl", ZI, [
24904
24922
  (y(!0), O(Se, null, nt(p(n).columns, (h) => (y(), O("div", {
24905
24923
  key: h.key,
24906
24924
  class: "grid min-w-0 grid-cols-[minmax(100px,35%)_minmax(0,1fr)] items-start gap-2"
24907
24925
  }, [
24908
- ne("dt", ZI, te(h.label), 1),
24909
- ne("dd", HI, [
24926
+ ne("dt", HI, te(h.label), 1),
24927
+ ne("dd", GI, [
24910
24928
  I(c.$slots, `cell-${h.key}`, {
24911
24929
  row: d,
24912
24930
  value: d[h.key],
@@ -24918,56 +24936,56 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
24918
24936
  ]))), 128))
24919
24937
  ])
24920
24938
  ]))), 128))
24921
- ])) : (y(), R(LI, {
24939
+ ])) : (y(), R(BI, {
24922
24940
  key: 2,
24923
- class: Q(p(n).fill && "min-h-0 flex-1"),
24941
+ class: Y(p(n).fill && "min-h-0 flex-1"),
24924
24942
  "viewport-class": p(n).fill ? "h-full overflow-auto border-y border-[var(--ui-border)]" : "overflow-auto border-y border-[var(--ui-border)]"
24925
24943
  }, {
24926
24944
  default: $(() => [
24927
24945
  ne("table", {
24928
- class: Q(["w-full border-collapse text-[13px]", a.value && "table-fixed"])
24946
+ class: Y(["w-full border-collapse text-[13px]", a.value && "table-fixed"])
24929
24947
  }, [
24930
- a.value ? (y(), O("colgroup", GI, [
24948
+ a.value ? (y(), O("colgroup", JI, [
24931
24949
  (y(!0), O(Se, null, nt(p(n).columns, (d) => (y(), O("col", {
24932
24950
  key: d.key,
24933
24951
  style: Ve(d.width ? { width: d.width } : void 0)
24934
24952
  }, null, 4))), 128))
24935
24953
  ])) : L("", !0),
24936
- ne("thead", JI, [
24954
+ ne("thead", YI, [
24937
24955
  ne("tr", null, [
24938
24956
  (y(!0), O(Se, null, nt(p(n).columns, (d) => (y(), O("th", {
24939
24957
  key: d.key,
24940
- class: Q(["border-b border-[var(--ui-border)] px-3 py-2 font-normal", [p(Nd)(d), a.value ? "[overflow-wrap:anywhere]" : "whitespace-nowrap"]]),
24958
+ class: Y(["border-b border-[var(--ui-border)] px-3 py-2 font-normal", [p(Nd)(d), a.value ? "[overflow-wrap:anywhere]" : "whitespace-nowrap"]]),
24941
24959
  "data-column-type": d.type ?? "text"
24942
- }, te(d.label), 11, YI))), 128))
24960
+ }, te(d.label), 11, XI))), 128))
24943
24961
  ])
24944
24962
  ]),
24945
24963
  ne("tbody", null, [
24946
- p(n).rows.length === 0 ? (y(), O("tr", XI, [
24964
+ p(n).rows.length === 0 ? (y(), O("tr", QI, [
24947
24965
  ne("td", {
24948
24966
  colspan: p(n).columns.length,
24949
24967
  class: "px-3 py-10 text-center text-[var(--ui-text-secondary)]"
24950
- }, te(p(n).emptyText), 9, QI)
24968
+ }, te(p(n).emptyText), 9, eR)
24951
24969
  ])) : (y(!0), O(Se, { key: 1 }, nt(p(n).rows, (d, f) => (y(), O("tr", {
24952
24970
  key: l(d, f),
24953
24971
  class: "border-b border-[var(--ui-border-subtle)] last:border-b-0 hover:bg-[var(--ui-surface-hover)]"
24954
24972
  }, [
24955
24973
  (y(!0), O(Se, null, nt(p(n).columns, (h) => (y(), O("td", {
24956
24974
  key: h.key,
24957
- class: Q([
24975
+ class: Y([
24958
24976
  // The padding only shows in a row a two-line cell makes taller.
24959
24977
  "px-3 py-1.5 text-[var(--ui-text)]",
24960
24978
  a.value && "[overflow-wrap:anywhere]",
24961
24979
  p(n).compact ? "h-9" : "h-11",
24962
24980
  p(Nd)(h),
24963
- p(BI)(h) && "tabular-nums whitespace-nowrap"
24981
+ p(VI)(h) && "tabular-nums whitespace-nowrap"
24964
24982
  ]),
24965
24983
  "data-column-type": h.type ?? "text"
24966
24984
  }, [
24967
24985
  h.type === "actions" ? (y(), O("div", {
24968
24986
  key: 0,
24969
24987
  "data-grid-actions": "",
24970
- class: Q(p(VI))
24988
+ class: Y(p(jI))
24971
24989
  }, [
24972
24990
  I(c.$slots, `cell-${h.key}`, {
24973
24991
  row: d,
@@ -24983,16 +25001,16 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
24983
25001
  }, () => [
24984
25002
  Ne(te(d[h.key]), 1)
24985
25003
  ], void 0, 1)
24986
- ], 10, eR))), 128))
25004
+ ], 10, tR))), 128))
24987
25005
  ]))), 128))
24988
25006
  ])
24989
25007
  ], 2)
24990
25008
  ]),
24991
25009
  _: 3
24992
25010
  }, 8, ["class", "viewport-class"]))
24993
- ], 10, jI));
25011
+ ], 10, UI));
24994
25012
  }
24995
- }), tR = ["data-layout", "data-wrap"], nR = ["data-ui-tooltip-hint", "disabled"], oR = /* @__PURE__ */ N({
25013
+ }), nR = ["data-layout", "data-wrap"], oR = ["data-ui-tooltip-hint", "disabled"], rR = /* @__PURE__ */ N({
24996
25014
  __name: "CellText",
24997
25015
  props: {
24998
25016
  text: {},
@@ -25009,19 +25027,19 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25009
25027
  return (i, a) => (y(), O("div", {
25010
25028
  ref_key: "root",
25011
25029
  ref: o,
25012
- class: Q(["flex min-w-0 gap-[var(--ui-space-2)]", e.wrap ? "items-start" : "items-center"]),
25030
+ class: Y(["flex min-w-0 gap-[var(--ui-space-2)]", e.wrap ? "items-start" : "items-center"]),
25013
25031
  "data-layout": e.layout,
25014
25032
  "data-wrap": e.wrap ? "" : void 0,
25015
25033
  "data-syno-pkg-land-ui": ""
25016
25034
  }, [
25017
- e.icon ? (y(), R(kt(e.icon), {
25035
+ e.icon ? (y(), R(_t(e.icon), {
25018
25036
  key: 0,
25019
- class: Q(["size-4 shrink-0 text-[var(--ui-text-secondary)]", e.wrap && "mt-0.5"]),
25037
+ class: Y(["size-4 shrink-0 text-[var(--ui-text-secondary)]", e.wrap && "mt-0.5"]),
25020
25038
  "aria-hidden": "true"
25021
25039
  }, null, 8, ["class"])) : L("", !0),
25022
25040
  ne("div", {
25023
25041
  "data-ui-cell-lines": "",
25024
- class: Q([
25042
+ class: Y([
25025
25043
  "min-w-0 flex-1",
25026
25044
  e.layout === "inline" ? "flex items-baseline gap-x-[var(--ui-space-2)]" : "flex flex-col gap-y-0.5"
25027
25045
  ])
@@ -25032,16 +25050,16 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25032
25050
  "data-ui-cell-primary": "",
25033
25051
  "data-ui-tooltip-hint": e.openLabel,
25034
25052
  disabled: e.openDisabled,
25035
- class: Q([r.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[var(--ui-radius-sm)] border-0 bg-transparent px-0.5 py-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
25053
+ class: Y([r.value, "m-0 -mx-0.5 min-w-0 max-w-full rounded-[var(--ui-radius-sm)] border-0 bg-transparent px-0.5 py-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_1px_var(--ui-primary),0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
25036
25054
  onClick: a[0] || (a[0] = (s) => i.$emit("open"))
25037
25055
  }, [
25038
25056
  I(i.$slots, "default", {}, () => [
25039
25057
  Ne(te(e.text), 1)
25040
25058
  ])
25041
- ], 10, nR)) : (y(), O("span", {
25059
+ ], 10, oR)) : (y(), O("span", {
25042
25060
  key: 1,
25043
25061
  "data-ui-cell-primary": "",
25044
- class: Q([r.value, "min-w-0 leading-5 text-[var(--ui-text)]"])
25062
+ class: Y([r.value, "min-w-0 leading-5 text-[var(--ui-text)]"])
25045
25063
  }, [
25046
25064
  I(i.$slots, "default", {}, () => [
25047
25065
  Ne(te(e.text), 1)
@@ -25050,7 +25068,7 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25050
25068
  e.secondary || i.$slots.secondary ? (y(), O("span", {
25051
25069
  key: 2,
25052
25070
  "data-ui-cell-secondary": "",
25053
- class: Q([
25071
+ class: Y([
25054
25072
  "min-w-0 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)]",
25055
25073
  r.value,
25056
25074
  e.layout === "inline" && "shrink-0"
@@ -25065,24 +25083,24 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25065
25083
  key: 1,
25066
25084
  target: o.value
25067
25085
  }, null, 8, ["target"])) : L("", !0)
25068
- ], 10, tR));
25086
+ ], 10, nR));
25069
25087
  }
25070
- }), rR = {
25088
+ }), iR = {
25071
25089
  "data-ui-cell-status": "",
25072
25090
  class: "flex min-w-0 items-center gap-[var(--ui-space-2)] leading-4 text-[var(--ui-text)]"
25073
- }, iR = {
25091
+ }, aR = {
25074
25092
  "data-ui-cell-status-label": "",
25075
25093
  tabindex: "0",
25076
25094
  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)]"
25077
- }, aR = {
25095
+ }, sR = {
25078
25096
  key: 1,
25079
25097
  "data-ui-cell-status-label": "",
25080
25098
  class: "min-w-0 truncate"
25081
- }, sR = {
25099
+ }, lR = {
25082
25100
  key: 1,
25083
25101
  "data-ui-cell-secondary": "",
25084
25102
  class: "min-w-0 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)] tabular-nums [overflow-wrap:anywhere]"
25085
- }, lR = /* @__PURE__ */ N({
25103
+ }, uR = /* @__PURE__ */ N({
25086
25104
  __name: "CellStatus",
25087
25105
  props: {
25088
25106
  label: {},
@@ -25098,29 +25116,29 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25098
25116
  return (i, a) => (y(), O("div", {
25099
25117
  ref_key: "root",
25100
25118
  ref: o,
25101
- class: Q(["flex min-w-0 flex-col gap-0.5", r.value && !(e.detail || i.$slots.detail) && "relative"]),
25119
+ class: Y(["flex min-w-0 flex-col gap-0.5", r.value && !(e.detail || i.$slots.detail) && "relative"]),
25102
25120
  "data-syno-pkg-land-ui": ""
25103
25121
  }, [
25104
- ne("span", rR, [
25105
- K(Q$, { tone: e.tone }, null, 8, ["tone"]),
25122
+ ne("span", iR, [
25123
+ K(eT, { tone: e.tone }, null, 8, ["tone"]),
25106
25124
  e.description ? (y(), R(Fm, {
25107
25125
  key: 0,
25108
25126
  content: e.description
25109
25127
  }, {
25110
25128
  default: $(() => [
25111
- ne("span", iR, te(e.label), 1)
25129
+ ne("span", aR, te(e.label), 1)
25112
25130
  ]),
25113
25131
  _: 1
25114
- }, 8, ["content"])) : (y(), O("span", aR, te(e.label), 1))
25132
+ }, 8, ["content"])) : (y(), O("span", sR, te(e.label), 1))
25115
25133
  ]),
25116
25134
  r.value ? (y(), R(Dm, {
25117
25135
  key: 0,
25118
25136
  value: e.progress,
25119
25137
  "aria-label": e.label,
25120
25138
  size: "sm",
25121
- class: Q(["max-w-40", !(e.detail || i.$slots.detail) && "absolute inset-x-0 top-full mt-0.5"])
25139
+ class: Y(["max-w-40", !(e.detail || i.$slots.detail) && "absolute inset-x-0 top-full mt-0.5"])
25122
25140
  }, null, 8, ["value", "aria-label", "class"])) : L("", !0),
25123
- e.detail || i.$slots.detail ? (y(), O("span", sR, [
25141
+ e.detail || i.$slots.detail ? (y(), O("span", lR, [
25124
25142
  I(i.$slots, "detail", {}, () => [
25125
25143
  Ne(te(e.detail), 1)
25126
25144
  ])
@@ -25131,74 +25149,74 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25131
25149
  }, null, 8, ["target"])) : L("", !0)
25132
25150
  ], 2));
25133
25151
  }
25134
- }), uR = {
25152
+ }), cR = {
25135
25153
  role: "listitem",
25136
25154
  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)]",
25137
25155
  "data-syno-pkg-land-ui": ""
25138
- }, cR = { class: "flex min-w-60 flex-1 items-start gap-[var(--ui-space-3)]" }, dR = {
25156
+ }, dR = { class: "flex min-w-60 flex-1 items-start gap-[var(--ui-space-3)]" }, fR = {
25139
25157
  key: 0,
25140
25158
  "data-ui-list-item-leading": "",
25141
25159
  class: "flex shrink-0 items-center"
25142
- }, fR = { class: "min-w-0 flex-1" }, pR = { class: "flex flex-wrap items-center gap-x-[var(--ui-space-2)] gap-y-1" }, hR = {
25160
+ }, pR = { class: "min-w-0 flex-1" }, hR = { class: "flex flex-wrap items-center gap-x-[var(--ui-space-2)] gap-y-1" }, mR = {
25143
25161
  "data-ui-list-item-title": "",
25144
25162
  class: "font-semibold leading-5 text-[var(--ui-text)]"
25145
- }, mR = {
25163
+ }, vR = {
25146
25164
  key: 0,
25147
25165
  "data-ui-list-item-meta": "",
25148
25166
  class: "flex flex-wrap items-center gap-[var(--ui-space-1)]"
25149
- }, vR = {
25167
+ }, gR = {
25150
25168
  key: 0,
25151
25169
  "data-ui-list-item-description": "",
25152
25170
  class: "mt-1 leading-5 text-[var(--ui-text-secondary)]"
25153
- }, gR = {
25171
+ }, yR = {
25154
25172
  key: 1,
25155
25173
  class: "mt-1 leading-5"
25156
- }, yR = {
25174
+ }, bR = {
25157
25175
  key: 0,
25158
25176
  "data-ui-list-item-actions": "",
25159
25177
  class: "flex shrink-0 flex-wrap items-center gap-[var(--ui-space-2)]"
25160
- }, bR = /* @__PURE__ */ N({
25178
+ }, wR = /* @__PURE__ */ N({
25161
25179
  __name: "ListItem",
25162
25180
  props: {
25163
25181
  title: {},
25164
25182
  description: {}
25165
25183
  },
25166
25184
  setup(e) {
25167
- return (t, n) => (y(), O("div", uR, [
25168
- ne("div", cR, [
25169
- t.$slots.leading ? (y(), O("div", dR, [
25185
+ return (t, n) => (y(), O("div", cR, [
25186
+ ne("div", dR, [
25187
+ t.$slots.leading ? (y(), O("div", fR, [
25170
25188
  I(t.$slots, "leading")
25171
25189
  ])) : L("", !0),
25172
- ne("div", fR, [
25173
- ne("div", pR, [
25174
- ne("span", hR, [
25190
+ ne("div", pR, [
25191
+ ne("div", hR, [
25192
+ ne("span", mR, [
25175
25193
  I(t.$slots, "title", {}, () => [
25176
25194
  Ne(te(e.title), 1)
25177
25195
  ])
25178
25196
  ]),
25179
- t.$slots.meta ? (y(), O("span", mR, [
25197
+ t.$slots.meta ? (y(), O("span", vR, [
25180
25198
  I(t.$slots, "meta")
25181
25199
  ])) : L("", !0)
25182
25200
  ]),
25183
- e.description || t.$slots.description ? (y(), O("div", vR, [
25201
+ e.description || t.$slots.description ? (y(), O("div", gR, [
25184
25202
  I(t.$slots, "description", {}, () => [
25185
25203
  Ne(te(e.description), 1)
25186
25204
  ])
25187
25205
  ])) : L("", !0),
25188
- t.$slots.default ? (y(), O("div", gR, [
25206
+ t.$slots.default ? (y(), O("div", yR, [
25189
25207
  I(t.$slots, "default")
25190
25208
  ])) : L("", !0)
25191
25209
  ])
25192
25210
  ]),
25193
- t.$slots.actions ? (y(), O("div", yR, [
25211
+ t.$slots.actions ? (y(), O("div", bR, [
25194
25212
  I(t.$slots, "actions")
25195
25213
  ])) : L("", !0)
25196
25214
  ]));
25197
25215
  }
25198
- }), wR = ["id"], _R = {
25216
+ }), _R = ["id"], SR = {
25199
25217
  key: 1,
25200
25218
  class: "ml-auto flex shrink-0 items-center gap-1.5"
25201
- }, SR = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], xR = ["id", "role", "aria-labelledby"], kR = /* @__PURE__ */ N({
25219
+ }, xR = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], kR = ["id", "role", "aria-labelledby"], CR = /* @__PURE__ */ N({
25202
25220
  __name: "Card",
25203
25221
  props: {
25204
25222
  title: {},
@@ -25237,7 +25255,7 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25237
25255
  default: $(() => [
25238
25256
  e.hasHeader && (d.value || g.$slots["header-actions"] || e.expandable) ? (y(), O("header", {
25239
25257
  key: 0,
25240
- class: Q(m.value)
25258
+ class: Y(m.value)
25241
25259
  }, [
25242
25260
  d.value ? (y(), O("h3", {
25243
25261
  key: 0,
@@ -25247,8 +25265,8 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25247
25265
  I(g.$slots, "title", {}, () => [
25248
25266
  Ne(te(e.title), 1)
25249
25267
  ])
25250
- ], 8, wR)) : L("", !0),
25251
- g.$slots["header-actions"] || e.expandable ? (y(), O("div", _R, [
25268
+ ], 8, _R)) : L("", !0),
25269
+ g.$slots["header-actions"] || e.expandable ? (y(), O("div", SR, [
25252
25270
  I(g.$slots, "header-actions"),
25253
25271
  e.expandable ? (y(), O("button", {
25254
25272
  key: 0,
@@ -25263,27 +25281,27 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25263
25281
  (..._) => p(u) && p(u)(..._))
25264
25282
  }, [
25265
25283
  K(p(lr), {
25266
- class: Q(p(On)("size-4 transition-transform duration-[var(--ui-motion-fast)]", !p(c) && "-rotate-90")),
25284
+ class: Y(p(On)("size-4 transition-transform duration-[var(--ui-motion-fast)]", !p(c) && "-rotate-90")),
25267
25285
  "aria-hidden": "true"
25268
25286
  }, null, 8, ["class"])
25269
- ], 8, SR)) : L("", !0)
25287
+ ], 8, xR)) : L("", !0)
25270
25288
  ])) : L("", !0)
25271
25289
  ], 2)) : L("", !0),
25272
25290
  Qn(ne("div", {
25273
25291
  id: p(l),
25274
- class: Q(v.value),
25292
+ class: Y(v.value),
25275
25293
  role: e.expandable ? "region" : void 0,
25276
25294
  "aria-labelledby": e.expandable && d.value ? p(s) : void 0
25277
25295
  }, [
25278
25296
  e.loading ? (y(), R(Mm, { key: 0 })) : I(g.$slots, "body", {}, () => [
25279
25297
  I(g.$slots, "default")
25280
25298
  ], void 0, 1)
25281
- ], 10, xR), [
25299
+ ], 10, kR), [
25282
25300
  [ko, h.value]
25283
25301
  ]),
25284
25302
  g.$slots.footer && !e.loading ? (y(), O("footer", {
25285
25303
  key: 1,
25286
- class: Q(p(On)("flex flex-wrap items-center gap-2 border-t border-[var(--ui-border-subtle)] py-2.5", f.value ? "px-5" : "px-[var(--ui-card-padding,20px)]", r[e.footerAlign]))
25304
+ class: Y(p(On)("flex flex-wrap items-center gap-2 border-t border-[var(--ui-border-subtle)] py-2.5", f.value ? "px-5" : "px-[var(--ui-card-padding,20px)]", r[e.footerAlign]))
25287
25305
  }, [
25288
25306
  I(g.$slots, "footer")
25289
25307
  ], 2)) : L("", !0)
@@ -25291,16 +25309,16 @@ const VI = "-ml-1 flex items-center justify-start gap-1", jI = ["data-ui-data-vi
25291
25309
  _: 3
25292
25310
  }, 8, ["data-layout", "aria-busy"]));
25293
25311
  }
25294
- }), CR = /^#([\da-f]{3}|[\da-f]{6})$/i, PR = /^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)(?:\s*[,/]\s*([\d.]+)(%?))?\s*\)$/i;
25312
+ }), PR = /^#([\da-f]{3}|[\da-f]{6})$/i, AR = /^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)(?:\s*[,/]\s*([\d.]+)(%?))?\s*\)$/i;
25295
25313
  function dl(e) {
25296
25314
  const t = e.trim();
25297
25315
  if (t === "transparent") return [0, 0, 0, 0];
25298
- const n = CR.exec(t)?.[1];
25316
+ const n = PR.exec(t)?.[1];
25299
25317
  if (n) {
25300
25318
  const r = n.length === 3 ? [...n].map((i) => i + i).join("") : n;
25301
25319
  return [0, 2, 4].map((i) => parseInt(r.slice(i, i + 2), 16)).concat(1);
25302
25320
  }
25303
- const o = PR.exec(t);
25321
+ const o = AR.exec(t);
25304
25322
  if (o) {
25305
25323
  const r = o[4] === void 0 ? 1 : Number(o[4]) / (o[5] ? 100 : 1);
25306
25324
  return [Number(o[1]), Number(o[2]), Number(o[3]), r];
@@ -25317,43 +25335,43 @@ function fl(e, t) {
25317
25335
  function ws([e, t, n, o], r) {
25318
25336
  return [e * (1 - r), t * (1 - r), n * (1 - r), o];
25319
25337
  }
25320
- function AR([e, t, n, o], r) {
25338
+ function ER([e, t, n, o], r) {
25321
25339
  return [e + (255 - e) * r, t + (255 - t) * r, n + (255 - n) * r, o];
25322
25340
  }
25323
- function ER([e, t, n]) {
25341
+ function OR([e, t, n]) {
25324
25342
  const o = (r) => {
25325
25343
  const i = r / 255;
25326
25344
  return i <= 0.04045 ? i / 12.92 : ((i + 0.055) / 1.055) ** 2.4;
25327
25345
  };
25328
25346
  return 0.2126 * o(e) + 0.7152 * o(t) + 0.0722 * o(n);
25329
25347
  }
25330
- function OR(e, t) {
25331
- const n = fl(t, [255, 255, 255, 1]), [o, r] = [fl(e, n), n].map(ER).sort((i, a) => a - i);
25348
+ function $R(e, t) {
25349
+ const n = fl(t, [255, 255, 255, 1]), [o, r] = [fl(e, n), n].map(OR).sort((i, a) => a - i);
25332
25350
  return (o + 0.05) / (r + 0.05);
25333
25351
  }
25334
- const _s = [255, 255, 255, 1], $R = "#1b1f1c", TR = [0.02, 0.04, 0.1, 0.15, 0.2, 0.3, 0.5, 0.7], IR = [0.04, 0.08, 0.16, 0.22, 0.28, 0.36, 0.5, 0.7], RR = 0.075, NR = 0.22, DR = 0.55, pl = (e) => dl(Ei(e));
25352
+ const _s = [255, 255, 255, 1], TR = "#1b1f1c", IR = [0.02, 0.04, 0.1, 0.15, 0.2, 0.3, 0.5, 0.7], RR = [0.04, 0.08, 0.16, 0.22, 0.28, 0.36, 0.5, 0.7], NR = 0.075, DR = 0.22, MR = 0.55, pl = (e) => dl(Ei(e));
25335
25353
  function Md(e, t, n, o, r) {
25336
25354
  for (let i = n; i < 1; i += 0.01) {
25337
25355
  const a = pl(t(e, i));
25338
- if (OR(...r(a)) >= o) return a;
25356
+ if ($R(...r(a)) >= o) return a;
25339
25357
  }
25340
25358
  return t(e, 1);
25341
25359
  }
25342
- function MR(e, { dark: t = !1 } = {}) {
25360
+ function zR(e, { dark: t = !1 } = {}) {
25343
25361
  const n = dl(e);
25344
25362
  if (n[3] !== 1) throw new Error(`An accent must be opaque: "${e}"`);
25345
- const o = Md(n, ws, 0, 4.5, (u) => [_s, u]), r = t ? dl($R) : _s, i = (t ? IR : TR).map((u) => [o[0], o[1], o[2], u]), a = i.map((u) => pl(fl(u, r))), s = (u, d) => Md(o, t ? AR : ws, d, u, (f) => [f, a[2]]), l = t ? [s(4.5, 0), s(7, 0)] : [s(4.5, NR), s(7, DR)];
25346
- return { steps: [...a, o, pl(ws(o, RR)), ...l].map(Ei), alpha: i.map(Ei), contrast: Ei(_s) };
25363
+ const o = Md(n, ws, 0, 4.5, (u) => [_s, u]), r = t ? dl(TR) : _s, i = (t ? RR : IR).map((u) => [o[0], o[1], o[2], u]), a = i.map((u) => pl(fl(u, r))), s = (u, d) => Md(o, t ? ER : ws, d, u, (f) => [f, a[2]]), l = t ? [s(4.5, 0), s(7, 0)] : [s(4.5, DR), s(7, MR)];
25364
+ return { steps: [...a, o, pl(ws(o, NR)), ...l].map(Ei), alpha: i.map(Ei), contrast: Ei(_s) };
25347
25365
  }
25348
- function zR(e, t = {}) {
25349
- const { steps: n, alpha: o, contrast: r } = MR(e, t);
25366
+ function FR(e, t = {}) {
25367
+ const { steps: n, alpha: o, contrast: r } = zR(e, t);
25350
25368
  return Object.fromEntries([
25351
25369
  ...n.map((i, a) => [`--ui-accent-${a + 1}`, i]),
25352
25370
  ...o.map((i, a) => [`--ui-accent-a${a + 1}`, i]),
25353
25371
  ["--ui-accent-contrast", r]
25354
25372
  ]);
25355
25373
  }
25356
- const FR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], qR = /* @__PURE__ */ N({
25374
+ const qR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "data-ui-color-scheme", "tabindex"], LR = /* @__PURE__ */ N({
25357
25375
  __name: "AppRoot",
25358
25376
  props: {
25359
25377
  modalScope: { default: "app" },
@@ -25370,11 +25388,11 @@ const FR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
25370
25388
  Ke(ja, s);
25371
25389
  const l = Xe("background"), c = Xe("portal"), u = n.modalScope, d = u === "app" ? new oP(i, l) : null;
25372
25390
  Ke(Lh, d);
25373
- const f = DT(i, u === "app" && n.dialogBounds === "viewport", () => o("activate"));
25391
+ const f = MT(i, u === "app" && n.dialogBounds === "viewport", () => o("activate"));
25374
25392
  f && d?.region(f.element), Ke(Lm, f);
25375
25393
  const h = { position: "relative", isolation: "isolate", overflow: "hidden" }, m = C(() => ({
25376
25394
  ...u === "app" ? h : {},
25377
- ...n.accent ? zR(n.accent, { dark: n.colorScheme === "dark" }) : {}
25395
+ ...n.accent ? FR(n.accent, { dark: n.colorScheme === "dark" }) : {}
25378
25396
  }));
25379
25397
  return de(() => n.modalScope, (v) => {
25380
25398
  if (v !== u) throw new Error("AppRoot modal-scope is fixed for the mounted root; remount to change it");
@@ -25413,9 +25431,9 @@ const FR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
25413
25431
  ]),
25414
25432
  _: 3
25415
25433
  }, 8, ["teleport-to"])
25416
- ], 12, FR));
25434
+ ], 12, qR));
25417
25435
  }
25418
- }), LR = ["src"], Ss = /* @__PURE__ */ N({
25436
+ }), BR = ["src"], Ss = /* @__PURE__ */ N({
25419
25437
  __name: "AppBrand",
25420
25438
  props: {
25421
25439
  name: {},
@@ -25426,7 +25444,7 @@ const FR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
25426
25444
  emits: ["activate"],
25427
25445
  setup(e, { emit: t }) {
25428
25446
  const n = t, o = Bn(), r = (i, { slots: a }) => a.default?.();
25429
- return (i, a) => (y(), R(kt(e.interactive ? "button" : r), st(dt(e.interactive ? {
25447
+ return (i, a) => (y(), R(_t(e.interactive ? "button" : r), st(dt(e.interactive ? {
25430
25448
  type: "button",
25431
25449
  "data-ui-brand-action": "",
25432
25450
  "aria-label": p(o)("Go to home"),
@@ -25440,18 +25458,18 @@ const FR = ["data-ui-presentation", "data-ui-modal-scope", "data-ui-accent", "da
25440
25458
  alt: "",
25441
25459
  width: "28",
25442
25460
  height: "28"
25443
- }, null, 8, LR)) : L("", !0),
25461
+ }, null, 8, BR)) : L("", !0),
25444
25462
  e.name ? (y(), O("span", {
25445
25463
  key: 1,
25446
25464
  "data-ui-brand-name": "",
25447
- class: Q(e.collapsed ? "sr-only" : "min-w-0 truncate")
25465
+ class: Y(e.collapsed ? "sr-only" : "min-w-0 truncate")
25448
25466
  }, te(e.name), 3)) : L("", !0)
25449
25467
  ]),
25450
25468
  _: 1
25451
25469
  }, 16));
25452
25470
  }
25453
25471
  }), hl = (e) => Math.round(Math.min(cl, Math.max(ul, e)));
25454
- function BR(e) {
25472
+ function VR(e) {
25455
25473
  try {
25456
25474
  const t = JSON.parse(localStorage.getItem(e) ?? "null");
25457
25475
  return t && typeof t == "object" ? t : {};
@@ -25459,8 +25477,8 @@ function BR(e) {
25459
25477
  return {};
25460
25478
  }
25461
25479
  }
25462
- function VR(e) {
25463
- const t = e ? `${e}:app-sidebar` : void 0, n = t ? BR(t) : {}, o = /* @__PURE__ */ M(typeof n.width == "number" && Number.isFinite(n.width) ? hl(n.width) : MI), r = /* @__PURE__ */ M(n.collapsed === !0);
25480
+ function jR(e) {
25481
+ const t = e ? `${e}:app-sidebar` : void 0, n = t ? VR(t) : {}, o = /* @__PURE__ */ M(typeof n.width == "number" && Number.isFinite(n.width) ? hl(n.width) : zI), r = /* @__PURE__ */ M(n.collapsed === !0);
25464
25482
  return t && de([o, r], () => {
25465
25483
  try {
25466
25484
  localStorage.setItem(t, JSON.stringify({ width: o.value, collapsed: r.value }));
@@ -25468,25 +25486,25 @@ function VR(e) {
25468
25486
  }
25469
25487
  }), { width: o, collapsed: r };
25470
25488
  }
25471
- const jR = ["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"], UR = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], WR = {
25489
+ const UR = ["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"], WR = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], KR = {
25472
25490
  key: 0,
25473
25491
  "data-ui-mobile-sidebar-header": ""
25474
- }, KR = {
25492
+ }, ZR = {
25475
25493
  key: 0,
25476
25494
  "data-ui-sidebar-brand": ""
25477
- }, ZR = { key: 1 }, HR = ["aria-label"], GR = {
25495
+ }, HR = { key: 1 }, GR = ["aria-label"], JR = {
25478
25496
  key: 1,
25479
25497
  "data-ui-sidebar-brand": ""
25480
- }, JR = { "data-ui-sidebar-body": "" }, YR = {
25498
+ }, YR = { "data-ui-sidebar-body": "" }, XR = {
25481
25499
  key: 2,
25482
25500
  "data-ui-sidebar-footer": ""
25483
- }, XR = ["aria-label", "title", "aria-expanded", "aria-controls"], QR = ["aria-label", "aria-controls", "aria-valuemin", "aria-valuemax", "aria-valuenow"], eN = ["inert"], tN = {
25501
+ }, QR = ["aria-label", "title", "aria-expanded", "aria-controls"], eN = ["aria-label", "aria-controls", "aria-valuemin", "aria-valuemax", "aria-valuenow"], tN = ["inert"], nN = {
25484
25502
  key: 0,
25485
25503
  "data-ui-mobile-navigation": ""
25486
- }, nN = ["aria-label", "aria-expanded", "aria-controls"], oN = {
25504
+ }, oN = ["aria-label", "aria-expanded", "aria-controls"], rN = {
25487
25505
  key: 1,
25488
25506
  "data-ui-sidebar-brand": ""
25489
- }, rN = { key: 2 }, zd = 16, iN = /* @__PURE__ */ N({
25507
+ }, iN = { key: 2 }, zd = 16, aN = /* @__PURE__ */ N({
25490
25508
  __name: "AppLayout",
25491
25509
  props: {
25492
25510
  sidebarWidth: { default: void 0 },
@@ -25520,7 +25538,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25520
25538
  });
25521
25539
  const P = C(() => m.value === "web"), b = C(() => n.navigation === "top" && !v.value);
25522
25540
  Ke(Zm, b);
25523
- const x = VR(n.sidebarStorageKey), k = C(() => P.value && !b.value && x.collapsed.value);
25541
+ const x = jR(n.sidebarStorageKey), k = C(() => P.value && !b.value && x.collapsed.value);
25524
25542
  Ke(Km, k);
25525
25543
  const A = C(() => P.value && !b.value && !k.value && n.sidebarWidth === void 0), T = C(() => k.value ? "var(--ui-web-sidebar-collapsed-width, 64px)" : n.sidebarWidth !== void 0 ? n.sidebarWidth : P.value ? `${x.width.value}px` : "var(--ui-sidebar-width)"), D = /* @__PURE__ */ M({});
25526
25544
  Je(() => {
@@ -25529,7 +25547,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25529
25547
  icon: document.head.querySelector('link[rel~="icon"]')?.href || void 0
25530
25548
  };
25531
25549
  });
25532
- const z = C(() => ({ name: n.brandName ?? D.value.name, icon: n.brandIcon ?? D.value.icon })), B = C(() => !!(s.brand || z.value.name || z.value.icon)), Y = C(() => B.value && !v.value && n.wideLayout === "web"), se = C(() => b.value ? !!s["sidebar-footer"] : P.value || v.value && !!s["sidebar-footer"]);
25550
+ const z = C(() => ({ name: n.brandName ?? D.value.name, icon: n.brandIcon ?? D.value.icon })), B = C(() => !!(s.brand || z.value.name || z.value.icon)), X = C(() => B.value && !v.value && n.wideLayout === "web"), se = C(() => b.value ? !!s["sidebar-footer"] : P.value || v.value && !!s["sidebar-footer"]);
25533
25551
  function fe() {
25534
25552
  x.collapsed.value = !x.collapsed.value;
25535
25553
  }
@@ -25564,7 +25582,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25564
25582
  f = document.activeElement instanceof HTMLElement && document.activeElement !== document.body ? document.activeElement : null, g.value = !0, ze(() => u.value?.querySelector("[data-ui-close-navigation]")?.focus());
25565
25583
  }
25566
25584
  const ft = /* @__PURE__ */ M(0), pt = C(() => v.value && !!s.tabbar && ft.value > 0);
25567
- Ke(zI, {
25585
+ Ke(FI, {
25568
25586
  available: C(() => !!s.sidebar),
25569
25587
  open: C(() => g.value),
25570
25588
  id: w,
@@ -25598,7 +25616,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25598
25616
  return (pe, Fe) => (y(), O("section", {
25599
25617
  ref_key: "root",
25600
25618
  ref: c,
25601
- class: Q(["syno-pkg-land-ui-root relative grid min-w-0 overflow-hidden bg-[var(--ui-surface)] text-[var(--ui-text)]", [
25619
+ class: Y(["syno-pkg-land-ui-root relative grid min-w-0 overflow-hidden bg-[var(--ui-surface)] text-[var(--ui-text)]", [
25602
25620
  pe.$slots.sidebar && !v.value && !b.value ? "grid-cols-[var(--ui-app-sidebar-width)_minmax(0,1fr)]" : "grid-cols-1",
25603
25621
  n.height === "fill" && "h-full grid-rows-[minmax(0,1fr)]"
25604
25622
  ]]),
@@ -25633,8 +25651,8 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25633
25651
  inert: v.value && !g.value,
25634
25652
  onClick: rn
25635
25653
  }, [
25636
- v.value ? (y(), O("div", WR, [
25637
- B.value ? (y(), O("div", KR, [
25654
+ v.value ? (y(), O("div", KR, [
25655
+ B.value ? (y(), O("div", ZR, [
25638
25656
  I(pe.$slots, "brand", {}, () => [
25639
25657
  K(Ss, {
25640
25658
  interactive: i(),
@@ -25643,7 +25661,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25643
25661
  icon: z.value.icon
25644
25662
  }, null, 8, ["interactive", "name", "icon"])
25645
25663
  ])
25646
- ])) : (y(), O("span", ZR, te(p(l)("Application navigation")), 1)),
25664
+ ])) : (y(), O("span", HR, te(p(l)("Application navigation")), 1)),
25647
25665
  ne("button", {
25648
25666
  "data-ui-close-navigation": "",
25649
25667
  type: "button",
@@ -25654,9 +25672,9 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25654
25672
  size: 20,
25655
25673
  "aria-hidden": "true"
25656
25674
  })
25657
- ], 8, HR)
25675
+ ], 8, GR)
25658
25676
  ])) : L("", !0),
25659
- Y.value ? (y(), O("div", GR, [
25677
+ X.value ? (y(), O("div", JR, [
25660
25678
  I(pe.$slots, "brand", {}, () => [
25661
25679
  K(Ss, {
25662
25680
  interactive: i(),
@@ -25667,10 +25685,10 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25667
25685
  }, null, 8, ["interactive", "name", "icon", "collapsed"])
25668
25686
  ])
25669
25687
  ])) : L("", !0),
25670
- ne("div", JR, [
25688
+ ne("div", YR, [
25671
25689
  I(pe.$slots, "sidebar")
25672
25690
  ]),
25673
- se.value ? (y(), O("div", YR, [
25691
+ se.value ? (y(), O("div", XR, [
25674
25692
  I(pe.$slots, "sidebar-footer"),
25675
25693
  P.value && !b.value ? (y(), O("button", {
25676
25694
  key: 0,
@@ -25682,11 +25700,11 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25682
25700
  "aria-controls": p(w),
25683
25701
  onClick: fe
25684
25702
  }, [
25685
- (y(), R(kt(k.value ? p(wC) : p(yC)), {
25703
+ (y(), R(_t(k.value ? p(wC) : p(yC)), {
25686
25704
  size: 18,
25687
25705
  "aria-hidden": "true"
25688
25706
  }))
25689
- ], 8, XR)) : L("", !0)
25707
+ ], 8, QR)) : L("", !0)
25690
25708
  ])) : L("", !0),
25691
25709
  A.value ? (y(), O("div", {
25692
25710
  key: 3,
@@ -25701,14 +25719,14 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25701
25719
  "aria-valuenow": p(x).width.value,
25702
25720
  onKeydown: Z,
25703
25721
  onPointerdown: xe
25704
- }, null, 40, QR)) : L("", !0)
25705
- ], 8, UR)) : L("", !0),
25722
+ }, null, 40, eN)) : L("", !0)
25723
+ ], 8, WR)) : L("", !0),
25706
25724
  ne("div", {
25707
25725
  "data-ui-layout-main": "",
25708
25726
  class: "flex min-h-0 min-w-0 flex-col bg-[var(--ui-surface)]",
25709
25727
  inert: v.value && g.value
25710
25728
  }, [
25711
- v.value && pe.$slots.sidebar && !(pt.value && !B.value) ? (y(), O("div", tN, [
25729
+ v.value && pe.$slots.sidebar && !(pt.value && !B.value) ? (y(), O("div", nN, [
25712
25730
  pt.value ? L("", !0) : (y(), O("button", {
25713
25731
  key: 0,
25714
25732
  ref_key: "menuTrigger",
@@ -25724,8 +25742,8 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25724
25742
  size: 20,
25725
25743
  "aria-hidden": "true"
25726
25744
  })
25727
- ], 8, nN)),
25728
- B.value ? (y(), O("div", oN, [
25745
+ ], 8, oN)),
25746
+ B.value ? (y(), O("div", rN, [
25729
25747
  I(pe.$slots, "brand", {}, () => [
25730
25748
  K(Ss, {
25731
25749
  interactive: i(),
@@ -25734,20 +25752,20 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25734
25752
  icon: z.value.icon
25735
25753
  }, null, 8, ["interactive", "name", "icon"])
25736
25754
  ])
25737
- ])) : (y(), O("span", rN, te(p(l)("Application navigation")), 1))
25755
+ ])) : (y(), O("span", iN, te(p(l)("Application navigation")), 1))
25738
25756
  ])) : L("", !0),
25739
25757
  I(pe.$slots, "toolbar"),
25740
25758
  ne("main", {
25741
- class: Q(["min-h-0 flex-1", n.height === "fill" && "flex flex-col overflow-y-auto"])
25759
+ class: Y(["min-h-0 flex-1", n.height === "fill" && "flex flex-col overflow-y-auto"])
25742
25760
  }, [
25743
25761
  I(pe.$slots, "default")
25744
25762
  ], 2),
25745
25763
  I(pe.$slots, "footer"),
25746
25764
  v.value ? I(pe.$slots, "tabbar", {}, void 0, void 0, 1) : L("", !0)
25747
- ], 8, eN)
25748
- ], 46, jR));
25765
+ ], 8, tN)
25766
+ ], 46, UR));
25749
25767
  }
25750
- }), aN = /* @__PURE__ */ N({
25768
+ }), sN = /* @__PURE__ */ N({
25751
25769
  __name: "ResponsiveView",
25752
25770
  props: {
25753
25771
  mode: { default: "auto" }
@@ -25759,7 +25777,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25759
25777
  });
25760
25778
  return (i, a) => I(i.$slots, r.value);
25761
25779
  }
25762
- }), sN = /* @__PURE__ */ N({
25780
+ }), lN = /* @__PURE__ */ N({
25763
25781
  __name: "AppSidebarTip",
25764
25782
  props: {
25765
25783
  label: {},
@@ -25777,20 +25795,20 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25777
25795
  _: 3
25778
25796
  }, 8, ["content"])) : I(t.$slots, "default", {}, void 0, void 0, 1);
25779
25797
  }
25780
- }), lN = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], uN = {
25798
+ }), uN = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], cN = {
25781
25799
  key: 1,
25782
25800
  "data-nav-badge": "",
25783
25801
  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)]"
25784
- }, cN = ["disabled", "aria-current", "onClick"], dN = {
25802
+ }, dN = ["disabled", "aria-current", "onClick"], fN = {
25785
25803
  key: 0,
25786
25804
  "data-nav-chevron-spacer": "",
25787
25805
  class: "size-3.5 shrink-0",
25788
25806
  "aria-hidden": "true"
25789
- }, fN = {
25807
+ }, pN = {
25790
25808
  key: 2,
25791
25809
  "data-nav-badge": "",
25792
25810
  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)]"
25793
- }, pN = ["aria-label"], Fd = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", hN = /* @__PURE__ */ N({
25811
+ }, hN = ["aria-label"], Fd = "min-w-0 flex-1 [overflow-wrap:anywhere] [text-wrap:pretty]", mN = /* @__PURE__ */ N({
25794
25812
  name: "AppSidebarItems",
25795
25813
  __name: "AppSidebarItems",
25796
25814
  props: {
@@ -25812,7 +25830,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25812
25830
  return y(!0), O(Se, null, nt(e.items, (m) => (y(), O(Se, {
25813
25831
  key: m.key
25814
25832
  }, [
25815
- a(m) ? L("", !0) : (y(), R(sN, {
25833
+ a(m) ? L("", !0) : (y(), R(lN, {
25816
25834
  key: 0,
25817
25835
  label: m.label,
25818
25836
  enabled: !!n.collapsed
@@ -25827,7 +25845,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25827
25845
  disabled: m.disabled,
25828
25846
  "aria-current": m.selectable && n.modelValue === m.key ? "page" : void 0,
25829
25847
  "aria-expanded": r(m),
25830
- class: Q(u(m)),
25848
+ class: Y(u(m)),
25831
25849
  style: Ve(i(n.depth)),
25832
25850
  onClick: (v) => {
25833
25851
  o("toggle", m.key), m.selectable && o("select", m);
@@ -25835,41 +25853,41 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25835
25853
  }, [
25836
25854
  K(p(Hs), {
25837
25855
  "data-nav-chevron": "",
25838
- class: Q(["size-3.5 shrink-0 text-[var(--ui-text-muted)] transition-transform", r(m) && "rotate-90"]),
25856
+ class: Y(["size-3.5 shrink-0 text-[var(--ui-text-muted)] transition-transform", r(m) && "rotate-90"]),
25839
25857
  "aria-hidden": "true"
25840
25858
  }, null, 8, ["class"]),
25841
- m.icon ? (y(), R(kt(m.icon), {
25859
+ m.icon ? (y(), R(_t(m.icon), {
25842
25860
  key: 0,
25843
25861
  class: "size-[var(--ui-icon-size,22px)] shrink-0",
25844
25862
  "aria-hidden": "true"
25845
25863
  })) : L("", !0),
25846
25864
  ne("span", {
25847
25865
  "data-nav-label": "",
25848
- class: Q(n.collapsed ? "sr-only" : Fd)
25866
+ class: Y(n.collapsed ? "sr-only" : Fd)
25849
25867
  }, te(m.label), 3),
25850
- m.badge !== void 0 ? (y(), O("span", uN, te(m.badge), 1)) : L("", !0)
25851
- ], 14, lN)) : (y(), O("button", {
25868
+ m.badge !== void 0 ? (y(), O("span", cN, te(m.badge), 1)) : L("", !0)
25869
+ ], 14, uN)) : (y(), O("button", {
25852
25870
  key: 1,
25853
25871
  type: "button",
25854
25872
  "data-nav-item": "",
25855
25873
  disabled: m.disabled,
25856
25874
  "aria-current": n.modelValue === m.key ? "page" : void 0,
25857
- class: Q(u(m)),
25875
+ class: Y(u(m)),
25858
25876
  style: Ve(i(n.depth)),
25859
25877
  onClick: (v) => o("select", m)
25860
25878
  }, [
25861
- c.value ? (y(), O("span", dN)) : L("", !0),
25862
- m.icon ? (y(), R(kt(m.icon), {
25879
+ c.value ? (y(), O("span", fN)) : L("", !0),
25880
+ m.icon ? (y(), R(_t(m.icon), {
25863
25881
  key: 1,
25864
25882
  class: "size-[var(--ui-icon-size,22px)] shrink-0",
25865
25883
  "aria-hidden": "true"
25866
25884
  })) : L("", !0),
25867
25885
  ne("span", {
25868
25886
  "data-nav-label": "",
25869
- class: Q(n.collapsed ? "sr-only" : Fd)
25887
+ class: Y(n.collapsed ? "sr-only" : Fd)
25870
25888
  }, te(m.label), 3),
25871
- m.badge !== void 0 ? (y(), O("span", fN, te(m.badge), 1)) : L("", !0)
25872
- ], 14, cN))
25889
+ m.badge !== void 0 ? (y(), O("span", pN, te(m.badge), 1)) : L("", !0)
25890
+ ], 14, dN))
25873
25891
  ]),
25874
25892
  _: 2
25875
25893
  }, 1032, ["label", "enabled"])),
@@ -25889,11 +25907,11 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25889
25907
  onSelect: f[0] || (f[0] = (v) => o("select", v)),
25890
25908
  onToggle: f[1] || (f[1] = (v) => o("toggle", v))
25891
25909
  }, null, 8, ["items", "model-value", "expanded-keys", "depth", "searching", "collapsed"])
25892
- ], 8, pN)) : L("", !0)
25910
+ ], 8, hN)) : L("", !0)
25893
25911
  ], 64))), 128);
25894
25912
  };
25895
25913
  }
25896
- }), mN = ["data-ui-top-nav-more", "data-ui-selected", "data-nav-toggle", "data-nav-item", "data-nav-contains-current", "disabled", "aria-current"], vN = { "data-nav-label": "" }, gN = ["disabled", "aria-current", "onClick"], yN = { "data-nav-label": "" }, qd = "size-[var(--ui-icon-size,18px)] shrink-0", Ld = "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)]", Bd = /* @__PURE__ */ N({
25914
+ }), 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": "" }, qd = "size-[var(--ui-icon-size,18px)] shrink-0", Ld = "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)]", Bd = /* @__PURE__ */ N({
25897
25915
  __name: "AppTopNavItems",
25898
25916
  props: {
25899
25917
  items: {},
@@ -25931,7 +25949,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25931
25949
  return (c, u) => (y(!0), O(Se, null, nt(n.items, (d) => (y(), O(Se, {
25932
25950
  key: d.key
25933
25951
  }, [
25934
- d.children?.length || n.overflow ? (y(), R(CT, {
25952
+ d.children?.length || n.overflow ? (y(), R(PT, {
25935
25953
  key: 0,
25936
25954
  items: i(d),
25937
25955
  "data-ui-top-nav-overflow-menu": n.overflow ? "" : void 0,
@@ -25948,25 +25966,25 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25948
25966
  "data-nav-contains-current": r(d, n.modelValue) || void 0,
25949
25967
  disabled: d.disabled,
25950
25968
  "aria-current": !n.overflow && d.selectable && n.modelValue === d.key ? "page" : void 0,
25951
- class: Q(l(!n.overflow && n.modelValue === d.key || r(d, n.modelValue)))
25969
+ class: Y(l(!n.overflow && n.modelValue === d.key || r(d, n.modelValue)))
25952
25970
  }, [
25953
- d.icon ? (y(), R(kt(d.icon), {
25971
+ d.icon ? (y(), R(_t(d.icon), {
25954
25972
  key: 0,
25955
- class: Q(qd),
25973
+ class: Y(qd),
25956
25974
  "aria-hidden": "true"
25957
25975
  })) : L("", !0),
25958
- ne("span", vN, te(d.label), 1),
25976
+ ne("span", gN, te(d.label), 1),
25959
25977
  d.badge !== void 0 ? (y(), O("span", {
25960
25978
  key: 1,
25961
25979
  "data-nav-badge": "",
25962
- class: Q(Ld)
25980
+ class: Y(Ld)
25963
25981
  }, te(d.badge), 1)) : L("", !0),
25964
25982
  K(p(lr), {
25965
25983
  "data-nav-chevron": "",
25966
25984
  class: "size-3.5 shrink-0 text-[var(--ui-text-muted)]",
25967
25985
  "aria-hidden": "true"
25968
25986
  })
25969
- ], 10, mN)
25987
+ ], 10, vN)
25970
25988
  ]),
25971
25989
  _: 2
25972
25990
  }, 1032, ["items", "data-ui-top-nav-overflow-menu", "onSelect"])) : (y(), O("button", {
@@ -25975,24 +25993,24 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
25975
25993
  "data-nav-item": "",
25976
25994
  disabled: d.disabled,
25977
25995
  "aria-current": n.modelValue === d.key ? "page" : void 0,
25978
- class: Q(l(n.modelValue === d.key)),
25996
+ class: Y(l(n.modelValue === d.key)),
25979
25997
  onClick: (f) => o("select", d)
25980
25998
  }, [
25981
- d.icon ? (y(), R(kt(d.icon), {
25999
+ d.icon ? (y(), R(_t(d.icon), {
25982
26000
  key: 0,
25983
- class: Q(qd),
26001
+ class: Y(qd),
25984
26002
  "aria-hidden": "true"
25985
26003
  })) : L("", !0),
25986
- ne("span", yN, te(d.label), 1),
26004
+ ne("span", bN, te(d.label), 1),
25987
26005
  d.badge !== void 0 ? (y(), O("span", {
25988
26006
  key: 1,
25989
26007
  "data-nav-badge": "",
25990
- class: Q(Ld)
26008
+ class: Y(Ld)
25991
26009
  }, te(d.badge), 1)) : L("", !0)
25992
- ], 10, gN))
26010
+ ], 10, yN))
25993
26011
  ], 64))), 128));
25994
26012
  }
25995
- }), bN = ["aria-label"], wN = ["aria-label", "aria-hidden", "inert"], _N = ["data-ui-overflowed", "aria-hidden", "inert"], SN = ["aria-hidden", "inert"], xN = /* @__PURE__ */ N({
26013
+ }), wN = ["aria-label"], _N = ["aria-label", "aria-hidden", "inert"], SN = ["data-ui-overflowed", "aria-hidden", "inert"], xN = ["aria-hidden", "inert"], kN = /* @__PURE__ */ N({
25996
26014
  __name: "AppTopNav",
25997
26015
  props: {
25998
26016
  groups: {},
@@ -26016,25 +26034,25 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26016
26034
  const P = getComputedStyle(_), b = _.clientWidth - v(P.paddingLeft) - v(P.paddingRight);
26017
26035
  if (b <= 0) return;
26018
26036
  const x = v(P.columnGap), k = [];
26019
- if (_.querySelectorAll("[data-nav-group]").forEach((B, Y) => {
26037
+ if (_.querySelectorAll("[data-nav-group]").forEach((B, X) => {
26020
26038
  const se = getComputedStyle(B);
26021
26039
  B.querySelectorAll("[data-ui-top-nav-item]").forEach((fe, Z) => {
26022
- const re = Z === 0 ? v(se.marginLeft) + v(se.marginRight) + v(se.paddingLeft) + v(se.paddingRight) + v(se.borderLeftWidth) + v(se.borderRightWidth) + (Y ? x : 0) : v(se.columnGap);
26040
+ const re = Z === 0 ? v(se.marginLeft) + v(se.marginRight) + v(se.paddingLeft) + v(se.paddingRight) + v(se.borderLeftWidth) + v(se.borderRightWidth) + (X ? x : 0) : v(se.columnGap);
26023
26041
  k.push(fe.getBoundingClientRect().width + re);
26024
26042
  });
26025
26043
  }), !k.length || k.every((B) => B === 0)) return;
26026
26044
  let A = k.length;
26027
- if (k.reduce((B, Y) => B + Y, 0) > b) {
26045
+ if (k.reduce((B, X) => B + X, 0) > b) {
26028
26046
  const B = b - a.value.getBoundingClientRect().width - x;
26029
- let Y = 0;
26047
+ let X = 0;
26030
26048
  A = 0;
26031
26049
  for (const se of k) {
26032
- if (Y + se > B) break;
26033
- Y += se, A++;
26050
+ if (X + se > B) break;
26051
+ X += se, A++;
26034
26052
  }
26035
26053
  }
26036
26054
  if (l.value === A) return;
26037
- const T = document.activeElement, D = T instanceof Element && [..._.querySelectorAll("[data-ui-top-nav-item]")].some((B, Y) => Y >= A && B.contains(T)), z = a.value.contains(T);
26055
+ const T = document.activeElement, D = T instanceof Element && [..._.querySelectorAll("[data-ui-top-nav-item]")].some((B, X) => X >= A && B.contains(T)), z = a.value.contains(T);
26038
26056
  l.value = A, ze(() => {
26039
26057
  D ? a.value?.querySelector("button")?.focus() : z && !u.value.length && _.querySelector("[data-ui-top-nav-item] button")?.focus();
26040
26058
  });
@@ -26060,7 +26078,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26060
26078
  inert: x[0].index >= l.value,
26061
26079
  style: Ve(x[0].index >= l.value ? h : void 0),
26062
26080
  "data-nav-group": "",
26063
- class: Q(["flex shrink-0 items-center gap-[var(--ui-space-1)]", k > 0 && "ml-1 border-l border-[var(--ui-border-subtle)] pl-2"])
26081
+ class: Y(["flex shrink-0 items-center gap-[var(--ui-space-1)]", k > 0 && "ml-1 border-l border-[var(--ui-border-subtle)] pl-2"])
26064
26082
  }, [
26065
26083
  (y(!0), O(Se, null, nt(x, ({ item: A, index: T }) => (y(), O("div", {
26066
26084
  key: A.key,
@@ -26077,8 +26095,8 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26077
26095
  "model-value": n.modelValue,
26078
26096
  onSelect: P[0] || (P[0] = (D) => o("select", D))
26079
26097
  }, null, 8, ["items", "model-value"]))
26080
- ], 12, _N))), 128))
26081
- ], 14, wN))), 128)),
26098
+ ], 12, SN))), 128))
26099
+ ], 14, _N))), 128)),
26082
26100
  ne("div", {
26083
26101
  ref_key: "more",
26084
26102
  ref: a,
@@ -26095,14 +26113,14 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26095
26113
  overflow: "",
26096
26114
  onSelect: P[1] || (P[1] = (b) => o("select", b))
26097
26115
  }, null, 8, ["items", "model-value"]))
26098
- ], 12, SN)
26099
- ], 8, bN));
26116
+ ], 12, xN)
26117
+ ], 8, wN));
26100
26118
  }
26101
- }), kN = ["aria-label", "data-ui-sidebar-collapsed"], CN = ["aria-expanded", "onClick"], PN = {
26119
+ }), CN = ["aria-label", "data-ui-sidebar-collapsed"], PN = ["aria-expanded", "onClick"], AN = {
26102
26120
  key: 1,
26103
26121
  "data-nav-group-label": "",
26104
26122
  class: "flex h-6 items-center px-[11px] text-[12px] font-bold text-[var(--ui-text-secondary)]"
26105
- }, AN = /* @__PURE__ */ N({
26123
+ }, EN = /* @__PURE__ */ N({
26106
26124
  __name: "AppSidebar",
26107
26125
  props: {
26108
26126
  modelValue: {},
@@ -26161,7 +26179,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26161
26179
  function P(b) {
26162
26180
  b.disabled || (r("update:modelValue", b.key), r("select", b), w(b.key));
26163
26181
  }
26164
- return (b, x) => p(a) ? (y(), R(xN, {
26182
+ return (b, x) => p(a) ? (y(), R(kN, {
26165
26183
  key: 0,
26166
26184
  groups: p(o).groups,
26167
26185
  "model-value": p(o).modelValue,
@@ -26174,7 +26192,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26174
26192
  "data-ui-sidebar-collapsed": p(i) ? "true" : void 0,
26175
26193
  "data-syno-pkg-land-ui": ""
26176
26194
  }, [
26177
- p(o).searchable && !p(i) ? (y(), R(eI, {
26195
+ p(o).searchable && !p(i) ? (y(), R(tI, {
26178
26196
  key: 0,
26179
26197
  modelValue: s.value,
26180
26198
  "onUpdate:modelValue": x[0] || (x[0] = (k) => s.value = k),
@@ -26184,7 +26202,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26184
26202
  }, null, 8, ["modelValue", "placeholder", "clear-label"])) : L("", !0),
26185
26203
  (y(!0), O(Se, null, nt(u.value, ({ group: k, id: A, items: T }, D) => (y(), O("section", {
26186
26204
  key: A,
26187
- class: Q(D > 0 && "mt-2 border-t border-[var(--ui-border-subtle)] pt-2")
26205
+ class: Y(D > 0 && "mt-2 border-t border-[var(--ui-border-subtle)] pt-2")
26188
26206
  }, [
26189
26207
  k.label && p(o).collapsible && !p(i) ? (y(), O("button", {
26190
26208
  key: 0,
@@ -26196,12 +26214,12 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26196
26214
  onClick: (z) => f(A)
26197
26215
  }, [
26198
26216
  K(p(lr), {
26199
- class: Q(["size-3 shrink-0 transition-transform", !h(A) && "-rotate-90"]),
26217
+ class: Y(["size-3 shrink-0 transition-transform", !h(A) && "-rotate-90"]),
26200
26218
  "aria-hidden": "true"
26201
26219
  }, null, 8, ["class"]),
26202
26220
  Ne(" " + te(k.label), 1)
26203
- ], 8, CN)) : k.label && !p(i) ? (y(), O("div", PN, te(k.label), 1)) : L("", !0),
26204
- h(A) ? (y(), R(hN, {
26221
+ ], 8, PN)) : k.label && !p(i) ? (y(), O("div", AN, te(k.label), 1)) : L("", !0),
26222
+ h(A) ? (y(), R(mN, {
26205
26223
  key: 2,
26206
26224
  items: T,
26207
26225
  "model-value": p(o).modelValue,
@@ -26213,15 +26231,15 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26213
26231
  onToggle: _
26214
26232
  }, null, 8, ["items", "model-value", "expanded-keys", "searching", "collapsed"])) : L("", !0)
26215
26233
  ], 2))), 128))
26216
- ], 8, kN));
26234
+ ], 8, CN));
26217
26235
  }
26218
- }), EN = {
26236
+ }), ON = {
26219
26237
  key: 0,
26220
26238
  class: "flex shrink-0 items-center gap-1.5"
26221
- }, ON = { class: "min-w-0 flex-1" }, $N = {
26239
+ }, $N = { class: "min-w-0 flex-1" }, TN = {
26222
26240
  key: 1,
26223
26241
  class: "ml-auto flex shrink-0 items-center gap-2"
26224
- }, TN = /* @__PURE__ */ N({
26242
+ }, IN = /* @__PURE__ */ N({
26225
26243
  __name: "AppToolbar",
26226
26244
  props: {
26227
26245
  height: { default: "var(--ui-toolbar-height)" }
@@ -26233,29 +26251,29 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26233
26251
  style: Ve({ minHeight: e.height }),
26234
26252
  "data-syno-pkg-land-ui": ""
26235
26253
  }, [
26236
- t.$slots.leading ? (y(), O("div", EN, [
26254
+ t.$slots.leading ? (y(), O("div", ON, [
26237
26255
  I(t.$slots, "leading")
26238
26256
  ])) : L("", !0),
26239
- ne("div", ON, [
26257
+ ne("div", $N, [
26240
26258
  I(t.$slots, "default")
26241
26259
  ]),
26242
- t.$slots.actions ? (y(), O("div", $N, [
26260
+ t.$slots.actions ? (y(), O("div", TN, [
26243
26261
  I(t.$slots, "actions")
26244
26262
  ])) : L("", !0)
26245
26263
  ], 4));
26246
26264
  }
26247
- }), IN = { class: "min-w-0 flex-auto" }, RN = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, NN = ["title"], DN = {
26265
+ }), RN = { class: "min-w-0 flex-auto" }, NN = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, DN = ["title"], MN = {
26248
26266
  key: 0,
26249
26267
  "data-ui-page-header-meta": "",
26250
26268
  class: "flex shrink-0 items-center gap-2 whitespace-nowrap"
26251
- }, MN = {
26269
+ }, zN = {
26252
26270
  key: 0,
26253
26271
  class: "mt-1 max-w-3xl [contain:inline-size] text-[13px] leading-5 text-[var(--ui-text-secondary)]"
26254
- }, zN = {
26272
+ }, FN = {
26255
26273
  key: 0,
26256
26274
  "data-ui-page-header-actions": "",
26257
26275
  class: "ml-auto flex max-w-full shrink-0 flex-wrap items-center justify-end gap-2 [&>*]:w-auto [&>*]:shrink-0"
26258
- }, FN = /* @__PURE__ */ N({
26276
+ }, qN = /* @__PURE__ */ N({
26259
26277
  __name: "PageHeader",
26260
26278
  props: {
26261
26279
  title: {},
@@ -26265,27 +26283,27 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26265
26283
  setup(e) {
26266
26284
  return (t, n) => (y(), O("div", {
26267
26285
  "data-ui-page-header": "",
26268
- class: Q([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)]"]),
26286
+ class: Y([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)]"]),
26269
26287
  "data-syno-pkg-land-ui": ""
26270
26288
  }, [
26271
- ne("div", IN, [
26272
- ne("div", RN, [
26289
+ ne("div", RN, [
26290
+ ne("div", NN, [
26273
26291
  ne("h1", {
26274
26292
  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)]",
26275
26293
  title: e.title
26276
- }, te(e.title), 9, NN),
26277
- t.$slots.meta ? (y(), O("div", DN, [
26294
+ }, te(e.title), 9, DN),
26295
+ t.$slots.meta ? (y(), O("div", MN, [
26278
26296
  I(t.$slots, "meta")
26279
26297
  ])) : L("", !0)
26280
26298
  ]),
26281
- e.description ? (y(), O("p", MN, te(e.description), 1)) : L("", !0)
26299
+ e.description ? (y(), O("p", zN, te(e.description), 1)) : L("", !0)
26282
26300
  ]),
26283
- t.$slots.actions ? (y(), O("div", zN, [
26301
+ t.$slots.actions ? (y(), O("div", FN, [
26284
26302
  I(t.$slots, "actions")
26285
26303
  ])) : L("", !0)
26286
26304
  ], 2));
26287
26305
  }
26288
- }), qN = ["data-width", "data-height", "data-page-surface"], LN = /* @__PURE__ */ N({
26306
+ }), LN = ["data-width", "data-height", "data-page-surface"], BN = /* @__PURE__ */ N({
26289
26307
  __name: "PageContent",
26290
26308
  props: {
26291
26309
  width: { default: "fill" },
@@ -26298,7 +26316,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26298
26316
  return t.width === "readable" ? "var(--ui-page-readable-width)" : t.width;
26299
26317
  });
26300
26318
  return (r, i) => (y(), O("div", {
26301
- class: Q(["box-border w-full min-w-0", [
26319
+ class: Y(["box-border w-full min-w-0", [
26302
26320
  e.surface !== "none" && "px-[var(--ui-page-padding-x)]",
26303
26321
  n.value && "flex h-full min-h-0 flex-col overflow-hidden"
26304
26322
  ]]),
@@ -26309,18 +26327,18 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26309
26327
  }, [
26310
26328
  ne("div", {
26311
26329
  "data-page-content-body": "",
26312
- class: Q(["flex min-w-0 flex-col gap-[var(--ui-section-gap)] [&>[data-ui-page-header]]:mb-[calc(var(--ui-section-gap)*-1)]", n.value && "min-h-0 flex-1 [&>:last-child]:min-h-0 [&>:last-child]:flex-1"]),
26330
+ class: Y(["flex min-w-0 flex-col gap-[var(--ui-section-gap)] [&>[data-ui-page-header]]:mb-[calc(var(--ui-section-gap)*-1)]", n.value && "min-h-0 flex-1 [&>:last-child]:min-h-0 [&>:last-child]:flex-1"]),
26313
26331
  style: Ve({ "--ui-page-padding-x": "0px", maxWidth: o.value })
26314
26332
  }, [
26315
26333
  I(r.$slots, "default")
26316
26334
  ], 6)
26317
- ], 10, qN));
26335
+ ], 10, LN));
26318
26336
  }
26319
- }), BN = ["aria-label", "data-overflow-start", "data-overflow-end"], VN = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], jN = {
26337
+ }), VN = ["aria-label", "data-overflow-start", "data-overflow-end"], jN = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], UN = {
26320
26338
  key: 0,
26321
26339
  class: "ui-section-tabs-actions",
26322
26340
  "data-ui-section-tabs-actions": ""
26323
- }, UN = ["data-state"], WN = /* @__PURE__ */ N({
26341
+ }, WN = ["data-state"], KN = /* @__PURE__ */ N({
26324
26342
  inheritAttrs: !1,
26325
26343
  __name: "SectionTabs",
26326
26344
  props: {
@@ -26332,7 +26350,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26332
26350
  },
26333
26351
  emits: ["update:modelValue"],
26334
26352
  setup(e, { emit: t }) {
26335
- const n = (f, { slots: h }) => h.default?.() ?? null, o = Bn(), r = e, i = t, a = /* @__PURE__ */ M(null), s = HT(a, () => r.items, () => r.modelValue), { overflowStart: l, overflowEnd: c } = GT(a, () => r.modelValue), u = {
26353
+ const n = (f, { slots: h }) => h.default?.() ?? null, o = Bn(), r = e, i = t, a = /* @__PURE__ */ M(null), s = GT(a, () => r.items, () => r.modelValue), { overflowStart: l, overflowEnd: c } = JT(a, () => r.modelValue), u = {
26336
26354
  ArrowRight: (f, h) => (f + 1) % h,
26337
26355
  ArrowLeft: (f, h) => (f - 1 + h) % h,
26338
26356
  Home: () => 0,
@@ -26342,9 +26360,9 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26342
26360
  const h = u[f.key], m = Array.from(a.value?.querySelectorAll("[data-ui-tab-value]:not(:disabled)") ?? []), v = m.indexOf(f.target);
26343
26361
  !h || v < 0 || (f.preventDefault(), m[h(v, m.length)]?.focus());
26344
26362
  }
26345
- return (f, h) => (y(), R(kt(r.fill ? "div" : n), st(dt(r.fill ? { class: "ui-section-tabs-fill", "data-ui-section-tabs-fill": "", "data-syno-pkg-land-ui": "" } : {})), {
26363
+ return (f, h) => (y(), R(_t(r.fill ? "div" : n), st(dt(r.fill ? { class: "ui-section-tabs-fill", "data-ui-section-tabs-fill": "", "data-syno-pkg-land-ui": "" } : {})), {
26346
26364
  default: $(() => [
26347
- (y(), R(kt(f.$slots.actions ? "div" : n), st(dt(f.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
26365
+ (y(), R(_t(f.$slots.actions ? "div" : n), st(dt(f.$slots.actions ? { class: "ui-section-tabs-row", "data-ui-section-tabs-row": "", "data-syno-pkg-land-ui": "" } : {})), {
26348
26366
  default: $(() => [
26349
26367
  ne("nav", oe({
26350
26368
  ref_key: "bar",
@@ -26361,19 +26379,19 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26361
26379
  disabled: m.disabled,
26362
26380
  "data-ui-tab-value": m.value,
26363
26381
  "aria-current": r.modelValue === m.value ? "page" : void 0,
26364
- class: Q([
26382
+ class: Y([
26365
26383
  "relative h-[30px] [@media(pointer:coarse)]:h-9 shrink-0 border-0 bg-transparent px-2 text-[length:var(--ui-font-size-tab)] font-bold outline-none transition-colors duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)] disabled:opacity-40",
26366
26384
  r.modelValue === m.value ? "text-[var(--ui-primary)]" : "text-[var(--ui-text)] enabled:hover:bg-[var(--ui-surface-hover)] enabled:hover:text-[var(--ui-text)]"
26367
26385
  ]),
26368
26386
  onClick: (v) => i("update:modelValue", m.value)
26369
- }, te(m.label), 11, VN))), 128)),
26387
+ }, te(m.label), 11, jN))), 128)),
26370
26388
  ne("span", {
26371
26389
  class: "ui-tab-indicator",
26372
26390
  style: Ve(p(s)),
26373
26391
  "aria-hidden": "true"
26374
26392
  }, null, 4)
26375
- ], 16, BN),
26376
- f.$slots.actions ? (y(), O("div", jN, [
26393
+ ], 16, VN),
26394
+ f.$slots.actions ? (y(), O("div", UN, [
26377
26395
  I(f.$slots, "actions")
26378
26396
  ])) : L("", !0)
26379
26397
  ]),
@@ -26389,7 +26407,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26389
26407
  "data-syno-pkg-land-ui": ""
26390
26408
  }, [
26391
26409
  I(f.$slots, `panel-${m.value}`)
26392
- ], 8, UN)), [
26410
+ ], 8, WN)), [
26393
26411
  [ko, r.modelValue === m.value]
26394
26412
  ]) : L("", !0)
26395
26413
  ], 64))), 128)) : f.$slots[`panel-${r.modelValue}`] ? (y(), O("div", {
@@ -26403,7 +26421,7 @@ const jR = ["data-ui-layout-mode", "data-ui-navigation", "data-ui-layout-height"
26403
26421
  _: 3
26404
26422
  }, 16));
26405
26423
  }
26406
- }), KN = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), ZN = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
26424
+ }), ZN = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), HN = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
26407
26425
  function Qi(e) {
26408
26426
  if (typeof e != "object" || e === null || Array.isArray(e)) return !1;
26409
26427
  const t = Object.getPrototypeOf(e);
@@ -26415,18 +26433,18 @@ function ea(e, t) {
26415
26433
  function ml(e, t, n) {
26416
26434
  e[t] = n;
26417
26435
  }
26418
- function HN(e) {
26436
+ function GN(e) {
26419
26437
  return Reflect.ownKeys(e).filter((t) => ea(e, t) !== void 0);
26420
26438
  }
26421
26439
  function vl(e, t) {
26422
26440
  const n = { ...e };
26423
- for (const o of HN(t)) {
26441
+ for (const o of GN(t)) {
26424
26442
  const r = ea(t, o), i = ea(n, o);
26425
26443
  Qi(i) && Qi(r) ? ml(n, o, vl(i, r)) : ml(n, o, r);
26426
26444
  }
26427
26445
  return n;
26428
26446
  }
26429
- function GN(e) {
26447
+ function JN(e) {
26430
26448
  const t = {};
26431
26449
  for (const n of Reflect.ownKeys(e)) {
26432
26450
  const o = ea(e, n);
@@ -26435,15 +26453,15 @@ function GN(e) {
26435
26453
  return t;
26436
26454
  }
26437
26455
  function Hm(e, t, n = {}) {
26438
- const o = Le(ZN, null), r = Le(KN, null);
26456
+ const o = Le(HN, null), r = Le(ZN, null);
26439
26457
  return C(() => {
26440
26458
  const i = [n, r?.value?.[e], o?.value?.[e]];
26441
26459
  let a = {};
26442
26460
  for (const s of i) s && (a = vl(a, s));
26443
- return vl(a, GN(t));
26461
+ return vl(a, JN(t));
26444
26462
  });
26445
26463
  }
26446
- const JN = ["data-layout-direction"], YN = /* @__PURE__ */ N({
26464
+ const YN = ["data-layout-direction"], XN = /* @__PURE__ */ N({
26447
26465
  __name: "Form",
26448
26466
  props: {
26449
26467
  rules: {},
@@ -26523,12 +26541,12 @@ const JN = ["data-layout-direction"], YN = /* @__PURE__ */ N({
26523
26541
  "data-ui-form": "",
26524
26542
  "data-layout-direction": c.value,
26525
26543
  "data-syno-pkg-land-ui": "",
26526
- onSubmit: xt(x, ["prevent"])
26544
+ onSubmit: kt(x, ["prevent"])
26527
26545
  }, [
26528
26546
  I(k.$slots, "default")
26529
- ], 44, JN));
26547
+ ], 44, YN));
26530
26548
  }
26531
- }), XN = "blur", QN = {
26549
+ }), QN = "blur", eD = {
26532
26550
  string: "Value must be a string",
26533
26551
  number: "Value must be a number",
26534
26552
  integer: "Value must be an integer",
@@ -26541,15 +26559,15 @@ const JN = ["data-layout-direction"], YN = /* @__PURE__ */ N({
26541
26559
  function gl(e) {
26542
26560
  return e ? Array.isArray(e) ? [...e] : [e] : [];
26543
26561
  }
26544
- function eD(e, t) {
26562
+ function tD(e, t) {
26545
26563
  return e == null ? !0 : t === "array" || Array.isArray(e) ? Array.isArray(e) && e.length === 0 : typeof e == "string" ? e.trim() === "" : !1;
26546
26564
  }
26547
- function tD(e) {
26565
+ function nD(e) {
26548
26566
  if (typeof e == "string" || Array.isArray(e)) return e.length;
26549
26567
  if (typeof e == "number") return e;
26550
26568
  if (e instanceof Date) return e.getTime();
26551
26569
  }
26552
- function nD(e, t) {
26570
+ function oD(e, t) {
26553
26571
  switch (t) {
26554
26572
  case "string":
26555
26573
  return typeof e == "string";
@@ -26574,13 +26592,13 @@ function nD(e, t) {
26574
26592
  return e instanceof Date && !Number.isNaN(e.getTime());
26575
26593
  }
26576
26594
  }
26577
- function oD(e) {
26595
+ function rD(e) {
26578
26596
  return typeof e == "object" && e !== null && typeof e.then == "function";
26579
26597
  }
26580
26598
  function br(e, t) {
26581
26599
  return e instanceof Error ? e.message : typeof e == "string" ? e : t("Value does not match the expected format");
26582
26600
  }
26583
- async function rD(e, t, n) {
26601
+ async function iD(e, t, n) {
26584
26602
  const o = e.validator ?? e.asyncValidator;
26585
26603
  if (!o) return null;
26586
26604
  let r = null, i = !1;
@@ -26593,7 +26611,7 @@ async function rD(e, t, n) {
26593
26611
  } catch (l) {
26594
26612
  return i ? r : br(l, n);
26595
26613
  }
26596
- if (oD(s))
26614
+ if (rD(s))
26597
26615
  try {
26598
26616
  const l = await s;
26599
26617
  i || (r = l === !0 || l === void 0 || l === null ? null : br(l, n));
@@ -26603,35 +26621,35 @@ async function rD(e, t, n) {
26603
26621
  else !i && s !== void 0 && s !== !0 && (r = s === !1 ? e.message ?? n("Value does not match the expected format") : br(s, n));
26604
26622
  return r;
26605
26623
  }
26606
- async function iD(e, t, n) {
26624
+ async function aD(e, t, n) {
26607
26625
  const o = e.transform ? e.transform(t) : t;
26608
- if (eD(o, e.type))
26626
+ if (tD(o, e.type))
26609
26627
  return e.required ? e.message ?? n("Value is required") : null;
26610
- if (e.type && !nD(o, e.type)) return e.message ?? n(QN[e.type]);
26611
- const r = tD(o);
26612
- return e.len !== void 0 && r !== e.len ? e.message ?? n("Value must be exactly {len} characters", { len: e.len }) : e.min !== void 0 && r !== void 0 && r < e.min ? e.message ?? n("Value must be at least {min}", { min: e.min }) : e.max !== void 0 && r !== void 0 && r > e.max ? e.message ?? n("Value must be at most {max}", { max: e.max }) : e.pattern && (e.pattern.lastIndex = 0, !e.pattern.test(String(o))) ? e.message ?? n("Value does not match the expected format") : e.enum && !e.enum.includes(o) ? e.message ?? n("Value is not one of the allowed options") : rD(e, o, n);
26628
+ if (e.type && !oD(o, e.type)) return e.message ?? n(eD[e.type]);
26629
+ const r = nD(o);
26630
+ return e.len !== void 0 && r !== e.len ? e.message ?? n("Value must be exactly {len} characters", { len: e.len }) : e.min !== void 0 && r !== void 0 && r < e.min ? e.message ?? n("Value must be at least {min}", { min: e.min }) : e.max !== void 0 && r !== void 0 && r > e.max ? e.message ?? n("Value must be at most {max}", { max: e.max }) : e.pattern && (e.pattern.lastIndex = 0, !e.pattern.test(String(o))) ? e.message ?? n("Value does not match the expected format") : e.enum && !e.enum.includes(o) ? e.message ?? n("Value is not one of the allowed options") : iD(e, o, n);
26613
26631
  }
26614
- function aD(e, t) {
26632
+ function sD(e, t) {
26615
26633
  return e.trigger ? Array.isArray(e.trigger) ? e.trigger : [e.trigger] : [t];
26616
26634
  }
26617
- async function sD(e, t, n = {}) {
26618
- const o = n.defaultTrigger ?? XN, r = n.trigger ?? null, i = n.text ?? ((a, s) => Eh("en", a, s));
26635
+ async function lD(e, t, n = {}) {
26636
+ const o = n.defaultTrigger ?? QN, r = n.trigger ?? null, i = n.text ?? ((a, s) => Eh("en", a, s));
26619
26637
  for (const a of gl(t)) {
26620
- if (r !== null && !aD(a, o).includes(r)) continue;
26621
- const s = await iD(a, e, i);
26638
+ if (r !== null && !sD(a, o).includes(r)) continue;
26639
+ const s = await aD(a, e, i);
26622
26640
  if (s) return s;
26623
26641
  }
26624
26642
  return null;
26625
26643
  }
26626
- const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26644
+ const uD = ["data-direction", "data-status"], cD = ["id", "for"], dD = {
26627
26645
  key: 0,
26628
26646
  class: "ml-0.5 text-[var(--ui-danger)]",
26629
26647
  "aria-hidden": "true"
26630
- }, dD = { class: "flex items-start gap-2" }, fD = {
26648
+ }, fD = { class: "flex items-start gap-2" }, pD = {
26631
26649
  key: 0,
26632
26650
  class: "flex min-h-[var(--ui-control-md)] shrink-0 items-center",
26633
26651
  "data-field-after": ""
26634
- }, pD = ["id"], hD = ["id"], mD = /* @__PURE__ */ N({
26652
+ }, hD = ["id"], mD = ["id"], vD = /* @__PURE__ */ N({
26635
26653
  __name: "FormItem",
26636
26654
  props: {
26637
26655
  modelValue: {},
@@ -26711,7 +26729,7 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26711
26729
  function T() {
26712
26730
  b.value = _.value;
26713
26731
  }
26714
- const D = /* @__PURE__ */ M(""), z = /* @__PURE__ */ M(""), B = /* @__PURE__ */ M(""), Y = /* @__PURE__ */ M(""), se = /* @__PURE__ */ M(!1), fe = /* @__PURE__ */ M(!1), Z = C(() => r.disabled === !0 || se.value || c?.disabled === !0), re = C(() => Y.value || s.value.validateStatus || D.value), le = C(() => re.value === "error"), ve = C(() => B.value || z.value || s.value.help), $e = C(() => B.value ? B.value : le.value && !s.value.hideValidateMessage && z.value || s.value.help), xe = pr(d), ke = C(() => {
26732
+ const D = /* @__PURE__ */ M(""), z = /* @__PURE__ */ M(""), B = /* @__PURE__ */ M(""), X = /* @__PURE__ */ M(""), se = /* @__PURE__ */ M(!1), fe = /* @__PURE__ */ M(!1), Z = C(() => r.disabled === !0 || se.value || c?.disabled === !0), re = C(() => X.value || s.value.validateStatus || D.value), le = C(() => re.value === "error"), ve = C(() => B.value || z.value || s.value.help), $e = C(() => B.value ? B.value : le.value && !s.value.hideValidateMessage && z.value || s.value.help), xe = pr(d), ke = C(() => {
26715
26733
  const H = s.value.direction ?? l?.direction ?? "auto";
26716
26734
  return H === "auto" ? xe.value > 0 && xe.value < 520 ? "vertical" : "horizontal" : H;
26717
26735
  }), Re = C(() => {
@@ -26749,7 +26767,7 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26749
26767
  if (!ue.length) return null;
26750
26768
  const Ee = ++S;
26751
26769
  D.value = "validating", i("validating");
26752
- const De = await sD(_.value, ue, {
26770
+ const De = await lD(_.value, ue, {
26753
26771
  trigger: H,
26754
26772
  defaultTrigger: s.value.defaultValidateTrigger,
26755
26773
  text: o
@@ -26768,20 +26786,20 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26768
26786
  function j(H) {
26769
26787
  H !== void 0 && (B.value = H), fe.value = !0;
26770
26788
  }
26771
- function X() {
26789
+ function Q() {
26772
26790
  fe.value = !1;
26773
26791
  }
26774
26792
  function ee(H, ue = "error") {
26775
- B.value = H, Y.value = ue, Re.value === "popup" && (fe.value = !0);
26793
+ B.value = H, X.value = ue, Re.value === "popup" && (fe.value = !0);
26776
26794
  }
26777
26795
  function J() {
26778
- B.value = "", Y.value = "", fe.value = !1;
26796
+ B.value = "", X.value = "", fe.value = !1;
26779
26797
  }
26780
26798
  function W(H) {
26781
26799
  se.value = H;
26782
26800
  }
26783
26801
  function ge() {
26784
- S++, D.value = "", z.value = "", B.value = "", Y.value = "", fe.value = !1, r.initialValue !== void 0 && (g.value ? i("update:modelValue", r.initialValue) : w.value = r.initialValue);
26802
+ S++, D.value = "", z.value = "", B.value = "", X.value = "", fe.value = !1, r.initialValue !== void 0 && (g.value ? i("update:modelValue", r.initialValue) : w.value = r.initialValue);
26785
26803
  }
26786
26804
  function ie() {
26787
26805
  const H = d.value;
@@ -26820,7 +26838,7 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26820
26838
  message: ve,
26821
26839
  validate: F,
26822
26840
  showPopup: j,
26823
- hidePopup: X,
26841
+ hidePopup: Q,
26824
26842
  setValue: k,
26825
26843
  setDisabled: W,
26826
26844
  onBlur: G,
@@ -26850,7 +26868,7 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26850
26868
  setInvalid: ee,
26851
26869
  resetInvalid: J,
26852
26870
  showPopup: j,
26853
- hidePopup: X,
26871
+ hidePopup: Q,
26854
26872
  setFieldValue: k,
26855
26873
  setInitValue: A,
26856
26874
  setFieldDisabled: W,
@@ -26861,19 +26879,19 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26861
26879
  "data-form-item": "",
26862
26880
  "data-direction": ke.value,
26863
26881
  style: Ve(zt.value),
26864
- class: Q(p(On)("min-w-0", le.value && !p(s).hideValidateStatusCls && "has-error")),
26882
+ class: Y(p(On)("min-w-0", le.value && !p(s).hideValidateStatusCls && "has-error")),
26865
26883
  "data-status": re.value || void 0,
26866
26884
  "data-syno-pkg-land-ui": "",
26867
26885
  onMouseenter: ue[1] || (ue[1] = (Ee) => Re.value === "popup" && j()),
26868
- onMouseleave: ue[2] || (ue[2] = (Ee) => Re.value === "popup" && X()),
26886
+ onMouseleave: ue[2] || (ue[2] = (Ee) => Re.value === "popup" && Q()),
26869
26887
  onFocusin: ue[3] || (ue[3] = (Ee) => Re.value === "popup" && j()),
26870
- onFocusout: ue[4] || (ue[4] = (Ee) => Re.value === "popup" && X())
26888
+ onFocusout: ue[4] || (ue[4] = (Ee) => Re.value === "popup" && Q())
26871
26889
  }, [
26872
26890
  ft.value ? (y(), O("div", {
26873
26891
  key: 0,
26874
26892
  "data-form-label": "",
26875
26893
  style: Ve(Fe.value),
26876
- class: Q([
26894
+ class: Y([
26877
26895
  "min-w-0 shrink-0 break-words [word-break:keep-all] text-[13px] leading-5 text-[var(--ui-text)]",
26878
26896
  ke.value === "horizontal" ? "pt-1 text-left" : void 0,
26879
26897
  p(s).disableLabel || Z.value ? "opacity-40" : void 0
@@ -26888,29 +26906,29 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26888
26906
  I(H.$slots, "label", {}, () => [
26889
26907
  Ne(te(p(s).label), 1)
26890
26908
  ]),
26891
- p(s).requiredMark ? (y(), O("span", cD, "*")) : L("", !0)
26892
- ], 8, uD)
26909
+ p(s).requiredMark ? (y(), O("span", dD, "*")) : L("", !0)
26910
+ ], 8, cD)
26893
26911
  ], 6)) : L("", !0),
26894
26912
  ne("div", {
26895
- class: Q(["relative min-w-0 flex-1", p(s).disableControl ? "opacity-40" : void 0])
26913
+ class: Y(["relative min-w-0 flex-1", p(s).disableControl ? "opacity-40" : void 0])
26896
26914
  }, [
26897
- ne("div", dD, [
26915
+ ne("div", fD, [
26898
26916
  I(H.$slots, "before"),
26899
26917
  ne("div", {
26900
- class: Q(["min-w-0 flex-1", p(s).textOnly && "py-1 break-words text-[13px] leading-5 text-[var(--ui-text)]"]),
26918
+ class: Y(["min-w-0 flex-1", p(s).textOnly && "py-1 break-words text-[13px] leading-5 text-[var(--ui-text)]"]),
26901
26919
  "data-field-control": "",
26902
26920
  style: Ve(pe.value)
26903
26921
  }, [
26904
26922
  I(H.$slots, "default", { field: we })
26905
26923
  ], 6),
26906
- H.$slots.after ? (y(), O("div", fD, [
26924
+ H.$slots.after ? (y(), O("div", pD, [
26907
26925
  I(H.$slots, "after", { classes: et })
26908
26926
  ])) : L("", !0)
26909
26927
  ]),
26910
26928
  pt.value ? (y(), O("div", {
26911
26929
  key: 0,
26912
26930
  id: h.description,
26913
- class: Q([
26931
+ class: Y([
26914
26932
  "mt-1 text-[12px] leading-4 text-[var(--ui-text-secondary)]",
26915
26933
  p(s).disableDescription || Z.value ? "opacity-40" : void 0
26916
26934
  ])
@@ -26918,19 +26936,19 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26918
26936
  I(H.$slots, "description", {}, () => [
26919
26937
  Ne(te(p(s).description), 1)
26920
26938
  ])
26921
- ], 10, pD)) : L("", !0),
26939
+ ], 10, hD)) : L("", !0),
26922
26940
  $e.value ? (y(), O("div", {
26923
26941
  key: 1,
26924
26942
  id: h.message,
26925
26943
  role: "alert",
26926
- class: Q(rt.value)
26944
+ class: Y(rt.value)
26927
26945
  }, [
26928
26946
  I(H.$slots, "status", { field: we }, () => [
26929
26947
  Ne(te($e.value), 1)
26930
26948
  ])
26931
- ], 10, hD)) : L("", !0)
26949
+ ], 10, mD)) : L("", !0)
26932
26950
  ], 2)
26933
- ], 46, lD));
26951
+ ], 46, uD));
26934
26952
  }
26935
26953
  }), Gm = Yl(() => ce({
26936
26954
  key: V(),
@@ -26944,7 +26962,7 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26944
26962
  label: V(),
26945
26963
  value: V(),
26946
26964
  disabled: Ce().optional()
26947
- }), vD = yl.extend({
26965
+ }), gD = yl.extend({
26948
26966
  description: V().optional()
26949
26967
  }), Vd = ce({
26950
26968
  key: V(),
@@ -26953,7 +26971,7 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
26953
26971
  /** Sets the alignment: DSM keeps every column left; number and date digits get one width. */
26954
26972
  type: Oe(["text", "number", "date", "actions"]).optional(),
26955
26973
  align: Oe(["left", "center", "right"]).optional()
26956
- }), gD = {
26974
+ }), yD = {
26957
26975
  AppRoot: {
26958
26976
  props: ce({
26959
26977
  modalScope: Oe(["document", "app"]).optional()
@@ -27098,7 +27116,7 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
27098
27116
  RadioGroup: {
27099
27117
  props: ce({
27100
27118
  value: V().optional(),
27101
- options: tt(vD),
27119
+ options: tt(gD),
27102
27120
  orientation: Oe(["vertical", "horizontal"]).optional(),
27103
27121
  disabled: Ce().optional()
27104
27122
  }),
@@ -27283,21 +27301,21 @@ const lD = ["data-direction", "data-status"], uD = ["id", "for"], cD = {
27283
27301
  props: ce({ text: V().optional() }),
27284
27302
  description: "Centered loading state for a page or bounded region."
27285
27303
  }
27286
- }, yD = nk(rk, {
27287
- components: gD,
27304
+ }, bD = nk(rk, {
27305
+ components: yD,
27288
27306
  actions: {}
27289
- }), bD = {
27307
+ }), wD = {
27290
27308
  none: "0",
27291
27309
  xs: "var(--ui-space-1)",
27292
27310
  sm: "var(--ui-space-2)",
27293
27311
  md: "var(--ui-space-3)",
27294
27312
  lg: "var(--ui-space-4)"
27295
- }, wD = { start: "flex-start", center: "center", end: "flex-end", stretch: "stretch" }, _D = { start: "flex-start", center: "center", end: "flex-end", between: "space-between" };
27296
- function SD(e) {
27313
+ }, _D = { start: "flex-start", center: "center", end: "flex-end", stretch: "stretch" }, SD = { start: "flex-start", center: "center", end: "flex-end", between: "space-between" };
27314
+ function xD(e) {
27297
27315
  return { default: () => e };
27298
27316
  }
27299
27317
  function bl(e) {
27300
- return e ? YT(e) : void 0;
27318
+ return e ? XT(e) : void 0;
27301
27319
  }
27302
27320
  function Jm(e) {
27303
27321
  return {
@@ -27306,27 +27324,27 @@ function Jm(e) {
27306
27324
  children: e.children?.map(Jm)
27307
27325
  };
27308
27326
  }
27309
- function xD(e) {
27327
+ function kD(e) {
27310
27328
  return e.map((t) => ({ ...t, items: t.items.map(Jm) }));
27311
27329
  }
27312
- const kD = {
27313
- AppRoot: ({ props: e, slots: t }) => ae(qR, { modalScope: e.modalScope }, t),
27314
- AppShell: ({ props: e, slots: t }) => ae(iN, {
27330
+ const CD = {
27331
+ AppRoot: ({ props: e, slots: t }) => ae(LR, { modalScope: e.modalScope }, t),
27332
+ AppShell: ({ props: e, slots: t }) => ae(aN, {
27315
27333
  sidebarWidth: e.sidebarWidth,
27316
27334
  minHeight: e.minHeight,
27317
27335
  responsive: e.responsive,
27318
27336
  wideLayout: e.wideLayout,
27319
27337
  navigation: e.navigation
27320
27338
  }, t),
27321
- ResponsiveView: ({ props: e, slots: t }) => ae(aN, { mode: e.mode }, t),
27322
- Page: ({ props: e, slots: t }) => ae(LN, { width: e.width ?? "fill", surface: e.surface }, t),
27323
- PageHeader: ({ props: e, slots: t }) => ae(FN, e, t),
27324
- Toolbar: ({ props: e, slots: t }) => ae(TN, e, t),
27339
+ ResponsiveView: ({ props: e, slots: t }) => ae(sN, { mode: e.mode }, t),
27340
+ Page: ({ props: e, slots: t }) => ae(BN, { width: e.width ?? "fill", surface: e.surface }, t),
27341
+ PageHeader: ({ props: e, slots: t }) => ae(qN, e, t),
27342
+ Toolbar: ({ props: e, slots: t }) => ae(IN, e, t),
27325
27343
  SidebarNav: ({ props: e, bindings: t, emit: n }) => {
27326
27344
  const [o, r] = cn(e.value, t?.value);
27327
- return ae(AN, {
27345
+ return ae(EN, {
27328
27346
  modelValue: o,
27329
- groups: xD(e.groups),
27347
+ groups: kD(e.groups),
27330
27348
  searchable: e.searchable,
27331
27349
  collapsible: e.collapsible,
27332
27350
  searchPlaceholder: e.searchPlaceholder,
@@ -27337,7 +27355,7 @@ const kD = {
27337
27355
  },
27338
27356
  Tabs: ({ props: e, bindings: t, emit: n }) => {
27339
27357
  const [o, r] = cn(e.value, t?.value);
27340
- return ae(WN, {
27358
+ return ae(KN, {
27341
27359
  modelValue: o ?? "",
27342
27360
  items: e.items,
27343
27361
  ariaLabel: e.ariaLabel,
@@ -27351,9 +27369,9 @@ const kD = {
27351
27369
  style: {
27352
27370
  display: "flex",
27353
27371
  flexDirection: e.direction ?? "column",
27354
- gap: bD[e.gap ?? "md"],
27355
- alignItems: wD[e.align ?? "stretch"],
27356
- justifyContent: _D[e.justify ?? "start"],
27372
+ gap: wD[e.gap ?? "md"],
27373
+ alignItems: _D[e.align ?? "stretch"],
27374
+ justifyContent: SD[e.justify ?? "start"],
27357
27375
  flexWrap: e.wrap ? "wrap" : "nowrap"
27358
27376
  }
27359
27377
  }, t),
@@ -27391,7 +27409,7 @@ const kD = {
27391
27409
  },
27392
27410
  Select: ({ props: e, bindings: t, emit: n }) => {
27393
27411
  const [o, r] = cn(e.value, t?.value);
27394
- return ae(L$, {
27412
+ return ae(B$, {
27395
27413
  modelValue: o,
27396
27414
  options: e.options,
27397
27415
  placeholder: e.placeholder,
@@ -27427,7 +27445,7 @@ const kD = {
27427
27445
  },
27428
27446
  RadioGroup: ({ props: e, bindings: t, emit: n }) => {
27429
27447
  const [o, r] = cn(e.value, t?.value);
27430
- return ae(A$, {
27448
+ return ae(E$, {
27431
27449
  modelValue: o,
27432
27450
  options: e.options,
27433
27451
  orientation: e.orientation,
@@ -27437,12 +27455,12 @@ const kD = {
27437
27455
  }
27438
27456
  });
27439
27457
  },
27440
- Form: ({ props: e, slots: t, emit: n }) => ae(YN, {
27458
+ Form: ({ props: e, slots: t, emit: n }) => ae(XN, {
27441
27459
  direction: e.direction,
27442
27460
  fieldWidth: e.fieldWidth,
27443
27461
  onSubmit: () => n("submit")
27444
27462
  }, t),
27445
- Field: ({ props: e, slots: t }) => ae(mD, {
27463
+ Field: ({ props: e, slots: t }) => ae(vD, {
27446
27464
  label: e.label,
27447
27465
  description: e.description,
27448
27466
  help: e.help,
@@ -27452,7 +27470,7 @@ const kD = {
27452
27470
  }, t),
27453
27471
  SettingsSection: ({ props: e, bindings: t, slots: n, emit: o }) => {
27454
27472
  const [r, i] = cn(e.open, t?.open);
27455
- return ae(yI, {
27473
+ return ae(bI, {
27456
27474
  title: e.title,
27457
27475
  collapsible: e.collapsible,
27458
27476
  open: r,
@@ -27461,7 +27479,7 @@ const kD = {
27461
27479
  }
27462
27480
  }, n);
27463
27481
  },
27464
- SettingsField: ({ props: e, slots: t }) => ae(aI, {
27482
+ SettingsField: ({ props: e, slots: t }) => ae(sI, {
27465
27483
  label: e.label,
27466
27484
  description: e.description,
27467
27485
  required: e.required,
@@ -27471,7 +27489,7 @@ const kD = {
27471
27489
  Surface: ({ props: e, slots: t }) => ae(zm, e, t),
27472
27490
  Card: ({ props: e, bindings: t, slots: n, emit: o }) => {
27473
27491
  const [r, i] = cn(e.expanded, t?.expanded);
27474
- return ae(kR, {
27492
+ return ae(CR, {
27475
27493
  title: e.title,
27476
27494
  layoutType: e.layoutType,
27477
27495
  expandable: e.expandable,
@@ -27482,7 +27500,7 @@ const kD = {
27482
27500
  }
27483
27501
  }, n);
27484
27502
  },
27485
- Callout: ({ props: e, slots: t, emit: n }) => ae(EI, {
27503
+ Callout: ({ props: e, slots: t, emit: n }) => ae(OI, {
27486
27504
  tone: e.tone,
27487
27505
  variant: e.variant,
27488
27506
  title: e.title,
@@ -27492,16 +27510,16 @@ const kD = {
27492
27510
  fill: e.fill,
27493
27511
  onClose: () => n("close")
27494
27512
  }, t),
27495
- EmptyState: ({ props: e, slots: t }) => ae(NI, {
27513
+ EmptyState: ({ props: e, slots: t }) => ae(DI, {
27496
27514
  title: e.title,
27497
27515
  description: e.description,
27498
27516
  icon: bl(e.icon)
27499
27517
  }, t),
27500
27518
  Progress: ({ props: e }) => ae(Dm, e),
27501
- Badge: ({ props: e }) => ae(Y$, { tone: e.tone }, SD(e.text)),
27519
+ Badge: ({ props: e }) => ae(X$, { tone: e.tone }, xD(e.text)),
27502
27520
  Dialog: ({ props: e, bindings: t, slots: n, emit: o }) => {
27503
27521
  const [r, i] = cn(e.open, t?.open);
27504
- return ae(ZT, {
27522
+ return ae(HT, {
27505
27523
  open: r ?? !1,
27506
27524
  title: e.title,
27507
27525
  description: e.description,
@@ -27518,14 +27536,14 @@ const kD = {
27518
27536
  t.toolbar ? ae("div", { class: "mb-3 flex flex-wrap items-center gap-2" }, t.toolbar()) : null,
27519
27537
  ae(Dd, e)
27520
27538
  ]),
27521
- CellText: ({ props: e, emit: t }) => ae(oR, { ...e, onOpen: () => t("open") }),
27522
- CellStatus: ({ props: e }) => ae(lR, e),
27523
- ListItem: ({ props: e, slots: t }) => ae(bR, e, t),
27539
+ CellText: ({ props: e, emit: t }) => ae(rR, { ...e, onOpen: () => t("open") }),
27540
+ CellStatus: ({ props: e }) => ae(uR, e),
27541
+ ListItem: ({ props: e, slots: t }) => ae(wR, e, t),
27524
27542
  InputGroup: ({ slots: e }) => ae(TC, null, e),
27525
- Loading: ({ props: e }) => ae(rT, { text: e.text })
27526
- }, { registry: jd } = Ck(yD, {
27527
- components: kD
27528
- }), CD = /* @__PURE__ */ N({
27543
+ Loading: ({ props: e }) => ae(iT, { text: e.text })
27544
+ }, { registry: jd } = Ck(bD, {
27545
+ components: CD
27546
+ }), PD = /* @__PURE__ */ N({
27529
27547
  __name: "SynoJsonRenderer",
27530
27548
  props: {
27531
27549
  spec: {},
@@ -27569,18 +27587,18 @@ function Oi(e) {
27569
27587
  return t.overflowX && t.overflowX !== "visible" ? t.overflowX : t.overflow.split(" ")[0] || "visible";
27570
27588
  }
27571
27589
  const Ym = (e) => e.closest("[data-jr-key]")?.getAttribute("data-jr-key") ?? void 0;
27572
- function PD(e, t) {
27590
+ function AD(e, t) {
27573
27591
  for (let n = e.parentElement; n && t.contains(n); n = n.parentElement)
27574
27592
  if (Oi(n) !== "visible") return n;
27575
27593
  }
27576
- function AD(e, t, n) {
27594
+ function ED(e, t, n) {
27577
27595
  if (e.closest("[inert]")) return;
27578
27596
  const o = e.getBoundingClientRect();
27579
27597
  if (o.width <= 1) return;
27580
27598
  const r = Oi(e);
27581
27599
  if ((r === "hidden" || r === "clip") && e.scrollWidth > e.clientWidth + 1 && getComputedStyle(e).textOverflow !== "ellipsis")
27582
27600
  return { kind: "clipped_content", detail: `content is ${e.scrollWidth - e.clientWidth}px wider than its box and is cut off` };
27583
- const i = PD(e, t);
27601
+ const i = AD(e, t);
27584
27602
  if (i) {
27585
27603
  if (Oi(i) === "auto" || Oi(i) === "scroll") return;
27586
27604
  const s = i.getBoundingClientRect(), l = Math.max(o.right - s.right, s.left - o.left), c = Ym(i);
@@ -27589,25 +27607,25 @@ function AD(e, t, n) {
27589
27607
  const a = Math.max(o.right - n, -o.left);
27590
27608
  return a > 1 ? { kind: "outside_viewport", detail: `extends ${Math.round(a)}px past the ${n}px viewport` } : void 0;
27591
27609
  }
27592
- function ED(e, t) {
27593
- const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding: AD(i, e, t) })).filter((i) => !!i.finding), o = n.filter((i) => !n.some((a) => a !== i && a.finding.kind === i.finding.kind && i.element.contains(a.element))), r = /* @__PURE__ */ new Map();
27610
+ function OD(e, t) {
27611
+ const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding: ED(i, e, t) })).filter((i) => !!i.finding), o = n.filter((i) => !n.some((a) => a !== i && a.finding.kind === i.finding.kind && i.element.contains(a.element))), r = /* @__PURE__ */ new Map();
27594
27612
  for (const { element: i, finding: a } of o) {
27595
27613
  const s = Ym(i), l = `${a.kind}:${s ?? ""}`;
27596
27614
  r.has(l) || r.set(l, { ...a, key: s });
27597
27615
  }
27598
27616
  return [...r.values()];
27599
27617
  }
27600
- function OD(e, t) {
27618
+ function $D(e, t) {
27601
27619
  const n = Object.hasOwn(e, t) ? e[t] : t.split(".").reduce((o, r) => o?.[r], e);
27602
27620
  return typeof n == "string" ? n : t;
27603
27621
  }
27604
- const $D = () => new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
27605
- async function TD() {
27622
+ const TD = () => new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
27623
+ async function ID() {
27606
27624
  const e = await (await fetch("/config.json")).json();
27607
27625
  $x();
27608
- const t = document.getElementById("app"), n = ({ key: o }) => OD(e.messages ?? {}, String(o));
27626
+ const t = document.getElementById("app"), n = ({ key: o }) => $D(e.messages ?? {}, String(o));
27609
27627
  return vy({
27610
- render: () => ae(CD, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
27611
- }).mount(t), await ze(), await document.fonts.ready, await $D(), { issues: () => ED(t, innerWidth) };
27628
+ render: () => ae(PD, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
27629
+ }).mount(t), await ze(), await document.fonts.ready, await TD(), { issues: () => OD(t, innerWidth) };
27612
27630
  }
27613
- window.synoPreview = TD();
27631
+ window.synoPreview = ID();