hanap-labs 2.2.1 → 2.4.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,8 +1,81 @@
1
1
  import { a as e, i as t, o as n, s as r } from "./usePopup-DVekAEps.js";
2
2
  import * as i from "vue";
3
- import { computed as a, reactive as o, ref as s, unref as c, watch as l } from "vue";
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
+ //#region src/composables/ui/useTheme.ts
5
+ var f = "hanap-labs-theme", p = "hanap-labs-theme", m = "light", h = !1, g = {}, _ = null, v = null, y = l(m);
6
+ function b(e) {
7
+ if (typeof document > "u") return null;
8
+ let t = `; ${document.cookie}`.split(`; ${e}=`);
9
+ if (t.length === 2) {
10
+ let e = t.pop();
11
+ if (e) return e.split(";").shift() || null;
12
+ }
13
+ return null;
14
+ }
15
+ function x(e, t, n = {}) {
16
+ if (typeof document > "u") return;
17
+ let { path: r = "/", domain: i, secure: a, sameSite: o = "lax", maxAge: s = 31536e3 } = n, c = `${encodeURIComponent(e)}=${encodeURIComponent(t)}`;
18
+ r && (c += `; path=${r}`), i && (c += `; domain=${i}`), a && (c += "; secure"), o && (c += `; samesite=${o}`), s !== void 0 && (c += `; max-age=${s}`), document.cookie = c;
19
+ }
20
+ function S() {
21
+ return typeof window > "u" ? m : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
22
+ }
23
+ function C(e) {
24
+ if (typeof document > "u") return;
25
+ let t = document.documentElement;
26
+ t.classList.remove("light", "dark");
27
+ let n = e === "system" ? S() : e;
28
+ t.classList.add(n);
29
+ }
30
+ function w(e) {
31
+ if (typeof window > "u") return null;
32
+ let { storageKey: t = f, cookieKey: n = p } = e, r = b(n);
33
+ if (r && [
34
+ "light",
35
+ "dark",
36
+ "system"
37
+ ].includes(r)) return r;
38
+ let i = typeof localStorage < "u" ? localStorage.getItem(t) : null;
39
+ return i && [
40
+ "light",
41
+ "dark",
42
+ "system"
43
+ ].includes(i) ? i : null;
44
+ }
45
+ function T(e) {
46
+ y.value = e;
47
+ let { storageKey: t = f, cookieKey: n = p, cookieOptions: r } = g;
48
+ typeof localStorage < "u" && localStorage.setItem(t, e), x(n, e, r);
49
+ }
50
+ function E() {
51
+ y.value === "light" ? T("dark") : y.value === "dark" ? T("light") : T(S() === "light" ? "dark" : "light");
52
+ }
53
+ function D() {
54
+ y.value === "system" && C("system");
55
+ }
56
+ function O(e = {}) {
57
+ if (h) return;
58
+ g = e;
59
+ let { defaultMode: t = m } = e;
60
+ y.value = w(e) || t, C(y.value), typeof window < "u" && (_ = window.matchMedia("(prefers-color-scheme: dark)"), v = D, _.addEventListener("change", v)), d(y, (e) => {
61
+ C(e);
62
+ }), h = !0;
63
+ }
64
+ var k = a(() => y.value === "system" ? S() === "dark" : y.value === "dark"), ee = a(() => !k.value);
65
+ function te(e = {}) {
66
+ return o(() => {
67
+ O(e);
68
+ }), s(() => {}), {
69
+ mode: y,
70
+ isDark: k,
71
+ isLight: ee,
72
+ toggle: E,
73
+ setMode: T
74
+ };
75
+ }
76
+ //#endregion
4
77
  //#region node_modules/@tanstack/query-core/build/modern/subscribable.js
