@versini/sassysaint 8.1.6 → 8.1.8
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.Bu_Y7DBI.js → App.CE2HubRI.js} +149 -149
- package/dist/chunks/{ChatBubbleAssistant.DgrebQgo.js → ChatBubbleAssistant.B8JCG6m1.js} +4 -4
- package/dist/chunks/{MarkdownWithExtra.Cwkg1Zvf.js → MarkdownWithExtra.B13IbFrv.js} +2 -2
- package/dist/chunks/{index.D9EM1LM1.js → index.DdbXuPVs.js} +5 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsx as c, jsxs as N, Fragment as ae } from "react/jsx-runtime";
|
2
|
-
import { I as Y, ACTION_SORT as Dr, ACTION_SEARCH as Cs, ACTION_RESET_PROMPT as Ss, ACTION_TOGGLE_PROMPT as As, useSWR as Ht, DEFAULT_AI_PROVIDER as el, isElectron as Fr, isProbablyiPhone as zr, re as pe, DEFAULT_ICON_ACTION_SIZE as Re, L as ir, j as
|
2
|
+
import { I as Y, ACTION_SORT as Dr, ACTION_SEARCH as Cs, ACTION_RESET_PROMPT as Ss, ACTION_TOGGLE_PROMPT as As, useSWR as Ht, DEFAULT_AI_PROVIDER as el, isElectron as Fr, isProbablyiPhone as zr, re as pe, DEFAULT_ICON_ACTION_SIZE as Re, L as ir, j as Pe, C as wt, LOCAL_STORAGE_PREFIX as rt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as tl, un as de, useUserPreferences as lr, serviceCall as _t, SERVICE_TYPES as It, PROVIDER_ANTHROPIC as _r, PROVIDER_OPENAI as sa, setNewProvider as Rs, PROMPT_CLASSNAME as rl, PROMPT_EDITABLE_AREA_CLASSNAME as nl, ROLE_INTERNAL as Ur, ERROR_MESSAGE as al, CLIPBOARD_PROMPT as oa, INPUT_PLACEHOLDER_TEXT as ia, FOOTER_DISCLAIMER as sl, useServerCapabilities as ol, R as we, CARDS as X, renderDataAsList as Zt, pluralize as mn, ABOUT_TITLE as il, INFINITE_SCROLL_LIMIT as la, INFINITE_SCROLL_THRESHOLD as ca, LOCAL_STORAGE_SORT as Ms, useChatsHistory as ll, LOCAL_STORAGE_SEARCH as Vs, HISTORY_TITLE as cl, fe as dl, debounce as ul, M as hl, l as da, durationFormatter as fl, useUserChatStats as ml, PROFILE_TITLE as pl, LOCAL_STORAGE_CHAT_DETAILS as gl, SETTINGS_TITLE as yl, APP_NAME as bl, PROMPTS_DESCRIPTION as vl, getCurrentGeoLocation as wl, LOG_OUT as ua, ROLE_USER as kl, ROLE_ASSISTANT as ha, getMessageContaintWrapperClass as xl, UI_FOOTER_BUFFER as Bs, UI_BUTTON_SCROLL_BUFFER as Tl, Logo as _l, UI_DEFAULT_MAIN_HEIGHT as fa, usePreloadChatsHistory as Il, serverUrl as El, getMainPaddingClass as ma, I$1 as Nl } from "./index.DdbXuPVs.js";
|
3
3
|
import g from "clsx";
|
4
4
|
import * as ee from "react";
|
5
|
-
import J, { useEffect as O, useRef as M, useState as $, useCallback as W, useSyncExternalStore as Cl, useMemo as be, useId as cr, useLayoutEffect as le, useContext as K, createContext as Sl, forwardRef as
|
6
|
-
import { useMergeRefs as pn, FloatingPortal as Os, FloatingOverlay as Ml, FloatingFocusManager as Ls, useFloating as $s, useClick as Ds, useDismiss as Fs, useRole as zs, useInteractions as Us, useFloatingTree as Hs, useFloatingNodeId as Vl, useListItem as js, offset as
|
5
|
+
import J, { useEffect as O, useRef as M, useState as $, useCallback as W, useSyncExternalStore as Cl, useMemo as be, useId as cr, useLayoutEffect as le, useContext as K, createContext as Sl, forwardRef as Ps, Fragment as Al, useReducer as yt, lazy as Rl, Suspense as pa } from "react";
|
6
|
+
import { useMergeRefs as pn, FloatingPortal as Os, FloatingOverlay as Ml, FloatingFocusManager as Ls, useFloating as $s, useClick as Ds, useDismiss as Fs, useRole as zs, useInteractions as Us, useFloatingTree as Hs, useFloatingNodeId as Vl, useListItem as js, offset as Bl, flip as Pl, shift as Ol, autoUpdate as Ll, useListNavigation as $l, useTypeahead as Dl, FloatingNode as Fl, FloatingList as zl, FloatingTree as Ul } from "@floating-ui/react";
|
7
7
|
function Ws(e) {
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
9
9
|
}
|
@@ -1085,14 +1085,14 @@ const dr = "thead", gn = "tfoot", qe = "tbody", ke = {
|
|
1085
1085
|
});
|
1086
1086
|
if (r === "selected")
|
1087
1087
|
return "border border-border-selected-dark";
|
1088
|
-
},
|
1088
|
+
}, Bc = ({
|
1089
1089
|
focusMode: e
|
1090
1090
|
}) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
1091
1091
|
"focus:outline-focus-dark": e === "dark",
|
1092
1092
|
"focus:outline-focus-light": e === "light",
|
1093
1093
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
1094
1094
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
1095
|
-
}),
|
1095
|
+
}), Pc = ({
|
1096
1096
|
mode: e,
|
1097
1097
|
raw: t,
|
1098
1098
|
iconClassName: r
|
@@ -1146,7 +1146,7 @@ const dr = "thead", gn = "tfoot", qe = "tbody", ke = {
|
|
1146
1146
|
}),
|
1147
1147
|
Nc({ type: e, size: i, labelRight: d, labelLeft: u }),
|
1148
1148
|
Vc({ mode: n, variant: f, noBorder: l }),
|
1149
|
-
|
1149
|
+
Bc({ focusMode: a }),
|
1150
1150
|
Rc({ mode: n, variant: f, disabled: s }),
|
1151
1151
|
Mc({ mode: n, variant: f, disabled: s }),
|
1152
1152
|
{
|
@@ -1264,16 +1264,16 @@ const Uc = {
|
|
1264
1264
|
radius: v,
|
1265
1265
|
variant: k,
|
1266
1266
|
animated: E
|
1267
|
-
}), x =
|
1267
|
+
}), x = Pc({ mode: r, raw: i, iconClassName: I }), y = Oc({ animated: E }), [T, R] = Ir(), [S, P] = Ir(), [A, V] = Ir(), z = M(0), B = M(null), D = Fc([_, B]);
|
1268
1268
|
return le(() => {
|
1269
1269
|
A && A.current && E && (z.current = V.width + Hc[h] + (l ? 0 : jc));
|
1270
1270
|
}, [V, A, h, l, E]), le(() => {
|
1271
|
-
|
1271
|
+
B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${Uc[h]}px`));
|
1272
1272
|
}, [
|
1273
1273
|
R,
|
1274
1274
|
f,
|
1275
1275
|
T,
|
1276
|
-
|
1276
|
+
P,
|
1277
1277
|
m,
|
1278
1278
|
S,
|
1279
1279
|
h,
|
@@ -2338,7 +2338,7 @@ var Nd = {
|
|
2338
2338
|
value: e
|
2339
2339
|
};
|
2340
2340
|
}
|
2341
|
-
},
|
2341
|
+
}, Bd = {
|
2342
2342
|
code: "c",
|
2343
2343
|
name: "tool_call_delta",
|
2344
2344
|
parse: (e) => {
|
@@ -2351,7 +2351,7 @@ var Nd = {
|
|
2351
2351
|
value: e
|
2352
2352
|
};
|
2353
2353
|
}
|
2354
|
-
},
|
2354
|
+
}, Pd = {
|
2355
2355
|
code: "d",
|
2356
2356
|
name: "finish_message",
|
2357
2357
|
parse: (e) => {
|
@@ -2455,8 +2455,8 @@ var Nd = {
|
|
2455
2455
|
Rd,
|
2456
2456
|
Md,
|
2457
2457
|
Vd,
|
2458
|
-
Pd,
|
2459
2458
|
Bd,
|
2459
|
+
Pd,
|
2460
2460
|
Od,
|
2461
2461
|
Ld,
|
2462
2462
|
$d,
|
@@ -3016,11 +3016,11 @@ function su({
|
|
3016
3016
|
O(() => {
|
3017
3017
|
T.current = x || [];
|
3018
3018
|
}, [x]);
|
3019
|
-
const { data: R, mutate: S } = Ht([_, "streamData"], null),
|
3019
|
+
const { data: R, mutate: S } = Ht([_, "streamData"], null), P = M(R);
|
3020
3020
|
O(() => {
|
3021
|
-
|
3021
|
+
P.current = R;
|
3022
3022
|
}, [R]);
|
3023
|
-
const { data: A = "ready", mutate: V } = Ht([_, "status"], null), { data: z = void 0, mutate:
|
3023
|
+
const { data: A = "ready", mutate: V } = Ht([_, "status"], null), { data: z = void 0, mutate: B } = Ht([_, "error"], null), D = M(null), U = M({
|
3024
3024
|
credentials: f,
|
3025
3025
|
headers: m,
|
3026
3026
|
body: p
|
@@ -3035,7 +3035,7 @@ function su({
|
|
3035
3035
|
const j = W(
|
3036
3036
|
async (H) => {
|
3037
3037
|
var q, Z;
|
3038
|
-
V("submitted"),
|
3038
|
+
V("submitted"), B(void 0);
|
3039
3039
|
const F = Cr(H.messages), ue = F.length, Ce = Jr(
|
3040
3040
|
(q = F[F.length - 1]) == null ? void 0 : q.toolInvocations
|
3041
3041
|
);
|
@@ -3067,7 +3067,7 @@ function su({
|
|
3067
3067
|
...na !== void 0 && { toolInvocations: na },
|
3068
3068
|
...aa !== void 0 && { parts: aa }
|
3069
3069
|
})
|
3070
|
-
), ea =
|
3070
|
+
), ea = P.current;
|
3071
3071
|
await Zd({
|
3072
3072
|
api: e,
|
3073
3073
|
body: (Z = o == null ? void 0 : o({
|
@@ -3114,7 +3114,7 @@ function su({
|
|
3114
3114
|
} catch (fe) {
|
3115
3115
|
if (fe.name === "AbortError")
|
3116
3116
|
return D.current = null, V("ready"), null;
|
3117
|
-
h && fe instanceof Error && h(fe),
|
3117
|
+
h && fe instanceof Error && h(fe), B(fe), V("error");
|
3118
3118
|
}
|
3119
3119
|
const he = T.current;
|
3120
3120
|
Qd({
|
@@ -3132,9 +3132,9 @@ function su({
|
|
3132
3132
|
d,
|
3133
3133
|
u,
|
3134
3134
|
h,
|
3135
|
-
P,
|
3136
|
-
S,
|
3137
3135
|
B,
|
3136
|
+
S,
|
3137
|
+
P,
|
3138
3138
|
l,
|
3139
3139
|
a,
|
3140
3140
|
o,
|
@@ -3193,7 +3193,7 @@ function su({
|
|
3193
3193
|
[y]
|
3194
3194
|
), Je = W(
|
3195
3195
|
(H) => {
|
3196
|
-
typeof H == "function" && (H = H(
|
3196
|
+
typeof H == "function" && (H = H(P.current)), S(H, !1), P.current = H;
|
3197
3197
|
},
|
3198
3198
|
[S]
|
3199
3199
|
), [oe, ve] = $(n), ie = W(
|
@@ -3378,13 +3378,13 @@ const cu = "av-tooltip", du = "av-tooltip-arrow", Nt = Math.min, Qe = Math.max,
|
|
3378
3378
|
function qr(e, t, r) {
|
3379
3379
|
return Qe(e, Nt(t, r));
|
3380
3380
|
}
|
3381
|
-
function
|
3381
|
+
function Bt(e, t) {
|
3382
3382
|
return typeof e == "function" ? e(t) : e;
|
3383
3383
|
}
|
3384
3384
|
function je(e) {
|
3385
3385
|
return e.split("-")[0];
|
3386
3386
|
}
|
3387
|
-
function
|
3387
|
+
function Pt(e) {
|
3388
3388
|
return e.split("-")[1];
|
3389
3389
|
}
|
3390
3390
|
function wo(e) {
|
@@ -3401,7 +3401,7 @@ function In(e) {
|
|
3401
3401
|
}
|
3402
3402
|
function fu(e, t, r) {
|
3403
3403
|
r === void 0 && (r = !1);
|
3404
|
-
const n =
|
3404
|
+
const n = Pt(e), a = In(e), s = _n(a);
|
3405
3405
|
let o = a === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
3406
3406
|
return t.reference[s] > t.floating[s] && (o = er(o)), [o, er(o)];
|
3407
3407
|
}
|
@@ -3426,7 +3426,7 @@ function pu(e, t, r) {
|
|
3426
3426
|
}
|
3427
3427
|
}
|
3428
3428
|
function gu(e, t, r, n) {
|
3429
|
-
const a =
|
3429
|
+
const a = Pt(e);
|
3430
3430
|
let s = pu(je(e), r === "start", n);
|
3431
3431
|
return a && (s = s.map((o) => o + "-" + a), t && (s = s.concat(s.map(Xr)))), s;
|
3432
3432
|
}
|
@@ -3506,7 +3506,7 @@ function Ra(e, t, r) {
|
|
3506
3506
|
y: n.y
|
3507
3507
|
};
|
3508
3508
|
}
|
3509
|
-
switch (
|
3509
|
+
switch (Pt(t)) {
|
3510
3510
|
case "start":
|
3511
3511
|
m[o] -= f * (r && d ? -1 : 1);
|
3512
3512
|
break;
|
@@ -3593,7 +3593,7 @@ async function xo(e, t) {
|
|
3593
3593
|
elementContext: h = "floating",
|
3594
3594
|
altBoundary: f = !1,
|
3595
3595
|
padding: m = 0
|
3596
|
-
} =
|
3596
|
+
} = Bt(t, e), p = ko(m), b = i[f ? h === "floating" ? "reference" : "floating" : h], v = tr(await s.getClippingRect({
|
3597
3597
|
element: (r = await (s.isElement == null ? void 0 : s.isElement(b))) == null || r ? b : b.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
|
3598
3598
|
boundary: d,
|
3599
3599
|
rootBoundary: u,
|
@@ -3637,7 +3637,7 @@ const vu = (e) => ({
|
|
3637
3637
|
} = t, {
|
3638
3638
|
element: d,
|
3639
3639
|
padding: u = 0
|
3640
|
-
} =
|
3640
|
+
} = Bt(e, t) || {};
|
3641
3641
|
if (d == null)
|
3642
3642
|
return {};
|
3643
3643
|
const h = ko(u), f = {
|
@@ -3646,17 +3646,17 @@ const vu = (e) => ({
|
|
3646
3646
|
}, m = In(a), p = _n(m), b = await o.getDimensions(d), v = m === "y", k = v ? "top" : "left", I = v ? "bottom" : "right", E = v ? "clientHeight" : "clientWidth", C = s.reference[p] + s.reference[m] - f[m] - s.floating[p], _ = f[m] - s.reference[m], w = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(d));
|
3647
3647
|
let x = w ? w[E] : 0;
|
3648
3648
|
(!x || !await (o.isElement == null ? void 0 : o.isElement(w))) && (x = i.floating[E] || s.floating[p]);
|
3649
|
-
const y = C / 2 - _ / 2, T = x / 2 - b[p] / 2 - 1, R = Nt(h[k], T), S = Nt(h[I], T),
|
3649
|
+
const y = C / 2 - _ / 2, T = x / 2 - b[p] / 2 - 1, R = Nt(h[k], T), S = Nt(h[I], T), P = R, A = x - b[p] - S, V = x / 2 - b[p] / 2 + y, z = qr(P, V, A), B = !l.arrow && Pt(a) != null && V !== z && s.reference[p] / 2 - (V < P ? R : S) - b[p] / 2 < 0, D = B ? V < P ? V - P : V - A : 0;
|
3650
3650
|
return {
|
3651
3651
|
[m]: f[m] + D,
|
3652
3652
|
data: {
|
3653
3653
|
[m]: z,
|
3654
3654
|
centerOffset: V - z - D,
|
3655
|
-
...
|
3655
|
+
...B && {
|
3656
3656
|
alignmentOffset: D
|
3657
3657
|
}
|
3658
3658
|
},
|
3659
|
-
reset:
|
3659
|
+
reset: B
|
3660
3660
|
};
|
3661
3661
|
}
|
3662
3662
|
}), wu = function(e) {
|
@@ -3680,7 +3680,7 @@ const vu = (e) => ({
|
|
3680
3680
|
fallbackAxisSideDirection: p = "none",
|
3681
3681
|
flipAlignment: b = !0,
|
3682
3682
|
...v
|
3683
|
-
} =
|
3683
|
+
} = Bt(e, t);
|
3684
3684
|
if ((r = s.arrow) != null && r.alignmentOffset)
|
3685
3685
|
return {};
|
3686
3686
|
const k = je(a), I = st(i), E = je(i) === i, C = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), _ = f || (E || !b ? [er(i)] : mu(i)), w = p !== "none";
|
@@ -3695,7 +3695,7 @@ const vu = (e) => ({
|
|
3695
3695
|
placement: a,
|
3696
3696
|
overflows: T
|
3697
3697
|
}], !T.every((V) => V <= 0)) {
|
3698
|
-
var S,
|
3698
|
+
var S, P;
|
3699
3699
|
const V = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, z = x[V];
|
3700
3700
|
if (z)
|
3701
3701
|
return {
|
@@ -3707,8 +3707,8 @@ const vu = (e) => ({
|
|
3707
3707
|
placement: z
|
3708
3708
|
}
|
3709
3709
|
};
|
3710
|
-
let
|
3711
|
-
if (!
|
3710
|
+
let B = (P = R.filter((D) => D.overflows[0] <= 0).sort((D, U) => D.overflows[1] - U.overflows[1])[0]) == null ? void 0 : P.placement;
|
3711
|
+
if (!B)
|
3712
3712
|
switch (m) {
|
3713
3713
|
case "bestFit": {
|
3714
3714
|
var A;
|
@@ -3721,17 +3721,17 @@ const vu = (e) => ({
|
|
3721
3721
|
}
|
3722
3722
|
return !0;
|
3723
3723
|
}).map((U) => [U.placement, U.overflows.filter((j) => j > 0).reduce((j, Ee) => j + Ee, 0)]).sort((U, j) => U[1] - j[1])[0]) == null ? void 0 : A[0];
|
3724
|
-
D && (
|
3724
|
+
D && (B = D);
|
3725
3725
|
break;
|
3726
3726
|
}
|
3727
3727
|
case "initialPlacement":
|
3728
|
-
|
3728
|
+
B = i;
|
3729
3729
|
break;
|
3730
3730
|
}
|
3731
|
-
if (a !==
|
3731
|
+
if (a !== B)
|
3732
3732
|
return {
|
3733
3733
|
reset: {
|
3734
|
-
placement:
|
3734
|
+
placement: B
|
3735
3735
|
}
|
3736
3736
|
};
|
3737
3737
|
}
|
@@ -3744,7 +3744,7 @@ async function ku(e, t) {
|
|
3744
3744
|
placement: r,
|
3745
3745
|
platform: n,
|
3746
3746
|
elements: a
|
3747
|
-
} = e, s = await (n.isRTL == null ? void 0 : n.isRTL(a.floating)), o = je(r), i =
|
3747
|
+
} = e, s = await (n.isRTL == null ? void 0 : n.isRTL(a.floating)), o = je(r), i = Pt(r), l = st(r) === "y", d = ["left", "top"].includes(o) ? -1 : 1, u = s && l ? -1 : 1, h = Bt(t, e);
|
3748
3748
|
let {
|
3749
3749
|
mainAxis: f,
|
3750
3750
|
crossAxis: m,
|
@@ -3813,7 +3813,7 @@ const xu = function(e) {
|
|
3813
3813
|
}
|
3814
3814
|
},
|
3815
3815
|
...l
|
3816
|
-
} =
|
3816
|
+
} = Bt(e, t), d = {
|
3817
3817
|
x: r,
|
3818
3818
|
y: n
|
3819
3819
|
}, u = await xo(t, l), h = st(je(a)), f = wo(h);
|
@@ -4091,7 +4091,7 @@ function Mu(e, t) {
|
|
4091
4091
|
y: d
|
4092
4092
|
};
|
4093
4093
|
}
|
4094
|
-
function
|
4094
|
+
function Ba(e, t, r) {
|
4095
4095
|
let n;
|
4096
4096
|
if (t === "viewport")
|
4097
4097
|
n = Ru(e, r);
|
@@ -4127,7 +4127,7 @@ function Vu(e, t) {
|
|
4127
4127
|
}
|
4128
4128
|
return t.set(e, n), n;
|
4129
4129
|
}
|
4130
|
-
function
|
4130
|
+
function Bu(e) {
|
4131
4131
|
let {
|
4132
4132
|
element: t,
|
4133
4133
|
boundary: r,
|
@@ -4135,9 +4135,9 @@ function Pu(e) {
|
|
4135
4135
|
strategy: a
|
4136
4136
|
} = e;
|
4137
4137
|
const s = [...r === "clippingAncestors" ? fr(t) ? [] : Vu(t, this._c) : [].concat(r), n], o = s[0], i = s.reduce((l, d) => {
|
4138
|
-
const u =
|
4138
|
+
const u = Ba(t, d, a);
|
4139
4139
|
return l.top = Qe(u.top, l.top), l.right = Nt(u.right, l.right), l.bottom = Nt(u.bottom, l.bottom), l.left = Qe(u.left, l.left), l;
|
4140
|
-
},
|
4140
|
+
}, Ba(t, o, a));
|
4141
4141
|
return {
|
4142
4142
|
width: i.right - i.left,
|
4143
4143
|
height: i.bottom - i.top,
|
@@ -4145,7 +4145,7 @@ function Pu(e) {
|
|
4145
4145
|
y: i.top
|
4146
4146
|
};
|
4147
4147
|
}
|
4148
|
-
function
|
4148
|
+
function Pu(e) {
|
4149
4149
|
const {
|
4150
4150
|
width: t,
|
4151
4151
|
height: r
|
@@ -4178,7 +4178,7 @@ function Ou(e, t, r) {
|
|
4178
4178
|
function Ar(e) {
|
4179
4179
|
return ye(e).position === "static";
|
4180
4180
|
}
|
4181
|
-
function
|
4181
|
+
function Pa(e, t) {
|
4182
4182
|
if (!_e(e) || ye(e).position === "fixed")
|
4183
4183
|
return null;
|
4184
4184
|
if (t)
|
@@ -4199,9 +4199,9 @@ function Ro(e, t) {
|
|
4199
4199
|
}
|
4200
4200
|
return r;
|
4201
4201
|
}
|
4202
|
-
let n =
|
4202
|
+
let n = Pa(e, t);
|
4203
4203
|
for (; n && _u(n) && Ar(n); )
|
4204
|
-
n =
|
4204
|
+
n = Pa(n, t);
|
4205
4205
|
return n && ot(n) && Ar(n) && !En(n) ? r : n || Iu(e) || r;
|
4206
4206
|
}
|
4207
4207
|
const Lu = async function(e) {
|
@@ -4222,11 +4222,11 @@ function $u(e) {
|
|
4222
4222
|
const Du = {
|
4223
4223
|
convertOffsetParentRelativeRectToViewportRelativeRect: Cu,
|
4224
4224
|
getDocumentElement: Me,
|
4225
|
-
getClippingRect:
|
4225
|
+
getClippingRect: Bu,
|
4226
4226
|
getOffsetParent: Ro,
|
4227
4227
|
getElementRects: Lu,
|
4228
4228
|
getClientRects: Su,
|
4229
|
-
getDimensions:
|
4229
|
+
getDimensions: Pu,
|
4230
4230
|
getScale: et,
|
4231
4231
|
isElement: ge,
|
4232
4232
|
isRTL: $u
|
@@ -4332,7 +4332,7 @@ const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = (
|
|
4332
4332
|
const {
|
4333
4333
|
x: R,
|
4334
4334
|
y: S,
|
4335
|
-
middlewareData:
|
4335
|
+
middlewareData: P,
|
4336
4336
|
placement: A
|
4337
4337
|
} = await ju(l.current, d.current, {
|
4338
4338
|
placement: r,
|
@@ -4358,8 +4358,8 @@ const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = (
|
|
4358
4358
|
left: "right"
|
4359
4359
|
}[A.split("-")[0]];
|
4360
4360
|
(x = u == null ? void 0 : u.current) != null && x.style && Object.assign(u.current.style, {
|
4361
|
-
left: jt((y =
|
4362
|
-
top: jt((T =
|
4361
|
+
left: jt((y = P.arrow) == null ? void 0 : y.x),
|
4362
|
+
top: jt((T = P.arrow) == null ? void 0 : T.y),
|
4363
4363
|
right: "",
|
4364
4364
|
bottom: "",
|
4365
4365
|
[V]: "-4px"
|
@@ -4881,16 +4881,16 @@ const gh = {
|
|
4881
4881
|
radius: v,
|
4882
4882
|
variant: k,
|
4883
4883
|
animated: E
|
4884
|
-
}), x = ch({ mode: r, raw: i, iconClassName: I }), y = dh({ animated: E }), [T, R] = Rr(), [S,
|
4884
|
+
}), x = ch({ mode: r, raw: i, iconClassName: I }), y = dh({ animated: E }), [T, R] = Rr(), [S, P] = Rr(), [A, V] = Rr(), z = M(0), B = M(null), D = mh([_, B]);
|
4885
4885
|
return le(() => {
|
4886
4886
|
A && A.current && E && (z.current = V.width + yh[h] + (l ? 0 : bh));
|
4887
4887
|
}, [V, A, h, l, E]), le(() => {
|
4888
|
-
|
4888
|
+
B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${gh[h]}px`));
|
4889
4889
|
}, [
|
4890
4890
|
R,
|
4891
4891
|
f,
|
4892
4892
|
T,
|
4893
|
-
|
4893
|
+
P,
|
4894
4894
|
m,
|
4895
4895
|
S,
|
4896
4896
|
h,
|
@@ -5067,7 +5067,7 @@ try {
|
|
5067
5067
|
});
|
5068
5068
|
} catch {
|
5069
5069
|
}
|
5070
|
-
const
|
5070
|
+
const Bo = ee.createContext(null);
|
5071
5071
|
function xh({
|
5072
5072
|
initialOpen: e = !1,
|
5073
5073
|
open: t,
|
@@ -5097,7 +5097,7 @@ function xh({
|
|
5097
5097
|
);
|
5098
5098
|
}
|
5099
5099
|
const gr = () => {
|
5100
|
-
const e = ee.useContext(
|
5100
|
+
const e = ee.useContext(Bo);
|
5101
5101
|
if (e == null)
|
5102
5102
|
throw new Error("Modal components must be wrapped in <Modal />");
|
5103
5103
|
return e;
|
@@ -5107,7 +5107,7 @@ function Th({
|
|
5107
5107
|
...t
|
5108
5108
|
}) {
|
5109
5109
|
const r = xh(t);
|
5110
|
-
return /* @__PURE__ */ c(
|
5110
|
+
return /* @__PURE__ */ c(Bo.Provider, { value: r, children: e });
|
5111
5111
|
}
|
5112
5112
|
const _h = ee.forwardRef(function(e, t) {
|
5113
5113
|
const { context: r, ...n } = gr(), a = pn([n.refs.setFloating, t]);
|
@@ -5224,7 +5224,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
|
|
5224
5224
|
onOpenChange: t,
|
5225
5225
|
title: a.title,
|
5226
5226
|
footer: /* @__PURE__ */ N(ir, { columnGap: 2, alignHorizontal: "flex-end", children: [
|
5227
|
-
/* @__PURE__ */ c(
|
5227
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
|
5228
5228
|
wt,
|
5229
5229
|
{
|
5230
5230
|
mode: "dark",
|
@@ -5236,7 +5236,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
|
|
5236
5236
|
children: a.cancelAction
|
5237
5237
|
}
|
5238
5238
|
) }),
|
5239
|
-
/* @__PURE__ */ c(
|
5239
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
|
5240
5240
|
wt,
|
5241
5241
|
{
|
5242
5242
|
mode: "dark",
|
@@ -5335,7 +5335,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
|
|
5335
5335
|
return t.displayName || t.name || "Component";
|
5336
5336
|
}
|
5337
5337
|
return "Element";
|
5338
|
-
},
|
5338
|
+
}, Po = Ps(
|
5339
5339
|
({
|
5340
5340
|
trigger: e,
|
5341
5341
|
children: t,
|
@@ -5354,7 +5354,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
|
|
5354
5354
|
},
|
5355
5355
|
placement: n,
|
5356
5356
|
strategy: "fixed",
|
5357
|
-
middleware: [
|
5357
|
+
middleware: [Bl({ mainAxis: 10 }), Pl(), Ol()],
|
5358
5358
|
whileElementsMounted: Ll
|
5359
5359
|
}), y = Ds(x, {
|
5360
5360
|
event: "mousedown",
|
@@ -5366,12 +5366,12 @@ const bt = "panel", Wt = "messagebox", Ch = ({
|
|
5366
5366
|
nested: !1,
|
5367
5367
|
onNavigate: p,
|
5368
5368
|
loop: !0
|
5369
|
-
}),
|
5369
|
+
}), P = Dl(x, {
|
5370
5370
|
listRef: v,
|
5371
5371
|
onMatch: d ? p : void 0,
|
5372
5372
|
activeIndex: m
|
5373
|
-
}), { getReferenceProps: A, getFloatingProps: V, getItemProps: z } = Us([y, T, R, S,
|
5374
|
-
noInternalClick:
|
5373
|
+
}), { getReferenceProps: A, getFloatingProps: V, getItemProps: z } = Us([y, T, R, S, P]), B = Ua(e) === "Button" || Ua(e) === "ButtonIcon", D = B ? {
|
5374
|
+
noInternalClick: B,
|
5375
5375
|
focusMode: o,
|
5376
5376
|
mode: s
|
5377
5377
|
} : {}, U = J.cloneElement(
|
@@ -5435,9 +5435,9 @@ const bt = "panel", Wt = "messagebox", Ch = ({
|
|
5435
5435
|
)
|
5436
5436
|
] });
|
5437
5437
|
}
|
5438
|
-
), yr =
|
5438
|
+
), yr = Ps((e, t) => /* @__PURE__ */ c(Ul, { children: /* @__PURE__ */ c(Po, { ...e, ref: t }) }));
|
5439
5439
|
yr.displayName = "Menu";
|
5440
|
-
|
5440
|
+
Po.displayName = "MenuComponent";
|
5441
5441
|
const Ah = ({
|
5442
5442
|
children: e,
|
5443
5443
|
fill: t,
|
@@ -5616,7 +5616,7 @@ const Vh = (e) => {
|
|
5616
5616
|
if (e[t].enabled)
|
5617
5617
|
return !0;
|
5618
5618
|
return !1;
|
5619
|
-
},
|
5619
|
+
}, Bh = ({
|
5620
5620
|
className: e,
|
5621
5621
|
defaultPlacement: t = "top-start"
|
5622
5622
|
}) => {
|
@@ -5690,7 +5690,7 @@ const Vh = (e) => {
|
|
5690
5690
|
)
|
5691
5691
|
}
|
5692
5692
|
);
|
5693
|
-
},
|
5693
|
+
}, Ph = ({
|
5694
5694
|
className: e
|
5695
5695
|
}) => {
|
5696
5696
|
const { user: t, getAccessToken: r } = de(), {
|
@@ -6042,9 +6042,9 @@ const Vh = (e) => {
|
|
6042
6042
|
/* @__PURE__ */ N("div", { className: "p-2 flex items-center", children: [
|
6043
6043
|
/* @__PURE__ */ c(Lh, { className: "order-5 ml-auto" }),
|
6044
6044
|
/* @__PURE__ */ c(Qu, { className: "order-1 mr-4 sm:mr-2" }),
|
6045
|
-
/* @__PURE__ */ c(
|
6045
|
+
/* @__PURE__ */ c(Bh, { className: "order-2 mr-4 sm:mr-2" }),
|
6046
6046
|
/* @__PURE__ */ c(Sh, { className: "order-3 mr-4 sm:mr-2" }),
|
6047
|
-
/* @__PURE__ */ c(
|
6047
|
+
/* @__PURE__ */ c(Ph, { className: "order-4" })
|
6048
6048
|
] })
|
6049
6049
|
] }) });
|
6050
6050
|
}, Kt = "--sassy-bottom", Wa = 16, Ka = 76, Yh = ({ isComponent: e }) => {
|
@@ -6137,8 +6137,8 @@ const Vh = (e) => {
|
|
6137
6137
|
header: X.ABOUT.TITLE_CLIENT,
|
6138
6138
|
className: "prose-dark dark:prose-lighter",
|
6139
6139
|
children: Zt(e, {
|
6140
|
-
[X.ABOUT.VERSION]: "8.1.
|
6141
|
-
[X.ABOUT.BUILD_TIMESTAMP]: "02/
|
6140
|
+
[X.ABOUT.VERSION]: "8.1.8",
|
6141
|
+
[X.ABOUT.BUILD_TIMESTAMP]: "02/28/2025 10:08 AM EST"
|
6142
6142
|
})
|
6143
6143
|
}
|
6144
6144
|
) }),
|
@@ -6211,7 +6211,7 @@ const Vh = (e) => {
|
|
6211
6211
|
}), n("");
|
6212
6212
|
} catch {
|
6213
6213
|
}
|
6214
|
-
}, _ = async (y, T, R, S,
|
6214
|
+
}, _ = async (y, T, R, S, P, A) => {
|
6215
6215
|
try {
|
6216
6216
|
const V = await _t({
|
6217
6217
|
accessToken: S,
|
@@ -6223,7 +6223,7 @@ const Vh = (e) => {
|
|
6223
6223
|
V.status === 200 && (V.data.provider !== A && (await Rs({
|
6224
6224
|
provider: V.data.provider,
|
6225
6225
|
accessToken: S,
|
6226
|
-
username:
|
6226
|
+
username: P
|
6227
6227
|
}), T({
|
6228
6228
|
type: bn,
|
6229
6229
|
payload: {
|
@@ -6297,9 +6297,9 @@ const Vh = (e) => {
|
|
6297
6297
|
/* @__PURE__ */ c(me, { className: "text-xs sm:text-sm text-right", children: "Actions" })
|
6298
6298
|
] }) }),
|
6299
6299
|
/* @__PURE__ */ c(Xc, { children: e.slice(0, u).map((y, T) => {
|
6300
|
-
var S,
|
6300
|
+
var S, P;
|
6301
6301
|
const R = y.summary || (y.messages.length > 0 ? (S = y.messages[0]) == null ? void 0 : S.content : "");
|
6302
|
-
return ((
|
6302
|
+
return ((P = y == null ? void 0 : y.messages) == null ? void 0 : P.length) > 0 ? /* @__PURE__ */ N(Al, { children: [
|
6303
6303
|
T === u - ca && /* @__PURE__ */ c("tr", { ref: o }),
|
6304
6304
|
/* @__PURE__ */ N(Er, { children: [
|
6305
6305
|
/* @__PURE__ */ c(me, { children: T + 1 }),
|
@@ -6480,8 +6480,8 @@ const Vh = (e) => {
|
|
6480
6480
|
{
|
6481
6481
|
className: "prose-dark dark:prose-lighter mt-4",
|
6482
6482
|
header: /* @__PURE__ */ c("h2", { className: "m-0", children: /* @__PURE__ */ N(ir, { columnGap: 3, alignVertical: "center", children: [
|
6483
|
-
/* @__PURE__ */ c(
|
6484
|
-
/* @__PURE__ */ c(
|
6483
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(da, { size: "size-8" }) }),
|
6484
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c("div", { children: X.PREFERENCES.PASSKEY_TITLE }) })
|
6485
6485
|
] }) }),
|
6486
6486
|
children: [
|
6487
6487
|
/* @__PURE__ */ c("p", { children: X.PREFERENCES.PASSKEY_INSTRUCTIONS }),
|
@@ -6912,7 +6912,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
6912
6912
|
..._
|
6913
6913
|
}, w) => {
|
6914
6914
|
var x;
|
6915
|
-
const y = M(null), T = sf([w, y]), [R, S] = Ga(), [
|
6915
|
+
const y = M(null), T = sf([w, y]), [R, S] = Ga(), [P, A] = Ga(), V = M(80), z = M(-25), B = M(null), D = M(30), U = M(null), j = cf({ id: e, prefix: `${Do}-` }), [Ee, Ge] = $(0), [De, Ye] = $(0), [Je, oe] = $(
|
6916
6916
|
!!(!b && p)
|
6917
6917
|
), ve = `${t} error, ${p}`, ie = kf({
|
6918
6918
|
className: s,
|
@@ -6952,7 +6952,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
6952
6952
|
}, [te, a]), le(() => {
|
6953
6953
|
a || setTimeout(() => {
|
6954
6954
|
var F;
|
6955
|
-
(F =
|
6955
|
+
(F = B == null ? void 0 : B.current) == null || F.style.setProperty(
|
6956
6956
|
"--av-text-area-wrapper-transition",
|
6957
6957
|
te ? "none" : "all 0.2s ease-out"
|
6958
6958
|
);
|
@@ -6966,7 +6966,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
6966
6966
|
currentLabelOffset: z.current,
|
6967
6967
|
currentHelperTextOffset: D.current
|
6968
6968
|
});
|
6969
|
-
Ce && (z.current = Ce, (F =
|
6969
|
+
Ce && (z.current = Ce, (F = B == null ? void 0 : B.current) == null || F.style.setProperty(
|
6970
6970
|
"--av-text-area-label",
|
6971
6971
|
`${Ce}px`
|
6972
6972
|
)), he && (D.current = he, (ue = U == null ? void 0 : U.current) == null || ue.style.setProperty(
|
@@ -6974,7 +6974,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
6974
6974
|
`${he}px`
|
6975
6975
|
)), V.current = fe || V.current;
|
6976
6976
|
}
|
6977
|
-
}, [te, a]), A.width > 0 && ((x =
|
6977
|
+
}, [te, a]), A.width > 0 && ((x = B == null ? void 0 : B.current) == null || x.style.setProperty(
|
6978
6978
|
"--tw-translate-x",
|
6979
6979
|
`${12 + A.width + 5}px`
|
6980
6980
|
)), /* @__PURE__ */ N("div", { className: ie.wrapper, children: [
|
@@ -6990,7 +6990,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
6990
6990
|
k && /* @__PURE__ */ c(
|
6991
6991
|
"div",
|
6992
6992
|
{
|
6993
|
-
ref:
|
6993
|
+
ref: P,
|
6994
6994
|
className: ie.leftElement,
|
6995
6995
|
children: k
|
6996
6996
|
}
|
@@ -7025,7 +7025,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
7025
7025
|
!a && /* @__PURE__ */ c(
|
7026
7026
|
"label",
|
7027
7027
|
{
|
7028
|
-
ref:
|
7028
|
+
ref: B,
|
7029
7029
|
"aria-hidden": !0,
|
7030
7030
|
htmlFor: j,
|
7031
7031
|
className: `${ie.visibleLabel}`,
|
@@ -7222,11 +7222,11 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
|
|
7222
7222
|
longitude: y.longitude
|
7223
7223
|
}
|
7224
7224
|
}), S = Date.now() - x;
|
7225
|
-
if (S < 2e3 && await new Promise((
|
7226
|
-
const { city:
|
7225
|
+
if (S < 2e3 && await new Promise((P) => setTimeout(P, 2e3 - S)), T.status === 200) {
|
7226
|
+
const { city: P, state: A, country: V, displayName: z } = T.data, B = P && A && V ? `${P}, ${A}, ${V}` : z;
|
7227
7227
|
d({
|
7228
7228
|
loadingLocation: !1
|
7229
|
-
}), b(
|
7229
|
+
}), b(B);
|
7230
7230
|
} else
|
7231
7231
|
d({
|
7232
7232
|
loadingLocation: !1
|
@@ -7242,20 +7242,20 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
|
|
7242
7242
|
...R
|
7243
7243
|
}) => {
|
7244
7244
|
h((S) => {
|
7245
|
-
const
|
7245
|
+
const P = S.prompts, A = {
|
7246
7246
|
...R,
|
7247
7247
|
enabled: x,
|
7248
7248
|
privateChat: y,
|
7249
7249
|
clipboardAccess: T
|
7250
7250
|
};
|
7251
7251
|
T ? A.content = A.content + " {{clipboard}}" : A.content = A.content.replace("{{clipboard}}", "");
|
7252
|
-
const V =
|
7252
|
+
const V = P.findIndex((z) => z.slot === R.slot);
|
7253
7253
|
return V === -1 ? {
|
7254
7254
|
...S,
|
7255
|
-
prompts: [...
|
7256
|
-
} : (
|
7255
|
+
prompts: [...P, { ...A }]
|
7256
|
+
} : (P[V] = A, {
|
7257
7257
|
...S,
|
7258
|
-
prompts: [...
|
7258
|
+
prompts: [...P]
|
7259
7259
|
});
|
7260
7260
|
});
|
7261
7261
|
};
|
@@ -7274,7 +7274,7 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
|
|
7274
7274
|
alignHorizontal: "flex-end",
|
7275
7275
|
className: "pb-8 sm:pb-0",
|
7276
7276
|
children: [
|
7277
|
-
/* @__PURE__ */ c(
|
7277
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
|
7278
7278
|
wt,
|
7279
7279
|
{
|
7280
7280
|
mode: "dark",
|
@@ -7284,7 +7284,7 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
|
|
7284
7284
|
children: "Cancel"
|
7285
7285
|
}
|
7286
7286
|
) }),
|
7287
|
-
/* @__PURE__ */ c(
|
7287
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
|
7288
7288
|
wt,
|
7289
7289
|
{
|
7290
7290
|
mode: "dark",
|
@@ -7486,8 +7486,8 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
|
|
7486
7486
|
o && /* @__PURE__ */ c(Zh, { open: o, onOpenChange: i }),
|
7487
7487
|
/* @__PURE__ */ c(qh, { open: l, onOpenChange: d }),
|
7488
7488
|
/* @__PURE__ */ c("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ N(ir, { alignHorizontal: "space-between", alignVertical: "center", children: [
|
7489
|
-
/* @__PURE__ */ c(
|
7490
|
-
/* @__PURE__ */ c(
|
7489
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c($h, {}) }),
|
7490
|
+
/* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
|
7491
7491
|
Ke,
|
7492
7492
|
{
|
7493
7493
|
label: "Profile, Settings, etc.",
|
@@ -7575,7 +7575,7 @@ try {
|
|
7575
7575
|
});
|
7576
7576
|
} catch {
|
7577
7577
|
}
|
7578
|
-
const
|
7578
|
+
const Bf = "av-bubble", Ja = "av-button", br = "icon", Uo = "button", tn = "link", Pf = ({
|
7579
7579
|
type: e,
|
7580
7580
|
size: t,
|
7581
7581
|
labelRight: r,
|
@@ -7847,7 +7847,7 @@ const Pf = "av-bubble", Ja = "av-button", br = "icon", Uo = "button", tn = "link
|
|
7847
7847
|
}),
|
7848
7848
|
$f({ mode: n, noBackground: h, variant: f }),
|
7849
7849
|
Df({ radius: b }),
|
7850
|
-
|
7850
|
+
Pf({
|
7851
7851
|
type: e,
|
7852
7852
|
size: i,
|
7853
7853
|
labelRight: d,
|
@@ -7975,16 +7975,16 @@ const Xf = {
|
|
7975
7975
|
radius: v,
|
7976
7976
|
variant: k,
|
7977
7977
|
animated: E
|
7978
|
-
}), x = jf({ mode: r, raw: i, iconClassName: I }), y = Wf({ animated: E }), [T, R] = Vr(), [S,
|
7978
|
+
}), x = jf({ mode: r, raw: i, iconClassName: I }), y = Wf({ animated: E }), [T, R] = Vr(), [S, P] = Vr(), [A, V] = Vr(), z = M(0), B = M(null), D = Jf([_, B]);
|
7979
7979
|
return le(() => {
|
7980
7980
|
A && A.current && E && (z.current = V.width + Zf[h] + (l ? 0 : Qf));
|
7981
7981
|
}, [V, A, h, l, E]), le(() => {
|
7982
|
-
|
7982
|
+
B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${Xf[h]}px`));
|
7983
7983
|
}, [
|
7984
7984
|
R,
|
7985
7985
|
f,
|
7986
7986
|
T,
|
7987
|
-
|
7987
|
+
P,
|
7988
7988
|
m,
|
7989
7989
|
S,
|
7990
7990
|
h,
|
@@ -8204,7 +8204,7 @@ const nm = ({
|
|
8204
8204
|
noMaxWidth: r
|
8205
8205
|
}) => {
|
8206
8206
|
const n = g(
|
8207
|
-
|
8207
|
+
Bf,
|
8208
8208
|
"flex items-start",
|
8209
8209
|
{
|
8210
8210
|
"flex-row-reverse": e === "right"
|
@@ -8615,7 +8615,7 @@ const Xa = "av-spinner", Wo = ({
|
|
8615
8615
|
)), vm = (e, t, r) => {
|
8616
8616
|
var n;
|
8617
8617
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
8618
|
-
},
|
8618
|
+
}, Bn = J.forwardRef((e, t) => {
|
8619
8619
|
const { onClick: r, noInternalClick: n = !1, ...a } = e;
|
8620
8620
|
return /* @__PURE__ */ c(
|
8621
8621
|
"button",
|
@@ -8628,7 +8628,7 @@ const Xa = "av-spinner", Wo = ({
|
|
8628
8628
|
}
|
8629
8629
|
);
|
8630
8630
|
});
|
8631
|
-
|
8631
|
+
Bn.displayName = "BaseButton";
|
8632
8632
|
const Go = J.forwardRef(
|
8633
8633
|
({
|
8634
8634
|
children: e,
|
@@ -8660,7 +8660,7 @@ const Go = J.forwardRef(
|
|
8660
8660
|
radius: h
|
8661
8661
|
});
|
8662
8662
|
return /* @__PURE__ */ c(
|
8663
|
-
|
8663
|
+
Bn,
|
8664
8664
|
{
|
8665
8665
|
ref: m,
|
8666
8666
|
className: p,
|
@@ -8696,7 +8696,7 @@ const xm = {
|
|
8696
8696
|
bottom: 0,
|
8697
8697
|
right: 0
|
8698
8698
|
};
|
8699
|
-
function
|
8699
|
+
function Br(e) {
|
8700
8700
|
const t = wm(), r = M(0), n = M(null), [a, s] = $(xm), o = be(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
|
8701
8701
|
const l = i[0];
|
8702
8702
|
l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
@@ -8762,22 +8762,22 @@ const Tm = {
|
|
8762
8762
|
radius: v,
|
8763
8763
|
variant: k,
|
8764
8764
|
animated: E
|
8765
|
-
}), x = ym({ mode: r, raw: i, iconClassName: I }), y = bm({ animated: E }), [T, R] =
|
8765
|
+
}), x = ym({ mode: r, raw: i, iconClassName: I }), y = bm({ animated: E }), [T, R] = Br(), [S, P] = Br(), [A, V] = Br(), z = M(0), B = M(null), D = km([_, B]);
|
8766
8766
|
return le(() => {
|
8767
8767
|
A && A.current && E && (z.current = V.width + _m[h] + (l ? 0 : Im));
|
8768
8768
|
}, [V, A, h, l, E]), le(() => {
|
8769
|
-
|
8769
|
+
B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${Tm[h]}px`));
|
8770
8770
|
}, [
|
8771
8771
|
R,
|
8772
8772
|
f,
|
8773
8773
|
T,
|
8774
|
-
|
8774
|
+
P,
|
8775
8775
|
m,
|
8776
8776
|
S,
|
8777
8777
|
h,
|
8778
8778
|
E
|
8779
8779
|
]), /* @__PURE__ */ N(
|
8780
|
-
|
8780
|
+
Bn,
|
8781
8781
|
{
|
8782
8782
|
ref: D,
|
8783
8783
|
className: w,
|
@@ -8958,11 +8958,11 @@ const wr = /* @__NO_SIDE_EFFECTS__ */ (e, t, r) => {
|
|
8958
8958
|
return n === 0 ? 1 : (r - e) / n;
|
8959
8959
|
};
|
8960
8960
|
// @__NO_SIDE_EFFECTS__
|
8961
|
-
function
|
8961
|
+
function Pn(e) {
|
8962
8962
|
let t;
|
8963
8963
|
return () => (t === void 0 && (t = e()), t);
|
8964
8964
|
}
|
8965
|
-
const Mm = /* @__PURE__ */
|
8965
|
+
const Mm = /* @__PURE__ */ Pn(() => window.ScrollTimeline !== void 0);
|
8966
8966
|
class Vm {
|
8967
8967
|
constructor(t) {
|
8968
8968
|
this.stop = () => this.runAll("stop"), this.animations = t.filter(Boolean);
|
@@ -9057,9 +9057,9 @@ const qo = (e, t, r = 10) => {
|
|
9057
9057
|
function Xo(e, t) {
|
9058
9058
|
return t ? e * (1e3 / t) : 0;
|
9059
9059
|
}
|
9060
|
-
const
|
9060
|
+
const Bm = 5;
|
9061
9061
|
function Zo(e, t, r) {
|
9062
|
-
const n = Math.max(t -
|
9062
|
+
const n = Math.max(t - Bm, 0);
|
9063
9063
|
return Xo(r - e(n), t - n);
|
9064
9064
|
}
|
9065
9065
|
const G = {
|
@@ -9091,7 +9091,7 @@ const G = {
|
|
9091
9091
|
minDamping: 0.05,
|
9092
9092
|
maxDamping: 1
|
9093
9093
|
}, es = 1e-3;
|
9094
|
-
function
|
9094
|
+
function Pm({ duration: e = G.duration, bounce: t = G.bounce, velocity: r = G.velocity, mass: n = G.mass }) {
|
9095
9095
|
let a, s;
|
9096
9096
|
$t(e <= /* @__PURE__ */ Te(G.maxDuration), "Spring duration must be 10 seconds or less");
|
9097
9097
|
let o = 1 - t;
|
@@ -9157,7 +9157,7 @@ function Fm(e) {
|
|
9157
9157
|
damping: s
|
9158
9158
|
};
|
9159
9159
|
} else {
|
9160
|
-
const r =
|
9160
|
+
const r = Pm(e);
|
9161
9161
|
t = {
|
9162
9162
|
...t,
|
9163
9163
|
...r,
|
@@ -9305,16 +9305,16 @@ function Xm(e, { defaultTransition: t = {}, ...r } = {}, n, a) {
|
|
9305
9305
|
k.at !== void 0 && (h = rs(h, k.at, u, d));
|
9306
9306
|
let I = 0;
|
9307
9307
|
const E = (C, _, w, x = 0, y = 0) => {
|
9308
|
-
const T = Zm(C), { delay: R = 0, times: S = ri(T), type:
|
9308
|
+
const T = Zm(C), { delay: R = 0, times: S = ri(T), type: P = "keyframes", repeat: A, repeatType: V, repeatDelay: z = 0, ...B } = _;
|
9309
9309
|
let { ease: D = t.ease || "easeOut", duration: U } = _;
|
9310
|
-
const j = typeof R == "function" ? R(x, y) : R, Ee = T.length, Ge = kr(
|
9310
|
+
const j = typeof R == "function" ? R(x, y) : R, Ee = T.length, Ge = kr(P) ? P : a == null ? void 0 : a[P];
|
9311
9311
|
if (Ee <= 2 && Ge) {
|
9312
9312
|
let oe = 100;
|
9313
9313
|
if (Ee === 2 && tp(T)) {
|
9314
9314
|
const te = T[1] - T[0];
|
9315
9315
|
oe = Math.abs(te);
|
9316
9316
|
}
|
9317
|
-
const ve = { ...
|
9317
|
+
const ve = { ...B };
|
9318
9318
|
U !== void 0 && (ve.duration = /* @__PURE__ */ Te(U));
|
9319
9319
|
const ie = zm(ve, oe, Ge);
|
9320
9320
|
D = ie.ease, U = ie.duration;
|
@@ -9502,8 +9502,8 @@ let Xt;
|
|
9502
9502
|
function lp() {
|
9503
9503
|
Xt = void 0;
|
9504
9504
|
}
|
9505
|
-
const
|
9506
|
-
now: () => (Xt === void 0 &&
|
9505
|
+
const Be = {
|
9506
|
+
now: () => (Xt === void 0 && Be.set(nr.isProcessing || ap.useManualTiming ? nr.timestamp : performance.now()), Xt),
|
9507
9507
|
set: (e) => {
|
9508
9508
|
Xt = e, queueMicrotask(lp);
|
9509
9509
|
}
|
@@ -9549,12 +9549,12 @@ class dp {
|
|
9549
9549
|
*/
|
9550
9550
|
constructor(t, r = {}) {
|
9551
9551
|
this.version = "12.4.7", this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (n, a = !0) => {
|
9552
|
-
const s =
|
9552
|
+
const s = Be.now();
|
9553
9553
|
this.updatedAt !== s && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(n), this.current !== this.prev && this.events.change && this.events.change.notify(this.current), a && this.events.renderRequest && this.events.renderRequest.notify(this.current);
|
9554
9554
|
}, this.hasAnimated = !1, this.setCurrent(t), this.owner = r.owner;
|
9555
9555
|
}
|
9556
9556
|
setCurrent(t) {
|
9557
|
-
this.current = t, this.updatedAt =
|
9557
|
+
this.current = t, this.updatedAt = Be.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = cp(this.current));
|
9558
9558
|
}
|
9559
9559
|
setPrevFrameValue(t = this.current) {
|
9560
9560
|
this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
|
@@ -9675,7 +9675,7 @@ class dp {
|
|
9675
9675
|
* @public
|
9676
9676
|
*/
|
9677
9677
|
getVelocity() {
|
9678
|
-
const t =
|
9678
|
+
const t = Be.now();
|
9679
9679
|
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > os)
|
9680
9680
|
return 0;
|
9681
9681
|
const r = Math.min(this.updatedAt - this.prevUpdatedAt, os);
|
@@ -9787,7 +9787,7 @@ const zn = (e) => Array.isArray(e) && typeof e[0] == "number", vp = {
|
|
9787
9787
|
linearEasing: void 0
|
9788
9788
|
};
|
9789
9789
|
function wp(e, t) {
|
9790
|
-
const r = /* @__PURE__ */
|
9790
|
+
const r = /* @__PURE__ */ Pn(e);
|
9791
9791
|
return () => {
|
9792
9792
|
var n;
|
9793
9793
|
return (n = vp[t]) !== null && n !== void 0 ? n : r();
|
@@ -9861,13 +9861,13 @@ const Np = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
9861
9861
|
[r]: parseFloat(o),
|
9862
9862
|
alpha: i !== void 0 ? parseFloat(i) : 1
|
9863
9863
|
};
|
9864
|
-
}, Cp = (e) => We(0, 255, e),
|
9864
|
+
}, Cp = (e) => We(0, 255, e), Pr = {
|
9865
9865
|
...ft,
|
9866
9866
|
transform: (e) => Math.round(Cp(e))
|
9867
9867
|
}, ze = {
|
9868
9868
|
test: /* @__PURE__ */ Wn("rgb", "red"),
|
9869
9869
|
parse: /* @__PURE__ */ vi("red", "green", "blue"),
|
9870
|
-
transform: ({ red: e, green: t, blue: r, alpha: n = 1 }) => "rgba(" +
|
9870
|
+
transform: ({ red: e, green: t, blue: r, alpha: n = 1 }) => "rgba(" + Pr.transform(e) + ", " + Pr.transform(t) + ", " + Pr.transform(r) + ", " + xt(Rt.transform(n)) + ")"
|
9871
9871
|
};
|
9872
9872
|
function Sp(e) {
|
9873
9873
|
let t = "", r = "", n = "", a = "";
|
@@ -9903,7 +9903,7 @@ function Vp(e) {
|
|
9903
9903
|
var t, r;
|
9904
9904
|
return isNaN(e) && typeof e == "string" && (((t = e.match(jn)) === null || t === void 0 ? void 0 : t.length) || 0) + (((r = e.match(Mp)) === null || r === void 0 ? void 0 : r.length) || 0) > 0;
|
9905
9905
|
}
|
9906
|
-
const wi = "number", ki = "color",
|
9906
|
+
const wi = "number", ki = "color", Bp = "var", Pp = "var(", ds = "${}", Op = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
9907
9907
|
function Mt(e) {
|
9908
9908
|
const t = e.toString(), r = [], n = {
|
9909
9909
|
color: [],
|
@@ -9911,7 +9911,7 @@ function Mt(e) {
|
|
9911
9911
|
var: []
|
9912
9912
|
}, a = [];
|
9913
9913
|
let s = 0;
|
9914
|
-
const i = t.replace(Op, (l) => (re.test(l) ? (n.color.push(s), a.push(ki), r.push(re.parse(l))) : l.startsWith(
|
9914
|
+
const i = t.replace(Op, (l) => (re.test(l) ? (n.color.push(s), a.push(ki), r.push(re.parse(l))) : l.startsWith(Pp) ? (n.var.push(s), a.push(Bp), r.push(l)) : (n.number.push(s), a.push(wi), r.push(parseFloat(l))), ++s, ds)).split(ds);
|
9915
9915
|
return { values: r, split: i, indexes: n, types: a };
|
9916
9916
|
}
|
9917
9917
|
function xi(e) {
|
@@ -10273,9 +10273,9 @@ function xr(e, { repeat: t, repeatType: r = "loop" }, n) {
|
|
10273
10273
|
return !s || n === void 0 ? a[s] : n;
|
10274
10274
|
}
|
10275
10275
|
const og = 40;
|
10276
|
-
class
|
10276
|
+
class Bi {
|
10277
10277
|
constructor({ autoplay: t = !0, delay: r = 0, type: n = "keyframes", repeat: a = 0, repeatDelay: s = 0, repeatType: o = "loop", ...i }) {
|
10278
|
-
this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt =
|
10278
|
+
this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = Be.now(), this.options = {
|
10279
10279
|
autoplay: t,
|
10280
10280
|
delay: r,
|
10281
10281
|
type: n,
|
@@ -10312,7 +10312,7 @@ class Pi {
|
|
10312
10312
|
* Otherwise, it will call initPlayback on the implementing class.
|
10313
10313
|
*/
|
10314
10314
|
onKeyframesResolved(t, r) {
|
10315
|
-
this.resolvedAt =
|
10315
|
+
this.resolvedAt = Be.now(), this.hasAttemptedResolve = !0;
|
10316
10316
|
const { name: n, type: a, velocity: s, delay: o, onComplete: i, onUpdate: l, isGenerator: d } = this.options;
|
10317
10317
|
if (!d && !ag(t, n, a, s))
|
10318
10318
|
if (o)
|
@@ -10394,9 +10394,9 @@ function hg(e, t) {
|
|
10394
10394
|
return (r) => Dt(e, t, r);
|
10395
10395
|
}
|
10396
10396
|
function Xn(e) {
|
10397
|
-
return typeof e == "number" ? hg : typeof e == "string" ? Jn(e) ? sr : re.test(e) ? bs : pg : Array.isArray(e) ?
|
10397
|
+
return typeof e == "number" ? hg : typeof e == "string" ? Jn(e) ? sr : re.test(e) ? bs : pg : Array.isArray(e) ? Pi : typeof e == "object" ? re.test(e) ? bs : fg : sr;
|
10398
10398
|
}
|
10399
|
-
function
|
10399
|
+
function Pi(e, t) {
|
10400
10400
|
const r = [...e], n = r.length, a = e.map((s, o) => Xn(s)(s, t[o]));
|
10401
10401
|
return (s) => {
|
10402
10402
|
for (let o = 0; o < n; o++)
|
@@ -10425,7 +10425,7 @@ function mg(e, t) {
|
|
10425
10425
|
}
|
10426
10426
|
const pg = (e, t) => {
|
10427
10427
|
const r = mt.createTransformer(t), n = Mt(e), a = Mt(t);
|
10428
|
-
return n.indexes.var.length === a.indexes.var.length && n.indexes.color.length === a.indexes.color.length && n.indexes.number.length >= a.indexes.number.length ? un.has(e) && !a.values.length || un.has(t) && !n.values.length ? ug(e, t) : qn(
|
10428
|
+
return n.indexes.var.length === a.indexes.var.length && n.indexes.color.length === a.indexes.color.length && n.indexes.number.length >= a.indexes.number.length ? un.has(e) && !a.values.length || un.has(t) && !n.values.length ? ug(e, t) : qn(Pi(mg(n, a), a.values), r) : ($t(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), sr(e, t));
|
10429
10429
|
};
|
10430
10430
|
function Oi(e, t, r) {
|
10431
10431
|
return typeof e == "number" && typeof t == "number" && typeof r == "number" ? Dt(e, t, r) : Xn(e)(e, t);
|
@@ -10547,7 +10547,7 @@ const xg = (e) => {
|
|
10547
10547
|
* If we're processing this frame we can use the
|
10548
10548
|
* framelocked timestamp to keep things in sync.
|
10549
10549
|
*/
|
10550
|
-
now: () => nr.isProcessing ? nr.timestamp :
|
10550
|
+
now: () => nr.isProcessing ? nr.timestamp : Be.now()
|
10551
10551
|
};
|
10552
10552
|
}, Tg = {
|
10553
10553
|
decay: vs,
|
@@ -10556,7 +10556,7 @@ const xg = (e) => {
|
|
10556
10556
|
keyframes: Tt,
|
10557
10557
|
spring: Ln
|
10558
10558
|
}, _g = (e) => e / 100;
|
10559
|
-
class Zn extends
|
10559
|
+
class Zn extends Bi {
|
10560
10560
|
constructor(t) {
|
10561
10561
|
super(t), this.holdTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.startTime = null, this.state = "idle", this.stop = () => {
|
10562
10562
|
if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
|
@@ -10701,7 +10701,7 @@ function Eg(e, t, r, { delay: n = 0, duration: a = 300, repeat: s = 0, repeatTyp
|
|
10701
10701
|
direction: o === "reverse" ? "alternate" : "normal"
|
10702
10702
|
});
|
10703
10703
|
}
|
10704
|
-
const Ng = /* @__PURE__ */
|
10704
|
+
const Ng = /* @__PURE__ */ Pn(() => Object.hasOwnProperty.call(Element.prototype, "animate")), or = 10, Cg = 2e4;
|
10705
10705
|
function Sg(e) {
|
10706
10706
|
return kr(e.type) || e.type === "spring" || !ci(e.ease);
|
10707
10707
|
}
|
@@ -10733,7 +10733,7 @@ const $i = {
|
|
10733
10733
|
function Rg(e) {
|
10734
10734
|
return e in $i;
|
10735
10735
|
}
|
10736
|
-
class xs extends
|
10736
|
+
class xs extends Bi {
|
10737
10737
|
constructor(t) {
|
10738
10738
|
super(t);
|
10739
10739
|
const { name: r, motionValue: n, element: a, keyframes: s } = this.options;
|
@@ -10896,14 +10896,14 @@ const Mg = {
|
|
10896
10896
|
stiffness: 550,
|
10897
10897
|
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
|
10898
10898
|
restSpeed: 10
|
10899
|
-
}),
|
10899
|
+
}), Bg = {
|
10900
10900
|
type: "keyframes",
|
10901
10901
|
duration: 0.8
|
10902
|
-
},
|
10902
|
+
}, Pg = {
|
10903
10903
|
type: "keyframes",
|
10904
10904
|
ease: [0.25, 0.1, 0.35, 1],
|
10905
10905
|
duration: 0.3
|
10906
|
-
}, Og = (e, { keyframes: t }) => t.length > 2 ?
|
10906
|
+
}, Og = (e, { keyframes: t }) => t.length > 2 ? Bg : ht.has(e) ? e.startsWith("scale") ? Vg(t[1]) : Mg : Pg;
|
10907
10907
|
function Lg({ when: e, delay: t, delayChildren: r, staggerChildren: n, staggerDirection: a, repeat: s, repeatType: o, repeatDelay: i, from: l, elapsed: d, ...u }) {
|
10908
10908
|
return !!Object.keys(u).length;
|
10909
10909
|
}
|
@@ -11081,7 +11081,7 @@ class Ui {
|
|
11081
11081
|
this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Yn, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
|
11082
11082
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
11083
11083
|
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
|
11084
|
-
const m =
|
11084
|
+
const m = Be.now();
|
11085
11085
|
this.renderScheduledAt < m && (this.renderScheduledAt = m, Ie.render(this.render, !1, !0));
|
11086
11086
|
};
|
11087
11087
|
const { latestValues: l, renderState: d, onUpdate: u } = o;
|
@@ -11632,7 +11632,7 @@ function N1(e) {
|
|
11632
11632
|
const Ns = Rl(
|
11633
11633
|
() => import(
|
11634
11634
|
/* webpackChunkName: "LazyMessageAssistant" */
|
11635
|
-
"./ChatBubbleAssistant.
|
11635
|
+
"./ChatBubbleAssistant.B8JCG6m1.js"
|
11636
11636
|
).then((e) => e.ChatBubbleAssistant)
|
11637
11637
|
), C1 = J.memo(
|
11638
11638
|
({
|
@@ -11691,7 +11691,7 @@ const Ns = Rl(
|
|
11691
11691
|
return O(() => {
|
11692
11692
|
l && h();
|
11693
11693
|
}, [l, h]), O(() => {
|
11694
|
-
d.current = s === kt ? o + i +
|
11694
|
+
d.current = s === kt ? o + i + Bs + Tl : 0;
|
11695
11695
|
}, [s, o, i]), /* @__PURE__ */ N(ae, { children: [
|
11696
11696
|
/* @__PURE__ */ N("div", { className: u, ref: n, children: [
|
11697
11697
|
/* @__PURE__ */ c(_l, {}),
|
@@ -11771,7 +11771,7 @@ function qi({
|
|
11771
11771
|
if (p.footerPosition === "FOOTER_BOTTOM") {
|
11772
11772
|
const x = `calc(${i.height}px + 20px)`;
|
11773
11773
|
s(
|
11774
|
-
`calc(100svh - ${t}px - ${x} - ${p.footerHeight}px - ${p.footerOffset}px - ${
|
11774
|
+
`calc(100svh - ${t}px - ${x} - ${p.footerHeight}px - ${p.footerOffset}px - ${Bs}px)`
|
11775
11775
|
);
|
11776
11776
|
} else
|
11777
11777
|
s(`${fa}px`);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Fragment as mi, jsx as de, jsxs as gi } from "react/jsx-runtime";
|
2
|
-
import { getDefaultExportFromCjs as er, ChatContext as di, E as yi, Re as ut } from "./App.
|
2
|
+
import { getDefaultExportFromCjs as er, ChatContext as di, E as yi, Re as ut } from "./App.CE2HubRI.js";
|
3
3
|
import { lazy as ki, useContext as xi, Suspense as bi } from "react";
|
4
4
|
import wi from "clsx";
|
5
|
-
import { LOCAL_STORAGE_PREFIX as Si, LOCAL_STORAGE_CHAT_DETAILS as Ci, convertCamelCaseToReadable as Ei, ROLE_INTERNAL as Ii } from "./index.
|
5
|
+
import { LOCAL_STORAGE_PREFIX as Si, LOCAL_STORAGE_CHAT_DETAILS as Ci, convertCamelCaseToReadable as Ei, ROLE_INTERNAL as Ii } from "./index.DdbXuPVs.js";
|
6
6
|
function rf(e) {
|
7
7
|
const t = [], n = String(e || "");
|
8
8
|
let r = n.indexOf(","), i = 0, o = !1;
|
@@ -8603,8 +8603,8 @@ function Kt(e) {
|
|
8603
8603
|
}
|
8604
8604
|
const Xc = ki(
|
8605
8605
|
() => import(
|
8606
|
-
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
8607
|
-
"./MarkdownWithExtra.
|
8606
|
+
/* webpackChunkName: "LazyMarkdownWithExtra", webpackPrefetch: true */
|
8607
|
+
"./MarkdownWithExtra.B13IbFrv.js"
|
8608
8608
|
)
|
8609
8609
|
), Jt = {
|
8610
8610
|
MODEL: "Model",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as bs } from "react/jsx-runtime";
|
2
|
-
import { convert as vs, visit as ys, find as ws, parse as xn, parse$1 as _n, normalize as Sn, svg as Es, html as xs, visitParents as _s, SKIP as Ss, longestStreak as ks, factorySpace as xr, markdownLineEnding as Kt, Markdown as Ns, remarkGfm as Ts } from "./ChatBubbleAssistant.
|
3
|
-
import { getDefaultExportFromCjs as As } from "./App.
|
2
|
+
import { convert as vs, visit as ys, find as ws, parse as xn, parse$1 as _n, normalize as Sn, svg as Es, html as xs, visitParents as _s, SKIP as Ss, longestStreak as ks, factorySpace as xr, markdownLineEnding as Kt, Markdown as Ns, remarkGfm as Ts } from "./ChatBubbleAssistant.B8JCG6m1.js";
|
3
|
+
import { getDefaultExportFromCjs as As } from "./App.CE2HubRI.js";
|
4
4
|
const kn = (
|
5
5
|
// Note: overloads like this are needed to support optional generics.
|
6
6
|
/**
|
@@ -2883,9 +2883,9 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
2883
2883
|
getAccessToken: t,
|
2884
2884
|
swrOptions: {
|
2885
2885
|
keepPreviousData: !0,
|
2886
|
-
dedupingInterval:
|
2886
|
+
dedupingInterval: 5e3,
|
2887
2887
|
revalidateIfStale: !0,
|
2888
|
-
revalidateOnFocus: !
|
2888
|
+
revalidateOnFocus: !0,
|
2889
2889
|
revalidateOnReconnect: !0
|
2890
2890
|
}
|
2891
2891
|
}), sc = ({
|
@@ -3044,8 +3044,7 @@ const co = process.env.NODE_ENV === "production", Rn = !co, lo = Rn ? "gizmette.
|
|
3044
3044
|
extraClass: t
|
3045
3045
|
}) => E(
|
3046
3046
|
"px-4 pb-10",
|
3047
|
-
"
|
3048
|
-
"text-slate-300 bg-slate-900 shadow-sm",
|
3047
|
+
"bg-slate-900",
|
3049
3048
|
"flex-1 overflow-y-auto",
|
3050
3049
|
e ? "pt-0" : "pt-10",
|
3051
3050
|
t
|
@@ -4628,7 +4627,7 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
|
|
4628
4627
|
TITLE: "Chat Details",
|
4629
4628
|
INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
|
4630
4629
|
}
|
4631
|
-
}, gi = () => /* @__PURE__ */ Q("div", { className: "flex items-center justify-center", children: [
|
4630
|
+
}, gi = () => /* @__PURE__ */ Q("div", { className: "flex items-center justify-center text-slate-300", children: [
|
4632
4631
|
/* @__PURE__ */ h("div", { className: "basis-1/4", children: /* @__PURE__ */ h(Mo, {}) }),
|
4633
4632
|
/* @__PURE__ */ Q("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
4634
4633
|
/* @__PURE__ */ h("h1", { children: Dn }),
|
@@ -4756,7 +4755,7 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
|
|
4756
4755
|
) });
|
4757
4756
|
}, Ei = new URL(document.location.href).searchParams, Hr = !!Ei.get("debug") || !1, bi = Kn(() => import(
|
4758
4757
|
/* webpackChunkName: "LazyApp" */
|
4759
|
-
"./App.
|
4758
|
+
"./App.CE2HubRI.js"
|
4760
4759
|
).then((e) => e.App)), Kr = ({
|
4761
4760
|
isComponent: e,
|
4762
4761
|
headerHeight: t
|
package/dist/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
1
|
+
import { SassySaint as r } from "./chunks/index.DdbXuPVs.js";
|
2
2
|
/*!
|
3
|
-
@sassysaint/client v8.1.
|
3
|
+
@sassysaint/client v8.1.8
|
4
4
|
© 2025 gizmette.com
|
5
5
|
*/
|
6
6
|
try {
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
8
|
-
version: "8.1.
|
9
|
-
buildTime: "02/
|
8
|
+
version: "8.1.8",
|
9
|
+
buildTime: "02/28/2025 10:08 AM EST",
|
10
10
|
license: "MIT"
|
11
11
|
});
|
12
12
|
} catch {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@versini/sassysaint",
|
3
|
-
"version": "8.1.
|
3
|
+
"version": "8.1.8",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "Arno Versini",
|
6
6
|
"publishConfig": {
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"react-dom": "^18.3.1 || ^19.0.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@sassysaint/client": "8.1.
|
33
|
+
"@sassysaint/client": "8.1.8",
|
34
34
|
"@versini/ui-styles": "3.2.9"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
@@ -41,5 +41,5 @@
|
|
41
41
|
"sideEffects": [
|
42
42
|
"**/*.css"
|
43
43
|
],
|
44
|
-
"gitHead": "
|
44
|
+
"gitHead": "2ce3c199ec07e37b48750aa2dbd5dd55f51fd45d"
|
45
45
|
}
|