@versini/sassysaint 8.67.3 → 8.68.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.CvIukHEK.js → AboutChangelog.DpW_3DBG.js} +2 -2
- package/dist/chunks/{AboutEntry.C9SQcghf.js → AboutEntry.CldYLKXw.js} +7 -7
- package/dist/chunks/{App.DkyB-B7p.js → App.B7h4kjT4.js} +1591 -1525
- package/dist/chunks/{Chart.CiurpqRJ.js → Chart.BJVSw9-u.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.D1YnanUf.js → ChatBubbleAssistant.B6LBszzT.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.CFeSEWZ1.js → ChatBubbleUser.J6lOSYbO.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.jm6P1pvH.js → ChatHistoryTable.C5Wc2Eyt.js} +3 -3
- package/dist/chunks/{HistoryEntry.BGGXAbcQ.js → HistoryEntry.DJiUgBvV.js} +3 -3
- package/dist/chunks/{ProfileEntry.BQkHhB69.js → ProfileEntry.PCKZrYeS.js} +2 -2
- package/dist/chunks/{SettingsEntry.m6Tkvghq.js → SettingsEntry.szqdie_1.js} +2 -2
- package/dist/chunks/{Table.DWdoit1g.js → Table.BDdin_AH.js} +2 -2
- package/dist/chunks/{UsageEntry.dCm7rRKL.js → UsageEntry.sI0CIeE1.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.CiHafzvV.js → UserMemoriesPanel.DMDeGzjE.js} +3 -3
- package/dist/chunks/{index.BRm5kR7d.js → index.B0ax8k-S.js} +2 -2
- package/dist/chunks/{index.B3UVjKua.js → index.B2C-ngQ9.js} +1 -1
- package/dist/chunks/{index.DVCW0vCX.js → index.BrfVwWfH.js} +1 -1
- package/dist/chunks/{index.CSr8UwFd.js → index.CuthjKLF.js} +3 -3
- package/dist/chunks/{index.xys3fL0C.js → index.gE6u6VzH.js} +179 -177
- package/dist/chunks/{index.CBMgzvO0.js → index.tKnFdz08.js} +1 -1
- package/dist/chunks/{index.9r-86ilb.js → index.u7coUAzj.js} +1 -1
- package/dist/chunks/{useMarkdown.DbntNysq.js → useMarkdown.Bj5HO16s.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -411,7 +411,7 @@ function $r(e) {
|
|
|
411
411
|
Promise.resolve(g).then(u).catch((E) => {
|
|
412
412
|
if (n())
|
|
413
413
|
return;
|
|
414
|
-
const O = e.retry ?? (me ? 0 : 3),
|
|
414
|
+
const O = e.retry ?? (me ? 0 : 3), A = e.retryDelay ?? sa, K = typeof A == "function" ? A(r, E) : A, R = O === !0 || typeof O == "number" && r < O || typeof O == "function" && O(r, E);
|
|
415
415
|
if (t || !R) {
|
|
416
416
|
l(E);
|
|
417
417
|
return;
|
|
@@ -924,12 +924,12 @@ var na = class extends ke {
|
|
|
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", O = g === "pending",
|
|
927
|
+
const E = d.fetchStatus === "fetching", O = g === "pending", A = g === "error", K = O && E, R = l !== void 0, C = {
|
|
928
928
|
status: g,
|
|
929
929
|
fetchStatus: d.fetchStatus,
|
|
930
930
|
isPending: O,
|
|
931
931
|
isSuccess: g === "success",
|
|
932
|
-
isError:
|
|
932
|
+
isError: A,
|
|
933
933
|
isInitialLoading: K,
|
|
934
934
|
isLoading: K,
|
|
935
935
|
data: l,
|
|
@@ -943,21 +943,21 @@ var na = class extends ke {
|
|
|
943
943
|
isFetchedAfterMount: d.dataUpdateCount > c.dataUpdateCount || d.errorUpdateCount > c.errorUpdateCount,
|
|
944
944
|
isFetching: E,
|
|
945
945
|
isRefetching: E && !O,
|
|
946
|
-
isLoadingError:
|
|
946
|
+
isLoadingError: A && !R,
|
|
947
947
|
isPaused: d.fetchStatus === "paused",
|
|
948
948
|
isPlaceholderData: u,
|
|
949
|
-
isRefetchError:
|
|
949
|
+
isRefetchError: A && R,
|
|
950
950
|
isStale: Ht(e, t),
|
|
951
951
|
refetch: this.refetch,
|
|
952
952
|
promise: this.#o,
|
|
953
953
|
isEnabled: Q(t.enabled, e) !== !1
|
|
954
954
|
};
|
|
955
955
|
if (this.options.experimental_prefetchInRender) {
|
|
956
|
-
const v = (
|
|
957
|
-
C.status === "error" ?
|
|
956
|
+
const v = (I) => {
|
|
957
|
+
C.status === "error" ? I.reject(C.error) : C.data !== void 0 && I.resolve(C.data);
|
|
958
958
|
}, x = () => {
|
|
959
|
-
const
|
|
960
|
-
v(
|
|
959
|
+
const I = this.#o = C.promise = kt();
|
|
960
|
+
v(I);
|
|
961
961
|
}, _ = this.#o;
|
|
962
962
|
switch (_.status) {
|
|
963
963
|
case "pending":
|
|
@@ -1065,9 +1065,9 @@ function nr(e) {
|
|
|
1065
1065
|
meta: t.options.meta
|
|
1066
1066
|
};
|
|
1067
1067
|
return u(J), J;
|
|
1068
|
-
})(),
|
|
1068
|
+
})(), A = await l(O), { maxPages: K } = t.options, R = b ? Xs : zs;
|
|
1069
1069
|
return {
|
|
1070
|
-
pages: R(p.pages,
|
|
1070
|
+
pages: R(p.pages, A, K),
|
|
1071
1071
|
pageParams: R(p.pageParams, g, K)
|
|
1072
1072
|
};
|
|
1073
1073
|
};
|
|
@@ -1823,7 +1823,7 @@ var ba = H.createContext(ga()), Ea = () => H.useContext(ba), wa = (e, t) => {
|
|
|
1823
1823
|
1e3
|
|
1824
1824
|
));
|
|
1825
1825
|
}
|
|
1826
|
-
},
|
|
1826
|
+
}, Aa = (e, t) => e.isLoading && e.isFetching && !t, Ia = (e, t) => e?.suspense && t.isPending, or = (e, t, r) => t.fetchOptimistic(e).catch(() => {
|
|
1827
1827
|
r.clearReset();
|
|
1828
1828
|
});
|
|
1829
1829
|
function _a(e, t, r) {
|
|
@@ -1855,7 +1855,7 @@ function _a(e, t, r) {
|
|
|
1855
1855
|
() => c.getCurrentResult()
|
|
1856
1856
|
), H.useEffect(() => {
|
|
1857
1857
|
c.setOptions(i);
|
|
1858
|
-
}, [i, c]),
|
|
1858
|
+
}, [i, c]), Ia(i, f))
|
|
1859
1859
|
throw or(i, c, a);
|
|
1860
1860
|
if (va({
|
|
1861
1861
|
result: f,
|
|
@@ -1868,7 +1868,7 @@ function _a(e, t, r) {
|
|
|
1868
1868
|
return n.getDefaultOptions().queries?._experimental_afterQuery?.(
|
|
1869
1869
|
i,
|
|
1870
1870
|
f
|
|
1871
|
-
), i.experimental_prefetchInRender && !me &&
|
|
1871
|
+
), i.experimental_prefetchInRender && !me && Aa(f, s) && (o ? (
|
|
1872
1872
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
1873
1873
|
or(i, c, a)
|
|
1874
1874
|
) : (
|
|
@@ -2913,19 +2913,19 @@ function fr(e, t, r) {
|
|
|
2913
2913
|
throw new Error("Random bytes length must be >= 16");
|
|
2914
2914
|
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, En(s);
|
|
2915
2915
|
}
|
|
2916
|
-
const mr = globalThis.crypto, Tn = (e) => `${fr()}${fr()}`.slice(0, e),
|
|
2916
|
+
const mr = globalThis.crypto, Tn = (e) => `${fr()}${fr()}`.slice(0, e), An = (e) => btoa(
|
|
2917
2917
|
[...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
|
|
2918
2918
|
);
|
|
2919
|
-
async function
|
|
2919
|
+
async function In(e) {
|
|
2920
2920
|
if (!mr.subtle)
|
|
2921
2921
|
throw new Error(
|
|
2922
2922
|
"crypto.subtle is available only in secure contexts (HTTPS)."
|
|
2923
2923
|
);
|
|
2924
2924
|
const t = new TextEncoder().encode(e), r = await mr.subtle.digest("SHA-256", t);
|
|
2925
|
-
return
|
|
2925
|
+
return An(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
2926
2926
|
}
|
|
2927
2927
|
async function _n(e) {
|
|
2928
|
-
const r = Tn(43), s = await
|
|
2928
|
+
const r = Tn(43), s = await In(r);
|
|
2929
2929
|
return {
|
|
2930
2930
|
code_verifier: r,
|
|
2931
2931
|
code_challenge: s
|
|
@@ -3433,7 +3433,7 @@ const ve = "Your session has expired. For your security, please log in again to
|
|
|
3433
3433
|
schema: Be.VERIFY_AUTHENTICATION,
|
|
3434
3434
|
method: "verifyPasskeyAuthentication"
|
|
3435
3435
|
}
|
|
3436
|
-
},
|
|
3436
|
+
}, Ae = async ({
|
|
3437
3437
|
accessToken: e,
|
|
3438
3438
|
type: t,
|
|
3439
3439
|
clientId: r,
|
|
@@ -3696,17 +3696,17 @@ class Zn {
|
|
|
3696
3696
|
};
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
3699
|
-
const
|
|
3699
|
+
const Ie = () => {
|
|
3700
3700
|
throw new Error(qn);
|
|
3701
3701
|
}, is = Lt({
|
|
3702
3702
|
isAuthenticated: !1,
|
|
3703
3703
|
isLoading: !1,
|
|
3704
|
-
login:
|
|
3705
|
-
logout:
|
|
3706
|
-
getAccessToken:
|
|
3707
|
-
getIdToken:
|
|
3708
|
-
registeringForPasskey:
|
|
3709
|
-
loginWithPasskey:
|
|
3704
|
+
login: Ie,
|
|
3705
|
+
logout: Ie,
|
|
3706
|
+
getAccessToken: Ie,
|
|
3707
|
+
getIdToken: Ie,
|
|
3708
|
+
registeringForPasskey: Ie,
|
|
3709
|
+
loginWithPasskey: Ie,
|
|
3710
3710
|
logoutReason: "",
|
|
3711
3711
|
authenticationType: ""
|
|
3712
3712
|
}), ei = () => ({
|
|
@@ -3759,7 +3759,7 @@ const Ae = () => {
|
|
|
3759
3759
|
{
|
|
3760
3760
|
key: `${Ge}::${r}::@@refresh@@`
|
|
3761
3761
|
}
|
|
3762
|
-
), [
|
|
3762
|
+
), [A, K, , R] = Ke({
|
|
3763
3763
|
key: `${Ge}::${r}::@@nonce@@`
|
|
3764
3764
|
}), J = new Zn(m, b), C = Y(() => {
|
|
3765
3765
|
c("removeLocalStorage: removing local storage"), l(), g(), O(), R();
|
|
@@ -3868,7 +3868,7 @@ const Ae = () => {
|
|
|
3868
3868
|
}), !0) : (v(St), !1);
|
|
3869
3869
|
}
|
|
3870
3870
|
return !1;
|
|
3871
|
-
},
|
|
3871
|
+
}, I = async (w) => {
|
|
3872
3872
|
w?.preventDefault(), await x(Bn);
|
|
3873
3873
|
}, N = async () => {
|
|
3874
3874
|
const { isAuthenticated: w, user: T } = i;
|
|
@@ -3885,7 +3885,7 @@ const Ae = () => {
|
|
|
3885
3885
|
endpoint: n,
|
|
3886
3886
|
clientId: r,
|
|
3887
3887
|
userId: T.userId,
|
|
3888
|
-
nonce:
|
|
3888
|
+
nonce: A,
|
|
3889
3889
|
domain: s
|
|
3890
3890
|
});
|
|
3891
3891
|
return S.status && S.status === "success" && S.newAccessToken ? (p(S.newAccessToken), E(S.newRefreshToken), S.newAccessToken) : (c(
|
|
@@ -3902,7 +3902,7 @@ const Ae = () => {
|
|
|
3902
3902
|
}
|
|
3903
3903
|
}, V = () => i.isAuthenticated && d ? d : "", ce = async () => {
|
|
3904
3904
|
const { user: w } = i;
|
|
3905
|
-
let T = await
|
|
3905
|
+
let T = await Ae({
|
|
3906
3906
|
endpoint: n,
|
|
3907
3907
|
accessToken: m,
|
|
3908
3908
|
clientId: r,
|
|
@@ -3918,7 +3918,7 @@ const Ae = () => {
|
|
|
3918
3918
|
const S = await $n({
|
|
3919
3919
|
optionsJSON: T.data
|
|
3920
3920
|
});
|
|
3921
|
-
return T = await
|
|
3921
|
+
return T = await Ae({
|
|
3922
3922
|
endpoint: n,
|
|
3923
3923
|
accessToken: m,
|
|
3924
3924
|
clientId: r,
|
|
@@ -3931,7 +3931,7 @@ const Ae = () => {
|
|
|
3931
3931
|
}
|
|
3932
3932
|
}), !!(T.status && T.data.length > 0);
|
|
3933
3933
|
} catch {
|
|
3934
|
-
return await
|
|
3934
|
+
return await Ae({
|
|
3935
3935
|
endpoint: n,
|
|
3936
3936
|
accessToken: m,
|
|
3937
3937
|
clientId: r,
|
|
@@ -3950,7 +3950,7 @@ const Ae = () => {
|
|
|
3950
3950
|
const w = wt();
|
|
3951
3951
|
K(w), c("loginWithPasskey");
|
|
3952
3952
|
const T = wt();
|
|
3953
|
-
let S = await
|
|
3953
|
+
let S = await Ae({
|
|
3954
3954
|
endpoint: n,
|
|
3955
3955
|
accessToken: m,
|
|
3956
3956
|
clientId: r,
|
|
@@ -3965,7 +3965,7 @@ const Ae = () => {
|
|
|
3965
3965
|
const le = await Dn({
|
|
3966
3966
|
optionsJSON: S.data
|
|
3967
3967
|
});
|
|
3968
|
-
return S = await
|
|
3968
|
+
return S = await Ae({
|
|
3969
3969
|
endpoint: n,
|
|
3970
3970
|
accessToken: m,
|
|
3971
3971
|
clientId: r,
|
|
@@ -3991,7 +3991,7 @@ const Ae = () => {
|
|
|
3991
3991
|
}
|
|
3992
3992
|
}), !0) : (v(St), !1);
|
|
3993
3993
|
} catch {
|
|
3994
|
-
return await
|
|
3994
|
+
return await Ae({
|
|
3995
3995
|
endpoint: n,
|
|
3996
3996
|
accessToken: m,
|
|
3997
3997
|
clientId: r,
|
|
@@ -4014,7 +4014,7 @@ const Ae = () => {
|
|
|
4014
4014
|
value: {
|
|
4015
4015
|
...i,
|
|
4016
4016
|
login: _,
|
|
4017
|
-
logout:
|
|
4017
|
+
logout: I,
|
|
4018
4018
|
getAccessToken: N,
|
|
4019
4019
|
getIdToken: V,
|
|
4020
4020
|
registeringForPasskey: ce,
|
|
@@ -4042,7 +4042,7 @@ const os = () => {
|
|
|
4042
4042
|
if (!e)
|
|
4043
4043
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
|
4044
4044
|
return e;
|
|
4045
|
-
}, nc = "I'm having trouble right now. Please try again later.", ic = "action-search", oc = "action-sort", cc = "action-toggle-prompt", lc = "action-reset-prompt", cs = "sassy-saint-", uc = "search", dc = "sort", hc = "sort-timestamp", fc = "sort-token-usage", mc = "sort-memory-direction", pc = "sort-memory-column", yc = "favorites-only", gc = "private-disclosure", bc = "reasoning-disclosure", ls = "service-worker", Er = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b",
|
|
4045
|
+
}, nc = "I'm having trouble right now. Please try again later.", ic = "action-search", oc = "action-sort", cc = "action-toggle-prompt", lc = "action-reset-prompt", cs = "sassy-saint-", uc = "search", dc = "sort", hc = "sort-timestamp", fc = "sort-token-usage", mc = "sort-memory-direction", pc = "sort-memory-column", yc = "favorites-only", gc = "private-disclosure", bc = "reasoning-disclosure", ls = "service-worker", Ec = "chat-id", Er = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", wc = 10, Sc = 30, vc = "av-prompt", Tc = "av-prompt-editable", Ac = "size-5 sm:size-4", Ic = 30, _c = 15, Rc = 130, Cc = 160, Oc = 16, kc = 24, Nc = 76, Pc = 76;
|
|
4046
4046
|
let vt = null, se = !1;
|
|
4047
4047
|
typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("controllerchange", () => {
|
|
4048
4048
|
se && (se = !1, window.location.reload());
|
|
@@ -4092,7 +4092,7 @@ async function ii() {
|
|
|
4092
4092
|
return console.error("[SW] Service worker un-registration failed:", e), !1;
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
|
-
async function
|
|
4095
|
+
async function $c(e) {
|
|
4096
4096
|
if (ni(e), e) {
|
|
4097
4097
|
se = !0;
|
|
4098
4098
|
try {
|
|
@@ -4147,7 +4147,7 @@ async function oi() {
|
|
|
4147
4147
|
function Tt() {
|
|
4148
4148
|
return "unknown";
|
|
4149
4149
|
}
|
|
4150
|
-
async function
|
|
4150
|
+
async function xc(e = {}) {
|
|
4151
4151
|
const { urlLimitPerCache: t } = e;
|
|
4152
4152
|
if (!("caches" in window))
|
|
4153
4153
|
return { version: Tt(), caches: [], totalItems: 0 };
|
|
@@ -4174,11 +4174,11 @@ async function $c(e = {}) {
|
|
|
4174
4174
|
return console.warn("[SW] getCacheInfo failed:", r), { version: Tt(), caches: [], totalItems: 0 };
|
|
4175
4175
|
}
|
|
4176
4176
|
}
|
|
4177
|
-
const
|
|
4177
|
+
const Mc = "user", Dc = "assistant", Lc = "data", Ue = "OpenAI", lt = "Anthropic", ut = "Google", ds = "Perplexity", Uc = Ue, ci = [
|
|
4178
4178
|
Ue,
|
|
4179
4179
|
lt,
|
|
4180
4180
|
ut
|
|
4181
|
-
], hs = "gpt-5", fs = "gpt-5-mini", ms = "gpt-5-nano", ps = "gpt-4.1-nano", ys = "claude-haiku-4-5-20251001", gs = "claude-sonnet-4-5-20250929", bs = "gemini-2.5-flash", Es = "gemini-2.5-pro", ws = "sonar", Ss = "sonar-pro",
|
|
4181
|
+
], hs = "gpt-5", fs = "gpt-5-mini", ms = "gpt-5-nano", ps = "gpt-4.1-nano", ys = "claude-haiku-4-5-20251001", gs = "claude-sonnet-4-5-20250929", bs = "gemini-2.5-flash", Es = "gemini-2.5-pro", ws = "sonar", Ss = "sonar-pro", Fc = {
|
|
4182
4182
|
[hs]: "GPT-5",
|
|
4183
4183
|
[fs]: "GPT-5 Mini",
|
|
4184
4184
|
[ms]: "GPT-5 Nano",
|
|
@@ -4211,7 +4211,7 @@ const xc = "user", Mc = "assistant", Dc = "data", Ue = "OpenAI", lt = "Anthropic
|
|
|
4211
4211
|
],
|
|
4212
4212
|
[ut]: [mi],
|
|
4213
4213
|
[ds]: [pi]
|
|
4214
|
-
},
|
|
4214
|
+
}, Hc = "x-diggidy-chat-id", Kc = "timestamp", Gc = "tokenUsage", k = "Diggidy", Bc = {
|
|
4215
4215
|
TOOL: {
|
|
4216
4216
|
MEMORIES: "getUserMemories"
|
|
4217
4217
|
},
|
|
@@ -4219,14 +4219,14 @@ const xc = "user", Mc = "assistant", Dc = "data", Ue = "OpenAI", lt = "Anthropic
|
|
|
4219
4219
|
ATTACHMENTS: "addon:attachments",
|
|
4220
4220
|
REASONING: "addon:reasoning"
|
|
4221
4221
|
}
|
|
4222
|
-
},
|
|
4222
|
+
}, Wc = (e) => {
|
|
4223
4223
|
for (const [t, r] of Object.entries(
|
|
4224
4224
|
yi
|
|
4225
4225
|
))
|
|
4226
4226
|
if (r.some((s) => e.startsWith(s)))
|
|
4227
4227
|
return t;
|
|
4228
4228
|
return null;
|
|
4229
|
-
},
|
|
4229
|
+
}, qc = (e) => {
|
|
4230
4230
|
if (!e || e.length === 0)
|
|
4231
4231
|
return [];
|
|
4232
4232
|
const t = /* @__PURE__ */ new Set();
|
|
@@ -4249,13 +4249,13 @@ const xc = "user", Mc = "assistant", Dc = "data", Ue = "OpenAI", lt = "Anthropic
|
|
|
4249
4249
|
break;
|
|
4250
4250
|
}
|
|
4251
4251
|
return t;
|
|
4252
|
-
},
|
|
4252
|
+
}, jc = (e) => {
|
|
4253
4253
|
const t = gi(e);
|
|
4254
4254
|
for (const r of t.values())
|
|
4255
4255
|
if (r.length > 1)
|
|
4256
4256
|
return !0;
|
|
4257
4257
|
return !1;
|
|
4258
|
-
},
|
|
4258
|
+
}, Vc = (e, t) => !e || !t || t.length === 0 ? !1 : t.includes(e);
|
|
4259
4259
|
function bi(e) {
|
|
4260
4260
|
return e ? new Set(e) : null;
|
|
4261
4261
|
}
|
|
@@ -4572,7 +4572,7 @@ const G = {
|
|
|
4572
4572
|
} catch (r) {
|
|
4573
4573
|
throw console.error(r), r;
|
|
4574
4574
|
}
|
|
4575
|
-
},
|
|
4575
|
+
}, Qc = async ({
|
|
4576
4576
|
provider: e,
|
|
4577
4577
|
model: t,
|
|
4578
4578
|
accessToken: r,
|
|
@@ -4587,7 +4587,7 @@ const G = {
|
|
|
4587
4587
|
type: z.SET_USER_PREFERENCES,
|
|
4588
4588
|
params: a
|
|
4589
4589
|
});
|
|
4590
|
-
},
|
|
4590
|
+
}, Jc = async ({
|
|
4591
4591
|
plan: e,
|
|
4592
4592
|
accessToken: t,
|
|
4593
4593
|
username: r
|
|
@@ -4606,13 +4606,13 @@ const G = {
|
|
|
4606
4606
|
PREFERENCES: "preferences",
|
|
4607
4607
|
USAGE: "usage",
|
|
4608
4608
|
USER_MEMORIES: "userMemories"
|
|
4609
|
-
},
|
|
4609
|
+
}, Yc = () => ye({
|
|
4610
4610
|
queryKey: [oe.CAPABILITIES],
|
|
4611
4611
|
queryFn: async () => await be({
|
|
4612
4612
|
type: z.GET_SERVER_CAPABILITIES,
|
|
4613
4613
|
noAuth: !0
|
|
4614
4614
|
})
|
|
4615
|
-
}),
|
|
4615
|
+
}), zc = () => ye({
|
|
4616
4616
|
queryKey: [oe.CHANGELOGS],
|
|
4617
4617
|
queryFn: async () => await be({
|
|
4618
4618
|
type: z.GET_CHANGELOGS,
|
|
@@ -4633,7 +4633,7 @@ const G = {
|
|
|
4633
4633
|
type: z.GET_USER_PREFERENCES,
|
|
4634
4634
|
getAccessToken: t
|
|
4635
4635
|
})
|
|
4636
|
-
}),
|
|
4636
|
+
}), Xc = ({
|
|
4637
4637
|
user: e,
|
|
4638
4638
|
getAccessToken: t
|
|
4639
4639
|
}) => ye({
|
|
@@ -4645,7 +4645,7 @@ const G = {
|
|
|
4645
4645
|
type: z.GET_CHATS_STATS,
|
|
4646
4646
|
getAccessToken: t
|
|
4647
4647
|
})
|
|
4648
|
-
}),
|
|
4648
|
+
}), Zc = ({
|
|
4649
4649
|
user: e,
|
|
4650
4650
|
searchString: t,
|
|
4651
4651
|
sortDirection: r,
|
|
@@ -4669,7 +4669,7 @@ const G = {
|
|
|
4669
4669
|
type: z.GET_CHATS,
|
|
4670
4670
|
getAccessToken: a
|
|
4671
4671
|
})
|
|
4672
|
-
}),
|
|
4672
|
+
}), el = ({
|
|
4673
4673
|
user: e,
|
|
4674
4674
|
month: t,
|
|
4675
4675
|
year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
|
|
@@ -4687,7 +4687,7 @@ const G = {
|
|
|
4687
4687
|
type: z.GET_USAGE,
|
|
4688
4688
|
getAccessToken: s
|
|
4689
4689
|
})
|
|
4690
|
-
}),
|
|
4690
|
+
}), tl = ({
|
|
4691
4691
|
user: e,
|
|
4692
4692
|
query: t,
|
|
4693
4693
|
getAccessToken: r,
|
|
@@ -4700,7 +4700,7 @@ const G = {
|
|
|
4700
4700
|
type: z.GET_USER_MEMORIES,
|
|
4701
4701
|
getAccessToken: r
|
|
4702
4702
|
})
|
|
4703
|
-
}),
|
|
4703
|
+
}), rl = ({
|
|
4704
4704
|
getAccessToken: e
|
|
4705
4705
|
}) => {
|
|
4706
4706
|
const t = it();
|
|
@@ -4724,7 +4724,7 @@ const G = {
|
|
|
4724
4724
|
});
|
|
4725
4725
|
}
|
|
4726
4726
|
});
|
|
4727
|
-
},
|
|
4727
|
+
}, sl = ({
|
|
4728
4728
|
getAccessToken: e
|
|
4729
4729
|
}) => {
|
|
4730
4730
|
const t = it();
|
|
@@ -4781,7 +4781,7 @@ const G = {
|
|
|
4781
4781
|
} catch (a) {
|
|
4782
4782
|
return Promise.reject(a);
|
|
4783
4783
|
}
|
|
4784
|
-
},
|
|
4784
|
+
}, As = Lt(
|
|
4785
4785
|
void 0
|
|
4786
4786
|
), wr = {
|
|
4787
4787
|
capabilities: /* @__PURE__ */ new Set(),
|
|
@@ -4884,10 +4884,10 @@ const G = {
|
|
|
4884
4884
|
}),
|
|
4885
4885
|
[s, c, f]
|
|
4886
4886
|
);
|
|
4887
|
-
return /* @__PURE__ */ h(
|
|
4887
|
+
return /* @__PURE__ */ h(As.Provider, { value: d, children: r });
|
|
4888
4888
|
};
|
|
4889
|
-
function
|
|
4890
|
-
const e = nt(
|
|
4889
|
+
function al() {
|
|
4890
|
+
const e = nt(As);
|
|
4891
4891
|
if (!e)
|
|
4892
4892
|
throw new Error("useEntitlements must be used within EntitlementsProvider");
|
|
4893
4893
|
return e;
|
|
@@ -4904,7 +4904,7 @@ function Ti(e) {
|
|
|
4904
4904
|
nanoseconds: Math.trunc(Sr(e * 1e6) % 1e3)
|
|
4905
4905
|
};
|
|
4906
4906
|
}
|
|
4907
|
-
function
|
|
4907
|
+
function Ai(e) {
|
|
4908
4908
|
return {
|
|
4909
4909
|
days: e / 86400000n,
|
|
4910
4910
|
hours: e / 3600000n % 24n,
|
|
@@ -4915,7 +4915,7 @@ function Ii(e) {
|
|
|
4915
4915
|
nanoseconds: 0n
|
|
4916
4916
|
};
|
|
4917
4917
|
}
|
|
4918
|
-
function
|
|
4918
|
+
function Ii(e) {
|
|
4919
4919
|
switch (typeof e) {
|
|
4920
4920
|
case "number": {
|
|
4921
4921
|
if (Number.isFinite(e))
|
|
@@ -4923,7 +4923,7 @@ function Ai(e) {
|
|
|
4923
4923
|
break;
|
|
4924
4924
|
}
|
|
4925
4925
|
case "bigint":
|
|
4926
|
-
return
|
|
4926
|
+
return Ai(e);
|
|
4927
4927
|
}
|
|
4928
4928
|
throw new TypeError("Expected a finite number or bigint");
|
|
4929
4929
|
}
|
|
@@ -4948,7 +4948,7 @@ function ki(e, t) {
|
|
|
4948
4948
|
m += t.verbose ? " " + Ri(u, d) : l;
|
|
4949
4949
|
a.push(m);
|
|
4950
4950
|
}
|
|
4951
|
-
}, o =
|
|
4951
|
+
}, o = Ii(e), c = BigInt(o.days);
|
|
4952
4952
|
if (t.hideYearAndDays ? i(BigInt(c) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? i(c, "day", "d") : (i(c / 365n, "year", "y"), i(c % 365n, "day", "d")), i(Number(o.hours), "hour", "h")), i(Number(o.minutes), "minute", "m"), !t.hideSeconds)
|
|
4953
4953
|
if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3 && !t.subSecondsAsDecimals) {
|
|
4954
4954
|
const d = Number(o.seconds), u = Number(o.milliseconds), l = Number(o.microseconds), m = Number(o.nanoseconds);
|
|
@@ -4972,7 +4972,7 @@ function ki(e, t) {
|
|
|
4972
4972
|
const f = t.colonNotation ? ":" : " ";
|
|
4973
4973
|
return typeof t.unitCount == "number" && (a = a.slice(0, Math.max(t.unitCount, 1))), s + a.join(f);
|
|
4974
4974
|
}
|
|
4975
|
-
const
|
|
4975
|
+
const Is = process.env.NODE_ENV === "production", qt = !Is, _s = qt ? "gizmette.local.com" : "gizmette.com", jt = (e, t) => {
|
|
4976
4976
|
const r = e < 0 ? t ? "W" : "S" : t ? "E" : "N", s = 0 | Math.abs(e), a = 0 | Math.abs(e) * 60 % 60, n = (0 | Math.abs(e) * 60 % 1 * 6e3) / 100;
|
|
4977
4977
|
return {
|
|
4978
4978
|
dir: r,
|
|
@@ -5141,7 +5141,7 @@ const Ui = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5141
5141
|
theme: c,
|
|
5142
5142
|
transition: f,
|
|
5143
5143
|
icon: d
|
|
5144
|
-
}), Qi = (e, t) => t === "ready" && !!e && e.length > 0,
|
|
5144
|
+
}), Qi = (e, t) => t === "ready" && !!e && e.length > 0, nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: _s, canEvaluateModels: Qi, convertCamelCaseToReadable: ji, convertDDToDMS: jt, convertLatitudeToDMS: Ni, convertLongitudeToDMS: Pi, debounce: Gi, durationFormatter: Hi, extractAverage: Li, getCurrentGeoLocation: $i, getLayoutPaddingClass: Cs, getMessageContaintWrapperClass: Rs, isDev: qt, isLastMessageFromRole: Ui, isPWAMode: qi, isProbablyMobile: ks, isProbablyTablet: Ns, isProbablyiPad: Wi, isProbablyiPhone: Bi, isProd: Is, isTauri: Os, numberFormatter: Fi, obfuscate: xi, pluralize: Ki, renderDataAsList: Di, toastOptions: Vi, unObfuscate: Mi }, Symbol.toStringTag, { value: "Module" })), vr = "av-button", dt = "icon", Vt = "button", Mt = "link", Ji = ({
|
|
5145
5145
|
type: e,
|
|
5146
5146
|
size: t,
|
|
5147
5147
|
labelRight: r,
|
|
@@ -5605,7 +5605,7 @@ const We = {
|
|
|
5605
5605
|
radius: b = "large",
|
|
5606
5606
|
variant: E = "secondary",
|
|
5607
5607
|
iconClassName: O,
|
|
5608
|
-
animated:
|
|
5608
|
+
animated: A = !1,
|
|
5609
5609
|
...K
|
|
5610
5610
|
}, R) => {
|
|
5611
5611
|
const J = Ps({
|
|
@@ -5624,26 +5624,26 @@ const We = {
|
|
|
5624
5624
|
align: g,
|
|
5625
5625
|
radius: b,
|
|
5626
5626
|
variant: E,
|
|
5627
|
-
animated:
|
|
5628
|
-
}), C = ao({ mode: r, raw: o, iconClassName: O, variant: E }), v = no({ animated:
|
|
5627
|
+
animated: A
|
|
5628
|
+
}), C = ao({ mode: r, raw: o, iconClassName: O, variant: E }), v = no({ animated: A }), x = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, I] = Ve(), [N, V] = Ve(), [ce, Ee] = Ve(), w = j(0), T = j(null), S = j(null), le = xs([R, T]);
|
|
5629
5629
|
return Ye(() => {
|
|
5630
|
-
ce && ce.current &&
|
|
5631
|
-
}, [Ee, ce, u, c,
|
|
5632
|
-
if (T && T.current &&
|
|
5630
|
+
ce && ce.current && A && (w.current = Ee.width + lo[u] + (c ? 0 : uo), T.current && !T.current.style.width && (T.current.style.width = `${We[u]}px`));
|
|
5631
|
+
}, [Ee, ce, u, c, A]), Ye(() => {
|
|
5632
|
+
if (T && T.current && A) {
|
|
5633
5633
|
let ue = We[u];
|
|
5634
|
-
l && _ &&
|
|
5634
|
+
l && _ && I.width > 0 ? ue = I.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 > We[u] && (S.current = setTimeout(() => {
|
|
5635
5635
|
_.current && l && (_.current.style.opacity = "1"), N.current && m && (N.current.style.opacity = "1"), S.current = null;
|
|
5636
5636
|
}, ho * 0.8))), ue === We[u] && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"));
|
|
5637
5637
|
}
|
|
5638
5638
|
}, [
|
|
5639
|
-
|
|
5639
|
+
I,
|
|
5640
5640
|
l,
|
|
5641
5641
|
_,
|
|
5642
5642
|
V,
|
|
5643
5643
|
m,
|
|
5644
5644
|
N,
|
|
5645
5645
|
u,
|
|
5646
|
-
|
|
5646
|
+
A
|
|
5647
5647
|
]), W(() => () => {
|
|
5648
5648
|
S.current && clearTimeout(S.current);
|
|
5649
5649
|
}, []), /* @__PURE__ */ h(
|
|
@@ -5663,7 +5663,7 @@ const We = {
|
|
|
5663
5663
|
labelRef: N,
|
|
5664
5664
|
labelClass: v,
|
|
5665
5665
|
labelInnerClass: "pr-2",
|
|
5666
|
-
initiallyHidden:
|
|
5666
|
+
initiallyHidden: A
|
|
5667
5667
|
}
|
|
5668
5668
|
),
|
|
5669
5669
|
/* @__PURE__ */ h("span", { ref: ce, className: C, children: e }),
|
|
@@ -5674,7 +5674,7 @@ const We = {
|
|
|
5674
5674
|
labelRef: _,
|
|
5675
5675
|
labelClass: v,
|
|
5676
5676
|
labelInnerClass: "pl-2",
|
|
5677
|
-
initiallyHidden:
|
|
5677
|
+
initiallyHidden: A
|
|
5678
5678
|
}
|
|
5679
5679
|
)
|
|
5680
5680
|
] })
|
|
@@ -6055,7 +6055,7 @@ const So = "av-flexgrid", qe = "av-flexgrid-item", at = 0.25, Dt = ie.createCont
|
|
|
6055
6055
|
"box-border flex flex-wrap"
|
|
6056
6056
|
), l = { columnGap: r, rowGap: s };
|
|
6057
6057
|
return t ? /* @__PURE__ */ h("div", { className: t, children: /* @__PURE__ */ h("div", { className: u, style: d, ...f, children: /* @__PURE__ */ h(Dt.Provider, { value: l, children: e }) }) }) : /* @__PURE__ */ h("div", { className: u, style: d, ...f, children: /* @__PURE__ */ h(Dt.Provider, { value: l, children: e }) });
|
|
6058
|
-
},
|
|
6058
|
+
}, At = (e, t) => y({
|
|
6059
6059
|
"basis-1/12": e === 1 && !t,
|
|
6060
6060
|
"sm:basis-1/12": e === 1 && t === "sm",
|
|
6061
6061
|
"md:basis-1/12": e === 1 && t === "md",
|
|
@@ -6136,14 +6136,14 @@ const So = "av-flexgrid", qe = "av-flexgrid-item", at = 0.25, Dt = ie.createCont
|
|
|
6136
6136
|
return y(e, qe, "box-border basis-auto");
|
|
6137
6137
|
if (typeof t == "number")
|
|
6138
6138
|
return y(e, qe, "box-border max-w-full", {
|
|
6139
|
-
[`${
|
|
6139
|
+
[`${At(t)}`]: !0
|
|
6140
6140
|
});
|
|
6141
6141
|
if (typeof t == "string")
|
|
6142
6142
|
return y(e, qe, "box-border basis-auto", {
|
|
6143
6143
|
"max-w-full grow": t === "auto"
|
|
6144
6144
|
});
|
|
6145
6145
|
if (typeof t == "object") {
|
|
6146
|
-
const r = Object.entries(t).map(([s, a]) => s === "fallback" ?
|
|
6146
|
+
const r = Object.entries(t).map(([s, a]) => s === "fallback" ? At(a) : At(a, s));
|
|
6147
6147
|
return y(
|
|
6148
6148
|
e,
|
|
6149
6149
|
qe,
|
|
@@ -6179,7 +6179,7 @@ try {
|
|
|
6179
6179
|
});
|
|
6180
6180
|
} catch {
|
|
6181
6181
|
}
|
|
6182
|
-
const Ds = "SET_ANNOUNCEMENT", Ls = "CLEAR_ANNOUNCEMENT",
|
|
6182
|
+
const Ds = "SET_ANNOUNCEMENT", Ls = "CLEAR_ANNOUNCEMENT", Ao = {
|
|
6183
6183
|
alert: null,
|
|
6184
6184
|
alertdialog: null,
|
|
6185
6185
|
log: "polite",
|
|
@@ -6187,7 +6187,7 @@ const Ds = "SET_ANNOUNCEMENT", Ls = "CLEAR_ANNOUNCEMENT", Io = {
|
|
|
6187
6187
|
progressbar: null,
|
|
6188
6188
|
status: "polite",
|
|
6189
6189
|
timer: "assertive"
|
|
6190
|
-
},
|
|
6190
|
+
}, Io = (e, t) => {
|
|
6191
6191
|
switch (t?.type) {
|
|
6192
6192
|
case Ds:
|
|
6193
6193
|
return {
|
|
@@ -6209,7 +6209,7 @@ const Ds = "SET_ANNOUNCEMENT", Ls = "CLEAR_ANNOUNCEMENT", Io = {
|
|
|
6209
6209
|
t({
|
|
6210
6210
|
type: Ls
|
|
6211
6211
|
}), typeof e == "function" && e();
|
|
6212
|
-
},
|
|
6212
|
+
}, Ar = ({
|
|
6213
6213
|
children: e,
|
|
6214
6214
|
clearAnnouncementDelay: t,
|
|
6215
6215
|
clearAnnouncementTimeoutRef: r,
|
|
@@ -6235,13 +6235,13 @@ const Ds = "SET_ANNOUNCEMENT", Ls = "CLEAR_ANNOUNCEMENT", Io = {
|
|
|
6235
6235
|
onAnnouncementClear: n,
|
|
6236
6236
|
dispatch: i
|
|
6237
6237
|
}) => {
|
|
6238
|
-
clearTimeout(t.current), r ? t.current = setTimeout(
|
|
6238
|
+
clearTimeout(t.current), r ? t.current = setTimeout(Ar, r, {
|
|
6239
6239
|
children: e,
|
|
6240
6240
|
clearAnnouncementDelay: s,
|
|
6241
6241
|
clearAnnouncementTimeoutRef: a,
|
|
6242
6242
|
onAnnouncementClear: n,
|
|
6243
6243
|
dispatch: i
|
|
6244
|
-
}) :
|
|
6244
|
+
}) : Ar({
|
|
6245
6245
|
children: e,
|
|
6246
6246
|
clearAnnouncementDelay: s,
|
|
6247
6247
|
clearAnnouncementTimeoutRef: a,
|
|
@@ -6260,11 +6260,11 @@ function Us({
|
|
|
6260
6260
|
visible: o,
|
|
6261
6261
|
...c
|
|
6262
6262
|
}) {
|
|
6263
|
-
const f = j(null), d = j(null), [u, l] = Cr(
|
|
6263
|
+
const f = j(null), d = j(null), [u, l] = Cr(Io, {
|
|
6264
6264
|
announcement: null
|
|
6265
6265
|
});
|
|
6266
6266
|
let m = r;
|
|
6267
|
-
typeof m > "u" && (m = s ?
|
|
6267
|
+
typeof m > "u" && (m = s ? Ao[s] : "assertive"), W(() => {
|
|
6268
6268
|
Ro({
|
|
6269
6269
|
announcementTimeoutRef: f,
|
|
6270
6270
|
announcementDelay: a,
|
|
@@ -6307,7 +6307,7 @@ try {
|
|
|
6307
6307
|
});
|
|
6308
6308
|
} catch {
|
|
6309
6309
|
}
|
|
6310
|
-
const Fs = "av-text-input", Co = "av-text-input-wrapper",
|
|
6310
|
+
const Fs = "av-text-input", Co = "av-text-input-wrapper", It = "av-text-input-helper-text", Oo = ({
|
|
6311
6311
|
mode: e
|
|
6312
6312
|
}) => y({
|
|
6313
6313
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
|
@@ -6363,18 +6363,18 @@ const Fs = "av-text-input", Co = "av-text-input-wrapper", At = "av-text-input-he
|
|
|
6363
6363
|
return "";
|
|
6364
6364
|
if (s)
|
|
6365
6365
|
return y(
|
|
6366
|
-
|
|
6366
|
+
It,
|
|
6367
6367
|
"absolute px-2 cursor-not-allowed opacity-50 font-medium"
|
|
6368
6368
|
);
|
|
6369
6369
|
if (!e)
|
|
6370
|
-
return y(
|
|
6370
|
+
return y(It, "absolute px-2 font-medium", {
|
|
6371
6371
|
"text-copy-lighter": r === "dark",
|
|
6372
6372
|
"text-copy-dark": r === "light",
|
|
6373
6373
|
"text-copy-dark dark:text-copy-lighter": r === "system",
|
|
6374
6374
|
"text-copy-lighter dark:text-copy-dark": r === "alt-system"
|
|
6375
6375
|
});
|
|
6376
6376
|
if (e)
|
|
6377
|
-
return y(
|
|
6377
|
+
return y(It, "absolute px-2 font-medium", {
|
|
6378
6378
|
"text-copy-error-light bg-surface-darker": r === "dark",
|
|
6379
6379
|
"text-copy-error-dark": r === "light",
|
|
6380
6380
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
|
@@ -6466,8 +6466,8 @@ const Fs = "av-text-input", Co = "av-text-input-wrapper", At = "av-text-input-he
|
|
|
6466
6466
|
rightElementClassName: b,
|
|
6467
6467
|
size: E = "md",
|
|
6468
6468
|
...O
|
|
6469
|
-
},
|
|
6470
|
-
const [K, R] = Ve(), [J, C] = ne(0), v = Ms({ id: e, prefix: `${Fs}-` }), x = `${t} error, ${p}`, _ = j(null),
|
|
6469
|
+
}, A) => {
|
|
6470
|
+
const [K, R] = Ve(), [J, C] = ne(0), v = Ms({ id: e, prefix: `${Fs}-` }), x = `${t} error, ${p}`, _ = j(null), I = j(null), N = {
|
|
6471
6471
|
xs: { label: "-25px", helperText: "30px" },
|
|
6472
6472
|
sm: { label: "-29px", helperText: "34px" },
|
|
6473
6473
|
md: { label: "-33px", helperText: "38px" },
|
|
@@ -6489,7 +6489,7 @@ const Fs = "av-text-input", Co = "av-text-input-wrapper", At = "av-text-input-he
|
|
|
6489
6489
|
R && R.width && C(R.width + 18 + 10);
|
|
6490
6490
|
}, [R]), Ye(() => {
|
|
6491
6491
|
const { label: ce, helperText: Ee } = N[E];
|
|
6492
|
-
_?.current?.style.setProperty("--av-text-input-label", ce),
|
|
6492
|
+
_?.current?.style.setProperty("--av-text-input-label", ce), I?.current?.style.setProperty(
|
|
6493
6493
|
"--av-text-input-helper-text",
|
|
6494
6494
|
Ee
|
|
6495
6495
|
);
|
|
@@ -6506,7 +6506,7 @@ const Fs = "av-text-input", Co = "av-text-input-wrapper", At = "av-text-input-he
|
|
|
6506
6506
|
/* @__PURE__ */ h(
|
|
6507
6507
|
"input",
|
|
6508
6508
|
{
|
|
6509
|
-
ref:
|
|
6509
|
+
ref: A,
|
|
6510
6510
|
id: v,
|
|
6511
6511
|
name: t,
|
|
6512
6512
|
type: m,
|
|
@@ -6532,7 +6532,7 @@ const Fs = "av-text-input", Co = "av-text-input-wrapper", At = "av-text-input-he
|
|
|
6532
6532
|
p && /* @__PURE__ */ h(
|
|
6533
6533
|
"div",
|
|
6534
6534
|
{
|
|
6535
|
-
ref:
|
|
6535
|
+
ref: I,
|
|
6536
6536
|
id: `${v}-helper`,
|
|
6537
6537
|
className: V.helperText,
|
|
6538
6538
|
children: p
|
|
@@ -6568,7 +6568,7 @@ const Mo = 500, Do = 5e3, Lo = 2e4, Hs = ie.forwardRef(
|
|
|
6568
6568
|
const [l, m] = ne(!0), [p, g] = ne({
|
|
6569
6569
|
message: null,
|
|
6570
6570
|
politeness: null
|
|
6571
|
-
}), b = j(!0), E = j(null), O = j(null),
|
|
6571
|
+
}), b = j(!0), E = j(null), O = j(null), A = xs([u, O]), K = l ? "Show" : "Hide", R = () => {
|
|
6572
6572
|
E.current && clearTimeout(E.current), b.current || (E.current = setTimeout(() => {
|
|
6573
6573
|
b.current = !0, m(!0), g({
|
|
6574
6574
|
announcementTimeout: Do,
|
|
@@ -6576,23 +6576,23 @@ const Mo = 500, Do = 5e3, Lo = 2e4, Hs = ie.forwardRef(
|
|
|
6576
6576
|
message: `${r} hiding characters`
|
|
6577
6577
|
}), a && a(!0);
|
|
6578
6578
|
}, Lo));
|
|
6579
|
-
}, J = (
|
|
6580
|
-
|
|
6579
|
+
}, J = (I) => {
|
|
6580
|
+
I.preventDefault();
|
|
6581
6581
|
const N = !b.current;
|
|
6582
6582
|
b.current = N, R(), m(N), g({
|
|
6583
6583
|
announcementTimeout: Mo,
|
|
6584
6584
|
politeness: "assertive",
|
|
6585
6585
|
message: N ? "Characters hidden" : "Characters showing"
|
|
6586
6586
|
}), a && a(N);
|
|
6587
|
-
}, C = (
|
|
6588
|
-
const { relatedTarget: N } =
|
|
6587
|
+
}, C = (I) => {
|
|
6588
|
+
const { relatedTarget: N } = I;
|
|
6589
6589
|
O.current?.parentElement?.contains(N) || c && c();
|
|
6590
|
-
}, v = (
|
|
6591
|
-
R(), i && i(
|
|
6592
|
-
}, x = (
|
|
6593
|
-
R(), o && o(
|
|
6594
|
-
}, _ = (
|
|
6595
|
-
R(), n && n(
|
|
6590
|
+
}, v = (I) => {
|
|
6591
|
+
R(), i && i(I), C(I);
|
|
6592
|
+
}, x = (I) => {
|
|
6593
|
+
R(), o && o(I);
|
|
6594
|
+
}, _ = (I) => {
|
|
6595
|
+
R(), n && n(I);
|
|
6596
6596
|
};
|
|
6597
6597
|
return W(() => () => {
|
|
6598
6598
|
E.current && clearTimeout(E.current);
|
|
@@ -6600,7 +6600,7 @@ const Mo = 500, Do = 5e3, Lo = 2e4, Hs = ie.forwardRef(
|
|
|
6600
6600
|
/* @__PURE__ */ h(
|
|
6601
6601
|
Jt,
|
|
6602
6602
|
{
|
|
6603
|
-
ref:
|
|
6603
|
+
ref: A,
|
|
6604
6604
|
name: e,
|
|
6605
6605
|
label: r,
|
|
6606
6606
|
labelHidden: s,
|
|
@@ -6645,9 +6645,9 @@ try {
|
|
|
6645
6645
|
});
|
|
6646
6646
|
} catch {
|
|
6647
6647
|
}
|
|
6648
|
-
const Uo = "ASK! ME! ANYTHING!", Fo = "Log in with a password", Ho = "Log in with a Passkey",
|
|
6649
|
-
Press Enter to send it or Shift+Enter for new line.`,
|
|
6650
|
-
Press Ctrl+Enter to send it or Enter for new line.`,
|
|
6648
|
+
const Uo = "ASK! ME! ANYTHING!", Fo = "Log in with a password", Ho = "Log in with a Passkey", il = "Log out", Ko = "Password", ol = "Usage", cl = "Profile", ll = "Settings", ul = "Chat history", dl = "About", Yt = "Type your message here.", hl = Yt, fl = `${Yt}
|
|
6649
|
+
Press Enter to send it or Shift+Enter for new line.`, ml = `${Yt}
|
|
6650
|
+
Press Ctrl+Enter to send it or Enter for new line.`, pl = "{{clipboard}}", P = "Review important details.", yl = [
|
|
6651
6651
|
`Sometimes, ${k} just makes stuff up. ${P}`,
|
|
6652
6652
|
`${k} may invent facts on the fly. ${P}`,
|
|
6653
6653
|
`${k} may be confidently wrong. ${P}`,
|
|
@@ -6668,7 +6668,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ml = "{{clipboard}}", P = "
|
|
|
6668
6668
|
`Sometimes, ${k} howls at the moon. ${P}`,
|
|
6669
6669
|
`${k} may dig up imaginary bones. ${P}`,
|
|
6670
6670
|
`${k} may sniff out nonsense. ${P}`
|
|
6671
|
-
],
|
|
6671
|
+
], gl = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", bl = "Default provider set to", El = "Chat successfully deleted!", wl = "Chat successfully saved!", Sl = "Caching enabled. Assets are now stored locally.", vl = "Caching disabled. Local asset cache cleared.", Tl = "av-sassy", Al = {
|
|
6672
6672
|
0: ["January", "February", "March"],
|
|
6673
6673
|
3: ["April", "May", "June"],
|
|
6674
6674
|
6: ["July", "August", "September"],
|
|
@@ -6678,7 +6678,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ml = "{{clipboard}}", P = "
|
|
|
6678
6678
|
3: ["Apr", "May", "Jun"],
|
|
6679
6679
|
6: ["Jul", "Aug", "Sep"],
|
|
6680
6680
|
9: ["Oct", "Nov", "Dec"]
|
|
6681
|
-
},
|
|
6681
|
+
}, _l = {
|
|
6682
6682
|
PREFERENCES: {
|
|
6683
6683
|
TITLE: "User profile",
|
|
6684
6684
|
USERNAME: "Username",
|
|
@@ -6862,9 +6862,9 @@ Press Ctrl+Enter to send it or Enter for new line.`, ml = "{{clipboard}}", P = "
|
|
|
6862
6862
|
] })
|
|
6863
6863
|
] }) }) }) })
|
|
6864
6864
|
] });
|
|
6865
|
-
}, Wo = new URL(document.location.href).searchParams,
|
|
6865
|
+
}, Wo = new URL(document.location.href).searchParams, Ir = !!Wo.get("debug") || !1, qo = Ws(() => import(
|
|
6866
6866
|
/* webpackChunkName: "LazyApp" */
|
|
6867
|
-
"./App.
|
|
6867
|
+
"./App.B7h4kjT4.js"
|
|
6868
6868
|
).then((e) => e.App)), jo = new fa(), _r = ({
|
|
6869
6869
|
isComponent: e,
|
|
6870
6870
|
headerHeight: t
|
|
@@ -6891,11 +6891,11 @@ Press Ctrl+Enter to send it or Enter for new line.`, ml = "{{clipboard}}", P = "
|
|
|
6891
6891
|
{
|
|
6892
6892
|
clientId: Er,
|
|
6893
6893
|
domain: r,
|
|
6894
|
-
debug:
|
|
6894
|
+
debug: Ir,
|
|
6895
6895
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
|
6896
6896
|
children: /* @__PURE__ */ h(_r, { isComponent: e, headerHeight: t })
|
|
6897
6897
|
}
|
|
6898
|
-
) : /* @__PURE__ */ h(br, { clientId: Er, domain: r, debug:
|
|
6898
|
+
) : /* @__PURE__ */ h(br, { clientId: Er, domain: r, debug: Ir, children: /* @__PURE__ */ h(_r, { isComponent: e, headerHeight: t }) })), Rl = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ h(
|
|
6899
6899
|
Vo,
|
|
6900
6900
|
{
|
|
6901
6901
|
isComponent: !0,
|
|
@@ -6904,36 +6904,37 @@ Press Ctrl+Enter to send it or Enter for new line.`, ml = "{{clipboard}}", P = "
|
|
|
6904
6904
|
}
|
|
6905
6905
|
);
|
|
6906
6906
|
export {
|
|
6907
|
-
|
|
6907
|
+
dl as ABOUT_TITLE,
|
|
6908
6908
|
lc as ACTION_RESET_PROMPT,
|
|
6909
6909
|
ic as ACTION_SEARCH,
|
|
6910
6910
|
oc as ACTION_SORT,
|
|
6911
6911
|
cc as ACTION_TOGGLE_PROMPT,
|
|
6912
|
-
|
|
6913
|
-
|
|
6912
|
+
Tl as APP_CLASSNAME,
|
|
6913
|
+
Uc as B,
|
|
6914
6914
|
$s as C,
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6915
|
+
_l as CARDS,
|
|
6916
|
+
pl as CLIPBOARD_PROMPT,
|
|
6917
|
+
Ac as DEFAULT_ICON_ACTION_SIZE,
|
|
6918
|
+
Dc as E,
|
|
6919
6919
|
nc as ERROR_MESSAGE,
|
|
6920
|
-
|
|
6921
|
-
|
|
6920
|
+
Vc as Et,
|
|
6921
|
+
yl as FOOTER_DISCLAIMERS,
|
|
6922
6922
|
gi as H,
|
|
6923
|
-
|
|
6923
|
+
ul as HISTORY_TITLE,
|
|
6924
6924
|
ht as I,
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6925
|
+
Sc as INFINITE_SCROLL_LIMIT,
|
|
6926
|
+
wc as INFINITE_SCROLL_THRESHOLD,
|
|
6927
|
+
Oc as INPUT_BOTTOM_OFFSET,
|
|
6928
|
+
Pc as INPUT_BOTTOM_OFFSET_EXTRA,
|
|
6929
|
+
Nc as INPUT_BOTTOM_OFFSET_IPAD,
|
|
6930
|
+
kc as INPUT_BOTTOM_OFFSET_IPHONE,
|
|
6931
|
+
ml as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
|
|
6932
|
+
fl as INPUT_PLACEHOLDER_TEXT_ENTER,
|
|
6933
|
+
hl as INPUT_PLACEHOLDER_TEXT_MOBILE,
|
|
6934
|
+
Gc as J,
|
|
6935
|
+
Hc as K,
|
|
6936
6936
|
vo as L,
|
|
6937
|
+
Ec as LOCAL_STORAGE_CHAT_ID,
|
|
6937
6938
|
yc as LOCAL_STORAGE_FAVORITES_ONLY,
|
|
6938
6939
|
cs as LOCAL_STORAGE_PREFIX,
|
|
6939
6940
|
gc as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
|
@@ -6944,47 +6945,48 @@ export {
|
|
|
6944
6945
|
mc as LOCAL_STORAGE_SORT_MEMORY_DIRECTION,
|
|
6945
6946
|
hc as LOCAL_STORAGE_SORT_TIMESTAMP,
|
|
6946
6947
|
fc as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
|
6947
|
-
|
|
6948
|
+
il as LOG_OUT,
|
|
6948
6949
|
Go as Logo,
|
|
6949
6950
|
lt as O,
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6951
|
+
cl as PROFILE_TITLE,
|
|
6952
|
+
gl as PROMPTS_DESCRIPTION,
|
|
6953
|
+
vc as PROMPT_CLASSNAME,
|
|
6954
|
+
Tc as PROMPT_EDITABLE_AREA_CLASSNAME,
|
|
6954
6955
|
k as Q,
|
|
6955
6956
|
yo as S,
|
|
6956
6957
|
z as SERVICE_TYPES,
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6958
|
+
ll as SETTINGS_TITLE,
|
|
6959
|
+
Rl as SassySaint,
|
|
6960
|
+
vl as TOAST_CACHE_DISABLED,
|
|
6961
|
+
Sl as TOAST_CACHE_ENABLED,
|
|
6962
|
+
El as TOAST_CHAT_DELETED,
|
|
6963
|
+
wl as TOAST_CHAT_SAVED,
|
|
6964
|
+
bl as TOAST_PROVIDER_CHANGED,
|
|
6965
|
+
Al as TRIMESTERS,
|
|
6965
6966
|
Il as TRIMESTERS_SHORT,
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6967
|
+
_c as UI_BUTTON_SCROLL_BUFFER,
|
|
6968
|
+
Rc as UI_DEFAULT_MAIN_HEIGHT,
|
|
6969
|
+
Cc as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
|
|
6969
6970
|
Ic as UI_FOOTER_BUFFER,
|
|
6970
|
-
|
|
6971
|
-
|
|
6971
|
+
ol as USAGE_TITLE,
|
|
6972
|
+
Lc as Y,
|
|
6972
6973
|
Jt as Y$1,
|
|
6973
|
-
|
|
6974
|
+
Kc as Z,
|
|
6974
6975
|
fo as b,
|
|
6975
6976
|
ut as c,
|
|
6976
6977
|
Qi as canEvaluateModels,
|
|
6977
6978
|
ji as convertCamelCaseToReadable,
|
|
6978
6979
|
Gi as debounce,
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6980
|
+
Mc as e,
|
|
6981
|
+
jc as et,
|
|
6982
|
+
xc as getCacheInfo,
|
|
6982
6983
|
$i as getCurrentGeoLocation,
|
|
6983
6984
|
Cs as getLayoutPaddingClass,
|
|
6984
6985
|
Rs as getMessageContaintWrapperClass,
|
|
6985
6986
|
Ve as h,
|
|
6986
|
-
|
|
6987
|
+
$c as handleServiceWorkerToggle,
|
|
6987
6988
|
Ms as i,
|
|
6989
|
+
qt as isDev,
|
|
6988
6990
|
qi as isPWAMode,
|
|
6989
6991
|
ks as isProbablyMobile,
|
|
6990
6992
|
Wi as isProbablyiPad,
|
|
@@ -6996,31 +6998,31 @@ export {
|
|
|
6996
6998
|
Eo as l,
|
|
6997
6999
|
Ts as mutateCall,
|
|
6998
7000
|
os as n,
|
|
6999
|
-
|
|
7001
|
+
Bc as nt,
|
|
7000
7002
|
Fi as numberFormatter,
|
|
7001
7003
|
xs as o,
|
|
7002
7004
|
xi as obfuscate,
|
|
7003
|
-
|
|
7005
|
+
Wc as ot,
|
|
7004
7006
|
Ki as pluralize,
|
|
7005
7007
|
Ue as r,
|
|
7006
7008
|
Di as renderDataAsList,
|
|
7007
7009
|
wi as serverUrl,
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7010
|
+
Qc as setNewProvider,
|
|
7011
|
+
Jc as setUserPlan,
|
|
7012
|
+
qc as st,
|
|
7011
7013
|
st as te,
|
|
7012
7014
|
Mi as unObfuscate,
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7015
|
+
zc as useChangelogs,
|
|
7016
|
+
Zc as useChatsHistory,
|
|
7017
|
+
el as useChatsUsage,
|
|
7018
|
+
sl as useDeleteAllMemories,
|
|
7019
|
+
rl as useDeleteMemory,
|
|
7020
|
+
al as useEntitlements,
|
|
7021
|
+
Yc as useServerCapabilities,
|
|
7022
|
+
Xc as useUserChatStats,
|
|
7023
|
+
tl as useUserMemories,
|
|
7022
7024
|
Si as useUserPreferences,
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
+
nl as utilities,
|
|
7026
|
+
Fc as x,
|
|
7025
7027
|
Us as x$1
|
|
7026
7028
|
};
|