@fencyai/react 0.1.207 → 0.1.208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-task/AgentTaskProgressVerbose.d.ts.map +1 -1
- package/dist/agent-task/data-types/ExploreMemoriesClassifying.d.ts +14 -0
- package/dist/agent-task/data-types/ExploreMemoriesClassifying.d.ts.map +1 -0
- package/dist/agent-task/translations.d.ts +4 -0
- package/dist/agent-task/translations.d.ts.map +1 -1
- package/dist/index.js +308 -214
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { StreamEventManager as ze, StreamCacheManager as
|
|
3
|
-
import { StreamEventManager as
|
|
4
|
-
import Ue, { createContext as fe, useState as
|
|
2
|
+
import { StreamEventManager as ze, StreamCacheManager as Pe, toStreamData as Be, taskReducer as Le, initialTaskStoreState as Ae, createAgentTaskFileDownloadLink as De, isTerminalAgentTaskEventData as We, agentTaskErrorFromEventData as $e, shouldAppendCompletedToProgress as Ne, getTerminalCreateAgentTaskResponse as He, createAgentTask as Ge, mapCreateAgentTaskParams as Oe, parseAgentTaskFileIdFromFencyFileHref as _e, parseAgentTaskMemoryFromFencyMemHref as qe } from "@fencyai/js";
|
|
3
|
+
import { StreamEventManager as _n } from "@fencyai/js";
|
|
4
|
+
import Ue, { createContext as fe, useState as C, useRef as A, useEffect as H, useCallback as L, useContext as xe, useReducer as je, useMemo as z, useLayoutEffect as Qe } from "react";
|
|
5
5
|
import { motion as v, useInView as Ke, AnimatePresence as Ve } from "motion/react";
|
|
6
6
|
import Xe from "react-markdown";
|
|
7
7
|
import { Prism as ke } from "react-syntax-highlighter";
|
|
@@ -9,14 +9,14 @@ import Ye from "remark-gfm";
|
|
|
9
9
|
import './assets/index.css';const Se = fe(
|
|
10
10
|
void 0
|
|
11
11
|
);
|
|
12
|
-
function
|
|
12
|
+
function $n({
|
|
13
13
|
fency: e,
|
|
14
14
|
fetchCreateStreamClientToken: o,
|
|
15
15
|
children: t
|
|
16
16
|
}) {
|
|
17
|
-
const [n, i] =
|
|
17
|
+
const [n, i] = C(
|
|
18
18
|
null
|
|
19
|
-
), [a, l] =
|
|
19
|
+
), [a, l] = C(!0), [c, p] = C(null), [u, g] = C([]), h = A(null), x = A(null);
|
|
20
20
|
H(() => {
|
|
21
21
|
e.then((d) => {
|
|
22
22
|
i(d), l(!1);
|
|
@@ -26,18 +26,18 @@ function Dn({
|
|
|
26
26
|
}, [e]), H(() => {
|
|
27
27
|
if (!n) return;
|
|
28
28
|
x.current || (x.current = new ze(n));
|
|
29
|
-
const d = new
|
|
29
|
+
const d = new Pe(
|
|
30
30
|
n,
|
|
31
31
|
o
|
|
32
32
|
);
|
|
33
33
|
h.current = d, d.startPeriodicCleanup();
|
|
34
|
-
const f = d.onChange((
|
|
34
|
+
const f = d.onChange((b) => {
|
|
35
35
|
var M;
|
|
36
|
-
g(
|
|
36
|
+
g(b), (M = x.current) == null || M.updateStreams(b);
|
|
37
37
|
});
|
|
38
38
|
return () => {
|
|
39
|
-
var
|
|
40
|
-
f(), d.destroy(), h.current = null, (
|
|
39
|
+
var b;
|
|
40
|
+
f(), d.destroy(), h.current = null, (b = x.current) == null || b.cleanup(), x.current = null;
|
|
41
41
|
};
|
|
42
42
|
}, [n, o]);
|
|
43
43
|
const T = L(
|
|
@@ -73,7 +73,7 @@ function be() {
|
|
|
73
73
|
return e;
|
|
74
74
|
}
|
|
75
75
|
const Je = (e) => {
|
|
76
|
-
const o = be(), [t, n] =
|
|
76
|
+
const o = be(), [t, n] = C(null), i = A(
|
|
77
77
|
`subscriber-${Math.random().toString(36).substr(2, 9)}`
|
|
78
78
|
);
|
|
79
79
|
return H(() => {
|
|
@@ -81,7 +81,7 @@ const Je = (e) => {
|
|
|
81
81
|
const l = {
|
|
82
82
|
onMessage: (p, u) => {
|
|
83
83
|
var h, x, T;
|
|
84
|
-
const g =
|
|
84
|
+
const g = Be(p);
|
|
85
85
|
if (g)
|
|
86
86
|
switch (g.type) {
|
|
87
87
|
case "STREAM_TIMEOUT":
|
|
@@ -143,7 +143,7 @@ function Ze(e) {
|
|
|
143
143
|
}
|
|
144
144
|
return e instanceof Error ? e.message : typeof e == "string" ? e : "Unknown error during agent task creation";
|
|
145
145
|
}
|
|
146
|
-
const
|
|
146
|
+
const Nn = (e) => {
|
|
147
147
|
const o = be(), [t, n] = je(Le, Ae), i = A(/* @__PURE__ */ new Set()), a = A(/* @__PURE__ */ new Map()), l = A(/* @__PURE__ */ new Map()), c = L(
|
|
148
148
|
(y) => {
|
|
149
149
|
if (y)
|
|
@@ -156,8 +156,8 @@ const Wn = (e) => {
|
|
|
156
156
|
});
|
|
157
157
|
if (f.type === "error")
|
|
158
158
|
throw new Error(f.error.message);
|
|
159
|
-
const
|
|
160
|
-
|
|
159
|
+
const b = document.createElement("a");
|
|
160
|
+
b.href = f.downloadLink, b.download = "", b.click();
|
|
161
161
|
};
|
|
162
162
|
},
|
|
163
163
|
[o.fency.baseUrl, o.fency.publishableKey]
|
|
@@ -165,15 +165,15 @@ const Wn = (e) => {
|
|
|
165
165
|
(y, s) => {
|
|
166
166
|
const d = t.tasks.filter(
|
|
167
167
|
(f) => {
|
|
168
|
-
var
|
|
169
|
-
return f.streamId === y && f.loading && ((
|
|
168
|
+
var b;
|
|
169
|
+
return f.streamId === y && f.loading && ((b = f.confirmedData) == null ? void 0 : b.taskId);
|
|
170
170
|
}
|
|
171
171
|
).map((f) => f.confirmedData.taskId);
|
|
172
172
|
n({ type: "STREAM_FAILURE", streamId: y, error: s });
|
|
173
173
|
for (const f of d) {
|
|
174
174
|
i.current.delete(f);
|
|
175
|
-
const
|
|
176
|
-
|
|
175
|
+
const b = a.current.get(f);
|
|
176
|
+
b && (a.current.delete(f), b({ type: "error", error: s }));
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
[t.tasks]
|
|
@@ -184,17 +184,17 @@ const Wn = (e) => {
|
|
|
184
184
|
const s = y.data;
|
|
185
185
|
if (We(s)) {
|
|
186
186
|
if (s.eventType === "Error") {
|
|
187
|
-
const
|
|
188
|
-
if (!
|
|
187
|
+
const b = $e(s);
|
|
188
|
+
if (!b) return;
|
|
189
189
|
n({
|
|
190
190
|
type: "TASK_ERROR",
|
|
191
191
|
agentTaskId: y.agentTaskId,
|
|
192
|
-
error:
|
|
192
|
+
error: b
|
|
193
193
|
});
|
|
194
194
|
const M = a.current.get(
|
|
195
195
|
y.agentTaskId
|
|
196
196
|
);
|
|
197
|
-
M && (a.current.delete(y.agentTaskId), M({ type: "error", error:
|
|
197
|
+
M && (a.current.delete(y.agentTaskId), M({ type: "error", error: b }));
|
|
198
198
|
return;
|
|
199
199
|
}
|
|
200
200
|
n({
|
|
@@ -208,12 +208,12 @@ const Wn = (e) => {
|
|
|
208
208
|
);
|
|
209
209
|
if (f) {
|
|
210
210
|
a.current.delete(y.agentTaskId);
|
|
211
|
-
const
|
|
211
|
+
const b = He(
|
|
212
212
|
y.streamId,
|
|
213
213
|
y.agentTaskId,
|
|
214
214
|
s
|
|
215
215
|
);
|
|
216
|
-
|
|
216
|
+
b && f(b);
|
|
217
217
|
}
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
@@ -248,9 +248,9 @@ const Wn = (e) => {
|
|
|
248
248
|
throw new Error(
|
|
249
249
|
"fetchCreateAgentTaskClientToken must be provided either in useAgentTasks props or in createAgentTask options"
|
|
250
250
|
);
|
|
251
|
-
const
|
|
251
|
+
const b = (s == null ? void 0 : s.fetchAgentTaskFileDownloadClientToken) ?? e.fetchAgentTaskFileDownloadClientToken, M = await g();
|
|
252
252
|
if (M.type === "success") {
|
|
253
|
-
const W = (/* @__PURE__ */ new Date()).toISOString(),
|
|
253
|
+
const W = (/* @__PURE__ */ new Date()).toISOString(), P = {
|
|
254
254
|
taskKey: d,
|
|
255
255
|
streamId: M.stream.id,
|
|
256
256
|
triggeredAt: W,
|
|
@@ -261,10 +261,10 @@ const Wn = (e) => {
|
|
|
261
261
|
loading: !0,
|
|
262
262
|
loadingText: s == null ? void 0 : s.loadingText
|
|
263
263
|
};
|
|
264
|
-
n({ type: "TASK_PENDING", task:
|
|
265
|
-
...
|
|
264
|
+
n({ type: "TASK_PENDING", task: P }), (D = s == null ? void 0 : s.onTaskRegistered) == null || D.call(s, {
|
|
265
|
+
...P,
|
|
266
266
|
downloadFile: c(
|
|
267
|
-
|
|
267
|
+
b
|
|
268
268
|
)
|
|
269
269
|
});
|
|
270
270
|
try {
|
|
@@ -280,7 +280,7 @@ const Wn = (e) => {
|
|
|
280
280
|
I.agentTask.id
|
|
281
281
|
);
|
|
282
282
|
const G = c(
|
|
283
|
-
|
|
283
|
+
b
|
|
284
284
|
);
|
|
285
285
|
return G && l.current.set(
|
|
286
286
|
I.agentTask.id,
|
|
@@ -291,10 +291,10 @@ const Wn = (e) => {
|
|
|
291
291
|
taskId: I.agentTask.id,
|
|
292
292
|
createdAt: I.agentTask.createdAt
|
|
293
293
|
}), await new Promise(
|
|
294
|
-
(
|
|
294
|
+
(B) => {
|
|
295
295
|
a.current.set(
|
|
296
296
|
I.agentTask.id,
|
|
297
|
-
|
|
297
|
+
B
|
|
298
298
|
);
|
|
299
299
|
}
|
|
300
300
|
);
|
|
@@ -1098,10 +1098,10 @@ function ar({
|
|
|
1098
1098
|
);
|
|
1099
1099
|
return /* @__PURE__ */ r(ve.Provider, { value: t, children: o });
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function S() {
|
|
1102
1102
|
return xe(ve);
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function Ce(e) {
|
|
1105
1105
|
return e === "dark" ? or : tr;
|
|
1106
1106
|
}
|
|
1107
1107
|
const N = ({
|
|
@@ -1109,18 +1109,18 @@ const N = ({
|
|
|
1109
1109
|
onFileDownload: o,
|
|
1110
1110
|
onMemoryClick: t
|
|
1111
1111
|
}) => {
|
|
1112
|
-
const { theme: n } =
|
|
1112
|
+
const { theme: n } = S(), i = Ce(n), [a, l] = C(
|
|
1113
1113
|
null
|
|
1114
|
-
), [c, p] =
|
|
1114
|
+
), [c, p] = C(
|
|
1115
1115
|
null
|
|
1116
|
-
), [u, g] =
|
|
1116
|
+
), [u, g] = C(!1), [h, x] = C(!1), T = L(
|
|
1117
1117
|
(f) => {
|
|
1118
1118
|
o && (l(null), g(!0), (async () => {
|
|
1119
1119
|
try {
|
|
1120
1120
|
await o(f);
|
|
1121
|
-
} catch (
|
|
1121
|
+
} catch (b) {
|
|
1122
1122
|
l(
|
|
1123
|
-
|
|
1123
|
+
b instanceof Error ? b.message : "Download failed"
|
|
1124
1124
|
);
|
|
1125
1125
|
} finally {
|
|
1126
1126
|
g(!1);
|
|
@@ -1133,9 +1133,9 @@ const N = ({
|
|
|
1133
1133
|
t && (p(null), x(!0), (async () => {
|
|
1134
1134
|
try {
|
|
1135
1135
|
await t(f);
|
|
1136
|
-
} catch (
|
|
1136
|
+
} catch (b) {
|
|
1137
1137
|
p(
|
|
1138
|
-
|
|
1138
|
+
b instanceof Error ? b.message : "Memory link action failed"
|
|
1139
1139
|
);
|
|
1140
1140
|
} finally {
|
|
1141
1141
|
x(!1);
|
|
@@ -1145,20 +1145,20 @@ const N = ({
|
|
|
1145
1145
|
[t]
|
|
1146
1146
|
), s = z(() => ({
|
|
1147
1147
|
code(f) {
|
|
1148
|
-
const { children:
|
|
1148
|
+
const { children: b, className: M, node: D, ref: W, ...P } = f, $ = /language-(\w+)/.exec(M || "");
|
|
1149
1149
|
return $ ? /* @__PURE__ */ r(
|
|
1150
1150
|
ke,
|
|
1151
1151
|
{
|
|
1152
|
-
...
|
|
1152
|
+
...P,
|
|
1153
1153
|
PreTag: "div",
|
|
1154
|
-
children: String(
|
|
1154
|
+
children: String(b).replace(/\n$/, ""),
|
|
1155
1155
|
language: $[1],
|
|
1156
1156
|
style: i
|
|
1157
1157
|
}
|
|
1158
|
-
) : /* @__PURE__ */ r("code", { ...
|
|
1158
|
+
) : /* @__PURE__ */ r("code", { ...P, className: M, children: String(b) });
|
|
1159
1159
|
},
|
|
1160
1160
|
a(f) {
|
|
1161
|
-
const { children:
|
|
1161
|
+
const { children: b, href: M, ...D } = f, W = M ? _e(M) : null;
|
|
1162
1162
|
if (W != null)
|
|
1163
1163
|
return o ? /* @__PURE__ */ r("span", { className: "fency-file-download-wrap", children: /* @__PURE__ */ r(
|
|
1164
1164
|
"button",
|
|
@@ -1167,7 +1167,7 @@ const N = ({
|
|
|
1167
1167
|
className: "fency-file-download-button",
|
|
1168
1168
|
disabled: u,
|
|
1169
1169
|
onClick: () => T(W),
|
|
1170
|
-
children:
|
|
1170
|
+
children: b
|
|
1171
1171
|
}
|
|
1172
1172
|
) }) : /* @__PURE__ */ r("span", { className: "fency-file-download-wrap", children: /* @__PURE__ */ r(
|
|
1173
1173
|
"button",
|
|
@@ -1182,11 +1182,11 @@ const N = ({
|
|
|
1182
1182
|
"File download is not configured. Please provide fetchAgentTaskFileDownloadClientToken."
|
|
1183
1183
|
);
|
|
1184
1184
|
},
|
|
1185
|
-
children:
|
|
1185
|
+
children: b
|
|
1186
1186
|
}
|
|
1187
1187
|
) });
|
|
1188
|
-
const
|
|
1189
|
-
return
|
|
1188
|
+
const P = M ? qe(M) : null;
|
|
1189
|
+
return P != null ? t ? /* @__PURE__ */ r("span", { className: "fency-file-download-wrap", children: /* @__PURE__ */ r(
|
|
1190
1190
|
"button",
|
|
1191
1191
|
{
|
|
1192
1192
|
type: "button",
|
|
@@ -1194,20 +1194,20 @@ const N = ({
|
|
|
1194
1194
|
disabled: h,
|
|
1195
1195
|
onClick: () => y({
|
|
1196
1196
|
source: {
|
|
1197
|
-
memoryId:
|
|
1198
|
-
memoryTypeId:
|
|
1197
|
+
memoryId: P.memoryId,
|
|
1198
|
+
memoryTypeId: P.memoryTypeId ?? ""
|
|
1199
1199
|
}
|
|
1200
1200
|
}),
|
|
1201
|
-
children:
|
|
1201
|
+
children: b
|
|
1202
1202
|
}
|
|
1203
|
-
) }) : /* @__PURE__ */ r("span", { children:
|
|
1203
|
+
) }) : /* @__PURE__ */ r("span", { children: b }) : /* @__PURE__ */ r(
|
|
1204
1204
|
"a",
|
|
1205
1205
|
{
|
|
1206
1206
|
href: M,
|
|
1207
1207
|
target: "_blank",
|
|
1208
1208
|
rel: "noopener noreferrer",
|
|
1209
1209
|
...D,
|
|
1210
|
-
children:
|
|
1210
|
+
children: b
|
|
1211
1211
|
}
|
|
1212
1212
|
);
|
|
1213
1213
|
}
|
|
@@ -1248,7 +1248,7 @@ const N = ({
|
|
|
1248
1248
|
)
|
|
1249
1249
|
] });
|
|
1250
1250
|
}, lr = ({ data: e }) => {
|
|
1251
|
-
const { theme: o } =
|
|
1251
|
+
const { theme: o } = S(), t = Ce(o), n = e.response.jsonResponse;
|
|
1252
1252
|
let i;
|
|
1253
1253
|
try {
|
|
1254
1254
|
i = JSON.stringify(JSON.parse(n), null, 2);
|
|
@@ -1382,6 +1382,29 @@ const N = ({
|
|
|
1382
1382
|
"Schlepping...",
|
|
1383
1383
|
"Kwisatz-haderaching..."
|
|
1384
1384
|
],
|
|
1385
|
+
exploreClassifying: "Analyzing task...",
|
|
1386
|
+
exploreClassifyingPhrases: [
|
|
1387
|
+
"Spelunking...",
|
|
1388
|
+
"Divining...",
|
|
1389
|
+
"Rummaging...",
|
|
1390
|
+
"Deciphering...",
|
|
1391
|
+
"Unraveling...",
|
|
1392
|
+
"Concocting...",
|
|
1393
|
+
"Percolating...",
|
|
1394
|
+
"Noodling...",
|
|
1395
|
+
"Cogitating...",
|
|
1396
|
+
"Pondering...",
|
|
1397
|
+
"Snooping...",
|
|
1398
|
+
"Tinkering...",
|
|
1399
|
+
"Scavenging...",
|
|
1400
|
+
"Untangling...",
|
|
1401
|
+
"Inspecting...",
|
|
1402
|
+
"Scheming...",
|
|
1403
|
+
"Ferreting...",
|
|
1404
|
+
"Conjuring...",
|
|
1405
|
+
"Calibrating...",
|
|
1406
|
+
"Fossicking..."
|
|
1407
|
+
],
|
|
1385
1408
|
explorePlanning: "Planning approach...",
|
|
1386
1409
|
exploreFindMemoriesQuery: "Finding memories: '{query}'",
|
|
1387
1410
|
exploreFindMemoriesPrefix: "Finding memories: ",
|
|
@@ -1506,6 +1529,29 @@ const N = ({
|
|
|
1506
1529
|
"Sleper...",
|
|
1507
1530
|
"Kwisatz-haderacher..."
|
|
1508
1531
|
],
|
|
1532
|
+
exploreClassifying: "Analyserer oppgave...",
|
|
1533
|
+
exploreClassifyingPhrases: [
|
|
1534
|
+
"Spelunker...",
|
|
1535
|
+
"Spaner...",
|
|
1536
|
+
"Roter...",
|
|
1537
|
+
"Dechiffrerer...",
|
|
1538
|
+
"Noster opp...",
|
|
1539
|
+
"Koker opp...",
|
|
1540
|
+
"Filtrerer...",
|
|
1541
|
+
"Grubler...",
|
|
1542
|
+
"Funderer...",
|
|
1543
|
+
"Snuser...",
|
|
1544
|
+
"Pusler...",
|
|
1545
|
+
"Leter...",
|
|
1546
|
+
"Nister...",
|
|
1547
|
+
"Gransker...",
|
|
1548
|
+
"Poengterer...",
|
|
1549
|
+
"Smir renker...",
|
|
1550
|
+
"Graver...",
|
|
1551
|
+
"Tryller...",
|
|
1552
|
+
"Kalibrerer...",
|
|
1553
|
+
"Snubler..."
|
|
1554
|
+
],
|
|
1509
1555
|
explorePlanning: "Planlegger tilnærming...",
|
|
1510
1556
|
exploreFindMemoriesQuery: "Finner minner: '{query}'",
|
|
1511
1557
|
exploreFindMemoriesPrefix: "Finner minner: ",
|
|
@@ -1531,7 +1577,7 @@ function Q(e, o) {
|
|
|
1531
1577
|
}
|
|
1532
1578
|
return t.join(", ");
|
|
1533
1579
|
}
|
|
1534
|
-
function
|
|
1580
|
+
function w({
|
|
1535
1581
|
text: e,
|
|
1536
1582
|
duration: o = 2,
|
|
1537
1583
|
delay: t = 0,
|
|
@@ -1546,7 +1592,7 @@ function C({
|
|
|
1546
1592
|
shimmerColor: h,
|
|
1547
1593
|
direction: x = "fromBottom"
|
|
1548
1594
|
}) {
|
|
1549
|
-
const { colors: T } =
|
|
1595
|
+
const { colors: T } = S(), y = g ?? T.shimmerBase, s = h ?? T.shimmerHighlight, d = A(null), f = Ke(d, { once: c, margin: p }), b = z(() => e.length * u, [e, u]), M = !l || f, D = x === "fromBottom" ? "100% center" : "-100% center", W = x === "fromBottom" ? "0% center" : "200% center";
|
|
1550
1596
|
return /* @__PURE__ */ r(
|
|
1551
1597
|
v.span,
|
|
1552
1598
|
{
|
|
@@ -1561,7 +1607,7 @@ function C({
|
|
|
1561
1607
|
color: "transparent",
|
|
1562
1608
|
WebkitTextFillColor: "transparent",
|
|
1563
1609
|
backgroundRepeat: "no-repeat, padding-box",
|
|
1564
|
-
"--spread": `${
|
|
1610
|
+
"--spread": `${b}px`,
|
|
1565
1611
|
"--base-color": y,
|
|
1566
1612
|
"--shimmer-color": s,
|
|
1567
1613
|
"--shimmer-bg": "linear-gradient(90deg, transparent calc(50% - var(--spread)), var(--shimmer-color), transparent calc(50% + var(--spread)))",
|
|
@@ -1593,7 +1639,7 @@ function C({
|
|
|
1593
1639
|
);
|
|
1594
1640
|
}
|
|
1595
1641
|
const X = 5, q = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n, compactBelow: i = !1 }) => {
|
|
1596
|
-
const { colors: a } =
|
|
1642
|
+
const { colors: a } = S(), [l, c] = C(!1), u = (e.memories ?? []).map((b) => b.memoryTitle), g = u.length > 0, h = g && u.length > X, x = h && !l ? u.slice(0, X) : u, T = u.length - X, y = !h || l, s = `${n.searchingFor}'${e.queryDescription}'`, d = g ? `${n.searchingIn}${Q(
|
|
1597
1643
|
x,
|
|
1598
1644
|
y ? n.and : void 0
|
|
1599
1645
|
)}` : "", f = g ? `${s}${d}` : `${n.searchingPrefix}${e.queryDescription}`;
|
|
@@ -1609,7 +1655,7 @@ const X = 5, q = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n, compact
|
|
|
1609
1655
|
initial: { opacity: 0, y: -10 },
|
|
1610
1656
|
animate: { opacity: 1, y: 0 },
|
|
1611
1657
|
transition: { duration: 0.3, delay: 0 },
|
|
1612
|
-
children: o && !t && !h ? /* @__PURE__ */ r(
|
|
1658
|
+
children: o && !t && !h ? /* @__PURE__ */ r(w, { text: f, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ m(R, { children: [
|
|
1613
1659
|
/* @__PURE__ */ r("span", { style: { color: a.textSecondary }, children: g ? /* @__PURE__ */ m(R, { children: [
|
|
1614
1660
|
n.searchingFor,
|
|
1615
1661
|
/* @__PURE__ */ m("span", { style: { fontWeight: 600 }, children: [
|
|
@@ -1688,7 +1734,7 @@ const X = 5, q = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n, compact
|
|
|
1688
1734
|
size: o = 24,
|
|
1689
1735
|
borderWidth: t = 7
|
|
1690
1736
|
}) => {
|
|
1691
|
-
const { colors: n } =
|
|
1737
|
+
const { colors: n } = S(), i = e ?? n.checkmarkColor, a = o * 0.5;
|
|
1692
1738
|
return /* @__PURE__ */ r(
|
|
1693
1739
|
"span",
|
|
1694
1740
|
{
|
|
@@ -1756,13 +1802,13 @@ function te(e) {
|
|
|
1756
1802
|
if (o !== "") return o;
|
|
1757
1803
|
if (e.memoryTypeId !== "") return e.memoryTypeId;
|
|
1758
1804
|
}
|
|
1759
|
-
function
|
|
1805
|
+
function we(e) {
|
|
1760
1806
|
return e.chunks.filter((o) => o.relation === "MATCH").length;
|
|
1761
1807
|
}
|
|
1762
1808
|
function ur(e, o) {
|
|
1763
1809
|
let t = 0, n = 0;
|
|
1764
1810
|
for (const l of e)
|
|
1765
|
-
t +=
|
|
1811
|
+
t += we(l), l.matchingChunkScore > n && (n = l.matchingChunkScore);
|
|
1766
1812
|
const i = t === 1 ? o.chunkFound : k(o.chunksFound, { n: t }), a = k(o.scoreLabel, {
|
|
1767
1813
|
n: n.toFixed(2)
|
|
1768
1814
|
});
|
|
@@ -1789,7 +1835,7 @@ function gr({
|
|
|
1789
1835
|
onSearchResultClick: o,
|
|
1790
1836
|
t
|
|
1791
1837
|
}) {
|
|
1792
|
-
const { colors: n } =
|
|
1838
|
+
const { colors: n } = S(), [i, a] = C(null), l = !!o;
|
|
1793
1839
|
return /* @__PURE__ */ r(
|
|
1794
1840
|
"div",
|
|
1795
1841
|
{
|
|
@@ -1931,7 +1977,7 @@ function hr({
|
|
|
1931
1977
|
onToggle: n,
|
|
1932
1978
|
onSearchResultClick: i
|
|
1933
1979
|
}) {
|
|
1934
|
-
const { colors: a } =
|
|
1980
|
+
const { colors: a } = S(), l = e.items.map((p) => p.item), c = l.some((p) => p.chunks.length > 0);
|
|
1935
1981
|
return /* @__PURE__ */ m(
|
|
1936
1982
|
v.div,
|
|
1937
1983
|
{
|
|
@@ -2054,10 +2100,10 @@ const ie = ({
|
|
|
2054
2100
|
t,
|
|
2055
2101
|
compactTop: n = !1
|
|
2056
2102
|
}) => {
|
|
2057
|
-
const { colors: i } =
|
|
2058
|
-
(s, d) => s +
|
|
2103
|
+
const { colors: i } = S(), a = e.items, l = a.reduce(
|
|
2104
|
+
(s, d) => s + we(d),
|
|
2059
2105
|
0
|
|
2060
|
-
), c = new Set(a.map((s) => s.memoryId)).size, [p, u] =
|
|
2106
|
+
), c = new Set(a.map((s) => s.memoryId)).size, [p, u] = C({}), g = L((s) => {
|
|
2061
2107
|
u((d) => ({
|
|
2062
2108
|
...d,
|
|
2063
2109
|
[s]: !d[s]
|
|
@@ -2151,7 +2197,7 @@ const xr = ({
|
|
|
2151
2197
|
)
|
|
2152
2198
|
] });
|
|
2153
2199
|
}, Y = 5, kr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => {
|
|
2154
|
-
const { colors: i } =
|
|
2200
|
+
const { colors: i } = S(), [a, l] = C(!1), c = e.titles, p = c.length > 0, u = p && c.length > Y, g = u && !a ? c.slice(0, Y) : c, h = c.length - Y, x = !u || a, T = p ? `${n.findingMemoriesIn}${Q(
|
|
2155
2201
|
g,
|
|
2156
2202
|
x ? n.and : void 0
|
|
2157
2203
|
)}` : n.findingMemories;
|
|
@@ -2165,7 +2211,7 @@ const xr = ({
|
|
|
2165
2211
|
initial: { opacity: 0, y: -10 },
|
|
2166
2212
|
animate: { opacity: 1, y: 0 },
|
|
2167
2213
|
transition: { duration: 0.3, delay: 0 },
|
|
2168
|
-
children: o && !t && !u ? /* @__PURE__ */ r(
|
|
2214
|
+
children: o && !t && !u ? /* @__PURE__ */ r(w, { text: T, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ m(R, { children: [
|
|
2169
2215
|
/* @__PURE__ */ r("span", { style: { color: i.textSecondary }, children: T }),
|
|
2170
2216
|
u && !a && /* @__PURE__ */ m(R, { children: [
|
|
2171
2217
|
" ",
|
|
@@ -2230,7 +2276,7 @@ const xr = ({
|
|
|
2230
2276
|
)
|
|
2231
2277
|
] });
|
|
2232
2278
|
}, J = 5, Sr = ({ data: e, t: o }) => {
|
|
2233
|
-
const { colors: t } =
|
|
2279
|
+
const { colors: t } = S(), [n, i] = C(!1), l = e.memories.map((y) => y.memoryTitle), c = l.length > 0, p = c && l.length > J, u = p && !n ? l.slice(0, J) : l, g = l.length - J, h = !p || n, x = l.length === 1 ? o.memoryFound : o.memoriesFoundPrefix, T = c ? `${x}${Q(
|
|
2234
2280
|
u,
|
|
2235
2281
|
h ? o.and : void 0
|
|
2236
2282
|
)}` : o.memoriesFound;
|
|
@@ -2293,7 +2339,7 @@ const xr = ({
|
|
|
2293
2339
|
}
|
|
2294
2340
|
) });
|
|
2295
2341
|
}, ce = ({ isLatest: e = !1, durationSeconds: o, t }) => {
|
|
2296
|
-
const { colors: n } =
|
|
2342
|
+
const { colors: n } = S(), i = t.addingSources;
|
|
2297
2343
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
2298
2344
|
/* @__PURE__ */ r(
|
|
2299
2345
|
v.div,
|
|
@@ -2307,7 +2353,7 @@ const xr = ({
|
|
|
2307
2353
|
initial: { opacity: 0, y: -10 },
|
|
2308
2354
|
animate: { opacity: 1, y: 0 },
|
|
2309
2355
|
transition: { duration: 0.3, delay: 0 },
|
|
2310
|
-
children: e && !o ? /* @__PURE__ */ r(
|
|
2356
|
+
children: e && !o ? /* @__PURE__ */ r(w, { text: i, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: n.textSecondary }, children: i })
|
|
2311
2357
|
}
|
|
2312
2358
|
),
|
|
2313
2359
|
o !== void 0 && /* @__PURE__ */ r(
|
|
@@ -2337,7 +2383,7 @@ function br(e, o) {
|
|
|
2337
2383
|
return k(o.pageMultiple, { list: n, n: t });
|
|
2338
2384
|
}
|
|
2339
2385
|
const Me = ({ data: e, onSourceClick: o, t }) => {
|
|
2340
|
-
const { colors: n } =
|
|
2386
|
+
const { colors: n } = S(), [i, a] = C(null);
|
|
2341
2387
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
2342
2388
|
/* @__PURE__ */ r(
|
|
2343
2389
|
v.div,
|
|
@@ -2377,7 +2423,7 @@ const Me = ({ data: e, onSourceClick: o, t }) => {
|
|
|
2377
2423
|
onSourceClick: i,
|
|
2378
2424
|
t: a
|
|
2379
2425
|
}) => {
|
|
2380
|
-
const { colors: l } =
|
|
2426
|
+
const { colors: l } = S(), [c, p] = C(!1), u = !!i, g = t === e.memoryId, h = e.pageNumbers ?? [], x = br(h, a);
|
|
2381
2427
|
return /* @__PURE__ */ m(
|
|
2382
2428
|
v.div,
|
|
2383
2429
|
{
|
|
@@ -2447,7 +2493,7 @@ const Me = ({ data: e, onSourceClick: o, t }) => {
|
|
|
2447
2493
|
size: o = 32,
|
|
2448
2494
|
lineWidth: t = 2
|
|
2449
2495
|
}) => {
|
|
2450
|
-
const { colors: n } =
|
|
2496
|
+
const { colors: n } = S(), i = e ?? n.xmarkColor, a = o + 1, l = (o - t) / 2, c = (o - a) / 2, p = {
|
|
2451
2497
|
position: "absolute",
|
|
2452
2498
|
left: l,
|
|
2453
2499
|
top: c,
|
|
@@ -2494,12 +2540,12 @@ function vr({
|
|
|
2494
2540
|
return e.error != null ? /* @__PURE__ */ r(_, { size: 15, lineWidth: 2 }) : e.result != null ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : o ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : /* @__PURE__ */ r("span", { className: "explore-memory-loader" });
|
|
2495
2541
|
}
|
|
2496
2542
|
const de = 80;
|
|
2497
|
-
function
|
|
2543
|
+
function Cr({
|
|
2498
2544
|
memory: e,
|
|
2499
2545
|
completed: o,
|
|
2500
2546
|
t
|
|
2501
2547
|
}) {
|
|
2502
|
-
const { colors: n } =
|
|
2548
|
+
const { colors: n } = S(), [i, a] = C(!1), l = e.result ?? e.error, c = l != null && l.length > de, p = l != null ? i || !c ? l : `${l.slice(0, de)}...` : void 0, u = c, g = e.error != null;
|
|
2503
2549
|
return /* @__PURE__ */ m(
|
|
2504
2550
|
v.div,
|
|
2505
2551
|
{
|
|
@@ -2579,8 +2625,8 @@ function wr({
|
|
|
2579
2625
|
}
|
|
2580
2626
|
);
|
|
2581
2627
|
}
|
|
2582
|
-
const
|
|
2583
|
-
|
|
2628
|
+
const wr = ({ data: e, completed: o, t }) => /* @__PURE__ */ r("div", { style: { paddingTop: "0px", paddingBottom: "10px" }, children: e.memories.map((n) => /* @__PURE__ */ r(
|
|
2629
|
+
Cr,
|
|
2584
2630
|
{
|
|
2585
2631
|
memory: n,
|
|
2586
2632
|
completed: o,
|
|
@@ -2599,7 +2645,7 @@ function Er({
|
|
|
2599
2645
|
item: e,
|
|
2600
2646
|
t: o
|
|
2601
2647
|
}) {
|
|
2602
|
-
const { colors: t } =
|
|
2648
|
+
const { colors: t } = S(), [n, i] = C(!1), a = e.description ?? "", l = a.length > pe, c = a.length === 0 ? void 0 : n || !l ? a : `${a.slice(0, pe)}...`;
|
|
2603
2649
|
return /* @__PURE__ */ m(
|
|
2604
2650
|
"div",
|
|
2605
2651
|
{
|
|
@@ -2694,7 +2740,7 @@ function Rr({
|
|
|
2694
2740
|
durationSeconds: t,
|
|
2695
2741
|
t: n
|
|
2696
2742
|
}) {
|
|
2697
|
-
const { colors: i } =
|
|
2743
|
+
const { colors: i } = S(), a = Ee(e, n);
|
|
2698
2744
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
2699
2745
|
/* @__PURE__ */ r(
|
|
2700
2746
|
v.div,
|
|
@@ -2703,7 +2749,7 @@ function Rr({
|
|
|
2703
2749
|
initial: { opacity: 0, y: -10 },
|
|
2704
2750
|
animate: { opacity: 1, y: 0 },
|
|
2705
2751
|
transition: { duration: 0.3, delay: 0 },
|
|
2706
|
-
children: o && !t ? /* @__PURE__ */ r(
|
|
2752
|
+
children: o && !t ? /* @__PURE__ */ r(w, { text: a, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: i.textSecondary }, children: a })
|
|
2707
2753
|
}
|
|
2708
2754
|
),
|
|
2709
2755
|
t !== void 0 && /* @__PURE__ */ r(
|
|
@@ -2724,7 +2770,7 @@ function Ir({
|
|
|
2724
2770
|
data: e,
|
|
2725
2771
|
t: o
|
|
2726
2772
|
}) {
|
|
2727
|
-
const { colors: t } =
|
|
2773
|
+
const { colors: t } = S(), [n, i] = C(!1), a = z(() => [...e.results ?? []].sort((g, h) => g.rank - h.rank), [e.results]), l = a.length, c = l === 1 ? o.googleResultFound : k(o.googleResultsFound, { n: l }), p = Ee(e, o);
|
|
2728
2774
|
return l === 0 ? /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
2729
2775
|
/* @__PURE__ */ r("span", { style: { color: t.textSecondary }, children: p }),
|
|
2730
2776
|
/* @__PURE__ */ r(
|
|
@@ -2850,9 +2896,9 @@ function zr(e) {
|
|
|
2850
2896
|
var o;
|
|
2851
2897
|
return e.error != null ? !0 : e.status != null ? !1 : (((o = e.summary) == null ? void 0 : o.length) ?? 0) > 0;
|
|
2852
2898
|
}
|
|
2853
|
-
const ue = 80, ae = 12, le = 1.4,
|
|
2899
|
+
const ue = 80, ae = 12, le = 1.4, Pr = Math.ceil(
|
|
2854
2900
|
ae * le
|
|
2855
|
-
),
|
|
2901
|
+
), Br = Math.ceil(
|
|
2856
2902
|
5 * ae * le
|
|
2857
2903
|
);
|
|
2858
2904
|
function Ie(e, o = 48) {
|
|
@@ -2874,7 +2920,7 @@ function Dr({
|
|
|
2874
2920
|
t: o,
|
|
2875
2921
|
isLatest: t = !1
|
|
2876
2922
|
}) {
|
|
2877
|
-
const { colors: n } =
|
|
2923
|
+
const { colors: n } = S(), i = e.error ?? e.summary ?? "", a = i.length > 0, l = e.error != null, c = A(null), p = e.summary != null && e.summary !== "", u = Re(e, o), g = l || p || !a && u != null, h = e.error == null && (e.summary == null || e.summary === "");
|
|
2878
2924
|
return H(() => {
|
|
2879
2925
|
const x = c.current;
|
|
2880
2926
|
x != null && a && (x.scrollTop = x.scrollHeight);
|
|
@@ -2939,7 +2985,7 @@ function Dr({
|
|
|
2939
2985
|
children: Ie(e.url)
|
|
2940
2986
|
}
|
|
2941
2987
|
),
|
|
2942
|
-
!a && u != null && /* @__PURE__ */ r("div", { style: { fontSize: 12, color: n.textTertiary, minHeight: 18 }, children: t ? /* @__PURE__ */ r(
|
|
2988
|
+
!a && u != null && /* @__PURE__ */ r("div", { style: { fontSize: 12, color: n.textTertiary, minHeight: 18 }, children: t ? /* @__PURE__ */ r(w, { text: u, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: n.textTertiary }, children: u }) }),
|
|
2943
2989
|
a && /* @__PURE__ */ r(
|
|
2944
2990
|
"div",
|
|
2945
2991
|
{
|
|
@@ -2954,8 +3000,8 @@ function Dr({
|
|
|
2954
3000
|
{
|
|
2955
3001
|
ref: c,
|
|
2956
3002
|
style: {
|
|
2957
|
-
minHeight:
|
|
2958
|
-
maxHeight:
|
|
3003
|
+
minHeight: Pr,
|
|
3004
|
+
maxHeight: Br,
|
|
2959
3005
|
height: "auto",
|
|
2960
3006
|
overflowY: "auto",
|
|
2961
3007
|
overflowX: "hidden",
|
|
@@ -2981,7 +3027,7 @@ function Wr({
|
|
|
2981
3027
|
item: e,
|
|
2982
3028
|
t: o
|
|
2983
3029
|
}) {
|
|
2984
|
-
const { colors: t } =
|
|
3030
|
+
const { colors: t } = S(), [n, i] = C(!1), a = e.error ?? e.summary ?? "", l = e.error != null, c = a.length > ue, p = a.length === 0 ? void 0 : n || !c ? a : `${a.slice(0, ue)}...`, u = Re(e, o), g = e.error == null && (e.summary == null || e.summary === "") && e.status != null;
|
|
2985
3031
|
return /* @__PURE__ */ m(
|
|
2986
3032
|
v.div,
|
|
2987
3033
|
{
|
|
@@ -3123,7 +3169,7 @@ function $r({
|
|
|
3123
3169
|
durationSeconds: t,
|
|
3124
3170
|
t: n
|
|
3125
3171
|
}) {
|
|
3126
|
-
const { colors: i } =
|
|
3172
|
+
const { colors: i } = S(), a = e.input.urls, l = e.input.query, c = a.length, p = c === 1 ? k(n.scrapingPage, { query: l }) : k(n.scrapingPages, { n: c, query: l });
|
|
3127
3173
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
3128
3174
|
/* @__PURE__ */ r(
|
|
3129
3175
|
v.div,
|
|
@@ -3132,7 +3178,7 @@ function $r({
|
|
|
3132
3178
|
initial: { opacity: 0, y: -10 },
|
|
3133
3179
|
animate: { opacity: 1, y: 0 },
|
|
3134
3180
|
transition: { duration: 0.3, delay: 0 },
|
|
3135
|
-
children: o && !t ? /* @__PURE__ */ r(
|
|
3181
|
+
children: o && !t ? /* @__PURE__ */ r(w, { text: p, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: i.textSecondary }, children: p })
|
|
3136
3182
|
}
|
|
3137
3183
|
),
|
|
3138
3184
|
t !== void 0 && /* @__PURE__ */ r(
|
|
@@ -3154,7 +3200,7 @@ function Nr({
|
|
|
3154
3200
|
isLatest: o = !1,
|
|
3155
3201
|
t
|
|
3156
3202
|
}) {
|
|
3157
|
-
const { colors: n } =
|
|
3203
|
+
const { colors: n } = S(), [i, a] = C(!1), l = e.results ?? [], { successCount: c, errorCount: p } = z(() => {
|
|
3158
3204
|
let s = 0, d = 0;
|
|
3159
3205
|
for (const f of l)
|
|
3160
3206
|
f.error != null ? d += 1 : s += 1;
|
|
@@ -3185,7 +3231,7 @@ function Nr({
|
|
|
3185
3231
|
gap: "6px 12px",
|
|
3186
3232
|
minWidth: 0
|
|
3187
3233
|
},
|
|
3188
|
-
children: o && !h ? /* @__PURE__ */ r(
|
|
3234
|
+
children: o && !h ? /* @__PURE__ */ r(w, { text: y, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r(
|
|
3189
3235
|
"span",
|
|
3190
3236
|
{
|
|
3191
3237
|
style: {
|
|
@@ -3271,7 +3317,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3271
3317
|
t: n
|
|
3272
3318
|
}
|
|
3273
3319
|
), ge = (e) => {
|
|
3274
|
-
const { colors: o } =
|
|
3320
|
+
const { colors: o } = S(), { isLatest: t = !1, durationSeconds: n, t: i } = e, a = i.memoryChatThinking;
|
|
3275
3321
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
3276
3322
|
/* @__PURE__ */ r(
|
|
3277
3323
|
v.div,
|
|
@@ -3285,7 +3331,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3285
3331
|
initial: { opacity: 0, y: -10 },
|
|
3286
3332
|
animate: { opacity: 1, y: 0 },
|
|
3287
3333
|
transition: { duration: 0.3, delay: 0 },
|
|
3288
|
-
children: t && !n ? /* @__PURE__ */ r(
|
|
3334
|
+
children: t && !n ? /* @__PURE__ */ r(w, { text: a, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: o.textSecondary }, children: a })
|
|
3289
3335
|
}
|
|
3290
3336
|
),
|
|
3291
3337
|
n !== void 0 && /* @__PURE__ */ r(
|
|
@@ -3317,7 +3363,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3317
3363
|
animate: { opacity: 1, y: 0 },
|
|
3318
3364
|
transition: { duration: 0.3, delay: 0 },
|
|
3319
3365
|
children: o && !t ? /* @__PURE__ */ r(
|
|
3320
|
-
|
|
3366
|
+
w,
|
|
3321
3367
|
{
|
|
3322
3368
|
text: i,
|
|
3323
3369
|
duration: 2.5,
|
|
@@ -3359,7 +3405,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3359
3405
|
animate: { opacity: 1, y: 0 },
|
|
3360
3406
|
transition: { duration: 0.3, delay: 0 },
|
|
3361
3407
|
children: o && !t ? /* @__PURE__ */ r(
|
|
3362
|
-
|
|
3408
|
+
w,
|
|
3363
3409
|
{
|
|
3364
3410
|
text: i,
|
|
3365
3411
|
duration: 2.5,
|
|
@@ -3401,7 +3447,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3401
3447
|
animate: { opacity: 1, y: 0 },
|
|
3402
3448
|
transition: { duration: 0.3, delay: 0 },
|
|
3403
3449
|
children: o && !t ? /* @__PURE__ */ r(
|
|
3404
|
-
|
|
3450
|
+
w,
|
|
3405
3451
|
{
|
|
3406
3452
|
text: i,
|
|
3407
3453
|
duration: 2.5,
|
|
@@ -3443,7 +3489,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3443
3489
|
animate: { opacity: 1, y: 0 },
|
|
3444
3490
|
transition: { duration: 0.3, delay: 0 },
|
|
3445
3491
|
children: o && !t ? /* @__PURE__ */ r(
|
|
3446
|
-
|
|
3492
|
+
w,
|
|
3447
3493
|
{
|
|
3448
3494
|
text: i,
|
|
3449
3495
|
duration: 2.5,
|
|
@@ -3485,7 +3531,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3485
3531
|
animate: { opacity: 1, y: 0 },
|
|
3486
3532
|
transition: { duration: 0.3, delay: 0 },
|
|
3487
3533
|
children: o && !t ? /* @__PURE__ */ r(
|
|
3488
|
-
|
|
3534
|
+
w,
|
|
3489
3535
|
{
|
|
3490
3536
|
text: i,
|
|
3491
3537
|
duration: 2.5,
|
|
@@ -3538,7 +3584,7 @@ const Hr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => e.result
|
|
|
3538
3584
|
collapsed: t = !1,
|
|
3539
3585
|
label: n
|
|
3540
3586
|
}) => {
|
|
3541
|
-
const { colors: i } =
|
|
3587
|
+
const { colors: i } = S(), a = A(null);
|
|
3542
3588
|
return Qe(() => {
|
|
3543
3589
|
const l = a.current;
|
|
3544
3590
|
if (l == null || !o || e.length === 0)
|
|
@@ -3617,7 +3663,7 @@ const Vr = ({
|
|
|
3617
3663
|
t: i,
|
|
3618
3664
|
onMemoryClick: a
|
|
3619
3665
|
}) => {
|
|
3620
|
-
const { colors: l } =
|
|
3666
|
+
const { colors: l } = S(), c = e.reasoningCompleted === !0 || n || Z(e), p = !c, u = !j(e) && !Z(e), [g, h] = C(!1), x = j(e) && e.reasoningCompleted !== !0, T = u && p, y = j(e) && !x, s = c ? Kr(o, t) : void 0;
|
|
3621
3667
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
3622
3668
|
/* @__PURE__ */ m(
|
|
3623
3669
|
v.div,
|
|
@@ -3646,7 +3692,7 @@ const Vr = ({
|
|
|
3646
3692
|
children: c ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : /* @__PURE__ */ r("span", { className: "explore-memory-loader" })
|
|
3647
3693
|
}
|
|
3648
3694
|
),
|
|
3649
|
-
T ? /* @__PURE__ */ r(
|
|
3695
|
+
T ? /* @__PURE__ */ r(w, { text: i.explorePlanning, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: l.textSecondary }, children: i.explorePlanning })
|
|
3650
3696
|
]
|
|
3651
3697
|
}
|
|
3652
3698
|
),
|
|
@@ -3700,8 +3746,46 @@ const Vr = ({
|
|
|
3700
3746
|
}
|
|
3701
3747
|
)
|
|
3702
3748
|
] });
|
|
3703
|
-
}
|
|
3704
|
-
|
|
3749
|
+
};
|
|
3750
|
+
function Xr(e) {
|
|
3751
|
+
const [o] = C(
|
|
3752
|
+
() => e[Math.floor(Math.random() * e.length)] ?? e[0] ?? ""
|
|
3753
|
+
);
|
|
3754
|
+
return o;
|
|
3755
|
+
}
|
|
3756
|
+
const Yr = ({ isLatest: e = !1, durationSeconds: o, t }) => {
|
|
3757
|
+
const { colors: n } = S(), i = e && o === void 0, a = Xr(t.exploreClassifyingPhrases) || t.exploreClassifying;
|
|
3758
|
+
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
3759
|
+
/* @__PURE__ */ r(
|
|
3760
|
+
v.div,
|
|
3761
|
+
{
|
|
3762
|
+
style: {
|
|
3763
|
+
display: "flex",
|
|
3764
|
+
alignItems: "center",
|
|
3765
|
+
gap: "10px",
|
|
3766
|
+
color: n.textSecondary
|
|
3767
|
+
},
|
|
3768
|
+
initial: { opacity: 0, y: -10 },
|
|
3769
|
+
animate: { opacity: 1, y: 0 },
|
|
3770
|
+
transition: { duration: 0.3, delay: 0 },
|
|
3771
|
+
children: i ? /* @__PURE__ */ r(w, { text: a, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: n.textSecondary }, children: a })
|
|
3772
|
+
}
|
|
3773
|
+
),
|
|
3774
|
+
o !== void 0 && /* @__PURE__ */ r(
|
|
3775
|
+
"div",
|
|
3776
|
+
{
|
|
3777
|
+
style: {
|
|
3778
|
+
fontSize: "12px",
|
|
3779
|
+
color: n.textMuted,
|
|
3780
|
+
marginTop: "4px",
|
|
3781
|
+
fontStyle: "italic"
|
|
3782
|
+
},
|
|
3783
|
+
children: k(t.tookSeconds, { n: o })
|
|
3784
|
+
}
|
|
3785
|
+
)
|
|
3786
|
+
] });
|
|
3787
|
+
}, Jr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => {
|
|
3788
|
+
const { colors: i } = S(), a = e.fileCount === 1 ? n.exploreExportingOne : k(n.exploreExporting, { n: e.fileCount });
|
|
3705
3789
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
3706
3790
|
/* @__PURE__ */ r(
|
|
3707
3791
|
v.div,
|
|
@@ -3715,7 +3799,7 @@ const Vr = ({
|
|
|
3715
3799
|
initial: { opacity: 0, y: -10 },
|
|
3716
3800
|
animate: { opacity: 1, y: 0 },
|
|
3717
3801
|
transition: { duration: 0.3, delay: 0 },
|
|
3718
|
-
children: o && !t ? /* @__PURE__ */ r(
|
|
3802
|
+
children: o && !t ? /* @__PURE__ */ r(w, { text: a, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: i.textSecondary }, children: a })
|
|
3719
3803
|
}
|
|
3720
3804
|
),
|
|
3721
3805
|
t !== void 0 && /* @__PURE__ */ r(
|
|
@@ -3731,8 +3815,8 @@ const Vr = ({
|
|
|
3731
3815
|
}
|
|
3732
3816
|
)
|
|
3733
3817
|
] });
|
|
3734
|
-
},
|
|
3735
|
-
const { colors: i } =
|
|
3818
|
+
}, Zr = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => {
|
|
3819
|
+
const { colors: i } = S(), a = k(n.exploreFindMemoriesQuery, {
|
|
3736
3820
|
query: e.query
|
|
3737
3821
|
});
|
|
3738
3822
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
@@ -3743,7 +3827,7 @@ const Vr = ({
|
|
|
3743
3827
|
initial: { opacity: 0, y: -10 },
|
|
3744
3828
|
animate: { opacity: 1, y: 0 },
|
|
3745
3829
|
transition: { duration: 0.3, delay: 0 },
|
|
3746
|
-
children: o && !t ? /* @__PURE__ */ r(
|
|
3830
|
+
children: o && !t ? /* @__PURE__ */ r(w, { text: a, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ m("span", { style: { color: i.textSecondary }, children: [
|
|
3747
3831
|
n.exploreFindMemoriesPrefix,
|
|
3748
3832
|
/* @__PURE__ */ m("span", { style: { fontWeight: 600 }, children: [
|
|
3749
3833
|
"'",
|
|
@@ -3766,8 +3850,8 @@ const Vr = ({
|
|
|
3766
3850
|
}
|
|
3767
3851
|
)
|
|
3768
3852
|
] });
|
|
3769
|
-
}, ee = 5,
|
|
3770
|
-
const { colors: t } =
|
|
3853
|
+
}, ee = 5, en = ({ data: e, t: o }) => {
|
|
3854
|
+
const { colors: t } = S(), [n, i] = C(!1), a = e.memories.map((T) => T.memoryTitle), l = a.length > 0, c = l && a.length > ee, p = c && !n ? a.slice(0, ee) : a, u = a.length - ee, g = !c || n, h = a.length === 1 ? o.memoryFound : o.memoriesFoundPrefix, x = l ? `${h}${Q(
|
|
3771
3855
|
p,
|
|
3772
3856
|
g ? o.and : void 0
|
|
3773
3857
|
)}` : o.memoriesFound;
|
|
@@ -3830,7 +3914,7 @@ const Vr = ({
|
|
|
3830
3914
|
}
|
|
3831
3915
|
) });
|
|
3832
3916
|
};
|
|
3833
|
-
function
|
|
3917
|
+
function rn(e) {
|
|
3834
3918
|
return {
|
|
3835
3919
|
taskType: "MemoryChat",
|
|
3836
3920
|
eventType: "Search",
|
|
@@ -3838,8 +3922,8 @@ function Zr(e) {
|
|
|
3838
3922
|
...e.input.memories !== void 0 && e.input.memories.length > 0 ? { memories: e.input.memories } : {}
|
|
3839
3923
|
};
|
|
3840
3924
|
}
|
|
3841
|
-
const
|
|
3842
|
-
const a =
|
|
3925
|
+
const nn = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n, onSearchResultClick: i }) => {
|
|
3926
|
+
const a = rn(e);
|
|
3843
3927
|
return e.items === void 0 ? /* @__PURE__ */ r(
|
|
3844
3928
|
q,
|
|
3845
3929
|
{
|
|
@@ -3874,19 +3958,19 @@ const en = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n, onSearchResul
|
|
|
3874
3958
|
)
|
|
3875
3959
|
] });
|
|
3876
3960
|
};
|
|
3877
|
-
function
|
|
3961
|
+
function on({
|
|
3878
3962
|
memory: e,
|
|
3879
3963
|
completed: o
|
|
3880
3964
|
}) {
|
|
3881
3965
|
return e.error != null ? /* @__PURE__ */ r(_, { size: 15, lineWidth: 2 }) : e.summary != null ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : o ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : /* @__PURE__ */ r("span", { className: "explore-memory-loader" });
|
|
3882
3966
|
}
|
|
3883
3967
|
const ye = 80;
|
|
3884
|
-
function
|
|
3968
|
+
function tn({
|
|
3885
3969
|
memory: e,
|
|
3886
3970
|
completed: o,
|
|
3887
3971
|
t
|
|
3888
3972
|
}) {
|
|
3889
|
-
const { colors: n } =
|
|
3973
|
+
const { colors: n } = S(), [i, a] = C(!1), l = e.summary ?? e.error, c = l != null && l.length > ye, p = l != null ? i || !c ? l : `${l.slice(0, ye)}...` : void 0, u = c, g = e.error != null;
|
|
3890
3974
|
return /* @__PURE__ */ m(
|
|
3891
3975
|
v.div,
|
|
3892
3976
|
{
|
|
@@ -3916,7 +4000,7 @@ function nn({
|
|
|
3916
4000
|
flexShrink: 0,
|
|
3917
4001
|
width: 32
|
|
3918
4002
|
},
|
|
3919
|
-
children: /* @__PURE__ */ r(
|
|
4003
|
+
children: /* @__PURE__ */ r(on, { memory: e, completed: o })
|
|
3920
4004
|
}
|
|
3921
4005
|
),
|
|
3922
4006
|
/* @__PURE__ */ m(
|
|
@@ -3970,8 +4054,8 @@ function nn({
|
|
|
3970
4054
|
}
|
|
3971
4055
|
);
|
|
3972
4056
|
}
|
|
3973
|
-
const
|
|
3974
|
-
const { colors: n } =
|
|
4057
|
+
const an = ({ data: e, completed: o, t }) => {
|
|
4058
|
+
const { colors: n } = S();
|
|
3975
4059
|
return /* @__PURE__ */ m("div", { style: { paddingTop: "16px", paddingBottom: "10px" }, children: [
|
|
3976
4060
|
/* @__PURE__ */ r(
|
|
3977
4061
|
"div",
|
|
@@ -3986,7 +4070,7 @@ const on = ({ data: e, completed: o, t }) => {
|
|
|
3986
4070
|
}
|
|
3987
4071
|
),
|
|
3988
4072
|
e.memories.map((i) => /* @__PURE__ */ r(
|
|
3989
|
-
|
|
4073
|
+
tn,
|
|
3990
4074
|
{
|
|
3991
4075
|
memory: i,
|
|
3992
4076
|
completed: o,
|
|
@@ -3995,13 +4079,13 @@ const on = ({ data: e, completed: o, t }) => {
|
|
|
3995
4079
|
i.memoryId
|
|
3996
4080
|
))
|
|
3997
4081
|
] });
|
|
3998
|
-
},
|
|
4082
|
+
}, ln = ({
|
|
3999
4083
|
data: e,
|
|
4000
4084
|
isLatest: o = !1,
|
|
4001
4085
|
durationSeconds: t,
|
|
4002
4086
|
t: n
|
|
4003
4087
|
}) => {
|
|
4004
|
-
const { colors: i } =
|
|
4088
|
+
const { colors: i } = S(), a = k(n.exploreRunCode, { title: e.title });
|
|
4005
4089
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
4006
4090
|
/* @__PURE__ */ r(
|
|
4007
4091
|
v.div,
|
|
@@ -4015,7 +4099,7 @@ const on = ({ data: e, completed: o, t }) => {
|
|
|
4015
4099
|
initial: { opacity: 0, y: -10 },
|
|
4016
4100
|
animate: { opacity: 1, y: 0 },
|
|
4017
4101
|
transition: { duration: 0.3, delay: 0 },
|
|
4018
|
-
children: o && !t ? /* @__PURE__ */ r(
|
|
4102
|
+
children: o && !t ? /* @__PURE__ */ r(w, { text: a, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: i.textSecondary }, children: a })
|
|
4019
4103
|
}
|
|
4020
4104
|
),
|
|
4021
4105
|
t !== void 0 && /* @__PURE__ */ r(
|
|
@@ -4032,17 +4116,17 @@ const on = ({ data: e, completed: o, t }) => {
|
|
|
4032
4116
|
)
|
|
4033
4117
|
] });
|
|
4034
4118
|
};
|
|
4035
|
-
function
|
|
4119
|
+
function sn({
|
|
4036
4120
|
section: e,
|
|
4037
4121
|
allCompleted: o
|
|
4038
4122
|
}) {
|
|
4039
4123
|
return e.completed || o ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : /* @__PURE__ */ r("span", { className: "explore-memory-loader" });
|
|
4040
4124
|
}
|
|
4041
|
-
function
|
|
4125
|
+
function cn({
|
|
4042
4126
|
section: e,
|
|
4043
4127
|
allCompleted: o
|
|
4044
4128
|
}) {
|
|
4045
|
-
const { colors: t } =
|
|
4129
|
+
const { colors: t } = S();
|
|
4046
4130
|
return /* @__PURE__ */ m(
|
|
4047
4131
|
v.div,
|
|
4048
4132
|
{
|
|
@@ -4070,7 +4154,7 @@ function ln({
|
|
|
4070
4154
|
flexShrink: 0,
|
|
4071
4155
|
width: 32
|
|
4072
4156
|
},
|
|
4073
|
-
children: /* @__PURE__ */ r(
|
|
4157
|
+
children: /* @__PURE__ */ r(sn, { section: e, allCompleted: o })
|
|
4074
4158
|
}
|
|
4075
4159
|
),
|
|
4076
4160
|
/* @__PURE__ */ r(
|
|
@@ -4088,8 +4172,8 @@ function ln({
|
|
|
4088
4172
|
}
|
|
4089
4173
|
);
|
|
4090
4174
|
}
|
|
4091
|
-
const
|
|
4092
|
-
const { colors: a } =
|
|
4175
|
+
const dn = ({ data: e, completed: o, isLatest: t = !1, durationSeconds: n, t: i }) => {
|
|
4176
|
+
const { colors: a } = S(), l = k(i.exploreComposeHtmlReport, {
|
|
4093
4177
|
title: e.title
|
|
4094
4178
|
}), c = e.sections ?? [], p = o || c.length > 0 && c.every((g) => g.completed), u = t && !n && !p;
|
|
4095
4179
|
return /* @__PURE__ */ m("div", { style: { paddingTop: "16px", paddingBottom: "10px" }, children: [
|
|
@@ -4106,11 +4190,11 @@ const sn = ({ data: e, completed: o, isLatest: t = !1, durationSeconds: n, t: i
|
|
|
4106
4190
|
initial: { opacity: 0, y: -10 },
|
|
4107
4191
|
animate: { opacity: 1, y: 0 },
|
|
4108
4192
|
transition: { duration: 0.3 },
|
|
4109
|
-
children: u ? /* @__PURE__ */ r(
|
|
4193
|
+
children: u ? /* @__PURE__ */ r(w, { text: l, duration: 2.5, repeat: !0 }) : /* @__PURE__ */ r("span", { style: { color: a.textSecondary }, children: l })
|
|
4110
4194
|
}
|
|
4111
4195
|
),
|
|
4112
4196
|
c.map((g) => /* @__PURE__ */ r(
|
|
4113
|
-
|
|
4197
|
+
cn,
|
|
4114
4198
|
{
|
|
4115
4199
|
section: g,
|
|
4116
4200
|
allCompleted: p
|
|
@@ -4130,7 +4214,7 @@ const sn = ({ data: e, completed: o, isLatest: t = !1, durationSeconds: n, t: i
|
|
|
4130
4214
|
}
|
|
4131
4215
|
)
|
|
4132
4216
|
] });
|
|
4133
|
-
},
|
|
4217
|
+
}, pn = ({ data: e, onSourceClick: o, t }) => /* @__PURE__ */ r(
|
|
4134
4218
|
Me,
|
|
4135
4219
|
{
|
|
4136
4220
|
data: {
|
|
@@ -4142,20 +4226,20 @@ const sn = ({ data: e, completed: o, isLatest: t = !1, durationSeconds: n, t: i
|
|
|
4142
4226
|
t
|
|
4143
4227
|
}
|
|
4144
4228
|
);
|
|
4145
|
-
function
|
|
4229
|
+
function un({ item: e }) {
|
|
4146
4230
|
return e.error != null ? /* @__PURE__ */ r(_, { size: 15, lineWidth: 2 }) : e.result != null ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : /* @__PURE__ */ r("span", { className: "explore-memory-loader" });
|
|
4147
4231
|
}
|
|
4148
|
-
function
|
|
4232
|
+
function mn(e, o) {
|
|
4149
4233
|
return k(o.searchingInMemoriesOfType, {
|
|
4150
4234
|
name: e.memoryTypeName
|
|
4151
4235
|
});
|
|
4152
4236
|
}
|
|
4153
|
-
function
|
|
4237
|
+
function gn({
|
|
4154
4238
|
item: e,
|
|
4155
4239
|
t: o,
|
|
4156
4240
|
showShimmerForPrimary: t
|
|
4157
4241
|
}) {
|
|
4158
|
-
const { colors: n } =
|
|
4242
|
+
const { colors: n } = S(), i = e.result != null, a = e.error != null, l = mn(e, o);
|
|
4159
4243
|
return /* @__PURE__ */ m(
|
|
4160
4244
|
v.div,
|
|
4161
4245
|
{
|
|
@@ -4183,7 +4267,7 @@ function un({
|
|
|
4183
4267
|
flexShrink: 0,
|
|
4184
4268
|
width: 32
|
|
4185
4269
|
},
|
|
4186
|
-
children: /* @__PURE__ */ r(
|
|
4270
|
+
children: /* @__PURE__ */ r(un, { item: e })
|
|
4187
4271
|
}
|
|
4188
4272
|
),
|
|
4189
4273
|
/* @__PURE__ */ m(
|
|
@@ -4197,7 +4281,7 @@ function un({
|
|
|
4197
4281
|
flex: 1
|
|
4198
4282
|
},
|
|
4199
4283
|
children: [
|
|
4200
|
-
/* @__PURE__ */ r("span", { style: { fontSize: 13, fontWeight: 500, color: n.textPrimary }, children: !i && !a && t ? /* @__PURE__ */ r(
|
|
4284
|
+
/* @__PURE__ */ r("span", { style: { fontSize: 13, fontWeight: 500, color: n.textPrimary }, children: !i && !a && t ? /* @__PURE__ */ r(w, { text: l, duration: 2.5, repeat: !0 }) : l }),
|
|
4201
4285
|
i && /* @__PURE__ */ r("span", { style: { fontSize: 12, color: n.textSecondary }, children: e.result.numberOfChunks === 1 ? k(
|
|
4202
4286
|
o.memorySearchTypeResultSummaryOne,
|
|
4203
4287
|
{
|
|
@@ -4222,16 +4306,16 @@ function un({
|
|
|
4222
4306
|
}
|
|
4223
4307
|
);
|
|
4224
4308
|
}
|
|
4225
|
-
const
|
|
4226
|
-
const { colors: i } =
|
|
4309
|
+
const hn = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => {
|
|
4310
|
+
const { colors: i } = S(), a = z(() => {
|
|
4227
4311
|
let l = -1;
|
|
4228
4312
|
return e.memoryTypes.forEach((c, p) => {
|
|
4229
4313
|
c.result == null && c.error == null && (l = p);
|
|
4230
4314
|
}), l;
|
|
4231
4315
|
}, [e.memoryTypes]);
|
|
4232
4316
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "10px" }, children: [
|
|
4233
|
-
o && !t && e.memoryTypes.length === 0 ? /* @__PURE__ */ r(
|
|
4234
|
-
|
|
4317
|
+
o && !t && e.memoryTypes.length === 0 ? /* @__PURE__ */ r(w, { text: n.searchingMemoryTypes, duration: 2.5, repeat: !0 }) : e.memoryTypes.map((l, c) => /* @__PURE__ */ r(
|
|
4318
|
+
gn,
|
|
4235
4319
|
{
|
|
4236
4320
|
item: l,
|
|
4237
4321
|
t: n,
|
|
@@ -4256,24 +4340,24 @@ const mn = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => {
|
|
|
4256
4340
|
function U(e) {
|
|
4257
4341
|
return e.queries != null && e.queries.length > 0;
|
|
4258
4342
|
}
|
|
4259
|
-
function
|
|
4343
|
+
function yn(e) {
|
|
4260
4344
|
const o = e.reasoning;
|
|
4261
4345
|
return (o == null || o === "") && !U(e);
|
|
4262
4346
|
}
|
|
4263
|
-
function
|
|
4347
|
+
function fn(e) {
|
|
4264
4348
|
if (U(e)) return 3;
|
|
4265
4349
|
const o = e.reasoning;
|
|
4266
4350
|
return o == null || o === "" ? 1 : e.reasoningCompleted === !0 ? 2 : 1;
|
|
4267
4351
|
}
|
|
4268
|
-
function
|
|
4352
|
+
function xn({ phase: e }) {
|
|
4269
4353
|
return e === 3 ? /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 }) : /* @__PURE__ */ r("span", { className: "explore-memory-loader" });
|
|
4270
4354
|
}
|
|
4271
|
-
function
|
|
4355
|
+
function kn({
|
|
4272
4356
|
item: e,
|
|
4273
4357
|
t: o,
|
|
4274
4358
|
isActiveRow: t
|
|
4275
4359
|
}) {
|
|
4276
|
-
const { colors: n } =
|
|
4360
|
+
const { colors: n } = S(), i = yn(e), a = fn(e), l = e.reasoning, c = l != null && l.length > 0, [p, u] = C(!1), g = i && t, h = a === 2 && t && !U(e), x = k(o.searchingInMemoriesOfType, {
|
|
4277
4361
|
name: e.memoryTypeName
|
|
4278
4362
|
}), T = !i && a === 3;
|
|
4279
4363
|
return /* @__PURE__ */ m(
|
|
@@ -4304,7 +4388,7 @@ function fn({
|
|
|
4304
4388
|
width: 32,
|
|
4305
4389
|
...T ? { paddingTop: 2 } : {}
|
|
4306
4390
|
},
|
|
4307
|
-
children: /* @__PURE__ */ r(
|
|
4391
|
+
children: /* @__PURE__ */ r(xn, { phase: i ? 1 : a })
|
|
4308
4392
|
}
|
|
4309
4393
|
),
|
|
4310
4394
|
/* @__PURE__ */ m(
|
|
@@ -4318,7 +4402,7 @@ function fn({
|
|
|
4318
4402
|
flex: 1
|
|
4319
4403
|
},
|
|
4320
4404
|
children: [
|
|
4321
|
-
/* @__PURE__ */ r("span", { style: { fontSize: 13, fontWeight: 500, color: n.textPrimary }, children: g ? /* @__PURE__ */ r(
|
|
4405
|
+
/* @__PURE__ */ r("span", { style: { fontSize: 13, fontWeight: 500, color: n.textPrimary }, children: g ? /* @__PURE__ */ r(w, { text: x, duration: 2.5, repeat: !0 }) : e.memoryTypeName }),
|
|
4322
4406
|
a === 1 && c && !U(e) && /* @__PURE__ */ r(
|
|
4323
4407
|
Fe,
|
|
4324
4408
|
{
|
|
@@ -4328,7 +4412,7 @@ function fn({
|
|
|
4328
4412
|
}
|
|
4329
4413
|
),
|
|
4330
4414
|
a === 2 && h && /* @__PURE__ */ r("div", { style: { fontSize: 12 }, children: /* @__PURE__ */ r(
|
|
4331
|
-
|
|
4415
|
+
w,
|
|
4332
4416
|
{
|
|
4333
4417
|
text: o.memorySearchGeneratingQueriesPending,
|
|
4334
4418
|
duration: 2.5,
|
|
@@ -4418,16 +4502,16 @@ function fn({
|
|
|
4418
4502
|
}
|
|
4419
4503
|
);
|
|
4420
4504
|
}
|
|
4421
|
-
const
|
|
4422
|
-
const { colors: i } =
|
|
4505
|
+
const Sn = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => {
|
|
4506
|
+
const { colors: i } = S(), a = z(() => {
|
|
4423
4507
|
let l = -1;
|
|
4424
4508
|
return e.memoryTypes.forEach((c, p) => {
|
|
4425
4509
|
U(c) || (l = p);
|
|
4426
4510
|
}), l;
|
|
4427
4511
|
}, [e.memoryTypes]);
|
|
4428
4512
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "10px" }, children: [
|
|
4429
|
-
o && !t && e.memoryTypes.length === 0 ? /* @__PURE__ */ r(
|
|
4430
|
-
|
|
4513
|
+
o && !t && e.memoryTypes.length === 0 ? /* @__PURE__ */ r(w, { text: n.memorySearchGeneratingQueries, duration: 2.5, repeat: !0 }) : e.memoryTypes.map((l, c) => /* @__PURE__ */ r(
|
|
4514
|
+
kn,
|
|
4431
4515
|
{
|
|
4432
4516
|
item: l,
|
|
4433
4517
|
t: n,
|
|
@@ -4449,18 +4533,18 @@ const xn = ({ data: e, isLatest: o = !1, durationSeconds: t, t: n }) => {
|
|
|
4449
4533
|
)
|
|
4450
4534
|
] });
|
|
4451
4535
|
};
|
|
4452
|
-
function
|
|
4536
|
+
function bn(e) {
|
|
4453
4537
|
return e.some((n) => n.result == null && n.error == null) ? /* @__PURE__ */ r("span", { className: "explore-memory-loader" }) : e.some((n) => n.error != null) ? /* @__PURE__ */ r(_, { size: 15, lineWidth: 2 }) : /* @__PURE__ */ r(F, { size: 15, borderWidth: 2 });
|
|
4454
4538
|
}
|
|
4455
|
-
function
|
|
4539
|
+
function Tn({
|
|
4456
4540
|
item: e,
|
|
4457
4541
|
t: o
|
|
4458
4542
|
}) {
|
|
4459
|
-
const { colors: t } =
|
|
4543
|
+
const { colors: t } = S();
|
|
4460
4544
|
if (e.error != null)
|
|
4461
4545
|
return /* @__PURE__ */ r("span", { style: { fontSize: 12, color: t.textError, whiteSpace: "nowrap" }, children: e.error });
|
|
4462
4546
|
if (e.result == null)
|
|
4463
|
-
return /* @__PURE__ */ r("span", { style: { flexShrink: 0, fontSize: 12 }, children: /* @__PURE__ */ r(
|
|
4547
|
+
return /* @__PURE__ */ r("span", { style: { flexShrink: 0, fontSize: 12 }, children: /* @__PURE__ */ r(w, { text: o.searching, duration: 2.5, repeat: !0 }) });
|
|
4464
4548
|
const n = e.result, i = n.numberOfChunks === 1 ? o.chunkFound : k(o.chunksFound, { n: n.numberOfChunks }), a = k(o.scoreLabel, {
|
|
4465
4549
|
n: n.highestChunkScore.toFixed(2)
|
|
4466
4550
|
});
|
|
@@ -4470,13 +4554,13 @@ function Sn({
|
|
|
4470
4554
|
a
|
|
4471
4555
|
] });
|
|
4472
4556
|
}
|
|
4473
|
-
function
|
|
4557
|
+
function vn({
|
|
4474
4558
|
items: e,
|
|
4475
4559
|
queryRow: o,
|
|
4476
4560
|
onExploreQueryResultClick: t,
|
|
4477
4561
|
t: n
|
|
4478
4562
|
}) {
|
|
4479
|
-
const { colors: i } =
|
|
4563
|
+
const { colors: i } = S(), [a, l] = C(null);
|
|
4480
4564
|
if (e.length === 0)
|
|
4481
4565
|
return /* @__PURE__ */ r(
|
|
4482
4566
|
"div",
|
|
@@ -4638,7 +4722,7 @@ function bn({
|
|
|
4638
4722
|
}
|
|
4639
4723
|
);
|
|
4640
4724
|
}
|
|
4641
|
-
function
|
|
4725
|
+
function Cn(e) {
|
|
4642
4726
|
const o = [], t = /* @__PURE__ */ new Map();
|
|
4643
4727
|
return e.forEach((n, i) => {
|
|
4644
4728
|
let a = t.get(n.memoryTypeId);
|
|
@@ -4649,7 +4733,7 @@ function Tn(e) {
|
|
|
4649
4733
|
}, t.set(n.memoryTypeId, a)), a.items.push({ item: n, flatIndex: i });
|
|
4650
4734
|
}), o.map((n) => t.get(n));
|
|
4651
4735
|
}
|
|
4652
|
-
function
|
|
4736
|
+
function wn({
|
|
4653
4737
|
group: e,
|
|
4654
4738
|
t: o,
|
|
4655
4739
|
isLatest: t,
|
|
@@ -4657,7 +4741,7 @@ function vn({
|
|
|
4657
4741
|
toggleExpanded: i,
|
|
4658
4742
|
onExploreQueryResultClick: a
|
|
4659
4743
|
}) {
|
|
4660
|
-
const { colors: l } =
|
|
4744
|
+
const { colors: l } = S(), c = e.items.map((u) => u.item), p = c.some(
|
|
4661
4745
|
(u) => u.result == null && u.error == null
|
|
4662
4746
|
);
|
|
4663
4747
|
return /* @__PURE__ */ m(
|
|
@@ -4688,7 +4772,7 @@ function vn({
|
|
|
4688
4772
|
width: 32,
|
|
4689
4773
|
...p ? {} : { paddingTop: 2 }
|
|
4690
4774
|
},
|
|
4691
|
-
children:
|
|
4775
|
+
children: bn(c)
|
|
4692
4776
|
}
|
|
4693
4777
|
),
|
|
4694
4778
|
/* @__PURE__ */ m(
|
|
@@ -4751,7 +4835,7 @@ function vn({
|
|
|
4751
4835
|
minWidth: 0
|
|
4752
4836
|
},
|
|
4753
4837
|
children: T ? /* @__PURE__ */ r(
|
|
4754
|
-
|
|
4838
|
+
w,
|
|
4755
4839
|
{
|
|
4756
4840
|
text: u.query,
|
|
4757
4841
|
duration: 2.5,
|
|
@@ -4771,7 +4855,7 @@ function vn({
|
|
|
4771
4855
|
flexShrink: 0
|
|
4772
4856
|
},
|
|
4773
4857
|
children: [
|
|
4774
|
-
/* @__PURE__ */ r(
|
|
4858
|
+
/* @__PURE__ */ r(Tn, { item: u, t: o }),
|
|
4775
4859
|
h && /* @__PURE__ */ r(
|
|
4776
4860
|
"button",
|
|
4777
4861
|
{
|
|
@@ -4797,7 +4881,7 @@ function vn({
|
|
|
4797
4881
|
}
|
|
4798
4882
|
),
|
|
4799
4883
|
h && y && /* @__PURE__ */ r(
|
|
4800
|
-
|
|
4884
|
+
vn,
|
|
4801
4885
|
{
|
|
4802
4886
|
items: s,
|
|
4803
4887
|
queryRow: u,
|
|
@@ -4817,14 +4901,14 @@ function vn({
|
|
|
4817
4901
|
}
|
|
4818
4902
|
);
|
|
4819
4903
|
}
|
|
4820
|
-
const
|
|
4904
|
+
const Mn = ({
|
|
4821
4905
|
data: e,
|
|
4822
4906
|
isLatest: o = !1,
|
|
4823
4907
|
durationSeconds: t,
|
|
4824
4908
|
onExploreQueryResultClick: n,
|
|
4825
4909
|
t: i
|
|
4826
4910
|
}) => {
|
|
4827
|
-
const { colors: a } =
|
|
4911
|
+
const { colors: a } = S(), [l, c] = C(
|
|
4828
4912
|
{}
|
|
4829
4913
|
), p = L((g) => {
|
|
4830
4914
|
c((h) => ({
|
|
@@ -4832,19 +4916,19 @@ const wn = ({
|
|
|
4832
4916
|
[g]: !h[g]
|
|
4833
4917
|
}));
|
|
4834
4918
|
}, []), u = z(
|
|
4835
|
-
() =>
|
|
4919
|
+
() => Cn(e.queries),
|
|
4836
4920
|
[e.queries]
|
|
4837
4921
|
);
|
|
4838
4922
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "10px" }, children: [
|
|
4839
4923
|
o && !t && e.queries.length === 0 ? /* @__PURE__ */ r(
|
|
4840
|
-
|
|
4924
|
+
w,
|
|
4841
4925
|
{
|
|
4842
4926
|
text: i.memorySearchExploringQueries,
|
|
4843
4927
|
duration: 2.5,
|
|
4844
4928
|
repeat: !0
|
|
4845
4929
|
}
|
|
4846
4930
|
) : u.map((g) => /* @__PURE__ */ r(
|
|
4847
|
-
|
|
4931
|
+
wn,
|
|
4848
4932
|
{
|
|
4849
4933
|
group: g,
|
|
4850
4934
|
t: i,
|
|
@@ -4868,8 +4952,8 @@ const wn = ({
|
|
|
4868
4952
|
}
|
|
4869
4953
|
)
|
|
4870
4954
|
] });
|
|
4871
|
-
},
|
|
4872
|
-
const { colors: n } =
|
|
4955
|
+
}, En = ({ data: e, onSearchResultClick: o, t }) => {
|
|
4956
|
+
const { colors: n } = S(), i = e.response.items, a = !!o, [l, c] = C(null);
|
|
4873
4957
|
return /* @__PURE__ */ m("div", { style: { paddingBlock: "16px" }, children: [
|
|
4874
4958
|
/* @__PURE__ */ r(
|
|
4875
4959
|
v.div,
|
|
@@ -5030,7 +5114,7 @@ const wn = ({
|
|
|
5030
5114
|
)
|
|
5031
5115
|
] });
|
|
5032
5116
|
}, O = ({ message: e }) => {
|
|
5033
|
-
const { colors: o } =
|
|
5117
|
+
const { colors: o } = S();
|
|
5034
5118
|
return /* @__PURE__ */ r("div", { style: { paddingBlock: "16px" }, children: /* @__PURE__ */ r(
|
|
5035
5119
|
v.div,
|
|
5036
5120
|
{
|
|
@@ -5056,7 +5140,7 @@ const wn = ({
|
|
|
5056
5140
|
}
|
|
5057
5141
|
) });
|
|
5058
5142
|
};
|
|
5059
|
-
class
|
|
5143
|
+
class Rn extends Ue.Component {
|
|
5060
5144
|
constructor(o) {
|
|
5061
5145
|
super(o), this.state = { hasError: !1 };
|
|
5062
5146
|
}
|
|
@@ -5075,7 +5159,7 @@ class Mn extends Ue.Component {
|
|
|
5075
5159
|
return this.state.hasError ? null : this.props.children;
|
|
5076
5160
|
}
|
|
5077
5161
|
}
|
|
5078
|
-
const
|
|
5162
|
+
const In = ({
|
|
5079
5163
|
progressViewItems: e,
|
|
5080
5164
|
loading: o,
|
|
5081
5165
|
error: t,
|
|
@@ -5087,7 +5171,7 @@ const En = ({
|
|
|
5087
5171
|
onExploreQueryResultClick: p,
|
|
5088
5172
|
downloadFile: u
|
|
5089
5173
|
}) => {
|
|
5090
|
-
const { theme: g, colors: h } =
|
|
5174
|
+
const { theme: g, colors: h } = S(), x = A(null);
|
|
5091
5175
|
H(() => {
|
|
5092
5176
|
x.current && (x.current.scrollTop = x.current.scrollHeight);
|
|
5093
5177
|
}, [e.length]);
|
|
@@ -5236,7 +5320,7 @@ const En = ({
|
|
|
5236
5320
|
);
|
|
5237
5321
|
case "ExploreMemories":
|
|
5238
5322
|
return /* @__PURE__ */ r(
|
|
5239
|
-
|
|
5323
|
+
wr,
|
|
5240
5324
|
{
|
|
5241
5325
|
data: d,
|
|
5242
5326
|
completed: s.completed,
|
|
@@ -5295,7 +5379,7 @@ const En = ({
|
|
|
5295
5379
|
switch (d.eventType) {
|
|
5296
5380
|
case "GeneratingQueries":
|
|
5297
5381
|
return /* @__PURE__ */ r(
|
|
5298
|
-
|
|
5382
|
+
Sn,
|
|
5299
5383
|
{
|
|
5300
5384
|
data: d,
|
|
5301
5385
|
isLatest: s.isLatest,
|
|
@@ -5305,7 +5389,7 @@ const En = ({
|
|
|
5305
5389
|
);
|
|
5306
5390
|
case "ExploreQueries":
|
|
5307
5391
|
return /* @__PURE__ */ r(
|
|
5308
|
-
|
|
5392
|
+
Mn,
|
|
5309
5393
|
{
|
|
5310
5394
|
data: d,
|
|
5311
5395
|
isLatest: s.isLatest,
|
|
@@ -5316,7 +5400,7 @@ const En = ({
|
|
|
5316
5400
|
);
|
|
5317
5401
|
case "SearchMemoryTypes":
|
|
5318
5402
|
return /* @__PURE__ */ r(
|
|
5319
|
-
|
|
5403
|
+
hn,
|
|
5320
5404
|
{
|
|
5321
5405
|
data: d,
|
|
5322
5406
|
isLatest: s.isLatest,
|
|
@@ -5326,7 +5410,7 @@ const En = ({
|
|
|
5326
5410
|
);
|
|
5327
5411
|
case "Completed":
|
|
5328
5412
|
return /* @__PURE__ */ r(
|
|
5329
|
-
|
|
5413
|
+
En,
|
|
5330
5414
|
{
|
|
5331
5415
|
data: d,
|
|
5332
5416
|
onSearchResultClick: c,
|
|
@@ -5353,6 +5437,16 @@ const En = ({
|
|
|
5353
5437
|
onMemoryClick: a
|
|
5354
5438
|
}
|
|
5355
5439
|
);
|
|
5440
|
+
case "Classifying":
|
|
5441
|
+
return /* @__PURE__ */ r(
|
|
5442
|
+
Yr,
|
|
5443
|
+
{
|
|
5444
|
+
data: d,
|
|
5445
|
+
isLatest: s.isLatest,
|
|
5446
|
+
durationSeconds: s.durationSeconds,
|
|
5447
|
+
t: i
|
|
5448
|
+
}
|
|
5449
|
+
);
|
|
5356
5450
|
case "Thinking":
|
|
5357
5451
|
return /* @__PURE__ */ r(
|
|
5358
5452
|
ge,
|
|
@@ -5379,7 +5473,7 @@ const En = ({
|
|
|
5379
5473
|
return null;
|
|
5380
5474
|
case "ExportingMemories":
|
|
5381
5475
|
return /* @__PURE__ */ r(
|
|
5382
|
-
|
|
5476
|
+
Jr,
|
|
5383
5477
|
{
|
|
5384
5478
|
data: d,
|
|
5385
5479
|
isLatest: s.isLatest,
|
|
@@ -5389,7 +5483,7 @@ const En = ({
|
|
|
5389
5483
|
);
|
|
5390
5484
|
case "FindMemories":
|
|
5391
5485
|
return /* @__PURE__ */ r(
|
|
5392
|
-
|
|
5486
|
+
Zr,
|
|
5393
5487
|
{
|
|
5394
5488
|
data: d,
|
|
5395
5489
|
isLatest: s.isLatest,
|
|
@@ -5398,10 +5492,10 @@ const En = ({
|
|
|
5398
5492
|
}
|
|
5399
5493
|
);
|
|
5400
5494
|
case "FindMemoriesResult":
|
|
5401
|
-
return /* @__PURE__ */ r(
|
|
5495
|
+
return /* @__PURE__ */ r(en, { data: d, t: i });
|
|
5402
5496
|
case "SemanticSearch":
|
|
5403
5497
|
return /* @__PURE__ */ r(
|
|
5404
|
-
|
|
5498
|
+
nn,
|
|
5405
5499
|
{
|
|
5406
5500
|
data: d,
|
|
5407
5501
|
isLatest: s.isLatest,
|
|
@@ -5412,7 +5506,7 @@ const En = ({
|
|
|
5412
5506
|
);
|
|
5413
5507
|
case "SemanticSearchForEach":
|
|
5414
5508
|
return /* @__PURE__ */ r(
|
|
5415
|
-
|
|
5509
|
+
an,
|
|
5416
5510
|
{
|
|
5417
5511
|
data: d,
|
|
5418
5512
|
completed: s.completed,
|
|
@@ -5422,7 +5516,7 @@ const En = ({
|
|
|
5422
5516
|
);
|
|
5423
5517
|
case "RunCode":
|
|
5424
5518
|
return /* @__PURE__ */ r(
|
|
5425
|
-
|
|
5519
|
+
ln,
|
|
5426
5520
|
{
|
|
5427
5521
|
data: d,
|
|
5428
5522
|
isLatest: s.isLatest,
|
|
@@ -5432,7 +5526,7 @@ const En = ({
|
|
|
5432
5526
|
);
|
|
5433
5527
|
case "ComposeHtmlReport":
|
|
5434
5528
|
return /* @__PURE__ */ r(
|
|
5435
|
-
|
|
5529
|
+
dn,
|
|
5436
5530
|
{
|
|
5437
5531
|
data: d,
|
|
5438
5532
|
completed: s.completed,
|
|
@@ -5453,7 +5547,7 @@ const En = ({
|
|
|
5453
5547
|
);
|
|
5454
5548
|
case "SourcesResult":
|
|
5455
5549
|
return /* @__PURE__ */ r(
|
|
5456
|
-
|
|
5550
|
+
pn,
|
|
5457
5551
|
{
|
|
5458
5552
|
data: d,
|
|
5459
5553
|
onSourceClick: l,
|
|
@@ -5488,7 +5582,7 @@ const En = ({
|
|
|
5488
5582
|
};
|
|
5489
5583
|
if (e.length === 0)
|
|
5490
5584
|
return t ? /* @__PURE__ */ r("div", { style: { width: "fit-content" }, children: /* @__PURE__ */ r(O, { message: t.message }) }) : o ? /* @__PURE__ */ r("div", { style: { width: "fit-content", paddingBlock: "16px" }, children: /* @__PURE__ */ r(
|
|
5491
|
-
|
|
5585
|
+
w,
|
|
5492
5586
|
{
|
|
5493
5587
|
text: n ?? i.processingYourTask,
|
|
5494
5588
|
duration: 1.5,
|
|
@@ -5530,10 +5624,10 @@ const En = ({
|
|
|
5530
5624
|
return !e.slice(d + 1).some(
|
|
5531
5625
|
(E) => E.item.data.taskType === "MemoryChat" && E.item.data.eventType === "ScrapeWebsites"
|
|
5532
5626
|
);
|
|
5533
|
-
if (f.taskType === "ExploreMemories" && (f.eventType === "Thinking" || f.eventType === "ExportingMemories" || f.eventType === "FindSources")) {
|
|
5534
|
-
const
|
|
5627
|
+
if (f.taskType === "ExploreMemories" && (f.eventType === "Classifying" || f.eventType === "Thinking" || f.eventType === "ExportingMemories" || f.eventType === "FindSources")) {
|
|
5628
|
+
const B = f.eventType;
|
|
5535
5629
|
return !e.slice(d + 1).some(
|
|
5536
|
-
(se) => se.item.data.taskType === "ExploreMemories" && se.item.data.eventType ===
|
|
5630
|
+
(se) => se.item.data.taskType === "ExploreMemories" && se.item.data.eventType === B
|
|
5537
5631
|
);
|
|
5538
5632
|
}
|
|
5539
5633
|
return !0;
|
|
@@ -5557,7 +5651,7 @@ const En = ({
|
|
|
5557
5651
|
ease: "easeOut"
|
|
5558
5652
|
},
|
|
5559
5653
|
children: /* @__PURE__ */ r(
|
|
5560
|
-
|
|
5654
|
+
Rn,
|
|
5561
5655
|
{
|
|
5562
5656
|
progressItemId: s.item.progressItemId,
|
|
5563
5657
|
children: T(s)
|
|
@@ -5570,8 +5664,8 @@ const En = ({
|
|
|
5570
5664
|
]
|
|
5571
5665
|
}
|
|
5572
5666
|
);
|
|
5573
|
-
},
|
|
5574
|
-
const { colors: n } =
|
|
5667
|
+
}, Fn = ({ taskId: e, label: o, copiedLabel: t }) => {
|
|
5668
|
+
const { colors: n } = S(), [i, a] = C(!1);
|
|
5575
5669
|
H(() => {
|
|
5576
5670
|
if (!i) return;
|
|
5577
5671
|
const c = window.setTimeout(() => a(!1), 1500);
|
|
@@ -5604,7 +5698,7 @@ const En = ({
|
|
|
5604
5698
|
children: i ? t : o
|
|
5605
5699
|
}
|
|
5606
5700
|
);
|
|
5607
|
-
},
|
|
5701
|
+
}, Hn = ({
|
|
5608
5702
|
agentTask: e,
|
|
5609
5703
|
theme: o = "light",
|
|
5610
5704
|
language: t,
|
|
@@ -5626,7 +5720,7 @@ const En = ({
|
|
|
5626
5720
|
zIndex: 1
|
|
5627
5721
|
},
|
|
5628
5722
|
children: /* @__PURE__ */ r(
|
|
5629
|
-
|
|
5723
|
+
Fn,
|
|
5630
5724
|
{
|
|
5631
5725
|
taskId: g,
|
|
5632
5726
|
label: u.copyId,
|
|
@@ -5636,7 +5730,7 @@ const En = ({
|
|
|
5636
5730
|
}
|
|
5637
5731
|
) : null,
|
|
5638
5732
|
/* @__PURE__ */ r(
|
|
5639
|
-
|
|
5733
|
+
In,
|
|
5640
5734
|
{
|
|
5641
5735
|
progressViewItems: c,
|
|
5642
5736
|
loading: e.loading,
|
|
@@ -5653,16 +5747,16 @@ const En = ({
|
|
|
5653
5747
|
] }) });
|
|
5654
5748
|
};
|
|
5655
5749
|
export {
|
|
5656
|
-
|
|
5750
|
+
Hn as AgentTaskProgress,
|
|
5657
5751
|
ar as AgentTaskThemeProvider,
|
|
5658
5752
|
F as Checkmark,
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5753
|
+
$n as FencyProvider,
|
|
5754
|
+
En as MemorySearchCompletedResults,
|
|
5755
|
+
_n as StreamEventManager,
|
|
5662
5756
|
_ as XMark,
|
|
5663
5757
|
ir as darkAgentTaskThemeColors,
|
|
5664
|
-
|
|
5758
|
+
Ce as getAgentTaskPrismStyle,
|
|
5665
5759
|
Te as lightAgentTaskThemeColors,
|
|
5666
|
-
|
|
5667
|
-
|
|
5760
|
+
S as useAgentTaskTheme,
|
|
5761
|
+
Nn as useAgentTasks
|
|
5668
5762
|
};
|