@versini/sassysaint 5.5.1 → 5.5.3
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/{LazyApp.DAIMaKbi.js → LazyApp.QsJz23b9.js} +559 -471
- package/dist/chunks/{LazyHeader.WEVaxDaM.js → LazyHeader.B13GX_MA.js} +4 -4
- package/dist/chunks/{LazyMarkdownWithExtra.DoTeMT12.js → LazyMarkdownWithExtra.BJeytb8a.js} +2 -2
- package/dist/chunks/{LazyMessageAssistant.O9mWlBe_.js → LazyMessageAssistant.BSHGsDRn.js} +73 -76
- package/dist/chunks/{index.Du-zwZIx.js → index.BpKSgAc6.js} +1 -2
- package/dist/chunks/{index.DiAX0KiN.js → index.gS3otlF2.js} +3 -3
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as y, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { g as z, R as P, CARDS as N, renderDataAsList as oe, pluralize as he, ABOUT_TITLE as Dt, DEFAULT_AI_ENGINE as te, numberFormatter as Vt, durationFormatter as Qe, NA as $t, ROLE_ASSISTANT as Ft, extractAverage as Ht, GPT4_MAX_TOKENS as Gt, un as Y, STATS as Xe, L as H, j as _, C as F, LOCAL_STORAGE_PREFIX as se, LOCAL_STORAGE_SORT as Ut, O as K, ACTION_RESET as Je, ACTION_RESTORE as jt, ACTION_SORT as Ve, LOCAL_STORAGE_SEARCH as Kt, ye as xe, ACTION_SEARCH as Wt, debounce as Yt, HISTORY_TITLE as qt, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as Ce, ENGINE_ANTHROPIC as me, APP_NAME as Zt, ACTION_ENGINE as tt, getCurrentGeoLocation as Qt, TAGS_DESCRIPTION as Xt, ACTION_SET_TAGS as Jt, LOCAL_STORAGE_CHAT_DETAILS as er, M as tr, z as $e, PROFILE_TITLE as rr, LOG_OUT as Fe } from "./index.
|
|
3
|
-
import { AppContext as ie, serviceCall as D, SERVICE_TYPES as V, HistoryContext as rt, E as ce, ce as or, se as ar, he as Te, be as nr, oe as $, ge as sr, ne as ir, f as j, Fe as He, TagsContext as cr, NewChatButton as lr } from "./index.
|
|
2
|
+
import { g as z, R as P, CARDS as N, renderDataAsList as oe, pluralize as he, ABOUT_TITLE as Dt, DEFAULT_AI_ENGINE as te, numberFormatter as Vt, durationFormatter as Qe, NA as $t, ROLE_ASSISTANT as Ft, extractAverage as Ht, GPT4_MAX_TOKENS as Gt, un as Y, STATS as Xe, L as H, j as _, C as F, LOCAL_STORAGE_PREFIX as se, LOCAL_STORAGE_SORT as Ut, O as K, ACTION_RESET as Je, ACTION_RESTORE as jt, ACTION_SORT as Ve, LOCAL_STORAGE_SEARCH as Kt, ye as xe, ACTION_SEARCH as Wt, debounce as Yt, HISTORY_TITLE as qt, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as Ce, ENGINE_ANTHROPIC as me, APP_NAME as Zt, ACTION_ENGINE as tt, getCurrentGeoLocation as Qt, TAGS_DESCRIPTION as Xt, ACTION_SET_TAGS as Jt, LOCAL_STORAGE_CHAT_DETAILS as er, M as tr, z as $e, PROFILE_TITLE as rr, LOG_OUT as Fe } from "./index.gS3otlF2.js";
|
|
3
|
+
import { AppContext as ie, serviceCall as D, SERVICE_TYPES as V, HistoryContext as rt, E as ce, ce as or, se as ar, he as Te, be as nr, oe as $, ge as sr, ne as ir, f as j, Fe as He, TagsContext as cr, NewChatButton as lr } from "./index.BpKSgAc6.js";
|
|
4
4
|
import * as f from "react";
|
|
5
5
|
import E, { useId as Ae, forwardRef as ot, useState as I, useRef as Z, useContext as B, useEffect as G } from "react";
|
|
6
6
|
import k from "clsx";
|
|
@@ -1775,8 +1775,8 @@ const ee = "panel", ue = "messagebox", Do = ({
|
|
|
1775
1775
|
header: N.ABOUT.TITLE_CLIENT,
|
|
1776
1776
|
className: "prose-dark dark:prose-lighter",
|
|
1777
1777
|
children: oe(n, {
|
|
1778
|
-
[N.ABOUT.VERSION]: "5.
|
|
1779
|
-
[N.ABOUT.BUILD_TIMESTAMP]: "
|
|
1778
|
+
[N.ABOUT.VERSION]: "5.15.0",
|
|
1779
|
+
[N.ABOUT.BUILD_TIMESTAMP]: "01/01/2025 03:07 PM EST"
|
|
1780
1780
|
})
|
|
1781
1781
|
}
|
|
1782
1782
|
) }),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as Ve, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
|
|
2
|
-
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./LazyMessageAssistant.
|
|
3
|
-
import { O as Is, L as Ds, j as Ls } from "./index.
|
|
2
|
+
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./LazyMessageAssistant.BSHGsDRn.js";
|
|
3
|
+
import { O as Is, L as Ds, j as Ls } from "./index.gS3otlF2.js";
|
|
4
4
|
import Bs, { useState as zs, useEffect as Ps } from "react";
|
|
5
5
|
import Fs from "clsx";
|
|
6
6
|
const ka = ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ae as at } from "./LazyApp.
|
|
3
|
-
import { AppContext as pi, E as hi } from "./index.
|
|
1
|
+
import { jsxs as Ye, jsx as re, Fragment as Jt } from "react/jsx-runtime";
|
|
2
|
+
import { ae as at } from "./LazyApp.QsJz23b9.js";
|
|
3
|
+
import { AppContext as pi, E as hi } from "./index.BpKSgAc6.js";
|
|
4
4
|
import sn from "clsx";
|
|
5
5
|
import { lazy as mi, useContext as gi, Suspense as di } from "react";
|
|
6
|
-
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.
|
|
6
|
+
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.gS3otlF2.js";
|
|
7
7
|
/*!
|
|
8
8
|
@versini/ui-spinner v2.0.5
|
|
9
9
|
© 2024 gizmette.com
|
|
@@ -42,8 +42,8 @@ const ut = "av-spinner", bi = ({
|
|
|
42
42
|
"fill-copy-dark dark:fill-copy-accent": t === "system",
|
|
43
43
|
"fill-copy-accent dark:fill-copy-dark": t === "alt-system"
|
|
44
44
|
});
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
n === "dots" && /* @__PURE__ */
|
|
45
|
+
return /* @__PURE__ */ Ye("div", { ref: e, className: i, role: "status", children: [
|
|
46
|
+
n === "dots" && /* @__PURE__ */ Ye("svg", { className: "h-8 w-8", children: [
|
|
47
47
|
/* @__PURE__ */ re("circle", { className: o, cx: "6", cy: "50%", r: "3" }),
|
|
48
48
|
/* @__PURE__ */ re("circle", { className: o, cx: "50%", cy: "50%", r: "3" }),
|
|
49
49
|
/* @__PURE__ */ re("circle", { className: o, cx: "80%", cy: "50%", r: "3" })
|
|
@@ -78,7 +78,7 @@ function Ai(e) {
|
|
|
78
78
|
function ct(e) {
|
|
79
79
|
return e.replace(Ii, "") === "";
|
|
80
80
|
}
|
|
81
|
-
class
|
|
81
|
+
class Ue {
|
|
82
82
|
/**
|
|
83
83
|
* @constructor
|
|
84
84
|
* @param {Properties} property
|
|
@@ -89,15 +89,15 @@ class qe {
|
|
|
89
89
|
this.property = t, this.normal = n, r && (this.space = r);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
Ue.prototype.property = {};
|
|
93
|
+
Ue.prototype.normal = {};
|
|
94
|
+
Ue.prototype.space = null;
|
|
95
95
|
function Zt(e, t) {
|
|
96
96
|
const n = {}, r = {};
|
|
97
97
|
let i = -1;
|
|
98
98
|
for (; ++i < e.length; )
|
|
99
99
|
Object.assign(n, e[i].property), Object.assign(r, e[i].normal);
|
|
100
|
-
return new
|
|
100
|
+
return new Ue(n, r, t);
|
|
101
101
|
}
|
|
102
102
|
function Pn(e) {
|
|
103
103
|
return e.toLowerCase();
|
|
@@ -163,7 +163,7 @@ function De(e) {
|
|
|
163
163
|
);
|
|
164
164
|
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), t[r] = o, n[Pn(r)] = r, n[Pn(o.attribute)] = r;
|
|
165
165
|
}
|
|
166
|
-
return new
|
|
166
|
+
return new Ue(t, n, e.space);
|
|
167
167
|
}
|
|
168
168
|
const nr = De({
|
|
169
169
|
space: "xlink",
|
|
@@ -1530,7 +1530,7 @@ function Ki(e, t) {
|
|
|
1530
1530
|
e.evaluater.evaluateExpression(r.expression)
|
|
1531
1531
|
);
|
|
1532
1532
|
}
|
|
1533
|
-
|
|
1533
|
+
He(e, t.position);
|
|
1534
1534
|
}
|
|
1535
1535
|
function Ji(e, t) {
|
|
1536
1536
|
if (t.data && t.data.estree && e.evaluater)
|
|
@@ -1538,7 +1538,7 @@ function Ji(e, t) {
|
|
|
1538
1538
|
/** @type {Child | undefined} */
|
|
1539
1539
|
e.evaluater.evaluateProgram(t.data.estree)
|
|
1540
1540
|
);
|
|
1541
|
-
|
|
1541
|
+
He(e, t.position);
|
|
1542
1542
|
}
|
|
1543
1543
|
function Zi(e, t, n) {
|
|
1544
1544
|
const r = e.schema;
|
|
@@ -1619,7 +1619,7 @@ function ll(e, t) {
|
|
|
1619
1619
|
e.evaluater.evaluateExpression(a.argument)
|
|
1620
1620
|
);
|
|
1621
1621
|
} else
|
|
1622
|
-
|
|
1622
|
+
He(e, t.position);
|
|
1623
1623
|
else {
|
|
1624
1624
|
const i = r.name;
|
|
1625
1625
|
let o;
|
|
@@ -1628,7 +1628,7 @@ function ll(e, t) {
|
|
|
1628
1628
|
const a = r.value.data.estree.body[0];
|
|
1629
1629
|
o = e.evaluater.evaluateExpression(a.expression);
|
|
1630
1630
|
} else
|
|
1631
|
-
|
|
1631
|
+
He(e, t.position);
|
|
1632
1632
|
else
|
|
1633
1633
|
o = r.value === null ? !0 : r.value;
|
|
1634
1634
|
n[i] = /** @type {Props[keyof Props]} */
|
|
@@ -1721,9 +1721,9 @@ function hr(e, t, n) {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
if (e.evaluater)
|
|
1723
1723
|
return e.evaluater.evaluateExpression(r);
|
|
1724
|
-
|
|
1724
|
+
He(e);
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function He(e, t) {
|
|
1727
1727
|
const n = new K(
|
|
1728
1728
|
"Cannot handle MDX estrees without `createEvaluater`",
|
|
1729
1729
|
{
|
|
@@ -2235,7 +2235,7 @@ function Tl(e, t, n) {
|
|
|
2235
2235
|
return n(p);
|
|
2236
2236
|
}
|
|
2237
2237
|
}
|
|
2238
|
-
const
|
|
2238
|
+
const qe = {
|
|
2239
2239
|
tokenize: Pl,
|
|
2240
2240
|
partial: !0
|
|
2241
2241
|
};
|
|
@@ -3021,7 +3021,7 @@ function co(e, t, n) {
|
|
|
3021
3021
|
function fo(e, t, n) {
|
|
3022
3022
|
return r;
|
|
3023
3023
|
function r(i) {
|
|
3024
|
-
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(
|
|
3024
|
+
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(qe, t, n);
|
|
3025
3025
|
}
|
|
3026
3026
|
}
|
|
3027
3027
|
const po = {
|
|
@@ -3354,7 +3354,7 @@ function Po(e, t) {
|
|
|
3354
3354
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), j(e, t, "linePrefix");
|
|
3355
3355
|
}
|
|
3356
3356
|
}
|
|
3357
|
-
const
|
|
3357
|
+
const Xe = {
|
|
3358
3358
|
name: "thematicBreak",
|
|
3359
3359
|
tokenize: Lo
|
|
3360
3360
|
};
|
|
@@ -3398,7 +3398,7 @@ function Do(e, t, n) {
|
|
|
3398
3398
|
if (r.containerState.type || (r.containerState.type = d, e.enter(d, {
|
|
3399
3399
|
_container: !0
|
|
3400
3400
|
})), d === "listUnordered")
|
|
3401
|
-
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(
|
|
3401
|
+
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(Xe, n, u)(p) : u(p);
|
|
3402
3402
|
if (!r.interrupt || p === 49)
|
|
3403
3403
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), s(p);
|
|
3404
3404
|
}
|
|
@@ -3409,7 +3409,7 @@ function Do(e, t, n) {
|
|
|
3409
3409
|
}
|
|
3410
3410
|
function u(p) {
|
|
3411
3411
|
return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
|
|
3412
|
-
|
|
3412
|
+
qe,
|
|
3413
3413
|
// Can’t be empty when interrupting.
|
|
3414
3414
|
r.interrupt ? n : f,
|
|
3415
3415
|
e.attempt(
|
|
@@ -3431,7 +3431,7 @@ function Do(e, t, n) {
|
|
|
3431
3431
|
}
|
|
3432
3432
|
function Oo(e, t, n) {
|
|
3433
3433
|
const r = this;
|
|
3434
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
3434
|
+
return r.containerState._closeFlow = void 0, e.check(qe, i, o);
|
|
3435
3435
|
function i(a) {
|
|
3436
3436
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, j(
|
|
3437
3437
|
e,
|
|
@@ -3533,7 +3533,7 @@ const Bo = {
|
|
|
3533
3533
|
function jo(e) {
|
|
3534
3534
|
const t = this, n = e.attempt(
|
|
3535
3535
|
// Try to parse a blank line.
|
|
3536
|
-
|
|
3536
|
+
qe,
|
|
3537
3537
|
r,
|
|
3538
3538
|
// Try to parse initial flow (essentially, only code).
|
|
3539
3539
|
e.attempt(
|
|
@@ -3894,11 +3894,11 @@ const Go = {
|
|
|
3894
3894
|
32: hn
|
|
3895
3895
|
}, Ko = {
|
|
3896
3896
|
35: no,
|
|
3897
|
-
42:
|
|
3898
|
-
45: [At,
|
|
3897
|
+
42: Xe,
|
|
3898
|
+
45: [At, Xe],
|
|
3899
3899
|
60: lo,
|
|
3900
3900
|
61: At,
|
|
3901
|
-
95:
|
|
3901
|
+
95: Xe,
|
|
3902
3902
|
96: Et,
|
|
3903
3903
|
126: Et
|
|
3904
3904
|
}, Jo = {
|
|
@@ -4952,12 +4952,12 @@ const Ba = {
|
|
|
4952
4952
|
tableRow: Fa,
|
|
4953
4953
|
text: Ma,
|
|
4954
4954
|
thematicBreak: Na,
|
|
4955
|
-
toml:
|
|
4956
|
-
yaml:
|
|
4957
|
-
definition:
|
|
4958
|
-
footnoteDefinition:
|
|
4955
|
+
toml: Ve,
|
|
4956
|
+
yaml: Ve,
|
|
4957
|
+
definition: Ve,
|
|
4958
|
+
footnoteDefinition: Ve
|
|
4959
4959
|
};
|
|
4960
|
-
function
|
|
4960
|
+
function Ve() {
|
|
4961
4961
|
}
|
|
4962
4962
|
const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, Dr = 8, Dt = typeof self == "object" ? self : globalThis, ja = (e, t) => {
|
|
4963
4963
|
const n = (i, o) => (e.set(o, i), i), r = (i) => {
|
|
@@ -5030,7 +5030,7 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, D
|
|
|
5030
5030
|
return [Yn, Le];
|
|
5031
5031
|
}
|
|
5032
5032
|
return n.includes("Array") ? [Ze, n] : n.includes("Error") ? [vr, n] : [en, n];
|
|
5033
|
-
},
|
|
5033
|
+
}, We = ([e, t]) => e === ln && (t === "function" || t === "symbol"), qa = (e, t, n, r) => {
|
|
5034
5034
|
const i = (l, a) => {
|
|
5035
5035
|
const s = r.push(l) - 1;
|
|
5036
5036
|
return n.set(a, s), s;
|
|
@@ -5078,7 +5078,7 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, D
|
|
|
5078
5078
|
return o(l.toJSON());
|
|
5079
5079
|
const f = [], c = i([a, f], l);
|
|
5080
5080
|
for (const h of Ua(l))
|
|
5081
|
-
(e || !
|
|
5081
|
+
(e || !We(Ne(l[h]))) && f.push([o(h), o(l[h])]);
|
|
5082
5082
|
return c;
|
|
5083
5083
|
}
|
|
5084
5084
|
case Qn:
|
|
@@ -5090,13 +5090,13 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, D
|
|
|
5090
5090
|
case Xn: {
|
|
5091
5091
|
const f = [], c = i([a, f], l);
|
|
5092
5092
|
for (const [h, p] of l)
|
|
5093
|
-
(e || !(
|
|
5093
|
+
(e || !(We(Ne(h)) || We(Ne(p)))) && f.push([o(h), o(p)]);
|
|
5094
5094
|
return c;
|
|
5095
5095
|
}
|
|
5096
5096
|
case Yn: {
|
|
5097
5097
|
const f = [], c = i([a, f], l);
|
|
5098
5098
|
for (const h of l)
|
|
5099
|
-
(e || !
|
|
5099
|
+
(e || !We(Ne(h))) && f.push(o(h));
|
|
5100
5100
|
return c;
|
|
5101
5101
|
}
|
|
5102
5102
|
}
|
|
@@ -5556,7 +5556,7 @@ const fe = { basename: pu, dirname: hu, extname: mu, join: gu, sep: "/" };
|
|
|
5556
5556
|
function pu(e, t) {
|
|
5557
5557
|
if (t !== void 0 && typeof t != "string")
|
|
5558
5558
|
throw new TypeError('"ext" argument must be a string');
|
|
5559
|
-
|
|
5559
|
+
$e(e);
|
|
5560
5560
|
let n = 0, r = -1, i = e.length, o;
|
|
5561
5561
|
if (t === void 0 || t.length === 0 || t.length > e.length) {
|
|
5562
5562
|
for (; i--; )
|
|
@@ -5582,7 +5582,7 @@ function pu(e, t) {
|
|
|
5582
5582
|
return n === r ? r = l : r < 0 && (r = e.length), e.slice(n, r);
|
|
5583
5583
|
}
|
|
5584
5584
|
function hu(e) {
|
|
5585
|
-
if (
|
|
5585
|
+
if ($e(e), e.length === 0)
|
|
5586
5586
|
return ".";
|
|
5587
5587
|
let t = -1, n = e.length, r;
|
|
5588
5588
|
for (; --n; )
|
|
@@ -5595,7 +5595,7 @@ function hu(e) {
|
|
|
5595
5595
|
return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
|
|
5596
5596
|
}
|
|
5597
5597
|
function mu(e) {
|
|
5598
|
-
|
|
5598
|
+
$e(e);
|
|
5599
5599
|
let t = e.length, n = -1, r = 0, i = -1, o = 0, l;
|
|
5600
5600
|
for (; t--; ) {
|
|
5601
5601
|
const a = e.codePointAt(t);
|
|
@@ -5615,11 +5615,11 @@ function mu(e) {
|
|
|
5615
5615
|
function gu(...e) {
|
|
5616
5616
|
let t = -1, n;
|
|
5617
5617
|
for (; ++t < e.length; )
|
|
5618
|
-
|
|
5618
|
+
$e(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
|
|
5619
5619
|
return n === void 0 ? "." : du(n);
|
|
5620
5620
|
}
|
|
5621
5621
|
function du(e) {
|
|
5622
|
-
|
|
5622
|
+
$e(e);
|
|
5623
5623
|
const t = e.codePointAt(0) === 47;
|
|
5624
5624
|
let n = yu(e, !t);
|
|
5625
5625
|
return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
|
|
@@ -5655,7 +5655,7 @@ function yu(e, t) {
|
|
|
5655
5655
|
}
|
|
5656
5656
|
return n;
|
|
5657
5657
|
}
|
|
5658
|
-
function
|
|
5658
|
+
function $e(e) {
|
|
5659
5659
|
if (typeof e != "string")
|
|
5660
5660
|
throw new TypeError(
|
|
5661
5661
|
"Path must be a string. Received " + JSON.stringify(e)
|
|
@@ -6274,7 +6274,7 @@ class Jn extends Cu {
|
|
|
6274
6274
|
*/
|
|
6275
6275
|
parse(t) {
|
|
6276
6276
|
this.freeze();
|
|
6277
|
-
const n =
|
|
6277
|
+
const n = Qe(t), r = this.parser || this.Parser;
|
|
6278
6278
|
return bn("parse", r), r(String(n), n);
|
|
6279
6279
|
}
|
|
6280
6280
|
/**
|
|
@@ -6323,7 +6323,7 @@ class Jn extends Cu {
|
|
|
6323
6323
|
const r = this;
|
|
6324
6324
|
return this.freeze(), bn("process", this.parser || this.Parser), wn("process", this.compiler || this.Compiler), n ? i(void 0, n) : new Promise(i);
|
|
6325
6325
|
function i(o, l) {
|
|
6326
|
-
const a =
|
|
6326
|
+
const a = Qe(t), s = (
|
|
6327
6327
|
/** @type {HeadTree extends undefined ? Node : HeadTree} */
|
|
6328
6328
|
/** @type {unknown} */
|
|
6329
6329
|
r.parse(a)
|
|
@@ -6428,7 +6428,7 @@ class Jn extends Cu {
|
|
|
6428
6428
|
const i = this.transformers;
|
|
6429
6429
|
return !r && typeof n == "function" && (r = n, n = void 0), r ? o(void 0, r) : new Promise(o);
|
|
6430
6430
|
function o(l, a) {
|
|
6431
|
-
const s =
|
|
6431
|
+
const s = Qe(n);
|
|
6432
6432
|
i.run(t, s, u);
|
|
6433
6433
|
function u(f, c, h) {
|
|
6434
6434
|
const p = (
|
|
@@ -6494,7 +6494,7 @@ class Jn extends Cu {
|
|
|
6494
6494
|
*/
|
|
6495
6495
|
stringify(t, n) {
|
|
6496
6496
|
this.freeze();
|
|
6497
|
-
const r =
|
|
6497
|
+
const r = Qe(n), i = this.compiler || this.Compiler;
|
|
6498
6498
|
return wn("stringify", i), jt(t), i(t, r);
|
|
6499
6499
|
}
|
|
6500
6500
|
/**
|
|
@@ -6637,7 +6637,7 @@ function Ht(e, t, n) {
|
|
|
6637
6637
|
"`" + e + "` finished async. Use `" + t + "` instead"
|
|
6638
6638
|
);
|
|
6639
6639
|
}
|
|
6640
|
-
function
|
|
6640
|
+
function Qe(e) {
|
|
6641
6641
|
return Au(e) ? e : new Rr(e);
|
|
6642
6642
|
}
|
|
6643
6643
|
function Au(e) {
|
|
@@ -6703,7 +6703,7 @@ function vu(e) {
|
|
|
6703
6703
|
components: o,
|
|
6704
6704
|
ignoreInvalidStyle: !0,
|
|
6705
6705
|
jsx: re,
|
|
6706
|
-
jsxs:
|
|
6706
|
+
jsxs: Ye,
|
|
6707
6707
|
passKeys: !0,
|
|
6708
6708
|
passNode: !0
|
|
6709
6709
|
});
|
|
@@ -8242,7 +8242,7 @@ function Ic(e, t, n) {
|
|
|
8242
8242
|
}
|
|
8243
8243
|
}
|
|
8244
8244
|
function Ac(e, t, n) {
|
|
8245
|
-
return e.check(
|
|
8245
|
+
return e.check(qe, t, e.attempt(bc, t, n));
|
|
8246
8246
|
}
|
|
8247
8247
|
function Tc(e) {
|
|
8248
8248
|
e.exit("gfmFootnoteDefinition");
|
|
@@ -8526,28 +8526,28 @@ function Rc(e, t) {
|
|
|
8526
8526
|
start: Object.assign({}, d.start),
|
|
8527
8527
|
// Note: correct end is set later.
|
|
8528
8528
|
end: Object.assign({}, d.end)
|
|
8529
|
-
}, h.add(n, 0, [["enter", f, t]])), i = d.type === "tableDelimiterRow" ? 2 : f ? 3 : 1) : i && (d.type === "data" || d.type === "tableDelimiterMarker" || d.type === "tableDelimiterFiller") ? (r = !1, l[2] === 0 && (o[1] !== 0 && (l[0] = l[1], c =
|
|
8529
|
+
}, h.add(n, 0, [["enter", f, t]])), i = d.type === "tableDelimiterRow" ? 2 : f ? 3 : 1) : i && (d.type === "data" || d.type === "tableDelimiterMarker" || d.type === "tableDelimiterFiller") ? (r = !1, l[2] === 0 && (o[1] !== 0 && (l[0] = l[1], c = Ge(
|
|
8530
8530
|
h,
|
|
8531
8531
|
t,
|
|
8532
8532
|
o,
|
|
8533
8533
|
i,
|
|
8534
8534
|
void 0,
|
|
8535
8535
|
c
|
|
8536
|
-
), o = [0, 0, 0, 0]), l[2] = n)) : d.type === "tableCellDivider" && (r ? r = !1 : (o[1] !== 0 && (l[0] = l[1], c =
|
|
8536
|
+
), o = [0, 0, 0, 0]), l[2] = n)) : d.type === "tableCellDivider" && (r ? r = !1 : (o[1] !== 0 && (l[0] = l[1], c = Ge(
|
|
8537
8537
|
h,
|
|
8538
8538
|
t,
|
|
8539
8539
|
o,
|
|
8540
8540
|
i,
|
|
8541
8541
|
void 0,
|
|
8542
8542
|
c
|
|
8543
|
-
)), o = l, l = [o[1], n, 0, 0])) : d.type === "tableHead" ? (a = !0, s = n) : d.type === "tableRow" || d.type === "tableDelimiterRow" ? (s = n, o[1] !== 0 ? (l[0] = l[1], c =
|
|
8543
|
+
)), o = l, l = [o[1], n, 0, 0])) : d.type === "tableHead" ? (a = !0, s = n) : d.type === "tableRow" || d.type === "tableDelimiterRow" ? (s = n, o[1] !== 0 ? (l[0] = l[1], c = Ge(
|
|
8544
8544
|
h,
|
|
8545
8545
|
t,
|
|
8546
8546
|
o,
|
|
8547
8547
|
i,
|
|
8548
8548
|
n,
|
|
8549
8549
|
c
|
|
8550
|
-
)) : l[1] !== 0 && (c =
|
|
8550
|
+
)) : l[1] !== 0 && (c = Ge(h, t, l, i, n, c)), i = 0) : i && (d.type === "data" || d.type === "tableDelimiterMarker" || d.type === "tableDelimiterFiller") && (l[3] = n);
|
|
8551
8551
|
}
|
|
8552
8552
|
for (s !== 0 && Yt(h, t, s, u, f), h.consume(t.events), n = -1; ++n < t.events.length; ) {
|
|
8553
8553
|
const p = t.events[n];
|
|
@@ -8555,7 +8555,7 @@ function Rc(e, t) {
|
|
|
8555
8555
|
}
|
|
8556
8556
|
return e;
|
|
8557
8557
|
}
|
|
8558
|
-
function
|
|
8558
|
+
function Ge(e, t, n, r, i, o) {
|
|
8559
8559
|
const l = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", a = "tableContent";
|
|
8560
8560
|
n[0] !== 0 && (o.end = Object.assign({}, ze(t.events, n[0])), e.add(n[0], 0, [["exit", o, t]]));
|
|
8561
8561
|
const s = ze(t.events, n[1]);
|
|
@@ -8652,7 +8652,7 @@ function Uc(e) {
|
|
|
8652
8652
|
const qc = mi(
|
|
8653
8653
|
() => import(
|
|
8654
8654
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8655
|
-
"./LazyMarkdownWithExtra.
|
|
8655
|
+
"./LazyMarkdownWithExtra.BJeytb8a.js"
|
|
8656
8656
|
)
|
|
8657
8657
|
), Tn = {
|
|
8658
8658
|
MODEL: "Model",
|
|
@@ -8667,26 +8667,23 @@ const qc = mi(
|
|
|
8667
8667
|
const { state: i } = gi(pi), [o] = hi({
|
|
8668
8668
|
key: yi + ki,
|
|
8669
8669
|
initialValue: !1
|
|
8670
|
-
})
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
},
|
|
8683
|
-
children:
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
}
|
|
8688
|
-
)
|
|
8689
|
-
] });
|
|
8670
|
+
}), l = {
|
|
8671
|
+
[Tn.MODEL]: i && i.model && o ? i.model : null,
|
|
8672
|
+
[Tn.PLUGIN]: t && o ? t : null,
|
|
8673
|
+
[Tn.PROCESSING_TIME]: r && o ? xi(r) : null
|
|
8674
|
+
};
|
|
8675
|
+
return /* @__PURE__ */ re(Jt, { children: n ? /* @__PURE__ */ re(at, { children: /* @__PURE__ */ re(bi, { type: "dots" }) }) : /* @__PURE__ */ Ye(
|
|
8676
|
+
at,
|
|
8677
|
+
{
|
|
8678
|
+
copyToClipboard: e,
|
|
8679
|
+
copyToClipboardFocusMode: "light",
|
|
8680
|
+
footer: l,
|
|
8681
|
+
children: [
|
|
8682
|
+
e && (e.includes("$$") || e.includes("```")) && /* @__PURE__ */ re(di, { fallback: /* @__PURE__ */ re("div", {}), children: /* @__PURE__ */ re(qc, { content: e }) }),
|
|
8683
|
+
e && !e.includes("$$") && !e.includes("```") && /* @__PURE__ */ re(vu, { remarkPlugins: [Uc], children: e })
|
|
8684
|
+
]
|
|
8685
|
+
}
|
|
8686
|
+
) });
|
|
8690
8687
|
}, Jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, MessageAssistant: Kt, default: Kt }, Symbol.toStringTag, { value: "Module" }));
|
|
8691
8688
|
export {
|
|
8692
8689
|
Jc as LazyMessageAssistant,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C, { useSyncExternalStore as He, useCallback as P, useEffect as R, useContext as B, useRef as f, useState as $, useLayoutEffect as L, useMemo as me, useId as ze, useReducer as Le } from "react";
|
|
2
2
|
import { jsxs as N, jsx as c, Fragment as Ve } from "react/jsx-runtime";
|
|
3
|
-
import { g as ge, DEFAULT_AI_ENGINE as X, O as Oe, ACTION_RESET as Me } from "./index.
|
|
3
|
+
import { g as ge, DEFAULT_AI_ENGINE as X, O as Oe, ACTION_RESET as Me } from "./index.gS3otlF2.js";
|
|
4
4
|
import l from "clsx";
|
|
5
5
|
const Ue = ({
|
|
6
6
|
className: e,
|
|
@@ -1615,7 +1615,6 @@ export {
|
|
|
1615
1615
|
F as f,
|
|
1616
1616
|
Jt as ge,
|
|
1617
1617
|
Qt as he,
|
|
1618
|
-
Fe as m,
|
|
1619
1618
|
qt as ne,
|
|
1620
1619
|
ut as oe,
|
|
1621
1620
|
Ft as restCall,
|
|
@@ -2071,7 +2071,7 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
2071
2071
|
secondsDecimalDigits: 2,
|
|
2072
2072
|
unitCount: 2
|
|
2073
2073
|
}) : "N/A", Fa = (e) => g(
|
|
2074
|
-
"flex-1
|
|
2074
|
+
"flex-1 overflow-y-auto rounded-md bg-slate-900 px-4 pb-10 text-base leading-6 text-slate-300 shadow-sm sm:text-base sm:leading-7",
|
|
2075
2075
|
e || Xt ? "pt-0" : "pt-10"
|
|
2076
2076
|
), Mo = (e, t) => t === 1 ? e : `${e}s`, Uo = (e, t) => {
|
|
2077
2077
|
let r;
|
|
@@ -3543,7 +3543,7 @@ const $n = "ASK! ME! ANYTHING!", Mn = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3543
3543
|
}, Wn = St(
|
|
3544
3544
|
() => import(
|
|
3545
3545
|
/* webpackChunkName: "LazyHeader" */
|
|
3546
|
-
"./LazyHeader.
|
|
3546
|
+
"./LazyHeader.B13GX_MA.js"
|
|
3547
3547
|
)
|
|
3548
3548
|
), Gn = () => {
|
|
3549
3549
|
const { isAuthenticated: e } = Ze();
|
|
@@ -3652,7 +3652,7 @@ const $n = "ASK! ME! ANYTHING!", Mn = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3652
3652
|
}, Jn = new URL(document.location.href).searchParams, Vn = !!Jn.get("debug") || !1, Yn = St(
|
|
3653
3653
|
() => import(
|
|
3654
3654
|
/* webpackChunkName: "LazyApp" */
|
|
3655
|
-
"./LazyApp.
|
|
3655
|
+
"./LazyApp.QsJz23b9.js"
|
|
3656
3656
|
).then((e) => e.LazyApp)
|
|
3657
3657
|
), zn = ({ isComponent: e }) => {
|
|
3658
3658
|
const { isAuthenticated: t } = Ze();
|
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.gS3otlF2.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.
|
|
3
|
+
@sassysaint/client v5.15.0
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.
|
|
9
|
-
buildTime: "
|
|
8
|
+
version: "5.15.0",
|
|
9
|
+
buildTime: "01/01/2025 03:07 PM 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": "5.5.
|
|
3
|
+
"version": "5.5.3",
|
|
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": "5.
|
|
33
|
+
"@sassysaint/client": "5.15.0",
|
|
34
34
|
"@versini/ui-styles": "2.1.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "dea8ae4f187ca19d03eb5ce73881f32737e8ab32"
|
|
45
45
|
}
|