@versini/sassysaint 6.3.1 → 6.3.2
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/chunks/{App.DzCna0NY.js → App.BFCImKH0.js} +1421 -1396
- package/dist/chunks/{MarkdownWithExtra.DlBwW8pF.js → MarkdownWithExtra.Bl6HpvHJ.js} +2 -2
- package/dist/chunks/{MessageAssistant.DgBEj1fa.js → MessageAssistant.qaZbh4Yy.js} +3 -3
- package/dist/chunks/{index.BB_tYz2G.js → index.BCDhh50h.js} +35 -34
- package/dist/chunks/{index.DBdWZP64.js → index.Cq7JogXN.js} +207 -207
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as z } from "react/jsx-runtime";
|
|
2
|
-
import { f as V, un as F, R as B, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as Se, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, Y as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt,
|
|
3
|
-
import { i as me, useServerCapabilities as ft, Ie as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as
|
|
4
|
-
import At, { useRef as S, useState as C, useContext as he, useCallback as Be, useEffect as H, Fragment as It, useLayoutEffect as
|
|
2
|
+
import { f as V, un as F, R as B, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as Se, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, Y as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as P, l as Ie, durationFormatter as st, PROFILE_TITLE as lt, PROMPTS_DESCRIPTION as ct, DEFAULT_AI_ENGINE as it, LOCAL_STORAGE_CHAT_DETAILS as dt, SETTINGS_TITLE as ut, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as mt, getCurrentGeoLocation as ht, LOG_OUT as _e } from "./index.BCDhh50h.js";
|
|
3
|
+
import { i as me, useServerCapabilities as ft, Ie as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Oe, ge as pt, he as gt, ue as ge, le as O, ye as yt, me as bt, p as xt, z as kt, be as Ct, serviceCall as se, SERVICE_TYPES as le, p$1 as te, AppContext as Pe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as wt, me$1 as St, R as re, P as vt } from "./App.BFCImKH0.js";
|
|
4
|
+
import At, { useRef as S, useState as C, useContext as he, useCallback as Be, useEffect as H, Fragment as It, useLayoutEffect as ne, useMemo as He, useId as _t, useReducer as Rt } from "react";
|
|
5
5
|
import y from "clsx";
|
|
6
6
|
const Lt = ({
|
|
7
7
|
className: t,
|
|
8
|
-
viewBox:
|
|
8
|
+
viewBox: a,
|
|
9
9
|
title: o,
|
|
10
|
-
monotone:
|
|
10
|
+
monotone: n,
|
|
11
11
|
...r
|
|
12
12
|
}) => /* @__PURE__ */ i(
|
|
13
13
|
V,
|
|
14
14
|
{
|
|
15
15
|
defaultViewBox: "0 0 512 512",
|
|
16
16
|
size: "size-5",
|
|
17
|
-
viewBox:
|
|
17
|
+
viewBox: a,
|
|
18
18
|
className: t,
|
|
19
19
|
title: o || "Back",
|
|
20
20
|
...r,
|
|
@@ -23,7 +23,7 @@ const Lt = ({
|
|
|
23
23
|
"path",
|
|
24
24
|
{
|
|
25
25
|
d: "M66.6 320c0 1.8.1 3.5.4 5.3C84.9 431.3 177 512 288 512c123.7 0 224-100.3 224-224 0-111-80.7-203.1-186.7-220.9-1.8-.3-3.6-.4-5.3-.4-15.3 0-28.9 11.1-31.5 26.7-2.9 17.4 8.8 33.9 26.3 36.9C390.4 142.9 448 208.8 448 288c0 88.4-71.6 160-160 160-79.2 0-145.1-57.6-157.8-133.3-2.9-17.4-19.4-29.2-36.9-26.3-15.6 2.6-26.7 16.2-26.7 31.5z",
|
|
26
|
-
opacity:
|
|
26
|
+
opacity: n ? "1" : "0.4"
|
|
27
27
|
}
|
|
28
28
|
),
|
|
29
29
|
/* @__PURE__ */ e("path", { d: "M32 0h160c17.7 0 32 14.3 32 32s-14.3 32-32 32h-82.7l233.3 233.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L64 109.3V192c0 17.7-14.3 32-32 32S0 209.7 0 192V32C0 14.3 14.3 0 32 0" })
|
|
@@ -31,16 +31,16 @@ const Lt = ({
|
|
|
31
31
|
}
|
|
32
32
|
), Mt = ({
|
|
33
33
|
className: t,
|
|
34
|
-
viewBox:
|
|
34
|
+
viewBox: a,
|
|
35
35
|
title: o,
|
|
36
|
-
monotone:
|
|
36
|
+
monotone: n,
|
|
37
37
|
...r
|
|
38
38
|
}) => /* @__PURE__ */ i(
|
|
39
39
|
V,
|
|
40
40
|
{
|
|
41
41
|
defaultViewBox: "0 0 448 512",
|
|
42
42
|
size: "size-5",
|
|
43
|
-
viewBox:
|
|
43
|
+
viewBox: a,
|
|
44
44
|
className: t,
|
|
45
45
|
title: o || "Delete",
|
|
46
46
|
...r,
|
|
@@ -49,24 +49,24 @@ const Lt = ({
|
|
|
49
49
|
"path",
|
|
50
50
|
{
|
|
51
51
|
d: "M32 96v352c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V96zm80 80c0-8.8 7.2-16 16-16s16 7.2 16 16v224c0 8.8-7.2 16-16 16s-16-7.2-16-16zm96 0c0-8.8 7.2-16 16-16s16 7.2 16 16v224c0 8.8-7.2 16-16 16s-16-7.2-16-16zm96 0c0-8.8 7.2-16 16-16s16 7.2 16 16v224c0 8.8-7.2 16-16 16s-16-7.2-16-16z",
|
|
52
|
-
opacity:
|
|
52
|
+
opacity: n ? "1" : "0.4"
|
|
53
53
|
}
|
|
54
54
|
),
|
|
55
55
|
/* @__PURE__ */ e("path", { d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0z" })
|
|
56
56
|
]
|
|
57
57
|
}
|
|
58
|
-
),
|
|
58
|
+
), Ot = ({
|
|
59
59
|
className: t,
|
|
60
|
-
viewBox:
|
|
60
|
+
viewBox: a,
|
|
61
61
|
title: o,
|
|
62
|
-
monotone:
|
|
62
|
+
monotone: n,
|
|
63
63
|
...r
|
|
64
64
|
}) => /* @__PURE__ */ i(
|
|
65
65
|
V,
|
|
66
66
|
{
|
|
67
67
|
defaultViewBox: "0 0 512 512",
|
|
68
68
|
size: "size-5",
|
|
69
|
-
viewBox:
|
|
69
|
+
viewBox: a,
|
|
70
70
|
className: t,
|
|
71
71
|
title: o || "History",
|
|
72
72
|
...r,
|
|
@@ -75,24 +75,24 @@ const Lt = ({
|
|
|
75
75
|
"path",
|
|
76
76
|
{
|
|
77
77
|
d: "M0 57.9V168c0 13.3 10.7 24 24 24h110.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75L41 41C25.9 25.9 0 36.6 0 57.9",
|
|
78
|
-
opacity:
|
|
78
|
+
opacity: n ? "1" : "0.4"
|
|
79
79
|
}
|
|
80
80
|
),
|
|
81
81
|
/* @__PURE__ */ e("path", { d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z" })
|
|
82
82
|
]
|
|
83
83
|
}
|
|
84
|
-
),
|
|
84
|
+
), Pt = ({
|
|
85
85
|
className: t,
|
|
86
|
-
viewBox:
|
|
86
|
+
viewBox: a,
|
|
87
87
|
title: o,
|
|
88
|
-
monotone:
|
|
88
|
+
monotone: n,
|
|
89
89
|
...r
|
|
90
90
|
}) => /* @__PURE__ */ i(
|
|
91
91
|
V,
|
|
92
92
|
{
|
|
93
93
|
defaultViewBox: "0 0 512 512",
|
|
94
94
|
size: "size-5",
|
|
95
|
-
viewBox:
|
|
95
|
+
viewBox: a,
|
|
96
96
|
className: t,
|
|
97
97
|
title: o || "Info",
|
|
98
98
|
...r,
|
|
@@ -109,16 +109,16 @@ const Lt = ({
|
|
|
109
109
|
}
|
|
110
110
|
), zt = ({
|
|
111
111
|
className: t,
|
|
112
|
-
viewBox:
|
|
112
|
+
viewBox: a,
|
|
113
113
|
title: o,
|
|
114
|
-
monotone:
|
|
114
|
+
monotone: n,
|
|
115
115
|
...r
|
|
116
116
|
}) => /* @__PURE__ */ i(
|
|
117
117
|
V,
|
|
118
118
|
{
|
|
119
119
|
defaultViewBox: "0 0 576 512",
|
|
120
120
|
size: "size-5",
|
|
121
|
-
viewBox:
|
|
121
|
+
viewBox: a,
|
|
122
122
|
className: t,
|
|
123
123
|
title: o || "Profile",
|
|
124
124
|
...r,
|
|
@@ -135,16 +135,16 @@ const Lt = ({
|
|
|
135
135
|
}
|
|
136
136
|
), Bt = ({
|
|
137
137
|
className: t,
|
|
138
|
-
viewBox:
|
|
138
|
+
viewBox: a,
|
|
139
139
|
title: o,
|
|
140
|
-
monotone:
|
|
140
|
+
monotone: n,
|
|
141
141
|
...r
|
|
142
142
|
}) => /* @__PURE__ */ i(
|
|
143
143
|
V,
|
|
144
144
|
{
|
|
145
145
|
defaultViewBox: "0 0 512 512",
|
|
146
146
|
size: "size-5",
|
|
147
|
-
viewBox:
|
|
147
|
+
viewBox: a,
|
|
148
148
|
className: t,
|
|
149
149
|
title: o || "Restore",
|
|
150
150
|
...r,
|
|
@@ -153,7 +153,7 @@ const Lt = ({
|
|
|
153
153
|
"path",
|
|
154
154
|
{
|
|
155
155
|
d: "M128 80v16h64V80c0-8.8 7.2-16 16-16h224c8.8 0 16 7.2 16 16v224c0 8.8-7.2 16-16 16h-16v64h16c44.2 0 80-35.8 80-80V80c0-44.2-35.8-80-80-80H208c-44.2 0-80 35.8-80 80",
|
|
156
|
-
opacity:
|
|
156
|
+
opacity: n ? "1" : "0.4"
|
|
157
157
|
}
|
|
158
158
|
),
|
|
159
159
|
/* @__PURE__ */ e("path", { d: "M64 128c-35.3 0-64 28.7-64 64v256c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64zm32 64h192c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32" })
|
|
@@ -161,16 +161,16 @@ const Lt = ({
|
|
|
161
161
|
}
|
|
162
162
|
), Ht = ({
|
|
163
163
|
className: t,
|
|
164
|
-
viewBox:
|
|
164
|
+
viewBox: a,
|
|
165
165
|
title: o,
|
|
166
|
-
monotone:
|
|
166
|
+
monotone: n,
|
|
167
167
|
...r
|
|
168
168
|
}) => /* @__PURE__ */ e(
|
|
169
169
|
V,
|
|
170
170
|
{
|
|
171
171
|
defaultViewBox: "0 0 448 512",
|
|
172
172
|
size: "size-5",
|
|
173
|
-
viewBox:
|
|
173
|
+
viewBox: a,
|
|
174
174
|
className: t,
|
|
175
175
|
title: o || "Settings",
|
|
176
176
|
...r,
|
|
@@ -178,16 +178,16 @@ const Lt = ({
|
|
|
178
178
|
}
|
|
179
179
|
), Dt = ({
|
|
180
180
|
className: t,
|
|
181
|
-
viewBox:
|
|
181
|
+
viewBox: a,
|
|
182
182
|
title: o,
|
|
183
|
-
monotone:
|
|
183
|
+
monotone: n,
|
|
184
184
|
...r
|
|
185
185
|
}) => /* @__PURE__ */ i(
|
|
186
186
|
V,
|
|
187
187
|
{
|
|
188
188
|
defaultViewBox: "0 0 512 512",
|
|
189
189
|
size: "size-5",
|
|
190
|
-
viewBox:
|
|
190
|
+
viewBox: a,
|
|
191
191
|
className: t,
|
|
192
192
|
title: o || "Sliders",
|
|
193
193
|
...r,
|
|
@@ -196,29 +196,29 @@ const Lt = ({
|
|
|
196
196
|
"path",
|
|
197
197
|
{
|
|
198
198
|
d: "M0 96c0-17.7 14.3-32 32-32h86.7c-2.1 4.9-3.8 10.1-4.9 15.4-.6 2.7-1 5.4-1.3 8.2-.1 1.4-.3 2.8-.3 4.2s-.1 2.8-.1 4.2c0 11.4 2.4 22.2 6.7 32H32c-17.7 0-32-14.3-32-32m0 160c0-17.7 14.3-32 32-32h246.7c-2.1 4.9-3.8 10.1-4.9 15.4-.6 2.7-1 5.4-1.3 8.2-.1 1.4-.3 2.8-.3 4.2s-.1 2.8-.1 4.2c0 11.4 2.4 22.2 6.7 32H32c-17.7 0-32-14.3-32-32m0 160c0-17.7 14.3-32 32-32h54.7c-2.1 4.9-3.8 10.1-4.9 15.4-.6 2.7-1 5.4-1.3 8.2-.1 1.4-.3 2.8-.3 4.2s-.1 2.8-.1 4.2c0 11.4 2.4 22.2 6.7 32H32c-17.7 0-32-14.3-32-32m233.3-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H233.3c2.1-4.9 3.8-10.1 4.9-15.4.6-2.7 1-5.4 1.3-8.2.1-1.4.3-2.8.3-4.2s.1-2.8.1-4.2c0-11.4-2.4-22.2-6.7-32zm32-320H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H265.3c2.1-4.9 3.8-10.1 4.9-15.4.6-2.7 1-5.4 1.3-8.2.1-1.4.3-2.8.3-4.2s.1-2.8.1-4.2c0-11.4-2.4-22.2-6.7-32zm160 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32h-54.7c2.1-4.9 3.8-10.1 4.9-15.4.6-2.7 1-5.4 1.3-8.2.1-1.4.3-2.8.3-4.2s.1-2.8.1-4.2c0-11.4-2.4-22.2-6.7-32z",
|
|
199
|
-
opacity:
|
|
199
|
+
opacity: n ? "1" : "0.4"
|
|
200
200
|
}
|
|
201
201
|
),
|
|
202
202
|
/* @__PURE__ */ e("path", { d: "M128 416a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0m80-160a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0M192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64m0-112a80 80 0 1 0 0 160 80 80 0 1 0 0-160" })
|
|
203
203
|
]
|
|
204
204
|
}
|
|
205
205
|
), $t = () => {
|
|
206
|
-
const { getAccessToken: t } = F(),
|
|
207
|
-
data:
|
|
206
|
+
const { getAccessToken: t } = F(), a = me(), o = me(), {
|
|
207
|
+
data: n,
|
|
208
208
|
error: r,
|
|
209
209
|
isLoading: c
|
|
210
210
|
} = ft({
|
|
211
211
|
getAccessToken: t
|
|
212
|
-
}), s = (
|
|
212
|
+
}), s = (n == null ? void 0 : n.plugins) || [], d = (n == null ? void 0 : n.version) || "", u = (n == null ? void 0 : n.models) || [];
|
|
213
213
|
return /* @__PURE__ */ i(z, { children: [
|
|
214
214
|
/* @__PURE__ */ e("div", { className: "mb-4", children: /* @__PURE__ */ e(
|
|
215
215
|
B,
|
|
216
216
|
{
|
|
217
217
|
header: N.ABOUT.TITLE_CLIENT,
|
|
218
218
|
className: "prose-dark dark:prose-lighter",
|
|
219
|
-
children: de(
|
|
220
|
-
[N.ABOUT.VERSION]: "6.3.
|
|
221
|
-
[N.ABOUT.BUILD_TIMESTAMP]: "01/
|
|
219
|
+
children: de(a, {
|
|
220
|
+
[N.ABOUT.VERSION]: "6.3.2",
|
|
221
|
+
[N.ABOUT.BUILD_TIMESTAMP]: "01/25/2025 12:37 PM EST"
|
|
222
222
|
})
|
|
223
223
|
}
|
|
224
224
|
) }),
|
|
@@ -237,19 +237,19 @@ const Lt = ({
|
|
|
237
237
|
] });
|
|
238
238
|
}, Vt = ({
|
|
239
239
|
open: t,
|
|
240
|
-
onOpenChange:
|
|
241
|
-
}) => /* @__PURE__ */ e(ce, { open: t, onOpenChange:
|
|
240
|
+
onOpenChange: a
|
|
241
|
+
}) => /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: Qe, children: /* @__PURE__ */ e($t, {}) }), Ft = async (t, a, o, n) => {
|
|
242
242
|
try {
|
|
243
243
|
const r = await se({
|
|
244
|
-
accessToken:
|
|
244
|
+
accessToken: n,
|
|
245
245
|
type: le.GET_CHAT,
|
|
246
246
|
params: {
|
|
247
247
|
id: t.id
|
|
248
248
|
}
|
|
249
249
|
});
|
|
250
|
-
r.status === 200 && (
|
|
250
|
+
r.status === 200 && (a({
|
|
251
251
|
type: Ze
|
|
252
|
-
}),
|
|
252
|
+
}), a({
|
|
253
253
|
type: et,
|
|
254
254
|
payload: {
|
|
255
255
|
id: t.id,
|
|
@@ -262,9 +262,9 @@ const Lt = ({
|
|
|
262
262
|
}
|
|
263
263
|
}, Gt = ({
|
|
264
264
|
filteredHistory: t,
|
|
265
|
-
dispatch:
|
|
265
|
+
dispatch: a,
|
|
266
266
|
onOpenChange: o,
|
|
267
|
-
mutate:
|
|
267
|
+
mutate: n
|
|
268
268
|
}) => {
|
|
269
269
|
var A;
|
|
270
270
|
const { user: r, getAccessToken: c } = F(), s = S(null), d = S({
|
|
@@ -307,7 +307,7 @@ const Lt = ({
|
|
|
307
307
|
userId: (r == null ? void 0 : r.username) || "",
|
|
308
308
|
id: m.id
|
|
309
309
|
}
|
|
310
|
-
}),
|
|
310
|
+
}), n();
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}, g = Be((m) => {
|
|
@@ -321,7 +321,7 @@ const Lt = ({
|
|
|
321
321
|
s.current && w.observe(s.current);
|
|
322
322
|
}), /* @__PURE__ */ i(z, { children: [
|
|
323
323
|
/* @__PURE__ */ i(
|
|
324
|
-
|
|
324
|
+
Oe,
|
|
325
325
|
{
|
|
326
326
|
showConfirmation: u,
|
|
327
327
|
setShowConfirmation: f,
|
|
@@ -350,7 +350,7 @@ const Lt = ({
|
|
|
350
350
|
),
|
|
351
351
|
/* @__PURE__ */ i(pt, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
|
|
352
352
|
/* @__PURE__ */ e(gt, { children: /* @__PURE__ */ i(ge, { children: [
|
|
353
|
-
/* @__PURE__ */ e(
|
|
353
|
+
/* @__PURE__ */ e(O, { className: "sr-only", children: "Row" }),
|
|
354
354
|
/* @__PURE__ */ e(
|
|
355
355
|
yt,
|
|
356
356
|
{
|
|
@@ -365,18 +365,18 @@ const Lt = ({
|
|
|
365
365
|
children: "Date"
|
|
366
366
|
}
|
|
367
367
|
),
|
|
368
|
-
/* @__PURE__ */ e(
|
|
369
|
-
/* @__PURE__ */ e(
|
|
370
|
-
/* @__PURE__ */ e(
|
|
368
|
+
/* @__PURE__ */ e(O, { className: "text-xs sm:text-sm", children: "First message" }),
|
|
369
|
+
/* @__PURE__ */ e(O, { className: "text-xs sm:text-sm", children: "Model" }),
|
|
370
|
+
/* @__PURE__ */ e(O, { className: "text-xs sm:text-sm text-right", children: "Actions" })
|
|
371
371
|
] }) }),
|
|
372
372
|
/* @__PURE__ */ e(bt, { children: t.slice(0, p).map((m, w) => {
|
|
373
373
|
var I, D;
|
|
374
374
|
return ((I = m == null ? void 0 : m.messages) == null ? void 0 : I.length) > 0 ? /* @__PURE__ */ i(It, { children: [
|
|
375
375
|
w === p - ve && /* @__PURE__ */ e("tr", { ref: s }),
|
|
376
376
|
/* @__PURE__ */ i(ge, { children: [
|
|
377
|
-
/* @__PURE__ */ e(
|
|
377
|
+
/* @__PURE__ */ e(O, { children: w + 1 }),
|
|
378
378
|
/* @__PURE__ */ e(
|
|
379
|
-
|
|
379
|
+
O,
|
|
380
380
|
{
|
|
381
381
|
component: "th",
|
|
382
382
|
scope: "row",
|
|
@@ -385,7 +385,7 @@ const Lt = ({
|
|
|
385
385
|
}
|
|
386
386
|
),
|
|
387
387
|
/* @__PURE__ */ e(
|
|
388
|
-
|
|
388
|
+
O,
|
|
389
389
|
{
|
|
390
390
|
className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
|
|
391
391
|
style: {
|
|
@@ -395,7 +395,7 @@ const Lt = ({
|
|
|
395
395
|
}
|
|
396
396
|
),
|
|
397
397
|
/* @__PURE__ */ i(
|
|
398
|
-
|
|
398
|
+
O,
|
|
399
399
|
{
|
|
400
400
|
component: "th",
|
|
401
401
|
scope: "row",
|
|
@@ -407,7 +407,7 @@ const Lt = ({
|
|
|
407
407
|
]
|
|
408
408
|
}
|
|
409
409
|
),
|
|
410
|
-
/* @__PURE__ */ i(
|
|
410
|
+
/* @__PURE__ */ i(O, { align: "right", children: [
|
|
411
411
|
/* @__PURE__ */ e(
|
|
412
412
|
oe,
|
|
413
413
|
{
|
|
@@ -419,7 +419,7 @@ const Lt = ({
|
|
|
419
419
|
const L = await c();
|
|
420
420
|
Ft(
|
|
421
421
|
m,
|
|
422
|
-
|
|
422
|
+
a,
|
|
423
423
|
o,
|
|
424
424
|
L
|
|
425
425
|
);
|
|
@@ -448,7 +448,7 @@ const Lt = ({
|
|
|
448
448
|
] })
|
|
449
449
|
] }, `${N.HISTORY.TITLE}-${m.id}-${w}`) : null;
|
|
450
450
|
}) }),
|
|
451
|
-
/* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
|
|
451
|
+
/* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(O, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ue(
|
|
452
452
|
`${t.length} chat`,
|
|
453
453
|
t.length
|
|
454
454
|
) }) }) }) })
|
|
@@ -456,11 +456,11 @@ const Lt = ({
|
|
|
456
456
|
] });
|
|
457
457
|
}, Ut = ({
|
|
458
458
|
open: t,
|
|
459
|
-
onOpenChange:
|
|
459
|
+
onOpenChange: a
|
|
460
460
|
}) => {
|
|
461
|
-
const { getAccessToken: o, user:
|
|
461
|
+
const { getAccessToken: o, user: n } = F(), { state: r, dispatch: c } = he(Pe), { state: s, dispatch: d } = he(Me), { data: u, mutate: f } = Et({
|
|
462
462
|
keys: [
|
|
463
|
-
|
|
463
|
+
n == null ? void 0 : n.username,
|
|
464
464
|
s.searchString,
|
|
465
465
|
s.sortDirection,
|
|
466
466
|
(r == null ? void 0 : r.lastTriggeredTimestamp) || 0
|
|
@@ -475,13 +475,13 @@ const Lt = ({
|
|
|
475
475
|
}, [u]);
|
|
476
476
|
const h = async (g) => {
|
|
477
477
|
b(g), d({
|
|
478
|
-
type:
|
|
478
|
+
type: nt,
|
|
479
479
|
payload: { searchString: g }
|
|
480
480
|
});
|
|
481
|
-
}, T =
|
|
481
|
+
}, T = at((g) => {
|
|
482
482
|
h(g.target.value.trim());
|
|
483
483
|
}, 500);
|
|
484
|
-
return /* @__PURE__ */ e(ce, { open: t, onOpenChange:
|
|
484
|
+
return /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: rt, children: /* @__PURE__ */ i(z, { children: [
|
|
485
485
|
/* @__PURE__ */ e("form", { autoComplete: "off", onSubmit: async (g) => {
|
|
486
486
|
g.preventDefault();
|
|
487
487
|
}, children: /* @__PURE__ */ e(
|
|
@@ -524,13 +524,13 @@ const Lt = ({
|
|
|
524
524
|
mutate: f,
|
|
525
525
|
filteredHistory: x,
|
|
526
526
|
dispatch: c,
|
|
527
|
-
onOpenChange:
|
|
527
|
+
onOpenChange: a
|
|
528
528
|
}
|
|
529
529
|
) })
|
|
530
530
|
] }) });
|
|
531
531
|
}, Yt = ({ stats: t }) => {
|
|
532
|
-
const { isAuthenticated:
|
|
533
|
-
return
|
|
532
|
+
const { isAuthenticated: a, user: o, registeringForPasskey: n, authenticationType: r } = F(), c = me(), s = me(), d = (o == null ? void 0 : o.username) || "";
|
|
533
|
+
return a && d ? /* @__PURE__ */ i(z, { children: [
|
|
534
534
|
/* @__PURE__ */ e(
|
|
535
535
|
B,
|
|
536
536
|
{
|
|
@@ -547,8 +547,8 @@ const Lt = ({
|
|
|
547
547
|
{
|
|
548
548
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
549
549
|
header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ i(q, { columnGap: 3, alignVertical: "center", children: [
|
|
550
|
-
/* @__PURE__ */ e(
|
|
551
|
-
/* @__PURE__ */ e(
|
|
550
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(Ie, { size: "size-8" }) }),
|
|
551
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
|
|
552
552
|
] }) }),
|
|
553
553
|
children: [
|
|
554
554
|
/* @__PURE__ */ e("p", { children: N.PREFERENCES.PASSKEY_INSTRUCTIONS }),
|
|
@@ -557,7 +557,7 @@ const Lt = ({
|
|
|
557
557
|
{
|
|
558
558
|
size: "small",
|
|
559
559
|
className: "mt-2",
|
|
560
|
-
onClick:
|
|
560
|
+
onClick: n,
|
|
561
561
|
labelLeft: N.PREFERENCES.PASSKEY_BUTTON,
|
|
562
562
|
children: /* @__PURE__ */ e(Ie, { size: "size-5", monotone: !0 })
|
|
563
563
|
}
|
|
@@ -581,26 +581,26 @@ const Lt = ({
|
|
|
581
581
|
] }) : null;
|
|
582
582
|
}, jt = ({
|
|
583
583
|
open: t,
|
|
584
|
-
onOpenChange:
|
|
584
|
+
onOpenChange: a
|
|
585
585
|
}) => {
|
|
586
|
-
const { getAccessToken: o, user:
|
|
586
|
+
const { getAccessToken: o, user: n } = F(), {
|
|
587
587
|
data: r,
|
|
588
588
|
error: c,
|
|
589
589
|
isLoading: s
|
|
590
590
|
} = Tt({
|
|
591
|
-
keys: [
|
|
591
|
+
keys: [n == null ? void 0 : n.username],
|
|
592
592
|
getAccessToken: o
|
|
593
593
|
});
|
|
594
|
-
return c || s ? null : /* @__PURE__ */ e(ce, { open: t, onOpenChange:
|
|
594
|
+
return c || s ? null : /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: lt, children: /* @__PURE__ */ e(Yt, { stats: r }) });
|
|
595
595
|
};
|
|
596
596
|
/*!
|
|
597
|
-
@versini/ui-textarea v3.0.
|
|
597
|
+
@versini/ui-textarea v3.0.12
|
|
598
598
|
© 2025 gizmette.com
|
|
599
599
|
*/
|
|
600
600
|
try {
|
|
601
601
|
window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
|
|
602
|
-
version: "3.0.
|
|
603
|
-
buildTime: "01/
|
|
602
|
+
version: "3.0.12",
|
|
603
|
+
buildTime: "01/25/2025 11:56 AM EST",
|
|
604
604
|
homepage: "https://github.com/aversini/ui-components",
|
|
605
605
|
license: "MIT"
|
|
606
606
|
});
|
|
@@ -614,10 +614,10 @@ function qt() {
|
|
|
614
614
|
}), []), Be(() => t.current, []);
|
|
615
615
|
}
|
|
616
616
|
function Qt(t) {
|
|
617
|
-
return He(() => t.every((
|
|
618
|
-
} : (
|
|
617
|
+
return He(() => t.every((a) => a == null) ? () => {
|
|
618
|
+
} : (a) => {
|
|
619
619
|
t.forEach((o) => {
|
|
620
|
-
typeof o == "function" ? o(
|
|
620
|
+
typeof o == "function" ? o(a) : o != null && (o.current = a);
|
|
621
621
|
});
|
|
622
622
|
}, t);
|
|
623
623
|
}
|
|
@@ -632,44 +632,44 @@ const Jt = {
|
|
|
632
632
|
right: 0
|
|
633
633
|
};
|
|
634
634
|
function Re(t) {
|
|
635
|
-
const
|
|
635
|
+
const a = qt(), o = S(0), n = S(null), [r, c] = C(Jt), s = He(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
|
|
636
636
|
const u = d[0];
|
|
637
637
|
u && (cancelAnimationFrame(o.current), o.current = requestAnimationFrame(() => {
|
|
638
|
-
|
|
638
|
+
n.current && a() && c(u.contentRect);
|
|
639
639
|
}));
|
|
640
|
-
}), [
|
|
641
|
-
return H(() => (
|
|
640
|
+
}), [a]);
|
|
641
|
+
return H(() => (n.current && (s == null || s.observe(n.current, t)), () => {
|
|
642
642
|
s == null || s.disconnect(), o.current && cancelAnimationFrame(o.current);
|
|
643
|
-
}), [s, t]), [
|
|
643
|
+
}), [s, t]), [n, r];
|
|
644
644
|
}
|
|
645
645
|
function Zt({
|
|
646
646
|
value: t,
|
|
647
|
-
defaultValue:
|
|
647
|
+
defaultValue: a,
|
|
648
648
|
finalValue: o,
|
|
649
|
-
onChange:
|
|
649
|
+
onChange: n = () => {
|
|
650
650
|
},
|
|
651
651
|
initialControlledDelay: r = 0
|
|
652
652
|
}) {
|
|
653
653
|
const [c, s] = C(!1), [d, u] = C(
|
|
654
|
-
|
|
654
|
+
a !== void 0 ? a : o
|
|
655
655
|
), f = (p) => {
|
|
656
|
-
u(p),
|
|
656
|
+
u(p), n == null || n(p);
|
|
657
657
|
};
|
|
658
658
|
return H(() => {
|
|
659
659
|
(async () => t !== void 0 && !c && r > 0 && (await new Promise(
|
|
660
660
|
(p) => setTimeout(p, r)
|
|
661
661
|
), s(!0)))();
|
|
662
|
-
}, [t, r, c]), t !== void 0 ? !c && r > 0 ? ["",
|
|
662
|
+
}, [t, r, c]), t !== void 0 ? !c && r > 0 ? ["", n, !0] : [t, n, !0] : [d, f, !1];
|
|
663
663
|
}
|
|
664
664
|
function er(t) {
|
|
665
|
-
const
|
|
665
|
+
const a = _t();
|
|
666
666
|
if (!t)
|
|
667
|
-
return
|
|
667
|
+
return a;
|
|
668
668
|
if (typeof t == "number" || typeof t == "string")
|
|
669
|
-
return `${t}${
|
|
669
|
+
return `${t}${a}`;
|
|
670
670
|
if (typeof t == "object") {
|
|
671
|
-
const { id: o, prefix:
|
|
672
|
-
return typeof o == "number" || typeof o == "string" ? `${
|
|
671
|
+
const { id: o, prefix: n = "" } = t;
|
|
672
|
+
return typeof o == "number" || typeof o == "string" ? `${n}${o}` : `${n}${a}`;
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
@@ -680,12 +680,12 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
680
680
|
progressbar: null,
|
|
681
681
|
status: "polite",
|
|
682
682
|
timer: "assertive"
|
|
683
|
-
}, rr = (t,
|
|
684
|
-
switch (
|
|
683
|
+
}, rr = (t, a) => {
|
|
684
|
+
switch (a == null ? void 0 : a.type) {
|
|
685
685
|
case $e:
|
|
686
686
|
return {
|
|
687
687
|
...t,
|
|
688
|
-
announcement:
|
|
688
|
+
announcement: a.payload
|
|
689
689
|
};
|
|
690
690
|
case Ve:
|
|
691
691
|
return {
|
|
@@ -695,48 +695,48 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
695
695
|
default:
|
|
696
696
|
return t;
|
|
697
697
|
}
|
|
698
|
-
},
|
|
698
|
+
}, nr = ({
|
|
699
699
|
onAnnouncementClear: t,
|
|
700
|
-
dispatch:
|
|
700
|
+
dispatch: a
|
|
701
701
|
}) => {
|
|
702
|
-
|
|
702
|
+
a({
|
|
703
703
|
type: Ve
|
|
704
704
|
}), typeof t == "function" && t();
|
|
705
705
|
}, Le = ({
|
|
706
706
|
children: t,
|
|
707
|
-
clearAnnouncementDelay:
|
|
707
|
+
clearAnnouncementDelay: a,
|
|
708
708
|
clearAnnouncementTimeoutRef: o,
|
|
709
|
-
onAnnouncementClear:
|
|
709
|
+
onAnnouncementClear: n,
|
|
710
710
|
dispatch: r
|
|
711
711
|
}) => {
|
|
712
712
|
clearTimeout(o.current), t !== null && r({
|
|
713
713
|
type: $e,
|
|
714
714
|
payload: t
|
|
715
|
-
}),
|
|
716
|
-
() =>
|
|
717
|
-
onAnnouncementClear:
|
|
715
|
+
}), a && (o.current = setTimeout(
|
|
716
|
+
() => nr({
|
|
717
|
+
onAnnouncementClear: n,
|
|
718
718
|
dispatch: r
|
|
719
719
|
}),
|
|
720
|
-
|
|
720
|
+
a
|
|
721
721
|
));
|
|
722
|
-
},
|
|
722
|
+
}, ar = ({
|
|
723
723
|
children: t,
|
|
724
|
-
announcementTimeoutRef:
|
|
724
|
+
announcementTimeoutRef: a,
|
|
725
725
|
announcementDelay: o,
|
|
726
|
-
clearAnnouncementDelay:
|
|
726
|
+
clearAnnouncementDelay: n,
|
|
727
727
|
clearAnnouncementTimeoutRef: r,
|
|
728
728
|
onAnnouncementClear: c,
|
|
729
729
|
dispatch: s
|
|
730
730
|
}) => {
|
|
731
|
-
clearTimeout(
|
|
731
|
+
clearTimeout(a.current), o ? a.current = setTimeout(Le, o, {
|
|
732
732
|
children: t,
|
|
733
|
-
clearAnnouncementDelay:
|
|
733
|
+
clearAnnouncementDelay: n,
|
|
734
734
|
clearAnnouncementTimeoutRef: r,
|
|
735
735
|
onAnnouncementClear: c,
|
|
736
736
|
dispatch: s
|
|
737
737
|
}) : Le({
|
|
738
738
|
children: t,
|
|
739
|
-
clearAnnouncementDelay:
|
|
739
|
+
clearAnnouncementDelay: n,
|
|
740
740
|
clearAnnouncementTimeoutRef: r,
|
|
741
741
|
onAnnouncementClear: c,
|
|
742
742
|
dispatch: s
|
|
@@ -744,9 +744,9 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
744
744
|
};
|
|
745
745
|
function or({
|
|
746
746
|
children: t,
|
|
747
|
-
className:
|
|
747
|
+
className: a,
|
|
748
748
|
politeness: o,
|
|
749
|
-
role:
|
|
749
|
+
role: n = null,
|
|
750
750
|
announcementDelay: r,
|
|
751
751
|
clearAnnouncementDelay: c,
|
|
752
752
|
onAnnouncementClear: s,
|
|
@@ -757,8 +757,8 @@ function or({
|
|
|
757
757
|
announcement: null
|
|
758
758
|
});
|
|
759
759
|
let l = o;
|
|
760
|
-
typeof l > "u" && (l =
|
|
761
|
-
|
|
760
|
+
typeof l > "u" && (l = n ? tr[n] : "assertive"), H(() => {
|
|
761
|
+
ar({
|
|
762
762
|
announcementTimeoutRef: f,
|
|
763
763
|
announcementDelay: r,
|
|
764
764
|
children: t,
|
|
@@ -773,14 +773,14 @@ function or({
|
|
|
773
773
|
c,
|
|
774
774
|
s
|
|
775
775
|
]);
|
|
776
|
-
const h = y(
|
|
776
|
+
const h = y(a, {
|
|
777
777
|
"sr-only": !d
|
|
778
778
|
});
|
|
779
779
|
return /* @__PURE__ */ e(
|
|
780
780
|
"div",
|
|
781
781
|
{
|
|
782
782
|
"aria-live": l,
|
|
783
|
-
...
|
|
783
|
+
...n && { role: n },
|
|
784
784
|
className: h,
|
|
785
785
|
...u,
|
|
786
786
|
children: b.announcement
|
|
@@ -794,7 +794,7 @@ function or({
|
|
|
794
794
|
try {
|
|
795
795
|
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
|
796
796
|
version: "1.3.7",
|
|
797
|
-
buildTime: "01/
|
|
797
|
+
buildTime: "01/25/2025 11:56 AM EST",
|
|
798
798
|
homepage: "https://github.com/aversini/ui-components",
|
|
799
799
|
license: "MIT"
|
|
800
800
|
});
|
|
@@ -814,21 +814,21 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
814
814
|
"focus:outline-focus-dark dark:focus:outline-focus-light": t === "system"
|
|
815
815
|
}), ir = ({
|
|
816
816
|
noBorder: t,
|
|
817
|
-
error:
|
|
817
|
+
error: a
|
|
818
818
|
}) => y("border-2", {
|
|
819
|
-
"border-border-dark": !t && !
|
|
820
|
-
"focus:border-border-dark": !t &&
|
|
821
|
-
"border-border-error-dark": !t &&
|
|
819
|
+
"border-border-dark": !t && !a,
|
|
820
|
+
"focus:border-border-dark": !t && a,
|
|
821
|
+
"border-border-error-dark": !t && a,
|
|
822
822
|
"border-transparent": t
|
|
823
823
|
}), dr = ({
|
|
824
824
|
disabled: t,
|
|
825
|
-
raw:
|
|
825
|
+
raw: a,
|
|
826
826
|
error: o,
|
|
827
|
-
mode:
|
|
827
|
+
mode: n,
|
|
828
828
|
leftElement: r,
|
|
829
829
|
rightElement: c
|
|
830
830
|
}) => {
|
|
831
|
-
if (
|
|
831
|
+
if (a)
|
|
832
832
|
return "";
|
|
833
833
|
if (t)
|
|
834
834
|
return y(
|
|
@@ -842,10 +842,10 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
842
842
|
"absolute px-2 cursor-text font-medium transform translate-y-0 scale-100",
|
|
843
843
|
{
|
|
844
844
|
"translate-x-[12px]": c === !0 && !r || !c && !r,
|
|
845
|
-
"text-copy-medium":
|
|
846
|
-
"text-copy-dark":
|
|
847
|
-
"text-copy-dark dark:text-copy-medium":
|
|
848
|
-
"text-copy-medium dark:text-copy-dark":
|
|
845
|
+
"text-copy-medium": n === "dark",
|
|
846
|
+
"text-copy-dark": n === "light",
|
|
847
|
+
"text-copy-dark dark:text-copy-medium": n === "system",
|
|
848
|
+
"text-copy-medium dark:text-copy-dark": n === "alt-system"
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
851
|
if (o)
|
|
@@ -853,21 +853,21 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
853
853
|
"absolute px-2 cursor-text font-medium transform translate-y-0 scale-100",
|
|
854
854
|
{
|
|
855
855
|
"translate-x-[12px]": c === !0 && !r || !c && !r,
|
|
856
|
-
"text-copy-medium":
|
|
857
|
-
"text-copy-error-dark":
|
|
858
|
-
"text-copy-error-dark dark:text-copy-error-light":
|
|
859
|
-
"text-copy-medium dark:text-copy-error-dark":
|
|
856
|
+
"text-copy-medium": n === "dark",
|
|
857
|
+
"text-copy-error-dark": n === "light",
|
|
858
|
+
"text-copy-error-dark dark:text-copy-error-light": n === "system",
|
|
859
|
+
"text-copy-medium dark:text-copy-error-dark": n === "alt-system"
|
|
860
860
|
}
|
|
861
861
|
);
|
|
862
862
|
}, ur = ({
|
|
863
863
|
error: t,
|
|
864
|
-
raw:
|
|
864
|
+
raw: a,
|
|
865
865
|
mode: o,
|
|
866
|
-
disabled:
|
|
866
|
+
disabled: n
|
|
867
867
|
}) => {
|
|
868
|
-
if (n)
|
|
869
|
-
return "";
|
|
870
868
|
if (a)
|
|
869
|
+
return "";
|
|
870
|
+
if (n)
|
|
871
871
|
return y(
|
|
872
872
|
ye,
|
|
873
873
|
"absolute px-2 cursor-not-allowed opacity-50 font-medium"
|
|
@@ -888,9 +888,9 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
888
888
|
});
|
|
889
889
|
}, mr = ({
|
|
890
890
|
className: t,
|
|
891
|
-
textAreaClassName:
|
|
891
|
+
textAreaClassName: a,
|
|
892
892
|
raw: o,
|
|
893
|
-
focusMode:
|
|
893
|
+
focusMode: n,
|
|
894
894
|
disabled: r,
|
|
895
895
|
noBorder: c,
|
|
896
896
|
error: s,
|
|
@@ -902,12 +902,12 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
902
902
|
"relative flex w-full flex-col justify-center",
|
|
903
903
|
Kt,
|
|
904
904
|
t
|
|
905
|
-
), b = o ? y(
|
|
905
|
+
), b = o ? y(a) : y(
|
|
906
906
|
De,
|
|
907
|
-
|
|
907
|
+
a,
|
|
908
908
|
sr(),
|
|
909
909
|
lr({ mode: d }),
|
|
910
|
-
cr({ focusMode:
|
|
910
|
+
cr({ focusMode: n }),
|
|
911
911
|
ir({
|
|
912
912
|
noBorder: c,
|
|
913
913
|
error: s
|
|
@@ -939,14 +939,14 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
939
939
|
};
|
|
940
940
|
}, hr = ({
|
|
941
941
|
scrollHeight: t,
|
|
942
|
-
currentHeight:
|
|
942
|
+
currentHeight: a,
|
|
943
943
|
currentLabelOffset: o = 0,
|
|
944
|
-
currentHelperTextOffset:
|
|
944
|
+
currentHelperTextOffset: n = 0
|
|
945
945
|
}) => {
|
|
946
946
|
let r, c;
|
|
947
|
-
if (t > 0 && t !==
|
|
948
|
-
const s = t -
|
|
949
|
-
r = o + -1 * Math.sign(s) * (12 * d), c =
|
|
947
|
+
if (t > 0 && t !== a) {
|
|
948
|
+
const s = t - a, d = Math.abs(s / 24);
|
|
949
|
+
r = o + -1 * Math.sign(s) * (12 * d), c = n + Math.sign(s) * (12 * d);
|
|
950
950
|
}
|
|
951
951
|
return {
|
|
952
952
|
labelOffset: r,
|
|
@@ -956,9 +956,9 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
956
956
|
}, xe = At.forwardRef(
|
|
957
957
|
({
|
|
958
958
|
id: t,
|
|
959
|
-
name:
|
|
959
|
+
name: a,
|
|
960
960
|
label: o,
|
|
961
|
-
error:
|
|
961
|
+
error: n = !1,
|
|
962
962
|
raw: r = !1,
|
|
963
963
|
className: c,
|
|
964
964
|
textAreaClassName: s,
|
|
@@ -981,10 +981,10 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
981
981
|
var L;
|
|
982
982
|
const _ = S(null), ie = Qt([D, _]), [k, R] = Re(), [Q, G] = Re(), K = S(80), U = S(-25), M = S(null), J = S(30), Z = S(null), Y = er({ id: t, prefix: `${De}-` }), [Ee, Fe] = C(0), [Te, Ge] = C(0), [Ue, Ne] = C(
|
|
983
983
|
!!(!T && h)
|
|
984
|
-
), Ye = `${
|
|
984
|
+
), Ye = `${a} error, ${h}`, j = mr({
|
|
985
985
|
className: c,
|
|
986
986
|
textAreaClassName: s,
|
|
987
|
-
error:
|
|
987
|
+
error: n,
|
|
988
988
|
raw: r,
|
|
989
989
|
focusMode: u,
|
|
990
990
|
disabled: b,
|
|
@@ -1010,13 +1010,13 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1010
1010
|
}, Xe = (v) => {
|
|
1011
1011
|
T && h && !$ && Ne(!1), w && w(v);
|
|
1012
1012
|
};
|
|
1013
|
-
return
|
|
1013
|
+
return ne(() => {
|
|
1014
1014
|
R && R.width && Fe(R.width + 18 + 10);
|
|
1015
|
-
}, [R]),
|
|
1015
|
+
}, [R]), ne(() => {
|
|
1016
1016
|
G && G.width && Ge(G.width + 18 + 10);
|
|
1017
|
-
}, [G]),
|
|
1017
|
+
}, [G]), ne(() => {
|
|
1018
1018
|
r || _ && _.current && $ !== void 0 && (_.current.style.height = "inherit", _.current.style.height = _.current.scrollHeight + "px");
|
|
1019
|
-
}, [$, r]),
|
|
1019
|
+
}, [$, r]), ne(() => {
|
|
1020
1020
|
r || setTimeout(() => {
|
|
1021
1021
|
var v;
|
|
1022
1022
|
(v = M == null ? void 0 : M.current) == null || v.style.setProperty(
|
|
@@ -1024,7 +1024,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1024
1024
|
$ ? "none" : "all 0.2s ease-out"
|
|
1025
1025
|
);
|
|
1026
1026
|
}, 0);
|
|
1027
|
-
}, [$, r]),
|
|
1027
|
+
}, [$, r]), ne(() => {
|
|
1028
1028
|
var v, we;
|
|
1029
1029
|
if (!r && _ && _.current && $ !== void 0) {
|
|
1030
1030
|
const { labelOffset: fe, helperTextOffset: pe, scrollHeight: qe } = hr({
|
|
@@ -1067,13 +1067,13 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1067
1067
|
{
|
|
1068
1068
|
ref: ie,
|
|
1069
1069
|
id: Y,
|
|
1070
|
-
name:
|
|
1070
|
+
name: a,
|
|
1071
1071
|
disabled: b,
|
|
1072
1072
|
placeholder: r ? void 0 : " ",
|
|
1073
1073
|
className: j.textArea,
|
|
1074
1074
|
rows: 1,
|
|
1075
1075
|
...h && { "aria-describedby": `${Y}-helper` },
|
|
1076
|
-
...
|
|
1076
|
+
...n && { "aria-invalid": "true" },
|
|
1077
1077
|
...E && !g && !r && { style: { paddingRight: Ee } },
|
|
1078
1078
|
...g && !E && !r && { style: { paddingLeft: Te } },
|
|
1079
1079
|
...E && g && !r && {
|
|
@@ -1116,7 +1116,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1116
1116
|
children: E
|
|
1117
1117
|
}
|
|
1118
1118
|
),
|
|
1119
|
-
|
|
1119
|
+
n && h && /* @__PURE__ */ e(or, { politeness: "polite", clearAnnouncementDelay: 500, children: Ye })
|
|
1120
1120
|
] });
|
|
1121
1121
|
}
|
|
1122
1122
|
);
|
|
@@ -1167,17 +1167,17 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1167
1167
|
"after:content-['']"
|
|
1168
1168
|
), xr = ({
|
|
1169
1169
|
mode: t,
|
|
1170
|
-
noBorder:
|
|
1170
|
+
noBorder: a
|
|
1171
1171
|
}) => y({
|
|
1172
|
-
border: !
|
|
1172
|
+
border: !a,
|
|
1173
1173
|
"border-border-dark bg-surface-medium": t === "light",
|
|
1174
1174
|
"border-border-light bg-surface-darker": t === "dark",
|
|
1175
1175
|
"border-border-light bg-surface-darker dark:border-border-dark dark:bg-surface-medium": t === "alt-system",
|
|
1176
1176
|
"border-border-dark bg-surface-medium dark:border-border-light dark:bg-surface-darker": t === "system"
|
|
1177
1177
|
}), kr = ({
|
|
1178
1178
|
mode: t,
|
|
1179
|
-
labelHidden:
|
|
1180
|
-
}) =>
|
|
1179
|
+
labelHidden: a
|
|
1180
|
+
}) => a ? "sr-only" : y("ml-2 text-sm", {
|
|
1181
1181
|
"text-copy-dark": t === "light",
|
|
1182
1182
|
"text-copy-lighter": t === "dark",
|
|
1183
1183
|
"text-copy-lighter dark:text-copy-dark": t === "alt-system",
|
|
@@ -1188,26 +1188,26 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1188
1188
|
t
|
|
1189
1189
|
), Er = ({
|
|
1190
1190
|
mode: t,
|
|
1191
|
-
focusMode:
|
|
1191
|
+
focusMode: a,
|
|
1192
1192
|
labelHidden: o,
|
|
1193
|
-
className:
|
|
1193
|
+
className: n,
|
|
1194
1194
|
noBorder: r
|
|
1195
1195
|
}) => ({
|
|
1196
1196
|
toggle: y(
|
|
1197
1197
|
pr(),
|
|
1198
1198
|
xr({ mode: t, noBorder: r }),
|
|
1199
|
-
gr({ focusMode:
|
|
1199
|
+
gr({ focusMode: a }),
|
|
1200
1200
|
br(),
|
|
1201
1201
|
yr()
|
|
1202
1202
|
),
|
|
1203
1203
|
label: kr({ mode: t, labelHidden: o }),
|
|
1204
1204
|
input: "peer sr-only",
|
|
1205
|
-
wrapper: Cr({ className:
|
|
1206
|
-
}),
|
|
1205
|
+
wrapper: Cr({ className: n })
|
|
1206
|
+
}), ae = ({
|
|
1207
1207
|
checked: t = !1,
|
|
1208
|
-
onChange:
|
|
1208
|
+
onChange: a,
|
|
1209
1209
|
label: o,
|
|
1210
|
-
labelHidden:
|
|
1210
|
+
labelHidden: n = !1,
|
|
1211
1211
|
name: r,
|
|
1212
1212
|
mode: c = "system",
|
|
1213
1213
|
focusMode: s = "system",
|
|
@@ -1217,11 +1217,11 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1217
1217
|
const f = Er({
|
|
1218
1218
|
mode: c,
|
|
1219
1219
|
focusMode: s,
|
|
1220
|
-
labelHidden:
|
|
1220
|
+
labelHidden: n,
|
|
1221
1221
|
className: d,
|
|
1222
1222
|
noBorder: u
|
|
1223
1223
|
}), p = (b) => {
|
|
1224
|
-
|
|
1224
|
+
a == null || a(b.target.checked);
|
|
1225
1225
|
};
|
|
1226
1226
|
return /* @__PURE__ */ i("label", { className: f.wrapper, children: [
|
|
1227
1227
|
/* @__PURE__ */ e(
|
|
@@ -1239,15 +1239,15 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1239
1239
|
] });
|
|
1240
1240
|
}, Tr = ({
|
|
1241
1241
|
open: t,
|
|
1242
|
-
onOpenChange:
|
|
1242
|
+
onOpenChange: a
|
|
1243
1243
|
}) => {
|
|
1244
|
-
const { getAccessToken: o, user:
|
|
1244
|
+
const { getAccessToken: o, user: n } = F(), {
|
|
1245
1245
|
data: r,
|
|
1246
1246
|
error: c,
|
|
1247
1247
|
isLoading: s,
|
|
1248
1248
|
mutate: d
|
|
1249
1249
|
} = ze({
|
|
1250
|
-
keys: [
|
|
1250
|
+
keys: [n == null ? void 0 : n.username],
|
|
1251
1251
|
getAccessToken: o,
|
|
1252
1252
|
isPaused: !0
|
|
1253
1253
|
}), [u, f] = C({
|
|
@@ -1284,14 +1284,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1284
1284
|
accessToken: await o(),
|
|
1285
1285
|
type: le.SET_USER_PREFERENCES,
|
|
1286
1286
|
params: {
|
|
1287
|
-
user:
|
|
1287
|
+
user: n == null ? void 0 : n.username,
|
|
1288
1288
|
tags: u.prompts
|
|
1289
1289
|
}
|
|
1290
1290
|
});
|
|
1291
1291
|
} catch {
|
|
1292
1292
|
}
|
|
1293
1293
|
}, x = () => {
|
|
1294
|
-
d({ ...r }),
|
|
1294
|
+
d({ ...r }), a(!1);
|
|
1295
1295
|
};
|
|
1296
1296
|
return H(() => {
|
|
1297
1297
|
r != null && r.tags && f({ prompts: r.tags });
|
|
@@ -1310,7 +1310,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1310
1310
|
alignHorizontal: "flex-end",
|
|
1311
1311
|
className: "pb-8 sm:pb-0",
|
|
1312
1312
|
children: [
|
|
1313
|
-
/* @__PURE__ */ e(
|
|
1313
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1314
1314
|
X,
|
|
1315
1315
|
{
|
|
1316
1316
|
mode: "dark",
|
|
@@ -1320,14 +1320,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1320
1320
|
children: "Cancel"
|
|
1321
1321
|
}
|
|
1322
1322
|
) }),
|
|
1323
|
-
/* @__PURE__ */ e(
|
|
1323
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1324
1324
|
X,
|
|
1325
1325
|
{
|
|
1326
1326
|
mode: "dark",
|
|
1327
1327
|
variant: "danger",
|
|
1328
1328
|
focusMode: "light",
|
|
1329
1329
|
onClick: async (l) => {
|
|
1330
|
-
|
|
1330
|
+
a(!1), await b(l);
|
|
1331
1331
|
},
|
|
1332
1332
|
children: "Save"
|
|
1333
1333
|
}
|
|
@@ -1344,7 +1344,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1344
1344
|
className: "prose-dark dark:prose-lighter mb-2",
|
|
1345
1345
|
children: [
|
|
1346
1346
|
/* @__PURE__ */ i(q, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
|
|
1347
|
-
/* @__PURE__ */ e(
|
|
1347
|
+
/* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
|
|
1348
1348
|
be,
|
|
1349
1349
|
{
|
|
1350
1350
|
label: "Label",
|
|
@@ -1360,7 +1360,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1360
1360
|
}
|
|
1361
1361
|
}
|
|
1362
1362
|
) }),
|
|
1363
|
-
/* @__PURE__ */ e(
|
|
1363
|
+
/* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
|
|
1364
1364
|
be,
|
|
1365
1365
|
{
|
|
1366
1366
|
label: "Content",
|
|
@@ -1378,7 +1378,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1378
1378
|
) })
|
|
1379
1379
|
] }),
|
|
1380
1380
|
/* @__PURE__ */ e(
|
|
1381
|
-
|
|
1381
|
+
ae,
|
|
1382
1382
|
{
|
|
1383
1383
|
className: "mt-2",
|
|
1384
1384
|
noBorder: !0,
|
|
@@ -1396,7 +1396,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1396
1396
|
}
|
|
1397
1397
|
),
|
|
1398
1398
|
/* @__PURE__ */ e(
|
|
1399
|
-
|
|
1399
|
+
ae,
|
|
1400
1400
|
{
|
|
1401
1401
|
className: "mt-2",
|
|
1402
1402
|
noBorder: !0,
|
|
@@ -1423,15 +1423,15 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1423
1423
|
);
|
|
1424
1424
|
}, Nr = ({
|
|
1425
1425
|
open: t,
|
|
1426
|
-
onOpenChange:
|
|
1426
|
+
onOpenChange: a
|
|
1427
1427
|
}) => {
|
|
1428
|
-
const { getAccessToken: o, user:
|
|
1428
|
+
const { getAccessToken: o, user: n } = F(), {
|
|
1429
1429
|
data: r,
|
|
1430
1430
|
error: c,
|
|
1431
1431
|
isLoading: s,
|
|
1432
1432
|
mutate: d
|
|
1433
1433
|
} = ze({
|
|
1434
|
-
keys: [
|
|
1434
|
+
keys: [n == null ? void 0 : n.username],
|
|
1435
1435
|
getAccessToken: o
|
|
1436
1436
|
}), [u, f] = C(!1), [p, b] = C({
|
|
1437
1437
|
loadingLocation: !1
|
|
@@ -1447,7 +1447,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1447
1447
|
accessToken: await o(),
|
|
1448
1448
|
type: le.SET_USER_PREFERENCES,
|
|
1449
1449
|
params: {
|
|
1450
|
-
user:
|
|
1450
|
+
user: n == null ? void 0 : n.username,
|
|
1451
1451
|
instructions: x,
|
|
1452
1452
|
location: h,
|
|
1453
1453
|
engine: E
|
|
@@ -1486,7 +1486,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1486
1486
|
}, _ = () => {
|
|
1487
1487
|
f(!u);
|
|
1488
1488
|
}, ie = () => {
|
|
1489
|
-
d({ ...r }),
|
|
1489
|
+
d({ ...r }), a(!1);
|
|
1490
1490
|
};
|
|
1491
1491
|
return H(() => {
|
|
1492
1492
|
r != null && r.instructions && l(r.instructions), r != null && r.location && T(r.location), r != null && r.engine && g(r.engine);
|
|
@@ -1503,7 +1503,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1503
1503
|
alignHorizontal: "flex-end",
|
|
1504
1504
|
className: "pb-8 sm:pb-0",
|
|
1505
1505
|
children: [
|
|
1506
|
-
/* @__PURE__ */ e(
|
|
1506
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1507
1507
|
X,
|
|
1508
1508
|
{
|
|
1509
1509
|
mode: "dark",
|
|
@@ -1513,14 +1513,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1513
1513
|
children: "Cancel"
|
|
1514
1514
|
}
|
|
1515
1515
|
) }),
|
|
1516
|
-
/* @__PURE__ */ e(
|
|
1516
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1517
1517
|
X,
|
|
1518
1518
|
{
|
|
1519
1519
|
mode: "dark",
|
|
1520
1520
|
variant: "danger",
|
|
1521
1521
|
focusMode: "light",
|
|
1522
1522
|
onClick: async (k) => {
|
|
1523
|
-
|
|
1523
|
+
a(!1), await I(k);
|
|
1524
1524
|
},
|
|
1525
1525
|
children: "Save"
|
|
1526
1526
|
}
|
|
@@ -1538,7 +1538,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1538
1538
|
children: [
|
|
1539
1539
|
/* @__PURE__ */ e("p", { className: "text-sm", children: "Select the AI engine that will be used to generate responses." }),
|
|
1540
1540
|
/* @__PURE__ */ e(
|
|
1541
|
-
|
|
1541
|
+
ae,
|
|
1542
1542
|
{
|
|
1543
1543
|
noBorder: !0,
|
|
1544
1544
|
label: W,
|
|
@@ -1548,7 +1548,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1548
1548
|
}
|
|
1549
1549
|
),
|
|
1550
1550
|
/* @__PURE__ */ e(
|
|
1551
|
-
|
|
1551
|
+
ae,
|
|
1552
1552
|
{
|
|
1553
1553
|
className: "mt-2",
|
|
1554
1554
|
noBorder: !0,
|
|
@@ -1560,7 +1560,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1560
1560
|
),
|
|
1561
1561
|
/* @__PURE__ */ e("p", { className: "text-sm", children: 'This "Show Message Statistics" option adds individual statistics for each messages under their respective bubbles, such as processing time, model name, and more.' }),
|
|
1562
1562
|
/* @__PURE__ */ e(
|
|
1563
|
-
|
|
1563
|
+
ae,
|
|
1564
1564
|
{
|
|
1565
1565
|
className: "mt-2",
|
|
1566
1566
|
noBorder: !0,
|
|
@@ -1652,8 +1652,8 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1652
1652
|
}
|
|
1653
1653
|
);
|
|
1654
1654
|
}, _r = () => {
|
|
1655
|
-
const { logout: t } = F(), { state:
|
|
1656
|
-
|
|
1655
|
+
const { logout: t } = F(), { state: a } = he(Pe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [u, f] = C(!1), [p, b] = C(!1), x = () => {
|
|
1656
|
+
n(!o);
|
|
1657
1657
|
}, l = () => {
|
|
1658
1658
|
c(!r);
|
|
1659
1659
|
}, h = () => {
|
|
@@ -1665,7 +1665,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1665
1665
|
};
|
|
1666
1666
|
return /* @__PURE__ */ i(z, { children: [
|
|
1667
1667
|
/* @__PURE__ */ e(
|
|
1668
|
-
|
|
1668
|
+
Oe,
|
|
1669
1669
|
{
|
|
1670
1670
|
showConfirmation: p,
|
|
1671
1671
|
setShowConfirmation: b,
|
|
@@ -1678,11 +1678,11 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1678
1678
|
children: /* @__PURE__ */ e("p", { children: "Are you sure you want to log out?" })
|
|
1679
1679
|
}
|
|
1680
1680
|
),
|
|
1681
|
-
/* @__PURE__ */ e(jt, { open: o, onOpenChange:
|
|
1681
|
+
/* @__PURE__ */ e(jt, { open: o, onOpenChange: n }),
|
|
1682
1682
|
/* @__PURE__ */ e(Nr, { open: r, onOpenChange: c }),
|
|
1683
1683
|
s && /* @__PURE__ */ e(Ut, { open: s, onOpenChange: d }),
|
|
1684
1684
|
/* @__PURE__ */ e(Vt, { open: u, onOpenChange: f }),
|
|
1685
|
-
/* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(
|
|
1685
|
+
/* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1686
1686
|
wt,
|
|
1687
1687
|
{
|
|
1688
1688
|
label: "Profile, Settings, etc.",
|
|
@@ -1717,7 +1717,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1717
1717
|
{
|
|
1718
1718
|
label: "History",
|
|
1719
1719
|
onClick: h,
|
|
1720
|
-
icon: /* @__PURE__ */ e(
|
|
1720
|
+
icon: /* @__PURE__ */ e(Ot, {})
|
|
1721
1721
|
}
|
|
1722
1722
|
),
|
|
1723
1723
|
/* @__PURE__ */ e(
|
|
@@ -1725,10 +1725,10 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1725
1725
|
{
|
|
1726
1726
|
label: "About",
|
|
1727
1727
|
onClick: T,
|
|
1728
|
-
icon: /* @__PURE__ */ e(
|
|
1728
|
+
icon: /* @__PURE__ */ e(Pt, {})
|
|
1729
1729
|
}
|
|
1730
1730
|
),
|
|
1731
|
-
|
|
1731
|
+
a && a.id && !a.isComponent && /* @__PURE__ */ i(z, { children: [
|
|
1732
1732
|
/* @__PURE__ */ e(vt, {}),
|
|
1733
1733
|
/* @__PURE__ */ e(
|
|
1734
1734
|
re,
|