5
- var u = class {
78
+ var A = class {
6
79
  constructor() {
7
80
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
8
81
  }
@@ -16,7 +89,7 @@ var u = class {
16
89
  }
17
90
  onSubscribe() {}
18
91
  onUnsubscribe() {}
19
- }, d = new class extends u {
92
+ }, ne = new class extends A {
20
93
  #e;
21
94
  #t;
22
95
  #n;
@@ -53,13 +126,13 @@ var u = class {
53
126
  isFocused() {
54
127
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
55
128
  }
56
- }(), f = {
129
+ }(), re = {
57
130
  setTimeout: (e, t) => setTimeout(e, t),
58
131
  clearTimeout: (e) => clearTimeout(e),
59
132
  setInterval: (e, t) => setInterval(e, t),
60
133
  clearInterval: (e) => clearInterval(e)
61
- }, p = new class {
62
- #e = f;
134
+ }, j = new class {
135
+ #e = re;
63
136
  #t = !1;
64
137
  setTimeoutProvider(e) {
65
138
  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.", {
@@ -80,34 +153,34 @@ var u = class {
80
153
  this.#e.clearInterval(e);
81
154
  }
82
155
  }();
83
- function m(e) {
156
+ function ie(e) {
84
157
  setTimeout(e, 0);
85
158
  }
86
159
  //#endregion
87
160
  //#region node_modules/@tanstack/query-core/build/modern/utils.js
88
- var h = typeof window > "u" || "Deno" in globalThis;
89
- function g() {}
90
- function _(e, t) {
161
+ var ae = typeof window > "u" || "Deno" in globalThis;
162
+ function M() {}
163
+ function oe(e, t) {
91
164
  return typeof e == "function" ? e(t) : e;
92
165
  }
93
- function v(e) {
166
+ function se(e) {
94
167
  return typeof e == "number" && e >= 0 && e !== Infinity;
95
168
  }
96
- function y(e, t) {
169
+ function ce(e, t) {
97
170
  return Math.max(e + (t || 0) - Date.now(), 0);
98
171
  }
99
- function b(e, t) {
172
+ function N(e, t) {
100
173
  return typeof e == "function" ? e(t) : e;
101
174
  }
102
- function x(e, t) {
175
+ function P(e, t) {
103
176
  return typeof e == "function" ? e(t) : e;
104
177
  }
105
- function S(e, t) {
178
+ function le(e, t) {
106
179
  let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
107
180
  if (o) {
108
181
  if (r) {
109
- if (t.queryHash !== w(o, t.options)) return !1;
110
- } else if (!E(t.queryKey, o)) return !1;
182
+ if (t.queryHash !== de(o, t.options)) return !1;
183
+ } else if (!I(t.queryKey, o)) return !1;
111
184
  }
112
185
  if (n !== "all") {
113
186
  let e = t.isActive();
@@ -115,98 +188,98 @@ function S(e, t) {
115
188
  }
116
189
  return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
117
190
  }
118
- function C(e, t) {
191
+ function ue(e, t) {
119
192
  let { exact: n, status: r, predicate: i, mutationKey: a } = e;
120
193
  if (a) {
121
194
  if (!t.options.mutationKey) return !1;
122
195
  if (n) {
123
- if (T(t.options.mutationKey) !== T(a)) return !1;
124
- } else if (!E(t.options.mutationKey, a)) return !1;
196
+ if (F(t.options.mutationKey) !== F(a)) return !1;
197
+ } else if (!I(t.options.mutationKey, a)) return !1;
125
198
  }
126
199
  return !(r && t.state.status !== r || i && !i(t));
127
200
  }
128
- function w(e, t) {
129
- return (t?.queryKeyHashFn || T)(e);
201
+ function de(e, t) {
202
+ return (t?.queryKeyHashFn || F)(e);
130
203
  }
131
- function T(e) {
132
- return JSON.stringify(e, (e, t) => ee(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
204
+ 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);
133
206
  }
134
- function E(e, t) {
135
- return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => E(e[n], t[n])) : !1;
207
+ function I(e, t) {
208
+ 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;
136
209
  }
137
- var D = Object.prototype.hasOwnProperty;
138
- function O(e, t, n = 0) {
210
+ var fe = Object.prototype.hasOwnProperty;
211
+ function pe(e, t, n = 0) {
139
212
  if (e === t) return e;
140
213
  if (n > 500) return t;
141
- let r = A(e) && A(t);
142
- if (!r && !(ee(e) && ee(t))) return t;
214
+ let r = me(e) && me(t);
215
+ if (!r && !(he(e) && he(t))) return t;
143
216
  let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
144
217
  for (let l = 0; l < o; l++) {
145
218
  let o = r ? l : a[l], u = e[o], d = t[o];
146
219
  if (u === d) {
147
- s[o] = u, (r ? l < i : D.call(e, o)) && c++;
220
+ s[o] = u, (r ? l < i : fe.call(e, o)) && c++;
148
221
  continue;
149
222
  }
150
223
  if (u === null || d === null || typeof u != "object" || typeof d != "object") {
151
224
  s[o] = d;
152
225
  continue;
153
226
  }
154
- let f = O(u, d, n + 1);
227
+ let f = pe(u, d, n + 1);
155
228
  s[o] = f, f === u && c++;
156
229
  }
157
230
  return i === o && c === i ? e : s;
158
231
  }
159
- function k(e, t) {
232
+ function L(e, t) {
160
233
  if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
161
234
  for (let n in e) if (e[n] !== t[n]) return !1;
162
235
  return !0;
163
236
  }
164
- function A(e) {
237
+ function me(e) {
165
238
  return Array.isArray(e) && e.length === Object.keys(e).length;
166
239
  }
167
- function ee(e) {
168
- if (!te(e)) return !1;
240
+ function he(e) {
241
+ if (!ge(e)) return !1;
169
242
  let t = e.constructor;
170
243
  if (t === void 0) return !0;
171
244
  let n = t.prototype;
172
- return !(!te(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
245
+ return !(!ge(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
173
246
  }
174
- function te(e) {
247
+ function ge(e) {
175
248
  return Object.prototype.toString.call(e) === "[object Object]";
176
249
  }
177
- function ne(e) {
250
+ function _e(e) {
178
251
  return new Promise((t) => {
179
- p.setTimeout(t, e);
252
+ j.setTimeout(t, e);
180
253
  });
181
254
  }
182
- function re(e, t, n) {
255
+ function ve(e, t, n) {
183
256
  if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
184
257
  if (n.structuralSharing !== !1) {
185
258
  if (process.env.NODE_ENV !== "production") try {
186
- return O(e, t);
259
+ return pe(e, t);
187
260
  } catch (e) {
188
261
  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;
189
262
  }
190
- return O(e, t);
263
+ return pe(e, t);
191
264
  }
192
265
  return t;
193
266
  }
194
- function ie(e, t, n = 0) {
267
+ function ye(e, t, n = 0) {
195
268
  let r = [...e, t];
196
269
  return n && r.length > n ? r.slice(1) : r;
197
270
  }
198
- function ae(e, t, n = 0) {
271
+ function be(e, t, n = 0) {
199
272
  let r = [t, ...e];
200
273
  return n && r.length > n ? r.slice(0, -1) : r;
201
274
  }
202
- var j = /* @__PURE__ */ Symbol();
203
- function oe(e, t) {
204
- return process.env.NODE_ENV !== "production" && e.queryFn === j && 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 === j ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
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;
205
278
  }
206
- function se(e, t) {
279
+ function Ce(e, t) {
207
280
  return typeof e == "function" ? e(...t) : !!e;
208
281
  }
209
- function ce(e, t, n) {
282
+ function we(e, t, n) {
210
283
  let r = !1, i;
211
284
  return Object.defineProperty(e, "signal", {
212
285
  enumerable: !0,
@@ -215,8 +288,8 @@ function ce(e, t, n) {
215
288
  }
216
289
  //#endregion
217
290
  //#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
218
- var M = /* @__PURE__ */ (() => {
219
- let e = () => h;
291
+ var R = /* @__PURE__ */ (() => {
292
+ let e = () => ae;
220
293
  return {
221
294
  isServer() {
222
295
  return e();
@@ -228,7 +301,7 @@ var M = /* @__PURE__ */ (() => {
228
301
  })();
229
302
  //#endregion
230
303
  //#region node_modules/@tanstack/query-core/build/modern/thenable.js
231
- function le() {
304
+ function Te() {
232
305
  let e, t, n = new Promise((n, r) => {
233
306
  e = n, t = r;
234
307
  });
@@ -250,13 +323,13 @@ function le() {
250
323
  }
251
324
  //#endregion
252
325
  //#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
253
- var ue = m;
254
- function de() {
326
+ var Ee = ie;
327
+ function De() {
255
328
  let e = [], t = 0, n = (e) => {
256
329
  e();
257
330
  }, r = (e) => {
258
331
  e();
259
- }, i = ue, a = (r) => {
332
+ }, i = Ee, a = (r) => {
260
333
  t ? e.push(r) : i(() => {
261
334
  n(r);
262
335
  });
@@ -298,7 +371,7 @@ function de() {
298
371
  }
299
372
  };
300
373
  }
301
- var N = de(), P = new class extends u {
374
+ var z = De(), B = new class extends A {
302
375
  #e = !0;
303
376
  #t;
304
377
  #n;
@@ -332,38 +405,38 @@ var N = de(), P = new class extends u {
332
405
  }();
333
406
  //#endregion
334
407
  //#region node_modules/@tanstack/query-core/build/modern/retryer.js
335
- function fe(e) {
408
+ function Oe(e) {
336
409
  return Math.min(1e3 * 2 ** e, 3e4);
337
410
  }
338
- function pe(e) {
339
- return (e ?? "online") === "online" ? P.isOnline() : !0;
411
+ function ke(e) {
412
+ return (e ?? "online") === "online" ? B.isOnline() : !0;
340
413
  }
341
- var me = class extends Error {
414
+ var Ae = class extends Error {
342
415
  constructor(e) {
343
416
  super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
344
417
  }
345
418
  };
346
- function he(e) {
347
- let t = !1, n = 0, r, i = le(), a = () => i.status !== "pending", o = (t) => {
419
+ function je(e) {
420
+ let t = !1, n = 0, r, i = Te(), a = () => i.status !== "pending", o = (t) => {
348
421
  if (!a()) {
349
- let n = new me(t);
350
- p(n), e.onCancel?.(n);
422
+ let n = new Ae(t);
423
+ f(n), e.onCancel?.(n);
351
424
  }
352
425
  }, s = () => {
353
426
  t = !0;
354
427
  }, c = () => {
355
428
  t = !1;
356
- }, l = () => d.isFocused() && (e.networkMode === "always" || P.isOnline()) && e.canRun(), u = () => pe(e.networkMode) && e.canRun(), f = (e) => {
429
+ }, l = () => ne.isFocused() && (e.networkMode === "always" || B.isOnline()) && e.canRun(), u = () => ke(e.networkMode) && e.canRun(), d = (e) => {
357
430
  a() || (r?.(), i.resolve(e));
358
- }, p = (e) => {
431
+ }, f = (e) => {
359
432
  a() || (r?.(), i.reject(e));
360
- }, m = () => new Promise((t) => {
433
+ }, p = () => new Promise((t) => {
361
434
  r = (e) => {
362
435
  (a() || l()) && t(e);
363
436
  }, e.onPause?.();
364
437
  }).then(() => {
365
438
  r = void 0, a() || e.onContinue?.();
366
- }), h = () => {
439
+ }), m = () => {
367
440
  if (a()) return;
368
441
  let r, i = n === 0 ? e.initialPromise : void 0;
369
442
  try {
@@ -371,15 +444,15 @@ function he(e) {
371
444
  } catch (e) {
372
445
  r = Promise.reject(e);
373
446
  }
374
- Promise.resolve(r).then(f).catch((r) => {
447
+ Promise.resolve(r).then(d).catch((r) => {
375
448
  if (a()) return;
376
- let i = e.retry ?? (M.isServer() ? 0 : 3), o = e.retryDelay ?? fe, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
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);
377
450
  if (t || !c) {
378
- p(r);
451
+ f(r);
379
452
  return;
380
453
  }
381
- n++, e.onFail?.(n, r), ne(s).then(() => l() ? void 0 : m()).then(() => {
382
- t ? p(r) : h();
454
+ n++, e.onFail?.(n, r), _e(s).then(() => l() ? void 0 : p()).then(() => {
455
+ t ? f(r) : m();
383
456
  });
384
457
  });
385
458
  };
@@ -391,39 +464,39 @@ function he(e) {
391
464
  cancelRetry: s,
392
465
  continueRetry: c,
393
466
  canStart: u,
394
- start: () => (u() ? h() : m().then(h), i)
467
+ start: () => (u() ? m() : p().then(m), i)
395
468
  };
396
469
  }
397
470
  //#endregion
398
471
  //#region node_modules/@tanstack/query-core/build/modern/removable.js
399
- var ge = class {
472
+ var Me = class {
400
473
  #e;
401
474
  destroy() {
402
475
  this.clearGcTimeout();
403
476
  }
404
477
  scheduleGc() {
405
- this.clearGcTimeout(), v(this.gcTime) && (this.#e = p.setTimeout(() => {
478
+ this.clearGcTimeout(), se(this.gcTime) && (this.#e = j.setTimeout(() => {
406
479
  this.optionalRemove();
407
480
  }, this.gcTime));
408
481
  }
409
482
  updateGcTime(e) {
410
- this.gcTime = Math.max(this.gcTime || 0, e ?? (M.isServer() ? Infinity : 300 * 1e3));
483
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (R.isServer() ? Infinity : 300 * 1e3));
411
484
  }
412
485
  clearGcTimeout() {
413
- this.#e !== void 0 && (p.clearTimeout(this.#e), this.#e = void 0);
486
+ this.#e !== void 0 && (j.clearTimeout(this.#e), this.#e = void 0);
414
487
  }
415
488
  };
416
489
  //#endregion
417
490
  //#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
418
- function _e(e) {
491
+ function Ne(e) {
419
492
  return { onFetch: (t, n) => {
420
493
  let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
421
494
  pages: [],
422
495
  pageParams: []
423
496
  }, c = 0, l = async () => {
424
497
  let n = !1, l = (e) => {
425
- ce(e, () => t.signal, () => n = !0);
426
- }, u = oe(t.options, t.fetchOptions), d = async (e, r, i) => {
498
+ we(e, () => t.signal, () => n = !0);
499
+ }, u = Se(t.options, t.fetchOptions), d = async (e, r, i) => {
427
500
  if (n) return Promise.reject(t.signal.reason);
428
501
  if (r == null && e.pages.length) return Promise.resolve(e);
429
502
  let a = await u((() => {
@@ -435,14 +508,14 @@ function _e(e) {
435
508
  meta: t.options.meta
436
509
  };
437
510
  return l(e), e;
438
- })()), { maxPages: o } = t.options, s = i ? ae : ie;
511
+ })()), { maxPages: o } = t.options, s = i ? be : ye;
439
512
  return {
440
513
  pages: s(e.pages, a, o),
441
514
  pageParams: s(e.pageParams, r, o)
442
515
  };
443
516
  };
444
517
  if (i && a.length) {
445
- let e = i === "backward", t = e ? ye : ve, n = {
518
+ let e = i === "backward", t = e ? Fe : Pe, n = {
446
519
  pages: a,
447
520
  pageParams: o
448
521
  };
@@ -450,7 +523,7 @@ function _e(e) {
450
523
  } else {
451
524
  let t = e ?? a.length;
452
525
  do {
453
- let e = c === 0 ? o[0] ?? r.initialPageParam : ve(r, s);
526
+ let e = c === 0 ? o[0] ?? r.initialPageParam : Pe(r, s);
454
527
  if (c > 0 && e == null) break;
455
528
  s = await d(s, e), c++;
456
529
  } while (c < t);
@@ -465,16 +538,16 @@ function _e(e) {
465
538
  }, n) : t.fetchFn = l;
466
539
  } };
467
540
  }
468
- function ve(e, { pages: t, pageParams: n }) {
541
+ function Pe(e, { pages: t, pageParams: n }) {
469
542
  let r = t.length - 1;
470
543
  return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
471
544
  }
472
- function ye(e, { pages: t, pageParams: n }) {
545
+ function Fe(e, { pages: t, pageParams: n }) {
473
546
  return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
474
547
  }
475
548
  //#endregion
476
549
  //#region node_modules/@tanstack/query-core/build/modern/query.js
477
- var be = class extends ge {
550
+ var Ie = class extends Me {
478
551
  #e;
479
552
  #t;
480
553
  #n;
@@ -484,7 +557,7 @@ var be = class extends ge {
484
557
  #o;
485
558
  #s;
486
559
  constructor(e) {
487
- 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 = Ce(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
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();
488
561
  }
489
562
  get meta() {
490
563
  return this.options.meta;
@@ -500,15 +573,15 @@ var be = class extends ge {
500
573
  ...this.#o,
501
574
  ...e
502
575
  }, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
503
- let e = Ce(this.options);
504
- e.data !== void 0 && (this.setState(Se(e.data, e.dataUpdatedAt)), this.#t = e);
576
+ let e = ze(this.options);
577
+ e.data !== void 0 && (this.setState(Re(e.data, e.dataUpdatedAt)), this.#t = e);
505
578
  }
506
579
  }
507
580
  optionalRemove() {
508
581
  !this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
509
582
  }
510
583
  setData(e, t) {
511
- let n = re(this.state.data, e, this.options);
584
+ let n = ve(this.state.data, e, this.options);
512
585
  return this.#l({
513
586
  data: n,
514
587
  type: "success",
@@ -524,7 +597,7 @@ var be = class extends ge {
524
597
  }
525
598
  cancel(e) {
526
599
  let t = this.#a?.promise;
527
- return this.#a?.cancel(e), t ? t.then(g).catch(g) : Promise.resolve();
600
+ return this.#a?.cancel(e), t ? t.then(M).catch(M) : Promise.resolve();
528
601
  }
529
602
  destroy() {
530
603
  super.destroy(), this.cancel({ silent: !0 });
@@ -536,22 +609,22 @@ var be = class extends ge {
536
609
  this.destroy(), this.setState(this.resetState);
537
610
  }
538
611
  isActive() {
539
- return this.observers.some((e) => x(e.options.enabled, this) !== !1);
612
+ return this.observers.some((e) => P(e.options.enabled, this) !== !1);
540
613
  }
541
614
  isDisabled() {
542
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === j || !this.isFetched();
615
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === xe || !this.isFetched();
543
616
  }
544
617
  isFetched() {
545
618
  return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
546
619
  }
547
620
  isStatic() {
548
- return this.getObserversCount() > 0 ? this.observers.some((e) => b(e.options.staleTime, this) === "static") : !1;
621
+ return this.getObserversCount() > 0 ? this.observers.some((e) => N(e.options.staleTime, this) === "static") : !1;
549
622
  }
550
623
  isStale() {
551
624
  return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
552
625
  }
553
626
  isStaleByTime(e = 0) {
554
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !y(this.state.dataUpdatedAt, e);
627
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ce(this.state.dataUpdatedAt, e);
555
628
  }
556
629
  onFocus() {
557
630
  this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
@@ -598,7 +671,7 @@ var be = class extends ge {
598
671
  get: () => (this.#s = !0, n.signal)
599
672
  });
600
673
  }, i = () => {
601
- let e = oe(this.options, t), n = (() => {
674
+ let e = Se(this.options, t), n = (() => {
602
675
  let e = {
603
676
  client: this.#i,
604
677
  queryKey: this.queryKey,
@@ -618,14 +691,14 @@ var be = class extends ge {
618
691
  };
619
692
  return r(e), e;
620
693
  })();
621
- (this.#e === "infinite" ? _e(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({
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({
622
695
  type: "fetch",
623
696
  meta: a.fetchOptions?.meta
624
- }), this.#a = he({
697
+ }), this.#a = je({
625
698
  initialPromise: t?.initialPromise,
626
699
  fn: a.fetchFn,
627
700
  onCancel: (e) => {
628
- e instanceof me && e.revert && this.setState({
701
+ e instanceof Ae && e.revert && this.setState({
629
702
  ...this.#n,
630
703
  fetchStatus: "idle"
631
704
  }), n.abort();
@@ -653,7 +726,7 @@ var be = class extends ge {
653
726
  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`);
654
727
  return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
655
728
  } catch (e) {
656
- if (e instanceof me) {
729
+ if (e instanceof Ae) {
657
730
  if (e.silent) return this.#a.promise;
658
731
  if (e.revert) {
659
732
  if (this.state.data === void 0) throw e;
@@ -686,13 +759,13 @@ var be = class extends ge {
686
759
  };
687
760
  case "fetch": return {
688
761
  ...t,
689
- ...xe(t.data, this.options),
762
+ ...Le(t.data, this.options),
690
763
  fetchMeta: e.meta ?? null
691
764
  };
692
765
  case "success":
693
766
  let n = {
694
767
  ...t,
695
- ...Se(e.data, e.dataUpdatedAt),
768
+ ...Re(e.data, e.dataUpdatedAt),
696
769
  dataUpdateCount: t.dataUpdateCount + 1,
697
770
  ...!e.manual && {
698
771
  fetchStatus: "idle",
@@ -724,7 +797,7 @@ var be = class extends ge {
724
797
  };
725
798
  }
726
799
  };
727
- this.state = t(this.state), N.batch(() => {
800
+ this.state = t(this.state), z.batch(() => {
728
801
  this.observers.forEach((e) => {
729
802
  e.onQueryUpdate();
730
803
  }), this.#r.notify({
@@ -735,18 +808,18 @@ var be = class extends ge {
735
808
  });
736
809
  }
737
810
  };
738
- function xe(e, t) {
811
+ function Le(e, t) {
739
812
  return {
740
813
  fetchFailureCount: 0,
741
814
  fetchFailureReason: null,
742
- fetchStatus: pe(t.networkMode) ? "fetching" : "paused",
815
+ fetchStatus: ke(t.networkMode) ? "fetching" : "paused",
743
816
  ...e === void 0 && {
744
817
  error: null,
745
818
  status: "pending"
746
819
  }
747
820
  };
748
821
  }
749
- function Se(e, t) {
822
+ function Re(e, t) {
750
823
  return {
751
824
  data: e,
752
825
  dataUpdatedAt: t ?? Date.now(),
@@ -755,7 +828,7 @@ function Se(e, t) {
755
828
  status: "success"
756
829
  };
757
830
  }
758
- function Ce(e) {
831
+ function ze(e) {
759
832
  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;
760
833
  return {
761
834
  data: t,
@@ -774,9 +847,9 @@ function Ce(e) {
774
847
  }
775
848
  //#endregion
776
849
  //#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
777
- var we = class extends u {
850
+ var Be = class extends A {
778
851
  constructor(e, t) {
779
- super(), this.options = t, this.#e = e, this.#s = null, this.#o = le(), this.bindMethods(), this.setOptions(t);
852
+ super(), this.options = t, this.#e = e, this.#s = null, this.#o = Te(), this.bindMethods(), this.setOptions(t);
780
853
  }
781
854
  #e;
782
855
  #t = void 0;
@@ -797,36 +870,36 @@ var we = class extends u {
797
870
  this.refetch = this.refetch.bind(this);
798
871
  }
799
872
  onSubscribe() {
800
- this.listeners.size === 1 && (this.#t.addObserver(this), Ee(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
873
+ this.listeners.size === 1 && (this.#t.addObserver(this), He(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
801
874
  }
802
875
  onUnsubscribe() {
803
876
  this.hasListeners() || this.destroy();
804
877
  }
805
878
  shouldFetchOnReconnect() {
806
- return De(this.#t, this.options, this.options.refetchOnReconnect);
879
+ return Ue(this.#t, this.options, this.options.refetchOnReconnect);
807
880
  }
808
881
  shouldFetchOnWindowFocus() {
809
- return De(this.#t, this.options, this.options.refetchOnWindowFocus);
882
+ return Ue(this.#t, this.options, this.options.refetchOnWindowFocus);
810
883
  }
811
884
  destroy() {
812
885
  this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
813
886
  }
814
887
  setOptions(e) {
815
888
  let t = this.options, n = this.#t;
816
- if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof x(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
817
- this.#S(), this.#t.setOptions(this.options), t._defaulted && !k(this.options, t) && this.#e.getQueryCache().notify({
889
+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof P(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
890
+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !L(this.options, t) && this.#e.getQueryCache().notify({
818
891
  type: "observerOptionsUpdated",
819
892
  query: this.#t,
820
893
  observer: this
821
894
  });
822
895
  let r = this.hasListeners();
823
- r && Oe(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || x(this.options.enabled, this.#t) !== x(t.enabled, this.#t) || b(this.options.staleTime, this.#t) !== b(t.staleTime, this.#t)) && this.#g();
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();
824
897
  let i = this.#_();
825
- r && (this.#t !== n || x(this.options.enabled, this.#t) !== x(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
898
+ r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
826
899
  }
827
900
  getOptimisticResult(e) {
828
901
  let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
829
- return ke(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
902
+ return Ke(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
830
903
  }
831
904
  getCurrentResult() {
832
905
  return this.#r;
@@ -856,14 +929,14 @@ var we = class extends u {
856
929
  #h(e) {
857
930
  this.#S();
858
931
  let t = this.#t.fetch(this.options, e);
859
- return e?.throwOnError || (t = t.catch(g)), t;
932
+ return e?.throwOnError || (t = t.catch(M)), t;
860
933
  }
861
934
  #g() {
862
935
  this.#b();
863
- let e = b(this.options.staleTime, this.#t);
864
- if (M.isServer() || this.#r.isStale || !v(e)) return;
865
- let t = y(this.#r.dataUpdatedAt, e) + 1;
866
- this.#d = p.setTimeout(() => {
936
+ 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;
939
+ this.#d = j.setTimeout(() => {
867
940
  this.#r.isStale || this.updateResult();
868
941
  }, t);
869
942
  }
@@ -871,26 +944,26 @@ var we = class extends u {
871
944
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
872
945
  }
873
946
  #v(e) {
874
- this.#x(), this.#p = e, !(M.isServer() || x(this.options.enabled, this.#t) === !1 || !v(this.#p) || this.#p === 0) && (this.#f = p.setInterval(() => {
875
- (this.options.refetchIntervalInBackground || d.isFocused()) && this.#h();
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();
876
949
  }, this.#p));
877
950
  }
878
951
  #y() {
879
952
  this.#g(), this.#v(this.#_());
880
953
  }
881
954
  #b() {
882
- this.#d !== void 0 && (p.clearTimeout(this.#d), this.#d = void 0);
955
+ this.#d !== void 0 && (j.clearTimeout(this.#d), this.#d = void 0);
883
956
  }
884
957
  #x() {
885
- this.#f !== void 0 && (p.clearInterval(this.#f), this.#f = void 0);
958
+ this.#f !== void 0 && (j.clearInterval(this.#f), this.#f = void 0);
886
959
  }
887
960
  createResult(e, t) {
888
961
  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;
889
962
  if (t._optimisticResults) {
890
- let i = this.hasListeners(), a = !i && Ee(e, t), o = i && Oe(e, n, t, r);
963
+ let i = this.hasListeners(), a = !i && He(e, t), o = i && We(e, n, t, r);
891
964
  (a || o) && (l = {
892
965
  ...l,
893
- ...xe(c.data, e.options)
966
+ ...Le(c.data, e.options)
894
967
  }), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
895
968
  }
896
969
  let { error: f, errorUpdatedAt: p, status: m } = l;
@@ -898,16 +971,16 @@ var we = class extends u {
898
971
  let h = !1;
899
972
  if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
900
973
  let e;
901
- 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 = re(i?.data, e, t), u = !0);
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);
902
975
  }
903
976
  if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
904
977
  else try {
905
- this.#c = t.select, d = t.select(d), d = re(i?.data, d, t), this.#l = d, this.#s = null;
978
+ this.#c = t.select, d = t.select(d), d = ve(i?.data, d, t), this.#l = d, this.#s = null;
906
979
  } catch (e) {
907
980
  this.#s = e;
908
981
  }
909
982
  this.#s && (f = this.#s, d = this.#l, p = Date.now(), m = "error");
910
- let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error", y = _ && g, b = d !== void 0, S = {
983
+ let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error", y = _ && g, b = d !== void 0, x = {
911
984
  status: m,
912
985
  fetchStatus: l.fetchStatus,
913
986
  isPending: _,
@@ -930,34 +1003,34 @@ var we = class extends u {
930
1003
  isPaused: l.fetchStatus === "paused",
931
1004
  isPlaceholderData: u,
932
1005
  isRefetchError: v && b,
933
- isStale: F(e, t),
1006
+ isStale: Ge(e, t),
934
1007
  refetch: this.refetch,
935
1008
  promise: this.#o,
936
- isEnabled: x(t.enabled, e) !== !1
1009
+ isEnabled: P(t.enabled, e) !== !1
937
1010
  };
938
1011
  if (this.options.experimental_prefetchInRender) {
939
- let t = S.data !== void 0, r = S.status === "error" && !t, i = (e) => {
940
- r ? e.reject(S.error) : t && e.resolve(S.data);
1012
+ let t = x.data !== void 0, r = x.status === "error" && !t, i = (e) => {
1013
+ r ? e.reject(x.error) : t && e.resolve(x.data);
941
1014
  }, a = () => {
942
- i(this.#o = S.promise = le());
1015
+ i(this.#o = x.promise = Te());
943
1016
  }, o = this.#o;
944
1017
  switch (o.status) {
945
1018
  case "pending":
946
1019
  e.queryHash === n.queryHash && i(o);
947
1020
  break;
948
1021
  case "fulfilled":
949
- (r || S.data !== o.value) && a();
1022
+ (r || x.data !== o.value) && a();
950
1023
  break;
951
1024
  case "rejected":
952
- (!r || S.error !== o.reason) && a();
1025
+ (!r || x.error !== o.reason) && a();
953
1026
  break;
954
1027
  }
955
1028
  }
956
- return S;
1029
+ return x;
957
1030
  }
958
1031
  updateResult() {
959
1032
  let e = this.#r, t = this.createResult(this.#t, this.options);
960
- this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !k(t, e) && (this.#r = t, this.#C({ listeners: (() => {
1033
+ this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !L(t, e) && (this.#r = t, this.#C({ listeners: (() => {
961
1034
  if (!e) return !0;
962
1035
  let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
963
1036
  if (n === "all" || !n && !this.#m.size) return !0;
@@ -978,7 +1051,7 @@ var we = class extends u {
978
1051
  this.updateResult(), this.hasListeners() && this.#y();
979
1052
  }
980
1053
  #C(e) {
981
- N.batch(() => {
1054
+ z.batch(() => {
982
1055
  e.listeners && this.listeners.forEach((e) => {
983
1056
  e(this.#r);
984
1057
  }), this.#e.getQueryCache().notify({
@@ -988,37 +1061,37 @@ var we = class extends u {
988
1061
  });
989
1062
  }
990
1063
  };
991
- function Te(e, t) {
992
- return x(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && x(t.retryOnMount, e) === !1);
1064
+ function Ve(e, t) {
1065
+ return P(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && P(t.retryOnMount, e) === !1);
993
1066
  }
994
- function Ee(e, t) {
995
- return Te(e, t) || e.state.data !== void 0 && De(e, t, t.refetchOnMount);
1067
+ function He(e, t) {
1068
+ return Ve(e, t) || e.state.data !== void 0 && Ue(e, t, t.refetchOnMount);
996
1069
  }
997
- function De(e, t, n) {
998
- if (x(t.enabled, e) !== !1 && b(t.staleTime, e) !== "static") {
1070
+ function Ue(e, t, n) {
1071
+ if (P(t.enabled, e) !== !1 && N(t.staleTime, e) !== "static") {
999
1072
  let r = typeof n == "function" ? n(e) : n;
1000
- return r === "always" || r !== !1 && F(e, t);
1073
+ return r === "always" || r !== !1 && Ge(e, t);
1001
1074
  }
1002
1075
  return !1;
1003
1076
  }
1004
- function Oe(e, t, n, r) {
1005
- return (e !== t || x(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && F(e, n);
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);
1006
1079
  }
1007
- function F(e, t) {
1008
- return x(t.enabled, e) !== !1 && e.isStaleByTime(b(t.staleTime, e));
1080
+ function Ge(e, t) {
1081
+ return P(t.enabled, e) !== !1 && e.isStaleByTime(N(t.staleTime, e));
1009
1082
  }
1010
- function ke(e, t) {
1011
- return !k(e.getCurrentResult(), t);
1083
+ function Ke(e, t) {
1084
+ return !L(e.getCurrentResult(), t);
1012
1085
  }
1013
1086
  //#endregion
1014
1087
  //#region node_modules/@tanstack/query-core/build/modern/mutation.js
1015
- var Ae = class extends ge {
1088
+ var qe = class extends Me {
1016
1089
  #e;
1017
1090
  #t;
1018
1091
  #n;
1019
1092
  #r;
1020
1093
  constructor(e) {
1021
- 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();
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();
1022
1095
  }
1023
1096
  setOptions(e) {
1024
1097
  this.options = e, this.updateGcTime(this.options.gcTime);
@@ -1054,7 +1127,7 @@ var Ae = class extends ge {
1054
1127
  meta: this.options.meta,
1055
1128
  mutationKey: this.options.mutationKey
1056
1129
  };
1057
- this.#r = he({
1130
+ this.#r = je({
1058
1131
  fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
1059
1132
  onFail: (e, t) => {
1060
1133
  this.#i({
@@ -1171,7 +1244,7 @@ var Ae = class extends ge {
1171
1244
  };
1172
1245
  }
1173
1246
  };
1174
- this.state = t(this.state), N.batch(() => {
1247
+ this.state = t(this.state), z.batch(() => {
1175
1248
  this.#t.forEach((t) => {
1176
1249
  t.onMutationUpdate(e);
1177
1250
  }), this.#n.notify({
@@ -1182,7 +1255,7 @@ var Ae = class extends ge {
1182
1255
  });
1183
1256
  }
1184
1257
  };
1185
- function je() {
1258
+ function Je() {
1186
1259
  return {
1187
1260
  context: void 0,
1188
1261
  data: void 0,
@@ -1197,7 +1270,7 @@ function je() {
1197
1270
  }
1198
1271
  //#endregion
1199
1272
  //#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
1200
- var Me = class extends u {
1273
+ var Ye = class extends A {
1201
1274
  constructor(e = {}) {
1202
1275
  super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
1203
1276
  }
@@ -1205,7 +1278,7 @@ var Me = class extends u {
1205
1278
  #t;
1206
1279
  #n;
1207
1280
  build(e, t, n) {
1208
- let r = new Ae({
1281
+ let r = new qe({
1209
1282
  client: e,
1210
1283
  mutationCache: this,
1211
1284
  mutationId: ++this.#n,
@@ -1216,7 +1289,7 @@ var Me = class extends u {
1216
1289
  }
1217
1290
  add(e) {
1218
1291
  this.#e.add(e);
1219
- let t = I(e);
1292
+ let t = V(e);
1220
1293
  if (typeof t == "string") {
1221
1294
  let n = this.#t.get(t);
1222
1295
  n ? n.push(e) : this.#t.set(t, [e]);
@@ -1228,7 +1301,7 @@ var Me = class extends u {
1228
1301
  }
1229
1302
  remove(e) {
1230
1303
  if (this.#e.delete(e)) {
1231
- let t = I(e);
1304
+ let t = V(e);
1232
1305
  if (typeof t == "string") {
1233
1306
  let n = this.#t.get(t);
1234
1307
  if (n) if (n.length > 1) {
@@ -1243,18 +1316,18 @@ var Me = class extends u {
1243
1316
  });
1244
1317
  }
1245
1318
  canRun(e) {
1246
- let t = I(e);
1319
+ let t = V(e);
1247
1320
  if (typeof t == "string") {
1248
1321
  let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
1249
1322
  return !n || n === e;
1250
1323
  } else return !0;
1251
1324
  }
1252
1325
  runNext(e) {
1253
- let t = I(e);
1326
+ let t = V(e);
1254
1327
  return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
1255
1328
  }
1256
1329
  clear() {
1257
- N.batch(() => {
1330
+ z.batch(() => {
1258
1331
  this.#e.forEach((e) => {
1259
1332
  this.notify({
1260
1333
  type: "removed",
@@ -1271,13 +1344,13 @@ var Me = class extends u {
1271
1344
  exact: !0,
1272
1345
  ...e
1273
1346
  };
1274
- return this.getAll().find((e) => C(t, e));
1347
+ return this.getAll().find((e) => ue(t, e));
1275
1348
  }
1276
1349
  findAll(e = {}) {
1277
- return this.getAll().filter((t) => C(e, t));
1350
+ return this.getAll().filter((t) => ue(e, t));
1278
1351
  }
1279
1352
  notify(e) {
1280
- N.batch(() => {
1353
+ z.batch(() => {
1281
1354
  this.listeners.forEach((t) => {
1282
1355
  t(e);
1283
1356
  });
@@ -1285,15 +1358,15 @@ var Me = class extends u {
1285
1358
  }
1286
1359
  resumePausedMutations() {
1287
1360
  let e = this.getAll().filter((e) => e.state.isPaused);
1288
- return N.batch(() => Promise.all(e.map((e) => e.continue().catch(g))));
1361
+ return z.batch(() => Promise.all(e.map((e) => e.continue().catch(M))));
1289
1362
  }
1290
1363
  };
1291
- function I(e) {
1364
+ function V(e) {
1292
1365
  return e.options.scope?.id;
1293
1366
  }
1294
1367
  //#endregion
1295
1368
  //#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js
1296
- var Ne = class extends u {
1369
+ var Xe = class extends A {
1297
1370
  #e;
1298
1371
  #t = void 0;
1299
1372
  #n;
@@ -1306,11 +1379,11 @@ var Ne = class extends u {
1306
1379
  }
1307
1380
  setOptions(e) {
1308
1381
  let t = this.options;
1309
- this.options = this.#e.defaultMutationOptions(e), k(this.options, t) || this.#e.getMutationCache().notify({
1382
+ this.options = this.#e.defaultMutationOptions(e), L(this.options, t) || this.#e.getMutationCache().notify({
1310
1383
  type: "observerOptionsUpdated",
1311
1384
  mutation: this.#n,
1312
1385
  observer: this
1313
- }), t?.mutationKey && this.options.mutationKey && T(t.mutationKey) !== T(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
1386
+ }), t?.mutationKey && this.options.mutationKey && F(t.mutationKey) !== F(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
1314
1387
  }
1315
1388
  onUnsubscribe() {
1316
1389
  this.hasListeners() || this.#n?.removeObserver(this);
@@ -1328,7 +1401,7 @@ var Ne = class extends u {
1328
1401
  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);
1329
1402
  }
1330
1403
  #i() {
1331
- let e = this.#n?.state ?? je();
1404
+ let e = this.#n?.state ?? Je();
1332
1405
  this.#t = {
1333
1406
  ...e,
1334
1407
  isPending: e.status === "pending",
@@ -1340,7 +1413,7 @@ var Ne = class extends u {
1340
1413
  };
1341
1414
  }
1342
1415
  #a(e) {
1343
- N.batch(() => {
1416
+ z.batch(() => {
1344
1417
  if (this.#r && this.hasListeners()) {
1345
1418
  let t = this.#t.variables, n = this.#t.context, r = {
1346
1419
  client: this.#e,
@@ -1376,14 +1449,14 @@ var Ne = class extends u {
1376
1449
  });
1377
1450
  });
1378
1451
  }
1379
- }, Pe = class extends u {
1452
+ }, Ze = class extends A {
1380
1453
  constructor(e = {}) {
1381
1454
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
1382
1455
  }
1383
1456
  #e;
1384
1457
  build(e, t, n) {
1385
- let r = t.queryKey, i = t.queryHash ?? w(r, t), a = this.get(i);
1386
- return a || (a = new be({
1458
+ let r = t.queryKey, i = t.queryHash ?? de(r, t), a = this.get(i);
1459
+ return a || (a = new Ie({
1387
1460
  client: e,
1388
1461
  queryKey: r,
1389
1462
  queryHash: i,
@@ -1406,7 +1479,7 @@ var Ne = class extends u {
1406
1479
  }));
1407
1480
  }
1408
1481
  clear() {
1409
- N.batch(() => {
1482
+ z.batch(() => {
1410
1483
  this.getAll().forEach((e) => {
1411
1484
  this.remove(e);
1412
1485
  });
@@ -1423,34 +1496,34 @@ var Ne = class extends u {
1423
1496
  exact: !0,
1424
1497
  ...e
1425
1498
  };
1426
- return this.getAll().find((e) => S(t, e));
1499
+ return this.getAll().find((e) => le(t, e));
1427
1500
  }
1428
1501
  findAll(e = {}) {
1429
1502
  let t = this.getAll();
1430
- return Object.keys(e).length > 0 ? t.filter((t) => S(e, t)) : t;
1503
+ return Object.keys(e).length > 0 ? t.filter((t) => le(e, t)) : t;
1431
1504
  }
1432
1505
  notify(e) {
1433
- N.batch(() => {
1506
+ z.batch(() => {
1434
1507
  this.listeners.forEach((t) => {
1435
1508
  t(e);
1436
1509
  });
1437
1510
  });
1438
1511
  }
1439
1512
  onFocus() {
1440
- N.batch(() => {
1513
+ z.batch(() => {
1441
1514
  this.getAll().forEach((e) => {
1442
1515
  e.onFocus();
1443
1516
  });
1444
1517
  });
1445
1518
  }
1446
1519
  onOnline() {
1447
- N.batch(() => {
1520
+ z.batch(() => {
1448
1521
  this.getAll().forEach((e) => {
1449
1522
  e.onOnline();
1450
1523
  });
1451
1524
  });
1452
1525
  }
1453
- }, Fe = class {
1526
+ }, Qe = class {
1454
1527
  #e;
1455
1528
  #t;
1456
1529
  #n;
@@ -1460,12 +1533,12 @@ var Ne = class extends u {
1460
1533
  #o;
1461
1534
  #s;
1462
1535
  constructor(e = {}) {
1463
- this.#e = e.queryCache || new Pe(), this.#t = e.mutationCache || new Me(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
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;
1464
1537
  }
1465
1538
  mount() {
1466
- this.#a++, this.#a === 1 && (this.#o = d.subscribe(async (e) => {
1539
+ this.#a++, this.#a === 1 && (this.#o = ne.subscribe(async (e) => {
1467
1540
  e && (await this.resumePausedMutations(), this.#e.onFocus());
1468
- }), this.#s = P.subscribe(async (e) => {
1541
+ }), this.#s = B.subscribe(async (e) => {
1469
1542
  e && (await this.resumePausedMutations(), this.#e.onOnline());
1470
1543
  }));
1471
1544
  }
@@ -1490,20 +1563,20 @@ var Ne = class extends u {
1490
1563
  }
1491
1564
  ensureQueryData(e) {
1492
1565
  let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
1493
- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(b(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
1566
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(N(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
1494
1567
  }
1495
1568
  getQueriesData(e) {
1496
1569
  return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
1497
1570
  }
1498
1571
  setQueryData(e, t, n) {
1499
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = _(t, i);
1572
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = oe(t, i);
1500
1573
  if (a !== void 0) return this.#e.build(this, r).setData(a, {
1501
1574
  ...n,
1502
1575
  manual: !0
1503
1576
  });
1504
1577
  }
1505
1578
  setQueriesData(e, t, n) {
1506
- return N.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
1579
+ return z.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
1507
1580
  }
1508
1581
  getQueryState(e) {
1509
1582
  let t = this.defaultQueryOptions({ queryKey: e });
@@ -1511,7 +1584,7 @@ var Ne = class extends u {
1511
1584
  }
1512
1585
  removeQueries(e) {
1513
1586
  let t = this.#e;
1514
- N.batch(() => {
1587
+ z.batch(() => {
1515
1588
  t.findAll(e).forEach((e) => {
1516
1589
  t.remove(e);
1517
1590
  });
@@ -1519,7 +1592,7 @@ var Ne = class extends u {
1519
1592
  }
1520
1593
  resetQueries(e, t) {
1521
1594
  let n = this.#e;
1522
- return N.batch(() => (n.findAll(e).forEach((e) => {
1595
+ return z.batch(() => (n.findAll(e).forEach((e) => {
1523
1596
  e.reset();
1524
1597
  }), this.refetchQueries({
1525
1598
  type: "active",
@@ -1530,11 +1603,11 @@ var Ne = class extends u {
1530
1603
  let n = {
1531
1604
  revert: !0,
1532
1605
  ...t
1533
- }, r = N.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
1534
- return Promise.all(r).then(g).catch(g);
1606
+ }, r = z.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
1607
+ return Promise.all(r).then(M).catch(M);
1535
1608
  }
1536
1609
  invalidateQueries(e, t = {}) {
1537
- return N.batch(() => (this.#e.findAll(e).forEach((e) => {
1610
+ return z.batch(() => (this.#e.findAll(e).forEach((e) => {
1538
1611
  e.invalidate();
1539
1612
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
1540
1613
  ...e,
@@ -1545,32 +1618,32 @@ var Ne = class extends u {
1545
1618
  let n = {
1546
1619
  ...t,
1547
1620
  cancelRefetch: t.cancelRefetch ?? !0
1548
- }, r = N.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1621
+ }, r = z.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1549
1622
  let t = e.fetch(void 0, n);
1550
- return n.throwOnError || (t = t.catch(g)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
1623
+ return n.throwOnError || (t = t.catch(M)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
1551
1624
  }));
1552
- return Promise.all(r).then(g);
1625
+ return Promise.all(r).then(M);
1553
1626
  }
1554
1627
  fetchQuery(e) {
1555
1628
  let t = this.defaultQueryOptions(e);
1556
1629
  t.retry === void 0 && (t.retry = !1);
1557
1630
  let n = this.#e.build(this, t);
1558
- return n.isStaleByTime(b(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
1631
+ return n.isStaleByTime(N(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
1559
1632
  }
1560
1633
  prefetchQuery(e) {
1561
- return this.fetchQuery(e).then(g).catch(g);
1634
+ return this.fetchQuery(e).then(M).catch(M);
1562
1635
  }
1563
1636
  fetchInfiniteQuery(e) {
1564
1637
  return e._type = "infinite", this.fetchQuery(e);
1565
1638
  }
1566
1639
  prefetchInfiniteQuery(e) {
1567
- return this.fetchInfiniteQuery(e).then(g).catch(g);
1640
+ return this.fetchInfiniteQuery(e).then(M).catch(M);
1568
1641
  }
1569
1642
  ensureInfiniteQueryData(e) {
1570
1643
  return e._type = "infinite", this.ensureQueryData(e);
1571
1644
  }
1572
1645
  resumePausedMutations() {
1573
- return P.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1646
+ return B.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1574
1647
  }
1575
1648
  getQueryCache() {
1576
1649
  return this.#e;
@@ -1585,7 +1658,7 @@ var Ne = class extends u {
1585
1658
  this.#n = e;
1586
1659
  }
1587
1660
  setQueryDefaults(e, t) {
1588
- this.#r.set(T(e), {
1661
+ this.#r.set(F(e), {
1589
1662
  queryKey: e,
1590
1663
  defaultOptions: t
1591
1664
  });
@@ -1593,11 +1666,11 @@ var Ne = class extends u {
1593
1666
  getQueryDefaults(e) {
1594
1667
  let t = [...this.#r.values()], n = {};
1595
1668
  return t.forEach((t) => {
1596
- E(e, t.queryKey) && Object.assign(n, t.defaultOptions);
1669
+ I(e, t.queryKey) && Object.assign(n, t.defaultOptions);
1597
1670
  }), n;
1598
1671
  }
1599
1672
  setMutationDefaults(e, t) {
1600
- this.#i.set(T(e), {
1673
+ this.#i.set(F(e), {
1601
1674
  mutationKey: e,
1602
1675
  defaultOptions: t
1603
1676
  });
@@ -1605,7 +1678,7 @@ var Ne = class extends u {
1605
1678
  getMutationDefaults(e) {
1606
1679
  let t = [...this.#i.values()], n = {};
1607
1680
  return t.forEach((t) => {
1608
- E(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
1681
+ I(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
1609
1682
  }), n;
1610
1683
  }
1611
1684
  defaultQueryOptions(e) {
@@ -1616,7 +1689,7 @@ var Ne = class extends u {
1616
1689
  ...e,
1617
1690
  _defaulted: !0
1618
1691
  };
1619
- return t.queryHash ||= w(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 === j && (t.enabled = !1), t;
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;
1620
1693
  }
1621
1694
  defaultMutationOptions(e) {
1622
1695
  return e?._defaulted ? e : {
@@ -1629,22 +1702,22 @@ var Ne = class extends u {
1629
1702
  clear() {
1630
1703
  this.#e.clear(), this.#t.clear();
1631
1704
  }
1632
- }, L = /* @__PURE__ */ e({
1705
+ }, H = /* @__PURE__ */ e({
1633
1706
  Vue: () => i,
1634
1707
  Vue2: () => void 0,
1635
- del: () => ze,
1636
- install: () => Le,
1708
+ del: () => nt,
1709
+ install: () => et,
1637
1710
  isVue2: () => !1,
1638
1711
  isVue3: () => !0,
1639
- set: () => Re
1712
+ set: () => tt
1640
1713
  });
1641
- import * as Ie from "vue";
1642
- n(L, Ie);
1643
- function Le() {}
1644
- function Re(e, t, n) {
1714
+ import * as $e from "vue";
1715
+ n(H, $e);
1716
+ function et() {}
1717
+ function tt(e, t, n) {
1645
1718
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
1646
1719
  }
1647
- function ze(e, t) {
1720
+ function nt(e, t) {
1648
1721
  if (Array.isArray(e)) {
1649
1722
  e.splice(t, 1);
1650
1723
  return;
@@ -1653,113 +1726,113 @@ function ze(e, t) {
1653
1726
  }
1654
1727
  //#endregion
1655
1728
  //#region node_modules/@tanstack/vue-query/build/modern/utils.js
1656
- var Be = "VUE_QUERY_CLIENT";
1657
- function Ve(e) {
1658
- return `${Be}${e ? `:${e}` : ""}`;
1729
+ var rt = "VUE_QUERY_CLIENT";
1730
+ function it(e) {
1731
+ return `${rt}${e ? `:${e}` : ""}`;
1659
1732
  }
1660
- function He(e, t) {
1733
+ function at(e, t) {
1661
1734
  Object.keys(e).forEach((n) => {
1662
1735
  e[n] = t[n];
1663
1736
  });
1664
1737
  }
1665
- function Ue(e, t, n = "", r = 0) {
1738
+ function ot(e, t, n = "", r = 0) {
1666
1739
  if (t) {
1667
1740
  let i = t(e, n, r);
1668
- if (i === void 0 && (0, L.isRef)(e) || i !== void 0) return i;
1741
+ if (i === void 0 && (0, H.isRef)(e) || i !== void 0) return i;
1669
1742
  }
1670
- if (Array.isArray(e)) return e.map((e, n) => Ue(e, t, String(n), r + 1));
1671
- if (typeof e == "object" && Ge(e)) {
1672
- let n = Object.entries(e).map(([e, n]) => [e, Ue(n, t, e, r + 1)]);
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)]);
1673
1746
  return Object.fromEntries(n);
1674
1747
  }
1675
1748
  return e;
1676
1749
  }
1677
- function We(e, t) {
1678
- return Ue(e, t);
1750
+ function st(e, t) {
1751
+ return ot(e, t);
1679
1752
  }
1680
- function R(e, t = !1) {
1681
- return We(e, (e, n, r) => {
1682
- if (r === 1 && n === "queryKey") return R(e, !0);
1683
- if (t && Ke(e)) return R(e(), t);
1684
- if ((0, L.isRef)(e)) return R((0, L.unref)(e), t);
1753
+ function U(e, t = !1) {
1754
+ return st(e, (e, n, r) => {
1755
+ if (r === 1 && n === "queryKey") return U(e, !0);
1756
+ if (t && lt(e)) return U(e(), t);
1757
+ if ((0, H.isRef)(e)) return U((0, H.unref)(e), t);
1685
1758
  });
1686
1759
  }
1687
- function Ge(e) {
1760
+ function ct(e) {
1688
1761
  if (Object.prototype.toString.call(e) !== "[object Object]") return !1;
1689
1762
  let t = Object.getPrototypeOf(e);
1690
1763
  return t === null || t === Object.prototype;
1691
1764
  }
1692
- function Ke(e) {
1765
+ function lt(e) {
1693
1766
  return typeof e == "function";
1694
1767
  }
1695
1768
  //#endregion
1696
1769
  //#region node_modules/@tanstack/vue-query/build/modern/useQueryClient.js
1697
- function qe(e = "") {
1698
- if (!(0, L.hasInjectionContext)()) throw Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");
1699
- let t = (0, L.inject)(Ve(e));
1770
+ function ut(e = "") {
1771
+ 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));
1700
1773
  if (!t) throw Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");
1701
1774
  return t;
1702
1775
  }
1703
1776
  //#endregion
1704
1777
  //#region node_modules/@tanstack/vue-query/build/modern/queryCache.js
1705
- var Je = class extends Pe {
1778
+ var dt = class extends Ze {
1706
1779
  find(e) {
1707
- return super.find(R(e));
1780
+ return super.find(U(e));
1708
1781
  }
1709
1782
  findAll(e = {}) {
1710
- return super.findAll(R(e));
1783
+ return super.findAll(U(e));
1711
1784
  }
1712
- }, Ye = class extends Me {
1785
+ }, ft = class extends Ye {
1713
1786
  find(e) {
1714
- return super.find(R(e));
1787
+ return super.find(U(e));
1715
1788
  }
1716
1789
  findAll(e = {}) {
1717
- return super.findAll(R(e));
1790
+ return super.findAll(U(e));
1718
1791
  }
1719
- }, Xe = class extends Fe {
1792
+ }, pt = class extends Qe {
1720
1793
  constructor(e = {}) {
1721
1794
  let t = {
1722
1795
  defaultOptions: e.defaultOptions,
1723
- queryCache: e.queryCache || new Je(),
1724
- mutationCache: e.mutationCache || new Ye()
1796
+ queryCache: e.queryCache || new dt(),
1797
+ mutationCache: e.mutationCache || new ft()
1725
1798
  };
1726
- super(t), this.isRestoring = (0, L.ref)(!1);
1799
+ super(t), this.isRestoring = (0, H.ref)(!1);
1727
1800
  }
1728
1801
  isFetching(e = {}) {
1729
- return super.isFetching(R(e));
1802
+ return super.isFetching(U(e));
1730
1803
  }
1731
1804
  isMutating(e = {}) {
1732
- return super.isMutating(R(e));
1805
+ return super.isMutating(U(e));
1733
1806
  }
1734
1807
  getQueryData(e) {
1735
- return super.getQueryData(R(e));
1808
+ return super.getQueryData(U(e));
1736
1809
  }
1737
1810
  ensureQueryData(e) {
1738
- return super.ensureQueryData(R(e));
1811
+ return super.ensureQueryData(U(e));
1739
1812
  }
1740
1813
  getQueriesData(e) {
1741
- return super.getQueriesData(R(e));
1814
+ return super.getQueriesData(U(e));
1742
1815
  }
1743
1816
  setQueryData(e, t, n = {}) {
1744
- return super.setQueryData(R(e), t, R(n));
1817
+ return super.setQueryData(U(e), t, U(n));
1745
1818
  }
1746
1819
  setQueriesData(e, t, n = {}) {
1747
- return super.setQueriesData(R(e), t, R(n));
1820
+ return super.setQueriesData(U(e), t, U(n));
1748
1821
  }
1749
1822
  getQueryState(e) {
1750
- return super.getQueryState(R(e));
1823
+ return super.getQueryState(U(e));
1751
1824
  }
1752
1825
  removeQueries(e = {}) {
1753
- return super.removeQueries(R(e));
1826
+ return super.removeQueries(U(e));
1754
1827
  }
1755
1828
  resetQueries(e = {}, t = {}) {
1756
- return super.resetQueries(R(e), R(t));
1829
+ return super.resetQueries(U(e), U(t));
1757
1830
  }
1758
1831
  cancelQueries(e = {}, t = {}) {
1759
- return super.cancelQueries(R(e), R(t));
1832
+ return super.cancelQueries(U(e), U(t));
1760
1833
  }
1761
1834
  invalidateQueries(e = {}, t = {}) {
1762
- let n = R(e), r = R(t);
1835
+ let n = U(e), r = U(t);
1763
1836
  if (super.invalidateQueries({
1764
1837
  ...n,
1765
1838
  refetchType: "none"
@@ -1768,57 +1841,57 @@ var Je = class extends Pe {
1768
1841
  ...n,
1769
1842
  type: n.refetchType ?? n.type ?? "active"
1770
1843
  };
1771
- return (0, L.nextTick)().then(() => super.refetchQueries(i, r));
1844
+ return (0, H.nextTick)().then(() => super.refetchQueries(i, r));
1772
1845
  }
1773
1846
  refetchQueries(e = {}, t = {}) {
1774
- return super.refetchQueries(R(e), R(t));
1847
+ return super.refetchQueries(U(e), U(t));
1775
1848
  }
1776
1849
  fetchQuery(e) {
1777
- return super.fetchQuery(R(e));
1850
+ return super.fetchQuery(U(e));
1778
1851
  }
1779
1852
  prefetchQuery(e) {
1780
- return super.prefetchQuery(R(e));
1853
+ return super.prefetchQuery(U(e));
1781
1854
  }
1782
1855
  fetchInfiniteQuery(e) {
1783
- return super.fetchInfiniteQuery(R(e));
1856
+ return super.fetchInfiniteQuery(U(e));
1784
1857
  }
1785
1858
  prefetchInfiniteQuery(e) {
1786
- return super.prefetchInfiniteQuery(R(e));
1859
+ return super.prefetchInfiniteQuery(U(e));
1787
1860
  }
1788
1861
  setDefaultOptions(e) {
1789
- super.setDefaultOptions(R(e));
1862
+ super.setDefaultOptions(U(e));
1790
1863
  }
1791
1864
  setQueryDefaults(e, t) {
1792
- super.setQueryDefaults(R(e), R(t));
1865
+ super.setQueryDefaults(U(e), U(t));
1793
1866
  }
1794
1867
  getQueryDefaults(e) {
1795
- return super.getQueryDefaults(R(e));
1868
+ return super.getQueryDefaults(U(e));
1796
1869
  }
1797
1870
  setMutationDefaults(e, t) {
1798
- super.setMutationDefaults(R(e), R(t));
1871
+ super.setMutationDefaults(U(e), U(t));
1799
1872
  }
1800
1873
  getMutationDefaults(e) {
1801
- return super.getMutationDefaults(R(e));
1874
+ return super.getMutationDefaults(U(e));
1802
1875
  }
1803
1876
  };
1804
1877
  //#endregion
1805
1878
  //#region node_modules/@vue/devtools-api/lib/esm/env.js
1806
- function Ze() {
1807
- return Qe().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1879
+ function mt() {
1880
+ return ht().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1808
1881
  }
1809
- function Qe() {
1882
+ function ht() {
1810
1883
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
1811
1884
  }
1812
- var $e = typeof Proxy == "function", et = "devtools-plugin:setup", tt = "plugin:settings:set", z, nt;
1813
- function rt() {
1814
- return z === void 0 && (typeof window < "u" && window.performance ? (z = !0, nt = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (z = !0, nt = globalThis.perf_hooks.performance) : z = !1), z;
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;
1815
1888
  }
1816
- function it() {
1817
- return rt() ? nt.now() : Date.now();
1889
+ function xt() {
1890
+ return bt() ? yt.now() : Date.now();
1818
1891
  }
1819
1892
  //#endregion
1820
1893
  //#region node_modules/@vue/devtools-api/lib/esm/proxy.js
1821
- var at = class {
1894
+ var St = class {
1822
1895
  constructor(e, t) {
1823
1896
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = e, this.hook = t;
1824
1897
  let n = {};
@@ -1839,9 +1912,9 @@ var at = class {
1839
1912
  i = e;
1840
1913
  },
1841
1914
  now() {
1842
- return it();
1915
+ return xt();
1843
1916
  }
1844
- }, t && t.on(tt, (e, t) => {
1917
+ }, t && t.on(vt, (e, t) => {
1845
1918
  e === this.plugin.id && this.fallbacks.setSettings(t);
1846
1919
  }), this.proxiedOn = new Proxy({}, { get: (e, t) => this.target ? this.target.on[t] : (...e) => {
1847
1920
  this.onQueue.push({
@@ -1868,11 +1941,11 @@ var at = class {
1868
1941
  };
1869
1942
  //#endregion
1870
1943
  //#region node_modules/@vue/devtools-api/lib/esm/index.js
1871
- function ot(e, t) {
1872
- let n = e, r = Qe(), i = Ze(), a = $e && n.enableEarlyProxy;
1873
- if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(et, e, t);
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);
1874
1947
  else {
1875
- let e = a ? new at(n, i) : null;
1948
+ let e = a ? new St(n, i) : null;
1876
1949
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
1877
1950
  pluginDescriptor: n,
1878
1951
  setupFn: t,
@@ -1882,7 +1955,7 @@ function ot(e, t) {
1882
1955
  }
1883
1956
  //#endregion
1884
1957
  //#region node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
1885
- var st = {
1958
+ var wt = {
1886
1959
  À: "A",
1887
1960
  Á: "A",
1888
1961
  Â: "A",
@@ -2282,11 +2355,11 @@ var st = {
2282
2355
  x̧: "x",
2283
2356
  Z̧: "Z",
2284
2357
  z̧: "z"
2285
- }, ct = Object.keys(st).join("|"), lt = new RegExp(ct, "g");
2286
- function ut(e) {
2287
- return e.replace(lt, (e) => st[e]);
2358
+ }, Tt = Object.keys(wt).join("|"), Et = new RegExp(Tt, "g");
2359
+ function Dt(e) {
2360
+ return e.replace(Et, (e) => wt[e]);
2288
2361
  }
2289
- var B = {
2362
+ var G = {
2290
2363
  CASE_SENSITIVE_EQUAL: 7,
2291
2364
  EQUAL: 6,
2292
2365
  STARTS_WITH: 5,
@@ -2296,9 +2369,9 @@ var B = {
2296
2369
  MATCHES: 1,
2297
2370
  NO_MATCH: 0
2298
2371
  };
2299
- function dt(e, t, n) {
2300
- if (n ||= {}, n.threshold = n.threshold ?? B.MATCHES, !n.accessors) {
2301
- let r = ft(e, t, n);
2372
+ function Ot(e, t, n) {
2373
+ if (n ||= {}, n.threshold = n.threshold ?? G.MATCHES, !n.accessors) {
2374
+ let r = kt(e, t, n);
2302
2375
  return {
2303
2376
  rankedValue: e,
2304
2377
  rank: r,
@@ -2307,23 +2380,23 @@ function dt(e, t, n) {
2307
2380
  passed: r >= n.threshold
2308
2381
  };
2309
2382
  }
2310
- let r = _t(e, n.accessors), i = {
2383
+ let r = Pt(e, n.accessors), i = {
2311
2384
  rankedValue: e,
2312
- rank: B.NO_MATCH,
2385
+ rank: G.NO_MATCH,
2313
2386
  accessorIndex: -1,
2314
2387
  accessorThreshold: n.threshold,
2315
2388
  passed: !1
2316
2389
  };
2317
2390
  for (let e = 0; e < r.length; e++) {
2318
- let a = r[e], o = ft(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
2319
- o < s && o >= B.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);
2391
+ let a = r[e], o = kt(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
2392
+ 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);
2320
2393
  }
2321
2394
  return i;
2322
2395
  }
2323
- function ft(e, t, n) {
2324
- return e = ht(e, n), t = ht(t, n), t.length > e.length ? B.NO_MATCH : e === t ? B.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? B.EQUAL : e.startsWith(t) ? B.STARTS_WITH : e.includes(` ${t}`) ? B.WORD_STARTS_WITH : e.includes(t) ? B.CONTAINS : t.length === 1 ? B.NO_MATCH : pt(e).includes(t) ? B.ACRONYM : mt(e, t));
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));
2325
2398
  }
2326
- function pt(e) {
2399
+ function At(e) {
2327
2400
  let t = "";
2328
2401
  return e.split(" ").forEach((e) => {
2329
2402
  e.split("-").forEach((e) => {
@@ -2331,7 +2404,7 @@ function pt(e) {
2331
2404
  });
2332
2405
  }), t;
2333
2406
  }
2334
- function mt(e, t) {
2407
+ function jt(e, t) {
2335
2408
  let n = 0, r = 0;
2336
2409
  function i(e, t, r) {
2337
2410
  for (let i = r, a = t.length; i < a; i++) if (t[i] === e) return n += 1, i + 1;
@@ -2339,31 +2412,31 @@ function mt(e, t) {
2339
2412
  }
2340
2413
  function a(e) {
2341
2414
  let r = 1 / e, i = n / t.length;
2342
- return B.MATCHES + i * r;
2415
+ return G.MATCHES + i * r;
2343
2416
  }
2344
2417
  let o = i(t[0], e, 0);
2345
- if (o < 0) return B.NO_MATCH;
2418
+ if (o < 0) return G.NO_MATCH;
2346
2419
  r = o;
2347
2420
  for (let n = 1, a = t.length; n < a; n++) {
2348
2421
  let a = t[n];
2349
- if (r = i(a, e, r), !(r > -1)) return B.NO_MATCH;
2422
+ if (r = i(a, e, r), !(r > -1)) return G.NO_MATCH;
2350
2423
  }
2351
2424
  return a(r - o);
2352
2425
  }
2353
- function ht(e, t) {
2426
+ function Mt(e, t) {
2354
2427
  let { keepDiacritics: n } = t;
2355
- return e = `${e}`, n || (e = ut(e)), e;
2428
+ return e = `${e}`, n || (e = Dt(e)), e;
2356
2429
  }
2357
- function gt(e, t) {
2430
+ function Nt(e, t) {
2358
2431
  let n = t;
2359
2432
  typeof t == "object" && (n = t.accessor);
2360
2433
  let r = n(e);
2361
2434
  return r == null ? [] : Array.isArray(r) ? r : [String(r)];
2362
2435
  }
2363
- function _t(e, t) {
2436
+ function Pt(e, t) {
2364
2437
  let n = [];
2365
2438
  for (let r = 0, i = t.length; r < i; r++) {
2366
- let i = t[r], a = yt(i), o = gt(e, i);
2439
+ let i = t[r], a = It(i), o = Nt(e, i);
2367
2440
  for (let e = 0, t = o.length; e < t; e++) n.push({
2368
2441
  itemValue: o[e],
2369
2442
  attributes: a
@@ -2371,41 +2444,41 @@ function _t(e, t) {
2371
2444
  }
2372
2445
  return n;
2373
2446
  }
2374
- var vt = {
2447
+ var Ft = {
2375
2448
  maxRanking: Infinity,
2376
2449
  minRanking: -Infinity
2377
2450
  };
2378
- function yt(e) {
2379
- return typeof e == "function" ? vt : {
2380
- ...vt,
2451
+ function It(e) {
2452
+ return typeof e == "function" ? Ft : {
2453
+ ...Ft,
2381
2454
  ...e
2382
2455
  };
2383
2456
  }
2384
2457
  //#endregion
2385
2458
  //#region node_modules/@tanstack/vue-query/build/modern/devtools/utils.js
2386
- function V(e) {
2459
+ function K(e) {
2387
2460
  return e.state.fetchStatus === "fetching" ? 0 : e.state.fetchStatus === "paused" ? 4 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3;
2388
2461
  }
2389
- function bt(e) {
2390
- let t = V(e);
2462
+ function Lt(e) {
2463
+ let t = K(e);
2391
2464
  return t === 0 ? "fetching" : t === 4 ? "paused" : t === 2 ? "stale" : t === 3 ? "inactive" : "fresh";
2392
2465
  }
2393
- function xt(e) {
2394
- return V(e) === 2 ? 0 : 16777215;
2466
+ function Rt(e) {
2467
+ return K(e) === 2 ? 0 : 16777215;
2395
2468
  }
2396
- function St(e) {
2397
- let t = V(e);
2469
+ function zt(e) {
2470
+ let t = K(e);
2398
2471
  return t === 0 ? 27647 : t === 4 ? 9193963 : t === 2 ? 16757248 : t === 3 ? 4148832 : 33575;
2399
2472
  }
2400
- var Ct = (e, t) => e.queryHash.localeCompare(t.queryHash), wt = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Tt = {
2401
- "Status > Last Updated": (e, t) => V(e) === V(t) ? wt(e, t) : V(e) > V(t) ? 1 : -1,
2402
- "Query Hash": Ct,
2403
- "Last Updated": wt
2404
- }, H = "vue-query", Et = "Vue Query";
2405
- function Dt(e, t) {
2406
- ot({
2407
- id: H,
2408
- label: Et,
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({
2480
+ id: q,
2481
+ label: Ut,
2409
2482
  packageName: "vue-query",
2410
2483
  homepage: "https://tanstack.com/query/latest",
2411
2484
  logo: "https://raw.githubusercontent.com/TanStack/query/main/packages/vue-query/media/vue-query.svg",
@@ -2427,11 +2500,11 @@ function Dt(e, t) {
2427
2500
  sortFn: {
2428
2501
  type: "choice",
2429
2502
  label: "Sort Function",
2430
- options: Object.keys(Tt).map((e) => ({
2503
+ options: Object.keys(Ht).map((e) => ({
2431
2504
  label: e,
2432
2505
  value: e
2433
2506
  })),
2434
- defaultValue: Object.keys(Tt)[0]
2507
+ defaultValue: Object.keys(Ht)[0]
2435
2508
  },
2436
2509
  onlineMode: {
2437
2510
  type: "choice",
@@ -2449,11 +2522,11 @@ function Dt(e, t) {
2449
2522
  }
2450
2523
  }, (e) => {
2451
2524
  let n = e.getSettings();
2452
- P.setOnline(!!n.onlineMode.valueOf());
2525
+ B.setOnline(!!n.onlineMode.valueOf());
2453
2526
  let r = t.getQueryCache();
2454
2527
  e.addInspector({
2455
- id: H,
2456
- label: Et,
2528
+ id: q,
2529
+ label: Ut,
2457
2530
  icon: "api",
2458
2531
  nodeActions: [
2459
2532
  {
@@ -2512,16 +2585,16 @@ function Dt(e, t) {
2512
2585
  }
2513
2586
  ]
2514
2587
  }), e.addTimelineLayer({
2515
- id: H,
2516
- label: Et,
2588
+ id: q,
2589
+ label: Ut,
2517
2590
  color: 16767308
2518
2591
  }), r.subscribe((t) => {
2519
- e.sendInspectorTree(H), e.sendInspectorState(H), [
2592
+ e.sendInspectorTree(q), e.sendInspectorState(q), [
2520
2593
  "added",
2521
2594
  "removed",
2522
2595
  "updated"
2523
2596
  ].includes(t.type) && e.addTimelineEvent({
2524
- layerId: H,
2597
+ layerId: q,
2525
2598
  event: {
2526
2599
  title: t.type,
2527
2600
  subtitle: t.query.queryHash,
@@ -2533,25 +2606,25 @@ function Dt(e, t) {
2533
2606
  }
2534
2607
  });
2535
2608
  }), e.on.setPluginSettings((e) => {
2536
- e.key === "onlineMode" && P.setOnline(!!e.newValue);
2609
+ e.key === "onlineMode" && B.setOnline(!!e.newValue);
2537
2610
  }), e.on.getInspectorTree((t) => {
2538
- if (t.inspectorId === H) {
2611
+ if (t.inspectorId === q) {
2539
2612
  let n = r.getAll(), i = e.getSettings();
2540
- t.rootNodes = (t.filter ? n.filter((e) => dt(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => Tt[i.sortFn](e, t) * i.baseSort).map((e) => {
2541
- let t = bt(e);
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);
2542
2615
  return {
2543
2616
  id: e.queryHash,
2544
2617
  label: e.queryHash,
2545
2618
  tags: [{
2546
2619
  label: `${t} [${e.getObserversCount()}]`,
2547
- textColor: xt(e),
2548
- backgroundColor: St(e)
2620
+ textColor: Rt(e),
2621
+ backgroundColor: zt(e)
2549
2622
  }]
2550
2623
  };
2551
2624
  });
2552
2625
  }
2553
2626
  }), e.on.getInspectorState((e) => {
2554
- if (e.inspectorId === H) {
2627
+ if (e.inspectorId === q) {
2555
2628
  let t = r.get(e.nodeId);
2556
2629
  if (!t) return;
2557
2630
  e.state = {
@@ -2562,7 +2635,7 @@ function Dt(e, t) {
2562
2635
  },
2563
2636
  {
2564
2637
  key: "Query status",
2565
- value: bt(t)
2638
+ value: Lt(t)
2566
2639
  },
2567
2640
  {
2568
2641
  key: "Observers",
@@ -2588,9 +2661,9 @@ function Dt(e, t) {
2588
2661
  }
2589
2662
  //#endregion
2590
2663
  //#region node_modules/@tanstack/vue-query/build/modern/vueQueryPlugin.js
2591
- var Ot = { install: (e, t = {}) => {
2592
- let n = Ve(t.queryClientKey), r;
2593
- r = "queryClient" in t && t.queryClient ? t.queryClient : new Xe("queryClientConfig" in t ? t.queryClientConfig : void 0), h || r.mount();
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();
2594
2667
  let i = () => {};
2595
2668
  if (t.clientPersister) {
2596
2669
  r.isRestoring && (r.isRestoring.value = !0);
@@ -2609,29 +2682,29 @@ var Ot = { install: (e, t = {}) => {
2609
2682
  a(), t();
2610
2683
  };
2611
2684
  }
2612
- e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && Dt(e, r);
2685
+ e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && Wt(e, r);
2613
2686
  } };
2614
2687
  //#endregion
2615
2688
  //#region node_modules/@tanstack/vue-query/build/modern/useBaseQuery.js
2616
- function kt(e, t, n) {
2617
- process.env.NODE_ENV === "development" && ((0, L.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."));
2618
- let r = n || qe(), i = (0, L.computed)(() => {
2689
+ function Kt(e, t, n) {
2690
+ 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)(() => {
2619
2692
  let e = t;
2620
2693
  typeof e == "function" && (e = e());
2621
- let n = R(e);
2694
+ let n = U(e);
2622
2695
  typeof n.enabled == "function" && (n.enabled = n.enabled());
2623
2696
  let i = r.defaultQueryOptions(n);
2624
2697
  return i._optimisticResults = r.isRestoring?.value ? "isRestoring" : "optimistic", i;
2625
- }), a = new e(r, i.value), o = i.value.shallow ? (0, L.shallowReactive)(a.getCurrentResult()) : (0, L.reactive)(a.getCurrentResult()), s = () => {};
2626
- r.isRestoring && (0, L.watch)(r.isRestoring, (e) => {
2698
+ }), a = new e(r, i.value), o = i.value.shallow ? (0, H.shallowReactive)(a.getCurrentResult()) : (0, H.reactive)(a.getCurrentResult()), s = () => {};
2699
+ r.isRestoring && (0, H.watch)(r.isRestoring, (e) => {
2627
2700
  e || (s(), s = a.subscribe((e) => {
2628
- He(o, e);
2701
+ at(o, e);
2629
2702
  }));
2630
2703
  }, { immediate: !0 });
2631
2704
  let c = () => {
2632
- a.setOptions(i.value), He(o, a.getCurrentResult());
2705
+ a.setOptions(i.value), at(o, a.getCurrentResult());
2633
2706
  };
2634
- (0, L.watch)(i, c), (0, L.onScopeDispose)(() => {
2707
+ (0, H.watch)(i, c), (0, H.onScopeDispose)(() => {
2635
2708
  s();
2636
2709
  });
2637
2710
  let l = (...e) => (c(), o.refetch(...e)), u = () => new Promise((e, t) => {
@@ -2640,44 +2713,44 @@ function kt(e, t, n) {
2640
2713
  a.setOptions(i.value);
2641
2714
  let r = a.getOptimisticResult(i.value);
2642
2715
  r.isStale ? (n(), a.fetchOptimistic(i.value).then(e, (n) => {
2643
- se(i.value.throwOnError, [n, a.getCurrentQuery()]) ? t(n) : e(a.getCurrentResult());
2716
+ Ce(i.value.throwOnError, [n, a.getCurrentQuery()]) ? t(n) : e(a.getCurrentResult());
2644
2717
  })) : (n(), e(r));
2645
2718
  }
2646
2719
  };
2647
- r(), n = (0, L.watch)(i, r);
2720
+ r(), n = (0, H.watch)(i, r);
2648
2721
  });
2649
- (0, L.watch)(() => o.error, (e) => {
2650
- if (o.isError && !o.isFetching && se(i.value.throwOnError, [e, a.getCurrentQuery()])) throw e;
2722
+ (0, H.watch)(() => o.error, (e) => {
2723
+ if (o.isError && !o.isFetching && Ce(i.value.throwOnError, [e, a.getCurrentQuery()])) throw e;
2651
2724
  });
2652
- let d = (0, L.toRefs)(i.value.shallow ? (0, L.shallowReadonly)(o) : (0, L.readonly)(o));
2725
+ let d = (0, H.toRefs)(i.value.shallow ? (0, H.shallowReadonly)(o) : (0, H.readonly)(o));
2653
2726
  for (let e in o) typeof o[e] == "function" && (d[e] = o[e]);
2654
2727
  return d.suspense = u, d.refetch = l, d;
2655
2728
  }
2656
2729
  //#endregion
2657
2730
  //#region node_modules/@tanstack/vue-query/build/modern/useQuery.js
2658
- function At(e, t) {
2659
- return kt(we, e, t);
2731
+ function qt(e, t) {
2732
+ return Kt(Be, e, t);
2660
2733
  }
2661
2734
  //#endregion
2662
2735
  //#region node_modules/@tanstack/vue-query/build/modern/useMutation.js
2663
- function jt(e, t) {
2664
- process.env.NODE_ENV === "development" && ((0, L.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."));
2665
- let n = t || qe(), r = (0, L.computed)(() => {
2736
+ function Jt(e, t) {
2737
+ 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)(() => {
2666
2739
  let t = typeof e == "function" ? e() : e;
2667
- return n.defaultMutationOptions(R(t));
2668
- }), i = new Ne(n, r.value), a = r.value.shallow ? (0, L.shallowReactive)(i.getCurrentResult()) : (0, L.reactive)(i.getCurrentResult()), o = i.subscribe((e) => {
2669
- He(a, e);
2740
+ 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);
2670
2743
  }), s = (e, t) => {
2671
2744
  i.mutate(e, t).catch(() => {});
2672
2745
  };
2673
- (0, L.watch)(r, () => {
2746
+ (0, H.watch)(r, () => {
2674
2747
  i.setOptions(r.value);
2675
- }), (0, L.onScopeDispose)(() => {
2748
+ }), (0, H.onScopeDispose)(() => {
2676
2749
  o();
2677
2750
  });
2678
- let c = (0, L.toRefs)(r.value.shallow ? (0, L.shallowReadonly)(a) : (0, L.readonly)(a));
2679
- return (0, L.watch)(() => a.error, (e) => {
2680
- if (e && se(r.value.throwOnError, [e])) throw e;
2751
+ let c = (0, H.toRefs)(r.value.shallow ? (0, H.shallowReadonly)(a) : (0, H.readonly)(a));
2752
+ return (0, H.watch)(() => a.error, (e) => {
2753
+ if (e && Ce(r.value.throwOnError, [e])) throw e;
2681
2754
  }), {
2682
2755
  ...c,
2683
2756
  mutate: s,
@@ -2687,88 +2760,88 @@ function jt(e, t) {
2687
2760
  }
2688
2761
  //#endregion
2689
2762
  //#region src/composables/data/useQuery.ts
2690
- var Mt = {
2763
+ var Yt = {
2691
2764
  retry: !1,
2692
2765
  refetchOnMount: !0,
2693
2766
  refetchOnReconnect: !1,
2694
2767
  refetchOnWindowFocus: !1
2695
- }, Nt = 0;
2696
- function Pt(e) {
2697
- if (e !== void 0) return typeof e == "function" ? e() : c(e);
2768
+ }, Xt = 0;
2769
+ function Zt(e) {
2770
+ if (e !== void 0) return typeof e == "function" ? e() : u(e);
2698
2771
  }
2699
- function U(e) {
2772
+ function J(e) {
2700
2773
  return e;
2701
2774
  }
2702
- function Ft() {
2703
- return Nt += 1, ["hanap-labs-query", Nt];
2775
+ function Qt() {
2776
+ return Xt += 1, ["hanap-labs-query", Xt];
2704
2777
  }
2705
- async function It(e) {
2778
+ async function $t(e) {
2706
2779
  return (await e()).data;
2707
2780
  }
2708
- function Lt(e = {}) {
2781
+ function en(e = {}) {
2709
2782
  return function(t, n) {
2710
- let { queryKey: r, onSuccess: i, onError: o, enabled: s, ...u } = n ?? {}, d = Ft(), f = [], p = [];
2783
+ let { queryKey: r, onSuccess: i, onError: o, enabled: s, ...c } = n ?? {}, l = Qt(), f = [], p = [];
2711
2784
  i !== void 0 && f.push(i), o !== void 0 && p.push(o);
2712
- let m = At({
2713
- queryKey: a(() => r === void 0 ? d : typeof r == "function" ? r() : c(r)),
2785
+ let m = qt({
2786
+ queryKey: a(() => r === void 0 ? l : typeof r == "function" ? r() : u(r)),
2714
2787
  queryFn: (e) => t({
2715
2788
  queryKey: e.queryKey,
2716
2789
  signal: e.signal
2717
2790
  }),
2718
- enabled: a(() => Pt(s)),
2719
- ...Mt,
2791
+ enabled: a(() => Zt(s)),
2792
+ ...Yt,
2720
2793
  ...e,
2721
- ...u
2794
+ ...c
2722
2795
  });
2723
- f.length > 0 && l(() => m.data.value, (e) => {
2796
+ f.length > 0 && d(() => m.data.value, (e) => {
2724
2797
  if (e !== void 0) for (let t of f) t(e);
2725
- }, { immediate: !1 }), p.length > 0 && l(() => m.error.value, (e) => {
2798
+ }, { immediate: !1 }), p.length > 0 && d(() => m.error.value, (e) => {
2726
2799
  if (e !== null) for (let t of p) t(e);
2727
2800
  }, { immediate: !1 });
2728
- let h = () => It(m.refetch), g = {
2729
- data: U(m.data),
2730
- error: U(m.error),
2731
- isError: U(m.isError),
2732
- isFetching: U(m.isFetching),
2733
- isSuccess: U(m.isSuccess),
2734
- loading: U(m.isLoading),
2801
+ let h = () => $t(m.refetch), g = {
2802
+ data: J(m.data),
2803
+ error: J(m.error),
2804
+ isError: J(m.isError),
2805
+ isFetching: J(m.isFetching),
2806
+ isSuccess: J(m.isSuccess),
2807
+ loading: J(m.isLoading),
2735
2808
  onError: (e) => (p.push(e), g),
2736
2809
  refetch: h,
2737
2810
  run: h,
2738
- status: U(m.status)
2811
+ status: J(m.status)
2739
2812
  };
2740
2813
  return g;
2741
2814
  };
2742
2815
  }
2743
- var Rt = Lt();
2816
+ var tn = en();
2744
2817
  //#endregion
2745
2818
  //#region src/composables/data/queryPlugin.ts
2746
- function zt(e = {}) {
2819
+ function nn(e = {}) {
2747
2820
  return { install(t) {
2748
- let n = new Xe({ defaultOptions: {
2821
+ let n = new pt({ defaultOptions: {
2749
2822
  queries: e.queries,
2750
2823
  mutations: e.mutations
2751
2824
  } });
2752
- t.use(Ot, { queryClient: n });
2825
+ t.use(Gt, { queryClient: n });
2753
2826
  } };
2754
2827
  }
2755
2828
  //#endregion
2756
2829
  //#region src/composables/data/useMutation.ts
2757
- function W(e) {
2830
+ function Y(e) {
2758
2831
  return e;
2759
2832
  }
2760
- function Bt(e) {
2833
+ function rn(e) {
2761
2834
  return e[0];
2762
2835
  }
2763
- function Vt(e, t) {
2836
+ function an(e, t) {
2764
2837
  return e(t);
2765
2838
  }
2766
- function Ht() {
2839
+ function on() {
2767
2840
  return function(e, t) {
2768
2841
  let { onSuccess: n, onError: r, onMutate: i, onSettled: a, ...o } = t ?? {}, s = [], c = [], l = [], u = [];
2769
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);
2770
- let d = jt({
2771
- mutationFn: (t) => Vt(e, t),
2843
+ let d = Jt({
2844
+ mutationFn: (t) => an(e, t),
2772
2845
  ...o,
2773
2846
  onMutate: async (e, t) => {
2774
2847
  let n;
@@ -2785,68 +2858,68 @@ function Ht() {
2785
2858
  for (let i of u) await i(e, t, n, r);
2786
2859
  }
2787
2860
  }), f = {
2788
- data: W(d.data),
2789
- error: W(d.error),
2790
- isError: W(d.isError),
2791
- isSuccess: W(d.isSuccess),
2792
- loading: W(d.isPending),
2861
+ data: Y(d.data),
2862
+ error: Y(d.error),
2863
+ isError: Y(d.isError),
2864
+ isSuccess: Y(d.isSuccess),
2865
+ loading: Y(d.isPending),
2793
2866
  onError: (e) => (c.push(e), f),
2794
2867
  onMutate: (e) => (l.push(e), f),
2795
2868
  onSettled: (e) => (u.push(e), f),
2796
2869
  onSuccess: (e) => (s.push(e), f),
2797
2870
  reset: d.reset,
2798
- run: (...e) => d.mutateAsync(Bt(e)),
2799
- status: W(d.status)
2871
+ run: (...e) => d.mutateAsync(rn(e)),
2872
+ status: Y(d.status)
2800
2873
  };
2801
2874
  return f;
2802
2875
  };
2803
2876
  }
2804
- var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
2877
+ var sn = on(), cn = /* @__PURE__ */ t(((e, t) => {
2805
2878
  function n() {
2806
2879
  this.__data__ = [], this.size = 0;
2807
2880
  }
2808
2881
  t.exports = n;
2809
- })), Gt = /* @__PURE__ */ t(((e, t) => {
2882
+ })), ln = /* @__PURE__ */ t(((e, t) => {
2810
2883
  function n(e, t) {
2811
2884
  return e === t || e !== e && t !== t;
2812
2885
  }
2813
2886
  t.exports = n;
2814
- })), G = /* @__PURE__ */ t(((e, t) => {
2815
- var n = Gt();
2887
+ })), X = /* @__PURE__ */ t(((e, t) => {
2888
+ var n = ln();
2816
2889
  function r(e, t) {
2817
2890
  for (var r = e.length; r--;) if (n(e[r][0], t)) return r;
2818
2891
  return -1;
2819
2892
  }
2820
2893
  t.exports = r;
2821
- })), Kt = /* @__PURE__ */ t(((e, t) => {
2822
- var n = G(), r = Array.prototype.splice;
2894
+ })), un = /* @__PURE__ */ t(((e, t) => {
2895
+ var n = X(), r = Array.prototype.splice;
2823
2896
  function i(e) {
2824
2897
  var t = this.__data__, i = n(t, e);
2825
2898
  return i < 0 ? !1 : (i == t.length - 1 ? t.pop() : r.call(t, i, 1), --this.size, !0);
2826
2899
  }
2827
2900
  t.exports = i;
2828
- })), qt = /* @__PURE__ */ t(((e, t) => {
2829
- var n = G();
2901
+ })), dn = /* @__PURE__ */ t(((e, t) => {
2902
+ var n = X();
2830
2903
  function r(e) {
2831
2904
  var t = this.__data__, r = n(t, e);
2832
2905
  return r < 0 ? void 0 : t[r][1];
2833
2906
  }
2834
2907
  t.exports = r;
2835
- })), Jt = /* @__PURE__ */ t(((e, t) => {
2836
- var n = G();
2908
+ })), fn = /* @__PURE__ */ t(((e, t) => {
2909
+ var n = X();
2837
2910
  function r(e) {
2838
2911
  return n(this.__data__, e) > -1;
2839
2912
  }
2840
2913
  t.exports = r;
2841
- })), Yt = /* @__PURE__ */ t(((e, t) => {
2842
- var n = G();
2914
+ })), pn = /* @__PURE__ */ t(((e, t) => {
2915
+ var n = X();
2843
2916
  function r(e, t) {
2844
2917
  var r = this.__data__, i = n(r, e);
2845
2918
  return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
2846
2919
  }
2847
2920
  t.exports = r;
2848
- })), K = /* @__PURE__ */ t(((e, t) => {
2849
- var n = Wt(), r = Kt(), i = qt(), a = Jt(), o = Yt();
2921
+ })), mn = /* @__PURE__ */ t(((e, t) => {
2922
+ var n = cn(), r = un(), i = dn(), a = fn(), o = pn();
2850
2923
  function s(e) {
2851
2924
  var t = -1, n = e == null ? 0 : e.length;
2852
2925
  for (this.clear(); ++t < n;) {
@@ -2855,37 +2928,37 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
2855
2928
  }
2856
2929
  }
2857
2930
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
2858
- })), Xt = /* @__PURE__ */ t(((e, t) => {
2859
- var n = K();
2931
+ })), hn = /* @__PURE__ */ t(((e, t) => {
2932
+ var n = mn();
2860
2933
  function r() {
2861
2934
  this.__data__ = new n(), this.size = 0;
2862
2935
  }
2863
2936
  t.exports = r;
2864
- })), Zt = /* @__PURE__ */ t(((e, t) => {
2937
+ })), gn = /* @__PURE__ */ t(((e, t) => {
2865
2938
  function n(e) {
2866
2939
  var t = this.__data__, n = t.delete(e);
2867
2940
  return this.size = t.size, n;
2868
2941
  }
2869
2942
  t.exports = n;
2870
- })), Qt = /* @__PURE__ */ t(((e, t) => {
2943
+ })), _n = /* @__PURE__ */ t(((e, t) => {
2871
2944
  function n(e) {
2872
2945
  return this.__data__.get(e);
2873
2946
  }
2874
2947
  t.exports = n;
2875
- })), $t = /* @__PURE__ */ t(((e, t) => {
2948
+ })), vn = /* @__PURE__ */ t(((e, t) => {
2876
2949
  function n(e) {
2877
2950
  return this.__data__.has(e);
2878
2951
  }
2879
2952
  t.exports = n;
2880
- })), en = /* @__PURE__ */ t(((e, t) => {
2953
+ })), yn = /* @__PURE__ */ t(((e, t) => {
2881
2954
  t.exports = typeof global == "object" && global && global.Object === Object && global;
2882
- })), q = /* @__PURE__ */ t(((e, t) => {
2883
- var n = en(), r = typeof self == "object" && self && self.Object === Object && self;
2955
+ })), Z = /* @__PURE__ */ t(((e, t) => {
2956
+ var n = yn(), r = typeof self == "object" && self && self.Object === Object && self;
2884
2957
  t.exports = n || r || Function("return this")();
2885
- })), tn = /* @__PURE__ */ t(((e, t) => {
2886
- t.exports = q().Symbol;
2887
- })), nn = /* @__PURE__ */ t(((e, t) => {
2888
- var n = tn(), r = Object.prototype, i = r.hasOwnProperty, a = r.toString, o = n ? n.toStringTag : void 0;
2958
+ })), bn = /* @__PURE__ */ t(((e, t) => {
2959
+ t.exports = Z().Symbol;
2960
+ })), xn = /* @__PURE__ */ t(((e, t) => {
2961
+ var n = bn(), r = Object.prototype, i = r.hasOwnProperty, a = r.toString, o = n ? n.toStringTag : void 0;
2889
2962
  function s(e) {
2890
2963
  var t = i.call(e, o), n = e[o];
2891
2964
  try {
@@ -2896,36 +2969,36 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
2896
2969
  return r && (t ? e[o] = n : delete e[o]), s;
2897
2970
  }
2898
2971
  t.exports = s;
2899
- })), rn = /* @__PURE__ */ t(((e, t) => {
2972
+ })), Sn = /* @__PURE__ */ t(((e, t) => {
2900
2973
  var n = Object.prototype.toString;
2901
2974
  function r(e) {
2902
2975
  return n.call(e);
2903
2976
  }
2904
2977
  t.exports = r;
2905
- })), J = /* @__PURE__ */ t(((e, t) => {
2906
- var n = tn(), r = nn(), i = rn(), a = "[object Null]", o = "[object Undefined]", s = n ? n.toStringTag : void 0;
2978
+ })), Cn = /* @__PURE__ */ t(((e, t) => {
2979
+ var n = bn(), r = xn(), i = Sn(), a = "[object Null]", o = "[object Undefined]", s = n ? n.toStringTag : void 0;
2907
2980
  function c(e) {
2908
2981
  return e == null ? e === void 0 ? o : a : s && s in Object(e) ? r(e) : i(e);
2909
2982
  }
2910
2983
  t.exports = c;
2911
- })), an = /* @__PURE__ */ t(((e, t) => {
2984
+ })), wn = /* @__PURE__ */ t(((e, t) => {
2912
2985
  function n(e) {
2913
2986
  var t = typeof e;
2914
2987
  return e != null && (t == "object" || t == "function");
2915
2988
  }
2916
2989
  t.exports = n;
2917
- })), on = /* @__PURE__ */ t(((e, t) => {
2918
- var n = J(), r = an(), i = "[object AsyncFunction]", a = "[object Function]", o = "[object GeneratorFunction]", s = "[object Proxy]";
2990
+ })), Tn = /* @__PURE__ */ t(((e, t) => {
2991
+ var n = Cn(), r = wn(), i = "[object AsyncFunction]", a = "[object Function]", o = "[object GeneratorFunction]", s = "[object Proxy]";
2919
2992
  function c(e) {
2920
2993
  if (!r(e)) return !1;
2921
2994
  var t = n(e);
2922
2995
  return t == a || t == o || t == i || t == s;
2923
2996
  }
2924
2997
  t.exports = c;
2925
- })), sn = /* @__PURE__ */ t(((e, t) => {
2926
- t.exports = q()["__core-js_shared__"];
2927
- })), cn = /* @__PURE__ */ t(((e, t) => {
2928
- var n = sn(), r = function() {
2998
+ })), En = /* @__PURE__ */ t(((e, t) => {
2999
+ t.exports = Z()["__core-js_shared__"];
3000
+ })), Dn = /* @__PURE__ */ t(((e, t) => {
3001
+ var n = En(), r = function() {
2929
3002
  var e = /[^.]+$/.exec(n && n.keys && n.keys.IE_PROTO || "");
2930
3003
  return e ? "Symbol(src)_1." + e : "";
2931
3004
  }();
@@ -2933,7 +3006,7 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
2933
3006
  return !!r && r in e;
2934
3007
  }
2935
3008
  t.exports = i;
2936
- })), ln = /* @__PURE__ */ t(((e, t) => {
3009
+ })), On = /* @__PURE__ */ t(((e, t) => {
2937
3010
  var n = Function.prototype.toString;
2938
3011
  function r(e) {
2939
3012
  if (e != null) {
@@ -2947,42 +3020,42 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
2947
3020
  return "";
2948
3021
  }
2949
3022
  t.exports = r;
2950
- })), un = /* @__PURE__ */ t(((e, t) => {
2951
- var n = on(), r = cn(), i = an(), a = ln(), 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.*?") + "$");
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.*?") + "$");
2952
3025
  function p(e) {
2953
3026
  return !i(e) || r(e) ? !1 : (n(e) ? f : s).test(a(e));
2954
3027
  }
2955
3028
  t.exports = p;
2956
- })), dn = /* @__PURE__ */ t(((e, t) => {
3029
+ })), An = /* @__PURE__ */ t(((e, t) => {
2957
3030
  function n(e, t) {
2958
3031
  return e?.[t];
2959
3032
  }
2960
3033
  t.exports = n;
2961
- })), Y = /* @__PURE__ */ t(((e, t) => {
2962
- var n = un(), r = dn();
3034
+ })), Q = /* @__PURE__ */ t(((e, t) => {
3035
+ var n = kn(), r = An();
2963
3036
  function i(e, t) {
2964
3037
  var i = r(e, t);
2965
3038
  return n(i) ? i : void 0;
2966
3039
  }
2967
3040
  t.exports = i;
2968
- })), fn = /* @__PURE__ */ t(((e, t) => {
2969
- t.exports = Y()(q(), "Map");
2970
- })), X = /* @__PURE__ */ t(((e, t) => {
2971
- t.exports = Y()(Object, "create");
2972
- })), pn = /* @__PURE__ */ t(((e, t) => {
2973
- var n = X();
3041
+ })), jn = /* @__PURE__ */ t(((e, t) => {
3042
+ t.exports = Q()(Z(), "Map");
3043
+ })), Mn = /* @__PURE__ */ t(((e, t) => {
3044
+ t.exports = Q()(Object, "create");
3045
+ })), Nn = /* @__PURE__ */ t(((e, t) => {
3046
+ var n = Mn();
2974
3047
  function r() {
2975
3048
  this.__data__ = n ? n(null) : {}, this.size = 0;
2976
3049
  }
2977
3050
  t.exports = r;
2978
- })), mn = /* @__PURE__ */ t(((e, t) => {
3051
+ })), Pn = /* @__PURE__ */ t(((e, t) => {
2979
3052
  function n(e) {
2980
3053
  var t = this.has(e) && delete this.__data__[e];
2981
3054
  return this.size -= +!!t, t;
2982
3055
  }
2983
3056
  t.exports = n;
2984
- })), hn = /* @__PURE__ */ t(((e, t) => {
2985
- var n = X(), r = "__lodash_hash_undefined__", i = Object.prototype.hasOwnProperty;
3057
+ })), Fn = /* @__PURE__ */ t(((e, t) => {
3058
+ var n = Mn(), r = "__lodash_hash_undefined__", i = Object.prototype.hasOwnProperty;
2986
3059
  function a(e) {
2987
3060
  var t = this.__data__;
2988
3061
  if (n) {
@@ -2992,22 +3065,22 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
2992
3065
  return i.call(t, e) ? t[e] : void 0;
2993
3066
  }
2994
3067
  t.exports = a;
2995
- })), gn = /* @__PURE__ */ t(((e, t) => {
2996
- var n = X(), r = Object.prototype.hasOwnProperty;
3068
+ })), In = /* @__PURE__ */ t(((e, t) => {
3069
+ var n = Mn(), r = Object.prototype.hasOwnProperty;
2997
3070
  function i(e) {
2998
3071
  var t = this.__data__;
2999
3072
  return n ? t[e] !== void 0 : r.call(t, e);
3000
3073
  }
3001
3074
  t.exports = i;
3002
- })), _n = /* @__PURE__ */ t(((e, t) => {
3003
- var n = X(), r = "__lodash_hash_undefined__";
3075
+ })), Ln = /* @__PURE__ */ t(((e, t) => {
3076
+ var n = Mn(), r = "__lodash_hash_undefined__";
3004
3077
  function i(e, t) {
3005
3078
  var i = this.__data__;
3006
3079
  return this.size += +!this.has(e), i[e] = n && t === void 0 ? r : t, this;
3007
3080
  }
3008
3081
  t.exports = i;
3009
- })), vn = /* @__PURE__ */ t(((e, t) => {
3010
- var n = pn(), r = mn(), i = hn(), a = gn(), o = _n();
3082
+ })), Rn = /* @__PURE__ */ t(((e, t) => {
3083
+ var n = Nn(), r = Pn(), i = Fn(), a = In(), o = Ln();
3011
3084
  function s(e) {
3012
3085
  var t = -1, n = e == null ? 0 : e.length;
3013
3086
  for (this.clear(); ++t < n;) {
@@ -3016,8 +3089,8 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3016
3089
  }
3017
3090
  }
3018
3091
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
3019
- })), yn = /* @__PURE__ */ t(((e, t) => {
3020
- var n = vn(), r = K(), i = fn();
3092
+ })), zn = /* @__PURE__ */ t(((e, t) => {
3093
+ var n = Rn(), r = mn(), i = jn();
3021
3094
  function a() {
3022
3095
  this.size = 0, this.__data__ = {
3023
3096
  hash: new n(),
@@ -3026,47 +3099,47 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3026
3099
  };
3027
3100
  }
3028
3101
  t.exports = a;
3029
- })), bn = /* @__PURE__ */ t(((e, t) => {
3102
+ })), Bn = /* @__PURE__ */ t(((e, t) => {
3030
3103
  function n(e) {
3031
3104
  var t = typeof e;
3032
3105
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
3033
3106
  }
3034
3107
  t.exports = n;
3035
- })), Z = /* @__PURE__ */ t(((e, t) => {
3036
- var n = bn();
3108
+ })), $ = /* @__PURE__ */ t(((e, t) => {
3109
+ var n = Bn();
3037
3110
  function r(e, t) {
3038
3111
  var r = e.__data__;
3039
3112
  return n(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
3040
3113
  }
3041
3114
  t.exports = r;
3042
- })), xn = /* @__PURE__ */ t(((e, t) => {
3043
- var n = Z();
3115
+ })), Vn = /* @__PURE__ */ t(((e, t) => {
3116
+ var n = $();
3044
3117
  function r(e) {
3045
3118
  var t = n(this, e).delete(e);
3046
3119
  return this.size -= +!!t, t;
3047
3120
  }
3048
3121
  t.exports = r;
3049
- })), Sn = /* @__PURE__ */ t(((e, t) => {
3050
- var n = Z();
3122
+ })), Hn = /* @__PURE__ */ t(((e, t) => {
3123
+ var n = $();
3051
3124
  function r(e) {
3052
3125
  return n(this, e).get(e);
3053
3126
  }
3054
3127
  t.exports = r;
3055
- })), Cn = /* @__PURE__ */ t(((e, t) => {
3056
- var n = Z();
3128
+ })), Un = /* @__PURE__ */ t(((e, t) => {
3129
+ var n = $();
3057
3130
  function r(e) {
3058
3131
  return n(this, e).has(e);
3059
3132
  }
3060
3133
  t.exports = r;
3061
- })), wn = /* @__PURE__ */ t(((e, t) => {
3062
- var n = Z();
3134
+ })), Wn = /* @__PURE__ */ t(((e, t) => {
3135
+ var n = $();
3063
3136
  function r(e, t) {
3064
3137
  var r = n(this, e), i = r.size;
3065
3138
  return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
3066
3139
  }
3067
3140
  t.exports = r;
3068
- })), Tn = /* @__PURE__ */ t(((e, t) => {
3069
- var n = yn(), r = xn(), i = Sn(), a = Cn(), o = wn();
3141
+ })), Gn = /* @__PURE__ */ t(((e, t) => {
3142
+ var n = zn(), r = Vn(), i = Hn(), a = Un(), o = Wn();
3070
3143
  function s(e) {
3071
3144
  var t = -1, n = e == null ? 0 : e.length;
3072
3145
  for (this.clear(); ++t < n;) {
@@ -3075,8 +3148,8 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3075
3148
  }
3076
3149
  }
3077
3150
  s.prototype.clear = n, s.prototype.delete = r, s.prototype.get = i, s.prototype.has = a, s.prototype.set = o, t.exports = s;
3078
- })), En = /* @__PURE__ */ t(((e, t) => {
3079
- var n = K(), r = fn(), i = Tn(), a = 200;
3151
+ })), Kn = /* @__PURE__ */ t(((e, t) => {
3152
+ var n = mn(), r = jn(), i = Gn(), a = 200;
3080
3153
  function o(e, t) {
3081
3154
  var o = this.__data__;
3082
3155
  if (o instanceof n) {
@@ -3087,44 +3160,44 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3087
3160
  return o.set(e, t), this.size = o.size, this;
3088
3161
  }
3089
3162
  t.exports = o;
3090
- })), Dn = /* @__PURE__ */ t(((e, t) => {
3091
- var n = K(), r = Xt(), i = Zt(), a = Qt(), o = $t(), s = En();
3163
+ })), qn = /* @__PURE__ */ t(((e, t) => {
3164
+ var n = mn(), r = hn(), i = gn(), a = _n(), o = vn(), s = Kn();
3092
3165
  function c(e) {
3093
3166
  var t = this.__data__ = new n(e);
3094
3167
  this.size = t.size;
3095
3168
  }
3096
3169
  c.prototype.clear = r, c.prototype.delete = i, c.prototype.get = a, c.prototype.has = o, c.prototype.set = s, t.exports = c;
3097
- })), On = /* @__PURE__ */ t(((e, t) => {
3170
+ })), Jn = /* @__PURE__ */ t(((e, t) => {
3098
3171
  var n = "__lodash_hash_undefined__";
3099
3172
  function r(e) {
3100
3173
  return this.__data__.set(e, n), this;
3101
3174
  }
3102
3175
  t.exports = r;
3103
- })), kn = /* @__PURE__ */ t(((e, t) => {
3176
+ })), Yn = /* @__PURE__ */ t(((e, t) => {
3104
3177
  function n(e) {
3105
3178
  return this.__data__.has(e);
3106
3179
  }
3107
3180
  t.exports = n;
3108
- })), An = /* @__PURE__ */ t(((e, t) => {
3109
- var n = Tn(), r = On(), i = kn();
3181
+ })), Xn = /* @__PURE__ */ t(((e, t) => {
3182
+ var n = Gn(), r = Jn(), i = Yn();
3110
3183
  function a(e) {
3111
3184
  var t = -1, r = e == null ? 0 : e.length;
3112
3185
  for (this.__data__ = new n(); ++t < r;) this.add(e[t]);
3113
3186
  }
3114
3187
  a.prototype.add = a.prototype.push = r, a.prototype.has = i, t.exports = a;
3115
- })), jn = /* @__PURE__ */ t(((e, t) => {
3188
+ })), Zn = /* @__PURE__ */ t(((e, t) => {
3116
3189
  function n(e, t) {
3117
3190
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
3118
3191
  return !1;
3119
3192
  }
3120
3193
  t.exports = n;
3121
- })), Mn = /* @__PURE__ */ t(((e, t) => {
3194
+ })), Qn = /* @__PURE__ */ t(((e, t) => {
3122
3195
  function n(e, t) {
3123
3196
  return e.has(t);
3124
3197
  }
3125
3198
  t.exports = n;
3126
- })), Nn = /* @__PURE__ */ t(((e, t) => {
3127
- var n = An(), r = jn(), i = Mn(), a = 1, o = 2;
3199
+ })), $n = /* @__PURE__ */ t(((e, t) => {
3200
+ var n = Xn(), r = Zn(), i = Qn(), a = 1, o = 2;
3128
3201
  function s(e, t, s, c, l, u) {
3129
3202
  var d = s & a, f = e.length, p = t.length;
3130
3203
  if (f != p && !(d && p > f)) return !1;
@@ -3154,9 +3227,9 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3154
3227
  return u.delete(e), u.delete(t), _;
3155
3228
  }
3156
3229
  t.exports = s;
3157
- })), Pn = /* @__PURE__ */ t(((e, t) => {
3158
- t.exports = q().Uint8Array;
3159
- })), Fn = /* @__PURE__ */ t(((e, t) => {
3230
+ })), er = /* @__PURE__ */ t(((e, t) => {
3231
+ t.exports = Z().Uint8Array;
3232
+ })), tr = /* @__PURE__ */ t(((e, t) => {
3160
3233
  function n(e) {
3161
3234
  var t = -1, n = Array(e.size);
3162
3235
  return e.forEach(function(e, r) {
@@ -3164,7 +3237,7 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3164
3237
  }), n;
3165
3238
  }
3166
3239
  t.exports = n;
3167
- })), In = /* @__PURE__ */ t(((e, t) => {
3240
+ })), nr = /* @__PURE__ */ t(((e, t) => {
3168
3241
  function n(e) {
3169
3242
  var t = -1, n = Array(e.size);
3170
3243
  return e.forEach(function(e) {
@@ -3172,8 +3245,8 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3172
3245
  }), n;
3173
3246
  }
3174
3247
  t.exports = n;
3175
- })), Ln = /* @__PURE__ */ t(((e, t) => {
3176
- var n = tn(), r = Pn(), i = Gt(), a = Nn(), o = Fn(), s = In(), 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;
3248
+ })), 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;
3177
3250
  function C(e, t, n, x, C, w, T) {
3178
3251
  switch (n) {
3179
3252
  case b:
@@ -3200,22 +3273,22 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3200
3273
  return !1;
3201
3274
  }
3202
3275
  t.exports = C;
3203
- })), Rn = /* @__PURE__ */ t(((e, t) => {
3276
+ })), ir = /* @__PURE__ */ t(((e, t) => {
3204
3277
  function n(e, t) {
3205
3278
  for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
3206
3279
  return e;
3207
3280
  }
3208
3281
  t.exports = n;
3209
- })), Q = /* @__PURE__ */ t(((e, t) => {
3282
+ })), ar = /* @__PURE__ */ t(((e, t) => {
3210
3283
  t.exports = Array.isArray;
3211
- })), zn = /* @__PURE__ */ t(((e, t) => {
3212
- var n = Rn(), r = Q();
3284
+ })), or = /* @__PURE__ */ t(((e, t) => {
3285
+ var n = ir(), r = ar();
3213
3286
  function i(e, t, i) {
3214
3287
  var a = t(e);
3215
3288
  return r(e) ? a : n(a, i(e));
3216
3289
  }
3217
3290
  t.exports = i;
3218
- })), Bn = /* @__PURE__ */ t(((e, t) => {
3291
+ })), sr = /* @__PURE__ */ t(((e, t) => {
3219
3292
  function n(e, t) {
3220
3293
  for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
3221
3294
  var o = e[n];
@@ -3224,113 +3297,113 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3224
3297
  return a;
3225
3298
  }
3226
3299
  t.exports = n;
3227
- })), Vn = /* @__PURE__ */ t(((e, t) => {
3300
+ })), cr = /* @__PURE__ */ t(((e, t) => {
3228
3301
  function n() {
3229
3302
  return [];
3230
3303
  }
3231
3304
  t.exports = n;
3232
- })), Hn = /* @__PURE__ */ t(((e, t) => {
3233
- var n = Bn(), r = Vn(), i = Object.prototype.propertyIsEnumerable, a = Object.getOwnPropertySymbols;
3305
+ })), lr = /* @__PURE__ */ t(((e, t) => {
3306
+ var n = sr(), r = cr(), i = Object.prototype.propertyIsEnumerable, a = Object.getOwnPropertySymbols;
3234
3307
  t.exports = a ? function(e) {
3235
3308
  return e == null ? [] : (e = Object(e), n(a(e), function(t) {
3236
3309
  return i.call(e, t);
3237
3310
  }));
3238
3311
  } : r;
3239
- })), Un = /* @__PURE__ */ t(((e, t) => {
3312
+ })), ur = /* @__PURE__ */ t(((e, t) => {
3240
3313
  function n(e, t) {
3241
3314
  for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
3242
3315
  return r;
3243
3316
  }
3244
3317
  t.exports = n;
3245
- })), $ = /* @__PURE__ */ t(((e, t) => {
3318
+ })), dr = /* @__PURE__ */ t(((e, t) => {
3246
3319
  function n(e) {
3247
3320
  return typeof e == "object" && !!e;
3248
3321
  }
3249
3322
  t.exports = n;
3250
- })), Wn = /* @__PURE__ */ t(((e, t) => {
3251
- var n = J(), r = $(), i = "[object Arguments]";
3323
+ })), fr = /* @__PURE__ */ t(((e, t) => {
3324
+ var n = Cn(), r = dr(), i = "[object Arguments]";
3252
3325
  function a(e) {
3253
3326
  return r(e) && n(e) == i;
3254
3327
  }
3255
3328
  t.exports = a;
3256
- })), Gn = /* @__PURE__ */ t(((e, t) => {
3257
- var n = Wn(), r = $(), i = Object.prototype, a = i.hasOwnProperty, o = i.propertyIsEnumerable;
3329
+ })), pr = /* @__PURE__ */ t(((e, t) => {
3330
+ var n = fr(), r = dr(), i = Object.prototype, a = i.hasOwnProperty, o = i.propertyIsEnumerable;
3258
3331
  t.exports = n(function() {
3259
3332
  return arguments;
3260
3333
  }()) ? n : function(e) {
3261
3334
  return r(e) && a.call(e, "callee") && !o.call(e, "callee");
3262
3335
  };
3263
- })), Kn = /* @__PURE__ */ t(((e, t) => {
3336
+ })), mr = /* @__PURE__ */ t(((e, t) => {
3264
3337
  function n() {
3265
3338
  return !1;
3266
3339
  }
3267
3340
  t.exports = n;
3268
- })), qn = /* @__PURE__ */ t(((e, t) => {
3269
- var n = q(), r = Kn(), i = typeof e == "object" && e && !e.nodeType && e, a = i && typeof t == "object" && t && !t.nodeType && t, o = a && a.exports === i ? n.Buffer : void 0;
3341
+ })), hr = /* @__PURE__ */ t(((e, t) => {
3342
+ var n = Z(), r = mr(), i = typeof e == "object" && e && !e.nodeType && e, a = i && typeof t == "object" && t && !t.nodeType && t, o = a && a.exports === i ? n.Buffer : void 0;
3270
3343
  t.exports = (o ? o.isBuffer : void 0) || r;
3271
- })), Jn = /* @__PURE__ */ t(((e, t) => {
3344
+ })), gr = /* @__PURE__ */ t(((e, t) => {
3272
3345
  var n = 9007199254740991, r = /^(?:0|[1-9]\d*)$/;
3273
3346
  function i(e, t) {
3274
3347
  var i = typeof e;
3275
3348
  return t ??= n, !!t && (i == "number" || i != "symbol" && r.test(e)) && e > -1 && e % 1 == 0 && e < t;
3276
3349
  }
3277
3350
  t.exports = i;
3278
- })), Yn = /* @__PURE__ */ t(((e, t) => {
3351
+ })), _r = /* @__PURE__ */ t(((e, t) => {
3279
3352
  var n = 9007199254740991;
3280
3353
  function r(e) {
3281
3354
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= n;
3282
3355
  }
3283
3356
  t.exports = r;
3284
- })), Xn = /* @__PURE__ */ t(((e, t) => {
3285
- var n = J(), r = Yn(), i = $(), 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 = {};
3357
+ })), 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 = {};
3286
3359
  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;
3287
- function A(e) {
3360
+ function ee(e) {
3288
3361
  return i(e) && r(e.length) && !!k[n(e)];
3289
3362
  }
3290
- t.exports = A;
3291
- })), Zn = /* @__PURE__ */ t(((e, t) => {
3363
+ t.exports = ee;
3364
+ })), yr = /* @__PURE__ */ t(((e, t) => {
3292
3365
  function n(e) {
3293
3366
  return function(t) {
3294
3367
  return e(t);
3295
3368
  };
3296
3369
  }
3297
3370
  t.exports = n;
3298
- })), Qn = /* @__PURE__ */ t(((e, t) => {
3299
- var n = en(), r = typeof e == "object" && e && !e.nodeType && e, i = r && typeof t == "object" && t && !t.nodeType && t, a = i && i.exports === r && n.process;
3371
+ })), br = /* @__PURE__ */ t(((e, t) => {
3372
+ var n = yn(), r = typeof e == "object" && e && !e.nodeType && e, i = r && typeof t == "object" && t && !t.nodeType && t, a = i && i.exports === r && n.process;
3300
3373
  t.exports = function() {
3301
3374
  try {
3302
3375
  return i && i.require && i.require("util").types || a && a.binding && a.binding("util");
3303
3376
  } catch {}
3304
3377
  }();
3305
- })), $n = /* @__PURE__ */ t(((e, t) => {
3306
- var n = Xn(), r = Zn(), i = Qn(), a = i && i.isTypedArray;
3378
+ })), xr = /* @__PURE__ */ t(((e, t) => {
3379
+ var n = vr(), r = yr(), i = br(), a = i && i.isTypedArray;
3307
3380
  t.exports = a ? r(a) : n;
3308
- })), er = /* @__PURE__ */ t(((e, t) => {
3309
- var n = Un(), r = Gn(), i = Q(), a = qn(), o = Jn(), s = $n(), c = Object.prototype.hasOwnProperty;
3381
+ })), Sr = /* @__PURE__ */ t(((e, t) => {
3382
+ var n = ur(), r = pr(), i = ar(), a = hr(), o = gr(), s = xr(), c = Object.prototype.hasOwnProperty;
3310
3383
  function l(e, t) {
3311
3384
  var l = i(e), u = !l && r(e), d = !l && !u && a(e), f = !l && !u && !d && s(e), p = l || u || d || f, m = p ? n(e.length, String) : [], h = m.length;
3312
3385
  for (var g in e) (t || c.call(e, g)) && !(p && (g == "length" || d && (g == "offset" || g == "parent") || f && (g == "buffer" || g == "byteLength" || g == "byteOffset") || o(g, h))) && m.push(g);
3313
3386
  return m;
3314
3387
  }
3315
3388
  t.exports = l;
3316
- })), tr = /* @__PURE__ */ t(((e, t) => {
3389
+ })), Cr = /* @__PURE__ */ t(((e, t) => {
3317
3390
  var n = Object.prototype;
3318
3391
  function r(e) {
3319
3392
  var t = e && e.constructor;
3320
3393
  return e === (typeof t == "function" && t.prototype || n);
3321
3394
  }
3322
3395
  t.exports = r;
3323
- })), nr = /* @__PURE__ */ t(((e, t) => {
3396
+ })), wr = /* @__PURE__ */ t(((e, t) => {
3324
3397
  function n(e, t) {
3325
3398
  return function(n) {
3326
3399
  return e(t(n));
3327
3400
  };
3328
3401
  }
3329
3402
  t.exports = n;
3330
- })), rr = /* @__PURE__ */ t(((e, t) => {
3331
- t.exports = nr()(Object.keys, Object);
3332
- })), ir = /* @__PURE__ */ t(((e, t) => {
3333
- var n = tr(), r = rr(), i = Object.prototype.hasOwnProperty;
3403
+ })), Tr = /* @__PURE__ */ t(((e, t) => {
3404
+ t.exports = wr()(Object.keys, Object);
3405
+ })), Er = /* @__PURE__ */ t(((e, t) => {
3406
+ var n = Cr(), r = Tr(), i = Object.prototype.hasOwnProperty;
3334
3407
  function a(e) {
3335
3408
  if (!n(e)) return r(e);
3336
3409
  var t = [];
@@ -3338,26 +3411,26 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3338
3411
  return t;
3339
3412
  }
3340
3413
  t.exports = a;
3341
- })), ar = /* @__PURE__ */ t(((e, t) => {
3342
- var n = on(), r = Yn();
3414
+ })), Dr = /* @__PURE__ */ t(((e, t) => {
3415
+ var n = Tn(), r = _r();
3343
3416
  function i(e) {
3344
3417
  return e != null && r(e.length) && !n(e);
3345
3418
  }
3346
3419
  t.exports = i;
3347
- })), or = /* @__PURE__ */ t(((e, t) => {
3348
- var n = er(), r = ir(), i = ar();
3420
+ })), Or = /* @__PURE__ */ t(((e, t) => {
3421
+ var n = Sr(), r = Er(), i = Dr();
3349
3422
  function a(e) {
3350
3423
  return i(e) ? n(e) : r(e);
3351
3424
  }
3352
3425
  t.exports = a;
3353
- })), sr = /* @__PURE__ */ t(((e, t) => {
3354
- var n = zn(), r = Hn(), i = or();
3426
+ })), kr = /* @__PURE__ */ t(((e, t) => {
3427
+ var n = or(), r = lr(), i = Or();
3355
3428
  function a(e) {
3356
3429
  return n(e, i, r);
3357
3430
  }
3358
3431
  t.exports = a;
3359
- })), cr = /* @__PURE__ */ t(((e, t) => {
3360
- var n = sr(), r = 1, i = Object.prototype.hasOwnProperty;
3432
+ })), Ar = /* @__PURE__ */ t(((e, t) => {
3433
+ var n = kr(), r = 1, i = Object.prototype.hasOwnProperty;
3361
3434
  function a(e, t, a, o, s, c) {
3362
3435
  var l = a & r, u = n(e), d = u.length;
3363
3436
  if (d != n(t).length && !l) return !1;
@@ -3386,16 +3459,16 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3386
3459
  return c.delete(e), c.delete(t), g;
3387
3460
  }
3388
3461
  t.exports = a;
3389
- })), lr = /* @__PURE__ */ t(((e, t) => {
3390
- t.exports = Y()(q(), "DataView");
3391
- })), ur = /* @__PURE__ */ t(((e, t) => {
3392
- t.exports = Y()(q(), "Promise");
3393
- })), dr = /* @__PURE__ */ t(((e, t) => {
3394
- t.exports = Y()(q(), "Set");
3395
- })), fr = /* @__PURE__ */ t(((e, t) => {
3396
- t.exports = Y()(q(), "WeakMap");
3397
- })), pr = /* @__PURE__ */ t(((e, t) => {
3398
- var n = lr(), r = fn(), i = ur(), a = dr(), o = fr(), s = J(), c = ln(), 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;
3462
+ })), jr = /* @__PURE__ */ t(((e, t) => {
3463
+ t.exports = Q()(Z(), "DataView");
3464
+ })), Mr = /* @__PURE__ */ t(((e, t) => {
3465
+ t.exports = Q()(Z(), "Promise");
3466
+ })), Nr = /* @__PURE__ */ t(((e, t) => {
3467
+ t.exports = Q()(Z(), "Set");
3468
+ })), Pr = /* @__PURE__ */ t(((e, t) => {
3469
+ t.exports = Q()(Z(), "WeakMap");
3470
+ })), 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;
3399
3472
  (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) {
3400
3473
  var t = s(e), n = t == u ? e.constructor : void 0, r = n ? c(n) : "";
3401
3474
  if (r) switch (r) {
@@ -3407,8 +3480,8 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3407
3480
  }
3408
3481
  return t;
3409
3482
  }), t.exports = b;
3410
- })), mr = /* @__PURE__ */ t(((e, t) => {
3411
- var n = Dn(), r = Nn(), i = Ln(), a = cr(), o = pr(), s = Q(), c = qn(), l = $n(), u = 1, d = "[object Arguments]", f = "[object Array]", p = "[object Object]", m = Object.prototype.hasOwnProperty;
3483
+ })), Ir = /* @__PURE__ */ t(((e, t) => {
3484
+ var n = qn(), r = $n(), i = rr(), a = Ar(), o = Fr(), s = ar(), c = hr(), l = xr(), u = 1, d = "[object Arguments]", f = "[object Array]", p = "[object Object]", m = Object.prototype.hasOwnProperty;
3412
3485
  function h(e, t, h, g, _, v) {
3413
3486
  var y = s(e), b = s(t), x = y ? f : o(e), S = b ? f : o(t);
3414
3487
  x = x == d ? p : x, S = S == d ? p : S;
@@ -3428,41 +3501,41 @@ var Ut = Ht(), Wt = /* @__PURE__ */ t(((e, t) => {
3428
3501
  return T ? (v ||= new n(), a(e, t, h, g, _, v)) : !1;
3429
3502
  }
3430
3503
  t.exports = h;
3431
- })), hr = /* @__PURE__ */ t(((e, t) => {
3432
- var n = mr(), r = $();
3504
+ })), Lr = /* @__PURE__ */ t(((e, t) => {
3505
+ var n = Ir(), r = dr();
3433
3506
  function i(e, t, a, o, s) {
3434
3507
  return e === t ? !0 : e == null || t == null || !r(e) && !r(t) ? e !== e && t !== t : n(e, t, a, o, i, s);
3435
3508
  }
3436
3509
  t.exports = i;
3437
- })), gr = /* @__PURE__ */ r((/* @__PURE__ */ t(((e, t) => {
3438
- var n = hr();
3510
+ })), Rr = /* @__PURE__ */ r((/* @__PURE__ */ t(((e, t) => {
3511
+ var n = Lr();
3439
3512
  function r(e, t) {
3440
3513
  return n(e, t);
3441
3514
  }
3442
3515
  t.exports = r;
3443
- })))(), 1), _r = (e) => {
3516
+ })))(), 1), zr = (e) => {
3444
3517
  let t = e.error.flatten().fieldErrors, n = {};
3445
3518
  for (let [e, r] of Object.entries(t)) Array.isArray(r) && r.length > 0 && (n[e] = r);
3446
3519
  return n;
3447
3520
  };
3448
- function vr(e, t) {
3449
- let n = o({ ...e }), r = s({}), i = s({ ...e }), c = a(() => !(0, gr.default)({ ...n }, i.value)), u = () => {
3521
+ function Br(e, t) {
3522
+ let n = c({ ...e }), r = l({}), i = l({ ...e }), o = a(() => !(0, Rr.default)({ ...n }, i.value)), s = () => {
3450
3523
  r.value = {};
3451
- }, d = (e) => {
3524
+ }, u = (e) => {
3452
3525
  r.value = {
3453
3526
  ...r.value,
3454
3527
  ...e
3455
3528
  };
3456
3529
  }, f = () => ({ ...n }), p = () => {
3457
- if (!t) return u(), {
3530
+ if (!t) return s(), {
3458
3531
  valid: !0,
3459
3532
  data: f()
3460
3533
  };
3461
3534
  let e = t.safeParse(f());
3462
- return e.success ? (u(), {
3535
+ return e.success ? (s(), {
3463
3536
  valid: !0,
3464
3537
  data: e.data
3465
- }) : (r.value = _r(e), {
3538
+ }) : (r.value = zr(e), {
3466
3539
  valid: !1,
3467
3540
  errors: r.value
3468
3541
  });
@@ -3485,19 +3558,19 @@ function vr(e, t) {
3485
3558
  };
3486
3559
  i.value = { ...t };
3487
3560
  for (let e of Object.keys(t)) n[e] = t[e];
3488
- u();
3561
+ s();
3489
3562
  };
3490
- l(f, (e, t) => {
3563
+ d(f, (e, t) => {
3491
3564
  for (let n of Object.keys(e)) t?.[n] !== e[n] && m(n);
3492
3565
  }, { deep: !0 });
3493
3566
  let g = {
3494
3567
  form: n,
3495
3568
  errors: r,
3496
- isDirty: c,
3569
+ isDirty: o,
3497
3570
  validate: p,
3498
3571
  reset: h,
3499
- clearErrors: u,
3500
- setErrors: d
3572
+ clearErrors: s,
3573
+ setErrors: u
3501
3574
  };
3502
3575
  return {
3503
3576
  ...g,
@@ -3512,4 +3585,4 @@ function vr(e, t) {
3512
3585
  };
3513
3586
  }
3514
3587
  //#endregion
3515
- export { Lt as a, zt as i, Ht as n, Rt as o, Ut as r, vr as t };
3588
+ export { en as a, nn as i, on as n, tn as o, sn as r, te as s, Br as t };