@synopackageland/ui 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ const Re = {}, co = [], sn = () => {
9
9
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Vi = (e) => e.startsWith("onUpdate:"), nt = Object.assign, Ja = (e, t) => {
10
10
  const n = e.indexOf(t);
11
11
  n > -1 && e.splice(n, 1);
12
- }, qh = Object.prototype.hasOwnProperty, Te = (e, t) => qh.call(e, t), fe = Array.isArray, qn = (e) => Nr(e) === "[object Map]", hi = (e) => Nr(e) === "[object Set]", Wl = (e) => Nr(e) === "[object Date]", he = (e) => typeof e == "function", qe = (e) => typeof e == "string", Ot = (e) => typeof e == "symbol", Ie = (e) => e !== null && typeof e == "object", nd = (e) => (Ie(e) || he(e)) && he(e.then) && he(e.catch), od = Object.prototype.toString, Nr = (e) => od.call(e), jh = (e) => Nr(e).slice(8, -1), rd = (e) => Nr(e) === "[object Object]", Li = (e) => qe(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, pr = /* @__PURE__ */ Ha(
12
+ }, qh = Object.prototype.hasOwnProperty, Te = (e, t) => qh.call(e, t), pe = Array.isArray, qn = (e) => Nr(e) === "[object Map]", hi = (e) => Nr(e) === "[object Set]", Wl = (e) => Nr(e) === "[object Date]", me = (e) => typeof e == "function", qe = (e) => typeof e == "string", Ot = (e) => typeof e == "symbol", Ie = (e) => e !== null && typeof e == "object", nd = (e) => (Ie(e) || me(e)) && me(e.then) && me(e.catch), od = Object.prototype.toString, Nr = (e) => od.call(e), jh = (e) => Nr(e).slice(8, -1), rd = (e) => Nr(e) === "[object Object]", Li = (e) => qe(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, pr = /* @__PURE__ */ Ha(
13
13
  // the leading comma is intentional so empty string "" is also included
14
14
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
15
15
  ), qi = (e) => {
@@ -38,7 +38,7 @@ const Re = {}, co = [], sn = () => {
38
38
  let Kl;
39
39
  const Bi = () => Kl || (Kl = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
40
40
  function Fe(e) {
41
- if (fe(e)) {
41
+ if (pe(e)) {
42
42
  const t = {};
43
43
  for (let n = 0; n < e.length; n++) {
44
44
  const o = e[n], r = qe(o) ? Hh(o) : Fe(o);
@@ -60,13 +60,13 @@ function Hh(e) {
60
60
  }
61
61
  }), t;
62
62
  }
63
- function me(e) {
63
+ function de(e) {
64
64
  let t = "";
65
65
  if (qe(e))
66
66
  t = e;
67
- else if (fe(e))
67
+ else if (pe(e))
68
68
  for (let n = 0; n < e.length; n++) {
69
- const o = me(e[n]);
69
+ const o = de(e[n]);
70
70
  o && (t += o + " ");
71
71
  }
72
72
  else if (Ie(e))
@@ -77,7 +77,7 @@ function me(e) {
77
77
  function Ui(e) {
78
78
  if (!e) return null;
79
79
  let { class: t, style: n } = e;
80
- return t && !qe(t) && (e.class = me(t)), n && (e.style = Fe(n)), e;
80
+ return t && !qe(t) && (e.class = de(t)), n && (e.style = Fe(n)), e;
81
81
  }
82
82
  const Jh = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Gh = /* @__PURE__ */ Ha(Jh);
83
83
  function sd(e) {
@@ -131,16 +131,16 @@ function Jl(e, t, n, o) {
131
131
  function Zi(e, t, n) {
132
132
  if (e === t) return !0;
133
133
  let o = Wl(e), r = Wl(t);
134
- return o || r ? o && r ? e.getTime() === t.getTime() : !1 : (o = Ot(e), r = Ot(t), o || r ? e === t : (o = fe(e), r = fe(t), o || r ? o && r ? Jl(e, t, n, Yh) : !1 : (o = Ie(e), r = Ie(t), o || r ? !o || !r ? !1 : Jl(e, t, n, Xh) : String(e) === String(t))));
134
+ return o || r ? o && r ? e.getTime() === t.getTime() : !1 : (o = Ot(e), r = Ot(t), o || r ? e === t : (o = pe(e), r = pe(t), o || r ? o && r ? Jl(e, t, n, Yh) : !1 : (o = Ie(e), r = Ie(t), o || r ? !o || !r ? !1 : Jl(e, t, n, Xh) : String(e) === String(t))));
135
135
  }
136
- const ad = (e) => !!(e && e.__v_isRef === !0), ie = (e) => qe(e) ? e : e == null ? "" : fe(e) || Ie(e) && (e.toString === od || !he(e.toString)) ? ad(e) ? ie(e.value) : JSON.stringify(e, ld, 2) : String(e), ld = (e, t) => ad(t) ? ld(e, t.value) : qn(t) ? {
136
+ const ad = (e) => !!(e && e.__v_isRef === !0), ie = (e) => qe(e) ? e : e == null ? "" : pe(e) || Ie(e) && (e.toString === od || !me(e.toString)) ? ad(e) ? ie(e.value) : JSON.stringify(e, ld, 2) : String(e), ld = (e, t) => ad(t) ? ld(e, t.value) : qn(t) ? {
137
137
  [`Map(${t.size})`]: [...t.entries()].reduce(
138
138
  (n, [o, r], i) => (n[As(o, i) + " =>"] = r, n),
139
139
  {}
140
140
  )
141
141
  } : hi(t) ? {
142
142
  [`Set(${t.size})`]: [...t.values()].map((n) => As(n))
143
- } : Ot(t) ? As(t) : Ie(t) && !fe(t) && !rd(t) ? String(t) : t, As = (e, t = "") => {
143
+ } : Ot(t) ? As(t) : Ie(t) && !pe(t) && !rd(t) ? String(t) : t, As = (e, t = "") => {
144
144
  var n;
145
145
  return (
146
146
  // Symbol.description in es2019+ so we need to cast here to pass
@@ -488,7 +488,7 @@ function vn(e, t, n, o, r, i) {
488
488
  if (Xa(), t === "clear")
489
489
  s.forEach(a);
490
490
  else {
491
- const l = fe(e), c = l && Li(n);
491
+ const l = pe(e), c = l && Li(n);
492
492
  if (l && n === "length") {
493
493
  const u = Number(o);
494
494
  s.forEach((d, f) => {
@@ -530,7 +530,7 @@ const nm = {
530
530
  },
531
531
  concat(...e) {
532
532
  return ko(this).concat(
533
- ...e.map((t) => fe(t) ? ko(t) : t)
533
+ ...e.map((t) => pe(t) ? ko(t) : t)
534
534
  );
535
535
  },
536
536
  entries() {
@@ -703,7 +703,7 @@ class wd {
703
703
  return o === (r ? i ? $d : kd : i ? Cd : Sd).get(t) || // receiver is not the reactive proxy, but has the same prototype
704
704
  // this means the receiver is a user proxy of the reactive proxy
705
705
  Object.getPrototypeOf(t) === Object.getPrototypeOf(o) ? t : void 0;
706
- const s = fe(t);
706
+ const s = pe(t);
707
707
  if (!r) {
708
708
  let l;
709
709
  if (s && (l = nm[n]))
@@ -734,7 +734,7 @@ class _d extends wd {
734
734
  }
735
735
  set(t, n, o, r) {
736
736
  let i = t[n];
737
- const s = fe(t) && Li(n);
737
+ const s = pe(t) && Li(n);
738
738
  if (!this._isShallow) {
739
739
  const c = /* @__PURE__ */ an(i);
740
740
  if (!/* @__PURE__ */ Et(o) && !/* @__PURE__ */ an(o) && (i = /* @__PURE__ */ Oe(i), o = /* @__PURE__ */ Oe(o)), !s && /* @__PURE__ */ Xe(i) && !/* @__PURE__ */ Xe(o))
@@ -762,7 +762,7 @@ class _d extends wd {
762
762
  return ct(
763
763
  t,
764
764
  "iterate",
765
- fe(t) ? "length" : po
765
+ pe(t) ? "length" : po
766
766
  ), Reflect.ownKeys(t);
767
767
  }
768
768
  }
@@ -1022,7 +1022,7 @@ function m(e) {
1022
1022
  return /* @__PURE__ */ Xe(e) ? e.value : e;
1023
1023
  }
1024
1024
  function pt(e) {
1025
- return he(e) ? e() : m(e);
1025
+ return me(e) ? e() : m(e);
1026
1026
  }
1027
1027
  const bm = {
1028
1028
  get: (e, t, n) => t === "__v_raw" ? e : m(Reflect.get(e, t, n)),
@@ -1052,7 +1052,7 @@ function _m(e) {
1052
1052
  }
1053
1053
  // @__NO_SIDE_EFFECTS__
1054
1054
  function Ht(e) {
1055
- const t = fe(e) ? new Array(e.length) : {};
1055
+ const t = pe(e) ? new Array(e.length) : {};
1056
1056
  for (const n in e)
1057
1057
  t[n] = Pd(e, n);
1058
1058
  return t;
@@ -1061,7 +1061,7 @@ class xm {
1061
1061
  constructor(t, n, o) {
1062
1062
  this._object = t, this._defaultValue = o, this.__v_isRef = !0, this._value = void 0, this._key = Ot(n) ? n : String(n), this._raw = /* @__PURE__ */ Oe(t);
1063
1063
  let r = !0, i = t;
1064
- if (!fe(t) || Ot(this._key) || !Li(this._key))
1064
+ if (!pe(t) || Ot(this._key) || !Li(this._key))
1065
1065
  do
1066
1066
  r = !/* @__PURE__ */ Yi(i) || /* @__PURE__ */ Et(i);
1067
1067
  while (r && (i = i.__v_raw));
@@ -1095,7 +1095,7 @@ class Sm {
1095
1095
  }
1096
1096
  // @__NO_SIDE_EFFECTS__
1097
1097
  function Cm(e, t, n) {
1098
- return /* @__PURE__ */ Xe(e) ? e : he(e) ? new Sm(e) : Ie(e) && arguments.length > 1 ? Pd(e, t, n) : /* @__PURE__ */ V(e);
1098
+ return /* @__PURE__ */ Xe(e) ? e : me(e) ? new Sm(e) : Ie(e) && arguments.length > 1 ? Pd(e, t, n) : /* @__PURE__ */ V(e);
1099
1099
  }
1100
1100
  function Pd(e, t, n) {
1101
1101
  return new xm(e, t, n);
@@ -1123,7 +1123,7 @@ class km {
1123
1123
  // @__NO_SIDE_EFFECTS__
1124
1124
  function $m(e, t, n = !1) {
1125
1125
  let o, r;
1126
- return he(e) ? o = e : (o = e.get, r = e.set), new km(o, r, n);
1126
+ return me(e) ? o = e : (o = e.get, r = e.set), new km(o, r, n);
1127
1127
  }
1128
1128
  const Br = {}, vi = /* @__PURE__ */ new WeakMap();
1129
1129
  let lo;
@@ -1136,14 +1136,14 @@ function Am(e, t = !1, n = lo) {
1136
1136
  function Em(e, t, n = Re) {
1137
1137
  const { immediate: o, deep: r, once: i, scheduler: s, augmentJob: a, call: l } = n, c = (_) => r ? _ : /* @__PURE__ */ Et(_) || r === !1 || r === 0 ? gn(_, 1) : gn(_);
1138
1138
  let u, d, f, p, h = !1, v = !1;
1139
- if (/* @__PURE__ */ Xe(e) ? (d = () => e.value, h = /* @__PURE__ */ Et(e)) : /* @__PURE__ */ jn(e) ? (d = () => c(e), h = !0) : fe(e) ? (v = !0, h = e.some((_) => /* @__PURE__ */ jn(_) || /* @__PURE__ */ Et(_)), d = () => e.map((_) => {
1139
+ if (/* @__PURE__ */ Xe(e) ? (d = () => e.value, h = /* @__PURE__ */ Et(e)) : /* @__PURE__ */ jn(e) ? (d = () => c(e), h = !0) : pe(e) ? (v = !0, h = e.some((_) => /* @__PURE__ */ jn(_) || /* @__PURE__ */ Et(_)), d = () => e.map((_) => {
1140
1140
  if (/* @__PURE__ */ Xe(_))
1141
1141
  return _.value;
1142
1142
  if (/* @__PURE__ */ jn(_))
1143
1143
  return c(_);
1144
- if (he(_))
1144
+ if (me(_))
1145
1145
  return l ? l(_, 2) : _();
1146
- })) : he(e) ? t ? d = l ? () => l(e, 2) : e : d = () => {
1146
+ })) : me(e) ? t ? d = l ? () => l(e, 2) : e : d = () => {
1147
1147
  if (f) {
1148
1148
  Cn();
1149
1149
  try {
@@ -1216,7 +1216,7 @@ function gn(e, t = 1 / 0, n) {
1216
1216
  return e;
1217
1217
  if (n.set(e, t), t--, /* @__PURE__ */ Xe(e))
1218
1218
  gn(e.value, t, n);
1219
- else if (fe(e))
1219
+ else if (pe(e))
1220
1220
  for (let o = 0; o < e.length; o++)
1221
1221
  gn(e[o], t, n);
1222
1222
  else if (hi(e) || qn(e))
@@ -1239,13 +1239,13 @@ function Dr(e, t, n, o) {
1239
1239
  }
1240
1240
  }
1241
1241
  function Zt(e, t, n, o) {
1242
- if (he(e)) {
1242
+ if (me(e)) {
1243
1243
  const r = Dr(e, t, n, o);
1244
1244
  return r && nd(r) && r.catch((i) => {
1245
1245
  Xi(i, t, n);
1246
1246
  }), r;
1247
1247
  }
1248
- if (fe(e)) {
1248
+ if (pe(e)) {
1249
1249
  const r = [];
1250
1250
  for (let i = 0; i < e.length; i++)
1251
1251
  r.push(Zt(e[i], t, n, o));
@@ -1311,7 +1311,7 @@ function Id() {
1311
1311
  gi || (gi = Td.then(Nd));
1312
1312
  }
1313
1313
  function Tm(e) {
1314
- if (!fe(e))
1314
+ if (!pe(e))
1315
1315
  Ln && e.id === -1 ? Ln.splice(Oo + 1, 0, e) : e.flags & 1 || (Ro.push(e), e.flags |= 1);
1316
1316
  else
1317
1317
  for (let t = 0; t < e.length; t++)
@@ -1392,7 +1392,7 @@ function Fo(e, t) {
1392
1392
  const n = os(st), o = e.dirs || (e.dirs = []);
1393
1393
  for (let r = 0; r < t.length; r++) {
1394
1394
  let [i, s, a, l = Re] = t[r];
1395
- i && (he(i) && (i = {
1395
+ i && (me(i) && (i = {
1396
1396
  mounted: i,
1397
1397
  updated: i
1398
1398
  }), i.deep && gn(s), o.push({
@@ -1434,7 +1434,7 @@ function De(e, t, n = !1) {
1434
1434
  if (r && e in r)
1435
1435
  return r[e];
1436
1436
  if (arguments.length > 1)
1437
- return n && he(t) ? t.call(o && o.proxy) : t;
1437
+ return n && me(t) ? t.call(o && o.proxy) : t;
1438
1438
  }
1439
1439
  }
1440
1440
  const Im = /* @__PURE__ */ Symbol.for("v-scx"), Rm = () => De(Im);
@@ -1480,7 +1480,7 @@ function Qi(e, t, n = Re) {
1480
1480
  function Nm(e, t, n) {
1481
1481
  const o = this.proxy, r = qe(e) ? e.includes(".") ? Md(o, e) : () => o[e] : e.bind(o, o);
1482
1482
  let i;
1483
- he(t) ? i = t : (i = t.handler, n = t);
1483
+ me(t) ? i = t : (i = t.handler, n = t);
1484
1484
  const s = Fr(this), a = Qi(r, i.bind(o), n);
1485
1485
  return s(), a;
1486
1486
  }
@@ -1576,10 +1576,10 @@ const zn = /* @__PURE__ */ new WeakMap(), Fd = /* @__PURE__ */ Symbol("_vte"), e
1576
1576
  1
1577
1577
  );
1578
1578
  else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
1579
- const de = la(t.props, h);
1580
- de && (t.target = de, Ur(
1579
+ const fe = la(t.props, h);
1580
+ fe && (t.target = fe, Ur(
1581
1581
  t,
1582
- de,
1582
+ fe,
1583
1583
  null,
1584
1584
  c,
1585
1585
  0
@@ -1721,7 +1721,7 @@ function Vd(e) {
1721
1721
  if (n) {
1722
1722
  if (t & 16)
1723
1723
  return n[0];
1724
- if (t & 32 && he(n.default))
1724
+ if (t & 32 && me(n.default))
1725
1725
  return n.default();
1726
1726
  }
1727
1727
  }
@@ -1737,7 +1737,7 @@ function rl(e, t) {
1737
1737
  }
1738
1738
  // @__NO_SIDE_EFFECTS__
1739
1739
  function D(e, t) {
1740
- return he(e) ? (
1740
+ return me(e) ? (
1741
1741
  // #8236: extend call and options.name access are considered side-effects
1742
1742
  // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1743
1743
  nt({ name: e.name }, t, { setup: e })
@@ -1768,11 +1768,11 @@ function tu(e, t) {
1768
1768
  }
1769
1769
  const bi = /* @__PURE__ */ new WeakMap();
1770
1770
  function gr(e, t, n, o, r = !1) {
1771
- if (fe(e)) {
1771
+ if (pe(e)) {
1772
1772
  e.forEach(
1773
1773
  (v, g) => gr(
1774
1774
  v,
1775
- t && (fe(t) ? t[g] : t),
1775
+ t && (pe(t) ? t[g] : t),
1776
1776
  n,
1777
1777
  o,
1778
1778
  r
@@ -1793,7 +1793,7 @@ function gr(e, t, n, o, r = !1) {
1793
1793
  h(c, v.k) && (c.value = null), v.k && (u[v.k] = null);
1794
1794
  }
1795
1795
  }
1796
- if (he(l))
1796
+ if (me(l))
1797
1797
  Dr(l, a, 12, [s, u]);
1798
1798
  else {
1799
1799
  const v = qe(l), g = /* @__PURE__ */ Xe(l);
@@ -1802,8 +1802,8 @@ function gr(e, t, n, o, r = !1) {
1802
1802
  if (e.f) {
1803
1803
  const S = v ? p(l) ? d[l] : u[l] : h() || !e.k ? l.value : u[e.k];
1804
1804
  if (r)
1805
- fe(S) && Ja(S, i);
1806
- else if (fe(S))
1805
+ pe(S) && Ja(S, i);
1806
+ else if (pe(S))
1807
1807
  S.includes(i) || S.push(i);
1808
1808
  else if (v)
1809
1809
  u[l] = [i], p(l) && (d[l] = u[l]);
@@ -1920,7 +1920,7 @@ function ou(e, t) {
1920
1920
  }
1921
1921
  function xt(e, t, n, o) {
1922
1922
  let r;
1923
- const i = n, s = fe(e);
1923
+ const i = n, s = pe(e);
1924
1924
  if (s || qe(e)) {
1925
1925
  const a = s && /* @__PURE__ */ jn(e);
1926
1926
  let l = !1, c = !1;
@@ -2093,7 +2093,7 @@ function Jd(e) {
2093
2093
  return t.setupContext || (t.setupContext = gf(t));
2094
2094
  }
2095
2095
  function da(e) {
2096
- return fe(e) ? e.reduce(
2096
+ return pe(e) ? e.reduce(
2097
2097
  (t, n) => (t[n] = null, t),
2098
2098
  {}
2099
2099
  ) : e;
@@ -2103,7 +2103,7 @@ function Jm(e, t) {
2103
2103
  for (const o in t) {
2104
2104
  if (o.startsWith("__skip")) continue;
2105
2105
  let r = n[o];
2106
- r ? fe(r) || he(r) ? r = n[o] = { type: r, default: t[o] } : r.default = t[o] : r === null && (r = n[o] = { default: t[o] }), r && t[`__skip_${o}`] && (r.skipFactory = !0);
2106
+ r ? pe(r) || me(r) ? r = n[o] = { type: r, default: t[o] } : r.default = t[o] : r === null && (r = n[o] = { default: t[o] }), r && t[`__skip_${o}`] && (r.skipFactory = !0);
2107
2107
  }
2108
2108
  return n;
2109
2109
  }
@@ -2142,12 +2142,12 @@ function Gm(e) {
2142
2142
  // assets
2143
2143
  components: we,
2144
2144
  directives: ge,
2145
- filters: de
2145
+ filters: fe
2146
2146
  } = t;
2147
2147
  if (c && Ym(c, o, null), s)
2148
2148
  for (const Y in s) {
2149
2149
  const re = s[Y];
2150
- he(re) && (o[Y] = re.bind(n));
2150
+ me(re) && (o[Y] = re.bind(n));
2151
2151
  }
2152
2152
  if (r) {
2153
2153
  const Y = r.call(n, n);
@@ -2155,7 +2155,7 @@ function Gm(e) {
2155
2155
  }
2156
2156
  if (fa = !0, i)
2157
2157
  for (const Y in i) {
2158
- const re = i[Y], Pe = he(re) ? re.bind(n, n) : he(re.get) ? re.get.bind(n, n) : sn, ve = !he(re) && he(re.set) ? re.set.bind(n) : sn, Se = A({
2158
+ const re = i[Y], Pe = me(re) ? re.bind(n, n) : me(re.get) ? re.get.bind(n, n) : sn, ve = !me(re) && me(re.set) ? re.set.bind(n) : sn, Se = A({
2159
2159
  get: Pe,
2160
2160
  set: ve
2161
2161
  });
@@ -2170,16 +2170,16 @@ function Gm(e) {
2170
2170
  for (const Y in a)
2171
2171
  Gd(a[Y], o, n, Y);
2172
2172
  if (l) {
2173
- const Y = he(l) ? l.call(n) : l;
2173
+ const Y = me(l) ? l.call(n) : l;
2174
2174
  Reflect.ownKeys(Y).forEach((re) => {
2175
2175
  We(re, Y[re]);
2176
2176
  });
2177
2177
  }
2178
2178
  u && ru(u, e, "c");
2179
2179
  function be(Y, re) {
2180
- fe(re) ? re.forEach((Pe) => Y(Pe.bind(n))) : re && Y(re.bind(n));
2180
+ pe(re) ? re.forEach((Pe) => Y(Pe.bind(n))) : re && Y(re.bind(n));
2181
2181
  }
2182
- if (be(jm, d), be(Qe, f), be(jd, p), be(Bd, h), be(Vm, v), be(Lm, g), be(Ud, O), be(Zm, E), be(Um, C), be(In, S), be(Rn, _), be(Bm, T), fe(j))
2182
+ if (be(jm, d), be(Qe, f), be(jd, p), be(Bd, h), be(Vm, v), be(Lm, g), be(Ud, O), be(Zm, E), be(Um, C), be(In, S), be(Rn, _), be(Bm, T), pe(j))
2183
2183
  if (j.length) {
2184
2184
  const Y = e.exposed || (e.exposed = {});
2185
2185
  j.forEach((re) => {
@@ -2193,7 +2193,7 @@ function Gm(e) {
2193
2193
  $ && e.render === sn && (e.render = $), X != null && (e.inheritAttrs = X), we && (e.components = we), ge && (e.directives = ge), T && Ld(e);
2194
2194
  }
2195
2195
  function Ym(e, t, n = sn) {
2196
- fe(e) && (e = pa(e));
2196
+ pe(e) && (e = pa(e));
2197
2197
  for (const o in e) {
2198
2198
  const r = e[o];
2199
2199
  let i;
@@ -2211,7 +2211,7 @@ function Ym(e, t, n = sn) {
2211
2211
  }
2212
2212
  function ru(e, t, n) {
2213
2213
  Zt(
2214
- fe(e) ? e.map((o) => o.bind(t.proxy)) : e.bind(t.proxy),
2214
+ pe(e) ? e.map((o) => o.bind(t.proxy)) : e.bind(t.proxy),
2215
2215
  t,
2216
2216
  n
2217
2217
  );
@@ -2220,15 +2220,15 @@ function Gd(e, t, n, o) {
2220
2220
  let r = o.includes(".") ? Md(n, o) : () => n[o];
2221
2221
  if (qe(e)) {
2222
2222
  const i = t[e];
2223
- he(i) && ue(r, i);
2224
- } else if (he(e))
2223
+ me(i) && ue(r, i);
2224
+ } else if (me(e))
2225
2225
  ue(r, e.bind(n));
2226
2226
  else if (Ie(e))
2227
- if (fe(e))
2227
+ if (pe(e))
2228
2228
  e.forEach((i) => Gd(i, t, n, o));
2229
2229
  else {
2230
- const i = he(e.handler) ? e.handler.bind(n) : t[e.handler];
2231
- he(i) && ue(r, i, e);
2230
+ const i = me(e.handler) ? e.handler.bind(n) : t[e.handler];
2231
+ me(i) && ue(r, i, e);
2232
2232
  }
2233
2233
  }
2234
2234
  function Yd(e) {
@@ -2288,8 +2288,8 @@ const Xm = {
2288
2288
  function iu(e, t) {
2289
2289
  return t ? e ? function() {
2290
2290
  return nt(
2291
- he(e) ? e.call(this, this) : e,
2292
- he(t) ? t.call(this, this) : t
2291
+ me(e) ? e.call(this, this) : e,
2292
+ me(t) ? t.call(this, this) : t
2293
2293
  );
2294
2294
  } : t : e;
2295
2295
  }
@@ -2297,7 +2297,7 @@ function Qm(e, t) {
2297
2297
  return ur(pa(e), pa(t));
2298
2298
  }
2299
2299
  function pa(e) {
2300
- if (fe(e)) {
2300
+ if (pe(e)) {
2301
2301
  const t = {};
2302
2302
  for (let n = 0; n < e.length; n++)
2303
2303
  t[e[n]] = e[n];
@@ -2312,7 +2312,7 @@ function ur(e, t) {
2312
2312
  return e ? nt(/* @__PURE__ */ Object.create(null), e, t) : t;
2313
2313
  }
2314
2314
  function su(e, t) {
2315
- return e ? fe(e) && fe(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : nt(
2315
+ return e ? pe(e) && pe(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : nt(
2316
2316
  /* @__PURE__ */ Object.create(null),
2317
2317
  da(e),
2318
2318
  da(t ?? {})
@@ -2350,7 +2350,7 @@ function Xd() {
2350
2350
  let tv = 0;
2351
2351
  function nv(e, t) {
2352
2352
  return function(o, r = null) {
2353
- he(o) || (o = nt({}, o)), r != null && !Ie(r) && (r = null);
2353
+ me(o) || (o = nt({}, o)), r != null && !Ie(r) && (r = null);
2354
2354
  const i = Xd(), s = /* @__PURE__ */ new WeakSet(), a = [];
2355
2355
  let l = !1;
2356
2356
  const c = i.app = {
@@ -2367,7 +2367,7 @@ function nv(e, t) {
2367
2367
  set config(u) {
2368
2368
  },
2369
2369
  use(u, ...d) {
2370
- return s.has(u) || (u && he(u.install) ? (s.add(u), u.install(c, ...d)) : he(u) && (s.add(u), u(c, ...d))), c;
2370
+ return s.has(u) || (u && me(u.install) ? (s.add(u), u.install(c, ...d)) : me(u) && (s.add(u), u(c, ...d))), c;
2371
2371
  },
2372
2372
  mixin(u) {
2373
2373
  return i.mixins.includes(u) || i.mixins.push(u), c;
@@ -2447,14 +2447,14 @@ function Qd(e, t, n = !1) {
2447
2447
  return r;
2448
2448
  const i = e.emits;
2449
2449
  let s = {}, a = !1;
2450
- if (!he(e)) {
2450
+ if (!me(e)) {
2451
2451
  const l = (c) => {
2452
2452
  const u = Qd(c, t, !0);
2453
2453
  u && (a = !0, nt(s, u));
2454
2454
  };
2455
2455
  !n && t.mixins.length && t.mixins.forEach(l), e.extends && l(e.extends), e.mixins && e.mixins.forEach(l);
2456
2456
  }
2457
- return !i && !a ? (Ie(e) && o.set(e, null), null) : (fe(i) ? i.forEach((l) => s[l] = null) : nt(s, i), Ie(e) && o.set(e, s), s);
2457
+ return !i && !a ? (Ie(e) && o.set(e, null), null) : (pe(i) ? i.forEach((l) => s[l] = null) : nt(s, i), Ie(e) && o.set(e, s), s);
2458
2458
  }
2459
2459
  function ns(e, t) {
2460
2460
  return !e || !Fi(t) ? !1 : (t = t.slice(2), t = t === "Once" ? t : t.replace(/Once$/, ""), Te(e, t[0].toLowerCase() + t.slice(1)) || Te(e, Gn(t)) || Te(e, t));
@@ -2680,7 +2680,7 @@ function ha(e, t, n, o, r, i) {
2680
2680
  const a = Te(s, "default");
2681
2681
  if (a && o === void 0) {
2682
2682
  const l = s.default;
2683
- if (s.type !== Function && !s.skipFactory && he(l)) {
2683
+ if (s.type !== Function && !s.skipFactory && me(l)) {
2684
2684
  const { propsDefaults: c } = r;
2685
2685
  if (n in c)
2686
2686
  o = c[n];
@@ -2712,7 +2712,7 @@ function sf(e, t, n = !1) {
2712
2712
  return r;
2713
2713
  const i = e.props, s = {}, a = [];
2714
2714
  let l = !1;
2715
- if (!he(e)) {
2715
+ if (!me(e)) {
2716
2716
  const u = (d) => {
2717
2717
  l = !0;
2718
2718
  const [f, p] = sf(d, t, !0);
@@ -2722,7 +2722,7 @@ function sf(e, t, n = !1) {
2722
2722
  }
2723
2723
  if (!i && !l)
2724
2724
  return Ie(e) && o.set(e, co), co;
2725
- if (fe(i))
2725
+ if (pe(i))
2726
2726
  for (let u = 0; u < i.length; u++) {
2727
2727
  const d = at(i[u]);
2728
2728
  uu(d) && (s[d] = Re);
@@ -2731,18 +2731,18 @@ function sf(e, t, n = !1) {
2731
2731
  for (const u in i) {
2732
2732
  const d = at(u);
2733
2733
  if (uu(d)) {
2734
- const f = i[u], p = s[d] = fe(f) || he(f) ? { type: f } : nt({}, f), h = p.type;
2734
+ const f = i[u], p = s[d] = pe(f) || me(f) ? { type: f } : nt({}, f), h = p.type;
2735
2735
  let v = !1, g = !0;
2736
- if (fe(h))
2736
+ if (pe(h))
2737
2737
  for (let y = 0; y < h.length; ++y) {
2738
- const S = h[y], x = he(S) && S.name;
2738
+ const S = h[y], x = me(S) && S.name;
2739
2739
  if (x === "Boolean") {
2740
2740
  v = !0;
2741
2741
  break;
2742
2742
  } else x === "String" && (g = !1);
2743
2743
  }
2744
2744
  else
2745
- v = he(h) && h.name === "Boolean";
2745
+ v = me(h) && h.name === "Boolean";
2746
2746
  p[
2747
2747
  0
2748
2748
  /* shouldCast */
@@ -2758,7 +2758,7 @@ function sf(e, t, n = !1) {
2758
2758
  function uu(e) {
2759
2759
  return e[0] !== "$" && !pr(e);
2760
2760
  }
2761
- const al = (e) => e === "_" || e === "_ctx" || e === "$stable", ll = (e) => fe(e) ? e.map(on) : [on(e)], pv = (e, t, n) => {
2761
+ const al = (e) => e === "_" || e === "_ctx" || e === "$stable", ll = (e) => pe(e) ? e.map(on) : [on(e)], pv = (e, t, n) => {
2762
2762
  if (t._n)
2763
2763
  return t;
2764
2764
  const o = M((...r) => ll(t(...r)), n);
@@ -2768,7 +2768,7 @@ const al = (e) => e === "_" || e === "_ctx" || e === "$stable", ll = (e) => fe(e
2768
2768
  for (const r in e) {
2769
2769
  if (al(r)) continue;
2770
2770
  const i = e[r];
2771
- if (he(i))
2771
+ if (me(i))
2772
2772
  t[r] = pv(r, i, o);
2773
2773
  else if (i != null) {
2774
2774
  const s = ll(i);
@@ -2946,7 +2946,7 @@ function gv(e, t) {
2946
2946
  }
2947
2947
  }, E = (w, k, I, U, F, L, G, J) => {
2948
2948
  let K, q;
2949
- const { props: ce, shapeFlag: Q, transition: le, dirs: pe } = w;
2949
+ const { props: ce, shapeFlag: Q, transition: le, dirs: he } = w;
2950
2950
  if (K = w.el = s(
2951
2951
  w.type,
2952
2952
  L,
@@ -2961,15 +2961,15 @@ function gv(e, t) {
2961
2961
  Rs(w, L),
2962
2962
  G,
2963
2963
  J
2964
- ), pe && oo(w, null, U, "created"), C(K, w, w.scopeId, G, U), ce) {
2964
+ ), he && oo(w, null, U, "created"), C(K, w, w.scopeId, G, U), ce) {
2965
2965
  for (const ne in ce)
2966
2966
  ne !== "value" && !pr(ne) && i(K, ne, null, ce[ne], L, U);
2967
2967
  "value" in ce && i(K, "value", null, ce.value, L), (q = ce.onVnodeBeforeMount) && Qt(q, U, w);
2968
2968
  }
2969
- pe && oo(w, null, U, "beforeMount");
2969
+ he && oo(w, null, U, "beforeMount");
2970
2970
  const B = yv(F, le);
2971
- B && le.beforeEnter(K), o(K, k, I), ((q = ce && ce.onVnodeMounted) || B || pe) && vt(() => {
2972
- q && Qt(q, U, w), B && le.enter(K), pe && oo(w, null, U, "mounted");
2971
+ B && le.beforeEnter(K), o(K, k, I), ((q = ce && ce.onVnodeMounted) || B || he) && vt(() => {
2972
+ q && Qt(q, U, w), B && le.enter(K), he && oo(w, null, U, "mounted");
2973
2973
  }, F);
2974
2974
  }, C = (w, k, I, U, F) => {
2975
2975
  if (I && p(w, I), U)
@@ -3008,8 +3008,8 @@ function gv(e, t) {
3008
3008
  let { patchFlag: K, dynamicChildren: q, dirs: ce } = k;
3009
3009
  K |= w.patchFlag & 16;
3010
3010
  const Q = w.props || Re, le = k.props || Re;
3011
- let pe;
3012
- if (I && ro(I, !1), (pe = le.onVnodeBeforeUpdate) && Qt(pe, I, k, w), ce && oo(k, w, I, "beforeUpdate"), I && ro(I, !0), // #6385 the old vnode may be a user-wrapped non-isomorphic block
3011
+ let he;
3012
+ if (I && ro(I, !1), (he = le.onVnodeBeforeUpdate) && Qt(he, I, k, w), ce && oo(k, w, I, "beforeUpdate"), I && ro(I, !0), // #6385 the old vnode may be a user-wrapped non-isomorphic block
3013
3013
  // Force full diff when block metadata is unstable.
3014
3014
  q && (!w.dynamicChildren || w.dynamicChildren.length !== q.length) && (K = 0, G = !1, q = null), (Q.innerHTML && le.innerHTML == null || Q.textContent && le.textContent == null) && u(J, ""), q ? j(
3015
3015
  w.dynamicChildren,
@@ -3041,8 +3041,8 @@ function gv(e, t) {
3041
3041
  }
3042
3042
  K & 1 && w.children !== k.children && u(J, k.children);
3043
3043
  } else !G && q == null && X(J, Q, le, I, F);
3044
- ((pe = le.onVnodeUpdated) || ce) && vt(() => {
3045
- pe && Qt(pe, I, k, w), ce && oo(k, w, I, "updated");
3044
+ ((he = le.onVnodeUpdated) || ce) && vt(() => {
3045
+ he && Qt(he, I, k, w), ce && oo(k, w, I, "updated");
3046
3046
  }, U);
3047
3047
  }, j = (w, k, I, U, F, L, G) => {
3048
3048
  for (let J = 0; J < k.length; J++) {
@@ -3093,8 +3093,8 @@ function gv(e, t) {
3093
3093
  }
3094
3094
  }, we = (w, k, I, U, F, L, G, J, K) => {
3095
3095
  const q = k.el = w ? w.el : a(""), ce = k.anchor = w ? w.anchor : a("");
3096
- let { patchFlag: Q, dynamicChildren: le, slotScopeIds: pe } = k;
3097
- pe && (J = J ? J.concat(pe) : pe), w == null ? (o(q, I, U), o(ce, I, U), O(
3096
+ let { patchFlag: Q, dynamicChildren: le, slotScopeIds: he } = k;
3097
+ he && (J = J ? J.concat(he) : he), w == null ? (o(q, I, U), o(ce, I, U), O(
3098
3098
  // #10007
3099
3099
  // such fragment like `<></>` will be compiled into
3100
3100
  // a fragment which doesn't have a children.
@@ -3144,7 +3144,7 @@ function gv(e, t) {
3144
3144
  U,
3145
3145
  G,
3146
3146
  K
3147
- ) : de(
3147
+ ) : fe(
3148
3148
  k,
3149
3149
  I,
3150
3150
  U,
@@ -3153,7 +3153,7 @@ function gv(e, t) {
3153
3153
  G,
3154
3154
  K
3155
3155
  ) : Ne(w, k, K);
3156
- }, de = (w, k, I, U, F, L, G) => {
3156
+ }, fe = (w, k, I, U, F, L, G) => {
3157
3157
  const J = w.component = Cv(
3158
3158
  w,
3159
3159
  U,
@@ -3187,7 +3187,7 @@ function gv(e, t) {
3187
3187
  }, be = (w, k, I, U, F, L, G) => {
3188
3188
  const J = () => {
3189
3189
  if (w.isMounted) {
3190
- let { next: Q, bu: le, u: pe, parent: B, vnode: ne } = w;
3190
+ let { next: Q, bu: le, u: he, parent: B, vnode: ne } = w;
3191
3191
  {
3192
3192
  const Yt = cf(w);
3193
3193
  if (Yt) {
@@ -3212,14 +3212,14 @@ function gv(e, t) {
3212
3212
  w,
3213
3213
  F,
3214
3214
  L
3215
- ), Q.el = rt.el, ye === null && uv(w, rt.el), pe && vt(pe, F), (Ce = Q.props && Q.props.onVnodeUpdated) && vt(
3215
+ ), Q.el = rt.el, ye === null && uv(w, rt.el), he && vt(he, F), (Ce = Q.props && Q.props.onVnodeUpdated) && vt(
3216
3216
  () => Qt(Ce, B, Q, ne),
3217
3217
  F
3218
3218
  );
3219
3219
  } else {
3220
3220
  let Q;
3221
- const { el: le, props: pe } = k, { bm: B, m: ne, parent: ye, root: Ce, type: rt } = w, Gt = No(k);
3222
- ro(w, !1), B && ai(B), !Gt && (Q = pe && pe.onVnodeBeforeMount) && Qt(Q, ye, k), ro(w, !0);
3221
+ const { el: le, props: he } = k, { bm: B, m: ne, parent: ye, root: Ce, type: rt } = w, Gt = No(k);
3222
+ ro(w, !1), B && ai(B), !Gt && (Q = he && he.onVnodeBeforeMount) && Qt(Q, ye, k), ro(w, !0);
3223
3223
  {
3224
3224
  Ce.ce && Ce.ce._hasShadowRoot() && Ce.ce._injectChildStyle(
3225
3225
  rt,
@@ -3236,7 +3236,7 @@ function gv(e, t) {
3236
3236
  L
3237
3237
  ), k.el = Yt.el;
3238
3238
  }
3239
- if (ne && vt(ne, F), !Gt && (Q = pe && pe.onVnodeMounted)) {
3239
+ if (ne && vt(ne, F), !Gt && (Q = he && he.onVnodeMounted)) {
3240
3240
  const Yt = k;
3241
3241
  vt(
3242
3242
  () => Qt(Q, ye, Yt),
@@ -3256,7 +3256,7 @@ function gv(e, t) {
3256
3256
  const U = w.vnode.props;
3257
3257
  w.vnode = k, w.next = null, dv(w, k.props, U, I), mv(w, k.children, I), Cn(), Xl(w), kn();
3258
3258
  }, re = (w, k, I, U, F, L, G, J, K = !1) => {
3259
- const q = w && w.children, ce = w ? w.shapeFlag : 0, Q = k.children, { patchFlag: le, shapeFlag: pe } = k;
3259
+ const q = w && w.children, ce = w ? w.shapeFlag : 0, Q = k.children, { patchFlag: le, shapeFlag: he } = k;
3260
3260
  if (le > 0) {
3261
3261
  if (le & 128) {
3262
3262
  ve(
@@ -3286,7 +3286,7 @@ function gv(e, t) {
3286
3286
  return;
3287
3287
  }
3288
3288
  }
3289
- pe & 8 ? (ce & 16 && Ft(q, F, L), Q !== q && u(I, Q)) : ce & 16 ? pe & 16 ? ve(
3289
+ he & 8 ? (ce & 16 && Ft(q, F, L), Q !== q && u(I, Q)) : ce & 16 ? he & 16 ? ve(
3290
3290
  q,
3291
3291
  Q,
3292
3292
  I,
@@ -3296,7 +3296,7 @@ function gv(e, t) {
3296
3296
  G,
3297
3297
  J,
3298
3298
  K
3299
- ) : Ft(q, F, L, !0) : (ce & 8 && u(I, ""), pe & 16 && O(
3299
+ ) : Ft(q, F, L, !0) : (ce & 8 && u(I, ""), he & 16 && O(
3300
3300
  Q,
3301
3301
  I,
3302
3302
  U,
@@ -3311,10 +3311,10 @@ function gv(e, t) {
3311
3311
  const q = w.length, ce = k.length, Q = Math.min(q, ce);
3312
3312
  let le;
3313
3313
  for (le = 0; le < Q; le++) {
3314
- const pe = k[le] = K ? mn(k[le]) : on(k[le]);
3314
+ const he = k[le] = K ? mn(k[le]) : on(k[le]);
3315
3315
  v(
3316
3316
  w[le],
3317
- pe,
3317
+ he,
3318
3318
  I,
3319
3319
  null,
3320
3320
  F,
@@ -3347,10 +3347,10 @@ function gv(e, t) {
3347
3347
  const ce = k.length;
3348
3348
  let Q = w.length - 1, le = ce - 1;
3349
3349
  for (; q <= Q && q <= le; ) {
3350
- const pe = w[q], B = k[q] = K ? mn(k[q]) : on(k[q]);
3351
- if (rr(pe, B))
3350
+ const he = w[q], B = k[q] = K ? mn(k[q]) : on(k[q]);
3351
+ if (rr(he, B))
3352
3352
  v(
3353
- pe,
3353
+ he,
3354
3354
  B,
3355
3355
  I,
3356
3356
  null,
@@ -3365,10 +3365,10 @@ function gv(e, t) {
3365
3365
  q++;
3366
3366
  }
3367
3367
  for (; q <= Q && q <= le; ) {
3368
- const pe = w[Q], B = k[le] = K ? mn(k[le]) : on(k[le]);
3369
- if (rr(pe, B))
3368
+ const he = w[Q], B = k[le] = K ? mn(k[le]) : on(k[le]);
3369
+ if (rr(he, B))
3370
3370
  v(
3371
- pe,
3371
+ he,
3372
3372
  B,
3373
3373
  I,
3374
3374
  null,
@@ -3384,7 +3384,7 @@ function gv(e, t) {
3384
3384
  }
3385
3385
  if (q > Q) {
3386
3386
  if (q <= le) {
3387
- const pe = le + 1, B = pe < ce ? k[pe].el : U;
3387
+ const he = le + 1, B = he < ce ? k[he].el : U;
3388
3388
  for (; q <= le; )
3389
3389
  v(
3390
3390
  null,
@@ -3402,7 +3402,7 @@ function gv(e, t) {
3402
3402
  for (; q <= Q; )
3403
3403
  He(w[q], F, L, !0), q++;
3404
3404
  else {
3405
- const pe = q, B = q, ne = /* @__PURE__ */ new Map();
3405
+ const he = q, B = q, ne = /* @__PURE__ */ new Map();
3406
3406
  for (q = B; q <= le; q++) {
3407
3407
  const $t = k[q] = K ? mn(k[q]) : on(k[q]);
3408
3408
  $t.key != null && ne.set($t.key, q);
@@ -3412,7 +3412,7 @@ function gv(e, t) {
3412
3412
  let Gt = !1, Yt = 0;
3413
3413
  const nr = new Array(rt);
3414
3414
  for (q = 0; q < rt; q++) nr[q] = 0;
3415
- for (q = pe; q <= Q; q++) {
3415
+ for (q = he; q <= Q; q++) {
3416
3416
  const $t = w[q];
3417
3417
  if (Ce >= rt) {
3418
3418
  He($t, F, L, !0);
@@ -3487,7 +3487,7 @@ function gv(e, t) {
3487
3487
  if (U === 0)
3488
3488
  J.persisted && !L[Ts] ? o(L, k, I) : (J.beforeEnter(L), o(L, k, I), vt(() => J.enter(L), F));
3489
3489
  else {
3490
- const { leave: Q, delayLeave: le, afterLeave: pe } = J, B = () => {
3490
+ const { leave: Q, delayLeave: le, afterLeave: he } = J, B = () => {
3491
3491
  w.ctx.isUnmounted ? r(L) : o(L, k, I);
3492
3492
  }, ne = () => {
3493
3493
  const ye = L._isLeaving || !!L[Ts];
@@ -3495,7 +3495,7 @@ function gv(e, t) {
3495
3495
  !0
3496
3496
  /* cancelled */
3497
3497
  ), J.persisted && !ye ? B() : Q(L, () => {
3498
- B(), pe && pe();
3498
+ B(), he && he();
3499
3499
  });
3500
3500
  };
3501
3501
  le ? le(L, B, ne) : ne();
@@ -3512,10 +3512,10 @@ function gv(e, t) {
3512
3512
  shapeFlag: ce,
3513
3513
  patchFlag: Q,
3514
3514
  dirs: le,
3515
- cacheIndex: pe,
3515
+ cacheIndex: he,
3516
3516
  memo: B
3517
3517
  } = w;
3518
- if ((Q === -2 || q && q.hasOnce) && (F = !1), J != null && (Cn(), gr(J, null, I, w, !0), kn()), pe != null && (!w.ctx || w.ctx === k) && (k.renderCache[pe] = void 0), ce & 256) {
3518
+ if ((Q === -2 || q && q.hasOnce) && (F = !1), J != null && (Cn(), gr(J, null, I, w, !0), kn()), he != null && (!w.ctx || w.ctx === k) && (k.renderCache[he] = void 0), ce & 256) {
3519
3519
  k.ctx.deactivate(w);
3520
3520
  return;
3521
3521
  }
@@ -3548,7 +3548,7 @@ function gv(e, t) {
3548
3548
  !0
3549
3549
  ) : (L === xe && Q & 384 || !F && ce & 16) && Ft(K, k, I), U && Tt(w);
3550
3550
  }
3551
- const rt = B != null && pe == null;
3551
+ const rt = B != null && he == null;
3552
3552
  (ye && (Ce = G && G.onVnodeUnmounted) || ne || rt) && vt(() => {
3553
3553
  Ce && Qt(Ce, k, w), ne && oo(w, null, k, "unmounted"), rt && (w.el = null);
3554
3554
  }, I);
@@ -3608,7 +3608,7 @@ function gv(e, t) {
3608
3608
  um: He,
3609
3609
  m: Se,
3610
3610
  r: Tt,
3611
- mt: de,
3611
+ mt: fe,
3612
3612
  mc: O,
3613
3613
  pc: re,
3614
3614
  pbc: j,
@@ -3632,7 +3632,7 @@ function yv(e, t) {
3632
3632
  }
3633
3633
  function ul(e, t, n = !1) {
3634
3634
  const o = e.children, r = t.children;
3635
- if (fe(o) && fe(r))
3635
+ if (pe(o) && pe(r))
3636
3636
  for (let i = 0; i < o.length; i++) {
3637
3637
  const s = o[i];
3638
3638
  let a = r[i];
@@ -3677,7 +3677,7 @@ function df(e) {
3677
3677
  }
3678
3678
  const ff = (e) => e.__isSuspense;
3679
3679
  function wv(e, t) {
3680
- t && t.pendingBranch ? fe(e) ? t.effects.push(...e) : t.effects.push(e) : Tm(e);
3680
+ t && t.pendingBranch ? pe(e) ? t.effects.push(...e) : t.effects.push(e) : Tm(e);
3681
3681
  }
3682
3682
  const xe = /* @__PURE__ */ Symbol.for("v-fgt"), zr = /* @__PURE__ */ Symbol.for("v-txt"), Dt = /* @__PURE__ */ Symbol.for("v-cmt"), Ns = /* @__PURE__ */ Symbol.for("v-stc"), _n = [];
3683
3683
  let yt = null;
@@ -3729,7 +3729,7 @@ const hf = ({ key: e }) => e ?? null, li = ({
3729
3729
  ref: e,
3730
3730
  ref_key: t,
3731
3731
  ref_for: n
3732
- }) => (typeof e == "number" && (e = "" + e), e != null ? qe(e) || /* @__PURE__ */ Xe(e) || he(e) ? { i: st, r: e, k: t, f: !!n } : e : null);
3732
+ }) => (typeof e == "number" && (e = "" + e), e != null ? qe(e) || /* @__PURE__ */ Xe(e) || me(e) ? { i: st, r: e, k: t, f: !!n } : e : null);
3733
3733
  function oe(e, t = null, n = null, o = 0, r = null, i = e === xe ? 0 : 1, s = !1, a = !1) {
3734
3734
  const l = {
3735
3735
  __v_isVNode: !0,
@@ -3784,9 +3784,9 @@ function _v(e, t = null, n = null, o = 0, r = null, i = !1) {
3784
3784
  if (Ov(e) && (e = e.__vccOpts), t) {
3785
3785
  t = Mr(t);
3786
3786
  let { class: a, style: l } = t;
3787
- a && !qe(a) && (t.class = me(a)), Ie(l) && (/* @__PURE__ */ Yi(l) && !fe(l) && (l = nt({}, l)), t.style = Fe(l));
3787
+ a && !qe(a) && (t.class = de(a)), Ie(l) && (/* @__PURE__ */ Yi(l) && !pe(l) && (l = nt({}, l)), t.style = Fe(l));
3788
3788
  }
3789
- const s = qe(e) ? 1 : ff(e) ? 128 : es(e) ? 64 : Ie(e) ? 4 : he(e) ? 2 : 0;
3789
+ const s = qe(e) ? 1 : ff(e) ? 128 : es(e) ? 64 : Ie(e) ? 4 : me(e) ? 2 : 0;
3790
3790
  return oe(
3791
3791
  e,
3792
3792
  t,
@@ -3812,7 +3812,7 @@ function vo(e, t, n = !1, o = !1) {
3812
3812
  // #2078 in the case of <component :is="vnode" ref="extra"/>
3813
3813
  // if the vnode itself already has a ref, cloneVNode will need to merge
3814
3814
  // the refs so the single vnode can be set on multiple refs
3815
- n && i ? fe(i) ? i.concat(li(t)) : [i, li(t)] : li(t)
3815
+ n && i ? pe(i) ? i.concat(li(t)) : [i, li(t)] : li(t)
3816
3816
  ) : i,
3817
3817
  scopeId: e.scopeId,
3818
3818
  slotScopeIds: e.slotScopeIds,
@@ -3859,7 +3859,7 @@ function W(e = "", t = !1) {
3859
3859
  return t ? (b(), Z(Dt, null, e)) : H(Dt, null, e);
3860
3860
  }
3861
3861
  function on(e) {
3862
- return e == null || typeof e == "boolean" ? H(Dt) : fe(e) ? H(
3862
+ return e == null || typeof e == "boolean" ? H(Dt) : pe(e) ? H(
3863
3863
  xe,
3864
3864
  null,
3865
3865
  // #3666, avoid reference pollution when reusing vnode
@@ -3874,7 +3874,7 @@ function xi(e, t) {
3874
3874
  const { shapeFlag: o } = e;
3875
3875
  if (t == null)
3876
3876
  t = null;
3877
- else if (fe(t))
3877
+ else if (pe(t))
3878
3878
  n = 16;
3879
3879
  else if (typeof t == "object")
3880
3880
  if (o & 65) {
@@ -3886,7 +3886,7 @@ function xi(e, t) {
3886
3886
  const r = t._;
3887
3887
  !r && !of(t) ? t._ctx = st : r === 3 && st && (st.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
3888
3888
  }
3889
- else if (he(t)) {
3889
+ else if (me(t)) {
3890
3890
  if (o & 65) {
3891
3891
  xi(e, { default: t });
3892
3892
  return;
@@ -3902,12 +3902,12 @@ function se(...e) {
3902
3902
  const o = e[n];
3903
3903
  for (const r in o)
3904
3904
  if (r === "class")
3905
- t.class !== o.class && (t.class = me([t.class, o.class]));
3905
+ t.class !== o.class && (t.class = de([t.class, o.class]));
3906
3906
  else if (r === "style")
3907
3907
  t.style = Fe([t.style, o.style]);
3908
3908
  else if (Fi(r)) {
3909
3909
  const i = t[r], s = o[r];
3910
- s && i !== s && !(fe(i) && i.includes(s)) ? t[r] = i ? [].concat(i, s) : s : s == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
3910
+ s && i !== s && !(pe(i) && i.includes(s)) ? t[r] = i ? [].concat(i, s) : s : s == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
3911
3911
  // the model listener.
3912
3912
  !Vi(r) && (t[r] = s);
3913
3913
  } else r !== "" && (t[r] = o[r]);
@@ -4072,7 +4072,7 @@ function $v(e, t) {
4072
4072
  vf(e);
4073
4073
  }
4074
4074
  function fu(e, t, n) {
4075
- he(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : Ie(t) && (e.setupState = Od(t)), vf(e);
4075
+ me(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : Ie(t) && (e.setupState = Od(t)), vf(e);
4076
4076
  }
4077
4077
  function vf(e, t, n) {
4078
4078
  const o = e.type;
@@ -4117,17 +4117,17 @@ function os(e) {
4117
4117
  })) : e.proxy;
4118
4118
  }
4119
4119
  function Ev(e, t = !0) {
4120
- return he(e) ? e.displayName || e.name : e.name || t && e.__name;
4120
+ return me(e) ? e.displayName || e.name : e.name || t && e.__name;
4121
4121
  }
4122
4122
  function Ov(e) {
4123
- return he(e) && "__vccOpts" in e;
4123
+ return me(e) && "__vccOpts" in e;
4124
4124
  }
4125
4125
  const A = (e, t) => /* @__PURE__ */ $m(e, t, Ar);
4126
4126
  function ee(e, t, n) {
4127
4127
  try {
4128
4128
  _i(-1);
4129
4129
  const o = arguments.length;
4130
- return o === 2 ? Ie(t) && !fe(t) ? kr(t) ? H(e, null, [t]) : H(e, t) : H(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : o === 3 && kr(n) && (n = [n]), H(e, t, n));
4130
+ return o === 2 ? Ie(t) && !pe(t) ? kr(t) ? H(e, null, [t]) : H(e, t) : H(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : o === 3 && kr(n) && (n = [n]), H(e, t, n));
4131
4131
  } finally {
4132
4132
  _i(1);
4133
4133
  }
@@ -4273,7 +4273,7 @@ function Lv(e, t, n) {
4273
4273
  }
4274
4274
  const Zr = /\s*!important$/;
4275
4275
  function cr(e, t, n) {
4276
- if (fe(n))
4276
+ if (pe(n))
4277
4277
  n.forEach((o) => cr(e, t, o));
4278
4278
  else if (n == null && (n = ""), t.startsWith("--"))
4279
4279
  Zr.test(n) ? e.setProperty(t, n.replace(Zr, ""), "important") : e.setProperty(t, n);
@@ -4377,7 +4377,7 @@ function Gv(e, t) {
4377
4377
  else if (o._vts <= n.attached)
4378
4378
  return;
4379
4379
  const r = n.value;
4380
- if (fe(r)) {
4380
+ if (pe(r)) {
4381
4381
  const i = o.stopImmediatePropagation;
4382
4382
  o.stopImmediatePropagation = () => {
4383
4383
  i.call(o), o._stopped = !0;
@@ -4411,7 +4411,7 @@ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Yv = (e, t, n, o, r, i) => {
4411
4411
  };
4412
4412
  function Xv(e, t, n, o) {
4413
4413
  if (o)
4414
- return !!(t === "innerHTML" || t === "textContent" || t in e && wu(t) && he(n));
4414
+ return !!(t === "innerHTML" || t === "textContent" || t in e && wu(t) && me(n));
4415
4415
  if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "sandbox" && e.tagName === "IFRAME" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
4416
4416
  return !1;
4417
4417
  if (t === "width" || t === "height") {
@@ -4433,7 +4433,7 @@ function Qv(e, t) {
4433
4433
  }
4434
4434
  const _u = (e) => {
4435
4435
  const t = e.props["onUpdate:modelValue"] || !1;
4436
- return fe(t) ? (n) => ai(t, n) : t;
4436
+ return pe(t) ? (n) => ai(t, n) : t;
4437
4437
  };
4438
4438
  function eg(e) {
4439
4439
  e.target.composing = !0;
@@ -4522,7 +4522,7 @@ const ag = ((...e) => {
4522
4522
  const r = ug(o);
4523
4523
  if (!r) return;
4524
4524
  const i = t._component;
4525
- !he(i) && !i.render && !i.template && (i.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
4525
+ !me(i) && !i.render && !i.template && (i.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
4526
4526
  const s = n(r, !1, lg(r));
4527
4527
  return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), s;
4528
4528
  }, t;
@@ -9905,10 +9905,10 @@ Note: state patches appear right after the elements that use them, so the UI fil
9905
9905
  s.push(` - ${ve}`);
9906
9906
  s.push("");
9907
9907
  }
9908
- const de = t.directives;
9909
- if (de && de.length > 0) {
9908
+ const fe = t.directives;
9909
+ if (fe && fe.length > 0) {
9910
9910
  s.push("CUSTOM DYNAMIC VALUES:"), s.push("");
9911
- for (const ve of de) {
9911
+ for (const ve of fe) {
9912
9912
  const Se = ve.description ? ` (${ve.description})` : "";
9913
9913
  s.push(`- ${ve.name}${Se}: ${Lt(ve.schema)}`);
9914
9914
  }
@@ -11068,9 +11068,9 @@ var Al = /* @__PURE__ */ D({
11068
11068
  const ge = e.spec.elements[we];
11069
11069
  if (!ge) {
11070
11070
  if (!e.loading) {
11071
- const de = X ? `in slot "${X}" of "${S.type}"` : `as child of "${S.type}"`;
11071
+ const fe = X ? `in slot "${X}" of "${S.type}"` : `as child of "${S.type}"`;
11072
11072
  console.warn(
11073
- `[json-render] Missing element "${we}" referenced ${de}. This element will not render.`
11073
+ `[json-render] Missing element "${we}" referenced ${fe}. This element will not render.`
11074
11074
  );
11075
11075
  }
11076
11076
  return null;
@@ -11503,6 +11503,7 @@ const wS = {
11503
11503
  "Reorder row {key}": "Reorder row {key}",
11504
11504
  Columns: "Columns",
11505
11505
  "Reset columns": "Reset columns",
11506
+ "Too narrow": "Too narrow",
11506
11507
  "{count} of {total} items": "{count} of {total} items",
11507
11508
  "No matching items": "No matching items",
11508
11509
  "Sort by {name}": "Sort by {name}",
@@ -11656,6 +11657,7 @@ const wS = {
11656
11657
  "Reorder row {key}": "重新排序列 {key}",
11657
11658
  Columns: "欄位",
11658
11659
  "Reset columns": "重設欄位",
11660
+ "Too narrow": "空間不足",
11659
11661
  "{count} of {total} items": "{count}/{total} 個項目",
11660
11662
  "No matching items": "沒有符合的項目",
11661
11663
  "Sort by {name}": "依 {name} 排序",
@@ -11808,6 +11810,7 @@ const wS = {
11808
11810
  "Reorder row {key}": "重新排序行 {key}",
11809
11811
  Columns: "列",
11810
11812
  "Reset columns": "重置列",
11813
+ "Too narrow": "空间不足",
11811
11814
  "{count} of {total} items": "{count}/{total} 个项目",
11812
11815
  "No matching items": "没有匹配的项目",
11813
11816
  "Sort by {name}": "按 {name} 排序",
@@ -11960,6 +11963,7 @@ const wS = {
11960
11963
  "Reorder row {key}": "行 {key} を並べ替え",
11961
11964
  Columns: "列",
11962
11965
  "Reset columns": "列をリセット",
11966
+ "Too narrow": "幅が足りません",
11963
11967
  "{count} of {total} items": "{count} / {total} 件",
11964
11968
  "No matching items": "一致する項目はありません",
11965
11969
  "Sort by {name}": "{name} で並べ替え",
@@ -12112,6 +12116,7 @@ const wS = {
12112
12116
  "Reorder row {key}": "{key} 행 순서 변경",
12113
12117
  Columns: "열",
12114
12118
  "Reset columns": "열 초기화",
12119
+ "Too narrow": "공간 부족",
12115
12120
  "{count} of {total} items": "{count}/{total}개 항목",
12116
12121
  "No matching items": "일치하는 항목 없음",
12117
12122
  "Sort by {name}": "{name} 기준 정렬",
@@ -12264,6 +12269,7 @@ const wS = {
12264
12269
  "Reorder row {key}": "Zeile {key} neu anordnen",
12265
12270
  Columns: "Spalten",
12266
12271
  "Reset columns": "Spalten zurücksetzen",
12272
+ "Too narrow": "Zu schmal",
12267
12273
  "{count} of {total} items": "{count} von {total} Elementen",
12268
12274
  "No matching items": "Keine passenden Elemente",
12269
12275
  "Sort by {name}": "Nach {name} sortieren",
@@ -12416,6 +12422,7 @@ const wS = {
12416
12422
  "Reorder row {key}": "Réordonner la ligne {key}",
12417
12423
  Columns: "Colonnes",
12418
12424
  "Reset columns": "Réinitialiser les colonnes",
12425
+ "Too narrow": "Trop étroit",
12419
12426
  "{count} of {total} items": "{count} sur {total} éléments",
12420
12427
  "No matching items": "Aucun élément correspondant",
12421
12428
  "Sort by {name}": "Trier par {name}",
@@ -12568,6 +12575,7 @@ const wS = {
12568
12575
  "Reorder row {key}": "Reordenar fila {key}",
12569
12576
  Columns: "Columnas",
12570
12577
  "Reset columns": "Restablecer columnas",
12578
+ "Too narrow": "Demasiado estrecho",
12571
12579
  "{count} of {total} items": "{count} de {total} elementos",
12572
12580
  "No matching items": "No hay elementos coincidentes",
12573
12581
  "Sort by {name}": "Ordenar por {name}",
@@ -12720,6 +12728,7 @@ const wS = {
12720
12728
  "Reorder row {key}": "Riordina riga {key}",
12721
12729
  Columns: "Colonne",
12722
12730
  "Reset columns": "Reimposta colonne",
12731
+ "Too narrow": "Troppo stretto",
12723
12732
  "{count} of {total} items": "{count} di {total} elementi",
12724
12733
  "No matching items": "Nessun elemento corrispondente",
12725
12734
  "Sort by {name}": "Ordina per {name}",
@@ -12857,7 +12866,7 @@ const AS = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "a
12857
12866
  );
12858
12867
  return (u, d) => (b(), P("button", {
12859
12868
  type: e.type,
12860
- class: me(c.value),
12869
+ class: de(c.value),
12861
12870
  disabled: e.disabled || r.value,
12862
12871
  "data-disabled": e.disabled || void 0,
12863
12872
  "data-loading": r.value || void 0,
@@ -16075,12 +16084,12 @@ const b$ = 50, w$ = async (e, t, n) => {
16075
16084
  }, p = zl(r), h = Dl(p), v = await s.getDimensions(c), g = p === "y", y = g ? "top" : "left", S = g ? "bottom" : "right", x = g ? "clientHeight" : "clientWidth", _ = i.reference[h] + i.reference[p] - f[p] - i.floating[h], $ = f[p] - i.reference[p], E = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
16076
16085
  let C = E ? E[x] : 0;
16077
16086
  (!C || !await (s.isElement == null ? void 0 : s.isElement(E))) && (C = a.floating[x] || i.floating[h]);
16078
- const O = _ / 2 - $ / 2, T = C / 2 - v[h] / 2 - 1, j = Hn(d[y], T), X = Hn(d[S], T), we = C - v[h] - X, ge = C / 2 - v[h] / 2 + O, de = lh(j, ge, we), Ne = !l.arrow && er(r) != null && ge !== de && i.reference[h] / 2 - (ge < j ? j : X) - v[h] / 2 < 0, be = Ne ? ge < j ? ge - j : ge - we : 0;
16087
+ const O = _ / 2 - $ / 2, T = C / 2 - v[h] / 2 - 1, j = Hn(d[y], T), X = Hn(d[S], T), we = C - v[h] - X, ge = C / 2 - v[h] / 2 + O, fe = lh(j, ge, we), Ne = !l.arrow && er(r) != null && ge !== fe && i.reference[h] / 2 - (ge < j ? j : X) - v[h] / 2 < 0, be = Ne ? ge < j ? ge - j : ge - we : 0;
16079
16088
  return {
16080
16089
  [p]: f[p] + be,
16081
16090
  data: {
16082
- [p]: de,
16083
- centerOffset: ge - de - be,
16091
+ [p]: fe,
16092
+ centerOffset: ge - fe - be,
16084
16093
  ...Ne && {
16085
16094
  alignmentOffset: be
16086
16095
  }
@@ -16117,21 +16126,21 @@ const b$ = 50, w$ = async (e, t, n) => {
16117
16126
  const C = [a, ...$], O = await l.detectOverflow(t, g), T = [];
16118
16127
  let j = ((o = i.flip) == null ? void 0 : o.overflows) || [];
16119
16128
  if (u && T.push(O[y]), d) {
16120
- const de = d$(r, s, _);
16121
- T.push(O[de[0]], O[de[1]]);
16129
+ const fe = d$(r, s, _);
16130
+ T.push(O[fe[0]], O[fe[1]]);
16122
16131
  }
16123
16132
  if (j = [...j, {
16124
16133
  placement: r,
16125
16134
  overflows: T
16126
- }], !T.every((de) => de <= 0)) {
16135
+ }], !T.every((fe) => fe <= 0)) {
16127
16136
  var X, we;
16128
- const de = (((X = i.flip) == null ? void 0 : X.index) || 0) + 1, Ne = C[de];
16137
+ const fe = (((X = i.flip) == null ? void 0 : X.index) || 0) + 1, Ne = C[fe];
16129
16138
  if (Ne && (!(d === "alignment" ? S !== rn(Ne) : !1) || // We leave the current main axis only if every placement on that axis
16130
16139
  // overflows the main axis.
16131
16140
  j.every((re) => rn(re.placement) === S ? re.overflows[0] > 0 : !0)))
16132
16141
  return {
16133
16142
  data: {
16134
- index: de,
16143
+ index: fe,
16135
16144
  overflows: j
16136
16145
  },
16137
16146
  reset: {
@@ -17026,7 +17035,7 @@ const sA = ["dir"], aA = {
17026
17035
  positionStrategy: "fixed",
17027
17036
  updatePositionStrategy: "optimized",
17028
17037
  prioritizePosition: !1
17029
- }, [nI, lA] = /* @__PURE__ */ lt("PopperContent");
17038
+ }, [tI, lA] = /* @__PURE__ */ lt("PopperContent");
17030
17039
  var uA = /* @__PURE__ */ D({
17031
17040
  inheritAttrs: !1,
17032
17041
  __name: "PopperContent",
@@ -17156,8 +17165,8 @@ var uA = /* @__PURE__ */ D({
17156
17165
  }),
17157
17166
  X$({
17158
17167
  ...g.value,
17159
- apply: ({ elements: de, rects: Ne, availableWidth: be, availableHeight: Y }) => {
17160
- const { width: re, height: Pe } = Ne.reference, ve = de.floating.style;
17168
+ apply: ({ elements: fe, rects: Ne, availableWidth: be, availableHeight: Y }) => {
17169
+ const { width: re, height: Pe } = Ne.reference, ve = fe.floating.style;
17161
17170
  ve.setProperty("--reka-popper-available-width", `${be}px`), ve.setProperty("--reka-popper-available-height", `${Y}px`), ve.setProperty("--reka-popper-anchor-width", `${re}px`), ve.setProperty("--reka-popper-anchor-height", `${Pe}px`);
17162
17171
  }
17163
17172
  }),
@@ -17177,7 +17186,7 @@ var uA = /* @__PURE__ */ D({
17177
17186
  ]), x = A(() => n.reference ?? i.anchor.value), { floatingStyles: _, placement: $, isPositioned: E, middlewareData: C } = iA(x, c, {
17178
17187
  strategy: n.positionStrategy,
17179
17188
  placement: p,
17180
- whileElementsMounted: (...de) => J$(...de, {
17189
+ whileElementsMounted: (...fe) => J$(...fe, {
17181
17190
  layoutShift: !n.disableUpdateOnLayoutShift,
17182
17191
  animationFrame: n.updatePositionStrategy === "always"
17183
17192
  }),
@@ -17187,8 +17196,8 @@ var uA = /* @__PURE__ */ D({
17187
17196
  E.value && r("placed");
17188
17197
  });
17189
17198
  const j = A(() => {
17190
- const de = C.value.arrow?.centerOffset !== 0;
17191
- return n.hideShiftedArrow && de;
17199
+ const fe = C.value.arrow?.centerOffset !== 0;
17200
+ return n.hideShiftedArrow && fe;
17192
17201
  }), X = /* @__PURE__ */ V("");
17193
17202
  Pt(() => {
17194
17203
  a.value && (X.value = window.getComputedStyle(a.value).zIndex);
@@ -17196,11 +17205,11 @@ var uA = /* @__PURE__ */ D({
17196
17205
  const we = A(() => C.value.arrow?.x ?? 0), ge = A(() => C.value.arrow?.y ?? 0);
17197
17206
  return lA({
17198
17207
  placedSide: O,
17199
- onArrowChange: (de) => u.value = de,
17208
+ onArrowChange: (fe) => u.value = fe,
17200
17209
  arrowX: we,
17201
17210
  arrowY: ge,
17202
17211
  shouldHideArrow: j
17203
- }), (de, Ne) => (b(), P("div", {
17212
+ }), (fe, Ne) => (b(), P("div", {
17204
17213
  ref_key: "floatingRef",
17205
17214
  ref: c,
17206
17215
  "data-reka-popper-content-wrapper": "",
@@ -17222,19 +17231,19 @@ var uA = /* @__PURE__ */ D({
17222
17231
  O.value,
17223
17232
  T.value,
17224
17233
  m(E),
17225
- ...Object.values(de.$attrs),
17234
+ ...Object.values(fe.$attrs),
17226
17235
  ...n.memoDependencies
17227
17236
  ], () => (b(), Z(m($e), se({
17228
17237
  key: 0,
17229
17238
  ref: m(s)
17230
- }, de.$attrs, {
17239
+ }, fe.$attrs, {
17231
17240
  "as-child": n.asChild,
17232
17241
  as: n.as,
17233
17242
  "data-side": O.value,
17234
17243
  "data-align": T.value,
17235
17244
  style: { animation: m(E) ? void 0 : "none" }
17236
17245
  }), {
17237
- default: M(() => [N(de.$slots, "default")]),
17246
+ default: M(() => [N(fe.$slots, "default")]),
17238
17247
  _: 3
17239
17248
  }, 16, [
17240
17249
  "as-child",
@@ -17245,7 +17254,7 @@ var uA = /* @__PURE__ */ D({
17245
17254
  ])), Ne, 0) : (b(), Z(m($e), se({
17246
17255
  key: 1,
17247
17256
  ref: m(s)
17248
- }, de.$attrs, {
17257
+ }, fe.$attrs, {
17249
17258
  "as-child": n.asChild,
17250
17259
  as: n.as,
17251
17260
  "data-side": O.value,
@@ -17253,7 +17262,7 @@ var uA = /* @__PURE__ */ D({
17253
17262
  dir: m(l),
17254
17263
  style: { animation: m(E) ? void 0 : "none" }
17255
17264
  }), {
17256
- default: M(() => [N(de.$slots, "default")]),
17265
+ default: M(() => [N(fe.$slots, "default")]),
17257
17266
  _: 3
17258
17267
  }, 16, [
17259
17268
  "as-child",
@@ -18619,7 +18628,7 @@ var XA = /* @__PURE__ */ D({
18619
18628
  const et = _.right - E.right, ut = window.innerWidth - $.right - et, _t = window.innerWidth - x.right - ut, ot = x.width + _t, Dn = Math.max(ot, _.width), w = window.innerWidth - Vt, k = kc(ut, Vt, Math.max(Vt, w - Dn));
18620
18629
  c.value.style.minWidth = `${ot}px`, c.value.style.right = `${k}px`;
18621
18630
  }
18622
- const C = r().map((et) => et.ref), O = window.innerHeight - Vt * 2, T = f.value.scrollHeight, j = window.getComputedStyle(d.value), X = Number.parseInt(j.borderTopWidth, 10), we = Number.parseInt(j.paddingTop, 10), ge = Number.parseInt(j.borderBottomWidth, 10), de = Number.parseInt(j.paddingBottom, 10), Ne = X + we + T + de + ge, be = Math.min(p.value.offsetHeight * 5, Ne), Y = window.getComputedStyle(f.value), re = Number.parseInt(Y.paddingTop, 10), Pe = Number.parseInt(Y.paddingBottom, 10), ve = x.top + x.height / 2 - Vt, Se = O - ve, He = p.value.offsetHeight / 2, Tt = p.value.offsetTop + He, It = X + we + Tt, no = Ne - It;
18631
+ const C = r().map((et) => et.ref), O = window.innerHeight - Vt * 2, T = f.value.scrollHeight, j = window.getComputedStyle(d.value), X = Number.parseInt(j.borderTopWidth, 10), we = Number.parseInt(j.paddingTop, 10), ge = Number.parseInt(j.borderBottomWidth, 10), fe = Number.parseInt(j.paddingBottom, 10), Ne = X + we + T + fe + ge, be = Math.min(p.value.offsetHeight * 5, Ne), Y = window.getComputedStyle(f.value), re = Number.parseInt(Y.paddingTop, 10), Pe = Number.parseInt(Y.paddingBottom, 10), ve = x.top + x.height / 2 - Vt, Se = O - ve, He = p.value.offsetHeight / 2, Tt = p.value.offsetTop + He, It = X + we + Tt, no = Ne - It;
18623
18632
  if (It <= ve) {
18624
18633
  const et = p.value === C.at(-1);
18625
18634
  c.value.style.bottom = "0px";
@@ -20034,7 +20043,7 @@ const JE = ["for"], GE = {
20034
20043
  c.value ? (b(), P("label", {
20035
20044
  key: 0,
20036
20045
  for: l.value,
20037
- class: me(["ui-checkbox-text min-w-0 font-normal", n.disabled ? "cursor-default" : "cursor-pointer"])
20046
+ class: de(["ui-checkbox-text min-w-0 font-normal", n.disabled ? "cursor-default" : "cursor-pointer"])
20038
20047
  }, [
20039
20048
  n.label ? (b(), P("span", GE, ie(n.label), 1)) : W("", !0),
20040
20049
  n.description ? (b(), P("span", YE, ie(n.description), 1)) : W("", !0)
@@ -20102,7 +20111,7 @@ const JE = ["for"], GE = {
20102
20111
  default: M(() => [
20103
20112
  (b(!0), P(xe, null, xt(n.options, (c) => (b(), P("label", {
20104
20113
  key: c.value,
20105
- class: me(["flex items-start gap-[var(--ui-choice-box-gap)] text-[13px] text-[var(--ui-text)]", n.disabled || c.disabled ? "cursor-default" : "cursor-pointer"])
20114
+ class: de(["flex items-start gap-[var(--ui-choice-box-gap)] text-[13px] text-[var(--ui-text)]", n.disabled || c.disabled ? "cursor-default" : "cursor-pointer"])
20106
20115
  }, [
20107
20116
  H(m(NA), {
20108
20117
  value: c.value,
@@ -20344,7 +20353,7 @@ const uO = { key: 0 }, cO = { key: 1 }, dO = { key: 2 }, fO = {
20344
20353
  value: j.value,
20345
20354
  "text-value": j.label,
20346
20355
  disabled: j.disabled,
20347
- class: me(["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-primary-soft)] data-[highlighted]:text-[var(--ui-primary-active)] data-[disabled]:opacity-40", T.label && T.indent ? "pl-5" : "pl-2.5"])
20356
+ class: de(["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-primary-soft)] data-[highlighted]:text-[var(--ui-primary-active)] data-[disabled]:opacity-40", T.label && T.indent ? "pl-5" : "pl-2.5"])
20348
20357
  }, {
20349
20358
  default: M(() => [
20350
20359
  H(m(gE), null, {
@@ -20395,7 +20404,7 @@ const uO = { key: 0 }, cO = { key: 1 }, dO = { key: 2 }, fO = {
20395
20404
  },
20396
20405
  setup(e) {
20397
20406
  return (t, n) => (b(), P("span", {
20398
- class: me([
20407
+ class: de([
20399
20408
  "inline-flex min-h-5 items-center gap-1.5 rounded-full px-2 py-0.5 text-[12px] font-normal leading-none tabular-nums",
20400
20409
  e.tone === "neutral" && "bg-[var(--ui-neutral-soft)] text-[var(--ui-neutral-text)]",
20401
20410
  e.tone === "info" && "bg-[var(--ui-info-soft)] text-[var(--ui-info-text)]",
@@ -20475,7 +20484,8 @@ const uO = { key: 0 }, cO = { key: 1 }, dO = { key: 2 }, fO = {
20475
20484
  max: { default: 100 },
20476
20485
  label: {},
20477
20486
  valueLabel: {},
20478
- tone: { default: "primary" }
20487
+ tone: { default: "primary" },
20488
+ size: { default: "md" }
20479
20489
  },
20480
20490
  setup(e) {
20481
20491
  const t = sl(), n = () => Object.fromEntries(Object.entries(t).filter(([s]) => s !== "class" && s !== "style")), o = e, r = {
@@ -20485,7 +20495,7 @@ const uO = { key: 0 }, cO = { key: 1 }, dO = { key: 2 }, fO = {
20485
20495
  danger: "bg-[var(--ui-danger)]"
20486
20496
  }, i = A(() => o.max <= 0 ? 0 : Math.min(100, Math.max(0, o.value / o.max * 100)));
20487
20497
  return (s, a) => (b(), P("div", {
20488
- class: me(m(t).class),
20498
+ class: de(m(t).class),
20489
20499
  style: Fe(m(t).style),
20490
20500
  "data-syno-pkg-land-ui": ""
20491
20501
  }, [
@@ -20494,7 +20504,7 @@ const uO = { key: 0 }, cO = { key: 1 }, dO = { key: 2 }, fO = {
20494
20504
  oe("span", AO, ie(e.valueLabel ?? `${Math.round(i.value)}%`), 1)
20495
20505
  ])) : W("", !0),
20496
20506
  oe("div", se({
20497
- class: "h-1.5 overflow-hidden rounded-full bg-[var(--ui-border-subtle)]",
20507
+ class: ["overflow-hidden rounded-full bg-[var(--ui-border-subtle)]", e.size === "sm" ? "h-1" : "h-1.5"],
20498
20508
  role: "progressbar",
20499
20509
  "aria-valuenow": o.value,
20500
20510
  "aria-valuemin": 0,
@@ -20503,7 +20513,7 @@ const uO = { key: 0 }, cO = { key: 1 }, dO = { key: 2 }, fO = {
20503
20513
  "data-tone": e.tone
20504
20514
  }, n()), [
20505
20515
  oe("div", {
20506
- class: me(["h-full rounded-full transition-[width] duration-[var(--ui-motion-normal)]", r[e.tone]]),
20516
+ class: de(["h-full rounded-full transition-[width] duration-[var(--ui-motion-normal)]", r[e.tone]]),
20507
20517
  style: Fe({ width: `${i.value}%` })
20508
20518
  }, null, 6)
20509
20519
  ], 16, EO)
@@ -20554,7 +20564,7 @@ const uO = { key: 0 }, cO = { key: 1 }, dO = { key: 2 }, fO = {
20554
20564
  setup(e) {
20555
20565
  const t = e, n = { none: "", sm: "p-3", md: "p-4", lg: "p-6" }, o = A(() => t.variant === "inset"), r = A(() => t.padding ? n[t.padding] : o.value ? "px-4 py-3" : n.md);
20556
20566
  return (i, s) => (b(), P("section", {
20557
- class: me([
20567
+ class: de([
20558
20568
  "rounded-[var(--ui-radius-md)]",
20559
20569
  o.value ? "bg-[var(--ui-surface-inset)]" : "bg-[var(--ui-surface)]",
20560
20570
  e.border && !o.value && "border border-[var(--ui-border-subtle)]",
@@ -20880,7 +20890,7 @@ const HO = /* @__PURE__ */ D({
20880
20890
  x.value ? (b(), P("header", {
20881
20891
  key: 0,
20882
20892
  ref: "handle",
20883
- class: me(["flex min-h-10 shrink-0 items-start justify-between gap-4 border-b border-[var(--ui-border-subtle)] py-2.5 pr-3 pl-5", m(l) && "cursor-move touch-none select-none"]),
20893
+ class: de(["flex min-h-10 shrink-0 items-start justify-between gap-4 border-b border-[var(--ui-border-subtle)] py-2.5 pr-3 pl-5", m(l) && "cursor-move touch-none select-none"]),
20884
20894
  "data-ui-drag-handle": m(l) ? "" : void 0,
20885
20895
  onPointerdown: C[1] || (C[1] = //@ts-ignore
20886
20896
  (...O) => m(c) && m(c)(...O))
@@ -20925,13 +20935,13 @@ const HO = /* @__PURE__ */ D({
20925
20935
  S() ? (b(), P("div", {
20926
20936
  key: 1,
20927
20937
  "data-ui-dialog-body": "",
20928
- class: me(["min-h-0 flex-1 overflow-auto", x.value ? "px-5 py-4" : "px-[30px] pt-6"])
20938
+ class: de(["min-h-0 flex-1 overflow-auto", x.value ? "px-5 py-4" : "px-[30px] pt-6"])
20929
20939
  }, [
20930
20940
  N(E.$slots, "default")
20931
20941
  ], 2)) : W("", !0),
20932
20942
  E.$slots.footer ? (b(), P("footer", {
20933
20943
  key: 2,
20934
- class: me(["flex shrink-0 flex-wrap items-center justify-end gap-2", x.value ? ["min-h-12 px-5 py-2.5", S() && "border-t border-[var(--ui-border-subtle)]"] : "px-[30px] pt-7 pb-5"])
20944
+ class: de(["flex shrink-0 flex-wrap items-center justify-end gap-2", x.value ? ["min-h-12 px-5 py-2.5", S() && "border-t border-[var(--ui-border-subtle)]"] : "px-[30px] pt-7 pb-5"])
20935
20945
  }, [
20936
20946
  H(jl, { kind: "action" }, {
20937
20947
  default: M(() => [
@@ -21073,7 +21083,7 @@ const i1 = ["data-direction"], s1 = {
21073
21083
  ref: r,
21074
21084
  "data-direction": s.value ? "vertical" : "horizontal",
21075
21085
  style: Fe(a.value),
21076
- class: me([
21086
+ class: de([
21077
21087
  "grid min-h-10 gap-y-1 py-1.5",
21078
21088
  n.value === "start" ? "items-start" : "items-center"
21079
21089
  ]),
@@ -21081,7 +21091,7 @@ const i1 = ["data-direction"], s1 = {
21081
21091
  }, [
21082
21092
  oe("div", {
21083
21093
  "data-settings-label": "",
21084
- class: me(["min-w-0 break-words [word-break:keep-all] text-left text-[13px] text-[var(--ui-text)]", n.value === "start" && "pt-1"])
21094
+ class: de(["min-w-0 break-words [word-break:keep-all] text-left text-[13px] text-[var(--ui-text)]", n.value === "start" && "pt-1"])
21085
21095
  }, [
21086
21096
  ze(ie(e.label), 1),
21087
21097
  e.required ? (b(), P("span", s1, "*")) : W("", !0)
@@ -21160,7 +21170,7 @@ const c1 = ["data-collapsible", "aria-busy"], d1 = {
21160
21170
  (...f) => m(s) && m(s)(...f))
21161
21171
  }, [
21162
21172
  H(m(us), {
21163
- class: me(["size-4 shrink-0 transition-transform", !m(i) && "-rotate-90"]),
21173
+ class: de(["size-4 shrink-0 transition-transform", !m(i) && "-rotate-90"]),
21164
21174
  "aria-hidden": "true"
21165
21175
  }, null, 8, ["class"]),
21166
21176
  oe("span", p1, [
@@ -21184,7 +21194,7 @@ const c1 = ["data-collapsible", "aria-busy"], d1 = {
21184
21194
  ])) : W("", !0),
21185
21195
  Fo(oe("div", {
21186
21196
  id: m(r),
21187
- class: me(["ui-settings-section-body", c.value && "pt-3"])
21197
+ class: de(["ui-settings-section-body", c.value && "pt-3"])
21188
21198
  }, [
21189
21199
  e.description || u.$slots.description ? (b(), P("p", b1, [
21190
21200
  N(u.$slots, "description", {}, () => [
@@ -21245,7 +21255,7 @@ const c1 = ["data-collapsible", "aria-busy"], d1 = {
21245
21255
  e.title ? (b(), P("div", C1, ie(e.title), 1)) : W("", !0),
21246
21256
  s.$slots.default || e.code ? (b(), P("div", {
21247
21257
  key: 1,
21248
- class: me(["flex flex-wrap items-baseline gap-x-2", e.title && "mt-0.5"])
21258
+ class: de(["flex flex-wrap items-baseline gap-x-2", e.title && "mt-0.5"])
21249
21259
  }, [
21250
21260
  s.$slots.default ? (b(), P("div", k1, [
21251
21261
  N(s.$slots, "default")
@@ -21342,7 +21352,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21342
21352
  ref_key: "viewport",
21343
21353
  ref: n,
21344
21354
  "data-ui-scroll-edges-viewport": "",
21345
- class: me(e.viewportClass),
21355
+ class: de(e.viewportClass),
21346
21356
  style: Fe(e.viewportStyle)
21347
21357
  }, [
21348
21358
  N(i.$slots, "default")
@@ -21417,7 +21427,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21417
21427
  oe("tr", null, [
21418
21428
  (b(!0), P(xe, null, xt(m(n).columns, (u) => (b(), P("th", {
21419
21429
  key: u.key,
21420
- class: me(["border-b border-[var(--ui-border)] px-3 py-2 font-medium", u.align === "right" ? "text-right" : u.align === "center" ? "text-center" : "text-left"]),
21430
+ class: de(["border-b border-[var(--ui-border)] px-3 py-2 font-medium", u.align === "right" ? "text-right" : u.align === "center" ? "text-center" : "text-left"]),
21421
21431
  style: Fe(u.width ? { width: u.width } : void 0)
21422
21432
  }, ie(u.label), 7))), 128))
21423
21433
  ])
@@ -21434,7 +21444,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21434
21444
  }, [
21435
21445
  (b(!0), P(xe, null, xt(m(n).columns, (f) => (b(), P("td", {
21436
21446
  key: f.key,
21437
- class: me([
21447
+ class: de([
21438
21448
  // The padding only shows in a row a two-line cell makes taller.
21439
21449
  "px-3 py-1.5 text-[var(--ui-text)]",
21440
21450
  m(n).compact ? "h-9" : "h-11",
@@ -21484,7 +21494,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21484
21494
  })) : W("", !0),
21485
21495
  oe("div", {
21486
21496
  "data-ui-cell-lines": "",
21487
- class: me([
21497
+ class: de([
21488
21498
  "min-w-0 flex-1",
21489
21499
  e.layout === "inline" ? "flex items-baseline gap-x-[var(--ui-space-2)]" : "flex flex-col gap-y-0.5"
21490
21500
  ])
@@ -21495,7 +21505,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21495
21505
  "data-ui-cell-primary": "",
21496
21506
  title: e.openLabel,
21497
21507
  disabled: e.openDisabled,
21498
- class: me([n.value, "m-0 min-w-0 max-w-full rounded-[var(--ui-radius-sm)] border-0 bg-transparent p-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
21508
+ class: de([n.value, "m-0 min-w-0 max-w-full rounded-[var(--ui-radius-sm)] border-0 bg-transparent p-0 text-left text-[length:inherit] leading-5 text-[var(--ui-primary)] outline-none hover:underline focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)] disabled:cursor-default disabled:opacity-50 disabled:hover:no-underline"]),
21499
21509
  onClick: r[0] || (r[0] = (i) => o.$emit("open"))
21500
21510
  }, [
21501
21511
  N(o.$slots, "default", {}, () => [
@@ -21505,7 +21515,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21505
21515
  key: 1,
21506
21516
  "data-ui-cell-primary": "",
21507
21517
  title: e.text,
21508
- class: me([n.value, "min-w-0 leading-5 text-[var(--ui-text)]"])
21518
+ class: de([n.value, "min-w-0 leading-5 text-[var(--ui-text)]"])
21509
21519
  }, [
21510
21520
  N(o.$slots, "default", {}, () => [
21511
21521
  ze(ie(e.text), 1)
@@ -21515,7 +21525,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21515
21525
  key: 2,
21516
21526
  "data-ui-cell-secondary": "",
21517
21527
  title: e.secondary,
21518
- class: me([
21528
+ class: de([
21519
21529
  "min-w-0 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)]",
21520
21530
  n.value,
21521
21531
  e.layout === "inline" && "shrink-0"
@@ -21529,11 +21539,11 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21529
21539
  ], 8, Y1));
21530
21540
  }
21531
21541
  }), nP = {
21532
- class: "flex min-w-0 flex-col gap-[var(--ui-space-1)]",
21542
+ class: "flex min-w-0 flex-col gap-0.5",
21533
21543
  "data-syno-pkg-land-ui": ""
21534
21544
  }, oP = {
21535
21545
  "data-ui-cell-status": "",
21536
- class: "flex min-w-0 items-center gap-[var(--ui-space-2)] leading-5 text-[var(--ui-text)]"
21546
+ class: "flex min-w-0 items-center gap-[var(--ui-space-2)] leading-4 text-[var(--ui-text)]"
21537
21547
  }, rP = ["title"], iP = {
21538
21548
  key: 1,
21539
21549
  "data-ui-cell-secondary": "",
@@ -21562,6 +21572,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21562
21572
  key: 0,
21563
21573
  value: e.progress,
21564
21574
  "aria-label": e.label,
21575
+ size: "sm",
21565
21576
  class: "max-w-40"
21566
21577
  }, null, 8, ["value", "aria-label"])) : W("", !0),
21567
21578
  e.detail || o.$slots.detail ? (b(), P("span", iP, [
@@ -21667,7 +21678,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21667
21678
  default: M(() => [
21668
21679
  e.hasHeader ? (b(), P("header", {
21669
21680
  key: 0,
21670
- class: me(h.value)
21681
+ class: de(h.value)
21671
21682
  }, [
21672
21683
  d.value ? (b(), P("h3", {
21673
21684
  key: 0,
@@ -21693,7 +21704,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21693
21704
  (...S) => m(u) && m(u)(...S))
21694
21705
  }, [
21695
21706
  H(m(us), {
21696
- class: me(m(bn)("size-4 transition-transform duration-[var(--ui-motion-fast)]", !m(c) && "-rotate-90")),
21707
+ class: de(m(bn)("size-4 transition-transform duration-[var(--ui-motion-fast)]", !m(c) && "-rotate-90")),
21697
21708
  "aria-hidden": "true"
21698
21709
  }, null, 8, ["class"])
21699
21710
  ], 8, yP)) : W("", !0)
@@ -21701,7 +21712,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21701
21712
  ], 2)) : W("", !0),
21702
21713
  Fo(oe("div", {
21703
21714
  id: m(l),
21704
- class: me(v.value),
21715
+ class: de(v.value),
21705
21716
  role: e.expandable ? "region" : void 0,
21706
21717
  "aria-labelledby": e.expandable && d.value ? m(a) : void 0
21707
21718
  }, [
@@ -21713,7 +21724,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21713
21724
  ]),
21714
21725
  g.$slots.footer && !e.loading ? (b(), P("footer", {
21715
21726
  key: 1,
21716
- class: me(m(bn)("flex flex-wrap items-center gap-2 border-t border-[var(--ui-border-subtle)] px-5 py-2.5", r[e.footerAlign]))
21727
+ class: de(m(bn)("flex flex-wrap items-center gap-2 border-t border-[var(--ui-border-subtle)] px-5 py-2.5", r[e.footerAlign]))
21717
21728
  }, [
21718
21729
  H(jl, { kind: "action" }, {
21719
21730
  default: M(() => [
@@ -21799,7 +21810,7 @@ const V1 = ["data-overflow-start", "data-overflow-end"], L1 = /* @__PURE__ */ D(
21799
21810
  e.name ? (b(), P("span", {
21800
21811
  key: 1,
21801
21812
  "data-ui-brand-name": "",
21802
- class: me(e.collapsed ? "sr-only" : "min-w-0 truncate")
21813
+ class: de(e.collapsed ? "sr-only" : "min-w-0 truncate")
21803
21814
  }, ie(e.name), 3)) : W("", !0)
21804
21815
  ], 64));
21805
21816
  }
@@ -21821,7 +21832,7 @@ function kP(e) {
21821
21832
  }
21822
21833
  }), { width: o, collapsed: r };
21823
21834
  }
21824
- const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready", "data-ui-sidebar-collapsed", "data-ui-sidebar-resizing"], AP = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], EP = {
21835
+ const $P = ["data-ui-layout-mode", "data-ui-layout-height", "data-ui-mobile-open", "data-ui-motion-ready", "data-ui-sidebar-collapsed", "data-ui-sidebar-resizing"], AP = ["id", "role", "aria-modal", "aria-label", "aria-hidden", "inert"], EP = {
21825
21836
  key: 0,
21826
21837
  "data-ui-mobile-sidebar-header": ""
21827
21838
  }, OP = {
@@ -21839,7 +21850,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
21839
21850
  }, VP = ["aria-label", "aria-expanded", "aria-controls"], LP = {
21840
21851
  key: 0,
21841
21852
  "data-ui-sidebar-brand": ""
21842
- }, qP = { key: 1 }, jP = { class: "min-h-0 flex-1" }, Yc = 16, BP = /* @__PURE__ */ D({
21853
+ }, qP = { key: 1 }, Yc = 16, jP = /* @__PURE__ */ D({
21843
21854
  __name: "AppLayout",
21844
21855
  props: {
21845
21856
  sidebarWidth: { default: void 0 },
@@ -21848,7 +21859,8 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
21848
21859
  wideLayout: { default: "window" },
21849
21860
  sidebarStorageKey: { default: void 0 },
21850
21861
  brandName: { default: void 0 },
21851
- brandIcon: { default: void 0 }
21862
+ brandIcon: { default: void 0 },
21863
+ height: { default: "auto" }
21852
21864
  },
21853
21865
  setup(e) {
21854
21866
  const t = e, n = Ko(), o = xo(), r = bt("root"), i = bt("sidebar"), s = bt("menuTrigger"), a = tr(r), l = A(() => t.responsive === !1 ? "window" : Dh(a.value, t.wideLayout));
@@ -21896,7 +21908,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
21896
21908
  function ge(Y = !1) {
21897
21909
  u.value && (u.value = !1, Y && Ue(() => s.value?.focus()));
21898
21910
  }
21899
- function de() {
21911
+ function fe() {
21900
21912
  u.value = !0, Ue(() => i.value?.querySelector("[data-ui-close-navigation]")?.focus());
21901
21913
  }
21902
21914
  ue(c, (Y) => {
@@ -21921,9 +21933,13 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
21921
21933
  return (Y, re) => (b(), P("section", {
21922
21934
  ref_key: "root",
21923
21935
  ref: r,
21924
- class: me(["syno-pkg-land-ui-root relative grid min-w-0 overflow-hidden bg-[var(--ui-surface)] text-[var(--ui-text)]", Y.$slots.sidebar && !c.value ? "grid-cols-[var(--ui-app-sidebar-width)_minmax(0,1fr)]" : "grid-cols-1"]),
21936
+ class: de(["syno-pkg-land-ui-root relative grid min-w-0 overflow-hidden bg-[var(--ui-surface)] text-[var(--ui-text)]", [
21937
+ Y.$slots.sidebar && !c.value ? "grid-cols-[var(--ui-app-sidebar-width)_minmax(0,1fr)]" : "grid-cols-1",
21938
+ t.height === "fill" && "h-full grid-rows-[minmax(0,1fr)]"
21939
+ ]]),
21925
21940
  style: Fe({ "--ui-app-sidebar-width": y.value, minHeight: t.minHeight }),
21926
21941
  "data-ui-layout-mode": l.value,
21942
+ "data-ui-layout-height": t.height,
21927
21943
  "data-ui-mobile-open": c.value && u.value ? "true" : void 0,
21928
21944
  "data-ui-motion-ready": f.value ? "true" : void 0,
21929
21945
  "data-ui-sidebar-collapsed": v.value ? "true" : void 0,
@@ -22019,7 +22035,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22019
22035
  ], 8, AP)) : W("", !0),
22020
22036
  oe("div", {
22021
22037
  "data-ui-layout-main": "",
22022
- class: "flex min-w-0 flex-col bg-[var(--ui-surface)]",
22038
+ class: "flex min-h-0 min-w-0 flex-col bg-[var(--ui-surface)]",
22023
22039
  inert: c.value && u.value
22024
22040
  }, [
22025
22041
  c.value && Y.$slots.sidebar ? (b(), P("div", FP, [
@@ -22030,7 +22046,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22030
22046
  "aria-label": m(o)("Application navigation"),
22031
22047
  "aria-expanded": u.value,
22032
22048
  "aria-controls": m(d),
22033
- onClick: de
22049
+ onClick: fe
22034
22050
  }, [
22035
22051
  H(m(rC), {
22036
22052
  size: 20,
@@ -22047,14 +22063,16 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22047
22063
  ])) : (b(), P("span", qP, ie(m(o)("Application navigation")), 1))
22048
22064
  ])) : W("", !0),
22049
22065
  N(Y.$slots, "toolbar"),
22050
- oe("main", jP, [
22066
+ oe("main", {
22067
+ class: de(["min-h-0 flex-1", t.height === "fill" && "flex flex-col overflow-y-auto"])
22068
+ }, [
22051
22069
  N(Y.$slots, "default")
22052
- ]),
22070
+ ], 2),
22053
22071
  N(Y.$slots, "footer")
22054
22072
  ], 8, MP)
22055
22073
  ], 46, $P));
22056
22074
  }
22057
- }), UP = /* @__PURE__ */ D({
22075
+ }), BP = /* @__PURE__ */ D({
22058
22076
  __name: "ResponsiveView",
22059
22077
  props: {
22060
22078
  mode: { default: "auto" }
@@ -22066,7 +22084,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22066
22084
  });
22067
22085
  return (i, s) => N(i.$slots, r.value);
22068
22086
  }
22069
- }), ZP = /* @__PURE__ */ D({
22087
+ }), UP = /* @__PURE__ */ D({
22070
22088
  __name: "AppSidebarTip",
22071
22089
  props: {
22072
22090
  label: {},
@@ -22084,15 +22102,15 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22084
22102
  _: 3
22085
22103
  }, 8, ["content"])) : N(t.$slots, "default", {}, void 0, void 0, 1);
22086
22104
  }
22087
- }), WP = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], KP = {
22105
+ }), ZP = ["data-nav-toggle", "data-nav-item", "disabled", "aria-current", "aria-expanded", "onClick"], WP = {
22088
22106
  key: 1,
22089
22107
  "data-nav-badge": "",
22090
22108
  class: "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[10px] font-semibold leading-none text-white"
22091
- }, HP = ["disabled", "aria-current", "onClick"], JP = {
22109
+ }, KP = ["disabled", "aria-current", "onClick"], HP = {
22092
22110
  key: 1,
22093
22111
  "data-nav-badge": "",
22094
22112
  class: "inline-flex min-w-5 items-center justify-center rounded-full bg-[var(--ui-primary)] px-1.5 py-0.5 text-[10px] font-semibold leading-none text-white"
22095
- }, GP = ["aria-label"], Xc = "min-w-0 flex-1 [overflow-wrap:anywhere]", YP = /* @__PURE__ */ D({
22113
+ }, JP = ["aria-label"], Xc = "min-w-0 flex-1 [overflow-wrap:anywhere]", GP = /* @__PURE__ */ D({
22096
22114
  name: "AppSidebarItems",
22097
22115
  __name: "AppSidebarItems",
22098
22116
  props: {
@@ -22114,7 +22132,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22114
22132
  return b(!0), P(xe, null, xt(e.items, (u) => (b(), P(xe, {
22115
22133
  key: u.key
22116
22134
  }, [
22117
- H(ZP, {
22135
+ H(UP, {
22118
22136
  label: u.label,
22119
22137
  enabled: !!n.collapsed
22120
22138
  }, {
@@ -22128,7 +22146,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22128
22146
  disabled: u.disabled,
22129
22147
  "aria-current": u.selectable && n.modelValue === u.key ? "page" : void 0,
22130
22148
  "aria-expanded": r(u),
22131
- class: me(s(u)),
22149
+ class: de(s(u)),
22132
22150
  style: Fe(i(n.depth)),
22133
22151
  onClick: (d) => {
22134
22152
  o("toggle", u.key), u.selectable && o("select", u);
@@ -22136,7 +22154,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22136
22154
  }, [
22137
22155
  H(m(US), {
22138
22156
  "data-nav-chevron": "",
22139
- class: me(["size-3.5 shrink-0 text-[var(--ui-text-muted)] transition-transform", r(u) && "rotate-90"]),
22157
+ class: de(["size-3.5 shrink-0 text-[var(--ui-text-muted)] transition-transform", r(u) && "rotate-90"]),
22140
22158
  "aria-hidden": "true"
22141
22159
  }, null, 8, ["class"]),
22142
22160
  u.icon ? (b(), Z($n(u.icon), {
@@ -22146,16 +22164,16 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22146
22164
  })) : W("", !0),
22147
22165
  oe("span", {
22148
22166
  "data-nav-label": "",
22149
- class: me(n.collapsed ? "sr-only" : Xc)
22167
+ class: de(n.collapsed ? "sr-only" : Xc)
22150
22168
  }, ie(u.label), 3),
22151
- u.badge !== void 0 ? (b(), P("span", KP, ie(u.badge), 1)) : W("", !0)
22152
- ], 14, WP)) : (b(), P("button", {
22169
+ u.badge !== void 0 ? (b(), P("span", WP, ie(u.badge), 1)) : W("", !0)
22170
+ ], 14, ZP)) : (b(), P("button", {
22153
22171
  key: 1,
22154
22172
  type: "button",
22155
22173
  "data-nav-item": "",
22156
22174
  disabled: u.disabled,
22157
22175
  "aria-current": n.modelValue === u.key ? "page" : void 0,
22158
- class: me(s(u)),
22176
+ class: de(s(u)),
22159
22177
  style: Fe(i(n.depth)),
22160
22178
  onClick: (d) => o("select", u)
22161
22179
  }, [
@@ -22166,10 +22184,10 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22166
22184
  })) : W("", !0),
22167
22185
  oe("span", {
22168
22186
  "data-nav-label": "",
22169
- class: me(n.collapsed ? "sr-only" : Xc)
22187
+ class: de(n.collapsed ? "sr-only" : Xc)
22170
22188
  }, ie(u.label), 3),
22171
- u.badge !== void 0 ? (b(), P("span", JP, ie(u.badge), 1)) : W("", !0)
22172
- ], 14, HP))
22189
+ u.badge !== void 0 ? (b(), P("span", HP, ie(u.badge), 1)) : W("", !0)
22190
+ ], 14, KP))
22173
22191
  ]),
22174
22192
  _: 2
22175
22193
  }, 1032, ["label", "enabled"]),
@@ -22189,15 +22207,15 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22189
22207
  onSelect: l[0] || (l[0] = (d) => o("select", d)),
22190
22208
  onToggle: l[1] || (l[1] = (d) => o("toggle", d))
22191
22209
  }, null, 8, ["items", "model-value", "expanded-keys", "depth", "searching", "collapsed"])
22192
- ], 8, GP)) : W("", !0)
22210
+ ], 8, JP)) : W("", !0)
22193
22211
  ], 64))), 128);
22194
22212
  };
22195
22213
  }
22196
- }), XP = ["aria-label", "data-ui-sidebar-collapsed"], QP = ["aria-expanded", "onClick"], eT = {
22214
+ }), YP = ["aria-label", "data-ui-sidebar-collapsed"], XP = ["aria-expanded", "onClick"], QP = {
22197
22215
  key: 1,
22198
22216
  "data-nav-group-label": "",
22199
22217
  class: "flex h-6 items-center px-[11px] text-[12px] font-bold text-[rgba(65,75,85,0.5)]"
22200
- }, tT = /* @__PURE__ */ D({
22218
+ }, eT = /* @__PURE__ */ D({
22201
22219
  __name: "AppSidebar",
22202
22220
  props: {
22203
22221
  modelValue: {},
@@ -22272,7 +22290,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22272
22290
  }, null, 8, ["modelValue", "placeholder", "clear-label"])) : W("", !0),
22273
22291
  (b(!0), P(xe, null, xt(c.value, ({ group: $, id: E, items: C }, O) => (b(), P("section", {
22274
22292
  key: E,
22275
- class: me(O > 0 && "mt-2 border-t border-[var(--ui-border-subtle)] pt-2")
22293
+ class: de(O > 0 && "mt-2 border-t border-[var(--ui-border-subtle)] pt-2")
22276
22294
  }, [
22277
22295
  $.label && m(o).collapsible && !m(i) ? (b(), P("button", {
22278
22296
  key: 0,
@@ -22284,12 +22302,12 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22284
22302
  onClick: (T) => d(E)
22285
22303
  }, [
22286
22304
  H(m(us), {
22287
- class: me(["size-3 shrink-0 transition-transform", !f(E) && "-rotate-90"]),
22305
+ class: de(["size-3 shrink-0 transition-transform", !f(E) && "-rotate-90"]),
22288
22306
  "aria-hidden": "true"
22289
22307
  }, null, 8, ["class"]),
22290
22308
  ze(" " + ie($.label), 1)
22291
- ], 8, QP)) : $.label && !m(i) ? (b(), P("div", eT, ie($.label), 1)) : W("", !0),
22292
- f(E) ? (b(), Z(YP, {
22309
+ ], 8, XP)) : $.label && !m(i) ? (b(), P("div", QP, ie($.label), 1)) : W("", !0),
22310
+ f(E) ? (b(), Z(GP, {
22293
22311
  key: 2,
22294
22312
  items: C,
22295
22313
  "model-value": m(o).modelValue,
@@ -22301,15 +22319,15 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22301
22319
  onToggle: y
22302
22320
  }, null, 8, ["items", "model-value", "expanded-keys", "searching", "collapsed"])) : W("", !0)
22303
22321
  ], 2))), 128))
22304
- ], 8, XP));
22322
+ ], 8, YP));
22305
22323
  }
22306
- }), nT = {
22324
+ }), tT = {
22307
22325
  key: 0,
22308
22326
  class: "flex shrink-0 items-center gap-1.5"
22309
- }, oT = { class: "min-w-0 flex-1" }, rT = {
22327
+ }, nT = { class: "min-w-0 flex-1" }, oT = {
22310
22328
  key: 1,
22311
22329
  class: "ml-auto flex shrink-0 items-center gap-2"
22312
- }, iT = /* @__PURE__ */ D({
22330
+ }, rT = /* @__PURE__ */ D({
22313
22331
  __name: "AppToolbar",
22314
22332
  props: {
22315
22333
  height: { default: "var(--ui-toolbar-height)" }
@@ -22321,29 +22339,29 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22321
22339
  style: Fe({ minHeight: e.height }),
22322
22340
  "data-syno-pkg-land-ui": ""
22323
22341
  }, [
22324
- t.$slots.leading ? (b(), P("div", nT, [
22342
+ t.$slots.leading ? (b(), P("div", tT, [
22325
22343
  N(t.$slots, "leading")
22326
22344
  ])) : W("", !0),
22327
- oe("div", oT, [
22345
+ oe("div", nT, [
22328
22346
  N(t.$slots, "default")
22329
22347
  ]),
22330
- t.$slots.actions ? (b(), P("div", rT, [
22348
+ t.$slots.actions ? (b(), P("div", oT, [
22331
22349
  N(t.$slots, "actions")
22332
22350
  ])) : W("", !0)
22333
22351
  ], 4));
22334
22352
  }
22335
- }), sT = { class: "min-w-0 flex-auto" }, aT = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, lT = ["title"], uT = {
22353
+ }), iT = { class: "min-w-0 flex-auto" }, sT = { class: "flex min-w-0 items-center gap-x-[var(--ui-space-3)]" }, aT = ["title"], lT = {
22336
22354
  key: 0,
22337
22355
  "data-ui-page-header-meta": "",
22338
22356
  class: "flex items-center gap-2"
22339
- }, cT = {
22357
+ }, uT = {
22340
22358
  key: 0,
22341
22359
  class: "mt-1 max-w-3xl [contain:inline-size] text-[13px] leading-5 text-[var(--ui-text-secondary)]"
22342
- }, dT = {
22360
+ }, cT = {
22343
22361
  key: 0,
22344
22362
  "data-ui-page-header-actions": "",
22345
22363
  class: "ml-auto flex max-w-full shrink-0 flex-wrap items-center justify-end gap-2"
22346
- }, fT = /* @__PURE__ */ D({
22364
+ }, dT = /* @__PURE__ */ D({
22347
22365
  __name: "PageHeader",
22348
22366
  props: {
22349
22367
  title: {},
@@ -22353,53 +22371,55 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22353
22371
  setup(e) {
22354
22372
  return (t, n) => (b(), P("div", {
22355
22373
  "data-ui-page-header": "",
22356
- class: me([e.sticky && "sticky top-0 z-[2] 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)]"]),
22374
+ class: de([e.sticky && "sticky top-0 z-[2] 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)]"]),
22357
22375
  "data-syno-pkg-land-ui": ""
22358
22376
  }, [
22359
- oe("div", sT, [
22360
- oe("div", aT, [
22377
+ oe("div", iT, [
22378
+ oe("div", sT, [
22361
22379
  oe("h1", {
22362
22380
  class: "m-0 min-w-0 truncate text-[18px] font-semibold tracking-[-0.01em] text-[var(--ui-text)]",
22363
22381
  title: e.title
22364
- }, ie(e.title), 9, lT),
22365
- t.$slots.meta ? (b(), P("div", uT, [
22382
+ }, ie(e.title), 9, aT),
22383
+ t.$slots.meta ? (b(), P("div", lT, [
22366
22384
  N(t.$slots, "meta")
22367
22385
  ])) : W("", !0)
22368
22386
  ]),
22369
- e.description ? (b(), P("p", cT, ie(e.description), 1)) : W("", !0)
22387
+ e.description ? (b(), P("p", uT, ie(e.description), 1)) : W("", !0)
22370
22388
  ]),
22371
- t.$slots.actions ? (b(), P("div", dT, [
22389
+ t.$slots.actions ? (b(), P("div", cT, [
22372
22390
  N(t.$slots, "actions")
22373
22391
  ])) : W("", !0)
22374
22392
  ], 2));
22375
22393
  }
22376
- }), pT = ["data-width", "data-page-surface"], hT = /* @__PURE__ */ D({
22394
+ }), fT = ["data-width", "data-height", "data-page-surface"], pT = /* @__PURE__ */ D({
22377
22395
  __name: "PageContent",
22378
22396
  props: {
22379
22397
  width: { default: "fill" },
22380
- surface: { default: "auto" }
22398
+ surface: { default: "auto" },
22399
+ height: { default: "auto" }
22381
22400
  },
22382
22401
  setup(e) {
22383
- const t = e, n = A(() => {
22402
+ const t = e, n = A(() => t.height === "fill"), o = A(() => {
22384
22403
  if (t.width !== "fill")
22385
22404
  return t.width === "readable" ? "var(--ui-page-readable-width)" : t.width;
22386
22405
  });
22387
- return (o, r) => (b(), P("div", {
22388
- class: "box-border w-full min-w-0 px-[var(--ui-page-padding-x)]",
22406
+ return (r, i) => (b(), P("div", {
22407
+ class: de(["box-border w-full min-w-0 px-[var(--ui-page-padding-x)]", n.value && "flex h-full min-h-0 flex-col overflow-hidden"]),
22389
22408
  "data-width": e.width,
22409
+ "data-height": e.height,
22390
22410
  "data-page-surface": e.surface,
22391
22411
  "data-syno-pkg-land-ui": ""
22392
22412
  }, [
22393
22413
  oe("div", {
22394
22414
  "data-page-content-body": "",
22395
- class: "flex min-w-0 flex-col gap-[var(--ui-section-gap)] [&>[data-ui-page-header]]:mb-[calc(var(--ui-section-gap)*-1)]",
22396
- style: Fe({ "--ui-page-padding-x": "0px", maxWidth: n.value })
22415
+ class: de(["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"]),
22416
+ style: Fe({ "--ui-page-padding-x": "0px", maxWidth: o.value })
22397
22417
  }, [
22398
- N(o.$slots, "default")
22399
- ], 4)
22400
- ], 8, pT));
22418
+ N(r.$slots, "default")
22419
+ ], 6)
22420
+ ], 10, fT));
22401
22421
  }
22402
- }), mT = ["aria-label"], vT = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], gT = /* @__PURE__ */ D({
22422
+ }), hT = ["aria-label"], mT = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], vT = /* @__PURE__ */ D({
22403
22423
  inheritAttrs: !1,
22404
22424
  __name: "SectionTabs",
22405
22425
  props: {
@@ -22424,18 +22444,18 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22424
22444
  disabled: c.disabled,
22425
22445
  "data-ui-tab-value": c.value,
22426
22446
  "aria-current": o.modelValue === c.value ? "page" : void 0,
22427
- class: me([
22447
+ class: de([
22428
22448
  "relative h-[30px] shrink-0 border-0 bg-transparent px-2 text-[length:var(--ui-font-size)] 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",
22429
22449
  o.modelValue === c.value ? "text-[var(--ui-primary)]" : "text-[var(--ui-text)] hover:text-[var(--ui-primary)]"
22430
22450
  ]),
22431
22451
  onClick: (u) => r("update:modelValue", c.value)
22432
- }, ie(c.label), 11, vT))), 128)),
22452
+ }, ie(c.label), 11, mT))), 128)),
22433
22453
  oe("span", {
22434
22454
  class: "ui-tab-indicator",
22435
22455
  style: Fe(m(s)),
22436
22456
  "aria-hidden": "true"
22437
22457
  }, null, 4)
22438
- ], 16, mT),
22458
+ ], 16, hT),
22439
22459
  a.$slots[`panel-${o.modelValue}`] ? (b(), P("div", {
22440
22460
  key: o.modelValue,
22441
22461
  class: "ui-tab-panel",
@@ -22445,7 +22465,7 @@ const $P = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
22445
22465
  ])) : W("", !0)
22446
22466
  ], 64));
22447
22467
  }
22448
- }), yT = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), bT = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
22468
+ }), gT = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), yT = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
22449
22469
  function zi(e) {
22450
22470
  if (typeof e != "object" || e === null || Array.isArray(e)) return !1;
22451
22471
  const t = Object.getPrototypeOf(e);
@@ -22457,18 +22477,18 @@ function Mi(e, t) {
22457
22477
  function Ba(e, t, n) {
22458
22478
  e[t] = n;
22459
22479
  }
22460
- function wT(e) {
22480
+ function bT(e) {
22461
22481
  return Reflect.ownKeys(e).filter((t) => Mi(e, t) !== void 0);
22462
22482
  }
22463
22483
  function Ua(e, t) {
22464
22484
  const n = { ...e };
22465
- for (const o of wT(t)) {
22485
+ for (const o of bT(t)) {
22466
22486
  const r = Mi(t, o), i = Mi(n, o);
22467
22487
  zi(i) && zi(r) ? Ba(n, o, Ua(i, r)) : Ba(n, o, r);
22468
22488
  }
22469
22489
  return n;
22470
22490
  }
22471
- function _T(e) {
22491
+ function wT(e) {
22472
22492
  const t = {};
22473
22493
  for (const n of Reflect.ownKeys(e)) {
22474
22494
  const o = Mi(e, n);
@@ -22477,15 +22497,15 @@ function _T(e) {
22477
22497
  return t;
22478
22498
  }
22479
22499
  function Mh(e, t, n = {}) {
22480
- const o = De(bT, null), r = De(yT, null);
22500
+ const o = De(yT, null), r = De(gT, null);
22481
22501
  return A(() => {
22482
22502
  const i = [n, r?.value?.[e], o?.value?.[e]];
22483
22503
  let s = {};
22484
22504
  for (const a of i) a && (s = Ua(s, a));
22485
- return Ua(s, _T(t));
22505
+ return Ua(s, wT(t));
22486
22506
  });
22487
22507
  }
22488
- const xT = /* @__PURE__ */ D({
22508
+ const _T = /* @__PURE__ */ D({
22489
22509
  __name: "Form",
22490
22510
  props: {
22491
22511
  rules: {},
@@ -22562,7 +22582,7 @@ const xT = /* @__PURE__ */ D({
22562
22582
  N(E.$slots, "default")
22563
22583
  ], 36));
22564
22584
  }
22565
- }), ST = "blur", CT = {
22585
+ }), xT = "blur", ST = {
22566
22586
  string: "Value must be a string",
22567
22587
  number: "Value must be a number",
22568
22588
  integer: "Value must be an integer",
@@ -22575,15 +22595,15 @@ const xT = /* @__PURE__ */ D({
22575
22595
  function Za(e) {
22576
22596
  return e ? Array.isArray(e) ? [...e] : [e] : [];
22577
22597
  }
22578
- function kT(e, t) {
22598
+ function CT(e, t) {
22579
22599
  return e == null ? !0 : t === "array" || Array.isArray(e) ? Array.isArray(e) && e.length === 0 : typeof e == "string" ? e.trim() === "" : !1;
22580
22600
  }
22581
- function $T(e) {
22601
+ function kT(e) {
22582
22602
  if (typeof e == "string" || Array.isArray(e)) return e.length;
22583
22603
  if (typeof e == "number") return e;
22584
22604
  if (e instanceof Date) return e.getTime();
22585
22605
  }
22586
- function AT(e, t) {
22606
+ function $T(e, t) {
22587
22607
  switch (t) {
22588
22608
  case "string":
22589
22609
  return typeof e == "string";
@@ -22608,13 +22628,13 @@ function AT(e, t) {
22608
22628
  return e instanceof Date && !Number.isNaN(e.getTime());
22609
22629
  }
22610
22630
  }
22611
- function ET(e) {
22631
+ function AT(e) {
22612
22632
  return typeof e == "object" && e !== null && typeof e.then == "function";
22613
22633
  }
22614
22634
  function ar(e, t) {
22615
22635
  return e instanceof Error ? e.message : typeof e == "string" ? e : t("Value does not match the expected format");
22616
22636
  }
22617
- async function OT(e, t, n) {
22637
+ async function ET(e, t, n) {
22618
22638
  const o = e.validator ?? e.asyncValidator;
22619
22639
  if (!o) return null;
22620
22640
  let r = null, i = !1;
@@ -22627,7 +22647,7 @@ async function OT(e, t, n) {
22627
22647
  } catch (l) {
22628
22648
  return i ? r : ar(l, n);
22629
22649
  }
22630
- if (ET(a))
22650
+ if (AT(a))
22631
22651
  try {
22632
22652
  const l = await a;
22633
22653
  i || (r = l === !0 || l === void 0 || l === null ? null : ar(l, n));
@@ -22637,31 +22657,31 @@ async function OT(e, t, n) {
22637
22657
  else !i && a !== void 0 && a !== !0 && (r = a === !1 ? e.message ?? n("Value does not match the expected format") : ar(a, n));
22638
22658
  return r;
22639
22659
  }
22640
- async function PT(e, t, n) {
22660
+ async function OT(e, t, n) {
22641
22661
  const o = e.transform ? e.transform(t) : t;
22642
- if (kT(o, e.type))
22662
+ if (CT(o, e.type))
22643
22663
  return e.required ? e.message ?? n("Value is required") : null;
22644
- if (e.type && !AT(o, e.type)) return e.message ?? n(CT[e.type]);
22645
- const r = $T(o);
22646
- 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") : OT(e, o, n);
22664
+ if (e.type && !$T(o, e.type)) return e.message ?? n(ST[e.type]);
22665
+ const r = kT(o);
22666
+ 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") : ET(e, o, n);
22647
22667
  }
22648
- function TT(e, t) {
22668
+ function PT(e, t) {
22649
22669
  return e.trigger ? Array.isArray(e.trigger) ? e.trigger : [e.trigger] : [t];
22650
22670
  }
22651
- async function IT(e, t, n = {}) {
22652
- const o = n.defaultTrigger ?? ST, r = n.trigger ?? null, i = n.text ?? ((s, a) => zp("en", s, a));
22671
+ async function TT(e, t, n = {}) {
22672
+ const o = n.defaultTrigger ?? xT, r = n.trigger ?? null, i = n.text ?? ((s, a) => zp("en", s, a));
22653
22673
  for (const s of Za(t)) {
22654
- if (r !== null && !TT(s, o).includes(r)) continue;
22655
- const a = await PT(s, e, i);
22674
+ if (r !== null && !PT(s, o).includes(r)) continue;
22675
+ const a = await OT(s, e, i);
22656
22676
  if (a) return a;
22657
22677
  }
22658
22678
  return null;
22659
22679
  }
22660
- const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22680
+ const IT = ["data-direction", "data-status"], RT = ["id", "for"], NT = {
22661
22681
  key: 0,
22662
22682
  class: "ml-0.5 text-[var(--ui-danger)]",
22663
22683
  "aria-hidden": "true"
22664
- }, zT = { class: "flex items-start gap-2" }, MT = ["id"], FT = ["id"], VT = /* @__PURE__ */ D({
22684
+ }, DT = { class: "flex items-start gap-2" }, zT = ["id"], MT = ["id"], FT = /* @__PURE__ */ D({
22665
22685
  __name: "FormItem",
22666
22686
  props: {
22667
22687
  modelValue: {},
@@ -22741,7 +22761,7 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22741
22761
  function C() {
22742
22762
  x.value = y.value;
22743
22763
  }
22744
- const O = /* @__PURE__ */ V(""), T = /* @__PURE__ */ V(""), j = /* @__PURE__ */ V(""), X = /* @__PURE__ */ V(""), we = /* @__PURE__ */ V(!1), ge = /* @__PURE__ */ V(!1), de = A(() => r.disabled === !0 || we.value), Ne = A(() => X.value || a.value.validateStatus || O.value), be = A(() => Ne.value === "error"), Y = A(() => j.value || T.value || a.value.help), re = A(() => j.value ? j.value : be.value && !a.value.hideValidateMessage && T.value || a.value.help), Pe = tr(u), ve = A(() => {
22764
+ const O = /* @__PURE__ */ V(""), T = /* @__PURE__ */ V(""), j = /* @__PURE__ */ V(""), X = /* @__PURE__ */ V(""), we = /* @__PURE__ */ V(!1), ge = /* @__PURE__ */ V(!1), fe = A(() => r.disabled === !0 || we.value), Ne = A(() => X.value || a.value.validateStatus || O.value), be = A(() => Ne.value === "error"), Y = A(() => j.value || T.value || a.value.help), re = A(() => j.value ? j.value : be.value && !a.value.hideValidateMessage && T.value || a.value.help), Pe = tr(u), ve = A(() => {
22745
22765
  const B = a.value.direction ?? l?.direction ?? "auto";
22746
22766
  return B === "auto" ? Pe.value > 0 && Pe.value < 520 ? "vertical" : "horizontal" : B;
22747
22767
  }), Se = A(() => {
@@ -22768,12 +22788,12 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22768
22788
  }
22769
22789
  let Dn = 0;
22770
22790
  async function w(B = null) {
22771
- if (a.value.disableValidation || de.value && !a.value.validateDisabledField) return null;
22791
+ if (a.value.disableValidation || fe.value && !a.value.validateDisabledField) return null;
22772
22792
  const ne = ot();
22773
22793
  if (!ne.length) return null;
22774
22794
  const ye = ++Dn;
22775
22795
  O.value = "validating", i("validating");
22776
- const Ce = await IT(y.value, ne, {
22796
+ const Ce = await TT(y.value, ne, {
22777
22797
  trigger: B,
22778
22798
  defaultTrigger: a.value.defaultValidateTrigger,
22779
22799
  text: o
@@ -22838,7 +22858,7 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22838
22858
  messageId: A(() => re.value ? f.message : void 0),
22839
22859
  describedBy: It,
22840
22860
  required: A(() => a.value.requiredMark === !0),
22841
- disabled: de,
22861
+ disabled: fe,
22842
22862
  invalid: be,
22843
22863
  status: Ne,
22844
22864
  message: Y,
@@ -22859,8 +22879,8 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22859
22879
  }))
22860
22880
  });
22861
22881
  We(El, le);
22862
- function pe() {
22863
- if (a.value.textOnly || de.value) return;
22882
+ function he() {
22883
+ if (a.value.textOnly || fe.value) return;
22864
22884
  const B = [...u.value?.querySelectorAll("[id]") ?? []].find((Ce) => Ce.id === p.value);
22865
22885
  if (!B) return;
22866
22886
  const ne = B.querySelector('[tabindex="0"], input:not([type="hidden"]):not(:disabled), button:not(:disabled)');
@@ -22885,7 +22905,7 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22885
22905
  "data-form-item": "",
22886
22906
  "data-direction": ve.value,
22887
22907
  style: Fe(no.value),
22888
- class: me(m(bn)("min-w-0", be.value && !m(a).hideValidateStatusCls && "has-error")),
22908
+ class: de(m(bn)("min-w-0", be.value && !m(a).hideValidateStatusCls && "has-error")),
22889
22909
  "data-status": Ne.value || void 0,
22890
22910
  "data-syno-pkg-land-ui": "",
22891
22911
  onMouseenter: ne[1] || (ne[1] = (ye) => Se.value === "popup" && F()),
@@ -22897,28 +22917,28 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22897
22917
  key: 0,
22898
22918
  "data-form-label": "",
22899
22919
  style: Fe(et.value),
22900
- class: me([
22920
+ class: de([
22901
22921
  "min-w-0 shrink-0 break-words [word-break:keep-all] text-[13px] leading-5 text-[var(--ui-text)]",
22902
22922
  ve.value === "horizontal" ? "pt-[5px] text-left" : void 0,
22903
- m(a).disableLabel || de.value ? "opacity-40" : void 0
22923
+ m(a).disableLabel || fe.value ? "opacity-40" : void 0
22904
22924
  ]),
22905
22925
  onClick: ne[0] || (ne[0] = (ye) => Se.value === "popup" && be.value && F())
22906
22926
  }, [
22907
22927
  oe("label", {
22908
22928
  id: f.label,
22909
22929
  for: m(a).textOnly ? void 0 : p.value,
22910
- onClick: pe
22930
+ onClick: he
22911
22931
  }, [
22912
22932
  N(B.$slots, "label", {}, () => [
22913
22933
  ze(ie(m(a).label), 1)
22914
22934
  ]),
22915
- m(a).requiredMark ? (b(), P("span", DT, "*")) : W("", !0)
22916
- ], 8, NT)
22935
+ m(a).requiredMark ? (b(), P("span", NT, "*")) : W("", !0)
22936
+ ], 8, RT)
22917
22937
  ], 6)) : W("", !0),
22918
22938
  oe("div", {
22919
- class: me(["relative min-w-0 flex-1", m(a).disableControl ? "opacity-40" : void 0])
22939
+ class: de(["relative min-w-0 flex-1", m(a).disableControl ? "opacity-40" : void 0])
22920
22940
  }, [
22921
- oe("div", zT, [
22941
+ oe("div", DT, [
22922
22942
  N(B.$slots, "before"),
22923
22943
  oe("div", {
22924
22944
  class: "min-w-0 flex-1",
@@ -22932,27 +22952,27 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22932
22952
  Tt.value ? (b(), P("div", {
22933
22953
  key: 0,
22934
22954
  id: f.description,
22935
- class: me([
22955
+ class: de([
22936
22956
  "mt-1 text-[12px] leading-4 text-[var(--ui-text-secondary)]",
22937
- m(a).disableDescription || de.value ? "opacity-40" : void 0
22957
+ m(a).disableDescription || fe.value ? "opacity-40" : void 0
22938
22958
  ])
22939
22959
  }, [
22940
22960
  N(B.$slots, "description", {}, () => [
22941
22961
  ze(ie(m(a).description), 1)
22942
22962
  ])
22943
- ], 10, MT)) : W("", !0),
22963
+ ], 10, zT)) : W("", !0),
22944
22964
  re.value ? (b(), P("div", {
22945
22965
  key: 1,
22946
22966
  id: f.message,
22947
22967
  role: "alert",
22948
- class: me(ut.value)
22968
+ class: de(ut.value)
22949
22969
  }, [
22950
22970
  N(B.$slots, "status", { field: le }, () => [
22951
22971
  ze(ie(re.value), 1)
22952
22972
  ])
22953
- ], 10, FT)) : W("", !0)
22973
+ ], 10, MT)) : W("", !0)
22954
22974
  ], 2)
22955
- ], 46, RT));
22975
+ ], 46, IT));
22956
22976
  }
22957
22977
  }), Fh = kl(() => te({
22958
22978
  key: z(),
@@ -22966,14 +22986,14 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
22966
22986
  label: z(),
22967
22987
  value: z(),
22968
22988
  disabled: _e().optional()
22969
- }), LT = Wa.extend({
22989
+ }), VT = Wa.extend({
22970
22990
  description: z().optional()
22971
22991
  }), Qc = te({
22972
22992
  key: z(),
22973
22993
  label: z(),
22974
22994
  width: z().optional(),
22975
22995
  align: Ee(["left", "center", "right"]).optional()
22976
- }), qT = {
22996
+ }), LT = {
22977
22997
  AppRoot: {
22978
22998
  props: te({
22979
22999
  modalScope: Ee(["document", "app"]).optional()
@@ -23117,7 +23137,7 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
23117
23137
  RadioGroup: {
23118
23138
  props: te({
23119
23139
  value: z().optional(),
23120
- options: Ze(LT),
23140
+ options: Ze(VT),
23121
23141
  orientation: Ee(["vertical", "horizontal"]).optional(),
23122
23142
  disabled: _e().optional()
23123
23143
  }),
@@ -23298,17 +23318,17 @@ const RT = ["data-direction", "data-status"], NT = ["id", "for"], DT = {
23298
23318
  props: te({ text: z().optional() }),
23299
23319
  description: "Centered loading state for a page or bounded region."
23300
23320
  }
23301
- }, jT = Kx(Jx, {
23302
- components: qT,
23321
+ }, qT = Kx(Jx, {
23322
+ components: LT,
23303
23323
  actions: {}
23304
- }), BT = {
23324
+ }), jT = {
23305
23325
  none: "0",
23306
23326
  xs: "var(--ui-space-1)",
23307
23327
  sm: "var(--ui-space-2)",
23308
23328
  md: "var(--ui-space-3)",
23309
23329
  lg: "var(--ui-space-4)"
23310
- }, UT = { start: "flex-start", center: "center", end: "flex-end", stretch: "stretch" }, ZT = { start: "flex-start", center: "center", end: "flex-end", between: "space-between" };
23311
- function WT(e) {
23330
+ }, BT = { start: "flex-start", center: "center", end: "flex-end", stretch: "stretch" }, UT = { start: "flex-start", center: "center", end: "flex-end", between: "space-between" };
23331
+ function ZT(e) {
23312
23332
  return { default: () => e };
23313
23333
  }
23314
23334
  function Ka(e) {
@@ -23321,26 +23341,26 @@ function Vh(e) {
23321
23341
  children: e.children?.map(Vh)
23322
23342
  };
23323
23343
  }
23324
- function KT(e) {
23344
+ function WT(e) {
23325
23345
  return e.map((t) => ({ ...t, items: t.items.map(Vh) }));
23326
23346
  }
23327
- const HT = {
23347
+ const KT = {
23328
23348
  AppRoot: ({ props: e, slots: t }) => ee(xP, { modalScope: e.modalScope }, t),
23329
- AppShell: ({ props: e, slots: t }) => ee(BP, {
23349
+ AppShell: ({ props: e, slots: t }) => ee(jP, {
23330
23350
  sidebarWidth: e.sidebarWidth,
23331
23351
  minHeight: e.minHeight,
23332
23352
  responsive: e.responsive,
23333
23353
  wideLayout: e.wideLayout
23334
23354
  }, t),
23335
- ResponsiveView: ({ props: e, slots: t }) => ee(UP, { mode: e.mode }, t),
23336
- Page: ({ props: e, slots: t }) => ee(hT, { width: e.width ?? "fill", surface: e.surface }, t),
23337
- PageHeader: ({ props: e, slots: t }) => ee(fT, e, t),
23338
- Toolbar: ({ props: e, slots: t }) => ee(iT, e, t),
23355
+ ResponsiveView: ({ props: e, slots: t }) => ee(BP, { mode: e.mode }, t),
23356
+ Page: ({ props: e, slots: t }) => ee(pT, { width: e.width ?? "fill", surface: e.surface }, t),
23357
+ PageHeader: ({ props: e, slots: t }) => ee(dT, e, t),
23358
+ Toolbar: ({ props: e, slots: t }) => ee(rT, e, t),
23339
23359
  SidebarNav: ({ props: e, bindings: t, emit: n }) => {
23340
23360
  const [o, r] = en(e.value, t?.value);
23341
- return ee(tT, {
23361
+ return ee(eT, {
23342
23362
  modelValue: o,
23343
- groups: KT(e.groups),
23363
+ groups: WT(e.groups),
23344
23364
  searchable: e.searchable,
23345
23365
  collapsible: e.collapsible,
23346
23366
  searchPlaceholder: e.searchPlaceholder,
@@ -23351,7 +23371,7 @@ const HT = {
23351
23371
  },
23352
23372
  Tabs: ({ props: e, bindings: t, emit: n }) => {
23353
23373
  const [o, r] = en(e.value, t?.value);
23354
- return ee(gT, {
23374
+ return ee(vT, {
23355
23375
  modelValue: o ?? "",
23356
23376
  items: e.items,
23357
23377
  ariaLabel: e.ariaLabel,
@@ -23365,9 +23385,9 @@ const HT = {
23365
23385
  style: {
23366
23386
  display: "flex",
23367
23387
  flexDirection: e.direction ?? "column",
23368
- gap: BT[e.gap ?? "md"],
23369
- alignItems: UT[e.align ?? "stretch"],
23370
- justifyContent: ZT[e.justify ?? "start"],
23388
+ gap: jT[e.gap ?? "md"],
23389
+ alignItems: BT[e.align ?? "stretch"],
23390
+ justifyContent: UT[e.justify ?? "start"],
23371
23391
  flexWrap: e.wrap ? "wrap" : "nowrap"
23372
23392
  }
23373
23393
  }, t),
@@ -23451,12 +23471,12 @@ const HT = {
23451
23471
  }
23452
23472
  });
23453
23473
  },
23454
- Form: ({ props: e, slots: t, emit: n }) => ee(xT, {
23474
+ Form: ({ props: e, slots: t, emit: n }) => ee(_T, {
23455
23475
  direction: e.direction,
23456
23476
  fieldWidth: e.fieldWidth,
23457
23477
  onSubmit: () => n("submit")
23458
23478
  }, t),
23459
- Field: ({ props: e, slots: t }) => ee(VT, {
23479
+ Field: ({ props: e, slots: t }) => ee(FT, {
23460
23480
  label: e.label,
23461
23481
  description: e.description,
23462
23482
  help: e.help,
@@ -23509,7 +23529,7 @@ const HT = {
23509
23529
  icon: Ka(e.icon)
23510
23530
  }, t),
23511
23531
  Progress: ({ props: e }) => ee($h, e),
23512
- Badge: ({ props: e }) => ee(yO, { tone: e.tone }, WT(e.text)),
23532
+ Badge: ({ props: e }) => ee(yO, { tone: e.tone }, ZT(e.text)),
23513
23533
  Dialog: ({ props: e, bindings: t, slots: n, emit: o }) => {
23514
23534
  const [r, i] = en(e.open, t?.open);
23515
23535
  return ee(YO, {
@@ -23534,9 +23554,9 @@ const HT = {
23534
23554
  ListItem: ({ props: e, slots: t }) => ee(mP, e, t),
23535
23555
  InputGroup: ({ slots: e }) => ee(bC, null, e),
23536
23556
  Loading: ({ props: e }) => ee(kO, { text: e.text })
23537
- }, { registry: ed } = vS(jT, {
23538
- components: HT
23539
- }), JT = /* @__PURE__ */ D({
23557
+ }, { registry: ed } = vS(qT, {
23558
+ components: KT
23559
+ }), HT = /* @__PURE__ */ D({
23540
23560
  __name: "SynoJsonRenderer",
23541
23561
  props: {
23542
23562
  spec: {},
@@ -23580,18 +23600,18 @@ function pi(e) {
23580
23600
  return t.overflowX && t.overflowX !== "visible" ? t.overflowX : t.overflow.split(" ")[0] || "visible";
23581
23601
  }
23582
23602
  const Lh = (e) => e.closest("[data-jr-key]")?.getAttribute("data-jr-key") ?? void 0;
23583
- function GT(e, t) {
23603
+ function JT(e, t) {
23584
23604
  for (let n = e.parentElement; n && t.contains(n); n = n.parentElement)
23585
23605
  if (pi(n) !== "visible") return n;
23586
23606
  }
23587
- function YT(e, t, n) {
23607
+ function GT(e, t, n) {
23588
23608
  if (e.closest("[inert]")) return;
23589
23609
  const o = e.getBoundingClientRect();
23590
23610
  if (o.width <= 1) return;
23591
23611
  const r = pi(e);
23592
23612
  if ((r === "hidden" || r === "clip") && e.scrollWidth > e.clientWidth + 1 && getComputedStyle(e).textOverflow !== "ellipsis")
23593
23613
  return { kind: "clipped_content", detail: `content is ${e.scrollWidth - e.clientWidth}px wider than its box and is cut off` };
23594
- const i = GT(e, t);
23614
+ const i = JT(e, t);
23595
23615
  if (i) {
23596
23616
  if (pi(i) === "auto" || pi(i) === "scroll") return;
23597
23617
  const a = i.getBoundingClientRect(), l = Math.max(o.right - a.right, a.left - o.left), c = Lh(i);
@@ -23600,25 +23620,25 @@ function YT(e, t, n) {
23600
23620
  const s = Math.max(o.right - n, -o.left);
23601
23621
  return s > 1 ? { kind: "outside_viewport", detail: `extends ${Math.round(s)}px past the ${n}px viewport` } : void 0;
23602
23622
  }
23603
- function XT(e, t) {
23604
- const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding: YT(i, e, t) })).filter((i) => !!i.finding), o = n.filter((i) => !n.some((s) => s !== i && s.finding.kind === i.finding.kind && i.element.contains(s.element))), r = /* @__PURE__ */ new Map();
23623
+ function YT(e, t) {
23624
+ const n = [...e.querySelectorAll("*")].map((i) => ({ element: i, finding: GT(i, e, t) })).filter((i) => !!i.finding), o = n.filter((i) => !n.some((s) => s !== i && s.finding.kind === i.finding.kind && i.element.contains(s.element))), r = /* @__PURE__ */ new Map();
23605
23625
  for (const { element: i, finding: s } of o) {
23606
23626
  const a = Lh(i), l = `${s.kind}:${a ?? ""}`;
23607
23627
  r.has(l) || r.set(l, { ...s, key: a });
23608
23628
  }
23609
23629
  return [...r.values()];
23610
23630
  }
23611
- function QT(e, t) {
23631
+ function XT(e, t) {
23612
23632
  const n = Object.hasOwn(e, t) ? e[t] : t.split(".").reduce((o, r) => o?.[r], e);
23613
23633
  return typeof n == "string" ? n : t;
23614
23634
  }
23615
- const eI = () => new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
23616
- async function tI() {
23635
+ const QT = () => new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
23636
+ async function eI() {
23617
23637
  const e = await (await fetch("/config.json")).json();
23618
23638
  _x();
23619
- const t = document.getElementById("app"), n = ({ key: o }) => QT(e.messages ?? {}, String(o));
23639
+ const t = document.getElementById("app"), n = ({ key: o }) => XT(e.messages ?? {}, String(o));
23620
23640
  return ag({
23621
- render: () => ee(JT, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
23622
- }).mount(t), await Ue(), await document.fonts.ready, await eI(), { issues: () => XT(t, innerWidth) };
23641
+ render: () => ee(HT, { spec: e.spec, state: { ...e.spec.state, ...e.state }, functions: { t: n } })
23642
+ }).mount(t), await Ue(), await document.fonts.ready, await QT(), { issues: () => YT(t, innerWidth) };
23623
23643
  }
23624
- window.synoPreview = tI();
23644
+ window.synoPreview = eI();