mhz-helpers 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +480 -462
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { toRaw as Or, isRef as Ct, unref as Er, hasInjectionContext as Sr, inject as Rr, ref as D, nextTick as rt, getCurrentScope as Sn, computed as $, shallowReactive as Rn, reactive as An, watch as V, onScopeDispose as Tn, shallowReadonly as Cn, readonly as Te, toRefs as Pn, defineComponent as Ar, createApp as Tr, onMounted as Fn, onBeforeUnmount as xn, toRef as Cr, customRef as Pr, toValue as pe, shallowRef as Je, onBeforeMount as Fr } from "vue";
2
- import { createRouter as xr, createWebHistory as Dr, useRouter as Pt, useRoute as Ft } from "vue-router";
1
+ import { toRaw as Or, isRef as Tt, unref as Er, hasInjectionContext as Sr, inject as Rr, ref as D, nextTick as rt, getCurrentScope as Sn, computed as $, shallowReactive as Rn, reactive as An, watch as V, onScopeDispose as Tn, shallowReadonly as Cn, readonly as Te, toRefs as Pn, defineComponent as Ar, createApp as Tr, onMounted as Fn, onBeforeUnmount as xn, toRef as Cr, customRef as Pr, toValue as pe, shallowRef as Je, onBeforeMount as Fr } from "vue";
2
+ import { createRouter as xr, createWebHistory as Dr, useRouter as Ct, useRoute as Pt } from "vue-router";
3
3
  function Dn(t, e) {
4
4
  return function() {
5
5
  return t.apply(e, arguments);
6
6
  };
7
7
  }
8
- const { toString: qr } = Object.prototype, { getPrototypeOf: xt } = Object, { iterator: Be, toStringTag: qn } = Symbol, He = /* @__PURE__ */ ((t) => (e) => {
8
+ const { toString: qr } = Object.prototype, { getPrototypeOf: Ft } = Object, { iterator: He, toStringTag: qn } = Symbol, Be = /* @__PURE__ */ ((t) => (e) => {
9
9
  const n = qr.call(e);
10
10
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
11
- })(/* @__PURE__ */ Object.create(null)), K = (t) => (t = t.toLowerCase(), (e) => He(e) === t), $e = (t) => (e) => typeof e === t, { isArray: ve } = Array, ye = $e("undefined");
11
+ })(/* @__PURE__ */ Object.create(null)), K = (t) => (t = t.toLowerCase(), (e) => Be(e) === t), $e = (t) => (e) => typeof e === t, { isArray: ve } = Array, ye = $e("undefined");
12
12
  function Ce(t) {
13
13
  return t !== null && !ye(t) && t.constructor !== null && !ye(t.constructor) && k(t.constructor.isBuffer) && t.constructor.isBuffer(t);
14
14
  }
@@ -18,10 +18,10 @@ function Nr(t) {
18
18
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Nn(t.buffer), e;
19
19
  }
20
20
  const _r = $e("string"), k = $e("function"), _n = $e("number"), Pe = (t) => t !== null && typeof t == "object", Ir = (t) => t === !0 || t === !1, Ie = (t) => {
21
- if (He(t) !== "object")
21
+ if (Be(t) !== "object")
22
22
  return !1;
23
- const e = xt(t);
24
- return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(qn in t) && !(Be in t);
23
+ const e = Ft(t);
24
+ return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(qn in t) && !(He in t);
25
25
  }, Ur = (t) => {
26
26
  if (!Pe(t) || Ce(t))
27
27
  return !1;
@@ -30,11 +30,11 @@ const _r = $e("string"), k = $e("function"), _n = $e("number"), Pe = (t) => t !=
30
30
  } catch {
31
31
  return !1;
32
32
  }
