bilitoolkit-ui 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- import { reactive as Ce, watch as le, ref as z, onMounted as ne, onUnmounted as ce, computed as C, toValue as te, shallowRef as Ct, useTemplateRef as K, defineComponent as B, openBlock as r, createElementBlock as f, createElementVNode as a, toDisplayString as m, renderSlot as I, normalizeClass as se, createVNode as d, createCommentVNode as $, useModel as he, createBlock as A, withCtx as u, unref as h, createTextVNode as k, mergeModels as J, withDirectives as W, Fragment as R, renderList as O, normalizeStyle as xe, toRaw as xt, render as me, vShow as ge, createApp as $e, useCssVars as Et, mergeProps as G, normalizeProps as Bt, guardReactiveProps as St, withModifiers as Ee, nextTick as we, useSlots as qe, useAttrs as $t, h as zt } from "vue";
2
- import { defineStore as Oe, storeToRefs as Dt } from "pinia";
3
- import { defaultAppThemeState as je, APP_THEME_STATE as Qe, UI_DB_KEYS as He } from "./common.js";
4
- import { setupToolkitApi as Pt } from "bilitoolkit-runtime";
5
- import Ne from "lodash-es/cloneDeep";
1
+ import { reactive as Ce, watch as le, ref as z, onMounted as ne, onUnmounted as ce, computed as C, toValue as te, shallowRef as Bt, useTemplateRef as K, defineComponent as B, openBlock as r, createElementBlock as f, createElementVNode as a, toDisplayString as m, renderSlot as I, normalizeClass as se, createVNode as v, createCommentVNode as $, useModel as he, createBlock as k, withCtx as d, unref as h, createTextVNode as A, mergeModels as J, withDirectives as W, Fragment as R, renderList as O, normalizeStyle as xe, toRaw as St, render as me, vShow as ge, createApp as De, useCssVars as $t, mergeProps as G, normalizeProps as zt, guardReactiveProps as Dt, withModifiers as Ee, nextTick as we, useSlots as Oe, useAttrs as Pt, h as It } from "vue";
2
+ import { defineStore as je, storeToRefs as Mt } from "pinia";
3
+ import { defaultAppThemeState as Ne, APP_THEME_STATE as Te, UI_DB_KEYS as Le } from "./common.js";
4
+ import { setupToolkitApi as Vt } from "bilitoolkit-runtime";
5
+ import Ze from "lodash-es/cloneDeep";
6
6
  import "element-plus/theme-chalk/dark/css-vars.css";
7
7
  import "element-plus/theme-chalk/el-loading.css";
8
8
  import "element-plus/theme-chalk/el-message.css";
9
9
  import "element-plus/theme-chalk/el-message-box.css";
10
- import { ElMessageBox as It, ElMessage as Vt } from "element-plus";
11
- import { BiliApiBusinessError as Mt, audioQualityMap as Qt, videoQualityMap as Ht, videoCodecIdMap as Tt, parseVideoZoneV1 as Lt, parseVideoZoneV2 as Rt } from "@ybgnb/bili-api";
12
- import { isCanceledError as Ut, getErrorMessage as Ft, createAbortError as Ze, serializeError as qt, getFormattedDateTime as Ot, inArray as jt, formatFileSizeFromKB as Nt, formatDuration as ze, formatTime as fe } from "@ybgnb/utils";
13
- import { AppError as Zt, downloadTaskStatusMap as We, downloadResourceNameMap as Wt } from "bilitoolkit-types";
14
- import { ElDialog as re, ElButton as Z, ElLoadingDirective as De, ElRow as Gt, ElCol as Jt, ElInput as Ge, ElProgress as Je, ElIcon as Pe, ElTooltip as Ke, ElPopconfirm as Kt, ElMenuItem as Ye, ElSubMenu as Yt, ElMenu as Xt, ElPopover as es, ElDropdown as ts, ElDropdownMenu as ss, ElDropdownItem as ls, ElTable as ns, ElTableColumn as as, ElEmpty as Xe, ElPagination as et, ElCheckbox as os, ElTag as tt, ElText as is, ElImage as st, ElDescriptions as cs, ElDescriptionsItem as rs, ElRadioGroup as us, ElRadioButton as ds } from "element-plus/es";
10
+ import { ElMessageBox as Qt, ElMessage as Ht } from "element-plus";
11
+ import { BiliApiBusinessError as Tt, BiliClient as Lt, audioQualityMap as Rt, videoQualityMap as Ft, videoCodecIdMap as Ut, parseVideoZoneV1 as qt, parseVideoZoneV2 as Ot } from "@ybgnb/bili-api";
12
+ import { isCanceledError as jt, getErrorMessage as Nt, createAbortError as We, serializeError as Zt, getFormattedDateTime as Wt, unwrapBizResult as Gt, inArray as Jt, formatFileSizeFromKB as Kt, formatDuration as Pe, formatTime as fe } from "@ybgnb/utils";
13
+ import { AppError as Yt, downloadTaskStatusMap as Ge, downloadResourceNameMap as Xt } from "bilitoolkit-types";
14
+ import { ElDialog as re, ElButton as Z, ElLoadingDirective as Ie, ElRow as es, ElCol as ts, ElInput as Je, ElProgress as Ke, ElIcon as Me, ElTooltip as Ye, ElPopconfirm as ss, ElMenuItem as Xe, ElSubMenu as ls, ElMenu as ns, ElPopover as as, ElDropdown as os, ElDropdownMenu as is, ElDropdownItem as cs, ElTable as rs, ElTableColumn as us, ElEmpty as et, ElPagination as tt, ElCheckbox as ds, ElTag as st, ElText as vs, ElImage as lt, ElDescriptions as ps, ElDescriptionsItem as ms, ElRadioGroup as gs, ElRadioButton as fs } from "element-plus/es";
15
15
  import "element-plus/es/components/base/style/css";
16
16
  import "element-plus/es/components/dialog/style/css";
17
17
  import "element-plus/es/components/button/style/css";
@@ -42,70 +42,70 @@ import "element-plus/es/components/image/style/css";
42
42
  import "element-plus/es/components/text/style/css";
43
43
  import "element-plus/es/components/radio-group/style/css";
44
44
  import "element-plus/es/components/radio-button/style/css";
