mamba-layout 0.37.0 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { getCurrentInstance as at, readonly as ot, ref as U, computed as C, unref as h, onActivated as st, onMounted as De, onUnmounted as Ne, watch as ye, defineComponent as N, openBlock as r, createElementBlock as v, normalizeClass as H, resolveComponent as M, Fragment as J, createBlock as k, resolveDynamicComponent as be, mergeProps as Be, withCtx as S, createTextVNode as rt, toDisplayString as E, createCommentVNode as x, createElementVNode as p, renderList as Q, withDirectives as lt, vShow as it, createVNode as _, renderSlot as Z, watchEffect as Ue, Transition as Ie } from "vue";
2
- import { Fold as Re, ArrowDown as Ae, Moon as ct, Sunny as ut, Expand as dt, User as pt, ArrowLeft as mt, ArrowRight as he, Clock as ht } from "@element-plus/icons-vue";
3
- import { useRouter as Ke } from "vue-router";
4
- import { createI18n as gt } from "vue-i18n";
1
+ import { getCurrentInstance as nt, readonly as at, ref as D, computed as S, unref as f, onActivated as ot, onMounted as Ee, onUnmounted as Ne, watch as re, defineComponent as E, openBlock as l, createElementBlock as g, normalizeClass as z, resolveComponent as L, Fragment as O, createBlock as T, resolveDynamicComponent as ye, mergeProps as Re, withCtx as P, createCommentVNode as I, createElementVNode as d, toDisplayString as M, renderList as K, withDirectives as st, vShow as rt, createVNode as b, renderSlot as G, watchEffect as lt, Transition as Ie } from "vue";
2
+ import { Fold as De, ArrowDown as be, Moon as it, Sunny as ct, Expand as ut, User as dt, ArrowLeft as pt, ArrowRight as fe, Clock as mt } from "@element-plus/icons-vue";
3
+ import { useRouter as Ue } from "vue-router";
4
+ import { createI18n as ht } from "vue-i18n";
5
5
  function ge() {
6
- const a = at();
6
+ const a = nt();
7
7
  return a ? a.appContext.config.globalProperties.$route : null;
8
8
  }
