@versini/sassysaint 8.34.0 → 8.34.2

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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as y, jsxs as X, Fragment as gr } from "react/jsx-runtime";
2
- import * as re from "react";
3
- import he, { createContext as ln, useReducer as un, useCallback as de, useRef as j, useEffect as ee, useSyncExternalStore as xs, useContext as br, useLayoutEffect as gt, useState as ue, useMemo as Rt, useId as dn, Suspense as $s, lazy as Ds } from "react";
2
+ import * as te from "react";
3
+ import fe, { createContext as ln, useReducer as un, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as xs, useContext as br, useLayoutEffect as gt, useState as le, useMemo as Rt, useId as dn, Suspense as $s, lazy as Ds } from "react";
4
4
  import g from "clsx";
5
5
  var _t = class {
6
6
  constructor() {
@@ -19,7 +19,7 @@ var _t = class {
19
19
  onUnsubscribe() {
20
20
  }
21
21
  }, Ct = typeof window > "u" || "Deno" in globalThis;
22
- function ne() {
22
+ function re() {
23
23
  }
24
24
  function Ms(e, t) {
25
25
  return typeof e == "function" ? e(t) : e;
@@ -42,14 +42,14 @@ function Pr(e, t) {
42
42
  exact: n,
43
43
  fetchStatus: s,
44
44
  predicate: i,
45
- queryKey: a,
46
- stale: o
45
+ queryKey: o,
46
+ stale: a
47
47
  } = e;
48
- if (a) {
48
+ if (o) {
49
49
  if (n) {
50
- if (t.queryHash !== wr(a, t.options))
50
+ if (t.queryHash !== wr(o, t.options))
51
51
  return !1;
52
- } else if (!Ve(t.queryKey, a))
52
+ } else if (!Ve(t.queryKey, o))
53
53
  return !1;
54
54
  }
55
55
  if (r !== "all") {
@@ -57,7 +57,7 @@ function Pr(e, t) {
57
57
  if (r === "active" && !c || r === "inactive" && c)
58
58
  return !1;
59
59
  }
60
- return !(typeof o == "boolean" && t.isStale() !== o || s && s !== t.state.fetchStatus || i && !i(t));
60
+ return !(typeof a == "boolean" && t.isStale() !== a || s && s !== t.state.fetchStatus || i && !i(t));
61
61
  }
62
62
  function xr(e, t) {
63
63
  const { exact: r, status: n, predicate: s, mutationKey: i } = e;
@@ -89,13 +89,13 @@ function tr(e, t) {
89
89
  return e;
90
90
  const r = $r(e) && $r(t);
91
91
  if (r || rr(e) && rr(t)) {
92
- const n = r ? e : Object.keys(e), s = n.length, i = r ? t : Object.keys(t), a = i.length, o = r ? [] : {}, c = new Set(n);
92
+ const n = r ? e : Object.keys(e), s = n.length, i = r ? t : Object.keys(t), o = i.length, a = r ? [] : {}, c = new Set(n);
93
93
  let d = 0;
94
- for (let u = 0; u < a; u++) {
94
+ for (let u = 0; u < o; u++) {
95
95
  const l = r ? u : i[u];
96
- (!r && c.has(l) || r) && e[l] === void 0 && t[l] === void 0 ? (o[l] = void 0, d++) : (o[l] = tr(e[l], t[l]), o[l] === e[l] && e[l] !== void 0 && d++);
96
+ (!r && c.has(l) || r) && e[l] === void 0 && t[l] === void 0 ? (a[l] = void 0, d++) : (a[l] = tr(e[l], t[l]), a[l] === e[l] && e[l] !== void 0 && d++);
97
97
  }
98
- return s === a && d === s ? e : o;
98
+ return s === o && d === s ? e : a;
99
99
  }
100
100
  return t;
101
101
  }
@@ -160,7 +160,7 @@ function fn(e, t) {
160
160
  function ql(e, t) {
161
161
  return typeof e == "function" ? e(...t) : !!e;
162
162
  }
163
- var Ws = class extends _t {
163
+ var js = class extends _t {
164
164
  #e;
165
165
  #t;
166
166
  #r;
@@ -197,7 +197,7 @@ var Ws = class extends _t {
197
197
  isFocused() {
198
198
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
199
199
  }
200
- }, hn = new Ws(), js = class extends _t {
200
+ }, hn = new js(), Ws = class extends _t {
201
201
  #e = !0;
202
202
  #t;
203
203
  #r;
@@ -228,7 +228,7 @@ var Ws = class extends _t {
228
228
  isOnline() {
229
229
  return this.#e;
230
230
  }
231
- }, We = new js();
231
+ }, je = new Ws();
232
232
  function Gs() {
233
233
  let e, t;
234
234
  const r = new Promise((s, i) => {
@@ -255,7 +255,7 @@ function qs(e) {
255
255
  return Math.min(1e3 * 2 ** e, 3e4);
256
256
  }
257
257
  function mn(e) {
258
- return (e ?? "online") === "online" ? We.isOnline() : !0;
258
+ return (e ?? "online") === "online" ? je.isOnline() : !0;
259
259
  }
260
260
  var yn = class extends Error {
261
261
  constructor(e) {
@@ -267,13 +267,13 @@ function Ut(e) {
267
267
  }
268
268
  function pn(e) {
269
269
  let t = !1, r = 0, n = !1, s;
270
- const i = Gs(), a = (p) => {
270
+ const i = Gs(), o = (p) => {
271
271
  n || (f(new yn(p)), e.abort?.());
272
- }, o = () => {
272
+ }, a = () => {
273
273
  t = !0;
274
274
  }, c = () => {
275
275
  t = !1;
276
- }, d = () => hn.isFocused() && (e.networkMode === "always" || We.isOnline()) && e.canRun(), u = () => mn(e.networkMode) && e.canRun(), l = (p) => {
276
+ }, d = () => hn.isFocused() && (e.networkMode === "always" || je.isOnline()) && e.canRun(), u = () => mn(e.networkMode) && e.canRun(), l = (p) => {
277
277
  n || (n = !0, e.onSuccess?.(p), s?.(), i.resolve(p));
278
278
  }, f = (p) => {
279
279
  n || (n = !0, e.onError?.(p), s?.(), i.reject(p));
@@ -290,70 +290,70 @@ function pn(e) {
290
290
  const b = r === 0 ? e.initialPromise : void 0;
291
291
  try {
292
292
  p = b ?? e.fn();
293
- } catch (v) {
294
- p = Promise.reject(v);
293
+ } catch (w) {
294
+ p = Promise.reject(w);
295
295
  }
296
- Promise.resolve(p).then(l).catch((v) => {
296
+ Promise.resolve(p).then(l).catch((w) => {
297
297
  if (n)
298
298
  return;
299
- const k = e.retry ?? (Ct ? 0 : 3), T = e.retryDelay ?? qs, O = typeof T == "function" ? T(r, v) : T, _ = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, v);
299
+ 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);
300
300
  if (t || !_) {
301
- f(v);
301
+ f(w);
302
302
  return;
303
303
  }
304
- r++, e.onFail?.(r, v), Ks(O).then(() => d() ? void 0 : h()).then(() => {
305
- t ? f(v) : m();
304
+ r++, e.onFail?.(r, w), Ks(O).then(() => d() ? void 0 : h()).then(() => {
305
+ t ? f(w) : m();
306
306
  });
307
307
  });
308
308
  };
309
309
  return {
310
310
  promise: i,
311
- cancel: a,
311
+ cancel: o,
312
312
  continue: () => (s?.(), i),
313
- cancelRetry: o,
313
+ cancelRetry: a,
314
314
  continueRetry: c,
315
315
  canStart: u,
316
316
  start: () => (u() ? m() : h().then(m), i)
317
317
  };
318
318
  }
319
319
  var Js = (e) => setTimeout(e, 0);
320
- function zs() {
321
- let e = [], t = 0, r = (o) => {
322
- o();
323
- }, n = (o) => {
324
- o();
320
+ function Qs() {
321
+ let e = [], t = 0, r = (a) => {
322
+ a();
323
+ }, n = (a) => {
324
+ a();
325
325
  }, s = Js;
326
- const i = (o) => {
327
- t ? e.push(o) : s(() => {
328
- r(o);
326
+ const i = (a) => {
327
+ t ? e.push(a) : s(() => {
328
+ r(a);
329
329
  });
330
- }, a = () => {
331
- const o = e;
332
- e = [], o.length && s(() => {
330
+ }, o = () => {
331
+ const a = e;
332
+ e = [], a.length && s(() => {
333
333
  n(() => {
334
- o.forEach((c) => {
334
+ a.forEach((c) => {
335
335
  r(c);
336
336
  });
337
337
  });
338
338
  });
339
339
  };
340
340
  return {
341
- batch: (o) => {
341
+ batch: (a) => {
342
342
  let c;
343
343
  t++;
344
344
  try {
345
- c = o();
345
+ c = a();
346
346
  } finally {
347
- t--, t || a();
347
+ t--, t || o();
348
348
  }
349
349
  return c;
350
350
  },
351
351
  /**
352
352
  * All calls to the wrapped function will be batched.
353
353
  */
354
- batchCalls: (o) => (...c) => {
354
+ batchCalls: (a) => (...c) => {
355
355
  i(() => {
356
- o(...c);
356
+ a(...c);
357
357
  });
358
358
  },
359
359
  schedule: i,
@@ -361,22 +361,22 @@ function zs() {
361
361
  * Use this method to set a custom notify function.
362
362
  * This can be used to for example wrap notifications with `React.act` while running tests.
363
363
  */
364
- setNotifyFunction: (o) => {
365
- r = o;
364
+ setNotifyFunction: (a) => {
365
+ r = a;
366
366
  },
367
367
  /**
368
368
  * Use this method to set a custom function to batch notifications together into a single tick.
369
369
  * By default React Query will use the batch function provided by ReactDOM or React Native.
370
370
  */
371
- setBatchNotifyFunction: (o) => {
372
- n = o;
371
+ setBatchNotifyFunction: (a) => {
372
+ n = a;
373
373
  },
374
- setScheduler: (o) => {
375
- s = o;
374
+ setScheduler: (a) => {
375
+ s = a;
376
376
  }
377
377
  };
378
378
  }
379
- var Q = zs(), gn = class {
379
+ var z = Qs(), gn = class {
380
380
  #e;
381
381
  destroy() {
382
382
  this.clearGcTimeout();
@@ -395,7 +395,7 @@ var Q = zs(), gn = class {
395
395
  clearGcTimeout() {
396
396
  this.#e && (clearTimeout(this.#e), this.#e = void 0);
397
397
  }
398
- }, Qs = class extends gn {
398
+ }, zs = class extends gn {
399
399
  #e;
400
400
  #t;
401
401
  #r;
@@ -432,7 +432,7 @@ var Q = zs(), gn = class {
432
432
  }
433
433
  cancel(e) {
434
434
  const t = this.#n?.promise;
435
- return this.#n?.cancel(e), t ? t.then(ne).catch(ne) : Promise.resolve();
435
+ return this.#n?.cancel(e), t ? t.then(re).catch(re) : Promise.resolve();
436
436
  }
437
437
  destroy() {
438
438
  super.destroy(), this.cancel({ silent: !0 });
@@ -512,7 +512,7 @@ var Q = zs(), gn = class {
512
512
  u,
513
513
  this
514
514
  ) : c(u);
515
- }, a = (() => {
515
+ }, o = (() => {
516
516
  const c = {
517
517
  fetchOptions: t,
518
518
  options: this.options,
@@ -523,8 +523,8 @@ var Q = zs(), gn = class {
523
523
  };
524
524
  return n(c), c;
525
525
  })();
526
- this.options.behavior?.onFetch(a, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#i({ type: "fetch", meta: a.fetchOptions?.meta });
527
- const o = (c) => {
526
+ this.options.behavior?.onFetch(o, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== o.fetchOptions?.meta) && this.#i({ type: "fetch", meta: o.fetchOptions?.meta });
527
+ const a = (c) => {
528
528
  Ut(c) && c.silent || this.#i({
529
529
  type: "error",
530
530
  error: c
@@ -539,19 +539,19 @@ var Q = zs(), gn = class {
539
539
  };
540
540
  return this.#n = pn({
541
541
  initialPromise: t?.initialPromise,
542
- fn: a.fetchFn,
542
+ fn: o.fetchFn,
543
543
  abort: r.abort.bind(r),
544
544
  onSuccess: (c) => {
545
545
  if (c === void 0) {
546
546
  process.env.NODE_ENV !== "production" && console.error(
547
547
  `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
548
- ), o(new Error(`${this.queryHash} data is undefined`));
548
+ ), a(new Error(`${this.queryHash} data is undefined`));
549
549
  return;
550
550
  }
551
551
  try {
552
552
  this.setData(c);
553
553
  } catch (d) {
554
- o(d);
554
+ a(d);
555
555
  return;
556
556
  }
557
557
  this.#r.config.onSuccess?.(c, this), this.#r.config.onSettled?.(
@@ -560,7 +560,7 @@ var Q = zs(), gn = class {
560
560
  this
561
561
  ), this.scheduleGc();
562
562
  },
563
- onError: o,
563
+ onError: a,
564
564
  onFail: (c, d) => {
565
565
  this.#i({ type: "failed", failureCount: c, error: d });
566
566
  },
@@ -570,9 +570,9 @@ var Q = zs(), gn = class {
570
570
  onContinue: () => {
571
571
  this.#i({ type: "continue" });
572
572
  },
573
- retry: a.options.retry,
574
- retryDelay: a.options.retryDelay,
575
- networkMode: a.options.networkMode,
573
+ retry: o.options.retry,
574
+ retryDelay: o.options.retryDelay,
575
+ networkMode: o.options.networkMode,
576
576
  canRun: () => !0
577
577
  }), this.#n.start();
578
578
  }
@@ -640,7 +640,7 @@ var Q = zs(), gn = class {
640
640
  };
641
641
  }
642
642
  };
643
- this.state = t(this.state), Q.batch(() => {
643
+ this.state = t(this.state), z.batch(() => {
644
644
  this.observers.forEach((r) => {
645
645
  r.onQueryUpdate();
646
646
  }), this.#r.notify({ query: this, type: "updated", action: e });
@@ -683,7 +683,7 @@ var Zs = class extends _t {
683
683
  build(e, t, r) {
684
684
  const n = t.queryKey, s = t.queryHash ?? wr(n, t);
685
685
  let i = this.get(s);
686
- return i || (i = new Qs({
686
+ return i || (i = new zs({
687
687
  client: e,
688
688
  queryKey: n,
689
689
  queryHash: s,
@@ -703,7 +703,7 @@ var Zs = class extends _t {
703
703
  t && (e.destroy(), t === e && this.#e.delete(e.queryHash), this.notify({ type: "removed", query: e }));
704
704
  }
705
705
  clear() {
706
- Q.batch(() => {
706
+ z.batch(() => {
707
707
  this.getAll().forEach((e) => {
708
708
  this.remove(e);
709
709
  });
@@ -726,21 +726,21 @@ var Zs = class extends _t {
726
726
  return Object.keys(e).length > 0 ? t.filter((r) => Pr(e, r)) : t;
727
727
  }
728
728
  notify(e) {
729
- Q.batch(() => {
729
+ z.batch(() => {
730
730
  this.listeners.forEach((t) => {
731
731
  t(e);
732
732
  });
733
733
  });
734
734
  }
735
735
  onFocus() {
736
- Q.batch(() => {
736
+ z.batch(() => {
737
737
  this.getAll().forEach((e) => {
738
738
  e.onFocus();
739
739
  });
740
740
  });
741
741
  }
742
742
  onOnline() {
743
- Q.batch(() => {
743
+ z.batch(() => {
744
744
  this.getAll().forEach((e) => {
745
745
  e.onOnline();
746
746
  });
@@ -912,7 +912,7 @@ var Zs = class extends _t {
912
912
  };
913
913
  }
914
914
  };
915
- this.state = t(this.state), Q.batch(() => {
915
+ this.state = t(this.state), z.batch(() => {
916
916
  this.#e.forEach((r) => {
917
917
  r.onMutationUpdate(e);
918
918
  }), this.#t.notify({
@@ -990,7 +990,7 @@ var ri = class extends _t {
990
990
  return typeof t == "string" ? this.#t.get(t)?.find((n) => n !== e && n.state.isPaused)?.continue() ?? Promise.resolve() : Promise.resolve();
991
991
  }
992
992
  clear() {
993
- Q.batch(() => {
993
+ z.batch(() => {
994
994
  this.#e.forEach((e) => {
995
995
  this.notify({ type: "removed", mutation: e });
996
996
  }), this.#e.clear(), this.#t.clear();
@@ -1009,7 +1009,7 @@ var ri = class extends _t {
1009
1009
  return this.getAll().filter((t) => xr(e, t));
1010
1010
  }
1011
1011
  notify(e) {
1012
- Q.batch(() => {
1012
+ z.batch(() => {
1013
1013
  this.listeners.forEach((t) => {
1014
1014
  t(e);
1015
1015
  });
@@ -1017,9 +1017,9 @@ var ri = class extends _t {
1017
1017
  }
1018
1018
  resumePausedMutations() {
1019
1019
  const e = this.getAll().filter((t) => t.state.isPaused);
1020
- return Q.batch(
1020
+ return z.batch(
1021
1021
  () => Promise.all(
1022
- e.map((t) => t.continue().catch(ne))
1022
+ e.map((t) => t.continue().catch(re))
1023
1023
  )
1024
1024
  );
1025
1025
  }
@@ -1030,8 +1030,8 @@ function et(e) {
1030
1030
  function Mr(e) {
1031
1031
  return {
1032
1032
  onFetch: (t, r) => {
1033
- const n = t.options, s = t.fetchOptions?.meta?.fetchMore?.direction, i = t.state.data?.pages || [], a = t.state.data?.pageParams || [];
1034
- let o = { pages: [], pageParams: [] }, c = 0;
1033
+ const n = t.options, s = t.fetchOptions?.meta?.fetchMore?.direction, i = t.state.data?.pages || [], o = t.state.data?.pageParams || [];
1034
+ let a = { pages: [], pageParams: [] }, c = 0;
1035
1035
  const d = async () => {
1036
1036
  let u = !1;
1037
1037
  const l = (m) => {
@@ -1055,28 +1055,28 @@ function Mr(e) {
1055
1055
  meta: t.options.meta
1056
1056
  };
1057
1057
  return l(q), q;
1058
- })(), T = await f(k), { maxPages: O } = t.options, _ = b ? Vs : Bs;
1058
+ })(), S = await f(k), { maxPages: O } = t.options, _ = b ? Vs : Bs;
1059
1059
  return {
1060
- pages: _(m.pages, T, O),
1060
+ pages: _(m.pages, S, O),
1061
1061
  pageParams: _(m.pageParams, p, O)
1062
1062
  };
1063
1063
  };
1064
1064
  if (s && i.length) {
1065
1065
  const m = s === "backward", p = m ? ni : Lr, b = {
1066
1066
  pages: i,
1067
- pageParams: a
1068
- }, v = p(n, b);
1069
- o = await h(b, v, m);
1067
+ pageParams: o
1068
+ }, w = p(n, b);
1069
+ a = await h(b, w, m);
1070
1070
  } else {
1071
1071
  const m = e ?? i.length;
1072
1072
  do {
1073
- const p = c === 0 ? a[0] ?? n.initialPageParam : Lr(n, o);
1073
+ const p = c === 0 ? o[0] ?? n.initialPageParam : Lr(n, a);
1074
1074
  if (c > 0 && p == null)
1075
1075
  break;
1076
- o = await h(o, p), c++;
1076
+ a = await h(a, p), c++;
1077
1077
  } while (c < m);
1078
1078
  }
1079
- return o;
1079
+ return a;
1080
1080
  };
1081
1081
  t.options.persister ? t.fetchFn = () => t.options.persister?.(
1082
1082
  d,
@@ -1118,7 +1118,7 @@ var si = class {
1118
1118
  mount() {
1119
1119
  this.#o++, this.#o === 1 && (this.#a = hn.subscribe(async (e) => {
1120
1120
  e && (await this.resumePausedMutations(), this.#e.onFocus());
1121
- }), this.#i = We.subscribe(async (e) => {
1121
+ }), this.#i = je.subscribe(async (e) => {
1122
1122
  e && (await this.resumePausedMutations(), this.#e.onOnline());
1123
1123
  }));
1124
1124
  }
@@ -1155,12 +1155,12 @@ var si = class {
1155
1155
  setQueryData(e, t, r) {
1156
1156
  const n = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(
1157
1157
  n.queryHash
1158
- )?.state.data, a = Ms(t, i);
1159
- if (a !== void 0)
1160
- return this.#e.build(this, n).setData(a, { ...r, manual: !0 });
1158
+ )?.state.data, o = Ms(t, i);
1159
+ if (o !== void 0)
1160
+ return this.#e.build(this, n).setData(o, { ...r, manual: !0 });
1161
1161
  }
1162
1162
  setQueriesData(e, t, r) {
1163
- return Q.batch(
1163
+ return z.batch(
1164
1164
  () => this.#e.findAll(e).map(({ queryKey: n }) => [
1165
1165
  n,
1166
1166
  this.setQueryData(n, t, r)
@@ -1175,7 +1175,7 @@ var si = class {
1175
1175
  }
1176
1176
  removeQueries(e) {
1177
1177
  const t = this.#e;
1178
- Q.batch(() => {
1178
+ z.batch(() => {
1179
1179
  t.findAll(e).forEach((r) => {
1180
1180
  t.remove(r);
1181
1181
  });
@@ -1183,7 +1183,7 @@ var si = class {
1183
1183
  }
1184
1184
  resetQueries(e, t) {
1185
1185
  const r = this.#e;
1186
- return Q.batch(() => (r.findAll(e).forEach((n) => {
1186
+ return z.batch(() => (r.findAll(e).forEach((n) => {
1187
1187
  n.reset();
1188
1188
  }), this.refetchQueries(
1189
1189
  {
@@ -1194,13 +1194,13 @@ var si = class {
1194
1194
  )));
1195
1195
  }
1196
1196
  cancelQueries(e, t = {}) {
1197
- const r = { revert: !0, ...t }, n = Q.batch(
1197
+ const r = { revert: !0, ...t }, n = z.batch(
1198
1198
  () => this.#e.findAll(e).map((s) => s.cancel(r))
1199
1199
  );
1200
- return Promise.all(n).then(ne).catch(ne);
1200
+ return Promise.all(n).then(re).catch(re);
1201
1201
  }
1202
1202
  invalidateQueries(e, t = {}) {
1203
- return Q.batch(() => (this.#e.findAll(e).forEach((r) => {
1203
+ return z.batch(() => (this.#e.findAll(e).forEach((r) => {
1204
1204
  r.invalidate();
1205
1205
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries(
1206
1206
  {
@@ -1214,13 +1214,13 @@ var si = class {
1214
1214
  const r = {
1215
1215
  ...t,
1216
1216
  cancelRefetch: t.cancelRefetch ?? !0
1217
- }, n = Q.batch(
1217
+ }, n = z.batch(
1218
1218
  () => this.#e.findAll(e).filter((s) => !s.isDisabled() && !s.isStatic()).map((s) => {
1219
1219
  let i = s.fetch(void 0, r);
1220
- return r.throwOnError || (i = i.catch(ne)), s.state.fetchStatus === "paused" ? Promise.resolve() : i;
1220
+ return r.throwOnError || (i = i.catch(re)), s.state.fetchStatus === "paused" ? Promise.resolve() : i;
1221
1221
  })
1222
1222
  );
1223
- return Promise.all(n).then(ne);
1223
+ return Promise.all(n).then(re);
1224
1224
  }
1225
1225
  fetchQuery(e) {
1226
1226
  const t = this.defaultQueryOptions(e);
@@ -1231,19 +1231,19 @@ var si = class {
1231
1231
  ) ? r.fetch(t) : Promise.resolve(r.state.data);
1232
1232
  }
1233
1233
  prefetchQuery(e) {
1234
- return this.fetchQuery(e).then(ne).catch(ne);
1234
+ return this.fetchQuery(e).then(re).catch(re);
1235
1235
  }
1236
1236
  fetchInfiniteQuery(e) {
1237
1237
  return e.behavior = Mr(e.pages), this.fetchQuery(e);
1238
1238
  }
1239
1239
  prefetchInfiniteQuery(e) {
1240
- return this.fetchInfiniteQuery(e).then(ne).catch(ne);
1240
+ return this.fetchInfiniteQuery(e).then(re).catch(re);
1241
1241
  }
1242
1242
  ensureInfiniteQueryData(e) {
1243
1243
  return e.behavior = Mr(e.pages), this.ensureQueryData(e);
1244
1244
  }
1245
1245
  resumePausedMutations() {
1246
- return We.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1246
+ return je.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1247
1247
  }
1248
1248
  getQueryCache() {
1249
1249
  return this.#e;
@@ -1306,10 +1306,10 @@ var si = class {
1306
1306
  clear() {
1307
1307
  this.#e.clear(), this.#t.clear();
1308
1308
  }
1309
- }, bn = re.createContext(
1309
+ }, bn = te.createContext(
1310
1310
  void 0
1311
1311
  ), ii = (e) => {
1312
- const t = re.useContext(bn);
1312
+ const t = te.useContext(bn);
1313
1313
  if (e)
1314
1314
  return e;
1315
1315
  if (!t)
@@ -1318,26 +1318,26 @@ var si = class {
1318
1318
  }, ai = ({
1319
1319
  client: e,
1320
1320
  children: t
1321
- }) => (re.useEffect(() => (e.mount(), () => {
1321
+ }) => (te.useEffect(() => (e.mount(), () => {
1322
1322
  e.unmount();
1323
1323
  }), [e]), /* @__PURE__ */ y(bn.Provider, { value: e, children: t })), oi = (e, t) => e === t, wt = Symbol("solid-proxy"), wn = typeof Proxy == "function", vt = {
1324
1324
  equals: oi
1325
- }, vn = On, me = 1, Et = 2, En = {
1325
+ }, vn = On, he = 1, Et = 2, En = {
1326
1326
  owned: null,
1327
1327
  cleanups: null,
1328
1328
  context: null,
1329
1329
  owner: null
1330
- }, Ft = {}, I = null, x = null, J = null, fe = null, Nt = 0;
1331
- function Te(e, t) {
1332
- const r = x, n = I, s = e.length === 0, i = t === void 0 ? n : t, a = s ? En : {
1330
+ }, Ft = {}, I = null, x = null, J = null, de = null, Nt = 0;
1331
+ function Se(e, t) {
1332
+ const r = x, n = I, s = e.length === 0, i = t === void 0 ? n : t, o = s ? En : {
1333
1333
  owned: null,
1334
1334
  cleanups: null,
1335
1335
  context: i ? i.context : null,
1336
1336
  owner: i
1337
- }, o = s ? e : () => e(() => G(() => Ge(a)));
1338
- I = a, x = null;
1337
+ }, a = s ? e : () => e(() => G(() => Ge(o)));
1338
+ I = o, x = null;
1339
1339
  try {
1340
- return oe(o, !0);
1340
+ return ae(a, !0);
1341
1341
  } finally {
1342
1342
  x = r, I = n;
1343
1343
  }
@@ -1353,17 +1353,17 @@ function Y(e, t) {
1353
1353
  return [In.bind(r), n];
1354
1354
  }
1355
1355
  function ci(e, t, r) {
1356
- const n = Pt(e, t, !0, me);
1356
+ const n = Pt(e, t, !0, he);
1357
1357
  De(n);
1358
1358
  }
1359
- function Ae(e, t, r) {
1360
- const n = Pt(e, t, !1, me);
1359
+ function Te(e, t, r) {
1360
+ const n = Pt(e, t, !1, he);
1361
1361
  De(n);
1362
1362
  }
1363
1363
  function Sn(e, t, r) {
1364
1364
  vn = gi;
1365
- const n = Pt(e, t, !1, me);
1366
- (!r || !r.render) && (n.user = !0), fe ? fe.push(n) : De(n);
1365
+ const n = Pt(e, t, !1, he);
1366
+ (!r || !r.render) && (n.user = !0), de ? de.push(n) : De(n);
1367
1367
  }
1368
1368
  function K(e, t, r) {
1369
1369
  r = r ? Object.assign({}, vt, r) : vt;
@@ -1376,54 +1376,54 @@ function li(e) {
1376
1376
  function ui(e, t, r) {
1377
1377
  let n, s, i;
1378
1378
  n = !0, s = e, i = {};
1379
- let a = null, o = Ft, c = !1, d = "initialValue" in i, u = typeof n == "function" && K(n);
1380
- const l = /* @__PURE__ */ new Set(), [f, h] = (i.storage || Y)(i.initialValue), [m, p] = Y(void 0), [b, v] = Y(void 0, {
1379
+ let o = null, a = Ft, c = !1, d = "initialValue" in i, u = typeof n == "function" && K(n);
1380
+ const l = /* @__PURE__ */ new Set(), [f, h] = (i.storage || Y)(i.initialValue), [m, p] = Y(void 0), [b, w] = Y(void 0, {
1381
1381
  equals: !1
1382
- }), [k, T] = Y(d ? "ready" : "unresolved");
1383
- function O(R, w, C, E) {
1384
- return a === R && (a = null, E !== void 0 && (d = !0), (R === o || w === o) && i.onHydrated && queueMicrotask(() => i.onHydrated(E, {
1385
- value: w
1386
- })), o = Ft, _(w, C)), w;
1387
- }
1388
- function _(R, w) {
1389
- oe(() => {
1390
- w === void 0 && h(() => R), T(w !== void 0 ? "errored" : d ? "ready" : "unresolved"), p(w);
1391
- for (const C of l.keys()) C.decrement();
1382
+ }), [k, S] = Y(d ? "ready" : "unresolved");
1383
+ function O(R, v, N, E) {
1384
+ return o === R && (o = null, E !== void 0 && (d = !0), (R === a || v === a) && i.onHydrated && queueMicrotask(() => i.onHydrated(E, {
1385
+ value: v
1386
+ })), a = Ft, _(v, N)), v;
1387
+ }
1388
+ function _(R, v) {
1389
+ ae(() => {
1390
+ v === void 0 && h(() => R), S(v !== void 0 ? "errored" : d ? "ready" : "unresolved"), p(v);
1391
+ for (const N of l.keys()) N.decrement();
1392
1392
  l.clear();
1393
1393
  }, !1);
1394
1394
  }
1395
1395
  function q() {
1396
- const R = f(), w = m();
1397
- if (w !== void 0 && !a) throw w;
1396
+ const R = f(), v = m();
1397
+ if (v !== void 0 && !o) throw v;
1398
1398
  return R;
1399
1399
  }
1400
- function z(R = !0) {
1400
+ function Q(R = !0) {
1401
1401
  if (R !== !1 && c) return;
1402
1402
  c = !1;
1403
- const w = u ? u() : n;
1404
- if (w == null || w === !1) {
1405
- O(a, G(f));
1403
+ const v = u ? u() : n;
1404
+ if (v == null || v === !1) {
1405
+ O(o, G(f));
1406
1406
  return;
1407
1407
  }
1408
- let C;
1409
- const E = o !== Ft ? o : G(() => {
1408
+ let N;
1409
+ const E = a !== Ft ? a : G(() => {
1410
1410
  try {
1411
- return s(w, {
1411
+ return s(v, {
1412
1412
  value: f(),
1413
1413
  refetching: R
1414
1414
  });
1415
- } catch (M) {
1416
- C = M;
1415
+ } catch (U) {
1416
+ N = U;
1417
1417
  }
1418
1418
  });
1419
- if (C !== void 0) {
1420
- O(a, void 0, ft(C), w);
1419
+ if (N !== void 0) {
1420
+ O(o, void 0, ft(N), v);
1421
1421
  return;
1422
1422
  } else if (!li(E))
1423
- return O(a, E, void 0, w), E;
1424
- return a = E, "v" in E ? (E.s === 1 ? O(a, E.v, void 0, w) : O(a, void 0, ft(E.v), w), E) : (c = !0, queueMicrotask(() => c = !1), oe(() => {
1425
- T(d ? "refreshing" : "pending"), v();
1426
- }, !1), E.then((M) => O(E, M, void 0, w), (M) => O(E, void 0, ft(M), w)));
1423
+ return O(o, E, void 0, v), E;
1424
+ 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(() => {
1425
+ S(d ? "refreshing" : "pending"), w();
1426
+ }, !1), E.then((U) => O(E, U, void 0, v), (U) => O(E, void 0, ft(U), v)));
1427
1427
  }
1428
1428
  Object.defineProperties(q, {
1429
1429
  state: {
@@ -1442,19 +1442,19 @@ function ui(e, t, r) {
1442
1442
  get() {
1443
1443
  if (!d) return q();
1444
1444
  const R = m();
1445
- if (R && !a) throw R;
1445
+ if (R && !o) throw R;
1446
1446
  return f();
1447
1447
  }
1448
1448
  }
1449
1449
  });
1450
- let U = I;
1451
- return u ? ci(() => (U = I, z(!1))) : z(!1), [q, {
1452
- refetch: (R) => Tn(U, () => z(R)),
1450
+ let L = I;
1451
+ return u ? ci(() => (L = I, Q(!1))) : Q(!1), [q, {
1452
+ refetch: (R) => Tn(L, () => Q(R)),
1453
1453
  mutate: h
1454
1454
  }];
1455
1455
  }
1456
1456
  function Jl(e) {
1457
- return oe(e, !1);
1457
+ return ae(e, !1);
1458
1458
  }
1459
1459
  function G(e) {
1460
1460
  if (x === null) return e();
@@ -1466,25 +1466,25 @@ function G(e) {
1466
1466
  x = t;
1467
1467
  }
1468
1468
  }
1469
- function zl(e, t, r) {
1469
+ function Ql(e, t, r) {
1470
1470
  const n = Array.isArray(e);
1471
1471
  let s, i = r && r.defer;
1472
- return (a) => {
1473
- let o;
1472
+ return (o) => {
1473
+ let a;
1474
1474
  if (n) {
1475
- o = Array(e.length);
1476
- for (let d = 0; d < e.length; d++) o[d] = e[d]();
1477
- } else o = e();
1475
+ a = Array(e.length);
1476
+ for (let d = 0; d < e.length; d++) a[d] = e[d]();
1477
+ } else a = e();
1478
1478
  if (i)
1479
- return i = !1, a;
1480
- const c = G(() => t(o, s, a));
1481
- return s = o, c;
1479
+ return i = !1, o;
1480
+ const c = G(() => t(a, s, o));
1481
+ return s = a, c;
1482
1482
  };
1483
1483
  }
1484
1484
  function di(e) {
1485
1485
  Sn(() => G(e));
1486
1486
  }
1487
- function je(e) {
1487
+ function We(e) {
1488
1488
  return I === null || (I.cleanups === null ? I.cleanups = [e] : I.cleanups.push(e)), e;
1489
1489
  }
1490
1490
  function fi() {
@@ -1494,7 +1494,7 @@ function Tn(e, t) {
1494
1494
  const r = I, n = x;
1495
1495
  I = e, x = null;
1496
1496
  try {
1497
- return oe(t, !0);
1497
+ return ae(t, !0);
1498
1498
  } catch (s) {
1499
1499
  vr(s);
1500
1500
  } finally {
@@ -1506,10 +1506,10 @@ function hi(e) {
1506
1506
  return Promise.resolve().then(() => {
1507
1507
  x = t, I = r;
1508
1508
  let n;
1509
- return oe(e, !1), x = I = null, n ? n.done : void 0;
1509
+ return ae(e, !1), x = I = null, n ? n.done : void 0;
1510
1510
  });
1511
1511
  }
1512
- var [mi, Ql] = /* @__PURE__ */ Y(!1);
1512
+ var [mi, zl] = /* @__PURE__ */ Y(!1);
1513
1513
  function Yl() {
1514
1514
  return [mi, hi];
1515
1515
  }
@@ -1534,10 +1534,10 @@ function An(e) {
1534
1534
  }
1535
1535
  function In() {
1536
1536
  if (this.sources && this.state)
1537
- if (this.state === me) De(this);
1537
+ if (this.state === he) De(this);
1538
1538
  else {
1539
1539
  const e = J;
1540
- J = null, oe(() => Tt(this), !1), J = e;
1540
+ J = null, ae(() => Tt(this), !1), J = e;
1541
1541
  }
1542
1542
  if (x) {
1543
1543
  const e = this.observers ? this.observers.length : 0;
@@ -1547,10 +1547,10 @@ function In() {
1547
1547
  }
1548
1548
  function kn(e, t, r) {
1549
1549
  let n = e.value;
1550
- return (!e.comparator || !e.comparator(n, t)) && (e.value = t, e.observers && e.observers.length && oe(() => {
1550
+ return (!e.comparator || !e.comparator(n, t)) && (e.value = t, e.observers && e.observers.length && ae(() => {
1551
1551
  for (let s = 0; s < e.observers.length; s += 1) {
1552
1552
  const i = e.observers[s];
1553
- i.state || (i.pure ? J.push(i) : fe.push(i), i.observers && Rn(i)), i.state = me;
1553
+ i.state || (i.pure ? J.push(i) : de.push(i), i.observers && Rn(i)), i.state = he;
1554
1554
  }
1555
1555
  if (J.length > 1e6)
1556
1556
  throw J = [], new Error();
@@ -1568,14 +1568,14 @@ function yi(e, t, r) {
1568
1568
  x = I = e;
1569
1569
  try {
1570
1570
  n = e.fn(t);
1571
- } catch (a) {
1572
- return e.pure && (e.state = me, e.owned && e.owned.forEach(Ge), e.owned = null), e.updatedAt = r + 1, vr(a);
1571
+ } catch (o) {
1572
+ return e.pure && (e.state = he, e.owned && e.owned.forEach(Ge), e.owned = null), e.updatedAt = r + 1, vr(o);
1573
1573
  } finally {
1574
1574
  x = i, I = s;
1575
1575
  }
1576
1576
  (!e.updatedAt || e.updatedAt <= r) && (e.updatedAt != null && "observers" in e ? kn(e, n) : e.value = n, e.updatedAt = r);
1577
1577
  }
1578
- function Pt(e, t, r, n = me, s) {
1578
+ function Pt(e, t, r, n = he, s) {
1579
1579
  const i = {
1580
1580
  fn: e,
1581
1581
  state: n,
@@ -1599,28 +1599,28 @@ function St(e) {
1599
1599
  for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Nt); )
1600
1600
  e.state && t.push(e);
1601
1601
  for (let r = t.length - 1; r >= 0; r--)
1602
- if (e = t[r], e.state === me)
1602
+ if (e = t[r], e.state === he)
1603
1603
  De(e);
1604
1604
  else if (e.state === Et) {
1605
1605
  const n = J;
1606
- J = null, oe(() => Tt(e, t[0]), !1), J = n;
1606
+ J = null, ae(() => Tt(e, t[0]), !1), J = n;
1607
1607
  }
1608
1608
  }
1609
- function oe(e, t) {
1609
+ function ae(e, t) {
1610
1610
  if (J) return e();
1611
1611
  let r = !1;
1612
- t || (J = []), fe ? r = !0 : fe = [], Nt++;
1612
+ t || (J = []), de ? r = !0 : de = [], Nt++;
1613
1613
  try {
1614
1614
  const n = e();
1615
1615
  return pi(r), n;
1616
1616
  } catch (n) {
1617
- r || (fe = null), J = null, vr(n);
1617
+ r || (de = null), J = null, vr(n);
1618
1618
  }
1619
1619
  }
1620
1620
  function pi(e) {
1621
1621
  if (J && (On(J), J = null), e) return;
1622
- const t = fe;
1623
- fe = null, t.length && oe(() => vn(t), !1);
1622
+ const t = de;
1623
+ de = null, t.length && ae(() => vn(t), !1);
1624
1624
  }
1625
1625
  function On(e) {
1626
1626
  for (let t = 0; t < e.length; t++) St(e[t]);
@@ -1639,14 +1639,14 @@ function Tt(e, t) {
1639
1639
  const n = e.sources[r];
1640
1640
  if (n.sources) {
1641
1641
  const s = n.state;
1642
- s === me ? n !== t && (!n.updatedAt || n.updatedAt < Nt) && St(n) : s === Et && Tt(n, t);
1642
+ s === he ? n !== t && (!n.updatedAt || n.updatedAt < Nt) && St(n) : s === Et && Tt(n, t);
1643
1643
  }
1644
1644
  }
1645
1645
  }
1646
1646
  function Rn(e) {
1647
1647
  for (let t = 0; t < e.observers.length; t += 1) {
1648
1648
  const r = e.observers[t];
1649
- r.state || (r.state = Et, r.pure ? J.push(r) : fe.push(r), r.observers && Rn(r));
1649
+ r.state || (r.state = Et, r.pure ? J.push(r) : de.push(r), r.observers && Rn(r));
1650
1650
  }
1651
1651
  }
1652
1652
  function Ge(e) {
@@ -1655,8 +1655,8 @@ function Ge(e) {
1655
1655
  for (; e.sources.length; ) {
1656
1656
  const r = e.sources.pop(), n = e.sourceSlots.pop(), s = r.observers;
1657
1657
  if (s && s.length) {
1658
- const i = s.pop(), a = r.observerSlots.pop();
1659
- n < s.length && (i.sourceSlots[a] = n, s[n] = i, r.observerSlots[n] = a);
1658
+ const i = s.pop(), o = r.observerSlots.pop();
1659
+ n < s.length && (i.sourceSlots[o] = n, s[n] = i, r.observerSlots[n] = o);
1660
1660
  }
1661
1661
  }
1662
1662
  if (e.tOwned) {
@@ -1696,7 +1696,7 @@ function nr(e) {
1696
1696
  function bi(e, t) {
1697
1697
  return function(n) {
1698
1698
  let s;
1699
- return Ae(() => s = G(() => (I.context = {
1699
+ return Te(() => s = G(() => (I.context = {
1700
1700
  ...I.context,
1701
1701
  [e]: n.value
1702
1702
  }, An(() => n.children))), void 0), s;
@@ -1707,57 +1707,57 @@ function At(e) {
1707
1707
  for (let t = 0; t < e.length; t++) e[t]();
1708
1708
  }
1709
1709
  function wi(e, t, r = {}) {
1710
- let n = [], s = [], i = [], a = 0, o = t.length > 1 ? [] : null;
1711
- return je(() => At(i)), () => {
1710
+ let n = [], s = [], i = [], o = 0, a = t.length > 1 ? [] : null;
1711
+ return We(() => At(i)), () => {
1712
1712
  let c = e() || [], d = c.length, u, l;
1713
1713
  return G(() => {
1714
- let h, m, p, b, v, k, T, O, _;
1714
+ let h, m, p, b, w, k, S, O, _;
1715
1715
  if (d === 0)
1716
- a !== 0 && (At(i), i = [], n = [], s = [], a = 0, o && (o = [])), r.fallback && (n = [sr], s[0] = Te((q) => (i[0] = q, r.fallback())), a = 1);
1717
- else if (a === 0) {
1716
+ o !== 0 && (At(i), i = [], n = [], s = [], o = 0, a && (a = [])), r.fallback && (n = [sr], s[0] = Se((q) => (i[0] = q, r.fallback())), o = 1);
1717
+ else if (o === 0) {
1718
1718
  for (s = new Array(d), l = 0; l < d; l++)
1719
- n[l] = c[l], s[l] = Te(f);
1720
- a = d;
1719
+ n[l] = c[l], s[l] = Se(f);
1720
+ o = d;
1721
1721
  } else {
1722
- for (p = new Array(d), b = new Array(d), o && (v = new Array(d)), k = 0, T = Math.min(a, d); k < T && n[k] === c[k]; k++) ;
1723
- for (T = a - 1, O = d - 1; T >= k && O >= k && n[T] === c[O]; T--, O--)
1724
- p[O] = s[T], b[O] = i[T], o && (v[O] = o[T]);
1722
+ for (p = new Array(d), b = new Array(d), a && (w = new Array(d)), k = 0, S = Math.min(o, d); k < S && n[k] === c[k]; k++) ;
1723
+ for (S = o - 1, O = d - 1; S >= k && O >= k && n[S] === c[O]; S--, O--)
1724
+ p[O] = s[S], b[O] = i[S], a && (w[O] = a[S]);
1725
1725
  for (h = /* @__PURE__ */ new Map(), m = new Array(O + 1), l = O; l >= k; l--)
1726
1726
  _ = c[l], u = h.get(_), m[l] = u === void 0 ? -1 : u, h.set(_, l);
1727
- for (u = k; u <= T; u++)
1728
- _ = n[u], l = h.get(_), l !== void 0 && l !== -1 ? (p[l] = s[u], b[l] = i[u], o && (v[l] = o[u]), l = m[l], h.set(_, l)) : i[u]();
1727
+ for (u = k; u <= S; u++)
1728
+ _ = n[u], l = h.get(_), l !== void 0 && l !== -1 ? (p[l] = s[u], b[l] = i[u], a && (w[l] = a[u]), l = m[l], h.set(_, l)) : i[u]();
1729
1729
  for (l = k; l < d; l++)
1730
- l in p ? (s[l] = p[l], i[l] = b[l], o && (o[l] = v[l], o[l](l))) : s[l] = Te(f);
1731
- s = s.slice(0, a = d), n = c.slice(0);
1730
+ l in p ? (s[l] = p[l], i[l] = b[l], a && (a[l] = w[l], a[l](l))) : s[l] = Se(f);
1731
+ s = s.slice(0, o = d), n = c.slice(0);
1732
1732
  }
1733
1733
  return s;
1734
1734
  });
1735
1735
  function f(h) {
1736
- if (i[l] = h, o) {
1736
+ if (i[l] = h, a) {
1737
1737
  const [m, p] = Y(l);
1738
- return o[l] = p, t(c[l], m);
1738
+ return a[l] = p, t(c[l], m);
1739
1739
  }
1740
1740
  return t(c[l]);
1741
1741
  }
1742
1742
  };
1743
1743
  }
1744
1744
  function vi(e, t, r = {}) {
1745
- let n = [], s = [], i = [], a = [], o = 0, c;
1746
- return je(() => At(i)), () => {
1745
+ let n = [], s = [], i = [], o = [], a = 0, c;
1746
+ return We(() => At(i)), () => {
1747
1747
  const d = e() || [], u = d.length;
1748
1748
  return G(() => {
1749
1749
  if (u === 0)
1750
- return o !== 0 && (At(i), i = [], n = [], s = [], o = 0, a = []), r.fallback && (n = [sr], s[0] = Te((f) => (i[0] = f, r.fallback())), o = 1), s;
1751
- for (n[0] === sr && (i[0](), i = [], n = [], s = [], o = 0), c = 0; c < u; c++)
1752
- c < n.length && n[c] !== d[c] ? a[c](() => d[c]) : c >= n.length && (s[c] = Te(l));
1750
+ return a !== 0 && (At(i), i = [], n = [], s = [], a = 0, o = []), r.fallback && (n = [sr], s[0] = Se((f) => (i[0] = f, r.fallback())), a = 1), s;
1751
+ for (n[0] === sr && (i[0](), i = [], n = [], s = [], a = 0), c = 0; c < u; c++)
1752
+ c < n.length && n[c] !== d[c] ? o[c](() => d[c]) : c >= n.length && (s[c] = Se(l));
1753
1753
  for (; c < n.length; c++)
1754
1754
  i[c]();
1755
- return o = a.length = i.length = u, n = d.slice(0), s = s.slice(0, o);
1755
+ return a = o.length = i.length = u, n = d.slice(0), s = s.slice(0, a);
1756
1756
  });
1757
1757
  function l(f) {
1758
1758
  i[c] = f;
1759
1759
  const [h, m] = Y(d[c]);
1760
- return a[c] = m, t(h, c);
1760
+ return o[c] = m, t(h, c);
1761
1761
  }
1762
1762
  };
1763
1763
  }
@@ -1802,89 +1802,89 @@ function Si() {
1802
1802
  }
1803
1803
  function Ti(...e) {
1804
1804
  let t = !1;
1805
- for (let a = 0; a < e.length; a++) {
1806
- const o = e[a];
1807
- t = t || !!o && wt in o, e[a] = typeof o == "function" ? (t = !0, K(o)) : o;
1805
+ for (let o = 0; o < e.length; o++) {
1806
+ const a = e[o];
1807
+ t = t || !!a && wt in a, e[o] = typeof a == "function" ? (t = !0, K(a)) : a;
1808
1808
  }
1809
1809
  if (wn && t)
1810
1810
  return new Proxy({
1811
- get(a) {
1812
- for (let o = e.length - 1; o >= 0; o--) {
1813
- const c = Kt(e[o])[a];
1811
+ get(o) {
1812
+ for (let a = e.length - 1; a >= 0; a--) {
1813
+ const c = Kt(e[a])[o];
1814
1814
  if (c !== void 0) return c;
1815
1815
  }
1816
1816
  },
1817
- has(a) {
1818
- for (let o = e.length - 1; o >= 0; o--)
1819
- if (a in Kt(e[o])) return !0;
1817
+ has(o) {
1818
+ for (let a = e.length - 1; a >= 0; a--)
1819
+ if (o in Kt(e[a])) return !0;
1820
1820
  return !1;
1821
1821
  },
1822
1822
  keys() {
1823
- const a = [];
1824
- for (let o = 0; o < e.length; o++) a.push(...Object.keys(Kt(e[o])));
1825
- return [...new Set(a)];
1823
+ const o = [];
1824
+ for (let a = 0; a < e.length; a++) o.push(...Object.keys(Kt(e[a])));
1825
+ return [...new Set(o)];
1826
1826
  }
1827
1827
  }, ir);
1828
1828
  const r = {}, n = /* @__PURE__ */ Object.create(null);
1829
- for (let a = e.length - 1; a >= 0; a--) {
1830
- const o = e[a];
1831
- if (!o) continue;
1832
- const c = Object.getOwnPropertyNames(o);
1829
+ for (let o = e.length - 1; o >= 0; o--) {
1830
+ const a = e[o];
1831
+ if (!a) continue;
1832
+ const c = Object.getOwnPropertyNames(a);
1833
1833
  for (let d = c.length - 1; d >= 0; d--) {
1834
1834
  const u = c[d];
1835
1835
  if (u === "__proto__" || u === "constructor") continue;
1836
- const l = Object.getOwnPropertyDescriptor(o, u);
1836
+ const l = Object.getOwnPropertyDescriptor(a, u);
1837
1837
  if (!n[u])
1838
1838
  n[u] = l.get ? {
1839
1839
  enumerable: !0,
1840
1840
  configurable: !0,
1841
- get: Si.bind(r[u] = [l.get.bind(o)])
1841
+ get: Si.bind(r[u] = [l.get.bind(a)])
1842
1842
  } : l.value !== void 0 ? l : void 0;
1843
1843
  else {
1844
1844
  const f = r[u];
1845
- f && (l.get ? f.push(l.get.bind(o)) : l.value !== void 0 && f.push(() => l.value));
1845
+ f && (l.get ? f.push(l.get.bind(a)) : l.value !== void 0 && f.push(() => l.value));
1846
1846
  }
1847
1847
  }
1848
1848
  }
1849
1849
  const s = {}, i = Object.keys(n);
1850
- for (let a = i.length - 1; a >= 0; a--) {
1851
- const o = i[a], c = n[o];
1852
- c && c.get ? Object.defineProperty(s, o, c) : s[o] = c ? c.value : void 0;
1850
+ for (let o = i.length - 1; o >= 0; o--) {
1851
+ const a = i[o], c = n[a];
1852
+ c && c.get ? Object.defineProperty(s, a, c) : s[a] = c ? c.value : void 0;
1853
1853
  }
1854
1854
  return s;
1855
1855
  }
1856
1856
  function Ai(e, ...t) {
1857
1857
  if (wn && wt in e) {
1858
- const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((a) => new Proxy({
1859
- get(o) {
1860
- return a.includes(o) ? e[o] : void 0;
1858
+ const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy({
1859
+ get(a) {
1860
+ return o.includes(a) ? e[a] : void 0;
1861
1861
  },
1862
- has(o) {
1863
- return a.includes(o) && o in e;
1862
+ has(a) {
1863
+ return o.includes(a) && a in e;
1864
1864
  },
1865
1865
  keys() {
1866
- return a.filter((o) => o in e);
1866
+ return o.filter((a) => a in e);
1867
1867
  }
1868
1868
  }, ir));
1869
1869
  return i.push(new Proxy({
1870
- get(a) {
1871
- return s.has(a) ? void 0 : e[a];
1870
+ get(o) {
1871
+ return s.has(o) ? void 0 : e[o];
1872
1872
  },
1873
- has(a) {
1874
- return s.has(a) ? !1 : a in e;
1873
+ has(o) {
1874
+ return s.has(o) ? !1 : o in e;
1875
1875
  },
1876
1876
  keys() {
1877
- return Object.keys(e).filter((a) => !s.has(a));
1877
+ return Object.keys(e).filter((o) => !s.has(o));
1878
1878
  }
1879
1879
  }, ir)), i;
1880
1880
  }
1881
1881
  const r = {}, n = t.map(() => ({}));
1882
1882
  for (const s of Object.getOwnPropertyNames(e)) {
1883
- const i = Object.getOwnPropertyDescriptor(e, s), a = !i.get && !i.set && i.enumerable && i.writable && i.configurable;
1884
- let o = !1, c = 0;
1883
+ const i = Object.getOwnPropertyDescriptor(e, s), o = !i.get && !i.set && i.enumerable && i.writable && i.configurable;
1884
+ let a = !1, c = 0;
1885
1885
  for (const d of t)
1886
- d.includes(s) && (o = !0, a ? n[c][s] = i.value : Object.defineProperty(n[c], s, i)), ++c;
1887
- o || (a ? r[s] = i.value : Object.defineProperty(r, s, i));
1886
+ d.includes(s) && (a = !0, o ? n[c][s] = i.value : Object.defineProperty(n[c], s, i)), ++c;
1887
+ a || (o ? r[s] = i.value : Object.defineProperty(r, s, i));
1888
1888
  }
1889
1889
  return [...n, r];
1890
1890
  }
@@ -1892,8 +1892,8 @@ function Ii(e) {
1892
1892
  let t, r;
1893
1893
  const n = (s) => {
1894
1894
  if (!t) {
1895
- const [a] = ui(() => (r || (r = e())).then((o) => o.default));
1896
- t = a;
1895
+ const [o] = ui(() => (r || (r = e())).then((a) => a.default));
1896
+ t = o;
1897
1897
  }
1898
1898
  let i;
1899
1899
  return K(() => (i = t()) ? G(() => i(s)) : "");
@@ -1938,22 +1938,22 @@ function su(e) {
1938
1938
  const n = t(), s = Array.isArray(n) ? n : [n];
1939
1939
  let i = () => {
1940
1940
  };
1941
- for (let a = 0; a < s.length; a++) {
1942
- const o = a, c = s[a], d = i, u = K(() => d() ? void 0 : c.when, void 0, void 0), l = c.keyed ? u : K(u, void 0, {
1941
+ for (let o = 0; o < s.length; o++) {
1942
+ const a = o, c = s[o], d = i, u = K(() => d() ? void 0 : c.when, void 0, void 0), l = c.keyed ? u : K(u, void 0, {
1943
1943
  equals: (f, h) => !f == !h
1944
1944
  });
1945
- i = () => d() || (l() ? [o, u, c] : void 0);
1945
+ i = () => d() || (l() ? [a, u, c] : void 0);
1946
1946
  }
1947
1947
  return i;
1948
1948
  });
1949
1949
  return K(() => {
1950
1950
  const n = r()();
1951
1951
  if (!n) return e.fallback;
1952
- const [s, i, a] = n, o = a.children;
1953
- return typeof o == "function" && o.length > 0 ? G(() => o(a.keyed ? i() : () => {
1952
+ const [s, i, o] = n, a = o.children;
1953
+ return typeof a == "function" && a.length > 0 ? G(() => a(o.keyed ? i() : () => {
1954
1954
  if (G(r)()?.[0] !== s) throw _n("Match");
1955
1955
  return i();
1956
- })) : o;
1956
+ })) : a;
1957
1957
  }, void 0, void 0);
1958
1958
  }
1959
1959
  function iu(e) {
@@ -2078,48 +2078,48 @@ var xi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextme
2078
2078
  xml: "http://www.w3.org/XML/1998/namespace"
2079
2079
  }, au = (e) => K(() => e());
2080
2080
  function Mi(e, t, r) {
2081
- let n = r.length, s = t.length, i = n, a = 0, o = 0, c = t[s - 1].nextSibling, d = null;
2082
- for (; a < s || o < i; ) {
2083
- if (t[a] === r[o]) {
2084
- a++, o++;
2081
+ let n = r.length, s = t.length, i = n, o = 0, a = 0, c = t[s - 1].nextSibling, d = null;
2082
+ for (; o < s || a < i; ) {
2083
+ if (t[o] === r[a]) {
2084
+ o++, a++;
2085
2085
  continue;
2086
2086
  }
2087
2087
  for (; t[s - 1] === r[i - 1]; )
2088
2088
  s--, i--;
2089
- if (s === a) {
2090
- const u = i < n ? o ? r[o - 1].nextSibling : r[i - o] : c;
2091
- for (; o < i; ) e.insertBefore(r[o++], u);
2092
- } else if (i === o)
2093
- for (; a < s; )
2094
- (!d || !d.has(t[a])) && t[a].remove(), a++;
2095
- else if (t[a] === r[i - 1] && r[o] === t[s - 1]) {
2089
+ if (s === o) {
2090
+ const u = i < n ? a ? r[a - 1].nextSibling : r[i - a] : c;
2091
+ for (; a < i; ) e.insertBefore(r[a++], u);
2092
+ } else if (i === a)
2093
+ for (; o < s; )
2094
+ (!d || !d.has(t[o])) && t[o].remove(), o++;
2095
+ else if (t[o] === r[i - 1] && r[a] === t[s - 1]) {
2096
2096
  const u = t[--s].nextSibling;
2097
- e.insertBefore(r[o++], t[a++].nextSibling), e.insertBefore(r[--i], u), t[s] = r[i];
2097
+ e.insertBefore(r[a++], t[o++].nextSibling), e.insertBefore(r[--i], u), t[s] = r[i];
2098
2098
  } else {
2099
2099
  if (!d) {
2100
2100
  d = /* @__PURE__ */ new Map();
2101
- let l = o;
2101
+ let l = a;
2102
2102
  for (; l < i; ) d.set(r[l], l++);
2103
2103
  }
2104
- const u = d.get(t[a]);
2104
+ const u = d.get(t[o]);
2105
2105
  if (u != null)
2106
- if (o < u && u < i) {
2107
- let l = a, f = 1, h;
2106
+ if (a < u && u < i) {
2107
+ let l = o, f = 1, h;
2108
2108
  for (; ++l < s && l < i && !((h = d.get(t[l])) == null || h !== u + f); )
2109
2109
  f++;
2110
- if (f > u - o) {
2111
- const m = t[a];
2112
- for (; o < u; ) e.insertBefore(r[o++], m);
2113
- } else e.replaceChild(r[o++], t[a++]);
2114
- } else a++;
2115
- else t[a++].remove();
2110
+ if (f > u - a) {
2111
+ const m = t[o];
2112
+ for (; a < u; ) e.insertBefore(r[a++], m);
2113
+ } else e.replaceChild(r[a++], t[o++]);
2114
+ } else o++;
2115
+ else t[o++].remove();
2116
2116
  }
2117
2117
  }
2118
2118
  }
2119
2119
  var Ue = "_$DX_DELEGATE";
2120
2120
  function Li(e, t, r, n = {}) {
2121
2121
  let s;
2122
- return Te((i) => {
2122
+ return Se((i) => {
2123
2123
  s = i, t === document ? e() : or(t, e(), t.firstChild ? null : void 0, r);
2124
2124
  }, n.owner), () => {
2125
2125
  s(), t.textContent = "";
@@ -2128,10 +2128,10 @@ function Li(e, t, r, n = {}) {
2128
2128
  function ou(e, t, r, n) {
2129
2129
  let s;
2130
2130
  const i = () => {
2131
- const o = document.createElement("template");
2132
- return o.innerHTML = e, o.content.firstChild;
2133
- }, a = () => (s || (s = i())).cloneNode(!0);
2134
- return a.cloneNode = a, a;
2131
+ const a = document.createElement("template");
2132
+ return a.innerHTML = e, a.content.firstChild;
2133
+ }, o = () => (s || (s = i())).cloneNode(!0);
2134
+ return o.cloneNode = o, o;
2135
2135
  }
2136
2136
  function Ui(e, t = window.document) {
2137
2137
  const r = t[Ue] || (t[Ue] = /* @__PURE__ */ new Set());
@@ -2168,18 +2168,18 @@ function Bi(e, t, r, n) {
2168
2168
  }
2169
2169
  function Vi(e, t, r = {}) {
2170
2170
  const n = Object.keys(t || {}), s = Object.keys(r);
2171
- let i, a;
2172
- for (i = 0, a = s.length; i < a; i++) {
2173
- const o = s[i];
2174
- !o || o === "undefined" || t[o] || (Ur(e, o, !1), delete r[o]);
2171
+ let i, o;
2172
+ for (i = 0, o = s.length; i < o; i++) {
2173
+ const a = s[i];
2174
+ !a || a === "undefined" || t[a] || (Ur(e, a, !1), delete r[a]);
2175
2175
  }
2176
- for (i = 0, a = n.length; i < a; i++) {
2177
- const o = n[i], c = !!t[o];
2178
- !o || o === "undefined" || r[o] === c || !c || (Ur(e, o, !0), r[o] = c);
2176
+ for (i = 0, o = n.length; i < o; i++) {
2177
+ const a = n[i], c = !!t[a];
2178
+ !a || a === "undefined" || r[a] === c || !c || (Ur(e, a, !0), r[a] = c);
2179
2179
  }
2180
2180
  return r;
2181
2181
  }
2182
- function Wi(e, t, r) {
2182
+ function ji(e, t, r) {
2183
2183
  if (!t) return r ? ar(e, "style") : t;
2184
2184
  const n = e.style;
2185
2185
  if (typeof t == "string") return n.cssText = t;
@@ -2191,29 +2191,29 @@ function Wi(e, t, r) {
2191
2191
  s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
2192
2192
  return r;
2193
2193
  }
2194
- function ji(e, t = {}, r, n) {
2194
+ function Wi(e, t = {}, r, n) {
2195
2195
  const s = {};
2196
- return n || Ae(() => s.children = qe(e, t.children, s.children)), Ae(() => typeof t.ref == "function" && Gi(t.ref, e)), Ae(() => qi(e, t, r, !0, s, !0)), s;
2196
+ 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;
2197
2197
  }
2198
2198
  function Gi(e, t, r) {
2199
2199
  return G(() => e(t, r));
2200
2200
  }
2201
2201
  function or(e, t, r, n) {
2202
2202
  if (r !== void 0 && !n && (n = []), typeof t != "function") return qe(e, t, n, r);
2203
- Ae((s) => qe(e, t(), s, r), n);
2203
+ Te((s) => qe(e, t(), s, r), n);
2204
2204
  }
2205
2205
  function qi(e, t, r, n, s = {}, i = !1) {
2206
2206
  t || (t = {});
2207
- for (const a in s)
2208
- if (!(a in t)) {
2209
- if (a === "children") continue;
2210
- s[a] = Fr(e, a, null, s[a], r, i, t);
2207
+ for (const o in s)
2208
+ if (!(o in t)) {
2209
+ if (o === "children") continue;
2210
+ s[o] = Fr(e, o, null, s[o], r, i, t);
2211
2211
  }
2212
- for (const a in t) {
2213
- if (a === "children")
2212
+ for (const o in t) {
2213
+ if (o === "children")
2214
2214
  continue;
2215
- const o = t[a];
2216
- s[a] = Fr(e, a, o, s[a], r, i, t);
2215
+ const a = t[o];
2216
+ s[o] = Fr(e, o, a, s[o], r, i, t);
2217
2217
  }
2218
2218
  }
2219
2219
  function Ji(e) {
@@ -2223,9 +2223,9 @@ function Ur(e, t, r) {
2223
2223
  const n = t.trim().split(/\s+/);
2224
2224
  for (let s = 0, i = n.length; s < i; s++) e.classList.toggle(n[s], r);
2225
2225
  }
2226
- function Fr(e, t, r, n, s, i, a) {
2227
- let o, c, d, u, l;
2228
- if (t === "style") return Wi(e, r, n);
2226
+ function Fr(e, t, r, n, s, i, o) {
2227
+ let a, c, d, u, l;
2228
+ if (t === "style") return ji(e, r, n);
2229
2229
  if (t === "classList") return Vi(e, r, n);
2230
2230
  if (r === n) return n;
2231
2231
  if (t === "ref")
@@ -2247,8 +2247,8 @@ function Fr(e, t, r, n, s, i, a) {
2247
2247
  ar(e, t.slice(5), r);
2248
2248
  else if (t.slice(0, 5) === "bool:")
2249
2249
  Ki(e, t.slice(5), r);
2250
- else if ((l = t.slice(0, 5) === "prop:") || (d = _i.has(t)) || !s && ((u = Pi(t, e.tagName)) || (c = Ri.has(t))) || (o = e.nodeName.includes("-") || "is" in a))
2251
- l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Hi(e, r) : o && !c && !d ? e[Ji(t)] = r : e[u || t] = r;
2250
+ 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))
2251
+ 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;
2252
2252
  else {
2253
2253
  const f = s && t.indexOf(":") > -1 && Di[t.split(":")[0]];
2254
2254
  f ? Fi(e, f, t, r) : ar(e, Ci[t] || t, r);
@@ -2260,15 +2260,15 @@ function Cn(e) {
2260
2260
  const r = `$$${e.type}`, n = e.target, s = e.currentTarget, i = (c) => Object.defineProperty(e, "target", {
2261
2261
  configurable: !0,
2262
2262
  value: c
2263
- }), a = () => {
2263
+ }), o = () => {
2264
2264
  const c = t[r];
2265
2265
  if (c && !t.disabled) {
2266
2266
  const d = t[`${r}Data`];
2267
2267
  if (d !== void 0 ? c.call(t, d, e) : c.call(t, e), e.cancelBubble) return;
2268
2268
  }
2269
2269
  return t.host && typeof t.host != "string" && !t.host._$host && t.contains(e.target) && i(t.host), !0;
2270
- }, o = () => {
2271
- for (; a() && (t = t._$host || t.parentNode || t.host); ) ;
2270
+ }, a = () => {
2271
+ for (; o() && (t = t._$host || t.parentNode || t.host); ) ;
2272
2272
  };
2273
2273
  if (Object.defineProperty(e, "currentTarget", {
2274
2274
  configurable: !0,
@@ -2278,49 +2278,49 @@ function Cn(e) {
2278
2278
  }), e.composedPath) {
2279
2279
  const c = e.composedPath();
2280
2280
  i(c[0]);
2281
- for (let d = 0; d < c.length - 2 && (t = c[d], !!a()); d++) {
2281
+ for (let d = 0; d < c.length - 2 && (t = c[d], !!o()); d++) {
2282
2282
  if (t._$host) {
2283
- t = t._$host, o();
2283
+ t = t._$host, a();
2284
2284
  break;
2285
2285
  }
2286
2286
  if (t.parentNode === s)
2287
2287
  break;
2288
2288
  }
2289
- } else o();
2289
+ } else a();
2290
2290
  i(n);
2291
2291
  }
2292
2292
  function qe(e, t, r, n, s) {
2293
2293
  for (; typeof r == "function"; ) r = r();
2294
2294
  if (t === r) return r;
2295
- const i = typeof t, a = n !== void 0;
2296
- if (e = a && r[0] && r[0].parentNode || e, i === "string" || i === "number") {
2295
+ const i = typeof t, o = n !== void 0;
2296
+ if (e = o && r[0] && r[0].parentNode || e, i === "string" || i === "number") {
2297
2297
  if (i === "number" && (t = t.toString(), t === r))
2298
2298
  return r;
2299
- if (a) {
2300
- let o = r[0];
2301
- o && o.nodeType === 3 ? o.data !== t && (o.data = t) : o = document.createTextNode(t), r = ke(e, r, n, o);
2299
+ if (o) {
2300
+ let a = r[0];
2301
+ a && a.nodeType === 3 ? a.data !== t && (a.data = t) : a = document.createTextNode(t), r = ke(e, r, n, a);
2302
2302
  } else
2303
2303
  r !== "" && typeof r == "string" ? r = e.firstChild.data = t : r = e.textContent = t;
2304
2304
  } else if (t == null || i === "boolean")
2305
2305
  r = ke(e, r, n);
2306
2306
  else {
2307
2307
  if (i === "function")
2308
- return Ae(() => {
2309
- let o = t();
2310
- for (; typeof o == "function"; ) o = o();
2311
- r = qe(e, o, r, n);
2308
+ return Te(() => {
2309
+ let a = t();
2310
+ for (; typeof a == "function"; ) a = a();
2311
+ r = qe(e, a, r, n);
2312
2312
  }), () => r;
2313
2313
  if (Array.isArray(t)) {
2314
- const o = [], c = r && Array.isArray(r);
2315
- if (cr(o, t, r, s))
2316
- return Ae(() => r = qe(e, o, r, n, !0)), () => r;
2317
- if (o.length === 0) {
2318
- if (r = ke(e, r, n), a) return r;
2319
- } else c ? r.length === 0 ? Kr(e, o, n) : Mi(e, r, o) : (r && ke(e), Kr(e, o));
2320
- r = o;
2314
+ const a = [], c = r && Array.isArray(r);
2315
+ if (cr(a, t, r, s))
2316
+ return Te(() => r = qe(e, a, r, n, !0)), () => r;
2317
+ if (a.length === 0) {
2318
+ if (r = ke(e, r, n), o) return r;
2319
+ } else c ? r.length === 0 ? Kr(e, a, n) : Mi(e, r, a) : (r && ke(e), Kr(e, a));
2320
+ r = a;
2321
2321
  } else if (t.nodeType) {
2322
2322
  if (Array.isArray(r)) {
2323
- if (a) return r = ke(e, r, n, t);
2323
+ if (o) return r = ke(e, r, n, t);
2324
2324
  ke(e, r, null, t);
2325
2325
  } else r == null || r === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
2326
2326
  r = t;
@@ -2330,20 +2330,20 @@ function qe(e, t, r, n, s) {
2330
2330
  }
2331
2331
  function cr(e, t, r, n) {
2332
2332
  let s = !1;
2333
- for (let i = 0, a = t.length; i < a; i++) {
2334
- let o = t[i], c = r && r[e.length], d;
2335
- if (!(o == null || o === !0 || o === !1)) if ((d = typeof o) == "object" && o.nodeType)
2336
- e.push(o);
2337
- else if (Array.isArray(o))
2338
- s = cr(e, o, c) || s;
2333
+ for (let i = 0, o = t.length; i < o; i++) {
2334
+ let a = t[i], c = r && r[e.length], d;
2335
+ if (!(a == null || a === !0 || a === !1)) if ((d = typeof a) == "object" && a.nodeType)
2336
+ e.push(a);
2337
+ else if (Array.isArray(a))
2338
+ s = cr(e, a, c) || s;
2339
2339
  else if (d === "function")
2340
2340
  if (n) {
2341
- for (; typeof o == "function"; ) o = o();
2342
- s = cr(e, Array.isArray(o) ? o : [o], Array.isArray(c) ? c : [c]) || s;
2341
+ for (; typeof a == "function"; ) a = a();
2342
+ s = cr(e, Array.isArray(a) ? a : [a], Array.isArray(c) ? c : [c]) || s;
2343
2343
  } else
2344
- e.push(o), s = !0;
2344
+ e.push(a), s = !0;
2345
2345
  else {
2346
- const u = String(o);
2346
+ const u = String(a);
2347
2347
  c && c.nodeType === 3 && c.data === u ? e.push(c) : e.push(document.createTextNode(u));
2348
2348
  }
2349
2349
  }
@@ -2357,19 +2357,19 @@ function ke(e, t, r, n) {
2357
2357
  const s = n || document.createTextNode("");
2358
2358
  if (t.length) {
2359
2359
  let i = !1;
2360
- for (let a = t.length - 1; a >= 0; a--) {
2361
- const o = t[a];
2362
- if (s !== o) {
2363
- const c = o.parentNode === e;
2364
- !i && !a ? c ? e.replaceChild(s, o) : e.insertBefore(s, r) : c && o.remove();
2360
+ for (let o = t.length - 1; o >= 0; o--) {
2361
+ const a = t[o];
2362
+ if (s !== a) {
2363
+ const c = a.parentNode === e;
2364
+ !i && !o ? c ? e.replaceChild(s, a) : e.insertBefore(s, r) : c && a.remove();
2365
2365
  } else i = !0;
2366
2366
  }
2367
2367
  } else e.insertBefore(s, r);
2368
2368
  return [s];
2369
2369
  }
2370
- var zi = "http://www.w3.org/2000/svg";
2370
+ var Qi = "http://www.w3.org/2000/svg";
2371
2371
  function Nn(e, t = !1) {
2372
- return t ? document.createElementNS(zi, e) : document.createElement(e);
2372
+ return t ? document.createElementNS(Qi, e) : document.createElement(e);
2373
2373
  }
2374
2374
  function lu(e) {
2375
2375
  const {
@@ -2378,26 +2378,26 @@ function lu(e) {
2378
2378
  let i;
2379
2379
  return Sn(() => {
2380
2380
  i || (i = Tn(s, () => K(() => e.children)));
2381
- const a = n();
2382
- if (a instanceof HTMLHeadElement) {
2383
- const [o, c] = Y(!1), d = () => c(!0);
2384
- Te((u) => or(a, () => o() ? u() : i(), null)), je(d);
2381
+ const o = n();
2382
+ if (o instanceof HTMLHeadElement) {
2383
+ const [a, c] = Y(!1), d = () => c(!0);
2384
+ Se((u) => or(o, () => a() ? u() : i(), null)), We(d);
2385
2385
  } else {
2386
- const o = Nn(e.isSVG ? "g" : "div", e.isSVG), c = t && o.attachShadow ? o.attachShadow({
2386
+ const a = Nn(e.isSVG ? "g" : "div", e.isSVG), c = t && a.attachShadow ? a.attachShadow({
2387
2387
  mode: "open"
2388
- }) : o;
2389
- Object.defineProperty(o, "_$host", {
2388
+ }) : a;
2389
+ Object.defineProperty(a, "_$host", {
2390
2390
  get() {
2391
2391
  return r.parentNode;
2392
2392
  },
2393
2393
  configurable: !0
2394
- }), or(c, i), a.appendChild(o), e.ref && e.ref(o), je(() => a.removeChild(o));
2394
+ }), or(c, i), o.appendChild(a), e.ref && e.ref(a), We(() => o.removeChild(a));
2395
2395
  }
2396
2396
  }, void 0, {
2397
2397
  render: !0
2398
2398
  }), r;
2399
2399
  }
2400
- function Qi(e, t) {
2400
+ function zi(e, t) {
2401
2401
  const r = K(e);
2402
2402
  return K(() => {
2403
2403
  const n = r();
@@ -2406,13 +2406,13 @@ function Qi(e, t) {
2406
2406
  return G(() => n(t));
2407
2407
  case "string":
2408
2408
  const s = $i.has(n), i = Nn(n, s);
2409
- return ji(i, t, s), i;
2409
+ return Wi(i, t, s), i;
2410
2410
  }
2411
2411
  });
2412
2412
  }
2413
2413
  function uu(e) {
2414
2414
  const [, t] = Ai(e, ["component"]);
2415
- return Qi(() => e.component, t);
2415
+ return zi(() => e.component, t);
2416
2416
  }
2417
2417
  var Yi = class {
2418
2418
  constructor() {
@@ -2502,7 +2502,7 @@ var ta = class {
2502
2502
  findByName(e) {
2503
2503
  return this.transfomers[e];
2504
2504
  }
2505
- }, ra = (e) => Object.prototype.toString.call(e).slice(8, -1), xn = (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, lr = (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, $n = (e) => ra(e) === "Symbol", ca = (e) => e instanceof Date && !isNaN(e.valueOf()), la = (e) => e instanceof Error, Br = (e) => typeof e == "number" && isNaN(e), ua = (e) => aa(e) || na(e) || xn(e) || ia(e) || sa(e) || $n(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, Dn = (e) => e.replace(/\./g, "\\."), Ht = (e) => e.map(String).map(Dn).join("."), Fe = (e) => {
2505
+ }, ra = (e) => Object.prototype.toString.call(e).slice(8, -1), xn = (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, lr = (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, Qe = (e) => e instanceof Map, ze = (e) => e instanceof Set, $n = (e) => ra(e) === "Symbol", ca = (e) => e instanceof Date && !isNaN(e.valueOf()), la = (e) => e instanceof Error, Br = (e) => typeof e == "number" && isNaN(e), ua = (e) => aa(e) || na(e) || xn(e) || ia(e) || sa(e) || $n(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, Dn = (e) => e.replace(/\./g, "\\."), Ht = (e) => e.map(String).map(Dn).join("."), Fe = (e) => {
2506
2506
  const t = [];
2507
2507
  let r = "";
2508
2508
  for (let s = 0; s < e.length; s++) {
@@ -2520,7 +2520,7 @@ var ta = class {
2520
2520
  const n = r;
2521
2521
  return t.push(n), t;
2522
2522
  };
2523
- function se(e, t, r, n) {
2523
+ function ne(e, t, r, n) {
2524
2524
  return {
2525
2525
  isApplicable: e,
2526
2526
  annotation: t,
@@ -2529,11 +2529,11 @@ function se(e, t, r, n) {
2529
2529
  };
2530
2530
  }
2531
2531
  var Mn = [
2532
- se(xn, "undefined", () => null, () => {
2532
+ ne(xn, "undefined", () => null, () => {
2533
2533
  }),
2534
- se(da, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2535
- se(ca, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2536
- se(la, "Error", (e, t) => {
2534
+ ne(da, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2535
+ ne(ca, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2536
+ ne(la, "Error", (e, t) => {
2537
2537
  const r = {
2538
2538
  name: e.name,
2539
2539
  message: e.message
@@ -2547,22 +2547,22 @@ var Mn = [
2547
2547
  r[n] = e[n];
2548
2548
  }), r;
2549
2549
  }),
2550
- se(oa, "regexp", (e) => "" + e, (e) => {
2550
+ ne(oa, "regexp", (e) => "" + e, (e) => {
2551
2551
  const t = e.slice(1, e.lastIndexOf("/")), r = e.slice(e.lastIndexOf("/") + 1);
2552
2552
  return new RegExp(t, r);
2553
2553
  }),
2554
- se(
2555
- Qe,
2554
+ ne(
2555
+ ze,
2556
2556
  "set",
2557
2557
  // (sets only exist in es6+)
2558
2558
  // eslint-disable-next-line es5/no-es6-methods
2559
2559
  (e) => [...e.values()],
2560
2560
  (e) => new Set(e)
2561
2561
  ),
2562
- se(ze, "map", (e) => [...e.entries()], (e) => new Map(e)),
2563
- se((e) => Br(e) || fa(e), "number", (e) => Br(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2564
- se((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2565
- se(ma, "URL", (e) => e.toString(), (e) => new URL(e))
2562
+ ne(Qe, "map", (e) => [...e.entries()], (e) => new Map(e)),
2563
+ ne((e) => Br(e) || fa(e), "number", (e) => Br(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2564
+ ne((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2565
+ ne(ma, "URL", (e) => e.toString(), (e) => new URL(e))
2566
2566
  ];
2567
2567
  function xt(e, t, r, n) {
2568
2568
  return {
@@ -2671,16 +2671,16 @@ var ba = (e, t) => {
2671
2671
  Vn(t);
2672
2672
  for (let r = 0; r < t.length; r++) {
2673
2673
  const n = t[r];
2674
- if (Qe(e))
2674
+ if (ze(e))
2675
2675
  e = Pe(e, +n);
2676
- else if (ze(e)) {
2677
- const s = +n, i = +t[++r] == 0 ? "key" : "value", a = Pe(e, s);
2676
+ else if (Qe(e)) {
2677
+ const s = +n, i = +t[++r] == 0 ? "key" : "value", o = Pe(e, s);
2678
2678
  switch (i) {
2679
2679
  case "key":
2680
- e = a;
2680
+ e = o;
2681
2681
  break;
2682
2682
  case "value":
2683
- e = e.get(a);
2683
+ e = e.get(o);
2684
2684
  break;
2685
2685
  }
2686
2686
  } else
@@ -2692,19 +2692,19 @@ var ba = (e, t) => {
2692
2692
  return r(e);
2693
2693
  let n = e;
2694
2694
  for (let i = 0; i < t.length - 1; i++) {
2695
- const a = t[i];
2695
+ const o = t[i];
2696
2696
  if (we(n)) {
2697
- const o = +a;
2698
- n = n[o];
2699
- } else if (Je(n))
2697
+ const a = +o;
2700
2698
  n = n[a];
2701
- else if (Qe(n)) {
2702
- const o = +a;
2703
- n = Pe(n, o);
2704
- } else if (ze(n)) {
2699
+ } else if (Je(n))
2700
+ n = n[o];
2701
+ else if (ze(n)) {
2702
+ const a = +o;
2703
+ n = Pe(n, a);
2704
+ } else if (Qe(n)) {
2705
2705
  if (i === t.length - 2)
2706
2706
  break;
2707
- const c = +a, d = +t[++i] == 0 ? "key" : "value", u = Pe(n, c);
2707
+ const c = +o, d = +t[++i] == 0 ? "key" : "value", u = Pe(n, c);
2708
2708
  switch (d) {
2709
2709
  case "key":
2710
2710
  n = u;
@@ -2716,20 +2716,20 @@ var ba = (e, t) => {
2716
2716
  }
2717
2717
  }
2718
2718
  const s = t[t.length - 1];
2719
- if (we(n) ? n[+s] = r(n[+s]) : Je(n) && (n[s] = r(n[s])), Qe(n)) {
2720
- const i = Pe(n, +s), a = r(i);
2721
- i !== a && (n.delete(i), n.add(a));
2719
+ if (we(n) ? n[+s] = r(n[+s]) : Je(n) && (n[s] = r(n[s])), ze(n)) {
2720
+ const i = Pe(n, +s), o = r(i);
2721
+ i !== o && (n.delete(i), n.add(o));
2722
2722
  }
2723
- if (ze(n)) {
2724
- const i = +t[t.length - 2], a = Pe(n, i);
2723
+ if (Qe(n)) {
2724
+ const i = +t[t.length - 2], o = Pe(n, i);
2725
2725
  switch (+s == 0 ? "key" : "value") {
2726
2726
  case "key": {
2727
- const c = r(a);
2728
- n.set(c, n.get(a)), c !== a && n.delete(a);
2727
+ const c = r(o);
2728
+ n.set(c, n.get(o)), c !== o && n.delete(o);
2729
2729
  break;
2730
2730
  }
2731
2731
  case "value": {
2732
- n.set(a, r(n.get(a)));
2732
+ n.set(o, r(n.get(o)));
2733
2733
  break;
2734
2734
  }
2735
2735
  }
@@ -2740,12 +2740,12 @@ function dr(e, t, r = []) {
2740
2740
  if (!e)
2741
2741
  return;
2742
2742
  if (!we(e)) {
2743
- xe(e, (i, a) => dr(i, t, [...r, ...Fe(a)]));
2743
+ xe(e, (i, o) => dr(i, t, [...r, ...Fe(o)]));
2744
2744
  return;
2745
2745
  }
2746
2746
  const [n, s] = e;
2747
- s && xe(s, (i, a) => {
2748
- dr(i, t, [...r, ...Fe(a)]);
2747
+ s && xe(s, (i, o) => {
2748
+ dr(i, t, [...r, ...Fe(o)]);
2749
2749
  }), t(n, r);
2750
2750
  }
2751
2751
  function wa(e, t, r) {
@@ -2756,8 +2756,8 @@ function wa(e, t, r) {
2756
2756
  function va(e, t) {
2757
2757
  function r(n, s) {
2758
2758
  const i = ba(e, Fe(s));
2759
- n.map(Fe).forEach((a) => {
2760
- e = ur(e, a, () => i);
2759
+ n.map(Fe).forEach((o) => {
2760
+ e = ur(e, o, () => i);
2761
2761
  });
2762
2762
  }
2763
2763
  if (we(t)) {
@@ -2769,7 +2769,7 @@ function va(e, t) {
2769
2769
  xe(t, r);
2770
2770
  return e;
2771
2771
  }
2772
- var Ea = (e, t) => Je(e) || we(e) || ze(e) || Qe(e) || Fn(e, t);
2772
+ var Ea = (e, t) => Je(e) || we(e) || Qe(e) || ze(e) || Fn(e, t);
2773
2773
  function Sa(e, t, r) {
2774
2774
  const n = r.get(e);
2775
2775
  n ? n.push(t) : r.set(e, [t]);
@@ -2780,16 +2780,16 @@ function Ta(e, t) {
2780
2780
  return e.forEach((s) => {
2781
2781
  if (s.length <= 1)
2782
2782
  return;
2783
- t || (s = s.map((o) => o.map(String)).sort((o, c) => o.length - c.length));
2784
- const [i, ...a] = s;
2785
- i.length === 0 ? n = a.map(Ht) : r[Ht(i)] = a.map(Ht);
2783
+ t || (s = s.map((a) => a.map(String)).sort((a, c) => a.length - c.length));
2784
+ const [i, ...o] = s;
2785
+ i.length === 0 ? n = o.map(Ht) : r[Ht(i)] = o.map(Ht);
2786
2786
  }), n ? lr(r) ? [n] : [n, r] : lr(r) ? void 0 : r;
2787
2787
  }
2788
- var Wn = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
2789
- const o = ua(e);
2790
- if (!o) {
2788
+ var jn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2789
+ const a = ua(e);
2790
+ if (!a) {
2791
2791
  Sa(e, s, t);
2792
- const h = a.get(e);
2792
+ const h = o.get(e);
2793
2793
  if (h)
2794
2794
  return n ? {
2795
2795
  transformedValue: null
@@ -2802,7 +2802,7 @@ var Wn = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
2802
2802
  } : {
2803
2803
  transformedValue: e
2804
2804
  };
2805
- return o || a.set(e, m), m;
2805
+ return a || o.set(e, m), m;
2806
2806
  }
2807
2807
  if (ht(i, e))
2808
2808
  return {
@@ -2812,9 +2812,9 @@ var Wn = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
2812
2812
  xe(d, (h, m) => {
2813
2813
  if (m === "__proto__" || m === "constructor" || m === "prototype")
2814
2814
  throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);
2815
- const p = Wn(h, t, r, n, [...s, m], [...i, e], a);
2816
- u[m] = p.transformedValue, we(p.annotations) ? l[m] = p.annotations : Je(p.annotations) && xe(p.annotations, (b, v) => {
2817
- l[Dn(m) + "." + v] = b;
2815
+ const p = jn(h, t, r, n, [...s, m], [...i, e], o);
2816
+ u[m] = p.transformedValue, we(p.annotations) ? l[m] = p.annotations : Je(p.annotations) && xe(p.annotations, (b, w) => {
2817
+ l[Dn(m) + "." + w] = b;
2818
2818
  });
2819
2819
  });
2820
2820
  const f = lr(l) ? {
@@ -2824,16 +2824,16 @@ var Wn = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
2824
2824
  transformedValue: u,
2825
2825
  annotations: c ? [c.type, l] : l
2826
2826
  };
2827
- return o || a.set(e, f), f;
2827
+ return a || o.set(e, f), f;
2828
2828
  };
2829
- function jn(e) {
2829
+ function Wn(e) {
2830
2830
  return Object.prototype.toString.call(e).slice(8, -1);
2831
2831
  }
2832
- function Wr(e) {
2833
- return jn(e) === "Array";
2832
+ function jr(e) {
2833
+ return Wn(e) === "Array";
2834
2834
  }
2835
2835
  function Aa(e) {
2836
- if (jn(e) !== "Object")
2836
+ if (Wn(e) !== "Object")
2837
2837
  return !1;
2838
2838
  const t = Object.getPrototypeOf(e);
2839
2839
  return !!t && t.constructor === Object && t === Object.prototype;
@@ -2848,19 +2848,19 @@ function Ia(e, t, r, n, s) {
2848
2848
  });
2849
2849
  }
2850
2850
  function fr(e, t = {}) {
2851
- if (Wr(e))
2851
+ if (jr(e))
2852
2852
  return e.map((s) => fr(s, t));
2853
2853
  if (!Aa(e))
2854
2854
  return e;
2855
2855
  const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
2856
2856
  return [...r, ...n].reduce((s, i) => {
2857
- if (Wr(t.props) && !t.props.includes(i))
2857
+ if (jr(t.props) && !t.props.includes(i))
2858
2858
  return s;
2859
- const a = e[i], o = fr(a, t);
2860
- return Ia(s, i, o, e, t.nonenumerable), s;
2859
+ const o = e[i], a = fr(o, t);
2860
+ return Ia(s, i, a, e, t.nonenumerable), s;
2861
2861
  }, {});
2862
2862
  }
2863
- var P = class {
2863
+ var C = class {
2864
2864
  /**
2865
2865
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
2866
2866
  */
@@ -2868,7 +2868,7 @@ var P = class {
2868
2868
  this.classRegistry = new Xi(), this.symbolRegistry = new Pn((t) => t.description ?? ""), this.customTransformerRegistry = new ta(), this.allowedErrorProps = [], this.dedupe = e;
2869
2869
  }
2870
2870
  serialize(e) {
2871
- const t = /* @__PURE__ */ new Map(), r = Wn(e, t, this, this.dedupe), n = {
2871
+ const t = /* @__PURE__ */ new Map(), r = jn(e, t, this, this.dedupe), n = {
2872
2872
  json: r.transformedValue
2873
2873
  };
2874
2874
  r.annotations && (n.meta = {
@@ -2908,16 +2908,16 @@ var P = class {
2908
2908
  this.allowedErrorProps.push(...e);
2909
2909
  }
2910
2910
  };
2911
- P.defaultInstance = new P();
2912
- P.serialize = P.defaultInstance.serialize.bind(P.defaultInstance);
2913
- P.deserialize = P.defaultInstance.deserialize.bind(P.defaultInstance);
2914
- P.stringify = P.defaultInstance.stringify.bind(P.defaultInstance);
2915
- P.parse = P.defaultInstance.parse.bind(P.defaultInstance);
2916
- P.registerClass = P.defaultInstance.registerClass.bind(P.defaultInstance);
2917
- P.registerSymbol = P.defaultInstance.registerSymbol.bind(P.defaultInstance);
2918
- P.registerCustom = P.defaultInstance.registerCustom.bind(P.defaultInstance);
2919
- P.allowErrorProps = P.defaultInstance.allowErrorProps.bind(P.defaultInstance);
2920
- var ka = P.serialize, du = P.stringify;
2911
+ C.defaultInstance = new C();
2912
+ C.serialize = C.defaultInstance.serialize.bind(C.defaultInstance);
2913
+ C.deserialize = C.defaultInstance.deserialize.bind(C.defaultInstance);
2914
+ C.stringify = C.defaultInstance.stringify.bind(C.defaultInstance);
2915
+ C.parse = C.defaultInstance.parse.bind(C.defaultInstance);
2916
+ C.registerClass = C.defaultInstance.registerClass.bind(C.defaultInstance);
2917
+ C.registerSymbol = C.defaultInstance.registerSymbol.bind(C.defaultInstance);
2918
+ C.registerCustom = C.defaultInstance.registerCustom.bind(C.defaultInstance);
2919
+ C.allowErrorProps = C.defaultInstance.allowErrorProps.bind(C.defaultInstance);
2920
+ var ka = C.serialize, du = C.stringify;
2921
2921
  function fu(e) {
2922
2922
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
2923
2923
  }
@@ -2960,7 +2960,7 @@ var gu = (e, t = !1) => {
2960
2960
  const n = (s) => {
2961
2961
  t(s.matches ? "dark" : "light");
2962
2962
  };
2963
- r.addEventListener("change", n), je(() => r.removeEventListener("change", n));
2963
+ r.addEventListener("change", n), We(() => r.removeEventListener("change", n));
2964
2964
  }), e;
2965
2965
  }, st = (e, t, r) => {
2966
2966
  if (t.length === 0)
@@ -3008,7 +3008,7 @@ var gu = (e, t = !1) => {
3008
3008
  if (Array.isArray(e)) {
3009
3009
  const r = [...e];
3010
3010
  if (t.length === 1)
3011
- return r.filter((i, a) => a.toString() !== t[0]);
3011
+ return r.filter((i, o) => o.toString() !== t[0]);
3012
3012
  const [n, ...s] = t;
3013
3013
  return r[n] = it(r[n], s), r;
3014
3014
  }
@@ -3048,14 +3048,14 @@ var gu = (e, t = !1) => {
3048
3048
  version: n,
3049
3049
  onlineManager: s,
3050
3050
  buttonPosition: i,
3051
- position: a,
3052
- initialIsOpen: o,
3051
+ position: o,
3052
+ initialIsOpen: a,
3053
3053
  errorTypes: c,
3054
3054
  styleNonce: d,
3055
3055
  shadowDOMTarget: u,
3056
3056
  hideDisabledQueries: l
3057
3057
  } = e;
3058
- this.#e = Y(t), this.#r = r, this.#s = n, this.#t = s, this.#o = d, this.#a = u, this.#i = Y(i), this.#c = Y(a), this.#l = Y(o), this.#u = Y(c), this.#f = Y(l);
3058
+ this.#e = Y(t), this.#r = r, this.#s = n, this.#t = s, this.#o = d, this.#a = u, this.#i = Y(i), this.#c = Y(o), this.#l = Y(a), this.#u = Y(c), this.#f = Y(l);
3059
3059
  }
3060
3060
  setButtonPosition(e) {
3061
3061
  this.#i[1](e);
@@ -3076,9 +3076,9 @@ var gu = (e, t = !1) => {
3076
3076
  if (this.#n)
3077
3077
  throw new Error("Devtools is already mounted");
3078
3078
  const t = Li(() => {
3079
- const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [a] = this.#u, [o] = this.#f, [c] = this.#e;
3079
+ const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
3080
3080
  let d;
3081
- return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.COg-zQKp.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3081
+ return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.2ywI9eYE.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3082
3082
  get queryFlavor() {
3083
3083
  return r.#r;
3084
3084
  },
@@ -3105,10 +3105,10 @@ var gu = (e, t = !1) => {
3105
3105
  return i();
3106
3106
  },
3107
3107
  get errorTypes() {
3108
- return a();
3108
+ return o();
3109
3109
  },
3110
3110
  get hideDisabledQueries() {
3111
- return o();
3111
+ return a();
3112
3112
  }
3113
3113
  }));
3114
3114
  }, e);
@@ -3121,40 +3121,40 @@ var gu = (e, t = !1) => {
3121
3121
  }
3122
3122
  };
3123
3123
  function Pa(e) {
3124
- const t = ii(e.client), r = re.useRef(null), {
3124
+ const t = ii(e.client), r = te.useRef(null), {
3125
3125
  buttonPosition: n,
3126
3126
  position: s,
3127
3127
  initialIsOpen: i,
3128
- errorTypes: a,
3129
- styleNonce: o,
3128
+ errorTypes: o,
3129
+ styleNonce: a,
3130
3130
  shadowDOMTarget: c,
3131
3131
  hideDisabledQueries: d
3132
- } = e, [u] = re.useState(
3132
+ } = e, [u] = te.useState(
3133
3133
  new Na({
3134
3134
  client: t,
3135
3135
  queryFlavor: "React Query",
3136
3136
  version: "5",
3137
- onlineManager: We,
3137
+ onlineManager: je,
3138
3138
  buttonPosition: n,
3139
3139
  position: s,
3140
3140
  initialIsOpen: i,
3141
- errorTypes: a,
3142
- styleNonce: o,
3141
+ errorTypes: o,
3142
+ styleNonce: a,
3143
3143
  shadowDOMTarget: c,
3144
3144
  hideDisabledQueries: d
3145
3145
  })
3146
3146
  );
3147
- return re.useEffect(() => {
3147
+ return te.useEffect(() => {
3148
3148
  u.setClient(t);
3149
- }, [t, u]), re.useEffect(() => {
3149
+ }, [t, u]), te.useEffect(() => {
3150
3150
  n && u.setButtonPosition(n);
3151
- }, [n, u]), re.useEffect(() => {
3151
+ }, [n, u]), te.useEffect(() => {
3152
3152
  s && u.setPosition(s);
3153
- }, [s, u]), re.useEffect(() => {
3153
+ }, [s, u]), te.useEffect(() => {
3154
3154
  u.setInitialIsOpen(i || !1);
3155
- }, [i, u]), re.useEffect(() => {
3156
- u.setErrorTypes(a || []);
3157
- }, [a, u]), re.useEffect(() => (r.current && u.mount(r.current), () => {
3155
+ }, [i, u]), te.useEffect(() => {
3156
+ u.setErrorTypes(o || []);
3157
+ }, [o, u]), te.useEffect(() => (r.current && u.mount(r.current), () => {
3158
3158
  u.unmount();
3159
3159
  }), [u]), /* @__PURE__ */ y("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
3160
3160
  }
@@ -3180,7 +3180,7 @@ const Ke = {
3180
3180
  PASSKEY: "passkey"
3181
3181
  }, Jn = {
3182
3182
  CLIENT_ID: "X-Auth-ClientId"
3183
- }, W = {
3183
+ }, j = {
3184
3184
  ALG: "RS256",
3185
3185
  USER_ID_KEY: "sub",
3186
3186
  USERNAME_KEY: "username",
@@ -3237,24 +3237,24 @@ let ve = class extends Error {
3237
3237
  }
3238
3238
  };
3239
3239
  $(ve, "code", "ERR_JOSE_GENERIC");
3240
- let te = class extends ve {
3240
+ let ee = class extends ve {
3241
3241
  constructor(t, r, n = "unspecified", s = "unspecified") {
3242
3242
  super(t, { cause: { claim: n, reason: s, payload: r } }), $(this, "code", "ERR_JWT_CLAIM_VALIDATION_FAILED"), $(this, "claim"), $(this, "reason"), $(this, "payload"), this.claim = n, this.reason = s, this.payload = r;
3243
3243
  }
3244
3244
  };
3245
- $(te, "code", "ERR_JWT_CLAIM_VALIDATION_FAILED");
3245
+ $(ee, "code", "ERR_JWT_CLAIM_VALIDATION_FAILED");
3246
3246
  let hr = class extends ve {
3247
3247
  constructor(t, r, n = "unspecified", s = "unspecified") {
3248
3248
  super(t, { cause: { claim: n, reason: s, payload: r } }), $(this, "code", "ERR_JWT_EXPIRED"), $(this, "claim"), $(this, "reason"), $(this, "payload"), this.claim = n, this.reason = s, this.payload = r;
3249
3249
  }
3250
3250
  };
3251
3251
  $(hr, "code", "ERR_JWT_EXPIRED");
3252
- let zn = class extends ve {
3252
+ let Qn = class extends ve {
3253
3253
  constructor() {
3254
3254
  super(...arguments), $(this, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
3255
3255
  }
3256
3256
  };
3257
- $(zn, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
3257
+ $(Qn, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
3258
3258
  let ge = class extends ve {
3259
3259
  constructor() {
3260
3260
  super(...arguments), $(this, "code", "ERR_JOSE_NOT_SUPPORTED");
@@ -3267,19 +3267,19 @@ let F = class extends ve {
3267
3267
  }
3268
3268
  };
3269
3269
  $(F, "code", "ERR_JWS_INVALID");
3270
- let ie = class extends ve {
3270
+ let se = class extends ve {
3271
3271
  constructor() {
3272
3272
  super(...arguments), $(this, "code", "ERR_JWT_INVALID");
3273
3273
  }
3274
3274
  };
3275
- $(ie, "code", "ERR_JWT_INVALID");
3276
- let Qn = class extends ve {
3275
+ $(se, "code", "ERR_JWT_INVALID");
3276
+ let zn = class extends ve {
3277
3277
  constructor(t = "signature verification failed", r) {
3278
3278
  super(t, r), $(this, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
3279
3279
  }
3280
3280
  };
3281
- $(Qn, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
3282
- function le(e, t = "algorithm.name") {
3281
+ $(zn, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
3282
+ function ce(e, t = "algorithm.name") {
3283
3283
  return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);
3284
3284
  }
3285
3285
  function Me(e, t) {
@@ -3310,46 +3310,46 @@ function Ha(e, t, r) {
3310
3310
  case "HS384":
3311
3311
  case "HS512": {
3312
3312
  if (!Me(e.algorithm, "HMAC"))
3313
- throw le("HMAC");
3313
+ throw ce("HMAC");
3314
3314
  const n = parseInt(t.slice(2), 10);
3315
3315
  if (Bt(e.algorithm.hash) !== n)
3316
- throw le(`SHA-${n}`, "algorithm.hash");
3316
+ throw ce(`SHA-${n}`, "algorithm.hash");
3317
3317
  break;
3318
3318
  }
3319
3319
  case "RS256":
3320
3320
  case "RS384":
3321
3321
  case "RS512": {
3322
3322
  if (!Me(e.algorithm, "RSASSA-PKCS1-v1_5"))
3323
- throw le("RSASSA-PKCS1-v1_5");
3323
+ throw ce("RSASSA-PKCS1-v1_5");
3324
3324
  const n = parseInt(t.slice(2), 10);
3325
3325
  if (Bt(e.algorithm.hash) !== n)
3326
- throw le(`SHA-${n}`, "algorithm.hash");
3326
+ throw ce(`SHA-${n}`, "algorithm.hash");
3327
3327
  break;
3328
3328
  }
3329
3329
  case "PS256":
3330
3330
  case "PS384":
3331
3331
  case "PS512": {
3332
3332
  if (!Me(e.algorithm, "RSA-PSS"))
3333
- throw le("RSA-PSS");
3333
+ throw ce("RSA-PSS");
3334
3334
  const n = parseInt(t.slice(2), 10);
3335
3335
  if (Bt(e.algorithm.hash) !== n)
3336
- throw le(`SHA-${n}`, "algorithm.hash");
3336
+ throw ce(`SHA-${n}`, "algorithm.hash");
3337
3337
  break;
3338
3338
  }
3339
3339
  case "Ed25519":
3340
3340
  case "EdDSA": {
3341
3341
  if (!Me(e.algorithm, "Ed25519"))
3342
- throw le("Ed25519");
3342
+ throw ce("Ed25519");
3343
3343
  break;
3344
3344
  }
3345
3345
  case "ES256":
3346
3346
  case "ES384":
3347
3347
  case "ES512": {
3348
3348
  if (!Me(e.algorithm, "ECDSA"))
3349
- throw le("ECDSA");
3349
+ throw ce("ECDSA");
3350
3350
  const n = Fa(t);
3351
3351
  if (e.algorithm.namedCurve !== n)
3352
- throw le(n, "algorithm.namedCurve");
3352
+ throw ce(n, "algorithm.namedCurve");
3353
3353
  break;
3354
3354
  }
3355
3355
  default:
@@ -3394,11 +3394,11 @@ const ts = (e) => Zn(e) || es(e), Va = (...e) => {
3394
3394
  }
3395
3395
  return !0;
3396
3396
  };
3397
- function Wa(e) {
3397
+ function ja(e) {
3398
3398
  return typeof e == "object" && e !== null;
3399
3399
  }
3400
3400
  const Ye = (e) => {
3401
- if (!Wa(e) || Object.prototype.toString.call(e) !== "[object Object]")
3401
+ if (!ja(e) || Object.prototype.toString.call(e) !== "[object Object]")
3402
3402
  return !1;
3403
3403
  if (Object.getPrototypeOf(e) === null)
3404
3404
  return !0;
@@ -3406,7 +3406,7 @@ const Ye = (e) => {
3406
3406
  for (; Object.getPrototypeOf(t) !== null; )
3407
3407
  t = Object.getPrototypeOf(t);
3408
3408
  return Object.getPrototypeOf(e) === t;
3409
- }, ja = (e, t) => {
3409
+ }, Wa = (e, t) => {
3410
3410
  if (e.startsWith("RS") || e.startsWith("PS")) {
3411
3411
  const { modulusLength: r } = t.algorithm;
3412
3412
  if (typeof r != "number" || r < 2048)
@@ -3418,7 +3418,7 @@ const Ye = (e) => {
3418
3418
  if (n === -1)
3419
3419
  return !1;
3420
3420
  const s = e.subarray(n, n + t.length);
3421
- return s.length !== t.length ? !1 : s.every((i, a) => i === t[a]) || mt(e, t, n + 1);
3421
+ return s.length !== t.length ? !1 : s.every((i, o) => i === t[o]) || mt(e, t, n + 1);
3422
3422
  }, Ga = (e) => {
3423
3423
  switch (!0) {
3424
3424
  case mt(e, [42, 134, 72, 206, 61, 3, 1, 7]):
@@ -3431,18 +3431,18 @@ const Ye = (e) => {
3431
3431
  return;
3432
3432
  }
3433
3433
  }, qa = async (e, t, r, n, s) => {
3434
- let i, a;
3435
- const o = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
3434
+ let i, o;
3435
+ const a = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
3436
3436
  switch (n) {
3437
3437
  case "PS256":
3438
3438
  case "PS384":
3439
3439
  case "PS512":
3440
- i = { name: "RSA-PSS", hash: `SHA-${n.slice(-3)}` }, a = ["verify"];
3440
+ i = { name: "RSA-PSS", hash: `SHA-${n.slice(-3)}` }, o = ["verify"];
3441
3441
  break;
3442
3442
  case "RS256":
3443
3443
  case "RS384":
3444
3444
  case "RS512":
3445
- i = { name: "RSASSA-PKCS1-v1_5", hash: `SHA-${n.slice(-3)}` }, a = ["verify"];
3445
+ i = { name: "RSASSA-PKCS1-v1_5", hash: `SHA-${n.slice(-3)}` }, o = ["verify"];
3446
3446
  break;
3447
3447
  case "RSA-OAEP":
3448
3448
  case "RSA-OAEP-256":
@@ -3451,35 +3451,35 @@ const Ye = (e) => {
3451
3451
  i = {
3452
3452
  name: "RSA-OAEP",
3453
3453
  hash: `SHA-${parseInt(n.slice(-3), 10) || 1}`
3454
- }, a = ["encrypt", "wrapKey"];
3454
+ }, o = ["encrypt", "wrapKey"];
3455
3455
  break;
3456
3456
  case "ES256":
3457
- i = { name: "ECDSA", namedCurve: "P-256" }, a = ["verify"];
3457
+ i = { name: "ECDSA", namedCurve: "P-256" }, o = ["verify"];
3458
3458
  break;
3459
3459
  case "ES384":
3460
- i = { name: "ECDSA", namedCurve: "P-384" }, a = ["verify"];
3460
+ i = { name: "ECDSA", namedCurve: "P-384" }, o = ["verify"];
3461
3461
  break;
3462
3462
  case "ES512":
3463
- i = { name: "ECDSA", namedCurve: "P-521" }, a = ["verify"];
3463
+ i = { name: "ECDSA", namedCurve: "P-521" }, o = ["verify"];
3464
3464
  break;
3465
3465
  case "ECDH-ES":
3466
3466
  case "ECDH-ES+A128KW":
3467
3467
  case "ECDH-ES+A192KW":
3468
3468
  case "ECDH-ES+A256KW": {
3469
- const c = Ga(o);
3470
- i = c != null && c.startsWith("P-") ? { name: "ECDH", namedCurve: c } : { name: "X25519" }, a = [];
3469
+ const c = Ga(a);
3470
+ i = c != null && c.startsWith("P-") ? { name: "ECDH", namedCurve: c } : { name: "X25519" }, o = [];
3471
3471
  break;
3472
3472
  }
3473
3473
  case "Ed25519":
3474
3474
  case "EdDSA":
3475
- i = { name: "Ed25519" }, a = ["verify"];
3475
+ i = { name: "Ed25519" }, o = ["verify"];
3476
3476
  break;
3477
3477
  default:
3478
3478
  throw new ge('Invalid or unsupported "alg" (Algorithm) value');
3479
3479
  }
3480
- return crypto.subtle.importKey(t, o, i, !0, a);
3480
+ return crypto.subtle.importKey(t, a, i, !0, o);
3481
3481
  }, Ja = (e, t, r) => qa(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3482
- function za(e) {
3482
+ function Qa(e) {
3483
3483
  let t, r;
3484
3484
  switch (e.kty) {
3485
3485
  case "RSA": {
@@ -3552,10 +3552,10 @@ function za(e) {
3552
3552
  }
3553
3553
  return { algorithm: t, keyUsages: r };
3554
3554
  }
3555
- const Qa = async (e) => {
3555
+ const za = async (e) => {
3556
3556
  if (!e.alg)
3557
3557
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
3558
- const { algorithm: t, keyUsages: r } = za(e), n = { ...e };
3558
+ const { algorithm: t, keyUsages: r } = Qa(e), n = { ...e };
3559
3559
  return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
3560
3560
  };
3561
3561
  async function Ya(e, t, r) {
@@ -3568,17 +3568,17 @@ const Xa = (e, t, r, n, s) => {
3568
3568
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
3569
3569
  if (!n || n.crit === void 0)
3570
3570
  return /* @__PURE__ */ new Set();
3571
- if (!Array.isArray(n.crit) || n.crit.length === 0 || n.crit.some((a) => typeof a != "string" || a.length === 0))
3571
+ if (!Array.isArray(n.crit) || n.crit.length === 0 || n.crit.some((o) => typeof o != "string" || o.length === 0))
3572
3572
  throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');
3573
3573
  let i;
3574
3574
  r !== void 0 ? i = new Map([...Object.entries(r), ...t.entries()]) : i = t;
3575
- for (const a of n.crit) {
3576
- if (!i.has(a))
3577
- throw new ge(`Extension Header Parameter "${a}" is not recognized`);
3578
- if (s[a] === void 0)
3579
- throw new e(`Extension Header Parameter "${a}" is missing`);
3580
- if (i.get(a) && n[a] === void 0)
3581
- throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`);
3575
+ for (const o of n.crit) {
3576
+ if (!i.has(o))
3577
+ throw new ge(`Extension Header Parameter "${o}" is not recognized`);
3578
+ if (s[o] === void 0)
3579
+ throw new e(`Extension Header Parameter "${o}" is missing`);
3580
+ if (i.get(o) && n[o] === void 0)
3581
+ throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`);
3582
3582
  }
3583
3583
  return new Set(n.crit);
3584
3584
  }, Za = (e, t) => {
@@ -3600,12 +3600,12 @@ function ro(e) {
3600
3600
  return e.kty === "oct" && typeof e.k == "string";
3601
3601
  }
3602
3602
  let be;
3603
- const jr = async (e, t, r, n = !1) => {
3603
+ const Wr = async (e, t, r, n = !1) => {
3604
3604
  be || (be = /* @__PURE__ */ new WeakMap());
3605
3605
  let s = be.get(e);
3606
3606
  if (s != null && s[r])
3607
3607
  return s[r];
3608
- const i = await Qa({ ...t, alg: r });
3608
+ const i = await za({ ...t, alg: r });
3609
3609
  return n && Object.freeze(e), s ? s[r] = i : be.set(e, { [r]: i }), i;
3610
3610
  }, no = (e, t) => {
3611
3611
  var r;
@@ -3614,7 +3614,7 @@ const jr = async (e, t, r, n = !1) => {
3614
3614
  if (n != null && n[t])
3615
3615
  return n[t];
3616
3616
  const s = e.type === "public", i = !!s;
3617
- let a;
3617
+ let o;
3618
3618
  if (e.asymmetricKeyType === "x25519") {
3619
3619
  switch (t) {
3620
3620
  case "ECDH-ES":
@@ -3625,35 +3625,35 @@ const jr = async (e, t, r, n = !1) => {
3625
3625
  default:
3626
3626
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
3627
3627
  }
3628
- a = e.toCryptoKey(e.asymmetricKeyType, i, s ? [] : ["deriveBits"]);
3628
+ o = e.toCryptoKey(e.asymmetricKeyType, i, s ? [] : ["deriveBits"]);
3629
3629
  }
3630
3630
  if (e.asymmetricKeyType === "ed25519") {
3631
3631
  if (t !== "EdDSA" && t !== "Ed25519")
3632
3632
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
3633
- a = e.toCryptoKey(e.asymmetricKeyType, i, [
3633
+ o = e.toCryptoKey(e.asymmetricKeyType, i, [
3634
3634
  s ? "verify" : "sign"
3635
3635
  ]);
3636
3636
  }
3637
3637
  if (e.asymmetricKeyType === "rsa") {
3638
- let o;
3638
+ let a;
3639
3639
  switch (t) {
3640
3640
  case "RSA-OAEP":
3641
- o = "SHA-1";
3641
+ a = "SHA-1";
3642
3642
  break;
3643
3643
  case "RS256":
3644
3644
  case "PS256":
3645
3645
  case "RSA-OAEP-256":
3646
- o = "SHA-256";
3646
+ a = "SHA-256";
3647
3647
  break;
3648
3648
  case "RS384":
3649
3649
  case "PS384":
3650
3650
  case "RSA-OAEP-384":
3651
- o = "SHA-384";
3651
+ a = "SHA-384";
3652
3652
  break;
3653
3653
  case "RS512":
3654
3654
  case "PS512":
3655
3655
  case "RSA-OAEP-512":
3656
- o = "SHA-512";
3656
+ a = "SHA-512";
3657
3657
  break;
3658
3658
  default:
3659
3659
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
@@ -3661,38 +3661,38 @@ const jr = async (e, t, r, n = !1) => {
3661
3661
  if (t.startsWith("RSA-OAEP"))
3662
3662
  return e.toCryptoKey({
3663
3663
  name: "RSA-OAEP",
3664
- hash: o
3664
+ hash: a
3665
3665
  }, i, s ? ["encrypt"] : ["decrypt"]);
3666
- a = e.toCryptoKey({
3666
+ o = e.toCryptoKey({
3667
3667
  name: t.startsWith("PS") ? "RSA-PSS" : "RSASSA-PKCS1-v1_5",
3668
- hash: o
3668
+ hash: a
3669
3669
  }, i, [s ? "verify" : "sign"]);
3670
3670
  }
3671
3671
  if (e.asymmetricKeyType === "ec") {
3672
- const o = (/* @__PURE__ */ new Map([
3672
+ const a = (/* @__PURE__ */ new Map([
3673
3673
  ["prime256v1", "P-256"],
3674
3674
  ["secp384r1", "P-384"],
3675
3675
  ["secp521r1", "P-521"]
3676
3676
  ])).get((r = e.asymmetricKeyDetails) == null ? void 0 : r.namedCurve);
3677
- if (!o)
3677
+ if (!a)
3678
3678
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
3679
- t === "ES256" && o === "P-256" && (a = e.toCryptoKey({
3679
+ t === "ES256" && a === "P-256" && (o = e.toCryptoKey({
3680
3680
  name: "ECDSA",
3681
- namedCurve: o
3682
- }, i, [s ? "verify" : "sign"])), t === "ES384" && o === "P-384" && (a = e.toCryptoKey({
3681
+ namedCurve: a
3682
+ }, i, [s ? "verify" : "sign"])), t === "ES384" && a === "P-384" && (o = e.toCryptoKey({
3683
3683
  name: "ECDSA",
3684
- namedCurve: o
3685
- }, i, [s ? "verify" : "sign"])), t === "ES512" && o === "P-521" && (a = e.toCryptoKey({
3684
+ namedCurve: a
3685
+ }, i, [s ? "verify" : "sign"])), t === "ES512" && a === "P-521" && (o = e.toCryptoKey({
3686
3686
  name: "ECDSA",
3687
- namedCurve: o
3688
- }, i, [s ? "verify" : "sign"])), t.startsWith("ECDH-ES") && (a = e.toCryptoKey({
3687
+ namedCurve: a
3688
+ }, i, [s ? "verify" : "sign"])), t.startsWith("ECDH-ES") && (o = e.toCryptoKey({
3689
3689
  name: "ECDH",
3690
- namedCurve: o
3690
+ namedCurve: a
3691
3691
  }, i, s ? [] : ["deriveBits"]));
3692
3692
  }
3693
- if (!a)
3693
+ if (!o)
3694
3694
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
3695
- return n ? n[t] = a : be.set(e, { [t]: a }), a;
3695
+ return n ? n[t] = o : be.set(e, { [t]: o }), o;
3696
3696
  }, so = async (e, t) => {
3697
3697
  if (e instanceof Uint8Array || Zn(e))
3698
3698
  return e;
@@ -3707,10 +3707,10 @@ const jr = async (e, t, r, n = !1) => {
3707
3707
  throw n;
3708
3708
  }
3709
3709
  let r = e.export({ format: "jwk" });
3710
- return jr(e, r, t);
3710
+ return Wr(e, r, t);
3711
3711
  }
3712
3712
  if (Er(e))
3713
- return e.k ? He(e.k) : jr(e, e, t, !0);
3713
+ return e.k ? He(e.k) : Wr(e, e, t, !0);
3714
3714
  throw new Error("unreachable");
3715
3715
  }, Ne = (e) => e?.[Symbol.toStringTag], mr = (e, t, r) => {
3716
3716
  var n, s;
@@ -3836,7 +3836,7 @@ const jr = async (e, t, r, n = !1) => {
3836
3836
  return Ha(t, e, r), t;
3837
3837
  }, uo = async (e, t, r, n) => {
3838
3838
  const s = await lo(e, t, "verify");
3839
- ja(e, s);
3839
+ Wa(e, s);
3840
3840
  const i = co(e, s.algorithm);
3841
3841
  try {
3842
3842
  return await crypto.subtle.verify(i, s, r, n);
@@ -3871,22 +3871,22 @@ async function fo(e, t, r) {
3871
3871
  ...n,
3872
3872
  ...e.header
3873
3873
  }, i = Xa(F, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
3874
- let a = !0;
3875
- if (i.has("b64") && (a = n.b64, typeof a != "boolean"))
3874
+ let o = !0;
3875
+ if (i.has("b64") && (o = n.b64, typeof o != "boolean"))
3876
3876
  throw new F('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
3877
- const { alg: o } = s;
3878
- if (typeof o != "string" || !o)
3877
+ const { alg: a } = s;
3878
+ if (typeof a != "string" || !a)
3879
3879
  throw new F('JWS "alg" (Algorithm) Header Parameter missing or invalid');
3880
3880
  const c = r && Za("algorithms", r.algorithms);
3881
- if (c && !c.has(o))
3882
- throw new zn('"alg" (Algorithm) Header Parameter value not allowed');
3883
- if (a) {
3881
+ if (c && !c.has(a))
3882
+ throw new Qn('"alg" (Algorithm) Header Parameter value not allowed');
3883
+ if (o) {
3884
3884
  if (typeof e.payload != "string")
3885
3885
  throw new F("JWS Payload must be a string");
3886
3886
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
3887
3887
  throw new F("JWS Payload must be a string or an Uint8Array instance");
3888
3888
  let d = !1;
3889
- typeof t == "function" && (t = await t(n, e), d = !0), oo(o, t, "verify");
3889
+ typeof t == "function" && (t = await t(n, e), d = !0), oo(a, t, "verify");
3890
3890
  const u = La(at.encode(e.protected ?? ""), at.encode("."), typeof e.payload == "string" ? at.encode(e.payload) : e.payload);
3891
3891
  let l;
3892
3892
  try {
@@ -3894,11 +3894,11 @@ async function fo(e, t, r) {
3894
3894
  } catch {
3895
3895
  throw new F("Failed to base64url decode the signature");
3896
3896
  }
3897
- const f = await so(t, o);
3898
- if (!await uo(o, f, l, u))
3899
- throw new Qn();
3897
+ const f = await so(t, a);
3898
+ if (!await uo(a, f, l, u))
3899
+ throw new zn();
3900
3900
  let h;
3901
- if (a)
3901
+ if (o)
3902
3902
  try {
3903
3903
  h = He(e.payload);
3904
3904
  } catch {
@@ -3911,11 +3911,11 @@ async function fo(e, t, r) {
3911
3911
  async function ho(e, t, r) {
3912
3912
  if (e instanceof Uint8Array && (e = $e.decode(e)), typeof e != "string")
3913
3913
  throw new F("Compact JWS must be a string or Uint8Array");
3914
- const { 0: n, 1: s, 2: i, length: a } = e.split(".");
3915
- if (a !== 3)
3914
+ const { 0: n, 1: s, 2: i, length: o } = e.split(".");
3915
+ if (o !== 3)
3916
3916
  throw new F("Invalid Compact JWS");
3917
- const o = await fo({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
3918
- return typeof t == "function" ? { ...c, key: o.key } : c;
3917
+ const a = await fo({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
3918
+ return typeof t == "function" ? { ...c, key: a.key } : c;
3919
3919
  }
3920
3920
  const mo = (e) => Math.floor(e.getTime() / 1e3), rs = 60, ns = rs * 60, Sr = ns * 24, yo = Sr * 7, po = Sr * 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, Gr = (e) => {
3921
3921
  const t = go.exec(e);
@@ -3968,21 +3968,21 @@ function wo(e, t, r = {}) {
3968
3968
  } catch {
3969
3969
  }
3970
3970
  if (!Ye(n))
3971
- throw new ie("JWT Claims Set must be a top-level JSON object");
3971
+ throw new se("JWT Claims Set must be a top-level JSON object");
3972
3972
  const { typ: s } = r;
3973
3973
  if (s && (typeof e.typ != "string" || qr(e.typ) !== qr(s)))
3974
- throw new te('unexpected "typ" JWT header value', n, "typ", "check_failed");
3975
- const { requiredClaims: i = [], issuer: a, subject: o, audience: c, maxTokenAge: d } = r, u = [...i];
3976
- d !== void 0 && u.push("iat"), c !== void 0 && u.push("aud"), o !== void 0 && u.push("sub"), a !== void 0 && u.push("iss");
3974
+ throw new ee('unexpected "typ" JWT header value', n, "typ", "check_failed");
3975
+ const { requiredClaims: i = [], issuer: o, subject: a, audience: c, maxTokenAge: d } = r, u = [...i];
3976
+ d !== void 0 && u.push("iat"), c !== void 0 && u.push("aud"), a !== void 0 && u.push("sub"), o !== void 0 && u.push("iss");
3977
3977
  for (const m of new Set(u.reverse()))
3978
3978
  if (!(m in n))
3979
- throw new te(`missing required "${m}" claim`, n, m, "missing");
3980
- if (a && !(Array.isArray(a) ? a : [a]).includes(n.iss))
3981
- throw new te('unexpected "iss" claim value', n, "iss", "check_failed");
3982
- if (o && n.sub !== o)
3983
- throw new te('unexpected "sub" claim value', n, "sub", "check_failed");
3979
+ throw new ee(`missing required "${m}" claim`, n, m, "missing");
3980
+ if (o && !(Array.isArray(o) ? o : [o]).includes(n.iss))
3981
+ throw new ee('unexpected "iss" claim value', n, "iss", "check_failed");
3982
+ if (a && n.sub !== a)
3983
+ throw new ee('unexpected "sub" claim value', n, "sub", "check_failed");
3984
3984
  if (c && !bo(n.aud, typeof c == "string" ? [c] : c))
3985
- throw new te('unexpected "aud" claim value', n, "aud", "check_failed");
3985
+ throw new ee('unexpected "aud" claim value', n, "aud", "check_failed");
3986
3986
  let l;
3987
3987
  switch (typeof r.clockTolerance) {
3988
3988
  case "string":
@@ -3999,16 +3999,16 @@ function wo(e, t, r = {}) {
3999
3999
  }
4000
4000
  const { currentDate: f } = r, h = mo(f || /* @__PURE__ */ new Date());
4001
4001
  if ((n.iat !== void 0 || d) && typeof n.iat != "number")
4002
- throw new te('"iat" claim must be a number', n, "iat", "invalid");
4002
+ throw new ee('"iat" claim must be a number', n, "iat", "invalid");
4003
4003
  if (n.nbf !== void 0) {
4004
4004
  if (typeof n.nbf != "number")
4005
- throw new te('"nbf" claim must be a number', n, "nbf", "invalid");
4005
+ throw new ee('"nbf" claim must be a number', n, "nbf", "invalid");
4006
4006
  if (n.nbf > h + l)
4007
- throw new te('"nbf" claim timestamp check failed', n, "nbf", "check_failed");
4007
+ throw new ee('"nbf" claim timestamp check failed', n, "nbf", "check_failed");
4008
4008
  }
4009
4009
  if (n.exp !== void 0) {
4010
4010
  if (typeof n.exp != "number")
4011
- throw new te('"exp" claim must be a number', n, "exp", "invalid");
4011
+ throw new ee('"exp" claim must be a number', n, "exp", "invalid");
4012
4012
  if (n.exp <= h - l)
4013
4013
  throw new hr('"exp" claim timestamp check failed', n, "exp", "check_failed");
4014
4014
  }
@@ -4017,7 +4017,7 @@ function wo(e, t, r = {}) {
4017
4017
  if (m - l > p)
4018
4018
  throw new hr('"iat" claim timestamp check failed (too far in the past)', n, "iat", "check_failed");
4019
4019
  if (m < 0 - l)
4020
- throw new te('"iat" claim timestamp check failed (it should be in the past)', n, "iat", "check_failed");
4020
+ throw new ee('"iat" claim timestamp check failed (it should be in the past)', n, "iat", "check_failed");
4021
4021
  }
4022
4022
  return n;
4023
4023
  }
@@ -4025,41 +4025,41 @@ async function vo(e, t, r) {
4025
4025
  var n;
4026
4026
  const s = await ho(e, t, r);
4027
4027
  if ((n = s.protectedHeader.crit) != null && n.includes("b64") && s.protectedHeader.b64 === !1)
4028
- throw new ie("JWTs MUST NOT use unencoded payload");
4028
+ throw new se("JWTs MUST NOT use unencoded payload");
4029
4029
  const i = { payload: wo(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4030
4030
  return typeof t == "function" ? { ...i, key: s.key } : i;
4031
4031
  }
4032
4032
  function Eo(e) {
4033
4033
  if (typeof e != "string")
4034
- throw new ie("JWTs must use Compact JWS serialization, JWT must be a string");
4034
+ throw new se("JWTs must use Compact JWS serialization, JWT must be a string");
4035
4035
  const { 1: t, length: r } = e.split(".");
4036
4036
  if (r === 5)
4037
- throw new ie("Only JWTs using Compact JWS serialization can be decoded");
4037
+ throw new se("Only JWTs using Compact JWS serialization can be decoded");
4038
4038
  if (r !== 3)
4039
- throw new ie("Invalid JWT");
4039
+ throw new se("Invalid JWT");
4040
4040
  if (!t)
4041
- throw new ie("JWTs must contain a payload");
4041
+ throw new se("JWTs must contain a payload");
4042
4042
  let n;
4043
4043
  try {
4044
4044
  n = He(t);
4045
4045
  } catch {
4046
- throw new ie("Failed to base64url decode the payload");
4046
+ throw new se("Failed to base64url decode the payload");
4047
4047
  }
4048
4048
  let s;
4049
4049
  try {
4050
4050
  s = JSON.parse($e.decode(n));
4051
4051
  } catch {
4052
- throw new ie("Failed to parse the decoded payload as JSON");
4052
+ throw new se("Failed to parse the decoded payload as JSON");
4053
4053
  }
4054
4054
  if (!Ye(s))
4055
- throw new ie("Invalid JWT Claims Set");
4055
+ throw new se("Invalid JWT Claims Set");
4056
4056
  return s;
4057
4057
  }
4058
4058
  const Xe = async (e) => {
4059
4059
  try {
4060
- const t = W.ALG, r = await Ya(Ma, t);
4060
+ const t = j.ALG, r = await Ya(Ma, t);
4061
4061
  return await vo(e, r, {
4062
- issuer: W.ISSUER
4062
+ issuer: j.ISSUER
4063
4063
  });
4064
4064
  } catch {
4065
4065
  return;
@@ -4087,7 +4087,7 @@ function Io() {
4087
4087
  return Vt(Ao);
4088
4088
  }
4089
4089
  const ko = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Jr = { randomUUID: ko };
4090
- function zr(e, t, r) {
4090
+ function Qr(e, t, r) {
4091
4091
  var n;
4092
4092
  if (Jr.randomUUID && !e)
4093
4093
  return Jr.randomUUID();
@@ -4097,15 +4097,15 @@ function zr(e, t, r) {
4097
4097
  throw new Error("Random bytes length must be >= 16");
4098
4098
  return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, To(s);
4099
4099
  }
4100
- const Qr = globalThis.crypto, Oo = (e) => `${zr()}${zr()}`.slice(0, e), Ro = (e) => btoa(
4100
+ const zr = globalThis.crypto, Oo = (e) => `${Qr()}${Qr()}`.slice(0, e), Ro = (e) => btoa(
4101
4101
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4102
4102
  );
4103
4103
  async function _o(e) {
4104
- if (!Qr.subtle)
4104
+ if (!zr.subtle)
4105
4105
  throw new Error(
4106
4106
  "crypto.subtle is available only in secure contexts (HTTPS)."
4107
4107
  );
4108
- const t = new TextEncoder().encode(e), r = await Qr.subtle.digest("SHA-256", t);
4108
+ const t = new TextEncoder().encode(e), r = await zr.subtle.digest("SHA-256", t);
4109
4109
  return Ro(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4110
4110
  }
4111
4111
  async function Co(e) {
@@ -4116,7 +4116,7 @@ async function Co(e) {
4116
4116
  };
4117
4117
  }
4118
4118
  const ss = ln(null);
4119
- 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, Wt = (e, t, r) => Po(e, typeof t != "symbol" ? t + "" : t, r);
4119
+ 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, jt = (e, t, r) => Po(e, typeof t != "symbol" ? t + "" : t, r);
4120
4120
  /*!
4121
4121
  @versini/auth-provider v8.0.4
4122
4122
  © 2025 gizmette.com
@@ -4130,7 +4130,7 @@ try {
4130
4130
  });
4131
4131
  } catch {
4132
4132
  }
4133
- function ae(e) {
4133
+ function ie(e) {
4134
4134
  const t = new Uint8Array(e);
4135
4135
  let r = "";
4136
4136
  for (const n of t)
@@ -4138,9 +4138,9 @@ function ae(e) {
4138
4138
  return btoa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
4139
4139
  }
4140
4140
  function It(e) {
4141
- const t = e.replace(/-/g, "+").replace(/_/g, "/"), r = (4 - t.length % 4) % 4, n = t.padEnd(t.length + r, "="), s = atob(n), i = new ArrayBuffer(s.length), a = new Uint8Array(i);
4142
- for (let o = 0; o < s.length; o++)
4143
- a[o] = s.charCodeAt(o);
4141
+ const t = e.replace(/-/g, "+").replace(/_/g, "/"), r = (4 - t.length % 4) % 4, n = t.padEnd(t.length + r, "="), s = atob(n), i = new ArrayBuffer(s.length), o = new Uint8Array(i);
4142
+ for (let a = 0; a < s.length; a++)
4143
+ o[a] = s.charCodeAt(a);
4144
4144
  return i;
4145
4145
  }
4146
4146
  function Tr() {
@@ -4316,7 +4316,7 @@ async function Lo(e) {
4316
4316
  }
4317
4317
  if (!i)
4318
4318
  throw new Error("Registration was not completed");
4319
- const { id: a, rawId: o, response: c, type: d } = i;
4319
+ const { id: o, rawId: a, response: c, type: d } = i;
4320
4320
  let u;
4321
4321
  typeof c.getTransports == "function" && (u = c.getTransports());
4322
4322
  let l;
@@ -4324,29 +4324,29 @@ async function Lo(e) {
4324
4324
  try {
4325
4325
  l = c.getPublicKeyAlgorithm();
4326
4326
  } catch (m) {
4327
- jt("getPublicKeyAlgorithm()", m);
4327
+ Wt("getPublicKeyAlgorithm()", m);
4328
4328
  }
4329
4329
  let f;
4330
4330
  if (typeof c.getPublicKey == "function")
4331
4331
  try {
4332
4332
  const m = c.getPublicKey();
4333
- m !== null && (f = ae(m));
4333
+ m !== null && (f = ie(m));
4334
4334
  } catch (m) {
4335
- jt("getPublicKey()", m);
4335
+ Wt("getPublicKey()", m);
4336
4336
  }
4337
4337
  let h;
4338
4338
  if (typeof c.getAuthenticatorData == "function")
4339
4339
  try {
4340
- h = ae(c.getAuthenticatorData());
4340
+ h = ie(c.getAuthenticatorData());
4341
4341
  } catch (m) {
4342
- jt("getAuthenticatorData()", m);
4342
+ Wt("getAuthenticatorData()", m);
4343
4343
  }
4344
4344
  return {
4345
- id: a,
4346
- rawId: ae(o),
4345
+ id: o,
4346
+ rawId: ie(a),
4347
4347
  response: {
4348
- attestationObject: ae(c.attestationObject),
4349
- clientDataJSON: ae(c.clientDataJSON),
4348
+ attestationObject: ie(c.attestationObject),
4349
+ clientDataJSON: ie(c.clientDataJSON),
4350
4350
  transports: u,
4351
4351
  publicKeyAlgorithm: l,
4352
4352
  publicKey: f,
@@ -4357,7 +4357,7 @@ async function Lo(e) {
4357
4357
  authenticatorAttachment: cs(i.authenticatorAttachment)
4358
4358
  };
4359
4359
  }
4360
- function jt(e, t) {
4360
+ function Wt(e, t) {
4361
4361
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
4362
4362
  `, t);
4363
4363
  }
@@ -4422,37 +4422,37 @@ async function Ko(e) {
4422
4422
  ...t,
4423
4423
  challenge: It(t.challenge),
4424
4424
  allowCredentials: s
4425
- }, a = {};
4425
+ }, o = {};
4426
4426
  if (r) {
4427
4427
  if (!await Uo())
4428
4428
  throw Error("Browser does not support WebAuthn autofill");
4429
4429
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && n)
4430
4430
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
4431
- a.mediation = "conditional", i.allowCredentials = [];
4431
+ o.mediation = "conditional", i.allowCredentials = [];
4432
4432
  }
4433
- a.publicKey = i, a.signal = os.createNewAbortSignal();
4434
- let o;
4433
+ o.publicKey = i, o.signal = os.createNewAbortSignal();
4434
+ let a;
4435
4435
  try {
4436
- o = await navigator.credentials.get(a);
4436
+ a = await navigator.credentials.get(o);
4437
4437
  } catch (h) {
4438
- throw Fo({ error: h, options: a });
4438
+ throw Fo({ error: h, options: o });
4439
4439
  }
4440
- if (!o)
4440
+ if (!a)
4441
4441
  throw new Error("Authentication was not completed");
4442
- const { id: c, rawId: d, response: u, type: l } = o;
4442
+ const { id: c, rawId: d, response: u, type: l } = a;
4443
4443
  let f;
4444
- return u.userHandle && (f = ae(u.userHandle)), {
4444
+ return u.userHandle && (f = ie(u.userHandle)), {
4445
4445
  id: c,
4446
- rawId: ae(d),
4446
+ rawId: ie(d),
4447
4447
  response: {
4448
- authenticatorData: ae(u.authenticatorData),
4449
- clientDataJSON: ae(u.clientDataJSON),
4450
- signature: ae(u.signature),
4448
+ authenticatorData: ie(u.authenticatorData),
4449
+ clientDataJSON: ie(u.clientDataJSON),
4450
+ signature: ie(u.signature),
4451
4451
  userHandle: f
4452
4452
  },
4453
4453
  type: l,
4454
- clientExtensionResults: o.getClientExtensionResults(),
4455
- authenticatorAttachment: cs(o.authenticatorAttachment)
4454
+ clientExtensionResults: a.getClientExtensionResults(),
4455
+ authenticatorAttachment: cs(a.authenticatorAttachment)
4456
4456
  };
4457
4457
  }
4458
4458
  function ls(e, t) {
@@ -4470,26 +4470,26 @@ function ot({
4470
4470
  key: e,
4471
4471
  initialValue: t
4472
4472
  }) {
4473
- const r = xs(Bo, () => Xr(e)), n = de(
4474
- (a) => {
4473
+ const r = xs(Bo, () => Xr(e)), n = ue(
4474
+ (o) => {
4475
4475
  try {
4476
- const o = typeof a == "function" ? a(JSON.parse(r)) : a;
4477
- o == null ? Ho(e) : Yr(e, o);
4478
- } catch (o) {
4479
- console.warn(o);
4476
+ const a = typeof o == "function" ? o(JSON.parse(r)) : o;
4477
+ a == null ? Ho(e) : Yr(e, a);
4478
+ } catch (a) {
4479
+ console.warn(a);
4480
4480
  }
4481
4481
  },
4482
4482
  [e, r]
4483
- ), s = de(() => {
4483
+ ), s = ue(() => {
4484
4484
  n(t);
4485
- }, [t, n]), i = de(() => {
4485
+ }, [t, n]), i = ue(() => {
4486
4486
  n(null);
4487
4487
  }, [n]);
4488
- return ee(() => {
4488
+ return Z(() => {
4489
4489
  try {
4490
4490
  Xr(e) === null && typeof t < "u" && Yr(e, t);
4491
- } catch (a) {
4492
- console.warn(a);
4491
+ } catch (o) {
4492
+ console.warn(o);
4493
4493
  }
4494
4494
  }, [e, t]), [r ? JSON.parse(r) : null, n, s, i];
4495
4495
  }
@@ -4500,26 +4500,26 @@ function Vo(e, t = 0) {
4500
4500
  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();
4501
4501
  }
4502
4502
  let qt;
4503
- const Wo = new Uint8Array(16);
4504
- function jo() {
4503
+ const jo = new Uint8Array(16);
4504
+ function Wo() {
4505
4505
  if (!qt) {
4506
4506
  if (typeof crypto > "u" || !crypto.getRandomValues)
4507
4507
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4508
4508
  qt = crypto.getRandomValues.bind(crypto);
4509
4509
  }
4510
- return qt(Wo);
4510
+ return qt(jo);
4511
4511
  }
4512
4512
  const Go = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Zr = { randomUUID: Go };
4513
4513
  function Jt(e, t, r) {
4514
4514
  if (Zr.randomUUID && !e)
4515
4515
  return Zr.randomUUID();
4516
4516
  e = e || {};
4517
- const n = e.random ?? e.rng?.() ?? jo();
4517
+ const n = e.random ?? e.rng?.() ?? Wo();
4518
4518
  if (n.length < 16)
4519
4519
  throw new Error("Random bytes length must be >= 16");
4520
4520
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Vo(n);
4521
4521
  }
4522
- const Oe = "Your session has expired. For your security, please log in again to continue.", qo = "Your session has been successfully terminated.", zt = "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", us = "LOGOUT", Ze = "success", ce = "failure", ds = "include", fs = "POST", hs = "application/json", lt = {
4522
+ const Oe = "Your session has expired. For your security, please log in again to continue.", qo = "Your session has been successfully terminated.", Qt = "Login failed. Please try again.", Jo = "Error getting access token, please re-authenticate.", Qo = "You forgot to wrap your component in <AuthProvider>.", ct = "@@auth@@", Le = "LOADING", yt = "LOGIN", us = "LOGOUT", Ze = "success", oe = "failure", ds = "include", fs = "POST", hs = "application/json", lt = {
4523
4523
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
4524
4524
  $clientId: String!,
4525
4525
  $username: String!,
@@ -4625,7 +4625,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4625
4625
  endpoint: s
4626
4626
  }) => {
4627
4627
  try {
4628
- const i = `Bearer ${e}`, a = await fetch(`${s}/graphql`, {
4628
+ const i = `Bearer ${e}`, o = await fetch(`${s}/graphql`, {
4629
4629
  credentials: ds,
4630
4630
  method: fs,
4631
4631
  headers: {
@@ -4638,15 +4638,15 @@ const Oe = "Your session has expired. For your security, please log in again to
4638
4638
  variables: n
4639
4639
  })
4640
4640
  });
4641
- if (a.status !== 200)
4642
- return { status: ce, data: [] };
4643
- const { data: o } = await a.json();
4641
+ if (o.status !== 200)
4642
+ return { status: oe, data: [] };
4643
+ const { data: a } = await o.json();
4644
4644
  return {
4645
4645
  status: Ze,
4646
- data: o[t.method]
4646
+ data: a[t.method]
4647
4647
  };
4648
4648
  } catch (i) {
4649
- return console.error(i), { status: ce, data: [] };
4649
+ return console.error(i), { status: oe, data: [] };
4650
4650
  }
4651
4651
  }, Dt = async ({
4652
4652
  type: e,
@@ -4665,16 +4665,16 @@ const Oe = "Your session has expired. For your security, please log in again to
4665
4665
  body: JSON.stringify(r)
4666
4666
  });
4667
4667
  if (s.status !== 200)
4668
- return { status: ce, data: [] };
4668
+ return { status: oe, data: [] };
4669
4669
  const { data: i } = await s.json();
4670
4670
  return {
4671
4671
  status: Ze,
4672
4672
  data: i || []
4673
4673
  };
4674
4674
  } catch (s) {
4675
- return console.error(s), { status: ce, data: [] };
4675
+ return console.error(s), { status: oe, data: [] };
4676
4676
  }
4677
- }, Qo = process.env.NODE_ENV === "production", Yo = !Qo, ms = {
4677
+ }, zo = process.env.NODE_ENV === "production", Yo = !zo, ms = {
4678
4678
  isLoading: !0,
4679
4679
  isAuthenticated: !1,
4680
4680
  user: void 0,
@@ -4684,7 +4684,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4684
4684
  }, Xo = (e) => {
4685
4685
  try {
4686
4686
  const t = So(e);
4687
- return t ? t[W.USER_ID_KEY] : "";
4687
+ return t ? t[j.USER_ID_KEY] : "";
4688
4688
  } catch {
4689
4689
  return "";
4690
4690
  }
@@ -4706,11 +4706,11 @@ const Oe = "Your session has expired. For your security, please log in again to
4706
4706
  domain: r,
4707
4707
  idToken: n
4708
4708
  }
4709
- }))?.status || ce
4709
+ }))?.status || oe
4710
4710
  };
4711
4711
  } catch {
4712
4712
  return {
4713
- status: ce
4713
+ status: oe
4714
4714
  };
4715
4715
  }
4716
4716
  }, ec = async ({
@@ -4720,8 +4720,8 @@ const Oe = "Your session has expired. For your security, please log in again to
4720
4720
  nonce: n,
4721
4721
  type: s,
4722
4722
  sessionExpiration: i,
4723
- code: a,
4724
- code_verifier: o,
4723
+ code: o,
4724
+ code_verifier: a,
4725
4725
  domain: c,
4726
4726
  ua: d,
4727
4727
  endpoint: u
@@ -4737,18 +4737,18 @@ const Oe = "Your session has expired. For your security, please log in again to
4737
4737
  password: t,
4738
4738
  sessionExpiration: i,
4739
4739
  nonce: n,
4740
- code: a,
4741
- code_verifier: o,
4740
+ code: o,
4741
+ code_verifier: a,
4742
4742
  domain: c,
4743
4743
  ua: d
4744
4744
  }
4745
4745
  }), f = await Xe(l?.data?.idToken);
4746
- return f && f.payload[W.USER_ID_KEY] !== "" && f.payload[W.NONCE_KEY] === n ? {
4746
+ return f && f.payload[j.USER_ID_KEY] !== "" && f.payload[j.NONCE_KEY] === n ? {
4747
4747
  idToken: l.data.idToken,
4748
4748
  accessToken: l.data.accessToken,
4749
4749
  refreshToken: l.data.refreshToken,
4750
- userId: f.payload[W.USER_ID_KEY],
4751
- email: f.payload[W.EMAIL_KEY],
4750
+ userId: f.payload[j.USER_ID_KEY],
4751
+ email: f.payload[j.EMAIL_KEY],
4752
4752
  status: !0
4753
4753
  } : {
4754
4754
  status: !1
@@ -4779,12 +4779,12 @@ const Oe = "Your session has expired. For your security, please log in again to
4779
4779
  status: Ze,
4780
4780
  data: s.data.code
4781
4781
  } : {
4782
- status: ce,
4782
+ status: oe,
4783
4783
  data: ""
4784
4784
  };
4785
4785
  } catch {
4786
4786
  return {
4787
- status: ce,
4787
+ status: oe,
4788
4788
  data: ""
4789
4789
  };
4790
4790
  }
@@ -4795,11 +4795,11 @@ const Oe = "Your session has expired. For your security, please log in again to
4795
4795
  refreshToken: n,
4796
4796
  accessToken: s,
4797
4797
  domain: i,
4798
- endpoint: a
4798
+ endpoint: o
4799
4799
  }) => {
4800
4800
  try {
4801
- const o = await Dt({
4802
- endpoint: a,
4801
+ const a = await Dt({
4802
+ endpoint: o,
4803
4803
  type: $t.REFRESH,
4804
4804
  clientId: e,
4805
4805
  params: {
@@ -4810,11 +4810,11 @@ const Oe = "Your session has expired. For your security, please log in again to
4810
4810
  accessToken: s,
4811
4811
  domain: i
4812
4812
  }
4813
- }), c = await Xe(o?.data?.accessToken);
4814
- return c && c.payload[W.USER_ID_KEY] !== "" && c.payload[W.NONCE_KEY] === r ? {
4815
- accessToken: o.data.accessToken,
4816
- refreshToken: o.data.refreshToken,
4817
- userId: c.payload[W.USER_ID_KEY],
4813
+ }), c = await Xe(a?.data?.accessToken);
4814
+ return c && c.payload[j.USER_ID_KEY] !== "" && c.payload[j.NONCE_KEY] === r ? {
4815
+ accessToken: a.data.accessToken,
4816
+ refreshToken: a.data.refreshToken,
4817
+ userId: c.payload[j.USER_ID_KEY],
4818
4818
  status: !0
4819
4819
  } : {
4820
4820
  status: !1
@@ -4827,7 +4827,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4827
4827
  };
4828
4828
  class nc {
4829
4829
  constructor(t = null, r = null) {
4830
- Wt(this, "refreshTokenPromise", null), Wt(this, "accessToken"), Wt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
4830
+ jt(this, "refreshTokenPromise", null), jt(this, "accessToken"), jt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
4831
4831
  }
4832
4832
  async refreshtoken({
4833
4833
  clientId: t,
@@ -4856,9 +4856,9 @@ class nc {
4856
4856
  nonce: s,
4857
4857
  domain: i
4858
4858
  }) {
4859
- const a = await Xe(this.refreshToken);
4860
- if (a && a.payload[W.USER_ID_KEY] !== "") {
4861
- const o = await rc({
4859
+ const o = await Xe(this.refreshToken);
4860
+ if (o && o.payload[j.USER_ID_KEY] !== "") {
4861
+ const a = await rc({
4862
4862
  endpoint: t,
4863
4863
  clientId: r,
4864
4864
  userId: n,
@@ -4867,21 +4867,21 @@ class nc {
4867
4867
  accessToken: this.accessToken,
4868
4868
  domain: i
4869
4869
  });
4870
- return o.status ? (this.accessToken = o.accessToken, this.refreshToken = o.refreshToken, {
4870
+ return a.status ? (this.accessToken = a.accessToken, this.refreshToken = a.refreshToken, {
4871
4871
  status: Ze,
4872
- newAccessToken: o.accessToken,
4873
- newRefreshToken: o.refreshToken
4872
+ newAccessToken: a.accessToken,
4873
+ newRefreshToken: a.refreshToken
4874
4874
  }) : {
4875
- status: ce
4875
+ status: oe
4876
4876
  };
4877
4877
  } else
4878
4878
  return {
4879
- status: ce
4879
+ status: oe
4880
4880
  };
4881
4881
  }
4882
4882
  }
4883
4883
  const Ce = () => {
4884
- throw new Error(zo);
4884
+ throw new Error(Qo);
4885
4885
  }, ys = ln({
4886
4886
  isAuthenticated: !1,
4887
4887
  isLoading: !1,
@@ -4895,12 +4895,12 @@ const Ce = () => {
4895
4895
  authenticationType: ""
4896
4896
  }), sc = () => ({
4897
4897
  ...br(ys)
4898
- }), ic = (e) => de(
4898
+ }), ic = (e) => ue(
4899
4899
  (...t) => {
4900
4900
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
4901
4901
  },
4902
4902
  [e]
4903
- ), ac = he.createContext({
4903
+ ), ac = fe.createContext({
4904
4904
  state: ms,
4905
4905
  dispatch: () => {
4906
4906
  }
@@ -4932,20 +4932,20 @@ const Ce = () => {
4932
4932
  debug: s = !1,
4933
4933
  endpoint: i = Yo ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
4934
4934
  }) => {
4935
- const [a, o] = un(oc, {
4935
+ const [o, a] = un(oc, {
4936
4936
  ...ms,
4937
4937
  debug: s
4938
- }), c = ic(s), d = j(!1), [u, l, , f] = ot({
4938
+ }), c = ic(s), d = W(!1), [u, l, , f] = ot({
4939
4939
  key: `${ct}::${r}::@@user@@`
4940
4940
  }), [h, m, , p] = ot({
4941
4941
  key: `${ct}::${r}::@@access@@`
4942
- }), [b, v, , k] = ot(
4942
+ }), [b, w, , k] = ot(
4943
4943
  {
4944
4944
  key: `${ct}::${r}::@@refresh@@`
4945
4945
  }
4946
- ), [T, O, , _] = ot({
4946
+ ), [S, O, , _] = ot({
4947
4947
  key: `${ct}::${r}::@@nonce@@`
4948
- }), q = new nc(h, b), z = de(() => {
4948
+ }), q = new nc(h, b), Q = ue(() => {
4949
4949
  c("removeLocalStorage: removing local storage"), f(), p(), k(), _();
4950
4950
  }, [
4951
4951
  p,
@@ -4953,23 +4953,23 @@ const Ce = () => {
4953
4953
  _,
4954
4954
  k,
4955
4955
  c
4956
- ]), U = de(
4957
- (S) => {
4956
+ ]), L = ue(
4957
+ (T) => {
4958
4958
  c(
4959
4959
  "removeStateAndLocalStorage: removing state and local storage with reason: ",
4960
- S
4961
- ), o({
4960
+ T
4961
+ ), a({
4962
4962
  type: us,
4963
4963
  payload: {
4964
- logoutReason: S || Oe
4964
+ logoutReason: T || Oe
4965
4965
  }
4966
- }), z(), o({ type: Le, payload: { isLoading: !1 } });
4966
+ }), Q(), a({ type: Le, payload: { isLoading: !1 } });
4967
4967
  },
4968
- [z, c]
4969
- ), R = de(
4970
- async (S) => {
4968
+ [Q, c]
4969
+ ), R = ue(
4970
+ async (T) => {
4971
4971
  c("invalidateAndLogout: invalidating and logging out");
4972
- const { user: N } = a, A = N?.userId || Xo(u);
4972
+ const { user: P } = o, A = P?.userId || Xo(u);
4973
4973
  A || c(
4974
4974
  "invalidateAndLogout: user cannot be identified, logging out without userId"
4975
4975
  ), await Zo({
@@ -4978,31 +4978,31 @@ const Ce = () => {
4978
4978
  domain: n,
4979
4979
  idToken: u,
4980
4980
  endpoint: i
4981
- }), U(S || Oe);
4981
+ }), L(T || Oe);
4982
4982
  },
4983
4983
  [
4984
4984
  u,
4985
- a,
4985
+ o,
4986
4986
  r,
4987
4987
  n,
4988
- U,
4988
+ L,
4989
4989
  c,
4990
4990
  i
4991
4991
  ]
4992
4992
  );
4993
- ee(() => {
4993
+ Z(() => {
4994
4994
  if (!d.current)
4995
- return a.isLoading && u !== null ? (async () => {
4995
+ return o.isLoading && u !== null ? (async () => {
4996
4996
  try {
4997
- const S = await Xe(u);
4998
- S && S.payload[W.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), o({
4997
+ const T = await Xe(u);
4998
+ T && T.payload[j.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), a({
4999
4999
  type: yt,
5000
5000
  payload: {
5001
- authenticationType: S.payload[W.AUTH_TYPE_KEY],
5001
+ authenticationType: T.payload[j.AUTH_TYPE_KEY],
5002
5002
  user: {
5003
- userId: S.payload[W.USER_ID_KEY],
5004
- username: S.payload[W.USERNAME_KEY],
5005
- email: S.payload[W.EMAIL_KEY]
5003
+ userId: T.payload[j.USER_ID_KEY],
5004
+ username: T.payload[j.USERNAME_KEY],
5005
+ email: T.payload[j.EMAIL_KEY]
5006
5006
  }
5007
5007
  }
5008
5008
  })) : (c("useEffect: invalid JWT, invalidating and logging out"), await R(Oe));
@@ -5011,12 +5011,12 @@ const Ce = () => {
5011
5011
  "useEffect: exception validating JWT, invalidating and logging out"
5012
5012
  ), await R(Oe);
5013
5013
  }
5014
- })() : (c("useEffect: setting the loading state to false"), o({ type: Le, payload: { isLoading: !1 } })), () => {
5014
+ })() : (c("useEffect: setting the loading state to false"), a({ type: Le, payload: { isLoading: !1 } })), () => {
5015
5015
  d.current = !0;
5016
5016
  };
5017
- }, [a.isLoading, u, R, c]);
5018
- const w = async (S, N) => {
5019
- o({ type: Le, payload: { isLoading: !0 } }), z();
5017
+ }, [o.isLoading, u, R, c]);
5018
+ const v = async (T, P) => {
5019
+ a({ type: Le, payload: { isLoading: !0 } }), Q();
5020
5020
  const A = Jt();
5021
5021
  O(A), c("login: Logging in with password");
5022
5022
  const { code_verifier: ye, code_challenge: pe } = await Co(), Nr = await tc({
@@ -5028,8 +5028,8 @@ const Ce = () => {
5028
5028
  if (Nr.status) {
5029
5029
  const Ie = await ec({
5030
5030
  endpoint: i,
5031
- username: S,
5032
- password: N,
5031
+ username: T,
5032
+ password: P,
5033
5033
  clientId: r,
5034
5034
  sessionExpiration: t,
5035
5035
  nonce: A,
@@ -5039,40 +5039,40 @@ const Ce = () => {
5039
5039
  domain: n,
5040
5040
  ua: navigator.userAgent
5041
5041
  });
5042
- return Ie.status ? (l(Ie.idToken), m(Ie.accessToken), v(Ie.refreshToken), o({
5042
+ return Ie.status ? (l(Ie.idToken), m(Ie.accessToken), w(Ie.refreshToken), a({
5043
5043
  type: yt,
5044
5044
  payload: {
5045
5045
  authenticationType: Ke.CODE,
5046
5046
  user: {
5047
5047
  userId: Ie.userId,
5048
- username: S,
5048
+ username: T,
5049
5049
  email: Ie.email
5050
5050
  }
5051
5051
  }
5052
- }), !0) : (U(zt), !1);
5052
+ }), !0) : (L(Qt), !1);
5053
5053
  }
5054
5054
  return !1;
5055
- }, C = async (S) => {
5056
- S?.preventDefault(), await R(qo);
5055
+ }, N = async (T) => {
5056
+ T?.preventDefault(), await R(qo);
5057
5057
  }, E = async () => {
5058
- const { isAuthenticated: S, user: N } = a;
5058
+ const { isAuthenticated: T, user: P } = o;
5059
5059
  try {
5060
- if (S && N && N.userId) {
5060
+ if (T && P && P.userId) {
5061
5061
  if (h) {
5062
5062
  c("getAccessToken");
5063
5063
  const ye = await Xe(h);
5064
- if (ye && ye.payload[W.USER_ID_KEY] !== "")
5064
+ if (ye && ye.payload[j.USER_ID_KEY] !== "")
5065
5065
  return h;
5066
5066
  }
5067
5067
  c("getAccessToken: invalid access token, trying to refresh it");
5068
5068
  const A = await q.refreshtoken({
5069
5069
  endpoint: i,
5070
5070
  clientId: r,
5071
- userId: N.userId,
5072
- nonce: T,
5071
+ userId: P.userId,
5072
+ nonce: S,
5073
5073
  domain: n
5074
5074
  });
5075
- return A.status && A.status === "success" && A.newAccessToken ? (m(A.newAccessToken), v(A.newRefreshToken), A.newAccessToken) : (c(
5075
+ return A.status && A.status === "success" && A.newAccessToken ? (m(A.newAccessToken), w(A.newRefreshToken), A.newAccessToken) : (c(
5076
5076
  "getAccessToken: invalid refresh token, need to re-authenticate"
5077
5077
  ), await R(Oe), "");
5078
5078
  }
@@ -5084,36 +5084,36 @@ const Ce = () => {
5084
5084
  "getAccessToken: exception occurred, invalidating and logging out"
5085
5085
  ), await R(Jo), "";
5086
5086
  }
5087
- }, M = () => a.isAuthenticated && u ? u : "", Z = async () => {
5088
- const { user: S } = a;
5089
- let N = await _e({
5087
+ }, U = () => o.isAuthenticated && u ? u : "", me = async () => {
5088
+ const { user: T } = o;
5089
+ let P = await _e({
5090
5090
  endpoint: i,
5091
5091
  accessToken: h,
5092
5092
  clientId: r,
5093
5093
  type: Re.GET_REGISTRATION_OPTIONS,
5094
5094
  params: {
5095
5095
  clientId: r,
5096
- id: S?.userId,
5097
- username: S?.username
5096
+ id: T?.userId,
5097
+ username: T?.username
5098
5098
  }
5099
5099
  });
5100
- if (N.status)
5100
+ if (P.status)
5101
5101
  try {
5102
5102
  const A = await Lo({
5103
- optionsJSON: N.data
5103
+ optionsJSON: P.data
5104
5104
  });
5105
- return N = await _e({
5105
+ return P = await _e({
5106
5106
  endpoint: i,
5107
5107
  accessToken: h,
5108
5108
  clientId: r,
5109
5109
  type: Re.VERIFY_REGISTRATION,
5110
5110
  params: {
5111
5111
  clientId: r,
5112
- id: S?.userId,
5113
- username: S?.username,
5112
+ id: T?.userId,
5113
+ username: T?.username,
5114
5114
  registration: A
5115
5115
  }
5116
- }), !!(N.status && N.data.length > 0);
5116
+ }), !!(P.status && P.data.length > 0);
5117
5117
  } catch {
5118
5118
  return await _e({
5119
5119
  endpoint: i,
@@ -5122,25 +5122,25 @@ const Ce = () => {
5122
5122
  type: Re.VERIFY_REGISTRATION,
5123
5123
  params: {
5124
5124
  clientId: r,
5125
- id: S?.userId,
5126
- username: S?.username,
5125
+ id: T?.userId,
5126
+ username: T?.username,
5127
5127
  registration: {}
5128
5128
  }
5129
5129
  }), !1;
5130
5130
  }
5131
5131
  return !1;
5132
- }, Ee = async () => {
5133
- o({ type: Le, payload: { isLoading: !0 } }), z();
5134
- const S = Jt();
5135
- O(S), c("loginWithPasskey");
5136
- const N = Jt();
5132
+ }, Ae = async () => {
5133
+ a({ type: Le, payload: { isLoading: !0 } }), Q();
5134
+ const T = Jt();
5135
+ O(T), c("loginWithPasskey");
5136
+ const P = Jt();
5137
5137
  let A = await _e({
5138
5138
  endpoint: i,
5139
5139
  accessToken: h,
5140
5140
  clientId: r,
5141
5141
  type: Re.GET_AUTHENTICATION_OPTIONS,
5142
5142
  params: {
5143
- id: N,
5143
+ id: P,
5144
5144
  clientId: r
5145
5145
  }
5146
5146
  });
@@ -5156,14 +5156,14 @@ const Ce = () => {
5156
5156
  type: Re.VERIFY_AUTHENTICATION,
5157
5157
  params: {
5158
5158
  clientId: r,
5159
- id: N,
5159
+ id: P,
5160
5160
  authentication: ye,
5161
- nonce: S,
5161
+ nonce: T,
5162
5162
  domain: n,
5163
5163
  sessionExpiration: t,
5164
5164
  ua: navigator.userAgent
5165
5165
  }
5166
- }), A.data.status === Ze ? (l(A.data.idToken), m(A.data.accessToken), v(A.data.refreshToken), o({
5166
+ }), A.data.status === Ze ? (l(A.data.idToken), m(A.data.accessToken), w(A.data.refreshToken), a({
5167
5167
  type: yt,
5168
5168
  payload: {
5169
5169
  authenticationType: Ke.PASSKEY,
@@ -5173,7 +5173,7 @@ const Ce = () => {
5173
5173
  email: A.data.email
5174
5174
  }
5175
5175
  }
5176
- }), !0) : (U(zt), !1);
5176
+ }), !0) : (L(Qt), !1);
5177
5177
  } catch {
5178
5178
  return await _e({
5179
5179
  endpoint: i,
@@ -5182,27 +5182,27 @@ const Ce = () => {
5182
5182
  type: Re.VERIFY_AUTHENTICATION,
5183
5183
  params: {
5184
5184
  clientId: r,
5185
- id: N,
5185
+ id: P,
5186
5186
  authentication: {},
5187
- nonce: S,
5187
+ nonce: T,
5188
5188
  domain: n,
5189
5189
  sessionExpiration: t
5190
5190
  }
5191
- }), U(zt), !1;
5191
+ }), L(Qt), !1;
5192
5192
  }
5193
5193
  return !1;
5194
5194
  };
5195
- return /* @__PURE__ */ y(ac.Provider, { value: { state: a, dispatch: o }, children: /* @__PURE__ */ y(
5195
+ return /* @__PURE__ */ y(ac.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ y(
5196
5196
  ys.Provider,
5197
5197
  {
5198
5198
  value: {
5199
- ...a,
5200
- login: w,
5201
- logout: C,
5199
+ ...o,
5200
+ login: v,
5201
+ logout: N,
5202
5202
  getAccessToken: E,
5203
- getIdToken: M,
5204
- registeringForPasskey: Z,
5205
- loginWithPasskey: Ee
5203
+ getIdToken: U,
5204
+ registeringForPasskey: me,
5205
+ loginWithPasskey: Ae
5206
5206
  },
5207
5207
  children: /* @__PURE__ */ y(cc, { children: e })
5208
5208
  }
@@ -5226,8 +5226,8 @@ const ps = () => {
5226
5226
  if (!e)
5227
5227
  throw new Error("useAuth must be used within an AuthHookProvider");
5228
5228
  return e;
5229
- }, Nu = "data", Pu = "I'm having trouble right now. Please try again later.", xu = "action-search", $u = "action-sort", Du = "action-toggle-prompt", Mu = "action-reset-prompt", gs = "sassy-saint-", Lu = "details", Uu = "search", Fu = "sort", Ku = "private-disclosure", Hu = "reasoning-disclosure", bs = "service-worker", tn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Bu = 10, Vu = 30, Wu = "av-prompt", ju = "av-prompt-editable", Gu = "size-5 sm:size-4", qu = 30, Ju = 10, zu = 130, Qu = 16, Yu = 20, Xu = 76;
5230
- let Qt = null;
5229
+ }, Nu = "data", Pu = "I'm having trouble right now. Please try again later.", xu = "action-search", $u = "action-sort", Du = "action-toggle-prompt", Mu = "action-reset-prompt", gs = "sassy-saint-", Lu = "details", Uu = "search", Fu = "sort", Ku = "private-disclosure", Hu = "reasoning-disclosure", bs = "service-worker", tn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Bu = 10, Vu = 30, ju = "av-prompt", Wu = "av-prompt-editable", Gu = "size-5 sm:size-4", qu = 30, Ju = 10, Qu = 130, zu = 16, Yu = 20, Xu = 76;
5230
+ let zt = null;
5231
5231
  function Ar() {
5232
5232
  return "serviceWorker" in navigator;
5233
5233
  }
@@ -5249,10 +5249,10 @@ async function ws() {
5249
5249
  if (!Ar())
5250
5250
  return console.warn("[SW] Service workers not supported"), !1;
5251
5251
  try {
5252
- return Qt = await navigator.serviceWorker.register("/sw.js", {
5252
+ return zt = await navigator.serviceWorker.register("/sw.js", {
5253
5253
  scope: "/"
5254
- }), Qt.addEventListener("updatefound", () => {
5255
- const e = Qt?.installing;
5254
+ }), zt.addEventListener("updatefound", () => {
5255
+ const e = zt?.installing;
5256
5256
  e && e.addEventListener("statechange", () => {
5257
5257
  e.state === "installed" && navigator.serviceWorker.controller && confirm(
5258
5258
  "A new version of the app is available. Reload to update?"
@@ -5357,7 +5357,7 @@ function vc(e, t) {
5357
5357
  const i = (u, l) => {
5358
5358
  const f = Math.floor(u * 10 ** l + bc);
5359
5359
  return (Math.round(f) / 10 ** l).toFixed(l);
5360
- }, a = (u, l, f, h) => {
5360
+ }, o = (u, l, f, h) => {
5361
5361
  if (!((s.length === 0 || !t.colonNotation) && pc(u) && !(t.colonNotation && f === "m"))) {
5362
5362
  if (h ??= String(u), t.colonNotation) {
5363
5363
  const m = h.includes(".") ? h.split(".")[0].length : h.length, p = s.length > 0 ? 2 : 1;
@@ -5366,24 +5366,24 @@ function vc(e, t) {
5366
5366
  h += t.verbose ? " " + gc(l, u) : f;
5367
5367
  s.push(h);
5368
5368
  }
5369
- }, o = yc(e), c = BigInt(o.days);
5370
- if (t.hideYearAndDays ? a(BigInt(c) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? a(c, "day", "d") : (a(c / 365n, "year", "y"), a(c % 365n, "day", "d")), a(Number(o.hours), "hour", "h")), a(Number(o.minutes), "minute", "m"), !t.hideSeconds)
5369
+ }, a = yc(e), c = BigInt(a.days);
5370
+ 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)
5371
5371
  if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
5372
- const u = Number(o.seconds), l = Number(o.milliseconds), f = Number(o.microseconds), h = Number(o.nanoseconds);
5373
- if (a(u, "second", "s"), t.formatSubMilliseconds)
5374
- a(l, "millisecond", "ms"), a(f, "microsecond", "µs"), a(h, "nanosecond", "ns");
5372
+ const u = Number(a.seconds), l = Number(a.milliseconds), f = Number(a.microseconds), h = Number(a.nanoseconds);
5373
+ if (o(u, "second", "s"), t.formatSubMilliseconds)
5374
+ o(l, "millisecond", "ms"), o(f, "microsecond", "µs"), o(h, "nanosecond", "ns");
5375
5375
  else {
5376
- const m = l + f / 1e3 + h / 1e6, p = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, b = m >= 1 ? Math.round(m) : Math.ceil(m), v = p ? m.toFixed(p) : b;
5377
- a(
5378
- Number.parseFloat(v),
5376
+ const m = l + f / 1e3 + h / 1e6, p = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, b = m >= 1 ? Math.round(m) : Math.ceil(m), w = p ? m.toFixed(p) : b;
5377
+ o(
5378
+ Number.parseFloat(w),
5379
5379
  "millisecond",
5380
5380
  "ms",
5381
- v
5381
+ w
5382
5382
  );
5383
5383
  }
5384
5384
  } else {
5385
5385
  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+$/, "");
5386
- a(Number.parseFloat(h), "second", "s", h);
5386
+ o(Number.parseFloat(h), "second", "s", h);
5387
5387
  }
5388
5388
  if (s.length === 0)
5389
5389
  return n + "0" + (t.verbose ? " milliseconds" : "ms");
@@ -5538,8 +5538,8 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5538
5538
  hideProgressBar: n = !1,
5539
5539
  closeOnClick: s = !1,
5540
5540
  pauseOnHover: i = !0,
5541
- draggable: a = !0,
5542
- progress: o = void 0,
5541
+ draggable: o = !0,
5542
+ progress: a = void 0,
5543
5543
  theme: c = "colored",
5544
5544
  transition: d,
5545
5545
  icon: u = !1
@@ -5550,8 +5550,8 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5550
5550
  hideProgressBar: n,
5551
5551
  closeOnClick: s,
5552
5552
  pauseOnHover: i,
5553
- draggable: a,
5554
- progress: o,
5553
+ draggable: o,
5554
+ progress: a,
5555
5555
  theme: c,
5556
5556
  transition: d,
5557
5557
  icon: u
@@ -5563,13 +5563,13 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5563
5563
  align: s,
5564
5564
  animated: i
5565
5565
  }) => {
5566
- const a = "max-h-8 py-0 px-2", o = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
5566
+ const o = "max-h-8 py-0 px-2", a = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
5567
5567
  switch (e) {
5568
5568
  case Or:
5569
5569
  case yr:
5570
5570
  return g({
5571
- [a]: t === "small",
5572
- [o]: t === "medium",
5571
+ [o]: t === "small",
5572
+ [a]: t === "medium",
5573
5573
  [c]: t === "large"
5574
5574
  });
5575
5575
  case Mt:
@@ -5597,7 +5597,7 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5597
5597
  labelRight: r,
5598
5598
  labelLeft: n
5599
5599
  }) => {
5600
- const s = "text-sm font-medium", i = "text-base font-medium", a = "text-lg font-medium";
5600
+ const s = "text-sm font-medium", i = "text-base font-medium", o = "text-lg font-medium";
5601
5601
  switch (e) {
5602
5602
  case Or:
5603
5603
  case yr:
@@ -5605,13 +5605,13 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5605
5605
  "text-center": e === yr,
5606
5606
  [s]: t === "small",
5607
5607
  [i]: t === "medium",
5608
- [a]: t === "large"
5608
+ [o]: t === "large"
5609
5609
  });
5610
5610
  case Mt:
5611
5611
  return g({
5612
5612
  [s]: t === "small" && (r || n),
5613
5613
  [i]: t === "medium" && (r || n),
5614
- [a]: t === "large" && (r || n)
5614
+ [o]: t === "large" && (r || n)
5615
5615
  });
5616
5616
  }
5617
5617
  }, Uc = ({
@@ -5625,18 +5625,18 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5625
5625
  if (n === "primary")
5626
5626
  return g("not-prose", {
5627
5627
  truncate: r,
5628
- "text-copy-light": e === "dark" || e === "system",
5629
- "text-copy-lighter": e === "light" || e === "alt-system",
5630
- "dark:text-copy-lighter": e === "system",
5631
- "dark:text-copy-light": e === "alt-system"
5628
+ "text-copy-dark": e === "dark" || e === "system",
5629
+ "text-copy-light": e === "light" || e === "alt-system",
5630
+ "dark:text-copy-light": e === "system",
5631
+ "dark:text-copy-dark": e === "alt-system"
5632
5632
  });
5633
5633
  if (n === "secondary")
5634
5634
  return g("not-prose", {
5635
5635
  truncate: r,
5636
- "text-copy-light": e === "light" || e === "system",
5637
- "text-copy-lighter": e === "dark" || e === "alt-system",
5638
- "dark:text-copy-lighter": e === "alt-system",
5639
- "dark:text-copy-light": e === "system"
5636
+ "text-copy-light": e === "dark" || e === "system",
5637
+ "text-copy-dark": e === "light" || e === "alt-system",
5638
+ "dark:text-copy-dark": e === "system",
5639
+ "dark:text-copy-light": e === "alt-system"
5640
5640
  });
5641
5641
  if (n === "danger")
5642
5642
  return g("not-prose", {
@@ -5658,17 +5658,17 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5658
5658
  if (!t) {
5659
5659
  if (r === "primary")
5660
5660
  return g({
5661
- "bg-action-dark": e === "dark",
5662
- "bg-action-light": e === "light",
5663
- "bg-action-dark dark:bg-action-light": e === "system",
5664
- "bg-action-light dark:bg-action-dark": e === "alt-system"
5661
+ "bg-action-light": e === "dark",
5662
+ "bg-action-dark": e === "light",
5663
+ "bg-action-light dark:bg-action-dark": e === "system",
5664
+ "bg-action-dark dark:bg-action-light": e === "alt-system"
5665
5665
  });
5666
5666
  if (r === "secondary")
5667
5667
  return g({
5668
- "bg-action-dark": e === "light",
5669
- "bg-action-light": e === "dark",
5670
- "bg-action-dark dark:bg-action-light": e === "alt-system",
5671
- "bg-action-light dark:bg-action-dark": e === "system"
5668
+ "bg-action-light": e === "light",
5669
+ "bg-action-dark": e === "dark",
5670
+ "bg-action-light dark:bg-action-dark": e === "alt-system",
5671
+ "bg-action-dark dark:bg-action-light": e === "system"
5672
5672
  });
5673
5673
  if (r === "danger")
5674
5674
  return g({
@@ -5694,18 +5694,26 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5694
5694
  if (t)
5695
5695
  return "";
5696
5696
  if (r === "primary")
5697
- return g("hover:text-copy-light-hover", {
5698
- "hover:bg-action-dark-hover": e === "dark",
5699
- "hover:bg-action-light-hover": e === "light",
5700
- "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system",
5701
- "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system"
5697
+ return g({
5698
+ "hover:text-copy-dark-hover": e === "dark" || e === "system",
5699
+ "hover:text-copy-light-hover": e === "light" || e === "alt-system",
5700
+ "dark:hover:text-copy-light-hover": e === "system",
5701
+ "dark:hover:text-copy-dark-hover": e === "alt-system",
5702
+ "hover:bg-action-light-hover": e === "dark",
5703
+ "hover:bg-action-dark-hover": e === "light",
5704
+ "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system",
5705
+ "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system"
5702
5706
  });
5703
5707
  if (r === "secondary")
5704
- return g("hover:text-copy-light-hover", {
5705
- "hover:bg-action-dark-hover": e === "light",
5706
- "hover:bg-action-light-hover": e === "dark",
5707
- "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system",
5708
- "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system"
5708
+ return g({
5709
+ "hover:text-copy-light-hover": e === "dark" || e === "system",
5710
+ "hover:text-copy-dark-hover": e === "light" || e === "alt-system",
5711
+ "dark:hover:text-copy-dark-hover": e === "system",
5712
+ "dark:hover:text-copy-light-hover": e === "alt-system",
5713
+ "hover:bg-action-light-hover": e === "light",
5714
+ "hover:bg-action-dark-hover": e === "dark",
5715
+ "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system",
5716
+ "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system"
5709
5717
  });
5710
5718
  if (r === "danger")
5711
5719
  return g("hover:text-copy-light-hover", {
@@ -5724,18 +5732,26 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5724
5732
  if (t)
5725
5733
  return "";
5726
5734
  if (r === "primary")
5727
- return g("active:text-copy-light-active", {
5728
- "active:bg-action-dark-active": e === "dark",
5729
- "active:bg-action-light-active": e === "light",
5730
- "active:bg-action-dark-active dark:active:bg-action-light-active": e === "system",
5731
- "active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system"
5735
+ return g({
5736
+ "active:text-copy-dark-active": e === "dark" || e === "system",
5737
+ "active:text-copy-light-active": e === "light" || e === "alt-system",
5738
+ "dark:active:text-copy-light-active": e === "system",
5739
+ "dark:active:text-copy-dark-active": e === "alt-system",
5740
+ "active:bg-action-light-active": e === "dark",
5741
+ "active:bg-action-dark-active": e === "light",
5742
+ "active:bg-action-light-active dark:active:bg-action-dark-active": e === "system",
5743
+ "active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system"
5732
5744
  });
5733
5745
  if (r === "secondary")
5734
- return g("active:text-copy-light-active", {
5735
- "active:bg-action-dark-active": e === "light",
5736
- "active:bg-action-light-active": e === "dark",
5737
- "active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system",
5738
- "active:bg-action-light-active dark:active:bg-action-dark-active": e === "system"
5746
+ return g({
5747
+ "active:text-copy-light-active": e === "dark" || e === "system",
5748
+ "active:text-copy-dark-active": e === "light" || e === "alt-system",
5749
+ "dark:active:text-copy-dark-active": e === "system",
5750
+ "dark:active:text-copy-light-active": e === "alt-system",
5751
+ "active:bg-action-light-active": e === "light",
5752
+ "active:bg-action-dark-active": e === "dark",
5753
+ "active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system",
5754
+ "active:bg-action-dark-active dark:active:bg-action-light-active": e === "system"
5739
5755
  });
5740
5756
  if (r === "danger")
5741
5757
  return g("active:text-copy-lighter-active", {
@@ -5755,17 +5771,17 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5755
5771
  return "border border-transparent";
5756
5772
  if (r === "primary")
5757
5773
  return g("border", {
5758
- "border-border-dark": e === "dark",
5774
+ "border-border-medium": e === "dark",
5759
5775
  "border-border-accent": e === "light",
5760
- "border-border-dark dark:border-border-accent": e === "system",
5761
- "border-border-accent dark:border-border-dark": e === "alt-system"
5776
+ "border-border-medium dark:border-border-accent": e === "system",
5777
+ "border-border-accent dark:border-border-medium": e === "alt-system"
5762
5778
  });
5763
5779
  if (r === "secondary")
5764
5780
  return g("border", {
5765
- "border-border-dark": e === "light",
5781
+ "border-border-medium": e === "light",
5766
5782
  "border-border-accent": e === "dark",
5767
- "border-border-dark dark:border-border-accent": e === "alt-system",
5768
- "border-border-accent dark:border-border-dark": e === "system"
5783
+ "border-border-medium dark:border-border-accent": e === "alt-system",
5784
+ "border-border-accent dark:border-border-medium": e === "system"
5769
5785
  });
5770
5786
  if (r === "danger")
5771
5787
  return g("border", {
@@ -5776,26 +5792,41 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5776
5792
  });
5777
5793
  if (r === "selected")
5778
5794
  return "border border-border-selected-dark";
5779
- }, Wc = ({
5795
+ }, jc = ({
5780
5796
  focusMode: e
5781
5797
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
5782
5798
  "focus:outline-focus-dark": e === "dark",
5783
5799
  "focus:outline-focus-light": e === "light",
5784
5800
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
5785
5801
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
5786
- }), jc = ({
5802
+ }), Wc = ({
5787
5803
  mode: e,
5788
5804
  raw: t,
5789
- iconClassName: r
5790
- }) => t ? "" : g(
5791
- {
5792
- "text-copy-accent-dark": e === "light" || e === "alt-system",
5805
+ iconClassName: r,
5806
+ variant: n = "primary"
5807
+ }) => {
5808
+ if (t)
5809
+ return "";
5810
+ let s = {};
5811
+ return n === "primary" ? s = {
5812
+ "text-copy-dark": e === "dark" || e === "system",
5813
+ "text-copy-light": e === "light" || e === "alt-system",
5814
+ "dark:text-copy-light": e === "system",
5815
+ "dark:text-copy-dark": e === "alt-system"
5816
+ } : n === "secondary" ? s = {
5793
5817
  "text-copy-light": e === "dark" || e === "system",
5794
- "dark:text-copy-light": e === "alt-system",
5795
- "dark:text-copy-accent-dark": e === "system"
5796
- },
5797
- r
5798
- ), Gc = ({
5818
+ "text-copy-dark": e === "light" || e === "alt-system",
5819
+ "dark:text-copy-dark": e === "system",
5820
+ "dark:text-copy-light": e === "alt-system"
5821
+ } : n === "danger" ? s = {
5822
+ "text-copy-light": e === "dark" || e === "system",
5823
+ "text-copy-lighter": e === "light" || e === "alt-system",
5824
+ "dark:text-copy-lighter": e === "system",
5825
+ "dark:text-copy-light": e === "alt-system"
5826
+ } : n === "selected" && (s = {
5827
+ "text-copy-lighter": !0
5828
+ }), g(s, r);
5829
+ }, Gc = ({
5799
5830
  animated: e
5800
5831
  }) => g({
5801
5832
  "transition-opacity duration-300 ease-in-out": e
@@ -5806,8 +5837,8 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5806
5837
  mode: n,
5807
5838
  focusMode: s,
5808
5839
  disabled: i,
5809
- fullWidth: a,
5810
- size: o,
5840
+ fullWidth: o,
5841
+ size: a,
5811
5842
  noBorder: c,
5812
5843
  labelRight: d,
5813
5844
  labelLeft: u,
@@ -5829,19 +5860,19 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5829
5860
  Kc({ radius: p }),
5830
5861
  Mc({
5831
5862
  type: e,
5832
- size: o,
5863
+ size: a,
5833
5864
  labelRight: d,
5834
5865
  labelLeft: u,
5835
5866
  align: m,
5836
5867
  animated: b
5837
5868
  }),
5838
- Lc({ type: e, size: o, labelRight: d, labelLeft: u }),
5869
+ Lc({ type: e, size: a, labelRight: d, labelLeft: u }),
5839
5870
  Vc({ mode: n, variant: f, noBorder: c }),
5840
- Wc({ focusMode: s }),
5871
+ jc({ focusMode: s }),
5841
5872
  Hc({ mode: n, variant: f, disabled: i }),
5842
5873
  Bc({ mode: n, variant: f, disabled: i }),
5843
5874
  {
5844
- "w-full": a,
5875
+ "w-full": o,
5845
5876
  "disabled:cursor-not-allowed disabled:opacity-50": i
5846
5877
  },
5847
5878
  g({
@@ -5849,9 +5880,8 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5849
5880
  }),
5850
5881
  t
5851
5882
  )), qc = (e, t, r) => {
5852
- var n;
5853
- !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e?.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
5854
- }, Rr = he.forwardRef((e, t) => {
5883
+ !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
5884
+ }, Rr = fe.forwardRef((e, t) => {
5855
5885
  const { onClick: r, noInternalClick: n = !1, ...s } = e;
5856
5886
  return /* @__PURE__ */ y(
5857
5887
  "button",
@@ -5865,7 +5895,7 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5865
5895
  );
5866
5896
  });
5867
5897
  Rr.displayName = "BaseButton";
5868
- const Os = he.forwardRef(
5898
+ const Os = fe.forwardRef(
5869
5899
  ({
5870
5900
  children: e,
5871
5901
  disabled: t = !1,
@@ -5873,8 +5903,8 @@ const Os = he.forwardRef(
5873
5903
  focusMode: n = "system",
5874
5904
  fullWidth: s = !1,
5875
5905
  className: i,
5876
- size: a = "medium",
5877
- raw: o = !1,
5906
+ size: o = "medium",
5907
+ raw: a = !1,
5878
5908
  noBorder: c = !1,
5879
5909
  variant: d = "primary",
5880
5910
  truncate: u = !1,
@@ -5887,9 +5917,9 @@ const Os = he.forwardRef(
5887
5917
  focusMode: n,
5888
5918
  fullWidth: s,
5889
5919
  disabled: t,
5890
- raw: o,
5920
+ raw: a,
5891
5921
  className: i,
5892
- size: a,
5922
+ size: o,
5893
5923
  noBorder: c,
5894
5924
  variant: d,
5895
5925
  truncate: u,
@@ -5909,12 +5939,12 @@ const Os = he.forwardRef(
5909
5939
  );
5910
5940
  Os.displayName = "Button";
5911
5941
  function Jc() {
5912
- const e = j(!1);
5913
- return ee(() => (e.current = !0, () => {
5942
+ const e = W(!1);
5943
+ return Z(() => (e.current = !0, () => {
5914
5944
  e.current = !1;
5915
- }), []), de(() => e.current, []);
5945
+ }), []), ue(() => e.current, []);
5916
5946
  }
5917
- function zc(e) {
5947
+ function Qc(e) {
5918
5948
  return Rt(() => e.every((t) => t == null) ? () => {
5919
5949
  } : (t) => {
5920
5950
  e.forEach((r) => {
@@ -5922,7 +5952,7 @@ function zc(e) {
5922
5952
  });
5923
5953
  }, [...e]);
5924
5954
  }
5925
- const Qc = {
5955
+ const zc = {
5926
5956
  x: 0,
5927
5957
  y: 0,
5928
5958
  width: 0,
@@ -5933,15 +5963,15 @@ const Qc = {
5933
5963
  right: 0
5934
5964
  };
5935
5965
  function Yt(e) {
5936
- const t = Jc(), r = j(0), n = j(null), [s, i] = ue(Qc), a = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
5937
- const c = o[0];
5966
+ const t = Jc(), r = W(0), n = W(null), [s, i] = le(zc), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
5967
+ const c = a[0];
5938
5968
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5939
5969
  n.current && t() && i(c.contentRect);
5940
5970
  }));
5941
5971
  }), [t]);
5942
- return ee(() => (n.current && a?.observe(n.current, e), () => {
5943
- a?.disconnect(), r.current && cancelAnimationFrame(r.current);
5944
- }), [a, e]), [n, s];
5972
+ return Z(() => (n.current && o?.observe(n.current, e), () => {
5973
+ o?.disconnect(), r.current && cancelAnimationFrame(r.current);
5974
+ }), [o, e]), [n, s];
5945
5975
  }
5946
5976
  const ut = {
5947
5977
  small: 24,
@@ -5957,7 +5987,7 @@ const ut = {
5957
5987
  // px-3 x 2
5958
5988
  large: 32
5959
5989
  // px-4 x 2
5960
- }, Xc = 2, Zc = 300, kt = he.forwardRef(
5990
+ }, Xc = 2, Zc = 300, kt = fe.forwardRef(
5961
5991
  ({
5962
5992
  children: e,
5963
5993
  disabled: t = !1,
@@ -5965,8 +5995,8 @@ const ut = {
5965
5995
  focusMode: n = "system",
5966
5996
  fullWidth: s = !1,
5967
5997
  className: i,
5968
- type: a = "button",
5969
- raw: o = !1,
5998
+ type: o = "button",
5999
+ raw: a = !1,
5970
6000
  noBorder: c = !1,
5971
6001
  "aria-label": d,
5972
6002
  label: u,
@@ -5976,9 +6006,9 @@ const ut = {
5976
6006
  noBackground: m = !1,
5977
6007
  align: p = "center",
5978
6008
  radius: b = "large",
5979
- variant: v = "primary",
6009
+ variant: w = "secondary",
5980
6010
  iconClassName: k,
5981
- animated: T = !1,
6011
+ animated: S = !1,
5982
6012
  ...O
5983
6013
  }, _) => {
5984
6014
  const q = ks({
@@ -5987,7 +6017,7 @@ const ut = {
5987
6017
  focusMode: n,
5988
6018
  fullWidth: s,
5989
6019
  disabled: t,
5990
- raw: o,
6020
+ raw: a,
5991
6021
  className: i,
5992
6022
  noBorder: c,
5993
6023
  size: l,
@@ -5996,28 +6026,28 @@ const ut = {
5996
6026
  noBackground: m,
5997
6027
  align: p,
5998
6028
  radius: b,
5999
- variant: v,
6000
- animated: T
6001
- }), z = jc({ mode: r, raw: o, iconClassName: k }), U = Gc({ animated: T }), R = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, C] = Yt(), [E, M] = Yt(), [Z, Ee] = Yt(), S = j(0), N = j(null), A = j(null), ye = zc([_, N]);
6029
+ variant: w,
6030
+ animated: S
6031
+ }), Q = 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] = Yt(), [E, U] = Yt(), [me, Ae] = Yt(), T = W(0), P = W(null), A = W(null), ye = Qc([_, P]);
6002
6032
  return gt(() => {
6003
- Z && Z.current && T && (S.current = Ee.width + Yc[l] + (c ? 0 : Xc), N.current && !N.current.style.width && (N.current.style.width = `${ut[l]}px`));
6004
- }, [Ee, Z, l, c, T]), gt(() => {
6005
- if (N && N.current && T) {
6033
+ 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`));
6034
+ }, [Ae, me, l, c, S]), gt(() => {
6035
+ if (P && P.current && S) {
6006
6036
  let pe = ut[l];
6007
- f && w && C.width > 0 ? pe = C.width + S.current : h && E && M.width > 0 && (pe = M.width + S.current), A.current && clearTimeout(A.current), pe !== parseInt(N.current.style.width || "0", 10) && (w.current && (w.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"), N.current.style.width = `${pe}px`, pe > ut[l] && (A.current = setTimeout(() => {
6008
- w.current && f && (w.current.style.opacity = "1"), E.current && h && (E.current.style.opacity = "1"), A.current = null;
6009
- }, Zc * 0.8))), pe === ut[l] && (w.current && (w.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"));
6037
+ 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(() => {
6038
+ v.current && f && (v.current.style.opacity = "1"), E.current && h && (E.current.style.opacity = "1"), A.current = null;
6039
+ }, Zc * 0.8))), pe === ut[l] && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"));
6010
6040
  }
6011
6041
  }, [
6012
- C,
6042
+ N,
6013
6043
  f,
6014
- w,
6015
- M,
6044
+ v,
6045
+ U,
6016
6046
  h,
6017
6047
  E,
6018
6048
  l,
6019
- T
6020
- ]), ee(() => () => {
6049
+ S
6050
+ ]), Z(() => () => {
6021
6051
  A.current && clearTimeout(A.current);
6022
6052
  }, []), /* @__PURE__ */ y(
6023
6053
  Rr,
@@ -6025,7 +6055,7 @@ const ut = {
6025
6055
  ref: ye,
6026
6056
  className: q,
6027
6057
  disabled: t,
6028
- type: a,
6058
+ type: o,
6029
6059
  "aria-label": d || u,
6030
6060
  ...O,
6031
6061
  children: /* @__PURE__ */ X("div", { className: R, children: [
@@ -6034,20 +6064,20 @@ const ut = {
6034
6064
  {
6035
6065
  label: h,
6036
6066
  labelRef: E,
6037
- labelClass: U,
6067
+ labelClass: L,
6038
6068
  labelInnerClass: "pr-2",
6039
- initiallyHidden: T
6069
+ initiallyHidden: S
6040
6070
  }
6041
6071
  ),
6042
- /* @__PURE__ */ y("span", { ref: Z, className: z, children: e }),
6072
+ /* @__PURE__ */ y("span", { ref: me, className: Q, children: e }),
6043
6073
  /* @__PURE__ */ y(
6044
6074
  sn,
6045
6075
  {
6046
6076
  label: f,
6047
- labelRef: w,
6048
- labelClass: U,
6077
+ labelRef: v,
6078
+ labelClass: L,
6049
6079
  labelInnerClass: "pl-2",
6050
- initiallyHidden: T
6080
+ initiallyHidden: S
6051
6081
  }
6052
6082
  )
6053
6083
  ] })
@@ -6071,19 +6101,19 @@ const ut = {
6071
6101
  );
6072
6102
  kt.displayName = "ButtonIcon";
6073
6103
  /*!
6074
- @versini/ui-button v6.0.9
6104
+ @versini/ui-button v7.0.0
6075
6105
  © 2025 gizmette.com
6076
6106
  */
6077
6107
  try {
6078
6108
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
6079
- version: "6.0.9",
6080
- buildTime: "07/14/2025 12:04 PM EDT",
6109
+ version: "7.0.0",
6110
+ buildTime: "08/07/2025 04:11 PM EDT",
6081
6111
  homepage: "https://github.com/aversini/ui-components",
6082
6112
  license: "MIT"
6083
6113
  });
6084
6114
  } catch {
6085
6115
  }
6086
- const el = he.forwardRef(
6116
+ const el = fe.forwardRef(
6087
6117
  ({
6088
6118
  children: e,
6089
6119
  mode: t = "system",
@@ -6091,7 +6121,7 @@ const el = he.forwardRef(
6091
6121
  active: n = !1,
6092
6122
  ...s
6093
6123
  }, i) => {
6094
- const a = n ? g(
6124
+ const o = n ? g(
6095
6125
  "relative",
6096
6126
  "focus-within:static",
6097
6127
  "focus-within:after:border-transparent",
@@ -6108,7 +6138,7 @@ const el = he.forwardRef(
6108
6138
  "after:border-table-light dark:after:border-table-dark": t === "alt-system"
6109
6139
  }
6110
6140
  ) : "";
6111
- return /* @__PURE__ */ y("div", { className: a, children: /* @__PURE__ */ y(
6141
+ return /* @__PURE__ */ y("div", { className: o, children: /* @__PURE__ */ y(
6112
6142
  kt,
6113
6143
  {
6114
6144
  className: g("justify-center", r),
@@ -6134,14 +6164,14 @@ const rl = ({
6134
6164
  footerClassName: n,
6135
6165
  mode: s,
6136
6166
  compact: i,
6137
- noBorder: a
6167
+ noBorder: o
6138
6168
  }) => {
6139
- const o = g(
6169
+ const a = g(
6140
6170
  pt,
6141
6171
  "rounded-md",
6142
6172
  {
6143
- "border-none": a,
6144
- "border-2": !a,
6173
+ "border-none": o,
6174
+ "border-2": !o,
6145
6175
  "p-4": !i,
6146
6176
  "p-1 sm:p-2": i,
6147
6177
  "border-border-accent bg-surface-darker text-copy-light": s === "darker",
@@ -6161,7 +6191,7 @@ const rl = ({
6161
6191
  "mb-2": i
6162
6192
  }), d = g(r), u = n || g(`${pt}__footer pt-2`);
6163
6193
  return {
6164
- wrapper: o,
6194
+ wrapper: a,
6165
6195
  header: c,
6166
6196
  body: d,
6167
6197
  footer: u
@@ -6182,8 +6212,8 @@ const sl = ({
6182
6212
  footerClassName: n,
6183
6213
  children: s,
6184
6214
  className: i,
6185
- bodyClassName: a,
6186
- "aria-labelledby": o,
6215
+ bodyClassName: o,
6216
+ "aria-labelledby": a,
6187
6217
  mode: c = "system",
6188
6218
  compact: d = !1,
6189
6219
  noBorder: u = !1,
@@ -6193,13 +6223,13 @@ const sl = ({
6193
6223
  const m = typeof e == "string", p = tl(pt), b = rl({
6194
6224
  className: i,
6195
6225
  headerClassName: t,
6196
- bodyClassName: a,
6226
+ bodyClassName: o,
6197
6227
  footerClassName: n,
6198
6228
  mode: c,
6199
6229
  compact: d,
6200
6230
  noBorder: u
6201
6231
  });
6202
- return m ? (f = p, h = f) : !m && e && o ? (f = null, h = o) : !m && e && !o ? (f = p, h = f) : (f = null, h = o || null), /* @__PURE__ */ y("div", { className: b.wrapper, children: /* @__PURE__ */ X(
6232
+ return m ? (f = p, h = f) : !m && e && a ? (f = null, h = a) : !m && e && !a ? (f = p, h = f) : (f = null, h = a || null), /* @__PURE__ */ y("div", { className: b.wrapper, children: /* @__PURE__ */ X(
6203
6233
  "section",
6204
6234
  {
6205
6235
  ...h && {
@@ -6214,7 +6244,7 @@ const sl = ({
6214
6244
  ...f && { id: f },
6215
6245
  content: e,
6216
6246
  className: b.header,
6217
- userAriaLabelledby: o
6247
+ userAriaLabelledby: a
6218
6248
  }
6219
6249
  ),
6220
6250
  /* @__PURE__ */ y("div", { children: s }),
@@ -6224,13 +6254,13 @@ const sl = ({
6224
6254
  ) });
6225
6255
  };
6226
6256
  /*!
6227
- @versini/ui-card v4.0.6
6257
+ @versini/ui-card v4.0.7
6228
6258
  © 2025 gizmette.com
6229
6259
  */
6230
6260
  try {
6231
6261
  window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
6232
- version: "4.0.6",
6233
- buildTime: "07/14/2025 12:04 PM EDT",
6262
+ version: "4.0.7",
6263
+ buildTime: "08/07/2025 04:12 PM EDT",
6234
6264
  homepage: "https://github.com/aversini/ui-components",
6235
6265
  license: "MIT"
6236
6266
  });
@@ -6243,8 +6273,8 @@ const Lt = ({
6243
6273
  className: n,
6244
6274
  defaultViewBox: s,
6245
6275
  size: i,
6246
- title: a,
6247
- semantic: o = !1,
6276
+ title: o,
6277
+ semantic: a = !1,
6248
6278
  ...c
6249
6279
  }) => {
6250
6280
  const d = g(i, n);
@@ -6256,11 +6286,11 @@ const Lt = ({
6256
6286
  viewBox: r || s,
6257
6287
  fill: t || "currentColor",
6258
6288
  role: "img",
6259
- "aria-hidden": !o,
6289
+ "aria-hidden": !a,
6260
6290
  focusable: !1,
6261
6291
  ...c,
6262
6292
  children: [
6263
- a && o && /* @__PURE__ */ y("title", { children: a }),
6293
+ o && a && /* @__PURE__ */ y("title", { children: o }),
6264
6294
  e
6265
6295
  ]
6266
6296
  }
@@ -6406,7 +6436,7 @@ const ll = "av-main", ul = ({
6406
6436
  noPadding: s = !1,
6407
6437
  ...i
6408
6438
  }) => {
6409
- const a = g(
6439
+ const o = g(
6410
6440
  ll,
6411
6441
  {
6412
6442
  "mt-2 sm:mt-3": !r && !n,
@@ -6415,22 +6445,22 @@ const ll = "av-main", ul = ({
6415
6445
  },
6416
6446
  t
6417
6447
  );
6418
- return /* @__PURE__ */ y("main", { className: a, ...i, children: e });
6448
+ return /* @__PURE__ */ y("main", { className: o, ...i, children: e });
6419
6449
  };
6420
6450
  /*!
6421
- @versini/ui-main v4.0.5
6451
+ @versini/ui-main v4.0.6
6422
6452
  © 2025 gizmette.com
6423
6453
  */
6424
6454
  try {
6425
6455
  window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
6426
- version: "4.0.5",
6427
- buildTime: "06/28/2025 08:58 PM EDT",
6456
+ version: "4.0.6",
6457
+ buildTime: "08/07/2025 04:12 PM EDT",
6428
6458
  homepage: "https://github.com/aversini/ui-components",
6429
6459
  license: "MIT"
6430
6460
  });
6431
6461
  } catch {
6432
6462
  }
6433
- const dl = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, pr = he.createContext({
6463
+ const dl = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, pr = fe.createContext({
6434
6464
  columnGap: 0,
6435
6465
  rowGap: 0
6436
6466
  }), fl = ({
@@ -6440,14 +6470,14 @@ const dl = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, pr = he.createCont
6440
6470
  rowGap: n = 0,
6441
6471
  height: s = "auto",
6442
6472
  width: i = "auto",
6443
- direction: a = "row",
6444
- alignHorizontal: o = "normal",
6473
+ direction: o = "row",
6474
+ alignHorizontal: a = "normal",
6445
6475
  alignVertical: c = "normal",
6446
6476
  ...d
6447
6477
  }) => {
6448
6478
  const u = {
6449
- flexDirection: a,
6450
- justifyContent: o,
6479
+ flexDirection: o,
6480
+ justifyContent: a,
6451
6481
  alignItems: c,
6452
6482
  height: s,
6453
6483
  width: i,
@@ -6559,29 +6589,29 @@ const dl = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, pr = he.createCont
6559
6589
  r
6560
6590
  );
6561
6591
  }
6562
- }, Se = ({
6592
+ }, Ee = ({
6563
6593
  children: e,
6564
6594
  className: t,
6565
6595
  span: r,
6566
6596
  ...n
6567
6597
  }) => {
6568
- const { columnGap: s, rowGap: i } = br(pr), a = {
6598
+ const { columnGap: s, rowGap: i } = br(pr), o = {
6569
6599
  paddingLeft: s * Ot + "rem",
6570
6600
  paddingTop: i * Ot + "rem"
6571
- }, o = hl({
6601
+ }, a = hl({
6572
6602
  className: t,
6573
6603
  span: r
6574
6604
  });
6575
- return /* @__PURE__ */ y("div", { className: o, style: a, ...n, children: e });
6605
+ return /* @__PURE__ */ y("div", { className: a, style: o, ...n, children: e });
6576
6606
  };
6577
6607
  /*!
6578
- @versini/ui-system v4.1.0
6608
+ @versini/ui-system v4.1.1
6579
6609
  © 2025 gizmette.com
6580
6610
  */
6581
6611
  try {
6582
6612
  window.__VERSINI_UI_SYSTEM__ || (window.__VERSINI_UI_SYSTEM__ = {
6583
- version: "4.1.0",
6584
- buildTime: "07/20/2025 01:16 PM EDT",
6613
+ version: "4.1.1",
6614
+ buildTime: "08/07/2025 04:12 PM EDT",
6585
6615
  homepage: "https://github.com/aversini/ui-components",
6586
6616
  license: "MIT"
6587
6617
  });
@@ -6589,10 +6619,10 @@ try {
6589
6619
  }
6590
6620
  const Rs = "av-text-input", ml = "av-text-input-wrapper", Zt = "av-text-input-helper-text";
6591
6621
  function yl() {
6592
- const e = j(!1);
6593
- return ee(() => (e.current = !0, () => {
6622
+ const e = W(!1);
6623
+ return Z(() => (e.current = !0, () => {
6594
6624
  e.current = !1;
6595
- }), []), de(() => e.current, []);
6625
+ }), []), ue(() => e.current, []);
6596
6626
  }
6597
6627
  const pl = {
6598
6628
  x: 0,
@@ -6605,15 +6635,15 @@ const pl = {
6605
6635
  right: 0
6606
6636
  };
6607
6637
  function gl(e) {
6608
- const t = yl(), r = j(0), n = j(null), [s, i] = ue(pl), a = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
6609
- const c = o[0];
6638
+ const t = yl(), r = W(0), n = W(null), [s, i] = le(pl), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
6639
+ const c = a[0];
6610
6640
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6611
6641
  n.current && t() && i(c.contentRect);
6612
6642
  }));
6613
6643
  }), [t]);
6614
- return ee(() => (n.current && a?.observe(n.current, e), () => {
6615
- a?.disconnect(), r.current && cancelAnimationFrame(r.current);
6616
- }), [a, e]), [n, s];
6644
+ return Z(() => (n.current && o?.observe(n.current, e), () => {
6645
+ o?.disconnect(), r.current && cancelAnimationFrame(r.current);
6646
+ }), [o, e]), [n, s];
6617
6647
  }
6618
6648
  function bl(e) {
6619
6649
  const t = dn();
@@ -6680,20 +6710,20 @@ const _s = "SET_ANNOUNCEMENT", Cs = "CLEAR_ANNOUNCEMENT", wl = {
6680
6710
  clearAnnouncementDelay: n,
6681
6711
  clearAnnouncementTimeoutRef: s,
6682
6712
  onAnnouncementClear: i,
6683
- dispatch: a
6713
+ dispatch: o
6684
6714
  }) => {
6685
6715
  clearTimeout(t.current), r ? t.current = setTimeout(an, r, {
6686
6716
  children: e,
6687
6717
  clearAnnouncementDelay: n,
6688
6718
  clearAnnouncementTimeoutRef: s,
6689
6719
  onAnnouncementClear: i,
6690
- dispatch: a
6720
+ dispatch: o
6691
6721
  }) : an({
6692
6722
  children: e,
6693
6723
  clearAnnouncementDelay: n,
6694
6724
  clearAnnouncementTimeoutRef: s,
6695
6725
  onAnnouncementClear: i,
6696
- dispatch: a
6726
+ dispatch: o
6697
6727
  });
6698
6728
  };
6699
6729
  function Ns({
@@ -6703,32 +6733,32 @@ function Ns({
6703
6733
  role: n = null,
6704
6734
  announcementDelay: s,
6705
6735
  clearAnnouncementDelay: i,
6706
- onAnnouncementClear: a,
6707
- visible: o,
6736
+ onAnnouncementClear: o,
6737
+ visible: a,
6708
6738
  ...c
6709
6739
  }) {
6710
- const d = j(null), u = j(null), [l, f] = un(vl, {
6740
+ const d = W(null), u = W(null), [l, f] = un(vl, {
6711
6741
  announcement: null
6712
6742
  });
6713
6743
  let h = r;
6714
- typeof h > "u" && (h = n ? wl[n] : "assertive"), ee(() => {
6744
+ typeof h > "u" && (h = n ? wl[n] : "assertive"), Z(() => {
6715
6745
  Sl({
6716
6746
  announcementTimeoutRef: d,
6717
6747
  announcementDelay: s,
6718
6748
  children: e,
6719
6749
  clearAnnouncementDelay: i,
6720
6750
  clearAnnouncementTimeoutRef: u,
6721
- onAnnouncementClear: a,
6751
+ onAnnouncementClear: o,
6722
6752
  dispatch: f
6723
6753
  });
6724
6754
  }, [
6725
6755
  e,
6726
6756
  s,
6727
6757
  i,
6728
- a
6758
+ o
6729
6759
  ]);
6730
6760
  const m = g(t, {
6731
- "sr-only": !o
6761
+ "sr-only": !a
6732
6762
  });
6733
6763
  return /* @__PURE__ */ y(
6734
6764
  "div",
@@ -6742,13 +6772,13 @@ function Ns({
6742
6772
  );
6743
6773
  }
6744
6774
  /*!
6745
- @versini/ui-liveregion v2.0.6
6775
+ @versini/ui-liveregion v2.0.7
6746
6776
  © 2025 gizmette.com
6747
6777
  */
6748
6778
  try {
6749
6779
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
6750
- version: "2.0.6",
6751
- buildTime: "07/14/2025 12:04 PM EDT",
6780
+ version: "2.0.7",
6781
+ buildTime: "08/07/2025 04:11 PM EDT",
6752
6782
  homepage: "https://github.com/aversini/ui-components",
6753
6783
  license: "MIT"
6754
6784
  });
@@ -6834,8 +6864,8 @@ const Tl = ({
6834
6864
  disabled: n,
6835
6865
  noBorder: s,
6836
6866
  error: i,
6837
- mode: a,
6838
- focusMode: o,
6867
+ mode: o,
6868
+ focusMode: a,
6839
6869
  size: c,
6840
6870
  rightElementClassName: d
6841
6871
  }) => {
@@ -6866,8 +6896,8 @@ const Tl = ({
6866
6896
  Rs,
6867
6897
  l,
6868
6898
  "rounded-md text-base px-4",
6869
- Tl({ mode: a }),
6870
- Al({ focusMode: o }),
6899
+ Tl({ mode: o }),
6900
+ Al({ focusMode: a }),
6871
6901
  Il({ noBorder: s, error: i }),
6872
6902
  {
6873
6903
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -6877,11 +6907,11 @@ const Tl = ({
6877
6907
  disabled: n,
6878
6908
  raw: r,
6879
6909
  error: i,
6880
- mode: a
6910
+ mode: o
6881
6911
  }), p = Ol({
6882
6912
  error: i,
6883
6913
  raw: r,
6884
- mode: a,
6914
+ mode: o,
6885
6915
  disabled: n
6886
6916
  }), b = r ? void 0 : g("absolute right-3", d);
6887
6917
  return {
@@ -6892,7 +6922,7 @@ const Tl = ({
6892
6922
  helperText: p,
6893
6923
  rightElement: b
6894
6924
  };
6895
- }, _r = he.forwardRef(
6925
+ }, _r = fe.forwardRef(
6896
6926
  ({
6897
6927
  id: e,
6898
6928
  name: t,
@@ -6900,8 +6930,8 @@ const Tl = ({
6900
6930
  error: n = !1,
6901
6931
  raw: s = !1,
6902
6932
  className: i,
6903
- inputClassName: a,
6904
- mode: o = "system",
6933
+ inputClassName: o,
6934
+ mode: a = "system",
6905
6935
  focusMode: c = "system",
6906
6936
  disabled: d = !1,
6907
6937
  noBorder: u = !1,
@@ -6911,57 +6941,56 @@ const Tl = ({
6911
6941
  helperText: m = "",
6912
6942
  rightElement: p,
6913
6943
  rightElementClassName: b,
6914
- size: v = "md",
6944
+ size: w = "md",
6915
6945
  ...k
6916
- }, T) => {
6917
- const [O, _] = gl(), [q, z] = ue(0), U = bl({ id: e, prefix: `${Rs}-` }), R = `${t} error, ${m}`, w = j(null), C = j(null), E = {
6946
+ }, S) => {
6947
+ const [O, _] = gl(), [q, Q] = le(0), L = bl({ id: e, prefix: `${Rs}-` }), R = `${t} error, ${m}`, v = W(null), N = W(null), E = {
6918
6948
  xs: { label: "-25px", helperText: "30px" },
6919
6949
  sm: { label: "-29px", helperText: "34px" },
6920
6950
  md: { label: "-33px", helperText: "38px" },
6921
6951
  lg: { label: "-15px", helperText: "22px" },
6922
6952
  xl: { label: "-19px", helperText: "25px" }
6923
- }, M = Rl({
6953
+ }, U = Rl({
6924
6954
  className: i,
6925
- inputClassName: a,
6955
+ inputClassName: o,
6926
6956
  error: n,
6927
6957
  raw: s,
6928
6958
  focusMode: c,
6929
6959
  disabled: d,
6930
6960
  noBorder: u,
6931
- mode: o,
6932
- size: v,
6961
+ mode: a,
6962
+ size: w,
6933
6963
  rightElementClassName: b
6934
6964
  });
6935
6965
  return gt(() => {
6936
- _ && _.width && z(_.width + 18 + 10);
6966
+ _ && _.width && Q(_.width + 18 + 10);
6937
6967
  }, [_]), gt(() => {
6938
- var Z, Ee;
6939
- const { label: S, helperText: N } = E[v];
6940
- (Z = w?.current) == null || Z.style.setProperty("--av-text-input-label", S), (Ee = C?.current) == null || Ee.style.setProperty(
6968
+ const { label: me, helperText: Ae } = E[w];
6969
+ v?.current?.style.setProperty("--av-text-input-label", me), N?.current?.style.setProperty(
6941
6970
  "--av-text-input-helper-text",
6942
- N
6971
+ Ae
6943
6972
  );
6944
- }, [v]), /* @__PURE__ */ X("div", { className: M.wrapper, children: [
6973
+ }, [w]), /* @__PURE__ */ X("div", { className: U.wrapper, children: [
6945
6974
  /* @__PURE__ */ y(
6946
6975
  "label",
6947
6976
  {
6948
- htmlFor: U,
6977
+ htmlFor: L,
6949
6978
  id: l,
6950
- className: M.accessibleLabel,
6979
+ className: U.accessibleLabel,
6951
6980
  children: r
6952
6981
  }
6953
6982
  ),
6954
6983
  /* @__PURE__ */ y(
6955
6984
  "input",
6956
6985
  {
6957
- ref: T,
6958
- id: U,
6986
+ ref: S,
6987
+ id: L,
6959
6988
  name: t,
6960
6989
  type: h,
6961
6990
  disabled: d,
6962
6991
  placeholder: s ? void 0 : " ",
6963
- className: M.input,
6964
- ...m && { "aria-describedby": `${U}-helper` },
6992
+ className: U.input,
6993
+ ...m && { "aria-describedby": `${L}-helper` },
6965
6994
  ...n && { "aria-invalid": "true" },
6966
6995
  ...p && !s && { style: { paddingRight: q } },
6967
6996
  ...k
@@ -6970,19 +6999,19 @@ const Tl = ({
6970
6999
  !s && !f && /* @__PURE__ */ y(
6971
7000
  "label",
6972
7001
  {
6973
- ref: w,
7002
+ ref: v,
6974
7003
  "aria-hidden": !0,
6975
- htmlFor: U,
6976
- className: M.visibleLabel,
7004
+ htmlFor: L,
7005
+ className: U.visibleLabel,
6977
7006
  children: r
6978
7007
  }
6979
7008
  ),
6980
7009
  m && /* @__PURE__ */ y(
6981
7010
  "div",
6982
7011
  {
6983
- ref: C,
6984
- id: `${U}-helper`,
6985
- className: M.helperText,
7012
+ ref: N,
7013
+ id: `${L}-helper`,
7014
+ className: U.helperText,
6986
7015
  children: m
6987
7016
  }
6988
7017
  ),
@@ -6990,7 +7019,7 @@ const Tl = ({
6990
7019
  "div",
6991
7020
  {
6992
7021
  ref: O,
6993
- className: M.rightElement,
7022
+ className: U.rightElement,
6994
7023
  children: p
6995
7024
  }
6996
7025
  ),
@@ -7007,7 +7036,7 @@ function _l(e) {
7007
7036
  });
7008
7037
  }, [...e]);
7009
7038
  }
7010
- const Cl = 500, Nl = 5e3, Pl = 2e4, Ps = he.forwardRef(
7039
+ const Cl = 500, Nl = 5e3, Pl = 2e4, Ps = fe.forwardRef(
7011
7040
  ({
7012
7041
  name: e,
7013
7042
  disabled: t,
@@ -7015,62 +7044,61 @@ const Cl = 500, Nl = 5e3, Pl = 2e4, Ps = he.forwardRef(
7015
7044
  labelHidden: n,
7016
7045
  onMaskChange: s,
7017
7046
  onChange: i,
7018
- onBlur: a,
7019
- onFocus: o,
7047
+ onBlur: o,
7048
+ onFocus: a,
7020
7049
  onTextInputMaskBlur: c,
7021
7050
  rightElement: d,
7022
7051
  ...u
7023
7052
  }, l) => {
7024
- const [f, h] = ue(!0), [m, p] = ue({
7053
+ const [f, h] = le(!0), [m, p] = le({
7025
7054
  message: null,
7026
7055
  politeness: null
7027
- }), b = j(!0), v = j(null), k = j(null), T = _l([l, k]), O = f ? "Show" : "Hide", _ = () => {
7028
- v.current && clearTimeout(v.current), b.current || (v.current = setTimeout(() => {
7056
+ }), b = W(!0), w = W(null), k = W(null), S = _l([l, k]), O = f ? "Show" : "Hide", _ = () => {
7057
+ w.current && clearTimeout(w.current), b.current || (w.current = setTimeout(() => {
7029
7058
  b.current = !0, h(!0), p({
7030
7059
  announcementTimeout: Nl,
7031
7060
  politeness: "polite",
7032
7061
  message: `${r} hiding characters`
7033
7062
  }), s && s(!0);
7034
7063
  }, Pl));
7035
- }, q = (C) => {
7036
- C.preventDefault();
7064
+ }, q = (N) => {
7065
+ N.preventDefault();
7037
7066
  const E = !b.current;
7038
7067
  b.current = E, _(), h(E), p({
7039
7068
  announcementTimeout: Cl,
7040
7069
  politeness: "assertive",
7041
7070
  message: E ? "Characters hidden" : "Characters showing"
7042
7071
  }), s && s(E);
7043
- }, z = (C) => {
7044
- var E;
7045
- const { relatedTarget: M } = C, Z = (E = k.current) == null ? void 0 : E.parentElement;
7046
- Z != null && Z.contains(M) || c && c();
7047
- }, U = (C) => {
7048
- _(), a && a(C), z(C);
7049
- }, R = (C) => {
7050
- _(), o && o(C);
7051
- }, w = (C) => {
7052
- _(), i && i(C);
7072
+ }, Q = (N) => {
7073
+ const { relatedTarget: E } = N;
7074
+ k.current?.parentElement?.contains(E) || c && c();
7075
+ }, L = (N) => {
7076
+ _(), o && o(N), Q(N);
7077
+ }, R = (N) => {
7078
+ _(), a && a(N);
7079
+ }, v = (N) => {
7080
+ _(), i && i(N);
7053
7081
  };
7054
- return ee(() => () => {
7055
- v.current && clearTimeout(v.current);
7082
+ return Z(() => () => {
7083
+ w.current && clearTimeout(w.current);
7056
7084
  }, []), /* @__PURE__ */ X(gr, { children: [
7057
7085
  /* @__PURE__ */ y(
7058
7086
  _r,
7059
7087
  {
7060
- ref: T,
7088
+ ref: S,
7061
7089
  name: e,
7062
7090
  label: r,
7063
7091
  labelHidden: n,
7064
7092
  type: f ? "password" : "text",
7065
7093
  disabled: t,
7066
- onBlur: U,
7094
+ onBlur: L,
7067
7095
  onFocus: R,
7068
- onChange: w,
7069
- rightElement: he.cloneElement(d, {
7096
+ onChange: v,
7097
+ rightElement: fe.cloneElement(d, {
7070
7098
  ref: l,
7071
7099
  label: O,
7072
7100
  onClick: q,
7073
- onBlur: z,
7101
+ onBlur: Q,
7074
7102
  disabled: t
7075
7103
  }),
7076
7104
  ...u
@@ -7090,13 +7118,13 @@ const Cl = 500, Nl = 5e3, Pl = 2e4, Ps = he.forwardRef(
7090
7118
  );
7091
7119
  Ps.displayName = "TextInputMask";
7092
7120
  /*!
7093
- @versini/ui-textinput v4.0.6
7121
+ @versini/ui-textinput v4.0.7
7094
7122
  © 2025 gizmette.com
7095
7123
  */
7096
7124
  try {
7097
7125
  window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
7098
- version: "4.0.6",
7099
- buildTime: "07/14/2025 12:04 PM EDT",
7126
+ version: "4.0.7",
7127
+ buildTime: "08/07/2025 04:11 PM EDT",
7100
7128
  homepage: "https://github.com/aversini/ui-components",
7101
7129
  license: "MIT"
7102
7130
  });
@@ -7104,27 +7132,27 @@ try {
7104
7132
  }
7105
7133
  const xl = "ASK! ME! ANYTHING!", D = "Callisto", $l = "Log in", Dl = "Sign in with a Passkey", td = "Log out", Ml = "Password", rd = "Usage", nd = "Profile", sd = "Settings", id = "Chat history", ad = "About", Cr = "Type your message here.", od = Cr, cd = `${Cr}
7106
7134
  Press Enter to send it or Shift+Enter for new line.`, ld = `${Cr}
7107
- Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "Review important details.", dd = [
7108
- `Sometimes, ${D} just makes stuff up. ${L}`,
7109
- `${D} may invent facts on the fly. ${L}`,
7110
- `${D} may be confidently wrong. ${L}`,
7111
- `Occasionally, ${D} bluffs. ${L}`,
7112
- `${D} is not always reality-based. ${L}`,
7113
- `Sometimes, ${D} freestyles the truth. ${L}`,
7114
- `${D}'s answers may vary from reality. ${L}`,
7115
- `Sometimes, ${D} hallucinates. ${L}`,
7116
- `Occasionally, ${D} imagines. ${L}`,
7117
- `${D} may make things up. ${L}`,
7118
- `${D} gets creative sometimes. ${L}`,
7119
- `${D} isn't always right. ${L}`,
7120
- `${D} can be mistaken. ${L}`,
7121
- `Sometimes, ${D} guesses. ${L}`,
7122
- `Sometimes, ${D} invents. ${L}`,
7123
- `${D} may get it wrong. ${L}`,
7124
- `${D} might fetch the wrong stick. ${L}`,
7125
- `Sometimes, ${D} howls at the moon. ${L}`,
7126
- `${D} may dig up imaginary bones. ${L}`,
7127
- `${D} may sniff out nonsense. ${L}`
7135
+ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", M = "Review important details.", dd = [
7136
+ `Sometimes, ${D} just makes stuff up. ${M}`,
7137
+ `${D} may invent facts on the fly. ${M}`,
7138
+ `${D} may be confidently wrong. ${M}`,
7139
+ `Occasionally, ${D} bluffs. ${M}`,
7140
+ `${D} is not always reality-based. ${M}`,
7141
+ `Sometimes, ${D} freestyles the truth. ${M}`,
7142
+ `${D}'s answers may vary from reality. ${M}`,
7143
+ `Sometimes, ${D} hallucinates. ${M}`,
7144
+ `Occasionally, ${D} imagines. ${M}`,
7145
+ `${D} may make things up. ${M}`,
7146
+ `${D} gets creative sometimes. ${M}`,
7147
+ `${D} isn't always right. ${M}`,
7148
+ `${D} can be mistaken. ${M}`,
7149
+ `Sometimes, ${D} guesses. ${M}`,
7150
+ `Sometimes, ${D} invents. ${M}`,
7151
+ `${D} may get it wrong. ${M}`,
7152
+ `${D} might fetch the wrong stick. ${M}`,
7153
+ `Sometimes, ${D} howls at the moon. ${M}`,
7154
+ `${D} may dig up imaginary bones. ${M}`,
7155
+ `${D} may sniff out nonsense. ${M}`
7128
7156
  ], fd = "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.", hd = "Default provider set to", md = "Chat successfully deleted!", yd = "Chat successfully saved!", pd = "av-sassy", gd = {
7129
7157
  0: ["January", "February", "March"],
7130
7158
  3: ["April", "May", "June"],
@@ -7191,18 +7219,18 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7191
7219
  ]
7192
7220
  }
7193
7221
  ), Ul = () => {
7194
- const { login: e, logoutReason: t, loginWithPasskey: r } = ps(), [n, s] = ue(""), [i, a] = ue(""), [o, c] = ue(!0), [d, u] = ue({
7222
+ const { login: e, logoutReason: t, loginWithPasskey: r } = ps(), [n, s] = le(""), [i, o] = le(""), [a, c] = le(!0), [d, u] = le({
7195
7223
  username: "",
7196
7224
  password: ""
7197
7225
  }), l = async (f) => {
7198
- f.preventDefault(), await e(d.username, d.password) || (a(""), s("Invalid username or password"));
7226
+ f.preventDefault(), await e(d.username, d.password) || (o(""), s("Invalid username or password"));
7199
7227
  };
7200
- return ee(() => {
7228
+ return Z(() => {
7201
7229
  document.getElementById("logo")?.classList.add("fadeOut"), setTimeout(() => {
7202
7230
  document.getElementById("root")?.classList.replace("app-hidden", "fadeIn");
7203
7231
  }, 500);
7204
- }), ee(() => {
7205
- t && a(t);
7232
+ }), Z(() => {
7233
+ t && o(t);
7206
7234
  }, [t]), /* @__PURE__ */ X(
7207
7235
  ul,
7208
7236
  {
@@ -7221,9 +7249,9 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7221
7249
  children: /* @__PURE__ */ y(Ll, {})
7222
7250
  }
7223
7251
  ),
7224
- /* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(fl, { alignHorizontal: "center", children: /* @__PURE__ */ y(Se, { span: 6, children: /* @__PURE__ */ X(sl, { mode: "dark", children: [
7225
- /* @__PURE__ */ y(Se, { 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 }) }),
7226
- /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
7252
+ /* @__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: [
7253
+ /* @__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 }) }),
7254
+ /* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y(
7227
7255
  _r,
7228
7256
  {
7229
7257
  className: "mt-7",
@@ -7244,7 +7272,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7244
7272
  error: n !== ""
7245
7273
  }
7246
7274
  ) }),
7247
- /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
7275
+ /* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y(
7248
7276
  Ps,
7249
7277
  {
7250
7278
  className: "mt-7",
@@ -7261,8 +7289,8 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7261
7289
  {
7262
7290
  focusMode: "light",
7263
7291
  mode: "dark",
7264
- label: o ? "Show" : "Hide",
7265
- children: o ? /* @__PURE__ */ y(cl, {}) : /* @__PURE__ */ y(al, {})
7292
+ label: a ? "Show" : "Hide",
7293
+ children: a ? /* @__PURE__ */ y(cl, {}) : /* @__PURE__ */ y(al, {})
7266
7294
  }
7267
7295
  ),
7268
7296
  onMaskChange: c,
@@ -7276,7 +7304,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7276
7304
  helperText: n
7277
7305
  }
7278
7306
  ) }),
7279
- /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
7307
+ /* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y(
7280
7308
  Os,
7281
7309
  {
7282
7310
  mode: "light",
@@ -7289,8 +7317,8 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7289
7317
  }
7290
7318
  ) }),
7291
7319
  !As() && /* @__PURE__ */ X(gr, { children: [
7292
- /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
7293
- /* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
7320
+ /* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
7321
+ /* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y(
7294
7322
  kt,
7295
7323
  {
7296
7324
  variant: "selected",
@@ -7310,7 +7338,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7310
7338
  );
7311
7339
  }, Fl = new URL(document.location.href).searchParams, on = !!Fl.get("debug") || !1, Kl = Ds(() => import(
7312
7340
  /* webpackChunkName: "LazyApp" */
7313
- "./App.CxyIxMAe.js"
7341
+ "./App.Dx9-zTHB.js"
7314
7342
  ).then((e) => e.App)), Hl = new si(), cn = ({
7315
7343
  isComponent: e,
7316
7344
  headerHeight: t
@@ -7324,7 +7352,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", L = "
7324
7352
  isComponent: e = !1,
7325
7353
  headerHeight: t = 0,
7326
7354
  domain: r = Es
7327
- }) => (ee(() => {
7355
+ }) => (Z(() => {
7328
7356
  e || ws().catch((n) => {
7329
7357
  console.error("[SW] Failed to register service worker:", n);
7330
7358
  });
@@ -7365,7 +7393,7 @@ export {
7365
7393
  Lt as I,
7366
7394
  Vu as INFINITE_SCROLL_LIMIT,
7367
7395
  Bu as INFINITE_SCROLL_THRESHOLD,
7368
- Qu as INPUT_BOTTOM_OFFSET,
7396
+ zu as INPUT_BOTTOM_OFFSET,
7369
7397
  Xu as INPUT_BOTTOM_OFFSET_EXTRA,
7370
7398
  Yu as INPUT_BOTTOM_OFFSET_IPHONE,
7371
7399
  ld as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
@@ -7385,8 +7413,8 @@ export {
7385
7413
  iu as Match,
7386
7414
  nd as PROFILE_TITLE,
7387
7415
  fd as PROMPTS_DESCRIPTION,
7388
- Wu as PROMPT_CLASSNAME,
7389
- ju as PROMPT_EDITABLE_AREA_CLASSNAME,
7416
+ ju as PROMPT_CLASSNAME,
7417
+ Wu as PROMPT_EDITABLE_AREA_CLASSNAME,
7390
7418
  lu as Portal,
7391
7419
  Nu as ROLE_INTERNAL,
7392
7420
  sl as S,
@@ -7401,7 +7429,7 @@ export {
7401
7429
  gd as TRIMESTERS,
7402
7430
  bd as TRIMESTERS_SHORT,
7403
7431
  Ju as UI_BUTTON_SCROLL_BUFFER,
7404
- zu as UI_DEFAULT_MAIN_HEIGHT,
7432
+ Qu as UI_DEFAULT_MAIN_HEIGHT,
7405
7433
  qu as UI_FOOTER_BUFFER,
7406
7434
  rd as USAGE_TITLE,
7407
7435
  Bi as addEventListener,
@@ -7415,15 +7443,14 @@ export {
7415
7443
  Xl as createContext,
7416
7444
  Sn as createEffect,
7417
7445
  K as createMemo,
7418
- Ae as createRenderEffect,
7419
- Te as createRoot,
7446
+ Te as createRenderEffect,
7447
+ Se as createRoot,
7420
7448
  Y as createSignal,
7421
7449
  eu as createUniqueId,
7422
7450
  Pc as debounce,
7423
7451
  Ui as delegateEvents,
7424
7452
  it as deleteNestedDataByPath,
7425
7453
  gu as displayValue,
7426
- _r as fe,
7427
7454
  Ys as fetchState,
7428
7455
  hn as focusManager,
7429
7456
  Tc as getCurrentGeoLocation,
@@ -7443,20 +7470,20 @@ export {
7443
7470
  lc as isServiceWorkerEnabled,
7444
7471
  As as isTauri,
7445
7472
  Ls as isValidTimeout,
7446
- Se as j,
7473
+ Ee as j,
7447
7474
  ol as l,
7448
- kt as le,
7449
7475
  au as memo,
7450
7476
  Ti as mergeProps,
7451
7477
  wu as mutationSortFns,
7452
7478
  ps as n,
7453
- ne as noop,
7454
- Q as notifyManager,
7479
+ re as noop,
7480
+ z as notifyManager,
7455
7481
  _c as numberFormatter,
7456
7482
  Ac as obfuscate,
7457
- zl as on,
7458
- je as onCleanup,
7483
+ Ql as on,
7484
+ We as onCleanup,
7459
7485
  di as onMount,
7486
+ _r as pe,
7460
7487
  Gs as pendingThenable,
7461
7488
  Nc as pluralize,
7462
7489
  ul as r,
@@ -7470,10 +7497,11 @@ export {
7470
7497
  ql as shouldThrowError,
7471
7498
  bu as sortFns,
7472
7499
  Ai as splitProps,
7473
- ji as spread,
7500
+ Wi as spread,
7474
7501
  du as stringify,
7475
7502
  ou as template,
7476
7503
  Us as timeUntilStale,
7504
+ kt as ue,
7477
7505
  Ic as unObfuscate,
7478
7506
  G as untrack,
7479
7507
  st as updateNestedDataByPath,