33
- }, Mr = K("Date"), kr = K("File"), Lr = K("Blob"), Qr = K("FileList"), jr = (t) => Pe(t) && k(t.pipe), Br = (t) => {
33
+ }, Mr = K("Date"), kr = K("File"), Lr = K("Blob"), Qr = K("FileList"), jr = (t) => Pe(t) && k(t.pipe), Hr = (t) => {
34
34
  let e;
35
- return t && (typeof FormData == "function" && t instanceof FormData || k(t.append) && ((e = He(t)) === "formdata" || // detect form-data instance
35
+ return t && (typeof FormData == "function" && t instanceof FormData || k(t.append) && ((e = Be(t)) === "formdata" || // detect form-data instance
36
36
  e === "object" && k(t.toString) && t.toString() === "[object FormData]"));
37
- }, Hr = K("URLSearchParams"), [$r, Vr, Kr, Wr] = ["ReadableStream", "Request", "Response", "Headers"].map(K), zr = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
37
+ }, Br = K("URLSearchParams"), [$r, Vr, Kr, Wr] = ["ReadableStream", "Request", "Response", "Headers"].map(K), zr = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
38
38
  function Fe(t, e, { allOwnKeys: n = !1 } = {}) {
39
39
  if (t === null || typeof t > "u")
40
40
  return;
@@ -85,7 +85,7 @@ const Jr = (t, e, n, { allOwnKeys: r } = {}) => (Fe(e, (s, i) => {
85
85
  do {
86
86
  for (s = Object.getOwnPropertyNames(t), i = s.length; i-- > 0; )
87
87
  o = s[i], (!r || r(o, t, e)) && !a[o] && (e[o] = t[o], a[o] = !0);
88
- t = n !== !1 && xt(t);
88
+ t = n !== !1 && Ft(t);
89
89
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
90
90
  return e;
91
91
  }, Zr = (t, e, n) => {
@@ -101,8 +101,8 @@ const Jr = (t, e, n, { allOwnKeys: r } = {}) => (Fe(e, (s, i) => {
101
101
  for (; e-- > 0; )
102
102
  n[e] = t[e];
103
103
  return n;
104
- }, ts = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && xt(Uint8Array)), ns = (t, e) => {
105
- const r = (t && t[Be]).call(t);
104
+ }, ts = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Ft(Uint8Array)), ns = (t, e) => {
105
+ const r = (t && t[He]).call(t);
106
106
  let s;
107
107
  for (; (s = r.next()) && !s.done; ) {
108
108
  const i = s.value;
@@ -150,7 +150,7 @@ const Jr = (t, e, n, { allOwnKeys: r } = {}) => (Fe(e, (s, i) => {
150
150
  }, cs = () => {
151
151
  }, ls = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
152
152
  function fs(t) {
153
- return !!(t && k(t.append) && t[qn] === "FormData" && t[Be]);
153
+ return !!(t && k(t.append) && t[qn] === "FormData" && t[He]);
154
154
  }
155
155
  const ds = (t) => {
156
156
  const e = new Array(10), n = (r, s) => {
@@ -178,11 +178,11 @@ const ds = (t) => {
178
178
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
179
179
  typeof setImmediate == "function",
180
180
  k(re.postMessage)
181
- ), ys = typeof queueMicrotask < "u" ? queueMicrotask.bind(re) : typeof process < "u" && process.nextTick || kn, ms = (t) => t != null && k(t[Be]), f = {
181
+ ), ys = typeof queueMicrotask < "u" ? queueMicrotask.bind(re) : typeof process < "u" && process.nextTick || kn, ms = (t) => t != null && k(t[He]), f = {
182
182
  isArray: ve,
183
183
  isArrayBuffer: Nn,
184
184
  isBuffer: Ce,
185
- isFormData: Br,
185
+ isFormData: Hr,
186
186
  isArrayBufferView: Nr,
187
187
  isString: _r,
188
188
  isNumber: _n,
@@ -201,7 +201,7 @@ const ds = (t) => {
201
201
  isRegExp: os,
202
202
  isFunction: k,
203
203
  isStream: jr,
204
- isURLSearchParams: Hr,
204
+ isURLSearchParams: Br,
205
205
  isTypedArray: ts,
206
206
  isFileList: Qr,
207
207
  forEach: Fe,
@@ -211,7 +211,7 @@ const ds = (t) => {
211
211
  stripBOM: Gr,
212
212
  inherits: Xr,
213
213
  toFlatObject: Yr,
214
- kindOf: He,
214
+ kindOf: Be,
215
215
  kindOfTest: K,
216
216
  endsWith: Zr,
217
217
  toArray: es,
@@ -371,7 +371,7 @@ function Ve(t, e, n) {
371
371
  throw new TypeError("data must be an object");
372
372
  return v(t), e;
373
373
  }
374
- function Bt(t) {
374
+ function Ht(t) {
375
375
  const e = {
376
376
  "!": "%21",
377
377
  "'": "%27",
@@ -385,17 +385,17 @@ function Bt(t) {
385
385
  return e[r];
386
386
  });
387
387
  }
388
- function Dt(t, e) {
388
+ function xt(t, e) {
389
389
  this._pairs = [], t && Ve(t, this, e);
390
390
  }
391
- const Bn = Dt.prototype;
392
- Bn.append = function(e, n) {
391
+ const Hn = xt.prototype;
392
+ Hn.append = function(e, n) {
393
393
  this._pairs.push([e, n]);
394
394
  };
395
- Bn.toString = function(e) {
395
+ Hn.toString = function(e) {
396
396
  const n = e ? function(r) {
397
- return e.call(this, r, Bt);
398
- } : Bt;
397
+ return e.call(this, r, Ht);
398
+ } : Ht;
399
399
  return this._pairs.map(function(s) {
400
400
  return n(s[0]) + "=" + n(s[1]);
401
401
  }, "").join("&");
@@ -403,7 +403,7 @@ Bn.toString = function(e) {
403
403
  function ws(t) {
404
404
  return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
405
405
  }
406
- function Hn(t, e, n) {
406
+ function Bn(t, e, n) {
407
407
  if (!e)
408
408
  return t;
409
409
  const r = n && n.encode || ws;
@@ -412,13 +412,13 @@ function Hn(t, e, n) {
412
412
  });
413
413
  const s = n && n.serialize;
414
414
  let i;
415
- if (s ? i = s(e, n) : i = f.isURLSearchParams(e) ? e.toString() : new Dt(e, n).toString(r), i) {
415
+ if (s ? i = s(e, n) : i = f.isURLSearchParams(e) ? e.toString() : new xt(e, n).toString(r), i) {
416
416
  const o = t.indexOf("#");
417
417
  o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
418
418
  }
419
419
  return t;
420
420
  }
421
- class Ht {
421
+ class Bt {
422
422
  constructor() {
423
423
  this.handlers = [];
424
424
  }
@@ -443,7 +443,7 @@ class Ht {
443
443
  *
444
444
  * @param {Number} id The ID that was returned by `use`
445
445
  *
446
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
446
+ * @returns {void}
447
447
  */
448
448
  eject(e) {
449
449
  this.handlers[e] && (this.handlers[e] = null);
@@ -476,7 +476,7 @@ const $n = {
476
476
  silentJSONParsing: !0,
477
477
  forcedJSONParsing: !0,
478
478
  clarifyTimeoutError: !1
479
- }, Os = typeof URLSearchParams < "u" ? URLSearchParams : Dt, Es = typeof FormData < "u" ? FormData : null, Ss = typeof Blob < "u" ? Blob : null, Rs = {
479
+ }, Os = typeof URLSearchParams < "u" ? URLSearchParams : xt, Es = typeof FormData < "u" ? FormData : null, Ss = typeof Blob < "u" ? Blob : null, Rs = {
480
480
  isBrowser: !0,
481
481
  classes: {
482
482
  URLSearchParams: Os,
@@ -484,10 +484,10 @@ const $n = {
484
484
  Blob: Ss
485
485
  },
486
486
  protocols: ["http", "https", "file", "blob", "url", "data"]
487
- }, qt = typeof window < "u" && typeof document < "u", ot = typeof navigator == "object" && navigator || void 0, As = qt && (!ot || ["ReactNative", "NativeScript", "NS"].indexOf(ot.product) < 0), Ts = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
488
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Cs = qt && window.location.href || "http://localhost", Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
487
+ }, Dt = typeof window < "u" && typeof document < "u", ot = typeof navigator == "object" && navigator || void 0, As = Dt && (!ot || ["ReactNative", "NativeScript", "NS"].indexOf(ot.product) < 0), Ts = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
488
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Cs = Dt && window.location.href || "http://localhost", Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
489
489
  __proto__: null,
490
- hasBrowserEnv: qt,
490
+ hasBrowserEnv: Dt,
491
491
  hasStandardBrowserEnv: As,
492
492
  hasStandardBrowserWebWorkerEnv: Ts,
493
493
  navigator: ot,
@@ -895,22 +895,24 @@ const Le = (t, e, n = 3) => {
895
895
  total: t,
896
896
  loaded: r
897
897
  }), e[1]];
898
- }, Kt = (t) => (...e) => f.asap(() => t(...e)), Bs = _.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (n) => (n = new URL(n, _.origin), t.protocol === n.protocol && t.host === n.host && (e || t.port === n.port)))(
898
+ }, Kt = (t) => (...e) => f.asap(() => t(...e)), Hs = _.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, e) => (n) => (n = new URL(n, _.origin), t.protocol === n.protocol && t.host === n.host && (e || t.port === n.port)))(
899
899
  new URL(_.origin),
900
900
  _.navigator && /(msie|trident)/i.test(_.navigator.userAgent)
901
- ) : () => !0, Hs = _.hasStandardBrowserEnv ? (
901
+ ) : () => !0, Bs = _.hasStandardBrowserEnv ? (
902
902
  // Standard browser envs support document.cookie
903
903
  {
904
- write(t, e, n, r, s, i) {
905
- const o = [t + "=" + encodeURIComponent(e)];
906
- f.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), f.isString(r) && o.push("path=" + r), f.isString(s) && o.push("domain=" + s), i === !0 && o.push("secure"), document.cookie = o.join("; ");
904
+ write(t, e, n, r, s, i, o) {
905
+ if (typeof document > "u") return;
906
+ const a = [`${t}=${encodeURIComponent(e)}`];
907
+ f.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), f.isString(r) && a.push(`path=${r}`), f.isString(s) && a.push(`domain=${s}`), i === !0 && a.push("secure"), f.isString(o) && a.push(`SameSite=${o}`), document.cookie = a.join("; ");
907
908
  },
908
909
  read(t) {
909
- const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
910
- return e ? decodeURIComponent(e[3]) : null;
910
+ if (typeof document > "u") return null;
911
+ const e = document.cookie.match(new RegExp("(?:^|; )" + t + "=([^;]*)"));
912
+ return e ? decodeURIComponent(e[1]) : null;
911
913
  },
912
914
  remove(t) {
913
- this.write(t, "", Date.now() - 864e5);
915
+ this.write(t, "", Date.now() - 864e5, "/");
914
916
  }
915
917
  }
916
918
  ) : (
@@ -1003,7 +1005,7 @@ function ue(t, e) {
1003
1005
  const Jn = (t) => {
1004
1006
  const e = ue({}, t);
1005
1007
  let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: i, headers: o, auth: a } = e;
1006
- if (e.headers = o = L.from(o), e.url = Hn(zn(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), a && o.set(
1008
+ if (e.headers = o = L.from(o), e.url = Bn(zn(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), a && o.set(
1007
1009
  "Authorization",
1008
1010
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1009
1011
  ), f.isFormData(n)) {
@@ -1016,8 +1018,8 @@ const Jn = (t) => {
1016
1018
  });
1017
1019
  }
1018
1020
  }
1019
- if (_.hasStandardBrowserEnv && (r && f.isFunction(r) && (r = r(e)), r || r !== !1 && Bs(e.url))) {
1020
- const u = s && i && Hs.read(i);
1021
+ if (_.hasStandardBrowserEnv && (r && f.isFunction(r) && (r = r(e)), r || r !== !1 && Hs(e.url))) {
1022
+ const u = s && i && Bs.read(i);
1021
1023
  u && o.set(s, u);
1022
1024
  }
1023
1025
  return e;
@@ -1304,7 +1306,7 @@ const Jn = (t) => {
1304
1306
  }
1305
1307
  };
1306
1308
  }, ei = /* @__PURE__ */ new Map(), Gn = (t) => {
1307
- let e = t ? t.env : {};
1309
+ let e = t && t.env || {};
1308
1310
  const { fetch: n, Request: r, Response: s } = e, i = [
1309
1311
  r,
1310
1312
  s,
@@ -1316,14 +1318,14 @@ const Jn = (t) => {
1316
1318
  return l;
1317
1319
  };
1318
1320
  Gn();
1319
- const at = {
1321
+ const qt = {
1320
1322
  http: gs,
1321
1323
  xhr: Ws,
1322
1324
  fetch: {
1323
1325
  get: Gn
1324
1326
  }
1325
1327
  };
1326
- f.forEach(at, (t, e) => {
1328
+ f.forEach(qt, (t, e) => {
1327
1329
  if (t) {
1328
1330
  try {
1329
1331
  Object.defineProperty(t, "name", { value: e });
@@ -1332,36 +1334,46 @@ f.forEach(at, (t, e) => {
1332
1334
  Object.defineProperty(t, "adapterName", { value: e });
1333
1335
  }
1334
1336
  });
1335
- const Zt = (t) => `- ${t}`, ti = (t) => f.isFunction(t) || t === null || t === !1, Xn = {
1336
- getAdapter: (t, e) => {
1337
- t = f.isArray(t) ? t : [t];
1338
- const { length: n } = t;
1339
- let r, s;
1340
- const i = {};
1341
- for (let o = 0; o < n; o++) {
1342
- r = t[o];
1343
- let a;
1344
- if (s = r, !ti(r) && (s = at[(a = String(r)).toLowerCase()], s === void 0))
1345
- throw new E(`Unknown adapter '${a}'`);
1346
- if (s && (f.isFunction(s) || (s = s.get(e))))
1347
- break;
1348
- i[a || "#" + o] = s;
1349
- }
1350
- if (!s) {
1351
- const o = Object.entries(i).map(
1352
- ([u, l]) => `adapter ${u} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1353
- );
1354
- let a = n ? o.length > 1 ? `since :
1337
+ const Zt = (t) => `- ${t}`, ti = (t) => f.isFunction(t) || t === null || t === !1;
1338
+ function ni(t, e) {
1339
+ t = f.isArray(t) ? t : [t];
1340
+ const { length: n } = t;
1341
+ let r, s;
1342
+ const i = {};
1343
+ for (let o = 0; o < n; o++) {
1344
+ r = t[o];
1345
+ let a;
1346
+ if (s = r, !ti(r) && (s = qt[(a = String(r)).toLowerCase()], s === void 0))
1347
+ throw new E(`Unknown adapter '${a}'`);
1348
+ if (s && (f.isFunction(s) || (s = s.get(e))))
1349
+ break;
1350
+ i[a || "#" + o] = s;
1351
+ }
1352
+ if (!s) {
1353
+ const o = Object.entries(i).map(
1354
+ ([u, l]) => `adapter ${u} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1355
+ );
1356
+ let a = n ? o.length > 1 ? `since :
1355
1357
  ` + o.map(Zt).join(`
1356
1358
  `) : " " + Zt(o[0]) : "as no adapter specified";
1357
- throw new E(
1358
- "There is no suitable adapter to dispatch the request " + a,
1359
- "ERR_NOT_SUPPORT"
1360
- );
1361
- }
1362
- return s;
1363
- },
1364
- adapters: at
1359
+ throw new E(
1360
+ "There is no suitable adapter to dispatch the request " + a,
1361
+ "ERR_NOT_SUPPORT"
1362
+ );
1363
+ }
1364
+ return s;
1365
+ }
1366
+ const Xn = {
1367
+ /**
1368
+ * Resolve an adapter from a list of adapter names or functions.
1369
+ * @type {Function}
1370
+ */
1371
+ getAdapter: ni,
1372
+ /**
1373
+ * Exposes all known adapters
1374
+ * @type {Object<string, Function|Object>}
1375
+ */
1376
+ adapters: qt
1365
1377
  };
1366
1378
  function Ye(t) {
1367
1379
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
@@ -1385,7 +1397,7 @@ function en(t) {
1385
1397
  ), r.response.headers = L.from(r.response.headers))), Promise.reject(r);
1386
1398
  });
1387
1399
  }
1388
- const Yn = "1.12.2", Ke = {};
1400
+ const Yn = "1.13.1", Ke = {};
1389
1401
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1390
1402
  Ke[t] = function(r) {
1391
1403
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
@@ -1413,7 +1425,7 @@ Ke.transitional = function(e, n, r) {
1413
1425
  Ke.spelling = function(e) {
1414
1426
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
1415
1427
  };
1416
- function ni(t, e, n) {
1428
+ function ri(t, e, n) {
1417
1429
  if (typeof t != "object")
1418
1430
  throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
1419
1431
  const r = Object.keys(t);
@@ -1431,14 +1443,14 @@ function ni(t, e, n) {
1431
1443
  }
1432
1444
  }
1433
1445
  const Me = {
1434
- assertOptions: ni,
1446
+ assertOptions: ri,
1435
1447
  validators: Ke
1436
1448
  }, J = Me.validators;
1437
1449
  let ae = class {
1438
1450
  constructor(e) {
1439
1451
  this.defaults = e || {}, this.interceptors = {
1440
- request: new Ht(),
1441
- response: new Ht()
1452
+ request: new Bt(),
1453
+ response: new Bt()
1442
1454
  };
1443
1455
  }
1444
1456
  /**
@@ -1531,7 +1543,7 @@ let ae = class {
1531
1543
  getUri(e) {
1532
1544
  e = ue(this.defaults, e);
1533
1545
  const n = zn(e.baseURL, e.url, e.allowAbsoluteUrls);
1534
- return Hn(n, e.params, e.paramsSerializer);
1546
+ return Bn(n, e.params, e.paramsSerializer);
1535
1547
  }
1536
1548
  };
1537
1549
  f.forEach(["delete", "get", "head", "options"], function(e) {
@@ -1558,7 +1570,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1558
1570
  }
1559
1571
  ae.prototype[e] = n(), ae.prototype[e + "Form"] = n(!0);
1560
1572
  });
1561
- let ri = class Zn {
1573
+ let si = class Zn {
1562
1574
  constructor(e) {
1563
1575
  if (typeof e != "function")
1564
1576
  throw new TypeError("executor must be a function.");
@@ -1631,15 +1643,15 @@ let ri = class Zn {
1631
1643
  };
1632
1644
  }
1633
1645
  };
1634
- function si(t) {
1646
+ function ii(t) {
1635
1647
  return function(n) {
1636
1648
  return t.apply(null, n);
1637
1649
  };
1638
1650
  }
1639
- function ii(t) {
1651
+ function oi(t) {
1640
1652
  return f.isObject(t) && t.isAxiosError === !0;
1641
1653
  }
1642
- const ut = {
1654
+ const at = {
1643
1655
  Continue: 100,
1644
1656
  SwitchingProtocols: 101,
1645
1657
  Processing: 102,
@@ -1702,10 +1714,16 @@ const ut = {
1702
1714
  InsufficientStorage: 507,
1703
1715
  LoopDetected: 508,
1704
1716
  NotExtended: 510,
1705
- NetworkAuthenticationRequired: 511
1717
+ NetworkAuthenticationRequired: 511,
1718
+ WebServerIsDown: 521,
1719
+ ConnectionTimedOut: 522,
1720
+ OriginIsUnreachable: 523,
1721
+ TimeoutOccurred: 524,
1722
+ SslHandshakeFailed: 525,
1723
+ InvalidSslCertificate: 526
1706
1724
  };
1707
- Object.entries(ut).forEach(([t, e]) => {
1708
- ut[e] = t;
1725
+ Object.entries(at).forEach(([t, e]) => {
1726
+ at[e] = t;
1709
1727
  });
1710
1728
  function er(t) {
1711
1729
  const e = new ae(t), n = Dn(ae.prototype.request, e);
@@ -1716,7 +1734,7 @@ function er(t) {
1716
1734
  const F = er(xe);
1717
1735
  F.Axios = ae;
1718
1736
  F.CanceledError = be;
1719
- F.CancelToken = ri;
1737
+ F.CancelToken = si;
1720
1738
  F.isCancel = Kn;
1721
1739
  F.VERSION = Yn;
1722
1740
  F.toFormData = Ve;
@@ -1725,39 +1743,39 @@ F.Cancel = F.CanceledError;
1725
1743
  F.all = function(e) {
1726
1744
  return Promise.all(e);
1727
1745
  };
1728
- F.spread = si;
1729
- F.isAxiosError = ii;
1746
+ F.spread = ii;
1747
+ F.isAxiosError = oi;
1730
1748
  F.mergeConfig = ue;
1731
1749
  F.AxiosHeaders = L;
1732
1750
  F.formToJSON = (t) => Vn(f.isHTMLForm(t) ? new FormData(t) : t);
1733
1751
  F.getAdapter = Xn.getAdapter;
1734
- F.HttpStatusCode = ut;
1752
+ F.HttpStatusCode = at;
1735
1753
  F.default = F;
1736
1754
  const {
1737
- Axios: Go,
1738
- AxiosError: Xo,
1739
- CanceledError: Yo,
1740
- isCancel: Zo,
1741
- CancelToken: ea,
1742
- VERSION: ta,
1743
- all: na,
1744
- Cancel: ra,
1745
- isAxiosError: sa,
1746
- spread: ia,
1747
- toFormData: oa,
1748
- AxiosHeaders: aa,
1749
- HttpStatusCode: ua,
1750
- formToJSON: ca,
1751
- getAdapter: la,
1752
- mergeConfig: fa
1755
+ Axios: Xo,
1756
+ AxiosError: Yo,
1757
+ CanceledError: Zo,
1758
+ isCancel: ea,
1759
+ CancelToken: ta,
1760
+ VERSION: na,
1761
+ all: ra,
1762
+ Cancel: sa,
1763
+ isAxiosError: ia,
1764
+ spread: oa,
1765
+ toFormData: aa,
1766
+ AxiosHeaders: ua,
1767
+ HttpStatusCode: ca,
1768
+ formToJSON: la,
1769
+ getAdapter: fa,
1770
+ mergeConfig: da
1753
1771
  } = F, We = F;
1754
- function da(t) {
1772
+ function ha(t) {
1755
1773
  We.defaults.baseURL = t;
1756
1774
  }
1757
- function ha(t) {
1775
+ function pa(t) {
1758
1776
  We.defaults.headers.common.Authorization = `Bearer ${t}`;
1759
1777
  }
1760
- function oi() {
1778
+ function ai() {
1761
1779
  We.defaults.headers.common.Authorization = void 0;
1762
1780
  }
1763
1781
  function nn(t) {
@@ -1800,7 +1818,7 @@ function ne(t) {
1800
1818
  }
1801
1819
  return t;
1802
1820
  }
1803
- function pa(t) {
1821
+ function ya(t) {
1804
1822
  const e = Or(t);
1805
1823
  return ne(e);
1806
1824
  }
@@ -1826,20 +1844,20 @@ const X = {
1826
1844
  maxSymbols: "Максимальное количество символов"
1827
1845
  }
1828
1846
  };
1829
- function ct(t) {
1847
+ function ut(t) {
1830
1848
  return t < 10 ? `0${t}` : `${t}`;
1831
1849
  }
1832
- function ai(t, e = "ru") {
1850
+ function ui(t, e = "ru") {
1833
1851
  if (!t || t < 0) return "0";
1834
1852
  const n = Math.floor(t / 60), r = t % 60;
1835
- return `${n ? `${n} ${X[e].min}. ` : ""}${ct(r)} ${X[e].sec}.`;
1853
+ return `${n ? `${n} ${X[e].min}. ` : ""}${ut(r)} ${X[e].sec}.`;
1836
1854
  }
1837
- function ya(t, e = "ru") {
1855
+ function ma(t, e = "ru") {
1838
1856
  return !t || Number.isNaN(new Date(t).getTime()) ? "0" : new Intl.DateTimeFormat(X[e].locale, { year: "numeric", month: "short", day: "numeric" }).format(
1839
1857
  new Date(t)
1840
1858
  ) || "0";
1841
1859
  }
1842
- function ma(t, e = "ru") {
1860
+ function ga(t, e = "ru") {
1843
1861
  return !t || Number.isNaN(new Date(t).getTime()) ? "0" : new Intl.DateTimeFormat(X[e].locale, {
1844
1862
  year: "numeric",
1845
1863
  month: "short",
@@ -1848,18 +1866,18 @@ function ma(t, e = "ru") {
1848
1866
  minute: "numeric"
1849
1867
  }).format(new Date(t));
1850
1868
  }
1851
- function ga(t, e, n, r) {
1869
+ function va(t, e, n, r) {
1852
1870
  if (!t || !e) return "0";
1853
1871
  const s = new Date(t), i = new Date(e);
1854
1872
  if (Number.isNaN(s.getTime()) || Number.isNaN(i.getTime())) return "0";
1855
1873
  const o = Math.floor((s.getTime() - i.getTime()) / 1e3);
1856
- return r ? o : ai(o, n);
1874
+ return r ? o : ui(o, n);
1857
1875
  }
1858
- function va(t) {
1876
+ function ba(t) {
1859
1877
  const n = /* @__PURE__ */ new Date(), r = new Date(n.getTime() - t * 864e5), s = new Date(r.getTime() - 1), i = new Date(s.getTime() - t * 864e5);
1860
1878
  return { dateFrom: r, dateTo: n, dateFromPrev: i, dateToPrev: s };
1861
1879
  }
1862
- function ba(t, e) {
1880
+ function wa(t, e) {
1863
1881
  const n = [];
1864
1882
  for (let r = 0; r < t; r++) {
1865
1883
  const s = /* @__PURE__ */ new Date(), i = s.getDay() === 0 ? -6 : 1, o = new Date(s.setDate(e ? 1 : s.getDate() - s.getDay() + i - r * 7));
@@ -1873,27 +1891,27 @@ function ba(t, e) {
1873
1891
  }
1874
1892
  return n.reverse();
1875
1893
  }
1876
- function ui() {
1894
+ function ci() {
1877
1895
  const t = /* @__PURE__ */ new Date();
1878
1896
  return t.setFullYear(t.getFullYear() + 1), t.toUTCString();
1879
1897
  }
1880
- function wa() {
1898
+ function Oa() {
1881
1899
  return `temp-${crypto.randomUUID()}`;
1882
1900
  }
1883
- function Oa(t, e) {
1901
+ function Ea(t, e) {
1884
1902
  return !t || t.length === 0 ? [] : t.map((n) => ((e || n._id?.includes("temp-")) && delete n._id, n));
1885
1903
  }
1886
- function Ea(t, e) {
1904
+ function Sa(t, e) {
1887
1905
  return t === "/" ? t === e : t.includes(e) && e !== "/";
1888
1906
  }
1889
- function Sa(t, e) {
1907
+ function Ra(t, e) {
1890
1908
  const n = e === "ru" ? "" : `_${e}`;
1891
1909
  return `${t}${n}`;
1892
1910
  }
1893
- function Ra(t) {
1911
+ function Aa(t) {
1894
1912
  return t === null || Number.isNaN(t) ? "" : `${t > 0 ? "+" : ""}${t}%`;
1895
1913
  }
1896
- function Aa(t, e) {
1914
+ function Ta(t, e) {
1897
1915
  return e === 0 || Number.isNaN(e) || Number.isNaN(t) ? 0 : Math.round((t - e) / e * 100);
1898
1916
  }
1899
1917
  var we = class {
@@ -1912,7 +1930,7 @@ var we = class {
1912
1930
  }
1913
1931
  onUnsubscribe() {
1914
1932
  }
1915
- }, ci = {
1933
+ }, li = {
1916
1934
  // We need the wrapper function syntax below instead of direct references to
1917
1935
  // global setTimeout etc.
1918
1936
  //
@@ -1927,14 +1945,14 @@ var we = class {
1927
1945
  clearTimeout: (t) => clearTimeout(t),
1928
1946
  setInterval: (t, e) => setInterval(t, e),
1929
1947
  clearInterval: (t) => clearInterval(t)
1930
- }, li = class {
1948
+ }, fi = class {
1931
1949
  // We cannot have TimeoutManager<T> as we must instantiate it with a concrete
1932
1950
  // type at app boot; and if we leave that type, then any new timer provider
1933
1951
  // would need to support ReturnType<typeof setTimeout>, which is infeasible.
1934
1952
  //
1935
1953
  // We settle for type safety for the TimeoutProvider type, and accept that
1936
1954
  // this class is unsafe internally to allow for extension.
1937
- #e = ci;
1955
+ #e = li;
1938
1956
  #t = !1;
1939
1957
  setTimeoutProvider(t) {
1940
1958
  process.env.NODE_ENV !== "production" && this.#t && t !== this.#e && console.error(
@@ -1954,17 +1972,17 @@ var we = class {
1954
1972
  clearInterval(t) {
1955
1973
  this.#e.clearInterval(t);
1956
1974
  }
1957
- }, se = new li();
1958
- function fi(t) {
1975
+ }, se = new fi();
1976
+ function di(t) {
1959
1977
  setTimeout(t, 0);
1960
1978
  }
1961
1979
  var ce = typeof window > "u" || "Deno" in globalThis;
1962
- function B() {
1980
+ function H() {
1963
1981
  }
1964
- function di(t, e) {
1982
+ function hi(t, e) {
1965
1983
  return typeof t == "function" ? t(e) : t;
1966
1984
  }
1967
- function lt(t) {
1985
+ function ct(t) {
1968
1986
  return typeof t == "number" && t >= 0 && t !== 1 / 0;
1969
1987
  }
1970
1988
  function tr(t, e) {
@@ -1973,7 +1991,7 @@ function tr(t, e) {
1973
1991
  function te(t, e) {
1974
1992
  return typeof t == "function" ? t(e) : t;
1975
1993
  }
1976
- function H(t, e) {
1994
+ function B(t, e) {
1977
1995
  return typeof t == "function" ? t(e) : t;
1978
1996
  }
1979
1997
  function rn(t, e) {
@@ -2018,31 +2036,31 @@ function Nt(t, e) {
2018
2036
  function le(t) {
2019
2037
  return JSON.stringify(
2020
2038
  t,
2021
- (e, n) => dt(n) ? Object.keys(n).sort().reduce((r, s) => (r[s] = n[s], r), {}) : n
2039
+ (e, n) => ft(n) ? Object.keys(n).sort().reduce((r, s) => (r[s] = n[s], r), {}) : n
2022
2040
  );
2023
2041
  }
2024
2042
  function Re(t, e) {
2025
2043
  return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? Object.keys(e).every((n) => Re(t[n], e[n])) : !1;
2026
2044
  }
2027
- var hi = Object.prototype.hasOwnProperty;
2028
- function ft(t, e) {
2045
+ var pi = Object.prototype.hasOwnProperty;
2046
+ function lt(t, e) {
2029
2047
  if (t === e)
2030
2048
  return t;
2031
2049
  const n = on(t) && on(e);
2032
- if (!n && !(dt(t) && dt(e))) return e;
2050
+ if (!n && !(ft(t) && ft(e))) return e;
2033
2051
  const s = (n ? t : Object.keys(t)).length, i = n ? e : Object.keys(e), o = i.length, a = n ? new Array(o) : {};
2034
2052
  let u = 0;
2035
2053
  for (let l = 0; l < o; l++) {
2036
2054
  const c = n ? l : i[l], d = t[c], g = e[c];
2037
2055
  if (d === g) {
2038
- a[c] = d, (n ? l < s : hi.call(t, c)) && u++;
2056
+ a[c] = d, (n ? l < s : pi.call(t, c)) && u++;
2039
2057
  continue;
2040
2058
  }
2041
2059
  if (d === null || g === null || typeof d != "object" || typeof g != "object") {
2042
2060
  a[c] = g;
2043
2061
  continue;
2044
2062
  }
2045
- const v = ft(d, g);
2063
+ const v = lt(d, g);
2046
2064
  a[c] = v, v === d && u++;
2047
2065
  }
2048
2066
  return s === o && u === s ? t : a;
@@ -2058,7 +2076,7 @@ function Qe(t, e) {
2058
2076
  function on(t) {
2059
2077
  return Array.isArray(t) && t.length === Object.keys(t).length;
2060
2078
  }
2061
- function dt(t) {
2079
+ function ft(t) {
2062
2080
  if (!an(t))
2063
2081
  return !1;
2064
2082
  const e = t.constructor;
@@ -2070,32 +2088,32 @@ function dt(t) {
2070
2088
  function an(t) {
2071
2089
  return Object.prototype.toString.call(t) === "[object Object]";
2072
2090
  }
2073
- function pi(t) {
2091
+ function yi(t) {
2074
2092
  return new Promise((e) => {
2075
2093
  se.setTimeout(e, t);
2076
2094
  });
2077
2095
  }
2078
- function ht(t, e, n) {
2096
+ function dt(t, e, n) {
2079
2097
  if (typeof n.structuralSharing == "function")
2080
2098
  return n.structuralSharing(t, e);
2081
2099
  if (n.structuralSharing !== !1) {
2082
2100
  if (process.env.NODE_ENV !== "production")
2083
2101
  try {
2084
- return ft(t, e);
2102
+ return lt(t, e);
2085
2103
  } catch (r) {
2086
2104
  throw console.error(
2087
2105
  `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${r}`
2088
2106
  ), r;
2089
2107
  }
2090
- return ft(t, e);
2108
+ return lt(t, e);
2091
2109
  }
2092
2110
  return e;
2093
2111
  }
2094
- function yi(t, e, n = 0) {
2112
+ function mi(t, e, n = 0) {
2095
2113
  const r = [...t, e];
2096
2114
  return n && r.length > n ? r.slice(1) : r;
2097
2115
  }
2098
- function mi(t, e, n = 0) {
2116
+ function gi(t, e, n = 0) {
2099
2117
  const r = [e, ...t];
2100
2118
  return n && r.length > n ? r.slice(0, -1) : r;
2101
2119
  }
@@ -2105,10 +2123,10 @@ function nr(t, e) {
2105
2123
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${t.queryHash}'`
2106
2124
  ), !t.queryFn && e?.initialPromise ? () => e.initialPromise : !t.queryFn || t.queryFn === je ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
2107
2125
  }
2108
- function pt(t, e) {
2126
+ function ht(t, e) {
2109
2127
  return typeof t == "function" ? t(...e) : !!t;
2110
2128
  }
2111
- var gi = class extends we {
2129
+ var vi = class extends we {
2112
2130
  #e;
2113
2131
  #t;
2114
2132
  #n;
@@ -2145,8 +2163,8 @@ var gi = class extends we {
2145
2163
  isFocused() {
2146
2164
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
2147
2165
  }
2148
- }, _t = new gi();
2149
- function yt() {
2166
+ }, _t = new vi();
2167
+ function pt() {
2150
2168
  let t, e;
2151
2169
  const n = new Promise((s, i) => {
2152
2170
  t = s, e = i;
@@ -2168,13 +2186,13 @@ function yt() {
2168
2186
  }), e(s);
2169
2187
  }, n;
2170
2188
  }
2171
- var vi = fi;
2172
- function bi() {
2189
+ var bi = di;
2190
+ function wi() {
2173
2191
  let t = [], e = 0, n = (a) => {
2174
2192
  a();
2175
2193
  }, r = (a) => {
2176
2194
  a();
2177
- }, s = vi;
2195
+ }, s = bi;
2178
2196
  const i = (a) => {
2179
2197
  e ? t.push(a) : s(() => {
2180
2198
  n(a);
@@ -2228,7 +2246,7 @@ function bi() {
2228
2246
  }
2229
2247
  };
2230
2248
  }
2231
- var q = bi(), wi = class extends we {
2249
+ var q = wi(), Oi = class extends we {
2232
2250
  #e = !0;
2233
2251
  #t;
2234
2252
  #n;
@@ -2259,23 +2277,23 @@ var q = bi(), wi = class extends we {
2259
2277
  isOnline() {
2260
2278
  return this.#e;
2261
2279
  }
2262
- }, me = new wi();
2263
- function Oi(t) {
2280
+ }, me = new Oi();
2281
+ function Ei(t) {
2264
2282
  return Math.min(1e3 * 2 ** t, 3e4);
2265
2283
  }
2266
2284
  function rr(t) {
2267
2285
  return (t ?? "online") === "online" ? me.isOnline() : !0;
2268
2286
  }
2269
- var mt = class extends Error {
2287
+ var yt = class extends Error {
2270
2288
  constructor(t) {
2271
2289
  super("CancelledError"), this.revert = t?.revert, this.silent = t?.silent;
2272
2290
  }
2273
2291
  };
2274
2292
  function sr(t) {
2275
2293
  let e = !1, n = 0, r;
2276
- const s = yt(), i = () => s.status !== "pending", o = (p) => {
2294
+ const s = pt(), i = () => s.status !== "pending", o = (p) => {
2277
2295
  if (!i()) {
2278
- const y = new mt(p);
2296
+ const y = new yt(p);
2279
2297
  g(y), t.onCancel?.(y);
2280
2298
  }
2281
2299
  }, a = () => {
@@ -2305,12 +2323,12 @@ function sr(t) {
2305
2323
  Promise.resolve(p).then(d).catch((m) => {
2306
2324
  if (i())
2307
2325
  return;
2308
- const O = t.retry ?? (ce ? 0 : 3), b = t.retryDelay ?? Oi, w = typeof b == "function" ? b(n, m) : b, R = O === !0 || typeof O == "number" && n < O || typeof O == "function" && O(n, m);
2326
+ const O = t.retry ?? (ce ? 0 : 3), b = t.retryDelay ?? Ei, w = typeof b == "function" ? b(n, m) : b, R = O === !0 || typeof O == "number" && n < O || typeof O == "function" && O(n, m);
2309
2327
  if (e || !R) {
2310
2328
  g(m);
2311
2329
  return;
2312
2330
  }
2313
- n++, t.onFail?.(n, m), pi(w).then(() => l() ? void 0 : v()).then(() => {
2331
+ n++, t.onFail?.(n, m), yi(w).then(() => l() ? void 0 : v()).then(() => {
2314
2332
  e ? g(m) : h();
2315
2333
  });
2316
2334
  });
@@ -2332,7 +2350,7 @@ var ir = class {
2332
2350
  this.clearGcTimeout();
2333
2351
  }
2334
2352
  scheduleGc() {
2335
- this.clearGcTimeout(), lt(this.gcTime) && (this.#e = se.setTimeout(() => {
2353
+ this.clearGcTimeout(), ct(this.gcTime) && (this.#e = se.setTimeout(() => {
2336
2354
  this.optionalRemove();
2337
2355
  }, this.gcTime));
2338
2356
  }
@@ -2345,7 +2363,7 @@ var ir = class {
2345
2363
  clearGcTimeout() {
2346
2364
  this.#e && (se.clearTimeout(this.#e), this.#e = void 0);
2347
2365
  }
2348
- }, Ei = class extends ir {
2366
+ }, Si = class extends ir {
2349
2367
  #e;
2350
2368
  #t;
2351
2369
  #n;
@@ -2375,7 +2393,7 @@ var ir = class {
2375
2393
  !this.observers.length && this.state.fetchStatus === "idle" && this.#n.remove(this);
2376
2394
  }
2377
2395
  setData(t, e) {
2378
- const n = ht(this.state.data, t, this.options);
2396
+ const n = dt(this.state.data, t, this.options);
2379
2397
  return this.#i({
2380
2398
  data: n,
2381
2399
  type: "success",
@@ -2388,7 +2406,7 @@ var ir = class {
2388
2406
  }
2389
2407
  cancel(t) {
2390
2408
  const e = this.#r?.promise;
2391
- return this.#r?.cancel(t), e ? e.then(B).catch(B) : Promise.resolve();
2409
+ return this.#r?.cancel(t), e ? e.then(H).catch(H) : Promise.resolve();
2392
2410
  }
2393
2411
  destroy() {
2394
2412
  super.destroy(), this.cancel({ silent: !0 });
@@ -2398,7 +2416,7 @@ var ir = class {
2398
2416
  }
2399
2417
  isActive() {
2400
2418
  return this.observers.some(
2401
- (t) => H(t.options.enabled, this) !== !1
2419
+ (t) => B(t.options.enabled, this) !== !1
2402
2420
  );
2403
2421
  }
2404
2422
  isDisabled() {
@@ -2486,7 +2504,7 @@ var ir = class {
2486
2504
  initialPromise: e?.initialPromise,
2487
2505
  fn: o.fetchFn,
2488
2506
  onCancel: (a) => {
2489
- a instanceof mt && a.revert && this.setState({
2507
+ a instanceof yt && a.revert && this.setState({
2490
2508
  ...this.#t,
2491
2509
  fetchStatus: "idle"
2492
2510
  }), n.abort();
@@ -2517,7 +2535,7 @@ var ir = class {
2517
2535
  this
2518
2536
  ), a;
2519
2537
  } catch (a) {
2520
- if (a instanceof mt) {
2538
+ if (a instanceof yt) {
2521
2539
  if (a.silent)
2522
2540
  return this.#r.promise;
2523
2541
  if (a.revert) {
@@ -2641,9 +2659,9 @@ function un(t) {
2641
2659
  fetchStatus: "idle"
2642
2660
  };
2643
2661
  }
2644
- var Si = class extends we {
2662
+ var Ri = class extends we {
2645
2663
  constructor(t, e) {
2646
- super(), this.options = e, this.#e = t, this.#i = null, this.#a = yt(), this.bindMethods(), this.setOptions(e);
2664
+ super(), this.options = e, this.#e = t, this.#i = null, this.#a = pt(), this.bindMethods(), this.setOptions(e);
2647
2665
  }
2648
2666
  #e;
2649
2667
  #t = void 0;
@@ -2672,14 +2690,14 @@ var Si = class extends we {
2672
2690
  this.hasListeners() || this.destroy();
2673
2691
  }
2674
2692
  shouldFetchOnReconnect() {
2675
- return gt(
2693
+ return mt(
2676
2694
  this.#t,
2677
2695
  this.options,
2678
2696
  this.options.refetchOnReconnect
2679
2697
  );
2680
2698
  }
2681
2699
  shouldFetchOnWindowFocus() {
2682
- return gt(
2700
+ return mt(
2683
2701
  this.#t,
2684
2702
  this.options,
2685
2703
  this.options.refetchOnWindowFocus
@@ -2690,7 +2708,7 @@ var Si = class extends we {
2690
2708
  }
2691
2709
  setOptions(t) {
2692
2710
  const e = this.options, n = this.#t;
2693
- if (this.options = this.#e.defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof H(this.options.enabled, this.#t) != "boolean")
2711
+ if (this.options = this.#e.defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof B(this.options.enabled, this.#t) != "boolean")
2694
2712
  throw new Error(
2695
2713
  "Expected enabled to be a boolean or a callback that returns a boolean"
2696
2714
  );
@@ -2705,13 +2723,13 @@ var Si = class extends we {
2705
2723
  n,
2706
2724
  this.options,
2707
2725
  e
2708
- ) && this.#f(), this.updateResult(), r && (this.#t !== n || H(this.options.enabled, this.#t) !== H(e.enabled, this.#t) || te(this.options.staleTime, this.#t) !== te(e.staleTime, this.#t)) && this.#m();
2726
+ ) && this.#f(), this.updateResult(), r && (this.#t !== n || B(this.options.enabled, this.#t) !== B(e.enabled, this.#t) || te(this.options.staleTime, this.#t) !== te(e.staleTime, this.#t)) && this.#m();
2709
2727
  const s = this.#g();
2710
- r && (this.#t !== n || H(this.options.enabled, this.#t) !== H(e.enabled, this.#t) || s !== this.#u) && this.#v(s);
2728
+ r && (this.#t !== n || B(this.options.enabled, this.#t) !== B(e.enabled, this.#t) || s !== this.#u) && this.#v(s);
2711
2729
  }
2712
2730
  getOptimisticResult(t) {
2713
2731
  const e = this.#e.getQueryCache().build(this.#e, t), n = this.createResult(e, t);
2714
- return Ai(this, n) && (this.#s = n, this.#o = this.options, this.#r = this.#t.state), n;
2732
+ return Ti(this, n) && (this.#s = n, this.#o = this.options, this.#r = this.#t.state), n;
2715
2733
  }
2716
2734
  getCurrentResult() {
2717
2735
  return this.#s;
@@ -2752,7 +2770,7 @@ var Si = class extends we {
2752
2770
  this.options,
2753
2771
  t
2754
2772
  );
2755
- return t?.throwOnError || (e = e.catch(B)), e;
2773
+ return t?.throwOnError || (e = e.catch(H)), e;
2756
2774
  }
2757
2775
  #m() {
2758
2776
  this.#w();
@@ -2760,7 +2778,7 @@ var Si = class extends we {
2760
2778
  this.options.staleTime,
2761
2779
  this.#t
2762
2780
  );
2763
- if (ce || this.#s.isStale || !lt(t))
2781
+ if (ce || this.#s.isStale || !ct(t))
2764
2782
  return;
2765
2783
  const n = tr(this.#s.dataUpdatedAt, t) + 1;
2766
2784
  this.#c = se.setTimeout(() => {
@@ -2771,7 +2789,7 @@ var Si = class extends we {
2771
2789
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
2772
2790
  }
2773
2791
  #v(t) {
2774
- this.#O(), this.#u = t, !(ce || H(this.options.enabled, this.#t) === !1 || !lt(this.#u) || this.#u === 0) && (this.#l = se.setInterval(() => {
2792
+ this.#O(), this.#u = t, !(ce || B(this.options.enabled, this.#t) === !1 || !ct(this.#u) || this.#u === 0) && (this.#l = se.setInterval(() => {
2775
2793
  (this.options.refetchIntervalInBackground || _t.isFocused()) && this.#f();
2776
2794
  }, this.#u));
2777
2795
  }
@@ -2802,7 +2820,7 @@ var Si = class extends we {
2802
2820
  s?.isPlaceholderData && e.placeholderData === o?.placeholderData ? (P = s.data, y = !0) : P = typeof e.placeholderData == "function" ? e.placeholderData(
2803
2821
  this.#h?.state.data,
2804
2822
  this.#h
2805
- ) : e.placeholderData, P !== void 0 && (p = "success", g = ht(
2823
+ ) : e.placeholderData, P !== void 0 && (p = "success", g = dt(
2806
2824
  s?.data,
2807
2825
  P,
2808
2826
  e
@@ -2813,7 +2831,7 @@ var Si = class extends we {
2813
2831
  g = this.#d;
2814
2832
  else
2815
2833
  try {
2816
- this.#y = e.select, g = e.select(g), g = ht(s?.data, g, e), this.#d = g, this.#i = null;
2834
+ this.#y = e.select, g = e.select(g), g = dt(s?.data, g, e), this.#d = g, this.#i = null;
2817
2835
  } catch (P) {
2818
2836
  this.#i = P;
2819
2837
  }
@@ -2844,13 +2862,13 @@ var Si = class extends we {
2844
2862
  isStale: It(t, e),
2845
2863
  refetch: this.refetch,
2846
2864
  promise: this.#a,
2847
- isEnabled: H(e.enabled, t) !== !1
2865
+ isEnabled: B(e.enabled, t) !== !1
2848
2866
  };
2849
2867
  if (this.options.experimental_prefetchInRender) {
2850
2868
  const P = (W) => {
2851
2869
  T.status === "error" ? W.reject(T.error) : T.data !== void 0 && W.resolve(T.data);
2852
2870
  }, I = () => {
2853
- const W = this.#a = T.promise = yt();
2871
+ const W = this.#a = T.promise = pt();
2854
2872
  P(W);
2855
2873
  }, j = this.#a;
2856
2874
  switch (j.status) {
@@ -2909,26 +2927,26 @@ var Si = class extends we {
2909
2927
  });
2910
2928
  }
2911
2929
  };
2912
- function Ri(t, e) {
2913
- return H(e.enabled, t) !== !1 && t.state.data === void 0 && !(t.state.status === "error" && e.retryOnMount === !1);
2930
+ function Ai(t, e) {
2931
+ return B(e.enabled, t) !== !1 && t.state.data === void 0 && !(t.state.status === "error" && e.retryOnMount === !1);
2914
2932
  }
2915
2933
  function cn(t, e) {
2916
- return Ri(t, e) || t.state.data !== void 0 && gt(t, e, e.refetchOnMount);
2934
+ return Ai(t, e) || t.state.data !== void 0 && mt(t, e, e.refetchOnMount);
2917
2935
  }
2918
- function gt(t, e, n) {
2919
- if (H(e.enabled, t) !== !1 && te(e.staleTime, t) !== "static") {
2936
+ function mt(t, e, n) {
2937
+ if (B(e.enabled, t) !== !1 && te(e.staleTime, t) !== "static") {
2920
2938
  const r = typeof n == "function" ? n(t) : n;
2921
2939
  return r === "always" || r !== !1 && It(t, e);
2922
2940
  }
2923
2941
  return !1;
2924
2942
  }
2925
2943
  function ln(t, e, n, r) {
2926
- return (t !== e || H(r.enabled, t) === !1) && (!n.suspense || t.state.status !== "error") && It(t, n);
2944
+ return (t !== e || B(r.enabled, t) === !1) && (!n.suspense || t.state.status !== "error") && It(t, n);
2927
2945
  }
2928
2946
  function It(t, e) {
2929
- return H(e.enabled, t) !== !1 && t.isStaleByTime(te(e.staleTime, t));
2947
+ return B(e.enabled, t) !== !1 && t.isStaleByTime(te(e.staleTime, t));
2930
2948
  }
2931
- function Ai(t, e) {
2949
+ function Ti(t, e) {
2932
2950
  return !Qe(t.getCurrentResult(), e);
2933
2951
  }
2934
2952
  function fn(t) {
@@ -2959,14 +2977,14 @@ function fn(t) {
2959
2977
  meta: e.options.meta
2960
2978
  };
2961
2979
  return d(C), C;
2962
- })(), b = await g(O), { maxPages: w } = e.options, R = y ? mi : yi;
2980
+ })(), b = await g(O), { maxPages: w } = e.options, R = y ? gi : mi;
2963
2981
  return {
2964
2982
  pages: R(h.pages, b, w),
2965
2983
  pageParams: R(h.pageParams, p, w)
2966
2984
  };
2967
2985
  };
2968
2986
  if (s && i.length) {
2969
- const h = s === "backward", p = h ? Ti : dn, y = {
2987
+ const h = s === "backward", p = h ? Ci : dn, y = {
2970
2988
  pages: i,
2971
2989
  pageParams: o
2972
2990
  }, m = p(r, y);
@@ -3004,10 +3022,10 @@ function dn(t, { pages: e, pageParams: n }) {
3004
3022
  n
3005
3023
  ) : void 0;
3006
3024
  }
3007
- function Ti(t, { pages: e, pageParams: n }) {
3025
+ function Ci(t, { pages: e, pageParams: n }) {
3008
3026
  return e.length > 0 ? t.getPreviousPageParam?.(e[0], e, n[0], n) : void 0;
3009
3027
  }
3010
- var Ci = class extends ir {
3028
+ var Pi = class extends ir {
3011
3029
  #e;
3012
3030
  #t;
3013
3031
  #n;
@@ -3231,7 +3249,7 @@ var ur = class extends we {
3231
3249
  #t;
3232
3250
  #n;
3233
3251
  build(e, n, r) {
3234
- const s = new Ci({
3252
+ const s = new Pi({
3235
3253
  client: e,
3236
3254
  mutationCache: this,
3237
3255
  mutationId: ++this.#n,
@@ -3307,7 +3325,7 @@ var ur = class extends we {
3307
3325
  const e = this.getAll().filter((n) => n.state.isPaused);
3308
3326
  return q.batch(
3309
3327
  () => Promise.all(
3310
- e.map((n) => n.continue().catch(B))
3328
+ e.map((n) => n.continue().catch(H))
3311
3329
  )
3312
3330
  );
3313
3331
  }
@@ -3315,7 +3333,7 @@ var ur = class extends we {
3315
3333
  function Ne(t) {
3316
3334
  return t.options.scope?.id;
3317
3335
  }
3318
- var Pi = class extends we {
3336
+ var Fi = class extends we {
3319
3337
  #e;
3320
3338
  #t = void 0;
3321
3339
  #n;
@@ -3406,7 +3424,7 @@ var Pi = class extends we {
3406
3424
  build(e, n, r) {
3407
3425
  const s = n.queryKey, i = n.queryHash ?? Nt(s, n);
3408
3426
  let o = this.get(i);
3409
- return o || (o = new Ei({
3427
+ return o || (o = new Si({
3410
3428
  client: e,
3411
3429
  queryKey: s,
3412
3430
  queryHash: i,
@@ -3469,7 +3487,7 @@ var Pi = class extends we {
3469
3487
  });
3470
3488
  });
3471
3489
  }
3472
- }, Fi = class {
3490
+ }, xi = class {
3473
3491
  #e;
3474
3492
  #t;
3475
3493
  #n;
@@ -3521,7 +3539,7 @@ var Pi = class extends we {
3521
3539
  setQueryData(e, n, r) {
3522
3540
  const s = this.defaultQueryOptions({ queryKey: e }), o = this.#e.get(
3523
3541
  s.queryHash
3524
- )?.state.data, a = di(n, o);
3542
+ )?.state.data, a = hi(n, o);
3525
3543
  if (a !== void 0)
3526
3544
  return this.#e.build(this, s).setData(a, { ...r, manual: !0 });
3527
3545
  }
@@ -3563,7 +3581,7 @@ var Pi = class extends we {
3563
3581
  const r = { revert: !0, ...n }, s = q.batch(
3564
3582
  () => this.#e.findAll(e).map((i) => i.cancel(r))
3565
3583
  );
3566
- return Promise.all(s).then(B).catch(B);
3584
+ return Promise.all(s).then(H).catch(H);
3567
3585
  }
3568
3586
  invalidateQueries(e, n = {}) {
3569
3587
  return q.batch(() => (this.#e.findAll(e).forEach((r) => {
@@ -3583,10 +3601,10 @@ var Pi = class extends we {
3583
3601
  }, s = q.batch(
3584
3602
  () => this.#e.findAll(e).filter((i) => !i.isDisabled() && !i.isStatic()).map((i) => {
3585
3603
  let o = i.fetch(void 0, r);
3586
- return r.throwOnError || (o = o.catch(B)), i.state.fetchStatus === "paused" ? Promise.resolve() : o;
3604
+ return r.throwOnError || (o = o.catch(H)), i.state.fetchStatus === "paused" ? Promise.resolve() : o;
3587
3605
  })
3588
3606
  );
3589
- return Promise.all(s).then(B);
3607
+ return Promise.all(s).then(H);
3590
3608
  }
3591
3609
  fetchQuery(e) {
3592
3610
  const n = this.defaultQueryOptions(e);
@@ -3597,13 +3615,13 @@ var Pi = class extends we {
3597
3615
  ) ? r.fetch(n) : Promise.resolve(r.state.data);
3598
3616
  }
3599
3617
  prefetchQuery(e) {
3600
- return this.fetchQuery(e).then(B).catch(B);
3618
+ return this.fetchQuery(e).then(H).catch(H);
3601
3619
  }
3602
3620
  fetchInfiniteQuery(e) {
3603
3621
  return e.behavior = fn(e.pages), this.fetchQuery(e);
3604
3622
  }
3605
3623
  prefetchInfiniteQuery(e) {
3606
- return this.fetchInfiniteQuery(e).then(B).catch(B);
3624
+ return this.fetchInfiniteQuery(e).then(H).catch(H);
3607
3625
  }
3608
3626
  ensureInfiniteQueryData(e) {
3609
3627
  return e.behavior = fn(e.pages), this.ensureQueryData(e);
@@ -3672,55 +3690,55 @@ var Pi = class extends we {
3672
3690
  clear() {
3673
3691
  this.#e.clear(), this.#t.clear();
3674
3692
  }
3675
- }, xi = "VUE_QUERY_CLIENT";
3693
+ }, Di = "VUE_QUERY_CLIENT";
3676
3694
  function lr(t) {
3677
3695
  const e = t ? `:${t}` : "";
3678
- return `${xi}${e}`;
3696
+ return `${Di}${e}`;
3679
3697
  }
3680
- function vt(t, e) {
3698
+ function gt(t, e) {
3681
3699
  Object.keys(t).forEach((n) => {
3682
3700
  t[n] = e[n];
3683
3701
  });
3684
3702
  }
3685
- function bt(t, e, n = "", r = 0) {
3703
+ function vt(t, e, n = "", r = 0) {
3686
3704
  if (e) {
3687
3705
  const s = e(t, n, r);
3688
- if (s === void 0 && Ct(t) || s !== void 0)
3706
+ if (s === void 0 && Tt(t) || s !== void 0)
3689
3707
  return s;
3690
3708
  }
3691
3709
  if (Array.isArray(t))
3692
3710
  return t.map(
3693
- (s, i) => bt(s, e, String(i), r + 1)
3711
+ (s, i) => vt(s, e, String(i), r + 1)
3694
3712
  );
3695
- if (typeof t == "object" && qi(t)) {
3713
+ if (typeof t == "object" && Ni(t)) {
3696
3714
  const s = Object.entries(t).map(([i, o]) => [
3697
3715
  i,
3698
- bt(o, e, i, r + 1)
3716
+ vt(o, e, i, r + 1)
3699
3717
  ]);
3700
3718
  return Object.fromEntries(s);
3701
3719
  }
3702
3720
  return t;
3703
3721
  }
3704
- function Di(t, e) {
3705
- return bt(t, e);
3722
+ function qi(t, e) {
3723
+ return vt(t, e);
3706
3724
  }
3707
3725
  function S(t, e = !1) {
3708
- return Di(t, (n, r, s) => {
3726
+ return qi(t, (n, r, s) => {
3709
3727
  if (s === 1 && r === "queryKey")
3710
3728
  return S(n, !0);
3711
- if (e && Ni(n))
3729
+ if (e && _i(n))
3712
3730
  return S(n(), e);
3713
- if (Ct(n))
3731
+ if (Tt(n))
3714
3732
  return S(Er(n), e);
3715
3733
  });
3716
3734
  }
3717
- function qi(t) {
3735
+ function Ni(t) {
3718
3736
  if (Object.prototype.toString.call(t) !== "[object Object]")
3719
3737
  return !1;
3720
3738
  const e = Object.getPrototypeOf(t);
3721
3739
  return e === null || e === Object.prototype;
3722
3740
  }
3723
- function Ni(t) {
3741
+ function _i(t) {
3724
3742
  return typeof t == "function";
3725
3743
  }
3726
3744
  function fr(t = "") {
@@ -3742,19 +3760,19 @@ var dr = class extends cr {
3742
3760
  findAll(t = {}) {
3743
3761
  return super.findAll(S(t));
3744
3762
  }
3745
- }, _i = class extends ur {
3763
+ }, Ii = class extends ur {
3746
3764
  find(t) {
3747
3765
  return super.find(S(t));
3748
3766
  }
3749
3767
  findAll(t = {}) {
3750
3768
  return super.findAll(S(t));
3751
3769
  }
3752
- }, hr = class extends Fi {
3770
+ }, hr = class extends xi {
3753
3771
  constructor(t = {}) {
3754
3772
  const e = {
3755
3773
  defaultOptions: t.defaultOptions,
3756
3774
  queryCache: t.queryCache || new dr(),
3757
- mutationCache: t.mutationCache || new _i()
3775
+ mutationCache: t.mutationCache || new Ii()
3758
3776
  };
3759
3777
  super(e), this.isRestoring = D(!1);
3760
3778
  }
@@ -3849,22 +3867,22 @@ var dr = class extends cr {
3849
3867
  return super.getMutationDefaults(S(t));
3850
3868
  }
3851
3869
  };
3852
- function Ii() {
3870
+ function Ui() {
3853
3871
  return pr().__VUE_DEVTOOLS_GLOBAL_HOOK__;
3854
3872
  }
3855
3873
  function pr() {
3856
3874
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
3857
3875
  }
3858
- const Ui = typeof Proxy == "function", Mi = "devtools-plugin:setup", ki = "plugin:settings:set";
3859
- let de, wt;
3860
- function Li() {
3876
+ const Mi = typeof Proxy == "function", ki = "devtools-plugin:setup", Li = "plugin:settings:set";
3877
+ let de, bt;
3878
+ function Qi() {
3861
3879
  var t;
3862
- return de !== void 0 || (typeof window < "u" && window.performance ? (de = !0, wt = window.performance) : typeof globalThis < "u" && (!((t = globalThis.perf_hooks) === null || t === void 0) && t.performance) ? (de = !0, wt = globalThis.perf_hooks.performance) : de = !1), de;
3880
+ return de !== void 0 || (typeof window < "u" && window.performance ? (de = !0, bt = window.performance) : typeof globalThis < "u" && (!((t = globalThis.perf_hooks) === null || t === void 0) && t.performance) ? (de = !0, bt = globalThis.perf_hooks.performance) : de = !1), de;
3863
3881
  }
3864
- function Qi() {
3865
- return Li() ? wt.now() : Date.now();
3882
+ function ji() {
3883
+ return Qi() ? bt.now() : Date.now();
3866
3884
  }
3867
- class ji {
3885
+ class Hi {
3868
3886
  constructor(e, n) {
3869
3887
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = e, this.hook = n;
3870
3888
  const r = {};
@@ -3892,9 +3910,9 @@ class ji {
3892
3910
  i = o;
3893
3911
  },
3894
3912
  now() {
3895
- return Qi();
3913
+ return ji();
3896
3914
  }
3897
- }, n && n.on(ki, (o, a) => {
3915
+ }, n && n.on(Li, (o, a) => {
3898
3916
  o === this.plugin.id && this.fallbacks.setSettings(a);
3899
3917
  }), this.proxiedOn = new Proxy({}, {
3900
3918
  get: (o, a) => this.target ? this.target.on[a] : (...u) => {
@@ -3927,11 +3945,11 @@ class ji {
3927
3945
  }
3928
3946
  }
3929
3947
  function Bi(t, e) {
3930
- const n = t, r = pr(), s = Ii(), i = Ui && n.enableEarlyProxy;
3948
+ const n = t, r = pr(), s = Ui(), i = Mi && n.enableEarlyProxy;
3931
3949
  if (s && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !i))
3932
- s.emit(Mi, t, e);
3950
+ s.emit(ki, t, e);
3933
3951
  else {
3934
- const o = i ? new ji(n, s) : null;
3952
+ const o = i ? new Hi(n, s) : null;
3935
3953
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
3936
3954
  pluginDescriptor: n,
3937
3955
  setupFn: e,
@@ -4349,9 +4367,9 @@ const yr = {
4349
4367
  x̧: "x",
4350
4368
  Z̧: "Z",
4351
4369
  z̧: "z"
4352
- }, Hi = Object.keys(yr).join("|"), $i = new RegExp(Hi, "g");
4353
- function Vi(t) {
4354
- return t.replace($i, (e) => yr[e]);
4370
+ }, $i = Object.keys(yr).join("|"), Vi = new RegExp($i, "g");
4371
+ function Ki(t) {
4372
+ return t.replace(Vi, (e) => yr[e]);
4355
4373
  }
4356
4374
  /**
4357
4375
  * @name match-sorter
@@ -4369,7 +4387,7 @@ const M = {
4369
4387
  MATCHES: 1,
4370
4388
  NO_MATCH: 0
4371
4389
  };
4372
- function Ki(t, e, n) {
4390
+ function Wi(t, e, n) {
4373
4391
  var r;
4374
4392
  if (n = n || {}, n.threshold = (r = n.threshold) != null ? r : M.MATCHES, !n.accessors) {
4375
4393
  const o = hn(t, e, n);
@@ -4382,7 +4400,7 @@ function Ki(t, e, n) {
4382
4400
  passed: o >= n.threshold
4383
4401
  };
4384
4402
  }
4385
- const s = Gi(t, n.accessors), i = {
4403
+ const s = Xi(t, n.accessors), i = {
4386
4404
  rankedValue: t,
4387
4405
  rank: M.NO_MATCH,
4388
4406
  accessorIndex: -1,
@@ -4402,9 +4420,9 @@ function Ki(t, e, n) {
4402
4420
  return i;
4403
4421
  }
4404
4422
  function hn(t, e, n) {
4405
- return t = pn(t, n), e = pn(e, n), e.length > t.length ? M.NO_MATCH : t === e ? M.CASE_SENSITIVE_EQUAL : (t = t.toLowerCase(), e = e.toLowerCase(), t === e ? M.EQUAL : t.startsWith(e) ? M.STARTS_WITH : t.includes(` ${e}`) ? M.WORD_STARTS_WITH : t.includes(e) ? M.CONTAINS : e.length === 1 ? M.NO_MATCH : Wi(t).includes(e) ? M.ACRONYM : zi(t, e));
4423
+ return t = pn(t, n), e = pn(e, n), e.length > t.length ? M.NO_MATCH : t === e ? M.CASE_SENSITIVE_EQUAL : (t = t.toLowerCase(), e = e.toLowerCase(), t === e ? M.EQUAL : t.startsWith(e) ? M.STARTS_WITH : t.includes(` ${e}`) ? M.WORD_STARTS_WITH : t.includes(e) ? M.CONTAINS : e.length === 1 ? M.NO_MATCH : zi(t).includes(e) ? M.ACRONYM : Ji(t, e));
4406
4424
  }
4407
- function Wi(t) {
4425
+ function zi(t) {
4408
4426
  let e = "";
4409
4427
  return t.split(" ").forEach((r) => {
4410
4428
  r.split("-").forEach((i) => {
@@ -4412,7 +4430,7 @@ function Wi(t) {
4412
4430
  });
4413
4431
  }), e;
4414
4432
  }
4415
- function zi(t, e) {
4433
+ function Ji(t, e) {
4416
4434
  let n = 0, r = 0;
4417
4435
  function s(u, l, c) {
4418
4436
  for (let d = c, g = l.length; d < g; d++)
@@ -4440,18 +4458,18 @@ function pn(t, e) {
4440
4458
  let {
4441
4459
  keepDiacritics: n
4442
4460
  } = e;
4443
- return t = `${t}`, n || (t = Vi(t)), t;
4461
+ return t = `${t}`, n || (t = Ki(t)), t;
4444
4462
  }
4445
- function Ji(t, e) {
4463
+ function Gi(t, e) {
4446
4464
  let n = e;
4447
4465
  typeof e == "object" && (n = e.accessor);
4448
4466
  const r = n(t);
4449
4467
  return r == null ? [] : Array.isArray(r) ? r : [String(r)];
4450
4468
  }
4451
- function Gi(t, e) {
4469
+ function Xi(t, e) {
4452
4470
  const n = [];
4453
4471
  for (let r = 0, s = e.length; r < s; r++) {
4454
- const i = e[r], o = Xi(i), a = Ji(t, i);
4472
+ const i = e[r], o = Yi(i), a = Gi(t, i);
4455
4473
  for (let u = 0, l = a.length; u < l; u++)
4456
4474
  n.push({
4457
4475
  itemValue: a[u],
@@ -4464,7 +4482,7 @@ const yn = {
4464
4482
  maxRanking: 1 / 0,
4465
4483
  minRanking: -1 / 0
4466
4484
  };
4467
- function Xi(t) {
4485
+ function Yi(t) {
4468
4486
  return typeof t == "function" ? yn : {
4469
4487
  ...yn,
4470
4488
  ...t
@@ -4477,19 +4495,19 @@ function mn(t) {
4477
4495
  const e = ie(t);
4478
4496
  return e === 0 ? "fetching" : e === 4 ? "paused" : e === 2 ? "stale" : e === 3 ? "inactive" : "fresh";
4479
4497
  }
4480
- function Yi(t) {
4498
+ function Zi(t) {
4481
4499
  return ie(t) === 2 ? 0 : 16777215;
4482
4500
  }
4483
- function Zi(t) {
4501
+ function eo(t) {
4484
4502
  const e = ie(t);
4485
4503
  return e === 0 ? 27647 : e === 4 ? 9193963 : e === 2 ? 16757248 : e === 3 ? 4148832 : 33575;
4486
4504
  }
4487
- var eo = (t, e) => t.queryHash.localeCompare(e.queryHash), mr = (t, e) => t.state.dataUpdatedAt < e.state.dataUpdatedAt ? 1 : -1, to = (t, e) => ie(t) === ie(e) ? mr(t, e) : ie(t) > ie(e) ? 1 : -1, Ze = {
4488
- "Status > Last Updated": to,
4489
- "Query Hash": eo,
4505
+ var to = (t, e) => t.queryHash.localeCompare(e.queryHash), mr = (t, e) => t.state.dataUpdatedAt < e.state.dataUpdatedAt ? 1 : -1, no = (t, e) => ie(t) === ie(e) ? mr(t, e) : ie(t) > ie(e) ? 1 : -1, Ze = {
4506
+ "Status > Last Updated": no,
4507
+ "Query Hash": to,
4490
4508
  "Last Updated": mr
4491
4509
  }, ee = "vue-query", et = "Vue Query";
4492
- function no(t, e) {
4510
+ function ro(t, e) {
4493
4511
  Bi(
4494
4512
  {
4495
4513
  id: ee,
@@ -4629,7 +4647,7 @@ function no(t, e) {
4629
4647
  }), n.on.getInspectorTree((i) => {
4630
4648
  if (i.inspectorId === ee) {
4631
4649
  const o = s.getAll(), a = n.getSettings(), c = (i.filter ? o.filter(
4632
- (d) => Ki(d.queryHash, i.filter).passed
4650
+ (d) => Wi(d.queryHash, i.filter).passed
4633
4651
  ) : [...o]).sort(
4634
4652
  (d, g) => Ze[a.sortFn](d, g) * a.baseSort
4635
4653
  ).map((d) => {
@@ -4640,8 +4658,8 @@ function no(t, e) {
4640
4658
  tags: [
4641
4659
  {
4642
4660
  label: `${g} [${d.getObserversCount()}]`,
4643
- textColor: Yi(d),
4644
- backgroundColor: Zi(d)
4661
+ textColor: Zi(d),
4662
+ backgroundColor: eo(d)
4645
4663
  }
4646
4664
  ]
4647
4665
  };
@@ -4690,7 +4708,7 @@ function no(t, e) {
4690
4708
  }
4691
4709
  );
4692
4710
  }
4693
- var Fa = {
4711
+ var xa = {
4694
4712
  install: (t, e = {}) => {
4695
4713
  const n = lr(e.queryClientKey);
4696
4714
  let r;
@@ -4721,10 +4739,10 @@ var Fa = {
4721
4739
  i(), o();
4722
4740
  };
4723
4741
  }
4724
- t.provide(n, r), process.env.NODE_ENV === "development" && e.enableDevtoolsV6Plugin && no(t, r);
4742
+ t.provide(n, r), process.env.NODE_ENV === "development" && e.enableDevtoolsV6Plugin && ro(t, r);
4725
4743
  }
4726
4744
  };
4727
- function ro(t, e, n) {
4745
+ function so(t, e, n) {
4728
4746
  process.env.NODE_ENV === "development" && (Sn() || console.warn(
4729
4747
  '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.'
4730
4748
  ));
@@ -4740,13 +4758,13 @@ function ro(t, e, n) {
4740
4758
  r.isRestoring,
4741
4759
  (v) => {
4742
4760
  v || (a(), a = i.subscribe((h) => {
4743
- vt(o, h);
4761
+ gt(o, h);
4744
4762
  }));
4745
4763
  },
4746
4764
  { immediate: !0 }
4747
4765
  );
4748
4766
  const u = () => {
4749
- i.setOptions(s.value), vt(o, i.getCurrentResult());
4767
+ i.setOptions(s.value), gt(o, i.getCurrentResult());
4750
4768
  };
4751
4769
  V(s, u), Tn(() => {
4752
4770
  a();
@@ -4762,7 +4780,7 @@ function ro(t, e, n) {
4762
4780
  s.value
4763
4781
  );
4764
4782
  m.isStale ? (p(), i.fetchOptimistic(s.value).then(v, (O) => {
4765
- pt(s.value.throwOnError, [
4783
+ ht(s.value.throwOnError, [
4766
4784
  O,
4767
4785
  i.getCurrentQuery()
4768
4786
  ]) ? h(O) : v(i.getCurrentResult());
@@ -4775,7 +4793,7 @@ function ro(t, e, n) {
4775
4793
  V(
4776
4794
  () => o.error,
4777
4795
  (v) => {
4778
- if (o.isError && !o.isFetching && pt(s.value.throwOnError, [
4796
+ if (o.isError && !o.isFetching && ht(s.value.throwOnError, [
4779
4797
  v,
4780
4798
  i.getCurrentQuery()
4781
4799
  ]))
@@ -4787,15 +4805,15 @@ function ro(t, e, n) {
4787
4805
  typeof o[v] == "function" && (g[v] = o[v]);
4788
4806
  return g.suspense = c, g.refetch = l, g;
4789
4807
  }
4790
- function xa(t, e) {
4791
- return ro(Si, t, e);
4792
- }
4793
4808
  function Da(t, e) {
4809
+ return so(Ri, t, e);
4810
+ }
4811
+ function qa(t, e) {
4794
4812
  process.env.NODE_ENV === "development" && (Sn() || console.warn(
4795
4813
  '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.'
4796
4814
  ));
4797
- const n = e || fr(), r = $(() => n.defaultMutationOptions(S(t))), s = new Pi(n, r.value), i = r.value.shallow ? Rn(s.getCurrentResult()) : An(s.getCurrentResult()), o = s.subscribe((c) => {
4798
- vt(i, c);
4815
+ const n = e || fr(), r = $(() => n.defaultMutationOptions(S(t))), s = new Fi(n, r.value), i = r.value.shallow ? Rn(s.getCurrentResult()) : An(s.getCurrentResult()), o = s.subscribe((c) => {
4816
+ gt(i, c);
4799
4817
  }), a = (c, d) => {
4800
4818
  s.mutate(c, d).catch(() => {
4801
4819
  });
@@ -4809,7 +4827,7 @@ function Da(t, e) {
4809
4827
  return V(
4810
4828
  () => i.error,
4811
4829
  (c) => {
4812
- if (c && pt(r.value.throwOnError, [c]))
4830
+ if (c && ht(r.value.throwOnError, [c]))
4813
4831
  throw c;
4814
4832
  }
4815
4833
  ), {
@@ -4819,14 +4837,14 @@ function Da(t, e) {
4819
4837
  reset: i.reset
4820
4838
  };
4821
4839
  }
4822
- const qa = new hr();
4823
- function Na(t, e, n) {
4840
+ const Na = new hr();
4841
+ function _a(t, e, n) {
4824
4842
  return {
4825
4843
  queryClientConfig: {
4826
4844
  queryCache: new dr({
4827
4845
  onError: (r) => {
4828
4846
  const s = r.code === "ERR_NETWORK", i = [403, 401].includes(r.response?.status);
4829
- s ? t.error("Ошибка подключения к сети") : i ? oo(e, oi, n) : t.error(nn(r));
4847
+ s ? t.error("Ошибка подключения к сети") : i ? ao(e, ai, n) : t.error(nn(r));
4830
4848
  }
4831
4849
  }),
4832
4850
  defaultOptions: {
@@ -4840,37 +4858,37 @@ function Na(t, e, n) {
4840
4858
  }
4841
4859
  };
4842
4860
  }
4843
- function _a() {
4861
+ function Ia() {
4844
4862
  const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
4845
4863
  let e = "";
4846
4864
  for (let n = 0; n < 9; n++)
4847
4865
  e += t.charAt(Math.floor(Math.random() * t.length));
4848
4866
  return e;
4849
4867
  }
4850
- function Ia(t) {
4868
+ function Ua(t) {
4851
4869
  document.querySelector(t)?.scrollTo(0, 0);
4852
4870
  }
4853
- function Ua(t, ...e) {
4871
+ function Ma(t, ...e) {
4854
4872
  const n = [];
4855
4873
  for (const [r, s] of t.entries())
4856
4874
  n.push(s), r < e.length && n.push(String(e[r]));
4857
4875
  return n.join("");
4858
4876
  }
4859
4877
  const tt = "<template><div></div></template>";
4860
- function Ma(t) {
4878
+ function ka(t) {
4861
4879
  return `[data-test="${t}"]`;
4862
4880
  }
4863
- function ka(t) {
4881
+ function La(t) {
4864
4882
  t.type === 1 && "props" in t && (t.props = t.props.filter(
4865
4883
  (e) => e.type === 6 ? e.name !== "data-test" : !0
4866
4884
  ));
4867
4885
  }
4868
- async function La(t) {
4886
+ async function Qa(t) {
4869
4887
  await new Promise((e) => {
4870
4888
  setTimeout(e, t || 10);
4871
4889
  });
4872
4890
  }
4873
- async function Qa(t) {
4891
+ async function ja(t) {
4874
4892
  const e = xr({
4875
4893
  history: Dr(),
4876
4894
  routes: [
@@ -4889,35 +4907,35 @@ async function Qa(t) {
4889
4907
  const i = document.createElement("div");
4890
4908
  document.body.append(i), s.mount(i), await n;
4891
4909
  }
4892
- const gr = D(!1), so = Te(gr);
4893
- function io(t) {
4910
+ const gr = D(!1), io = Te(gr);
4911
+ function oo(t) {
4894
4912
  gr.value = t;
4895
4913
  }
4896
- function oo(t, e, n) {
4897
- uo(n), e(), globalThis.location.href = t;
4914
+ function ao(t, e, n) {
4915
+ co(n), e(), globalThis.location.href = t;
4898
4916
  }
4899
- function ja(t) {
4917
+ function Ha(t) {
4900
4918
  if (!document.cookie) return;
4901
4919
  const { [t]: e } = Object.fromEntries(document.cookie.split("; ").map((n) => n.split("=")));
4902
4920
  return e;
4903
4921
  }
4904
- function ao(t, e) {
4905
- document.cookie = `${e}=${t};Secure;SameSite=strict;expires=${ui()}`;
4922
+ function uo(t, e) {
4923
+ document.cookie = `${e}=${t};Secure;SameSite=strict;expires=${ci()}`;
4906
4924
  }
4907
- function uo(t) {
4925
+ function co(t) {
4908
4926
  document.cookie = `${t}=;expires=${(/* @__PURE__ */ new Date(0)).toUTCString()}`;
4909
4927
  }
4910
4928
  function Ba() {
4911
- const t = Pt();
4929
+ const t = Ct();
4912
4930
  function e(r, s, i) {
4913
- ao(r, i), s(r), io(!0);
4931
+ uo(r, i), s(r), oo(!0);
4914
4932
  }
4915
4933
  function n(r) {
4916
- so.value && t.push(r);
4934
+ io.value && t.push(r);
4917
4935
  }
4918
4936
  return { auth: e, redirectIfAuth: n };
4919
4937
  }
4920
- function Ha() {
4938
+ function $a() {
4921
4939
  const t = D(1), e = D([]);
4922
4940
  function n(s) {
4923
4941
  e.value = [...e.value, ...s];
@@ -4927,7 +4945,7 @@ function Ha() {
4927
4945
  }
4928
4946
  return { page: t, allData: e, addData: n, handleScroll: r };
4929
4947
  }
4930
- function $a(t, e) {
4948
+ function Va(t, e) {
4931
4949
  if (typeof t.value == "number")
4932
4950
  return { page: t.value };
4933
4951
  const { page: n, sort: r, filter: s } = t.value;
@@ -4939,8 +4957,8 @@ function $a(t, e) {
4939
4957
  ...s
4940
4958
  };
4941
4959
  }
4942
- function Va(t) {
4943
- const e = Pt(), n = Ft(), r = D({
4960
+ function Ka(t) {
4961
+ const e = Ct(), n = Pt(), r = D({
4944
4962
  page: n.query.page && +(n.query.page > 0) ? Number(n.query.page) : 1,
4945
4963
  sort: { value: n.query.sort?.toString(), isAsc: n.query.dir !== "desc" },
4946
4964
  filter: { ...t }
@@ -4972,8 +4990,8 @@ function Va(t) {
4972
4990
  }
4973
4991
  ), { query: r, resetQuery: s, setQueryPage: i, setQueryFilter: o };
4974
4992
  }
4975
- function Ka() {
4976
- const t = Pt(), e = Ft(), n = D(Number(e.query.page || 1));
4993
+ function Wa() {
4994
+ const t = Ct(), e = Pt(), n = D(Number(e.query.page || 1));
4977
4995
  function r() {
4978
4996
  n.value = 1;
4979
4997
  }
@@ -4987,14 +5005,14 @@ function Ka() {
4987
5005
  }
4988
5006
  ), { page: n, resetPage: r, setPage: s };
4989
5007
  }
4990
- function Wa(t) {
5008
+ function za(t) {
4991
5009
  const e = $(() => t.value?.data || []), n = $(() => t.value?.total || 0);
4992
5010
  function r(s, i) {
4993
5011
  return !n.value || s < 1 || s > n.value ? i : s;
4994
5012
  }
4995
5013
  return { data: e, total: n, setPaginationPage: r };
4996
5014
  }
4997
- function za() {
5015
+ function Ja() {
4998
5016
  const t = D(!1), e = D(!1), n = D();
4999
5017
  async function r() {
5000
5018
  n.value && (await n.value.prompt(), setTimeout(() => {
@@ -5017,19 +5035,19 @@ function za() {
5017
5035
  isPWACanBeInstalled: e
5018
5036
  };
5019
5037
  }
5020
- function Ja(t, e) {
5021
- const n = Ft();
5038
+ function Ga(t, e) {
5039
+ const n = Pt();
5022
5040
  return { id: $(() => (e ? n.query[t]?.toString() : n.params[t]?.toString()) || "") };
5023
5041
  }
5024
5042
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
5025
- const co = () => {
5043
+ const lo = () => {
5026
5044
  };
5027
- function lo(...t) {
5045
+ function fo(...t) {
5028
5046
  if (t.length !== 1) return Cr(...t);
5029
5047
  const e = t[0];
5030
5048
  return typeof e == "function" ? Te(Pr(() => ({
5031
5049
  get: e,
5032
- set: co
5050
+ set: lo
5033
5051
  }))) : D(e);
5034
5052
  }
5035
5053
  function gn(t, e = !1, n = "Timeout") {
@@ -5037,7 +5055,7 @@ function gn(t, e = !1, n = "Timeout") {
5037
5055
  setTimeout(e ? () => s(n) : r, t);
5038
5056
  });
5039
5057
  }
5040
- function Ot(t, e = !1) {
5058
+ function wt(t, e = !1) {
5041
5059
  function n(d, { flush: g = "sync", deep: v = !1, timeout: h, throwOnTimeout: p } = {}) {
5042
5060
  let y = null;
5043
5061
  const m = [new Promise((O) => {
@@ -5052,7 +5070,7 @@ function Ot(t, e = !1) {
5052
5070
  return h != null && m.push(gn(h, p).then(() => pe(t)).finally(() => y?.())), Promise.race(m);
5053
5071
  }
5054
5072
  function r(d, g) {
5055
- if (!Ct(d)) return n((b) => b === d, g);
5073
+ if (!Tt(d)) return n((b) => b === d, g);
5056
5074
  const { flush: v = "sync", deep: h = !1, timeout: p, throwOnTimeout: y } = g ?? {};
5057
5075
  let m = null;
5058
5076
  const O = [new Promise((b) => {
@@ -5097,7 +5115,7 @@ function Ot(t, e = !1) {
5097
5115
  changed: l,
5098
5116
  changedTimes: c,
5099
5117
  get not() {
5100
- return Ot(t, !e);
5118
+ return wt(t, !e);
5101
5119
  }
5102
5120
  } : {
5103
5121
  toMatch: n,
@@ -5109,12 +5127,12 @@ function Ot(t, e = !1) {
5109
5127
  changed: l,
5110
5128
  changedTimes: c,
5111
5129
  get not() {
5112
- return Ot(t, !e);
5130
+ return wt(t, !e);
5113
5131
  }
5114
5132
  };
5115
5133
  }
5116
- function fo(t) {
5117
- return Ot(t);
5134
+ function ho(t) {
5135
+ return wt(t);
5118
5136
  }
5119
5137
  function oe() {
5120
5138
  return oe = Object.assign ? Object.assign.bind() : function(t) {
@@ -5126,20 +5144,20 @@ function oe() {
5126
5144
  return t;
5127
5145
  }, oe.apply(this, arguments);
5128
5146
  }
5129
- function ho(t, e) {
5147
+ function po(t, e) {
5130
5148
  t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Ae(t, e);
5131
5149
  }
5132
- function Et(t) {
5133
- return Et = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
5150
+ function Ot(t) {
5151
+ return Ot = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
5134
5152
  return n.__proto__ || Object.getPrototypeOf(n);
5135
- }, Et(t);
5153
+ }, Ot(t);
5136
5154
  }
5137
5155
  function Ae(t, e) {
5138
5156
  return Ae = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, s) {
5139
5157
  return r.__proto__ = s, r;
5140
5158
  }, Ae(t, e);
5141
5159
  }
5142
- function po() {
5160
+ function yo() {
5143
5161
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
5144
5162
  if (typeof Proxy == "function") return !0;
5145
5163
  try {
@@ -5150,20 +5168,20 @@ function po() {
5150
5168
  }
5151
5169
  }
5152
5170
  function ke(t, e, n) {
5153
- return po() ? ke = Reflect.construct.bind() : ke = function(s, i, o) {
5171
+ return yo() ? ke = Reflect.construct.bind() : ke = function(s, i, o) {
5154
5172
  var a = [null];
5155
5173
  a.push.apply(a, i);
5156
5174
  var u = Function.bind.apply(s, a), l = new u();
5157
5175
  return o && Ae(l, o.prototype), l;
5158
5176
  }, ke.apply(null, arguments);
5159
5177
  }
5160
- function yo(t) {
5178
+ function mo(t) {
5161
5179
  return Function.toString.call(t).indexOf("[native code]") !== -1;
5162
5180
  }
5163
- function St(t) {
5181
+ function Et(t) {
5164
5182
  var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
5165
- return St = function(r) {
5166
- if (r === null || !yo(r)) return r;
5183
+ return Et = function(r) {
5184
+ if (r === null || !mo(r)) return r;
5167
5185
  if (typeof r != "function")
5168
5186
  throw new TypeError("Super expression must either be null or a function");
5169
5187
  if (typeof e < "u") {
@@ -5171,7 +5189,7 @@ function St(t) {
5171
5189
  e.set(r, s);
5172
5190
  }
5173
5191
  function s() {
5174
- return ke(r, arguments, Et(this).constructor);
5192
+ return ke(r, arguments, Ot(this).constructor);
5175
5193
  }
5176
5194
  return s.prototype = Object.create(r.prototype, {
5177
5195
  constructor: {
@@ -5181,16 +5199,16 @@ function St(t) {
5181
5199
  configurable: !0
5182
5200
  }
5183
5201
  }), Ae(s, r);
5184
- }, St(t);
5202
+ }, Et(t);
5185
5203
  }
5186
- var mo = /%[sdj%]/g, vr = function() {
5204
+ var go = /%[sdj%]/g, vr = function() {
5187
5205
  };
5188
5206
  typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (vr = function(e, n) {
5189
5207
  typeof console < "u" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING > "u" && n.every(function(r) {
5190
5208
  return typeof r == "string";
5191
5209
  }) && console.warn(e, n);
5192
5210
  });
5193
- function Rt(t) {
5211
+ function St(t) {
5194
5212
  if (!t || !t.length) return null;
5195
5213
  var e = {};
5196
5214
  return t.forEach(function(n) {
@@ -5205,7 +5223,7 @@ function Q(t) {
5205
5223
  if (typeof t == "function")
5206
5224
  return t.apply(null, n);
5207
5225
  if (typeof t == "string") {
5208
- var o = t.replace(mo, function(a) {
5226
+ var o = t.replace(go, function(a) {
5209
5227
  if (a === "%%")
5210
5228
  return "%";
5211
5229
  if (s >= i)
@@ -5230,13 +5248,13 @@ function Q(t) {
5230
5248
  }
5231
5249
  return t;
5232
5250
  }
5233
- function go(t) {
5251
+ function vo(t) {
5234
5252
  return t === "string" || t === "url" || t === "hex" || t === "email" || t === "date" || t === "pattern";
5235
5253
  }
5236
5254
  function x(t, e) {
5237
- return !!(t == null || e === "array" && Array.isArray(t) && !t.length || go(e) && typeof t == "string" && !t);
5255
+ return !!(t == null || e === "array" && Array.isArray(t) && !t.length || vo(e) && typeof t == "string" && !t);
5238
5256
  }
5239
- function vo(t, e, n) {
5257
+ function bo(t, e, n) {
5240
5258
  var r = [], s = 0, i = t.length;
5241
5259
  function o(a) {
5242
5260
  r.push.apply(r, a || []), s++, s === i && n(r);
@@ -5257,26 +5275,26 @@ function vn(t, e, n) {
5257
5275
  }
5258
5276
  i([]);
5259
5277
  }
5260
- function bo(t) {
5278
+ function wo(t) {
5261
5279
  var e = [];
5262
5280
  return Object.keys(t).forEach(function(n) {
5263
5281
  e.push.apply(e, t[n] || []);
5264
5282
  }), e;
5265
5283
  }
5266
5284
  var bn = /* @__PURE__ */ (function(t) {
5267
- ho(e, t);
5285
+ po(e, t);
5268
5286
  function e(n, r) {
5269
5287
  var s;
5270
5288
  return s = t.call(this, "Async Validation Error") || this, s.errors = n, s.fields = r, s;
5271
5289
  }
5272
5290
  return e;
5273
- })(/* @__PURE__ */ St(Error));
5274
- function wo(t, e, n, r, s) {
5291
+ })(/* @__PURE__ */ Et(Error));
5292
+ function Oo(t, e, n, r, s) {
5275
5293
  if (e.first) {
5276
5294
  var i = new Promise(function(g, v) {
5277
5295
  var h = function(m) {
5278
- return r(m), m.length ? v(new bn(m, Rt(m))) : g(s);
5279
- }, p = bo(t);
5296
+ return r(m), m.length ? v(new bn(m, St(m))) : g(s);
5297
+ }, p = wo(t);
5280
5298
  vn(p, n, h);
5281
5299
  });
5282
5300
  return i.catch(function(g) {
@@ -5286,21 +5304,21 @@ function wo(t, e, n, r, s) {
5286
5304
  var o = e.firstFields === !0 ? Object.keys(t) : e.firstFields || [], a = Object.keys(t), u = a.length, l = 0, c = [], d = new Promise(function(g, v) {
5287
5305
  var h = function(y) {
5288
5306
  if (c.push.apply(c, y), l++, l === u)
5289
- return r(c), c.length ? v(new bn(c, Rt(c))) : g(s);
5307
+ return r(c), c.length ? v(new bn(c, St(c))) : g(s);
5290
5308
  };
5291
5309
  a.length || (r(c), g(s)), a.forEach(function(p) {
5292
5310
  var y = t[p];
5293
- o.indexOf(p) !== -1 ? vn(y, n, h) : vo(y, n, h);
5311
+ o.indexOf(p) !== -1 ? vn(y, n, h) : bo(y, n, h);
5294
5312
  });
5295
5313
  });
5296
5314
  return d.catch(function(g) {
5297
5315
  return g;
5298
5316
  }), d;
5299
5317
  }
5300
- function Oo(t) {
5318
+ function Eo(t) {
5301
5319
  return !!(t && t.message !== void 0);
5302
5320
  }
5303
- function Eo(t, e) {
5321
+ function So(t, e) {
5304
5322
  for (var n = t, r = 0; r < e.length; r++) {
5305
5323
  if (n == null)
5306
5324
  return n;
@@ -5311,7 +5329,7 @@ function Eo(t, e) {
5311
5329
  function wn(t, e) {
5312
5330
  return function(n) {
5313
5331
  var r;
5314
- return t.fullFields ? r = Eo(e, t.fullFields) : r = e[n.field || t.fullField], Oo(n) ? (n.field = n.field || t.fullField, n.fieldValue = r, n) : {
5332
+ return t.fullFields ? r = So(e, t.fullFields) : r = e[n.field || t.fullField], Eo(n) ? (n.field = n.field || t.fullField, n.fieldValue = r, n) : {
5315
5333
  message: typeof n == "function" ? n() : n,
5316
5334
  fieldValue: r,
5317
5335
  field: n.field || t.fullField
@@ -5330,9 +5348,9 @@ function On(t, e) {
5330
5348
  }
5331
5349
  var br = function(e, n, r, s, i, o) {
5332
5350
  e.required && (!r.hasOwnProperty(e.field) || x(n, o || e.type)) && s.push(Q(i.messages.required, e.fullField));
5333
- }, So = function(e, n, r, s, i) {
5351
+ }, Ro = function(e, n, r, s, i) {
5334
5352
  (/^\s+$/.test(n) || n === "") && s.push(Q(i.messages.whitespace, e.fullField));
5335
- }, _e, Ro = (function() {
5353
+ }, _e, Ao = (function() {
5336
5354
  if (_e)
5337
5355
  return _e;
5338
5356
  var t = "[a-fA-F\\d:]", e = function(w) {
@@ -5401,26 +5419,26 @@ var br = function(e, n, r, s, i, o) {
5401
5419
  return typeof e == "string" && e.length <= 320 && !!e.match(En.email);
5402
5420
  },
5403
5421
  url: function(e) {
5404
- return typeof e == "string" && e.length <= 2048 && !!e.match(Ro());
5422
+ return typeof e == "string" && e.length <= 2048 && !!e.match(Ao());
5405
5423
  },
5406
5424
  hex: function(e) {
5407
5425
  return typeof e == "string" && !!e.match(En.hex);
5408
5426
  }
5409
- }, Ao = function(e, n, r, s, i) {
5427
+ }, To = function(e, n, r, s, i) {
5410
5428
  if (e.required && n === void 0) {
5411
5429
  br(e, n, r, s, i);
5412
5430
  return;
5413
5431
  }
5414
5432
  var o = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], a = e.type;
5415
5433
  o.indexOf(a) > -1 ? Ee[a](n) || s.push(Q(i.messages.types[a], e.fullField, e.type)) : a && typeof n !== e.type && s.push(Q(i.messages.types[a], e.fullField, e.type));
5416
- }, To = function(e, n, r, s, i) {
5434
+ }, Co = function(e, n, r, s, i) {
5417
5435
  var o = typeof e.len == "number", a = typeof e.min == "number", u = typeof e.max == "number", l = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, c = n, d = null, g = typeof n == "number", v = typeof n == "string", h = Array.isArray(n);
5418
5436
  if (g ? d = "number" : v ? d = "string" : h && (d = "array"), !d)
5419
5437
  return !1;
5420
5438
  h && (c = n.length), v && (c = n.replace(l, "_").length), o ? c !== e.len && s.push(Q(i.messages[d].len, e.fullField, e.len)) : a && !u && c < e.min ? s.push(Q(i.messages[d].min, e.fullField, e.min)) : u && !a && c > e.max ? s.push(Q(i.messages[d].max, e.fullField, e.max)) : a && u && (c < e.min || c > e.max) && s.push(Q(i.messages[d].range, e.fullField, e.min, e.max));
5421
- }, he = "enum", Co = function(e, n, r, s, i) {
5439
+ }, he = "enum", Po = function(e, n, r, s, i) {
5422
5440
  e[he] = Array.isArray(e[he]) ? e[he] : [], e[he].indexOf(n) === -1 && s.push(Q(i.messages[he], e.fullField, e[he].join(", ")));
5423
- }, Po = function(e, n, r, s, i) {
5441
+ }, Fo = function(e, n, r, s, i) {
5424
5442
  if (e.pattern) {
5425
5443
  if (e.pattern instanceof RegExp)
5426
5444
  e.pattern.lastIndex = 0, e.pattern.test(n) || s.push(Q(i.messages.pattern.mismatch, e.fullField, n, e.pattern));
@@ -5431,12 +5449,12 @@ var br = function(e, n, r, s, i, o) {
5431
5449
  }
5432
5450
  }, A = {
5433
5451
  required: br,
5434
- whitespace: So,
5435
- type: Ao,
5436
- range: To,
5437
- enum: Co,
5438
- pattern: Po
5439
- }, Fo = function(e, n, r, s, i) {
5452
+ whitespace: Ro,
5453
+ type: To,
5454
+ range: Co,
5455
+ enum: Po,
5456
+ pattern: Fo
5457
+ }, xo = function(e, n, r, s, i) {
5440
5458
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5441
5459
  if (a) {
5442
5460
  if (x(n, "string") && !e.required)
@@ -5444,7 +5462,7 @@ var br = function(e, n, r, s, i, o) {
5444
5462
  A.required(e, n, s, o, i, "string"), x(n, "string") || (A.type(e, n, s, o, i), A.range(e, n, s, o, i), A.pattern(e, n, s, o, i), e.whitespace === !0 && A.whitespace(e, n, s, o, i));
5445
5463
  }
5446
5464
  r(o);
5447
- }, xo = function(e, n, r, s, i) {
5465
+ }, Do = function(e, n, r, s, i) {
5448
5466
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5449
5467
  if (a) {
5450
5468
  if (x(n) && !e.required)
@@ -5452,7 +5470,7 @@ var br = function(e, n, r, s, i, o) {
5452
5470
  A.required(e, n, s, o, i), n !== void 0 && A.type(e, n, s, o, i);
5453
5471
  }
5454
5472
  r(o);
5455
- }, Do = function(e, n, r, s, i) {
5473
+ }, qo = function(e, n, r, s, i) {
5456
5474
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5457
5475
  if (a) {
5458
5476
  if (n === "" && (n = void 0), x(n) && !e.required)
@@ -5460,7 +5478,7 @@ var br = function(e, n, r, s, i, o) {
5460
5478
  A.required(e, n, s, o, i), n !== void 0 && (A.type(e, n, s, o, i), A.range(e, n, s, o, i));
5461
5479
  }
5462
5480
  r(o);
5463
- }, qo = function(e, n, r, s, i) {
5481
+ }, No = function(e, n, r, s, i) {
5464
5482
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5465
5483
  if (a) {
5466
5484
  if (x(n) && !e.required)
@@ -5468,7 +5486,7 @@ var br = function(e, n, r, s, i, o) {
5468
5486
  A.required(e, n, s, o, i), n !== void 0 && A.type(e, n, s, o, i);
5469
5487
  }
5470
5488
  r(o);
5471
- }, No = function(e, n, r, s, i) {
5489
+ }, _o = function(e, n, r, s, i) {
5472
5490
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5473
5491
  if (a) {
5474
5492
  if (x(n) && !e.required)
@@ -5476,7 +5494,7 @@ var br = function(e, n, r, s, i, o) {
5476
5494
  A.required(e, n, s, o, i), x(n) || A.type(e, n, s, o, i);
5477
5495
  }
5478
5496
  r(o);
5479
- }, _o = function(e, n, r, s, i) {
5497
+ }, Io = function(e, n, r, s, i) {
5480
5498
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5481
5499
  if (a) {
5482
5500
  if (x(n) && !e.required)
@@ -5484,7 +5502,7 @@ var br = function(e, n, r, s, i, o) {
5484
5502
  A.required(e, n, s, o, i), n !== void 0 && (A.type(e, n, s, o, i), A.range(e, n, s, o, i));
5485
5503
  }
5486
5504
  r(o);
5487
- }, Io = function(e, n, r, s, i) {
5505
+ }, Uo = function(e, n, r, s, i) {
5488
5506
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5489
5507
  if (a) {
5490
5508
  if (x(n) && !e.required)
@@ -5492,7 +5510,7 @@ var br = function(e, n, r, s, i, o) {
5492
5510
  A.required(e, n, s, o, i), n !== void 0 && (A.type(e, n, s, o, i), A.range(e, n, s, o, i));
5493
5511
  }
5494
5512
  r(o);
5495
- }, Uo = function(e, n, r, s, i) {
5513
+ }, Mo = function(e, n, r, s, i) {
5496
5514
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5497
5515
  if (a) {
5498
5516
  if (n == null && !e.required)
@@ -5500,7 +5518,7 @@ var br = function(e, n, r, s, i, o) {
5500
5518
  A.required(e, n, s, o, i, "array"), n != null && (A.type(e, n, s, o, i), A.range(e, n, s, o, i));
5501
5519
  }
5502
5520
  r(o);
5503
- }, Mo = function(e, n, r, s, i) {
5521
+ }, ko = function(e, n, r, s, i) {
5504
5522
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5505
5523
  if (a) {
5506
5524
  if (x(n) && !e.required)
@@ -5508,15 +5526,15 @@ var br = function(e, n, r, s, i, o) {
5508
5526
  A.required(e, n, s, o, i), n !== void 0 && A.type(e, n, s, o, i);
5509
5527
  }
5510
5528
  r(o);
5511
- }, ko = "enum", Lo = function(e, n, r, s, i) {
5529
+ }, Lo = "enum", Qo = function(e, n, r, s, i) {
5512
5530
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5513
5531
  if (a) {
5514
5532
  if (x(n) && !e.required)
5515
5533
  return r();
5516
- A.required(e, n, s, o, i), n !== void 0 && A[ko](e, n, s, o, i);
5534
+ A.required(e, n, s, o, i), n !== void 0 && A[Lo](e, n, s, o, i);
5517
5535
  }
5518
5536
  r(o);
5519
- }, Qo = function(e, n, r, s, i) {
5537
+ }, jo = function(e, n, r, s, i) {
5520
5538
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5521
5539
  if (a) {
5522
5540
  if (x(n, "string") && !e.required)
@@ -5524,7 +5542,7 @@ var br = function(e, n, r, s, i, o) {
5524
5542
  A.required(e, n, s, o, i), x(n, "string") || A.pattern(e, n, s, o, i);
5525
5543
  }
5526
5544
  r(o);
5527
- }, jo = function(e, n, r, s, i) {
5545
+ }, Ho = function(e, n, r, s, i) {
5528
5546
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5529
5547
  if (a) {
5530
5548
  if (x(n, "date") && !e.required)
@@ -5546,7 +5564,7 @@ var br = function(e, n, r, s, i, o) {
5546
5564
  A.required(e, n, s, a, i, o), x(n, o) || A.type(e, n, s, a, i);
5547
5565
  }
5548
5566
  r(a);
5549
- }, Ho = function(e, n, r, s, i) {
5567
+ }, $o = function(e, n, r, s, i) {
5550
5568
  var o = [], a = e.required || !e.required && s.hasOwnProperty(e.field);
5551
5569
  if (a) {
5552
5570
  if (x(n) && !e.required)
@@ -5555,25 +5573,25 @@ var br = function(e, n, r, s, i, o) {
5555
5573
  }
5556
5574
  r(o);
5557
5575
  }, Se = {
5558
- string: Fo,
5559
- method: xo,
5560
- number: Do,
5561
- boolean: qo,
5562
- regexp: No,
5563
- integer: _o,
5564
- float: Io,
5565
- array: Uo,
5566
- object: Mo,
5567
- enum: Lo,
5568
- pattern: Qo,
5569
- date: jo,
5576
+ string: xo,
5577
+ method: Do,
5578
+ number: qo,
5579
+ boolean: No,
5580
+ regexp: _o,
5581
+ integer: Io,
5582
+ float: Uo,
5583
+ array: Mo,
5584
+ object: ko,
5585
+ enum: Qo,
5586
+ pattern: jo,
5587
+ date: Ho,
5570
5588
  url: nt,
5571
5589
  hex: nt,
5572
5590
  email: nt,
5573
5591
  required: Bo,
5574
- any: Ho
5592
+ any: $o
5575
5593
  };
5576
- function At() {
5594
+ function Rt() {
5577
5595
  return {
5578
5596
  default: "Validation error on field %s",
5579
5597
  required: "%s is required",
@@ -5626,9 +5644,9 @@ function At() {
5626
5644
  }
5627
5645
  };
5628
5646
  }
5629
- var Tt = At(), ge = /* @__PURE__ */ (function() {
5647
+ var At = Rt(), ge = /* @__PURE__ */ (function() {
5630
5648
  function t(n) {
5631
- this.rules = null, this._messages = Tt, this.define(n);
5649
+ this.rules = null, this._messages = At, this.define(n);
5632
5650
  }
5633
5651
  var e = t.prototype;
5634
5652
  return e.define = function(r) {
@@ -5642,7 +5660,7 @@ var Tt = At(), ge = /* @__PURE__ */ (function() {
5642
5660
  s.rules[i] = Array.isArray(o) ? o : [o];
5643
5661
  });
5644
5662
  }, e.messages = function(r) {
5645
- return r && (this._messages = On(At(), r)), this._messages;
5663
+ return r && (this._messages = On(Rt(), r)), this._messages;
5646
5664
  }, e.validate = function(r, s, i) {
5647
5665
  var o = this;
5648
5666
  s === void 0 && (s = {}), i === void 0 && (i = function() {
@@ -5661,11 +5679,11 @@ var Tt = At(), ge = /* @__PURE__ */ (function() {
5661
5679
  }
5662
5680
  for (var b = 0; b < p.length; b++)
5663
5681
  O(p[b]);
5664
- y.length ? (m = Rt(y), l(y, m)) : l(null, a);
5682
+ y.length ? (m = St(y), l(y, m)) : l(null, a);
5665
5683
  }
5666
5684
  if (u.messages) {
5667
5685
  var d = this.messages();
5668
- d === Tt && (d = At()), On(d, u.messages), u.messages = d;
5686
+ d === At && (d = Rt()), On(d, u.messages), u.messages = d;
5669
5687
  } else
5670
5688
  u.messages = this.messages();
5671
5689
  var g = {}, v = u.keys || Object.keys(this.rules);
@@ -5684,7 +5702,7 @@ var Tt = At(), ge = /* @__PURE__ */ (function() {
5684
5702
  });
5685
5703
  });
5686
5704
  var h = {};
5687
- return wo(g, u, function(p, y) {
5705
+ return Oo(g, u, function(p, y) {
5688
5706
  var m = p.rule, O = (m.type === "object" || m.type === "array") && (typeof m.fields == "object" || typeof m.defaultField == "object");
5689
5707
  O = O && (m.required || !m.required && p.value), m.field = p.field;
5690
5708
  function b(C, T) {
@@ -5759,17 +5777,17 @@ ge.register = function(e, n) {
5759
5777
  Se[e] = n;
5760
5778
  };
5761
5779
  ge.warning = vr;
5762
- ge.messages = Tt;
5780
+ ge.messages = At;
5763
5781
  ge.validators = Se;
5764
- const $o = ge.default || ge;
5765
- function Vo(t, e, n = {}) {
5766
- const { validateOption: r = {}, immediate: s = !0, manual: i = !1 } = n, o = lo(t), a = Je(null), u = Je(!0), l = Je(!s || i), c = $(() => {
5782
+ const Vo = ge.default || ge;
5783
+ function Ko(t, e, n = {}) {
5784
+ const { validateOption: r = {}, immediate: s = !0, manual: i = !1 } = n, o = fo(t), a = Je(null), u = Je(!0), l = Je(!s || i), c = $(() => {
5767
5785
  var y;
5768
5786
  return ((y = a.value) === null || y === void 0 ? void 0 : y.errors) || [];
5769
5787
  }), d = $(() => {
5770
5788
  var y;
5771
5789
  return ((y = a.value) === null || y === void 0 ? void 0 : y.fields) || {};
5772
- }), g = $(() => new $o(pe(e))), v = async () => {
5790
+ }), g = $(() => new Vo(pe(e))), v = async () => {
5773
5791
  u.value = !1, l.value = !1;
5774
5792
  try {
5775
5793
  await g.value.validate(o.value, r), l.value = !0, a.value = null;
@@ -5799,7 +5817,7 @@ function Vo(t, e, n = {}) {
5799
5817
  };
5800
5818
  function p() {
5801
5819
  return new Promise((y, m) => {
5802
- fo(u).toBe(!0).then(() => y(h)).catch((O) => m(O));
5820
+ ho(u).toBe(!0).then(() => y(h)).catch((O) => m(O));
5803
5821
  });
5804
5822
  }
5805
5823
  return {
@@ -5809,8 +5827,8 @@ function Vo(t, e, n = {}) {
5809
5827
  }
5810
5828
  };
5811
5829
  }
5812
- function Ga(t, e, n = "ru") {
5813
- const r = $(() => Object.entries(e).reduce((d, [g, v]) => (d[g] = Array.isArray(v) ? v.map((h) => typeof h == "function" ? h(n) : h) : [], d), {})), { errorFields: s, isFinished: i, pass: o } = Vo(t, r, {
5830
+ function Xa(t, e, n = "ru") {
5831
+ const r = $(() => Object.entries(e).reduce((d, [g, v]) => (d[g] = Array.isArray(v) ? v.map((h) => typeof h == "function" ? h(n) : h) : [], d), {})), { errorFields: s, isFinished: i, pass: o } = Ko(t, r, {
5814
5832
  validateOption: { suppressWarning: !0 }
5815
5833
  }), a = D(0);
5816
5834
  function u() {
@@ -5822,46 +5840,46 @@ function Ga(t, e, n = "ru") {
5822
5840
  }
5823
5841
  return { error: c, errors: l, isValid: u };
5824
5842
  }
5825
- function Xa(t = "ru") {
5843
+ function Ya(t = "ru") {
5826
5844
  return {
5827
5845
  required: !0,
5828
5846
  whitespace: !0,
5829
5847
  message: X[t].fieldIsRequired
5830
5848
  };
5831
5849
  }
5832
- function Ya(t = "ru") {
5850
+ function Za(t = "ru") {
5833
5851
  return {
5834
5852
  type: "email",
5835
5853
  message: X[t].enterCorrectEmail
5836
5854
  };
5837
5855
  }
5838
- function Za(t = "ru") {
5856
+ function eu(t = "ru") {
5839
5857
  return {
5840
5858
  validator: (e, n) => /^[a-zA-Zа-яА-ЯёЁ\s-]+$/.test(n) || n.length === 0,
5841
5859
  type: "string",
5842
5860
  message: X[t].onlyLetters
5843
5861
  };
5844
5862
  }
5845
- function eu(t, e = "ru") {
5863
+ function tu(t, e = "ru") {
5846
5864
  return {
5847
5865
  min: t,
5848
5866
  message: `${X[e].minSymbols}: ${t}`
5849
5867
  };
5850
5868
  }
5851
- function tu(t, e = "ru") {
5869
+ function nu(t, e = "ru") {
5852
5870
  return {
5853
5871
  max: t,
5854
5872
  message: `${X[e].maxSymbols}: ${t}`
5855
5873
  };
5856
5874
  }
5857
- function nu() {
5875
+ function ru() {
5858
5876
  const t = D(), e = D(), n = D(!1);
5859
5877
  function r(s) {
5860
5878
  t.value = s.dateFrom, e.value = s.dateTo, n.value = !0;
5861
5879
  }
5862
5880
  return { dateFrom: t, dateTo: e, isDatesReady: n, updateDates: r };
5863
5881
  }
5864
- function ru() {
5882
+ function su() {
5865
5883
  const t = D();
5866
5884
  async function e() {
5867
5885
  t.value = await navigator.wakeLock?.request();
@@ -5878,8 +5896,8 @@ function ru() {
5878
5896
  n(), document.removeEventListener("visibilitychange", r);
5879
5897
  });
5880
5898
  }
5881
- function su() {
5882
- const t = D(0), e = D(0), n = $(() => `${ct(e.value)}:${ct(t.value)}`), r = $(() => e.value * 60 + t.value);
5899
+ function iu() {
5900
+ const t = D(0), e = D(0), n = $(() => `${ut(e.value)}:${ut(t.value)}`), r = $(() => e.value * 60 + t.value);
5883
5901
  let s = null;
5884
5902
  function i() {
5885
5903
  t.value++, t.value === 60 && (e.value++, t.value = 0);
@@ -5892,7 +5910,7 @@ function su() {
5892
5910
  }
5893
5911
  return { timer: n, duration: r, startTimer: o, stopTimer: a };
5894
5912
  }
5895
- function iu() {
5913
+ function ou() {
5896
5914
  const t = D(!1), e = Te(t);
5897
5915
  Fr(() => {
5898
5916
  const r = localStorage.getItem("dark");
@@ -5909,61 +5927,61 @@ function iu() {
5909
5927
  return { isDarkMode: e, toggleDarkMode: n };
5910
5928
  }
5911
5929
  export {
5912
- Fa as VueQueryPlugin,
5913
- ct as addZero,
5930
+ xa as VueQueryPlugin,
5931
+ ut as addZero,
5914
5932
  We as api,
5915
- pa as clone,
5916
- $a as convertParams,
5917
- wa as createTempId,
5918
- Ma as dataTest,
5919
- oi as deleteAuthHeader,
5920
- uo as deleteCookieToken,
5921
- Oa as deleteTempId,
5922
- Ya as email,
5923
- ya as formatDate,
5924
- ma as formatDateTime,
5925
- ai as formatDuration,
5926
- Ra as formatPercent,
5927
- _a as generatePassword,
5928
- ja as getCookieToken,
5929
- va as getDatesByDayGap,
5930
- ba as getFirstAndLastDays,
5931
- ui as getOneYearFromNow,
5932
- Aa as getPercentDiff,
5933
+ ya as clone,
5934
+ Va as convertParams,
5935
+ Oa as createTempId,
5936
+ ka as dataTest,
5937
+ ai as deleteAuthHeader,
5938
+ co as deleteCookieToken,
5939
+ Ea as deleteTempId,
5940
+ Za as email,
5941
+ ma as formatDate,
5942
+ ga as formatDateTime,
5943
+ ui as formatDuration,
5944
+ Aa as formatPercent,
5945
+ Ia as generatePassword,
5946
+ Ha as getCookieToken,
5947
+ ba as getDatesByDayGap,
5948
+ wa as getFirstAndLastDays,
5949
+ ci as getOneYearFromNow,
5950
+ Ta as getPercentDiff,
5933
5951
  nn as handleError,
5934
- Ua as html,
5935
- so as isAuth,
5936
- Ea as isLinkActive,
5937
- Za as letters,
5938
- Sa as localeField,
5939
- oo as logout,
5940
- tu as max,
5941
- eu as min,
5942
- qa as queryClient,
5943
- ka as removeDataTest,
5944
- Xa as required,
5945
- Ia as scrollToTop,
5946
- io as setAuth,
5947
- ha as setAuthHeader,
5948
- da as setBaseURL,
5949
- ao as setCookieToken,
5950
- ga as subtractDates,
5952
+ Ma as html,
5953
+ io as isAuth,
5954
+ Sa as isLinkActive,
5955
+ eu as letters,
5956
+ Ra as localeField,
5957
+ ao as logout,
5958
+ nu as max,
5959
+ tu as min,
5960
+ Na as queryClient,
5961
+ La as removeDataTest,
5962
+ Ya as required,
5963
+ Ua as scrollToTop,
5964
+ oo as setAuth,
5965
+ pa as setAuthHeader,
5966
+ ha as setBaseURL,
5967
+ uo as setCookieToken,
5968
+ va as subtractDates,
5951
5969
  Ba as useAuth,
5952
- nu as useCalendar,
5953
- iu as useDarkMode,
5954
- Ha as useInfiniteScroll,
5955
- Da as useMutation,
5956
- Va as usePage,
5957
- ru as usePageLock,
5958
- Ka as usePageNumber,
5959
- Wa as usePagination,
5960
- za as usePwa,
5961
- xa as useQuery,
5970
+ ru as useCalendar,
5971
+ ou as useDarkMode,
5972
+ $a as useInfiniteScroll,
5973
+ qa as useMutation,
5974
+ Ka as usePage,
5975
+ su as usePageLock,
5976
+ Wa as usePageNumber,
5977
+ za as usePagination,
5978
+ Ja as usePwa,
5979
+ Da as useQuery,
5962
5980
  fr as useQueryClient,
5963
- Ja as useRouteId,
5964
- su as useTimer,
5965
- Ga as useValidate,
5966
- Na as vueQueryOptions,
5967
- La as wait,
5968
- Qa as withSetup
5981
+ Ga as useRouteId,
5982
+ iu as useTimer,
5983
+ Xa as useValidate,
5984
+ _a as vueQueryOptions,
5985
+ Qa as wait,
5986
+ ja as withSetup
5969
5987
  };