45
- const H = Pt();
46
- var T = (e, n, s, t = "srgb", i) => `color-mix(in ${t}, ${e} ${s}%, ${n} ${100 - s}%)`, lt = (e) => {
47
- let n = parseInt(e.slice(1, 3), 16), s = parseInt(e.slice(3, 5), 16), t = parseInt(e.slice(5, 7), 16);
48
- return { r: n, g: s, b: t };
49
- }, vs = (e, n) => {
50
- document.documentElement.style.setProperty(e, n);
45
+ const H = Vt();
46
+ var T = (e, l, s, t = "srgb", i) => `color-mix(in ${t}, ${e} ${s}%, ${l} ${100 - s}%)`, nt = (e) => {
47
+ let l = parseInt(e.slice(1, 3), 16), s = parseInt(e.slice(3, 5), 16), t = parseInt(e.slice(5, 7), 16);
48
+ return { r: l, g: s, b: t };
49
+ }, _s = (e, l) => {
50
+ document.documentElement.style.setProperty(e, l);
51
51
  };
52
- const Te = "#ffffff", Le = "#000000", Ae = (e, n, s) => {
53
- const { r: t, g: i, b: l } = lt(e);
52
+ const Re = "#ffffff", Fe = "#000000", ke = (e, l, s) => {
53
+ const { r: t, g: i, b: n } = nt(e);
54
54
  for (let o = 2; o < 100; ) {
55
55
  const c = o / 100;
56
- n[`${s}-transparent-${o}`] = `rgba(${t}, ${i}, ${l}, ${c})`, o >= 10 ? o += 5 : o++;
56
+ l[`${s}-transparent-${o}`] = `rgba(${t}, ${i}, ${n}, ${c})`, o >= 10 ? o += 5 : o++;
57
57
  }
58
- }, Ie = (e, n, s) => {
58
+ }, Ve = (e, l, s) => {
59
59
  const t = {};
60
60
  s ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
61
- const i = t["--app-color-foreground"] = s ? Te : Le, l = t["--app-color-background"] = s ? Le : Te;
62
- t["--app-primary-color"] = e, t["--el-color-primary"] = e, t["--el-color-primary-light-1"] = T(e, l, 90), t["--el-color-primary-light-2"] = T(e, l, 80), t["--el-color-primary-light-3"] = T(e, l, 70), t["--el-color-primary-light-4"] = T(e, l, 60), t["--el-color-primary-light-5"] = T(e, l, 50), t["--el-color-primary-light-6"] = T(e, l, 40), t["--el-color-primary-light-7"] = T(e, l, 30), t["--el-color-primary-light-8"] = T(e, l, 20), t["--el-color-primary-light-9"] = T(e, l, 12), t["--el-color-primary-dark-1"] = T(e, i, 90), t["--el-color-primary-dark-2"] = T(e, i, 80), t["--el-color-primary-dark-3"] = T(e, i, 70), t["--el-color-primary-dark-4"] = T(e, i, 60), t["--el-color-primary-dark-5"] = T(e, i, 50), t["--el-color-primary-dark-6"] = T(e, i, 40), t["--el-color-primary-dark-7"] = T(e, i, 30), t["--el-color-primary-dark-8"] = T(e, i, 20), t["--el-color-primary-dark-9"] = T(e, i, 12);
63
- const { r: o, g: c, b: v } = lt(e);
64
- t["--app-bg-color-overlay"] = `rgba(${o}, ${c}, ${v}, 0.05)`, t["--app-bg-color-overlay-hover"] = `rgba(${o}, ${c}, ${v}, 0.15)`, t["--app-bg-color-page"] = s ? "var(--el-fill-color-blank)" : "transparent", t["--app-bg-color-menus"] = "var(--app-bg-color-page)", s ? t["--app-text-shadow"] = " 0px 1px 2px rgba(255, 255, 255, .4)" : t["--app-text-shadow"] = " 0px 1px 2px rgba(0, 0, 0, .4)", Ae(e, t, "--app-color-primary"), Ae(l, t, "--app-color-background"), Ae(i, t, "--app-color-foreground");
61
+ const i = t["--app-color-foreground"] = s ? Re : Fe, n = t["--app-color-background"] = s ? Fe : Re;
62
+ t["--app-primary-color"] = e, t["--el-color-primary"] = e, t["--el-color-primary-light-1"] = T(e, n, 90), t["--el-color-primary-light-2"] = T(e, n, 80), t["--el-color-primary-light-3"] = T(e, n, 70), t["--el-color-primary-light-4"] = T(e, n, 60), t["--el-color-primary-light-5"] = T(e, n, 50), t["--el-color-primary-light-6"] = T(e, n, 40), t["--el-color-primary-light-7"] = T(e, n, 30), t["--el-color-primary-light-8"] = T(e, n, 20), t["--el-color-primary-light-9"] = T(e, n, 12), t["--el-color-primary-dark-1"] = T(e, i, 90), t["--el-color-primary-dark-2"] = T(e, i, 80), t["--el-color-primary-dark-3"] = T(e, i, 70), t["--el-color-primary-dark-4"] = T(e, i, 60), t["--el-color-primary-dark-5"] = T(e, i, 50), t["--el-color-primary-dark-6"] = T(e, i, 40), t["--el-color-primary-dark-7"] = T(e, i, 30), t["--el-color-primary-dark-8"] = T(e, i, 20), t["--el-color-primary-dark-9"] = T(e, i, 12);
63
+ const { r: o, g: c, b: u } = nt(e);
64
+ t["--app-bg-color-overlay"] = `rgba(${o}, ${c}, ${u}, 0.05)`, t["--app-bg-color-overlay-hover"] = `rgba(${o}, ${c}, ${u}, 0.15)`, t["--app-bg-color-page"] = s ? "var(--el-fill-color-blank)" : "transparent", t["--app-bg-color-menus"] = "var(--app-bg-color-page)", s ? t["--app-text-shadow"] = " 0px 1px 2px rgba(255, 255, 255, .4)" : t["--app-text-shadow"] = " 0px 1px 2px rgba(0, 0, 0, .4)", ke(e, t, "--app-color-primary"), ke(n, t, "--app-color-background"), ke(i, t, "--app-color-foreground");
65
65
  for (const p in t)
66
- vs(p, t[p]);
67
- }, Ve = async (e) => {
68
- const n = e ?? (await H.system.getAppThemeState()).themeMode;
69
- return n === "system" ? await H.system.shouldUseDarkColors() : n === "dark";
66
+ _s(p, t[p]);
67
+ }, Qe = async (e) => {
68
+ const l = e ?? (await H.system.getAppThemeState()).themeMode;
69
+ return l === "system" ? await H.system.shouldUseDarkColors() : l === "dark";
70
70
  }, _e = async (e) => {
71
- const n = e ?? await H.system.getAppThemeState(), s = await Ve(n.themeMode);
72
- Ie(n.primaryColor, n.themeMode, s);
73
- }, ao = async () => {
71
+ const l = e ?? await H.system.getAppThemeState(), s = await Qe(l.themeMode);
72
+ Ve(l.primaryColor, l.themeMode, s);
73
+ }, fo = async () => {
74
74
  await _e(void 0);
75
- }, oo = async () => {
76
- await _e(je);
77
- }, io = async (e) => {
78
- const s = ye().state, t = await Ve(e);
79
- s.dark = t, s.themeMode = e, Ie(s.primaryColor, e, t);
80
- }, co = async (e) => {
81
- const s = ye().state, t = await Ve(s.themeMode);
82
- s.primaryColor = e, Ie(e, s.themeMode, t);
83
- }, ye = Oe(
75
+ }, _o = async () => {
76
+ await _e(Ne);
77
+ }, ho = async (e) => {
78
+ const s = ye().state, t = await Qe(e);
79
+ s.dark = t, s.themeMode = e, Ve(s.primaryColor, e, t);
80
+ }, wo = async (e) => {
81
+ const s = ye().state, t = await Qe(s.themeMode);
82
+ s.primaryColor = e, Ve(e, s.themeMode, t);
83
+ }, ye = je(
84
84
  "biliToolkit-ui-theme",
85
85
  () => {
86
- const e = Ce(je);
87
- let n = !1;
88
- const s = async (l, o) => {
86
+ const e = Ce(Ne);
87
+ let l = !1;
88
+ const s = async (n, o) => {
89
89
  const c = await window.toolkitApi.system.getAppThemeState();
90
- Object.assign(e, c), await _e(c), l && o && (n = !0, le(
90
+ Object.assign(e, c), await _e(c), n && o && (l = !0, le(
91
91
  () => e,
92
- (v) => {
93
- const p = Ne(v);
94
- window.toolkitApi.db.write(l, p).then(async () => {
92
+ (u) => {
93
+ const p = Ze(u);
94
+ window.toolkitApi.db.write(n, p).then(async () => {
95
95
  await window.toolkitApi.event.emit(o, p);
96
96
  });
97
97
  },
98
98
  { deep: !0 }
99
99
  ));
100
100
  };
101
- window.toolkitApi.event.onUpdateAppTheme((l) => {
102
- n || Object.assign(e, l), _e(l).then();
101
+ window.toolkitApi.event.onUpdateAppTheme((n) => {
102
+ l || Object.assign(e, n), _e(n).then();
103
103
  }).catch();
104
- const t = (l) => (e.primaryColor = l, e.primaryColor);
104
+ const t = (n) => (e.primaryColor = n, e.primaryColor);
105
105
  return { init: s, state: e, switchThemeColor: () => {
106
- e.primaryColorIndex = (e.primaryColorIndex + 1) % Qe.primaryColors.length;
107
- const l = Qe.primaryColors[e.primaryColorIndex];
108
- return t(l);
106
+ e.primaryColorIndex = (e.primaryColorIndex + 1) % Te.primaryColors.length;
107
+ const n = Te.primaryColors[e.primaryColorIndex];
108
+ return t(n);
109
109
  }, setPrimaryColor: t };
110
110
  },
111
111
  {
@@ -113,51 +113,51 @@ const Te = "#ffffff", Le = "#000000", Ae = (e, n, s) => {
113
113
  persist: !1
114
114
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
115
115
  }
116
- ), nt = Oe("biliToolkit-ui-selected-user", () => {
117
- const e = z(null), n = async () => {
116
+ ), at = je("biliToolkit-ui-selected-user", () => {
117
+ const e = z(null), l = async () => {
118
118
  try {
119
- e.value = (await window.toolkitApi.db.init(He.UI_SELECTED_USER))?.user ?? null;
119
+ e.value = (await window.toolkitApi.db.init(Le.UI_SELECTED_USER))?.user ?? null;
120
120
  } catch {
121
121
  }
122
122
  };
123
123
  return le(
124
124
  () => e.value,
125
- async (l) => {
126
- let o = l != null ? Ne(l) : null;
127
- await window.toolkitApi.db.write(He.UI_SELECTED_USER, {
125
+ async (n) => {
126
+ let o = n != null ? Ze(n) : null;
127
+ await window.toolkitApi.db.write(Le.UI_SELECTED_USER, {
128
128
  user: o
129
129
  }), o && await window.toolkitApi.user.switchCurrUser(o);
130
130
  },
131
131
  { deep: !0 }
132
- ), { init: n, user: e, deleteUser: () => {
132
+ ), { init: l, user: e, deleteUser: () => {
133
133
  e.value = null;
134
- }, setUser: (l) => {
135
- e.value = l;
134
+ }, setUser: (n) => {
135
+ e.value = n;
136
136
  }, assertLoggedIn: () => {
137
137
  if (e.value == null)
138
138
  throw new Error("请先登录");
139
139
  } };
140
- }), ro = async (e, n) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await ye(e).init(n?.appThemeDBName, n?.appThemeUpdateEvent), await nt(e).init(), {
140
+ }), yo = async (e, l) => (Promise.resolve({ }), Promise.resolve({ }), Promise.resolve({ }), await ye(e).init(l?.appThemeDBName, l?.appThemeUpdateEvent), await at(e).init(), {
141
141
  install(s) {
142
142
  }
143
143
  });
144
- function ps(e) {
144
+ function hs(e) {
145
145
  H.system.saveLog({
146
146
  level: "error",
147
- data: [JSON.stringify(qt(e))]
147
+ data: [JSON.stringify(Zt(e))]
148
148
  }).catch();
149
149
  }
150
- function Re(e, n) {
151
- return e == null ? !1 : e instanceof n || typeof e == "object" && "name" in e && e.name === n.name;
150
+ function Ue(e, l) {
151
+ return e == null ? !1 : e instanceof l || typeof e == "object" && "name" in e && e.name === l.name;
152
152
  }
153
- const uo = (e) => {
154
- if (!Ut(e))
153
+ const Ao = (e) => {
154
+ if (!jt(e))
155
155
  if (e) {
156
156
  console.error(e);
157
- const n = () => {
158
- H && H.system && ps(e);
157
+ const l = () => {
158
+ H && H.system && hs(e);
159
159
  };
160
- Re(e, Zt) ? ie(`${e.message}`) : Re(e, Mt) ? (ie(`${e.message} (${e.responseCode})`), n()) : (ie(Ft(e)), n());
160
+ Ue(e, Yt) ? ie(`${e.message}`) : Ue(e, Tt) ? (ie(`${e.message} (${e.responseCode})`), l()) : (ie(Nt(e)), l());
161
161
  } else
162
162
  Y({
163
163
  message: "未知错误",
@@ -165,12 +165,12 @@ const uo = (e) => {
165
165
  });
166
166
  };
167
167
  function Y(e) {
168
- const n = {
168
+ const l = {
169
169
  message: "",
170
170
  type: "success",
171
171
  duration: 3e3
172
172
  };
173
- typeof e == "string" ? n.message = e : Object.assign(n, e), Vt(n);
173
+ typeof e == "string" ? l.message = e : Object.assign(l, e), Ht(l);
174
174
  }
175
175
  function ie(e) {
176
176
  Y({
@@ -178,17 +178,17 @@ function ie(e) {
178
178
  type: "error"
179
179
  });
180
180
  }
181
- function vo(e) {
181
+ function ko(e) {
182
182
  Y({
183
183
  message: e,
184
184
  type: "warning"
185
185
  });
186
186
  }
187
- function ms(e, n = "提示", s = {}) {
187
+ function ws(e, l = "提示", s = {}) {
188
188
  return new Promise((t, i) => {
189
- It.confirm(
189
+ Qt.confirm(
190
190
  e,
191
- n,
191
+ l,
192
192
  Object.assign(
193
193
  {
194
194
  autofocus: !1,
@@ -202,42 +202,42 @@ function ms(e, n = "提示", s = {}) {
202
202
  ).then(() => {
203
203
  t();
204
204
  }).catch(() => {
205
- i(Ze());
205
+ i(We());
206
206
  });
207
207
  });
208
208
  }
209
- async function po(e) {
210
- for (const [n, s, t] of e)
211
- await ms(n, s, t);
209
+ async function bo(e) {
210
+ for (const [l, s, t] of e)
211
+ await ws(l, s, t);
212
212
  }
213
- const Me = (e) => {
214
- const n = e?.loading ?? z(!1);
213
+ const He = (e) => {
214
+ const l = e?.loading ?? z(!1);
215
215
  let s = null;
216
216
  const t = z(!1);
217
217
  return {
218
- loading: n,
218
+ loading: l,
219
219
  hasLoaded: t,
220
- loadingData: (l) => async (...o) => (e?.singleFlight && n.value && s || (s = (async () => {
221
- n.value = !0;
220
+ loadingData: (n) => async (...o) => (e?.singleFlight && l.value && s || (s = (async () => {
221
+ l.value = !0;
222
222
  try {
223
- return typeof l == "function" ? await l(...o) : await l;
223
+ return typeof n == "function" ? await n(...o) : await n;
224
224
  } finally {
225
- n.value = !1, t.value = !0, s = null;
225
+ l.value = !1, t.value = !0, s = null;
226
226
  }
227
227
  })()), s)
228
228
  };
229
- }, mo = (e, n = 3e3) => {
230
- const { loading: s, loadingData: t } = Me({ singleFlight: !0 }), i = t(e);
231
- let l = null;
229
+ }, Co = (e, l = 3e3) => {
230
+ const { loading: s, loadingData: t } = He({ singleFlight: !0 }), i = t(e);
231
+ let n = null;
232
232
  return ne(async () => {
233
- l = setInterval(i, n);
233
+ n = setInterval(i, l);
234
234
  }), ce(() => {
235
- l && (clearInterval(l), l = null);
235
+ n && (clearInterval(n), n = null);
236
236
  }), { loading: s, refreshTableData: i, reset: () => {
237
- l && (clearInterval(l), l = null), i(), l = setInterval(i, n);
237
+ n && (clearInterval(n), n = null), i(), n = setInterval(i, l);
238
238
  } };
239
- }, at = (e) => {
240
- const { fetchPage: n, pageParams: s, queryParams: t, autoLoad: i, onLoaded: l } = e, o = C(() => {
239
+ }, ot = (e) => {
240
+ const { fetchPage: l, pageParams: s, queryParams: t, autoLoad: i, onLoaded: n } = e, o = C(() => {
241
241
  const D = te(s);
242
242
  return {
243
243
  pageNum: D?.pageNum ?? 1,
@@ -245,20 +245,20 @@ const Me = (e) => {
245
245
  totalPages: 0,
246
246
  total: 0
247
247
  };
248
- }), c = z(o.value), v = z([]), { loading: p, loadingData: _ } = Me(), w = _(async () => {
249
- const D = te(t), M = {
248
+ }), c = z(o.value), u = z([]), { loading: p, loadingData: _ } = He(), w = _(async () => {
249
+ const D = te(t), V = {
250
250
  pageNum: c.value.pageNum,
251
251
  pageSize: c.value.pageSize
252
- }, { data: U, ...P } = D ? await n(M, D) : await n(M);
253
- v.value = U, c.value = P, l?.();
252
+ }, { data: F, ...P } = D ? await l(V, D) : await l(V);
253
+ u.value = F, c.value = P, n?.();
254
254
  }), g = () => {
255
- const { pageSize: D, ...M } = o.value;
256
- Object.assign(c.value, M);
255
+ const { pageSize: D, ...V } = o.value;
256
+ Object.assign(c.value, V);
257
257
  }, b = async () => {
258
258
  g(), await w();
259
259
  }, x = async () => {
260
260
  c.value.pageNum = 1, await w();
261
- }, V = async () => {
261
+ }, M = async () => {
262
262
  await x();
263
263
  }, E = async () => {
264
264
  await w();
@@ -267,35 +267,35 @@ const Me = (e) => {
267
267
  await b();
268
268
  }), {
269
269
  pageData: c,
270
- tableData: v,
270
+ tableData: u,
271
271
  loading: p,
272
272
  refresh: w,
273
273
  resetAndRefresh: b,
274
274
  resetPageAndRefresh: x,
275
- handleSizeChange: V,
275
+ handleSizeChange: M,
276
276
  handleCurrPageChange: E
277
277
  };
278
- }, go = (e, n, s = []) => {
279
- const t = Ct([...s]);
278
+ }, xo = (e, l, s = []) => {
279
+ const t = Bt([...s]);
280
280
  function i(g) {
281
- return t.value.includes(n(g));
281
+ return t.value.includes(l(g));
282
282
  }
283
- function l(g) {
284
- const b = n(g);
283
+ function n(g) {
284
+ const b = l(g);
285
285
  i(g) ? t.value = t.value.filter((x) => x !== b) : t.value = [...t.value, b];
286
286
  }
287
287
  const o = C(() => {
288
288
  const g = te(e);
289
- return g.length > 0 && g.every((b) => t.value.includes(n(b)));
289
+ return g.length > 0 && g.every((b) => t.value.includes(l(b)));
290
290
  });
291
291
  function c() {
292
- o.value ? t.value = [] : t.value = te(e).map(n);
292
+ o.value ? t.value = [] : t.value = te(e).map(l);
293
293
  }
294
- function v() {
295
- return te(e).filter((g) => t.value.includes(n(g)));
294
+ function u() {
295
+ return te(e).filter((g) => t.value.includes(l(g)));
296
296
  }
297
297
  function p() {
298
- const g = new Set(te(e).map(n));
298
+ const g = new Set(te(e).map(l));
299
299
  t.value = t.value.filter((b) => g.has(b));
300
300
  }
301
301
  function _() {
@@ -307,40 +307,40 @@ const Me = (e) => {
307
307
  return {
308
308
  selectedIds: t,
309
309
  isSelected: i,
310
- toggleSelect: l,
310
+ toggleSelect: n,
311
311
  isAllSelected: o,
312
312
  toggleAll: c,
313
- getSelectedData: v,
313
+ getSelectedData: u,
314
314
  cleanupSelected: p,
315
315
  clearSelected: _,
316
316
  select: w
317
317
  };
318
- }, gs = (e) => {
319
- const n = K(e), s = z(0), t = () => {
320
- n.value?.clientHeight && (s.value = n.value.clientHeight);
318
+ }, ys = (e) => {
319
+ const l = K(e), s = z(0), t = () => {
320
+ l.value?.clientHeight && (s.value = l.value.clientHeight);
321
321
  };
322
- let i, l = 0;
322
+ let i, n = 0;
323
323
  return ne(() => {
324
- n.value && (t(), i = new ResizeObserver(() => {
325
- cancelAnimationFrame(l), l = requestAnimationFrame(t);
326
- }), i.observe(n.value));
324
+ l.value && (t(), i = new ResizeObserver(() => {
325
+ cancelAnimationFrame(n), n = requestAnimationFrame(t);
326
+ }), i.observe(l.value));
327
327
  }), ce(() => {
328
- i?.disconnect(), cancelAnimationFrame(l);
328
+ i?.disconnect(), cancelAnimationFrame(n);
329
329
  }), {
330
- elementRef: n,
330
+ elementRef: l,
331
331
  height: s,
332
332
  updateHeight: t
333
333
  };
334
- }, fs = { class: "setting-group" }, _s = { class: "setting-group__name" }, hs = { class: "setting-group__list" }, fo = /* @__PURE__ */ B({
334
+ }, As = { class: "setting-group" }, ks = { class: "setting-group__name" }, bs = { class: "setting-group__list" }, Eo = /* @__PURE__ */ B({
335
335
  __name: "SettingGroup",
336
336
  props: {
337
337
  name: {}
338
338
  },
339
339
  setup(e) {
340
- const n = e;
341
- return (s, t) => (r(), f("div", fs, [
342
- a("div", _s, m(n.name), 1),
343
- a("div", hs, [
340
+ const l = e;
341
+ return (s, t) => (r(), f("div", As, [
342
+ a("div", ks, m(l.name), 1),
343
+ a("div", bs, [
344
344
  I(s.$slots, "default")
345
345
  ])
346
346
  ]));
@@ -351,15 +351,15 @@ const Me = (e) => {
351
351
  icon: {}
352
352
  },
353
353
  setup(e) {
354
- const n = e, s = ye(), t = C(() => s.state.dark ? `ri-${n.icon}-fill` : `ri-${n.icon}-line`);
355
- return (i, l) => (r(), f("i", {
354
+ const l = e, s = ye(), t = C(() => s.state.dark ? `ri-${l.icon}-fill` : `ri-${l.icon}-line`);
355
+ return (i, n) => (r(), f("i", {
356
356
  class: se([t.value, "icon-font"])
357
357
  }, null, 2));
358
358
  }
359
- }), ws = { class: "setting-item" }, ys = { class: "setting-item__content" }, ks = { class: "setting-item__content__title" }, As = {
359
+ }), Cs = { class: "setting-item" }, xs = { class: "setting-item__content" }, Es = { class: "setting-item__content__title" }, Bs = {
360
360
  key: 0,
361
361
  class: "setting-item__content__desc"
362
- }, bs = { class: "setting-item__options" }, Cs = /* @__PURE__ */ B({
362
+ }, Ss = { class: "setting-item__options" }, $s = /* @__PURE__ */ B({
363
363
  __name: "SettingItem",
364
364
  props: {
365
365
  title: {},
@@ -367,41 +367,41 @@ const Me = (e) => {
367
367
  iconClass: {}
368
368
  },
369
369
  setup(e) {
370
- const n = e, s = z("equalizer-2");
370
+ const l = e, s = z("equalizer-2");
371
371
  return (t, i) => {
372
- const l = N;
373
- return r(), f("div", ws, [
374
- d(l, {
372
+ const n = N;
373
+ return r(), f("div", Cs, [
374
+ v(n, {
375
375
  class: "setting-item__icon",
376
- icon: n.iconClass || s.value
376
+ icon: l.iconClass || s.value
377
377
  }, null, 8, ["icon"]),
378
- a("div", ys, [
379
- a("div", ks, m(n.title), 1),
380
- n.desc ? (r(), f("div", As, m(n.desc), 1)) : $("", !0)
378
+ a("div", xs, [
379
+ a("div", Es, m(l.title), 1),
380
+ l.desc ? (r(), f("div", Bs, m(l.desc), 1)) : $("", !0)
381
381
  ]),
382
- a("div", bs, [
382
+ a("div", Ss, [
383
383
  I(t.$slots, "default", {}, void 0, !0)
384
384
  ])
385
385
  ]);
386
386
  };
387
387
  }
388
- }), L = (e, n) => {
388
+ }), L = (e, l) => {
389
389
  const s = e.__vccOpts || e;
390
- for (const [t, i] of n)
390
+ for (const [t, i] of l)
391
391
  s[t] = i;
392
392
  return s;
393
- }, _o = /* @__PURE__ */ L(Cs, [["__scopeId", "data-v-bb581bf5"]]);
394
- function xs(e) {
395
- const n = z(e), s = z(null), t = (l) => {
396
- n.value = e, s.value = setInterval(() => {
397
- n.value > 1 ? n.value-- : (i(), l());
393
+ }, Bo = /* @__PURE__ */ L($s, [["__scopeId", "data-v-bb581bf5"]]);
394
+ function zs(e) {
395
+ const l = z(e), s = z(null), t = (n) => {
396
+ l.value = e, s.value = setInterval(() => {
397
+ l.value > 1 ? l.value-- : (i(), n());
398
398
  }, 1e3);
399
399
  }, i = () => {
400
400
  s.value && (clearInterval(s.value), s.value = null);
401
401
  };
402
- return ce(i), { countdown: n, start: t, stop: i };
402
+ return ce(i), { countdown: l, start: t, stop: i };
403
403
  }
404
- const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
404
+ const Ds = { class: "dialog-footer" }, So = /* @__PURE__ */ B({
405
405
  __name: "CountdownDialog",
406
406
  props: /* @__PURE__ */ J({
407
407
  content: {},
@@ -415,21 +415,21 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
415
415
  modelModifiers: {}
416
416
  }),
417
417
  emits: /* @__PURE__ */ J(["onConfirm", "onCancel"], ["update:modelValue"]),
418
- setup(e, { expose: n, emit: s }) {
419
- const t = e, i = he(e, "modelValue"), l = s, { countdown: o, start: c, stop: v } = xs(t.countdown);
418
+ setup(e, { expose: l, emit: s }) {
419
+ const t = e, i = he(e, "modelValue"), n = s, { countdown: o, start: c, stop: u } = zs(t.countdown);
420
420
  let p = !1;
421
421
  const _ = (x) => {
422
- p || (p = !0, v(), l(x === "confirm" ? "onConfirm" : "onCancel", x), i.value = !1, p = !1);
422
+ p || (p = !0, u(), n(x === "confirm" ? "onConfirm" : "onCancel", x), i.value = !1, p = !1);
423
423
  }, w = () => _("confirm"), g = () => _("cancel"), b = () => {
424
424
  i.value = !0, c(g);
425
425
  };
426
- return le(i, (x, V) => {
427
- x && !V && c(g);
428
- }), n({ show: b }), (x, V) => {
426
+ return le(i, (x, M) => {
427
+ x && !M && c(g);
428
+ }), l({ show: b }), (x, M) => {
429
429
  const E = Z, D = re;
430
- return r(), A(D, {
430
+ return r(), k(D, {
431
431
  modelValue: i.value,
432
- "onUpdate:modelValue": V[0] || (V[0] = (M) => i.value = M),
432
+ "onUpdate:modelValue": M[0] || (M[0] = (V) => i.value = V),
433
433
  title: e.title,
434
434
  width: e.width,
435
435
  "close-on-click-modal": !1,
@@ -437,27 +437,27 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
437
437
  "show-close": !1,
438
438
  "append-to-body": !0
439
439
  }, {
440
- footer: u(() => [
441
- a("div", Es, [
442
- d(E, { onClick: g }, {
443
- default: u(() => [
444
- k(m(e.cancelBtnText) + "(" + m(h(o)) + "s)", 1)
440
+ footer: d(() => [
441
+ a("div", Ds, [
442
+ v(E, { onClick: g }, {
443
+ default: d(() => [
444
+ A(m(e.cancelBtnText) + "(" + m(h(o)) + "s)", 1)
445
445
  ]),
446
446
  _: 1
447
447
  }),
448
- d(E, {
448
+ v(E, {
449
449
  type: "primary",
450
450
  disabled: h(o) <= 0,
451
451
  onClick: w
452
452
  }, {
453
- default: u(() => [
454
- k(m(e.confirmBtnText), 1)
453
+ default: d(() => [
454
+ A(m(e.confirmBtnText), 1)
455
455
  ]),
456
456
  _: 1
457
457
  }, 8, ["disabled"])
458
458
  ])
459
459
  ]),
460
- default: u(() => [
460
+ default: d(() => [
461
461
  a("div", null, m(e.content), 1),
462
462
  a("div", null, m(h(o)) + "秒后自动取消", 1)
463
463
  ]),
@@ -465,7 +465,7 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
465
465
  }, 8, ["modelValue", "title", "width"]);
466
466
  };
467
467
  }
468
- }), Bs = { class: "select-dialog" }, Ss = ["onClick"], $s = { class: "option-item-label" }, zs = { key: 0 }, Ds = { key: 1 }, Ps = /* @__PURE__ */ B({
468
+ }), Ps = { class: "select-dialog" }, Is = ["onClick"], Ms = { class: "option-item-label" }, Vs = { key: 0 }, Qs = { key: 1 }, Hs = /* @__PURE__ */ B({
469
469
  __name: "SelectDialog",
470
470
  props: /* @__PURE__ */ J({
471
471
  title: { default: "请选择" },
@@ -484,47 +484,47 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
484
484
  modelModifiers: {}
485
485
  }),
486
486
  emits: /* @__PURE__ */ J(["confirm"], ["update:modelValue"]),
487
- setup(e, { emit: n }) {
488
- const s = e, t = he(e, "modelValue"), i = Ce([]), l = Ce([]), o = z(0), c = K("listRef"), { loading: v, loadingData: p } = Me(), _ = z(!1), w = p(async (y) => {
489
- l.splice(0, l.length, ...s.defaultSelectedList);
487
+ setup(e, { emit: l }) {
488
+ const s = e, t = he(e, "modelValue"), i = Ce([]), n = Ce([]), o = z(0), c = K("listRef"), { loading: u, loadingData: p } = He(), _ = z(!1), w = p(async (y) => {
489
+ n.splice(0, n.length, ...s.defaultSelectedList);
490
490
  let S = !1;
491
491
  y(() => {
492
492
  S = !0;
493
493
  });
494
- const F = typeof s.options == "function" ? await s.options() : s.options;
495
- S || i.splice(0, i.length, ...F);
494
+ const U = typeof s.options == "function" ? await s.options() : s.options;
495
+ S || i.splice(0, i.length, ...U);
496
496
  }), g = () => {
497
497
  o.value = c.value?.clientWidth ?? 0, _.value = !0;
498
498
  };
499
499
  le(
500
500
  t,
501
- async (y, S, F) => {
501
+ async (y, S, U) => {
502
502
  if (!y) {
503
503
  _.value = !1;
504
504
  return;
505
505
  }
506
- await w(F);
506
+ await w(U);
507
507
  },
508
508
  { immediate: !0 }
509
509
  );
510
- const b = n, x = () => {
510
+ const b = l, x = () => {
511
511
  t.value = !1;
512
- }, V = () => {
513
- if (!l || l.length === 0) {
512
+ }, M = () => {
513
+ if (!n || n.length === 0) {
514
514
  ie(s.noSelectionTip);
515
515
  return;
516
516
  }
517
- b("confirm", xt(l)), t.value = !1;
518
- }, E = C(() => s.showCurrentSelection && _.value && !v.value && l.length > 0), D = (y) => l.includes(y), M = (y) => {
519
- const S = l.indexOf(y);
520
- S > -1 ? l.splice(S, 1) : s.multiple ? l.push(y) : l.splice(0, l.length, y);
521
- }, U = C(() => i.every((y) => l.includes(y))), P = () => {
522
- U.value ? l.splice(0, l.length) : l.splice(0, l.length, ...i);
517
+ b("confirm", St(n)), t.value = !1;
518
+ }, E = C(() => s.showCurrentSelection && _.value && !u.value && n.length > 0), D = (y) => n.includes(y), V = (y) => {
519
+ const S = n.indexOf(y);
520
+ S > -1 ? n.splice(S, 1) : s.multiple ? n.push(y) : n.splice(0, n.length, y);
521
+ }, F = C(() => i.every((y) => n.includes(y))), P = () => {
522
+ F.value ? n.splice(0, n.length) : n.splice(0, n.length, ...i);
523
523
  };
524
524
  return (y, S) => {
525
- const F = Z, X = re, ee = De;
526
- return r(), f("div", Bs, [
527
- d(X, {
525
+ const U = Z, X = re, ee = Ie;
526
+ return r(), f("div", Ps, [
527
+ v(X, {
528
528
  title: e.title,
529
529
  modelValue: t.value,
530
530
  "onUpdate:modelValue": S[0] || (S[0] = (q) => t.value = q),
@@ -535,35 +535,35 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
535
535
  "align-center": "",
536
536
  onOpened: g
537
537
  }, {
538
- footer: u(() => [
538
+ footer: d(() => [
539
539
  e.multiple && e.canSelectAll ? (r(), f("span", {
540
540
  key: 0,
541
- class: se(["select-all", U.value ? "selected" : ""]),
541
+ class: se(["select-all", F.value ? "selected" : ""]),
542
542
  onClick: P
543
543
  }, [...S[1] || (S[1] = [
544
544
  a("span", { class: "select-icon" }, null, -1),
545
- k("全选", -1)
545
+ A("全选", -1)
546
546
  ])], 2)) : $("", !0),
547
- d(F, { onClick: x }, {
548
- default: u(() => [
549
- k(m(e.cancelText), 1)
547
+ v(U, { onClick: x }, {
548
+ default: d(() => [
549
+ A(m(e.cancelText), 1)
550
550
  ]),
551
551
  _: 1
552
552
  }),
553
- d(F, {
553
+ v(U, {
554
554
  type: "primary",
555
- onClick: V,
556
- disabled: h(v)
555
+ onClick: M,
556
+ disabled: h(u)
557
557
  }, {
558
- default: u(() => [
559
- k(m(e.confirmText), 1)
558
+ default: d(() => [
559
+ A(m(e.confirmText), 1)
560
560
  ]),
561
561
  _: 1
562
562
  }, 8, ["disabled"])
563
563
  ]),
564
- default: u(() => [
564
+ default: d(() => [
565
565
  W((r(), f("div", {
566
- class: se(["dialog-content", h(v) ? "loading" : ""])
566
+ class: se(["dialog-content", h(u) ? "loading" : ""])
567
567
  }, [
568
568
  a("div", {
569
569
  ref_key: "listRef",
@@ -573,37 +573,37 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
573
573
  (r(!0), f(R, null, O(i, (q) => (r(), f("div", {
574
574
  class: se(["option-item", D(q) ? "selected" : ""]),
575
575
  key: e.getDataId(q),
576
- onClick: (ue) => M(q)
576
+ onClick: (ue) => V(q)
577
577
  }, [
578
578
  I(y.$slots, "item", {}, () => [
579
579
  a("span", {
580
580
  class: se(["select-icon", e.multiple ? "checkbox" : "radio"])
581
581
  }, null, 2),
582
- a("span", $s, [
582
+ a("span", Ms, [
583
583
  I(y.$slots, "item-label", {}, () => [
584
- k(m(e.getDataLabel(q)), 1)
584
+ A(m(e.getDataLabel(q)), 1)
585
585
  ], !0)
586
586
  ])
587
587
  ], !0)
588
- ], 10, Ss))), 128))
588
+ ], 10, Is))), 128))
589
589
  ], 512),
590
590
  E.value ? (r(), f("div", {
591
591
  key: 0,
592
592
  class: "current-selection",
593
593
  style: xe({ width: `${o.value}px` })
594
594
  }, [
595
- e.multiple ? (r(), f("span", zs, "已选择(" + m(l.length) + "):", 1)) : (r(), f("span", Ds, "已选择:")),
595
+ e.multiple ? (r(), f("span", Vs, "已选择(" + m(n.length) + "):", 1)) : (r(), f("span", Qs, "已选择:")),
596
596
  a("div", {
597
597
  class: "current-selection-list",
598
598
  style: xe({ display: e.multiple ? "flex" : "contents" })
599
599
  }, [
600
- (r(!0), f(R, null, O(l, (q) => (r(), f("span", {
600
+ (r(!0), f(R, null, O(n, (q) => (r(), f("span", {
601
601
  key: e.getDataId(q)
602
602
  }, m(e.getDataLabel(q)), 1))), 128))
603
603
  ], 4)
604
604
  ], 4)) : $("", !0)
605
605
  ], 2)), [
606
- [ee, h(v)]
606
+ [ee, h(u)]
607
607
  ])
608
608
  ]),
609
609
  _: 3
@@ -611,25 +611,25 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
611
611
  ]);
612
612
  };
613
613
  }
614
- }), Is = /* @__PURE__ */ L(Ps, [["__scopeId", "data-v-2ad04bd4"]]), wo = (e) => new Promise((n) => {
614
+ }), Ts = /* @__PURE__ */ L(Hs, [["__scopeId", "data-v-2ad04bd4"]]), $o = (e) => new Promise((l) => {
615
615
  let s = document.createElement("div");
616
- const t = (l) => {
617
- n(l), s && (me(null, s), s.remove(), s = null);
618
- }, i = d(Is, {
616
+ const t = (n) => {
617
+ l(n), s && (me(null, s), s.remove(), s = null);
618
+ }, i = v(Ts, {
619
619
  ...e,
620
620
  modelValue: !0,
621
- "onUpdate:modelValue": (l) => {
622
- l || t();
621
+ "onUpdate:modelValue": (n) => {
622
+ n || t();
623
623
  },
624
- onConfirm: (l) => {
625
- t(l);
624
+ onConfirm: (n) => {
625
+ t(n);
626
626
  }
627
627
  });
628
628
  document.body.appendChild(s), me(i, s);
629
- }), Vs = { class: "dialog-content" }, Ms = { class: "header" }, Qs = {
629
+ }), Ls = { class: "dialog-content" }, Rs = { class: "header" }, Fs = {
630
630
  key: 0,
631
631
  class: "total-desc"
632
- }, Hs = { class: "page-size-desc" }, Ts = { class: "range-desc" }, Ls = /* @__PURE__ */ B({
632
+ }, Us = { class: "page-size-desc" }, qs = { class: "range-desc" }, Os = /* @__PURE__ */ B({
633
633
  __name: "PageRangeDialog",
634
634
  props: /* @__PURE__ */ J({
635
635
  title: { default: "请选择页码范围" },
@@ -645,29 +645,29 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
645
645
  modelModifiers: {}
646
646
  }),
647
647
  emits: /* @__PURE__ */ J(["confirm"], ["update:modelValue"]),
648
- setup(e, { emit: n }) {
649
- const s = e, t = he(e, "modelValue"), i = C(() => s.total != null && s.maxPage != null ? Math.min(s.maxPage, Math.ceil(s.total / s.pageSize)) : s.total != null ? Math.ceil(s.total / s.pageSize) : s.maxPage), l = z(1), o = z(1), c = C(() => `共有 ${s.total} 条数据`), v = C(() => `每页可获取 ${s.pageSize} 条数据`), p = C(() => {
648
+ setup(e, { emit: l }) {
649
+ const s = e, t = he(e, "modelValue"), i = C(() => s.total != null && s.maxPage != null ? Math.min(s.maxPage, Math.ceil(s.total / s.pageSize)) : s.total != null ? Math.ceil(s.total / s.pageSize) : s.maxPage), n = z(1), o = z(1), c = C(() => `共有 ${s.total} 条数据`), u = C(() => `每页可获取 ${s.pageSize} 条数据`), p = C(() => {
650
650
  if (s.total != null) {
651
651
  const b = s.pageSize - Math.max(o.value * s.pageSize - s.total, 0);
652
- return `共选择 ${(o.value - l.value) * s.pageSize + b} 条数据`;
652
+ return `共选择 ${(o.value - n.value) * s.pageSize + b} 条数据`;
653
653
  } else
654
- return `共选择 ${(o.value + 1 - l.value) * s.pageSize} 条数据`;
654
+ return `共选择 ${(o.value + 1 - n.value) * s.pageSize} 条数据`;
655
655
  });
656
656
  le(
657
657
  t,
658
658
  async (b) => {
659
- b && (l.value = s.defaultRange[0], o.value = s.defaultRange[1]);
659
+ b && (n.value = s.defaultRange[0], o.value = s.defaultRange[1]);
660
660
  },
661
661
  { immediate: !0 }
662
662
  );
663
- const _ = n, w = () => {
663
+ const _ = l, w = () => {
664
664
  t.value = !1;
665
665
  }, g = () => {
666
- _("confirm", [l.value, o.value]), t.value = !1;
666
+ _("confirm", [n.value, o.value]), t.value = !1;
667
667
  };
668
668
  return (b, x) => {
669
- const V = Ge, E = Jt, D = Gt, M = Z, U = re;
670
- return r(), A(U, {
669
+ const M = Je, E = ts, D = es, V = Z, F = re;
670
+ return r(), k(F, {
671
671
  title: e.title,
672
672
  modelValue: t.value,
673
673
  "onUpdate:modelValue": x[2] || (x[2] = (P) => t.value = P),
@@ -677,59 +677,59 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
677
677
  "show-close": !0,
678
678
  "align-center": ""
679
679
  }, {
680
- footer: u(() => [
681
- d(M, { onClick: w }, {
682
- default: u(() => [
683
- k(m(e.cancelText), 1)
680
+ footer: d(() => [
681
+ v(V, { onClick: w }, {
682
+ default: d(() => [
683
+ A(m(e.cancelText), 1)
684
684
  ]),
685
685
  _: 1
686
686
  }),
687
- d(M, {
687
+ v(V, {
688
688
  type: "primary",
689
689
  onClick: g
690
690
  }, {
691
- default: u(() => [
692
- k(m(e.confirmText), 1)
691
+ default: d(() => [
692
+ A(m(e.confirmText), 1)
693
693
  ]),
694
694
  _: 1
695
695
  })
696
696
  ]),
697
- default: u(() => [
698
- a("div", Vs, [
699
- a("div", Ms, [
700
- e.total ? (r(), f("div", Qs, m(c.value), 1)) : $("", !0),
701
- a("div", Hs, m(v.value), 1)
697
+ default: d(() => [
698
+ a("div", Ls, [
699
+ a("div", Rs, [
700
+ e.total ? (r(), f("div", Fs, m(c.value), 1)) : $("", !0),
701
+ a("div", Us, m(u.value), 1)
702
702
  ]),
703
- d(D, { class: "page-range" }, {
704
- default: u(() => [
705
- d(E, { span: 11 }, {
706
- default: u(() => [
707
- d(V, {
703
+ v(D, { class: "page-range" }, {
704
+ default: d(() => [
705
+ v(E, { span: 11 }, {
706
+ default: d(() => [
707
+ v(M, {
708
708
  type: "number",
709
- modelValue: l.value,
710
- "onUpdate:modelValue": x[0] || (x[0] = (P) => l.value = P),
709
+ modelValue: n.value,
710
+ "onUpdate:modelValue": x[0] || (x[0] = (P) => n.value = P),
711
711
  min: e.minPage,
712
712
  max: o.value
713
713
  }, null, 8, ["modelValue", "min", "max"])
714
714
  ]),
715
715
  _: 1
716
716
  }),
717
- d(E, {
717
+ v(E, {
718
718
  span: 2,
719
719
  style: { "text-align": "center" }
720
720
  }, {
721
- default: u(() => [...x[3] || (x[3] = [
721
+ default: d(() => [...x[3] || (x[3] = [
722
722
  a("span", null, "-", -1)
723
723
  ])]),
724
724
  _: 1
725
725
  }),
726
- d(E, { span: 11 }, {
727
- default: u(() => [
728
- d(V, {
726
+ v(E, { span: 11 }, {
727
+ default: d(() => [
728
+ v(M, {
729
729
  type: "number",
730
730
  modelValue: o.value,
731
731
  "onUpdate:modelValue": x[1] || (x[1] = (P) => o.value = P),
732
- min: l.value,
732
+ min: n.value,
733
733
  max: i.value
734
734
  }, null, 8, ["modelValue", "min", "max"])
735
735
  ]),
@@ -738,76 +738,76 @@ const Es = { class: "dialog-footer" }, ho = /* @__PURE__ */ B({
738
738
  ]),
739
739
  _: 1
740
740
  }),
741
- a("div", Ts, m(p.value), 1)
741
+ a("div", qs, m(p.value), 1)
742
742
  ])
743
743
  ]),
744
744
  _: 1
745
745
  }, 8, ["title", "modelValue"]);
746
746
  };
747
747
  }
748
- }), Rs = /* @__PURE__ */ L(Ls, [["__scopeId", "data-v-715af5da"]]), yo = (e) => new Promise((n) => {
748
+ }), js = /* @__PURE__ */ L(Os, [["__scopeId", "data-v-715af5da"]]), zo = (e) => new Promise((l) => {
749
749
  let s = document.createElement("div");
750
- const t = (l) => {
751
- s && (me(null, s), s.remove(), s = null), n(l);
752
- }, i = d(Rs, {
750
+ const t = (n) => {
751
+ s && (me(null, s), s.remove(), s = null), l(n);
752
+ }, i = v(js, {
753
753
  ...e,
754
754
  modelValue: !0,
755
- "onUpdate:modelValue"(l) {
756
- l || t();
755
+ "onUpdate:modelValue"(n) {
756
+ n || t();
757
757
  },
758
- onConfirm(l) {
759
- t(l);
758
+ onConfirm(n) {
759
+ t(n);
760
760
  }
761
761
  });
762
762
  document.body.appendChild(s), me(i, s);
763
- }), Us = { class: "loading-mask el-overlay" }, Fs = { class: "loading-content" }, qs = { class: "loading-spinner" }, Os = { class: "loading-text" }, js = /* @__PURE__ */ B({
763
+ }), Ns = { class: "loading-mask el-overlay" }, Zs = { class: "loading-content" }, Ws = { class: "loading-spinner" }, Gs = { class: "loading-text" }, Js = /* @__PURE__ */ B({
764
764
  __name: "LoadingDialog",
765
- setup(e, { expose: n }) {
765
+ setup(e, { expose: l }) {
766
766
  const s = z(!1), t = z(""), i = z(!1);
767
- let l;
767
+ let n;
768
768
  const o = (_ = {}) => {
769
- t.value = _.message ?? "加载中", i.value = _.showCancel ?? !1, l = _.onCancel, _?.autoCloseDelay && setTimeout(() => {
770
- v();
769
+ t.value = _.message ?? "加载中", i.value = _.showCancel ?? !1, n = _.onCancel, _?.autoCloseDelay && setTimeout(() => {
770
+ u();
771
771
  }, _?.autoCloseDelay), s.value = !0;
772
772
  }, c = (_) => {
773
773
  t.value = _;
774
- }, v = () => {
774
+ }, u = () => {
775
775
  s.value = !1;
776
776
  }, p = async () => {
777
- await l?.(), v();
777
+ await n?.(), u();
778
778
  };
779
- return n({
779
+ return l({
780
780
  show: o,
781
781
  update: c,
782
- close: v
782
+ close: u
783
783
  }), (_, w) => {
784
- const g = De;
785
- return W((r(), f("div", Us, [
786
- a("div", Fs, [
784
+ const g = Ie;
785
+ return W((r(), f("div", Ns, [
786
+ a("div", Zs, [
787
787
  W(a("div", {
788
788
  class: "options-close-btn",
789
789
  onClick: p
790
790
  }, null, 512), [
791
791
  [ge, i.value]
792
792
  ]),
793
- W(a("div", qs, null, 512), [
793
+ W(a("div", Ws, null, 512), [
794
794
  [g, !0]
795
795
  ]),
796
- a("div", Os, m(t.value), 1)
796
+ a("div", Gs, m(t.value), 1)
797
797
  ])
798
798
  ], 512)), [
799
799
  [ge, s.value]
800
800
  ]);
801
801
  };
802
802
  }
803
- }), Ns = /* @__PURE__ */ L(js, [["__scopeId", "data-v-a0557392"]]);
803
+ }), Ks = /* @__PURE__ */ L(Js, [["__scopeId", "data-v-a0557392"]]);
804
804
  let ve = null;
805
805
  function be() {
806
806
  if (ve) return ve;
807
807
  const e = document.createElement("div");
808
- return document.body.appendChild(e), ve = $e(Ns).mount(e), ve;
808
+ return document.body.appendChild(e), ve = De(Ks).mount(e), ve;
809
809
  }
810
- const ko = {
810
+ const Do = {
811
811
  show(e) {
812
812
  be().show(e);
813
813
  },
@@ -818,11 +818,11 @@ const ko = {
818
818
  be().close();
819
819
  }
820
820
  };
821
- var Zs = /* @__PURE__ */ B({
821
+ var Ys = /* @__PURE__ */ B({
822
822
  name: "CircleCheck",
823
823
  __name: "circle-check",
824
824
  setup(e) {
825
- return (n, s) => (r(), f("svg", {
825
+ return (l, s) => (r(), f("svg", {
826
826
  xmlns: "http://www.w3.org/2000/svg",
827
827
  viewBox: "0 0 1024 1024"
828
828
  }, [
@@ -836,11 +836,11 @@ var Zs = /* @__PURE__ */ B({
836
836
  })
837
837
  ]));
838
838
  }
839
- }), Ws = Zs, Gs = /* @__PURE__ */ B({
839
+ }), Xs = Ys, el = /* @__PURE__ */ B({
840
840
  name: "CircleClose",
841
841
  __name: "circle-close",
842
842
  setup(e) {
843
- return (n, s) => (r(), f("svg", {
843
+ return (l, s) => (r(), f("svg", {
844
844
  xmlns: "http://www.w3.org/2000/svg",
845
845
  viewBox: "0 0 1024 1024"
846
846
  }, [
@@ -854,11 +854,11 @@ var Zs = /* @__PURE__ */ B({
854
854
  })
855
855
  ]));
856
856
  }
857
- }), Js = Gs, Ks = /* @__PURE__ */ B({
857
+ }), tl = el, sl = /* @__PURE__ */ B({
858
858
  name: "Picture",
859
859
  __name: "picture",
860
860
  setup(e) {
861
- return (n, s) => (r(), f("svg", {
861
+ return (l, s) => (r(), f("svg", {
862
862
  xmlns: "http://www.w3.org/2000/svg",
863
863
  viewBox: "0 0 1024 1024"
864
864
  }, [
@@ -872,85 +872,85 @@ var Zs = /* @__PURE__ */ B({
872
872
  })
873
873
  ]));
874
874
  }
875
- }), ot = Ks;
876
- const Ys = { class: "loading-mask el-overlay" }, Xs = { class: "loading-content" }, el = { class: "status-icon" }, tl = { class: "loading-text" }, sl = { class: "actions" }, ll = /* @__PURE__ */ B({
875
+ }), it = sl;
876
+ const ll = { class: "loading-mask el-overlay" }, nl = { class: "loading-content" }, al = { class: "status-icon" }, ol = { class: "loading-text" }, il = { class: "actions" }, cl = /* @__PURE__ */ B({
877
877
  __name: "ProcessDialog",
878
- setup(e, { expose: n }) {
879
- const s = z(!1), t = z(""), i = z(0), l = z("loading"), o = z(!1);
880
- let c, v;
878
+ setup(e, { expose: l }) {
879
+ const s = z(!1), t = z(""), i = z(0), n = z("loading"), o = z(!1);
880
+ let c, u;
881
881
  const p = (E = {}) => {
882
- t.value = E.message ?? "加载中", o.value = E.showCancel ?? !1, i.value = E.percentage ?? 0, l.value = "loading", c = E.onCancel, v = E.onConfirm, s.value = !0;
882
+ t.value = E.message ?? "加载中", o.value = E.showCancel ?? !1, i.value = E.percentage ?? 0, n.value = "loading", c = E.onCancel, u = E.onConfirm, s.value = !0;
883
883
  }, _ = (E, D) => {
884
884
  E != null && (i.value = E), D != null && (t.value = D);
885
885
  }, w = (E = "操作成功") => {
886
- l.value = "success", t.value = E;
886
+ n.value = "success", t.value = E;
887
887
  }, g = (E = "操作失败") => {
888
- l.value = "error", t.value = E;
888
+ n.value = "error", t.value = E;
889
889
  }, b = () => {
890
890
  s.value = !1;
891
891
  }, x = async () => {
892
892
  await c?.(), b();
893
- }, V = async () => {
894
- await v?.(l.value), b();
893
+ }, M = async () => {
894
+ await u?.(n.value), b();
895
895
  };
896
- return n({
896
+ return l({
897
897
  show: p,
898
898
  update: _,
899
899
  setSuccess: w,
900
900
  setError: g,
901
901
  close: b
902
902
  }), (E, D) => {
903
- const M = Je, U = Pe, P = Z;
904
- return W((r(), f("div", Ys, [
905
- a("div", Xs, [
903
+ const V = Ke, F = Me, P = Z;
904
+ return W((r(), f("div", ll, [
905
+ a("div", nl, [
906
906
  W(a("div", {
907
907
  class: "options-close-btn",
908
908
  onClick: x
909
909
  }, null, 512), [
910
- [ge, o.value && l.value === "loading"]
910
+ [ge, o.value && n.value === "loading"]
911
911
  ]),
912
- a("div", el, [
913
- l.value === "loading" ? (r(), A(M, {
912
+ a("div", al, [
913
+ n.value === "loading" ? (r(), k(V, {
914
914
  key: 0,
915
915
  type: "circle",
916
916
  percentage: i.value,
917
917
  width: 96
918
- }, null, 8, ["percentage"])) : l.value === "success" ? (r(), A(U, {
918
+ }, null, 8, ["percentage"])) : n.value === "success" ? (r(), k(F, {
919
919
  key: 1,
920
920
  size: 42
921
921
  }, {
922
- default: u(() => [
923
- d(h(Ws), { style: { color: "var(--el-color-success)" } })
922
+ default: d(() => [
923
+ v(h(Xs), { style: { color: "var(--el-color-success)" } })
924
924
  ]),
925
925
  _: 1
926
- })) : (r(), A(U, {
926
+ })) : (r(), k(F, {
927
927
  key: 2,
928
928
  size: 42
929
929
  }, {
930
- default: u(() => [
931
- d(h(Js), { style: { color: "var(--el-color-error)" } })
930
+ default: d(() => [
931
+ v(h(tl), { style: { color: "var(--el-color-error)" } })
932
932
  ]),
933
933
  _: 1
934
934
  }))
935
935
  ]),
936
- a("div", tl, m(t.value), 1),
937
- a("div", sl, [
938
- o.value && l.value === "loading" ? (r(), A(P, {
936
+ a("div", ol, m(t.value), 1),
937
+ a("div", il, [
938
+ o.value && n.value === "loading" ? (r(), k(P, {
939
939
  key: 0,
940
940
  onClick: x
941
941
  }, {
942
- default: u(() => [...D[0] || (D[0] = [
943
- k(" 取消 ", -1)
942
+ default: d(() => [...D[0] || (D[0] = [
943
+ A(" 取消 ", -1)
944
944
  ])]),
945
945
  _: 1
946
946
  })) : $("", !0),
947
- l.value !== "loading" ? (r(), A(P, {
947
+ n.value !== "loading" ? (r(), k(P, {
948
948
  key: 1,
949
949
  type: "primary",
950
- onClick: V
950
+ onClick: M
951
951
  }, {
952
- default: u(() => [...D[1] || (D[1] = [
953
- k(" 确定 ", -1)
952
+ default: d(() => [...D[1] || (D[1] = [
953
+ A(" 确定 ", -1)
954
954
  ])]),
955
955
  _: 1
956
956
  })) : $("", !0)
@@ -961,19 +961,19 @@ const Ys = { class: "loading-mask el-overlay" }, Xs = { class: "loading-content"
961
961
  ]);
962
962
  };
963
963
  }
964
- }), nl = /* @__PURE__ */ L(ll, [["__scopeId", "data-v-8ddebb07"]]);
964
+ }), rl = /* @__PURE__ */ L(cl, [["__scopeId", "data-v-8ddebb07"]]);
965
965
  let pe = null;
966
966
  function oe() {
967
967
  if (pe) return pe;
968
968
  const e = document.createElement("div");
969
- return document.body.appendChild(e), pe = $e(nl).mount(e), pe;
969
+ return document.body.appendChild(e), pe = De(rl).mount(e), pe;
970
970
  }
971
- const Ao = {
971
+ const Po = {
972
972
  show(e) {
973
973
  oe().show(e);
974
974
  },
975
- update(e, n) {
976
- oe().update(e, n);
975
+ update(e, l) {
976
+ oe().update(e, l);
977
977
  },
978
978
  success(e) {
979
979
  oe().setSuccess(e);
@@ -984,7 +984,7 @@ const Ao = {
984
984
  close() {
985
985
  oe().close();
986
986
  }
987
- }, al = { class: "tooltip" }, ol = { class: "label" }, ae = /* @__PURE__ */ B({
987
+ }, ul = { class: "tooltip" }, dl = { class: "label" }, ae = /* @__PURE__ */ B({
988
988
  __name: "AppTooltip",
989
989
  props: {
990
990
  content: {},
@@ -993,30 +993,30 @@ const Ao = {
993
993
  iconClass: {}
994
994
  },
995
995
  setup(e) {
996
- Et((c) => ({
996
+ $t((c) => ({
997
997
  v22da9023: h(s)
998
998
  }));
999
- const n = e, s = n.lines, t = () => ({
1000
- "txt-ellipsis-right": n.ellipsis === "right",
1001
- "txt-ellipsis-left": n.ellipsis === "left",
1002
- "single-line": n.lines === 1
1003
- }), i = z(!1), l = K("refContent"), o = new ResizeObserver(() => {
1004
- l.value && (n.lines === 1 ? i.value = l.value.scrollWidth > l.value.clientWidth : i.value = l.value.scrollHeight > l.value.clientHeight);
999
+ const l = e, s = l.lines, t = () => ({
1000
+ "txt-ellipsis-right": l.ellipsis === "right",
1001
+ "txt-ellipsis-left": l.ellipsis === "left",
1002
+ "single-line": l.lines === 1
1003
+ }), i = z(!1), n = K("refContent"), o = new ResizeObserver(() => {
1004
+ n.value && (l.lines === 1 ? i.value = n.value.scrollWidth > n.value.clientWidth : i.value = n.value.scrollHeight > n.value.clientHeight);
1005
1005
  });
1006
1006
  return ne(() => {
1007
- l.value && o.observe(l.value);
1007
+ n.value && o.observe(n.value);
1008
1008
  }), ce(() => {
1009
1009
  o.disconnect();
1010
- }), (c, v) => {
1011
- const p = Ke;
1012
- return r(), f("div", al, [
1013
- a("div", ol, [
1014
- e.iconClass ? (r(), A(N, {
1010
+ }), (c, u) => {
1011
+ const p = Ye;
1012
+ return r(), f("div", ul, [
1013
+ a("div", dl, [
1014
+ e.iconClass ? (r(), k(N, {
1015
1015
  key: 0,
1016
1016
  icon: e.iconClass
1017
1017
  }, null, 8, ["icon"])) : $("", !0)
1018
1018
  ]),
1019
- e.content ? (r(), A(p, {
1019
+ e.content ? (r(), k(p, {
1020
1020
  key: 0,
1021
1021
  effect: "light",
1022
1022
  content: e.content,
@@ -1024,19 +1024,19 @@ const Ao = {
1024
1024
  disabled: !i.value,
1025
1025
  "show-after": 800
1026
1026
  }, {
1027
- content: u(() => [
1027
+ content: d(() => [
1028
1028
  I(c.$slots, "tooltipContent")
1029
1029
  ]),
1030
- default: u(() => [
1030
+ default: d(() => [
1031
1031
  a("div", G({
1032
1032
  ref_key: "refContent",
1033
- ref: l
1033
+ ref: n
1034
1034
  }, c.$attrs, {
1035
1035
  class: ["tooltip__content", t()]
1036
1036
  }), [
1037
1037
  a("span", null, [
1038
1038
  I(c.$slots, "default", {}, () => [
1039
- k(m(e.content), 1)
1039
+ A(m(e.content), 1)
1040
1040
  ])
1041
1041
  ])
1042
1042
  ], 16)
@@ -1046,7 +1046,7 @@ const Ao = {
1046
1046
  ]);
1047
1047
  };
1048
1048
  }
1049
- }), bo = /* @__PURE__ */ B({
1049
+ }), Io = /* @__PURE__ */ B({
1050
1050
  inheritAttrs: !1,
1051
1051
  __name: "IconButton",
1052
1052
  props: {
@@ -1055,29 +1055,29 @@ const Ao = {
1055
1055
  tip: {}
1056
1056
  },
1057
1057
  emits: ["click"],
1058
- setup(e, { emit: n }) {
1059
- const s = n, t = () => {
1058
+ setup(e, { emit: l }) {
1059
+ const s = l, t = () => {
1060
1060
  s("click");
1061
1061
  };
1062
- return (i, l) => {
1063
- const o = Ke, c = Kt;
1062
+ return (i, n) => {
1063
+ const o = Ye, c = ss;
1064
1064
  return e.tip ? (r(), f(R, { key: 0 }, [
1065
- e.confirm ? (r(), A(c, {
1065
+ e.confirm ? (r(), k(c, {
1066
1066
  key: 0,
1067
1067
  title: e.confirm,
1068
1068
  placement: "left",
1069
1069
  onConfirm: t
1070
1070
  }, {
1071
- reference: u(() => [
1072
- a("span", Bt(St(i.$attrs)), [
1073
- d(o, {
1071
+ reference: d(() => [
1072
+ a("span", zt(Dt(i.$attrs)), [
1073
+ v(o, {
1074
1074
  effect: "light",
1075
1075
  content: e.tip,
1076
1076
  placement: "top",
1077
1077
  "show-after": 800
1078
1078
  }, {
1079
- default: u(() => [
1080
- d(N, {
1079
+ default: d(() => [
1080
+ v(N, {
1081
1081
  class: "icon-btn",
1082
1082
  icon: e.icon
1083
1083
  }, null, 8, ["icon"])
@@ -1087,15 +1087,15 @@ const Ao = {
1087
1087
  ], 16)
1088
1088
  ]),
1089
1089
  _: 1
1090
- }, 8, ["title"])) : (r(), A(o, {
1090
+ }, 8, ["title"])) : (r(), k(o, {
1091
1091
  key: 1,
1092
1092
  effect: "light",
1093
1093
  content: e.tip,
1094
1094
  placement: "top",
1095
1095
  "show-after": 800
1096
1096
  }, {
1097
- default: u(() => [
1098
- d(N, G({
1097
+ default: d(() => [
1098
+ v(N, G({
1099
1099
  class: "icon-btn",
1100
1100
  icon: e.icon,
1101
1101
  onClick: Ee(t, ["stop"])
@@ -1104,20 +1104,20 @@ const Ao = {
1104
1104
  _: 1
1105
1105
  }, 8, ["content"]))
1106
1106
  ], 64)) : (r(), f(R, { key: 1 }, [
1107
- e.confirm ? (r(), A(c, {
1107
+ e.confirm ? (r(), k(c, {
1108
1108
  key: 0,
1109
1109
  title: e.confirm,
1110
1110
  placement: "left",
1111
1111
  onConfirm: t
1112
1112
  }, {
1113
- reference: u(() => [
1114
- d(N, G({
1113
+ reference: d(() => [
1114
+ v(N, G({
1115
1115
  class: "icon-btn",
1116
1116
  icon: e.icon
1117
1117
  }, i.$attrs), null, 16, ["icon"])
1118
1118
  ]),
1119
1119
  _: 1
1120
- }, 8, ["title"])) : (r(), A(N, G({
1120
+ }, 8, ["title"])) : (r(), k(N, G({
1121
1121
  key: 1,
1122
1122
  class: "icon-btn",
1123
1123
  icon: e.icon,
@@ -1126,25 +1126,25 @@ const Ao = {
1126
1126
  ], 64));
1127
1127
  };
1128
1128
  }
1129
- }), il = { class: "icon-label" }, it = /* @__PURE__ */ B({
1129
+ }), vl = { class: "icon-label" }, ct = /* @__PURE__ */ B({
1130
1130
  __name: "IconLabel",
1131
1131
  props: {
1132
1132
  icon: {}
1133
1133
  },
1134
1134
  setup(e) {
1135
- return (n, s) => (r(), f("div", il, [
1136
- d(N, { icon: e.icon }, null, 8, ["icon"]),
1137
- I(n.$slots, "default")
1135
+ return (l, s) => (r(), f("div", vl, [
1136
+ v(N, { icon: e.icon }, null, 8, ["icon"]),
1137
+ I(l.$slots, "default")
1138
1138
  ]));
1139
1139
  }
1140
- }), Co = /* @__PURE__ */ B({
1140
+ }), Mo = /* @__PURE__ */ B({
1141
1141
  __name: "ExternalLink",
1142
1142
  props: {
1143
1143
  url: {}
1144
1144
  },
1145
1145
  setup(e) {
1146
- const n = e, s = () => {
1147
- H.system.browsePage(n.url);
1146
+ const l = e, s = () => {
1147
+ H.system.browsePage(l.url);
1148
1148
  };
1149
1149
  return (t, i) => (r(), f("span", {
1150
1150
  class: "external-link",
@@ -1153,16 +1153,16 @@ const Ao = {
1153
1153
  I(t.$slots, "default")
1154
1154
  ]));
1155
1155
  }
1156
- }), cl = ["innerHTML"], xo = /* @__PURE__ */ B({
1156
+ }), pl = ["innerHTML"], Vo = /* @__PURE__ */ B({
1157
1157
  __name: "LogPrint",
1158
- setup(e, { expose: n }) {
1158
+ setup(e, { expose: l }) {
1159
1159
  const s = z([]), t = K("logBoxRef");
1160
1160
  function i(o) {
1161
- s.value.push(`[${Ot()}] ${o}`), s.value.length > 500 && s.value.shift(), we(() => {
1161
+ s.value.push(`[${Wt()}] ${o}`), s.value.length > 500 && s.value.shift(), we(() => {
1162
1162
  t.value && (t.value.scrollTop = t.value.scrollHeight);
1163
1163
  });
1164
1164
  }
1165
- return n({
1165
+ return l({
1166
1166
  addLog: i,
1167
1167
  reset: () => {
1168
1168
  s.value = [];
@@ -1172,38 +1172,38 @@ const Ao = {
1172
1172
  ref: t,
1173
1173
  class: "log-print-box"
1174
1174
  }, [
1175
- (r(!0), f(R, null, O(s.value, (v, p) => (r(), f("div", {
1175
+ (r(!0), f(R, null, O(s.value, (u, p) => (r(), f("div", {
1176
1176
  key: p,
1177
- innerHTML: v,
1177
+ innerHTML: u,
1178
1178
  class: "log-print-box__line"
1179
- }, null, 8, cl))), 128))
1179
+ }, null, 8, pl))), 128))
1180
1180
  ], 512));
1181
1181
  }
1182
- }), ct = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", rt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", ut = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", dt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", vt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", pt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e", Be = "data:image/jpeg;base64,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", rl = { class: "user-card" }, ul = { class: "user-card__face-wrapper" }, dl = ["src"], vl = {
1182
+ }), rt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", ut = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", dt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", vt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", pt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e", Be = "data:image/jpeg;base64,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", ml = { class: "user-card" }, gl = { class: "user-card__face-wrapper" }, fl = ["src"], _l = {
1183
1183
  key: 0,
1184
1184
  class: "user-card--blocked"
1185
- }, pl = { class: "user-card__info" }, ml = { class: "user-card__row" }, gl = ["src"], fl = { class: "user-card__row" }, _l = { class: "user-card__uid" }, hl = { class: "user-card__row" }, wl = { class: "user-card__stat__item" }, yl = { class: "user-card__stat__value" }, kl = { class: "user-card__stat__item" }, Al = { class: "user-card__stat__value" }, bl = { class: "user-card__stat__item" }, Cl = { class: "user-card__stat__value" }, xl = /* @__PURE__ */ B({
1185
+ }, hl = { class: "user-card__info" }, wl = { class: "user-card__row" }, yl = ["src"], Al = { class: "user-card__row" }, kl = { class: "user-card__uid" }, bl = { class: "user-card__row" }, Cl = { class: "user-card__stat__item" }, xl = { class: "user-card__stat__value" }, El = { class: "user-card__stat__item" }, Bl = { class: "user-card__stat__value" }, Sl = { class: "user-card__stat__item" }, $l = { class: "user-card__stat__value" }, zl = /* @__PURE__ */ B({
1186
1186
  __name: "BiliUserCard",
1187
1187
  props: {
1188
1188
  user: {}
1189
1189
  },
1190
1190
  setup(e) {
1191
- const n = e, s = C(() => n.user.face || Be), t = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": ct, "../../assets/images/user_level/level_2.svg": rt, "../../assets/images/user_level/level_3.svg": ut, "../../assets/images/user_level/level_4.svg": dt, "../../assets/images/user_level/level_5.svg": vt, "../../assets/images/user_level/level_6.svg": pt }))[`../../assets/images/user_level/level_${n.user.level}.svg`], import.meta.url).href);
1192
- return (i, l) => {
1191
+ const l = e, s = C(() => l.user.face || Be), t = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": rt, "../../assets/images/user_level/level_2.svg": ut, "../../assets/images/user_level/level_3.svg": dt, "../../assets/images/user_level/level_4.svg": vt, "../../assets/images/user_level/level_5.svg": pt, "../../assets/images/user_level/level_6.svg": mt }))[`../../assets/images/user_level/level_${l.user.level}.svg`], import.meta.url).href);
1192
+ return (i, n) => {
1193
1193
  const o = ae;
1194
- return r(), f("div", rl, [
1194
+ return r(), f("div", ml, [
1195
1195
  I(i.$slots, "default"),
1196
- a("div", ul, [
1196
+ a("div", gl, [
1197
1197
  a("img", {
1198
1198
  class: "user-card__face",
1199
1199
  alt: "face",
1200
1200
  src: s.value
1201
- }, null, 8, dl),
1202
- e.user.silence === 1 ? (r(), f("span", vl, "账号已封禁")) : $("", !0)
1201
+ }, null, 8, fl),
1202
+ e.user.silence === 1 ? (r(), f("span", _l, "账号已封禁")) : $("", !0)
1203
1203
  ]),
1204
- a("div", pl, [
1205
- a("div", ml, [
1206
- d(o, {
1204
+ a("div", hl, [
1205
+ a("div", wl, [
1206
+ v(o, {
1207
1207
  class: "user-card__name",
1208
1208
  content: e.user.name
1209
1209
  }, null, 8, ["content"]),
@@ -1211,137 +1211,137 @@ const Ao = {
1211
1211
  class: "user-card__level",
1212
1212
  src: t.value,
1213
1213
  alt: "level"
1214
- }, null, 8, gl)
1214
+ }, null, 8, yl)
1215
1215
  ]),
1216
- a("div", fl, [
1217
- l[0] || (l[0] = a("span", { class: "user-card__uid-icon" }, null, -1)),
1218
- a("span", _l, m(e.user.mid), 1)
1216
+ a("div", Al, [
1217
+ n[0] || (n[0] = a("span", { class: "user-card__uid-icon" }, null, -1)),
1218
+ a("span", kl, m(e.user.mid), 1)
1219
1219
  ]),
1220
- a("div", hl, [
1221
- a("span", wl, [
1222
- a("span", yl, m(e.user.following), 1),
1223
- l[1] || (l[1] = a("span", { class: "user-card__stat__label" }, "关注", -1))
1220
+ a("div", bl, [
1221
+ a("span", Cl, [
1222
+ a("span", xl, m(e.user.following), 1),
1223
+ n[1] || (n[1] = a("span", { class: "user-card__stat__label" }, "关注", -1))
1224
1224
  ]),
1225
- a("span", kl, [
1226
- a("span", Al, m(e.user.follower), 1),
1227
- l[2] || (l[2] = a("span", { class: "user-card__stat__label" }, "粉丝", -1))
1225
+ a("span", El, [
1226
+ a("span", Bl, m(e.user.follower), 1),
1227
+ n[2] || (n[2] = a("span", { class: "user-card__stat__label" }, "粉丝", -1))
1228
1228
  ]),
1229
- a("span", bl, [
1230
- a("span", Cl, m(e.user.coins), 1),
1231
- l[3] || (l[3] = a("span", { class: "user-card__stat__label" }, "硬币", -1))
1229
+ a("span", Sl, [
1230
+ a("span", $l, m(e.user.coins), 1),
1231
+ n[3] || (n[3] = a("span", { class: "user-card__stat__label" }, "硬币", -1))
1232
1232
  ])
1233
1233
  ])
1234
1234
  ])
1235
1235
  ]);
1236
1236
  };
1237
1237
  }
1238
- }), El = { class: "bili-user-info" }, Bl = ["src"], Sl = { class: "bili-user-info__right" }, $l = { class: "bili-user-info__info-row" }, zl = { class: "bili-user-info__uid" }, Dl = /* @__PURE__ */ B({
1238
+ }), Dl = { class: "bili-user-info" }, Pl = ["src"], Il = { class: "bili-user-info__right" }, Ml = { class: "bili-user-info__info-row" }, Vl = { class: "bili-user-info__uid" }, Ql = /* @__PURE__ */ B({
1239
1239
  __name: "BiliUserInfo",
1240
1240
  props: {
1241
1241
  user: {}
1242
1242
  },
1243
1243
  setup(e) {
1244
- return (n, s) => {
1244
+ return (l, s) => {
1245
1245
  const t = ae;
1246
- return r(), f("div", El, [
1246
+ return r(), f("div", Dl, [
1247
1247
  e.user.face ? (r(), f("img", {
1248
1248
  key: 0,
1249
1249
  class: "bili-user-info__face",
1250
1250
  src: e.user.face,
1251
1251
  alt: "face"
1252
- }, null, 8, Bl)) : $("", !0),
1253
- a("div", Sl, [
1254
- d(t, {
1252
+ }, null, 8, Pl)) : $("", !0),
1253
+ a("div", Il, [
1254
+ v(t, {
1255
1255
  class: "bili-user-info__name",
1256
1256
  content: e.user.name
1257
1257
  }, null, 8, ["content"]),
1258
- a("div", $l, [
1258
+ a("div", Ml, [
1259
1259
  s[0] || (s[0] = a("span", { class: "bili-user-info__uid-icon" }, null, -1)),
1260
- a("span", zl, m(e.user.mid), 1)
1260
+ a("span", Vl, m(e.user.mid), 1)
1261
1261
  ])
1262
1262
  ])
1263
1263
  ]);
1264
1264
  };
1265
1265
  }
1266
- }), Eo = /* @__PURE__ */ L(Dl, [["__scopeId", "data-v-a22bf16f"]]), mt = /* @__PURE__ */ B({
1266
+ }), Qo = /* @__PURE__ */ L(Ql, [["__scopeId", "data-v-a22bf16f"]]), gt = /* @__PURE__ */ B({
1267
1267
  __name: "PluginMenuItem",
1268
1268
  props: {
1269
1269
  menu: {}
1270
1270
  },
1271
1271
  setup(e) {
1272
- return (n, s) => {
1273
- const t = Ye, i = Yt;
1274
- return !e.menu.children || e.menu.children.length === 0 ? (r(), A(t, {
1272
+ return (l, s) => {
1273
+ const t = Xe, i = ls;
1274
+ return !e.menu.children || e.menu.children.length === 0 ? (r(), k(t, {
1275
1275
  key: 0,
1276
1276
  index: e.menu.path
1277
1277
  }, {
1278
- title: u(() => [
1279
- k(m(e.menu.title), 1)
1278
+ title: d(() => [
1279
+ A(m(e.menu.title), 1)
1280
1280
  ]),
1281
1281
  _: 1
1282
- }, 8, ["index"])) : (r(), A(i, {
1282
+ }, 8, ["index"])) : (r(), k(i, {
1283
1283
  key: 1,
1284
1284
  index: e.menu.path
1285
1285
  }, {
1286
- title: u(() => [
1287
- k(m(e.menu.title), 1)
1286
+ title: d(() => [
1287
+ A(m(e.menu.title), 1)
1288
1288
  ]),
1289
- default: u(() => [
1290
- (r(!0), f(R, null, O(e.menu.children, (l) => (r(), A(mt, {
1291
- key: l.path,
1292
- menu: l
1289
+ default: d(() => [
1290
+ (r(!0), f(R, null, O(e.menu.children, (n) => (r(), k(gt, {
1291
+ key: n.path,
1292
+ menu: n
1293
1293
  }, null, 8, ["menu"]))), 128))
1294
1294
  ]),
1295
1295
  _: 1
1296
1296
  }, 8, ["index"]));
1297
1297
  };
1298
1298
  }
1299
- }), Pl = /* @__PURE__ */ B({
1299
+ }), Hl = /* @__PURE__ */ B({
1300
1300
  __name: "PluginMenus",
1301
1301
  props: {
1302
1302
  menus: {},
1303
1303
  activeIndex: {}
1304
1304
  },
1305
1305
  emits: ["handleSelect"],
1306
- setup(e, { emit: n }) {
1306
+ setup(e, { emit: l }) {
1307
1307
  const s = e, t = (_, w = /* @__PURE__ */ new Map()) => (_.forEach((g) => {
1308
1308
  w.set(g.path, g), g.children && g.children.length > 0 && t(g.children, w);
1309
- }), w), i = C(() => t(s.menus)), l = n, o = (_) => {
1309
+ }), w), i = C(() => t(s.menus)), n = l, o = (_) => {
1310
1310
  const w = i.value.get(_);
1311
- w && l("handleSelect", w);
1312
- }, c = qe(), v = C(() => !!c["left-item"] || !!c.left), p = C(() => !!c["right-item"] || !!c.right);
1311
+ w && n("handleSelect", w);
1312
+ }, c = Oe(), u = C(() => !!c["left-item"] || !!c.left), p = C(() => !!c["right-item"] || !!c.right);
1313
1313
  return (_, w) => {
1314
- const g = Ye, b = Xt;
1315
- return r(), A(b, {
1314
+ const g = Xe, b = ns;
1315
+ return r(), k(b, {
1316
1316
  "default-active": e.activeIndex,
1317
1317
  class: "plugin-menus",
1318
1318
  mode: "horizontal",
1319
1319
  ellipsis: !1,
1320
1320
  onSelect: o
1321
1321
  }, {
1322
- default: u(() => [
1323
- v.value ? I(_.$slots, "left-item", { key: 0 }, () => [
1324
- d(g, {
1322
+ default: d(() => [
1323
+ u.value ? I(_.$slots, "left-item", { key: 0 }, () => [
1324
+ v(g, {
1325
1325
  index: "-left",
1326
1326
  style: { "margin-right": "auto" }
1327
1327
  }, {
1328
- default: u(() => [
1328
+ default: d(() => [
1329
1329
  I(_.$slots, "left", {}, void 0, !0)
1330
1330
  ]),
1331
1331
  _: 3
1332
1332
  })
1333
1333
  ], !0) : $("", !0),
1334
- (r(!0), f(R, null, O(e.menus, (x) => (r(), A(mt, {
1334
+ (r(!0), f(R, null, O(e.menus, (x) => (r(), k(gt, {
1335
1335
  key: x.path,
1336
1336
  menu: x,
1337
1337
  index: String(x.path)
1338
1338
  }, null, 8, ["menu", "index"]))), 128)),
1339
1339
  p.value ? I(_.$slots, "right-item", { key: 1 }, () => [
1340
- d(g, {
1340
+ v(g, {
1341
1341
  index: "-right",
1342
1342
  style: { "margin-left": "auto" }
1343
1343
  }, {
1344
- default: u(() => [
1344
+ default: d(() => [
1345
1345
  I(_.$slots, "right", {}, void 0, !0)
1346
1346
  ]),
1347
1347
  _: 3
@@ -1352,23 +1352,75 @@ const Ao = {
1352
1352
  }, 8, ["default-active"]);
1353
1353
  };
1354
1354
  }
1355
- }), Il = /* @__PURE__ */ L(Pl, [["__scopeId", "data-v-6dfc7821"]]), Vl = { class: "plugin-page-header" }, Ml = { class: "plugin-page-header__user-container" }, Ql = { class: "plugin-page-header__user-container__info" }, Hl = ["src"], Tl = ["src"], Ll = {
1355
+ }), Tl = /* @__PURE__ */ L(Hl, [["__scopeId", "data-v-6dfc7821"]]);
1356
+ new Lt();
1357
+ var Se = /* @__PURE__ */ new Map(), ft = async (e, l) => {
1358
+ const s = await window.toolkitApi.bili.createBiliClient({
1359
+ context: {
1360
+ userCookie: e.userCookie
1361
+ },
1362
+ ...l ?? {}
1363
+ });
1364
+ if (!s) throw new Error("内部错误,创建 BiliClient 失败");
1365
+ return Se.set(e.mid, s.id), s.id;
1366
+ }, Ll = async (e, l) => {
1367
+ if (!e || !e.mid) throw new Error("用户未登录");
1368
+ return Se.has(e.mid) ? Se.get(e.mid) : await ft(e, l);
1369
+ }, Rl = {
1370
+ reset: ft,
1371
+ get: Ll
1372
+ }, Fl = () => {
1373
+ }, Ul = /* @__PURE__ */ new Set(["then", "catch", "finally", "toJSON", "toString", "valueOf"]);
1374
+ function _t(e, l = []) {
1375
+ return new Proxy(Fl, {
1376
+ get(s, t) {
1377
+ if (typeof t != "symbol" && !(l.length === 0 && Ul.has(t)))
1378
+ return _t(e, l.concat(t));
1379
+ },
1380
+ async apply(s, t, i) {
1381
+ let n, o, c;
1382
+ if (i && i.length > 0)
1383
+ for (const u of i)
1384
+ typeof u == "object" && "signal" in u && u.signal instanceof AbortSignal && (n = u.signal, o = crypto.randomUUID(), u.signal = o, c = () => {
1385
+ window.toolkitApi.bili.abortBiliApi(o);
1386
+ }, n.addEventListener("abort", c));
1387
+ try {
1388
+ const u = await window.toolkitApi.bili.invokeBiliApi(
1389
+ {
1390
+ clientId: e
1391
+ },
1392
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1393
+ l.join("."),
1394
+ ...i
1395
+ );
1396
+ return Gt(u);
1397
+ } finally {
1398
+ c && n && n.removeEventListener("abort", c);
1399
+ }
1400
+ }
1401
+ });
1402
+ }
1403
+ async function ql(e, l) {
1404
+ return _t(await Rl.reset(e, l));
1405
+ }
1406
+ const Ol = { class: "plugin-page-header" }, jl = { class: "plugin-page-header__user-container" }, Nl = { class: "plugin-page-header__user-container__info" }, Zl = ["src"], Wl = ["src"], Gl = {
1356
1407
  key: 1,
1357
1408
  class: "plugin-page-header__user-container__info"
1358
- }, Bo = /* @__PURE__ */ B({
1409
+ }, Ho = /* @__PURE__ */ B({
1359
1410
  __name: "PluginPageHeader",
1360
1411
  props: {
1361
1412
  menus: {},
1362
1413
  activeIndex: {}
1363
1414
  },
1364
1415
  emits: ["handleMenuSelect"],
1365
- setup(e, { emit: n }) {
1366
- const s = nt(), { user: t } = Dt(s), i = C(() => t.value?.face || Be), l = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": ct, "../../assets/images/user_level/level_2.svg": rt, "../../assets/images/user_level/level_3.svg": ut, "../../assets/images/user_level/level_4.svg": dt, "../../assets/images/user_level/level_5.svg": vt, "../../assets/images/user_level/level_6.svg": pt }))[`../../assets/images/user_level/level_${t.value?.level ?? 0}.svg`], import.meta.url).href), o = async () => {
1367
- s.setUser(await H.user.switchUser(!0));
1416
+ setup(e, { emit: l }) {
1417
+ const s = at(), { user: t } = Mt(s), i = C(() => t.value?.face || Be), n = C(() => new URL((/* @__PURE__ */ Object.assign({ "../../assets/images/user_level/level_1.svg": rt, "../../assets/images/user_level/level_2.svg": ut, "../../assets/images/user_level/level_3.svg": dt, "../../assets/images/user_level/level_4.svg": vt, "../../assets/images/user_level/level_5.svg": pt, "../../assets/images/user_level/level_6.svg": mt }))[`../../assets/images/user_level/level_${t.value?.level ?? 0}.svg`], import.meta.url).href), o = async () => {
1418
+ const _ = await H.user.switchUser(!0);
1419
+ s.setUser(_), await ql(_);
1368
1420
  }, c = () => {
1369
1421
  s.deleteUser();
1370
- }, v = n, p = (_) => {
1371
- _ && v("handleMenuSelect", _);
1422
+ }, u = l, p = (_) => {
1423
+ _ && u("handleMenuSelect", _);
1372
1424
  };
1373
1425
  return ne(async () => {
1374
1426
  if (t.value)
@@ -1379,44 +1431,44 @@ const Ao = {
1379
1431
  ie("当前用户 cookie 已失效"), s.deleteUser();
1380
1432
  }
1381
1433
  }), (_, w) => {
1382
- const g = Il, b = ae, x = xl, V = es, E = ls, D = ss, M = ts;
1383
- return r(), f("div", Vl, [
1384
- d(g, {
1434
+ const g = Tl, b = ae, x = zl, M = as, E = cs, D = is, V = os;
1435
+ return r(), f("div", Ol, [
1436
+ v(g, {
1385
1437
  class: "plugin-page-header__menus",
1386
1438
  "active-index": e.activeIndex,
1387
1439
  menus: e.menus,
1388
1440
  onHandleSelect: p
1389
1441
  }, null, 8, ["active-index", "menus"]),
1390
- a("div", Ml, [
1391
- h(t) ? (r(), A(V, {
1442
+ a("div", jl, [
1443
+ h(t) ? (r(), k(M, {
1392
1444
  key: 0,
1393
1445
  placement: "bottom-end",
1394
1446
  width: "auto",
1395
1447
  trigger: "hover"
1396
1448
  }, {
1397
- reference: u(() => [
1398
- a("div", Ql, [
1449
+ reference: d(() => [
1450
+ a("div", Nl, [
1399
1451
  a("img", {
1400
1452
  class: "plugin-page-header__user-container__info__face",
1401
1453
  src: i.value,
1402
1454
  alt: "face"
1403
- }, null, 8, Hl),
1404
- d(b, {
1455
+ }, null, 8, Zl),
1456
+ v(b, {
1405
1457
  class: "plugin-page-header__user-container__info__name",
1406
1458
  content: h(t).name
1407
1459
  }, null, 8, ["content"]),
1408
1460
  a("img", {
1409
1461
  class: "plugin-page-header__user-container__info__level",
1410
- src: l.value,
1462
+ src: n.value,
1411
1463
  alt: "level img"
1412
- }, null, 8, Tl)
1464
+ }, null, 8, Wl)
1413
1465
  ])
1414
1466
  ]),
1415
- default: u(() => [
1416
- d(x, { user: h(t) }, null, 8, ["user"])
1467
+ default: d(() => [
1468
+ v(x, { user: h(t) }, null, 8, ["user"])
1417
1469
  ]),
1418
1470
  _: 1
1419
- })) : (r(), f("div", Ll, [...w[0] || (w[0] = [
1471
+ })) : (r(), f("div", Gl, [...w[0] || (w[0] = [
1420
1472
  a("img", {
1421
1473
  class: "plugin-page-header__user-container__info__face",
1422
1474
  alt: "",
@@ -1424,26 +1476,26 @@ const Ao = {
1424
1476
  }, null, -1),
1425
1477
  a("span", { class: "plugin-page-header__user-container__info__name" }, "未登录", -1)
1426
1478
  ])])),
1427
- d(M, {
1479
+ v(V, {
1428
1480
  placement: "bottom-end",
1429
1481
  trigger: "click",
1430
1482
  size: "default"
1431
1483
  }, {
1432
- dropdown: u(() => [
1433
- d(D, null, {
1434
- default: u(() => [
1435
- d(E, { onClick: o }, {
1436
- default: u(() => [...w[1] || (w[1] = [
1437
- k("选择用户", -1)
1484
+ dropdown: d(() => [
1485
+ v(D, null, {
1486
+ default: d(() => [
1487
+ v(E, { onClick: o }, {
1488
+ default: d(() => [...w[1] || (w[1] = [
1489
+ A("选择用户", -1)
1438
1490
  ])]),
1439
1491
  _: 1
1440
1492
  }),
1441
- h(t) ? (r(), A(E, {
1493
+ h(t) ? (r(), k(E, {
1442
1494
  key: 0,
1443
1495
  onClick: c
1444
1496
  }, {
1445
- default: u(() => [...w[2] || (w[2] = [
1446
- k("取消选择", -1)
1497
+ default: d(() => [...w[2] || (w[2] = [
1498
+ A("取消选择", -1)
1447
1499
  ])]),
1448
1500
  _: 1
1449
1501
  })) : $("", !0)
@@ -1451,7 +1503,7 @@ const Ao = {
1451
1503
  _: 1
1452
1504
  })
1453
1505
  ]),
1454
- default: u(() => [
1506
+ default: d(() => [
1455
1507
  w[3] || (w[3] = a("span", { class: "plugin-page-header__user-container__arrow" }, "▼", -1))
1456
1508
  ]),
1457
1509
  _: 1
@@ -1460,13 +1512,13 @@ const Ao = {
1460
1512
  ]);
1461
1513
  };
1462
1514
  }
1463
- }), Rl = {}, Ul = { class: "plugin-page-container" };
1464
- function Fl(e, n) {
1465
- return r(), f("div", Ul, [
1515
+ }), Jl = {}, Kl = { class: "plugin-page-container" };
1516
+ function Yl(e, l) {
1517
+ return r(), f("div", Kl, [
1466
1518
  I(e.$slots, "default", {}, void 0, !0)
1467
1519
  ]);
1468
1520
  }
1469
- const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392"]]), ql = { class: "page-table__toolbar" }, Ol = { class: "page-table__actions" }, jl = /* @__PURE__ */ B({
1521
+ const To = /* @__PURE__ */ L(Jl, [["render", Yl], ["__scopeId", "data-v-ddcb3392"]]), Xl = { class: "page-table__toolbar" }, en = { class: "page-table__actions" }, tn = /* @__PURE__ */ B({
1470
1522
  inheritAttrs: !1,
1471
1523
  __name: "PageTable",
1472
1524
  props: {
@@ -1482,14 +1534,14 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1482
1534
  tableLayout: { default: "auto" }
1483
1535
  },
1484
1536
  emits: ["reset", "search"],
1485
- setup(e, { expose: n, emit: s }) {
1486
- const t = $t(), i = C(() => ({
1537
+ setup(e, { expose: l, emit: s }) {
1538
+ const t = Pt(), i = C(() => ({
1487
1539
  class: t.class,
1488
1540
  style: t.style
1489
- })), l = C(() => {
1541
+ })), n = C(() => {
1490
1542
  const { class: Q, style: j, ...de } = t;
1491
1543
  return de;
1492
- }), o = e, c = z(!1), v = C(() => o.pageParams ? o.pageParams : {
1544
+ }), o = e, c = z(!1), u = C(() => o.pageParams ? o.pageParams : {
1493
1545
  pageNum: 1,
1494
1546
  pageSize: o.pageSizes[0]
1495
1547
  }), {
@@ -1499,25 +1551,25 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1499
1551
  refresh: g,
1500
1552
  resetAndRefresh: b,
1501
1553
  resetPageAndRefresh: x,
1502
- handleSizeChange: V,
1554
+ handleSizeChange: M,
1503
1555
  handleCurrPageChange: E
1504
- } = at({
1556
+ } = ot({
1505
1557
  fetchPage: o.fetchPage,
1506
- pageParams: () => v.value,
1558
+ pageParams: () => u.value,
1507
1559
  queryParams: o.queryParams ? () => o.queryParams : void 0,
1508
1560
  autoLoad: o.autoLoad,
1509
1561
  onLoaded: () => {
1510
1562
  c.value = !0, S.value?.setScrollTop(0);
1511
1563
  }
1512
- }), D = s, M = () => {
1564
+ }), D = s, V = () => {
1513
1565
  D("search"), g();
1514
- }, U = async () => {
1566
+ }, F = async () => {
1515
1567
  D("reset"), await we(), await b();
1516
- }, { elementRef: P, height: y } = gs("tableWrapperRef"), S = K("tableRef"), F = C(() => o.tableHeight ? o.tableHeight : y.value), X = C(() => ({
1568
+ }, { elementRef: P, height: y } = ys("tableWrapperRef"), S = K("tableRef"), U = C(() => o.tableHeight ? o.tableHeight : y.value), X = C(() => ({
1517
1569
  search: o.actions.includes("search"),
1518
1570
  resetQuery: o.actions.includes("resetQuery")
1519
- })), ee = C(() => o.pageSizes && o.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), ue = !!qe().query;
1520
- return n({
1571
+ })), ee = C(() => o.pageSizes && o.pageSizes.length > 1 ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), ue = !!Oe().query;
1572
+ return l({
1521
1573
  loading: w,
1522
1574
  tableRef: S,
1523
1575
  tableData: _,
@@ -1531,31 +1583,31 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1531
1583
  clearSelection: S.value?.clearSelection,
1532
1584
  scrollTo: S.value?.scrollTo
1533
1585
  }), (Q, j) => {
1534
- const de = Z, wt = as, yt = Xe, kt = ns, At = et, bt = De;
1586
+ const de = Z, kt = us, bt = et, Ct = rs, xt = tt, Et = Ie;
1535
1587
  return W((r(), f("div", G({ class: "page-table" }, i.value), [
1536
- a("div", ql, [
1588
+ a("div", Xl, [
1537
1589
  a("div", {
1538
1590
  class: se(["page-table__query", ue ? "has-query" : ""])
1539
1591
  }, [
1540
1592
  I(Q.$slots, "query", {}, void 0, !0),
1541
- a("div", Ol, [
1593
+ a("div", en, [
1542
1594
  I(Q.$slots, "actions", {}, void 0, !0),
1543
- X.value.search ? (r(), A(de, {
1595
+ X.value.search ? (r(), k(de, {
1544
1596
  key: 0,
1545
1597
  type: "primary",
1546
- onClick: M
1598
+ onClick: V
1547
1599
  }, {
1548
- default: u(() => [
1549
- k(m(e.searchActionLabel), 1)
1600
+ default: d(() => [
1601
+ A(m(e.searchActionLabel), 1)
1550
1602
  ]),
1551
1603
  _: 1
1552
1604
  })) : $("", !0),
1553
- X.value.resetQuery ? (r(), A(de, {
1605
+ X.value.resetQuery ? (r(), k(de, {
1554
1606
  key: 1,
1555
- onClick: U
1607
+ onClick: F
1556
1608
  }, {
1557
- default: u(() => [...j[2] || (j[2] = [
1558
- k("重置", -1)
1609
+ default: d(() => [...j[2] || (j[2] = [
1610
+ A("重置", -1)
1559
1611
  ])]),
1560
1612
  _: 1
1561
1613
  })) : $("", !0)
@@ -1567,25 +1619,25 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1567
1619
  ref: P,
1568
1620
  class: "page-table__table-wrapper"
1569
1621
  }, [
1570
- c.value ? (r(), A(kt, G({
1622
+ c.value ? (r(), k(Ct, G({
1571
1623
  key: 0,
1572
1624
  ref_key: "tableRef",
1573
1625
  ref: S
1574
- }, l.value, {
1626
+ }, n.value, {
1575
1627
  class: "page-table__table",
1576
1628
  data: h(_),
1577
1629
  border: "",
1578
- height: F.value,
1630
+ height: U.value,
1579
1631
  "table-layout": e.tableLayout,
1580
1632
  "highlight-current-row": e.selectionMode === "single"
1581
1633
  }), {
1582
- empty: u(() => [
1634
+ empty: d(() => [
1583
1635
  I(Q.$slots, "empty", {}, () => [
1584
- d(yt, { description: "没有数据" })
1636
+ v(bt, { description: "没有数据" })
1585
1637
  ], !0)
1586
1638
  ]),
1587
- default: u(() => [
1588
- e.selectionMode === "multiple" ? (r(), A(wt, {
1639
+ default: d(() => [
1640
+ e.selectionMode === "multiple" ? (r(), k(kt, {
1589
1641
  key: 0,
1590
1642
  type: "selection",
1591
1643
  width: "55"
@@ -1595,24 +1647,24 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1595
1647
  _: 3
1596
1648
  }, 16, ["data", "height", "table-layout", "highlight-current-row"])) : $("", !0)
1597
1649
  ], 512),
1598
- d(At, {
1650
+ v(xt, {
1599
1651
  class: "page-table__pagination",
1600
1652
  "current-page": h(p).pageNum,
1601
- "onUpdate:currentPage": j[0] || (j[0] = (ke) => h(p).pageNum = ke),
1653
+ "onUpdate:currentPage": j[0] || (j[0] = (Ae) => h(p).pageNum = Ae),
1602
1654
  "page-size": h(p).pageSize,
1603
- "onUpdate:pageSize": j[1] || (j[1] = (ke) => h(p).pageSize = ke),
1655
+ "onUpdate:pageSize": j[1] || (j[1] = (Ae) => h(p).pageSize = Ae),
1604
1656
  "page-sizes": e.pageSizes,
1605
1657
  total: h(p).total,
1606
1658
  layout: ee.value,
1607
1659
  onCurrentChange: h(E),
1608
- onSizeChange: h(V)
1660
+ onSizeChange: h(M)
1609
1661
  }, null, 8, ["current-page", "page-size", "page-sizes", "total", "layout", "onCurrentChange", "onSizeChange"])
1610
1662
  ], 16)), [
1611
- [bt, h(w)]
1663
+ [Et, h(w)]
1612
1664
  ]);
1613
1665
  };
1614
1666
  }
1615
- }), $o = /* @__PURE__ */ L(jl, [["__scopeId", "data-v-293a15d1"]]), Ue = "delete-confirm-dialog:delete-source-file", Nl = /* @__PURE__ */ B({
1667
+ }), Lo = /* @__PURE__ */ L(tn, [["__scopeId", "data-v-293a15d1"]]), qe = "delete-confirm-dialog:delete-source-file", sn = /* @__PURE__ */ B({
1616
1668
  __name: "DeleteConfirmDialog",
1617
1669
  props: {
1618
1670
  visible: { type: Boolean },
@@ -1622,20 +1674,20 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1622
1674
  cancelButtonText: { default: "取消" }
1623
1675
  },
1624
1676
  emits: ["confirm", "cancel"],
1625
- setup(e, { emit: n }) {
1626
- const s = n, t = z(localStorage.getItem(Ue) === "true");
1677
+ setup(e, { emit: l }) {
1678
+ const s = l, t = z(localStorage.getItem(qe) === "true");
1627
1679
  function i() {
1628
- localStorage.setItem(Ue, String(t.value));
1680
+ localStorage.setItem(qe, String(t.value));
1629
1681
  }
1630
- function l() {
1682
+ function n() {
1631
1683
  s("confirm", t.value);
1632
1684
  }
1633
1685
  function o() {
1634
1686
  s("cancel");
1635
1687
  }
1636
- return (c, v) => {
1637
- const p = os, _ = Z, w = re;
1638
- return r(), A(w, {
1688
+ return (c, u) => {
1689
+ const p = ds, _ = Z, w = re;
1690
+ return r(), k(w, {
1639
1691
  "model-value": e.visible,
1640
1692
  title: e.title,
1641
1693
  width: "420px",
@@ -1643,33 +1695,33 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1643
1695
  "close-on-press-escape": !1,
1644
1696
  onClose: o
1645
1697
  }, {
1646
- footer: u(() => [
1647
- d(_, { onClick: o }, {
1648
- default: u(() => [
1649
- k(m(e.cancelButtonText), 1)
1698
+ footer: d(() => [
1699
+ v(_, { onClick: o }, {
1700
+ default: d(() => [
1701
+ A(m(e.cancelButtonText), 1)
1650
1702
  ]),
1651
1703
  _: 1
1652
1704
  }),
1653
- d(_, {
1705
+ v(_, {
1654
1706
  type: "danger",
1655
- onClick: l
1707
+ onClick: n
1656
1708
  }, {
1657
- default: u(() => [
1658
- k(m(e.confirmButtonText), 1)
1709
+ default: d(() => [
1710
+ A(m(e.confirmButtonText), 1)
1659
1711
  ]),
1660
1712
  _: 1
1661
1713
  })
1662
1714
  ]),
1663
- default: u(() => [
1715
+ default: d(() => [
1664
1716
  a("div", null, m(e.message), 1),
1665
- d(p, {
1717
+ v(p, {
1666
1718
  modelValue: t.value,
1667
- "onUpdate:modelValue": v[0] || (v[0] = (g) => t.value = g),
1719
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => t.value = g),
1668
1720
  style: { "margin-top": "16px" },
1669
1721
  onChange: i
1670
1722
  }, {
1671
- default: u(() => [...v[1] || (v[1] = [
1672
- k(" 同时删除本地磁盘源文件 ", -1)
1723
+ default: d(() => [...u[1] || (u[1] = [
1724
+ A(" 同时删除本地磁盘源文件 ", -1)
1673
1725
  ])]),
1674
1726
  _: 1
1675
1727
  }, 8, ["modelValue"])
@@ -1678,14 +1730,14 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1678
1730
  }, 8, ["model-value", "title"]);
1679
1731
  };
1680
1732
  }
1681
- }), gt = /* @__PURE__ */ B({
1733
+ }), ht = /* @__PURE__ */ B({
1682
1734
  __name: "DownloadStatus",
1683
1735
  props: {
1684
1736
  task: {}
1685
1737
  },
1686
1738
  setup(e) {
1687
- const n = e, s = C(() => {
1688
- switch (n.task.status) {
1739
+ const l = e, s = C(() => {
1740
+ switch (l.task.status) {
1689
1741
  case "pending":
1690
1742
  return "info";
1691
1743
  case "downloading":
@@ -1703,29 +1755,29 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1703
1755
  default:
1704
1756
  return "info";
1705
1757
  }
1706
- }), t = C(() => We[n.task.status]);
1707
- return (i, l) => {
1708
- const o = tt;
1709
- return r(), A(o, {
1758
+ }), t = C(() => Ge[l.task.status]);
1759
+ return (i, n) => {
1760
+ const o = st;
1761
+ return r(), k(o, {
1710
1762
  type: s.value,
1711
1763
  "disable-transitions": "",
1712
1764
  size: "small"
1713
1765
  }, {
1714
- default: u(() => [
1715
- k(m(t.value), 1)
1766
+ default: d(() => [
1767
+ A(m(t.value), 1)
1716
1768
  ]),
1717
1769
  _: 1
1718
1770
  }, 8, ["type"]);
1719
1771
  };
1720
1772
  }
1721
- }), ft = /* @__PURE__ */ B({
1773
+ }), wt = /* @__PURE__ */ B({
1722
1774
  __name: "DownloadProgress",
1723
1775
  props: {
1724
1776
  task: {}
1725
1777
  },
1726
1778
  setup(e) {
1727
- const n = e, s = C(() => {
1728
- switch (n.task.status) {
1779
+ const l = e, s = C(() => {
1780
+ switch (l.task.status) {
1729
1781
  case "failed":
1730
1782
  return "exception";
1731
1783
  case "completed":
@@ -1733,10 +1785,10 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1733
1785
  default:
1734
1786
  return;
1735
1787
  }
1736
- }), t = C(() => jt(n.task.status, ["downloading", "merging"]));
1737
- return (i, l) => {
1738
- const o = Je;
1739
- return r(), A(o, {
1788
+ }), t = C(() => Jt(l.task.status, ["downloading", "merging"]));
1789
+ return (i, n) => {
1790
+ const o = Ke;
1791
+ return r(), k(o, {
1740
1792
  percentage: e.task.progress ? e.task.progress.percent : 0,
1741
1793
  "stroke-width": 8,
1742
1794
  "show-text": !0,
@@ -1747,7 +1799,7 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1747
1799
  }, null, 8, ["percentage", "status", "striped", "striped-flow"]);
1748
1800
  };
1749
1801
  }
1750
- }), Se = (e) => Nt(e / 1024), Zl = (e) => e === 0 ? "0 KB/s" : e < 1024 ? e.toFixed(1) + " KB/s" : (e / 1024).toFixed(1) + " MB/s", Fe = (e) => e <= 1e4 ? String(e) : (e / 1e4).toFixed(1) + "万", Wl = { class: "detail-item" }, Gl = { class: "value" }, Jl = { class: "detail-item" }, Kl = { class: "value" }, Yl = { class: "detail-item" }, Xl = { class: "value" }, en = /* @__PURE__ */ B({
1802
+ }), $e = (e) => Kt(e / 1024), ln = (e) => e === 0 ? "0 KB/s" : e < 1024 ? e.toFixed(1) + " KB/s" : (e / 1024).toFixed(1) + " MB/s", ze = (e) => e <= 1e4 ? String(e) : e < 1e8 ? (e / 1e4).toFixed(1) + "万" : (e / 1e8).toFixed(1) + "亿", nn = { class: "detail-item" }, an = { class: "value" }, on = { class: "detail-item" }, cn = { class: "value" }, rn = { class: "detail-item" }, un = { class: "value" }, dn = /* @__PURE__ */ B({
1751
1803
  __name: "DownloadProgressDetails",
1752
1804
  props: {
1753
1805
  task: {},
@@ -1755,38 +1807,38 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1755
1807
  isCompact: { type: Boolean }
1756
1808
  },
1757
1809
  setup(e) {
1758
- return (n, s) => (r(), f("div", {
1810
+ return (l, s) => (r(), f("div", {
1759
1811
  class: "download-progress-details",
1760
1812
  style: xe({ gap: e.isCompact ? "10px" : "20px" })
1761
1813
  }, [
1762
1814
  e.task.progress ? (r(), f(R, { key: 0 }, [
1763
- a("div", Wl, [
1815
+ a("div", nn, [
1764
1816
  s[0] || (s[0] = a("span", { class: "label" }, "速度:", -1)),
1765
- a("span", Gl, m(h(Zl)(e.task.progress.speedKBps)), 1)
1817
+ a("span", an, m(h(ln)(e.task.progress.speedKBps)), 1)
1766
1818
  ]),
1767
- a("div", Jl, [
1819
+ a("div", on, [
1768
1820
  s[2] || (s[2] = a("span", { class: "label" }, "文件:", -1)),
1769
- a("div", Kl, [
1821
+ a("div", cn, [
1770
1822
  a("span", null, m(e.task.progress?.currentItem), 1),
1771
1823
  s[1] || (s[1] = a("span", null, " / ", -1)),
1772
1824
  a("span", null, m(e.resourceCount), 1)
1773
1825
  ])
1774
1826
  ]),
1775
- a("div", Yl, [
1827
+ a("div", rn, [
1776
1828
  s[4] || (s[4] = a("span", { class: "label" }, "已完成:", -1)),
1777
- a("div", Xl, [
1778
- a("span", null, m(h(Se)(e.task.progress.completedBytes)), 1),
1829
+ a("div", un, [
1830
+ a("span", null, m(h($e)(e.task.progress.completedBytes)), 1),
1779
1831
  s[3] || (s[3] = a("span", null, " / ", -1)),
1780
- a("span", null, m(h(Se)(e.task.progress.totalBytes)), 1)
1832
+ a("span", null, m(h($e)(e.task.progress.totalBytes)), 1)
1781
1833
  ])
1782
1834
  ])
1783
1835
  ], 64)) : $("", !0)
1784
1836
  ], 4));
1785
1837
  }
1786
- }), _t = /* @__PURE__ */ L(en, [["__scopeId", "data-v-1923a35f"]]), tn = { class: "download-result" }, sn = {
1838
+ }), yt = /* @__PURE__ */ L(dn, [["__scopeId", "data-v-1923a35f"]]), vn = { class: "download-result" }, pn = {
1787
1839
  key: 0,
1788
1840
  class: "detail-item"
1789
- }, ln = { class: "detail-item" }, nn = { class: "detail-item" }, an = /* @__PURE__ */ B({
1841
+ }, mn = { class: "detail-item" }, gn = { class: "detail-item" }, fn = /* @__PURE__ */ B({
1790
1842
  __name: "DownloadResult",
1791
1843
  props: {
1792
1844
  task: {},
@@ -1794,32 +1846,32 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1794
1846
  resourceCount: {}
1795
1847
  },
1796
1848
  setup(e) {
1797
- return (n, s) => {
1849
+ return (l, s) => {
1798
1850
  const t = N;
1799
- return r(), f("div", tn, [
1851
+ return r(), f("div", vn, [
1800
1852
  s[0] || (s[0] = a("span", { class: "hint" }, "总共:", -1)),
1801
- e.task.result ? (r(), f("span", sn, [
1802
- a("span", null, m(h(Se)(e.task.result.totalBytes)), 1)
1853
+ e.task.result ? (r(), f("span", pn, [
1854
+ a("span", null, m(h($e)(e.task.result.totalBytes)), 1)
1803
1855
  ])) : $("", !0),
1804
- a("span", ln, [
1805
- d(t, { icon: "video" }),
1856
+ a("span", mn, [
1857
+ v(t, { icon: "video" }),
1806
1858
  a("span", null, m(e.videoCount) + " 个视频", 1)
1807
1859
  ]),
1808
- a("span", nn, [
1809
- d(t, { icon: "file" }),
1860
+ a("span", gn, [
1861
+ v(t, { icon: "file" }),
1810
1862
  a("span", null, m(e.resourceCount) + " 个文件", 1)
1811
1863
  ])
1812
1864
  ]);
1813
1865
  };
1814
1866
  }
1815
- }), ht = /* @__PURE__ */ L(an, [["__scopeId", "data-v-a28b3695"]]), on = { class: "video-stats-info" }, cn = { class: "value" }, rn = /* @__PURE__ */ B({
1867
+ }), At = /* @__PURE__ */ L(fn, [["__scopeId", "data-v-a28b3695"]]), _n = { class: "video-stats-info" }, hn = { class: "value" }, wn = /* @__PURE__ */ B({
1816
1868
  __name: "VideoStatsInfo",
1817
1869
  props: {
1818
1870
  stat: {},
1819
1871
  fields: { default: () => ["like", "coin", "favorite", "share", "reply"] }
1820
1872
  },
1821
1873
  setup(e) {
1822
- const n = e, s = {
1874
+ const l = e, s = {
1823
1875
  like: "heart",
1824
1876
  coin: "money-cny-circle",
1825
1877
  favorite: "star",
@@ -1827,55 +1879,55 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1827
1879
  reply: "discuss"
1828
1880
  }, t = C(() => {
1829
1881
  const i = [];
1830
- for (const l of n.fields)
1882
+ for (const n of l.fields)
1831
1883
  i.push({
1832
- icon: s[l],
1833
- value: n.stat[l]
1884
+ icon: s[n],
1885
+ value: ze(l.stat[n])
1834
1886
  });
1835
1887
  return i;
1836
1888
  });
1837
- return (i, l) => {
1889
+ return (i, n) => {
1838
1890
  const o = N;
1839
- return r(), f("div", on, [
1891
+ return r(), f("div", _n, [
1840
1892
  (r(!0), f(R, null, O(t.value, (c) => (r(), f("div", {
1841
1893
  class: "stat-item",
1842
1894
  key: c.icon
1843
1895
  }, [
1844
- d(o, {
1896
+ v(o, {
1845
1897
  icon: c.icon
1846
1898
  }, null, 8, ["icon"]),
1847
- a("span", cn, m(c.value), 1)
1899
+ a("span", hn, m(c.value), 1)
1848
1900
  ]))), 128))
1849
1901
  ]);
1850
1902
  };
1851
1903
  }
1852
- }), un = /* @__PURE__ */ L(rn, [["__scopeId", "data-v-503952a4"]]), dn = /* @__PURE__ */ B({
1904
+ }), yn = /* @__PURE__ */ L(wn, [["__scopeId", "data-v-b9c6ece7"]]), An = /* @__PURE__ */ B({
1853
1905
  __name: "DownloadResourceTag",
1854
1906
  props: {
1855
1907
  type: {}
1856
1908
  },
1857
1909
  setup(e) {
1858
- const n = e, s = C(() => Wt[n.type]), t = {
1910
+ const l = e, s = C(() => Xt[l.type]), t = {
1859
1911
  audio: "file-music",
1860
1912
  video: "file-video",
1861
1913
  dm: "keyboard",
1862
1914
  cover: "image",
1863
1915
  subtitle: "closed-captioning"
1864
1916
  };
1865
- return (i, l) => {
1866
- const o = tt;
1867
- return r(), A(o, {
1917
+ return (i, n) => {
1918
+ const o = st;
1919
+ return r(), k(o, {
1868
1920
  type: "primary",
1869
1921
  effect: "plain",
1870
1922
  "disable-transitions": "",
1871
1923
  size: "small"
1872
1924
  }, {
1873
- default: u(() => [
1874
- d(it, {
1925
+ default: d(() => [
1926
+ v(ct, {
1875
1927
  icon: t[e.type]
1876
1928
  }, {
1877
- default: u(() => [
1878
- k(m(s.value), 1)
1929
+ default: d(() => [
1930
+ A(m(s.value), 1)
1879
1931
  ]),
1880
1932
  _: 1
1881
1933
  }, 8, ["icon"])
@@ -1884,98 +1936,98 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1884
1936
  });
1885
1937
  };
1886
1938
  }
1887
- }), vn = { class: "download-video-part-card" }, pn = { class: "left-info" }, mn = { class: "right-info" }, gn = /* @__PURE__ */ B({
1939
+ }), kn = { class: "download-video-part-card" }, bn = { class: "left-info" }, Cn = { class: "right-info" }, xn = /* @__PURE__ */ B({
1888
1940
  __name: "DownloadVideoPartCard",
1889
1941
  props: {
1890
1942
  part: {}
1891
1943
  },
1892
1944
  setup(e) {
1893
- const n = e, s = C(() => n.part.resources.find((l) => l.type === "audio")?.source.audioQuality), t = C(() => n.part.resources.find((l) => l.type === "video")?.source.videoQuality), i = C(() => n.part.resources.find((l) => l.type === "video")?.source.videoCodec);
1894
- return (l, o) => {
1895
- const c = ae, v = is;
1896
- return r(), f("div", vn, [
1897
- a("div", pn, [
1945
+ const l = e, s = C(() => l.part.resources.find((n) => n.type === "audio")?.source.audioQuality), t = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoQuality), i = C(() => l.part.resources.find((n) => n.type === "video")?.source.videoCodec);
1946
+ return (n, o) => {
1947
+ const c = ae, u = vs;
1948
+ return r(), f("div", kn, [
1949
+ a("div", bn, [
1898
1950
  a("div", null, m(e.part.snapshot.page) + "P", 1),
1899
- d(c, {
1951
+ v(c, {
1900
1952
  content: e.part.snapshot.part
1901
1953
  }, {
1902
- default: u(() => [
1903
- k(m(e.part.snapshot.part), 1)
1954
+ default: d(() => [
1955
+ A(m(e.part.snapshot.part), 1)
1904
1956
  ]),
1905
1957
  _: 1
1906
1958
  }, 8, ["content"])
1907
1959
  ]),
1908
- a("div", mn, [
1909
- s.value ? (r(), A(v, {
1960
+ a("div", Cn, [
1961
+ s.value ? (r(), k(u, {
1910
1962
  key: 0,
1911
1963
  type: "info",
1912
1964
  effect: "plain"
1913
1965
  }, {
1914
- default: u(() => [
1915
- k(m(h(Qt)[s.value]), 1)
1966
+ default: d(() => [
1967
+ A(m(h(Rt)[s.value]), 1)
1916
1968
  ]),
1917
1969
  _: 1
1918
1970
  })) : $("", !0),
1919
- t.value ? (r(), A(v, {
1971
+ t.value ? (r(), k(u, {
1920
1972
  key: 1,
1921
1973
  type: "info",
1922
1974
  effect: "plain"
1923
1975
  }, {
1924
- default: u(() => [
1925
- k(m(h(Ht)[t.value]), 1)
1976
+ default: d(() => [
1977
+ A(m(h(Ft)[t.value]), 1)
1926
1978
  ]),
1927
1979
  _: 1
1928
1980
  })) : $("", !0),
1929
- i.value ? (r(), A(v, {
1981
+ i.value ? (r(), k(u, {
1930
1982
  key: 2,
1931
1983
  type: "info",
1932
1984
  effect: "plain"
1933
1985
  }, {
1934
- default: u(() => [
1935
- k(m(h(Tt)[i.value]), 1)
1986
+ default: d(() => [
1987
+ A(m(h(Ut)[i.value]), 1)
1936
1988
  ]),
1937
1989
  _: 1
1938
1990
  })) : $("", !0),
1939
- a("span", null, m(h(ze)(e.part.snapshot.duration)), 1)
1991
+ a("span", null, m(h(Pe)(e.part.snapshot.duration)), 1)
1940
1992
  ])
1941
1993
  ]);
1942
1994
  };
1943
1995
  }
1944
- }), fn = /* @__PURE__ */ L(gn, [["__scopeId", "data-v-40387fb6"]]), _n = (e) => {
1945
- const n = Lt(e.tid), s = Rt(e.tid_v2);
1946
- return s ? s.subZoneName ? `${s.mainZoneName} > ${s.subZoneName}` : s.mainZoneName : n ? n.subZoneName ? `${n.mainZoneName} > ${n.subZoneName}` : n.mainZoneName : "";
1947
- }, hn = { class: "download-video-card" }, wn = { class: "info-row" }, yn = { class: "info-left" }, kn = { class: "cover-image" }, An = { class: "cover-placeholder" }, bn = { class: "download-cover-stats" }, Cn = { class: "download-cover-stats__duration" }, xn = { class: "info-right" }, En = { class: "info-row" }, Bn = { class: "info-row" }, Sn = { class: "user-info" }, $n = ["src"], zn = { class: "user-name" }, Dn = { class: "zone" }, Pn = { class: "pubdate" }, In = { class: "info-row stats" }, Vn = { class: "bvid" }, Mn = { class: "info-row" }, Qn = { class: "part-list" }, Hn = /* @__PURE__ */ B({
1996
+ }), En = /* @__PURE__ */ L(xn, [["__scopeId", "data-v-84c28695"]]), Bn = (e) => {
1997
+ const l = qt(e.tid), s = Ot(e.tid_v2);
1998
+ return s ? s.subZoneName ? `${s.mainZoneName} > ${s.subZoneName}` : s.mainZoneName : l ? l.subZoneName ? `${l.mainZoneName} > ${l.subZoneName}` : l.mainZoneName : "";
1999
+ }, Sn = { class: "download-video-card" }, $n = { class: "info-row" }, zn = { class: "info-left" }, Dn = { class: "cover-image" }, Pn = { class: "cover-placeholder" }, In = { class: "download-cover-stats" }, Mn = { class: "download-cover-stats__duration" }, Vn = { class: "info-right" }, Qn = { class: "info-row" }, Hn = { class: "info-row" }, Tn = { class: "user-info" }, Ln = ["src"], Rn = { class: "user-name" }, Fn = { class: "zone" }, Un = { class: "pubdate" }, qn = { class: "info-row stats" }, On = { class: "bvid" }, jn = { class: "info-row" }, Nn = { class: "part-list" }, Zn = /* @__PURE__ */ B({
1948
2000
  __name: "DownloadVideoCard",
1949
2001
  props: {
1950
2002
  video: {}
1951
2003
  },
1952
2004
  emits: ["open-folder"],
1953
- setup(e, { emit: n }) {
2005
+ setup(e, { emit: l }) {
1954
2006
  const s = e, t = C(() => s.video.snapshot), i = C(() => {
1955
2007
  const c = s.video.parts;
1956
- return c.length >= 1 ? c[0].resources.map((v) => v.type) : [];
1957
- }), l = async () => {
2008
+ return c.length >= 1 ? c[0].resources.map((u) => u.type) : [];
2009
+ }), n = async () => {
1958
2010
  window.open(`https://www.bilibili.com/video/${t.value.bvid}`);
1959
- }, o = n;
1960
- return (c, v) => {
1961
- const p = Pe, _ = st, w = it, g = ae;
1962
- return r(), f("div", hn, [
1963
- a("div", wn, [
1964
- a("div", yn, [
2011
+ }, o = l;
2012
+ return (c, u) => {
2013
+ const p = Me, _ = lt, w = ct, g = ae;
2014
+ return r(), f("div", Sn, [
2015
+ a("div", $n, [
2016
+ a("div", zn, [
1965
2017
  a("div", {
1966
2018
  class: "cover",
1967
- onClick: l
2019
+ onClick: n
1968
2020
  }, [
1969
- a("div", kn, [
1970
- d(_, {
2021
+ a("div", Dn, [
2022
+ v(_, {
1971
2023
  src: t.value.pic,
1972
2024
  fit: "cover"
1973
2025
  }, {
1974
- error: u(() => [
1975
- a("div", An, [
1976
- d(p, null, {
1977
- default: u(() => [
1978
- d(h(ot))
2026
+ error: d(() => [
2027
+ a("div", Pn, [
2028
+ v(p, null, {
2029
+ default: d(() => [
2030
+ v(h(it))
1979
2031
  ]),
1980
2032
  _: 1
1981
2033
  })
@@ -1983,80 +2035,80 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
1983
2035
  ]),
1984
2036
  _: 1
1985
2037
  }, 8, ["src"]),
1986
- a("div", bn, [
1987
- d(w, { icon: "video" }, {
1988
- default: u(() => [
1989
- k(m(h(Fe)(t.value.stat.view)), 1)
2038
+ a("div", In, [
2039
+ v(w, { icon: "video" }, {
2040
+ default: d(() => [
2041
+ A(m(h(ze)(t.value.stat.view)), 1)
1990
2042
  ]),
1991
2043
  _: 1
1992
2044
  }),
1993
- d(w, { icon: "keyboard" }, {
1994
- default: u(() => [
1995
- k(m(h(Fe)(t.value.stat.danmaku)), 1)
2045
+ v(w, { icon: "keyboard" }, {
2046
+ default: d(() => [
2047
+ A(m(h(ze)(t.value.stat.danmaku)), 1)
1996
2048
  ]),
1997
2049
  _: 1
1998
2050
  }),
1999
- v[0] || (v[0] = a("span", null, null, -1)),
2000
- v[1] || (v[1] = a("span", null, null, -1)),
2001
- a("span", Cn, m(h(ze)(t.value.duration)), 1)
2051
+ u[0] || (u[0] = a("span", null, null, -1)),
2052
+ u[1] || (u[1] = a("span", null, null, -1)),
2053
+ a("span", Mn, m(h(Pe)(t.value.duration)), 1)
2002
2054
  ])
2003
2055
  ])
2004
2056
  ])
2005
2057
  ]),
2006
- a("div", xn, [
2007
- a("div", En, [
2008
- d(g, {
2058
+ a("div", Vn, [
2059
+ a("div", Qn, [
2060
+ v(g, {
2009
2061
  class: "title",
2010
2062
  content: t.value.title
2011
2063
  }, {
2012
- default: u(() => [
2013
- k(m(t.value.title), 1)
2064
+ default: d(() => [
2065
+ A(m(t.value.title), 1)
2014
2066
  ]),
2015
2067
  _: 1
2016
2068
  }, 8, ["content"])
2017
2069
  ]),
2018
- a("div", Bn, [
2019
- a("div", Sn, [
2070
+ a("div", Hn, [
2071
+ a("div", Tn, [
2020
2072
  a("img", {
2021
2073
  class: "user-face",
2022
2074
  src: t.value.owner.face,
2023
2075
  alt: "face"
2024
- }, null, 8, $n),
2025
- a("div", zn, m(t.value.owner.name), 1)
2076
+ }, null, 8, Ln),
2077
+ a("div", Rn, m(t.value.owner.name), 1)
2026
2078
  ]),
2027
- a("div", Dn, m(h(_n)(t.value)), 1),
2028
- a("div", Pn, m(h(fe)(t.value.pubdate)), 1)
2079
+ a("div", Fn, m(h(Bn)(t.value)), 1),
2080
+ a("div", Un, m(h(fe)(t.value.pubdate)), 1)
2029
2081
  ]),
2030
- a("div", In, [
2031
- a("div", Vn, m(t.value.bvid), 1),
2032
- d(un, {
2082
+ a("div", qn, [
2083
+ a("div", On, m(t.value.bvid), 1),
2084
+ v(yn, {
2033
2085
  stat: t.value.stat
2034
2086
  }, null, 8, ["stat"])
2035
2087
  ]),
2036
- a("div", Mn, [
2037
- v[2] || (v[2] = a("div", null, "下载的资源:", -1)),
2038
- (r(!0), f(R, null, O(i.value, (b) => (r(), A(dn, {
2088
+ a("div", jn, [
2089
+ u[2] || (u[2] = a("div", null, "下载的资源:", -1)),
2090
+ (r(!0), f(R, null, O(i.value, (b) => (r(), k(An, {
2039
2091
  key: b,
2040
2092
  type: b
2041
2093
  }, null, 8, ["type"]))), 128))
2042
2094
  ])
2043
2095
  ])
2044
2096
  ]),
2045
- a("div", Qn, [
2046
- v[3] || (v[3] = a("div", { class: "header" }, "视频分P:", -1)),
2047
- (r(!0), f(R, null, O(e.video.parts, (b, x) => (r(), A(fn, {
2097
+ a("div", Nn, [
2098
+ u[3] || (u[3] = a("div", { class: "header" }, "视频分P:", -1)),
2099
+ (r(!0), f(R, null, O(e.video.parts, (b, x) => (r(), k(En, {
2048
2100
  key: b.snapshot.cid,
2049
2101
  part: b,
2050
- onClick: (V) => o("open-folder", x)
2102
+ onClick: (M) => o("open-folder", x)
2051
2103
  }, null, 8, ["part", "onClick"]))), 128))
2052
2104
  ])
2053
2105
  ]);
2054
2106
  };
2055
2107
  }
2056
- }), Tn = /* @__PURE__ */ L(Hn, [["__scopeId", "data-v-48f910dd"]]), Ln = { class: "task-modal" }, Rn = {
2108
+ }), Wn = /* @__PURE__ */ L(Zn, [["__scopeId", "data-v-48f910dd"]]), Gn = { class: "task-modal" }, Jn = {
2057
2109
  key: 0,
2058
2110
  class: "dialog-content"
2059
- }, Un = { key: 1 }, Fn = { class: "video-list-container" }, qn = { class: "header" }, On = /* @__PURE__ */ B({
2111
+ }, Kn = { key: 1 }, Yn = { class: "video-list-container" }, Xn = { class: "header" }, ea = /* @__PURE__ */ B({
2060
2112
  __name: "DownloadDetailsDialog",
2061
2113
  props: /* @__PURE__ */ J({
2062
2114
  task: {}
@@ -2066,25 +2118,25 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
2066
2118
  }),
2067
2119
  emits: ["update:modelValue"],
2068
2120
  setup(e) {
2069
- const n = e, s = he(e, "modelValue"), t = C(() => n.task?.videos.reduce((c, v) => c + v.parts.length, 0) ?? 0), i = C(() => n.task?.videos.reduce((c, v) => c + v.parts.reduce((p, _) => p + _.resources.length, 0), 0) ?? 0), l = K("refVideoList");
2121
+ const l = e, s = he(e, "modelValue"), t = C(() => l.task?.videos.reduce((c, u) => c + u.parts.length, 0) ?? 0), i = C(() => l.task?.videos.reduce((c, u) => c + u.parts.reduce((p, _) => p + _.resources.length, 0), 0) ?? 0), n = K("refVideoList");
2070
2122
  le(
2071
2123
  () => s.value,
2072
2124
  (c) => {
2073
- c && l.value && we(() => {
2074
- l.value?.scrollTo(0, 0);
2125
+ c && n.value && we(() => {
2126
+ n.value?.scrollTo(0, 0);
2075
2127
  });
2076
2128
  }
2077
2129
  );
2078
- const o = async (c, v) => {
2079
- n.task && await H.download.openFolder(n.task.id, c, v);
2130
+ const o = async (c, u) => {
2131
+ l.task && await H.download.openFolder(l.task.id, c, u);
2080
2132
  };
2081
- return (c, v) => {
2082
- const p = rs, _ = cs, w = re;
2083
- return r(), f("div", Ln, [
2084
- d(w, {
2133
+ return (c, u) => {
2134
+ const p = ms, _ = ps, w = re;
2135
+ return r(), f("div", Gn, [
2136
+ v(w, {
2085
2137
  title: "任务详情",
2086
2138
  modelValue: s.value,
2087
- "onUpdate:modelValue": v[0] || (v[0] = (g) => s.value = g),
2139
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => s.value = g),
2088
2140
  width: "80%",
2089
2141
  style: { "max-height": "88vh" },
2090
2142
  "close-on-click-modal": !0,
@@ -2092,75 +2144,75 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
2092
2144
  "show-close": !0,
2093
2145
  "align-center": ""
2094
2146
  }, {
2095
- footer: u(() => [...v[3] || (v[3] = [
2147
+ footer: d(() => [...u[3] || (u[3] = [
2096
2148
  a("div", { class: "dialog-footer" }, null, -1)
2097
2149
  ])]),
2098
- default: u(() => [
2099
- e.task ? (r(), f("div", Rn, [
2100
- d(_, {
2150
+ default: d(() => [
2151
+ e.task ? (r(), f("div", Jn, [
2152
+ v(_, {
2101
2153
  border: "",
2102
2154
  column: 2
2103
2155
  }, {
2104
- default: u(() => [
2105
- d(p, { label: "任务 ID" }, {
2106
- default: u(() => [
2107
- k(m(e.task.id), 1)
2156
+ default: d(() => [
2157
+ v(p, { label: "任务 ID" }, {
2158
+ default: d(() => [
2159
+ A(m(e.task.id), 1)
2108
2160
  ]),
2109
2161
  _: 1
2110
2162
  }),
2111
- d(p, { label: "任务类型" }, {
2112
- default: u(() => [
2113
- k(m(e.task.title), 1)
2163
+ v(p, { label: "任务类型" }, {
2164
+ default: d(() => [
2165
+ A(m(e.task.title), 1)
2114
2166
  ]),
2115
2167
  _: 1
2116
2168
  }),
2117
- d(p, { label: "创建时间" }, {
2118
- default: u(() => [
2119
- k(m(h(fe)(e.task.createdAt)), 1)
2169
+ v(p, { label: "创建时间" }, {
2170
+ default: d(() => [
2171
+ A(m(h(fe)(e.task.createdAt)), 1)
2120
2172
  ]),
2121
2173
  _: 1
2122
2174
  }),
2123
- d(p, { label: "更新时间" }, {
2124
- default: u(() => [
2125
- k(m(e.task.updatedAt ? h(fe)(e.task.updatedAt) : "-"), 1)
2175
+ v(p, { label: "更新时间" }, {
2176
+ default: d(() => [
2177
+ A(m(e.task.updatedAt ? h(fe)(e.task.updatedAt) : "-"), 1)
2126
2178
  ]),
2127
2179
  _: 1
2128
2180
  }),
2129
- d(p, { label: "任务状态" }, {
2130
- default: u(() => [
2131
- d(gt, { task: e.task }, null, 8, ["task"])
2181
+ v(p, { label: "任务状态" }, {
2182
+ default: d(() => [
2183
+ v(ht, { task: e.task }, null, 8, ["task"])
2132
2184
  ]),
2133
2185
  _: 1
2134
2186
  }),
2135
- d(p, { label: "任务进度" }, {
2136
- default: u(() => [
2137
- e.task.progress ? (r(), A(ft, {
2187
+ v(p, { label: "任务进度" }, {
2188
+ default: d(() => [
2189
+ e.task.progress ? (r(), k(wt, {
2138
2190
  key: 0,
2139
2191
  task: e.task
2140
- }, null, 8, ["task"])) : (r(), f("span", Un, "-"))
2192
+ }, null, 8, ["task"])) : (r(), f("span", Kn, "-"))
2141
2193
  ]),
2142
2194
  _: 1
2143
2195
  }),
2144
- e.task.progress ? (r(), A(p, {
2196
+ e.task.progress ? (r(), k(p, {
2145
2197
  key: 0,
2146
2198
  label: "进度详情",
2147
2199
  span: 2
2148
2200
  }, {
2149
- default: u(() => [
2150
- d(_t, {
2201
+ default: d(() => [
2202
+ v(yt, {
2151
2203
  task: e.task,
2152
2204
  resourceCount: i.value
2153
2205
  }, null, 8, ["task", "resourceCount"])
2154
2206
  ]),
2155
2207
  _: 1
2156
2208
  })) : $("", !0),
2157
- e.task.result ? (r(), A(p, {
2209
+ e.task.result ? (r(), k(p, {
2158
2210
  key: 1,
2159
2211
  label: "任务结果",
2160
2212
  span: 2
2161
2213
  }, {
2162
- default: u(() => [
2163
- d(ht, {
2214
+ default: d(() => [
2215
+ v(At, {
2164
2216
  task: e.task,
2165
2217
  videoCount: t.value,
2166
2218
  resourceCount: i.value
@@ -2168,24 +2220,24 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
2168
2220
  ]),
2169
2221
  _: 1
2170
2222
  })) : $("", !0),
2171
- e.task.error ? (r(), A(p, {
2223
+ e.task.error ? (r(), k(p, {
2172
2224
  key: 2,
2173
2225
  label: "错误信息",
2174
2226
  span: 2,
2175
2227
  style: { color: "var(--el-color-danger)" }
2176
2228
  }, {
2177
- default: u(() => [
2178
- k(m(e.task.error), 1)
2229
+ default: d(() => [
2230
+ A(m(e.task.error), 1)
2179
2231
  ]),
2180
2232
  _: 1
2181
2233
  })) : $("", !0),
2182
- d(p, { label: "操作用户" }, {
2183
- default: u(() => [
2184
- v[1] || (v[1] = a("div", {
2234
+ v(p, { label: "操作用户" }, {
2235
+ default: d(() => [
2236
+ u[1] || (u[1] = a("div", {
2185
2237
  class: "uid-icon",
2186
2238
  style: { display: "inline-block" }
2187
2239
  }, null, -1)),
2188
- k(" " + m(e.task.userCookie.uid), 1)
2240
+ A(" " + m(e.task.userCookie.uid), 1)
2189
2241
  ]),
2190
2242
  _: 1
2191
2243
  }),
@@ -2193,21 +2245,21 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
2193
2245
  ]),
2194
2246
  _: 3
2195
2247
  }),
2196
- a("div", Fn, [
2197
- v[2] || (v[2] = a("div", { class: "header" }, "视频列表:", -1)),
2248
+ a("div", Yn, [
2249
+ u[2] || (u[2] = a("div", { class: "header" }, "视频列表:", -1)),
2198
2250
  a("div", {
2199
2251
  class: "video-list",
2200
2252
  ref_key: "refVideoList",
2201
- ref: l
2253
+ ref: n
2202
2254
  }, [
2203
2255
  (r(!0), f(R, null, O(e.task.videos, (g, b) => (r(), f("div", {
2204
2256
  class: "video-item",
2205
2257
  key: g.snapshot.aid
2206
2258
  }, [
2207
- a("div", qn, [
2259
+ a("div", Xn, [
2208
2260
  a("span", null, "#" + m(b + 1), 1)
2209
2261
  ]),
2210
- d(Tn, {
2262
+ v(Wn, {
2211
2263
  video: g,
2212
2264
  onOpenFolder: (x) => o(b, x)
2213
2265
  }, null, 8, ["video", "onOpenFolder"])
@@ -2221,32 +2273,32 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
2221
2273
  ]);
2222
2274
  };
2223
2275
  }
2224
- }), jn = /* @__PURE__ */ L(On, [["__scopeId", "data-v-61e2a51e"]]), Nn = { class: "download-task-card" }, Zn = { class: "cover" }, Wn = { class: "cover-image" }, Gn = { class: "cover-placeholder" }, Jn = { class: "download-cover-stats" }, Kn = { class: "download-stats__duration" }, Yn = { class: "time" }, Xn = { class: "content" }, ea = { class: "header" }, ta = { class: "actions" }, sa = /* @__PURE__ */ B({
2276
+ }), ta = /* @__PURE__ */ L(ea, [["__scopeId", "data-v-61e2a51e"]]), sa = { class: "download-task-card" }, la = { class: "cover" }, na = { class: "cover-image" }, aa = { class: "cover-placeholder" }, oa = { class: "download-cover-stats" }, ia = { class: "download-stats__duration" }, ca = { class: "time" }, ra = { class: "content" }, ua = { class: "header" }, da = { class: "actions" }, va = /* @__PURE__ */ B({
2225
2277
  __name: "DownloadItem",
2226
2278
  props: {
2227
2279
  task: {}
2228
2280
  },
2229
2281
  emits: ["action"],
2230
2282
  setup(e) {
2231
- const n = e, s = C(() => n.task.videos[0].snapshot.pic), t = C(() => n.task.videos.reduce((o, c) => o + c.parts.length, 0)), i = C(
2232
- () => n.task.videos.reduce((o, c) => o + c.parts.reduce((v, p) => v + p.resources.length, 0), 0)
2233
- ), l = C(
2234
- () => n.task.videos.reduce((o, c) => o + c.parts.reduce((v, p) => v + p.snapshot.duration, 0), 0)
2283
+ const l = e, s = C(() => l.task.videos[0].snapshot.pic), t = C(() => l.task.videos.reduce((o, c) => o + c.parts.length, 0)), i = C(
2284
+ () => l.task.videos.reduce((o, c) => o + c.parts.reduce((u, p) => u + p.resources.length, 0), 0)
2285
+ ), n = C(
2286
+ () => l.task.videos.reduce((o, c) => o + c.parts.reduce((u, p) => u + p.snapshot.duration, 0), 0)
2235
2287
  );
2236
2288
  return (o, c) => {
2237
- const v = Pe, p = st, _ = ae, w = Z;
2238
- return r(), f("div", Nn, [
2239
- a("div", Zn, [
2240
- a("div", Wn, [
2241
- d(p, {
2289
+ const u = Me, p = lt, _ = ae, w = Z;
2290
+ return r(), f("div", sa, [
2291
+ a("div", la, [
2292
+ a("div", na, [
2293
+ v(p, {
2242
2294
  src: s.value,
2243
2295
  fit: "cover"
2244
2296
  }, {
2245
- error: u(() => [
2246
- a("div", Gn, [
2247
- d(v, null, {
2248
- default: u(() => [
2249
- d(h(ot))
2297
+ error: d(() => [
2298
+ a("div", aa, [
2299
+ v(u, null, {
2300
+ default: d(() => [
2301
+ v(h(it))
2250
2302
  ]),
2251
2303
  _: 1
2252
2304
  })
@@ -2254,102 +2306,102 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
2254
2306
  ]),
2255
2307
  _: 1
2256
2308
  }, 8, ["src"]),
2257
- a("div", Jn, [
2309
+ a("div", oa, [
2258
2310
  c[6] || (c[6] = a("span", null, null, -1)),
2259
- a("span", Kn, m(h(ze)(l.value)), 1)
2311
+ a("span", ia, m(h(Pe)(n.value)), 1)
2260
2312
  ])
2261
2313
  ]),
2262
- a("span", Yn, m(h(fe)(e.task.createdAt)), 1)
2314
+ a("span", ca, m(h(fe)(e.task.createdAt)), 1)
2263
2315
  ]),
2264
- a("div", Xn, [
2265
- a("div", ea, [
2266
- d(_, {
2316
+ a("div", ra, [
2317
+ a("div", ua, [
2318
+ v(_, {
2267
2319
  class: "title",
2268
2320
  content: e.task.title
2269
2321
  }, {
2270
- default: u(() => [
2271
- k(m(e.task.title), 1)
2322
+ default: d(() => [
2323
+ A(m(e.task.title), 1)
2272
2324
  ]),
2273
2325
  _: 1
2274
2326
  }, 8, ["content"]),
2275
- d(gt, { task: e.task }, null, 8, ["task"]),
2327
+ v(ht, { task: e.task }, null, 8, ["task"]),
2276
2328
  I(o.$slots, "titleExtra", { task: e.task }, void 0, !0)
2277
2329
  ]),
2278
- d(ft, { task: e.task }, null, 8, ["task"]),
2279
- d(_t, {
2330
+ v(wt, { task: e.task }, null, 8, ["task"]),
2331
+ v(yt, {
2280
2332
  task: e.task,
2281
2333
  resourceCount: i.value
2282
2334
  }, null, 8, ["task", "resourceCount"]),
2283
- d(ht, {
2335
+ v(At, {
2284
2336
  task: e.task,
2285
2337
  videoCount: t.value,
2286
2338
  resourceCount: i.value
2287
2339
  }, null, 8, ["task", "videoCount", "resourceCount"]),
2288
- e.task.error ? (r(), A(_, {
2340
+ e.task.error ? (r(), k(_, {
2289
2341
  key: 0,
2290
2342
  class: "error",
2291
2343
  content: e.task.error
2292
2344
  }, {
2293
- default: u(() => [
2294
- k(m(e.task.error), 1)
2345
+ default: d(() => [
2346
+ A(m(e.task.error), 1)
2295
2347
  ]),
2296
2348
  _: 1
2297
2349
  }, 8, ["content"])) : $("", !0),
2298
- a("div", ta, [
2299
- d(w, {
2350
+ a("div", da, [
2351
+ v(w, {
2300
2352
  size: "small",
2301
2353
  onClick: c[0] || (c[0] = (g) => o.$emit("action", "show-details", e.task))
2302
2354
  }, {
2303
- default: u(() => [...c[7] || (c[7] = [
2304
- k(" 详情 ", -1)
2355
+ default: d(() => [...c[7] || (c[7] = [
2356
+ A(" 详情 ", -1)
2305
2357
  ])]),
2306
2358
  _: 1
2307
2359
  }),
2308
- d(w, {
2360
+ v(w, {
2309
2361
  size: "small",
2310
2362
  onClick: c[1] || (c[1] = (g) => o.$emit("action", "open-folder", e.task))
2311
2363
  }, {
2312
- default: u(() => [...c[8] || (c[8] = [
2313
- k(" 打开文件夹 ", -1)
2364
+ default: d(() => [...c[8] || (c[8] = [
2365
+ A(" 打开文件夹 ", -1)
2314
2366
  ])]),
2315
2367
  _: 1
2316
2368
  }),
2317
- e.task.status === "downloading" ? (r(), A(w, {
2369
+ e.task.status === "downloading" ? (r(), k(w, {
2318
2370
  key: 0,
2319
2371
  size: "small",
2320
2372
  onClick: c[2] || (c[2] = (g) => o.$emit("action", "pause", e.task))
2321
2373
  }, {
2322
- default: u(() => [...c[9] || (c[9] = [
2323
- k(" 暂停 ", -1)
2374
+ default: d(() => [...c[9] || (c[9] = [
2375
+ A(" 暂停 ", -1)
2324
2376
  ])]),
2325
2377
  _: 1
2326
2378
  })) : $("", !0),
2327
- e.task.status === "paused" || e.task.status === "pending" ? (r(), A(w, {
2379
+ e.task.status === "paused" || e.task.status === "pending" ? (r(), k(w, {
2328
2380
  key: 1,
2329
2381
  size: "small",
2330
2382
  onClick: c[3] || (c[3] = (g) => o.$emit("action", "cancel", e.task))
2331
2383
  }, {
2332
- default: u(() => [...c[10] || (c[10] = [
2333
- k(" 取消 ", -1)
2384
+ default: d(() => [...c[10] || (c[10] = [
2385
+ A(" 取消 ", -1)
2334
2386
  ])]),
2335
2387
  _: 1
2336
2388
  })) : $("", !0),
2337
- e.task.status === "paused" ? (r(), A(w, {
2389
+ e.task.status === "paused" ? (r(), k(w, {
2338
2390
  key: 2,
2339
2391
  size: "small",
2340
2392
  onClick: c[4] || (c[4] = (g) => o.$emit("action", "resume", e.task))
2341
2393
  }, {
2342
- default: u(() => [...c[11] || (c[11] = [
2343
- k(" 继续 ", -1)
2394
+ default: d(() => [...c[11] || (c[11] = [
2395
+ A(" 继续 ", -1)
2344
2396
  ])]),
2345
2397
  _: 1
2346
2398
  })) : $("", !0),
2347
- d(w, {
2399
+ v(w, {
2348
2400
  size: "small",
2349
2401
  onClick: c[5] || (c[5] = (g) => o.$emit("action", "delete", e.task))
2350
2402
  }, {
2351
- default: u(() => [...c[12] || (c[12] = [
2352
- k(" 删除 ", -1)
2403
+ default: d(() => [...c[12] || (c[12] = [
2404
+ A(" 删除 ", -1)
2353
2405
  ])]),
2354
2406
  _: 1
2355
2407
  })
@@ -2358,75 +2410,75 @@ const So = /* @__PURE__ */ L(Rl, [["render", Fl], ["__scopeId", "data-v-ddcb3392
2358
2410
  ]);
2359
2411
  };
2360
2412
  }
2361
- }), la = /* @__PURE__ */ L(sa, [["__scopeId", "data-v-71192ed6"]]);
2362
- function na(e) {
2363
- return new Promise((n, s) => {
2413
+ }), pa = /* @__PURE__ */ L(va, [["__scopeId", "data-v-71192ed6"]]);
2414
+ function ma(e) {
2415
+ return new Promise((l, s) => {
2364
2416
  const t = z(!0), i = document.createElement("div");
2365
2417
  document.body.appendChild(i);
2366
- let l = null;
2418
+ let n = null;
2367
2419
  function o() {
2368
2420
  setTimeout(() => {
2369
- l?.unmount(), i.remove();
2421
+ n?.unmount(), i.remove();
2370
2422
  });
2371
2423
  }
2372
- l = $e({
2424
+ n = De({
2373
2425
  render() {
2374
- return zt(Nl, {
2426
+ return It(sn, {
2375
2427
  ...e,
2376
2428
  visible: t.value,
2377
2429
  onConfirm(c) {
2378
- t.value = !1, n({
2430
+ t.value = !1, l({
2379
2431
  deleteSourceFile: c
2380
2432
  }), o();
2381
2433
  },
2382
2434
  onCancel() {
2383
- t.value = !1, s(Ze()), o();
2435
+ t.value = !1, s(We()), o();
2384
2436
  }
2385
2437
  });
2386
2438
  }
2387
- }), l?.mount(i);
2439
+ }), n?.mount(i);
2388
2440
  });
2389
2441
  }
2390
- const aa = async (e) => {
2442
+ const ga = async (e) => {
2391
2443
  await H.download.openFolder(e.id, 0, 0);
2392
- }, oa = async (e) => {
2444
+ }, fa = async (e) => {
2393
2445
  await H.download.pause(e.id), Y("暂停任务成功");
2394
- }, ia = async (e) => {
2446
+ }, _a = async (e) => {
2395
2447
  await H.download.resume(e.id), Y("正在继续下载");
2396
- }, ca = async (e) => {
2448
+ }, ha = async (e) => {
2397
2449
  await H.download.cancel(e.id), Y("取消任务成功");
2398
- }, ra = async (e) => {
2399
- const { deleteSourceFile: n } = await na({
2450
+ }, wa = async (e) => {
2451
+ const { deleteSourceFile: l } = await ma({
2400
2452
  message: "确定删除该下载任务吗?"
2401
2453
  });
2402
2454
  await H.download.remove(e.id, {
2403
- deleteFiles: n
2455
+ deleteFiles: l
2404
2456
  });
2405
- }, ua = { class: "header" }, da = { class: "query-list" }, va = { class: "actions" }, pa = { class: "download-list-container" }, ma = /* @__PURE__ */ B({
2457
+ }, ya = { class: "header" }, Aa = { class: "query-list" }, ka = { class: "actions" }, ba = { class: "download-list-container" }, Ca = /* @__PURE__ */ B({
2406
2458
  __name: "DownloadManagePage",
2407
2459
  props: {
2408
2460
  showDefaultActions: { type: Boolean, default: !0 },
2409
2461
  pageSizes: { default: () => [20, 40, 100] }
2410
2462
  },
2411
- setup(e, { expose: n }) {
2463
+ setup(e, { expose: l }) {
2412
2464
  const s = e, t = K("refList"), i = z({
2413
2465
  pageNum: 1,
2414
2466
  pageSize: s.pageSizes[0]
2415
- }), l = z("all"), o = z({
2467
+ }), n = z("all"), o = z({
2416
2468
  status: void 0,
2417
2469
  title: ""
2418
2470
  }), c = () => {
2419
- l.value === "all" ? o.value.status = void 0 : o.value.status = l.value, g();
2471
+ n.value === "all" ? o.value.status = void 0 : o.value.status = n.value, g();
2420
2472
  }, {
2421
- pageData: v,
2473
+ pageData: u,
2422
2474
  tableData: p,
2423
2475
  loading: _,
2424
2476
  refresh: w,
2425
2477
  resetAndRefresh: g,
2426
2478
  resetPageAndRefresh: b,
2427
2479
  handleSizeChange: x,
2428
- handleCurrPageChange: V
2429
- } = at({
2480
+ handleCurrPageChange: M
2481
+ } = ot({
2430
2482
  fetchPage: H.download.fetchPage,
2431
2483
  pageParams: () => i.value,
2432
2484
  queryParams: () => o.value,
@@ -2442,79 +2494,79 @@ const aa = async (e) => {
2442
2494
  E.value.task = y, E.value.visible = !0;
2443
2495
  break;
2444
2496
  case "open-folder":
2445
- await aa(y);
2497
+ await ga(y);
2446
2498
  break;
2447
2499
  case "pause":
2448
- await oa(y);
2500
+ await fa(y);
2449
2501
  break;
2450
2502
  case "resume":
2451
- await ia(y);
2503
+ await _a(y);
2452
2504
  break;
2453
2505
  case "cancel":
2454
- await ca(y);
2506
+ await ha(y);
2455
2507
  break;
2456
2508
  case "delete":
2457
- await ra(y);
2458
- const S = p.value.findIndex((F) => F.id === y.id);
2509
+ await wa(y);
2510
+ const S = p.value.findIndex((U) => U.id === y.id);
2459
2511
  S > -1 && p.value.splice(S, 1), p.value.length < 1 && await b(), Y("删除任务成功");
2460
2512
  break;
2461
2513
  }
2462
2514
  };
2463
- let M = null;
2515
+ let V = null;
2464
2516
  ne(async () => {
2465
- M = await H.download.onUpdated((P) => {
2517
+ V = await H.download.onUpdated((P) => {
2466
2518
  for (let y = 0; y < p.value.length; y++) {
2467
2519
  const S = p.value[y];
2468
2520
  if (S.id === P.id) {
2469
- l.value === "all" || S.status === P.status ? Object.assign(S, P) : p.value.splice(y, 1);
2521
+ n.value === "all" || S.status === P.status ? Object.assign(S, P) : p.value.splice(y, 1);
2470
2522
  return;
2471
2523
  }
2472
2524
  }
2473
2525
  });
2474
2526
  }), ce(() => {
2475
- M?.();
2527
+ V?.();
2476
2528
  });
2477
- const U = C(() => o.value.status ? `暂无${We[o.value.status]}的任务` : "暂无下载任务");
2478
- return n({
2529
+ const F = C(() => o.value.status ? `暂无${Ge[o.value.status]}的任务` : "暂无下载任务");
2530
+ return l({
2479
2531
  refresh: w,
2480
2532
  resetAndRefresh: g
2481
2533
  }), (P, y) => {
2482
- const S = ds, F = us, X = Ge, ee = Z, q = Xe, ue = et;
2534
+ const S = fs, U = gs, X = Je, ee = Z, q = et, ue = tt;
2483
2535
  return r(), f(R, null, [
2484
- a("div", ua, [
2485
- a("div", da, [
2536
+ a("div", ya, [
2537
+ a("div", Aa, [
2486
2538
  I(P.$slots, "queryList", {}, () => [
2487
- d(F, {
2488
- modelValue: l.value,
2489
- "onUpdate:modelValue": y[0] || (y[0] = (Q) => l.value = Q),
2539
+ v(U, {
2540
+ modelValue: n.value,
2541
+ "onUpdate:modelValue": y[0] || (y[0] = (Q) => n.value = Q),
2490
2542
  size: "small",
2491
2543
  onChange: c
2492
2544
  }, {
2493
- default: u(() => [
2494
- d(S, {
2545
+ default: d(() => [
2546
+ v(S, {
2495
2547
  label: "全部",
2496
2548
  value: "all"
2497
2549
  }),
2498
- d(S, {
2550
+ v(S, {
2499
2551
  label: "已完成",
2500
2552
  value: "completed"
2501
2553
  }),
2502
- d(S, {
2554
+ v(S, {
2503
2555
  label: "下载中",
2504
2556
  value: "downloading"
2505
2557
  }),
2506
- d(S, {
2558
+ v(S, {
2507
2559
  label: "暂停中",
2508
2560
  value: "paused"
2509
2561
  }),
2510
- d(S, {
2562
+ v(S, {
2511
2563
  label: "已失败",
2512
2564
  value: "failed"
2513
2565
  })
2514
2566
  ]),
2515
2567
  _: 1
2516
2568
  }, 8, ["modelValue"]),
2517
- d(X, {
2569
+ v(X, {
2518
2570
  modelValue: o.value.title,
2519
2571
  "onUpdate:modelValue": y[1] || (y[1] = (Q) => o.value.title = Q),
2520
2572
  onChange: h(b),
@@ -2525,70 +2577,70 @@ const aa = async (e) => {
2525
2577
  }, null, 8, ["modelValue", "onChange"])
2526
2578
  ], !0)
2527
2579
  ]),
2528
- a("div", va, [
2580
+ a("div", ka, [
2529
2581
  I(P.$slots, "actions", {}, void 0, !0),
2530
2582
  e.showDefaultActions ? (r(), f(R, { key: 0 }, [
2531
- d(ee, {
2583
+ v(ee, {
2532
2584
  size: "small",
2533
2585
  onClick: y[2] || (y[2] = (Q) => h(H).download.pauseAll())
2534
2586
  }, {
2535
- default: u(() => [...y[7] || (y[7] = [
2536
- k("暂停所有任务", -1)
2587
+ default: d(() => [...y[7] || (y[7] = [
2588
+ A("暂停所有任务", -1)
2537
2589
  ])]),
2538
2590
  _: 1
2539
2591
  }),
2540
- d(ee, {
2592
+ v(ee, {
2541
2593
  size: "small",
2542
2594
  onClick: y[3] || (y[3] = (Q) => h(H).download.resumeAll())
2543
2595
  }, {
2544
- default: u(() => [...y[8] || (y[8] = [
2545
- k("继续所有任务", -1)
2596
+ default: d(() => [...y[8] || (y[8] = [
2597
+ A("继续所有任务", -1)
2546
2598
  ])]),
2547
2599
  _: 1
2548
2600
  })
2549
2601
  ], 64)) : $("", !0)
2550
2602
  ])
2551
2603
  ]),
2552
- a("div", pa, [
2604
+ a("div", ba, [
2553
2605
  a("div", {
2554
2606
  ref_key: "refList",
2555
2607
  ref: t,
2556
2608
  class: "download-list"
2557
2609
  }, [
2558
- (r(!0), f(R, null, O(h(p), (Q) => (r(), A(la, {
2610
+ (r(!0), f(R, null, O(h(p), (Q) => (r(), k(pa, {
2559
2611
  task: Q,
2560
2612
  key: Q.id,
2561
2613
  onAction: D
2562
2614
  }, {
2563
- titleExtra: u((j) => [
2615
+ titleExtra: d((j) => [
2564
2616
  I(P.$slots, "itemTitleExtra", G({ ref_for: !0 }, j), void 0, !0)
2565
2617
  ]),
2566
2618
  _: 3
2567
2619
  }, 8, ["task"]))), 128)),
2568
- h(p).length ? $("", !0) : (r(), A(q, {
2620
+ h(p).length ? $("", !0) : (r(), k(q, {
2569
2621
  key: 0,
2570
- description: U.value
2622
+ description: F.value
2571
2623
  }, null, 8, ["description"]))
2572
2624
  ], 512)
2573
2625
  ]),
2574
- d(ue, {
2626
+ v(ue, {
2575
2627
  class: "pagination",
2576
- "current-page": h(v).pageNum,
2577
- "onUpdate:currentPage": y[4] || (y[4] = (Q) => h(v).pageNum = Q),
2578
- "page-size": h(v).pageSize,
2579
- "onUpdate:pageSize": y[5] || (y[5] = (Q) => h(v).pageSize = Q),
2628
+ "current-page": h(u).pageNum,
2629
+ "onUpdate:currentPage": y[4] || (y[4] = (Q) => h(u).pageNum = Q),
2630
+ "page-size": h(u).pageSize,
2631
+ "onUpdate:pageSize": y[5] || (y[5] = (Q) => h(u).pageSize = Q),
2580
2632
  "page-sizes": e.pageSizes,
2581
- total: h(v).total,
2633
+ total: h(u).total,
2582
2634
  layout: "total, sizes, prev, pager, next, jumper",
2583
- onCurrentChange: h(V),
2635
+ onCurrentChange: h(M),
2584
2636
  onSizeChange: h(x)
2585
2637
  }, null, 8, ["current-page", "page-size", "page-sizes", "total", "onCurrentChange", "onSizeChange"]),
2586
- d(jn, {
2638
+ v(ta, {
2587
2639
  modelValue: E.value.visible,
2588
2640
  "onUpdate:modelValue": y[6] || (y[6] = (Q) => E.value.visible = Q),
2589
2641
  task: E.value.task
2590
2642
  }, {
2591
- default: u(() => [
2643
+ default: d(() => [
2592
2644
  E.value.task ? I(P.$slots, "detailsDialog", {
2593
2645
  key: 0,
2594
2646
  task: E.value.task
@@ -2599,78 +2651,78 @@ const aa = async (e) => {
2599
2651
  ], 64);
2600
2652
  };
2601
2653
  }
2602
- }), zo = /* @__PURE__ */ L(ma, [["__scopeId", "data-v-19b20db4"]]);
2654
+ }), Ro = /* @__PURE__ */ L(Ca, [["__scopeId", "data-v-19b20db4"]]);
2603
2655
  export {
2604
2656
  N as AppIcon,
2605
2657
  ae as AppTooltip,
2606
- xl as BiliUserCard,
2607
- Eo as BiliUserInfo,
2608
- ho as CountdownDialog,
2609
- Nl as DeleteConfirmDialog,
2610
- jn as DownloadDetailsDialog,
2611
- la as DownloadItem,
2612
- zo as DownloadManagePage,
2613
- ft as DownloadProgress,
2614
- _t as DownloadProgressDetails,
2615
- dn as DownloadResourceTag,
2616
- ht as DownloadResult,
2617
- gt as DownloadStatus,
2618
- Tn as DownloadVideoCard,
2619
- fn as DownloadVideoPartCard,
2620
- Co as ExternalLink,
2621
- bo as IconButton,
2622
- it as IconLabel,
2623
- Ns as LoadingDialog,
2624
- xo as LogPrint,
2625
- Rs as PageRangeDialog,
2626
- $o as PageTable,
2627
- mt as PluginMenuItem,
2628
- Il as PluginMenus,
2629
- So as PluginPageContent,
2630
- Bo as PluginPageHeader,
2631
- nl as ProcessDialog,
2632
- Is as SelectDialog,
2633
- fo as SettingGroup,
2634
- _o as SettingItem,
2635
- un as VideoStatsInfo,
2636
- Ie as baseUpdateThemeColor,
2637
- Le as blackColor,
2638
- Se as formatBytes,
2639
- Zl as formatSpeed,
2640
- Fe as formatStatCount,
2641
- ca as handleCancel,
2642
- ra as handleDelete,
2643
- uo as handleError,
2644
- aa as handleOpenFolder,
2645
- oa as handlePause,
2646
- ia as handleResume,
2647
- ao as initAppTheme,
2648
- ro as initBilitoolkitUi,
2649
- Ae as initTransparentColors,
2650
- Ve as isDarkTheme,
2651
- ko as loadingDialog,
2652
- _n as parseVideoZoneLabel,
2653
- Ao as processDialog,
2654
- ms as showConfirm,
2655
- po as showConfirmSequence,
2656
- na as showDeleteConfirmDialog,
2658
+ zl as BiliUserCard,
2659
+ Qo as BiliUserInfo,
2660
+ So as CountdownDialog,
2661
+ sn as DeleteConfirmDialog,
2662
+ ta as DownloadDetailsDialog,
2663
+ pa as DownloadItem,
2664
+ Ro as DownloadManagePage,
2665
+ wt as DownloadProgress,
2666
+ yt as DownloadProgressDetails,
2667
+ An as DownloadResourceTag,
2668
+ At as DownloadResult,
2669
+ ht as DownloadStatus,
2670
+ Wn as DownloadVideoCard,
2671
+ En as DownloadVideoPartCard,
2672
+ Mo as ExternalLink,
2673
+ Io as IconButton,
2674
+ ct as IconLabel,
2675
+ Ks as LoadingDialog,
2676
+ Vo as LogPrint,
2677
+ js as PageRangeDialog,
2678
+ Lo as PageTable,
2679
+ gt as PluginMenuItem,
2680
+ Tl as PluginMenus,
2681
+ To as PluginPageContent,
2682
+ Ho as PluginPageHeader,
2683
+ rl as ProcessDialog,
2684
+ Ts as SelectDialog,
2685
+ Eo as SettingGroup,
2686
+ Bo as SettingItem,
2687
+ yn as VideoStatsInfo,
2688
+ Ve as baseUpdateThemeColor,
2689
+ Fe as blackColor,
2690
+ $e as formatBytes,
2691
+ ln as formatSpeed,
2692
+ ze as formatStatCount,
2693
+ ha as handleCancel,
2694
+ wa as handleDelete,
2695
+ Ao as handleError,
2696
+ ga as handleOpenFolder,
2697
+ fa as handlePause,
2698
+ _a as handleResume,
2699
+ fo as initAppTheme,
2700
+ yo as initBilitoolkitUi,
2701
+ ke as initTransparentColors,
2702
+ Qe as isDarkTheme,
2703
+ Do as loadingDialog,
2704
+ Bn as parseVideoZoneLabel,
2705
+ Po as processDialog,
2706
+ ws as showConfirm,
2707
+ bo as showConfirmSequence,
2708
+ ma as showDeleteConfirmDialog,
2657
2709
  ie as showError,
2658
- yo as showPageRangeDialog,
2659
- wo as showSelectDialog,
2710
+ zo as showPageRangeDialog,
2711
+ $o as showSelectDialog,
2660
2712
  Y as showToast,
2661
- vo as showWarning,
2662
- oo as switchDefaultTheme,
2663
- io as switchThemeMode,
2713
+ ko as showWarning,
2714
+ _o as switchDefaultTheme,
2715
+ ho as switchThemeMode,
2664
2716
  H as toolkitApi,
2665
2717
  _e as updateAppTheme,
2666
- co as updatePrimaryColor,
2718
+ wo as updatePrimaryColor,
2667
2719
  ye as useAppThemeStore,
2668
- mo as useAutoRefreshData,
2669
- xs as useCountdown,
2670
- gs as useElementHeight,
2671
- Me as useLoadingData,
2672
- at as usePageTable,
2673
- go as useSelectData,
2674
- nt as useSelectedUserStore,
2675
- Te as whiteColor
2720
+ Co as useAutoRefreshData,
2721
+ zs as useCountdown,
2722
+ ys as useElementHeight,
2723
+ He as useLoadingData,
2724
+ ot as usePageTable,
2725
+ xo as useSelectData,
2726
+ at as useSelectedUserStore,
2727
+ Re as whiteColor
2676
2728
  };