@versini/sassysaint 2.0.0 → 2.0.1
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.B5-6f2Kg.js → App.DLRfFoDr.js} +3 -3
- package/dist/chunks/{LazyHeader.kRDKzfpE.js → LazyHeader.D2u4G673.js} +4 -4
- package/dist/chunks/{LazyMarkdownWithExtra.DwaycQtZ.js → LazyMarkdownWithExtra.CQ-6ZrX6.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.DvruzVWY.js → LazyMessageAssistant.68CITAPS.js} +4 -4
- package/dist/chunks/{index.CeSKqv8k.js → index.9fMyg1wm.js} +3 -3
- package/dist/chunks/{index.DbAx5fhD.PJ5E1yDy.js → index.DbAx5fhD.BAkw0L0M.js} +1 -1
- package/dist/chunks/{useLocalStorage.BQ-iH78L.js → useLocalStorage.BJGEnXEU.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as E, jsx as n, Fragment as ye } from "react/jsx-runtime";
|
|
2
|
-
import { O as Be, s as Ve, S as De, f$1 as ze, M as $e, U as Ue, r as Fe, o as Pe, n as fe, l as Ge, a as q, isLastMessageFromRole as he, x as xe, CANCEL as je, CLEAR as We, ACTION_RESET as be, ROLE_ASSISTANT as M, ROLE_INTERNAL as Z, ROLE_USER as K, zr as ee, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as ke, STATS_SEPARATOR as le, ACTION_MODEL as Ce, ACTION_MESSAGE as V, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as Te, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as B, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as J, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.
|
|
3
|
-
import { g as ve, AppContext as P, restCall as ir, E as Q, serviceCall as ce, SERVICE_TYPES as ie, HistoryContext as dr, k as ur } from "./useLocalStorage.
|
|
2
|
+
import { O as Be, s as Ve, S as De, f$1 as ze, M as $e, U as Ue, r as Fe, o as Pe, n as fe, l as Ge, a as q, isLastMessageFromRole as he, x as xe, CANCEL as je, CLEAR as We, ACTION_RESET as be, ROLE_ASSISTANT as M, ROLE_INTERNAL as Z, ROLE_USER as K, zr as ee, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as ke, STATS_SEPARATOR as le, ACTION_MODEL as Ce, ACTION_MESSAGE as V, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as Te, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as B, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as J, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.9fMyg1wm.js";
|
|
3
|
+
import { g as ve, AppContext as P, restCall as ir, E as Q, serviceCall as ce, SERVICE_TYPES as ie, HistoryContext as dr, k as ur } from "./useLocalStorage.BJGEnXEU.js";
|
|
4
4
|
import pr, { useState as I, useEffect as S, useRef as x, useLayoutEffect as $, useContext as re, lazy as mr, Suspense as de, useReducer as ue, useCallback as gr } from "react";
|
|
5
5
|
import g from "clsx";
|
|
6
6
|
const yr = ({
|
|
@@ -475,7 +475,7 @@ const Br = () => {
|
|
|
475
475
|
children: r != null && r.streaming ? je : We
|
|
476
476
|
}
|
|
477
477
|
) }) : null;
|
|
478
|
-
}, me = mr(() => import("./LazyMessageAssistant.
|
|
478
|
+
}, me = mr(() => import("./LazyMessageAssistant.68CITAPS.js").then((e) => e.LazyMessageAssistant)), Vr = () => {
|
|
479
479
|
const { state: e } = re(P);
|
|
480
480
|
return /* @__PURE__ */ E(ye, { children: [
|
|
481
481
|
e && e.messages.length > 0 && e.messages.map((r, o) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { O as _, i$1 as le, N as de, p as De, o as _e, g as A, N$1 as z, CARDS as N, renderDataAsList as $, pluralize as Z, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Ve, durationFormatter as Ce, NA as Pe, ROLE_ASSISTANT as Fe, extractAverage as Ge, GPT4_MAX_TOKENS as $e, zr as Y, STATS as Ne, b as F, j as E, x as ee, LOCAL_STORAGE_PREFIX as te, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as re, LOCAL_STORAGE_SEARCH as We, Y as Xe, ACTION_SEARCH as Je, HISTORY_TITLE as qe, LOCAL_STORAGE_CHAT_DETAILS as Qe, LOCAL_STORAGE_LOCATION as Ze, f$2 as et, ACTION_LOCATION as me, getCurrentGeoLocation as tt, convertLatitudeToDMS as at, convertLongitudeToDMS as st, PROFILE_TITLE as nt, LOG_OUT as ue } from "./index.
|
|
2
|
+
import { O as _, i$1 as le, N as de, p as De, o as _e, g as A, N$1 as z, CARDS as N, renderDataAsList as $, pluralize as Z, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Ve, durationFormatter as Ce, NA as Pe, ROLE_ASSISTANT as Fe, extractAverage as Ge, GPT4_MAX_TOKENS as $e, zr as Y, STATS as Ne, b as F, j as E, x as ee, LOCAL_STORAGE_PREFIX as te, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as re, LOCAL_STORAGE_SEARCH as We, Y as Xe, ACTION_SEARCH as Je, HISTORY_TITLE as qe, LOCAL_STORAGE_CHAT_DETAILS as Qe, LOCAL_STORAGE_LOCATION as Ze, f$2 as et, ACTION_LOCATION as me, getCurrentGeoLocation as tt, convertLatitudeToDMS as at, convertLongitudeToDMS as st, PROFILE_TITLE as nt, LOG_OUT as ue } from "./index.9fMyg1wm.js";
|
|
3
3
|
import * as ce from "react";
|
|
4
4
|
import rt, { forwardRef as Te, useState as T, useRef as U, useContext as R, useEffect as O, Suspense as ot, lazy as ct, useId as it } from "react";
|
|
5
|
-
import { g as lt, AppContext as K, serviceCall as se, SERVICE_TYPES as ne, HistoryContext as ye, E as ae, k as I, et as dt, at as mt, lt as oe, J as M, ct as ut, st as ht, rt as pt } from "./useLocalStorage.
|
|
5
|
+
import { g as lt, AppContext as K, serviceCall as se, SERVICE_TYPES as ne, HistoryContext as ye, E as ae, k as I, et as dt, at as mt, lt as oe, J as M, ct as ut, st as ht, rt as pt } from "./useLocalStorage.BJGEnXEU.js";
|
|
6
6
|
import v from "clsx";
|
|
7
7
|
import { useFloatingTree as be, useFloatingNodeId as ft, useListItem as Se, useFloating as gt, offset as Ct, flip as Nt, shift as Tt, autoUpdate as yt, useClick as bt, useRole as St, useDismiss as wt, useListNavigation as kt, useTypeahead as xt, useInteractions as Et, useMergeRefs as we, FloatingNode as vt, FloatingList as It, FloatingPortal as At, FloatingFocusManager as Ht, FloatingTree as Mt } from "@floating-ui/react";
|
|
8
8
|
const ie = ce.createContext({
|
|
@@ -197,7 +197,7 @@ const Rt = ({ className: t, ...a }) => {
|
|
|
197
197
|
header: "p-4 mb-0",
|
|
198
198
|
close: "p-4"
|
|
199
199
|
}), W = (t) => ct(
|
|
200
|
-
() => import("./index.DbAx5fhD.
|
|
200
|
+
() => import("./index.DbAx5fhD.BAkw0L0M.js").then((a) => ({
|
|
201
201
|
default: a[t]
|
|
202
202
|
}))
|
|
203
203
|
), Dt = W("Modal"), _t = W("ModalClose"), zt = W("ModalContent"), Bt = W("ModalDescription"), Vt = W("ModalHeading"), X = ({
|
|
@@ -603,7 +603,7 @@ const sa = ({ stats: t }) => {
|
|
|
603
603
|
className: "prose-dark dark:prose-lighter",
|
|
604
604
|
children: $(r, {
|
|
605
605
|
[N.ABOUT.VERSION]: "4.0.0",
|
|
606
|
-
[N.ABOUT.BUILD_TIMESTAMP]: "08/24/2024
|
|
606
|
+
[N.ABOUT.BUILD_TIMESTAMP]: "08/24/2024 01:02 PM EDT"
|
|
607
607
|
})
|
|
608
608
|
}
|
|
609
609
|
) }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _i } from "react/jsx-runtime";
|
|
2
|
-
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.
|
|
2
|
+
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.68CITAPS.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
3
|
-
import { AppContext as Ei, E as Ai } from "./useLocalStorage.
|
|
2
|
+
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.9fMyg1wm.js";
|
|
3
|
+
import { AppContext as Ei, E as Ai } from "./useLocalStorage.BJGEnXEU.js";
|
|
4
4
|
import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
|
|
5
|
-
import { T as ut } from "./App.
|
|
5
|
+
import { T as ut } from "./App.DLRfFoDr.js";
|
|
6
6
|
import cn from "clsx";
|
|
7
7
|
const Li = ({
|
|
8
8
|
spinnerRef: e,
|
|
@@ -8618,7 +8618,7 @@ function sf(e) {
|
|
|
8618
8618
|
i.push(af(n)), o.push(Tc()), l.push(Pc(n));
|
|
8619
8619
|
}
|
|
8620
8620
|
const cf = Ii(
|
|
8621
|
-
() => import("./LazyMarkdownWithExtra.
|
|
8621
|
+
() => import("./LazyMarkdownWithExtra.CQ-6ZrX6.js")
|
|
8622
8622
|
), In = {
|
|
8623
8623
|
MODEL: "Model",
|
|
8624
8624
|
PLUGIN: "Plugin",
|
|
@@ -3343,7 +3343,7 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
|
|
|
3343
3343
|
Pn
|
|
3344
3344
|
] })
|
|
3345
3345
|
}
|
|
3346
|
-
), Hn = wt(() => import("./LazyHeader.
|
|
3346
|
+
), Hn = wt(() => import("./LazyHeader.D2u4G673.js")), Kn = () => {
|
|
3347
3347
|
const { isAuthenticated: e } = qe();
|
|
3348
3348
|
return /* @__PURE__ */ I(ce, { children: [
|
|
3349
3349
|
e && /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Hn, {}) }),
|
|
@@ -3450,14 +3450,14 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
|
|
|
3450
3450
|
] }),
|
|
3451
3451
|
/* @__PURE__ */ c(Un, {})
|
|
3452
3452
|
] });
|
|
3453
|
-
}, Gn = new URL(document.location.href).searchParams, Wn = !!Gn.get("debug") || !1, Vn = wt(() => import("./App.
|
|
3453
|
+
}, Gn = new URL(document.location.href).searchParams, Wn = !!Gn.get("debug") || !1, Vn = wt(() => import("./App.DLRfFoDr.js").then((e) => e.App)), Jn = ({ isComponent: e }) => {
|
|
3454
3454
|
const { isAuthenticated: t } = qe();
|
|
3455
3455
|
return t ? /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Vn, { isComponent: e }) }) : /* @__PURE__ */ c(Bn, {});
|
|
3456
3456
|
}, Fn = ({
|
|
3457
3457
|
isComponent: e = !1,
|
|
3458
3458
|
domain: t = Ha
|
|
3459
3459
|
}) => /* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(Ra, { clientId: Na, domain: t, debug: Wn, children: /* @__PURE__ */ c(Jn, { isComponent: e }) }) }), Yn = ({ domain: e }) => /* @__PURE__ */ c(Fn, { isComponent: !0, domain: e });
|
|
3460
|
-
Yn.displayName = "SassySaint-
|
|
3460
|
+
Yn.displayName = "SassySaint-4.0.0";
|
|
3461
3461
|
export {
|
|
3462
3462
|
Yt as A,
|
|
3463
3463
|
zo as ABOUT_TITLE,
|
|
@@ -3,7 +3,7 @@ import A from "clsx";
|
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
|
|
5
5
|
import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as k, useFloating as P, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
|
|
6
|
-
import { S as j } from "./index.
|
|
6
|
+
import { S as j } from "./index.9fMyg1wm.js";
|
|
7
7
|
const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
|
|
8
8
|
alert: null,
|
|
9
9
|
alertdialog: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _, Fragment as M, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import m from "clsx";
|
|
3
3
|
import w, { useContext as k, useSyncExternalStore as W, useCallback as S, useEffect as U } from "react";
|
|
4
|
-
import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.
|
|
4
|
+
import { A as F, i as P, f as q, S as j, MODEL_GPT4 as J } from "./index.9fMyg1wm.js";
|
|
5
5
|
const Q = (e) => {
|
|
6
6
|
let a = "";
|
|
7
7
|
if (typeof e == "number" || typeof e == "string")
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
|
1
|
+
import { SassySaint as r } from "./chunks/index.9fMyg1wm.js";
|
|
2
2
|
/*!
|
|
3
3
|
@sassysaint/client v4.0.0
|
|
4
4
|
© 2024 gizmette.com
|
|
@@ -6,7 +6,7 @@ import { SassySaint as r } from "./chunks/index.CeSKqv8k.js";
|
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
8
|
version: "4.0.0",
|
|
9
|
-
buildTime: "08/24/2024
|
|
9
|
+
buildTime: "08/24/2024 01:02 PM EDT",
|
|
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": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "1ec7d7bfe9df547530939863c513098799e0313e"
|
|
45
45
|
}
|