@yuku123/z-team-component 0.2.59 → 0.2.60

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.
Files changed (52) hide show
  1. package/dist/{ChangeLogView-Cstbioyw.js → ChangeLogView-VRWVzP0r.js} +1 -1
  2. package/dist/{ComponentDoc-Bx6NAJlK.js → ComponentDoc-DjfucAFW.js} +1497 -1387
  3. package/dist/{InvitationManagementPage-Gkqisq4C.js → InvitationManagementPage-BQ_4HcPk.js} +1 -1
  4. package/dist/{OnboardingPage-C7C4PEjn.js → OnboardingPage-DM8emo6P.js} +2 -2
  5. package/dist/{ScheduledTasks-BQRcjBOd.js → ScheduledTasks-BYxdbsSa.js} +8 -8
  6. package/dist/SystemShell-BEdMWZ8d.js +670 -0
  7. package/dist/{admin-logs-B9KS6VJz.js → admin-logs-DCYof_u5.js} +2 -2
  8. package/dist/{api-Y-52Ejhz.js → api-Bz4pq8m7.js} +1 -1
  9. package/dist/{api-CALqShkO.js → api-DWt94BcM.js} +584 -572
  10. package/dist/{createWorkspaceWsHandler-DP30xvug.js → createWorkspaceWsHandler-3aHkBZE9.js} +4 -4
  11. package/dist/{index-4YxdJwFm.js → index-4LNRkvy6.js} +3 -3
  12. package/dist/{index-DfQCaS0z.js → index-BHUK6MwQ.js} +248 -244
  13. package/dist/{index-C2Wkg1b5.js → index-BIdcTXZW.js} +3 -3
  14. package/dist/index-BVEvns4M.js +2858 -0
  15. package/dist/{index-m8V5TniT.js → index-BVh0W8ck.js} +15861 -15586
  16. package/dist/{index-Bpn6x1So.js → index-C0rbeCoZ.js} +12 -12
  17. package/dist/{index-8gCovDDT.js → index-C6jp_1-U.js} +6 -6
  18. package/dist/index-CQSTQAPg.js +112 -0
  19. package/dist/{index-lftFkqfI.js → index-CTKf6h2u.js} +4 -4
  20. package/dist/{index-BvTYVEEv.js → index-Cf7WJqfM.js} +20 -16
  21. package/dist/{index-CO6WYRIS.js → index-Cip94Q-G.js} +3 -3
  22. package/dist/{index-DKeYG0Fu.js → index-CrIIInfs.js} +4 -4
  23. package/dist/{index-DJ0FV74Y.js → index-DbEvwIck.js} +3 -3
  24. package/dist/{index-CLWgeKwr.js → index-DtVBFjaJ.js} +2 -2
  25. package/dist/{index-CGWttFLb.js → index-Dvhocfyo.js} +4 -4
  26. package/dist/index-DyE5noq6.js +118 -0
  27. package/dist/{index-Gt21FARO.js → index-KqKj9E7y.js} +3 -3
  28. package/dist/{index-aw72ID7y.js → index-NPxrK-81.js} +1 -1
  29. package/dist/{index-CinRd7Nz.js → index-VY-pgcyl.js} +1 -1
  30. package/dist/{index-DJOyOVn_.js → index-VxO9i5r6.js} +1 -1
  31. package/dist/{index-63ovR-_x.js → index-_gGu4e-w.js} +1 -1
  32. package/dist/{index-C3B7CbHo.js → index-bsGAZKaU.js} +624 -613
  33. package/dist/{index-CN9NsUQ6.js → index-eGX5rkV8.js} +5 -5
  34. package/dist/{index-DET70T3j.js → index-i6Ejgpao.js} +1 -1
  35. package/dist/index-ncjLe3A0.js +93 -0
  36. package/dist/index.js +1 -1
  37. package/dist/{instance-f3C-1qYl.js → instance-CbkHlDr4.js} +1 -1
  38. package/dist/menuPermission-BWqugXIc.js +60 -0
  39. package/dist/pages.js +1 -1
  40. package/dist/schedule-BRvmKoDG.js +587 -0
  41. package/dist/{send-default-agent-team-message-d_ECdczr.js → send-default-agent-team-message-8wnVWO7H.js} +1 -1
  42. package/dist/{sso-user-HcsSzg8P.js → sso-user-QZNVhjpR.js} +1 -1
  43. package/dist/{training-DnNQN0An.js → training-DYo1pvX7.js} +1 -1
  44. package/dist/{useAppStore-kRZEA5WZ.js → useAppStore-BGOxWep2.js} +6 -2
  45. package/dist/{webide-BcRzJX-h.js → webide-CWTbQs4I.js} +4 -4
  46. package/dist/z-team-component.css +2 -2
  47. package/package.json +1 -1
  48. package/dist/SystemShell-Df9PZzLO.js +0 -907
  49. package/dist/index-Bw9yypc4.js +0 -2841
  50. package/dist/index-C0EIMJI2.js +0 -112
  51. package/dist/index-DRrBkbr_.js +0 -100
  52. package/dist/schedule-DfkgwPdE.js +0 -497
@@ -1,20 +1,20 @@
1
1
  import { jsx as e, jsxs as n, Fragment as at } from "react/jsx-runtime";
2
- import { a as Ee, n as mt, f as Ye, B as Qe, u as $n, T as ln, aG as jo, V as Yn, t as Je, aH as Nn, aI as Wo, aJ as Uo, c as Go, ap as Ko, az as no, k as zt, aK as qo, aL as Vo, y as Qn, F as Jo, I as Yo, R as Qo, G as Zo, i as ao, o as Xo, q as es, w as ts, v as ns, e as as, aM as os } from "./api-CALqShkO.js";
2
+ import { a as Ee, n as mt, f as Ye, B as Qe, u as $n, T as ln, aG as jo, V as Yn, t as Je, aH as Nn, aI as Wo, aJ as Uo, c as Go, ap as Ko, az as no, k as zt, aK as qo, aL as Vo, y as Qn, F as Jo, I as Yo, R as Qo, G as Zo, i as ao, o as Xo, q as es, w as ts, v as ns, e as as, aM as os } from "./api-DWt94BcM.js";
3
3
  import { s as ss, r as wn, f as is } from "./ctc-sso-DtJHC-2M.js";
4
- import { k as Zn, i as rs } from "./ComponentDoc-Bx6NAJlK.js";
5
- import { r as cs, h as va, s as ba } from "./sso-user-HcsSzg8P.js";
4
+ import { n as Zn, i as rs } from "./ComponentDoc-DjfucAFW.js";
5
+ import { r as cs, h as va, s as ba } from "./sso-user-QZNVhjpR.js";
6
6
  import { Input as mn, Tooltip as un, Spin as gt, Tabs as oa, Popconfirm as jn, Button as It, Empty as Cn, Modal as pn, Form as sn, Checkbox as ls, Tag as ds, Select as ms, Popover as ka, Dropdown as us, Avatar as ps, message as Na } from "antd";
7
7
  import dn from "query-string";
8
8
  import { useState as d, useRef as le, useCallback as V, useEffect as H, createElement as hs, useLayoutEffect as oo, useMemo as Pe, memo as fs, Suspense as Wn, lazy as yt } from "react";
9
9
  import { useLocation as gs, useNavigate as _s } from "react-router-dom";
10
10
  import { h as bt } from "./history-BlrA1eaW.js";
11
- import { x as ye, y as ys, B as so, S as io, z as vs, A as wa, D as Ca, E as bs, F as ks, u as sa, i as ro, w as Ns, G as ws, H as Sa, I as Cs, J as Ss, K as Is, L as Ts, M as Ms, N as xs, O as As, P as Ls, Q as $s, R as m, U as En, C as Es, c as Ps, V as Ds } from "./createWorkspaceWsHandler-DP30xvug.js";
11
+ import { x as ye, y as ys, B as so, S as io, z as vs, A as wa, D as Ca, E as bs, F as ks, u as sa, i as ro, w as Ns, G as ws, H as Sa, I as Cs, J as Ss, K as Is, L as Ts, M as Ms, N as xs, O as As, P as Ls, Q as $s, R as m, U as En, C as Es, c as Ps, V as Ds } from "./createWorkspaceWsHandler-3aHkBZE9.js";
12
12
  import { BarChartOutlined as Os, PieChartOutlined as Rs, LinkOutlined as co, UnorderedListOutlined as Bs, FileTextOutlined as ia, ReadOutlined as lo, ConsoleSqlOutlined as zs, DashboardOutlined as mo, SearchOutlined as xn, CloseOutlined as Zt, ProfileOutlined as Fs, CustomerServiceOutlined as uo, ThunderboltOutlined as Ia, MessageOutlined as Hs, ReloadOutlined as js, UndoOutlined as Ws, DeleteOutlined as Us, FolderOpenOutlined as Gs, BugOutlined as ra, SolutionOutlined as Ks, BellOutlined as qs, CheckOutlined as Vs, SettingOutlined as Xn, MenuFoldOutlined as Js, HeartOutlined as Ys, BookOutlined as Qs, BulbOutlined as Zs, TeamOutlined as Xs, ProductOutlined as ei, CodeOutlined as ti, CloudServerOutlined as ni, DatabaseOutlined as ai, AppstoreOutlined as oi, RobotOutlined as si, UserOutlined as ii, NotificationOutlined as ri, LogoutOutlined as ci } from "@ant-design/icons";
13
- import { u as q, s as Be, i as li, p as Bt, T as di } from "./useAppStore-kRZEA5WZ.js";
14
- import { h as An, f as mi, b as ui, m as pi, g as hi, E as fi } from "./schedule-DfkgwPdE.js";
15
- import { s as po } from "./admin-logs-B9KS6VJz.js";
13
+ import { u as U, s as Be, i as li, p as Bt, T as di } from "./useAppStore-BGOxWep2.js";
14
+ import { h as An, f as mi, b as ui, m as pi, g as hi, E as fi } from "./schedule-BRvmKoDG.js";
15
+ import { s as po } from "./admin-logs-DCYof_u5.js";
16
16
  import { createPortal as ho } from "react-dom";
17
- import { c as gi, l as _i, j as yi } from "./instance-f3C-1qYl.js";
17
+ import { c as gi, l as _i, j as yi } from "./instance-CbkHlDr4.js";
18
18
  import Ta from "react-markdown";
19
19
  import Ma from "rehype-highlight";
20
20
  import xa from "remark-gfm";
