@versini/sassysaint 8.119.4 → 8.120.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.CeSrouli.js → AboutChangelog.CiMwDFMv.js} +2 -2
- package/dist/chunks/{AboutEntry.CrK4XtgT.js → AboutEntry.BN0WAKwk.js} +7 -7
- package/dist/chunks/{App.DcDEUBuD.js → App.DWOS3-Zr.js} +1291 -1294
- package/dist/chunks/{BubbleActions.BOvHMRWW.js → BubbleActions.Bwci7Shh.js} +3 -3
- package/dist/chunks/{ButtonIconDelete.CwOzfrIz.js → ButtonIconDelete.zhEJV79_.js} +2 -2
- package/dist/chunks/{Chart.BMS_Y_9I.js → Chart.CXWAz5RP.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CdT8ma44.js → ChatBubbleAssistant.DJzpCo47.js} +5 -5
- package/dist/chunks/{ChatBubbleUser.C0lbTxfj.js → ChatBubbleUser.2kbd2O17.js} +4 -4
- package/dist/chunks/{HistoryDataGrid.3kWoF-Yb.js → HistoryDataGrid.BXOaTXSG.js} +4 -4
- package/dist/chunks/{HistoryEntry.DzlvBErP.js → HistoryEntry.BeQftxF9.js} +5 -5
- package/dist/chunks/{InlineFilter.D_Ayt_FY.js → InlineFilter.tyGlTl4e.js} +3 -3
- package/dist/chunks/{LoginEntry.3tVgvVbO.js → LoginEntry.s60F2Jzq.js} +4 -4
- package/dist/chunks/{LogoEntry.BqUI0xQJ.js → LogoEntry.dZNdv5Tq.js} +80 -82
- package/dist/chunks/{MemoriesEntry.DIW3CmlL.js → MemoriesEntry.iVK99wYu.js} +6 -6
- package/dist/chunks/{ProfileEntry.7GS1HjI4.js → ProfileEntry.D7XIXrR4.js} +4 -4
- package/dist/chunks/{SettingsEntry.jNyi-fMX.js → SettingsEntry.Dp4NzTB8.js} +176 -188
- package/dist/chunks/{UsageEntry.w9i8O-eB.js → UsageEntry.BjLeuZLM.js} +5 -5
- package/dist/chunks/{_baseUniq.BH3YHKEs.js → _baseUniq.CO3fOjjz.js} +1 -1
- package/dist/chunks/{arc.CVUip_pm.js → arc.DrpQdQXi.js} +1 -1
- package/dist/chunks/{architecture-U656AL7Q.DbIt0VTU.js → architecture-U656AL7Q.D7UmVFPx.js} +1 -1
- package/dist/chunks/{architectureDiagram-VXUJARFQ.BAEAYJyU.js → architectureDiagram-VXUJARFQ.Cqk4SoU-.js} +4 -4
- package/dist/chunks/{blockDiagram-VD42YOAC.BGKlBm-g.js → blockDiagram-VD42YOAC.C4szqmNL.js} +5 -5
- package/dist/chunks/{browser.DrZ79d6G.js → browser.DApHYfe-.js} +1 -1
- package/dist/chunks/{c4Diagram-YG6GDRKO.rtG-L2XB.js → c4Diagram-YG6GDRKO.CmBoi2CR.js} +2 -2
- package/dist/chunks/{channel.LgVYTJ20.js → channel.DrMqe6AY.js} +1 -1
- package/dist/chunks/{chunk-4BX2VUAB.DfeK6JZm.js → chunk-4BX2VUAB.Pos-9qpF.js} +1 -1
- package/dist/chunks/{chunk-55IACEB6.CpSocNkP.js → chunk-55IACEB6.B9i63c8G.js} +1 -1
- package/dist/chunks/{chunk-B4BG7PRW.BC8Duvia.js → chunk-B4BG7PRW.0T_ifPoF.js} +4 -4
- package/dist/chunks/{chunk-DI55MBZ5.9CY8aikM.js → chunk-DI55MBZ5.YMa8NzWA.js} +3 -3
- package/dist/chunks/{chunk-FMBD7UC4.B5y9gqvT.js → chunk-FMBD7UC4.BhsL3jH5.js} +1 -1
- package/dist/chunks/{chunk-QN33PNHL.B32OWrf1.js → chunk-QN33PNHL.DNFUGOVy.js} +1 -1
- package/dist/chunks/{chunk-QZHKN3VN.D-tflsrL.js → chunk-QZHKN3VN.DEpYL9kG.js} +1 -1
- package/dist/chunks/{chunk-TZMSLE5B.DXZAIAfk.js → chunk-TZMSLE5B.Ds0xNHua.js} +1 -1
- package/dist/chunks/{classDiagram-2ON5EDUG.BeK8hj4G.js → classDiagram-2ON5EDUG.D2ZRzQeQ.js} +2 -2
- package/dist/chunks/{classDiagram-v2-WZHVMYZB.BeK8hj4G.js → classDiagram-v2-WZHVMYZB.D2ZRzQeQ.js} +2 -2
- package/dist/chunks/{clone.C7FHEXHM.js → clone.BRhiI_Y1.js} +1 -1
- package/dist/chunks/{cose-bilkent-S5V4N54A.BarQsfhD.js → cose-bilkent-S5V4N54A.JoGjaGrW.js} +2 -2
- package/dist/chunks/{dagre-6UL2VRFP.DcB_bHG7.js → dagre-6UL2VRFP.Dl1RqOFy.js} +5 -5
- package/dist/chunks/{diagram-PSM6KHXK.v5_zpHPq.js → diagram-PSM6KHXK.CH1ttRjI.js} +4 -4
- package/dist/chunks/{diagram-QEK2KX5R.B0FVJb63.js → diagram-QEK2KX5R.Dthkf53P.js} +3 -3
- package/dist/chunks/{diagram-S2PKOQOG.9d7YNek6.js → diagram-S2PKOQOG.BYAF58op.js} +3 -3
- package/dist/chunks/{erDiagram-Q2GNP2WA.DW2pZOen.js → erDiagram-Q2GNP2WA.B-c3fUAE.js} +4 -4
- package/dist/chunks/{flowDiagram-NV44I4VS.BzEXeewQ.js → flowDiagram-NV44I4VS.d3Crkflv.js} +5 -5
- package/dist/chunks/{ganttDiagram-JELNMOA3.DFybNGqB.js → ganttDiagram-JELNMOA3.BZUslaPj.js} +2 -2
- package/dist/chunks/{gitGraph-F6HP7TQM.BsiH1w7p.js → gitGraph-F6HP7TQM.Dg9KWB-l.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-NY62KEGX.D-GUMmXw.js → gitGraphDiagram-NY62KEGX.Bxd84EzU.js} +4 -4
- package/dist/chunks/{graph.D1HPWUH-.js → graph.Cy2iRpMo.js} +2 -2
- package/dist/chunks/{index.Byf71iDV.js → index.BRCD1cnC.js} +3 -3
- package/dist/chunks/{index.bfSa4Oqr.js → index.B_ffBXUs.js} +97 -99
- package/dist/chunks/{index.DfMDe1-P.js → index.Bkx9ZaWG.js} +1 -1
- package/dist/chunks/{index.IxikjIQt.js → index.CjtYvTpj.js} +3 -3
- package/dist/chunks/{index.DKwiFV1d.js → index.D2ekUV-1.js} +1 -1
- package/dist/chunks/{index.n2mR6f6N.js → index.D95hByw4.js} +1 -1
- package/dist/chunks/{index.XKxWN3lN.js → index.D9RU5gfP.js} +1 -1
- package/dist/chunks/{index.3dWkZhjZ.js → index.DSidfZIc.js} +1 -1
- package/dist/chunks/{index.BGeec7q_.js → index.Hh_cKRWI.js} +1 -1
- package/dist/chunks/{info-NVLQJR56.B14KCPbn.js → info-NVLQJR56.CgqtZDeD.js} +1 -1
- package/dist/chunks/{infoDiagram-WHAUD3N6.B77NBmIJ.js → infoDiagram-WHAUD3N6.0odiErPl.js} +2 -2
- package/dist/chunks/{journeyDiagram-XKPGCS4Q.BlrxXwZ-.js → journeyDiagram-XKPGCS4Q.0lqSaVMS.js} +4 -4
- package/dist/chunks/{kanban-definition-3W4ZIXB7.j2l6lLXR.js → kanban-definition-3W4ZIXB7.BaLDZtyY.js} +2 -2
- package/dist/chunks/{layout.6lkAA8v9.js → layout.BBoJB8uY.js} +4 -4
- package/dist/chunks/{mermaid-parser.core.DBhUMI2Q.js → mermaid-parser.core.CJcQT_To.js} +10 -10
- package/dist/chunks/{min.BU0eEwjE.js → min.BZKGCI-7.js} +2 -2
- package/dist/chunks/{mindmap-definition-VGOIOE7T.CuUsX8t3.js → mindmap-definition-VGOIOE7T.DoyH4D1g.js} +3 -3
- package/dist/chunks/{packet-BFZMPI3H.CvdSbDdd.js → packet-BFZMPI3H.BLBWjL2V.js} +1 -1
- package/dist/chunks/{pie-7BOR55EZ.D_3dFmf2.js → pie-7BOR55EZ.BjVCVhip.js} +1 -1
- package/dist/chunks/{pieDiagram-ADFJNKIX.Cp2NP34H.js → pieDiagram-ADFJNKIX.DKVDErlN.js} +4 -4
- package/dist/chunks/{quadrantDiagram-AYHSOK5B.DWwFFqTp.js → quadrantDiagram-AYHSOK5B.CHSROtbs.js} +1 -1
- package/dist/chunks/{radar-NHE76QYJ.DntSY9Qd.js → radar-NHE76QYJ.D24Z9Uz6.js} +1 -1
- package/dist/chunks/{rehype-mermaid.kMjmz43g.js → rehype-mermaid.tmq66h-d.js} +33 -33
- package/dist/chunks/{requirementDiagram-UZGBJVZJ.DifXxwL-.js → requirementDiagram-UZGBJVZJ.B-9f1NHl.js} +3 -3
- package/dist/chunks/{sankeyDiagram-TZEHDZUN.BPl93QVq.js → sankeyDiagram-TZEHDZUN.Ck4-1oi0.js} +1 -1
- package/dist/chunks/{sequenceDiagram-WL72ISMW.BKH5QH3F.js → sequenceDiagram-WL72ISMW.DhJKjOWr.js} +3 -3
- package/dist/chunks/{stateDiagram-FKZM4ZOC.DOqiiFz_.js → stateDiagram-FKZM4ZOC.Bmp-JjZo.js} +4 -4
- package/dist/chunks/{stateDiagram-v2-4FDKWEC3.FfXgrfuT.js → stateDiagram-v2-4FDKWEC3.D_7_HtL6.js} +2 -2
- package/dist/chunks/{timeline-definition-IT6M3QCI.CxB0PunY.js → timeline-definition-IT6M3QCI.BBb9SFUZ.js} +2 -2
- package/dist/chunks/{treemap-KMMF4GRG.Bv_6LuNA.js → treemap-KMMF4GRG.C9MtDnr0.js} +1 -1
- package/dist/chunks/{useMarkdown.F2D4g88e.js → useMarkdown.BCe3_oFc.js} +8 -8
- package/dist/chunks/{xychartDiagram-PRI3JC2R.DYlYfz3Y.js → xychartDiagram-PRI3JC2R.CsTEcbFT.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as C, Fragment as B, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as v, useUserPreferences as A } from "./index.
|
|
3
|
-
import { ButtonIcon as h, IconCopied as S, IconCopy as I, ChatContext as _, IconBranch as M, TOAST_CHAT_BRANCHED as z } from "./LogoEntry.
|
|
2
|
+
import { n as v, useUserPreferences as A } from "./index.B_ffBXUs.js";
|
|
3
|
+
import { ButtonIcon as h, IconCopied as S, IconCopy as I, ChatContext as _, IconBranch as M, TOAST_CHAT_BRANCHED as z } from "./LogoEntry.dZNdv5Tq.js";
|
|
4
4
|
import { useState as H, useRef as N, useCallback as g, useEffect as R, useContext as k } from "react";
|
|
5
|
-
import { ResponsiveTooltip as T, useAiChat as E, v4 as O, CHAT_RESET as L, CHAT_SET_ATTACHMENTS as U, CHAT_SET_STATUS as j, showSuccessToast as D, CHAT_SCROLL_TO_BOTTOM as F } from "./App.
|
|
5
|
+
import { ResponsiveTooltip as T, useAiChat as E, v4 as O, CHAT_RESET as L, CHAT_SET_ATTACHMENTS as U, CHAT_SET_STATUS as j, showSuccessToast as D, CHAT_SCROLL_TO_BOTTOM as F } from "./App.DWOS3-Zr.js";
|
|
6
6
|
const P = ({ children: e, richText: r = !1, mode: a = "system", focusMode: l = "system" }) => {
|
|
7
7
|
const [o, c] = H(!1), n = N(null), p = g(async () => {
|
|
8
8
|
if (navigator.clipboard)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import u from "clsx";
|
|
2
2
|
import ae, { createContext as oe, useContext as ne, useRef as q, useLayoutEffect as P, useState as N, useCallback as I, useMemo as $, useId as le, useEffect as V } from "react";
|
|
3
3
|
import { jsx as l, jsxs as T, Fragment as ie } from "react/jsx-runtime";
|
|
4
|
-
import { CellWrapper as m, BlurEffects as R, ButtonIcon as U, IconSortUp as de, IconSortDown as ce, IconSort as ue, IconDelete as fe } from "./LogoEntry.
|
|
5
|
-
import { ResponsiveTooltip as ge } from "./App.
|
|
4
|
+
import { CellWrapper as m, BlurEffects as R, ButtonIcon as U, IconSortUp as de, IconSortDown as ce, IconSort as ue, IconDelete as fe } from "./LogoEntry.dZNdv5Tq.js";
|
|
5
|
+
import { ResponsiveTooltip as ge } from "./App.DWOS3-Zr.js";
|
|
6
6
|
const x = oe({
|
|
7
7
|
mode: "system"
|
|
8
8
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Pp } from "react/jsx-runtime";
|
|
2
|
-
import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.
|
|
2
|
+
import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.DWOS3-Zr.js";
|
|
3
3
|
import Lp, { useMemo as Ep } from "react";
|
|
4
|
-
import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.
|
|
4
|
+
import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.dZNdv5Tq.js";
|
|
5
5
|
var hs = { exports: {} }, Dp = hs.exports, nn;
|
|
6
6
|
function Bp() {
|
|
7
7
|
return nn || (nn = 1, (function(Ae, pe) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as St } from "react/jsx-runtime";
|
|
2
|
-
import { n as os, useUserPreferences as ls, formatTimestamp as Vt } from "./index.
|
|
3
|
-
import { numberFormatter as us, pluralize as cs, Bubble as fs } from "./App.
|
|
2
|
+
import { n as os, useUserPreferences as ls, formatTimestamp as Vt } from "./index.B_ffBXUs.js";
|
|
3
|
+
import { numberFormatter as us, pluralize as cs, Bubble as fs } from "./App.DWOS3-Zr.js";
|
|
4
4
|
import Jt from "clsx";
|
|
5
5
|
import hs, { useState as Ae, useEffect as Qt, useContext as wt } from "react";
|
|
6
|
-
import { useMarkdown as ds } from "./useMarkdown.
|
|
7
|
-
import { ChatContext as ms, AppContext as ps } from "./LogoEntry.
|
|
8
|
-
import { BubbleActions as gs } from "./BubbleActions.
|
|
6
|
+
import { useMarkdown as ds } from "./useMarkdown.BCe3_oFc.js";
|
|
7
|
+
import { ChatContext as ms, AppContext as ps } from "./LogoEntry.dZNdv5Tq.js";
|
|
8
|
+
import { BubbleActions as gs } from "./BubbleActions.Bwci7Shh.js";
|
|
9
9
|
const Me = {
|
|
10
10
|
isEmpty: !0
|
|
11
11
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a, Fragment as S, jsxs as b } from "react/jsx-runtime";
|
|
2
|
-
import { Bubble as k } from "./App.
|
|
3
|
-
import { Button as C } from "./LogoEntry.
|
|
2
|
+
import { Bubble as k } from "./App.DWOS3-Zr.js";
|
|
3
|
+
import { Button as C } from "./LogoEntry.dZNdv5Tq.js";
|
|
4
4
|
import { useState as H, useMemo as m, isValidElement as T, useEffect as O } from "react";
|
|
5
|
-
import { useMarkdown as w } from "./useMarkdown.
|
|
6
|
-
import { BubbleCopyToClipboard as I } from "./BubbleActions.
|
|
5
|
+
import { useMarkdown as w } from "./useMarkdown.BCe3_oFc.js";
|
|
6
|
+
import { BubbleCopyToClipboard as I } from "./BubbleActions.Bwci7Shh.js";
|
|
7
7
|
const L = 200, h = ({ string: e, idealLength: r = L }) => {
|
|
8
8
|
if (e.length <= r)
|
|
9
9
|
return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g, Fragment as E } from "react/jsx-runtime";
|
|
2
|
-
import { DataGridContext as A, useColumnMeasurement as K, getBodyClass as Q, DataGridHeader as ee, DataGridRow as q, DataGridCell as d, DataGridCellSort as B, ButtonIconDelete as te, DataGrid as re } from "./ButtonIconDelete.
|
|
2
|
+
import { DataGridContext as A, useColumnMeasurement as K, getBodyClass as Q, DataGridHeader as ee, DataGridRow as q, DataGridCell as d, DataGridCellSort as B, ButtonIconDelete as te, DataGrid as re } from "./ButtonIconDelete.zhEJV79_.js";
|
|
3
3
|
import { forwardRef as ne, useContext as se, useRef as D, useState as X, useCallback as P, useEffect as v, useImperativeHandle as oe, useMemo as $ } from "react";
|
|
4
|
-
import { CellWrapper as F, IconCloseLight as le, ButtonIcon as U, IconRestore as ae, IconStarInCircle as ce, IconStarInCircleLight as ie, CARDS as me } from "./LogoEntry.
|
|
5
|
-
import { pluralize as H, isProbablyMobile as Z, numberFormatter as ue, ResponsiveTooltip as z } from "./App.
|
|
4
|
+
import { CellWrapper as F, IconCloseLight as le, ButtonIcon as U, IconRestore as ae, IconStarInCircle as ce, IconStarInCircleLight as ie, CARDS as me } from "./LogoEntry.dZNdv5Tq.js";
|
|
5
|
+
import { pluralize as H, isProbablyMobile as Z, numberFormatter as ue, ResponsiveTooltip as z } from "./App.DWOS3-Zr.js";
|
|
6
6
|
import I from "clsx";
|
|
7
|
-
import { y as _, V, INFINITE_SCROLL_THRESHOLD as de, INFINITE_SCROLL_LIMIT as fe } from "./index.
|
|
7
|
+
import { y as _, V, INFINITE_SCROLL_THRESHOLD as de, INFINITE_SCROLL_LIMIT as fe } from "./index.B_ffBXUs.js";
|
|
8
8
|
const xe = 20, pe = 5, he = "20px", Y = "data-row-index";
|
|
9
9
|
function ge(e) {
|
|
10
10
|
let r = e.parentElement;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as i, jsx as a, Fragment as z } from "react/jsx-runtime";
|
|
2
|
-
import { n as q, LOCAL_STORAGE_PREFIX as d, LOCAL_STORAGE_SORT_TIMESTAMP as X, LOCAL_STORAGE_SORT_TOKEN_USAGE as J, LOCAL_STORAGE_SORT as Z, y as x, LOCAL_STORAGE_CHAT_ID as $, useDeleteChat as ee, useToggleFavoriteChat as te, graphQLRequest as ae, SERVICE_TYPES as re, ACTION_SORT as se, V as oe, LOCAL_STORAGE_SEARCH as ie, LOCAL_STORAGE_FAVORITES_ONLY as ne, LOCAL_STORAGE_KEYWORD_MATCH_ALL as le, useChatsHistory as ce, useUserChatStats as de, ACTION_SEARCH as he } from "./index.
|
|
3
|
-
import { InlineFilter as Ce, AnimatedWrapper as ue } from "./InlineFilter.
|
|
4
|
-
import { HistoryContext as Q, ChatContext as me, SortDirections as c, APP_CLASSNAME as Se, TOAST_CHAT_DELETED as ye, HISTORY_TITLE as fe } from "./LogoEntry.
|
|
5
|
-
import { useAiChat as Te, useLocalStorage as h, LazyToastContainerWrapper as pe, v4 as Ae, CHAT_RESET as ge, CHAT_SET_ATTACHMENTS as De, CHAT_SET_STATUS as _e, showErrorToast as Ee, ConfirmationPanel as Oe, Panel as ke, debounce as Le, Toggle as B, ButtonCancel as Re } from "./App.
|
|
2
|
+
import { n as q, LOCAL_STORAGE_PREFIX as d, LOCAL_STORAGE_SORT_TIMESTAMP as X, LOCAL_STORAGE_SORT_TOKEN_USAGE as J, LOCAL_STORAGE_SORT as Z, y as x, LOCAL_STORAGE_CHAT_ID as $, useDeleteChat as ee, useToggleFavoriteChat as te, graphQLRequest as ae, SERVICE_TYPES as re, ACTION_SORT as se, V as oe, LOCAL_STORAGE_SEARCH as ie, LOCAL_STORAGE_FAVORITES_ONLY as ne, LOCAL_STORAGE_KEYWORD_MATCH_ALL as le, useChatsHistory as ce, useUserChatStats as de, ACTION_SEARCH as he } from "./index.B_ffBXUs.js";
|
|
3
|
+
import { InlineFilter as Ce, AnimatedWrapper as ue } from "./InlineFilter.tyGlTl4e.js";
|
|
4
|
+
import { HistoryContext as Q, ChatContext as me, SortDirections as c, APP_CLASSNAME as Se, TOAST_CHAT_DELETED as ye, HISTORY_TITLE as fe } from "./LogoEntry.dZNdv5Tq.js";
|
|
5
|
+
import { useAiChat as Te, useLocalStorage as h, LazyToastContainerWrapper as pe, v4 as Ae, CHAT_RESET as ge, CHAT_SET_ATTACHMENTS as De, CHAT_SET_STATUS as _e, showErrorToast as Ee, ConfirmationPanel as Oe, Panel as ke, debounce as Le, Toggle as B, ButtonCancel as Re } from "./App.DWOS3-Zr.js";
|
|
6
6
|
import { useRef as K, useContext as Y, Suspense as ve, lazy as we, useState as I, useCallback as W, useEffect as He } from "react";
|
|
7
7
|
const be = we(
|
|
8
8
|
() => import(
|
|
9
9
|
/* webpackChunkName: "history-datagrid" */
|
|
10
|
-
"./HistoryDataGrid.
|
|
10
|
+
"./HistoryDataGrid.BXOaTXSG.js"
|
|
11
11
|
).then(
|
|
12
12
|
(C) => ({ default: C.HistoryDataGrid })
|
|
13
13
|
)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as s, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as m, useState as A, useLayoutEffect as x } from "react";
|
|
3
|
-
import { IconSearch as N, Button as b } from "./LogoEntry.
|
|
4
|
-
import { Card as S } from "./index.
|
|
5
|
-
import { TextInput as v } from "./index.
|
|
3
|
+
import { IconSearch as N, Button as b } from "./LogoEntry.dZNdv5Tq.js";
|
|
4
|
+
import { Card as S } from "./index.Bkx9ZaWG.js";
|
|
5
|
+
import { TextInput as v } from "./index.Hh_cKRWI.js";
|
|
6
6
|
const F = 300;
|
|
7
7
|
function H(e, c) {
|
|
8
8
|
const { duration: n = F, enabled: i = !0 } = c ?? {}, r = m(null), [t, a] = A({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { n as N, getLayoutPaddingClass as C, getMessageContaintWrapperClass as v, isTauri as w } from "./index.
|
|
3
|
-
import { Logo as k, PASSWORD_PLACEHOLDER as M, ButtonIcon as u, IconShow as I, IconHide as L, Button as y, LOG_IN as E, LOG_IN_PASSKEY as S, IconPasskey as P } from "./LogoEntry.
|
|
4
|
-
import { Card as B } from "./index.
|
|
5
|
-
import { TextInput as O, TextInputMask as T } from "./index.
|
|
2
|
+
import { n as N, getLayoutPaddingClass as C, getMessageContaintWrapperClass as v, isTauri as w } from "./index.B_ffBXUs.js";
|
|
3
|
+
import { Logo as k, PASSWORD_PLACEHOLDER as M, ButtonIcon as u, IconShow as I, IconHide as L, Button as y, LOG_IN as E, LOG_IN_PASSKEY as S, IconPasskey as P } from "./LogoEntry.dZNdv5Tq.js";
|
|
4
|
+
import { Card as B } from "./index.Bkx9ZaWG.js";
|
|
5
|
+
import { TextInput as O, TextInputMask as T } from "./index.Hh_cKRWI.js";
|
|
6
6
|
import { useState as r, useEffect as f } from "react";
|
|
7
7
|
const G = () => {
|
|
8
8
|
const { login: h, logoutReason: o, loginWithPasskey: g } = N(), [t, l] = r(""), [d, n] = r(""), [m, p] = r(!0), [s, c] = r({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import B, { useRef as M, useEffect as z, useCallback as
|
|
1
|
+
import B, { useRef as M, useEffect as z, useCallback as Z, useState as i1, useMemo as G, useContext as n1, useId as l1, useLayoutEffect as J } from "react";
|
|
2
2
|
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import l from "clsx";
|
|
4
|
-
import { B as h,
|
|
4
|
+
import { B as h, Z as h1, R as d1, E as u1 } from "./index.B_ffBXUs.js";
|
|
5
5
|
const p1 = {
|
|
6
6
|
ASC: "asc",
|
|
7
7
|
DESC: "desc"
|
|
@@ -19,7 +19,7 @@ function m1() {
|
|
|
19
19
|
const t = M(!1);
|
|
20
20
|
return z(() => (t.current = !0, () => {
|
|
21
21
|
t.current = !1;
|
|
22
|
-
}), []),
|
|
22
|
+
}), []), Z(() => t.current, []);
|
|
23
23
|
}
|
|
24
24
|
const y1 = {
|
|
25
25
|
x: 0,
|
|
@@ -50,9 +50,9 @@ function U(t) {
|
|
|
50
50
|
o
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
|
-
const X1 = "FOOTER_BOTTOM",
|
|
53
|
+
const X1 = "FOOTER_BOTTOM", g1 = "FOOTER_TOP", f1 = "APP_SET_FOOTER_POSITION", v1 = "APP_SET_FOOTER_HEIGHT", T1 = "APP_SET_OLED_MODE", x1 = "APP_SET_FULL_SCREEN", E1 = "APP_SET_THEME_MODE", w1 = "APP_SET_THEME_PALETTE", Z1 = (t, e) => {
|
|
54
54
|
switch (e.type) {
|
|
55
|
-
case
|
|
55
|
+
case f1:
|
|
56
56
|
return t.footerPosition === e.payload.footerPosition && t.footerOffset === e.payload.footerOffset ? t : {
|
|
57
57
|
...t,
|
|
58
58
|
footerPosition: e.payload.footerPosition,
|
|
@@ -68,12 +68,12 @@ const X1 = "FOOTER_BOTTOM", f1 = "FOOTER_TOP", g1 = "APP_SET_FOOTER_POSITION", v
|
|
|
68
68
|
...t,
|
|
69
69
|
oledMode: e.payload.oledMode
|
|
70
70
|
};
|
|
71
|
-
case
|
|
71
|
+
case x1:
|
|
72
72
|
return {
|
|
73
73
|
...t,
|
|
74
74
|
fullScreen: e.payload.fullScreen
|
|
75
75
|
};
|
|
76
|
-
case
|
|
76
|
+
case E1:
|
|
77
77
|
return {
|
|
78
78
|
...t,
|
|
79
79
|
themeMode: e.payload.themeMode
|
|
@@ -86,7 +86,7 @@ const X1 = "FOOTER_BOTTOM", f1 = "FOOTER_TOP", g1 = "APP_SET_FOOTER_POSITION", v
|
|
|
86
86
|
default:
|
|
87
87
|
return t;
|
|
88
88
|
}
|
|
89
|
-
}, I1 = "ASK! ME! ANYTHING!",
|
|
89
|
+
}, I1 = "ASK! ME! ANYTHING!", Q1 = "Log in with a password", t2 = "Log in with a Passkey", e2 = "Log out", c2 = "Password", s2 = "Usage", o2 = "Profile", r2 = "Settings", a2 = "Chat history", i2 = "About", n2 = "Type your message...", l2 = "How can I help you this morning?", h2 = "How can I help you this afternoon?", d2 = "How can I help you this evening?", u2 = "How can I help you tonight?", p2 = "How can I help you today?", m2 = "How can I help you?", y2 = "{{clipboard}}", d = "Review important details.", g2 = [
|
|
90
90
|
`Sometimes, ${h} just makes stuff up. ${d}`,
|
|
91
91
|
`${h} may invent facts on the fly. ${d}`,
|
|
92
92
|
`${h} may be confidently wrong. ${d}`,
|
|
@@ -107,7 +107,7 @@ const X1 = "FOOTER_BOTTOM", f1 = "FOOTER_TOP", g1 = "APP_SET_FOOTER_POSITION", v
|
|
|
107
107
|
`Sometimes, ${h} howls at the moon. ${d}`,
|
|
108
108
|
`${h} may dig up imaginary bones. ${d}`,
|
|
109
109
|
`${h} may sniff out nonsense. ${d}`
|
|
110
|
-
],
|
|
110
|
+
], f2 = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", v2 = "Default provider set to", T2 = "Chat successfully deleted!", x2 = "New chat created from this point!", E2 = "av-sassy", w2 = {
|
|
111
111
|
0: ["January", "February", "March"],
|
|
112
112
|
3: ["April", "May", "June"],
|
|
113
113
|
6: ["July", "August", "September"],
|
|
@@ -185,7 +185,6 @@ const X1 = "FOOTER_BOTTOM", f1 = "FOOTER_TOP", g1 = "APP_SET_FOOTER_POSITION", v
|
|
|
185
185
|
REASONING_BUTTON_DESCRIPTION: "This option allows you to display the Reasoning button in the chat interface. When enabled, you can toggle reasoning mode ON and OFF for more in-depth analysis.",
|
|
186
186
|
NESTED_MODEL_SELECTION_DESCRIPTION: "This option enables advanced model selection, allowing you to choose specific AI models within each provider category. This feature is only available when multiple models per provider are included in your plan.",
|
|
187
187
|
BACKGROUND_THEME_DESCRIPTION: "This option enables OLED mode, which uses pure black backgrounds in dark mode and pure white backgrounds in light mode. This is optimal for OLED displays to reduce power consumption and improve visual quality.",
|
|
188
|
-
THEME_MODE_DESCRIPTION: "This option enables a different theme, which uses softer, pastel colors for interface elements instead of the standard theme. This provides a more gentle - if not more whimsical - visual experience.",
|
|
189
188
|
FULL_SCREEN_DESCRIPTION: "This option enables full screen mode, which removes the maximum width constraint and allows the interface to use the entire available screen width for a more immersive experience.",
|
|
190
189
|
SESSION_STATISTICS_DETAILS: "This option adds individual statistics for each messages under their respective bubbles, such as model name, tokens usage, and timestamp.",
|
|
191
190
|
SEND_ON_ENTER: "This option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
|
|
@@ -227,7 +226,7 @@ const X1 = "FOOTER_BOTTOM", f1 = "FOOTER_TOP", g1 = "APP_SET_FOOTER_POSITION", v
|
|
|
227
226
|
}
|
|
228
227
|
}), S1 = B.createContext({
|
|
229
228
|
state: {
|
|
230
|
-
footerPosition:
|
|
229
|
+
footerPosition: g1,
|
|
231
230
|
footerHeight: 0,
|
|
232
231
|
footerOffset: 0,
|
|
233
232
|
oledMode: !1,
|
|
@@ -252,7 +251,7 @@ const X1 = "FOOTER_BOTTOM", f1 = "FOOTER_TOP", g1 = "APP_SET_FOOTER_POSITION", v
|
|
|
252
251
|
}, [e, t]);
|
|
253
252
|
return z(() => {
|
|
254
253
|
c?.cssVariables && C1(c.cssVariables);
|
|
255
|
-
}, [c]), [
|
|
254
|
+
}, [c]), [Z(
|
|
256
255
|
(o) => c?.colors[o] || "",
|
|
257
256
|
[c]
|
|
258
257
|
), u1];
|
|
@@ -287,10 +286,10 @@ try {
|
|
|
287
286
|
} catch {
|
|
288
287
|
}
|
|
289
288
|
const i = ({ children: t, fill: e, viewBox: c, className: s, defaultViewBox: o, size: a, title: u, semantic: m = !1, ...y }) => {
|
|
290
|
-
const
|
|
289
|
+
const x = l(a, s);
|
|
291
290
|
return /* @__PURE__ */ n("svg", {
|
|
292
291
|
xmlns: "http://www.w3.org/2000/svg",
|
|
293
|
-
className:
|
|
292
|
+
className: x,
|
|
294
293
|
viewBox: c || o,
|
|
295
294
|
fill: e || "currentColor",
|
|
296
295
|
role: "img",
|
|
@@ -388,7 +387,7 @@ const i = ({ children: t, fill: e, viewBox: c, className: s, defaultViewBox: o,
|
|
|
388
387
|
d: "M368 96c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V144c0-26.5-21.5-48-48-48zM48 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48z"
|
|
389
388
|
})
|
|
390
389
|
]
|
|
391
|
-
}),
|
|
390
|
+
}), V2 = ({ className: t, viewBox: e, title: c, monotone: s, ...o }) => /* @__PURE__ */ r(i, {
|
|
392
391
|
defaultViewBox: "0 0 384 512",
|
|
393
392
|
size: "size-5",
|
|
394
393
|
viewBox: e,
|
|
@@ -399,7 +398,7 @@ const i = ({ children: t, fill: e, viewBox: c, className: s, defaultViewBox: o,
|
|
|
399
398
|
d: "M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3z",
|
|
400
399
|
opacity: s ? "1" : "0.4"
|
|
401
400
|
})
|
|
402
|
-
}),
|
|
401
|
+
}), H2 = ({ className: t, viewBox: e, title: c, monotone: s, ...o }) => /* @__PURE__ */ r(i, {
|
|
403
402
|
defaultViewBox: "0 0 384 512",
|
|
404
403
|
size: "size-5",
|
|
405
404
|
viewBox: e,
|
|
@@ -615,7 +614,7 @@ const i = ({ children: t, fill: e, viewBox: c, className: s, defaultViewBox: o,
|
|
|
615
614
|
d: "M419.2 227.2 316.7 124.7 46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0z"
|
|
616
615
|
})
|
|
617
616
|
]
|
|
618
|
-
}),
|
|
617
|
+
}), Z2 = ({ className: t, viewBox: e, title: c, monotone: s, ...o }) => /* @__PURE__ */ n(i, {
|
|
619
618
|
defaultViewBox: "0 0 448 512",
|
|
620
619
|
size: "size-5",
|
|
621
620
|
viewBox: e,
|
|
@@ -631,7 +630,7 @@ const i = ({ children: t, fill: e, viewBox: c, className: s, defaultViewBox: o,
|
|
|
631
630
|
d: "M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L370.7 256 233.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"
|
|
632
631
|
})
|
|
633
632
|
]
|
|
634
|
-
}),
|
|
633
|
+
}), Q2 = ({ className: t, viewBox: e, title: c, monotone: s, ...o }) => /* @__PURE__ */ r(i, {
|
|
635
634
|
defaultViewBox: "0 0 24 24",
|
|
636
635
|
size: "size-5",
|
|
637
636
|
viewBox: e,
|
|
@@ -898,7 +897,7 @@ const i = ({ children: t, fill: e, viewBox: c, className: s, defaultViewBox: o,
|
|
|
898
897
|
d: "M270.3 112.9c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81.1 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.9 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81-11.8-36.2-73.4z"
|
|
899
898
|
})
|
|
900
899
|
]
|
|
901
|
-
}),
|
|
900
|
+
}), g4 = ({ className: t, viewBox: e, title: c, monotone: s, ...o }) => /* @__PURE__ */ n(i, {
|
|
902
901
|
defaultViewBox: "0 0 512 512",
|
|
903
902
|
size: "size-5",
|
|
904
903
|
viewBox: e,
|
|
@@ -914,7 +913,7 @@ const i = ({ children: t, fill: e, viewBox: c, className: s, defaultViewBox: o,
|
|
|
914
913
|
d: "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448m0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512m14.3-399.1c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.8 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81.1-11.8-36.2-73.4zm-40 95.1 25.7-51.8 25.6 51.9c2.3 4.7 6.8 8 12 8.8l57.3 8.3-41.5 40.4c-3.8 3.7-5.5 9-4.6 14.2l9.8 57.1-51.2-26.9c-4.7-2.5-10.2-2.5-14.9 0l-51.2 26.9 9.8-57.1c.9-5.2-.8-10.5-4.6-14.2L161 225.1l57.3-8.3c5.2-.8 9.7-4 12-8.8"
|
|
915
914
|
})
|
|
916
915
|
]
|
|
917
|
-
}),
|
|
916
|
+
}), f4 = ({ className: t, viewBox: e, title: c, monotone: s, ...o }) => /* @__PURE__ */ n(i, {
|
|
918
917
|
defaultViewBox: "0 0 448 512",
|
|
919
918
|
size: "size-5",
|
|
920
919
|
viewBox: e,
|
|
@@ -955,7 +954,7 @@ function k1(t) {
|
|
|
955
954
|
const N1 = (t, e, c) => {
|
|
956
955
|
!e && (!document.activeElement || document.activeElement !== t.currentTarget) && typeof t?.currentTarget?.focus == "function" && t.currentTarget.focus(), typeof c == "function" && c(t);
|
|
957
956
|
};
|
|
958
|
-
function
|
|
957
|
+
function Q(t) {
|
|
959
958
|
const { onClick: e, noInternalClick: c = !1, ref: s, ...o } = t;
|
|
960
959
|
return /* @__PURE__ */ r("button", {
|
|
961
960
|
ref: s,
|
|
@@ -1142,7 +1141,7 @@ const A = "icon", Y = "button", F = "link", b1 = ({ type: t, size: e, labelRight
|
|
|
1142
1141
|
});
|
|
1143
1142
|
if (c === "selected")
|
|
1144
1143
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
|
1145
|
-
},
|
|
1144
|
+
}, V1 = ({ mode: t, noBorder: e, variant: c }) => {
|
|
1146
1145
|
if (e)
|
|
1147
1146
|
return "border border-transparent";
|
|
1148
1147
|
if (c === "primary")
|
|
@@ -1168,7 +1167,7 @@ const A = "icon", Y = "button", F = "link", b1 = ({ type: t, size: e, labelRight
|
|
|
1168
1167
|
});
|
|
1169
1168
|
if (c === "selected")
|
|
1170
1169
|
return "border border-border-selected-dark";
|
|
1171
|
-
},
|
|
1170
|
+
}, H1 = ({ focusMode: t }) => l("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
|
1172
1171
|
"focus:outline-focus-dark": t === "dark",
|
|
1173
1172
|
"focus:outline-focus-light": t === "light",
|
|
1174
1173
|
"focus:outline-focus-light dark:focus:outline-focus-dark": t === "alt-system",
|
|
@@ -1220,37 +1219,37 @@ const A = "icon", Y = "button", F = "link", b1 = ({ type: t, size: e, labelRight
|
|
|
1220
1219
|
className: l(o, a),
|
|
1221
1220
|
displayValue: s
|
|
1222
1221
|
};
|
|
1223
|
-
}, t1 = ({ type: t, className: e, raw: c, mode: s, focusMode: o, disabled: a, fullWidth: u, size: m, noBorder: y, labelRight:
|
|
1222
|
+
}, t1 = ({ type: t, className: e, raw: c, mode: s, focusMode: o, disabled: a, fullWidth: u, size: m, noBorder: y, labelRight: x, labelLeft: I, noBackground: g, variant: p, truncate: f, align: k, radius: P, animated: b, badge: S }) => {
|
|
1224
1223
|
p || (p = "primary");
|
|
1225
|
-
const
|
|
1224
|
+
const V = S !== void 0 && S !== !1 && S !== 0;
|
|
1226
1225
|
return c ? l(K, e) : l(K, L1({
|
|
1227
1226
|
mode: s,
|
|
1228
1227
|
variant: p,
|
|
1229
|
-
noBackground:
|
|
1230
|
-
truncate:
|
|
1228
|
+
noBackground: g,
|
|
1229
|
+
truncate: f
|
|
1231
1230
|
}), B1({
|
|
1232
1231
|
mode: s,
|
|
1233
|
-
noBackground:
|
|
1232
|
+
noBackground: g,
|
|
1234
1233
|
variant: p
|
|
1235
1234
|
}), z1({
|
|
1236
1235
|
radius: P
|
|
1237
1236
|
}), b1({
|
|
1238
1237
|
type: t,
|
|
1239
1238
|
size: m,
|
|
1240
|
-
labelRight:
|
|
1239
|
+
labelRight: x,
|
|
1241
1240
|
labelLeft: I,
|
|
1242
1241
|
align: k,
|
|
1243
1242
|
animated: b
|
|
1244
1243
|
}), O1({
|
|
1245
1244
|
type: t,
|
|
1246
1245
|
size: m,
|
|
1247
|
-
labelRight:
|
|
1246
|
+
labelRight: x,
|
|
1248
1247
|
labelLeft: I
|
|
1249
|
-
}),
|
|
1248
|
+
}), V1({
|
|
1250
1249
|
mode: s,
|
|
1251
1250
|
variant: p,
|
|
1252
1251
|
noBorder: y
|
|
1253
|
-
}),
|
|
1252
|
+
}), H1({
|
|
1254
1253
|
focusMode: o
|
|
1255
1254
|
}), A1({
|
|
1256
1255
|
mode: s,
|
|
@@ -1263,7 +1262,7 @@ const A = "icon", Y = "button", F = "link", b1 = ({ type: t, size: e, labelRight
|
|
|
1263
1262
|
}), {
|
|
1264
1263
|
"w-full": u,
|
|
1265
1264
|
"disabled:cursor-not-allowed disabled:opacity-50": a,
|
|
1266
|
-
relative:
|
|
1265
|
+
relative: V
|
|
1267
1266
|
}, l({
|
|
1268
1267
|
"transition-[width] duration-300 ease-in": t === A && b
|
|
1269
1268
|
}), e);
|
|
@@ -1277,7 +1276,7 @@ const L = {
|
|
|
1277
1276
|
medium: 24,
|
|
1278
1277
|
large: 32
|
|
1279
1278
|
}, F1 = 2, G1 = 300;
|
|
1280
|
-
function T4({ children: t, disabled: e = !1, mode: c = "system", focusMode: s = "system", fullWidth: o = !1, className: a, type: u = "button", raw: m = !1, noBorder: y = !1, "aria-label":
|
|
1279
|
+
function T4({ children: t, disabled: e = !1, mode: c = "system", focusMode: s = "system", fullWidth: o = !1, className: a, type: u = "button", raw: m = !1, noBorder: y = !1, "aria-label": x, label: I, size: g = "medium", labelRight: p, labelLeft: f, noBackground: k = !1, align: P = "center", radius: b = "large", variant: S = "secondary", iconClassName: V, animated: E = !1, badge: W, ref: e1, ...c1 }) {
|
|
1281
1280
|
const s1 = t1({
|
|
1282
1281
|
type: A,
|
|
1283
1282
|
mode: c,
|
|
@@ -1287,74 +1286,74 @@ function T4({ children: t, disabled: e = !1, mode: c = "system", focusMode: s =
|
|
|
1287
1286
|
raw: m,
|
|
1288
1287
|
className: a,
|
|
1289
1288
|
noBorder: y,
|
|
1290
|
-
size:
|
|
1289
|
+
size: g,
|
|
1291
1290
|
labelRight: p,
|
|
1292
|
-
labelLeft:
|
|
1291
|
+
labelLeft: f,
|
|
1293
1292
|
noBackground: k,
|
|
1294
1293
|
align: P,
|
|
1295
1294
|
radius: b,
|
|
1296
1295
|
variant: S,
|
|
1297
|
-
animated:
|
|
1296
|
+
animated: E,
|
|
1298
1297
|
badge: W
|
|
1299
1298
|
}), o1 = R1({
|
|
1300
1299
|
mode: c,
|
|
1301
1300
|
raw: m,
|
|
1302
|
-
iconClassName:
|
|
1301
|
+
iconClassName: V,
|
|
1303
1302
|
variant: S
|
|
1304
1303
|
}), j = D1({
|
|
1305
|
-
animated:
|
|
1306
|
-
}), r1 = "flex items-center justify-center relative w-full h-full overflow-hidden", [v,
|
|
1304
|
+
animated: E
|
|
1305
|
+
}), r1 = "flex items-center justify-center relative w-full h-full overflow-hidden", [v, H] = U(), [T, R] = U(), [O, q] = U(), D = M(0), w = M(null), C = M(null), a1 = k1([
|
|
1307
1306
|
e1,
|
|
1308
1307
|
w
|
|
1309
1308
|
]);
|
|
1310
1309
|
J(() => {
|
|
1311
|
-
O && O.current &&
|
|
1310
|
+
O && O.current && E && (D.current = q.width + U1[g] + (y ? 0 : F1), w.current && !w.current.style.width && (w.current.style.width = `${L[g]}px`));
|
|
1312
1311
|
}, [
|
|
1313
1312
|
q,
|
|
1314
1313
|
O,
|
|
1315
|
-
|
|
1314
|
+
g,
|
|
1316
1315
|
y,
|
|
1317
|
-
|
|
1316
|
+
E
|
|
1318
1317
|
]), J(() => {
|
|
1319
|
-
if (w && w.current &&
|
|
1320
|
-
let _ = L[
|
|
1321
|
-
p && v &&
|
|
1322
|
-
v.current && p && (v.current.style.opacity = "1"), T.current &&
|
|
1323
|
-
}, G1 * 0.8))), _ === L[
|
|
1318
|
+
if (w && w.current && E) {
|
|
1319
|
+
let _ = L[g];
|
|
1320
|
+
p && v && H.width > 0 ? _ = H.width + D.current : f && T && R.width > 0 && (_ = R.width + D.current), C.current && clearTimeout(C.current), _ !== parseInt(w.current.style.width || "0", 10) && (v.current && (v.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), w.current.style.width = `${_}px`, _ > L[g] && (C.current = setTimeout(() => {
|
|
1321
|
+
v.current && p && (v.current.style.opacity = "1"), T.current && f && (T.current.style.opacity = "1"), C.current = null;
|
|
1322
|
+
}, G1 * 0.8))), _ === L[g] && (v.current && (v.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"));
|
|
1324
1323
|
}
|
|
1325
1324
|
}, [
|
|
1326
|
-
|
|
1325
|
+
H,
|
|
1327
1326
|
p,
|
|
1328
1327
|
v,
|
|
1329
1328
|
R,
|
|
1330
|
-
g,
|
|
1331
|
-
T,
|
|
1332
1329
|
f,
|
|
1333
|
-
|
|
1330
|
+
T,
|
|
1331
|
+
g,
|
|
1332
|
+
E
|
|
1334
1333
|
]), z(() => () => {
|
|
1335
1334
|
C.current && clearTimeout(C.current);
|
|
1336
1335
|
}, []);
|
|
1337
1336
|
const $ = $1({
|
|
1338
|
-
size:
|
|
1337
|
+
size: g,
|
|
1339
1338
|
badge: W
|
|
1340
1339
|
});
|
|
1341
|
-
return /* @__PURE__ */ n(
|
|
1340
|
+
return /* @__PURE__ */ n(Q, {
|
|
1342
1341
|
ref: a1,
|
|
1343
1342
|
className: s1,
|
|
1344
1343
|
disabled: e,
|
|
1345
1344
|
type: u,
|
|
1346
|
-
"aria-label":
|
|
1345
|
+
"aria-label": x || I,
|
|
1347
1346
|
...c1,
|
|
1348
1347
|
children: [
|
|
1349
1348
|
/* @__PURE__ */ n("div", {
|
|
1350
1349
|
className: r1,
|
|
1351
1350
|
children: [
|
|
1352
1351
|
/* @__PURE__ */ r(X, {
|
|
1353
|
-
label:
|
|
1352
|
+
label: f,
|
|
1354
1353
|
labelRef: T,
|
|
1355
1354
|
labelClass: j,
|
|
1356
1355
|
labelInnerClass: "pr-2",
|
|
1357
|
-
initiallyHidden:
|
|
1356
|
+
initiallyHidden: E
|
|
1358
1357
|
}),
|
|
1359
1358
|
/* @__PURE__ */ r("span", {
|
|
1360
1359
|
ref: O,
|
|
@@ -1366,7 +1365,7 @@ function T4({ children: t, disabled: e = !1, mode: c = "system", focusMode: s =
|
|
|
1366
1365
|
labelRef: v,
|
|
1367
1366
|
labelClass: j,
|
|
1368
1367
|
labelInnerClass: "pl-2",
|
|
1369
|
-
initiallyHidden:
|
|
1368
|
+
initiallyHidden: E
|
|
1370
1369
|
})
|
|
1371
1370
|
]
|
|
1372
1371
|
}),
|
|
@@ -1389,7 +1388,7 @@ const X = ({ labelRef: t, labelClass: e, label: c, labelInnerClass: s, initially
|
|
|
1389
1388
|
children: c
|
|
1390
1389
|
})
|
|
1391
1390
|
});
|
|
1392
|
-
function
|
|
1391
|
+
function x4({ children: t, disabled: e = !1, mode: c = "system", focusMode: s = "system", fullWidth: o = !1, className: a, size: u = "medium", raw: m = !1, noBorder: y = !1, variant: x = "primary", truncate: I = !1, radius: g = "large", ref: p, ...f }) {
|
|
1393
1392
|
const k = t1({
|
|
1394
1393
|
type: Y,
|
|
1395
1394
|
mode: c,
|
|
@@ -1400,19 +1399,19 @@ function E4({ children: t, disabled: e = !1, mode: c = "system", focusMode: s =
|
|
|
1400
1399
|
className: a,
|
|
1401
1400
|
size: u,
|
|
1402
1401
|
noBorder: y,
|
|
1403
|
-
variant:
|
|
1402
|
+
variant: x,
|
|
1404
1403
|
truncate: I,
|
|
1405
|
-
radius:
|
|
1404
|
+
radius: g
|
|
1406
1405
|
});
|
|
1407
|
-
return /* @__PURE__ */ r(
|
|
1406
|
+
return /* @__PURE__ */ r(Q, {
|
|
1408
1407
|
ref: p,
|
|
1409
1408
|
className: k,
|
|
1410
1409
|
disabled: e,
|
|
1411
|
-
...
|
|
1410
|
+
...f,
|
|
1412
1411
|
children: t
|
|
1413
1412
|
});
|
|
1414
1413
|
}
|
|
1415
|
-
const
|
|
1414
|
+
const E4 = ({
|
|
1416
1415
|
className: t,
|
|
1417
1416
|
isCapabilitiesSuccess: e,
|
|
1418
1417
|
capabilities: c
|
|
@@ -1451,24 +1450,23 @@ const x4 = ({
|
|
|
1451
1450
|
};
|
|
1452
1451
|
export {
|
|
1453
1452
|
i2 as ABOUT_TITLE,
|
|
1454
|
-
|
|
1453
|
+
E2 as APP_CLASSNAME,
|
|
1455
1454
|
v1 as APP_SET_FOOTER_HEIGHT,
|
|
1456
|
-
|
|
1457
|
-
|
|
1455
|
+
f1 as APP_SET_FOOTER_POSITION,
|
|
1456
|
+
x1 as APP_SET_FULL_SCREEN,
|
|
1458
1457
|
T1 as APP_SET_OLED_MODE,
|
|
1459
|
-
x1 as APP_SET_THEME_MODE,
|
|
1460
1458
|
w1 as APP_SET_THEME_PALETTE,
|
|
1461
1459
|
S1 as AppContext,
|
|
1462
1460
|
J1 as BlurEffects,
|
|
1463
|
-
|
|
1461
|
+
x4 as Button,
|
|
1464
1462
|
T4 as ButtonIcon,
|
|
1465
1463
|
_2 as CARDS,
|
|
1466
1464
|
y2 as CLIPBOARD_PROMPT,
|
|
1467
1465
|
K1 as CellWrapper,
|
|
1468
1466
|
N2 as ChatContext,
|
|
1469
1467
|
X1 as FOOTER_BOTTOM,
|
|
1470
|
-
|
|
1471
|
-
|
|
1468
|
+
g2 as FOOTER_DISCLAIMERS,
|
|
1469
|
+
g1 as FOOTER_TOP,
|
|
1472
1470
|
a2 as HISTORY_TITLE,
|
|
1473
1471
|
M2 as HistoryContext,
|
|
1474
1472
|
h2 as INPUT_PLACEHOLDER_TEXT_AFTERNOON,
|
|
@@ -1484,8 +1482,8 @@ export {
|
|
|
1484
1482
|
z2 as IconBookSparklesLight,
|
|
1485
1483
|
A2 as IconBranch,
|
|
1486
1484
|
P2 as IconChart,
|
|
1487
|
-
|
|
1488
|
-
|
|
1485
|
+
V2 as IconClose,
|
|
1486
|
+
H2 as IconCloseLight,
|
|
1489
1487
|
R2 as IconCopied,
|
|
1490
1488
|
D2 as IconCopy,
|
|
1491
1489
|
$2 as IconDelete,
|
|
@@ -1499,8 +1497,8 @@ export {
|
|
|
1499
1497
|
J2 as IconLightBulbLight,
|
|
1500
1498
|
K2 as IconLockedLight,
|
|
1501
1499
|
X2 as IconMagic,
|
|
1502
|
-
|
|
1503
|
-
|
|
1500
|
+
Z2 as IconNext,
|
|
1501
|
+
Q2 as IconOpenAI,
|
|
1504
1502
|
t4 as IconPasskey,
|
|
1505
1503
|
e4 as IconPrevious,
|
|
1506
1504
|
c4 as IconProfile,
|
|
@@ -1517,29 +1515,29 @@ export {
|
|
|
1517
1515
|
p4 as IconSortDown,
|
|
1518
1516
|
m4 as IconSortUp,
|
|
1519
1517
|
y4 as IconStarInCircle,
|
|
1520
|
-
|
|
1518
|
+
g4 as IconStarInCircleLight,
|
|
1521
1519
|
v4 as IconUnSelected,
|
|
1522
|
-
|
|
1523
|
-
|
|
1520
|
+
f4 as IconUnlockedLight,
|
|
1521
|
+
Q1 as LOG_IN,
|
|
1524
1522
|
t2 as LOG_IN_PASSKEY,
|
|
1525
1523
|
e2 as LOG_OUT,
|
|
1526
|
-
|
|
1524
|
+
E4 as Logo,
|
|
1527
1525
|
S2 as MONTHS,
|
|
1528
1526
|
c2 as PASSWORD_PLACEHOLDER,
|
|
1529
1527
|
o2 as PROFILE_TITLE,
|
|
1530
|
-
|
|
1528
|
+
f2 as PROMPTS_DESCRIPTION,
|
|
1531
1529
|
k2 as PromptsContext,
|
|
1532
1530
|
r2 as SETTINGS_TITLE,
|
|
1533
1531
|
p1 as SortDirections,
|
|
1534
1532
|
N as TIME_RANGES,
|
|
1535
1533
|
C2 as TIME_RANGE_LABELS,
|
|
1536
|
-
|
|
1534
|
+
x2 as TOAST_CHAT_BRANCHED,
|
|
1537
1535
|
T2 as TOAST_CHAT_DELETED,
|
|
1538
1536
|
v2 as TOAST_PROVIDER_CHANGED,
|
|
1539
1537
|
w2 as TRIMESTERS,
|
|
1540
1538
|
I2 as TRIMESTERS_SHORT,
|
|
1541
1539
|
s2 as USAGE_TITLE,
|
|
1542
|
-
|
|
1540
|
+
Z1 as appReducer,
|
|
1543
1541
|
k1 as useMergeRefs,
|
|
1544
1542
|
U as useResizeObserver,
|
|
1545
1543
|
_1 as useTheme,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n, Fragment as E } from "react/jsx-runtime";
|
|
2
|
-
import { n as De, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as Se, LOCAL_STORAGE_SORT_MEMORY_COLUMN as we, useUserMemories as Te, useExpiredMemories as Ee, useDeleteMemory as Me, useDeleteAllActiveMemories as ke, useDeleteAllExpiredMemories as Re, useUpdateMemory as Le, useRestoreMemory as Ie } from "./index.
|
|
3
|
-
import { Button as R, CellWrapper as Oe, SortDirections as N, ButtonIcon as F, IconEdit as Be, IconRestore as Pe, IconDelete as _e } from "./LogoEntry.
|
|
4
|
-
import { InlineFilter as Fe, AnimatedWrapper as Ge } from "./InlineFilter.
|
|
5
|
-
import { Panel as ie, Toggle as M, ButtonCancel as oe, ResponsiveTooltip as G, useLocalStorage as Q, debounce as ze, ConfirmationPanel as K } from "./App.
|
|
2
|
+
import { n as De, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as Se, LOCAL_STORAGE_SORT_MEMORY_COLUMN as we, useUserMemories as Te, useExpiredMemories as Ee, useDeleteMemory as Me, useDeleteAllActiveMemories as ke, useDeleteAllExpiredMemories as Re, useUpdateMemory as Le, useRestoreMemory as Ie } from "./index.B_ffBXUs.js";
|
|
3
|
+
import { Button as R, CellWrapper as Oe, SortDirections as N, ButtonIcon as F, IconEdit as Be, IconRestore as Pe, IconDelete as _e } from "./LogoEntry.dZNdv5Tq.js";
|
|
4
|
+
import { InlineFilter as Fe, AnimatedWrapper as Ge } from "./InlineFilter.tyGlTl4e.js";
|
|
5
|
+
import { Panel as ie, Toggle as M, ButtonCancel as oe, ResponsiveTooltip as G, useLocalStorage as Q, debounce as ze, ConfirmationPanel as K } from "./App.DWOS3-Zr.js";
|
|
6
6
|
import { useState as f, useEffect as qe, useContext as $e, useRef as S, useMemo as J, useCallback as je } from "react";
|
|
7
|
-
import { TextArea as Ue } from "./index.
|
|
8
|
-
import { DataGridContext as Z, useColumnMeasurement as Ve, getBodyClass as He, DataGridHeader as We, DataGridRow as ne, DataGridCell as y, DataGridCellSort as ee, ButtonIconDelete as Xe, DataGrid as Ye } from "./ButtonIconDelete.
|
|
7
|
+
import { TextArea as Ue } from "./index.D2ekUV-1.js";
|
|
8
|
+
import { DataGridContext as Z, useColumnMeasurement as Ve, getBodyClass as He, DataGridHeader as We, DataGridRow as ne, DataGridCell as y, DataGridCellSort as ee, ButtonIconDelete as Xe, DataGrid as Ye } from "./ButtonIconDelete.zhEJV79_.js";
|
|
9
9
|
import w from "clsx";
|
|
10
10
|
const Qe = ({
|
|
11
11
|
open: r,
|