@yuku123/z-team-component 0.2.46 → 0.2.49

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.
@@ -1,20 +1,20 @@
1
1
  import { jsx as e, jsxs as n, Fragment as Ie } from "react/jsx-runtime";
2
- import { f as Zs, u as el, a as tl, b as nl, s as al, S as Qa, T as Xa, P as Za, c as es } from "./webide-qCE8lM1s.js";
3
- import { RightOutlined as ts, PlusOutlined as cn, LeftOutlined as sl, CheckOutlined as ea, LoadingOutlined as ra, EditOutlined as Cn, DeleteOutlined as fn, UpOutlined as ca, RedoOutlined as ns, DownOutlined as ll, StopOutlined as as, CopyOutlined as ol, ArrowLeftOutlined as tn, BellOutlined as il, CloseOutlined as da, SaveOutlined as rl, ProfileOutlined as cl, MessageOutlined as ta, SettingOutlined as ss, FolderOpenOutlined as on, ThunderboltOutlined as na, ClockCircleOutlined as Un, FolderOutlined as dl, FileTextOutlined as An, CommentOutlined as ul, SyncOutlined as ml, CheckCircleOutlined as Jt, PercentageOutlined as hl, FilePptOutlined as pl, ScheduleOutlined as _l, FileImageOutlined as gl, MinusOutlined as fl, ArrowUpOutlined as yl, ArrowDownOutlined as vl, CodeOutlined as ls, Html5Outlined as ua, OrderedListOutlined as ma, LockOutlined as wn, LinkOutlined as Sn, SnippetsOutlined as os, SafetyCertificateOutlined as ha, KeyOutlined as bl, DiffOutlined as Nl, FontSizeOutlined as kl, ScissorOutlined as Cl, ReloadOutlined as yn, CalendarOutlined as pa, BgColorsOutlined as wl, QrcodeOutlined as Sl, ApiOutlined as Tl, SendOutlined as Il, MoreOutlined as xl, FileSearchOutlined as is, PlayCircleOutlined as Gt, FileDoneOutlined as Wn, CloseCircleOutlined as Al, GiftOutlined as rs, CheckCircleFilled as Bl, GoldOutlined as cs, EyeOutlined as Ll, CrownOutlined as Ml, DesktopOutlined as $l, DashboardOutlined as aa, MenuUnfoldOutlined as Rl, MenuFoldOutlined as Dl, TeamOutlined as El, BarChartOutlined as ds, PieChartOutlined as us, UnorderedListOutlined as ms, ReadOutlined as hs, ConsoleSqlOutlined as ps } from "@ant-design/icons";
2
+ import { f as Zs, u as el, a as tl, b as nl, s as al, S as Qa, T as Xa, P as Za, c as es } from "./webide-RsFP9pHM.js";
3
+ import { RightOutlined as ts, PlusOutlined as cn, LeftOutlined as sl, CheckOutlined as ea, LoadingOutlined as ra, EditOutlined as Cn, DeleteOutlined as fn, UpOutlined as ca, RedoOutlined as ns, DownOutlined as ll, StopOutlined as as, CopyOutlined as ol, ArrowLeftOutlined as tn, BellOutlined as il, CloseOutlined as da, SaveOutlined as rl, ProfileOutlined as cl, MessageOutlined as ta, SettingOutlined as ss, FolderOpenOutlined as on, ThunderboltOutlined as na, ClockCircleOutlined as zn, FolderOutlined as dl, FileTextOutlined as xn, CommentOutlined as ul, SyncOutlined as ml, CheckCircleOutlined as Jt, PercentageOutlined as hl, FilePptOutlined as pl, ScheduleOutlined as _l, FileImageOutlined as gl, MinusOutlined as fl, ArrowUpOutlined as yl, ArrowDownOutlined as vl, CodeOutlined as ls, Html5Outlined as ua, OrderedListOutlined as ma, LockOutlined as wn, LinkOutlined as Sn, SnippetsOutlined as os, SafetyCertificateOutlined as ha, KeyOutlined as bl, DiffOutlined as Nl, FontSizeOutlined as kl, ScissorOutlined as Cl, ReloadOutlined as yn, CalendarOutlined as pa, BgColorsOutlined as wl, QrcodeOutlined as Sl, ApiOutlined as Tl, SendOutlined as Il, MoreOutlined as xl, FileSearchOutlined as is, PlayCircleOutlined as Gt, FileDoneOutlined as Un, CloseCircleOutlined as Al, GiftOutlined as rs, CheckCircleFilled as Bl, GoldOutlined as cs, EyeOutlined as Ll, CrownOutlined as Ml, DesktopOutlined as $l, DashboardOutlined as aa, MenuUnfoldOutlined as Rl, MenuFoldOutlined as Dl, TeamOutlined as El, BarChartOutlined as ds, PieChartOutlined as us, UnorderedListOutlined as ms, ReadOutlined as hs, ConsoleSqlOutlined as ps } from "@ant-design/icons";
4
4
  import { createElement as Pl, useState as o, useRef as Ae, useMemo as Le, useEffect as oe, useCallback as F, Fragment as Ol } from "react";
5
5
  import { createPortal as Hl } from "react-dom";
6
- import { a as Yt, f as Qt, B as Xt, u as Zt, au as jl, av as qn, k as yt, aw as Fl, t as _s, ax as Gl, ay as zl, az as Ul, K as Wl, aA as gs, aB as ql, aC as Kl, q as Vl, aD as Jl, am as Yl, T as Ql, ao as fs, aE as Xl, aF as ys, aG as Zl, aH as eo, aI as to, aJ as no, aK as vs, aL as ao } from "./api-C78tCfne.js";
7
- import { n as bs, o as $n, p as so, q as lo, s as oo, v as io, x as ro, y as Ns, z as _a, A as ks, B as co, C as Cs, D as Kn, E as uo, F as mo, G as ho } from "./index-d-1KM3FU.js";
6
+ import { a as Yt, f as Qt, B as Xt, u as Zt, au as jl, av as Wn, k as yt, aw as Fl, t as _s, ax as Gl, ay as zl, az as Ul, K as Wl, aA as gs, aB as ql, aC as Kl, q as Vl, aD as Jl, am as Yl, T as Ql, ao as fs, aE as Xl, aF as ys, aG as Zl, aH as eo, aI as to, aJ as no, aK as vs, aL as ao } from "./api-C78tCfne.js";
7
+ import { o as bs, p as Mn, q as so, s as lo, v as oo, x as io, y as ro, z as Ns, A as _a, B as ks, C as co, D as Cs, E as qn, F as uo, G as mo, a as ws, H as ho } from "./index-CtWrcU5w.js";
8
8
  import { u as Ye, s as mn } from "./useAppStore-ibJyVIAX.js";
9
9
  import { s as po } from "./admin-logs-D6HtRcK6.js";
10
- import { h as Tn, b as _o, f as go, s as fo, c as yo, d as vo, u as bo, e as No, t as ko, r as Co, m as wo, a as So } from "./schedule-Dstx5SE_.js";
11
- import Bn from "react-markdown";
12
- import ws from "rehype-highlight";
13
- import Ln from "remark-gfm";
10
+ import { b as _o, f as go, s as fo, c as yo, d as vo, u as bo, e as No, t as ko, r as Co, m as wo, a as So, h as Kn } from "./schedule-C-4ksDPw.js";
11
+ import An from "react-markdown";
12
+ import Ss from "rehype-highlight";
13
+ import Bn from "remark-gfm";
14
14
  import { T as To, z as Io, A as xo, D as Ao } from "./createWorkspaceWsHandler-mq-UTF2O.js";
15
15
  import { message as we, Spin as Dt, Input as He, Switch as hn, Select as qt, InputNumber as Bo, Tabs as Lo, Card as Mo, Tag as ge, Table as $o, DatePicker as Ro, Segmented as Do, Empty as vt, Modal as jt, Button as se, Space as et, Typography as Eo, Radio as Ft, Row as Mt, Col as nt, List as ga, Statistic as Po, Tooltip as rn, Form as pn, Progress as dn } from "antd";
16
16
  import ln from "dayjs";
17
- import * as In from "echarts/core";
17
+ import * as Tn from "echarts/core";
18
18
  import { BarChart as Oo, LineChart as Ho, PieChart as jo } from "echarts/charts";
19
19
  import { GridComponent as Fo, LegendComponent as Go, TitleComponent as zo, TooltipComponent as Uo } from "echarts/components";
20
20
  import { CanvasRenderer as Wo } from "echarts/renderers";
@@ -22,7 +22,7 @@ import { c as qo } from "./instance-D5dhjbgg.js";
22
22
  import { diffLines as Ko } from "diff";
23
23
  import Vo, { DiffMethod as Jo } from "react-diff-viewer-continued";
24
24
  import { format as Yo } from "sql-formatter";
25
- import { V as Ss, W as Qo, k as Xo, h as Zo, X as Ts, Y as ei, Z as ti, _ as fa, $ as ni, a0 as ai, a1 as Is, a2 as si, a3 as li, a4 as oi, a5 as ii, a6 as ri, a7 as ci } from "./training-Ba09KItE.js";
25
+ import { V as Ts, W as Qo, k as Xo, h as Zo, X as Is, Y as ei, Z as ti, _ as fa, $ as ni, a0 as ai, a1 as xs, a2 as si, a3 as li, a4 as oi, a5 as ii, a6 as ri, a7 as ci } from "./training-Ba09KItE.js";
26
26
  async function di(t = {}, s = "") {
27
27
  const a = new URLSearchParams();
28
28
  t.keyword && a.set("keyword", t.keyword), t.category && a.set("category", t.category), t.status !== void 0 && a.set("status", String(t.status)), s && a.set("token", s);
@@ -41,21 +41,6 @@ async function ui(t, s = "") {
41
41
  );
42
42
  return Zt(l, "获取 FT skill 详情失败");
43
43
  }
