hanap-labs 4.1.1 → 4.2.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.
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, o as n, s as r } from "./usePopup-BdVwAd1y.js";
1
+ import { a as e, i as t, o as n, s as r } from "./usePopup-5KO7GsFF.js";
2
2
  import * as i from "vue";
3
3
  import { computed as a, onMounted as o, onUnmounted as s, reactive as c, ref as l, unref as u, watch as d } from "vue";
4
4
  //#region src/composables/ui/useTheme.ts
@@ -53,7 +53,10 @@ function E() {
53
53
  function D() {
54
54
  y.value === "system" && C("system");
55
55
  }
56
- function O(e = {}) {
56
+ function O() {
57
+ _ !== null && v !== null && (_.removeEventListener("change", v), _ = null, v = null), h = !1;
58
+ }
59
+ function k(e = {}) {
57
60
  if (h) return;
58
61
  g = e;
59
62
  let { defaultMode: t = m } = e;
@@ -61,14 +64,14 @@ function O(e = {}) {
61
64
  C(e);
62
65
  }), h = !0;
63
66
  }
64
- var k = a(() => y.value === "system" ? S() === "dark" : y.value === "dark"), ee = a(() => !k.value);
65
- function te(e = {}) {
67
+ var ee = a(() => y.value === "system" ? S() === "dark" : y.value === "dark"), te = a(() => !ee.value);
68
+ function ne(e = {}) {
66
69
  return o(() => {
67
- O(e);
68
- }), s(() => {}), {
70
+ k(e);
71
+ }), s(O), {
69
72
  mode: y,
70
- isDark: k,
71
- isLight: ee,
73
+ isDark: ee,
74
+ isLight: te,
72
75
  toggle: E,
73
76
  setMode: T
74
77
  };
@@ -89,7 +92,7 @@ var A = class {
89
92
  }
90
93
  onSubscribe() {}
91
94
  onUnsubscribe() {}
92
- }, ne = new class extends A {
95
+ }, re = new class extends A {
93
96
  #e;
94
97
  #t;
95
98
  #n;
@@ -126,13 +129,13 @@ var A = class {
126
129
  isFocused() {
127
130
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
128
131
  }
129
- }(), re = {
132
+ }(), ie = {
130
133
  setTimeout: (e, t) => setTimeout(e, t),
131
134
  clearTimeout: (e) => clearTimeout(e),
132
135
  setInterval: (e, t) => setInterval(e, t),
133
136
  clearInterval: (e) => clearInterval(e)
134
137
  }, j = new class {
135
- #e = re;
138
+ #e = ie;
136
139
  #t = !1;
137
140
  setTimeoutProvider(e) {
138
141
  process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
@@ -153,20 +156,20 @@ var A = class {
153
156
  this.#e.clearInterval(e);
154
157
  }
155
158
  }();
156
- function ie(e) {
159
+ function ae(e) {
157
160
  setTimeout(e, 0);
158
161
  }
159
162
  //#endregion
160
163
  //#region node_modules/@tanstack/query-core/build/modern/utils.js
161
- var ae = typeof window > "u" || "Deno" in globalThis;
164
+ var oe = typeof window > "u" || "Deno" in globalThis;
162
165
  function M() {}
163
- function oe(e, t) {
166
+ function se(e, t) {
164
167
  return typeof e == "function" ? e(t) : e;
165
168
  }
166
- function se(e) {
169
+ function ce(e) {
167
170
  return typeof e == "number" && e >= 0 && e !== Infinity;
168
171
  }
169
- function ce(e, t) {
172
+ function le(e, t) {
170
173
  return Math.max(e + (t || 0) - Date.now(), 0);
171
174
  }
172
175
  function N(e, t) {
@@ -175,11 +178,11 @@ function N(e, t) {
175
178
  function P(e, t) {
176
179
  return typeof e == "function" ? e(t) : e;
177
180
  }
178
- function le(e, t) {
181
+ function ue(e, t) {
179
182
  let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
180
183
  if (o) {
181
184
  if (r) {
182
- if (t.queryHash !== de(o, t.options)) return !1;
185
+ if (t.queryHash !== fe(o, t.options)) return !1;
183
186
  } else if (!I(t.queryKey, o)) return !1;
184
187
  }
185
188
  if (n !== "all") {
@@ -188,7 +191,7 @@ function le(e, t) {
188
191
  }
189
192
  return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
190
193
  }
191
- function ue(e, t) {
194
+ function de(e, t) {
192
195
  let { exact: n, status: r, predicate: i, mutationKey: a } = e;
193
196
  if (a) {
194
197
  if (!t.options.mutationKey) return !1;
@@ -198,33 +201,33 @@ function ue(e, t) {
198
201
  }
199
202
  return !(r && t.state.status !== r || i && !i(t));
200
203
  }
201
- function de(e, t) {
204
+ function fe(e, t) {
202
205
  return (t?.queryKeyHashFn || F)(e);
203
206
  }
204
207
  function F(e) {
205
- return JSON.stringify(e, (e, t) => he(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
208
+ return JSON.stringify(e, (e, t) => ge(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
206
209
  }
207
210
  function I(e, t) {
208
211
  return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => I(e[n], t[n])) : !1;
209
212
  }
210
- var fe = Object.prototype.hasOwnProperty;
211
- function pe(e, t, n = 0) {
213
+ var pe = Object.prototype.hasOwnProperty;
214
+ function me(e, t, n = 0) {
212
215
  if (e === t) return e;
213
216
  if (n > 500) return t;
214
- let r = me(e) && me(t);
215
- if (!r && !(he(e) && he(t))) return t;
217
+ let r = he(e) && he(t);
218
+ if (!r && !(ge(e) && ge(t))) return t;
216
219
  let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
217
220
  for (let l = 0; l < o; l++) {
218
221
  let o = r ? l : a[l], u = e[o], d = t[o];
219
222
  if (u === d) {
220
- s[o] = u, (r ? l < i : fe.call(e, o)) && c++;
223
+ s[o] = u, (r ? l < i : pe.call(e, o)) && c++;
221
224
  continue;
222
225
  }
223
226
  if (u === null || d === null || typeof u != "object" || typeof d != "object") {
224
227
  s[o] = d;
225
228
  continue;
226
229
  }
227
- let f = pe(u, d, n + 1);
230
+ let f = me(u, d, n + 1);
228
231
  s[o] = f, f === u && c++;
229
232
  }
230
233
  return i === o && c === i ? e : s;
@@ -234,52 +237,52 @@ function L(e, t) {
234
237
  for (let n in e) if (e[n] !== t[n]) return !1;
235
238
  return !0;
236
239
  }
237
- function me(e) {
240
+ function he(e) {
238
241
  return Array.isArray(e) && e.length === Object.keys(e).length;
239
242
  }
240
- function he(e) {
241
- if (!ge(e)) return !1;
243
+ function ge(e) {
244
+ if (!_e(e)) return !1;
242
245
  let t = e.constructor;
243
246
  if (t === void 0) return !0;
244
247
  let n = t.prototype;
245
- return !(!ge(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
248
+ return !(!_e(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
246
249
  }
247
- function ge(e) {
250
+ function _e(e) {
248
251
  return Object.prototype.toString.call(e) === "[object Object]";
249
252
  }
250
- function _e(e) {
253
+ function ve(e) {
251
254
  return new Promise((t) => {
252
255
  j.setTimeout(t, e);
253
256
  });
254
257
  }
255
- function ve(e, t, n) {
258
+ function ye(e, t, n) {
256
259
  if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
257
260
  if (n.structuralSharing !== !1) {
258
261
  if (process.env.NODE_ENV !== "production") try {
259
- return pe(e, t);
262
+ return me(e, t);
260
263
  } catch (e) {
261
264
  throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
262
265
  }
263
- return pe(e, t);
266
+ return me(e, t);
264
267
  }
265
268
  return t;
266
269
  }
267
- function ye(e, t, n = 0) {
270
+ function be(e, t, n = 0) {
268
271
  let r = [...e, t];
269
272
  return n && r.length > n ? r.slice(1) : r;
270
273
  }
271
- function be(e, t, n = 0) {
274
+ function xe(e, t, n = 0) {
272
275
  let r = [t, ...e];
273
276
  return n && r.length > n ? r.slice(0, -1) : r;
274
277
  }
275
- var xe = /* @__PURE__ */ Symbol();
276
- function Se(e, t) {
277
- return process.env.NODE_ENV !== "production" && e.queryFn === xe && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === xe ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
278
- }
278
+ var Se = /* @__PURE__ */ Symbol();
279
279
  function Ce(e, t) {
280
+ return process.env.NODE_ENV !== "production" && e.queryFn === Se && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === Se ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
281
+ }
282
+ function we(e, t) {
280
283
  return typeof e == "function" ? e(...t) : !!e;
281
284
  }
282
- function we(e, t, n) {
285
+ function Te(e, t, n) {
283
286
  let r = !1, i;
284
287
  return Object.defineProperty(e, "signal", {
285
288
  enumerable: !0,
@@ -289,7 +292,7 @@ function we(e, t, n) {
289
292
  //#endregion
290
293
  //#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
291
294
  var R = /* @__PURE__ */ (() => {
292
- let e = () => ae;
295
+ let e = () => oe;
293
296
  return {
294
297
  isServer() {
295
298
  return e();
@@ -301,7 +304,7 @@ var R = /* @__PURE__ */ (() => {
301
304
  })();
302
305
  //#endregion
303
306
  //#region node_modules/@tanstack/query-core/build/modern/thenable.js
304
- function Te() {
307
+ function Ee() {
305
308
  let e, t, n = new Promise((n, r) => {
306
309
  e = n, t = r;
307
310
  });
@@ -323,13 +326,13 @@ function Te() {
323
326
  }
324
327
  //#endregion
325
328
  //#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
326
- var Ee = ie;
327
- function De() {
329
+ var De = ae;
330
+ function Oe() {
328
331
  let e = [], t = 0, n = (e) => {
329
332
  e();
330
333
  }, r = (e) => {
331
334
  e();
332
- }, i = Ee, a = (r) => {
335
+ }, i = De, a = (r) => {
333
336
  t ? e.push(r) : i(() => {
334
337
  n(r);
335
338
  });
@@ -371,7 +374,7 @@ function De() {
371
374
  }
372
375
  };
373
376
  }
374
- var z = De(), B = new class extends A {
377
+ var z = Oe(), B = new class extends A {
375
378
  #e = !0;
376
379
  #t;
377
380
  #n;
@@ -405,28 +408,28 @@ var z = De(), B = new class extends A {
405
408
  }();
406
409
  //#endregion
407
410
  //#region node_modules/@tanstack/query-core/build/modern/retryer.js
408
- function Oe(e) {
411
+ function ke(e) {
409
412
  return Math.min(1e3 * 2 ** e, 3e4);
410
413
  }
411
- function ke(e) {
414
+ function Ae(e) {
412
415
  return (e ?? "online") === "online" ? B.isOnline() : !0;
413
416
  }
414
- var Ae = class extends Error {
417
+ var je = class extends Error {
415
418
  constructor(e) {
416
419
  super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
417
420
  }
418
421
  };
419
- function je(e) {
420
- let t = !1, n = 0, r, i = Te(), a = () => i.status !== "pending", o = (t) => {
422
+ function Me(e) {
423
+ let t = !1, n = 0, r, i = Ee(), a = () => i.status !== "pending", o = (t) => {
421
424
  if (!a()) {
422
- let n = new Ae(t);
425
+ let n = new je(t);
423
426
  f(n), e.onCancel?.(n);
424
427
  }
425
428
  }, s = () => {
426
429
  t = !0;
427
430
  }, c = () => {
428
431
  t = !1;
429
- }, l = () => ne.isFocused() && (e.networkMode === "always" || B.isOnline()) && e.canRun(), u = () => ke(e.networkMode) && e.canRun(), d = (e) => {
432
+ }, l = () => re.isFocused() && (e.networkMode === "always" || B.isOnline()) && e.canRun(), u = () => Ae(e.networkMode) && e.canRun(), d = (e) => {
430
433
  a() || (r?.(), i.resolve(e));
431
434
  }, f = (e) => {
432
435
  a() || (r?.(), i.reject(e));
@@ -446,12 +449,12 @@ function je(e) {
446
449
  }
447
450
  Promise.resolve(r).then(d).catch((r) => {
448
451
  if (a()) return;
449
- let i = e.retry ?? (R.isServer() ? 0 : 3), o = e.retryDelay ?? Oe, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
452
+ let i = e.retry ?? (R.isServer() ? 0 : 3), o = e.retryDelay ?? ke, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
450
453
  if (t || !c) {
451
454
  f(r);
452
455
  return;
453
456
  }
454
- n++, e.onFail?.(n, r), _e(s).then(() => l() ? void 0 : p()).then(() => {
457
+ n++, e.onFail?.(n, r), ve(s).then(() => l() ? void 0 : p()).then(() => {
455
458
  t ? f(r) : m();
456
459
  });
457
460
  });
@@ -469,13 +472,13 @@ function je(e) {
469
472
  }
470
473
  //#endregion
471
474
  //#region node_modules/@tanstack/query-core/build/modern/removable.js
472
- var Me = class {
475
+ var Ne = class {
473
476
  #e;
474
477
  destroy() {
475
478
  this.clearGcTimeout();
476
479
  }
477
480
  scheduleGc() {
478
- this.clearGcTimeout(), se(this.gcTime) && (this.#e = j.setTimeout(() => {
481
+ this.clearGcTimeout(), ce(this.gcTime) && (this.#e = j.setTimeout(() => {
479
482
  this.optionalRemove();
480
483
  }, this.gcTime));
481
484
  }
@@ -488,15 +491,15 @@ var Me = class {
488
491
  };
489
492
  //#endregion
490
493
  //#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
491
- function Ne(e) {
494
+ function Pe(e) {
492
495
  return { onFetch: (t, n) => {
493
496
  let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
494
497
  pages: [],
495
498
  pageParams: []
496
499
  }, c = 0, l = async () => {
497
500
  let n = !1, l = (e) => {
498
- we(e, () => t.signal, () => n = !0);
499
- }, u = Se(t.options, t.fetchOptions), d = async (e, r, i) => {
501
+ Te(e, () => t.signal, () => n = !0);
502
+ }, u = Ce(t.options, t.fetchOptions), d = async (e, r, i) => {
500
503
  if (n) return Promise.reject(t.signal.reason);
501
504
  if (r == null && e.pages.length) return Promise.resolve(e);
502
505
  let a = await u((() => {
@@ -508,14 +511,14 @@ function Ne(e) {
508
511
  meta: t.options.meta
509
512
  };
510
513
  return l(e), e;
511
- })()), { maxPages: o } = t.options, s = i ? be : ye;
514
+ })()), { maxPages: o } = t.options, s = i ? xe : be;
512
515
  return {
513
516
  pages: s(e.pages, a, o),
514
517
  pageParams: s(e.pageParams, r, o)
515
518
  };
516
519
  };
517
520
  if (i && a.length) {
518
- let e = i === "backward", t = e ? Fe : Pe, n = {
521
+ let e = i === "backward", t = e ? Ie : Fe, n = {
519
522
  pages: a,
520
523
  pageParams: o
521
524
  };
@@ -523,7 +526,7 @@ function Ne(e) {
523
526
  } else {
524
527
  let t = e ?? a.length;
525
528
  do {
526
- let e = c === 0 ? o[0] ?? r.initialPageParam : Pe(r, s);
529
+ let e = c === 0 ? o[0] ?? r.initialPageParam : Fe(r, s);
527
530
  if (c > 0 && e == null) break;
528
531
  s = await d(s, e), c++;
529
532
  } while (c < t);
@@ -538,16 +541,16 @@ function Ne(e) {
538
541
  }, n) : t.fetchFn = l;
539
542
  } };
540
543
  }
541
- function Pe(e, { pages: t, pageParams: n }) {
544
+ function Fe(e, { pages: t, pageParams: n }) {
542
545
  let r = t.length - 1;
543
546
  return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
544
547
  }
545
- function Fe(e, { pages: t, pageParams: n }) {
548
+ function Ie(e, { pages: t, pageParams: n }) {
546
549
  return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
547
550
  }
548
551
  //#endregion
549
552
  //#region node_modules/@tanstack/query-core/build/modern/query.js
550
- var Ie = class extends Me {
553
+ var Le = class extends Ne {
551
554
  #e;
552
555
  #t;
553
556
  #n;
@@ -557,7 +560,7 @@ var Ie = class extends Me {
557
560
  #o;
558
561
  #s;
559
562
  constructor(e) {
560
- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = ze(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
563
+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Be(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
561
564
  }
562
565
  get meta() {
563
566
  return this.options.meta;
@@ -573,15 +576,15 @@ var Ie = class extends Me {
573
576
  ...this.#o,
574
577
  ...e
575
578
  }, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
576
- let e = ze(this.options);
577
- e.data !== void 0 && (this.setState(Re(e.data, e.dataUpdatedAt)), this.#t = e);
579
+ let e = Be(this.options);
580
+ e.data !== void 0 && (this.setState(ze(e.data, e.dataUpdatedAt)), this.#t = e);
578
581
  }
579
582
  }
580
583
  optionalRemove() {
581
584
  !this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
582
585
  }
583
586
  setData(e, t) {
584
- let n = ve(this.state.data, e, this.options);
587
+ let n = ye(this.state.data, e, this.options);
585
588
  return this.#l({
586
589
  data: n,
587
590
  type: "success",
@@ -612,7 +615,7 @@ var Ie = class extends Me {
612
615
  return this.observers.some((e) => P(e.options.enabled, this) !== !1);
613
616
  }
614
617
  isDisabled() {
615
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === xe || !this.isFetched();
618
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Se || !this.isFetched();
616
619
  }
617
620
  isFetched() {
618
621
  return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
@@ -624,7 +627,7 @@ var Ie = class extends Me {
624
627
  return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
625
628
  }
626
629
  isStaleByTime(e = 0) {
627
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ce(this.state.dataUpdatedAt, e);
630
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !le(this.state.dataUpdatedAt, e);
628
631
  }
629
632
  onFocus() {
630
633
  this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
@@ -671,7 +674,7 @@ var Ie = class extends Me {
671
674
  get: () => (this.#s = !0, n.signal)
672
675
  });
673
676
  }, i = () => {
674
- let e = Se(this.options, t), n = (() => {
677
+ let e = Ce(this.options, t), n = (() => {
675
678
  let e = {
676
679
  client: this.#i,
677
680
  queryKey: this.queryKey,
@@ -691,14 +694,14 @@ var Ie = class extends Me {
691
694
  };
692
695
  return r(e), e;
693
696
  })();
694
- (this.#e === "infinite" ? Ne(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#l({
697
+ (this.#e === "infinite" ? Pe(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#l({
695
698
  type: "fetch",
696
699
  meta: a.fetchOptions?.meta
697
- }), this.#a = je({
700
+ }), this.#a = Me({
698
701
  initialPromise: t?.initialPromise,
699
702
  fn: a.fetchFn,
700
703
  onCancel: (e) => {
701
- e instanceof Ae && e.revert && this.setState({
704
+ e instanceof je && e.revert && this.setState({
702
705
  ...this.#n,
703
706
  fetchStatus: "idle"
704
707
  }), n.abort();
@@ -726,7 +729,7 @@ var Ie = class extends Me {
726
729
  if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
727
730
  return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
728
731
  } catch (e) {
729
- if (e instanceof Ae) {
732
+ if (e instanceof je) {
730
733
  if (e.silent) return this.#a.promise;
731
734
  if (e.revert) {
732
735
  if (this.state.data === void 0) throw e;
@@ -759,13 +762,13 @@ var Ie = class extends Me {
759
762
  };
760
763
  case "fetch": return {
761
764
  ...t,
762
- ...Le(t.data, this.options),
765
+ ...Re(t.data, this.options),
763
766
  fetchMeta: e.meta ?? null
764
767
  };
765
768
  case "success":
766
769
  let n = {
767
770
  ...t,
768
- ...Re(e.data, e.dataUpdatedAt),
771
+ ...ze(e.data, e.dataUpdatedAt),
769
772
  dataUpdateCount: t.dataUpdateCount + 1,
770
773
  ...!e.manual && {
771
774
  fetchStatus: "idle",
@@ -808,18 +811,18 @@ var Ie = class extends Me {
808
811
  });
809
812
  }
810
813
  };
811
- function Le(e, t) {
814
+ function Re(e, t) {
812
815
  return {
813
816
  fetchFailureCount: 0,
814
817
  fetchFailureReason: null,
815
- fetchStatus: ke(t.networkMode) ? "fetching" : "paused",
818
+ fetchStatus: Ae(t.networkMode) ? "fetching" : "paused",
816
819
  ...e === void 0 && {
817
820
  error: null,
818
821
  status: "pending"
819
822
  }
820
823
  };
821
824
  }
822
- function Re(e, t) {
825
+ function ze(e, t) {
823
826
  return {
824
827
  data: e,
825
828
  dataUpdatedAt: t ?? Date.now(),
@@ -828,7 +831,7 @@ function Re(e, t) {
828
831
  status: "success"
829
832
  };
830
833
  }
831
- function ze(e) {
834
+ function Be(e) {
832
835
  let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
833
836
  return {
834
837
  data: t,
@@ -847,9 +850,9 @@ function ze(e) {
847
850
  }
848
851
  //#endregion
849
852
  //#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
850
- var Be = class extends A {
853
+ var Ve = class extends A {
851
854
  constructor(e, t) {
852
- super(), this.options = t, this.#e = e, this.#s = null, this.#o = Te(), this.bindMethods(), this.setOptions(t);
855
+ super(), this.options = t, this.#e = e, this.#s = null, this.#o = Ee(), this.bindMethods(), this.setOptions(t);
853
856
  }
854
857
  #e;
855
858
  #t = void 0;
@@ -870,16 +873,16 @@ var Be = class extends A {
870
873
  this.refetch = this.refetch.bind(this);
871
874
  }
872
875
  onSubscribe() {
873
- this.listeners.size === 1 && (this.#t.addObserver(this), He(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
876
+ this.listeners.size === 1 && (this.#t.addObserver(this), Ue(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
874
877
  }
875
878
  onUnsubscribe() {
876
879
  this.hasListeners() || this.destroy();
877
880
  }
878
881
  shouldFetchOnReconnect() {
879
- return Ue(this.#t, this.options, this.options.refetchOnReconnect);
882
+ return We(this.#t, this.options, this.options.refetchOnReconnect);
880
883
  }
881
884
  shouldFetchOnWindowFocus() {
882
- return Ue(this.#t, this.options, this.options.refetchOnWindowFocus);
885
+ return We(this.#t, this.options, this.options.refetchOnWindowFocus);
883
886
  }
884
887
  destroy() {
885
888
  this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
@@ -893,13 +896,13 @@ var Be = class extends A {
893
896
  observer: this
894
897
  });
895
898
  let r = this.hasListeners();
896
- r && We(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || N(this.options.staleTime, this.#t) !== N(t.staleTime, this.#t)) && this.#g();
899
+ r && Ge(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || N(this.options.staleTime, this.#t) !== N(t.staleTime, this.#t)) && this.#g();
897
900
  let i = this.#_();
898
901
  r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
899
902
  }
900
903
  getOptimisticResult(e) {
901
904
  let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
902
- return Ke(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
905
+ return qe(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
903
906
  }
904
907
  getCurrentResult() {
905
908
  return this.#r;
@@ -934,8 +937,8 @@ var Be = class extends A {
934
937
  #g() {
935
938
  this.#b();
936
939
  let e = N(this.options.staleTime, this.#t);
937
- if (R.isServer() || this.#r.isStale || !se(e)) return;
938
- let t = ce(this.#r.dataUpdatedAt, e) + 1;
940
+ if (R.isServer() || this.#r.isStale || !ce(e)) return;
941
+ let t = le(this.#r.dataUpdatedAt, e) + 1;
939
942
  this.#d = j.setTimeout(() => {
940
943
  this.#r.isStale || this.updateResult();
941
944
  }, t);
@@ -944,8 +947,8 @@ var Be = class extends A {
944
947
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
945
948
  }
946
949
  #v(e) {
947
- this.#x(), this.#p = e, !(R.isServer() || P(this.options.enabled, this.#t) === !1 || !se(this.#p) || this.#p === 0) && (this.#f = j.setInterval(() => {
948
- (this.options.refetchIntervalInBackground || ne.isFocused()) && this.#h();
950
+ this.#x(), this.#p = e, !(R.isServer() || P(this.options.enabled, this.#t) === !1 || !ce(this.#p) || this.#p === 0) && (this.#f = j.setInterval(() => {
951
+ (this.options.refetchIntervalInBackground || re.isFocused()) && this.#h();
949
952
  }, this.#p));
950
953
  }
951
954
  #y() {
@@ -960,10 +963,10 @@ var Be = class extends A {
960
963
  createResult(e, t) {
961
964
  let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
962
965
  if (t._optimisticResults) {
963
- let i = this.hasListeners(), a = !i && He(e, t), o = i && We(e, n, t, r);
966
+ let i = this.hasListeners(), a = !i && Ue(e, t), o = i && Ge(e, n, t, r);
964
967
  (a || o) && (l = {
965
968
  ...l,
966
- ...Le(c.data, e.options)
969
+ ...Re(c.data, e.options)
967
970
  }), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
968
971
  }
969
972
  let { error: f, errorUpdatedAt: p, status: m } = l;
@@ -971,11 +974,11 @@ var Be = class extends A {
971
974
  let h = !1;
972
975
  if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
973
976
  let e;
974
- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = ve(i?.data, e, t), u = !0);
977
+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = ye(i?.data, e, t), u = !0);
975
978
  }
976
979
  if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
977
980
  else try {
978
- this.#c = t.select, d = t.select(d), d = ve(i?.data, d, t), this.#l = d, this.#s = null;
981
+ this.#c = t.select, d = t.select(d), d = ye(i?.data, d, t), this.#l = d, this.#s = null;
979
982
  } catch (e) {
980
983
  this.#s = e;
981
984
  }
@@ -1003,7 +1006,7 @@ var Be = class extends A {
1003
1006
  isPaused: l.fetchStatus === "paused",
1004
1007
  isPlaceholderData: u,
1005
1008
  isRefetchError: v && b,
1006
- isStale: Ge(e, t),
1009
+ isStale: Ke(e, t),
1007
1010
  refetch: this.refetch,
1008
1011
  promise: this.#o,
1009
1012
  isEnabled: P(t.enabled, e) !== !1
@@ -1012,7 +1015,7 @@ var Be = class extends A {
1012
1015
  let t = x.data !== void 0, r = x.status === "error" && !t, i = (e) => {
1013
1016
  r ? e.reject(x.error) : t && e.resolve(x.data);
1014
1017
  }, a = () => {
1015
- i(this.#o = x.promise = Te());
1018
+ i(this.#o = x.promise = Ee());
1016
1019
  }, o = this.#o;
1017
1020
  switch (o.status) {
1018
1021
  case "pending":
@@ -1061,37 +1064,37 @@ var Be = class extends A {
1061
1064
  });
1062
1065
  }
1063
1066
  };
1064
- function Ve(e, t) {
1067
+ function He(e, t) {
1065
1068
  return P(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && P(t.retryOnMount, e) === !1);
1066
1069
  }
1067
- function He(e, t) {
1068
- return Ve(e, t) || e.state.data !== void 0 && Ue(e, t, t.refetchOnMount);
1070
+ function Ue(e, t) {
1071
+ return He(e, t) || e.state.data !== void 0 && We(e, t, t.refetchOnMount);
1069
1072
  }
1070
- function Ue(e, t, n) {
1073
+ function We(e, t, n) {
1071
1074
  if (P(t.enabled, e) !== !1 && N(t.staleTime, e) !== "static") {
1072
1075
  let r = typeof n == "function" ? n(e) : n;
1073
- return r === "always" || r !== !1 && Ge(e, t);
1076
+ return r === "always" || r !== !1 && Ke(e, t);
1074
1077
  }
1075
1078
  return !1;
1076
1079
  }
1077
- function We(e, t, n, r) {
1078
- return (e !== t || P(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ge(e, n);
1080
+ function Ge(e, t, n, r) {
1081
+ return (e !== t || P(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ke(e, n);
1079
1082
  }
1080
- function Ge(e, t) {
1083
+ function Ke(e, t) {
1081
1084
  return P(t.enabled, e) !== !1 && e.isStaleByTime(N(t.staleTime, e));
1082
1085
  }
1083
- function Ke(e, t) {
1086
+ function qe(e, t) {
1084
1087
  return !L(e.getCurrentResult(), t);
1085
1088
  }
1086
1089
  //#endregion
1087
1090
  //#region node_modules/@tanstack/query-core/build/modern/mutation.js
1088
- var qe = class extends Me {
1091
+ var Je = class extends Ne {
1089
1092
  #e;
1090
1093
  #t;
1091
1094
  #n;
1092
1095
  #r;
1093
1096
  constructor(e) {
1094
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Je(), this.setOptions(e.options), this.scheduleGc();
1097
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ye(), this.setOptions(e.options), this.scheduleGc();
1095
1098
  }
1096
1099
  setOptions(e) {
1097
1100
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -1127,7 +1130,7 @@ var qe = class extends Me {
1127
1130
  meta: this.options.meta,
1128
1131
  mutationKey: this.options.mutationKey
1129
1132
  };
1130
- this.#r = je({
1133
+ this.#r = Me({
1131
1134
  fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
1132
1135
  onFail: (e, t) => {
1133
1136
  this.#i({
@@ -1255,7 +1258,7 @@ var qe = class extends Me {
1255
1258
  });
1256
1259
  }
1257
1260
  };
1258
- function Je() {
1261
+ function Ye() {
1259
1262
  return {
1260
1263
  context: void 0,
1261
1264
  data: void 0,
@@ -1270,7 +1273,7 @@ function Je() {
1270
1273
  }
1271
1274
  //#endregion
1272
1275
  //#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
1273
- var Ye = class extends A {
1276
+ var Xe = class extends A {
1274
1277
  constructor(e = {}) {
1275
1278
  super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
1276
1279
  }
@@ -1278,7 +1281,7 @@ var Ye = class extends A {
1278
1281
  #t;
1279
1282
  #n;
1280
1283
  build(e, t, n) {
1281
- let r = new qe({
1284
+ let r = new Je({
1282
1285
  client: e,
1283
1286
  mutationCache: this,
1284
1287
  mutationId: ++this.#n,
@@ -1344,10 +1347,10 @@ var Ye = class extends A {
1344
1347
  exact: !0,
1345
1348
  ...e
1346
1349
  };
1347
- return this.getAll().find((e) => ue(t, e));
1350
+ return this.getAll().find((e) => de(t, e));
1348
1351
  }
1349
1352
  findAll(e = {}) {
1350
- return this.getAll().filter((t) => ue(e, t));
1353
+ return this.getAll().filter((t) => de(e, t));
1351
1354
  }
1352
1355
  notify(e) {
1353
1356
  z.batch(() => {
@@ -1366,7 +1369,7 @@ function V(e) {
1366
1369
  }
1367
1370
  //#endregion
1368
1371
  //#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js
1369
- var Xe = class extends A {
1372
+ var Ze = class extends A {
1370
1373
  #e;
1371
1374
  #t = void 0;
1372
1375
  #n;
@@ -1401,7 +1404,7 @@ var Xe = class extends A {
1401
1404
  return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);
1402
1405
  }
1403
1406
  #i() {
1404
- let e = this.#n?.state ?? Je();
1407
+ let e = this.#n?.state ?? Ye();
1405
1408
  this.#t = {
1406
1409
  ...e,
1407
1410
  isPending: e.status === "pending",
@@ -1449,14 +1452,14 @@ var Xe = class extends A {
1449
1452
  });
1450
1453
  });
1451
1454
  }
1452
- }, Ze = class extends A {
1455
+ }, Qe = class extends A {
1453
1456
  constructor(e = {}) {
1454
1457
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
1455
1458
  }
1456
1459
  #e;
1457
1460
  build(e, t, n) {
1458
- let r = t.queryKey, i = t.queryHash ?? de(r, t), a = this.get(i);
1459
- return a || (a = new Ie({
1461
+ let r = t.queryKey, i = t.queryHash ?? fe(r, t), a = this.get(i);
1462
+ return a || (a = new Le({
1460
1463
  client: e,
1461
1464
  queryKey: r,
1462
1465
  queryHash: i,
@@ -1496,11 +1499,11 @@ var Xe = class extends A {
1496
1499
  exact: !0,
1497
1500
  ...e
1498
1501
  };
1499
- return this.getAll().find((e) => le(t, e));
1502
+ return this.getAll().find((e) => ue(t, e));
1500
1503
  }
1501
1504
  findAll(e = {}) {
1502
1505
  let t = this.getAll();
1503
- return Object.keys(e).length > 0 ? t.filter((t) => le(e, t)) : t;
1506
+ return Object.keys(e).length > 0 ? t.filter((t) => ue(e, t)) : t;
1504
1507
  }
1505
1508
  notify(e) {
1506
1509
  z.batch(() => {
@@ -1523,7 +1526,7 @@ var Xe = class extends A {
1523
1526
  });
1524
1527
  });
1525
1528
  }
1526
- }, Qe = class {
1529
+ }, $e = class {
1527
1530
  #e;
1528
1531
  #t;
1529
1532
  #n;
@@ -1533,10 +1536,10 @@ var Xe = class extends A {
1533
1536
  #o;
1534
1537
  #s;
1535
1538
  constructor(e = {}) {
1536
- this.#e = e.queryCache || new Ze(), this.#t = e.mutationCache || new Ye(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
1539
+ this.#e = e.queryCache || new Qe(), this.#t = e.mutationCache || new Xe(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
1537
1540
  }
1538
1541
  mount() {
1539
- this.#a++, this.#a === 1 && (this.#o = ne.subscribe(async (e) => {
1542
+ this.#a++, this.#a === 1 && (this.#o = re.subscribe(async (e) => {
1540
1543
  e && (await this.resumePausedMutations(), this.#e.onFocus());
1541
1544
  }), this.#s = B.subscribe(async (e) => {
1542
1545
  e && (await this.resumePausedMutations(), this.#e.onOnline());
@@ -1569,7 +1572,7 @@ var Xe = class extends A {
1569
1572
  return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
1570
1573
  }
1571
1574
  setQueryData(e, t, n) {
1572
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = oe(t, i);
1575
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = se(t, i);
1573
1576
  if (a !== void 0) return this.#e.build(this, r).setData(a, {
1574
1577
  ...n,
1575
1578
  manual: !0
@@ -1689,7 +1692,7 @@ var Xe = class extends A {
1689
1692
  ...e,
1690
1693
  _defaulted: !0
1691
1694
  };
1692
- return t.queryHash ||= de(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === xe && (t.enabled = !1), t;
1695
+ return t.queryHash ||= fe(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Se && (t.enabled = !1), t;
1693
1696
  }
1694
1697
  defaultMutationOptions(e) {
1695
1698
  return e?._defaulted ? e : {
@@ -1705,19 +1708,19 @@ var Xe = class extends A {
1705
1708
  }, H = /* @__PURE__ */ e({
1706
1709
  Vue: () => i,
1707
1710
  Vue2: () => void 0,
1708
- del: () => nt,
1709
- install: () => et,
1711
+ del: () => rt,
1712
+ install: () => tt,
1710
1713
  isVue2: () => !1,
1711
1714
  isVue3: () => !0,
1712
- set: () => tt
1715
+ set: () => nt
1713
1716
  });
1714
- import * as $e from "vue";
1715
- n(H, $e);
1716
- function et() {}
1717
- function tt(e, t, n) {
1717
+ import * as et from "vue";
1718
+ n(H, et);
1719
+ function tt() {}
1720
+ function nt(e, t, n) {
1718
1721
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
1719
1722
  }
1720
- function nt(e, t) {
1723
+ function rt(e, t) {
1721
1724
  if (Array.isArray(e)) {
1722
1725
  e.splice(t, 1);
1723
1726
  return;
@@ -1726,75 +1729,75 @@ function nt(e, t) {
1726
1729
  }
1727
1730
  //#endregion
1728
1731
  //#region node_modules/@tanstack/vue-query/build/modern/utils.js
1729
- var rt = "VUE_QUERY_CLIENT";
1730
- function it(e) {
1731
- return `${rt}${e ? `:${e}` : ""}`;
1732
+ var it = "VUE_QUERY_CLIENT";
1733
+ function at(e) {
1734
+ return `${it}${e ? `:${e}` : ""}`;
1732
1735
  }
1733
- function at(e, t) {
1736
+ function ot(e, t) {
1734
1737
  Object.keys(e).forEach((n) => {
1735
1738
  e[n] = t[n];
1736
1739
  });
1737
1740
  }
1738
- function ot(e, t, n = "", r = 0) {
1741
+ function st(e, t, n = "", r = 0) {
1739
1742
  if (t) {
1740
1743
  let i = t(e, n, r);
1741
1744
  if (i === void 0 && (0, H.isRef)(e) || i !== void 0) return i;
1742
1745
  }
1743
- if (Array.isArray(e)) return e.map((e, n) => ot(e, t, String(n), r + 1));
1744
- if (typeof e == "object" && ct(e)) {
1745
- let n = Object.entries(e).map(([e, n]) => [e, ot(n, t, e, r + 1)]);
1746
+ if (Array.isArray(e)) return e.map((e, n) => st(e, t, String(n), r + 1));
1747
+ if (typeof e == "object" && lt(e)) {
1748
+ let n = Object.entries(e).map(([e, n]) => [e, st(n, t, e, r + 1)]);
1746
1749
  return Object.fromEntries(n);
1747
1750
  }
1748
1751
  return e;
1749
1752
  }
1750
- function st(e, t) {
1751
- return ot(e, t);
1753
+ function ct(e, t) {
1754
+ return st(e, t);
1752
1755
  }
1753
1756
  function U(e, t = !1) {
1754
- return st(e, (e, n, r) => {
1757
+ return ct(e, (e, n, r) => {
1755
1758
  if (r === 1 && n === "queryKey") return U(e, !0);
1756
- if (t && lt(e)) return U(e(), t);
1759
+ if (t && ut(e)) return U(e(), t);
1757
1760
  if ((0, H.isRef)(e)) return U((0, H.unref)(e), t);
1758
1761
  });
1759
1762
  }
1760
- function ct(e) {
1763
+ function lt(e) {
1761
1764
  if (Object.prototype.toString.call(e) !== "[object Object]") return !1;
1762
1765
  let t = Object.getPrototypeOf(e);
1763
1766
  return t === null || t === Object.prototype;
1764
1767
  }
1765
- function lt(e) {
1768
+ function ut(e) {
1766
1769
  return typeof e == "function";
1767
1770
  }
1768
1771
  //#endregion
1769
1772
  //#region node_modules/@tanstack/vue-query/build/modern/useQueryClient.js
1770
- function ut(e = "") {
1773
+ function dt(e = "") {
1771
1774
  if (!(0, H.hasInjectionContext)()) throw Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");
1772
- let t = (0, H.inject)(it(e));
1775
+ let t = (0, H.inject)(at(e));
1773
1776
  if (!t) throw Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");
1774
1777
  return t;
1775
1778
  }
1776
1779
  //#endregion
1777
1780
  //#region node_modules/@tanstack/vue-query/build/modern/queryCache.js
1778
- var dt = class extends Ze {
1781
+ var ft = class extends Qe {
1779
1782
  find(e) {
1780
1783
  return super.find(U(e));
1781
1784
  }
1782
1785
  findAll(e = {}) {
1783
1786
  return super.findAll(U(e));
1784
1787
  }
1785
- }, ft = class extends Ye {
1788
+ }, pt = class extends Xe {
1786
1789
  find(e) {
1787
1790
  return super.find(U(e));
1788
1791
  }
1789
1792
  findAll(e = {}) {
1790
1793
  return super.findAll(U(e));
1791
1794
  }
1792
- }, pt = class extends Qe {
1795
+ }, mt = class extends $e {
1793
1796
  constructor(e = {}) {
1794
1797
  let t = {
1795
1798
  defaultOptions: e.defaultOptions,
1796
- queryCache: e.queryCache || new dt(),
1797
- mutationCache: e.mutationCache || new ft()
1799
+ queryCache: e.queryCache || new ft(),
1800
+ mutationCache: e.mutationCache || new pt()
1798
1801
  };
1799
1802
  super(t), this.isRestoring = (0, H.ref)(!1);
1800
1803
  }
@@ -1876,22 +1879,22 @@ var dt = class extends Ze {
1876
1879
  };
1877
1880
  //#endregion
1878
1881
  //#region node_modules/@vue/devtools-api/lib/esm/env.js
1879
- function mt() {
1880
- return ht().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1881
- }
1882
1882
  function ht() {
1883
- return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
1883
+ return gt().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1884
1884
  }
1885
- var gt = typeof Proxy == "function", _t = "devtools-plugin:setup", vt = "plugin:settings:set", W, yt;
1886
- function bt() {
1887
- return W === void 0 && (typeof window < "u" && window.performance ? (W = !0, yt = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (W = !0, yt = globalThis.perf_hooks.performance) : W = !1), W;
1885
+ function gt() {
1886
+ return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
1888
1887
  }
1888
+ var _t = typeof Proxy == "function", vt = "devtools-plugin:setup", yt = "plugin:settings:set", W, bt;
1889
1889
  function xt() {
1890
- return bt() ? yt.now() : Date.now();
1890
+ return W === void 0 && (typeof window < "u" && window.performance ? (W = !0, bt = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (W = !0, bt = globalThis.perf_hooks.performance) : W = !1), W;
1891
+ }
1892
+ function St() {
1893
+ return xt() ? bt.now() : Date.now();
1891
1894
  }
1892
1895
  //#endregion
1893
1896
  //#region node_modules/@vue/devtools-api/lib/esm/proxy.js
1894
- var St = class {
1897
+ var Ct = class {
1895
1898
  constructor(e, t) {
1896
1899
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = e, this.hook = t;
1897
1900
  let n = {};
@@ -1912,9 +1915,9 @@ var St = class {
1912
1915
  i = e;
1913
1916
  },
1914
1917
  now() {
1915
- return xt();
1918
+ return St();
1916
1919
  }
1917
- }, t && t.on(vt, (e, t) => {
1920
+ }, t && t.on(yt, (e, t) => {
1918
1921
  e === this.plugin.id && this.fallbacks.setSettings(t);
1919
1922
  }), this.proxiedOn = new Proxy({}, { get: (e, t) => this.target ? this.target.on[t] : (...e) => {
1920
1923
  this.onQueue.push({
@@ -1941,11 +1944,11 @@ var St = class {
1941
1944
  };
1942
1945
  //#endregion
1943
1946
  //#region node_modules/@vue/devtools-api/lib/esm/index.js
1944
- function Ct(e, t) {
1945
- let n = e, r = ht(), i = mt(), a = gt && n.enableEarlyProxy;
1946
- if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(_t, e, t);
1947
+ function wt(e, t) {
1948
+ let n = e, r = gt(), i = ht(), a = _t && n.enableEarlyProxy;
1949
+ if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(vt, e, t);
1947
1950
  else {
1948
- let e = a ? new St(n, i) : null;
1951
+ let e = a ? new Ct(n, i) : null;
1949
1952
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
1950
1953
  pluginDescriptor: n,
1951
1954
  setupFn: t,
@@ -1955,7 +1958,7 @@ function Ct(e, t) {
1955
1958
  }
1956
1959
  //#endregion
1957
1960
  //#region node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
1958
- var wt = {
1961
+ var Tt = {
1959
1962
  À: "A",
1960
1963
  Á: "A",
1961
1964
  Â: "A",
@@ -2355,9 +2358,9 @@ var wt = {
2355
2358
  x̧: "x",
2356
2359
  Z̧: "Z",
2357
2360
  z̧: "z"
2358
- }, Tt = Object.keys(wt).join("|"), Et = new RegExp(Tt, "g");
2359
- function Dt(e) {
2360
- return e.replace(Et, (e) => wt[e]);
2361
+ }, Et = Object.keys(Tt).join("|"), Dt = new RegExp(Et, "g");
2362
+ function Ot(e) {
2363
+ return e.replace(Dt, (e) => Tt[e]);
2361
2364
  }
2362
2365
  var G = {
2363
2366
  CASE_SENSITIVE_EQUAL: 7,
@@ -2369,9 +2372,9 @@ var G = {
2369
2372
  MATCHES: 1,
2370
2373
  NO_MATCH: 0
2371
2374
  };
2372
- function Ot(e, t, n) {
2375
+ function kt(e, t, n) {
2373
2376
  if (n ||= {}, n.threshold = n.threshold ?? G.MATCHES, !n.accessors) {
2374
- let r = kt(e, t, n);
2377
+ let r = At(e, t, n);
2375
2378
  return {
2376
2379
  rankedValue: e,
2377
2380
  rank: r,
@@ -2380,7 +2383,7 @@ function Ot(e, t, n) {
2380
2383
  passed: r >= n.threshold
2381
2384
  };
2382
2385
  }
2383
- let r = Pt(e, n.accessors), i = {
2386
+ let r = Ft(e, n.accessors), i = {
2384
2387
  rankedValue: e,
2385
2388
  rank: G.NO_MATCH,
2386
2389
  accessorIndex: -1,
@@ -2388,15 +2391,15 @@ function Ot(e, t, n) {
2388
2391
  passed: !1
2389
2392
  };
2390
2393
  for (let e = 0; e < r.length; e++) {
2391
- let a = r[e], o = kt(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
2394
+ let a = r[e], o = At(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
2392
2395
  o < s && o >= G.MATCHES ? o = s : o > c && (o = c), o = Math.min(o, c), o >= l && o > i.rank && (i.rank = o, i.passed = !0, i.accessorIndex = e, i.accessorThreshold = l, i.rankedValue = a.itemValue);
2393
2396
  }
2394
2397
  return i;
2395
2398
  }
2396
- function kt(e, t, n) {
2397
- return e = Mt(e, n), t = Mt(t, n), t.length > e.length ? G.NO_MATCH : e === t ? G.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? G.EQUAL : e.startsWith(t) ? G.STARTS_WITH : e.includes(` ${t}`) ? G.WORD_STARTS_WITH : e.includes(t) ? G.CONTAINS : t.length === 1 ? G.NO_MATCH : At(e).includes(t) ? G.ACRONYM : jt(e, t));
2399
+ function At(e, t, n) {
2400
+ return e = Nt(e, n), t = Nt(t, n), t.length > e.length ? G.NO_MATCH : e === t ? G.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? G.EQUAL : e.startsWith(t) ? G.STARTS_WITH : e.includes(` ${t}`) ? G.WORD_STARTS_WITH : e.includes(t) ? G.CONTAINS : t.length === 1 ? G.NO_MATCH : jt(e).includes(t) ? G.ACRONYM : Mt(e, t));
2398
2401
  }
2399
- function At(e) {
2402
+ function jt(e) {
2400
2403
  let t = "";
2401
2404
  return e.split(" ").forEach((e) => {
2402
2405
  e.split("-").forEach((e) => {
@@ -2404,7 +2407,7 @@ function At(e) {
2404
2407
  });
2405
2408
  }), t;
2406
2409
  }
2407
- function jt(e, t) {
2410
+ function Mt(e, t) {
2408
2411
  let n = 0, r = 0;
2409
2412
  function i(e, t, r) {
2410
2413
  for (let i = r, a = t.length; i < a; i++) if (t[i] === e) return n += 1, i + 1;
@@ -2423,20 +2426,20 @@ function jt(e, t) {
2423
2426
  }
2424
2427
  return a(r - o);
2425
2428
  }
2426
- function Mt(e, t) {
2429
+ function Nt(e, t) {
2427
2430
  let { keepDiacritics: n } = t;
2428
- return e = `${e}`, n || (e = Dt(e)), e;
2431
+ return e = `${e}`, n || (e = Ot(e)), e;
2429
2432
  }
2430
- function Nt(e, t) {
2433
+ function Pt(e, t) {
2431
2434
  let n = t;
2432
2435
  typeof t == "object" && (n = t.accessor);
2433
2436
  let r = n(e);
2434
2437
  return r == null ? [] : Array.isArray(r) ? r : [String(r)];
2435
2438
  }
2436
- function Pt(e, t) {
2439
+ function Ft(e, t) {
2437
2440
  let n = [];
2438
2441
  for (let r = 0, i = t.length; r < i; r++) {
2439
- let i = t[r], a = It(i), o = Nt(e, i);
2442
+ let i = t[r], a = Lt(i), o = Pt(e, i);
2440
2443
  for (let e = 0, t = o.length; e < t; e++) n.push({
2441
2444
  itemValue: o[e],
2442
2445
  attributes: a
@@ -2444,13 +2447,13 @@ function Pt(e, t) {
2444
2447
  }
2445
2448
  return n;
2446
2449
  }
2447
- var Ft = {
2450
+ var It = {
2448
2451
  maxRanking: Infinity,
2449
2452
  minRanking: -Infinity
2450
2453
  };
2451
- function It(e) {
2452
- return typeof e == "function" ? Ft : {
2453
- ...Ft,
2454
+ function Lt(e) {
2455
+ return typeof e == "function" ? It : {
2456
+ ...It,
2454
2457
  ...e
2455
2458
  };
2456
2459
  }
@@ -2459,26 +2462,26 @@ function It(e) {
2459
2462
  function K(e) {
2460
2463
  return e.state.fetchStatus === "fetching" ? 0 : e.state.fetchStatus === "paused" ? 4 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3;
2461
2464
  }
2462
- function Lt(e) {
2465
+ function Rt(e) {
2463
2466
  let t = K(e);
2464
2467
  return t === 0 ? "fetching" : t === 4 ? "paused" : t === 2 ? "stale" : t === 3 ? "inactive" : "fresh";
2465
2468
  }
2466
- function Rt(e) {
2469
+ function zt(e) {
2467
2470
  return K(e) === 2 ? 0 : 16777215;
2468
2471
  }
2469
- function zt(e) {
2472
+ function Bt(e) {
2470
2473
  let t = K(e);
2471
2474
  return t === 0 ? 27647 : t === 4 ? 9193963 : t === 2 ? 16757248 : t === 3 ? 4148832 : 33575;
2472
2475
  }
2473
- var Bt = (e, t) => e.queryHash.localeCompare(t.queryHash), Vt = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Ht = {
2474
- "Status > Last Updated": (e, t) => K(e) === K(t) ? Vt(e, t) : K(e) > K(t) ? 1 : -1,
2475
- "Query Hash": Bt,
2476
- "Last Updated": Vt
2477
- }, q = "vue-query", Ut = "Vue Query";
2478
- function Wt(e, t) {
2479
- Ct({
2476
+ var Vt = (e, t) => e.queryHash.localeCompare(t.queryHash), Ht = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Ut = {
2477
+ "Status > Last Updated": (e, t) => K(e) === K(t) ? Ht(e, t) : K(e) > K(t) ? 1 : -1,
2478
+ "Query Hash": Vt,
2479
+ "Last Updated": Ht
2480
+ }, q = "vue-query", Wt = "Vue Query";
2481
+ function Gt(e, t) {
2482
+ wt({
2480
2483
  id: q,
2481
- label: Ut,
2484
+ label: Wt,
2482
2485
  packageName: "vue-query",
2483
2486
  homepage: "https://tanstack.com/query/latest",
2484
2487
  logo: "https://raw.githubusercontent.com/TanStack/query/main/packages/vue-query/media/vue-query.svg",
@@ -2500,11 +2503,11 @@ function Wt(e, t) {
2500
2503
  sortFn: {
2501
2504
  type: "choice",
2502
2505
  label: "Sort Function",
2503
- options: Object.keys(Ht).map((e) => ({
2506
+ options: Object.keys(Ut).map((e) => ({
2504
2507
  label: e,
2505
2508
  value: e
2506
2509
  })),
2507
- defaultValue: Object.keys(Ht)[0]
2510
+ defaultValue: Object.keys(Ut)[0]
2508
2511
  },
2509
2512
  onlineMode: {
2510
2513
  type: "choice",
@@ -2526,7 +2529,7 @@ function Wt(e, t) {
2526
2529
  let r = t.getQueryCache();
2527
2530
  e.addInspector({
2528
2531
  id: q,
2529
- label: Ut,
2532
+ label: Wt,
2530
2533
  icon: "api",
2531
2534
  nodeActions: [
2532
2535
  {
@@ -2586,7 +2589,7 @@ function Wt(e, t) {
2586
2589
  ]
2587
2590
  }), e.addTimelineLayer({
2588
2591
  id: q,
2589
- label: Ut,
2592
+ label: Wt,
2590
2593
  color: 16767308
2591
2594
  }), r.subscribe((t) => {
2592
2595
  e.sendInspectorTree(q), e.sendInspectorState(q), [
@@ -2610,15 +2613,15 @@ function Wt(e, t) {
2610
2613
  }), e.on.getInspectorTree((t) => {
2611
2614
  if (t.inspectorId === q) {
2612
2615
  let n = r.getAll(), i = e.getSettings();
2613
- t.rootNodes = (t.filter ? n.filter((e) => Ot(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => Ht[i.sortFn](e, t) * i.baseSort).map((e) => {
2614
- let t = Lt(e);
2616
+ t.rootNodes = (t.filter ? n.filter((e) => kt(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => Ut[i.sortFn](e, t) * i.baseSort).map((e) => {
2617
+ let t = Rt(e);
2615
2618
  return {
2616
2619
  id: e.queryHash,
2617
2620
  label: e.queryHash,
2618
2621
  tags: [{
2619
2622
  label: `${t} [${e.getObserversCount()}]`,
2620
- textColor: Rt(e),
2621
- backgroundColor: zt(e)
2623
+ textColor: zt(e),
2624
+ backgroundColor: Bt(e)
2622
2625
  }]
2623
2626
  };
2624
2627
  });
@@ -2635,7 +2638,7 @@ function Wt(e, t) {
2635
2638
  },
2636
2639
  {
2637
2640
  key: "Query status",
2638
- value: Lt(t)
2641
+ value: Rt(t)
2639
2642
  },
2640
2643
  {
2641
2644
  key: "Observers",
@@ -2661,9 +2664,9 @@ function Wt(e, t) {
2661
2664
  }
2662
2665
  //#endregion
2663
2666
  //#region node_modules/@tanstack/vue-query/build/modern/vueQueryPlugin.js
2664
- var Gt = { install: (e, t = {}) => {
2665
- let n = it(t.queryClientKey), r;
2666
- r = "queryClient" in t && t.queryClient ? t.queryClient : new pt("queryClientConfig" in t ? t.queryClientConfig : void 0), ae || r.mount();
2667
+ var Kt = { install: (e, t = {}) => {
2668
+ let n = at(t.queryClientKey), r;
2669
+ r = "queryClient" in t && t.queryClient ? t.queryClient : new mt("queryClientConfig" in t ? t.queryClientConfig : void 0), oe || r.mount();
2667
2670
  let i = () => {};
2668
2671
  if (t.clientPersister) {
2669
2672
  r.isRestoring && (r.isRestoring.value = !0);
@@ -2682,13 +2685,13 @@ var Gt = { install: (e, t = {}) => {
2682
2685
  a(), t();
2683
2686
  };
2684
2687
  }
2685
- e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && Wt(e, r);
2688
+ e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && Gt(e, r);
2686
2689
  } };
2687
2690
  //#endregion
2688
2691
  //#region node_modules/@tanstack/vue-query/build/modern/useBaseQuery.js
2689
- function Kt(e, t, n) {
2692
+ function qt(e, t, n) {
2690
2693
  process.env.NODE_ENV === "development" && ((0, H.getCurrentScope)() || console.warn("vue-query composable like \"useQuery()\" should only be used inside a \"setup()\" function or a running effect scope. They might otherwise lead to memory leaks."));
2691
- let r = n || ut(), i = (0, H.computed)(() => {
2694
+ let r = n || dt(), i = (0, H.computed)(() => {
2692
2695
  let e = t;
2693
2696
  typeof e == "function" && (e = e());
2694
2697
  let n = U(e);
@@ -2698,11 +2701,11 @@ function Kt(e, t, n) {
2698
2701
  }), a = new e(r, i.value), o = i.value.shallow ? (0, H.shallowReactive)(a.getCurrentResult()) : (0, H.reactive)(a.getCurrentResult()), s = () => {};
2699
2702
  r.isRestoring && (0, H.watch)(r.isRestoring, (e) => {
2700
2703
  e || (s(), s = a.subscribe((e) => {
2701
- at(o, e);
2704
+ ot(o, e);
2702
2705
  }));
2703
2706
  }, { immediate: !0 });
2704
2707
  let c = () => {
2705
- a.setOptions(i.value), at(o, a.getCurrentResult());
2708
+ a.setOptions(i.value), ot(o, a.getCurrentResult());
2706
2709
  };
2707
2710
  (0, H.watch)(i, c), (0, H.onScopeDispose)(() => {
2708
2711
  s();
@@ -2713,14 +2716,14 @@ function Kt(e, t, n) {
2713
2716
  a.setOptions(i.value);
2714
2717
  let r = a.getOptimisticResult(i.value);
2715
2718
  r.isStale ? (n(), a.fetchOptimistic(i.value).then(e, (n) => {
2716
- Ce(i.value.throwOnError, [n, a.getCurrentQuery()]) ? t(n) : e(a.getCurrentResult());
2719
+ we(i.value.throwOnError, [n, a.getCurrentQuery()]) ? t(n) : e(a.getCurrentResult());
2717
2720
  })) : (n(), e(r));
2718
2721
  }
2719
2722
  };
2720
2723
  r(), n = (0, H.watch)(i, r);
2721
2724
  });
2722
2725
  (0, H.watch)(() => o.error, (e) => {
2723
- if (o.isError && !o.isFetching && Ce(i.value.throwOnError, [e, a.getCurrentQuery()])) throw e;
2726
+ if (o.isError && !o.isFetching && we(i.value.throwOnError, [e, a.getCurrentQuery()])) throw e;
2724
2727
  });
2725
2728
  let d = (0, H.toRefs)(i.value.shallow ? (0, H.shallowReadonly)(o) : (0, H.readonly)(o));
2726
2729
  for (let e in o) typeof o[e] == "function" && (d[e] = o[e]);
@@ -2728,18 +2731,18 @@ function Kt(e, t, n) {
2728
2731
  }
2729
2732
  //#endregion
2730
2733
  //#region node_modules/@tanstack/vue-query/build/modern/useQuery.js
2731
- function qt(e, t) {
2732
- return Kt(Be, e, t);
2734
+ function Jt(e, t) {
2735
+ return qt(Ve, e, t);
2733
2736
  }
2734
2737
  //#endregion
2735
2738
  //#region node_modules/@tanstack/vue-query/build/modern/useMutation.js
2736
- function Jt(e, t) {
2739
+ function Yt(e, t) {
2737
2740
  process.env.NODE_ENV === "development" && ((0, H.getCurrentScope)() || console.warn("vue-query composable like \"useQuery()\" should only be used inside a \"setup()\" function or a running effect scope. They might otherwise lead to memory leaks."));
2738
- let n = t || ut(), r = (0, H.computed)(() => {
2741
+ let n = t || dt(), r = (0, H.computed)(() => {
2739
2742
  let t = typeof e == "function" ? e() : e;
2740
2743
  return n.defaultMutationOptions(U(t));
2741
- }), i = new Xe(n, r.value), a = r.value.shallow ? (0, H.shallowReactive)(i.getCurrentResult()) : (0, H.reactive)(i.getCurrentResult()), o = i.subscribe((e) => {
2742
- at(a, e);
2744
+ }), i = new Ze(n, r.value), a = r.value.shallow ? (0, H.shallowReactive)(i.getCurrentResult()) : (0, H.reactive)(i.getCurrentResult()), o = i.subscribe((e) => {
2745
+ ot(a, e);
2743
2746
  }), s = (e, t) => {
2744
2747
  i.mutate(e, t).catch(() => {});
2745
2748
  };
@@ -2750,7 +2753,7 @@ function Jt(e, t) {
2750
2753
  });
2751
2754
  let c = (0, H.toRefs)(r.value.shallow ? (0, H.shallowReadonly)(a) : (0, H.readonly)(a));
2752
2755
  return (0, H.watch)(() => a.error, (e) => {
2753
- if (e && Ce(r.value.throwOnError, [e])) throw e;
2756
+ if (e && we(r.value.throwOnError, [e])) throw e;
2754
2757
  }), {
2755
2758
  ...c,
2756
2759
  mutate: s,
@@ -2759,37 +2762,39 @@ function Jt(e, t) {
2759
2762
  };
2760
2763
  }
2761
2764
  //#endregion
2765
+ //#region src/composables/data/_internal.ts
2766
+ function J(e) {
2767
+ return e;
2768
+ }
2769
+ //#endregion
2762
2770
  //#region src/composables/data/useQuery.ts
2763
- var Yt = {
2771
+ var Xt = {
2764
2772
  retry: !1,
2765
2773
  refetchOnMount: !0,
2766
2774
  refetchOnReconnect: !1,
2767
2775
  refetchOnWindowFocus: !1
2768
- }, Xt = 0;
2769
- function Zt(e) {
2776
+ }, Zt = 0;
2777
+ function Qt(e) {
2770
2778
  if (e !== void 0) return typeof e == "function" ? e() : u(e);
2771
2779
  }
2772
- function J(e) {
2773
- return e;
2780
+ function $t() {
2781
+ return Zt += 1, ["hanap-labs-query", Zt];
2774
2782
  }
2775
- function Qt() {
2776
- return Xt += 1, ["hanap-labs-query", Xt];
2777
- }
2778
- async function $t(e) {
2783
+ async function en(e) {
2779
2784
  return (await e()).data;
2780
2785
  }
2781
- function en(e = {}) {
2786
+ function tn(e = {}) {
2782
2787
  return function(t, n) {
2783
- let { queryKey: r, onSuccess: i, onError: o, enabled: s, ...c } = n ?? {}, l = Qt(), f = [], p = [];
2788
+ let { queryKey: r, onSuccess: i, onError: o, enabled: s, ...c } = n ?? {}, l = $t(), f = [], p = [];
2784
2789
  i !== void 0 && f.push(i), o !== void 0 && p.push(o);
2785
- let m = qt({
2790
+ let m = Jt({
2786
2791
  queryKey: a(() => r === void 0 ? l : typeof r == "function" ? r() : u(r)),
2787
2792
  queryFn: (e) => t({
2788
2793
  queryKey: e.queryKey,
2789
2794
  signal: e.signal
2790
2795
  }),
2791
- enabled: a(() => Zt(s)),
2792
- ...Yt,
2796
+ enabled: a(() => Qt(s)),
2797
+ ...Xt,
2793
2798
  ...e,
2794
2799
  ...c
2795
2800
  });
@@ -2798,7 +2803,7 @@ function en(e = {}) {
2798
2803
  }, { immediate: !1 }), p.length > 0 && d(() => m.error.value, (e) => {
2799
2804
  if (e !== null) for (let t of p) t(e);
2800
2805
  }, { immediate: !1 });
2801
- let h = () => $t(m.refetch), g = {
2806
+ let h = () => en(m.refetch), g = {
2802
2807
  data: J(m.data),
2803
2808
  error: J(m.error),
2804
2809
  isError: J(m.isError),
@@ -2813,113 +2818,111 @@ function en(e = {}) {
2813
2818
  return g;
2814
2819
  };
2815
2820
  }
2816
- var tn = en();
2821
+ var nn = tn();
2817
2822
  //#endregion
2818
2823
  //#region src/composables/data/queryPlugin.ts
2819
- function nn(e = {}) {
2824
+ function rn(e = {}) {
2820
2825
  return { install(t) {
2821
- let n = new pt({ defaultOptions: {
2826
+ let n = new mt({ defaultOptions: {
2822
2827
  queries: e.queries,
2823
2828
  mutations: e.mutations
2824
2829
  } });
2825
- t.use(Gt, { queryClient: n });
2830
+ t.use(Kt, { queryClient: n });
2826
2831
  } };
2827
2832
  }
2828
2833
  //#endregion
2829
2834
  //#region src/composables/data/useMutation.ts
2830
- function Y(e) {
2831
- return e;
2832
- }
2833
- function rn(e) {
2835
+ function an(e) {
2834
2836
  return e[0];
2835
2837
  }
2836
- function an(e, t) {
2838
+ function on(e, t) {
2837
2839
  return e(t);
2838
2840
  }
2839
- function on() {
2840
- return function(e, t) {
2841
- let { onSuccess: n, onError: r, onMutate: i, onSettled: a, ...o } = t ?? {}, s = [], c = [], l = [], u = [];
2842
- n !== void 0 && s.push(n), r !== void 0 && c.push(r), i !== void 0 && l.push(i), a !== void 0 && u.push(a);
2843
- let d = Jt({
2844
- mutationFn: (t) => an(e, t),
2845
- ...o,
2841
+ function sn(e = {}) {
2842
+ return function(t, n) {
2843
+ let { onSuccess: r, onError: i, onMutate: a, onSettled: o, ...s } = n ?? {}, c = [], l = [], u = [], d = [];
2844
+ r !== void 0 && c.push(r), i !== void 0 && l.push(i), a !== void 0 && u.push(a), o !== void 0 && d.push(o);
2845
+ let f = Yt({
2846
+ mutationFn: (e) => on(t, e),
2847
+ ...e,
2848
+ ...s,
2846
2849
  onMutate: async (e, t) => {
2847
2850
  let n;
2848
- for (let t of l) n = await t(e);
2851
+ for (let t of u) n = await t(e);
2849
2852
  return n;
2850
2853
  },
2851
2854
  onSuccess: async (e, t, n) => {
2852
- if (e !== !1) for (let r of s) await r(e, t, n);
2855
+ for (let r of c) await r(e, t, n);
2853
2856
  },
2854
2857
  onError: async (e, t, n) => {
2855
- for (let r of c) await r(e, t, n);
2858
+ for (let r of l) await r(e, t, n);
2856
2859
  },
2857
2860
  onSettled: async (e, t, n, r) => {
2858
- for (let i of u) await i(e, t, n, r);
2861
+ for (let i of d) await i(e, t, n, r);
2859
2862
  }
2860
- }), f = {
2861
- data: Y(d.data),
2862
- error: Y(d.error),
2863
- isError: Y(d.isError),
2864
- isSuccess: Y(d.isSuccess),
2865
- submitting: Y(d.isPending),
2866
- onError: (e) => (c.push(e), f),
2867
- onMutate: (e) => (l.push(e), f),
2868
- onSettled: (e) => (u.push(e), f),
2869
- onSuccess: (e) => (s.push(e), f),
2870
- reset: d.reset,
2871
- run: (...e) => d.mutateAsync(rn(e)),
2872
- status: Y(d.status)
2863
+ }), p = {
2864
+ data: J(f.data),
2865
+ error: J(f.error),
2866
+ isError: J(f.isError),
2867
+ isSuccess: J(f.isSuccess),
2868
+ submitting: J(f.isPending),
2869
+ onError: (e) => (l.push(e), p),
2870
+ onMutate: (e) => (u.push(e), p),
2871
+ onSettled: (e) => (d.push(e), p),
2872
+ onSuccess: (e) => (c.push(e), p),
2873
+ reset: f.reset,
2874
+ run: (...e) => f.mutateAsync(an(e)),
2875
+ status: J(f.status)
2873
2876
  };
2874
- return f;
2877
+ return p;
2875
2878
  };
2876
2879
  }
2877
- var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
2880
+ var cn = sn(), ln = /* @__PURE__ */ t(((e, t) => {
2878
2881
  function n() {
2879
2882
  this.__data__ = [], this.size = 0;
2880
2883
  }
2881
2884
  t.exports = n;
2882
- })), ln = /* @__PURE__ */ t(((e, t) => {
2885
+ })), un = /* @__PURE__ */ t(((e, t) => {
2883
2886
  function n(e, t) {
2884
2887
  return e === t || e !== e && t !== t;
2885
2888
  }
2886
2889
  t.exports = n;
2887
- })), X = /* @__PURE__ */ t(((e, t) => {
2888
- var n = ln();
2890
+ })), Y = /* @__PURE__ */ t(((e, t) => {
2891
+ var n = un();
2889
2892
  function r(e, t) {
2890
2893
  for (var r = e.length; r--;) if (n(e[r][0], t)) return r;
2891
2894
  return -1;
2892
2895
  }
2893
2896
  t.exports = r;
2894
- })), un = /* @__PURE__ */ t(((e, t) => {
2895
- var n = X(), r = Array.prototype.splice;
2897
+ })), dn = /* @__PURE__ */ t(((e, t) => {
2898
+ var n = Y(), r = Array.prototype.splice;
2896
2899
  function i(e) {
2897
2900
  var t = this.__data__, i = n(t, e);
2898
2901
  return i < 0 ? !1 : (i == t.length - 1 ? t.pop() : r.call(t, i, 1), --this.size, !0);
2899
2902
  }
2900
2903
  t.exports = i;
2901
- })), dn = /* @__PURE__ */ t(((e, t) => {
2902
- var n = X();
2904
+ })), fn = /* @__PURE__ */ t(((e, t) => {
2905
+ var n = Y();
2903
2906
  function r(e) {
2904
2907
  var t = this.__data__, r = n(t, e);
2905
2908
  return r < 0 ? void 0 : t[r][1];
2906
2909
  }
2907
2910
  t.exports = r;
2908
- })), fn = /* @__PURE__ */ t(((e, t) => {
2909
- var n = X();
2911
+ })), pn = /* @__PURE__ */ t(((e, t) => {
2912
+ var n = Y();
2910
2913
  function r(e) {
2911
2914
  return n(this.__data__, e) > -1;
2912
2915
  }
2913
2916
  t.exports = r;
2914
- })), pn = /* @__PURE__ */ t(((e, t) => {
2915
- var n = X();
2917
+ })), mn = /* @__PURE__ */ t(((e, t) => {
2918
+ var n = Y();
2916
2919
  function r(e, t) {
2917
2920
  var r = this.__data__, i = n(r, e);
2918
2921
  return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
2919
2922
  }
2920
2923
  t.exports = r;
2921
- })), mn = /* @__PURE__ */ t(((e, t) => {
2922
- var n = cn(), r = un(), i = dn(), a = fn(), o = pn();
2924
+ })), X = /* @__PURE__ */ t(((e, t) => {
2925
+ var n = ln(), r = dn(), i = fn(), a = pn(), o = mn();
2923
2926
  function s(e) {
2924
2927
  var t = -1, n = e == null ? 0 : e.length;
2925
2928
  for (this.clear(); ++t < n;) {
@@ -2929,7 +2932,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
2929
2932
  }
2930
2933
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
2931
2934
  })), hn = /* @__PURE__ */ t(((e, t) => {
2932
- var n = mn();
2935
+ var n = X();
2933
2936
  function r() {
2934
2937
  this.__data__ = new n(), this.size = 0;
2935
2938
  }
@@ -2975,30 +2978,30 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
2975
2978
  return n.call(e);
2976
2979
  }
2977
2980
  t.exports = r;
2978
- })), Cn = /* @__PURE__ */ t(((e, t) => {
2981
+ })), Q = /* @__PURE__ */ t(((e, t) => {
2979
2982
  var n = bn(), r = xn(), i = Sn(), a = "[object Null]", o = "[object Undefined]", s = n ? n.toStringTag : void 0;
2980
2983
  function c(e) {
2981
2984
  return e == null ? e === void 0 ? o : a : s && s in Object(e) ? r(e) : i(e);
2982
2985
  }
2983
2986
  t.exports = c;
2984
- })), wn = /* @__PURE__ */ t(((e, t) => {
2987
+ })), Cn = /* @__PURE__ */ t(((e, t) => {
2985
2988
  function n(e) {
2986
2989
  var t = typeof e;
2987
2990
  return e != null && (t == "object" || t == "function");
2988
2991
  }
2989
2992
  t.exports = n;
2990
- })), Tn = /* @__PURE__ */ t(((e, t) => {
2991
- var n = Cn(), r = wn(), i = "[object AsyncFunction]", a = "[object Function]", o = "[object GeneratorFunction]", s = "[object Proxy]";
2993
+ })), wn = /* @__PURE__ */ t(((e, t) => {
2994
+ var n = Q(), r = Cn(), i = "[object AsyncFunction]", a = "[object Function]", o = "[object GeneratorFunction]", s = "[object Proxy]";
2992
2995
  function c(e) {
2993
2996
  if (!r(e)) return !1;
2994
2997
  var t = n(e);
2995
2998
  return t == a || t == o || t == i || t == s;
2996
2999
  }
2997
3000
  t.exports = c;
2998
- })), En = /* @__PURE__ */ t(((e, t) => {
3001
+ })), Tn = /* @__PURE__ */ t(((e, t) => {
2999
3002
  t.exports = Z()["__core-js_shared__"];
3000
- })), Dn = /* @__PURE__ */ t(((e, t) => {
3001
- var n = En(), r = function() {
3003
+ })), En = /* @__PURE__ */ t(((e, t) => {
3004
+ var n = Tn(), r = function() {
3002
3005
  var e = /[^.]+$/.exec(n && n.keys && n.keys.IE_PROTO || "");
3003
3006
  return e ? "Symbol(src)_1." + e : "";
3004
3007
  }();
@@ -3006,7 +3009,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3006
3009
  return !!r && r in e;
3007
3010
  }
3008
3011
  t.exports = i;
3009
- })), On = /* @__PURE__ */ t(((e, t) => {
3012
+ })), Dn = /* @__PURE__ */ t(((e, t) => {
3010
3013
  var n = Function.prototype.toString;
3011
3014
  function r(e) {
3012
3015
  if (e != null) {
@@ -3020,42 +3023,42 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3020
3023
  return "";
3021
3024
  }
3022
3025
  t.exports = r;
3023
- })), kn = /* @__PURE__ */ t(((e, t) => {
3024
- var n = Tn(), r = Dn(), i = wn(), a = On(), o = /[\\^$.*+?()[\]{}|]/g, s = /^\[object .+?Constructor\]$/, c = Function.prototype, l = Object.prototype, u = c.toString, d = l.hasOwnProperty, f = RegExp("^" + u.call(d).replace(o, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
3026
+ })), On = /* @__PURE__ */ t(((e, t) => {
3027
+ var n = wn(), r = En(), i = Cn(), a = Dn(), o = /[\\^$.*+?()[\]{}|]/g, s = /^\[object .+?Constructor\]$/, c = Function.prototype, l = Object.prototype, u = c.toString, d = l.hasOwnProperty, f = RegExp("^" + u.call(d).replace(o, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
3025
3028
  function p(e) {
3026
3029
  return !i(e) || r(e) ? !1 : (n(e) ? f : s).test(a(e));
3027
3030
  }
3028
3031
  t.exports = p;
3029
- })), An = /* @__PURE__ */ t(((e, t) => {
3032
+ })), kn = /* @__PURE__ */ t(((e, t) => {
3030
3033
  function n(e, t) {
3031
3034
  return e?.[t];
3032
3035
  }
3033
3036
  t.exports = n;
3034
- })), Q = /* @__PURE__ */ t(((e, t) => {
3035
- var n = kn(), r = An();
3037
+ })), $ = /* @__PURE__ */ t(((e, t) => {
3038
+ var n = On(), r = kn();
3036
3039
  function i(e, t) {
3037
3040
  var i = r(e, t);
3038
3041
  return n(i) ? i : void 0;
3039
3042
  }
3040
3043
  t.exports = i;
3044
+ })), An = /* @__PURE__ */ t(((e, t) => {
3045
+ t.exports = $()(Z(), "Map");
3041
3046
  })), jn = /* @__PURE__ */ t(((e, t) => {
3042
- t.exports = Q()(Z(), "Map");
3047
+ t.exports = $()(Object, "create");
3043
3048
  })), Mn = /* @__PURE__ */ t(((e, t) => {
3044
- t.exports = Q()(Object, "create");
3045
- })), Nn = /* @__PURE__ */ t(((e, t) => {
3046
- var n = Mn();
3049
+ var n = jn();
3047
3050
  function r() {
3048
3051
  this.__data__ = n ? n(null) : {}, this.size = 0;
3049
3052
  }
3050
3053
  t.exports = r;
3051
- })), Pn = /* @__PURE__ */ t(((e, t) => {
3054
+ })), Nn = /* @__PURE__ */ t(((e, t) => {
3052
3055
  function n(e) {
3053
3056
  var t = this.has(e) && delete this.__data__[e];
3054
3057
  return this.size -= +!!t, t;
3055
3058
  }
3056
3059
  t.exports = n;
3057
- })), Fn = /* @__PURE__ */ t(((e, t) => {
3058
- var n = Mn(), r = "__lodash_hash_undefined__", i = Object.prototype.hasOwnProperty;
3060
+ })), Pn = /* @__PURE__ */ t(((e, t) => {
3061
+ var n = jn(), r = "__lodash_hash_undefined__", i = Object.prototype.hasOwnProperty;
3059
3062
  function a(e) {
3060
3063
  var t = this.__data__;
3061
3064
  if (n) {
@@ -3065,22 +3068,22 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3065
3068
  return i.call(t, e) ? t[e] : void 0;
3066
3069
  }
3067
3070
  t.exports = a;
3068
- })), In = /* @__PURE__ */ t(((e, t) => {
3069
- var n = Mn(), r = Object.prototype.hasOwnProperty;
3071
+ })), Fn = /* @__PURE__ */ t(((e, t) => {
3072
+ var n = jn(), r = Object.prototype.hasOwnProperty;
3070
3073
  function i(e) {
3071
3074
  var t = this.__data__;
3072
3075
  return n ? t[e] !== void 0 : r.call(t, e);
3073
3076
  }
3074
3077
  t.exports = i;
3075
- })), Ln = /* @__PURE__ */ t(((e, t) => {
3076
- var n = Mn(), r = "__lodash_hash_undefined__";
3078
+ })), In = /* @__PURE__ */ t(((e, t) => {
3079
+ var n = jn(), r = "__lodash_hash_undefined__";
3077
3080
  function i(e, t) {
3078
3081
  var i = this.__data__;
3079
3082
  return this.size += +!this.has(e), i[e] = n && t === void 0 ? r : t, this;
3080
3083
  }
3081
3084
  t.exports = i;
3082
- })), Rn = /* @__PURE__ */ t(((e, t) => {
3083
- var n = Nn(), r = Pn(), i = Fn(), a = In(), o = Ln();
3085
+ })), Ln = /* @__PURE__ */ t(((e, t) => {
3086
+ var n = Mn(), r = Nn(), i = Pn(), a = Fn(), o = In();
3084
3087
  function s(e) {
3085
3088
  var t = -1, n = e == null ? 0 : e.length;
3086
3089
  for (this.clear(); ++t < n;) {
@@ -3089,8 +3092,8 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3089
3092
  }
3090
3093
  }
3091
3094
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
3092
- })), zn = /* @__PURE__ */ t(((e, t) => {
3093
- var n = Rn(), r = mn(), i = jn();
3095
+ })), Rn = /* @__PURE__ */ t(((e, t) => {
3096
+ var n = Ln(), r = X(), i = An();
3094
3097
  function a() {
3095
3098
  this.size = 0, this.__data__ = {
3096
3099
  hash: new n(),
@@ -3099,47 +3102,47 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3099
3102
  };
3100
3103
  }
3101
3104
  t.exports = a;
3102
- })), Bn = /* @__PURE__ */ t(((e, t) => {
3105
+ })), zn = /* @__PURE__ */ t(((e, t) => {
3103
3106
  function n(e) {
3104
3107
  var t = typeof e;
3105
3108
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
3106
3109
  }
3107
3110
  t.exports = n;
3108
- })), $ = /* @__PURE__ */ t(((e, t) => {
3109
- var n = Bn();
3111
+ })), Bn = /* @__PURE__ */ t(((e, t) => {
3112
+ var n = zn();
3110
3113
  function r(e, t) {
3111
3114
  var r = e.__data__;
3112
3115
  return n(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
3113
3116
  }
3114
3117
  t.exports = r;
3115
3118
  })), Vn = /* @__PURE__ */ t(((e, t) => {
3116
- var n = $();
3119
+ var n = Bn();
3117
3120
  function r(e) {
3118
3121
  var t = n(this, e).delete(e);
3119
3122
  return this.size -= +!!t, t;
3120
3123
  }
3121
3124
  t.exports = r;
3122
3125
  })), Hn = /* @__PURE__ */ t(((e, t) => {
3123
- var n = $();
3126
+ var n = Bn();
3124
3127
  function r(e) {
3125
3128
  return n(this, e).get(e);
3126
3129
  }
3127
3130
  t.exports = r;
3128
3131
  })), Un = /* @__PURE__ */ t(((e, t) => {
3129
- var n = $();
3132
+ var n = Bn();
3130
3133
  function r(e) {
3131
3134
  return n(this, e).has(e);
3132
3135
  }
3133
3136
  t.exports = r;
3134
3137
  })), Wn = /* @__PURE__ */ t(((e, t) => {
3135
- var n = $();
3138
+ var n = Bn();
3136
3139
  function r(e, t) {
3137
3140
  var r = n(this, e), i = r.size;
3138
3141
  return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
3139
3142
  }
3140
3143
  t.exports = r;
3141
3144
  })), Gn = /* @__PURE__ */ t(((e, t) => {
3142
- var n = zn(), r = Vn(), i = Hn(), a = Un(), o = Wn();
3145
+ var n = Rn(), r = Vn(), i = Hn(), a = Un(), o = Wn();
3143
3146
  function s(e) {
3144
3147
  var t = -1, n = e == null ? 0 : e.length;
3145
3148
  for (this.clear(); ++t < n;) {
@@ -3149,7 +3152,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3149
3152
  }
3150
3153
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
3151
3154
  })), Kn = /* @__PURE__ */ t(((e, t) => {
3152
- var n = mn(), r = jn(), i = Gn(), a = 200;
3155
+ var n = X(), r = An(), i = Gn(), a = 200;
3153
3156
  function o(e, t) {
3154
3157
  var o = this.__data__;
3155
3158
  if (o instanceof n) {
@@ -3161,7 +3164,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3161
3164
  }
3162
3165
  t.exports = o;
3163
3166
  })), qn = /* @__PURE__ */ t(((e, t) => {
3164
- var n = mn(), r = hn(), i = gn(), a = _n(), o = vn(), s = Kn();
3167
+ var n = X(), r = hn(), i = gn(), a = _n(), o = vn(), s = Kn();
3165
3168
  function c(e) {
3166
3169
  var t = this.__data__ = new n(e);
3167
3170
  this.size = t.size;
@@ -3246,7 +3249,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3246
3249
  }
3247
3250
  t.exports = n;
3248
3251
  })), rr = /* @__PURE__ */ t(((e, t) => {
3249
- var n = bn(), r = er(), i = ln(), a = $n(), o = tr(), s = nr(), c = 1, l = 2, u = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Map]", m = "[object Number]", h = "[object RegExp]", g = "[object Set]", _ = "[object String]", v = "[object Symbol]", y = "[object ArrayBuffer]", b = "[object DataView]", x = n ? n.prototype : void 0, S = x ? x.valueOf : void 0;
3252
+ var n = bn(), r = er(), i = un(), a = $n(), o = tr(), s = nr(), c = 1, l = 2, u = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Map]", m = "[object Number]", h = "[object RegExp]", g = "[object Set]", _ = "[object String]", v = "[object Symbol]", y = "[object ArrayBuffer]", b = "[object DataView]", x = n ? n.prototype : void 0, S = x ? x.valueOf : void 0;
3250
3253
  function C(e, t, n, x, C, w, T) {
3251
3254
  switch (n) {
3252
3255
  case b:
@@ -3321,7 +3324,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3321
3324
  }
3322
3325
  t.exports = n;
3323
3326
  })), fr = /* @__PURE__ */ t(((e, t) => {
3324
- var n = Cn(), r = dr(), i = "[object Arguments]";
3327
+ var n = Q(), r = dr(), i = "[object Arguments]";
3325
3328
  function a(e) {
3326
3329
  return r(e) && n(e) == i;
3327
3330
  }
@@ -3355,7 +3358,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3355
3358
  }
3356
3359
  t.exports = r;
3357
3360
  })), vr = /* @__PURE__ */ t(((e, t) => {
3358
- var n = Cn(), r = _r(), i = dr(), a = "[object Arguments]", o = "[object Array]", s = "[object Boolean]", c = "[object Date]", l = "[object Error]", u = "[object Function]", d = "[object Map]", f = "[object Number]", p = "[object Object]", m = "[object RegExp]", h = "[object Set]", g = "[object String]", _ = "[object WeakMap]", v = "[object ArrayBuffer]", y = "[object DataView]", b = "[object Float32Array]", x = "[object Float64Array]", S = "[object Int8Array]", C = "[object Int16Array]", w = "[object Int32Array]", T = "[object Uint8Array]", E = "[object Uint8ClampedArray]", D = "[object Uint16Array]", O = "[object Uint32Array]", k = {};
3361
+ var n = Q(), r = _r(), i = dr(), a = "[object Arguments]", o = "[object Array]", s = "[object Boolean]", c = "[object Date]", l = "[object Error]", u = "[object Function]", d = "[object Map]", f = "[object Number]", p = "[object Object]", m = "[object RegExp]", h = "[object Set]", g = "[object String]", _ = "[object WeakMap]", v = "[object ArrayBuffer]", y = "[object DataView]", b = "[object Float32Array]", x = "[object Float64Array]", S = "[object Int8Array]", C = "[object Int16Array]", w = "[object Int32Array]", T = "[object Uint8Array]", E = "[object Uint8ClampedArray]", D = "[object Uint16Array]", O = "[object Uint32Array]", k = {};
3359
3362
  k[b] = k[x] = k[S] = k[C] = k[w] = k[T] = k[E] = k[D] = k[O] = !0, k[a] = k[o] = k[v] = k[s] = k[y] = k[c] = k[l] = k[u] = k[d] = k[f] = k[p] = k[m] = k[h] = k[g] = k[_] = !1;
3360
3363
  function ee(e) {
3361
3364
  return i(e) && r(e.length) && !!k[n(e)];
@@ -3412,7 +3415,7 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3412
3415
  }
3413
3416
  t.exports = a;
3414
3417
  })), Dr = /* @__PURE__ */ t(((e, t) => {
3415
- var n = Tn(), r = _r();
3418
+ var n = wn(), r = _r();
3416
3419
  function i(e) {
3417
3420
  return e != null && r(e.length) && !n(e);
3418
3421
  }
@@ -3460,15 +3463,15 @@ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
3460
3463
  }
3461
3464
  t.exports = a;
3462
3465
  })), jr = /* @__PURE__ */ t(((e, t) => {
3463
- t.exports = Q()(Z(), "DataView");
3466
+ t.exports = $()(Z(), "DataView");
3464
3467
  })), Mr = /* @__PURE__ */ t(((e, t) => {
3465
- t.exports = Q()(Z(), "Promise");
3468
+ t.exports = $()(Z(), "Promise");
3466
3469
  })), Nr = /* @__PURE__ */ t(((e, t) => {
3467
- t.exports = Q()(Z(), "Set");
3470
+ t.exports = $()(Z(), "Set");
3468
3471
  })), Pr = /* @__PURE__ */ t(((e, t) => {
3469
- t.exports = Q()(Z(), "WeakMap");
3472
+ t.exports = $()(Z(), "WeakMap");
3470
3473
  })), Fr = /* @__PURE__ */ t(((e, t) => {
3471
- var n = jr(), r = jn(), i = Mr(), a = Nr(), o = Pr(), s = Cn(), c = On(), l = "[object Map]", u = "[object Object]", d = "[object Promise]", f = "[object Set]", p = "[object WeakMap]", m = "[object DataView]", h = c(n), g = c(r), _ = c(i), v = c(a), y = c(o), b = s;
3474
+ var n = jr(), r = An(), i = Mr(), a = Nr(), o = Pr(), s = Q(), c = Dn(), l = "[object Map]", u = "[object Object]", d = "[object Promise]", f = "[object Set]", p = "[object WeakMap]", m = "[object DataView]", h = c(n), g = c(r), _ = c(i), v = c(a), y = c(o), b = s;
3472
3475
  (n && b(new n(/* @__PURE__ */ new ArrayBuffer(1))) != m || r && b(new r()) != l || i && b(i.resolve()) != d || a && b(new a()) != f || o && b(new o()) != p) && (b = function(e) {
3473
3476
  var t = s(e), n = t == u ? e.constructor : void 0, r = n ? c(n) : "";
3474
3477
  if (r) switch (r) {
@@ -3585,4 +3588,4 @@ function Br(e, t) {
3585
3588
  };
3586
3589
  }
3587
3590
  //#endregion
3588
- export { en as a, nn as i, on as n, tn as o, sn as r, te as s, Br as t };
3591
+ export { tn as a, rn as i, sn as n, nn as o, cn as r, ne as s, Br as t };