9
- const ft = 3600 * 24 * 7, _e = "UTC", Je = "timezone", vt = [
9
+ const ft = 3600 * 24 * 7, we = "UTC", Oe = "timezone", gt = [
10
10
  "UTC",
11
11
  "Asia/Shanghai",
12
12
  "Asia/Hong_Kong",
@@ -16,15 +16,15 @@ const ft = 3600 * 24 * 7, _e = "UTC", Je = "timezone", vt = [
16
16
  "Europe/Berlin",
17
17
  "America/New_York",
18
18
  "America/Los_Angeles"
19
- ], Le = /* @__PURE__ */ new Map(), pe = () => {
19
+ ], xe = /* @__PURE__ */ new Map(), me = () => {
20
20
  try {
21
21
  return globalThis.localStorage;
22
22
  } catch {
23
23
  return;
24
24
  }
25
- }, X = {
25
+ }, W = {
26
26
  get(a, e = null) {
27
- const t = pe(), n = t == null ? void 0 : t.getItem(a.toUpperCase());
27
+ const t = me(), n = t == null ? void 0 : t.getItem(a.toUpperCase());
28
28
  if (!n) return e;
29
29
  try {
30
30
  const s = JSON.parse(n);
@@ -37,7 +37,7 @@ const ft = 3600 * 24 * 7, _e = "UTC", Je = "timezone", vt = [
37
37
  return e;
38
38
  },
39
39
  set(a, e, t = ft) {
40
- const n = pe(), s = {
40
+ const n = me(), s = {
41
41
  value: e,
42
42
  expire: t === null ? null : Date.now() + t * 1e3
43
43
  };
@@ -45,19 +45,19 @@ const ft = 3600 * 24 * 7, _e = "UTC", Je = "timezone", vt = [
45
45
  },
46
46
  clear() {
47
47
  var a;
48
- (a = pe()) == null || a.clear();
48
+ (a = me()) == null || a.clear();
49
49
  }
50
- }, yt = (a) => typeof a == "object" && a !== null, xe = (a) => {
51
- if (!yt(a) || Object.prototype.toString.call(a) !== "[object Object]") return !1;
50
+ }, _t = (a) => typeof a == "object" && a !== null, Le = (a) => {
51
+ if (!_t(a) || Object.prototype.toString.call(a) !== "[object Object]") return !1;
52
52
  const e = Object.getPrototypeOf(a);
53
53
  return e === null || e === Object.prototype;
54
54
  };
55
- function Oe(a, e) {
56
- if (!xe(a)) return e;
57
- if (!xe(e)) return a;
55
+ function Be(a, e) {
56
+ if (!Le(a)) return e;
57
+ if (!Le(e)) return a;
58
58
  const t = a;
59
59
  return Object.keys(e).concat(Object.getOwnPropertySymbols(e)).forEach((n) => {
60
- t[n] = Oe(
60
+ t[n] = Be(
61
61
  t[n],
62
62
  e[n]
63
63
  );
@@ -65,50 +65,50 @@ function Oe(a, e) {
65
65
  }
66
66
  function Fe() {
67
67
  const a = typeof navigator > "u" ? "en-US" : navigator.language;
68
- return String(X.get("locale", a)).includes("zh") ? "zh-CN" : "en-US";
68
+ return String(W.get("locale", a)).includes("zh") ? "zh-CN" : "en-US";
69
69
  }
70
- const Ee = (a, e, t) => {
70
+ const $e = (a, e, t) => {
71
71
  var n;
72
72
  return ((n = e == null ? void 0 : e[t]) == null ? void 0 : n[a]) || "";
73
- }, $ = (a, e, t = "") => {
73
+ }, X = (a, e, t = "") => {
74
74
  const n = a;
75
- return Ee(e, n, Fe()) || t || Ee(e, n, "en-US");
76
- }, re = (a = "") => a.replace(/【.*】/, ""), He = (a, e, t) => {
77
- var n, s, o, l, c;
78
- for (const u of e) {
79
- const m = ((n = u.path) == null ? void 0 : n.replace(/\/:(\w+)/g, "/([^/]+)")) || "", i = new RegExp(`^${m}$`);
80
- if (((s = u.path) == null ? void 0 : s.toLowerCase()) === a || i.test(a))
81
- return ((o = u.meta) == null ? void 0 : o.visible) === "0" && (t == null ? void 0 : t.path) || "";
82
- if ((l = u.children) != null && l.length) {
83
- const g = He(
75
+ return $e(e, n, Fe()) || t || $e(e, n, "en-US");
76
+ }, le = (a = "") => a.replace(/【.*】/, ""), ze = (a, e, t) => {
77
+ var n, s, o, r, c;
78
+ for (const p of e) {
79
+ const m = ((n = p.path) == null ? void 0 : n.replace(/\/:(\w+)/g, "/([^/]+)")) || "", i = new RegExp(`^${m}$`);
80
+ if (((s = p.path) == null ? void 0 : s.toLowerCase()) === a || i.test(a))
81
+ return ((o = p.meta) == null ? void 0 : o.visible) === "0" && (t == null ? void 0 : t.path) || "";
82
+ if ((r = p.children) != null && r.length) {
83
+ const v = ze(
84
84
  a,
85
- u.children,
86
- ((c = u.meta) == null ? void 0 : c.visible) === "1" ? u : t
85
+ p.children,
86
+ ((c = p.meta) == null ? void 0 : c.visible) === "1" ? p : t
87
87
  );
88
- if (g) return g;
88
+ if (v) return v;
89
89
  }
90
90
  }
91
91
  return "";
92
- }, bt = (a, e) => {
92
+ }, vt = (a, e) => {
93
93
  const t = a.resolve(e);
94
94
  if (!(t != null && t.name)) return !1;
95
95
  const n = String(t.name).split("-").filter((o) => !!o && o !== "index"), s = t.path.split("-").join("/").split("/").filter(Boolean);
96
- return n.length === s.length && n.every((o, l) => o === s[l]);
97
- }, ee = (a) => typeof a == "string" && Qe(a) ? a : "", Qe = (a) => {
96
+ return n.length === s.length && n.every((o, r) => o === s[r]);
97
+ }, ee = (a) => typeof a == "string" && Ke(a) ? a : "", Ke = (a) => {
98
98
  try {
99
99
  return new Intl.DateTimeFormat("en-US", { timeZone: a }).format(/* @__PURE__ */ new Date()), !0;
100
100
  } catch {
101
101
  return !1;
102
102
  }
103
- }, ze = () => ee(Intl.DateTimeFormat().resolvedOptions().timeZone) || _e, Ce = U(
104
- ee(X.get(Je)) || ze()
105
- ), At = () => ot(Ce);
106
- function _t(a) {
103
+ }, je = () => ee(Intl.DateTimeFormat().resolvedOptions().timeZone) || we, Pe = D(
104
+ ee(W.get(Oe)) || je()
105
+ ), yt = () => at(Pe);
106
+ function bt(a) {
107
107
  const e = ee(a);
108
- e && (Ce.value = e, X.set(Je, e, null));
108
+ e && (Pe.value = e, W.set(Oe, e, null));
109
109
  }
110
- const Ct = (a) => {
111
- const e = ee(a) || _e, t = Le.get(e);
110
+ const wt = (a) => {
111
+ const e = ee(a) || we, t = xe.get(e);
112
112
  if (t) return t;
113
113
  const n = new Intl.DateTimeFormat("en-US", {
114
114
  timeZone: e,
@@ -120,9 +120,9 @@ const Ct = (a) => {
120
120
  second: "2-digit",
121
121
  hourCycle: "h23"
122
122
  });
123
- return Le.set(e, n), n;
124
- }, St = (a, e) => Ct(e).formatToParts(a).reduce((n, s) => (s.type !== "literal" && (n[s.type] = Number(s.value)), n), {}), wt = (a, e = /* @__PURE__ */ new Date()) => {
125
- const t = ee(a) || _e, n = St(e, t), s = Date.UTC(
123
+ return xe.set(e, n), n;
124
+ }, Pt = (a, e) => wt(e).formatToParts(a).reduce((n, s) => (s.type !== "literal" && (n[s.type] = Number(s.value)), n), {}), St = (a, e = /* @__PURE__ */ new Date()) => {
125
+ const t = ee(a) || we, n = Pt(e, t), s = Date.UTC(
126
126
  n.year || 0,
127
127
  (n.month || 1) - 1,
128
128
  n.day || 1,
@@ -132,71 +132,71 @@ const Ct = (a) => {
132
132
  e.getMilliseconds()
133
133
  );
134
134
  return Math.round((s - e.getTime()) / 6e4);
135
- }, Ze = (a, e = /* @__PURE__ */ new Date()) => {
136
- const t = wt(a, e), n = t >= 0 ? "+" : "-", s = Math.abs(t), o = Math.floor(s / 60), l = s % 60;
135
+ }, He = (a, e = /* @__PURE__ */ new Date()) => {
136
+ const t = St(a, e), n = t >= 0 ? "+" : "-", s = Math.abs(t), o = Math.floor(s / 60), r = s % 60;
137
137
  return `UTC${n}${String(o).padStart(2, "0")}:${String(
138
- l
138
+ r
139
139
  ).padStart(2, "0")}`;
140
- }, Pt = (a, e = /* @__PURE__ */ new Date()) => `${a} (${Ze(a, e)})`, Tt = (a = /* @__PURE__ */ new Date()) => {
140
+ }, At = (a, e = /* @__PURE__ */ new Date()) => `${a} (${He(a, e)})`, Ct = (a = /* @__PURE__ */ new Date()) => {
141
141
  const e = new Set(
142
- [ze(), ...vt, Ce.value].filter(
143
- Qe
142
+ [je(), ...gt, Pe.value].filter(
143
+ Ke
144
144
  )
145
145
  );
146
146
  return Array.from(e).map((t) => {
147
- const n = Ze(t, a);
147
+ const n = He(t, a);
148
148
  return {
149
149
  value: t,
150
150
  label: `${t} (${n})`,
151
151
  offset: n
152
152
  };
153
153
  });
154
- }, V = U("light");
155
- function je() {
156
- const a = "theme", e = "(prefers-color-scheme: dark)", t = U(!1);
154
+ }, Q = D("light");
155
+ function Ge() {
156
+ const a = "theme", e = "(prefers-color-scheme: dark)", t = D(!1);
157
157
  let n = !1;
158
- const s = (f) => f === "dark" || f === "light" ? f : null, o = () => typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(e).matches ? "dark" : "light", l = (f) => {
159
- const A = s(X.get(a, null));
160
- return A ? (t.value = !0, A) : f || o();
161
- }, c = (f) => {
162
- typeof document > "u" || document.documentElement.classList.toggle("dark", f === "dark");
163
- }, u = (f) => {
164
- const A = l(f);
165
- return V.value = A, c(A), n = !0, A;
166
- }, m = (f, A) => {
167
- V.value = f, c(f), (A == null ? void 0 : A.persist) !== !1 && (X.set(a, f, null), t.value = !0);
158
+ const s = (_) => _ === "dark" || _ === "light" ? _ : null, o = () => typeof window > "u" || typeof window.matchMedia != "function" ? "light" : window.matchMedia(e).matches ? "dark" : "light", r = (_) => {
159
+ const w = s(W.get(a, null));
160
+ return w ? (t.value = !0, w) : _ || o();
161
+ }, c = (_) => {
162
+ typeof document > "u" || document.documentElement.classList.toggle("dark", _ === "dark");
163
+ }, p = (_) => {
164
+ const w = r(_);
165
+ return Q.value = w, c(w), n = !0, w;
166
+ }, m = (_, w) => {
167
+ Q.value = _, c(_), (w == null ? void 0 : w.persist) !== !1 && (W.set(a, _, null), t.value = !0);
168
168
  }, i = () => {
169
- m(V.value === "dark" ? "light" : "dark");
170
- }, y = (f) => {
169
+ m(Q.value === "dark" ? "light" : "dark");
170
+ }, h = (_) => {
171
171
  if (!n) {
172
- u(f);
172
+ p(_);
173
173
  return;
174
174
  }
175
- !t.value && f && m(f, { persist: !1 });
176
- }, g = C(() => V.value === "dark");
175
+ !t.value && _ && m(_, { persist: !1 });
176
+ }, v = S(() => Q.value === "dark");
177
177
  return {
178
- theme: V,
179
- isDark: g,
180
- initTheme: u,
178
+ theme: Q,
179
+ isDark: v,
180
+ initTheme: p,
181
181
  setTheme: m,
182
182
  toggleTheme: i,
183
- syncThemeFromSetting: y
183
+ syncThemeFromSetting: h
184
184
  };
185
185
  }
186
- const kt = () => typeof location > "u" ? "" : location.href, qe = (a) => (a == null ? void 0 : a.loginPath) || `/login?redirect=${encodeURIComponent(kt())}`, le = (a) => {
187
- typeof location > "u" || (location.href = qe(a));
188
- }, It = (a) => (a == null ? void 0 : a.userCenterPath) || "/usercenter/home", Lt = (a) => {
186
+ const Tt = () => typeof location > "u" ? "" : location.href, Je = (a) => (a == null ? void 0 : a.loginPath) || `/login?redirect=${encodeURIComponent(Tt())}`, ie = (a) => {
187
+ typeof location > "u" || (location.href = Je(a));
188
+ }, kt = (a) => (a == null ? void 0 : a.userCenterPath) || "/usercenter/home", It = (a) => {
189
189
  var o;
190
190
  const e = a.themeColor, t = {};
191
191
  if (e)
192
- for (const l in e) {
193
- if (!e[l]) continue;
194
- const c = "--layout-" + l.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
195
- t[c] = e[l], l == "colorPrimary" && xt(e[l]);
192
+ for (const r in e) {
193
+ if (!e[r]) continue;
194
+ const c = "--layout-" + r.replace(/([A-Z])/g, "-$1").toLocaleLowerCase();
195
+ t[c] = e[r], r == "colorPrimary" && xt(e[r]);
196
196
  }
197
197
  let n = document.getElementById("layout-style");
198
198
  n && ((o = n.parentNode) == null || o.removeChild(n)), n = document.createElement("style"), n.id = "layout-style", document.head.appendChild(n);
199
- const s = Object.keys(t).map((l) => l + ":" + t[l]).join(";");
199
+ const s = Object.keys(t).map((r) => r + ":" + t[r]).join(";");
200
200
  n.innerHTML = `html:root{${s}}`;
201
201
  };
202
202
  function xt(a) {
@@ -206,31 +206,31 @@ function xt(a) {
206
206
  (s = e.parentNode) == null || s.removeChild(e);
207
207
  return;
208
208
  }
209
- const t = Et(a);
209
+ const t = Lt(a);
210
210
  e || (e = document.createElement("style"), e.id = "primary-style", document.head.appendChild(e));
211
211
  const n = Object.keys(t).map((o) => o + ":" + t[o]).join(";");
212
212
  e.innerHTML = `html:root{${n}}`;
213
213
  }
214
- function Et(a) {
215
- var u;
216
- const e = ((u = a.match(/\d+/g)) == null ? void 0 : u.map(Number)) || [], [t, n, s] = e, o = `rgb(${t}, ${n}, ${s})`, l = (m) => {
217
- const i = m / 100, y = Math.min(255, t + (255 - t) * i), g = Math.min(255, n + (255 - n) * i), f = Math.min(255, s + (255 - s) * i);
218
- return `rgb(${y.toFixed(1)}, ${g.toFixed(1)}, ${f.toFixed(1)})`;
214
+ function Lt(a) {
215
+ var p;
216
+ const e = ((p = a.match(/\d+/g)) == null ? void 0 : p.map(Number)) || [], [t, n, s] = e, o = `rgb(${t}, ${n}, ${s})`, r = (m) => {
217
+ const i = m / 100, h = Math.min(255, t + (255 - t) * i), v = Math.min(255, n + (255 - n) * i), _ = Math.min(255, s + (255 - s) * i);
218
+ return `rgb(${h.toFixed(1)}, ${v.toFixed(1)}, ${_.toFixed(1)})`;
219
219
  }, c = (m) => {
220
220
  const i = 1 - m / 100;
221
221
  return `rgb(${Math.round(t * i)} ${Math.round(n * i)} ${Math.round(s * i)})`;
222
222
  };
223
223
  return {
224
224
  "--el-color-primary": o,
225
- "--el-color-primary-light-3": l(30),
226
- "--el-color-primary-light-5": l(50),
227
- "--el-color-primary-light-7": l(70),
228
- "--el-color-primary-light-8": l(80),
229
- "--el-color-primary-light-9": l(90),
225
+ "--el-color-primary-light-3": r(30),
226
+ "--el-color-primary-light-5": r(50),
227
+ "--el-color-primary-light-7": r(70),
228
+ "--el-color-primary-light-8": r(80),
229
+ "--el-color-primary-light-9": r(90),
230
230
  "--el-color-primary-dark-2": c(20)
231
231
  };
232
232
  }
233
- const fe = U({
233
+ const _e = D({
234
234
  menus: [],
235
235
  layout: "classic",
236
236
  title: "",
@@ -238,117 +238,117 @@ const fe = U({
238
238
  tabs: "tab",
239
239
  pageType: "common"
240
240
  });
241
- function R() {
242
- return fe;
241
+ function U() {
242
+ return _e;
243
243
  }
244
- const Mt = (a) => {
245
- const e = R(), t = a && h(a) || {};
244
+ const $t = (a) => {
245
+ const e = U(), t = a && f(a) || {};
246
246
  if (!(e != null && e.value)) return t;
247
- fe.value = Oe(e.value, t);
248
- const { syncThemeFromSetting: n } = je();
249
- n(), Lt(fe.value);
250
- }, Dt = 1024, Nt = U(), ve = U([]), ne = U(), me = U(""), ae = U(""), Bt = U(""), oe = R(), Ye = U(!0), We = U(!1), Ut = U(), Rt = () => {
247
+ _e.value = Be(e.value, t);
248
+ const { syncThemeFromSetting: n } = Ge();
249
+ n(), It(_e.value);
250
+ }, Mt = 1024, Et = D(), ve = D([]), ne = D(), he = D(""), ae = D(""), Nt = D(""), oe = U(), Ve = D(!0), Ze = D(!1), Rt = D(), Dt = () => {
251
251
  const a = () => {
252
252
  var o;
253
- return ((o = oe.value.menus) == null ? void 0 : o.filter((l) => {
253
+ return ((o = oe.value.menus) == null ? void 0 : o.filter((r) => {
254
254
  var c;
255
- return ((c = l.meta) == null ? void 0 : c.appId) == ae.value;
255
+ return ((c = r.meta) == null ? void 0 : c.appId) == ae.value;
256
256
  })) || [];
257
- }, e = (o, l, c = 0, u) => {
258
- var A, P, I, K;
257
+ }, e = (o, r, c = 0, p) => {
258
+ var w, k, N, j;
259
259
  const m = ge();
260
260
  if (!m) return;
261
- const i = u ? [...u] : [], y = [], g = [];
262
- for (const L in o) {
263
- [...i], o[L];
264
- const O = ((A = m.meta) == null ? void 0 : A.parent) || m.path, j = ((P = o[L].path) == null ? void 0 : P.replace(/\/:(\w+)/g, "/([^/]+)")) || "", ce = new RegExp(`^${j}$`);
265
- O == o[L].path ? y.push({ index: L, item: o[L] }) : ce.test(O) && g.push({ index: L, item: o[L] });
261
+ const i = p ? [...p] : [], h = [], v = [];
262
+ for (const x in o) {
263
+ [...i], o[x];
264
+ const B = ((w = m.meta) == null ? void 0 : w.parent) || m.path, J = ((k = o[x].path) == null ? void 0 : k.replace(/\/:(\w+)/g, "/([^/]+)")) || "", ue = new RegExp(`^${J}$`);
265
+ B == o[x].path ? h.push({ index: x, item: o[x] }) : ue.test(B) && v.push({ index: x, item: o[x] });
266
266
  }
267
- const f = y.length > 0 ? y : g;
268
- if (f.length > 0) {
269
- const L = f[0], O = [...i];
270
- O[c] = L.item, ne.value = {
271
- ...L.item,
272
- paths: O.slice(0, c + 1)
273
- }, ae.value = ((I = L.item.meta) == null ? void 0 : I.appId) || "", Nt.value = l;
267
+ const _ = h.length > 0 ? h : v;
268
+ if (_.length > 0) {
269
+ const x = _[0], B = [...i];
270
+ B[c] = x.item, ne.value = {
271
+ ...x.item,
272
+ paths: B.slice(0, c + 1)
273
+ }, ae.value = ((N = x.item.meta) == null ? void 0 : N.appId) || "", Et.value = r;
274
274
  }
275
- for (const L in o)
276
- if (o[L].children && ((K = o[L].children) != null && K.length)) {
277
- const O = o[L].children || [], j = [...i];
278
- j[c] = o[L], e(O, o[L], c + 1, j);
275
+ for (const x in o)
276
+ if (o[x].children && ((j = o[x].children) != null && j.length)) {
277
+ const B = o[x].children || [], J = [...i];
278
+ J[c] = o[x], e(B, o[x], c + 1, J);
279
279
  }
280
- Bt.value = m.meta.parentPath || He(
280
+ Nt.value = m.meta.parentPath || ze(
281
281
  m.path.toLowerCase(),
282
282
  oe.value.menus || []
283
283
  ) || m.path;
284
284
  }, t = () => {
285
- var u, m, i, y, g, f, A, P, I, K;
286
- e(oe.value.menus || []), ae.value || (ae.value = ((i = (m = (u = oe.value.menus) == null ? void 0 : u.find(
287
- (L) => {
288
- var O;
289
- return (O = L.path) == null ? void 0 : O.startsWith(me.value);
285
+ var p, m, i, h, v, _, w, k, N, j;
286
+ e(oe.value.menus || []), ae.value || (ae.value = ((i = (m = (p = oe.value.menus) == null ? void 0 : p.find(
287
+ (x) => {
288
+ var B;
289
+ return (B = x.path) == null ? void 0 : B.startsWith(he.value);
290
290
  }
291
291
  )) == null ? void 0 : m.meta) == null ? void 0 : i.appId) || "");
292
- const o = ((y = ne.value) == null ? void 0 : y.paths) || [], l = re(
293
- $(((f = (g = ne.value) == null ? void 0 : g.meta) == null ? void 0 : f.translations) || {}, "name")
294
- ), c = ((A = ne.value) == null ? void 0 : A.path) == ((P = o[1]) == null ? void 0 : P.path) ? "" : re($(((K = (I = o[1]) == null ? void 0 : I.meta) == null ? void 0 : K.translations) || {}, "name"));
295
- document.title = l + (c ? ` - ${c}` : "");
292
+ const o = ((h = ne.value) == null ? void 0 : h.paths) || [], r = le(
293
+ X(((_ = (v = ne.value) == null ? void 0 : v.meta) == null ? void 0 : _.translations) || {}, "name")
294
+ ), c = ((w = ne.value) == null ? void 0 : w.path) == ((k = o[1]) == null ? void 0 : k.path) ? "" : le(X(((j = (N = o[1]) == null ? void 0 : N.meta) == null ? void 0 : j.translations) || {}, "name"));
295
+ document.title = r + (c ? ` - ${c}` : "");
296
296
  }, n = () => {
297
297
  const o = ge();
298
- me.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), t(), ve.value = a();
298
+ he.value = "/" + (o.path.split("/").filter(Boolean).shift() || ""), t(), ve.value = a();
299
299
  }, s = () => {
300
- const o = window.innerWidth < Dt;
301
- We.value = o, Ye.value = !o;
300
+ const o = window.innerWidth < Mt;
301
+ Ze.value = o, Ve.value = !o;
302
302
  };
303
- s(), n(), st(() => {
303
+ s(), n(), ot(() => {
304
304
  n();
305
- }), De(() => {
305
+ }), Ee(() => {
306
306
  window.addEventListener("resize", s);
307
307
  }), Ne(() => {
308
308
  window.removeEventListener("resize", s);
309
- }), ye(
310
- () => me.value,
309
+ }), re(
310
+ () => he.value,
311
311
  () => void (ve.value = a())
312
312
  );
313
313
  };
314
314
  function te() {
315
315
  return {
316
- initLayoutState: Rt,
316
+ initLayoutState: Dt,
317
317
  menus: ve,
318
318
  // currentEndRoute,
319
319
  // currentTabPath,
320
320
  // currentAppId,
321
321
  // defaultParentActive,
322
- sideOpen: Ye,
323
- isMobile: We,
322
+ sideOpen: Ve,
323
+ isMobile: Ze,
324
324
  // currentEndParentRoute,
325
- leftScrollRef: Ut
325
+ leftScrollRef: Rt
326
326
  };
327
327
  }
328
- const Kt = { class: "menu-item-icon" }, Jt = ["innerHTML"], Ot = /* @__PURE__ */ N({
328
+ const Ut = { class: "menu-item-icon" }, Ot = ["innerHTML"], Bt = /* @__PURE__ */ E({
329
329
  __name: "MenuItemIcon",
330
330
  props: {
331
331
  icon: { default: "metisicon-yingyong" }
332
332
  },
333
333
  setup(a) {
334
- const e = a, t = C(() => e.icon || "metisicon-yingyong"), n = /^\s*<svg[\s>]/i, s = /\son[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi, o = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, l = /\s(?:href|xlink:href)\s*=\s*("\s*javascript:[^"]*"|'\s*javascript:[^']*')/gi, c = (i) => !!i && n.test(i), u = (i) => !i || !c(i) ? "" : i.replace(o, "").replace(s, "").replace(l, ""), m = C(() => u(t.value));
335
- return (i, y) => (r(), v("div", Kt, [
336
- c(t.value) ? (r(), v("span", {
334
+ const e = a, t = S(() => e.icon || "metisicon-yingyong"), n = /^\s*<svg[\s>]/i, s = /\son[a-z]+\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)/gi, o = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, r = /\s(?:href|xlink:href)\s*=\s*("\s*javascript:[^"]*"|'\s*javascript:[^']*')/gi, c = (i) => !!i && n.test(i), p = (i) => !i || !c(i) ? "" : i.replace(o, "").replace(s, "").replace(r, ""), m = S(() => p(t.value));
335
+ return (i, h) => (l(), g("div", Ut, [
336
+ c(t.value) ? (l(), g("span", {
337
337
  key: 0,
338
338
  class: "menu-item-icon__svg",
339
339
  innerHTML: m.value
340
- }, null, 8, Jt)) : (r(), v("i", {
340
+ }, null, 8, Ot)) : (l(), g("i", {
341
341
  key: 1,
342
- class: H(t.value)
342
+ class: z(t.value)
343
343
  }, null, 2))
344
344
  ]));
345
345
  }
346
- }), B = (a, e) => {
346
+ }), R = (a, e) => {
347
347
  const t = a.__vccOpts || a;
348
348
  for (const [n, s] of e)
349
349
  t[n] = s;
350
350
  return t;
351
- }, Xe = /* @__PURE__ */ B(Ot, [["__scopeId", "data-v-ed060390"]]), Ft = { key: 0 }, Ht = /* @__PURE__ */ N({
351
+ }, Ye = /* @__PURE__ */ R(Bt, [["__scopeId", "data-v-ed060390"]]), Ft = { key: 0 }, zt = /* @__PURE__ */ E({
352
352
  __name: "AsideSubMenuItem",
353
353
  props: {
354
354
  menu: {
@@ -361,73 +361,72 @@ const Kt = { class: "menu-item-icon" }, Jt = ["innerHTML"], Ot = /* @__PURE__ */
361
361
  }
362
362
  },
363
363
  setup(a) {
364
- const e = a, t = C(
364
+ const e = a, t = S(
365
365
  () => {
366
366
  var i;
367
- return (i = e.menu.children) == null ? void 0 : i.filter((y) => {
368
- var g;
369
- return ((g = y.meta) == null ? void 0 : g.visible) != "0";
367
+ return (i = e.menu.children) == null ? void 0 : i.filter((h) => {
368
+ var v;
369
+ return ((v = h.meta) == null ? void 0 : v.visible) != "0";
370
370
  });
371
371
  }
372
- ), n = R(), s = C(() => n.value.defaultParentActive || ""), o = C(() => n.value.currentTabPath || ""), l = Ke(), c = C(() => {
372
+ ), n = U(), s = S(() => n.value.defaultParentActive || ""), o = S(() => n.value.currentTabPath || ""), r = Ue(), c = S(() => {
373
373
  var i;
374
- return e.level == 1 && !bt(l, e.menu.path || "") ? "div" : /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(o.value)) ? "a" : "router-link";
375
- }), u = C(() => {
374
+ return e.level == 1 && !vt(r, e.menu.path || "") ? "div" : /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(o.value)) ? "a" : "router-link";
375
+ }), p = S(() => {
376
376
  var i;
377
377
  return /^http/.test(e.menu.path || "") || !((i = e.menu.path) != null && i.startsWith(o.value)) ? {
378
378
  href: e.menu.path || ""
379
379
  } : {
380
380
  to: e.menu.path || ""
381
381
  };
382
- }), m = C(
382
+ }), m = S(
383
383
  () => {
384
384
  var i;
385
385
  return String(e.menu.icon || ((i = e.menu.meta) == null ? void 0 : i.icon) || "metisicon-yingyong");
386
386
  }
387
387
  );
388
- return (i, y) => {
389
- var f, A;
390
- const g = M("AsideSubMenuItem", !0);
391
- return r(), v(J, null, [
392
- (r(), k(be(c.value), Be({
388
+ return (i, h) => {
389
+ var _, w;
390
+ const v = L("AsideSubMenuItem", !0);
391
+ return l(), g(O, null, [
392
+ (l(), T(ye(c.value), Re({
393
393
  class: ["pt-1 pb-1 pl-3 pr-3 flex items-center gap-2 rounded-md", [
394
394
  e.menu.path == s.value ? "bg-[var(--ui-sidebar-active-bg,var(--el-fill-color))] text-[var(--ui-sidebar-active-fg)] font-medium" : "text-[var(--ui-sidebar-foreground)]",
395
- (f = t.value) != null && f.length ? " h-7" : " h-9.5 cursor-pointer hover:bg-[var(--ui-sidebar-hover-bg)]"
395
+ (_ = t.value) != null && _.length ? " h-7" : " h-9.5 cursor-pointer hover:bg-[var(--ui-sidebar-hover-bg)]"
396
396
  ]],
397
397
  style: { paddingLeft: "calc(var(--spacing) * 3)" }
398
- }, u.value), {
399
- default: S(() => {
400
- var P, I, K, L;
398
+ }, p.value), {
399
+ default: P(() => {
400
+ var k, N, j, x;
401
401
  return [
402
- rt(E(e.menu.path) + " " + E(s.value) + " ", 1),
403
- (P = t.value) != null && P.length ? x("", !0) : (r(), k(Xe, {
402
+ (k = t.value) != null && k.length ? I("", !0) : (l(), T(Ye, {
404
403
  key: 0,
405
404
  icon: m.value,
406
- class: H(["text-md", [
405
+ class: z(["text-md", [
407
406
  e.menu.path == s.value ? "opacity-100" : "opacity-60"
408
407
  ]])
409
408
  }, null, 8, ["icon", "class"])),
410
- p("div", {
411
- class: H(["truncate", (I = t.value) != null && I.length ? "text-xs text-gray-400" : ""])
412
- }, E(h(re)(h($)(((L = (K = e.menu) == null ? void 0 : K.meta) == null ? void 0 : L.translations) || {}, "name"))), 3)
409
+ d("div", {
410
+ class: z(["truncate", (N = t.value) != null && N.length ? "text-xs text-gray-400" : ""])
411
+ }, M(f(le)(f(X)(((x = (j = e.menu) == null ? void 0 : j.meta) == null ? void 0 : x.translations) || {}, "name"))), 3)
413
412
  ];
414
413
  }),
415
414
  _: 1
416
415
  }, 16, ["class"])),
417
- (A = t.value) != null && A.length ? (r(), v("div", Ft, [
418
- (r(!0), v(J, null, Q(t.value, (P, I) => (r(), k(g, {
419
- menu: P,
420
- key: I,
416
+ (w = t.value) != null && w.length ? (l(), g("div", Ft, [
417
+ (l(!0), g(O, null, K(t.value, (k, N) => (l(), T(v, {
418
+ menu: k,
419
+ key: N,
421
420
  level: e.level + 1
422
421
  }, null, 8, ["menu", "level"]))), 128))
423
- ])) : x("", !0)
422
+ ])) : I("", !0)
424
423
  ], 64);
425
424
  };
426
425
  }
427
- }), Qt = { class: "h-full" }, zt = {
426
+ }), Kt = { class: "h-full" }, jt = {
428
427
  key: 0,
429
428
  class: ""
430
- }, Ge = /* @__PURE__ */ N({
429
+ }, We = /* @__PURE__ */ E({
431
430
  __name: "AsideSubMenus",
432
431
  props: {
433
432
  menus: {
@@ -439,139 +438,139 @@ const Kt = { class: "menu-item-icon" }, Jt = ["innerHTML"], Ot = /* @__PURE__ */
439
438
  const e = a;
440
439
  return (t, n) => {
441
440
  var s;
442
- return lt((r(), v("div", Qt, [
443
- (s = e.menus) != null && s.length ? (r(), v("div", zt, [
444
- (r(!0), v(J, null, Q(e.menus.filter((o) => {
445
- var l;
446
- return ((l = o.meta) == null ? void 0 : l.visible) != "0";
447
- }), (o, l) => (r(), k(Ht, {
448
- key: l,
441
+ return st((l(), g("div", Kt, [
442
+ (s = e.menus) != null && s.length ? (l(), g("div", jt, [
443
+ (l(!0), g(O, null, K(e.menus.filter((o) => {
444
+ var r;
445
+ return ((r = o.meta) == null ? void 0 : r.visible) != "0";
446
+ }), (o, r) => (l(), T(zt, {
447
+ key: r,
449
448
  menu: o
450
449
  }, null, 8, ["menu"]))), 128))
451
- ])) : x("", !0)
450
+ ])) : I("", !0)
452
451
  ], 512)), [
453
- [it, e.menus.length]
452
+ [rt, e.menus.length]
454
453
  ]);
455
454
  };
456
455
  }
457
- }), Zt = {
456
+ }), Ht = {
458
457
  key: 0,
459
458
  class: "aside-bar__mobile-head flex justify-between items-center pt-4 pb-4 px-4"
460
- }, jt = { class: "p-3" }, qt = /* @__PURE__ */ N({
459
+ }, Gt = { class: "p-3" }, Jt = /* @__PURE__ */ E({
461
460
  __name: "AsideBar",
462
461
  setup(a) {
463
462
  const { menus: e, isMobile: t, sideOpen: n } = te(), s = () => void (n.value = !n.value);
464
- return (o, l) => {
465
- const c = M("el-icon"), u = M("el-scrollbar");
466
- return h(e).length && !o.$route.meta.hideSidebar ? (r(), v("div", {
463
+ return (o, r) => {
464
+ const c = L("el-icon"), p = L("el-scrollbar");
465
+ return f(e).length && !o.$route.meta.hideSidebar ? (l(), g("div", {
467
466
  key: 0,
468
- class: H(["aside-bar flex flex-col h-full min-h-0 w-64 min-width-50", [
469
- h(t) ? "fixed top-0 left-0 z-200 transition-all" : "",
470
- h(n) ? "translate-x-[0px]" : "translate-x-[-100%]"
467
+ class: z(["aside-bar flex flex-col h-full min-h-0 w-64 min-width-50", [
468
+ f(t) ? "fixed top-0 left-0 z-200 transition-all" : "",
469
+ f(n) ? "translate-x-[0px]" : "translate-x-[-100%]"
471
470
  ]])
472
471
  }, [
473
- h(t) ? (r(), v("div", Zt, [
474
- p("div", {
472
+ f(t) ? (l(), g("div", Ht, [
473
+ d("div", {
475
474
  class: "aside-bar__close text-lg cursor-pointer p-2 leading-4",
476
475
  onClick: s
477
476
  }, [
478
- _(c, null, {
479
- default: S(() => [
480
- _(h(Re))
477
+ b(c, null, {
478
+ default: P(() => [
479
+ b(f(De))
481
480
  ]),
482
481
  _: 1
483
482
  })
484
483
  ])
485
- ])) : x("", !0),
486
- _(u, { ref: "leftScrollRef" }, {
487
- default: S(() => [
488
- p("div", jt, [
489
- _(Ge, { menus: h(e) }, null, 8, ["menus"])
484
+ ])) : I("", !0),
485
+ b(p, { ref: "leftScrollRef" }, {
486
+ default: P(() => [
487
+ d("div", Gt, [
488
+ b(We, { menus: f(e) }, null, 8, ["menus"])
490
489
  ])
491
490
  ]),
492
491
  _: 1
493
492
  }, 512),
494
- Z(o.$slots, "sidebar-foot", {}, void 0, !0)
495
- ], 2)) : x("", !0);
493
+ G(o.$slots, "sidebar-foot", {}, void 0, !0)
494
+ ], 2)) : I("", !0);
496
495
  };
497
496
  }
498
- }), Yt = /* @__PURE__ */ B(qt, [["__scopeId", "data-v-ff960d0f"]]);
499
- function Ve() {
500
- const a = R(), e = C(() => a.value.appList || []);
497
+ }), Vt = /* @__PURE__ */ R(Jt, [["__scopeId", "data-v-ff960d0f"]]);
498
+ function qe() {
499
+ const a = U(), e = S(() => a.value.appList || []);
501
500
  return {
502
501
  appList: e,
503
502
  getAppPath: (s) => (s == null ? void 0 : s.path) || "",
504
503
  findAppById: (s) => {
505
504
  if (s)
506
- return $e(e.value, s);
505
+ return Qe(e.value, s);
507
506
  }
508
507
  };
509
508
  }
510
- const $e = (a, e) => a.reduce(
511
- (t, n) => t || (n.appId === e ? n : $e(n.children || [], e)),
509
+ const Qe = (a, e) => a.reduce(
510
+ (t, n) => t || (n.appId === e ? n : Qe(n.children || [], e)),
512
511
  void 0
513
- ), Wt = {
512
+ ), Zt = {
514
513
  key: 0,
515
514
  class: "app-select"
516
- }, Xt = ["href"], Gt = {
515
+ }, Yt = ["href"], Wt = {
517
516
  key: 0,
518
517
  class: "app-select__dropdown"
519
- }, Vt = ["href"], $t = { class: "app-select__dropdown-icon text-xl" }, en = { class: "app-select__dropdown-desc" }, tn = /* @__PURE__ */ N({
518
+ }, qt = ["href"], Qt = { class: "app-select__dropdown-icon text-xl" }, Xt = { class: "app-select__dropdown-desc" }, en = /* @__PURE__ */ E({
520
519
  __name: "AppSelect",
521
520
  setup(a) {
522
- const e = R(), t = C(() => e.value.currentAppId || ""), { appList: n, getAppPath: s } = Ve(), o = (l) => {
521
+ const e = U(), t = S(() => e.value.currentAppId || ""), { appList: n, getAppPath: s } = qe(), o = (r) => {
523
522
  var c;
524
- return t.value === l.appId || !!((c = l.children) != null && c.some((u) => u.appId === t.value));
523
+ return t.value === r.appId || !!((c = r.children) != null && c.some((p) => p.appId === t.value));
525
524
  };
526
- return (l, c) => {
525
+ return (r, c) => {
527
526
  var m;
528
- const u = M("el-icon");
529
- return (m = h(n)) != null && m.length ? (r(), v("div", Wt, [
530
- (r(!0), v(J, null, Q(h(n), (i) => {
531
- var y, g;
532
- return r(), v("div", {
527
+ const p = L("el-icon");
528
+ return (m = f(n)) != null && m.length ? (l(), g("div", Zt, [
529
+ (l(!0), g(O, null, K(f(n), (i) => {
530
+ var h, v;
531
+ return l(), g("div", {
533
532
  key: i.appId,
534
533
  class: "app-select__group"
535
534
  }, [
536
- p("a", {
537
- class: H(["app-select__link", {
535
+ d("a", {
536
+ class: z(["app-select__link", {
538
537
  "app-select__link--active": o(i)
539
538
  }]),
540
- href: h(s)(i) || void 0
539
+ href: f(s)(i) || void 0
541
540
  }, [
542
- p("span", null, E(i.name), 1),
543
- (y = i.children) != null && y.length ? (r(), k(u, { key: 0 }, {
544
- default: S(() => [
545
- _(h(Ae))
541
+ d("span", null, M(i.name), 1),
542
+ (h = i.children) != null && h.length ? (l(), T(p, { key: 0 }, {
543
+ default: P(() => [
544
+ b(f(be))
546
545
  ]),
547
546
  _: 1
548
- })) : x("", !0)
549
- ], 10, Xt),
550
- (g = i.children) != null && g.length ? (r(), v("div", Gt, [
551
- (r(!0), v(J, null, Q(i.children, (f) => (r(), v("a", {
552
- key: f.appId,
553
- class: H(["app-select__dropdown-item", {
554
- "app-select__dropdown-item--active": o(f)
547
+ })) : I("", !0)
548
+ ], 10, Yt),
549
+ (v = i.children) != null && v.length ? (l(), g("div", Wt, [
550
+ (l(!0), g(O, null, K(i.children, (_) => (l(), g("a", {
551
+ key: _.appId,
552
+ class: z(["app-select__dropdown-item", {
553
+ "app-select__dropdown-item--active": o(_)
555
554
  }]),
556
- href: h(s)(f) || void 0
555
+ href: f(s)(_) || void 0
557
556
  }, [
558
- p("span", $t, [
559
- p("i", {
560
- class: H(f.icon || "metisicon-moxingku")
557
+ d("span", Qt, [
558
+ d("i", {
559
+ class: z(_.icon || "metisicon-moxingku")
561
560
  }, null, 2)
562
561
  ]),
563
- p("div", null, [
564
- p("div", null, E(f.name), 1),
565
- p("div", en, E(f.desc), 1)
562
+ d("div", null, [
563
+ d("div", null, M(_.name), 1),
564
+ d("div", Xt, M(_.desc), 1)
566
565
  ])
567
- ], 10, Vt))), 128))
568
- ])) : x("", !0)
566
+ ], 10, qt))), 128))
567
+ ])) : I("", !0)
569
568
  ]);
570
569
  }), 128))
571
- ])) : x("", !0);
570
+ ])) : I("", !0);
572
571
  };
573
572
  }
574
- }), nn = /* @__PURE__ */ B(tn, [["__scopeId", "data-v-ee0588ee"]]), an = /* @__PURE__ */ N({
573
+ }), tn = /* @__PURE__ */ R(en, [["__scopeId", "data-v-ee0588ee"]]), nn = /* @__PURE__ */ E({
575
574
  __name: "NavIconBtn",
576
575
  props: {
577
576
  tag: { default: "button" },
@@ -579,29 +578,29 @@ const $e = (a, e) => a.reduce(
579
578
  iconOnly: { type: Boolean, default: !0 }
580
579
  },
581
580
  setup(a) {
582
- return (e, t) => (r(), k(be(a.tag), {
581
+ return (e, t) => (l(), T(ye(a.tag), {
583
582
  type: a.tag === "button" ? a.type : void 0,
584
- class: H(["nav-icon-btn", { "nav-icon-btn--icon-only": a.iconOnly }])
583
+ class: z(["nav-icon-btn", { "nav-icon-btn--icon-only": a.iconOnly }])
585
584
  }, {
586
- default: S(() => [
587
- Z(e.$slots, "default", {}, void 0, !0)
585
+ default: P(() => [
586
+ G(e.$slots, "default", {}, void 0, !0)
588
587
  ]),
589
588
  _: 3
590
589
  }, 8, ["type", "class"]));
591
590
  }
592
- }), G = /* @__PURE__ */ B(an, [["__scopeId", "data-v-824bbddc"]]), on = /* @__PURE__ */ N({
591
+ }), q = /* @__PURE__ */ R(nn, [["__scopeId", "data-v-824bbddc"]]), an = /* @__PURE__ */ E({
593
592
  __name: "ThemeToggle",
594
593
  setup(a) {
595
- const e = R(), { theme: t, isDark: n, toggleTheme: s } = je();
596
- return Ue(() => {
594
+ const e = U(), { theme: t, isDark: n, toggleTheme: s } = Ge();
595
+ return lt(() => {
597
596
  e.value.theme = t.value;
598
- }), (o, l) => {
599
- const c = M("el-icon");
600
- return r(), k(G, { onClick: h(s) }, {
601
- default: S(() => [
602
- _(c, null, {
603
- default: S(() => [
604
- h(n) ? (r(), k(h(ut), { key: 1 })) : (r(), k(h(ct), { key: 0 }))
597
+ }), (o, r) => {
598
+ const c = L("el-icon");
599
+ return l(), T(q, { onClick: f(s) }, {
600
+ default: P(() => [
601
+ b(c, null, {
602
+ default: P(() => [
603
+ f(n) ? (l(), T(f(ct), { key: 1 })) : (l(), T(f(it), { key: 0 }))
605
604
  ]),
606
605
  _: 1
607
606
  })
@@ -610,7 +609,7 @@ const $e = (a, e) => a.reduce(
610
609
  }, 8, ["onClick"]);
611
610
  };
612
611
  }
613
- }), et = /* @__PURE__ */ B(on, [["__scopeId", "data-v-e6ea60b7"]]), sn = {
612
+ }), Xe = /* @__PURE__ */ R(an, [["__scopeId", "data-v-e6ea60b7"]]), on = {
614
613
  label: {
615
614
  clickToChangeImage: "Click to change image"
616
615
  },
@@ -618,7 +617,7 @@ const $e = (a, e) => a.reduce(
618
617
  uploadIng: "Uploading...",
619
618
  agreementTip1: "Terms of Service and Privacy Policy"
620
619
  }
621
- }, rn = {
620
+ }, sn = {
622
621
  label: {
623
622
  agreement: "I agree to",
624
623
  and: "and",
@@ -823,7 +822,7 @@ const $e = (a, e) => a.reduce(
823
822
  loginHeroTitle: "Enterprise AI Platform for Model Services & Compute",
824
823
  loginHeroDesc: "Unified API access to multi-model routing, compute orchestration, and AI service operations, built for enterprise."
825
824
  }
826
- }, ln = {
825
+ }, rn = {
827
826
  btn: {
828
827
  agree: "Agree",
829
828
  disagree: "Disagree",
@@ -861,7 +860,7 @@ const $e = (a, e) => a.reduce(
861
860
  },
862
861
  pleaseSelect: "Please select {0}",
863
862
  seeMore: "See More"
864
- }, cn = {
863
+ }, ln = {
865
864
  notFound: {
866
865
  title: "Coming Soon!",
867
866
  description: "This page is under development. Please refresh the page or click the button below to return to the homepage.",
@@ -896,7 +895,7 @@ const $e = (a, e) => a.reduce(
896
895
  folder: "folder",
897
896
  file: "file"
898
897
  }
899
- }, un = {
898
+ }, cn = {
900
899
  label: {
901
900
  languageModel: "Language Model"
902
901
  },
@@ -1045,7 +1044,7 @@ const $e = (a, e) => a.reduce(
1045
1044
  CNY: "Chinese Yuan",
1046
1045
  USD: "US Dollar"
1047
1046
  }
1048
- }, dn = {
1047
+ }, un = {
1049
1048
  label: {},
1050
1049
  btn: {
1051
1050
  search: "Search",
@@ -1054,7 +1053,7 @@ const $e = (a, e) => a.reduce(
1054
1053
  expand: "Expand"
1055
1054
  },
1056
1055
  msg: {}
1057
- }, pn = {
1056
+ }, dn = {
1058
1057
  label: {
1059
1058
  otherConfig: "Other Settings"
1060
1059
  },
@@ -1069,7 +1068,7 @@ const $e = (a, e) => a.reduce(
1069
1068
  StaticPrefixInput: {
1070
1069
  notEmpty: "Cannot be empty"
1071
1070
  }
1072
- }, mn = {
1071
+ }, pn = {
1073
1072
  label: {},
1074
1073
  btn: {},
1075
1074
  msg: {
@@ -1085,17 +1084,17 @@ const $e = (a, e) => a.reduce(
1085
1084
  charError: "Passwords must contain letters, numbers, and special symbols",
1086
1085
  charTypeError: "The password must contain at least three types: uppercase letters, lowercase letters, numbers, and special symbols"
1087
1086
  }
1088
- }, hn = {
1087
+ }, mn = {
1089
1088
  name: "English",
1090
- common: ln,
1091
- account: sn,
1092
- admin: rn,
1093
- components: cn,
1094
- constant: un,
1095
- filterBox: dn,
1096
- password: mn,
1097
- instanceForm: pn
1098
- }, gn = {
1089
+ common: rn,
1090
+ account: on,
1091
+ admin: sn,
1092
+ components: ln,
1093
+ constant: cn,
1094
+ filterBox: un,
1095
+ password: pn,
1096
+ instanceForm: dn
1097
+ }, hn = {
1099
1098
  label: {
1100
1099
  clickToChangeImage: "点击更换图像"
1101
1100
  },
@@ -1306,7 +1305,7 @@ const $e = (a, e) => a.reduce(
1306
1305
  loginHeroTitle: "泛 AI 聚合与分发服务",
1307
1306
  loginHeroDesc: "通过 API 调度,实现模型调用、AI 应用构建、数据与工具服务的在线分发与使用。"
1308
1307
  }
1309
- }, vn = {
1308
+ }, gn = {
1310
1309
  btn: {
1311
1310
  agree: "同意",
1312
1311
  disagree: "不同意",
@@ -1344,7 +1343,7 @@ const $e = (a, e) => a.reduce(
1344
1343
  },
1345
1344
  pleaseSelect: "请选择{0}",
1346
1345
  seeMore: "查看更多"
1347
- }, yn = {
1346
+ }, _n = {
1348
1347
  notFound: {
1349
1348
  title: "开发中,敬请期待!",
1350
1349
  description: "页面开发中,请刷新页面,或者点击下面的按钮返回主页.",
@@ -1379,7 +1378,7 @@ const $e = (a, e) => a.reduce(
1379
1378
  folder: "文件夹",
1380
1379
  file: "文件"
1381
1380
  }
1382
- }, bn = {
1381
+ }, vn = {
1383
1382
  label: {
1384
1383
  languageModel: "语言模型"
1385
1384
  },
@@ -1528,7 +1527,7 @@ const $e = (a, e) => a.reduce(
1528
1527
  CNY: "人民币",
1529
1528
  USD: "美元"
1530
1529
  }
1531
- }, An = {
1530
+ }, yn = {
1532
1531
  label: {},
1533
1532
  btn: {
1534
1533
  search: "搜索",
@@ -1537,7 +1536,7 @@ const $e = (a, e) => a.reduce(
1537
1536
  expand: "展开"
1538
1537
  },
1539
1538
  msg: {}
1540
- }, _n = {
1539
+ }, bn = {
1541
1540
  label: {
1542
1541
  otherConfig: "其他配置"
1543
1542
  },
@@ -1552,7 +1551,7 @@ const $e = (a, e) => a.reduce(
1552
1551
  StaticPrefixInput: {
1553
1552
  notEmpty: "不能为空"
1554
1553
  }
1555
- }, Cn = {
1554
+ }, wn = {
1556
1555
  label: {},
1557
1556
  btn: {},
1558
1557
  msg: {
@@ -1568,51 +1567,51 @@ const $e = (a, e) => a.reduce(
1568
1567
  charError: "密码必须包含字母、数字、特殊符号",
1569
1568
  charTypeError: "密码必须包含至少以下三种(大写字母、小写字母、数字、特殊符号)"
1570
1569
  }
1571
- }, Sn = {
1570
+ }, Pn = {
1572
1571
  name: "中文简体",
1573
- common: vn,
1574
- account: gn,
1572
+ common: gn,
1573
+ account: hn,
1575
1574
  admin: fn,
1576
- components: yn,
1577
- constant: bn,
1578
- filterBox: An,
1579
- password: Cn,
1580
- instanceForm: _n
1575
+ components: _n,
1576
+ constant: vn,
1577
+ filterBox: yn,
1578
+ password: wn,
1579
+ instanceForm: bn
1581
1580
  }, se = {
1582
- "en-US": hn,
1583
- "zh-CN": Sn
1584
- }, ie = gt({
1581
+ "en-US": mn,
1582
+ "zh-CN": Pn
1583
+ }, ce = ht({
1585
1584
  locale: Fe(),
1586
1585
  fallbackLocale: "en-US",
1587
1586
  messages: se,
1588
1587
  legacy: !1
1589
- }), wn = {
1588
+ }), Sn = {
1590
1589
  key: 0,
1591
1590
  class: "language-select__current"
1592
- }, Pn = { class: "language-select__panel" }, Tn = ["onClick"], kn = /* @__PURE__ */ N({
1591
+ }, An = { class: "language-select__panel" }, Cn = ["onClick"], Tn = /* @__PURE__ */ E({
1593
1592
  __name: "LanguageSelect",
1594
1593
  props: {
1595
1594
  showLabel: { type: Boolean, default: !1 }
1596
1595
  },
1597
1596
  setup(a) {
1598
- const { locale: e } = ie.global, t = C(
1597
+ const { locale: e } = ce.global, t = S(
1599
1598
  () => se[e.value].name
1600
1599
  ), n = Object.keys(se).map((o) => ({
1601
1600
  label: se[o].name,
1602
1601
  value: o
1603
1602
  })), s = (o) => {
1604
- X.set("locale", o), location.reload();
1603
+ W.set("locale", o), location.reload();
1605
1604
  };
1606
- return (o, l) => {
1607
- const c = M("el-icon"), u = M("el-popover");
1608
- return r(), k(u, {
1605
+ return (o, r) => {
1606
+ const c = L("el-icon"), p = L("el-popover");
1607
+ return l(), T(p, {
1609
1608
  placement: "bottom",
1610
1609
  width: 180,
1611
1610
  trigger: "hover",
1612
1611
  "popper-class": "top-language-popover"
1613
1612
  }, {
1614
- reference: S(() => [
1615
- _(G, {
1613
+ reference: P(() => [
1614
+ b(q, {
1616
1615
  "langselect-toggle": "",
1617
1616
  tag: "div",
1618
1617
  class: "language-select",
@@ -1620,11 +1619,11 @@ const $e = (a, e) => a.reduce(
1620
1619
  title: t.value,
1621
1620
  "aria-label": t.value
1622
1621
  }, {
1623
- default: S(() => [
1624
- Z(o.$slots, "prefix", {}, void 0, !0),
1625
- _(c, null, {
1626
- default: S(() => [...l[0] || (l[0] = [
1627
- p("svg", {
1622
+ default: P(() => [
1623
+ G(o.$slots, "prefix", {}, void 0, !0),
1624
+ b(c, null, {
1625
+ default: P(() => [...r[0] || (r[0] = [
1626
+ d("svg", {
1628
1627
  xmlns: "http://www.w3.org/2000/svg",
1629
1628
  width: "24",
1630
1629
  height: "24",
@@ -1638,80 +1637,80 @@ const $e = (a, e) => a.reduce(
1638
1637
  "aria-hidden": "true",
1639
1638
  class: "lucide lucide-globe"
1640
1639
  }, [
1641
- p("circle", {
1640
+ d("circle", {
1642
1641
  cx: "12",
1643
1642
  cy: "12",
1644
1643
  r: "10"
1645
1644
  }),
1646
- p("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
1647
- p("path", { d: "M2 12h20" })
1645
+ d("path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" }),
1646
+ d("path", { d: "M2 12h20" })
1648
1647
  ], -1)
1649
1648
  ])]),
1650
1649
  _: 1
1651
1650
  }),
1652
- a.showLabel ? (r(), v("span", wn, E(t.value), 1)) : x("", !0),
1653
- a.showLabel ? (r(), k(c, {
1651
+ a.showLabel ? (l(), g("span", Sn, M(t.value), 1)) : I("", !0),
1652
+ a.showLabel ? (l(), T(c, {
1654
1653
  key: 1,
1655
1654
  class: "language-select__caret"
1656
1655
  }, {
1657
- default: S(() => [
1658
- _(h(Ae))
1656
+ default: P(() => [
1657
+ b(f(be))
1659
1658
  ]),
1660
1659
  _: 1
1661
- })) : x("", !0)
1660
+ })) : I("", !0)
1662
1661
  ]),
1663
1662
  _: 3
1664
1663
  }, 8, ["icon-only", "title", "aria-label"])
1665
1664
  ]),
1666
- default: S(() => [
1667
- p("div", Pn, [
1668
- (r(!0), v(J, null, Q(h(n), (m) => (r(), v("div", {
1665
+ default: P(() => [
1666
+ d("div", An, [
1667
+ (l(!0), g(O, null, K(f(n), (m) => (l(), g("div", {
1669
1668
  key: m.value,
1670
- class: H(["language-select__option", { "language-select__option--active": m.value === h(e) }]),
1669
+ class: z(["language-select__option", { "language-select__option--active": m.value === f(e) }]),
1671
1670
  onClick: (i) => s(m.value)
1672
- }, E(m.label), 11, Tn))), 128))
1671
+ }, M(m.label), 11, Cn))), 128))
1673
1672
  ])
1674
1673
  ]),
1675
1674
  _: 3
1676
1675
  });
1677
1676
  };
1678
1677
  }
1679
- }), tt = /* @__PURE__ */ B(kn, [["__scopeId", "data-v-48306ad1"]]), In = { class: "mobile-user-popover" }, Ln = ["href"], xn = /* @__PURE__ */ N({
1678
+ }), et = /* @__PURE__ */ R(Tn, [["__scopeId", "data-v-48306ad1"]]), kn = { class: "mobile-user-popover" }, In = ["href"], xn = /* @__PURE__ */ E({
1680
1679
  __name: "AsideUserMobilePopover",
1681
1680
  setup(a) {
1682
- const { t: e } = ie.global, t = R(), n = C(() => It(t.value)), s = () => {
1683
- var o, l;
1684
- Promise.resolve((l = (o = t.value).onLogout) == null ? void 0 : l.call(o)).finally(() => {
1685
- t.value.onLogout || le(t.value);
1681
+ const { t: e } = ce.global, t = U(), n = S(() => kt(t.value)), s = () => {
1682
+ var o, r;
1683
+ Promise.resolve((r = (o = t.value).onLogout) == null ? void 0 : r.call(o)).finally(() => {
1684
+ t.value.onLogout || ie(t.value);
1686
1685
  });
1687
1686
  };
1688
- return (o, l) => {
1689
- const c = M("el-popover");
1690
- return r(), k(c, {
1687
+ return (o, r) => {
1688
+ const c = L("el-popover");
1689
+ return l(), T(c, {
1691
1690
  width: 220,
1692
1691
  trigger: "click",
1693
1692
  "popper-class": "top-userinfo-popover"
1694
1693
  }, {
1695
- reference: S(() => [
1696
- Z(o.$slots, "reference", {}, void 0, !0)
1694
+ reference: P(() => [
1695
+ G(o.$slots, "reference", {}, void 0, !0)
1697
1696
  ]),
1698
- default: S(() => [
1699
- p("div", In, [
1700
- p("a", {
1697
+ default: P(() => [
1698
+ d("div", kn, [
1699
+ d("a", {
1701
1700
  href: n.value,
1702
1701
  class: "mobile-user-popover__item"
1703
1702
  }, [
1704
- l[0] || (l[0] = p("i", { class: "metisicon-yonghu1" }, null, -1)),
1705
- p("span", null, E(h(e)("admin.label.profile")), 1)
1706
- ], 8, Ln),
1707
- _(tt),
1708
- l[2] || (l[2] = p("div", { class: "mobile-user-popover__divider" }, null, -1)),
1709
- p("div", {
1703
+ r[0] || (r[0] = d("i", { class: "metisicon-yonghu1" }, null, -1)),
1704
+ d("span", null, M(f(e)("admin.label.profile")), 1)
1705
+ ], 8, In),
1706
+ b(et),
1707
+ r[2] || (r[2] = d("div", { class: "mobile-user-popover__divider" }, null, -1)),
1708
+ d("div", {
1710
1709
  class: "mobile-user-popover__item mobile-user-popover__item--danger",
1711
1710
  onClick: s
1712
1711
  }, [
1713
- l[1] || (l[1] = p("i", { class: "metisicon-exit-full" }, null, -1)),
1714
- p("span", null, E(h(e)("common.btn.logout")), 1)
1712
+ r[1] || (r[1] = d("i", { class: "metisicon-exit-full" }, null, -1)),
1713
+ d("span", null, M(f(e)("common.btn.logout")), 1)
1715
1714
  ])
1716
1715
  ])
1717
1716
  ]),
@@ -1719,134 +1718,134 @@ const $e = (a, e) => a.reduce(
1719
1718
  });
1720
1719
  };
1721
1720
  }
1722
- }), nt = /* @__PURE__ */ B(xn, [["__scopeId", "data-v-87e082b1"]]), En = { class: "header-right-mobile" }, Mn = /* @__PURE__ */ N({
1721
+ }), tt = /* @__PURE__ */ R(xn, [["__scopeId", "data-v-87e082b1"]]), Ln = { class: "header-right-mobile" }, $n = /* @__PURE__ */ E({
1723
1722
  __name: "HeaderRightMobile",
1724
1723
  setup(a) {
1725
- const e = R(), t = C(
1724
+ const e = U(), t = S(
1726
1725
  () => {
1727
1726
  var s, o;
1728
1727
  return !!((s = e.value.user) != null && s.id || (o = e.value.user) != null && o.userId);
1729
1728
  }
1730
1729
  ), n = () => {
1731
1730
  var s, o;
1732
- (o = (s = e.value).onLogin) != null && o.call(s) || le(e.value);
1731
+ (o = (s = e.value).onLogin) != null && o.call(s) || ie(e.value);
1733
1732
  };
1734
- return (s, o) => (r(), v("div", En, [
1735
- _(et),
1736
- t.value ? (r(), k(nt, { key: 0 }, {
1737
- reference: S(() => [
1738
- _(G, { class: "header-right-mobile__action" }, {
1739
- default: S(() => [...o[0] || (o[0] = [
1740
- p("i", { class: "metisicon-yonghu1" }, null, -1)
1733
+ return (s, o) => (l(), g("div", Ln, [
1734
+ b(Xe),
1735
+ t.value ? (l(), T(tt, { key: 0 }, {
1736
+ reference: P(() => [
1737
+ b(q, { class: "header-right-mobile__action" }, {
1738
+ default: P(() => [...o[0] || (o[0] = [
1739
+ d("i", { class: "metisicon-yonghu1" }, null, -1)
1741
1740
  ])]),
1742
1741
  _: 1
1743
1742
  })
1744
1743
  ]),
1745
1744
  _: 1
1746
- })) : (r(), k(G, {
1745
+ })) : (l(), T(q, {
1747
1746
  key: 1,
1748
1747
  class: "header-right-mobile__action",
1749
1748
  onClick: n
1750
1749
  }, {
1751
- default: S(() => [...o[1] || (o[1] = [
1752
- p("i", { class: "metisicon-yonghu1" }, null, -1)
1750
+ default: P(() => [...o[1] || (o[1] = [
1751
+ d("i", { class: "metisicon-yonghu1" }, null, -1)
1753
1752
  ])]),
1754
1753
  _: 1
1755
1754
  }))
1756
1755
  ]));
1757
1756
  }
1758
- }), Dn = /* @__PURE__ */ B(Mn, [["__scopeId", "data-v-48792b0a"]]), Nn = ["aria-label", "aria-expanded"], Bn = { class: "mobile-menu-toggle__icon" }, Un = /* @__PURE__ */ N({
1757
+ }), Mn = /* @__PURE__ */ R($n, [["__scopeId", "data-v-48792b0a"]]), En = ["aria-label", "aria-expanded"], Nn = { class: "mobile-menu-toggle__icon" }, Rn = /* @__PURE__ */ E({
1759
1758
  __name: "MobileMenuToggle",
1760
1759
  setup(a) {
1761
1760
  const { sideOpen: e } = te(), t = () => {
1762
1761
  e.value = !e.value;
1763
1762
  };
1764
1763
  return (n, s) => {
1765
- const o = M("el-icon");
1766
- return r(), v("button", {
1764
+ const o = L("el-icon");
1765
+ return l(), g("button", {
1767
1766
  type: "button",
1768
1767
  class: "mobile-menu-toggle",
1769
- "aria-label": h(e) ? "Close menu" : "Open menu",
1770
- "aria-expanded": h(e),
1768
+ "aria-label": f(e) ? "Close menu" : "Open menu",
1769
+ "aria-expanded": f(e),
1771
1770
  onClick: t
1772
1771
  }, [
1773
- p("div", Bn, [
1774
- _(o, null, {
1775
- default: S(() => [
1776
- _(h(dt))
1772
+ d("div", Nn, [
1773
+ b(o, null, {
1774
+ default: P(() => [
1775
+ b(f(ut))
1777
1776
  ]),
1778
1777
  _: 1
1779
1778
  })
1780
1779
  ])
1781
- ], 8, Nn);
1780
+ ], 8, En);
1782
1781
  };
1783
1782
  }
1784
- }), Rn = /* @__PURE__ */ B(Un, [["__scopeId", "data-v-b1a4f38a"]]), Kn = {
1783
+ }), Dn = /* @__PURE__ */ R(Rn, [["__scopeId", "data-v-b1a4f38a"]]), Un = {
1785
1784
  key: 0,
1786
1785
  class: "user-avatar__fallback"
1787
- }, Jn = /* @__PURE__ */ N({
1786
+ }, On = /* @__PURE__ */ E({
1788
1787
  __name: "UserAvatar",
1789
1788
  props: {
1790
1789
  src: { default: "" },
1791
1790
  name: { default: "" }
1792
1791
  },
1793
1792
  setup(a) {
1794
- const e = a, t = U(!1), n = C(() => e.name.trim()), s = C(
1793
+ const e = a, t = D(!1), n = S(() => e.name.trim()), s = S(
1795
1794
  () => n.value.charAt(0).toUpperCase() || "U"
1796
- ), o = C(() => n.value || "User avatar"), l = C(() => e.src.trim()), c = C(
1797
- () => !l.value || t.value
1798
- ), u = C(
1795
+ ), o = S(() => n.value || "User avatar"), r = S(() => e.src.trim()), c = S(
1796
+ () => !r.value || t.value
1797
+ ), p = S(
1799
1798
  () => c.value && !!n.value
1800
- ), m = C(
1799
+ ), m = S(
1801
1800
  () => c.value && !n.value
1802
- ), i = C(
1803
- () => l.value && !t.value ? l.value : void 0
1801
+ ), i = S(
1802
+ () => r.value && !t.value ? r.value : void 0
1804
1803
  );
1805
- ye(
1804
+ re(
1806
1805
  () => e.src,
1807
1806
  () => {
1808
1807
  t.value = !1;
1809
1808
  }
1810
1809
  );
1811
- const y = () => {
1810
+ const h = () => {
1812
1811
  t.value = !0;
1813
1812
  };
1814
- return (g, f) => {
1815
- const A = M("el-icon"), P = M("el-avatar");
1816
- return r(), k(P, Be(g.$attrs, {
1813
+ return (v, _) => {
1814
+ const w = L("el-icon"), k = L("el-avatar");
1815
+ return l(), T(k, Re(v.$attrs, {
1817
1816
  src: i.value,
1818
1817
  "data-src": i.value,
1819
1818
  alt: o.value,
1820
1819
  class: ["user-avatar", { "user-avatar--fallback": c.value }],
1821
- onError: y
1820
+ onError: h
1822
1821
  }), {
1823
- default: S(() => [
1824
- u.value ? (r(), v("span", Kn, E(s.value), 1)) : m.value ? (r(), k(A, {
1822
+ default: P(() => [
1823
+ p.value ? (l(), g("span", Un, M(s.value), 1)) : m.value ? (l(), T(w, {
1825
1824
  key: 1,
1826
1825
  class: "user-avatar__icon",
1827
1826
  "aria-hidden": "true"
1828
1827
  }, {
1829
- default: S(() => [
1830
- _(h(pt))
1828
+ default: P(() => [
1829
+ b(f(dt))
1831
1830
  ]),
1832
1831
  _: 1
1833
- })) : x("", !0)
1832
+ })) : I("", !0)
1834
1833
  ]),
1835
1834
  _: 1
1836
1835
  }, 16, ["src", "data-src", "alt", "class"]);
1837
1836
  };
1838
1837
  }
1839
- }), Me = /* @__PURE__ */ B(Jn, [["__scopeId", "data-v-50be58a7"]]), On = {
1838
+ }), Me = /* @__PURE__ */ R(On, [["__scopeId", "data-v-50be58a7"]]), Bn = {
1840
1839
  key: 0,
1841
1840
  class: "layout-breadcrumb text-xs",
1842
1841
  "aria-label": "Breadcrumb"
1843
- }, Fn = ["aria-label", "title"], Hn = {
1842
+ }, Fn = ["aria-label", "title"], zn = {
1844
1843
  key: 1,
1845
1844
  class: "flex min-w-0 items-center gap-1"
1846
- }, Qn = ["href"], zn = ["onClick"], Zn = {
1845
+ }, Kn = ["href"], jn = ["onClick"], Hn = {
1847
1846
  key: 3,
1848
1847
  class: "layout-breadcrumb__current"
1849
- }, jn = /* @__PURE__ */ N({
1848
+ }, Gn = /* @__PURE__ */ E({
1850
1849
  __name: "LayoutBreadcrumb",
1851
1850
  props: {
1852
1851
  items: { default: void 0 },
@@ -1859,324 +1858,324 @@ const $e = (a, e) => a.reduce(
1859
1858
  backLabel: { default: "返回" }
1860
1859
  },
1861
1860
  setup(a) {
1862
- const e = a, t = ge(), n = Ke(), s = R(), o = C(() => {
1863
- var Se, we, Pe, Te, ke;
1861
+ const e = a, t = ge(), n = Ue(), s = U(), o = S(() => {
1862
+ var Se, Ae, Ce, Te, ke;
1864
1863
  if ((Se = e.items) != null && Se.length)
1865
- return e.items.filter((W) => W.title);
1866
- const d = A(t.path), b = A(
1867
- ((we = t.meta) == null ? void 0 : we.parent) || ((Pe = t.meta) == null ? void 0 : Pe.parentPath) || t.path
1868
- ), w = l(), T = (Te = s.value.currentEndRoute) == null ? void 0 : Te.paths, D = c(T || []);
1869
- let F = D.length ? D : y(w, b);
1870
- const de = A(
1864
+ return e.items.filter((Y) => Y.title);
1865
+ const u = w(t.path), y = w(
1866
+ ((Ae = t.meta) == null ? void 0 : Ae.parent) || ((Ce = t.meta) == null ? void 0 : Ce.parentPath) || t.path
1867
+ ), A = r(), C = (Te = s.value.currentEndRoute) == null ? void 0 : Te.paths, $ = c(C || []);
1868
+ let F = $.length ? $ : h(A, y);
1869
+ const pe = w(
1871
1870
  e.parentPath || ((ke = t.meta) == null ? void 0 : ke.parentPath) || ""
1872
1871
  );
1873
- if (!F.length && de && (F = y(w, de)), !F.length) {
1874
- const W = de || g(d, w);
1875
- F = W ? y(w, W) : [];
1872
+ if (!F.length && pe && (F = h(A, pe)), !F.length) {
1873
+ const Y = pe || v(u, A);
1874
+ F = Y ? h(A, Y) : [];
1876
1875
  }
1877
- const q = F.map(u).filter((W) => W.title), z = q[q.length - 1], Y = i();
1878
- return e.showCurrent && Y && P(z == null ? void 0 : z.path) !== P(d) ? q.push({
1879
- title: Y,
1880
- path: d,
1876
+ const V = F.map(p).filter((Y) => Y.title), H = V[V.length - 1], Z = i();
1877
+ return e.showCurrent && Z && k(H == null ? void 0 : H.path) !== k(u) ? V.push({
1878
+ title: Z,
1879
+ path: u,
1881
1880
  disabled: !0
1882
- }) : Y && z && P(z.path) === P(d) && (z.title = Y, z.disabled = !0), !q.length && Y && q.push({
1883
- title: Y,
1884
- path: d,
1881
+ }) : Z && H && k(H.path) === k(u) && (H.title = Z, H.disabled = !0), !V.length && Z && V.push({
1882
+ title: Z,
1883
+ path: u,
1885
1884
  disabled: !0
1886
- }), q;
1887
- }), l = () => {
1888
- const d = [], b = /* @__PURE__ */ new Set();
1889
- return (s.value.menus || []).forEach((w) => {
1890
- var D;
1891
- const T = w.path || w.name || JSON.stringify(((D = w.meta) == null ? void 0 : D.translations) || {});
1892
- !T || b.has(T) || (b.add(T), d.push(w));
1893
- }), d;
1894
- }, c = (d) => d.filter((b) => {
1895
- var w;
1896
- return b && ((w = b.meta) == null ? void 0 : w.visible) !== "0";
1897
- }), u = (d) => {
1898
- var b;
1885
+ }), V;
1886
+ }), r = () => {
1887
+ const u = [], y = /* @__PURE__ */ new Set();
1888
+ return (s.value.menus || []).forEach((A) => {
1889
+ var $;
1890
+ const C = A.path || A.name || JSON.stringify((($ = A.meta) == null ? void 0 : $.translations) || {});
1891
+ !C || y.has(C) || (y.add(C), u.push(A));
1892
+ }), u;
1893
+ }, c = (u) => u.filter((y) => {
1894
+ var A;
1895
+ return y && ((A = y.meta) == null ? void 0 : A.visible) !== "0";
1896
+ }), p = (u) => {
1897
+ var y;
1899
1898
  return {
1900
- title: m(d),
1901
- path: d.path,
1902
- disabled: ((b = d.meta) == null ? void 0 : b.visible) === "0",
1903
- children: d.children
1899
+ title: m(u),
1900
+ path: u.path,
1901
+ disabled: ((y = u.meta) == null ? void 0 : y.visible) === "0",
1902
+ children: u.children
1904
1903
  };
1905
- }, m = (d) => {
1906
- var w;
1907
- return ((w = d == null ? void 0 : d.meta) != null && w.translations ? re($(d.meta.translations, "name", d.name)) : "") || (d == null ? void 0 : d.title) || (d == null ? void 0 : d.name) || "";
1904
+ }, m = (u) => {
1905
+ var A;
1906
+ return ((A = u == null ? void 0 : u.meta) != null && A.translations ? le(X(u.meta.translations, "name", u.name)) : "") || (u == null ? void 0 : u.title) || (u == null ? void 0 : u.name) || "";
1908
1907
  }, i = () => {
1909
- var d;
1910
- return e.currentTitle ? e.currentTitle : typeof ((d = t.meta) == null ? void 0 : d.title) == "string" ? t.meta.title : String(t.params.id || t.params.tenantId || "");
1911
- }, y = (d, b, w = []) => {
1912
- if (!b) return [];
1913
- for (const T of d) {
1914
- const D = [...w, T];
1915
- if (f(T.path, b))
1916
- return c(D);
1917
- const F = y(T.children || [], b, D);
1908
+ var u;
1909
+ return e.currentTitle ? e.currentTitle : typeof ((u = t.meta) == null ? void 0 : u.title) == "string" ? t.meta.title : String(t.params.id || t.params.tenantId || "");
1910
+ }, h = (u, y, A = []) => {
1911
+ if (!y) return [];
1912
+ for (const C of u) {
1913
+ const $ = [...A, C];
1914
+ if (_(C.path, y))
1915
+ return c($);
1916
+ const F = h(C.children || [], y, $);
1918
1917
  if (F.length) return F;
1919
1918
  }
1920
1919
  return [];
1921
- }, g = (d, b) => {
1922
- const w = d.split("/").filter(Boolean);
1923
- for (let T = w.length - 1; T > 0; T -= 1) {
1924
- const D = `/${w.slice(0, T).join("/")}`;
1925
- if (y(b, D).length) return D;
1920
+ }, v = (u, y) => {
1921
+ const A = u.split("/").filter(Boolean);
1922
+ for (let C = A.length - 1; C > 0; C -= 1) {
1923
+ const $ = `/${A.slice(0, C).join("/")}`;
1924
+ if (h(y, $).length) return $;
1926
1925
  }
1927
1926
  return "";
1928
- }, f = (d = "", b = "") => {
1929
- const w = P(d), T = P(b);
1930
- if (!w || !T) return !1;
1931
- if (w === T) return !0;
1932
- const D = w.replace(/\/:(\w+)/g, "/([^/]+)");
1933
- return new RegExp(`^${D}$`, "i").test(T);
1934
- }, A = (d = "") => d ? d.split("?")[0].split("#")[0] : "", P = (d = "") => (A(d).replace(/\/+$/, "") || "/").toLowerCase(), I = (d) => /^https?:\/\//.test(d.path || ""), K = (d) => {
1935
- var b;
1936
- return !!((b = d.children) != null && b.some((w) => !w.disabled));
1937
- }, L = (d, b) => d.disabled || b === o.value.length - 1 || !d.path ? !1 : I(d) || !K(d), O = (d) => {
1938
- const b = d.to || ue(d);
1939
- b && n.push(b);
1940
- }, j = () => {
1941
- var b;
1927
+ }, _ = (u = "", y = "") => {
1928
+ const A = k(u), C = k(y);
1929
+ if (!A || !C) return !1;
1930
+ if (A === C) return !0;
1931
+ const $ = A.replace(/\/:(\w+)/g, "/([^/]+)");
1932
+ return new RegExp(`^${$}$`, "i").test(C);
1933
+ }, w = (u = "") => u ? u.split("?")[0].split("#")[0] : "", k = (u = "") => (w(u).replace(/\/+$/, "") || "/").toLowerCase(), N = (u) => /^https?:\/\//.test(u.path || ""), j = (u) => {
1934
+ var y;
1935
+ return !!((y = u.children) != null && y.some((A) => !A.disabled));
1936
+ }, x = (u, y) => u.disabled || y === o.value.length - 1 || !u.path ? !1 : N(u) || !j(u), B = (u) => {
1937
+ const y = u.to || de(u);
1938
+ y && n.push(y);
1939
+ }, J = () => {
1940
+ var y;
1942
1941
  if (e.backTo) {
1943
1942
  n.push(e.backTo);
1944
1943
  return;
1945
1944
  }
1946
- if ((b = n.options.history.state) != null && b.back && window.history.length > 1) {
1945
+ if ((y = n.options.history.state) != null && y.back && window.history.length > 1) {
1947
1946
  n.back();
1948
1947
  return;
1949
1948
  }
1950
- const d = ce();
1951
- d && n.push(d);
1952
- }, ce = () => {
1953
- var w, T;
1954
- const d = e.parentPath || ((w = t.meta) == null ? void 0 : w.parentPath) || ((T = t.meta) == null ? void 0 : T.parent) || "";
1955
- if (d)
1956
- return ue({ path: d });
1957
- const b = o.value[o.value.length - 2];
1958
- if (b != null && b.to) return b.to;
1959
- if (b != null && b.path && !I(b))
1960
- return ue(b);
1961
- }, ue = (d) => {
1962
- if (!d.path) return;
1963
- const b = e.preserveQueryKeys.reduce((w, T) => {
1964
- const D = t.query[T];
1965
- return typeof D == "string" && (w[T] = D), Array.isArray(D) && (w[T] = D.filter(
1949
+ const u = ue();
1950
+ u && n.push(u);
1951
+ }, ue = () => {
1952
+ var A, C;
1953
+ const u = e.parentPath || ((A = t.meta) == null ? void 0 : A.parentPath) || ((C = t.meta) == null ? void 0 : C.parent) || "";
1954
+ if (u)
1955
+ return de({ path: u });
1956
+ const y = o.value[o.value.length - 2];
1957
+ if (y != null && y.to) return y.to;
1958
+ if (y != null && y.path && !N(y))
1959
+ return de(y);
1960
+ }, de = (u) => {
1961
+ if (!u.path) return;
1962
+ const y = e.preserveQueryKeys.reduce((A, C) => {
1963
+ const $ = t.query[C];
1964
+ return typeof $ == "string" && (A[C] = $), Array.isArray($) && (A[C] = $.filter(
1966
1965
  (F) => typeof F == "string"
1967
- )), w;
1966
+ )), A;
1968
1967
  }, {});
1969
- return Object.keys(b).length ? { path: d.path, query: b } : { path: d.path };
1968
+ return Object.keys(y).length ? { path: u.path, query: y } : { path: u.path };
1970
1969
  };
1971
- return (d, b) => {
1972
- const w = M("el-icon");
1973
- return e.showBack || o.value.length ? (r(), v("nav", On, [
1974
- e.showBack ? (r(), v("button", {
1970
+ return (u, y) => {
1971
+ const A = L("el-icon");
1972
+ return e.showBack || o.value.length ? (l(), g("nav", Bn, [
1973
+ e.showBack ? (l(), g("button", {
1975
1974
  key: 0,
1976
1975
  class: "layout-breadcrumb__back",
1977
1976
  type: "button",
1978
1977
  "aria-label": e.backLabel,
1979
1978
  title: e.backLabel,
1980
- onClick: j
1979
+ onClick: J
1981
1980
  }, [
1982
- _(w, null, {
1983
- default: S(() => [
1984
- _(h(mt))
1981
+ b(A, null, {
1982
+ default: P(() => [
1983
+ b(f(pt))
1985
1984
  ]),
1986
1985
  _: 1
1987
1986
  })
1988
- ], 8, Fn)) : x("", !0),
1989
- o.value.length ? (r(), v("ol", Hn, [
1990
- (r(!0), v(J, null, Q(o.value, (T, D) => (r(), v("li", {
1991
- key: `${T.path || T.title}-${D}`,
1987
+ ], 8, Fn)) : I("", !0),
1988
+ o.value.length ? (l(), g("ol", zn, [
1989
+ (l(!0), g(O, null, K(o.value, (C, $) => (l(), g("li", {
1990
+ key: `${C.path || C.title}-${$}`,
1992
1991
  class: "flex min-w-0 items-center gap-1"
1993
1992
  }, [
1994
- D > 0 ? (r(), k(w, {
1993
+ $ > 0 ? (l(), T(A, {
1995
1994
  key: 0,
1996
1995
  class: "layout-breadcrumb__separator"
1997
1996
  }, {
1998
- default: S(() => [
1999
- _(h(he))
1997
+ default: P(() => [
1998
+ b(f(fe))
2000
1999
  ]),
2001
2000
  _: 1
2002
- })) : x("", !0),
2003
- I(T) && L(T, D) ? (r(), v("a", {
2001
+ })) : I("", !0),
2002
+ N(C) && x(C, $) ? (l(), g("a", {
2004
2003
  key: 1,
2005
2004
  class: "layout-breadcrumb__link",
2006
- href: T.path
2007
- }, E(T.title), 9, Qn)) : L(T, D) ? (r(), v("button", {
2005
+ href: C.path
2006
+ }, M(C.title), 9, Kn)) : x(C, $) ? (l(), g("button", {
2008
2007
  key: 2,
2009
2008
  class: "layout-breadcrumb__link",
2010
2009
  type: "button",
2011
- onClick: (F) => O(T)
2012
- }, E(T.title), 9, zn)) : (r(), v("span", Zn, E(T.title), 1))
2010
+ onClick: (F) => B(C)
2011
+ }, M(C.title), 9, jn)) : (l(), g("span", Hn, M(C.title), 1))
2013
2012
  ]))), 128))
2014
- ])) : x("", !0)
2015
- ])) : x("", !0);
2013
+ ])) : I("", !0)
2014
+ ])) : I("", !0);
2016
2015
  };
2017
2016
  }
2018
- }), Za = /* @__PURE__ */ B(jn, [["__scopeId", "data-v-13819970"]]), qn = {
2017
+ }), ja = /* @__PURE__ */ R(Gn, [["__scopeId", "data-v-13819970"]]), Jn = {
2019
2018
  key: 0,
2020
2019
  class: "timezone-select__current"
2021
- }, Yn = { class: "timezone-select__panel" }, Wn = ["onClick"], Xn = { class: "timezone-select__name" }, Gn = { class: "timezone-select__offset" }, Vn = /* @__PURE__ */ N({
2020
+ }, Vn = { class: "timezone-select__panel" }, Zn = ["onClick"], Yn = { class: "timezone-select__name" }, Wn = { class: "timezone-select__offset" }, qn = /* @__PURE__ */ E({
2022
2021
  __name: "TimezoneSelect",
2023
2022
  props: {
2024
2023
  showLabel: { type: Boolean, default: !1 }
2025
2024
  },
2026
2025
  setup(a) {
2027
- const e = At(), t = U(!1), n = C(() => e.value), s = C(() => Tt()), o = C(() => Pt(n.value)), l = (c) => {
2028
- _t(c), t.value = !1;
2026
+ const e = yt(), t = D(!1), n = S(() => e.value), s = S(() => Ct()), o = S(() => At(n.value)), r = (c) => {
2027
+ bt(c), t.value = !1;
2029
2028
  };
2030
- return (c, u) => {
2031
- const m = M("el-icon"), i = M("el-popover");
2032
- return r(), k(i, {
2029
+ return (c, p) => {
2030
+ const m = L("el-icon"), i = L("el-popover");
2031
+ return l(), T(i, {
2033
2032
  visible: t.value,
2034
- "onUpdate:visible": u[0] || (u[0] = (y) => t.value = y),
2033
+ "onUpdate:visible": p[0] || (p[0] = (h) => t.value = h),
2035
2034
  placement: "bottom",
2036
2035
  width: 280,
2037
2036
  trigger: "hover",
2038
2037
  "popper-class": "top-timezone-popover"
2039
2038
  }, {
2040
- reference: S(() => [
2041
- _(G, {
2039
+ reference: P(() => [
2040
+ b(q, {
2042
2041
  tag: "div",
2043
2042
  class: "timezone-select",
2044
2043
  "icon-only": !a.showLabel,
2045
2044
  title: o.value,
2046
2045
  "aria-label": o.value
2047
2046
  }, {
2048
- default: S(() => [
2049
- _(m, null, {
2050
- default: S(() => [
2051
- _(h(ht))
2047
+ default: P(() => [
2048
+ b(m, null, {
2049
+ default: P(() => [
2050
+ b(f(mt))
2052
2051
  ]),
2053
2052
  _: 1
2054
2053
  }),
2055
- a.showLabel ? (r(), v("span", qn, E(n.value), 1)) : x("", !0),
2056
- a.showLabel ? (r(), k(m, {
2054
+ a.showLabel ? (l(), g("span", Jn, M(n.value), 1)) : I("", !0),
2055
+ a.showLabel ? (l(), T(m, {
2057
2056
  key: 1,
2058
2057
  class: "timezone-select__caret"
2059
2058
  }, {
2060
- default: S(() => [
2061
- _(h(Ae))
2059
+ default: P(() => [
2060
+ b(f(be))
2062
2061
  ]),
2063
2062
  _: 1
2064
- })) : x("", !0)
2063
+ })) : I("", !0)
2065
2064
  ]),
2066
2065
  _: 1
2067
2066
  }, 8, ["icon-only", "title", "aria-label"])
2068
2067
  ]),
2069
- default: S(() => [
2070
- p("div", Yn, [
2071
- (r(!0), v(J, null, Q(s.value, (y) => (r(), v("button", {
2072
- key: y.value,
2068
+ default: P(() => [
2069
+ d("div", Vn, [
2070
+ (l(!0), g(O, null, K(s.value, (h) => (l(), g("button", {
2071
+ key: h.value,
2073
2072
  type: "button",
2074
- class: H(["timezone-select__option", {
2075
- "timezone-select__option--active": y.value === n.value
2073
+ class: z(["timezone-select__option", {
2074
+ "timezone-select__option--active": h.value === n.value
2076
2075
  }]),
2077
- onClick: (g) => l(y.value)
2076
+ onClick: (v) => r(h.value)
2078
2077
  }, [
2079
- p("span", Xn, E(y.value), 1),
2080
- p("span", Gn, E(y.offset), 1)
2081
- ], 10, Wn))), 128))
2078
+ d("span", Yn, M(h.value), 1),
2079
+ d("span", Wn, M(h.offset), 1)
2080
+ ], 10, Zn))), 128))
2082
2081
  ])
2083
2082
  ]),
2084
2083
  _: 1
2085
2084
  }, 8, ["visible"]);
2086
2085
  };
2087
2086
  }
2088
- }), ja = /* @__PURE__ */ B(Vn, [["__scopeId", "data-v-e62f5f2d"]]), $n = { class: "user-info__panel" }, ea = { class: "user-info__profile" }, ta = { class: "user-info__profile-main" }, na = ["title"], aa = ["title"], oa = { class: "user-info__meta" }, sa = { class: "user-info__meta-label" }, ra = ["title"], la = ["href"], ia = /* @__PURE__ */ N({
2087
+ }), Ha = /* @__PURE__ */ R(qn, [["__scopeId", "data-v-e62f5f2d"]]), Qn = { class: "user-info__panel" }, Xn = { class: "user-info__profile" }, ea = { class: "user-info__profile-main" }, ta = ["title"], na = ["title"], aa = { class: "user-info__meta" }, oa = { class: "user-info__meta-label" }, sa = ["title"], ra = ["href"], la = /* @__PURE__ */ E({
2089
2088
  __name: "UserInfo",
2090
2089
  setup(a) {
2091
- const { t: e } = ie.global, t = R(), n = C(() => t.value.user || {}), s = C(() => t.value.accountMenu || []), o = C(
2090
+ const { t: e } = ce.global, t = U(), n = S(() => t.value.user || {}), s = S(() => t.value.accountMenu || []), o = S(
2092
2091
  () => {
2093
- var u, m, i, y;
2094
- return ((u = n.value) == null ? void 0 : u.name) || ((m = n.value) == null ? void 0 : m.username) || ((i = n.value) == null ? void 0 : i.email) || ((y = n.value) == null ? void 0 : y.userId) || "User";
2092
+ var p, m, i, h;
2093
+ return ((p = n.value) == null ? void 0 : p.name) || ((m = n.value) == null ? void 0 : m.username) || ((i = n.value) == null ? void 0 : i.email) || ((h = n.value) == null ? void 0 : h.userId) || "User";
2095
2094
  }
2096
- ), l = C(
2095
+ ), r = S(
2097
2096
  () => {
2098
- var u, m, i;
2097
+ var p, m, i;
2099
2098
  return [
2100
- { label: e("admin.label.userName"), value: (u = n.value) == null ? void 0 : u.username },
2099
+ { label: e("admin.label.userName"), value: (p = n.value) == null ? void 0 : p.username },
2101
2100
  { label: e("admin.label.email"), value: (m = n.value) == null ? void 0 : m.email },
2102
2101
  { label: e("admin.label.userId"), value: (i = n.value) == null ? void 0 : i.userId }
2103
- ].filter((y) => !!y.value);
2102
+ ].filter((h) => !!h.value);
2104
2103
  }
2105
2104
  ), c = () => {
2106
- var u, m;
2107
- Promise.resolve((m = (u = t.value).onLogout) == null ? void 0 : m.call(u)).finally(() => {
2108
- t.value.onLogout || le(t.value);
2105
+ var p, m;
2106
+ Promise.resolve((m = (p = t.value).onLogout) == null ? void 0 : m.call(p)).finally(() => {
2107
+ t.value.onLogout || ie(t.value);
2109
2108
  });
2110
2109
  };
2111
- return (u, m) => {
2112
- const i = M("el-popover");
2113
- return r(), k(i, {
2110
+ return (p, m) => {
2111
+ const i = L("el-popover");
2112
+ return l(), T(i, {
2114
2113
  width: 280,
2115
2114
  trigger: "hover",
2116
2115
  "popper-class": "top-userinfo-popover"
2117
2116
  }, {
2118
- reference: S(() => [
2119
- _(h(Me), {
2117
+ reference: P(() => [
2118
+ b(f(Me), {
2120
2119
  class: "user-info__trigger ml-2",
2121
2120
  src: n.value.avatar,
2122
2121
  name: o.value
2123
2122
  }, null, 8, ["src", "name"])
2124
2123
  ]),
2125
- default: S(() => {
2126
- var y;
2124
+ default: P(() => {
2125
+ var h;
2127
2126
  return [
2128
- p("div", $n, [
2129
- p("div", ea, [
2130
- _(h(Me), {
2127
+ d("div", Qn, [
2128
+ d("div", Xn, [
2129
+ b(f(Me), {
2131
2130
  class: "user-info__profile-avatar",
2132
2131
  src: n.value.avatar,
2133
2132
  name: o.value
2134
2133
  }, null, 8, ["src", "name"]),
2135
- p("div", ta, [
2136
- p("div", {
2134
+ d("div", ea, [
2135
+ d("div", {
2137
2136
  class: "user-info__display-name",
2138
2137
  title: o.value
2139
- }, E(o.value), 9, na),
2140
- (y = n.value) != null && y.username ? (r(), v("div", {
2138
+ }, M(o.value), 9, ta),
2139
+ (h = n.value) != null && h.username ? (l(), g("div", {
2141
2140
  key: 0,
2142
2141
  class: "user-info__username",
2143
2142
  title: n.value.username
2144
- }, " @" + E(n.value.username), 9, aa)) : x("", !0)
2143
+ }, " @" + M(n.value.username), 9, na)) : I("", !0)
2145
2144
  ])
2146
2145
  ]),
2147
- p("div", oa, [
2148
- (r(!0), v(J, null, Q(l.value, (g) => (r(), v("div", {
2149
- key: g.label,
2146
+ d("div", aa, [
2147
+ (l(!0), g(O, null, K(r.value, (v) => (l(), g("div", {
2148
+ key: v.label,
2150
2149
  class: "user-info__meta-row"
2151
2150
  }, [
2152
- p("span", sa, E(g.label), 1),
2153
- p("span", {
2151
+ d("span", oa, M(v.label), 1),
2152
+ d("span", {
2154
2153
  class: "user-info__meta-value",
2155
- title: g.value
2156
- }, E(g.value), 9, ra)
2154
+ title: v.value
2155
+ }, M(v.value), 9, sa)
2157
2156
  ]))), 128))
2158
2157
  ]),
2159
- m[1] || (m[1] = p("div", { class: "user-info__divider" }, null, -1)),
2160
- (r(!0), v(J, null, Q(s.value, (g, f) => {
2161
- var A, P;
2162
- return r(), v("a", {
2163
- key: f,
2164
- href: g.path,
2158
+ m[1] || (m[1] = d("div", { class: "user-info__divider" }, null, -1)),
2159
+ (l(!0), g(O, null, K(s.value, (v, _) => {
2160
+ var w, k;
2161
+ return l(), g("a", {
2162
+ key: _,
2163
+ href: v.path,
2165
2164
  class: "user-info__item"
2166
2165
  }, [
2167
- _(Xe, {
2168
- icon: g.icon || ((A = g.meta) == null ? void 0 : A.icon)
2166
+ b(Ye, {
2167
+ icon: v.icon || ((w = v.meta) == null ? void 0 : w.icon)
2169
2168
  }, null, 8, ["icon"]),
2170
- p("span", null, E(h($)(((P = g.meta) == null ? void 0 : P.translations) || {}, "name", g.name)), 1)
2171
- ], 8, la);
2169
+ d("span", null, M(f(X)(((k = v.meta) == null ? void 0 : k.translations) || {}, "name", v.name)), 1)
2170
+ ], 8, ra);
2172
2171
  }), 128)),
2173
- m[2] || (m[2] = p("div", { class: "user-info__divider" }, null, -1)),
2174
- p("div", {
2172
+ m[2] || (m[2] = d("div", { class: "user-info__divider" }, null, -1)),
2173
+ d("div", {
2175
2174
  class: "user-info__item user-info__item--danger",
2176
2175
  onClick: c
2177
2176
  }, [
2178
- m[0] || (m[0] = p("i", { class: "metisicon-exit-full" }, null, -1)),
2179
- p("span", null, E(h(e)("common.btn.logout")), 1)
2177
+ m[0] || (m[0] = d("i", { class: "metisicon-exit-full" }, null, -1)),
2178
+ d("span", null, M(f(e)("common.btn.logout")), 1)
2180
2179
  ])
2181
2180
  ])
2182
2181
  ];
@@ -2185,29 +2184,29 @@ const $e = (a, e) => a.reduce(
2185
2184
  });
2186
2185
  };
2187
2186
  }
2188
- }), ca = /* @__PURE__ */ B(ia, [["__scopeId", "data-v-ac052463"]]), ua = { class: "header-right" }, da = ["href"], pa = /* @__PURE__ */ N({
2187
+ }), ia = /* @__PURE__ */ R(la, [["__scopeId", "data-v-ac052463"]]), ca = { class: "header-right" }, ua = ["href"], da = /* @__PURE__ */ E({
2189
2188
  __name: "SHeaderRight",
2190
2189
  setup(a) {
2191
- const { t: e } = ie.global, t = R(), n = C(() => t.value.hideDoc ?? !1), s = C(() => qe(t.value)), o = C(() => t.value.user), l = C(() => {
2190
+ const { t: e } = ce.global, t = U(), n = S(() => t.value.hideDoc ?? !1), s = S(() => Je(t.value)), o = S(() => t.value.user), r = S(() => {
2192
2191
  var m, i;
2193
2192
  return !!((m = o.value) != null && m.id || (i = o.value) != null && i.userId);
2194
2193
  }), c = (m) => {
2195
2194
  t.value.onLogin && (m.preventDefault(), t.value.onLogin());
2196
- }, u = C(() => t.value.docsPath || "");
2195
+ }, p = S(() => t.value.docsPath || "");
2197
2196
  return (m, i) => {
2198
- const y = M("el-icon");
2199
- return r(), v("div", ua, [
2200
- !n.value && u.value ? (r(), k(G, {
2197
+ const h = L("el-icon");
2198
+ return l(), g("div", ca, [
2199
+ !n.value && p.value ? (l(), T(q, {
2201
2200
  key: 0,
2202
2201
  tag: "a",
2203
2202
  class: "whitespace-nowrap",
2204
- href: u.value,
2203
+ href: p.value,
2205
2204
  target: "_blank"
2206
2205
  }, {
2207
- default: S(() => [
2208
- _(y, null, {
2209
- default: S(() => [...i[0] || (i[0] = [
2210
- p("svg", {
2206
+ default: P(() => [
2207
+ b(h, null, {
2208
+ default: P(() => [...i[0] || (i[0] = [
2209
+ d("svg", {
2211
2210
  xmlns: "http://www.w3.org/2000/svg",
2212
2211
  width: "24",
2213
2212
  height: "24",
@@ -2221,143 +2220,143 @@ const $e = (a, e) => a.reduce(
2221
2220
  "aria-hidden": "true",
2222
2221
  class: "lucide lucide-book-open"
2223
2222
  }, [
2224
- p("path", { d: "M12 7v14" }),
2225
- p("path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" })
2223
+ d("path", { d: "M12 7v14" }),
2224
+ d("path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" })
2226
2225
  ], -1)
2227
2226
  ])]),
2228
2227
  _: 1
2229
2228
  })
2230
2229
  ]),
2231
2230
  _: 1
2232
- }, 8, ["href"])) : x("", !0),
2233
- _(tt),
2234
- _(et),
2235
- l.value ? (r(), k(ca, { key: 1 })) : (r(), v("a", {
2231
+ }, 8, ["href"])) : I("", !0),
2232
+ b(et),
2233
+ b(Xe),
2234
+ r.value ? (l(), T(ia, { key: 1 })) : (l(), g("a", {
2236
2235
  key: 2,
2237
2236
  class: "header-right__login",
2238
2237
  href: s.value,
2239
2238
  onClick: c
2240
- }, E(h(e)("common.btn.login")), 9, da))
2239
+ }, M(f(e)("common.btn.login")), 9, ua))
2241
2240
  ]);
2242
2241
  };
2243
2242
  }
2244
- }), ma = /* @__PURE__ */ B(pa, [["__scopeId", "data-v-3c5e16a6"]]), ha = {
2243
+ }), pa = /* @__PURE__ */ R(da, [["__scopeId", "data-v-3c5e16a6"]]), ma = {
2245
2244
  "header-bar": "",
2246
2245
  class: "header-bar sticky top-0 z-200"
2247
- }, ga = { class: "header-bar__left" }, fa = { class: "header-bar__logo-wrap" }, va = {
2246
+ }, ha = { class: "header-bar__left" }, fa = { class: "header-bar__logo-wrap" }, ga = {
2248
2247
  href: "/",
2249
2248
  target: "_self",
2250
2249
  rel: "noopener",
2251
2250
  class: "header-bar__logo-link"
2252
- }, ya = {
2251
+ }, _a = {
2253
2252
  key: 1,
2254
2253
  class: "header-bar__divider"
2255
- }, ba = { class: "header-bar__right" }, Aa = /* @__PURE__ */ N({
2254
+ }, va = { class: "header-bar__right" }, ya = /* @__PURE__ */ E({
2256
2255
  __name: "HeaderBar",
2257
2256
  setup(a) {
2258
- const e = R(), { isMobile: t } = te(), n = C(
2257
+ const e = U(), { isMobile: t } = te(), n = S(
2259
2258
  () => {
2260
2259
  var s, o;
2261
2260
  return !!((s = e.value.user) != null && s.id || (o = e.value.user) != null && o.userId);
2262
2261
  }
2263
2262
  );
2264
2263
  return (s, o) => {
2265
- const l = M("el-image");
2266
- return r(), v("div", ha, [
2267
- p("div", ga, [
2268
- h(t) ? (r(), k(Rn, { key: 0 })) : x("", !0),
2269
- p("div", fa, [
2270
- p("a", va, [
2271
- _(l, {
2272
- src: h(e).logo,
2264
+ const r = L("el-image");
2265
+ return l(), g("div", ma, [
2266
+ d("div", ha, [
2267
+ f(t) ? (l(), T(Dn, { key: 0 })) : I("", !0),
2268
+ d("div", fa, [
2269
+ d("a", ga, [
2270
+ b(r, {
2271
+ src: f(e).logo,
2273
2272
  class: "h-7"
2274
2273
  }, null, 8, ["src"])
2275
2274
  ])
2276
2275
  ]),
2277
- n.value && !h(t) ? (r(), v("div", ya)) : x("", !0),
2278
- n.value && !h(t) ? (r(), k(nn, { key: 2 })) : x("", !0)
2276
+ n.value && !f(t) ? (l(), g("div", _a)) : I("", !0),
2277
+ n.value && !f(t) ? (l(), T(tn, { key: 2 })) : I("", !0)
2279
2278
  ]),
2280
- p("div", ba, [
2281
- Z(s.$slots, "default", {}, void 0, !0),
2282
- h(t) ? x("", !0) : (r(), k(ma, { key: 0 })),
2283
- h(t) ? (r(), k(Dn, { key: 1 })) : x("", !0)
2279
+ d("div", va, [
2280
+ G(s.$slots, "default", {}, void 0, !0),
2281
+ f(t) ? I("", !0) : (l(), T(pa, { key: 0 })),
2282
+ f(t) ? (l(), T(Mn, { key: 1 })) : I("", !0)
2284
2283
  ])
2285
2284
  ]);
2286
2285
  };
2287
2286
  }
2288
- }), _a = /* @__PURE__ */ B(Aa, [["__scopeId", "data-v-0ce1ab70"]]), Ca = {
2287
+ }), ba = /* @__PURE__ */ R(ya, [["__scopeId", "data-v-0ce1ab70"]]), wa = {
2289
2288
  key: 0,
2290
2289
  class: "min-w-0 flex-1"
2291
- }, Sa = /* @__PURE__ */ N({
2290
+ }, Pa = /* @__PURE__ */ E({
2292
2291
  __name: "AppSelectMobile",
2293
2292
  setup(a) {
2294
- const e = R(), t = C(() => e.value.currentAppId || ""), { appList: n, getAppPath: s, findAppById: o } = Ve(), l = C(() => {
2295
- const u = o(t.value);
2296
- return u ? s(u) : "";
2297
- }), c = (u) => {
2298
- u && (location.href = u);
2293
+ const e = U(), t = S(() => e.value.currentAppId || ""), { appList: n, getAppPath: s, findAppById: o } = qe(), r = S(() => {
2294
+ const p = o(t.value);
2295
+ return p ? s(p) : "";
2296
+ }), c = (p) => {
2297
+ p && (location.href = p);
2299
2298
  };
2300
- return (u, m) => {
2301
- var f;
2302
- const i = M("el-option"), y = M("el-option-group"), g = M("el-select");
2303
- return (f = h(n)) != null && f.length ? (r(), v("div", Ca, [
2304
- _(g, {
2305
- "model-value": l.value,
2299
+ return (p, m) => {
2300
+ var _;
2301
+ const i = L("el-option"), h = L("el-option-group"), v = L("el-select");
2302
+ return (_ = f(n)) != null && _.length ? (l(), g("div", wa, [
2303
+ b(v, {
2304
+ "model-value": r.value,
2306
2305
  class: "w-full",
2307
2306
  onChange: c
2308
2307
  }, {
2309
- default: S(() => [
2310
- (r(!0), v(J, null, Q(h(n), (A) => {
2311
- var P;
2312
- return r(), v(J, {
2313
- key: A.appId
2308
+ default: P(() => [
2309
+ (l(!0), g(O, null, K(f(n), (w) => {
2310
+ var k;
2311
+ return l(), g(O, {
2312
+ key: w.appId
2314
2313
  }, [
2315
- (P = A.children) != null && P.length ? (r(), k(y, {
2314
+ (k = w.children) != null && k.length ? (l(), T(h, {
2316
2315
  key: 0,
2317
- label: A.name
2316
+ label: w.name
2318
2317
  }, {
2319
- default: S(() => [
2320
- (r(!0), v(J, null, Q(A.children, (I) => (r(), k(i, {
2321
- key: I.appId,
2322
- label: I.name,
2323
- value: h(s)(I),
2318
+ default: P(() => [
2319
+ (l(!0), g(O, null, K(w.children, (N) => (l(), T(i, {
2320
+ key: N.appId,
2321
+ label: N.name,
2322
+ value: f(s)(N),
2324
2323
  style: { "padding-left": "30px" }
2325
2324
  }, null, 8, ["label", "value"]))), 128))
2326
2325
  ]),
2327
2326
  _: 2
2328
- }, 1032, ["label"])) : (r(), k(i, {
2327
+ }, 1032, ["label"])) : (l(), T(i, {
2329
2328
  key: 1,
2330
- label: A.name,
2331
- value: h(s)(A)
2329
+ label: w.name,
2330
+ value: f(s)(w)
2332
2331
  }, null, 8, ["label", "value"]))
2333
2332
  ], 64);
2334
2333
  }), 128))
2335
2334
  ]),
2336
2335
  _: 1
2337
2336
  }, 8, ["model-value"])
2338
- ])) : x("", !0);
2337
+ ])) : I("", !0);
2339
2338
  };
2340
2339
  }
2341
- }), wa = { class: "aside-user-mobile" }, Pa = { class: "flex-1" }, Ta = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, ka = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, Ia = /* @__PURE__ */ N({
2340
+ }), Sa = { class: "aside-user-mobile" }, Aa = { class: "flex-1" }, Ca = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, Ta = { class: "absolute right-4 top-1/2 -translate-y-1/2" }, ka = /* @__PURE__ */ E({
2342
2341
  __name: "AsideUserMobile",
2343
2342
  setup(a) {
2344
- const e = R(), t = C(() => e.value.user || {}), n = C(() => !!(t.value.id || t.value.userId)), s = C(() => t.value.name || t.value.username), o = () => {
2345
- var l, c;
2346
- (c = (l = e.value).onLogin) != null && c.call(l) || le(e.value);
2343
+ const e = U(), t = S(() => e.value.user || {}), n = S(() => !!(t.value.id || t.value.userId)), s = S(() => t.value.name || t.value.username), o = () => {
2344
+ var r, c;
2345
+ (c = (r = e.value).onLogin) != null && c.call(r) || ie(e.value);
2347
2346
  };
2348
- return (l, c) => {
2349
- const u = M("el-icon");
2350
- return n.value ? (r(), k(nt, { key: 0 }, {
2351
- reference: S(() => [
2352
- p("div", wa, [
2353
- c[0] || (c[0] = p("div", { class: "aside-user-mobile__icon text-lg" }, [
2354
- p("i", { class: "metisicon-yonghu1" })
2347
+ return (r, c) => {
2348
+ const p = L("el-icon");
2349
+ return n.value ? (l(), T(tt, { key: 0 }, {
2350
+ reference: P(() => [
2351
+ d("div", Sa, [
2352
+ c[0] || (c[0] = d("div", { class: "aside-user-mobile__icon text-lg" }, [
2353
+ d("i", { class: "metisicon-yonghu1" })
2355
2354
  ], -1)),
2356
- p("div", Pa, E(s.value), 1),
2357
- p("div", Ta, [
2358
- _(u, null, {
2359
- default: S(() => [
2360
- _(h(he))
2355
+ d("div", Aa, M(s.value), 1),
2356
+ d("div", Ca, [
2357
+ b(p, null, {
2358
+ default: P(() => [
2359
+ b(f(fe))
2361
2360
  ]),
2362
2361
  _: 1
2363
2362
  })
@@ -2365,19 +2364,19 @@ const $e = (a, e) => a.reduce(
2365
2364
  ])
2366
2365
  ]),
2367
2366
  _: 1
2368
- })) : (r(), v("div", {
2367
+ })) : (l(), g("div", {
2369
2368
  key: 1,
2370
2369
  class: "aside-user-mobile",
2371
2370
  onClick: o
2372
2371
  }, [
2373
- c[1] || (c[1] = p("div", { class: "aside-user-mobile__icon text-lg" }, [
2374
- p("i", { class: "metisicon-yonghu1" })
2372
+ c[1] || (c[1] = d("div", { class: "aside-user-mobile__icon text-lg" }, [
2373
+ d("i", { class: "metisicon-yonghu1" })
2375
2374
  ], -1)),
2376
- c[2] || (c[2] = p("div", { class: "flex-1" }, "登录/注册", -1)),
2377
- p("div", ka, [
2378
- _(u, null, {
2379
- default: S(() => [
2380
- _(h(he))
2375
+ c[2] || (c[2] = d("div", { class: "flex-1" }, "登录/注册", -1)),
2376
+ d("div", Ta, [
2377
+ b(p, null, {
2378
+ default: P(() => [
2379
+ b(f(fe))
2381
2380
  ]),
2382
2381
  _: 1
2383
2382
  })
@@ -2385,123 +2384,115 @@ const $e = (a, e) => a.reduce(
2385
2384
  ]));
2386
2385
  };
2387
2386
  }
2388
- }), La = /* @__PURE__ */ B(Ia, [["__scopeId", "data-v-c56964a5"]]), xa = { class: "aside-bar-mobile__head flex items-center gap-3" }, Ea = { class: "p-3" }, Ma = /* @__PURE__ */ N({
2387
+ }), Ia = /* @__PURE__ */ R(ka, [["__scopeId", "data-v-c56964a5"]]), xa = { class: "aside-bar-mobile__head flex items-center gap-3" }, La = { class: "p-3" }, $a = /* @__PURE__ */ E({
2389
2388
  __name: "AsideBarMobile",
2390
2389
  setup(a) {
2391
2390
  const { menus: e, sideOpen: t } = te(), n = () => void (t.value = !1);
2392
2391
  return (s, o) => {
2393
- const l = M("el-icon"), c = M("el-scrollbar");
2394
- return h(e).length && !s.$route.meta.hideSidebar ? (r(), v("div", {
2392
+ const r = L("el-icon"), c = L("el-scrollbar");
2393
+ return f(e).length && !s.$route.meta.hideSidebar ? (l(), g("div", {
2395
2394
  key: 0,
2396
- class: H(["aside-bar-mobile fixed inset-y-0 left-0 z-200 flex min-h-0 flex-col transition-transform", [h(t) ? "translate-x-[0px]" : "translate-x-[-100%]"]])
2395
+ class: z(["aside-bar-mobile fixed inset-y-0 left-0 z-200 flex min-h-0 flex-col transition-transform", [f(t) ? "translate-x-[0px]" : "translate-x-[-100%]"]])
2397
2396
  }, [
2398
- p("div", xa, [
2399
- p("button", {
2397
+ d("div", xa, [
2398
+ d("button", {
2400
2399
  type: "button",
2401
2400
  class: "aside-bar-mobile__close",
2402
2401
  "aria-label": "Close menu",
2403
2402
  onClick: n
2404
2403
  }, [
2405
- _(l, null, {
2406
- default: S(() => [
2407
- _(h(Re))
2404
+ b(r, null, {
2405
+ default: P(() => [
2406
+ b(f(De))
2408
2407
  ]),
2409
2408
  _: 1
2410
2409
  })
2411
2410
  ]),
2412
- _(Sa)
2411
+ b(Pa)
2413
2412
  ]),
2414
- _(c, { ref: "leftScrollRef" }, {
2415
- default: S(() => [
2416
- p("div", Ea, [
2417
- _(Ge, { menus: h(e) }, null, 8, ["menus"])
2413
+ b(c, { ref: "leftScrollRef" }, {
2414
+ default: P(() => [
2415
+ d("div", La, [
2416
+ b(We, { menus: f(e) }, null, 8, ["menus"])
2418
2417
  ])
2419
2418
  ]),
2420
2419
  _: 1
2421
2420
  }, 512),
2422
- Z(s.$slots, "sidebar-foot", {}, void 0, !0),
2423
- _(La)
2424
- ], 2)) : x("", !0);
2421
+ G(s.$slots, "sidebar-foot", {}, void 0, !0),
2422
+ b(Ia)
2423
+ ], 2)) : I("", !0);
2425
2424
  };
2426
2425
  }
2427
- }), Da = /* @__PURE__ */ B(Ma, [["__scopeId", "data-v-05675378"]]), Na = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQgAAABMCAYAAACRSCkxAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABCKADAAQAAAABAAAATAAAAADXpTM6AAAqwklEQVR4Ae2dB5ScxZXvu3tGYRSREAoglEkSSkiASEYEIxBiwWLBgWXBNjZhD9hr1mvY52eLc+yzz/v8dtdmk9c2tvGaY+DAguGRbJAAWShhgQBFUA6ApFHWaKTp/t7v/3VXz5dDzwwM5311pqbSrXtv3aq6363wfZ3PfcLdrrVWn4NNh68t5PN/mctZI3P5XNdcLt+Us3Kr8gXrsVLuyBMnjuvb+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Ph0gfiOptve34ecQfp9JbrDF13CeFkUrTUacD3JzCmWfOHNir0Dyb1+g+D4FhGHJdMV4P88Nba9AQv7MKdU+89NoLmG/pfmgmLbPIR7Ks565DX+Q4kviZyE272HodeACTRN9GqCdPT3A9PvVREz3ZN1C+hEH6R5YBK7BI9mJmdoTllf/jH/94HBbjDOhew0AaDBvv049/YCA89dxzz21jkzj8sQ6jNbo8ikKmb1+8jojPo72Sy7O0+b+0LPHi5c3XG5CFfvNzFbDzqLOcJd3OK664Qg+kDhl3WL99oHM5/hpoDIduI/J5mfjjKOoNhDXLBlwFXoYceOjQoYvAfynpk2mzBf514H0aP+/pp59ubKv8wduDB4twXwbuc+nXQYT2C3+ELsuRMWCnFVLPGT8K7BvU/TX5r/8/j40HcI8c53QAAAAASUVORK5CYII=", Ba = { class: "layout-shell w-full flex flex-col" }, Ua = { class: "layout-shell__body flex flex-1 min-h-0 overflow-hidden" }, Ra = { class: "layout-shell__main flex flex-col flex-1 min-h-0 min-w-0 h-full" }, Ka = { class: "layout-shell__content flex-1 w-full min-h-0 flex flex-col overflow-hidden" }, Ja = /* @__PURE__ */ N({
2426
+ }), Ma = /* @__PURE__ */ R($a, [["__scopeId", "data-v-05675378"]]), Ea = { class: "layout-shell w-full flex flex-col" }, Na = { class: "layout-shell__body flex flex-1 min-h-0 overflow-hidden" }, Ra = { class: "layout-shell__main flex flex-col flex-1 min-h-0 min-w-0 h-full" }, Da = { class: "layout-shell__content flex-1 w-full min-h-0 flex flex-col overflow-hidden" }, Ua = /* @__PURE__ */ E({
2428
2427
  __name: "BaseLayout",
2429
2428
  props: {
2430
2429
  setting: {}
2431
2430
  },
2432
2431
  setup(a) {
2433
- const e = a, t = C(() => {
2434
- var g, f, A, P, I, K, L;
2435
- return {
2436
- ...e.setting || {},
2437
- logo: ((g = e.setting) == null ? void 0 : g.logo) || Na,
2438
- menus: ((f = e.setting) == null ? void 0 : f.menus) || [],
2439
- accountMenu: ((A = e.setting) == null ? void 0 : A.accountMenu) || [],
2440
- user: ((P = e.setting) == null ? void 0 : P.user) ?? null,
2441
- appList: ((I = e.setting) == null ? void 0 : I.appList) || [],
2442
- onLogin: (K = e.setting) == null ? void 0 : K.onLogin,
2443
- onLogout: (L = e.setting) == null ? void 0 : L.onLogout
2444
- };
2432
+ const e = a;
2433
+ re(() => e.setting, (h) => {
2434
+ $t(h || {});
2435
+ }, {
2436
+ deep: !0
2445
2437
  });
2446
- Ue(() => void Mt(t.value));
2447
- const { isMobile: n, sideOpen: s, initLayoutState: o } = te();
2448
- o();
2449
- let l = "", c = !1;
2450
- const u = () => void (s.value = !1), m = (g) => {
2451
- const f = g.matched[1];
2452
- if (!f) return g.path;
2453
- const A = i(f, g);
2454
- return [f.path, A].filter(Boolean).join("|");
2455
- }, i = (g, f) => Array.from(
2456
- g.path.matchAll(/:(\w+)/g),
2457
- ([, P]) => P
2458
- ).map((P) => {
2459
- const I = f.params[P];
2460
- return `${P}:${Array.isArray(I) ? I.join(",") : I || ""}`;
2461
- }).join("|"), y = (g) => {
2462
- g.key === "Escape" && n.value && s.value && u();
2438
+ const { isMobile: t, sideOpen: n, initLayoutState: s } = te();
2439
+ s();
2440
+ let o = "", r = !1;
2441
+ const c = () => void (n.value = !1), p = (h) => {
2442
+ const v = h.matched[1];
2443
+ if (!v) return h.path;
2444
+ const _ = m(v, h);
2445
+ return [v.path, _].filter(Boolean).join("|");
2446
+ }, m = (h, v) => Array.from(
2447
+ h.path.matchAll(/:(\w+)/g),
2448
+ ([, w]) => w
2449
+ ).map((w) => {
2450
+ const k = v.params[w];
2451
+ return `${w}:${Array.isArray(k) ? k.join(",") : k || ""}`;
2452
+ }).join("|"), i = (h) => {
2453
+ h.key === "Escape" && t.value && n.value && c();
2463
2454
  };
2464
- return ye(
2465
- () => n.value && s.value,
2466
- (g) => {
2455
+ return re(
2456
+ () => t.value && n.value,
2457
+ (h) => {
2467
2458
  if (!(typeof document > "u")) {
2468
- if (g && !c) {
2469
- l = document.body.style.overflow, document.body.style.overflow = "hidden", c = !0;
2459
+ if (h && !r) {
2460
+ o = document.body.style.overflow, document.body.style.overflow = "hidden", r = !0;
2470
2461
  return;
2471
2462
  }
2472
- !g && c && (document.body.style.overflow = l, c = !1);
2463
+ !h && r && (document.body.style.overflow = o, r = !1);
2473
2464
  }
2474
2465
  },
2475
2466
  { immediate: !0 }
2476
- ), De(() => {
2477
- window.addEventListener("keydown", y);
2467
+ ), Ee(() => {
2468
+ window.addEventListener("keydown", i);
2478
2469
  }), Ne(() => {
2479
- window.removeEventListener("keydown", y), typeof document < "u" && c && (document.body.style.overflow = l);
2480
- }), (g, f) => {
2481
- const A = M("router-view");
2482
- return r(), v("div", Ba, [
2483
- _(_a, null, {
2484
- default: S(() => [
2485
- Z(g.$slots, "header-right", {}, void 0, !0)
2470
+ window.removeEventListener("keydown", i), typeof document < "u" && r && (document.body.style.overflow = o);
2471
+ }), (h, v) => {
2472
+ const _ = L("router-view");
2473
+ return l(), g("div", Ea, [
2474
+ b(ba, null, {
2475
+ default: P(() => [
2476
+ G(h.$slots, "header-right", {}, void 0, !0)
2486
2477
  ]),
2487
2478
  _: 3
2488
2479
  }),
2489
- p("div", Ua, [
2490
- h(n) ? (r(), k(Da, { key: 1 })) : (r(), k(Yt, { key: 0 })),
2491
- p("main", Ra, [
2492
- p("div", Ka, [
2493
- _(A, null, {
2494
- default: S(({ Component: P, route: I }) => [
2495
- _(Ie, {
2496
- name: String(I.meta.transition || "layout-page"),
2480
+ d("div", Na, [
2481
+ f(t) ? (l(), T(Ma, { key: 1 })) : (l(), T(Vt, { key: 0 })),
2482
+ d("main", Ra, [
2483
+ d("div", Da, [
2484
+ b(_, null, {
2485
+ default: P(({ Component: w, route: k }) => [
2486
+ b(Ie, {
2487
+ name: String(k.meta.transition || "layout-page"),
2497
2488
  mode: "out-in"
2498
2489
  }, {
2499
- default: S(() => [
2500
- (r(), v("div", {
2501
- key: m(I),
2490
+ default: P(() => [
2491
+ (l(), g("div", {
2492
+ key: p(k),
2502
2493
  class: "layout-page-view"
2503
2494
  }, [
2504
- (r(), k(be(P)))
2495
+ (l(), T(ye(w)))
2505
2496
  ]))
2506
2497
  ]),
2507
2498
  _: 2
@@ -2512,31 +2503,31 @@ const $e = (a, e) => a.reduce(
2512
2503
  ])
2513
2504
  ])
2514
2505
  ]),
2515
- _(Ie, { name: "layout-overlay" }, {
2516
- default: S(() => [
2517
- h(n) && h(s) ? (r(), v("div", {
2506
+ b(Ie, { name: "layout-overlay" }, {
2507
+ default: P(() => [
2508
+ f(t) && f(n) ? (l(), g("div", {
2518
2509
  key: 0,
2519
2510
  class: "layout-shell__overlay",
2520
- onClick: u
2521
- })) : x("", !0)
2511
+ onClick: c
2512
+ })) : I("", !0)
2522
2513
  ]),
2523
2514
  _: 1
2524
2515
  })
2525
2516
  ]);
2526
2517
  };
2527
2518
  }
2528
- }), qa = /* @__PURE__ */ B(Ja, [["__scopeId", "data-v-716c5091"]]);
2519
+ }), Ga = /* @__PURE__ */ R(Ua, [["__scopeId", "data-v-05fbb4fe"]]);
2529
2520
  export {
2530
- qa as BaseLayout,
2531
- tt as LanguageSelect,
2532
- Za as LayoutBreadcrumb,
2533
- et as ThemeToggle,
2534
- ja as TimezoneSelect,
2521
+ Ga as BaseLayout,
2522
+ et as LanguageSelect,
2523
+ ja as LayoutBreadcrumb,
2524
+ Xe as ThemeToggle,
2525
+ Ha as TimezoneSelect,
2535
2526
  Me as UserAvatar,
2536
- ca as UserInfo,
2537
- ie as i18n,
2527
+ ia as UserInfo,
2528
+ ce as i18n,
2538
2529
  se as messages,
2539
- Ve as useApp,
2540
- R as useSetting,
2541
- je as useTheme
2530
+ qe as useApp,
2531
+ U as useSetting,
2532
+ Ge as useTheme
2542
2533
  };