dev-classes 1.3.32 → 1.3.35

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.
@@ -2,14 +2,14 @@ var ut = Object.defineProperty;
2
2
  var lt = (e, t, n) => t in e ? ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var x = (e, t, n) => (lt(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import { ErrorsHandler as ft } from "./ErrorsHandler/ErrorsHandler.js";
5
- import { SaveRequest as Re } from "./SaveRequest/SaveRequest.js";
6
- import { Utils as Oe } from "../../../Utils/Utils.js";
5
+ import { SaveRequest as Oe } from "./SaveRequest/SaveRequest.js";
6
+ import { Utils as ne } from "../../../Utils/Utils.js";
7
7
  function Ie(e, t) {
8
8
  return function() {
9
9
  return e.apply(t, arguments);
10
10
  };
11
11
  }
12
- const { toString: dt } = Object.prototype, { getPrototypeOf: me } = Object, X = /* @__PURE__ */ ((e) => (t) => {
12
+ const { toString: dt } = Object.prototype, { getPrototypeOf: ye } = Object, X = /* @__PURE__ */ ((e) => (t) => {
13
13
  const n = dt.call(t);
14
14
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
15
15
  })(/* @__PURE__ */ Object.create(null)), U = (e) => (e = e.toLowerCase(), (t) => X(t) === e), Q = (e) => (t) => typeof t === e, { isArray: _ } = Array, v = Q("undefined");
@@ -24,7 +24,7 @@ function ht(e) {
24
24
  const mt = Q("string"), N = Q("function"), ve = Q("number"), Z = (e) => e !== null && typeof e == "object", yt = (e) => e === !0 || e === !1, J = (e) => {
25
25
  if (X(e) !== "object")
26
26
  return !1;
27
- const t = me(e);
27
+ const t = ye(e);
28
28
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
29
29
  }, wt = U("Date"), gt = U("File"), bt = U("Blob"), Et = U("FileList"), St = (e) => Z(e) && N(e.pipe), Rt = (e) => {
30
30
  let t;
@@ -55,10 +55,10 @@ function Me(e, t) {
55
55
  return null;
56
56
  }
57
57
  const B = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ze = (e) => !v(e) && e !== B;
58
- function ae() {
58
+ function ce() {
59
59
  const { caseless: e } = ze(this) && this || {}, t = {}, n = (r, s) => {
60
60
  const o = e && Me(t, s) || s;
61
- J(t[o]) && J(r) ? t[o] = ae(t[o], r) : J(r) ? t[o] = ae({}, r) : _(r) ? t[o] = r.slice() : t[o] = r;
61
+ J(t[o]) && J(r) ? t[o] = ce(t[o], r) : J(r) ? t[o] = ce({}, r) : _(r) ? t[o] = r.slice() : t[o] = r;
62
62
  };
63
63
  for (let r = 0, s = arguments.length; r < s; r++)
64
64
  arguments[r] && M(arguments[r], n);
@@ -78,7 +78,7 @@ const Pt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
78
78
  do {
79
79
  for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
80
80
  i = s[o], (!r || r(i, e, t)) && !c[i] && (t[i] = e[i], c[i] = !0);
81
- e = n !== !1 && me(e);
81
+ e = n !== !1 && ye(e);
82
82
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
83
83
  return t;
84
84
  }, Dt = (e, t, n) => {
@@ -97,7 +97,7 @@ const Pt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
97
97
  for (; t-- > 0; )
98
98
  n[t] = e[t];
99
99
  return n;
100
- }, Bt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && me(Uint8Array)), jt = (e, t) => {
100
+ }, Bt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ye(Uint8Array)), jt = (e, t) => {
101
101
  const r = (e && e[Symbol.iterator]).call(e);
102
102
  let s;
103
103
  for (; (s = r.next()) && !s.done; ) {
@@ -144,10 +144,10 @@ const Pt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
144
144
  };
145
145
  return _(e) ? r(e) : r(String(e).split(t)), n;
146
146
  }, zt = () => {
147
- }, Jt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, ne = "abcdefghijklmnopqrstuvwxyz", Ae = "0123456789", $e = {
147
+ }, Jt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, re = "abcdefghijklmnopqrstuvwxyz", Ae = "0123456789", $e = {
148
148
  DIGIT: Ae,
149
- ALPHA: ne,
150
- ALPHA_DIGIT: ne + ne.toUpperCase() + Ae
149
+ ALPHA: re,
150
+ ALPHA_DIGIT: re + re.toUpperCase() + Ae
151
151
  }, $t = (e = 16, t = $e.ALPHA_DIGIT) => {
152
152
  let n = "";
153
153
  const { length: r } = t;
@@ -208,7 +208,7 @@ const Wt = (e) => {
208
208
  isTypedArray: Bt,
209
209
  isFileList: Et,
210
210
  forEach: M,
211
- merge: ae,
211
+ merge: ce,
212
212
  extend: Pt,
213
213
  trim: Nt,
214
214
  stripBOM: kt,
@@ -293,7 +293,7 @@ y.from = (e, t, n, r, s, o) => {
293
293
  }, (c) => c !== "isAxiosError"), y.call(i, e.message, t, n, r, s), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
294
294
  };
295
295
  const Qt = null;
296
- function ce(e) {
296
+ function ue(e) {
297
297
  return a.isPlainObject(e) || a.isArray(e);
298
298
  }
299
299
  function Ge(e) {
@@ -305,7 +305,7 @@ function Ce(e, t, n) {
305
305
  }).join(n ? "." : "") : t;
306
306
  }
307
307
  function Zt(e) {
308
- return a.isArray(e) && !e.some(ce);
308
+ return a.isArray(e) && !e.some(ue);
309
309
  }
310
310
  const Yt = a.toFlatObject(a, {}, null, function(t) {
311
311
  return /^is[A-Z]/.test(t);
@@ -317,8 +317,8 @@ function Y(e, t, n) {
317
317
  metaTokens: !0,
318
318
  dots: !1,
319
319
  indexes: !1
320
- }, !1, function(m, p) {
321
- return !a.isUndefined(p[m]);
320
+ }, !1, function(h, p) {
321
+ return !a.isUndefined(p[h]);
322
322
  });
323
323
  const r = n.metaTokens, s = n.visitor || l, o = n.dots, i = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
324
324
  if (!a.isFunction(s))
@@ -332,40 +332,40 @@ function Y(e, t, n) {
332
332
  throw new y("Blob is not supported. Use a Buffer instead.");
333
333
  return a.isArrayBuffer(d) || a.isTypedArray(d) ? f && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
334
334
  }
335
- function l(d, m, p) {
335
+ function l(d, h, p) {
336
336
  let g = d;
337
337
  if (d && !p && typeof d == "object") {
338
- if (a.endsWith(m, "{}"))
339
- m = r ? m : m.slice(0, -2), d = JSON.stringify(d);
340
- else if (a.isArray(d) && Zt(d) || (a.isFileList(d) || a.endsWith(m, "[]")) && (g = a.toArray(d)))
341
- return m = Ge(m), g.forEach(function(O, E) {
338
+ if (a.endsWith(h, "{}"))
339
+ h = r ? h : h.slice(0, -2), d = JSON.stringify(d);
340
+ else if (a.isArray(d) && Zt(d) || (a.isFileList(d) || a.endsWith(h, "[]")) && (g = a.toArray(d)))
341
+ return h = Ge(h), g.forEach(function(O, E) {
342
342
  !(a.isUndefined(O) || O === null) && t.append(
343
343
  // eslint-disable-next-line no-nested-ternary
344
- i === !0 ? Ce([m], E, o) : i === null ? m : m + "[]",
344
+ i === !0 ? Ce([h], E, o) : i === null ? h : h + "[]",
345
345
  u(O)
346
346
  );
347
347
  }), !1;
348
348
  }
349
- return ce(d) ? !0 : (t.append(Ce(p, m, o), u(d)), !1);
349
+ return ue(d) ? !0 : (t.append(Ce(p, h, o), u(d)), !1);
350
350
  }
351
- const h = [], S = Object.assign(Yt, {
351
+ const m = [], S = Object.assign(Yt, {
352
352
  defaultVisitor: l,
353
353
  convertValue: u,
354
- isVisitable: ce
354
+ isVisitable: ue
355
355
  });
356
- function R(d, m) {
356
+ function R(d, h) {
357
357
  if (!a.isUndefined(d)) {
358
- if (h.indexOf(d) !== -1)
359
- throw Error("Circular reference detected in " + m.join("."));
360
- h.push(d), a.forEach(d, function(g, b) {
358
+ if (m.indexOf(d) !== -1)
359
+ throw Error("Circular reference detected in " + h.join("."));
360
+ m.push(d), a.forEach(d, function(g, b) {
361
361
  (!(a.isUndefined(g) || g === null) && s.call(
362
362
  t,
363
363
  g,
364
364
  a.isString(b) ? b.trim() : b,
365
- m,
365
+ h,
366
366
  S
367
- )) === !0 && R(g, m ? m.concat(b) : [b]);
368
- }), h.pop();
367
+ )) === !0 && R(g, h ? h.concat(b) : [b]);
368
+ }), m.pop();
369
369
  }
370
370
  }
371
371
  if (!a.isObject(e))
@@ -386,10 +386,10 @@ function xe(e) {
386
386
  return t[r];
387
387
  });
388
388
  }
389
- function ye(e, t) {
389
+ function we(e, t) {
390
390
  this._pairs = [], e && Y(e, this, t);
391
391
  }
392
- const Xe = ye.prototype;
392
+ const Xe = we.prototype;
393
393
  Xe.append = function(t, n) {
394
394
  this._pairs.push([t, n]);
395
395
  };
@@ -409,7 +409,7 @@ function Qe(e, t, n) {
409
409
  return e;
410
410
  const r = n && n.encode || en, s = n && n.serialize;
411
411
  let o;
412
- if (s ? o = s(t, n) : o = a.isURLSearchParams(t) ? t.toString() : new ye(t, n).toString(r), o) {
412
+ if (s ? o = s(t, n) : o = a.isURLSearchParams(t) ? t.toString() : new we(t, n).toString(r), o) {
413
413
  const i = e.indexOf("#");
414
414
  i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
415
415
  }
@@ -473,7 +473,7 @@ const Ze = {
473
473
  silentJSONParsing: !0,
474
474
  forcedJSONParsing: !0,
475
475
  clarifyTimeoutError: !1
476
- }, tn = typeof URLSearchParams < "u" ? URLSearchParams : ye, nn = typeof FormData < "u" ? FormData : null, rn = typeof Blob < "u" ? Blob : null, sn = {
476
+ }, tn = typeof URLSearchParams < "u" ? URLSearchParams : we, nn = typeof FormData < "u" ? FormData : null, rn = typeof Blob < "u" ? Blob : null, sn = {
477
477
  isBrowser: !0,
478
478
  classes: {
479
479
  URLSearchParams: tn,
@@ -481,13 +481,13 @@ const Ze = {
481
481
  Blob: rn
482
482
  },
483
483
  protocols: ["http", "https", "file", "blob", "url", "data"]
484
- }, we = typeof window < "u" && typeof document < "u", ue = typeof navigator == "object" && navigator || void 0, on = we && (!ue || ["ReactNative", "NativeScript", "NS"].indexOf(ue.product) < 0), an = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
485
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", cn = we && window.location.href || "http://localhost", un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
484
+ }, ge = typeof window < "u" && typeof document < "u", le = typeof navigator == "object" && navigator || void 0, on = ge && (!le || ["ReactNative", "NativeScript", "NS"].indexOf(le.product) < 0), an = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
485
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", cn = ge && window.location.href || "http://localhost", un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
486
486
  __proto__: null,
487
- hasBrowserEnv: we,
487
+ hasBrowserEnv: ge,
488
488
  hasStandardBrowserEnv: on,
489
489
  hasStandardBrowserWebWorkerEnv: an,
490
- navigator: ue,
490
+ navigator: le,
491
491
  origin: cn
492
492
  }, Symbol.toStringTag, { value: "Module" })), C = {
493
493
  ...un,
@@ -538,7 +538,7 @@ function pn(e, t, n) {
538
538
  }
539
539
  return (n || JSON.stringify)(e);
540
540
  }
541
- const ge = {
541
+ const be = {
542
542
  transitional: Ze,
543
543
  adapter: ["xhr", "http", "fetch"],
544
544
  transformRequest: [function(t, n) {
@@ -567,7 +567,7 @@ const ge = {
567
567
  return o || s ? (n.setContentType("application/json", !1), pn(t)) : t;
568
568
  }],
569
569
  transformResponse: [function(t) {
570
- const n = this.transitional || ge.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
570
+ const n = this.transitional || be.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
571
571
  if (a.isResponse(t) || a.isReadableStream(t))
572
572
  return t;
573
573
  if (t && a.isString(t) && (r && !this.responseType || s)) {
@@ -605,9 +605,9 @@ const ge = {
605
605
  }
606
606
  };
607
607
  a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
608
- ge.headers[e] = {};
608
+ be.headers[e] = {};
609
609
  });
610
- const be = ge, hn = a.toObjectSet([
610
+ const Ee = be, hn = a.toObjectSet([
611
611
  "age",
612
612
  "authorization",
613
613
  "content-length",
@@ -647,7 +647,7 @@ function yn(e) {
647
647
  return t;
648
648
  }
649
649
  const wn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
650
- function re(e, t, n, r, s) {
650
+ function se(e, t, n, r, s) {
651
651
  if (a.isFunction(r))
652
652
  return r.call(this, t, n);
653
653
  if (s && (t = n), !!a.isString(t)) {
@@ -681,8 +681,8 @@ class ee {
681
681
  const l = H(f);
682
682
  if (!l)
683
683
  throw new Error("header name must be a non-empty string");
684
- const h = a.findKey(s, l);
685
- (!h || s[h] === void 0 || u === !0 || u === void 0 && s[h] !== !1) && (s[h || f] = $(c));
684
+ const m = a.findKey(s, l);
685
+ (!m || s[m] === void 0 || u === !0 || u === void 0 && s[m] !== !1) && (s[m || f] = $(c));
686
686
  }
687
687
  const i = (c, f) => a.forEach(c, (u, l) => o(u, l, f));
688
688
  if (a.isPlainObject(t) || t instanceof this.constructor)
@@ -716,7 +716,7 @@ class ee {
716
716
  has(t, n) {
717
717
  if (t = H(t), t) {
718
718
  const r = a.findKey(this, t);
719
- return !!(r && this[r] !== void 0 && (!n || re(this, this[r], r, n)));
719
+ return !!(r && this[r] !== void 0 && (!n || se(this, this[r], r, n)));
720
720
  }
721
721
  return !1;
722
722
  }
@@ -726,7 +726,7 @@ class ee {
726
726
  function o(i) {
727
727
  if (i = H(i), i) {
728
728
  const c = a.findKey(r, i);
729
- c && (!n || re(r, r[c], c, n)) && (delete r[c], s = !0);
729
+ c && (!n || se(r, r[c], c, n)) && (delete r[c], s = !0);
730
730
  }
731
731
  }
732
732
  return a.isArray(t) ? t.forEach(o) : o(t), s;
@@ -736,7 +736,7 @@ class ee {
736
736
  let r = n.length, s = !1;
737
737
  for (; r--; ) {
738
738
  const o = n[r];
739
- (!t || re(this, this[o], o, t, !0)) && (delete this[o], s = !0);
739
+ (!t || se(this, this[o], o, t, !0)) && (delete this[o], s = !0);
740
740
  }
741
741
  return s;
742
742
  }
@@ -801,8 +801,8 @@ a.reduceDescriptors(ee.prototype, ({ value: e }, t) => {
801
801
  });
802
802
  a.freezeMethods(ee);
803
803
  const F = ee;
804
- function se(e, t) {
805
- const n = this || be, r = t || n, s = F.from(r.headers);
804
+ function oe(e, t) {
805
+ const n = this || Ee, r = t || n, s = F.from(r.headers);
806
806
  let o = r.data;
807
807
  return a.forEach(e, function(c) {
808
808
  o = c.call(n, o, s.normalize(), t ? t.status : void 0);
@@ -838,9 +838,9 @@ function Sn(e, t) {
838
838
  return t = t !== void 0 ? t : 1e3, function(f) {
839
839
  const u = Date.now(), l = r[o];
840
840
  i || (i = u), n[s] = f, r[s] = u;
841
- let h = o, S = 0;
842
- for (; h !== s; )
843
- S += n[h++], h = h % e;
841
+ let m = o, S = 0;
842
+ for (; m !== s; )
843
+ S += n[m++], m = m % e;
844
844
  if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
845
845
  return;
846
846
  const R = l && u - l;
@@ -853,10 +853,10 @@ function Rn(e, t) {
853
853
  n = l, s = null, o && (clearTimeout(o), o = null), e.apply(null, u);
854
854
  };
855
855
  return [(...u) => {
856
- const l = Date.now(), h = l - n;
857
- h >= r ? i(u, l) : (s = u, o || (o = setTimeout(() => {
856
+ const l = Date.now(), m = l - n;
857
+ m >= r ? i(u, l) : (s = u, o || (o = setTimeout(() => {
858
858
  o = null, i(s);
859
- }, r - h)));
859
+ }, r - m)));
860
860
  }, () => s && i(s)];
861
861
  }
862
862
  const W = (e, t, n = 3) => {
@@ -865,7 +865,7 @@ const W = (e, t, n = 3) => {
865
865
  return Rn((o) => {
866
866
  const i = o.loaded, c = o.lengthComputable ? o.total : void 0, f = i - r, u = s(f), l = i <= c;
867
867
  r = i;
868
- const h = {
868
+ const m = {
869
869
  loaded: i,
870
870
  total: c,
871
871
  progress: c ? i / c : void 0,
@@ -876,7 +876,7 @@ const W = (e, t, n = 3) => {
876
876
  lengthComputable: c != null,
877
877
  [t ? "download" : "upload"]: !0
878
878
  };
879
- e(h);
879
+ e(m);
880
880
  }, n);
881
881
  }, ke = (e, t) => {
882
882
  const n = e != null;
@@ -956,15 +956,15 @@ const Ue = (e) => e instanceof F ? { ...e } : e;
956
956
  function j(e, t) {
957
957
  t = t || {};
958
958
  const n = {};
959
- function r(u, l, h) {
960
- return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: h }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
959
+ function r(u, l, m) {
960
+ return a.isPlainObject(u) && a.isPlainObject(l) ? a.merge.call({ caseless: m }, u, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
961
961
  }
962
- function s(u, l, h) {
962
+ function s(u, l, m) {
963
963
  if (a.isUndefined(l)) {
964
964
  if (!a.isUndefined(u))
965
- return r(void 0, u, h);
965
+ return r(void 0, u, m);
966
966
  } else
967
- return r(u, l, h);
967
+ return r(u, l, m);
968
968
  }
969
969
  function o(u, l) {
970
970
  if (!a.isUndefined(l))
@@ -977,10 +977,10 @@ function j(e, t) {
977
977
  } else
978
978
  return r(void 0, l);
979
979
  }
980
- function c(u, l, h) {
981
- if (h in t)
980
+ function c(u, l, m) {
981
+ if (m in t)
982
982
  return r(u, l);
983
- if (h in e)
983
+ if (m in e)
984
984
  return r(void 0, u);
985
985
  }
986
986
  const f = {
@@ -1015,8 +1015,8 @@ function j(e, t) {
1015
1015
  headers: (u, l) => s(Ue(u), Ue(l), !0)
1016
1016
  };
1017
1017
  return a.forEach(Object.keys(Object.assign({}, e, t)), function(l) {
1018
- const h = f[l] || s, S = h(e[l], t[l], l);
1019
- a.isUndefined(S) && h !== c || (n[l] = S);
1018
+ const m = f[l] || s, S = m(e[l], t[l], l);
1019
+ a.isUndefined(S) && m !== c || (n[l] = S);
1020
1020
  }), n;
1021
1021
  }
1022
1022
  const rt = (e) => {
@@ -1031,7 +1031,7 @@ const rt = (e) => {
1031
1031
  if (C.hasStandardBrowserEnv || C.hasStandardBrowserWebWorkerEnv)
1032
1032
  i.setContentType(void 0);
1033
1033
  else if ((f = i.getContentType()) !== !1) {
1034
- const [u, ...l] = f ? f.split(";").map((h) => h.trim()).filter(Boolean) : [];
1034
+ const [u, ...l] = f ? f.split(";").map((m) => m.trim()).filter(Boolean) : [];
1035
1035
  i.setContentType([u || "multipart/form-data", ...l].join("; "));
1036
1036
  }
1037
1037
  }
@@ -1045,8 +1045,8 @@ const rt = (e) => {
1045
1045
  const s = rt(e);
1046
1046
  let o = s.data;
1047
1047
  const i = F.from(s.headers).normalize();
1048
- let { responseType: c, onUploadProgress: f, onDownloadProgress: u } = s, l, h, S, R, d;
1049
- function m() {
1048
+ let { responseType: c, onUploadProgress: f, onDownloadProgress: u } = s, l, m, S, R, d;
1049
+ function h() {
1050
1050
  R && R(), d && d(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
1051
1051
  }
1052
1052
  let p = new XMLHttpRequest();
@@ -1065,9 +1065,9 @@ const rt = (e) => {
1065
1065
  request: p
1066
1066
  };
1067
1067
  tt(function(k) {
1068
- n(k), m();
1068
+ n(k), h();
1069
1069
  }, function(k) {
1070
- r(k), m();
1070
+ r(k), h();
1071
1071
  }, A), p = null;
1072
1072
  }
1073
1073
  "onloadend" in p ? p.onloadend = g : p.onreadystatechange = function() {
@@ -1087,7 +1087,7 @@ const rt = (e) => {
1087
1087
  )), p = null;
1088
1088
  }, o === void 0 && i.setContentType(null), "setRequestHeader" in p && a.forEach(i.toJSON(), function(E, A) {
1089
1089
  p.setRequestHeader(A, E);
1090
- }), a.isUndefined(s.withCredentials) || (p.withCredentials = !!s.withCredentials), c && c !== "json" && (p.responseType = s.responseType), u && ([S, d] = W(u, !0), p.addEventListener("progress", S)), f && p.upload && ([h, R] = W(f), p.upload.addEventListener("progress", h), p.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (l = (O) => {
1090
+ }), a.isUndefined(s.withCredentials) || (p.withCredentials = !!s.withCredentials), c && c !== "json" && (p.responseType = s.responseType), u && ([S, d] = W(u, !0), p.addEventListener("progress", S)), f && p.upload && ([m, R] = W(f), p.upload.addEventListener("progress", m), p.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (l = (O) => {
1091
1091
  p && (r(!O || O.type ? new q(null, e, p) : O), p.abort(), p = null);
1092
1092
  }, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
1093
1093
  const b = En(s.url);
@@ -1161,9 +1161,9 @@ const rt = (e) => {
1161
1161
  c(), f.close();
1162
1162
  return;
1163
1163
  }
1164
- let h = l.byteLength;
1164
+ let m = l.byteLength;
1165
1165
  if (n) {
1166
- let S = o += h;
1166
+ let S = o += m;
1167
1167
  n(S);
1168
1168
  }
1169
1169
  f.enqueue(new Uint8Array(l));
@@ -1193,8 +1193,8 @@ const rt = (e) => {
1193
1193
  }
1194
1194
  }).headers.has("Content-Type");
1195
1195
  return e && !t;
1196
- }), Le = 64 * 1024, le = st && ot(() => a.isReadableStream(new Response("").body)), K = {
1197
- stream: le && ((e) => e.body)
1196
+ }), Le = 64 * 1024, fe = st && ot(() => a.isReadableStream(new Response("").body)), K = {
1197
+ stream: fe && ((e) => e.body)
1198
1198
  };
1199
1199
  te && ((e) => {
1200
1200
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
@@ -1232,12 +1232,12 @@ const jn = async (e) => {
1232
1232
  onUploadProgress: f,
1233
1233
  responseType: u,
1234
1234
  headers: l,
1235
- withCredentials: h = "same-origin",
1235
+ withCredentials: m = "same-origin",
1236
1236
  fetchOptions: S
1237
1237
  } = rt(e);
1238
1238
  u = u ? (u + "").toLowerCase() : "text";
1239
1239
  let R = kn([s, o && o.toAbortSignal()], i), d;
1240
- const m = R && R.unsubscribe && (() => {
1240
+ const h = R && R.unsubscribe && (() => {
1241
1241
  R.unsubscribe();
1242
1242
  });
1243
1243
  let p;
@@ -1256,7 +1256,7 @@ const jn = async (e) => {
1256
1256
  r = De(A.body, Le, k, L);
1257
1257
  }
1258
1258
  }
1259
- a.isString(h) || (h = h ? "include" : "omit");
1259
+ a.isString(m) || (m = m ? "include" : "omit");
1260
1260
  const g = "credentials" in Request.prototype;
1261
1261
  d = new Request(t, {
1262
1262
  ...S,
@@ -1265,11 +1265,11 @@ const jn = async (e) => {
1265
1265
  headers: l.normalize().toJSON(),
1266
1266
  body: r,
1267
1267
  duplex: "half",
1268
- credentials: g ? h : void 0
1268
+ credentials: g ? m : void 0
1269
1269
  });
1270
1270
  let b = await fetch(d);
1271
- const O = le && (u === "stream" || u === "response");
1272
- if (le && (c || O && m)) {
1271
+ const O = fe && (u === "stream" || u === "response");
1272
+ if (fe && (c || O && h)) {
1273
1273
  const A = {};
1274
1274
  ["status", "statusText", "headers"].forEach((I) => {
1275
1275
  A[I] = b[I];
@@ -1280,14 +1280,14 @@ const jn = async (e) => {
1280
1280
  ) || [];
1281
1281
  b = new Response(
1282
1282
  De(b.body, Le, k, () => {
1283
- L && L(), m && m();
1283
+ L && L(), h && h();
1284
1284
  }),
1285
1285
  A
1286
1286
  );
1287
1287
  }
1288
1288
  u = u || "text";
1289
1289
  let E = await K[a.findKey(K, u) || "text"](b, e);
1290
- return !O && m && m(), await new Promise((A, P) => {
1290
+ return !O && h && h(), await new Promise((A, P) => {
1291
1291
  tt(A, P, {
1292
1292
  data: E,
1293
1293
  headers: F.from(b.headers),
@@ -1298,19 +1298,19 @@ const jn = async (e) => {
1298
1298
  });
1299
1299
  });
1300
1300
  } catch (g) {
1301
- throw m && m(), g && g.name === "TypeError" && /fetch/i.test(g.message) ? Object.assign(
1301
+ throw h && h(), g && g.name === "TypeError" && /fetch/i.test(g.message) ? Object.assign(
1302
1302
  new y("Network Error", y.ERR_NETWORK, e, d),
1303
1303
  {
1304
1304
  cause: g.cause || g
1305
1305
  }
1306
1306
  ) : y.from(g, g && g.code, e, d);
1307
1307
  }
1308
- }), fe = {
1308
+ }), de = {
1309
1309
  http: Qt,
1310
1310
  xhr: Nn,
1311
1311
  fetch: qn
1312
1312
  };
1313
- a.forEach(fe, (e, t) => {
1313
+ a.forEach(de, (e, t) => {
1314
1314
  if (e) {
1315
1315
  try {
1316
1316
  Object.defineProperty(e, "name", { value: t });
@@ -1328,7 +1328,7 @@ const Be = (e) => `- ${e}`, In = (e) => a.isFunction(e) || e === null || e === !
1328
1328
  for (let o = 0; o < t; o++) {
1329
1329
  n = e[o];
1330
1330
  let i;
1331
- if (r = n, !In(n) && (r = fe[(i = String(n)).toLowerCase()], r === void 0))
1331
+ if (r = n, !In(n) && (r = de[(i = String(n)).toLowerCase()], r === void 0))
1332
1332
  throw new y(`Unknown adapter '${i}'`);
1333
1333
  if (r)
1334
1334
  break;
@@ -1348,38 +1348,38 @@ const Be = (e) => `- ${e}`, In = (e) => a.isFunction(e) || e === null || e === !
1348
1348
  }
1349
1349
  return r;
1350
1350
  },
1351
- adapters: fe
1351
+ adapters: de
1352
1352
  };
1353
- function oe(e) {
1353
+ function ie(e) {
1354
1354
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1355
1355
  throw new q(null, e);
1356
1356
  }
1357
1357
  function je(e) {
1358
- return oe(e), e.headers = F.from(e.headers), e.data = se.call(
1358
+ return ie(e), e.headers = F.from(e.headers), e.data = oe.call(
1359
1359
  e,
1360
1360
  e.transformRequest
1361
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), it.getAdapter(e.adapter || be.adapter)(e).then(function(r) {
1362
- return oe(e), r.data = se.call(
1361
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), it.getAdapter(e.adapter || Ee.adapter)(e).then(function(r) {
1362
+ return ie(e), r.data = oe.call(
1363
1363
  e,
1364
1364
  e.transformResponse,
1365
1365
  r
1366
1366
  ), r.headers = F.from(r.headers), r;
1367
1367
  }, function(r) {
1368
- return et(r) || (oe(e), r && r.response && (r.response.data = se.call(
1368
+ return et(r) || (ie(e), r && r.response && (r.response.data = oe.call(
1369
1369
  e,
1370
1370
  e.transformResponse,
1371
1371
  r.response
1372
1372
  ), r.response.headers = F.from(r.response.headers))), Promise.reject(r);
1373
1373
  });
1374
1374
  }
1375
- const at = "1.7.7", Ee = {};
1375
+ const at = "1.7.7", Se = {};
1376
1376
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1377
- Ee[e] = function(r) {
1377
+ Se[e] = function(r) {
1378
1378
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1379
1379
  };
1380
1380
  });
1381
1381
  const _e = {};
1382
- Ee.transitional = function(t, n, r) {
1382
+ Se.transitional = function(t, n, r) {
1383
1383
  function s(o, i) {
1384
1384
  return "[Axios v" + at + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1385
1385
  }
@@ -1414,10 +1414,10 @@ function Hn(e, t, n) {
1414
1414
  throw new y("Unknown option " + o, y.ERR_BAD_OPTION);
1415
1415
  }
1416
1416
  }
1417
- const de = {
1417
+ const pe = {
1418
1418
  assertOptions: Hn,
1419
- validators: Ee
1420
- }, D = de.validators;
1419
+ validators: Se
1420
+ }, D = pe.validators;
1421
1421
  class G {
1422
1422
  constructor(t) {
1423
1423
  this.defaults = t, this.interceptors = {
@@ -1453,13 +1453,13 @@ class G {
1453
1453
  _request(t, n) {
1454
1454
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = j(this.defaults, n);
1455
1455
  const { transitional: r, paramsSerializer: s, headers: o } = n;
1456
- r !== void 0 && de.assertOptions(r, {
1456
+ r !== void 0 && pe.assertOptions(r, {
1457
1457
  silentJSONParsing: D.transitional(D.boolean),
1458
1458
  forcedJSONParsing: D.transitional(D.boolean),
1459
1459
  clarifyTimeoutError: D.transitional(D.boolean)
1460
1460
  }, !1), s != null && (a.isFunction(s) ? n.paramsSerializer = {
1461
1461
  serialize: s
1462
- } : de.assertOptions(s, {
1462
+ } : pe.assertOptions(s, {
1463
1463
  encode: D.function,
1464
1464
  serialize: D.function
1465
1465
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1475,28 +1475,28 @@ class G {
1475
1475
  ), n.headers = F.concat(i, o);
1476
1476
  const c = [];
1477
1477
  let f = !0;
1478
- this.interceptors.request.forEach(function(m) {
1479
- typeof m.runWhen == "function" && m.runWhen(n) === !1 || (f = f && m.synchronous, c.unshift(m.fulfilled, m.rejected));
1478
+ this.interceptors.request.forEach(function(h) {
1479
+ typeof h.runWhen == "function" && h.runWhen(n) === !1 || (f = f && h.synchronous, c.unshift(h.fulfilled, h.rejected));
1480
1480
  });
1481
1481
  const u = [];
1482
- this.interceptors.response.forEach(function(m) {
1483
- u.push(m.fulfilled, m.rejected);
1482
+ this.interceptors.response.forEach(function(h) {
1483
+ u.push(h.fulfilled, h.rejected);
1484
1484
  });
1485
- let l, h = 0, S;
1485
+ let l, m = 0, S;
1486
1486
  if (!f) {
1487
1487
  const d = [je.bind(this), void 0];
1488
- for (d.unshift.apply(d, c), d.push.apply(d, u), S = d.length, l = Promise.resolve(n); h < S; )
1489
- l = l.then(d[h++], d[h++]);
1488
+ for (d.unshift.apply(d, c), d.push.apply(d, u), S = d.length, l = Promise.resolve(n); m < S; )
1489
+ l = l.then(d[m++], d[m++]);
1490
1490
  return l;
1491
1491
  }
1492
1492
  S = c.length;
1493
1493
  let R = n;
1494
- for (h = 0; h < S; ) {
1495
- const d = c[h++], m = c[h++];
1494
+ for (m = 0; m < S; ) {
1495
+ const d = c[m++], h = c[m++];
1496
1496
  try {
1497
1497
  R = d(R);
1498
1498
  } catch (p) {
1499
- m.call(this, p);
1499
+ h.call(this, p);
1500
1500
  break;
1501
1501
  }
1502
1502
  }
@@ -1505,8 +1505,8 @@ class G {
1505
1505
  } catch (d) {
1506
1506
  return Promise.reject(d);
1507
1507
  }
1508
- for (h = 0, S = u.length; h < S; )
1509
- l = l.then(u[h++], u[h++]);
1508
+ for (m = 0, S = u.length; m < S; )
1509
+ l = l.then(u[m++], u[m++]);
1510
1510
  return l;
1511
1511
  }
1512
1512
  getUri(t) {
@@ -1540,7 +1540,7 @@ a.forEach(["post", "put", "patch"], function(t) {
1540
1540
  G.prototype[t] = n(), G.prototype[t + "Form"] = n(!0);
1541
1541
  });
1542
1542
  const V = G;
1543
- class Se {
1543
+ class Re {
1544
1544
  constructor(t) {
1545
1545
  if (typeof t != "function")
1546
1546
  throw new TypeError("executor must be a function.");
@@ -1607,14 +1607,14 @@ class Se {
1607
1607
  static source() {
1608
1608
  let t;
1609
1609
  return {
1610
- token: new Se(function(s) {
1610
+ token: new Re(function(s) {
1611
1611
  t = s;
1612
1612
  }),
1613
1613
  cancel: t
1614
1614
  };
1615
1615
  }
1616
1616
  }
1617
- const vn = Se;
1617
+ const vn = Re;
1618
1618
  function Mn(e) {
1619
1619
  return function(n) {
1620
1620
  return e.apply(null, n);
@@ -1623,7 +1623,7 @@ function Mn(e) {
1623
1623
  function zn(e) {
1624
1624
  return a.isObject(e) && e.isAxiosError === !0;
1625
1625
  }
1626
- const pe = {
1626
+ const he = {
1627
1627
  Continue: 100,
1628
1628
  SwitchingProtocols: 101,
1629
1629
  Processing: 102,
@@ -1688,17 +1688,17 @@ const pe = {
1688
1688
  NotExtended: 510,
1689
1689
  NetworkAuthenticationRequired: 511
1690
1690
  };
1691
- Object.entries(pe).forEach(([e, t]) => {
1692
- pe[t] = e;
1691
+ Object.entries(he).forEach(([e, t]) => {
1692
+ he[t] = e;
1693
1693
  });
1694
- const Jn = pe;
1694
+ const Jn = he;
1695
1695
  function ct(e) {
1696
1696
  const t = new V(e), n = Ie(V.prototype.request, t);
1697
1697
  return a.extend(n, V.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1698
1698
  return ct(j(e, s));
1699
1699
  }, n;
1700
1700
  }
1701
- const T = ct(be);
1701
+ const T = ct(Ee);
1702
1702
  T.Axios = V;
1703
1703
  T.CanceledError = q;
1704
1704
  T.CancelToken = vn;
@@ -1738,7 +1738,7 @@ var $n = {
1738
1738
  );
1739
1739
  }
1740
1740
  };
1741
- function he(e, t) {
1741
+ function me(e, t) {
1742
1742
  function n(s, o, i) {
1743
1743
  if (!(typeof document > "u")) {
1744
1744
  i = z({}, t, i), typeof i.expires == "number" && (i.expires = new Date(Date.now() + i.expires * 864e5)), i.expires && (i.expires = i.expires.toUTCString()), s = encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
@@ -1776,10 +1776,10 @@ function he(e, t) {
1776
1776
  );
1777
1777
  },
1778
1778
  withAttributes: function(s) {
1779
- return he(this.converter, z({}, this.attributes, s));
1779
+ return me(this.converter, z({}, this.attributes, s));
1780
1780
  },
1781
1781
  withConverter: function(s) {
1782
- return he(z({}, this.converter, s), this.attributes);
1782
+ return me(z({}, this.converter, s), this.attributes);
1783
1783
  }
1784
1784
  },
1785
1785
  {
@@ -1788,16 +1788,16 @@ function he(e, t) {
1788
1788
  }
1789
1789
  );
1790
1790
  }
1791
- var ie = he($n, { path: "/" });
1791
+ var ae = me($n, { path: "/" });
1792
1792
  const w = class w {
1793
1793
  static setErrorsHandler(t) {
1794
1794
  w.errorsHandler = t;
1795
1795
  }
1796
1796
  };
1797
- x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerRequest", new Re()), x(w, "registerFailedRequests", new Re()), x(w, "requestUploadToken", null), x(w, "errorsHandler", new ft()), x(w, "setMethodUploadToken", (t) => {
1797
+ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerRequest", new Oe()), x(w, "registerFailedRequests", new Oe()), x(w, "requestUploadToken", null), x(w, "errorsHandler", new ft()), x(w, "setMethodUploadToken", (t) => {
1798
1798
  w.requestUploadToken = t;
1799
1799
  }), x(w, "requestInServer", (t, n = {}) => new Promise((r, s) => {
1800
- var h, S, R;
1800
+ var m, S, R;
1801
1801
  let o = { url: t, statusCode: 0, data: {}, res: {} };
1802
1802
  const i = {
1803
1803
  method: "get",
@@ -1805,7 +1805,7 @@ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerReques
1805
1805
  cookie: w.getAuthCookies()
1806
1806
  },
1807
1807
  timeout: 6e4
1808
- }, c = Oe.deepMerge(i, n), f = 520, u = "", l = {
1808
+ }, c = ne.deepMerge(i, n), f = 520, u = "", l = {
1809
1809
  url: t,
1810
1810
  statusCode: f,
1811
1811
  msg: u,
@@ -1813,18 +1813,18 @@ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerReques
1813
1813
  request: c,
1814
1814
  errExt: { message: u, status: f }
1815
1815
  };
1816
- if (window != null && window.cordova && ((S = (h = window == null ? void 0 : window.cordova) == null ? void 0 : h.plugin) != null && S.http)) {
1816
+ if (window != null && window.cordova && ((S = (m = window == null ? void 0 : window.cordova) == null ? void 0 : m.plugin) != null && S.http)) {
1817
1817
  const { http: d } = (R = window == null ? void 0 : window.cordova) == null ? void 0 : R.plugin;
1818
1818
  d.setDataSerializer("json"), d.setRequestTimeout(Number(c.timeout) / 1e3), w.registerRequest.setList({ url: t, options: c }), d.sendRequest(
1819
1819
  t,
1820
1820
  c,
1821
- (m) => {
1821
+ (h) => {
1822
1822
  w.registerFailedRequests.removeItem(t), w.registerRequest.removeItem(t);
1823
- const p = (m == null ? void 0 : m.headers) && m.headers["set-cookie"], g = m.status, b = m == null ? void 0 : m.data;
1824
- o = { ...o, statusCode: g, data: b, res: m }, g === 200 && p && (w.saveToken(p), o.data = { ...o.data, token: p }), r(o);
1823
+ const p = (h == null ? void 0 : h.headers) && h.headers["set-cookie"], g = h.status, b = ne.isJSON(h == null ? void 0 : h.data) ? JSON.parse(h == null ? void 0 : h.data) : h == null ? void 0 : h.data;
1824
+ o = { ...o, statusCode: g, data: b, res: h }, g === 200 && p && (w.saveToken(p), o.data = { ...o.data, token: p }), r(o);
1825
1825
  },
1826
- (m) => {
1827
- const p = w.errorsHandler.handleError(m), { url: g, status: b, headers: O, error: E, ...A } = m, P = typeof E == "string" ? Oe.isJSON(E.trim()) : !1, k = {
1826
+ (h) => {
1827
+ const p = w.errorsHandler.handleError(h), { url: g, status: b, headers: O, error: E, ...A } = h, P = typeof E == "string" ? ne.isJSON(E.trim()) : !1, k = {
1828
1828
  headers: O,
1829
1829
  status: b,
1830
1830
  message: ""
@@ -1840,10 +1840,10 @@ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerReques
1840
1840
  } else
1841
1841
  w.registerRequest.setList({ url: t, options: c }), T({ url: t, ...c }).then((d) => {
1842
1842
  w.registerRequest.removeItem(t);
1843
- const m = d.status, p = d == null ? void 0 : d.data;
1844
- o = { ...o, statusCode: m, data: p, res: d }, r(o);
1843
+ const h = d.status, p = d == null ? void 0 : d.data;
1844
+ o = { ...o, statusCode: h, data: p, res: d }, r(o);
1845
1845
  }).catch((d) => {
1846
- const m = w.errorsHandler.handleError(d), { code: p, config: g, status: b, message: O, response: E, stack: A } = d, P = {
1846
+ const h = w.errorsHandler.handleError(d), { code: p, config: g, status: b, message: O, response: E, stack: A } = d, P = {
1847
1847
  code: p,
1848
1848
  config: g,
1849
1849
  status: b || f,
@@ -1853,7 +1853,7 @@ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerReques
1853
1853
  data: E == null ? void 0 : E.data,
1854
1854
  stack: A
1855
1855
  };
1856
- s({ ...l, ...m, errExt: P });
1856
+ s({ ...l, ...h, errExt: P });
1857
1857
  });
1858
1858
  })), x(w, "getAuthCookies", () => {
1859
1859
  var n, r, s;
@@ -1862,7 +1862,7 @@ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerReques
1862
1862
  const { http: o } = (s = window == null ? void 0 : window.cordova) == null ? void 0 : s.plugin;
1863
1863
  return o.getCookieString(t);
1864
1864
  }
1865
- return ie.get(t);
1865
+ return ae.get(t);
1866
1866
  }), x(w, "saveToken", (t) => {
1867
1867
  var n, r, s;
1868
1868
  if (t) {
@@ -1872,7 +1872,7 @@ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerReques
1872
1872
  c.setCookie(o, t, i);
1873
1873
  return;
1874
1874
  }
1875
- ie.set(o, t, i);
1875
+ ae.set(o, t, i);
1876
1876
  }
1877
1877
  }), x(w, "removeAuthCookie", () => {
1878
1878
  var n, r, s;
@@ -1882,7 +1882,7 @@ x(w, "keyCookie", "AuthCookie"), x(w, "cookieOptions", {}), x(w, "registerReques
1882
1882
  o.clearCookies();
1883
1883
  return;
1884
1884
  }
1885
- ie.remove(t);
1885
+ ae.remove(t);
1886
1886
  }), x(w, "setCookieOptions", (t) => {
1887
1887
  w.cookieOptions = t;
1888
1888
  });
@@ -2,7 +2,7 @@ var c = Object.defineProperty;
2
2
  var l = (a, t, s) => t in a ? c(a, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : a[t] = s;
3
3
  var e = (a, t, s) => (l(a, typeof t != "symbol" ? t + "" : t, s), s);
4
4
  import { EventSubscribers as S } from "../../../Utils/EventSubscribers/EventSubscribers.js";
5
- class v {
5
+ class d {
6
6
  constructor() {
7
7
  e(this, "options", {
8
8
  timeReConnect: 5e3,
@@ -46,7 +46,7 @@ class v {
46
46
  }
47
47
  });
48
48
  e(this, "errHandler", (t) => {
49
- this.setStatus("error");
49
+ console.log("errHandler", t), this.setStatus("error");
50
50
  });
51
51
  e(this, "errorInitSocket", () => {
52
52
  console.error("Вы не установили опции");
@@ -94,7 +94,7 @@ class v {
94
94
  }
95
95
  close() {
96
96
  var t;
97
- (t = this.state.ws) == null || t.close(), this.eventListener("remove");
97
+ (t = this.state.ws) == null || t.close(), this.eventListener("remove"), this.setStatus("close");
98
98
  }
99
99
  disconnect() {
100
100
  this.close(), this.resetState();
@@ -112,5 +112,5 @@ class v {
112
112
  }
113
113
  }
114
114
  export {
115
- v as WsApi
115
+ d as WsApi
116
116
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "url": "git+https://github.com/SinGlEBW/dev-classes.git"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "1.3.32",
14
+ "version": "1.3.35",
15
15
  "type": "module",
16
16
  "module": "./dist/index.js",
17
17
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "Numbers"
37
37
  ],
38
38
  "scripts": {
39
- "start": "vite",
39
+ "dev": "vite",
40
40
  "build": "tsc && vite build",
41
41
  "preview": "vite preview",
42
42
  "send": "node publishVersion.js"