@@ -36,11 +36,11 @@ function wi(t, a, s, i) {
36
36
  }, [a, s]), H(() => {
37
37
  const T = (Q) => {
38
38
  if (!f.current) return;
39
- const x = Q.clientX - k.current, A = P.current + x, U = Math.min(
39
+ const x = Q.clientX - k.current, A = P.current + x, G = Math.min(
40
40
  $.current,
41
41
  Math.max(j.current, A)
42
42
  ), ne = y.current;
43
- ne && (ne.style.width = U + "px", ne.style.minWidth = U + "px");
43
+ ne && (ne.style.width = G + "px", ne.style.minWidth = G + "px");
44
44
  }, J = () => {
45
45
  if (!f.current) return;
46
46
  f.current = !1;
@@ -265,9 +265,9 @@ async function u_(t, a, s, i) {
265
265
  const J = T.body.getReader(), Q = new TextDecoder();
266
266
  let x = "";
267
267
  for (; ; ) {
268
- const { done: A, value: U } = await J.read();
268
+ const { done: A, value: G } = await J.read();
269
269
  if (A) break;
270
- x += Q.decode(U, { stream: !0 });
270
+ x += Q.decode(G, { stream: !0 });
271
271
  const ne = x.split(`
272
272
  `);
273
273
  x = ne.pop() || "";
@@ -952,7 +952,7 @@ function Ac({
952
952
  onOpenPersonalTab: Q,
953
953
  onOpenWorkbenchShell: x,
954
954
  onCloudNav: A,
955
- cloudNavActive: U
955
+ cloudNavActive: G
956
956
  }) {
957
957
  const ne = ca.filter(
958
958
  (p) => !ta.has(p.tab) && (!p.permission || An(t, p.permission))
@@ -1038,8 +1038,8 @@ function Ac({
1038
1038
  "button",
1039
1039
  {
1040
1040
  type: "button",
1041
- className: `${F.navItem} ${U ? F.navItemActive : ""}`,
1042
- "aria-current": U ? "page" : void 0,
1041
+ className: `${F.navItem} ${G ? F.navItemActive : ""}`,
1042
+ "aria-current": G ? "page" : void 0,
1043
1043
  onClick: A,
1044
1044
  children: [
1045
1045
  /* @__PURE__ */ e("span", { className: F.navIcon, children: /* @__PURE__ */ e(qi, {}) }),
@@ -1272,7 +1272,7 @@ const Oa = {
1272
1272
  function Oc({
1273
1273
  onCountChange: t
1274
1274
  }) {
1275
- const a = q((B) => B.projects), s = q((B) => B.openTaskFromTodo), [i, u] = d(Oa), [l, y] = d(!1), [f, k] = d(!1), [P, j] = d(!1), [$, N] = d(null), [T, J] = d(""), [Q, x] = d(""), A = le(null), U = le(null), ne = le(null), Y = le(!1), I = le(i), v = le(null), r = le(null), g = le(Q);
1275
+ const a = U((B) => B.projects), s = U((B) => B.openTaskFromTodo), [i, u] = d(Oa), [l, y] = d(!1), [f, k] = d(!1), [P, j] = d(!1), [$, N] = d(null), [T, J] = d(""), [Q, x] = d(""), A = le(null), G = le(null), ne = le(null), Y = le(!1), I = le(i), v = le(null), r = le(null), g = le(Q);
1276
1276
  I.current = i, g.current = Q;
1277
1277
  const w = V(async (B) => {
1278
1278
  const ie = new URLSearchParams({
@@ -1370,7 +1370,7 @@ function Oc({
1370
1370
  }, 15e3);
1371
1371
  return () => clearInterval(B);
1372
1372
  }, [_]), H(() => {
1373
- const B = A.current, ie = U.current, me = ne.current;
1373
+ const B = A.current, ie = G.current, me = ne.current;
1374
1374
  if (!B || !ie || !me) return;
1375
1375
  const Z = new IntersectionObserver(
1376
1376
  (pe) => {
@@ -1426,7 +1426,7 @@ function Oc({
1426
1426
  )
1427
1427
  ] }),
1428
1428
  /* @__PURE__ */ n("div", { ref: A, className: ye.todoScrollArea, children: [
1429
- /* @__PURE__ */ e("div", { ref: U, className: ye.todoScrollSentinel }),
1429
+ /* @__PURE__ */ e("div", { ref: G, className: ye.todoScrollSentinel }),
1430
1430
  P ? /* @__PURE__ */ e("div", { className: ye.todoLoadHint, children: "加载更早待办..." }) : de ? /* @__PURE__ */ e("div", { className: ye.todoLoadHint, children: "向上滑动加载更多" }) : null,
1431
1431
  l && C.length === 0 ? /* @__PURE__ */ e("div", { className: ye.todoEmpty, children: "加载中..." }) : $ && C.length === 0 ? /* @__PURE__ */ n("div", { className: ye.todoEmpty, children: [
1432
1432
  /* @__PURE__ */ e("span", { style: { color: "#f5222d" }, children: $ }),
@@ -1547,7 +1547,7 @@ function hl() {
1547
1547
  moved: !1,
1548
1548
  startY: 0,
1549
1549
  startTop: 0
1550
- }), P = le(null), [j, $] = d([]), [N, T] = d(!1), J = le(null), [Q, x] = d(!1), A = q((W) => W.currentProject), U = q((W) => W.token), ne = A ? `${A.workspace_path}_${A.id}` : "global_scratchpad", Y = (A == null ? void 0 : A.name) || (A == null ? void 0 : A.scenario_name) || "速记", I = A ? JSON.stringify({ type: "team", id: A.id }) : "", v = V(() => {
1550
+ }), P = le(null), [j, $] = d([]), [N, T] = d(!1), J = le(null), [Q, x] = d(!1), A = U((W) => W.currentProject), G = U((W) => W.token), ne = A ? `${A.workspace_path}_${A.id}` : "global_scratchpad", Y = (A == null ? void 0 : A.name) || (A == null ? void 0 : A.scenario_name) || "速记", I = A ? JSON.stringify({ type: "team", id: A.id }) : "", v = V(() => {
1551
1551
  J.current && (clearTimeout(J.current), J.current = null);
1552
1552
  }, []), r = V(
1553
1553
  (W) => {
@@ -1558,7 +1558,7 @@ function hl() {
1558
1558
  async (W = !1) => {
1559
1559
  if (!(!W && (document.hidden || Ba() || t)))
1560
1560
  try {
1561
- const C = await gi(U, ml);
1561
+ const C = await gi(G, ml);
1562
1562
  if (!W && (!C.length || Ba())) return;
1563
1563
  $(C), T(!0), C.length && sessionStorage.setItem(na, String(Date.now())), v(), J.current = setTimeout(
1564
1564
  () => r(!1),
@@ -1567,7 +1567,7 @@ function hl() {
1567
1567
  } catch {
1568
1568
  }
1569
1569
  },
1570
- [U, t, v, r]
1570
+ [G, t, v, r]
1571
1571
  );
1572
1572
  H(() => {
1573
1573
  const W = setTimeout(() => void g(), cl), C = setInterval(() => void g(), Co);
@@ -1869,7 +1869,7 @@ function hl() {
1869
1869
  bindKey: ne,
1870
1870
  defaultTitle: Y,
1871
1871
  extraInfo: I,
1872
- token: U
1872
+ token: G
1873
1873
  }
1874
1874
  ),
1875
1875
  /* @__PURE__ */ e(
@@ -1962,15 +1962,15 @@ const fl = "_resumeModal_1ytri_3", gl = "_modalHeader_1ytri_10", _l = "_closeBtn
1962
1962
  }, { TabPane: Gn } = oa;
1963
1963
  function Rd() {
1964
1964
  var ft, ut;
1965
- const { agentProfileState: t, closeAgentProfile: a, navigateToPersonalChat: s } = q(), i = q((X) => X.token), [u, l] = d(!1), [y, f] = d(
1965
+ const { agentProfileState: t, closeAgentProfile: a, navigateToPersonalChat: s } = U(), i = U((X) => X.token), [u, l] = d(!1), [y, f] = d(
1966
1966
  null
1967
1967
  ), [k, P] = d(!1), [j, $] = d(null), [N, T] = d(!1), [J, Q] = d("info"), [x, A] = d(
1968
1968
  null
1969
- ), [U, ne] = d(null), [Y, I] = d([]), [v, r] = d(
1969
+ ), [G, ne] = d(null), [Y, I] = d([]), [v, r] = d(
1970
1970
  null
1971
1971
  ), [g, w] = d(""), [_, E] = d(!1), [R, p] = d(!1), [z, te] = d([]), [W, C] = d(!1), S = t.agent, O = (S == null ? void 0 : S.agent_code) || ((ft = S == null ? void 0 : S._agenthub_raw) == null ? void 0 : ft.agentCode) || "", Ie = Je(
1972
1972
  ((ut = S == null ? void 0 : S._agenthub_raw) == null ? void 0 : ut.agentHubAgentId) ?? null
1973
- ) || null, Ae = q((X) => X.currentProject), Le = Ae == null ? void 0 : Ae.id, de = V(async () => {
1973
+ ) || null, Ae = U((X) => X.currentProject), Le = Ae == null ? void 0 : Ae.id, de = V(async () => {
1974
1974
  if (O) {
1975
1975
  P(!0);
1976
1976
  try {
@@ -2134,14 +2134,14 @@ function Rd() {
2134
2134
  }
2135
2135
  }
2136
2136
  }, Ze = async (X) => {
2137
- if (!(!U || X === v) && !(!Le || !S)) {
2137
+ if (!(!G || X === v) && !(!Le || !S)) {
2138
2138
  r(X), p(!0);
2139
2139
  try {
2140
2140
  const ce = await Ee(
2141
2141
  `${ln}/scenario-instances/${Le}/team/agents/${encodeURIComponent(
2142
2142
  S.name
2143
2143
  )}/skills/${encodeURIComponent(
2144
- U.skillName
2144
+ G.skillName
2145
2145
  )}/files/content?path=${encodeURIComponent(X)}`
2146
2146
  );
2147
2147
  if (ce.ok) {
@@ -2178,7 +2178,7 @@ function Rd() {
2178
2178
  return se(ce), ce.children;
2179
2179
  };
2180
2180
  if (!t.visible || !S) return null;
2181
- const G = (y == null ? void 0 : y.memoryEntries) || [], fe = z, be = () => {
2181
+ const K = (y == null ? void 0 : y.memoryEntries) || [], fe = z, be = () => {
2182
2182
  var X, ce;
2183
2183
  return /* @__PURE__ */ n("div", { className: L.leftPanel, children: [
2184
2184
  /* @__PURE__ */ e("div", { className: L.avatarWrap, children: S.avatar && S.avatar.includes("<svg") ? /* @__PURE__ */ e(
@@ -2265,7 +2265,7 @@ function Rd() {
2265
2265
  /* @__PURE__ */ e(
2266
2266
  Gn,
2267
2267
  {
2268
- tab: `记忆${G.length > 0 ? ` (${G.length})` : ""}`,
2268
+ tab: `记忆${K.length > 0 ? ` (${K.length})` : ""}`,
2269
2269
  children: /* @__PURE__ */ n("div", { className: L.memoryTab, children: [
2270
2270
  /* @__PURE__ */ n("div", { className: L.memoryToolbar, children: [
2271
2271
  /* @__PURE__ */ n("span", { className: L.memoryHint, children: [
@@ -2294,14 +2294,14 @@ function Rd() {
2294
2294
  }
2295
2295
  )
2296
2296
  ] }),
2297
- k ? /* @__PURE__ */ e("div", { className: L.loadingWrap, children: /* @__PURE__ */ e(gt, { size: "small" }) }) : G.length === 0 ? /* @__PURE__ */ e(
2297
+ k ? /* @__PURE__ */ e("div", { className: L.loadingWrap, children: /* @__PURE__ */ e(gt, { size: "small" }) }) : K.length === 0 ? /* @__PURE__ */ e(
2298
2298
  Cn,
2299
2299
  {
2300
2300
  image: Cn.PRESENTED_IMAGE_SIMPLE,
2301
2301
  description: "暂无记忆文件",
2302
2302
  style: { margin: "24px 0" }
2303
2303
  }
2304
- ) : /* @__PURE__ */ e("div", { className: L.memoryList, children: G.map((re) => /* @__PURE__ */ n(
2304
+ ) : /* @__PURE__ */ e("div", { className: L.memoryList, children: K.map((re) => /* @__PURE__ */ n(
2305
2305
  "div",
2306
2306
  {
2307
2307
  className: L.memoryItemClickable,
@@ -2510,7 +2510,7 @@ function Rd() {
2510
2510
  )
2511
2511
  }
2512
2512
  ),
2513
- U && /* @__PURE__ */ e(
2513
+ G && /* @__PURE__ */ e(
2514
2514
  "div",
2515
2515
  {
2516
2516
  className: L.skillDetailOverlay,
@@ -2526,8 +2526,8 @@ function Rd() {
2526
2526
  /* @__PURE__ */ n("div", { className: L.skillDetailHeader, children: [
2527
2527
  /* @__PURE__ */ n("div", { className: L.skillDetailTitle, children: [
2528
2528
  /* @__PURE__ */ e("span", { style: { fontSize: 16 }, children: /* @__PURE__ */ e(Ia, {}) }),
2529
- U.skillName,
2530
- U.revision && /* @__PURE__ */ e("span", { className: L.skillBadge, children: "修订版" })
2529
+ G.skillName,
2530
+ G.revision && /* @__PURE__ */ e("span", { className: L.skillBadge, children: "修订版" })
2531
2531
  ] }),
2532
2532
  /* @__PURE__ */ e(
2533
2533
  "button",
@@ -2594,7 +2594,7 @@ function zd({
2594
2594
  onClose: a,
2595
2595
  onCreated: s
2596
2596
  }) {
2597
- const [i, u] = d(""), [l, y] = d([]), [f, k] = d(Bd), [P, j] = d([]), [$, N] = d(!1), [T, J] = d(null), [Q, x] = d(""), [A, U] = d(!1), [ne, Y] = d("");
2597
+ const [i, u] = d(""), [l, y] = d([]), [f, k] = d(Bd), [P, j] = d([]), [$, N] = d(!1), [T, J] = d(null), [Q, x] = d(""), [A, G] = d(!1), [ne, Y] = d("");
2598
2598
  H(() => {
2599
2599
  let g = !1;
2600
2600
  return Uo().then((w) => {
@@ -2639,7 +2639,7 @@ function zd({
2639
2639
  Y("请填写产品页面地址");
2640
2640
  return;
2641
2641
  }
2642
- Y(""), U(!0);
2642
+ Y(""), G(!0);
2643
2643
  try {
2644
2644
  const w = Q.trim();
2645
2645
  let _, E;
@@ -2660,9 +2660,9 @@ function zd({
2660
2660
  source: t.source
2661
2661
  }
2662
2662
  });
2663
- s(z.id), U(!1);
2663
+ s(z.id), G(!1);
2664
2664
  } catch (w) {
2665
- Y((w == null ? void 0 : w.message) || "创建失败,请重试"), U(!1);
2665
+ Y((w == null ? void 0 : w.message) || "创建失败,请重试"), G(!1);
2666
2666
  }
2667
2667
  };
2668
2668
  return /* @__PURE__ */ n(
@@ -2864,21 +2864,21 @@ function Hd({
2864
2864
  onCreated: s
2865
2865
  }) {
2866
2866
  var we, Ze, ht;
2867
- const [i, u] = d("link"), [l, y] = d(""), [f, k] = d([]), [P, j] = d(!1), [$, N] = d(), [T, J] = d(""), [Q, x] = d([]), [A, U] = d(0), [ne, Y] = d(!1), [I, v] = d(1), [r, g] = d(10), [w, _] = d(
2867
+ const [i, u] = d("link"), [l, y] = d(""), [f, k] = d([]), [P, j] = d(!1), [$, N] = d(), [T, J] = d(""), [Q, x] = d([]), [A, G] = d(0), [ne, Y] = d(!1), [I, v] = d(1), [r, g] = d(10), [w, _] = d(
2868
2868
  null
2869
2869
  ), [E, R] = d(!1), [p, z] = d(""), [te, W] = d(""), [C, S] = d(!1), [O, Ie] = d(
2870
2870
  null
2871
2871
  );
2872
2872
  H(() => {
2873
- j(!0), vs().then((G) => {
2874
- k(G || []), G && G.length > 0 && !$ && N(String(G[0].id));
2875
- }).catch((G) => z(G.message || "加载项目空间失败")).finally(() => j(!1));
2873
+ j(!0), vs().then((K) => {
2874
+ k(K || []), K && K.length > 0 && !$ && N(String(K[0].id));
2875
+ }).catch((K) => z(K.message || "加载项目空间失败")).finally(() => j(!1));
2876
2876
  }, []), H(() => {
2877
2877
  v(1), _(null);
2878
2878
  }, [$, T]), H(() => {
2879
- const G = l.trim();
2879
+ const K = l.trim();
2880
2880
  W(""), Ie(null);
2881
- const fe = za(G), be = fe ? null : In(G);
2881
+ const fe = za(K), be = fe ? null : In(K);
2882
2882
  if (!fe && !be)
2883
2883
  return;
2884
2884
  let Ce = !1;
@@ -2910,15 +2910,15 @@ function Hd({
2910
2910
  if ($) {
2911
2911
  Y(!0), z("");
2912
2912
  try {
2913
- const G = await bs(
2913
+ const K = await bs(
2914
2914
  $,
2915
2915
  T,
2916
2916
  I,
2917
2917
  r
2918
2918
  );
2919
- x(G.records || []), U(G.total || 0);
2920
- } catch (G) {
2921
- x([]), U(0), z(G.message || "查询工单列表失败");
2919
+ x(K.records || []), G(K.total || 0);
2920
+ } catch (K) {
2921
+ x([]), G(0), z(K.message || "查询工单列表失败");
2922
2922
  } finally {
2923
2923
  Y(!1);
2924
2924
  }
@@ -2934,8 +2934,8 @@ function Hd({
2934
2934
  dataIndex: "title",
2935
2935
  key: "title",
2936
2936
  ellipsis: !0,
2937
- render: (G, fe) => /* @__PURE__ */ n("div", { children: [
2938
- /* @__PURE__ */ e("div", { style: { fontWeight: 500 }, children: G }),
2937
+ render: (K, fe) => /* @__PURE__ */ n("div", { children: [
2938
+ /* @__PURE__ */ e("div", { style: { fontWeight: 500 }, children: K }),
2939
2939
  /* @__PURE__ */ e("div", { style: { fontSize: 12, color: "#8c8c8c" }, children: fe.code })
2940
2940
  ] })
2941
2941
  },
@@ -2944,14 +2944,14 @@ function Hd({
2944
2944
  dataIndex: "state",
2945
2945
  key: "state",
2946
2946
  width: 120,
2947
- render: (G) => G != null && G.label ? /* @__PURE__ */ e(ds, { color: "blue", children: G.label }) : "—"
2947
+ render: (K) => K != null && K.label ? /* @__PURE__ */ e(ds, { color: "blue", children: K.label }) : "—"
2948
2948
  },
2949
2949
  {
2950
2950
  title: "优先级",
2951
2951
  dataIndex: "level",
2952
2952
  key: "level",
2953
2953
  width: 100,
2954
- render: (G) => (G == null ? void 0 : G.label) || "—"
2954
+ render: (K) => (K == null ? void 0 : K.label) || "—"
2955
2955
  },
2956
2956
  {
2957
2957
  title: "项目空间",
@@ -2972,26 +2972,26 @@ function Hd({
2972
2972
  () => ({
2973
2973
  type: "radio",
2974
2974
  selectedRowKeys: w ? [w.id] : [],
2975
- onChange: (G, fe) => {
2975
+ onChange: (K, fe) => {
2976
2976
  _(fe[0] || null);
2977
2977
  }
2978
2978
  }),
2979
2979
  [w]
2980
2980
  ), B = V(
2981
- async (G, fe, be) => {
2981
+ async (K, fe, be) => {
2982
2982
  var Ce;
2983
- if (!G) {
2983
+ if (!K) {
2984
2984
  z("未选择有效的工单");
2985
2985
  return;
2986
2986
  }
2987
2987
  z(""), R(!0);
2988
2988
  try {
2989
- const ot = await ks(G);
2989
+ const ot = await ks(K);
2990
2990
  if (ot != null) {
2991
2991
  s(Je(ot));
2992
2992
  return;
2993
2993
  }
2994
- const Me = `Fone工单排查-${G}`, ft = te.trim() || Me, ut = {
2994
+ const Me = `Fone工单排查-${K}`, ft = te.trim() || Me, ut = {
2995
2995
  1: "CD",
2996
2996
  2: "CM",
2997
2997
  3: "CP",
@@ -3010,12 +3010,12 @@ function Hd({
3010
3010
  headers: { Accept: "application/json", "Content-Type": "application/json" },
3011
3011
  body: JSON.stringify({
3012
3012
  name: ft,
3013
- description: fe ? `工单排查:${fe}` : `工单排查:workItemId=${G}`,
3013
+ description: fe ? `工单排查:${fe}` : `工单排查:workItemId=${K}`,
3014
3014
  workspace_path: Me,
3015
3015
  scenario_code: t.scenarioCode,
3016
3016
  extend_params: {
3017
- [t.inputConfig.paramKey]: t.inputConfig.paramKey === "work_item_id" ? G : fe || Fa(G),
3018
- work_item_id: G,
3017
+ [t.inputConfig.paramKey]: t.inputConfig.paramKey === "work_item_id" ? K : fe || Fa(K),
3018
+ work_item_id: K,
3019
3019
  source: t.source
3020
3020
  },
3021
3021
  tags: X
@@ -3029,20 +3029,20 @@ function Hd({
3029
3029
  [t, s, te]
3030
3030
  ), ie = V(async () => {
3031
3031
  var fe;
3032
- const G = l.trim();
3033
- if ((fe = t.inputConfig) != null && fe.required && !G) {
3032
+ const K = l.trim();
3033
+ if ((fe = t.inputConfig) != null && fe.required && !K) {
3034
3034
  z("请输入故障单链接地址");
3035
3035
  return;
3036
3036
  }
3037
3037
  z(""), R(!0);
3038
3038
  try {
3039
- const be = za(G);
3039
+ const be = za(K);
3040
3040
  let Ce, ot;
3041
3041
  if (be) {
3042
3042
  const Me = await wa(be);
3043
3043
  Ce = In(Me), ot = Me;
3044
3044
  } else
3045
- Ce = In(G), ot = Fd(G) || G;
3045
+ Ce = In(K), ot = Fd(K) || K;
3046
3046
  if (!Ce) {
3047
3047
  z(
3048
3048
  be ? "短链解析结果中无法识别 workItemId,请改用工单详情页长链接" : "无法从链接中识别 workItemId,请检查链接是否包含 workItemId 参数"
@@ -3058,19 +3058,19 @@ function Hd({
3058
3058
  z("请先从列表中选择一条工单");
3059
3059
  return;
3060
3060
  }
3061
- const G = String(w.id), fe = Fa(
3062
- G,
3061
+ const K = String(w.id), fe = Fa(
3062
+ K,
3063
3063
  w.projectId || $
3064
3064
  );
3065
3065
  let be = null;
3066
3066
  try {
3067
- be = await Ca(G);
3067
+ be = await Ca(K);
3068
3068
  } catch {
3069
3069
  console.warn(
3070
3070
  "[FoneScenarioCreateModal] 获取工单元数据失败,tags 降级为空"
3071
3071
  );
3072
3072
  }
3073
- await B(G, fe, be);
3073
+ await B(K, fe, be);
3074
3074
  }, [w, $, B]), Z = V(() => {
3075
3075
  i === "link" ? ie() : me();
3076
3076
  }, [i, ie, me]), pe = /* @__PURE__ */ n(
@@ -3113,8 +3113,8 @@ function Hd({
3113
3113
  oa,
3114
3114
  {
3115
3115
  activeKey: i,
3116
- onChange: (G) => {
3117
- u(G), z(""), W("");
3116
+ onChange: (K) => {
3117
+ u(K), z(""), W("");
3118
3118
  },
3119
3119
  items: [
3120
3120
  {
@@ -3133,11 +3133,11 @@ function Hd({
3133
3133
  {
3134
3134
  value: l,
3135
3135
  placeholder: (ht = t.inputConfig) == null ? void 0 : ht.placeholder,
3136
- onChange: (G) => {
3137
- y(G.target.value), p && z("");
3136
+ onChange: (K) => {
3137
+ y(K.target.value), p && z("");
3138
3138
  },
3139
- onKeyDown: (G) => {
3140
- G.key === "Enter" && !G.shiftKey && (G.preventDefault(), ie());
3139
+ onKeyDown: (K) => {
3140
+ K.key === "Enter" && !K.shiftKey && (K.preventDefault(), ie());
3141
3141
  },
3142
3142
  status: p ? "error" : void 0,
3143
3143
  autoFocus: !0,
@@ -3189,12 +3189,12 @@ function Hd({
3189
3189
  placeholder: "选择项目空间",
3190
3190
  loading: P,
3191
3191
  value: $,
3192
- onChange: (G) => N(G),
3193
- options: f.map((G) => ({
3194
- value: String(G.id),
3195
- label: G.title
3192
+ onChange: (K) => N(K),
3193
+ options: f.map((K) => ({
3194
+ value: String(K.id),
3195
+ label: K.title
3196
3196
  })),
3197
- filterOption: (G, fe) => String((fe == null ? void 0 : fe.label) || "").toLowerCase().includes(G.toLowerCase()),
3197
+ filterOption: (K, fe) => String((fe == null ? void 0 : fe.label) || "").toLowerCase().includes(K.toLowerCase()),
3198
3198
  style: { minWidth: 240, flex: 1 }
3199
3199
  }
3200
3200
  ),
@@ -3204,7 +3204,7 @@ function Hd({
3204
3204
  placeholder: "搜索工单标题",
3205
3205
  allowClear: !0,
3206
3206
  value: T,
3207
- onChange: (G) => J(G.target.value),
3207
+ onChange: (K) => J(K.target.value),
3208
3208
  onSearch: () => v(1),
3209
3209
  style: { width: 280 }
3210
3210
  }
@@ -3238,9 +3238,9 @@ function Hd({
3238
3238
  total: A,
3239
3239
  showSizeChanger: !0,
3240
3240
  pageSizeOptions: ["10", "20", "50", "100"],
3241
- showTotal: (G) => `共 ${G} 条`,
3242
- onChange: (G, fe) => {
3243
- v(G), g(fe || 10);
3241
+ showTotal: (K) => `共 ${K} 条`,
3242
+ onChange: (K, fe) => {
3243
+ v(K), g(fe || 10);
3244
3244
  }
3245
3245
  },
3246
3246
  scroll: { y: 360 },
@@ -3395,7 +3395,7 @@ function Mm({
3395
3395
  onProjectCreated: a,
3396
3396
  presetScenarioCode: s
3397
3397
  }) {
3398
- const { createScenarioInstance: i, sendChatMessage: u, token: l } = q(), y = sa(), [f, k] = d([]), [P, j] = d(""), [$, N] = d(!0), [T, J] = d(""), [Q, x] = d(""), [A, U] = d(!1);
3398
+ const { createScenarioInstance: i, sendChatMessage: u, token: l } = U(), y = sa(), [f, k] = d([]), [P, j] = d(""), [$, N] = d(!0), [T, J] = d(""), [Q, x] = d(""), [A, G] = d(!1);
3399
3399
  H(() => {
3400
3400
  let v = !1;
3401
3401
  return (async () => {
@@ -3427,14 +3427,14 @@ function Mm({
3427
3427
  ), Y = async () => {
3428
3428
  const v = Q.trim();
3429
3429
  if (!(!v || !P.trim() || A)) {
3430
- U(!0);
3430
+ G(!0);
3431
3431
  try {
3432
3432
  const r = v.slice(0, 30) || "新建对话";
3433
3433
  await i(r, v, P.trim()), await u(v), t();
3434
3434
  } catch (r) {
3435
3435
  console.error("新建2 创建失败", r);
3436
3436
  } finally {
3437
- U(!1);
3437
+ G(!1);
3438
3438
  }
3439
3439
  }
3440
3440
  }, I = Q.trim().length > 0 && P.trim().length > 0 && !T && !A;
@@ -3537,15 +3537,15 @@ const xm = "_bellBtn_zkdkx_2", Am = "_badge_zkdkx_25", Lm = "_overlay_zkdkx_44",
3537
3537
  itemResult: qm
3538
3538
  };
3539
3539
  function Vm() {
3540
- const t = q((x) => x.token), a = sa(), s = le(null), [i, u] = d([]), [l, y] = d(0), [f, k] = d(!1), P = le(null), [j, $] = d({ top: 0, right: 0 }), N = V(async () => {
3540
+ const t = U((x) => x.token), a = sa(), s = le(null), [i, u] = d([]), [l, y] = d(0), [f, k] = d(!1), P = le(null), [j, $] = d({ top: 0, right: 0 }), N = V(async () => {
3541
3541
  try {
3542
3542
  const x = await ui(t, 30), A = s.current;
3543
- A && a.desktopNotify && document.hidden && x.items.filter((U) => U.readFlag === 0 && !A.has(String(U.id))).slice(0, 3).forEach(
3544
- (U) => Ns(
3545
- U.taskName || "工作通知",
3546
- U.result || U.agentDisplayName || "有新的工作通知"
3543
+ A && a.desktopNotify && document.hidden && x.items.filter((G) => G.readFlag === 0 && !A.has(String(G.id))).slice(0, 3).forEach(
3544
+ (G) => Ns(
3545
+ G.taskName || "工作通知",
3546
+ G.result || G.agentDisplayName || "有新的工作通知"
3547
3547
  )
3548
- ), s.current = new Set(x.items.map((U) => String(U.id))), u(x.items), y(x.unread);
3548
+ ), s.current = new Set(x.items.map((G) => String(G.id))), u(x.items), y(x.unread);
3549
3549
  } catch {
3550
3550
  }
3551
3551
  }, [t, a.desktopNotify]);
@@ -3567,7 +3567,7 @@ function Vm() {
3567
3567
  }, J = async (x) => {
3568
3568
  try {
3569
3569
  await pi(x, t), u(
3570
- (A) => A.map((U) => zt(U.id, x) ? { ...U, readFlag: 1 } : U)
3570
+ (A) => A.map((G) => zt(G.id, x) ? { ...G, readFlag: 1 } : G)
3571
3571
  ), y((A) => Math.max(0, A - 1));
3572
3572
  } catch {
3573
3573
  }
@@ -4448,7 +4448,7 @@ function lp({ token: t }) {
4448
4448
  H(() => {
4449
4449
  Q();
4450
4450
  }, [Q]);
4451
- const x = /^https?:\/\/.+/i.test(l.endpoint.trim()), A = !P && l.name.trim() !== "" && x && l.apiKey.trim() !== "" && l.modelName.trim() !== "", U = async () => {
4451
+ const x = /^https?:\/\/.+/i.test(l.endpoint.trim()), A = !P && l.name.trim() !== "" && x && l.apiKey.trim() !== "" && l.modelName.trim() !== "", G = async () => {
4452
4452
  if (A) {
4453
4453
  j(!0);
4454
4454
  try {
@@ -4602,7 +4602,7 @@ function lp({ token: t }) {
4602
4602
  type: "button",
4603
4603
  className: b.primaryBtn,
4604
4604
  disabled: !A,
4605
- onClick: () => void U(),
4605
+ onClick: () => void G(),
4606
4606
  children: P ? "保存中…" : "保存"
4607
4607
  }
4608
4608
  )
@@ -4625,7 +4625,7 @@ function mp() {
4625
4625
  /* @__PURE__ */ n("div", { className: b.card, children: [
4626
4626
  /* @__PURE__ */ e(Se, { title: "z-team 智能工作台", desc: "个人工作台 / 协作工作台 / 群学习。", children: /* @__PURE__ */ n("span", { className: b.mono, children: [
4627
4627
  "v",
4628
- "0.2.59"
4628
+ "0.2.60"
4629
4629
  ] }) }),
4630
4630
  /* @__PURE__ */ e(Se, { title: "运行形态", desc: "Web 浏览器接入,也可内嵌于桌面客户端。", children: /* @__PURE__ */ e("span", { className: b.mono, children: "Web" }) }),
4631
4631
  /* @__PURE__ */ e(Se, { title: "统一认证", desc: "登录态由 4A / CTC SSO 托管。", children: /* @__PURE__ */ e("span", { className: b.mono, children: "SSO" }) }),
@@ -4694,7 +4694,7 @@ function pp({
4694
4694
  ...g,
4695
4695
  items: g.items.filter((w) => w.label.toLowerCase().includes(r))
4696
4696
  })).filter((g) => g.items.length > 0) : Tn;
4697
- }, [l]), U = Pe(() => {
4697
+ }, [l]), G = Pe(() => {
4698
4698
  for (const r of Tn) {
4699
4699
  const g = r.items.find((w) => w.key === i);
4700
4700
  if (g) return g;
@@ -4742,7 +4742,7 @@ function pp({
4742
4742
  const v = () => {
4743
4743
  if (!P)
4744
4744
  return $ ? /* @__PURE__ */ e("div", { className: b.emptyTip, children: "设置加载失败,请关闭后重试。" }) : /* @__PURE__ */ e("div", { className: b.emptyTip, children: "加载中…" });
4745
- switch (U.key) {
4745
+ switch (G.key) {
4746
4746
  case "general":
4747
4747
  return /* @__PURE__ */ e(Zu, { config: f, update: Y });
4748
4748
  case "profile":
@@ -4772,7 +4772,7 @@ function pp({
4772
4772
  case "feedback":
4773
4773
  return /* @__PURE__ */ e(up, {});
4774
4774
  default:
4775
- return /* @__PURE__ */ e(dp, { label: U.label });
4775
+ return /* @__PURE__ */ e(dp, { label: G.label });
4776
4776
  }
4777
4777
  };
4778
4778
  return /* @__PURE__ */ e("div", { className: b.overlay, onClick: I, children: /* @__PURE__ */ n(
@@ -4815,8 +4815,8 @@ function pp({
4815
4815
  ] }),
4816
4816
  /* @__PURE__ */ n("main", { className: b.contentCol, children: [
4817
4817
  /* @__PURE__ */ n("div", { className: b.contentHeaderRow, children: [
4818
- /* @__PURE__ */ e("span", { className: b.contentHeader, children: U.label }),
4819
- P && !$ && U.key !== "models" && /* @__PURE__ */ n(
4818
+ /* @__PURE__ */ e("span", { className: b.contentHeader, children: G.label }),
4819
+ P && !$ && G.key !== "models" && /* @__PURE__ */ n(
4820
4820
  "span",
4821
4821
  {
4822
4822
  className: `${b.saveStatus} ${T === "error" ? b.saveStatusError : ""}`,
@@ -4924,7 +4924,7 @@ function zp({
4924
4924
  onOpenProject: l,
4925
4925
  onClose: y
4926
4926
  }) {
4927
- const [f, k] = d(""), [P, j] = d(0), [$, N] = d({ keyword: "", hits: [] }), [T, J] = d(!1), Q = le(null), x = le(null), A = f.trim(), U = A.toLowerCase();
4927
+ const [f, k] = d(""), [P, j] = d(0), [$, N] = d({ keyword: "", hits: [] }), [T, J] = d(!1), Q = le(null), x = le(null), A = f.trim(), G = A.toLowerCase();
4928
4928
  H(() => {
4929
4929
  if (A.length < Rp) {
4930
4930
  J(!1);
@@ -4964,7 +4964,7 @@ function zp({
4964
4964
  w(E, "title");
4965
4965
  continue;
4966
4966
  }
4967
- const R = (E.title || "").toLowerCase().includes(U), p = Je(E.id) === A;
4967
+ const R = (E.title || "").toLowerCase().includes(G), p = Je(E.id) === A;
4968
4968
  (R || p) && w(E, p && !R ? "id" : "title");
4969
4969
  }
4970
4970
  if (A)
@@ -4973,14 +4973,14 @@ function zp({
4973
4973
  for (const E of s) {
4974
4974
  if (r.length >= qa) break;
4975
4975
  if (A) {
4976
- const p = (E.name || "").toLowerCase().includes(U), z = Je(E.id) === A;
4976
+ const p = (E.name || "").toLowerCase().includes(G), z = Je(E.id) === A;
4977
4977
  if (!p && !z) continue;
4978
4978
  }
4979
4979
  const R = Je(E.id);
4980
4980
  !R || g.has(`p-${R}`) || (g.add(`p-${R}`), r.push({ kind: "project", key: `p-${R}`, project: E }));
4981
4981
  }
4982
4982
  return r;
4983
- }, [t, s, a, A, U, ne]), I = Y.length === 0 ? -1 : Math.min(P, Y.length - 1);
4983
+ }, [t, s, a, A, G, ne]), I = Y.length === 0 ? -1 : Math.min(P, Y.length - 1);
4984
4984
  H(() => {
4985
4985
  j(0);
4986
4986
  }, [A]), H(() => {
@@ -5166,7 +5166,7 @@ function Fp({
5166
5166
  ) : t;
5167
5167
  },
5168
5168
  [t]
5169
- ), U = Pe(
5169
+ ), G = Pe(
5170
5170
  () => A(k),
5171
5171
  [A, k]
5172
5172
  ), ne = V(
@@ -5276,12 +5276,12 @@ function Fp({
5276
5276
  }
5277
5277
  ) })
5278
5278
  ] }) }),
5279
- /* @__PURE__ */ e("div", { className: m.participantColHeader, children: /* @__PURE__ */ e("span", { children: j ? "查询中…" : `全部成员 (${U.length})` }) }),
5279
+ /* @__PURE__ */ e("div", { className: m.participantColHeader, children: /* @__PURE__ */ e("span", { children: j ? "查询中…" : `全部成员 (${G.length})` }) }),
5280
5280
  /* @__PURE__ */ e(
5281
5281
  "div",
5282
5282
  {
5283
5283
  className: `${m.participantList} ${j ? m.participantListSearching : ""}`,
5284
- children: a ? /* @__PURE__ */ e("div", { className: m.participantEmpty, children: "加载中…" }) : U.length === 0 ? /* @__PURE__ */ e("div", { className: m.participantEmpty, children: "未找到匹配成员" }) : U.map((v) => {
5284
+ children: a ? /* @__PURE__ */ e("div", { className: m.participantEmpty, children: "加载中…" }) : G.length === 0 ? /* @__PURE__ */ e("div", { className: m.participantEmpty, children: "未找到匹配成员" }) : G.map((v) => {
5285
5285
  const r = T(v), g = Q.has(r);
5286
5286
  return /* @__PURE__ */ n(
5287
5287
  "div",
@@ -5846,7 +5846,7 @@ function Wp({
5846
5846
  skills: $,
5847
5847
  isLocal: N,
5848
5848
  projectsLoading: T
5849
- } = q(
5849
+ } = U(
5850
5850
  En((o) => ({
5851
5851
  currentUser: o.currentUser,
5852
5852
  currentProject: o.currentProject,
@@ -5860,10 +5860,10 @@ function Wp({
5860
5860
  // 项目列表网络加载中(时间过滤切换触发 loadProjects 重查)
5861
5861
  projectsLoading: o.loading
5862
5862
  }))
5863
- ), J = q((o) => o.selectFile), Q = q((o) => o.deleteScenarioInstance), x = q((o) => o.forkScenarioInstance), A = q((o) => o.updateScenarioInstance), U = q((o) => o.renameFile), ne = q((o) => o.createFile), Y = q((o) => o.createFolder), I = q((o) => o.deleteFile), v = q((o) => o.uploadFile), r = q((o) => o.uploadFolder), g = q((o) => o.downloadFile), w = q((o) => o.expandProject), _ = q((o) => o.loadAllSkills), E = q((o) => o.addProjectSkill), R = q((o) => o.removeProjectSkill), p = q((o) => o.refreshAgentSkills), z = q((o) => o.refreshAllAgentSkills), te = q((o) => o.syncFromProduction), W = q((o) => o.fetchWorkspaceEnv), C = q((o) => o.loadProjects), S = Pe(
5863
+ ), J = U((o) => o.selectFile), Q = U((o) => o.deleteScenarioInstance), x = U((o) => o.forkScenarioInstance), A = U((o) => o.updateScenarioInstance), G = U((o) => o.renameFile), ne = U((o) => o.createFile), Y = U((o) => o.createFolder), I = U((o) => o.deleteFile), v = U((o) => o.uploadFile), r = U((o) => o.uploadFolder), g = U((o) => o.downloadFile), w = U((o) => o.expandProject), _ = U((o) => o.loadAllSkills), E = U((o) => o.addProjectSkill), R = U((o) => o.removeProjectSkill), p = U((o) => o.refreshAgentSkills), z = U((o) => o.refreshAllAgentSkills), te = U((o) => o.syncFromProduction), W = U((o) => o.fetchWorkspaceEnv), C = U((o) => o.loadProjects), S = Pe(
5864
5864
  () => li(u),
5865
5865
  [u]
5866
- ), [O, Ie] = d(null), [Ae, Le] = d({ x: 0, y: 0 }), [de, B] = d(!1), ie = le(null), me = le(null), [Z, pe] = d(null), [we, Ze] = d(!1), [ht, G] = d({}), [fe, be] = d(
5866
+ ), [O, Ie] = d(null), [Ae, Le] = d({ x: 0, y: 0 }), [de, B] = d(!1), ie = le(null), me = le(null), [Z, pe] = d(null), [we, Ze] = d(!1), [ht, K] = d({}), [fe, be] = d(
5867
5867
  /* @__PURE__ */ new Set()
5868
5868
  ), [Ce, ot] = d(() => {
5869
5869
  try {
@@ -5880,7 +5880,7 @@ function Wp({
5880
5880
  } catch {
5881
5881
  return "3d";
5882
5882
  }
5883
- }), [xe, ze] = d(!1), re = q((o) => o.token), [Ue, Ke] = d(!1), [qe, vt] = d(!1), gn = le(!0), [he, tn] = d(() => {
5883
+ }), [xe, ze] = d(!1), re = U((o) => o.token), [Ue, Ke] = d(!1), [qe, vt] = d(!1), gn = le(!0), [he, tn] = d(() => {
5884
5884
  try {
5885
5885
  const o = localStorage.getItem("ft_sidebar_participant_filter");
5886
5886
  return o ? JSON.parse(o) : [];
@@ -5892,7 +5892,7 @@ function Wp({
5892
5892
  W();
5893
5893
  }, [W]), H(() => {
5894
5894
  let o = !1;
5895
- return Dn(!0), Vo(void 0, q.getState().token).then((c) => {
5895
+ return Dn(!0), Vo(void 0, U.getState().token).then((c) => {
5896
5896
  o || Pn(Array.isArray(c) ? c : []);
5897
5897
  }).catch(() => {
5898
5898
  o || Pn([]);
@@ -5923,7 +5923,7 @@ function Wp({
5923
5923
  String(c.accountNo ?? "").trim(),
5924
5924
  String(c.jobNumber ?? "").trim()
5925
5925
  ].filter(Boolean);
5926
- for (const K of h) o.set(K, h);
5926
+ for (const q of h) o.set(q, h);
5927
5927
  }
5928
5928
  return o;
5929
5929
  }, [jt]), Wt = V(
@@ -5937,9 +5937,9 @@ function Wp({
5937
5937
  tn((o) => {
5938
5938
  let c = !1;
5939
5939
  const h = [];
5940
- for (const K of o) {
5941
- const ge = Wt(K)[0] ?? K;
5942
- ge !== K && (c = !0), h.includes(ge) ? c = !0 : h.push(ge);
5940
+ for (const q of o) {
5941
+ const ge = Wt(q)[0] ?? q;
5942
+ ge !== q && (c = !0), h.includes(ge) ? c = !0 : h.push(ge);
5943
5943
  }
5944
5944
  return c ? h : o;
5945
5945
  });
@@ -5956,7 +5956,7 @@ function Wp({
5956
5956
  () => st(u, "personal"),
5957
5957
  [u]
5958
5958
  ), [Ot, Ut] = d([]), [on, Rn] = d([]), Gt = V(async () => {
5959
- const o = q.getState().token, [c, h] = await Promise.allSettled([
5959
+ const o = U.getState().token, [c, h] = await Promise.allSettled([
5960
5960
  Qn(o),
5961
5961
  Jo(o)
5962
5962
  ]);
@@ -6025,22 +6025,22 @@ function Wp({
6025
6025
  if (rt !== "all") {
6026
6026
  const c = rt === "1d" ? 1 : rt === "3d" ? 3 : 7, h = Date.now() - c * 864e5;
6027
6027
  o = o.filter(
6028
- (K) => Bt(K.updateTime || K.createTime) >= h
6028
+ (q) => Bt(q.updateTime || q.createTime) >= h
6029
6029
  );
6030
6030
  }
6031
6031
  return [...o].sort((c, h) => {
6032
6032
  if ((et == null ? void 0 : et.dim) === "name") {
6033
- const K = (c.title || "").localeCompare(
6033
+ const q = (c.title || "").localeCompare(
6034
6034
  h.title || "",
6035
6035
  "zh-CN"
6036
6036
  );
6037
- if (K !== 0)
6038
- return K * (et.order === "asc" ? 1 : -1);
6037
+ if (q !== 0)
6038
+ return q * (et.order === "asc" ? 1 : -1);
6039
6039
  }
6040
6040
  if ((et == null ? void 0 : et.dim) === "time") {
6041
- const K = Bt(c.updateTime || c.createTime) - Bt(h.updateTime || h.createTime);
6042
- if (K !== 0)
6043
- return K * (et.order === "asc" ? 1 : -1);
6041
+ const q = Bt(c.updateTime || c.createTime) - Bt(h.updateTime || h.createTime);
6042
+ if (q !== 0)
6043
+ return q * (et.order === "asc" ? 1 : -1);
6044
6044
  }
6045
6045
  return (h.updateTime || h.createTime || "").localeCompare(
6046
6046
  c.updateTime || c.createTime || ""
@@ -6068,8 +6068,8 @@ function Wp({
6068
6068
  (o) => {
6069
6069
  const c = M.has(o);
6070
6070
  oe((h) => {
6071
- const K = new Set(h);
6072
- return K.has(o) ? K.delete(o) : K.add(o), K;
6071
+ const q = new Set(h);
6072
+ return q.has(o) ? q.delete(o) : q.add(o), q;
6073
6073
  }), o === "personal" && c && Gt();
6074
6074
  },
6075
6075
  [M, Gt]
@@ -6089,19 +6089,19 @@ function Wp({
6089
6089
  tt();
6090
6090
  }, [tt]);
6091
6091
  const ct = V((o) => {
6092
- ot((c) => c.indexOf(o) >= 0 ? c.filter((K) => K !== o) : [...c, o]);
6092
+ ot((c) => c.indexOf(o) >= 0 ? c.filter((q) => q !== o) : [...c, o]);
6093
6093
  }, []), bn = V((o) => {
6094
6094
  ft((c) => {
6095
- const h = c.findIndex((K) => K.dim === o);
6095
+ const h = c.findIndex((q) => q.dim === o);
6096
6096
  if (h < 0) return [...c, { dim: o, order: Qt[o] }];
6097
6097
  if (c[h].order === Qt[o]) {
6098
- const K = [...c];
6099
- return K[h] = {
6098
+ const q = [...c];
6099
+ return q[h] = {
6100
6100
  dim: o,
6101
6101
  order: c[h].order === "asc" ? "desc" : "asc"
6102
- }, K;
6102
+ }, q;
6103
6103
  }
6104
- return c.filter((K) => K.dim !== o);
6104
+ return c.filter((q) => q.dim !== o);
6105
6105
  });
6106
6106
  }, []), Kt = ce !== "3d" || he.length > 0 || Ce.length > 0 || Me.length > 0, qt = V(() => {
6107
6107
  se("3d"), tn([]);
@@ -6165,7 +6165,7 @@ function Wp({
6165
6165
  return ke.parent_id != null ? ["fork", "Fork"] : ["normal", "正式"];
6166
6166
  }
6167
6167
  }
6168
- const K = ((ge = Me.find((ke) => ke.dim === "create_time")) == null ? void 0 : ge.order) === "asc";
6168
+ const q = ((ge = Me.find((ke) => ke.dim === "create_time")) == null ? void 0 : ge.order) === "asc";
6169
6169
  function ae(ke, Ne, $e) {
6170
6170
  if (Ne.length === 0) return [];
6171
6171
  const [He, ...We] = Ne, Oe = /* @__PURE__ */ new Map();
@@ -6187,7 +6187,7 @@ function Wp({
6187
6187
  return lt.sort((dt, Ct) => {
6188
6188
  if (He === "time") {
6189
6189
  const St = dt.rawKey === "(未知时间)" ? "" : dt.rawKey || "", Pt = Ct.rawKey === "(未知时间)" ? "" : Ct.rawKey || "";
6190
- return !St && !Pt ? 0 : St ? Pt ? K ? St.localeCompare(Pt) : Pt.localeCompare(St) : -1 : 1;
6190
+ return !St && !Pt ? 0 : St ? Pt ? q ? St.localeCompare(Pt) : Pt.localeCompare(St) : -1 : 1;
6191
6191
  }
6192
6192
  return Ct.projects.length - dt.projects.length;
6193
6193
  }), lt;
@@ -6201,16 +6201,16 @@ function Wp({
6201
6201
  [Et, Ce]
6202
6202
  ), Lo = Pe(() => {
6203
6203
  if (Nt.length === 0) return [];
6204
- function o(h, K) {
6205
- if (K === "time") {
6204
+ function o(h, q) {
6205
+ if (q === "time") {
6206
6206
  const ge = h.updateTime || h.createTime || "", ke = ge.length >= 10 ? ge.slice(0, 10) : "(未知时间)";
6207
6207
  return [ke, ke];
6208
6208
  }
6209
6209
  const ae = Xe.get(Je(h.personalAgentId));
6210
6210
  return ae ? [Je(ae.id), ae.displayName] : ["__no_agent__", "未知伙伴"];
6211
6211
  }
6212
- function c(h, K, ae) {
6213
- const [ge, ...ke] = K;
6212
+ function c(h, q, ae) {
6213
+ const [ge, ...ke] = q;
6214
6214
  if (!ge) return [];
6215
6215
  const Ne = /* @__PURE__ */ new Map();
6216
6216
  for (const He of h) {
@@ -6238,7 +6238,7 @@ function Wp({
6238
6238
  return c(Rt, Nt, "");
6239
6239
  }, [Rt, Nt, Xe]);
6240
6240
  H(() => {
6241
- G({}), l && an.current.forEach((o) => {
6241
+ K({}), l && an.current.forEach((o) => {
6242
6242
  const c = o.indexOf("/");
6243
6243
  if (c > 0) {
6244
6244
  const h = o.substring(c + 1);
@@ -6263,20 +6263,20 @@ function Wp({
6263
6263
  }
6264
6264
  const o = me.current;
6265
6265
  if (!o) return;
6266
- const { width: c, height: h } = o.getBoundingClientRect(), K = 8;
6266
+ const { width: c, height: h } = o.getBoundingClientRect(), q = 8;
6267
6267
  let ae = O.initialX, ge = O.initialY;
6268
6268
  O.placement === "bottom-end" && (ae = O.initialX - c);
6269
6269
  const ke = (Ne = ie.current) == null ? void 0 : Ne.getBoundingClientRect();
6270
6270
  ke ? ae = Math.max(
6271
- ke.left + K,
6272
- Math.min(ae, ke.right - c - K)
6273
- ) : ae = Math.max(K, Math.min(ae, window.innerWidth - c - K)), ge = Math.max(K, Math.min(ge, window.innerHeight - h - K)), Le({ x: ae, y: ge }), B(!0);
6271
+ ke.left + q,
6272
+ Math.min(ae, ke.right - c - q)
6273
+ ) : ae = Math.max(q, Math.min(ae, window.innerWidth - c - q)), ge = Math.max(q, Math.min(ge, window.innerHeight - h - q)), Le({ x: ae, y: ge }), B(!0);
6274
6274
  }, [O]), H(() => {
6275
6275
  we && _();
6276
6276
  }, [we, _]);
6277
6277
  const Jt = V(
6278
- (o, c, h, K = !1) => {
6279
- if (o.preventDefault(), o.stopPropagation(), B(!1), K) {
6278
+ (o, c, h, q = !1) => {
6279
+ if (o.preventDefault(), o.stopPropagation(), B(!1), q) {
6280
6280
  const ae = o.currentTarget.getBoundingClientRect();
6281
6281
  Ie({
6282
6282
  initialX: ae.right,
@@ -6305,26 +6305,26 @@ function Wp({
6305
6305
  let h;
6306
6306
  try {
6307
6307
  h = await Qo(l.id, o);
6308
- } catch (K) {
6309
- console.error("[Sidebar] 加载子目录失败:", o, K);
6308
+ } catch (q) {
6309
+ console.error("[Sidebar] 加载子目录失败:", o, q);
6310
6310
  return;
6311
6311
  }
6312
- Array.isArray(h) || (h = []), console.log("[Sidebar] 子目录加载成功:", o, h.length, "项"), G((K) => ({ ...K, [c]: h }));
6312
+ Array.isArray(h) || (h = []), console.log("[Sidebar] 子目录加载成功:", o, h.length, "项"), K((q) => ({ ...q, [c]: h }));
6313
6313
  },
6314
6314
  [l]
6315
6315
  ), la = V(
6316
6316
  (o, c) => {
6317
- fe.has(o) || zn(c), be((K) => {
6318
- const ae = new Set(K);
6317
+ fe.has(o) || zn(c), be((q) => {
6318
+ const ae = new Set(q);
6319
6319
  return ae.has(o) ? ae.delete(o) : ae.add(o), ae;
6320
6320
  });
6321
6321
  },
6322
6322
  [fe, zn]
6323
6323
  ), $o = V(
6324
- (o, c, h, K, ae) => {
6324
+ (o, c, h, q, ae) => {
6325
6325
  const ge = Array.isArray(o) ? o : [], ke = ae ?? 16;
6326
6326
  return ge.map((Ne) => {
6327
- const $e = h ? `${h}/${Ne.name}` : Ne.name, He = K ? `${K.id}/${$e}` : $e, We = K ? `${K.id}/${$e}` : $e, Oe = fe.has(He), lt = ke + c * 20;
6327
+ const $e = h ? `${h}/${Ne.name}` : Ne.name, He = q ? `${q.id}/${$e}` : $e, We = q ? `${q.id}/${$e}` : $e, Oe = fe.has(He), lt = ke + c * 20;
6328
6328
  return /* @__PURE__ */ n("div", { children: [
6329
6329
  /* @__PURE__ */ n(
6330
6330
  "div",
@@ -6368,7 +6368,7 @@ function Wp({
6368
6368
  ht[We],
6369
6369
  c + 1,
6370
6370
  $e,
6371
- K,
6371
+ q,
6372
6372
  ae
6373
6373
  ) : ht[We] ? /* @__PURE__ */ e(
6374
6374
  "div",
@@ -6438,16 +6438,16 @@ function Wp({
6438
6438
  });
6439
6439
  else if (o === "upload-file") {
6440
6440
  const h = document.createElement("input");
6441
- h.type = "file", h.onchange = (K) => {
6441
+ h.type = "file", h.onchange = (q) => {
6442
6442
  var ge;
6443
- const ae = (ge = K.target.files) == null ? void 0 : ge[0];
6443
+ const ae = (ge = q.target.files) == null ? void 0 : ge[0];
6444
6444
  ae && v(c.workspace_path, ae);
6445
6445
  }, h.click();
6446
6446
  } else if (o === "upload-folder") {
6447
6447
  const h = document.createElement("input");
6448
- h.type = "file", h.webkitdirectory = !0, h.multiple = !0, h.onchange = (K) => {
6448
+ h.type = "file", h.webkitdirectory = !0, h.multiple = !0, h.onchange = (q) => {
6449
6449
  const ae = Array.from(
6450
- K.target.files || []
6450
+ q.target.files || []
6451
6451
  );
6452
6452
  ae.length > 0 && r(c.workspace_path, ae);
6453
6453
  }, h.click();
@@ -6482,16 +6482,16 @@ function Wp({
6482
6482
  pe({ type: "new-folder", target: c });
6483
6483
  else if (o === "upload-file") {
6484
6484
  const h = document.createElement("input");
6485
- h.type = "file", h.onchange = (K) => {
6485
+ h.type = "file", h.onchange = (q) => {
6486
6486
  var ge;
6487
- const ae = (ge = K.target.files) == null ? void 0 : ge[0];
6487
+ const ae = (ge = q.target.files) == null ? void 0 : ge[0];
6488
6488
  ae && v(c.path, ae);
6489
6489
  }, h.click();
6490
6490
  } else if (o === "upload-folder") {
6491
6491
  const h = document.createElement("input");
6492
- h.type = "file", h.webkitdirectory = !0, h.multiple = !0, h.onchange = (K) => {
6492
+ h.type = "file", h.webkitdirectory = !0, h.multiple = !0, h.onchange = (q) => {
6493
6493
  const ae = Array.from(
6494
- K.target.files || []
6494
+ q.target.files || []
6495
6495
  );
6496
6496
  ae.length > 0 && r(c.path, ae);
6497
6497
  }, h.click();
@@ -6520,19 +6520,19 @@ function Wp({
6520
6520
  const c = Z;
6521
6521
  pe(null), o.trim() && ((c.type === "rename-project" || c.type === "rename-file") && !S || (c.type === "rename-project" && c.target ? A(c.target.id, {
6522
6522
  name: o.trim()
6523
- }) : c.type === "rename-file" && c.target ? U(c.target.path, o.trim()) : c.type === "new-file" && c.target ? ne(c.target.path, o.trim()) : c.type === "new-folder" && c.target && Y(c.target.path, o.trim())));
6523
+ }) : c.type === "rename-file" && c.target ? G(c.target.path, o.trim()) : c.type === "new-file" && c.target ? ne(c.target.path, o.trim()) : c.type === "new-folder" && c.target && Y(c.target.path, o.trim())));
6524
6524
  },
6525
6525
  [
6526
6526
  Z,
6527
6527
  A,
6528
- U,
6528
+ G,
6529
6529
  ne,
6530
6530
  Y,
6531
6531
  S
6532
6532
  ]
6533
6533
  ), Fn = V(
6534
6534
  (o, c) => {
6535
- const h = (l == null ? void 0 : l.id) === o.id, K = o.status === "ACTIVE" ? m.iconStatusActive : o.status === "CLOSED" ? m.iconStatusClosed : m.iconStatusIdle;
6535
+ const h = (l == null ? void 0 : l.id) === o.id, q = o.status === "ACTIVE" ? m.iconStatusActive : o.status === "CLOSED" ? m.iconStatusClosed : m.iconStatusIdle;
6536
6536
  return /* @__PURE__ */ e("div", { children: /* @__PURE__ */ n(
6537
6537
  "div",
6538
6538
  {
@@ -6546,7 +6546,7 @@ function Wp({
6546
6546
  },
6547
6547
  onContextMenu: (ae) => Jt(ae, "project", o),
6548
6548
  children: [
6549
- /* @__PURE__ */ e("span", { className: `${m.fileItemIcon} ${K}`, children: ee.groupChat }),
6549
+ /* @__PURE__ */ e("span", { className: `${m.fileItemIcon} ${q}`, children: ee.groupChat }),
6550
6550
  /* @__PURE__ */ e("span", { className: m.fileItemName, title: o.name, children: o.name }),
6551
6551
  o.parent_id != null && /* @__PURE__ */ e("span", { className: m.forkBadge, title: "Fork 子单", children: ee.fork }),
6552
6552
  /* @__PURE__ */ e(
@@ -6595,13 +6595,13 @@ function Wp({
6595
6595
  [Xe, a]
6596
6596
  ), da = V(
6597
6597
  (o, c) => {
6598
- const h = ut.has(o.key), K = 12 + c * 24;
6598
+ const h = ut.has(o.key), q = 12 + c * 24;
6599
6599
  return /* @__PURE__ */ n("div", { children: [
6600
6600
  /* @__PURE__ */ n(
6601
6601
  "div",
6602
6602
  {
6603
6603
  className: m.groupHeader,
6604
- style: { paddingLeft: K },
6604
+ style: { paddingLeft: q },
6605
6605
  onClick: () => Vt(o.key),
6606
6606
  children: [
6607
6607
  /* @__PURE__ */ e("span", { className: m.treeArrow, children: ee.chevron(!h) }),
@@ -6620,13 +6620,13 @@ function Wp({
6620
6620
  [ut, Vt, Hn]
6621
6621
  ), ma = V(
6622
6622
  (o, c) => {
6623
- const h = ut.has(o.key), K = 12 + c * 24;
6623
+ const h = ut.has(o.key), q = 12 + c * 24;
6624
6624
  return /* @__PURE__ */ n("div", { children: [
6625
6625
  /* @__PURE__ */ n(
6626
6626
  "div",
6627
6627
  {
6628
6628
  className: m.groupHeader,
6629
- style: { paddingLeft: K },
6629
+ style: { paddingLeft: q },
6630
6630
  onClick: () => Vt(o.key),
6631
6631
  children: [
6632
6632
  /* @__PURE__ */ e("span", { className: m.treeArrow, children: ee.chevron(!h) }),
@@ -6773,19 +6773,19 @@ function Wp({
6773
6773
  { key: "name", label: "名称", shortLabel: "名称", icon: ee.textT },
6774
6774
  { key: "id", label: "ID", shortLabel: "ID", icon: ee.listNum }
6775
6775
  ].map((o) => {
6776
- const c = Me.findIndex((ae) => ae.dim === o.key), h = c >= 0, K = h ? Me[c].order : void 0;
6776
+ const c = Me.findIndex((ae) => ae.dim === o.key), h = c >= 0, q = h ? Me[c].order : void 0;
6777
6777
  return /* @__PURE__ */ n(
6778
6778
  "button",
6779
6779
  {
6780
6780
  type: "button",
6781
6781
  className: `${m.iconChip} ${m.iconChipSort} ${h ? m.iconChipActive : ""}`,
6782
- title: h ? K === "asc" ? `${o.label}升序(再次点击切换/取消)` : `${o.label}降序(再次点击切换/取消)` : `按${o.label}排序`,
6782
+ title: h ? q === "asc" ? `${o.label}升序(再次点击切换/取消)` : `${o.label}降序(再次点击切换/取消)` : `按${o.label}排序`,
6783
6783
  onClick: () => bn(o.key),
6784
6784
  children: [
6785
6785
  h && /* @__PURE__ */ e("span", { className: m.iconChipOrder, children: c + 1 }),
6786
6786
  o.icon,
6787
6787
  /* @__PURE__ */ e("span", { className: m.iconChipLabel, children: o.shortLabel }),
6788
- h && /* @__PURE__ */ e("span", { className: m.iconChipArrow, children: K === "asc" ? "↑" : "↓" })
6788
+ h && /* @__PURE__ */ e("span", { className: m.iconChipArrow, children: q === "asc" ? "↑" : "↓" })
6789
6789
  ]
6790
6790
  },
6791
6791
  o.key
@@ -7031,8 +7031,8 @@ function Wp({
7031
7031
  projectSkills: $,
7032
7032
  onConfirm: async (o) => {
7033
7033
  if (!l) return;
7034
- const h = new Set($.map((ge) => ge.id)), K = [...o].filter((ge) => !h.has(ge)), ae = $.filter((ge) => !o.has(ge.id));
7035
- for (const ge of K)
7034
+ const h = new Set($.map((ge) => ge.id)), q = [...o].filter((ge) => !h.has(ge)), ae = $.filter((ge) => !o.has(ge.id));
7035
+ for (const ge of q)
7036
7036
  await E(ge);
7037
7037
  for (const ge of ae)
7038
7038
  await R(ge.id);
@@ -7266,12 +7266,12 @@ function Ih({
7266
7266
  lane: t,
7267
7267
  onLaneChange: a
7268
7268
  } = {}) {
7269
- const s = le(null), { token: i, createProjectAndSendFirstMessage: u } = q(
7269
+ const s = le(null), { token: i, createProjectAndSendFirstMessage: u } = U(
7270
7270
  En((p) => ({
7271
7271
  token: p.token,
7272
7272
  createProjectAndSendFirstMessage: p.createProjectAndSendFirstMessage
7273
7273
  }))
7274
- ), [l, y] = d([]), [f, k] = d(!0), [P, j] = d(""), [$, N] = d(""), [T, J] = d(!1), [Q, x] = d(""), [A, U] = d(!1), [ne, Y] = d("");
7274
+ ), [l, y] = d([]), [f, k] = d(!0), [P, j] = d(""), [$, N] = d(""), [T, J] = d(!1), [Q, x] = d(""), [A, G] = d(!1), [ne, Y] = d("");
7275
7275
  H(() => {
7276
7276
  let p = !1;
7277
7277
  return (async () => {
@@ -7335,7 +7335,7 @@ function Ih({
7335
7335
  Be("请先选择场景", "warning");
7336
7336
  return;
7337
7337
  }
7338
- U(!0), Y("");
7338
+ G(!0), Y("");
7339
7339
  const z = Sh(p);
7340
7340
  try {
7341
7341
  await u(
@@ -7346,7 +7346,7 @@ function Ih({
7346
7346
  );
7347
7347
  } catch (C) {
7348
7348
  const S = C instanceof Error ? C.message : Yn(C) && C.userMessage || "创建失败";
7349
- Y(S), Yn(C) || Be(S, "error"), U(!1);
7349
+ Y(S), Yn(C) || Be(S, "error"), G(!1);
7350
7350
  }
7351
7351
  }, [Q, $, u]), _ = sa(), E = V(
7352
7352
  (p) => {
@@ -7522,7 +7522,7 @@ const Th = "_layout_i9evc_1", Mh = "_banner_i9evc_8", xh = "_bannerLeft_i9evc_20
7522
7522
  smartWorkbenchArea: Lf
7523
7523
  }, $f = "/api";
7524
7524
  bi({ apiBase: $f });
7525
- const Ef = yt(() => import("./index-Bw9yypc4.js")), Pf = yt(() => import("./index-CO6WYRIS.js")), Df = yt(() => import("./index-C3B7CbHo.js")), Of = yt(() => import("./index-aw72ID7y.js")), Rf = yt(() => import("./index-CN9NsUQ6.js").then((t) => t.i)), Bf = yt(() => import("./index-Gt21FARO.js")), zf = yt(() => import("./index-BvTYVEEv.js")), Ff = yt(() => import("./index-m8V5TniT.js")), Hf = yt(() => import("./index-C0EIMJI2.js")), jf = yt(() => import("./index-CGWttFLb.js")), Wf = yt(() => import("./index-63ovR-_x.js")), Uf = yt(() => import("./index-CinRd7Nz.js")), Qa = yt(() => import("./SystemShell-Df9PZzLO.js")), Gf = `${window.publicPath ?? "/"}logo.svg`, Mo = "ft_popup_read";
7525
+ const Ef = yt(() => import("./index-BVEvns4M.js")), Pf = yt(() => import("./index-Cip94Q-G.js")), Df = yt(() => import("./index-bsGAZKaU.js")), Of = yt(() => import("./index-NPxrK-81.js")), Rf = yt(() => import("./index-eGX5rkV8.js").then((t) => t.i)), Bf = yt(() => import("./index-KqKj9E7y.js")), zf = yt(() => import("./index-Cf7WJqfM.js")), Ff = yt(() => import("./index-BVh0W8ck.js")), Hf = yt(() => import("./index-DyE5noq6.js")), jf = yt(() => import("./index-Dvhocfyo.js")), Wf = yt(() => import("./index-_gGu4e-w.js")), Uf = yt(() => import("./index-VY-pgcyl.js")), Qa = yt(() => import("./SystemShell-BEdMWZ8d.js")), Gf = `${window.publicPath ?? "/"}logo.svg`, Mo = "ft_popup_read";
7526
7526
  function Za(t) {
7527
7527
  return t.id != null ? String(t.id) : `${t.title ?? ""}|${t.content ?? ""}`;
7528
7528
  }
@@ -7554,14 +7554,14 @@ function qf({
7554
7554
  onOpenNewChat: l,
7555
7555
  onCloseNewChat: y
7556
7556
  }) {
7557
- const { currentUser: f, currentProject: k } = q(
7557
+ const { currentUser: f, currentProject: k } = U(
7558
7558
  En((M) => ({
7559
7559
  currentUser: M.currentUser,
7560
7560
  currentProject: M.currentProject
7561
7561
  }))
7562
- ), P = q((M) => M.wsState), j = q((M) => M.token), $ = le(null), N = wi(260, 180, 400, "left"), [T, J] = d(
7562
+ ), P = U((M) => M.wsState), j = U((M) => M.token), $ = le(null), N = wi(260, 180, 400, "left"), [T, J] = d(
7563
7563
  () => localStorage.getItem("ft_sidebar_collapsed") === "true"
7564
- ), [Q, x] = d(!1), [A, U] = d(0), [ne, Y] = d(!1), [I, v] = d(null), [r, g] = d(0), [w, _] = d(!1), [E, R] = d(0), [p, z] = d([]), [te, W] = d(0), [C, S] = d(!1), [O, Ie] = d([]), [Ae, Le] = d(0), de = Pe(() => {
7564
+ ), [Q, x] = d(!1), [A, G] = d(0), [ne, Y] = d(!1), [I, v] = d(null), [r, g] = d(0), [w, _] = d(!1), [E, R] = d(0), [p, z] = d([]), [te, W] = d(0), [C, S] = d(!1), [O, Ie] = d([]), [Ae, Le] = d(0), de = Pe(() => {
7565
7565
  const M = I == null ? void 0 : I.announcements;
7566
7566
  return (M && M.length > 0 ? M : I != null && I.announcement ? [I.announcement] : []).filter((ue) => ue.title || ue.content);
7567
7567
  }, [I]), B = Pe(
@@ -7612,12 +7612,12 @@ function qf({
7612
7612
  }, 1e4);
7613
7613
  return () => clearInterval(M);
7614
7614
  }, [O, ie]);
7615
- const [me, Z] = d(null), [pe, we] = d("chat"), [Ze, ht] = d(0), [G, fe] = d(0), [be, Ce] = d(null), [ot, Me] = d("group"), [ft, ut] = d([]), X = Pe(
7615
+ const [me, Z] = d(null), [pe, we] = d("chat"), [Ze, ht] = d(0), [K, fe] = d(0), [be, Ce] = d(null), [ot, Me] = d("group"), [ft, ut] = d([]), X = Pe(
7616
7616
  () => st(f, "personal"),
7617
7617
  [f]
7618
7618
  );
7619
7619
  H(() => {
7620
- X && Qn(q.getState().token).then((M) => ut(M)).catch(() => {
7620
+ X && Qn(U.getState().token).then((M) => ut(M)).catch(() => {
7621
7621
  });
7622
7622
  }, [X, be == null ? void 0 : be.ts]);
7623
7623
  const ce = V(
@@ -7640,7 +7640,7 @@ function qf({
7640
7640
  const ue = await Zo(
7641
7641
  oe.id,
7642
7642
  "新会话",
7643
- q.getState().token,
7643
+ U.getState().token,
7644
7644
  M
7645
7645
  );
7646
7646
  ce(oe, Je(ue.id));
@@ -7704,7 +7704,7 @@ function qf({
7704
7704
  qe("personal");
7705
7705
  const Kt = Je(tt);
7706
7706
  ct && nn(ct), bn && Wt(Je(bn));
7707
- const qt = q.getState().token;
7707
+ const qt = U.getState().token;
7708
7708
  Qn(qt).then((Vt) => {
7709
7709
  const Et = Vt.find((kn) => zt(kn.id, Kt));
7710
7710
  Et && (Z(Et), we(ct === "schedule" ? "detail" : "chat"), fe(Date.now()));
@@ -7774,7 +7774,7 @@ function qf({
7774
7774
  bt.push(`/workspace?mode=${M}${ue}${tt}`);
7775
7775
  }, [he]), Ot = (M) => {
7776
7776
  J(M), localStorage.setItem("ft_sidebar_collapsed", M ? "true" : "false");
7777
- }, Ut = q((M) => M.personalChatNav);
7777
+ }, Ut = U((M) => M.personalChatNav);
7778
7778
  H(() => {
7779
7779
  Ut.trigger > 0 && Ut.agent && (qe("personal"), Z(Ut.agent), we("chat"), ht((M) => M + 1), fe(Date.now()));
7780
7780
  }, [Ut.trigger]);
@@ -8107,7 +8107,7 @@ function qf({
8107
8107
  agent: me,
8108
8108
  view: pe,
8109
8109
  newSession: Ze,
8110
- ts: G
8110
+ ts: K
8111
8111
  }
8112
8112
  }
8113
8113
  ) }) })
@@ -8244,7 +8244,7 @@ function qf({
8244
8244
  "div",
8245
8245
  {
8246
8246
  className: `${D.todoPanel} ${Q ? "" : D.todoPanelHidden}`,
8247
- children: /* @__PURE__ */ e(Oc, { onCountChange: U })
8247
+ children: /* @__PURE__ */ e(Oc, { onCountChange: G })
8248
8248
  }
8249
8249
  )
8250
8250
  ] })
@@ -8384,11 +8384,11 @@ function rg({ onClose: t }) {
8384
8384
  removeMember: l,
8385
8385
  loadTeamPickerOptions: y,
8386
8386
  openAgentProfile: f
8387
- } = q();
8387
+ } = U();
8388
8388
  H(() => {
8389
8389
  y();
8390
8390
  }, [y]);
8391
- const [k, P] = d(""), [j, $] = d(""), [N, T] = d(!1), [J, Q] = d(() => /* @__PURE__ */ new Set()), x = le(!1), A = (_) => _.staff_id != null && _.staff_id > 0 ? String(_.staff_id) : _.id != null && _.id > 0 ? String(_.id) : String(_.username ?? ""), U = async (_, E) => {
8391
+ const [k, P] = d(""), [j, $] = d(""), [N, T] = d(!1), [J, Q] = d(() => /* @__PURE__ */ new Set()), x = le(!1), A = (_) => _.staff_id != null && _.staff_id > 0 ? String(_.staff_id) : _.id != null && _.id > 0 ? String(_.id) : String(_.username ?? ""), G = async (_, E) => {
8392
8392
  if (!x.current) {
8393
8393
  x.current = !0, _ && Q((R) => new Set(R).add(_)), T(!0);
8394
8394
  try {
@@ -8409,7 +8409,7 @@ function rg({ onClose: t }) {
8409
8409
  if (ne(E))
8410
8410
  return;
8411
8411
  const R = Yt("HUMAN", E);
8412
- U(R, async () => {
8412
+ G(R, async () => {
8413
8413
  await u("HUMAN", E, _.display_name ?? E, "EDITOR");
8414
8414
  });
8415
8415
  }, v = (_) => {
@@ -8417,11 +8417,11 @@ function rg({ onClose: t }) {
8417
8417
  if (!E || Y(E))
8418
8418
  return;
8419
8419
  const R = Yt("AGENT", E);
8420
- U(R, async () => {
8420
+ G(R, async () => {
8421
8421
  await u("AGENT", E, _.name, "EDITOR");
8422
8422
  });
8423
8423
  }, r = (_) => {
8424
- U(null, async () => {
8424
+ G(null, async () => {
8425
8425
  await l(Je(_));
8426
8426
  });
8427
8427
  }, g = a.filter((_) => _.member_type === "HUMAN"), w = a.filter(
@@ -8860,9 +8860,12 @@ function bg(t, a) {
8860
8860
  async function Jn(t, a) {
8861
8861
  const s = await as();
8862
8862
  if (ao(s.id)) {
8863
- const i = await os(s.id, t), u = s.permissions ?? [], l = i.length > 0 ? [.../* @__PURE__ */ new Set([...u, ...i])] : u;
8864
- s.permissions = l, l.includes("GLOBAL_ADMIN") && (s.is_global_admin = !0);
8865
- }
8863
+ const i = await os(s.id, t), u = i.codes, l = s.permissions ?? [], y = u.length > 0 ? [.../* @__PURE__ */ new Set([...l, ...u])] : l;
8864
+ s.permissions = y, y.includes("GLOBAL_ADMIN") && (s.is_global_admin = !0), U.getState().setPermissionState(
8865
+ i.failed && y.length === 0 ? "failed" : "ok"
8866
+ );
8867
+ } else
8868
+ U.getState().setPermissionState("ok");
8866
8869
  a(s);
8867
8870
  }
8868
8871
  function to() {
@@ -8892,20 +8895,20 @@ function kg({
8892
8895
  return null;
8893
8896
  const O = Number(S);
8894
8897
  return Number.isFinite(O) && O > 0 ? O : null;
8895
- }, [a.search]), { currentProject: y, currentUser: f, projects: k, token: P } = q(
8898
+ }, [a.search]), { currentProject: y, currentUser: f, projects: k, token: P } = U(
8896
8899
  En((C) => ({
8897
8900
  currentProject: C.currentProject,
8898
8901
  currentUser: C.currentUser,
8899
8902
  projects: C.projects,
8900
8903
  token: C.token
8901
8904
  }))
8902
- ), j = q((C) => C.loadProjects), $ = q((C) => C.loadRunningExecutions), N = q((C) => C.updateCurrentUser), T = q((C) => C.selectFile), J = q((C) => C.clearCurrentProject), [Q, x] = d(!1), [A, U] = d(!1), [ne, Y] = d(null), I = le(!1), v = le(!1);
8905
+ ), j = U((C) => C.loadProjects), $ = U((C) => C.loadRunningExecutions), N = U((C) => C.updateCurrentUser), T = U((C) => C.selectFile), J = U((C) => C.clearCurrentProject), [Q, x] = d(!1), [A, G] = d(!1), [ne, Y] = d(null), I = le(!1), v = le(!1);
8903
8906
  H(() => {
8904
8907
  pg(P);
8905
8908
  }, [P]), H(() => {
8906
8909
  const C = dn.parse(a.search), S = String(C.newChat ?? "").trim();
8907
8910
  if (!S) return;
8908
- /^(1|true)$/i.test(S) || Y(S), I.current = !0, U(!0), delete C.newChat;
8911
+ /^(1|true)$/i.test(S) || Y(S), I.current = !0, G(!0), delete C.newChat;
8909
8912
  const O = dn.stringify(C);
8910
8913
  bt.replace({
8911
8914
  pathname: a.pathname,
@@ -8917,22 +8920,22 @@ function kg({
8917
8920
  v.current = !0;
8918
8921
  return;
8919
8922
  }
8920
- C != null && A && U(!1);
8923
+ C != null && A && G(!1);
8921
8924
  }, [y == null ? void 0 : y.id, A]);
8922
8925
  const [r, g] = d(
8923
- () => !!q.getState().currentUser
8926
+ () => !!U.getState().currentUser
8924
8927
  ), [w, _] = d(!1), [E, R] = d(null), p = le(!1), z = le(null), te = le(null), W = le(l);
8925
8928
  return W.current = l, H(() => {
8926
8929
  z.current = null, te.current = null;
8927
8930
  }, [l]), H(() => {
8928
8931
  ss();
8929
- const C = q.getState().token;
8932
+ const C = U.getState().token;
8930
8933
  if (C && rs(C)) {
8931
- localStorage.removeItem("z_team_token"), localStorage.removeItem("token"), localStorage.removeItem("USER_INFO"), q.setState({ token: "", currentUser: null }), wn();
8934
+ localStorage.removeItem("z_team_token"), localStorage.removeItem("token"), localStorage.removeItem("USER_INFO"), U.setState({ token: "", currentUser: null }), wn();
8932
8935
  return;
8933
8936
  }
8934
- if (q.getState().currentUser) {
8935
- const me = q.getState().token;
8937
+ if (U.getState().currentUser) {
8938
+ const me = U.getState().token;
8936
8939
  me && Jn(me, N).catch(() => {
8937
8940
  });
8938
8941
  return;
@@ -8941,12 +8944,12 @@ function kg({
8941
8944
  const Ie = 100;
8942
8945
  let Ae = !1, Le = 0;
8943
8946
  const de = 3, B = (me) => {
8944
- const Z = q.getState().token;
8947
+ const Z = U.getState().token;
8945
8948
  if (W.current != null) {
8946
8949
  S || (N(ba(me)), g(!0)), Jn(Z, (we) => {
8947
8950
  S || N(we);
8948
8951
  }).catch(() => {
8949
- !S && Z && (localStorage.removeItem("z_team_token"), q.setState({ token: "" }));
8952
+ !S && Z && (localStorage.removeItem("z_team_token"), U.setState({ token: "" }));
8950
8953
  });
8951
8954
  return;
8952
8955
  }
@@ -8956,7 +8959,7 @@ function kg({
8956
8959
  }),
8957
8960
  vg
8958
8961
  ).catch((we) => {
8959
- S || (!(we && we.timedOut) && Z && (localStorage.removeItem("z_team_token"), q.setState({ token: "" })), N(ba(me)));
8962
+ S || (!(we && we.timedOut) && Z && (localStorage.removeItem("z_team_token"), U.setState({ token: "" })), N(ba(me)));
8960
8963
  }).finally(() => {
8961
8964
  S || g(!0);
8962
8965
  });
@@ -9023,7 +9026,7 @@ function kg({
9023
9026
  }
9024
9027
  }, [f, j]), H(() => {
9025
9028
  if (!f || p.current || l != null) return;
9026
- const C = q.getState().lastSelectedProjectId, S = q.getState().lastSelectedFilePath;
9029
+ const C = U.getState().lastSelectedProjectId, S = U.getState().lastSelectedFilePath;
9027
9030
  if (!C) return;
9028
9031
  let O = !1, Ie = null;
9029
9032
  const Ae = async () => {
@@ -9032,7 +9035,7 @@ function kg({
9032
9035
  p.current = !0;
9033
9036
  return;
9034
9037
  }
9035
- const Le = q.getState().projects;
9038
+ const Le = U.getState().projects;
9036
9039
  if (Le.length === 0) {
9037
9040
  Ie = setTimeout(() => {
9038
9041
  Ae();
@@ -9044,12 +9047,12 @@ function kg({
9044
9047
  p.current = !0;
9045
9048
  return;
9046
9049
  }
9047
- const B = q.getState();
9050
+ const B = U.getState();
9048
9051
  if (B.currentProject && String(B.currentProject.id) === String(C)) {
9049
9052
  p.current = !0;
9050
9053
  return;
9051
9054
  }
9052
- if (p.current = !0, await q.getState().expandProject(de), !(O || !S))
9055
+ if (p.current = !0, await U.getState().expandProject(de), !(O || !S))
9053
9056
  try {
9054
9057
  await T(S);
9055
9058
  } catch {
@@ -9061,11 +9064,11 @@ function kg({
9061
9064
  };
9062
9065
  }, [f, k, T, l]), H(() => {
9063
9066
  var Le;
9064
- if (!r || l == null || !q.getState().currentUser)
9067
+ if (!r || l == null || !U.getState().currentUser)
9065
9068
  return;
9066
- const C = l == null ? "" : String(l), S = q.getState();
9069
+ const C = l == null ? "" : String(l), S = U.getState();
9067
9070
  if (zt((Le = S.currentProject) == null ? void 0 : Le.id, C)) {
9068
- z.current = C, p.current = !0, to(), q.getState().loadMessages().catch(() => {
9071
+ z.current = C, p.current = !0, to(), U.getState().loadMessages().catch(() => {
9069
9072
  });
9070
9073
  return;
9071
9074
  }
@@ -9076,7 +9079,7 @@ function kg({
9076
9079
  const Ie = async () => {
9077
9080
  const de = Date.now() + 4e3;
9078
9081
  for (; Date.now() < de; ) {
9079
- if (O || !q.getState().loading)
9082
+ if (O || !U.getState().loading)
9080
9083
  return;
9081
9084
  await new Promise((ie) => setTimeout(ie, 50));
9082
9085
  }
@@ -9089,7 +9092,7 @@ function kg({
9089
9092
  try {
9090
9093
  if (await Ie(), O)
9091
9094
  return;
9092
- let { token: B, projects: ie, expandProject: me } = q.getState(), Z = ie.find((pe) => pe.id === C);
9095
+ let { token: B, projects: ie, expandProject: me } = U.getState(), Z = ie.find((pe) => pe.id === C);
9093
9096
  if (!Z) {
9094
9097
  const pe = await _i(C, B);
9095
9098
  if (O)
@@ -9110,9 +9113,9 @@ function kg({
9110
9113
  const me = new Date(Date.now() - ie * 864e5), Z = `${me.getFullYear()}-${String(
9111
9114
  me.getMonth() + 1
9112
9115
  ).padStart(2, "0")}-${String(me.getDate()).padStart(2, "0")}`;
9113
- q.getState().loadProjects(Z);
9116
+ U.getState().loadProjects(Z);
9114
9117
  } else
9115
- q.getState().loadProjects();
9118
+ U.getState().loadProjects();
9116
9119
  })();
9117
9120
  }
9118
9121
  })(), () => {
@@ -9120,9 +9123,9 @@ function kg({
9120
9123
  };
9121
9124
  }, [r, l]), H(() => {
9122
9125
  if (!y) return;
9123
- q.getState().setObserverStatus(null);
9126
+ U.getState().setObserverStatus(null);
9124
9127
  const C = () => {
9125
- const de = q.getState();
9128
+ const de = U.getState();
9126
9129
  de.loadMessages().catch(() => {
9127
9130
  }), de.loadRunningExecutions().catch(() => {
9128
9131
  });
@@ -9131,11 +9134,11 @@ function kg({
9131
9134
  }), de.loadFileTree(void 0, !0).catch(() => {
9132
9135
  });
9133
9136
  }, S = Xo((de) => {
9134
- q.getState().setWsState(de);
9137
+ U.getState().setWsState(de);
9135
9138
  });
9136
9139
  es(y.id, P, C), $().catch(() => {
9137
9140
  });
9138
- const O = q.getState(), { handler: Ie, dispose: Ae } = Ps({
9141
+ const O = U.getState(), { handler: Ie, dispose: Ae } = Ps({
9139
9142
  projectId: y.id,
9140
9143
  token: P,
9141
9144
  updateExecution: O.updateExecution,
@@ -9149,7 +9152,7 @@ function kg({
9149
9152
  loadFileTree: O.loadFileTree
9150
9153
  }), Le = ns(Ie);
9151
9154
  return () => {
9152
- Le(), Ae(), ts(), S(), q.getState().setObserverStatus(null);
9155
+ Le(), Ae(), ts(), S(), U.getState().setObserverStatus(null);
9153
9156
  };
9154
9157
  }, [y == null ? void 0 : y.id, P]), u ? /* @__PURE__ */ e("div", { className: cn.loadingWrap, children: /* @__PURE__ */ e(gt, { description: "正在进入移动版工作台…" }) }) : !r || !f ? w ? /* @__PURE__ */ n("div", { className: cn.loadingWrap, children: [
9155
9158
  /* @__PURE__ */ e(gt, { description: "" }),
@@ -9177,14 +9180,14 @@ function kg({
9177
9180
  qf,
9178
9181
  {
9179
9182
  onNewProject: () => {
9180
- q.getState().currentProject && J();
9183
+ U.getState().currentProject && J();
9181
9184
  },
9182
9185
  onOpenTeam: () => x(!0),
9183
9186
  forcedChatMode: t,
9184
9187
  showNewChat: A,
9185
9188
  presetNewChatScenario: ne,
9186
- onOpenNewChat: () => U(!0),
9187
- onCloseNewChat: () => U(!1)
9189
+ onOpenNewChat: () => G(!0),
9190
+ onCloseNewChat: () => G(!1)
9188
9191
  }
9189
9192
  ),
9190
9193
  E != null ? /* @__PURE__ */ e("div", { className: cn.openingOverlay, children: /* @__PURE__ */ e(gt, { description: `正在打开工程 ${E}…` }) }) : null,
@@ -9197,7 +9200,7 @@ const M_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9197
9200
  default: kg
9198
9201
  }, Symbol.toStringTag, { value: "Module" }));
9199
9202
  export {
9200
- Sc as $,
9203
+ y_ as $,
9201
9204
  I_ as A,
9202
9205
  a_ as B,
9203
9206
  qi as C,
@@ -9211,27 +9214,28 @@ export {
9211
9214
  Qg as K,
9212
9215
  T_ as L,
9213
9216
  Zg as M,
9214
- e_ as N,
9215
- n_ as O,
9217
+ Ai as N,
9218
+ e_ as O,
9216
9219
  yo as P,
9217
- t_ as Q,
9220
+ n_ as Q,
9218
9221
  ji as R,
9219
9222
  pp as S,
9220
9223
  C_ as T,
9221
9224
  Ri as U,
9222
- Xg as V,
9225
+ t_ as V,
9223
9226
  Ac as W,
9224
- v_ as X,
9225
- __ as Y,
9226
- b_ as Z,
9227
- y_ as _,
9227
+ Xg as X,
9228
+ v_ as Y,
9229
+ __ as Z,
9230
+ b_ as _,
9228
9231
  c_ as a,
9229
- fo as a0,
9230
- Zi as a1,
9231
- w_ as a2,
9232
- bo as a3,
9233
- zi as a4,
9234
- M_ as a5,
9232
+ Sc as a0,
9233
+ fo as a1,
9234
+ Zi as a2,
9235
+ w_ as a3,
9236
+ bo as a4,
9237
+ zi as a5,
9238
+ M_ as a6,
9235
9239
  m_ as b,
9236
9240
  r_ as c,
9237
9241
  h_ as d,