@versini/sassysaint 8.51.6 → 8.51.8

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.
Files changed (23) hide show
  1. package/dist/chunks/{AboutChangelog.CN3UXSMa.js → AboutChangelog.OHwH6GLm.js} +2 -2
  2. package/dist/chunks/{AboutEntry.CJpD_FIz.js → AboutEntry.Bn93HLNj.js} +5 -5
  3. package/dist/chunks/{App.DT84WhDa.js → App.DoxMMPMa.js} +341 -345
  4. package/dist/chunks/{Chart.B0FmDaG9.js → Chart.D7Rnl0xJ.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.dFydRRL8.js → ChatBubbleAssistant.DFnHtUuH.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.CzqAzo87.js → ChatBubbleUser.jUyF65lN.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable.DCSHS-y-.js → ChatHistoryTable.7ltEbgeH.js} +3 -3
  8. package/dist/chunks/{HistoryEntry.Do3qCPt5.js → HistoryEntry.AqPWUagL.js} +3 -3
  9. package/dist/chunks/{ProfileEntry.Dt1aXKGZ.js → ProfileEntry.C3tnb5e6.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.4firEV8i.js → SettingsEntry.Y--RChx2.js} +3 -3
  11. package/dist/chunks/{Table.DF8KWCWh.js → Table.a2y12_1-.js} +2 -2
  12. package/dist/chunks/{UsageEntry.DJj3pktC.js → UsageEntry.rASAu224.js} +3 -3
  13. package/dist/chunks/{index.DOohK2Jv.js → index.BRCh7mJX.js} +1 -1
  14. package/dist/chunks/{index.DpKYAotX.js → index.C8xAPtuY.js} +1 -1
  15. package/dist/chunks/{index.14z58zNz.js → index.C9H-gDsu.js} +1 -1
  16. package/dist/chunks/{index.Bl5ttGkN.js → index.ClaYzv3f.js} +3 -3
  17. package/dist/chunks/{index.CDCubG_8.js → index.DsghjowF.js} +1 -1
  18. package/dist/chunks/{index.4HYk3k3m.js → index.Dt5ywYi4.js} +139 -91
  19. package/dist/chunks/{index.79XJjKxS.js → index.OmmNmzPM.js} +2 -2
  20. package/dist/chunks/{useMarkdown.CoBS9HcY.js → useMarkdown.D9B4zdoP.js} +6 -6
  21. package/dist/components/SassySaint/SassySaint.js +1 -1
  22. package/dist/index.js +4 -4
  23. package/package.json +3 -3
