@versini/sassysaint 8.5.0 → 8.6.0

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.
@@ -140,7 +140,7 @@ function Bi(e) {
140
140
  setTimeout(t, e);
141
141
  });
142
142
  }
143
- function ji(e, t, r) {
143
+ function Gi(e, t, r) {
144
144
  if (typeof r.structuralSharing == "function")
145
145
  return r.structuralSharing(e, t);
146
146
  if (r.structuralSharing !== !1) {
@@ -156,7 +156,7 @@ function ji(e, t, r) {
156
156
  }
157
157
  return t;
158
158
  }
159
- function Gi(e, t, r = 0) {
159
+ function ji(e, t, r = 0) {
160
160
  const n = [...e, t];
161
161
  return r && n.length > r ? n.slice(1) : n;
162
162
  }
@@ -419,7 +419,7 @@ var ee = Qi(), Ve, ls, As = (ls = class {
419
419
  clearGcTimeout() {
420
420
  h(this, Ve) && (clearTimeout(h(this, Ve)), w(this, Ve, void 0));
421
421
  }
422
- }, Ve = new WeakMap(), ls), dt, ft, ie, Be, J, Vt, je, le, Te, us, Xi = (us = class extends As {
422
+ }, Ve = new WeakMap(), ls), dt, ft, ie, Be, J, Vt, Ge, le, Te, us, Xi = (us = class extends As {
423
423
  constructor(t) {
424
424
  super();
425
425
  T(this, le);
@@ -429,8 +429,8 @@ var ee = Qi(), Ve, ls, As = (ls = class {
429
429
  T(this, Be);
430
430
  T(this, J);
431
431
  T(this, Vt);
432
- T(this, je);
433
- w(this, je, !1), w(this, Vt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, ie, h(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, dt, ea(this.options)), this.state = t.state ?? h(this, dt), this.scheduleGc();
432
+ T(this, Ge);
433
+ w(this, Ge, !1), w(this, Vt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, ie, h(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, dt, ea(this.options)), this.state = t.state ?? h(this, dt), this.scheduleGc();
434
434
  }
435
435
  get meta() {
436
436
  return this.options.meta;
@@ -446,7 +446,7 @@ var ee = Qi(), Ve, ls, As = (ls = class {
446
446
  !this.observers.length && this.state.fetchStatus === "idle" && h(this, ie).remove(this);
447
447
  }
448
448
  setData(t, r) {
449
- const n = ji(this.state.data, t, this.options);
449
+ const n = Gi(this.state.data, t, this.options);
450
450
  return W(this, le, Te).call(this, {
451
451
  data: n,
452
452
  type: "success",
@@ -498,7 +498,7 @@ var ee = Qi(), Ve, ls, As = (ls = class {
498
498
  this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), h(this, ie).notify({ type: "observerAdded", query: this, observer: t }));
499
499
  }
500
500
  removeObserver(t) {
501
- this.observers.includes(t) && (this.observers = this.observers.filter((r) => r !== t), this.observers.length || (h(this, J) && (h(this, je) ? h(this, J).cancel({ revert: !0 }) : h(this, J).cancelRetry()), this.scheduleGc()), h(this, ie).notify({ type: "observerRemoved", query: this, observer: t }));
501
+ this.observers.includes(t) && (this.observers = this.observers.filter((r) => r !== t), this.observers.length || (h(this, J) && (h(this, Ge) ? h(this, J).cancel({ revert: !0 }) : h(this, J).cancelRetry()), this.scheduleGc()), h(this, ie).notify({ type: "observerRemoved", query: this, observer: t }));
502
502
  }
503
503
  getObserversCount() {
504
504
  return this.observers.length;
@@ -524,7 +524,7 @@ var ee = Qi(), Ve, ls, As = (ls = class {
524
524
  const n = new AbortController(), s = (l) => {
525
525
  Object.defineProperty(l, "signal", {
526
526
  enumerable: !0,
527
- get: () => (w(this, je, !0), n.signal)
527
+ get: () => (w(this, Ge, !0), n.signal)
528
528
  });
529
529
  }, i = () => {
530
530
  const l = ws(this.options, r), f = {
@@ -532,7 +532,7 @@ var ee = Qi(), Ve, ls, As = (ls = class {
532
532
  queryKey: this.queryKey,
533
533
  meta: this.meta
534
534
  };
535
- return s(f), w(this, je, !1), this.options.persister ? this.options.persister(
535
+ return s(f), w(this, Ge, !1), this.options.persister ? this.options.persister(
536
536
  l,
537
537
  f,
538
538
  this
@@ -606,7 +606,7 @@ var ee = Qi(), Ve, ls, As = (ls = class {
606
606
  canRun: () => !0
607
607
  })), h(this, J).start();
608
608
  }
609
- }, dt = new WeakMap(), ft = new WeakMap(), ie = new WeakMap(), Be = new WeakMap(), J = new WeakMap(), Vt = new WeakMap(), je = new WeakMap(), le = new WeakSet(), Te = function(t) {
609
+ }, dt = new WeakMap(), ft = new WeakMap(), ie = new WeakMap(), Be = new WeakMap(), J = new WeakMap(), Vt = new WeakMap(), Ge = new WeakMap(), le = new WeakSet(), Te = function(t) {
610
610
  const r = (n) => {
611
611
  switch (t.type) {
612
612
  case "failed":
@@ -776,13 +776,13 @@ var ye, ds, ta = (ds = class extends Rr {
776
776
  });
777
777
  });
778
778
  }
779
- }, ye = new WeakMap(), ds), pe, Z, Ge, ge, Ce, fs, ra = (fs = class extends As {
779
+ }, ye = new WeakMap(), ds), pe, Z, je, ge, Ce, fs, ra = (fs = class extends As {
780
780
  constructor(t) {
781
781
  super();
782
782
  T(this, ge);
783
783
  T(this, pe);
784
784
  T(this, Z);
785
- T(this, Ge);
785
+ T(this, je);
786
786
  this.mutationId = t.mutationId, w(this, Z, t.mutationCache), w(this, pe, []), this.state = t.state || na(), this.setOptions(t.options), this.scheduleGc();
787
787
  }
788
788
  setOptions(t) {
@@ -810,12 +810,12 @@ var ye, ds, ta = (ds = class extends Rr {
810
810
  }
811
811
  continue() {
812
812
  var t;
813
- return ((t = h(this, Ge)) == null ? void 0 : t.continue()) ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
813
+ return ((t = h(this, je)) == null ? void 0 : t.continue()) ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
814
814
  this.execute(this.state.variables);
815
815
  }
816
816
  async execute(t) {
817
817
  var s, i, a, o, c, u, d, l, f, m, y, g, E, k, C, v, N, R, U, H;
818
- w(this, Ge, Ts({
818
+ w(this, je, Ts({
819
819
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
820
820
  onFail: (O, A) => {
821
821
  W(this, ge, Ce).call(this, { type: "failed", failureCount: O, error: A });
@@ -831,7 +831,7 @@ var ye, ds, ta = (ds = class extends Rr {
831
831
  networkMode: this.options.networkMode,
832
832
  canRun: () => h(this, Z).canRun(this)
833
833
  }));
834
- const r = this.state.status === "pending", n = !h(this, Ge).canStart();
834
+ const r = this.state.status === "pending", n = !h(this, je).canStart();
835
835
  try {
836
836
  if (!r) {
837
837
  W(this, ge, Ce).call(this, { type: "pending", variables: t, isPaused: n }), await ((i = (s = h(this, Z).config).onMutate) == null ? void 0 : i.call(
@@ -847,7 +847,7 @@ var ye, ds, ta = (ds = class extends Rr {
847
847
  isPaused: n
848
848
  });
849
849
  }
850
- const O = await h(this, Ge).start();
850
+ const O = await h(this, je).start();
851
851
  return await ((u = (c = h(this, Z).config).onSuccess) == null ? void 0 : u.call(
852
852
  c,
853
853
  O,
@@ -896,7 +896,7 @@ var ye, ds, ta = (ds = class extends Rr {
896
896
  h(this, Z).runNext(this);
897
897
  }
898
898
  }
899
- }, pe = new WeakMap(), Z = new WeakMap(), Ge = new WeakMap(), ge = new WeakSet(), Ce = function(t) {
899
+ }, pe = new WeakMap(), Z = new WeakMap(), je = new WeakMap(), ge = new WeakSet(), Ce = function(t) {
900
900
  const r = (n) => {
901
901
  switch (t.type) {
902
902
  case "failed":
@@ -1101,7 +1101,7 @@ function Cn(e) {
1101
1101
  E(U);
1102
1102
  const H = await k(
1103
1103
  U
1104
- ), { maxPages: O } = t.options, A = R ? qi : Gi;
1104
+ ), { maxPages: O } = t.options, A = R ? qi : ji;
1105
1105
  return {
1106
1106
  pages: A(v.pages, H, O),
1107
1107
  pageParams: A(v.pageParams, N, O)
@@ -1592,7 +1592,7 @@ function Bu(e, t) {
1592
1592
  defaultValue: e
1593
1593
  };
1594
1594
  }
1595
- function ju(e) {
1595
+ function Gu(e) {
1596
1596
  let t;
1597
1597
  return x && x.context && (t = x.context[e.id]) !== void 0 ? t : e.defaultValue;
1598
1598
  }
@@ -2033,7 +2033,7 @@ function _a(e) {
2033
2033
  return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
2034
2034
  }
2035
2035
  var Ra = 0;
2036
- function Gu() {
2036
+ function ju() {
2037
2037
  return I.context ? I.getNextContextId() : `cl-${Ra++}`;
2038
2038
  }
2039
2039
  var Ms = (e) => `Stale read from <${e}>.`;
@@ -2380,7 +2380,7 @@ function Va(e, t, r) {
2380
2380
  function Ba(e, t) {
2381
2381
  Ye(e) || (t == null ? e.removeAttribute("class") : e.className = t);
2382
2382
  }
2383
- function ja(e, t, r, n) {
2383
+ function Ga(e, t, r, n) {
2384
2384
  if (n)
2385
2385
  Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
2386
2386
  else if (Array.isArray(r)) {
@@ -2389,7 +2389,7 @@ function ja(e, t, r, n) {
2389
2389
  } else
2390
2390
  e.addEventListener(t, r, typeof r != "function" && r);
2391
2391
  }
2392
- function Ga(e, t, r = {}) {
2392
+ function ja(e, t, r = {}) {
2393
2393
  const n = Object.keys(t || {}), s = Object.keys(r);
2394
2394
  let i, a;
2395
2395
  for (i = 0, a = s.length; i < a; i++) {
@@ -2465,7 +2465,7 @@ function Ln(e, t, r, n, s, i, a) {
2465
2465
  if (t === "style")
2466
2466
  return qa(e, r, n);
2467
2467
  if (t === "classList")
2468
- return Ga(e, r, n);
2468
+ return ja(e, r, n);
2469
2469
  if (r === n)
2470
2470
  return n;
2471
2471
  if (t === "ref")
@@ -2482,7 +2482,7 @@ function Ln(e, t, r, n, s, i, a) {
2482
2482
  const y = Array.isArray(n) ? n[0] : n;
2483
2483
  e.removeEventListener(f, y);
2484
2484
  }
2485
- (m || r) && (ja(e, f, r, m), m && Fa([f]));
2485
+ (m || r) && (Ga(e, f, r, m), m && Fa([f]));
2486
2486
  } else if (t.slice(0, 5) === "attr:")
2487
2487
  an(e, t.slice(5), r);
2488
2488
  else if (t.slice(0, 5) === "bool:")
@@ -2879,16 +2879,16 @@ var Bs = Pr((e, t) => Fs(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2879
2879
  Float32Array,
2880
2880
  Float64Array,
2881
2881
  Uint8ClampedArray
2882
- ].reduce((e, t) => (e[t.name] = t, e), {}), js = Pr(go, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2882
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Gs = Pr(go, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2883
2883
  const r = wo[t[1]];
2884
2884
  if (!r)
2885
2885
  throw new Error("Trying to deserialize unknown typed array");
2886
2886
  return new r(e);
2887
2887
  });
2888
- function Gs(e, t) {
2888
+ function js(e, t) {
2889
2889
  return e != null && e.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
2890
2890
  }
2891
- var qs = Pr(Gs, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
2891
+ var qs = Pr(js, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
2892
2892
  const r = t.classRegistry.getAllowedProps(e.constructor);
2893
2893
  if (!r)
2894
2894
  return { ...e };
@@ -2906,7 +2906,7 @@ var qs = Pr(Gs, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2906
2906
  if (!n)
2907
2907
  throw new Error("Trying to deserialize unknown custom value");
2908
2908
  return n.deserialize(e);
2909
- }), Eo = [qs, Bs, Ws, js], Fn = (e, t) => {
2909
+ }), Eo = [qs, Bs, Ws, Gs], Fn = (e, t) => {
2910
2910
  const r = Un(Eo, (s) => s.isApplicable(e, t));
2911
2911
  if (r)
2912
2912
  return {
@@ -2933,7 +2933,7 @@ var So = (e, t, r) => {
2933
2933
  case "custom":
2934
2934
  return Ws.untransform(e, t, r);
2935
2935
  case "typed-array":
2936
- return js.untransform(e, t, r);
2936
+ return Gs.untransform(e, t, r);
2937
2937
  default:
2938
2938
  throw new Error("Unknown transformation: " + t);
2939
2939
  }
@@ -3059,7 +3059,7 @@ function Ao(e, t) {
3059
3059
  At(t, r);
3060
3060
  return e;
3061
3061
  }
3062
- var Io = (e, t) => Ut(e) || Ke(e) || Kt(e) || Ft(e) || Gs(e, t);
3062
+ var Io = (e, t) => Ut(e) || Ke(e) || Kt(e) || Ft(e) || js(e, t);
3063
3063
  function ko(e, t, r) {
3064
3064
  const n = r.get(e);
3065
3065
  n ? n.push(t) : r.set(e, [t]);
@@ -3317,11 +3317,11 @@ var od = (e, t = !1) => {
3317
3317
  return;
3318
3318
  const n = document.createElement("style"), s = document.createTextNode("");
3319
3319
  n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
3320
- }, gt, jt, Gt, qt, qe, Wt, bt, wt, Et, St, vt, Tt, Jt, ys, Mo = (ys = class {
3320
+ }, gt, Gt, jt, qt, qe, Wt, bt, wt, Et, St, vt, Tt, Jt, ys, Mo = (ys = class {
3321
3321
  constructor(e) {
3322
3322
  T(this, gt);
3323
- T(this, jt);
3324
3323
  T(this, Gt);
3324
+ T(this, jt);
3325
3325
  T(this, qt);
3326
3326
  T(this, qe, !1);
3327
3327
  T(this, Wt);
@@ -3344,7 +3344,7 @@ var od = (e, t = !1) => {
3344
3344
  styleNonce: u,
3345
3345
  shadowDOMTarget: d
3346
3346
  } = e;
3347
- w(this, gt, te(t)), w(this, Gt, r), w(this, qt, n), w(this, jt, s), w(this, Wt, u), w(this, bt, d), w(this, wt, te(i)), w(this, Et, te(a)), w(this, St, te(o)), w(this, vt, te(c));
3347
+ w(this, gt, te(t)), w(this, jt, r), w(this, qt, n), w(this, Gt, s), w(this, Wt, u), w(this, bt, d), w(this, wt, te(i)), w(this, Et, te(a)), w(this, St, te(o)), w(this, vt, te(c));
3348
3348
  }
3349
3349
  setButtonPosition(e) {
3350
3350
  h(this, wt)[1](e);
@@ -3367,15 +3367,15 @@ var od = (e, t = !1) => {
3367
3367
  const t = Ka(() => {
3368
3368
  const r = this, [n] = h(this, wt), [s] = h(this, Et), [i] = h(this, St), [a] = h(this, vt), [o] = h(this, gt);
3369
3369
  let c;
3370
- return h(this, Tt) ? c = h(this, Tt) : (c = _a(() => import("./J3FDRF32.Db9Mpnk_.js")), w(this, Tt, c)), Do(h(this, Wt), h(this, bt)), Ta(c, Ia({
3370
+ return h(this, Tt) ? c = h(this, Tt) : (c = _a(() => import("./J3FDRF32.BXarMZyZ.js")), w(this, Tt, c)), Do(h(this, Wt), h(this, bt)), Ta(c, Ia({
3371
3371
  get queryFlavor() {
3372
- return h(r, Gt);
3372
+ return h(r, jt);
3373
3373
  },
3374
3374
  get version() {
3375
3375
  return h(r, qt);
3376
3376
  },
3377
3377
  get onlineManager() {
3378
- return h(r, jt);
3378
+ return h(r, Gt);
3379
3379
  },
3380
3380
  get shadowDOMTarget() {
3381
3381
  return h(r, bt);
@@ -3406,7 +3406,7 @@ var od = (e, t = !1) => {
3406
3406
  throw new Error("Devtools is not mounted");
3407
3407
  (e = h(this, Jt)) == null || e.call(this), w(this, qe, !1);
3408
3408
  }
3409
- }, gt = new WeakMap(), jt = new WeakMap(), Gt = new WeakMap(), qt = new WeakMap(), qe = new WeakMap(), Wt = new WeakMap(), bt = new WeakMap(), wt = new WeakMap(), Et = new WeakMap(), St = new WeakMap(), vt = new WeakMap(), Tt = new WeakMap(), Jt = new WeakMap(), ys);
3409
+ }, gt = new WeakMap(), Gt = new WeakMap(), jt = new WeakMap(), qt = new WeakMap(), qe = new WeakMap(), Wt = new WeakMap(), bt = new WeakMap(), wt = new WeakMap(), Et = new WeakMap(), St = new WeakMap(), vt = new WeakMap(), Tt = new WeakMap(), Jt = new WeakMap(), ys);
3410
3410
  function Lo(e) {
3411
3411
  const t = oa(e.client), r = oe.useRef(null), {
3412
3412
  buttonPosition: n,
@@ -3620,7 +3620,7 @@ async function Bo(e) {
3620
3620
  try {
3621
3621
  c = i.getPublicKeyAlgorithm();
3622
3622
  } catch (f) {
3623
- jr("getPublicKeyAlgorithm()", f);
3623
+ Gr("getPublicKeyAlgorithm()", f);
3624
3624
  }
3625
3625
  let u;
3626
3626
  if (typeof i.getPublicKey == "function")
@@ -3628,14 +3628,14 @@ async function Bo(e) {
3628
3628
  const f = i.getPublicKey();
3629
3629
  f !== null && (u = be(f));
3630
3630
  } catch (f) {
3631
- jr("getPublicKey()", f);
3631
+ Gr("getPublicKey()", f);
3632
3632
  }
3633
3633
  let d;
3634
3634
  if (typeof i.getAuthenticatorData == "function")
3635
3635
  try {
3636
3636
  d = be(i.getAuthenticatorData());
3637
3637
  } catch (f) {
3638
- jr("getAuthenticatorData()", f);
3638
+ Gr("getAuthenticatorData()", f);
3639
3639
  }
3640
3640
  return {
3641
3641
  id: n,
@@ -3653,17 +3653,17 @@ async function Bo(e) {
3653
3653
  authenticatorAttachment: ni(r.authenticatorAttachment)
3654
3654
  };
3655
3655
  }
3656
- function jr(e, t) {
3656
+ function Gr(e, t) {
3657
3657
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
3658
3658
  `, t);
3659
3659
  }
3660
- function jo() {
3660
+ function Go() {
3661
3661
  if (!wn())
3662
3662
  return new Promise((t) => t(!1));
3663
3663
  const e = window.PublicKeyCredential;
3664
3664
  return e.isConditionalMediationAvailable === void 0 ? new Promise((t) => t(!1)) : e.isConditionalMediationAvailable();
3665
3665
  }
3666
- function Go({ error: e, options: t }) {
3666
+ function jo({ error: e, options: t }) {
3667
3667
  const { publicKey: r } = t;
3668
3668
  if (!r)
3669
3669
  throw Error("options was missing required publicKey property");
@@ -3716,7 +3716,7 @@ async function qo(e, t = !1) {
3716
3716
  allowCredentials: r
3717
3717
  }, s = {};
3718
3718
  if (t) {
3719
- if (!await jo())
3719
+ if (!await Go())
3720
3720
  throw Error("Browser does not support WebAuthn autofill");
3721
3721
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1)
3722
3722
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
@@ -3727,7 +3727,7 @@ async function qo(e, t = !1) {
3727
3727
  try {
3728
3728
  i = await navigator.credentials.get(s);
3729
3729
  } catch (m) {
3730
- throw Go({ error: m, options: s });
3730
+ throw jo({ error: m, options: s });
3731
3731
  }
3732
3732
  if (!i)
3733
3733
  throw new Error("Authentication was not completed");
@@ -3769,7 +3769,7 @@ const ot = {
3769
3769
  PASSKEY: "passkey"
3770
3770
  }, si = {
3771
3771
  CLIENT_ID: "X-Auth-ClientId"
3772
- }, G = {
3772
+ }, j = {
3773
3773
  ALG: "RS256",
3774
3774
  USER_ID_KEY: "sub",
3775
3775
  USERNAME_KEY: "username",
@@ -3914,7 +3914,7 @@ function ve(e, t = "algorithm.name") {
3914
3914
  function ir(e, t) {
3915
3915
  return e.name === t;
3916
3916
  }
3917
- function Gr(e) {
3917
+ function jr(e) {
3918
3918
  return parseInt(e.name.slice(4), 10);
3919
3919
  }
3920
3920
  function nc(e) {
@@ -3947,7 +3947,7 @@ function ic(e, t, ...r) {
3947
3947
  if (!ir(e.algorithm, "HMAC"))
3948
3948
  throw ve("HMAC");
3949
3949
  const n = parseInt(t.slice(2), 10);
3950
- if (Gr(e.algorithm.hash) !== n)
3950
+ if (jr(e.algorithm.hash) !== n)
3951
3951
  throw ve(`SHA-${n}`, "algorithm.hash");
3952
3952
  break;
3953
3953
  }
@@ -3957,7 +3957,7 @@ function ic(e, t, ...r) {
3957
3957
  if (!ir(e.algorithm, "RSASSA-PKCS1-v1_5"))
3958
3958
  throw ve("RSASSA-PKCS1-v1_5");
3959
3959
  const n = parseInt(t.slice(2), 10);
3960
- if (Gr(e.algorithm.hash) !== n)
3960
+ if (jr(e.algorithm.hash) !== n)
3961
3961
  throw ve(`SHA-${n}`, "algorithm.hash");
3962
3962
  break;
3963
3963
  }
@@ -3967,7 +3967,7 @@ function ic(e, t, ...r) {
3967
3967
  if (!ir(e.algorithm, "RSA-PSS"))
3968
3968
  throw ve("RSA-PSS");
3969
3969
  const n = parseInt(t.slice(2), 10);
3970
- if (Gr(e.algorithm.hash) !== n)
3970
+ if (jr(e.algorithm.hash) !== n)
3971
3971
  throw ve(`SHA-${n}`, "algorithm.hash");
3972
3972
  break;
3973
3973
  }
@@ -4302,7 +4302,7 @@ function mi(e, t, r, n) {
4302
4302
  t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Ec(t, r, n, e) : Sc(t, r, n, e);
4303
4303
  }
4304
4304
  mi.bind(void 0, !1);
4305
- const jn = mi.bind(void 0, !0);
4305
+ const Gn = mi.bind(void 0, !0);
4306
4306
  function vc(e, t, r, n, s) {
4307
4307
  if (s.crit !== void 0 && (n == null ? void 0 : n.crit) === void 0)
4308
4308
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
@@ -4415,7 +4415,7 @@ async function _c(e, t, r) {
4415
4415
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
4416
4416
  throw new V("JWS Payload must be a string or an Uint8Array instance");
4417
4417
  let u = !1;
4418
- typeof t == "function" ? (t = await t(n, e), u = !0, jn(o, t, "verify"), _t(t) && (t = await wc(t, o))) : jn(o, t, "verify");
4418
+ typeof t == "function" ? (t = await t(n, e), u = !0, Gn(o, t, "verify"), _t(t) && (t = await wc(t, o))) : Gn(o, t, "verify");
4419
4419
  const d = Jo(sr.encode(e.protected ?? ""), sr.encode("."), typeof e.payload == "string" ? sr.encode(e.payload) : e.payload);
4420
4420
  let l;
4421
4421
  try {
@@ -4445,7 +4445,7 @@ async function Rc(e, t, r) {
4445
4445
  const o = await _c({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
4446
4446
  return typeof t == "function" ? { ...c, key: o.key } : c;
4447
4447
  }
4448
- const Oc = (e) => Math.floor(e.getTime() / 1e3), yi = 60, pi = yi * 60, En = pi * 24, Nc = En * 7, Cc = En * 365.25, Pc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Gn = (e) => {
4448
+ const Oc = (e) => Math.floor(e.getTime() / 1e3), yi = 60, pi = yi * 60, En = pi * 24, Nc = En * 7, Cc = En * 365.25, Pc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, jn = (e) => {
4449
4449
  const t = Pc.exec(e);
4450
4450
  if (!t || t[4] && t[1])
4451
4451
  throw new TypeError("Invalid time period format");
@@ -4513,7 +4513,7 @@ const Oc = (e) => Math.floor(e.getTime() / 1e3), yi = 60, pi = yi * 60, En = pi
4513
4513
  let l;
4514
4514
  switch (typeof r.clockTolerance) {
4515
4515
  case "string":
4516
- l = Gn(r.clockTolerance);
4516
+ l = jn(r.clockTolerance);
4517
4517
  break;
4518
4518
  case "number":
4519
4519
  l = r.clockTolerance;
@@ -4540,7 +4540,7 @@ const Oc = (e) => Math.floor(e.getTime() / 1e3), yi = 60, pi = yi * 60, En = pi
4540
4540
  throw new hn('"exp" claim timestamp check failed', n, "exp", "check_failed");
4541
4541
  }
4542
4542
  if (u) {
4543
- const y = m - n.iat, g = typeof u == "number" ? u : Gn(u);
4543
+ const y = m - n.iat, g = typeof u == "number" ? u : jn(u);
4544
4544
  if (y - l > g)
4545
4545
  throw new hn('"iat" claim timestamp check failed (too far in the past)', n, "iat", "check_failed");
4546
4546
  if (y < 0 - l)
@@ -4585,9 +4585,9 @@ function $c(e) {
4585
4585
  }
4586
4586
  const Ht = async (e) => {
4587
4587
  try {
4588
- const t = G.ALG, r = await bc(Wo, t);
4588
+ const t = j.ALG, r = await bc(Wo, t);
4589
4589
  return await Mc(e, r, {
4590
- issuer: G.ISSUER
4590
+ issuer: j.ISSUER
4591
4591
  });
4592
4592
  } catch {
4593
4593
  return;
@@ -4622,19 +4622,19 @@ function Jn(e, t, r) {
4622
4622
  const n = e.random || (e.rng || Hc)();
4623
4623
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Kc(n);
4624
4624
  }
4625
- const Yn = globalThis.crypto, Bc = (e) => `${Jn()}${Jn()}`.slice(0, e), jc = (e) => btoa(
4625
+ const Yn = globalThis.crypto, Bc = (e) => `${Jn()}${Jn()}`.slice(0, e), Gc = (e) => btoa(
4626
4626
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4627
4627
  );
4628
- async function Gc(e) {
4628
+ async function jc(e) {
4629
4629
  if (!Yn.subtle)
4630
4630
  throw new Error(
4631
4631
  "crypto.subtle is available only in secure contexts (HTTPS)."
4632
4632
  );
4633
4633
  const t = new TextEncoder().encode(e), r = await Yn.subtle.digest("SHA-256", t);
4634
- return jc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4634
+ return Gc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4635
4635
  }
4636
4636
  async function qc(e) {
4637
- const t = Bc(43), r = await Gc(t);
4637
+ const t = Bc(43), r = await jc(t);
4638
4638
  return {
4639
4639
  code_verifier: t,
4640
4640
  code_challenge: r
@@ -4678,11 +4678,11 @@ function ar({
4678
4678
  }
4679
4679
  }, [e, t]), [r ? JSON.parse(r) : null, n, s, i];
4680
4680
  }
4681
- const j = [];
4681
+ const G = [];
4682
4682
  for (let e = 0; e < 256; ++e)
4683
- j.push((e + 256).toString(16).slice(1));
4683
+ G.push((e + 256).toString(16).slice(1));
4684
4684
  function Yc(e, t = 0) {
4685
- return (j[e[t + 0]] + j[e[t + 1]] + j[e[t + 2]] + j[e[t + 3]] + "-" + j[e[t + 4]] + j[e[t + 5]] + "-" + j[e[t + 6]] + j[e[t + 7]] + "-" + j[e[t + 8]] + j[e[t + 9]] + "-" + j[e[t + 10]] + j[e[t + 11]] + j[e[t + 12]] + j[e[t + 13]] + j[e[t + 14]] + j[e[t + 15]]).toLowerCase();
4685
+ return (G[e[t + 0]] + G[e[t + 1]] + G[e[t + 2]] + G[e[t + 3]] + "-" + G[e[t + 4]] + G[e[t + 5]] + "-" + G[e[t + 6]] + G[e[t + 7]] + "-" + G[e[t + 8]] + G[e[t + 9]] + "-" + G[e[t + 10]] + G[e[t + 11]] + G[e[t + 12]] + G[e[t + 13]] + G[e[t + 14]] + G[e[t + 15]]).toLowerCase();
4686
4686
  }
4687
4687
  let Wr;
4688
4688
  const zc = new Uint8Array(16);
@@ -4867,7 +4867,7 @@ const tt = "Your session has expired. For your security, please log in again to
4867
4867
  }, sl = (e) => {
4868
4868
  try {
4869
4869
  const t = Uc(e);
4870
- return t ? t[G.USER_ID_KEY] : "";
4870
+ return t ? t[j.USER_ID_KEY] : "";
4871
4871
  } catch {
4872
4872
  return "";
4873
4873
  }
@@ -4928,12 +4928,12 @@ const tt = "Your session has expired. For your security, please log in again to
4928
4928
  ua: u
4929
4929
  }
4930
4930
  }), m = await Ht((l = f == null ? void 0 : f.data) == null ? void 0 : l.idToken);
4931
- return m && m.payload[G.USER_ID_KEY] !== "" && m.payload[G.NONCE_KEY] === n ? {
4931
+ return m && m.payload[j.USER_ID_KEY] !== "" && m.payload[j.NONCE_KEY] === n ? {
4932
4932
  idToken: f.data.idToken,
4933
4933
  accessToken: f.data.accessToken,
4934
4934
  refreshToken: f.data.refreshToken,
4935
- userId: m.payload[G.USER_ID_KEY],
4936
- email: m.payload[G.EMAIL_KEY],
4935
+ userId: m.payload[j.USER_ID_KEY],
4936
+ email: m.payload[j.EMAIL_KEY],
4937
4937
  status: !0
4938
4938
  } : {
4939
4939
  status: !1
@@ -4998,10 +4998,10 @@ const tt = "Your session has expired. For your security, please log in again to
4998
4998
  domain: i
4999
4999
  }
5000
5000
  }), u = await Ht((o = c == null ? void 0 : c.data) == null ? void 0 : o.accessToken);
5001
- return u && u.payload[G.USER_ID_KEY] !== "" && u.payload[G.NONCE_KEY] === r ? {
5001
+ return u && u.payload[j.USER_ID_KEY] !== "" && u.payload[j.NONCE_KEY] === r ? {
5002
5002
  accessToken: c.data.accessToken,
5003
5003
  refreshToken: c.data.refreshToken,
5004
- userId: u.payload[G.USER_ID_KEY],
5004
+ userId: u.payload[j.USER_ID_KEY],
5005
5005
  status: !0
5006
5006
  } : {
5007
5007
  status: !1
@@ -5044,7 +5044,7 @@ class ll {
5044
5044
  domain: i
5045
5045
  }) {
5046
5046
  const a = await Ht(this.refreshToken);
5047
- if (a && a.payload[G.USER_ID_KEY] !== "") {
5047
+ if (a && a.payload[j.USER_ID_KEY] !== "") {
5048
5048
  const o = await cl({
5049
5049
  endpoint: t,
5050
5050
  clientId: r,
@@ -5177,14 +5177,14 @@ const ul = (e) => ke(
5177
5177
  return a.isLoading && d !== null ? (async () => {
5178
5178
  try {
5179
5179
  const S = await Ht(d);
5180
- S && S.payload[G.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), o({
5180
+ S && S.payload[j.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), o({
5181
5181
  type: dr,
5182
5182
  payload: {
5183
- authenticationType: S.payload[G.AUTH_TYPE_KEY],
5183
+ authenticationType: S.payload[j.AUTH_TYPE_KEY],
5184
5184
  user: {
5185
- userId: S.payload[G.USER_ID_KEY],
5186
- username: S.payload[G.USERNAME_KEY],
5187
- email: S.payload[G.EMAIL_KEY]
5185
+ userId: S.payload[j.USER_ID_KEY],
5186
+ username: S.payload[j.USERNAME_KEY],
5187
+ email: S.payload[j.EMAIL_KEY]
5188
5188
  }
5189
5189
  }
5190
5190
  })) : (c("useEffect: invalid JWT, invalidating and logging out"), await A(tt));
@@ -5243,7 +5243,7 @@ const ul = (e) => ke(
5243
5243
  if (m) {
5244
5244
  c("getAccessToken");
5245
5245
  const ze = await Ht(m);
5246
- if (ze && ze.payload[G.USER_ID_KEY] !== "")
5246
+ if (ze && ze.payload[j.USER_ID_KEY] !== "")
5247
5247
  return m;
5248
5248
  }
5249
5249
  c("getAccessToken: invalid access token, trying to refresh it");
@@ -5521,11 +5521,11 @@ const Sl = process.env.NODE_ENV === "production", Ii = !Sl, vl = Ii ? "gizmette.
5521
5521
  return String.fromCharCode(+`0x${n}`);
5522
5522
  }
5523
5523
  )
5524
- ), jd = (e) => decodeURIComponent(
5524
+ ), Gd = (e) => decodeURIComponent(
5525
5525
  window.atob(e).split("").map(function(t) {
5526
5526
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
5527
5527
  }).join("")
5528
- ), Gd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ p("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
5528
+ ), jd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ p("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
5529
5529
  /* @__PURE__ */ p("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
5530
5530
  /* @__PURE__ */ p("dd", { className: "my-1 inline-block", children: t[r] })
5531
5531
  ] }) }, `${e}-${r}`)) : null, qd = (e) => e > 0 ? El(e, {
@@ -5979,7 +5979,7 @@ const Vl = {
5979
5979
  // px-3 x 2
5980
5980
  large: 16 * 2
5981
5981
  // px-4 x 2
5982
- }, jl = 2, Ir = Re.forwardRef(
5982
+ }, Gl = 2, Ir = Re.forwardRef(
5983
5983
  ({
5984
5984
  children: e,
5985
5985
  disabled: t = !1,
@@ -6022,7 +6022,7 @@ const Vl = {
6022
6022
  animated: v
6023
6023
  }), H = Ll({ mode: r, raw: o, iconClassName: C }), O = $l({ animated: v }), [A, P] = zr(), [_, K] = zr(), [X, fe] = zr(), Ne = z(0), S = z(null), $ = Fl([R, S]);
6024
6024
  return mr(() => {
6025
- X && X.current && v && (Ne.current = fe.width + Bl[l] + (c ? 0 : jl));
6025
+ X && X.current && v && (Ne.current = fe.width + Bl[l] + (c ? 0 : Gl));
6026
6026
  }, [fe, X, l, c, v]), mr(() => {
6027
6027
  S && S.current && v && (f && A && P.width > 0 ? (A.current && (A.current.style.opacity = "100"), S.current.style.width = `${P.width + Ne.current}px`) : m && K.width > 0 ? (_.current && (_.current.style.opacity = "100"), S.current.style.width = `${K.width + Ne.current}px`) : (A.current && (A.current.style.opacity = "0"), _.current && (_.current.style.opacity = "0"), S.current.style.width = `${Vl[l]}px`));
6028
6028
  }, [
@@ -6087,7 +6087,7 @@ try {
6087
6087
  });
6088
6088
  } catch {
6089
6089
  }
6090
- const Gl = Re.forwardRef(
6090
+ const jl = Re.forwardRef(
6091
6091
  ({
6092
6092
  children: e,
6093
6093
  mode: t = "system",
@@ -6125,7 +6125,7 @@ const Gl = Re.forwardRef(
6125
6125
  ) });
6126
6126
  }
6127
6127
  );
6128
- Gl.displayName = "ButtonSort";
6128
+ jl.displayName = "ButtonSort";
6129
6129
  /*!
6130
6130
  @versini/ui-card v3.0.20
6131
6131
  © 2025 gizmette.com
@@ -7104,7 +7104,7 @@ try {
7104
7104
  });
7105
7105
  } catch {
7106
7106
  }
7107
- const Au = "ASK! ME! ANYTHING!", xi = "Callisto", Iu = "Log in", ku = "Sign in with a Passkey", Xd = "Log out", _u = "Password", Zd = "Profile", ef = "Settings", tf = "Chat history", rf = "About", nf = "Type your question here", sf = "{{clipboard}}", af = `Sometimes, ${xi} hallucinates. Review important details.`, of = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary 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.", cf = "Default provider set to", lf = "Chat successfully deleted!", uf = {
7107
+ const Au = "ASK! ME! ANYTHING!", xi = "Callisto", Iu = "Log in", ku = "Sign in with a Passkey", Xd = "Log out", _u = "Password", Zd = "Usage", ef = "Profile", tf = "Settings", rf = "Chat history", nf = "About", sf = "Type your question here", af = "{{clipboard}}", of = `Sometimes, ${xi} hallucinates. Review important details.`, cf = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary 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.", lf = "Default provider set to", uf = "Chat successfully deleted!", df = {
7108
7108
  PREFERENCES: {
7109
7109
  TITLE: "User profile",
7110
7110
  NAME: "Name",
@@ -7272,7 +7272,7 @@ const Au = "ASK! ME! ANYTHING!", xi = "Callisto", Iu = "Log in", ku = "Sign in w
7272
7272
  ) });
7273
7273
  }, Nu = new URL(document.location.href).searchParams, is = !!Nu.get("debug") || !1, Cu = $i(() => import(
7274
7274
  /* webpackChunkName: "LazyApp" */
7275
- "./App.DSrtO4hC.js"
7275
+ "./App.CqZPQxEo.js"
7276
7276
  ).then((e) => e.App)), Pu = new aa(), as = ({
7277
7277
  isComponent: e,
7278
7278
  headerHeight: t
@@ -7295,7 +7295,7 @@ const Au = "ASK! ME! ANYTHING!", xi = "Callisto", Iu = "Log in", ku = "Sign in w
7295
7295
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7296
7296
  children: /* @__PURE__ */ p(as, { isComponent: e, headerHeight: t })
7297
7297
  }
7298
- ) : /* @__PURE__ */ p(Zn, { clientId: es, domain: r, debug: is, children: /* @__PURE__ */ p(as, { isComponent: e, headerHeight: t }) }), df = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7298
+ ) : /* @__PURE__ */ p(Zn, { clientId: es, domain: r, debug: is, children: /* @__PURE__ */ p(as, { isComponent: e, headerHeight: t }) }), ff = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7299
7299
  xu,
7300
7300
  {
7301
7301
  isComponent: !0,
@@ -7304,27 +7304,27 @@ const Au = "ASK! ME! ANYTHING!", xi = "Callisto", Iu = "Log in", ku = "Sign in w
7304
7304
  }
7305
7305
  );
7306
7306
  export {
7307
- rf as ABOUT_TITLE,
7307
+ nf as ABOUT_TITLE,
7308
7308
  Rd as ACTION_RESET_PROMPT,
7309
7309
  Id as ACTION_SEARCH,
7310
7310
  kd as ACTION_SORT,
7311
7311
  _d as ACTION_TOGGLE_PROMPT,
7312
7312
  xi as APP_NAME,
7313
7313
  _i as C,
7314
- uf as CARDS,
7315
- sf as CLIPBOARD_PROMPT,
7314
+ df as CARDS,
7315
+ af as CLIPBOARD_PROMPT,
7316
7316
  vd as DEFAULT_AI_PROVIDER,
7317
7317
  Ud as DEFAULT_ICON_ACTION_SIZE,
7318
7318
  ed as Dynamic,
7319
7319
  Sd as ERROR_MESSAGE,
7320
- af as FOOTER_DISCLAIMER,
7320
+ of as FOOTER_DISCLAIMER,
7321
7321
  qu as For,
7322
- tf as HISTORY_TITLE,
7322
+ rf as HISTORY_TITLE,
7323
7323
  $r as I,
7324
7324
  tu as I$1,
7325
7325
  Md as INFINITE_SCROLL_LIMIT,
7326
7326
  Dd as INFINITE_SCROLL_THRESHOLD,
7327
- nf as INPUT_PLACEHOLDER_TEXT,
7327
+ sf as INPUT_PLACEHOLDER_TEXT,
7328
7328
  Wu as Index,
7329
7329
  nu as L,
7330
7330
  Nd as LOCAL_STORAGE_CHAT_DETAILS,
@@ -7336,8 +7336,8 @@ export {
7336
7336
  Ru as Logo,
7337
7337
  ot as M,
7338
7338
  zu as Match,
7339
- Zd as PROFILE_TITLE,
7340
- of as PROMPTS_DESCRIPTION,
7339
+ ef as PROFILE_TITLE,
7340
+ cf as PROMPTS_DESCRIPTION,
7341
7341
  Ld as PROMPT_CLASSNAME,
7342
7342
  $d as PROMPT_EDITABLE_AREA_CLASSNAME,
7343
7343
  Ad as PROVIDER_ANTHROPIC,
@@ -7347,17 +7347,18 @@ export {
7347
7347
  Ed as ROLE_INTERNAL,
7348
7348
  bd as ROLE_USER,
7349
7349
  Yl as S,
7350
- ef as SETTINGS_TITLE,
7351
- df as SassySaint,
7350
+ tf as SETTINGS_TITLE,
7351
+ ff as SassySaint,
7352
7352
  Ju as Show,
7353
7353
  Rr as Subscribable,
7354
7354
  Yu as Switch,
7355
- lf as TOAST_CHAT_DELETED,
7356
- cf as TOAST_PROVIDER_CHANGED,
7355
+ uf as TOAST_CHAT_DELETED,
7356
+ lf as TOAST_PROVIDER_CHANGED,
7357
7357
  Fd as UI_BUTTON_SCROLL_BUFFER,
7358
7358
  Hd as UI_DEFAULT_MAIN_HEIGHT,
7359
7359
  Kd as UI_FOOTER_BUFFER,
7360
- ja as addEventListener,
7360
+ Zd as USAGE_TITLE,
7361
+ Ga as addEventListener,
7361
7362
  Ku as batch,
7362
7363
  Ba as className,
7363
7364
  Xu as clearDelegatedEvents,
@@ -7371,7 +7372,7 @@ export {
7371
7372
  Je as createRenderEffect,
7372
7373
  We as createRoot,
7373
7374
  te as createSignal,
7374
- Gu as createUniqueId,
7375
+ ju as createUniqueId,
7375
7376
  Jd as debounce,
7376
7377
  Fa as delegateEvents,
7377
7378
  nr as deleteNestedDataByPath,
@@ -7407,8 +7408,8 @@ export {
7407
7408
  Yi as pendingThenable,
7408
7409
  Wd as pluralize,
7409
7410
  Ir as re,
7410
- Gd as renderDataAsList,
7411
- ji as replaceData,
7411
+ jd as renderDataAsList,
7412
+ Gi as replaceData,
7412
7413
  Vi as resolveEnabled,
7413
7414
  kn as resolveStaleTime,
7414
7415
  No as serialize,
@@ -7422,11 +7423,11 @@ export {
7422
7423
  Hi as timeUntilStale,
7423
7424
  Qd as toastOptions,
7424
7425
  Ai as un,
7425
- jd as unObfuscate,
7426
+ Gd as unObfuscate,
7426
7427
  q as untrack,
7427
7428
  rr as updateNestedDataByPath,
7428
7429
  Ja as use,
7429
- ju as useContext,
7430
+ Gu as useContext,
7430
7431
  oa as useQueryClient,
7431
7432
  Vu as useTransition
7432
7433
  };