@versini/sassysaint 8.74.2 → 8.75.0
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/{AboutChangelog.CKksZqHG.js → AboutChangelog.B-ISSR7l.js} +2 -2
- package/dist/chunks/{AboutEntry.glCt_1V2.js → AboutEntry.DrUARPjo.js} +7 -7
- package/dist/chunks/{App.fPigJREV.js → App.D58BIK-t.js} +16 -16
- package/dist/chunks/{Chart.B9hB35Ov.js → Chart.BSERLsUR.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.cQmeFm3l.js → ChatBubbleAssistant.Biu6NFb6.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.QckqWgJe.js → ChatBubbleUser.ZlrQ6y0L.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.DTewVIoT.js → ChatHistoryTable.Bjzq0jXS.js} +37 -63
- package/dist/chunks/{HistoryEntry.CTG2HMFf.js → HistoryEntry.feqJtRTV.js} +3 -3
- package/dist/chunks/{ProfileEntry.DYYzBE5s.js → ProfileEntry.B8yuMCEl.js} +2 -2
- package/dist/chunks/{SettingsEntry.D29H8z_6.js → SettingsEntry.DBzoen7C.js} +3 -3
- package/dist/chunks/{Table.4AY7ytZo.js → Table.BdYF4eSq.js} +83 -56
- package/dist/chunks/{UsageEntry.BUPgYfi_.js → UsageEntry.BVPC-rT8.js} +3 -3
- package/dist/chunks/UserMemoriesPanel.Dun6Xh1A.js +769 -0
- package/dist/chunks/{index.DWl4Hcyk.js → index.3yc2BaIg.js} +899 -794
- package/dist/chunks/{index.CpOVLW1-.js → index.B5xEHWE9.js} +1 -1
- package/dist/chunks/{index.C58UQ9Se.js → index.CS-FSWLu.js} +1 -1
- package/dist/chunks/{index.B87G0G-b.js → index.CtIazJ3c.js} +1 -1
- package/dist/chunks/{index.BqIB-hbB.js → index.D1gDsFSj.js} +3 -3
- package/dist/chunks/{index.ChttSd_v.js → index.DiXRu8Y4.js} +2 -2
- package/dist/chunks/{index.x0F3_X3L.js → index.bZe39l-0.js} +1 -1
- package/dist/chunks/{index.i2-wyoMZ.js → index.ttAvuNwj.js} +1 -1
- package/dist/chunks/{useMarkdown.CDrOqrBw.js → useMarkdown.Bp7kgBs6.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/UserMemoriesPanel.Dpnz-uAb.js +0 -429
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { p as m, ButtonScroll as n } from "./App.
|
|
2
|
+
import { p as m, ButtonScroll as n } from "./App.D58BIK-t.js";
|
|
3
3
|
import { useRef as f, useCallback as u, useLayoutEffect as p } from "react";
|
|
4
|
-
import { useMarkdown as d } from "./useMarkdown.
|
|
4
|
+
import { useMarkdown as d } from "./useMarkdown.Bp7kgBs6.js";
|
|
5
5
|
const b = ({ content: o }) => {
|
|
6
6
|
const [l, t] = d(), { ref: a, inViewport: c } = m(), e = f(null), i = u(() => {
|
|
7
7
|
e.current && e.current.scrollIntoView({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs as b, Fragment as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { oe as
|
|
3
|
-
import { i as d, useServerCapabilities as
|
|
2
|
+
import { oe as g } from "./App.D58BIK-t.js";
|
|
3
|
+
import { i as d, useServerCapabilities as A, useChangelogs as B, S as t, renderDataAsList as c, CARDS as r, pluralize as E, isProbablyMobile as I, ABOUT_TITLE as S } from "./index.3yc2BaIg.js";
|
|
4
4
|
import O from "clsx";
|
|
5
5
|
import { Suspense as C, lazy as U } from "react";
|
|
6
6
|
const L = U(
|
|
7
7
|
() => import(
|
|
8
8
|
/* webpackChunkName: "LazyAboutChangelog" */
|
|
9
|
-
"./AboutChangelog.
|
|
9
|
+
"./AboutChangelog.B-ISSR7l.js"
|
|
10
10
|
)
|
|
11
11
|
), N = () => {
|
|
12
|
-
const s = d(), i = d(), { data: o, isSuccess: m } =
|
|
12
|
+
const s = d(), i = d(), { data: o, isSuccess: m } = A(), { data: T, isSuccess: h } = B(), p = o?.version || "", a = o?.models || [], u = o?.buildTime || "";
|
|
13
13
|
return /* @__PURE__ */ b(l, { children: [
|
|
14
14
|
/* @__PURE__ */ e(
|
|
15
15
|
t,
|
|
@@ -18,8 +18,8 @@ const L = U(
|
|
|
18
18
|
className: "prose-dark dark:prose-lighter mb-4",
|
|
19
19
|
noBorder: !0,
|
|
20
20
|
children: c(s, {
|
|
21
|
-
[r.ABOUT.VERSION]: "8.
|
|
22
|
-
[r.ABOUT.BUILD_TIMESTAMP]: "10/29/2025
|
|
21
|
+
[r.ABOUT.VERSION]: "8.75.0",
|
|
22
|
+
[r.ABOUT.BUILD_TIMESTAMP]: "10/29/2025 04:48 PM EDT"
|
|
23
23
|
})
|
|
24
24
|
}
|
|
25
25
|
),
|
|
@@ -54,7 +54,7 @@ const L = U(
|
|
|
54
54
|
open: s,
|
|
55
55
|
onOpenChange: i
|
|
56
56
|
}) => /* @__PURE__ */ e(
|
|
57
|
-
|
|
57
|
+
g,
|
|
58
58
|
{
|
|
59
59
|
open: s,
|
|
60
60
|
onOpenChange: i,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as S, Fragment as Me } from "react/jsx-runtime";
|
|
2
|
-
import { I as G, ACTION_SORT as bs, ACTION_SEARCH as ws, ACTION_RESET_PROMPT as Io, ACTION_TOGGLE_PROMPT as Eo, LOCAL_STORAGE_PREFIX as Be, LOCAL_STORAGE_CHAT_ID as So, n as ye, isDev as Is, isPWAMode as To, useChat as Es, F as Ss, te as Te, DEFAULT_ICON_ACTION_SIZE as Ae, isTauri as Kt, useUserPreferences as Ge, isProbablyiPhone as Ue, serverUrl as xo, useEntitlements as Jr, L as Ar, j as ct, C as mn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ts, ot as er, LOCAL_STORAGE_REASONING_DISCLOSURE as xs, useSaveChat as ks, TOAST_CHAT_SAVED as Cs, PROMPT_CLASSNAME as Ns, PROMPT_EDITABLE_AREA_CLASSNAME as zs, useChatsHistory as As, i as Os, rt as ko, ERROR_MESSAGE as Ms, E as It, CLIPBOARD_PROMPT as hn, INPUT_PLACEHOLDER_TEXT_MOBILE as fn, INPUT_PLACEHOLDER_TEXT_ENTER as gn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as vn, isProbablyMobile as Or, Z as $s, FOOTER_DISCLAIMERS as yn, h as Co, isProbablyiPad as Rs, INPUT_BOTTOM_OFFSET_EXTRA as _n, INPUT_BOTTOM_OFFSET_IPHONE as Ps, INPUT_BOTTOM_OFFSET_IPAD as Zs, INPUT_BOTTOM_OFFSET as No, getLayoutPaddingClass as Mr, canEvaluateModels as bn, et as Ds, r as Ls, O as Bs, c as Us, V as js, j$1 as yr, setNewProvider as wn, TOAST_PROVIDER_CHANGED as In, useQueryClient as Vs, LOG_OUT as En, e as zo, b as Sn, useServerCapabilities as Fs, getMessageContaintWrapperClass as Hs, UI_FOOTER_BUFFER as Ao, UI_BUTTON_SCROLL_BUFFER as Gs, Logo as Js, UI_DEFAULT_MAIN_HEIGHT as Tn, applyOledMode as Ws, UI_DEFAULT_MAIN_HEIGHT_IPHONE as qs, APP_CLASSNAME as Ys, J as xn, Q as Xs, LOCAL_STORAGE_SORT as Qs, LOCAL_STORAGE_SEARCH as Ks, LOCAL_STORAGE_OLED_MODE as ei, LOCAL_STORAGE_FULL_SCREEN as ti, LOCAL_STORAGE_SORT_TIMESTAMP as ri, LOCAL_STORAGE_SORT_TOKEN_USAGE as ni, TOAST_CACHE_ENABLED as oi, TOAST_CACHE_DISABLED as ai } from "./index.
|
|
2
|
+
import { I as G, ACTION_SORT as bs, ACTION_SEARCH as ws, ACTION_RESET_PROMPT as Io, ACTION_TOGGLE_PROMPT as Eo, LOCAL_STORAGE_PREFIX as Be, LOCAL_STORAGE_CHAT_ID as So, n as ye, isDev as Is, isPWAMode as To, useChat as Es, F as Ss, te as Te, DEFAULT_ICON_ACTION_SIZE as Ae, isTauri as Kt, useUserPreferences as Ge, isProbablyiPhone as Ue, serverUrl as xo, useEntitlements as Jr, L as Ar, j as ct, C as mn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ts, ot as er, LOCAL_STORAGE_REASONING_DISCLOSURE as xs, useSaveChat as ks, TOAST_CHAT_SAVED as Cs, PROMPT_CLASSNAME as Ns, PROMPT_EDITABLE_AREA_CLASSNAME as zs, useChatsHistory as As, i as Os, rt as ko, ERROR_MESSAGE as Ms, E as It, CLIPBOARD_PROMPT as hn, INPUT_PLACEHOLDER_TEXT_MOBILE as fn, INPUT_PLACEHOLDER_TEXT_ENTER as gn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as vn, isProbablyMobile as Or, Z as $s, FOOTER_DISCLAIMERS as yn, h as Co, isProbablyiPad as Rs, INPUT_BOTTOM_OFFSET_EXTRA as _n, INPUT_BOTTOM_OFFSET_IPHONE as Ps, INPUT_BOTTOM_OFFSET_IPAD as Zs, INPUT_BOTTOM_OFFSET as No, getLayoutPaddingClass as Mr, canEvaluateModels as bn, et as Ds, r as Ls, O as Bs, c as Us, V as js, j$1 as yr, setNewProvider as wn, TOAST_PROVIDER_CHANGED as In, useQueryClient as Vs, LOG_OUT as En, e as zo, b as Sn, useServerCapabilities as Fs, getMessageContaintWrapperClass as Hs, UI_FOOTER_BUFFER as Ao, UI_BUTTON_SCROLL_BUFFER as Gs, Logo as Js, UI_DEFAULT_MAIN_HEIGHT as Tn, applyOledMode as Ws, UI_DEFAULT_MAIN_HEIGHT_IPHONE as qs, APP_CLASSNAME as Ys, J as xn, Q as Xs, LOCAL_STORAGE_SORT as Qs, LOCAL_STORAGE_SEARCH as Ks, LOCAL_STORAGE_OLED_MODE as ei, LOCAL_STORAGE_FULL_SCREEN as ti, LOCAL_STORAGE_SORT_TIMESTAMP as ri, LOCAL_STORAGE_SORT_TOKEN_USAGE as ni, TOAST_CACHE_ENABLED as oi, TOAST_CACHE_DISABLED as ai } from "./index.3yc2BaIg.js";
|
|
3
3
|
import * as ie from "react";
|
|
4
4
|
import pt, { useRef as V, useEffect as $, useCallback as D, useState as R, useSyncExternalStore as Gt, createContext as si, useContext as re, useId as Oo, forwardRef as Mo, useMemo as ze, Suspense as tr, lazy as Re, useReducer as Zt, useLayoutEffect as ii } from "react";
|
|
5
5
|
import N from "clsx";
|
|
@@ -6614,7 +6614,7 @@ const Qa = async () => (xr || (xr = import(
|
|
|
6614
6614
|
"./index.790ujKXR.js"
|
|
6615
6615
|
)), xr), Ka = async () => (kr || (kr = import(
|
|
6616
6616
|
/* webpackChunkName: "toast-utilities" */
|
|
6617
|
-
"./index.
|
|
6617
|
+
"./index.3yc2BaIg.js"
|
|
6618
6618
|
).then((e) => e.utilities)), kr), sh = async () => {
|
|
6619
6619
|
try {
|
|
6620
6620
|
await Promise.all([Qa(), Ka()]);
|
|
@@ -9392,38 +9392,38 @@ const sf = (e) => {
|
|
|
9392
9392
|
}, Mf = Re(
|
|
9393
9393
|
() => import(
|
|
9394
9394
|
/* webpackChunkName: "modal-chunk" */
|
|
9395
|
-
"./ProfileEntry.
|
|
9395
|
+
"./ProfileEntry.B8yuMCEl.js"
|
|
9396
9396
|
).then((e) => ({
|
|
9397
9397
|
default: e.Profile
|
|
9398
9398
|
}))
|
|
9399
9399
|
), $f = Re(
|
|
9400
9400
|
() => import(
|
|
9401
9401
|
/* webpackChunkName: "modal-chunk" */
|
|
9402
|
-
"./SettingsEntry.
|
|
9402
|
+
"./SettingsEntry.DBzoen7C.js"
|
|
9403
9403
|
).then((e) => ({
|
|
9404
9404
|
default: e.SettingsPanel
|
|
9405
9405
|
}))
|
|
9406
9406
|
), Rf = Re(
|
|
9407
9407
|
() => import(
|
|
9408
9408
|
/* webpackChunkName: "modal-chunk" */
|
|
9409
|
-
"./HistoryEntry.
|
|
9409
|
+
"./HistoryEntry.feqJtRTV.js"
|
|
9410
9410
|
).then((e) => ({
|
|
9411
9411
|
default: e.HistoryPanel
|
|
9412
9412
|
}))
|
|
9413
9413
|
), Pf = Re(
|
|
9414
9414
|
() => import(
|
|
9415
9415
|
/* webpackChunkName: "modal-chunk" */
|
|
9416
|
-
"./AboutEntry.
|
|
9416
|
+
"./AboutEntry.DrUARPjo.js"
|
|
9417
9417
|
).then((e) => ({ default: e.About }))
|
|
9418
9418
|
), Zf = Re(
|
|
9419
9419
|
() => import(
|
|
9420
9420
|
/* webpackChunkName: "modal-chunk" */
|
|
9421
|
-
"./UsageEntry.
|
|
9421
|
+
"./UsageEntry.BVPC-rT8.js"
|
|
9422
9422
|
).then((e) => ({ default: e.Usage }))
|
|
9423
9423
|
), Df = Re(
|
|
9424
9424
|
() => import(
|
|
9425
9425
|
/* webpackChunkName: "modal-chunk" */
|
|
9426
|
-
"./UserMemoriesPanel.
|
|
9426
|
+
"./UserMemoriesPanel.Dun6Xh1A.js"
|
|
9427
9427
|
).then(
|
|
9428
9428
|
(e) => ({ default: e.default })
|
|
9429
9429
|
)
|
|
@@ -9473,23 +9473,23 @@ const sf = (e) => {
|
|
|
9473
9473
|
f || Promise.all([
|
|
9474
9474
|
import(
|
|
9475
9475
|
/* webpackChunkName: "modal-chunk" */
|
|
9476
|
-
"./ProfileEntry.
|
|
9476
|
+
"./ProfileEntry.B8yuMCEl.js"
|
|
9477
9477
|
),
|
|
9478
9478
|
import(
|
|
9479
9479
|
/* webpackChunkName: "modal-chunk" */
|
|
9480
|
-
"./SettingsEntry.
|
|
9480
|
+
"./SettingsEntry.DBzoen7C.js"
|
|
9481
9481
|
),
|
|
9482
9482
|
import(
|
|
9483
9483
|
/* webpackChunkName: "modal-chunk" */
|
|
9484
|
-
"./HistoryEntry.
|
|
9484
|
+
"./HistoryEntry.feqJtRTV.js"
|
|
9485
9485
|
),
|
|
9486
9486
|
import(
|
|
9487
9487
|
/* webpackChunkName: "modal-chunk" */
|
|
9488
|
-
"./AboutEntry.
|
|
9488
|
+
"./AboutEntry.DrUARPjo.js"
|
|
9489
9489
|
),
|
|
9490
9490
|
import(
|
|
9491
9491
|
/* webpackChunkName: "modal-chunk" */
|
|
9492
|
-
"./UsageEntry.
|
|
9492
|
+
"./UsageEntry.BVPC-rT8.js"
|
|
9493
9493
|
)
|
|
9494
9494
|
]).finally(() => g(!0));
|
|
9495
9495
|
}, [f]), b = D((k) => {
|
|
@@ -9746,18 +9746,18 @@ try {
|
|
|
9746
9746
|
} catch {
|
|
9747
9747
|
}
|
|
9748
9748
|
const Vf = Re(
|
|
9749
|
-
() => import("./index.
|
|
9749
|
+
() => import("./index.CS-FSWLu.js").then((e) => ({ default: e.Bubble }))
|
|
9750
9750
|
), dn = (e) => /* @__PURE__ */ l(tr, { fallback: /* @__PURE__ */ l("span", { className: "inline-block" }), children: /* @__PURE__ */ l(Vf, { ...e }) });
|
|
9751
9751
|
dn.displayName = "AsyncBubble";
|
|
9752
9752
|
const wo = 1, Ff = 150, Hf = Re(
|
|
9753
9753
|
() => import(
|
|
9754
9754
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
9755
|
-
"./ChatBubbleAssistant.
|
|
9755
|
+
"./ChatBubbleAssistant.Biu6NFb6.js"
|
|
9756
9756
|
)
|
|
9757
9757
|
), Gf = Re(
|
|
9758
9758
|
() => import(
|
|
9759
9759
|
/* webpackChunkName: "LazyMessageUser" */
|
|
9760
|
-
"./ChatBubbleUser.
|
|
9760
|
+
"./ChatBubbleUser.ZlrQ6y0L.js"
|
|
9761
9761
|
)
|
|
9762
9762
|
), Jf = pt.memo(
|
|
9763
9763
|
({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Ap } from "react/jsx-runtime";
|
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.D58BIK-t.js";
|
|
3
3
|
import Cp, { useState as Pp, useEffect as Op } from "react";
|
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.
|
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.3yc2BaIg.js";
|
|
5
5
|
var ls = { exports: {} }, Ip = ls.exports, on;
|
|
6
6
|
function Dp() {
|
|
7
7
|
return on || (on = 1, (function(we, he) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { n as P, useUserPreferences as R, convertCamelCaseToReadable as y, numberFormatter as L, pluralize as _, b as v } from "./index.
|
|
3
|
-
import { BUBBLE_FOOTER_EMPTY as B } from "./index.
|
|
2
|
+
import { n as P, useUserPreferences as R, convertCamelCaseToReadable as y, numberFormatter as L, pluralize as _, b as v } from "./index.3yc2BaIg.js";
|
|
3
|
+
import { BUBBLE_FOOTER_EMPTY as B } from "./index.CS-FSWLu.js";
|
|
4
4
|
import U from "clsx";
|
|
5
5
|
import G, { useState as g, useRef as E, useEffect as F, useContext as S } from "react";
|
|
6
|
-
import { ChatContext as D, AppContext as j, AsyncBubble as k } from "./App.
|
|
7
|
-
import { useMarkdown as q } from "./useMarkdown.
|
|
6
|
+
import { ChatContext as D, AppContext as j, AsyncBubble as k } from "./App.D58BIK-t.js";
|
|
7
|
+
import { useMarkdown as q } from "./useMarkdown.Bp7kgBs6.js";
|
|
8
8
|
const I = 2, W = I * 1e3, M = "", $ = (e) => e * (2 - e);
|
|
9
9
|
function V(e, n = !0) {
|
|
10
10
|
const [a, d] = g(0), [c, p] = g(0), [t, C] = g(e), r = E(0), s = E(0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n, Fragment as b, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import { useState as C, useMemo as u, isValidElement as p, useEffect as I } from "react";
|
|
3
|
-
import { AsyncBubble as w } from "./App.
|
|
4
|
-
import { useMarkdown as _ } from "./useMarkdown.
|
|
5
|
-
import { C as M } from "./index.
|
|
3
|
+
import { AsyncBubble as w } from "./App.D58BIK-t.js";
|
|
4
|
+
import { useMarkdown as _ } from "./useMarkdown.Bp7kgBs6.js";
|
|
5
|
+
import { C as M } from "./index.3yc2BaIg.js";
|
|
6
6
|
const R = 200, N = ({
|
|
7
7
|
string: e,
|
|
8
8
|
idealLength: r = R
|
|
@@ -1,43 +1,17 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { I as
|
|
3
|
-
import { st as M, p$1 as L, z as
|
|
2
|
+
import { I as R, J as N, Q as g, INFINITE_SCROLL_THRESHOLD as E, CARDS as k, pluralize as b, te as u, numberFormatter as y, st as D, isProbablyMobile as U, c as I, r as P, O as B } from "./index.3yc2BaIg.js";
|
|
3
|
+
import { st as M, p$1 as L, z as $, p$2 as _ } from "./App.D58BIK-t.js";
|
|
4
4
|
import h from "clsx";
|
|
5
|
-
import { Fragment as
|
|
6
|
-
import { j as
|
|
7
|
-
const
|
|
5
|
+
import { Fragment as V } from "react";
|
|
6
|
+
import { j as Y, D as F, G as x, H as G, M as a, U as K, F as O, n as W, l as H } from "./Table.BdYF4eSq.js";
|
|
7
|
+
const j = ({
|
|
8
8
|
className: l,
|
|
9
9
|
viewBox: c,
|
|
10
10
|
title: n,
|
|
11
|
-
monotone:
|
|
11
|
+
monotone: d,
|
|
12
12
|
...o
|
|
13
13
|
}) => /* @__PURE__ */ m(
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
defaultViewBox: "0 0 512 512",
|
|
17
|
-
size: "size-5",
|
|
18
|
-
viewBox: c,
|
|
19
|
-
className: l,
|
|
20
|
-
title: n || "Restore",
|
|
21
|
-
...o,
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ e(
|
|
24
|
-
"path",
|
|
25
|
-
{
|
|
26
|
-
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",
|
|
27
|
-
opacity: i ? "1" : "0.4"
|
|
28
|
-
}
|
|
29
|
-
),
|
|
30
|
-
/* @__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" })
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
), j = ({
|
|
34
|
-
className: l,
|
|
35
|
-
viewBox: c,
|
|
36
|
-
title: n,
|
|
37
|
-
monotone: i,
|
|
38
|
-
...o
|
|
39
|
-
}) => /* @__PURE__ */ m(
|
|
40
|
-
C,
|
|
14
|
+
R,
|
|
41
15
|
{
|
|
42
16
|
defaultViewBox: "0 0 512 512",
|
|
43
17
|
size: "size-5",
|
|
@@ -60,10 +34,10 @@ const W = ({
|
|
|
60
34
|
className: l,
|
|
61
35
|
viewBox: c,
|
|
62
36
|
title: n,
|
|
63
|
-
monotone:
|
|
37
|
+
monotone: d,
|
|
64
38
|
...o
|
|
65
39
|
}) => /* @__PURE__ */ m(
|
|
66
|
-
|
|
40
|
+
R,
|
|
67
41
|
{
|
|
68
42
|
defaultViewBox: "0 0 512 512",
|
|
69
43
|
size: "size-5",
|
|
@@ -83,9 +57,9 @@ const W = ({
|
|
|
83
57
|
]
|
|
84
58
|
}
|
|
85
59
|
), Q = {
|
|
60
|
+
[B]: _,
|
|
86
61
|
[P]: $,
|
|
87
|
-
[I]:
|
|
88
|
-
[B]: L
|
|
62
|
+
[I]: L
|
|
89
63
|
}, t = {
|
|
90
64
|
ROW: "row",
|
|
91
65
|
TIMESTAMP: N,
|
|
@@ -109,20 +83,20 @@ const W = ({
|
|
|
109
83
|
filteredHistory: l,
|
|
110
84
|
historyState: c,
|
|
111
85
|
lastEntryToLoad: n,
|
|
112
|
-
onClickSort:
|
|
86
|
+
onClickSort: d,
|
|
113
87
|
onClickRestore: o,
|
|
114
88
|
onClickDelete: f,
|
|
115
|
-
onClickFavorite:
|
|
116
|
-
infinityScrollMarkerRef:
|
|
117
|
-
isLoading:
|
|
89
|
+
onClickFavorite: T,
|
|
90
|
+
infinityScrollMarkerRef: v,
|
|
91
|
+
isLoading: w = !1
|
|
118
92
|
}) => {
|
|
119
|
-
const
|
|
93
|
+
const C = U() ? q : X, A = (s) => {
|
|
120
94
|
switch (s) {
|
|
121
95
|
case t.ROW:
|
|
122
96
|
return /* @__PURE__ */ e(a, { className: "sr-only", children: "Row" }, s);
|
|
123
97
|
case t.TIMESTAMP:
|
|
124
98
|
return /* @__PURE__ */ e(
|
|
125
|
-
|
|
99
|
+
O,
|
|
126
100
|
{
|
|
127
101
|
focusMode: "system",
|
|
128
102
|
buttonClassName: "text-xs sm:text-sm",
|
|
@@ -131,7 +105,7 @@ const W = ({
|
|
|
131
105
|
sortDirection: c.sortDirection,
|
|
132
106
|
sortedCell: c.sortedCell,
|
|
133
107
|
onClick: () => {
|
|
134
|
-
|
|
108
|
+
d(N);
|
|
135
109
|
},
|
|
136
110
|
children: "Date"
|
|
137
111
|
},
|
|
@@ -143,7 +117,7 @@ const W = ({
|
|
|
143
117
|
return /* @__PURE__ */ e(a, { className: "text-xs sm:text-sm", children: "Provider" }, s);
|
|
144
118
|
case t.TOKEN_USAGE:
|
|
145
119
|
return /* @__PURE__ */ e(
|
|
146
|
-
|
|
120
|
+
O,
|
|
147
121
|
{
|
|
148
122
|
focusMode: "system",
|
|
149
123
|
buttonClassName: "text-xs sm:text-sm",
|
|
@@ -152,7 +126,7 @@ const W = ({
|
|
|
152
126
|
sortDirection: c.sortDirection,
|
|
153
127
|
sortedCell: c.sortedCell,
|
|
154
128
|
onClick: () => {
|
|
155
|
-
|
|
129
|
+
d(g);
|
|
156
130
|
},
|
|
157
131
|
children: "Tokens"
|
|
158
132
|
},
|
|
@@ -163,7 +137,7 @@ const W = ({
|
|
|
163
137
|
default:
|
|
164
138
|
return null;
|
|
165
139
|
}
|
|
166
|
-
},
|
|
140
|
+
}, z = (s, r, p) => {
|
|
167
141
|
switch (s) {
|
|
168
142
|
case t.ROW:
|
|
169
143
|
return /* @__PURE__ */ e(a, { children: p + 1 }, s);
|
|
@@ -182,7 +156,7 @@ const W = ({
|
|
|
182
156
|
s
|
|
183
157
|
);
|
|
184
158
|
case t.SUMMARY: {
|
|
185
|
-
const
|
|
159
|
+
const i = r.summary || (r.messages.length > 0 ? r.messages[0]?.content : "");
|
|
186
160
|
return /* @__PURE__ */ e(
|
|
187
161
|
a,
|
|
188
162
|
{
|
|
@@ -193,13 +167,13 @@ const W = ({
|
|
|
193
167
|
style: {
|
|
194
168
|
wordBreak: "break-word"
|
|
195
169
|
},
|
|
196
|
-
children:
|
|
170
|
+
children: i
|
|
197
171
|
},
|
|
198
172
|
s
|
|
199
173
|
);
|
|
200
174
|
}
|
|
201
175
|
case t.PROVIDER: {
|
|
202
|
-
const
|
|
176
|
+
const i = r.model ? D(r.model) : null, S = i ? Q[i] : null;
|
|
203
177
|
return /* @__PURE__ */ e(
|
|
204
178
|
a,
|
|
205
179
|
{
|
|
@@ -207,12 +181,12 @@ const W = ({
|
|
|
207
181
|
scope: "row",
|
|
208
182
|
className: h("dark:text-gray-400"),
|
|
209
183
|
align: "center",
|
|
210
|
-
children:
|
|
211
|
-
|
|
184
|
+
children: S ? /* @__PURE__ */ e(
|
|
185
|
+
S,
|
|
212
186
|
{
|
|
213
187
|
size: "size-4 sm:size-5",
|
|
214
188
|
semantic: !0,
|
|
215
|
-
title: r.model ||
|
|
189
|
+
title: r.model || i
|
|
216
190
|
}
|
|
217
191
|
) : null
|
|
218
192
|
},
|
|
@@ -225,7 +199,7 @@ const W = ({
|
|
|
225
199
|
{
|
|
226
200
|
className: h("dark:text-gray-400", "text-xs sm:text-sm"),
|
|
227
201
|
align: "right",
|
|
228
|
-
children: r.tokenUsage ?
|
|
202
|
+
children: r.tokenUsage ? y.format(r.tokenUsage) : "0"
|
|
229
203
|
},
|
|
230
204
|
s
|
|
231
205
|
);
|
|
@@ -263,7 +237,7 @@ const W = ({
|
|
|
263
237
|
label: r.favoriteChat ? "Remove from favorites" : "Add to favorites",
|
|
264
238
|
variant: "primary",
|
|
265
239
|
onClick: async () => {
|
|
266
|
-
await
|
|
240
|
+
await T(r);
|
|
267
241
|
},
|
|
268
242
|
children: r.favoriteChat ? /* @__PURE__ */ e(j, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ e(J, { size: "size-4", monotone: !0 })
|
|
269
243
|
}
|
|
@@ -285,7 +259,7 @@ const W = ({
|
|
|
285
259
|
onClick: () => {
|
|
286
260
|
f(r);
|
|
287
261
|
},
|
|
288
|
-
children: /* @__PURE__ */ e(
|
|
262
|
+
children: /* @__PURE__ */ e(H, { size: "size-3", monotone: !0 })
|
|
289
263
|
}
|
|
290
264
|
)
|
|
291
265
|
}
|
|
@@ -295,15 +269,15 @@ const W = ({
|
|
|
295
269
|
return null;
|
|
296
270
|
}
|
|
297
271
|
};
|
|
298
|
-
return /* @__PURE__ */ m(
|
|
299
|
-
/* @__PURE__ */ e(
|
|
300
|
-
/* @__PURE__ */ e(
|
|
301
|
-
r === n - E && /* @__PURE__ */ e("tr", { ref:
|
|
302
|
-
/* @__PURE__ */ e(x, { children:
|
|
303
|
-
(p) =>
|
|
272
|
+
return /* @__PURE__ */ m(Y, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
|
|
273
|
+
/* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(x, { children: C.map((s) => A(s)) }) }),
|
|
274
|
+
/* @__PURE__ */ e(G, { children: w && l.length === 0 ? /* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(a, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : l.slice(0, n).map((s, r) => s?.messages?.length > 0 ? /* @__PURE__ */ m(V, { children: [
|
|
275
|
+
r === n - E && /* @__PURE__ */ e("tr", { ref: v }),
|
|
276
|
+
/* @__PURE__ */ e(x, { children: C.map(
|
|
277
|
+
(p) => z(p, s, r)
|
|
304
278
|
) })
|
|
305
279
|
] }, `${k.HISTORY.TITLE}-${s.id}-${r}`) : null) }),
|
|
306
|
-
/* @__PURE__ */ e(
|
|
280
|
+
/* @__PURE__ */ e(K, { children: /* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(a, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: b(
|
|
307
281
|
`${l.length} chat`,
|
|
308
282
|
l.length
|
|
309
283
|
) }) }) }) })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t, Fragment as ee } from "react/jsx-runtime";
|
|
2
|
-
import { I as te, n as z, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as T, LOCAL_STORAGE_SORT_TIMESTAMP as ae, LOCAL_STORAGE_SORT_TOKEN_USAGE as se, LOCAL_STORAGE_SORT as oe, J as D, useUserPreferences as ie, useDeleteChat as ne, useToggleFavoriteChat as ce, APP_CLASSNAME as le, TOAST_CHAT_DELETED as de, graphQLRequest as he, SERVICE_TYPES as me, setNewProvider as ue, ACTION_SORT as Ce, Q as Se, TOAST_PROVIDER_CHANGED as fe, useChatsHistory as pe, LOCAL_STORAGE_SEARCH as ye, LOCAL_STORAGE_FAVORITES_ONLY as Te, HISTORY_TITLE as ge, S as Ae, Y as Ee, debounce as ve, C as _e, ACTION_SEARCH as De } from "./index.
|
|
3
|
-
import { HistoryContext as G, ChatContext as M, useAiChat as Oe, E as g, e as u, ConfirmationPanel as Re, LazyToastContainerWrapper as Le, showErrorToast as Ie, CHAT_SET_PROVIDER as ke, showSuccessToast as be, CHAT_SET_STATUS as we, oe as Ne, G as xe } from "./App.
|
|
2
|
+
import { I as te, n as z, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as T, LOCAL_STORAGE_SORT_TIMESTAMP as ae, LOCAL_STORAGE_SORT_TOKEN_USAGE as se, LOCAL_STORAGE_SORT as oe, J as D, useUserPreferences as ie, useDeleteChat as ne, useToggleFavoriteChat as ce, APP_CLASSNAME as le, TOAST_CHAT_DELETED as de, graphQLRequest as he, SERVICE_TYPES as me, setNewProvider as ue, ACTION_SORT as Ce, Q as Se, TOAST_PROVIDER_CHANGED as fe, useChatsHistory as pe, LOCAL_STORAGE_SEARCH as ye, LOCAL_STORAGE_FAVORITES_ONLY as Te, HISTORY_TITLE as ge, S as Ae, Y as Ee, debounce as ve, C as _e, ACTION_SEARCH as De } from "./index.3yc2BaIg.js";
|
|
3
|
+
import { HistoryContext as G, ChatContext as M, useAiChat as Oe, E as g, e as u, ConfirmationPanel as Re, LazyToastContainerWrapper as Le, showErrorToast as Ie, CHAT_SET_PROVIDER as ke, showSuccessToast as be, CHAT_SET_STATUS as we, oe as Ne, G as xe } from "./App.D58BIK-t.js";
|
|
4
4
|
import { useRef as N, useState as x, useContext as O, useCallback as V, Suspense as He, lazy as Fe, useEffect as Pe } from "react";
|
|
5
5
|
const Ve = ({
|
|
6
6
|
className: c,
|
|
@@ -31,7 +31,7 @@ const Ve = ({
|
|
|
31
31
|
), ze = Fe(
|
|
32
32
|
() => import(
|
|
33
33
|
/* webpackChunkName: "history-table" */
|
|
34
|
-
"./ChatHistoryTable.
|
|
34
|
+
"./ChatHistoryTable.Bjzq0jXS.js"
|
|
35
35
|
).then((c) => ({ default: c.ChatHistoryTable }))
|
|
36
36
|
), Ge = ({
|
|
37
37
|
filteredHistory: c,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as $, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { preloadToast as D, showSuccessToast as K, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as H, oe as V } from "./App.
|
|
3
|
-
import { n as q, i as J, useUserPreferences as Q, useServerCapabilities as X, j$1 as Z, setUserPlan as ee, S as d, renderDataAsList as ae, CARDS as s, L as f, j as c, C as se, it as ne, isTauri as re, te, l as b, PROFILE_TITLE as le } from "./index.
|
|
2
|
+
import { preloadToast as D, showSuccessToast as K, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as H, oe as V } from "./App.D58BIK-t.js";
|
|
3
|
+
import { n as q, i as J, useUserPreferences as Q, useServerCapabilities as X, j$1 as Z, setUserPlan as ee, S as d, renderDataAsList as ae, CARDS as s, L as f, j as c, C as se, it as ne, isTauri as re, te, l as b, PROFILE_TITLE as le } from "./index.3yc2BaIg.js";
|
|
4
4
|
import ie from "clsx";
|
|
5
5
|
import { useState as m, useMemo as ce, useCallback as P } from "react";
|
|
6
6
|
const oe = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t, Fragment as A } from "react/jsx-runtime";
|
|
2
|
-
import { n as Pe, useEntitlements as Be, useUserPreferences as Ge, ot as ce, LOCAL_STORAGE_OLED_MODE as Ue, LOCAL_STORAGE_FULL_SCREEN as Fe, canEvaluateModels as Ve, Et as We, getCacheInfo as $e, isServiceWorkerEnabled as ze, SETTINGS_TITLE as je, S as p, CARDS as r, $ as He, C as R, PROMPTS_DESCRIPTION as Ye, L as qe, j as ie, applyOledMode as de, getCurrentGeoLocation as Ke, graphQLRequest as me, handleServiceWorkerToggle as Qe, SERVICE_TYPES as ue } from "./index.
|
|
3
|
-
import { AppContext as Je, useCapability as he, E as pe, oe as Xe, G as l, APP_SET_OLED_MODE as Ee, APP_SET_FULL_SCREEN as Se } from "./App.
|
|
4
|
-
import { Re as Ne } from "./index.
|
|
2
|
+
import { n as Pe, useEntitlements as Be, useUserPreferences as Ge, ot as ce, LOCAL_STORAGE_OLED_MODE as Ue, LOCAL_STORAGE_FULL_SCREEN as Fe, canEvaluateModels as Ve, Et as We, getCacheInfo as $e, isServiceWorkerEnabled as ze, SETTINGS_TITLE as je, S as p, CARDS as r, $ as He, C as R, PROMPTS_DESCRIPTION as Ye, L as qe, j as ie, applyOledMode as de, getCurrentGeoLocation as Ke, graphQLRequest as me, handleServiceWorkerToggle as Qe, SERVICE_TYPES as ue } from "./index.3yc2BaIg.js";
|
|
3
|
+
import { AppContext as Je, useCapability as he, E as pe, oe as Xe, G as l, APP_SET_OLED_MODE as Ee, APP_SET_FULL_SCREEN as Se } from "./App.D58BIK-t.js";
|
|
4
|
+
import { Re as Ne } from "./index.bZe39l-0.js";
|
|
5
5
|
import { useContext as Ze, useState as n, useMemo as et, useCallback as tt, useEffect as ge } from "react";
|
|
6
6
|
const lt = ({
|
|
7
7
|
open: fe,
|