@versini/sassysaint 8.39.11 → 8.40.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/{AboutChangelog.CfI8B3Xr.js → AboutChangelog.DQX8lvOH.js} +2 -2
- package/dist/chunks/{AboutEntry.U7i1nOgP.js → AboutEntry.DzQoSo7j.js} +6 -6
- package/dist/chunks/App.COq79mzy.js +14197 -0
- package/dist/chunks/{Chart.CEWRx_BY.js → Chart.IcVujFsN.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C5AYAvuO.js → ChatBubbleAssistant.DP4q9bjS.js} +22 -22
- package/dist/chunks/{HistoryEntry.CvxEv8I5.js → HistoryEntry.Cdyz0Ay0.js} +42 -42
- package/dist/chunks/{LNWAZHJI.Byd_ikEk.js → LNWAZHJI.hRl3WlXy.js} +1 -1
- package/dist/chunks/{ProfileEntry.BIzVmteC.js → ProfileEntry.CBTrcgf7.js} +2 -2
- package/dist/chunks/{SettingsEntry.BaeL60-Z.js → SettingsEntry.B6ubYSTf.js} +2 -2
- package/dist/chunks/{UsageEntry.BjWC97Vl.js → UsageEntry.BdRkDZt_.js} +3 -3
- package/dist/chunks/{index.CxgbmPIM.js → index.BWG_0bqm.js} +1 -1
- package/dist/chunks/{index.DuXItDG_.js → index.CZlAZbRI.js} +632 -597
- package/dist/chunks/{index.DxlR3DIQ.js → index.CxLafuL8.js} +2 -2
- package/dist/chunks/{index.CD5H4iBB.js → index.D1yzX5gN.js} +1 -1
- package/dist/chunks/{index.Dj49vSed.js → index.DYl8rHKT.js} +3 -3
- package/dist/chunks/{index.Cd4F4k1l.js → index.DwoPHLtz.js} +1 -1
- package/dist/chunks/{useMarkdown.DmhrTtGF.js → useMarkdown.0UpPdotC.js} +6 -6
- 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
- package/dist/chunks/App.DMY0Cxus.js +0 -10334
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as y, jsxs as X, Fragment as pr } from "react/jsx-runtime";
|
2
2
|
import * as te from "react";
|
3
|
-
import fe, { createContext as cn, useReducer as ln, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as
|
3
|
+
import fe, { createContext as cn, useReducer as ln, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as xs, useContext as gr, useLayoutEffect as gt, useState as le, useMemo as Rt, useId as un, Suspense as $s, lazy as Ds } from "react";
|
4
4
|
import g from "clsx";
|
5
5
|
var _t = class {
|
6
6
|
constructor() {
|
@@ -21,19 +21,19 @@ var _t = class {
|
|
21
21
|
}, Ct = typeof window > "u" || "Deno" in globalThis;
|
22
22
|
function re() {
|
23
23
|
}
|
24
|
-
function
|
24
|
+
function Ms(e, t) {
|
25
25
|
return typeof e == "function" ? e(t) : e;
|
26
26
|
}
|
27
|
-
function
|
27
|
+
function Ls(e) {
|
28
28
|
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
29
29
|
}
|
30
|
-
function
|
30
|
+
function Us(e, t) {
|
31
31
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
32
32
|
}
|
33
33
|
function Zt(e, t) {
|
34
34
|
return typeof e == "function" ? e(t) : e;
|
35
35
|
}
|
36
|
-
function
|
36
|
+
function Fs(e, t) {
|
37
37
|
return typeof e == "function" ? e(t) : e;
|
38
38
|
}
|
39
39
|
function Nr(e, t) {
|
@@ -99,7 +99,7 @@ function er(e, t) {
|
|
99
99
|
}
|
100
100
|
return t;
|
101
101
|
}
|
102
|
-
function
|
102
|
+
function su(e, t) {
|
103
103
|
if (!t || Object.keys(e).length !== Object.keys(t).length)
|
104
104
|
return !1;
|
105
105
|
for (const r in e)
|
@@ -122,12 +122,12 @@ function tr(e) {
|
|
122
122
|
function $r(e) {
|
123
123
|
return Object.prototype.toString.call(e) === "[object Object]";
|
124
124
|
}
|
125
|
-
function
|
125
|
+
function Ks(e) {
|
126
126
|
return new Promise((t) => {
|
127
127
|
setTimeout(t, e);
|
128
128
|
});
|
129
129
|
}
|
130
|
-
function
|
130
|
+
function Hs(e, t, r) {
|
131
131
|
if (typeof r.structuralSharing == "function")
|
132
132
|
return r.structuralSharing(e, t);
|
133
133
|
if (r.structuralSharing !== !1) {
|
@@ -143,11 +143,11 @@ function Ks(e, t, r) {
|
|
143
143
|
}
|
144
144
|
return t;
|
145
145
|
}
|
146
|
-
function
|
146
|
+
function Bs(e, t, r = 0) {
|
147
147
|
const n = [...e, t];
|
148
148
|
return r && n.length > r ? n.slice(1) : n;
|
149
149
|
}
|
150
|
-
function
|
150
|
+
function Vs(e, t, r = 0) {
|
151
151
|
const n = [t, ...e];
|
152
152
|
return r && n.length > r ? n.slice(0, -1) : n;
|
153
153
|
}
|
@@ -157,10 +157,10 @@ function dn(e, t) {
|
|
157
157
|
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
|
158
158
|
), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === bt ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
159
159
|
}
|
160
|
-
function
|
160
|
+
function iu(e, t) {
|
161
161
|
return typeof e == "function" ? e(...t) : !!e;
|
162
162
|
}
|
163
|
-
var
|
163
|
+
var js = class extends _t {
|
164
164
|
#e;
|
165
165
|
#t;
|
166
166
|
#r;
|
@@ -197,7 +197,7 @@ var Vs = class extends _t {
|
|
197
197
|
isFocused() {
|
198
198
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
199
199
|
}
|
200
|
-
}, fn = new
|
200
|
+
}, fn = new js(), Ws = class extends _t {
|
201
201
|
#e = !0;
|
202
202
|
#t;
|
203
203
|
#r;
|
@@ -228,8 +228,8 @@ var Vs = class extends _t {
|
|
228
228
|
isOnline() {
|
229
229
|
return this.#e;
|
230
230
|
}
|
231
|
-
}, je = new
|
232
|
-
function
|
231
|
+
}, je = new Ws();
|
232
|
+
function Gs() {
|
233
233
|
let e, t;
|
234
234
|
const r = new Promise((s, i) => {
|
235
235
|
e = s, t = i;
|
@@ -251,7 +251,7 @@ function Ws() {
|
|
251
251
|
}), t(s);
|
252
252
|
}, r;
|
253
253
|
}
|
254
|
-
function
|
254
|
+
function qs(e) {
|
255
255
|
return Math.min(1e3 * 2 ** e, 3e4);
|
256
256
|
}
|
257
257
|
function hn(e) {
|
@@ -264,7 +264,7 @@ var mn = class extends Error {
|
|
264
264
|
};
|
265
265
|
function yn(e) {
|
266
266
|
let t = !1, r = 0, n;
|
267
|
-
const s =
|
267
|
+
const s = Gs(), i = () => s.status !== "pending", o = (p) => {
|
268
268
|
i() || (f(new mn(p)), e.abort?.());
|
269
269
|
}, a = () => {
|
270
270
|
t = !0;
|
@@ -293,12 +293,12 @@ function yn(e) {
|
|
293
293
|
Promise.resolve(p).then(l).catch((w) => {
|
294
294
|
if (i())
|
295
295
|
return;
|
296
|
-
const k = e.retry ?? (Ct ? 0 : 3), S = e.retryDelay ??
|
296
|
+
const k = e.retry ?? (Ct ? 0 : 3), S = e.retryDelay ?? qs, O = typeof S == "function" ? S(r, w) : S, _ = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, w);
|
297
297
|
if (t || !_) {
|
298
298
|
f(w);
|
299
299
|
return;
|
300
300
|
}
|
301
|
-
r++, e.onFail?.(r, w),
|
301
|
+
r++, e.onFail?.(r, w), Ks(O).then(() => d() ? void 0 : h()).then(() => {
|
302
302
|
t ? f(w) : m();
|
303
303
|
});
|
304
304
|
});
|
@@ -314,13 +314,13 @@ function yn(e) {
|
|
314
314
|
start: () => (u() ? m() : h().then(m), s)
|
315
315
|
};
|
316
316
|
}
|
317
|
-
var
|
318
|
-
function
|
317
|
+
var Js = (e) => setTimeout(e, 0);
|
318
|
+
function zs() {
|
319
319
|
let e = [], t = 0, r = (a) => {
|
320
320
|
a();
|
321
321
|
}, n = (a) => {
|
322
322
|
a();
|
323
|
-
}, s =
|
323
|
+
}, s = Js;
|
324
324
|
const i = (a) => {
|
325
325
|
t ? e.push(a) : s(() => {
|
326
326
|
r(a);
|
@@ -374,13 +374,13 @@ function Js() {
|
|
374
374
|
}
|
375
375
|
};
|
376
376
|
}
|
377
|
-
var Q =
|
377
|
+
var Q = zs(), pn = class {
|
378
378
|
#e;
|
379
379
|
destroy() {
|
380
380
|
this.clearGcTimeout();
|
381
381
|
}
|
382
382
|
scheduleGc() {
|
383
|
-
this.clearGcTimeout(),
|
383
|
+
this.clearGcTimeout(), Ls(this.gcTime) && (this.#e = setTimeout(() => {
|
384
384
|
this.optionalRemove();
|
385
385
|
}, this.gcTime));
|
386
386
|
}
|
@@ -393,7 +393,7 @@ var Q = Js(), pn = class {
|
|
393
393
|
clearGcTimeout() {
|
394
394
|
this.#e && (clearTimeout(this.#e), this.#e = void 0);
|
395
395
|
}
|
396
|
-
},
|
396
|
+
}, Qs = class extends pn {
|
397
397
|
#e;
|
398
398
|
#t;
|
399
399
|
#r;
|
@@ -402,7 +402,7 @@ var Q = Js(), pn = class {
|
|
402
402
|
#o;
|
403
403
|
#a;
|
404
404
|
constructor(e) {
|
405
|
-
super(), this.#a = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#s = e.client, this.#r = this.#s.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e =
|
405
|
+
super(), this.#a = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#s = e.client, this.#r = this.#s.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Xs(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
|
406
406
|
}
|
407
407
|
get meta() {
|
408
408
|
return this.options.meta;
|
@@ -417,7 +417,7 @@ var Q = Js(), pn = class {
|
|
417
417
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
418
418
|
}
|
419
419
|
setData(e, t) {
|
420
|
-
const r =
|
420
|
+
const r = Hs(this.state.data, e, this.options);
|
421
421
|
return this.#i({
|
422
422
|
data: r,
|
423
423
|
type: "success",
|
@@ -440,7 +440,7 @@ var Q = Js(), pn = class {
|
|
440
440
|
}
|
441
441
|
isActive() {
|
442
442
|
return this.observers.some(
|
443
|
-
(e) =>
|
443
|
+
(e) => Fs(e.options.enabled, this) !== !1
|
444
444
|
);
|
445
445
|
}
|
446
446
|
isDisabled() {
|
@@ -457,7 +457,7 @@ var Q = Js(), pn = class {
|
|
457
457
|
) : this.state.data === void 0 || this.state.isInvalidated;
|
458
458
|
}
|
459
459
|
isStaleByTime(e = 0) {
|
460
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
460
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Us(this.state.dataUpdatedAt, e);
|
461
461
|
}
|
462
462
|
onFocus() {
|
463
463
|
this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#n?.continue();
|
@@ -557,11 +557,14 @@ var Q = Js(), pn = class {
|
|
557
557
|
if (a instanceof mn) {
|
558
558
|
if (a.silent)
|
559
559
|
return this.#n.promise;
|
560
|
-
if (a.revert)
|
561
|
-
|
560
|
+
if (a.revert) {
|
561
|
+
if (this.setState({
|
562
562
|
...this.#t,
|
563
563
|
fetchStatus: "idle"
|
564
|
-
}), this.state.data
|
564
|
+
}), this.state.data === void 0)
|
565
|
+
throw a;
|
566
|
+
return this.state.data;
|
567
|
+
}
|
565
568
|
}
|
566
569
|
throw this.#i({
|
567
570
|
type: "error",
|
@@ -600,7 +603,7 @@ var Q = Js(), pn = class {
|
|
600
603
|
case "fetch":
|
601
604
|
return {
|
602
605
|
...r,
|
603
|
-
...
|
606
|
+
...Ys(r.data, this.options),
|
604
607
|
fetchMeta: e.meta ?? null
|
605
608
|
};
|
606
609
|
case "success":
|
@@ -650,7 +653,7 @@ var Q = Js(), pn = class {
|
|
650
653
|
});
|
651
654
|
}
|
652
655
|
};
|
653
|
-
function
|
656
|
+
function Ys(e, t) {
|
654
657
|
return {
|
655
658
|
fetchFailureCount: 0,
|
656
659
|
fetchFailureReason: null,
|
@@ -661,7 +664,7 @@ function Qs(e, t) {
|
|
661
664
|
}
|
662
665
|
};
|
663
666
|
}
|
664
|
-
function
|
667
|
+
function Xs(e) {
|
665
668
|
const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, r = t !== void 0, n = r ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
666
669
|
return {
|
667
670
|
data: t,
|
@@ -678,7 +681,7 @@ function Ys(e) {
|
|
678
681
|
fetchStatus: "idle"
|
679
682
|
};
|
680
683
|
}
|
681
|
-
var
|
684
|
+
var Zs = class extends _t {
|
682
685
|
constructor(e = {}) {
|
683
686
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
684
687
|
}
|
@@ -686,7 +689,7 @@ var Xs = class extends _t {
|
|
686
689
|
build(e, t, r) {
|
687
690
|
const n = t.queryKey, s = t.queryHash ?? br(n, t);
|
688
691
|
let i = this.get(s);
|
689
|
-
return i || (i = new
|
692
|
+
return i || (i = new Qs({
|
690
693
|
client: e,
|
691
694
|
queryKey: n,
|
692
695
|
queryHash: s,
|
@@ -749,12 +752,12 @@ var Xs = class extends _t {
|
|
749
752
|
});
|
750
753
|
});
|
751
754
|
}
|
752
|
-
},
|
755
|
+
}, ei = class extends pn {
|
753
756
|
#e;
|
754
757
|
#t;
|
755
758
|
#r;
|
756
759
|
constructor(e) {
|
757
|
-
super(), this.mutationId = e.mutationId, this.#t = e.mutationCache, this.#e = [], this.state = e.state ||
|
760
|
+
super(), this.mutationId = e.mutationId, this.#t = e.mutationCache, this.#e = [], this.state = e.state || ti(), this.setOptions(e.options), this.scheduleGc();
|
758
761
|
}
|
759
762
|
setOptions(e) {
|
760
763
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
@@ -926,7 +929,7 @@ var Xs = class extends _t {
|
|
926
929
|
});
|
927
930
|
}
|
928
931
|
};
|
929
|
-
function
|
932
|
+
function ti() {
|
930
933
|
return {
|
931
934
|
context: void 0,
|
932
935
|
data: void 0,
|
@@ -939,7 +942,7 @@ function ei() {
|
|
939
942
|
submittedAt: 0
|
940
943
|
};
|
941
944
|
}
|
942
|
-
var
|
945
|
+
var ri = class extends _t {
|
943
946
|
constructor(e = {}) {
|
944
947
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#r = 0;
|
945
948
|
}
|
@@ -947,7 +950,7 @@ var ti = class extends _t {
|
|
947
950
|
#t;
|
948
951
|
#r;
|
949
952
|
build(e, t, r) {
|
950
|
-
const n = new
|
953
|
+
const n = new ei({
|
951
954
|
mutationCache: this,
|
952
955
|
mutationId: ++this.#r,
|
953
956
|
options: e.defaultMutationOptions(t),
|
@@ -1058,14 +1061,14 @@ function Dr(e) {
|
|
1058
1061
|
meta: t.options.meta
|
1059
1062
|
};
|
1060
1063
|
return l(q), q;
|
1061
|
-
})(), S = await f(k), { maxPages: O } = t.options, _ = b ?
|
1064
|
+
})(), S = await f(k), { maxPages: O } = t.options, _ = b ? Vs : Bs;
|
1062
1065
|
return {
|
1063
1066
|
pages: _(m.pages, S, O),
|
1064
1067
|
pageParams: _(m.pageParams, p, O)
|
1065
1068
|
};
|
1066
1069
|
};
|
1067
1070
|
if (s && i.length) {
|
1068
|
-
const m = s === "backward", p = m ?
|
1071
|
+
const m = s === "backward", p = m ? ni : Mr, b = {
|
1069
1072
|
pages: i,
|
1070
1073
|
pageParams: o
|
1071
1074
|
}, w = p(n, b);
|
@@ -1103,10 +1106,10 @@ function Mr(e, { pages: t, pageParams: r }) {
|
|
1103
1106
|
r
|
1104
1107
|
) : void 0;
|
1105
1108
|
}
|
1106
|
-
function
|
1109
|
+
function ni(e, { pages: t, pageParams: r }) {
|
1107
1110
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, r[0], r) : void 0;
|
1108
1111
|
}
|
1109
|
-
var
|
1112
|
+
var si = class {
|
1110
1113
|
#e;
|
1111
1114
|
#t;
|
1112
1115
|
#r;
|
@@ -1116,7 +1119,7 @@ var ni = class {
|
|
1116
1119
|
#a;
|
1117
1120
|
#i;
|
1118
1121
|
constructor(e = {}) {
|
1119
|
-
this.#e = e.queryCache || new
|
1122
|
+
this.#e = e.queryCache || new Zs(), this.#t = e.mutationCache || new ri(), this.#r = e.defaultOptions || {}, this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#o = 0;
|
1120
1123
|
}
|
1121
1124
|
mount() {
|
1122
1125
|
this.#o++, this.#o === 1 && (this.#a = fn.subscribe(async (e) => {
|
@@ -1158,7 +1161,7 @@ var ni = class {
|
|
1158
1161
|
setQueryData(e, t, r) {
|
1159
1162
|
const n = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(
|
1160
1163
|
n.queryHash
|
1161
|
-
)?.state.data, o =
|
1164
|
+
)?.state.data, o = Ms(t, i);
|
1162
1165
|
if (o !== void 0)
|
1163
1166
|
return this.#e.build(this, n).setData(o, { ...r, manual: !0 });
|
1164
1167
|
}
|
@@ -1311,20 +1314,20 @@ var ni = class {
|
|
1311
1314
|
}
|
1312
1315
|
}, gn = te.createContext(
|
1313
1316
|
void 0
|
1314
|
-
),
|
1317
|
+
), ii = (e) => {
|
1315
1318
|
const t = te.useContext(gn);
|
1316
1319
|
if (e)
|
1317
1320
|
return e;
|
1318
1321
|
if (!t)
|
1319
1322
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
1320
1323
|
return t;
|
1321
|
-
},
|
1324
|
+
}, ai = ({
|
1322
1325
|
client: e,
|
1323
1326
|
children: t
|
1324
1327
|
}) => (te.useEffect(() => (e.mount(), () => {
|
1325
1328
|
e.unmount();
|
1326
|
-
}), [e]), /* @__PURE__ */ y(gn.Provider, { value: e, children: t })),
|
1327
|
-
equals:
|
1329
|
+
}), [e]), /* @__PURE__ */ y(gn.Provider, { value: e, children: t })), oi = (e, t) => e === t, wt = Symbol("solid-proxy"), bn = typeof Proxy == "function", vt = {
|
1330
|
+
equals: oi
|
1328
1331
|
}, wn = kn, he = 1, Et = 2, vn = {
|
1329
1332
|
owned: null,
|
1330
1333
|
cleanups: null,
|
@@ -1355,7 +1358,7 @@ function Y(e, t) {
|
|
1355
1358
|
}, n = (s) => (typeof s == "function" && (s = s(r.value)), In(r, s));
|
1356
1359
|
return [An.bind(r), n];
|
1357
1360
|
}
|
1358
|
-
function
|
1361
|
+
function ci(e, t, r) {
|
1359
1362
|
const n = Pt(e, t, !0, he);
|
1360
1363
|
De(n);
|
1361
1364
|
}
|
@@ -1364,7 +1367,7 @@ function Te(e, t, r) {
|
|
1364
1367
|
De(n);
|
1365
1368
|
}
|
1366
1369
|
function En(e, t, r) {
|
1367
|
-
wn =
|
1370
|
+
wn = gi;
|
1368
1371
|
const n = Pt(e, t, !1, he);
|
1369
1372
|
(!r || !r.render) && (n.user = !0), de ? de.push(n) : De(n);
|
1370
1373
|
}
|
@@ -1373,10 +1376,10 @@ function K(e, t, r) {
|
|
1373
1376
|
const n = Pt(e, t, !0, 0);
|
1374
1377
|
return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, De(n), An.bind(n);
|
1375
1378
|
}
|
1376
|
-
function
|
1379
|
+
function li(e) {
|
1377
1380
|
return e && typeof e == "object" && "then" in e;
|
1378
1381
|
}
|
1379
|
-
function
|
1382
|
+
function ui(e, t, r) {
|
1380
1383
|
let n, s, i;
|
1381
1384
|
n = !0, s = e, i = {};
|
1382
1385
|
let o = null, a = Ut, c = !1, d = "initialValue" in i, u = typeof n == "function" && K(n);
|
@@ -1422,7 +1425,7 @@ function li(e, t, r) {
|
|
1422
1425
|
if (N !== void 0) {
|
1423
1426
|
O(o, void 0, ft(N), v);
|
1424
1427
|
return;
|
1425
|
-
} else if (!
|
1428
|
+
} else if (!li(E))
|
1426
1429
|
return O(o, E, void 0, v), E;
|
1427
1430
|
return o = E, "v" in E ? (E.s === 1 ? O(o, E.v, void 0, v) : O(o, void 0, ft(E.v), v), E) : (c = !0, queueMicrotask(() => c = !1), ae(() => {
|
1428
1431
|
S(d ? "refreshing" : "pending"), w();
|
@@ -1451,12 +1454,12 @@ function li(e, t, r) {
|
|
1451
1454
|
}
|
1452
1455
|
});
|
1453
1456
|
let L = I;
|
1454
|
-
return u ?
|
1457
|
+
return u ? ci(() => (L = I, z(!1))) : z(!1), [q, {
|
1455
1458
|
refetch: (R) => Sn(L, () => z(R)),
|
1456
1459
|
mutate: h
|
1457
1460
|
}];
|
1458
1461
|
}
|
1459
|
-
function
|
1462
|
+
function au(e) {
|
1460
1463
|
return ae(e, !1);
|
1461
1464
|
}
|
1462
1465
|
function G(e) {
|
@@ -1469,7 +1472,7 @@ function G(e) {
|
|
1469
1472
|
x = t;
|
1470
1473
|
}
|
1471
1474
|
}
|
1472
|
-
function
|
1475
|
+
function ou(e, t, r) {
|
1473
1476
|
const n = Array.isArray(e);
|
1474
1477
|
let s, i = r && r.defer;
|
1475
1478
|
return (o) => {
|
@@ -1484,13 +1487,13 @@ function Jl(e, t, r) {
|
|
1484
1487
|
return s = a, c;
|
1485
1488
|
};
|
1486
1489
|
}
|
1487
|
-
function
|
1490
|
+
function di(e) {
|
1488
1491
|
En(() => G(e));
|
1489
1492
|
}
|
1490
1493
|
function We(e) {
|
1491
1494
|
return I === null || (I.cleanups === null ? I.cleanups = [e] : I.cleanups.push(e)), e;
|
1492
1495
|
}
|
1493
|
-
function
|
1496
|
+
function fi() {
|
1494
1497
|
return I;
|
1495
1498
|
}
|
1496
1499
|
function Sn(e, t) {
|
@@ -1504,7 +1507,7 @@ function Sn(e, t) {
|
|
1504
1507
|
I = r, x = n;
|
1505
1508
|
}
|
1506
1509
|
}
|
1507
|
-
function
|
1510
|
+
function hi(e) {
|
1508
1511
|
const t = x, r = I;
|
1509
1512
|
return Promise.resolve().then(() => {
|
1510
1513
|
x = t, I = r;
|
@@ -1512,19 +1515,19 @@ function fi(e) {
|
|
1512
1515
|
return ae(e, !1), x = I = null, n ? n.done : void 0;
|
1513
1516
|
});
|
1514
1517
|
}
|
1515
|
-
var [
|
1516
|
-
function
|
1517
|
-
return [
|
1518
|
+
var [mi, cu] = /* @__PURE__ */ Y(!1);
|
1519
|
+
function lu() {
|
1520
|
+
return [mi, hi];
|
1518
1521
|
}
|
1519
|
-
function
|
1522
|
+
function uu(e, t) {
|
1520
1523
|
const r = Symbol("context");
|
1521
1524
|
return {
|
1522
1525
|
id: r,
|
1523
|
-
Provider:
|
1526
|
+
Provider: bi(r),
|
1524
1527
|
defaultValue: e
|
1525
1528
|
};
|
1526
1529
|
}
|
1527
|
-
function
|
1530
|
+
function du(e) {
|
1528
1531
|
let t;
|
1529
1532
|
return I && I.context && (t = I.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1530
1533
|
}
|
@@ -1563,9 +1566,9 @@ function De(e) {
|
|
1563
1566
|
if (!e.fn) return;
|
1564
1567
|
Ge(e);
|
1565
1568
|
const t = Nt;
|
1566
|
-
|
1569
|
+
yi(e, e.value, t);
|
1567
1570
|
}
|
1568
|
-
function
|
1571
|
+
function yi(e, t, r) {
|
1569
1572
|
let n;
|
1570
1573
|
const s = I, i = x;
|
1571
1574
|
x = I = e;
|
@@ -1615,12 +1618,12 @@ function ae(e, t) {
|
|
1615
1618
|
t || (J = []), de ? r = !0 : de = [], Nt++;
|
1616
1619
|
try {
|
1617
1620
|
const n = e();
|
1618
|
-
return
|
1621
|
+
return pi(r), n;
|
1619
1622
|
} catch (n) {
|
1620
1623
|
r || (de = null), J = null, wr(n);
|
1621
1624
|
}
|
1622
1625
|
}
|
1623
|
-
function
|
1626
|
+
function pi(e) {
|
1624
1627
|
if (J && (kn(J), J = null), e) return;
|
1625
1628
|
const t = de;
|
1626
1629
|
de = null, t.length && ae(() => wn(t), !1);
|
@@ -1628,7 +1631,7 @@ function yi(e) {
|
|
1628
1631
|
function kn(e) {
|
1629
1632
|
for (let t = 0; t < e.length; t++) St(e[t]);
|
1630
1633
|
}
|
1631
|
-
function
|
1634
|
+
function gi(e) {
|
1632
1635
|
let t, r = 0;
|
1633
1636
|
for (t = 0; t < e.length; t++) {
|
1634
1637
|
const n = e[t];
|
@@ -1696,7 +1699,7 @@ function rr(e) {
|
|
1696
1699
|
}
|
1697
1700
|
return e;
|
1698
1701
|
}
|
1699
|
-
function
|
1702
|
+
function bi(e, t) {
|
1700
1703
|
return function(n) {
|
1701
1704
|
let s;
|
1702
1705
|
return Te(() => s = G(() => (I.context = {
|
@@ -1709,7 +1712,7 @@ var nr = Symbol("fallback");
|
|
1709
1712
|
function At(e) {
|
1710
1713
|
for (let t = 0; t < e.length; t++) e[t]();
|
1711
1714
|
}
|
1712
|
-
function
|
1715
|
+
function wi(e, t, r = {}) {
|
1713
1716
|
let n = [], s = [], i = [], o = 0, a = t.length > 1 ? [] : null;
|
1714
1717
|
return We(() => At(i)), () => {
|
1715
1718
|
let c = e() || [], d = c.length, u, l;
|
@@ -1744,7 +1747,7 @@ function bi(e, t, r = {}) {
|
|
1744
1747
|
}
|
1745
1748
|
};
|
1746
1749
|
}
|
1747
|
-
function
|
1750
|
+
function vi(e, t, r = {}) {
|
1748
1751
|
let n = [], s = [], i = [], o = [], a = 0, c;
|
1749
1752
|
return We(() => At(i)), () => {
|
1750
1753
|
const d = e() || [], u = d.length;
|
@@ -1764,7 +1767,7 @@ function wi(e, t, r = {}) {
|
|
1764
1767
|
}
|
1765
1768
|
};
|
1766
1769
|
}
|
1767
|
-
function
|
1770
|
+
function Ei(e, t) {
|
1768
1771
|
return G(() => e(t || {}));
|
1769
1772
|
}
|
1770
1773
|
function tt() {
|
@@ -1797,13 +1800,13 @@ var sr = {
|
|
1797
1800
|
function Ft(e) {
|
1798
1801
|
return (e = typeof e == "function" ? e() : e) ? e : {};
|
1799
1802
|
}
|
1800
|
-
function
|
1803
|
+
function Si() {
|
1801
1804
|
for (let e = 0, t = this.length; e < t; ++e) {
|
1802
1805
|
const r = this[e]();
|
1803
1806
|
if (r !== void 0) return r;
|
1804
1807
|
}
|
1805
1808
|
}
|
1806
|
-
function
|
1809
|
+
function Ti(...e) {
|
1807
1810
|
let t = !1;
|
1808
1811
|
for (let o = 0; o < e.length; o++) {
|
1809
1812
|
const a = e[o];
|
@@ -1841,7 +1844,7 @@ function Si(...e) {
|
|
1841
1844
|
n[u] = l.get ? {
|
1842
1845
|
enumerable: !0,
|
1843
1846
|
configurable: !0,
|
1844
|
-
get:
|
1847
|
+
get: Si.bind(r[u] = [l.get.bind(a)])
|
1845
1848
|
} : l.value !== void 0 ? l : void 0;
|
1846
1849
|
else {
|
1847
1850
|
const f = r[u];
|
@@ -1856,7 +1859,7 @@ function Si(...e) {
|
|
1856
1859
|
}
|
1857
1860
|
return s;
|
1858
1861
|
}
|
1859
|
-
function
|
1862
|
+
function Ai(e, ...t) {
|
1860
1863
|
if (bn && wt in e) {
|
1861
1864
|
const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy({
|
1862
1865
|
get(a) {
|
@@ -1891,11 +1894,11 @@ function Ti(e, ...t) {
|
|
1891
1894
|
}
|
1892
1895
|
return [...n, r];
|
1893
1896
|
}
|
1894
|
-
function
|
1897
|
+
function Ii(e) {
|
1895
1898
|
let t, r;
|
1896
1899
|
const n = (s) => {
|
1897
1900
|
if (!t) {
|
1898
|
-
const [o] =
|
1901
|
+
const [o] = ui(() => (r || (r = e())).then((a) => a.default));
|
1899
1902
|
t = o;
|
1900
1903
|
}
|
1901
1904
|
let i;
|
@@ -1903,24 +1906,24 @@ function Ai(e) {
|
|
1903
1906
|
};
|
1904
1907
|
return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
|
1905
1908
|
}
|
1906
|
-
var
|
1907
|
-
function
|
1908
|
-
return `cl-${
|
1909
|
+
var ki = 0;
|
1910
|
+
function fu() {
|
1911
|
+
return `cl-${ki++}`;
|
1909
1912
|
}
|
1910
1913
|
var Rn = (e) => `Stale read from <${e}>.`;
|
1911
|
-
function
|
1914
|
+
function hu(e) {
|
1912
1915
|
const t = "fallback" in e && {
|
1913
1916
|
fallback: () => e.fallback
|
1914
1917
|
};
|
1915
|
-
return K(
|
1918
|
+
return K(wi(() => e.each, e.children, t || void 0));
|
1916
1919
|
}
|
1917
|
-
function
|
1920
|
+
function mu(e) {
|
1918
1921
|
const t = "fallback" in e && {
|
1919
1922
|
fallback: () => e.fallback
|
1920
1923
|
};
|
1921
|
-
return K(
|
1924
|
+
return K(vi(() => e.each, e.children, t || void 0));
|
1922
1925
|
}
|
1923
|
-
function
|
1926
|
+
function yu(e) {
|
1924
1927
|
const t = e.keyed, r = K(() => e.when, void 0, void 0), n = t ? r : K(r, void 0, {
|
1925
1928
|
equals: (s, i) => !s == !i
|
1926
1929
|
});
|
@@ -1936,7 +1939,7 @@ function ru(e) {
|
|
1936
1939
|
return e.fallback;
|
1937
1940
|
}, void 0, void 0);
|
1938
1941
|
}
|
1939
|
-
function
|
1942
|
+
function pu(e) {
|
1940
1943
|
const t = Tn(() => e.children), r = K(() => {
|
1941
1944
|
const n = t(), s = Array.isArray(n) ? n : [n];
|
1942
1945
|
let i = () => {
|
@@ -1959,13 +1962,13 @@ function nu(e) {
|
|
1959
1962
|
})) : a;
|
1960
1963
|
}, void 0, void 0);
|
1961
1964
|
}
|
1962
|
-
function
|
1965
|
+
function gu(e) {
|
1963
1966
|
return e;
|
1964
1967
|
}
|
1965
|
-
var
|
1968
|
+
var Oi = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], Ri = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...Oi]), _i = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), Ci = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
1966
1969
|
className: "class",
|
1967
1970
|
htmlFor: "for"
|
1968
|
-
}),
|
1971
|
+
}), Ni = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
1969
1972
|
class: "className",
|
1970
1973
|
novalidate: {
|
1971
1974
|
$: "noValidate",
|
@@ -1994,11 +1997,11 @@ var ki = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "contr
|
|
1994
1997
|
TEXTAREA: 1
|
1995
1998
|
}
|
1996
1999
|
});
|
1997
|
-
function
|
1998
|
-
const r =
|
2000
|
+
function Pi(e, t) {
|
2001
|
+
const r = Ni[e];
|
1999
2002
|
return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
|
2000
2003
|
}
|
2001
|
-
var
|
2004
|
+
var xi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), $i = /* @__PURE__ */ new Set([
|
2002
2005
|
"altGlyph",
|
2003
2006
|
"altGlyphDef",
|
2004
2007
|
"altGlyphItem",
|
@@ -2076,11 +2079,11 @@ var Pi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextme
|
|
2076
2079
|
"use",
|
2077
2080
|
"view",
|
2078
2081
|
"vkern"
|
2079
|
-
]),
|
2082
|
+
]), Di = {
|
2080
2083
|
xlink: "http://www.w3.org/1999/xlink",
|
2081
2084
|
xml: "http://www.w3.org/XML/1998/namespace"
|
2082
|
-
},
|
2083
|
-
function
|
2085
|
+
}, bu = (e) => K(() => e());
|
2086
|
+
function Mi(e, t, r) {
|
2084
2087
|
let n = r.length, s = t.length, i = n, o = 0, a = 0, c = t[s - 1].nextSibling, d = null;
|
2085
2088
|
for (; o < s || a < i; ) {
|
2086
2089
|
if (t[o] === r[a]) {
|
@@ -2120,7 +2123,7 @@ function Di(e, t, r) {
|
|
2120
2123
|
}
|
2121
2124
|
}
|
2122
2125
|
var Ue = "_$DX_DELEGATE";
|
2123
|
-
function
|
2126
|
+
function Li(e, t, r, n = {}) {
|
2124
2127
|
let s;
|
2125
2128
|
return Se((i) => {
|
2126
2129
|
s = i, t === document ? e() : ar(t, e(), t.firstChild ? null : void 0, r);
|
@@ -2128,7 +2131,7 @@ function Mi(e, t, r, n = {}) {
|
|
2128
2131
|
s(), t.textContent = "";
|
2129
2132
|
};
|
2130
2133
|
}
|
2131
|
-
function
|
2134
|
+
function wu(e, t, r, n) {
|
2132
2135
|
let s;
|
2133
2136
|
const i = () => {
|
2134
2137
|
const a = document.createElement("template");
|
@@ -2136,14 +2139,14 @@ function au(e, t, r, n) {
|
|
2136
2139
|
}, o = () => (s || (s = i())).cloneNode(!0);
|
2137
2140
|
return o.cloneNode = o, o;
|
2138
2141
|
}
|
2139
|
-
function
|
2142
|
+
function Ui(e, t = window.document) {
|
2140
2143
|
const r = t[Ue] || (t[Ue] = /* @__PURE__ */ new Set());
|
2141
2144
|
for (let n = 0, s = e.length; n < s; n++) {
|
2142
2145
|
const i = e[n];
|
2143
2146
|
r.has(i) || (r.add(i), t.addEventListener(i, _n));
|
2144
2147
|
}
|
2145
2148
|
}
|
2146
|
-
function
|
2149
|
+
function vu(e = window.document) {
|
2147
2150
|
if (e[Ue]) {
|
2148
2151
|
for (let t of e[Ue].keys()) e.removeEventListener(t, _n);
|
2149
2152
|
delete e[Ue];
|
@@ -2152,16 +2155,16 @@ function ou(e = window.document) {
|
|
2152
2155
|
function ir(e, t, r) {
|
2153
2156
|
r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
|
2154
2157
|
}
|
2155
|
-
function
|
2158
|
+
function Fi(e, t, r, n) {
|
2156
2159
|
n == null ? e.removeAttributeNS(t, r) : e.setAttributeNS(t, r, n);
|
2157
2160
|
}
|
2158
|
-
function
|
2161
|
+
function Ki(e, t, r) {
|
2159
2162
|
r ? e.setAttribute(t, "") : e.removeAttribute(t);
|
2160
2163
|
}
|
2161
|
-
function
|
2164
|
+
function Hi(e, t) {
|
2162
2165
|
t == null ? e.removeAttribute("class") : e.className = t;
|
2163
2166
|
}
|
2164
|
-
function
|
2167
|
+
function Bi(e, t, r, n) {
|
2165
2168
|
if (n)
|
2166
2169
|
Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
|
2167
2170
|
else if (Array.isArray(r)) {
|
@@ -2169,7 +2172,7 @@ function Hi(e, t, r, n) {
|
|
2169
2172
|
e.addEventListener(t, r[0] = (i) => s.call(e, r[1], i));
|
2170
2173
|
} else e.addEventListener(t, r, typeof r != "function" && r);
|
2171
2174
|
}
|
2172
|
-
function
|
2175
|
+
function Vi(e, t, r = {}) {
|
2173
2176
|
const n = Object.keys(t || {}), s = Object.keys(r);
|
2174
2177
|
let i, o;
|
2175
2178
|
for (i = 0, o = s.length; i < o; i++) {
|
@@ -2182,7 +2185,7 @@ function Bi(e, t, r = {}) {
|
|
2182
2185
|
}
|
2183
2186
|
return r;
|
2184
2187
|
}
|
2185
|
-
function
|
2188
|
+
function ji(e, t, r) {
|
2186
2189
|
if (!t) return r ? ir(e, "style") : t;
|
2187
2190
|
const n = e.style;
|
2188
2191
|
if (typeof t == "string") return n.cssText = t;
|
@@ -2194,18 +2197,18 @@ function Vi(e, t, r) {
|
|
2194
2197
|
s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
|
2195
2198
|
return r;
|
2196
2199
|
}
|
2197
|
-
function
|
2200
|
+
function Wi(e, t = {}, r, n) {
|
2198
2201
|
const s = {};
|
2199
|
-
return n || Te(() => s.children = qe(e, t.children, s.children)), Te(() => typeof t.ref == "function" &&
|
2202
|
+
return n || Te(() => s.children = qe(e, t.children, s.children)), Te(() => typeof t.ref == "function" && Gi(t.ref, e)), Te(() => qi(e, t, r, !0, s, !0)), s;
|
2200
2203
|
}
|
2201
|
-
function
|
2204
|
+
function Gi(e, t, r) {
|
2202
2205
|
return G(() => e(t, r));
|
2203
2206
|
}
|
2204
2207
|
function ar(e, t, r, n) {
|
2205
2208
|
if (r !== void 0 && !n && (n = []), typeof t != "function") return qe(e, t, n, r);
|
2206
2209
|
Te((s) => qe(e, t(), s, r), n);
|
2207
2210
|
}
|
2208
|
-
function
|
2211
|
+
function qi(e, t, r, n, s = {}, i = !1) {
|
2209
2212
|
t || (t = {});
|
2210
2213
|
for (const o in s)
|
2211
2214
|
if (!(o in t)) {
|
@@ -2219,7 +2222,7 @@ function Gi(e, t, r, n, s = {}, i = !1) {
|
|
2219
2222
|
s[o] = Ur(e, o, a, s[o], r, i, t);
|
2220
2223
|
}
|
2221
2224
|
}
|
2222
|
-
function
|
2225
|
+
function Ji(e) {
|
2223
2226
|
return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
|
2224
2227
|
}
|
2225
2228
|
function Lr(e, t, r) {
|
@@ -2228,8 +2231,8 @@ function Lr(e, t, r) {
|
|
2228
2231
|
}
|
2229
2232
|
function Ur(e, t, r, n, s, i, o) {
|
2230
2233
|
let a, c, d, u, l;
|
2231
|
-
if (t === "style") return
|
2232
|
-
if (t === "classList") return
|
2234
|
+
if (t === "style") return ji(e, r, n);
|
2235
|
+
if (t === "classList") return Vi(e, r, n);
|
2233
2236
|
if (r === n) return n;
|
2234
2237
|
if (t === "ref")
|
2235
2238
|
i || r(e);
|
@@ -2240,21 +2243,21 @@ function Ur(e, t, r, n, s, i, o) {
|
|
2240
2243
|
const f = t.slice(10);
|
2241
2244
|
n && e.removeEventListener(f, n, !0), r && e.addEventListener(f, r, !0);
|
2242
2245
|
} else if (t.slice(0, 2) === "on") {
|
2243
|
-
const f = t.slice(2).toLowerCase(), h =
|
2246
|
+
const f = t.slice(2).toLowerCase(), h = xi.has(f);
|
2244
2247
|
if (!h && n) {
|
2245
2248
|
const m = Array.isArray(n) ? n[0] : n;
|
2246
2249
|
e.removeEventListener(f, m);
|
2247
2250
|
}
|
2248
|
-
(h || r) && (
|
2251
|
+
(h || r) && (Bi(e, f, r, h), h && Ui([f]));
|
2249
2252
|
} else if (t.slice(0, 5) === "attr:")
|
2250
2253
|
ir(e, t.slice(5), r);
|
2251
2254
|
else if (t.slice(0, 5) === "bool:")
|
2252
|
-
|
2253
|
-
else if ((l = t.slice(0, 5) === "prop:") || (d =
|
2254
|
-
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ?
|
2255
|
+
Ki(e, t.slice(5), r);
|
2256
|
+
else if ((l = t.slice(0, 5) === "prop:") || (d = _i.has(t)) || !s && ((u = Pi(t, e.tagName)) || (c = Ri.has(t))) || (a = e.nodeName.includes("-") || "is" in o))
|
2257
|
+
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Hi(e, r) : a && !c && !d ? e[Ji(t)] = r : e[u || t] = r;
|
2255
2258
|
else {
|
2256
|
-
const f = s && t.indexOf(":") > -1 &&
|
2257
|
-
f ?
|
2259
|
+
const f = s && t.indexOf(":") > -1 && Di[t.split(":")[0]];
|
2260
|
+
f ? Fi(e, f, t, r) : ir(e, Ci[t] || t, r);
|
2258
2261
|
}
|
2259
2262
|
return r;
|
2260
2263
|
}
|
@@ -2319,7 +2322,7 @@ function qe(e, t, r, n, s) {
|
|
2319
2322
|
return Te(() => r = qe(e, a, r, n, !0)), () => r;
|
2320
2323
|
if (a.length === 0) {
|
2321
2324
|
if (r = ke(e, r, n), o) return r;
|
2322
|
-
} else c ? r.length === 0 ? Fr(e, a, n) :
|
2325
|
+
} else c ? r.length === 0 ? Fr(e, a, n) : Mi(e, r, a) : (r && ke(e), Fr(e, a));
|
2323
2326
|
r = a;
|
2324
2327
|
} else if (t.nodeType) {
|
2325
2328
|
if (Array.isArray(r)) {
|
@@ -2370,14 +2373,14 @@ function ke(e, t, r, n) {
|
|
2370
2373
|
} else e.insertBefore(s, r);
|
2371
2374
|
return [s];
|
2372
2375
|
}
|
2373
|
-
var
|
2376
|
+
var zi = "http://www.w3.org/2000/svg";
|
2374
2377
|
function Cn(e, t = !1) {
|
2375
|
-
return t ? document.createElementNS(
|
2378
|
+
return t ? document.createElementNS(zi, e) : document.createElement(e);
|
2376
2379
|
}
|
2377
|
-
function
|
2380
|
+
function Eu(e) {
|
2378
2381
|
const {
|
2379
2382
|
useShadow: t
|
2380
|
-
} = e, r = document.createTextNode(""), n = () => e.mount || document.body, s =
|
2383
|
+
} = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = fi();
|
2381
2384
|
let i;
|
2382
2385
|
return En(() => {
|
2383
2386
|
i || (i = Sn(s, () => K(() => e.children)));
|
@@ -2400,7 +2403,7 @@ function cu(e) {
|
|
2400
2403
|
render: !0
|
2401
2404
|
}), r;
|
2402
2405
|
}
|
2403
|
-
function
|
2406
|
+
function Qi(e, t) {
|
2404
2407
|
const r = K(e);
|
2405
2408
|
return K(() => {
|
2406
2409
|
const n = r();
|
@@ -2408,16 +2411,16 @@ function zi(e, t) {
|
|
2408
2411
|
case "function":
|
2409
2412
|
return G(() => n(t));
|
2410
2413
|
case "string":
|
2411
|
-
const s =
|
2412
|
-
return
|
2414
|
+
const s = $i.has(n), i = Cn(n, s);
|
2415
|
+
return Wi(i, t, s), i;
|
2413
2416
|
}
|
2414
2417
|
});
|
2415
2418
|
}
|
2416
|
-
function
|
2417
|
-
const [, t] =
|
2418
|
-
return
|
2419
|
+
function Su(e) {
|
2420
|
+
const [, t] = Ai(e, ["component"]);
|
2421
|
+
return Qi(() => e.component, t);
|
2419
2422
|
}
|
2420
|
-
var
|
2423
|
+
var Yi = class {
|
2421
2424
|
constructor() {
|
2422
2425
|
this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
|
2423
2426
|
}
|
@@ -2435,7 +2438,7 @@ var Qi = class {
|
|
2435
2438
|
}
|
2436
2439
|
}, Nn = class {
|
2437
2440
|
constructor(e) {
|
2438
|
-
this.generateIdentifier = e, this.kv = new
|
2441
|
+
this.generateIdentifier = e, this.kv = new Yi();
|
2439
2442
|
}
|
2440
2443
|
register(e, t) {
|
2441
2444
|
this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
|
@@ -2449,7 +2452,7 @@ var Qi = class {
|
|
2449
2452
|
getValue(e) {
|
2450
2453
|
return this.kv.getByKey(e);
|
2451
2454
|
}
|
2452
|
-
},
|
2455
|
+
}, Xi = class extends Nn {
|
2453
2456
|
constructor() {
|
2454
2457
|
super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
|
2455
2458
|
}
|
@@ -2460,7 +2463,7 @@ var Qi = class {
|
|
2460
2463
|
return this.classToAllowedProps.get(e);
|
2461
2464
|
}
|
2462
2465
|
};
|
2463
|
-
function
|
2466
|
+
function Zi(e) {
|
2464
2467
|
if ("values" in Object)
|
2465
2468
|
return Object.values(e);
|
2466
2469
|
const t = [];
|
@@ -2468,8 +2471,8 @@ function Xi(e) {
|
|
2468
2471
|
e.hasOwnProperty(r) && t.push(e[r]);
|
2469
2472
|
return t;
|
2470
2473
|
}
|
2471
|
-
function
|
2472
|
-
const r =
|
2474
|
+
function ea(e, t) {
|
2475
|
+
const r = Zi(e);
|
2473
2476
|
if ("find" in r)
|
2474
2477
|
return r.find(t);
|
2475
2478
|
const n = r;
|
@@ -2492,7 +2495,7 @@ function Kr(e, t) {
|
|
2492
2495
|
return n;
|
2493
2496
|
}
|
2494
2497
|
}
|
2495
|
-
var
|
2498
|
+
var ta = class {
|
2496
2499
|
constructor() {
|
2497
2500
|
this.transfomers = {};
|
2498
2501
|
}
|
@@ -2500,12 +2503,12 @@ var ea = class {
|
|
2500
2503
|
this.transfomers[e.name] = e;
|
2501
2504
|
}
|
2502
2505
|
findApplicable(e) {
|
2503
|
-
return
|
2506
|
+
return ea(this.transfomers, (t) => t.isApplicable(e));
|
2504
2507
|
}
|
2505
2508
|
findByName(e) {
|
2506
2509
|
return this.transfomers[e];
|
2507
2510
|
}
|
2508
|
-
},
|
2511
|
+
}, ra = (e) => Object.prototype.toString.call(e).slice(8, -1), Pn = (e) => typeof e > "u", na = (e) => e === null, Je = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, cr = (e) => Je(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), sa = (e) => typeof e == "string", ia = (e) => typeof e == "number" && !isNaN(e), aa = (e) => typeof e == "boolean", oa = (e) => e instanceof RegExp, ze = (e) => e instanceof Map, Qe = (e) => e instanceof Set, xn = (e) => ra(e) === "Symbol", ca = (e) => e instanceof Date && !isNaN(e.valueOf()), la = (e) => e instanceof Error, Hr = (e) => typeof e == "number" && isNaN(e), ua = (e) => aa(e) || na(e) || Pn(e) || ia(e) || sa(e) || xn(e), da = (e) => typeof e == "bigint", fa = (e) => e === 1 / 0 || e === -1 / 0, ha = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ma = (e) => e instanceof URL, $n = (e) => e.replace(/\./g, "\\."), Kt = (e) => e.map(String).map($n).join("."), Fe = (e) => {
|
2509
2512
|
const t = [];
|
2510
2513
|
let r = "";
|
2511
2514
|
for (let s = 0; s < e.length; s++) {
|
@@ -2534,9 +2537,9 @@ function ne(e, t, r, n) {
|
|
2534
2537
|
var Dn = [
|
2535
2538
|
ne(Pn, "undefined", () => null, () => {
|
2536
2539
|
}),
|
2537
|
-
ne(
|
2538
|
-
ne(
|
2539
|
-
ne(
|
2540
|
+
ne(da, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
|
2541
|
+
ne(ca, "Date", (e) => e.toISOString(), (e) => new Date(e)),
|
2542
|
+
ne(la, "Error", (e, t) => {
|
2540
2543
|
const r = {
|
2541
2544
|
name: e.name,
|
2542
2545
|
message: e.message
|
@@ -2550,7 +2553,7 @@ var Dn = [
|
|
2550
2553
|
r[n] = e[n];
|
2551
2554
|
}), r;
|
2552
2555
|
}),
|
2553
|
-
ne(
|
2556
|
+
ne(oa, "regexp", (e) => "" + e, (e) => {
|
2554
2557
|
const t = e.slice(1, e.lastIndexOf("/")), r = e.slice(e.lastIndexOf("/") + 1);
|
2555
2558
|
return new RegExp(t, r);
|
2556
2559
|
}),
|
@@ -2563,9 +2566,9 @@ var Dn = [
|
|
2563
2566
|
(e) => new Set(e)
|
2564
2567
|
),
|
2565
2568
|
ne(ze, "map", (e) => [...e.entries()], (e) => new Map(e)),
|
2566
|
-
ne((e) => Hr(e) ||
|
2569
|
+
ne((e) => Hr(e) || fa(e), "number", (e) => Hr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
|
2567
2570
|
ne((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
|
2568
|
-
ne(
|
2571
|
+
ne(ma, "URL", (e) => e.toString(), (e) => new URL(e))
|
2569
2572
|
];
|
2570
2573
|
function xt(e, t, r, n) {
|
2571
2574
|
return {
|
@@ -2580,7 +2583,7 @@ var Mn = xt((e, t) => xn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
|
|
2580
2583
|
if (!n)
|
2581
2584
|
throw new Error("Trying to deserialize unknown symbol");
|
2582
2585
|
return n;
|
2583
|
-
}),
|
2586
|
+
}), ya = [
|
2584
2587
|
Int8Array,
|
2585
2588
|
Uint8Array,
|
2586
2589
|
Int16Array,
|
@@ -2590,8 +2593,8 @@ var Mn = xt((e, t) => xn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
|
|
2590
2593
|
Float32Array,
|
2591
2594
|
Float64Array,
|
2592
2595
|
Uint8ClampedArray
|
2593
|
-
].reduce((e, t) => (e[t.name] = t, e), {}), Ln = xt(
|
2594
|
-
const r =
|
2596
|
+
].reduce((e, t) => (e[t.name] = t, e), {}), Ln = xt(ha, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
|
2597
|
+
const r = ya[t[1]];
|
2595
2598
|
if (!r)
|
2596
2599
|
throw new Error("Trying to deserialize unknown typed array");
|
2597
2600
|
return new r(e);
|
@@ -2617,8 +2620,8 @@ var Fn = xt(Un, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
|
|
2617
2620
|
if (!n)
|
2618
2621
|
throw new Error("Trying to deserialize unknown custom value");
|
2619
2622
|
return n.deserialize(e);
|
2620
|
-
}),
|
2621
|
-
const r = Kr(
|
2623
|
+
}), pa = [Fn, Mn, Kn, Ln], Br = (e, t) => {
|
2624
|
+
const r = Kr(pa, (s) => s.isApplicable(e, t));
|
2622
2625
|
if (r)
|
2623
2626
|
return {
|
2624
2627
|
value: r.transform(e, t),
|
@@ -2634,7 +2637,7 @@ var Fn = xt(Un, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
|
|
2634
2637
|
Dn.forEach((e) => {
|
2635
2638
|
Hn[e.annotation] = e;
|
2636
2639
|
});
|
2637
|
-
var
|
2640
|
+
var ga = (e, t, r) => {
|
2638
2641
|
if (we(t))
|
2639
2642
|
switch (t[0]) {
|
2640
2643
|
case "symbol":
|
@@ -2670,7 +2673,7 @@ function Bn(e) {
|
|
2670
2673
|
if (ht(e, "constructor"))
|
2671
2674
|
throw new Error("constructor is not allowed as a property");
|
2672
2675
|
}
|
2673
|
-
var
|
2676
|
+
var ba = (e, t) => {
|
2674
2677
|
Bn(t);
|
2675
2678
|
for (let r = 0; r < t.length; r++) {
|
2676
2679
|
const n = t[r];
|
@@ -2751,14 +2754,14 @@ function ur(e, t, r = []) {
|
|
2751
2754
|
ur(i, t, [...r, ...Fe(o)]);
|
2752
2755
|
}), t(n, r);
|
2753
2756
|
}
|
2754
|
-
function
|
2757
|
+
function wa(e, t, r) {
|
2755
2758
|
return ur(t, (n, s) => {
|
2756
|
-
e = lr(e, s, (i) =>
|
2759
|
+
e = lr(e, s, (i) => ga(i, n, r));
|
2757
2760
|
}), e;
|
2758
2761
|
}
|
2759
|
-
function
|
2762
|
+
function va(e, t) {
|
2760
2763
|
function r(n, s) {
|
2761
|
-
const i =
|
2764
|
+
const i = ba(e, Fe(s));
|
2762
2765
|
n.map(Fe).forEach((o) => {
|
2763
2766
|
e = lr(e, o, () => i);
|
2764
2767
|
});
|
@@ -2772,12 +2775,12 @@ function wa(e, t) {
|
|
2772
2775
|
xe(t, r);
|
2773
2776
|
return e;
|
2774
2777
|
}
|
2775
|
-
var
|
2776
|
-
function
|
2778
|
+
var Ea = (e, t) => Je(e) || we(e) || ze(e) || Qe(e) || Un(e, t);
|
2779
|
+
function Sa(e, t, r) {
|
2777
2780
|
const n = r.get(e);
|
2778
2781
|
n ? n.push(t) : r.set(e, [t]);
|
2779
2782
|
}
|
2780
|
-
function
|
2783
|
+
function Ta(e, t) {
|
2781
2784
|
const r = {};
|
2782
2785
|
let n;
|
2783
2786
|
return e.forEach((s) => {
|
@@ -2789,16 +2792,16 @@ function Sa(e, t) {
|
|
2789
2792
|
}), n ? cr(r) ? [n] : [n, r] : cr(r) ? void 0 : r;
|
2790
2793
|
}
|
2791
2794
|
var Vn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
|
2792
|
-
const a =
|
2795
|
+
const a = ua(e);
|
2793
2796
|
if (!a) {
|
2794
|
-
|
2797
|
+
Sa(e, s, t);
|
2795
2798
|
const h = o.get(e);
|
2796
2799
|
if (h)
|
2797
2800
|
return n ? {
|
2798
2801
|
transformedValue: null
|
2799
2802
|
} : h;
|
2800
2803
|
}
|
2801
|
-
if (!
|
2804
|
+
if (!Ea(e, r)) {
|
2802
2805
|
const h = Br(e, r), m = h ? {
|
2803
2806
|
transformedValue: h.value,
|
2804
2807
|
annotations: [h.type]
|
@@ -2835,13 +2838,13 @@ function jn(e) {
|
|
2835
2838
|
function Vr(e) {
|
2836
2839
|
return jn(e) === "Array";
|
2837
2840
|
}
|
2838
|
-
function
|
2841
|
+
function Aa(e) {
|
2839
2842
|
if (jn(e) !== "Object")
|
2840
2843
|
return !1;
|
2841
2844
|
const t = Object.getPrototypeOf(e);
|
2842
2845
|
return !!t && t.constructor === Object && t === Object.prototype;
|
2843
2846
|
}
|
2844
|
-
function
|
2847
|
+
function Ia(e, t, r, n, s) {
|
2845
2848
|
const i = {}.propertyIsEnumerable.call(n, t) ? "enumerable" : "nonenumerable";
|
2846
2849
|
i === "enumerable" && (e[t] = r), s && i === "nonenumerable" && Object.defineProperty(e, t, {
|
2847
2850
|
value: r,
|
@@ -2853,14 +2856,14 @@ function Aa(e, t, r, n, s) {
|
|
2853
2856
|
function dr(e, t = {}) {
|
2854
2857
|
if (Vr(e))
|
2855
2858
|
return e.map((s) => dr(s, t));
|
2856
|
-
if (!
|
2859
|
+
if (!Aa(e))
|
2857
2860
|
return e;
|
2858
2861
|
const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
|
2859
2862
|
return [...r, ...n].reduce((s, i) => {
|
2860
2863
|
if (Vr(t.props) && !t.props.includes(i))
|
2861
2864
|
return s;
|
2862
2865
|
const o = e[i], a = dr(o, t);
|
2863
|
-
return
|
2866
|
+
return Ia(s, i, a, e, t.nonenumerable), s;
|
2864
2867
|
}, {});
|
2865
2868
|
}
|
2866
2869
|
var C = class {
|
@@ -2868,7 +2871,7 @@ var C = class {
|
|
2868
2871
|
* @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
|
2869
2872
|
*/
|
2870
2873
|
constructor({ dedupe: e = !1 } = {}) {
|
2871
|
-
this.classRegistry = new
|
2874
|
+
this.classRegistry = new Xi(), this.symbolRegistry = new Nn((t) => t.description ?? ""), this.customTransformerRegistry = new ta(), this.allowedErrorProps = [], this.dedupe = e;
|
2872
2875
|
}
|
2873
2876
|
serialize(e) {
|
2874
2877
|
const t = /* @__PURE__ */ new Map(), r = Vn(e, t, this, this.dedupe), n = {
|
@@ -2878,7 +2881,7 @@ var C = class {
|
|
2878
2881
|
...n.meta,
|
2879
2882
|
values: r.annotations
|
2880
2883
|
});
|
2881
|
-
const s =
|
2884
|
+
const s = Ta(t, this.dedupe);
|
2882
2885
|
return s && (n.meta = {
|
2883
2886
|
...n.meta,
|
2884
2887
|
referentialEqualities: s
|
@@ -2887,7 +2890,7 @@ var C = class {
|
|
2887
2890
|
deserialize(e) {
|
2888
2891
|
const { json: t, meta: r } = e;
|
2889
2892
|
let n = dr(t);
|
2890
|
-
return r?.values && (n =
|
2893
|
+
return r?.values && (n = wa(n, r.values, this)), r?.referentialEqualities && (n = va(n, r.referentialEqualities)), n;
|
2891
2894
|
}
|
2892
2895
|
stringify(e) {
|
2893
2896
|
return JSON.stringify(this.serialize(e));
|
@@ -2920,44 +2923,44 @@ C.registerClass = C.defaultInstance.registerClass.bind(C.defaultInstance);
|
|
2920
2923
|
C.registerSymbol = C.defaultInstance.registerSymbol.bind(C.defaultInstance);
|
2921
2924
|
C.registerCustom = C.defaultInstance.registerCustom.bind(C.defaultInstance);
|
2922
2925
|
C.allowErrorProps = C.defaultInstance.allowErrorProps.bind(C.defaultInstance);
|
2923
|
-
var
|
2924
|
-
function
|
2926
|
+
var ka = C.serialize, Tu = C.stringify;
|
2927
|
+
function Au(e) {
|
2925
2928
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
2926
2929
|
}
|
2927
|
-
function
|
2930
|
+
function Iu(e, t) {
|
2928
2931
|
return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
|
2929
2932
|
}
|
2930
|
-
function
|
2933
|
+
function ku({
|
2931
2934
|
queryState: e,
|
2932
2935
|
observerCount: t,
|
2933
2936
|
isStale: r
|
2934
2937
|
}) {
|
2935
2938
|
return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
|
2936
2939
|
}
|
2937
|
-
function
|
2940
|
+
function Ou({
|
2938
2941
|
status: e,
|
2939
2942
|
isPaused: t
|
2940
2943
|
}) {
|
2941
2944
|
return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
|
2942
2945
|
}
|
2943
|
-
function
|
2946
|
+
function Ru(e) {
|
2944
2947
|
return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
|
2945
2948
|
}
|
2946
|
-
var
|
2949
|
+
var _u = (e, t = !1) => {
|
2947
2950
|
const {
|
2948
2951
|
json: r
|
2949
|
-
} =
|
2952
|
+
} = ka(e);
|
2950
2953
|
return JSON.stringify(r, null, t ? 2 : void 0);
|
2951
|
-
}, rt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3,
|
2952
|
-
status: Oa,
|
2953
|
-
"query hash": ka,
|
2954
|
-
"last updated": Wn
|
2955
|
-
}, nt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Gn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Ra = (e, t) => nt(e) === nt(t) ? Gn(e, t) : nt(e) > nt(t) ? 1 : -1, bu = {
|
2954
|
+
}, rt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Oa = (e, t) => e.queryHash.localeCompare(t.queryHash), Wn = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Ra = (e, t) => rt(e) === rt(t) ? Wn(e, t) : rt(e) > rt(t) ? 1 : -1, Cu = {
|
2956
2955
|
status: Ra,
|
2956
|
+
"query hash": Oa,
|
2957
|
+
"last updated": Wn
|
2958
|
+
}, nt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Gn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, _a = (e, t) => nt(e) === nt(t) ? Gn(e, t) : nt(e) > nt(t) ? 1 : -1, Nu = {
|
2959
|
+
status: _a,
|
2957
2960
|
"last updated": Gn
|
2958
|
-
},
|
2961
|
+
}, Pu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), xu = () => {
|
2959
2962
|
const [e, t] = Y("dark");
|
2960
|
-
return
|
2963
|
+
return di(() => {
|
2961
2964
|
const r = window.matchMedia("(prefers-color-scheme: dark)");
|
2962
2965
|
t(r.matches ? "dark" : "light");
|
2963
2966
|
const n = (s) => {
|
@@ -3025,11 +3028,11 @@ var pu = (e, t = !1) => {
|
|
3025
3028
|
return r[n] = it(r[n], s), r;
|
3026
3029
|
}
|
3027
3030
|
return e;
|
3028
|
-
},
|
3031
|
+
}, Ca = (e, t) => {
|
3029
3032
|
if (!e || document.querySelector("#_goober") || t?.querySelector("#_goober")) return;
|
3030
3033
|
const n = document.createElement("style"), s = document.createTextNode("");
|
3031
3034
|
n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
|
3032
|
-
},
|
3035
|
+
}, Na = class {
|
3033
3036
|
#e;
|
3034
3037
|
#t;
|
3035
3038
|
#r;
|
@@ -3078,10 +3081,10 @@ var pu = (e, t = !1) => {
|
|
3078
3081
|
mount(e) {
|
3079
3082
|
if (this.#n)
|
3080
3083
|
throw new Error("Devtools is already mounted");
|
3081
|
-
const t =
|
3084
|
+
const t = Li(() => {
|
3082
3085
|
const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
|
3083
3086
|
let d;
|
3084
|
-
return this.#d ? d = this.#d : (d =
|
3087
|
+
return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.hRl3WlXy.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
|
3085
3088
|
get queryFlavor() {
|
3086
3089
|
return r.#r;
|
3087
3090
|
},
|
@@ -3123,8 +3126,8 @@ var pu = (e, t = !1) => {
|
|
3123
3126
|
this.#h?.(), this.#n = !1;
|
3124
3127
|
}
|
3125
3128
|
};
|
3126
|
-
function
|
3127
|
-
const t =
|
3129
|
+
function Pa(e) {
|
3130
|
+
const t = ii(e.client), r = te.useRef(null), {
|
3128
3131
|
buttonPosition: n,
|
3129
3132
|
position: s,
|
3130
3133
|
initialIsOpen: i,
|
@@ -3133,7 +3136,7 @@ function Na(e) {
|
|
3133
3136
|
shadowDOMTarget: c,
|
3134
3137
|
hideDisabledQueries: d
|
3135
3138
|
} = e, [u] = te.useState(
|
3136
|
-
new
|
3139
|
+
new Na({
|
3137
3140
|
client: t,
|
3138
3141
|
queryFlavor: "React Query",
|
3139
3142
|
version: "5",
|
@@ -3161,9 +3164,9 @@ function Na(e) {
|
|
3161
3164
|
u.unmount();
|
3162
3165
|
}), [u]), /* @__PURE__ */ y("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
|
3163
3166
|
}
|
3164
|
-
var
|
3167
|
+
var xa = process.env.NODE_ENV !== "development" ? function() {
|
3165
3168
|
return null;
|
3166
|
-
} :
|
3169
|
+
} : Pa, $a = Object.defineProperty, Da = (e, t, r) => t in e ? $a(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $ = (e, t, r) => Da(e, typeof t != "symbol" ? t + "" : t, r);
|
3167
3170
|
/*!
|
3168
3171
|
@versini/auth-common v4.5.0
|
3169
3172
|
© 2025 gizmette.com
|
@@ -3191,7 +3194,7 @@ const Ke = {
|
|
3191
3194
|
NONCE_KEY: "_nonce",
|
3192
3195
|
AUTH_TYPE_KEY: "auth_type",
|
3193
3196
|
ISSUER: "gizmette.com"
|
3194
|
-
},
|
3197
|
+
}, Ma = `-----BEGIN PUBLIC KEY-----
|
3195
3198
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
|
3196
3199
|
w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
|
3197
3200
|
i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
|
@@ -3205,14 +3208,14 @@ awIDAQAB
|
|
3205
3208
|
LOGIN: "login",
|
3206
3209
|
REFRESH: "refresh"
|
3207
3210
|
}, at = new TextEncoder(), $e = new TextDecoder();
|
3208
|
-
function
|
3211
|
+
function La(...e) {
|
3209
3212
|
const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
|
3210
3213
|
let n = 0;
|
3211
3214
|
for (const s of e)
|
3212
3215
|
r.set(s, n), n += s.length;
|
3213
3216
|
return r;
|
3214
3217
|
}
|
3215
|
-
function
|
3218
|
+
function Ua(e) {
|
3216
3219
|
if (Uint8Array.fromBase64)
|
3217
3220
|
return Uint8Array.fromBase64(e);
|
3218
3221
|
const t = atob(e), r = new Uint8Array(t.length);
|
@@ -3228,7 +3231,7 @@ function He(e) {
|
|
3228
3231
|
let t = e;
|
3229
3232
|
t instanceof Uint8Array && (t = $e.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
|
3230
3233
|
try {
|
3231
|
-
return
|
3234
|
+
return Ua(t);
|
3232
3235
|
} catch {
|
3233
3236
|
throw new TypeError("The input to be decoded is not correctly encoded.");
|
3234
3237
|
}
|
@@ -3291,7 +3294,7 @@ function Me(e, t) {
|
|
3291
3294
|
function Ht(e) {
|
3292
3295
|
return parseInt(e.name.slice(4), 10);
|
3293
3296
|
}
|
3294
|
-
function
|
3297
|
+
function Fa(e) {
|
3295
3298
|
switch (e) {
|
3296
3299
|
case "ES256":
|
3297
3300
|
return "P-256";
|
@@ -3303,11 +3306,11 @@ function Ua(e) {
|
|
3303
3306
|
throw new Error("unreachable");
|
3304
3307
|
}
|
3305
3308
|
}
|
3306
|
-
function
|
3309
|
+
function Ka(e, t) {
|
3307
3310
|
if (!e.usages.includes(t))
|
3308
3311
|
throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
|
3309
3312
|
}
|
3310
|
-
function
|
3313
|
+
function Ha(e, t, r) {
|
3311
3314
|
switch (t) {
|
3312
3315
|
case "HS256":
|
3313
3316
|
case "HS384":
|
@@ -3350,7 +3353,7 @@ function Ka(e, t, r) {
|
|
3350
3353
|
case "ES512": {
|
3351
3354
|
if (!Me(e.algorithm, "ECDSA"))
|
3352
3355
|
throw ce("ECDSA");
|
3353
|
-
const n =
|
3356
|
+
const n = Fa(t);
|
3354
3357
|
if (e.algorithm.namedCurve !== n)
|
3355
3358
|
throw ce(n, "algorithm.namedCurve");
|
3356
3359
|
break;
|
@@ -3358,7 +3361,7 @@ function Ka(e, t, r) {
|
|
3358
3361
|
default:
|
3359
3362
|
throw new TypeError("CryptoKey does not support this operation");
|
3360
3363
|
}
|
3361
|
-
|
3364
|
+
Ka(e, r);
|
3362
3365
|
}
|
3363
3366
|
function Qn(e, t, ...r) {
|
3364
3367
|
var n;
|
@@ -3368,7 +3371,7 @@ function Qn(e, t, ...r) {
|
|
3368
3371
|
} else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
|
3369
3372
|
return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (n = t.constructor) != null && n.name && (e += ` Received an instance of ${t.constructor.name}`), e;
|
3370
3373
|
}
|
3371
|
-
const
|
3374
|
+
const Ba = (e, ...t) => Qn("Key must be ", e, ...t);
|
3372
3375
|
function Yn(e, t, ...r) {
|
3373
3376
|
return Qn(`Key for the ${e} algorithm must be `, t, ...r);
|
3374
3377
|
}
|
@@ -3378,7 +3381,7 @@ function Xn(e) {
|
|
3378
3381
|
function Zn(e) {
|
3379
3382
|
return e?.[Symbol.toStringTag] === "KeyObject";
|
3380
3383
|
}
|
3381
|
-
const es = (e) => Xn(e) || Zn(e),
|
3384
|
+
const es = (e) => Xn(e) || Zn(e), Va = (...e) => {
|
3382
3385
|
const t = e.filter(Boolean);
|
3383
3386
|
if (t.length === 0 || t.length === 1)
|
3384
3387
|
return !0;
|
@@ -3397,11 +3400,11 @@ const es = (e) => Xn(e) || Zn(e), Ba = (...e) => {
|
|
3397
3400
|
}
|
3398
3401
|
return !0;
|
3399
3402
|
};
|
3400
|
-
function
|
3403
|
+
function ja(e) {
|
3401
3404
|
return typeof e == "object" && e !== null;
|
3402
3405
|
}
|
3403
3406
|
const Ye = (e) => {
|
3404
|
-
if (!
|
3407
|
+
if (!ja(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
3405
3408
|
return !1;
|
3406
3409
|
if (Object.getPrototypeOf(e) === null)
|
3407
3410
|
return !0;
|
@@ -3409,7 +3412,7 @@ const Ye = (e) => {
|
|
3409
3412
|
for (; Object.getPrototypeOf(t) !== null; )
|
3410
3413
|
t = Object.getPrototypeOf(t);
|
3411
3414
|
return Object.getPrototypeOf(e) === t;
|
3412
|
-
},
|
3415
|
+
}, Wa = (e, t) => {
|
3413
3416
|
if (e.startsWith("RS") || e.startsWith("PS")) {
|
3414
3417
|
const { modulusLength: r } = t.algorithm;
|
3415
3418
|
if (typeof r != "number" || r < 2048)
|
@@ -3422,7 +3425,7 @@ const Ye = (e) => {
|
|
3422
3425
|
return !1;
|
3423
3426
|
const s = e.subarray(n, n + t.length);
|
3424
3427
|
return s.length !== t.length ? !1 : s.every((i, o) => i === t[o]) || mt(e, t, n + 1);
|
3425
|
-
},
|
3428
|
+
}, Ga = (e) => {
|
3426
3429
|
switch (!0) {
|
3427
3430
|
case mt(e, [42, 134, 72, 206, 61, 3, 1, 7]):
|
3428
3431
|
return "P-256";
|
@@ -3433,7 +3436,7 @@ const Ye = (e) => {
|
|
3433
3436
|
default:
|
3434
3437
|
return;
|
3435
3438
|
}
|
3436
|
-
},
|
3439
|
+
}, qa = async (e, t, r, n, s) => {
|
3437
3440
|
let i, o;
|
3438
3441
|
const a = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
|
3439
3442
|
switch (n) {
|
@@ -3469,7 +3472,7 @@ const Ye = (e) => {
|
|
3469
3472
|
case "ECDH-ES+A128KW":
|
3470
3473
|
case "ECDH-ES+A192KW":
|
3471
3474
|
case "ECDH-ES+A256KW": {
|
3472
|
-
const c =
|
3475
|
+
const c = Ga(a);
|
3473
3476
|
i = c != null && c.startsWith("P-") ? { name: "ECDH", namedCurve: c } : { name: "X25519" }, o = [];
|
3474
3477
|
break;
|
3475
3478
|
}
|
@@ -3481,8 +3484,8 @@ const Ye = (e) => {
|
|
3481
3484
|
throw new ge('Invalid or unsupported "alg" (Algorithm) value');
|
3482
3485
|
}
|
3483
3486
|
return crypto.subtle.importKey(t, a, i, !0, o);
|
3484
|
-
},
|
3485
|
-
function
|
3487
|
+
}, Ja = (e, t, r) => qa(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
|
3488
|
+
function za(e) {
|
3486
3489
|
let t, r;
|
3487
3490
|
switch (e.kty) {
|
3488
3491
|
case "RSA": {
|
@@ -3555,18 +3558,18 @@ function Ja(e) {
|
|
3555
3558
|
}
|
3556
3559
|
return { algorithm: t, keyUsages: r };
|
3557
3560
|
}
|
3558
|
-
const
|
3561
|
+
const Qa = async (e) => {
|
3559
3562
|
if (!e.alg)
|
3560
3563
|
throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
|
3561
|
-
const { algorithm: t, keyUsages: r } =
|
3564
|
+
const { algorithm: t, keyUsages: r } = za(e), n = { ...e };
|
3562
3565
|
return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
|
3563
3566
|
};
|
3564
|
-
async function
|
3567
|
+
async function Ya(e, t, r) {
|
3565
3568
|
if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
|
3566
3569
|
throw new TypeError('"spki" must be SPKI formatted string');
|
3567
|
-
return
|
3570
|
+
return Ja(e, t);
|
3568
3571
|
}
|
3569
|
-
const
|
3572
|
+
const Xa = (e, t, r, n, s) => {
|
3570
3573
|
if (s.crit !== void 0 && n?.crit === void 0)
|
3571
3574
|
throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
|
3572
3575
|
if (!n || n.crit === void 0)
|
@@ -3584,7 +3587,7 @@ const Ya = (e, t, r, n, s) => {
|
|
3584
3587
|
throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`);
|
3585
3588
|
}
|
3586
3589
|
return new Set(n.crit);
|
3587
|
-
},
|
3590
|
+
}, Za = (e, t) => {
|
3588
3591
|
if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
|
3589
3592
|
throw new TypeError(`"${e}" option must be an array of strings`);
|
3590
3593
|
if (t)
|
@@ -3593,13 +3596,13 @@ const Ya = (e, t, r, n, s) => {
|
|
3593
3596
|
function vr(e) {
|
3594
3597
|
return Ye(e) && typeof e.kty == "string";
|
3595
3598
|
}
|
3596
|
-
function
|
3599
|
+
function eo(e) {
|
3597
3600
|
return e.kty !== "oct" && typeof e.d == "string";
|
3598
3601
|
}
|
3599
|
-
function
|
3602
|
+
function to(e) {
|
3600
3603
|
return e.kty !== "oct" && typeof e.d > "u";
|
3601
3604
|
}
|
3602
|
-
function
|
3605
|
+
function ro(e) {
|
3603
3606
|
return e.kty === "oct" && typeof e.k == "string";
|
3604
3607
|
}
|
3605
3608
|
let be;
|
@@ -3608,9 +3611,9 @@ const jr = async (e, t, r, n = !1) => {
|
|
3608
3611
|
let s = be.get(e);
|
3609
3612
|
if (s != null && s[r])
|
3610
3613
|
return s[r];
|
3611
|
-
const i = await
|
3614
|
+
const i = await Qa({ ...t, alg: r });
|
3612
3615
|
return n && Object.freeze(e), s ? s[r] = i : be.set(e, { [r]: i }), i;
|
3613
|
-
},
|
3616
|
+
}, no = (e, t) => {
|
3614
3617
|
var r;
|
3615
3618
|
be || (be = /* @__PURE__ */ new WeakMap());
|
3616
3619
|
let n = be.get(e);
|
@@ -3696,7 +3699,7 @@ const jr = async (e, t, r, n = !1) => {
|
|
3696
3699
|
if (!o)
|
3697
3700
|
throw new TypeError("given KeyObject instance cannot be used for this algorithm");
|
3698
3701
|
return n ? n[t] = o : be.set(e, { [t]: o }), o;
|
3699
|
-
},
|
3702
|
+
}, so = async (e, t) => {
|
3700
3703
|
if (e instanceof Uint8Array || Xn(e))
|
3701
3704
|
return e;
|
3702
3705
|
if (Zn(e)) {
|
@@ -3704,7 +3707,7 @@ const jr = async (e, t, r, n = !1) => {
|
|
3704
3707
|
return e.export();
|
3705
3708
|
if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
|
3706
3709
|
try {
|
3707
|
-
return
|
3710
|
+
return no(e, t);
|
3708
3711
|
} catch (n) {
|
3709
3712
|
if (n instanceof TypeError)
|
3710
3713
|
throw n;
|
@@ -3759,10 +3762,10 @@ const jr = async (e, t, r, n = !1) => {
|
|
3759
3762
|
throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${i}" when present`);
|
3760
3763
|
}
|
3761
3764
|
return !0;
|
3762
|
-
},
|
3765
|
+
}, io = (e, t, r) => {
|
3763
3766
|
if (!(t instanceof Uint8Array)) {
|
3764
3767
|
if (vr(t)) {
|
3765
|
-
if (
|
3768
|
+
if (ro(t) && hr(e, t, r))
|
3766
3769
|
return;
|
3767
3770
|
throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
|
3768
3771
|
}
|
@@ -3771,17 +3774,17 @@ const jr = async (e, t, r, n = !1) => {
|
|
3771
3774
|
if (t.type !== "secret")
|
3772
3775
|
throw new TypeError(`${Ne(t)} instances for symmetric algorithms must be of type "secret"`);
|
3773
3776
|
}
|
3774
|
-
},
|
3777
|
+
}, ao = (e, t, r) => {
|
3775
3778
|
if (vr(t))
|
3776
3779
|
switch (r) {
|
3777
3780
|
case "decrypt":
|
3778
3781
|
case "sign":
|
3779
|
-
if (
|
3782
|
+
if (eo(t) && hr(e, t, r))
|
3780
3783
|
return;
|
3781
3784
|
throw new TypeError("JSON Web Key for this operation be a private JWK");
|
3782
3785
|
case "encrypt":
|
3783
3786
|
case "verify":
|
3784
|
-
if (
|
3787
|
+
if (to(t) && hr(e, t, r))
|
3785
3788
|
return;
|
3786
3789
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
3787
3790
|
}
|
@@ -3803,9 +3806,9 @@ const jr = async (e, t, r, n = !1) => {
|
|
3803
3806
|
case "encrypt":
|
3804
3807
|
throw new TypeError(`${Ne(t)} instances for asymmetric algorithm encryption must be of type "public"`);
|
3805
3808
|
}
|
3806
|
-
},
|
3807
|
-
e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ?
|
3808
|
-
},
|
3809
|
+
}, oo = (e, t, r) => {
|
3810
|
+
e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? io(e, t, r) : ao(e, t, r);
|
3811
|
+
}, co = (e, t) => {
|
3809
3812
|
const r = `SHA-${e.slice(-3)}`;
|
3810
3813
|
switch (e) {
|
3811
3814
|
case "HS256":
|
@@ -3830,24 +3833,24 @@ const jr = async (e, t, r, n = !1) => {
|
|
3830
3833
|
default:
|
3831
3834
|
throw new ge(`alg ${e} is not supported either by JOSE or your javascript runtime`);
|
3832
3835
|
}
|
3833
|
-
},
|
3836
|
+
}, lo = async (e, t, r) => {
|
3834
3837
|
if (t instanceof Uint8Array) {
|
3835
3838
|
if (!e.startsWith("HS"))
|
3836
|
-
throw new TypeError(
|
3839
|
+
throw new TypeError(Ba(t, "CryptoKey", "KeyObject", "JSON Web Key"));
|
3837
3840
|
return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
|
3838
3841
|
}
|
3839
|
-
return
|
3840
|
-
},
|
3841
|
-
const s = await
|
3842
|
-
|
3843
|
-
const i =
|
3842
|
+
return Ha(t, e, r), t;
|
3843
|
+
}, uo = async (e, t, r, n) => {
|
3844
|
+
const s = await lo(e, t, "verify");
|
3845
|
+
Wa(e, s);
|
3846
|
+
const i = co(e, s.algorithm);
|
3844
3847
|
try {
|
3845
3848
|
return await crypto.subtle.verify(i, s, r, n);
|
3846
3849
|
} catch {
|
3847
3850
|
return !1;
|
3848
3851
|
}
|
3849
3852
|
};
|
3850
|
-
async function
|
3853
|
+
async function fo(e, t, r) {
|
3851
3854
|
if (!Ye(e))
|
3852
3855
|
throw new F("Flattened JWS must be an object");
|
3853
3856
|
if (e.protected === void 0 && e.header === void 0)
|
@@ -3868,19 +3871,19 @@ async function uo(e, t, r) {
|
|
3868
3871
|
} catch {
|
3869
3872
|
throw new F("JWS Protected Header is invalid");
|
3870
3873
|
}
|
3871
|
-
if (!
|
3874
|
+
if (!Va(n, e.header))
|
3872
3875
|
throw new F("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
|
3873
3876
|
const s = {
|
3874
3877
|
...n,
|
3875
3878
|
...e.header
|
3876
|
-
}, i =
|
3879
|
+
}, i = Xa(F, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
|
3877
3880
|
let o = !0;
|
3878
3881
|
if (i.has("b64") && (o = n.b64, typeof o != "boolean"))
|
3879
3882
|
throw new F('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
|
3880
3883
|
const { alg: a } = s;
|
3881
3884
|
if (typeof a != "string" || !a)
|
3882
3885
|
throw new F('JWS "alg" (Algorithm) Header Parameter missing or invalid');
|
3883
|
-
const c = r &&
|
3886
|
+
const c = r && Za("algorithms", r.algorithms);
|
3884
3887
|
if (c && !c.has(a))
|
3885
3888
|
throw new Jn('"alg" (Algorithm) Header Parameter value not allowed');
|
3886
3889
|
if (o) {
|
@@ -3889,16 +3892,16 @@ async function uo(e, t, r) {
|
|
3889
3892
|
} else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
|
3890
3893
|
throw new F("JWS Payload must be a string or an Uint8Array instance");
|
3891
3894
|
let d = !1;
|
3892
|
-
typeof t == "function" && (t = await t(n, e), d = !0),
|
3893
|
-
const u =
|
3895
|
+
typeof t == "function" && (t = await t(n, e), d = !0), oo(a, t, "verify");
|
3896
|
+
const u = La(at.encode(e.protected ?? ""), at.encode("."), typeof e.payload == "string" ? at.encode(e.payload) : e.payload);
|
3894
3897
|
let l;
|
3895
3898
|
try {
|
3896
3899
|
l = He(e.signature);
|
3897
3900
|
} catch {
|
3898
3901
|
throw new F("Failed to base64url decode the signature");
|
3899
3902
|
}
|
3900
|
-
const f = await
|
3901
|
-
if (!await
|
3903
|
+
const f = await so(t, a);
|
3904
|
+
if (!await uo(a, f, l, u))
|
3902
3905
|
throw new zn();
|
3903
3906
|
let h;
|
3904
3907
|
if (o)
|
@@ -3911,17 +3914,17 @@ async function uo(e, t, r) {
|
|
3911
3914
|
const m = { payload: h };
|
3912
3915
|
return e.protected !== void 0 && (m.protectedHeader = n), e.header !== void 0 && (m.unprotectedHeader = e.header), d ? { ...m, key: f } : m;
|
3913
3916
|
}
|
3914
|
-
async function
|
3917
|
+
async function ho(e, t, r) {
|
3915
3918
|
if (e instanceof Uint8Array && (e = $e.decode(e)), typeof e != "string")
|
3916
3919
|
throw new F("Compact JWS must be a string or Uint8Array");
|
3917
3920
|
const { 0: n, 1: s, 2: i, length: o } = e.split(".");
|
3918
3921
|
if (o !== 3)
|
3919
3922
|
throw new F("Invalid Compact JWS");
|
3920
|
-
const a = await
|
3923
|
+
const a = await fo({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
|
3921
3924
|
return typeof t == "function" ? { ...c, key: a.key } : c;
|
3922
3925
|
}
|
3923
|
-
const
|
3924
|
-
const t =
|
3926
|
+
const mo = (e) => Math.floor(e.getTime() / 1e3), ts = 60, rs = ts * 60, Er = rs * 24, yo = Er * 7, po = Er * 365.25, go = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Wr = (e) => {
|
3927
|
+
const t = go.exec(e);
|
3925
3928
|
if (!t || t[4] && t[1])
|
3926
3929
|
throw new TypeError("Invalid time period format");
|
3927
3930
|
const r = parseFloat(t[2]), n = t[3].toLowerCase();
|
@@ -3956,15 +3959,15 @@ const ho = (e) => Math.floor(e.getTime() / 1e3), ts = 60, rs = ts * 60, Er = rs
|
|
3956
3959
|
case "week":
|
3957
3960
|
case "weeks":
|
3958
3961
|
case "w":
|
3959
|
-
s = Math.round(r *
|
3962
|
+
s = Math.round(r * yo);
|
3960
3963
|
break;
|
3961
3964
|
default:
|
3962
|
-
s = Math.round(r *
|
3965
|
+
s = Math.round(r * po);
|
3963
3966
|
break;
|
3964
3967
|
}
|
3965
3968
|
return t[1] === "-" || t[4] === "ago" ? -s : s;
|
3966
|
-
}, Gr = (e) => e.toLowerCase().replace(/^application\//, ""),
|
3967
|
-
function
|
3969
|
+
}, Gr = (e) => e.toLowerCase().replace(/^application\//, ""), bo = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
|
3970
|
+
function wo(e, t, r = {}) {
|
3968
3971
|
let n;
|
3969
3972
|
try {
|
3970
3973
|
n = JSON.parse($e.decode(t));
|
@@ -3984,7 +3987,7 @@ function bo(e, t, r = {}) {
|
|
3984
3987
|
throw new ee('unexpected "iss" claim value', n, "iss", "check_failed");
|
3985
3988
|
if (a && n.sub !== a)
|
3986
3989
|
throw new ee('unexpected "sub" claim value', n, "sub", "check_failed");
|
3987
|
-
if (c && !
|
3990
|
+
if (c && !bo(n.aud, typeof c == "string" ? [c] : c))
|
3988
3991
|
throw new ee('unexpected "aud" claim value', n, "aud", "check_failed");
|
3989
3992
|
let l;
|
3990
3993
|
switch (typeof r.clockTolerance) {
|
@@ -4000,7 +4003,7 @@ function bo(e, t, r = {}) {
|
|
4000
4003
|
default:
|
4001
4004
|
throw new TypeError("Invalid clockTolerance option type");
|
4002
4005
|
}
|
4003
|
-
const { currentDate: f } = r, h =
|
4006
|
+
const { currentDate: f } = r, h = mo(f || /* @__PURE__ */ new Date());
|
4004
4007
|
if ((n.iat !== void 0 || d) && typeof n.iat != "number")
|
4005
4008
|
throw new ee('"iat" claim must be a number', n, "iat", "invalid");
|
4006
4009
|
if (n.nbf !== void 0) {
|
@@ -4024,15 +4027,15 @@ function bo(e, t, r = {}) {
|
|
4024
4027
|
}
|
4025
4028
|
return n;
|
4026
4029
|
}
|
4027
|
-
async function
|
4030
|
+
async function vo(e, t, r) {
|
4028
4031
|
var n;
|
4029
|
-
const s = await
|
4032
|
+
const s = await ho(e, t, r);
|
4030
4033
|
if ((n = s.protectedHeader.crit) != null && n.includes("b64") && s.protectedHeader.b64 === !1)
|
4031
4034
|
throw new se("JWTs MUST NOT use unencoded payload");
|
4032
|
-
const i = { payload:
|
4035
|
+
const i = { payload: wo(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
|
4033
4036
|
return typeof t == "function" ? { ...i, key: s.key } : i;
|
4034
4037
|
}
|
4035
|
-
function
|
4038
|
+
function Eo(e) {
|
4036
4039
|
if (typeof e != "string")
|
4037
4040
|
throw new se("JWTs must use Compact JWS serialization, JWT must be a string");
|
4038
4041
|
const { 1: t, length: r } = e.split(".");
|
@@ -4060,66 +4063,66 @@ function vo(e) {
|
|
4060
4063
|
}
|
4061
4064
|
const Xe = async (e) => {
|
4062
4065
|
try {
|
4063
|
-
const t = j.ALG, r = await
|
4064
|
-
return await
|
4066
|
+
const t = j.ALG, r = await Ya(Ma, t);
|
4067
|
+
return await vo(e, r, {
|
4065
4068
|
issuer: j.ISSUER
|
4066
4069
|
});
|
4067
4070
|
} catch {
|
4068
4071
|
return;
|
4069
4072
|
}
|
4070
|
-
},
|
4073
|
+
}, So = (e) => {
|
4071
4074
|
try {
|
4072
|
-
return
|
4075
|
+
return Eo(e);
|
4073
4076
|
} catch {
|
4074
4077
|
return;
|
4075
4078
|
}
|
4076
4079
|
}, H = [];
|
4077
4080
|
for (let e = 0; e < 256; ++e)
|
4078
4081
|
H.push((e + 256).toString(16).slice(1));
|
4079
|
-
function
|
4082
|
+
function To(e, t = 0) {
|
4080
4083
|
return (H[e[t + 0]] + H[e[t + 1]] + H[e[t + 2]] + H[e[t + 3]] + "-" + H[e[t + 4]] + H[e[t + 5]] + "-" + H[e[t + 6]] + H[e[t + 7]] + "-" + H[e[t + 8]] + H[e[t + 9]] + "-" + H[e[t + 10]] + H[e[t + 11]] + H[e[t + 12]] + H[e[t + 13]] + H[e[t + 14]] + H[e[t + 15]]).toLowerCase();
|
4081
4084
|
}
|
4082
4085
|
let Bt;
|
4083
|
-
const
|
4084
|
-
function
|
4086
|
+
const Ao = new Uint8Array(16);
|
4087
|
+
function Io() {
|
4085
4088
|
if (!Bt) {
|
4086
4089
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
4087
4090
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
4088
4091
|
Bt = crypto.getRandomValues.bind(crypto);
|
4089
4092
|
}
|
4090
|
-
return Bt(
|
4093
|
+
return Bt(Ao);
|
4091
4094
|
}
|
4092
|
-
const
|
4095
|
+
const ko = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), qr = { randomUUID: ko };
|
4093
4096
|
function Jr(e, t, r) {
|
4094
4097
|
var n;
|
4095
4098
|
if (qr.randomUUID && !e)
|
4096
4099
|
return qr.randomUUID();
|
4097
4100
|
e = e || {};
|
4098
|
-
const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ??
|
4101
|
+
const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Io();
|
4099
4102
|
if (s.length < 16)
|
4100
4103
|
throw new Error("Random bytes length must be >= 16");
|
4101
|
-
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128,
|
4104
|
+
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, To(s);
|
4102
4105
|
}
|
4103
|
-
const zr = globalThis.crypto,
|
4106
|
+
const zr = globalThis.crypto, Oo = (e) => `${Jr()}${Jr()}`.slice(0, e), Ro = (e) => btoa(
|
4104
4107
|
[...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
|
4105
4108
|
);
|
4106
|
-
async function
|
4109
|
+
async function _o(e) {
|
4107
4110
|
if (!zr.subtle)
|
4108
4111
|
throw new Error(
|
4109
4112
|
"crypto.subtle is available only in secure contexts (HTTPS)."
|
4110
4113
|
);
|
4111
4114
|
const t = new TextEncoder().encode(e), r = await zr.subtle.digest("SHA-256", t);
|
4112
|
-
return
|
4115
|
+
return Ro(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
4113
4116
|
}
|
4114
|
-
async function
|
4115
|
-
const t =
|
4117
|
+
async function Co(e) {
|
4118
|
+
const t = Oo(43), r = await _o(t);
|
4116
4119
|
return {
|
4117
4120
|
code_verifier: t,
|
4118
4121
|
code_challenge: r
|
4119
4122
|
};
|
4120
4123
|
}
|
4121
4124
|
const ns = cn(null);
|
4122
|
-
var
|
4125
|
+
var No = Object.defineProperty, Po = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t, r) => Po(e, typeof t != "symbol" ? t + "" : t, r);
|
4123
4126
|
/*!
|
4124
4127
|
@versini/auth-provider v8.0.4
|
4125
4128
|
© 2025 gizmette.com
|
@@ -4147,9 +4150,9 @@ function It(e) {
|
|
4147
4150
|
return i;
|
4148
4151
|
}
|
4149
4152
|
function Sr() {
|
4150
|
-
return
|
4153
|
+
return xo.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
|
4151
4154
|
}
|
4152
|
-
const
|
4155
|
+
const xo = {
|
4153
4156
|
stubThis: (e) => e
|
4154
4157
|
};
|
4155
4158
|
function ss(e) {
|
@@ -4181,7 +4184,7 @@ let V = class extends Error {
|
|
4181
4184
|
}), this.name = s ?? n.name, this.code = r;
|
4182
4185
|
}
|
4183
4186
|
};
|
4184
|
-
function
|
4187
|
+
function $o({ error: e, options: t }) {
|
4185
4188
|
const { publicKey: r } = t;
|
4186
4189
|
if (!r)
|
4187
4190
|
throw Error("options was missing required publicKey property");
|
@@ -4267,7 +4270,7 @@ function xo({ error: e, options: t }) {
|
|
4267
4270
|
}
|
4268
4271
|
return e;
|
4269
4272
|
}
|
4270
|
-
class
|
4273
|
+
class Do {
|
4271
4274
|
constructor() {
|
4272
4275
|
Object.defineProperty(this, "controller", {
|
4273
4276
|
enumerable: !0,
|
@@ -4291,12 +4294,12 @@ class $o {
|
|
4291
4294
|
}
|
4292
4295
|
}
|
4293
4296
|
}
|
4294
|
-
const as = new
|
4297
|
+
const as = new Do(), Mo = ["cross-platform", "platform"];
|
4295
4298
|
function os(e) {
|
4296
|
-
if (e && !(
|
4299
|
+
if (e && !(Mo.indexOf(e) < 0))
|
4297
4300
|
return e;
|
4298
4301
|
}
|
4299
|
-
async function
|
4302
|
+
async function Lo(e) {
|
4300
4303
|
!e.optionsJSON && e.challenge && (console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
|
4301
4304
|
const { optionsJSON: t, useAutoRegister: r = !1 } = e;
|
4302
4305
|
if (!Sr())
|
@@ -4315,7 +4318,7 @@ async function Mo(e) {
|
|
4315
4318
|
try {
|
4316
4319
|
i = await navigator.credentials.create(s);
|
4317
4320
|
} catch (m) {
|
4318
|
-
throw
|
4321
|
+
throw $o({ error: m, options: s });
|
4319
4322
|
}
|
4320
4323
|
if (!i)
|
4321
4324
|
throw new Error("Registration was not completed");
|
@@ -4364,7 +4367,7 @@ function jt(e, t) {
|
|
4364
4367
|
console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
4365
4368
|
`, t);
|
4366
4369
|
}
|
4367
|
-
function
|
4370
|
+
function Uo() {
|
4368
4371
|
if (!Sr())
|
4369
4372
|
return Wt.stubThis(new Promise((t) => t(!1)));
|
4370
4373
|
const e = globalThis.PublicKeyCredential;
|
@@ -4373,7 +4376,7 @@ function Lo() {
|
|
4373
4376
|
const Wt = {
|
4374
4377
|
stubThis: (e) => e
|
4375
4378
|
};
|
4376
|
-
function
|
4379
|
+
function Fo({ error: e, options: t }) {
|
4377
4380
|
const { publicKey: r } = t;
|
4378
4381
|
if (!r)
|
4379
4382
|
throw Error("options was missing required publicKey property");
|
@@ -4414,7 +4417,7 @@ function Uo({ error: e, options: t }) {
|
|
4414
4417
|
}
|
4415
4418
|
return e;
|
4416
4419
|
}
|
4417
|
-
async function
|
4420
|
+
async function Ko(e) {
|
4418
4421
|
!e.optionsJSON && e.challenge && (console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
|
4419
4422
|
const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: n = !0 } = e;
|
4420
4423
|
if (!Sr())
|
@@ -4427,7 +4430,7 @@ async function Fo(e) {
|
|
4427
4430
|
allowCredentials: s
|
4428
4431
|
}, o = {};
|
4429
4432
|
if (r) {
|
4430
|
-
if (!await
|
4433
|
+
if (!await Uo())
|
4431
4434
|
throw Error("Browser does not support WebAuthn autofill");
|
4432
4435
|
if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && n)
|
4433
4436
|
throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
|
@@ -4438,7 +4441,7 @@ async function Fo(e) {
|
|
4438
4441
|
try {
|
4439
4442
|
a = await navigator.credentials.get(o);
|
4440
4443
|
} catch (h) {
|
4441
|
-
throw
|
4444
|
+
throw Fo({ error: h, options: o });
|
4442
4445
|
}
|
4443
4446
|
if (!a)
|
4444
4447
|
throw new Error("Authentication was not completed");
|
@@ -4466,18 +4469,18 @@ const Qr = (e, t) => {
|
|
4466
4469
|
typeof t == "function" ? t() : t
|
4467
4470
|
);
|
4468
4471
|
window.localStorage.setItem(e, r), cs(e, r);
|
4469
|
-
},
|
4472
|
+
}, Ho = (e) => {
|
4470
4473
|
window.localStorage.removeItem(e), cs(e, null);
|
4471
|
-
}, Yr = (e) => window.localStorage.getItem(e),
|
4474
|
+
}, Yr = (e) => window.localStorage.getItem(e), Bo = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
|
4472
4475
|
function ot({
|
4473
4476
|
key: e,
|
4474
4477
|
initialValue: t
|
4475
4478
|
}) {
|
4476
|
-
const r =
|
4479
|
+
const r = xs(Bo, () => Yr(e)), n = ue(
|
4477
4480
|
(o) => {
|
4478
4481
|
try {
|
4479
4482
|
const a = typeof o == "function" ? o(JSON.parse(r)) : o;
|
4480
|
-
a == null ?
|
4483
|
+
a == null ? Ho(e) : Qr(e, a);
|
4481
4484
|
} catch (a) {
|
4482
4485
|
console.warn(a);
|
4483
4486
|
}
|
@@ -4499,30 +4502,30 @@ function ot({
|
|
4499
4502
|
const B = [];
|
4500
4503
|
for (let e = 0; e < 256; ++e)
|
4501
4504
|
B.push((e + 256).toString(16).slice(1));
|
4502
|
-
function
|
4505
|
+
function Vo(e, t = 0) {
|
4503
4506
|
return (B[e[t + 0]] + B[e[t + 1]] + B[e[t + 2]] + B[e[t + 3]] + "-" + B[e[t + 4]] + B[e[t + 5]] + "-" + B[e[t + 6]] + B[e[t + 7]] + "-" + B[e[t + 8]] + B[e[t + 9]] + "-" + B[e[t + 10]] + B[e[t + 11]] + B[e[t + 12]] + B[e[t + 13]] + B[e[t + 14]] + B[e[t + 15]]).toLowerCase();
|
4504
4507
|
}
|
4505
4508
|
let Gt;
|
4506
|
-
const
|
4507
|
-
function
|
4509
|
+
const jo = new Uint8Array(16);
|
4510
|
+
function Wo() {
|
4508
4511
|
if (!Gt) {
|
4509
4512
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
4510
4513
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
4511
4514
|
Gt = crypto.getRandomValues.bind(crypto);
|
4512
4515
|
}
|
4513
|
-
return Gt(
|
4516
|
+
return Gt(jo);
|
4514
4517
|
}
|
4515
|
-
const
|
4518
|
+
const Go = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Xr = { randomUUID: Go };
|
4516
4519
|
function qt(e, t, r) {
|
4517
4520
|
if (Xr.randomUUID && !e)
|
4518
4521
|
return Xr.randomUUID();
|
4519
4522
|
e = e || {};
|
4520
|
-
const n = e.random ?? e.rng?.() ??
|
4523
|
+
const n = e.random ?? e.rng?.() ?? Wo();
|
4521
4524
|
if (n.length < 16)
|
4522
4525
|
throw new Error("Random bytes length must be >= 16");
|
4523
|
-
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128,
|
4526
|
+
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Vo(n);
|
4524
4527
|
}
|
4525
|
-
const Oe = "Your session has expired. For your security, please log in again to continue.",
|
4528
|
+
const Oe = "Your session has expired. For your security, please log in again to continue.", qo = "Your session has been successfully terminated.", Jt = "Login failed. Please try again.", Jo = "Error getting access token, please re-authenticate.", zo = "You forgot to wrap your component in <AuthProvider>.", ct = "@@auth@@", Le = "LOADING", yt = "LOGIN", ls = "LOGOUT", Ze = "success", oe = "failure", us = "include", ds = "POST", fs = "application/json", lt = {
|
4526
4529
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
4527
4530
|
$clientId: String!,
|
4528
4531
|
$username: String!,
|
@@ -4677,21 +4680,21 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4677
4680
|
} catch (s) {
|
4678
4681
|
return console.error(s), { status: oe, data: [] };
|
4679
4682
|
}
|
4680
|
-
},
|
4683
|
+
}, Qo = process.env.NODE_ENV === "production", Yo = !Qo, hs = {
|
4681
4684
|
isLoading: !0,
|
4682
4685
|
isAuthenticated: !1,
|
4683
4686
|
user: void 0,
|
4684
4687
|
logoutReason: "",
|
4685
4688
|
debug: !1,
|
4686
4689
|
authenticationType: ""
|
4687
|
-
},
|
4690
|
+
}, Xo = (e) => {
|
4688
4691
|
try {
|
4689
|
-
const t =
|
4692
|
+
const t = So(e);
|
4690
4693
|
return t ? t[j.USER_ID_KEY] : "";
|
4691
4694
|
} catch {
|
4692
4695
|
return "";
|
4693
4696
|
}
|
4694
|
-
},
|
4697
|
+
}, Zo = async ({
|
4695
4698
|
userId: e,
|
4696
4699
|
clientId: t,
|
4697
4700
|
domain: r,
|
@@ -4716,7 +4719,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4716
4719
|
status: oe
|
4717
4720
|
};
|
4718
4721
|
}
|
4719
|
-
},
|
4722
|
+
}, ec = async ({
|
4720
4723
|
username: e,
|
4721
4724
|
password: t,
|
4722
4725
|
clientId: r,
|
@@ -4761,7 +4764,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4761
4764
|
status: !1
|
4762
4765
|
};
|
4763
4766
|
}
|
4764
|
-
},
|
4767
|
+
}, tc = async ({
|
4765
4768
|
nonce: e,
|
4766
4769
|
clientId: t,
|
4767
4770
|
code_challenge: r,
|
@@ -4791,7 +4794,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4791
4794
|
data: ""
|
4792
4795
|
};
|
4793
4796
|
}
|
4794
|
-
},
|
4797
|
+
}, rc = async ({
|
4795
4798
|
clientId: e,
|
4796
4799
|
userId: t,
|
4797
4800
|
nonce: r,
|
@@ -4828,7 +4831,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4828
4831
|
};
|
4829
4832
|
}
|
4830
4833
|
};
|
4831
|
-
class
|
4834
|
+
class nc {
|
4832
4835
|
constructor(t = null, r = null) {
|
4833
4836
|
Vt(this, "refreshTokenPromise", null), Vt(this, "accessToken"), Vt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
|
4834
4837
|
}
|
@@ -4861,7 +4864,7 @@ class rc {
|
|
4861
4864
|
}) {
|
4862
4865
|
const o = await Xe(this.refreshToken);
|
4863
4866
|
if (o && o.payload[j.USER_ID_KEY] !== "") {
|
4864
|
-
const a = await
|
4867
|
+
const a = await rc({
|
4865
4868
|
endpoint: t,
|
4866
4869
|
clientId: r,
|
4867
4870
|
userId: n,
|
@@ -4884,7 +4887,7 @@ class rc {
|
|
4884
4887
|
}
|
4885
4888
|
}
|
4886
4889
|
const Ce = () => {
|
4887
|
-
throw new Error(
|
4890
|
+
throw new Error(zo);
|
4888
4891
|
}, ms = cn({
|
4889
4892
|
isAuthenticated: !1,
|
4890
4893
|
isLoading: !1,
|
@@ -4896,18 +4899,18 @@ const Ce = () => {
|
|
4896
4899
|
loginWithPasskey: Ce,
|
4897
4900
|
logoutReason: "",
|
4898
4901
|
authenticationType: ""
|
4899
|
-
}),
|
4902
|
+
}), sc = () => ({
|
4900
4903
|
...gr(ms)
|
4901
|
-
}),
|
4904
|
+
}), ic = (e) => ue(
|
4902
4905
|
(...t) => {
|
4903
4906
|
e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
|
4904
4907
|
},
|
4905
4908
|
[e]
|
4906
|
-
),
|
4909
|
+
), ac = fe.createContext({
|
4907
4910
|
state: hs,
|
4908
4911
|
dispatch: () => {
|
4909
4912
|
}
|
4910
|
-
}),
|
4913
|
+
}), oc = (e, t) => t?.type === Le ? {
|
4911
4914
|
...e,
|
4912
4915
|
isLoading: t.payload.isLoading
|
4913
4916
|
} : t?.type === yt ? {
|
@@ -4924,8 +4927,8 @@ const Ce = () => {
|
|
4924
4927
|
user: void 0,
|
4925
4928
|
authenticationType: "",
|
4926
4929
|
logoutReason: t.payload.logoutReason
|
4927
|
-
} : e,
|
4928
|
-
const t =
|
4930
|
+
} : e, cc = ({ children: e }) => {
|
4931
|
+
const t = sc();
|
4929
4932
|
return /* @__PURE__ */ y(ns.Provider, { value: t, children: e });
|
4930
4933
|
}, Zr = ({
|
4931
4934
|
children: e,
|
@@ -4933,12 +4936,12 @@ const Ce = () => {
|
|
4933
4936
|
clientId: r,
|
4934
4937
|
domain: n = "",
|
4935
4938
|
debug: s = !1,
|
4936
|
-
endpoint: i =
|
4939
|
+
endpoint: i = Yo ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
|
4937
4940
|
}) => {
|
4938
|
-
const [o, a] = ln(
|
4941
|
+
const [o, a] = ln(oc, {
|
4939
4942
|
...hs,
|
4940
4943
|
debug: s
|
4941
|
-
}), c =
|
4944
|
+
}), c = ic(s), d = W(!1), [u, l, , f] = ot({
|
4942
4945
|
key: `${ct}::${r}::@@user@@`
|
4943
4946
|
}), [h, m, , p] = ot({
|
4944
4947
|
key: `${ct}::${r}::@@access@@`
|
@@ -4948,7 +4951,7 @@ const Ce = () => {
|
|
4948
4951
|
}
|
4949
4952
|
), [S, O, , _] = ot({
|
4950
4953
|
key: `${ct}::${r}::@@nonce@@`
|
4951
|
-
}), q = new
|
4954
|
+
}), q = new nc(h, b), z = ue(() => {
|
4952
4955
|
c("removeLocalStorage: removing local storage"), f(), p(), k(), _();
|
4953
4956
|
}, [
|
4954
4957
|
p,
|
@@ -4972,10 +4975,10 @@ const Ce = () => {
|
|
4972
4975
|
), R = ue(
|
4973
4976
|
async (T) => {
|
4974
4977
|
c("invalidateAndLogout: invalidating and logging out");
|
4975
|
-
const { user: P } = o, A = P?.userId ||
|
4978
|
+
const { user: P } = o, A = P?.userId || Xo(u);
|
4976
4979
|
A || c(
|
4977
4980
|
"invalidateAndLogout: user cannot be identified, logging out without userId"
|
4978
|
-
), await
|
4981
|
+
), await Zo({
|
4979
4982
|
userId: A,
|
4980
4983
|
clientId: r,
|
4981
4984
|
domain: n,
|
@@ -5022,14 +5025,14 @@ const Ce = () => {
|
|
5022
5025
|
a({ type: Le, payload: { isLoading: !0 } }), z();
|
5023
5026
|
const A = qt();
|
5024
5027
|
O(A), c("login: Logging in with password");
|
5025
|
-
const { code_verifier: ye, code_challenge: pe } = await
|
5028
|
+
const { code_verifier: ye, code_challenge: pe } = await Co(), Cr = await tc({
|
5026
5029
|
endpoint: i,
|
5027
5030
|
nonce: A,
|
5028
5031
|
clientId: r,
|
5029
5032
|
code_challenge: pe
|
5030
5033
|
});
|
5031
5034
|
if (Cr.status) {
|
5032
|
-
const Ie = await
|
5035
|
+
const Ie = await ec({
|
5033
5036
|
endpoint: i,
|
5034
5037
|
username: T,
|
5035
5038
|
password: P,
|
@@ -5056,7 +5059,7 @@ const Ce = () => {
|
|
5056
5059
|
}
|
5057
5060
|
return !1;
|
5058
5061
|
}, N = async (T) => {
|
5059
|
-
T?.preventDefault(), await R(
|
5062
|
+
T?.preventDefault(), await R(qo);
|
5060
5063
|
}, E = async () => {
|
5061
5064
|
const { isAuthenticated: T, user: P } = o;
|
5062
5065
|
try {
|
@@ -5085,7 +5088,7 @@ const Ce = () => {
|
|
5085
5088
|
} catch {
|
5086
5089
|
return c(
|
5087
5090
|
"getAccessToken: exception occurred, invalidating and logging out"
|
5088
|
-
), await R(
|
5091
|
+
), await R(Jo), "";
|
5089
5092
|
}
|
5090
5093
|
}, U = () => o.isAuthenticated && u ? u : "", me = async () => {
|
5091
5094
|
const { user: T } = o;
|
@@ -5102,7 +5105,7 @@ const Ce = () => {
|
|
5102
5105
|
});
|
5103
5106
|
if (P.status)
|
5104
5107
|
try {
|
5105
|
-
const A = await
|
5108
|
+
const A = await Lo({
|
5106
5109
|
optionsJSON: P.data
|
5107
5110
|
});
|
5108
5111
|
return P = await _e({
|
@@ -5149,7 +5152,7 @@ const Ce = () => {
|
|
5149
5152
|
});
|
5150
5153
|
if (A.status)
|
5151
5154
|
try {
|
5152
|
-
const ye = await
|
5155
|
+
const ye = await Ko({
|
5153
5156
|
optionsJSON: A.data
|
5154
5157
|
});
|
5155
5158
|
return A = await _e({
|
@@ -5195,7 +5198,7 @@ const Ce = () => {
|
|
5195
5198
|
}
|
5196
5199
|
return !1;
|
5197
5200
|
};
|
5198
|
-
return /* @__PURE__ */ y(
|
5201
|
+
return /* @__PURE__ */ y(ac.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ y(
|
5199
5202
|
ms.Provider,
|
5200
5203
|
{
|
5201
5204
|
value: {
|
@@ -5207,7 +5210,7 @@ const Ce = () => {
|
|
5207
5210
|
registeringForPasskey: me,
|
5208
5211
|
loginWithPasskey: Ae
|
5209
5212
|
},
|
5210
|
-
children: /* @__PURE__ */ y(
|
5213
|
+
children: /* @__PURE__ */ y(cc, { children: e })
|
5211
5214
|
}
|
5212
5215
|
) });
|
5213
5216
|
};
|
@@ -5229,25 +5232,25 @@ const ys = () => {
|
|
5229
5232
|
if (!e)
|
5230
5233
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
5231
5234
|
return e;
|
5232
|
-
},
|
5235
|
+
}, Vu = "I'm having trouble right now. Please try again later.", ju = "action-search", Wu = "action-sort", Gu = "action-toggle-prompt", qu = "action-reset-prompt", ps = "sassy-saint-", Ju = "details", zu = "search", Qu = "sort", Yu = "sort-timestamp", Xu = "sort-token-usage", Zu = "private-disclosure", ed = "reasoning-disclosure", gs = "service-worker", en = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", td = 10, rd = 30, nd = "av-prompt", sd = "av-prompt-editable", id = "size-5 sm:size-4", ad = 30, od = 15, cd = 130, ld = 16, ud = 24, dd = 76;
|
5233
5236
|
let zt = null;
|
5234
5237
|
function Tr() {
|
5235
5238
|
return "serviceWorker" in navigator;
|
5236
5239
|
}
|
5237
|
-
function
|
5240
|
+
function lc() {
|
5238
5241
|
const e = localStorage.getItem(
|
5239
5242
|
ps + gs
|
5240
5243
|
);
|
5241
5244
|
return e === null ? !1 : e === "true";
|
5242
5245
|
}
|
5243
|
-
function
|
5246
|
+
function uc(e) {
|
5244
5247
|
localStorage.setItem(
|
5245
5248
|
ps + gs,
|
5246
5249
|
e.toString()
|
5247
5250
|
);
|
5248
5251
|
}
|
5249
5252
|
async function bs() {
|
5250
|
-
if (!
|
5253
|
+
if (!lc())
|
5251
5254
|
return !1;
|
5252
5255
|
if (!Tr())
|
5253
5256
|
return console.warn("[SW] Service workers not supported"), !1;
|
@@ -5268,7 +5271,7 @@ async function bs() {
|
|
5268
5271
|
return console.error("[SW] Service worker registration failed:", e), !1;
|
5269
5272
|
}
|
5270
5273
|
}
|
5271
|
-
async function
|
5274
|
+
async function dc() {
|
5272
5275
|
if (!Tr())
|
5273
5276
|
return !1;
|
5274
5277
|
try {
|
@@ -5278,19 +5281,19 @@ async function uc() {
|
|
5278
5281
|
return console.error("[SW] Service worker un-registration failed:", e), !1;
|
5279
5282
|
}
|
5280
5283
|
}
|
5281
|
-
async function
|
5282
|
-
if (
|
5284
|
+
async function fd(e) {
|
5285
|
+
if (uc(e), e)
|
5283
5286
|
await bs();
|
5284
5287
|
else {
|
5285
5288
|
try {
|
5286
|
-
Tr() && await
|
5289
|
+
Tr() && await fc();
|
5287
5290
|
} catch (t) {
|
5288
5291
|
console.warn("[SW] Failed to invalidate cache:", t);
|
5289
5292
|
}
|
5290
|
-
await
|
5293
|
+
await dc(), window.location.reload();
|
5291
5294
|
}
|
5292
5295
|
}
|
5293
|
-
async function
|
5296
|
+
async function fc() {
|
5294
5297
|
try {
|
5295
5298
|
if ("caches" in window) {
|
5296
5299
|
const e = await caches.keys();
|
@@ -5314,7 +5317,7 @@ async function dc() {
|
|
5314
5317
|
}
|
5315
5318
|
}
|
5316
5319
|
const tn = (e) => Number.isFinite(e) ? e : 0;
|
5317
|
-
function
|
5320
|
+
function hc(e) {
|
5318
5321
|
return {
|
5319
5322
|
days: Math.trunc(e / 864e5),
|
5320
5323
|
hours: Math.trunc(e / 36e5 % 24),
|
@@ -5325,7 +5328,7 @@ function fc(e) {
|
|
5325
5328
|
nanoseconds: Math.trunc(tn(e * 1e6) % 1e3)
|
5326
5329
|
};
|
5327
5330
|
}
|
5328
|
-
function
|
5331
|
+
function mc(e) {
|
5329
5332
|
return {
|
5330
5333
|
days: e / 86400000n,
|
5331
5334
|
hours: e / 3600000n % 24n,
|
@@ -5336,20 +5339,20 @@ function hc(e) {
|
|
5336
5339
|
nanoseconds: 0n
|
5337
5340
|
};
|
5338
5341
|
}
|
5339
|
-
function
|
5342
|
+
function yc(e) {
|
5340
5343
|
switch (typeof e) {
|
5341
5344
|
case "number": {
|
5342
5345
|
if (Number.isFinite(e))
|
5343
|
-
return
|
5346
|
+
return hc(e);
|
5344
5347
|
break;
|
5345
5348
|
}
|
5346
5349
|
case "bigint":
|
5347
|
-
return
|
5350
|
+
return mc(e);
|
5348
5351
|
}
|
5349
5352
|
throw new TypeError("Expected a finite number or bigint");
|
5350
5353
|
}
|
5351
|
-
const
|
5352
|
-
function
|
5354
|
+
const pc = (e) => e === 0 || e === 0n, gc = (e, t) => t === 1 || t === 1n ? e : `${e}s`, bc = 1e-7, wc = 24n * 60n * 60n * 1000n;
|
5355
|
+
function vc(e, t) {
|
5353
5356
|
const r = typeof e == "bigint";
|
5354
5357
|
if (!r && !Number.isFinite(e))
|
5355
5358
|
throw new TypeError("Expected a finite number or bigint");
|
@@ -5358,18 +5361,18 @@ function wc(e, t) {
|
|
5358
5361
|
e = e < 0 ? -e : e, t.colonNotation && (t.compact = !1, t.formatSubMilliseconds = !1, t.separateMilliseconds = !1, t.verbose = !1), t.compact && (t.unitCount = 1, t.secondsDecimalDigits = 0, t.millisecondsDecimalDigits = 0);
|
5359
5362
|
let s = [];
|
5360
5363
|
const i = (u, l) => {
|
5361
|
-
const f = Math.floor(u * 10 ** l +
|
5364
|
+
const f = Math.floor(u * 10 ** l + bc);
|
5362
5365
|
return (Math.round(f) / 10 ** l).toFixed(l);
|
5363
5366
|
}, o = (u, l, f, h) => {
|
5364
|
-
if (!((s.length === 0 || !t.colonNotation) &&
|
5367
|
+
if (!((s.length === 0 || !t.colonNotation) && pc(u) && !(t.colonNotation && f === "m"))) {
|
5365
5368
|
if (h ??= String(u), t.colonNotation) {
|
5366
5369
|
const m = h.includes(".") ? h.split(".")[0].length : h.length, p = s.length > 0 ? 2 : 1;
|
5367
5370
|
h = "0".repeat(Math.max(0, p - m)) + h;
|
5368
5371
|
} else
|
5369
|
-
h += t.verbose ? " " +
|
5372
|
+
h += t.verbose ? " " + gc(l, u) : f;
|
5370
5373
|
s.push(h);
|
5371
5374
|
}
|
5372
|
-
}, a =
|
5375
|
+
}, a = yc(e), c = BigInt(a.days);
|
5373
5376
|
if (t.hideYearAndDays ? o(BigInt(c) * 24n + BigInt(a.hours), "hour", "h") : (t.hideYear ? o(c, "day", "d") : (o(c / 365n, "year", "y"), o(c % 365n, "day", "d")), o(Number(a.hours), "hour", "h")), o(Number(a.minutes), "minute", "m"), !t.hideSeconds)
|
5374
5377
|
if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
|
5375
5378
|
const u = Number(a.seconds), l = Number(a.milliseconds), f = Number(a.microseconds), h = Number(a.nanoseconds);
|
@@ -5385,7 +5388,7 @@ function wc(e, t) {
|
|
5385
5388
|
);
|
5386
5389
|
}
|
5387
5390
|
} else {
|
5388
|
-
const u = (r ? Number(e %
|
5391
|
+
const u = (r ? Number(e % wc) : e) / 1e3 % 60, l = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, f = i(u, l), h = t.keepDecimalsOnWholeSeconds ? f : f.replace(/\.0+$/, "");
|
5389
5392
|
o(Number.parseFloat(h), "second", "s", h);
|
5390
5393
|
}
|
5391
5394
|
if (s.length === 0)
|
@@ -5401,17 +5404,17 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
|
|
5401
5404
|
min: s,
|
5402
5405
|
sec: i
|
5403
5406
|
};
|
5404
|
-
},
|
5407
|
+
}, Ec = (e) => {
|
5405
5408
|
if (!e && e !== 0)
|
5406
5409
|
return "N/A";
|
5407
5410
|
const t = Ir(e, !1);
|
5408
5411
|
return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
|
5409
|
-
},
|
5412
|
+
}, Sc = (e) => {
|
5410
5413
|
if (!e && e !== 0)
|
5411
5414
|
return "N/A";
|
5412
5415
|
const t = Ir(e, !0);
|
5413
5416
|
return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
|
5414
|
-
},
|
5417
|
+
}, Tc = async () => {
|
5415
5418
|
const e = {
|
5416
5419
|
/**
|
5417
5420
|
* A boolean value that indicates the application would
|
@@ -5459,18 +5462,18 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
|
|
5459
5462
|
e
|
5460
5463
|
);
|
5461
5464
|
});
|
5462
|
-
},
|
5465
|
+
}, Ac = (e) => window.btoa(
|
5463
5466
|
encodeURIComponent(e).replace(
|
5464
5467
|
/%([0-9A-F]{2})/g,
|
5465
5468
|
function(r, n) {
|
5466
5469
|
return String.fromCharCode(+`0x${n}`);
|
5467
5470
|
}
|
5468
5471
|
)
|
5469
|
-
),
|
5472
|
+
), Ic = (e) => decodeURIComponent(
|
5470
5473
|
window.atob(e).split("").map(function(t) {
|
5471
5474
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
5472
5475
|
}).join("")
|
5473
|
-
),
|
5476
|
+
), kc = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ X("div", { className: "flex items-center justify-between", children: [
|
5474
5477
|
/* @__PURE__ */ y(
|
5475
5478
|
"dt",
|
5476
5479
|
{
|
@@ -5492,7 +5495,7 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
|
|
5492
5495
|
}
|
5493
5496
|
)
|
5494
5497
|
] }) }, `${e}-${n}`)) : null;
|
5495
|
-
function
|
5498
|
+
function Oc({
|
5496
5499
|
data: e,
|
5497
5500
|
formatter: t = (r) => r
|
5498
5501
|
}) {
|
@@ -5504,12 +5507,12 @@ function kc({
|
|
5504
5507
|
);
|
5505
5508
|
return t(n ? n / r.length : 0);
|
5506
5509
|
}
|
5507
|
-
const
|
5510
|
+
const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, _c = new Intl.NumberFormat("en", {
|
5508
5511
|
style: "decimal",
|
5509
5512
|
signDisplay: "never",
|
5510
5513
|
minimumFractionDigits: 0,
|
5511
5514
|
maximumFractionDigits: 0
|
5512
|
-
}),
|
5515
|
+
}), Cc = (e) => e > 0 ? vc(e, {
|
5513
5516
|
secondsDecimalDigits: 2,
|
5514
5517
|
unitCount: 2
|
5515
5518
|
}) : "N/A", Es = ({
|
@@ -5523,18 +5526,18 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5523
5526
|
t
|
5524
5527
|
), Ss = ({
|
5525
5528
|
extraClass: e
|
5526
|
-
} = {}) => g("px-2 sm:px-0", e),
|
5529
|
+
} = {}) => g("px-2 sm:px-0", e), Nc = (e, t) => t === 1 ? e : `${e}s`, Pc = (e, t) => {
|
5527
5530
|
let r;
|
5528
5531
|
return (...n) => {
|
5529
5532
|
window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
|
5530
5533
|
};
|
5531
|
-
}, Ts = () => !!window?.__VERSINI_CALLISTO_TAURI__, As = () => window.innerWidth < 403,
|
5534
|
+
}, Ts = () => !!window?.__VERSINI_CALLISTO_TAURI__, As = () => window.innerWidth < 403, xc = () => {
|
5532
5535
|
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = As(), n = navigator.maxTouchPoints > 1;
|
5533
5536
|
return e && t && r && n;
|
5534
|
-
},
|
5537
|
+
}, $c = (e) => {
|
5535
5538
|
const t = e.replace(/([A-Z])/g, " $1");
|
5536
5539
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
5537
|
-
},
|
5540
|
+
}, Dc = ({
|
5538
5541
|
autoClose: e = 3e3,
|
5539
5542
|
containerId: t,
|
5540
5543
|
position: r = "top-center",
|
@@ -5558,7 +5561,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5558
5561
|
theme: c,
|
5559
5562
|
transition: d,
|
5560
5563
|
icon: u
|
5561
|
-
}),
|
5564
|
+
}), hd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: vs, convertCamelCaseToReadable: $c, convertDDToDMS: Ir, convertLatitudeToDMS: Ec, convertLongitudeToDMS: Sc, debounce: Pc, durationFormatter: Cc, extractAverage: Oc, getCurrentGeoLocation: Tc, getMainPaddingClass: Ss, getMessageContaintWrapperClass: Es, isDev: Ar, isLastMessageFromRole: Rc, isProbablyMobile: As, isProbablyiPhone: xc, isProd: ws, isTauri: Ts, numberFormatter: _c, obfuscate: Ac, pluralize: Nc, renderDataAsList: kc, toastOptions: Dc, unObfuscate: Ic }, Symbol.toStringTag, { value: "Module" })), rn = "av-button", Mt = "icon", kr = "button", mr = "link", Mc = ({
|
5562
5565
|
type: e,
|
5563
5566
|
size: t,
|
5564
5567
|
labelRight: r,
|
@@ -5594,7 +5597,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5594
5597
|
"h-12": t === "large" && i && (r || n)
|
5595
5598
|
});
|
5596
5599
|
}
|
5597
|
-
},
|
5600
|
+
}, Lc = ({
|
5598
5601
|
type: e,
|
5599
5602
|
size: t,
|
5600
5603
|
labelRight: r,
|
@@ -5617,7 +5620,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5617
5620
|
[o]: t === "large" && (r || n)
|
5618
5621
|
});
|
5619
5622
|
}
|
5620
|
-
},
|
5623
|
+
}, Uc = ({
|
5621
5624
|
mode: e,
|
5622
5625
|
noBackground: t,
|
5623
5626
|
truncate: r,
|
@@ -5653,7 +5656,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5653
5656
|
return g("not-prose text-copy-lighter", {
|
5654
5657
|
truncate: r
|
5655
5658
|
});
|
5656
|
-
},
|
5659
|
+
}, Fc = ({
|
5657
5660
|
mode: e,
|
5658
5661
|
noBackground: t,
|
5659
5662
|
variant: r
|
@@ -5683,13 +5686,13 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5683
5686
|
if (r === "selected")
|
5684
5687
|
return "bg-action-selected-dark";
|
5685
5688
|
}
|
5686
|
-
},
|
5689
|
+
}, Kc = ({
|
5687
5690
|
radius: e
|
5688
5691
|
}) => g({
|
5689
5692
|
"rounded-full": e === "large",
|
5690
5693
|
"rounded-md": e === "medium",
|
5691
5694
|
"rounded-xs": e === "small"
|
5692
|
-
}),
|
5695
|
+
}), Hc = ({
|
5693
5696
|
mode: e,
|
5694
5697
|
disabled: t,
|
5695
5698
|
variant: r
|
@@ -5727,7 +5730,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5727
5730
|
});
|
5728
5731
|
if (r === "selected")
|
5729
5732
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
5730
|
-
},
|
5733
|
+
}, Bc = ({
|
5731
5734
|
mode: e,
|
5732
5735
|
disabled: t,
|
5733
5736
|
variant: r
|
@@ -5765,7 +5768,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5765
5768
|
});
|
5766
5769
|
if (r === "selected")
|
5767
5770
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
5768
|
-
},
|
5771
|
+
}, Vc = ({
|
5769
5772
|
mode: e,
|
5770
5773
|
noBorder: t,
|
5771
5774
|
variant: r
|
@@ -5795,14 +5798,14 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5795
5798
|
});
|
5796
5799
|
if (r === "selected")
|
5797
5800
|
return "border border-border-selected-dark";
|
5798
|
-
},
|
5801
|
+
}, jc = ({
|
5799
5802
|
focusMode: e
|
5800
5803
|
}) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
5801
5804
|
"focus:outline-focus-dark": e === "dark",
|
5802
5805
|
"focus:outline-focus-light": e === "light",
|
5803
5806
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
5804
5807
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
5805
|
-
}),
|
5808
|
+
}), Wc = ({
|
5806
5809
|
mode: e,
|
5807
5810
|
raw: t,
|
5808
5811
|
iconClassName: r,
|
@@ -5829,7 +5832,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5829
5832
|
} : n === "selected" && (s = {
|
5830
5833
|
"text-copy-lighter": !0
|
5831
5834
|
}), g(s, r);
|
5832
|
-
},
|
5835
|
+
}, Gc = ({
|
5833
5836
|
animated: e
|
5834
5837
|
}) => g({
|
5835
5838
|
"transition-opacity duration-300 ease-in-out": e
|
@@ -5853,15 +5856,15 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5853
5856
|
animated: b
|
5854
5857
|
}) => (f || (f = "primary"), r ? g(rn, t) : g(
|
5855
5858
|
rn,
|
5856
|
-
|
5859
|
+
Uc({
|
5857
5860
|
mode: n,
|
5858
5861
|
variant: f,
|
5859
5862
|
noBackground: l,
|
5860
5863
|
truncate: h
|
5861
5864
|
}),
|
5862
|
-
|
5863
|
-
|
5864
|
-
|
5865
|
+
Fc({ mode: n, noBackground: l, variant: f }),
|
5866
|
+
Kc({ radius: p }),
|
5867
|
+
Mc({
|
5865
5868
|
type: e,
|
5866
5869
|
size: a,
|
5867
5870
|
labelRight: d,
|
@@ -5869,11 +5872,11 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5869
5872
|
align: m,
|
5870
5873
|
animated: b
|
5871
5874
|
}),
|
5872
|
-
|
5873
|
-
|
5874
|
-
|
5875
|
-
Kc({ mode: n, variant: f, disabled: i }),
|
5875
|
+
Lc({ type: e, size: a, labelRight: d, labelLeft: u }),
|
5876
|
+
Vc({ mode: n, variant: f, noBorder: c }),
|
5877
|
+
jc({ focusMode: s }),
|
5876
5878
|
Hc({ mode: n, variant: f, disabled: i }),
|
5879
|
+
Bc({ mode: n, variant: f, disabled: i }),
|
5877
5880
|
{
|
5878
5881
|
"w-full": o,
|
5879
5882
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
@@ -5882,7 +5885,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5882
5885
|
"transition-[width] duration-300 ease-in": e === Mt && b
|
5883
5886
|
}),
|
5884
5887
|
t
|
5885
|
-
)),
|
5888
|
+
)), qc = (e, t, r) => {
|
5886
5889
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
5887
5890
|
}, Or = fe.forwardRef((e, t) => {
|
5888
5891
|
const { onClick: r, noInternalClick: n = !1, ...s } = e;
|
@@ -5891,7 +5894,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5891
5894
|
{
|
5892
5895
|
ref: t,
|
5893
5896
|
onClick: (i) => {
|
5894
|
-
|
5897
|
+
qc(i, n, r);
|
5895
5898
|
},
|
5896
5899
|
...s
|
5897
5900
|
}
|
@@ -5941,13 +5944,13 @@ const ks = fe.forwardRef(
|
|
5941
5944
|
}
|
5942
5945
|
);
|
5943
5946
|
ks.displayName = "Button";
|
5944
|
-
function
|
5947
|
+
function Jc() {
|
5945
5948
|
const e = W(!1);
|
5946
5949
|
return Z(() => (e.current = !0, () => {
|
5947
5950
|
e.current = !1;
|
5948
5951
|
}), []), ue(() => e.current, []);
|
5949
5952
|
}
|
5950
|
-
function
|
5953
|
+
function zc(e) {
|
5951
5954
|
return Rt(() => e.every((t) => t == null) ? () => {
|
5952
5955
|
} : (t) => {
|
5953
5956
|
e.forEach((r) => {
|
@@ -5955,7 +5958,7 @@ function Jc(e) {
|
|
5955
5958
|
});
|
5956
5959
|
}, [...e]);
|
5957
5960
|
}
|
5958
|
-
const
|
5961
|
+
const Qc = {
|
5959
5962
|
x: 0,
|
5960
5963
|
y: 0,
|
5961
5964
|
width: 0,
|
@@ -5966,7 +5969,7 @@ const zc = {
|
|
5966
5969
|
right: 0
|
5967
5970
|
};
|
5968
5971
|
function Qt(e) {
|
5969
|
-
const t =
|
5972
|
+
const t = Jc(), r = W(0), n = W(null), [s, i] = le(Qc), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
|
5970
5973
|
const c = a[0];
|
5971
5974
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
5972
5975
|
n.current && t() && i(c.contentRect);
|
@@ -5983,14 +5986,14 @@ const ut = {
|
|
5983
5986
|
// w-8
|
5984
5987
|
large: 48
|
5985
5988
|
// w-12
|
5986
|
-
},
|
5989
|
+
}, Yc = {
|
5987
5990
|
small: 16,
|
5988
5991
|
// px-2 x 2
|
5989
5992
|
medium: 24,
|
5990
5993
|
// px-3 x 2
|
5991
5994
|
large: 32
|
5992
5995
|
// px-4 x 2
|
5993
|
-
},
|
5996
|
+
}, Xc = 2, Zc = 300, kt = fe.forwardRef(
|
5994
5997
|
({
|
5995
5998
|
children: e,
|
5996
5999
|
disabled: t = !1,
|
@@ -6031,15 +6034,15 @@ const ut = {
|
|
6031
6034
|
radius: b,
|
6032
6035
|
variant: w,
|
6033
6036
|
animated: S
|
6034
|
-
}), z =
|
6037
|
+
}), z = Wc({ mode: r, raw: a, iconClassName: k, variant: w }), L = Gc({ animated: S }), R = "flex items-center justify-center relative w-full h-full overflow-hidden", [v, N] = Qt(), [E, U] = Qt(), [me, Ae] = Qt(), T = W(0), P = W(null), A = W(null), ye = zc([_, P]);
|
6035
6038
|
return gt(() => {
|
6036
|
-
me && me.current && S && (T.current = Ae.width +
|
6039
|
+
me && me.current && S && (T.current = Ae.width + Yc[l] + (c ? 0 : Xc), P.current && !P.current.style.width && (P.current.style.width = `${ut[l]}px`));
|
6037
6040
|
}, [Ae, me, l, c, S]), gt(() => {
|
6038
6041
|
if (P && P.current && S) {
|
6039
6042
|
let pe = ut[l];
|
6040
6043
|
f && v && N.width > 0 ? pe = N.width + T.current : h && E && U.width > 0 && (pe = U.width + T.current), A.current && clearTimeout(A.current), pe !== parseInt(P.current.style.width || "0", 10) && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"), P.current.style.width = `${pe}px`, pe > ut[l] && (A.current = setTimeout(() => {
|
6041
6044
|
v.current && f && (v.current.style.opacity = "1"), E.current && h && (E.current.style.opacity = "1"), A.current = null;
|
6042
|
-
},
|
6045
|
+
}, Zc * 0.8))), pe === ut[l] && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"));
|
6043
6046
|
}
|
6044
6047
|
}, [
|
6045
6048
|
N,
|
@@ -6116,7 +6119,7 @@ try {
|
|
6116
6119
|
});
|
6117
6120
|
} catch {
|
6118
6121
|
}
|
6119
|
-
const
|
6122
|
+
const el = fe.forwardRef(
|
6120
6123
|
({
|
6121
6124
|
children: e,
|
6122
6125
|
mode: t = "system",
|
@@ -6156,13 +6159,13 @@ const Zc = fe.forwardRef(
|
|
6156
6159
|
) });
|
6157
6160
|
}
|
6158
6161
|
);
|
6159
|
-
|
6162
|
+
el.displayName = "ButtonSort";
|
6160
6163
|
const pt = "av-card";
|
6161
|
-
function
|
6164
|
+
function tl(e) {
|
6162
6165
|
const t = un();
|
6163
6166
|
return `${e}${t}`;
|
6164
6167
|
}
|
6165
|
-
const
|
6168
|
+
const rl = ({
|
6166
6169
|
className: e,
|
6167
6170
|
headerClassName: t,
|
6168
6171
|
bodyClassName: r,
|
@@ -6202,7 +6205,7 @@ const tl = ({
|
|
6202
6205
|
footer: u
|
6203
6206
|
};
|
6204
6207
|
};
|
6205
|
-
function
|
6208
|
+
function nl({
|
6206
6209
|
id: e,
|
6207
6210
|
content: t,
|
6208
6211
|
userAriaLabelledby: r,
|
@@ -6210,7 +6213,7 @@ function rl({
|
|
6210
6213
|
}) {
|
6211
6214
|
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;
|
6212
6215
|
}
|
6213
|
-
const
|
6216
|
+
const sl = ({
|
6214
6217
|
header: e,
|
6215
6218
|
headerClassName: t,
|
6216
6219
|
footer: r,
|
@@ -6225,7 +6228,7 @@ const nl = ({
|
|
6225
6228
|
...l
|
6226
6229
|
}) => {
|
6227
6230
|
let f = null, h = null;
|
6228
|
-
const m = typeof e == "string", p =
|
6231
|
+
const m = typeof e == "string", p = tl(pt), b = rl({
|
6229
6232
|
className: i,
|
6230
6233
|
headerClassName: t,
|
6231
6234
|
bodyClassName: o,
|
@@ -6244,7 +6247,7 @@ const nl = ({
|
|
6244
6247
|
...l,
|
6245
6248
|
children: [
|
6246
6249
|
/* @__PURE__ */ y(
|
6247
|
-
|
6250
|
+
nl,
|
6248
6251
|
{
|
6249
6252
|
...f && { id: f },
|
6250
6253
|
content: e,
|
@@ -6314,7 +6317,7 @@ try {
|
|
6314
6317
|
});
|
6315
6318
|
} catch {
|
6316
6319
|
}
|
6317
|
-
const
|
6320
|
+
const il = ({
|
6318
6321
|
className: e,
|
6319
6322
|
viewBox: t,
|
6320
6323
|
title: r,
|
@@ -6331,7 +6334,7 @@ const sl = ({
|
|
6331
6334
|
...s,
|
6332
6335
|
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" })
|
6333
6336
|
}
|
6334
|
-
),
|
6337
|
+
), al = ({
|
6335
6338
|
className: e,
|
6336
6339
|
viewBox: t,
|
6337
6340
|
title: r,
|
@@ -6357,7 +6360,7 @@ const sl = ({
|
|
6357
6360
|
/* @__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" })
|
6358
6361
|
]
|
6359
6362
|
}
|
6360
|
-
),
|
6363
|
+
), ol = ({
|
6361
6364
|
className: e,
|
6362
6365
|
viewBox: t,
|
6363
6366
|
title: r,
|
@@ -6393,7 +6396,7 @@ const sl = ({
|
|
6393
6396
|
]
|
6394
6397
|
}
|
6395
6398
|
);
|
6396
|
-
},
|
6399
|
+
}, cl = ({
|
6397
6400
|
className: e,
|
6398
6401
|
viewBox: t,
|
6399
6402
|
title: r,
|
@@ -6433,7 +6436,7 @@ try {
|
|
6433
6436
|
});
|
6434
6437
|
} catch {
|
6435
6438
|
}
|
6436
|
-
const
|
6439
|
+
const ll = "av-main", ul = ({
|
6437
6440
|
children: e,
|
6438
6441
|
className: t,
|
6439
6442
|
raw: r = !1,
|
@@ -6442,7 +6445,7 @@ const cl = "av-main", ll = ({
|
|
6442
6445
|
...i
|
6443
6446
|
}) => {
|
6444
6447
|
const o = g(
|
6445
|
-
|
6448
|
+
ll,
|
6446
6449
|
{
|
6447
6450
|
"mt-2 sm:mt-3": !r && !n,
|
6448
6451
|
"p-2": !r && !s,
|
@@ -6465,10 +6468,10 @@ try {
|
|
6465
6468
|
});
|
6466
6469
|
} catch {
|
6467
6470
|
}
|
6468
|
-
const
|
6471
|
+
const dl = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createContext({
|
6469
6472
|
columnGap: 0,
|
6470
6473
|
rowGap: 0
|
6471
|
-
}),
|
6474
|
+
}), fl = ({
|
6472
6475
|
children: e,
|
6473
6476
|
className: t,
|
6474
6477
|
columnGap: r = 1,
|
@@ -6494,7 +6497,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
|
|
6494
6497
|
marginLeft: r * -1 * Ot + "rem",
|
6495
6498
|
marginTop: n * -1 * Ot + "rem"
|
6496
6499
|
}, l = g(
|
6497
|
-
|
6500
|
+
dl,
|
6498
6501
|
"box-border flex flex-wrap"
|
6499
6502
|
), f = { columnGap: r, rowGap: n };
|
6500
6503
|
return t ? /* @__PURE__ */ y("div", { className: t, children: /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(yr.Provider, { value: f, children: e }) }) }) : /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(yr.Provider, { value: f, children: e }) });
|
@@ -6571,7 +6574,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
|
|
6571
6574
|
"lg:basis-full": e === 12 && t === "lg",
|
6572
6575
|
"xl:basis-full": e === 12 && t === "xl",
|
6573
6576
|
"2xl:basis-full": e === 12 && t === "2xl"
|
6574
|
-
}),
|
6577
|
+
}), hl = ({
|
6575
6578
|
className: e,
|
6576
6579
|
span: t
|
6577
6580
|
}) => {
|
@@ -6603,7 +6606,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
|
|
6603
6606
|
const { columnGap: s, rowGap: i } = gr(yr), o = {
|
6604
6607
|
paddingLeft: s * Ot + "rem",
|
6605
6608
|
paddingTop: i * Ot + "rem"
|
6606
|
-
}, a =
|
6609
|
+
}, a = hl({
|
6607
6610
|
className: t,
|
6608
6611
|
span: r
|
6609
6612
|
});
|
@@ -6622,14 +6625,14 @@ try {
|
|
6622
6625
|
});
|
6623
6626
|
} catch {
|
6624
6627
|
}
|
6625
|
-
const Os = "av-text-input",
|
6626
|
-
function
|
6628
|
+
const Os = "av-text-input", ml = "av-text-input-wrapper", Xt = "av-text-input-helper-text";
|
6629
|
+
function yl() {
|
6627
6630
|
const e = W(!1);
|
6628
6631
|
return Z(() => (e.current = !0, () => {
|
6629
6632
|
e.current = !1;
|
6630
6633
|
}), []), ue(() => e.current, []);
|
6631
6634
|
}
|
6632
|
-
const
|
6635
|
+
const pl = {
|
6633
6636
|
x: 0,
|
6634
6637
|
y: 0,
|
6635
6638
|
width: 0,
|
@@ -6639,8 +6642,8 @@ const yl = {
|
|
6639
6642
|
bottom: 0,
|
6640
6643
|
right: 0
|
6641
6644
|
};
|
6642
|
-
function
|
6643
|
-
const t =
|
6645
|
+
function gl(e) {
|
6646
|
+
const t = yl(), r = W(0), n = W(null), [s, i] = le(pl), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
|
6644
6647
|
const c = a[0];
|
6645
6648
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
6646
6649
|
n.current && t() && i(c.contentRect);
|
@@ -6650,7 +6653,7 @@ function pl(e) {
|
|
6650
6653
|
o?.disconnect(), r.current && cancelAnimationFrame(r.current);
|
6651
6654
|
}), [o, e]), [n, s];
|
6652
6655
|
}
|
6653
|
-
function
|
6656
|
+
function bl(e) {
|
6654
6657
|
const t = un();
|
6655
6658
|
if (!e)
|
6656
6659
|
return t;
|
@@ -6661,7 +6664,7 @@ function gl(e) {
|
|
6661
6664
|
return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
|
6662
6665
|
}
|
6663
6666
|
}
|
6664
|
-
const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT",
|
6667
|
+
const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", wl = {
|
6665
6668
|
alert: null,
|
6666
6669
|
alertdialog: null,
|
6667
6670
|
log: "polite",
|
@@ -6669,7 +6672,7 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
|
|
6669
6672
|
progressbar: null,
|
6670
6673
|
status: "polite",
|
6671
6674
|
timer: "assertive"
|
6672
|
-
},
|
6675
|
+
}, vl = (e, t) => {
|
6673
6676
|
switch (t?.type) {
|
6674
6677
|
case Rs:
|
6675
6678
|
return {
|
@@ -6684,7 +6687,7 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
|
|
6684
6687
|
default:
|
6685
6688
|
return e;
|
6686
6689
|
}
|
6687
|
-
},
|
6690
|
+
}, El = ({
|
6688
6691
|
onAnnouncementClear: e,
|
6689
6692
|
dispatch: t
|
6690
6693
|
}) => {
|
@@ -6702,13 +6705,13 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
|
|
6702
6705
|
type: Rs,
|
6703
6706
|
payload: e
|
6704
6707
|
}), t && (r.current = setTimeout(
|
6705
|
-
() =>
|
6708
|
+
() => El({
|
6706
6709
|
onAnnouncementClear: n,
|
6707
6710
|
dispatch: s
|
6708
6711
|
}),
|
6709
6712
|
t
|
6710
6713
|
));
|
6711
|
-
},
|
6714
|
+
}, Sl = ({
|
6712
6715
|
children: e,
|
6713
6716
|
announcementTimeoutRef: t,
|
6714
6717
|
announcementDelay: r,
|
@@ -6742,12 +6745,12 @@ function Cs({
|
|
6742
6745
|
visible: a,
|
6743
6746
|
...c
|
6744
6747
|
}) {
|
6745
|
-
const d = W(null), u = W(null), [l, f] = ln(
|
6748
|
+
const d = W(null), u = W(null), [l, f] = ln(vl, {
|
6746
6749
|
announcement: null
|
6747
6750
|
});
|
6748
6751
|
let h = r;
|
6749
|
-
typeof h > "u" && (h = n ?
|
6750
|
-
|
6752
|
+
typeof h > "u" && (h = n ? wl[n] : "assertive"), Z(() => {
|
6753
|
+
Sl({
|
6751
6754
|
announcementTimeoutRef: d,
|
6752
6755
|
announcementDelay: s,
|
6753
6756
|
children: e,
|
@@ -6789,21 +6792,21 @@ try {
|
|
6789
6792
|
});
|
6790
6793
|
} catch {
|
6791
6794
|
}
|
6792
|
-
const
|
6795
|
+
const Tl = ({
|
6793
6796
|
mode: e
|
6794
6797
|
}) => g({
|
6795
6798
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
6796
6799
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
6797
6800
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
6798
6801
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
6799
|
-
}),
|
6802
|
+
}), Al = ({
|
6800
6803
|
focusMode: e
|
6801
6804
|
}) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
|
6802
6805
|
"focus:outline-focus-dark": e === "dark",
|
6803
6806
|
"focus:outline-focus-light": e === "light",
|
6804
6807
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
6805
6808
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
6806
|
-
}),
|
6809
|
+
}), Il = ({
|
6807
6810
|
noBorder: e,
|
6808
6811
|
error: t
|
6809
6812
|
}) => g("border-2", {
|
@@ -6811,7 +6814,7 @@ const Sl = ({
|
|
6811
6814
|
"focus:border-border-dark": !e && t,
|
6812
6815
|
"border-border-error-dark": !e && t,
|
6813
6816
|
"border-transparent": e
|
6814
|
-
}),
|
6817
|
+
}), kl = ({
|
6815
6818
|
disabled: e,
|
6816
6819
|
raw: t,
|
6817
6820
|
error: r,
|
@@ -6835,7 +6838,7 @@ const Sl = ({
|
|
6835
6838
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
|
6836
6839
|
"text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
|
6837
6840
|
});
|
6838
|
-
},
|
6841
|
+
}, Ol = ({
|
6839
6842
|
error: e,
|
6840
6843
|
raw: t,
|
6841
6844
|
mode: r,
|
@@ -6862,7 +6865,7 @@ const Sl = ({
|
|
6862
6865
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
6863
6866
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
|
6864
6867
|
});
|
6865
|
-
},
|
6868
|
+
}, Rl = ({
|
6866
6869
|
className: e,
|
6867
6870
|
inputClassName: t,
|
6868
6871
|
raw: r,
|
@@ -6876,7 +6879,7 @@ const Sl = ({
|
|
6876
6879
|
}) => {
|
6877
6880
|
const u = r ? e : g(
|
6878
6881
|
"relative flex w-full flex-col justify-center",
|
6879
|
-
|
6882
|
+
ml,
|
6880
6883
|
e
|
6881
6884
|
);
|
6882
6885
|
let l = "";
|
@@ -6901,19 +6904,19 @@ const Sl = ({
|
|
6901
6904
|
Os,
|
6902
6905
|
l,
|
6903
6906
|
"rounded-md text-base px-4",
|
6904
|
-
|
6905
|
-
|
6906
|
-
|
6907
|
+
Tl({ mode: o }),
|
6908
|
+
Al({ focusMode: a }),
|
6909
|
+
Il({ noBorder: s, error: i }),
|
6907
6910
|
{
|
6908
6911
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
6909
6912
|
},
|
6910
6913
|
t
|
6911
|
-
), h = r ? void 0 : "sr-only", m =
|
6914
|
+
), h = r ? void 0 : "sr-only", m = kl({
|
6912
6915
|
disabled: n,
|
6913
6916
|
raw: r,
|
6914
6917
|
error: i,
|
6915
6918
|
mode: o
|
6916
|
-
}), p =
|
6919
|
+
}), p = Ol({
|
6917
6920
|
error: i,
|
6918
6921
|
raw: r,
|
6919
6922
|
mode: o,
|
@@ -6949,13 +6952,13 @@ const Sl = ({
|
|
6949
6952
|
size: w = "md",
|
6950
6953
|
...k
|
6951
6954
|
}, S) => {
|
6952
|
-
const [O, _] =
|
6955
|
+
const [O, _] = gl(), [q, z] = le(0), L = bl({ id: e, prefix: `${Os}-` }), R = `${t} error, ${m}`, v = W(null), N = W(null), E = {
|
6953
6956
|
xs: { label: "-25px", helperText: "30px" },
|
6954
6957
|
sm: { label: "-29px", helperText: "34px" },
|
6955
6958
|
md: { label: "-33px", helperText: "38px" },
|
6956
6959
|
lg: { label: "-15px", helperText: "22px" },
|
6957
6960
|
xl: { label: "-19px", helperText: "25px" }
|
6958
|
-
}, U =
|
6961
|
+
}, U = Rl({
|
6959
6962
|
className: i,
|
6960
6963
|
inputClassName: o,
|
6961
6964
|
error: n,
|
@@ -7033,7 +7036,7 @@ const Sl = ({
|
|
7033
7036
|
}
|
7034
7037
|
);
|
7035
7038
|
Rr.displayName = "TextInput";
|
7036
|
-
function
|
7039
|
+
function _l(e) {
|
7037
7040
|
return Rt(() => e.every((t) => t == null) ? () => {
|
7038
7041
|
} : (t) => {
|
7039
7042
|
e.forEach((r) => {
|
@@ -7041,7 +7044,7 @@ function Rl(e) {
|
|
7041
7044
|
});
|
7042
7045
|
}, [...e]);
|
7043
7046
|
}
|
7044
|
-
const
|
7047
|
+
const Cl = 500, Nl = 5e3, Pl = 2e4, Ns = fe.forwardRef(
|
7045
7048
|
({
|
7046
7049
|
name: e,
|
7047
7050
|
disabled: t,
|
@@ -7058,19 +7061,19 @@ const _l = 500, Cl = 5e3, Nl = 2e4, Ns = fe.forwardRef(
|
|
7058
7061
|
const [f, h] = le(!0), [m, p] = le({
|
7059
7062
|
message: null,
|
7060
7063
|
politeness: null
|
7061
|
-
}), b = W(!0), w = W(null), k = W(null), S =
|
7064
|
+
}), b = W(!0), w = W(null), k = W(null), S = _l([l, k]), O = f ? "Show" : "Hide", _ = () => {
|
7062
7065
|
w.current && clearTimeout(w.current), b.current || (w.current = setTimeout(() => {
|
7063
7066
|
b.current = !0, h(!0), p({
|
7064
|
-
announcementTimeout:
|
7067
|
+
announcementTimeout: Nl,
|
7065
7068
|
politeness: "polite",
|
7066
7069
|
message: `${r} hiding characters`
|
7067
7070
|
}), s && s(!0);
|
7068
|
-
},
|
7071
|
+
}, Pl));
|
7069
7072
|
}, q = (N) => {
|
7070
7073
|
N.preventDefault();
|
7071
7074
|
const E = !b.current;
|
7072
7075
|
b.current = E, _(), h(E), p({
|
7073
|
-
announcementTimeout:
|
7076
|
+
announcementTimeout: Cl,
|
7074
7077
|
politeness: "assertive",
|
7075
7078
|
message: E ? "Characters hidden" : "Characters showing"
|
7076
7079
|
}), s && s(E);
|
@@ -7135,9 +7138,30 @@ try {
|
|
7135
7138
|
});
|
7136
7139
|
} catch {
|
7137
7140
|
}
|
7138
|
-
const
|
7139
|
-
|
7140
|
-
|
7141
|
+
const md = "user", yd = "assistant", pd = "data", Ps = "OpenAI", xl = "Anthropic", $l = "Google", Dl = "Perplexity", gd = Ps, Ml = "claude-sonnet-4", Ll = "claude-3", Ul = "gpt-4", Fl = "o3", Kl = "o4", Hl = "gemini", Bl = "sonar", Vl = {
|
7142
|
+
[xl]: [
|
7143
|
+
Ml,
|
7144
|
+
Ll
|
7145
|
+
],
|
7146
|
+
[Ps]: [
|
7147
|
+
Ul,
|
7148
|
+
Fl,
|
7149
|
+
Kl
|
7150
|
+
],
|
7151
|
+
[$l]: [Hl],
|
7152
|
+
[Dl]: [Bl]
|
7153
|
+
}, jl = "sassy:advanced:reasoning", bd = {
|
7154
|
+
REASONING: jl
|
7155
|
+
}, wd = "x-callisto-chat-id", vd = (e) => {
|
7156
|
+
for (const [t, r] of Object.entries(
|
7157
|
+
Vl
|
7158
|
+
))
|
7159
|
+
if (r.some((n) => e.startsWith(n)))
|
7160
|
+
return t;
|
7161
|
+
return null;
|
7162
|
+
}, Ed = "timestamp", Sd = "tokenUsage", D = "Callisto", Wl = "ASK! ME! ANYTHING!", Gl = "Log in", ql = "Sign in with a Passkey", Td = "Log out", Jl = "Password", Ad = "Usage", Id = "Profile", kd = "Settings", Od = "Chat history", Rd = "About", _r = "Type your message here.", _d = _r, Cd = `${_r}
|
7163
|
+
Press Enter to send it or Shift+Enter for new line.`, Nd = `${_r}
|
7164
|
+
Press Ctrl+Enter to send it or Enter for new line.`, Pd = "{{clipboard}}", M = "Review important details.", xd = [
|
7141
7165
|
`Sometimes, ${D} just makes stuff up. ${M}`,
|
7142
7166
|
`${D} may invent facts on the fly. ${M}`,
|
7143
7167
|
`${D} may be confidently wrong. ${M}`,
|
@@ -7158,17 +7182,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7158
7182
|
`Sometimes, ${D} howls at the moon. ${M}`,
|
7159
7183
|
`${D} may dig up imaginary bones. ${M}`,
|
7160
7184
|
`${D} may sniff out nonsense. ${M}`
|
7161
|
-
],
|
7185
|
+
], $d = "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.", Dd = "Default provider set to", Md = "Chat successfully deleted!", Ld = "Chat successfully saved!", Ud = "av-sassy", Fd = {
|
7162
7186
|
0: ["January", "February", "March"],
|
7163
7187
|
3: ["April", "May", "June"],
|
7164
7188
|
6: ["July", "August", "September"],
|
7165
7189
|
9: ["October", "November", "December"]
|
7166
|
-
},
|
7190
|
+
}, Kd = {
|
7167
7191
|
0: ["Jan", "Feb", "Mar"],
|
7168
7192
|
3: ["Apr", "May", "Jun"],
|
7169
7193
|
6: ["Jul", "Aug", "Sep"],
|
7170
7194
|
9: ["Oct", "Nov", "Dec"]
|
7171
|
-
},
|
7195
|
+
}, Hd = {
|
7172
7196
|
PREFERENCES: {
|
7173
7197
|
TITLE: "User profile",
|
7174
7198
|
NAME: "Name",
|
@@ -7208,7 +7232,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7208
7232
|
SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
|
7209
7233
|
USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Callisto will remember your previous interactions and use them to provide more relevant responses."
|
7210
7234
|
}
|
7211
|
-
},
|
7235
|
+
}, zl = ({ className: e }) => /* @__PURE__ */ X(
|
7212
7236
|
"div",
|
7213
7237
|
{
|
7214
7238
|
className: g(
|
@@ -7216,14 +7240,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7216
7240
|
"flex items-center justify-center text-slate-300"
|
7217
7241
|
),
|
7218
7242
|
children: [
|
7219
|
-
/* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(
|
7243
|
+
/* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(il, {}) }),
|
7220
7244
|
/* @__PURE__ */ X("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
7221
7245
|
/* @__PURE__ */ y("h1", { children: D }),
|
7222
|
-
/* @__PURE__ */ y("h2", { children:
|
7246
|
+
/* @__PURE__ */ y("h2", { children: Wl })
|
7223
7247
|
] })
|
7224
7248
|
]
|
7225
7249
|
}
|
7226
|
-
),
|
7250
|
+
), Ql = () => {
|
7227
7251
|
const { login: e, logoutReason: t, loginWithPasskey: r } = ys(), [n, s] = le(""), [i, o] = le(""), [a, c] = le(!0), [d, u] = le({
|
7228
7252
|
username: "",
|
7229
7253
|
password: ""
|
@@ -7237,7 +7261,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7237
7261
|
}), Z(() => {
|
7238
7262
|
t && o(t);
|
7239
7263
|
}, [t]), /* @__PURE__ */ X(
|
7240
|
-
|
7264
|
+
ul,
|
7241
7265
|
{
|
7242
7266
|
className: Ss({
|
7243
7267
|
extraClass: "mt-5"
|
@@ -7251,10 +7275,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7251
7275
|
className: Es({
|
7252
7276
|
extraClass: "rounded-md"
|
7253
7277
|
}),
|
7254
|
-
children: /* @__PURE__ */ y(
|
7278
|
+
children: /* @__PURE__ */ y(zl, {})
|
7255
7279
|
}
|
7256
7280
|
),
|
7257
|
-
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(
|
7281
|
+
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(fl, { alignHorizontal: "center", children: /* @__PURE__ */ y(Ee, { span: 6, children: /* @__PURE__ */ X(sl, { mode: "dark", children: [
|
7258
7282
|
/* @__PURE__ */ y(Ee, { 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 }) }),
|
7259
7283
|
/* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y(
|
7260
7284
|
Rr,
|
@@ -7288,14 +7312,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7288
7312
|
mode: "dark",
|
7289
7313
|
focusMode: "light",
|
7290
7314
|
name: "password",
|
7291
|
-
label:
|
7315
|
+
label: Jl,
|
7292
7316
|
rightElement: /* @__PURE__ */ y(
|
7293
7317
|
kt,
|
7294
7318
|
{
|
7295
7319
|
focusMode: "light",
|
7296
7320
|
mode: "dark",
|
7297
7321
|
label: a ? "Show" : "Hide",
|
7298
|
-
children: a ? /* @__PURE__ */ y(
|
7322
|
+
children: a ? /* @__PURE__ */ y(cl, {}) : /* @__PURE__ */ y(al, {})
|
7299
7323
|
}
|
7300
7324
|
),
|
7301
7325
|
onMaskChange: c,
|
@@ -7318,7 +7342,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7318
7342
|
noBorder: !0,
|
7319
7343
|
type: "submit",
|
7320
7344
|
className: "mt-7",
|
7321
|
-
children:
|
7345
|
+
children: Gl
|
7322
7346
|
}
|
7323
7347
|
) }),
|
7324
7348
|
!Ts() && /* @__PURE__ */ X(pr, { children: [
|
@@ -7331,9 +7355,9 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7331
7355
|
focusMode: "light",
|
7332
7356
|
fullWidth: !0,
|
7333
7357
|
className: "mb-4",
|
7334
|
-
labelRight:
|
7358
|
+
labelRight: ql,
|
7335
7359
|
onClick: r,
|
7336
|
-
children: /* @__PURE__ */ y(
|
7360
|
+
children: /* @__PURE__ */ y(ol, { size: "size-7" })
|
7337
7361
|
}
|
7338
7362
|
) })
|
7339
7363
|
] })
|
@@ -7341,19 +7365,19 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7341
7365
|
]
|
7342
7366
|
}
|
7343
7367
|
);
|
7344
|
-
},
|
7368
|
+
}, Yl = new URL(document.location.href).searchParams, an = !!Yl.get("debug") || !1, Xl = Ds(() => import(
|
7345
7369
|
/* webpackChunkName: "LazyApp" */
|
7346
|
-
"./App.
|
7347
|
-
).then((e) => e.App)),
|
7370
|
+
"./App.COq79mzy.js"
|
7371
|
+
).then((e) => e.App)), Zl = new si(), on = ({
|
7348
7372
|
isComponent: e,
|
7349
7373
|
headerHeight: t
|
7350
7374
|
}) => {
|
7351
7375
|
const { isAuthenticated: r, isLoading: n } = ys();
|
7352
|
-
return n ? /* @__PURE__ */ y("div", {}) : r ? /* @__PURE__ */ y(
|
7353
|
-
/* @__PURE__ */ y(
|
7354
|
-
/* @__PURE__ */ y(
|
7355
|
-
] }) }) : /* @__PURE__ */ y(
|
7356
|
-
},
|
7376
|
+
return n ? /* @__PURE__ */ y("div", {}) : r ? /* @__PURE__ */ y($s, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ X(ai, { client: Zl, children: [
|
7377
|
+
/* @__PURE__ */ y(xa, {}),
|
7378
|
+
/* @__PURE__ */ y(Xl, { isComponent: e, headerHeight: t })
|
7379
|
+
] }) }) : /* @__PURE__ */ y(Ql, {});
|
7380
|
+
}, eu = ({
|
7357
7381
|
isComponent: e = !1,
|
7358
7382
|
headerHeight: t = 0,
|
7359
7383
|
domain: r = vs
|
@@ -7370,8 +7394,8 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7370
7394
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
7371
7395
|
children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t })
|
7372
7396
|
}
|
7373
|
-
) : /* @__PURE__ */ y(Zr, { clientId: en, domain: r, debug: an, children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t }) })),
|
7374
|
-
|
7397
|
+
) : /* @__PURE__ */ y(Zr, { clientId: en, domain: r, debug: an, children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t }) })), Bd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
|
7398
|
+
eu,
|
7375
7399
|
{
|
7376
7400
|
isComponent: !0,
|
7377
7401
|
domain: e,
|
@@ -7379,142 +7403,153 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7379
7403
|
}
|
7380
7404
|
);
|
7381
7405
|
export {
|
7382
|
-
|
7383
|
-
|
7384
|
-
|
7385
|
-
|
7386
|
-
|
7387
|
-
|
7388
|
-
|
7406
|
+
Rd as ABOUT_TITLE,
|
7407
|
+
qu as ACTION_RESET_PROMPT,
|
7408
|
+
ju as ACTION_SEARCH,
|
7409
|
+
Wu as ACTION_SORT,
|
7410
|
+
Gu as ACTION_TOGGLE_PROMPT,
|
7411
|
+
Ud as APP_CLASSNAME,
|
7412
|
+
Sd as Ae,
|
7389
7413
|
ks as C,
|
7390
|
-
|
7391
|
-
|
7392
|
-
|
7393
|
-
|
7394
|
-
|
7395
|
-
|
7396
|
-
|
7397
|
-
|
7414
|
+
Hd as CARDS,
|
7415
|
+
Pd as CLIPBOARD_PROMPT,
|
7416
|
+
id as DEFAULT_ICON_ACTION_SIZE,
|
7417
|
+
Su as Dynamic,
|
7418
|
+
$l as E,
|
7419
|
+
Vu as ERROR_MESSAGE,
|
7420
|
+
bd as Ee,
|
7421
|
+
xd as FOOTER_DISCLAIMERS,
|
7422
|
+
hu as For,
|
7423
|
+
Od as HISTORY_TITLE,
|
7398
7424
|
Lt as I,
|
7399
|
-
|
7400
|
-
|
7401
|
-
|
7402
|
-
|
7403
|
-
|
7404
|
-
|
7405
|
-
|
7406
|
-
|
7407
|
-
|
7408
|
-
|
7409
|
-
|
7425
|
+
rd as INFINITE_SCROLL_LIMIT,
|
7426
|
+
td as INFINITE_SCROLL_THRESHOLD,
|
7427
|
+
ld as INPUT_BOTTOM_OFFSET,
|
7428
|
+
dd as INPUT_BOTTOM_OFFSET_EXTRA,
|
7429
|
+
ud as INPUT_BOTTOM_OFFSET_IPHONE,
|
7430
|
+
Nd as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
|
7431
|
+
Cd as INPUT_PLACEHOLDER_TEXT_ENTER,
|
7432
|
+
_d as INPUT_PLACEHOLDER_TEXT_MOBILE,
|
7433
|
+
mu as Index,
|
7434
|
+
fl as L,
|
7435
|
+
Ju as LOCAL_STORAGE_CHAT_DETAILS,
|
7410
7436
|
ps as LOCAL_STORAGE_PREFIX,
|
7411
|
-
|
7412
|
-
|
7413
|
-
|
7437
|
+
Zu as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
7438
|
+
ed as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
7439
|
+
zu as LOCAL_STORAGE_SEARCH,
|
7414
7440
|
gs as LOCAL_STORAGE_SERVICE_WORKER,
|
7415
|
-
|
7416
|
-
|
7417
|
-
|
7418
|
-
|
7419
|
-
|
7420
|
-
|
7421
|
-
|
7422
|
-
|
7423
|
-
|
7424
|
-
|
7425
|
-
|
7426
|
-
|
7427
|
-
|
7428
|
-
|
7429
|
-
|
7430
|
-
ru as Show,
|
7441
|
+
Qu as LOCAL_STORAGE_SORT,
|
7442
|
+
Yu as LOCAL_STORAGE_SORT_TIMESTAMP,
|
7443
|
+
Xu as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
7444
|
+
Td as LOG_OUT,
|
7445
|
+
zl as Logo,
|
7446
|
+
gu as Match,
|
7447
|
+
Id as PROFILE_TITLE,
|
7448
|
+
$d as PROMPTS_DESCRIPTION,
|
7449
|
+
nd as PROMPT_CLASSNAME,
|
7450
|
+
sd as PROMPT_EDITABLE_AREA_CLASSNAME,
|
7451
|
+
Eu as Portal,
|
7452
|
+
sl as S,
|
7453
|
+
kd as SETTINGS_TITLE,
|
7454
|
+
Bd as SassySaint,
|
7455
|
+
yu as Show,
|
7431
7456
|
_t as Subscribable,
|
7432
|
-
|
7433
|
-
|
7434
|
-
|
7435
|
-
|
7436
|
-
|
7437
|
-
|
7438
|
-
|
7439
|
-
|
7440
|
-
|
7441
|
-
|
7442
|
-
|
7443
|
-
|
7444
|
-
|
7445
|
-
|
7446
|
-
|
7447
|
-
|
7448
|
-
|
7449
|
-
|
7450
|
-
|
7457
|
+
pu as Switch,
|
7458
|
+
Md as TOAST_CHAT_DELETED,
|
7459
|
+
Ld as TOAST_CHAT_SAVED,
|
7460
|
+
Dd as TOAST_PROVIDER_CHANGED,
|
7461
|
+
Fd as TRIMESTERS,
|
7462
|
+
Kd as TRIMESTERS_SHORT,
|
7463
|
+
od as UI_BUTTON_SCROLL_BUFFER,
|
7464
|
+
cd as UI_DEFAULT_MAIN_HEIGHT,
|
7465
|
+
ad as UI_FOOTER_BUFFER,
|
7466
|
+
Ad as USAGE_TITLE,
|
7467
|
+
Ps as a,
|
7468
|
+
Bi as addEventListener,
|
7469
|
+
au as batch,
|
7470
|
+
yd as c,
|
7471
|
+
Hi as className,
|
7472
|
+
vu as clearDelegatedEvents,
|
7473
|
+
$c as convertCamelCaseToReadable,
|
7474
|
+
Pu as convertRemToPixels,
|
7475
|
+
Ei as createComponent,
|
7476
|
+
ci as createComputed,
|
7477
|
+
uu as createContext,
|
7451
7478
|
En as createEffect,
|
7452
7479
|
K as createMemo,
|
7453
7480
|
Te as createRenderEffect,
|
7454
7481
|
Se as createRoot,
|
7455
7482
|
Y as createSignal,
|
7456
|
-
|
7457
|
-
|
7458
|
-
|
7483
|
+
fu as createUniqueId,
|
7484
|
+
vd as de,
|
7485
|
+
Pc as debounce,
|
7486
|
+
Ui as delegateEvents,
|
7459
7487
|
it as deleteNestedDataByPath,
|
7460
|
-
|
7461
|
-
|
7488
|
+
_u as displayValue,
|
7489
|
+
Ys as fetchState,
|
7462
7490
|
fn as focusManager,
|
7463
|
-
|
7491
|
+
Tc as getCurrentGeoLocation,
|
7464
7492
|
Ss as getMainPaddingClass,
|
7465
7493
|
Es as getMessageContaintWrapperClass,
|
7466
|
-
|
7467
|
-
|
7468
|
-
|
7469
|
-
|
7470
|
-
|
7471
|
-
|
7472
|
-
|
7494
|
+
Ou as getMutationStatusColor,
|
7495
|
+
xu as getPreferredColorScheme,
|
7496
|
+
ku as getQueryStatusColor,
|
7497
|
+
Ru as getQueryStatusColorByLabel,
|
7498
|
+
Au as getQueryStatusLabel,
|
7499
|
+
Iu as getSidedProp,
|
7500
|
+
fd as handleServiceWorkerToggle,
|
7501
|
+
xl as i,
|
7473
7502
|
ar as insert,
|
7474
7503
|
As as isProbablyMobile,
|
7475
|
-
|
7504
|
+
xc as isProbablyiPhone,
|
7476
7505
|
Ct as isServer,
|
7477
|
-
|
7506
|
+
lc as isServiceWorkerEnabled,
|
7478
7507
|
Ts as isTauri,
|
7479
|
-
|
7508
|
+
Ls as isValidTimeout,
|
7480
7509
|
Ee as j,
|
7481
|
-
|
7482
|
-
|
7483
|
-
|
7484
|
-
|
7510
|
+
ol as l,
|
7511
|
+
bu as memo,
|
7512
|
+
Ti as mergeProps,
|
7513
|
+
Nu as mutationSortFns,
|
7485
7514
|
ys as n,
|
7515
|
+
gd as ne,
|
7486
7516
|
re as noop,
|
7487
7517
|
Q as notifyManager,
|
7488
|
-
|
7489
|
-
|
7490
|
-
|
7518
|
+
_c as numberFormatter,
|
7519
|
+
Ac as obfuscate,
|
7520
|
+
ou as on,
|
7491
7521
|
We as onCleanup,
|
7492
|
-
|
7493
|
-
|
7494
|
-
|
7495
|
-
|
7496
|
-
|
7497
|
-
|
7498
|
-
|
7499
|
-
|
7522
|
+
di as onMount,
|
7523
|
+
D as pe,
|
7524
|
+
Rr as pe$1,
|
7525
|
+
Gs as pendingThenable,
|
7526
|
+
Nc as pluralize,
|
7527
|
+
ul as r,
|
7528
|
+
pd as re,
|
7529
|
+
kc as renderDataAsList,
|
7530
|
+
Hs as replaceData,
|
7531
|
+
Fs as resolveEnabled,
|
7500
7532
|
Zt as resolveStaleTime,
|
7501
|
-
|
7533
|
+
md as s,
|
7534
|
+
ka as serialize,
|
7502
7535
|
ir as setAttribute,
|
7503
|
-
|
7504
|
-
|
7505
|
-
|
7506
|
-
|
7507
|
-
|
7508
|
-
|
7509
|
-
|
7510
|
-
|
7536
|
+
su as shallowEqualObjects,
|
7537
|
+
iu as shouldThrowError,
|
7538
|
+
Cu as sortFns,
|
7539
|
+
Ai as splitProps,
|
7540
|
+
Wi as spread,
|
7541
|
+
Tu as stringify,
|
7542
|
+
wu as template,
|
7543
|
+
Us as timeUntilStale,
|
7511
7544
|
kt as ue,
|
7512
|
-
|
7545
|
+
Ed as ue$1,
|
7546
|
+
Ic as unObfuscate,
|
7513
7547
|
G as untrack,
|
7514
7548
|
st as updateNestedDataByPath,
|
7515
|
-
|
7516
|
-
|
7517
|
-
|
7518
|
-
|
7519
|
-
|
7549
|
+
Gi as use,
|
7550
|
+
du as useContext,
|
7551
|
+
ii as useQueryClient,
|
7552
|
+
lu as useTransition,
|
7553
|
+
hd as utilities,
|
7554
|
+
wd as ye
|
7520
7555
|
};
|