@versini/sassysaint 8.13.3 → 8.13.5
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.CjqrvAKd.js → AboutChangelog.BpBrXYNM.js} +2 -2
- package/dist/chunks/{App.DfvnYgtl.js → App.B7Xa_Z07.js} +915 -923
- package/dist/chunks/{CPIOZS5X.CdcObwRL.js → C2Q2AJ2U.cnyJsZhS.js} +7 -4
- package/dist/chunks/{Chart.Dh1tBm5B.js → Chart.CAf8jkY7.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.Do364ReF.js → ChatBubbleAssistant.BwoYWFHP.js} +3 -3
- package/dist/chunks/{index.Dby4SH6Y.js → index.BP6bgRWy.js} +1 -1
- package/dist/chunks/{index.D7iaWDGG.js → index.Ce1O2JYf.js} +1 -1
- package/dist/chunks/{index.aq_MdMCQ.js → index.D9dFgPy2.js} +3 -3
- package/dist/chunks/{index.o77SWLP6.js → index.DQqHI3eN.js} +1 -1
- package/dist/chunks/{index.DU37wuSL.js → index.pJb_KM5T.js} +2 -2
- package/dist/chunks/{index.KURdH664.js → index.qUNN8KX2.js} +487 -482
- package/dist/chunks/{useMarkdown.Ce3qbbQx.js → useMarkdown.Dk7E1mQe.js} +10 -10
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +6 -6
@@ -2,10 +2,10 @@ var vn = (e) => {
|
|
2
2
|
throw TypeError(e);
|
3
3
|
};
|
4
4
|
var Nr = (e, t, r) => t.has(e) || vn("Cannot " + r);
|
5
|
-
var f = (e, t, r) => (Nr(e, t, "read from private field"), r ? r.call(e) : t.get(e)),
|
5
|
+
var f = (e, t, r) => (Nr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), T = (e, t, r) => t.has(e) ? vn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), v = (e, t, r, n) => (Nr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), J = (e, t, r) => (Nr(e, t, "access private method"), r);
|
6
6
|
var Wt = (e, t, r, n) => ({
|
7
7
|
set _(s) {
|
8
|
-
|
8
|
+
v(e, t, s, r);
|
9
9
|
},
|
10
10
|
get _() {
|
11
11
|
return f(e, t, n);
|
@@ -173,10 +173,10 @@ function ls(e, t) {
|
|
173
173
|
var He, _e, nt, Yn, Li = (Yn = class extends Sr {
|
174
174
|
constructor() {
|
175
175
|
super();
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
176
|
+
T(this, He);
|
177
|
+
T(this, _e);
|
178
|
+
T(this, nt);
|
179
|
+
v(this, nt, (t) => {
|
180
180
|
if (!Ar && window.addEventListener) {
|
181
181
|
const r = () => t();
|
182
182
|
return window.addEventListener("visibilitychange", r, !1), () => {
|
@@ -190,16 +190,16 @@ var He, _e, nt, Yn, Li = (Yn = class extends Sr {
|
|
190
190
|
}
|
191
191
|
onUnsubscribe() {
|
192
192
|
var t;
|
193
|
-
this.hasListeners() || ((t = f(this, _e)) == null || t.call(this),
|
193
|
+
this.hasListeners() || ((t = f(this, _e)) == null || t.call(this), v(this, _e, void 0));
|
194
194
|
}
|
195
195
|
setEventListener(t) {
|
196
196
|
var r;
|
197
|
-
|
197
|
+
v(this, nt, t), (r = f(this, _e)) == null || r.call(this), v(this, _e, t((n) => {
|
198
198
|
typeof n == "boolean" ? this.setFocused(n) : this.onFocus();
|
199
199
|
}));
|
200
200
|
}
|
201
201
|
setFocused(t) {
|
202
|
-
f(this, He) !== t && (
|
202
|
+
f(this, He) !== t && (v(this, He, t), this.onFocus());
|
203
203
|
}
|
204
204
|
onFocus() {
|
205
205
|
const t = this.isFocused();
|
@@ -214,10 +214,10 @@ var He, _e, nt, Yn, Li = (Yn = class extends Sr {
|
|
214
214
|
}, He = new WeakMap(), _e = new WeakMap(), nt = new WeakMap(), Yn), us = new Li(), st, Ne, it, Xn, Mi = (Xn = class extends Sr {
|
215
215
|
constructor() {
|
216
216
|
super();
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
217
|
+
T(this, st, !0);
|
218
|
+
T(this, Ne);
|
219
|
+
T(this, it);
|
220
|
+
v(this, it, (t) => {
|
221
221
|
if (!Ar && window.addEventListener) {
|
222
222
|
const r = () => t(!0), n = () => t(!1);
|
223
223
|
return window.addEventListener("online", r, !1), window.addEventListener("offline", n, !1), () => {
|
@@ -231,14 +231,14 @@ var He, _e, nt, Yn, Li = (Yn = class extends Sr {
|
|
231
231
|
}
|
232
232
|
onUnsubscribe() {
|
233
233
|
var t;
|
234
|
-
this.hasListeners() || ((t = f(this, Ne)) == null || t.call(this),
|
234
|
+
this.hasListeners() || ((t = f(this, Ne)) == null || t.call(this), v(this, Ne, void 0));
|
235
235
|
}
|
236
236
|
setEventListener(t) {
|
237
237
|
var r;
|
238
|
-
|
238
|
+
v(this, it, t), (r = f(this, Ne)) == null || r.call(this), v(this, Ne, t(this.setOnline.bind(this)));
|
239
239
|
}
|
240
240
|
setOnline(t) {
|
241
|
-
f(this, st) !== t && (
|
241
|
+
f(this, st) !== t && (v(this, st, t), this.listeners.forEach((n) => {
|
242
242
|
n(t);
|
243
243
|
}));
|
244
244
|
}
|
@@ -246,7 +246,7 @@ var He, _e, nt, Yn, Li = (Yn = class extends Sr {
|
|
246
246
|
return f(this, st);
|
247
247
|
}
|
248
248
|
}, st = new WeakMap(), Ne = new WeakMap(), it = new WeakMap(), Xn), Nt = new Mi();
|
249
|
-
function
|
249
|
+
function Ui() {
|
250
250
|
let e, t;
|
251
251
|
const r = new Promise((s, i) => {
|
252
252
|
e = s, t = i;
|
@@ -268,7 +268,7 @@ function $i() {
|
|
268
268
|
}), t(s);
|
269
269
|
}, r;
|
270
270
|
}
|
271
|
-
function
|
271
|
+
function $i(e) {
|
272
272
|
return Math.min(1e3 * 2 ** e, 3e4);
|
273
273
|
}
|
274
274
|
function ds(e) {
|
@@ -284,24 +284,24 @@ function Pr(e) {
|
|
284
284
|
}
|
285
285
|
function hs(e) {
|
286
286
|
let t = !1, r = 0, n = !1, s;
|
287
|
-
const i =
|
288
|
-
var
|
289
|
-
n || (h(new fs(g)), (
|
287
|
+
const i = Ui(), a = (g) => {
|
288
|
+
var E;
|
289
|
+
n || (h(new fs(g)), (E = e.abort) == null || E.call(e));
|
290
290
|
}, o = () => {
|
291
291
|
t = !0;
|
292
292
|
}, c = () => {
|
293
293
|
t = !1;
|
294
294
|
}, l = () => us.isFocused() && (e.networkMode === "always" || Nt.isOnline()) && e.canRun(), d = () => ds(e.networkMode) && e.canRun(), u = (g) => {
|
295
|
-
var
|
296
|
-
n || (n = !0, (
|
295
|
+
var E;
|
296
|
+
n || (n = !0, (E = e.onSuccess) == null || E.call(e, g), s == null || s(), i.resolve(g));
|
297
297
|
}, h = (g) => {
|
298
|
-
var
|
299
|
-
n || (n = !0, (
|
298
|
+
var E;
|
299
|
+
n || (n = !0, (E = e.onError) == null || E.call(e, g), s == null || s(), i.reject(g));
|
300
300
|
}, y = () => new Promise((g) => {
|
301
|
-
var
|
302
|
-
s = (
|
303
|
-
(n || l()) && g(
|
304
|
-
}, (
|
301
|
+
var E;
|
302
|
+
s = (I) => {
|
303
|
+
(n || l()) && g(I);
|
304
|
+
}, (E = e.onPause) == null || E.call(e);
|
305
305
|
}).then(() => {
|
306
306
|
var g;
|
307
307
|
s = void 0, n || (g = e.onContinue) == null || g.call(e);
|
@@ -309,23 +309,23 @@ function hs(e) {
|
|
309
309
|
if (n)
|
310
310
|
return;
|
311
311
|
let g;
|
312
|
-
const
|
312
|
+
const E = r === 0 ? e.initialPromise : void 0;
|
313
313
|
try {
|
314
|
-
g =
|
315
|
-
} catch (
|
316
|
-
g = Promise.reject(
|
314
|
+
g = E ?? e.fn();
|
315
|
+
} catch (I) {
|
316
|
+
g = Promise.reject(I);
|
317
317
|
}
|
318
|
-
Promise.resolve(g).then(u).catch((
|
318
|
+
Promise.resolve(g).then(u).catch((I) => {
|
319
319
|
var M;
|
320
320
|
if (n)
|
321
321
|
return;
|
322
|
-
const O = e.retry ?? (Ar ? 0 : 3),
|
322
|
+
const O = e.retry ?? (Ar ? 0 : 3), A = e.retryDelay ?? $i, k = typeof A == "function" ? A(r, I) : A, C = O === !0 || typeof O == "number" && r < O || typeof O == "function" && O(r, I);
|
323
323
|
if (t || !C) {
|
324
|
-
h(
|
324
|
+
h(I);
|
325
325
|
return;
|
326
326
|
}
|
327
|
-
r++, (M = e.onFail) == null || M.call(e, r,
|
328
|
-
t ? h(
|
327
|
+
r++, (M = e.onFail) == null || M.call(e, r, I), Ni(k).then(() => l() ? void 0 : y()).then(() => {
|
328
|
+
t ? h(I) : m();
|
329
329
|
});
|
330
330
|
});
|
331
331
|
};
|
@@ -401,13 +401,13 @@ function Hi() {
|
|
401
401
|
}
|
402
402
|
var te = Hi(), Fe, Zn, ys = (Zn = class {
|
403
403
|
constructor() {
|
404
|
-
|
404
|
+
T(this, Fe);
|
405
405
|
}
|
406
406
|
destroy() {
|
407
407
|
this.clearGcTimeout();
|
408
408
|
}
|
409
409
|
scheduleGc() {
|
410
|
-
this.clearGcTimeout(), Oi(this.gcTime) &&
|
410
|
+
this.clearGcTimeout(), Oi(this.gcTime) && v(this, Fe, setTimeout(() => {
|
411
411
|
this.optionalRemove();
|
412
412
|
}, this.gcTime));
|
413
413
|
}
|
@@ -418,20 +418,20 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
|
|
418
418
|
);
|
419
419
|
}
|
420
420
|
clearGcTimeout() {
|
421
|
-
f(this, Fe) && (clearTimeout(f(this, Fe)),
|
421
|
+
f(this, Fe) && (clearTimeout(f(this, Fe)), v(this, Fe, void 0));
|
422
422
|
}
|
423
423
|
}, Fe = new WeakMap(), Zn), at, ot, se, Be, z, Kt, Ve, ce, Ee, es, Fi = (es = class extends ys {
|
424
424
|
constructor(t) {
|
425
425
|
super();
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
426
|
+
T(this, ce);
|
427
|
+
T(this, at);
|
428
|
+
T(this, ot);
|
429
|
+
T(this, se);
|
430
|
+
T(this, Be);
|
431
|
+
T(this, z);
|
432
|
+
T(this, Kt);
|
433
|
+
T(this, Ve);
|
434
|
+
v(this, Ve, !1), v(this, Kt, t.defaultOptions), this.setOptions(t.options), this.observers = [], v(this, Be, t.client), v(this, se, f(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, v(this, at, Vi(this.options)), this.state = t.state ?? f(this, at), this.scheduleGc();
|
435
435
|
}
|
436
436
|
get meta() {
|
437
437
|
return this.options.meta;
|
@@ -525,7 +525,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
|
|
525
525
|
const n = new AbortController(), s = (u) => {
|
526
526
|
Object.defineProperty(u, "signal", {
|
527
527
|
enumerable: !0,
|
528
|
-
get: () => (
|
528
|
+
get: () => (v(this, Ve, !0), n.signal)
|
529
529
|
});
|
530
530
|
}, i = () => {
|
531
531
|
const u = ls(this.options, r), h = {
|
@@ -533,7 +533,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
|
|
533
533
|
queryKey: this.queryKey,
|
534
534
|
meta: this.meta
|
535
535
|
};
|
536
|
-
return s(h),
|
536
|
+
return s(h), v(this, Ve, !1), this.options.persister ? this.options.persister(
|
537
537
|
u,
|
538
538
|
h,
|
539
539
|
this
|
@@ -549,7 +549,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
|
|
549
549
|
s(a), (c = this.options.behavior) == null || c.onFetch(
|
550
550
|
a,
|
551
551
|
this
|
552
|
-
),
|
552
|
+
), v(this, ot, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((l = a.fetchOptions) == null ? void 0 : l.meta)) && J(this, ce, Ee).call(this, { type: "fetch", meta: (d = a.fetchOptions) == null ? void 0 : d.meta });
|
553
553
|
const o = (u) => {
|
554
554
|
var h, y, m, g;
|
555
555
|
Pr(u) && u.silent || J(this, ce, Ee).call(this, {
|
@@ -566,7 +566,7 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
|
|
566
566
|
this
|
567
567
|
)), this.scheduleGc();
|
568
568
|
};
|
569
|
-
return
|
569
|
+
return v(this, z, hs({
|
570
570
|
initialPromise: r == null ? void 0 : r.initialPromise,
|
571
571
|
fn: a.fetchFn,
|
572
572
|
abort: n.abort.bind(n),
|
@@ -580,8 +580,8 @@ var te = Hi(), Fe, Zn, ys = (Zn = class {
|
|
580
580
|
}
|
581
581
|
try {
|
582
582
|
this.setData(u);
|
583
|
-
} catch (
|
584
|
-
o(
|
583
|
+
} catch (E) {
|
584
|
+
o(E);
|
585
585
|
return;
|
586
586
|
}
|
587
587
|
(y = (h = f(this, se).config).onSuccess) == null || y.call(h, u, this), (g = (m = f(this, se).config).onSettled) == null || g.call(
|
@@ -708,8 +708,8 @@ function Vi(e) {
|
|
708
708
|
var he, ts, ji = (ts = class extends Sr {
|
709
709
|
constructor(t = {}) {
|
710
710
|
super();
|
711
|
-
|
712
|
-
this.config = t,
|
711
|
+
T(this, he);
|
712
|
+
this.config = t, v(this, he, /* @__PURE__ */ new Map());
|
713
713
|
}
|
714
714
|
build(t, r, n) {
|
715
715
|
const s = r.queryKey, i = r.queryHash ?? dn(s, r);
|
@@ -780,11 +780,11 @@ var he, ts, ji = (ts = class extends Sr {
|
|
780
780
|
}, he = new WeakMap(), ts), ye, ee, je, me, Ce, rs, Gi = (rs = class extends ys {
|
781
781
|
constructor(t) {
|
782
782
|
super();
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
this.mutationId = t.mutationId,
|
783
|
+
T(this, me);
|
784
|
+
T(this, ye);
|
785
|
+
T(this, ee);
|
786
|
+
T(this, je);
|
787
|
+
this.mutationId = t.mutationId, v(this, ee, t.mutationCache), v(this, ye, []), this.state = t.state || qi(), this.setOptions(t.options), this.scheduleGc();
|
788
788
|
}
|
789
789
|
setOptions(t) {
|
790
790
|
this.options = t, this.updateGcTime(this.options.gcTime);
|
@@ -800,7 +800,7 @@ var he, ts, ji = (ts = class extends Sr {
|
|
800
800
|
}));
|
801
801
|
}
|
802
802
|
removeObserver(t) {
|
803
|
-
|
803
|
+
v(this, ye, f(this, ye).filter((r) => r !== t)), this.scheduleGc(), f(this, ee).notify({
|
804
804
|
type: "observerRemoved",
|
805
805
|
mutation: this,
|
806
806
|
observer: t
|
@@ -815,83 +815,86 @@ var he, ts, ji = (ts = class extends Sr {
|
|
815
815
|
this.execute(this.state.variables);
|
816
816
|
}
|
817
817
|
async execute(t) {
|
818
|
-
var
|
819
|
-
|
818
|
+
var i, a, o, c, l, d, u, h, y, m, g, E, I, O, A, k, C, M, H, R;
|
819
|
+
const r = () => {
|
820
|
+
J(this, me, Ce).call(this, { type: "continue" });
|
821
|
+
};
|
822
|
+
v(this, je, hs({
|
820
823
|
fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
|
821
|
-
onFail: (
|
822
|
-
J(this, me, Ce).call(this, { type: "failed", failureCount:
|
824
|
+
onFail: (w, _) => {
|
825
|
+
J(this, me, Ce).call(this, { type: "failed", failureCount: w, error: _ });
|
823
826
|
},
|
824
827
|
onPause: () => {
|
825
828
|
J(this, me, Ce).call(this, { type: "pause" });
|
826
829
|
},
|
827
|
-
onContinue:
|
828
|
-
J(this, me, Ce).call(this, { type: "continue" });
|
829
|
-
},
|
830
|
+
onContinue: r,
|
830
831
|
retry: this.options.retry ?? 0,
|
831
832
|
retryDelay: this.options.retryDelay,
|
832
833
|
networkMode: this.options.networkMode,
|
833
834
|
canRun: () => f(this, ee).canRun(this)
|
834
835
|
}));
|
835
|
-
const
|
836
|
+
const n = this.state.status === "pending", s = !f(this, je).canStart();
|
836
837
|
try {
|
837
|
-
if (
|
838
|
-
|
839
|
-
|
838
|
+
if (n)
|
839
|
+
r();
|
840
|
+
else {
|
841
|
+
J(this, me, Ce).call(this, { type: "pending", variables: t, isPaused: s }), await ((a = (i = f(this, ee).config).onMutate) == null ? void 0 : a.call(
|
842
|
+
i,
|
840
843
|
t,
|
841
844
|
this
|
842
845
|
));
|
843
|
-
const
|
844
|
-
|
846
|
+
const _ = await ((c = (o = this.options).onMutate) == null ? void 0 : c.call(o, t));
|
847
|
+
_ !== this.state.context && J(this, me, Ce).call(this, {
|
845
848
|
type: "pending",
|
846
|
-
context:
|
849
|
+
context: _,
|
847
850
|
variables: t,
|
848
|
-
isPaused:
|
851
|
+
isPaused: s
|
849
852
|
});
|
850
853
|
}
|
851
|
-
const
|
852
|
-
return await ((
|
853
|
-
|
854
|
-
|
854
|
+
const w = await f(this, je).start();
|
855
|
+
return await ((d = (l = f(this, ee).config).onSuccess) == null ? void 0 : d.call(
|
856
|
+
l,
|
857
|
+
w,
|
855
858
|
t,
|
856
859
|
this.state.context,
|
857
860
|
this
|
858
|
-
)), await ((
|
859
|
-
|
860
|
-
|
861
|
+
)), await ((h = (u = this.options).onSuccess) == null ? void 0 : h.call(u, w, t, this.state.context)), await ((m = (y = f(this, ee).config).onSettled) == null ? void 0 : m.call(
|
862
|
+
y,
|
863
|
+
w,
|
861
864
|
null,
|
862
865
|
this.state.variables,
|
863
866
|
this.state.context,
|
864
867
|
this
|
865
|
-
)), await ((
|
866
|
-
} catch (
|
868
|
+
)), await ((E = (g = this.options).onSettled) == null ? void 0 : E.call(g, w, null, t, this.state.context)), J(this, me, Ce).call(this, { type: "success", data: w }), w;
|
869
|
+
} catch (w) {
|
867
870
|
try {
|
868
|
-
throw await ((
|
869
|
-
|
870
|
-
|
871
|
+
throw await ((O = (I = f(this, ee).config).onError) == null ? void 0 : O.call(
|
872
|
+
I,
|
873
|
+
w,
|
871
874
|
t,
|
872
875
|
this.state.context,
|
873
876
|
this
|
874
|
-
)), await ((
|
875
|
-
|
876
|
-
|
877
|
+
)), await ((k = (A = this.options).onError) == null ? void 0 : k.call(
|
878
|
+
A,
|
879
|
+
w,
|
877
880
|
t,
|
878
881
|
this.state.context
|
879
|
-
)), await ((
|
880
|
-
|
882
|
+
)), await ((M = (C = f(this, ee).config).onSettled) == null ? void 0 : M.call(
|
883
|
+
C,
|
881
884
|
void 0,
|
882
|
-
|
885
|
+
w,
|
883
886
|
this.state.variables,
|
884
887
|
this.state.context,
|
885
888
|
this
|
886
|
-
)), await ((
|
887
|
-
|
889
|
+
)), await ((R = (H = this.options).onSettled) == null ? void 0 : R.call(
|
890
|
+
H,
|
888
891
|
void 0,
|
889
|
-
|
892
|
+
w,
|
890
893
|
t,
|
891
894
|
this.state.context
|
892
|
-
)),
|
895
|
+
)), w;
|
893
896
|
} finally {
|
894
|
-
J(this, me, Ce).call(this, { type: "error", error:
|
897
|
+
J(this, me, Ce).call(this, { type: "error", error: w });
|
895
898
|
}
|
896
899
|
} finally {
|
897
900
|
f(this, ee).runNext(this);
|
@@ -977,10 +980,10 @@ function qi() {
|
|
977
980
|
var Se, le, Ht, ns, Wi = (ns = class extends Sr {
|
978
981
|
constructor(t = {}) {
|
979
982
|
super();
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
this.config = t,
|
983
|
+
T(this, Se);
|
984
|
+
T(this, le);
|
985
|
+
T(this, Ht);
|
986
|
+
this.config = t, v(this, Se, /* @__PURE__ */ new Set()), v(this, le, /* @__PURE__ */ new Map()), v(this, Ht, 0);
|
984
987
|
}
|
985
988
|
build(t, r, n) {
|
986
989
|
const s = new Gi({
|
@@ -1080,54 +1083,54 @@ function kn(e) {
|
|
1080
1083
|
let o = { pages: [], pageParams: [] }, c = 0;
|
1081
1084
|
const l = async () => {
|
1082
1085
|
let g = !1;
|
1083
|
-
const
|
1084
|
-
Object.defineProperty(
|
1086
|
+
const E = (A) => {
|
1087
|
+
Object.defineProperty(A, "signal", {
|
1085
1088
|
enumerable: !0,
|
1086
1089
|
get: () => (t.signal.aborted ? g = !0 : t.signal.addEventListener("abort", () => {
|
1087
1090
|
g = !0;
|
1088
1091
|
}), t.signal)
|
1089
1092
|
});
|
1090
|
-
},
|
1093
|
+
}, I = ls(t.options, t.fetchOptions), O = async (A, k, C) => {
|
1091
1094
|
if (g)
|
1092
1095
|
return Promise.reject();
|
1093
|
-
if (
|
1094
|
-
return Promise.resolve(
|
1096
|
+
if (k == null && A.pages.length)
|
1097
|
+
return Promise.resolve(A);
|
1095
1098
|
const M = {
|
1096
1099
|
client: t.client,
|
1097
1100
|
queryKey: t.queryKey,
|
1098
|
-
pageParam:
|
1101
|
+
pageParam: k,
|
1099
1102
|
direction: C ? "backward" : "forward",
|
1100
1103
|
meta: t.options.meta
|
1101
1104
|
};
|
1102
|
-
|
1103
|
-
const H = await
|
1105
|
+
E(M);
|
1106
|
+
const H = await I(
|
1104
1107
|
M
|
1105
|
-
), { maxPages:
|
1108
|
+
), { maxPages: R } = t.options, w = C ? Di : xi;
|
1106
1109
|
return {
|
1107
|
-
pages: A
|
1108
|
-
pageParams: A
|
1110
|
+
pages: w(A.pages, H, R),
|
1111
|
+
pageParams: w(A.pageParams, k, R)
|
1109
1112
|
};
|
1110
1113
|
};
|
1111
1114
|
if (s && i.length) {
|
1112
|
-
const
|
1115
|
+
const A = s === "backward", k = A ? Ji : Rn, C = {
|
1113
1116
|
pages: i,
|
1114
1117
|
pageParams: a
|
1115
|
-
}, M =
|
1116
|
-
o = await O(C, M,
|
1118
|
+
}, M = k(n, C);
|
1119
|
+
o = await O(C, M, A);
|
1117
1120
|
} else {
|
1118
|
-
const
|
1121
|
+
const A = e ?? i.length;
|
1119
1122
|
do {
|
1120
|
-
const
|
1121
|
-
if (c > 0 &&
|
1123
|
+
const k = c === 0 ? a[0] ?? n.initialPageParam : Rn(n, o);
|
1124
|
+
if (c > 0 && k == null)
|
1122
1125
|
break;
|
1123
|
-
o = await O(o,
|
1124
|
-
} while (c <
|
1126
|
+
o = await O(o, k), c++;
|
1127
|
+
} while (c < A);
|
1125
1128
|
}
|
1126
1129
|
return o;
|
1127
1130
|
};
|
1128
1131
|
t.options.persister ? t.fetchFn = () => {
|
1129
|
-
var g,
|
1130
|
-
return (
|
1132
|
+
var g, E;
|
1133
|
+
return (E = (g = t.options).persister) == null ? void 0 : E.call(
|
1131
1134
|
g,
|
1132
1135
|
l,
|
1133
1136
|
{
|
@@ -1155,31 +1158,31 @@ function Ji(e, { pages: t, pageParams: r }) {
|
|
1155
1158
|
var n;
|
1156
1159
|
return t.length > 0 ? (n = e.getPreviousPageParam) == null ? void 0 : n.call(e, t[0], t, r[0], r) : void 0;
|
1157
1160
|
}
|
1158
|
-
var
|
1161
|
+
var $, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
1159
1162
|
constructor(e = {}) {
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1163
|
+
T(this, $);
|
1164
|
+
T(this, Pe);
|
1165
|
+
T(this, xe);
|
1166
|
+
T(this, ct);
|
1167
|
+
T(this, lt);
|
1168
|
+
T(this, De);
|
1169
|
+
T(this, ut);
|
1170
|
+
T(this, dt);
|
1171
|
+
v(this, $, e.queryCache || new ji()), v(this, Pe, e.mutationCache || new Wi()), v(this, xe, e.defaultOptions || {}), v(this, ct, /* @__PURE__ */ new Map()), v(this, lt, /* @__PURE__ */ new Map()), v(this, De, 0);
|
1169
1172
|
}
|
1170
1173
|
mount() {
|
1171
|
-
Wt(this, De)._++, f(this, De) === 1 && (
|
1172
|
-
e && (await this.resumePausedMutations(), f(this,
|
1173
|
-
})),
|
1174
|
-
e && (await this.resumePausedMutations(), f(this,
|
1174
|
+
Wt(this, De)._++, f(this, De) === 1 && (v(this, ut, us.subscribe(async (e) => {
|
1175
|
+
e && (await this.resumePausedMutations(), f(this, $).onFocus());
|
1176
|
+
})), v(this, dt, Nt.subscribe(async (e) => {
|
1177
|
+
e && (await this.resumePausedMutations(), f(this, $).onOnline());
|
1175
1178
|
})));
|
1176
1179
|
}
|
1177
1180
|
unmount() {
|
1178
1181
|
var e, t;
|
1179
|
-
Wt(this, De)._--, f(this, De) === 0 && ((e = f(this, ut)) == null || e.call(this),
|
1182
|
+
Wt(this, De)._--, f(this, De) === 0 && ((e = f(this, ut)) == null || e.call(this), v(this, ut, void 0), (t = f(this, dt)) == null || t.call(this), v(this, dt, void 0));
|
1180
1183
|
}
|
1181
1184
|
isFetching(e) {
|
1182
|
-
return f(this,
|
1185
|
+
return f(this, $).findAll({ ...e, fetchStatus: "fetching" }).length;
|
1183
1186
|
}
|
1184
1187
|
isMutating(e) {
|
1185
1188
|
return f(this, Pe).findAll({ ...e, status: "pending" }).length;
|
@@ -1194,28 +1197,28 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1194
1197
|
getQueryData(e) {
|
1195
1198
|
var r;
|
1196
1199
|
const t = this.defaultQueryOptions({ queryKey: e });
|
1197
|
-
return (r = f(this,
|
1200
|
+
return (r = f(this, $).get(t.queryHash)) == null ? void 0 : r.state.data;
|
1198
1201
|
}
|
1199
1202
|
ensureQueryData(e) {
|
1200
|
-
const t = this.defaultQueryOptions(e), r = f(this,
|
1203
|
+
const t = this.defaultQueryOptions(e), r = f(this, $).build(this, t), n = r.state.data;
|
1201
1204
|
return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(En(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(n));
|
1202
1205
|
}
|
1203
1206
|
getQueriesData(e) {
|
1204
|
-
return f(this,
|
1207
|
+
return f(this, $).findAll(e).map(({ queryKey: t, state: r }) => {
|
1205
1208
|
const n = r.data;
|
1206
1209
|
return [t, n];
|
1207
1210
|
});
|
1208
1211
|
}
|
1209
1212
|
setQueryData(e, t, r) {
|
1210
|
-
const n = this.defaultQueryOptions({ queryKey: e }), s = f(this,
|
1213
|
+
const n = this.defaultQueryOptions({ queryKey: e }), s = f(this, $).get(
|
1211
1214
|
n.queryHash
|
1212
1215
|
), i = s == null ? void 0 : s.state.data, a = Ri(t, i);
|
1213
1216
|
if (a !== void 0)
|
1214
|
-
return f(this,
|
1217
|
+
return f(this, $).build(this, n).setData(a, { ...r, manual: !0 });
|
1215
1218
|
}
|
1216
1219
|
setQueriesData(e, t, r) {
|
1217
1220
|
return te.batch(
|
1218
|
-
() => f(this,
|
1221
|
+
() => f(this, $).findAll(e).map(({ queryKey: n }) => [
|
1219
1222
|
n,
|
1220
1223
|
this.setQueryData(n, t, r)
|
1221
1224
|
])
|
@@ -1224,12 +1227,12 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1224
1227
|
getQueryState(e) {
|
1225
1228
|
var r;
|
1226
1229
|
const t = this.defaultQueryOptions({ queryKey: e });
|
1227
|
-
return (r = f(this,
|
1230
|
+
return (r = f(this, $).get(
|
1228
1231
|
t.queryHash
|
1229
1232
|
)) == null ? void 0 : r.state;
|
1230
1233
|
}
|
1231
1234
|
removeQueries(e) {
|
1232
|
-
const t = f(this,
|
1235
|
+
const t = f(this, $);
|
1233
1236
|
te.batch(() => {
|
1234
1237
|
t.findAll(e).forEach((r) => {
|
1235
1238
|
t.remove(r);
|
@@ -1237,7 +1240,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1237
1240
|
});
|
1238
1241
|
}
|
1239
1242
|
resetQueries(e, t) {
|
1240
|
-
const r = f(this,
|
1243
|
+
const r = f(this, $);
|
1241
1244
|
return te.batch(() => (r.findAll(e).forEach((n) => {
|
1242
1245
|
n.reset();
|
1243
1246
|
}), this.refetchQueries(
|
@@ -1250,12 +1253,12 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1250
1253
|
}
|
1251
1254
|
cancelQueries(e, t = {}) {
|
1252
1255
|
const r = { revert: !0, ...t }, n = te.batch(
|
1253
|
-
() => f(this,
|
1256
|
+
() => f(this, $).findAll(e).map((s) => s.cancel(r))
|
1254
1257
|
);
|
1255
1258
|
return Promise.all(n).then(oe).catch(oe);
|
1256
1259
|
}
|
1257
1260
|
invalidateQueries(e, t = {}) {
|
1258
|
-
return te.batch(() => (f(this,
|
1261
|
+
return te.batch(() => (f(this, $).findAll(e).forEach((r) => {
|
1259
1262
|
r.invalidate();
|
1260
1263
|
}), (e == null ? void 0 : e.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
|
1261
1264
|
{
|
@@ -1270,7 +1273,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1270
1273
|
...t,
|
1271
1274
|
cancelRefetch: t.cancelRefetch ?? !0
|
1272
1275
|
}, n = te.batch(
|
1273
|
-
() => f(this,
|
1276
|
+
() => f(this, $).findAll(e).filter((s) => !s.isDisabled()).map((s) => {
|
1274
1277
|
let i = s.fetch(void 0, r);
|
1275
1278
|
return r.throwOnError || (i = i.catch(oe)), s.state.fetchStatus === "paused" ? Promise.resolve() : i;
|
1276
1279
|
})
|
@@ -1280,7 +1283,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1280
1283
|
fetchQuery(e) {
|
1281
1284
|
const t = this.defaultQueryOptions(e);
|
1282
1285
|
t.retry === void 0 && (t.retry = !1);
|
1283
|
-
const r = f(this,
|
1286
|
+
const r = f(this, $).build(this, t);
|
1284
1287
|
return r.isStaleByTime(
|
1285
1288
|
En(t.staleTime, r)
|
1286
1289
|
) ? r.fetch(t) : Promise.resolve(r.state.data);
|
@@ -1301,7 +1304,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1301
1304
|
return Nt.isOnline() ? f(this, Pe).resumePausedMutations() : Promise.resolve();
|
1302
1305
|
}
|
1303
1306
|
getQueryCache() {
|
1304
|
-
return f(this,
|
1307
|
+
return f(this, $);
|
1305
1308
|
}
|
1306
1309
|
getMutationCache() {
|
1307
1310
|
return f(this, Pe);
|
@@ -1310,7 +1313,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1310
1313
|
return f(this, xe);
|
1311
1314
|
}
|
1312
1315
|
setDefaultOptions(e) {
|
1313
|
-
|
1316
|
+
v(this, xe, e);
|
1314
1317
|
}
|
1315
1318
|
setQueryDefaults(e, t) {
|
1316
1319
|
f(this, ct).set(Ct(e), {
|
@@ -1359,9 +1362,9 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1359
1362
|
};
|
1360
1363
|
}
|
1361
1364
|
clear() {
|
1362
|
-
f(this,
|
1365
|
+
f(this, $).clear(), f(this, Pe).clear();
|
1363
1366
|
}
|
1364
|
-
},
|
1367
|
+
}, $ = new WeakMap(), Pe = new WeakMap(), xe = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), De = new WeakMap(), ut = new WeakMap(), dt = new WeakMap(), ss), ms = ae.createContext(
|
1365
1368
|
void 0
|
1366
1369
|
), Qi = (e) => {
|
1367
1370
|
const t = ae.useContext(ms);
|
@@ -1382,19 +1385,19 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
|
|
1382
1385
|
cleanups: null,
|
1383
1386
|
context: null,
|
1384
1387
|
owner: null
|
1385
|
-
}, xr = {},
|
1388
|
+
}, xr = {}, N = null, L = null, Y = null, Ie = null, Tr = 0;
|
1386
1389
|
function qe(e, t) {
|
1387
|
-
const r = L, n =
|
1390
|
+
const r = L, n = N, s = e.length === 0, i = t === void 0 ? n : t, a = s ? bs : {
|
1388
1391
|
owned: null,
|
1389
1392
|
cleanups: null,
|
1390
1393
|
context: i ? i.context : null,
|
1391
1394
|
owner: i
|
1392
1395
|
}, o = s ? e : () => e(() => W(() => xt(a)));
|
1393
|
-
|
1396
|
+
N = a, L = null;
|
1394
1397
|
try {
|
1395
1398
|
return be(o, !0);
|
1396
1399
|
} finally {
|
1397
|
-
L = r,
|
1400
|
+
L = r, N = n;
|
1398
1401
|
}
|
1399
1402
|
}
|
1400
1403
|
function ne(e, t) {
|
@@ -1432,48 +1435,48 @@ function ta(e, t, r) {
|
|
1432
1435
|
let n, s, i;
|
1433
1436
|
n = !0, s = e, i = {};
|
1434
1437
|
let a = null, o = xr, c = !1, l = "initialValue" in i, d = typeof n == "function" && q(n);
|
1435
|
-
const u = /* @__PURE__ */ new Set(), [h, y] = (i.storage || ne)(i.initialValue), [m, g] = ne(void 0), [
|
1438
|
+
const u = /* @__PURE__ */ new Set(), [h, y] = (i.storage || ne)(i.initialValue), [m, g] = ne(void 0), [E, I] = ne(void 0, {
|
1436
1439
|
equals: !1
|
1437
|
-
}), [O,
|
1438
|
-
function R
|
1439
|
-
return a ===
|
1440
|
-
() => i.onHydrated(
|
1441
|
-
value:
|
1440
|
+
}), [O, A] = ne(l ? "ready" : "unresolved");
|
1441
|
+
function k(R, w, _, P) {
|
1442
|
+
return a === R && (a = null, P !== void 0 && (l = !0), (R === o || w === o) && i.onHydrated && queueMicrotask(
|
1443
|
+
() => i.onHydrated(P, {
|
1444
|
+
value: w
|
1442
1445
|
})
|
1443
|
-
), o = xr, C(
|
1446
|
+
), o = xr, C(w, _)), w;
|
1444
1447
|
}
|
1445
|
-
function C(
|
1448
|
+
function C(R, w) {
|
1446
1449
|
be(() => {
|
1447
|
-
|
1448
|
-
for (const
|
1450
|
+
w === void 0 && y(() => R), A(w !== void 0 ? "errored" : l ? "ready" : "unresolved"), g(w);
|
1451
|
+
for (const _ of u.keys()) _.decrement();
|
1449
1452
|
u.clear();
|
1450
1453
|
}, !1);
|
1451
1454
|
}
|
1452
1455
|
function M() {
|
1453
|
-
const
|
1454
|
-
if (
|
1455
|
-
return
|
1456
|
+
const R = h(), w = m();
|
1457
|
+
if (w !== void 0 && !a) throw w;
|
1458
|
+
return R;
|
1456
1459
|
}
|
1457
|
-
function H(
|
1458
|
-
if (
|
1460
|
+
function H(R = !0) {
|
1461
|
+
if (R !== !1 && c) return;
|
1459
1462
|
c = !1;
|
1460
|
-
const
|
1461
|
-
if (
|
1462
|
-
|
1463
|
+
const w = d ? d() : n;
|
1464
|
+
if (w == null || w === !1) {
|
1465
|
+
k(a, W(h));
|
1463
1466
|
return;
|
1464
1467
|
}
|
1465
|
-
const
|
1466
|
-
() => s(
|
1468
|
+
const _ = o !== xr ? o : W(
|
1469
|
+
() => s(w, {
|
1467
1470
|
value: h(),
|
1468
|
-
refetching:
|
1471
|
+
refetching: R
|
1469
1472
|
})
|
1470
1473
|
);
|
1471
|
-
return ea(
|
1472
|
-
|
1473
|
-
}, !1),
|
1474
|
-
(
|
1475
|
-
(
|
1476
|
-
))) : (
|
1474
|
+
return ea(_) ? (a = _, "value" in _ ? (_.status === "success" ? k(a, _.value, void 0, w) : k(a, void 0, zr(_.value), w), _) : (c = !0, queueMicrotask(() => c = !1), be(() => {
|
1475
|
+
A(l ? "refreshing" : "pending"), I();
|
1476
|
+
}, !1), _.then(
|
1477
|
+
(P) => k(_, P, void 0, w),
|
1478
|
+
(P) => k(_, void 0, zr(P), w)
|
1479
|
+
))) : (k(a, _, void 0, w), _);
|
1477
1480
|
}
|
1478
1481
|
return Object.defineProperties(M, {
|
1479
1482
|
state: {
|
@@ -1484,15 +1487,15 @@ function ta(e, t, r) {
|
|
1484
1487
|
},
|
1485
1488
|
loading: {
|
1486
1489
|
get() {
|
1487
|
-
const
|
1488
|
-
return
|
1490
|
+
const R = O();
|
1491
|
+
return R === "pending" || R === "refreshing";
|
1489
1492
|
}
|
1490
1493
|
},
|
1491
1494
|
latest: {
|
1492
1495
|
get() {
|
1493
1496
|
if (!l) return M();
|
1494
|
-
const
|
1495
|
-
if (
|
1497
|
+
const R = m();
|
1498
|
+
if (R && !a) throw R;
|
1496
1499
|
return h();
|
1497
1500
|
}
|
1498
1501
|
}
|
@@ -1536,28 +1539,28 @@ function ra(e) {
|
|
1536
1539
|
ws(() => W(e));
|
1537
1540
|
}
|
1538
1541
|
function Pt(e) {
|
1539
|
-
return
|
1542
|
+
return N === null || (N.cleanups === null ? N.cleanups = [e] : N.cleanups.push(e)), e;
|
1540
1543
|
}
|
1541
1544
|
function na() {
|
1542
|
-
return
|
1545
|
+
return N;
|
1543
1546
|
}
|
1544
1547
|
function sa(e, t) {
|
1545
|
-
const r =
|
1546
|
-
|
1548
|
+
const r = N, n = L;
|
1549
|
+
N = e, L = null;
|
1547
1550
|
try {
|
1548
1551
|
return be(t, !0);
|
1549
1552
|
} catch (s) {
|
1550
1553
|
fn(s);
|
1551
1554
|
} finally {
|
1552
|
-
|
1555
|
+
N = r, L = n;
|
1553
1556
|
}
|
1554
1557
|
}
|
1555
1558
|
function ia(e) {
|
1556
|
-
const t = L, r =
|
1559
|
+
const t = L, r = N;
|
1557
1560
|
return Promise.resolve().then(() => {
|
1558
|
-
L = t,
|
1561
|
+
L = t, N = r;
|
1559
1562
|
let n;
|
1560
|
-
return be(e, !1), L =
|
1563
|
+
return be(e, !1), L = N = null, n ? n.done : void 0;
|
1561
1564
|
});
|
1562
1565
|
}
|
1563
1566
|
var [aa, bu] = /* @__PURE__ */ ne(!1);
|
@@ -1574,7 +1577,7 @@ function vu(e, t) {
|
|
1574
1577
|
}
|
1575
1578
|
function Eu(e) {
|
1576
1579
|
let t;
|
1577
|
-
return
|
1580
|
+
return N && N.context && (t = N.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1578
1581
|
}
|
1579
1582
|
function vs(e) {
|
1580
1583
|
const t = q(e), r = q(() => Qr(t()));
|
@@ -1619,14 +1622,14 @@ function St(e) {
|
|
1619
1622
|
}
|
1620
1623
|
function oa(e, t, r) {
|
1621
1624
|
let n;
|
1622
|
-
const s =
|
1623
|
-
L =
|
1625
|
+
const s = N, i = L;
|
1626
|
+
L = N = e;
|
1624
1627
|
try {
|
1625
1628
|
n = e.fn(t);
|
1626
1629
|
} catch (a) {
|
1627
1630
|
return e.pure && (e.state = Re, e.owned && e.owned.forEach(xt), e.owned = null), e.updatedAt = r + 1, fn(a);
|
1628
1631
|
} finally {
|
1629
|
-
L = i,
|
1632
|
+
L = i, N = s;
|
1630
1633
|
}
|
1631
1634
|
(!e.updatedAt || e.updatedAt <= r) && (e.updatedAt != null && "observers" in e ? Ss(e, n) : e.value = n, e.updatedAt = r);
|
1632
1635
|
}
|
@@ -1640,11 +1643,11 @@ function Ir(e, t, r, n = Re, s) {
|
|
1640
1643
|
sourceSlots: null,
|
1641
1644
|
cleanups: null,
|
1642
1645
|
value: t,
|
1643
|
-
owner:
|
1644
|
-
context:
|
1646
|
+
owner: N,
|
1647
|
+
context: N ? N.context : null,
|
1645
1648
|
pure: r
|
1646
1649
|
};
|
1647
|
-
return
|
1650
|
+
return N === null || N !== bs && (N.owned ? N.owned.push(i) : N.owned = [i]), i;
|
1648
1651
|
}
|
1649
1652
|
function mr(e) {
|
1650
1653
|
if (e.state === 0) return;
|
@@ -1733,7 +1736,7 @@ function zr(e) {
|
|
1733
1736
|
cause: e
|
1734
1737
|
});
|
1735
1738
|
}
|
1736
|
-
function fn(e, t =
|
1739
|
+
function fn(e, t = N) {
|
1737
1740
|
throw zr(e);
|
1738
1741
|
}
|
1739
1742
|
function Qr(e) {
|
@@ -1752,8 +1755,8 @@ function ua(e, t) {
|
|
1752
1755
|
return function(n) {
|
1753
1756
|
let s;
|
1754
1757
|
return We(
|
1755
|
-
() => s = W(() => (
|
1756
|
-
...
|
1758
|
+
() => s = W(() => (N.context = {
|
1759
|
+
...N.context,
|
1757
1760
|
[e]: n.value
|
1758
1761
|
}, vs(() => n.children))),
|
1759
1762
|
void 0
|
@@ -1769,7 +1772,7 @@ function da(e, t, r = {}) {
|
|
1769
1772
|
return Pt(() => gr(i)), () => {
|
1770
1773
|
let c = e() || [], l = c.length, d, u;
|
1771
1774
|
return W(() => {
|
1772
|
-
let y, m, g,
|
1775
|
+
let y, m, g, E, I, O, A, k, C;
|
1773
1776
|
if (l === 0)
|
1774
1777
|
a !== 0 && (gr(i), i = [], n = [], s = [], a = 0, o && (o = [])), r.fallback && (n = [Yr], s[0] = qe((M) => (i[0] = M, r.fallback())), a = 1);
|
1775
1778
|
else if (a === 0) {
|
@@ -1777,15 +1780,15 @@ function da(e, t, r = {}) {
|
|
1777
1780
|
n[u] = c[u], s[u] = qe(h);
|
1778
1781
|
a = l;
|
1779
1782
|
} else {
|
1780
|
-
for (g = new Array(l),
|
1781
|
-
for (
|
1782
|
-
g[
|
1783
|
-
for (y = /* @__PURE__ */ new Map(), m = new Array(
|
1783
|
+
for (g = new Array(l), E = new Array(l), o && (I = new Array(l)), O = 0, A = Math.min(a, l); O < A && n[O] === c[O]; O++) ;
|
1784
|
+
for (A = a - 1, k = l - 1; A >= O && k >= O && n[A] === c[k]; A--, k--)
|
1785
|
+
g[k] = s[A], E[k] = i[A], o && (I[k] = o[A]);
|
1786
|
+
for (y = /* @__PURE__ */ new Map(), m = new Array(k + 1), u = k; u >= O; u--)
|
1784
1787
|
C = c[u], d = y.get(C), m[u] = d === void 0 ? -1 : d, y.set(C, u);
|
1785
|
-
for (d = O; d <=
|
1786
|
-
C = n[d], u = y.get(C), u !== void 0 && u !== -1 ? (g[u] = s[d],
|
1788
|
+
for (d = O; d <= A; d++)
|
1789
|
+
C = n[d], u = y.get(C), u !== void 0 && u !== -1 ? (g[u] = s[d], E[u] = i[d], o && (I[u] = o[d]), u = m[u], y.set(C, u)) : i[d]();
|
1787
1790
|
for (u = O; u < l; u++)
|
1788
|
-
u in g ? (s[u] = g[u], i[u] =
|
1791
|
+
u in g ? (s[u] = g[u], i[u] = E[u], o && (o[u] = I[u], o[u](u))) : s[u] = qe(h);
|
1789
1792
|
s = s.slice(0, a = l), n = c.slice(0);
|
1790
1793
|
}
|
1791
1794
|
return s;
|
@@ -2343,13 +2346,13 @@ function Ma(e, t, r) {
|
|
2343
2346
|
s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
|
2344
2347
|
return r;
|
2345
2348
|
}
|
2346
|
-
function
|
2349
|
+
function Ua(e, t = {}, r, n) {
|
2347
2350
|
const s = {};
|
2348
2351
|
return n || We(
|
2349
2352
|
() => s.children = Dt(e, t.children, s.children)
|
2350
|
-
), We(() => typeof t.ref == "function" &&
|
2353
|
+
), We(() => typeof t.ref == "function" && $a(t.ref, e)), We(() => Ka(e, t, r, !0, s, !0)), s;
|
2351
2354
|
}
|
2352
|
-
function
|
2355
|
+
function $a(e, t, r) {
|
2353
2356
|
return W(() => e(t, r));
|
2354
2357
|
}
|
2355
2358
|
function en(e, t, r, n) {
|
@@ -2567,7 +2570,7 @@ function Ba(e, t) {
|
|
2567
2570
|
return W(() => n(t));
|
2568
2571
|
case "string":
|
2569
2572
|
const s = ka.has(n), i = Rs(n, s);
|
2570
|
-
return
|
2573
|
+
return Ua(i, t, s), i;
|
2571
2574
|
}
|
2572
2575
|
});
|
2573
2576
|
}
|
@@ -2663,7 +2666,7 @@ var Wa = class {
|
|
2663
2666
|
findByName(e) {
|
2664
2667
|
return this.transfomers[e];
|
2665
2668
|
}
|
2666
|
-
}, Ja = (e) => Object.prototype.toString.call(e).slice(8, -1), Cs = (e) => typeof e > "u", za = (e) => e === null, Lt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, rn = (e) => Lt(e) && Object.keys(e).length === 0,
|
2669
|
+
}, Ja = (e) => Object.prototype.toString.call(e).slice(8, -1), Cs = (e) => typeof e > "u", za = (e) => e === null, Lt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, rn = (e) => Lt(e) && Object.keys(e).length === 0, Ue = (e) => Array.isArray(e), Qa = (e) => typeof e == "string", Ya = (e) => typeof e == "number" && !isNaN(e), Xa = (e) => typeof e == "boolean", Za = (e) => e instanceof RegExp, Mt = (e) => e instanceof Map, Ut = (e) => e instanceof Set, _s = (e) => Ja(e) === "Symbol", eo = (e) => e instanceof Date && !isNaN(e.valueOf()), to = (e) => e instanceof Error, Pn = (e) => typeof e == "number" && isNaN(e), ro = (e) => Xa(e) || za(e) || Cs(e) || Ya(e) || Qa(e) || _s(e), no = (e) => typeof e == "bigint", so = (e) => e === 1 / 0 || e === -1 / 0, io = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ao = (e) => e instanceof URL, Ns = (e) => e.replace(/\./g, "\\."), Lr = (e) => e.map(String).map(Ns).join("."), kt = (e) => {
|
2667
2670
|
const t = [];
|
2668
2671
|
let r = "";
|
2669
2672
|
for (let s = 0; s < e.length; s++) {
|
@@ -2713,7 +2716,7 @@ var Ps = [
|
|
2713
2716
|
return new RegExp(t, r);
|
2714
2717
|
}),
|
2715
2718
|
de(
|
2716
|
-
|
2719
|
+
Ut,
|
2717
2720
|
"set",
|
2718
2721
|
// (sets only exist in es6+)
|
2719
2722
|
// eslint-disable-next-line es5/no-es6-methods
|
@@ -2770,12 +2773,12 @@ var Ms = kr(Ls, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
|
|
2770
2773
|
if (!n)
|
2771
2774
|
throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
|
2772
2775
|
return Object.assign(Object.create(n.prototype), e);
|
2773
|
-
}),
|
2776
|
+
}), Us = kr((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, r) => {
|
2774
2777
|
const n = r.customTransformerRegistry.findByName(t[1]);
|
2775
2778
|
if (!n)
|
2776
2779
|
throw new Error("Trying to deserialize unknown custom value");
|
2777
2780
|
return n.deserialize(e);
|
2778
|
-
}), co = [Ms, xs,
|
2781
|
+
}), co = [Ms, xs, Us, Ds], xn = (e, t) => {
|
2779
2782
|
const r = Nn(co, (s) => s.isApplicable(e, t));
|
2780
2783
|
if (r)
|
2781
2784
|
return {
|
@@ -2788,26 +2791,26 @@ var Ms = kr(Ls, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
|
|
2788
2791
|
value: n.transform(e, t),
|
2789
2792
|
type: n.annotation
|
2790
2793
|
};
|
2791
|
-
},
|
2794
|
+
}, $s = {};
|
2792
2795
|
Ps.forEach((e) => {
|
2793
|
-
|
2796
|
+
$s[e.annotation] = e;
|
2794
2797
|
});
|
2795
2798
|
var lo = (e, t, r) => {
|
2796
|
-
if (
|
2799
|
+
if (Ue(t))
|
2797
2800
|
switch (t[0]) {
|
2798
2801
|
case "symbol":
|
2799
2802
|
return xs.untransform(e, t, r);
|
2800
2803
|
case "class":
|
2801
2804
|
return Ms.untransform(e, t, r);
|
2802
2805
|
case "custom":
|
2803
|
-
return
|
2806
|
+
return Us.untransform(e, t, r);
|
2804
2807
|
case "typed-array":
|
2805
2808
|
return Ds.untransform(e, t, r);
|
2806
2809
|
default:
|
2807
2810
|
throw new Error("Unknown transformation: " + t);
|
2808
2811
|
}
|
2809
2812
|
else {
|
2810
|
-
const n =
|
2813
|
+
const n = $s[t];
|
2811
2814
|
if (!n)
|
2812
2815
|
throw new Error("Unknown transformation: " + t);
|
2813
2816
|
return n.untransform(e, r);
|
@@ -2830,7 +2833,7 @@ var uo = (e, t) => {
|
|
2830
2833
|
Ks(t);
|
2831
2834
|
for (let r = 0; r < t.length; r++) {
|
2832
2835
|
const n = t[r];
|
2833
|
-
if (
|
2836
|
+
if (Ut(e))
|
2834
2837
|
e = rt(e, +n);
|
2835
2838
|
else if (Mt(e)) {
|
2836
2839
|
const s = +n, i = +t[++r] == 0 ? "key" : "value", a = rt(e, s);
|
@@ -2852,12 +2855,12 @@ var uo = (e, t) => {
|
|
2852
2855
|
let n = e;
|
2853
2856
|
for (let i = 0; i < t.length - 1; i++) {
|
2854
2857
|
const a = t[i];
|
2855
|
-
if (
|
2858
|
+
if (Ue(n)) {
|
2856
2859
|
const o = +a;
|
2857
2860
|
n = n[o];
|
2858
2861
|
} else if (Lt(n))
|
2859
2862
|
n = n[a];
|
2860
|
-
else if (
|
2863
|
+
else if (Ut(n)) {
|
2861
2864
|
const o = +a;
|
2862
2865
|
n = rt(n, o);
|
2863
2866
|
} else if (Mt(n)) {
|
@@ -2875,7 +2878,7 @@ var uo = (e, t) => {
|
|
2875
2878
|
}
|
2876
2879
|
}
|
2877
2880
|
const s = t[t.length - 1];
|
2878
|
-
if (
|
2881
|
+
if (Ue(n) ? n[+s] = r(n[+s]) : Lt(n) && (n[s] = r(n[s])), Ut(n)) {
|
2879
2882
|
const i = rt(n, +s), a = r(i);
|
2880
2883
|
i !== a && (n.delete(i), n.add(a));
|
2881
2884
|
}
|
@@ -2898,7 +2901,7 @@ var uo = (e, t) => {
|
|
2898
2901
|
function sn(e, t, r = []) {
|
2899
2902
|
if (!e)
|
2900
2903
|
return;
|
2901
|
-
if (
|
2904
|
+
if (!Ue(e)) {
|
2902
2905
|
wt(e, (i, a) => sn(i, t, [...r, ...kt(a)]));
|
2903
2906
|
return;
|
2904
2907
|
}
|
@@ -2919,7 +2922,7 @@ function ho(e, t) {
|
|
2919
2922
|
e = nn(e, a, () => i);
|
2920
2923
|
});
|
2921
2924
|
}
|
2922
|
-
if (
|
2925
|
+
if (Ue(t)) {
|
2923
2926
|
const [n, s] = t;
|
2924
2927
|
n.forEach((i) => {
|
2925
2928
|
e = nn(e, kt(i), () => e);
|
@@ -2928,7 +2931,7 @@ function ho(e, t) {
|
|
2928
2931
|
wt(t, r);
|
2929
2932
|
return e;
|
2930
2933
|
}
|
2931
|
-
var yo = (e, t) => Lt(e) ||
|
2934
|
+
var yo = (e, t) => Lt(e) || Ue(e) || Mt(e) || Ut(e) || Ls(e, t);
|
2932
2935
|
function mo(e, t, r) {
|
2933
2936
|
const n = r.get(e);
|
2934
2937
|
n ? n.push(t) : r.set(e, [t]);
|
@@ -2967,13 +2970,13 @@ var Hs = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
|
|
2967
2970
|
return {
|
2968
2971
|
transformedValue: null
|
2969
2972
|
};
|
2970
|
-
const c = xn(e, r), l = (c == null ? void 0 : c.value) ?? e, d =
|
2973
|
+
const c = xn(e, r), l = (c == null ? void 0 : c.value) ?? e, d = Ue(l) ? [] : {}, u = {};
|
2971
2974
|
wt(l, (y, m) => {
|
2972
2975
|
if (m === "__proto__" || m === "constructor" || m === "prototype")
|
2973
2976
|
throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);
|
2974
2977
|
const g = Hs(y, t, r, n, [...s, m], [...i, e], a);
|
2975
|
-
d[m] = g.transformedValue,
|
2976
|
-
u[Ns(m) + "." +
|
2978
|
+
d[m] = g.transformedValue, Ue(g.annotations) ? u[m] = g.annotations : Lt(g.annotations) && wt(g.annotations, (E, I) => {
|
2979
|
+
u[Ns(m) + "." + I] = E;
|
2977
2980
|
});
|
2978
2981
|
});
|
2979
2982
|
const h = rn(u) ? {
|
@@ -3096,10 +3099,10 @@ function Mu({
|
|
3096
3099
|
}) {
|
3097
3100
|
return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
|
3098
3101
|
}
|
3099
|
-
function
|
3102
|
+
function Uu(e) {
|
3100
3103
|
return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
|
3101
3104
|
}
|
3102
|
-
var
|
3105
|
+
var $u = (e, t = !1) => {
|
3103
3106
|
const {
|
3104
3107
|
json: r
|
3105
3108
|
} = wo(e);
|
@@ -3187,19 +3190,19 @@ var Uu = (e, t = !1) => {
|
|
3187
3190
|
n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
|
3188
3191
|
}, ft, Ft, Bt, Vt, Ge, jt, ht, yt, mt, pt, gt, bt, Gt, is, To = (is = class {
|
3189
3192
|
constructor(e) {
|
3190
|
-
|
3191
|
-
|
3192
|
-
|
3193
|
-
|
3194
|
-
|
3195
|
-
|
3196
|
-
|
3197
|
-
|
3198
|
-
|
3199
|
-
|
3200
|
-
|
3201
|
-
|
3202
|
-
|
3193
|
+
T(this, ft);
|
3194
|
+
T(this, Ft);
|
3195
|
+
T(this, Bt);
|
3196
|
+
T(this, Vt);
|
3197
|
+
T(this, Ge, !1);
|
3198
|
+
T(this, jt);
|
3199
|
+
T(this, ht);
|
3200
|
+
T(this, yt);
|
3201
|
+
T(this, mt);
|
3202
|
+
T(this, pt);
|
3203
|
+
T(this, gt);
|
3204
|
+
T(this, bt);
|
3205
|
+
T(this, Gt);
|
3203
3206
|
const {
|
3204
3207
|
client: t,
|
3205
3208
|
queryFlavor: r,
|
@@ -3212,7 +3215,7 @@ var Uu = (e, t = !1) => {
|
|
3212
3215
|
styleNonce: l,
|
3213
3216
|
shadowDOMTarget: d
|
3214
3217
|
} = e;
|
3215
|
-
|
3218
|
+
v(this, ft, ne(t)), v(this, Bt, r), v(this, Vt, n), v(this, Ft, s), v(this, jt, l), v(this, ht, d), v(this, yt, ne(i)), v(this, mt, ne(a)), v(this, pt, ne(o)), v(this, gt, ne(c));
|
3216
3219
|
}
|
3217
3220
|
setButtonPosition(e) {
|
3218
3221
|
f(this, yt)[1](e);
|
@@ -3235,7 +3238,7 @@ var Uu = (e, t = !1) => {
|
|
3235
3238
|
const t = Ca(() => {
|
3236
3239
|
const r = this, [n] = f(this, yt), [s] = f(this, mt), [i] = f(this, pt), [a] = f(this, gt), [o] = f(this, ft);
|
3237
3240
|
let c;
|
3238
|
-
return f(this, bt) ? c = f(this, bt) : (c = ga(() => import("./
|
3241
|
+
return f(this, bt) ? c = f(this, bt) : (c = ga(() => import("./C2Q2AJ2U.cnyJsZhS.js")), v(this, bt, c)), Ao(f(this, jt), f(this, ht)), ha(c, ma({
|
3239
3242
|
get queryFlavor() {
|
3240
3243
|
return f(r, Bt);
|
3241
3244
|
},
|
@@ -3266,13 +3269,13 @@ var Uu = (e, t = !1) => {
|
|
3266
3269
|
}
|
3267
3270
|
}));
|
3268
3271
|
}, e);
|
3269
|
-
|
3272
|
+
v(this, Ge, !0), v(this, Gt, t);
|
3270
3273
|
}
|
3271
3274
|
unmount() {
|
3272
3275
|
var e;
|
3273
3276
|
if (!f(this, Ge))
|
3274
3277
|
throw new Error("Devtools is not mounted");
|
3275
|
-
(e = f(this, Gt)) == null || e.call(this),
|
3278
|
+
(e = f(this, Gt)) == null || e.call(this), v(this, Ge, !1);
|
3276
3279
|
}
|
3277
3280
|
}, ft = new WeakMap(), Ft = new WeakMap(), Bt = new WeakMap(), Vt = new WeakMap(), Ge = new WeakMap(), jt = new WeakMap(), ht = new WeakMap(), yt = new WeakMap(), mt = new WeakMap(), pt = new WeakMap(), gt = new WeakMap(), bt = new WeakMap(), Gt = new WeakMap(), is);
|
3278
3281
|
function Io(e) {
|
@@ -3523,7 +3526,7 @@ async function xo(e) {
|
|
3523
3526
|
try {
|
3524
3527
|
u = c.getPublicKeyAlgorithm();
|
3525
3528
|
} catch (g) {
|
3526
|
-
|
3529
|
+
Ur("getPublicKeyAlgorithm()", g);
|
3527
3530
|
}
|
3528
3531
|
let h;
|
3529
3532
|
if (typeof c.getPublicKey == "function")
|
@@ -3531,14 +3534,14 @@ async function xo(e) {
|
|
3531
3534
|
const g = c.getPublicKey();
|
3532
3535
|
g !== null && (h = pe(g));
|
3533
3536
|
} catch (g) {
|
3534
|
-
|
3537
|
+
Ur("getPublicKey()", g);
|
3535
3538
|
}
|
3536
3539
|
let y;
|
3537
3540
|
if (typeof c.getAuthenticatorData == "function")
|
3538
3541
|
try {
|
3539
3542
|
y = pe(c.getAuthenticatorData());
|
3540
3543
|
} catch (g) {
|
3541
|
-
|
3544
|
+
Ur("getAuthenticatorData()", g);
|
3542
3545
|
}
|
3543
3546
|
return {
|
3544
3547
|
id: a,
|
@@ -3556,17 +3559,17 @@ async function xo(e) {
|
|
3556
3559
|
authenticatorAttachment: Ws(i.authenticatorAttachment)
|
3557
3560
|
};
|
3558
3561
|
}
|
3559
|
-
function
|
3562
|
+
function Ur(e, t) {
|
3560
3563
|
console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
3561
3564
|
`, t);
|
3562
3565
|
}
|
3563
3566
|
function Do() {
|
3564
3567
|
if (!hn())
|
3565
|
-
return
|
3568
|
+
return $r.stubThis(new Promise((t) => t(!1)));
|
3566
3569
|
const e = globalThis.PublicKeyCredential;
|
3567
|
-
return (e == null ? void 0 : e.isConditionalMediationAvailable) === void 0 ?
|
3570
|
+
return (e == null ? void 0 : e.isConditionalMediationAvailable) === void 0 ? $r.stubThis(new Promise((t) => t(!1))) : $r.stubThis(e.isConditionalMediationAvailable());
|
3568
3571
|
}
|
3569
|
-
const
|
3572
|
+
const $r = {
|
3570
3573
|
stubThis: (e) => e
|
3571
3574
|
};
|
3572
3575
|
function Lo({ error: e, options: t }) {
|
@@ -3655,7 +3658,7 @@ async function Mo(e) {
|
|
3655
3658
|
authenticatorAttachment: Ws(o.authenticatorAttachment)
|
3656
3659
|
};
|
3657
3660
|
}
|
3658
|
-
var
|
3661
|
+
var Uo = Object.defineProperty, $o = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, K = (e, t, r) => $o(e, typeof t != "symbol" ? t + "" : t, r);
|
3659
3662
|
/*!
|
3660
3663
|
@versini/auth-common v4.2.1
|
3661
3664
|
© 2025 gizmette.com
|
@@ -3726,50 +3729,50 @@ function Ot(e) {
|
|
3726
3729
|
throw new TypeError("The input to be decoded is not correctly encoded.");
|
3727
3730
|
}
|
3728
3731
|
}
|
3729
|
-
let
|
3732
|
+
let $e = class extends Error {
|
3730
3733
|
constructor(t, r) {
|
3731
3734
|
var n;
|
3732
3735
|
super(t, r), K(this, "code", "ERR_JOSE_GENERIC"), this.name = this.constructor.name, (n = Error.captureStackTrace) == null || n.call(Error, this, this.constructor);
|
3733
3736
|
}
|
3734
3737
|
};
|
3735
|
-
K(
|
3736
|
-
class ie extends
|
3738
|
+
K($e, "code", "ERR_JOSE_GENERIC");
|
3739
|
+
class ie extends $e {
|
3737
3740
|
constructor(t, r, n = "unspecified", s = "unspecified") {
|
3738
3741
|
super(t, { cause: { claim: n, reason: s, payload: r } }), K(this, "code", "ERR_JWT_CLAIM_VALIDATION_FAILED"), K(this, "claim"), K(this, "reason"), K(this, "payload"), this.claim = n, this.reason = s, this.payload = r;
|
3739
3742
|
}
|
3740
3743
|
}
|
3741
3744
|
K(ie, "code", "ERR_JWT_CLAIM_VALIDATION_FAILED");
|
3742
|
-
class on extends
|
3745
|
+
class on extends $e {
|
3743
3746
|
constructor(t, r, n = "unspecified", s = "unspecified") {
|
3744
3747
|
super(t, { cause: { claim: n, reason: s, payload: r } }), K(this, "code", "ERR_JWT_EXPIRED"), K(this, "claim"), K(this, "reason"), K(this, "payload"), this.claim = n, this.reason = s, this.payload = r;
|
3745
3748
|
}
|
3746
3749
|
}
|
3747
3750
|
K(on, "code", "ERR_JWT_EXPIRED");
|
3748
|
-
class zs extends
|
3751
|
+
class zs extends $e {
|
3749
3752
|
constructor() {
|
3750
3753
|
super(...arguments), K(this, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
|
3751
3754
|
}
|
3752
3755
|
}
|
3753
3756
|
K(zs, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
|
3754
|
-
let Le = class extends
|
3757
|
+
let Le = class extends $e {
|
3755
3758
|
constructor() {
|
3756
3759
|
super(...arguments), K(this, "code", "ERR_JOSE_NOT_SUPPORTED");
|
3757
3760
|
}
|
3758
3761
|
};
|
3759
3762
|
K(Le, "code", "ERR_JOSE_NOT_SUPPORTED");
|
3760
|
-
let B = class extends
|
3763
|
+
let B = class extends $e {
|
3761
3764
|
constructor() {
|
3762
3765
|
super(...arguments), K(this, "code", "ERR_JWS_INVALID");
|
3763
3766
|
}
|
3764
3767
|
};
|
3765
3768
|
K(B, "code", "ERR_JWS_INVALID");
|
3766
|
-
let fe = class extends
|
3769
|
+
let fe = class extends $e {
|
3767
3770
|
constructor() {
|
3768
3771
|
super(...arguments), K(this, "code", "ERR_JWT_INVALID");
|
3769
3772
|
}
|
3770
3773
|
};
|
3771
3774
|
K(fe, "code", "ERR_JWT_INVALID");
|
3772
|
-
class Qs extends
|
3775
|
+
class Qs extends $e {
|
3773
3776
|
constructor(t = "signature verification failed", r) {
|
3774
3777
|
super(t, r), K(this, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
|
3775
3778
|
}
|
@@ -3893,7 +3896,7 @@ const ti = (e) => Zs(e) || ei(e), qo = (...e) => {
|
|
3893
3896
|
function Wo(e) {
|
3894
3897
|
return typeof e == "object" && e !== null;
|
3895
3898
|
}
|
3896
|
-
const
|
3899
|
+
const $t = (e) => {
|
3897
3900
|
if (!Wo(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
3898
3901
|
return !1;
|
3899
3902
|
if (Object.getPrototypeOf(e) === null)
|
@@ -4084,7 +4087,7 @@ const tc = (e, t, r, n, s) => {
|
|
4084
4087
|
return new Set(t);
|
4085
4088
|
};
|
4086
4089
|
function yn(e) {
|
4087
|
-
return
|
4090
|
+
return $t(e) && typeof e.kty == "string";
|
4088
4091
|
}
|
4089
4092
|
function nc(e) {
|
4090
4093
|
return e.kty !== "oct" && typeof e.d == "string";
|
@@ -4341,7 +4344,7 @@ const Ln = async (e, t, r, n = !1) => {
|
|
4341
4344
|
}
|
4342
4345
|
};
|
4343
4346
|
async function yc(e, t, r) {
|
4344
|
-
if (
|
4347
|
+
if (!$t(e))
|
4345
4348
|
throw new B("Flattened JWS must be an object");
|
4346
4349
|
if (e.protected === void 0 && e.header === void 0)
|
4347
4350
|
throw new B('Flattened JWS must have either of the "protected" or "header" members');
|
@@ -4351,7 +4354,7 @@ async function yc(e, t, r) {
|
|
4351
4354
|
throw new B("JWS Payload missing");
|
4352
4355
|
if (typeof e.signature != "string")
|
4353
4356
|
throw new B("JWS Signature missing or incorrect type");
|
4354
|
-
if (e.header !== void 0 &&
|
4357
|
+
if (e.header !== void 0 && !$t(e.header))
|
4355
4358
|
throw new B("JWS Unprotected Header incorrect type");
|
4356
4359
|
let n = {};
|
4357
4360
|
if (e.protected)
|
@@ -4456,17 +4459,17 @@ const pc = (e) => Math.floor(e.getTime() / 1e3), ri = 60, ni = ri * 60, mn = ni
|
|
4456
4459
|
break;
|
4457
4460
|
}
|
4458
4461
|
return t[1] === "-" || t[4] === "ago" ? -s : s;
|
4459
|
-
},
|
4462
|
+
}, Un = (e) => e.toLowerCase().replace(/^application\//, ""), vc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
|
4460
4463
|
function Ec(e, t, r = {}) {
|
4461
4464
|
let n;
|
4462
4465
|
try {
|
4463
4466
|
n = JSON.parse(vt.decode(t));
|
4464
4467
|
} catch {
|
4465
4468
|
}
|
4466
|
-
if (
|
4469
|
+
if (!$t(n))
|
4467
4470
|
throw new fe("JWT Claims Set must be a top-level JSON object");
|
4468
4471
|
const { typ: s } = r;
|
4469
|
-
if (s && (typeof e.typ != "string" ||
|
4472
|
+
if (s && (typeof e.typ != "string" || Un(e.typ) !== Un(s)))
|
4470
4473
|
throw new ie('unexpected "typ" JWT header value', n, "typ", "check_failed");
|
4471
4474
|
const { requiredClaims: i = [], issuer: a, subject: o, audience: c, maxTokenAge: l } = r, d = [...i];
|
4472
4475
|
l !== void 0 && d.push("iat"), c !== void 0 && d.push("aud"), o !== void 0 && d.push("sub"), a !== void 0 && d.push("iss");
|
@@ -4547,7 +4550,7 @@ function Ac(e) {
|
|
4547
4550
|
} catch {
|
4548
4551
|
throw new fe("Failed to parse the decoded payload as JSON");
|
4549
4552
|
}
|
4550
|
-
if (
|
4553
|
+
if (!$t(s))
|
4551
4554
|
throw new fe("Invalid JWT Claims Set");
|
4552
4555
|
return s;
|
4553
4556
|
}
|
@@ -4582,11 +4585,11 @@ function Rc() {
|
|
4582
4585
|
}
|
4583
4586
|
return Hr(kc);
|
4584
4587
|
}
|
4585
|
-
const Oc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
4588
|
+
const Oc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), $n = { randomUUID: Oc };
|
4586
4589
|
function Kn(e, t, r) {
|
4587
4590
|
var n;
|
4588
|
-
if (
|
4589
|
-
return
|
4591
|
+
if ($n.randomUUID && !e)
|
4592
|
+
return $n.randomUUID();
|
4590
4593
|
e = e || {};
|
4591
4594
|
const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Rc();
|
4592
4595
|
if (s.length < 16)
|
@@ -4667,7 +4670,7 @@ function Lc(e, t = 0) {
|
|
4667
4670
|
}
|
4668
4671
|
let Fr;
|
4669
4672
|
const Mc = new Uint8Array(16);
|
4670
|
-
function
|
4673
|
+
function Uc() {
|
4671
4674
|
if (!Fr) {
|
4672
4675
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
4673
4676
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
@@ -4675,13 +4678,13 @@ function $c() {
|
|
4675
4678
|
}
|
4676
4679
|
return Fr(Mc);
|
4677
4680
|
}
|
4678
|
-
const
|
4681
|
+
const $c = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Vn = { randomUUID: $c };
|
4679
4682
|
function Br(e, t, r) {
|
4680
4683
|
var s;
|
4681
4684
|
if (Vn.randomUUID && !e)
|
4682
4685
|
return Vn.randomUUID();
|
4683
4686
|
e = e || {};
|
4684
|
-
const n = e.random ?? ((s = e.rng) == null ? void 0 : s.call(e)) ??
|
4687
|
+
const n = e.random ?? ((s = e.rng) == null ? void 0 : s.call(e)) ?? Uc();
|
4685
4688
|
if (n.length < 16)
|
4686
4689
|
throw new Error("Random bytes length must be >= 16");
|
4687
4690
|
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Lc(n);
|
@@ -5105,13 +5108,13 @@ const Qc = (e) => Te(
|
|
5105
5108
|
key: `${rr}::${r}::@@user@@`
|
5106
5109
|
}), [y, m, , g] = tr({
|
5107
5110
|
key: `${rr}::${r}::@@access@@`
|
5108
|
-
}), [
|
5111
|
+
}), [E, I, , O] = tr(
|
5109
5112
|
{
|
5110
5113
|
key: `${rr}::${r}::@@refresh@@`
|
5111
5114
|
}
|
5112
|
-
), [
|
5115
|
+
), [A, k, , C] = tr({
|
5113
5116
|
key: `${rr}::${r}::@@nonce@@`
|
5114
|
-
}), M = new zc(y,
|
5117
|
+
}), M = new zc(y, E), H = Te(() => {
|
5115
5118
|
c("removeLocalStorage: removing local storage"), h(), g(), O(), C();
|
5116
5119
|
}, [
|
5117
5120
|
g,
|
@@ -5119,23 +5122,23 @@ const Qc = (e) => Te(
|
|
5119
5122
|
C,
|
5120
5123
|
O,
|
5121
5124
|
c
|
5122
|
-
]),
|
5123
|
-
(
|
5125
|
+
]), R = Te(
|
5126
|
+
(S) => {
|
5124
5127
|
c(
|
5125
5128
|
"removeStateAndLocalStorage: removing state and local storage with reason: ",
|
5126
|
-
|
5129
|
+
S
|
5127
5130
|
), o({
|
5128
5131
|
type: ii,
|
5129
5132
|
payload: {
|
5130
|
-
logoutReason:
|
5133
|
+
logoutReason: S || Ye
|
5131
5134
|
}
|
5132
5135
|
}), H(), o({ type: Tt, payload: { isLoading: !1 } });
|
5133
5136
|
},
|
5134
5137
|
[H, c]
|
5135
|
-
),
|
5136
|
-
async (
|
5138
|
+
), w = Te(
|
5139
|
+
async (S) => {
|
5137
5140
|
c("invalidateAndLogout: invalidating and logging out");
|
5138
|
-
const { user:
|
5141
|
+
const { user: U } = a, D = (U == null ? void 0 : U.userId) || jc(d);
|
5139
5142
|
D || c(
|
5140
5143
|
"invalidateAndLogout: user cannot be identified, logging out without userId"
|
5141
5144
|
), await Gc({
|
@@ -5144,14 +5147,14 @@ const Qc = (e) => Te(
|
|
5144
5147
|
domain: n,
|
5145
5148
|
idToken: d,
|
5146
5149
|
endpoint: i
|
5147
|
-
}), S
|
5150
|
+
}), R(S || Ye);
|
5148
5151
|
},
|
5149
5152
|
[
|
5150
5153
|
d,
|
5151
5154
|
a,
|
5152
5155
|
r,
|
5153
5156
|
n,
|
5154
|
-
|
5157
|
+
R,
|
5155
5158
|
c,
|
5156
5159
|
i
|
5157
5160
|
]
|
@@ -5160,31 +5163,31 @@ const Qc = (e) => Te(
|
|
5160
5163
|
if (!l.current)
|
5161
5164
|
return a.isLoading && d !== null ? (async () => {
|
5162
5165
|
try {
|
5163
|
-
const
|
5164
|
-
|
5166
|
+
const S = await Et(d);
|
5167
|
+
S && S.payload[F.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), o({
|
5165
5168
|
type: or,
|
5166
5169
|
payload: {
|
5167
|
-
authenticationType:
|
5170
|
+
authenticationType: S.payload[F.AUTH_TYPE_KEY],
|
5168
5171
|
user: {
|
5169
|
-
userId:
|
5170
|
-
username:
|
5171
|
-
email:
|
5172
|
+
userId: S.payload[F.USER_ID_KEY],
|
5173
|
+
username: S.payload[F.USERNAME_KEY],
|
5174
|
+
email: S.payload[F.EMAIL_KEY]
|
5172
5175
|
}
|
5173
5176
|
}
|
5174
|
-
})) : (c("useEffect: invalid JWT, invalidating and logging out"), await
|
5177
|
+
})) : (c("useEffect: invalid JWT, invalidating and logging out"), await w(Ye));
|
5175
5178
|
} catch {
|
5176
5179
|
c(
|
5177
5180
|
"useEffect: exception validating JWT, invalidating and logging out"
|
5178
|
-
), await
|
5181
|
+
), await w(Ye);
|
5179
5182
|
}
|
5180
5183
|
})() : (c("useEffect: setting the loading state to false"), o({ type: Tt, payload: { isLoading: !1 } })), () => {
|
5181
5184
|
l.current = !0;
|
5182
5185
|
};
|
5183
|
-
}, [a.isLoading, d,
|
5184
|
-
const
|
5186
|
+
}, [a.isLoading, d, w, c]);
|
5187
|
+
const _ = async (S, U) => {
|
5185
5188
|
o({ type: Tt, payload: { isLoading: !0 } }), H();
|
5186
5189
|
const D = Br();
|
5187
|
-
|
5190
|
+
k(D), c("login: Logging in with password");
|
5188
5191
|
const { code_verifier: Je, code_challenge: Si } = await Pc(), wn = await Wc({
|
5189
5192
|
endpoint: i,
|
5190
5193
|
nonce: D,
|
@@ -5194,8 +5197,8 @@ const Qc = (e) => Te(
|
|
5194
5197
|
if (wn.status) {
|
5195
5198
|
const ze = await qc({
|
5196
5199
|
endpoint: i,
|
5197
|
-
username:
|
5198
|
-
password:
|
5200
|
+
username: S,
|
5201
|
+
password: U,
|
5199
5202
|
clientId: r,
|
5200
5203
|
sessionExpiration: t,
|
5201
5204
|
nonce: D,
|
@@ -5205,25 +5208,25 @@ const Qc = (e) => Te(
|
|
5205
5208
|
domain: n,
|
5206
5209
|
ua: navigator.userAgent
|
5207
5210
|
});
|
5208
|
-
return ze.status ? (u(ze.idToken), m(ze.accessToken),
|
5211
|
+
return ze.status ? (u(ze.idToken), m(ze.accessToken), I(ze.refreshToken), o({
|
5209
5212
|
type: or,
|
5210
5213
|
payload: {
|
5211
5214
|
authenticationType: Rt.CODE,
|
5212
5215
|
user: {
|
5213
5216
|
userId: ze.userId,
|
5214
|
-
username:
|
5217
|
+
username: S,
|
5215
5218
|
email: ze.email
|
5216
5219
|
}
|
5217
5220
|
}
|
5218
|
-
}), !0) : (
|
5221
|
+
}), !0) : (R(Vr), !1);
|
5219
5222
|
}
|
5220
5223
|
return !1;
|
5221
|
-
},
|
5222
|
-
|
5224
|
+
}, P = async (S) => {
|
5225
|
+
S == null || S.preventDefault(), await w(Kc);
|
5223
5226
|
}, X = async () => {
|
5224
|
-
const { isAuthenticated:
|
5227
|
+
const { isAuthenticated: S, user: U } = a;
|
5225
5228
|
try {
|
5226
|
-
if (
|
5229
|
+
if (S && U && U.userId) {
|
5227
5230
|
if (y) {
|
5228
5231
|
c("getAccessToken");
|
5229
5232
|
const Je = await Et(y);
|
@@ -5234,52 +5237,52 @@ const Qc = (e) => Te(
|
|
5234
5237
|
const D = await M.refreshtoken({
|
5235
5238
|
endpoint: i,
|
5236
5239
|
clientId: r,
|
5237
|
-
userId:
|
5238
|
-
nonce:
|
5240
|
+
userId: U.userId,
|
5241
|
+
nonce: A,
|
5239
5242
|
domain: n
|
5240
5243
|
});
|
5241
|
-
return D.status && D.status === "success" && D.newAccessToken ? (m(D.newAccessToken),
|
5244
|
+
return D.status && D.status === "success" && D.newAccessToken ? (m(D.newAccessToken), I(D.newRefreshToken), D.newAccessToken) : (c(
|
5242
5245
|
"getAccessToken: invalid refresh token, need to re-authenticate"
|
5243
|
-
), await
|
5246
|
+
), await w(Ye), "");
|
5244
5247
|
}
|
5245
5248
|
return c(
|
5246
5249
|
"getAccessToken: user is not authenticated, cannot get access token"
|
5247
|
-
), await
|
5250
|
+
), await w(Ye), "";
|
5248
5251
|
} catch {
|
5249
5252
|
return c(
|
5250
5253
|
"getAccessToken: exception occurred, invalidating and logging out"
|
5251
|
-
), await
|
5254
|
+
), await w(Hc), "";
|
5252
5255
|
}
|
5253
5256
|
}, Z = () => a.isAuthenticated && d ? d : "", ue = async () => {
|
5254
|
-
const { user:
|
5255
|
-
let
|
5257
|
+
const { user: S } = a;
|
5258
|
+
let U = await Ze({
|
5256
5259
|
endpoint: i,
|
5257
5260
|
accessToken: y,
|
5258
5261
|
clientId: r,
|
5259
5262
|
type: Xe.GET_REGISTRATION_OPTIONS,
|
5260
5263
|
params: {
|
5261
5264
|
clientId: r,
|
5262
|
-
id:
|
5263
|
-
username:
|
5265
|
+
id: S == null ? void 0 : S.userId,
|
5266
|
+
username: S == null ? void 0 : S.username
|
5264
5267
|
}
|
5265
5268
|
});
|
5266
|
-
if (
|
5269
|
+
if (U.status)
|
5267
5270
|
try {
|
5268
5271
|
const D = await xo({
|
5269
|
-
optionsJSON:
|
5272
|
+
optionsJSON: U.data
|
5270
5273
|
});
|
5271
|
-
return
|
5274
|
+
return U = await Ze({
|
5272
5275
|
endpoint: i,
|
5273
5276
|
accessToken: y,
|
5274
5277
|
clientId: r,
|
5275
5278
|
type: Xe.VERIFY_REGISTRATION,
|
5276
5279
|
params: {
|
5277
5280
|
clientId: r,
|
5278
|
-
id:
|
5279
|
-
username:
|
5281
|
+
id: S == null ? void 0 : S.userId,
|
5282
|
+
username: S == null ? void 0 : S.username,
|
5280
5283
|
registration: D
|
5281
5284
|
}
|
5282
|
-
}), !!(
|
5285
|
+
}), !!(U.status && U.data.length > 0);
|
5283
5286
|
} catch {
|
5284
5287
|
return await Ze({
|
5285
5288
|
endpoint: i,
|
@@ -5288,8 +5291,8 @@ const Qc = (e) => Te(
|
|
5288
5291
|
type: Xe.VERIFY_REGISTRATION,
|
5289
5292
|
params: {
|
5290
5293
|
clientId: r,
|
5291
|
-
id:
|
5292
|
-
username:
|
5294
|
+
id: S == null ? void 0 : S.userId,
|
5295
|
+
username: S == null ? void 0 : S.username,
|
5293
5296
|
registration: {}
|
5294
5297
|
}
|
5295
5298
|
}), !1;
|
@@ -5297,16 +5300,16 @@ const Qc = (e) => Te(
|
|
5297
5300
|
return !1;
|
5298
5301
|
}, Oe = async () => {
|
5299
5302
|
o({ type: Tt, payload: { isLoading: !0 } }), H();
|
5300
|
-
const
|
5301
|
-
|
5302
|
-
const
|
5303
|
+
const S = Br();
|
5304
|
+
k(S), c("loginWithPasskey");
|
5305
|
+
const U = Br();
|
5303
5306
|
let D = await Ze({
|
5304
5307
|
endpoint: i,
|
5305
5308
|
accessToken: y,
|
5306
5309
|
clientId: r,
|
5307
5310
|
type: Xe.GET_AUTHENTICATION_OPTIONS,
|
5308
5311
|
params: {
|
5309
|
-
id:
|
5312
|
+
id: U,
|
5310
5313
|
clientId: r
|
5311
5314
|
}
|
5312
5315
|
});
|
@@ -5322,14 +5325,14 @@ const Qc = (e) => Te(
|
|
5322
5325
|
type: Xe.VERIFY_AUTHENTICATION,
|
5323
5326
|
params: {
|
5324
5327
|
clientId: r,
|
5325
|
-
id:
|
5328
|
+
id: U,
|
5326
5329
|
authentication: Je,
|
5327
|
-
nonce:
|
5330
|
+
nonce: S,
|
5328
5331
|
domain: n,
|
5329
5332
|
sessionExpiration: t,
|
5330
5333
|
ua: navigator.userAgent
|
5331
5334
|
}
|
5332
|
-
}), D.data.status === qt ? (u(D.data.idToken), m(D.data.accessToken),
|
5335
|
+
}), D.data.status === qt ? (u(D.data.idToken), m(D.data.accessToken), I(D.data.refreshToken), o({
|
5333
5336
|
type: or,
|
5334
5337
|
payload: {
|
5335
5338
|
authenticationType: Rt.PASSKEY,
|
@@ -5339,7 +5342,7 @@ const Qc = (e) => Te(
|
|
5339
5342
|
email: D.data.email
|
5340
5343
|
}
|
5341
5344
|
}
|
5342
|
-
}), !0) : (
|
5345
|
+
}), !0) : (R(Vr), !1);
|
5343
5346
|
} catch {
|
5344
5347
|
return await Ze({
|
5345
5348
|
endpoint: i,
|
@@ -5348,13 +5351,13 @@ const Qc = (e) => Te(
|
|
5348
5351
|
type: Xe.VERIFY_AUTHENTICATION,
|
5349
5352
|
params: {
|
5350
5353
|
clientId: r,
|
5351
|
-
id:
|
5354
|
+
id: U,
|
5352
5355
|
authentication: {},
|
5353
|
-
nonce:
|
5356
|
+
nonce: S,
|
5354
5357
|
domain: n,
|
5355
5358
|
sessionExpiration: t
|
5356
5359
|
}
|
5357
|
-
}),
|
5360
|
+
}), R(Vr), !1;
|
5358
5361
|
}
|
5359
5362
|
return !1;
|
5360
5363
|
};
|
@@ -5363,8 +5366,8 @@ const Qc = (e) => Te(
|
|
5363
5366
|
{
|
5364
5367
|
value: {
|
5365
5368
|
...a,
|
5366
|
-
login:
|
5367
|
-
logout:
|
5369
|
+
login: _,
|
5370
|
+
logout: P,
|
5368
5371
|
getAccessToken: X,
|
5369
5372
|
getIdToken: Z,
|
5370
5373
|
registeringForPasskey: ue,
|
@@ -5763,7 +5766,7 @@ const Qc = (e) => Te(
|
|
5763
5766
|
truncate: y,
|
5764
5767
|
align: m,
|
5765
5768
|
radius: g,
|
5766
|
-
animated:
|
5769
|
+
animated: E
|
5767
5770
|
}) => (h || (h = "primary"), r ? b(qn, t) : b(
|
5768
5771
|
qn,
|
5769
5772
|
al({
|
@@ -5780,7 +5783,7 @@ const Qc = (e) => Te(
|
|
5780
5783
|
labelRight: l,
|
5781
5784
|
labelLeft: d,
|
5782
5785
|
align: m,
|
5783
|
-
animated:
|
5786
|
+
animated: E
|
5784
5787
|
}),
|
5785
5788
|
il({ type: e, size: o, labelRight: l, labelLeft: d }),
|
5786
5789
|
dl({ mode: n, variant: h, noBorder: c }),
|
@@ -5792,7 +5795,7 @@ const Qc = (e) => Te(
|
|
5792
5795
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
5793
5796
|
},
|
5794
5797
|
b({
|
5795
|
-
"transition-[width] duration-300 ease-in-out": e === Cr &&
|
5798
|
+
"transition-[width] duration-300 ease-in-out": e === Cr && E
|
5796
5799
|
}),
|
5797
5800
|
t
|
5798
5801
|
)), ml = (e, t, r) => {
|
@@ -5922,11 +5925,11 @@ const wl = {
|
|
5922
5925
|
labelLeft: y,
|
5923
5926
|
noBackground: m = !1,
|
5924
5927
|
align: g = "center",
|
5925
|
-
radius:
|
5926
|
-
variant:
|
5928
|
+
radius: E = "large",
|
5929
|
+
variant: I = "primary",
|
5927
5930
|
iconClassName: O,
|
5928
|
-
animated:
|
5929
|
-
...
|
5931
|
+
animated: A = !1,
|
5932
|
+
...k
|
5930
5933
|
}, C) => {
|
5931
5934
|
const M = yi({
|
5932
5935
|
type: Cr,
|
@@ -5942,39 +5945,39 @@ const wl = {
|
|
5942
5945
|
labelLeft: y,
|
5943
5946
|
noBackground: m,
|
5944
5947
|
align: g,
|
5945
|
-
radius:
|
5946
|
-
variant:
|
5947
|
-
animated:
|
5948
|
-
}), H = hl({ mode: r, raw: o, iconClassName: O }),
|
5948
|
+
radius: E,
|
5949
|
+
variant: I,
|
5950
|
+
animated: A
|
5951
|
+
}), H = hl({ mode: r, raw: o, iconClassName: O }), R = yl({ animated: A }), [w, _] = jr(), [P, X] = jr(), [Z, ue] = jr(), Oe = Q(0), S = Q(null), U = gl([C, S]);
|
5949
5952
|
return ur(() => {
|
5950
|
-
Z && Z.current &&
|
5951
|
-
}, [ue, Z, u, c,
|
5952
|
-
|
5953
|
+
Z && Z.current && A && (Oe.current = ue.width + vl[u] + (c ? 0 : El));
|
5954
|
+
}, [ue, Z, u, c, A]), ur(() => {
|
5955
|
+
S && S.current && A && (h && w && _.width > 0 ? (w.current && (w.current.style.opacity = "100"), S.current.style.width = `${_.width + Oe.current}px`) : y && X.width > 0 ? (P.current && (P.current.style.opacity = "100"), S.current.style.width = `${X.width + Oe.current}px`) : (w.current && (w.current.style.opacity = "0"), P.current && (P.current.style.opacity = "0"), S.current.style.width = `${wl[u]}px`));
|
5953
5956
|
}, [
|
5954
|
-
|
5957
|
+
_,
|
5955
5958
|
h,
|
5956
|
-
|
5959
|
+
w,
|
5957
5960
|
X,
|
5958
5961
|
y,
|
5959
|
-
|
5962
|
+
P,
|
5960
5963
|
u,
|
5961
|
-
|
5964
|
+
A
|
5962
5965
|
]), /* @__PURE__ */ re(
|
5963
5966
|
gn,
|
5964
5967
|
{
|
5965
|
-
ref:
|
5968
|
+
ref: U,
|
5966
5969
|
className: M,
|
5967
5970
|
disabled: t,
|
5968
5971
|
type: a,
|
5969
5972
|
"aria-label": l || d,
|
5970
|
-
...
|
5973
|
+
...k,
|
5971
5974
|
children: [
|
5972
5975
|
/* @__PURE__ */ p(
|
5973
5976
|
Wn,
|
5974
5977
|
{
|
5975
5978
|
label: y,
|
5976
|
-
labelRef:
|
5977
|
-
labelClass:
|
5979
|
+
labelRef: P,
|
5980
|
+
labelClass: R,
|
5978
5981
|
labelInnerClass: "pr-2"
|
5979
5982
|
}
|
5980
5983
|
),
|
@@ -5983,8 +5986,8 @@ const wl = {
|
|
5983
5986
|
Wn,
|
5984
5987
|
{
|
5985
5988
|
label: h,
|
5986
|
-
labelRef:
|
5987
|
-
labelClass:
|
5989
|
+
labelRef: w,
|
5990
|
+
labelClass: R,
|
5988
5991
|
labelInnerClass: "pl-2"
|
5989
5992
|
}
|
5990
5993
|
)
|
@@ -6000,13 +6003,13 @@ const wl = {
|
|
6000
6003
|
}) => /* @__PURE__ */ p("span", { ref: e, className: t, children: r && /* @__PURE__ */ p("span", { className: n, children: r }) });
|
6001
6004
|
wr.displayName = "ButtonIcon";
|
6002
6005
|
/*!
|
6003
|
-
@versini/ui-button v6.0.
|
6006
|
+
@versini/ui-button v6.0.5
|
6004
6007
|
© 2025 gizmette.com
|
6005
6008
|
*/
|
6006
6009
|
try {
|
6007
6010
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
6008
|
-
version: "6.0.
|
6009
|
-
buildTime: "04/
|
6011
|
+
version: "6.0.5",
|
6012
|
+
buildTime: "04/12/2025 09:18 AM EDT",
|
6010
6013
|
homepage: "https://github.com/aversini/ui-components",
|
6011
6014
|
license: "MIT"
|
6012
6015
|
});
|
@@ -6051,19 +6054,6 @@ const Sl = ke.forwardRef(
|
|
6051
6054
|
}
|
6052
6055
|
);
|
6053
6056
|
Sl.displayName = "ButtonSort";
|
6054
|
-
/*!
|
6055
|
-
@versini/ui-card v4.0.1
|
6056
|
-
© 2025 gizmette.com
|
6057
|
-
*/
|
6058
|
-
try {
|
6059
|
-
window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
|
6060
|
-
version: "4.0.1",
|
6061
|
-
buildTime: "04/02/2025 04:18 PM EDT",
|
6062
|
-
homepage: "https://github.com/aversini/ui-components",
|
6063
|
-
license: "MIT"
|
6064
|
-
});
|
6065
|
-
} catch {
|
6066
|
-
}
|
6067
6057
|
const cr = "av-card";
|
6068
6058
|
function Al(e) {
|
6069
6059
|
const t = cs();
|
@@ -6132,7 +6122,7 @@ const kl = ({
|
|
6132
6122
|
...u
|
6133
6123
|
}) => {
|
6134
6124
|
let h = null, y = null;
|
6135
|
-
const m = typeof e == "string", g = Al(cr),
|
6125
|
+
const m = typeof e == "string", g = Al(cr), E = Tl({
|
6136
6126
|
className: i,
|
6137
6127
|
headerClassName: t,
|
6138
6128
|
bodyClassName: a,
|
@@ -6141,13 +6131,13 @@ const kl = ({
|
|
6141
6131
|
compact: l,
|
6142
6132
|
noBorder: d
|
6143
6133
|
});
|
6144
|
-
return m ? (h = g, y = h) : !m && e && o ? (h = null, y = o) : !m && e && !o ? (h = g, y = h) : (h = null, y = o || null), /* @__PURE__ */ p("div", { className:
|
6134
|
+
return m ? (h = g, y = h) : !m && e && o ? (h = null, y = o) : !m && e && !o ? (h = g, y = h) : (h = null, y = o || null), /* @__PURE__ */ p("div", { className: E.wrapper, children: /* @__PURE__ */ re(
|
6145
6135
|
"section",
|
6146
6136
|
{
|
6147
6137
|
...y && {
|
6148
6138
|
"aria-labelledby": y
|
6149
6139
|
},
|
6150
|
-
className:
|
6140
|
+
className: E.body,
|
6151
6141
|
...u,
|
6152
6142
|
children: [
|
6153
6143
|
/* @__PURE__ */ p(
|
@@ -6155,16 +6145,30 @@ const kl = ({
|
|
6155
6145
|
{
|
6156
6146
|
...h && { id: h },
|
6157
6147
|
content: e,
|
6158
|
-
className:
|
6148
|
+
className: E.header,
|
6159
6149
|
userAriaLabelledby: o
|
6160
6150
|
}
|
6161
6151
|
),
|
6162
6152
|
/* @__PURE__ */ p("div", { children: s }),
|
6163
|
-
r ? /* @__PURE__ */ p("div", { className:
|
6153
|
+
r ? /* @__PURE__ */ p("div", { className: E.footer, children: r }) : null
|
6164
6154
|
]
|
6165
6155
|
}
|
6166
6156
|
) });
|
6167
|
-
}
|
6157
|
+
};
|
6158
|
+
/*!
|
6159
|
+
@versini/ui-card v4.0.2
|
6160
|
+
© 2025 gizmette.com
|
6161
|
+
*/
|
6162
|
+
try {
|
6163
|
+
window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
|
6164
|
+
version: "4.0.2",
|
6165
|
+
buildTime: "04/12/2025 09:18 AM EDT",
|
6166
|
+
homepage: "https://github.com/aversini/ui-components",
|
6167
|
+
license: "MIT"
|
6168
|
+
});
|
6169
|
+
} catch {
|
6170
|
+
}
|
6171
|
+
const _r = ({
|
6168
6172
|
children: e,
|
6169
6173
|
fill: t,
|
6170
6174
|
viewBox: r,
|
@@ -6326,19 +6330,6 @@ try {
|
|
6326
6330
|
});
|
6327
6331
|
} catch {
|
6328
6332
|
}
|
6329
|
-
/*!
|
6330
|
-
@versini/ui-main v4.0.1
|
6331
|
-
© 2025 gizmette.com
|
6332
|
-
*/
|
6333
|
-
try {
|
6334
|
-
window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
|
6335
|
-
version: "4.0.1",
|
6336
|
-
buildTime: "04/02/2025 04:19 PM EDT",
|
6337
|
-
homepage: "https://github.com/aversini/ui-components",
|
6338
|
-
license: "MIT"
|
6339
|
-
});
|
6340
|
-
} catch {
|
6341
|
-
}
|
6342
6333
|
const Nl = "av-main", Pl = ({
|
6343
6334
|
children: e,
|
6344
6335
|
className: t,
|
@@ -6357,7 +6348,21 @@ const Nl = "av-main", Pl = ({
|
|
6357
6348
|
t
|
6358
6349
|
);
|
6359
6350
|
return /* @__PURE__ */ p("main", { className: a, ...i, children: e });
|
6360
|
-
}
|
6351
|
+
};
|
6352
|
+
/*!
|
6353
|
+
@versini/ui-main v4.0.2
|
6354
|
+
© 2025 gizmette.com
|
6355
|
+
*/
|
6356
|
+
try {
|
6357
|
+
window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
|
6358
|
+
version: "4.0.2",
|
6359
|
+
buildTime: "04/12/2025 09:18 AM EDT",
|
6360
|
+
homepage: "https://github.com/aversini/ui-components",
|
6361
|
+
license: "MIT"
|
6362
|
+
});
|
6363
|
+
} catch {
|
6364
|
+
}
|
6365
|
+
const xl = "av-flexgrid", sr = "av-flexgrid-item", vr = 0.25, un = ke.createContext({
|
6361
6366
|
columnGap: 0,
|
6362
6367
|
rowGap: 0
|
6363
6368
|
}), Dl = ({
|
@@ -6502,26 +6507,26 @@ const Nl = "av-main", Pl = ({
|
|
6502
6507
|
return /* @__PURE__ */ p("div", { className: o, style: a, ...n, children: e });
|
6503
6508
|
};
|
6504
6509
|
/*!
|
6505
|
-
@versini/ui-system v4.0.
|
6510
|
+
@versini/ui-system v4.0.2
|
6506
6511
|
© 2025 gizmette.com
|
6507
6512
|
*/
|
6508
6513
|
try {
|
6509
6514
|
window.__VERSINI_UI_SYSTEM__ || (window.__VERSINI_UI_SYSTEM__ = {
|
6510
|
-
version: "4.0.
|
6511
|
-
buildTime: "04/
|
6515
|
+
version: "4.0.2",
|
6516
|
+
buildTime: "04/12/2025 09:18 AM EDT",
|
6512
6517
|
homepage: "https://github.com/aversini/ui-components",
|
6513
6518
|
license: "MIT"
|
6514
6519
|
});
|
6515
6520
|
} catch {
|
6516
6521
|
}
|
6517
6522
|
const pi = "av-text-input", Ml = "av-text-input-wrapper", qr = "av-text-input-helper-text";
|
6518
|
-
function
|
6523
|
+
function Ul() {
|
6519
6524
|
const e = Q(!1);
|
6520
6525
|
return ge(() => (e.current = !0, () => {
|
6521
6526
|
e.current = !1;
|
6522
6527
|
}), []), Te(() => e.current, []);
|
6523
6528
|
}
|
6524
|
-
const
|
6529
|
+
const $l = {
|
6525
6530
|
x: 0,
|
6526
6531
|
y: 0,
|
6527
6532
|
width: 0,
|
@@ -6532,7 +6537,7 @@ const Ul = {
|
|
6532
6537
|
right: 0
|
6533
6538
|
};
|
6534
6539
|
function Kl(e) {
|
6535
|
-
const t =
|
6540
|
+
const t = Ul(), r = Q(0), n = Q(null), [s, i] = Ae($l), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
6536
6541
|
const c = o[0];
|
6537
6542
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
6538
6543
|
n.current && t() && i(c.contentRect);
|
@@ -6669,13 +6674,13 @@ function wi({
|
|
6669
6674
|
);
|
6670
6675
|
}
|
6671
6676
|
/*!
|
6672
|
-
@versini/ui-liveregion v2.0.
|
6677
|
+
@versini/ui-liveregion v2.0.2
|
6673
6678
|
© 2025 gizmette.com
|
6674
6679
|
*/
|
6675
6680
|
try {
|
6676
6681
|
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
6677
|
-
version: "2.0.
|
6678
|
-
buildTime: "04/
|
6682
|
+
version: "2.0.2",
|
6683
|
+
buildTime: "04/12/2025 09:18 AM EDT",
|
6679
6684
|
homepage: "https://github.com/aversini/ui-components",
|
6680
6685
|
license: "MIT"
|
6681
6686
|
});
|
@@ -6810,14 +6815,14 @@ const Gl = ({
|
|
6810
6815
|
raw: r,
|
6811
6816
|
mode: a,
|
6812
6817
|
disabled: n
|
6813
|
-
}),
|
6818
|
+
}), E = r ? void 0 : b("absolute right-3", l);
|
6814
6819
|
return {
|
6815
6820
|
wrapper: d,
|
6816
6821
|
input: h,
|
6817
6822
|
accessibleLabel: y,
|
6818
6823
|
visibleLabel: m,
|
6819
6824
|
helperText: g,
|
6820
|
-
rightElement:
|
6825
|
+
rightElement: E
|
6821
6826
|
};
|
6822
6827
|
}, bn = ke.forwardRef(
|
6823
6828
|
({
|
@@ -6837,11 +6842,11 @@ const Gl = ({
|
|
6837
6842
|
type: y = "text",
|
6838
6843
|
helperText: m = "",
|
6839
6844
|
rightElement: g,
|
6840
|
-
rightElementClassName:
|
6841
|
-
size:
|
6845
|
+
rightElementClassName: E,
|
6846
|
+
size: I = "md",
|
6842
6847
|
...O
|
6843
|
-
},
|
6844
|
-
const [
|
6848
|
+
}, A) => {
|
6849
|
+
const [k, C] = Kl(), [M, H] = Ae(0), R = Hl({ id: e, prefix: `${pi}-` }), w = `${t} error, ${m}`, _ = Q(null), P = Q(null), X = {
|
6845
6850
|
xs: { label: "-25px", helperText: "30px" },
|
6846
6851
|
sm: { label: "-29px", helperText: "34px" },
|
6847
6852
|
md: { label: "-33px", helperText: "38px" },
|
@@ -6856,23 +6861,23 @@ const Gl = ({
|
|
6856
6861
|
disabled: l,
|
6857
6862
|
noBorder: d,
|
6858
6863
|
mode: o,
|
6859
|
-
size:
|
6860
|
-
rightElementClassName:
|
6864
|
+
size: I,
|
6865
|
+
rightElementClassName: E
|
6861
6866
|
});
|
6862
6867
|
return ur(() => {
|
6863
6868
|
C && C.width && H(C.width + 18 + 10);
|
6864
6869
|
}, [C]), ur(() => {
|
6865
6870
|
var ue, Oe;
|
6866
|
-
const { label:
|
6867
|
-
(ue =
|
6871
|
+
const { label: S, helperText: U } = X[I];
|
6872
|
+
(ue = _ == null ? void 0 : _.current) == null || ue.style.setProperty("--av-text-input-label", S), (Oe = P == null ? void 0 : P.current) == null || Oe.style.setProperty(
|
6868
6873
|
"--av-text-input-helper-text",
|
6869
|
-
|
6874
|
+
U
|
6870
6875
|
);
|
6871
|
-
}, [
|
6876
|
+
}, [I]), /* @__PURE__ */ re("div", { className: Z.wrapper, children: [
|
6872
6877
|
/* @__PURE__ */ p(
|
6873
6878
|
"label",
|
6874
6879
|
{
|
6875
|
-
htmlFor:
|
6880
|
+
htmlFor: R,
|
6876
6881
|
id: u,
|
6877
6882
|
className: Z.accessibleLabel,
|
6878
6883
|
children: r
|
@@ -6881,14 +6886,14 @@ const Gl = ({
|
|
6881
6886
|
/* @__PURE__ */ p(
|
6882
6887
|
"input",
|
6883
6888
|
{
|
6884
|
-
ref:
|
6885
|
-
id:
|
6889
|
+
ref: A,
|
6890
|
+
id: R,
|
6886
6891
|
name: t,
|
6887
6892
|
type: y,
|
6888
6893
|
disabled: l,
|
6889
6894
|
placeholder: s ? void 0 : " ",
|
6890
6895
|
className: Z.input,
|
6891
|
-
...m && { "aria-describedby": `${
|
6896
|
+
...m && { "aria-describedby": `${R}-helper` },
|
6892
6897
|
...n && { "aria-invalid": "true" },
|
6893
6898
|
...g && !s && { style: { paddingRight: M } },
|
6894
6899
|
...O
|
@@ -6897,9 +6902,9 @@ const Gl = ({
|
|
6897
6902
|
!s && !h && /* @__PURE__ */ p(
|
6898
6903
|
"label",
|
6899
6904
|
{
|
6900
|
-
ref:
|
6905
|
+
ref: _,
|
6901
6906
|
"aria-hidden": !0,
|
6902
|
-
htmlFor:
|
6907
|
+
htmlFor: R,
|
6903
6908
|
className: Z.visibleLabel,
|
6904
6909
|
children: r
|
6905
6910
|
}
|
@@ -6907,8 +6912,8 @@ const Gl = ({
|
|
6907
6912
|
m && /* @__PURE__ */ p(
|
6908
6913
|
"div",
|
6909
6914
|
{
|
6910
|
-
ref:
|
6911
|
-
id: `${
|
6915
|
+
ref: P,
|
6916
|
+
id: `${R}-helper`,
|
6912
6917
|
className: Z.helperText,
|
6913
6918
|
children: m
|
6914
6919
|
}
|
@@ -6916,12 +6921,12 @@ const Gl = ({
|
|
6916
6921
|
g && /* @__PURE__ */ p(
|
6917
6922
|
"div",
|
6918
6923
|
{
|
6919
|
-
ref:
|
6924
|
+
ref: k,
|
6920
6925
|
className: Z.rightElement,
|
6921
6926
|
children: g
|
6922
6927
|
}
|
6923
6928
|
),
|
6924
|
-
n && m && /* @__PURE__ */ p(wi, { politeness: "polite", clearAnnouncementDelay: 500, children:
|
6929
|
+
n && m && /* @__PURE__ */ p(wi, { politeness: "polite", clearAnnouncementDelay: 500, children: w })
|
6925
6930
|
] });
|
6926
6931
|
}
|
6927
6932
|
);
|
@@ -6951,51 +6956,51 @@ const Xl = 500, Zl = 5e3, eu = 2e4, vi = ke.forwardRef(
|
|
6951
6956
|
const [h, y] = Ae(!0), [m, g] = Ae({
|
6952
6957
|
message: null,
|
6953
6958
|
politeness: null
|
6954
|
-
}),
|
6955
|
-
|
6956
|
-
|
6959
|
+
}), E = Q(!0), I = Q(null), O = Q(null), A = Yl([u, O]), k = h ? "Show" : "Hide", C = () => {
|
6960
|
+
I.current && clearTimeout(I.current), E.current || (I.current = setTimeout(() => {
|
6961
|
+
E.current = !0, y(!0), g({
|
6957
6962
|
announcementTimeout: Zl,
|
6958
6963
|
politeness: "polite",
|
6959
6964
|
message: `${r} hiding characters`
|
6960
6965
|
}), s && s(!0);
|
6961
6966
|
}, eu));
|
6962
|
-
}, M = (
|
6963
|
-
|
6964
|
-
const X = !
|
6965
|
-
|
6967
|
+
}, M = (P) => {
|
6968
|
+
P.preventDefault();
|
6969
|
+
const X = !E.current;
|
6970
|
+
E.current = X, C(), y(X), g({
|
6966
6971
|
announcementTimeout: Xl,
|
6967
6972
|
politeness: "assertive",
|
6968
6973
|
message: X ? "Characters hidden" : "Characters showing"
|
6969
6974
|
}), s && s(X);
|
6970
|
-
}, H = (
|
6975
|
+
}, H = (P) => {
|
6971
6976
|
var X;
|
6972
|
-
const { relatedTarget: Z } =
|
6977
|
+
const { relatedTarget: Z } = P, ue = (X = O.current) == null ? void 0 : X.parentElement;
|
6973
6978
|
ue != null && ue.contains(Z) || c && c();
|
6974
|
-
},
|
6975
|
-
C(), a && a(
|
6976
|
-
},
|
6977
|
-
C(), o && o(
|
6978
|
-
},
|
6979
|
-
C(), i && i(
|
6979
|
+
}, R = (P) => {
|
6980
|
+
C(), a && a(P), H(P);
|
6981
|
+
}, w = (P) => {
|
6982
|
+
C(), o && o(P);
|
6983
|
+
}, _ = (P) => {
|
6984
|
+
C(), i && i(P);
|
6980
6985
|
};
|
6981
6986
|
return ge(() => () => {
|
6982
|
-
|
6987
|
+
I.current && clearTimeout(I.current);
|
6983
6988
|
}, []), /* @__PURE__ */ re(lr, { children: [
|
6984
6989
|
/* @__PURE__ */ p(
|
6985
6990
|
bn,
|
6986
6991
|
{
|
6987
|
-
ref:
|
6992
|
+
ref: A,
|
6988
6993
|
name: e,
|
6989
6994
|
label: r,
|
6990
6995
|
labelHidden: n,
|
6991
6996
|
type: h ? "password" : "text",
|
6992
6997
|
disabled: t,
|
6993
|
-
onBlur:
|
6994
|
-
onFocus:
|
6995
|
-
onChange:
|
6998
|
+
onBlur: R,
|
6999
|
+
onFocus: w,
|
7000
|
+
onChange: _,
|
6996
7001
|
rightElement: ke.cloneElement(l, {
|
6997
7002
|
ref: u,
|
6998
|
-
label:
|
7003
|
+
label: k,
|
6999
7004
|
onClick: M,
|
7000
7005
|
onBlur: H,
|
7001
7006
|
disabled: t
|
@@ -7017,19 +7022,19 @@ const Xl = 500, Zl = 5e3, eu = 2e4, vi = ke.forwardRef(
|
|
7017
7022
|
);
|
7018
7023
|
vi.displayName = "TextInputMask";
|
7019
7024
|
/*!
|
7020
|
-
@versini/ui-textinput v4.0.
|
7025
|
+
@versini/ui-textinput v4.0.2
|
7021
7026
|
© 2025 gizmette.com
|
7022
7027
|
*/
|
7023
7028
|
try {
|
7024
7029
|
window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
|
7025
|
-
version: "4.0.
|
7026
|
-
buildTime: "04/
|
7030
|
+
version: "4.0.2",
|
7031
|
+
buildTime: "04/12/2025 09:18 AM EDT",
|
7027
7032
|
homepage: "https://github.com/aversini/ui-components",
|
7028
7033
|
license: "MIT"
|
7029
7034
|
});
|
7030
7035
|
} catch {
|
7031
7036
|
}
|
7032
|
-
const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in with a Passkey", Td = "Log out", su = "Password", Id = "Usage", kd = "Profile", Rd = "Settings", Od = "Chat history", Cd = "About", _d = "Type your question here", Nd = "{{clipboard}}", Pd = `Sometimes, ${Ei} hallucinates. Review important details.`, xd = "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", Ld = "Chat successfully deleted!", Md = "Chat successfully saved!",
|
7037
|
+
const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in with a Passkey", Td = "Log out", su = "Password", Id = "Usage", kd = "Profile", Rd = "Settings", Od = "Chat history", Cd = "About", _d = "Type your question here", Nd = "{{clipboard}}", Pd = `Sometimes, ${Ei} hallucinates. Review important details.`, xd = "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", Ld = "Chat successfully deleted!", Md = "Chat successfully saved!", Ud = "av-sassy", $d = {
|
7033
7038
|
0: ["January", "February", "March"],
|
7034
7039
|
3: ["April", "May", "June"],
|
7035
7040
|
6: ["July", "August", "September"],
|
@@ -7212,7 +7217,7 @@ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in w
|
|
7212
7217
|
) });
|
7213
7218
|
}, ou = new URL(document.location.href).searchParams, zn = !!ou.get("debug") || !1, cu = ki(() => import(
|
7214
7219
|
/* webpackChunkName: "LazyApp" */
|
7215
|
-
"./App.
|
7220
|
+
"./App.B7Xa_Z07.js"
|
7216
7221
|
).then((e) => e.App)), lu = new zi(), Qn = ({
|
7217
7222
|
isComponent: e,
|
7218
7223
|
headerHeight: t
|
@@ -7249,7 +7254,7 @@ export {
|
|
7249
7254
|
Qu as ACTION_SEARCH,
|
7250
7255
|
Yu as ACTION_SORT,
|
7251
7256
|
Xu as ACTION_TOGGLE_PROMPT,
|
7252
|
-
|
7257
|
+
Ud as APP_CLASSNAME,
|
7253
7258
|
Ei as APP_NAME,
|
7254
7259
|
mi as C,
|
7255
7260
|
Hd as CARDS,
|
@@ -7262,7 +7267,6 @@ export {
|
|
7262
7267
|
yd as GRANTS,
|
7263
7268
|
Od as HISTORY_TITLE,
|
7264
7269
|
_r as I,
|
7265
|
-
Pl as I$1,
|
7266
7270
|
od as INFINITE_SCROLL_LIMIT,
|
7267
7271
|
ad as INFINITE_SCROLL_THRESHOLD,
|
7268
7272
|
_d as INPUT_PLACEHOLDER_TEXT,
|
@@ -7293,7 +7297,7 @@ export {
|
|
7293
7297
|
Ld as TOAST_CHAT_DELETED,
|
7294
7298
|
Md as TOAST_CHAT_SAVED,
|
7295
7299
|
Dd as TOAST_PROVIDER_CHANGED,
|
7296
|
-
|
7300
|
+
$d as TRIMESTERS,
|
7297
7301
|
Kd as TRIMESTERS_SHORT,
|
7298
7302
|
fd as UI_BUTTON_SCROLL_BUFFER,
|
7299
7303
|
hd as UI_DEFAULT_MAIN_HEIGHT,
|
@@ -7317,7 +7321,7 @@ export {
|
|
7317
7321
|
vd as debounce,
|
7318
7322
|
_a as delegateEvents,
|
7319
7323
|
Zt as deleteNestedDataByPath,
|
7320
|
-
|
7324
|
+
$u as displayValue,
|
7321
7325
|
bn as fe,
|
7322
7326
|
Bi as fetchState,
|
7323
7327
|
us as focusManager,
|
@@ -7327,7 +7331,7 @@ export {
|
|
7327
7331
|
Mu as getMutationStatusColor,
|
7328
7332
|
Bu as getPreferredColorScheme,
|
7329
7333
|
Lu as getQueryStatusColor,
|
7330
|
-
|
7334
|
+
Uu as getQueryStatusColorByLabel,
|
7331
7335
|
xu as getQueryStatusLabel,
|
7332
7336
|
Du as getSidedProp,
|
7333
7337
|
en as insert,
|
@@ -7346,9 +7350,10 @@ export {
|
|
7346
7350
|
gu as on,
|
7347
7351
|
Pt as onCleanup,
|
7348
7352
|
ra as onMount,
|
7349
|
-
|
7353
|
+
Ui as pendingThenable,
|
7350
7354
|
wd as pluralize,
|
7351
7355
|
Wu as qr,
|
7356
|
+
Pl as r,
|
7352
7357
|
wr as re,
|
7353
7358
|
bd as renderDataAsList,
|
7354
7359
|
Pi as replaceData,
|
@@ -7359,7 +7364,7 @@ export {
|
|
7359
7364
|
mu as shallowEqualObjects,
|
7360
7365
|
Ku as sortFns,
|
7361
7366
|
pa as splitProps,
|
7362
|
-
|
7367
|
+
Ua as spread,
|
7363
7368
|
Pu as stringify,
|
7364
7369
|
Ou as template,
|
7365
7370
|
Ci as timeUntilStale,
|
@@ -7367,7 +7372,7 @@ export {
|
|
7367
7372
|
gd as unObfuscate,
|
7368
7373
|
W as untrack,
|
7369
7374
|
Xt as updateNestedDataByPath,
|
7370
|
-
|
7375
|
+
$a as use,
|
7371
7376
|
Eu as useContext,
|
7372
7377
|
Qi as useQueryClient,
|
7373
7378
|
wu as useTransition,
|