@versini/sassysaint 8.51.7 → 8.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{AboutChangelog.DDPsUMZt.js → AboutChangelog.BXP_S_6h.js} +2 -2
- package/dist/chunks/{AboutEntry.ZpXcef48.js → AboutEntry.xxSM1oC2.js} +5 -5
- package/dist/chunks/{App.BuJoFApH.js → App.vcT52Cxv.js} +343 -347
- package/dist/chunks/{Chart.B_TvwXxw.js → Chart.BL7C958a.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CSKXESRd.js → ChatBubbleAssistant.BvSTXfZu.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.xVDiOcM1.js → ChatBubbleUser.DAG3DtIn.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.BZcDwTQb.js → ChatHistoryTable.OynguQ8f.js} +3 -3
- package/dist/chunks/{HistoryEntry.DJd8wyU_.js → HistoryEntry.c-t2Qly1.js} +3 -3
- package/dist/chunks/{ProfileEntry.un5FevWN.js → ProfileEntry.Cp6GKTXd.js} +2 -2
- package/dist/chunks/{SettingsEntry.C8PZoiRl.js → SettingsEntry.CBvovzte.js} +3 -3
- package/dist/chunks/{Table.DHN6Yg9n.js → Table.BHKK2hx0.js} +2 -2
- package/dist/chunks/{UsageEntry.DOeus8Cu.js → UsageEntry.DQ8C9RD2.js} +3 -3
- package/dist/chunks/{index.Z5xhsgrm.js → index.4-oS1zsv.js} +1 -1
- package/dist/chunks/{index.CzdfhUv7.js → index.CQ6wFEdL.js} +3 -3
- package/dist/chunks/{index.BqFmsWjr.js → index.CTR90Zgl.js} +1 -1
- package/dist/chunks/{index.HAv3ex2j.js → index.Cs-kxUcH.js} +96 -96
- package/dist/chunks/{index.XmM-HffY.js → index.DOGFTmsP.js} +1 -1
- package/dist/chunks/{index.BqKp_YqM.js → index.MR8A9dOE.js} +2 -2
- package/dist/chunks/{index.Zdxgje2x.js → index.eMvwIUBJ.js} +1 -1
- package/dist/chunks/{useMarkdown.BJpdO7dl.js → useMarkdown.DboPchKq.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
|
-
import { jsx as h, jsxs as q, Fragment as
|
1
|
+
import { jsx as h, jsxs as q, Fragment as Ir } from "react/jsx-runtime";
|
2
2
|
import * as H from "react";
|
3
|
-
import ie, { createContext as xt, useReducer as
|
3
|
+
import ie, { createContext as xt, useReducer as Ar, useCallback as Y, useRef as j, useEffect as W, useSyncExternalStore as _s, useContext as at, useState as ne, useMemo as Je, useId as Rs, useLayoutEffect as Qe, Suspense as Cs, lazy as ks } from "react";
|
4
4
|
import y from "clsx";
|
5
5
|
var Oe = class {
|
6
6
|
constructor() {
|
@@ -124,18 +124,18 @@ function Dt(e, t) {
|
|
124
124
|
function pe(e) {
|
125
125
|
return JSON.stringify(
|
126
126
|
e,
|
127
|
-
(t, r) =>
|
127
|
+
(t, r) => At(r) ? Object.keys(r).sort().reduce((s, a) => (s[a] = r[a], s), {}) : r
|
128
128
|
);
|
129
129
|
}
|
130
130
|
function xe(e, t) {
|
131
131
|
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => xe(e[r], t[r])) : !1;
|
132
132
|
}
|
133
133
|
var xs = Object.prototype.hasOwnProperty;
|
134
|
-
function
|
134
|
+
function It(e, t) {
|
135
135
|
if (e === t)
|
136
136
|
return e;
|
137
137
|
const r = zt(e) && zt(t);
|
138
|
-
if (!r && !(
|
138
|
+
if (!r && !(At(e) && At(t))) return t;
|
139
139
|
const a = (r ? e : Object.keys(e)).length, n = r ? t : Object.keys(t), i = n.length, o = r ? new Array(i) : {};
|
140
140
|
let c = 0;
|
141
141
|
for (let f = 0; f < i; f++) {
|
@@ -148,7 +148,7 @@ function At(e, t) {
|
|
148
148
|
o[d] = l;
|
149
149
|
continue;
|
150
150
|
}
|
151
|
-
const m =
|
151
|
+
const m = It(u, l);
|
152
152
|
o[d] = m, m === u && c++;
|
153
153
|
}
|
154
154
|
return a === i && c === a ? e : o;
|
@@ -164,7 +164,7 @@ function Ye(e, t) {
|
|
164
164
|
function zt(e) {
|
165
165
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
166
166
|
}
|
167
|
-
function
|
167
|
+
function At(e) {
|
168
168
|
if (!Xt(e))
|
169
169
|
return !1;
|
170
170
|
const t = e.constructor;
|
@@ -187,13 +187,13 @@ function _t(e, t, r) {
|
|
187
187
|
if (r.structuralSharing !== !1) {
|
188
188
|
if (process.env.NODE_ENV !== "production")
|
189
189
|
try {
|
190
|
-
return
|
190
|
+
return It(e, t);
|
191
191
|
} catch (s) {
|
192
192
|
throw console.error(
|
193
193
|
`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${s}`
|
194
194
|
), s;
|
195
195
|
}
|
196
|
-
return
|
196
|
+
return It(e, t);
|
197
197
|
}
|
198
198
|
return t;
|
199
199
|
}
|
@@ -411,7 +411,7 @@ function Or(e) {
|
|
411
411
|
Promise.resolve(g).then(u).catch((E) => {
|
412
412
|
if (n())
|
413
413
|
return;
|
414
|
-
const k = e.retry ?? (me ? 0 : 3),
|
414
|
+
const k = e.retry ?? (me ? 0 : 3), I = e.retryDelay ?? Gs, K = typeof I == "function" ? I(r, E) : I, R = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, E);
|
415
415
|
if (t || !R) {
|
416
416
|
l(E);
|
417
417
|
return;
|
@@ -924,12 +924,12 @@ var Ws = class extends Oe {
|
|
924
924
|
this.#n = v;
|
925
925
|
}
|
926
926
|
this.#n && (m = this.#n, l = this.#h, p = Date.now(), g = "error");
|
927
|
-
const E = d.fetchStatus === "fetching", k = g === "pending",
|
927
|
+
const E = d.fetchStatus === "fetching", k = g === "pending", I = g === "error", K = k && E, R = l !== void 0, C = {
|
928
928
|
status: g,
|
929
929
|
fetchStatus: d.fetchStatus,
|
930
930
|
isPending: k,
|
931
931
|
isSuccess: g === "success",
|
932
|
-
isError:
|
932
|
+
isError: I,
|
933
933
|
isInitialLoading: K,
|
934
934
|
isLoading: K,
|
935
935
|
data: l,
|
@@ -943,21 +943,21 @@ var Ws = class extends Oe {
|
|
943
943
|
isFetchedAfterMount: d.dataUpdateCount > c.dataUpdateCount || d.errorUpdateCount > c.errorUpdateCount,
|
944
944
|
isFetching: E,
|
945
945
|
isRefetching: E && !k,
|
946
|
-
isLoadingError:
|
946
|
+
isLoadingError: I && !R,
|
947
947
|
isPaused: d.fetchStatus === "paused",
|
948
948
|
isPlaceholderData: u,
|
949
|
-
isRefetchError:
|
949
|
+
isRefetchError: I && R,
|
950
950
|
isStale: Lt(e, t),
|
951
951
|
refetch: this.refetch,
|
952
952
|
promise: this.#o,
|
953
953
|
isEnabled: J(t.enabled, e) !== !1
|
954
954
|
};
|
955
955
|
if (this.options.experimental_prefetchInRender) {
|
956
|
-
const v = (
|
957
|
-
C.status === "error" ?
|
956
|
+
const v = (A) => {
|
957
|
+
C.status === "error" ? A.reject(C.error) : C.data !== void 0 && A.resolve(C.data);
|
958
958
|
}, x = () => {
|
959
|
-
const
|
960
|
-
v(
|
959
|
+
const A = this.#o = C.promise = Rt();
|
960
|
+
v(A);
|
961
961
|
}, _ = this.#o;
|
962
962
|
switch (_.status) {
|
963
963
|
case "pending":
|
@@ -1065,9 +1065,9 @@ function rr(e) {
|
|
1065
1065
|
meta: t.options.meta
|
1066
1066
|
};
|
1067
1067
|
return u(Q), Q;
|
1068
|
-
})(),
|
1068
|
+
})(), I = await l(k), { maxPages: K } = t.options, R = b ? Ls : Ms;
|
1069
1069
|
return {
|
1070
|
-
pages: R(p.pages,
|
1070
|
+
pages: R(p.pages, I, K),
|
1071
1071
|
pageParams: R(p.pageParams, g, K)
|
1072
1072
|
};
|
1073
1073
|
};
|
@@ -2185,18 +2185,18 @@ const De = (e) => {
|
|
2185
2185
|
}, Br = (e, t) => {
|
2186
2186
|
const r = e.data.subarray(e.pos, e.pos + t);
|
2187
2187
|
return e.pos += t, r;
|
2188
|
-
},
|
2188
|
+
}, Ia = (e) => {
|
2189
2189
|
et(e, 6, "Expected algorithm OID");
|
2190
2190
|
const t = Ze(e);
|
2191
2191
|
return Br(e, t);
|
2192
2192
|
};
|
2193
|
-
function
|
2193
|
+
function Aa(e) {
|
2194
2194
|
et(e, 48, "Invalid SPKI structure"), Ze(e), et(e, 48, "Expected algorithm identifier");
|
2195
2195
|
const t = Ze(e);
|
2196
2196
|
return { algIdStart: e.pos, algIdLength: t };
|
2197
2197
|
}
|
2198
2198
|
const _a = (e) => {
|
2199
|
-
const t =
|
2199
|
+
const t = Ia(e);
|
2200
2200
|
if (dt(t, [43, 101, 110]))
|
2201
2201
|
return "X25519";
|
2202
2202
|
if (!dt(t, [42, 134, 72, 206, 61, 2, 1]))
|
@@ -2271,7 +2271,7 @@ const _a = (e) => {
|
|
2271
2271
|
let a = r;
|
2272
2272
|
return t?.startsWith?.("ECDH-ES") && (a ||= {}, a.getNamedCurve = (n) => {
|
2273
2273
|
const i = Ta(n);
|
2274
|
-
return
|
2274
|
+
return Aa(i), _a(i);
|
2275
2275
|
}), Ra("spki", s, t, a);
|
2276
2276
|
};
|
2277
2277
|
function Oa(e) {
|
@@ -3314,18 +3314,18 @@ function He({
|
|
3314
3314
|
const M = [];
|
3315
3315
|
for (let e = 0; e < 256; ++e)
|
3316
3316
|
M.push((e + 256).toString(16).slice(1));
|
3317
|
-
function
|
3317
|
+
function In(e, t = 0) {
|
3318
3318
|
return (M[e[t + 0]] + M[e[t + 1]] + M[e[t + 2]] + M[e[t + 3]] + "-" + M[e[t + 4]] + M[e[t + 5]] + "-" + M[e[t + 6]] + M[e[t + 7]] + "-" + M[e[t + 8]] + M[e[t + 9]] + "-" + M[e[t + 10]] + M[e[t + 11]] + M[e[t + 12]] + M[e[t + 13]] + M[e[t + 14]] + M[e[t + 15]]).toLowerCase();
|
3319
3319
|
}
|
3320
3320
|
let yt;
|
3321
|
-
const
|
3321
|
+
const An = new Uint8Array(16);
|
3322
3322
|
function _n() {
|
3323
3323
|
if (!yt) {
|
3324
3324
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
3325
3325
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
3326
3326
|
yt = crypto.getRandomValues.bind(crypto);
|
3327
3327
|
}
|
3328
|
-
return yt(
|
3328
|
+
return yt(An);
|
3329
3329
|
}
|
3330
3330
|
const Rn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mr = { randomUUID: Rn };
|
3331
3331
|
function gt(e, t, r) {
|
@@ -3335,7 +3335,7 @@ function gt(e, t, r) {
|
|
3335
3335
|
const s = e.random ?? e.rng?.() ?? _n();
|
3336
3336
|
if (s.length < 16)
|
3337
3337
|
throw new Error("Random bytes length must be >= 16");
|
3338
|
-
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128,
|
3338
|
+
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, In(s);
|
3339
3339
|
}
|
3340
3340
|
const ve = "Your session has expired. For your security, please log in again to continue.", Cn = "Your session has been successfully terminated.", bt = "Login failed. Please try again.", kn = "Error getting access token, please re-authenticate.", On = "You forgot to wrap your component in <AuthProvider>.", Ke = "@@auth@@", Ne = "LOADING", qe = "LOGIN", Xr = "LOGOUT", Le = "success", ee = "failure", Zr = "include", es = "POST", ts = "application/json", Ge = {
|
3341
3341
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
@@ -3435,7 +3435,7 @@ const ve = "Your session has expired. For your security, please log in again to
|
|
3435
3435
|
schema: Ge.VERIFY_AUTHENTICATION,
|
3436
3436
|
method: "verifyPasskeyAuthentication"
|
3437
3437
|
}
|
3438
|
-
},
|
3438
|
+
}, Ie = async ({
|
3439
3439
|
accessToken: e,
|
3440
3440
|
type: t,
|
3441
3441
|
clientId: r,
|
@@ -3698,17 +3698,17 @@ class Un {
|
|
3698
3698
|
};
|
3699
3699
|
}
|
3700
3700
|
}
|
3701
|
-
const
|
3701
|
+
const Ae = () => {
|
3702
3702
|
throw new Error(On);
|
3703
3703
|
}, ss = xt({
|
3704
3704
|
isAuthenticated: !1,
|
3705
3705
|
isLoading: !1,
|
3706
|
-
login:
|
3707
|
-
logout:
|
3708
|
-
getAccessToken:
|
3709
|
-
getIdToken:
|
3710
|
-
registeringForPasskey:
|
3711
|
-
loginWithPasskey:
|
3706
|
+
login: Ae,
|
3707
|
+
logout: Ae,
|
3708
|
+
getAccessToken: Ae,
|
3709
|
+
getIdToken: Ae,
|
3710
|
+
registeringForPasskey: Ae,
|
3711
|
+
loginWithPasskey: Ae,
|
3712
3712
|
logoutReason: "",
|
3713
3713
|
authenticationType: ""
|
3714
3714
|
}), Fn = () => ({
|
@@ -3750,7 +3750,7 @@ const Ie = () => {
|
|
3750
3750
|
debug: a = !1,
|
3751
3751
|
endpoint: n = Pn ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
|
3752
3752
|
}) => {
|
3753
|
-
const [i, o] =
|
3753
|
+
const [i, o] = Ar(Gn, {
|
3754
3754
|
...rs,
|
3755
3755
|
debug: a
|
3756
3756
|
}), c = Hn(a), f = j(!1), [d, u, , l] = He({
|
@@ -3761,7 +3761,7 @@ const Ie = () => {
|
|
3761
3761
|
{
|
3762
3762
|
key: `${Ke}::${r}::@@refresh@@`
|
3763
3763
|
}
|
3764
|
-
), [
|
3764
|
+
), [I, K, , R] = He({
|
3765
3765
|
key: `${Ke}::${r}::@@nonce@@`
|
3766
3766
|
}), Q = new Un(m, b), C = Y(() => {
|
3767
3767
|
c("removeLocalStorage: removing local storage"), l(), g(), k(), R();
|
@@ -3870,7 +3870,7 @@ const Ie = () => {
|
|
3870
3870
|
}), !0) : (v(bt), !1);
|
3871
3871
|
}
|
3872
3872
|
return !1;
|
3873
|
-
},
|
3873
|
+
}, A = async (w) => {
|
3874
3874
|
w?.preventDefault(), await x(Cn);
|
3875
3875
|
}, N = async () => {
|
3876
3876
|
const { isAuthenticated: w, user: T } = i;
|
@@ -3887,7 +3887,7 @@ const Ie = () => {
|
|
3887
3887
|
endpoint: n,
|
3888
3888
|
clientId: r,
|
3889
3889
|
userId: T.userId,
|
3890
|
-
nonce:
|
3890
|
+
nonce: I,
|
3891
3891
|
domain: s
|
3892
3892
|
});
|
3893
3893
|
return S.status && S.status === "success" && S.newAccessToken ? (p(S.newAccessToken), E(S.newRefreshToken), S.newAccessToken) : (c(
|
@@ -3904,7 +3904,7 @@ const Ie = () => {
|
|
3904
3904
|
}
|
3905
3905
|
}, V = () => i.isAuthenticated && d ? d : "", ce = async () => {
|
3906
3906
|
const { user: w } = i;
|
3907
|
-
let T = await
|
3907
|
+
let T = await Ie({
|
3908
3908
|
endpoint: n,
|
3909
3909
|
accessToken: m,
|
3910
3910
|
clientId: r,
|
@@ -3920,7 +3920,7 @@ const Ie = () => {
|
|
3920
3920
|
const S = await bn({
|
3921
3921
|
optionsJSON: T.data
|
3922
3922
|
});
|
3923
|
-
return T = await
|
3923
|
+
return T = await Ie({
|
3924
3924
|
endpoint: n,
|
3925
3925
|
accessToken: m,
|
3926
3926
|
clientId: r,
|
@@ -3933,7 +3933,7 @@ const Ie = () => {
|
|
3933
3933
|
}
|
3934
3934
|
}), !!(T.status && T.data.length > 0);
|
3935
3935
|
} catch {
|
3936
|
-
return await
|
3936
|
+
return await Ie({
|
3937
3937
|
endpoint: n,
|
3938
3938
|
accessToken: m,
|
3939
3939
|
clientId: r,
|
@@ -3952,7 +3952,7 @@ const Ie = () => {
|
|
3952
3952
|
const w = gt();
|
3953
3953
|
K(w), c("loginWithPasskey");
|
3954
3954
|
const T = gt();
|
3955
|
-
let S = await
|
3955
|
+
let S = await Ie({
|
3956
3956
|
endpoint: n,
|
3957
3957
|
accessToken: m,
|
3958
3958
|
clientId: r,
|
@@ -3967,7 +3967,7 @@ const Ie = () => {
|
|
3967
3967
|
const le = await Sn({
|
3968
3968
|
optionsJSON: S.data
|
3969
3969
|
});
|
3970
|
-
return S = await
|
3970
|
+
return S = await Ie({
|
3971
3971
|
endpoint: n,
|
3972
3972
|
accessToken: m,
|
3973
3973
|
clientId: r,
|
@@ -3993,7 +3993,7 @@ const Ie = () => {
|
|
3993
3993
|
}
|
3994
3994
|
}), !0) : (v(bt), !1);
|
3995
3995
|
} catch {
|
3996
|
-
return await
|
3996
|
+
return await Ie({
|
3997
3997
|
endpoint: n,
|
3998
3998
|
accessToken: m,
|
3999
3999
|
clientId: r,
|
@@ -4016,7 +4016,7 @@ const Ie = () => {
|
|
4016
4016
|
value: {
|
4017
4017
|
...i,
|
4018
4018
|
login: _,
|
4019
|
-
logout:
|
4019
|
+
logout: A,
|
4020
4020
|
getAccessToken: N,
|
4021
4021
|
getIdToken: V,
|
4022
4022
|
registeringForPasskey: ce,
|
@@ -4188,14 +4188,14 @@ const gc = "user", bc = "assistant", Ec = "data", cs = "OpenAI", Vn = "Anthropic
|
|
4188
4188
|
],
|
4189
4189
|
[Jn]: [ti],
|
4190
4190
|
[Qn]: [ri]
|
4191
|
-
}, Sc = "x-
|
4191
|
+
}, Sc = "x-diggity-chat-id", vc = (e) => {
|
4192
4192
|
for (const [t, r] of Object.entries(
|
4193
4193
|
si
|
4194
4194
|
))
|
4195
4195
|
if (r.some((s) => e.startsWith(s)))
|
4196
4196
|
return t;
|
4197
4197
|
return null;
|
4198
|
-
}, Tc = "timestamp",
|
4198
|
+
}, Tc = "timestamp", Ic = "tokenUsage", O = "Diggity", Ac = {
|
4199
4199
|
TOOL: {
|
4200
4200
|
MEMORIES: "getUserMemories"
|
4201
4201
|
},
|
@@ -4959,7 +4959,7 @@ const us = process.env.NODE_ENV === "production", Gt = !us, ds = Gt ? "gizmette.
|
|
4959
4959
|
}
|
4960
4960
|
)
|
4961
4961
|
] }) }, `${e}-${s}`)) : null;
|
4962
|
-
function
|
4962
|
+
function Ii({
|
4963
4963
|
data: e,
|
4964
4964
|
formatter: t = (r) => r
|
4965
4965
|
}) {
|
@@ -4971,7 +4971,7 @@ function Ai({
|
|
4971
4971
|
);
|
4972
4972
|
return t(s ? s / r.length : 0);
|
4973
4973
|
}
|
4974
|
-
const
|
4974
|
+
const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, _i = new Intl.NumberFormat("en", {
|
4975
4975
|
style: "decimal",
|
4976
4976
|
signDisplay: "never",
|
4977
4977
|
minimumFractionDigits: 0,
|
@@ -5001,7 +5001,7 @@ const Ii = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5001
5001
|
return (...s) => {
|
5002
5002
|
window.clearTimeout(r), r = window.setTimeout(() => e(...s), t);
|
5003
5003
|
};
|
5004
|
-
}, ms = () => !!window?.
|
5004
|
+
}, ms = () => !!window?.__VERSINI_DIGGITY_TAURI__, ps = () => window.innerWidth < 403, ys = () => window.innerWidth >= 403 && window.innerWidth <= 1220, Oi = () => {
|
5005
5005
|
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = ps(), s = navigator.maxTouchPoints > 1;
|
5006
5006
|
return e && t && r && s;
|
5007
5007
|
}, Ni = () => {
|
@@ -5034,7 +5034,7 @@ const Ii = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5034
5034
|
theme: c,
|
5035
5035
|
transition: f,
|
5036
5036
|
icon: d
|
5037
|
-
}), Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: ds, convertCamelCaseToReadable: Pi, convertDDToDMS: Bt, convertLatitudeToDMS: bi, convertLongitudeToDMS: Ei, debounce: ki, durationFormatter: Ri, extractAverage:
|
5037
|
+
}), Mc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: ds, convertCamelCaseToReadable: Pi, convertDDToDMS: Bt, convertLatitudeToDMS: bi, convertLongitudeToDMS: Ei, debounce: ki, durationFormatter: Ri, extractAverage: Ii, getCurrentGeoLocation: wi, getLayoutPaddingClass: fs, getMessageContaintWrapperClass: hs, isDev: Gt, isLastMessageFromRole: Ai, isProbablyMobile: ps, isProbablyTablet: ys, isProbablyiPad: Ni, isProbablyiPhone: Oi, isProd: us, isTauri: ms, numberFormatter: _i, obfuscate: Si, pluralize: Ci, renderDataAsList: Ti, toastOptions: $i, unObfuscate: vi }, Symbol.toStringTag, { value: "Module" })), Er = "av-button", ct = "icon", Wt = "button", Pt = "link", xi = ({
|
5038
5038
|
type: e,
|
5039
5039
|
size: t,
|
5040
5040
|
labelRight: r,
|
@@ -5498,7 +5498,7 @@ const Be = {
|
|
5498
5498
|
radius: b = "large",
|
5499
5499
|
variant: E = "secondary",
|
5500
5500
|
iconClassName: k,
|
5501
|
-
animated:
|
5501
|
+
animated: I = !1,
|
5502
5502
|
...K
|
5503
5503
|
}, R) => {
|
5504
5504
|
const Q = gs({
|
@@ -5517,26 +5517,26 @@ const Be = {
|
|
5517
5517
|
align: g,
|
5518
5518
|
radius: b,
|
5519
5519
|
variant: E,
|
5520
|
-
animated:
|
5521
|
-
}), C = Bi({ mode: r, raw: o, iconClassName: k, variant: E }), v = Wi({ animated:
|
5520
|
+
animated: I
|
5521
|
+
}), C = Bi({ mode: r, raw: o, iconClassName: k, variant: E }), v = Wi({ animated: I }), x = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, A] = je(), [N, V] = je(), [ce, Ee] = je(), w = j(0), T = j(null), S = j(null), le = Es([R, T]);
|
5522
5522
|
return Qe(() => {
|
5523
|
-
ce && ce.current &&
|
5524
|
-
}, [Ee, ce, u, c,
|
5525
|
-
if (T && T.current &&
|
5523
|
+
ce && ce.current && I && (w.current = Ee.width + Ji[u] + (c ? 0 : Qi), T.current && !T.current.style.width && (T.current.style.width = `${Be[u]}px`));
|
5524
|
+
}, [Ee, ce, u, c, I]), Qe(() => {
|
5525
|
+
if (T && T.current && I) {
|
5526
5526
|
let ue = Be[u];
|
5527
|
-
l && _ &&
|
5527
|
+
l && _ && A.width > 0 ? ue = A.width + w.current : m && N && V.width > 0 && (ue = V.width + w.current), S.current && clearTimeout(S.current), ue !== parseInt(T.current.style.width || "0", 10) && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"), T.current.style.width = `${ue}px`, ue > Be[u] && (S.current = setTimeout(() => {
|
5528
5528
|
_.current && l && (_.current.style.opacity = "1"), N.current && m && (N.current.style.opacity = "1"), S.current = null;
|
5529
5529
|
}, Yi * 0.8))), ue === Be[u] && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"));
|
5530
5530
|
}
|
5531
5531
|
}, [
|
5532
|
-
|
5532
|
+
A,
|
5533
5533
|
l,
|
5534
5534
|
_,
|
5535
5535
|
V,
|
5536
5536
|
m,
|
5537
5537
|
N,
|
5538
5538
|
u,
|
5539
|
-
|
5539
|
+
I
|
5540
5540
|
]), W(() => () => {
|
5541
5541
|
S.current && clearTimeout(S.current);
|
5542
5542
|
}, []), /* @__PURE__ */ h(
|
@@ -5556,7 +5556,7 @@ const Be = {
|
|
5556
5556
|
labelRef: N,
|
5557
5557
|
labelClass: v,
|
5558
5558
|
labelInnerClass: "pr-2",
|
5559
|
-
initiallyHidden:
|
5559
|
+
initiallyHidden: I
|
5560
5560
|
}
|
5561
5561
|
),
|
5562
5562
|
/* @__PURE__ */ h("span", { ref: ce, className: C, children: e }),
|
@@ -5567,7 +5567,7 @@ const Be = {
|
|
5567
5567
|
labelRef: _,
|
5568
5568
|
labelClass: v,
|
5569
5569
|
labelInnerClass: "pl-2",
|
5570
|
-
initiallyHidden:
|
5570
|
+
initiallyHidden: I
|
5571
5571
|
}
|
5572
5572
|
)
|
5573
5573
|
] })
|
@@ -6153,7 +6153,7 @@ function Ts({
|
|
6153
6153
|
visible: o,
|
6154
6154
|
...c
|
6155
6155
|
}) {
|
6156
|
-
const f = j(null), d = j(null), [u, l] =
|
6156
|
+
const f = j(null), d = j(null), [u, l] = Ar(lo, {
|
6157
6157
|
announcement: null
|
6158
6158
|
});
|
6159
6159
|
let m = r;
|
@@ -6200,7 +6200,7 @@ try {
|
|
6200
6200
|
});
|
6201
6201
|
} catch {
|
6202
6202
|
}
|
6203
|
-
const
|
6203
|
+
const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-helper-text", mo = ({
|
6204
6204
|
mode: e
|
6205
6205
|
}) => y({
|
6206
6206
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
@@ -6309,7 +6309,7 @@ const As = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6309
6309
|
break;
|
6310
6310
|
}
|
6311
6311
|
const l = r ? y(t) : y(
|
6312
|
-
|
6312
|
+
Is,
|
6313
6313
|
u,
|
6314
6314
|
"rounded-md text-base px-4",
|
6315
6315
|
mo({ mode: i }),
|
@@ -6359,8 +6359,8 @@ const As = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6359
6359
|
rightElementClassName: b,
|
6360
6360
|
size: E = "md",
|
6361
6361
|
...k
|
6362
|
-
},
|
6363
|
-
const [K, R] = je(), [Q, C] = ne(0), v = ws({ id: e, prefix: `${
|
6362
|
+
}, I) => {
|
6363
|
+
const [K, R] = je(), [Q, C] = ne(0), v = ws({ id: e, prefix: `${Is}-` }), x = `${t} error, ${p}`, _ = j(null), A = j(null), N = {
|
6364
6364
|
xs: { label: "-25px", helperText: "30px" },
|
6365
6365
|
sm: { label: "-29px", helperText: "34px" },
|
6366
6366
|
md: { label: "-33px", helperText: "38px" },
|
@@ -6382,7 +6382,7 @@ const As = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6382
6382
|
R && R.width && C(R.width + 18 + 10);
|
6383
6383
|
}, [R]), Qe(() => {
|
6384
6384
|
const { label: ce, helperText: Ee } = N[E];
|
6385
|
-
_?.current?.style.setProperty("--av-text-input-label", ce),
|
6385
|
+
_?.current?.style.setProperty("--av-text-input-label", ce), A?.current?.style.setProperty(
|
6386
6386
|
"--av-text-input-helper-text",
|
6387
6387
|
Ee
|
6388
6388
|
);
|
@@ -6399,7 +6399,7 @@ const As = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6399
6399
|
/* @__PURE__ */ h(
|
6400
6400
|
"input",
|
6401
6401
|
{
|
6402
|
-
ref:
|
6402
|
+
ref: I,
|
6403
6403
|
id: v,
|
6404
6404
|
name: t,
|
6405
6405
|
type: m,
|
@@ -6425,7 +6425,7 @@ const As = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6425
6425
|
p && /* @__PURE__ */ h(
|
6426
6426
|
"div",
|
6427
6427
|
{
|
6428
|
-
ref:
|
6428
|
+
ref: A,
|
6429
6429
|
id: `${v}-helper`,
|
6430
6430
|
className: V.helperText,
|
6431
6431
|
children: p
|
@@ -6444,7 +6444,7 @@ const As = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6444
6444
|
}
|
6445
6445
|
);
|
6446
6446
|
jt.displayName = "TextInput";
|
6447
|
-
const wo = 500, So = 5e3, vo = 2e4,
|
6447
|
+
const wo = 500, So = 5e3, vo = 2e4, As = ie.forwardRef(
|
6448
6448
|
({
|
6449
6449
|
name: e,
|
6450
6450
|
disabled: t,
|
@@ -6461,7 +6461,7 @@ const wo = 500, So = 5e3, vo = 2e4, Is = ie.forwardRef(
|
|
6461
6461
|
const [l, m] = ne(!0), [p, g] = ne({
|
6462
6462
|
message: null,
|
6463
6463
|
politeness: null
|
6464
|
-
}), b = j(!0), E = j(null), k = j(null),
|
6464
|
+
}), b = j(!0), E = j(null), k = j(null), I = Es([u, k]), K = l ? "Show" : "Hide", R = () => {
|
6465
6465
|
E.current && clearTimeout(E.current), b.current || (E.current = setTimeout(() => {
|
6466
6466
|
b.current = !0, m(!0), g({
|
6467
6467
|
announcementTimeout: So,
|
@@ -6469,31 +6469,31 @@ const wo = 500, So = 5e3, vo = 2e4, Is = ie.forwardRef(
|
|
6469
6469
|
message: `${r} hiding characters`
|
6470
6470
|
}), a && a(!0);
|
6471
6471
|
}, vo));
|
6472
|
-
}, Q = (
|
6473
|
-
|
6472
|
+
}, Q = (A) => {
|
6473
|
+
A.preventDefault();
|
6474
6474
|
const N = !b.current;
|
6475
6475
|
b.current = N, R(), m(N), g({
|
6476
6476
|
announcementTimeout: wo,
|
6477
6477
|
politeness: "assertive",
|
6478
6478
|
message: N ? "Characters hidden" : "Characters showing"
|
6479
6479
|
}), a && a(N);
|
6480
|
-
}, C = (
|
6481
|
-
const { relatedTarget: N } =
|
6480
|
+
}, C = (A) => {
|
6481
|
+
const { relatedTarget: N } = A;
|
6482
6482
|
k.current?.parentElement?.contains(N) || c && c();
|
6483
|
-
}, v = (
|
6484
|
-
R(), i && i(
|
6485
|
-
}, x = (
|
6486
|
-
R(), o && o(
|
6487
|
-
}, _ = (
|
6488
|
-
R(), n && n(
|
6483
|
+
}, v = (A) => {
|
6484
|
+
R(), i && i(A), C(A);
|
6485
|
+
}, x = (A) => {
|
6486
|
+
R(), o && o(A);
|
6487
|
+
}, _ = (A) => {
|
6488
|
+
R(), n && n(A);
|
6489
6489
|
};
|
6490
6490
|
return W(() => () => {
|
6491
6491
|
E.current && clearTimeout(E.current);
|
6492
|
-
}, []), /* @__PURE__ */ q(
|
6492
|
+
}, []), /* @__PURE__ */ q(Ir, { children: [
|
6493
6493
|
/* @__PURE__ */ h(
|
6494
6494
|
jt,
|
6495
6495
|
{
|
6496
|
-
ref:
|
6496
|
+
ref: I,
|
6497
6497
|
name: e,
|
6498
6498
|
label: r,
|
6499
6499
|
labelHidden: s,
|
@@ -6524,7 +6524,7 @@ const wo = 500, So = 5e3, vo = 2e4, Is = ie.forwardRef(
|
|
6524
6524
|
] });
|
6525
6525
|
}
|
6526
6526
|
);
|
6527
|
-
|
6527
|
+
As.displayName = "TextInputMask";
|
6528
6528
|
/*!
|
6529
6529
|
@versini/ui-textinput v5.0.1
|
6530
6530
|
© 2025 gizmette.com
|
@@ -6538,7 +6538,7 @@ try {
|
|
6538
6538
|
});
|
6539
6539
|
} catch {
|
6540
6540
|
}
|
6541
|
-
const To = "ASK! ME! ANYTHING!",
|
6541
|
+
const To = "ASK! ME! ANYTHING!", Io = "Log in", Ao = "Sign in with a Passkey", Lc = "Log out", _o = "Password", Uc = "Usage", Fc = "Profile", Hc = "Settings", Kc = "Chat history", Gc = "About", Vt = "Type your message here.", Bc = Vt, Wc = `${Vt}
|
6542
6542
|
Press Enter to send it or Shift+Enter for new line.`, qc = `${Vt}
|
6543
6543
|
Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "Review important details.", Vc = [
|
6544
6544
|
`Sometimes, ${O} just makes stuff up. ${P}`,
|
@@ -6609,7 +6609,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6609
6609
|
TITLE: "Chats",
|
6610
6610
|
DETAILS: "The following option adds individual statistics for each messages under their respective bubbles, such as model name, tokens usage, and more.",
|
6611
6611
|
SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
|
6612
|
-
USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled,
|
6612
|
+
USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Diggity will remember your previous interactions and use them to provide more relevant responses."
|
6613
6613
|
}
|
6614
6614
|
}, Ro = ({ className: e }) => /* @__PURE__ */ q(
|
6615
6615
|
"div",
|
@@ -6673,7 +6673,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6673
6673
|
}
|
6674
6674
|
) }),
|
6675
6675
|
/* @__PURE__ */ h(he, { span: 12, children: /* @__PURE__ */ h(
|
6676
|
-
|
6676
|
+
As,
|
6677
6677
|
{
|
6678
6678
|
className: "mt-7",
|
6679
6679
|
required: !0,
|
@@ -6713,10 +6713,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6713
6713
|
noBorder: !0,
|
6714
6714
|
type: "submit",
|
6715
6715
|
className: "mt-7",
|
6716
|
-
children:
|
6716
|
+
children: Io
|
6717
6717
|
}
|
6718
6718
|
) }),
|
6719
|
-
!ms() && /* @__PURE__ */ q(
|
6719
|
+
!ms() && /* @__PURE__ */ q(Ir, { children: [
|
6720
6720
|
/* @__PURE__ */ h(he, { span: 12, children: /* @__PURE__ */ h("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
|
6721
6721
|
/* @__PURE__ */ h(he, { span: 12, children: /* @__PURE__ */ h(
|
6722
6722
|
rt,
|
@@ -6726,7 +6726,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6726
6726
|
focusMode: "light",
|
6727
6727
|
fullWidth: !0,
|
6728
6728
|
className: "mb-4",
|
6729
|
-
labelRight:
|
6729
|
+
labelRight: Ao,
|
6730
6730
|
onClick: r,
|
6731
6731
|
children: /* @__PURE__ */ h(so, { size: "size-7" })
|
6732
6732
|
}
|
@@ -6736,7 +6736,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6736
6736
|
] });
|
6737
6737
|
}, ko = new URL(document.location.href).searchParams, vr = !!ko.get("debug") || !1, Oo = ks(() => import(
|
6738
6738
|
/* webpackChunkName: "LazyApp" */
|
6739
|
-
"./App.
|
6739
|
+
"./App.vcT52Cxv.js"
|
6740
6740
|
).then((e) => e.App)), No = new Xs(), Tr = ({
|
6741
6741
|
isComponent: e,
|
6742
6742
|
headerHeight: t
|
@@ -6857,20 +6857,20 @@ export {
|
|
6857
6857
|
Pe as it,
|
6858
6858
|
he as j,
|
6859
6859
|
so as l,
|
6860
|
+
Ac as le,
|
6860
6861
|
oi as mutateCall,
|
6861
6862
|
as as n,
|
6862
6863
|
Ec as ne,
|
6863
6864
|
_i as numberFormatter,
|
6864
6865
|
Es as o,
|
6865
6866
|
Si as obfuscate,
|
6866
|
-
Ic as pe,
|
6867
6867
|
Ci as pluralize,
|
6868
6868
|
wc as re,
|
6869
6869
|
Ti as renderDataAsList,
|
6870
6870
|
ii as serverUrl,
|
6871
6871
|
_c as setNewProvider,
|
6872
6872
|
rt as te,
|
6873
|
-
|
6873
|
+
Ic as ue,
|
6874
6874
|
vi as unObfuscate,
|
6875
6875
|
Cc as useChangelogs,
|
6876
6876
|
Oc as useChatsHistory,
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.
|
2
|
-
import { toText as Ca } from "./index.
|
1
|
+
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.DboPchKq.js";
|
2
|
+
import { toText as Ca } from "./index.4-oS1zsv.js";
|
3
3
|
const Gt = /[#.]/g;
|
4
4
|
function qa(r, e) {
|
5
5
|
const t = r || "", a = {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.
|
1
|
+
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.DboPchKq.js";
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
3
3
|
function ne(e, n) {
|
4
4
|
const t = String(e);
|