44
- const mi = {
45
- personal: "PERSONAL_ENTRY",
46
- collaboration: "COLLABORATION_ENTRY",
47
- training: "TRAINING",
48
- knowledge: "BIZ_KNOWLEDGE",
49
- admin: "ADMIN_ENTRY",
50
- dev: "DEV_ENTRY",
51
- test: "TEST_ENTRY"
52
- }, hi = ["personal", "collaboration"];
53
- function xs(t, s) {
54
- if (!t)
55
- return hi.includes(s);
56
- const a = mi[s];
57
- return a ? Tn(t, a) : !0;
58
- }
59
44
  function Pe(t) {
60
45
  function s({ className: a, spin: l, style: i, ...c }) {
61
46
  return /* @__PURE__ */ e(
@@ -95,7 +80,7 @@ const ya = Pe([
95
80
  key: "k3hazp"
96
81
  }
97
82
  ]
98
- ]), pi = Pe([
83
+ ]), mi = Pe([
99
84
  [
100
85
  "path",
101
86
  {
@@ -108,7 +93,7 @@ const ya = Pe([
108
93
  ]), As = Pe([
109
94
  ["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
110
95
  ["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
111
- ]), _i = Pe([
96
+ ]), hi = Pe([
112
97
  [
113
98
  "path",
114
99
  {
@@ -116,14 +101,14 @@ const ya = Pe([
116
101
  key: "mvr1a0"
117
102
  }
118
103
  ]
119
- ]), gi = Pe([
104
+ ]), pi = Pe([
120
105
  [
121
106
  "path",
122
107
  { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }
123
108
  ],
124
109
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }],
125
110
  ["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
126
- ]), fi = Pe([
111
+ ]), _i = Pe([
127
112
  ["path", { d: "m16 17 5-5-5-5", key: "1bji2h" }],
128
113
  ["path", { d: "M21 12H9", key: "dn1m92" }],
129
114
  ["path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", key: "1uf3rs" }]
@@ -136,7 +121,7 @@ const ya = Pe([
136
121
  }
137
122
  ],
138
123
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
139
- ]), yi = Pe([
124
+ ]), gi = Pe([
140
125
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
141
126
  ["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
142
127
  ["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
@@ -144,7 +129,7 @@ const ya = Pe([
144
129
  ]), Bs = Pe([
145
130
  ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
146
131
  ["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
147
- ]), vi = Pe([
132
+ ]), fi = Pe([
148
133
  [
149
134
  "path",
150
135
  { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }
@@ -163,7 +148,7 @@ const ya = Pe([
163
148
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
164
149
  ]), kn = Pe([
165
150
  ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
166
- ]), bi = Pe([
151
+ ]), yi = Pe([
167
152
  ["circle", { cx: "18", cy: "5", r: "3", key: "gq8acd" }],
168
153
  ["circle", { cx: "6", cy: "12", r: "3", key: "w7nqdw" }],
169
154
  ["circle", { cx: "18", cy: "19", r: "3", key: "1xt0gg" }],
@@ -172,7 +157,7 @@ const ya = Pe([
172
157
  { x1: "8.59", x2: "15.42", y1: "13.51", y2: "17.49", key: "47mynk" }
173
158
  ],
174
159
  ["line", { x1: "15.41", x2: "8.59", y1: "6.51", y2: "10.49", key: "1n3mei" }]
175
- ]), Ni = Pe([
160
+ ]), vi = Pe([
176
161
  [
177
162
  "path",
178
163
  {
@@ -180,14 +165,14 @@ const ya = Pe([
180
165
  key: "1xq2db"
181
166
  }
182
167
  ]
183
- ]), ki = Pe([
168
+ ]), bi = Pe([
184
169
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
185
170
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
186
171
  ]), va = Pe([
187
172
  ["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
188
173
  ["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
189
174
  ["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
190
- ]), Ci = Pe([
175
+ ]), Ni = Pe([
191
176
  [
192
177
  "path",
193
178
  {
@@ -212,7 +197,7 @@ const ya = Pe([
212
197
  ["path", { d: "M20 14h2", key: "4cs60a" }],
213
198
  ["path", { d: "M15 13v2", key: "1xurst" }],
214
199
  ["path", { d: "M9 13v2", key: "rq6x2g" }]
215
- ]), wi = Pe([
200
+ ]), ki = Pe([
216
201
  [
217
202
  "path",
218
203
  {
@@ -220,7 +205,7 @@ const ya = Pe([
220
205
  key: "1ngwbx"
221
206
  }
222
207
  ]
223
- ]), Si = Pe([
208
+ ]), Ci = Pe([
224
209
  [
225
210
  "path",
226
211
  {
@@ -228,7 +213,7 @@ const ya = Pe([
228
213
  key: "1xq2db"
229
214
  }
230
215
  ]
231
- ]), Ti = Pe([
216
+ ]), wi = Pe([
232
217
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
233
218
  ["path", { d: "M12 2v2", key: "tus03m" }],
234
219
  ["path", { d: "M17 20v2", key: "1rnc9c" }],
@@ -246,11 +231,11 @@ const ya = Pe([
246
231
  { x: "4", y: "4", width: "16", height: "16", rx: "2", key: "1vbyd7" }
247
232
  ],
248
233
  ["rect", { x: "8", y: "8", width: "8", height: "8", rx: "1", key: "z9xiuo" }]
249
- ]), Ii = Pe([
234
+ ]), Si = Pe([
250
235
  ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
251
236
  ]);
252
237
  function Vn(t) {
253
- return /* @__PURE__ */ e(Ii, { spin: !0, ...t });
238
+ return /* @__PURE__ */ e(Si, { spin: !0, ...t });
254
239
  }
255
240
  const Ms = Pe([
256
241
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
@@ -264,14 +249,14 @@ const Ms = Pe([
264
249
  key: "cloud1"
265
250
  }
266
251
  ]
267
- ]), xi = Pe([
252
+ ]), Ti = Pe([
268
253
  ["circle", { cx: "12", cy: "12", r: "10", key: "globe1" }],
269
254
  [
270
255
  "path",
271
256
  { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "globe2" }
272
257
  ],
273
258
  ["path", { d: "M2 12h20", key: "globe3" }]
274
- ]), Ai = Pe([
259
+ ]), Ii = Pe([
275
260
  ["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "arch1" }],
276
261
  ["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", key: "arch2" }],
277
262
  ["path", { d: "M10 12h4", key: "arch3" }]
@@ -311,7 +296,7 @@ const Ms = Pe([
311
296
  ["path", { d: "M7 16h10", key: "kb7" }],
312
297
  ["path", { d: "M8 12h.01", key: "kb8" }],
313
298
  ["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "kb9" }]
314
- ]), Bi = Pe([
299
+ ]), xi = Pe([
315
300
  [
316
301
  "path",
317
302
  {
@@ -319,7 +304,7 @@ const Ms = Pe([
319
304
  key: "shield1"
320
305
  }
321
306
  ]
322
- ]), Li = Pe([
307
+ ]), Ai = Pe([
323
308
  ["circle", { cx: "12", cy: "12", r: "10", key: "info1" }],
324
309
  ["path", { d: "M12 16v-4", key: "info2" }],
325
310
  ["path", { d: "M12 8h.01", key: "info3" }]
@@ -348,80 +333,80 @@ const Ms = Pe([
348
333
  "rect",
349
334
  { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }
350
335
  ]
351
- ]), Mi = "_container_3gc15_1", $i = "_sessionPanel_3gc15_9", Ri = "_sessionHeader_3gc15_19", Di = "_sessionHeaderActions_3gc15_32", Ei = "_sessionBtnSm_3gc15_37", Pi = "_sessionList_3gc15_55", Oi = "_sessionItem_3gc15_61", Hi = "_sessionItemActive_3gc15_79", ji = "_sessionItemTitle_3gc15_84", Fi = "_sessionLiveDot_3gc15_93", Gi = "_sessionItemTime_3gc15_100", zi = "_sessionDeleteBtn_3gc15_106", Ui = "_sessionRenameBtn_3gc15_127", Wi = "_sessionRenameInput_3gc15_148", qi = "_sessionCreateRow_3gc15_160", Ki = "_sessionCreateInput_3gc15_166", Vi = "_sessionCreateConfirm_3gc15_180", Ji = "_sessionCreateCancel_3gc15_181", Yi = "_sessionSearchRow_3gc15_203", Qi = "_sessionSearchInput_3gc15_209", Xi = "_sessionSearchClear_3gc15_224", Zi = "_sessionEmpty_3gc15_245", er = "_sessionExpandBtn_3gc15_255", tr = "_chatPanel_3gc15_275", nr = "_chatHeader_3gc15_284", ar = "_agentAvatar_3gc15_296", sr = "_chatHeaderMeta_3gc15_309", lr = "_chatHeaderName_3gc15_317", or = "_chatHeaderSession_3gc15_324", ir = "_chatHeaderBadge_3gc15_332", rr = "_streamingIndicator_3gc15_342", cr = "_threadScroll_3gc15_351", dr = "_threadInner_3gc15_357", ur = "_landing_3gc15_368", mr = "_landingLogo_3gc15_378", hr = "_landingTitle_3gc15_392", pr = "_landingHint_3gc15_398", _r = "_newChatLanding_3gc15_404", gr = "_landingComposer_3gc15_415", fr = "_landingInput_3gc15_432", yr = "_chatEmpty_3gc15_448", vr = "_userRow_3gc15_459", br = "_userBubble_3gc15_464", Nr = "_assistantBlock_3gc15_478", kr = "_md_3gc15_488", Cr = "_mdPreWrap_3gc15_546", wr = "_mdPreCopy_3gc15_550", Sr = "_caretCursor_3gc15_585", Tr = "_errorBar_3gc15_602", Ir = "_errorRetryBtn_3gc15_611", xr = "_stoppedBar_3gc15_626", Ar = "_scrollTopBtn_3gc15_636", Br = "_scrollTopBtnVisible_3gc15_658", Lr = "_composerWrap_3gc15_669", Mr = "_composer_3gc15_669", $r = "_composerInput_3gc15_691", Rr = "_sendBtn_3gc15_709", Dr = "_stopBtn_3gc15_710", Er = "_sendBtnReady_3gc15_730", Pr = "_composerHint_3gc15_748", Or = "_msgMeta_3gc15_758", Hr = "_copyBtn_3gc15_769", jr = "_copyBtnInline_3gc15_799", Fr = "_copyBtnDone_3gc15_806", Gr = "_landingChips_3gc15_811", zr = "_landingChip_3gc15_811", Ur = "_userActions_3gc15_838", Wr = "_userActionBtn_3gc15_851", qr = "_editingBar_3gc15_874", Kr = "_pendingBar_3gc15_889", Vr = "_editingCancel_3gc15_910", J = {
352
- container: Mi,
353
- sessionPanel: $i,
354
- sessionHeader: Ri,
355
- sessionHeaderActions: Di,
356
- sessionBtnSm: Ei,
357
- sessionList: Pi,
358
- sessionItem: Oi,
359
- sessionItemActive: Hi,
360
- sessionItemTitle: ji,
361
- sessionLiveDot: Fi,
362
- sessionItemTime: Gi,
363
- sessionDeleteBtn: zi,
364
- sessionRenameBtn: Ui,
365
- sessionRenameInput: Wi,
366
- sessionCreateRow: qi,
367
- sessionCreateInput: Ki,
368
- sessionCreateConfirm: Vi,
369
- sessionCreateCancel: Ji,
370
- sessionSearchRow: Yi,
371
- sessionSearchInput: Qi,
372
- sessionSearchClear: Xi,
373
- sessionEmpty: Zi,
374
- sessionExpandBtn: er,
375
- chatPanel: tr,
376
- chatHeader: nr,
377
- agentAvatar: ar,
378
- chatHeaderMeta: sr,
379
- chatHeaderName: lr,
380
- chatHeaderSession: or,
381
- chatHeaderBadge: ir,
382
- streamingIndicator: rr,
383
- threadScroll: cr,
384
- threadInner: dr,
385
- landing: ur,
386
- landingLogo: mr,
387
- landingTitle: hr,
388
- landingHint: pr,
389
- newChatLanding: _r,
390
- landingComposer: gr,
391
- landingInput: fr,
392
- chatEmpty: yr,
393
- userRow: vr,
394
- userBubble: br,
395
- assistantBlock: Nr,
396
- md: kr,
397
- mdPreWrap: Cr,
398
- mdPreCopy: wr,
399
- caretCursor: Sr,
400
- errorBar: Tr,
401
- errorRetryBtn: Ir,
402
- stoppedBar: xr,
403
- scrollTopBtn: Ar,
404
- scrollTopBtnVisible: Br,
405
- composerWrap: Lr,
406
- composer: Mr,
407
- composerInput: $r,
408
- sendBtn: Rr,
409
- stopBtn: Dr,
410
- sendBtnReady: Er,
411
- composerHint: Pr,
412
- msgMeta: Or,
413
- copyBtn: Hr,
414
- copyBtnInline: jr,
415
- copyBtnDone: Fr,
416
- landingChips: Gr,
417
- landingChip: zr,
418
- userActions: Ur,
419
- userActionBtn: Wr,
420
- editingBar: qr,
421
- pendingBar: Kr,
422
- editingCancel: Vr
336
+ ]), Bi = "_container_3gc15_1", Li = "_sessionPanel_3gc15_9", Mi = "_sessionHeader_3gc15_19", $i = "_sessionHeaderActions_3gc15_32", Ri = "_sessionBtnSm_3gc15_37", Di = "_sessionList_3gc15_55", Ei = "_sessionItem_3gc15_61", Pi = "_sessionItemActive_3gc15_79", Oi = "_sessionItemTitle_3gc15_84", Hi = "_sessionLiveDot_3gc15_93", ji = "_sessionItemTime_3gc15_100", Fi = "_sessionDeleteBtn_3gc15_106", Gi = "_sessionRenameBtn_3gc15_127", zi = "_sessionRenameInput_3gc15_148", Ui = "_sessionCreateRow_3gc15_160", Wi = "_sessionCreateInput_3gc15_166", qi = "_sessionCreateConfirm_3gc15_180", Ki = "_sessionCreateCancel_3gc15_181", Vi = "_sessionSearchRow_3gc15_203", Ji = "_sessionSearchInput_3gc15_209", Yi = "_sessionSearchClear_3gc15_224", Qi = "_sessionEmpty_3gc15_245", Xi = "_sessionExpandBtn_3gc15_255", Zi = "_chatPanel_3gc15_275", er = "_chatHeader_3gc15_284", tr = "_agentAvatar_3gc15_296", nr = "_chatHeaderMeta_3gc15_309", ar = "_chatHeaderName_3gc15_317", sr = "_chatHeaderSession_3gc15_324", lr = "_chatHeaderBadge_3gc15_332", or = "_streamingIndicator_3gc15_342", ir = "_threadScroll_3gc15_351", rr = "_threadInner_3gc15_357", cr = "_landing_3gc15_368", dr = "_landingLogo_3gc15_378", ur = "_landingTitle_3gc15_392", mr = "_landingHint_3gc15_398", hr = "_newChatLanding_3gc15_404", pr = "_landingComposer_3gc15_415", _r = "_landingInput_3gc15_432", gr = "_chatEmpty_3gc15_448", fr = "_userRow_3gc15_459", yr = "_userBubble_3gc15_464", vr = "_assistantBlock_3gc15_478", br = "_md_3gc15_488", Nr = "_mdPreWrap_3gc15_546", kr = "_mdPreCopy_3gc15_550", Cr = "_caretCursor_3gc15_585", wr = "_errorBar_3gc15_602", Sr = "_errorRetryBtn_3gc15_611", Tr = "_stoppedBar_3gc15_626", Ir = "_scrollTopBtn_3gc15_636", xr = "_scrollTopBtnVisible_3gc15_658", Ar = "_composerWrap_3gc15_669", Br = "_composer_3gc15_669", Lr = "_composerInput_3gc15_691", Mr = "_sendBtn_3gc15_709", $r = "_stopBtn_3gc15_710", Rr = "_sendBtnReady_3gc15_730", Dr = "_composerHint_3gc15_748", Er = "_msgMeta_3gc15_758", Pr = "_copyBtn_3gc15_769", Or = "_copyBtnInline_3gc15_799", Hr = "_copyBtnDone_3gc15_806", jr = "_landingChips_3gc15_811", Fr = "_landingChip_3gc15_811", Gr = "_userActions_3gc15_838", zr = "_userActionBtn_3gc15_851", Ur = "_editingBar_3gc15_874", Wr = "_pendingBar_3gc15_889", qr = "_editingCancel_3gc15_910", J = {
337
+ container: Bi,
338
+ sessionPanel: Li,
339
+ sessionHeader: Mi,
340
+ sessionHeaderActions: $i,
341
+ sessionBtnSm: Ri,
342
+ sessionList: Di,
343
+ sessionItem: Ei,
344
+ sessionItemActive: Pi,
345
+ sessionItemTitle: Oi,
346
+ sessionLiveDot: Hi,
347
+ sessionItemTime: ji,
348
+ sessionDeleteBtn: Fi,
349
+ sessionRenameBtn: Gi,
350
+ sessionRenameInput: zi,
351
+ sessionCreateRow: Ui,
352
+ sessionCreateInput: Wi,
353
+ sessionCreateConfirm: qi,
354
+ sessionCreateCancel: Ki,
355
+ sessionSearchRow: Vi,
356
+ sessionSearchInput: Ji,
357
+ sessionSearchClear: Yi,
358
+ sessionEmpty: Qi,
359
+ sessionExpandBtn: Xi,
360
+ chatPanel: Zi,
361
+ chatHeader: er,
362
+ agentAvatar: tr,
363
+ chatHeaderMeta: nr,
364
+ chatHeaderName: ar,
365
+ chatHeaderSession: sr,
366
+ chatHeaderBadge: lr,
367
+ streamingIndicator: or,
368
+ threadScroll: ir,
369
+ threadInner: rr,
370
+ landing: cr,
371
+ landingLogo: dr,
372
+ landingTitle: ur,
373
+ landingHint: mr,
374
+ newChatLanding: hr,
375
+ landingComposer: pr,
376
+ landingInput: _r,
377
+ chatEmpty: gr,
378
+ userRow: fr,
379
+ userBubble: yr,
380
+ assistantBlock: vr,
381
+ md: br,
382
+ mdPreWrap: Nr,
383
+ mdPreCopy: kr,
384
+ caretCursor: Cr,
385
+ errorBar: wr,
386
+ errorRetryBtn: Sr,
387
+ stoppedBar: Tr,
388
+ scrollTopBtn: Ir,
389
+ scrollTopBtnVisible: xr,
390
+ composerWrap: Ar,
391
+ composer: Br,
392
+ composerInput: Lr,
393
+ sendBtn: Mr,
394
+ stopBtn: $r,
395
+ sendBtnReady: Rr,
396
+ composerHint: Dr,
397
+ msgMeta: Er,
398
+ copyBtn: Pr,
399
+ copyBtnInline: Or,
400
+ copyBtnDone: Hr,
401
+ landingChips: jr,
402
+ landingChip: Fr,
403
+ userActions: Gr,
404
+ userActionBtn: zr,
405
+ editingBar: Ur,
406
+ pendingBar: Wr,
407
+ editingCancel: qr
423
408
  };
424
- function Jr(t) {
409
+ function Kr(t) {
425
410
  if (t && t.trim().startsWith("{"))
426
411
  try {
427
412
  const s = JSON.parse(t);
@@ -438,7 +423,7 @@ function Jr(t) {
438
423
  }
439
424
  function ba(t) {
440
425
  return (t || []).map((s, a) => {
441
- const l = Jr(s.content);
426
+ const l = Kr(s.content);
442
427
  return {
443
428
  id: `local-${s.timestamp}-${s.role}-${a}`,
444
429
  role: s.role === "assistant" ? "assistant" : "user",
@@ -452,10 +437,10 @@ function ba(t) {
452
437
  function an(t) {
453
438
  return t.filter((s) => s.type === "text").map((s) => s.text).join("");
454
439
  }
455
- function Yr(t) {
440
+ function Vr(t) {
456
441
  return t >= 1e4 ? `${Math.round(t / 1e3)}k` : t >= 1e3 ? `${(t / 1e3).toFixed(1)}k` : String(t);
457
442
  }
458
- function Qr(t) {
443
+ function Jr(t) {
459
444
  if (t == null || t <= 0) return "";
460
445
  const s = Date.now() - t;
461
446
  if (s < 6e4) return "刚刚";
@@ -481,10 +466,10 @@ function ka(t) {
481
466
  for (let a = 0; a < t.length; a++) s = s * 31 + t.charCodeAt(a) | 0;
482
467
  return Na[Math.abs(s) % Na.length];
483
468
  }
484
- function Rn(t) {
469
+ function $n(t) {
485
470
  return t ? t.charAt(0).toUpperCase() : "?";
486
471
  }
487
- function Xr({ children: t }) {
472
+ function Yr({ children: t }) {
488
473
  const s = Ae(null);
489
474
  return /* @__PURE__ */ n("div", { className: J.mdPreWrap, children: [
490
475
  /* @__PURE__ */ e("div", { className: J.mdPreCopy, children: /* @__PURE__ */ e(Yn, { getText: () => {
@@ -494,20 +479,20 @@ function Xr({ children: t }) {
494
479
  /* @__PURE__ */ e("pre", { ref: s, children: t })
495
480
  ] });
496
481
  }
497
- function Zr({ text: t }) {
482
+ function Qr({ text: t }) {
498
483
  return /* @__PURE__ */ e("div", { className: J.md, children: /* @__PURE__ */ e(
499
- Bn,
484
+ An,
500
485
  {
501
- remarkPlugins: [Ln],
502
- rehypePlugins: [ws],
486
+ remarkPlugins: [Bn],
487
+ rehypePlugins: [Ss],
503
488
  components: {
504
- pre: (s) => /* @__PURE__ */ e(Xr, { children: s.children })
489
+ pre: (s) => /* @__PURE__ */ e(Yr, { children: s.children })
505
490
  },
506
491
  children: t
507
492
  }
508
493
  ) });
509
494
  }
510
- function ec({ startedAtMs: t }) {
495
+ function Xr({ startedAtMs: t }) {
511
496
  const [, s] = o(0);
512
497
  oe(() => {
513
498
  const l = window.setInterval(() => s((i) => i + 1), 1e3);
@@ -519,7 +504,7 @@ function ec({ startedAtMs: t }) {
519
504
  "s…"
520
505
  ] });
521
506
  }
522
- function tc(t) {
507
+ function Zr(t) {
523
508
  var s;
524
509
  if ((s = navigator.clipboard) != null && s.writeText)
525
510
  return navigator.clipboard.writeText(t).catch(() => {
@@ -546,7 +531,7 @@ function Yn({
546
531
  className: `${J.copyBtn} ${s ? J.copyBtnInline : ""} ${l ? J.copyBtnDone : ""}`,
547
532
  onClick: () => {
548
533
  const c = t();
549
- !c || !tc(c) || (i(!0), window.setTimeout(() => i(!1), 1600));
534
+ !c || !Zr(c) || (i(!0), window.setTimeout(() => i(!1), 1600));
550
535
  },
551
536
  title: a,
552
537
  "aria-label": a,
@@ -612,7 +597,7 @@ function Ds({
612
597
  }, [wt]), oe(() => {
613
598
  s > 0 && (async () => {
614
599
  try {
615
- const f = await $n(
600
+ const f = await Mn(
616
601
  "新会话",
617
602
  t == null ? void 0 : t.localAgentId
618
603
  );
@@ -683,7 +668,7 @@ function Ds({
683
668
  const It = async () => {
684
669
  const f = Ge.trim() || "新会话";
685
670
  try {
686
- const te = await $n(f, t == null ? void 0 : t.localAgentId);
671
+ const te = await Mn(f, t == null ? void 0 : t.localAgentId);
687
672
  u((U) => [te, ...U]), ne(te.id), W([]), Re(!1), Ue(""), d("");
688
673
  } catch {
689
674
  }
@@ -894,7 +879,7 @@ function Ds({
894
879
  try {
895
880
  const U = /* @__PURE__ */ new Date(), Te = (_) => String(_).padStart(2, "0"), ce = `${Te(U.getMonth() + 1)}${Te(U.getDate())} ${Te(
896
881
  U.getHours()
897
- )}:${Te(U.getMinutes())}`, be = await $n(ce, t == null ? void 0 : t.localAgentId);
882
+ )}:${Te(U.getMinutes())}`, be = await Mn(ce, t == null ? void 0 : t.localAgentId);
898
883
  u((_) => [be, ..._]), ne(be.id), W([]), Ne(""), await Ee(te, be.id);
899
884
  } catch {
900
885
  } finally {
@@ -971,7 +956,7 @@ function Ds({
971
956
  /* @__PURE__ */ e("pre", { className: J.toolPre, children: ce.content || "(空)" })
972
957
  ] }) }, be)
973
958
  );
974
- } else ce.type === "text" && ce.text && Te.push(/* @__PURE__ */ e(Zr, { text: ce.text }, be));
959
+ } else ce.type === "text" && ce.text && Te.push(/* @__PURE__ */ e(Qr, { text: ce.text }, be));
975
960
  }), Te;
976
961
  };
977
962
  if (!We)
@@ -1121,7 +1106,7 @@ function Ds({
1121
1106
  ]
1122
1107
  }
1123
1108
  ),
1124
- g !== f.id && /* @__PURE__ */ e("span", { className: J.sessionItemTime, children: Qr(f.updatedAt) }),
1109
+ g !== f.id && /* @__PURE__ */ e("span", { className: J.sessionItemTime, children: Jr(f.updatedAt) }),
1125
1110
  /* @__PURE__ */ e(
1126
1111
  "button",
1127
1112
  {
@@ -1159,7 +1144,7 @@ function Ds({
1159
1144
  {
1160
1145
  className: J.agentAvatar,
1161
1146
  style: { backgroundColor: Ve },
1162
- children: Rn((t == null ? void 0 : t.displayName) || "本地 Agent")
1147
+ children: $n((t == null ? void 0 : t.displayName) || "本地 Agent")
1163
1148
  }
1164
1149
  ),
1165
1150
  /* @__PURE__ */ n("div", { className: J.chatHeaderMeta, children: [
@@ -1185,7 +1170,7 @@ function Ds({
1185
1170
  {
1186
1171
  className: J.landingLogo,
1187
1172
  style: { backgroundColor: Ve },
1188
- children: Rn((t == null ? void 0 : t.displayName) || "本地 Agent")
1173
+ children: $n((t == null ? void 0 : t.displayName) || "本地 Agent")
1189
1174
  }
1190
1175
  ),
1191
1176
  /* @__PURE__ */ n("div", { className: J.landingTitle, children: [
@@ -1244,7 +1229,7 @@ function Ds({
1244
1229
  ] })
1245
1230
  ] }, f.id) : /* @__PURE__ */ n("div", { className: J.assistantBlock, children: [
1246
1231
  At(f),
1247
- f.streaming && f.startedAtMs != null && /* @__PURE__ */ e(ec, { startedAtMs: f.startedAtMs }),
1232
+ f.streaming && f.startedAtMs != null && /* @__PURE__ */ e(Xr, { startedAtMs: f.startedAtMs }),
1248
1233
  f.streaming && f.blocks.every(
1249
1234
  (U) => U.type !== "tool_call" && U.type !== "thinking"
1250
1235
  ) && /* @__PURE__ */ e("span", { className: J.caretCursor }),
@@ -1254,7 +1239,7 @@ function Ds({
1254
1239
  (() => {
1255
1240
  var be, _;
1256
1241
  const U = ((be = f.usage) == null ? void 0 : be.inputTokens) ?? 0, Te = ((_ = f.usage) == null ? void 0 : _.outputTokens) ?? 0, ce = U + Te;
1257
- return ce > 0 ? ` · ${Yr(ce)} tokens` : "";
1242
+ return ce > 0 ? ` · ${Vr(ce)} tokens` : "";
1258
1243
  })()
1259
1244
  ] }),
1260
1245
  !f.streaming && /* @__PURE__ */ e(
@@ -1378,7 +1363,7 @@ function Ds({
1378
1363
  {
1379
1364
  className: J.landingLogo,
1380
1365
  style: { backgroundColor: Ve },
1381
- children: Rn((t == null ? void 0 : t.displayName) || "本地 Agent")
1366
+ children: $n((t == null ? void 0 : t.displayName) || "本地 Agent")
1382
1367
  }
1383
1368
  ),
1384
1369
  /* @__PURE__ */ n("div", { className: J.landingTitle, children: [
@@ -1430,107 +1415,107 @@ function Ds({
1430
1415
  ] })
1431
1416
  ] });
1432
1417
  }
1433
- const nc = "_container_oyitu_1", ac = "_header_oyitu_9", sc = "_backBtn_oyitu_20", lc = "_headerTitle_oyitu_40", oc = "_headerAgentName_oyitu_46", ic = "_body_oyitu_52", rc = "_taskListPanel_oyitu_59", cc = "_taskListHeader_oyitu_69", dc = "_taskListTitle_oyitu_77", uc = "_newTaskBtn_oyitu_83", mc = "_taskList_oyitu_59", hc = "_taskCard_oyitu_105", pc = "_taskCardActive_oyitu_118", _c = "_taskCardHeader_oyitu_123", gc = "_taskDot_oyitu_130", fc = "_taskDotEnabled_oyitu_137", yc = "_taskDotDisabled_oyitu_141", vc = "_taskName_oyitu_145", bc = "_taskCron_oyitu_155", Nc = "_taskNextRun_oyitu_161", kc = "_detailPanel_oyitu_167", Cc = "_emptyState_oyitu_173", wc = "_formGroup_oyitu_183", Sc = "_formLabel_oyitu_187", Tc = "_formInput_oyitu_195", Ic = "_formTextarea_oyitu_213", xc = "_formHint_oyitu_234", Ac = "_cronPresets_oyitu_240", Bc = "_cronPreset_oyitu_240", Lc = "_actions_oyitu_264", Mc = "_btn_oyitu_271", $c = "_btnPrimary_oyitu_287", Rc = "_btnDanger_oyitu_298", Dc = "_logSection_oyitu_309", Ec = "_logSectionTitle_oyitu_313", Pc = "_logList_oyitu_322", Oc = "_logItem_oyitu_328", Hc = "_logStatus_oyitu_337", jc = "_logStatusSuccess_oyitu_349", Fc = "_logStatusFailed_oyitu_354", Gc = "_logStatusRunning_oyitu_359", zc = "_logContent_oyitu_364", Uc = "_logTime_oyitu_369", Wc = "_logSnippet_oyitu_375", qc = "_logError_oyitu_386", Kc = "_logActions_oyitu_392", Vc = "_pagination_oyitu_408", Jc = "_pageBtn_oyitu_416", Yc = "_pageInfo_oyitu_437", Qc = "_statusBadge_oyitu_443", Xc = "_statusBadgeEnabled_oyitu_452", Zc = "_statusBadgeDisabled_oyitu_457", ed = "_createForm_oyitu_463", td = "_headerRight_oyitu_468", nd = "_bellBtn_oyitu_476", ad = "_bellBadge_oyitu_497", sd = "_notifPanel_oyitu_514", ld = "_notifPanelHeader_oyitu_530", od = "_notifPanelTitle_oyitu_538", id = "_notifMarkAllBtn_oyitu_545", rd = "_notifCloseBtn_oyitu_561", cd = "_notifList_oyitu_577", dd = "_notifEmpty_oyitu_583", ud = "_notifCard_oyitu_590", md = "_notifCardUnread_oyitu_602", hd = "_notifCardHeader_oyitu_607", pd = "_notifStatusDot_oyitu_614", _d = "_notifStatusSuccess_oyitu_621", gd = "_notifStatusFailed_oyitu_625", fd = "_notifTaskName_oyitu_629", yd = "_notifTime_oyitu_639", vd = "_notifReadBtn_oyitu_645", bd = "_notifAgentName_oyitu_661", Nd = "_notifResult_oyitu_667", kd = "_notifError_oyitu_680", Cd = "_staffDropdown_oyitu_687", wd = "_staffInputWrap_oyitu_692", Sd = "_staffClearBtn_oyitu_696", Td = "_staffResults_oyitu_720", Id = "_staffLoading_oyitu_735", xd = "_staffEmpty_oyitu_736", Ad = "_staffItem_oyitu_743", Bd = "_staffName_oyitu_761", Ld = "_staffMeta_oyitu_767", Md = "_notifySelected_oyitu_773", $d = "_notifySelectedName_oyitu_785", Rd = "_notifyClearBtn_oyitu_792", Dd = "_taskNotify_oyitu_808", Ed = "_logLinkBtn_oyitu_824", Pd = "_sessionModalOverlay_oyitu_844", Od = "_sessionModal_oyitu_844", Hd = "_sessionModalHeader_oyitu_870", jd = "_sessionModalTitle_oyitu_879", Fd = "_sessionModalClose_oyitu_885", Gd = "_sessionModalBody_oyitu_905", zd = "_sessionModalEmpty_oyitu_914", Ud = "_sessionMsgRow_oyitu_921", Wd = "_sessionMsgUser_oyitu_927", qd = "_sessionMsgRole_oyitu_931", Kd = "_sessionMsgBubble_oyitu_937", T = {
1434
- container: nc,
1435
- header: ac,
1436
- backBtn: sc,
1437
- headerTitle: lc,
1438
- headerAgentName: oc,
1439
- body: ic,
1440
- taskListPanel: rc,
1441
- taskListHeader: cc,
1442
- taskListTitle: dc,
1443
- newTaskBtn: uc,
1444
- taskList: mc,
1445
- taskCard: hc,
1446
- taskCardActive: pc,
1447
- taskCardHeader: _c,
1448
- taskDot: gc,
1449
- taskDotEnabled: fc,
1450
- taskDotDisabled: yc,
1451
- taskName: vc,
1452
- taskCron: bc,
1453
- taskNextRun: Nc,
1454
- detailPanel: kc,
1455
- emptyState: Cc,
1456
- formGroup: wc,
1457
- formLabel: Sc,
1458
- formInput: Tc,
1459
- formTextarea: Ic,
1460
- formHint: xc,
1461
- cronPresets: Ac,
1462
- cronPreset: Bc,
1463
- actions: Lc,
1464
- btn: Mc,
1465
- btnPrimary: $c,
1466
- btnDanger: Rc,
1467
- logSection: Dc,
1468
- logSectionTitle: Ec,
1469
- logList: Pc,
1470
- logItem: Oc,
1471
- logStatus: Hc,
1472
- logStatusSuccess: jc,
1473
- logStatusFailed: Fc,
1474
- logStatusRunning: Gc,
1475
- logContent: zc,
1476
- logTime: Uc,
1477
- logSnippet: Wc,
1478
- logError: qc,
1479
- logActions: Kc,
1480
- pagination: Vc,
1481
- pageBtn: Jc,
1482
- pageInfo: Yc,
1483
- statusBadge: Qc,
1484
- statusBadgeEnabled: Xc,
1485
- statusBadgeDisabled: Zc,
1486
- createForm: ed,
1487
- headerRight: td,
1488
- bellBtn: nd,
1489
- bellBadge: ad,
1490
- notifPanel: sd,
1491
- notifPanelHeader: ld,
1492
- notifPanelTitle: od,
1493
- notifMarkAllBtn: id,
1494
- notifCloseBtn: rd,
1495
- notifList: cd,
1496
- notifEmpty: dd,
1497
- notifCard: ud,
1498
- notifCardUnread: md,
1499
- notifCardHeader: hd,
1500
- notifStatusDot: pd,
1501
- notifStatusSuccess: _d,
1502
- notifStatusFailed: gd,
1503
- notifTaskName: fd,
1504
- notifTime: yd,
1505
- notifReadBtn: vd,
1506
- notifAgentName: bd,
1507
- notifResult: Nd,
1508
- notifError: kd,
1509
- staffDropdown: Cd,
1510
- staffInputWrap: wd,
1511
- staffClearBtn: Sd,
1512
- staffResults: Td,
1513
- staffLoading: Id,
1514
- staffEmpty: xd,
1515
- staffItem: Ad,
1516
- staffName: Bd,
1517
- staffMeta: Ld,
1518
- notifySelected: Md,
1519
- notifySelectedName: $d,
1520
- notifyClearBtn: Rd,
1521
- taskNotify: Dd,
1522
- logLinkBtn: Ed,
1523
- sessionModalOverlay: Pd,
1524
- sessionModal: Od,
1525
- sessionModalHeader: Hd,
1526
- sessionModalTitle: jd,
1527
- sessionModalClose: Fd,
1528
- sessionModalBody: Gd,
1529
- sessionModalEmpty: zd,
1530
- sessionMsgRow: Ud,
1531
- sessionMsgUser: Wd,
1532
- sessionMsgRole: qd,
1533
- sessionMsgBubble: Kd
1418
+ const ec = "_container_oyitu_1", tc = "_header_oyitu_9", nc = "_backBtn_oyitu_20", ac = "_headerTitle_oyitu_40", sc = "_headerAgentName_oyitu_46", lc = "_body_oyitu_52", oc = "_taskListPanel_oyitu_59", ic = "_taskListHeader_oyitu_69", rc = "_taskListTitle_oyitu_77", cc = "_newTaskBtn_oyitu_83", dc = "_taskList_oyitu_59", uc = "_taskCard_oyitu_105", mc = "_taskCardActive_oyitu_118", hc = "_taskCardHeader_oyitu_123", pc = "_taskDot_oyitu_130", _c = "_taskDotEnabled_oyitu_137", gc = "_taskDotDisabled_oyitu_141", fc = "_taskName_oyitu_145", yc = "_taskCron_oyitu_155", vc = "_taskNextRun_oyitu_161", bc = "_detailPanel_oyitu_167", Nc = "_emptyState_oyitu_173", kc = "_formGroup_oyitu_183", Cc = "_formLabel_oyitu_187", wc = "_formInput_oyitu_195", Sc = "_formTextarea_oyitu_213", Tc = "_formHint_oyitu_234", Ic = "_cronPresets_oyitu_240", xc = "_cronPreset_oyitu_240", Ac = "_actions_oyitu_264", Bc = "_btn_oyitu_271", Lc = "_btnPrimary_oyitu_287", Mc = "_btnDanger_oyitu_298", $c = "_logSection_oyitu_309", Rc = "_logSectionTitle_oyitu_313", Dc = "_logList_oyitu_322", Ec = "_logItem_oyitu_328", Pc = "_logStatus_oyitu_337", Oc = "_logStatusSuccess_oyitu_349", Hc = "_logStatusFailed_oyitu_354", jc = "_logStatusRunning_oyitu_359", Fc = "_logContent_oyitu_364", Gc = "_logTime_oyitu_369", zc = "_logSnippet_oyitu_375", Uc = "_logError_oyitu_386", Wc = "_logActions_oyitu_392", qc = "_pagination_oyitu_408", Kc = "_pageBtn_oyitu_416", Vc = "_pageInfo_oyitu_437", Jc = "_statusBadge_oyitu_443", Yc = "_statusBadgeEnabled_oyitu_452", Qc = "_statusBadgeDisabled_oyitu_457", Xc = "_createForm_oyitu_463", Zc = "_headerRight_oyitu_468", ed = "_bellBtn_oyitu_476", td = "_bellBadge_oyitu_497", nd = "_notifPanel_oyitu_514", ad = "_notifPanelHeader_oyitu_530", sd = "_notifPanelTitle_oyitu_538", ld = "_notifMarkAllBtn_oyitu_545", od = "_notifCloseBtn_oyitu_561", id = "_notifList_oyitu_577", rd = "_notifEmpty_oyitu_583", cd = "_notifCard_oyitu_590", dd = "_notifCardUnread_oyitu_602", ud = "_notifCardHeader_oyitu_607", md = "_notifStatusDot_oyitu_614", hd = "_notifStatusSuccess_oyitu_621", pd = "_notifStatusFailed_oyitu_625", _d = "_notifTaskName_oyitu_629", gd = "_notifTime_oyitu_639", fd = "_notifReadBtn_oyitu_645", yd = "_notifAgentName_oyitu_661", vd = "_notifResult_oyitu_667", bd = "_notifError_oyitu_680", Nd = "_staffDropdown_oyitu_687", kd = "_staffInputWrap_oyitu_692", Cd = "_staffClearBtn_oyitu_696", wd = "_staffResults_oyitu_720", Sd = "_staffLoading_oyitu_735", Td = "_staffEmpty_oyitu_736", Id = "_staffItem_oyitu_743", xd = "_staffName_oyitu_761", Ad = "_staffMeta_oyitu_767", Bd = "_notifySelected_oyitu_773", Ld = "_notifySelectedName_oyitu_785", Md = "_notifyClearBtn_oyitu_792", $d = "_taskNotify_oyitu_808", Rd = "_logLinkBtn_oyitu_824", Dd = "_sessionModalOverlay_oyitu_844", Ed = "_sessionModal_oyitu_844", Pd = "_sessionModalHeader_oyitu_870", Od = "_sessionModalTitle_oyitu_879", Hd = "_sessionModalClose_oyitu_885", jd = "_sessionModalBody_oyitu_905", Fd = "_sessionModalEmpty_oyitu_914", Gd = "_sessionMsgRow_oyitu_921", zd = "_sessionMsgUser_oyitu_927", Ud = "_sessionMsgRole_oyitu_931", Wd = "_sessionMsgBubble_oyitu_937", T = {
1419
+ container: ec,
1420
+ header: tc,
1421
+ backBtn: nc,
1422
+ headerTitle: ac,
1423
+ headerAgentName: sc,
1424
+ body: lc,
1425
+ taskListPanel: oc,
1426
+ taskListHeader: ic,
1427
+ taskListTitle: rc,
1428
+ newTaskBtn: cc,
1429
+ taskList: dc,
1430
+ taskCard: uc,
1431
+ taskCardActive: mc,
1432
+ taskCardHeader: hc,
1433
+ taskDot: pc,
1434
+ taskDotEnabled: _c,
1435
+ taskDotDisabled: gc,
1436
+ taskName: fc,
1437
+ taskCron: yc,
1438
+ taskNextRun: vc,
1439
+ detailPanel: bc,
1440
+ emptyState: Nc,
1441
+ formGroup: kc,
1442
+ formLabel: Cc,
1443
+ formInput: wc,
1444
+ formTextarea: Sc,
1445
+ formHint: Tc,
1446
+ cronPresets: Ic,
1447
+ cronPreset: xc,
1448
+ actions: Ac,
1449
+ btn: Bc,
1450
+ btnPrimary: Lc,
1451
+ btnDanger: Mc,
1452
+ logSection: $c,
1453
+ logSectionTitle: Rc,
1454
+ logList: Dc,
1455
+ logItem: Ec,
1456
+ logStatus: Pc,
1457
+ logStatusSuccess: Oc,
1458
+ logStatusFailed: Hc,
1459
+ logStatusRunning: jc,
1460
+ logContent: Fc,
1461
+ logTime: Gc,
1462
+ logSnippet: zc,
1463
+ logError: Uc,
1464
+ logActions: Wc,
1465
+ pagination: qc,
1466
+ pageBtn: Kc,
1467
+ pageInfo: Vc,
1468
+ statusBadge: Jc,
1469
+ statusBadgeEnabled: Yc,
1470
+ statusBadgeDisabled: Qc,
1471
+ createForm: Xc,
1472
+ headerRight: Zc,
1473
+ bellBtn: ed,
1474
+ bellBadge: td,
1475
+ notifPanel: nd,
1476
+ notifPanelHeader: ad,
1477
+ notifPanelTitle: sd,
1478
+ notifMarkAllBtn: ld,
1479
+ notifCloseBtn: od,
1480
+ notifList: id,
1481
+ notifEmpty: rd,
1482
+ notifCard: cd,
1483
+ notifCardUnread: dd,
1484
+ notifCardHeader: ud,
1485
+ notifStatusDot: md,
1486
+ notifStatusSuccess: hd,
1487
+ notifStatusFailed: pd,
1488
+ notifTaskName: _d,
1489
+ notifTime: gd,
1490
+ notifReadBtn: fd,
1491
+ notifAgentName: yd,
1492
+ notifResult: vd,
1493
+ notifError: bd,
1494
+ staffDropdown: Nd,
1495
+ staffInputWrap: kd,
1496
+ staffClearBtn: Cd,
1497
+ staffResults: wd,
1498
+ staffLoading: Sd,
1499
+ staffEmpty: Td,
1500
+ staffItem: Id,
1501
+ staffName: xd,
1502
+ staffMeta: Ad,
1503
+ notifySelected: Bd,
1504
+ notifySelectedName: Ld,
1505
+ notifyClearBtn: Md,
1506
+ taskNotify: $d,
1507
+ logLinkBtn: Rd,
1508
+ sessionModalOverlay: Dd,
1509
+ sessionModal: Ed,
1510
+ sessionModalHeader: Pd,
1511
+ sessionModalTitle: Od,
1512
+ sessionModalClose: Hd,
1513
+ sessionModalBody: jd,
1514
+ sessionModalEmpty: Fd,
1515
+ sessionMsgRow: Gd,
1516
+ sessionMsgUser: zd,
1517
+ sessionMsgRole: Ud,
1518
+ sessionMsgBubble: Wd
1534
1519
  }, wa = [
1535
1520
  { label: "每分钟", value: "0 * * * * ?" },
1536
1521
  { label: "每5分钟", value: "0 */5 * * * ?" },
@@ -1553,7 +1538,7 @@ function sn(t) {
1553
1538
  return t;
1554
1539
  }
1555
1540
  }
1556
- function Vd({
1541
+ function qd({
1557
1542
  agent: t,
1558
1543
  onBack: s,
1559
1544
  embedded: a = !1,
@@ -1577,7 +1562,7 @@ function Vd({
1577
1562
  async (S) => {
1578
1563
  L(S), Se([]), Ke(!0);
1579
1564
  try {
1580
- const Q = await qn(t.id, S, i);
1565
+ const Q = await Wn(t.id, S, i);
1581
1566
  Se(Q);
1582
1567
  } catch {
1583
1568
  }
@@ -2207,65 +2192,65 @@ function Vd({
2207
2192
  )
2208
2193
  ] });
2209
2194
  }
2210
- const Jd = "_container_nbkud_1", Yd = "_header_nbkud_10", Qd = "_headerLeft_nbkud_20", Xd = "_headerTitle_nbkud_27", Zd = "_headerActions_nbkud_36", eu = "_backBtn_nbkud_43", tu = "_saveBtn_nbkud_62", nu = "_tabBar_nbkud_86", au = "_tab_nbkud_86", su = "_tabActive_nbkud_114", lu = "_body_nbkud_120", ou = "_bodyNoPadding_nbkud_126", iu = "_sectionHead_nbkud_132", ru = "_sectionTitle_nbkud_136", cu = "_sectionDesc_nbkud_143", du = "_sectionDivider_nbkud_150", uu = "_fieldGrid_nbkud_156", mu = "_field_nbkud_156", hu = "_fieldLabel_nbkud_166", pu = "_required_nbkud_174", _u = "_fieldInput_nbkud_179", gu = "_fieldHint_nbkud_183", fu = "_switchGrid_nbkud_191", yu = "_switchItem_nbkud_197", vu = "_switchLabel_nbkud_203", bu = "_switchHint_nbkud_209", Nu = "_loading_nbkud_215", ku = "_filesContainer_nbkud_260", Cu = "_fileTreePanel_nbkud_267", wu = "_fileTreeHeader_nbkud_277", Su = "_fileTreeBody_nbkud_286", Tu = "_fileTreeNode_nbkud_292", Iu = "_fileTreeNodeActive_nbkud_311", xu = "_fileTreeIcon_nbkud_316", Au = "_fileTreeName_nbkud_326", Bu = "_fileTreeEmpty_nbkud_332", Lu = "_fileContentPanel_nbkud_342", Mu = "_fileContentEmpty_nbkud_350", $u = "_fileContentInner_nbkud_359", Ru = "_fileContentPath_nbkud_366", Du = "_fileContentPre_nbkud_376", Eu = "_markdownBody_nbkud_389", Pu = "_skillsContainer_nbkud_492", Ou = "_skillsEmpty_nbkud_499", Hu = "_skillList_nbkud_508", ju = "_skillCard_nbkud_514", Fu = "_skillCardInfo_nbkud_530", Gu = "_skillCardName_nbkud_535", zu = "_skillCardDesc_nbkud_542", Uu = "_skillCardMeta_nbkud_554", Wu = "_skillBadge_nbkud_560", qu = "_skillCode_nbkud_570", Ku = "_skillCardAction_nbkud_579", Vu = "_skillPagination_nbkud_585", Ju = "_pageBtn_nbkud_593", Yu = "_pageInfo_nbkud_614", X = {
2211
- container: Jd,
2212
- header: Yd,
2213
- headerLeft: Qd,
2214
- headerTitle: Xd,
2215
- headerActions: Zd,
2216
- backBtn: eu,
2217
- saveBtn: tu,
2218
- tabBar: nu,
2219
- tab: au,
2220
- tabActive: su,
2221
- body: lu,
2222
- bodyNoPadding: ou,
2223
- sectionHead: iu,
2224
- sectionTitle: ru,
2225
- sectionDesc: cu,
2226
- sectionDivider: du,
2227
- fieldGrid: uu,
2228
- field: mu,
2229
- fieldLabel: hu,
2230
- required: pu,
2231
- fieldInput: _u,
2232
- fieldHint: gu,
2233
- switchGrid: fu,
2234
- switchItem: yu,
2235
- switchLabel: vu,
2236
- switchHint: bu,
2237
- loading: Nu,
2238
- filesContainer: ku,
2239
- fileTreePanel: Cu,
2240
- fileTreeHeader: wu,
2241
- fileTreeBody: Su,
2242
- fileTreeNode: Tu,
2243
- fileTreeNodeActive: Iu,
2244
- fileTreeIcon: xu,
2245
- fileTreeName: Au,
2246
- fileTreeEmpty: Bu,
2247
- fileContentPanel: Lu,
2248
- fileContentEmpty: Mu,
2249
- fileContentInner: $u,
2250
- fileContentPath: Ru,
2251
- fileContentPre: Du,
2252
- markdownBody: Eu,
2253
- skillsContainer: Pu,
2254
- skillsEmpty: Ou,
2255
- skillList: Hu,
2256
- skillCard: ju,
2257
- skillCardInfo: Fu,
2258
- skillCardName: Gu,
2259
- skillCardDesc: zu,
2260
- skillCardMeta: Uu,
2261
- skillBadge: Wu,
2262
- skillCode: qu,
2263
- skillCardAction: Ku,
2264
- skillPagination: Vu,
2265
- pageBtn: Ju,
2266
- pageInfo: Yu
2195
+ const Kd = "_container_nbkud_1", Vd = "_header_nbkud_10", Jd = "_headerLeft_nbkud_20", Yd = "_headerTitle_nbkud_27", Qd = "_headerActions_nbkud_36", Xd = "_backBtn_nbkud_43", Zd = "_saveBtn_nbkud_62", eu = "_tabBar_nbkud_86", tu = "_tab_nbkud_86", nu = "_tabActive_nbkud_114", au = "_body_nbkud_120", su = "_bodyNoPadding_nbkud_126", lu = "_sectionHead_nbkud_132", ou = "_sectionTitle_nbkud_136", iu = "_sectionDesc_nbkud_143", ru = "_sectionDivider_nbkud_150", cu = "_fieldGrid_nbkud_156", du = "_field_nbkud_156", uu = "_fieldLabel_nbkud_166", mu = "_required_nbkud_174", hu = "_fieldInput_nbkud_179", pu = "_fieldHint_nbkud_183", _u = "_switchGrid_nbkud_191", gu = "_switchItem_nbkud_197", fu = "_switchLabel_nbkud_203", yu = "_switchHint_nbkud_209", vu = "_loading_nbkud_215", bu = "_filesContainer_nbkud_260", Nu = "_fileTreePanel_nbkud_267", ku = "_fileTreeHeader_nbkud_277", Cu = "_fileTreeBody_nbkud_286", wu = "_fileTreeNode_nbkud_292", Su = "_fileTreeNodeActive_nbkud_311", Tu = "_fileTreeIcon_nbkud_316", Iu = "_fileTreeName_nbkud_326", xu = "_fileTreeEmpty_nbkud_332", Au = "_fileContentPanel_nbkud_342", Bu = "_fileContentEmpty_nbkud_350", Lu = "_fileContentInner_nbkud_359", Mu = "_fileContentPath_nbkud_366", $u = "_fileContentPre_nbkud_376", Ru = "_markdownBody_nbkud_389", Du = "_skillsContainer_nbkud_492", Eu = "_skillsEmpty_nbkud_499", Pu = "_skillList_nbkud_508", Ou = "_skillCard_nbkud_514", Hu = "_skillCardInfo_nbkud_530", ju = "_skillCardName_nbkud_535", Fu = "_skillCardDesc_nbkud_542", Gu = "_skillCardMeta_nbkud_554", zu = "_skillBadge_nbkud_560", Uu = "_skillCode_nbkud_570", Wu = "_skillCardAction_nbkud_579", qu = "_skillPagination_nbkud_585", Ku = "_pageBtn_nbkud_593", Vu = "_pageInfo_nbkud_614", X = {
2196
+ container: Kd,
2197
+ header: Vd,
2198
+ headerLeft: Jd,
2199
+ headerTitle: Yd,
2200
+ headerActions: Qd,
2201
+ backBtn: Xd,
2202
+ saveBtn: Zd,
2203
+ tabBar: eu,
2204
+ tab: tu,
2205
+ tabActive: nu,
2206
+ body: au,
2207
+ bodyNoPadding: su,
2208
+ sectionHead: lu,
2209
+ sectionTitle: ou,
2210
+ sectionDesc: iu,
2211
+ sectionDivider: ru,
2212
+ fieldGrid: cu,
2213
+ field: du,
2214
+ fieldLabel: uu,
2215
+ required: mu,
2216
+ fieldInput: hu,
2217
+ fieldHint: pu,
2218
+ switchGrid: _u,
2219
+ switchItem: gu,
2220
+ switchLabel: fu,
2221
+ switchHint: yu,
2222
+ loading: vu,
2223
+ filesContainer: bu,
2224
+ fileTreePanel: Nu,
2225
+ fileTreeHeader: ku,
2226
+ fileTreeBody: Cu,
2227
+ fileTreeNode: wu,
2228
+ fileTreeNodeActive: Su,
2229
+ fileTreeIcon: Tu,
2230
+ fileTreeName: Iu,
2231
+ fileTreeEmpty: xu,
2232
+ fileContentPanel: Au,
2233
+ fileContentEmpty: Bu,
2234
+ fileContentInner: Lu,
2235
+ fileContentPath: Mu,
2236
+ fileContentPre: $u,
2237
+ markdownBody: Ru,
2238
+ skillsContainer: Du,
2239
+ skillsEmpty: Eu,
2240
+ skillList: Pu,
2241
+ skillCard: Ou,
2242
+ skillCardInfo: Hu,
2243
+ skillCardName: ju,
2244
+ skillCardDesc: Fu,
2245
+ skillCardMeta: Gu,
2246
+ skillBadge: zu,
2247
+ skillCode: Uu,
2248
+ skillCardAction: Wu,
2249
+ skillPagination: qu,
2250
+ pageBtn: Ku,
2251
+ pageInfo: Vu
2267
2252
  };
2268
- function Qu(t, s) {
2253
+ function Ju(t, s) {
2269
2254
  if (!t) return !1;
2270
2255
  const l = (t._agenthub_raw ?? {})[s];
2271
2256
  return typeof l == "boolean" ? l : typeof l == "string" ? l === "true" || l === "1" : typeof l == "number" ? l === 1 : !1;
@@ -2302,7 +2287,7 @@ function Es({
2302
2287
  const At = Xe.modelExt;
2303
2288
  N(!!((At == null ? void 0 : At.enable_thinking) ?? !1)), K(!!((At == null ? void 0 : At.send_thinking) ?? !1));
2304
2289
  const kt = Xe.sensitiveFilterConfig;
2305
- Ne(!!((kt == null ? void 0 : kt.enabled) ?? !1)), Be(Qu(ke, "enable")), x(Array.isArray(it) ? it : []);
2290
+ Ne(!!((kt == null ? void 0 : kt.enabled) ?? !1)), Be(Ju(ke, "enable")), x(Array.isArray(it) ? it : []);
2306
2291
  } catch (ke) {
2307
2292
  Q || we.error((ke == null ? void 0 : ke.userMessage) ?? "加载 Agent 配置失败");
2308
2293
  } finally {
@@ -2410,7 +2395,7 @@ function Es({
2410
2395
  it ? /* @__PURE__ */ e(on, { className: X.fileTreeIcon }) : /* @__PURE__ */ e(dl, { className: X.fileTreeIcon }),
2411
2396
  /* @__PURE__ */ e("span", { className: X.fileTreeName, children: ke.name })
2412
2397
  ] }) : /* @__PURE__ */ n(Ie, { children: [
2413
- /* @__PURE__ */ e(An, { className: X.fileTreeIcon }),
2398
+ /* @__PURE__ */ e(xn, { className: X.fileTreeIcon }),
2414
2399
  /* @__PURE__ */ e("span", { className: X.fileTreeName, children: ke.name })
2415
2400
  ] })
2416
2401
  }
@@ -2559,7 +2544,7 @@ function Es({
2559
2544
  className: `${X.tab} ${m === "schedule" ? X.tabActive : ""}`,
2560
2545
  onClick: () => d("schedule"),
2561
2546
  children: [
2562
- /* @__PURE__ */ e(Un, {}),
2547
+ /* @__PURE__ */ e(zn, {}),
2563
2548
  " 定时任务"
2564
2549
  ]
2565
2550
  }
@@ -2785,7 +2770,7 @@ function Es({
2785
2770
  /* @__PURE__ */ e("span", { style: { marginLeft: 8 }, children: "读取中..." })
2786
2771
  ] }) : We ? /* @__PURE__ */ n("div", { className: X.fileContentInner, children: [
2787
2772
  /* @__PURE__ */ e("div", { className: X.fileContentPath, children: We }),
2788
- Lt(We) ? /* @__PURE__ */ e("div", { className: X.markdownBody, children: /* @__PURE__ */ e(Bn, { remarkPlugins: [Ln], children: at }) }) : /* @__PURE__ */ e("pre", { className: X.fileContentPre, children: /* @__PURE__ */ e("code", { children: at }) })
2773
+ Lt(We) ? /* @__PURE__ */ e("div", { className: X.markdownBody, children: /* @__PURE__ */ e(An, { remarkPlugins: [Bn], children: at }) }) : /* @__PURE__ */ e("pre", { className: X.fileContentPre, children: /* @__PURE__ */ e("code", { children: at }) })
2789
2774
  ] }) : /* @__PURE__ */ e("div", { className: X.fileContentEmpty, children: "选择左侧文件查看内容" }) })
2790
2775
  ] }),
2791
2776
  m === "skills" && /* @__PURE__ */ e("div", { className: X.skillsContainer, children: ft ? /* @__PURE__ */ n("div", { className: X.skillsEmpty, children: [
@@ -2843,7 +2828,7 @@ function Es({
2843
2828
  ] })
2844
2829
  ] }) }),
2845
2830
  m === "schedule" && /* @__PURE__ */ e(
2846
- Vd,
2831
+ qd,
2847
2832
  {
2848
2833
  agent: t,
2849
2834
  embedded: !0,
@@ -2855,65 +2840,65 @@ function Es({
2855
2840
  )
2856
2841
  ] });
2857
2842
  }
2858
- const Xu = "_container_3wfu6_1", Zu = "_sessionPanel_3wfu6_8", em = "_sessionHeader_3wfu6_18", tm = "_sessionHeaderActions_3wfu6_29", nm = "_sessionBtnSm_3wfu6_34", am = "_sessionList_3wfu6_49", sm = "_sessionItem_3wfu6_55", lm = "_sessionItemActive_3wfu6_73", om = "_sessionItemTitle_3wfu6_78", im = "_sessionRenameBtn_3wfu6_85", rm = "_sessionDeleteBtn_3wfu6_107", cm = "_sessionEmpty_3wfu6_129", dm = "_sessionTabBar_3wfu6_143", um = "_sessionTab_3wfu6_143", mm = "_sessionTabActive_3wfu6_169", hm = "_sessionGroup_3wfu6_176", pm = "_sessionGroupHeader_3wfu6_180", _m = "_sessionGroupArrow_3wfu6_198", gm = "_sessionGroupName_3wfu6_206", fm = "_sessionGroupCount_3wfu6_213", ym = "_sessionItemNested_3wfu6_224", vm = "_chatPanel_3wfu6_232", bm = "_scrollTopBtn_3wfu6_243", Nm = "_scrollTopBtnVisible_3wfu6_264", km = "_chatHeader_3wfu6_285", Cm = "_chatHeaderName_3wfu6_298", wm = "_messageList_3wfu6_305", Sm = "_messageRow_3wfu6_314", Tm = "_messageRowUser_3wfu6_320", Im = "_messageAvatar_3wfu6_324", xm = "_messageBubble_3wfu6_337", Am = "_messageBubbleUser_3wfu6_347", Bm = "_messageBubbleAssistant_3wfu6_353", Lm = "_chatEmpty_3wfu6_361", Mm = "_inputArea_3wfu6_371", $m = "_modeBar_3wfu6_379", Rm = "_toolToggleBtn_3wfu6_385", Dm = "_imagePreviewBar_3wfu6_411", Em = "_imagePreviewItem_3wfu6_418", Pm = "_imagePreviewRemove_3wfu6_434", Om = "_msgImages_3wfu6_465", Hm = "_msgImageThumb_3wfu6_472", jm = "_inputBox_3wfu6_480", Fm = "_streamingIndicator_3wfu6_521", Gm = "_sessionCreateRow_3wfu6_529", zm = "_sessionCreateInput_3wfu6_540", Um = "_sessionCreateConfirm_3wfu6_555", Wm = "_sessionCreateCancel_3wfu6_574", qm = "_sessionExpandBtn_3wfu6_596", Km = "_reasoningBlock_3wfu6_641", Vm = "_reasoningSummary_3wfu6_649", Jm = "_reasoningContent_3wfu6_674", Ym = "_pickerWrap_3wfu6_684", Qm = "_pickerChip_3wfu6_689", Xm = "_pickerCaret_3wfu6_711", Zm = "_pickerMenu_3wfu6_716", eh = "_pickerMenuItem_3wfu6_734", th = "_pickerItemActive_3wfu6_754", G = {
2859
- container: Xu,
2860
- sessionPanel: Zu,
2861
- sessionHeader: em,
2862
- sessionHeaderActions: tm,
2863
- sessionBtnSm: nm,
2864
- sessionList: am,
2865
- sessionItem: sm,
2866
- sessionItemActive: lm,
2867
- sessionItemTitle: om,
2868
- sessionRenameBtn: im,
2869
- sessionDeleteBtn: rm,
2870
- sessionEmpty: cm,
2871
- sessionTabBar: dm,
2872
- sessionTab: um,
2873
- sessionTabActive: mm,
2874
- sessionGroup: hm,
2875
- sessionGroupHeader: pm,
2876
- sessionGroupArrow: _m,
2877
- sessionGroupName: gm,
2878
- sessionGroupCount: fm,
2879
- sessionItemNested: ym,
2880
- chatPanel: vm,
2881
- scrollTopBtn: bm,
2882
- scrollTopBtnVisible: Nm,
2883
- chatHeader: km,
2884
- chatHeaderName: Cm,
2885
- messageList: wm,
2886
- messageRow: Sm,
2887
- messageRowUser: Tm,
2888
- messageAvatar: Im,
2889
- messageBubble: xm,
2890
- messageBubbleUser: Am,
2891
- messageBubbleAssistant: Bm,
2892
- chatEmpty: Lm,
2893
- inputArea: Mm,
2894
- modeBar: $m,
2895
- toolToggleBtn: Rm,
2896
- imagePreviewBar: Dm,
2897
- imagePreviewItem: Em,
2898
- imagePreviewRemove: Pm,
2899
- msgImages: Om,
2900
- msgImageThumb: Hm,
2901
- inputBox: jm,
2902
- streamingIndicator: Fm,
2903
- sessionCreateRow: Gm,
2904
- sessionCreateInput: zm,
2905
- sessionCreateConfirm: Um,
2906
- sessionCreateCancel: Wm,
2907
- sessionExpandBtn: qm,
2908
- reasoningBlock: Km,
2909
- reasoningSummary: Vm,
2910
- reasoningContent: Jm,
2911
- pickerWrap: Ym,
2912
- pickerChip: Qm,
2913
- pickerCaret: Xm,
2914
- pickerMenu: Zm,
2915
- pickerMenuItem: eh,
2916
- pickerItemActive: th
2843
+ const Yu = "_container_3wfu6_1", Qu = "_sessionPanel_3wfu6_8", Xu = "_sessionHeader_3wfu6_18", Zu = "_sessionHeaderActions_3wfu6_29", em = "_sessionBtnSm_3wfu6_34", tm = "_sessionList_3wfu6_49", nm = "_sessionItem_3wfu6_55", am = "_sessionItemActive_3wfu6_73", sm = "_sessionItemTitle_3wfu6_78", lm = "_sessionRenameBtn_3wfu6_85", om = "_sessionDeleteBtn_3wfu6_107", im = "_sessionEmpty_3wfu6_129", rm = "_sessionTabBar_3wfu6_143", cm = "_sessionTab_3wfu6_143", dm = "_sessionTabActive_3wfu6_169", um = "_sessionGroup_3wfu6_176", mm = "_sessionGroupHeader_3wfu6_180", hm = "_sessionGroupArrow_3wfu6_198", pm = "_sessionGroupName_3wfu6_206", _m = "_sessionGroupCount_3wfu6_213", gm = "_sessionItemNested_3wfu6_224", fm = "_chatPanel_3wfu6_232", ym = "_scrollTopBtn_3wfu6_243", vm = "_scrollTopBtnVisible_3wfu6_264", bm = "_chatHeader_3wfu6_285", Nm = "_chatHeaderName_3wfu6_298", km = "_messageList_3wfu6_305", Cm = "_messageRow_3wfu6_314", wm = "_messageRowUser_3wfu6_320", Sm = "_messageAvatar_3wfu6_324", Tm = "_messageBubble_3wfu6_337", Im = "_messageBubbleUser_3wfu6_347", xm = "_messageBubbleAssistant_3wfu6_353", Am = "_chatEmpty_3wfu6_361", Bm = "_inputArea_3wfu6_371", Lm = "_modeBar_3wfu6_379", Mm = "_toolToggleBtn_3wfu6_385", $m = "_imagePreviewBar_3wfu6_411", Rm = "_imagePreviewItem_3wfu6_418", Dm = "_imagePreviewRemove_3wfu6_434", Em = "_msgImages_3wfu6_465", Pm = "_msgImageThumb_3wfu6_472", Om = "_inputBox_3wfu6_480", Hm = "_streamingIndicator_3wfu6_521", jm = "_sessionCreateRow_3wfu6_529", Fm = "_sessionCreateInput_3wfu6_540", Gm = "_sessionCreateConfirm_3wfu6_555", zm = "_sessionCreateCancel_3wfu6_574", Um = "_sessionExpandBtn_3wfu6_596", Wm = "_reasoningBlock_3wfu6_641", qm = "_reasoningSummary_3wfu6_649", Km = "_reasoningContent_3wfu6_674", Vm = "_pickerWrap_3wfu6_684", Jm = "_pickerChip_3wfu6_689", Ym = "_pickerCaret_3wfu6_711", Qm = "_pickerMenu_3wfu6_716", Xm = "_pickerMenuItem_3wfu6_734", Zm = "_pickerItemActive_3wfu6_754", G = {
2844
+ container: Yu,
2845
+ sessionPanel: Qu,
2846
+ sessionHeader: Xu,
2847
+ sessionHeaderActions: Zu,
2848
+ sessionBtnSm: em,
2849
+ sessionList: tm,
2850
+ sessionItem: nm,
2851
+ sessionItemActive: am,
2852
+ sessionItemTitle: sm,
2853
+ sessionRenameBtn: lm,
2854
+ sessionDeleteBtn: om,
2855
+ sessionEmpty: im,
2856
+ sessionTabBar: rm,
2857
+ sessionTab: cm,
2858
+ sessionTabActive: dm,
2859
+ sessionGroup: um,
2860
+ sessionGroupHeader: mm,
2861
+ sessionGroupArrow: hm,
2862
+ sessionGroupName: pm,
2863
+ sessionGroupCount: _m,
2864
+ sessionItemNested: gm,
2865
+ chatPanel: fm,
2866
+ scrollTopBtn: ym,
2867
+ scrollTopBtnVisible: vm,
2868
+ chatHeader: bm,
2869
+ chatHeaderName: Nm,
2870
+ messageList: km,
2871
+ messageRow: Cm,
2872
+ messageRowUser: wm,
2873
+ messageAvatar: Sm,
2874
+ messageBubble: Tm,
2875
+ messageBubbleUser: Im,
2876
+ messageBubbleAssistant: xm,
2877
+ chatEmpty: Am,
2878
+ inputArea: Bm,
2879
+ modeBar: Lm,
2880
+ toolToggleBtn: Mm,
2881
+ imagePreviewBar: $m,
2882
+ imagePreviewItem: Rm,
2883
+ imagePreviewRemove: Dm,
2884
+ msgImages: Em,
2885
+ msgImageThumb: Pm,
2886
+ inputBox: Om,
2887
+ streamingIndicator: Hm,
2888
+ sessionCreateRow: jm,
2889
+ sessionCreateInput: Fm,
2890
+ sessionCreateConfirm: Gm,
2891
+ sessionCreateCancel: zm,
2892
+ sessionExpandBtn: Um,
2893
+ reasoningBlock: Wm,
2894
+ reasoningSummary: qm,
2895
+ reasoningContent: Km,
2896
+ pickerWrap: Vm,
2897
+ pickerChip: Jm,
2898
+ pickerCaret: Ym,
2899
+ pickerMenu: Qm,
2900
+ pickerMenuItem: Xm,
2901
+ pickerItemActive: Zm
2917
2902
  }, Sa = [
2918
2903
  "#2F70F1",
2919
2904
  "#52c41a",
@@ -2924,7 +2909,7 @@ const Xu = "_container_3wfu6_1", Zu = "_sessionPanel_3wfu6_8", em = "_sessionHea
2924
2909
  "#f5222d",
2925
2910
  "#faad14"
2926
2911
  ];
2927
- function Dn(t) {
2912
+ function Rn(t) {
2928
2913
  let s = 0;
2929
2914
  for (let a = 0; a < t.length; a++) s = s * 31 + t.charCodeAt(a) | 0;
2930
2915
  return Sa[Math.abs(s) % Sa.length];
@@ -2932,7 +2917,7 @@ function Dn(t) {
2932
2917
  function vn(t) {
2933
2918
  return t ? t.charAt(0).toUpperCase() : "?";
2934
2919
  }
2935
- function nh({ content: t }) {
2920
+ function eh({ content: t }) {
2936
2921
  const s = Ao(t);
2937
2922
  return /* @__PURE__ */ e(Ie, { children: s.map((a, l) => a.type === "reasoning" ? /* @__PURE__ */ n("details", { className: G.reasoningBlock, children: [
2938
2923
  /* @__PURE__ */ n("summary", { className: G.reasoningSummary, children: [
@@ -2941,10 +2926,10 @@ function nh({ content: t }) {
2941
2926
  ] }),
2942
2927
  /* @__PURE__ */ e("div", { className: G.reasoningContent, children: a.text })
2943
2928
  ] }, l) : a.type === "text" ? /* @__PURE__ */ e(
2944
- Bn,
2929
+ An,
2945
2930
  {
2946
- remarkPlugins: [Ln],
2947
- rehypePlugins: [ws],
2931
+ remarkPlugins: [Bn],
2932
+ rehypePlugins: [Ss],
2948
2933
  children: a.text
2949
2934
  },
2950
2935
  l
@@ -3010,7 +2995,7 @@ function Ps({
3010
2995
  }
3011
2996
  let p = !1;
3012
2997
  const z = g;
3013
- return _e(null), W(!0), qn(t.id, g, r).then((Z) => {
2998
+ return _e(null), W(!0), Wn(t.id, g, r).then((Z) => {
3014
2999
  p || x(
3015
3000
  Z.map((ie) => {
3016
3001
  const { text: ze, urls: dt } = it(
@@ -3229,7 +3214,7 @@ ${tt}` : tt;
3229
3214
  };
3230
3215
  if (!t)
3231
3216
  return /* @__PURE__ */ e("div", { className: G.container, children: /* @__PURE__ */ e("div", { className: G.chatPanel, children: /* @__PURE__ */ e("div", { className: G.chatEmpty, children: "请在左侧选择或创建一个个人 Agent" }) }) });
3232
- const be = Dn(t.agentCode || t.displayName), _ = Dn(
3217
+ const be = Rn(t.agentCode || t.displayName), _ = Rn(
3233
3218
  (u == null ? void 0 : u.username) || (u == null ? void 0 : u.display_name) || "user"
3234
3219
  );
3235
3220
  return /* @__PURE__ */ n("div", { className: G.container, children: [
@@ -3366,7 +3351,7 @@ ${tt}` : tt;
3366
3351
  ] }) : de ? (
3367
3352
  /* owner 视角:按用户分组展示 */
3368
3353
  Object.entries(te).map(([p, z]) => {
3369
- const Z = xe.has(p), ie = Te(p), ze = Dn(p);
3354
+ const Z = xe.has(p), ie = Te(p), ze = Rn(p);
3370
3355
  return /* @__PURE__ */ n("div", { className: G.sessionGroup, children: [
3371
3356
  /* @__PURE__ */ n(
3372
3357
  "div",
@@ -3773,7 +3758,7 @@ ${tt}` : tt;
3773
3758
  {
3774
3759
  className: `${G.messageBubble} ${p.role === "user" ? G.messageBubbleUser : G.messageBubbleAssistant}${p.role === "assistant" ? " markdown-body" : ""}`,
3775
3760
  children: [
3776
- p.role === "assistant" ? /* @__PURE__ */ e(nh, { content: p.content || "" }) : p.content || "...",
3761
+ p.role === "assistant" ? /* @__PURE__ */ e(eh, { content: p.content || "" }) : p.content || "...",
3777
3762
  p.imageUrls && p.imageUrls.length > 0 && /* @__PURE__ */ e("div", { className: G.msgImages, children: p.imageUrls.map((z, Z) => /* @__PURE__ */ e(
3778
3763
  "img",
3779
3764
  {
@@ -3904,7 +3889,7 @@ ${tt}` : tt;
3904
3889
  onClick: async () => {
3905
3890
  if (!(!t || !g))
3906
3891
  try {
3907
- const p = await qn(
3892
+ const p = await Wn(
3908
3893
  t.id,
3909
3894
  g,
3910
3895
  r
@@ -4066,56 +4051,56 @@ ${tt}` : tt;
4066
4051
  ] })
4067
4052
  ] });
4068
4053
  }
4069
- const ah = "_page_snv35_9", sh = "_pageHeader_snv35_15", lh = "_headerLeft_snv35_25", oh = "_pageTitle_snv35_32", ih = "_headerMeta_snv35_40", rh = "_headerDot_snv35_52", ch = "_headerRight_snv35_58", dh = "_scenarioSelect_snv35_66", uh = "_kpiGrid_snv35_72", mh = "_kpiCard_snv35_80", hh = "_kpiCardClickable_snv35_90", ph = "_kpiTop_snv35_107", _h = "_kpiLabel_snv35_115", gh = "_kpiIcon_snv35_122", fh = "_chipBlue_snv35_133", yh = "_chipCyan_snv35_138", vh = "_chipGreen_snv35_143", bh = "_chipAmber_snv35_148", Nh = "_kpiValue_snv35_154", kh = "_kpiSuffix_snv35_163", Ch = "_rateTrack_snv35_171", wh = "_rateFill_snv35_180", Sh = "_kpiFooter_snv35_188", Th = "_kpiDeltaUp_snv35_195", Ih = "_kpiDeltaDown_snv35_204", xh = "_kpiDeltaFlat_snv35_213", Ah = "_kpiDeltaLabel_snv35_221", Bh = "_chartCard_snv35_229", Lh = "_chartRow_snv35_238", Mh = "_chartCardNarrow_snv35_250", $h = "_chartCardWide_snv35_256", Rh = "_chartHeader_snv35_262", Dh = "_chartTitle_snv35_270", Eh = "_chartBreadcrumb_snv35_277", Ph = "_chartBreadcrumbLink_snv35_284", Oh = "_chartBreadcrumbSep_snv35_300", Hh = "_chartSub_snv35_306", jh = "_chartEmpty_snv35_312", ve = {
4070
- page: ah,
4071
- pageHeader: sh,
4072
- headerLeft: lh,
4073
- pageTitle: oh,
4074
- headerMeta: ih,
4075
- headerDot: rh,
4076
- headerRight: ch,
4077
- scenarioSelect: dh,
4078
- kpiGrid: uh,
4079
- kpiCard: mh,
4080
- kpiCardClickable: hh,
4081
- kpiTop: ph,
4082
- kpiLabel: _h,
4083
- kpiIcon: gh,
4084
- chipBlue: fh,
4085
- chipCyan: yh,
4086
- chipGreen: vh,
4087
- chipAmber: bh,
4088
- kpiValue: Nh,
4089
- kpiSuffix: kh,
4090
- rateTrack: Ch,
4091
- rateFill: wh,
4092
- kpiFooter: Sh,
4093
- kpiDeltaUp: Th,
4094
- kpiDeltaDown: Ih,
4095
- kpiDeltaFlat: xh,
4096
- kpiDeltaLabel: Ah,
4097
- chartCard: Bh,
4098
- chartRow: Lh,
4099
- chartCardNarrow: Mh,
4100
- chartCardWide: $h,
4101
- chartHeader: Rh,
4102
- chartTitle: Dh,
4103
- chartBreadcrumb: Eh,
4104
- chartBreadcrumbLink: Ph,
4105
- chartBreadcrumbSep: Oh,
4106
- chartSub: Hh,
4107
- chartEmpty: jh
4108
- }, Fh = "_listHeader_1p45v_8", Gh = "_listTitle_1p45v_16", zh = "_listTitleIcon_1p45v_27", Uh = "_listSummary_1p45v_33", Wh = "_listSummaryVal_1p45v_42", qh = "_filterBar_1p45v_48", Kh = "_searchInput_1p45v_60", Vh = "_filterCount_1p45v_65", Ht = {
4109
- listHeader: Fh,
4110
- listTitle: Gh,
4111
- listTitleIcon: zh,
4112
- listSummary: Uh,
4113
- listSummaryVal: Wh,
4114
- filterBar: qh,
4115
- searchInput: Kh,
4116
- filterCount: Vh
4054
+ const th = "_page_snv35_9", nh = "_pageHeader_snv35_15", ah = "_headerLeft_snv35_25", sh = "_pageTitle_snv35_32", lh = "_headerMeta_snv35_40", oh = "_headerDot_snv35_52", ih = "_headerRight_snv35_58", rh = "_scenarioSelect_snv35_66", ch = "_kpiGrid_snv35_72", dh = "_kpiCard_snv35_80", uh = "_kpiCardClickable_snv35_90", mh = "_kpiTop_snv35_107", hh = "_kpiLabel_snv35_115", ph = "_kpiIcon_snv35_122", _h = "_chipBlue_snv35_133", gh = "_chipCyan_snv35_138", fh = "_chipGreen_snv35_143", yh = "_chipAmber_snv35_148", vh = "_kpiValue_snv35_154", bh = "_kpiSuffix_snv35_163", Nh = "_rateTrack_snv35_171", kh = "_rateFill_snv35_180", Ch = "_kpiFooter_snv35_188", wh = "_kpiDeltaUp_snv35_195", Sh = "_kpiDeltaDown_snv35_204", Th = "_kpiDeltaFlat_snv35_213", Ih = "_kpiDeltaLabel_snv35_221", xh = "_chartCard_snv35_229", Ah = "_chartRow_snv35_238", Bh = "_chartCardNarrow_snv35_250", Lh = "_chartCardWide_snv35_256", Mh = "_chartHeader_snv35_262", $h = "_chartTitle_snv35_270", Rh = "_chartBreadcrumb_snv35_277", Dh = "_chartBreadcrumbLink_snv35_284", Eh = "_chartBreadcrumbSep_snv35_300", Ph = "_chartSub_snv35_306", Oh = "_chartEmpty_snv35_312", ve = {
4055
+ page: th,
4056
+ pageHeader: nh,
4057
+ headerLeft: ah,
4058
+ pageTitle: sh,
4059
+ headerMeta: lh,
4060
+ headerDot: oh,
4061
+ headerRight: ih,
4062
+ scenarioSelect: rh,
4063
+ kpiGrid: ch,
4064
+ kpiCard: dh,
4065
+ kpiCardClickable: uh,
4066
+ kpiTop: mh,
4067
+ kpiLabel: hh,
4068
+ kpiIcon: ph,
4069
+ chipBlue: _h,
4070
+ chipCyan: gh,
4071
+ chipGreen: fh,
4072
+ chipAmber: yh,
4073
+ kpiValue: vh,
4074
+ kpiSuffix: bh,
4075
+ rateTrack: Nh,
4076
+ rateFill: kh,
4077
+ kpiFooter: Ch,
4078
+ kpiDeltaUp: wh,
4079
+ kpiDeltaDown: Sh,
4080
+ kpiDeltaFlat: Th,
4081
+ kpiDeltaLabel: Ih,
4082
+ chartCard: xh,
4083
+ chartRow: Ah,
4084
+ chartCardNarrow: Bh,
4085
+ chartCardWide: Lh,
4086
+ chartHeader: Mh,
4087
+ chartTitle: $h,
4088
+ chartBreadcrumb: Rh,
4089
+ chartBreadcrumbLink: Dh,
4090
+ chartBreadcrumbSep: Eh,
4091
+ chartSub: Ph,
4092
+ chartEmpty: Oh
4093
+ }, Hh = "_listHeader_1p45v_8", jh = "_listTitle_1p45v_16", Fh = "_listTitleIcon_1p45v_27", Gh = "_listSummary_1p45v_33", zh = "_listSummaryVal_1p45v_42", Uh = "_filterBar_1p45v_48", Wh = "_searchInput_1p45v_60", qh = "_filterCount_1p45v_65", Ht = {
4094
+ listHeader: Hh,
4095
+ listTitle: jh,
4096
+ listTitleIcon: Fh,
4097
+ listSummary: Gh,
4098
+ listSummaryVal: zh,
4099
+ filterBar: Uh,
4100
+ searchInput: Wh,
4101
+ filterCount: qh
4117
4102
  };
4118
- In.use([
4103
+ Tn.use([
4119
4104
  Oo,
4120
4105
  Ho,
4121
4106
  jo,
@@ -4125,7 +4110,7 @@ In.use([
4125
4110
  Uo,
4126
4111
  Wo
4127
4112
  ]);
4128
- function En({
4113
+ function Dn({
4129
4114
  option: t,
4130
4115
  height: s = 260,
4131
4116
  onEvents: a
@@ -4133,7 +4118,7 @@ function En({
4133
4118
  const l = Ae(null), i = Ae(null), c = Ae(a);
4134
4119
  return c.current = a, oe(() => {
4135
4120
  if (!l.current) return;
4136
- i.current || (i.current = In.init(l.current));
4121
+ i.current || (i.current = Tn.init(l.current));
4137
4122
  const h = i.current;
4138
4123
  h.setOption(t, !0);
4139
4124
  const r = (m) => {
@@ -4157,18 +4142,18 @@ const Os = {
4157
4142
  ACTIVE: "活跃",
4158
4143
  CLOSED: "关单",
4159
4144
  ARCHIVED: "归档"
4160
- }, Jh = {
4145
+ }, Kh = {
4161
4146
  ACTIVE: "green",
4162
4147
  CLOSED: "red",
4163
4148
  ARCHIVED: "default"
4164
- }, Yh = {
4149
+ }, Vh = {
4165
4150
  ACTIVE: "#1973cc",
4166
4151
  // 活跃 → 品牌蓝(进行中语义)
4167
4152
  CLOSED: "#52c41a",
4168
4153
  // 关单 → 绿(完成语义)
4169
4154
  ARCHIVED: "#bfbfbf"
4170
4155
  // 归档 → 灰
4171
- }, Qh = "#bfbfbf", Pn = {
4156
+ }, Jh = "#bfbfbf", En = {
4172
4157
  ai_effective: "#13c2c2",
4173
4158
  ai_ineffective: "#ff7875",
4174
4159
  unlabeled: "#bfbfbf"
@@ -4179,8 +4164,8 @@ function Ta(t, s) {
4179
4164
  function Ia(t) {
4180
4165
  return String(t).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
4181
4166
  }
4182
- const On = "__no_scenario__", Hs = "ft_personal_stats_scenario_codes";
4183
- function Xh() {
4167
+ const Pn = "__no_scenario__", Hs = "ft_personal_stats_scenario_codes";
4168
+ function Yh() {
4184
4169
  try {
4185
4170
  const t = localStorage.getItem(Hs);
4186
4171
  if (!t) return [];
@@ -4196,7 +4181,7 @@ function xa(t) {
4196
4181
  } catch {
4197
4182
  }
4198
4183
  }
4199
- const Zh = [
4184
+ const Qh = [
4200
4185
  {
4201
4186
  key: "ppt-creation",
4202
4187
  icon: /* @__PURE__ */ e(pl, {}),
@@ -4276,7 +4261,7 @@ const Zh = [
4276
4261
  }
4277
4262
  }
4278
4263
  ];
4279
- function ep({
4264
+ function Xh({
4280
4265
  scenario: t,
4281
4266
  onClose: s,
4282
4267
  onCreated: a
@@ -4395,7 +4380,7 @@ function Aa({
4395
4380
  gridTemplateColumns: "repeat(auto-fill, minmax(340px, 1fr))",
4396
4381
  gap: 16
4397
4382
  },
4398
- children: Zh.map((l) => /* @__PURE__ */ n(
4383
+ children: Qh.map((l) => /* @__PURE__ */ n(
4399
4384
  Mo,
4400
4385
  {
4401
4386
  hoverable: !0,
@@ -4428,7 +4413,7 @@ function Aa({
4428
4413
  }
4429
4414
  ),
4430
4415
  s && /* @__PURE__ */ e(
4431
- ep,
4416
+ Xh,
4432
4417
  {
4433
4418
  scenario: s,
4434
4419
  onClose: () => a(null),
@@ -4649,7 +4634,7 @@ function Ba({
4649
4634
  render: (y) => /* @__PURE__ */ e(
4650
4635
  ge,
4651
4636
  {
4652
- color: Jh[y] || "default",
4637
+ color: Kh[y] || "default",
4653
4638
  style: { borderRadius: 4, minWidth: 48, textAlign: "center" },
4654
4639
  children: Os[y] || y
4655
4640
  }
@@ -4712,11 +4697,11 @@ function La({
4712
4697
  onNavigateToProjects: a
4713
4698
  }) {
4714
4699
  const [l, i] = o("30d"), [c, h] = o(null), [r, u] = o(
4715
- () => Xh()
4700
+ () => Yh()
4716
4701
  ), [m, d] = o("root"), g = Le(() => s != null && s.id ? t : [], [t, s]), b = Le(() => {
4717
4702
  const w = /* @__PURE__ */ new Map();
4718
4703
  for (const N of g) {
4719
- const de = N.scenario_code || On;
4704
+ const de = N.scenario_code || Pn;
4720
4705
  w.has(de) || w.set(de, N.scenario_name || N.scenario_code || "未分类");
4721
4706
  }
4722
4707
  return Array.from(w.entries()).map(([N, de]) => ({ value: N, label: de })).sort((N, de) => N.label.localeCompare(de.label, "zh-Hans-CN"));
@@ -4732,7 +4717,7 @@ function La({
4732
4717
  if (r.length === 0) return g;
4733
4718
  const w = new Set(r);
4734
4719
  return g.filter(
4735
- (N) => w.has(N.scenario_code || On)
4720
+ (N) => w.has(N.scenario_code || Pn)
4736
4721
  );
4737
4722
  }, [g, r]), { startDate: I, endDate: D } = Le(() => {
4738
4723
  const w = ln();
@@ -4774,7 +4759,7 @@ function La({
4774
4759
  for (const xe of O) {
4775
4760
  const Be = xe.status || "UNKNOWN";
4776
4761
  N[Be] = (N[Be] || 0) + 1, Be === "CLOSED" && K++, Be === "ACTIVE" && pe++;
4777
- const Ce = xe.scenario_code || On, Re = xe.scenario_name || xe.scenario_code || "未分类";
4762
+ const Ce = xe.scenario_code || Pn, Re = xe.scenario_name || xe.scenario_code || "未分类";
4778
4763
  de[Ce] || (de[Ce] = { count: 0, name: Re }), de[Ce].count++;
4779
4764
  }
4780
4765
  const Ne = w > 0 ? Math.round(K / w * 100) : 0;
@@ -4809,20 +4794,20 @@ function La({
4809
4794
  key: "ai_effective",
4810
4795
  label: "AI有效",
4811
4796
  count: w,
4812
- color: Pn.ai_effective
4797
+ color: En.ai_effective
4813
4798
  },
4814
4799
  {
4815
4800
  key: "ai_ineffective",
4816
4801
  label: "AI无效",
4817
4802
  count: N,
4818
- color: Pn.ai_ineffective
4803
+ color: En.ai_ineffective
4819
4804
  }
4820
4805
  ];
4821
4806
  return de > 0 && pe.push({
4822
4807
  key: "unlabeled",
4823
4808
  label: "未标注",
4824
4809
  count: de,
4825
- color: Pn.unlabeled
4810
+ color: En.unlabeled
4826
4811
  }), {
4827
4812
  closedTotal: K,
4828
4813
  rows: pe.filter((Ne) => Ne.count > 0)
@@ -4964,7 +4949,7 @@ function La({
4964
4949
  itemStyle: { color: "#faad14" },
4965
4950
  lineStyle: { color: "#faad14", width: 2 },
4966
4951
  areaStyle: {
4967
- color: new In.graphic.LinearGradient(0, 0, 0, 1, [
4952
+ color: new Tn.graphic.LinearGradient(0, 0, 0, 1, [
4968
4953
  { offset: 0, color: "rgba(250, 173, 20, 0.16)" },
4969
4954
  { offset: 1, color: "rgba(250, 173, 20, 0)" }
4970
4955
  ])
@@ -4980,7 +4965,7 @@ function La({
4980
4965
  })) : k.map((K) => ({
4981
4966
  name: K.label,
4982
4967
  value: K.count,
4983
- color: Yh[K.status] || Qh
4968
+ color: Vh[K.status] || Jh
4984
4969
  })), de = w ? v.closedTotal : H.total;
4985
4970
  return {
4986
4971
  tooltip: {
@@ -5070,7 +5055,7 @@ function La({
5070
5055
  // 品牌蓝横向渐变 + 右端圆角,统一视觉语言
5071
5056
  itemStyle: {
5072
5057
  borderRadius: [0, 8, 8, 0],
5073
- color: new In.graphic.LinearGradient(0, 0, 1, 0, [
5058
+ color: new Tn.graphic.LinearGradient(0, 0, 1, 0, [
5074
5059
  { offset: 0, color: "#1973cc" },
5075
5060
  { offset: 1, color: "#69aae8" }
5076
5061
  ])
@@ -5262,7 +5247,7 @@ function La({
5262
5247
  /* @__PURE__ */ e("span", { className: ve.chartTitle, children: "每日趋势" }),
5263
5248
  /* @__PURE__ */ e("span", { className: ve.chartSub, children: "新建 / 关单 / 累计 / AI 有效性" })
5264
5249
  ] }),
5265
- $.length > 0 ? /* @__PURE__ */ e(En, { option: ue, height: 300 }) : (
5250
+ $.length > 0 ? /* @__PURE__ */ e(Dn, { option: ue, height: 300 }) : (
5266
5251
  // 数据为空:固定高度占位,保持布局稳定
5267
5252
  /* @__PURE__ */ e("div", { className: ve.chartEmpty, children: /* @__PURE__ */ e(
5268
5253
  vt,
@@ -5295,7 +5280,7 @@ function La({
5295
5280
  H.closedCount > 0 && /* @__PURE__ */ e("span", { className: ve.chartSub, children: "点击关单可下钻" })
5296
5281
  ] }) }),
5297
5282
  (m === "root" ? k.length > 0 : v.rows.length > 0) ? /* @__PURE__ */ e(
5298
- En,
5283
+ Dn,
5299
5284
  {
5300
5285
  option: fe,
5301
5286
  height: 240,
@@ -5317,7 +5302,7 @@ function La({
5317
5302
  Y.length > 0 ? (
5318
5303
  // 数据非空:横向条形图,高度随场景数自适应(每条 38px,最小 240)
5319
5304
  /* @__PURE__ */ e(
5320
- En,
5305
+ Dn,
5321
5306
  {
5322
5307
  option: V,
5323
5308
  height: Math.max(240, Y.length * 38 + 24)
@@ -5436,13 +5421,13 @@ function Qn({
5436
5421
  }
5437
5422
  );
5438
5423
  }
5439
- const tp = "_readOnlyCodeView_ioz80_1", np = "_header_ioz80_10", ap = "_title_ioz80_20", sp = "_copyButton_ioz80_25", lp = "_pre_ioz80_39", _n = {
5440
- readOnlyCodeView: tp,
5441
- header: np,
5442
- title: ap,
5443
- copyButton: sp,
5444
- pre: lp
5445
- }, op = ({
5424
+ const Zh = "_readOnlyCodeView_ioz80_1", ep = "_header_ioz80_10", tp = "_title_ioz80_20", np = "_copyButton_ioz80_25", ap = "_pre_ioz80_39", _n = {
5425
+ readOnlyCodeView: Zh,
5426
+ header: ep,
5427
+ title: tp,
5428
+ copyButton: np,
5429
+ pre: ap
5430
+ }, sp = ({
5446
5431
  code: t,
5447
5432
  value: s,
5448
5433
  language: a,
@@ -5483,57 +5468,57 @@ const tp = "_readOnlyCodeView_ioz80_1", np = "_header_ioz80_10", ap = "_title_io
5483
5468
  ]
5484
5469
  }
5485
5470
  );
5486
- }, ip = "_root_teqr2_6", rp = "_toolsLayout_teqr2_24", cp = "_toolSidebar_teqr2_33", dp = "_toolGroup_teqr2_42", up = "_toolGroupTitle_teqr2_46", mp = "_toolItem_teqr2_56", hp = "_toolItemActive_teqr2_71", pp = "_toolIcon_teqr2_76", _p = "_toolLabel_teqr2_80", gp = "_toolInfo_teqr2_102", fp = "_toolDesc_teqr2_113", yp = "_toolPanel_teqr2_122", vp = "_websiteCard_teqr2_131", bp = "_websiteLink_teqr2_140", Np = "_outputArea_teqr2_145", kp = "_panelLabel_teqr2_150", Cp = "_diffBox_teqr2_157", wp = "_jwtPre_teqr2_305", Sp = "_jwtPayload_teqr2_318", Tp = "_jwtRow_teqr2_324", Ip = "_jwtKey_teqr2_336", xp = "_jwtVal_teqr2_343", Ap = "_hashResult_teqr2_351", Bp = "_hashCode_teqr2_361", Lp = "_caseRow_teqr2_370", Mp = "_parsedBox_teqr2_381", $p = "_cronDesc_teqr2_393", Rp = "_cronNext_teqr2_404", Dp = "_cronExample_teqr2_414", Ep = "_colorPicker_teqr2_426", Pp = "_colorPreview_teqr2_436", Op = "_colorRow_teqr2_443", Hp = "_httpHeaderRow_teqr2_454", jp = "_httpResp_teqr2_461", Fp = "_httpRespMeta_teqr2_467", Gp = "_scriptConsole_teqr2_498", zp = "_scriptConsoleHeader_teqr2_508", Up = "_scriptConsoleBody_teqr2_521", Wp = "_scriptEmpty_teqr2_528", qp = "_scriptLine_teqr2_536", Kp = "_scriptTime_teqr2_546", Vp = "_scriptLevelBadge_teqr2_553", Jp = "_scriptContent_teqr2_560", Yp = "_scriptLog_teqr2_570", Qp = "_scriptInfo_teqr2_574", Xp = "_scriptDebug_teqr2_578", Zp = "_scriptWarn_teqr2_582", e_ = "_scriptError_teqr2_587", t_ = "_scriptReturn_teqr2_592", ee = {
5487
- root: ip,
5488
- toolsLayout: rp,
5489
- toolSidebar: cp,
5490
- toolGroup: dp,
5491
- toolGroupTitle: up,
5492
- toolItem: mp,
5493
- toolItemActive: hp,
5494
- toolIcon: pp,
5495
- toolLabel: _p,
5496
- toolInfo: gp,
5497
- toolDesc: fp,
5498
- toolPanel: yp,
5499
- websiteCard: vp,
5500
- websiteLink: bp,
5501
- outputArea: Np,
5502
- panelLabel: kp,
5503
- diffBox: Cp,
5504
- jwtPre: wp,
5505
- jwtPayload: Sp,
5506
- jwtRow: Tp,
5507
- jwtKey: Ip,
5508
- jwtVal: xp,
5509
- hashResult: Ap,
5510
- hashCode: Bp,
5511
- caseRow: Lp,
5512
- parsedBox: Mp,
5513
- cronDesc: $p,
5514
- cronNext: Rp,
5515
- cronExample: Dp,
5516
- colorPicker: Ep,
5517
- colorPreview: Pp,
5518
- colorRow: Op,
5519
- httpHeaderRow: Hp,
5520
- httpResp: jp,
5521
- httpRespMeta: Fp,
5522
- scriptConsole: Gp,
5523
- scriptConsoleHeader: zp,
5524
- scriptConsoleBody: Up,
5525
- scriptEmpty: Wp,
5526
- scriptLine: qp,
5527
- scriptTime: Kp,
5528
- scriptLevelBadge: Vp,
5529
- scriptContent: Jp,
5530
- scriptLog: Yp,
5531
- scriptInfo: Qp,
5532
- scriptDebug: Xp,
5533
- scriptWarn: Zp,
5534
- scriptError: e_,
5535
- scriptReturn: t_
5536
- }, { TextArea: Fe } = He, { Text: Et, Title: n_ } = Eo, js = [
5471
+ }, lp = "_root_teqr2_6", op = "_toolsLayout_teqr2_24", ip = "_toolSidebar_teqr2_33", rp = "_toolGroup_teqr2_42", cp = "_toolGroupTitle_teqr2_46", dp = "_toolItem_teqr2_56", up = "_toolItemActive_teqr2_71", mp = "_toolIcon_teqr2_76", hp = "_toolLabel_teqr2_80", pp = "_toolInfo_teqr2_102", _p = "_toolDesc_teqr2_113", gp = "_toolPanel_teqr2_122", fp = "_websiteCard_teqr2_131", yp = "_websiteLink_teqr2_140", vp = "_outputArea_teqr2_145", bp = "_panelLabel_teqr2_150", Np = "_diffBox_teqr2_157", kp = "_jwtPre_teqr2_305", Cp = "_jwtPayload_teqr2_318", wp = "_jwtRow_teqr2_324", Sp = "_jwtKey_teqr2_336", Tp = "_jwtVal_teqr2_343", Ip = "_hashResult_teqr2_351", xp = "_hashCode_teqr2_361", Ap = "_caseRow_teqr2_370", Bp = "_parsedBox_teqr2_381", Lp = "_cronDesc_teqr2_393", Mp = "_cronNext_teqr2_404", $p = "_cronExample_teqr2_414", Rp = "_colorPicker_teqr2_426", Dp = "_colorPreview_teqr2_436", Ep = "_colorRow_teqr2_443", Pp = "_httpHeaderRow_teqr2_454", Op = "_httpResp_teqr2_461", Hp = "_httpRespMeta_teqr2_467", jp = "_scriptConsole_teqr2_498", Fp = "_scriptConsoleHeader_teqr2_508", Gp = "_scriptConsoleBody_teqr2_521", zp = "_scriptEmpty_teqr2_528", Up = "_scriptLine_teqr2_536", Wp = "_scriptTime_teqr2_546", qp = "_scriptLevelBadge_teqr2_553", Kp = "_scriptContent_teqr2_560", Vp = "_scriptLog_teqr2_570", Jp = "_scriptInfo_teqr2_574", Yp = "_scriptDebug_teqr2_578", Qp = "_scriptWarn_teqr2_582", Xp = "_scriptError_teqr2_587", Zp = "_scriptReturn_teqr2_592", ee = {
5472
+ root: lp,
5473
+ toolsLayout: op,
5474
+ toolSidebar: ip,
5475
+ toolGroup: rp,
5476
+ toolGroupTitle: cp,
5477
+ toolItem: dp,
5478
+ toolItemActive: up,
5479
+ toolIcon: mp,
5480
+ toolLabel: hp,
5481
+ toolInfo: pp,
5482
+ toolDesc: _p,
5483
+ toolPanel: gp,
5484
+ websiteCard: fp,
5485
+ websiteLink: yp,
5486
+ outputArea: vp,
5487
+ panelLabel: bp,
5488
+ diffBox: Np,
5489
+ jwtPre: kp,
5490
+ jwtPayload: Cp,
5491
+ jwtRow: wp,
5492
+ jwtKey: Sp,
5493
+ jwtVal: Tp,
5494
+ hashResult: Ip,
5495
+ hashCode: xp,
5496
+ caseRow: Ap,
5497
+ parsedBox: Bp,
5498
+ cronDesc: Lp,
5499
+ cronNext: Mp,
5500
+ cronExample: $p,
5501
+ colorPicker: Rp,
5502
+ colorPreview: Dp,
5503
+ colorRow: Ep,
5504
+ httpHeaderRow: Pp,
5505
+ httpResp: Op,
5506
+ httpRespMeta: Hp,
5507
+ scriptConsole: jp,
5508
+ scriptConsoleHeader: Fp,
5509
+ scriptConsoleBody: Gp,
5510
+ scriptEmpty: zp,
5511
+ scriptLine: Up,
5512
+ scriptTime: Wp,
5513
+ scriptLevelBadge: qp,
5514
+ scriptContent: Kp,
5515
+ scriptLog: Vp,
5516
+ scriptInfo: Jp,
5517
+ scriptDebug: Yp,
5518
+ scriptWarn: Qp,
5519
+ scriptError: Xp,
5520
+ scriptReturn: Zp
5521
+ }, { TextArea: Fe } = He, { Text: Et, Title: e_ } = Eo, js = [
5537
5522
  {
5538
5523
  key: "formatter",
5539
5524
  label: "格式化",
@@ -5715,7 +5700,7 @@ function bt({ text: t }) {
5715
5700
  }
5716
5701
  ) });
5717
5702
  }
5718
- function Mn({
5703
+ function Ln({
5719
5704
  label: t,
5720
5705
  input: s,
5721
5706
  output: a,
@@ -5842,7 +5827,7 @@ function Gs() {
5842
5827
  )
5843
5828
  ] });
5844
5829
  }
5845
- function a_() {
5830
+ function t_() {
5846
5831
  const [t, s] = o(""), [a, l] = o(""), [i, c] = o(""), h = F(() => {
5847
5832
  try {
5848
5833
  const m = new DOMParser().parseFromString(t, "application/xml"), d = m.querySelector("parsererror");
@@ -5870,7 +5855,7 @@ function a_() {
5870
5855
  }
5871
5856
  }, [t]);
5872
5857
  return /* @__PURE__ */ e(
5873
- Mn,
5858
+ Ln,
5874
5859
  {
5875
5860
  buttons: /* @__PURE__ */ n(Ie, { children: [
5876
5861
  /* @__PURE__ */ e(se, { type: "primary", onClick: h, children: "格式化" }),
@@ -5899,7 +5884,7 @@ function a_() {
5899
5884
  }
5900
5885
  );
5901
5886
  }
5902
- function s_(t) {
5887
+ function n_(t) {
5903
5888
  return Yo(t, {
5904
5889
  language: "mysql",
5905
5890
  // @ts-ignore
@@ -5909,10 +5894,10 @@ function s_(t) {
5909
5894
  linesBetweenQueries: 2
5910
5895
  });
5911
5896
  }
5912
- function l_() {
5897
+ function a_() {
5913
5898
  const [t, s] = o(""), [a, l] = o(""), [i, c] = o(""), h = F(() => {
5914
5899
  try {
5915
- l(s_(t)), c("");
5900
+ l(n_(t)), c("");
5916
5901
  } catch (u) {
5917
5902
  l(""), c(u instanceof Error ? u.message : "SQL 格式化失败");
5918
5903
  }
@@ -5920,7 +5905,7 @@ function l_() {
5920
5905
  l(t.replace(/\s+/g, " ").trim()), c("");
5921
5906
  }, [t]);
5922
5907
  return /* @__PURE__ */ e(
5923
- Mn,
5908
+ Ln,
5924
5909
  {
5925
5910
  buttons: /* @__PURE__ */ n(Ie, { children: [
5926
5911
  /* @__PURE__ */ e(se, { type: "primary", onClick: h, children: "格式化" }),
@@ -5937,7 +5922,7 @@ function l_() {
5937
5922
  }
5938
5923
  ),
5939
5924
  output: /* @__PURE__ */ e(
5940
- op,
5925
+ sp,
5941
5926
  {
5942
5927
  value: a,
5943
5928
  language: "sql",
@@ -5948,7 +5933,7 @@ function l_() {
5948
5933
  }
5949
5934
  );
5950
5935
  }
5951
- function o_() {
5936
+ function s_() {
5952
5937
  const [t, s] = o(""), [a, l] = o(""), i = F(() => {
5953
5938
  let h = 0;
5954
5939
  const r = t.replace(/>\s*</g, `>
@@ -5968,7 +5953,7 @@ function o_() {
5968
5953
  l(t.replace(/\s+/g, " ").replace(/> </g, "><").trim());
5969
5954
  }, [t]);
5970
5955
  return /* @__PURE__ */ e(
5971
- Mn,
5956
+ Ln,
5972
5957
  {
5973
5958
  buttons: /* @__PURE__ */ n(Ie, { children: [
5974
5959
  /* @__PURE__ */ e(se, { type: "primary", onClick: i, children: "格式化" }),
@@ -5996,7 +5981,7 @@ function o_() {
5996
5981
  }
5997
5982
  );
5998
5983
  }
5999
- function i_() {
5984
+ function l_() {
6000
5985
  const [t, s] = o(""), [a, l] = o(""), [i, c] = o(""), h = Ae(null), r = F(() => {
6001
5986
  try {
6002
5987
  l(btoa(unescape(encodeURIComponent(t)))), c("");
@@ -6081,7 +6066,7 @@ function i_() {
6081
6066
  ) })
6082
6067
  ] });
6083
6068
  }
6084
- function r_() {
6069
+ function o_() {
6085
6070
  const [t, s] = o(""), [a, l] = o(""), [i, c] = o(null), h = F(() => {
6086
6071
  l(encodeURIComponent(t)), c(null);
6087
6072
  }, [t]), r = F(() => {
@@ -6147,13 +6132,13 @@ function r_() {
6147
6132
  ] }, m)) })
6148
6133
  ] });
6149
6134
  }
6150
- function c_() {
6135
+ function i_() {
6151
6136
  const [t, s] = o(""), [a, l] = o(""), i = (h) => h.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;"), c = (h) => {
6152
6137
  const r = document.createElement("textarea");
6153
6138
  return r.innerHTML = h, r.value;
6154
6139
  };
6155
6140
  return /* @__PURE__ */ e(
6156
- Mn,
6141
+ Ln,
6157
6142
  {
6158
6143
  buttons: /* @__PURE__ */ n(Ie, { children: [
6159
6144
  /* @__PURE__ */ e(se, { type: "primary", onClick: () => l(i(t)), children: "转义" }),
@@ -6181,7 +6166,7 @@ function c_() {
6181
6166
  }
6182
6167
  );
6183
6168
  }
6184
- function d_() {
6169
+ function r_() {
6185
6170
  const [t, s] = o(""), a = Le(() => {
6186
6171
  if (!t.trim()) return null;
6187
6172
  const c = t.split(".");
@@ -6261,18 +6246,18 @@ function d_() {
6261
6246
  ] })
6262
6247
  ] });
6263
6248
  }
6264
- async function u_(t, s) {
6249
+ async function c_(t, s) {
6265
6250
  if (t === "MD5")
6266
6251
  return (await import("./spark-md5-Dld54a-T.js").then((c) => c.s)).default.hash(s);
6267
6252
  const a = new TextEncoder(), l = await crypto.subtle.digest(t, a.encode(s));
6268
6253
  return Array.from(new Uint8Array(l)).map((i) => i.toString(16).padStart(2, "0")).join("");
6269
6254
  }
6270
- function m_() {
6255
+ function d_() {
6271
6256
  const [t, s] = o(""), [a, l] = o("SHA-256"), [i, c] = o(""), [h, r] = o(!1), u = F(async () => {
6272
6257
  if (t) {
6273
6258
  r(!0);
6274
6259
  try {
6275
- c(await u_(a, t));
6260
+ c(await c_(a, t));
6276
6261
  } catch {
6277
6262
  we.error("计算失败");
6278
6263
  } finally {
@@ -6311,7 +6296,7 @@ function m_() {
6311
6296
  ] })
6312
6297
  ] });
6313
6298
  }
6314
- async function h_(t, s, a) {
6299
+ async function u_(t, s, a) {
6315
6300
  const l = new TextEncoder(), i = await crypto.subtle.importKey(
6316
6301
  "raw",
6317
6302
  l.encode(s),
@@ -6321,7 +6306,7 @@ async function h_(t, s, a) {
6321
6306
  ), c = await crypto.subtle.sign("HMAC", i, l.encode(a));
6322
6307
  return Array.from(new Uint8Array(c)).map((h) => h.toString(16).padStart(2, "0")).join("");
6323
6308
  }
6324
- function p_() {
6309
+ function m_() {
6325
6310
  const [t, s] = o(""), [a, l] = o(""), [i, c] = o("SHA-256"), [h, r] = o(""), [u, m] = o(!1), d = F(async () => {
6326
6311
  if (!t || !a) {
6327
6312
  we.warning("消息和密钥不能为空");
@@ -6329,7 +6314,7 @@ function p_() {
6329
6314
  }
6330
6315
  m(!0);
6331
6316
  try {
6332
- r(await h_(i, a, t));
6317
+ r(await u_(i, a, t));
6333
6318
  } catch {
6334
6319
  we.error("计算失败");
6335
6320
  } finally {
@@ -6388,7 +6373,7 @@ function p_() {
6388
6373
  ] })
6389
6374
  ] });
6390
6375
  }
6391
- function __(t, s) {
6376
+ function h_(t, s) {
6392
6377
  if (!t && !s) return { add: 0, remove: 0 };
6393
6378
  const a = Ko(t, s);
6394
6379
  let l = 0, i = 0;
@@ -6399,7 +6384,7 @@ function __(t, s) {
6399
6384
  }
6400
6385
  return { add: l, remove: i };
6401
6386
  }
6402
- function g_() {
6387
+ function p_() {
6403
6388
  const [t, s] = o(""), [a, l] = o(""), [i, c] = o(!0), [h, r] = o({ add: 0, remove: 0 }), u = Ae(null);
6404
6389
  return oe(() => {
6405
6390
  if (!t && !a) {
@@ -6407,7 +6392,7 @@ function g_() {
6407
6392
  return;
6408
6393
  }
6409
6394
  return u.current && clearTimeout(u.current), u.current = setTimeout(() => {
6410
- r(__(t, a));
6395
+ r(h_(t, a));
6411
6396
  }, 300), () => {
6412
6397
  u.current && clearTimeout(u.current);
6413
6398
  };
@@ -6498,27 +6483,27 @@ function g_() {
6498
6483
  function zs(t) {
6499
6484
  return t.replace(/[-_\s]+(.)/g, (s, a) => a.toUpperCase()).replace(/^./, (s) => s.toLowerCase());
6500
6485
  }
6501
- function f_(t) {
6486
+ function __(t) {
6502
6487
  const s = zs(t);
6503
6488
  return s.charAt(0).toUpperCase() + s.slice(1);
6504
6489
  }
6505
6490
  function Xn(t) {
6506
6491
  return t.replace(/([A-Z])/g, "_$1").replace(/[-\s]+/g, "_").replace(/^_/, "").toLowerCase();
6507
6492
  }
6508
- function y_(t) {
6493
+ function g_(t) {
6509
6494
  return Xn(t).replace(/_/g, "-");
6510
6495
  }
6511
- function v_(t) {
6496
+ function f_(t) {
6512
6497
  return t.replace(/[-_]/g, " ").replace(/\b\w/g, (s) => s.toUpperCase());
6513
6498
  }
6514
- function b_() {
6499
+ function y_() {
6515
6500
  const [t, s] = o(""), a = Le(
6516
6501
  () => [
6517
6502
  { label: "camelCase", value: zs(t) },
6518
- { label: "PascalCase", value: f_(t) },
6503
+ { label: "PascalCase", value: __(t) },
6519
6504
  { label: "snake_case", value: Xn(t) },
6520
- { label: "kebab-case", value: y_(t) },
6521
- { label: "Title Case", value: v_(t) },
6505
+ { label: "kebab-case", value: g_(t) },
6506
+ { label: "Title Case", value: f_(t) },
6522
6507
  { label: "UPPER_CASE", value: Xn(t).toUpperCase() },
6523
6508
  { label: "lower case", value: t.toLowerCase() },
6524
6509
  { label: "UPPER CASE", value: t.toUpperCase() }
@@ -6554,7 +6539,7 @@ function b_() {
6554
6539
  )
6555
6540
  ] });
6556
6541
  }
6557
- function N_() {
6542
+ function v_() {
6558
6543
  const [t, s] = o(""), a = Le(() => {
6559
6544
  const l = t.length, i = t ? t.split(`
6560
6545
  `).length : 0, c = t.trim() ? t.trim().split(/\s+/).length : 0, h = (t.match(/[\u4e00-\u9fa5]/g) || []).length, r = (t.match(/[a-zA-Z]/g) || []).length, u = (t.match(/[0-9]/g) || []).length, m = t.replace(/\s/g, "").length;
@@ -6590,7 +6575,7 @@ function N_() {
6590
6575
  ) }, l.title)) })
6591
6576
  ] });
6592
6577
  }
6593
- function k_() {
6578
+ function b_() {
6594
6579
  const [t, s] = o(""), [a, l] = o("g"), [i, c] = o(""), [h, r] = o([]), [u, m] = o(""), d = F(() => {
6595
6580
  try {
6596
6581
  const g = [], b = new RegExp(t, a);
@@ -6668,7 +6653,7 @@ function k_() {
6668
6653
  ] }) : i && t ? /* @__PURE__ */ e(Et, { type: "secondary", children: "无匹配" }) : null
6669
6654
  ] });
6670
6655
  }
6671
- function C_() {
6656
+ function N_() {
6672
6657
  const [t, s] = o([]), [a, l] = o(1), [i, c] = o(16), [h, r] = o([]), u = F(() => {
6673
6658
  const d = [];
6674
6659
  for (let g = 0; g < Math.max(1, Math.min(a, 50)); g++)
@@ -6767,7 +6752,7 @@ function C_() {
6767
6752
  ] })
6768
6753
  ] });
6769
6754
  }
6770
- function w_() {
6755
+ function k_() {
6771
6756
  const [t, s] = o(String(Math.floor(Date.now() / 1e3))), [a, l] = o((/* @__PURE__ */ new Date()).toISOString().slice(0, 19)), [i, c] = o("local"), h = F(() => {
6772
6757
  const m = Number(t);
6773
6758
  if (!Number.isFinite(m)) {
@@ -6854,7 +6839,7 @@ function w_() {
6854
6839
  })() })
6855
6840
  ] });
6856
6841
  }
6857
- function S_() {
6842
+ function C_() {
6858
6843
  const [t, s] = o("0 9 * * 1-5"), [a, l] = o(
6859
6844
  null
6860
6845
  ), [i, c] = o(""), h = F(async () => {
@@ -6923,11 +6908,11 @@ function S_() {
6923
6908
  ] })
6924
6909
  ] });
6925
6910
  }
6926
- function T_(t) {
6911
+ function w_(t) {
6927
6912
  const s = t.replace("#", "").match(/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i);
6928
6913
  return s ? [parseInt(s[1], 16), parseInt(s[2], 16), parseInt(s[3], 16)] : null;
6929
6914
  }
6930
- function I_(t, s, a) {
6915
+ function S_(t, s, a) {
6931
6916
  t /= 255, s /= 255, a /= 255;
6932
6917
  const l = Math.max(t, s, a), i = Math.min(t, s, a);
6933
6918
  let c = 0, h = 0;
@@ -6948,8 +6933,8 @@ function I_(t, s, a) {
6948
6933
  }
6949
6934
  return [Math.round(c * 360), Math.round(h * 100), Math.round(r * 100)];
6950
6935
  }
6951
- function x_() {
6952
- const [t, s] = o("#4285f4"), [a, l] = o("#4285f4"), i = T_(t), c = i ? I_(...i) : null, h = (r) => {
6936
+ function T_() {
6937
+ const [t, s] = o("#4285f4"), [a, l] = o("#4285f4"), i = w_(t), c = i ? S_(...i) : null, h = (r) => {
6953
6938
  s(r), /^#[0-9a-fA-F]{6}$/.test(r) && l(r);
6954
6939
  };
6955
6940
  return /* @__PURE__ */ n("div", { children: [
@@ -7016,7 +7001,7 @@ function x_() {
7016
7001
  ] })
7017
7002
  ] });
7018
7003
  }
7019
- function A_() {
7004
+ function I_() {
7020
7005
  const [t, s] = o(""), [a, l] = o(""), i = Ae(null), c = F(async () => {
7021
7006
  if (!t.trim()) {
7022
7007
  we.warning("请输入内容");
@@ -7082,7 +7067,7 @@ function A_() {
7082
7067
  ] })
7083
7068
  ] });
7084
7069
  }
7085
- function B_(t) {
7070
+ function x_(t) {
7086
7071
  var h, r, u;
7087
7072
  const s = t.replace(/\\\n/g, " ").replace(/\s+/g, " ").trim().match(/(?:[^\s"']+|"[^"]*"|'[^']*')+/g) ?? [];
7088
7073
  let a = "GET", l = "";
@@ -7104,12 +7089,12 @@ function B_(t) {
7104
7089
  }
7105
7090
  return { method: a, url: l, headers: i, body: c };
7106
7091
  }
7107
- function L_(t, s, a, l) {
7092
+ function A_(t, s, a, l) {
7108
7093
  const i = [`curl -X ${t}`];
7109
7094
  return a.filter((c) => c.enabled && c.key).forEach((c) => i.push(` -H '${c.key}: ${c.value}'`)), l && i.push(` -d '${l.replace(/'/g, "'\\''")}'`), i.push(` '${s}'`), i.join(` \\
7110
7095
  `);
7111
7096
  }
7112
- const M_ = [
7097
+ const B_ = [
7113
7098
  "GET",
7114
7099
  "POST",
7115
7100
  "PUT",
@@ -7118,11 +7103,11 @@ const M_ = [
7118
7103
  "HEAD",
7119
7104
  "OPTIONS"
7120
7105
  ];
7121
- function $_() {
7106
+ function L_() {
7122
7107
  const [t, s] = o("GET"), [a, l] = o(""), [i, c] = o([
7123
7108
  { key: "Content-Type", value: "application/json", enabled: !0 }
7124
7109
  ]), [h, r] = o(""), [u, m] = o(""), [d, g] = o(!1), [b, M] = o(null), [x, I] = o(""), [D, O] = o(""), [ne, ae] = o(null), [W, A] = o("body"), [H, Y] = o(!1), k = F(() => {
7125
- const V = B_(u);
7110
+ const V = x_(u);
7126
7111
  s(V.method), l(V.url), c(
7127
7112
  V.headers.length ? V.headers : [{ key: "Content-Type", value: "application/json", enabled: !0 }]
7128
7113
  ), r(V.body), Y(!1), m(""), we.success("导入成功");
@@ -7131,7 +7116,7 @@ function $_() {
7131
7116
  we.warning("请先填写 URL");
7132
7117
  return;
7133
7118
  }
7134
- Fs(L_(t, a, i, h));
7119
+ Fs(A_(t, a, i, h));
7135
7120
  }, [t, a, i, h]), $ = F(async () => {
7136
7121
  if (!a.trim()) {
7137
7122
  we.warning("请先填写 URL");
@@ -7171,7 +7156,7 @@ function $_() {
7171
7156
  value: t,
7172
7157
  onChange: s,
7173
7158
  style: { width: 120 },
7174
- options: M_.map((V) => ({ value: V, label: V }))
7159
+ options: B_.map((V) => ({ value: V, label: V }))
7175
7160
  }
7176
7161
  ),
7177
7162
  /* @__PURE__ */ e(
@@ -7337,7 +7322,7 @@ function $a(t) {
7337
7322
  }
7338
7323
  return String(t);
7339
7324
  }
7340
- const R_ = [
7325
+ const M_ = [
7341
7326
  {
7342
7327
  label: "整数排列",
7343
7328
  code: `// 生成并打印小于 30 的质数
@@ -7377,7 +7362,7 @@ const batch = Array.from({length: 5}, uuid);
7377
7362
  batch.forEach((id, i) => console.log(i + 1, id));`
7378
7363
  }
7379
7364
  ];
7380
- function D_() {
7365
+ function $_() {
7381
7366
  const [t, s] = o(
7382
7367
  `// 在浏览器内执行 JavaScript,支持 async/await
7383
7368
  console.log("Hello, World!");
@@ -7445,7 +7430,7 @@ ${t}
7445
7430
  return /* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: [
7446
7431
  /* @__PURE__ */ n("div", { children: [
7447
7432
  /* @__PURE__ */ e("div", { className: ee.panelLabel, children: "快速预设" }),
7448
- /* @__PURE__ */ e(et, { wrap: !0, children: R_.map((d) => /* @__PURE__ */ e(se, { size: "small", onClick: () => s(d.code), children: d.label }, d.label)) })
7433
+ /* @__PURE__ */ e(et, { wrap: !0, children: M_.map((d) => /* @__PURE__ */ e(se, { size: "small", onClick: () => s(d.code), children: d.label }, d.label)) })
7449
7434
  ] }),
7450
7435
  /* @__PURE__ */ n("div", { children: [
7451
7436
  /* @__PURE__ */ n(
@@ -7531,29 +7516,29 @@ ${t}
7531
7516
  ] })
7532
7517
  ] });
7533
7518
  }
7534
- const E_ = {
7519
+ const R_ = {
7535
7520
  json: Gs,
7536
- xml: a_,
7537
- sql: l_,
7538
- "html-fmt": o_,
7539
- base64: i_,
7540
- url: r_,
7541
- "html-entity": c_,
7542
- jwt: d_,
7543
- hash: m_,
7544
- hmac: p_,
7545
- diff: g_,
7546
- case: b_,
7547
- count: N_,
7548
- regex: k_,
7549
- uuid: C_,
7550
- timestamp: w_,
7551
- cron: S_,
7552
- color: x_,
7553
- qrcode: A_,
7554
- http: $_,
7555
- script: D_
7556
- }, Ra = typeof window < "u" && window.ZTEAM_FONE_BASE || "", Hn = [
7521
+ xml: t_,
7522
+ sql: a_,
7523
+ "html-fmt": s_,
7524
+ base64: l_,
7525
+ url: o_,
7526
+ "html-entity": i_,
7527
+ jwt: r_,
7528
+ hash: d_,
7529
+ hmac: m_,
7530
+ diff: p_,
7531
+ case: y_,
7532
+ count: v_,
7533
+ regex: b_,
7534
+ uuid: N_,
7535
+ timestamp: k_,
7536
+ cron: C_,
7537
+ color: T_,
7538
+ qrcode: I_,
7539
+ http: L_,
7540
+ script: $_
7541
+ }, Ra = typeof window < "u" && window.ZTEAM_FONE_BASE || "", On = [
7557
7542
  { id: "default-admin", name: "Admin 后台", url: "/admin", category: "平台" },
7558
7543
  {
7559
7544
  id: "default-agenthub-proxy",
@@ -7570,28 +7555,28 @@ const E_ = {
7570
7555
  }
7571
7556
  ] : []
7572
7557
  ], Us = "ft_personal_workspace_websites", Da = "ft_personal_workspace_last_tool";
7573
- function P_() {
7558
+ function D_() {
7574
7559
  try {
7575
7560
  const t = localStorage.getItem(Us);
7576
- if (!t) return Hn;
7561
+ if (!t) return On;
7577
7562
  const s = JSON.parse(t);
7578
7563
  return Array.isArray(s) ? s.filter(
7579
7564
  (a) => typeof a == "object" && a !== null && typeof a.id == "string" && typeof a.name == "string" && typeof a.url == "string"
7580
- ) : Hn;
7565
+ ) : On;
7581
7566
  } catch {
7582
- return Hn;
7567
+ return On;
7583
7568
  }
7584
7569
  }
7585
- function O_(t) {
7570
+ function E_(t) {
7586
7571
  try {
7587
7572
  localStorage.setItem(Us, JSON.stringify(t));
7588
7573
  } catch {
7589
7574
  }
7590
7575
  }
7591
- function H_() {
7576
+ function P_() {
7592
7577
  return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
7593
7578
  }
7594
- function j_({
7579
+ function O_({
7595
7580
  item: t,
7596
7581
  onClose: s,
7597
7582
  onSave: a
@@ -7608,7 +7593,7 @@ function j_({
7608
7593
  l.validateFields().then((c) => {
7609
7594
  var h;
7610
7595
  a({
7611
- id: (t == null ? void 0 : t.id) || H_(),
7596
+ id: (t == null ? void 0 : t.id) || P_(),
7612
7597
  name: c.name.trim(),
7613
7598
  url: c.url.trim(),
7614
7599
  category: ((h = c.category) == null ? void 0 : h.trim()) || void 0
@@ -7657,7 +7642,7 @@ function j_({
7657
7642
  }
7658
7643
  );
7659
7644
  }
7660
- function F_({
7645
+ function H_({
7661
7646
  websites: t,
7662
7647
  onChange: s
7663
7648
  }) {
@@ -7690,7 +7675,7 @@ function F_({
7690
7675
  marginBottom: 16
7691
7676
  },
7692
7677
  children: [
7693
- /* @__PURE__ */ n(n_, { level: 5, style: { margin: 0 }, children: [
7678
+ /* @__PURE__ */ n(e_, { level: 5, style: { margin: 0 }, children: [
7694
7679
  /* @__PURE__ */ e(Sn, { style: { marginRight: 8 } }),
7695
7680
  "常用网站"
7696
7681
  ] }),
@@ -7766,7 +7751,7 @@ function F_({
7766
7751
  }
7767
7752
  ) }, m.id)) }),
7768
7753
  (i || a) && /* @__PURE__ */ e(
7769
- j_,
7754
+ O_,
7770
7755
  {
7771
7756
  item: a,
7772
7757
  onClose: () => {
@@ -7777,7 +7762,7 @@ function F_({
7777
7762
  )
7778
7763
  ] });
7779
7764
  }
7780
- function xn({
7765
+ function In({
7781
7766
  showTools: t = !0,
7782
7767
  showWebsites: s = !0
7783
7768
  }) {
@@ -7788,16 +7773,16 @@ function xn({
7788
7773
  } catch {
7789
7774
  }
7790
7775
  return Ma[0].key;
7791
- }), [i, c] = o(P_);
7776
+ }), [i, c] = o(D_);
7792
7777
  oe(() => {
7793
7778
  try {
7794
7779
  localStorage.setItem(Da, a);
7795
7780
  } catch {
7796
7781
  }
7797
7782
  }, [a]), oe(() => {
7798
- O_(i);
7783
+ E_(i);
7799
7784
  }, [i]);
7800
- const h = E_[a] || Gs;
7785
+ const h = R_[a] || Gs;
7801
7786
  return /* @__PURE__ */ n("div", { className: ee.root, children: [
7802
7787
  t && /* @__PURE__ */ e(
7803
7788
  "div",
@@ -7836,51 +7821,51 @@ function xn({
7836
7821
  ] })
7837
7822
  }
7838
7823
  ),
7839
- s && /* @__PURE__ */ e(F_, { websites: i, onChange: c })
7824
+ s && /* @__PURE__ */ e(H_, { websites: i, onChange: c })
7840
7825
  ] });
7841
7826
  }
7842
- const G_ = "_sidebarInner_1vu3c_1", z_ = "_header_1vu3c_8", U_ = "_headerActions_1vu3c_19", W_ = "_tabBar_1vu3c_26", q_ = "_tab_1vu3c_26", K_ = "_tabActive_1vu3c_50", V_ = "_btnSm_1vu3c_66", J_ = "_agentSection_1vu3c_84", Y_ = "_agentItem_1vu3c_90", Q_ = "_agentItemActive_1vu3c_112", X_ = "_agentAvatar_1vu3c_117", Z_ = "_agentName_1vu3c_130", eg = "_emptyState_1vu3c_156", tg = "_createInputRow_1vu3c_168", ng = "_createInput_1vu3c_168", ag = "_createConfirmBtn_1vu3c_188", sg = "_contextMenu_1vu3c_205", lg = "_contextMenuItem_1vu3c_216", og = "_contextMenuItemDanger_1vu3c_231", ig = "_contextMenuDivider_1vu3c_239", rg = "_renameOverlay_1vu3c_246", cg = "_renameDialog_1vu3c_259", dg = "_renameTitle_1vu3c_267", ug = "_renameInput_1vu3c_274", mg = "_renameActions_1vu3c_289", hg = "_renameBtn_1vu3c_295", pg = "_renameBtnPrimary_1vu3c_309", _g = "_agentDetailBtn_1vu3c_326", gg = "_agentItemShared_1vu3c_358", fg = "_agentInfo_1vu3c_362", yg = "_agentOwner_1vu3c_374", vg = "_sharedBadge_1vu3c_382", bg = "_createLocalDialog_1vu3c_430", Ng = "_createLocalLabel_1vu3c_438", kg = "_agentTypeCards_1vu3c_446", Cg = "_agentTypeCard_1vu3c_446", wg = "_agentTypeIcon_1vu3c_474", Sg = "_agentTypeBody_1vu3c_487", Tg = "_agentTypeTitle_1vu3c_494", Ig = "_agentTypeDesc_1vu3c_500", xg = "_agentTypeBadge_1vu3c_506", le = {
7843
- sidebarInner: G_,
7844
- header: z_,
7845
- headerActions: U_,
7846
- tabBar: W_,
7847
- tab: q_,
7848
- tabActive: K_,
7849
- btnSm: V_,
7850
- agentSection: J_,
7851
- agentItem: Y_,
7852
- agentItemActive: Q_,
7853
- agentAvatar: X_,
7854
- agentName: Z_,
7855
- emptyState: eg,
7856
- createInputRow: tg,
7857
- createInput: ng,
7858
- createConfirmBtn: ag,
7859
- contextMenu: sg,
7860
- contextMenuItem: lg,
7861
- contextMenuItemDanger: og,
7862
- contextMenuDivider: ig,
7863
- renameOverlay: rg,
7864
- renameDialog: cg,
7865
- renameTitle: dg,
7866
- renameInput: ug,
7867
- renameActions: mg,
7868
- renameBtn: hg,
7869
- renameBtnPrimary: pg,
7870
- agentDetailBtn: _g,
7871
- agentItemShared: gg,
7872
- agentInfo: fg,
7873
- agentOwner: yg,
7874
- sharedBadge: vg,
7875
- createLocalDialog: bg,
7876
- createLocalLabel: Ng,
7877
- agentTypeCards: kg,
7878
- agentTypeCard: Cg,
7879
- agentTypeIcon: wg,
7880
- agentTypeBody: Sg,
7881
- agentTypeTitle: Tg,
7882
- agentTypeDesc: Ig,
7883
- agentTypeBadge: xg
7827
+ const j_ = "_sidebarInner_1vu3c_1", F_ = "_header_1vu3c_8", G_ = "_headerActions_1vu3c_19", z_ = "_tabBar_1vu3c_26", U_ = "_tab_1vu3c_26", W_ = "_tabActive_1vu3c_50", q_ = "_btnSm_1vu3c_66", K_ = "_agentSection_1vu3c_84", V_ = "_agentItem_1vu3c_90", J_ = "_agentItemActive_1vu3c_112", Y_ = "_agentAvatar_1vu3c_117", Q_ = "_agentName_1vu3c_130", X_ = "_emptyState_1vu3c_156", Z_ = "_createInputRow_1vu3c_168", eg = "_createInput_1vu3c_168", tg = "_createConfirmBtn_1vu3c_188", ng = "_contextMenu_1vu3c_205", ag = "_contextMenuItem_1vu3c_216", sg = "_contextMenuItemDanger_1vu3c_231", lg = "_contextMenuDivider_1vu3c_239", og = "_renameOverlay_1vu3c_246", ig = "_renameDialog_1vu3c_259", rg = "_renameTitle_1vu3c_267", cg = "_renameInput_1vu3c_274", dg = "_renameActions_1vu3c_289", ug = "_renameBtn_1vu3c_295", mg = "_renameBtnPrimary_1vu3c_309", hg = "_agentDetailBtn_1vu3c_326", pg = "_agentItemShared_1vu3c_358", _g = "_agentInfo_1vu3c_362", gg = "_agentOwner_1vu3c_374", fg = "_sharedBadge_1vu3c_382", yg = "_createLocalDialog_1vu3c_430", vg = "_createLocalLabel_1vu3c_438", bg = "_agentTypeCards_1vu3c_446", Ng = "_agentTypeCard_1vu3c_446", kg = "_agentTypeIcon_1vu3c_474", Cg = "_agentTypeBody_1vu3c_487", wg = "_agentTypeTitle_1vu3c_494", Sg = "_agentTypeDesc_1vu3c_500", Tg = "_agentTypeBadge_1vu3c_506", le = {
7828
+ sidebarInner: j_,
7829
+ header: F_,
7830
+ headerActions: G_,
7831
+ tabBar: z_,
7832
+ tab: U_,
7833
+ tabActive: W_,
7834
+ btnSm: q_,
7835
+ agentSection: K_,
7836
+ agentItem: V_,
7837
+ agentItemActive: J_,
7838
+ agentAvatar: Y_,
7839
+ agentName: Q_,
7840
+ emptyState: X_,
7841
+ createInputRow: Z_,
7842
+ createInput: eg,
7843
+ createConfirmBtn: tg,
7844
+ contextMenu: ng,
7845
+ contextMenuItem: ag,
7846
+ contextMenuItemDanger: sg,
7847
+ contextMenuDivider: lg,
7848
+ renameOverlay: og,
7849
+ renameDialog: ig,
7850
+ renameTitle: rg,
7851
+ renameInput: cg,
7852
+ renameActions: dg,
7853
+ renameBtn: ug,
7854
+ renameBtnPrimary: mg,
7855
+ agentDetailBtn: hg,
7856
+ agentItemShared: pg,
7857
+ agentInfo: _g,
7858
+ agentOwner: gg,
7859
+ sharedBadge: fg,
7860
+ createLocalDialog: yg,
7861
+ createLocalLabel: vg,
7862
+ agentTypeCards: bg,
7863
+ agentTypeCard: Ng,
7864
+ agentTypeIcon: kg,
7865
+ agentTypeBody: Cg,
7866
+ agentTypeTitle: wg,
7867
+ agentTypeDesc: Sg,
7868
+ agentTypeBadge: Tg
7884
7869
  }, Ea = [
7885
7870
  "#2F70F1",
7886
7871
  "#52c41a",
@@ -7900,7 +7885,7 @@ function Oa(t) {
7900
7885
  return t ? t.charAt(0).toUpperCase() : "?";
7901
7886
  }
7902
7887
  const bn = "-1";
7903
- function Ag({
7888
+ function Ig({
7904
7889
  selectedAgentId: t,
7905
7890
  selectedLocalAgentId: s,
7906
7891
  onSelectAgent: a,
@@ -7942,7 +7927,7 @@ function Ag({
7942
7927
  }
7943
7928
  }, []);
7944
7929
  oe(() => {
7945
- r === "local" && Kn().then((B) => {
7930
+ r === "local" && qn().then((B) => {
7946
7931
  me(B), B && Re();
7947
7932
  });
7948
7933
  }, [r, Re]), oe(() => {
@@ -7978,7 +7963,7 @@ function Ag({
7978
7963
  return;
7979
7964
  }
7980
7965
  if (!q) {
7981
- if (!await Kn()) {
7966
+ if (!await qn()) {
7982
7967
  we.error(
7983
7968
  "本地 Agent 未启动,请通过菜单栏「重启 Agent」启动后再试"
7984
7969
  );
@@ -8499,61 +8484,61 @@ function Ag({
8499
8484
  )
8500
8485
  ] });
8501
8486
  }
8502
- const Bg = "_tabWrap_1hjjv_3", Lg = "_viewHeader_1hjjv_10", Mg = "_viewTitle_1hjjv_17", $g = "_viewSub_1hjjv_22", Rg = "_cardGrid_1hjjv_27", Dg = "_learnCard_1hjjv_33", Eg = "_cardTitleRow_1hjjv_48", Pg = "_cardTitle_1hjjv_48", Og = "_cardDesc_1hjjv_62", Hg = "_cardFooter_1hjjv_73", jg = "_learnLayout_1hjjv_91", Fg = "_materialList_1hjjv_97", Gg = "_materialItem_1hjjv_111", zg = "_materialItemActive_1hjjv_125", Ug = "_materialTitleRow_1hjjv_130", Wg = "_materialTitle_1hjjv_130", qg = "_materialMeta_1hjjv_144", Kg = "_docPanel_1hjjv_152", Vg = "_docContent_1hjjv_163", Jg = "_finishBar_1hjjv_176", Yg = "_pathBoard_1hjjv_187", Qg = "_stageHeader_1hjjv_194", Xg = "_nodeColumn_1hjjv_201", Zg = "_nodeCard_1hjjv_208", ef = "_nodeCardDone_1hjjv_227", tf = "_nodeCardDoing_1hjjv_232", nf = "_nodeCardLocked_1hjjv_237", af = "_nodeLink_1hjjv_243", sf = "_nodeIndex_1hjjv_249", lf = "_nodeIndexDone_1hjjv_262", of = "_nodeIndexDoing_1hjjv_267", rf = "_nodeBody_1hjjv_272", cf = "_nodeTitle_1hjjv_277", df = "_nodeMeta_1hjjv_282", uf = "_mapGrid_1hjjv_288", mf = "_examWrap_1hjjv_295", hf = "_examMetaRow_1hjjv_304", pf = "_questionCard_1hjjv_314", _f = "_questionTitle_1hjjv_322", gf = "_optionRow_1hjjv_329", ff = "_optionRowSelected_1hjjv_344", yf = "_answerBlock_1hjjv_348", vf = "_examResultCard_1hjjv_358", bf = "_examScore_1hjjv_363", Nf = "_gloryGrid_1hjjv_369", j = {
8503
- tabWrap: Bg,
8504
- viewHeader: Lg,
8505
- viewTitle: Mg,
8506
- viewSub: $g,
8507
- cardGrid: Rg,
8508
- learnCard: Dg,
8509
- cardTitleRow: Eg,
8510
- cardTitle: Pg,
8511
- cardDesc: Og,
8512
- cardFooter: Hg,
8513
- learnLayout: jg,
8514
- materialList: Fg,
8515
- materialItem: Gg,
8516
- materialItemActive: zg,
8517
- materialTitleRow: Ug,
8518
- materialTitle: Wg,
8519
- materialMeta: qg,
8520
- docPanel: Kg,
8521
- docContent: Vg,
8522
- finishBar: Jg,
8523
- pathBoard: Yg,
8524
- stageHeader: Qg,
8525
- nodeColumn: Xg,
8526
- nodeCard: Zg,
8527
- nodeCardDone: ef,
8528
- nodeCardDoing: tf,
8529
- nodeCardLocked: nf,
8530
- nodeLink: af,
8531
- nodeIndex: sf,
8532
- nodeIndexDone: lf,
8533
- nodeIndexDoing: of,
8534
- nodeBody: rf,
8535
- nodeTitle: cf,
8536
- nodeMeta: df,
8537
- mapGrid: uf,
8538
- examWrap: mf,
8539
- examMetaRow: hf,
8540
- questionCard: pf,
8541
- questionTitle: _f,
8542
- optionRow: gf,
8543
- optionRowSelected: ff,
8544
- answerBlock: yf,
8545
- examResultCard: vf,
8546
- examScore: bf,
8547
- gloryGrid: Nf
8487
+ const xg = "_tabWrap_1hjjv_3", Ag = "_viewHeader_1hjjv_10", Bg = "_viewTitle_1hjjv_17", Lg = "_viewSub_1hjjv_22", Mg = "_cardGrid_1hjjv_27", $g = "_learnCard_1hjjv_33", Rg = "_cardTitleRow_1hjjv_48", Dg = "_cardTitle_1hjjv_48", Eg = "_cardDesc_1hjjv_62", Pg = "_cardFooter_1hjjv_73", Og = "_learnLayout_1hjjv_91", Hg = "_materialList_1hjjv_97", jg = "_materialItem_1hjjv_111", Fg = "_materialItemActive_1hjjv_125", Gg = "_materialTitleRow_1hjjv_130", zg = "_materialTitle_1hjjv_130", Ug = "_materialMeta_1hjjv_144", Wg = "_docPanel_1hjjv_152", qg = "_docContent_1hjjv_163", Kg = "_finishBar_1hjjv_176", Vg = "_pathBoard_1hjjv_187", Jg = "_stageHeader_1hjjv_194", Yg = "_nodeColumn_1hjjv_201", Qg = "_nodeCard_1hjjv_208", Xg = "_nodeCardDone_1hjjv_227", Zg = "_nodeCardDoing_1hjjv_232", ef = "_nodeCardLocked_1hjjv_237", tf = "_nodeLink_1hjjv_243", nf = "_nodeIndex_1hjjv_249", af = "_nodeIndexDone_1hjjv_262", sf = "_nodeIndexDoing_1hjjv_267", lf = "_nodeBody_1hjjv_272", of = "_nodeTitle_1hjjv_277", rf = "_nodeMeta_1hjjv_282", cf = "_mapGrid_1hjjv_288", df = "_examWrap_1hjjv_295", uf = "_examMetaRow_1hjjv_304", mf = "_questionCard_1hjjv_314", hf = "_questionTitle_1hjjv_322", pf = "_optionRow_1hjjv_329", _f = "_optionRowSelected_1hjjv_344", gf = "_answerBlock_1hjjv_348", ff = "_examResultCard_1hjjv_358", yf = "_examScore_1hjjv_363", vf = "_gloryGrid_1hjjv_369", j = {
8488
+ tabWrap: xg,
8489
+ viewHeader: Ag,
8490
+ viewTitle: Bg,
8491
+ viewSub: Lg,
8492
+ cardGrid: Mg,
8493
+ learnCard: $g,
8494
+ cardTitleRow: Rg,
8495
+ cardTitle: Dg,
8496
+ cardDesc: Eg,
8497
+ cardFooter: Pg,
8498
+ learnLayout: Og,
8499
+ materialList: Hg,
8500
+ materialItem: jg,
8501
+ materialItemActive: Fg,
8502
+ materialTitleRow: Gg,
8503
+ materialTitle: zg,
8504
+ materialMeta: Ug,
8505
+ docPanel: Wg,
8506
+ docContent: qg,
8507
+ finishBar: Kg,
8508
+ pathBoard: Vg,
8509
+ stageHeader: Jg,
8510
+ nodeColumn: Yg,
8511
+ nodeCard: Qg,
8512
+ nodeCardDone: Xg,
8513
+ nodeCardDoing: Zg,
8514
+ nodeCardLocked: ef,
8515
+ nodeLink: tf,
8516
+ nodeIndex: nf,
8517
+ nodeIndexDone: af,
8518
+ nodeIndexDoing: sf,
8519
+ nodeBody: lf,
8520
+ nodeTitle: of,
8521
+ nodeMeta: rf,
8522
+ mapGrid: cf,
8523
+ examWrap: df,
8524
+ examMetaRow: uf,
8525
+ questionCard: mf,
8526
+ questionTitle: hf,
8527
+ optionRow: pf,
8528
+ optionRowSelected: _f,
8529
+ answerBlock: gf,
8530
+ examResultCard: ff,
8531
+ examScore: yf,
8532
+ gloryGrid: vf
8548
8533
  };
8549
- function kf(t) {
8534
+ function bf(t) {
8550
8535
  var l;
8551
8536
  const s = t.match(/videoId:\s*(\d+)/i);
8552
8537
  if (!s) return null;
8553
8538
  const a = t.match(/title:\s*(.+)/i);
8554
8539
  return { videoId: Number(s[1]), title: (l = a == null ? void 0 : a[1]) == null ? void 0 : l.trim() };
8555
8540
  }
8556
- function Cf({
8541
+ function Nf({
8557
8542
  courseId: t,
8558
8543
  onBack: s,
8559
8544
  onOpenExam: a
@@ -8562,7 +8547,7 @@ function Cf({
8562
8547
  {}
8563
8548
  );
8564
8549
  oe(() => {
8565
- Ss(t, l).then((q) => {
8550
+ Ts(t, l).then((q) => {
8566
8551
  const me = {}, w = [...q].sort(
8567
8552
  (N, de) => String(de.submitTime ?? "").localeCompare(String(N.submitTime ?? ""))
8568
8553
  );
@@ -8599,7 +8584,7 @@ function Cf({
8599
8584
  ), $ = async () => {
8600
8585
  O(!0);
8601
8586
  try {
8602
- await Ts(t, null, l), we.success("报名成功"), H();
8587
+ await Is(t, null, l), we.success("报名成功"), H();
8603
8588
  } catch {
8604
8589
  } finally {
8605
8590
  O(!1);
@@ -8665,7 +8650,7 @@ function Cf({
8665
8650
  /* @__PURE__ */ n("div", { className: j.learnLayout, children: [
8666
8651
  /* @__PURE__ */ n("div", { className: j.materialList, children: [
8667
8652
  Y.map((q, me) => /* @__PURE__ */ e(
8668
- wf,
8653
+ kf,
8669
8654
  {
8670
8655
  item: q,
8671
8656
  index: me,
@@ -8731,15 +8716,15 @@ function Cf({
8731
8716
  /* @__PURE__ */ e("div", { className: j.docPanel, children: b ? /* @__PURE__ */ e("div", { style: { textAlign: "center", padding: "60px 0" }, children: /* @__PURE__ */ e(Dt, {}) }) : d ? /* @__PURE__ */ n(Ie, { children: [
8732
8717
  /* @__PURE__ */ e("h2", { style: { marginTop: 0 }, children: d.title }),
8733
8718
  /* @__PURE__ */ e("div", { className: j.docContent, children: /* @__PURE__ */ e(
8734
- Bn,
8719
+ An,
8735
8720
  {
8736
- remarkPlugins: [Ln],
8721
+ remarkPlugins: [Bn],
8737
8722
  components: {
8738
8723
  code({ className: q, children: me, ...w }) {
8739
8724
  return q === "language-video" ? /* @__PURE__ */ e(
8740
- Sf,
8725
+ Cf,
8741
8726
  {
8742
- block: kf(String(me)),
8727
+ block: bf(String(me)),
8743
8728
  videoMap: x
8744
8729
  }
8745
8730
  ) : /* @__PURE__ */ e("code", { className: q, ...w, children: me });
@@ -8749,7 +8734,7 @@ function Cf({
8749
8734
  }
8750
8735
  ) }),
8751
8736
  /* @__PURE__ */ n("div", { className: j.finishBar, children: [
8752
- /* @__PURE__ */ e("div", { children: v != null && v.finished ? /* @__PURE__ */ e(ge, { color: "success", icon: /* @__PURE__ */ e(Wn, {}), children: "本节已完成" }) : /* @__PURE__ */ n("span", { className: j.viewSub, children: [
8737
+ /* @__PURE__ */ e("div", { children: v != null && v.finished ? /* @__PURE__ */ e(ge, { color: "success", icon: /* @__PURE__ */ e(Un, {}), children: "本节已完成" }) : /* @__PURE__ */ n("span", { className: j.viewSub, children: [
8753
8738
  "读完资料后点击右侧按钮记录进度",
8754
8739
  v != null && v.paperId ? "(本节还需通过考试)" : ""
8755
8740
  ] }) }),
@@ -8771,7 +8756,7 @@ function Cf({
8771
8756
  se,
8772
8757
  {
8773
8758
  type: "primary",
8774
- icon: /* @__PURE__ */ e(Wn, {}),
8759
+ icon: /* @__PURE__ */ e(Un, {}),
8775
8760
  loading: ne,
8776
8761
  disabled: !i.enrolled || (v == null ? void 0 : v.read),
8777
8762
  onClick: () => void ue(),
@@ -8790,7 +8775,7 @@ function Cf({
8790
8775
  ] })
8791
8776
  ] });
8792
8777
  }
8793
- function wf({
8778
+ function kf({
8794
8779
  item: t,
8795
8780
  index: s,
8796
8781
  active: a,
@@ -8841,7 +8826,7 @@ function wf({
8841
8826
  }
8842
8827
  );
8843
8828
  }
8844
- function Sf({
8829
+ function Cf({
8845
8830
  block: t,
8846
8831
  videoMap: s
8847
8832
  }) {
@@ -8888,7 +8873,7 @@ const Ws = {
8888
8873
  MULTI: "多选题",
8889
8874
  FREE: "自由题"
8890
8875
  };
8891
- function Tf(t) {
8876
+ function wf(t) {
8892
8877
  if (!t) return [];
8893
8878
  try {
8894
8879
  return JSON.parse(t).filter((a) => a.key != null).map((a) => ({ key: String(a.key), label: a.label ?? "" }));
@@ -8896,11 +8881,11 @@ function Tf(t) {
8896
8881
  return [];
8897
8882
  }
8898
8883
  }
8899
- function If(t) {
8884
+ function Sf(t) {
8900
8885
  const s = Math.floor(t / 60), a = t % 60;
8901
8886
  return `${s}:${String(a).padStart(2, "0")}`;
8902
8887
  }
8903
- function xf({
8888
+ function Tf({
8904
8889
  paperId: t,
8905
8890
  courseId: s,
8906
8891
  materialId: a,
@@ -9013,7 +8998,7 @@ function xf({
9013
8998
  if (r === "result" && I) {
9014
8999
  const y = !l && !i && (!m || m.retryLimit == null || (m.retryCount ?? 0) + 1 < m.retryLimit);
9015
9000
  return /* @__PURE__ */ e(
9016
- Bf,
9001
+ xf,
9017
9002
  {
9018
9003
  record: I,
9019
9004
  onBack: c,
@@ -9049,7 +9034,7 @@ function xf({
9049
9034
  " 分"
9050
9035
  ] }),
9051
9036
  m.durationLimitMin ? /* @__PURE__ */ n("span", { children: [
9052
- /* @__PURE__ */ e(Un, {}),
9037
+ /* @__PURE__ */ e(zn, {}),
9053
9038
  " 限时 ",
9054
9039
  m.durationLimitMin,
9055
9040
  " 分钟"
@@ -9079,15 +9064,15 @@ function xf({
9079
9064
  color: O < 300 ? "#f5222d" : "#333"
9080
9065
  },
9081
9066
  children: [
9082
- /* @__PURE__ */ e(Un, {}),
9067
+ /* @__PURE__ */ e(zn, {}),
9083
9068
  " 剩余 ",
9084
- If(O)
9069
+ Sf(O)
9085
9070
  ]
9086
9071
  }
9087
9072
  )
9088
9073
  ] }),
9089
9074
  ue.map((y, V) => /* @__PURE__ */ e(
9090
- Af,
9075
+ If,
9091
9076
  {
9092
9077
  q: y,
9093
9078
  index: V,
@@ -9115,7 +9100,7 @@ function xf({
9115
9100
  )
9116
9101
  ] });
9117
9102
  }
9118
- function Af({
9103
+ function If({
9119
9104
  q: t,
9120
9105
  index: s,
9121
9106
  value: a,
@@ -9123,7 +9108,7 @@ function Af({
9123
9108
  onToggle: i,
9124
9109
  onWrite: c
9125
9110
  }) {
9126
- const h = t.type === "FREE" ? [] : Tf(t.options);
9111
+ const h = t.type === "FREE" ? [] : wf(t.options);
9127
9112
  return /* @__PURE__ */ n("div", { className: j.questionCard, children: [
9128
9113
  /* @__PURE__ */ n("div", { className: j.questionTitle, children: [
9129
9114
  s + 1,
@@ -9171,7 +9156,7 @@ function Af({
9171
9156
  )
9172
9157
  ] });
9173
9158
  }
9174
- function Bf({
9159
+ function xf({
9175
9160
  record: t,
9176
9161
  onBack: s,
9177
9162
  onRetry: a
@@ -9214,7 +9199,7 @@ function Bf({
9214
9199
  l ? t.passed ? "成绩已最终确认" : "未达到及格线,可返回重考" : "客观题已判分;自由题由 AI 初评并进入人工复核,最终成绩请稍后查看"
9215
9200
  ] })
9216
9201
  ] }),
9217
- (t.answers ?? []).map((c, h) => /* @__PURE__ */ e(Lf, { item: c, index: h }, c.answerId)),
9202
+ (t.answers ?? []).map((c, h) => /* @__PURE__ */ e(Af, { item: c, index: h }, c.answerId)),
9218
9203
  /* @__PURE__ */ n(
9219
9204
  "div",
9220
9205
  {
@@ -9241,7 +9226,7 @@ function Bf({
9241
9226
  )
9242
9227
  ] });
9243
9228
  }
9244
- function Lf({
9229
+ function Af({
9245
9230
  item: t,
9246
9231
  index: s
9247
9232
  }) {
@@ -9283,18 +9268,18 @@ function Lf({
9283
9268
  ] })
9284
9269
  ] });
9285
9270
  }
9286
- const Mf = {
9271
+ const Bf = {
9287
9272
  SEQUENTIAL: "按顺序解锁:完成前一课程后解锁下一门",
9288
9273
  STAGE: "按阶段解锁:完成本阶段全部课程后解锁下一阶段",
9289
9274
  FREE: "全部开放:可自由选择任意课程学习"
9290
9275
  };
9291
- function $f(t) {
9276
+ function Lf(t) {
9292
9277
  return t === "done" ? j.nodeCardDone : t === "doing" ? j.nodeCardDoing : t === "locked" ? j.nodeCardLocked : "";
9293
9278
  }
9294
- function Rf(t) {
9279
+ function Mf(t) {
9295
9280
  return t === "done" ? j.nodeIndexDone : t === "doing" ? j.nodeIndexDoing : "";
9296
9281
  }
9297
- function Df(t) {
9282
+ function $f(t) {
9298
9283
  switch (t.nodeStatus) {
9299
9284
  case "done":
9300
9285
  return "已完成";
@@ -9306,7 +9291,7 @@ function Df(t) {
9306
9291
  return "可开始学习";
9307
9292
  }
9308
9293
  }
9309
- function Ef({
9294
+ function Rf({
9310
9295
  pathId: t,
9311
9296
  onBack: s,
9312
9297
  onOpenCourse: a
@@ -9327,7 +9312,7 @@ function Ef({
9327
9312
  const g = async () => {
9328
9313
  m(!0);
9329
9314
  try {
9330
- await Is(t, l), we.success("已加入路径,开始学习吧"), d();
9315
+ await xs(t, l), we.success("已加入路径,开始学习吧"), d();
9331
9316
  } catch {
9332
9317
  } finally {
9333
9318
  m(!1);
@@ -9380,7 +9365,7 @@ function Ef({
9380
9365
  i.description ? /* @__PURE__ */ e("div", { children: i.description }) : null,
9381
9366
  /* @__PURE__ */ n("div", { children: [
9382
9367
  "解锁规则:",
9383
- Mf[i.unlockRule ?? "SEQUENTIAL"] ?? i.unlockRule,
9368
+ Bf[i.unlockRule ?? "SEQUENTIAL"] ?? i.unlockRule,
9384
9369
  (W = i.rewardNames) != null && W.length ? /* @__PURE__ */ n("span", { style: { marginLeft: 12, color: "#d48806" }, children: [
9385
9370
  /* @__PURE__ */ e(rs, {}),
9386
9371
  " 完成可得:",
@@ -9464,14 +9449,14 @@ function Ha({
9464
9449
  return /* @__PURE__ */ n(
9465
9450
  "div",
9466
9451
  {
9467
- className: `${j.nodeCard} ${$f(l)}`,
9452
+ className: `${j.nodeCard} ${Lf(l)}`,
9468
9453
  onClick: a,
9469
9454
  role: "button",
9470
9455
  children: [
9471
- /* @__PURE__ */ e("div", { className: `${j.nodeIndex} ${Rf(l)}`, children: l === "done" ? /* @__PURE__ */ e(Bl, {}) : l === "locked" ? /* @__PURE__ */ e(wn, {}) : s }),
9456
+ /* @__PURE__ */ e("div", { className: `${j.nodeIndex} ${Mf(l)}`, children: l === "done" ? /* @__PURE__ */ e(Bl, {}) : l === "locked" ? /* @__PURE__ */ e(wn, {}) : s }),
9472
9457
  /* @__PURE__ */ n("div", { className: j.nodeBody, children: [
9473
9458
  /* @__PURE__ */ e("div", { className: j.nodeTitle, children: t.courseTitle }),
9474
- /* @__PURE__ */ e("div", { className: j.nodeMeta, children: Df(t) })
9459
+ /* @__PURE__ */ e("div", { className: j.nodeMeta, children: $f(t) })
9475
9460
  ] }),
9476
9461
  l === "doing" ? /* @__PURE__ */ e(Gt, { style: { color: "#2f70f1", fontSize: 18 } }) : l === "done" ? /* @__PURE__ */ e(ge, { color: "success", children: "完成" }) : l === "locked" ? /* @__PURE__ */ e(wn, { style: { color: "#bbb" } }) : null
9477
9462
  ]
@@ -9493,21 +9478,21 @@ function Ks() {
9493
9478
  s((u) => u[u.length - 1].type === "tabs" ? [...u.slice(0, -1), { type: "tabs", sub: h }, r] : [...u, r]), requestAnimationFrame(() => window.scrollTo(0, 0));
9494
9479
  }, []);
9495
9480
  return a.type === "course-learn" ? /* @__PURE__ */ e("div", { className: j.tabWrap, children: /* @__PURE__ */ e(
9496
- Cf,
9481
+ Nf,
9497
9482
  {
9498
9483
  courseId: a.courseId,
9499
9484
  onBack: i,
9500
9485
  onOpenExam: (h, r, u, m) => l({ type: "exam", paperId: h, courseId: r, materialId: u, recordExamId: m })
9501
9486
  }
9502
9487
  ) }) : a.type === "path-learn" ? /* @__PURE__ */ e("div", { className: j.tabWrap, children: /* @__PURE__ */ e(
9503
- Ef,
9488
+ Rf,
9504
9489
  {
9505
9490
  pathId: a.pathId,
9506
9491
  onBack: i,
9507
9492
  onOpenCourse: (h) => l({ type: "course-learn", courseId: h })
9508
9493
  }
9509
9494
  ) }) : a.type === "exam" ? /* @__PURE__ */ e("div", { className: j.tabWrap, children: /* @__PURE__ */ e(
9510
- xf,
9495
+ Tf,
9511
9496
  {
9512
9497
  paperId: a.paperId,
9513
9498
  courseId: a.courseId ?? null,
@@ -9517,7 +9502,7 @@ function Ks() {
9517
9502
  onBack: i
9518
9503
  }
9519
9504
  ) }) : /* @__PURE__ */ e(
9520
- Of,
9505
+ Ef,
9521
9506
  {
9522
9507
  sub: a.sub,
9523
9508
  onPush: l,
@@ -9525,7 +9510,7 @@ function Ks() {
9525
9510
  }
9526
9511
  );
9527
9512
  }
9528
- const Pf = [
9513
+ const Df = [
9529
9514
  { key: "my-paths", label: "我的路径" },
9530
9515
  { key: "my-courses", label: "我的课程" },
9531
9516
  { key: "my-exams", label: "我的考试" },
@@ -9533,7 +9518,7 @@ const Pf = [
9533
9518
  { key: "path-overview", label: "路径总览" },
9534
9519
  { key: "course-overview", label: "课程总览" }
9535
9520
  ];
9536
- function Of({
9521
+ function Ef({
9537
9522
  sub: t,
9538
9523
  onPush: s,
9539
9524
  onPushExam: a
@@ -9553,7 +9538,7 @@ function Of({
9553
9538
  borderBottom: "1px solid #e5e7eb",
9554
9539
  marginBottom: 16
9555
9540
  },
9556
- children: Pf.map((c) => /* @__PURE__ */ e(
9541
+ children: Df.map((c) => /* @__PURE__ */ e(
9557
9542
  "button",
9558
9543
  {
9559
9544
  type: "button",
@@ -9576,21 +9561,21 @@ function Of({
9576
9561
  }
9577
9562
  ),
9578
9563
  l === "my-paths" && /* @__PURE__ */ e(
9579
- Hf,
9564
+ Pf,
9580
9565
  {
9581
9566
  onOpenPath: (c) => s({ type: "path-learn", pathId: c }),
9582
9567
  onGotoOverview: () => i("path-overview")
9583
9568
  }
9584
9569
  ),
9585
9570
  l === "my-courses" && /* @__PURE__ */ e(
9586
- jf,
9571
+ Of,
9587
9572
  {
9588
9573
  onOpenCourse: (c) => s({ type: "course-learn", courseId: c }),
9589
9574
  onGotoOverview: () => i("course-overview")
9590
9575
  }
9591
9576
  ),
9592
9577
  l === "my-exams" && /* @__PURE__ */ e(
9593
- zf,
9578
+ Ff,
9594
9579
  {
9595
9580
  onOpenExam: (c) => a("my-exams", {
9596
9581
  type: "exam",
@@ -9602,22 +9587,22 @@ function Of({
9602
9587
  })
9603
9588
  }
9604
9589
  ),
9605
- l === "my-glory" && /* @__PURE__ */ e(Ff, {}),
9590
+ l === "my-glory" && /* @__PURE__ */ e(Hf, {}),
9606
9591
  l === "path-overview" && /* @__PURE__ */ e(
9607
- Uf,
9592
+ Gf,
9608
9593
  {
9609
9594
  onOpenPath: (c) => s({ type: "path-learn", pathId: c })
9610
9595
  }
9611
9596
  ),
9612
9597
  l === "course-overview" && /* @__PURE__ */ e(
9613
- Wf,
9598
+ zf,
9614
9599
  {
9615
9600
  onOpenCourse: (c) => s({ type: "course-learn", courseId: c })
9616
9601
  }
9617
9602
  )
9618
9603
  ] });
9619
9604
  }
9620
- function Hf({
9605
+ function Pf({
9621
9606
  onOpenPath: t,
9622
9607
  onGotoOverview: s
9623
9608
  }) {
@@ -9664,7 +9649,7 @@ function Hf({
9664
9649
  ] }, u.pathId);
9665
9650
  }) });
9666
9651
  }
9667
- function jf({
9652
+ function Of({
9668
9653
  onOpenCourse: t,
9669
9654
  onGotoOverview: s
9670
9655
  }) {
@@ -9710,7 +9695,7 @@ function jf({
9710
9695
  ] }, u.courseId);
9711
9696
  }) });
9712
9697
  }
9713
- function Ff() {
9698
+ function Hf() {
9714
9699
  const t = Ye((r) => r.token), [s, a] = o([]), [l, i] = o(!0), c = F(async () => {
9715
9700
  i(!0);
9716
9701
  try {
@@ -9770,18 +9755,18 @@ function Ff() {
9770
9755
  ] })
9771
9756
  ] }, r.id)) });
9772
9757
  }
9773
- const Gf = {
9758
+ const jf = {
9774
9759
  ASSIGNED: { label: "待考", color: "warning" },
9775
9760
  SUBMITTED: { label: "批改中", color: "processing" },
9776
9761
  GRADED: { label: "已出分", color: "success" }
9777
9762
  };
9778
- function zf({
9763
+ function Ff({
9779
9764
  onOpenExam: t
9780
9765
  }) {
9781
9766
  const s = Ye((u) => u.token), [a, l] = o([]), [i, c] = o(!0), h = F(async () => {
9782
9767
  c(!0);
9783
9768
  try {
9784
- l(await Ss(null, s));
9769
+ l(await Ts(null, s));
9785
9770
  } catch {
9786
9771
  } finally {
9787
9772
  c(!1);
@@ -9825,13 +9810,13 @@ function zf({
9825
9810
  }
9826
9811
  ),
9827
9812
  /* @__PURE__ */ e("div", { className: j.cardGrid, children: a.map((u) => {
9828
- const m = u.status === "GRADED", d = Gf[u.status ?? ""] ?? {
9813
+ const m = u.status === "GRADED", d = jf[u.status ?? ""] ?? {
9829
9814
  label: u.status ?? "-",
9830
9815
  color: "default"
9831
9816
  }, g = u.status === "ASSIGNED" ? "等待作答" : m ? `${(u.gradeTime ?? u.submitTime ?? "").replace("T", " ").slice(0, 16)} 出分` : `${(u.submitTime ?? "").replace("T", " ").slice(0, 16)} 交卷`;
9832
9817
  return /* @__PURE__ */ n("div", { className: j.learnCard, children: [
9833
9818
  /* @__PURE__ */ n("div", { className: j.cardTitleRow, children: [
9834
- /* @__PURE__ */ e(Wn, { style: { color: "#2F70F1" } }),
9819
+ /* @__PURE__ */ e(Un, { style: { color: "#2F70F1" } }),
9835
9820
  /* @__PURE__ */ e("span", { className: j.cardTitle, children: u.paperTitle ?? `试卷 #${u.paperId ?? "-"}` }),
9836
9821
  m ? u.passed == null ? /* @__PURE__ */ e(ge, { color: "success", children: "已出分" }) : u.passed ? /* @__PURE__ */ e(ge, { color: "success", icon: /* @__PURE__ */ e(Jt, {}), children: "已通过" }) : /* @__PURE__ */ e(ge, { color: "error", children: "未通过" }) : /* @__PURE__ */ e(ge, { color: d.color, children: d.label })
9837
9822
  ] }),
@@ -9867,7 +9852,7 @@ function zf({
9867
9852
  }) })
9868
9853
  ] });
9869
9854
  }
9870
- function Uf({
9855
+ function Gf({
9871
9856
  onOpenPath: t
9872
9857
  }) {
9873
9858
  const s = Ye((d) => d.token), [a, l] = o([]), [i, c] = o(!0), [h, r] = o(null), u = F(async () => {
@@ -9887,7 +9872,7 @@ function Uf({
9887
9872
  const m = async (d) => {
9888
9873
  r(d);
9889
9874
  try {
9890
- await Is(d, s), we.success("已加入路径,开始学习吧"), t(d);
9875
+ await xs(d, s), we.success("已加入路径,开始学习吧"), t(d);
9891
9876
  } catch {
9892
9877
  } finally {
9893
9878
  r(null);
@@ -9956,7 +9941,7 @@ function Uf({
9956
9941
  }) })
9957
9942
  ] });
9958
9943
  }
9959
- function Wf({
9944
+ function zf({
9960
9945
  onOpenCourse: t
9961
9946
  }) {
9962
9947
  const s = Ye((d) => d.token), [a, l] = o([]), [i, c] = o(!0), [h, r] = o(null), u = F(async () => {
@@ -9976,7 +9961,7 @@ function Wf({
9976
9961
  const m = async (d) => {
9977
9962
  r(d);
9978
9963
  try {
9979
- await Ts(d, null, s), we.success("报名成功,开始学习"), t(d);
9964
+ await Is(d, null, s), we.success("报名成功,开始学习"), t(d);
9980
9965
  } catch {
9981
9966
  } finally {
9982
9967
  r(null);
@@ -10057,31 +10042,31 @@ function Vs({ text: t, onGo: s }) {
10057
10042
  }
10058
10043
  );
10059
10044
  }
10060
- const qf = "_root_s8ypb_1", Kf = "_section_s8ypb_13", Vf = "_sectionHeader_s8ypb_23", Jf = "_sectionIcon_s8ypb_31", Yf = "_sectionTitle_s8ypb_36", Qf = "_sectionDesc_s8ypb_42", Xf = "_cardGrid_s8ypb_49", Zf = "_card_s8ypb_49", ey = "_cardHead_s8ypb_71", ty = "_cardName_s8ypb_78", ny = "_cardMeta_s8ypb_88", ay = "_cardFoot_s8ypb_96", sy = "_instanceList_s8ypb_107", ly = "_instanceRow_s8ypb_113", oy = "_instanceInfo_s8ypb_124", iy = "_instanceName_s8ypb_132", ry = "_instancePath_s8ypb_143", cy = "_instanceOps_s8ypb_153", dy = "_empty_s8ypb_161", uy = "_loadingWrap_s8ypb_165", my = "_formRow_s8ypb_172", hy = "_formLabel_s8ypb_179", Me = {
10061
- root: qf,
10062
- section: Kf,
10063
- sectionHeader: Vf,
10064
- sectionIcon: Jf,
10065
- sectionTitle: Yf,
10066
- sectionDesc: Qf,
10067
- cardGrid: Xf,
10068
- card: Zf,
10069
- cardHead: ey,
10070
- cardName: ty,
10071
- cardMeta: ny,
10072
- cardFoot: ay,
10073
- instanceList: sy,
10074
- instanceRow: ly,
10075
- instanceInfo: oy,
10076
- instanceName: iy,
10077
- instancePath: ry,
10078
- instanceOps: cy,
10079
- empty: dy,
10080
- loadingWrap: uy,
10081
- formRow: my,
10082
- formLabel: hy
10045
+ const Uf = "_root_s8ypb_1", Wf = "_section_s8ypb_13", qf = "_sectionHeader_s8ypb_23", Kf = "_sectionIcon_s8ypb_31", Vf = "_sectionTitle_s8ypb_36", Jf = "_sectionDesc_s8ypb_42", Yf = "_cardGrid_s8ypb_49", Qf = "_card_s8ypb_49", Xf = "_cardHead_s8ypb_71", Zf = "_cardName_s8ypb_78", ey = "_cardMeta_s8ypb_88", ty = "_cardFoot_s8ypb_96", ny = "_instanceList_s8ypb_107", ay = "_instanceRow_s8ypb_113", sy = "_instanceInfo_s8ypb_124", ly = "_instanceName_s8ypb_132", oy = "_instancePath_s8ypb_143", iy = "_instanceOps_s8ypb_153", ry = "_empty_s8ypb_161", cy = "_loadingWrap_s8ypb_165", dy = "_formRow_s8ypb_172", uy = "_formLabel_s8ypb_179", Me = {
10046
+ root: Uf,
10047
+ section: Wf,
10048
+ sectionHeader: qf,
10049
+ sectionIcon: Kf,
10050
+ sectionTitle: Vf,
10051
+ sectionDesc: Jf,
10052
+ cardGrid: Yf,
10053
+ card: Qf,
10054
+ cardHead: Xf,
10055
+ cardName: Zf,
10056
+ cardMeta: ey,
10057
+ cardFoot: ty,
10058
+ instanceList: ny,
10059
+ instanceRow: ay,
10060
+ instanceInfo: sy,
10061
+ instanceName: ly,
10062
+ instancePath: oy,
10063
+ instanceOps: iy,
10064
+ empty: ry,
10065
+ loadingWrap: cy,
10066
+ formRow: dy,
10067
+ formLabel: uy
10083
10068
  }, Js = (t) => `ft_webide_spaces_${t ?? "guest"}`;
10084
- function py(t) {
10069
+ function my(t) {
10085
10070
  try {
10086
10071
  const s = localStorage.getItem(Js(t));
10087
10072
  if (!s) return [];
@@ -10097,7 +10082,7 @@ function ja(t, s) {
10097
10082
  } catch {
10098
10083
  }
10099
10084
  }
10100
- const jn = {
10085
+ const Hn = {
10101
10086
  name: "",
10102
10087
  type: "git",
10103
10088
  giturl: "",
@@ -10106,9 +10091,9 @@ const jn = {
10106
10091
  path: ""
10107
10092
  };
10108
10093
  function Ys() {
10109
- const t = Ye((k) => k.currentUser), s = t == null ? void 0 : t.id, [a, l] = o([]), [i, c] = o([]), [h, r] = o(!1), [u, m] = o(!1), [d, g] = o(jn), [b, M] = o(!1), [x, I] = o(null);
10094
+ const t = Ye((k) => k.currentUser), s = t == null ? void 0 : t.id, [a, l] = o([]), [i, c] = o([]), [h, r] = o(!1), [u, m] = o(!1), [d, g] = o(Hn), [b, M] = o(!1), [x, I] = o(null);
10110
10095
  oe(() => {
10111
- l(py(s));
10096
+ l(my(s));
10112
10097
  }, [s]);
10113
10098
  const D = F(async () => {
10114
10099
  r(!0);
@@ -10158,7 +10143,7 @@ function Ys() {
10158
10143
  path: d.type === "shared" ? d.path.trim() : void 0,
10159
10144
  createdAt: Date.now()
10160
10145
  }, v = [k, ...a];
10161
- l(v), ja(s, v), g(jn), M(!1), m(!1), O(k), setTimeout(D, 1500);
10146
+ l(v), ja(s, v), g(Hn), M(!1), m(!1), O(k), setTimeout(D, 1500);
10162
10147
  }, [d, a, s, O, D]), W = F(
10163
10148
  (k) => {
10164
10149
  jt.confirm({
@@ -10299,7 +10284,7 @@ function Ys() {
10299
10284
  {
10300
10285
  className: Me.instanceName,
10301
10286
  title: k.name || k.workspaceDir,
10302
- children: k.name || _y(k.workspaceDir) || `实例 #${k.id}`
10287
+ children: k.name || hy(k.workspaceDir) || `实例 #${k.id}`
10303
10288
  }
10304
10289
  ),
10305
10290
  /* @__PURE__ */ e(ge, { color: k.status === 1 ? "green" : "default", children: k.status === 1 ? "运行中" : "已停止" }),
@@ -10357,7 +10342,7 @@ function Ys() {
10357
10342
  open: u,
10358
10343
  onOk: ae,
10359
10344
  onCancel: () => {
10360
- g(jn), m(!1);
10345
+ g(Hn), m(!1);
10361
10346
  },
10362
10347
  confirmLoading: b,
10363
10348
  okText: "创建并打开",
@@ -10446,37 +10431,37 @@ function Fa(t) {
10446
10431
  }
10447
10432
  return t.path || "—";
10448
10433
  }
10449
- function _y(t) {
10434
+ function hy(t) {
10450
10435
  if (!t) return "";
10451
10436
  const s = t.replace(/\/+$/, ""), a = s.lastIndexOf("/");
10452
10437
  return a >= 0 ? s.substring(a + 1) : s;
10453
10438
  }
10454
- const gy = "_shell_1w53k_2", fy = "_inset_1w53k_33", yy = "_main_1w53k_40", vy = "_pane_1w53k_52", by = "_skipLink_1w53k_62", Ny = "_personalMainArea_1w53k_82", ky = "_personalSidebar_1w53k_90", Cy = "_personalChatArea_1w53k_103", Ut = {
10455
- shell: gy,
10456
- inset: fy,
10457
- main: yy,
10458
- pane: vy,
10459
- skipLink: by,
10460
- personalMainArea: Ny,
10461
- personalSidebar: ky,
10462
- personalChatArea: Cy
10463
- }, wy = "_sidebar_y5tuo_1", Sy = "_collapsed_y5tuo_12", Ty = "_sideHeader_y5tuo_17", Iy = "_sideHeaderIcon_y5tuo_32", xy = "_sideHeaderTitle_y5tuo_45", Ay = "_sideContent_y5tuo_54", By = "_groupLabel_y5tuo_61", Ly = "_navList_y5tuo_71", My = "_navItem_y5tuo_77", $y = "_navItemActive_y5tuo_109", Ry = "_navIcon_y5tuo_114", Dy = "_navLabel_y5tuo_120", Ey = "_sideFooter_y5tuo_131", Py = "_footHint_y5tuo_138", ut = {
10464
- sidebar: wy,
10465
- collapsed: Sy,
10466
- sideHeader: Ty,
10467
- sideHeaderIcon: Iy,
10468
- sideHeaderTitle: xy,
10469
- sideContent: Ay,
10470
- groupLabel: By,
10471
- navList: Ly,
10472
- navItem: My,
10473
- navItemActive: $y,
10474
- navIcon: Ry,
10475
- navLabel: Dy,
10476
- sideFooter: Ey,
10477
- footHint: Py
10439
+ const py = "_shell_1w53k_2", _y = "_inset_1w53k_33", gy = "_main_1w53k_40", fy = "_pane_1w53k_52", yy = "_skipLink_1w53k_62", vy = "_personalMainArea_1w53k_82", by = "_personalSidebar_1w53k_90", Ny = "_personalChatArea_1w53k_103", Ut = {
10440
+ shell: py,
10441
+ inset: _y,
10442
+ main: gy,
10443
+ pane: fy,
10444
+ skipLink: yy,
10445
+ personalMainArea: vy,
10446
+ personalSidebar: by,
10447
+ personalChatArea: Ny
10448
+ }, ky = "_sidebar_y5tuo_1", Cy = "_collapsed_y5tuo_12", wy = "_sideHeader_y5tuo_17", Sy = "_sideHeaderIcon_y5tuo_32", Ty = "_sideHeaderTitle_y5tuo_45", Iy = "_sideContent_y5tuo_54", xy = "_groupLabel_y5tuo_61", Ay = "_navList_y5tuo_71", By = "_navItem_y5tuo_77", Ly = "_navItemActive_y5tuo_109", My = "_navIcon_y5tuo_114", $y = "_navLabel_y5tuo_120", Ry = "_sideFooter_y5tuo_131", Dy = "_footHint_y5tuo_138", ut = {
10449
+ sidebar: ky,
10450
+ collapsed: Cy,
10451
+ sideHeader: wy,
10452
+ sideHeaderIcon: Sy,
10453
+ sideHeaderTitle: Ty,
10454
+ sideContent: Iy,
10455
+ groupLabel: xy,
10456
+ navList: Ay,
10457
+ navItem: By,
10458
+ navItemActive: Ly,
10459
+ navIcon: My,
10460
+ navLabel: $y,
10461
+ sideFooter: Ry,
10462
+ footHint: Dy
10478
10463
  };
10479
- function Oy({
10464
+ function Ey({
10480
10465
  items: t,
10481
10466
  activeTab: s,
10482
10467
  collapsed: a,
@@ -10537,17 +10522,17 @@ function Oy({
10537
10522
  }
10538
10523
  );
10539
10524
  }
10540
- const Hy = "_topbar_ms4b7_1", jy = "_topbarLeft_ms4b7_14", Fy = "_collapseBtn_ms4b7_22", Gy = "_crumbs_ms4b7_49", zy = "_crumbsRoot_ms4b7_57", Uy = "_crumbsSep_ms4b7_62", Wy = "_crumbsCurrent_ms4b7_68", qy = "_topbarRight_ms4b7_76", Wt = {
10541
- topbar: Hy,
10542
- topbarLeft: jy,
10543
- collapseBtn: Fy,
10544
- crumbs: Gy,
10545
- crumbsRoot: zy,
10546
- crumbsSep: Uy,
10547
- crumbsCurrent: Wy,
10548
- topbarRight: qy
10525
+ const Py = "_topbar_ms4b7_1", Oy = "_topbarLeft_ms4b7_14", Hy = "_collapseBtn_ms4b7_22", jy = "_crumbs_ms4b7_49", Fy = "_crumbsRoot_ms4b7_57", Gy = "_crumbsSep_ms4b7_62", zy = "_crumbsCurrent_ms4b7_68", Uy = "_topbarRight_ms4b7_76", Wt = {
10526
+ topbar: Py,
10527
+ topbarLeft: Oy,
10528
+ collapseBtn: Hy,
10529
+ crumbs: jy,
10530
+ crumbsRoot: Fy,
10531
+ crumbsSep: Gy,
10532
+ crumbsCurrent: zy,
10533
+ topbarRight: Uy
10549
10534
  };
10550
- function Ky({
10535
+ function Wy({
10551
10536
  label: t,
10552
10537
  collapsed: s,
10553
10538
  onToggleCollapse: a
@@ -10590,7 +10575,7 @@ const Qs = [
10590
10575
  { key: "websites", label: "常用网站", icon: /* @__PURE__ */ e(Sn, {}) },
10591
10576
  { key: "smart-partner", label: "智能伙伴", icon: /* @__PURE__ */ e(ta, {}) },
10592
10577
  { key: "todo", label: "工作待办", icon: /* @__PURE__ */ e(ms, {}) },
10593
- { key: "notes", label: "个人笔记", icon: /* @__PURE__ */ e(An, {}) },
10578
+ { key: "notes", label: "个人笔记", icon: /* @__PURE__ */ e(xn, {}) },
10594
10579
  {
10595
10580
  key: "training",
10596
10581
  label: "培训中心",
@@ -10600,18 +10585,18 @@ const Qs = [
10600
10585
  },
10601
10586
  { key: "webide", label: "WebIDE", icon: /* @__PURE__ */ e(ps, {}) }
10602
10587
  ], Xs = "ft_pw_sidebar_collapsed";
10603
- function Vy() {
10588
+ function qy() {
10604
10589
  try {
10605
10590
  return localStorage.getItem(Xs) === "1";
10606
10591
  } catch {
10607
10592
  return !1;
10608
10593
  }
10609
10594
  }
10610
- function Jy(t) {
10595
+ function Ky(t) {
10611
10596
  const s = t;
10612
10597
  return s ? s.tagName === "INPUT" || s.tagName === "TEXTAREA" || s.isContentEditable === !0 : !1;
10613
10598
  }
10614
- function Yy() {
10599
+ function Vy() {
10615
10600
  try {
10616
10601
  const t = new URLSearchParams(window.location.search).get("tab");
10617
10602
  return t && Qs.some((s) => s.key === t) ? t : null;
@@ -10619,7 +10604,7 @@ function Yy() {
10619
10604
  return null;
10620
10605
  }
10621
10606
  }
10622
- function Qy({
10607
+ function Jy({
10623
10608
  onOpenProject: t,
10624
10609
  openTodoId: s,
10625
10610
  selectedPersonalAgent: a,
@@ -10633,7 +10618,7 @@ function Qy({
10633
10618
  var v;
10634
10619
  const [m, d] = o(
10635
10620
  // 惰性初始化:命中深链时直接以目标 Tab 首屏渲染,不先渲染场景工作台再切
10636
- () => Yy() ?? "workbench"
10621
+ () => Vy() ?? "workbench"
10637
10622
  );
10638
10623
  oe(() => {
10639
10624
  try {
@@ -10643,7 +10628,7 @@ function Qy({
10643
10628
  } catch {
10644
10629
  }
10645
10630
  }, []);
10646
- const [g, b] = o(Vy);
10631
+ const [g, b] = o(qy);
10647
10632
  oe(() => {
10648
10633
  try {
10649
10634
  localStorage.setItem(Xs, g ? "1" : "0");
@@ -10655,17 +10640,17 @@ function Qy({
10655
10640
  }, []);
10656
10641
  oe(() => {
10657
10642
  function $(ue) {
10658
- !(ue.metaKey || ue.ctrlKey) || ue.altKey || ue.key.toLowerCase() === "b" && (Jy(ue.target) || (ue.preventDefault(), M()));
10643
+ !(ue.metaKey || ue.ctrlKey) || ue.altKey || ue.key.toLowerCase() === "b" && (Ky(ue.target) || (ue.preventDefault(), M()));
10659
10644
  }
10660
10645
  return window.addEventListener("keydown", $), () => window.removeEventListener("keydown", $);
10661
10646
  }, [M]);
10662
10647
  const x = Ye(($) => $.currentUser), I = Qs.filter(
10663
- ($) => !$.permission || Tn(x, $.permission)
10648
+ ($) => !$.permission || Kn(x, $.permission)
10664
10649
  ), D = Le(() => u ? [
10665
10650
  { mode: "admin", label: "运营工作台", icon: /* @__PURE__ */ e(ss, {}) },
10666
10651
  { mode: "collaboration", label: "协作工作台", icon: /* @__PURE__ */ e(El, {}) }
10667
10652
  ].filter(
10668
- (ue) => xs(x, ue.mode)
10653
+ (ue) => ws(x, ue.mode)
10669
10654
  ) : [], [x, u]), O = ((v = I.find(($) => $.key === m)) == null ? void 0 : v.label) ?? "个人工作台", [ne, ae] = o(null), [W, A] = o(null), H = F(($) => {
10670
10655
  d($);
10671
10656
  }, []), Y = F(($) => {
@@ -10678,7 +10663,7 @@ function Qy({
10678
10663
  }, [s == null ? void 0 : s.id, s == null ? void 0 : s.ts]), /* @__PURE__ */ n("div", { className: Ut.shell, children: [
10679
10664
  /* @__PURE__ */ e("a", { className: Ut.skipLink, href: "#pw-content", children: "跳到个人工作台内容" }),
10680
10665
  /* @__PURE__ */ e(
10681
- Oy,
10666
+ Ey,
10682
10667
  {
10683
10668
  items: I,
10684
10669
  activeTab: m,
@@ -10690,7 +10675,7 @@ function Qy({
10690
10675
  ),
10691
10676
  /* @__PURE__ */ n("div", { className: Ut.inset, children: [
10692
10677
  /* @__PURE__ */ e(
10693
- Ky,
10678
+ Wy,
10694
10679
  {
10695
10680
  label: O,
10696
10681
  collapsed: g,
@@ -10715,8 +10700,8 @@ function Qy({
10715
10700
  }
10716
10701
  ),
10717
10702
  m === "business-stats" && /* @__PURE__ */ e(Qa, { source: "scenario" }),
10718
- m === "tools" && /* @__PURE__ */ e(xn, { showTools: !0, showWebsites: !1 }),
10719
- m === "websites" && /* @__PURE__ */ e(xn, { showTools: !1, showWebsites: !0 }),
10703
+ m === "tools" && /* @__PURE__ */ e(In, { showTools: !0, showWebsites: !1 }),
10704
+ m === "websites" && /* @__PURE__ */ e(In, { showTools: !1, showWebsites: !0 }),
10720
10705
  m === "todo" && /* @__PURE__ */ e(
10721
10706
  Xa,
10722
10707
  {
@@ -10737,7 +10722,7 @@ function Qy({
10737
10722
  m === "webide" && /* @__PURE__ */ e(Ys, {}),
10738
10723
  m === "smart-partner" && /* @__PURE__ */ n("div", { className: Ut.personalMainArea, children: [
10739
10724
  /* @__PURE__ */ e("div", { className: Ut.personalSidebar, children: /* @__PURE__ */ e(
10740
- Ag,
10725
+ Ig,
10741
10726
  {
10742
10727
  selectedAgentId: (a == null ? void 0 : a.id) ?? null,
10743
10728
  selectedLocalAgentId: (a == null ? void 0 : a.localAgentId) ?? null,
@@ -10772,122 +10757,122 @@ function Qy({
10772
10757
  ] })
10773
10758
  ] });
10774
10759
  }
10775
- const Xy = "_host_11m4k_1", Zy = "_header_11m4k_11", e1 = "_title_11m4k_18", t1 = "_subtitle_11m4k_25", n1 = "_searchWrap_11m4k_31", a1 = "_searchIcon_11m4k_47", s1 = "_searchInput_11m4k_52", l1 = "_dimBar_11m4k_66", o1 = "_dimBarLabel_11m4k_73", i1 = "_dimChip_11m4k_78", r1 = "_dimChipActive_11m4k_96", c1 = "_dimOrder_11m4k_102", d1 = "_dimReset_11m4k_115", u1 = "_dimSummary_11m4k_128", m1 = "_listHost_11m4k_135", h1 = "_groupHeader_11m4k_141", p1 = "_groupCaret_11m4k_158", _1 = "_groupCaretOpen_11m4k_165", g1 = "_groupLabel_11m4k_169", f1 = "_groupCount_11m4k_175", y1 = "_rowWrap_11m4k_183", v1 = "_row_11m4k_183", b1 = "_agentDot_11m4k_212", N1 = "_rowTitle_11m4k_225", k1 = "_spacePill_11m4k_235", C1 = "_rowAgent_11m4k_251", w1 = "_rowTime_11m4k_265", S1 = "_rowActions_11m4k_273", T1 = "_rowActionBtn_11m4k_281", I1 = "_rowActionBtnActive_11m4k_297", x1 = "_rowUpdating_11m4k_310", A1 = "_menuMask_11m4k_315", B1 = "_empty_11m4k_322", L1 = "_emptySpinner_11m4k_332", M1 = "_emptyTitle_11m4k_336", De = {
10776
- host: Xy,
10777
- header: Zy,
10778
- title: e1,
10779
- subtitle: t1,
10780
- searchWrap: n1,
10781
- searchIcon: a1,
10782
- searchInput: s1,
10783
- dimBar: l1,
10784
- dimBarLabel: o1,
10785
- dimChip: i1,
10786
- dimChipActive: r1,
10787
- dimOrder: c1,
10788
- dimReset: d1,
10789
- dimSummary: u1,
10790
- listHost: m1,
10791
- groupHeader: h1,
10792
- groupCaret: p1,
10793
- groupCaretOpen: _1,
10794
- groupLabel: g1,
10795
- groupCount: f1,
10796
- rowWrap: y1,
10797
- row: v1,
10798
- agentDot: b1,
10799
- rowTitle: N1,
10800
- spacePill: k1,
10801
- rowAgent: C1,
10802
- rowTime: w1,
10803
- rowActions: S1,
10804
- rowActionBtn: T1,
10805
- rowActionBtnActive: I1,
10806
- rowUpdating: x1,
10807
- menuMask: A1,
10808
- empty: B1,
10809
- emptySpinner: L1,
10810
- emptyTitle: M1
10811
- }, $1 = "_shell_rj83b_3", R1 = "_sidebar_rj83b_28", D1 = "_sideContent_rj83b_38", E1 = "_newTaskBtn_rj83b_49", P1 = "_sideNav_rj83b_80", O1 = "_moreGear_rj83b_87", H1 = "_moreFlyout_rj83b_113", j1 = "_moreFlyoutItem_rj83b_127", F1 = "_moreFlyoutIcon_rj83b_152", G1 = "_moreFlyoutDivider_rj83b_159", z1 = "_sideTasks_rj83b_166", U1 = "_segToggle_rj83b_175", W1 = "_segBtn_rj83b_185", q1 = "_segBtnActive_rj83b_208", K1 = "_tasksLabel_rj83b_215", V1 = "_projFolder_rj83b_223", J1 = "_projCaret_rj83b_249", Y1 = "_projCaretOpen_rj83b_257", Q1 = "_projIcon_rj83b_261", X1 = "_projName_rj83b_267", Z1 = "_projMeta_rj83b_276", ev = "_projRows_rj83b_282", tv = "_tasksEmpty_rj83b_291", nv = "_recentItem_rj83b_297", av = "_recentItemActive_rj83b_328", sv = "_recentItemText_rj83b_334", lv = "_agentDot_rj83b_341", ov = "_navItem_rj83b_354", iv = "_navItemActive_rj83b_385", rv = "_navIcon_rj83b_390", cv = "_sideFooter_rj83b_396", dv = "_agentMenu_rj83b_406", uv = "_settingsMenu_rj83b_407", mv = "_accountHeader_rj83b_415", hv = "_accountAvatar_rj83b_424", pv = "_accountName_rj83b_437", _v = "_accountItemDisabled_rj83b_447", gv = "_menuDivider_rj83b_457", fv = "_footerCard_rj83b_464", yv = "_footerAvatar_rj83b_471", vv = "_footerMeta_rj83b_484", bv = "_footerName_rj83b_492", Nv = "_footerSub_rj83b_501", kv = "_footerGear_rj83b_509", Cv = "_main_rj83b_530", wv = "_chatHost_rj83b_539", Sv = "_detailHost_rj83b_544", Tv = "_personalTabHost_rj83b_550", Iv = "_landing_rj83b_560", xv = "_landingInner_rj83b_570", Av = "_landingTitle_rj83b_578", Bv = "_landingSub_rj83b_586", Lv = "_landingBox_rj83b_592", Mv = "_landingInput_rj83b_608", $v = "_landingBoxBar_rj83b_624", Rv = "_agentChipWrap_rj83b_631", Dv = "_agentChip_rj83b_631", Ev = "_chipCaret_rj83b_656", Pv = "_agentChipEmpty_rj83b_661", Ov = "_agentMenuMask_rj83b_666", Hv = "_agentMenuItem_rj83b_690", jv = "_agentMenuItemActive_rj83b_711", Fv = "_landingSend_rj83b_716", Gv = "_chipRow_rj83b_741", zv = "_suggestChip_rj83b_748", Uv = "_emptyState_rj83b_768", Wv = "_emptyTitle_rj83b_780", qv = "_newTaskWrap_rj83b_799", Kv = "_dropDownMenu_rj83b_803", Vv = "_spaceMenu_rj83b_808", Jv = "_spaceIcon_rj83b_813", Yv = "_spaceName_rj83b_823", Qv = "_spaceEmpty_rj83b_829", Xv = "_spaceMenuRight_rj83b_835", Zv = "_mascot_rj83b_841", eb = "_contextRow_rj83b_860", tb = "_contextChip_rj83b_867", nb = "_capChip_rj83b_886", ab = "_capChipIcon_rj83b_909", C = {
10812
- shell: $1,
10813
- sidebar: R1,
10814
- sideContent: D1,
10815
- newTaskBtn: E1,
10816
- sideNav: P1,
10817
- moreGear: O1,
10818
- moreFlyout: H1,
10819
- moreFlyoutItem: j1,
10820
- moreFlyoutIcon: F1,
10821
- moreFlyoutDivider: G1,
10822
- sideTasks: z1,
10823
- segToggle: U1,
10824
- segBtn: W1,
10825
- segBtnActive: q1,
10826
- tasksLabel: K1,
10827
- projFolder: V1,
10828
- projCaret: J1,
10829
- projCaretOpen: Y1,
10830
- projIcon: Q1,
10831
- projName: X1,
10832
- projMeta: Z1,
10833
- projRows: ev,
10834
- tasksEmpty: tv,
10835
- recentItem: nv,
10836
- recentItemActive: av,
10837
- recentItemText: sv,
10838
- agentDot: lv,
10839
- navItem: ov,
10840
- navItemActive: iv,
10841
- navIcon: rv,
10842
- sideFooter: cv,
10843
- agentMenu: dv,
10844
- settingsMenu: uv,
10845
- accountHeader: mv,
10846
- accountAvatar: hv,
10847
- accountName: pv,
10848
- accountItemDisabled: _v,
10849
- menuDivider: gv,
10850
- footerCard: fv,
10851
- footerAvatar: yv,
10852
- footerMeta: vv,
10853
- footerName: bv,
10854
- footerSub: Nv,
10855
- footerGear: kv,
10856
- main: Cv,
10857
- chatHost: wv,
10858
- detailHost: Sv,
10859
- personalTabHost: Tv,
10860
- landing: Iv,
10861
- landingInner: xv,
10862
- landingTitle: Av,
10863
- landingSub: Bv,
10864
- landingBox: Lv,
10865
- landingInput: Mv,
10866
- landingBoxBar: $v,
10867
- agentChipWrap: Rv,
10868
- agentChip: Dv,
10869
- chipCaret: Ev,
10870
- agentChipEmpty: Pv,
10871
- agentMenuMask: Ov,
10872
- agentMenuItem: Hv,
10873
- agentMenuItemActive: jv,
10874
- landingSend: Fv,
10875
- chipRow: Gv,
10876
- suggestChip: zv,
10877
- emptyState: Uv,
10878
- emptyTitle: Wv,
10879
- newTaskWrap: qv,
10880
- dropDownMenu: Kv,
10881
- spaceMenu: Vv,
10882
- spaceIcon: Jv,
10883
- spaceName: Yv,
10884
- spaceEmpty: Qv,
10885
- spaceMenuRight: Xv,
10886
- mascot: Zv,
10887
- contextRow: eb,
10888
- contextChip: tb,
10889
- capChip: nb,
10890
- capChipIcon: ab
10760
+ const Yy = "_host_11m4k_1", Qy = "_header_11m4k_11", Xy = "_title_11m4k_18", Zy = "_subtitle_11m4k_25", e1 = "_searchWrap_11m4k_31", t1 = "_searchIcon_11m4k_47", n1 = "_searchInput_11m4k_52", a1 = "_dimBar_11m4k_66", s1 = "_dimBarLabel_11m4k_73", l1 = "_dimChip_11m4k_78", o1 = "_dimChipActive_11m4k_96", i1 = "_dimOrder_11m4k_102", r1 = "_dimReset_11m4k_115", c1 = "_dimSummary_11m4k_128", d1 = "_listHost_11m4k_135", u1 = "_groupHeader_11m4k_141", m1 = "_groupCaret_11m4k_158", h1 = "_groupCaretOpen_11m4k_165", p1 = "_groupLabel_11m4k_169", _1 = "_groupCount_11m4k_175", g1 = "_rowWrap_11m4k_183", f1 = "_row_11m4k_183", y1 = "_agentDot_11m4k_212", v1 = "_rowTitle_11m4k_225", b1 = "_spacePill_11m4k_235", N1 = "_rowAgent_11m4k_251", k1 = "_rowTime_11m4k_265", C1 = "_rowActions_11m4k_273", w1 = "_rowActionBtn_11m4k_281", S1 = "_rowActionBtnActive_11m4k_297", T1 = "_rowUpdating_11m4k_310", I1 = "_menuMask_11m4k_315", x1 = "_empty_11m4k_322", A1 = "_emptySpinner_11m4k_332", B1 = "_emptyTitle_11m4k_336", De = {
10761
+ host: Yy,
10762
+ header: Qy,
10763
+ title: Xy,
10764
+ subtitle: Zy,
10765
+ searchWrap: e1,
10766
+ searchIcon: t1,
10767
+ searchInput: n1,
10768
+ dimBar: a1,
10769
+ dimBarLabel: s1,
10770
+ dimChip: l1,
10771
+ dimChipActive: o1,
10772
+ dimOrder: i1,
10773
+ dimReset: r1,
10774
+ dimSummary: c1,
10775
+ listHost: d1,
10776
+ groupHeader: u1,
10777
+ groupCaret: m1,
10778
+ groupCaretOpen: h1,
10779
+ groupLabel: p1,
10780
+ groupCount: _1,
10781
+ rowWrap: g1,
10782
+ row: f1,
10783
+ agentDot: y1,
10784
+ rowTitle: v1,
10785
+ spacePill: b1,
10786
+ rowAgent: N1,
10787
+ rowTime: k1,
10788
+ rowActions: C1,
10789
+ rowActionBtn: w1,
10790
+ rowActionBtnActive: S1,
10791
+ rowUpdating: T1,
10792
+ menuMask: I1,
10793
+ empty: x1,
10794
+ emptySpinner: A1,
10795
+ emptyTitle: B1
10796
+ }, L1 = "_shell_rj83b_3", M1 = "_sidebar_rj83b_28", $1 = "_sideContent_rj83b_38", R1 = "_newTaskBtn_rj83b_49", D1 = "_sideNav_rj83b_80", E1 = "_moreGear_rj83b_87", P1 = "_moreFlyout_rj83b_113", O1 = "_moreFlyoutItem_rj83b_127", H1 = "_moreFlyoutIcon_rj83b_152", j1 = "_moreFlyoutDivider_rj83b_159", F1 = "_sideTasks_rj83b_166", G1 = "_segToggle_rj83b_175", z1 = "_segBtn_rj83b_185", U1 = "_segBtnActive_rj83b_208", W1 = "_tasksLabel_rj83b_215", q1 = "_projFolder_rj83b_223", K1 = "_projCaret_rj83b_249", V1 = "_projCaretOpen_rj83b_257", J1 = "_projIcon_rj83b_261", Y1 = "_projName_rj83b_267", Q1 = "_projMeta_rj83b_276", X1 = "_projRows_rj83b_282", Z1 = "_tasksEmpty_rj83b_291", ev = "_recentItem_rj83b_297", tv = "_recentItemActive_rj83b_328", nv = "_recentItemText_rj83b_334", av = "_agentDot_rj83b_341", sv = "_navItem_rj83b_354", lv = "_navItemActive_rj83b_385", ov = "_navIcon_rj83b_390", iv = "_sideFooter_rj83b_396", rv = "_agentMenu_rj83b_406", cv = "_settingsMenu_rj83b_407", dv = "_accountHeader_rj83b_415", uv = "_accountAvatar_rj83b_424", mv = "_accountName_rj83b_437", hv = "_accountItemDisabled_rj83b_447", pv = "_menuDivider_rj83b_457", _v = "_footerCard_rj83b_464", gv = "_footerAvatar_rj83b_471", fv = "_footerMeta_rj83b_484", yv = "_footerName_rj83b_492", vv = "_footerSub_rj83b_501", bv = "_footerGear_rj83b_509", Nv = "_main_rj83b_530", kv = "_chatHost_rj83b_539", Cv = "_detailHost_rj83b_544", wv = "_personalTabHost_rj83b_550", Sv = "_landing_rj83b_560", Tv = "_landingInner_rj83b_570", Iv = "_landingTitle_rj83b_578", xv = "_landingSub_rj83b_586", Av = "_landingBox_rj83b_592", Bv = "_landingInput_rj83b_608", Lv = "_landingBoxBar_rj83b_624", Mv = "_agentChipWrap_rj83b_631", $v = "_agentChip_rj83b_631", Rv = "_chipCaret_rj83b_656", Dv = "_agentChipEmpty_rj83b_661", Ev = "_agentMenuMask_rj83b_666", Pv = "_agentMenuItem_rj83b_690", Ov = "_agentMenuItemActive_rj83b_711", Hv = "_landingSend_rj83b_716", jv = "_chipRow_rj83b_741", Fv = "_suggestChip_rj83b_748", Gv = "_emptyState_rj83b_768", zv = "_emptyTitle_rj83b_780", Uv = "_newTaskWrap_rj83b_799", Wv = "_dropDownMenu_rj83b_803", qv = "_spaceMenu_rj83b_808", Kv = "_spaceIcon_rj83b_813", Vv = "_spaceName_rj83b_823", Jv = "_spaceEmpty_rj83b_829", Yv = "_spaceMenuRight_rj83b_835", Qv = "_mascot_rj83b_841", Xv = "_contextRow_rj83b_860", Zv = "_contextChip_rj83b_867", eb = "_capChip_rj83b_886", tb = "_capChipIcon_rj83b_909", C = {
10797
+ shell: L1,
10798
+ sidebar: M1,
10799
+ sideContent: $1,
10800
+ newTaskBtn: R1,
10801
+ sideNav: D1,
10802
+ moreGear: E1,
10803
+ moreFlyout: P1,
10804
+ moreFlyoutItem: O1,
10805
+ moreFlyoutIcon: H1,
10806
+ moreFlyoutDivider: j1,
10807
+ sideTasks: F1,
10808
+ segToggle: G1,
10809
+ segBtn: z1,
10810
+ segBtnActive: U1,
10811
+ tasksLabel: W1,
10812
+ projFolder: q1,
10813
+ projCaret: K1,
10814
+ projCaretOpen: V1,
10815
+ projIcon: J1,
10816
+ projName: Y1,
10817
+ projMeta: Q1,
10818
+ projRows: X1,
10819
+ tasksEmpty: Z1,
10820
+ recentItem: ev,
10821
+ recentItemActive: tv,
10822
+ recentItemText: nv,
10823
+ agentDot: av,
10824
+ navItem: sv,
10825
+ navItemActive: lv,
10826
+ navIcon: ov,
10827
+ sideFooter: iv,
10828
+ agentMenu: rv,
10829
+ settingsMenu: cv,
10830
+ accountHeader: dv,
10831
+ accountAvatar: uv,
10832
+ accountName: mv,
10833
+ accountItemDisabled: hv,
10834
+ menuDivider: pv,
10835
+ footerCard: _v,
10836
+ footerAvatar: gv,
10837
+ footerMeta: fv,
10838
+ footerName: yv,
10839
+ footerSub: vv,
10840
+ footerGear: bv,
10841
+ main: Nv,
10842
+ chatHost: kv,
10843
+ detailHost: Cv,
10844
+ personalTabHost: wv,
10845
+ landing: Sv,
10846
+ landingInner: Tv,
10847
+ landingTitle: Iv,
10848
+ landingSub: xv,
10849
+ landingBox: Av,
10850
+ landingInput: Bv,
10851
+ landingBoxBar: Lv,
10852
+ agentChipWrap: Mv,
10853
+ agentChip: $v,
10854
+ chipCaret: Rv,
10855
+ agentChipEmpty: Dv,
10856
+ agentMenuMask: Ev,
10857
+ agentMenuItem: Pv,
10858
+ agentMenuItemActive: Ov,
10859
+ landingSend: Hv,
10860
+ chipRow: jv,
10861
+ suggestChip: Fv,
10862
+ emptyState: Gv,
10863
+ emptyTitle: zv,
10864
+ newTaskWrap: Uv,
10865
+ dropDownMenu: Wv,
10866
+ spaceMenu: qv,
10867
+ spaceIcon: Kv,
10868
+ spaceName: Vv,
10869
+ spaceEmpty: Jv,
10870
+ spaceMenuRight: Yv,
10871
+ mascot: Qv,
10872
+ contextRow: Xv,
10873
+ contextChip: Zv,
10874
+ capChip: eb,
10875
+ capChipIcon: tb
10891
10876
  };
10892
10877
  function Zn({
10893
10878
  token: t,
@@ -10955,16 +10940,16 @@ const Ga = [
10955
10940
  { key: "space", label: "项目空间" },
10956
10941
  { key: "agent", label: "伙伴" }
10957
10942
  ], za = "ft_exclusive_history_groupDims", Ua = ["#2F70F1", "#52c41a", "#fa8c16", "#722ed1", "#13c2c2"];
10958
- function sb(t) {
10943
+ function nb(t) {
10959
10944
  let s = 0;
10960
10945
  for (let a = 0; a < t.length; a++) s = s * 31 + t.charCodeAt(a) | 0;
10961
10946
  return Ua[Math.abs(s) % Ua.length];
10962
10947
  }
10963
- function lb(t) {
10948
+ function ab(t) {
10964
10949
  const s = t.updateTime || t.createTime || "";
10965
10950
  return s.length >= 16 ? s.slice(5, 16) : s || "--";
10966
10951
  }
10967
- function ob(t) {
10952
+ function sb(t) {
10968
10953
  const s = t.updateTime || t.createTime || "";
10969
10954
  if (!s) return ["5", "未知时间"];
10970
10955
  const a = new Date(s.replace(" ", "T"));
@@ -10976,7 +10961,7 @@ function ob(t) {
10976
10961
  ).getTime(), c = a.getTime();
10977
10962
  return c >= i ? ["1", "今天"] : c >= i - 864e5 ? ["2", "昨天"] : c >= i - 7 * 864e5 ? ["3", "近7天"] : ["4", "更早"];
10978
10963
  }
10979
- function ib({
10964
+ function lb({
10980
10965
  agents: t,
10981
10966
  token: s,
10982
10967
  onOpenSession: a
@@ -11028,7 +11013,7 @@ function ib({
11028
11013
  var q;
11029
11014
  switch (V) {
11030
11015
  case "time":
11031
- return ob(y);
11016
+ return sb(y);
11032
11017
  case "space":
11033
11018
  return y.projectSpaceId != null ? [
11034
11019
  String(y.projectSpaceId),
@@ -11104,7 +11089,7 @@ function ib({
11104
11089
  {
11105
11090
  className: De.agentDot,
11106
11091
  style: {
11107
- background: sb(
11092
+ background: nb(
11108
11093
  ($ == null ? void 0 : $.displayName) || String(v.personalAgentId)
11109
11094
  )
11110
11095
  },
@@ -11120,7 +11105,7 @@ function ib({
11120
11105
  /* @__PURE__ */ e(Kt, {}),
11121
11106
  ($ == null ? void 0 : $.displayName) || "未知伙伴"
11122
11107
  ] }),
11123
- /* @__PURE__ */ e("span", { className: De.rowTime, children: lb(v) })
11108
+ /* @__PURE__ */ e("span", { className: De.rowTime, children: ab(v) })
11124
11109
  ]
11125
11110
  }
11126
11111
  ),
@@ -11242,86 +11227,86 @@ function ib({
11242
11227
  ] }) : A === 0 ? /* @__PURE__ */ e("div", { className: De.empty, children: /* @__PURE__ */ e("span", { className: De.emptyTitle, children: l.length === 0 ? "还没有会话,去新建任务开始第一段对话吧" : "没有匹配的会话" }) }) : W.map((v) => k(v, 0)) })
11243
11228
  ] });
11244
11229
  }
11245
- const rb = "_host_11by3_1", cb = "_header_11by3_11", db = "_title_11by3_17", ub = "_subtitle_11by3_24", mb = "_section_11by3_30", hb = "_sectionHead_11by3_36", pb = "_sectionIcon_11by3_42", _b = "_sectionTitle_11by3_48", gb = "_sectionDesc_11by3_54", fb = "_empty_11by3_59", yb = "_agentList_11by3_69", vb = "_agentRow_11by3_78", bb = "_agentDot_11by3_90", Nb = "_agentMain_11by3_103", kb = "_agentName_11by3_111", Cb = "_sharedBadge_11by3_120", wb = "_agentCode_11by3_129", Sb = "_rowBtn_11by3_137", Tb = "_rowBtnGhost_11by3_156", Ib = "_createRow_11by3_160", xb = "_createInput_11by3_167", Ab = "_createBtn_11by3_182", Bb = "_skillGrid_11by3_202", Lb = "_skillCard_11by3_208", Mb = "_skillHead_11by3_218", $b = "_skillName_11by3_225", Rb = "_skillToggle_11by3_231", Db = "_skillToggleOn_11by3_254", Eb = "_skillToggling_11by3_262", Pb = "_skillCategory_11by3_267", Ob = "_skillDesc_11by3_276", Hb = "_marketToolbar_11by3_286", jb = "_marketSearch_11by3_292", Fb = "_marketSearchIcon_11by3_307", Gb = "_chipRow_11by3_324", zb = "_chipRowLabel_11by3_331", Ub = "_tagChip_11by3_339", Wb = "_chip_11by3_324", qb = "_chipActive_11by3_361", Kb = "_marketGroups_11by3_368", Vb = "_marketGroup_11by3_368", Jb = "_marketGroupHead_11by3_380", Yb = "_marketGroupName_11by3_388", Qb = "_marketGroupCount_11by3_394", Xb = "_marketGrid_11by3_399", Zb = "_marketCard_11by3_405", eN = "_cardHead_11by3_427", tN = "_cardIcon_11by3_433", nN = "_cardTitle_11by3_445", aN = "_cardName_11by3_452", sN = "_cardCode_11by3_461", lN = "_cardDesc_11by3_470", oN = "_tagRow_11by3_479", iN = "_tagPill_11by3_485", rN = "_cardSymptom_11by3_495", cN = "_cardFoot_11by3_515", dN = "_footTag_11by3_523", uN = "_footMeta_11by3_532", mN = "_detailMask_11by3_542", hN = "_detailPanel_11by3_549", pN = "_detailHead_11by3_567", _N = "_detailTitleWrap_11by3_574", gN = "_detailTitle_11by3_574", fN = "_detailCode_11by3_587", yN = "_detailClose_11by3_593", vN = "_detailMeta_11by3_610", bN = "_metaItem_11by3_616", NN = "_detailSymptoms_11by3_624", kN = "_detailSymptomLabel_11by3_635", CN = "_detailBody_11by3_642", wN = "_detailRefs_11by3_657", SN = "_detailRefsBody_11by3_663", TN = "_detailNote_11by3_678", IN = "_placeholderGrid_11by3_686", xN = "_placeholderCard_11by3_692", AN = "_placeholderName_11by3_701", BN = "_placeholderDesc_11by3_707", E = {
11246
- host: rb,
11247
- header: cb,
11248
- title: db,
11249
- subtitle: ub,
11250
- section: mb,
11251
- sectionHead: hb,
11252
- sectionIcon: pb,
11253
- sectionTitle: _b,
11254
- sectionDesc: gb,
11255
- empty: fb,
11256
- agentList: yb,
11257
- agentRow: vb,
11258
- agentDot: bb,
11259
- agentMain: Nb,
11260
- agentName: kb,
11261
- sharedBadge: Cb,
11262
- agentCode: wb,
11263
- rowBtn: Sb,
11264
- rowBtnGhost: Tb,
11265
- createRow: Ib,
11266
- createInput: xb,
11267
- createBtn: Ab,
11268
- skillGrid: Bb,
11269
- skillCard: Lb,
11270
- skillHead: Mb,
11271
- skillName: $b,
11272
- skillToggle: Rb,
11273
- skillToggleOn: Db,
11274
- skillToggling: Eb,
11275
- skillCategory: Pb,
11276
- skillDesc: Ob,
11277
- marketToolbar: Hb,
11278
- marketSearch: jb,
11279
- marketSearchIcon: Fb,
11280
- chipRow: Gb,
11281
- chipRowLabel: zb,
11282
- tagChip: Ub,
11283
- chip: Wb,
11284
- chipActive: qb,
11285
- marketGroups: Kb,
11286
- marketGroup: Vb,
11287
- marketGroupHead: Jb,
11288
- marketGroupName: Yb,
11289
- marketGroupCount: Qb,
11290
- marketGrid: Xb,
11291
- marketCard: Zb,
11292
- cardHead: eN,
11293
- cardIcon: tN,
11294
- cardTitle: nN,
11295
- cardName: aN,
11296
- cardCode: sN,
11297
- cardDesc: lN,
11298
- tagRow: oN,
11299
- tagPill: iN,
11300
- cardSymptom: rN,
11301
- cardFoot: cN,
11302
- footTag: dN,
11303
- footMeta: uN,
11304
- detailMask: mN,
11305
- detailPanel: hN,
11306
- detailHead: pN,
11307
- detailTitleWrap: _N,
11308
- detailTitle: gN,
11309
- detailCode: fN,
11310
- detailClose: yN,
11311
- detailMeta: vN,
11312
- metaItem: bN,
11313
- detailSymptoms: NN,
11314
- detailSymptomLabel: kN,
11315
- detailBody: CN,
11316
- detailRefs: wN,
11317
- detailRefsBody: SN,
11318
- detailNote: TN,
11319
- placeholderGrid: IN,
11320
- placeholderCard: xN,
11321
- placeholderName: AN,
11322
- placeholderDesc: BN
11230
+ const ob = "_host_11by3_1", ib = "_header_11by3_11", rb = "_title_11by3_17", cb = "_subtitle_11by3_24", db = "_section_11by3_30", ub = "_sectionHead_11by3_36", mb = "_sectionIcon_11by3_42", hb = "_sectionTitle_11by3_48", pb = "_sectionDesc_11by3_54", _b = "_empty_11by3_59", gb = "_agentList_11by3_69", fb = "_agentRow_11by3_78", yb = "_agentDot_11by3_90", vb = "_agentMain_11by3_103", bb = "_agentName_11by3_111", Nb = "_sharedBadge_11by3_120", kb = "_agentCode_11by3_129", Cb = "_rowBtn_11by3_137", wb = "_rowBtnGhost_11by3_156", Sb = "_createRow_11by3_160", Tb = "_createInput_11by3_167", Ib = "_createBtn_11by3_182", xb = "_skillGrid_11by3_202", Ab = "_skillCard_11by3_208", Bb = "_skillHead_11by3_218", Lb = "_skillName_11by3_225", Mb = "_skillToggle_11by3_231", $b = "_skillToggleOn_11by3_254", Rb = "_skillToggling_11by3_262", Db = "_skillCategory_11by3_267", Eb = "_skillDesc_11by3_276", Pb = "_marketToolbar_11by3_286", Ob = "_marketSearch_11by3_292", Hb = "_marketSearchIcon_11by3_307", jb = "_chipRow_11by3_324", Fb = "_chipRowLabel_11by3_331", Gb = "_tagChip_11by3_339", zb = "_chip_11by3_324", Ub = "_chipActive_11by3_361", Wb = "_marketGroups_11by3_368", qb = "_marketGroup_11by3_368", Kb = "_marketGroupHead_11by3_380", Vb = "_marketGroupName_11by3_388", Jb = "_marketGroupCount_11by3_394", Yb = "_marketGrid_11by3_399", Qb = "_marketCard_11by3_405", Xb = "_cardHead_11by3_427", Zb = "_cardIcon_11by3_433", eN = "_cardTitle_11by3_445", tN = "_cardName_11by3_452", nN = "_cardCode_11by3_461", aN = "_cardDesc_11by3_470", sN = "_tagRow_11by3_479", lN = "_tagPill_11by3_485", oN = "_cardSymptom_11by3_495", iN = "_cardFoot_11by3_515", rN = "_footTag_11by3_523", cN = "_footMeta_11by3_532", dN = "_detailMask_11by3_542", uN = "_detailPanel_11by3_549", mN = "_detailHead_11by3_567", hN = "_detailTitleWrap_11by3_574", pN = "_detailTitle_11by3_574", _N = "_detailCode_11by3_587", gN = "_detailClose_11by3_593", fN = "_detailMeta_11by3_610", yN = "_metaItem_11by3_616", vN = "_detailSymptoms_11by3_624", bN = "_detailSymptomLabel_11by3_635", NN = "_detailBody_11by3_642", kN = "_detailRefs_11by3_657", CN = "_detailRefsBody_11by3_663", wN = "_detailNote_11by3_678", SN = "_placeholderGrid_11by3_686", TN = "_placeholderCard_11by3_692", IN = "_placeholderName_11by3_701", xN = "_placeholderDesc_11by3_707", E = {
11231
+ host: ob,
11232
+ header: ib,
11233
+ title: rb,
11234
+ subtitle: cb,
11235
+ section: db,
11236
+ sectionHead: ub,
11237
+ sectionIcon: mb,
11238
+ sectionTitle: hb,
11239
+ sectionDesc: pb,
11240
+ empty: _b,
11241
+ agentList: gb,
11242
+ agentRow: fb,
11243
+ agentDot: yb,
11244
+ agentMain: vb,
11245
+ agentName: bb,
11246
+ sharedBadge: Nb,
11247
+ agentCode: kb,
11248
+ rowBtn: Cb,
11249
+ rowBtnGhost: wb,
11250
+ createRow: Sb,
11251
+ createInput: Tb,
11252
+ createBtn: Ib,
11253
+ skillGrid: xb,
11254
+ skillCard: Ab,
11255
+ skillHead: Bb,
11256
+ skillName: Lb,
11257
+ skillToggle: Mb,
11258
+ skillToggleOn: $b,
11259
+ skillToggling: Rb,
11260
+ skillCategory: Db,
11261
+ skillDesc: Eb,
11262
+ marketToolbar: Pb,
11263
+ marketSearch: Ob,
11264
+ marketSearchIcon: Hb,
11265
+ chipRow: jb,
11266
+ chipRowLabel: Fb,
11267
+ tagChip: Gb,
11268
+ chip: zb,
11269
+ chipActive: Ub,
11270
+ marketGroups: Wb,
11271
+ marketGroup: qb,
11272
+ marketGroupHead: Kb,
11273
+ marketGroupName: Vb,
11274
+ marketGroupCount: Jb,
11275
+ marketGrid: Yb,
11276
+ marketCard: Qb,
11277
+ cardHead: Xb,
11278
+ cardIcon: Zb,
11279
+ cardTitle: eN,
11280
+ cardName: tN,
11281
+ cardCode: nN,
11282
+ cardDesc: aN,
11283
+ tagRow: sN,
11284
+ tagPill: lN,
11285
+ cardSymptom: oN,
11286
+ cardFoot: iN,
11287
+ footTag: rN,
11288
+ footMeta: cN,
11289
+ detailMask: dN,
11290
+ detailPanel: uN,
11291
+ detailHead: mN,
11292
+ detailTitleWrap: hN,
11293
+ detailTitle: pN,
11294
+ detailCode: _N,
11295
+ detailClose: gN,
11296
+ detailMeta: fN,
11297
+ metaItem: yN,
11298
+ detailSymptoms: vN,
11299
+ detailSymptomLabel: bN,
11300
+ detailBody: NN,
11301
+ detailRefs: kN,
11302
+ detailRefsBody: CN,
11303
+ detailNote: wN,
11304
+ placeholderGrid: SN,
11305
+ placeholderCard: TN,
11306
+ placeholderName: IN,
11307
+ placeholderDesc: xN
11323
11308
  };
11324
- function LN({
11309
+ function AN({
11325
11310
  agents: t,
11326
11311
  loading: s,
11327
11312
  skillsAgent: a,
@@ -11715,44 +11700,44 @@ function qa(t) {
11715
11700
  for (let a = 0; a < t.length; a++) s = s * 31 + t.charCodeAt(a) | 0;
11716
11701
  return Wa[Math.abs(s) % Wa.length];
11717
11702
  }
11718
- const MN = "_host_yz5cm_1", $N = "_header_yz5cm_11", RN = "_title_yz5cm_18", DN = "_subtitle_yz5cm_25", EN = "_newBtn_yz5cm_31", PN = "_schedulerBanner_yz5cm_47", ON = "_statusDot_yz5cm_57", HN = "_statusDotOn_yz5cm_65", jN = "_schedulerText_yz5cm_70", FN = "_schedulerTitle_yz5cm_77", GN = "_schedulerDesc_yz5cm_83", zN = "_demoBadge_yz5cm_88", UN = "_taskList_yz5cm_97", WN = "_sectionHead_yz5cm_104", qN = "_sectionTitle_yz5cm_111", KN = "_sectionCount_yz5cm_117", VN = "_recordList_yz5cm_123", JN = "_recordRow_yz5cm_129", YN = "_runStatus_yz5cm_139", QN = "_run_success_yz5cm_149", XN = "_run_failed_yz5cm_154", ZN = "_run_running_yz5cm_159", ek = "_recordMain_yz5cm_164", tk = "_recordTask_yz5cm_172", nk = "_recordSummary_yz5cm_178", ak = "_recordMeta_yz5cm_186", sk = "_taskRow_yz5cm_196", lk = "_toggle_yz5cm_206", ok = "_taskMain_yz5cm_227", ik = "_taskName_yz5cm_235", rk = "_taskDesc_yz5cm_241", ck = "_taskMeta_yz5cm_249", dk = "_metaLine_yz5cm_256", uk = "_metaNext_yz5cm_264", mk = "_footerHint_yz5cm_272", $e = {
11719
- host: MN,
11720
- header: $N,
11721
- title: RN,
11722
- subtitle: DN,
11723
- newBtn: EN,
11724
- schedulerBanner: PN,
11725
- statusDot: ON,
11726
- statusDotOn: HN,
11727
- schedulerText: jN,
11728
- schedulerTitle: FN,
11729
- schedulerDesc: GN,
11730
- demoBadge: zN,
11731
- taskList: UN,
11732
- sectionHead: WN,
11733
- sectionTitle: qN,
11734
- sectionCount: KN,
11735
- recordList: VN,
11736
- recordRow: JN,
11737
- runStatus: YN,
11738
- run_success: QN,
11739
- run_failed: XN,
11740
- run_running: ZN,
11741
- recordMain: ek,
11742
- recordTask: tk,
11743
- recordSummary: nk,
11744
- recordMeta: ak,
11745
- taskRow: sk,
11746
- toggle: lk,
11747
- taskMain: ok,
11748
- taskName: ik,
11749
- taskDesc: rk,
11750
- taskMeta: ck,
11751
- metaLine: dk,
11752
- metaNext: uk,
11753
- footerHint: mk
11703
+ const BN = "_host_yz5cm_1", LN = "_header_yz5cm_11", MN = "_title_yz5cm_18", $N = "_subtitle_yz5cm_25", RN = "_newBtn_yz5cm_31", DN = "_schedulerBanner_yz5cm_47", EN = "_statusDot_yz5cm_57", PN = "_statusDotOn_yz5cm_65", ON = "_schedulerText_yz5cm_70", HN = "_schedulerTitle_yz5cm_77", jN = "_schedulerDesc_yz5cm_83", FN = "_demoBadge_yz5cm_88", GN = "_taskList_yz5cm_97", zN = "_sectionHead_yz5cm_104", UN = "_sectionTitle_yz5cm_111", WN = "_sectionCount_yz5cm_117", qN = "_recordList_yz5cm_123", KN = "_recordRow_yz5cm_129", VN = "_runStatus_yz5cm_139", JN = "_run_success_yz5cm_149", YN = "_run_failed_yz5cm_154", QN = "_run_running_yz5cm_159", XN = "_recordMain_yz5cm_164", ZN = "_recordTask_yz5cm_172", ek = "_recordSummary_yz5cm_178", tk = "_recordMeta_yz5cm_186", nk = "_taskRow_yz5cm_196", ak = "_toggle_yz5cm_206", sk = "_taskMain_yz5cm_227", lk = "_taskName_yz5cm_235", ok = "_taskDesc_yz5cm_241", ik = "_taskMeta_yz5cm_249", rk = "_metaLine_yz5cm_256", ck = "_metaNext_yz5cm_264", dk = "_footerHint_yz5cm_272", $e = {
11704
+ host: BN,
11705
+ header: LN,
11706
+ title: MN,
11707
+ subtitle: $N,
11708
+ newBtn: RN,
11709
+ schedulerBanner: DN,
11710
+ statusDot: EN,
11711
+ statusDotOn: PN,
11712
+ schedulerText: ON,
11713
+ schedulerTitle: HN,
11714
+ schedulerDesc: jN,
11715
+ demoBadge: FN,
11716
+ taskList: GN,
11717
+ sectionHead: zN,
11718
+ sectionTitle: UN,
11719
+ sectionCount: WN,
11720
+ recordList: qN,
11721
+ recordRow: KN,
11722
+ runStatus: VN,
11723
+ run_success: JN,
11724
+ run_failed: YN,
11725
+ run_running: QN,
11726
+ recordMain: XN,
11727
+ recordTask: ZN,
11728
+ recordSummary: ek,
11729
+ recordMeta: tk,
11730
+ taskRow: nk,
11731
+ toggle: ak,
11732
+ taskMain: sk,
11733
+ taskName: lk,
11734
+ taskDesc: ok,
11735
+ taskMeta: ik,
11736
+ metaLine: rk,
11737
+ metaNext: ck,
11738
+ footerHint: dk
11754
11739
  };
11755
- function hk(t) {
11740
+ function uk(t) {
11756
11741
  const s = t.trim().split(/\s+/);
11757
11742
  if (s.length !== 5) return t;
11758
11743
  const [a, l, i, c, h] = s;
@@ -11818,12 +11803,12 @@ const Ka = [
11818
11803
  duration: "1 分 03 秒",
11819
11804
  summary: "晨报已生成并发送到聊天:昨日 8 条群聊进展、2 个代码变更"
11820
11805
  }
11821
- ], pk = {
11806
+ ], mk = {
11822
11807
  success: "成功",
11823
11808
  failed: "失败",
11824
11809
  running: "进行中"
11825
11810
  };
11826
- function _k({
11811
+ function hk({
11827
11812
  localOnline: t
11828
11813
  }) {
11829
11814
  return /* @__PURE__ */ n("div", { className: $e.host, children: [
@@ -11875,7 +11860,7 @@ function _k({
11875
11860
  /* @__PURE__ */ n("div", { className: $e.taskMeta, children: [
11876
11861
  /* @__PURE__ */ n("span", { className: $e.metaLine, children: [
11877
11862
  /* @__PURE__ */ e(Ls, {}),
11878
- hk(s.cron)
11863
+ uk(s.cron)
11879
11864
  ] }),
11880
11865
  /* @__PURE__ */ n("span", { className: $e.metaLine, children: [
11881
11866
  /* @__PURE__ */ e(Kt, {}),
@@ -11900,7 +11885,7 @@ function _k({
11900
11885
  "span",
11901
11886
  {
11902
11887
  className: `${$e.runStatus} ${$e[`run_${s.status}`]}`,
11903
- children: pk[s.status]
11888
+ children: mk[s.status]
11904
11889
  }
11905
11890
  ),
11906
11891
  /* @__PURE__ */ n("div", { className: $e.recordMain, children: [
@@ -11915,14 +11900,14 @@ function _k({
11915
11900
  /* @__PURE__ */ e("p", { className: $e.footerHint, children: "失败重试与通知策略讨论中——先看形态,细节后续对齐" })
11916
11901
  ] });
11917
11902
  }
11918
- async function gk(t) {
11903
+ async function pk(t) {
11919
11904
  const s = t ? `?token=${encodeURIComponent(t)}` : "", a = await Yt(
11920
11905
  `${Xt}/personal-agents/custom-models${s}`,
11921
11906
  Qt
11922
11907
  );
11923
11908
  return Zt(a, "获取自定义模型失败");
11924
11909
  }
11925
- async function fk(t, s) {
11910
+ async function _k(t, s) {
11926
11911
  const a = t ? `?token=${encodeURIComponent(t)}` : "", l = await Yt(`${Xt}/personal-agents/custom-models${a}`, {
11927
11912
  ...Qt,
11928
11913
  method: "POST",
@@ -11931,7 +11916,7 @@ async function fk(t, s) {
11931
11916
  });
11932
11917
  return Zt(l, "创建自定义模型失败");
11933
11918
  }
11934
- async function yk(t, s, a) {
11919
+ async function gk(t, s, a) {
11935
11920
  const l = t ? `?token=${encodeURIComponent(t)}` : "", i = await Yt(
11936
11921
  `${Xt}/personal-agents/custom-models/${s}/toggle${l}`,
11937
11922
  {
@@ -11943,14 +11928,14 @@ async function yk(t, s, a) {
11943
11928
  );
11944
11929
  return Zt(i, "切换自定义模型失败");
11945
11930
  }
11946
- async function vk(t, s) {
11931
+ async function fk(t, s) {
11947
11932
  const a = t ? `?token=${encodeURIComponent(t)}` : "", l = await Yt(
11948
11933
  `${Xt}/personal-agents/custom-models/${s}${a}`,
11949
11934
  { ...Qt, method: "DELETE" }
11950
11935
  );
11951
11936
  await Zt(l, "删除自定义模型失败");
11952
11937
  }
11953
- async function bk(t) {
11938
+ async function yk(t) {
11954
11939
  const s = t ? `?token=${encodeURIComponent(t)}` : "", a = await Yt(
11955
11940
  `${Xt}/personal-agents/user-settings${s}`,
11956
11941
  Qt
@@ -11961,7 +11946,7 @@ async function bk(t) {
11961
11946
  return {};
11962
11947
  }
11963
11948
  }
11964
- async function Nk(t, s) {
11949
+ async function vk(t, s) {
11965
11950
  const a = t ? `?token=${encodeURIComponent(t)}` : "", l = await Yt(`${Xt}/personal-agents/user-settings${a}`, {
11966
11951
  ...Qt,
11967
11952
  method: "POST",
@@ -11970,56 +11955,56 @@ async function Nk(t, s) {
11970
11955
  });
11971
11956
  await Zt(l, "保存设置失败");
11972
11957
  }
11973
- const kk = "_overlay_5bnt0_1", Ck = "_modal_5bnt0_11", wk = "_closeBtn_5bnt0_24", Sk = "_menuCol_5bnt0_45", Tk = "_searchBox_5bnt0_56", Ik = "_menuGroup_5bnt0_78", xk = "_menuGroupTitle_5bnt0_84", Ak = "_menuItem_5bnt0_91", Bk = "_menuItemActive_5bnt0_112", Lk = "_menuItemDisabled_5bnt0_118", Mk = "_menuIcon_5bnt0_123", $k = "_menuEmpty_5bnt0_128", Rk = "_contentCol_5bnt0_136", Dk = "_contentHeader_5bnt0_144", Ek = "_contentHeaderRow_5bnt0_151", Pk = "_saveStatus_5bnt0_162", Ok = "_saveStatusError_5bnt0_168", Hk = "_contentBody_5bnt0_172", jk = "_section_5bnt0_178", Fk = "_sectionTitle_5bnt0_182", Gk = "_card_5bnt0_189", zk = "_row_5bnt0_196", Uk = "_rowMain_5bnt0_208", Wk = "_rowTitle_5bnt0_212", qk = "_rowDesc_5bnt0_218", Kk = "_selectBox_5bnt0_225", Vk = "_disabled_5bnt0_258", Jk = "_placeholderHost_5bnt0_264", Yk = "_placeholderIcon_5bnt0_274", Qk = "_placeholderTitle_5bnt0_279", Xk = "_placeholderDesc_5bnt0_284", Zk = "_fieldInput_5bnt0_289", eC = "_formGrid_5bnt0_304", tC = "_formActions_5bnt0_310", nC = "_primaryBtn_5bnt0_314", aC = "_ghostBtn_5bnt0_328", sC = "_switchBtn_5bnt0_343", lC = "_switchOn_5bnt0_367", oC = "_mono_5bnt0_373", iC = "_hint_5bnt0_378", rC = "_errorTip_5bnt0_384", cC = "_emptyTip_5bnt0_389", dC = "_selectWrap_5bnt0_396", uC = "_inputCell_5bnt0_431", mC = "_sectionHeadRow_5bnt0_436", hC = "_formHint_5bnt0_452", pC = "_successTip_5bnt0_458", _C = "_enablePill_5bnt0_464", gC = "_enableOn_5bnt0_476", R = {
11974
- overlay: kk,
11975
- modal: Ck,
11976
- closeBtn: wk,
11977
- menuCol: Sk,
11978
- searchBox: Tk,
11979
- menuGroup: Ik,
11980
- menuGroupTitle: xk,
11981
- menuItem: Ak,
11982
- menuItemActive: Bk,
11983
- menuItemDisabled: Lk,
11984
- menuIcon: Mk,
11985
- menuEmpty: $k,
11986
- contentCol: Rk,
11987
- contentHeader: Dk,
11988
- contentHeaderRow: Ek,
11989
- saveStatus: Pk,
11990
- saveStatusError: Ok,
11991
- contentBody: Hk,
11992
- section: jk,
11993
- sectionTitle: Fk,
11994
- card: Gk,
11995
- row: zk,
11996
- rowMain: Uk,
11997
- rowTitle: Wk,
11998
- rowDesc: qk,
11999
- selectBox: Kk,
12000
- disabled: Vk,
12001
- placeholderHost: Jk,
12002
- placeholderIcon: Yk,
12003
- placeholderTitle: Qk,
12004
- placeholderDesc: Xk,
12005
- fieldInput: Zk,
12006
- formGrid: eC,
12007
- formActions: tC,
12008
- primaryBtn: nC,
12009
- ghostBtn: aC,
12010
- switchBtn: sC,
12011
- switchOn: lC,
12012
- mono: oC,
12013
- hint: iC,
12014
- errorTip: rC,
12015
- emptyTip: cC,
12016
- selectWrap: dC,
12017
- inputCell: uC,
12018
- sectionHeadRow: mC,
12019
- formHint: hC,
12020
- successTip: pC,
12021
- enablePill: _C,
12022
- enableOn: gC
11958
+ const bk = "_overlay_5bnt0_1", Nk = "_modal_5bnt0_11", kk = "_closeBtn_5bnt0_24", Ck = "_menuCol_5bnt0_45", wk = "_searchBox_5bnt0_56", Sk = "_menuGroup_5bnt0_78", Tk = "_menuGroupTitle_5bnt0_84", Ik = "_menuItem_5bnt0_91", xk = "_menuItemActive_5bnt0_112", Ak = "_menuItemDisabled_5bnt0_118", Bk = "_menuIcon_5bnt0_123", Lk = "_menuEmpty_5bnt0_128", Mk = "_contentCol_5bnt0_136", $k = "_contentHeader_5bnt0_144", Rk = "_contentHeaderRow_5bnt0_151", Dk = "_saveStatus_5bnt0_162", Ek = "_saveStatusError_5bnt0_168", Pk = "_contentBody_5bnt0_172", Ok = "_section_5bnt0_178", Hk = "_sectionTitle_5bnt0_182", jk = "_card_5bnt0_189", Fk = "_row_5bnt0_196", Gk = "_rowMain_5bnt0_208", zk = "_rowTitle_5bnt0_212", Uk = "_rowDesc_5bnt0_218", Wk = "_selectBox_5bnt0_225", qk = "_disabled_5bnt0_258", Kk = "_placeholderHost_5bnt0_264", Vk = "_placeholderIcon_5bnt0_274", Jk = "_placeholderTitle_5bnt0_279", Yk = "_placeholderDesc_5bnt0_284", Qk = "_fieldInput_5bnt0_289", Xk = "_formGrid_5bnt0_304", Zk = "_formActions_5bnt0_310", eC = "_primaryBtn_5bnt0_314", tC = "_ghostBtn_5bnt0_328", nC = "_switchBtn_5bnt0_343", aC = "_switchOn_5bnt0_367", sC = "_mono_5bnt0_373", lC = "_hint_5bnt0_378", oC = "_errorTip_5bnt0_384", iC = "_emptyTip_5bnt0_389", rC = "_selectWrap_5bnt0_396", cC = "_inputCell_5bnt0_431", dC = "_sectionHeadRow_5bnt0_436", uC = "_formHint_5bnt0_452", mC = "_successTip_5bnt0_458", hC = "_enablePill_5bnt0_464", pC = "_enableOn_5bnt0_476", R = {
11959
+ overlay: bk,
11960
+ modal: Nk,
11961
+ closeBtn: kk,
11962
+ menuCol: Ck,
11963
+ searchBox: wk,
11964
+ menuGroup: Sk,
11965
+ menuGroupTitle: Tk,
11966
+ menuItem: Ik,
11967
+ menuItemActive: xk,
11968
+ menuItemDisabled: Ak,
11969
+ menuIcon: Bk,
11970
+ menuEmpty: Lk,
11971
+ contentCol: Mk,
11972
+ contentHeader: $k,
11973
+ contentHeaderRow: Rk,
11974
+ saveStatus: Dk,
11975
+ saveStatusError: Ek,
11976
+ contentBody: Pk,
11977
+ section: Ok,
11978
+ sectionTitle: Hk,
11979
+ card: jk,
11980
+ row: Fk,
11981
+ rowMain: Gk,
11982
+ rowTitle: zk,
11983
+ rowDesc: Uk,
11984
+ selectBox: Wk,
11985
+ disabled: qk,
11986
+ placeholderHost: Kk,
11987
+ placeholderIcon: Vk,
11988
+ placeholderTitle: Jk,
11989
+ placeholderDesc: Yk,
11990
+ fieldInput: Qk,
11991
+ formGrid: Xk,
11992
+ formActions: Zk,
11993
+ primaryBtn: eC,
11994
+ ghostBtn: tC,
11995
+ switchBtn: nC,
11996
+ switchOn: aC,
11997
+ mono: sC,
11998
+ hint: lC,
11999
+ errorTip: oC,
12000
+ emptyTip: iC,
12001
+ selectWrap: rC,
12002
+ inputCell: cC,
12003
+ sectionHeadRow: dC,
12004
+ formHint: uC,
12005
+ successTip: mC,
12006
+ enablePill: hC,
12007
+ enableOn: pC
12023
12008
  }, Nn = [
12024
12009
  {
12025
12010
  title: "设置",
@@ -12039,11 +12024,11 @@ const kk = "_overlay_5bnt0_1", Ck = "_modal_5bnt0_11", wk = "_closeBtn_5bnt0_24"
12039
12024
  {
12040
12025
  title: "功能",
12041
12026
  items: [
12042
- { key: "personalize", label: "个性化", icon: /* @__PURE__ */ e(_i, {}) },
12043
- { key: "memory", label: "记忆与进化", icon: /* @__PURE__ */ e(pi, {}) },
12027
+ { key: "personalize", label: "个性化", icon: /* @__PURE__ */ e(hi, {}) },
12028
+ { key: "memory", label: "记忆与进化", icon: /* @__PURE__ */ e(mi, {}) },
12044
12029
  { key: "agents", label: "智能体", icon: /* @__PURE__ */ e(Kt, {}) },
12045
- { key: "models", label: "模型", icon: /* @__PURE__ */ e(Ti, {}) },
12046
- { key: "assistant", label: "助理", icon: /* @__PURE__ */ e(Si, {}) },
12030
+ { key: "models", label: "模型", icon: /* @__PURE__ */ e(wi, {}) },
12031
+ { key: "assistant", label: "助理", icon: /* @__PURE__ */ e(Ci, {}) },
12047
12032
  { key: "devices", label: "设备连接", icon: /* @__PURE__ */ e($s, {}) }
12048
12033
  ]
12049
12034
  },
@@ -12057,13 +12042,13 @@ const kk = "_overlay_5bnt0_1", Ck = "_modal_5bnt0_11", wk = "_closeBtn_5bnt0_24"
12057
12042
  icon: /* @__PURE__ */ e(ia, {}),
12058
12043
  disabled: !0
12059
12044
  },
12060
- { key: "security", label: "安全中心", icon: /* @__PURE__ */ e(Bi, {}) }
12045
+ { key: "security", label: "安全中心", icon: /* @__PURE__ */ e(xi, {}) }
12061
12046
  ]
12062
12047
  },
12063
12048
  {
12064
12049
  title: "",
12065
12050
  items: [
12066
- { key: "about", label: "关于", icon: /* @__PURE__ */ e(Li, {}), disabled: !0 },
12051
+ { key: "about", label: "关于", icon: /* @__PURE__ */ e(Ai, {}), disabled: !0 },
12067
12052
  {
12068
12053
  key: "feedback",
12069
12054
  label: "获取帮助",
@@ -12119,7 +12104,7 @@ function Ze({
12119
12104
  a
12120
12105
  ] });
12121
12106
  }
12122
- function fC({
12107
+ function _C({
12123
12108
  config: t,
12124
12109
  update: s
12125
12110
  }) {
@@ -12164,7 +12149,7 @@ function fC({
12164
12149
  ] })
12165
12150
  ] });
12166
12151
  }
12167
- function yC({
12152
+ function gC({
12168
12153
  config: t,
12169
12154
  update: s
12170
12155
  }) {
@@ -12193,7 +12178,7 @@ function yC({
12193
12178
  ] })
12194
12179
  ] });
12195
12180
  }
12196
- function vC({
12181
+ function fC({
12197
12182
  config: t,
12198
12183
  update: s
12199
12184
  }) {
@@ -12222,7 +12207,7 @@ function vC({
12222
12207
  ] })
12223
12208
  ] });
12224
12209
  }
12225
- function bC({
12210
+ function yC({
12226
12211
  config: t,
12227
12212
  update: s
12228
12213
  }) {
@@ -12244,7 +12229,7 @@ function bC({
12244
12229
  ] })
12245
12230
  ] });
12246
12231
  }
12247
- function NC({
12232
+ function vC({
12248
12233
  config: t,
12249
12234
  update: s
12250
12235
  }) {
@@ -12273,7 +12258,7 @@ function NC({
12273
12258
  ] })
12274
12259
  ] });
12275
12260
  }
12276
- function kC({
12261
+ function bC({
12277
12262
  config: t,
12278
12263
  update: s
12279
12264
  }) {
@@ -12301,7 +12286,7 @@ function kC({
12301
12286
  ] })
12302
12287
  ] });
12303
12288
  }
12304
- function CC({
12289
+ function NC({
12305
12290
  config: t,
12306
12291
  update: s
12307
12292
  }) {
@@ -12325,7 +12310,7 @@ function CC({
12325
12310
  ] })
12326
12311
  ] });
12327
12312
  }
12328
- function wC({
12313
+ function kC({
12329
12314
  config: t,
12330
12315
  update: s
12331
12316
  }) {
@@ -12349,7 +12334,7 @@ function wC({
12349
12334
  ] })
12350
12335
  ] });
12351
12336
  }
12352
- function SC({
12337
+ function CC({
12353
12338
  config: t,
12354
12339
  update: s
12355
12340
  }) {
@@ -12367,7 +12352,7 @@ function SC({
12367
12352
  ] })
12368
12353
  ] });
12369
12354
  }
12370
- function TC({
12355
+ function wC({
12371
12356
  config: t,
12372
12357
  update: s
12373
12358
  }) {
@@ -12391,7 +12376,7 @@ function TC({
12391
12376
  ] })
12392
12377
  ] });
12393
12378
  }
12394
- function IC({
12379
+ function SC({
12395
12380
  config: t,
12396
12381
  update: s
12397
12382
  }) {
@@ -12414,17 +12399,17 @@ function IC({
12414
12399
  ] })
12415
12400
  ] });
12416
12401
  }
12417
- const Fn = {
12402
+ const jn = {
12418
12403
  name: "",
12419
12404
  endpoint: "",
12420
12405
  apiKey: "",
12421
12406
  modelName: ""
12422
12407
  };
12423
- function xC({ token: t }) {
12424
- const [s, a] = o([]), [l, i] = o(!0), [c, h] = o(Fn), [r, u] = o(!1), [m, d] = o(!1), [g, b] = o(""), [M, x] = o(""), I = F(async () => {
12408
+ function TC({ token: t }) {
12409
+ const [s, a] = o([]), [l, i] = o(!0), [c, h] = o(jn), [r, u] = o(!1), [m, d] = o(!1), [g, b] = o(""), [M, x] = o(""), I = F(async () => {
12425
12410
  i(!0);
12426
12411
  try {
12427
- const A = await gk(t);
12412
+ const A = await pk(t);
12428
12413
  a(A || []), b("");
12429
12414
  } catch (A) {
12430
12415
  b(A instanceof Error ? A.message : String(A));
@@ -12439,12 +12424,12 @@ function xC({ token: t }) {
12439
12424
  if (O) {
12440
12425
  d(!0);
12441
12426
  try {
12442
- await fk(t, {
12427
+ await _k(t, {
12443
12428
  name: c.name.trim(),
12444
12429
  endpoint: c.endpoint.trim(),
12445
12430
  apiKey: c.apiKey.trim(),
12446
12431
  modelName: c.modelName.trim()
12447
- }), h(Fn), u(!1), x("模型已添加,输入区模型菜单即可选用"), window.setTimeout(() => x(""), 3e3), await I();
12432
+ }), h(jn), u(!1), x("模型已添加,输入区模型菜单即可选用"), window.setTimeout(() => x(""), 3e3), await I();
12448
12433
  } catch (A) {
12449
12434
  b(A instanceof Error ? A.message : String(A));
12450
12435
  } finally {
@@ -12453,14 +12438,14 @@ function xC({ token: t }) {
12453
12438
  }
12454
12439
  }, ae = async (A) => {
12455
12440
  try {
12456
- await yk(t, A.id, !A.enable), await I();
12441
+ await gk(t, A.id, !A.enable), await I();
12457
12442
  } catch (H) {
12458
12443
  b(H instanceof Error ? H.message : String(H));
12459
12444
  }
12460
12445
  }, W = async (A) => {
12461
12446
  if (window.confirm(`确定删除自定义模型「${A.name}」吗?`))
12462
12447
  try {
12463
- await vk(t, A.id), await I();
12448
+ await fk(t, A.id), await I();
12464
12449
  } catch (H) {
12465
12450
  b(H instanceof Error ? H.message : String(H));
12466
12451
  }
@@ -12578,7 +12563,7 @@ function xC({ token: t }) {
12578
12563
  type: "button",
12579
12564
  className: R.ghostBtn,
12580
12565
  onClick: () => {
12581
- u(!1), h(Fn);
12566
+ u(!1), h(jn);
12582
12567
  },
12583
12568
  children: "取消"
12584
12569
  }
@@ -12598,14 +12583,14 @@ function xC({ token: t }) {
12598
12583
  ] })
12599
12584
  ] });
12600
12585
  }
12601
- function AC({ label: t }) {
12586
+ function IC({ label: t }) {
12602
12587
  return /* @__PURE__ */ n("div", { className: R.placeholderHost, children: [
12603
12588
  /* @__PURE__ */ e("span", { className: R.placeholderIcon, children: /* @__PURE__ */ e(gn, {}) }),
12604
12589
  /* @__PURE__ */ e("span", { className: R.placeholderTitle, children: t }),
12605
12590
  /* @__PURE__ */ e("span", { className: R.placeholderDesc, children: "该设置项即将上线" })
12606
12591
  ] });
12607
12592
  }
12608
- function BC({
12593
+ function xC({
12609
12594
  open: t,
12610
12595
  onClose: s,
12611
12596
  token: a
@@ -12628,7 +12613,7 @@ function BC({
12628
12613
  oe(() => {
12629
12614
  if (!t) return;
12630
12615
  let Y = !0;
12631
- return d(!1), b(!1), bk(a).then((k) => {
12616
+ return d(!1), b(!1), yk(a).then((k) => {
12632
12617
  Y && (u(k || {}), d(!0));
12633
12618
  }).catch(() => {
12634
12619
  Y && b(!0);
@@ -12639,7 +12624,7 @@ function BC({
12639
12624
  const ae = F(async () => {
12640
12625
  D.current != null && (window.clearTimeout(D.current), D.current = null), x("saving");
12641
12626
  try {
12642
- await Nk(a, I.current), x("saved");
12627
+ await vk(a, I.current), x("saved");
12643
12628
  } catch {
12644
12629
  x("error");
12645
12630
  }
@@ -12665,31 +12650,31 @@ function BC({
12665
12650
  return g ? /* @__PURE__ */ e("div", { className: R.emptyTip, children: "设置加载失败,请关闭后重试。" }) : /* @__PURE__ */ e("div", { className: R.emptyTip, children: "加载中…" });
12666
12651
  switch (ne.key) {
12667
12652
  case "general":
12668
- return /* @__PURE__ */ e(fC, { config: r, update: W });
12653
+ return /* @__PURE__ */ e(_C, { config: r, update: W });
12669
12654
  case "profile":
12670
- return /* @__PURE__ */ e(yC, { config: r, update: W });
12655
+ return /* @__PURE__ */ e(gC, { config: r, update: W });
12671
12656
  case "appearance":
12672
- return /* @__PURE__ */ e(vC, { config: r, update: W });
12657
+ return /* @__PURE__ */ e(fC, { config: r, update: W });
12673
12658
  case "shortcuts":
12674
- return /* @__PURE__ */ e(bC, { config: r, update: W });
12659
+ return /* @__PURE__ */ e(yC, { config: r, update: W });
12675
12660
  case "personalize":
12676
- return /* @__PURE__ */ e(NC, { config: r, update: W });
12661
+ return /* @__PURE__ */ e(vC, { config: r, update: W });
12677
12662
  case "memory":
12678
- return /* @__PURE__ */ e(kC, { config: r, update: W });
12663
+ return /* @__PURE__ */ e(bC, { config: r, update: W });
12679
12664
  case "agents":
12680
- return /* @__PURE__ */ e(CC, { config: r, update: W });
12665
+ return /* @__PURE__ */ e(NC, { config: r, update: W });
12681
12666
  case "assistant":
12682
- return /* @__PURE__ */ e(wC, { config: r, update: W });
12667
+ return /* @__PURE__ */ e(kC, { config: r, update: W });
12683
12668
  case "devices":
12684
- return /* @__PURE__ */ e(SC, { config: r, update: W });
12669
+ return /* @__PURE__ */ e(CC, { config: r, update: W });
12685
12670
  case "security":
12686
- return /* @__PURE__ */ e(TC, { config: r, update: W });
12671
+ return /* @__PURE__ */ e(wC, { config: r, update: W });
12687
12672
  case "data":
12688
- return /* @__PURE__ */ e(IC, { config: r, update: W });
12673
+ return /* @__PURE__ */ e(SC, { config: r, update: W });
12689
12674
  case "models":
12690
- return /* @__PURE__ */ e(xC, { token: a });
12675
+ return /* @__PURE__ */ e(TC, { token: a });
12691
12676
  default:
12692
- return /* @__PURE__ */ e(AC, { label: ne.label });
12677
+ return /* @__PURE__ */ e(IC, { label: ne.label });
12693
12678
  }
12694
12679
  };
12695
12680
  return /* @__PURE__ */ e("div", { className: R.overlay, onClick: A, children: /* @__PURE__ */ n(
@@ -12761,11 +12746,11 @@ function BC({
12761
12746
  }
12762
12747
  ) });
12763
12748
  }
12764
- const _t = ho() || typeof localStorage < "u" && localStorage.getItem("ft_exclusive_force_desktop") === "1", LC = `${window.publicPath ?? "/"}logo.svg`, MC = [
12749
+ const _t = ho() || typeof localStorage < "u" && localStorage.getItem("ft_exclusive_force_desktop") === "1", AC = `${window.publicPath ?? "/"}logo.svg`, BC = [
12765
12750
  "帮我排查一个线上问题",
12766
12751
  "总结一下今天的群聊进展",
12767
12752
  "把这周的变更整理成周报"
12768
- ], $C = [
12753
+ ], LC = [
12769
12754
  {
12770
12755
  key: "video",
12771
12756
  label: "视频生成",
@@ -12776,7 +12761,7 @@ const _t = ho() || typeof localStorage < "u" && localStorage.getItem("ft_exclusi
12776
12761
  {
12777
12762
  key: "docs",
12778
12763
  label: "文档办公",
12779
- icon: /* @__PURE__ */ e(An, {}),
12764
+ icon: /* @__PURE__ */ e(xn, {}),
12780
12765
  action: "tools"
12781
12766
  },
12782
12767
  {
@@ -12798,13 +12783,13 @@ const _t = ho() || typeof localStorage < "u" && localStorage.getItem("ft_exclusi
12798
12783
  icon: /* @__PURE__ */ e(Kt, {}),
12799
12784
  action: "ask"
12800
12785
  }
12801
- ], RC = [
12802
- { label: "插件", icon: /* @__PURE__ */ e(wi, {}) },
12803
- { label: "技能", icon: /* @__PURE__ */ e(Ni, {}) },
12804
- { label: "连接器", icon: /* @__PURE__ */ e(bi, {}) }
12805
- ], DC = [
12806
- { label: "页面", icon: /* @__PURE__ */ e(xi, {}), title: "实验位:页面发布后续接入" },
12807
- { label: "云盘", icon: /* @__PURE__ */ e(Ai, {}), title: "实验位:云盘后续接入" },
12786
+ ], MC = [
12787
+ { label: "插件", icon: /* @__PURE__ */ e(ki, {}) },
12788
+ { label: "技能", icon: /* @__PURE__ */ e(vi, {}) },
12789
+ { label: "连接器", icon: /* @__PURE__ */ e(yi, {}) }
12790
+ ], $C = [
12791
+ { label: "页面", icon: /* @__PURE__ */ e(Ti, {}), title: "实验位:页面发布后续接入" },
12792
+ { label: "云盘", icon: /* @__PURE__ */ e(Ii, {}), title: "实验位:云盘后续接入" },
12808
12793
  {
12809
12794
  label: "IM 频道",
12810
12795
  icon: /* @__PURE__ */ e($s, {}),
@@ -12815,29 +12800,29 @@ const _t = ho() || typeof localStorage < "u" && localStorage.getItem("ft_exclusi
12815
12800
  { tab: "personal", label: "个人统计", icon: /* @__PURE__ */ e(ds, {}) },
12816
12801
  { tab: "business-stats", label: "业务指标", icon: /* @__PURE__ */ e(us, {}) },
12817
12802
  { tab: "tools", label: "常用工具", icon: /* @__PURE__ */ e(As, {}) },
12818
- { tab: "websites", label: "常用网站", icon: /* @__PURE__ */ e(Ci, {}) },
12803
+ { tab: "websites", label: "常用网站", icon: /* @__PURE__ */ e(Ni, {}) },
12819
12804
  { tab: "todo", label: "工作待办", icon: /* @__PURE__ */ e(ms, {}) },
12820
- { tab: "notes", label: "个人笔记", icon: /* @__PURE__ */ e(An, {}) },
12805
+ { tab: "notes", label: "个人笔记", icon: /* @__PURE__ */ e(xn, {}) },
12821
12806
  // 学员侧学习入口与培训管理(TRAINING)解耦:按需单独分配,不随培训入口发放。
12822
12807
  // ⚠ 必须与二级壳(PersonalWorkspaceShell 的 NAV_ITEMS)用**同一套**权限点过滤,
12823
12808
  // 否则浮层这道门形同虚设 —— 无 TRAINING_CENTER 权限的用户照样能点进培训中心页。
12824
12809
  { tab: "training", label: "培训中心", icon: /* @__PURE__ */ e(hs, {}), permission: "TRAINING_CENTER" },
12825
12810
  { tab: "webide", label: "WebIDE", icon: /* @__PURE__ */ e(ps, {}) }
12826
12811
  ];
12827
- function EC() {
12812
+ function RC() {
12828
12813
  const t = (/* @__PURE__ */ new Date()).getHours();
12829
12814
  return t < 5 ? "夜深了" : t < 12 ? "早上好" : t < 14 ? "中午好" : t < 18 ? "下午好" : "晚上好";
12830
12815
  }
12831
- function Gn(t) {
12816
+ function Fn(t) {
12832
12817
  return t ? t.charAt(0).toUpperCase() : "?";
12833
12818
  }
12834
12819
  const Ya = ["#2F70F1", "#52c41a", "#fa8c16", "#722ed1", "#13c2c2"];
12835
- function zn(t) {
12820
+ function Gn(t) {
12836
12821
  let s = 0;
12837
12822
  for (let a = 0; a < t.length; a++) s = s * 31 + t.charCodeAt(a) | 0;
12838
12823
  return Ya[Math.abs(s) % Ya.length];
12839
12824
  }
12840
- function PC(t) {
12825
+ function DC(t) {
12841
12826
  return t.type === "jar" ? {
12842
12827
  id: "-1",
12843
12828
  userId: "local",
@@ -12858,13 +12843,13 @@ function PC(t) {
12858
12843
  localAgentType: t.type
12859
12844
  };
12860
12845
  }
12861
- function r0({
12846
+ function o0({
12862
12847
  onSwitchMode: t,
12863
12848
  onOpenProject: s,
12864
12849
  openAgentRequest: a
12865
12850
  }) {
12866
12851
  const l = Ye((_) => _.token), i = Ye((_) => _.currentUser), c = Ja.filter(
12867
- (_) => !_.permission || Tn(i, _.permission)
12852
+ (_) => !_.permission || Kn(i, _.permission)
12868
12853
  ), [h, r] = o([]), [u, m] = o(!0), [d, g] = o(null), [b, M] = o("landing"), [x, I] = o(null), [D, O] = o(
12869
12854
  _t ? "local" : "cloud"
12870
12855
  ), [ne, ae] = o(
@@ -12889,7 +12874,7 @@ function r0({
12889
12874
  (_) => {
12890
12875
  var re;
12891
12876
  const P = (re = Ja.find((p) => p.tab === _)) == null ? void 0 : re.permission;
12892
- P && !Tn(i, P) || (xt(_), M("personalTab"));
12877
+ P && !Kn(i, P) || (xt(_), M("personalTab"));
12893
12878
  },
12894
12879
  [i]
12895
12880
  ), [ct, Oe] = o(!1), [Ct, gt] = o(!1), [wt, ft] = o(
@@ -12931,7 +12916,7 @@ function r0({
12931
12916
  if (!_t) return;
12932
12917
  let _ = !0;
12933
12918
  const P = async () => {
12934
- const p = await Kn();
12919
+ const p = await qn();
12935
12920
  if (_) {
12936
12921
  if (de(p), !p) {
12937
12922
  pe([]);
@@ -13112,10 +13097,10 @@ function r0({
13112
13097
  {
13113
13098
  mode: "collaboration",
13114
13099
  label: "协作工作台",
13115
- icon: /* @__PURE__ */ e(yi, {})
13100
+ icon: /* @__PURE__ */ e(gi, {})
13116
13101
  }
13117
13102
  ].filter(
13118
- (P) => xs(i, P.mode)
13103
+ (P) => ws(i, P.mode)
13119
13104
  ) : [], [i, t]), ce = x ? `${x.agent.id}-${x.sessionId ?? 0}-${x.ts}` : "none";
13120
13105
  let be;
13121
13106
  return b === "agentDetail" && wt ? be = /* @__PURE__ */ e("div", { className: C.detailHost, children: /* @__PURE__ */ e(
@@ -13124,8 +13109,8 @@ function r0({
13124
13109
  agent: wt,
13125
13110
  onBack: () => M("extensions")
13126
13111
  }
13127
- ) }) : b === "schedule" ? be = /* @__PURE__ */ e(_k, { localOnline: N }) : b === "extensions" ? be = /* @__PURE__ */ e(
13128
- LN,
13112
+ ) }) : b === "schedule" ? be = /* @__PURE__ */ e(hk, { localOnline: N }) : b === "extensions" ? be = /* @__PURE__ */ e(
13113
+ AN,
13129
13114
  {
13130
13115
  agents: h,
13131
13116
  loading: u,
@@ -13138,14 +13123,14 @@ function r0({
13138
13123
  onCreated: (_) => r((P) => [...P, _])
13139
13124
  }
13140
13125
  ) : b === "history" ? be = /* @__PURE__ */ e(
13141
- ib,
13126
+ lb,
13142
13127
  {
13143
13128
  agents: h,
13144
13129
  token: l,
13145
13130
  onOpenSession: (_, P) => Ve(_, P)
13146
13131
  }
13147
13132
  ) : b === "workbenchShell" ? be = /* @__PURE__ */ e(
13148
- Qy,
13133
+ Jy,
13149
13134
  {
13150
13135
  onOpenProject: Nt,
13151
13136
  selectedPersonalAgent: Ee,
@@ -13180,8 +13165,8 @@ function r0({
13180
13165
  }
13181
13166
  ),
13182
13167
  ht === "business-stats" && /* @__PURE__ */ e(Qa, { source: "scenario" }),
13183
- ht === "tools" && /* @__PURE__ */ e(xn, { showTools: !0, showWebsites: !1 }),
13184
- ht === "websites" && /* @__PURE__ */ e(xn, { showTools: !1, showWebsites: !0 }),
13168
+ ht === "tools" && /* @__PURE__ */ e(In, { showTools: !0, showWebsites: !1 }),
13169
+ ht === "websites" && /* @__PURE__ */ e(In, { showTools: !1, showWebsites: !0 }),
13185
13170
  ht === "todo" && /* @__PURE__ */ e(
13186
13171
  Xa,
13187
13172
  {
@@ -13216,7 +13201,7 @@ function r0({
13216
13201
  ) }) : _t && qe && b !== "landing" ? be = /* @__PURE__ */ e("div", { className: C.chatHost, children: /* @__PURE__ */ e(
13217
13202
  Ds,
13218
13203
  {
13219
- agent: PC(qe),
13204
+ agent: DC(qe),
13220
13205
  newSessionTrigger: V,
13221
13206
  autoSendDraft: me,
13222
13207
  onAutoSendConsumed: () => w(null),
@@ -13225,9 +13210,9 @@ function r0({
13225
13210
  },
13226
13211
  qe.id
13227
13212
  ) }) : be = /* @__PURE__ */ e("div", { className: C.landing, children: /* @__PURE__ */ n("div", { className: C.landingInner, children: [
13228
- /* @__PURE__ */ e("div", { className: C.mascot, "aria-hidden": "true", children: /* @__PURE__ */ e("img", { src: LC, alt: "" }) }),
13213
+ /* @__PURE__ */ e("div", { className: C.mascot, "aria-hidden": "true", children: /* @__PURE__ */ e("img", { src: AC, alt: "" }) }),
13229
13214
  /* @__PURE__ */ n("h1", { className: C.landingTitle, children: [
13230
- EC(),
13215
+ RC(),
13231
13216
  U ? `,${U}` : ""
13232
13217
  ] }),
13233
13218
  /* @__PURE__ */ e("p", { className: C.landingSub, children: "我是你的智能伙伴,有什么可以帮你?" }),
@@ -13290,8 +13275,8 @@ function r0({
13290
13275
  "span",
13291
13276
  {
13292
13277
  className: C.agentDot,
13293
- style: { background: zn(_.displayName) },
13294
- children: Gn(_.displayName)
13278
+ style: { background: Gn(_.displayName) },
13279
+ children: Fn(_.displayName)
13295
13280
  }
13296
13281
  ),
13297
13282
  _.displayName
@@ -13344,7 +13329,7 @@ function r0({
13344
13329
  disabled: !Be.trim() || Ge || !Ee && !(_t && qe),
13345
13330
  onClick: () => void te(),
13346
13331
  "aria-label": "发送",
13347
- children: Ge ? /* @__PURE__ */ e(Vn, {}) : /* @__PURE__ */ e(ki, {})
13332
+ children: Ge ? /* @__PURE__ */ e(Vn, {}) : /* @__PURE__ */ e(bi, {})
13348
13333
  }
13349
13334
  )
13350
13335
  ] })
@@ -13365,7 +13350,7 @@ function r0({
13365
13350
  /* @__PURE__ */ e("span", { children: "云端" })
13366
13351
  ] }) })
13367
13352
  ] }),
13368
- /* @__PURE__ */ e("div", { className: C.chipRow, children: $C.map((_) => /* @__PURE__ */ n(
13353
+ /* @__PURE__ */ e("div", { className: C.chipRow, children: LC.map((_) => /* @__PURE__ */ n(
13369
13354
  "button",
13370
13355
  {
13371
13356
  type: "button",
@@ -13393,7 +13378,7 @@ function r0({
13393
13378
  },
13394
13379
  _.key
13395
13380
  )) }),
13396
- /* @__PURE__ */ e("div", { className: C.chipRow, children: MC.map((_) => /* @__PURE__ */ e(
13381
+ /* @__PURE__ */ e("div", { className: C.chipRow, children: BC.map((_) => /* @__PURE__ */ e(
13397
13382
  "button",
13398
13383
  {
13399
13384
  type: "button",
@@ -13515,7 +13500,7 @@ function r0({
13515
13500
  className: C.moreFlyout,
13516
13501
  style: { top: L.top, left: L.left },
13517
13502
  children: [
13518
- RC.map((_) => /* @__PURE__ */ n(
13503
+ MC.map((_) => /* @__PURE__ */ n(
13519
13504
  "button",
13520
13505
  {
13521
13506
  type: "button",
@@ -13530,7 +13515,7 @@ function r0({
13530
13515
  },
13531
13516
  _.label
13532
13517
  )),
13533
- DC.map((_) => /* @__PURE__ */ n(
13518
+ $C.map((_) => /* @__PURE__ */ n(
13534
13519
  "button",
13535
13520
  {
13536
13521
  type: "button",
@@ -13588,7 +13573,7 @@ function r0({
13588
13573
  "aria-current": b === "history" ? "page" : void 0,
13589
13574
  onClick: () => M("history"),
13590
13575
  children: [
13591
- /* @__PURE__ */ e("span", { className: C.navIcon, children: /* @__PURE__ */ e(gi, {}) }),
13576
+ /* @__PURE__ */ e("span", { className: C.navIcon, children: /* @__PURE__ */ e(pi, {}) }),
13592
13577
  /* @__PURE__ */ e("span", { children: "聊天记录" })
13593
13578
  ]
13594
13579
  }
@@ -13711,8 +13696,8 @@ function r0({
13711
13696
  "span",
13712
13697
  {
13713
13698
  className: C.accountAvatar,
13714
- style: { background: zn(U || "用户") },
13715
- children: Gn(U || "用户")
13699
+ style: { background: Gn(U || "用户") },
13700
+ children: Fn(U || "用户")
13716
13701
  }
13717
13702
  ),
13718
13703
  /* @__PURE__ */ e("span", { className: C.accountName, children: U || "用户" })
@@ -13800,7 +13785,7 @@ function r0({
13800
13785
  disabled: !0,
13801
13786
  title: "即将上线",
13802
13787
  children: [
13803
- /* @__PURE__ */ e("span", { className: C.navIcon, children: /* @__PURE__ */ e(vi, {}) }),
13788
+ /* @__PURE__ */ e("span", { className: C.navIcon, children: /* @__PURE__ */ e(fi, {}) }),
13804
13789
  /* @__PURE__ */ e("span", { children: "检查更新" })
13805
13790
  ]
13806
13791
  }
@@ -13814,7 +13799,7 @@ function r0({
13814
13799
  className: C.agentMenuItem,
13815
13800
  onClick: () => void po(),
13816
13801
  children: [
13817
- /* @__PURE__ */ e("span", { className: C.navIcon, children: /* @__PURE__ */ e(fi, {}) }),
13802
+ /* @__PURE__ */ e("span", { className: C.navIcon, children: /* @__PURE__ */ e(_i, {}) }),
13818
13803
  /* @__PURE__ */ e("span", { children: "退出登录" })
13819
13804
  ]
13820
13805
  }
@@ -13835,8 +13820,8 @@ function r0({
13835
13820
  "span",
13836
13821
  {
13837
13822
  className: C.footerAvatar,
13838
- style: { background: zn(U || "用户") },
13839
- children: Gn(U || "用户")
13823
+ style: { background: Gn(U || "用户") },
13824
+ children: Fn(U || "用户")
13840
13825
  }
13841
13826
  ),
13842
13827
  /* @__PURE__ */ n("span", { className: C.footerMeta, children: [
@@ -13863,7 +13848,7 @@ function r0({
13863
13848
  ] }),
13864
13849
  /* @__PURE__ */ e("main", { className: C.main, "aria-label": "个人专享工作台内容", children: u && !x && !qe ? /* @__PURE__ */ e("div", { className: C.emptyState, children: /* @__PURE__ */ e("span", { className: C.emptyTitle, children: "正在加载智能伙伴…" }) }) : be }),
13865
13850
  /* @__PURE__ */ e(
13866
- BC,
13851
+ xC,
13867
13852
  {
13868
13853
  open: Ct,
13869
13854
  onClose: () => gt(!1),
@@ -13873,5 +13858,5 @@ function r0({
13873
13858
  ] });
13874
13859
  }
13875
13860
  export {
13876
- r0 as default
13861
+ o0 as default
13877
13862
  };