@versini/sassysaint 8.23.3 → 8.23.4
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/{2ZEF3XTO.CMm5LbAd.js → 2ZEF3XTO.Rjj8DR39.js} +1 -1
- package/dist/chunks/{AboutChangelog.C7-hKAzB.js → AboutChangelog.CxuDpkQZ.js} +2 -2
- package/dist/chunks/{App.B_64ZeIE.js → App.tf0AbTjD.js} +157 -164
- package/dist/chunks/{Chart.BtX0xgOE.js → Chart.FRlLERbu.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.BX0XpD9U.js → ChatBubbleAssistant.CCAKOJEK.js} +3 -3
- package/dist/chunks/{index.DSpqvy4j.js → index.B1Fz6zjQ.js} +1 -1
- package/dist/chunks/{index.DM_geSGv.js → index.BfAu8rnr.js} +2 -2
- package/dist/chunks/{index.DU7Pf3br.js → index.BhfgsLCH.js} +1 -1
- package/dist/chunks/{index.BKRN6H3t.js → index.BjvMwvB0.js} +1 -1
- package/dist/chunks/{index.B9d2boFf.js → index.DR4SilC0.js} +3 -3
- package/dist/chunks/{index.Cuvh-sZ-.js → index.DxW3O79R.js} +2 -2
- package/dist/chunks/{useMarkdown.DpTyS1Mr.js → useMarkdown.D8ghuP2y.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
var bs = Object.defineProperty;
|
2
2
|
var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
3
3
|
var _e = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
|
4
|
-
import { createContext as we, createSignal as z, onMount as At, createEffect as U, createMemo as D, createComponent as v, Portal as Po, Show as B, template as _, insert as k, createRenderEffect as G, className as F, clearDelegatedEvents as ws, delegateEvents as or, useContext as xe, onCleanup as H, sortFns as Gn, mutationSortFns as Hn, on as ut, setAttribute as M, getSidedProp as xs, use as An, batch as $s, getQueryStatusLabel as Pt, getMutationStatusColor as Rt, getQueryStatusColor as Cs, getQueryStatusColorByLabel as Ss, displayValue as wn, For as ks, convertRemToPixels as zr, untrack as zt, useTransition as Es, spread as Ds, mergeProps as W, createRoot as Kr, serialize as As, Index as Ms, updateNestedDataByPath as ir, addEventListener as Ts, stringify as Fs, Match as zn, Switch as Is, deleteNestedDataByPath as Os, createUniqueId as Ne, splitProps as re, Dynamic as Ls, createComputed as Ps, getPreferredColorScheme as _s } from "./index.
|
4
|
+
import { createContext as we, createSignal as z, onMount as At, createEffect as U, createMemo as D, createComponent as v, Portal as Po, Show as B, template as _, insert as k, createRenderEffect as G, className as F, clearDelegatedEvents as ws, delegateEvents as or, useContext as xe, onCleanup as H, sortFns as Gn, mutationSortFns as Hn, on as ut, setAttribute as M, getSidedProp as xs, use as An, batch as $s, getQueryStatusLabel as Pt, getMutationStatusColor as Rt, getQueryStatusColor as Cs, getQueryStatusColorByLabel as Ss, displayValue as wn, For as ks, convertRemToPixels as zr, untrack as zt, useTransition as Es, spread as Ds, mergeProps as W, createRoot as Kr, serialize as As, Index as Ms, updateNestedDataByPath as ir, addEventListener as Ts, stringify as Fs, Match as zn, Switch as Is, deleteNestedDataByPath as Os, createUniqueId as Ne, splitProps as re, Dynamic as Ls, createComputed as Ps, getPreferredColorScheme as _s } from "./index.BfAu8rnr.js";
|
5
5
|
var qs = (e) => e != null, Rs = (e) => e.filter(qs);
|
6
6
|
function zs(e) {
|
7
7
|
return (...t) => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
2
|
-
import { b as m, ButtonScroll as n } from "./App.
|
2
|
+
import { b as m, ButtonScroll as n } from "./App.tf0AbTjD.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.D8ghuP2y.js";
|
5
5
|
const v = ({ 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({
|
@@ -2,9 +2,9 @@ var dn = (e) => {
|
|
2
2
|
throw TypeError(e);
|
3
3
|
};
|
4
4
|
var pa = (e, t, r) => t.has(e) || dn("Cannot " + r);
|
5
|
-
var P = (e, t, r) => (pa(e, t, "read from private field"), r ? r.call(e) : t.get(e)), ve = (e, t, r) => t.has(e) ? dn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), le = (e, t, r, a) => (pa(e, t, "write to private field"), a ? a.call(e, r) : t.set(e, r), r),
|
6
|
-
import { jsx as c, jsxs as A, Fragment as
|
7
|
-
import { Subscribable as $l, pendingThenable as un, resolveEnabled as Ke, shallowEqualObjects as Da, resolveStaleTime as nr, noop as Ma, isServer as Ba, isValidTimeout as fn, focusManager as Ol, fetchState as Ll, replaceData as hn, notifyManager as xs, timeUntilStale as Pl, shouldThrowError as Dl, useQueryClient as Ml, I as oe, ACTION_SORT as Ha, ACTION_SEARCH as Ss, ACTION_RESET_PROMPT as Cs, ACTION_TOGGLE_PROMPT as Is, le as Ie, DEFAULT_ICON_ACTION_SIZE as Xe, n as Oe, isElectron as za, isProbablyiPhone as Ua, L as gr, j as Ye, C as xt, LOCAL_STORAGE_PREFIX as Ct, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Bl, LOCAL_STORAGE_REASONING_DISCLOSURE as Hl, TOAST_CHAT_SAVED as zl, toastOptions as jr, TOAST_PROVIDER_CHANGED as Ns, PROMPT_CLASSNAME as Ul, PROMPT_EDITABLE_AREA_CLASSNAME as Vl, ERROR_MESSAGE as Fl, ROLE_INTERNAL as Va, CLIPBOARD_PROMPT as mn, isProbablyMobile as Ue, INPUT_PLACEHOLDER_TEXT_MOBILE as pn, INPUT_PLACEHOLDER_TEXT_ENTER as gn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as yn, FOOTER_DISCLAIMER as Wl, S as Pe, renderDataAsList as Kr, CARDS as se, pluralize as sr, ABOUT_TITLE as Gl, INFINITE_SCROLL_LIMIT as bn, INFINITE_SCROLL_THRESHOLD as vn, LOCAL_STORAGE_SORT as As, APP_CLASSNAME as Rs, TOAST_CHAT_DELETED as jl, LOCAL_STORAGE_SEARCH as $s, HISTORY_TITLE as Kl, fe as Jl, debounce as ql, l as wn, PROFILE_TITLE as Yl, LOCAL_STORAGE_CHAT_DETAILS as Ql, SETTINGS_TITLE as Xl, APP_NAME as Zl, PROMPTS_DESCRIPTION as ec, getCurrentGeoLocation as tc, USAGE_TITLE as rc, LOG_OUT as _n, getMessageContaintWrapperClass as ac, UI_FOOTER_BUFFER as Os, UI_BUTTON_SCROLL_BUFFER as oc, Logo as nc, UI_DEFAULT_MAIN_HEIGHT as kn, getMainPaddingClass as En, r as sc } from "./index.
|
5
|
+
var P = (e, t, r) => (pa(e, t, "read from private field"), r ? r.call(e) : t.get(e)), ve = (e, t, r) => t.has(e) ? dn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), le = (e, t, r, a) => (pa(e, t, "write to private field"), a ? a.call(e, r) : t.set(e, r), r), ue = (e, t, r) => (pa(e, t, "access private method"), r);
|
6
|
+
import { jsx as c, jsxs as A, Fragment as ye } from "react/jsx-runtime";
|
7
|
+
import { Subscribable as $l, pendingThenable as un, resolveEnabled as Ke, shallowEqualObjects as Da, resolveStaleTime as nr, noop as Ma, isServer as Ba, isValidTimeout as fn, focusManager as Ol, fetchState as Ll, replaceData as hn, notifyManager as xs, timeUntilStale as Pl, shouldThrowError as Dl, useQueryClient as Ml, I as oe, ACTION_SORT as Ha, ACTION_SEARCH as Ss, ACTION_RESET_PROMPT as Cs, ACTION_TOGGLE_PROMPT as Is, le as Ie, DEFAULT_ICON_ACTION_SIZE as Xe, n as Oe, isElectron as za, isProbablyiPhone as Ua, L as gr, j as Ye, C as xt, LOCAL_STORAGE_PREFIX as Ct, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Bl, LOCAL_STORAGE_REASONING_DISCLOSURE as Hl, TOAST_CHAT_SAVED as zl, toastOptions as jr, TOAST_PROVIDER_CHANGED as Ns, PROMPT_CLASSNAME as Ul, PROMPT_EDITABLE_AREA_CLASSNAME as Vl, ERROR_MESSAGE as Fl, ROLE_INTERNAL as Va, CLIPBOARD_PROMPT as mn, isProbablyMobile as Ue, INPUT_PLACEHOLDER_TEXT_MOBILE as pn, INPUT_PLACEHOLDER_TEXT_ENTER as gn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as yn, FOOTER_DISCLAIMER as Wl, S as Pe, renderDataAsList as Kr, CARDS as se, pluralize as sr, ABOUT_TITLE as Gl, INFINITE_SCROLL_LIMIT as bn, INFINITE_SCROLL_THRESHOLD as vn, LOCAL_STORAGE_SORT as As, APP_CLASSNAME as Rs, TOAST_CHAT_DELETED as jl, LOCAL_STORAGE_SEARCH as $s, HISTORY_TITLE as Kl, fe as Jl, debounce as ql, l as wn, PROFILE_TITLE as Yl, LOCAL_STORAGE_CHAT_DETAILS as Ql, SETTINGS_TITLE as Xl, APP_NAME as Zl, PROMPTS_DESCRIPTION as ec, getCurrentGeoLocation as tc, USAGE_TITLE as rc, LOG_OUT as _n, getMessageContaintWrapperClass as ac, UI_FOOTER_BUFFER as Os, UI_BUTTON_SCROLL_BUFFER as oc, Logo as nc, UI_DEFAULT_MAIN_HEIGHT as kn, getMainPaddingClass as En, r as sc } from "./index.BfAu8rnr.js";
|
8
8
|
import * as ae from "react";
|
9
9
|
import W, { useEffect as B, useRef as O, useState as U, useCallback as Q, useSyncExternalStore as Ls, useMemo as Le, useId as ra, useContext as re, useLayoutEffect as _e, isValidElement as aa, cloneElement as Co, createContext as Ps, useDebugValue as ic, forwardRef as Ds, Suspense as Io, lazy as No, Fragment as lc, useReducer as rr } from "react";
|
10
10
|
import b from "clsx";
|
@@ -38,7 +38,7 @@ var Ce, X, mr, Ee, kt, zt, lt, ct, pr, Ut, Vt, Et, Tt, dt, Ft, te, ar, Fa, Wa, G
|
|
38
38
|
this.refetch = this.refetch.bind(this);
|
39
39
|
}
|
40
40
|
onSubscribe() {
|
41
|
-
this.listeners.size === 1 && (P(this, X).addObserver(this), Tn(P(this, X), this.options) ?
|
41
|
+
this.listeners.size === 1 && (P(this, X).addObserver(this), Tn(P(this, X), this.options) ? ue(this, te, ar).call(this) : this.updateResult(), ue(this, te, ja).call(this));
|
42
42
|
}
|
43
43
|
onUnsubscribe() {
|
44
44
|
this.hasListeners() || this.destroy();
|
@@ -58,7 +58,7 @@ var Ce, X, mr, Ee, kt, zt, lt, ct, pr, Ut, Vt, Et, Tt, dt, Ft, te, ar, Fa, Wa, G
|
|
58
58
|
);
|
59
59
|
}
|
60
60
|
destroy() {
|
61
|
-
this.listeners = /* @__PURE__ */ new Set(),
|
61
|
+
this.listeners = /* @__PURE__ */ new Set(), ue(this, te, Ka).call(this), ue(this, te, Ja).call(this), P(this, X).removeObserver(this);
|
62
62
|
}
|
63
63
|
setOptions(t) {
|
64
64
|
const r = this.options, a = P(this, X);
|
@@ -66,7 +66,7 @@ var Ce, X, mr, Ee, kt, zt, lt, ct, pr, Ut, Vt, Et, Tt, dt, Ft, te, ar, Fa, Wa, G
|
|
66
66
|
throw new Error(
|
67
67
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
68
68
|
);
|
69
|
-
|
69
|
+
ue(this, te, qa).call(this), P(this, X).setOptions(this.options), r._defaulted && !Da(this.options, r) && P(this, Ce).getQueryCache().notify({
|
70
70
|
type: "observerOptionsUpdated",
|
71
71
|
query: P(this, X),
|
72
72
|
observer: this
|
@@ -77,9 +77,9 @@ var Ce, X, mr, Ee, kt, zt, lt, ct, pr, Ut, Vt, Et, Tt, dt, Ft, te, ar, Fa, Wa, G
|
|
77
77
|
a,
|
78
78
|
this.options,
|
79
79
|
r
|
80
|
-
) &&
|
81
|
-
const n =
|
82
|
-
o && (P(this, X) !== a || Ke(this.options.enabled, P(this, X)) !== Ke(r.enabled, P(this, X)) || n !== P(this, dt)) &&
|
80
|
+
) && ue(this, te, ar).call(this), this.updateResult(), o && (P(this, X) !== a || Ke(this.options.enabled, P(this, X)) !== Ke(r.enabled, P(this, X)) || nr(this.options.staleTime, P(this, X)) !== nr(r.staleTime, P(this, X))) && ue(this, te, Fa).call(this);
|
81
|
+
const n = ue(this, te, Wa).call(this);
|
82
|
+
o && (P(this, X) !== a || Ke(this.options.enabled, P(this, X)) !== Ke(r.enabled, P(this, X)) || n !== P(this, dt)) && ue(this, te, Ga).call(this, n);
|
83
83
|
}
|
84
84
|
getOptimisticResult(t) {
|
85
85
|
const r = P(this, Ce).getQueryCache().build(P(this, Ce), t), a = this.createResult(r, t);
|
@@ -109,7 +109,7 @@ var Ce, X, mr, Ee, kt, zt, lt, ct, pr, Ut, Vt, Et, Tt, dt, Ft, te, ar, Fa, Wa, G
|
|
109
109
|
return a.fetch().then(() => this.createResult(a, r));
|
110
110
|
}
|
111
111
|
fetch(t) {
|
112
|
-
return
|
112
|
+
return ue(this, te, ar).call(this, {
|
113
113
|
...t,
|
114
114
|
cancelRefetch: t.cancelRefetch ?? !0
|
115
115
|
}).then(() => (this.updateResult(), P(this, Ee)));
|
@@ -216,20 +216,20 @@ var Ce, X, mr, Ee, kt, zt, lt, ct, pr, Ut, Vt, Et, Tt, dt, Ft, te, ar, Fa, Wa, G
|
|
216
216
|
return P(this, Ee)[l] !== t[l] && s.has(l);
|
217
217
|
});
|
218
218
|
};
|
219
|
-
|
219
|
+
ue(this, te, js).call(this, { listeners: a() });
|
220
220
|
}
|
221
221
|
onQueryUpdate() {
|
222
|
-
this.updateResult(), this.hasListeners() &&
|
222
|
+
this.updateResult(), this.hasListeners() && ue(this, te, ja).call(this);
|
223
223
|
}
|
224
224
|
}, Ce = new WeakMap(), X = new WeakMap(), mr = new WeakMap(), Ee = new WeakMap(), kt = new WeakMap(), zt = new WeakMap(), lt = new WeakMap(), ct = new WeakMap(), pr = new WeakMap(), Ut = new WeakMap(), Vt = new WeakMap(), Et = new WeakMap(), Tt = new WeakMap(), dt = new WeakMap(), Ft = new WeakMap(), te = new WeakSet(), ar = function(t) {
|
225
|
-
|
225
|
+
ue(this, te, qa).call(this);
|
226
226
|
let r = P(this, X).fetch(
|
227
227
|
this.options,
|
228
228
|
t
|
229
229
|
);
|
230
230
|
return t != null && t.throwOnError || (r = r.catch(Ma)), r;
|
231
231
|
}, Fa = function() {
|
232
|
-
|
232
|
+
ue(this, te, Ka).call(this);
|
233
233
|
const t = nr(
|
234
234
|
this.options.staleTime,
|
235
235
|
P(this, X)
|
@@ -243,11 +243,11 @@ var Ce, X, mr, Ee, kt, zt, lt, ct, pr, Ut, Vt, Et, Tt, dt, Ft, te, ar, Fa, Wa, G
|
|
243
243
|
}, Wa = function() {
|
244
244
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(P(this, X)) : this.options.refetchInterval) ?? !1;
|
245
245
|
}, Ga = function(t) {
|
246
|
-
|
247
|
-
(this.options.refetchIntervalInBackground || Ol.isFocused()) &&
|
246
|
+
ue(this, te, Ja).call(this), le(this, dt, t), !(Ba || Ke(this.options.enabled, P(this, X)) === !1 || !fn(P(this, dt)) || P(this, dt) === 0) && le(this, Tt, setInterval(() => {
|
247
|
+
(this.options.refetchIntervalInBackground || Ol.isFocused()) && ue(this, te, ar).call(this);
|
248
248
|
}, P(this, dt)));
|
249
249
|
}, ja = function() {
|
250
|
-
|
250
|
+
ue(this, te, Fa).call(this), ue(this, te, Ga).call(this, ue(this, te, Wa).call(this));
|
251
251
|
}, Ka = function() {
|
252
252
|
P(this, Et) && (clearTimeout(P(this, Et)), le(this, Et, void 0));
|
253
253
|
}, Ja = function() {
|
@@ -1866,7 +1866,7 @@ const Lo = ({
|
|
1866
1866
|
...l
|
1867
1867
|
}) => {
|
1868
1868
|
const d = b(n, a);
|
1869
|
-
return /* @__PURE__ */ c(
|
1869
|
+
return /* @__PURE__ */ c(ye, { children: /* @__PURE__ */ A(
|
1870
1870
|
"svg",
|
1871
1871
|
{
|
1872
1872
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -4732,8 +4732,8 @@ const Sa = W.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
4732
4732
|
isLoading: !0,
|
4733
4733
|
...Ae
|
4734
4734
|
} : Ae;
|
4735
|
-
}, q = E(), j = $(),
|
4736
|
-
let ie =
|
4735
|
+
}, q = E(), j = $(), he = K(q), be = q === j ? he : K(j);
|
4736
|
+
let ie = he;
|
4737
4737
|
return [
|
4738
4738
|
() => {
|
4739
4739
|
const ne = K(E());
|
@@ -4753,12 +4753,12 @@ const Sa = W.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
4753
4753
|
a,
|
4754
4754
|
v
|
4755
4755
|
]
|
4756
|
-
), R[0], R[1]), G = !_.current, z = h[v] && h[v].length > 0,
|
4756
|
+
), R[0], R[1]), G = !_.current, z = h[v] && h[v].length > 0, me = L.data, Se = Z(me) ? F && Pi(F) ? Sa(F) : F : me, Ge = L.error, et = O(Se), Me = m ? Z(me) ? Z(et.current) ? Se : et.current : me : Se, tt = z && !Z(Ge) ? !1 : G && !Z(i) ? i : T().isPaused() ? !1 : n ? Z(Se) ? !1 : l : Z(Se) || l, pe = !!(v && t && G && tt), Y = Z(L.isValidating) ? pe : L.isValidating, ce = Z(L.isLoading) ? pe : L.isLoading, fe = Q(
|
4757
4757
|
async (H) => {
|
4758
4758
|
const K = k.current;
|
4759
4759
|
if (!v || !K || S.current || T().isPaused())
|
4760
4760
|
return !1;
|
4761
|
-
let q, j,
|
4761
|
+
let q, j, he = !0;
|
4762
4762
|
const be = H || {}, ie = !g[v] || !be.dedupe, ne = () => Wn ? !S.current && v === N.current && _.current : v === N.current, Ae = {
|
4763
4763
|
isValidating: !1,
|
4764
4764
|
isLoading: !1
|
@@ -4773,7 +4773,7 @@ const Sa = W.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
4773
4773
|
Z(E().data) && (Sr.isLoading = !0);
|
4774
4774
|
try {
|
4775
4775
|
if (ie && (D(Sr), r.loadingTimeout && Z(E().data) && setTimeout(() => {
|
4776
|
-
|
4776
|
+
he && ne() && T().onLoadingSlow(v, r);
|
4777
4777
|
}, r.loadingTimeout), g[v] = [
|
4778
4778
|
K(w),
|
4779
4779
|
go()
|
@@ -4799,7 +4799,7 @@ const Sa = W.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
4799
4799
|
dedupe: !0
|
4800
4800
|
})));
|
4801
4801
|
}
|
4802
|
-
return
|
4802
|
+
return he = !1, Tr(), !0;
|
4803
4803
|
},
|
4804
4804
|
// `setState` is immutable, and `eventsCallback`, `fnArg`, and
|
4805
4805
|
// `keyValidating` are depending on `key`, so we can exclude them from
|
@@ -4823,22 +4823,22 @@ const Sa = W.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
4823
4823
|
[]
|
4824
4824
|
);
|
4825
4825
|
if (Ea(() => {
|
4826
|
-
k.current = t, C.current = r, Z(
|
4826
|
+
k.current = t, C.current = r, Z(me) || (et.current = me);
|
4827
4827
|
}), Ea(() => {
|
4828
4828
|
if (!v) return;
|
4829
|
-
const H =
|
4829
|
+
const H = fe.bind(Te, Ca);
|
4830
4830
|
let K = 0;
|
4831
|
-
const j = uh(v, h, (
|
4832
|
-
if (
|
4831
|
+
const j = uh(v, h, (he, be = {}) => {
|
4832
|
+
if (he == $i) {
|
4833
4833
|
const ie = Date.now();
|
4834
4834
|
T().revalidateOnFocus && ie > K && I() && (K = ie + T().focusThrottleInterval, H());
|
4835
|
-
} else if (
|
4835
|
+
} else if (he == Oi)
|
4836
4836
|
T().revalidateOnReconnect && I() && H();
|
4837
4837
|
else {
|
4838
|
-
if (
|
4839
|
-
return
|
4840
|
-
if (
|
4841
|
-
return
|
4838
|
+
if (he == Li)
|
4839
|
+
return fe();
|
4840
|
+
if (he == Vn)
|
4841
|
+
return fe(be);
|
4842
4842
|
}
|
4843
4843
|
});
|
4844
4844
|
return S.current = !1, N.current = v, _.current = !0, D({
|
@@ -4855,7 +4855,7 @@ const Sa = W.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
4855
4855
|
j && H !== -1 && (H = setTimeout(q, j));
|
4856
4856
|
}
|
4857
4857
|
function q() {
|
4858
|
-
!E().error && (f || T().isVisible()) && (u || T().isOnline()) ?
|
4858
|
+
!E().error && (f || T().isVisible()) && (u || T().isOnline()) ? fe(Ca).then(K) : K();
|
4859
4859
|
}
|
4860
4860
|
return K(), () => {
|
4861
4861
|
H && (clearTimeout(H), H = -1);
|
@@ -4875,7 +4875,7 @@ const Sa = W.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
4875
4875
|
Sa(K);
|
4876
4876
|
}
|
4877
4877
|
if (Z(Ge)) {
|
4878
|
-
const K =
|
4878
|
+
const K = fe(Ca);
|
4879
4879
|
Z(Me) || (K.status = "fulfilled", K.value = !0), Sa(K);
|
4880
4880
|
} else
|
4881
4881
|
throw Ge;
|
@@ -4977,7 +4977,7 @@ function yh({
|
|
4977
4977
|
async (J, H = "generate") => {
|
4978
4978
|
var K, q;
|
4979
4979
|
F("submitted"), R(void 0);
|
4980
|
-
const j = va(J.messages),
|
4980
|
+
const j = va(J.messages), he = j.length, be = so(
|
4981
4981
|
(K = j[j.length - 1]) == null ? void 0 : K.toolInvocations
|
4982
4982
|
);
|
4983
4983
|
try {
|
@@ -5061,7 +5061,7 @@ function yh({
|
|
5061
5061
|
const ie = E.current;
|
5062
5062
|
Of({
|
5063
5063
|
originalMaxToolInvocationStep: be,
|
5064
|
-
originalMessageCount:
|
5064
|
+
originalMessageCount: he,
|
5065
5065
|
maxSteps: i,
|
5066
5066
|
messages: ie
|
5067
5067
|
}) && await z({ messages: ie });
|
@@ -5090,19 +5090,19 @@ function yh({
|
|
5090
5090
|
w,
|
5091
5091
|
S
|
5092
5092
|
]
|
5093
|
-
),
|
5093
|
+
), me = Q(
|
5094
5094
|
async (J, {
|
5095
5095
|
data: H,
|
5096
5096
|
headers: K,
|
5097
5097
|
body: q,
|
5098
5098
|
experimental_attachments: j = J.experimental_attachments
|
5099
5099
|
} = {}) => {
|
5100
|
-
var
|
5100
|
+
var he, be;
|
5101
5101
|
const ie = await Bn(
|
5102
5102
|
j
|
5103
5103
|
), ne = E.current.concat({
|
5104
5104
|
...J,
|
5105
|
-
id: (
|
5105
|
+
id: (he = J.id) != null ? he : g(),
|
5106
5106
|
createdAt: (be = J.createdAt) != null ? be : /* @__PURE__ */ new Date(),
|
5107
5107
|
experimental_attachments: ie.length > 0 ? ie : void 0,
|
5108
5108
|
parts: Ai(J)
|
@@ -5141,10 +5141,10 @@ function yh({
|
|
5141
5141
|
typeof J == "function" && (J = J($.current)), x(J, !1), $.current = J;
|
5142
5142
|
},
|
5143
5143
|
[x]
|
5144
|
-
), [
|
5144
|
+
), [pe, Y] = U(a), ce = Q(
|
5145
5145
|
async (J, H = {}, K) => {
|
5146
5146
|
var q;
|
5147
|
-
if ((q = J == null ? void 0 : J.preventDefault) == null || q.call(J), !
|
5147
|
+
if ((q = J == null ? void 0 : J.preventDefault) == null || q.call(J), !pe && !H.allowEmptySubmit)
|
5148
5148
|
return;
|
5149
5149
|
K && (G.current = {
|
5150
5150
|
...G.current,
|
@@ -5157,9 +5157,9 @@ function yh({
|
|
5157
5157
|
id: g(),
|
5158
5158
|
createdAt: /* @__PURE__ */ new Date(),
|
5159
5159
|
role: "user",
|
5160
|
-
content:
|
5160
|
+
content: pe,
|
5161
5161
|
experimental_attachments: j.length > 0 ? j : void 0,
|
5162
|
-
parts: [{ type: "text", text:
|
5162
|
+
parts: [{ type: "text", text: pe }]
|
5163
5163
|
}),
|
5164
5164
|
headers: H.headers,
|
5165
5165
|
body: H.body,
|
@@ -5167,8 +5167,8 @@ function yh({
|
|
5167
5167
|
};
|
5168
5168
|
z(be), Y("");
|
5169
5169
|
},
|
5170
|
-
[
|
5171
|
-
),
|
5170
|
+
[pe, g, z]
|
5171
|
+
), fe = (J) => {
|
5172
5172
|
Y(J.target.value);
|
5173
5173
|
}, je = Q(
|
5174
5174
|
({ toolCallId: J, result: H }) => {
|
@@ -5197,13 +5197,13 @@ function yh({
|
|
5197
5197
|
data: D,
|
5198
5198
|
setData: tt,
|
5199
5199
|
error: V,
|
5200
|
-
append:
|
5200
|
+
append: me,
|
5201
5201
|
reload: Se,
|
5202
5202
|
stop: Ge,
|
5203
5203
|
experimental_resume: et,
|
5204
|
-
input:
|
5204
|
+
input: pe,
|
5205
5205
|
setInput: Y,
|
5206
|
-
handleInputChange:
|
5206
|
+
handleInputChange: fe,
|
5207
5207
|
handleSubmit: ce,
|
5208
5208
|
isLoading: M === "submitted" || M === "streaming",
|
5209
5209
|
status: M,
|
@@ -5425,12 +5425,12 @@ let ft = class extends bt {
|
|
5425
5425
|
}
|
5426
5426
|
};
|
5427
5427
|
de(ft, "code", "ERR_JOSE_NOT_SUPPORTED");
|
5428
|
-
class
|
5428
|
+
class ge extends bt {
|
5429
5429
|
constructor() {
|
5430
5430
|
super(...arguments), de(this, "code", "ERR_JWS_INVALID");
|
5431
5431
|
}
|
5432
5432
|
}
|
5433
|
-
de(
|
5433
|
+
de(ge, "code", "ERR_JWS_INVALID");
|
5434
5434
|
let jo = class extends bt {
|
5435
5435
|
constructor() {
|
5436
5436
|
super(...arguments), de(this, "code", "ERR_JWT_INVALID");
|
@@ -6010,45 +6010,45 @@ const Yn = async (e, t, r, a = !1) => {
|
|
6010
6010
|
};
|
6011
6011
|
async function dm(e, t, r) {
|
6012
6012
|
if (!Xr(e))
|
6013
|
-
throw new
|
6013
|
+
throw new ge("Flattened JWS must be an object");
|
6014
6014
|
if (e.protected === void 0 && e.header === void 0)
|
6015
|
-
throw new
|
6015
|
+
throw new ge('Flattened JWS must have either of the "protected" or "header" members');
|
6016
6016
|
if (e.protected !== void 0 && typeof e.protected != "string")
|
6017
|
-
throw new
|
6017
|
+
throw new ge("JWS Protected Header incorrect type");
|
6018
6018
|
if (e.payload === void 0)
|
6019
|
-
throw new
|
6019
|
+
throw new ge("JWS Payload missing");
|
6020
6020
|
if (typeof e.signature != "string")
|
6021
|
-
throw new
|
6021
|
+
throw new ge("JWS Signature missing or incorrect type");
|
6022
6022
|
if (e.header !== void 0 && !Xr(e.header))
|
6023
|
-
throw new
|
6023
|
+
throw new ge("JWS Unprotected Header incorrect type");
|
6024
6024
|
let a = {};
|
6025
6025
|
if (e.protected)
|
6026
6026
|
try {
|
6027
6027
|
const g = Vr(e.protected);
|
6028
6028
|
a = JSON.parse(ur.decode(g));
|
6029
6029
|
} catch {
|
6030
|
-
throw new
|
6030
|
+
throw new ge("JWS Protected Header is invalid");
|
6031
6031
|
}
|
6032
6032
|
if (!Vh(a, e.header))
|
6033
|
-
throw new
|
6033
|
+
throw new ge("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
|
6034
6034
|
const o = {
|
6035
6035
|
...a,
|
6036
6036
|
...e.header
|
6037
|
-
}, n = Qh(
|
6037
|
+
}, n = Qh(ge, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, a, o);
|
6038
6038
|
let s = !0;
|
6039
6039
|
if (n.has("b64") && (s = a.b64, typeof s != "boolean"))
|
6040
|
-
throw new
|
6040
|
+
throw new ge('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
|
6041
6041
|
const { alg: i } = o;
|
6042
6042
|
if (typeof i != "string" || !i)
|
6043
|
-
throw new
|
6043
|
+
throw new ge('JWS "alg" (Algorithm) Header Parameter missing or invalid');
|
6044
6044
|
const l = r && Xh("algorithms", r.algorithms);
|
6045
6045
|
if (l && !l.has(i))
|
6046
6046
|
throw new Vi('"alg" (Algorithm) Header Parameter value not allowed');
|
6047
6047
|
if (s) {
|
6048
6048
|
if (typeof e.payload != "string")
|
6049
|
-
throw new
|
6049
|
+
throw new ge("JWS Payload must be a string");
|
6050
6050
|
} else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
|
6051
|
-
throw new
|
6051
|
+
throw new ge("JWS Payload must be a string or an Uint8Array instance");
|
6052
6052
|
let d = !1;
|
6053
6053
|
typeof t == "function" && (t = await t(a, e), d = !0), sm(i, t, "verify");
|
6054
6054
|
const f = Dh($r.encode(e.protected ?? ""), $r.encode("."), typeof e.payload == "string" ? $r.encode(e.payload) : e.payload);
|
@@ -6056,7 +6056,7 @@ async function dm(e, t, r) {
|
|
6056
6056
|
try {
|
6057
6057
|
u = Vr(e.signature);
|
6058
6058
|
} catch {
|
6059
|
-
throw new
|
6059
|
+
throw new ge("Failed to base64url decode the signature");
|
6060
6060
|
}
|
6061
6061
|
const m = await am(t, i);
|
6062
6062
|
if (!await cm(i, m, u, f))
|
@@ -6066,7 +6066,7 @@ async function dm(e, t, r) {
|
|
6066
6066
|
try {
|
6067
6067
|
h = Vr(e.payload);
|
6068
6068
|
} catch {
|
6069
|
-
throw new
|
6069
|
+
throw new ge("Failed to base64url decode the payload");
|
6070
6070
|
}
|
6071
6071
|
else typeof e.payload == "string" ? h = $r.encode(e.payload) : h = e.payload;
|
6072
6072
|
const p = { payload: h };
|
@@ -6074,10 +6074,10 @@ async function dm(e, t, r) {
|
|
6074
6074
|
}
|
6075
6075
|
async function um(e, t, r) {
|
6076
6076
|
if (e instanceof Uint8Array && (e = ur.decode(e)), typeof e != "string")
|
6077
|
-
throw new
|
6077
|
+
throw new ge("Compact JWS must be a string or Uint8Array");
|
6078
6078
|
const { 0: a, 1: o, 2: n, length: s } = e.split(".");
|
6079
6079
|
if (s !== 3)
|
6080
|
-
throw new
|
6080
|
+
throw new ge("Invalid Compact JWS");
|
6081
6081
|
const i = await dm({ payload: o, protected: a, signature: n }, t, r), l = { payload: i.payload, protectedHeader: i.protectedHeader };
|
6082
6082
|
return typeof t == "function" ? { ...l, key: i.key } : l;
|
6083
6083
|
}
|
@@ -6576,7 +6576,7 @@ const Rm = (e) => ({
|
|
6576
6576
|
z === "y";
|
6577
6577
|
}
|
6578
6578
|
return !0;
|
6579
|
-
}).map((G) => [G.placement, G.overflows.filter((z) => z > 0).reduce((z,
|
6579
|
+
}).map((G) => [G.placement, G.overflows.filter((z) => z > 0).reduce((z, me) => z + me, 0)]).sort((G, z) => G[1] - z[1])[0]) == null ? void 0 : M[0];
|
6580
6580
|
L && (R = L);
|
6581
6581
|
break;
|
6582
6582
|
}
|
@@ -7925,7 +7925,7 @@ const Op = ({
|
|
7925
7925
|
...l
|
7926
7926
|
}) => {
|
7927
7927
|
const d = b(n, a);
|
7928
|
-
return /* @__PURE__ */ c(
|
7928
|
+
return /* @__PURE__ */ c(ye, { children: /* @__PURE__ */ A(
|
7929
7929
|
"svg",
|
7930
7930
|
{
|
7931
7931
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -8142,7 +8142,7 @@ const or = "panel", Pr = "messagebox", Up = ({
|
|
8142
8142
|
}, 100);
|
8143
8143
|
return () => clearTimeout(p);
|
8144
8144
|
}
|
8145
|
-
}, [e, l, d]), /* @__PURE__ */ c(
|
8145
|
+
}, [e, l, d]), /* @__PURE__ */ c(ye, { children: e && /* @__PURE__ */ c(Dp, { open: e, onOpenChange: t, children: /* @__PURE__ */ A(Mp, { className: h.main, style: u, children: [
|
8146
8146
|
/* @__PURE__ */ A("div", { className: "flex flex-row-reverse items-center justify-between", children: [
|
8147
8147
|
/* @__PURE__ */ c(
|
8148
8148
|
zp,
|
@@ -8248,7 +8248,7 @@ const yt = ({
|
|
8248
8248
|
}
|
8249
8249
|
});
|
8250
8250
|
};
|
8251
|
-
return /* @__PURE__ */ A(
|
8251
|
+
return /* @__PURE__ */ A(ye, { children: [
|
8252
8252
|
l && /* @__PURE__ */ c(
|
8253
8253
|
yt,
|
8254
8254
|
{
|
@@ -8442,7 +8442,7 @@ const Fp = ({
|
|
8442
8442
|
...l
|
8443
8443
|
}) => {
|
8444
8444
|
const d = b(n, a);
|
8445
|
-
return /* @__PURE__ */ c(
|
8445
|
+
return /* @__PURE__ */ c(ye, { children: /* @__PURE__ */ A(
|
8446
8446
|
"svg",
|
8447
8447
|
{
|
8448
8448
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -8698,7 +8698,7 @@ const jp = (e) => {
|
|
8698
8698
|
}
|
8699
8699
|
});
|
8700
8700
|
};
|
8701
|
-
return /* @__PURE__ */ A(
|
8701
|
+
return /* @__PURE__ */ A(ye, { children: [
|
8702
8702
|
l && /* @__PURE__ */ c(
|
8703
8703
|
yt,
|
8704
8704
|
{
|
@@ -8807,7 +8807,7 @@ const jp = (e) => {
|
|
8807
8807
|
};
|
8808
8808
|
return B(() => {
|
8809
8809
|
s && (i == null ? void 0 : i.length) > 0 ? m(!0) : m(!1);
|
8810
|
-
}, [s, i]), /* @__PURE__ */ A(
|
8810
|
+
}, [s, i]), /* @__PURE__ */ A(ye, { children: [
|
8811
8811
|
h && /* @__PURE__ */ c(
|
8812
8812
|
yt,
|
8813
8813
|
{
|
@@ -9175,7 +9175,7 @@ const jp = (e) => {
|
|
9175
9175
|
}, [L, z]), B(() => {
|
9176
9176
|
(S == null ? void 0 : S.sendOnEnter) !== void 0 && d(S.sendOnEnter);
|
9177
9177
|
}, [S]);
|
9178
|
-
const
|
9178
|
+
const me = Q(() => {
|
9179
9179
|
if (!E.current)
|
9180
9180
|
return;
|
9181
9181
|
E.current.style.height = "auto";
|
@@ -9188,7 +9188,7 @@ const jp = (e) => {
|
|
9188
9188
|
}, []), Se = (Y) => {
|
9189
9189
|
var ce;
|
9190
9190
|
if (Y.preventDefault(), Y.target.files && Y.target.files.length > 0) {
|
9191
|
-
const
|
9191
|
+
const fe = o ? Array.from(o) : [], je = Array.from(Y.target.files), J = [...fe];
|
9192
9192
|
let H = !1;
|
9193
9193
|
for (const q of je) {
|
9194
9194
|
const j = "." + ((ce = q.name.split(".").pop()) == null ? void 0 : ce.toLowerCase());
|
@@ -9224,8 +9224,8 @@ const jp = (e) => {
|
|
9224
9224
|
if (!o)
|
9225
9225
|
return;
|
9226
9226
|
const ce = new DataTransfer();
|
9227
|
-
Array.from(o).forEach((
|
9228
|
-
|
9227
|
+
Array.from(o).forEach((fe) => {
|
9228
|
+
fe !== Y && ce.items.add(fe);
|
9229
9229
|
}), ce.files.length === 0 ? n(null) : n(ce.files), f({
|
9230
9230
|
type: Wt,
|
9231
9231
|
payload: {
|
@@ -9237,12 +9237,12 @@ const jp = (e) => {
|
|
9237
9237
|
}, []), tt = async (Y) => {
|
9238
9238
|
Y.preventDefault(), Mr(E);
|
9239
9239
|
const ce = await t();
|
9240
|
-
let
|
9240
|
+
let fe;
|
9241
9241
|
if (o && o.length > 0) {
|
9242
9242
|
const je = Array.from(o).map(
|
9243
9243
|
(H) => ng(H)
|
9244
9244
|
), J = new DataTransfer();
|
9245
|
-
je.forEach((H) => J.items.add(H)),
|
9245
|
+
je.forEach((H) => J.items.add(H)), fe = J.files;
|
9246
9246
|
}
|
9247
9247
|
V(Y, {
|
9248
9248
|
headers: {
|
@@ -9253,10 +9253,10 @@ const jp = (e) => {
|
|
9253
9253
|
body: {
|
9254
9254
|
reasoning: u
|
9255
9255
|
},
|
9256
|
-
experimental_attachments:
|
9256
|
+
experimental_attachments: fe
|
9257
9257
|
}), Me();
|
9258
|
-
},
|
9259
|
-
|
9258
|
+
}, pe = (Y) => {
|
9259
|
+
me(), F(Y);
|
9260
9260
|
};
|
9261
9261
|
return Xs([
|
9262
9262
|
[
|
@@ -9268,8 +9268,8 @@ const jp = (e) => {
|
|
9268
9268
|
]), B(() => {
|
9269
9269
|
if (y.prompt !== "") {
|
9270
9270
|
const Y = y.prompt.endsWith(":") && !y.prompt.endsWith(": ") ? y.prompt + " " : y.prompt;
|
9271
|
-
Y.indexOf(mn) !== -1 ? navigator.clipboard.readText().then((
|
9272
|
-
M(Y.replace(mn,
|
9271
|
+
Y.indexOf(mn) !== -1 ? navigator.clipboard.readText().then((fe) => {
|
9272
|
+
M(Y.replace(mn, fe));
|
9273
9273
|
}) : M(Y), !Ua() && E.current && E.current.focus(), v({
|
9274
9274
|
type: Cs
|
9275
9275
|
});
|
@@ -9284,9 +9284,9 @@ const jp = (e) => {
|
|
9284
9284
|
}, ig)) : m === !1 && !$ && (Mr(E), E.current && E.current.focus());
|
9285
9285
|
}, [p, m, $]), B(() => {
|
9286
9286
|
y.lastTriggeredTimestamp && setTimeout(() => {
|
9287
|
-
|
9287
|
+
me();
|
9288
9288
|
}, 100);
|
9289
|
-
}, [y.lastTriggeredTimestamp,
|
9289
|
+
}, [y.lastTriggeredTimestamp, me]), B(() => {
|
9290
9290
|
(async () => {
|
9291
9291
|
if (Ue())
|
9292
9292
|
return;
|
@@ -9295,7 +9295,7 @@ const jp = (e) => {
|
|
9295
9295
|
})();
|
9296
9296
|
}, [t]), B(() => {
|
9297
9297
|
g === 0 && (k.current && (k.current.value = ""), n(null));
|
9298
|
-
}, [g]), /* @__PURE__ */ A(
|
9298
|
+
}, [g]), /* @__PURE__ */ A(ye, { children: [
|
9299
9299
|
/* @__PURE__ */ c(
|
9300
9300
|
yt,
|
9301
9301
|
{
|
@@ -9323,7 +9323,7 @@ const jp = (e) => {
|
|
9323
9323
|
ref: E,
|
9324
9324
|
placeholder: Ue() ? pn : l ? gn : yn,
|
9325
9325
|
translate: "no",
|
9326
|
-
onChange:
|
9326
|
+
onChange: pe,
|
9327
9327
|
value: $,
|
9328
9328
|
onKeyDown: id([
|
9329
9329
|
[l ? "enter" : "mod+Enter", tt]
|
@@ -9357,7 +9357,7 @@ const jp = (e) => {
|
|
9357
9357
|
onClick: Ge
|
9358
9358
|
}
|
9359
9359
|
),
|
9360
|
-
!Ue() && /* @__PURE__ */ A(
|
9360
|
+
!Ue() && /* @__PURE__ */ A(ye, { children: [
|
9361
9361
|
r && /* @__PURE__ */ c(gl, { className: "order-4 mr-4 sm:mr-2" }),
|
9362
9362
|
/* @__PURE__ */ c(hl, { className: "order-5 mr-4 sm:mr-2" }),
|
9363
9363
|
/* @__PURE__ */ c(yl, { className: "order-6" })
|
@@ -9449,19 +9449,19 @@ const jp = (e) => {
|
|
9449
9449
|
}, gg = No(
|
9450
9450
|
() => import(
|
9451
9451
|
/* webpackChunkName: "LazyAboutChangelog" */
|
9452
|
-
"./AboutChangelog.
|
9452
|
+
"./AboutChangelog.CxuDpkQZ.js"
|
9453
9453
|
)
|
9454
9454
|
), yg = () => {
|
9455
9455
|
const e = lr(), t = lr(), { data: r, isSuccess: a } = Pu(), { data: o, isSuccess: n } = Du(), s = (r == null ? void 0 : r.version) || "", i = (r == null ? void 0 : r.models) || [];
|
9456
|
-
return /* @__PURE__ */ A(
|
9456
|
+
return /* @__PURE__ */ A(ye, { children: [
|
9457
9457
|
/* @__PURE__ */ c(
|
9458
9458
|
Pe,
|
9459
9459
|
{
|
9460
9460
|
header: se.ABOUT.TITLE_CLIENT,
|
9461
9461
|
className: "prose-dark dark:prose-lighter mb-4",
|
9462
9462
|
children: Kr(e, {
|
9463
|
-
[se.ABOUT.VERSION]: "8.23.
|
9464
|
-
[se.ABOUT.BUILD_TIMESTAMP]: "06/
|
9463
|
+
[se.ABOUT.VERSION]: "8.23.4",
|
9464
|
+
[se.ABOUT.BUILD_TIMESTAMP]: "06/17/2025 02:17 PM EDT"
|
9465
9465
|
})
|
9466
9466
|
}
|
9467
9467
|
),
|
@@ -9472,7 +9472,7 @@ const jp = (e) => {
|
|
9472
9472
|
className: "prose-dark dark:prose-lighter mb-4",
|
9473
9473
|
children: Kr(t, {
|
9474
9474
|
[se.ABOUT.VERSION]: s,
|
9475
|
-
[sr(se.ABOUT.PROVIDER, i.length)]: /* @__PURE__ */ c(
|
9475
|
+
[sr(se.ABOUT.PROVIDER, i.length)]: /* @__PURE__ */ c(ye, { children: i.map((l) => /* @__PURE__ */ c("div", { className: "text-right", children: l }, l)) })
|
9476
9476
|
})
|
9477
9477
|
}
|
9478
9478
|
) : null,
|
@@ -9604,7 +9604,7 @@ const jp = (e) => {
|
|
9604
9604
|
rootMargin: "20px"
|
9605
9605
|
}, E = new IntersectionObserver(C, I);
|
9606
9606
|
s.current && E.observe(s.current);
|
9607
|
-
}), /* @__PURE__ */ A(
|
9607
|
+
}), /* @__PURE__ */ A(ye, { children: [
|
9608
9608
|
/* @__PURE__ */ A(
|
9609
9609
|
yt,
|
9610
9610
|
{
|
@@ -9794,14 +9794,14 @@ const jp = (e) => {
|
|
9794
9794
|
}, 500), v = async (w) => {
|
9795
9795
|
w.preventDefault();
|
9796
9796
|
};
|
9797
|
-
return /* @__PURE__ */
|
9797
|
+
return /* @__PURE__ */ A(
|
9798
9798
|
er,
|
9799
9799
|
{
|
9800
9800
|
animation: !Ue(),
|
9801
9801
|
open: e,
|
9802
9802
|
onOpenChange: t,
|
9803
9803
|
title: Kl,
|
9804
|
-
children:
|
9804
|
+
children: [
|
9805
9805
|
/* @__PURE__ */ c("form", { autoComplete: "off", onSubmit: v, children: /* @__PURE__ */ c(
|
9806
9806
|
Jl,
|
9807
9807
|
{
|
@@ -9845,12 +9845,12 @@ const jp = (e) => {
|
|
9845
9845
|
onOpenChange: t
|
9846
9846
|
}
|
9847
9847
|
) })
|
9848
|
-
]
|
9848
|
+
]
|
9849
9849
|
}
|
9850
9850
|
);
|
9851
9851
|
}, kg = () => {
|
9852
9852
|
const { isAuthenticated: e, user: t, registeringForPasskey: r, authenticationType: a } = Oe(), o = lr(), n = (t == null ? void 0 : t.username) || "";
|
9853
|
-
return e && n ? /* @__PURE__ */ A(
|
9853
|
+
return e && n ? /* @__PURE__ */ A(ye, { children: [
|
9854
9854
|
/* @__PURE__ */ c(
|
9855
9855
|
Pe,
|
9856
9856
|
{
|
@@ -10271,9 +10271,9 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10271
10271
|
...N
|
10272
10272
|
}, k) => {
|
10273
10273
|
var C;
|
10274
|
-
const T = O(null), I = Ig([k, T]), [E, D] = gs(), [x, $] = gs(), M = O(80), F = O(-25), V = O(null), R = O(30), L = O(null), G = Rg({ id: e, prefix: `${_l}-` }), [z,
|
10274
|
+
const T = O(null), I = Ig([k, T]), [E, D] = gs(), [x, $] = gs(), M = O(80), F = O(-25), V = O(null), R = O(30), L = O(null), G = Rg({ id: e, prefix: `${_l}-` }), [z, me] = U(0), [Se, Ge] = U(0), [et, Me] = U(
|
10275
10275
|
!!(!g && p)
|
10276
|
-
), tt = `${t} error, ${p}`,
|
10276
|
+
), tt = `${t} error, ${p}`, pe = Fg({
|
10277
10277
|
className: n,
|
10278
10278
|
textAreaClassName: s,
|
10279
10279
|
error: a,
|
@@ -10295,7 +10295,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10295
10295
|
}
|
10296
10296
|
});
|
10297
10297
|
}
|
10298
|
-
}),
|
10298
|
+
}), fe = (H) => {
|
10299
10299
|
ce(H.target.value);
|
10300
10300
|
}, je = (H) => {
|
10301
10301
|
g && p && Me(!0), _ && _(H);
|
@@ -10303,7 +10303,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10303
10303
|
g && p && !Y && Me(!1), S && S(H);
|
10304
10304
|
};
|
10305
10305
|
return _e(() => {
|
10306
|
-
D && D.width &&
|
10306
|
+
D && D.width && me(D.width + 18 + 10);
|
10307
10307
|
}, [D]), _e(() => {
|
10308
10308
|
$ && $.width && Ge($.width + 18 + 10);
|
10309
10309
|
}, [$]), _e(() => {
|
@@ -10319,7 +10319,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10319
10319
|
}, [Y, o]), _e(() => {
|
10320
10320
|
var H, K;
|
10321
10321
|
if (!o && T && T.current && Y !== void 0) {
|
10322
|
-
const { labelOffset: q, helperTextOffset: j, scrollHeight:
|
10322
|
+
const { labelOffset: q, helperTextOffset: j, scrollHeight: he } = Wg({
|
10323
10323
|
scrollHeight: T.current.scrollHeight,
|
10324
10324
|
currentHeight: M.current,
|
10325
10325
|
currentLabelOffset: F.current,
|
@@ -10331,18 +10331,18 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10331
10331
|
)), j && (R.current = j, (K = L == null ? void 0 : L.current) == null || K.style.setProperty(
|
10332
10332
|
"--av-text-area-helper-text",
|
10333
10333
|
`${j}px`
|
10334
|
-
)), M.current =
|
10334
|
+
)), M.current = he || M.current;
|
10335
10335
|
}
|
10336
10336
|
}, [Y, o]), $.width > 0 && ((C = V == null ? void 0 : V.current) == null || C.style.setProperty(
|
10337
10337
|
"--tw-translate-x",
|
10338
10338
|
`${12 + $.width + 5}px`
|
10339
|
-
)), /* @__PURE__ */ A("div", { className:
|
10339
|
+
)), /* @__PURE__ */ A("div", { className: pe.wrapper, children: [
|
10340
10340
|
/* @__PURE__ */ c(
|
10341
10341
|
"label",
|
10342
10342
|
{
|
10343
10343
|
htmlFor: G,
|
10344
10344
|
id: h,
|
10345
|
-
className:
|
10345
|
+
className: pe.accessibleLabel,
|
10346
10346
|
children: r
|
10347
10347
|
}
|
10348
10348
|
),
|
@@ -10350,7 +10350,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10350
10350
|
"div",
|
10351
10351
|
{
|
10352
10352
|
ref: x,
|
10353
|
-
className:
|
10353
|
+
className: pe.leftElement,
|
10354
10354
|
children: v
|
10355
10355
|
}
|
10356
10356
|
),
|
@@ -10362,7 +10362,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10362
10362
|
name: t,
|
10363
10363
|
disabled: u,
|
10364
10364
|
placeholder: o ? void 0 : " ",
|
10365
|
-
className:
|
10365
|
+
className: pe.textArea,
|
10366
10366
|
rows: 1,
|
10367
10367
|
...p && { "aria-describedby": `${G}-helper` },
|
10368
10368
|
...a && { "aria-invalid": "true" },
|
@@ -10375,7 +10375,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10375
10375
|
}
|
10376
10376
|
},
|
10377
10377
|
value: Y,
|
10378
|
-
onChange:
|
10378
|
+
onChange: fe,
|
10379
10379
|
onFocus: je,
|
10380
10380
|
onBlur: J,
|
10381
10381
|
...N
|
@@ -10387,7 +10387,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10387
10387
|
ref: V,
|
10388
10388
|
"aria-hidden": !0,
|
10389
10389
|
htmlFor: G,
|
10390
|
-
className: `${
|
10390
|
+
className: `${pe.visibleLabel}`,
|
10391
10391
|
children: r
|
10392
10392
|
}
|
10393
10393
|
),
|
@@ -10396,7 +10396,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10396
10396
|
{
|
10397
10397
|
ref: L,
|
10398
10398
|
id: `${G}-helper`,
|
10399
|
-
className:
|
10399
|
+
className: pe.helperText,
|
10400
10400
|
children: p
|
10401
10401
|
}
|
10402
10402
|
),
|
@@ -10404,7 +10404,7 @@ const Mg = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
10404
10404
|
"div",
|
10405
10405
|
{
|
10406
10406
|
ref: E,
|
10407
|
-
className:
|
10407
|
+
className: pe.rightElement,
|
10408
10408
|
children: y
|
10409
10409
|
}
|
10410
10410
|
),
|
@@ -10601,10 +10601,10 @@ const e1 = ({
|
|
10601
10601
|
}
|
10602
10602
|
}), V = Date.now() - x;
|
10603
10603
|
if (V < 2e3 && await new Promise((R) => setTimeout(R, 2e3 - V)), M.status === 200) {
|
10604
|
-
const { city: R, state: L, country: G, displayName: z } = M.data,
|
10604
|
+
const { city: R, state: L, country: G, displayName: z } = M.data, me = R && L && G ? `${R}, ${L}, ${G}` : z;
|
10605
10605
|
l({
|
10606
10606
|
loadingLocation: !1
|
10607
|
-
}), p(
|
10607
|
+
}), p(me);
|
10608
10608
|
} else
|
10609
10609
|
l({
|
10610
10610
|
loadingLocation: !1
|
@@ -10639,7 +10639,7 @@ const e1 = ({
|
|
10639
10639
|
};
|
10640
10640
|
return B(() => {
|
10641
10641
|
o != null && o.instructions && m(o.instructions), o != null && o.location && p(o.location), o != null && o.tags && f({ prompts: o.tags }), (o == null ? void 0 : o.sendOnEnter) !== void 0 && y(o.sendOnEnter), (o == null ? void 0 : o.useMemory) !== void 0 && w(o.useMemory);
|
10642
|
-
}, [o]), n ? /* @__PURE__ */
|
10642
|
+
}, [o]), n ? /* @__PURE__ */ A(
|
10643
10643
|
er,
|
10644
10644
|
{
|
10645
10645
|
animation: !Ue(),
|
@@ -10678,7 +10678,7 @@ const e1 = ({
|
|
10678
10678
|
]
|
10679
10679
|
}
|
10680
10680
|
),
|
10681
|
-
children:
|
10681
|
+
children: [
|
10682
10682
|
/* @__PURE__ */ A(
|
10683
10683
|
Pe,
|
10684
10684
|
{
|
@@ -10754,40 +10754,33 @@ const e1 = ({
|
|
10754
10754
|
]
|
10755
10755
|
}
|
10756
10756
|
),
|
10757
|
-
/* @__PURE__ */ A(
|
10758
|
-
|
10759
|
-
|
10760
|
-
|
10761
|
-
|
10762
|
-
|
10763
|
-
|
10764
|
-
|
10765
|
-
|
10766
|
-
|
10767
|
-
|
10768
|
-
|
10769
|
-
|
10770
|
-
|
10771
|
-
|
10772
|
-
|
10773
|
-
|
10774
|
-
|
10775
|
-
|
10776
|
-
|
10777
|
-
|
10778
|
-
|
10779
|
-
|
10780
|
-
|
10781
|
-
|
10782
|
-
|
10783
|
-
|
10784
|
-
onClick: I,
|
10785
|
-
children: i.loadingLocation ? "Detecting..." : "Auto-detect"
|
10786
|
-
}
|
10787
|
-
)
|
10788
|
-
]
|
10789
|
-
}
|
10790
|
-
),
|
10757
|
+
/* @__PURE__ */ A(Pe, { header: "Location", className: "prose-dark dark:prose-lighter mt-4", children: [
|
10758
|
+
/* @__PURE__ */ c("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
|
10759
|
+
/* @__PURE__ */ c(
|
10760
|
+
To,
|
10761
|
+
{
|
10762
|
+
mode: "alt-system",
|
10763
|
+
name: "location",
|
10764
|
+
label: "Location",
|
10765
|
+
value: h,
|
10766
|
+
onChange: (x) => {
|
10767
|
+
p(x.target.value);
|
10768
|
+
},
|
10769
|
+
helperText: "Enter your location or press auto-detect."
|
10770
|
+
}
|
10771
|
+
),
|
10772
|
+
/* @__PURE__ */ c(
|
10773
|
+
xt,
|
10774
|
+
{
|
10775
|
+
className: "mt-2",
|
10776
|
+
size: "small",
|
10777
|
+
noBorder: !0,
|
10778
|
+
disabled: i.loadingLocation,
|
10779
|
+
onClick: I,
|
10780
|
+
children: i.loadingLocation ? "Detecting..." : "Auto-detect"
|
10781
|
+
}
|
10782
|
+
)
|
10783
|
+
] }),
|
10791
10784
|
/* @__PURE__ */ A(
|
10792
10785
|
Pe,
|
10793
10786
|
{
|
@@ -10862,12 +10855,12 @@ const e1 = ({
|
|
10862
10855
|
]
|
10863
10856
|
}
|
10864
10857
|
)
|
10865
|
-
]
|
10858
|
+
]
|
10866
10859
|
}
|
10867
10860
|
) : null;
|
10868
10861
|
}, wt = [0, 3, 6, 9], t1 = No(() => import(
|
10869
10862
|
/* webpackChunkName: "LazyChart" */
|
10870
|
-
"./Chart.
|
10863
|
+
"./Chart.FRlLERbu.js"
|
10871
10864
|
)), r1 = ({
|
10872
10865
|
open: e,
|
10873
10866
|
onOpenChange: t
|
@@ -10887,14 +10880,14 @@ const e1 = ({
|
|
10887
10880
|
const y = (wt.indexOf(f) - 1 + wt.length) % wt.length;
|
10888
10881
|
u(wt[y]);
|
10889
10882
|
};
|
10890
|
-
return /* @__PURE__ */
|
10883
|
+
return /* @__PURE__ */ A(
|
10891
10884
|
er,
|
10892
10885
|
{
|
10893
10886
|
animation: !Ue(),
|
10894
10887
|
open: e,
|
10895
10888
|
onOpenChange: t,
|
10896
10889
|
title: rc,
|
10897
|
-
children:
|
10890
|
+
children: [
|
10898
10891
|
/* @__PURE__ */ c(
|
10899
10892
|
Pe,
|
10900
10893
|
{
|
@@ -10950,7 +10943,7 @@ const e1 = ({
|
|
10950
10943
|
] }) : null
|
10951
10944
|
}
|
10952
10945
|
)
|
10953
|
-
]
|
10946
|
+
]
|
10954
10947
|
}
|
10955
10948
|
);
|
10956
10949
|
}, a1 = ({
|
@@ -10976,7 +10969,7 @@ const e1 = ({
|
|
10976
10969
|
const C = await r(), T = await Qi(C, [Ui.REASONING]);
|
10977
10970
|
p(T);
|
10978
10971
|
})();
|
10979
|
-
}, [r]), /* @__PURE__ */ A(
|
10972
|
+
}, [r]), /* @__PURE__ */ A(ye, { children: [
|
10980
10973
|
/* @__PURE__ */ c(
|
10981
10974
|
yt,
|
10982
10975
|
{
|
@@ -11005,7 +10998,7 @@ const e1 = ({
|
|
11005
10998
|
columnGap: 0,
|
11006
10999
|
children: [
|
11007
11000
|
/* @__PURE__ */ c(Ye, { children: /* @__PURE__ */ c(Yp, { className: " mr-4 sm:mr-2" }) }),
|
11008
|
-
/* @__PURE__ */ c(Ye, { children: Ue() && /* @__PURE__ */ A(
|
11001
|
+
/* @__PURE__ */ c(Ye, { children: Ue() && /* @__PURE__ */ A(ye, { children: [
|
11009
11002
|
h && /* @__PURE__ */ c(gl, { className: "mr-4 sm:mr-2" }),
|
11010
11003
|
/* @__PURE__ */ c(hl, { className: "mr-4 sm:mr-2" }),
|
11011
11004
|
/* @__PURE__ */ c(yl, {})
|
@@ -11064,7 +11057,7 @@ const e1 = ({
|
|
11064
11057
|
icon: /* @__PURE__ */ c(Wc, {})
|
11065
11058
|
}
|
11066
11059
|
),
|
11067
|
-
!e && /* @__PURE__ */ A(
|
11060
|
+
!e && /* @__PURE__ */ A(ye, { children: [
|
11068
11061
|
/* @__PURE__ */ c(Gp, {}),
|
11069
11062
|
/* @__PURE__ */ c(
|
11070
11063
|
ot,
|
@@ -11620,7 +11613,7 @@ const Sl = ({
|
|
11620
11613
|
...l
|
11621
11614
|
}) => {
|
11622
11615
|
const d = b(n, a);
|
11623
|
-
return /* @__PURE__ */ c(
|
11616
|
+
return /* @__PURE__ */ c(ye, { children: /* @__PURE__ */ A(
|
11624
11617
|
"svg",
|
11625
11618
|
{
|
11626
11619
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -12531,7 +12524,7 @@ const ty = ({ content: e }) => /* @__PURE__ */ c(
|
|
12531
12524
|
), Es = 2, ry = No(
|
12532
12525
|
() => import(
|
12533
12526
|
/* webpackChunkName: "LazyMessageAssistant" */
|
12534
|
-
"./ChatBubbleAssistant.
|
12527
|
+
"./ChatBubbleAssistant.CCAKOJEK.js"
|
12535
12528
|
)
|
12536
12529
|
), ay = W.memo(
|
12537
12530
|
({
|
@@ -12602,7 +12595,7 @@ const ty = ({ content: e }) => /* @__PURE__ */ c(
|
|
12602
12595
|
l && u();
|
12603
12596
|
}, [l, u]), B(() => {
|
12604
12597
|
d.current = n === ir ? s + i + Os + oc : 0;
|
12605
|
-
}, [n, s, i]), /* @__PURE__ */ A(
|
12598
|
+
}, [n, s, i]), /* @__PURE__ */ A(ye, { children: [
|
12606
12599
|
/* @__PURE__ */ A("div", { className: f, ref: a, children: [
|
12607
12600
|
/* @__PURE__ */ c(nc, {}),
|
12608
12601
|
/* @__PURE__ */ c(oy, {}),
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as nn, Fragment as Op } from "react/jsx-runtime";
|
2
|
-
import { getDefaultExportFromCjs as pn } from "./App.
|
2
|
+
import { getDefaultExportFromCjs as pn } from "./App.tf0AbTjD.js";
|
3
3
|
import Lp, { useState as Ep, useEffect as Ip } from "react";
|
4
|
-
import { TRIMESTERS as ln, TRIMESTERS_SHORT as Dp, isProbablyMobile as Bp } from "./index.
|
4
|
+
import { TRIMESTERS as ln, TRIMESTERS_SHORT as Dp, isProbablyMobile as Bp } from "./index.BfAu8rnr.js";
|
5
5
|
var ds = { exports: {} }, Np = ds.exports, hn;
|
6
6
|
function zp() {
|
7
7
|
return hn || (hn = 1, function(we, he) {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsx as T } from "react/jsx-runtime";
|
2
|
-
import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.
|
2
|
+
import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.tf0AbTjD.js";
|
3
3
|
import L from "clsx";
|
4
4
|
import k, { useState as E, useRef as g, useEffect as O, useContext as w } from "react";
|
5
|
-
import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.
|
6
|
-
import { useMarkdown as y } from "./useMarkdown.
|
5
|
+
import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.BfAu8rnr.js";
|
6
|
+
import { useMarkdown as y } from "./useMarkdown.D8ghuP2y.js";
|
7
7
|
const D = 2, j = D * 1e3, h = "", q = (e) => e * (2 - e);
|
8
8
|
function V(e, t = !0) {
|
9
9
|
const [i, C] = E(0), [c, p] = E(0), [r, A] = E(e), s = g(0), o = g(0);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, toString as ce, EXIT as _e, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, blankLine as je, factorySpace as S, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./useMarkdown.
|
1
|
+
import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, toString as ce, EXIT as _e, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, blankLine as je, factorySpace as S, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./useMarkdown.D8ghuP2y.js";
|
2
2
|
import { longestStreak as We } from "./index.Cyw5OC0t.js";
|
3
3
|
function ne(e, n) {
|
4
4
|
const t = String(e);
|
@@ -3246,7 +3246,7 @@ var ju = (e, t = !1) => {
|
|
3246
3246
|
const t = Pa(() => {
|
3247
3247
|
const r = this, [n] = f(this, mt), [s] = f(this, pt), [i] = f(this, gt), [a] = f(this, bt), [o] = f(this, ht);
|
3248
3248
|
let c;
|
3249
|
-
return f(this, wt) ? c = f(this, wt) : (c = va(() => import("./2ZEF3XTO.
|
3249
|
+
return f(this, wt) ? c = f(this, wt) : (c = va(() => import("./2ZEF3XTO.Rjj8DR39.js")), w(this, wt, c)), ko(f(this, Gt), f(this, yt)), pa(c, ba({
|
3250
3250
|
get queryFlavor() {
|
3251
3251
|
return f(r, Vt);
|
3252
3252
|
},
|
@@ -7264,7 +7264,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Bd = "{{clipboard}}", Vd =
|
|
7264
7264
|
) });
|
7265
7265
|
}, fu = new URL(document.location.href).searchParams, Zn = !!fu.get("debug") || !1, hu = _i(() => import(
|
7266
7266
|
/* webpackChunkName: "LazyApp" */
|
7267
|
-
"./App.
|
7267
|
+
"./App.tf0AbTjD.js"
|
7268
7268
|
).then((e) => e.App)), yu = new Xi(), es = ({
|
7269
7269
|
isComponent: e,
|
7270
7270
|
headerHeight: t
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
2
|
-
import { visit as In } from "./useMarkdown.
|
3
|
-
import { toText as Cn } from "./index.
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.tf0AbTjD.js";
|
2
|
+
import { visit as In } from "./useMarkdown.D8ghuP2y.js";
|
3
|
+
import { toText as Cn } from "./index.BjvMwvB0.js";
|
4
4
|
function xn(e) {
|
5
5
|
const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
|
6
6
|
className: "type",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./useMarkdown.
|
2
|
-
import { toText as Qa } from "./index.
|
1
|
+
import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./useMarkdown.D8ghuP2y.js";
|
2
|
+
import { toText as Qa } from "./index.BjvMwvB0.js";
|
3
3
|
class ye {
|
4
4
|
/**
|
5
5
|
* @constructor
|
@@ -3,9 +3,9 @@ var Cr = (e, n, t) => n in e ? Sr(e, n, { enumerable: !0, configurable: !0, writ
|
|
3
3
|
var Re = (e, n, t) => Cr(e, typeof n != "symbol" ? n + "" : n, t);
|
4
4
|
import * as tn from "react/jsx-runtime";
|
5
5
|
import { jsx as se, jsxs as In, Fragment as Er } from "react/jsx-runtime";
|
6
|
-
import { le as Ir, unObfuscate as Pr, obfuscate as Tr } from "./index.
|
6
|
+
import { le as Ir, unObfuscate as Pr, obfuscate as Tr } from "./index.BfAu8rnr.js";
|
7
7
|
import Ar, { useState as Tt, useEffect as At, useRef as De, useCallback as zr } from "react";
|
8
|
-
import { getDefaultExportFromCjs as zt } from "./App.
|
8
|
+
import { getDefaultExportFromCjs as zt } from "./App.tf0AbTjD.js";
|
9
9
|
import Lr from "clsx";
|
10
10
|
const Lt = ({
|
11
11
|
children: e,
|
@@ -6830,7 +6830,7 @@ class ou {
|
|
6830
6830
|
if (!this.remarkGfm) {
|
6831
6831
|
const { default: n } = await import(
|
6832
6832
|
/* webpackChunkName: "LazyRemarkGfm" */
|
6833
|
-
"./index.
|
6833
|
+
"./index.B1Fz6zjQ.js"
|
6834
6834
|
);
|
6835
6835
|
this.remarkGfm = n;
|
6836
6836
|
}
|
@@ -6841,7 +6841,7 @@ class ou {
|
|
6841
6841
|
pu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
|
6842
6842
|
const { default: n } = await import(
|
6843
6843
|
/* webpackChunkName: "LazyRehypeKatex" */
|
6844
|
-
"./index.
|
6844
|
+
"./index.DxW3O79R.js"
|
6845
6845
|
);
|
6846
6846
|
this.rehypeKatex = n;
|
6847
6847
|
}
|
@@ -6851,7 +6851,7 @@ class ou {
|
|
6851
6851
|
if (!this.remarkMath) {
|
6852
6852
|
const { default: n } = await import(
|
6853
6853
|
/* webpackChunkName: "LazyRemarkMath" */
|
6854
|
-
"./index.
|
6854
|
+
"./index.BhfgsLCH.js"
|
6855
6855
|
);
|
6856
6856
|
this.remarkMath = n;
|
6857
6857
|
}
|
@@ -6861,7 +6861,7 @@ class ou {
|
|
6861
6861
|
if (!this.rehypeHighlight) {
|
6862
6862
|
const { default: n } = await import(
|
6863
6863
|
/* webpackChunkName: "LazyRehypeHighlight" */
|
6864
|
-
"./index.
|
6864
|
+
"./index.DR4SilC0.js"
|
6865
6865
|
);
|
6866
6866
|
this.rehypeHighlight = n;
|
6867
6867
|
}
|
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.BfAu8rnr.js";
|
2
2
|
/*!
|
3
|
-
@sassysaint/client v8.23.
|
3
|
+
@sassysaint/client v8.23.4
|
4
4
|
© 2025 gizmette.com
|
5
5
|
*/
|
6
6
|
try {
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
8
|
-
version: "8.23.
|
9
|
-
buildTime: "06/
|
8
|
+
version: "8.23.4",
|
9
|
+
buildTime: "06/17/2025 02:17 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": "8.23.
|
3
|
+
"version": "8.23.4",
|
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": "8.23.
|
33
|
+
"@sassysaint/client": "8.23.4",
|
34
34
|
"@tailwindcss/vite": "4.1.8",
|
35
35
|
"@versini/ui-styles": "5.0.4"
|
36
36
|
},
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"sideEffects": [
|
43
43
|
"**/*.css"
|
44
44
|
],
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "33d2430ad3c7a5a74b74b0fb40a2d5d0ae427792"
|
46
46
|
}
|