@@ -455,18 +455,18 @@ var Nr = class {
455
455
  #e;
456
456
  #t;
457
457
  #r;
458
- #s;
459
458
  #a;
459
+ #s;
460
460
  #i;
461
461
  #o;
462
462
  constructor(e) {
463
- super(), this.#o = !1, this.#i = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#s = e.client, this.#r = this.#s.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Zt(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
463
+ super(), this.#o = !1, this.#i = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#a = e.client, this.#r = this.#a.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Zt(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
464
464
  }
465
465
  get meta() {
466
466
  return this.options.meta;
467
467
  }
468
468
  get promise() {
469
- return this.#a?.promise;
469
+ return this.#s?.promise;
470
470
  }
471
471
  setOptions(e) {
472
472
  if (this.options = { ...this.#i, ...e }, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
@@ -493,8 +493,8 @@ var Nr = class {
493
493
  this.#n({ type: "setState", state: e, setStateOptions: t });
494
494
  }
495
495
  cancel(e) {
496
- const t = this.#a?.promise;
497
- return this.#a?.cancel(e), t ? t.then(G).catch(G) : Promise.resolve();
496
+ const t = this.#s?.promise;
497
+ return this.#s?.cancel(e), t ? t.then(G).catch(G) : Promise.resolve();
498
498
  }
499
499
  destroy() {
500
500
  super.destroy(), this.cancel({ silent: !0 });
@@ -524,16 +524,16 @@ var Nr = class {
524
524
  return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !_r(this.state.dataUpdatedAt, e);
525
525
  }
526
526
  onFocus() {
527
- this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
527
+ this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#s?.continue();
528
528
  }
529
529
  onOnline() {
530
- this.observers.find((t) => t.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
530
+ this.observers.find((t) => t.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#s?.continue();
531
531
  }
532
532
  addObserver(e) {
533
533
  this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.#r.notify({ type: "observerAdded", query: this, observer: e }));
534
534
  }
535
535
  removeObserver(e) {
536
- this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#a && (this.#o ? this.#a.cancel({ revert: !0 }) : this.#a.cancelRetry()), this.scheduleGc()), this.#r.notify({ type: "observerRemoved", query: this, observer: e }));
536
+ this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#s && (this.#o ? this.#s.cancel({ revert: !0 }) : this.#s.cancelRetry()), this.scheduleGc()), this.#r.notify({ type: "observerRemoved", query: this, observer: e }));
537
537
  }
538
538
  getObserversCount() {
539
539
  return this.observers.length;
@@ -545,11 +545,11 @@ var Nr = class {
545
545
  if (this.state.fetchStatus !== "idle" && // If the promise in the retyer is already rejected, we have to definitely
546
546
  // re-start the fetch; there is a chance that the query is still in a
547
547
  // pending state when that happens
548
- this.#a?.status() !== "rejected") {
548
+ this.#s?.status() !== "rejected") {
549
549
  if (this.state.data !== void 0 && t?.cancelRefetch)
550
550
  this.cancel({ silent: !0 });
551
- else if (this.#a)
552
- return this.#a.continueRetry(), this.#a.promise;
551
+ else if (this.#s)
552
+ return this.#s.continueRetry(), this.#s.promise;
553
553
  }
554
554
  if (e && this.setOptions(e), !this.options.queryFn) {
555
555
  const o = this.observers.find((c) => c.options.queryFn);
@@ -566,7 +566,7 @@ var Nr = class {
566
566
  }, a = () => {
567
567
  const o = Rr(this.options, t), f = (() => {
568
568
  const d = {
569
- client: this.#s,
569
+ client: this.#a,
570
570
  queryKey: this.queryKey,
571
571
  meta: this.meta
572
572
  };
@@ -582,13 +582,13 @@ var Nr = class {
582
582
  fetchOptions: t,
583
583
  options: this.options,
584
584
  queryKey: this.queryKey,
585
- client: this.#s,
585
+ client: this.#a,
586
586
  state: this.state,
587
587
  fetchFn: a
588
588
  };
589
589
  return s(o), o;
590
590
  })();
591
- this.options.behavior?.onFetch(i, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== i.fetchOptions?.meta) && this.#n({ type: "fetch", meta: i.fetchOptions?.meta }), this.#a = Or({
591
+ this.options.behavior?.onFetch(i, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== i.fetchOptions?.meta) && this.#n({ type: "fetch", meta: i.fetchOptions?.meta }), this.#s = Or({
592
592
  initialPromise: t?.initialPromise,
593
593
  fn: i.fetchFn,
594
594
  onCancel: (o) => {
@@ -612,7 +612,7 @@ var Nr = class {
612
612
  canRun: () => !0
613
613
  });
614
614
  try {
615
- const o = await this.#a.start();
615
+ const o = await this.#s.start();
616
616
  if (o === void 0)
617
617
  throw process.env.NODE_ENV !== "production" && console.error(
618
618
  `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
@@ -625,7 +625,7 @@ var Nr = class {
625
625
  } catch (o) {
626
626
  if (o instanceof Ct) {
627
627
  if (o.silent)
628
- return this.#a.promise;
628
+ return this.#s.promise;
629
629
  if (o.revert) {
630
630
  if (this.state.data === void 0)
631
631
  throw o;
@@ -754,8 +754,8 @@ var Ws = class extends Oe {
754
754
  #e;
755
755
  #t = void 0;
756
756
  #r = void 0;
757
- #s = void 0;
758
- #a;
757
+ #a = void 0;
758
+ #s;
759
759
  #i;
760
760
  #o;
761
761
  #n;
@@ -817,10 +817,10 @@ var Ws = class extends Oe {
817
817
  }
818
818
  getOptimisticResult(e) {
819
819
  const t = this.#e.getQueryCache().build(this.#e, e), r = this.createResult(t, e);
820
- return js(this, r) && (this.#s = r, this.#i = this.options, this.#a = this.#t.state), r;
820
+ return js(this, r) && (this.#a = r, this.#i = this.options, this.#s = this.#t.state), r;
821
821
  }
822
822
  getCurrentResult() {
823
- return this.#s;
823
+ return this.#a;
824
824
  }
825
825
  trackResult(e, t) {
826
826
  return new Proxy(e, {
@@ -850,7 +850,7 @@ var Ws = class extends Oe {
850
850
  return this.#d({
851
851
  ...e,
852
852
  cancelRefetch: e.cancelRefetch ?? !0
853
- }).then(() => (this.updateResult(), this.#s));
853
+ }).then(() => (this.updateResult(), this.#a));
854
854
  }
855
855
  #d(e) {
856
856
  this.#v();
@@ -866,11 +866,11 @@ var Ws = class extends Oe {
866
866
  this.options.staleTime,
867
867
  this.#t
868
868
  );
869
- if (me || this.#s.isStale || !Tt(e))
869
+ if (me || this.#a.isStale || !Tt(e))
870
870
  return;
871
- const r = _r(this.#s.dataUpdatedAt, e) + 1;
871
+ const r = _r(this.#a.dataUpdatedAt, e) + 1;
872
872
  this.#l = fe.setTimeout(() => {
873
- this.#s.isStale || this.updateResult();
873
+ this.#a.isStale || this.updateResult();
874
874
  }, r);
875
875
  }
876
876
  #g() {
@@ -891,7 +891,7 @@ var Ws = class extends Oe {
891
891
  this.#u && (fe.clearInterval(this.#u), this.#u = void 0);
892
892
  }
893
893
  createResult(e, t) {
894
- const r = this.#t, s = this.options, a = this.#s, n = this.#a, i = this.#i, c = e !== r ? e.state : this.#r, { state: f } = e;
894
+ const r = this.#t, s = this.options, a = this.#a, n = this.#s, i = this.#i, c = e !== r ? e.state : this.#r, { state: f } = e;
895
895
  let d = { ...f }, u = !1, l;
896
896
  if (t._optimisticResults) {
897
897
  const v = this.hasListeners(), x = !v && er(e, t), _ = v && tr(e, r, t, s);
@@ -974,10 +974,10 @@ var Ws = class extends Oe {
974
974
  return C;
975
975
  }
976
976
  updateResult() {
977
- const e = this.#s, t = this.createResult(this.#t, this.options);
978
- if (this.#a = this.#t.state, this.#i = this.options, this.#a.data !== void 0 && (this.#f = this.#t), Ye(t, e))
977
+ const e = this.#a, t = this.createResult(this.#t, this.options);
978
+ if (this.#s = this.#t.state, this.#i = this.options, this.#s.data !== void 0 && (this.#f = this.#t), Ye(t, e))
979
979
  return;
980
- this.#s = t;
980
+ this.#a = t;
981
981
  const r = () => {
982
982
  if (!e)
983
983
  return !0;
@@ -987,9 +987,9 @@ var Ws = class extends Oe {
987
987
  const n = new Set(
988
988
  a ?? this.#m
989
989
  );
990
- return this.options.throwOnError && n.add("error"), Object.keys(this.#s).some((i) => {
990
+ return this.options.throwOnError && n.add("error"), Object.keys(this.#a).some((i) => {
991
991
  const o = i;
992
- return this.#s[o] !== e[o] && n.has(o);
992
+ return this.#a[o] !== e[o] && n.has(o);
993
993
  });
994
994
  };
995
995
  this.#T({ listeners: r() });
@@ -1007,7 +1007,7 @@ var Ws = class extends Oe {
1007
1007
  #T(e) {
1008
1008
  $.batch(() => {
1009
1009
  e.listeners && this.listeners.forEach((t) => {
1010
- t(this.#s);
1010
+ t(this.#a);
1011
1011
  }), this.#e.getQueryCache().notify({
1012
1012
  query: this.#t,
1013
1013
  type: "observerResultsUpdated"
@@ -1117,8 +1117,9 @@ var Js = class extends Nr {
1117
1117
  #e;
1118
1118
  #t;
1119
1119
  #r;
1120
+ #a;
1120
1121
  constructor(e) {
1121
- super(), this.mutationId = e.mutationId, this.#t = e.mutationCache, this.#e = [], this.state = e.state || $r(), this.setOptions(e.options), this.scheduleGc();
1122
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#r = e.mutationCache, this.#t = [], this.state = e.state || $r(), this.setOptions(e.options), this.scheduleGc();
1122
1123
  }
1123
1124
  setOptions(e) {
1124
1125
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -1127,34 +1128,38 @@ var Js = class extends Nr {
1127
1128
  return this.options.meta;
1128
1129
  }
1129
1130
  addObserver(e) {
1130
- this.#e.includes(e) || (this.#e.push(e), this.clearGcTimeout(), this.#t.notify({
1131
+ this.#t.includes(e) || (this.#t.push(e), this.clearGcTimeout(), this.#r.notify({
1131
1132
  type: "observerAdded",
1132
1133
  mutation: this,
1133
1134
  observer: e
1134
1135
  }));
1135
1136
  }
1136
1137
  removeObserver(e) {
1137
- this.#e = this.#e.filter((t) => t !== e), this.scheduleGc(), this.#t.notify({
1138
+ this.#t = this.#t.filter((t) => t !== e), this.scheduleGc(), this.#r.notify({
1138
1139
  type: "observerRemoved",
1139
1140
  mutation: this,
1140
1141
  observer: e
1141
1142
  });
1142
1143
  }
1143
1144
  optionalRemove() {
1144
- this.#e.length || (this.state.status === "pending" ? this.scheduleGc() : this.#t.remove(this));
1145
+ this.#t.length || (this.state.status === "pending" ? this.scheduleGc() : this.#r.remove(this));
1145
1146
  }
1146
1147
  continue() {
1147
- return this.#r?.continue() ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
1148
+ return this.#a?.continue() ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
1148
1149
  this.execute(this.state.variables);
1149
1150
  }
1150
1151
  async execute(e) {
1151
1152
  const t = () => {
1152
1153
  this.#s({ type: "continue" });
1154
+ }, r = {
1155
+ client: this.#e,
1156
+ meta: this.options.meta,
1157
+ mutationKey: this.options.mutationKey
1153
1158
  };
1154
- this.#r = Or({
1155
- fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
1156
- onFail: (a, n) => {
1157
- this.#s({ type: "failed", failureCount: a, error: n });
1159
+ this.#a = Or({
1160
+ fn: () => this.options.mutationFn ? this.options.mutationFn(e, r) : Promise.reject(new Error("No mutationFn found")),
1161
+ onFail: (n, i) => {
1162
+ this.#s({ type: "failed", failureCount: n, error: i });
1158
1163
  },
1159
1164
  onPause: () => {
1160
1165
  this.#s({ type: "pause" });
@@ -1163,66 +1168,87 @@ var Js = class extends Nr {
1163
1168
  retry: this.options.retry ?? 0,
1164
1169
  retryDelay: this.options.retryDelay,
1165
1170
  networkMode: this.options.networkMode,
1166
- canRun: () => this.#t.canRun(this)
1171
+ canRun: () => this.#r.canRun(this)
1167
1172
  });
1168
- const r = this.state.status === "pending", s = !this.#r.canStart();
1173
+ const s = this.state.status === "pending", a = !this.#a.canStart();
1169
1174
  try {
1170
- if (r)
1175
+ if (s)
1171
1176
  t();
1172
1177
  else {
1173
- this.#s({ type: "pending", variables: e, isPaused: s }), await this.#t.config.onMutate?.(
1178
+ this.#s({ type: "pending", variables: e, isPaused: a }), await this.#r.config.onMutate?.(
1174
1179
  e,
1175
- this
1180
+ this,
1181
+ r
1176
1182
  );
1177
- const n = await this.options.onMutate?.(e);
1178
- n !== this.state.context && this.#s({
1183
+ const i = await this.options.onMutate?.(
1184
+ e,
1185
+ r
1186
+ );
1187
+ i !== this.state.context && this.#s({
1179
1188
  type: "pending",
1180
- context: n,
1189
+ context: i,
1181
1190
  variables: e,
1182
- isPaused: s
1191
+ isPaused: a
1183
1192
  });
1184
1193
  }
1185
- const a = await this.#r.start();
1186
- return await this.#t.config.onSuccess?.(
1187
- a,
1194
+ const n = await this.#a.start();
1195
+ return await this.#r.config.onSuccess?.(
1196
+ n,
1188
1197
  e,
1189
1198
  this.state.context,
1190
- this
1191
- ), await this.options.onSuccess?.(a, e, this.state.context), await this.#t.config.onSettled?.(
1192
- a,
1199
+ this,
1200
+ r
1201
+ ), await this.options.onSuccess?.(
1202
+ n,
1203
+ e,
1204
+ this.state.context,
1205
+ r
1206
+ ), await this.#r.config.onSettled?.(
1207
+ n,
1193
1208
  null,
1194
1209
  this.state.variables,
1195
1210
  this.state.context,
1196
- this
1197
- ), await this.options.onSettled?.(a, null, e, this.state.context), this.#s({ type: "success", data: a }), a;
1198
- } catch (a) {
1211
+ this,
1212
+ r
1213
+ ), await this.options.onSettled?.(
1214
+ n,
1215
+ null,
1216
+ e,
1217
+ this.state.context,
1218
+ r
1219
+ ), this.#s({ type: "success", data: n }), n;
1220
+ } catch (n) {
1199
1221
  try {
1200
- throw await this.#t.config.onError?.(
1201
- a,
1222
+ throw await this.#r.config.onError?.(
1223
+ n,
1202
1224
  e,
1203
1225
  this.state.context,
1204
- this
1226
+ this,
1227
+ r
1205
1228
  ), await this.options.onError?.(
1206
- a,
1229
+ n,
1207
1230
  e,
1208
- this.state.context
1209
- ), await this.#t.config.onSettled?.(
1231
+ this.state.context,
1232
+ r
1233
+ ), await this.#r.config.onSettled?.(
1210
1234
  void 0,
1211
- a,
1235
+ n,
1212
1236
  this.state.variables,
1213
1237
  this.state.context,
1214
- this
1238
+ this,
1239
+ r
1215
1240
  ), await this.options.onSettled?.(
1216
1241
  void 0,
1217
- a,
1242
+ n,
1218
1243
  e,
1219
- this.state.context
1220
- ), a;
1244
+ this.state.context,
1245
+ r
1246
+ ), n;
1221
1247
  } finally {
1222
- this.#s({ type: "error", error: a });
1248
+ this.#s({ type: "error", error: n });
1223
1249
  }
1224
1250
  } finally {
1225
- this.#t.runNext(this);
1251
+ this.#r.runNext(this);
1226
1252
  }
1227
1253
  }
1228
1254
  #s(e) {
@@ -1280,9 +1306,9 @@ var Js = class extends Nr {
1280
1306
  }
1281
1307
  };
1282
1308
  this.state = t(this.state), $.batch(() => {
1283
- this.#e.forEach((r) => {
1309
+ this.#t.forEach((r) => {
1284
1310
  r.onMutationUpdate(e);
1285
- }), this.#t.notify({
1311
+ }), this.#r.notify({
1286
1312
  mutation: this,
1287
1313
  type: "updated",
1288
1314
  action: e
@@ -1312,6 +1338,7 @@ var Qs = class extends Oe {
1312
1338
  #r;
1313
1339
  build(e, t, r) {
1314
1340
  const s = new Js({
1341
+ client: e,
1315
1342
  mutationCache: this,
1316
1343
  mutationId: ++this.#r,
1317
1344
  options: e.defaultMutationOptions(t),
@@ -1398,9 +1425,9 @@ var Ys = class extends Oe {
1398
1425
  #e;
1399
1426
  #t = void 0;
1400
1427
  #r;
1401
- #s;
1428
+ #a;
1402
1429
  constructor(e, t) {
1403
- super(), this.#e = e, this.setOptions(t), this.bindMethods(), this.#a();
1430
+ super(), this.#e = e, this.setOptions(t), this.bindMethods(), this.#s();
1404
1431
  }
1405
1432
  bindMethods() {
1406
1433
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -1417,18 +1444,18 @@ var Ys = class extends Oe {
1417
1444
  this.hasListeners() || this.#r?.removeObserver(this);
1418
1445
  }
1419
1446
  onMutationUpdate(e) {
1420
- this.#a(), this.#i(e);
1447
+ this.#s(), this.#i(e);
1421
1448
  }
1422
1449
  getCurrentResult() {
1423
1450
  return this.#t;
1424
1451
  }
1425
1452
  reset() {
1426
- this.#r?.removeObserver(this), this.#r = void 0, this.#a(), this.#i();
1453
+ this.#r?.removeObserver(this), this.#r = void 0, this.#s(), this.#i();
1427
1454
  }
1428
1455
  mutate(e, t) {
1429
- return this.#s = t, this.#r?.removeObserver(this), this.#r = this.#e.getMutationCache().build(this.#e, this.options), this.#r.addObserver(this), this.#r.execute(e);
1456
+ return this.#a = t, this.#r?.removeObserver(this), this.#r = this.#e.getMutationCache().build(this.#e, this.options), this.#r.addObserver(this), this.#r.execute(e);
1430
1457
  }
1431
- #a() {
1458
+ #s() {
1432
1459
  const e = this.#r?.state ?? $r();
1433
1460
  this.#t = {
1434
1461
  ...e,
@@ -1442,13 +1469,34 @@ var Ys = class extends Oe {
1442
1469
  }
1443
1470
  #i(e) {
1444
1471
  $.batch(() => {
1445
- if (this.#s && this.hasListeners()) {
1446
- const t = this.#t.variables, r = this.#t.context;
1447
- e?.type === "success" ? (this.#s.onSuccess?.(e.data, t, r), this.#s.onSettled?.(e.data, null, t, r)) : e?.type === "error" && (this.#s.onError?.(e.error, t, r), this.#s.onSettled?.(
1472
+ if (this.#a && this.hasListeners()) {
1473
+ const t = this.#t.variables, r = this.#t.context, s = {
1474
+ client: this.#e,
1475
+ meta: this.options.meta,
1476
+ mutationKey: this.options.mutationKey
1477
+ };
1478
+ e?.type === "success" ? (this.#a.onSuccess?.(
1479
+ e.data,
1480
+ t,
1481
+ r,
1482
+ s
1483
+ ), this.#a.onSettled?.(
1484
+ e.data,
1485
+ null,
1486
+ t,
1487
+ r,
1488
+ s
1489
+ )) : e?.type === "error" && (this.#a.onError?.(
1490
+ e.error,
1491
+ t,
1492
+ r,
1493
+ s
1494
+ ), this.#a.onSettled?.(
1448
1495
  void 0,
1449
1496
  e.error,
1450
1497
  t,
1451
- r
1498
+ r,
1499
+ s
1452
1500
  ));
1453
1501
  }
1454
1502
  this.listeners.forEach((t) => {
@@ -1531,13 +1579,13 @@ var Ys = class extends Oe {
1531
1579
  #e;
1532
1580
  #t;
1533
1581
  #r;
1534
- #s;
1535
1582
  #a;
1583
+ #s;
1536
1584
  #i;
1537
1585
  #o;
1538
1586
  #n;
1539
1587
  constructor(e = {}) {
1540
- this.#e = e.queryCache || new zs(), this.#t = e.mutationCache || new Qs(), this.#r = e.defaultOptions || {}, this.#s = /* @__PURE__ */ new Map(), this.#a = /* @__PURE__ */ new Map(), this.#i = 0;
1588
+ this.#e = e.queryCache || new zs(), this.#t = e.mutationCache || new Qs(), this.#r = e.defaultOptions || {}, this.#a = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#i = 0;
1541
1589
  }
1542
1590
  mount() {
1543
1591
  this.#i++, this.#i === 1 && (this.#o = Mt.subscribe(async (e) => {
@@ -1682,25 +1730,25 @@ var Ys = class extends Oe {
1682
1730
  this.#r = e;
1683
1731
  }
1684
1732
  setQueryDefaults(e, t) {
1685
- this.#s.set(pe(e), {
1733
+ this.#a.set(pe(e), {
1686
1734
  queryKey: e,
1687
1735
  defaultOptions: t
1688
1736
  });
1689
1737
  }
1690
1738
  getQueryDefaults(e) {
1691
- const t = [...this.#s.values()], r = {};
1739
+ const t = [...this.#a.values()], r = {};
1692
1740
  return t.forEach((s) => {
1693
1741
  xe(e, s.queryKey) && Object.assign(r, s.defaultOptions);
1694
1742
  }), r;
1695
1743
  }
1696
1744
  setMutationDefaults(e, t) {
1697
- this.#a.set(pe(e), {
1745
+ this.#s.set(pe(e), {
1698
1746
  mutationKey: e,
1699
1747
  defaultOptions: t
1700
1748
  });
1701
1749
  }
1702
1750
  getMutationDefaults(e) {
1703
- const t = [...this.#a.values()], r = {};
1751
+ const t = [...this.#s.values()], r = {};
1704
1752
  return t.forEach((s) => {
1705
1753
  xe(e, s.mutationKey) && Object.assign(r, s.defaultOptions);
1706
1754
  }), r;
@@ -4795,7 +4843,7 @@ function gi(e, t) {
4795
4843
  }
4796
4844
  }, o = hi(e), c = BigInt(o.days);
4797
4845
  if (t.hideYearAndDays ? i(BigInt(c) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? i(c, "day", "d") : (i(c / 365n, "year", "y"), i(c % 365n, "day", "d")), i(Number(o.hours), "hour", "h")), i(Number(o.minutes), "minute", "m"), !t.hideSeconds)
4798
- if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
4846
+ if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3 && !t.subSecondsAsDecimals) {
4799
4847
  const d = Number(o.seconds), u = Number(o.milliseconds), l = Number(o.microseconds), m = Number(o.nanoseconds);
4800
4848
  if (i(d, "second", "s"), t.formatSubMilliseconds)
4801
4849
  i(u, "millisecond", "ms"), i(l, "microsecond", "µs"), i(m, "nanosecond", "ns");
@@ -6688,7 +6736,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
6688
6736
  ] });
6689
6737
  }, ko = new URL(document.location.href).searchParams, vr = !!ko.get("debug") || !1, Oo = ks(() => import(
6690
6738
  /* webpackChunkName: "LazyApp" */
6691
- "./App.DT84WhDa.js"
6739
+ "./App.DoxMMPMa.js"
6692
6740
  ).then((e) => e.App)), No = new Xs(), Tr = ({
6693
6741
  isComponent: e,
6694
6742
  headerHeight: t
@@ -1,5 +1,5 @@
1
- import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.CoBS9HcY.js";
2
- import { toText as Ca } from "./index.DOohK2Jv.js";
1
+ import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.D9B4zdoP.js";
2
+ import { toText as Ca } from "./index.BRCh7mJX.js";
3
3
  const Gt = /[#.]/g;
4
4
  function qa(r, e) {
5
5
  const t = r || "", a = {};
@@ -1,8 +1,8 @@
1
1
  import * as rn from "react/jsx-runtime";
2
2
  import { jsx as se, jsxs as Pn } from "react/jsx-runtime";
3
- import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index.4HYk3k3m.js";
3
+ import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index.Dt5ywYi4.js";
4
4
  import zr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
5
- import { getDefaultExportFromCjs as Nt } from "./App.DT84WhDa.js";
5
+ import { getDefaultExportFromCjs as Nt } from "./App.DoxMMPMa.js";
6
6
  import Lr from "clsx";
7
7
  const Rt = ({
8
8
  children: e,
@@ -6900,7 +6900,7 @@ class uu {
6900
6900
  if (!this.remarkGfm) {
6901
6901
  const { default: n } = await import(
6902
6902
  /* webpackChunkName: "md-remark" */
6903
- "./index.CDCubG_8.js"
6903
+ "./index.DsghjowF.js"
6904
6904
  );
6905
6905
  this.remarkGfm = n;
6906
6906
  }
@@ -6911,7 +6911,7 @@ class uu {
6911
6911
  hu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6912
6912
  const { default: n } = await import(
6913
6913
  /* webpackChunkName: "md-rehype-katex" */
6914
- "./index.79XJjKxS.js"
6914
+ "./index.OmmNmzPM.js"
6915
6915
  );
6916
6916
  this.rehypeKatex = n;
6917
6917
  }
@@ -6921,7 +6921,7 @@ class uu {
6921
6921
  if (!this.remarkMath) {
6922
6922
  const { default: n } = await import(
6923
6923
  /* webpackChunkName: "md-remark" */
6924
- "./index.DpKYAotX.js"
6924
+ "./index.C8xAPtuY.js"
6925
6925
  );
6926
6926
  this.remarkMath = n;
6927
6927
  }
@@ -6931,7 +6931,7 @@ class uu {
6931
6931
  if (!this.rehypeHighlight) {
6932
6932
  const { default: n } = await import(
6933
6933
  /* webpackChunkName: "md-rehype-highlight" */
6934
- "./index.Bl5ttGkN.js"
6934
+ "./index.ClaYzv3f.js"
6935
6935
  );
6936
6936
  this.rehypeHighlight = n;
6937
6937
  }
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.4HYk3k3m.js";
2
+ import { SassySaint as a } from "../../chunks/index.Dt5ywYi4.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.4HYk3k3m.js";
1
+ import { SassySaint as r } from "./chunks/index.Dt5ywYi4.js";
2
2
  /*!
3
- @sassysaint/client v8.51.6
3
+ @sassysaint/client v8.51.8
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.51.6",
9
- buildTime: "09/20/2025 08:25 AM EDT",
8
+ version: "8.51.8",
9
+ buildTime: "09/20/2025 11:04 AM EDT",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "8.51.6",
3
+ "version": "8.51.8",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -33,7 +33,7 @@
33
33
  "react-dom": "^18.3.1 || ^19.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@sassysaint/client": "8.51.6",
36
+ "@sassysaint/client": "8.51.8",
37
37
  "@tailwindcss/vite": "4.1.13",
38
38
  "@versini/ui-styles": "6.0.3"
39
39
  },
@@ -45,5 +45,5 @@
45
45
  "sideEffects": [
46
46
  "**/*.css"
47
47
  ],
48
- "gitHead": "12dd67512c909801eeb346c6ee0aca86a6358d84"
48
+ "gitHead": "e71786282558863886eb1da84c004b0416126723"
49
49
  }