@versini/sassysaint 5.1.3 → 5.1.5
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.Da6BVUYy.js → App.BoAAv1ef.js} +418 -400
- package/dist/chunks/{LazyHeader.rYQgZPSI.js → LazyHeader.CdRVwfYZ.js} +783 -731
- package/dist/chunks/{LazyMarkdownWithExtra.8gJ4kHmJ.js → LazyMarkdownWithExtra.BRbTgvZL.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.CDMHbVPp.js → LazyMessageAssistant.cqGNC6SU.js} +8 -8
- package/dist/chunks/{index.lZ9DXn26.js → index.B6C-bgBL.js} +186 -202
- package/dist/chunks/{index.BuZgDoDD.js → index.CYw7R4Su.js} +904 -866
- package/dist/chunks/{index.BV7w1tBT.B-qjwzFk.js → index.jf7dGfT1.C4ay3jrh.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -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.cqGNC6SU.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { le as ot } from "./App.
|
|
3
|
-
import {
|
|
2
|
+
import { le as ot } from "./App.BoAAv1ef.js";
|
|
3
|
+
import { E as wi } from "./index.B6C-bgBL.js";
|
|
4
4
|
import cn from "clsx";
|
|
5
|
-
import { lazy as
|
|
6
|
-
import { LOCAL_STORAGE_PREFIX as Ii, LOCAL_STORAGE_CHAT_DETAILS as Ti, durationFormatter as Pi } from "./index.
|
|
5
|
+
import { lazy as Si, useContext as Ci, Suspense as Ei } from "react";
|
|
6
|
+
import { AppContext as Ai, LOCAL_STORAGE_PREFIX as Ii, LOCAL_STORAGE_CHAT_DETAILS as Ti, durationFormatter as Pi } from "./index.CYw7R4Su.js";
|
|
7
7
|
var at = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
8
|
function Li(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -8639,10 +8639,10 @@ function sf(e) {
|
|
|
8639
8639
|
), n = e || uf, r = t.data(), i = r.micromarkExtensions || (r.micromarkExtensions = []), o = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), l = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
8640
8640
|
i.push(af(n)), o.push(Tc()), l.push(Pc(n));
|
|
8641
8641
|
}
|
|
8642
|
-
const cf =
|
|
8642
|
+
const cf = Si(
|
|
8643
8643
|
() => import(
|
|
8644
8644
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8645
|
-
"./LazyMarkdownWithExtra.
|
|
8645
|
+
"./LazyMarkdownWithExtra.BRbTgvZL.js"
|
|
8646
8646
|
)
|
|
8647
8647
|
), In = {
|
|
8648
8648
|
MODEL: "Model",
|
|
@@ -8654,7 +8654,7 @@ const cf = Ci(
|
|
|
8654
8654
|
loading: n,
|
|
8655
8655
|
processingTime: r
|
|
8656
8656
|
}) => {
|
|
8657
|
-
const { state: i } =
|
|
8657
|
+
const { state: i } = Ci(Ai), [o] = wi({
|
|
8658
8658
|
key: Ii + Ti,
|
|
8659
8659
|
initialValue: !1
|
|
8660
8660
|
});
|
|
@@ -8671,7 +8671,7 @@ const cf = Ci(
|
|
|
8671
8671
|
[In.PROCESSING_TIME]: r && o ? Pi(r) : null
|
|
8672
8672
|
},
|
|
8673
8673
|
children: [
|
|
8674
|
-
e && (e.includes("$$") || e.includes("```")) && /* @__PURE__ */ re(
|
|
8674
|
+
e && (e.includes("$$") || e.includes("```")) && /* @__PURE__ */ re(Ei, { fallback: /* @__PURE__ */ re("div", {}), children: /* @__PURE__ */ re(cf, { content: e }) }),
|
|
8675
8675
|
e && !e.includes("$$") && !e.includes("```") && /* @__PURE__ */ re(Ku, { remarkPlugins: [sf], children: e })
|
|
8676
8676
|
]
|
|
8677
8677
|
}
|