@versini/sassysaint 5.3.9 → 5.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{App.CiWR0jbo.js → App.CGCFh8d3.js} +423 -401
- package/dist/chunks/{LazyHeader.C3UmEKkw.js → LazyHeader.wkfFXKCZ.js} +539 -563
- package/dist/chunks/{LazyMarkdownWithExtra.CA4l-kCG.js → LazyMarkdownWithExtra.CRVtilPm.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.Bq--JTre.js → LazyMessageAssistant.KzZAMNJh.js} +4 -4
- package/dist/chunks/{index.BiQ5lu6V.js → index.BpfSkOWt.js} +70 -63
- package/dist/chunks/{index.DbhB3Iku.js → index.DkEEvxgQ.js} +255 -224
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _i } from "react/jsx-runtime";
|
|
2
|
-
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.
|
|
2
|
+
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.KzZAMNJh.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { le as ot } from "./App.
|
|
3
|
-
import { E as wi } from "./index.
|
|
2
|
+
import { le as ot } from "./App.CGCFh8d3.js";
|
|
3
|
+
import { E as wi } from "./index.DkEEvxgQ.js";
|
|
4
4
|
import cn from "clsx";
|
|
5
5
|
import { lazy as Si, useContext as Ci, Suspense as Ei } from "react";
|
|
6
|
-
import { AppContext as Ai, LOCAL_STORAGE_PREFIX as Ii, LOCAL_STORAGE_CHAT_DETAILS as Ti, durationFormatter as Pi } from "./index.
|
|
6
|
+
import { AppContext as Ai, LOCAL_STORAGE_PREFIX as Ii, LOCAL_STORAGE_CHAT_DETAILS as Ti, durationFormatter as Pi } from "./index.BpfSkOWt.js";
|
|
7
7
|
var at = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
8
|
function Li(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -8642,7 +8642,7 @@ function sf(e) {
|
|
|
8642
8642
|
const cf = Si(
|
|
8643
8643
|
() => import(
|
|
8644
8644
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8645
|
-
"./LazyMarkdownWithExtra.
|
|
8645
|
+
"./LazyMarkdownWithExtra.CRVtilPm.js"
|
|
8646
8646
|
)
|
|
8647
8647
|
), In = {
|
|
8648
8648
|
MODEL: "Model",
|
|
@@ -176,7 +176,7 @@ async function gr(e) {
|
|
|
176
176
|
try {
|
|
177
177
|
u = o.getPublicKeyAlgorithm();
|
|
178
178
|
} catch (c) {
|
|
179
|
-
|
|
179
|
+
We("getPublicKeyAlgorithm()", c);
|
|
180
180
|
}
|
|
181
181
|
let h;
|
|
182
182
|
if (typeof o.getPublicKey == "function")
|
|
@@ -184,14 +184,14 @@ async function gr(e) {
|
|
|
184
184
|
const c = o.getPublicKey();
|
|
185
185
|
c !== null && (h = H(c));
|
|
186
186
|
} catch (c) {
|
|
187
|
-
|
|
187
|
+
We("getPublicKey()", c);
|
|
188
188
|
}
|
|
189
189
|
let p;
|
|
190
190
|
if (typeof o.getAuthenticatorData == "function")
|
|
191
191
|
try {
|
|
192
192
|
p = H(o.getAuthenticatorData());
|
|
193
193
|
} catch (c) {
|
|
194
|
-
|
|
194
|
+
We("getAuthenticatorData()", c);
|
|
195
195
|
}
|
|
196
196
|
return {
|
|
197
197
|
id: a,
|
|
@@ -209,7 +209,7 @@ async function gr(e) {
|
|
|
209
209
|
authenticatorAttachment: Ot(r.authenticatorAttachment)
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function We(e, t) {
|
|
213
213
|
console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
|
214
214
|
`, t);
|
|
215
215
|
}
|
|
@@ -405,7 +405,7 @@ class Ir extends te {
|
|
|
405
405
|
return "ERR_JOSE_ALG_NOT_ALLOWED";
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
let
|
|
408
|
+
let W = class extends te {
|
|
409
409
|
constructor() {
|
|
410
410
|
super(...arguments), this.code = "ERR_JOSE_NOT_SUPPORTED";
|
|
411
411
|
}
|
|
@@ -441,7 +441,7 @@ function J(e, t = "algorithm.name") {
|
|
|
441
441
|
function Te(e, t) {
|
|
442
442
|
return e.name === t;
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function Be(e) {
|
|
445
445
|
return parseInt(e.name.slice(4), 10);
|
|
446
446
|
}
|
|
447
447
|
function Sr(e) {
|
|
@@ -474,7 +474,7 @@ function Ar(e, t, ...r) {
|
|
|
474
474
|
if (!Te(e.algorithm, "HMAC"))
|
|
475
475
|
throw J("HMAC");
|
|
476
476
|
const a = parseInt(t.slice(2), 10);
|
|
477
|
-
if (
|
|
477
|
+
if (Be(e.algorithm.hash) !== a)
|
|
478
478
|
throw J(`SHA-${a}`, "algorithm.hash");
|
|
479
479
|
break;
|
|
480
480
|
}
|
|
@@ -484,7 +484,7 @@ function Ar(e, t, ...r) {
|
|
|
484
484
|
if (!Te(e.algorithm, "RSASSA-PKCS1-v1_5"))
|
|
485
485
|
throw J("RSASSA-PKCS1-v1_5");
|
|
486
486
|
const a = parseInt(t.slice(2), 10);
|
|
487
|
-
if (
|
|
487
|
+
if (Be(e.algorithm.hash) !== a)
|
|
488
488
|
throw J(`SHA-${a}`, "algorithm.hash");
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
@@ -494,7 +494,7 @@ function Ar(e, t, ...r) {
|
|
|
494
494
|
if (!Te(e.algorithm, "RSA-PSS"))
|
|
495
495
|
throw J("RSA-PSS");
|
|
496
496
|
const a = parseInt(t.slice(2), 10);
|
|
497
|
-
if (
|
|
497
|
+
if (Be(e.algorithm.hash) !== a)
|
|
498
498
|
throw J(`SHA-${a}`, "algorithm.hash");
|
|
499
499
|
break;
|
|
500
500
|
}
|
|
@@ -606,7 +606,7 @@ function Pr(e) {
|
|
|
606
606
|
}, r = e.d ? ["decrypt", "unwrapKey"] : ["encrypt", "wrapKey"];
|
|
607
607
|
break;
|
|
608
608
|
default:
|
|
609
|
-
throw new
|
|
609
|
+
throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
610
610
|
}
|
|
611
611
|
break;
|
|
612
612
|
}
|
|
@@ -628,7 +628,7 @@ function Pr(e) {
|
|
|
628
628
|
t = { name: "ECDH", namedCurve: e.crv }, r = e.d ? ["deriveBits"] : [];
|
|
629
629
|
break;
|
|
630
630
|
default:
|
|
631
|
-
throw new
|
|
631
|
+
throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
632
632
|
}
|
|
633
633
|
break;
|
|
634
634
|
}
|
|
@@ -644,12 +644,12 @@ function Pr(e) {
|
|
|
644
644
|
t = { name: e.crv }, r = e.d ? ["deriveBits"] : [];
|
|
645
645
|
break;
|
|
646
646
|
default:
|
|
647
|
-
throw new
|
|
647
|
+
throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
|
|
648
648
|
}
|
|
649
649
|
break;
|
|
650
650
|
}
|
|
651
651
|
default:
|
|
652
|
-
throw new
|
|
652
|
+
throw new W('Invalid or unsupported JWK "kty" (Key Type) Parameter value');
|
|
653
653
|
}
|
|
654
654
|
return { algorithm: t, keyUsages: r };
|
|
655
655
|
}
|
|
@@ -706,7 +706,7 @@ const Ht = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
|
|
|
706
706
|
case z(e, [43, 101, 113]):
|
|
707
707
|
return "Ed448";
|
|
708
708
|
default:
|
|
709
|
-
throw new
|
|
709
|
+
throw new W("Invalid or unsupported EC Key Curve or OKP Key Sub Type");
|
|
710
710
|
}
|
|
711
711
|
}, Mr = async (e, t, r, a, n) => {
|
|
712
712
|
let o, s;
|
|
@@ -752,7 +752,7 @@ const Ht = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
|
|
|
752
752
|
o = { name: dt(i) }, s = ["verify"];
|
|
753
753
|
break;
|
|
754
754
|
default:
|
|
755
|
-
throw new
|
|
755
|
+
throw new W('Invalid or unsupported "alg" (Algorithm) value');
|
|
756
756
|
}
|
|
757
757
|
return Le.subtle.importKey(t, i, o, !1, s);
|
|
758
758
|
}, Ur = (e, t, r) => Mr(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
|
|
@@ -771,12 +771,12 @@ async function Hr(e, t) {
|
|
|
771
771
|
return X(e.k);
|
|
772
772
|
case "RSA":
|
|
773
773
|
if (e.oth !== void 0)
|
|
774
|
-
throw new
|
|
774
|
+
throw new W('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');
|
|
775
775
|
case "EC":
|
|
776
776
|
case "OKP":
|
|
777
777
|
return Ut({ ...e, alg: t });
|
|
778
778
|
default:
|
|
779
|
-
throw new
|
|
779
|
+
throw new W('Unsupported "kty" (Key Type) Parameter value');
|
|
780
780
|
}
|
|
781
781
|
}
|
|
782
782
|
const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], qe = (e, t, r) => {
|
|
@@ -788,7 +788,7 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], qe = (e, t, r) =>
|
|
|
788
788
|
if (t.alg !== void 0 && t.alg !== e)
|
|
789
789
|
throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`);
|
|
790
790
|
return !0;
|
|
791
|
-
},
|
|
791
|
+
}, Wr = (e, t, r, a) => {
|
|
792
792
|
if (!(t instanceof Uint8Array)) {
|
|
793
793
|
if (a && he(t)) {
|
|
794
794
|
if (Or(t) && qe(e, t, r))
|
|
@@ -800,7 +800,7 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], qe = (e, t, r) =>
|
|
|
800
800
|
if (t.type !== "secret")
|
|
801
801
|
throw new TypeError(`${de(t)} instances for symmetric algorithms must be of type "secret"`);
|
|
802
802
|
}
|
|
803
|
-
},
|
|
803
|
+
}, Br = (e, t, r, a) => {
|
|
804
804
|
if (a && he(t))
|
|
805
805
|
switch (r) {
|
|
806
806
|
case "sign":
|
|
@@ -825,11 +825,11 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], qe = (e, t, r) =>
|
|
|
825
825
|
if (t.algorithm && r === "encrypt" && t.type === "private")
|
|
826
826
|
throw new TypeError(`${de(t)} instances for asymmetric algorithm encryption must be of type "public"`);
|
|
827
827
|
};
|
|
828
|
-
function
|
|
829
|
-
t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ?
|
|
828
|
+
function Wt(e, t, r, a) {
|
|
829
|
+
t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Wr(t, r, a, e) : Br(t, r, a, e);
|
|
830
830
|
}
|
|
831
|
-
|
|
832
|
-
const ut =
|
|
831
|
+
Wt.bind(void 0, !1);
|
|
832
|
+
const ut = Wt.bind(void 0, !0);
|
|
833
833
|
function Gr(e, t, r, a, n) {
|
|
834
834
|
if (n.crit !== void 0 && (a == null ? void 0 : a.crit) === void 0)
|
|
835
835
|
throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
|
|
@@ -841,7 +841,7 @@ function Gr(e, t, r, a, n) {
|
|
|
841
841
|
r !== void 0 ? o = new Map([...Object.entries(r), ...t.entries()]) : o = t;
|
|
842
842
|
for (const s of a.crit) {
|
|
843
843
|
if (!o.has(s))
|
|
844
|
-
throw new
|
|
844
|
+
throw new W(`Extension Header Parameter "${s}" is not recognized`);
|
|
845
845
|
if (n[s] === void 0)
|
|
846
846
|
throw new e(`Extension Header Parameter "${s}" is missing`);
|
|
847
847
|
if (o.get(s) && a[s] === void 0)
|
|
@@ -877,7 +877,7 @@ function Jr(e, t) {
|
|
|
877
877
|
case "EdDSA":
|
|
878
878
|
return { name: t.name };
|
|
879
879
|
default:
|
|
880
|
-
throw new
|
|
880
|
+
throw new W(`alg ${e} is not supported either by JOSE or your javascript runtime`);
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
async function Yr(e, t, r) {
|
|
@@ -972,7 +972,7 @@ async function jr(e, t, r) {
|
|
|
972
972
|
const i = await zr({ payload: n, protected: a, signature: o }, t, r), u = { payload: i.payload, protectedHeader: i.protectedHeader };
|
|
973
973
|
return typeof t == "function" ? { ...u, key: i.key } : u;
|
|
974
974
|
}
|
|
975
|
-
const qr = (e) => Math.floor(e.getTime() / 1e3),
|
|
975
|
+
const qr = (e) => Math.floor(e.getTime() / 1e3), Bt = 60, Gt = Bt * 60, et = Gt * 24, Xr = et * 7, Qr = et * 365.25, Zr = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, mt = (e) => {
|
|
976
976
|
const t = Zr.exec(e);
|
|
977
977
|
if (!t || t[4] && t[1])
|
|
978
978
|
throw new TypeError("Invalid time period format");
|
|
@@ -991,7 +991,7 @@ const qr = (e) => Math.floor(e.getTime() / 1e3), Wt = 60, Gt = Wt * 60, et = Gt
|
|
|
991
991
|
case "min":
|
|
992
992
|
case "mins":
|
|
993
993
|
case "m":
|
|
994
|
-
n = Math.round(r *
|
|
994
|
+
n = Math.round(r * Bt);
|
|
995
995
|
break;
|
|
996
996
|
case "hour":
|
|
997
997
|
case "hours":
|
|
@@ -1231,7 +1231,7 @@ function Je(e, t, r) {
|
|
|
1231
1231
|
const oe = "Your session has expired. For your security, please log in again to continue.", wa = "Your session has been successfully terminated.", Ye = "Login failed. Please try again.", Ta = "Error getting access token, please re-authenticate.", Ia = "You forgot to wrap your component in <AuthProvider>.", Pe = {
|
|
1232
1232
|
dev: "https://auth.gizmette.local.com:3003",
|
|
1233
1233
|
prod: "https://mylogin.gizmette.com/auth"
|
|
1234
|
-
}, ke = "@@auth@@", ge = "LOADING", Ne = "LOGIN", Jt = "LOGOUT", Ee = "success",
|
|
1234
|
+
}, ke = "@@auth@@", ge = "LOADING", Ne = "LOGIN", Jt = "LOGOUT", Ee = "success", B = "failure", Yt = "include", Ft = "POST", zt = "application/json", Ae = {
|
|
1235
1235
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
|
1236
1236
|
$clientId: String!,
|
|
1237
1237
|
$username: String!,
|
|
@@ -1353,14 +1353,14 @@ const oe = "Your session has expired. For your security, please log in again to
|
|
|
1353
1353
|
}
|
|
1354
1354
|
);
|
|
1355
1355
|
if (o.status !== 200)
|
|
1356
|
-
return { status:
|
|
1356
|
+
return { status: B, data: [] };
|
|
1357
1357
|
const { data: s } = await o.json();
|
|
1358
1358
|
return {
|
|
1359
1359
|
status: Ee,
|
|
1360
1360
|
data: s[t.method]
|
|
1361
1361
|
};
|
|
1362
1362
|
} catch (n) {
|
|
1363
|
-
return console.error(n), { status:
|
|
1363
|
+
return console.error(n), { status: B, data: [] };
|
|
1364
1364
|
}
|
|
1365
1365
|
}, Me = async ({
|
|
1366
1366
|
type: e,
|
|
@@ -1381,14 +1381,14 @@ const oe = "Your session has expired. For your security, please log in again to
|
|
|
1381
1381
|
}
|
|
1382
1382
|
);
|
|
1383
1383
|
if (a.status !== 200)
|
|
1384
|
-
return { status:
|
|
1384
|
+
return { status: B, data: [] };
|
|
1385
1385
|
const { data: n } = await a.json();
|
|
1386
1386
|
return {
|
|
1387
1387
|
status: Ee,
|
|
1388
1388
|
data: n || []
|
|
1389
1389
|
};
|
|
1390
1390
|
} catch (a) {
|
|
1391
|
-
return console.error(a), { status:
|
|
1391
|
+
return console.error(a), { status: B, data: [] };
|
|
1392
1392
|
}
|
|
1393
1393
|
}, va = process.env.NODE_ENV === "production", jt = !va, qt = {
|
|
1394
1394
|
isLoading: !0,
|
|
@@ -1421,11 +1421,11 @@ const oe = "Your session has expired. For your security, please log in again to
|
|
|
1421
1421
|
domain: r,
|
|
1422
1422
|
idToken: a
|
|
1423
1423
|
}
|
|
1424
|
-
})) == null ? void 0 : n.status) ||
|
|
1424
|
+
})) == null ? void 0 : n.status) || B
|
|
1425
1425
|
};
|
|
1426
1426
|
} catch {
|
|
1427
1427
|
return {
|
|
1428
|
-
status:
|
|
1428
|
+
status: B
|
|
1429
1429
|
};
|
|
1430
1430
|
}
|
|
1431
1431
|
}, Aa = async ({
|
|
@@ -1492,12 +1492,12 @@ const oe = "Your session has expired. For your security, please log in again to
|
|
|
1492
1492
|
status: Ee,
|
|
1493
1493
|
data: n.data.code
|
|
1494
1494
|
} : {
|
|
1495
|
-
status:
|
|
1495
|
+
status: B,
|
|
1496
1496
|
data: ""
|
|
1497
1497
|
};
|
|
1498
1498
|
} catch {
|
|
1499
1499
|
return {
|
|
1500
|
-
status:
|
|
1500
|
+
status: B,
|
|
1501
1501
|
data: ""
|
|
1502
1502
|
};
|
|
1503
1503
|
}
|
|
@@ -1580,11 +1580,11 @@ class Ra {
|
|
|
1580
1580
|
newAccessToken: s.accessToken,
|
|
1581
1581
|
newRefreshToken: s.refreshToken
|
|
1582
1582
|
}) : {
|
|
1583
|
-
status:
|
|
1583
|
+
status: B
|
|
1584
1584
|
};
|
|
1585
1585
|
} else
|
|
1586
1586
|
return {
|
|
1587
|
-
status:
|
|
1587
|
+
status: B
|
|
1588
1588
|
};
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
@@ -1922,8 +1922,8 @@ function Ma(e) {
|
|
|
1922
1922
|
}
|
|
1923
1923
|
throw new TypeError("Expected a finite number or bigint");
|
|
1924
1924
|
}
|
|
1925
|
-
const Ua = (e) => e === 0 || e === 0n, Ka = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Ha = 1e-7,
|
|
1926
|
-
function
|
|
1925
|
+
const Ua = (e) => e === 0 || e === 0n, Ka = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Ha = 1e-7, Wa = 24n * 60n * 60n * 1000n;
|
|
1926
|
+
function Ba(e, t) {
|
|
1927
1927
|
const r = typeof e == "bigint";
|
|
1928
1928
|
if (!r && !Number.isFinite(e))
|
|
1929
1929
|
throw new TypeError("Expected a finite number or bigint");
|
|
@@ -1959,7 +1959,7 @@ function Wa(e, t) {
|
|
|
1959
1959
|
);
|
|
1960
1960
|
}
|
|
1961
1961
|
} else {
|
|
1962
|
-
const p = (r ? Number(e %
|
|
1962
|
+
const p = (r ? Number(e % Wa) : e) / 1e3 % 60, m = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, c = o(p, m), d = t.keepDecimalsOnWholeSeconds ? c : c.replace(/\.0+$/, "");
|
|
1963
1963
|
s(Number.parseFloat(d), "second", "s", d);
|
|
1964
1964
|
}
|
|
1965
1965
|
if (n.length === 0)
|
|
@@ -2016,11 +2016,11 @@ const Ga = process.env.NODE_ENV === "production", rt = !Ga, Va = rt ? "gizmette.
|
|
|
2016
2016
|
e
|
|
2017
2017
|
);
|
|
2018
2018
|
});
|
|
2019
|
-
},
|
|
2019
|
+
}, Wo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ I("div", { className: "flex items-center justify-between", children: [
|
|
2020
2020
|
/* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
|
|
2021
2021
|
/* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
|
|
2022
2022
|
] }) }, `${e}-${r}`)) : null;
|
|
2023
|
-
function
|
|
2023
|
+
function Bo({
|
|
2024
2024
|
data: e,
|
|
2025
2025
|
formatter: t = (r) => r
|
|
2026
2026
|
}) {
|
|
@@ -2037,7 +2037,7 @@ const Go = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
2037
2037
|
signDisplay: "never",
|
|
2038
2038
|
minimumFractionDigits: 0,
|
|
2039
2039
|
maximumFractionDigits: 0
|
|
2040
|
-
}), Jo = (e) => e > 0 ?
|
|
2040
|
+
}), Jo = (e) => e > 0 ? Ba(e, {
|
|
2041
2041
|
secondsDecimalDigits: 2,
|
|
2042
2042
|
unitCount: 2
|
|
2043
2043
|
}) : "N/A", Ja = (e) => f(
|
|
@@ -3497,7 +3497,14 @@ try {
|
|
|
3497
3497
|
});
|
|
3498
3498
|
} catch {
|
|
3499
3499
|
}
|
|
3500
|
-
const Kn = "ASK! ME! ANYTHING!", sr = "
|
|
3500
|
+
const Kn = "ASK! ME! ANYTHING!", sr = "Chien Lunatique", Hn = "gizmette.com", Wn = "Log in", Bn = "Sign in with a Passkey", Fo = "Log out", Gn = "Password", Vn = "Powered by ", zo = "Send", jo = "Profile", qo = "Statistics", Xo = "Chat history", Qo = "About", Zo = "Type your question here", es = {
|
|
3501
|
+
ACTION_WHILE_STREAMING: {
|
|
3502
|
+
content: "Cancel chat"
|
|
3503
|
+
},
|
|
3504
|
+
ACTION_WHILE_NOT_STREAMING: {
|
|
3505
|
+
content: "New chat"
|
|
3506
|
+
}
|
|
3507
|
+
}, ts = "N/A", rs = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed.", as = {
|
|
3501
3508
|
PREFERENCES: {
|
|
3502
3509
|
TITLE: "User settings",
|
|
3503
3510
|
NAME: "Name",
|
|
@@ -3594,11 +3601,11 @@ const Jn = "av-footer", Yn = (e) => {
|
|
|
3594
3601
|
engine: Fe,
|
|
3595
3602
|
engines: []
|
|
3596
3603
|
}
|
|
3597
|
-
}),
|
|
3604
|
+
}), ns = O.createContext({
|
|
3598
3605
|
state: { searchString: "", sortedCell: "", sortDirection: "" },
|
|
3599
3606
|
dispatch: () => {
|
|
3600
3607
|
}
|
|
3601
|
-
}),
|
|
3608
|
+
}), os = O.createContext({
|
|
3602
3609
|
state: { tag: "" },
|
|
3603
3610
|
dispatch: () => {
|
|
3604
3611
|
}
|
|
@@ -3613,7 +3620,7 @@ const Jn = "av-footer", Yn = (e) => {
|
|
|
3613
3620
|
row1: /* @__PURE__ */ I("div", { children: [
|
|
3614
3621
|
sr,
|
|
3615
3622
|
" v",
|
|
3616
|
-
"5.
|
|
3623
|
+
"5.6.0",
|
|
3617
3624
|
" - ",
|
|
3618
3625
|
Vn,
|
|
3619
3626
|
t && t.engine,
|
|
@@ -3630,7 +3637,7 @@ const Jn = "av-footer", Yn = (e) => {
|
|
|
3630
3637
|
}, qn = _t(
|
|
3631
3638
|
() => import(
|
|
3632
3639
|
/* webpackChunkName: "LazyHeader" */
|
|
3633
|
-
"./LazyHeader.
|
|
3640
|
+
"./LazyHeader.wkfFXKCZ.js"
|
|
3634
3641
|
)
|
|
3635
3642
|
), Xn = () => {
|
|
3636
3643
|
const { isAuthenticated: e } = tt();
|
|
@@ -3717,7 +3724,7 @@ const Jn = "av-footer", Yn = (e) => {
|
|
|
3717
3724
|
noBorder: !0,
|
|
3718
3725
|
type: "submit",
|
|
3719
3726
|
className: "mb-4 mt-6",
|
|
3720
|
-
children:
|
|
3727
|
+
children: Wn
|
|
3721
3728
|
}
|
|
3722
3729
|
) })
|
|
3723
3730
|
] }) }) }),
|
|
@@ -3730,7 +3737,7 @@ const Jn = "av-footer", Yn = (e) => {
|
|
|
3730
3737
|
fullWidth: !0,
|
|
3731
3738
|
noBorder: !0,
|
|
3732
3739
|
className: "mb-4 mt-1",
|
|
3733
|
-
labelRight:
|
|
3740
|
+
labelRight: Bn,
|
|
3734
3741
|
onClick: r,
|
|
3735
3742
|
children: /* @__PURE__ */ l(un, { className: "size-7" })
|
|
3736
3743
|
}
|
|
@@ -3741,14 +3748,14 @@ const Jn = "av-footer", Yn = (e) => {
|
|
|
3741
3748
|
] });
|
|
3742
3749
|
}, Zn = new URL(document.location.href).searchParams, eo = !!Zn.get("debug") || !1, to = _t(() => import(
|
|
3743
3750
|
/* webpackChunkName: "LazyApp" */
|
|
3744
|
-
"./App.
|
|
3751
|
+
"./App.CGCFh8d3.js"
|
|
3745
3752
|
).then((e) => e.App)), ro = ({ isComponent: e }) => {
|
|
3746
3753
|
const { isAuthenticated: t } = tt();
|
|
3747
3754
|
return t ? /* @__PURE__ */ l(Nt, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(to, { isComponent: e }) }) : /* @__PURE__ */ l(Qn, {});
|
|
3748
3755
|
}, ao = ({
|
|
3749
3756
|
isComponent: e = !1,
|
|
3750
3757
|
domain: t = Va
|
|
3751
|
-
}) => /* @__PURE__ */ l(ye, { children: /* @__PURE__ */ l(Pa, { clientId: Da, domain: t, debug: eo, children: /* @__PURE__ */ l(ro, { isComponent: e }) }) }),
|
|
3758
|
+
}) => /* @__PURE__ */ l(ye, { children: /* @__PURE__ */ l(Pa, { clientId: Da, domain: t, debug: eo, children: /* @__PURE__ */ l(ro, { isComponent: e }) }) }), ss = ({ domain: e }) => /* @__PURE__ */ l(ao, { isComponent: !0, domain: e });
|
|
3752
3759
|
export {
|
|
3753
3760
|
Qo as ABOUT_TITLE,
|
|
3754
3761
|
_o as ACTION_ENGINE,
|
|
@@ -3762,11 +3769,10 @@ export {
|
|
|
3762
3769
|
Ro as ACTION_SORT,
|
|
3763
3770
|
Ao as ACTION_STREAMING,
|
|
3764
3771
|
xo as ACTION_TOGGLE_TAG,
|
|
3772
|
+
sr as APP_NAME,
|
|
3765
3773
|
zn as AppContext,
|
|
3766
3774
|
jn as AppFooter,
|
|
3767
|
-
|
|
3768
|
-
ns as CARDS,
|
|
3769
|
-
es as CLEAR,
|
|
3775
|
+
as as CARDS,
|
|
3770
3776
|
Fe as DEFAULT_AI_ENGINE,
|
|
3771
3777
|
sn as E,
|
|
3772
3778
|
wo as ENGINE_ANTHROPIC,
|
|
@@ -3775,7 +3781,7 @@ export {
|
|
|
3775
3781
|
ue as G,
|
|
3776
3782
|
To as GPT4_MAX_TOKENS,
|
|
3777
3783
|
Xo as HISTORY_TITLE,
|
|
3778
|
-
|
|
3784
|
+
ns as HistoryContext,
|
|
3779
3785
|
Do as LOCAL_STORAGE_CHAT_DETAILS,
|
|
3780
3786
|
Mo as LOCAL_STORAGE_ENGINE_TOGGLE,
|
|
3781
3787
|
Po as LOCAL_STORAGE_PREFIX,
|
|
@@ -3783,7 +3789,7 @@ export {
|
|
|
3783
3789
|
Lo as LOCAL_STORAGE_SORT,
|
|
3784
3790
|
Fo as LOG_OUT,
|
|
3785
3791
|
Xn as MessagesContainerHeader,
|
|
3786
|
-
|
|
3792
|
+
ts as NA,
|
|
3787
3793
|
Xe as O,
|
|
3788
3794
|
jo as PROFILE_TITLE,
|
|
3789
3795
|
Zt as R,
|
|
@@ -3795,14 +3801,15 @@ export {
|
|
|
3795
3801
|
zo as SEND,
|
|
3796
3802
|
qo as STATS,
|
|
3797
3803
|
Uo as STATS_SEPARATOR,
|
|
3798
|
-
|
|
3799
|
-
|
|
3804
|
+
ss as SassySaint,
|
|
3805
|
+
rs as TAGS_DESCRIPTION,
|
|
3806
|
+
es as TOOLBOX,
|
|
3800
3807
|
Zo as TYPE_QUESTION,
|
|
3801
|
-
|
|
3808
|
+
os as TagsContext,
|
|
3802
3809
|
It as b,
|
|
3803
3810
|
gn as d,
|
|
3804
3811
|
Jo as durationFormatter,
|
|
3805
|
-
|
|
3812
|
+
Bo as extractAverage,
|
|
3806
3813
|
Ke as g,
|
|
3807
3814
|
Ho as getCurrentGeoLocation,
|
|
3808
3815
|
Ja as getMessageContaintWrapperClass,
|
|
@@ -3811,7 +3818,7 @@ export {
|
|
|
3811
3818
|
ot as me,
|
|
3812
3819
|
Vo as numberFormatter,
|
|
3813
3820
|
Yo as pluralize,
|
|
3814
|
-
|
|
3821
|
+
Wo as renderDataAsList,
|
|
3815
3822
|
tt as rn,
|
|
3816
3823
|
Ko as truncate,
|
|
3817
3824
|
un as v
|