@versini/sassysaint 8.9.0 → 8.9.1
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.DKd0kbdL.js → App.BXyDn1Yo.js} +823 -822
- package/dist/chunks/{Chart.NsOO1FUJ.js → Chart.UI52K0FI.js} +1 -1
- package/dist/chunks/{ChatBubbleAssistant.Cc5ndc0m.js → ChatBubbleAssistant.BIieyttB.js} +6 -6
- package/dist/chunks/{J3FDRF32.Bg5BWOjQ.js → J3FDRF32.BVX9O3tp.js} +1 -1
- package/dist/chunks/{index.f1aP4AVZ.js → index.B4bjFyGG.js} +1 -1
- package/dist/chunks/{index.DiGfS13u.js → index.BdfPK84k.js} +2 -2
- package/dist/chunks/{index.CJ2exyS-.js → index.CICBbGam.js} +303 -302
- package/dist/chunks/{index.TXlcfR_l.js → index.CiqSO7G5.js} +3 -3
- package/dist/chunks/{index.Ci0PEGIr.js → index.DPugxHP1.js} +1 -1
- package/dist/chunks/{index.Dvkq4LS1.js → index.DpvU14oE.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
@@ -112,7 +112,7 @@ function Zr(e, t) {
|
|
112
112
|
}
|
113
113
|
return t;
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function Nu(e, t) {
|
116
116
|
if (!t || Object.keys(e).length !== Object.keys(t).length)
|
117
117
|
return !1;
|
118
118
|
for (const r in e)
|
@@ -1521,7 +1521,7 @@ function da(e, t, r) {
|
|
1521
1521
|
}
|
1522
1522
|
];
|
1523
1523
|
}
|
1524
|
-
function
|
1524
|
+
function Cu(e) {
|
1525
1525
|
return Ee(e, !1);
|
1526
1526
|
}
|
1527
1527
|
function q(e) {
|
@@ -1535,7 +1535,7 @@ function q(e) {
|
|
1535
1535
|
M = t;
|
1536
1536
|
}
|
1537
1537
|
}
|
1538
|
-
function
|
1538
|
+
function Pu(e, t, r) {
|
1539
1539
|
const n = Array.isArray(e);
|
1540
1540
|
let s, i = r && r.defer;
|
1541
1541
|
return (a) => {
|
@@ -1580,11 +1580,11 @@ function ma(e) {
|
|
1580
1580
|
return Ee(e, !1), M = x = null, n ? n.done : void 0;
|
1581
1581
|
});
|
1582
1582
|
}
|
1583
|
-
var [ya,
|
1584
|
-
function
|
1583
|
+
var [ya, xu] = /* @__PURE__ */ te(!1);
|
1584
|
+
function Du() {
|
1585
1585
|
return [ya, ma];
|
1586
1586
|
}
|
1587
|
-
function
|
1587
|
+
function Lu(e, t) {
|
1588
1588
|
const r = Symbol("context");
|
1589
1589
|
return {
|
1590
1590
|
id: r,
|
@@ -1592,7 +1592,7 @@ function Du(e, t) {
|
|
1592
1592
|
defaultValue: e
|
1593
1593
|
};
|
1594
1594
|
}
|
1595
|
-
function
|
1595
|
+
function Mu(e) {
|
1596
1596
|
let t;
|
1597
1597
|
return x && x.context && (t = x.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1598
1598
|
}
|
@@ -2033,23 +2033,23 @@ function ka(e) {
|
|
2033
2033
|
return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
|
2034
2034
|
}
|
2035
2035
|
var Ra = 0;
|
2036
|
-
function
|
2036
|
+
function $u() {
|
2037
2037
|
return I.context ? I.getNextContextId() : `cl-${Ra++}`;
|
2038
2038
|
}
|
2039
2039
|
var Ds = (e) => `Stale read from <${e}>.`;
|
2040
|
-
function
|
2040
|
+
function Uu(e) {
|
2041
2041
|
const t = "fallback" in e && {
|
2042
2042
|
fallback: () => e.fallback
|
2043
2043
|
};
|
2044
2044
|
return se(Ea(() => e.each, e.children, t || void 0));
|
2045
2045
|
}
|
2046
|
-
function
|
2046
|
+
function Ku(e) {
|
2047
2047
|
const t = "fallback" in e && {
|
2048
2048
|
fallback: () => e.fallback
|
2049
2049
|
};
|
2050
2050
|
return se(Sa(() => e.each, e.children, t || void 0));
|
2051
2051
|
}
|
2052
|
-
function
|
2052
|
+
function Hu(e) {
|
2053
2053
|
const t = e.keyed, r = se(() => e.when, void 0, {
|
2054
2054
|
equals: (n, s) => t ? n === s : !n == !s
|
2055
2055
|
});
|
@@ -2074,7 +2074,7 @@ function Ku(e) {
|
|
2074
2074
|
void 0
|
2075
2075
|
);
|
2076
2076
|
}
|
2077
|
-
function
|
2077
|
+
function Fu(e) {
|
2078
2078
|
let t = !1;
|
2079
2079
|
const r = (i, a) => (t ? i[1] === a[1] : !i[1] == !a[1]) && i[2] === a[2], n = Os(() => e.children), s = se(
|
2080
2080
|
() => {
|
@@ -2112,7 +2112,7 @@ function Hu(e) {
|
|
2112
2112
|
void 0
|
2113
2113
|
);
|
2114
2114
|
}
|
2115
|
-
function
|
2115
|
+
function Vu(e) {
|
2116
2116
|
return e;
|
2117
2117
|
}
|
2118
2118
|
var _a = [
|
@@ -2346,7 +2346,7 @@ function Ua(e, t, r, n = {}) {
|
|
2346
2346
|
s(), t.textContent = "";
|
2347
2347
|
};
|
2348
2348
|
}
|
2349
|
-
function
|
2349
|
+
function Bu(e, t, r) {
|
2350
2350
|
let n;
|
2351
2351
|
const s = () => {
|
2352
2352
|
const a = document.createElement("template");
|
@@ -2361,7 +2361,7 @@ function Ka(e, t = window.document) {
|
|
2361
2361
|
r.has(i) || (r.add(i), t.addEventListener(i, Ls));
|
2362
2362
|
}
|
2363
2363
|
}
|
2364
|
-
function
|
2364
|
+
function Gu(e = window.document) {
|
2365
2365
|
if (e[Ct]) {
|
2366
2366
|
for (let t of e[Ct].keys())
|
2367
2367
|
e.removeEventListener(t, Ls);
|
@@ -2665,7 +2665,7 @@ var Xa = "http://www.w3.org/2000/svg";
|
|
2665
2665
|
function Ms(e, t = !1) {
|
2666
2666
|
return t ? document.createElementNS(Xa, e) : document.createElement(e);
|
2667
2667
|
}
|
2668
|
-
function
|
2668
|
+
function ju(e) {
|
2669
2669
|
const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = Dn();
|
2670
2670
|
let i, a = !!I.context;
|
2671
2671
|
return _s(
|
@@ -2693,7 +2693,7 @@ function Gu(e) {
|
|
2693
2693
|
}
|
2694
2694
|
), r;
|
2695
2695
|
}
|
2696
|
-
function
|
2696
|
+
function qu(e) {
|
2697
2697
|
const [t, r] = Ia(e, ["component"]), n = se(() => t.component);
|
2698
2698
|
return se(() => {
|
2699
2699
|
const s = n();
|
@@ -3207,42 +3207,42 @@ D.registerClass = D.defaultInstance.registerClass.bind(D.defaultInstance);
|
|
3207
3207
|
D.registerSymbol = D.defaultInstance.registerSymbol.bind(D.defaultInstance);
|
3208
3208
|
D.registerCustom = D.defaultInstance.registerCustom.bind(D.defaultInstance);
|
3209
3209
|
D.allowErrorProps = D.defaultInstance.allowErrorProps.bind(D.defaultInstance);
|
3210
|
-
var Oo = D.serialize,
|
3211
|
-
function
|
3210
|
+
var Oo = D.serialize, Wu = D.stringify;
|
3211
|
+
function Ju(e) {
|
3212
3212
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
3213
3213
|
}
|
3214
|
-
function
|
3214
|
+
function Yu(e, t) {
|
3215
3215
|
return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
|
3216
3216
|
}
|
3217
|
-
function
|
3217
|
+
function zu({
|
3218
3218
|
queryState: e,
|
3219
3219
|
observerCount: t,
|
3220
3220
|
isStale: r
|
3221
3221
|
}) {
|
3222
3222
|
return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
|
3223
3223
|
}
|
3224
|
-
function
|
3224
|
+
function Qu({
|
3225
3225
|
status: e,
|
3226
3226
|
isPaused: t
|
3227
3227
|
}) {
|
3228
3228
|
return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
|
3229
3229
|
}
|
3230
|
-
function
|
3230
|
+
function Xu(e) {
|
3231
3231
|
return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
|
3232
3232
|
}
|
3233
|
-
var
|
3233
|
+
var Zu = (e, t = !1) => {
|
3234
3234
|
const {
|
3235
3235
|
json: r
|
3236
3236
|
} = Oo(e);
|
3237
3237
|
return JSON.stringify(r, null, t ? 2 : void 0);
|
3238
|
-
}, er = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, No = (e, t) => e.queryHash.localeCompare(t.queryHash), Qs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Co = (e, t) => er(e) === er(t) ? Qs(e, t) : er(e) > er(t) ? 1 : -1,
|
3238
|
+
}, er = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, No = (e, t) => e.queryHash.localeCompare(t.queryHash), Qs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Co = (e, t) => er(e) === er(t) ? Qs(e, t) : er(e) > er(t) ? 1 : -1, ed = {
|
3239
3239
|
status: Co,
|
3240
3240
|
"query hash": No,
|
3241
3241
|
"last updated": Qs
|
3242
|
-
}, tr = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Xs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Po = (e, t) => tr(e) === tr(t) ? Xs(e, t) : tr(e) > tr(t) ? 1 : -1,
|
3242
|
+
}, tr = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Xs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Po = (e, t) => tr(e) === tr(t) ? Xs(e, t) : tr(e) > tr(t) ? 1 : -1, td = {
|
3243
3243
|
status: Po,
|
3244
3244
|
"last updated": Xs
|
3245
|
-
},
|
3245
|
+
}, rd = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), nd = () => {
|
3246
3246
|
const [e, t] = te("dark");
|
3247
3247
|
return fa(() => {
|
3248
3248
|
const r = window.matchMedia("(prefers-color-scheme: dark)");
|
@@ -3367,7 +3367,7 @@ var Xu = (e, t = !1) => {
|
|
3367
3367
|
const t = Ua(() => {
|
3368
3368
|
const r = this, [n] = f(this, wt), [s] = f(this, Et), [i] = f(this, St), [a] = f(this, vt), [o] = f(this, gt);
|
3369
3369
|
let c;
|
3370
|
-
return f(this, At) ? c = f(this, At) : (c = ka(() => import("./J3FDRF32.
|
3370
|
+
return f(this, At) ? c = f(this, At) : (c = ka(() => import("./J3FDRF32.BVX9O3tp.js")), w(this, At, c)), xo(f(this, Wt), f(this, bt)), va(c, Ta({
|
3371
3371
|
get queryFlavor() {
|
3372
3372
|
return f(r, jt);
|
3373
3373
|
},
|
@@ -4640,7 +4640,7 @@ async function jc(e) {
|
|
4640
4640
|
code_challenge: r
|
4641
4641
|
};
|
4642
4642
|
}
|
4643
|
-
const
|
4643
|
+
const ud = async (e, t) => {
|
4644
4644
|
var r;
|
4645
4645
|
const n = await kt(e);
|
4646
4646
|
if (!n || !Array.isArray((r = n.payload) == null ? void 0 : r[V.SCOPES_KEY]))
|
@@ -5395,12 +5395,54 @@ const ll = (e) => ke(
|
|
5395
5395
|
children: e
|
5396
5396
|
}
|
5397
5397
|
) });
|
5398
|
-
}, Ai = (e = vi) => ps(e),
|
5398
|
+
}, Ai = (e = vi) => ps(e), dd = "user", fd = "assistant", hd = "data", md = "I'm having trouble right now. Please try again later.", yd = "OpenAI", pd = "OpenAI", gd = "Anthropic", bd = "action-search", wd = "action-sort", Ed = "action-toggle-prompt", Sd = "action-reset-prompt", vd = "sassy-saint-", Ad = "details", Td = "search", Id = "sort", kd = "private-disclosure", Rd = "reasoning-disclosure", es = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", _d = 10, Od = 30, Nd = "av-prompt", Cd = "av-prompt-editable", Pd = "size-5 sm:size-4", xd = 30, Dd = 10, Ld = 130, Md = {
|
5399
5399
|
PLAN_FREE: "sassy:free",
|
5400
5400
|
PLAN_PLUS: "sassy:plus",
|
5401
5401
|
PLAN_ADVANCED: "sassy:advanced",
|
5402
5402
|
REASONING: "sassy:advanced:reasoning"
|
5403
|
-
}, fl =
|
5403
|
+
}, fl = "ASK! ME! ANYTHING!", Ti = "Callisto", hl = "Log in", ml = "Sign in with a Passkey", $d = "Log out", yl = "Password", Ud = "Usage", Kd = "Profile", Hd = "Settings", Fd = "Chat history", Vd = "About", Bd = "Type your question here", Gd = "{{clipboard}}", jd = `Sometimes, ${Ti} hallucinates. Review important details.`, qd = "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.", Wd = "Default provider set to", Jd = "Chat successfully deleted!", Yd = "Chat successfully saved!", pl = "av-sassy", zd = {
|
5404
|
+
PREFERENCES: {
|
5405
|
+
TITLE: "User profile",
|
5406
|
+
NAME: "Name",
|
5407
|
+
EMAIL: "Email",
|
5408
|
+
LOCATION: "Location",
|
5409
|
+
PASSKEY_TITLE: "Passkey",
|
5410
|
+
PASSKEY_INSTRUCTIONS: "Log in password-free with a passkey (facial recognition or fingerprint authentication).",
|
5411
|
+
PASSKEY_BUTTON: "Create a Passkey"
|
5412
|
+
},
|
5413
|
+
CURRENT_STATISTICS: {
|
5414
|
+
TITLE: "Current chat statistics",
|
5415
|
+
MODEL_NAME: "GPT model",
|
5416
|
+
TOKENS_USED: "Tokens used",
|
5417
|
+
REMAINING_TOKENS: "Remaining tokens",
|
5418
|
+
PROCESSING_TIME: "Average response time"
|
5419
|
+
},
|
5420
|
+
MAIN_STATISTICS: {
|
5421
|
+
TITLE: "Lifetime statistics",
|
5422
|
+
TOTAL: "Total chat session",
|
5423
|
+
TOTAL_PRIVATE: "Private chat",
|
5424
|
+
TOTAL_DELETED: "Deleted chat",
|
5425
|
+
PROCESSING_TIME: "Average response time",
|
5426
|
+
USAGE: `${(/* @__PURE__ */ new Date()).getFullYear()} token usage`
|
5427
|
+
},
|
5428
|
+
HISTORY: {
|
5429
|
+
TITLE: "Chat history"
|
5430
|
+
},
|
5431
|
+
ABOUT: {
|
5432
|
+
TITLE_CLIENT: "Client details",
|
5433
|
+
TITLE_SERVER: "Server details",
|
5434
|
+
VERSION: "Version",
|
5435
|
+
BUILD_TIMESTAMP: "Build date",
|
5436
|
+
PROVIDER: "Available AI model"
|
5437
|
+
},
|
5438
|
+
SETTINGS_PROMPTS: {
|
5439
|
+
TITLE: "Prompts"
|
5440
|
+
},
|
5441
|
+
SETTINGS_DETAILS: {
|
5442
|
+
TITLE: "Chat Details",
|
5443
|
+
INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
|
5444
|
+
}
|
5445
|
+
}, gl = process.env.NODE_ENV === "production", Ii = !gl, bl = Ii ? "gizmette.local.com" : "gizmette.com", Qd = async () => {
|
5404
5446
|
const e = {
|
5405
5447
|
/**
|
5406
5448
|
* A boolean value that indicates the application would
|
@@ -5449,21 +5491,21 @@ const ll = (e) => ke(
|
|
5449
5491
|
e
|
5450
5492
|
);
|
5451
5493
|
});
|
5452
|
-
},
|
5494
|
+
}, Xd = (e) => window.btoa(
|
5453
5495
|
encodeURIComponent(e).replace(
|
5454
5496
|
/%([0-9A-F]{2})/g,
|
5455
5497
|
function(r, n) {
|
5456
5498
|
return String.fromCharCode(+`0x${n}`);
|
5457
5499
|
}
|
5458
5500
|
)
|
5459
|
-
),
|
5501
|
+
), Zd = (e) => decodeURIComponent(
|
5460
5502
|
window.atob(e).split("").map(function(t) {
|
5461
5503
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
5462
5504
|
}).join("")
|
5463
|
-
),
|
5505
|
+
), ef = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
|
5464
5506
|
/* @__PURE__ */ y("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
|
5465
5507
|
/* @__PURE__ */ y("dd", { className: "my-1 inline-block", children: t[r] })
|
5466
|
-
] }) }, `${e}-${r}`)) : null,
|
5508
|
+
] }) }, `${e}-${r}`)) : null, wl = ({
|
5467
5509
|
isAuthenticated: e,
|
5468
5510
|
extraClass: t
|
5469
5511
|
}) => b(
|
@@ -5472,20 +5514,20 @@ const ll = (e) => ke(
|
|
5472
5514
|
"flex-1 overflow-y-auto",
|
5473
5515
|
e ? "pt-0" : "pt-10",
|
5474
5516
|
t
|
5475
|
-
),
|
5517
|
+
), El = ({
|
5476
5518
|
extraClass: e
|
5477
|
-
} = {}) => b("px-2 sm:px-0", e),
|
5519
|
+
} = {}) => b(pl, "px-2 sm:px-0", e), tf = (e, t) => t === 1 ? e : `${e}s`, rf = (e, t) => {
|
5478
5520
|
let r;
|
5479
5521
|
return (...n) => {
|
5480
5522
|
window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
|
5481
5523
|
};
|
5482
|
-
},
|
5483
|
-
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r =
|
5524
|
+
}, Sl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), vl = () => window.innerWidth < 403, nf = () => {
|
5525
|
+
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = vl(), n = navigator.maxTouchPoints > 1;
|
5484
5526
|
return e && t && r && n;
|
5485
|
-
},
|
5527
|
+
}, sf = (e) => {
|
5486
5528
|
const t = e.replace(/([A-Z])/g, " $1");
|
5487
5529
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
5488
|
-
},
|
5530
|
+
}, af = ({
|
5489
5531
|
autoClose: e = 3e3,
|
5490
5532
|
containerId: t,
|
5491
5533
|
position: r = "top-center",
|
@@ -5510,14 +5552,14 @@ const ll = (e) => ke(
|
|
5510
5552
|
transition: l,
|
5511
5553
|
icon: d
|
5512
5554
|
});
|
5513
|
-
function
|
5555
|
+
function of(e, t) {
|
5514
5556
|
for (const [r, n] of Object.entries(e))
|
5515
5557
|
for (const s of n)
|
5516
5558
|
if (new RegExp(`^${s}(-.+|[a-zA-Z0-9]+)?$`).test(t))
|
5517
5559
|
return r;
|
5518
5560
|
return null;
|
5519
5561
|
}
|
5520
|
-
const ts = "av-button", Mr = "icon", Sn = "button", yn = "link",
|
5562
|
+
const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
5521
5563
|
type: e,
|
5522
5564
|
size: t,
|
5523
5565
|
labelRight: r,
|
@@ -5553,7 +5595,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5553
5595
|
"h-12": t === "large" && i && (r || n)
|
5554
5596
|
});
|
5555
5597
|
}
|
5556
|
-
},
|
5598
|
+
}, Tl = ({
|
5557
5599
|
type: e,
|
5558
5600
|
size: t,
|
5559
5601
|
labelRight: r,
|
@@ -5576,7 +5618,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5576
5618
|
[a]: t === "large" && (r || n)
|
5577
5619
|
});
|
5578
5620
|
}
|
5579
|
-
},
|
5621
|
+
}, Il = ({
|
5580
5622
|
mode: e,
|
5581
5623
|
noBackground: t,
|
5582
5624
|
truncate: r,
|
@@ -5612,7 +5654,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5612
5654
|
return b("not-prose text-copy-lighter", {
|
5613
5655
|
truncate: r
|
5614
5656
|
});
|
5615
|
-
},
|
5657
|
+
}, kl = ({
|
5616
5658
|
mode: e,
|
5617
5659
|
noBackground: t,
|
5618
5660
|
variant: r
|
@@ -5642,13 +5684,13 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5642
5684
|
if (r === "selected")
|
5643
5685
|
return "bg-action-selected-dark";
|
5644
5686
|
}
|
5645
|
-
},
|
5687
|
+
}, Rl = ({
|
5646
5688
|
radius: e
|
5647
5689
|
}) => b({
|
5648
5690
|
"rounded-full": e === "large",
|
5649
5691
|
"rounded-md": e === "medium",
|
5650
5692
|
"rounded-xs": e === "small"
|
5651
|
-
}),
|
5693
|
+
}), _l = ({
|
5652
5694
|
mode: e,
|
5653
5695
|
disabled: t,
|
5654
5696
|
variant: r
|
@@ -5678,7 +5720,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5678
5720
|
});
|
5679
5721
|
if (r === "selected")
|
5680
5722
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
5681
|
-
},
|
5723
|
+
}, Ol = ({
|
5682
5724
|
mode: e,
|
5683
5725
|
disabled: t,
|
5684
5726
|
variant: r
|
@@ -5708,7 +5750,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5708
5750
|
});
|
5709
5751
|
if (r === "selected")
|
5710
5752
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
5711
|
-
},
|
5753
|
+
}, Nl = ({
|
5712
5754
|
mode: e,
|
5713
5755
|
noBorder: t,
|
5714
5756
|
variant: r
|
@@ -5738,14 +5780,14 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5738
5780
|
});
|
5739
5781
|
if (r === "selected")
|
5740
5782
|
return "border border-border-selected-dark";
|
5741
|
-
},
|
5783
|
+
}, Cl = ({
|
5742
5784
|
focusMode: e
|
5743
5785
|
}) => b("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
5744
5786
|
"focus:outline-focus-dark": e === "dark",
|
5745
5787
|
"focus:outline-focus-light": e === "light",
|
5746
5788
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
5747
5789
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
5748
|
-
}),
|
5790
|
+
}), Pl = ({
|
5749
5791
|
mode: e,
|
5750
5792
|
raw: t,
|
5751
5793
|
iconClassName: r
|
@@ -5757,11 +5799,11 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5757
5799
|
"dark:text-copy-accent-dark": e === "system"
|
5758
5800
|
},
|
5759
5801
|
r
|
5760
|
-
),
|
5802
|
+
), xl = ({
|
5761
5803
|
animated: e
|
5762
5804
|
}) => b({
|
5763
5805
|
"transition-opacity duration-300 ease-in": e
|
5764
|
-
}),
|
5806
|
+
}), ki = ({
|
5765
5807
|
type: e,
|
5766
5808
|
className: t,
|
5767
5809
|
raw: r,
|
@@ -5781,15 +5823,15 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5781
5823
|
animated: E
|
5782
5824
|
}) => (h || (h = "primary"), r ? b(ts, t) : b(
|
5783
5825
|
ts,
|
5784
|
-
|
5826
|
+
Il({
|
5785
5827
|
mode: n,
|
5786
5828
|
variant: h,
|
5787
5829
|
noBackground: u,
|
5788
5830
|
truncate: m
|
5789
5831
|
}),
|
5790
|
-
|
5791
|
-
|
5792
|
-
|
5832
|
+
kl({ mode: n, noBackground: u, variant: h }),
|
5833
|
+
Rl({ radius: g }),
|
5834
|
+
Al({
|
5793
5835
|
type: e,
|
5794
5836
|
size: o,
|
5795
5837
|
labelRight: l,
|
@@ -5797,11 +5839,11 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5797
5839
|
align: p,
|
5798
5840
|
animated: E
|
5799
5841
|
}),
|
5800
|
-
|
5801
|
-
|
5802
|
-
|
5803
|
-
|
5804
|
-
|
5842
|
+
Tl({ type: e, size: o, labelRight: l, labelLeft: d }),
|
5843
|
+
Nl({ mode: n, variant: h, noBorder: c }),
|
5844
|
+
Cl({ focusMode: s }),
|
5845
|
+
_l({ mode: n, variant: h, disabled: i }),
|
5846
|
+
Ol({ mode: n, variant: h, disabled: i }),
|
5805
5847
|
{
|
5806
5848
|
"w-full": a,
|
5807
5849
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
@@ -5810,7 +5852,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5810
5852
|
"transition-[width] duration-300 ease-in-out": e === Mr && E
|
5811
5853
|
}),
|
5812
5854
|
t
|
5813
|
-
)),
|
5855
|
+
)), Dl = (e, t, r) => {
|
5814
5856
|
var n;
|
5815
5857
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
5816
5858
|
}, vn = _e.forwardRef((e, t) => {
|
@@ -5820,14 +5862,14 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
|
5820
5862
|
{
|
5821
5863
|
ref: t,
|
5822
5864
|
onClick: (i) => {
|
5823
|
-
|
5865
|
+
Dl(i, n, r);
|
5824
5866
|
},
|
5825
5867
|
...s
|
5826
5868
|
}
|
5827
5869
|
);
|
5828
5870
|
});
|
5829
5871
|
vn.displayName = "BaseButton";
|
5830
|
-
const
|
5872
|
+
const Ri = _e.forwardRef(
|
5831
5873
|
({
|
5832
5874
|
children: e,
|
5833
5875
|
disabled: t = !1,
|
@@ -5843,7 +5885,7 @@ const ki = _e.forwardRef(
|
|
5843
5885
|
radius: u = "large",
|
5844
5886
|
...h
|
5845
5887
|
}, m) => {
|
5846
|
-
const p =
|
5888
|
+
const p = ki({
|
5847
5889
|
type: Sn,
|
5848
5890
|
mode: r,
|
5849
5891
|
focusMode: n,
|
@@ -5869,14 +5911,14 @@ const ki = _e.forwardRef(
|
|
5869
5911
|
);
|
5870
5912
|
}
|
5871
5913
|
);
|
5872
|
-
|
5873
|
-
function
|
5914
|
+
Ri.displayName = "Button";
|
5915
|
+
function Ll() {
|
5874
5916
|
const e = z(!1);
|
5875
5917
|
return we(() => (e.current = !0, () => {
|
5876
5918
|
e.current = !1;
|
5877
5919
|
}), []), ke(() => e.current, []);
|
5878
5920
|
}
|
5879
|
-
function
|
5921
|
+
function Ml(e) {
|
5880
5922
|
return Rr(() => e.every((t) => t == null) ? () => {
|
5881
5923
|
} : (t) => {
|
5882
5924
|
e.forEach((r) => {
|
@@ -5884,7 +5926,7 @@ function Cl(e) {
|
|
5884
5926
|
});
|
5885
5927
|
}, e);
|
5886
5928
|
}
|
5887
|
-
const
|
5929
|
+
const $l = {
|
5888
5930
|
x: 0,
|
5889
5931
|
y: 0,
|
5890
5932
|
width: 0,
|
@@ -5895,7 +5937,7 @@ const Pl = {
|
|
5895
5937
|
right: 0
|
5896
5938
|
};
|
5897
5939
|
function zr(e) {
|
5898
|
-
const t =
|
5940
|
+
const t = Ll(), r = z(0), n = z(null), [s, i] = Ie($l), a = Rr(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
5899
5941
|
const c = o[0];
|
5900
5942
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
5901
5943
|
n.current && t() && i(c.contentRect);
|
@@ -5905,21 +5947,21 @@ function zr(e) {
|
|
5905
5947
|
a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
|
5906
5948
|
}), [a, e]), [n, s];
|
5907
5949
|
}
|
5908
|
-
const
|
5950
|
+
const Ul = {
|
5909
5951
|
small: 24,
|
5910
5952
|
// w-6
|
5911
5953
|
medium: 32,
|
5912
5954
|
// w-8
|
5913
5955
|
large: 48
|
5914
5956
|
// w-12
|
5915
|
-
},
|
5957
|
+
}, Kl = {
|
5916
5958
|
small: 8 * 2,
|
5917
5959
|
// px-2 x 2
|
5918
5960
|
medium: 12 * 2,
|
5919
5961
|
// px-3 x 2
|
5920
5962
|
large: 16 * 2
|
5921
5963
|
// px-4 x 2
|
5922
|
-
},
|
5964
|
+
}, Hl = 2, Ir = _e.forwardRef(
|
5923
5965
|
({
|
5924
5966
|
children: e,
|
5925
5967
|
disabled: t = !1,
|
@@ -5943,7 +5985,7 @@ const xl = {
|
|
5943
5985
|
animated: v = !1,
|
5944
5986
|
...N
|
5945
5987
|
}, R) => {
|
5946
|
-
const U =
|
5988
|
+
const U = ki({
|
5947
5989
|
type: Mr,
|
5948
5990
|
mode: r,
|
5949
5991
|
focusMode: n,
|
@@ -5960,11 +6002,11 @@ const xl = {
|
|
5960
6002
|
radius: E,
|
5961
6003
|
variant: O,
|
5962
6004
|
animated: v
|
5963
|
-
}), F =
|
6005
|
+
}), F = Pl({ mode: r, raw: o, iconClassName: C }), _ = xl({ animated: v }), [T, P] = zr(), [k, K] = zr(), [X, fe] = zr(), Ne = z(0), S = z(null), $ = Ml([R, S]);
|
5964
6006
|
return mr(() => {
|
5965
|
-
X && X.current && v && (Ne.current = fe.width +
|
6007
|
+
X && X.current && v && (Ne.current = fe.width + Kl[u] + (c ? 0 : Hl));
|
5966
6008
|
}, [fe, X, u, c, v]), mr(() => {
|
5967
|
-
S && S.current && v && (h && T && P.width > 0 ? (T.current && (T.current.style.opacity = "100"), S.current.style.width = `${P.width + Ne.current}px`) : m && K.width > 0 ? (k.current && (k.current.style.opacity = "100"), S.current.style.width = `${K.width + Ne.current}px`) : (T.current && (T.current.style.opacity = "0"), k.current && (k.current.style.opacity = "0"), S.current.style.width = `${
|
6009
|
+
S && S.current && v && (h && T && P.width > 0 ? (T.current && (T.current.style.opacity = "100"), S.current.style.width = `${P.width + Ne.current}px`) : m && K.width > 0 ? (k.current && (k.current.style.opacity = "100"), S.current.style.width = `${K.width + Ne.current}px`) : (T.current && (T.current.style.opacity = "0"), k.current && (k.current.style.opacity = "0"), S.current.style.width = `${Ul[u]}px`));
|
5968
6010
|
}, [
|
5969
6011
|
P,
|
5970
6012
|
h,
|
@@ -6027,7 +6069,7 @@ try {
|
|
6027
6069
|
});
|
6028
6070
|
} catch {
|
6029
6071
|
}
|
6030
|
-
const
|
6072
|
+
const Fl = _e.forwardRef(
|
6031
6073
|
({
|
6032
6074
|
children: e,
|
6033
6075
|
mode: t = "system",
|
@@ -6065,7 +6107,7 @@ const Ml = _e.forwardRef(
|
|
6065
6107
|
) });
|
6066
6108
|
}
|
6067
6109
|
);
|
6068
|
-
|
6110
|
+
Fl.displayName = "ButtonSort";
|
6069
6111
|
/*!
|
6070
6112
|
@versini/ui-card v4.0.0
|
6071
6113
|
© 2025 gizmette.com
|
@@ -6080,11 +6122,11 @@ try {
|
|
6080
6122
|
} catch {
|
6081
6123
|
}
|
6082
6124
|
const fr = "av-card";
|
6083
|
-
function
|
6125
|
+
function Vl(e) {
|
6084
6126
|
const t = gs();
|
6085
6127
|
return `${e}${t}`;
|
6086
6128
|
}
|
6087
|
-
const
|
6129
|
+
const Bl = ({
|
6088
6130
|
className: e,
|
6089
6131
|
headerClassName: t,
|
6090
6132
|
bodyClassName: r,
|
@@ -6124,7 +6166,7 @@ const Ul = ({
|
|
6124
6166
|
footer: d
|
6125
6167
|
};
|
6126
6168
|
};
|
6127
|
-
function
|
6169
|
+
function Gl({
|
6128
6170
|
id: e,
|
6129
6171
|
content: t,
|
6130
6172
|
userAriaLabelledby: r,
|
@@ -6132,7 +6174,7 @@ function Kl({
|
|
6132
6174
|
}) {
|
6133
6175
|
return typeof t == "string" ? /* @__PURE__ */ y("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ y("div", { className: n, children: t }) : t ? /* @__PURE__ */ y("div", { className: n, id: e, children: t }) : null;
|
6134
6176
|
}
|
6135
|
-
const
|
6177
|
+
const jl = ({
|
6136
6178
|
header: e,
|
6137
6179
|
headerClassName: t,
|
6138
6180
|
footer: r,
|
@@ -6147,7 +6189,7 @@ const Hl = ({
|
|
6147
6189
|
...u
|
6148
6190
|
}) => {
|
6149
6191
|
let h = null, m = null;
|
6150
|
-
const p = typeof e == "string", g =
|
6192
|
+
const p = typeof e == "string", g = Vl(fr), E = Bl({
|
6151
6193
|
className: i,
|
6152
6194
|
headerClassName: t,
|
6153
6195
|
bodyClassName: a,
|
@@ -6166,7 +6208,7 @@ const Hl = ({
|
|
6166
6208
|
...u,
|
6167
6209
|
children: [
|
6168
6210
|
/* @__PURE__ */ y(
|
6169
|
-
|
6211
|
+
Gl,
|
6170
6212
|
{
|
6171
6213
|
...h && { id: h },
|
6172
6214
|
content: e,
|
@@ -6222,7 +6264,7 @@ try {
|
|
6222
6264
|
});
|
6223
6265
|
} catch {
|
6224
6266
|
}
|
6225
|
-
const
|
6267
|
+
const ql = ({
|
6226
6268
|
className: e,
|
6227
6269
|
viewBox: t,
|
6228
6270
|
title: r,
|
@@ -6239,7 +6281,7 @@ const Fl = ({
|
|
6239
6281
|
...s,
|
6240
6282
|
children: /* @__PURE__ */ y("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
|
6241
6283
|
}
|
6242
|
-
),
|
6284
|
+
), Wl = ({
|
6243
6285
|
className: e,
|
6244
6286
|
viewBox: t,
|
6245
6287
|
title: r,
|
@@ -6265,7 +6307,7 @@ const Fl = ({
|
|
6265
6307
|
/* @__PURE__ */ y("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
|
6266
6308
|
]
|
6267
6309
|
}
|
6268
|
-
),
|
6310
|
+
), Jl = ({
|
6269
6311
|
className: e,
|
6270
6312
|
viewBox: t,
|
6271
6313
|
title: r,
|
@@ -6301,7 +6343,7 @@ const Fl = ({
|
|
6301
6343
|
]
|
6302
6344
|
}
|
6303
6345
|
);
|
6304
|
-
},
|
6346
|
+
}, Yl = ({
|
6305
6347
|
className: e,
|
6306
6348
|
viewBox: t,
|
6307
6349
|
title: r,
|
@@ -6354,7 +6396,7 @@ try {
|
|
6354
6396
|
});
|
6355
6397
|
} catch {
|
6356
6398
|
}
|
6357
|
-
const
|
6399
|
+
const zl = "av-main", Ql = ({
|
6358
6400
|
children: e,
|
6359
6401
|
className: t,
|
6360
6402
|
raw: r = !1,
|
@@ -6363,7 +6405,7 @@ const jl = "av-main", ql = ({
|
|
6363
6405
|
...i
|
6364
6406
|
}) => {
|
6365
6407
|
const a = b(
|
6366
|
-
|
6408
|
+
zl,
|
6367
6409
|
{
|
6368
6410
|
"mt-2 sm:mt-3": !r && !n,
|
6369
6411
|
"p-2": !r && !s,
|
@@ -6372,10 +6414,10 @@ const jl = "av-main", ql = ({
|
|
6372
6414
|
t
|
6373
6415
|
);
|
6374
6416
|
return /* @__PURE__ */ y("main", { className: a, ...i, children: e });
|
6375
|
-
},
|
6417
|
+
}, Xl = "av-flexgrid", lr = "av-flexgrid-item", kr = 0.25, pn = _e.createContext({
|
6376
6418
|
columnGap: 0,
|
6377
6419
|
rowGap: 0
|
6378
|
-
}),
|
6420
|
+
}), Zl = ({
|
6379
6421
|
children: e,
|
6380
6422
|
className: t,
|
6381
6423
|
columnGap: r = 1,
|
@@ -6401,7 +6443,7 @@ const jl = "av-main", ql = ({
|
|
6401
6443
|
marginLeft: r * -1 * kr + "rem",
|
6402
6444
|
marginTop: n * -1 * kr + "rem"
|
6403
6445
|
}, u = b(
|
6404
|
-
|
6446
|
+
Xl,
|
6405
6447
|
"box-border flex flex-wrap"
|
6406
6448
|
), h = { columnGap: r, rowGap: n };
|
6407
6449
|
return t ? /* @__PURE__ */ y("div", { className: t, children: /* @__PURE__ */ y("div", { className: u, style: d, ...l, children: /* @__PURE__ */ y(pn.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ y("div", { className: u, style: d, ...l, children: /* @__PURE__ */ y(pn.Provider, { value: h, children: e }) });
|
@@ -6478,7 +6520,7 @@ const jl = "av-main", ql = ({
|
|
6478
6520
|
"lg:basis-full": e === 12 && t === "lg",
|
6479
6521
|
"xl:basis-full": e === 12 && t === "xl",
|
6480
6522
|
"2xl:basis-full": e === 12 && t === "2xl"
|
6481
|
-
}),
|
6523
|
+
}), eu = ({
|
6482
6524
|
className: e,
|
6483
6525
|
span: t
|
6484
6526
|
}) => {
|
@@ -6510,7 +6552,7 @@ const jl = "av-main", ql = ({
|
|
6510
6552
|
const { columnGap: s, rowGap: i } = ps(pn), a = {
|
6511
6553
|
paddingLeft: s * kr + "rem",
|
6512
6554
|
paddingTop: i * kr + "rem"
|
6513
|
-
}, o =
|
6555
|
+
}, o = eu({
|
6514
6556
|
className: t,
|
6515
6557
|
span: r
|
6516
6558
|
});
|
@@ -6529,14 +6571,14 @@ try {
|
|
6529
6571
|
});
|
6530
6572
|
} catch {
|
6531
6573
|
}
|
6532
|
-
const
|
6533
|
-
function
|
6574
|
+
const _i = "av-text-input", tu = "av-text-input-wrapper", Xr = "av-text-input-helper-text";
|
6575
|
+
function ru() {
|
6534
6576
|
const e = z(!1);
|
6535
6577
|
return we(() => (e.current = !0, () => {
|
6536
6578
|
e.current = !1;
|
6537
6579
|
}), []), ke(() => e.current, []);
|
6538
6580
|
}
|
6539
|
-
const
|
6581
|
+
const nu = {
|
6540
6582
|
x: 0,
|
6541
6583
|
y: 0,
|
6542
6584
|
width: 0,
|
@@ -6546,8 +6588,8 @@ const Xl = {
|
|
6546
6588
|
bottom: 0,
|
6547
6589
|
right: 0
|
6548
6590
|
};
|
6549
|
-
function
|
6550
|
-
const t =
|
6591
|
+
function su(e) {
|
6592
|
+
const t = ru(), r = z(0), n = z(null), [s, i] = Ie(nu), a = Rr(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
6551
6593
|
const c = o[0];
|
6552
6594
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
6553
6595
|
n.current && t() && i(c.contentRect);
|
@@ -6557,7 +6599,7 @@ function Zl(e) {
|
|
6557
6599
|
a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
|
6558
6600
|
}), [a, e]), [n, s];
|
6559
6601
|
}
|
6560
|
-
function
|
6602
|
+
function iu(e) {
|
6561
6603
|
const t = gs();
|
6562
6604
|
if (!e)
|
6563
6605
|
return t;
|
@@ -6568,7 +6610,7 @@ function eu(e) {
|
|
6568
6610
|
return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
|
6569
6611
|
}
|
6570
6612
|
}
|
6571
|
-
const
|
6613
|
+
const Oi = "SET_ANNOUNCEMENT", Ni = "CLEAR_ANNOUNCEMENT", au = {
|
6572
6614
|
alert: null,
|
6573
6615
|
alertdialog: null,
|
6574
6616
|
log: "polite",
|
@@ -6576,14 +6618,14 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
|
|
6576
6618
|
progressbar: null,
|
6577
6619
|
status: "polite",
|
6578
6620
|
timer: "assertive"
|
6579
|
-
},
|
6621
|
+
}, ou = (e, t) => {
|
6580
6622
|
switch (t == null ? void 0 : t.type) {
|
6581
|
-
case
|
6623
|
+
case Oi:
|
6582
6624
|
return {
|
6583
6625
|
...e,
|
6584
6626
|
announcement: t.payload
|
6585
6627
|
};
|
6586
|
-
case
|
6628
|
+
case Ni:
|
6587
6629
|
return {
|
6588
6630
|
...e,
|
6589
6631
|
announcement: null
|
@@ -6591,12 +6633,12 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
|
|
6591
6633
|
default:
|
6592
6634
|
return e;
|
6593
6635
|
}
|
6594
|
-
},
|
6636
|
+
}, cu = ({
|
6595
6637
|
onAnnouncementClear: e,
|
6596
6638
|
dispatch: t
|
6597
6639
|
}) => {
|
6598
6640
|
t({
|
6599
|
-
type:
|
6641
|
+
type: Ni
|
6600
6642
|
}), typeof e == "function" && e();
|
6601
6643
|
}, ns = ({
|
6602
6644
|
children: e,
|
@@ -6606,16 +6648,16 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
|
|
6606
6648
|
dispatch: s
|
6607
6649
|
}) => {
|
6608
6650
|
clearTimeout(r.current), e !== null && s({
|
6609
|
-
type:
|
6651
|
+
type: Oi,
|
6610
6652
|
payload: e
|
6611
6653
|
}), t && (r.current = setTimeout(
|
6612
|
-
() =>
|
6654
|
+
() => cu({
|
6613
6655
|
onAnnouncementClear: n,
|
6614
6656
|
dispatch: s
|
6615
6657
|
}),
|
6616
6658
|
t
|
6617
6659
|
));
|
6618
|
-
},
|
6660
|
+
}, lu = ({
|
6619
6661
|
children: e,
|
6620
6662
|
announcementTimeoutRef: t,
|
6621
6663
|
announcementDelay: r,
|
@@ -6638,7 +6680,7 @@ const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
|
|
6638
6680
|
dispatch: a
|
6639
6681
|
});
|
6640
6682
|
};
|
6641
|
-
function
|
6683
|
+
function Ci({
|
6642
6684
|
children: e,
|
6643
6685
|
className: t,
|
6644
6686
|
politeness: r,
|
@@ -6649,12 +6691,12 @@ function Ni({
|
|
6649
6691
|
visible: o,
|
6650
6692
|
...c
|
6651
6693
|
}) {
|
6652
|
-
const l = z(null), d = z(null), [u, h] = ys(
|
6694
|
+
const l = z(null), d = z(null), [u, h] = ys(ou, {
|
6653
6695
|
announcement: null
|
6654
6696
|
});
|
6655
6697
|
let m = r;
|
6656
|
-
typeof m > "u" && (m = n ?
|
6657
|
-
|
6698
|
+
typeof m > "u" && (m = n ? au[n] : "assertive"), we(() => {
|
6699
|
+
lu({
|
6658
6700
|
announcementTimeoutRef: l,
|
6659
6701
|
announcementDelay: s,
|
6660
6702
|
children: e,
|
@@ -6696,21 +6738,21 @@ try {
|
|
6696
6738
|
});
|
6697
6739
|
} catch {
|
6698
6740
|
}
|
6699
|
-
const
|
6741
|
+
const uu = ({
|
6700
6742
|
mode: e
|
6701
6743
|
}) => b({
|
6702
6744
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
6703
6745
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
6704
6746
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
6705
6747
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
6706
|
-
}),
|
6748
|
+
}), du = ({
|
6707
6749
|
focusMode: e
|
6708
6750
|
}) => b("focus:outline focus:outline-2 focus:outline-offset-2", {
|
6709
6751
|
"focus:outline-focus-dark": e === "dark",
|
6710
6752
|
"focus:outline-focus-light": e === "light",
|
6711
6753
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
6712
6754
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
6713
|
-
}),
|
6755
|
+
}), fu = ({
|
6714
6756
|
noBorder: e,
|
6715
6757
|
error: t
|
6716
6758
|
}) => b("border-2", {
|
@@ -6718,7 +6760,7 @@ const iu = ({
|
|
6718
6760
|
"focus:border-border-dark": !e && t,
|
6719
6761
|
"border-border-error-dark": !e && t,
|
6720
6762
|
"border-transparent": e
|
6721
|
-
}),
|
6763
|
+
}), hu = ({
|
6722
6764
|
disabled: e,
|
6723
6765
|
raw: t,
|
6724
6766
|
error: r,
|
@@ -6742,7 +6784,7 @@ const iu = ({
|
|
6742
6784
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
|
6743
6785
|
"text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
|
6744
6786
|
});
|
6745
|
-
},
|
6787
|
+
}, mu = ({
|
6746
6788
|
error: e,
|
6747
6789
|
raw: t,
|
6748
6790
|
mode: r,
|
@@ -6769,7 +6811,7 @@ const iu = ({
|
|
6769
6811
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
6770
6812
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
|
6771
6813
|
});
|
6772
|
-
},
|
6814
|
+
}, yu = ({
|
6773
6815
|
className: e,
|
6774
6816
|
inputClassName: t,
|
6775
6817
|
raw: r,
|
@@ -6783,7 +6825,7 @@ const iu = ({
|
|
6783
6825
|
}) => {
|
6784
6826
|
const d = r ? e : b(
|
6785
6827
|
"relative flex w-full flex-col justify-center",
|
6786
|
-
|
6828
|
+
tu,
|
6787
6829
|
e
|
6788
6830
|
);
|
6789
6831
|
let u = "";
|
@@ -6805,22 +6847,22 @@ const iu = ({
|
|
6805
6847
|
break;
|
6806
6848
|
}
|
6807
6849
|
const h = r ? b(t) : b(
|
6808
|
-
|
6850
|
+
_i,
|
6809
6851
|
u,
|
6810
6852
|
"rounded-md text-base px-4",
|
6811
|
-
|
6812
|
-
|
6813
|
-
|
6853
|
+
uu({ mode: a }),
|
6854
|
+
du({ focusMode: o }),
|
6855
|
+
fu({ noBorder: s, error: i }),
|
6814
6856
|
{
|
6815
6857
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
6816
6858
|
},
|
6817
6859
|
t
|
6818
|
-
), m = r ? void 0 : "sr-only", p =
|
6860
|
+
), m = r ? void 0 : "sr-only", p = hu({
|
6819
6861
|
disabled: n,
|
6820
6862
|
raw: r,
|
6821
6863
|
error: i,
|
6822
6864
|
mode: a
|
6823
|
-
}), g =
|
6865
|
+
}), g = mu({
|
6824
6866
|
error: i,
|
6825
6867
|
raw: r,
|
6826
6868
|
mode: a,
|
@@ -6856,13 +6898,13 @@ const iu = ({
|
|
6856
6898
|
size: O = "md",
|
6857
6899
|
...C
|
6858
6900
|
}, v) => {
|
6859
|
-
const [N, R] =
|
6901
|
+
const [N, R] = su(), [U, F] = Ie(0), _ = iu({ id: e, prefix: `${_i}-` }), T = `${t} error, ${p}`, P = z(null), k = z(null), K = {
|
6860
6902
|
xs: { label: "-25px", helperText: "30px" },
|
6861
6903
|
sm: { label: "-29px", helperText: "34px" },
|
6862
6904
|
md: { label: "-33px", helperText: "38px" },
|
6863
6905
|
lg: { label: "-15px", helperText: "22px" },
|
6864
6906
|
xl: { label: "-19px", helperText: "25px" }
|
6865
|
-
}, X =
|
6907
|
+
}, X = yu({
|
6866
6908
|
className: i,
|
6867
6909
|
inputClassName: a,
|
6868
6910
|
error: n,
|
@@ -6936,12 +6978,12 @@ const iu = ({
|
|
6936
6978
|
children: g
|
6937
6979
|
}
|
6938
6980
|
),
|
6939
|
-
n && p && /* @__PURE__ */ y(
|
6981
|
+
n && p && /* @__PURE__ */ y(Ci, { politeness: "polite", clearAnnouncementDelay: 500, children: T })
|
6940
6982
|
] });
|
6941
6983
|
}
|
6942
6984
|
);
|
6943
6985
|
An.displayName = "TextInput";
|
6944
|
-
function
|
6986
|
+
function pu(e) {
|
6945
6987
|
return Rr(() => e.every((t) => t == null) ? () => {
|
6946
6988
|
} : (t) => {
|
6947
6989
|
e.forEach((r) => {
|
@@ -6949,7 +6991,7 @@ function du(e) {
|
|
6949
6991
|
});
|
6950
6992
|
}, e);
|
6951
6993
|
}
|
6952
|
-
const
|
6994
|
+
const gu = 500, bu = 5e3, wu = 2e4, Pi = _e.forwardRef(
|
6953
6995
|
({
|
6954
6996
|
name: e,
|
6955
6997
|
disabled: t,
|
@@ -6966,19 +7008,19 @@ const fu = 500, hu = 5e3, mu = 2e4, Ci = _e.forwardRef(
|
|
6966
7008
|
const [h, m] = Ie(!0), [p, g] = Ie({
|
6967
7009
|
message: null,
|
6968
7010
|
politeness: null
|
6969
|
-
}), E = z(!0), O = z(null), C = z(null), v =
|
7011
|
+
}), E = z(!0), O = z(null), C = z(null), v = pu([u, C]), N = h ? "Show" : "Hide", R = () => {
|
6970
7012
|
O.current && clearTimeout(O.current), E.current || (O.current = setTimeout(() => {
|
6971
7013
|
E.current = !0, m(!0), g({
|
6972
|
-
announcementTimeout:
|
7014
|
+
announcementTimeout: bu,
|
6973
7015
|
politeness: "polite",
|
6974
7016
|
message: `${r} hiding characters`
|
6975
7017
|
}), s && s(!0);
|
6976
|
-
},
|
7018
|
+
}, wu));
|
6977
7019
|
}, U = (k) => {
|
6978
7020
|
k.preventDefault();
|
6979
7021
|
const K = !E.current;
|
6980
7022
|
E.current = K, R(), m(K), g({
|
6981
|
-
announcementTimeout:
|
7023
|
+
announcementTimeout: gu,
|
6982
7024
|
politeness: "assertive",
|
6983
7025
|
message: K ? "Characters hidden" : "Characters showing"
|
6984
7026
|
}), s && s(K);
|
@@ -7019,7 +7061,7 @@ const fu = 500, hu = 5e3, mu = 2e4, Ci = _e.forwardRef(
|
|
7019
7061
|
}
|
7020
7062
|
),
|
7021
7063
|
/* @__PURE__ */ y(
|
7022
|
-
|
7064
|
+
Ci,
|
7023
7065
|
{
|
7024
7066
|
role: "status",
|
7025
7067
|
politeness: p.politeness,
|
@@ -7030,7 +7072,7 @@ const fu = 500, hu = 5e3, mu = 2e4, Ci = _e.forwardRef(
|
|
7030
7072
|
] });
|
7031
7073
|
}
|
7032
7074
|
);
|
7033
|
-
|
7075
|
+
Pi.displayName = "TextInputMask";
|
7034
7076
|
/*!
|
7035
7077
|
@versini/ui-textinput v4.0.0
|
7036
7078
|
© 2025 gizmette.com
|
@@ -7044,55 +7086,13 @@ try {
|
|
7044
7086
|
});
|
7045
7087
|
} catch {
|
7046
7088
|
}
|
7047
|
-
const
|
7048
|
-
|
7049
|
-
TITLE: "User profile",
|
7050
|
-
NAME: "Name",
|
7051
|
-
EMAIL: "Email",
|
7052
|
-
LOCATION: "Location",
|
7053
|
-
PASSKEY_TITLE: "Passkey",
|
7054
|
-
PASSKEY_INSTRUCTIONS: "Log in password-free with a passkey (facial recognition or fingerprint authentication).",
|
7055
|
-
PASSKEY_BUTTON: "Create a Passkey"
|
7056
|
-
},
|
7057
|
-
CURRENT_STATISTICS: {
|
7058
|
-
TITLE: "Current chat statistics",
|
7059
|
-
MODEL_NAME: "GPT model",
|
7060
|
-
TOKENS_USED: "Tokens used",
|
7061
|
-
REMAINING_TOKENS: "Remaining tokens",
|
7062
|
-
PROCESSING_TIME: "Average response time"
|
7063
|
-
},
|
7064
|
-
MAIN_STATISTICS: {
|
7065
|
-
TITLE: "Lifetime statistics",
|
7066
|
-
TOTAL: "Total chat session",
|
7067
|
-
TOTAL_PRIVATE: "Private chat",
|
7068
|
-
TOTAL_DELETED: "Deleted chat",
|
7069
|
-
PROCESSING_TIME: "Average response time",
|
7070
|
-
USAGE: `${(/* @__PURE__ */ new Date()).getFullYear()} token usage`
|
7071
|
-
},
|
7072
|
-
HISTORY: {
|
7073
|
-
TITLE: "Chat history"
|
7074
|
-
},
|
7075
|
-
ABOUT: {
|
7076
|
-
TITLE_CLIENT: "Client details",
|
7077
|
-
TITLE_SERVER: "Server details",
|
7078
|
-
VERSION: "Version",
|
7079
|
-
BUILD_TIMESTAMP: "Build date",
|
7080
|
-
PROVIDER: "Available AI model"
|
7081
|
-
},
|
7082
|
-
SETTINGS_PROMPTS: {
|
7083
|
-
TITLE: "Prompts"
|
7084
|
-
},
|
7085
|
-
SETTINGS_DETAILS: {
|
7086
|
-
TITLE: "Chat Details",
|
7087
|
-
INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
|
7088
|
-
}
|
7089
|
-
}, wu = () => /* @__PURE__ */ re("div", { className: "flex items-center justify-center text-slate-300", children: [
|
7090
|
-
/* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(Fl, {}) }),
|
7089
|
+
const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justify-center text-slate-300", children: [
|
7090
|
+
/* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(ql, {}) }),
|
7091
7091
|
/* @__PURE__ */ re("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
7092
|
-
/* @__PURE__ */ y("h1", { children:
|
7093
|
-
/* @__PURE__ */ y("h2", { children:
|
7092
|
+
/* @__PURE__ */ y("h1", { children: Ti }),
|
7093
|
+
/* @__PURE__ */ y("h2", { children: fl })
|
7094
7094
|
] })
|
7095
|
-
] }),
|
7095
|
+
] }), Su = () => {
|
7096
7096
|
const { login: e, logoutReason: t, loginWithPasskey: r } = Ai(), [n, s] = Ie(""), [i, a] = Ie(""), [o, c] = Ie(!0), [l, d] = Ie({
|
7097
7097
|
username: "",
|
7098
7098
|
password: ""
|
@@ -7108,9 +7108,9 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7108
7108
|
}), we(() => {
|
7109
7109
|
t && a(t);
|
7110
7110
|
}, [t]), /* @__PURE__ */ y(hr, { children: /* @__PURE__ */ re(
|
7111
|
-
|
7111
|
+
Ql,
|
7112
7112
|
{
|
7113
|
-
className:
|
7113
|
+
className: El({
|
7114
7114
|
extraClass: "mt-5"
|
7115
7115
|
}),
|
7116
7116
|
noMargin: !0,
|
@@ -7119,13 +7119,13 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7119
7119
|
/* @__PURE__ */ y(
|
7120
7120
|
"div",
|
7121
7121
|
{
|
7122
|
-
className:
|
7122
|
+
className: wl({
|
7123
7123
|
extraClass: "rounded-md"
|
7124
7124
|
}),
|
7125
|
-
children: /* @__PURE__ */ y(
|
7125
|
+
children: /* @__PURE__ */ y(Eu, {})
|
7126
7126
|
}
|
7127
7127
|
),
|
7128
|
-
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ y(
|
7128
|
+
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ y(Zl, { alignHorizontal: "center", children: /* @__PURE__ */ y(He, { span: 6, children: /* @__PURE__ */ re(jl, { mode: "dark", children: [
|
7129
7129
|
/* @__PURE__ */ y(He, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ y("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
|
7130
7130
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7131
7131
|
An,
|
@@ -7149,7 +7149,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7149
7149
|
}
|
7150
7150
|
) }),
|
7151
7151
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7152
|
-
|
7152
|
+
Pi,
|
7153
7153
|
{
|
7154
7154
|
className: "mt-7",
|
7155
7155
|
required: !0,
|
@@ -7159,14 +7159,14 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7159
7159
|
mode: "dark",
|
7160
7160
|
focusMode: "light",
|
7161
7161
|
name: "password",
|
7162
|
-
label:
|
7162
|
+
label: yl,
|
7163
7163
|
rightElement: /* @__PURE__ */ y(
|
7164
7164
|
Ir,
|
7165
7165
|
{
|
7166
7166
|
focusMode: "light",
|
7167
7167
|
mode: "dark",
|
7168
7168
|
label: o ? "Show" : "Hide",
|
7169
|
-
children: o ? /* @__PURE__ */ y(
|
7169
|
+
children: o ? /* @__PURE__ */ y(Yl, {}) : /* @__PURE__ */ y(Wl, {})
|
7170
7170
|
}
|
7171
7171
|
),
|
7172
7172
|
onMaskChange: c,
|
@@ -7181,7 +7181,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7181
7181
|
}
|
7182
7182
|
) }),
|
7183
7183
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7184
|
-
|
7184
|
+
Ri,
|
7185
7185
|
{
|
7186
7186
|
mode: "light",
|
7187
7187
|
focusMode: "light",
|
@@ -7189,10 +7189,10 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7189
7189
|
noBorder: !0,
|
7190
7190
|
type: "submit",
|
7191
7191
|
className: "mt-7",
|
7192
|
-
children:
|
7192
|
+
children: hl
|
7193
7193
|
}
|
7194
7194
|
) }),
|
7195
|
-
!
|
7195
|
+
!Sl() && /* @__PURE__ */ re(hr, { children: [
|
7196
7196
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
|
7197
7197
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7198
7198
|
Ir,
|
@@ -7202,9 +7202,9 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7202
7202
|
focusMode: "light",
|
7203
7203
|
fullWidth: !0,
|
7204
7204
|
className: "mb-4",
|
7205
|
-
labelRight:
|
7205
|
+
labelRight: ml,
|
7206
7206
|
onClick: r,
|
7207
|
-
children: /* @__PURE__ */ y(
|
7207
|
+
children: /* @__PURE__ */ y(Jl, { size: "size-7" })
|
7208
7208
|
}
|
7209
7209
|
) })
|
7210
7210
|
] })
|
@@ -7212,23 +7212,23 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7212
7212
|
]
|
7213
7213
|
}
|
7214
7214
|
) });
|
7215
|
-
},
|
7215
|
+
}, vu = new URL(document.location.href).searchParams, ss = !!vu.get("debug") || !1, Au = Mi(() => import(
|
7216
7216
|
/* webpackChunkName: "LazyApp" */
|
7217
|
-
"./App.
|
7218
|
-
).then((e) => e.App)),
|
7217
|
+
"./App.BXyDn1Yo.js"
|
7218
|
+
).then((e) => e.App)), Tu = new ia(), is = ({
|
7219
7219
|
isComponent: e,
|
7220
7220
|
headerHeight: t
|
7221
7221
|
}) => {
|
7222
7222
|
const { isAuthenticated: r } = Ai();
|
7223
|
-
return r ? /* @__PURE__ */ y($i, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ re(oa, { client:
|
7223
|
+
return r ? /* @__PURE__ */ y($i, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ re(oa, { client: Tu, children: [
|
7224
7224
|
/* @__PURE__ */ y(Mo, {}),
|
7225
|
-
/* @__PURE__ */ y(
|
7226
|
-
] }) }) : /* @__PURE__ */ y(
|
7227
|
-
},
|
7225
|
+
/* @__PURE__ */ y(Au, { isComponent: e, headerHeight: t })
|
7226
|
+
] }) }) : /* @__PURE__ */ y(Su, {});
|
7227
|
+
}, Iu = ({
|
7228
7228
|
isComponent: e = !1,
|
7229
7229
|
headerHeight: t = 0,
|
7230
|
-
domain: r =
|
7231
|
-
}) =>
|
7230
|
+
domain: r = bl
|
7231
|
+
}) => Ii ? /* @__PURE__ */ y(
|
7232
7232
|
Zn,
|
7233
7233
|
{
|
7234
7234
|
clientId: es,
|
@@ -7237,8 +7237,8 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7237
7237
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
7238
7238
|
children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t })
|
7239
7239
|
}
|
7240
|
-
) : /* @__PURE__ */ y(Zn, { clientId: es, domain: r, debug: ss, children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t }) }),
|
7241
|
-
|
7240
|
+
) : /* @__PURE__ */ y(Zn, { clientId: es, domain: r, debug: ss, children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t }) }), cf = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
|
7241
|
+
Iu,
|
7242
7242
|
{
|
7243
7243
|
isComponent: !0,
|
7244
7244
|
domain: e,
|
@@ -7246,135 +7246,136 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
|
|
7246
7246
|
}
|
7247
7247
|
);
|
7248
7248
|
export {
|
7249
|
-
|
7250
|
-
|
7251
|
-
|
7252
|
-
|
7253
|
-
|
7254
|
-
|
7255
|
-
|
7256
|
-
|
7257
|
-
|
7258
|
-
|
7259
|
-
|
7260
|
-
|
7261
|
-
|
7262
|
-
|
7263
|
-
|
7264
|
-
|
7265
|
-
|
7249
|
+
Vd as ABOUT_TITLE,
|
7250
|
+
Sd as ACTION_RESET_PROMPT,
|
7251
|
+
bd as ACTION_SEARCH,
|
7252
|
+
wd as ACTION_SORT,
|
7253
|
+
Ed as ACTION_TOGGLE_PROMPT,
|
7254
|
+
pl as APP_CLASSNAME,
|
7255
|
+
Ti as APP_NAME,
|
7256
|
+
Ri as C,
|
7257
|
+
zd as CARDS,
|
7258
|
+
Gd as CLIPBOARD_PROMPT,
|
7259
|
+
yd as DEFAULT_AI_PROVIDER,
|
7260
|
+
Pd as DEFAULT_ICON_ACTION_SIZE,
|
7261
|
+
qu as Dynamic,
|
7262
|
+
md as ERROR_MESSAGE,
|
7263
|
+
jd as FOOTER_DISCLAIMER,
|
7264
|
+
Uu as For,
|
7265
|
+
Md as GRANTS,
|
7266
|
+
Fd as HISTORY_TITLE,
|
7266
7267
|
$r as I,
|
7267
|
-
|
7268
|
-
|
7269
|
-
|
7270
|
-
|
7271
|
-
|
7272
|
-
|
7273
|
-
|
7274
|
-
|
7275
|
-
|
7276
|
-
|
7277
|
-
|
7278
|
-
|
7279
|
-
|
7280
|
-
|
7268
|
+
Ql as I$1,
|
7269
|
+
Od as INFINITE_SCROLL_LIMIT,
|
7270
|
+
_d as INFINITE_SCROLL_THRESHOLD,
|
7271
|
+
Bd as INPUT_PLACEHOLDER_TEXT,
|
7272
|
+
Ku as Index,
|
7273
|
+
Zl as L,
|
7274
|
+
Ad as LOCAL_STORAGE_CHAT_DETAILS,
|
7275
|
+
vd as LOCAL_STORAGE_PREFIX,
|
7276
|
+
kd as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
7277
|
+
Rd as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
7278
|
+
Td as LOCAL_STORAGE_SEARCH,
|
7279
|
+
Id as LOCAL_STORAGE_SORT,
|
7280
|
+
$d as LOG_OUT,
|
7281
|
+
Eu as Logo,
|
7281
7282
|
ot as M,
|
7282
|
-
|
7283
|
-
|
7284
|
-
|
7285
|
-
|
7286
|
-
|
7287
|
-
|
7288
|
-
|
7289
|
-
|
7290
|
-
|
7291
|
-
|
7292
|
-
|
7293
|
-
|
7294
|
-
|
7295
|
-
|
7296
|
-
|
7283
|
+
Vu as Match,
|
7284
|
+
Kd as PROFILE_TITLE,
|
7285
|
+
qd as PROMPTS_DESCRIPTION,
|
7286
|
+
Nd as PROMPT_CLASSNAME,
|
7287
|
+
Cd as PROMPT_EDITABLE_AREA_CLASSNAME,
|
7288
|
+
gd as PROVIDER_ANTHROPIC,
|
7289
|
+
pd as PROVIDER_OPENAI,
|
7290
|
+
ju as Portal,
|
7291
|
+
fd as ROLE_ASSISTANT,
|
7292
|
+
hd as ROLE_INTERNAL,
|
7293
|
+
dd as ROLE_USER,
|
7294
|
+
jl as S,
|
7295
|
+
Hd as SETTINGS_TITLE,
|
7296
|
+
cf as SassySaint,
|
7297
|
+
Hu as Show,
|
7297
7298
|
_r as Subscribable,
|
7298
|
-
|
7299
|
-
|
7300
|
-
|
7301
|
-
|
7302
|
-
|
7303
|
-
|
7304
|
-
|
7305
|
-
|
7299
|
+
Fu as Switch,
|
7300
|
+
Jd as TOAST_CHAT_DELETED,
|
7301
|
+
Yd as TOAST_CHAT_SAVED,
|
7302
|
+
Wd as TOAST_PROVIDER_CHANGED,
|
7303
|
+
Dd as UI_BUTTON_SCROLL_BUFFER,
|
7304
|
+
Ld as UI_DEFAULT_MAIN_HEIGHT,
|
7305
|
+
xd as UI_FOOTER_BUFFER,
|
7306
|
+
Ud as USAGE_TITLE,
|
7306
7307
|
Ba as addEventListener,
|
7307
|
-
|
7308
|
+
Cu as batch,
|
7308
7309
|
Va as className,
|
7309
|
-
|
7310
|
-
|
7311
|
-
|
7310
|
+
Gu as clearDelegatedEvents,
|
7311
|
+
sf as convertCamelCaseToReadable,
|
7312
|
+
rd as convertRemToPixels,
|
7312
7313
|
va as createComponent,
|
7313
7314
|
la as createComputed,
|
7314
|
-
|
7315
|
+
Lu as createContext,
|
7315
7316
|
_s as createEffect,
|
7316
7317
|
se as createMemo,
|
7317
7318
|
Je as createRenderEffect,
|
7318
7319
|
We as createRoot,
|
7319
7320
|
te as createSignal,
|
7320
|
-
|
7321
|
-
|
7321
|
+
$u as createUniqueId,
|
7322
|
+
rf as debounce,
|
7322
7323
|
Ka as delegateEvents,
|
7323
7324
|
nr as deleteNestedDataByPath,
|
7324
|
-
|
7325
|
+
Zu as displayValue,
|
7325
7326
|
An as fe,
|
7326
7327
|
Xi as fetchState,
|
7327
|
-
|
7328
|
+
of as findProvider,
|
7328
7329
|
ws as focusManager,
|
7329
|
-
|
7330
|
-
|
7331
|
-
|
7332
|
-
|
7333
|
-
|
7334
|
-
|
7335
|
-
|
7336
|
-
|
7337
|
-
|
7330
|
+
Qd as getCurrentGeoLocation,
|
7331
|
+
El as getMainPaddingClass,
|
7332
|
+
wl as getMessageContaintWrapperClass,
|
7333
|
+
Qu as getMutationStatusColor,
|
7334
|
+
nd as getPreferredColorScheme,
|
7335
|
+
zu as getQueryStatusColor,
|
7336
|
+
Xu as getQueryStatusColorByLabel,
|
7337
|
+
Ju as getQueryStatusLabel,
|
7338
|
+
Yu as getSidedProp,
|
7338
7339
|
on as insert,
|
7339
|
-
|
7340
|
-
|
7341
|
-
|
7340
|
+
Sl as isElectron,
|
7341
|
+
vl as isProbablyMobile,
|
7342
|
+
nf as isProbablyiPhone,
|
7342
7343
|
Or as isServer,
|
7343
7344
|
Ki as isValidTimeout,
|
7344
7345
|
He as j,
|
7345
|
-
|
7346
|
+
Jl as l,
|
7346
7347
|
Ta as mergeProps,
|
7347
|
-
|
7348
|
+
td as mutationSortFns,
|
7348
7349
|
ce as noop,
|
7349
7350
|
ee as notifyManager,
|
7350
|
-
|
7351
|
-
|
7351
|
+
Xd as obfuscate,
|
7352
|
+
Pu as on,
|
7352
7353
|
Mt as onCleanup,
|
7353
7354
|
fa as onMount,
|
7354
7355
|
Ji as pendingThenable,
|
7355
|
-
|
7356
|
+
tf as pluralize,
|
7356
7357
|
Ir as re,
|
7357
|
-
|
7358
|
+
ef as renderDataAsList,
|
7358
7359
|
Bi as replaceData,
|
7359
7360
|
Fi as resolveEnabled,
|
7360
7361
|
kn as resolveStaleTime,
|
7361
7362
|
Oo as serialize,
|
7362
7363
|
an as setAttribute,
|
7363
|
-
|
7364
|
-
|
7365
|
-
|
7364
|
+
Nu as shallowEqualObjects,
|
7365
|
+
ud as sn,
|
7366
|
+
ed as sortFns,
|
7366
7367
|
Ia as splitProps,
|
7367
7368
|
qa as spread,
|
7368
|
-
|
7369
|
-
|
7369
|
+
Wu as stringify,
|
7370
|
+
Bu as template,
|
7370
7371
|
Hi as timeUntilStale,
|
7371
|
-
|
7372
|
+
af as toastOptions,
|
7372
7373
|
Ai as un,
|
7373
|
-
|
7374
|
+
Zd as unObfuscate,
|
7374
7375
|
q as untrack,
|
7375
7376
|
rr as updateNestedDataByPath,
|
7376
7377
|
Wa as use,
|
7377
|
-
|
7378
|
+
Mu as useContext,
|
7378
7379
|
aa as useQueryClient,
|
7379
|
-
|
7380
|
+
Du as useTransition
|
7380
7381
|
};
|